3533 lines
4.3 MiB
3533 lines
4.3 MiB
import {createRequire as __global__createRequire__} from 'module'
|
|
import {dirname as __global__dirname__} from 'path'
|
|
import {fileURLToPath as __global__fileURLToPath__} from 'url'
|
|
const require=__global__createRequire__(import.meta.url)
|
|
const __filename=__global__fileURLToPath__(import.meta.url)
|
|
const __dirname=__global__dirname__(__filename)
|
|
var FB=Object.create;var Qh=Object.defineProperty;var jB=Object.getOwnPropertyDescriptor;var LB=Object.getOwnPropertyNames;var RB=Object.getPrototypeOf,MB=Object.prototype.hasOwnProperty;var hr=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(r,s)=>(typeof require<"u"?require:r)[s]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var BB=(t,r)=>()=>(t&&(r=t(t=0)),r);var ct=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Ow=(t,r)=>{for(var s in r)Qh(t,s,{get:r[s],enumerable:!0})},Nw=(t,r,s,a)=>{if(r&&typeof r=="object"||typeof r=="function")for(let u of LB(r))!MB.call(t,u)&&u!==s&&Qh(t,u,{get:()=>r[u],enumerable:!(a=jB(r,u))||a.enumerable});return t};var yo=(t,r,s)=>(s=t!=null?FB(RB(t)):{},Nw(r||!t||!t.__esModule?Qh(s,"default",{value:t,enumerable:!0}):s,t)),wi=t=>Nw(Qh({},"__esModule",{value:!0}),t);var bi={};Ow(bi,{__addDisposableResource:()=>i_,__assign:()=>Zh,__asyncDelegator:()=>Xw,__asyncGenerator:()=>Jw,__asyncValues:()=>Yw,__await:()=>gc,__awaiter:()=>qw,__classPrivateFieldGet:()=>t_,__classPrivateFieldIn:()=>n_,__classPrivateFieldSet:()=>r_,__createBinding:()=>tf,__decorate:()=>Lw,__disposeResources:()=>s_,__esDecorate:()=>Mw,__exportStar:()=>Kw,__extends:()=>Fw,__generator:()=>Ww,__importDefault:()=>e_,__importStar:()=>Zw,__makeTemplateObject:()=>Qw,__metadata:()=>Vw,__param:()=>Rw,__propKey:()=>Uw,__read:()=>Gb,__rest:()=>jw,__rewriteRelativeImportExtension:()=>a_,__runInitializers:()=>Bw,__setFunctionName:()=>$w,__spread:()=>zw,__spreadArray:()=>Gw,__spreadArrays:()=>Hw,__values:()=>ef,default:()=>VB});function Fw(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");zb(t,r);function s(){this.constructor=t}t.prototype=r===null?Object.create(r):(s.prototype=r.prototype,new s)}function jw(t,r){var s={};for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&r.indexOf(a)<0&&(s[a]=t[a]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var u=0,a=Object.getOwnPropertySymbols(t);u<a.length;u++)r.indexOf(a[u])<0&&Object.prototype.propertyIsEnumerable.call(t,a[u])&&(s[a[u]]=t[a[u]]);return s}function Lw(t,r,s,a){var u=arguments.length,e=u<3?r:a===null?a=Object.getOwnPropertyDescriptor(r,s):a,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(t,r,s,a);else for(var n=t.length-1;n>=0;n--)(l=t[n])&&(e=(u<3?l(e):u>3?l(r,s,e):l(r,s))||e);return u>3&&e&&Object.defineProperty(r,s,e),e}function Rw(t,r){return function(s,a){r(s,a,t)}}function Mw(t,r,s,a,u,e){function l(y){if(y!==void 0&&typeof y!="function")throw new TypeError("Function expected");return y}for(var n=a.kind,c=n==="getter"?"get":n==="setter"?"set":"value",p=!r&&t?a.static?t:t.prototype:null,i=r||(p?Object.getOwnPropertyDescriptor(p,a.name):{}),o,h=!1,d=s.length-1;d>=0;d--){var f={};for(var b in a)f[b]=b==="access"?{}:a[b];for(var b in a.access)f.access[b]=a.access[b];f.addInitializer=function(y){if(h)throw new TypeError("Cannot add initializers after decoration has completed");e.push(l(y||null))};var m=(0,s[d])(n==="accessor"?{get:i.get,set:i.set}:i[c],f);if(n==="accessor"){if(m===void 0)continue;if(m===null||typeof m!="object")throw new TypeError("Object expected");(o=l(m.get))&&(i.get=o),(o=l(m.set))&&(i.set=o),(o=l(m.init))&&u.unshift(o)}else(o=l(m))&&(n==="field"?u.unshift(o):i[c]=o)}p&&Object.defineProperty(p,a.name,i),h=!0}function Bw(t,r,s){for(var a=arguments.length>2,u=0;u<r.length;u++)s=a?r[u].call(t,s):r[u].call(t);return a?s:void 0}function Uw(t){return typeof t=="symbol"?t:"".concat(t)}function $w(t,r,s){return typeof r=="symbol"&&(r=r.description?"[".concat(r.description,"]"):""),Object.defineProperty(t,"name",{configurable:!0,value:s?"".concat(s," ",r):r})}function Vw(t,r){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,r)}function qw(t,r,s,a){function u(e){return e instanceof s?e:new s(function(l){l(e)})}return new(s||(s=Promise))(function(e,l){function n(i){try{p(a.next(i))}catch(o){l(o)}}function c(i){try{p(a.throw(i))}catch(o){l(o)}}function p(i){i.done?e(i.value):u(i.value).then(n,c)}p((a=a.apply(t,r||[])).next())})}function Ww(t,r){var s={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},a,u,e,l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=n(0),l.throw=n(1),l.return=n(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function n(p){return function(i){return c([p,i])}}function c(p){if(a)throw new TypeError("Generator is already executing.");for(;l&&(l=0,p[0]&&(s=0)),s;)try{if(a=1,u&&(e=p[0]&2?u.return:p[0]?u.throw||((e=u.return)&&e.call(u),0):u.next)&&!(e=e.call(u,p[1])).done)return e;switch(u=0,e&&(p=[p[0]&2,e.value]),p[0]){case 0:case 1:e=p;break;case 4:return s.label++,{value:p[1],done:!1};case 5:s.label++,u=p[1],p=[0];continue;case 7:p=s.ops.pop(),s.trys.pop();continue;default:if(e=s.trys,!(e=e.length>0&&e[e.length-1])&&(p[0]===6||p[0]===2)){s=0;continue}if(p[0]===3&&(!e||p[1]>e[0]&&p[1]<e[3])){s.label=p[1];break}if(p[0]===6&&s.label<e[1]){s.label=e[1],e=p;break}if(e&&s.label<e[2]){s.label=e[2],s.ops.push(p);break}e[2]&&s.ops.pop(),s.trys.pop();continue}p=r.call(t,s)}catch(i){p=[6,i],u=0}finally{a=e=0}if(p[0]&5)throw p[1];return{value:p[0]?p[1]:void 0,done:!0}}}function Kw(t,r){for(var s in t)s!=="default"&&!Object.prototype.hasOwnProperty.call(r,s)&&tf(r,t,s)}function ef(t){var r=typeof Symbol=="function"&&Symbol.iterator,s=r&&t[r],a=0;if(s)return s.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&a>=t.length&&(t=void 0),{value:t&&t[a++],done:!t}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")}function Gb(t,r){var s=typeof Symbol=="function"&&t[Symbol.iterator];if(!s)return t;var a=s.call(t),u,e=[],l;try{for(;(r===void 0||r-- >0)&&!(u=a.next()).done;)e.push(u.value)}catch(n){l={error:n}}finally{try{u&&!u.done&&(s=a.return)&&s.call(a)}finally{if(l)throw l.error}}return e}function zw(){for(var t=[],r=0;r<arguments.length;r++)t=t.concat(Gb(arguments[r]));return t}function Hw(){for(var t=0,r=0,s=arguments.length;r<s;r++)t+=arguments[r].length;for(var a=Array(t),u=0,r=0;r<s;r++)for(var e=arguments[r],l=0,n=e.length;l<n;l++,u++)a[u]=e[l];return a}function Gw(t,r,s){if(s||arguments.length===2)for(var a=0,u=r.length,e;a<u;a++)(e||!(a in r))&&(e||(e=Array.prototype.slice.call(r,0,a)),e[a]=r[a]);return t.concat(e||Array.prototype.slice.call(r))}function gc(t){return this instanceof gc?(this.v=t,this):new gc(t)}function Jw(t,r,s){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var a=s.apply(t,r||[]),u,e=[];return u=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),n("next"),n("throw"),n("return",l),u[Symbol.asyncIterator]=function(){return this},u;function l(d){return function(f){return Promise.resolve(f).then(d,o)}}function n(d,f){a[d]&&(u[d]=function(b){return new Promise(function(m,y){e.push([d,b,m,y])>1||c(d,b)})},f&&(u[d]=f(u[d])))}function c(d,f){try{p(a[d](f))}catch(b){h(e[0][3],b)}}function p(d){d.value instanceof gc?Promise.resolve(d.value.v).then(i,o):h(e[0][2],d)}function i(d){c("next",d)}function o(d){c("throw",d)}function h(d,f){d(f),e.shift(),e.length&&c(e[0][0],e[0][1])}}function Xw(t){var r,s;return r={},a("next"),a("throw",function(u){throw u}),a("return"),r[Symbol.iterator]=function(){return this},r;function a(u,e){r[u]=t[u]?function(l){return(s=!s)?{value:gc(t[u](l)),done:!1}:e?e(l):l}:e}}function Yw(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var r=t[Symbol.asyncIterator],s;return r?r.call(t):(t=typeof ef=="function"?ef(t):t[Symbol.iterator](),s={},a("next"),a("throw"),a("return"),s[Symbol.asyncIterator]=function(){return this},s);function a(e){s[e]=t[e]&&function(l){return new Promise(function(n,c){l=t[e](l),u(n,c,l.done,l.value)})}}function u(e,l,n,c){Promise.resolve(c).then(function(p){e({value:p,done:n})},l)}}function Qw(t,r){return Object.defineProperty?Object.defineProperty(t,"raw",{value:r}):t.raw=r,t}function Zw(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var s=Hb(t),a=0;a<s.length;a++)s[a]!=="default"&&tf(r,t,s[a]);return UB(r,t),r}function e_(t){return t&&t.__esModule?t:{default:t}}function t_(t,r,s,a){if(s==="a"&&!a)throw new TypeError("Private accessor was defined without a getter");if(typeof r=="function"?t!==r||!a:!r.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return s==="m"?a:s==="a"?a.call(t):a?a.value:r.get(t)}function r_(t,r,s,a,u){if(a==="m")throw new TypeError("Private method is not writable");if(a==="a"&&!u)throw new TypeError("Private accessor was defined without a setter");if(typeof r=="function"?t!==r||!u:!r.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return a==="a"?u.call(t,s):u?u.value=s:r.set(t,s),s}function n_(t,r){if(r===null||typeof r!="object"&&typeof r!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?r===t:t.has(r)}function i_(t,r,s){if(r!=null){if(typeof r!="object"&&typeof r!="function")throw new TypeError("Object expected.");var a,u;if(s){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");a=r[Symbol.asyncDispose]}if(a===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");a=r[Symbol.dispose],s&&(u=a)}if(typeof a!="function")throw new TypeError("Object not disposable.");u&&(a=function(){try{u.call(this)}catch(e){return Promise.reject(e)}}),t.stack.push({value:r,dispose:a,async:s})}else s&&t.stack.push({async:!0});return r}function s_(t){function r(e){t.error=t.hasError?new $B(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var s,a=0;function u(){for(;s=t.stack.pop();)try{if(!s.async&&a===1)return a=0,t.stack.push(s),Promise.resolve().then(u);if(s.dispose){var e=s.dispose.call(s.value);if(s.async)return a|=2,Promise.resolve(e).then(u,function(l){return r(l),u()})}else a|=1}catch(l){r(l)}if(a===1)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}return u()}function a_(t,r){return typeof t=="string"&&/^\.\.?\//.test(t)?t.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(s,a,u,e,l){return a?r?".jsx":".js":u&&(!e||!l)?s:u+e+"."+l.toLowerCase()+"js"}):t}var zb,Zh,tf,UB,Hb,$B,VB,gi=BB(()=>{zb=function(t,r){return zb=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(s,a){s.__proto__=a}||function(s,a){for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&(s[u]=a[u])},zb(t,r)};Zh=function(){return Zh=Object.assign||function(r){for(var s,a=1,u=arguments.length;a<u;a++){s=arguments[a];for(var e in s)Object.prototype.hasOwnProperty.call(s,e)&&(r[e]=s[e])}return r},Zh.apply(this,arguments)};tf=Object.create?(function(t,r,s,a){a===void 0&&(a=s);var u=Object.getOwnPropertyDescriptor(r,s);(!u||("get"in u?!r.__esModule:u.writable||u.configurable))&&(u={enumerable:!0,get:function(){return r[s]}}),Object.defineProperty(t,a,u)}):(function(t,r,s,a){a===void 0&&(a=s),t[a]=r[s]});UB=Object.create?(function(t,r){Object.defineProperty(t,"default",{enumerable:!0,value:r})}):function(t,r){t.default=r},Hb=function(t){return Hb=Object.getOwnPropertyNames||function(r){var s=[];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(s[s.length]=a);return s},Hb(t)};$B=typeof SuppressedError=="function"?SuppressedError:function(t,r,s){var a=new Error(s);return a.name="SuppressedError",a.error=t,a.suppressed=r,a};VB={__extends:Fw,__assign:Zh,__rest:jw,__decorate:Lw,__param:Rw,__esDecorate:Mw,__runInitializers:Bw,__propKey:Uw,__setFunctionName:$w,__metadata:Vw,__awaiter:qw,__generator:Ww,__createBinding:tf,__exportStar:Kw,__values:ef,__read:Gb,__spread:zw,__spreadArrays:Hw,__spreadArray:Gw,__await:gc,__asyncGenerator:Jw,__asyncDelegator:Xw,__asyncValues:Yw,__makeTemplateObject:Qw,__importStar:Zw,__importDefault:e_,__classPrivateFieldGet:t_,__classPrivateFieldSet:r_,__classPrivateFieldIn:n_,__addDisposableResource:i_,__disposeResources:s_,__rewriteRelativeImportExtension:a_}});var Ts=ct(Vp=>{"use strict";Object.defineProperty(Vp,"__esModule",{value:!0});Vp.Def=void 0;var vc=(gi(),wi(bi)),p_=Object.prototype,sf=p_.toString,Ya=p_.hasOwnProperty,$p=(function(){function t(){}return t.prototype.assert=function(r,s){if(!this.check(r,s)){var a=Xb(r);throw new Error(a+" does not match type "+this)}return!0},t.prototype.arrayOf=function(){var r=this;return new Jb(r)},t})(),Jb=(function(t){vc.__extends(r,t);function r(s){var a=t.call(this)||this;return a.elemType=s,a.kind="ArrayType",a}return r.prototype.toString=function(){return"["+this.elemType+"]"},r.prototype.check=function(s,a){var u=this;return Array.isArray(s)&&s.every(function(e){return u.elemType.check(e,a)})},r})($p),o_=(function(t){vc.__extends(r,t);function r(s){var a=t.call(this)||this;return a.value=s,a.kind="IdentityType",a}return r.prototype.toString=function(){return String(this.value)},r.prototype.check=function(s,a){var u=s===this.value;return!u&&typeof a=="function"&&a(this,s),u},r})($p),l_=(function(t){vc.__extends(r,t);function r(s){var a=t.call(this)||this;return a.fields=s,a.kind="ObjectType",a}return r.prototype.toString=function(){return"{ "+this.fields.join(", ")+" }"},r.prototype.check=function(s,a){return sf.call(s)===sf.call({})&&this.fields.every(function(u){return u.type.check(s[u.name],a)})},r})($p),u_=(function(t){vc.__extends(r,t);function r(s){var a=t.call(this)||this;return a.types=s,a.kind="OrType",a}return r.prototype.toString=function(){return this.types.join(" | ")},r.prototype.check=function(s,a){return this.types.some(function(u){return u.check(s,a)})},r})($p),rf=(function(t){vc.__extends(r,t);function r(s,a){var u=t.call(this)||this;return u.name=s,u.predicate=a,u.kind="PredicateType",u}return r.prototype.toString=function(){return this.name},r.prototype.check=function(s,a){var u=this.predicate(s,a);return!u&&typeof a=="function"&&a(this,s),u},r})($p),nf=(function(){function t(r,s){this.type=r,this.typeName=s,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 t.prototype.isSupertypeOf=function(r){if(r instanceof t){if(this.finalized!==!0||r.finalized!==!0)throw new Error("");return Ya.call(r.allSupertypes,this.typeName)}else throw new Error(r+" is not a Def")},t.prototype.checkAllFields=function(r,s){var a=this.allFields;if(this.finalized!==!0)throw new Error(""+this.typeName);function u(e){var l=a[e],n=l.type,c=l.getValue(r);return n.check(c,s)}return r!==null&&typeof r=="object"&&Object.keys(a).every(u)},t.prototype.bases=function(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];var a=this.baseNames;if(this.finalized){if(r.length!==a.length)throw new Error("");for(var u=0;u<r.length;u++)if(r[u]!==a[u])throw new Error("");return this}return r.forEach(function(e){a.indexOf(e)<0&&a.push(e)}),this},t})();Vp.Def=nf;var c_=(function(){function t(r,s,a,u){this.name=r,this.type=s,this.defaultFn=a,this.hidden=!!u}return t.prototype.toString=function(){return JSON.stringify(this.name)+": "+this.type},t.prototype.getValue=function(r){var s=r[this.name];return typeof s<"u"||typeof this.defaultFn=="function"&&(s=this.defaultFn.call(r)),s},t})();function Xb(t){return Array.isArray(t)?"["+t.map(Xb).join(", ")+"]":t&&typeof t=="object"?"{ "+Object.keys(t).map(function(r){return r+": "+t[r]}).join(", ")+" }":JSON.stringify(t)}function qB(t){var r={or:function(){for(var q=[],K=0;K<arguments.length;K++)q[K]=arguments[K];return new u_(q.map(function($){return r.from($)}))},from:function(q,K){if(q instanceof Jb||q instanceof o_||q instanceof l_||q instanceof u_||q instanceof rf)return q;if(q instanceof nf)return q.type;if(n.check(q)){if(q.length!==1)throw new Error("only one element type is permitted for typed arrays");return new Jb(r.from(q[0]))}if(c.check(q))return new l_(Object.keys(q).map(function(W){return new c_(W,r.from(q[W],W))}));if(typeof q=="function"){var $=s.indexOf(q);if($>=0)return a[$];if(typeof K!="string")throw new Error("missing name");return new rf(K,q)}return new o_(q)},def:function(q){return Ya.call(m,q)?m[q]:m[q]=new x(q)},hasDef:function(q){return Ya.call(m,q)}},s=[],a=[];function u(q,K){var $=sf.call(K),W=new rf(q,function(Z){return sf.call(Z)===$});return K&&typeof K.constructor=="function"&&(s.push(K.constructor),a.push(W)),W}var e=u("string","truthy"),l=u("function",function(){}),n=u("array",[]),c=u("object",{}),p=u("RegExp",/./),i=u("Date",new Date),o=u("number",3),h=u("boolean",!0),d=u("null",null),f=u("undefined",void 0),b={string:e,function:l,array:n,object:c,RegExp:p,Date:i,number:o,boolean:h,null:d,undefined:f},m=Object.create(null);function y(q){if(q&&typeof q=="object"){var K=q.type;if(typeof K=="string"&&Ya.call(m,K)){var $=m[K];if($.finalized)return $}}return null}var x=(function(q){vc.__extends(K,q);function K($){var W=q.call(this,new rf($,function(Z,Q){return W.check(Z,Q)}),$)||this;return W}return K.prototype.check=function($,W){if(this.finalized!==!0)throw new Error("prematurely checking unfinalized type "+this.typeName);if($===null||typeof $!="object")return!1;var Z=y($);return Z?W&&Z===this?this.checkAllFields($,W):this.isSupertypeOf(Z)?W?Z.checkAllFields($,W)&&this.checkAllFields($,!1):!0:!1:this.typeName==="SourceLocation"||this.typeName==="Position"?this.checkAllFields($,W):!1},K.prototype.build=function(){for(var $=this,W=[],Z=0;Z<arguments.length;Z++)W[Z]=arguments[Z];if(this.buildParams=W,this.buildable)return this;this.field("type",String,function(){return $.typeName}),this.buildable=!0;var Q=function(ie,oe,be,Ne){if(!Ya.call(ie,oe)){var Pe=$.allFields;if(!Ya.call(Pe,oe))throw new Error(""+oe);var Ke=Pe[oe],We=Ke.type,Oe;if(Ne)Oe=be;else if(Ke.defaultFn)Oe=Ke.defaultFn.call(ie);else{var de="no value or default function given for field "+JSON.stringify(oe)+" of "+$.typeName+"("+$.buildParams.map(function(xe){return Pe[xe]}).join(", ")+")";throw new Error(de)}if(!We.check(Oe))throw new Error(Xb(Oe)+" does not match field "+Ke+" of type "+$.typeName);ie[oe]=Oe}},X=function(){for(var ie=[],oe=0;oe<arguments.length;oe++)ie[oe]=arguments[oe];var be=ie.length;if(!$.finalized)throw new Error("attempting to instantiate unfinalized type "+$.typeName);var Ne=Object.create(_);if($.buildParams.forEach(function(Pe,Ke){Ke<be?Q(Ne,Pe,ie[Ke],!0):Q(Ne,Pe,null,!1)}),Object.keys($.allFields).forEach(function(Pe){Q(Ne,Pe,null,!1)}),Ne.type!==$.typeName)throw new Error("");return Ne};return X.from=function(ie){if(!$.finalized)throw new Error("attempting to instantiate unfinalized type "+$.typeName);var oe=Object.create(_);if(Object.keys($.allFields).forEach(function(be){Ya.call(ie,be)?Q(oe,be,ie[be],!0):Q(oe,be,null,!1)}),oe.type!==$.typeName)throw new Error("");return oe},Object.defineProperty(S,L(this.typeName),{enumerable:!0,value:X}),this},K.prototype.field=function($,W,Z,Q){return this.finalized?(console.error("Ignoring attempt to redefine field "+JSON.stringify($)+" of finalized type "+JSON.stringify(this.typeName)),this):(this.ownFields[$]=new c_($,r.from(W),Z,Q),this)},K.prototype.finalize=function(){var $=this;if(!this.finalized){var W=this.allFields,Z=this.allSupertypes;this.baseNames.forEach(function(X){var ie=m[X];if(ie instanceof nf)ie.finalize(),V(W,ie.allFields),V(Z,ie.allSupertypes);else{var oe="unknown supertype name "+JSON.stringify(X)+" for subtype "+JSON.stringify($.typeName);throw new Error(oe)}}),V(W,this.ownFields),Z[this.typeName]=this,this.fieldNames.length=0;for(var Q in W)Ya.call(W,Q)&&!W[Q].hidden&&this.fieldNames.push(Q);Object.defineProperty(F,this.typeName,{enumerable:!0,value:this.type}),this.finalized=!0,G(this.typeName,this.supertypeList),this.buildable&&this.supertypeList.lastIndexOf("Expression")>=0&&R(this.typeName)}},K})(nf);function v(q){if(!Ya.call(m,q))throw new Error("");var K=m[q];if(K.finalized!==!0)throw new Error("");return K.supertypeList.slice(1)}function E(q){for(var K={},$=Object.keys(m),W=$.length,Z=0;Z<W;++Z){var Q=$[Z],X=m[Q];if(X.finalized!==!0)throw new Error(""+Q);for(var ie=0;ie<X.supertypeList.length;++ie){var oe=X.supertypeList[ie];if(Ya.call(q,oe)){K[Q]=oe;break}}}return K}var S=Object.create(null),_={};function A(q,K){var $=_[q];return f.check(K)?delete _[q]:(l.assert(K),Object.defineProperty(_,q,{enumerable:!0,configurable:!0,value:K})),$}function L(q){return q.replace(/^[A-Z]+/,function(K){var $=K.length;switch($){case 0:return"";case 1:return K.toLowerCase();default:return K.slice(0,$-1).toLowerCase()+K.charAt($-1)}})}function j(q){return q=L(q),q.replace(/(Expression)?$/,"Statement")}var F={};function k(q){var K=y(q);if(K)return K.fieldNames.slice(0);if("type"in q)throw new Error("did not recognize object of type "+JSON.stringify(q.type));return Object.keys(q)}function U(q,K){var $=y(q);if($){var W=$.allFields[K];if(W)return W.getValue(q)}return q&&q[K]}function z(q,K,$){k(q).forEach(function(W){K.call(this,W,U(q,W))},$)}function C(q,K,$){return k(q).some(function(W){return K.call(this,W,U(q,W))},$)}function R(q){var K=j(q);if(!S[K]){var $=S[L(q)];if($){var W=function(){for(var Z=[],Q=0;Q<arguments.length;Q++)Z[Q]=arguments[Q];return S.expressionStatement($.apply(S,Z))};W.from=function(){for(var Z=[],Q=0;Q<arguments.length;Q++)Z[Q]=arguments[Q];return S.expressionStatement($.from.apply(S,Z))},S[K]=W}}}function G(q,K){K.length=0,K.push(q);for(var $=Object.create(null),W=0;W<K.length;++W){q=K[W];var Z=m[q];if(Z.finalized!==!0)throw new Error("");Ya.call($,q)&&delete K[$[q]],$[q]=W,K.push.apply(K,Z.baseNames)}for(var Q=0,X=Q,ie=K.length;X<ie;++X)Ya.call(K,X)&&(K[Q++]=K[X]);K.length=Q}function V(q,K){return Object.keys(K).forEach(function($){q[$]=K[$]}),q}function B(){Object.keys(m).forEach(function(q){m[q].finalize()})}return{Type:r,builtInTypes:b,getSupertypeNames:v,computeSupertypeLookupTable:E,builders:S,defineMethod:A,getBuilderName:L,getStatementBuilderName:j,namedTypes:F,getFieldNames:k,getFieldValue:U,eachField:z,someField:C,finalize:B}}Vp.default=qB});var Yb=ct((of,d_)=>{"use strict";Object.defineProperty(of,"__esModule",{value:!0});var WB=(gi(),wi(bi)),KB=WB.__importDefault(Ts()),zB=Object.prototype,af=zB.hasOwnProperty;function HB(t){var r=t.use(KB.default),s=r.builtInTypes.array,a=r.builtInTypes.number,u=function o(h,d,f){if(!(this instanceof o))throw new Error("Path constructor cannot be invoked without 'new'");if(d){if(!(d instanceof o))throw new Error("")}else d=null,f=null;this.value=h,this.parentPath=d,this.name=f,this.__childCache=null},e=u.prototype;function l(o){return o.__childCache||(o.__childCache=Object.create(null))}function n(o,h){var d=l(o),f=o.getValueProperty(h),b=d[h];return(!af.call(d,h)||b.value!==f)&&(b=d[h]=new o.constructor(f,o,h)),b}e.getValueProperty=function(h){return this.value[h]},e.get=function(){for(var h=[],d=0;d<arguments.length;d++)h[d]=arguments[d];for(var f=this,b=h.length,m=0;m<b;++m)f=n(f,h[m]);return f},e.each=function(h,d){for(var f=[],b=this.value.length,m=0,m=0;m<b;++m)af.call(this.value,m)&&(f[m]=this.get(m));for(d=d||this,m=0;m<b;++m)af.call(f,m)&&h.call(d,f[m])},e.map=function(h,d){var f=[];return this.each(function(b){f.push(h.call(this,b))},d),f},e.filter=function(h,d){var f=[];return this.each(function(b){h.call(this,b)&&f.push(b)},d),f};function c(){}function p(o,h,d,f){if(s.assert(o.value),h===0)return c;var b=o.value.length;if(b<1)return c;var m=arguments.length;m===2?(d=0,f=b):m===3?(d=Math.max(d,0),f=b):(d=Math.max(d,0),f=Math.min(f,b)),a.assert(d),a.assert(f);for(var y=Object.create(null),x=l(o),v=d;v<f;++v)if(af.call(o.value,v)){var E=o.get(v);if(E.name!==v)throw new Error("");var S=v+h;E.name=S,y[S]=E,delete x[v]}return delete x.length,function(){for(var _ in y){var A=y[_];if(A.name!==+_)throw new Error("");x[_]=A,o.value[_]=A.value}}}e.shift=function(){var h=p(this,-1),d=this.value.shift();return h(),d},e.unshift=function(){for(var h=[],d=0;d<arguments.length;d++)h[d]=arguments[d];var f=p(this,h.length),b=this.value.unshift.apply(this.value,h);return f(),b},e.push=function(){for(var h=[],d=0;d<arguments.length;d++)h[d]=arguments[d];return s.assert(this.value),delete l(this).length,this.value.push.apply(this.value,h)},e.pop=function(){s.assert(this.value);var h=l(this);return delete h[this.value.length-1],delete h.length,this.value.pop()},e.insertAt=function(h){var d=arguments.length,f=p(this,d-1,h);if(f===c&&d<=1)return this;h=Math.max(h,0);for(var b=1;b<d;++b)this.value[h+b-1]=arguments[b];return f(),this},e.insertBefore=function(){for(var h=[],d=0;d<arguments.length;d++)h[d]=arguments[d];for(var f=this.parentPath,b=h.length,m=[this.name],y=0;y<b;++y)m.push(h[y]);return f.insertAt.apply(f,m)},e.insertAfter=function(){for(var h=[],d=0;d<arguments.length;d++)h[d]=arguments[d];for(var f=this.parentPath,b=h.length,m=[this.name+1],y=0;y<b;++y)m.push(h[y]);return f.insertAt.apply(f,m)};function i(o){if(!(o instanceof u))throw new Error("");var h=o.parentPath;if(!h)return o;var d=h.value,f=l(h);if(d[o.name]===o.value)f[o.name]=o;else if(s.check(d)){var b=d.indexOf(o.value);b>=0&&(f[o.name=b]=o)}else d[o.name]=o.value,f[o.name]=o;if(d[o.name]!==o.value)throw new Error("");if(o.parentPath.get(o.name)!==o)throw new Error("");return o}return e.replace=function(h){var d=[],f=this.parentPath.value,b=l(this.parentPath),m=arguments.length;if(i(this),s.check(f)){for(var y=f.length,x=p(this.parentPath,m-1,this.name+1),v=[this.name,1],E=0;E<m;++E)v.push(arguments[E]);var S=f.splice.apply(f,v);if(S[0]!==this.value)throw new Error("");if(f.length!==y-1+m)throw new Error("");if(x(),m===0)delete this.value,delete b[this.name],this.__childCache=null;else{if(f[this.name]!==h)throw new Error("");for(this.value!==h&&(this.value=h,this.__childCache=null),E=0;E<m;++E)d.push(this.parentPath.get(this.name+E));if(d[0]!==this)throw new Error("")}}else if(m===1)this.value!==h&&(this.__childCache=null),this.value=f[this.name]=h,d.push(this);else if(m===0)delete f[this.name],delete this.value,this.__childCache=null;else throw new Error("Could not replace path");return d},u}of.default=HB;d_.exports=of.default});var f_=ct((lf,h_)=>{"use strict";Object.defineProperty(lf,"__esModule",{value:!0});var GB=(gi(),wi(bi)),JB=GB.__importDefault(Ts()),qp=Object.prototype.hasOwnProperty;function XB(t){var r=t.use(JB.default),s=r.Type,a=r.namedTypes,u=a.Node,e=a.Expression,l=r.builtInTypes.array,n=r.builders,c=function x(v,E){if(!(this instanceof x))throw new Error("Scope constructor cannot be invoked without 'new'");i.assert(v.value);var S;if(E){if(!(E instanceof x))throw new Error("");S=E.depth+1}else E=null,S=0;Object.defineProperties(this,{path:{value:v},node:{value:v.value},isGlobal:{value:!E,enumerable:!0},depth:{value:S},parent:{value:E},bindings:{value:{}},types:{value:{}}})},p=[a.Program,a.Function,a.CatchClause],i=s.or.apply(s,p);c.isEstablishedBy=function(x){return i.check(x)};var o=c.prototype;o.didScan=!1,o.declares=function(x){return this.scan(),qp.call(this.bindings,x)},o.declaresType=function(x){return this.scan(),qp.call(this.types,x)},o.declareTemporary=function(x){if(x){if(!/^[a-z$_]/i.test(x))throw new Error("")}else x="t$";x+=this.depth.toString(36)+"$",this.scan();for(var v=0;this.declares(x+v);)++v;var E=x+v;return this.bindings[E]=r.builders.identifier(E)},o.injectTemporary=function(x,v){x||(x=this.declareTemporary());var E=this.path.get("body");return a.BlockStatement.check(E.value)&&(E=E.get("body")),E.unshift(n.variableDeclaration("var",[n.variableDeclarator(x,v||null)])),x},o.scan=function(x){if(x||!this.didScan){for(var v in this.bindings)delete this.bindings[v];h(this.path,this.bindings,this.types),this.didScan=!0}},o.getBindings=function(){return this.scan(),this.bindings},o.getTypes=function(){return this.scan(),this.types};function h(x,v,E){var S=x.value;if(i.assert(S),a.CatchClause.check(S)){var _=x.get("param");_.value&&m(_,v)}else d(x,v,E)}function d(x,v,E){var S=x.value;x.parent&&a.FunctionExpression.check(x.parent.node)&&x.parent.node.id&&m(x.parent.get("id"),v),S&&(l.check(S)?x.each(function(_){b(_,v,E)}):a.Function.check(S)?(x.get("params").each(function(_){m(_,v)}),b(x.get("body"),v,E)):a.TypeAlias&&a.TypeAlias.check(S)||a.InterfaceDeclaration&&a.InterfaceDeclaration.check(S)||a.TSTypeAliasDeclaration&&a.TSTypeAliasDeclaration.check(S)||a.TSInterfaceDeclaration&&a.TSInterfaceDeclaration.check(S)?y(x.get("id"),E):a.VariableDeclarator.check(S)?(m(x.get("id"),v),b(x.get("init"),v,E)):S.type==="ImportSpecifier"||S.type==="ImportNamespaceSpecifier"||S.type==="ImportDefaultSpecifier"?m(x.get(S.local?"local":S.name?"name":"id"),v):u.check(S)&&!e.check(S)&&r.eachField(S,function(_,A){var L=x.get(_);if(!f(L,A))throw new Error("");b(L,v,E)}))}function f(x,v){return!!(x.value===v||Array.isArray(x.value)&&x.value.length===0&&Array.isArray(v)&&v.length===0)}function b(x,v,E){var S=x.value;if(!(!S||e.check(S)))if(a.FunctionDeclaration.check(S)&&S.id!==null)m(x.get("id"),v);else if(a.ClassDeclaration&&a.ClassDeclaration.check(S))m(x.get("id"),v);else if(i.check(S)){if(a.CatchClause.check(S)&&a.Identifier.check(S.param)){var _=S.param.name,A=qp.call(v,_);d(x.get("body"),v,E),A||delete v[_]}}else d(x,v,E)}function m(x,v){var E=x.value;a.Pattern.assert(E),a.Identifier.check(E)?qp.call(v,E.name)?v[E.name].push(x):v[E.name]=[x]:a.AssignmentPattern&&a.AssignmentPattern.check(E)?m(x.get("left"),v):a.ObjectPattern&&a.ObjectPattern.check(E)?x.get("properties").each(function(S){var _=S.value;a.Pattern.check(_)?m(S,v):a.Property.check(_)?m(S.get("value"),v):a.SpreadProperty&&a.SpreadProperty.check(_)&&m(S.get("argument"),v)}):a.ArrayPattern&&a.ArrayPattern.check(E)?x.get("elements").each(function(S){var _=S.value;a.Pattern.check(_)?m(S,v):a.SpreadElement&&a.SpreadElement.check(_)&&m(S.get("argument"),v)}):a.PropertyPattern&&a.PropertyPattern.check(E)?m(x.get("pattern"),v):(a.SpreadElementPattern&&a.SpreadElementPattern.check(E)||a.RestElement&&a.RestElement.check(E)||a.SpreadPropertyPattern&&a.SpreadPropertyPattern.check(E))&&m(x.get("argument"),v)}function y(x,v){var E=x.value;a.Pattern.assert(E),a.Identifier.check(E)&&(qp.call(v,E.name)?v[E.name].push(x):v[E.name]=[x])}return o.lookup=function(x){for(var v=this;v&&!v.declares(x);v=v.parent);return v},o.lookupType=function(x){for(var v=this;v&&!v.declaresType(x);v=v.parent);return v},o.getGlobalScope=function(){for(var x=this;!x.isGlobal;)x=x.parent;return x},c}lf.default=XB;h_.exports=lf.default});var Zb=ct((uf,m_)=>{"use strict";Object.defineProperty(uf,"__esModule",{value:!0});var Qb=(gi(),wi(bi)),YB=Qb.__importDefault(Ts()),QB=Qb.__importDefault(Yb()),ZB=Qb.__importDefault(f_());function e4(t){var r=t.use(YB.default),s=r.namedTypes,a=r.builders,u=r.builtInTypes.number,e=r.builtInTypes.array,l=t.use(QB.default),n=t.use(ZB.default),c=function y(x,v,E){if(!(this instanceof y))throw new Error("NodePath constructor cannot be invoked without 'new'");l.call(this,x,v,E)},p=c.prototype=Object.create(l.prototype,{constructor:{value:c,enumerable:!1,writable:!0,configurable:!0}});Object.defineProperties(p,{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}}}),p.replace=function(){return delete this.node,delete this.parent,delete this.scope,l.prototype.replace.apply(this,arguments)},p.prune=function(){var y=this.parent;return this.replace(),b(y)},p._computeNode=function(){var y=this.value;if(s.Node.check(y))return y;var x=this.parentPath;return x&&x.node||null},p._computeParent=function(){var y=this.value,x=this.parentPath;if(!s.Node.check(y)){for(;x&&!s.Node.check(x.value);)x=x.parentPath;x&&(x=x.parentPath)}for(;x&&!s.Node.check(x.value);)x=x.parentPath;return x||null},p._computeScope=function(){var y=this.value,x=this.parentPath,v=x&&x.scope;return s.Node.check(y)&&n.isEstablishedBy(y)&&(v=new n(this,v)),v||null},p.getValueProperty=function(y){return r.getFieldValue(this.value,y)},p.needsParens=function(y){var x=this.parentPath;if(!x)return!1;var v=this.value;if(!s.Expression.check(v)||v.type==="Identifier")return!1;for(;!s.Node.check(x.value);)if(x=x.parentPath,!x)return!1;var E=x.value;switch(v.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return E.type==="MemberExpression"&&this.name==="object"&&E.object===v;case"BinaryExpression":case"LogicalExpression":switch(E.type){case"CallExpression":return this.name==="callee"&&E.callee===v;case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return!0;case"MemberExpression":return this.name==="object"&&E.object===v;case"BinaryExpression":case"LogicalExpression":{var S=v,_=E.operator,A=h[_],L=S.operator,j=h[L];if(A>j)return!0;if(A===j&&this.name==="right"){if(E.right!==S)throw new Error("Nodes must be equal");return!0}}default:return!1}case"SequenceExpression":switch(E.type){case"ForStatement":return!1;case"ExpressionStatement":return this.name!=="expression";default:return!0}case"YieldExpression":switch(E.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 E.type==="MemberExpression"&&u.check(v.value)&&this.name==="object"&&E.object===v;case"AssignmentExpression":case"ConditionalExpression":switch(E.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":return!0;case"CallExpression":return this.name==="callee"&&E.callee===v;case"ConditionalExpression":return this.name==="test"&&E.test===v;case"MemberExpression":return this.name==="object"&&E.object===v;default:return!1}default:if(E.type==="NewExpression"&&this.name==="callee"&&E.callee===v)return d(v)}return!!(y!==!0&&!this.canBeFirstInStatement()&&this.firstInStatement())};function i(y){return s.BinaryExpression.check(y)||s.LogicalExpression.check(y)}function o(y){return s.UnaryExpression.check(y)||s.SpreadElement&&s.SpreadElement.check(y)||s.SpreadProperty&&s.SpreadProperty.check(y)}var h={};[["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"]].forEach(function(y,x){y.forEach(function(v){h[v]=x})});function d(y){return s.CallExpression.check(y)?!0:e.check(y)?y.some(d):s.Node.check(y)?r.someField(y,function(x,v){return d(v)}):!1}p.canBeFirstInStatement=function(){var y=this.node;return!s.FunctionExpression.check(y)&&!s.ObjectExpression.check(y)},p.firstInStatement=function(){return f(this)};function f(y){for(var x,v;y.parent;y=y.parent){if(x=y.node,v=y.parent.node,s.BlockStatement.check(v)&&y.parent.name==="body"&&y.name===0){if(v.body[0]!==x)throw new Error("Nodes must be equal");return!0}if(s.ExpressionStatement.check(v)&&y.name==="expression"){if(v.expression!==x)throw new Error("Nodes must be equal");return!0}if(s.SequenceExpression.check(v)&&y.parent.name==="expressions"&&y.name===0){if(v.expressions[0]!==x)throw new Error("Nodes must be equal");continue}if(s.CallExpression.check(v)&&y.name==="callee"){if(v.callee!==x)throw new Error("Nodes must be equal");continue}if(s.MemberExpression.check(v)&&y.name==="object"){if(v.object!==x)throw new Error("Nodes must be equal");continue}if(s.ConditionalExpression.check(v)&&y.name==="test"){if(v.test!==x)throw new Error("Nodes must be equal");continue}if(i(v)&&y.name==="left"){if(v.left!==x)throw new Error("Nodes must be equal");continue}if(s.UnaryExpression.check(v)&&!v.prefix&&y.name==="argument"){if(v.argument!==x)throw new Error("Nodes must be equal");continue}return!1}return!0}function b(y){if(s.VariableDeclaration.check(y.node)){var x=y.get("declarations").value;if(!x||x.length===0)return y.prune()}else if(s.ExpressionStatement.check(y.node)){if(!y.get("expression").value)return y.prune()}else s.IfStatement.check(y.node)&&m(y);return y}function m(y){var x=y.get("test").value,v=y.get("alternate").value,E=y.get("consequent").value;if(!E&&!v){var S=a.expressionStatement(x);y.replace(S)}else if(!E&&v){var _=a.unaryExpression("!",x,!0);s.UnaryExpression.check(x)&&x.operator==="!"&&(_=x.argument),y.get("test").replace(_),y.get("consequent").replace(v),y.get("alternate").replace()}}return c}uf.default=e4;m_.exports=uf.default});var g_=ct((pf,b_)=>{"use strict";Object.defineProperty(pf,"__esModule",{value:!0});var y_=(gi(),wi(bi)),t4=y_.__importDefault(Ts()),r4=y_.__importDefault(Zb()),cf=Object.prototype.hasOwnProperty;function n4(t){var r=t.use(t4.default),s=t.use(r4.default),a=r.builtInTypes.array,u=r.builtInTypes.object,e=r.builtInTypes.function,l,n=function f(){if(!(this instanceof f))throw new Error("PathVisitor constructor cannot be invoked without 'new'");this._reusableContextStack=[],this._methodNameTable=c(this),this._shouldVisitComments=cf.call(this._methodNameTable,"Block")||cf.call(this._methodNameTable,"Line"),this.Context=h(this),this._visiting=!1,this._changeReported=!1};function c(f){var b=Object.create(null);for(var m in f)/^visit[A-Z]/.test(m)&&(b[m.slice(5)]=!0);for(var y=r.computeSupertypeLookupTable(b),x=Object.create(null),v=Object.keys(y),E=v.length,S=0;S<E;++S){var _=v[S];m="visit"+y[_],e.check(f[m])&&(x[_]=m)}return x}n.fromMethodsObject=function(b){if(b instanceof n)return b;if(!u.check(b))return new n;var m=function x(){if(!(this instanceof x))throw new Error("Visitor constructor cannot be invoked without 'new'");n.call(this)},y=m.prototype=Object.create(i);return y.constructor=m,p(y,b),p(m,n),e.assert(m.fromMethodsObject),e.assert(m.visit),new m};function p(f,b){for(var m in b)cf.call(b,m)&&(f[m]=b[m]);return f}n.visit=function(b,m){return n.fromMethodsObject(m).visit(b)};var i=n.prototype;i.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 f=arguments.length,b=new Array(f),m=0;m<f;++m)b[m]=arguments[m];b[0]instanceof s||(b[0]=new s({root:b[0]}).get("root")),this.reset.apply(this,b);var y;try{var x=this.visitWithoutReset(b[0]);y=!0}finally{if(this._visiting=!1,!y&&this._abortRequested)return b[0].value}return x},i.AbortRequest=function(){},i.abort=function(){var f=this;f._abortRequested=!0;var b=new f.AbortRequest;throw b.cancel=function(){f._abortRequested=!1},b},i.reset=function(f){},i.visitWithoutReset=function(f){if(this instanceof this.Context)return this.visitor.visitWithoutReset(f);if(!(f instanceof s))throw new Error("");var b=f.value,m=b&&typeof b=="object"&&typeof b.type=="string"&&this._methodNameTable[b.type];if(m){var y=this.acquireContext(f);try{return y.invokeVisitorMethod(m)}finally{this.releaseContext(y)}}else return o(f,this)};function o(f,b){if(!(f instanceof s))throw new Error("");if(!(b instanceof n))throw new Error("");var m=f.value;if(a.check(m))f.each(b.visitWithoutReset,b);else if(u.check(m)){var y=r.getFieldNames(m);b._shouldVisitComments&&m.comments&&y.indexOf("comments")<0&&y.push("comments");for(var x=y.length,v=[],E=0;E<x;++E){var S=y[E];cf.call(m,S)||(m[S]=r.getFieldValue(m,S)),v.push(f.get(S))}for(var E=0;E<x;++E)b.visitWithoutReset(v[E])}return f.value}i.acquireContext=function(f){return this._reusableContextStack.length===0?new this.Context(f):this._reusableContextStack.pop().reset(f)},i.releaseContext=function(f){if(!(f instanceof this.Context))throw new Error("");this._reusableContextStack.push(f),f.currentPath=null},i.reportChanged=function(){this._changeReported=!0},i.wasChangeReported=function(){return this._changeReported};function h(f){function b(y){if(!(this instanceof b))throw new Error("");if(!(this instanceof n))throw new Error("");if(!(y instanceof s))throw new Error("");Object.defineProperty(this,"visitor",{value:f,writable:!1,enumerable:!0,configurable:!1}),this.currentPath=y,this.needToCallTraverse=!0,Object.seal(this)}if(!(f instanceof n))throw new Error("");var m=b.prototype=Object.create(f);return m.constructor=b,p(m,d),b}var d=Object.create(null);return d.reset=function(b){if(!(this instanceof this.Context))throw new Error("");if(!(b instanceof s))throw new Error("");return this.currentPath=b,this.needToCallTraverse=!0,this},d.invokeVisitorMethod=function(b){if(!(this instanceof this.Context))throw new Error("");if(!(this.currentPath instanceof s))throw new Error("");var m=this.visitor[b].call(this,this.currentPath);if(m===!1?this.needToCallTraverse=!1:m!==l&&(this.currentPath=this.currentPath.replace(m)[0],this.needToCallTraverse&&this.traverse(this.currentPath)),this.needToCallTraverse!==!1)throw new Error("Must either call this.traverse or return false in "+b);var y=this.currentPath;return y&&y.value},d.traverse=function(b,m){if(!(this instanceof this.Context))throw new Error("");if(!(b instanceof s))throw new Error("");if(!(this.currentPath instanceof s))throw new Error("");return this.needToCallTraverse=!1,o(b,n.fromMethodsObject(m||this.visitor))},d.visit=function(b,m){if(!(this instanceof this.Context))throw new Error("");if(!(b instanceof s))throw new Error("");if(!(this.currentPath instanceof s))throw new Error("");return this.needToCallTraverse=!1,n.fromMethodsObject(m||this.visitor).visitWithoutReset(b)},d.reportChanged=function(){this.visitor.reportChanged()},d.abort=function(){this.needToCallTraverse=!1,this.visitor.abort()},n}pf.default=n4;b_.exports=pf.default});var x_=ct((df,v_)=>{"use strict";Object.defineProperty(df,"__esModule",{value:!0});var i4=(gi(),wi(bi)),s4=i4.__importDefault(Ts());function a4(t){var r=t.use(s4.default),s=r.getFieldNames,a=r.getFieldValue,u=r.builtInTypes.array,e=r.builtInTypes.object,l=r.builtInTypes.Date,n=r.builtInTypes.RegExp,c=Object.prototype.hasOwnProperty;function p(f,b,m){return u.check(m)?m.length=0:m=null,o(f,b,m)}p.assert=function(f,b){var m=[];if(!p(f,b,m))if(m.length===0){if(f!==b)throw new Error("Nodes must be equal")}else throw new Error("Nodes differ in the following path: "+m.map(i).join(""))};function i(f){return/[_$a-z][_$a-z0-9]*/i.test(f)?"."+f:"["+JSON.stringify(f)+"]"}function o(f,b,m){return f===b?!0:u.check(f)?h(f,b,m):e.check(f)?d(f,b,m):l.check(f)?l.check(b)&&+f==+b:n.check(f)?n.check(b)&&f.source===b.source&&f.global===b.global&&f.multiline===b.multiline&&f.ignoreCase===b.ignoreCase:f==b}function h(f,b,m){u.assert(f);var y=f.length;if(!u.check(b)||b.length!==y)return m&&m.push("length"),!1;for(var x=0;x<y;++x){if(m&&m.push(x),x in f!=x in b||!o(f[x],b[x],m))return!1;if(m){var v=m.pop();if(v!==x)throw new Error(""+v)}}return!0}function d(f,b,m){if(e.assert(f),!e.check(b))return!1;if(f.type!==b.type)return m&&m.push("type"),!1;var y=s(f),x=y.length,v=s(b),E=v.length;if(x===E){for(var S=0;S<x;++S){var _=y[S],A=a(f,_),L=a(b,_);if(m&&m.push(_),!o(A,L,m))return!1;if(m){var j=m.pop();if(j!==_)throw new Error(""+j)}}return!0}if(!m)return!1;var F=Object.create(null);for(S=0;S<x;++S)F[y[S]]=!0;for(S=0;S<E;++S){if(_=v[S],!c.call(F,_))return m.push(_),!1;delete F[_]}for(_ in F){m.push(_);break}return!1}return p}df.default=a4;v_.exports=df.default});var E_=ct((hf,T_)=>{"use strict";Object.defineProperty(hf,"__esModule",{value:!0});var Wp=(gi(),wi(bi)),o4=Wp.__importDefault(Ts()),l4=Wp.__importDefault(g_()),u4=Wp.__importDefault(x_()),c4=Wp.__importDefault(Yb()),p4=Wp.__importDefault(Zb());function d4(t){var r=h4(),s=r.use(o4.default);t.forEach(r.use),s.finalize();var a=r.use(l4.default);return{Type:s.Type,builtInTypes:s.builtInTypes,namedTypes:s.namedTypes,builders:s.builders,defineMethod:s.defineMethod,getFieldNames:s.getFieldNames,getFieldValue:s.getFieldValue,eachField:s.eachField,someField:s.someField,getSupertypeNames:s.getSupertypeNames,getBuilderName:s.getBuilderName,astNodesAreEquivalent:r.use(u4.default),finalize:s.finalize,Path:r.use(c4.default),NodePath:r.use(p4.default),PathVisitor:a,use:r.use,visit:a.visit}}hf.default=d4;function h4(){var t=[],r=[];function s(u){var e=t.indexOf(u);return e===-1&&(e=t.length,t.push(u),r[e]=u(a)),r[e]}var a={use:s};return a}T_.exports=hf.default});var ff=ct(Bl=>{"use strict";Object.defineProperty(Bl,"__esModule",{value:!0});Bl.LogicalOperators=Bl.AssignmentOperators=Bl.BinaryOperators=void 0;Bl.BinaryOperators=["==","!=","===","!==","<","<=",">",">=","<<",">>",">>>","+","-","*","/","%","&","|","^","in","instanceof"];Bl.AssignmentOperators=["=","+=","-=","*=","/=","%=","<<=",">>=",">>>=","|=","^=","&="];Bl.LogicalOperators=["||","&&"]});var ka=ct((mf,S_)=>{"use strict";Object.defineProperty(mf,"__esModule",{value:!0});var f4=(gi(),wi(bi)),m4=f4.__importDefault(Ts());function y4(t){var r=t.use(m4.default),s=r.Type,a=r.builtInTypes,u=a.number;function e(p){return s.from(function(i){return u.check(i)&&i>=p},u+" >= "+p)}var l={null:function(){return null},emptyArray:function(){return[]},false:function(){return!1},true:function(){return!0},undefined:function(){},"use strict":function(){return"use strict"}},n=s.or(a.string,a.number,a.boolean,a.null,a.undefined),c=s.from(function(p){if(p===null)return!0;var i=typeof p;return!(i==="object"||i==="function")},n.toString());return{geq:e,defaults:l,isPrimitive:c}}mf.default=y4;S_.exports=mf.default});var tg=ct((yf,__)=>{"use strict";Object.defineProperty(yf,"__esModule",{value:!0});var w_=(gi(),wi(bi)),eg=ff(),b4=w_.__importDefault(Ts()),g4=w_.__importDefault(ka());function v4(t){var r=t.use(b4.default),s=r.Type,a=s.def,u=s.or,e=t.use(g4.default),l=e.defaults,n=e.geq;a("Printable").field("loc",u(a("SourceLocation"),null),l.null,!0),a("Node").bases("Printable").field("type",String).field("comments",u([a("Comment")],null),l.null,!0),a("SourceLocation").field("start",a("Position")).field("end",a("Position")).field("source",u(String,null),l.null),a("Position").field("line",n(1)).field("column",n(0)),a("File").bases("Node").build("program","name").field("program",a("Program")).field("name",u(String,null),l.null),a("Program").bases("Node").build("body").field("body",[a("Statement")]),a("Function").bases("Node").field("id",u(a("Identifier"),null),l.null).field("params",[a("Pattern")]).field("body",a("BlockStatement")).field("generator",Boolean,l.false).field("async",Boolean,l.false),a("Statement").bases("Node"),a("EmptyStatement").bases("Statement").build(),a("BlockStatement").bases("Statement").build("body").field("body",[a("Statement")]),a("ExpressionStatement").bases("Statement").build("expression").field("expression",a("Expression")),a("IfStatement").bases("Statement").build("test","consequent","alternate").field("test",a("Expression")).field("consequent",a("Statement")).field("alternate",u(a("Statement"),null),l.null),a("LabeledStatement").bases("Statement").build("label","body").field("label",a("Identifier")).field("body",a("Statement")),a("BreakStatement").bases("Statement").build("label").field("label",u(a("Identifier"),null),l.null),a("ContinueStatement").bases("Statement").build("label").field("label",u(a("Identifier"),null),l.null),a("WithStatement").bases("Statement").build("object","body").field("object",a("Expression")).field("body",a("Statement")),a("SwitchStatement").bases("Statement").build("discriminant","cases","lexical").field("discriminant",a("Expression")).field("cases",[a("SwitchCase")]).field("lexical",Boolean,l.false),a("ReturnStatement").bases("Statement").build("argument").field("argument",u(a("Expression"),null)),a("ThrowStatement").bases("Statement").build("argument").field("argument",a("Expression")),a("TryStatement").bases("Statement").build("block","handler","finalizer").field("block",a("BlockStatement")).field("handler",u(a("CatchClause"),null),function(){return this.handlers&&this.handlers[0]||null}).field("handlers",[a("CatchClause")],function(){return this.handler?[this.handler]:[]},!0).field("guardedHandlers",[a("CatchClause")],l.emptyArray).field("finalizer",u(a("BlockStatement"),null),l.null),a("CatchClause").bases("Node").build("param","guard","body").field("param",a("Pattern")).field("guard",u(a("Expression"),null),l.null).field("body",a("BlockStatement")),a("WhileStatement").bases("Statement").build("test","body").field("test",a("Expression")).field("body",a("Statement")),a("DoWhileStatement").bases("Statement").build("body","test").field("body",a("Statement")).field("test",a("Expression")),a("ForStatement").bases("Statement").build("init","test","update","body").field("init",u(a("VariableDeclaration"),a("Expression"),null)).field("test",u(a("Expression"),null)).field("update",u(a("Expression"),null)).field("body",a("Statement")),a("ForInStatement").bases("Statement").build("left","right","body").field("left",u(a("VariableDeclaration"),a("Expression"))).field("right",a("Expression")).field("body",a("Statement")),a("DebuggerStatement").bases("Statement").build(),a("Declaration").bases("Statement"),a("FunctionDeclaration").bases("Function","Declaration").build("id","params","body").field("id",a("Identifier")),a("FunctionExpression").bases("Function","Expression").build("id","params","body"),a("VariableDeclaration").bases("Declaration").build("kind","declarations").field("kind",u("var","let","const")).field("declarations",[a("VariableDeclarator")]),a("VariableDeclarator").bases("Node").build("id","init").field("id",a("Pattern")).field("init",u(a("Expression"),null),l.null),a("Expression").bases("Node"),a("ThisExpression").bases("Expression").build(),a("ArrayExpression").bases("Expression").build("elements").field("elements",[u(a("Expression"),null)]),a("ObjectExpression").bases("Expression").build("properties").field("properties",[a("Property")]),a("Property").bases("Node").build("kind","key","value").field("kind",u("init","get","set")).field("key",u(a("Literal"),a("Identifier"))).field("value",a("Expression")),a("SequenceExpression").bases("Expression").build("expressions").field("expressions",[a("Expression")]);var c=u("-","+","!","~","typeof","void","delete");a("UnaryExpression").bases("Expression").build("operator","argument","prefix").field("operator",c).field("argument",a("Expression")).field("prefix",Boolean,l.true);var p=u.apply(void 0,eg.BinaryOperators);a("BinaryExpression").bases("Expression").build("operator","left","right").field("operator",p).field("left",a("Expression")).field("right",a("Expression"));var i=u.apply(void 0,eg.AssignmentOperators);a("AssignmentExpression").bases("Expression").build("operator","left","right").field("operator",i).field("left",u(a("Pattern"),a("MemberExpression"))).field("right",a("Expression"));var o=u("++","--");a("UpdateExpression").bases("Expression").build("operator","argument","prefix").field("operator",o).field("argument",a("Expression")).field("prefix",Boolean);var h=u.apply(void 0,eg.LogicalOperators);a("LogicalExpression").bases("Expression").build("operator","left","right").field("operator",h).field("left",a("Expression")).field("right",a("Expression")),a("ConditionalExpression").bases("Expression").build("test","consequent","alternate").field("test",a("Expression")).field("consequent",a("Expression")).field("alternate",a("Expression")),a("NewExpression").bases("Expression").build("callee","arguments").field("callee",a("Expression")).field("arguments",[a("Expression")]),a("CallExpression").bases("Expression").build("callee","arguments").field("callee",a("Expression")).field("arguments",[a("Expression")]),a("MemberExpression").bases("Expression").build("object","property","computed").field("object",a("Expression")).field("property",u(a("Identifier"),a("Expression"))).field("computed",Boolean,function(){var d=this.property.type;return d==="Literal"||d==="MemberExpression"||d==="BinaryExpression"}),a("Pattern").bases("Node"),a("SwitchCase").bases("Node").build("test","consequent").field("test",u(a("Expression"),null)).field("consequent",[a("Statement")]),a("Identifier").bases("Expression","Pattern").build("name").field("name",String).field("optional",Boolean,l.false),a("Literal").bases("Expression").build("value").field("value",u(String,Boolean,null,Number,RegExp)).field("regex",u({pattern:String,flags:String},null),function(){if(this.value instanceof RegExp){var d="";return this.value.ignoreCase&&(d+="i"),this.value.multiline&&(d+="m"),this.value.global&&(d+="g"),{pattern:this.value.source,flags:d}}return null}),a("Comment").bases("Printable").field("value",String).field("leading",Boolean,l.true).field("trailing",Boolean,l.false)}yf.default=v4;__.exports=yf.default});var ng=ct((bf,A_)=>{"use strict";Object.defineProperty(bf,"__esModule",{value:!0});var rg=(gi(),wi(bi)),x4=rg.__importDefault(tg()),T4=rg.__importDefault(Ts()),E4=rg.__importDefault(ka());function S4(t){t.use(x4.default);var r=t.use(T4.default),s=r.Type.def,a=r.Type.or,u=t.use(E4.default).defaults;s("Function").field("generator",Boolean,u.false).field("expression",Boolean,u.false).field("defaults",[a(s("Expression"),null)],u.emptyArray).field("rest",a(s("Identifier"),null),u.null),s("RestElement").bases("Pattern").build("argument").field("argument",s("Pattern")).field("typeAnnotation",a(s("TypeAnnotation"),s("TSTypeAnnotation"),null),u.null),s("SpreadElementPattern").bases("Pattern").build("argument").field("argument",s("Pattern")),s("FunctionDeclaration").build("id","params","body","generator","expression").field("id",a(s("Identifier"),null)),s("FunctionExpression").build("id","params","body","generator","expression"),s("ArrowFunctionExpression").bases("Function","Expression").build("params","body","expression").field("id",null,u.null).field("body",a(s("BlockStatement"),s("Expression"))).field("generator",!1,u.false),s("ForOfStatement").bases("Statement").build("left","right","body").field("left",a(s("VariableDeclaration"),s("Pattern"))).field("right",s("Expression")).field("body",s("Statement")),s("YieldExpression").bases("Expression").build("argument","delegate").field("argument",a(s("Expression"),null)).field("delegate",Boolean,u.false),s("GeneratorExpression").bases("Expression").build("body","blocks","filter").field("body",s("Expression")).field("blocks",[s("ComprehensionBlock")]).field("filter",a(s("Expression"),null)),s("ComprehensionExpression").bases("Expression").build("body","blocks","filter").field("body",s("Expression")).field("blocks",[s("ComprehensionBlock")]).field("filter",a(s("Expression"),null)),s("ComprehensionBlock").bases("Node").build("left","right","each").field("left",s("Pattern")).field("right",s("Expression")).field("each",Boolean),s("Property").field("key",a(s("Literal"),s("Identifier"),s("Expression"))).field("value",a(s("Expression"),s("Pattern"))).field("method",Boolean,u.false).field("shorthand",Boolean,u.false).field("computed",Boolean,u.false),s("ObjectProperty").field("shorthand",Boolean,u.false),s("PropertyPattern").bases("Pattern").build("key","pattern").field("key",a(s("Literal"),s("Identifier"),s("Expression"))).field("pattern",s("Pattern")).field("computed",Boolean,u.false),s("ObjectPattern").bases("Pattern").build("properties").field("properties",[a(s("PropertyPattern"),s("Property"))]),s("ArrayPattern").bases("Pattern").build("elements").field("elements",[a(s("Pattern"),null)]),s("SpreadElement").bases("Node").build("argument").field("argument",s("Expression")),s("ArrayExpression").field("elements",[a(s("Expression"),s("SpreadElement"),s("RestElement"),null)]),s("NewExpression").field("arguments",[a(s("Expression"),s("SpreadElement"))]),s("CallExpression").field("arguments",[a(s("Expression"),s("SpreadElement"))]),s("AssignmentPattern").bases("Pattern").build("left","right").field("left",s("Pattern")).field("right",s("Expression")),s("MethodDefinition").bases("Declaration").build("kind","key","value","static").field("kind",a("constructor","method","get","set")).field("key",s("Expression")).field("value",s("Function")).field("computed",Boolean,u.false).field("static",Boolean,u.false);var e=a(s("MethodDefinition"),s("VariableDeclarator"),s("ClassPropertyDefinition"),s("ClassProperty"));s("ClassProperty").bases("Declaration").build("key").field("key",a(s("Literal"),s("Identifier"),s("Expression"))).field("computed",Boolean,u.false),s("ClassPropertyDefinition").bases("Declaration").build("definition").field("definition",e),s("ClassBody").bases("Declaration").build("body").field("body",[e]),s("ClassDeclaration").bases("Declaration").build("id","body","superClass").field("id",a(s("Identifier"),null)).field("body",s("ClassBody")).field("superClass",a(s("Expression"),null),u.null),s("ClassExpression").bases("Expression").build("id","body","superClass").field("id",a(s("Identifier"),null),u.null).field("body",s("ClassBody")).field("superClass",a(s("Expression"),null),u.null),s("Super").bases("Expression").build(),s("Specifier").bases("Node"),s("ModuleSpecifier").bases("Specifier").field("local",a(s("Identifier"),null),u.null).field("id",a(s("Identifier"),null),u.null).field("name",a(s("Identifier"),null),u.null),s("ImportSpecifier").bases("ModuleSpecifier").build("imported","local").field("imported",s("Identifier")),s("ImportDefaultSpecifier").bases("ModuleSpecifier").build("local"),s("ImportNamespaceSpecifier").bases("ModuleSpecifier").build("local"),s("ImportDeclaration").bases("Declaration").build("specifiers","source","importKind").field("specifiers",[a(s("ImportSpecifier"),s("ImportNamespaceSpecifier"),s("ImportDefaultSpecifier"))],u.emptyArray).field("source",s("Literal")).field("importKind",a("value","type"),function(){return"value"}),s("ExportNamedDeclaration").bases("Declaration").build("declaration","specifiers","source").field("declaration",a(s("Declaration"),null)).field("specifiers",[s("ExportSpecifier")],u.emptyArray).field("source",a(s("Literal"),null),u.null),s("ExportSpecifier").bases("ModuleSpecifier").build("local","exported").field("exported",s("Identifier")),s("ExportDefaultDeclaration").bases("Declaration").build("declaration").field("declaration",a(s("Declaration"),s("Expression"))),s("ExportAllDeclaration").bases("Declaration").build("source").field("source",s("Literal")),s("TaggedTemplateExpression").bases("Expression").build("tag","quasi").field("tag",s("Expression")).field("quasi",s("TemplateLiteral")),s("TemplateLiteral").bases("Expression").build("quasis","expressions").field("quasis",[s("TemplateElement")]).field("expressions",[s("Expression")]),s("TemplateElement").bases("Node").build("value","tail").field("value",{cooked:String,raw:String}).field("tail",Boolean),s("MetaProperty").bases("Expression").build("meta","property").field("meta",s("Identifier")).field("property",s("Identifier"))}bf.default=S4;A_.exports=bf.default});var ig=ct((vf,C_)=>{"use strict";Object.defineProperty(vf,"__esModule",{value:!0});var gf=(gi(),wi(bi)),P_=ff(),w4=gf.__importDefault(ng()),_4=gf.__importDefault(Ts());function A4(t){t.use(w4.default);var r=t.use(_4.default),s=r.Type.def,a=r.Type.or,u=a.apply(void 0,gf.__spreadArrays(P_.BinaryOperators,["**"]));s("BinaryExpression").field("operator",u);var e=a.apply(void 0,gf.__spreadArrays(P_.AssignmentOperators,["**="]));s("AssignmentExpression").field("operator",e)}vf.default=A4;C_.exports=vf.default});var ag=ct((xf,k_)=>{"use strict";Object.defineProperty(xf,"__esModule",{value:!0});var sg=(gi(),wi(bi)),P4=sg.__importDefault(ig()),C4=sg.__importDefault(Ts()),k4=sg.__importDefault(ka());function D4(t){t.use(P4.default);var r=t.use(C4.default),s=r.Type.def,a=t.use(k4.default).defaults;s("Function").field("async",Boolean,a.false),s("AwaitExpression").bases("Expression").build("argument").field("argument",s("Expression"))}xf.default=D4;k_.exports=xf.default});var lg=ct((Tf,D_)=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});var og=(gi(),wi(bi)),I4=og.__importDefault(ag()),O4=og.__importDefault(Ts()),N4=og.__importDefault(ka());function F4(t){t.use(I4.default);var r=t.use(O4.default),s=r.Type.def,a=r.Type.or,u=t.use(N4.default).defaults;s("ForOfStatement").field("await",Boolean,u.false),s("SpreadProperty").bases("Node").build("argument").field("argument",s("Expression")),s("ObjectExpression").field("properties",[a(s("Property"),s("SpreadProperty"),s("SpreadElement"))]),s("TemplateElement").field("value",{cooked:a(String,null),raw:String}),s("SpreadPropertyPattern").bases("Pattern").build("argument").field("argument",s("Pattern")),s("ObjectPattern").field("properties",[a(s("PropertyPattern"),s("Property"),s("RestElement"),s("SpreadPropertyPattern"))])}Tf.default=F4;D_.exports=Tf.default});var cg=ct((Ef,I_)=>{"use strict";Object.defineProperty(Ef,"__esModule",{value:!0});var ug=(gi(),wi(bi)),j4=ug.__importDefault(lg()),L4=ug.__importDefault(Ts()),R4=ug.__importDefault(ka());function M4(t){t.use(j4.default);var r=t.use(L4.default),s=r.Type.def,a=r.Type.or,u=t.use(R4.default).defaults;s("CatchClause").field("param",a(s("Pattern"),null),u.null)}Ef.default=M4;I_.exports=Ef.default});var Kp=ct((wf,O_)=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});var Sf=(gi(),wi(bi)),B4=ff(),U4=Sf.__importDefault(cg()),$4=Sf.__importDefault(Ts()),V4=Sf.__importDefault(ka());function q4(t){t.use(U4.default);var r=t.use($4.default),s=r.Type.def,a=r.Type.or,u=t.use(V4.default),e=u.defaults;s("ImportExpression").bases("Expression").build("source").field("source",s("Expression")),s("ExportAllDeclaration").build("source","exported").field("source",s("Literal")).field("exported",a(s("Identifier"),null)),s("ChainElement").bases("Node").field("optional",Boolean,e.false),s("CallExpression").bases("Expression","ChainElement"),s("MemberExpression").bases("Expression","ChainElement"),s("ChainExpression").bases("Expression").build("expression").field("expression",s("ChainElement")),s("OptionalCallExpression").bases("CallExpression").build("callee","arguments","optional").field("optional",Boolean,e.true),s("OptionalMemberExpression").bases("MemberExpression").build("object","property","computed","optional").field("optional",Boolean,e.true);var l=a.apply(void 0,Sf.__spreadArrays(B4.LogicalOperators,["??"]));s("LogicalExpression").field("operator",l)}wf.default=q4;O_.exports=wf.default});var F_=ct((_f,N_)=>{"use strict";Object.defineProperty(_f,"__esModule",{value:!0});var pg=(gi(),wi(bi)),W4=pg.__importDefault(Kp()),K4=pg.__importDefault(Ts()),z4=pg.__importDefault(ka());function H4(t){t.use(W4.default);var r=t.use(K4.default),s=r.Type.def,a=r.Type.or,u=t.use(z4.default).defaults;s("JSXAttribute").bases("Node").build("name","value").field("name",a(s("JSXIdentifier"),s("JSXNamespacedName"))).field("value",a(s("Literal"),s("JSXExpressionContainer"),s("JSXElement"),s("JSXFragment"),null),u.null),s("JSXIdentifier").bases("Identifier").build("name").field("name",String),s("JSXNamespacedName").bases("Node").build("namespace","name").field("namespace",s("JSXIdentifier")).field("name",s("JSXIdentifier")),s("JSXMemberExpression").bases("MemberExpression").build("object","property").field("object",a(s("JSXIdentifier"),s("JSXMemberExpression"))).field("property",s("JSXIdentifier")).field("computed",Boolean,u.false);var e=a(s("JSXIdentifier"),s("JSXNamespacedName"),s("JSXMemberExpression"));s("JSXSpreadAttribute").bases("Node").build("argument").field("argument",s("Expression"));var l=[a(s("JSXAttribute"),s("JSXSpreadAttribute"))];s("JSXExpressionContainer").bases("Expression").build("expression").field("expression",a(s("Expression"),s("JSXEmptyExpression")));var n=[a(s("JSXText"),s("JSXExpressionContainer"),s("JSXSpreadChild"),s("JSXElement"),s("JSXFragment"),s("Literal"))];s("JSXElement").bases("Expression").build("openingElement","closingElement","children").field("openingElement",s("JSXOpeningElement")).field("closingElement",a(s("JSXClosingElement"),null),u.null).field("children",n,u.emptyArray).field("name",e,function(){return this.openingElement.name},!0).field("selfClosing",Boolean,function(){return this.openingElement.selfClosing},!0).field("attributes",l,function(){return this.openingElement.attributes},!0),s("JSXOpeningElement").bases("Node").build("name","attributes","selfClosing").field("name",e).field("attributes",l,u.emptyArray).field("selfClosing",Boolean,u.false),s("JSXClosingElement").bases("Node").build("name").field("name",e),s("JSXFragment").bases("Expression").build("openingFragment","closingFragment","children").field("openingFragment",s("JSXOpeningFragment")).field("closingFragment",s("JSXClosingFragment")).field("children",n,u.emptyArray),s("JSXOpeningFragment").bases("Node").build(),s("JSXClosingFragment").bases("Node").build(),s("JSXText").bases("Literal").build("value","raw").field("value",String).field("raw",String,function(){return this.value}),s("JSXEmptyExpression").bases("Node").build(),s("JSXSpreadChild").bases("Node").build("expression").field("expression",s("Expression"))}_f.default=H4;N_.exports=_f.default});var Pf=ct((Af,j_)=>{"use strict";Object.defineProperty(Af,"__esModule",{value:!0});var dg=(gi(),wi(bi)),G4=dg.__importDefault(Ts()),J4=dg.__importDefault(ka()),X4=dg.__importDefault(Kp());function Y4(t){t.use(X4.default);var r=t.use(G4.default),s=r.Type,a=r.Type.def,u=s.or,e=t.use(J4.default),l=e.defaults;a("AwaitExpression").build("argument","all").field("argument",u(a("Expression"),null)).field("all",Boolean,l.false),a("Decorator").bases("Node").build("expression").field("expression",a("Expression")),a("Property").field("decorators",u([a("Decorator")],null),l.null),a("MethodDefinition").field("decorators",u([a("Decorator")],null),l.null),a("PrivateName").bases("Expression","Pattern").build("id").field("id",a("Identifier")),a("ClassPrivateProperty").bases("ClassProperty").build("key","value").field("key",a("PrivateName")).field("value",u(a("Expression"),null),l.null)}Af.default=Y4;j_.exports=Af.default});var hg=ct((Cf,R_)=>{"use strict";Object.defineProperty(Cf,"__esModule",{value:!0});var L_=(gi(),wi(bi)),Q4=L_.__importDefault(Ts()),Z4=L_.__importDefault(ka());function e6(t){var r=t.use(Q4.default),s=r.Type.def,a=r.Type.or,u=t.use(Z4.default).defaults,e=a(s("TypeAnnotation"),s("TSTypeAnnotation"),null),l=a(s("TypeParameterDeclaration"),s("TSTypeParameterDeclaration"),null);s("Identifier").field("typeAnnotation",e,u.null),s("ObjectPattern").field("typeAnnotation",e,u.null),s("Function").field("returnType",e,u.null).field("typeParameters",l,u.null),s("ClassProperty").build("key","value","typeAnnotation","static").field("value",a(s("Expression"),null)).field("static",Boolean,u.false).field("typeAnnotation",e,u.null),["ClassDeclaration","ClassExpression"].forEach(function(n){s(n).field("typeParameters",l,u.null).field("superTypeParameters",a(s("TypeParameterInstantiation"),s("TSTypeParameterInstantiation"),null),u.null).field("implements",a([s("ClassImplements")],[s("TSExpressionWithTypeArguments")]),u.emptyArray)})}Cf.default=e6;R_.exports=Cf.default});var fg=ct((Df,M_)=>{"use strict";Object.defineProperty(Df,"__esModule",{value:!0});var kf=(gi(),wi(bi)),t6=kf.__importDefault(Pf()),r6=kf.__importDefault(hg()),n6=kf.__importDefault(Ts()),i6=kf.__importDefault(ka());function s6(t){t.use(t6.default),t.use(r6.default);var r=t.use(n6.default),s=r.Type.def,a=r.Type.or,u=t.use(i6.default).defaults;s("Flow").bases("Node"),s("FlowType").bases("Flow"),s("AnyTypeAnnotation").bases("FlowType").build(),s("EmptyTypeAnnotation").bases("FlowType").build(),s("MixedTypeAnnotation").bases("FlowType").build(),s("VoidTypeAnnotation").bases("FlowType").build(),s("SymbolTypeAnnotation").bases("FlowType").build(),s("NumberTypeAnnotation").bases("FlowType").build(),s("BigIntTypeAnnotation").bases("FlowType").build(),s("NumberLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),s("NumericLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Number).field("raw",String),s("BigIntLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",null).field("raw",String),s("StringTypeAnnotation").bases("FlowType").build(),s("StringLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",String).field("raw",String),s("BooleanTypeAnnotation").bases("FlowType").build(),s("BooleanLiteralTypeAnnotation").bases("FlowType").build("value","raw").field("value",Boolean).field("raw",String),s("TypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",s("FlowType")),s("NullableTypeAnnotation").bases("FlowType").build("typeAnnotation").field("typeAnnotation",s("FlowType")),s("NullLiteralTypeAnnotation").bases("FlowType").build(),s("NullTypeAnnotation").bases("FlowType").build(),s("ThisTypeAnnotation").bases("FlowType").build(),s("ExistsTypeAnnotation").bases("FlowType").build(),s("ExistentialTypeParam").bases("FlowType").build(),s("FunctionTypeAnnotation").bases("FlowType").build("params","returnType","rest","typeParameters").field("params",[s("FunctionTypeParam")]).field("returnType",s("FlowType")).field("rest",a(s("FunctionTypeParam"),null)).field("typeParameters",a(s("TypeParameterDeclaration"),null)),s("FunctionTypeParam").bases("Node").build("name","typeAnnotation","optional").field("name",a(s("Identifier"),null)).field("typeAnnotation",s("FlowType")).field("optional",Boolean),s("ArrayTypeAnnotation").bases("FlowType").build("elementType").field("elementType",s("FlowType")),s("ObjectTypeAnnotation").bases("FlowType").build("properties","indexers","callProperties").field("properties",[a(s("ObjectTypeProperty"),s("ObjectTypeSpreadProperty"))]).field("indexers",[s("ObjectTypeIndexer")],u.emptyArray).field("callProperties",[s("ObjectTypeCallProperty")],u.emptyArray).field("inexact",a(Boolean,void 0),u.undefined).field("exact",Boolean,u.false).field("internalSlots",[s("ObjectTypeInternalSlot")],u.emptyArray),s("Variance").bases("Node").build("kind").field("kind",a("plus","minus"));var e=a(s("Variance"),"plus","minus",null);s("ObjectTypeProperty").bases("Node").build("key","value","optional").field("key",a(s("Literal"),s("Identifier"))).field("value",s("FlowType")).field("optional",Boolean).field("variance",e,u.null),s("ObjectTypeIndexer").bases("Node").build("id","key","value").field("id",s("Identifier")).field("key",s("FlowType")).field("value",s("FlowType")).field("variance",e,u.null).field("static",Boolean,u.false),s("ObjectTypeCallProperty").bases("Node").build("value").field("value",s("FunctionTypeAnnotation")).field("static",Boolean,u.false),s("QualifiedTypeIdentifier").bases("Node").build("qualification","id").field("qualification",a(s("Identifier"),s("QualifiedTypeIdentifier"))).field("id",s("Identifier")),s("GenericTypeAnnotation").bases("FlowType").build("id","typeParameters").field("id",a(s("Identifier"),s("QualifiedTypeIdentifier"))).field("typeParameters",a(s("TypeParameterInstantiation"),null)),s("MemberTypeAnnotation").bases("FlowType").build("object","property").field("object",s("Identifier")).field("property",a(s("MemberTypeAnnotation"),s("GenericTypeAnnotation"))),s("UnionTypeAnnotation").bases("FlowType").build("types").field("types",[s("FlowType")]),s("IntersectionTypeAnnotation").bases("FlowType").build("types").field("types",[s("FlowType")]),s("TypeofTypeAnnotation").bases("FlowType").build("argument").field("argument",s("FlowType")),s("ObjectTypeSpreadProperty").bases("Node").build("argument").field("argument",s("FlowType")),s("ObjectTypeInternalSlot").bases("Node").build("id","value","optional","static","method").field("id",s("Identifier")).field("value",s("FlowType")).field("optional",Boolean).field("static",Boolean).field("method",Boolean),s("TypeParameterDeclaration").bases("Node").build("params").field("params",[s("TypeParameter")]),s("TypeParameterInstantiation").bases("Node").build("params").field("params",[s("FlowType")]),s("TypeParameter").bases("FlowType").build("name","variance","bound","default").field("name",String).field("variance",e,u.null).field("bound",a(s("TypeAnnotation"),null),u.null).field("default",a(s("FlowType"),null),u.null),s("ClassProperty").field("variance",e,u.null),s("ClassImplements").bases("Node").build("id").field("id",s("Identifier")).field("superClass",a(s("Expression"),null),u.null).field("typeParameters",a(s("TypeParameterInstantiation"),null),u.null),s("InterfaceTypeAnnotation").bases("FlowType").build("body","extends").field("body",s("ObjectTypeAnnotation")).field("extends",a([s("InterfaceExtends")],null),u.null),s("InterfaceDeclaration").bases("Declaration").build("id","body","extends").field("id",s("Identifier")).field("typeParameters",a(s("TypeParameterDeclaration"),null),u.null).field("body",s("ObjectTypeAnnotation")).field("extends",[s("InterfaceExtends")]),s("DeclareInterface").bases("InterfaceDeclaration").build("id","body","extends"),s("InterfaceExtends").bases("Node").build("id").field("id",s("Identifier")).field("typeParameters",a(s("TypeParameterInstantiation"),null),u.null),s("TypeAlias").bases("Declaration").build("id","typeParameters","right").field("id",s("Identifier")).field("typeParameters",a(s("TypeParameterDeclaration"),null)).field("right",s("FlowType")),s("DeclareTypeAlias").bases("TypeAlias").build("id","typeParameters","right"),s("OpaqueType").bases("Declaration").build("id","typeParameters","impltype","supertype").field("id",s("Identifier")).field("typeParameters",a(s("TypeParameterDeclaration"),null)).field("impltype",s("FlowType")).field("supertype",a(s("FlowType"),null)),s("DeclareOpaqueType").bases("OpaqueType").build("id","typeParameters","supertype").field("impltype",a(s("FlowType"),null)),s("TypeCastExpression").bases("Expression").build("expression","typeAnnotation").field("expression",s("Expression")).field("typeAnnotation",s("TypeAnnotation")),s("TupleTypeAnnotation").bases("FlowType").build("types").field("types",[s("FlowType")]),s("DeclareVariable").bases("Statement").build("id").field("id",s("Identifier")),s("DeclareFunction").bases("Statement").build("id").field("id",s("Identifier")).field("predicate",a(s("FlowPredicate"),null),u.null),s("DeclareClass").bases("InterfaceDeclaration").build("id"),s("DeclareModule").bases("Statement").build("id","body").field("id",a(s("Identifier"),s("Literal"))).field("body",s("BlockStatement")),s("DeclareModuleExports").bases("Statement").build("typeAnnotation").field("typeAnnotation",s("TypeAnnotation")),s("DeclareExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",a(s("DeclareVariable"),s("DeclareFunction"),s("DeclareClass"),s("FlowType"),s("TypeAlias"),s("DeclareOpaqueType"),s("InterfaceDeclaration"),null)).field("specifiers",[a(s("ExportSpecifier"),s("ExportBatchSpecifier"))],u.emptyArray).field("source",a(s("Literal"),null),u.null),s("DeclareExportAllDeclaration").bases("Declaration").build("source").field("source",a(s("Literal"),null),u.null),s("ImportDeclaration").field("importKind",a("value","type","typeof"),function(){return"value"}),s("FlowPredicate").bases("Flow"),s("InferredPredicate").bases("FlowPredicate").build(),s("DeclaredPredicate").bases("FlowPredicate").build("value").field("value",s("Expression")),s("Function").field("predicate",a(s("FlowPredicate"),null),u.null),s("CallExpression").field("typeArguments",a(null,s("TypeParameterInstantiation")),u.null),s("NewExpression").field("typeArguments",a(null,s("TypeParameterInstantiation")),u.null),s("EnumDeclaration").bases("Declaration").build("id","body").field("id",s("Identifier")).field("body",a(s("EnumBooleanBody"),s("EnumNumberBody"),s("EnumStringBody"),s("EnumSymbolBody"))),s("EnumBooleanBody").build("members","explicitType").field("members",[s("EnumBooleanMember")]).field("explicitType",Boolean),s("EnumNumberBody").build("members","explicitType").field("members",[s("EnumNumberMember")]).field("explicitType",Boolean),s("EnumStringBody").build("members","explicitType").field("members",a([s("EnumStringMember")],[s("EnumDefaultedMember")])).field("explicitType",Boolean),s("EnumSymbolBody").build("members").field("members",[s("EnumDefaultedMember")]),s("EnumBooleanMember").build("id","init").field("id",s("Identifier")).field("init",a(s("Literal"),Boolean)),s("EnumNumberMember").build("id","init").field("id",s("Identifier")).field("init",s("Literal")),s("EnumStringMember").build("id","init").field("id",s("Identifier")).field("init",s("Literal")),s("EnumDefaultedMember").build("id").field("id",s("Identifier"))}Df.default=s6;M_.exports=Df.default});var U_=ct((If,B_)=>{"use strict";Object.defineProperty(If,"__esModule",{value:!0});var mg=(gi(),wi(bi)),a6=mg.__importDefault(Kp()),o6=mg.__importDefault(Ts()),l6=mg.__importDefault(ka());function u6(t){t.use(a6.default);var r=t.use(o6.default),s=t.use(l6.default).defaults,a=r.Type.def,u=r.Type.or;a("VariableDeclaration").field("declarations",[u(a("VariableDeclarator"),a("Identifier"))]),a("Property").field("value",u(a("Expression"),a("Pattern"))),a("ArrayPattern").field("elements",[u(a("Pattern"),a("SpreadElement"),null)]),a("ObjectPattern").field("properties",[u(a("Property"),a("PropertyPattern"),a("SpreadPropertyPattern"),a("SpreadProperty"))]),a("ExportSpecifier").bases("ModuleSpecifier").build("id","name"),a("ExportBatchSpecifier").bases("Specifier").build(),a("ExportDeclaration").bases("Declaration").build("default","declaration","specifiers","source").field("default",Boolean).field("declaration",u(a("Declaration"),a("Expression"),null)).field("specifiers",[u(a("ExportSpecifier"),a("ExportBatchSpecifier"))],s.emptyArray).field("source",u(a("Literal"),null),s.null),a("Block").bases("Comment").build("value","leading","trailing"),a("Line").bases("Comment").build("value","leading","trailing")}If.default=u6;B_.exports=If.default});var bg=ct((Of,$_)=>{"use strict";Object.defineProperty(Of,"__esModule",{value:!0});var yg=(gi(),wi(bi)),c6=yg.__importDefault(Pf()),p6=yg.__importDefault(Ts()),d6=yg.__importDefault(ka());function h6(t){t.use(c6.default);var r=t.use(p6.default),s=t.use(d6.default).defaults,a=r.Type.def,u=r.Type.or;a("Noop").bases("Statement").build(),a("DoExpression").bases("Expression").build("body").field("body",[a("Statement")]),a("BindExpression").bases("Expression").build("object","callee").field("object",u(a("Expression"),null)).field("callee",a("Expression")),a("ParenthesizedExpression").bases("Expression").build("expression").field("expression",a("Expression")),a("ExportNamespaceSpecifier").bases("Specifier").build("exported").field("exported",a("Identifier")),a("ExportDefaultSpecifier").bases("Specifier").build("exported").field("exported",a("Identifier")),a("CommentBlock").bases("Comment").build("value","leading","trailing"),a("CommentLine").bases("Comment").build("value","leading","trailing"),a("Directive").bases("Node").build("value").field("value",a("DirectiveLiteral")),a("DirectiveLiteral").bases("Node","Expression").build("value").field("value",String,s["use strict"]),a("InterpreterDirective").bases("Node").build("value").field("value",String),a("BlockStatement").bases("Statement").build("body").field("body",[a("Statement")]).field("directives",[a("Directive")],s.emptyArray),a("Program").bases("Node").build("body").field("body",[a("Statement")]).field("directives",[a("Directive")],s.emptyArray).field("interpreter",u(a("InterpreterDirective"),null),s.null),a("StringLiteral").bases("Literal").build("value").field("value",String),a("NumericLiteral").bases("Literal").build("value").field("value",Number).field("raw",u(String,null),s.null).field("extra",{rawValue:Number,raw:String},function(){return{rawValue:this.value,raw:this.value+""}}),a("BigIntLiteral").bases("Literal").build("value").field("value",u(String,Number)).field("extra",{rawValue:String,raw:String},function(){return{rawValue:String(this.value),raw:this.value+"n"}}),a("NullLiteral").bases("Literal").build().field("value",null,s.null),a("BooleanLiteral").bases("Literal").build("value").field("value",Boolean),a("RegExpLiteral").bases("Literal").build("pattern","flags").field("pattern",String).field("flags",String).field("value",RegExp,function(){return new RegExp(this.pattern,this.flags)});var e=u(a("Property"),a("ObjectMethod"),a("ObjectProperty"),a("SpreadProperty"),a("SpreadElement"));a("ObjectExpression").bases("Expression").build("properties").field("properties",[e]),a("ObjectMethod").bases("Node","Function").build("kind","key","params","body","computed").field("kind",u("method","get","set")).field("key",u(a("Literal"),a("Identifier"),a("Expression"))).field("params",[a("Pattern")]).field("body",a("BlockStatement")).field("computed",Boolean,s.false).field("generator",Boolean,s.false).field("async",Boolean,s.false).field("accessibility",u(a("Literal"),null),s.null).field("decorators",u([a("Decorator")],null),s.null),a("ObjectProperty").bases("Node").build("key","value").field("key",u(a("Literal"),a("Identifier"),a("Expression"))).field("value",u(a("Expression"),a("Pattern"))).field("accessibility",u(a("Literal"),null),s.null).field("computed",Boolean,s.false);var l=u(a("MethodDefinition"),a("VariableDeclarator"),a("ClassPropertyDefinition"),a("ClassProperty"),a("ClassPrivateProperty"),a("ClassMethod"),a("ClassPrivateMethod"));a("ClassBody").bases("Declaration").build("body").field("body",[l]),a("ClassMethod").bases("Declaration","Function").build("kind","key","params","body","computed","static").field("key",u(a("Literal"),a("Identifier"),a("Expression"))),a("ClassPrivateMethod").bases("Declaration","Function").build("key","params","body","kind","computed","static").field("key",a("PrivateName")),["ClassMethod","ClassPrivateMethod"].forEach(function(c){a(c).field("kind",u("get","set","method","constructor"),function(){return"method"}).field("body",a("BlockStatement")).field("computed",Boolean,s.false).field("static",u(Boolean,null),s.null).field("abstract",u(Boolean,null),s.null).field("access",u("public","private","protected",null),s.null).field("accessibility",u("public","private","protected",null),s.null).field("decorators",u([a("Decorator")],null),s.null).field("optional",u(Boolean,null),s.null)});var n=u(a("Property"),a("PropertyPattern"),a("SpreadPropertyPattern"),a("SpreadProperty"),a("ObjectProperty"),a("RestProperty"));a("ObjectPattern").bases("Pattern").build("properties").field("properties",[n]).field("decorators",u([a("Decorator")],null),s.null),a("SpreadProperty").bases("Node").build("argument").field("argument",a("Expression")),a("RestProperty").bases("Node").build("argument").field("argument",a("Expression")),a("ForAwaitStatement").bases("Statement").build("left","right","body").field("left",u(a("VariableDeclaration"),a("Expression"))).field("right",a("Expression")).field("body",a("Statement")),a("Import").bases("Expression").build()}Of.default=h6;$_.exports=Of.default});var W_=ct((Nf,q_)=>{"use strict";Object.defineProperty(Nf,"__esModule",{value:!0});var V_=(gi(),wi(bi)),f6=V_.__importDefault(bg()),m6=V_.__importDefault(fg());function y6(t){t.use(f6.default),t.use(m6.default)}Nf.default=y6;q_.exports=Nf.default});var z_=ct((jf,K_)=>{"use strict";Object.defineProperty(jf,"__esModule",{value:!0});var Ff=(gi(),wi(bi)),b6=Ff.__importDefault(bg()),g6=Ff.__importDefault(hg()),v6=Ff.__importDefault(Ts()),x6=Ff.__importDefault(ka());function T6(t){t.use(b6.default),t.use(g6.default);var r=t.use(v6.default),s=r.namedTypes,a=r.Type.def,u=r.Type.or,e=t.use(x6.default).defaults,l=r.Type.from(function(i,o){return!!(s.StringLiteral&&s.StringLiteral.check(i,o)||s.Literal&&s.Literal.check(i,o)&&typeof i.value=="string")},"StringLiteral");a("TSType").bases("Node");var n=u(a("Identifier"),a("TSQualifiedName"));a("TSTypeReference").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("typeName","typeParameters").field("typeName",n),a("TSHasOptionalTypeParameterInstantiation").field("typeParameters",u(a("TSTypeParameterInstantiation"),null),e.null),a("TSHasOptionalTypeParameters").field("typeParameters",u(a("TSTypeParameterDeclaration"),null,void 0),e.null),a("TSHasOptionalTypeAnnotation").field("typeAnnotation",u(a("TSTypeAnnotation"),null),e.null),a("TSQualifiedName").bases("Node").build("left","right").field("left",n).field("right",n),a("TSAsExpression").bases("Expression","Pattern").build("expression","typeAnnotation").field("expression",a("Expression")).field("typeAnnotation",a("TSType")).field("extra",u({parenthesized:Boolean},null),e.null),a("TSNonNullExpression").bases("Expression","Pattern").build("expression").field("expression",a("Expression")),["TSAnyKeyword","TSBigIntKeyword","TSBooleanKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword","TSThisType"].forEach(function(i){a(i).bases("TSType").build()}),a("TSArrayType").bases("TSType").build("elementType").field("elementType",a("TSType")),a("TSLiteralType").bases("TSType").build("literal").field("literal",u(a("NumericLiteral"),a("StringLiteral"),a("BooleanLiteral"),a("TemplateLiteral"),a("UnaryExpression"))),["TSUnionType","TSIntersectionType"].forEach(function(i){a(i).bases("TSType").build("types").field("types",[a("TSType")])}),a("TSConditionalType").bases("TSType").build("checkType","extendsType","trueType","falseType").field("checkType",a("TSType")).field("extendsType",a("TSType")).field("trueType",a("TSType")).field("falseType",a("TSType")),a("TSInferType").bases("TSType").build("typeParameter").field("typeParameter",a("TSTypeParameter")),a("TSParenthesizedType").bases("TSType").build("typeAnnotation").field("typeAnnotation",a("TSType"));var c=[u(a("Identifier"),a("RestElement"),a("ArrayPattern"),a("ObjectPattern"))];["TSFunctionType","TSConstructorType"].forEach(function(i){a(i).bases("TSType","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters").field("parameters",c)}),a("TSDeclareFunction").bases("Declaration","TSHasOptionalTypeParameters").build("id","params","returnType").field("declare",Boolean,e.false).field("async",Boolean,e.false).field("generator",Boolean,e.false).field("id",u(a("Identifier"),null),e.null).field("params",[a("Pattern")]).field("returnType",u(a("TSTypeAnnotation"),a("Noop"),null),e.null),a("TSDeclareMethod").bases("Declaration","TSHasOptionalTypeParameters").build("key","params","returnType").field("async",Boolean,e.false).field("generator",Boolean,e.false).field("params",[a("Pattern")]).field("abstract",Boolean,e.false).field("accessibility",u("public","private","protected",void 0),e.undefined).field("static",Boolean,e.false).field("computed",Boolean,e.false).field("optional",Boolean,e.false).field("key",u(a("Identifier"),a("StringLiteral"),a("NumericLiteral"),a("Expression"))).field("kind",u("get","set","method","constructor"),function(){return"method"}).field("access",u("public","private","protected",void 0),e.undefined).field("decorators",u([a("Decorator")],null),e.null).field("returnType",u(a("TSTypeAnnotation"),a("Noop"),null),e.null),a("TSMappedType").bases("TSType").build("typeParameter","typeAnnotation").field("readonly",u(Boolean,"+","-"),e.false).field("typeParameter",a("TSTypeParameter")).field("optional",u(Boolean,"+","-"),e.false).field("typeAnnotation",u(a("TSType"),null),e.null),a("TSTupleType").bases("TSType").build("elementTypes").field("elementTypes",[u(a("TSType"),a("TSNamedTupleMember"))]),a("TSNamedTupleMember").bases("TSType").build("label","elementType","optional").field("label",a("Identifier")).field("optional",Boolean,e.false).field("elementType",a("TSType")),a("TSRestType").bases("TSType").build("typeAnnotation").field("typeAnnotation",a("TSType")),a("TSOptionalType").bases("TSType").build("typeAnnotation").field("typeAnnotation",a("TSType")),a("TSIndexedAccessType").bases("TSType").build("objectType","indexType").field("objectType",a("TSType")).field("indexType",a("TSType")),a("TSTypeOperator").bases("TSType").build("operator").field("operator",String).field("typeAnnotation",a("TSType")),a("TSTypeAnnotation").bases("Node").build("typeAnnotation").field("typeAnnotation",u(a("TSType"),a("TSTypeAnnotation"))),a("TSIndexSignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",[a("Identifier")]).field("readonly",Boolean,e.false),a("TSPropertySignature").bases("Declaration","TSHasOptionalTypeAnnotation").build("key","typeAnnotation","optional").field("key",a("Expression")).field("computed",Boolean,e.false).field("readonly",Boolean,e.false).field("optional",Boolean,e.false).field("initializer",u(a("Expression"),null),e.null),a("TSMethodSignature").bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("key","parameters","typeAnnotation").field("key",a("Expression")).field("computed",Boolean,e.false).field("optional",Boolean,e.false).field("parameters",c),a("TSTypePredicate").bases("TSTypeAnnotation","TSType").build("parameterName","typeAnnotation","asserts").field("parameterName",u(a("Identifier"),a("TSThisType"))).field("typeAnnotation",u(a("TSTypeAnnotation"),null),e.null).field("asserts",Boolean,e.false),["TSCallSignatureDeclaration","TSConstructSignatureDeclaration"].forEach(function(i){a(i).bases("Declaration","TSHasOptionalTypeParameters","TSHasOptionalTypeAnnotation").build("parameters","typeAnnotation").field("parameters",c)}),a("TSEnumMember").bases("Node").build("id","initializer").field("id",u(a("Identifier"),l)).field("initializer",u(a("Expression"),null),e.null),a("TSTypeQuery").bases("TSType").build("exprName").field("exprName",u(n,a("TSImportType")));var p=u(a("TSCallSignatureDeclaration"),a("TSConstructSignatureDeclaration"),a("TSIndexSignature"),a("TSMethodSignature"),a("TSPropertySignature"));a("TSTypeLiteral").bases("TSType").build("members").field("members",[p]),a("TSTypeParameter").bases("Identifier").build("name","constraint","default").field("name",String).field("constraint",u(a("TSType"),void 0),e.undefined).field("default",u(a("TSType"),void 0),e.undefined),a("TSTypeAssertion").bases("Expression","Pattern").build("typeAnnotation","expression").field("typeAnnotation",a("TSType")).field("expression",a("Expression")).field("extra",u({parenthesized:Boolean},null),e.null),a("TSTypeParameterDeclaration").bases("Declaration").build("params").field("params",[a("TSTypeParameter")]),a("TSTypeParameterInstantiation").bases("Node").build("params").field("params",[a("TSType")]),a("TSEnumDeclaration").bases("Declaration").build("id","members").field("id",a("Identifier")).field("const",Boolean,e.false).field("declare",Boolean,e.false).field("members",[a("TSEnumMember")]).field("initializer",u(a("Expression"),null),e.null),a("TSTypeAliasDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","typeAnnotation").field("id",a("Identifier")).field("declare",Boolean,e.false).field("typeAnnotation",a("TSType")),a("TSModuleBlock").bases("Node").build("body").field("body",[a("Statement")]),a("TSModuleDeclaration").bases("Declaration").build("id","body").field("id",u(l,n)).field("declare",Boolean,e.false).field("global",Boolean,e.false).field("body",u(a("TSModuleBlock"),a("TSModuleDeclaration"),null),e.null),a("TSImportType").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("argument","qualifier","typeParameters").field("argument",l).field("qualifier",u(n,void 0),e.undefined),a("TSImportEqualsDeclaration").bases("Declaration").build("id","moduleReference").field("id",a("Identifier")).field("isExport",Boolean,e.false).field("moduleReference",u(n,a("TSExternalModuleReference"))),a("TSExternalModuleReference").bases("Declaration").build("expression").field("expression",l),a("TSExportAssignment").bases("Statement").build("expression").field("expression",a("Expression")),a("TSNamespaceExportDeclaration").bases("Declaration").build("id").field("id",a("Identifier")),a("TSInterfaceBody").bases("Node").build("body").field("body",[p]),a("TSExpressionWithTypeArguments").bases("TSType","TSHasOptionalTypeParameterInstantiation").build("expression","typeParameters").field("expression",n),a("TSInterfaceDeclaration").bases("Declaration","TSHasOptionalTypeParameters").build("id","body").field("id",n).field("declare",Boolean,e.false).field("extends",u([a("TSExpressionWithTypeArguments")],null),e.null).field("body",a("TSInterfaceBody")),a("TSParameterProperty").bases("Pattern").build("parameter").field("accessibility",u("public","private","protected",void 0),e.undefined).field("readonly",Boolean,e.false).field("parameter",u(a("Identifier"),a("AssignmentPattern"))),a("ClassProperty").field("access",u("public","private","protected",void 0),e.undefined),a("ClassBody").field("body",[u(a("MethodDefinition"),a("VariableDeclarator"),a("ClassPropertyDefinition"),a("ClassProperty"),a("ClassPrivateProperty"),a("ClassMethod"),a("ClassPrivateMethod"),a("TSDeclareMethod"),p)])}jf.default=T6;K_.exports=jf.default});var H_=ct(zp=>{"use strict";Object.defineProperty(zp,"__esModule",{value:!0});zp.namedTypes=void 0;var E6;E6=zp.namedTypes||(zp.namedTypes={})});var Uo=ct(ii=>{"use strict";Object.defineProperty(ii,"__esModule",{value:!0});ii.visit=ii.use=ii.Type=ii.someField=ii.PathVisitor=ii.Path=ii.NodePath=ii.namedTypes=ii.getSupertypeNames=ii.getFieldValue=ii.getFieldNames=ii.getBuilderName=ii.finalize=ii.eachField=ii.defineMethod=ii.builtInTypes=ii.builders=ii.astNodesAreEquivalent=void 0;var Da=(gi(),wi(bi)),S6=Da.__importDefault(E_()),w6=Da.__importDefault(tg()),_6=Da.__importDefault(ng()),A6=Da.__importDefault(ig()),P6=Da.__importDefault(ag()),C6=Da.__importDefault(lg()),k6=Da.__importDefault(cg()),D6=Da.__importDefault(Kp()),I6=Da.__importDefault(F_()),O6=Da.__importDefault(fg()),N6=Da.__importDefault(U_()),F6=Da.__importDefault(W_()),j6=Da.__importDefault(z_()),L6=Da.__importDefault(Pf()),G_=H_();Object.defineProperty(ii,"namedTypes",{enumerable:!0,get:function(){return G_.namedTypes}});var Ks=S6.default([w6.default,_6.default,A6.default,P6.default,C6.default,k6.default,D6.default,I6.default,O6.default,N6.default,F6.default,j6.default,L6.default]),R6=Ks.astNodesAreEquivalent,M6=Ks.builders,B6=Ks.builtInTypes,U6=Ks.defineMethod,$6=Ks.eachField,V6=Ks.finalize,q6=Ks.getBuilderName,W6=Ks.getFieldNames,K6=Ks.getFieldValue,z6=Ks.getSupertypeNames,H6=Ks.namedTypes,G6=Ks.NodePath,J6=Ks.Path,X6=Ks.PathVisitor,Y6=Ks.someField,Q6=Ks.Type,Z6=Ks.use,e7=Ks.visit;ii.astNodesAreEquivalent=R6;ii.builders=M6;ii.builtInTypes=B6;ii.defineMethod=U6;ii.eachField=$6;ii.finalize=V6;ii.getBuilderName=q6;ii.getFieldNames=W6;ii.getFieldValue=K6;ii.getSupertypeNames=z6;ii.NodePath=G6;ii.Path=J6;ii.PathVisitor=X6;ii.someField=Y6;ii.Type=Q6;ii.use=Z6;ii.visit=e7;Object.assign(G_.namedTypes,H6)});var Q_=ct((sle,Y_)=>{"use strict";var J_={},t7=J_.hasOwnProperty,X_=(t,r)=>{for(let s in t)t7.call(t,s)&&r(s,t[s])},r7=(t,r)=>(r&&X_(r,(s,a)=>{t[s]=a}),t),n7=(t,r)=>{let s=t.length,a=-1;for(;++a<s;)r(t[a])},Lf=t=>"\\u"+("0000"+t).slice(-4),Hp=(t,r)=>{let s=t.toString(16);return r?s:s.toUpperCase()},Gp=J_.toString,i7=Array.isArray,s7=t=>typeof Buffer=="function"&&Buffer.isBuffer(t),a7=t=>Gp.call(t)=="[object Object]",o7=t=>typeof t=="string"||Gp.call(t)=="[object String]",l7=t=>typeof t=="number"||Gp.call(t)=="[object Number]",gg=t=>typeof t=="bigint",u7=t=>typeof t=="function",c7=t=>Gp.call(t)=="[object Map]",p7=t=>Gp.call(t)=="[object Set]",d7={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},h7=/[\\\b\f\n\r\t]/,f7=/[0-9]/,m7=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,y7=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,b7=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,Ul=(t,r)=>{let s=()=>{p=c,++r.indentLevel,c=r.indent.repeat(r.indentLevel)},a={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},u=r&&r.json;u&&(a.quotes="double",a.wrap=!0),r=r7(a,r),r.quotes!="single"&&r.quotes!="double"&&r.quotes!="backtick"&&(r.quotes="single");let e=r.quotes=="double"?'"':r.quotes=="backtick"?"`":"'",l=r.compact,n=r.lowercaseHex,c=r.indent.repeat(r.indentLevel),p="",i=r.__inline1__,o=r.__inline2__,h=l?"":`
|
|
`,d,f=!0,b=r.numbers=="binary",m=r.numbers=="octal",y=r.numbers=="decimal",x=r.numbers=="hexadecimal";if(u&&t&&u7(t.toJSON)&&(t=t.toJSON()),!o7(t)){if(c7(t))return t.size==0?"new Map()":(l||(r.__inline1__=!0,r.__inline2__=!1),"new Map("+Ul(Array.from(t),r)+")");if(p7(t))return t.size==0?"new Set()":"new Set("+Ul(Array.from(t),r)+")";if(s7(t))return t.length==0?"Buffer.from([])":"Buffer.from("+Ul(Array.from(t),r)+")";if(i7(t))return d=[],r.wrap=!0,i&&(r.__inline1__=!1,r.__inline2__=!0),o||s(),n7(t,E=>{f=!1,o&&(r.__inline2__=!1),d.push((l||o?"":c)+Ul(E,r))}),f?"[]":o?"["+d.join(", ")+"]":"["+h+d.join(","+h)+h+(l?"":p)+"]";if(l7(t)||gg(t)){if(u)return JSON.stringify(Number(t));let E;if(y)E=String(t);else if(x){let S=t.toString(16);n||(S=S.toUpperCase()),E="0x"+S}else b?E="0b"+t.toString(2):m&&(E="0o"+t.toString(8));return gg(t)?E+"n":E}else return gg(t)?u?JSON.stringify(Number(t)):t+"n":a7(t)?(d=[],r.wrap=!0,s(),X_(t,(E,S)=>{f=!1,d.push((l?"":c)+Ul(E,r)+":"+(l?"":" ")+Ul(S,r))}),f?"{}":"{"+h+d.join(","+h)+h+(l?"":p)+"}"):u?JSON.stringify(t)||"null":String(t)}let v=r.escapeEverything?y7:b7;return d=t.replace(v,(E,S,_,A,L,j)=>{if(S){if(r.minimal)return S;let k=S.charCodeAt(0),U=S.charCodeAt(1);if(r.es6){let z=(k-55296)*1024+U-56320+65536;return"\\u{"+Hp(z,n)+"}"}return Lf(Hp(k,n))+Lf(Hp(U,n))}if(_)return Lf(Hp(_.charCodeAt(0),n));if(E=="\0"&&!u&&!f7.test(j.charAt(L+1)))return"\\0";if(A)return A==e||r.escapeEverything?"\\"+A:A;if(h7.test(E))return d7[E];if(r.minimal&&!m7.test(E))return E;let F=Hp(E.charCodeAt(0),n);return u||F.length>2?Lf(F):"\\x"+("00"+F).slice(-2)}),e=="`"&&(d=d.replace(/\$\{/g,"\\${")),r.isScriptContext&&(d=d.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,u?"\\u003C!--":"\\x3C!--")),r.wrap&&(d=e+d+e),d};Ul.version="3.0.2";Y_.exports=Ul});var vg=ct((ale,Z_)=>{var g7={}.toString;Z_.exports=Array.isArray||function(t){return g7.call(t)=="[object Array]"}});var tA=ct((ole,eA)=>{"use strict";var v7=vg();eA.exports=function(r){return r!=null&&typeof r=="object"&&v7(r)===!1}});var nA=ct((ule,rA)=>{"use strict";var x7=vg(),T7=tA(),lle=Array.prototype.slice;rA.exports=xc;function xc(t,r){if(!(this instanceof xc))return typeof r=="number"?new xc(t).fromIndex(r):new xc(t,r);this.str=t||"",this.lineToIndex=E7(this.str),r=r||{},this.origin=typeof r.origin>"u"?1:r.origin}xc.prototype.fromIndex=function(t){if(t<0||t>=this.str.length||isNaN(t))return null;var r=S7(t,this.lineToIndex);return{line:r+this.origin,col:t-this.lineToIndex[r]+this.origin}};xc.prototype.toIndex=function(t,r){if(typeof r>"u")return x7(t)&&t.length>=2?this.toIndex(t[0],t[1]):T7(t)&&"line"in t&&("col"in t||"column"in t)?this.toIndex(t.line,"col"in t?t.col:t.column):-1;if(isNaN(t)||isNaN(r))return-1;if(t-=this.origin,r-=this.origin,t>=0&&r>=0&&t<this.lineToIndex.length){var s=this.lineToIndex[t],a=t===this.lineToIndex.length-1?this.str.length:this.lineToIndex[t+1];if(r<a-s)return s+r}return-1};function E7(t){for(var r=t.split(`
|
|
`),s=new Array(r.length),a=0,u=0,e=r.length;u<e;u++)s[u]=a,a+=r[u].length+1;return s}function S7(t,r){if(t>=r[r.length-1])return r.length-1;for(var s=0,a=r.length-2,u;s<a;)if(u=s+(a-s>>1),t<r[u])a=u-1;else if(t>=r[u+1])s=u+1;else{s=u;break}return s}});var sA=ct(xg=>{var iA="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");xg.encode=function(t){if(0<=t&&t<iA.length)return iA[t];throw new TypeError("Must be between 0 and 63: "+t)};xg.decode=function(t){var r=65,s=90,a=97,u=122,e=48,l=57,n=43,c=47,p=26,i=52;return r<=t&&t<=s?t-r:a<=t&&t<=u?t-a+p:e<=t&&t<=l?t-e+i:t==n?62:t==c?63:-1}});var Sg=ct(Eg=>{var aA=sA(),Tg=5,oA=1<<Tg,lA=oA-1,uA=oA;function w7(t){return t<0?(-t<<1)+1:(t<<1)+0}function _7(t){var r=(t&1)===1,s=t>>1;return r?-s:s}Eg.encode=function(r){var s="",a,u=w7(r);do a=u&lA,u>>>=Tg,u>0&&(a|=uA),s+=aA.encode(a);while(u>0);return s};Eg.decode=function(r,s,a){var u=r.length,e=0,l=0,n,c;do{if(s>=u)throw new Error("Expected more digits in base 64 VLQ value.");if(c=aA.decode(r.charCodeAt(s++)),c===-1)throw new Error("Invalid base64 digit: "+r.charAt(s-1));n=!!(c&uA),c&=lA,e=e+(c<<l),l+=Tg}while(n);a.value=_7(e),a.rest=s}});var Sc=ct(ha=>{function A7(t,r,s){if(r in t)return t[r];if(arguments.length===3)return s;throw new Error('"'+r+'" is a required argument.')}ha.getArg=A7;var cA=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,P7=/^data:.+\,.+$/;function Jp(t){var r=t.match(cA);return r?{scheme:r[1],auth:r[2],host:r[3],port:r[4],path:r[5]}:null}ha.urlParse=Jp;function Tc(t){var r="";return t.scheme&&(r+=t.scheme+":"),r+="//",t.auth&&(r+=t.auth+"@"),t.host&&(r+=t.host),t.port&&(r+=":"+t.port),t.path&&(r+=t.path),r}ha.urlGenerate=Tc;function wg(t){var r=t,s=Jp(t);if(s){if(!s.path)return t;r=s.path}for(var a=ha.isAbsolute(r),u=r.split(/\/+/),e,l=0,n=u.length-1;n>=0;n--)e=u[n],e==="."?u.splice(n,1):e===".."?l++:l>0&&(e===""?(u.splice(n+1,l),l=0):(u.splice(n,2),l--));return r=u.join("/"),r===""&&(r=a?"/":"."),s?(s.path=r,Tc(s)):r}ha.normalize=wg;function pA(t,r){t===""&&(t="."),r===""&&(r=".");var s=Jp(r),a=Jp(t);if(a&&(t=a.path||"/"),s&&!s.scheme)return a&&(s.scheme=a.scheme),Tc(s);if(s||r.match(P7))return r;if(a&&!a.host&&!a.path)return a.host=r,Tc(a);var u=r.charAt(0)==="/"?r:wg(t.replace(/\/+$/,"")+"/"+r);return a?(a.path=u,Tc(a)):u}ha.join=pA;ha.isAbsolute=function(t){return t.charAt(0)==="/"||cA.test(t)};function C7(t,r){t===""&&(t="."),t=t.replace(/\/$/,"");for(var s=0;r.indexOf(t+"/")!==0;){var a=t.lastIndexOf("/");if(a<0||(t=t.slice(0,a),t.match(/^([^\/]+:\/)?\/*$/)))return r;++s}return Array(s+1).join("../")+r.substr(t.length+1)}ha.relative=C7;var dA=(function(){var t=Object.create(null);return!("__proto__"in t)})();function hA(t){return t}function k7(t){return fA(t)?"$"+t:t}ha.toSetString=dA?hA:k7;function D7(t){return fA(t)?t.slice(1):t}ha.fromSetString=dA?hA:D7;function fA(t){if(!t)return!1;var r=t.length;if(r<9||t.charCodeAt(r-1)!==95||t.charCodeAt(r-2)!==95||t.charCodeAt(r-3)!==111||t.charCodeAt(r-4)!==116||t.charCodeAt(r-5)!==111||t.charCodeAt(r-6)!==114||t.charCodeAt(r-7)!==112||t.charCodeAt(r-8)!==95||t.charCodeAt(r-9)!==95)return!1;for(var s=r-10;s>=0;s--)if(t.charCodeAt(s)!==36)return!1;return!0}function I7(t,r,s){var a=Ec(t.source,r.source);return a!==0||(a=t.originalLine-r.originalLine,a!==0)||(a=t.originalColumn-r.originalColumn,a!==0||s)||(a=t.generatedColumn-r.generatedColumn,a!==0)||(a=t.generatedLine-r.generatedLine,a!==0)?a:Ec(t.name,r.name)}ha.compareByOriginalPositions=I7;function O7(t,r,s){var a=t.generatedLine-r.generatedLine;return a!==0||(a=t.generatedColumn-r.generatedColumn,a!==0||s)||(a=Ec(t.source,r.source),a!==0)||(a=t.originalLine-r.originalLine,a!==0)||(a=t.originalColumn-r.originalColumn,a!==0)?a:Ec(t.name,r.name)}ha.compareByGeneratedPositionsDeflated=O7;function Ec(t,r){return t===r?0:t===null?1:r===null?-1:t>r?1:-1}function N7(t,r){var s=t.generatedLine-r.generatedLine;return s!==0||(s=t.generatedColumn-r.generatedColumn,s!==0)||(s=Ec(t.source,r.source),s!==0)||(s=t.originalLine-r.originalLine,s!==0)||(s=t.originalColumn-r.originalColumn,s!==0)?s:Ec(t.name,r.name)}ha.compareByGeneratedPositionsInflated=N7;function F7(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}ha.parseSourceMapInput=F7;function j7(t,r,s){if(r=r||"",t&&(t[t.length-1]!=="/"&&r[0]!=="/"&&(t+="/"),r=t+r),s){var a=Jp(s);if(!a)throw new Error("sourceMapURL could not be parsed");if(a.path){var u=a.path.lastIndexOf("/");u>=0&&(a.path=a.path.substring(0,u+1))}r=pA(Tc(a),r)}return wg(r)}ha.computeSourceURL=j7});var Pg=ct(mA=>{var _g=Sc(),Ag=Object.prototype.hasOwnProperty,Su=typeof Map<"u";function yl(){this._array=[],this._set=Su?new Map:Object.create(null)}yl.fromArray=function(r,s){for(var a=new yl,u=0,e=r.length;u<e;u++)a.add(r[u],s);return a};yl.prototype.size=function(){return Su?this._set.size:Object.getOwnPropertyNames(this._set).length};yl.prototype.add=function(r,s){var a=Su?r:_g.toSetString(r),u=Su?this.has(r):Ag.call(this._set,a),e=this._array.length;(!u||s)&&this._array.push(r),u||(Su?this._set.set(r,e):this._set[a]=e)};yl.prototype.has=function(r){if(Su)return this._set.has(r);var s=_g.toSetString(r);return Ag.call(this._set,s)};yl.prototype.indexOf=function(r){if(Su){var s=this._set.get(r);if(s>=0)return s}else{var a=_g.toSetString(r);if(Ag.call(this._set,a))return this._set[a]}throw new Error('"'+r+'" is not in the set.')};yl.prototype.at=function(r){if(r>=0&&r<this._array.length)return this._array[r];throw new Error("No element indexed by "+r)};yl.prototype.toArray=function(){return this._array.slice()};mA.ArraySet=yl});var gA=ct(bA=>{var yA=Sc();function L7(t,r){var s=t.generatedLine,a=r.generatedLine,u=t.generatedColumn,e=r.generatedColumn;return a>s||a==s&&e>=u||yA.compareByGeneratedPositionsInflated(t,r)<=0}function Rf(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Rf.prototype.unsortedForEach=function(r,s){this._array.forEach(r,s)};Rf.prototype.add=function(r){L7(this._last,r)?(this._last=r,this._array.push(r)):(this._sorted=!1,this._array.push(r))};Rf.prototype.toArray=function(){return this._sorted||(this._array.sort(yA.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};bA.MappingList=Rf});var Cg=ct(vA=>{var Xp=Sg(),Rs=Sc(),Mf=Pg().ArraySet,R7=gA().MappingList;function Qa(t){t||(t={}),this._file=Rs.getArg(t,"file",null),this._sourceRoot=Rs.getArg(t,"sourceRoot",null),this._skipValidation=Rs.getArg(t,"skipValidation",!1),this._sources=new Mf,this._names=new Mf,this._mappings=new R7,this._sourcesContents=null}Qa.prototype._version=3;Qa.fromSourceMap=function(r){var s=r.sourceRoot,a=new Qa({file:r.file,sourceRoot:s});return r.eachMapping(function(u){var e={generated:{line:u.generatedLine,column:u.generatedColumn}};u.source!=null&&(e.source=u.source,s!=null&&(e.source=Rs.relative(s,e.source)),e.original={line:u.originalLine,column:u.originalColumn},u.name!=null&&(e.name=u.name)),a.addMapping(e)}),r.sources.forEach(function(u){var e=u;s!==null&&(e=Rs.relative(s,u)),a._sources.has(e)||a._sources.add(e);var l=r.sourceContentFor(u);l!=null&&a.setSourceContent(u,l)}),a};Qa.prototype.addMapping=function(r){var s=Rs.getArg(r,"generated"),a=Rs.getArg(r,"original",null),u=Rs.getArg(r,"source",null),e=Rs.getArg(r,"name",null);this._skipValidation||this._validateMapping(s,a,u,e),u!=null&&(u=String(u),this._sources.has(u)||this._sources.add(u)),e!=null&&(e=String(e),this._names.has(e)||this._names.add(e)),this._mappings.add({generatedLine:s.line,generatedColumn:s.column,originalLine:a!=null&&a.line,originalColumn:a!=null&&a.column,source:u,name:e})};Qa.prototype.setSourceContent=function(r,s){var a=r;this._sourceRoot!=null&&(a=Rs.relative(this._sourceRoot,a)),s!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Rs.toSetString(a)]=s):this._sourcesContents&&(delete this._sourcesContents[Rs.toSetString(a)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Qa.prototype.applySourceMap=function(r,s,a){var u=s;if(s==null){if(r.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);u=r.file}var e=this._sourceRoot;e!=null&&(u=Rs.relative(e,u));var l=new Mf,n=new Mf;this._mappings.unsortedForEach(function(c){if(c.source===u&&c.originalLine!=null){var p=r.originalPositionFor({line:c.originalLine,column:c.originalColumn});p.source!=null&&(c.source=p.source,a!=null&&(c.source=Rs.join(a,c.source)),e!=null&&(c.source=Rs.relative(e,c.source)),c.originalLine=p.line,c.originalColumn=p.column,p.name!=null&&(c.name=p.name))}var i=c.source;i!=null&&!l.has(i)&&l.add(i);var o=c.name;o!=null&&!n.has(o)&&n.add(o)},this),this._sources=l,this._names=n,r.sources.forEach(function(c){var p=r.sourceContentFor(c);p!=null&&(a!=null&&(c=Rs.join(a,c)),e!=null&&(c=Rs.relative(e,c)),this.setSourceContent(c,p))},this)};Qa.prototype._validateMapping=function(r,s,a,u){if(s&&typeof s.line!="number"&&typeof s.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(!(r&&"line"in r&&"column"in r&&r.line>0&&r.column>=0&&!s&&!a&&!u)){if(r&&"line"in r&&"column"in r&&s&&"line"in s&&"column"in s&&r.line>0&&r.column>=0&&s.line>0&&s.column>=0&&a)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:r,source:a,original:s,name:u}))}};Qa.prototype._serializeMappings=function(){for(var r=0,s=1,a=0,u=0,e=0,l=0,n="",c,p,i,o,h=this._mappings.toArray(),d=0,f=h.length;d<f;d++){if(p=h[d],c="",p.generatedLine!==s)for(r=0;p.generatedLine!==s;)c+=";",s++;else if(d>0){if(!Rs.compareByGeneratedPositionsInflated(p,h[d-1]))continue;c+=","}c+=Xp.encode(p.generatedColumn-r),r=p.generatedColumn,p.source!=null&&(o=this._sources.indexOf(p.source),c+=Xp.encode(o-l),l=o,c+=Xp.encode(p.originalLine-1-u),u=p.originalLine-1,c+=Xp.encode(p.originalColumn-a),a=p.originalColumn,p.name!=null&&(i=this._names.indexOf(p.name),c+=Xp.encode(i-e),e=i)),n+=c}return n};Qa.prototype._generateSourcesContent=function(r,s){return r.map(function(a){if(!this._sourcesContents)return null;s!=null&&(a=Rs.relative(s,a));var u=Rs.toSetString(a);return Object.prototype.hasOwnProperty.call(this._sourcesContents,u)?this._sourcesContents[u]:null},this)};Qa.prototype.toJSON=function(){var r={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(r.file=this._file),this._sourceRoot!=null&&(r.sourceRoot=this._sourceRoot),this._sourcesContents&&(r.sourcesContent=this._generateSourcesContent(r.sources,r.sourceRoot)),r};Qa.prototype.toString=function(){return JSON.stringify(this.toJSON())};vA.SourceMapGenerator=Qa});var xA=ct(wu=>{wu.GREATEST_LOWER_BOUND=1;wu.LEAST_UPPER_BOUND=2;function kg(t,r,s,a,u,e){var l=Math.floor((r-t)/2)+t,n=u(s,a[l],!0);return n===0?l:n>0?r-l>1?kg(l,r,s,a,u,e):e==wu.LEAST_UPPER_BOUND?r<a.length?r:-1:l:l-t>1?kg(t,l,s,a,u,e):e==wu.LEAST_UPPER_BOUND?l:t<0?-1:t}wu.search=function(r,s,a,u){if(s.length===0)return-1;var e=kg(-1,s.length,r,s,a,u||wu.GREATEST_LOWER_BOUND);if(e<0)return-1;for(;e-1>=0&&a(s[e],s[e-1],!0)===0;)--e;return e}});var EA=ct(TA=>{function Dg(t,r,s){var a=t[r];t[r]=t[s],t[s]=a}function M7(t,r){return Math.round(t+Math.random()*(r-t))}function Ig(t,r,s,a){if(s<a){var u=M7(s,a),e=s-1;Dg(t,u,a);for(var l=t[a],n=s;n<a;n++)r(t[n],l)<=0&&(e+=1,Dg(t,e,n));Dg(t,e+1,n);var c=e+1;Ig(t,r,s,c-1),Ig(t,r,c+1,a)}}TA.quickSort=function(t,r){Ig(t,r,0,t.length-1)}});var wA=ct(Bf=>{var yn=Sc(),Og=xA(),wc=Pg().ArraySet,B7=Sg(),Yp=EA().quickSort;function ls(t,r){var s=t;return typeof t=="string"&&(s=yn.parseSourceMapInput(t)),s.sections!=null?new bo(s,r):new ea(s,r)}ls.fromSourceMap=function(t,r){return ea.fromSourceMap(t,r)};ls.prototype._version=3;ls.prototype.__generatedMappings=null;Object.defineProperty(ls.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});ls.prototype.__originalMappings=null;Object.defineProperty(ls.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});ls.prototype._charIsMappingSeparator=function(r,s){var a=r.charAt(s);return a===";"||a===","};ls.prototype._parseMappings=function(r,s){throw new Error("Subclasses must implement _parseMappings")};ls.GENERATED_ORDER=1;ls.ORIGINAL_ORDER=2;ls.GREATEST_LOWER_BOUND=1;ls.LEAST_UPPER_BOUND=2;ls.prototype.eachMapping=function(r,s,a){var u=s||null,e=a||ls.GENERATED_ORDER,l;switch(e){case ls.GENERATED_ORDER:l=this._generatedMappings;break;case ls.ORIGINAL_ORDER:l=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var n=this.sourceRoot;l.map(function(c){var p=c.source===null?null:this._sources.at(c.source);return p=yn.computeSourceURL(n,p,this._sourceMapURL),{source:p,generatedLine:c.generatedLine,generatedColumn:c.generatedColumn,originalLine:c.originalLine,originalColumn:c.originalColumn,name:c.name===null?null:this._names.at(c.name)}},this).forEach(r,u)};ls.prototype.allGeneratedPositionsFor=function(r){var s=yn.getArg(r,"line"),a={source:yn.getArg(r,"source"),originalLine:s,originalColumn:yn.getArg(r,"column",0)};if(a.source=this._findSourceIndex(a.source),a.source<0)return[];var u=[],e=this._findMapping(a,this._originalMappings,"originalLine","originalColumn",yn.compareByOriginalPositions,Og.LEAST_UPPER_BOUND);if(e>=0){var l=this._originalMappings[e];if(r.column===void 0)for(var n=l.originalLine;l&&l.originalLine===n;)u.push({line:yn.getArg(l,"generatedLine",null),column:yn.getArg(l,"generatedColumn",null),lastColumn:yn.getArg(l,"lastGeneratedColumn",null)}),l=this._originalMappings[++e];else for(var c=l.originalColumn;l&&l.originalLine===s&&l.originalColumn==c;)u.push({line:yn.getArg(l,"generatedLine",null),column:yn.getArg(l,"generatedColumn",null),lastColumn:yn.getArg(l,"lastGeneratedColumn",null)}),l=this._originalMappings[++e]}return u};Bf.SourceMapConsumer=ls;function ea(t,r){var s=t;typeof t=="string"&&(s=yn.parseSourceMapInput(t));var a=yn.getArg(s,"version"),u=yn.getArg(s,"sources"),e=yn.getArg(s,"names",[]),l=yn.getArg(s,"sourceRoot",null),n=yn.getArg(s,"sourcesContent",null),c=yn.getArg(s,"mappings"),p=yn.getArg(s,"file",null);if(a!=this._version)throw new Error("Unsupported version: "+a);l&&(l=yn.normalize(l)),u=u.map(String).map(yn.normalize).map(function(i){return l&&yn.isAbsolute(l)&&yn.isAbsolute(i)?yn.relative(l,i):i}),this._names=wc.fromArray(e.map(String),!0),this._sources=wc.fromArray(u,!0),this._absoluteSources=this._sources.toArray().map(function(i){return yn.computeSourceURL(l,i,r)}),this.sourceRoot=l,this.sourcesContent=n,this._mappings=c,this._sourceMapURL=r,this.file=p}ea.prototype=Object.create(ls.prototype);ea.prototype.consumer=ls;ea.prototype._findSourceIndex=function(t){var r=t;if(this.sourceRoot!=null&&(r=yn.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);var s;for(s=0;s<this._absoluteSources.length;++s)if(this._absoluteSources[s]==t)return s;return-1};ea.fromSourceMap=function(r,s){var a=Object.create(ea.prototype),u=a._names=wc.fromArray(r._names.toArray(),!0),e=a._sources=wc.fromArray(r._sources.toArray(),!0);a.sourceRoot=r._sourceRoot,a.sourcesContent=r._generateSourcesContent(a._sources.toArray(),a.sourceRoot),a.file=r._file,a._sourceMapURL=s,a._absoluteSources=a._sources.toArray().map(function(d){return yn.computeSourceURL(a.sourceRoot,d,s)});for(var l=r._mappings.toArray().slice(),n=a.__generatedMappings=[],c=a.__originalMappings=[],p=0,i=l.length;p<i;p++){var o=l[p],h=new SA;h.generatedLine=o.generatedLine,h.generatedColumn=o.generatedColumn,o.source&&(h.source=e.indexOf(o.source),h.originalLine=o.originalLine,h.originalColumn=o.originalColumn,o.name&&(h.name=u.indexOf(o.name)),c.push(h)),n.push(h)}return Yp(a.__originalMappings,yn.compareByOriginalPositions),a};ea.prototype._version=3;Object.defineProperty(ea.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function SA(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}ea.prototype._parseMappings=function(r,s){for(var a=1,u=0,e=0,l=0,n=0,c=0,p=r.length,i=0,o={},h={},d=[],f=[],b,m,y,x,v;i<p;)if(r.charAt(i)===";")a++,i++,u=0;else if(r.charAt(i)===",")i++;else{for(b=new SA,b.generatedLine=a,x=i;x<p&&!this._charIsMappingSeparator(r,x);x++);if(m=r.slice(i,x),y=o[m],y)i+=m.length;else{for(y=[];i<x;)B7.decode(r,i,h),v=h.value,i=h.rest,y.push(v);if(y.length===2)throw new Error("Found a source, but no line and column");if(y.length===3)throw new Error("Found a source and line, but no column");o[m]=y}b.generatedColumn=u+y[0],u=b.generatedColumn,y.length>1&&(b.source=n+y[1],n+=y[1],b.originalLine=e+y[2],e=b.originalLine,b.originalLine+=1,b.originalColumn=l+y[3],l=b.originalColumn,y.length>4&&(b.name=c+y[4],c+=y[4])),f.push(b),typeof b.originalLine=="number"&&d.push(b)}Yp(f,yn.compareByGeneratedPositionsDeflated),this.__generatedMappings=f,Yp(d,yn.compareByOriginalPositions),this.__originalMappings=d};ea.prototype._findMapping=function(r,s,a,u,e,l){if(r[a]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+r[a]);if(r[u]<0)throw new TypeError("Column must be greater than or equal to 0, got "+r[u]);return Og.search(r,s,e,l)};ea.prototype.computeColumnSpans=function(){for(var r=0;r<this._generatedMappings.length;++r){var s=this._generatedMappings[r];if(r+1<this._generatedMappings.length){var a=this._generatedMappings[r+1];if(s.generatedLine===a.generatedLine){s.lastGeneratedColumn=a.generatedColumn-1;continue}}s.lastGeneratedColumn=1/0}};ea.prototype.originalPositionFor=function(r){var s={generatedLine:yn.getArg(r,"line"),generatedColumn:yn.getArg(r,"column")},a=this._findMapping(s,this._generatedMappings,"generatedLine","generatedColumn",yn.compareByGeneratedPositionsDeflated,yn.getArg(r,"bias",ls.GREATEST_LOWER_BOUND));if(a>=0){var u=this._generatedMappings[a];if(u.generatedLine===s.generatedLine){var e=yn.getArg(u,"source",null);e!==null&&(e=this._sources.at(e),e=yn.computeSourceURL(this.sourceRoot,e,this._sourceMapURL));var l=yn.getArg(u,"name",null);return l!==null&&(l=this._names.at(l)),{source:e,line:yn.getArg(u,"originalLine",null),column:yn.getArg(u,"originalColumn",null),name:l}}}return{source:null,line:null,column:null,name:null}};ea.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(r){return r==null}):!1};ea.prototype.sourceContentFor=function(r,s){if(!this.sourcesContent)return null;var a=this._findSourceIndex(r);if(a>=0)return this.sourcesContent[a];var u=r;this.sourceRoot!=null&&(u=yn.relative(this.sourceRoot,u));var e;if(this.sourceRoot!=null&&(e=yn.urlParse(this.sourceRoot))){var l=u.replace(/^file:\/\//,"");if(e.scheme=="file"&&this._sources.has(l))return this.sourcesContent[this._sources.indexOf(l)];if((!e.path||e.path=="/")&&this._sources.has("/"+u))return this.sourcesContent[this._sources.indexOf("/"+u)]}if(s)return null;throw new Error('"'+u+'" is not in the SourceMap.')};ea.prototype.generatedPositionFor=function(r){var s=yn.getArg(r,"source");if(s=this._findSourceIndex(s),s<0)return{line:null,column:null,lastColumn:null};var a={source:s,originalLine:yn.getArg(r,"line"),originalColumn:yn.getArg(r,"column")},u=this._findMapping(a,this._originalMappings,"originalLine","originalColumn",yn.compareByOriginalPositions,yn.getArg(r,"bias",ls.GREATEST_LOWER_BOUND));if(u>=0){var e=this._originalMappings[u];if(e.source===a.source)return{line:yn.getArg(e,"generatedLine",null),column:yn.getArg(e,"generatedColumn",null),lastColumn:yn.getArg(e,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};Bf.BasicSourceMapConsumer=ea;function bo(t,r){var s=t;typeof t=="string"&&(s=yn.parseSourceMapInput(t));var a=yn.getArg(s,"version"),u=yn.getArg(s,"sections");if(a!=this._version)throw new Error("Unsupported version: "+a);this._sources=new wc,this._names=new wc;var e={line:-1,column:0};this._sections=u.map(function(l){if(l.url)throw new Error("Support for url field in sections not implemented.");var n=yn.getArg(l,"offset"),c=yn.getArg(n,"line"),p=yn.getArg(n,"column");if(c<e.line||c===e.line&&p<e.column)throw new Error("Section offsets must be ordered and non-overlapping.");return e=n,{generatedOffset:{generatedLine:c+1,generatedColumn:p+1},consumer:new ls(yn.getArg(l,"map"),r)}})}bo.prototype=Object.create(ls.prototype);bo.prototype.constructor=ls;bo.prototype._version=3;Object.defineProperty(bo.prototype,"sources",{get:function(){for(var t=[],r=0;r<this._sections.length;r++)for(var s=0;s<this._sections[r].consumer.sources.length;s++)t.push(this._sections[r].consumer.sources[s]);return t}});bo.prototype.originalPositionFor=function(r){var s={generatedLine:yn.getArg(r,"line"),generatedColumn:yn.getArg(r,"column")},a=Og.search(s,this._sections,function(e,l){var n=e.generatedLine-l.generatedOffset.generatedLine;return n||e.generatedColumn-l.generatedOffset.generatedColumn}),u=this._sections[a];return u?u.consumer.originalPositionFor({line:s.generatedLine-(u.generatedOffset.generatedLine-1),column:s.generatedColumn-(u.generatedOffset.generatedLine===s.generatedLine?u.generatedOffset.generatedColumn-1:0),bias:r.bias}):{source:null,line:null,column:null,name:null}};bo.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(r){return r.consumer.hasContentsOfAllSources()})};bo.prototype.sourceContentFor=function(r,s){for(var a=0;a<this._sections.length;a++){var u=this._sections[a],e=u.consumer.sourceContentFor(r,!0);if(e)return e}if(s)return null;throw new Error('"'+r+'" is not in the SourceMap.')};bo.prototype.generatedPositionFor=function(r){for(var s=0;s<this._sections.length;s++){var a=this._sections[s];if(a.consumer._findSourceIndex(yn.getArg(r,"source"))!==-1){var u=a.consumer.generatedPositionFor(r);if(u){var e={line:u.line+(a.generatedOffset.generatedLine-1),column:u.column+(a.generatedOffset.generatedLine===u.line?a.generatedOffset.generatedColumn-1:0)};return e}}}return{line:null,column:null}};bo.prototype._parseMappings=function(r,s){this.__generatedMappings=[],this.__originalMappings=[];for(var a=0;a<this._sections.length;a++)for(var u=this._sections[a],e=u.consumer._generatedMappings,l=0;l<e.length;l++){var n=e[l],c=u.consumer._sources.at(n.source);c=yn.computeSourceURL(u.consumer.sourceRoot,c,this._sourceMapURL),this._sources.add(c),c=this._sources.indexOf(c);var p=null;n.name&&(p=u.consumer._names.at(n.name),this._names.add(p),p=this._names.indexOf(p));var i={source:c,generatedLine:n.generatedLine+(u.generatedOffset.generatedLine-1),generatedColumn:n.generatedColumn+(u.generatedOffset.generatedLine===n.generatedLine?u.generatedOffset.generatedColumn-1:0),originalLine:n.originalLine,originalColumn:n.originalColumn,name:p};this.__generatedMappings.push(i),typeof i.originalLine=="number"&&this.__originalMappings.push(i)}Yp(this.__generatedMappings,yn.compareByGeneratedPositionsDeflated),Yp(this.__originalMappings,yn.compareByOriginalPositions)};Bf.IndexedSourceMapConsumer=bo});var AA=ct(_A=>{var U7=Cg().SourceMapGenerator,Uf=Sc(),$7=/(\r?\n)/,V7=10,_c="$$$isSourceNode$$$";function Ra(t,r,s,a,u){this.children=[],this.sourceContents={},this.line=t??null,this.column=r??null,this.source=s??null,this.name=u??null,this[_c]=!0,a!=null&&this.add(a)}Ra.fromStringWithSourceMap=function(r,s,a){var u=new Ra,e=r.split($7),l=0,n=function(){var h=f(),d=f()||"";return h+d;function f(){return l<e.length?e[l++]:void 0}},c=1,p=0,i=null;return s.eachMapping(function(h){if(i!==null)if(c<h.generatedLine)o(i,n()),c++,p=0;else{var d=e[l]||"",f=d.substr(0,h.generatedColumn-p);e[l]=d.substr(h.generatedColumn-p),p=h.generatedColumn,o(i,f),i=h;return}for(;c<h.generatedLine;)u.add(n()),c++;if(p<h.generatedColumn){var d=e[l]||"";u.add(d.substr(0,h.generatedColumn)),e[l]=d.substr(h.generatedColumn),p=h.generatedColumn}i=h},this),l<e.length&&(i&&o(i,n()),u.add(e.splice(l).join(""))),s.sources.forEach(function(h){var d=s.sourceContentFor(h);d!=null&&(a!=null&&(h=Uf.join(a,h)),u.setSourceContent(h,d))}),u;function o(h,d){if(h===null||h.source===void 0)u.add(d);else{var f=a?Uf.join(a,h.source):h.source;u.add(new Ra(h.originalLine,h.originalColumn,f,d,h.name))}}};Ra.prototype.add=function(r){if(Array.isArray(r))r.forEach(function(s){this.add(s)},this);else if(r[_c]||typeof r=="string")r&&this.children.push(r);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+r);return this};Ra.prototype.prepend=function(r){if(Array.isArray(r))for(var s=r.length-1;s>=0;s--)this.prepend(r[s]);else if(r[_c]||typeof r=="string")this.children.unshift(r);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+r);return this};Ra.prototype.walk=function(r){for(var s,a=0,u=this.children.length;a<u;a++)s=this.children[a],s[_c]?s.walk(r):s!==""&&r(s,{source:this.source,line:this.line,column:this.column,name:this.name})};Ra.prototype.join=function(r){var s,a,u=this.children.length;if(u>0){for(s=[],a=0;a<u-1;a++)s.push(this.children[a]),s.push(r);s.push(this.children[a]),this.children=s}return this};Ra.prototype.replaceRight=function(r,s){var a=this.children[this.children.length-1];return a[_c]?a.replaceRight(r,s):typeof a=="string"?this.children[this.children.length-1]=a.replace(r,s):this.children.push("".replace(r,s)),this};Ra.prototype.setSourceContent=function(r,s){this.sourceContents[Uf.toSetString(r)]=s};Ra.prototype.walkSourceContents=function(r){for(var s=0,a=this.children.length;s<a;s++)this.children[s][_c]&&this.children[s].walkSourceContents(r);for(var u=Object.keys(this.sourceContents),s=0,a=u.length;s<a;s++)r(Uf.fromSetString(u[s]),this.sourceContents[u[s]])};Ra.prototype.toString=function(){var r="";return this.walk(function(s){r+=s}),r};Ra.prototype.toStringWithSourceMap=function(r){var s={code:"",line:1,column:0},a=new U7(r),u=!1,e=null,l=null,n=null,c=null;return this.walk(function(p,i){s.code+=p,i.source!==null&&i.line!==null&&i.column!==null?((e!==i.source||l!==i.line||n!==i.column||c!==i.name)&&a.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:s.line,column:s.column},name:i.name}),e=i.source,l=i.line,n=i.column,c=i.name,u=!0):u&&(a.addMapping({generated:{line:s.line,column:s.column}}),e=null,u=!1);for(var o=0,h=p.length;o<h;o++)p.charCodeAt(o)===V7?(s.line++,s.column=0,o+1===h?(e=null,u=!1):u&&a.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:s.line,column:s.column},name:i.name})):s.column++}),this.walkSourceContents(function(p,i){a.setSourceContent(p,i)}),{code:s.code,map:a}};_A.SourceNode=Ra});var Ng=ct($f=>{$f.SourceMapGenerator=Cg().SourceMapGenerator;$f.SourceMapConsumer=wA().SourceMapConsumer;$f.SourceNode=AA().SourceNode});var bl=ct(Es=>{"use strict";Object.defineProperty(Es,"__esModule",{value:!0});Es.isTrailingCommaEnabled=Es.getParentExportDeclaration=Es.isExportDeclaration=Es.fixFaultyLocations=Es.getTrueLoc=Es.composeSourceMaps=Es.copyPos=Es.comparePos=Es.getUnionOfKeys=Es.getOption=void 0;var jg=(gi(),wi(bi)),Qp=jg.__importDefault(hr("assert")),q7=jg.__importStar(Uo()),Vf=q7.namedTypes,CA=jg.__importDefault(Ng()),PA=CA.default.SourceMapConsumer,W7=CA.default.SourceMapGenerator,kA=Object.prototype.hasOwnProperty;function K7(t,r,s){return t&&kA.call(t,r)?t[r]:s}Es.getOption=K7;function z7(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var s={},a=t.length,u=0;u<a;++u)for(var e=Object.keys(t[u]),l=e.length,n=0;n<l;++n)s[e[n]]=!0;return s}Es.getUnionOfKeys=z7;function $o(t,r){return t.line-r.line||t.column-r.column}Es.comparePos=$o;function $l(t){return{line:t.line,column:t.column}}Es.copyPos=$l;function H7(t,r){if(t){if(!r)return t}else return r||null;var s=new PA(t),a=new PA(r),u=new W7({file:r.file,sourceRoot:r.sourceRoot}),e={};return a.eachMapping(function(l){var n=s.originalPositionFor({line:l.originalLine,column:l.originalColumn}),c=n.source;if(c!==null){u.addMapping({source:c,original:$l(n),generated:{line:l.generatedLine,column:l.generatedColumn},name:l.name});var p=s.sourceContentFor(c);p&&!kA.call(e,c)&&(e[c]=p,u.setSourceContent(c,p))}}),u.toJSON()}Es.composeSourceMaps=H7;function G7(t,r){if(!t.loc)return null;var s={start:t.loc.start,end:t.loc.end};function a(u){Fg(s,u.loc)}return t.declaration&&t.declaration.decorators&&qf(t)&&t.declaration.decorators.forEach(a),$o(s.start,s.end)<0&&(s.start=$l(s.start),r.skipSpaces(s.start,!1,!0),$o(s.start,s.end)<0&&(s.end=$l(s.end),r.skipSpaces(s.end,!0,!0))),t.comments&&t.comments.forEach(a),s}Es.getTrueLoc=G7;function Fg(t,r){t&&r&&($o(r.start,t.start)<0&&(t.start=r.start),$o(t.end,r.end)<0&&(t.end=r.end))}function J7(t,r){var s=t.loc;if(s&&(s.start.line<1&&(s.start.line=1),s.end.line<1&&(s.end.line=1)),t.type==="File"&&(s.start=r.firstPos(),s.end=r.lastPos()),X7(t,r),Y7(t,r),s&&t.decorators)t.decorators.forEach(function(l){Fg(s,l.loc)});else if(t.declaration&&qf(t)){t.declaration.loc=null;var a=t.declaration.decorators;a&&a.forEach(function(l){Fg(s,l.loc)})}else if(Vf.MethodDefinition&&Vf.MethodDefinition.check(t)||Vf.Property.check(t)&&(t.method||t.shorthand))t.value.loc=null,Vf.FunctionExpression.check(t.value)&&(t.value.id=null);else if(t.type==="ObjectTypeProperty"){var u=t.loc,e=u&&u.end;e&&(e=$l(e),r.prevPos(e)&&r.charAt(e)===","&&(e=r.skipSpaces(e,!0,!0))&&(u.end=e))}}Es.fixFaultyLocations=J7;function X7(t,r){if(t.type!=="ForStatement")return;function s(a){for(var u=a&&a.loc,e=u&&u.start,l=u&&$l(u.end);e&&l&&$o(e,l)<0&&(r.prevPos(l),r.charAt(l)===";");)u.end.line=l.line,u.end.column=l.column}s(t.init),s(t.test),s(t.update)}function Y7(t,r){if(t.type==="TemplateLiteral"&&t.quasis.length!==0){if(t.loc){var s=$l(t.loc.start);Qp.default.strictEqual(r.charAt(s),"`"),Qp.default.ok(r.nextPos(s));var a=t.quasis[0];$o(a.loc.start,s)<0&&(a.loc.start=s);var u=$l(t.loc.end);Qp.default.ok(r.prevPos(u)),Qp.default.strictEqual(r.charAt(u),"`");var e=t.quasis[t.quasis.length-1];$o(u,e.loc.end)<0&&(e.loc.end=u)}t.expressions.forEach(function(l,n){var c=r.skipSpaces(l.loc.start,!0,!1);if(r.prevPos(c)&&r.charAt(c)==="{"&&r.prevPos(c)&&r.charAt(c)==="$"){var p=t.quasis[n];$o(c,p.loc.end)<0&&(p.loc.end=c)}var i=r.skipSpaces(l.loc.end,!1,!1);if(r.charAt(i)==="}"){Qp.default.ok(r.nextPos(i));var o=t.quasis[n+1];$o(o.loc.start,i)<0&&(o.loc.start=i)}})}}function qf(t){if(t)switch(t.type){case"ExportDeclaration":case"ExportDefaultDeclaration":case"ExportDefaultSpecifier":case"DeclareExportDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return!0}return!1}Es.isExportDeclaration=qf;function Q7(t){var r=t.getParentNode();return t.getName()==="declaration"&&qf(r)?r:null}Es.getParentExportDeclaration=Q7;function Z7(t,r){var s=t.trailingComma;return typeof s=="object"?!!s[r]:!!s}Es.isTrailingCommaEnabled=Z7});var Rg=ct((Zp,Lg)=>{(function(r,s){typeof Zp=="object"&&typeof Lg=="object"?Lg.exports=s():typeof define=="function"&&define.amd?define([],s):typeof Zp=="object"?Zp.esprima=s():r.esprima=s()})(Zp,function(){return(function(t){var r={};function s(a){if(r[a])return r[a].exports;var u=r[a]={exports:{},id:a,loaded:!1};return t[a].call(u.exports,u,u.exports,s),u.loaded=!0,u.exports}return s.m=t,s.c=r,s.p="",s(0)})([function(t,r,s){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=s(1),u=s(3),e=s(8),l=s(15);function n(h,d,f){var b=null,m=function(L,j){f&&f(L,j),b&&b.visit(L,j)},y=typeof f=="function"?m:null,x=!1;if(d){x=typeof d.comment=="boolean"&&d.comment;var v=typeof d.attachComment=="boolean"&&d.attachComment;(x||v)&&(b=new a.CommentHandler,b.attach=v,d.comment=!0,y=m)}var E=!1;d&&typeof d.sourceType=="string"&&(E=d.sourceType==="module");var S;d&&typeof d.jsx=="boolean"&&d.jsx?S=new u.JSXParser(h,d,y):S=new e.Parser(h,d,y);var _=E?S.parseModule():S.parseScript(),A=_;return x&&b&&(A.comments=b.comments),S.config.tokens&&(A.tokens=S.tokens),S.config.tolerant&&(A.errors=S.errorHandler.errors),A}r.parse=n;function c(h,d,f){var b=d||{};return b.sourceType="module",n(h,b,f)}r.parseModule=c;function p(h,d,f){var b=d||{};return b.sourceType="script",n(h,b,f)}r.parseScript=p;function i(h,d,f){var b=new l.Tokenizer(h,d),m;m=[];try{for(;;){var y=b.getNextToken();if(!y)break;f&&(y=f(y)),m.push(y)}}catch(x){b.errorHandler.tolerate(x)}return b.errorHandler.tolerant&&(m.errors=b.errors()),m}r.tokenize=i;var o=s(2);r.Syntax=o.Syntax,r.version="4.0.1"},function(t,r,s){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=s(2),u=(function(){function e(){this.attach=!1,this.comments=[],this.stack=[],this.leading=[],this.trailing=[]}return e.prototype.insertInnerComments=function(l,n){if(l.type===a.Syntax.BlockStatement&&l.body.length===0){for(var c=[],p=this.leading.length-1;p>=0;--p){var i=this.leading[p];n.end.offset>=i.start&&(c.unshift(i.comment),this.leading.splice(p,1),this.trailing.splice(p,1))}c.length&&(l.innerComments=c)}},e.prototype.findTrailingComments=function(l){var n=[];if(this.trailing.length>0){for(var c=this.trailing.length-1;c>=0;--c){var p=this.trailing[c];p.start>=l.end.offset&&n.unshift(p.comment)}return this.trailing.length=0,n}var i=this.stack[this.stack.length-1];if(i&&i.node.trailingComments){var o=i.node.trailingComments[0];o&&o.range[0]>=l.end.offset&&(n=i.node.trailingComments,delete i.node.trailingComments)}return n},e.prototype.findLeadingComments=function(l){for(var n=[],c;this.stack.length>0;){var p=this.stack[this.stack.length-1];if(p&&p.start>=l.start.offset)c=p.node,this.stack.pop();else break}if(c){for(var i=c.leadingComments?c.leadingComments.length:0,o=i-1;o>=0;--o){var h=c.leadingComments[o];h.range[1]<=l.start.offset&&(n.unshift(h),c.leadingComments.splice(o,1))}return c.leadingComments&&c.leadingComments.length===0&&delete c.leadingComments,n}for(var o=this.leading.length-1;o>=0;--o){var p=this.leading[o];p.start<=l.start.offset&&(n.unshift(p.comment),this.leading.splice(o,1))}return n},e.prototype.visitNode=function(l,n){if(!(l.type===a.Syntax.Program&&l.body.length>0)){this.insertInnerComments(l,n);var c=this.findTrailingComments(n),p=this.findLeadingComments(n);p.length>0&&(l.leadingComments=p),c.length>0&&(l.trailingComments=c),this.stack.push({node:l,start:n.start.offset})}},e.prototype.visitComment=function(l,n){var c=l.type[0]==="L"?"Line":"Block",p={type:c,value:l.value};if(l.range&&(p.range=l.range),l.loc&&(p.loc=l.loc),this.comments.push(p),this.attach){var i={comment:{type:c,value:l.value,range:[n.start.offset,n.end.offset]},start:n.start.offset};l.loc&&(i.comment.loc=l.loc),l.type=c,this.leading.push(i),this.trailing.push(i)}},e.prototype.visit=function(l,n){l.type==="LineComment"?this.visitComment(l,n):l.type==="BlockComment"?this.visitComment(l,n):this.attach&&this.visitNode(l,n)},e})();r.CommentHandler=u},function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.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(t,r,s){"use strict";var a=this&&this.__extends||(function(){var d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(f,b){f.__proto__=b}||function(f,b){for(var m in b)b.hasOwnProperty(m)&&(f[m]=b[m])};return function(f,b){d(f,b);function m(){this.constructor=f}f.prototype=b===null?Object.create(b):(m.prototype=b.prototype,new m)}})();Object.defineProperty(r,"__esModule",{value:!0});var u=s(4),e=s(5),l=s(6),n=s(7),c=s(8),p=s(13),i=s(14);p.TokenName[100]="JSXIdentifier",p.TokenName[101]="JSXText";function o(d){var f;switch(d.type){case l.JSXSyntax.JSXIdentifier:var b=d;f=b.name;break;case l.JSXSyntax.JSXNamespacedName:var m=d;f=o(m.namespace)+":"+o(m.name);break;case l.JSXSyntax.JSXMemberExpression:var y=d;f=o(y.object)+"."+o(y.property);break;default:break}return f}var h=(function(d){a(f,d);function f(b,m,y){return d.call(this,b,m,y)||this}return f.prototype.parsePrimaryExpression=function(){return this.match("<")?this.parseJSXRoot():d.prototype.parsePrimaryExpression.call(this)},f.prototype.startJSX=function(){this.scanner.index=this.startMarker.index,this.scanner.lineNumber=this.startMarker.line,this.scanner.lineStart=this.startMarker.index-this.startMarker.column},f.prototype.finishJSX=function(){this.nextToken()},f.prototype.reenterJSX=function(){this.startJSX(),this.expectJSX("}"),this.config.tokens&&this.tokens.pop()},f.prototype.createJSXNode=function(){return this.collectComments(),{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},f.prototype.createJSXChildNode=function(){return{index:this.scanner.index,line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}},f.prototype.scanXHTMLEntity=function(b){for(var m="&",y=!0,x=!1,v=!1,E=!1;!this.scanner.eof()&&y&&!x;){var S=this.scanner.source[this.scanner.index];if(S===b)break;if(x=S===";",m+=S,++this.scanner.index,!x)switch(m.length){case 2:v=S==="#";break;case 3:v&&(E=S==="x",y=E||u.Character.isDecimalDigit(S.charCodeAt(0)),v=v&&!E);break;default:y=y&&!(v&&!u.Character.isDecimalDigit(S.charCodeAt(0))),y=y&&!(E&&!u.Character.isHexDigit(S.charCodeAt(0)));break}}if(y&&x&&m.length>2){var _=m.substr(1,m.length-2);v&&_.length>1?m=String.fromCharCode(parseInt(_.substr(1),10)):E&&_.length>2?m=String.fromCharCode(parseInt("0"+_.substr(1),16)):!v&&!E&&i.XHTMLEntities[_]&&(m=i.XHTMLEntities[_])}return m},f.prototype.lexJSX=function(){var b=this.scanner.source.charCodeAt(this.scanner.index);if(b===60||b===62||b===47||b===58||b===61||b===123||b===125){var m=this.scanner.source[this.scanner.index++];return{type:7,value:m,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index-1,end:this.scanner.index}}if(b===34||b===39){for(var y=this.scanner.index,x=this.scanner.source[this.scanner.index++],v="";!this.scanner.eof();){var E=this.scanner.source[this.scanner.index++];if(E===x)break;E==="&"?v+=this.scanXHTMLEntity(x):v+=E}return{type:8,value:v,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:y,end:this.scanner.index}}if(b===46){var S=this.scanner.source.charCodeAt(this.scanner.index+1),_=this.scanner.source.charCodeAt(this.scanner.index+2),m=S===46&&_===46?"...":".",y=this.scanner.index;return this.scanner.index+=m.length,{type:7,value:m,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:y,end:this.scanner.index}}if(b===96)return{type:10,value:"",lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:this.scanner.index,end:this.scanner.index};if(u.Character.isIdentifierStart(b)&&b!==92){var y=this.scanner.index;for(++this.scanner.index;!this.scanner.eof();){var E=this.scanner.source.charCodeAt(this.scanner.index);if(u.Character.isIdentifierPart(E)&&E!==92)++this.scanner.index;else if(E===45)++this.scanner.index;else break}var A=this.scanner.source.slice(y,this.scanner.index);return{type:100,value:A,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:y,end:this.scanner.index}}return this.scanner.lex()},f.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 b=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(b)),b},f.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 b=this.scanner.index,m="";!this.scanner.eof();){var y=this.scanner.source[this.scanner.index];if(y==="{"||y==="<")break;++this.scanner.index,m+=y,u.Character.isLineTerminator(y.charCodeAt(0))&&(++this.scanner.lineNumber,y==="\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 x={type:101,value:m,lineNumber:this.scanner.lineNumber,lineStart:this.scanner.lineStart,start:b,end:this.scanner.index};return m.length>0&&this.config.tokens&&this.tokens.push(this.convertToken(x)),x},f.prototype.peekJSXToken=function(){var b=this.scanner.saveState();this.scanner.scanComments();var m=this.lexJSX();return this.scanner.restoreState(b),m},f.prototype.expectJSX=function(b){var m=this.nextJSXToken();(m.type!==7||m.value!==b)&&this.throwUnexpectedToken(m)},f.prototype.matchJSX=function(b){var m=this.peekJSXToken();return m.type===7&&m.value===b},f.prototype.parseJSXIdentifier=function(){var b=this.createJSXNode(),m=this.nextJSXToken();return m.type!==100&&this.throwUnexpectedToken(m),this.finalize(b,new e.JSXIdentifier(m.value))},f.prototype.parseJSXElementName=function(){var b=this.createJSXNode(),m=this.parseJSXIdentifier();if(this.matchJSX(":")){var y=m;this.expectJSX(":");var x=this.parseJSXIdentifier();m=this.finalize(b,new e.JSXNamespacedName(y,x))}else if(this.matchJSX("."))for(;this.matchJSX(".");){var v=m;this.expectJSX(".");var E=this.parseJSXIdentifier();m=this.finalize(b,new e.JSXMemberExpression(v,E))}return m},f.prototype.parseJSXAttributeName=function(){var b=this.createJSXNode(),m,y=this.parseJSXIdentifier();if(this.matchJSX(":")){var x=y;this.expectJSX(":");var v=this.parseJSXIdentifier();m=this.finalize(b,new e.JSXNamespacedName(x,v))}else m=y;return m},f.prototype.parseJSXStringLiteralAttribute=function(){var b=this.createJSXNode(),m=this.nextJSXToken();m.type!==8&&this.throwUnexpectedToken(m);var y=this.getTokenRaw(m);return this.finalize(b,new n.Literal(m.value,y))},f.prototype.parseJSXExpressionAttribute=function(){var b=this.createJSXNode();this.expectJSX("{"),this.finishJSX(),this.match("}")&&this.tolerateError("JSX attributes must only be assigned a non-empty expression");var m=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(b,new e.JSXExpressionContainer(m))},f.prototype.parseJSXAttributeValue=function(){return this.matchJSX("{")?this.parseJSXExpressionAttribute():this.matchJSX("<")?this.parseJSXElement():this.parseJSXStringLiteralAttribute()},f.prototype.parseJSXNameValueAttribute=function(){var b=this.createJSXNode(),m=this.parseJSXAttributeName(),y=null;return this.matchJSX("=")&&(this.expectJSX("="),y=this.parseJSXAttributeValue()),this.finalize(b,new e.JSXAttribute(m,y))},f.prototype.parseJSXSpreadAttribute=function(){var b=this.createJSXNode();this.expectJSX("{"),this.expectJSX("..."),this.finishJSX();var m=this.parseAssignmentExpression();return this.reenterJSX(),this.finalize(b,new e.JSXSpreadAttribute(m))},f.prototype.parseJSXAttributes=function(){for(var b=[];!this.matchJSX("/")&&!this.matchJSX(">");){var m=this.matchJSX("{")?this.parseJSXSpreadAttribute():this.parseJSXNameValueAttribute();b.push(m)}return b},f.prototype.parseJSXOpeningElement=function(){var b=this.createJSXNode();this.expectJSX("<");var m=this.parseJSXElementName(),y=this.parseJSXAttributes(),x=this.matchJSX("/");return x&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(b,new e.JSXOpeningElement(m,x,y))},f.prototype.parseJSXBoundaryElement=function(){var b=this.createJSXNode();if(this.expectJSX("<"),this.matchJSX("/")){this.expectJSX("/");var m=this.parseJSXElementName();return this.expectJSX(">"),this.finalize(b,new e.JSXClosingElement(m))}var y=this.parseJSXElementName(),x=this.parseJSXAttributes(),v=this.matchJSX("/");return v&&this.expectJSX("/"),this.expectJSX(">"),this.finalize(b,new e.JSXOpeningElement(y,v,x))},f.prototype.parseJSXEmptyExpression=function(){var b=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(b,new e.JSXEmptyExpression)},f.prototype.parseJSXExpressionContainer=function(){var b=this.createJSXNode();this.expectJSX("{");var m;return this.matchJSX("}")?(m=this.parseJSXEmptyExpression(),this.expectJSX("}")):(this.finishJSX(),m=this.parseAssignmentExpression(),this.reenterJSX()),this.finalize(b,new e.JSXExpressionContainer(m))},f.prototype.parseJSXChildren=function(){for(var b=[];!this.scanner.eof();){var m=this.createJSXChildNode(),y=this.nextJSXText();if(y.start<y.end){var x=this.getTokenRaw(y),v=this.finalize(m,new e.JSXText(y.value,x));b.push(v)}if(this.scanner.source[this.scanner.index]==="{"){var E=this.parseJSXExpressionContainer();b.push(E)}else break}return b},f.prototype.parseComplexJSXElement=function(b){for(var m=[];!this.scanner.eof();){b.children=b.children.concat(this.parseJSXChildren());var y=this.createJSXChildNode(),x=this.parseJSXBoundaryElement();if(x.type===l.JSXSyntax.JSXOpeningElement){var v=x;if(v.selfClosing){var E=this.finalize(y,new e.JSXElement(v,[],null));b.children.push(E)}else m.push(b),b={node:y,opening:v,closing:null,children:[]}}if(x.type===l.JSXSyntax.JSXClosingElement){b.closing=x;var S=o(b.opening.name),_=o(b.closing.name);if(S!==_&&this.tolerateError("Expected corresponding JSX closing tag for %0",S),m.length>0){var E=this.finalize(b.node,new e.JSXElement(b.opening,b.children,b.closing));b=m[m.length-1],b.children.push(E),m.pop()}else break}}return b},f.prototype.parseJSXElement=function(){var b=this.createJSXNode(),m=this.parseJSXOpeningElement(),y=[],x=null;if(!m.selfClosing){var v=this.parseComplexJSXElement({node:b,opening:m,closing:x,children:y});y=v.children,x=v.closing}return this.finalize(b,new e.JSXElement(m,y,x))},f.prototype.parseJSXRoot=function(){this.config.tokens&&this.tokens.pop(),this.startJSX();var b=this.parseJSXElement();return this.finishJSX(),b},f.prototype.isStartOfExpression=function(){return d.prototype.isStartOfExpression.call(this)||this.match("<")},f})(c.Parser);r.JSXParser=h},function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s={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]/};r.Character={fromCodePoint:function(a){return a<65536?String.fromCharCode(a):String.fromCharCode(55296+(a-65536>>10))+String.fromCharCode(56320+(a-65536&1023))},isWhiteSpace:function(a){return a===32||a===9||a===11||a===12||a===160||a>=5760&&[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279].indexOf(a)>=0},isLineTerminator:function(a){return a===10||a===13||a===8232||a===8233},isIdentifierStart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a===92||a>=128&&s.NonAsciiIdentifierStart.test(r.Character.fromCodePoint(a))},isIdentifierPart:function(a){return a===36||a===95||a>=65&&a<=90||a>=97&&a<=122||a>=48&&a<=57||a===92||a>=128&&s.NonAsciiIdentifierPart.test(r.Character.fromCodePoint(a))},isDecimalDigit:function(a){return a>=48&&a<=57},isHexDigit:function(a){return a>=48&&a<=57||a>=65&&a<=70||a>=97&&a<=102},isOctalDigit:function(a){return a>=48&&a<=55}}},function(t,r,s){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=s(6),u=(function(){function b(m){this.type=a.JSXSyntax.JSXClosingElement,this.name=m}return b})();r.JSXClosingElement=u;var e=(function(){function b(m,y,x){this.type=a.JSXSyntax.JSXElement,this.openingElement=m,this.children=y,this.closingElement=x}return b})();r.JSXElement=e;var l=(function(){function b(){this.type=a.JSXSyntax.JSXEmptyExpression}return b})();r.JSXEmptyExpression=l;var n=(function(){function b(m){this.type=a.JSXSyntax.JSXExpressionContainer,this.expression=m}return b})();r.JSXExpressionContainer=n;var c=(function(){function b(m){this.type=a.JSXSyntax.JSXIdentifier,this.name=m}return b})();r.JSXIdentifier=c;var p=(function(){function b(m,y){this.type=a.JSXSyntax.JSXMemberExpression,this.object=m,this.property=y}return b})();r.JSXMemberExpression=p;var i=(function(){function b(m,y){this.type=a.JSXSyntax.JSXAttribute,this.name=m,this.value=y}return b})();r.JSXAttribute=i;var o=(function(){function b(m,y){this.type=a.JSXSyntax.JSXNamespacedName,this.namespace=m,this.name=y}return b})();r.JSXNamespacedName=o;var h=(function(){function b(m,y,x){this.type=a.JSXSyntax.JSXOpeningElement,this.name=m,this.selfClosing=y,this.attributes=x}return b})();r.JSXOpeningElement=h;var d=(function(){function b(m){this.type=a.JSXSyntax.JSXSpreadAttribute,this.argument=m}return b})();r.JSXSpreadAttribute=d;var f=(function(){function b(m,y){this.type=a.JSXSyntax.JSXText,this.value=m,this.raw=y}return b})();r.JSXText=f},function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.JSXSyntax={JSXAttribute:"JSXAttribute",JSXClosingElement:"JSXClosingElement",JSXElement:"JSXElement",JSXEmptyExpression:"JSXEmptyExpression",JSXExpressionContainer:"JSXExpressionContainer",JSXIdentifier:"JSXIdentifier",JSXMemberExpression:"JSXMemberExpression",JSXNamespacedName:"JSXNamespacedName",JSXOpeningElement:"JSXOpeningElement",JSXSpreadAttribute:"JSXSpreadAttribute",JSXText:"JSXText"}},function(t,r,s){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=s(2),u=(function(){function ce($e){this.type=a.Syntax.ArrayExpression,this.elements=$e}return ce})();r.ArrayExpression=u;var e=(function(){function ce($e){this.type=a.Syntax.ArrayPattern,this.elements=$e}return ce})();r.ArrayPattern=e;var l=(function(){function ce($e,et,ut){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=$e,this.body=et,this.generator=!1,this.expression=ut,this.async=!1}return ce})();r.ArrowFunctionExpression=l;var n=(function(){function ce($e,et,ut){this.type=a.Syntax.AssignmentExpression,this.operator=$e,this.left=et,this.right=ut}return ce})();r.AssignmentExpression=n;var c=(function(){function ce($e,et){this.type=a.Syntax.AssignmentPattern,this.left=$e,this.right=et}return ce})();r.AssignmentPattern=c;var p=(function(){function ce($e,et,ut){this.type=a.Syntax.ArrowFunctionExpression,this.id=null,this.params=$e,this.body=et,this.generator=!1,this.expression=ut,this.async=!0}return ce})();r.AsyncArrowFunctionExpression=p;var i=(function(){function ce($e,et,ut){this.type=a.Syntax.FunctionDeclaration,this.id=$e,this.params=et,this.body=ut,this.generator=!1,this.expression=!1,this.async=!0}return ce})();r.AsyncFunctionDeclaration=i;var o=(function(){function ce($e,et,ut){this.type=a.Syntax.FunctionExpression,this.id=$e,this.params=et,this.body=ut,this.generator=!1,this.expression=!1,this.async=!0}return ce})();r.AsyncFunctionExpression=o;var h=(function(){function ce($e){this.type=a.Syntax.AwaitExpression,this.argument=$e}return ce})();r.AwaitExpression=h;var d=(function(){function ce($e,et,ut){var Je=$e==="||"||$e==="&&";this.type=Je?a.Syntax.LogicalExpression:a.Syntax.BinaryExpression,this.operator=$e,this.left=et,this.right=ut}return ce})();r.BinaryExpression=d;var f=(function(){function ce($e){this.type=a.Syntax.BlockStatement,this.body=$e}return ce})();r.BlockStatement=f;var b=(function(){function ce($e){this.type=a.Syntax.BreakStatement,this.label=$e}return ce})();r.BreakStatement=b;var m=(function(){function ce($e,et){this.type=a.Syntax.CallExpression,this.callee=$e,this.arguments=et}return ce})();r.CallExpression=m;var y=(function(){function ce($e,et){this.type=a.Syntax.CatchClause,this.param=$e,this.body=et}return ce})();r.CatchClause=y;var x=(function(){function ce($e){this.type=a.Syntax.ClassBody,this.body=$e}return ce})();r.ClassBody=x;var v=(function(){function ce($e,et,ut){this.type=a.Syntax.ClassDeclaration,this.id=$e,this.superClass=et,this.body=ut}return ce})();r.ClassDeclaration=v;var E=(function(){function ce($e,et,ut){this.type=a.Syntax.ClassExpression,this.id=$e,this.superClass=et,this.body=ut}return ce})();r.ClassExpression=E;var S=(function(){function ce($e,et){this.type=a.Syntax.MemberExpression,this.computed=!0,this.object=$e,this.property=et}return ce})();r.ComputedMemberExpression=S;var _=(function(){function ce($e,et,ut){this.type=a.Syntax.ConditionalExpression,this.test=$e,this.consequent=et,this.alternate=ut}return ce})();r.ConditionalExpression=_;var A=(function(){function ce($e){this.type=a.Syntax.ContinueStatement,this.label=$e}return ce})();r.ContinueStatement=A;var L=(function(){function ce(){this.type=a.Syntax.DebuggerStatement}return ce})();r.DebuggerStatement=L;var j=(function(){function ce($e,et){this.type=a.Syntax.ExpressionStatement,this.expression=$e,this.directive=et}return ce})();r.Directive=j;var F=(function(){function ce($e,et){this.type=a.Syntax.DoWhileStatement,this.body=$e,this.test=et}return ce})();r.DoWhileStatement=F;var k=(function(){function ce(){this.type=a.Syntax.EmptyStatement}return ce})();r.EmptyStatement=k;var U=(function(){function ce($e){this.type=a.Syntax.ExportAllDeclaration,this.source=$e}return ce})();r.ExportAllDeclaration=U;var z=(function(){function ce($e){this.type=a.Syntax.ExportDefaultDeclaration,this.declaration=$e}return ce})();r.ExportDefaultDeclaration=z;var C=(function(){function ce($e,et,ut){this.type=a.Syntax.ExportNamedDeclaration,this.declaration=$e,this.specifiers=et,this.source=ut}return ce})();r.ExportNamedDeclaration=C;var R=(function(){function ce($e,et){this.type=a.Syntax.ExportSpecifier,this.exported=et,this.local=$e}return ce})();r.ExportSpecifier=R;var G=(function(){function ce($e){this.type=a.Syntax.ExpressionStatement,this.expression=$e}return ce})();r.ExpressionStatement=G;var V=(function(){function ce($e,et,ut){this.type=a.Syntax.ForInStatement,this.left=$e,this.right=et,this.body=ut,this.each=!1}return ce})();r.ForInStatement=V;var B=(function(){function ce($e,et,ut){this.type=a.Syntax.ForOfStatement,this.left=$e,this.right=et,this.body=ut}return ce})();r.ForOfStatement=B;var q=(function(){function ce($e,et,ut,Je){this.type=a.Syntax.ForStatement,this.init=$e,this.test=et,this.update=ut,this.body=Je}return ce})();r.ForStatement=q;var K=(function(){function ce($e,et,ut,Je){this.type=a.Syntax.FunctionDeclaration,this.id=$e,this.params=et,this.body=ut,this.generator=Je,this.expression=!1,this.async=!1}return ce})();r.FunctionDeclaration=K;var $=(function(){function ce($e,et,ut,Je){this.type=a.Syntax.FunctionExpression,this.id=$e,this.params=et,this.body=ut,this.generator=Je,this.expression=!1,this.async=!1}return ce})();r.FunctionExpression=$;var W=(function(){function ce($e){this.type=a.Syntax.Identifier,this.name=$e}return ce})();r.Identifier=W;var Z=(function(){function ce($e,et,ut){this.type=a.Syntax.IfStatement,this.test=$e,this.consequent=et,this.alternate=ut}return ce})();r.IfStatement=Z;var Q=(function(){function ce($e,et){this.type=a.Syntax.ImportDeclaration,this.specifiers=$e,this.source=et}return ce})();r.ImportDeclaration=Q;var X=(function(){function ce($e){this.type=a.Syntax.ImportDefaultSpecifier,this.local=$e}return ce})();r.ImportDefaultSpecifier=X;var ie=(function(){function ce($e){this.type=a.Syntax.ImportNamespaceSpecifier,this.local=$e}return ce})();r.ImportNamespaceSpecifier=ie;var oe=(function(){function ce($e,et){this.type=a.Syntax.ImportSpecifier,this.local=$e,this.imported=et}return ce})();r.ImportSpecifier=oe;var be=(function(){function ce($e,et){this.type=a.Syntax.LabeledStatement,this.label=$e,this.body=et}return ce})();r.LabeledStatement=be;var Ne=(function(){function ce($e,et){this.type=a.Syntax.Literal,this.value=$e,this.raw=et}return ce})();r.Literal=Ne;var Pe=(function(){function ce($e,et){this.type=a.Syntax.MetaProperty,this.meta=$e,this.property=et}return ce})();r.MetaProperty=Pe;var Ke=(function(){function ce($e,et,ut,Je,Le){this.type=a.Syntax.MethodDefinition,this.key=$e,this.computed=et,this.value=ut,this.kind=Je,this.static=Le}return ce})();r.MethodDefinition=Ke;var We=(function(){function ce($e){this.type=a.Syntax.Program,this.body=$e,this.sourceType="module"}return ce})();r.Module=We;var Oe=(function(){function ce($e,et){this.type=a.Syntax.NewExpression,this.callee=$e,this.arguments=et}return ce})();r.NewExpression=Oe;var de=(function(){function ce($e){this.type=a.Syntax.ObjectExpression,this.properties=$e}return ce})();r.ObjectExpression=de;var xe=(function(){function ce($e){this.type=a.Syntax.ObjectPattern,this.properties=$e}return ce})();r.ObjectPattern=xe;var ye=(function(){function ce($e,et,ut,Je,Le,at){this.type=a.Syntax.Property,this.key=et,this.computed=ut,this.value=Je,this.kind=$e,this.method=Le,this.shorthand=at}return ce})();r.Property=ye;var ve=(function(){function ce($e,et,ut,Je){this.type=a.Syntax.Literal,this.value=$e,this.raw=et,this.regex={pattern:ut,flags:Je}}return ce})();r.RegexLiteral=ve;var he=(function(){function ce($e){this.type=a.Syntax.RestElement,this.argument=$e}return ce})();r.RestElement=he;var Te=(function(){function ce($e){this.type=a.Syntax.ReturnStatement,this.argument=$e}return ce})();r.ReturnStatement=Te;var Ce=(function(){function ce($e){this.type=a.Syntax.Program,this.body=$e,this.sourceType="script"}return ce})();r.Script=Ce;var se=(function(){function ce($e){this.type=a.Syntax.SequenceExpression,this.expressions=$e}return ce})();r.SequenceExpression=se;var pe=(function(){function ce($e){this.type=a.Syntax.SpreadElement,this.argument=$e}return ce})();r.SpreadElement=pe;var nt=(function(){function ce($e,et){this.type=a.Syntax.MemberExpression,this.computed=!1,this.object=$e,this.property=et}return ce})();r.StaticMemberExpression=nt;var ft=(function(){function ce(){this.type=a.Syntax.Super}return ce})();r.Super=ft;var _t=(function(){function ce($e,et){this.type=a.Syntax.SwitchCase,this.test=$e,this.consequent=et}return ce})();r.SwitchCase=_t;var Pt=(function(){function ce($e,et){this.type=a.Syntax.SwitchStatement,this.discriminant=$e,this.cases=et}return ce})();r.SwitchStatement=Pt;var ht=(function(){function ce($e,et){this.type=a.Syntax.TaggedTemplateExpression,this.tag=$e,this.quasi=et}return ce})();r.TaggedTemplateExpression=ht;var De=(function(){function ce($e,et){this.type=a.Syntax.TemplateElement,this.value=$e,this.tail=et}return ce})();r.TemplateElement=De;var ze=(function(){function ce($e,et){this.type=a.Syntax.TemplateLiteral,this.quasis=$e,this.expressions=et}return ce})();r.TemplateLiteral=ze;var Ze=(function(){function ce(){this.type=a.Syntax.ThisExpression}return ce})();r.ThisExpression=Ze;var tt=(function(){function ce($e){this.type=a.Syntax.ThrowStatement,this.argument=$e}return ce})();r.ThrowStatement=tt;var ge=(function(){function ce($e,et,ut){this.type=a.Syntax.TryStatement,this.block=$e,this.handler=et,this.finalizer=ut}return ce})();r.TryStatement=ge;var fe=(function(){function ce($e,et){this.type=a.Syntax.UnaryExpression,this.operator=$e,this.argument=et,this.prefix=!0}return ce})();r.UnaryExpression=fe;var ee=(function(){function ce($e,et,ut){this.type=a.Syntax.UpdateExpression,this.operator=$e,this.argument=et,this.prefix=ut}return ce})();r.UpdateExpression=ee;var le=(function(){function ce($e,et){this.type=a.Syntax.VariableDeclaration,this.declarations=$e,this.kind=et}return ce})();r.VariableDeclaration=le;var Se=(function(){function ce($e,et){this.type=a.Syntax.VariableDeclarator,this.id=$e,this.init=et}return ce})();r.VariableDeclarator=Se;var Ee=(function(){function ce($e,et){this.type=a.Syntax.WhileStatement,this.test=$e,this.body=et}return ce})();r.WhileStatement=Ee;var Be=(function(){function ce($e,et){this.type=a.Syntax.WithStatement,this.object=$e,this.body=et}return ce})();r.WithStatement=Be;var Qe=(function(){function ce($e,et){this.type=a.Syntax.YieldExpression,this.argument=$e,this.delegate=et}return ce})();r.YieldExpression=Qe},function(t,r,s){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=s(9),u=s(10),e=s(11),l=s(7),n=s(12),c=s(2),p=s(13),i="ArrowParameterPlaceHolder",o=(function(){function h(d,f,b){f===void 0&&(f={}),this.config={range:typeof f.range=="boolean"&&f.range,loc:typeof f.loc=="boolean"&&f.loc,source:null,tokens:typeof f.tokens=="boolean"&&f.tokens,comment:typeof f.comment=="boolean"&&f.comment,tolerant:typeof f.tolerant=="boolean"&&f.tolerant},this.config.loc&&f.source&&f.source!==null&&(this.config.source=String(f.source)),this.delegate=b,this.errorHandler=new u.ErrorHandler,this.errorHandler.tolerant=this.config.tolerant,this.scanner=new n.Scanner(d,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 h.prototype.throwError=function(d){for(var f=[],b=1;b<arguments.length;b++)f[b-1]=arguments[b];var m=Array.prototype.slice.call(arguments,1),y=d.replace(/%(\d)/g,function(S,_){return a.assert(_<m.length,"Message reference must be in range"),m[_]}),x=this.lastMarker.index,v=this.lastMarker.line,E=this.lastMarker.column+1;throw this.errorHandler.createError(x,v,E,y)},h.prototype.tolerateError=function(d){for(var f=[],b=1;b<arguments.length;b++)f[b-1]=arguments[b];var m=Array.prototype.slice.call(arguments,1),y=d.replace(/%(\d)/g,function(S,_){return a.assert(_<m.length,"Message reference must be in range"),m[_]}),x=this.lastMarker.index,v=this.scanner.lineNumber,E=this.lastMarker.column+1;this.errorHandler.tolerateError(x,v,E,y)},h.prototype.unexpectedTokenError=function(d,f){var b=f||e.Messages.UnexpectedToken,m;if(d?(f||(b=d.type===2?e.Messages.UnexpectedEOS:d.type===3?e.Messages.UnexpectedIdentifier:d.type===6?e.Messages.UnexpectedNumber:d.type===8?e.Messages.UnexpectedString:d.type===10?e.Messages.UnexpectedTemplate:e.Messages.UnexpectedToken,d.type===4&&(this.scanner.isFutureReservedWord(d.value)?b=e.Messages.UnexpectedReserved:this.context.strict&&this.scanner.isStrictModeReservedWord(d.value)&&(b=e.Messages.StrictReservedWord))),m=d.value):m="ILLEGAL",b=b.replace("%0",m),d&&typeof d.lineNumber=="number"){var y=d.start,x=d.lineNumber,v=this.lastMarker.index-this.lastMarker.column,E=d.start-v+1;return this.errorHandler.createError(y,x,E,b)}else{var y=this.lastMarker.index,x=this.lastMarker.line,E=this.lastMarker.column+1;return this.errorHandler.createError(y,x,E,b)}},h.prototype.throwUnexpectedToken=function(d,f){throw this.unexpectedTokenError(d,f)},h.prototype.tolerateUnexpectedToken=function(d,f){this.errorHandler.tolerate(this.unexpectedTokenError(d,f))},h.prototype.collectComments=function(){if(!this.config.comment)this.scanner.scanComments();else{var d=this.scanner.scanComments();if(d.length>0&&this.delegate)for(var f=0;f<d.length;++f){var b=d[f],m=void 0;m={type:b.multiLine?"BlockComment":"LineComment",value:this.scanner.source.slice(b.slice[0],b.slice[1])},this.config.range&&(m.range=b.range),this.config.loc&&(m.loc=b.loc);var y={start:{line:b.loc.start.line,column:b.loc.start.column,offset:b.range[0]},end:{line:b.loc.end.line,column:b.loc.end.column,offset:b.range[1]}};this.delegate(m,y)}}},h.prototype.getTokenRaw=function(d){return this.scanner.source.slice(d.start,d.end)},h.prototype.convertToken=function(d){var f={type:p.TokenName[d.type],value:this.getTokenRaw(d)};if(this.config.range&&(f.range=[d.start,d.end]),this.config.loc&&(f.loc={start:{line:this.startMarker.line,column:this.startMarker.column},end:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart}}),d.type===9){var b=d.pattern,m=d.flags;f.regex={pattern:b,flags:m}}return f},h.prototype.nextToken=function(){var d=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 f=this.scanner.lex();return this.hasLineTerminator=d.lineNumber!==f.lineNumber,f&&this.context.strict&&f.type===3&&this.scanner.isStrictModeReservedWord(f.value)&&(f.type=4),this.lookahead=f,this.config.tokens&&f.type!==2&&this.tokens.push(this.convertToken(f)),d},h.prototype.nextRegexToken=function(){this.collectComments();var d=this.scanner.scanRegExp();return this.config.tokens&&(this.tokens.pop(),this.tokens.push(this.convertToken(d))),this.lookahead=d,this.nextToken(),d},h.prototype.createNode=function(){return{index:this.startMarker.index,line:this.startMarker.line,column:this.startMarker.column}},h.prototype.startNode=function(d,f){f===void 0&&(f=0);var b=d.start-d.lineStart,m=d.lineNumber;return b<0&&(b+=f,m--),{index:d.start,line:m,column:b}},h.prototype.finalize=function(d,f){if(this.config.range&&(f.range=[d.index,this.lastMarker.index]),this.config.loc&&(f.loc={start:{line:d.line,column:d.column},end:{line:this.lastMarker.line,column:this.lastMarker.column}},this.config.source&&(f.loc.source=this.config.source)),this.delegate){var b={start:{line:d.line,column:d.column,offset:d.index},end:{line:this.lastMarker.line,column:this.lastMarker.column,offset:this.lastMarker.index}};this.delegate(f,b)}return f},h.prototype.expect=function(d){var f=this.nextToken();(f.type!==7||f.value!==d)&&this.throwUnexpectedToken(f)},h.prototype.expectCommaSeparator=function(){if(this.config.tolerant){var d=this.lookahead;d.type===7&&d.value===","?this.nextToken():d.type===7&&d.value===";"?(this.nextToken(),this.tolerateUnexpectedToken(d)):this.tolerateUnexpectedToken(d,e.Messages.UnexpectedToken)}else this.expect(",")},h.prototype.expectKeyword=function(d){var f=this.nextToken();(f.type!==4||f.value!==d)&&this.throwUnexpectedToken(f)},h.prototype.match=function(d){return this.lookahead.type===7&&this.lookahead.value===d},h.prototype.matchKeyword=function(d){return this.lookahead.type===4&&this.lookahead.value===d},h.prototype.matchContextualKeyword=function(d){return this.lookahead.type===3&&this.lookahead.value===d},h.prototype.matchAssign=function(){if(this.lookahead.type!==7)return!1;var d=this.lookahead.value;return d==="="||d==="*="||d==="**="||d==="/="||d==="%="||d==="+="||d==="-="||d==="<<="||d===">>="||d===">>>="||d==="&="||d==="^="||d==="|="},h.prototype.isolateCoverGrammar=function(d){var f=this.context.isBindingElement,b=this.context.isAssignmentTarget,m=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var y=d.call(this);return this.context.firstCoverInitializedNameError!==null&&this.throwUnexpectedToken(this.context.firstCoverInitializedNameError),this.context.isBindingElement=f,this.context.isAssignmentTarget=b,this.context.firstCoverInitializedNameError=m,y},h.prototype.inheritCoverGrammar=function(d){var f=this.context.isBindingElement,b=this.context.isAssignmentTarget,m=this.context.firstCoverInitializedNameError;this.context.isBindingElement=!0,this.context.isAssignmentTarget=!0,this.context.firstCoverInitializedNameError=null;var y=d.call(this);return this.context.isBindingElement=this.context.isBindingElement&&f,this.context.isAssignmentTarget=this.context.isAssignmentTarget&&b,this.context.firstCoverInitializedNameError=m||this.context.firstCoverInitializedNameError,y},h.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)},h.prototype.parsePrimaryExpression=function(){var d=this.createNode(),f,b,m;switch(this.lookahead.type){case 3:(this.context.isModule||this.context.await)&&this.lookahead.value==="await"&&this.tolerateUnexpectedToken(this.lookahead),f=this.matchAsyncFunction()?this.parseFunctionExpression():this.finalize(d,new l.Identifier(this.nextToken().value));break;case 6:case 8:this.context.strict&&this.lookahead.octal&&this.tolerateUnexpectedToken(this.lookahead,e.Messages.StrictOctalLiteral),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,b=this.nextToken(),m=this.getTokenRaw(b),f=this.finalize(d,new l.Literal(b.value,m));break;case 1:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,b=this.nextToken(),m=this.getTokenRaw(b),f=this.finalize(d,new l.Literal(b.value==="true",m));break;case 5:this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,b=this.nextToken(),m=this.getTokenRaw(b),f=this.finalize(d,new l.Literal(null,m));break;case 10:f=this.parseTemplateLiteral();break;case 7:switch(this.lookahead.value){case"(":this.context.isBindingElement=!1,f=this.inheritCoverGrammar(this.parseGroupExpression);break;case"[":f=this.inheritCoverGrammar(this.parseArrayInitializer);break;case"{":f=this.inheritCoverGrammar(this.parseObjectInitializer);break;case"/":case"/=":this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.scanner.index=this.startMarker.index,b=this.nextRegexToken(),m=this.getTokenRaw(b),f=this.finalize(d,new l.RegexLiteral(b.regex,m,b.pattern,b.flags));break;default:f=this.throwUnexpectedToken(this.nextToken())}break;case 4:!this.context.strict&&this.context.allowYield&&this.matchKeyword("yield")?f=this.parseIdentifierName():!this.context.strict&&this.matchKeyword("let")?f=this.finalize(d,new l.Identifier(this.nextToken().value)):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.matchKeyword("function")?f=this.parseFunctionExpression():this.matchKeyword("this")?(this.nextToken(),f=this.finalize(d,new l.ThisExpression)):this.matchKeyword("class")?f=this.parseClassExpression():f=this.throwUnexpectedToken(this.nextToken()));break;default:f=this.throwUnexpectedToken(this.nextToken())}return f},h.prototype.parseSpreadElement=function(){var d=this.createNode();this.expect("...");var f=this.inheritCoverGrammar(this.parseAssignmentExpression);return this.finalize(d,new l.SpreadElement(f))},h.prototype.parseArrayInitializer=function(){var d=this.createNode(),f=[];for(this.expect("[");!this.match("]");)if(this.match(","))this.nextToken(),f.push(null);else if(this.match("...")){var b=this.parseSpreadElement();this.match("]")||(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1,this.expect(",")),f.push(b)}else f.push(this.inheritCoverGrammar(this.parseAssignmentExpression)),this.match("]")||this.expect(",");return this.expect("]"),this.finalize(d,new l.ArrayExpression(f))},h.prototype.parsePropertyMethod=function(d){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var f=this.context.strict,b=this.context.allowStrictDirective;this.context.allowStrictDirective=d.simple;var m=this.isolateCoverGrammar(this.parseFunctionSourceElements);return this.context.strict&&d.firstRestricted&&this.tolerateUnexpectedToken(d.firstRestricted,d.message),this.context.strict&&d.stricted&&this.tolerateUnexpectedToken(d.stricted,d.message),this.context.strict=f,this.context.allowStrictDirective=b,m},h.prototype.parsePropertyMethodFunction=function(){var d=!1,f=this.createNode(),b=this.context.allowYield;this.context.allowYield=!0;var m=this.parseFormalParameters(),y=this.parsePropertyMethod(m);return this.context.allowYield=b,this.finalize(f,new l.FunctionExpression(null,m.params,y,d))},h.prototype.parsePropertyMethodAsyncFunction=function(){var d=this.createNode(),f=this.context.allowYield,b=this.context.await;this.context.allowYield=!1,this.context.await=!0;var m=this.parseFormalParameters(),y=this.parsePropertyMethod(m);return this.context.allowYield=f,this.context.await=b,this.finalize(d,new l.AsyncFunctionExpression(null,m.params,y))},h.prototype.parseObjectPropertyKey=function(){var d=this.createNode(),f=this.nextToken(),b;switch(f.type){case 8:case 6:this.context.strict&&f.octal&&this.tolerateUnexpectedToken(f,e.Messages.StrictOctalLiteral);var m=this.getTokenRaw(f);b=this.finalize(d,new l.Literal(f.value,m));break;case 3:case 1:case 5:case 4:b=this.finalize(d,new l.Identifier(f.value));break;case 7:f.value==="["?(b=this.isolateCoverGrammar(this.parseAssignmentExpression),this.expect("]")):b=this.throwUnexpectedToken(f);break;default:b=this.throwUnexpectedToken(f)}return b},h.prototype.isPropertyKey=function(d,f){return d.type===c.Syntax.Identifier&&d.name===f||d.type===c.Syntax.Literal&&d.value===f},h.prototype.parseObjectProperty=function(d){var f=this.createNode(),b=this.lookahead,m,y=null,x=null,v=!1,E=!1,S=!1,_=!1;if(b.type===3){var A=b.value;this.nextToken(),v=this.match("["),_=!this.hasLineTerminator&&A==="async"&&!this.match(":")&&!this.match("(")&&!this.match("*")&&!this.match(","),y=_?this.parseObjectPropertyKey():this.finalize(f,new l.Identifier(A))}else this.match("*")?this.nextToken():(v=this.match("["),y=this.parseObjectPropertyKey());var L=this.qualifiedPropertyName(this.lookahead);if(b.type===3&&!_&&b.value==="get"&&L)m="get",v=this.match("["),y=this.parseObjectPropertyKey(),this.context.allowYield=!1,x=this.parseGetterMethod();else if(b.type===3&&!_&&b.value==="set"&&L)m="set",v=this.match("["),y=this.parseObjectPropertyKey(),x=this.parseSetterMethod();else if(b.type===7&&b.value==="*"&&L)m="init",v=this.match("["),y=this.parseObjectPropertyKey(),x=this.parseGeneratorMethod(),E=!0;else if(y||this.throwUnexpectedToken(this.lookahead),m="init",this.match(":")&&!_)!v&&this.isPropertyKey(y,"__proto__")&&(d.value&&this.tolerateError(e.Messages.DuplicateProtoProperty),d.value=!0),this.nextToken(),x=this.inheritCoverGrammar(this.parseAssignmentExpression);else if(this.match("("))x=_?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),E=!0;else if(b.type===3){var A=this.finalize(f,new l.Identifier(b.value));if(this.match("=")){this.context.firstCoverInitializedNameError=this.lookahead,this.nextToken(),S=!0;var j=this.isolateCoverGrammar(this.parseAssignmentExpression);x=this.finalize(f,new l.AssignmentPattern(A,j))}else S=!0,x=A}else this.throwUnexpectedToken(this.nextToken());return this.finalize(f,new l.Property(m,y,v,x,E,S))},h.prototype.parseObjectInitializer=function(){var d=this.createNode();this.expect("{");for(var f=[],b={value:!1};!this.match("}");)f.push(this.parseObjectProperty(b)),this.match("}")||this.expectCommaSeparator();return this.expect("}"),this.finalize(d,new l.ObjectExpression(f))},h.prototype.parseTemplateHead=function(){a.assert(this.lookahead.head,"Template literal must start with a template head");var d=this.createNode(),f=this.nextToken(),b=f.value,m=f.cooked;return this.finalize(d,new l.TemplateElement({raw:b,cooked:m},f.tail))},h.prototype.parseTemplateElement=function(){this.lookahead.type!==10&&this.throwUnexpectedToken();var d=this.createNode(),f=this.nextToken(),b=f.value,m=f.cooked;return this.finalize(d,new l.TemplateElement({raw:b,cooked:m},f.tail))},h.prototype.parseTemplateLiteral=function(){var d=this.createNode(),f=[],b=[],m=this.parseTemplateHead();for(b.push(m);!m.tail;)f.push(this.parseExpression()),m=this.parseTemplateElement(),b.push(m);return this.finalize(d,new l.TemplateLiteral(b,f))},h.prototype.reinterpretExpressionAsPattern=function(d){switch(d.type){case c.Syntax.Identifier:case c.Syntax.MemberExpression:case c.Syntax.RestElement:case c.Syntax.AssignmentPattern:break;case c.Syntax.SpreadElement:d.type=c.Syntax.RestElement,this.reinterpretExpressionAsPattern(d.argument);break;case c.Syntax.ArrayExpression:d.type=c.Syntax.ArrayPattern;for(var f=0;f<d.elements.length;f++)d.elements[f]!==null&&this.reinterpretExpressionAsPattern(d.elements[f]);break;case c.Syntax.ObjectExpression:d.type=c.Syntax.ObjectPattern;for(var f=0;f<d.properties.length;f++)this.reinterpretExpressionAsPattern(d.properties[f].value);break;case c.Syntax.AssignmentExpression:d.type=c.Syntax.AssignmentPattern,delete d.operator,this.reinterpretExpressionAsPattern(d.left);break;default:break}},h.prototype.parseGroupExpression=function(){var d;if(this.expect("("),this.match(")"))this.nextToken(),this.match("=>")||this.expect("=>"),d={type:i,params:[],async:!1};else{var f=this.lookahead,b=[];if(this.match("..."))d=this.parseRestElement(b),this.expect(")"),this.match("=>")||this.expect("=>"),d={type:i,params:[d],async:!1};else{var m=!1;if(this.context.isBindingElement=!0,d=this.inheritCoverGrammar(this.parseAssignmentExpression),this.match(",")){var y=[];for(this.context.isAssignmentTarget=!1,y.push(d);this.lookahead.type!==2&&this.match(",");){if(this.nextToken(),this.match(")")){this.nextToken();for(var x=0;x<y.length;x++)this.reinterpretExpressionAsPattern(y[x]);m=!0,d={type:i,params:y,async:!1}}else if(this.match("...")){this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),y.push(this.parseRestElement(b)),this.expect(")"),this.match("=>")||this.expect("=>"),this.context.isBindingElement=!1;for(var x=0;x<y.length;x++)this.reinterpretExpressionAsPattern(y[x]);m=!0,d={type:i,params:y,async:!1}}else y.push(this.inheritCoverGrammar(this.parseAssignmentExpression));if(m)break}m||(d=this.finalize(this.startNode(f),new l.SequenceExpression(y)))}if(!m){if(this.expect(")"),this.match("=>")&&(d.type===c.Syntax.Identifier&&d.name==="yield"&&(m=!0,d={type:i,params:[d],async:!1}),!m)){if(this.context.isBindingElement||this.throwUnexpectedToken(this.lookahead),d.type===c.Syntax.SequenceExpression)for(var x=0;x<d.expressions.length;x++)this.reinterpretExpressionAsPattern(d.expressions[x]);else this.reinterpretExpressionAsPattern(d);var v=d.type===c.Syntax.SequenceExpression?d.expressions:[d];d={type:i,params:v,async:!1}}this.context.isBindingElement=!1}}}return d},h.prototype.parseArguments=function(){this.expect("(");var d=[];if(!this.match(")"))for(;;){var f=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAssignmentExpression);if(d.push(f),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),d},h.prototype.isIdentifierName=function(d){return d.type===3||d.type===4||d.type===1||d.type===5},h.prototype.parseIdentifierName=function(){var d=this.createNode(),f=this.nextToken();return this.isIdentifierName(f)||this.throwUnexpectedToken(f),this.finalize(d,new l.Identifier(f.value))},h.prototype.parseNewExpression=function(){var d=this.createNode(),f=this.parseIdentifierName();a.assert(f.name==="new","New expression must start with `new`");var b;if(this.match("."))if(this.nextToken(),this.lookahead.type===3&&this.context.inFunctionBody&&this.lookahead.value==="target"){var m=this.parseIdentifierName();b=new l.MetaProperty(f,m)}else this.throwUnexpectedToken(this.lookahead);else{var y=this.isolateCoverGrammar(this.parseLeftHandSideExpression),x=this.match("(")?this.parseArguments():[];b=new l.NewExpression(y,x),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return this.finalize(d,b)},h.prototype.parseAsyncArgument=function(){var d=this.parseAssignmentExpression();return this.context.firstCoverInitializedNameError=null,d},h.prototype.parseAsyncArguments=function(){this.expect("(");var d=[];if(!this.match(")"))for(;;){var f=this.match("...")?this.parseSpreadElement():this.isolateCoverGrammar(this.parseAsyncArgument);if(d.push(f),this.match(")")||(this.expectCommaSeparator(),this.match(")")))break}return this.expect(")"),d},h.prototype.parseLeftHandSideExpressionAllowCall=function(){var d=this.lookahead,f=this.matchContextualKeyword("async"),b=this.context.allowIn;this.context.allowIn=!0;var m;for(this.matchKeyword("super")&&this.context.inFunctionBody?(m=this.createNode(),this.nextToken(),m=this.finalize(m,new l.Super),!this.match("(")&&!this.match(".")&&!this.match("[")&&this.throwUnexpectedToken(this.lookahead)):m=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.parseIdentifierName();m=this.finalize(this.startNode(d),new l.StaticMemberExpression(m,y))}else if(this.match("(")){var x=f&&d.lineNumber===this.lookahead.lineNumber;this.context.isBindingElement=!1,this.context.isAssignmentTarget=!1;var v=x?this.parseAsyncArguments():this.parseArguments();if(m=this.finalize(this.startNode(d),new l.CallExpression(m,v)),x&&this.match("=>")){for(var E=0;E<v.length;++E)this.reinterpretExpressionAsPattern(v[E]);m={type:i,params:v,async:!0}}}else if(this.match("[")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect("[");var y=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),m=this.finalize(this.startNode(d),new l.ComputedMemberExpression(m,y))}else if(this.lookahead.type===10&&this.lookahead.head){var S=this.parseTemplateLiteral();m=this.finalize(this.startNode(d),new l.TaggedTemplateExpression(m,S))}else break;return this.context.allowIn=b,m},h.prototype.parseSuper=function(){var d=this.createNode();return this.expectKeyword("super"),!this.match("[")&&!this.match(".")&&this.throwUnexpectedToken(this.lookahead),this.finalize(d,new l.Super)},h.prototype.parseLeftHandSideExpression=function(){a.assert(this.context.allowIn,"callee of new expression always allow in keyword.");for(var d=this.startNode(this.lookahead),f=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 b=this.isolateCoverGrammar(this.parseExpression);this.expect("]"),f=this.finalize(d,new l.ComputedMemberExpression(f,b))}else if(this.match(".")){this.context.isBindingElement=!1,this.context.isAssignmentTarget=!0,this.expect(".");var b=this.parseIdentifierName();f=this.finalize(d,new l.StaticMemberExpression(f,b))}else if(this.lookahead.type===10&&this.lookahead.head){var m=this.parseTemplateLiteral();f=this.finalize(d,new l.TaggedTemplateExpression(f,m))}else break;return f},h.prototype.parseUpdateExpression=function(){var d,f=this.lookahead;if(this.match("++")||this.match("--")){var b=this.startNode(f),m=this.nextToken();d=this.inheritCoverGrammar(this.parseUnaryExpression),this.context.strict&&d.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(d.name)&&this.tolerateError(e.Messages.StrictLHSPrefix),this.context.isAssignmentTarget||this.tolerateError(e.Messages.InvalidLHSInAssignment);var y=!0;d=this.finalize(b,new l.UpdateExpression(m.value,d,y)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else if(d=this.inheritCoverGrammar(this.parseLeftHandSideExpressionAllowCall),!this.hasLineTerminator&&this.lookahead.type===7&&(this.match("++")||this.match("--"))){this.context.strict&&d.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(d.name)&&this.tolerateError(e.Messages.StrictLHSPostfix),this.context.isAssignmentTarget||this.tolerateError(e.Messages.InvalidLHSInAssignment),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var x=this.nextToken().value,y=!1;d=this.finalize(this.startNode(f),new l.UpdateExpression(x,d,y))}return d},h.prototype.parseAwaitExpression=function(){var d=this.createNode();this.nextToken();var f=this.parseUnaryExpression();return this.finalize(d,new l.AwaitExpression(f))},h.prototype.parseUnaryExpression=function(){var d;if(this.match("+")||this.match("-")||this.match("~")||this.match("!")||this.matchKeyword("delete")||this.matchKeyword("void")||this.matchKeyword("typeof")){var f=this.startNode(this.lookahead),b=this.nextToken();d=this.inheritCoverGrammar(this.parseUnaryExpression),d=this.finalize(f,new l.UnaryExpression(b.value,d)),this.context.strict&&d.operator==="delete"&&d.argument.type===c.Syntax.Identifier&&this.tolerateError(e.Messages.StrictDelete),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}else this.context.await&&this.matchContextualKeyword("await")?d=this.parseAwaitExpression():d=this.parseUpdateExpression();return d},h.prototype.parseExponentiationExpression=function(){var d=this.lookahead,f=this.inheritCoverGrammar(this.parseUnaryExpression);if(f.type!==c.Syntax.UnaryExpression&&this.match("**")){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var b=f,m=this.isolateCoverGrammar(this.parseExponentiationExpression);f=this.finalize(this.startNode(d),new l.BinaryExpression("**",b,m))}return f},h.prototype.binaryPrecedence=function(d){var f=d.value,b;return d.type===7?b=this.operatorPrecedence[f]||0:d.type===4?b=f==="instanceof"||this.context.allowIn&&f==="in"?7:0:b=0,b},h.prototype.parseBinaryExpression=function(){var d=this.lookahead,f=this.inheritCoverGrammar(this.parseExponentiationExpression),b=this.lookahead,m=this.binaryPrecedence(b);if(m>0){this.nextToken(),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;for(var y=[d,this.lookahead],x=f,v=this.isolateCoverGrammar(this.parseExponentiationExpression),E=[x,b.value,v],S=[m];m=this.binaryPrecedence(this.lookahead),!(m<=0);){for(;E.length>2&&m<=S[S.length-1];){v=E.pop();var _=E.pop();S.pop(),x=E.pop(),y.pop();var A=this.startNode(y[y.length-1]);E.push(this.finalize(A,new l.BinaryExpression(_,x,v)))}E.push(this.nextToken().value),S.push(m),y.push(this.lookahead),E.push(this.isolateCoverGrammar(this.parseExponentiationExpression))}var L=E.length-1;f=E[L];for(var j=y.pop();L>1;){var F=y.pop(),k=j&&j.lineStart,A=this.startNode(F,k),_=E[L-1];f=this.finalize(A,new l.BinaryExpression(_,E[L-2],f)),L-=2,j=F}}return f},h.prototype.parseConditionalExpression=function(){var d=this.lookahead,f=this.inheritCoverGrammar(this.parseBinaryExpression);if(this.match("?")){this.nextToken();var b=this.context.allowIn;this.context.allowIn=!0;var m=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowIn=b,this.expect(":");var y=this.isolateCoverGrammar(this.parseAssignmentExpression);f=this.finalize(this.startNode(d),new l.ConditionalExpression(f,m,y)),this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1}return f},h.prototype.checkPatternParam=function(d,f){switch(f.type){case c.Syntax.Identifier:this.validateParam(d,f,f.name);break;case c.Syntax.RestElement:this.checkPatternParam(d,f.argument);break;case c.Syntax.AssignmentPattern:this.checkPatternParam(d,f.left);break;case c.Syntax.ArrayPattern:for(var b=0;b<f.elements.length;b++)f.elements[b]!==null&&this.checkPatternParam(d,f.elements[b]);break;case c.Syntax.ObjectPattern:for(var b=0;b<f.properties.length;b++)this.checkPatternParam(d,f.properties[b].value);break;default:break}d.simple=d.simple&&f instanceof l.Identifier},h.prototype.reinterpretAsCoverFormalsList=function(d){var f=[d],b,m=!1;switch(d.type){case c.Syntax.Identifier:break;case i:f=d.params,m=d.async;break;default:return null}b={simple:!0,paramSet:{}};for(var y=0;y<f.length;++y){var x=f[y];x.type===c.Syntax.AssignmentPattern?x.right.type===c.Syntax.YieldExpression&&(x.right.argument&&this.throwUnexpectedToken(this.lookahead),x.right.type=c.Syntax.Identifier,x.right.name="yield",delete x.right.argument,delete x.right.delegate):m&&x.type===c.Syntax.Identifier&&x.name==="await"&&this.throwUnexpectedToken(this.lookahead),this.checkPatternParam(b,x),f[y]=x}if(this.context.strict||!this.context.allowYield)for(var y=0;y<f.length;++y){var x=f[y];x.type===c.Syntax.YieldExpression&&this.throwUnexpectedToken(this.lookahead)}if(b.message===e.Messages.StrictParamDupe){var v=this.context.strict?b.stricted:b.firstRestricted;this.throwUnexpectedToken(v,b.message)}return{simple:b.simple,params:f,stricted:b.stricted,firstRestricted:b.firstRestricted,message:b.message}},h.prototype.parseAssignmentExpression=function(){var d;if(!this.context.allowYield&&this.matchKeyword("yield"))d=this.parseYieldExpression();else{var f=this.lookahead,b=f;if(d=this.parseConditionalExpression(),b.type===3&&b.lineNumber===this.lookahead.lineNumber&&b.value==="async"&&(this.lookahead.type===3||this.matchKeyword("yield"))){var m=this.parsePrimaryExpression();this.reinterpretExpressionAsPattern(m),d={type:i,params:[m],async:!0}}if(d.type===i||this.match("=>")){this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1;var y=d.async,x=this.reinterpretAsCoverFormalsList(d);if(x){this.hasLineTerminator&&this.tolerateUnexpectedToken(this.lookahead),this.context.firstCoverInitializedNameError=null;var v=this.context.strict,E=this.context.allowStrictDirective;this.context.allowStrictDirective=x.simple;var S=this.context.allowYield,_=this.context.await;this.context.allowYield=!0,this.context.await=y;var A=this.startNode(f);this.expect("=>");var L=void 0;if(this.match("{")){var j=this.context.allowIn;this.context.allowIn=!0,L=this.parseFunctionSourceElements(),this.context.allowIn=j}else L=this.isolateCoverGrammar(this.parseAssignmentExpression);var F=L.type!==c.Syntax.BlockStatement;this.context.strict&&x.firstRestricted&&this.throwUnexpectedToken(x.firstRestricted,x.message),this.context.strict&&x.stricted&&this.tolerateUnexpectedToken(x.stricted,x.message),d=y?this.finalize(A,new l.AsyncArrowFunctionExpression(x.params,L,F)):this.finalize(A,new l.ArrowFunctionExpression(x.params,L,F)),this.context.strict=v,this.context.allowStrictDirective=E,this.context.allowYield=S,this.context.await=_}}else if(this.matchAssign()){if(this.context.isAssignmentTarget||this.tolerateError(e.Messages.InvalidLHSInAssignment),this.context.strict&&d.type===c.Syntax.Identifier){var k=d;this.scanner.isRestrictedWord(k.name)&&this.tolerateUnexpectedToken(b,e.Messages.StrictLHSAssignment),this.scanner.isStrictModeReservedWord(k.name)&&this.tolerateUnexpectedToken(b,e.Messages.StrictReservedWord)}this.match("=")?this.reinterpretExpressionAsPattern(d):(this.context.isAssignmentTarget=!1,this.context.isBindingElement=!1),b=this.nextToken();var U=b.value,z=this.isolateCoverGrammar(this.parseAssignmentExpression);d=this.finalize(this.startNode(f),new l.AssignmentExpression(U,d,z)),this.context.firstCoverInitializedNameError=null}}return d},h.prototype.parseExpression=function(){var d=this.lookahead,f=this.isolateCoverGrammar(this.parseAssignmentExpression);if(this.match(",")){var b=[];for(b.push(f);this.lookahead.type!==2&&this.match(",");)this.nextToken(),b.push(this.isolateCoverGrammar(this.parseAssignmentExpression));f=this.finalize(this.startNode(d),new l.SequenceExpression(b))}return f},h.prototype.parseStatementListItem=function(){var d;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,e.Messages.IllegalExportDeclaration),d=this.parseExportDeclaration();break;case"import":this.context.isModule||this.tolerateUnexpectedToken(this.lookahead,e.Messages.IllegalImportDeclaration),d=this.parseImportDeclaration();break;case"const":d=this.parseLexicalDeclaration({inFor:!1});break;case"function":d=this.parseFunctionDeclaration();break;case"class":d=this.parseClassDeclaration();break;case"let":d=this.isLexicalDeclaration()?this.parseLexicalDeclaration({inFor:!1}):this.parseStatement();break;default:d=this.parseStatement();break}else d=this.parseStatement();return d},h.prototype.parseBlock=function(){var d=this.createNode();this.expect("{");for(var f=[];!this.match("}");)f.push(this.parseStatementListItem());return this.expect("}"),this.finalize(d,new l.BlockStatement(f))},h.prototype.parseLexicalBinding=function(d,f){var b=this.createNode(),m=[],y=this.parsePattern(m,d);this.context.strict&&y.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(y.name)&&this.tolerateError(e.Messages.StrictVarName);var x=null;return d==="const"?!this.matchKeyword("in")&&!this.matchContextualKeyword("of")&&(this.match("=")?(this.nextToken(),x=this.isolateCoverGrammar(this.parseAssignmentExpression)):this.throwError(e.Messages.DeclarationMissingInitializer,"const")):(!f.inFor&&y.type!==c.Syntax.Identifier||this.match("="))&&(this.expect("="),x=this.isolateCoverGrammar(this.parseAssignmentExpression)),this.finalize(b,new l.VariableDeclarator(y,x))},h.prototype.parseBindingList=function(d,f){for(var b=[this.parseLexicalBinding(d,f)];this.match(",");)this.nextToken(),b.push(this.parseLexicalBinding(d,f));return b},h.prototype.isLexicalDeclaration=function(){var d=this.scanner.saveState();this.scanner.scanComments();var f=this.scanner.lex();return this.scanner.restoreState(d),f.type===3||f.type===7&&f.value==="["||f.type===7&&f.value==="{"||f.type===4&&f.value==="let"||f.type===4&&f.value==="yield"},h.prototype.parseLexicalDeclaration=function(d){var f=this.createNode(),b=this.nextToken().value;a.assert(b==="let"||b==="const","Lexical declaration must be either let or const");var m=this.parseBindingList(b,d);return this.consumeSemicolon(),this.finalize(f,new l.VariableDeclaration(m,b))},h.prototype.parseBindingRestElement=function(d,f){var b=this.createNode();this.expect("...");var m=this.parsePattern(d,f);return this.finalize(b,new l.RestElement(m))},h.prototype.parseArrayPattern=function(d,f){var b=this.createNode();this.expect("[");for(var m=[];!this.match("]");)if(this.match(","))this.nextToken(),m.push(null);else{if(this.match("...")){m.push(this.parseBindingRestElement(d,f));break}else m.push(this.parsePatternWithDefault(d,f));this.match("]")||this.expect(",")}return this.expect("]"),this.finalize(b,new l.ArrayPattern(m))},h.prototype.parsePropertyPattern=function(d,f){var b=this.createNode(),m=!1,y=!1,x=!1,v,E;if(this.lookahead.type===3){var S=this.lookahead;v=this.parseVariableIdentifier();var _=this.finalize(b,new l.Identifier(S.value));if(this.match("=")){d.push(S),y=!0,this.nextToken();var A=this.parseAssignmentExpression();E=this.finalize(this.startNode(S),new l.AssignmentPattern(_,A))}else this.match(":")?(this.expect(":"),E=this.parsePatternWithDefault(d,f)):(d.push(S),y=!0,E=_)}else m=this.match("["),v=this.parseObjectPropertyKey(),this.expect(":"),E=this.parsePatternWithDefault(d,f);return this.finalize(b,new l.Property("init",v,m,E,x,y))},h.prototype.parseObjectPattern=function(d,f){var b=this.createNode(),m=[];for(this.expect("{");!this.match("}");)m.push(this.parsePropertyPattern(d,f)),this.match("}")||this.expect(",");return this.expect("}"),this.finalize(b,new l.ObjectPattern(m))},h.prototype.parsePattern=function(d,f){var b;return this.match("[")?b=this.parseArrayPattern(d,f):this.match("{")?b=this.parseObjectPattern(d,f):(this.matchKeyword("let")&&(f==="const"||f==="let")&&this.tolerateUnexpectedToken(this.lookahead,e.Messages.LetInLexicalBinding),d.push(this.lookahead),b=this.parseVariableIdentifier(f)),b},h.prototype.parsePatternWithDefault=function(d,f){var b=this.lookahead,m=this.parsePattern(d,f);if(this.match("=")){this.nextToken();var y=this.context.allowYield;this.context.allowYield=!0;var x=this.isolateCoverGrammar(this.parseAssignmentExpression);this.context.allowYield=y,m=this.finalize(this.startNode(b),new l.AssignmentPattern(m,x))}return m},h.prototype.parseVariableIdentifier=function(d){var f=this.createNode(),b=this.nextToken();return b.type===4&&b.value==="yield"?this.context.strict?this.tolerateUnexpectedToken(b,e.Messages.StrictReservedWord):this.context.allowYield||this.throwUnexpectedToken(b):b.type!==3?this.context.strict&&b.type===4&&this.scanner.isStrictModeReservedWord(b.value)?this.tolerateUnexpectedToken(b,e.Messages.StrictReservedWord):(this.context.strict||b.value!=="let"||d!=="var")&&this.throwUnexpectedToken(b):(this.context.isModule||this.context.await)&&b.type===3&&b.value==="await"&&this.tolerateUnexpectedToken(b),this.finalize(f,new l.Identifier(b.value))},h.prototype.parseVariableDeclaration=function(d){var f=this.createNode(),b=[],m=this.parsePattern(b,"var");this.context.strict&&m.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(m.name)&&this.tolerateError(e.Messages.StrictVarName);var y=null;return this.match("=")?(this.nextToken(),y=this.isolateCoverGrammar(this.parseAssignmentExpression)):m.type!==c.Syntax.Identifier&&!d.inFor&&this.expect("="),this.finalize(f,new l.VariableDeclarator(m,y))},h.prototype.parseVariableDeclarationList=function(d){var f={inFor:d.inFor},b=[];for(b.push(this.parseVariableDeclaration(f));this.match(",");)this.nextToken(),b.push(this.parseVariableDeclaration(f));return b},h.prototype.parseVariableStatement=function(){var d=this.createNode();this.expectKeyword("var");var f=this.parseVariableDeclarationList({inFor:!1});return this.consumeSemicolon(),this.finalize(d,new l.VariableDeclaration(f,"var"))},h.prototype.parseEmptyStatement=function(){var d=this.createNode();return this.expect(";"),this.finalize(d,new l.EmptyStatement)},h.prototype.parseExpressionStatement=function(){var d=this.createNode(),f=this.parseExpression();return this.consumeSemicolon(),this.finalize(d,new l.ExpressionStatement(f))},h.prototype.parseIfClause=function(){return this.context.strict&&this.matchKeyword("function")&&this.tolerateError(e.Messages.StrictFunction),this.parseStatement()},h.prototype.parseIfStatement=function(){var d=this.createNode(),f,b=null;this.expectKeyword("if"),this.expect("(");var m=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),f=this.finalize(this.createNode(),new l.EmptyStatement)):(this.expect(")"),f=this.parseIfClause(),this.matchKeyword("else")&&(this.nextToken(),b=this.parseIfClause())),this.finalize(d,new l.IfStatement(m,f,b))},h.prototype.parseDoWhileStatement=function(){var d=this.createNode();this.expectKeyword("do");var f=this.context.inIteration;this.context.inIteration=!0;var b=this.parseStatement();this.context.inIteration=f,this.expectKeyword("while"),this.expect("(");var m=this.parseExpression();return!this.match(")")&&this.config.tolerant?this.tolerateUnexpectedToken(this.nextToken()):(this.expect(")"),this.match(";")&&this.nextToken()),this.finalize(d,new l.DoWhileStatement(b,m))},h.prototype.parseWhileStatement=function(){var d=this.createNode(),f;this.expectKeyword("while"),this.expect("(");var b=this.parseExpression();if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),f=this.finalize(this.createNode(),new l.EmptyStatement);else{this.expect(")");var m=this.context.inIteration;this.context.inIteration=!0,f=this.parseStatement(),this.context.inIteration=m}return this.finalize(d,new l.WhileStatement(b,f))},h.prototype.parseForStatement=function(){var d=null,f=null,b=null,m=!0,y,x,v=this.createNode();if(this.expectKeyword("for"),this.expect("("),this.match(";"))this.nextToken();else if(this.matchKeyword("var")){d=this.createNode(),this.nextToken();var E=this.context.allowIn;this.context.allowIn=!1;var S=this.parseVariableDeclarationList({inFor:!0});if(this.context.allowIn=E,S.length===1&&this.matchKeyword("in")){var _=S[0];_.init&&(_.id.type===c.Syntax.ArrayPattern||_.id.type===c.Syntax.ObjectPattern||this.context.strict)&&this.tolerateError(e.Messages.ForInOfLoopInitializer,"for-in"),d=this.finalize(d,new l.VariableDeclaration(S,"var")),this.nextToken(),y=d,x=this.parseExpression(),d=null}else S.length===1&&S[0].init===null&&this.matchContextualKeyword("of")?(d=this.finalize(d,new l.VariableDeclaration(S,"var")),this.nextToken(),y=d,x=this.parseAssignmentExpression(),d=null,m=!1):(d=this.finalize(d,new l.VariableDeclaration(S,"var")),this.expect(";"))}else if(this.matchKeyword("const")||this.matchKeyword("let")){d=this.createNode();var A=this.nextToken().value;if(!this.context.strict&&this.lookahead.value==="in")d=this.finalize(d,new l.Identifier(A)),this.nextToken(),y=d,x=this.parseExpression(),d=null;else{var E=this.context.allowIn;this.context.allowIn=!1;var S=this.parseBindingList(A,{inFor:!0});this.context.allowIn=E,S.length===1&&S[0].init===null&&this.matchKeyword("in")?(d=this.finalize(d,new l.VariableDeclaration(S,A)),this.nextToken(),y=d,x=this.parseExpression(),d=null):S.length===1&&S[0].init===null&&this.matchContextualKeyword("of")?(d=this.finalize(d,new l.VariableDeclaration(S,A)),this.nextToken(),y=d,x=this.parseAssignmentExpression(),d=null,m=!1):(this.consumeSemicolon(),d=this.finalize(d,new l.VariableDeclaration(S,A)))}}else{var L=this.lookahead,E=this.context.allowIn;if(this.context.allowIn=!1,d=this.inheritCoverGrammar(this.parseAssignmentExpression),this.context.allowIn=E,this.matchKeyword("in"))(!this.context.isAssignmentTarget||d.type===c.Syntax.AssignmentExpression)&&this.tolerateError(e.Messages.InvalidLHSInForIn),this.nextToken(),this.reinterpretExpressionAsPattern(d),y=d,x=this.parseExpression(),d=null;else if(this.matchContextualKeyword("of"))(!this.context.isAssignmentTarget||d.type===c.Syntax.AssignmentExpression)&&this.tolerateError(e.Messages.InvalidLHSInForLoop),this.nextToken(),this.reinterpretExpressionAsPattern(d),y=d,x=this.parseAssignmentExpression(),d=null,m=!1;else{if(this.match(",")){for(var j=[d];this.match(",");)this.nextToken(),j.push(this.isolateCoverGrammar(this.parseAssignmentExpression));d=this.finalize(this.startNode(L),new l.SequenceExpression(j))}this.expect(";")}}typeof y>"u"&&(this.match(";")||(f=this.parseExpression()),this.expect(";"),this.match(")")||(b=this.parseExpression()));var F;if(!this.match(")")&&this.config.tolerant)this.tolerateUnexpectedToken(this.nextToken()),F=this.finalize(this.createNode(),new l.EmptyStatement);else{this.expect(")");var k=this.context.inIteration;this.context.inIteration=!0,F=this.isolateCoverGrammar(this.parseStatement),this.context.inIteration=k}return typeof y>"u"?this.finalize(v,new l.ForStatement(d,f,b,F)):m?this.finalize(v,new l.ForInStatement(y,x,F)):this.finalize(v,new l.ForOfStatement(y,x,F))},h.prototype.parseContinueStatement=function(){var d=this.createNode();this.expectKeyword("continue");var f=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var b=this.parseVariableIdentifier();f=b;var m="$"+b.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,m)||this.throwError(e.Messages.UnknownLabel,b.name)}return this.consumeSemicolon(),f===null&&!this.context.inIteration&&this.throwError(e.Messages.IllegalContinue),this.finalize(d,new l.ContinueStatement(f))},h.prototype.parseBreakStatement=function(){var d=this.createNode();this.expectKeyword("break");var f=null;if(this.lookahead.type===3&&!this.hasLineTerminator){var b=this.parseVariableIdentifier(),m="$"+b.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,m)||this.throwError(e.Messages.UnknownLabel,b.name),f=b}return this.consumeSemicolon(),f===null&&!this.context.inIteration&&!this.context.inSwitch&&this.throwError(e.Messages.IllegalBreak),this.finalize(d,new l.BreakStatement(f))},h.prototype.parseReturnStatement=function(){this.context.inFunctionBody||this.tolerateError(e.Messages.IllegalReturn);var d=this.createNode();this.expectKeyword("return");var f=!this.match(";")&&!this.match("}")&&!this.hasLineTerminator&&this.lookahead.type!==2||this.lookahead.type===8||this.lookahead.type===10,b=f?this.parseExpression():null;return this.consumeSemicolon(),this.finalize(d,new l.ReturnStatement(b))},h.prototype.parseWithStatement=function(){this.context.strict&&this.tolerateError(e.Messages.StrictModeWith);var d=this.createNode(),f;this.expectKeyword("with"),this.expect("(");var b=this.parseExpression();return!this.match(")")&&this.config.tolerant?(this.tolerateUnexpectedToken(this.nextToken()),f=this.finalize(this.createNode(),new l.EmptyStatement)):(this.expect(")"),f=this.parseStatement()),this.finalize(d,new l.WithStatement(b,f))},h.prototype.parseSwitchCase=function(){var d=this.createNode(),f;this.matchKeyword("default")?(this.nextToken(),f=null):(this.expectKeyword("case"),f=this.parseExpression()),this.expect(":");for(var b=[];!(this.match("}")||this.matchKeyword("default")||this.matchKeyword("case"));)b.push(this.parseStatementListItem());return this.finalize(d,new l.SwitchCase(f,b))},h.prototype.parseSwitchStatement=function(){var d=this.createNode();this.expectKeyword("switch"),this.expect("(");var f=this.parseExpression();this.expect(")");var b=this.context.inSwitch;this.context.inSwitch=!0;var m=[],y=!1;for(this.expect("{");!this.match("}");){var x=this.parseSwitchCase();x.test===null&&(y&&this.throwError(e.Messages.MultipleDefaultsInSwitch),y=!0),m.push(x)}return this.expect("}"),this.context.inSwitch=b,this.finalize(d,new l.SwitchStatement(f,m))},h.prototype.parseLabelledStatement=function(){var d=this.createNode(),f=this.parseExpression(),b;if(f.type===c.Syntax.Identifier&&this.match(":")){this.nextToken();var m=f,y="$"+m.name;Object.prototype.hasOwnProperty.call(this.context.labelSet,y)&&this.throwError(e.Messages.Redeclaration,"Label",m.name),this.context.labelSet[y]=!0;var x=void 0;if(this.matchKeyword("class"))this.tolerateUnexpectedToken(this.lookahead),x=this.parseClassDeclaration();else if(this.matchKeyword("function")){var v=this.lookahead,E=this.parseFunctionDeclaration();this.context.strict?this.tolerateUnexpectedToken(v,e.Messages.StrictFunction):E.generator&&this.tolerateUnexpectedToken(v,e.Messages.GeneratorInLegacyContext),x=E}else x=this.parseStatement();delete this.context.labelSet[y],b=new l.LabeledStatement(m,x)}else this.consumeSemicolon(),b=new l.ExpressionStatement(f);return this.finalize(d,b)},h.prototype.parseThrowStatement=function(){var d=this.createNode();this.expectKeyword("throw"),this.hasLineTerminator&&this.throwError(e.Messages.NewlineAfterThrow);var f=this.parseExpression();return this.consumeSemicolon(),this.finalize(d,new l.ThrowStatement(f))},h.prototype.parseCatchClause=function(){var d=this.createNode();this.expectKeyword("catch"),this.expect("("),this.match(")")&&this.throwUnexpectedToken(this.lookahead);for(var f=[],b=this.parsePattern(f),m={},y=0;y<f.length;y++){var x="$"+f[y].value;Object.prototype.hasOwnProperty.call(m,x)&&this.tolerateError(e.Messages.DuplicateBinding,f[y].value),m[x]=!0}this.context.strict&&b.type===c.Syntax.Identifier&&this.scanner.isRestrictedWord(b.name)&&this.tolerateError(e.Messages.StrictCatchVariable),this.expect(")");var v=this.parseBlock();return this.finalize(d,new l.CatchClause(b,v))},h.prototype.parseFinallyClause=function(){return this.expectKeyword("finally"),this.parseBlock()},h.prototype.parseTryStatement=function(){var d=this.createNode();this.expectKeyword("try");var f=this.parseBlock(),b=this.matchKeyword("catch")?this.parseCatchClause():null,m=this.matchKeyword("finally")?this.parseFinallyClause():null;return!b&&!m&&this.throwError(e.Messages.NoCatchOrFinally),this.finalize(d,new l.TryStatement(f,b,m))},h.prototype.parseDebuggerStatement=function(){var d=this.createNode();return this.expectKeyword("debugger"),this.consumeSemicolon(),this.finalize(d,new l.DebuggerStatement)},h.prototype.parseStatement=function(){var d;switch(this.lookahead.type){case 1:case 5:case 6:case 8:case 10:case 9:d=this.parseExpressionStatement();break;case 7:var f=this.lookahead.value;f==="{"?d=this.parseBlock():f==="("?d=this.parseExpressionStatement():f===";"?d=this.parseEmptyStatement():d=this.parseExpressionStatement();break;case 3:d=this.matchAsyncFunction()?this.parseFunctionDeclaration():this.parseLabelledStatement();break;case 4:switch(this.lookahead.value){case"break":d=this.parseBreakStatement();break;case"continue":d=this.parseContinueStatement();break;case"debugger":d=this.parseDebuggerStatement();break;case"do":d=this.parseDoWhileStatement();break;case"for":d=this.parseForStatement();break;case"function":d=this.parseFunctionDeclaration();break;case"if":d=this.parseIfStatement();break;case"return":d=this.parseReturnStatement();break;case"switch":d=this.parseSwitchStatement();break;case"throw":d=this.parseThrowStatement();break;case"try":d=this.parseTryStatement();break;case"var":d=this.parseVariableStatement();break;case"while":d=this.parseWhileStatement();break;case"with":d=this.parseWithStatement();break;default:d=this.parseExpressionStatement();break}break;default:d=this.throwUnexpectedToken(this.lookahead)}return d},h.prototype.parseFunctionSourceElements=function(){var d=this.createNode();this.expect("{");var f=this.parseDirectivePrologues(),b=this.context.labelSet,m=this.context.inIteration,y=this.context.inSwitch,x=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("}");)f.push(this.parseStatementListItem());return this.expect("}"),this.context.labelSet=b,this.context.inIteration=m,this.context.inSwitch=y,this.context.inFunctionBody=x,this.finalize(d,new l.BlockStatement(f))},h.prototype.validateParam=function(d,f,b){var m="$"+b;this.context.strict?(this.scanner.isRestrictedWord(b)&&(d.stricted=f,d.message=e.Messages.StrictParamName),Object.prototype.hasOwnProperty.call(d.paramSet,m)&&(d.stricted=f,d.message=e.Messages.StrictParamDupe)):d.firstRestricted||(this.scanner.isRestrictedWord(b)?(d.firstRestricted=f,d.message=e.Messages.StrictParamName):this.scanner.isStrictModeReservedWord(b)?(d.firstRestricted=f,d.message=e.Messages.StrictReservedWord):Object.prototype.hasOwnProperty.call(d.paramSet,m)&&(d.stricted=f,d.message=e.Messages.StrictParamDupe)),typeof Object.defineProperty=="function"?Object.defineProperty(d.paramSet,m,{value:!0,enumerable:!0,writable:!0,configurable:!0}):d.paramSet[m]=!0},h.prototype.parseRestElement=function(d){var f=this.createNode();this.expect("...");var b=this.parsePattern(d);return this.match("=")&&this.throwError(e.Messages.DefaultRestParameter),this.match(")")||this.throwError(e.Messages.ParameterAfterRestParameter),this.finalize(f,new l.RestElement(b))},h.prototype.parseFormalParameter=function(d){for(var f=[],b=this.match("...")?this.parseRestElement(f):this.parsePatternWithDefault(f),m=0;m<f.length;m++)this.validateParam(d,f[m],f[m].value);d.simple=d.simple&&b instanceof l.Identifier,d.params.push(b)},h.prototype.parseFormalParameters=function(d){var f;if(f={simple:!0,params:[],firstRestricted:d},this.expect("("),!this.match(")"))for(f.paramSet={};this.lookahead.type!==2&&(this.parseFormalParameter(f),!(this.match(")")||(this.expect(","),this.match(")")))););return this.expect(")"),{simple:f.simple,params:f.params,stricted:f.stricted,firstRestricted:f.firstRestricted,message:f.message}},h.prototype.matchAsyncFunction=function(){var d=this.matchContextualKeyword("async");if(d){var f=this.scanner.saveState();this.scanner.scanComments();var b=this.scanner.lex();this.scanner.restoreState(f),d=f.lineNumber===b.lineNumber&&b.type===4&&b.value==="function"}return d},h.prototype.parseFunctionDeclaration=function(d){var f=this.createNode(),b=this.matchContextualKeyword("async");b&&this.nextToken(),this.expectKeyword("function");var m=b?!1:this.match("*");m&&this.nextToken();var y,x=null,v=null;if(!d||!this.match("(")){var E=this.lookahead;x=this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(E.value)&&this.tolerateUnexpectedToken(E,e.Messages.StrictFunctionName):this.scanner.isRestrictedWord(E.value)?(v=E,y=e.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(E.value)&&(v=E,y=e.Messages.StrictReservedWord)}var S=this.context.await,_=this.context.allowYield;this.context.await=b,this.context.allowYield=!m;var A=this.parseFormalParameters(v),L=A.params,j=A.stricted;v=A.firstRestricted,A.message&&(y=A.message);var F=this.context.strict,k=this.context.allowStrictDirective;this.context.allowStrictDirective=A.simple;var U=this.parseFunctionSourceElements();return this.context.strict&&v&&this.throwUnexpectedToken(v,y),this.context.strict&&j&&this.tolerateUnexpectedToken(j,y),this.context.strict=F,this.context.allowStrictDirective=k,this.context.await=S,this.context.allowYield=_,b?this.finalize(f,new l.AsyncFunctionDeclaration(x,L,U)):this.finalize(f,new l.FunctionDeclaration(x,L,U,m))},h.prototype.parseFunctionExpression=function(){var d=this.createNode(),f=this.matchContextualKeyword("async");f&&this.nextToken(),this.expectKeyword("function");var b=f?!1:this.match("*");b&&this.nextToken();var m,y=null,x,v=this.context.await,E=this.context.allowYield;if(this.context.await=f,this.context.allowYield=!b,!this.match("(")){var S=this.lookahead;y=!this.context.strict&&!b&&this.matchKeyword("yield")?this.parseIdentifierName():this.parseVariableIdentifier(),this.context.strict?this.scanner.isRestrictedWord(S.value)&&this.tolerateUnexpectedToken(S,e.Messages.StrictFunctionName):this.scanner.isRestrictedWord(S.value)?(x=S,m=e.Messages.StrictFunctionName):this.scanner.isStrictModeReservedWord(S.value)&&(x=S,m=e.Messages.StrictReservedWord)}var _=this.parseFormalParameters(x),A=_.params,L=_.stricted;x=_.firstRestricted,_.message&&(m=_.message);var j=this.context.strict,F=this.context.allowStrictDirective;this.context.allowStrictDirective=_.simple;var k=this.parseFunctionSourceElements();return this.context.strict&&x&&this.throwUnexpectedToken(x,m),this.context.strict&&L&&this.tolerateUnexpectedToken(L,m),this.context.strict=j,this.context.allowStrictDirective=F,this.context.await=v,this.context.allowYield=E,f?this.finalize(d,new l.AsyncFunctionExpression(y,A,k)):this.finalize(d,new l.FunctionExpression(y,A,k,b))},h.prototype.parseDirective=function(){var d=this.lookahead,f=this.createNode(),b=this.parseExpression(),m=b.type===c.Syntax.Literal?this.getTokenRaw(d).slice(1,-1):null;return this.consumeSemicolon(),this.finalize(f,m?new l.Directive(b,m):new l.ExpressionStatement(b))},h.prototype.parseDirectivePrologues=function(){for(var d=null,f=[];;){var b=this.lookahead;if(b.type!==8)break;var m=this.parseDirective();f.push(m);var y=m.directive;if(typeof y!="string")break;y==="use strict"?(this.context.strict=!0,d&&this.tolerateUnexpectedToken(d,e.Messages.StrictOctalLiteral),this.context.allowStrictDirective||this.tolerateUnexpectedToken(b,e.Messages.IllegalLanguageModeDirective)):!d&&b.octal&&(d=b)}return f},h.prototype.qualifiedPropertyName=function(d){switch(d.type){case 3:case 8:case 1:case 5:case 6:case 4:return!0;case 7:return d.value==="[";default:break}return!1},h.prototype.parseGetterMethod=function(){var d=this.createNode(),f=!1,b=this.context.allowYield;this.context.allowYield=!f;var m=this.parseFormalParameters();m.params.length>0&&this.tolerateError(e.Messages.BadGetterArity);var y=this.parsePropertyMethod(m);return this.context.allowYield=b,this.finalize(d,new l.FunctionExpression(null,m.params,y,f))},h.prototype.parseSetterMethod=function(){var d=this.createNode(),f=!1,b=this.context.allowYield;this.context.allowYield=!f;var m=this.parseFormalParameters();m.params.length!==1?this.tolerateError(e.Messages.BadSetterArity):m.params[0]instanceof l.RestElement&&this.tolerateError(e.Messages.BadSetterRestParameter);var y=this.parsePropertyMethod(m);return this.context.allowYield=b,this.finalize(d,new l.FunctionExpression(null,m.params,y,f))},h.prototype.parseGeneratorMethod=function(){var d=this.createNode(),f=!0,b=this.context.allowYield;this.context.allowYield=!0;var m=this.parseFormalParameters();this.context.allowYield=!1;var y=this.parsePropertyMethod(m);return this.context.allowYield=b,this.finalize(d,new l.FunctionExpression(null,m.params,y,f))},h.prototype.isStartOfExpression=function(){var d=!0,f=this.lookahead.value;switch(this.lookahead.type){case 7:d=f==="["||f==="("||f==="{"||f==="+"||f==="-"||f==="!"||f==="~"||f==="++"||f==="--"||f==="/"||f==="/=";break;case 4:d=f==="class"||f==="delete"||f==="function"||f==="let"||f==="new"||f==="super"||f==="this"||f==="typeof"||f==="void"||f==="yield";break;default:break}return d},h.prototype.parseYieldExpression=function(){var d=this.createNode();this.expectKeyword("yield");var f=null,b=!1;if(!this.hasLineTerminator){var m=this.context.allowYield;this.context.allowYield=!1,b=this.match("*"),b?(this.nextToken(),f=this.parseAssignmentExpression()):this.isStartOfExpression()&&(f=this.parseAssignmentExpression()),this.context.allowYield=m}return this.finalize(d,new l.YieldExpression(f,b))},h.prototype.parseClassElement=function(d){var f=this.lookahead,b=this.createNode(),m="",y=null,x=null,v=!1,E=!1,S=!1,_=!1;if(this.match("*"))this.nextToken();else{v=this.match("["),y=this.parseObjectPropertyKey();var A=y;if(A.name==="static"&&(this.qualifiedPropertyName(this.lookahead)||this.match("*"))&&(f=this.lookahead,S=!0,v=this.match("["),this.match("*")?this.nextToken():y=this.parseObjectPropertyKey()),f.type===3&&!this.hasLineTerminator&&f.value==="async"){var L=this.lookahead.value;L!==":"&&L!=="("&&L!=="*"&&(_=!0,f=this.lookahead,y=this.parseObjectPropertyKey(),f.type===3&&f.value==="constructor"&&this.tolerateUnexpectedToken(f,e.Messages.ConstructorIsAsync))}}var j=this.qualifiedPropertyName(this.lookahead);return f.type===3?f.value==="get"&&j?(m="get",v=this.match("["),y=this.parseObjectPropertyKey(),this.context.allowYield=!1,x=this.parseGetterMethod()):f.value==="set"&&j&&(m="set",v=this.match("["),y=this.parseObjectPropertyKey(),x=this.parseSetterMethod()):f.type===7&&f.value==="*"&&j&&(m="init",v=this.match("["),y=this.parseObjectPropertyKey(),x=this.parseGeneratorMethod(),E=!0),!m&&y&&this.match("(")&&(m="init",x=_?this.parsePropertyMethodAsyncFunction():this.parsePropertyMethodFunction(),E=!0),m||this.throwUnexpectedToken(this.lookahead),m==="init"&&(m="method"),v||(S&&this.isPropertyKey(y,"prototype")&&this.throwUnexpectedToken(f,e.Messages.StaticPrototype),!S&&this.isPropertyKey(y,"constructor")&&((m!=="method"||!E||x&&x.generator)&&this.throwUnexpectedToken(f,e.Messages.ConstructorSpecialMethod),d.value?this.throwUnexpectedToken(f,e.Messages.DuplicateConstructor):d.value=!0,m="constructor")),this.finalize(b,new l.MethodDefinition(y,v,x,m,S))},h.prototype.parseClassElementList=function(){var d=[],f={value:!1};for(this.expect("{");!this.match("}");)this.match(";")?this.nextToken():d.push(this.parseClassElement(f));return this.expect("}"),d},h.prototype.parseClassBody=function(){var d=this.createNode(),f=this.parseClassElementList();return this.finalize(d,new l.ClassBody(f))},h.prototype.parseClassDeclaration=function(d){var f=this.createNode(),b=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var m=d&&this.lookahead.type!==3?null:this.parseVariableIdentifier(),y=null;this.matchKeyword("extends")&&(this.nextToken(),y=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var x=this.parseClassBody();return this.context.strict=b,this.finalize(f,new l.ClassDeclaration(m,y,x))},h.prototype.parseClassExpression=function(){var d=this.createNode(),f=this.context.strict;this.context.strict=!0,this.expectKeyword("class");var b=this.lookahead.type===3?this.parseVariableIdentifier():null,m=null;this.matchKeyword("extends")&&(this.nextToken(),m=this.isolateCoverGrammar(this.parseLeftHandSideExpressionAllowCall));var y=this.parseClassBody();return this.context.strict=f,this.finalize(d,new l.ClassExpression(b,m,y))},h.prototype.parseModule=function(){this.context.strict=!0,this.context.isModule=!0,this.scanner.isModule=!0;for(var d=this.createNode(),f=this.parseDirectivePrologues();this.lookahead.type!==2;)f.push(this.parseStatementListItem());return this.finalize(d,new l.Module(f))},h.prototype.parseScript=function(){for(var d=this.createNode(),f=this.parseDirectivePrologues();this.lookahead.type!==2;)f.push(this.parseStatementListItem());return this.finalize(d,new l.Script(f))},h.prototype.parseModuleSpecifier=function(){var d=this.createNode();this.lookahead.type!==8&&this.throwError(e.Messages.InvalidModuleSpecifier);var f=this.nextToken(),b=this.getTokenRaw(f);return this.finalize(d,new l.Literal(f.value,b))},h.prototype.parseImportSpecifier=function(){var d=this.createNode(),f,b;return this.lookahead.type===3?(f=this.parseVariableIdentifier(),b=f,this.matchContextualKeyword("as")&&(this.nextToken(),b=this.parseVariableIdentifier())):(f=this.parseIdentifierName(),b=f,this.matchContextualKeyword("as")?(this.nextToken(),b=this.parseVariableIdentifier()):this.throwUnexpectedToken(this.nextToken())),this.finalize(d,new l.ImportSpecifier(b,f))},h.prototype.parseNamedImports=function(){this.expect("{");for(var d=[];!this.match("}");)d.push(this.parseImportSpecifier()),this.match("}")||this.expect(",");return this.expect("}"),d},h.prototype.parseImportDefaultSpecifier=function(){var d=this.createNode(),f=this.parseIdentifierName();return this.finalize(d,new l.ImportDefaultSpecifier(f))},h.prototype.parseImportNamespaceSpecifier=function(){var d=this.createNode();this.expect("*"),this.matchContextualKeyword("as")||this.throwError(e.Messages.NoAsAfterImportNamespace),this.nextToken();var f=this.parseIdentifierName();return this.finalize(d,new l.ImportNamespaceSpecifier(f))},h.prototype.parseImportDeclaration=function(){this.context.inFunctionBody&&this.throwError(e.Messages.IllegalImportDeclaration);var d=this.createNode();this.expectKeyword("import");var f,b=[];if(this.lookahead.type===8)f=this.parseModuleSpecifier();else{if(this.match("{")?b=b.concat(this.parseNamedImports()):this.match("*")?b.push(this.parseImportNamespaceSpecifier()):this.isIdentifierName(this.lookahead)&&!this.matchKeyword("default")?(b.push(this.parseImportDefaultSpecifier()),this.match(",")&&(this.nextToken(),this.match("*")?b.push(this.parseImportNamespaceSpecifier()):this.match("{")?b=b.concat(this.parseNamedImports()):this.throwUnexpectedToken(this.lookahead))):this.throwUnexpectedToken(this.nextToken()),!this.matchContextualKeyword("from")){var m=this.lookahead.value?e.Messages.UnexpectedToken:e.Messages.MissingFromClause;this.throwError(m,this.lookahead.value)}this.nextToken(),f=this.parseModuleSpecifier()}return this.consumeSemicolon(),this.finalize(d,new l.ImportDeclaration(b,f))},h.prototype.parseExportSpecifier=function(){var d=this.createNode(),f=this.parseIdentifierName(),b=f;return this.matchContextualKeyword("as")&&(this.nextToken(),b=this.parseIdentifierName()),this.finalize(d,new l.ExportSpecifier(f,b))},h.prototype.parseExportDeclaration=function(){this.context.inFunctionBody&&this.throwError(e.Messages.IllegalExportDeclaration);var d=this.createNode();this.expectKeyword("export");var f;if(this.matchKeyword("default"))if(this.nextToken(),this.matchKeyword("function")){var b=this.parseFunctionDeclaration(!0);f=this.finalize(d,new l.ExportDefaultDeclaration(b))}else if(this.matchKeyword("class")){var b=this.parseClassDeclaration(!0);f=this.finalize(d,new l.ExportDefaultDeclaration(b))}else if(this.matchContextualKeyword("async")){var b=this.matchAsyncFunction()?this.parseFunctionDeclaration(!0):this.parseAssignmentExpression();f=this.finalize(d,new l.ExportDefaultDeclaration(b))}else{this.matchContextualKeyword("from")&&this.throwError(e.Messages.UnexpectedToken,this.lookahead.value);var b=this.match("{")?this.parseObjectInitializer():this.match("[")?this.parseArrayInitializer():this.parseAssignmentExpression();this.consumeSemicolon(),f=this.finalize(d,new l.ExportDefaultDeclaration(b))}else if(this.match("*")){if(this.nextToken(),!this.matchContextualKeyword("from")){var m=this.lookahead.value?e.Messages.UnexpectedToken:e.Messages.MissingFromClause;this.throwError(m,this.lookahead.value)}this.nextToken();var y=this.parseModuleSpecifier();this.consumeSemicolon(),f=this.finalize(d,new l.ExportAllDeclaration(y))}else if(this.lookahead.type===4){var b=void 0;switch(this.lookahead.value){case"let":case"const":b=this.parseLexicalDeclaration({inFor:!1});break;case"var":case"class":case"function":b=this.parseStatementListItem();break;default:this.throwUnexpectedToken(this.lookahead)}f=this.finalize(d,new l.ExportNamedDeclaration(b,[],null))}else if(this.matchAsyncFunction()){var b=this.parseFunctionDeclaration();f=this.finalize(d,new l.ExportNamedDeclaration(b,[],null))}else{var x=[],v=null,E=!1;for(this.expect("{");!this.match("}");)E=E||this.matchKeyword("default"),x.push(this.parseExportSpecifier()),this.match("}")||this.expect(",");if(this.expect("}"),this.matchContextualKeyword("from"))this.nextToken(),v=this.parseModuleSpecifier(),this.consumeSemicolon();else if(E){var m=this.lookahead.value?e.Messages.UnexpectedToken:e.Messages.MissingFromClause;this.throwError(m,this.lookahead.value)}else this.consumeSemicolon();f=this.finalize(d,new l.ExportNamedDeclaration(null,x,v))}return f},h})();r.Parser=o},function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});function s(a,u){if(!a)throw new Error("ASSERT: "+u)}r.assert=s},function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var s=(function(){function a(){this.errors=[],this.tolerant=!1}return a.prototype.recordError=function(u){this.errors.push(u)},a.prototype.tolerate=function(u){if(this.tolerant)this.recordError(u);else throw u},a.prototype.constructError=function(u,e){var l=new Error(u);try{throw l}catch(n){Object.create&&Object.defineProperty&&(l=Object.create(n),Object.defineProperty(l,"column",{value:e}))}return l},a.prototype.createError=function(u,e,l,n){var c="Line "+e+": "+n,p=this.constructError(c,l);return p.index=u,p.lineNumber=e,p.description=n,p},a.prototype.throwError=function(u,e,l,n){throw this.createError(u,e,l,n)},a.prototype.tolerateError=function(u,e,l,n){var c=this.createError(u,e,l,n);if(this.tolerant)this.recordError(c);else throw c},a})();r.ErrorHandler=s},function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.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(t,r,s){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=s(9),u=s(4),e=s(11);function l(p){return"0123456789abcdef".indexOf(p.toLowerCase())}function n(p){return"01234567".indexOf(p)}var c=(function(){function p(i,o){this.source=i,this.errorHandler=o,this.trackComment=!1,this.isModule=!1,this.length=i.length,this.index=0,this.lineNumber=i.length>0?1:0,this.lineStart=0,this.curlyStack=[]}return p.prototype.saveState=function(){return{index:this.index,lineNumber:this.lineNumber,lineStart:this.lineStart}},p.prototype.restoreState=function(i){this.index=i.index,this.lineNumber=i.lineNumber,this.lineStart=i.lineStart},p.prototype.eof=function(){return this.index>=this.length},p.prototype.throwUnexpectedToken=function(i){return i===void 0&&(i=e.Messages.UnexpectedTokenIllegal),this.errorHandler.throwError(this.index,this.lineNumber,this.index-this.lineStart+1,i)},p.prototype.tolerateUnexpectedToken=function(i){i===void 0&&(i=e.Messages.UnexpectedTokenIllegal),this.errorHandler.tolerateError(this.index,this.lineNumber,this.index-this.lineStart+1,i)},p.prototype.skipSingleLineComment=function(i){var o=[],h,d;for(this.trackComment&&(o=[],h=this.index-i,d={start:{line:this.lineNumber,column:this.index-this.lineStart-i},end:{}});!this.eof();){var f=this.source.charCodeAt(this.index);if(++this.index,u.Character.isLineTerminator(f)){if(this.trackComment){d.end={line:this.lineNumber,column:this.index-this.lineStart-1};var b={multiLine:!1,slice:[h+i,this.index-1],range:[h,this.index-1],loc:d};o.push(b)}return f===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,o}}if(this.trackComment){d.end={line:this.lineNumber,column:this.index-this.lineStart};var b={multiLine:!1,slice:[h+i,this.index],range:[h,this.index],loc:d};o.push(b)}return o},p.prototype.skipMultiLineComment=function(){var i=[],o,h;for(this.trackComment&&(i=[],o=this.index-2,h={start:{line:this.lineNumber,column:this.index-this.lineStart-2},end:{}});!this.eof();){var d=this.source.charCodeAt(this.index);if(u.Character.isLineTerminator(d))d===13&&this.source.charCodeAt(this.index+1)===10&&++this.index,++this.lineNumber,++this.index,this.lineStart=this.index;else if(d===42){if(this.source.charCodeAt(this.index+1)===47){if(this.index+=2,this.trackComment){h.end={line:this.lineNumber,column:this.index-this.lineStart};var f={multiLine:!0,slice:[o+2,this.index-2],range:[o,this.index],loc:h};i.push(f)}return i}++this.index}else++this.index}if(this.trackComment){h.end={line:this.lineNumber,column:this.index-this.lineStart};var f={multiLine:!0,slice:[o+2,this.index],range:[o,this.index],loc:h};i.push(f)}return this.tolerateUnexpectedToken(),i},p.prototype.scanComments=function(){var i;this.trackComment&&(i=[]);for(var o=this.index===0;!this.eof();){var h=this.source.charCodeAt(this.index);if(u.Character.isWhiteSpace(h))++this.index;else if(u.Character.isLineTerminator(h))++this.index,h===13&&this.source.charCodeAt(this.index)===10&&++this.index,++this.lineNumber,this.lineStart=this.index,o=!0;else if(h===47)if(h=this.source.charCodeAt(this.index+1),h===47){this.index+=2;var d=this.skipSingleLineComment(2);this.trackComment&&(i=i.concat(d)),o=!0}else if(h===42){this.index+=2;var d=this.skipMultiLineComment();this.trackComment&&(i=i.concat(d))}else break;else if(o&&h===45)if(this.source.charCodeAt(this.index+1)===45&&this.source.charCodeAt(this.index+2)===62){this.index+=3;var d=this.skipSingleLineComment(3);this.trackComment&&(i=i.concat(d))}else break;else if(h===60&&!this.isModule)if(this.source.slice(this.index+1,this.index+4)==="!--"){this.index+=4;var d=this.skipSingleLineComment(4);this.trackComment&&(i=i.concat(d))}else break;else break}return i},p.prototype.isFutureReservedWord=function(i){switch(i){case"enum":case"export":case"import":case"super":return!0;default:return!1}},p.prototype.isStrictModeReservedWord=function(i){switch(i){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"yield":case"let":return!0;default:return!1}},p.prototype.isRestrictedWord=function(i){return i==="eval"||i==="arguments"},p.prototype.isKeyword=function(i){switch(i.length){case 2:return i==="if"||i==="in"||i==="do";case 3:return i==="var"||i==="for"||i==="new"||i==="try"||i==="let";case 4:return i==="this"||i==="else"||i==="case"||i==="void"||i==="with"||i==="enum";case 5:return i==="while"||i==="break"||i==="catch"||i==="throw"||i==="const"||i==="yield"||i==="class"||i==="super";case 6:return i==="return"||i==="typeof"||i==="delete"||i==="switch"||i==="export"||i==="import";case 7:return i==="default"||i==="finally"||i==="extends";case 8:return i==="function"||i==="continue"||i==="debugger";case 10:return i==="instanceof";default:return!1}},p.prototype.codePointAt=function(i){var o=this.source.charCodeAt(i);if(o>=55296&&o<=56319){var h=this.source.charCodeAt(i+1);if(h>=56320&&h<=57343){var d=o;o=(d-55296)*1024+h-56320+65536}}return o},p.prototype.scanHexEscape=function(i){for(var o=i==="u"?4:2,h=0,d=0;d<o;++d)if(!this.eof()&&u.Character.isHexDigit(this.source.charCodeAt(this.index)))h=h*16+l(this.source[this.index++]);else return null;return String.fromCharCode(h)},p.prototype.scanUnicodeCodePointEscape=function(){var i=this.source[this.index],o=0;for(i==="}"&&this.throwUnexpectedToken();!this.eof()&&(i=this.source[this.index++],!!u.Character.isHexDigit(i.charCodeAt(0)));)o=o*16+l(i);return(o>1114111||i!=="}")&&this.throwUnexpectedToken(),u.Character.fromCodePoint(o)},p.prototype.getIdentifier=function(){for(var i=this.index++;!this.eof();){var o=this.source.charCodeAt(this.index);if(o===92)return this.index=i,this.getComplexIdentifier();if(o>=55296&&o<57343)return this.index=i,this.getComplexIdentifier();if(u.Character.isIdentifierPart(o))++this.index;else break}return this.source.slice(i,this.index)},p.prototype.getComplexIdentifier=function(){var i=this.codePointAt(this.index),o=u.Character.fromCodePoint(i);this.index+=o.length;var h;for(i===92&&(this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,h=this.scanUnicodeCodePointEscape()):(h=this.scanHexEscape("u"),(h===null||h==="\\"||!u.Character.isIdentifierStart(h.charCodeAt(0)))&&this.throwUnexpectedToken()),o=h);!this.eof()&&(i=this.codePointAt(this.index),!!u.Character.isIdentifierPart(i));)h=u.Character.fromCodePoint(i),o+=h,this.index+=h.length,i===92&&(o=o.substr(0,o.length-1),this.source.charCodeAt(this.index)!==117&&this.throwUnexpectedToken(),++this.index,this.source[this.index]==="{"?(++this.index,h=this.scanUnicodeCodePointEscape()):(h=this.scanHexEscape("u"),(h===null||h==="\\"||!u.Character.isIdentifierPart(h.charCodeAt(0)))&&this.throwUnexpectedToken()),o+=h);return o},p.prototype.octalToDecimal=function(i){var o=i!=="0",h=n(i);return!this.eof()&&u.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(o=!0,h=h*8+n(this.source[this.index++]),"0123".indexOf(i)>=0&&!this.eof()&&u.Character.isOctalDigit(this.source.charCodeAt(this.index))&&(h=h*8+n(this.source[this.index++]))),{code:h,octal:o}},p.prototype.scanIdentifier=function(){var i,o=this.index,h=this.source.charCodeAt(o)===92?this.getComplexIdentifier():this.getIdentifier();if(h.length===1?i=3:this.isKeyword(h)?i=4:h==="null"?i=5:h==="true"||h==="false"?i=1:i=3,i!==3&&o+h.length!==this.index){var d=this.index;this.index=o,this.tolerateUnexpectedToken(e.Messages.InvalidEscapedReservedWord),this.index=d}return{type:i,value:h,lineNumber:this.lineNumber,lineStart:this.lineStart,start:o,end:this.index}},p.prototype.scanPunctuator=function(){var i=this.index,o=this.source[this.index];switch(o){case"(":case"{":o==="{"&&this.curlyStack.push("{"),++this.index;break;case".":++this.index,this.source[this.index]==="."&&this.source[this.index+1]==="."&&(this.index+=2,o="...");break;case"}":++this.index,this.curlyStack.pop();break;case")":case";":case",":case"[":case"]":case":":case"?":case"~":++this.index;break;default:o=this.source.substr(this.index,4),o===">>>="?this.index+=4:(o=o.substr(0,3),o==="==="||o==="!=="||o===">>>"||o==="<<="||o===">>="||o==="**="?this.index+=3:(o=o.substr(0,2),o==="&&"||o==="||"||o==="=="||o==="!="||o==="+="||o==="-="||o==="*="||o==="/="||o==="++"||o==="--"||o==="<<"||o===">>"||o==="&="||o==="|="||o==="^="||o==="%="||o==="<="||o===">="||o==="=>"||o==="**"?this.index+=2:(o=this.source[this.index],"<>=!+-*%&|^/".indexOf(o)>=0&&++this.index)))}return this.index===i&&this.throwUnexpectedToken(),{type:7,value:o,lineNumber:this.lineNumber,lineStart:this.lineStart,start:i,end:this.index}},p.prototype.scanHexLiteral=function(i){for(var o="";!this.eof()&&u.Character.isHexDigit(this.source.charCodeAt(this.index));)o+=this.source[this.index++];return o.length===0&&this.throwUnexpectedToken(),u.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseInt("0x"+o,16),lineNumber:this.lineNumber,lineStart:this.lineStart,start:i,end:this.index}},p.prototype.scanBinaryLiteral=function(i){for(var o="",h;!this.eof()&&(h=this.source[this.index],!(h!=="0"&&h!=="1"));)o+=this.source[this.index++];return o.length===0&&this.throwUnexpectedToken(),this.eof()||(h=this.source.charCodeAt(this.index),(u.Character.isIdentifierStart(h)||u.Character.isDecimalDigit(h))&&this.throwUnexpectedToken()),{type:6,value:parseInt(o,2),lineNumber:this.lineNumber,lineStart:this.lineStart,start:i,end:this.index}},p.prototype.scanOctalLiteral=function(i,o){var h="",d=!1;for(u.Character.isOctalDigit(i.charCodeAt(0))?(d=!0,h="0"+this.source[this.index++]):++this.index;!this.eof()&&u.Character.isOctalDigit(this.source.charCodeAt(this.index));)h+=this.source[this.index++];return!d&&h.length===0&&this.throwUnexpectedToken(),(u.Character.isIdentifierStart(this.source.charCodeAt(this.index))||u.Character.isDecimalDigit(this.source.charCodeAt(this.index)))&&this.throwUnexpectedToken(),{type:6,value:parseInt(h,8),octal:d,lineNumber:this.lineNumber,lineStart:this.lineStart,start:o,end:this.index}},p.prototype.isImplicitOctalLiteral=function(){for(var i=this.index+1;i<this.length;++i){var o=this.source[i];if(o==="8"||o==="9")return!1;if(!u.Character.isOctalDigit(o.charCodeAt(0)))return!0}return!0},p.prototype.scanNumericLiteral=function(){var i=this.index,o=this.source[i];a.assert(u.Character.isDecimalDigit(o.charCodeAt(0))||o===".","Numeric literal must start with a decimal digit or a decimal point");var h="";if(o!=="."){if(h=this.source[this.index++],o=this.source[this.index],h==="0"){if(o==="x"||o==="X")return++this.index,this.scanHexLiteral(i);if(o==="b"||o==="B")return++this.index,this.scanBinaryLiteral(i);if(o==="o"||o==="O")return this.scanOctalLiteral(o,i);if(o&&u.Character.isOctalDigit(o.charCodeAt(0))&&this.isImplicitOctalLiteral())return this.scanOctalLiteral(o,i)}for(;u.Character.isDecimalDigit(this.source.charCodeAt(this.index));)h+=this.source[this.index++];o=this.source[this.index]}if(o==="."){for(h+=this.source[this.index++];u.Character.isDecimalDigit(this.source.charCodeAt(this.index));)h+=this.source[this.index++];o=this.source[this.index]}if(o==="e"||o==="E")if(h+=this.source[this.index++],o=this.source[this.index],(o==="+"||o==="-")&&(h+=this.source[this.index++]),u.Character.isDecimalDigit(this.source.charCodeAt(this.index)))for(;u.Character.isDecimalDigit(this.source.charCodeAt(this.index));)h+=this.source[this.index++];else this.throwUnexpectedToken();return u.Character.isIdentifierStart(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(),{type:6,value:parseFloat(h),lineNumber:this.lineNumber,lineStart:this.lineStart,start:i,end:this.index}},p.prototype.scanStringLiteral=function(){var i=this.index,o=this.source[i];a.assert(o==="'"||o==='"',"String literal must starts with a quote"),++this.index;for(var h=!1,d="";!this.eof();){var f=this.source[this.index++];if(f===o){o="";break}else if(f==="\\")if(f=this.source[this.index++],!f||!u.Character.isLineTerminator(f.charCodeAt(0)))switch(f){case"u":if(this.source[this.index]==="{")++this.index,d+=this.scanUnicodeCodePointEscape();else{var b=this.scanHexEscape(f);b===null&&this.throwUnexpectedToken(),d+=b}break;case"x":var m=this.scanHexEscape(f);m===null&&this.throwUnexpectedToken(e.Messages.InvalidHexEscapeSequence),d+=m;break;case"n":d+=`
|
|
`;break;case"r":d+="\r";break;case"t":d+=" ";break;case"b":d+="\b";break;case"f":d+="\f";break;case"v":d+="\v";break;case"8":case"9":d+=f,this.tolerateUnexpectedToken();break;default:if(f&&u.Character.isOctalDigit(f.charCodeAt(0))){var y=this.octalToDecimal(f);h=y.octal||h,d+=String.fromCharCode(y.code)}else d+=f;break}else++this.lineNumber,f==="\r"&&this.source[this.index]===`
|
|
`&&++this.index,this.lineStart=this.index;else{if(u.Character.isLineTerminator(f.charCodeAt(0)))break;d+=f}}return o!==""&&(this.index=i,this.throwUnexpectedToken()),{type:8,value:d,octal:h,lineNumber:this.lineNumber,lineStart:this.lineStart,start:i,end:this.index}},p.prototype.scanTemplate=function(){var i="",o=!1,h=this.index,d=this.source[h]==="`",f=!1,b=2;for(++this.index;!this.eof();){var m=this.source[this.index++];if(m==="`"){b=1,f=!0,o=!0;break}else if(m==="$"){if(this.source[this.index]==="{"){this.curlyStack.push("${"),++this.index,o=!0;break}i+=m}else if(m==="\\")if(m=this.source[this.index++],u.Character.isLineTerminator(m.charCodeAt(0)))++this.lineNumber,m==="\r"&&this.source[this.index]===`
|
|
`&&++this.index,this.lineStart=this.index;else switch(m){case"n":i+=`
|
|
`;break;case"r":i+="\r";break;case"t":i+=" ";break;case"u":if(this.source[this.index]==="{")++this.index,i+=this.scanUnicodeCodePointEscape();else{var y=this.index,x=this.scanHexEscape(m);x!==null?i+=x:(this.index=y,i+=m)}break;case"x":var v=this.scanHexEscape(m);v===null&&this.throwUnexpectedToken(e.Messages.InvalidHexEscapeSequence),i+=v;break;case"b":i+="\b";break;case"f":i+="\f";break;case"v":i+="\v";break;default:m==="0"?(u.Character.isDecimalDigit(this.source.charCodeAt(this.index))&&this.throwUnexpectedToken(e.Messages.TemplateOctalLiteral),i+="\0"):u.Character.isOctalDigit(m.charCodeAt(0))?this.throwUnexpectedToken(e.Messages.TemplateOctalLiteral):i+=m;break}else u.Character.isLineTerminator(m.charCodeAt(0))?(++this.lineNumber,m==="\r"&&this.source[this.index]===`
|
|
`&&++this.index,this.lineStart=this.index,i+=`
|
|
`):i+=m}return o||this.throwUnexpectedToken(),d||this.curlyStack.pop(),{type:10,value:this.source.slice(h+1,this.index-b),cooked:i,head:d,tail:f,lineNumber:this.lineNumber,lineStart:this.lineStart,start:h,end:this.index}},p.prototype.testRegExp=function(i,o){var h="\uFFFF",d=i,f=this;o.indexOf("u")>=0&&(d=d.replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g,function(b,m,y){var x=parseInt(m||y,16);return x>1114111&&f.throwUnexpectedToken(e.Messages.InvalidRegExp),x<=65535?String.fromCharCode(x):h}).replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h));try{RegExp(d)}catch{this.throwUnexpectedToken(e.Messages.InvalidRegExp)}try{return new RegExp(i,o)}catch{return null}},p.prototype.scanRegExpBody=function(){var i=this.source[this.index];a.assert(i==="/","Regular expression literal must start with a slash");for(var o=this.source[this.index++],h=!1,d=!1;!this.eof();)if(i=this.source[this.index++],o+=i,i==="\\")i=this.source[this.index++],u.Character.isLineTerminator(i.charCodeAt(0))&&this.throwUnexpectedToken(e.Messages.UnterminatedRegExp),o+=i;else if(u.Character.isLineTerminator(i.charCodeAt(0)))this.throwUnexpectedToken(e.Messages.UnterminatedRegExp);else if(h)i==="]"&&(h=!1);else if(i==="/"){d=!0;break}else i==="["&&(h=!0);return d||this.throwUnexpectedToken(e.Messages.UnterminatedRegExp),o.substr(1,o.length-2)},p.prototype.scanRegExpFlags=function(){for(var i="",o="";!this.eof();){var h=this.source[this.index];if(!u.Character.isIdentifierPart(h.charCodeAt(0)))break;if(++this.index,h==="\\"&&!this.eof())if(h=this.source[this.index],h==="u"){++this.index;var d=this.index,f=this.scanHexEscape("u");if(f!==null)for(o+=f,i+="\\u";d<this.index;++d)i+=this.source[d];else this.index=d,o+="u",i+="\\u";this.tolerateUnexpectedToken()}else i+="\\",this.tolerateUnexpectedToken();else o+=h,i+=h}return o},p.prototype.scanRegExp=function(){var i=this.index,o=this.scanRegExpBody(),h=this.scanRegExpFlags(),d=this.testRegExp(o,h);return{type:9,value:"",pattern:o,flags:h,regex:d,lineNumber:this.lineNumber,lineStart:this.lineStart,start:i,end:this.index}},p.prototype.lex=function(){if(this.eof())return{type:2,value:"",lineNumber:this.lineNumber,lineStart:this.lineStart,start:this.index,end:this.index};var i=this.source.charCodeAt(this.index);return u.Character.isIdentifierStart(i)?this.scanIdentifier():i===40||i===41||i===59?this.scanPunctuator():i===39||i===34?this.scanStringLiteral():i===46?u.Character.isDecimalDigit(this.source.charCodeAt(this.index+1))?this.scanNumericLiteral():this.scanPunctuator():u.Character.isDecimalDigit(i)?this.scanNumericLiteral():i===96||i===125&&this.curlyStack[this.curlyStack.length-1]==="${"?this.scanTemplate():i>=55296&&i<57343&&u.Character.isIdentifierStart(this.codePointAt(this.index))?this.scanIdentifier():this.scanPunctuator()},p})();r.Scanner=c},function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.TokenName={},r.TokenName[1]="Boolean",r.TokenName[2]="<end>",r.TokenName[3]="Identifier",r.TokenName[4]="Keyword",r.TokenName[5]="Null",r.TokenName[6]="Numeric",r.TokenName[7]="Punctuator",r.TokenName[8]="String",r.TokenName[9]="RegularExpression",r.TokenName[10]="Template"},function(t,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.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(t,r,s){"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a=s(10),u=s(12),e=s(13),l=(function(){function c(){this.values=[],this.curly=this.paren=-1}return c.prototype.beforeFunctionExpression=function(p){return["(","{","[","in","typeof","instanceof","new","return","case","delete","throw","void","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=",",","+","-","*","**","/","%","++","--","<<",">>",">>>","&","|","^","!","~","&&","||","?",":","===","==",">=","<=","<",">","!=","!=="].indexOf(p)>=0},c.prototype.isRegexStart=function(){var p=this.values[this.values.length-1],i=p!==null;switch(p){case"this":case"]":i=!1;break;case")":var o=this.values[this.paren-1];i=o==="if"||o==="while"||o==="for"||o==="with";break;case"}":if(i=!1,this.values[this.curly-3]==="function"){var h=this.values[this.curly-4];i=h?!this.beforeFunctionExpression(h):!1}else if(this.values[this.curly-4]==="function"){var h=this.values[this.curly-5];i=h?!this.beforeFunctionExpression(h):!0}break;default:break}return i},c.prototype.push=function(p){p.type===7||p.type===4?(p.value==="{"?this.curly=this.values.length:p.value==="("&&(this.paren=this.values.length),this.values.push(p.value)):this.values.push(null)},c})(),n=(function(){function c(p,i){this.errorHandler=new a.ErrorHandler,this.errorHandler.tolerant=i?typeof i.tolerant=="boolean"&&i.tolerant:!1,this.scanner=new u.Scanner(p,this.errorHandler),this.scanner.trackComment=i?typeof i.comment=="boolean"&&i.comment:!1,this.trackRange=i?typeof i.range=="boolean"&&i.range:!1,this.trackLoc=i?typeof i.loc=="boolean"&&i.loc:!1,this.buffer=[],this.reader=new l}return c.prototype.errors=function(){return this.errorHandler.errors},c.prototype.getNextToken=function(){if(this.buffer.length===0){var p=this.scanner.scanComments();if(this.scanner.trackComment)for(var i=0;i<p.length;++i){var o=p[i],h=this.scanner.source.slice(o.slice[0],o.slice[1]),d={type:o.multiLine?"BlockComment":"LineComment",value:h};this.trackRange&&(d.range=o.range),this.trackLoc&&(d.loc=o.loc),this.buffer.push(d)}if(!this.scanner.eof()){var f=void 0;this.trackLoc&&(f={start:{line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},end:{}});var b=this.scanner.source[this.scanner.index]==="/"&&this.reader.isRegexStart(),m=b?this.scanner.scanRegExp():this.scanner.lex();this.reader.push(m);var y={type:e.TokenName[m.type],value:this.scanner.source.slice(m.start,m.end)};if(this.trackRange&&(y.range=[m.start,m.end]),this.trackLoc&&(f.end={line:this.scanner.lineNumber,column:this.scanner.index-this.scanner.lineStart},y.loc=f),m.type===9){var x=m.pattern,v=m.flags;y.regex={pattern:x,flags:v}}this.buffer.push(y)}}return this.buffer.shift()},c})();r.Tokenizer=n}])})});var DA=ct(Wf=>{"use strict";Object.defineProperty(Wf,"__esModule",{value:!0});Wf.parse=void 0;var Mg=bl();function e5(t,r){var s=[],a=Rg().parse(t,{loc:!0,locations:!0,comment:!0,onComment:s,range:Mg.getOption(r,"range",!1),tolerant:Mg.getOption(r,"tolerant",!0),tokens:!0,jsx:Mg.getOption(r,"jsx",!1)});return Array.isArray(a.comments)||(a.comments=s),a}Wf.parse=e5});var zf=ct(Kf=>{"use strict";Object.defineProperty(Kf,"__esModule",{value:!0});Kf.normalize=void 0;var Bg={parser:DA(),tabWidth:4,useTabs:!1,reuseWhitespace:!0,lineTerminator:hr("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},t5=Bg.hasOwnProperty;function r5(t){var r=t||Bg;function s(a){return t5.call(r,a)?r[a]:Bg[a]}return{tabWidth:+s("tabWidth"),useTabs:!!s("useTabs"),reuseWhitespace:!!s("reuseWhitespace"),lineTerminator:s("lineTerminator"),wrapColumn:Math.max(s("wrapColumn"),0),sourceFileName:s("sourceFileName"),sourceMapName:s("sourceMapName"),sourceRoot:s("sourceRoot"),inputSourceMap:s("inputSourceMap"),parser:s("esprima")||s("parser"),range:s("range"),tolerant:s("tolerant"),quote:s("quote"),trailingComma:s("trailingComma"),arrayBracketSpacing:s("arrayBracketSpacing"),objectCurlySpacing:s("objectCurlySpacing"),arrowParensAlways:s("arrowParensAlways"),flowObjectCommas:s("flowObjectCommas"),tokens:!!s("tokens")}}Kf.normalize=r5});var OA=ct(Ug=>{"use strict";Object.defineProperty(Ug,"__esModule",{value:!0});var n5=(gi(),wi(bi)),_u=n5.__importDefault(hr("assert")),ql=bl(),i5=(function(){function t(r,s,a){a===void 0&&(a=s),this.sourceLines=r,this.sourceLoc=s,this.targetLoc=a}return t.prototype.slice=function(r,s,a){a===void 0&&(a=r.lastPos());var u=this.sourceLines,e=this.sourceLoc,l=this.targetLoc;function n(c){var p=e[c],i=l[c],o=s;return c==="end"?o=a:_u.default.strictEqual(c,"start"),s5(u,p,r,i,o)}if(ql.comparePos(s,l.start)<=0)if(ql.comparePos(l.end,a)<=0)l={start:Vl(l.start,s.line,s.column),end:Vl(l.end,s.line,s.column)};else{if(ql.comparePos(a,l.start)<=0)return null;e={start:e.start,end:n("end")},l={start:Vl(l.start,s.line,s.column),end:Vl(a,s.line,s.column)}}else{if(ql.comparePos(l.end,s)<=0)return null;ql.comparePos(l.end,a)<=0?(e={start:n("start"),end:e.end},l={start:{line:1,column:0},end:Vl(l.end,s.line,s.column)}):(e={start:n("start"),end:n("end")},l={start:{line:1,column:0},end:Vl(a,s.line,s.column)})}return new t(this.sourceLines,e,l)},t.prototype.add=function(r,s){return new t(this.sourceLines,this.sourceLoc,{start:IA(this.targetLoc.start,r,s),end:IA(this.targetLoc.end,r,s)})},t.prototype.subtract=function(r,s){return new t(this.sourceLines,this.sourceLoc,{start:Vl(this.targetLoc.start,r,s),end:Vl(this.targetLoc.end,r,s)})},t.prototype.indent=function(r,s,a){if(s===void 0&&(s=!1),a===void 0&&(a=!1),r===0)return this;var u=this.targetLoc,e=u.start.line,l=u.end.line;if(s&&e===1&&l===1)return this;if(u={start:u.start,end:u.end},!s||e>1){var n=u.start.column+r;u.start={line:e,column:a?Math.max(0,n):n}}if(!s||l>1){var c=u.end.column+r;u.end={line:l,column:a?Math.max(0,c):c}}return new t(this.sourceLines,this.sourceLoc,u)},t})();Ug.default=i5;function IA(t,r,s){return{line:t.line+r-1,column:t.line===1?t.column+s:t.column}}function Vl(t,r,s){return{line:t.line-r+1,column:t.line===r?t.column-s:t.column}}function s5(t,r,s,a,u){var e=ql.comparePos(a,u);if(e===0)return r;var l,n;if(e<0){l=t.skipSpaces(r)||t.lastPos(),n=s.skipSpaces(a)||s.lastPos();var c=u.line-n.line;for(l.line+=c,n.line+=c,c>0?(l.column=0,n.column=0):_u.default.strictEqual(c,0);ql.comparePos(n,u)<0&&s.nextPos(n,!0);)_u.default.ok(t.nextPos(l,!0)),_u.default.strictEqual(t.charAt(l),s.charAt(n))}else{l=t.skipSpaces(r,!0)||t.firstPos(),n=s.skipSpaces(a,!0)||s.firstPos();var c=u.line-n.line;for(l.line+=c,n.line+=c,c<0?(l.column=t.getLineLength(l.line),n.column=s.getLineLength(n.line)):_u.default.strictEqual(c,0);ql.comparePos(u,n)<0&&s.prevPos(n,!0);)_u.default.ok(t.prevPos(l,!0)),_u.default.strictEqual(t.charAt(l),s.charAt(n))}return l}});var ed=ct(Vo=>{"use strict";Object.defineProperty(Vo,"__esModule",{value:!0});Vo.concat=Vo.fromString=Vo.countSpaces=Vo.Lines=void 0;var Za=(gi(),wi(bi)),Ss=Za.__importDefault(hr("assert")),a5=Za.__importDefault(Ng()),FA=zf(),NA=bl(),o5=Za.__importDefault(OA()),$g=(function(){function t(r,s){s===void 0&&(s=null),this.infos=r,this.mappings=[],this.cachedSourceMap=null,this.cachedTabWidth=void 0,Ss.default.ok(r.length>0),this.length=r.length,this.name=s||null,this.name&&this.mappings.push(new o5.default(this,{start:this.firstPos(),end:this.lastPos()}))}return t.prototype.toString=function(r){return this.sliceString(this.firstPos(),this.lastPos(),r)},t.prototype.getSourceMap=function(r,s){if(!r)return null;var a=this;function u(n){return n=n||{},n.file=r,s&&(n.sourceRoot=s),n}if(a.cachedSourceMap)return u(a.cachedSourceMap.toJSON());var e=new a5.default.SourceMapGenerator(u()),l={};return a.mappings.forEach(function(n){for(var c=n.sourceLines.skipSpaces(n.sourceLoc.start)||n.sourceLines.lastPos(),p=a.skipSpaces(n.targetLoc.start)||a.lastPos();NA.comparePos(c,n.sourceLoc.end)<0&&NA.comparePos(p,n.targetLoc.end)<0;){var i=n.sourceLines.charAt(c),o=a.charAt(p);Ss.default.strictEqual(i,o);var h=n.sourceLines.name;if(e.addMapping({source:h,original:{line:c.line,column:c.column},generated:{line:p.line,column:p.column}}),!Vg.call(l,h)){var d=n.sourceLines.toString();e.setSourceContent(h,d),l[h]=d}a.nextPos(p,!0),n.sourceLines.nextPos(c,!0)}}),a.cachedSourceMap=e,e.toJSON()},t.prototype.bootstrapCharAt=function(r){Ss.default.strictEqual(typeof r,"object"),Ss.default.strictEqual(typeof r.line,"number"),Ss.default.strictEqual(typeof r.column,"number");var s=r.line,a=r.column,u=this.toString().split(qg),e=u[s-1];return typeof e>"u"?"":a===e.length&&s<u.length?`
|
|
`:a>=e.length?"":e.charAt(a)},t.prototype.charAt=function(r){Ss.default.strictEqual(typeof r,"object"),Ss.default.strictEqual(typeof r.line,"number"),Ss.default.strictEqual(typeof r.column,"number");var s=r.line,a=r.column,u=this,e=u.infos,l=e[s-1],n=a;if(typeof l>"u"||n<0)return"";var c=this.getIndentAt(s);return n<c?" ":(n+=l.sliceStart-c,n===l.sliceEnd&&s<this.length?`
|
|
`:n>=l.sliceEnd?"":l.line.charAt(n))},t.prototype.stripMargin=function(r,s){if(r===0)return this;if(Ss.default.ok(r>0,"negative margin: "+r),s&&this.length===1)return this;var a=new t(this.infos.map(function(e,l){return e.line&&(l>0||!s)&&(e=Za.__assign(Za.__assign({},e),{indent:Math.max(0,e.indent-r)})),e}));if(this.mappings.length>0){var u=a.mappings;Ss.default.strictEqual(u.length,0),this.mappings.forEach(function(e){u.push(e.indent(r,s,!0))})}return a},t.prototype.indent=function(r){if(r===0)return this;var s=new t(this.infos.map(function(u){return u.line&&!u.locked&&(u=Za.__assign(Za.__assign({},u),{indent:u.indent+r})),u}));if(this.mappings.length>0){var a=s.mappings;Ss.default.strictEqual(a.length,0),this.mappings.forEach(function(u){a.push(u.indent(r))})}return s},t.prototype.indentTail=function(r){if(r===0)return this;if(this.length<2)return this;var s=new t(this.infos.map(function(u,e){return e>0&&u.line&&!u.locked&&(u=Za.__assign(Za.__assign({},u),{indent:u.indent+r})),u}));if(this.mappings.length>0){var a=s.mappings;Ss.default.strictEqual(a.length,0),this.mappings.forEach(function(u){a.push(u.indent(r,!0))})}return s},t.prototype.lockIndentTail=function(){return this.length<2?this:new t(this.infos.map(function(r,s){return Za.__assign(Za.__assign({},r),{locked:s>0})}))},t.prototype.getIndentAt=function(r){return Ss.default.ok(r>=1,"no line "+r+" (line numbers start from 1)"),Math.max(this.infos[r-1].indent,0)},t.prototype.guessTabWidth=function(){if(typeof this.cachedTabWidth=="number")return this.cachedTabWidth;for(var r=[],s=0,a=1,u=this.length;a<=u;++a){var e=this.infos[a-1],l=e.line.slice(e.sliceStart,e.sliceEnd);if(!Ac(l)){var n=Math.abs(e.indent-s);r[n]=~~r[n]+1,s=e.indent}}for(var c=-1,p=2,i=1;i<r.length;i+=1)Vg.call(r,i)&&r[i]>c&&(c=r[i],p=i);return this.cachedTabWidth=p},t.prototype.startsWithComment=function(){if(this.infos.length===0)return!1;var r=this.infos[0],s=r.sliceStart,a=r.sliceEnd,u=r.line.slice(s,a).trim();return u.length===0||u.slice(0,2)==="//"||u.slice(0,2)==="/*"},t.prototype.isOnlyWhitespace=function(){return Ac(this.toString())},t.prototype.isPrecededOnlyByWhitespace=function(r){var s=this.infos[r.line-1],a=Math.max(s.indent,0),u=r.column-a;if(u<=0)return!0;var e=s.sliceStart,l=Math.min(e+u,s.sliceEnd),n=s.line.slice(e,l);return Ac(n)},t.prototype.getLineLength=function(r){var s=this.infos[r-1];return this.getIndentAt(r)+s.sliceEnd-s.sliceStart},t.prototype.nextPos=function(r,s){s===void 0&&(s=!1);var a=Math.max(r.line,0),u=Math.max(r.column,0);return u<this.getLineLength(a)?(r.column+=1,s?!!this.skipSpaces(r,!1,!0):!0):a<this.length?(r.line+=1,r.column=0,s?!!this.skipSpaces(r,!1,!0):!0):!1},t.prototype.prevPos=function(r,s){s===void 0&&(s=!1);var a=r.line,u=r.column;if(u<1){if(a-=1,a<1)return!1;u=this.getLineLength(a)}else u=Math.min(u-1,this.getLineLength(a));return r.line=a,r.column=u,s?!!this.skipSpaces(r,!0,!0):!0},t.prototype.firstPos=function(){return{line:1,column:0}},t.prototype.lastPos=function(){return{line:this.length,column:this.getLineLength(this.length)}},t.prototype.skipSpaces=function(r,s,a){if(s===void 0&&(s=!1),a===void 0&&(a=!1),r?r=a?r:{line:r.line,column:r.column}:s?r=this.lastPos():r=this.firstPos(),s){for(;this.prevPos(r);)if(!Ac(this.charAt(r))&&this.nextPos(r))return r;return null}else{for(;Ac(this.charAt(r));)if(!this.nextPos(r))return null;return r}},t.prototype.trimLeft=function(){var r=this.skipSpaces(this.firstPos(),!1,!0);return r?this.slice(r):Au},t.prototype.trimRight=function(){var r=this.skipSpaces(this.lastPos(),!0,!0);return r?this.slice(this.firstPos(),r):Au},t.prototype.trim=function(){var r=this.skipSpaces(this.firstPos(),!1,!0);if(r===null)return Au;var s=this.skipSpaces(this.lastPos(),!0,!0);return s===null?Au:this.slice(r,s)},t.prototype.eachPos=function(r,s,a){s===void 0&&(s=this.firstPos()),a===void 0&&(a=!1);var u=this.firstPos();if(s&&(u.line=s.line,u.column=s.column),!(a&&!this.skipSpaces(u,!1,!0)))do r.call(this,u);while(this.nextPos(u,a))},t.prototype.bootstrapSlice=function(r,s){var a=this.toString().split(qg).slice(r.line-1,s.line);return a.length>0&&(a.push(a.pop().slice(0,s.column)),a[0]=a[0].slice(r.column)),Gf(a.join(`
|
|
`))},t.prototype.slice=function(r,s){if(!s){if(!r)return this;s=this.lastPos()}if(!r)throw new Error("cannot slice with end but not start");var a=this.infos.slice(r.line-1,s.line);r.line===s.line?a[0]=Pc(a[0],r.column,s.column):(Ss.default.ok(r.line<s.line),a[0]=Pc(a[0],r.column),a.push(Pc(a.pop(),0,s.column)));var u=new t(a);if(this.mappings.length>0){var e=u.mappings;Ss.default.strictEqual(e.length,0),this.mappings.forEach(function(l){var n=l.slice(this,r,s);n&&e.push(n)},this)}return u},t.prototype.bootstrapSliceString=function(r,s,a){return this.slice(r,s).toString(a)},t.prototype.sliceString=function(r,s,a){r===void 0&&(r=this.firstPos()),s===void 0&&(s=this.lastPos());for(var u=FA.normalize(a),e=u.tabWidth,l=u.useTabs,n=u.reuseWhitespace,c=u.lineTerminator,p=[],i=r.line;i<=s.line;++i){var o=this.infos[i-1];i===r.line?i===s.line?o=Pc(o,r.column,s.column):o=Pc(o,r.column):i===s.line&&(o=Pc(o,0,s.column));var h=Math.max(o.indent,0),d=o.line.slice(0,o.sliceStart);if(n&&Ac(d)&&Wg(d,e)===h){p.push(o.line.slice(0,o.sliceEnd));continue}var f=0,b=h;l&&(f=Math.floor(h/e),b-=f*e);var m="";f>0&&(m+=new Array(f+1).join(" ")),b>0&&(m+=new Array(b+1).join(" ")),m+=o.line.slice(o.sliceStart,o.sliceEnd),p.push(m)}return p.join(c)},t.prototype.isEmpty=function(){return this.length<2&&this.getLineLength(1)<1},t.prototype.join=function(r){var s=this,a=[],u=[],e;function l(p){if(p!==null){if(e){var i=p.infos[0],o=new Array(i.indent+1).join(" "),h=a.length,d=Math.max(e.indent,0)+e.sliceEnd-e.sliceStart;e.line=e.line.slice(0,e.sliceEnd)+o+i.line.slice(i.sliceStart,i.sliceEnd),e.locked=e.locked||i.locked,e.sliceEnd=e.line.length,p.mappings.length>0&&p.mappings.forEach(function(f){u.push(f.add(h,d))})}else p.mappings.length>0&&u.push.apply(u,p.mappings);p.infos.forEach(function(f,b){(!e||b>0)&&(e=Za.__assign({},f),a.push(e))})}}function n(p,i){i>0&&l(s),l(p)}if(r.map(function(p){var i=Gf(p);return i.isEmpty()?null:i}).forEach(function(p,i){s.isEmpty()?l(p):n(p,i)}),a.length<1)return Au;var c=new t(a);return c.mappings=u,c},t.prototype.concat=function(){for(var r=[],s=0;s<arguments.length;s++)r[s]=arguments[s];var a=[this];return a.push.apply(a,r),Ss.default.strictEqual(a.length,r.length+1),Au.join(a)},t})();Vo.Lines=$g;var Hf={},Vg=Hf.hasOwnProperty,l5=10;function Wg(t,r){for(var s=0,a=t.length,u=0;u<a;++u)switch(t.charCodeAt(u)){case 9:{Ss.default.strictEqual(typeof r,"number"),Ss.default.ok(r>0);var e=Math.ceil(s/r)*r;e===s?s+=r:s=e;break}case 11:case 12:case 13:case 65279:break;case 32:default:s+=1;break}return s}Vo.countSpaces=Wg;var u5=/^\s*/,qg=/\u000D\u000A|\u000D(?!\u000A)|\u000A|\u2028|\u2029/;function Gf(t,r){if(t instanceof $g)return t;t+="";var s=r&&r.tabWidth,a=t.indexOf(" ")<0,u=!r&&a&&t.length<=l5;if(Ss.default.ok(s||a,`No tab width specified but encountered tabs in string
|
|
`+t),u&&Vg.call(Hf,t))return Hf[t];var e=new $g(t.split(qg).map(function(l){var n=u5.exec(l)[0];return{line:l,indent:Wg(n,s),locked:!1,sliceStart:n.length,sliceEnd:l.length}}),FA.normalize(r).sourceFileName);return u&&(Hf[t]=e),e}Vo.fromString=Gf;function Ac(t){return!/\S/.test(t)}function Pc(t,r,s){var a=t.sliceStart,u=t.sliceEnd,e=Math.max(t.indent,0),l=e+u-a;return typeof s>"u"&&(s=l),r=Math.max(r,0),s=Math.min(s,l),s=Math.max(s,r),s<e?(e=s,u=a):u-=l-s,l=s,l-=r,r<e?e-=r:(r-=e,e=0,a+=r),Ss.default.ok(e>=0),Ss.default.ok(a<=u),Ss.default.strictEqual(l,e+u-a),t.indent===e&&t.sliceStart===a&&t.sliceEnd===u?t:{line:t.line,indent:e,locked:!1,sliceStart:a,sliceEnd:u}}function c5(t){return Au.join(t)}Vo.concat=c5;var Au=Gf("")});var Hg=ct(Dc=>{"use strict";Object.defineProperty(Dc,"__esModule",{value:!0});Dc.printComments=Dc.attach=void 0;var LA=(gi(),wi(bi)),Kg=LA.__importDefault(hr("assert")),Pu=LA.__importStar(Uo()),kc=Pu.namedTypes,RA=Pu.builtInTypes.array,p5=Pu.builtInTypes.object,rd=ed(),Cc=bl(),jA=new WeakMap;function MA(t,r,s){if(!t)return s;if(Cc.fixFaultyLocations(t,r),s){if(kc.Node.check(t)&&kc.SourceLocation.check(t.loc)){for(var a=s.length-1;a>=0;--a){var u=s[a];if(u&&u.loc&&Cc.comparePos(u.loc.end,t.loc.start)<=0)break}return s.splice(a+1,0,t),s}}else{var e=jA.get(t);if(e)return e}var l;if(RA.check(t))l=Object.keys(t);else if(p5.check(t))l=Pu.getFieldNames(t);else return s;s||jA.set(t,s=[]);for(var a=0,n=l.length;a<n;++a)MA(t[l[a]],r,s);return s}function BA(t,r,s){for(var a=MA(t,s),u=0,e=a&&a.length,l,n;typeof e=="number"&&u<e;){var c=u+e>>1,p=a[c];if(Cc.comparePos(p.loc.start,r.loc.start)<=0&&Cc.comparePos(r.loc.end,p.loc.end)<=0){BA(r.enclosingNode=p,r,s);return}if(Cc.comparePos(p.loc.end,r.loc.start)<=0){l=p,u=c+1;continue}if(Cc.comparePos(r.loc.end,p.loc.start)<=0){n=p,e=c;continue}throw new Error("Comment location overlaps with node location")}l&&(r.precedingNode=l),n&&(r.followingNode=n)}function d5(t,r,s){if(RA.check(t)){var a=[];t.forEach(function(u){u.loc.lines=s,BA(r,u,s);var e=u.precedingNode,l=u.enclosingNode,n=u.followingNode;if(e&&n){var c=a.length;if(c>0){var p=a[c-1];Kg.default.strictEqual(p.precedingNode===u.precedingNode,p.followingNode===u.followingNode),p.followingNode!==u.followingNode&&td(a,s)}a.push(u)}else if(e)td(a,s),$A(e,u);else if(n)td(a,s),UA(n,u);else if(l)td(a,s),h5(l,u);else throw new Error("AST contains no nodes at all?")}),td(a,s),t.forEach(function(u){delete u.precedingNode,delete u.enclosingNode,delete u.followingNode})}}Dc.attach=d5;function td(t,r){var s=t.length;if(s!==0){for(var a=t[0].precedingNode,u=t[0].followingNode,e=u.loc.start,l=s,n;l>0;--l){n=t[l-1],Kg.default.strictEqual(n.precedingNode,a),Kg.default.strictEqual(n.followingNode,u);var c=r.sliceString(n.loc.end,e);if(/\S/.test(c))break;e=n.loc.start}for(;l<=s&&(n=t[l])&&(n.type==="Line"||n.type==="CommentLine")&&n.loc.start.column>u.loc.start.column;)++l;t.forEach(function(p,i){i<l?$A(a,p):UA(u,p)}),t.length=0}}function zg(t,r){var s=t.comments||(t.comments=[]);s.push(r)}function UA(t,r){r.leading=!0,r.trailing=!1,zg(t,r)}function h5(t,r){r.leading=!1,r.trailing=!1,zg(t,r)}function $A(t,r){r.leading=!1,r.trailing=!0,zg(t,r)}function f5(t,r){var s=t.getValue();kc.Comment.assert(s);var a=s.loc,u=a&&a.lines,e=[r(t)];if(s.trailing)e.push(`
|
|
`);else if(u instanceof rd.Lines){var l=u.slice(a.end,u.skipSpaces(a.end)||u.lastPos());l.length===1?e.push(l):e.push(new Array(l.length).join(`
|
|
`))}else e.push(`
|
|
`);return rd.concat(e)}function m5(t,r){var s=t.getValue(t);kc.Comment.assert(s);var a=s.loc,u=a&&a.lines,e=[];if(u instanceof rd.Lines){var l=u.skipSpaces(a.start,!0)||u.firstPos(),n=u.slice(l,a.start);n.length===1?e.push(n):e.push(new Array(n.length).join(`
|
|
`))}return e.push(r(t)),rd.concat(e)}function y5(t,r){var s=t.getValue(),a=r(t),u=kc.Node.check(s)&&Pu.getFieldValue(s,"comments");if(!u||u.length===0)return a;var e=[],l=[a];return t.each(function(n){var c=n.getValue(),p=Pu.getFieldValue(c,"leading"),i=Pu.getFieldValue(c,"trailing");p||i&&!(kc.Statement.check(s)||c.type==="Block"||c.type==="CommentBlock")?e.push(f5(n,r)):i&&l.push(m5(n,r))},"comments"),e.push.apply(e,l),rd.concat(e)}Dc.printComments=y5});var WA=ct(Jf=>{"use strict";Object.defineProperty(Jf,"__esModule",{value:!0});Jf.parse=void 0;var Gg=(gi(),wi(bi)),b5=Gg.__importDefault(hr("assert")),Jg=Gg.__importStar(Uo()),g5=Jg.builders,v5=Jg.builtInTypes.object,x5=Jg.builtInTypes.array,T5=zf(),E5=ed(),S5=Hg(),gl=Gg.__importStar(bl());function w5(t,r){r=T5.normalize(r);var s=E5.fromString(t,r),a=s.toString({tabWidth:r.tabWidth,reuseWhitespace:!1,useTabs:!1}),u=[],e=r.parser.parse(a,{jsx:!0,loc:!0,locations:!0,range:r.range,comment:!0,onComment:u,tolerant:gl.getOption(r,"tolerant",!0),ecmaVersion:6,sourceType:gl.getOption(r,"sourceType","module")}),l=Array.isArray(e.tokens)?e.tokens:Rg().tokenize(a,{loc:!0});delete e.tokens,l.forEach(function(i){typeof i.value!="string"&&(i.value=s.sliceString(i.loc.start,i.loc.end))}),Array.isArray(e.comments)&&(u=e.comments,delete e.comments),e.loc?gl.fixFaultyLocations(e,s):e.loc={start:s.firstPos(),end:s.lastPos()},e.loc.lines=s,e.loc.indent=0;var n,c;e.type==="Program"?(c=e,n=g5.file(e,r.sourceFileName||null),n.loc={start:s.firstPos(),end:s.lastPos(),lines:s,indent:0}):e.type==="File"&&(n=e,c=n.program),r.tokens&&(n.tokens=l);var p=gl.getTrueLoc({type:c.type,loc:c.loc,body:[],comments:u},s);return c.loc.start=p.start,c.loc.end=p.end,S5.attach(u,c.body.length?n.program:n,s),new VA(s,l).copy(n)}Jf.parse=w5;var VA=function t(r,s){b5.default.ok(this instanceof t),this.lines=r,this.tokens=s,this.startTokenIndex=0,this.endTokenIndex=s.length,this.indent=0,this.seen=new Map},qA=VA.prototype;qA.copy=function(t){if(this.seen.has(t))return this.seen.get(t);if(x5.check(t)){var r=new Array(t.length);return this.seen.set(t,r),t.forEach(function(h,d){r[d]=this.copy(h)},this),r}if(!v5.check(t))return t;gl.fixFaultyLocations(t,this.lines);var s=Object.create(Object.getPrototypeOf(t),{original:{value:t,configurable:!1,enumerable:!1,writable:!0}});this.seen.set(t,s);var a=t.loc,u=this.indent,e=u,l=this.startTokenIndex,n=this.endTokenIndex;a&&((t.type==="Block"||t.type==="Line"||t.type==="CommentBlock"||t.type==="CommentLine"||this.lines.isPrecededOnlyByWhitespace(a.start))&&(e=this.indent=a.start.column),a.lines=this.lines,a.tokens=this.tokens,a.indent=e,this.findTokenRange(a));for(var c=Object.keys(t),p=c.length,i=0;i<p;++i){var o=c[i];o==="loc"||o==="tokens"&&t.type==="File"?s[o]=t[o]:s[o]=this.copy(t[o])}return this.indent=u,this.startTokenIndex=l,this.endTokenIndex=n,s};qA.findTokenRange=function(t){for(;this.startTokenIndex>0;){var r=t.tokens[this.startTokenIndex];if(gl.comparePos(t.start,r.loc.start)<0)--this.startTokenIndex;else break}for(;this.endTokenIndex<t.tokens.length;){var r=t.tokens[this.endTokenIndex];if(gl.comparePos(r.loc.end,t.end)<0)++this.endTokenIndex;else break}for(;this.startTokenIndex<this.endTokenIndex;){var r=t.tokens[this.startTokenIndex];if(gl.comparePos(r.loc.start,t.start)<0)++this.startTokenIndex;else break}for(t.start.token=this.startTokenIndex;this.endTokenIndex>this.startTokenIndex;){var r=t.tokens[this.endTokenIndex-1];if(gl.comparePos(t.end,r.loc.end)<0)--this.endTokenIndex;else break}t.end.token=this.endTokenIndex}});var e0=ct(Zg=>{"use strict";Object.defineProperty(Zg,"__esModule",{value:!0});var Qg=(gi(),wi(bi)),eo=Qg.__importDefault(hr("assert")),nd=Qg.__importStar(Uo()),KA=Qg.__importStar(bl()),us=nd.namedTypes,_5=nd.builtInTypes.array,A5=nd.builtInTypes.number,Xg={};[["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].forEach(function(t,r){t.forEach(function(s){Xg[s]=r})});var Cu=function t(r){eo.default.ok(this instanceof t),this.stack=[r]},fa=Cu.prototype;Cu.from=function(t){if(t instanceof Cu)return t.copy();if(t instanceof nd.NodePath){for(var r=Object.create(Cu.prototype),s=[t.value],a=void 0;a=t.parentPath;t=a)s.push(t.name,a.value);return r.stack=s.reverse(),r}return new Cu(t)};fa.copy=function(){var r=Object.create(Cu.prototype);return r.stack=this.stack.slice(0),r};fa.getName=function(){var r=this.stack,s=r.length;return s>1?r[s-2]:null};fa.getValue=function(){var r=this.stack;return r[r.length-1]};fa.valueIsDuplicate=function(){var t=this.stack,r=t.length-1;return t.lastIndexOf(t[r],r-1)>=0};function zA(t,r){for(var s=t.stack,a=s.length-1;a>=0;a-=2){var u=s[a];if(us.Node.check(u)&&--r<0)return u}return null}fa.getNode=function(r){return r===void 0&&(r=0),zA(this,~~r)};fa.getParentNode=function(r){return r===void 0&&(r=0),zA(this,~~r+1)};fa.getRootValue=function(){var r=this.stack;return r.length%2===0?r[1]:r[0]};fa.call=function(r){for(var s=this.stack,a=s.length,u=s[a-1],e=arguments.length,l=1;l<e;++l){var n=arguments[l];u=u[n],s.push(n,u)}var c=r(this);return s.length=a,c};fa.each=function(r){for(var s=this.stack,a=s.length,u=s[a-1],e=arguments.length,l=1;l<e;++l){var n=arguments[l];u=u[n],s.push(n,u)}for(var l=0;l<u.length;++l)l in u&&(s.push(l,u[l]),r(this),s.length-=2);s.length=a};fa.map=function(r){for(var s=this.stack,a=s.length,u=s[a-1],e=arguments.length,l=1;l<e;++l){var n=arguments[l];u=u[n],s.push(n,u)}for(var c=new Array(u.length),l=0;l<u.length;++l)l in u&&(s.push(l,u[l]),c[l]=r(this,l),s.length-=2);return s.length=a,c};fa.hasParens=function(){var t=this.getNode(),r=this.getPrevToken(t);if(!r)return!1;var s=this.getNextToken(t);if(!s)return!1;if(r.value==="("){if(s.value===")")return!0;var a=!this.canBeFirstInStatement()&&this.firstInStatement()&&!this.needsParens(!0);if(a)return!0}return!1};fa.getPrevToken=function(t){t=t||this.getNode();var r=t&&t.loc,s=r&&r.tokens;if(s&&r.start.token>0){var a=s[r.start.token-1];if(a){var u=this.getRootValue().loc;if(KA.comparePos(u.start,a.loc.start)<=0)return a}}return null};fa.getNextToken=function(t){t=t||this.getNode();var r=t&&t.loc,s=r&&r.tokens;if(s&&r.end.token<s.length){var a=s[r.end.token];if(a){var u=this.getRootValue().loc;if(KA.comparePos(a.loc.end,u.end)<=0)return a}}return null};fa.needsParens=function(t){var r=this.getNode();if(r.type==="AssignmentExpression"&&r.left.type==="ObjectPattern")return!0;var s=this.getParentNode();if(!s)return!1;var a=this.getName();if(this.getValue()!==r||us.Statement.check(r)||r.type==="Identifier"||s.type==="ParenthesizedExpression"||r.extra&&r.extra.parenthesized)return!1;switch(r.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return s.type==="MemberExpression"&&a==="object"&&s.object===r;case"BinaryExpression":case"LogicalExpression":switch(s.type){case"CallExpression":return a==="callee"&&s.callee===r;case"UnaryExpression":case"SpreadElement":case"SpreadProperty":return!0;case"MemberExpression":return a==="object"&&s.object===r;case"BinaryExpression":case"LogicalExpression":{var u=s.operator,e=Xg[u],l=r.operator,n=Xg[l];if(e>n)return!0;if(e===n&&a==="right")return eo.default.strictEqual(s.right,r),!0;break}default:return!1}break;case"SequenceExpression":switch(s.type){case"ReturnStatement":return!1;case"ForStatement":return!1;case"ExpressionStatement":return a!=="expression";default:return!0}case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return s.type==="NullableTypeAnnotation";case"Literal":return s.type==="MemberExpression"&&A5.check(r.value)&&a==="object"&&s.object===r;case"NumericLiteral":return s.type==="MemberExpression"&&a==="object"&&s.object===r;case"YieldExpression":case"AwaitExpression":case"AssignmentExpression":case"ConditionalExpression":switch(s.type){case"UnaryExpression":case"SpreadElement":case"SpreadProperty":case"BinaryExpression":case"LogicalExpression":return!0;case"CallExpression":case"NewExpression":return a==="callee"&&s.callee===r;case"ConditionalExpression":return a==="test"&&s.test===r;case"MemberExpression":return a==="object"&&s.object===r;default:return!1}case"ArrowFunctionExpression":return us.CallExpression.check(s)&&a==="callee"&&s.callee===r||us.MemberExpression.check(s)&&a==="object"&&s.object===r||us.TSAsExpression&&us.TSAsExpression.check(s)&&a==="expression"&&s.expression===r?!0:HA(s);case"ObjectExpression":if(s.type==="ArrowFunctionExpression"&&a==="body"&&s.body===r)return!0;break;case"TSAsExpression":if(s.type==="ArrowFunctionExpression"&&a==="body"&&s.body===r&&r.expression.type==="ObjectExpression")return!0;break;case"CallExpression":if(a==="declaration"&&us.ExportDefaultDeclaration.check(s)&&us.FunctionExpression.check(r.callee))return!0}return s.type==="NewExpression"&&a==="callee"&&s.callee===r?Yg(r):!!(t!==!0&&!this.canBeFirstInStatement()&&this.firstInStatement())};function HA(t){return us.BinaryExpression.check(t)||us.LogicalExpression.check(t)}function Yg(t){return us.CallExpression.check(t)?!0:_5.check(t)?t.some(Yg):us.Node.check(t)?nd.someField(t,function(r,s){return Yg(s)}):!1}fa.canBeFirstInStatement=function(){var t=this.getNode();return!(us.FunctionExpression.check(t)||us.ObjectExpression.check(t)||us.ClassExpression.check(t))};fa.firstInStatement=function(){for(var t=this.stack,r,s,a,u,e=t.length-1;e>=0;e-=2)if(us.Node.check(t[e])&&(a=r,u=s,r=t[e-1],s=t[e]),!(!s||!u)){if(us.BlockStatement.check(s)&&r==="body"&&a===0)return eo.default.strictEqual(s.body[0],u),!0;if(us.ExpressionStatement.check(s)&&a==="expression")return eo.default.strictEqual(s.expression,u),!0;if(us.AssignmentExpression.check(s)&&a==="left")return eo.default.strictEqual(s.left,u),!0;if(us.ArrowFunctionExpression.check(s)&&a==="body")return eo.default.strictEqual(s.body,u),!0;if(us.SequenceExpression.check(s)&&r==="expressions"&&a===0){eo.default.strictEqual(s.expressions[0],u);continue}if(us.CallExpression.check(s)&&a==="callee"){eo.default.strictEqual(s.callee,u);continue}if(us.MemberExpression.check(s)&&a==="object"){eo.default.strictEqual(s.object,u);continue}if(us.ConditionalExpression.check(s)&&a==="test"){eo.default.strictEqual(s.test,u);continue}if(HA(s)&&a==="left"){eo.default.strictEqual(s.left,u);continue}if(us.UnaryExpression.check(s)&&!s.prefix&&a==="argument"){eo.default.strictEqual(s.argument,u);continue}return!1}return!0};Zg.default=Cu});var ZA=ct(Oc=>{"use strict";Object.defineProperty(Oc,"__esModule",{value:!0});Oc.getReprinter=Oc.Patcher=void 0;var Qf=(gi(),wi(bi)),Ic=Qf.__importDefault(hr("assert")),id=Qf.__importStar(ed()),vl=Qf.__importStar(Uo()),ad=vl.namedTypes.Printable,GA=vl.namedTypes.Expression,P5=vl.namedTypes.ReturnStatement,C5=vl.namedTypes.SourceLocation,sd=bl(),Xf=Qf.__importDefault(e0()),od=vl.builtInTypes.object,t0=vl.builtInTypes.array,k5=vl.builtInTypes.string,Yf=/[0-9a-z_$]/i,n0=function t(r){Ic.default.ok(this instanceof t),Ic.default.ok(r instanceof id.Lines);var s=this,a=[];s.replace=function(u,e){k5.check(e)&&(e=id.fromString(e)),a.push({lines:e,start:u.start,end:u.end})},s.get=function(u){u=u||{start:{line:1,column:0},end:{line:r.length,column:r.getLineLength(r.length)}};var e=u.start,l=[];function n(c,p){Ic.default.ok(sd.comparePos(c,p)<=0),l.push(r.slice(c,p))}return a.sort(function(c,p){return sd.comparePos(c.start,p.start)}).forEach(function(c){sd.comparePos(e,c.start)>0||(n(e,c.start),l.push(c.lines),e=c.end)}),n(e,u.end),id.concat(l)}};Oc.Patcher=n0;var XA=n0.prototype;XA.tryToReprintComments=function(t,r,s){var a=this;if(!t.comments&&!r.comments)return!0;var u=Xf.default.from(t),e=Xf.default.from(r);u.stack.push("comments",JA(t)),e.stack.push("comments",JA(r));var l=[],n=QA(u,e,l);return n&&l.length>0&&l.forEach(function(c){var p=c.oldPath.getValue();Ic.default.ok(p.leading||p.trailing),a.replace(p.loc,s(c.newPath).indentTail(p.loc.indent))}),n};function JA(t){var r=[];return t.comments&&t.comments.length>0&&t.comments.forEach(function(s){(s.leading||s.trailing)&&r.push(s)}),r}XA.deleteComments=function(t){if(t.comments){var r=this;t.comments.forEach(function(s){s.leading?r.replace({start:s.loc.start,end:t.loc.lines.skipSpaces(s.loc.end,!1,!1)},""):s.trailing&&r.replace({start:t.loc.lines.skipSpaces(s.loc.start,!0,!1),end:s.loc.end},"")})}};function D5(t){Ic.default.ok(t instanceof Xf.default);var r=t.getValue();if(ad.check(r)){var s=r.original,a=s&&s.loc,u=a&&a.lines,e=[];if(!(!u||!N5(t,e)))return function(l){var n=new n0(u);e.forEach(function(p){var i=p.newPath.getValue(),o=p.oldPath.getValue();C5.assert(o.loc,!0);var h=!n.tryToReprintComments(i,o,l);h&&n.deleteComments(o);var d=l(p.newPath,{includeComments:h,avoidRootParens:o.type===i.type&&p.oldPath.hasParens()}).indentTail(o.loc.indent),f=o.type!=="TemplateElement"&&I5(u,o.loc,d),b=o.type!=="TemplateElement"&&O5(u,o.loc,d);if(f||b){var m=[];f&&m.push(" "),m.push(d),b&&m.push(" "),d=id.concat(m)}n.replace(o.loc,d)});var c=n.get(a).indentTail(-s.loc.indent);return t.needsParens()?id.concat(["(",c,")"]):c}}}Oc.getReprinter=D5;function I5(t,r,s){var a=sd.copyPos(r.start),u=t.prevPos(a)&&t.charAt(a),e=s.charAt(s.firstPos());return u&&Yf.test(u)&&e&&Yf.test(e)}function O5(t,r,s){var a=t.charAt(r.end),u=s.lastPos(),e=s.prevPos(u)&&s.charAt(u);return e&&Yf.test(e)&&a&&Yf.test(a)}function N5(t,r){var s=t.getValue();ad.assert(s);var a=s.original;if(ad.assert(a),Ic.default.deepEqual(r,[]),s.type!==a.type)return!1;var u=new Xf.default(a),e=r0(t,u,r);return e||(r.length=0),e}function YA(t,r,s){var a=t.getValue(),u=r.getValue();return a===u?!0:t0.check(a)?QA(t,r,s):od.check(a)?F5(t,r,s):!1}function QA(t,r,s){var a=t.getValue(),u=r.getValue();if(a===u||t.valueIsDuplicate()||r.valueIsDuplicate())return!0;t0.assert(a);var e=a.length;if(!(t0.check(u)&&u.length===e))return!1;for(var l=0;l<e;++l){t.stack.push(l,a[l]),r.stack.push(l,u[l]);var n=YA(t,r,s);if(t.stack.length-=2,r.stack.length-=2,!n)return!1}return!0}function F5(t,r,s){var a=t.getValue();if(od.assert(a),a.original===null)return!1;var u=r.getValue();if(!od.check(u))return!1;if(a===u||t.valueIsDuplicate()||r.valueIsDuplicate())return!0;if(ad.check(a)){if(!ad.check(u))return!1;var e=t.getParentNode(),l=r.getParentNode();if(l!==null&&l.type==="FunctionTypeAnnotation"&&e!==null&&e.type==="FunctionTypeAnnotation"){var n=l.params.length!==1||!!l.params[0].name,c=e.params.length!==1||!!e.params[0].name;if(!n&&c)return!1}if(a.type===u.type){var p=[];if(r0(t,r,p))s.push.apply(s,p);else if(u.loc)s.push({oldPath:r.copy(),newPath:t.copy()});else return!1;return!0}return GA.check(a)&&GA.check(u)&&u.loc?(s.push({oldPath:r.copy(),newPath:t.copy()}),!0):!1}return r0(t,r,s)}function r0(t,r,s){var a=t.getValue(),u=r.getValue();if(od.assert(a),od.assert(u),a.original===null||t.needsParens()&&!r.hasParens())return!1;var e=sd.getUnionOfKeys(u,a);(u.type==="File"||a.type==="File")&&delete e.tokens,delete e.loc;var l=s.length;for(var n in e)if(n.charAt(0)!=="_"){t.stack.push(n,vl.getFieldValue(a,n)),r.stack.push(n,vl.getFieldValue(u,n));var c=YA(t,r,s);if(t.stack.length-=2,r.stack.length-=2,!c)return!1}return!(P5.check(t.getNode())&&s.length>l)}});var oP=ct(sm=>{"use strict";Object.defineProperty(sm,"__esModule",{value:!0});sm.Printer=void 0;var im=(gi(),wi(bi)),go=im.__importDefault(hr("assert")),eP=Hg(),Tt=ed(),j5=zf(),L5=ZA(),cd=im.__importStar(Uo()),Cs=cd.namedTypes,s0=cd.builtInTypes.string,R5=cd.builtInTypes.object,tm=im.__importDefault(e0()),Wo=im.__importStar(bl()),nm=function t(r,s){go.default.ok(this instanceof t),s0.assert(r),this.code=r,s&&(R5.assert(s),this.map=s)},M5=nm.prototype,tP=!1;M5.toString=function(){return tP||(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."),tP=!0),this.code};var rP=new nm(""),B5=function t(r){go.default.ok(this instanceof t);var s=r&&r.tabWidth;r=j5.normalize(r),r.sourceFileName=null;function a(e,l){return e=Object.assign({},e,l),function(n){return u(n,e)}}function u(e,l){if(go.default.ok(e instanceof tm.default),l=l||{},l.includeComments)return eP.printComments(e,a(l,{includeComments:!1}));var n=r.tabWidth;if(!s){var c=e.getNode().loc;c&&c.lines&&c.lines.guessTabWidth&&(r.tabWidth=c.lines.guessTabWidth())}var p=L5.getReprinter(e),i=p?p(u):nP(e,r,l,a(l,{includeComments:!0,avoidRootParens:!1}));return r.tabWidth=n,i}this.print=function(e){if(!e)return rP;var l=u(tm.default.from(e),{includeComments:!0,avoidRootParens:!1});return new nm(l.toString(r),Wo.composeSourceMaps(r.inputSourceMap,l.getSourceMap(r.sourceMapName,r.sourceRoot)))},this.printGenerically=function(e){if(!e)return rP;function l(i){return eP.printComments(i,function(o){return nP(o,r,{includeComments:!0,avoidRootParens:!1},l)})}var n=tm.default.from(e),c=r.reuseWhitespace;r.reuseWhitespace=!1;var p=new nm(l(n).toString(r));return r.reuseWhitespace=c,p}};sm.Printer=B5;function nP(t,r,s,a){go.default.ok(t instanceof tm.default);var u=t.getValue(),e=[],l=U5(t,r,a);if(!u||l.isEmpty())return l;var n=u.extra?u.extra.parenthesized:!1,c=$5(t,a);return c.isEmpty()?s.avoidRootParens||(n=n||t.needsParens()):e.push(c),n&&e.unshift("("),e.push(l),n&&e.push(")"),Tt.concat(e)}function U5(t,r,s){var a=t.getValue();if(!a)return Tt.fromString("");if(typeof a=="string")return Tt.fromString(a,r);Cs.Printable.assert(a);var u=[];switch(a.type){case"File":return t.call(s,"program");case"Program":return a.directives&&t.each(function(Ze){u.push(s(Ze),`;
|
|
`)},"directives"),a.interpreter&&u.push(t.call(s,"interpreter")),u.push(t.call(function(Ze){return Nc(Ze,r,s)},"body")),Tt.concat(u);case"Noop":case"EmptyStatement":return Tt.fromString("");case"ExpressionStatement":return Tt.concat([t.call(s,"expression"),";"]);case"ParenthesizedExpression":return Tt.concat(["(",t.call(s,"expression"),")"]);case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":return Tt.fromString(" ").join([t.call(s,"left"),a.operator,t.call(s,"right")]);case"AssignmentPattern":return Tt.concat([t.call(s,"left")," = ",t.call(s,"right")]);case"MemberExpression":case"OptionalMemberExpression":{u.push(t.call(s,"object"));var e=t.call(s,"property"),l=cd.getFieldValue(a,"optional");return a.computed?u.push(l?"?.[":"[",e,"]"):u.push(l?"?.":".",e),Tt.concat(u)}case"ChainExpression":return t.call(s,"expression");case"MetaProperty":return Tt.concat([t.call(s,"meta"),".",t.call(s,"property")]);case"BindExpression":return a.object&&u.push(t.call(s,"object")),u.push("::",t.call(s,"callee")),Tt.concat(u);case"Path":return Tt.fromString(".").join(a.body);case"Identifier":return Tt.concat([Tt.fromString(a.name,r),a.optional?"?":"",t.call(s,"typeAnnotation")]);case"SpreadElement":case"SpreadElementPattern":case"RestProperty":case"SpreadProperty":case"SpreadPropertyPattern":case"ObjectTypeSpreadProperty":case"RestElement":return Tt.concat(["...",t.call(s,"argument"),t.call(s,"typeAnnotation")]);case"FunctionDeclaration":case"FunctionExpression":case"TSDeclareFunction":return a.declare&&u.push("declare "),a.async&&u.push("async "),u.push("function"),a.generator&&u.push("*"),a.id?u.push(" ",t.call(s,"id"),t.call(s,"typeParameters")):a.typeParameters&&u.push(t.call(s,"typeParameters")),u.push("(",qo(t,r,s),")",t.call(s,"returnType")),a.body&&u.push(" ",t.call(s,"body")),Tt.concat(u);case"ArrowFunctionExpression":return a.async&&u.push("async "),a.typeParameters&&u.push(t.call(s,"typeParameters")),!r.arrowParensAlways&&a.params.length===1&&!a.rest&&a.params[0].type==="Identifier"&&!a.params[0].typeAnnotation&&!a.returnType?u.push(t.call(s,"params",0)):u.push("(",qo(t,r,s),")",t.call(s,"returnType")),u.push(" => ",t.call(s,"body")),Tt.concat(u);case"MethodDefinition":return i0(t,r,s);case"YieldExpression":return u.push("yield"),a.delegate&&u.push("*"),a.argument&&u.push(" ",t.call(s,"argument")),Tt.concat(u);case"AwaitExpression":return u.push("await"),a.all&&u.push("*"),a.argument&&u.push(" ",t.call(s,"argument")),Tt.concat(u);case"ModuleDeclaration":return u.push("module",t.call(s,"id")),a.source?(go.default.ok(!a.body),u.push("from",t.call(s,"source"))):u.push(t.call(s,"body")),Tt.fromString(" ").join(u);case"ImportSpecifier":return a.importKind&&a.importKind!=="value"&&u.push(a.importKind+" "),a.imported?(u.push(t.call(s,"imported")),a.local&&a.local.name!==a.imported.name&&u.push(" as ",t.call(s,"local"))):a.id&&(u.push(t.call(s,"id")),a.name&&u.push(" as ",t.call(s,"name"))),Tt.concat(u);case"ExportSpecifier":return a.local?(u.push(t.call(s,"local")),a.exported&&a.exported.name!==a.local.name&&u.push(" as ",t.call(s,"exported"))):a.id&&(u.push(t.call(s,"id")),a.name&&u.push(" as ",t.call(s,"name"))),Tt.concat(u);case"ExportBatchSpecifier":return Tt.fromString("*");case"ImportNamespaceSpecifier":return u.push("* as "),a.local?u.push(t.call(s,"local")):a.id&&u.push(t.call(s,"id")),Tt.concat(u);case"ImportDefaultSpecifier":return a.local?t.call(s,"local"):t.call(s,"id");case"TSExportAssignment":return Tt.concat(["export = ",t.call(s,"expression")]);case"ExportDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":return sP(t,r,s);case"ExportAllDeclaration":return u.push("export *"),a.exported&&u.push(" as ",t.call(s,"exported")),u.push(" from ",t.call(s,"source"),";"),Tt.concat(u);case"TSNamespaceExportDeclaration":return u.push("export as namespace ",t.call(s,"id")),rm(Tt.concat(u));case"ExportNamespaceSpecifier":return Tt.concat(["* as ",t.call(s,"exported")]);case"ExportDefaultSpecifier":return t.call(s,"exported");case"Import":return Tt.fromString("import",r);case"ImportExpression":return Tt.concat(["import(",t.call(s,"source"),")"]);case"ImportDeclaration":{if(u.push("import "),a.importKind&&a.importKind!=="value"&&u.push(a.importKind+" "),a.specifiers&&a.specifiers.length>0){var n=[],c=[];if(t.each(function(Ze){var tt=Ze.getValue();tt.type==="ImportSpecifier"?c.push(s(Ze)):(tt.type==="ImportDefaultSpecifier"||tt.type==="ImportNamespaceSpecifier")&&n.push(s(Ze))},"specifiers"),n.forEach(function(Ze,tt){tt>0&&u.push(", "),u.push(Ze)}),c.length>0){var p=Tt.fromString(", ").join(c);p.getLineLength(1)>r.wrapColumn&&(p=Tt.concat([Tt.fromString(`,
|
|
`).join(c).indent(r.tabWidth),","])),n.length>0&&u.push(", "),p.length>1?u.push(`{
|
|
`,p,`
|
|
}`):r.objectCurlySpacing?u.push("{ ",p," }"):u.push("{",p,"}")}u.push(" from ")}return u.push(t.call(s,"source"),";"),Tt.concat(u)}case"BlockStatement":{var i=t.call(function(Ze){return Nc(Ze,r,s)},"body");return i.isEmpty()&&(!a.directives||a.directives.length===0)?Tt.fromString("{}"):(u.push(`{
|
|
`),a.directives&&t.each(function(Ze){u.push(rm(s(Ze).indent(r.tabWidth)),a.directives.length>1||!i.isEmpty()?`
|
|
`:"")},"directives"),u.push(i.indent(r.tabWidth)),u.push(`
|
|
}`),Tt.concat(u))}case"ReturnStatement":{if(u.push("return"),a.argument){var o=t.call(s,"argument");o.startsWithComment()||o.length>1&&Cs.JSXElement&&Cs.JSXElement.check(a.argument)?u.push(` (
|
|
`,o.indent(r.tabWidth),`
|
|
)`):u.push(" ",o)}return u.push(";"),Tt.concat(u)}case"CallExpression":case"OptionalCallExpression":return u.push(t.call(s,"callee")),a.typeParameters&&u.push(t.call(s,"typeParameters")),a.typeArguments&&u.push(t.call(s,"typeArguments")),cd.getFieldValue(a,"optional")&&u.push("?."),u.push(iP(t,r,s)),Tt.concat(u);case"ObjectExpression":case"ObjectPattern":case"ObjectTypeAnnotation":{var h=a.type==="ObjectTypeAnnotation",d=r.flowObjectCommas?",":h?";":",",f=[],b=!1;h&&(f.push("indexers","callProperties"),a.internalSlots!=null&&f.push("internalSlots")),f.push("properties");var m=0;f.forEach(function(Ze){m+=a[Ze].length});var y=h&&m===1||m===0,x=a.exact?"{|":"{",v=a.exact?"|}":"}";u.push(y?x:x+`
|
|
`);var E=u.length-1,S=0;if(f.forEach(function(Ze){t.each(function(tt){var ge=s(tt);y||(ge=ge.indent(r.tabWidth));var fe=!h&&ge.length>1;fe&&b&&u.push(`
|
|
`),u.push(ge),S<m-1?(u.push(d+(fe?`
|
|
|
|
`:`
|
|
`)),b=!fe):(m!==1&&h||!y&&Wo.isTrailingCommaEnabled(r,"objects")&&tt.getValue().type!=="RestElement")&&u.push(d),S++},Ze)}),a.inexact){var _=Tt.fromString("...",r);y?(m>0&&u.push(d," "),u.push(_)):u.push(`
|
|
`,_.indent(r.tabWidth))}return u.push(y?v:`
|
|
`+v),S!==0&&y&&r.objectCurlySpacing&&(u[E]=x+" ",u[u.length-1]=" "+v),a.typeAnnotation&&u.push(t.call(s,"typeAnnotation")),Tt.concat(u)}case"PropertyPattern":return Tt.concat([t.call(s,"key"),": ",t.call(s,"pattern")]);case"ObjectProperty":case"Property":{if(a.method||a.kind==="get"||a.kind==="set")return i0(t,r,s);if(a.shorthand&&a.value.type==="AssignmentPattern")return t.call(s,"value");var A=t.call(s,"key");return a.computed?u.push("[",A,"]"):u.push(A),(!a.shorthand||a.key.name!==a.value.name)&&u.push(": ",t.call(s,"value")),Tt.concat(u)}case"ClassMethod":case"ObjectMethod":case"ClassPrivateMethod":case"TSDeclareMethod":return i0(t,r,s);case"PrivateName":return Tt.concat(["#",t.call(s,"id")]);case"Decorator":return Tt.concat(["@",t.call(s,"expression")]);case"ArrayExpression":case"ArrayPattern":{var L=a.elements,j=L.length,F=t.map(s,"elements"),k=Tt.fromString(", ").join(F),U=k.getLineLength(1)<=r.wrapColumn;return U?r.arrayBracketSpacing?u.push("[ "):u.push("["):u.push(`[
|
|
`),t.each(function(Ze){var tt=Ze.getName(),ge=Ze.getValue();if(!ge)u.push(",");else{var fe=F[tt];U?tt>0&&u.push(" "):fe=fe.indent(r.tabWidth),u.push(fe),(tt<j-1||!U&&Wo.isTrailingCommaEnabled(r,"arrays"))&&u.push(","),U||u.push(`
|
|
`)}},"elements"),U&&r.arrayBracketSpacing?u.push(" ]"):u.push("]"),a.typeAnnotation&&u.push(t.call(s,"typeAnnotation")),Tt.concat(u)}case"SequenceExpression":return Tt.fromString(", ").join(t.map(s,"expressions"));case"ThisExpression":return Tt.fromString("this");case"Super":return Tt.fromString("super");case"NullLiteral":return Tt.fromString("null");case"RegExpLiteral":return Tt.fromString(a.extra.raw);case"BigIntLiteral":return Tt.fromString(a.value+"n");case"NumericLiteral":return a.extra&&typeof a.extra.raw=="string"&&Number(a.extra.raw)===a.value?Tt.fromString(a.extra.raw,r):Tt.fromString(a.value,r);case"BooleanLiteral":case"StringLiteral":case"Literal":return typeof a.value=="number"&&typeof a.raw=="string"&&Number(a.raw)===a.value?Tt.fromString(a.raw,r):typeof a.value!="string"?Tt.fromString(a.value,r):Tt.fromString(em(a.value,r),r);case"Directive":return t.call(s,"value");case"DirectiveLiteral":return Tt.fromString(em(a.value,r));case"InterpreterDirective":return Tt.fromString("#!"+a.value+`
|
|
`,r);case"ModuleSpecifier":if(a.local)throw new Error("The ESTree ModuleSpecifier type should be abstract");return Tt.fromString(em(a.value,r),r);case"UnaryExpression":return u.push(a.operator),/[a-z]$/.test(a.operator)&&u.push(" "),u.push(t.call(s,"argument")),Tt.concat(u);case"UpdateExpression":return u.push(t.call(s,"argument"),a.operator),a.prefix&&u.reverse(),Tt.concat(u);case"ConditionalExpression":return Tt.concat([t.call(s,"test")," ? ",t.call(s,"consequent")," : ",t.call(s,"alternate")]);case"NewExpression":{u.push("new ",t.call(s,"callee")),a.typeParameters&&u.push(t.call(s,"typeParameters")),a.typeArguments&&u.push(t.call(s,"typeArguments"));var z=a.arguments;return z&&u.push(iP(t,r,s)),Tt.concat(u)}case"VariableDeclaration":{a.declare&&u.push("declare "),u.push(a.kind," ");var C=0,R=t.map(function(Ze){var tt=s(Ze);return C=Math.max(tt.length,C),tt},"declarations");C===1?u.push(Tt.fromString(", ").join(R)):R.length>1?u.push(Tt.fromString(`,
|
|
`).join(R).indentTail(a.kind.length+1)):u.push(R[0]);var G=t.getParentNode();return!Cs.ForStatement.check(G)&&!Cs.ForInStatement.check(G)&&!(Cs.ForOfStatement&&Cs.ForOfStatement.check(G))&&!(Cs.ForAwaitStatement&&Cs.ForAwaitStatement.check(G))&&u.push(";"),Tt.concat(u)}case"VariableDeclarator":return a.init?Tt.fromString(" = ").join([t.call(s,"id"),t.call(s,"init")]):t.call(s,"id");case"WithStatement":return Tt.concat(["with (",t.call(s,"object"),") ",t.call(s,"body")]);case"IfStatement":{var V=ku(t.call(s,"consequent"),r);return u.push("if (",t.call(s,"test"),")",V),a.alternate&&u.push(aP(V)?" else":`
|
|
else`,ku(t.call(s,"alternate"),r)),Tt.concat(u)}case"ForStatement":{var B=t.call(s,"init"),q=B.length>1?`;
|
|
`:"; ",K="for (",$=Tt.fromString(q).join([B,t.call(s,"test"),t.call(s,"update")]).indentTail(K.length),W=Tt.concat([K,$,")"]),Z=ku(t.call(s,"body"),r);return u.push(W),W.length>1&&(u.push(`
|
|
`),Z=Z.trimLeft()),u.push(Z),Tt.concat(u)}case"WhileStatement":return Tt.concat(["while (",t.call(s,"test"),")",ku(t.call(s,"body"),r)]);case"ForInStatement":return Tt.concat([a.each?"for each (":"for (",t.call(s,"left")," in ",t.call(s,"right"),")",ku(t.call(s,"body"),r)]);case"ForOfStatement":case"ForAwaitStatement":return u.push("for "),(a.await||a.type==="ForAwaitStatement")&&u.push("await "),u.push("(",t.call(s,"left")," of ",t.call(s,"right"),")",ku(t.call(s,"body"),r)),Tt.concat(u);case"DoWhileStatement":{var Q=Tt.concat(["do",ku(t.call(s,"body"),r)]);return u.push(Q),aP(Q)?u.push(" while"):u.push(`
|
|
while`),u.push(" (",t.call(s,"test"),");"),Tt.concat(u)}case"DoExpression":{var X=t.call(function(Ze){return Nc(Ze,r,s)},"body");return Tt.concat([`do {
|
|
`,X.indent(r.tabWidth),`
|
|
}`])}case"BreakStatement":return u.push("break"),a.label&&u.push(" ",t.call(s,"label")),u.push(";"),Tt.concat(u);case"ContinueStatement":return u.push("continue"),a.label&&u.push(" ",t.call(s,"label")),u.push(";"),Tt.concat(u);case"LabeledStatement":return Tt.concat([t.call(s,"label"),`:
|
|
`,t.call(s,"body")]);case"TryStatement":return u.push("try ",t.call(s,"block")),a.handler?u.push(" ",t.call(s,"handler")):a.handlers&&t.each(function(Ze){u.push(" ",s(Ze))},"handlers"),a.finalizer&&u.push(" finally ",t.call(s,"finalizer")),Tt.concat(u);case"CatchClause":return u.push("catch "),a.param&&u.push("(",t.call(s,"param")),a.guard&&u.push(" if ",t.call(s,"guard")),a.param&&u.push(") "),u.push(t.call(s,"body")),Tt.concat(u);case"ThrowStatement":return Tt.concat(["throw ",t.call(s,"argument"),";"]);case"SwitchStatement":return Tt.concat(["switch (",t.call(s,"discriminant"),`) {
|
|
`,Tt.fromString(`
|
|
`).join(t.map(s,"cases")),`
|
|
}`]);case"SwitchCase":return a.test?u.push("case ",t.call(s,"test"),":"):u.push("default:"),a.consequent.length>0&&u.push(`
|
|
`,t.call(function(Ze){return Nc(Ze,r,s)},"consequent").indent(r.tabWidth)),Tt.concat(u);case"DebuggerStatement":return Tt.fromString("debugger;");case"JSXAttribute":return u.push(t.call(s,"name")),a.value&&u.push("=",t.call(s,"value")),Tt.concat(u);case"JSXIdentifier":return Tt.fromString(a.name,r);case"JSXNamespacedName":return Tt.fromString(":").join([t.call(s,"namespace"),t.call(s,"name")]);case"JSXMemberExpression":return Tt.fromString(".").join([t.call(s,"object"),t.call(s,"property")]);case"JSXSpreadAttribute":return Tt.concat(["{...",t.call(s,"argument"),"}"]);case"JSXSpreadChild":return Tt.concat(["{...",t.call(s,"expression"),"}"]);case"JSXExpressionContainer":return Tt.concat(["{",t.call(s,"expression"),"}"]);case"JSXElement":case"JSXFragment":{var ie="opening"+(a.type==="JSXElement"?"Element":"Fragment"),oe="closing"+(a.type==="JSXElement"?"Element":"Fragment"),be=t.call(s,ie);if(a[ie].selfClosing)return go.default.ok(!a[oe],"unexpected "+oe+" element in self-closing "+a.type),be;var Ne=Tt.concat(t.map(function(Ze){var tt=Ze.getValue();if(Cs.Literal.check(tt)&&typeof tt.value=="string"){if(/\S/.test(tt.value))return tt.value.replace(/^\s+|\s+$/g,"");if(/\n/.test(tt.value))return`
|
|
`}return s(Ze)},"children")).indentTail(r.tabWidth),Pe=t.call(s,oe);return Tt.concat([be,Ne,Pe])}case"JSXOpeningElement":{u.push("<",t.call(s,"name"));var Ke=[];t.each(function(Ze){Ke.push(" ",s(Ze))},"attributes");var We=Tt.concat(Ke),Oe=We.length>1||We.getLineLength(1)>r.wrapColumn;return Oe&&(Ke.forEach(function(Ze,tt){Ze===" "&&(go.default.strictEqual(tt%2,0),Ke[tt]=`
|
|
`)}),We=Tt.concat(Ke).indentTail(r.tabWidth)),u.push(We,a.selfClosing?" />":">"),Tt.concat(u)}case"JSXClosingElement":return Tt.concat(["</",t.call(s,"name"),">"]);case"JSXOpeningFragment":return Tt.fromString("<>");case"JSXClosingFragment":return Tt.fromString("</>");case"JSXText":return Tt.fromString(a.value,r);case"JSXEmptyExpression":return Tt.fromString("");case"TypeAnnotatedIdentifier":return Tt.concat([t.call(s,"annotation")," ",t.call(s,"identifier")]);case"ClassBody":return a.body.length===0?Tt.fromString("{}"):Tt.concat([`{
|
|
`,t.call(function(Ze){return Nc(Ze,r,s)},"body").indent(r.tabWidth),`
|
|
}`]);case"ClassPropertyDefinition":return u.push("static ",t.call(s,"definition")),Cs.MethodDefinition.check(a.definition)||u.push(";"),Tt.concat(u);case"ClassProperty":{a.declare&&u.push("declare ");var de=a.accessibility||a.access;typeof de=="string"&&u.push(de," "),a.static&&u.push("static "),a.abstract&&u.push("abstract "),a.readonly&&u.push("readonly ");var A=t.call(s,"key");return a.computed&&(A=Tt.concat(["[",A,"]"])),a.variance&&(A=Tt.concat([ud(t,s),A])),u.push(A),a.optional&&u.push("?"),a.typeAnnotation&&u.push(t.call(s,"typeAnnotation")),a.value&&u.push(" = ",t.call(s,"value")),u.push(";"),Tt.concat(u)}case"ClassPrivateProperty":return a.static&&u.push("static "),u.push(t.call(s,"key")),a.typeAnnotation&&u.push(t.call(s,"typeAnnotation")),a.value&&u.push(" = ",t.call(s,"value")),u.push(";"),Tt.concat(u);case"ClassDeclaration":case"ClassExpression":return a.declare&&u.push("declare "),a.abstract&&u.push("abstract "),u.push("class"),a.id&&u.push(" ",t.call(s,"id")),a.typeParameters&&u.push(t.call(s,"typeParameters")),a.superClass&&u.push(" extends ",t.call(s,"superClass"),t.call(s,"superTypeParameters")),a.implements&&a.implements.length>0&&u.push(" implements ",Tt.fromString(", ").join(t.map(s,"implements"))),u.push(" ",t.call(s,"body")),Tt.concat(u);case"TemplateElement":return Tt.fromString(a.value.raw,r).lockIndentTail();case"TemplateLiteral":{var xe=t.map(s,"expressions");return u.push("`"),t.each(function(Ze){var tt=Ze.getName();u.push(s(Ze)),tt<xe.length&&u.push("${",xe[tt],"}")},"quasis"),u.push("`"),Tt.concat(u).lockIndentTail()}case"TaggedTemplateExpression":return Tt.concat([t.call(s,"tag"),t.call(s,"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(a.type));case"CommentBlock":case"Block":return Tt.concat(["/*",Tt.fromString(a.value,r),"*/"]);case"CommentLine":case"Line":return Tt.concat(["//",Tt.fromString(a.value,r)]);case"TypeAnnotation":return a.typeAnnotation?(a.typeAnnotation.type!=="FunctionTypeAnnotation"&&u.push(": "),u.push(t.call(s,"typeAnnotation")),Tt.concat(u)):Tt.fromString("");case"ExistentialTypeParam":case"ExistsTypeAnnotation":return Tt.fromString("*",r);case"EmptyTypeAnnotation":return Tt.fromString("empty",r);case"AnyTypeAnnotation":return Tt.fromString("any",r);case"MixedTypeAnnotation":return Tt.fromString("mixed",r);case"ArrayTypeAnnotation":return Tt.concat([t.call(s,"elementType"),"[]"]);case"TupleTypeAnnotation":{var ye=t.map(s,"types"),k=Tt.fromString(", ").join(ye),ve=k.getLineLength(1)<=r.wrapColumn;return ve?r.arrayBracketSpacing?u.push("[ "):u.push("["):u.push(`[
|
|
`),t.each(function(tt){var ge=tt.getName(),fe=tt.getValue();if(!fe)u.push(",");else{var ee=ye[ge];ve?ge>0&&u.push(" "):ee=ee.indent(r.tabWidth),u.push(ee),(ge<a.types.length-1||!ve&&Wo.isTrailingCommaEnabled(r,"arrays"))&&u.push(","),ve||u.push(`
|
|
`)}},"types"),ve&&r.arrayBracketSpacing?u.push(" ]"):u.push("]"),Tt.concat(u)}case"BooleanTypeAnnotation":return Tt.fromString("boolean",r);case"BooleanLiteralTypeAnnotation":return go.default.strictEqual(typeof a.value,"boolean"),Tt.fromString(""+a.value,r);case"InterfaceTypeAnnotation":return u.push("interface"),a.extends&&a.extends.length>0&&u.push(" extends ",Tt.fromString(", ").join(t.map(s,"extends"))),u.push(" ",t.call(s,"body")),Tt.concat(u);case"DeclareClass":return ld(t,["class ",t.call(s,"id")," ",t.call(s,"body")]);case"DeclareFunction":return ld(t,["function ",t.call(s,"id"),";"]);case"DeclareModule":return ld(t,["module ",t.call(s,"id")," ",t.call(s,"body")]);case"DeclareModuleExports":return ld(t,["module.exports",t.call(s,"typeAnnotation")]);case"DeclareVariable":return ld(t,["var ",t.call(s,"id"),";"]);case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":return Tt.concat(["declare ",sP(t,r,s)]);case"EnumDeclaration":return Tt.concat(["enum ",t.call(s,"id"),t.call(s,"body")]);case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":return(a.type==="EnumSymbolBody"||a.explicitType)&&u.push(" of ",a.type.slice(4,-4).toLowerCase()),u.push(` {
|
|
`,Tt.fromString(`
|
|
`).join(t.map(s,"members")).indent(r.tabWidth),`
|
|
}`),Tt.concat(u);case"EnumDefaultedMember":return Tt.concat([t.call(s,"id"),","]);case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":return Tt.concat([t.call(s,"id")," = ",t.call(s,"init"),","]);case"InferredPredicate":return Tt.fromString("%checks",r);case"DeclaredPredicate":return Tt.concat(["%checks(",t.call(s,"value"),")"]);case"FunctionTypeAnnotation":{var he=t.getParentNode(0),Te=!(Cs.ObjectTypeCallProperty.check(he)||Cs.ObjectTypeInternalSlot.check(he)&&he.method||Cs.DeclareFunction.check(t.getParentNode(2))),Ce=Te&&!Cs.FunctionTypeParam.check(he)&&!Cs.TypeAlias.check(he);Ce&&u.push(": ");var se=!!a.typeParameters,pe=se||a.params.length!==1||a.params[0].name;return u.push(se?t.call(s,"typeParameters"):"",pe?"(":"",qo(t,r,s),pe?")":""),a.returnType&&u.push(Te?" => ":": ",t.call(s,"returnType")),Tt.concat(u)}case"FunctionTypeParam":{var nt=t.call(s,"name");return u.push(nt),a.optional&&u.push("?"),nt.infos[0].line&&u.push(": "),u.push(t.call(s,"typeAnnotation")),Tt.concat(u)}case"GenericTypeAnnotation":return Tt.concat([t.call(s,"id"),t.call(s,"typeParameters")]);case"DeclareInterface":u.push("declare ");case"InterfaceDeclaration":case"TSInterfaceDeclaration":return a.declare&&u.push("declare "),u.push("interface ",t.call(s,"id"),t.call(s,"typeParameters")," "),a.extends&&a.extends.length>0&&u.push("extends ",Tt.fromString(", ").join(t.map(s,"extends"))," "),a.body&&u.push(t.call(s,"body")),Tt.concat(u);case"ClassImplements":case"InterfaceExtends":return Tt.concat([t.call(s,"id"),t.call(s,"typeParameters")]);case"IntersectionTypeAnnotation":return Tt.fromString(" & ").join(t.map(s,"types"));case"NullableTypeAnnotation":return Tt.concat(["?",t.call(s,"typeAnnotation")]);case"NullLiteralTypeAnnotation":return Tt.fromString("null",r);case"ThisTypeAnnotation":return Tt.fromString("this",r);case"NumberTypeAnnotation":return Tt.fromString("number",r);case"ObjectTypeCallProperty":return t.call(s,"value");case"ObjectTypeIndexer":return a.static&&u.push("static "),u.push(ud(t,s),"["),a.id&&u.push(t.call(s,"id"),": "),u.push(t.call(s,"key"),"]: ",t.call(s,"value")),Tt.concat(u);case"ObjectTypeProperty":return Tt.concat([ud(t,s),t.call(s,"key"),a.optional?"?":"",": ",t.call(s,"value")]);case"ObjectTypeInternalSlot":return Tt.concat([a.static?"static ":"","[[",t.call(s,"id"),"]]",a.optional?"?":"",a.value.type!=="FunctionTypeAnnotation"?": ":"",t.call(s,"value")]);case"QualifiedTypeIdentifier":return Tt.concat([t.call(s,"qualification"),".",t.call(s,"id")]);case"StringLiteralTypeAnnotation":return Tt.fromString(em(a.value,r),r);case"NumberLiteralTypeAnnotation":case"NumericLiteralTypeAnnotation":return go.default.strictEqual(typeof a.value,"number"),Tt.fromString(JSON.stringify(a.value),r);case"BigIntLiteralTypeAnnotation":return Tt.fromString(a.raw,r);case"StringTypeAnnotation":return Tt.fromString("string",r);case"DeclareTypeAlias":u.push("declare ");case"TypeAlias":return Tt.concat(["type ",t.call(s,"id"),t.call(s,"typeParameters")," = ",t.call(s,"right"),";"]);case"DeclareOpaqueType":u.push("declare ");case"OpaqueType":return u.push("opaque type ",t.call(s,"id"),t.call(s,"typeParameters")),a.supertype&&u.push(": ",t.call(s,"supertype")),a.impltype&&u.push(" = ",t.call(s,"impltype")),u.push(";"),Tt.concat(u);case"TypeCastExpression":return Tt.concat(["(",t.call(s,"expression"),t.call(s,"typeAnnotation"),")"]);case"TypeParameterDeclaration":case"TypeParameterInstantiation":return Tt.concat(["<",Tt.fromString(", ").join(t.map(s,"params")),">"]);case"Variance":return a.kind==="plus"?Tt.fromString("+"):a.kind==="minus"?Tt.fromString("-"):Tt.fromString("");case"TypeParameter":return a.variance&&u.push(ud(t,s)),u.push(t.call(s,"name")),a.bound&&u.push(t.call(s,"bound")),a.default&&u.push("=",t.call(s,"default")),Tt.concat(u);case"TypeofTypeAnnotation":return Tt.concat([Tt.fromString("typeof ",r),t.call(s,"argument")]);case"UnionTypeAnnotation":return Tt.fromString(" | ").join(t.map(s,"types"));case"VoidTypeAnnotation":return Tt.fromString("void",r);case"NullTypeAnnotation":return Tt.fromString("null",r);case"SymbolTypeAnnotation":return Tt.fromString("symbol",r);case"BigIntTypeAnnotation":return Tt.fromString("bigint",r);case"TSType":throw new Error("unprintable type: "+JSON.stringify(a.type));case"TSNumberKeyword":return Tt.fromString("number",r);case"TSBigIntKeyword":return Tt.fromString("bigint",r);case"TSObjectKeyword":return Tt.fromString("object",r);case"TSBooleanKeyword":return Tt.fromString("boolean",r);case"TSStringKeyword":return Tt.fromString("string",r);case"TSSymbolKeyword":return Tt.fromString("symbol",r);case"TSAnyKeyword":return Tt.fromString("any",r);case"TSVoidKeyword":return Tt.fromString("void",r);case"TSThisType":return Tt.fromString("this",r);case"TSNullKeyword":return Tt.fromString("null",r);case"TSUndefinedKeyword":return Tt.fromString("undefined",r);case"TSUnknownKeyword":return Tt.fromString("unknown",r);case"TSNeverKeyword":return Tt.fromString("never",r);case"TSArrayType":return Tt.concat([t.call(s,"elementType"),"[]"]);case"TSLiteralType":return t.call(s,"literal");case"TSUnionType":return Tt.fromString(" | ").join(t.map(s,"types"));case"TSIntersectionType":return Tt.fromString(" & ").join(t.map(s,"types"));case"TSConditionalType":return u.push(t.call(s,"checkType")," extends ",t.call(s,"extendsType")," ? ",t.call(s,"trueType")," : ",t.call(s,"falseType")),Tt.concat(u);case"TSInferType":return u.push("infer ",t.call(s,"typeParameter")),Tt.concat(u);case"TSParenthesizedType":return Tt.concat(["(",t.call(s,"typeAnnotation"),")"]);case"TSFunctionType":return Tt.concat([t.call(s,"typeParameters"),"(",qo(t,r,s),") => ",t.call(s,"typeAnnotation","typeAnnotation")]);case"TSConstructorType":return Tt.concat(["new ",t.call(s,"typeParameters"),"(",qo(t,r,s),") => ",t.call(s,"typeAnnotation","typeAnnotation")]);case"TSMappedType":return u.push(a.readonly?"readonly ":"","[",t.call(s,"typeParameter"),"]",a.optional?"?":""),a.typeAnnotation&&u.push(": ",t.call(s,"typeAnnotation"),";"),Tt.concat([`{
|
|
`,Tt.concat(u).indent(r.tabWidth),`
|
|
}`]);case"TSTupleType":return Tt.concat(["[",Tt.fromString(", ").join(t.map(s,"elementTypes")),"]"]);case"TSNamedTupleMember":return u.push(t.call(s,"label")),a.optional&&u.push("?"),u.push(": ",t.call(s,"elementType")),Tt.concat(u);case"TSRestType":return Tt.concat(["...",t.call(s,"typeAnnotation")]);case"TSOptionalType":return Tt.concat([t.call(s,"typeAnnotation"),"?"]);case"TSIndexedAccessType":return Tt.concat([t.call(s,"objectType"),"[",t.call(s,"indexType"),"]"]);case"TSTypeOperator":return Tt.concat([t.call(s,"operator")," ",t.call(s,"typeAnnotation")]);case"TSTypeLiteral":{var ft=Tt.fromString(`,
|
|
`).join(t.map(s,"members"));return ft.isEmpty()?Tt.fromString("{}",r):(u.push(`{
|
|
`,ft.indent(r.tabWidth),`
|
|
}`),Tt.concat(u))}case"TSEnumMember":return u.push(t.call(s,"id")),a.initializer&&u.push(" = ",t.call(s,"initializer")),Tt.concat(u);case"TSTypeQuery":return Tt.concat(["typeof ",t.call(s,"exprName")]);case"TSParameterProperty":return a.accessibility&&u.push(a.accessibility," "),a.export&&u.push("export "),a.static&&u.push("static "),a.readonly&&u.push("readonly "),u.push(t.call(s,"parameter")),Tt.concat(u);case"TSTypeReference":return Tt.concat([t.call(s,"typeName"),t.call(s,"typeParameters")]);case"TSQualifiedName":return Tt.concat([t.call(s,"left"),".",t.call(s,"right")]);case"TSAsExpression":{var _t=t.call(s,"expression");return u.push(_t,Tt.fromString(" as "),t.call(s,"typeAnnotation")),Tt.concat(u)}case"TSNonNullExpression":return Tt.concat([t.call(s,"expression"),"!"]);case"TSTypeAnnotation":return Tt.concat([": ",t.call(s,"typeAnnotation")]);case"TSIndexSignature":return Tt.concat([a.readonly?"readonly ":"","[",t.map(s,"parameters"),"]",t.call(s,"typeAnnotation")]);case"TSPropertySignature":return u.push(ud(t,s),a.readonly?"readonly ":""),a.computed?u.push("[",t.call(s,"key"),"]"):u.push(t.call(s,"key")),u.push(a.optional?"?":"",t.call(s,"typeAnnotation")),Tt.concat(u);case"TSMethodSignature":return a.computed?u.push("[",t.call(s,"key"),"]"):u.push(t.call(s,"key")),a.optional&&u.push("?"),u.push(t.call(s,"typeParameters"),"(",qo(t,r,s),")",t.call(s,"typeAnnotation")),Tt.concat(u);case"TSTypePredicate":return a.asserts&&u.push("asserts "),u.push(t.call(s,"parameterName")),a.typeAnnotation&&u.push(" is ",t.call(s,"typeAnnotation","typeAnnotation")),Tt.concat(u);case"TSCallSignatureDeclaration":return Tt.concat([t.call(s,"typeParameters"),"(",qo(t,r,s),")",t.call(s,"typeAnnotation")]);case"TSConstructSignatureDeclaration":return a.typeParameters?u.push("new",t.call(s,"typeParameters")):u.push("new "),u.push("(",qo(t,r,s),")",t.call(s,"typeAnnotation")),Tt.concat(u);case"TSTypeAliasDeclaration":return Tt.concat([a.declare?"declare ":"","type ",t.call(s,"id"),t.call(s,"typeParameters")," = ",t.call(s,"typeAnnotation"),";"]);case"TSTypeParameter":{u.push(t.call(s,"name"));var he=t.getParentNode(0),Pt=Cs.TSMappedType.check(he);return a.constraint&&u.push(Pt?" in ":" extends ",t.call(s,"constraint")),a.default&&u.push(" = ",t.call(s,"default")),Tt.concat(u)}case"TSTypeAssertion":return u.push("<",t.call(s,"typeAnnotation"),"> ",t.call(s,"expression")),Tt.concat(u);case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return Tt.concat(["<",Tt.fromString(", ").join(t.map(s,"params")),">"]);case"TSEnumDeclaration":{u.push(a.declare?"declare ":"",a.const?"const ":"","enum ",t.call(s,"id"));var ft=Tt.fromString(`,
|
|
`).join(t.map(s,"members"));return ft.isEmpty()?u.push(" {}"):u.push(` {
|
|
`,ft.indent(r.tabWidth),`
|
|
}`),Tt.concat(u)}case"TSExpressionWithTypeArguments":return Tt.concat([t.call(s,"expression"),t.call(s,"typeParameters")]);case"TSInterfaceBody":{var p=Tt.fromString(`;
|
|
`).join(t.map(s,"body"));return p.isEmpty()?Tt.fromString("{}",r):Tt.concat([`{
|
|
`,p.indent(r.tabWidth),";",`
|
|
}`])}case"TSImportType":return u.push("import(",t.call(s,"argument"),")"),a.qualifier&&u.push(".",t.call(s,"qualifier")),a.typeParameters&&u.push(t.call(s,"typeParameters")),Tt.concat(u);case"TSImportEqualsDeclaration":return a.isExport&&u.push("export "),u.push("import ",t.call(s,"id")," = ",t.call(s,"moduleReference")),rm(Tt.concat(u));case"TSExternalModuleReference":return Tt.concat(["require(",t.call(s,"expression"),")"]);case"TSModuleDeclaration":{var he=t.getParentNode();if(he.type==="TSModuleDeclaration")u.push(".");else if(a.declare&&u.push("declare "),!a.global){var ht=a.id.type==="StringLiteral"||a.id.type==="Literal"&&typeof a.id.value=="string";if(ht)u.push("module ");else if(a.loc&&a.loc.lines&&a.id.loc){var De=a.loc.lines.sliceString(a.loc.start,a.id.loc.start);De.indexOf("module")>=0?u.push("module "):u.push("namespace ")}else u.push("namespace ")}if(u.push(t.call(s,"id")),a.body&&a.body.type==="TSModuleDeclaration")u.push(t.call(s,"body"));else if(a.body){var ze=t.call(s,"body");ze.isEmpty()?u.push(" {}"):u.push(` {
|
|
`,ze.indent(r.tabWidth),`
|
|
}`)}return Tt.concat(u)}case"TSModuleBlock":return t.call(function(Ze){return Nc(Ze,r,s)},"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(a.type))}}function $5(t,r){var s=[],a=t.getValue();return a.decorators&&a.decorators.length>0&&!Wo.getParentExportDeclaration(t)?t.each(function(u){s.push(r(u),`
|
|
`)},"decorators"):Wo.isExportDeclaration(a)&&a.declaration&&a.declaration.decorators&&t.each(function(u){s.push(r(u),`
|
|
`)},"declaration","decorators"),Tt.concat(s)}function Nc(t,r,s){var a=[],u=!1,e=!1;t.each(function(p){var i=p.getValue();i&&(i.type==="EmptyStatement"&&!(i.comments&&i.comments.length>0)||(Cs.Comment.check(i)?u=!0:Cs.Statement.check(i)?e=!0:s0.assert(i),a.push({node:i,printed:s(p)})))}),u&&go.default.strictEqual(e,!1,"Comments may appear as statements in otherwise empty statement lists, but may not coexist with non-Comment nodes.");var l=null,n=a.length,c=[];return a.forEach(function(p,i){var o=p.printed,h=p.node,d=o.length>1,f=i>0,b=i<n-1,m,y,x=h&&h.loc&&h.loc.lines,v=x&&r.reuseWhitespace&&Wo.getTrueLoc(h,x);if(f)if(v){var E=x.skipSpaces(v.start,!0),S=E?E.line:1,_=v.start.line-S;m=Array(_+1).join(`
|
|
`)}else m=d?`
|
|
|
|
`:`
|
|
`;else m="";if(b)if(v){var A=x.skipSpaces(v.end),L=A?A.line:x.length,j=L-v.end.line;y=Array(j+1).join(`
|
|
`)}else y=d?`
|
|
|
|
`:`
|
|
`;else y="";c.push(V5(l,m),o),b?l=y:y&&c.push(y)}),Tt.concat(c)}function V5(t,r){if(!t&&!r)return Tt.fromString("");if(!t)return Tt.fromString(r);if(!r)return Tt.fromString(t);var s=Tt.fromString(t),a=Tt.fromString(r);return a.length>s.length?a:s}function i0(t,r,s){var a=t.getNode(),u=a.kind,e=[],l=a.value;Cs.FunctionExpression.check(l)||(l=a);var n=a.accessibility||a.access;typeof n=="string"&&e.push(n," "),a.static&&e.push("static "),a.abstract&&e.push("abstract "),a.readonly&&e.push("readonly "),l.async&&e.push("async "),l.generator&&e.push("*"),(u==="get"||u==="set")&&e.push(u," ");var c=t.call(s,"key");return a.computed&&(c=Tt.concat(["[",c,"]"])),e.push(c),a.optional&&e.push("?"),a===l?(e.push(t.call(s,"typeParameters"),"(",qo(t,r,s),")",t.call(s,"returnType")),a.body?e.push(" ",t.call(s,"body")):e.push(";")):(e.push(t.call(s,"value","typeParameters"),"(",t.call(function(p){return qo(p,r,s)},"value"),")",t.call(s,"value","returnType")),l.body?e.push(" ",t.call(s,"value","body")):e.push(";")),Tt.concat(e)}function iP(t,r,s){var a=t.map(s,"arguments"),u=Wo.isTrailingCommaEnabled(r,"parameters"),e=Tt.fromString(", ").join(a);return e.getLineLength(1)>r.wrapColumn?(e=Tt.fromString(`,
|
|
`).join(a),Tt.concat([`(
|
|
`,e.indent(r.tabWidth),u?`,
|
|
)`:`
|
|
)`])):Tt.concat(["(",e,")"])}function qo(t,r,s){var a=t.getValue(),u,e=[];a.params?(u=a.params,e=t.map(s,"params")):a.parameters&&(u=a.parameters,e=t.map(s,"parameters")),a.defaults&&t.each(function(n){var c=n.getName(),p=e[c];p&&n.getValue()&&(e[c]=Tt.concat([p," = ",s(n)]))},"defaults"),a.rest&&e.push(Tt.concat(["...",t.call(s,"rest")]));var l=Tt.fromString(", ").join(e);return l.length>1||l.getLineLength(1)>r.wrapColumn?(l=Tt.fromString(`,
|
|
`).join(e),Wo.isTrailingCommaEnabled(r,"parameters")&&!a.rest&&u[u.length-1].type!=="RestElement"?l=Tt.concat([l,`,
|
|
`]):l=Tt.concat([l,`
|
|
`]),Tt.concat([`
|
|
`,l.indent(r.tabWidth)])):l}function sP(t,r,s){var a=t.getValue(),u=["export "];a.exportKind&&a.exportKind==="type"&&(a.declaration||u.push("type "));var e=r.objectCurlySpacing;if(Cs.Declaration.assert(a),(a.default||a.type==="ExportDefaultDeclaration")&&u.push("default "),a.declaration)u.push(t.call(s,"declaration"));else if(a.specifiers){if(a.specifiers.length===1&&a.specifiers[0].type==="ExportBatchSpecifier")u.push("*");else if(a.specifiers.length===0)u.push("{}");else if(a.specifiers[0].type==="ExportDefaultSpecifier"){var l=[],n=[];if(t.each(function(i){var o=i.getValue();o.type==="ExportDefaultSpecifier"?l.push(s(i)):n.push(s(i))},"specifiers"),l.forEach(function(i,o){o>0&&u.push(", "),u.push(i)}),n.length>0){var c=Tt.fromString(", ").join(n);c.getLineLength(1)>r.wrapColumn&&(c=Tt.concat([Tt.fromString(`,
|
|
`).join(n).indent(r.tabWidth),","])),l.length>0&&u.push(", "),c.length>1?u.push(`{
|
|
`,c,`
|
|
}`):r.objectCurlySpacing?u.push("{ ",c," }"):u.push("{",c,"}")}}else u.push(e?"{ ":"{",Tt.fromString(", ").join(t.map(s,"specifiers")),e?" }":"}");a.source&&u.push(" from ",t.call(s,"source"))}var p=Tt.concat(u);return a0(p)!==";"&&!(a.declaration&&(a.declaration.type==="FunctionDeclaration"||a.declaration.type==="ClassDeclaration"||a.declaration.type==="TSModuleDeclaration"||a.declaration.type==="TSInterfaceDeclaration"||a.declaration.type==="TSEnumDeclaration"))&&(p=Tt.concat([p,";"])),p}function ld(t,r){var s=Wo.getParentExportDeclaration(t);return s?go.default.strictEqual(s.type,"DeclareExportDeclaration"):r.unshift("declare "),Tt.concat(r)}function ud(t,r){return t.call(function(s){var a=s.getValue();return a?a==="plus"?Tt.fromString("+"):a==="minus"?Tt.fromString("-"):r(s):Tt.fromString("")},"variance")}function ku(t,r){return t.length>1?Tt.concat([" ",t]):Tt.concat([`
|
|
`,rm(t).indent(r.tabWidth)])}function a0(t){var r=t.lastPos();do{var s=t.charAt(r);if(/\S/.test(s))return s}while(t.prevPos(r))}function aP(t){return a0(t)==="}"}function Zf(t){return t.replace(/['"]/g,function(r){return r==='"'?"'":'"'})}function em(t,r){switch(s0.assert(t),r.quote){case"auto":{var s=JSON.stringify(t),a=Zf(JSON.stringify(Zf(t)));return s.length>a.length?a:s}case"single":return Zf(JSON.stringify(Zf(t)));case"double":default:return JSON.stringify(t)}}function rm(t){var r=a0(t);return!r||`
|
|
};`.indexOf(r)<0?Tt.concat([t,";"]):t}});var dP=ct(Ma=>{"use strict";Object.defineProperty(Ma,"__esModule",{value:!0});Ma.run=Ma.prettyPrint=Ma.print=Ma.types=Ma.parse=void 0;var lP=(gi(),wi(bi)),q5=lP.__importDefault(hr("fs")),W5=lP.__importStar(Uo());Ma.types=W5;var uP=WA();Object.defineProperty(Ma,"parse",{enumerable:!0,get:function(){return uP.parse}});var cP=oP(),K5=Uo();Object.defineProperty(Ma,"visit",{enumerable:!0,get:function(){return K5.visit}});function pP(t,r){return new cP.Printer(r).print(t)}Ma.print=pP;function z5(t,r){return new cP.Printer(r).printGenerically(t)}Ma.prettyPrint=z5;function H5(t,r){return G5(process.argv[2],t,r)}Ma.run=H5;function G5(t,r,s){q5.default.readFile(t,"utf-8",function(a,u){if(a){console.error(a);return}X5(u,r,s)})}function J5(t){process.stdout.write(t)}function X5(t,r,s){var a=s&&s.writeback||J5;r(uP.parse(t,s),function(u){a(pP(u,s).code)})}});var bP=ct((Lle,yP)=>{"use strict";var e8=t=>{let r=!1,s;return()=>(r||(s=t(),r=!0,t=void 0),s)};yP.exports=e8});var EP=ct((Mle,TP)=>{"use strict";var{nextTick:gP}=hr("process"),vP=t=>{let r=t.length-1;for(;r>=0;){let s=t.charCodeAt(r);if(s===47||s===92)break;r--}return r<0?"":t.slice(0,r)},om=(t,r,s)=>{if(t.length===1){t[0](r,s),t.length=0;return}let a;for(let u of t)try{u(r,s)}catch(e){a||(a=e)}if(t.length=0,a)throw a},l0=class{constructor(r,s,a){this._provider=r,this._syncProvider=s,this._providerContext=a,this._activeAsyncOperations=new Map,this.provide=this._provider?(u,e,l)=>{if(typeof e=="function"&&(l=e,e=void 0),typeof u!="string"&&!Buffer.isBuffer(u)&&!(u instanceof URL)&&typeof u!="number"){l(new TypeError("path must be a string, Buffer, URL or number"));return}if(e)return this._provider.call(this._providerContext,u,e,l);let n=this._activeAsyncOperations.get(u);if(n){n.push(l);return}this._activeAsyncOperations.set(u,n=[l]),r(u,(c,p)=>{this._activeAsyncOperations.delete(u),om(n,c,p)})}:null,this.provideSync=this._syncProvider?(u,e)=>this._syncProvider.call(this._providerContext,u,e):null}purge(){}purgeParent(){}},Du=0,pd=1,xP=2,u0=class{constructor(r,s,a,u){this._duration=r,this._provider=s,this._syncProvider=a,this._providerContext=u,this._activeAsyncOperations=new Map,this._data=new Map,this._levels=[];for(let e=0;e<10;e++)this._levels.push(new Set);for(let e=5e3;e<r;e+=500)this._levels.push(new Set);this._currentLevel=0,this._tickInterval=Math.floor(r/this._levels.length),this._mode=Du,this._timeout=void 0,this._nextDecay=void 0,this.provide=s?this.provide.bind(this):null,this.provideSync=a?this.provideSync.bind(this):null}provide(r,s,a){if(typeof s=="function"&&(a=s,s=void 0),typeof r!="string"&&!Buffer.isBuffer(r)&&!(r instanceof URL)&&typeof r!="number"){a(new TypeError("path must be a string, Buffer, URL or number"));return}let u=typeof r!="string"?r.toString():r;if(s)return this._provider.call(this._providerContext,r,s,a);this._mode===pd&&this._enterAsyncMode();let e=this._data.get(u);if(e!==void 0)return e.err?gP(a,e.err):gP(a,null,e.result);let l=this._activeAsyncOperations.get(u);if(l!==void 0){l.push(a);return}this._activeAsyncOperations.set(u,l=[a]),this._provider.call(this._providerContext,r,(n,c)=>{this._activeAsyncOperations.delete(u),this._storeResult(u,n,c),this._enterAsyncMode(),om(l,n,c)})}provideSync(r,s){if(typeof r!="string"&&!Buffer.isBuffer(r)&&!(r instanceof URL)&&typeof r!="number")throw new TypeError("path must be a string");let a=typeof r!="string"?r.toString():r;if(s)return this._syncProvider.call(this._providerContext,r,s);this._mode===pd&&this._runDecays();let u=this._data.get(a);if(u!==void 0){if(u.err)throw u.err;return u.result}let e=this._activeAsyncOperations.get(a);this._activeAsyncOperations.delete(a);let l;try{l=this._syncProvider.call(this._providerContext,r)}catch(n){throw this._storeResult(a,n,void 0),this._enterSyncModeWhenIdle(),e&&om(e,n,void 0),n}return this._storeResult(a,null,l),this._enterSyncModeWhenIdle(),e&&om(e,null,l),l}purge(r){if(r)if(typeof r=="string"||Buffer.isBuffer(r)||r instanceof URL||typeof r=="number"){let s=typeof r!="string"?r.toString():r;for(let[a,u]of this._data)a.startsWith(s)&&(this._data.delete(a),u.level.delete(a));this._data.size===0&&this._enterIdleMode()}else{for(let[s,a]of this._data)for(let u of r){let e=typeof u!="string"?u.toString():u;if(s.startsWith(e)){this._data.delete(s),a.level.delete(s);break}}this._data.size===0&&this._enterIdleMode()}else if(this._mode!==Du){this._data.clear();for(let s of this._levels)s.clear();this._enterIdleMode()}}purgeParent(r){if(!r)this.purge();else if(typeof r=="string"||Buffer.isBuffer(r)||r instanceof URL||typeof r=="number"){let s=typeof r!="string"?r.toString():r;this.purge(vP(s))}else{let s=new Set;for(let a of r){let u=typeof a!="string"?a.toString():a;s.add(vP(u))}this.purge(s)}}_storeResult(r,s,a){if(this._data.has(r))return;let u=this._levels[this._currentLevel];this._data.set(r,{err:s,result:a,level:u}),u.add(r)}_decayLevel(){let r=(this._currentLevel+1)%this._levels.length,s=this._levels[r];this._currentLevel=r;for(let a of s)this._data.delete(a);s.clear(),this._data.size===0?this._enterIdleMode():this._nextDecay+=this._tickInterval}_runDecays(){for(;this._nextDecay<=Date.now()&&this._mode!==Du;)this._decayLevel()}_enterAsyncMode(){let r=0;switch(this._mode){case xP:return;case Du:this._nextDecay=Date.now()+this._tickInterval,r=this._tickInterval;break;case pd:if(this._runDecays(),this._mode===Du)return;r=Math.max(0,this._nextDecay-Date.now());break}this._mode=xP;let s=setTimeout(()=>{this._mode=pd,this._runDecays()},r);s.unref&&s.unref(),this._timeout=s}_enterSyncModeWhenIdle(){this._mode===Du&&(this._mode=pd,this._nextDecay=Date.now()+this._tickInterval)}_enterIdleMode(){this._mode=Du,this._nextDecay=void 0,this._timeout&&clearTimeout(this._timeout)}},Iu=(t,r,s,a)=>t>0?new u0(t,r,s,a):new l0(r,s,a);TP.exports=class{constructor(r,s){this.fileSystem=r,this._lstatBackend=Iu(s,this.fileSystem.lstat,this.fileSystem.lstatSync,this.fileSystem);let a=this._lstatBackend.provide;this.lstat=a;let u=this._lstatBackend.provideSync;this.lstatSync=u,this._statBackend=Iu(s,this.fileSystem.stat,this.fileSystem.statSync,this.fileSystem);let e=this._statBackend.provide;this.stat=e;let l=this._statBackend.provideSync;this.statSync=l,this._readdirBackend=Iu(s,this.fileSystem.readdir,this.fileSystem.readdirSync,this.fileSystem);let n=this._readdirBackend.provide;this.readdir=n;let c=this._readdirBackend.provideSync;this.readdirSync=c,this._readFileBackend=Iu(s,this.fileSystem.readFile,this.fileSystem.readFileSync,this.fileSystem);let p=this._readFileBackend.provide;this.readFile=p;let i=this._readFileBackend.provideSync;this.readFileSync=i,this._readJsonBackend=Iu(s,this.fileSystem.readJson||this.readFile&&((y,x)=>{this.readFile(y,(v,E)=>{if(v)return x(v);if(!E||E.length===0)return x(new Error("No file content"));let S;try{S=JSON.parse(E.toString("utf8"))}catch(_){return x(_)}x(null,S)})}),this.fileSystem.readJsonSync||this.readFileSync&&(y=>{let x=this.readFileSync(y);return JSON.parse(x.toString("utf8"))}),this.fileSystem);let o=this._readJsonBackend.provide;this.readJson=o;let h=this._readJsonBackend.provideSync;this.readJsonSync=h,this._readlinkBackend=Iu(s,this.fileSystem.readlink,this.fileSystem.readlinkSync,this.fileSystem);let d=this._readlinkBackend.provide;this.readlink=d;let f=this._readlinkBackend.provideSync;this.readlinkSync=f,this._realpathBackend=Iu(s,this.fileSystem.realpath,this.fileSystem.realpathSync,this.fileSystem);let b=this._realpathBackend.provide;this.realpath=b;let m=this._realpathBackend.provideSync;this.realpathSync=m}purge(r){this._statBackend.purge(r),this._lstatBackend.purge(r),this._readdirBackend.purgeParent(r),this._readFileBackend.purge(r),this._readlinkBackend.purge(r),this._readJsonBackend.purge(r),this._realpathBackend.purge(r)}}});var wP=ct((Ble,SP)=>{var Kl=hr("constants"),t8=process.cwd,lm=null,r8=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){return lm||(lm=t8.call(process)),lm};try{process.cwd()}catch{}typeof process.chdir=="function"&&(c0=process.chdir,process.chdir=function(t){lm=null,c0.call(process,t)},Object.setPrototypeOf&&Object.setPrototypeOf(process.chdir,c0));var c0;SP.exports=n8;function n8(t){Kl.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)&&r(t),t.lutimes||s(t),t.chown=e(t.chown),t.fchown=e(t.fchown),t.lchown=e(t.lchown),t.chmod=a(t.chmod),t.fchmod=a(t.fchmod),t.lchmod=a(t.lchmod),t.chownSync=l(t.chownSync),t.fchownSync=l(t.fchownSync),t.lchownSync=l(t.lchownSync),t.chmodSync=u(t.chmodSync),t.fchmodSync=u(t.fchmodSync),t.lchmodSync=u(t.lchmodSync),t.stat=n(t.stat),t.fstat=n(t.fstat),t.lstat=n(t.lstat),t.statSync=c(t.statSync),t.fstatSync=c(t.fstatSync),t.lstatSync=c(t.lstatSync),t.chmod&&!t.lchmod&&(t.lchmod=function(i,o,h){h&&process.nextTick(h)},t.lchmodSync=function(){}),t.chown&&!t.lchown&&(t.lchown=function(i,o,h,d){d&&process.nextTick(d)},t.lchownSync=function(){}),r8==="win32"&&(t.rename=typeof t.rename!="function"?t.rename:(function(i){function o(h,d,f){var b=Date.now(),m=0;i(h,d,function y(x){if(x&&(x.code==="EACCES"||x.code==="EPERM"||x.code==="EBUSY")&&Date.now()-b<6e4){setTimeout(function(){t.stat(d,function(v,E){v&&v.code==="ENOENT"?i(h,d,y):f(x)})},m),m<100&&(m+=10);return}f&&f(x)})}return Object.setPrototypeOf&&Object.setPrototypeOf(o,i),o})(t.rename)),t.read=typeof t.read!="function"?t.read:(function(i){function o(h,d,f,b,m,y){var x;if(y&&typeof y=="function"){var v=0;x=function(E,S,_){if(E&&E.code==="EAGAIN"&&v<10)return v++,i.call(t,h,d,f,b,m,x);y.apply(this,arguments)}}return i.call(t,h,d,f,b,m,x)}return Object.setPrototypeOf&&Object.setPrototypeOf(o,i),o})(t.read),t.readSync=typeof t.readSync!="function"?t.readSync:(function(i){return function(o,h,d,f,b){for(var m=0;;)try{return i.call(t,o,h,d,f,b)}catch(y){if(y.code==="EAGAIN"&&m<10){m++;continue}throw y}}})(t.readSync);function r(i){i.lchmod=function(o,h,d){i.open(o,Kl.O_WRONLY|Kl.O_SYMLINK,h,function(f,b){if(f){d&&d(f);return}i.fchmod(b,h,function(m){i.close(b,function(y){d&&d(m||y)})})})},i.lchmodSync=function(o,h){var d=i.openSync(o,Kl.O_WRONLY|Kl.O_SYMLINK,h),f=!0,b;try{b=i.fchmodSync(d,h),f=!1}finally{if(f)try{i.closeSync(d)}catch{}else i.closeSync(d)}return b}}function s(i){Kl.hasOwnProperty("O_SYMLINK")&&i.futimes?(i.lutimes=function(o,h,d,f){i.open(o,Kl.O_SYMLINK,function(b,m){if(b){f&&f(b);return}i.futimes(m,h,d,function(y){i.close(m,function(x){f&&f(y||x)})})})},i.lutimesSync=function(o,h,d){var f=i.openSync(o,Kl.O_SYMLINK),b,m=!0;try{b=i.futimesSync(f,h,d),m=!1}finally{if(m)try{i.closeSync(f)}catch{}else i.closeSync(f)}return b}):i.futimes&&(i.lutimes=function(o,h,d,f){f&&process.nextTick(f)},i.lutimesSync=function(){})}function a(i){return i&&function(o,h,d){return i.call(t,o,h,function(f){p(f)&&(f=null),d&&d.apply(this,arguments)})}}function u(i){return i&&function(o,h){try{return i.call(t,o,h)}catch(d){if(!p(d))throw d}}}function e(i){return i&&function(o,h,d,f){return i.call(t,o,h,d,function(b){p(b)&&(b=null),f&&f.apply(this,arguments)})}}function l(i){return i&&function(o,h,d){try{return i.call(t,o,h,d)}catch(f){if(!p(f))throw f}}}function n(i){return i&&function(o,h,d){typeof h=="function"&&(d=h,h=null);function f(b,m){m&&(m.uid<0&&(m.uid+=4294967296),m.gid<0&&(m.gid+=4294967296)),d&&d.apply(this,arguments)}return h?i.call(t,o,h,f):i.call(t,o,f)}}function c(i){return i&&function(o,h){var d=h?i.call(t,o,h):i.call(t,o);return d&&(d.uid<0&&(d.uid+=4294967296),d.gid<0&&(d.gid+=4294967296)),d}}function p(i){if(!i||i.code==="ENOSYS")return!0;var o=!process.getuid||process.getuid()!==0;return!!(o&&(i.code==="EINVAL"||i.code==="EPERM"))}}});var PP=ct((Ule,AP)=>{var _P=hr("stream").Stream;AP.exports=i8;function i8(t){return{ReadStream:r,WriteStream:s};function r(a,u){if(!(this instanceof r))return new r(a,u);_P.call(this);var e=this;this.path=a,this.fd=null,this.readable=!0,this.paused=!1,this.flags="r",this.mode=438,this.bufferSize=64*1024,u=u||{};for(var l=Object.keys(u),n=0,c=l.length;n<c;n++){var p=l[n];this[p]=u[p]}if(this.encoding&&this.setEncoding(this.encoding),this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.end===void 0)this.end=1/0;else if(typeof this.end!="number")throw TypeError("end must be a Number");if(this.start>this.end)throw new Error("start must be <= end");this.pos=this.start}if(this.fd!==null){process.nextTick(function(){e._read()});return}t.open(this.path,this.flags,this.mode,function(i,o){if(i){e.emit("error",i),e.readable=!1;return}e.fd=o,e.emit("open",o),e._read()})}function s(a,u){if(!(this instanceof s))return new s(a,u);_P.call(this),this.path=a,this.fd=null,this.writable=!0,this.flags="w",this.encoding="binary",this.mode=438,this.bytesWritten=0,u=u||{};for(var e=Object.keys(u),l=0,n=e.length;l<n;l++){var c=e[l];this[c]=u[c]}if(this.start!==void 0){if(typeof this.start!="number")throw TypeError("start must be a Number");if(this.start<0)throw new Error("start must be >= zero");this.pos=this.start}this.busy=!1,this._queue=[],this.fd===null&&(this._open=t.open,this._queue.push([this._open,this.path,this.flags,this.mode,void 0]),this.flush())}}});var kP=ct(($le,CP)=>{"use strict";CP.exports=a8;var s8=Object.getPrototypeOf||function(t){return t.__proto__};function a8(t){if(t===null||typeof t!="object")return t;if(t instanceof Object)var r={__proto__:s8(t)};else var r=Object.create(null);return Object.getOwnPropertyNames(t).forEach(function(s){Object.defineProperty(r,s,Object.getOwnPropertyDescriptor(t,s))}),r}});var NP=ct((Vle,h0)=>{var gs=hr("fs"),o8=wP(),l8=PP(),u8=kP(),um=hr("util"),ta,pm;typeof Symbol=="function"&&typeof Symbol.for=="function"?(ta=Symbol.for("graceful-fs.queue"),pm=Symbol.for("graceful-fs.previous")):(ta="___graceful-fs.queue",pm="___graceful-fs.previous");function c8(){}function OP(t,r){Object.defineProperty(t,ta,{get:function(){return r}})}var Ou=c8;um.debuglog?Ou=um.debuglog("gfs4"):/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&(Ou=function(){var t=um.format.apply(um,arguments);t="GFS4: "+t.split(/\n/).join(`
|
|
GFS4: `),console.error(t)});gs[ta]||(DP=global[ta]||[],OP(gs,DP),gs.close=(function(t){function r(s,a){return t.call(gs,s,function(u){u||IP(),typeof a=="function"&&a.apply(this,arguments)})}return Object.defineProperty(r,pm,{value:t}),r})(gs.close),gs.closeSync=(function(t){function r(s){t.apply(gs,arguments),IP()}return Object.defineProperty(r,pm,{value:t}),r})(gs.closeSync),/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")&&process.on("exit",function(){Ou(gs[ta]),hr("assert").equal(gs[ta].length,0)}));var DP;global[ta]||OP(global,gs[ta]);h0.exports=p0(u8(gs));process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!gs.__patched&&(h0.exports=p0(gs),gs.__patched=!0);function p0(t){o8(t),t.gracefulify=p0,t.createReadStream=S,t.createWriteStream=_;var r=t.readFile;t.readFile=s;function s(j,F,k){return typeof F=="function"&&(k=F,F=null),U(j,F,k);function U(z,C,R,G){return r(z,C,function(V){V&&(V.code==="EMFILE"||V.code==="ENFILE")?jc([U,[z,C,R],V,G||Date.now(),Date.now()]):typeof R=="function"&&R.apply(this,arguments)})}}var a=t.writeFile;t.writeFile=u;function u(j,F,k,U){return typeof k=="function"&&(U=k,k=null),z(j,F,k,U);function z(C,R,G,V,B){return a(C,R,G,function(q){q&&(q.code==="EMFILE"||q.code==="ENFILE")?jc([z,[C,R,G,V],q,B||Date.now(),Date.now()]):typeof V=="function"&&V.apply(this,arguments)})}}var e=t.appendFile;e&&(t.appendFile=l);function l(j,F,k,U){return typeof k=="function"&&(U=k,k=null),z(j,F,k,U);function z(C,R,G,V,B){return e(C,R,G,function(q){q&&(q.code==="EMFILE"||q.code==="ENFILE")?jc([z,[C,R,G,V],q,B||Date.now(),Date.now()]):typeof V=="function"&&V.apply(this,arguments)})}}var n=t.copyFile;n&&(t.copyFile=c);function c(j,F,k,U){return typeof k=="function"&&(U=k,k=0),z(j,F,k,U);function z(C,R,G,V,B){return n(C,R,G,function(q){q&&(q.code==="EMFILE"||q.code==="ENFILE")?jc([z,[C,R,G,V],q,B||Date.now(),Date.now()]):typeof V=="function"&&V.apply(this,arguments)})}}var p=t.readdir;t.readdir=o;var i=/^v[0-5]\./;function o(j,F,k){typeof F=="function"&&(k=F,F=null);var U=i.test(process.version)?function(R,G,V,B){return p(R,z(R,G,V,B))}:function(R,G,V,B){return p(R,G,z(R,G,V,B))};return U(j,F,k);function z(C,R,G,V){return function(B,q){B&&(B.code==="EMFILE"||B.code==="ENFILE")?jc([U,[C,R,G],B,V||Date.now(),Date.now()]):(q&&q.sort&&q.sort(),typeof G=="function"&&G.call(this,B,q))}}}if(process.version.substr(0,4)==="v0.8"){var h=l8(t);y=h.ReadStream,v=h.WriteStream}var d=t.ReadStream;d&&(y.prototype=Object.create(d.prototype),y.prototype.open=x);var f=t.WriteStream;f&&(v.prototype=Object.create(f.prototype),v.prototype.open=E),Object.defineProperty(t,"ReadStream",{get:function(){return y},set:function(j){y=j},enumerable:!0,configurable:!0}),Object.defineProperty(t,"WriteStream",{get:function(){return v},set:function(j){v=j},enumerable:!0,configurable:!0});var b=y;Object.defineProperty(t,"FileReadStream",{get:function(){return b},set:function(j){b=j},enumerable:!0,configurable:!0});var m=v;Object.defineProperty(t,"FileWriteStream",{get:function(){return m},set:function(j){m=j},enumerable:!0,configurable:!0});function y(j,F){return this instanceof y?(d.apply(this,arguments),this):y.apply(Object.create(y.prototype),arguments)}function x(){var j=this;L(j.path,j.flags,j.mode,function(F,k){F?(j.autoClose&&j.destroy(),j.emit("error",F)):(j.fd=k,j.emit("open",k),j.read())})}function v(j,F){return this instanceof v?(f.apply(this,arguments),this):v.apply(Object.create(v.prototype),arguments)}function E(){var j=this;L(j.path,j.flags,j.mode,function(F,k){F?(j.destroy(),j.emit("error",F)):(j.fd=k,j.emit("open",k))})}function S(j,F){return new t.ReadStream(j,F)}function _(j,F){return new t.WriteStream(j,F)}var A=t.open;t.open=L;function L(j,F,k,U){return typeof k=="function"&&(U=k,k=null),z(j,F,k,U);function z(C,R,G,V,B){return A(C,R,G,function(q,K){q&&(q.code==="EMFILE"||q.code==="ENFILE")?jc([z,[C,R,G,V],q,B||Date.now(),Date.now()]):typeof V=="function"&&V.apply(this,arguments)})}}return t}function jc(t){Ou("ENQUEUE",t[0].name,t[1]),gs[ta].push(t),d0()}var cm;function IP(){for(var t=Date.now(),r=0;r<gs[ta].length;++r)gs[ta][r].length>2&&(gs[ta][r][3]=t,gs[ta][r][4]=t);d0()}function d0(){if(clearTimeout(cm),cm=void 0,gs[ta].length!==0){var t=gs[ta].shift(),r=t[0],s=t[1],a=t[2],u=t[3],e=t[4];if(u===void 0)Ou("RETRY",r.name,s),r.apply(null,s);else if(Date.now()-u>=6e4){Ou("TIMEOUT",r.name,s);var l=s.pop();typeof l=="function"&&l.call(null,a)}else{var n=Date.now()-e,c=Math.max(e-u,1),p=Math.min(c*1.2,100);n>=p?(Ou("RETRY",r.name,s),r.apply(null,s.concat([u]))):gs[ta].push(t)}cm===void 0&&(cm=setTimeout(d0,0))}}});var Ko=ct((qle,FP)=>{"use strict";FP.exports=function(r,s,a){if(r.length===0)return a();let u=0,e=()=>{let l;return s(r[u++],(n,c)=>{if(n||c!==void 0||u>=r.length)return a(n,c,u);if(l===!1)for(;e(););l=!0},u),l||(l=!1),l};for(;e(););}});var Nu=ct((Wle,dm)=>{"use strict";var p8=Ko();function jP(t){if(t==="/")return null;let r=t.lastIndexOf("/"),s=t.lastIndexOf("\\"),a=r<0?s:s<0?r:r<s?s:r;return a<0?null:t.slice(0,a||1)}function d8(t,r,s,a,u,e){(function l(){if(a&&a.directory===r)return e(null,a);p8(s,(n,c)=>{let p=t.join(r,n);function i(o,h){if(o)return u.log?u.log(`${p} (directory description file): ${o}`):o.message=`${p} (directory description file): ${o}`,c(o);c(null,{content:h,directory:r,path:p})}t.fileSystem.readJson?t.fileSystem.readJson(p,(o,h)=>{if(o)return typeof o.code<"u"?(u.missingDependencies&&u.missingDependencies.add(p),c()):(u.fileDependencies&&u.fileDependencies.add(p),i(o));u.fileDependencies&&u.fileDependencies.add(p),i(null,h)}):t.fileSystem.readFile(p,(o,h)=>{if(o)return u.missingDependencies&&u.missingDependencies.add(p),c();u.fileDependencies&&u.fileDependencies.add(p);let d;if(h)try{d=JSON.parse(h.toString())}catch(f){return i(f)}else return i(new Error("No content in file"));i(null,d)})},(n,c)=>{if(n)return e(n);if(c)return e(null,c);let p=jP(r);return p?(r=p,l()):e()})})()}function h8(t,r){if(t){if(Array.isArray(r)){let s=t;for(let a=0;a<r.length;a++){if(s===null||typeof s!="object"){s=null;break}s=s[r[a]]}return s}return t[r]}}dm.exports.cdUp=jP;dm.exports.getField=h8;dm.exports.loadDescriptionFile=d8});var RP=ct((Kle,LP)=>{"use strict";LP.exports=function(r,s){if(typeof s.__innerRequest=="string"&&s.__innerRequest_request===s.request&&s.__innerRequest_relativePath===s.relativePath)return s.__innerRequest;let a;return s.request?(a=s.request,/^\.\.?(?:\/|$)/.test(a)&&s.relativePath&&(a=r.join(s.relativePath,a))):a=s.relativePath,s.__innerRequest_request=s.request,s.__innerRequest_relativePath=s.relativePath,s.__innerRequest=a}});var BP=ct((Hle,MP)=>{"use strict";var f8=Nu(),m8=RP();MP.exports=class{constructor(r,s,a){this.source=r,this.field=s,this.target=a}apply(r){let s=r.ensureHook(this.target);r.getHook(this.source).tapAsync("AliasFieldPlugin",(a,u,e)=>{if(!a.descriptionFileData)return e();let l=m8(r,a);if(!l)return e();let n=f8.getField(a.descriptionFileData,this.field);if(n===null||typeof n!="object")return u.log&&u.log(`Field '${this.field}' doesn't contain a valid alias configuration`),e();let c=Object.prototype.hasOwnProperty.call(n,l)?n[l]:l.startsWith("./")?n[l.slice(2)]:void 0;if(c===l||c===void 0)return e();if(c===!1){let i={...a,path:!1};return typeof u.yield=="function"?(u.yield(i),e(null,null)):e(null,i)}let p={...a,path:a.descriptionFileRoot,request:c,fullySpecified:!1};r.doResolve(s,p,`aliased from description file ${a.descriptionFilePath} with mapping '${l}' to '${c}'`,u,(i,o)=>{if(i)return e(i);if(o===void 0)return e(null,null);e(null,o)})})}}});var ju=ct((Gle,zl)=>{"use strict";var zP=hr("path"),f0=35,Fu=47,y8=92,UP=65,$P=90,VP=97,qP=122,dd=46,WP=58,Lc=zP.posix.normalize,m0=zP.win32.normalize,_i=Object.freeze({Empty:0,Normal:1,Relative:2,AbsoluteWin:3,AbsolutePosix:4,Internal:5}),b8=/(^|\\|\/)((\.|%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,g8=/(^|\\|\/)((\.|%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,Rc=t=>{switch(t.length){case 0:return _i.Empty;case 1:{switch(t.charCodeAt(0)){case dd:return _i.Relative;case Fu:return _i.AbsolutePosix;case f0:return _i.Internal}return _i.Normal}case 2:{let a=t.charCodeAt(0);switch(a){case dd:{switch(t.charCodeAt(1)){case dd:case Fu:return _i.Relative}return _i.Normal}case Fu:return _i.AbsolutePosix;case f0:return _i.Internal}return t.charCodeAt(1)===WP&&(a>=UP&&a<=$P||a>=VP&&a<=qP)?_i.AbsoluteWin:_i.Normal}}let r=t.charCodeAt(0);switch(r){case dd:{switch(t.charCodeAt(1)){case Fu:return _i.Relative;case dd:return t.charCodeAt(2)===Fu?_i.Relative:_i.Normal}return _i.Normal}case Fu:return _i.AbsolutePosix;case f0:return _i.Internal}if(t.charCodeAt(1)===WP){let a=t.charCodeAt(2);if((a===y8||a===Fu)&&(r>=UP&&r<=$P||r>=VP&&r<=qP))return _i.AbsoluteWin}return _i.Normal},HP=t=>{switch(Rc(t)){case _i.Empty:return t;case _i.AbsoluteWin:return m0(t);case _i.Relative:{let r=Lc(t);return Rc(r)===_i.Relative?r:`./${r}`}}return Lc(t)},GP=(t,r)=>{if(!r)return HP(t);let s=Rc(r);switch(s){case _i.AbsolutePosix:return Lc(r);case _i.AbsoluteWin:return m0(r)}switch(Rc(t)){case _i.Normal:case _i.Relative:case _i.AbsolutePosix:return Lc(`${t}/${r}`);case _i.AbsoluteWin:return m0(`${t}\\${r}`)}switch(s){case _i.Empty:return t;case _i.Relative:{let a=Lc(t);return Rc(a)===_i.Relative?a:`./${a}`}}return Lc(t)},KP=new Map,v8=(t,r)=>{let s,a=KP.get(t);if(a===void 0)KP.set(t,a=new Map);else if(s=a.get(r),s!==void 0)return s;return s=GP(t,r),a.set(r,s),s};zl.exports.PathType=_i;zl.exports.cachedJoin=v8;zl.exports.deprecatedInvalidSegmentRegEx=b8;zl.exports.getType=Rc;zl.exports.invalidSegmentRegEx=g8;zl.exports.join=GP;zl.exports.normalize=HP});var QP=ct((Xle,YP)=>{"use strict";var JP=Ko(),{PathType:XP,getType:x8}=ju();YP.exports=class{constructor(r,s,a){this.source=r,this.options=Array.isArray(s)?s:[s],this.target=a}apply(r){let s=r.ensureHook(this.target),a=e=>{let l=x8(e);return l===XP.AbsolutePosix||l===XP.AbsoluteWin?r.join(e,"_").slice(0,-1):null},u=(e,l)=>{let n=a(l);return n?e.startsWith(n):!1};r.getHook(this.source).tapAsync("AliasPlugin",(e,l,n)=>{let c=e.request||e.path;if(!c)return n();JP(this.options,(p,i)=>{let o=!1,h=c===p.name||!p.onlyModule&&(e.request?c.startsWith(`${p.name}/`):u(c,p.name)),d=p.name.split("*"),f=!p.onlyModule&&d.length===2;if(h||f){let b=(y,x)=>{if(y===!1){let _={...e,path:!1};return typeof l.yield=="function"?(l.yield(_),x(null,null)):x(null,_)}let v,[E,S]=d;if(f&&c.startsWith(E)&&c.endsWith(S)){let _=c.slice(E.length,c.length-S.length);v=p.alias.toString().replace("*",_)}if(h&&c!==y&&!c.startsWith(`${y}/`)){let _=c.slice(p.name.length);v=y+_}if(v!==void 0){o=!0;let _={...e,request:v,fullySpecified:!1};return r.doResolve(s,_,`aliased with mapping '${p.name}': '${y}' to '${v}'`,l,(A,L)=>A?x(A):L?x(null,L):x())}return x()},m=(y,x)=>y?i(y):x?i(null,x):o?i(null,null):i();return Array.isArray(p.alias)?JP(p.alias,b,m):b(p.alias,m)}return i()},n)})}}});var eC=ct((Qle,ZP)=>{"use strict";ZP.exports=class{constructor(r,s,a){this.source=r,this.appending=s,this.target=a}apply(r){let s=r.ensureHook(this.target);r.getHook(this.source).tapAsync("AppendPlugin",(a,u,e)=>{let l={...a,path:a.path+this.appending,relativePath:a.relativePath&&a.relativePath+this.appending};r.doResolve(s,l,this.appending,u,e)})}}});var rC=ct((eue,tC)=>{"use strict";tC.exports=class{constructor(r,s,a,u,e){this.source=r,this.test=s,this.message=a,this.allowAlternatives=u,this.target=e}apply(r){let s=r.ensureHook(this.target),{test:a,message:u,allowAlternatives:e}=this,l=Object.keys(a);r.getHook(this.source).tapAsync("ConditionalPlugin",(n,c,p)=>{for(let i of l)if(n[i]!==a[i])return p();r.doResolve(s,n,u,c,e?p:(i,o)=>{if(i)return p(i);if(o===void 0)return p(null,null);p(null,o)})})}}});var sC=ct((rue,iC)=>{"use strict";var nC=Nu();iC.exports=class{constructor(r,s,a,u){this.source=r,this.filenames=s,this.pathIsFile=a,this.target=u}apply(r){let s=r.ensureHook(this.target);r.getHook(this.source).tapAsync("DescriptionFilePlugin",(a,u,e)=>{let{path:l}=a;if(!l)return e();let n=this.pathIsFile?nC.cdUp(l):l;if(!n)return e();nC.loadDescriptionFile(r,n,this.filenames,a.descriptionFilePath?{path:a.descriptionFilePath,content:a.descriptionFileData,directory:a.descriptionFileRoot}:void 0,u,(c,p)=>{if(c)return e(c);if(!p)return u.log&&u.log(`No description file found in ${n} or above`),e();let i=`.${l.slice(p.directory.length).replace(/\\/g,"/")}`,o={...a,descriptionFilePath:p.path,descriptionFileData:p.content,descriptionFileRoot:p.directory,relativePath:i};r.doResolve(s,o,`using description file: ${p.path} (relative path: ${i})`,u,(h,d)=>{if(h)return e(h);if(d===void 0)return e(null,null);e(null,d)})})})}}});var oC=ct((iue,aC)=>{"use strict";aC.exports=class{constructor(r,s){this.source=r,this.target=s}apply(r){let s=r.ensureHook(this.target);r.getHook(this.source).tapAsync("DirectoryExistsPlugin",(a,u,e)=>{let l=r.fileSystem,n=a.path;if(!n)return e();l.stat(n,(c,p)=>{if(c||!p)return u.missingDependencies&&u.missingDependencies.add(n),u.log&&u.log(`${n} doesn't exist`),e();if(!p.isDirectory())return u.missingDependencies&&u.missingDependencies.add(n),u.log&&u.log(`${n} is not a directory`),e();u.fileDependencies&&u.fileDependencies.add(n),r.doResolve(s,a,`existing directory ${n}`,u,e)})})}}});var hd=ct((sue,uC)=>{"use strict";var T8=/^(#?(?:\0.|[^?#\0])*)(\?(?:\0.|[^#\0])*)?(#.*)?$/,lC=/\0(.)/g;function E8(t){if(!t)return null;if(t.indexOf("\0")<0){let a=t.indexOf("?"),u=t.indexOf("#",1);return u<0?a<0?[t,"",""]:[t.slice(0,a),t.slice(a),""]:a<0||u<a?[t.slice(0,u),"",t.slice(u)]:[t.slice(0,a),t.slice(a,u),t.slice(u)]}let s=T8.exec(t);return s?[s[1].replace(lC,"$1"),s[2]?s[2].replace(lC,"$1"):"",s[3]||""]:null}uC.exports.parseIdentifier=E8});var v0=ct((aue,g0)=>{"use strict";var{parseIdentifier:dC}=hd(),Hl=47,y0=46,S8=35,w8=/\*/g;function cC(t,r){let s=t.indexOf("*"),a=r.indexOf("*"),u=s===-1?t.length:s+1,e=a===-1?r.length:a+1;return u>e?-1:e>u||s===-1?1:a===-1||t.length>r.length?-1:r.length>t.length?1:0}function _8(t,r){if(Object.prototype.hasOwnProperty.call(r,t)&&!t.includes("*")&&!t.endsWith("/"))return[r[t],"",!1,!1,t];let s="",a,u=Object.getOwnPropertyNames(r);for(let c=0;c<u.length;c++){let p=u[c],i=p.indexOf("*");if(i!==-1&&t.startsWith(p.slice(0,i))){let o=p.slice(i+1);t.length>=p.length&&t.endsWith(o)&&cC(s,p)===1&&p.lastIndexOf("*")===i&&(s=p,a=t.slice(i,t.length-o.length))}else p[p.length-1]==="/"&&t.startsWith(p)&&cC(s,p)===1&&(s=p,a=t.slice(p.length))}if(s==="")return null;let e=r[s],l=s.endsWith("/"),n=s.includes("*");return[e,a,l,n,s]}function b0(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function hC(t,r){let s=[[t,Object.keys(t),0]];e:for(;s.length>0;){let[a,u,e]=s[s.length-1];for(let l=e;l<u.length;l++){let n=u[l];if(n==="default"){let c=a[n];if(b0(c)){let p=c;s[s.length-1][2]=l+1,s.push([p,Object.keys(p),0]);continue e}return c}if(r.has(n)){let c=a[n];if(b0(c)){let p=c;s[s.length-1][2]=l+1,s.push([p,Object.keys(p),0]);continue e}return c}}s.pop()}return null}function pC(t,r,s,a,u){if(t===void 0)return u(a,!1),a;if(s)return u(a,!0),a+t;u(a,!1);let e=a;return r&&(e=e.replace(w8,t.replace(/\$/g,"$$"))),e}function fC(t,r,s,a,u,e){if(a===null)return[];if(typeof a=="string")return[pC(t,r,s,a,e)];let l=[];for(let n of a){if(typeof n=="string"){l.push(pC(t,r,s,n,e));continue}let c=hC(n,u);if(!c)continue;let p=fC(t,r,s,c,u,e);for(let i of p)l.push(i)}return l}function mC(t,r,s,a){return function(e,l){e=s(e);let n=_8(r(e),t);if(n===null)return[[],null];let[c,p,i,o,h]=n,d=null;if(b0(c)){if(d=hC(c,l),d===null)return[[],null]}else d=c;return[fC(p,o,i,d,l,a),h]}}function A8(t){if(t.charCodeAt(0)!==y0)throw new Error('Request should be relative path and start with "."');if(t.length===1)return"";if(t.charCodeAt(1)!==Hl)throw new Error('Request should be relative path and start with "./"');if(t.charCodeAt(t.length-1)===Hl)throw new Error("Only requesting file allowed");return t.slice(2)}function P8(t){if(typeof t=="string"||Array.isArray(t))return{".":t};let r=Object.keys(t);for(let s=0;s<r.length;s++){let a=r[s];if(a.charCodeAt(0)!==y0){if(s===0){for(;s<r.length;){let u=r[s].charCodeAt(0);if(u===y0||u===Hl)throw new Error(`Exports field key should be relative path and start with "." (key: ${JSON.stringify(a)})`);s++}return{".":t}}throw new Error(`Exports field key should be relative path and start with "." (key: ${JSON.stringify(a)})`)}if(a.length!==1&&a.charCodeAt(1)!==Hl)throw new Error(`Exports field key should be relative path and start with "./" (key: ${JSON.stringify(a)})`)}return t}function C8(t,r){let s=dC(t);if(!s)return;let[a]=s;if(a.charCodeAt(a.length-1)===Hl!==r)throw new Error(r?`Expecting folder to folder mapping. ${JSON.stringify(t)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(t)} should not end with "/"`)}g0.exports.processExportsField=function(r){return mC(P8(r),s=>s.length===0?".":`./${s}`,A8,C8)};function k8(t){if(t.charCodeAt(0)!==S8)throw new Error('Request should start with "#"');if(t.length===1)throw new Error("Request should have at least 2 characters");if(t.charCodeAt(1)===Hl)throw new Error('Request should not start with "#/"');if(t.charCodeAt(t.length-1)===Hl)throw new Error("Only requesting file allowed");return t.slice(1)}function D8(t,r){let s=dC(t);if(!s)return;let[a]=s;if(a.charCodeAt(a.length-1)===Hl!==r)throw new Error(r?`Expecting folder to folder mapping. ${JSON.stringify(t)} should end with "/"`:`Expecting file to file mapping. ${JSON.stringify(t)} should not end with "/"`)}g0.exports.processImportsField=function(r){return mC(r,s=>`#${s}`,k8,D8)}});var bC=ct((lue,yC)=>{"use strict";var I8=Nu(),O8=Ko(),{processExportsField:N8}=v0(),{parseIdentifier:F8}=hd(),{deprecatedInvalidSegmentRegEx:j8,invalidSegmentRegEx:L8}=ju();yC.exports=class{constructor(r,s,a,u){this.source=r,this.target=u,this.conditionNames=s,this.fieldName=a,this.fieldProcessorCache=new WeakMap}apply(r){let s=r.ensureHook(this.target);r.getHook(this.source).tapAsync("ExportsFieldPlugin",(a,u,e)=>{if(!a.descriptionFilePath||a.relativePath!=="."||a.request===void 0)return e();let l=a.query||a.fragment?(a.request==="."?"./":a.request)+a.query+a.fragment:a.request,n=I8.getField(a.descriptionFileData,this.fieldName);if(!n)return e();if(a.directory)return e(new Error(`Resolving to directories is not possible with the exports field (request was ${l}/)`));let c,p;try{let i=this.fieldProcessorCache.get(a.descriptionFileData);i===void 0&&(i=N8(n),this.fieldProcessorCache.set(a.descriptionFileData,i)),[c,p]=i(l,this.conditionNames)}catch(i){return u.log&&u.log(`Exports field in ${a.descriptionFilePath} can't be processed: ${i}`),e(i)}if(c.length===0)return e(new Error(`Package path ${l} is not exported from package ${a.descriptionFileRoot} (see exports field in ${a.descriptionFilePath})`));O8(c,(i,o,h)=>{let d=F8(i);if(!d)return o();let[f,b,m]=d;if(f.length===0||!f.startsWith("./"))return c.length===h?o(new Error(`Invalid "exports" target "${i}" defined for "${p}" in the package config ${a.descriptionFilePath}, targets must start with "./"`)):o();if(L8.exec(f.slice(2))!==null&&j8.test(f.slice(2))!==null)return c.length===h?o(new Error(`Invalid "exports" target "${i}" defined for "${p}" in the package config ${a.descriptionFilePath}, targets must start with "./"`)):o();let y={...a,request:void 0,path:r.join(a.descriptionFileRoot,f),relativePath:f,query:b,fragment:m};r.doResolve(s,y,`using exports field: ${i}`,u,(x,v)=>{if(x)return o(x);if(v===void 0)return o(null,null);o(null,v)})},(i,o)=>e(i,o||null))})}}});var vC=ct((cue,gC)=>{"use strict";var R8=Ko();gC.exports=class{constructor(r,s,a){this.source=r,this.options=s,this.target=a}apply(r){let s=r.ensureHook(this.target),{extension:a,alias:u}=this.options;r.getHook(this.source).tapAsync("ExtensionAliasPlugin",(e,l,n)=>{let c=e.request;if(!c||!c.endsWith(a))return n();let p=typeof u=="string",i=(h,d,f)=>{let b=`${c.slice(0,-a.length)}${h}`;return r.doResolve(s,{...e,request:b,fullySpecified:!0},`aliased from extension alias with mapping '${a}' to '${h}'`,l,(m,y)=>{if(!p&&f)return f!==this.options.alias.length?(l.log&&l.log(`Failed to alias from extension alias with mapping '${a}' to '${h}' for '${b}': ${m}`),d(null,y)):d(m,y);d(m,y)})},o=(h,d)=>h?n(h):d?n(null,d):n(null,null);p?i(u,o):u.length>1?R8(u,i,o):i(u[0],o)})}}});var TC=ct((due,xC)=>{"use strict";xC.exports=class{constructor(r,s){this.source=r,this.target=s}apply(r){let s=r.ensureHook(this.target),a=r.fileSystem;r.getHook(this.source).tapAsync("FileExistsPlugin",(u,e,l)=>{let n=u.path;if(!n)return l();a.stat(n,(c,p)=>{if(c||!p)return e.missingDependencies&&e.missingDependencies.add(n),e.log&&e.log(`${n} doesn't exist`),l();if(!p.isFile())return e.missingDependencies&&e.missingDependencies.add(n),e.log&&e.log(`${n} is not a file`),l();e.fileDependencies&&e.fileDependencies.add(n),r.doResolve(s,u,`existing file: ${n}`,e,l)})})}}});var SC=ct((fue,EC)=>{"use strict";var M8=Nu(),B8=Ko(),{processImportsField:U8}=v0(),{parseIdentifier:$8}=hd(),{deprecatedInvalidSegmentRegEx:V8,invalidSegmentRegEx:q8}=ju(),W8=46;EC.exports=class{constructor(r,s,a,u,e){this.source=r,this.targetFile=u,this.targetPackage=e,this.conditionNames=s,this.fieldName=a,this.fieldProcessorCache=new WeakMap}apply(r){let s=r.ensureHook(this.targetFile),a=r.ensureHook(this.targetPackage);r.getHook(this.source).tapAsync("ImportsFieldPlugin",(u,e,l)=>{if(!u.descriptionFilePath||u.request===void 0)return l();let n=u.request+u.query+u.fragment,c=M8.getField(u.descriptionFileData,this.fieldName);if(!c)return l();if(u.directory)return l(new Error(`Resolving to directories is not possible with the imports field (request was ${n}/)`));let p,i;try{let o=this.fieldProcessorCache.get(u.descriptionFileData);o===void 0&&(o=U8(c),this.fieldProcessorCache.set(u.descriptionFileData,o)),[p,i]=o(n,this.conditionNames)}catch(o){return e.log&&e.log(`Imports field in ${u.descriptionFilePath} can't be processed: ${o}`),l(o)}if(p.length===0)return l(new Error(`Package import ${n} is not imported from package ${u.descriptionFileRoot} (see imports field in ${u.descriptionFilePath})`));B8(p,(o,h,d)=>{let f=$8(o);if(!f)return h();let[b,m,y]=f;switch(b.charCodeAt(0)){case W8:{if(q8.exec(b.slice(2))!==null&&V8.test(b.slice(2))!==null)return p.length===d?h(new Error(`Invalid "imports" target "${o}" defined for "${i}" in the package config ${u.descriptionFilePath}, targets must start with "./"`)):h();let x={...u,request:void 0,path:r.join(u.descriptionFileRoot,b),relativePath:b,query:m,fragment:y};r.doResolve(s,x,`using imports field: ${o}`,e,(v,E)=>{if(v)return h(v);if(E===void 0)return h(null,null);h(null,E)});break}default:{let x={...u,request:b,relativePath:b,fullySpecified:!0,query:m,fragment:y};r.doResolve(a,x,`using imports field: ${o}`,e,(v,E)=>{if(v)return h(v);if(E===void 0)return h(null,null);h(null,E)})}}},(o,h)=>l(o,h||null))})}}});var _C=ct((yue,wC)=>{"use strict";wC.exports=class{constructor(r,s){this.source=r,this.target=s}apply(r){let s=r.ensureHook(this.target);r.getHook(this.source).tapAsync("JoinRequestPartPlugin",(a,u,e)=>{let l=a.request||"",n=l.indexOf("/",3);n>=0&&l.charCodeAt(2)===64&&(n=l.indexOf("/",n+1));let c,p,i;n<0?(c=l,p=".",i=!1):(c=l.slice(0,n),p=`.${l.slice(n)}`,i=a.fullySpecified);let o={...a,path:r.join(a.path,c),relativePath:a.relativePath&&r.join(a.relativePath,c),request:p,fullySpecified:i};r.doResolve(s,o,null,u,e)})}}});var PC=ct((gue,AC)=>{"use strict";AC.exports=class{constructor(r,s){this.source=r,this.target=s}apply(r){let s=r.ensureHook(this.target);r.getHook(this.source).tapAsync("JoinRequestPlugin",(a,u,e)=>{let l=a.path,n=a.request,c={...a,path:r.join(l,n),relativePath:a.relativePath&&r.join(a.relativePath,n),request:void 0};r.doResolve(s,c,null,u,e)})}}});var DC=ct((xue,kC)=>{"use strict";var K8=hr("path"),z8=Nu(),CC=Symbol("alreadyTriedMainField");kC.exports=class{constructor(r,s,a){this.source=r,this.options=s,this.target=a}apply(r){let s=r.ensureHook(this.target);r.getHook(this.source).tapAsync("MainFieldPlugin",(a,u,e)=>{if(a.path!==a.descriptionFileRoot||a[CC]===a.descriptionFilePath||!a.descriptionFilePath)return e();let l=K8.basename(a.descriptionFilePath),n=z8.getField(a.descriptionFileData,this.options.name);if(!n||typeof n!="string"||n==="."||n==="./")return e();this.options.forceRelative&&!/^\.\.?\//.test(n)&&(n=`./${n}`);let c={...a,request:n,module:!1,directory:n.endsWith("/"),[CC]:a.descriptionFilePath};return r.doResolve(s,c,`use ${n} from ${this.options.name} in ${l}`,u,e)})}}});var hm=ct((Tue,x0)=>{"use strict";x0.exports=function(r){if(r==="/")return{paths:["/"],segments:[""]};let s=r.split(/(.*?[\\/]+)/),a=[r],u=[s[s.length-1]],e=s[s.length-1];r=r.slice(0,Math.max(0,r.length-e.length-1));for(let l=s.length-2;l>2;l-=2)a.push(r),e=s[l],r=r.slice(0,Math.max(0,r.length-e.length))||"/",u.push(e.slice(0,-1));return[,e]=s,u.push(e),a.push(e),{paths:a,segments:u}};x0.exports.basename=function(r){let s=r.lastIndexOf("/"),a=r.lastIndexOf("\\"),u=s<0?a:a<0?s:s<a?a:s;return u<0?null:r.slice(u+1)}});var OC=ct((Sue,IC)=>{"use strict";var H8=Ko(),G8=hm();IC.exports=class{constructor(r,s,a){this.source=r,this.directories=[...s],this.target=a}apply(r){let s=r.ensureHook(this.target);r.getHook(this.source).tapAsync("ModulesInHierarchicalDirectoriesPlugin",(a,u,e)=>{let l=r.fileSystem,n=G8(a.path).paths.map(c=>this.directories.map(p=>r.join(c,p))).reduce((c,p)=>(c.push(...p),c),[]);H8(n,(c,p)=>{l.stat(c,(i,o)=>{if(!i&&o&&o.isDirectory()){let h={...a,path:c,request:`./${a.request}`,module:!1},d=`looking for modules in ${c}`;return r.doResolve(s,h,d,u,p)}return u.log&&u.log(`${c} doesn't exist or is not a directory`),u.missingDependencies&&u.missingDependencies.add(c),p()})},e)})}}});var FC=ct((_ue,NC)=>{"use strict";NC.exports=class{constructor(r,s,a){this.source=r,this.path=s,this.target=a}apply(r){let s=r.ensureHook(this.target);r.getHook(this.source).tapAsync("ModulesInRootPlugin",(a,u,e)=>{let l={...a,path:this.path,request:`./${a.request}`,module:!1};r.doResolve(s,l,`looking for modules in ${this.path}`,u,e)})}}});var LC=ct((Pue,jC)=>{"use strict";jC.exports=class{constructor(r,s){this.source=r,this.target=s}apply(r){let s=r.ensureHook(this.target);r.getHook(this.source).tapAsync("NextPlugin",(a,u,e)=>{r.doResolve(s,a,null,u,e)})}}});var MC=ct((kue,RC)=>{"use strict";RC.exports=class{constructor(r,s,a){this.source=r,this.requestOptions=s,this.target=a}apply(r){let s=r.ensureHook(this.target);r.getHook(this.source).tapAsync("ParsePlugin",(a,u,e)=>{let l=r.parse(a.request),n={...a,...l,...this.requestOptions};if(a.query&&!l.query&&(n.query=a.query),a.fragment&&!l.fragment&&(n.fragment=a.fragment),l&&u.log&&(l.module&&u.log("Parsed request is a module"),l.directory&&u.log("Parsed request is a directory")),n.request&&!n.query&&n.fragment){let c=n.fragment.endsWith("/"),p={...n,directory:c,request:n.request+(n.directory?"/":"")+(c?n.fragment.slice(0,-1):n.fragment),fragment:""};r.doResolve(s,p,null,u,(i,o)=>{if(i)return e(i);if(o)return e(null,o);r.doResolve(s,n,null,u,e)});return}r.doResolve(s,n,null,u,e)})}}});var UC=ct((Iue,BC)=>{"use strict";BC.exports=class{constructor(r,s,a,u){this.source=r,this.pnpApi=s,this.target=a,this.alternateTarget=u}apply(r){let s=r.ensureHook(this.target),a=r.ensureHook(this.alternateTarget);r.getHook(this.source).tapAsync("PnpPlugin",(u,e,l)=>{let n=u.request;if(!n)return l();let c=`${u.path}/`,p=/^(@[^/]+\/)?[^/]+/.exec(n);if(!p)return l();let[i]=p,o=`.${n.slice(i.length)}`,h,d;try{if(h=this.pnpApi.resolveToUnqualified(i,c,{considerBuiltins:!1}),h===null){r.doResolve(a,u,"issuer is not managed by a pnpapi",e,(b,m)=>b?l(b):m?l(null,m):l(null,null));return}e.fileDependencies&&(d=this.pnpApi.resolveToUnqualified("pnpapi",c,{considerBuiltins:!1}))}catch(b){if(b.code==="MODULE_NOT_FOUND"&&b.pnpCode==="UNDECLARED_DEPENDENCY"){if(e.log){e.log("request is not managed by the pnpapi");for(let m of b.message.split(`
|
|
`).filter(Boolean))e.log(` ${m}`)}return l()}return l(b)}if(h===i)return l();d&&e.fileDependencies&&e.fileDependencies.add(d);let f={...u,path:h,request:o,ignoreSymlinks:!0,fullySpecified:u.fullySpecified&&o!=="."};r.doResolve(s,f,`resolved by pnp to ${h}`,e,(b,m)=>b?l(b):m?l(null,m):l(null,null))})}}});var to=ct((Oue,WC)=>{"use strict";var J8=hr("util"),X8=J8.deprecate(()=>{},"Hook.context is deprecated and will be removed"),$C=function(...t){return this.call=this._createCall("sync"),this.call(...t)},VC=function(...t){return this.callAsync=this._createCall("async"),this.callAsync(...t)},qC=function(...t){return this.promise=this._createCall("promise"),this.promise(...t)},fm=class{constructor(r=[],s=void 0){this._args=r,this.name=s,this.taps=[],this.interceptors=[],this._call=$C,this.call=$C,this._callAsync=VC,this.callAsync=VC,this._promise=qC,this.promise=qC,this._x=void 0,this.compile=this.compile,this.tap=this.tap,this.tapAsync=this.tapAsync,this.tapPromise=this.tapPromise}compile(r){throw new Error("Abstract: should be overridden")}_createCall(r){return this.compile({taps:this.taps,interceptors:this.interceptors,args:this._args,type:r})}_tap(r,s,a){if(typeof s=="string")s={name:s.trim()};else if(typeof s!="object"||s===null)throw new Error("Invalid tap options");if(typeof s.name!="string"||s.name==="")throw new Error("Missing name for tap");typeof s.context<"u"&&X8(),s=Object.assign({type:r,fn:a},s),s=this._runRegisterInterceptors(s),this._insert(s)}tap(r,s){this._tap("sync",r,s)}tapAsync(r,s){this._tap("async",r,s)}tapPromise(r,s){this._tap("promise",r,s)}_runRegisterInterceptors(r){for(let s of this.interceptors)if(s.register){let a=s.register(r);a!==void 0&&(r=a)}return r}withOptions(r){let s=a=>Object.assign({},r,typeof a=="string"?{name:a}:a);return{name:this.name,tap:(a,u)=>this.tap(s(a),u),tapAsync:(a,u)=>this.tapAsync(s(a),u),tapPromise:(a,u)=>this.tapPromise(s(a),u),intercept:a=>this.intercept(a),isUsed:()=>this.isUsed(),withOptions:a=>this.withOptions(s(a))}}isUsed(){return this.taps.length>0||this.interceptors.length>0}intercept(r){if(this._resetCompilation(),this.interceptors.push(Object.assign({},r)),r.register)for(let s=0;s<this.taps.length;s++)this.taps[s]=r.register(this.taps[s])}_resetCompilation(){this.call=this._call,this.callAsync=this._callAsync,this.promise=this._promise}_insert(r){this._resetCompilation();let s;typeof r.before=="string"?s=new Set([r.before]):Array.isArray(r.before)&&(s=new Set(r.before));let a=0;typeof r.stage=="number"&&(a=r.stage);let u=this.taps.length;for(;u>0;){u--;let e=this.taps[u];this.taps[u+1]=e;let l=e.stage||0;if(s){if(s.has(e.name)){s.delete(e.name);continue}if(s.size>0)continue}if(!(l>a)){u++;break}}this.taps[u]=r}};Object.setPrototypeOf(fm.prototype,null);WC.exports=fm});var vo=ct((Nue,KC)=>{"use strict";var T0=class{constructor(r){this.config=r,this.options=void 0,this._args=void 0}create(r){this.init(r);let s;switch(this.options.type){case"sync":s=new Function(this.args(),`"use strict";
|
|
`+this.header()+this.contentWithInterceptors({onError:l=>`throw ${l};
|
|
`,onResult:l=>`return ${l};
|
|
`,resultReturns:!0,onDone:()=>"",rethrowIfPossible:!0}));break;case"async":s=new Function(this.args({after:"_callback"}),`"use strict";
|
|
`+this.header()+this.contentWithInterceptors({onError:l=>`_callback(${l});
|
|
`,onResult:l=>`_callback(null, ${l});
|
|
`,onDone:()=>`_callback();
|
|
`}));break;case"promise":let a=!1,u=this.contentWithInterceptors({onError:l=>(a=!0,`_error(${l});
|
|
`),onResult:l=>`_resolve(${l});
|
|
`,onDone:()=>`_resolve();
|
|
`}),e="";e+=`"use strict";
|
|
`,e+=this.header(),e+=`return new Promise((function(_resolve, _reject) {
|
|
`,a&&(e+=`var _sync = true;
|
|
`,e+=`function _error(_err) {
|
|
`,e+=`if(_sync)
|
|
`,e+=`_resolve(Promise.resolve().then((function() { throw _err; })));
|
|
`,e+=`else
|
|
`,e+=`_reject(_err);
|
|
`,e+=`};
|
|
`),e+=u,a&&(e+=`_sync = false;
|
|
`),e+=`}));
|
|
`,s=new Function(this.args(),e);break}return this.deinit(),s}setup(r,s){r._x=s.taps.map(a=>a.fn)}init(r){this.options=r,this._args=r.args.slice()}deinit(){this.options=void 0,this._args=void 0}contentWithInterceptors(r){if(this.options.interceptors.length>0){let s=r.onError,a=r.onResult,u=r.onDone,e="";for(let l=0;l<this.options.interceptors.length;l++){let n=this.options.interceptors[l];n.call&&(e+=`${this.getInterceptor(l)}.call(${this.args({before:n.context?"_context":void 0})});
|
|
`)}return e+=this.content(Object.assign(r,{onError:s&&(l=>{let n="";for(let c=0;c<this.options.interceptors.length;c++)this.options.interceptors[c].error&&(n+=`${this.getInterceptor(c)}.error(${l});
|
|
`);return n+=s(l),n}),onResult:a&&(l=>{let n="";for(let c=0;c<this.options.interceptors.length;c++)this.options.interceptors[c].result&&(n+=`${this.getInterceptor(c)}.result(${l});
|
|
`);return n+=a(l),n}),onDone:u&&(()=>{let l="";for(let n=0;n<this.options.interceptors.length;n++)this.options.interceptors[n].done&&(l+=`${this.getInterceptor(n)}.done();
|
|
`);return l+=u(),l})})),e}else return this.content(r)}header(){let r="";return this.needContext()?r+=`var _context = {};
|
|
`:r+=`var _context;
|
|
`,r+=`var _x = this._x;
|
|
`,this.options.interceptors.length>0&&(r+=`var _taps = this.taps;
|
|
`,r+=`var _interceptors = this.interceptors;
|
|
`),r}needContext(){for(let r of this.options.taps)if(r.context)return!0;return!1}callTap(r,{onError:s,onResult:a,onDone:u,rethrowIfPossible:e}){let l="",n=!1;for(let p=0;p<this.options.interceptors.length;p++){let i=this.options.interceptors[p];i.tap&&(n||(l+=`var _tap${r} = ${this.getTap(r)};
|
|
`,n=!0),l+=`${this.getInterceptor(p)}.tap(${i.context?"_context, ":""}_tap${r});
|
|
`)}l+=`var _fn${r} = ${this.getTapFn(r)};
|
|
`;let c=this.options.taps[r];switch(c.type){case"sync":e||(l+=`var _hasError${r} = false;
|
|
`,l+=`try {
|
|
`),a?l+=`var _result${r} = _fn${r}(${this.args({before:c.context?"_context":void 0})});
|
|
`:l+=`_fn${r}(${this.args({before:c.context?"_context":void 0})});
|
|
`,e||(l+=`} catch(_err) {
|
|
`,l+=`_hasError${r} = true;
|
|
`,l+=s("_err"),l+=`}
|
|
`,l+=`if(!_hasError${r}) {
|
|
`),a&&(l+=a(`_result${r}`)),u&&(l+=u()),e||(l+=`}
|
|
`);break;case"async":let p="";a?p+=`(function(_err${r}, _result${r}) {
|
|
`:p+=`(function(_err${r}) {
|
|
`,p+=`if(_err${r}) {
|
|
`,p+=s(`_err${r}`),p+=`} else {
|
|
`,a&&(p+=a(`_result${r}`)),u&&(p+=u()),p+=`}
|
|
`,p+="})",l+=`_fn${r}(${this.args({before:c.context?"_context":void 0,after:p})});
|
|
`;break;case"promise":l+=`var _hasResult${r} = false;
|
|
`,l+=`var _promise${r} = _fn${r}(${this.args({before:c.context?"_context":void 0})});
|
|
`,l+=`if (!_promise${r} || !_promise${r}.then)
|
|
`,l+=` throw new Error('Tap function (tapPromise) did not return promise (returned ' + _promise${r} + ')');
|
|
`,l+=`_promise${r}.then((function(_result${r}) {
|
|
`,l+=`_hasResult${r} = true;
|
|
`,a&&(l+=a(`_result${r}`)),u&&(l+=u()),l+=`}), function(_err${r}) {
|
|
`,l+=`if(_hasResult${r}) throw _err${r};
|
|
`,l+=s(`_err${r}`),l+=`});
|
|
`;break}return l}callTapsSeries({onError:r,onResult:s,resultReturns:a,onDone:u,doneReturns:e,rethrowIfPossible:l}){if(this.options.taps.length===0)return u();let n=this.options.taps.findIndex(h=>h.type!=="sync"),c=a||e,p="",i=u,o=0;for(let h=this.options.taps.length-1;h>=0;h--){let d=h;i!==u&&(this.options.taps[d].type!=="sync"||o++>20)&&(o=0,p+=`function _next${d}() {
|
|
`,p+=i(),p+=`}
|
|
`,i=()=>`${c?"return ":""}_next${d}();
|
|
`);let b=i,m=x=>x?"":u(),y=this.callTap(d,{onError:x=>r(d,x,b,m),onResult:s&&(x=>s(d,x,b,m)),onDone:!s&&b,rethrowIfPossible:l&&(n<0||d<n)});i=()=>y}return p+=i(),p}callTapsLooping({onError:r,onDone:s,rethrowIfPossible:a}){if(this.options.taps.length===0)return s();let u=this.options.taps.every(l=>l.type==="sync"),e="";u||(e+=`var _looper = (function() {
|
|
`,e+=`var _loopAsync = false;
|
|
`),e+=`var _loop;
|
|
`,e+=`do {
|
|
`,e+=`_loop = false;
|
|
`;for(let l=0;l<this.options.interceptors.length;l++){let n=this.options.interceptors[l];n.loop&&(e+=`${this.getInterceptor(l)}.loop(${this.args({before:n.context?"_context":void 0})});
|
|
`)}return e+=this.callTapsSeries({onError:r,onResult:(l,n,c,p)=>{let i="";return i+=`if(${n} !== undefined) {
|
|
`,i+=`_loop = true;
|
|
`,u||(i+=`if(_loopAsync) _looper();
|
|
`),i+=p(!0),i+=`} else {
|
|
`,i+=c(),i+=`}
|
|
`,i},onDone:s&&(()=>{let l="";return l+=`if(!_loop) {
|
|
`,l+=s(),l+=`}
|
|
`,l}),rethrowIfPossible:a&&u}),e+=`} while(_loop);
|
|
`,u||(e+=`_loopAsync = true;
|
|
`,e+=`});
|
|
`,e+=`_looper();
|
|
`),e}callTapsParallel({onError:r,onResult:s,onDone:a,rethrowIfPossible:u,onTap:e=(l,n)=>n()}){if(this.options.taps.length<=1)return this.callTapsSeries({onError:r,onResult:s,onDone:a,rethrowIfPossible:u});let l="";l+=`do {
|
|
`,l+=`var _counter = ${this.options.taps.length};
|
|
`,a&&(l+=`var _done = (function() {
|
|
`,l+=a(),l+=`});
|
|
`);for(let n=0;n<this.options.taps.length;n++){let c=()=>a?`if(--_counter === 0) _done();
|
|
`:"--_counter;",p=i=>i||!a?`_counter = 0;
|
|
`:`_counter = 0;
|
|
_done();
|
|
`;l+=`if(_counter <= 0) break;
|
|
`,l+=e(n,()=>this.callTap(n,{onError:i=>{let o="";return o+=`if(_counter > 0) {
|
|
`,o+=r(n,i,c,p),o+=`}
|
|
`,o},onResult:s&&(i=>{let o="";return o+=`if(_counter > 0) {
|
|
`,o+=s(n,i,c,p),o+=`}
|
|
`,o}),onDone:!s&&(()=>c()),rethrowIfPossible:u}),c,p)}return l+=`} while(false);
|
|
`,l}args({before:r,after:s}={}){let a=this._args;return r&&(a=[r].concat(a)),s&&(a=a.concat(s)),a.length===0?"":a.join(", ")}getTapFn(r){return`_x[${r}]`}getTap(r){return`_taps[${r}]`}getInterceptor(r){return`_interceptors[${r}]`}};KC.exports=T0});var GC=ct((Fue,HC)=>{"use strict";var Y8=to(),Q8=vo(),E0=class extends Q8{content({onError:r,onDone:s,rethrowIfPossible:a}){return this.callTapsSeries({onError:(u,e)=>r(e),onDone:s,rethrowIfPossible:a})}},zC=new E0,Z8=()=>{throw new Error("tapAsync is not supported on a SyncHook")},e9=()=>{throw new Error("tapPromise is not supported on a SyncHook")},t9=function(t){return zC.setup(this,t),zC.create(t)};function S0(t=[],r=void 0){let s=new Y8(t,r);return s.constructor=S0,s.tapAsync=Z8,s.tapPromise=e9,s.compile=t9,s}S0.prototype=null;HC.exports=S0});var YC=ct((jue,XC)=>{"use strict";var r9=to(),n9=vo(),w0=class extends n9{content({onError:r,onResult:s,resultReturns:a,onDone:u,rethrowIfPossible:e}){return this.callTapsSeries({onError:(l,n)=>r(n),onResult:(l,n,c)=>`if(${n} !== undefined) {
|
|
${s(n)};
|
|
} else {
|
|
${c()}}
|
|
`,resultReturns:a,onDone:u,rethrowIfPossible:e})}},JC=new w0,i9=()=>{throw new Error("tapAsync is not supported on a SyncBailHook")},s9=()=>{throw new Error("tapPromise is not supported on a SyncBailHook")},a9=function(t){return JC.setup(this,t),JC.create(t)};function _0(t=[],r=void 0){let s=new r9(t,r);return s.constructor=_0,s.tapAsync=i9,s.tapPromise=s9,s.compile=a9,s}_0.prototype=null;XC.exports=_0});var ek=ct((Lue,ZC)=>{"use strict";var o9=to(),l9=vo(),A0=class extends l9{content({onError:r,onResult:s,resultReturns:a,rethrowIfPossible:u}){return this.callTapsSeries({onError:(e,l)=>r(l),onResult:(e,l,n)=>{let c="";return c+=`if(${l} !== undefined) {
|
|
`,c+=`${this._args[0]} = ${l};
|
|
`,c+=`}
|
|
`,c+=n(),c},onDone:()=>s(this._args[0]),doneReturns:a,rethrowIfPossible:u})}},QC=new A0,u9=()=>{throw new Error("tapAsync is not supported on a SyncWaterfallHook")},c9=()=>{throw new Error("tapPromise is not supported on a SyncWaterfallHook")},p9=function(t){return QC.setup(this,t),QC.create(t)};function P0(t=[],r=void 0){if(t.length<1)throw new Error("Waterfall hooks must have at least one argument");let s=new o9(t,r);return s.constructor=P0,s.tapAsync=u9,s.tapPromise=c9,s.compile=p9,s}P0.prototype=null;ZC.exports=P0});var nk=ct((Rue,rk)=>{"use strict";var d9=to(),h9=vo(),C0=class extends h9{content({onError:r,onDone:s,rethrowIfPossible:a}){return this.callTapsLooping({onError:(u,e)=>r(e),onDone:s,rethrowIfPossible:a})}},tk=new C0,f9=()=>{throw new Error("tapAsync is not supported on a SyncLoopHook")},m9=()=>{throw new Error("tapPromise is not supported on a SyncLoopHook")},y9=function(t){return tk.setup(this,t),tk.create(t)};function k0(t=[],r=void 0){let s=new d9(t,r);return s.constructor=k0,s.tapAsync=f9,s.tapPromise=m9,s.compile=y9,s}k0.prototype=null;rk.exports=k0});var ak=ct((Mue,sk)=>{"use strict";var b9=to(),g9=vo(),D0=class extends g9{content({onError:r,onDone:s}){return this.callTapsParallel({onError:(a,u,e,l)=>r(u)+l(!0),onDone:s})}},ik=new D0,v9=function(t){return ik.setup(this,t),ik.create(t)};function I0(t=[],r=void 0){let s=new b9(t,r);return s.constructor=I0,s.compile=v9,s._call=void 0,s.call=void 0,s}I0.prototype=null;sk.exports=I0});var uk=ct((Bue,lk)=>{"use strict";var x9=to(),T9=vo(),O0=class extends T9{content({onError:r,onResult:s,onDone:a}){let u="";return u+=`var _results = new Array(${this.options.taps.length});
|
|
`,u+=`var _checkDone = function() {
|
|
`,u+=`for(var i = 0; i < _results.length; i++) {
|
|
`,u+=`var item = _results[i];
|
|
`,u+=`if(item === undefined) return false;
|
|
`,u+=`if(item.result !== undefined) {
|
|
`,u+=s("item.result"),u+=`return true;
|
|
`,u+=`}
|
|
`,u+=`if(item.error) {
|
|
`,u+=r("item.error"),u+=`return true;
|
|
`,u+=`}
|
|
`,u+=`}
|
|
`,u+=`return false;
|
|
`,u+=`}
|
|
`,u+=this.callTapsParallel({onError:(e,l,n,c)=>{let p="";return p+=`if(${e} < _results.length && ((_results.length = ${e+1}), (_results[${e}] = { error: ${l} }), _checkDone())) {
|
|
`,p+=c(!0),p+=`} else {
|
|
`,p+=n(),p+=`}
|
|
`,p},onResult:(e,l,n,c)=>{let p="";return p+=`if(${e} < _results.length && (${l} !== undefined && (_results.length = ${e+1}), (_results[${e}] = { result: ${l} }), _checkDone())) {
|
|
`,p+=c(!0),p+=`} else {
|
|
`,p+=n(),p+=`}
|
|
`,p},onTap:(e,l,n,c)=>{let p="";return e>0&&(p+=`if(${e} >= _results.length) {
|
|
`,p+=n(),p+=`} else {
|
|
`),p+=l(),e>0&&(p+=`}
|
|
`),p},onDone:a}),u}},ok=new O0,E9=function(t){return ok.setup(this,t),ok.create(t)};function N0(t=[],r=void 0){let s=new x9(t,r);return s.constructor=N0,s.compile=E9,s._call=void 0,s.call=void 0,s}N0.prototype=null;lk.exports=N0});var dk=ct((Uue,pk)=>{"use strict";var S9=to(),w9=vo(),F0=class extends w9{content({onError:r,onDone:s}){return this.callTapsSeries({onError:(a,u,e,l)=>r(u)+l(!0),onDone:s})}},ck=new F0,_9=function(t){return ck.setup(this,t),ck.create(t)};function j0(t=[],r=void 0){let s=new S9(t,r);return s.constructor=j0,s.compile=_9,s._call=void 0,s.call=void 0,s}j0.prototype=null;pk.exports=j0});var mk=ct(($ue,fk)=>{"use strict";var A9=to(),P9=vo(),L0=class extends P9{content({onError:r,onResult:s,resultReturns:a,onDone:u}){return this.callTapsSeries({onError:(e,l,n,c)=>r(l)+c(!0),onResult:(e,l,n)=>`if(${l} !== undefined) {
|
|
${s(l)}
|
|
} else {
|
|
${n()}}
|
|
`,resultReturns:a,onDone:u})}},hk=new L0,C9=function(t){return hk.setup(this,t),hk.create(t)};function R0(t=[],r=void 0){let s=new A9(t,r);return s.constructor=R0,s.compile=C9,s._call=void 0,s.call=void 0,s}R0.prototype=null;fk.exports=R0});var gk=ct((Vue,bk)=>{"use strict";var k9=to(),D9=vo(),M0=class extends D9{content({onError:r,onDone:s}){return this.callTapsLooping({onError:(a,u,e,l)=>r(u)+l(!0),onDone:s})}},yk=new M0,I9=function(t){return yk.setup(this,t),yk.create(t)};function B0(t=[],r=void 0){let s=new k9(t,r);return s.constructor=B0,s.compile=I9,s._call=void 0,s.call=void 0,s}B0.prototype=null;bk.exports=B0});var Tk=ct((que,xk)=>{"use strict";var O9=to(),N9=vo(),U0=class extends N9{content({onError:r,onResult:s,onDone:a}){return this.callTapsSeries({onError:(u,e,l,n)=>r(e)+n(!0),onResult:(u,e,l)=>{let n="";return n+=`if(${e} !== undefined) {
|
|
`,n+=`${this._args[0]} = ${e};
|
|
`,n+=`}
|
|
`,n+=l(),n},onDone:()=>s(this._args[0])})}},vk=new U0,F9=function(t){return vk.setup(this,t),vk.create(t)};function $0(t=[],r=void 0){if(t.length<1)throw new Error("Waterfall hooks must have at least one argument");let s=new O9(t,r);return s.constructor=$0,s.compile=F9,s._call=void 0,s.call=void 0,s}$0.prototype=null;xk.exports=$0});var Sk=ct((Wue,Ek)=>{"use strict";var V0=hr("util"),j9=(t,r)=>r,Mc=class{constructor(r,s=void 0){this._map=new Map,this.name=s,this._factory=r,this._interceptors=[]}get(r){return this._map.get(r)}for(r){let s=this.get(r);if(s!==void 0)return s;let a=this._factory(r),u=this._interceptors;for(let e=0;e<u.length;e++)a=u[e].factory(r,a);return this._map.set(r,a),a}intercept(r){this._interceptors.push(Object.assign({factory:j9},r))}};Mc.prototype.tap=V0.deprecate(function(t,r,s){return this.for(t).tap(r,s)},"HookMap#tap(key,\u2026) is deprecated. Use HookMap#for(key).tap(\u2026) instead.");Mc.prototype.tapAsync=V0.deprecate(function(t,r,s){return this.for(t).tapAsync(r,s)},"HookMap#tapAsync(key,\u2026) is deprecated. Use HookMap#for(key).tapAsync(\u2026) instead.");Mc.prototype.tapPromise=V0.deprecate(function(t,r,s){return this.for(t).tapPromise(r,s)},"HookMap#tapPromise(key,\u2026) is deprecated. Use HookMap#for(key).tapPromise(\u2026) instead.");Ek.exports=Mc});var _k=ct((zue,wk)=>{"use strict";var Kue=to(),q0=class t{constructor(r,s=void 0){this.hooks=r,this.name=s}tap(r,s){for(let a of this.hooks)a.tap(r,s)}tapAsync(r,s){for(let a of this.hooks)a.tapAsync(r,s)}tapPromise(r,s){for(let a of this.hooks)a.tapPromise(r,s)}isUsed(){for(let r of this.hooks)if(r.isUsed())return!0;return!1}intercept(r){for(let s of this.hooks)s.intercept(r)}withOptions(r){return new t(this.hooks.map(s=>s.withOptions(r)),this.name)}};wk.exports=q0});var Ak=ct(Ia=>{"use strict";Ia.__esModule=!0;Ia.SyncHook=GC();Ia.SyncBailHook=YC();Ia.SyncWaterfallHook=ek();Ia.SyncLoopHook=nk();Ia.AsyncParallelHook=ak();Ia.AsyncParallelBailHook=uk();Ia.AsyncSeriesHook=dk();Ia.AsyncSeriesBailHook=mk();Ia.AsyncSeriesLoopHook=gk();Ia.AsyncSeriesWaterfallHook=Tk();Ia.HookMap=Sk();Ia.MultiHook=_k()});var Ck=ct((Gue,Pk)=>{"use strict";Pk.exports=function(r,s){let a=!1,u;return r.log&&(s?u=e=>{a||(r.log(s),a=!0),r.log(` ${e}`)}:u=r.log),{log:u,yield:r.yield,fileDependencies:r.fileDependencies,contextDependencies:r.contextDependencies,missingDependencies:r.missingDependencies,stack:r.stack}}});var jk=ct((Jue,Fk)=>{"use strict";var{AsyncSeriesBailHook:kk,AsyncSeriesHook:L9,SyncHook:Dk}=Ak(),R9=Ck(),{parseIdentifier:M9}=hd(),{PathType:Ik,cachedJoin:B9,getType:Ok,normalize:U9}=ju();function Nk(t){return t.replace(/-([a-z])/g,r=>r.slice(1).toUpperCase())}var W0=class t{static createStackEntry(r,s){return`${r.name}: (${s.path}) ${s.request||""}${s.query||""}${s.fragment||""}${s.directory?" directory":""}${s.module?" module":""}`}constructor(r,s){this.fileSystem=r,this.options=s,this.hooks={resolveStep:new Dk(["hook","request"],"resolveStep"),noResolve:new Dk(["request","error"],"noResolve"),resolve:new kk(["request","resolveContext"],"resolve"),result:new L9(["result","resolveContext"],"result")}}ensureHook(r){if(typeof r!="string")return r;if(r=Nk(r),r.startsWith("before"))return this.ensureHook(r[6].toLowerCase()+r.slice(7)).withOptions({stage:-10});if(r.startsWith("after"))return this.ensureHook(r[5].toLowerCase()+r.slice(6)).withOptions({stage:10});let s=this.hooks[r];return s||(this.hooks[r]=new kk(["request","resolveContext"],r),this.hooks[r])}getHook(r){if(typeof r!="string")return r;if(r=Nk(r),r.startsWith("before"))return this.getHook(r[6].toLowerCase()+r.slice(7)).withOptions({stage:-10});if(r.startsWith("after"))return this.getHook(r[5].toLowerCase()+r.slice(6)).withOptions({stage:10});let s=this.hooks[r];if(!s)throw new Error(`Hook ${r} doesn't exist`);return s}resolveSync(r,s,a){let u,e,l=!1;if(this.resolve(r,s,a,{},(n,c)=>{u=n,e=c,l=!0}),!l)throw new Error("Cannot 'resolveSync' because the fileSystem is not sync. Use 'resolve'!");if(u)throw u;if(e===void 0)throw new Error("No result");return e}resolve(r,s,a,u,e){if(!r||typeof r!="object")return e(new Error("context argument is not an object"));if(typeof s!="string")return e(new Error("path argument is not a string"));if(typeof a!="string")return e(new Error("request argument is not a string"));if(!u)return e(new Error("resolveContext argument is not set"));let l={context:r,path:s,request:a},n,c=!1,p;if(typeof u.yield=="function"){let d=u.yield;n=f=>{d(f),c=!0},p=f=>{f&&n(f),e(null)}}let i=`resolve '${a}' in '${s}'`,o=d=>e(null,d.path===!1?!1:`${d.path.replace(/#/g,"\0#")}${d.query?d.query.replace(/#/g,"\0#"):""}${d.fragment||""}`,d),h=d=>{let f=new Error(`Can't ${i}`);return f.details=d.join(`
|
|
`),this.hooks.noResolve.call(l,f),e(f)};if(u.log){let d=u.log,f=[];return this.doResolve(this.hooks.resolve,l,i,{log:b=>{d(b),f.push(b)},yield:n,fileDependencies:u.fileDependencies,contextDependencies:u.contextDependencies,missingDependencies:u.missingDependencies,stack:u.stack},(b,m)=>b?e(b):c||m&&n?p(m):m?o(m):h(f))}return this.doResolve(this.hooks.resolve,l,i,{log:void 0,yield:n,fileDependencies:u.fileDependencies,contextDependencies:u.contextDependencies,missingDependencies:u.missingDependencies,stack:u.stack},(d,f)=>{if(d)return e(d);if(c||f&&n)return p(f);if(f)return o(f);let b=[];return this.doResolve(this.hooks.resolve,l,i,{log:m=>b.push(m),yield:n,stack:u.stack},(m,y)=>m?e(m):c||y&&n?p(y):h(b))})}doResolve(r,s,a,u,e){let l=t.createStackEntry(r,s),n;if(u.stack){if(n=new Set(u.stack),u.stack.has(l)){let c=new Error(`Recursion in resolving
|
|
Stack:
|
|
${[...n].join(`
|
|
`)}`);return c.recursion=!0,u.log&&u.log("abort resolving because of recursion"),e(c)}n.add(l)}else n=new Set,n.add(l);if(this.hooks.resolveStep.call(r,s),r.isUsed()){let c=R9({log:u.log,yield:u.yield,fileDependencies:u.fileDependencies,contextDependencies:u.contextDependencies,missingDependencies:u.missingDependencies,stack:n},a);return r.callAsync(s,c,(p,i)=>{if(p)return e(p);if(i)return e(null,i);e()})}e()}parse(r){let s={request:"",query:"",fragment:"",module:!1,directory:!1,file:!1,internal:!1},a=M9(r);return a&&([s.request,s.query,s.fragment]=a,s.request.length>0&&(s.internal=this.isPrivate(r),s.module=this.isModule(s.request),s.directory=this.isDirectory(s.request),s.directory&&(s.request=s.request.slice(0,-1)))),s}isModule(r){return Ok(r)===Ik.Normal}isPrivate(r){return Ok(r)===Ik.Internal}isDirectory(r){return r.endsWith("/")}join(r,s){return B9(r,s)}normalize(r){return U9(r)}};Fk.exports=W0});var Rk=ct((Yue,Lk)=>{"use strict";var $9=(t,r)=>{if(!t.startsWith(r))return!1;if(t.length===r.length)return!0;let s=t.charCodeAt(r.length);return s===47||s===92};Lk.exports=class{constructor(r,s){this.source=r,this.restrictions=s}apply(r){r.getHook(this.source).tapAsync("RestrictionsPlugin",(s,a,u)=>{if(typeof s.path=="string"){let{path:e}=s;for(let l of this.restrictions)if(typeof l=="string"){if(!$9(e,l))return a.log&&a.log(`${e} is not inside of the restriction ${l}`),u(null,null)}else if(!l.test(e))return a.log&&a.log(`${e} doesn't match the restriction ${l}`),u(null,null)}u()})}}});var Bk=ct((Zue,Mk)=>{"use strict";Mk.exports=class{constructor(r){this.source=r}apply(r){this.source.tapAsync("ResultPlugin",(s,a,u)=>{let e={...s};a.log&&a.log(`reporting result ${e.path}`),r.hooks.result.callAsync(e,a,l=>{if(l)return u(l);typeof a.yield=="function"?(a.yield(e),u(null,null)):u(null,e)})})}}});var $k=ct((ece,Uk)=>{"use strict";var V9=Ko(),K0=class{constructor(r,s,a){this.roots=[...s],this.source=r,this.target=a}apply(r){let s=r.ensureHook(this.target);r.getHook(this.source).tapAsync("RootsPlugin",(a,u,e)=>{let l=a.request;if(!l||!l.startsWith("/"))return e();V9(this.roots,(n,c)=>{let p=r.join(n,l.slice(1)),i={...a,path:p,relativePath:a.relativePath&&p};r.doResolve(s,i,`root path ${n}`,u,c)},e)})}};Uk.exports=K0});var Wk=ct((rce,qk)=>{"use strict";var Vk=Nu(),q9=47;qk.exports=class{constructor(r,s,a){this.source=r,this.target=a,this.fieldName=s}apply(r){let s=r.ensureHook(this.target);r.getHook(this.source).tapAsync("SelfReferencePlugin",(a,u,e)=>{if(!a.descriptionFilePath)return e();let l=a.request;if(!l||!Vk.getField(a.descriptionFileData,this.fieldName))return e();let c=Vk.getField(a.descriptionFileData,"name");if(typeof c!="string")return e();if(l.startsWith(c)&&(l.length===c.length||l.charCodeAt(c.length)===q9)){let p=`.${l.slice(c.length)}`,i={...a,request:p,path:a.descriptionFileRoot,relativePath:"."};r.doResolve(s,i,"self reference",u,e)}else return e()})}}});var Hk=ct((ice,zk)=>{"use strict";var W9=Ko(),K9=hm(),{PathType:Kk,getType:z9}=ju();zk.exports=class{constructor(r,s){this.source=r,this.target=s}apply(r){let s=r.ensureHook(this.target),a=r.fileSystem;r.getHook(this.source).tapAsync("SymlinkPlugin",(u,e,l)=>{if(u.ignoreSymlinks)return l();let n=K9(u.path),c=n.segments,{paths:p}=n,i=!1,o=-1;W9(p,(h,d)=>{o++,e.fileDependencies&&e.fileDependencies.add(h),a.readlink(h,(f,b)=>{if(!f&&b){c[o]=b,i=!0;let m=z9(b.toString());if(m===Kk.AbsoluteWin||m===Kk.AbsolutePosix)return d(null,o)}d()})},(h,d)=>{if(!i)return l();let b=(typeof d=="number"?c.slice(0,d+1):[...c]).reduceRight((y,x)=>r.join(y,x)),m={...u,path:b};r.doResolve(s,m,`resolved symlink to ${b}`,e,l)})})}}});var Jk=ct((sce,Gk)=>{"use strict";function H9(t){this.fs=t,this.lstat=void 0,this.lstatSync=void 0;let{lstatSync:r}=t;r&&(this.lstat=((u,e,l)=>{let n;try{n=l?r.call(t,u,e):r.call(t,u)}catch(c){return(l||e)(c)}(l||e)(null,n)}),this.lstatSync=((u,e)=>r.call(t,u,e))),this.stat=((u,e,l)=>{let n;try{n=l?t.statSync(u,e):t.statSync(u)}catch(c){return(l||e)(c)}(l||e)(null,n)}),this.statSync=((u,e)=>t.statSync(u,e)),this.readdir=((u,e,l)=>{let n;try{n=l?t.readdirSync(u,e):t.readdirSync(u)}catch(c){return(l||e)(c,[])}(l||e)(null,n)}),this.readdirSync=((u,e)=>t.readdirSync(u,e)),this.readFile=((u,e,l)=>{let n;try{n=l?t.readFileSync(u,e):t.readFileSync(u)}catch(c){return(l||e)(c)}(l||e)(null,n)}),this.readFileSync=((u,e)=>t.readFileSync(u,e)),this.readlink=((u,e,l)=>{let n;try{n=l?t.readlinkSync(u,e):t.readlinkSync(u)}catch(c){return(l||e)(c)}(l||e)(null,n)}),this.readlinkSync=((u,e)=>t.readlinkSync(u,e)),this.readJson=void 0,this.readJsonSync=void 0;let{readJsonSync:s}=t;s&&(this.readJson=((u,e)=>{let l;try{l=s.call(t,u)}catch(n){return e(n)}e(null,l)}),this.readJsonSync=(u=>s.call(t,u))),this.realpath=void 0,this.realpathSync=void 0;let{realpathSync:a}=t;a&&(this.realpath=((u,e,l)=>{let n;try{n=l?a.call(t,u,e):a.call(t,u)}catch(c){return(l||e)(c)}(l||e)(null,n)}),this.realpathSync=((u,e)=>a.call(t,u,e)))}Gk.exports=H9});var Yk=ct((oce,Xk)=>{"use strict";Xk.exports=class{constructor(r,s,a){this.source=r,this.message=s,this.target=a}apply(r){let s=r.ensureHook(this.target);r.getHook(this.source).tapAsync("TryNextPlugin",(a,u,e)=>{r.doResolve(s,a,this.message,u,e)})}}});var Zk=ct((uce,Qk)=>{"use strict";function G9(t,r,s){return JSON.stringify({type:t,context:s?r.context:"",path:r.path,query:r.query,fragment:r.fragment,request:r.request})}Qk.exports=class{constructor(r,s,a,u,e){this.source=r,this.filterPredicate=s,this.withContext=u,this.cache=a,this.target=e}apply(r){let s=r.ensureHook(this.target);r.getHook(this.source).tapAsync("UnsafeCachePlugin",(a,u,e)=>{if(!this.filterPredicate(a))return e();let l=typeof u.yield=="function",n=G9(l?"yield":"default",a,this.withContext),c=this.cache[n];if(c){if(l){let h=u.yield;if(Array.isArray(c))for(let d of c)h(d);else h(c);return e(null,null)}return e(null,c)}let p,i,o=[];l&&(p=u.yield,i=h=>{o.push(h)}),r.doResolve(s,a,null,i?{...u,yield:i}:u,(h,d)=>{if(h)return e(h);if(l){d&&o.push(d);for(let f of o)p(f);return this.cache[n]=o,e(null,null)}if(d)return e(null,this.cache[n]=d);e()})})}}});var tD=ct((pce,eD)=>{"use strict";eD.exports=class{constructor(r,s,a){this.source=r,this.filename=s,this.target=a}apply(r){let s=r.ensureHook(this.target);r.getHook(this.source).tapAsync("UseFilePlugin",(a,u,e)=>{let l=r.join(a.path,this.filename),n={...a,path:l,relativePath:a.relativePath&&r.join(a.relativePath,this.filename)};r.doResolve(s,n,`using path: ${l}`,u,e)})}}});var uD=ct((dce,lD)=>{"use strict";var{versions:J9}=hr("process"),rD=BP(),z0=QP(),X9=eC(),Bc=rC(),fd=sC(),nD=oC(),Y9=bC(),Q9=vC(),Z9=TC(),eU=SC(),tU=_C(),mm=PC(),rU=DC(),H0=OC(),nU=FC(),xo=LC(),iD=MC(),iU=UC(),sU=jk(),aU=Rk(),oU=Bk(),lU=$k(),uU=Wk(),cU=Hk(),pU=Jk(),dU=Yk(),hU=Zk(),sD=tD(),{PathType:aD,getType:fU}=ju();function mU(t){if(t===void 0&&J9.pnp){let r=hr("module").findPnpApi;if(r)return{resolveToUnqualified(s,a,u){let e=r(a);return e?e.resolveToUnqualified(s,a,u):null}}}return t||null}function oD(t){return typeof t=="object"&&!Array.isArray(t)&&t!==null?Object.keys(t).map(r=>{let s={name:r,onlyModule:!1,alias:t[r]};return/\$$/.test(r)&&(s.onlyModule=!0,s.name=r.slice(0,-1)),s}):t||[]}function yU(t,r){let s=[],a=new Set(t);for(let u of a)if(r(u)){let e=s.length>0?s[s.length-1]:void 0;Array.isArray(e)?e.push(u):s.push([u])}else s.push(u);return s}function bU(t){let r=new Set(t.mainFields||["main"]),s=[];for(let a of r)typeof a=="string"?s.push({name:[a],forceRelative:!0}):Array.isArray(a)?s.push({name:a,forceRelative:!0}):s.push({name:Array.isArray(a.name)?a.name:[a.name],forceRelative:a.forceRelative});return{alias:oD(t.alias),fallback:oD(t.fallback),aliasFields:new Set(t.aliasFields),cachePredicate:t.cachePredicate||function(){return!0},cacheWithContext:typeof t.cacheWithContext<"u"?t.cacheWithContext:!0,exportsFields:new Set(t.exportsFields||["exports"]),importsFields:new Set(t.importsFields||["imports"]),conditionNames:new Set(t.conditionNames),descriptionFiles:[...new Set(t.descriptionFiles||["package.json"])],enforceExtension:t.enforceExtension===void 0?!!(t.extensions&&t.extensions.includes("")):t.enforceExtension,extensions:new Set(t.extensions||[".js",".json",".node"]),extensionAlias:t.extensionAlias?Object.keys(t.extensionAlias).map(a=>({extension:a,alias:t.extensionAlias[a]})):[],fileSystem:t.useSyncFileSystemCalls?new pU(t.fileSystem):t.fileSystem,unsafeCache:t.unsafeCache&&typeof t.unsafeCache!="object"?{}:t.unsafeCache||!1,symlinks:typeof t.symlinks<"u"?t.symlinks:!0,resolver:t.resolver,modules:yU(Array.isArray(t.modules)?t.modules:t.modules?[t.modules]:["node_modules"],a=>{let u=fU(a);return u===aD.Normal||u===aD.Relative}),mainFields:s,mainFiles:new Set(t.mainFiles||["index"]),plugins:t.plugins||[],pnpApi:mU(t.pnpApi),roots:new Set(t.roots||void 0),fullySpecified:t.fullySpecified||!1,resolveToContext:t.resolveToContext||!1,preferRelative:t.preferRelative||!1,preferAbsolute:t.preferAbsolute||!1,restrictions:new Set(t.restrictions)}}lD.exports.createResolver=function(r){let s=bU(r),{alias:a,fallback:u,aliasFields:e,cachePredicate:l,cacheWithContext:n,conditionNames:c,descriptionFiles:p,enforceExtension:i,exportsFields:o,extensionAlias:h,importsFields:d,extensions:f,fileSystem:b,fullySpecified:m,mainFields:y,mainFiles:x,modules:v,plugins:E,pnpApi:S,resolveToContext:_,preferRelative:A,preferAbsolute:L,symlinks:j,unsafeCache:F,resolver:k,restrictions:U,roots:z}=s,C=[...E],R=k||new sU(b,s);R.ensureHook("resolve"),R.ensureHook("internalResolve"),R.ensureHook("newInternalResolve"),R.ensureHook("parsedResolve"),R.ensureHook("describedResolve"),R.ensureHook("rawResolve"),R.ensureHook("normalResolve"),R.ensureHook("internal"),R.ensureHook("rawModule"),R.ensureHook("alternateRawModule"),R.ensureHook("module"),R.ensureHook("resolveAsModule"),R.ensureHook("undescribedResolveInPackage"),R.ensureHook("resolveInPackage"),R.ensureHook("resolveInExistingDirectory"),R.ensureHook("relative"),R.ensureHook("describedRelative"),R.ensureHook("directory"),R.ensureHook("undescribedExistingDirectory"),R.ensureHook("existingDirectory"),R.ensureHook("undescribedRawFile"),R.ensureHook("rawFile"),R.ensureHook("file"),R.ensureHook("finalFile"),R.ensureHook("existingFile"),R.ensureHook("resolved"),R.hooks.newInteralResolve=R.hooks.newInternalResolve;for(let{source:V,resolveOptions:B}of[{source:"resolve",resolveOptions:{fullySpecified:m}},{source:"internal-resolve",resolveOptions:{fullySpecified:!1}}])F?(C.push(new hU(V,l,F,n,`new-${V}`)),C.push(new iD(`new-${V}`,B,"parsed-resolve"))):C.push(new iD(V,B,"parsed-resolve"));C.push(new fd("parsed-resolve",p,!1,"described-resolve")),C.push(new xo("after-parsed-resolve","described-resolve")),C.push(new xo("described-resolve","raw-resolve")),u.length>0&&C.push(new z0("described-resolve",u,"internal-resolve")),a.length>0&&C.push(new z0("raw-resolve",a,"internal-resolve"));for(let V of e)C.push(new rD("raw-resolve",V,"internal-resolve"));for(let V of h)C.push(new Q9("raw-resolve",V,"normal-resolve"));C.push(new xo("raw-resolve","normal-resolve")),A&&C.push(new mm("after-normal-resolve","relative")),C.push(new Bc("after-normal-resolve",{module:!0},"resolve as module",!1,"raw-module")),C.push(new Bc("after-normal-resolve",{internal:!0},"resolve as internal import",!1,"internal")),L&&C.push(new mm("after-normal-resolve","relative")),z.size>0&&C.push(new lU("after-normal-resolve",z,"relative")),!A&&!L&&C.push(new mm("after-normal-resolve","relative"));for(let V of d)C.push(new eU("internal",c,V,"relative","internal-resolve"));for(let V of o)C.push(new uU("raw-module",V,"resolve-as-module"));for(let V of v)Array.isArray(V)?V.includes("node_modules")&&S?(C.push(new H0("raw-module",V.filter(B=>B!=="node_modules"),"module")),C.push(new iU("raw-module",S,"undescribed-resolve-in-package","alternate-raw-module")),C.push(new H0("alternate-raw-module",["node_modules"],"module"))):C.push(new H0("raw-module",V,"module")):C.push(new nU("raw-module",V,"module"));C.push(new tU("module","resolve-as-module")),_||C.push(new Bc("resolve-as-module",{directory:!1,request:"."},"single file module",!0,"undescribed-raw-file")),C.push(new nD("resolve-as-module","undescribed-resolve-in-package")),C.push(new fd("undescribed-resolve-in-package",p,!1,"resolve-in-package")),C.push(new xo("after-undescribed-resolve-in-package","resolve-in-package"));for(let V of o)C.push(new Y9("resolve-in-package",c,V,"relative"));if(C.push(new xo("resolve-in-package","resolve-in-existing-directory")),C.push(new mm("resolve-in-existing-directory","relative")),C.push(new fd("relative",p,!0,"described-relative")),C.push(new xo("after-relative","described-relative")),_?C.push(new xo("described-relative","directory")):(C.push(new Bc("described-relative",{directory:!1},null,!0,"raw-file")),C.push(new Bc("described-relative",{fullySpecified:!1},"as directory",!0,"directory"))),C.push(new nD("directory","undescribed-existing-directory")),_)C.push(new xo("undescribed-existing-directory","resolved"));else{C.push(new fd("undescribed-existing-directory",p,!1,"existing-directory"));for(let V of x)C.push(new sD("undescribed-existing-directory",V,"undescribed-raw-file"));for(let V of y)C.push(new rU("existing-directory",V,"resolve-in-existing-directory"));for(let V of x)C.push(new sD("existing-directory",V,"undescribed-raw-file"));C.push(new fd("undescribed-raw-file",p,!0,"raw-file")),C.push(new xo("after-undescribed-raw-file","raw-file")),C.push(new Bc("raw-file",{fullySpecified:!0},null,!1,"file")),i||C.push(new dU("raw-file","no extension","file"));for(let V of f)C.push(new X9("raw-file",V,"file"));a.length>0&&C.push(new z0("file",a,"internal-resolve"));for(let V of e)C.push(new rD("file",V,"internal-resolve"));C.push(new xo("file","final-file")),C.push(new Z9("final-file","existing-file")),j&&C.push(new cU("existing-file","existing-file")),C.push(new xo("existing-file","resolved"))}let{resolved:G}=R.hooks;U.size>0&&C.push(new aU(G,U)),C.push(new oU(G));for(let V of C)typeof V=="function"?V.call(R,R):V&&V.apply(R);return R}});var pD=ct((fce,cD)=>{"use strict";var{basename:gU}=hm();cD.exports=class{constructor(r,s){this.source=r,this.target=s}apply(r){let s=r.ensureHook(this.target);r.getHook(this.source).tapAsync("CloneBasenamePlugin",(a,u,e)=>{let l=a.path,n=gU(l),c=r.join(l,n),p={...a,path:c,relativePath:a.relativePath&&r.join(a.relativePath,n)};r.doResolve(s,p,`using path: ${c}`,u,e)})}}});var hD=ct((yce,dD)=>{"use strict";dD.exports=class{constructor(r){this.source=r}apply(r){let{source:s}=this;r.getHook(this.source).tapAsync("LogInfoPlugin",(a,u,e)=>{if(!u.log)return e();let{log:l}=u,n=`[${s}] `;a.path&&l(`${n}Resolving in directory: ${a.path}`),a.request&&l(`${n}Resolving request: ${a.request}`),a.module&&l(`${n}Request is an module request.`),a.directory&&l(`${n}Request is a directory request.`),a.query&&l(`${n}Resolving request query: ${a.query}`),a.fragment&&l(`${n}Resolving request fragment: ${a.fragment}`),a.descriptionFilePath&&l(`${n}Has description data from ${a.descriptionFilePath}`),a.relativePath&&l(`${n}Relative path from description file is: ${a.relativePath}`),e()})}}});var bD=ct((bce,yD)=>{"use strict";var Uc=bP(),mD=Uc(()=>EP()),ym=Uc(()=>{let t=NP(),r=mD();return new r(t,4e3)}),bm=Uc(()=>({environments:["node+es3+es5+process+native"]})),md=Uc(()=>uD()),vU=Uc(()=>md().createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],fileSystem:ym()})),xU=(t,r,s,a,u)=>{typeof t=="string"&&(u=a,a=s,s=r,r=t,t=bm()),typeof u!="function"&&(u=a),vU().resolve(t,r,s,a,u)},TU=Uc(()=>md().createResolver({conditionNames:["node"],extensions:[".js",".json",".node"],useSyncFileSystemCalls:!0,fileSystem:ym()})),EU=(t,r,s)=>(typeof t=="string"&&(s=r,r=t,t=bm()),TU().resolveSync(t,r,s));function SU(t){let r=md().createResolver({fileSystem:ym(),...t});return function(a,u,e,l,n){typeof a=="string"&&(n=l,l=e,e=u,u=a,a=bm()),typeof n!="function"&&(n=l),r.resolve(a,u,e,l,n)}}function wU(t){let r=md().createResolver({useSyncFileSystemCalls:!0,fileSystem:ym(),...t});return function(a,u,e){return typeof a=="string"&&(e=u,u=a,a=bm()),r.resolveSync(a,u,e)}}var fD=(t,r)=>{let s=Object.getOwnPropertyDescriptors(r);return Object.defineProperties(t,s),Object.freeze(t)};yD.exports=fD(xU,{get sync(){return EU},create:fD(SU,{get sync(){return wU}}),get ResolverFactory(){return md()},get CachedInputFileSystem(){return mD()},get CloneBasenamePlugin(){return pD()},get LogInfoPlugin(){return hD()},get forEachBail(){return Ko()}})});var SD=ct((Ece,Y0)=>{"use strict";var xD=hr("path"),TD=hr("module"),DU=hr("fs"),ED=(t,r,s)=>{if(typeof t!="string")throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof t}\``);if(typeof r!="string")throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof r}\``);try{t=DU.realpathSync(t)}catch(e){if(e.code==="ENOENT")t=xD.resolve(t);else{if(s)return;throw e}}let a=xD.join(t,"noop.js"),u=()=>TD._resolveFilename(r,{id:a,filename:a,paths:TD._nodeModulePaths(t)});if(s)try{return u()}catch{return}return u()};Y0.exports=(t,r)=>ED(t,r);Y0.exports.silent=(t,r)=>ED(t,r,!0)});var _D=ct((Sce,Q0)=>{"use strict";var wD=()=>{let t=Error.prepareStackTrace;Error.prepareStackTrace=(s,a)=>a;let r=new Error().stack.slice(1);return Error.prepareStackTrace=t,r};Q0.exports=wD;Q0.exports.default=wD});var PD=ct((wce,AD)=>{"use strict";var IU=_D();AD.exports=t=>{let r=IU();if(!t)return r[2].getFileName();let s=!1;r.shift();for(let a of r){let u=a.getFileName();if(typeof u=="string"){if(u===t){s=!0;continue}if(u!=="module.js"&&s&&u!==t)return u}}}});var ND=ct((_ce,OD)=>{"use strict";var CD=hr("path"),kD=SD(),DD=PD(),ID=t=>{try{return kD(CD.dirname(DD(__filename)),t)}catch{}},qc=t=>{if(typeof t!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);let r=ID(t);if(r){if(hr.cache[r]&&hr.cache[r].parent){let s=hr.cache[r].parent.children.length;for(;s--;)hr.cache[r].parent.children[s].id===r&&hr.cache[r].parent.children.splice(s,1)}if(hr.cache[r]){let s=hr.cache[r].children.map(a=>a.id);delete hr.cache[r];for(let a of s)qc(a)}}};qc.all=()=>{let t=CD.dirname(DD(__filename));for(let r of Object.keys(hr.cache))delete hr.cache[kD(t,r)]};qc.match=t=>{for(let r of Object.keys(hr.cache))t.test(r)&&qc(r)};qc.single=t=>{if(typeof t!="string")throw new TypeError(`Expected a \`string\`, got \`${typeof t}\``);delete hr.cache[ID(t)]};OD.exports=qc});var yd=ct((Pce,Z0)=>{var vm=process||{},FD=vm.argv||[],gm=vm.env||{},OU=!(gm.NO_COLOR||FD.includes("--no-color"))&&(!!gm.FORCE_COLOR||FD.includes("--color")||vm.platform==="win32"||(vm.stdout||{}).isTTY&&gm.TERM!=="dumb"||!!gm.CI),NU=(t,r,s=t)=>a=>{let u=""+a,e=u.indexOf(r,t.length);return~e?t+FU(u,r,s,e)+r:t+u+r},FU=(t,r,s,a)=>{let u="",e=0;do u+=t.substring(e,a)+s,e=a+r.length,a=t.indexOf(r,e);while(~a);return u+t.substring(e)},jD=(t=OU)=>{let r=t?NU:()=>String;return{isColorSupported:t,reset:r("\x1B[0m","\x1B[0m"),bold:r("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:r("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:r("\x1B[3m","\x1B[23m"),underline:r("\x1B[4m","\x1B[24m"),inverse:r("\x1B[7m","\x1B[27m"),hidden:r("\x1B[8m","\x1B[28m"),strikethrough:r("\x1B[9m","\x1B[29m"),black:r("\x1B[30m","\x1B[39m"),red:r("\x1B[31m","\x1B[39m"),green:r("\x1B[32m","\x1B[39m"),yellow:r("\x1B[33m","\x1B[39m"),blue:r("\x1B[34m","\x1B[39m"),magenta:r("\x1B[35m","\x1B[39m"),cyan:r("\x1B[36m","\x1B[39m"),white:r("\x1B[37m","\x1B[39m"),gray:r("\x1B[90m","\x1B[39m"),bgBlack:r("\x1B[40m","\x1B[49m"),bgRed:r("\x1B[41m","\x1B[49m"),bgGreen:r("\x1B[42m","\x1B[49m"),bgYellow:r("\x1B[43m","\x1B[49m"),bgBlue:r("\x1B[44m","\x1B[49m"),bgMagenta:r("\x1B[45m","\x1B[49m"),bgCyan:r("\x1B[46m","\x1B[49m"),bgWhite:r("\x1B[47m","\x1B[49m"),blackBright:r("\x1B[90m","\x1B[39m"),redBright:r("\x1B[91m","\x1B[39m"),greenBright:r("\x1B[92m","\x1B[39m"),yellowBright:r("\x1B[93m","\x1B[39m"),blueBright:r("\x1B[94m","\x1B[39m"),magentaBright:r("\x1B[95m","\x1B[39m"),cyanBright:r("\x1B[96m","\x1B[39m"),whiteBright:r("\x1B[97m","\x1B[39m"),bgBlackBright:r("\x1B[100m","\x1B[49m"),bgRedBright:r("\x1B[101m","\x1B[49m"),bgGreenBright:r("\x1B[102m","\x1B[49m"),bgYellowBright:r("\x1B[103m","\x1B[49m"),bgBlueBright:r("\x1B[104m","\x1B[49m"),bgMagentaBright:r("\x1B[105m","\x1B[49m"),bgCyanBright:r("\x1B[106m","\x1B[49m"),bgWhiteBright:r("\x1B[107m","\x1B[49m")}};Z0.exports=jD();Z0.exports.createColors=jD});var e1=ct((Cce,RD)=>{"use strict";var xm=/[\t\n\f\r "#'()/;[\\\]{}]/g,Tm=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,jU=/.[\r\n"'(/\\]/,LD=/[\da-f]/i;RD.exports=function(r,s={}){let a=r.css.valueOf(),u=s.ignoreErrors,e,l,n,c,p,i,o,h,d,f,b=a.length,m=0,y=[],x=[];function v(){return m}function E(L){throw r.error("Unclosed "+L,m)}function S(){return x.length===0&&m>=b}function _(L){if(x.length)return x.pop();if(m>=b)return;let j=L?L.ignoreUnclosed:!1;switch(e=a.charCodeAt(m),e){case 10:case 32:case 9:case 13:case 12:{c=m;do c+=1,e=a.charCodeAt(c);while(e===32||e===10||e===9||e===13||e===12);i=["space",a.slice(m,c)],m=c-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let F=String.fromCharCode(e);i=[F,F,m];break}case 40:{if(f=y.length?y.pop()[1]:"",d=a.charCodeAt(m+1),f==="url"&&d!==39&&d!==34&&d!==32&&d!==10&&d!==9&&d!==12&&d!==13){c=m;do{if(o=!1,c=a.indexOf(")",c+1),c===-1)if(u||j){c=m;break}else E("bracket");for(h=c;a.charCodeAt(h-1)===92;)h-=1,o=!o}while(o);i=["brackets",a.slice(m,c+1),m,c],m=c}else c=a.indexOf(")",m+1),l=a.slice(m,c+1),c===-1||jU.test(l)?i=["(","(",m]:(i=["brackets",l,m,c],m=c);break}case 39:case 34:{p=e===39?"'":'"',c=m;do{if(o=!1,c=a.indexOf(p,c+1),c===-1)if(u||j){c=m+1;break}else E("string");for(h=c;a.charCodeAt(h-1)===92;)h-=1,o=!o}while(o);i=["string",a.slice(m,c+1),m,c],m=c;break}case 64:{xm.lastIndex=m+1,xm.test(a),xm.lastIndex===0?c=a.length-1:c=xm.lastIndex-2,i=["at-word",a.slice(m,c+1),m,c],m=c;break}case 92:{for(c=m,n=!0;a.charCodeAt(c+1)===92;)c+=1,n=!n;if(e=a.charCodeAt(c+1),n&&e!==47&&e!==32&&e!==10&&e!==9&&e!==13&&e!==12&&(c+=1,LD.test(a.charAt(c)))){for(;LD.test(a.charAt(c+1));)c+=1;a.charCodeAt(c+1)===32&&(c+=1)}i=["word",a.slice(m,c+1),m,c],m=c;break}default:{e===47&&a.charCodeAt(m+1)===42?(c=a.indexOf("*/",m+2)+1,c===0&&(u||j?c=a.length:E("comment")),i=["comment",a.slice(m,c+1),m,c],m=c):(Tm.lastIndex=m+1,Tm.test(a),Tm.lastIndex===0?c=a.length-1:c=Tm.lastIndex-2,i=["word",a.slice(m,c+1),m,c],y.push(i),m=c);break}}return m++,i}function A(L){x.push(L)}return{back:A,endOfFile:S,nextToken:_,position:v}}});var t1=ct((kce,UD)=>{"use strict";var Sa=yd(),LU=e1(),MD;function RU(t){MD=t}var MU={";":Sa.yellow,":":Sa.yellow,"(":Sa.cyan,")":Sa.cyan,"[":Sa.yellow,"]":Sa.yellow,"{":Sa.yellow,"}":Sa.yellow,"at-word":Sa.cyan,brackets:Sa.cyan,call:Sa.cyan,class:Sa.yellow,comment:Sa.gray,hash:Sa.magenta,string:Sa.green};function BU([t,r],s){if(t==="word"){if(r[0]===".")return"class";if(r[0]==="#")return"hash"}if(!s.endOfFile()){let a=s.nextToken();if(s.back(a),a[0]==="brackets"||a[0]==="(")return"call"}return t}function BD(t){let r=LU(new MD(t),{ignoreErrors:!0}),s="";for(;!r.endOfFile();){let a=r.nextToken(),u=MU[BU(a,r)];u?s+=a[1].split(/\r?\n/).map(e=>u(e)).join(`
|
|
`):s+=a[1]}return s}BD.registerInput=RU;UD.exports=BD});var Em=ct((Dce,qD)=>{"use strict";var $D=yd(),VD=t1(),bd=class t extends Error{constructor(r,s,a,u,e,l){super(r),this.name="CssSyntaxError",this.reason=r,e&&(this.file=e),u&&(this.source=u),l&&(this.plugin=l),typeof s<"u"&&typeof a<"u"&&(typeof s=="number"?(this.line=s,this.column=a):(this.line=s.line,this.column=s.column,this.endLine=a.line,this.endColumn=a.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,t)}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(r){if(!this.source)return"";let s=this.source;r==null&&(r=$D.isColorSupported);let a=i=>i,u=i=>i,e=i=>i;if(r){let{bold:i,gray:o,red:h}=$D.createColors(!0);u=d=>i(h(d)),a=d=>o(d),VD&&(e=d=>VD(d))}let l=s.split(/\r?\n/),n=Math.max(this.line-3,0),c=Math.min(this.line+2,l.length),p=String(c).length;return l.slice(n,c).map((i,o)=>{let h=n+1+o,d=" "+(" "+h).slice(-p)+" | ";if(h===this.line){if(i.length>160){let b=20,m=Math.max(0,this.column-b),y=Math.max(this.column+b,this.endColumn+b),x=i.slice(m,y),v=a(d.replace(/\d/g," "))+i.slice(0,Math.min(this.column-1,b-1)).replace(/[^\t]/g," ");return u(">")+a(d)+e(x)+`
|
|
`+v+u("^")}let f=a(d.replace(/\d/g," "))+i.slice(0,this.column-1).replace(/[^\t]/g," ");return u(">")+a(d)+e(i)+`
|
|
`+f+u("^")}return" "+a(d)+e(i)}).join(`
|
|
`)}toString(){let r=this.showSourceCode();return r&&(r=`
|
|
|
|
`+r+`
|
|
`),this.name+": "+this.message+r}};qD.exports=bd;bd.default=bd});var r1=ct((Ice,KD)=>{"use strict";var WD={after:`
|
|
`,beforeClose:`
|
|
`,beforeComment:`
|
|
`,beforeDecl:`
|
|
`,beforeOpen:" ",beforeRule:`
|
|
`,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function UU(t){return t[0].toUpperCase()+t.slice(1)}var gd=class{constructor(r){this.builder=r}atrule(r,s){let a="@"+r.name,u=r.params?this.rawValue(r,"params"):"";if(typeof r.raws.afterName<"u"?a+=r.raws.afterName:u&&(a+=" "),r.nodes)this.block(r,a+u);else{let e=(r.raws.between||"")+(s?";":"");this.builder(a+u+e,r)}}beforeAfter(r,s){let a;r.type==="decl"?a=this.raw(r,null,"beforeDecl"):r.type==="comment"?a=this.raw(r,null,"beforeComment"):s==="before"?a=this.raw(r,null,"beforeRule"):a=this.raw(r,null,"beforeClose");let u=r.parent,e=0;for(;u&&u.type!=="root";)e+=1,u=u.parent;if(a.includes(`
|
|
`)){let l=this.raw(r,null,"indent");if(l.length)for(let n=0;n<e;n++)a+=l}return a}block(r,s){let a=this.raw(r,"between","beforeOpen");this.builder(s+a+"{",r,"start");let u;r.nodes&&r.nodes.length?(this.body(r),u=this.raw(r,"after")):u=this.raw(r,"after","emptyBody"),u&&this.builder(u),this.builder("}",r,"end")}body(r){let s=r.nodes.length-1;for(;s>0&&r.nodes[s].type==="comment";)s-=1;let a=this.raw(r,"semicolon");for(let u=0;u<r.nodes.length;u++){let e=r.nodes[u],l=this.raw(e,"before");l&&this.builder(l),this.stringify(e,s!==u||a)}}comment(r){let s=this.raw(r,"left","commentLeft"),a=this.raw(r,"right","commentRight");this.builder("/*"+s+r.text+a+"*/",r)}decl(r,s){let a=this.raw(r,"between","colon"),u=r.prop+a+this.rawValue(r,"value");r.important&&(u+=r.raws.important||" !important"),s&&(u+=";"),this.builder(u,r)}document(r){this.body(r)}raw(r,s,a){let u;if(a||(a=s),s&&(u=r.raws[s],typeof u<"u"))return u;let e=r.parent;if(a==="before"&&(!e||e.type==="root"&&e.first===r||e&&e.type==="document"))return"";if(!e)return WD[a];let l=r.root();if(l.rawCache||(l.rawCache={}),typeof l.rawCache[a]<"u")return l.rawCache[a];if(a==="before"||a==="after")return this.beforeAfter(r,a);{let n="raw"+UU(a);this[n]?u=this[n](l,r):l.walk(c=>{if(u=c.raws[s],typeof u<"u")return!1})}return typeof u>"u"&&(u=WD[a]),l.rawCache[a]=u,u}rawBeforeClose(r){let s;return r.walk(a=>{if(a.nodes&&a.nodes.length>0&&typeof a.raws.after<"u")return s=a.raws.after,s.includes(`
|
|
`)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawBeforeComment(r,s){let a;return r.walkComments(u=>{if(typeof u.raws.before<"u")return a=u.raws.before,a.includes(`
|
|
`)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a>"u"?a=this.raw(s,null,"beforeDecl"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeDecl(r,s){let a;return r.walkDecls(u=>{if(typeof u.raws.before<"u")return a=u.raws.before,a.includes(`
|
|
`)&&(a=a.replace(/[^\n]+$/,"")),!1}),typeof a>"u"?a=this.raw(s,null,"beforeRule"):a&&(a=a.replace(/\S/g,"")),a}rawBeforeOpen(r){let s;return r.walk(a=>{if(a.type!=="decl"&&(s=a.raws.between,typeof s<"u"))return!1}),s}rawBeforeRule(r){let s;return r.walk(a=>{if(a.nodes&&(a.parent!==r||r.first!==a)&&typeof a.raws.before<"u")return s=a.raws.before,s.includes(`
|
|
`)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawColon(r){let s;return r.walkDecls(a=>{if(typeof a.raws.between<"u")return s=a.raws.between.replace(/[^\s:]/g,""),!1}),s}rawEmptyBody(r){let s;return r.walk(a=>{if(a.nodes&&a.nodes.length===0&&(s=a.raws.after,typeof s<"u"))return!1}),s}rawIndent(r){if(r.raws.indent)return r.raws.indent;let s;return r.walk(a=>{let u=a.parent;if(u&&u!==r&&u.parent&&u.parent===r&&typeof a.raws.before<"u"){let e=a.raws.before.split(`
|
|
`);return s=e[e.length-1],s=s.replace(/\S/g,""),!1}}),s}rawSemicolon(r){let s;return r.walk(a=>{if(a.nodes&&a.nodes.length&&a.last.type==="decl"&&(s=a.raws.semicolon,typeof s<"u"))return!1}),s}rawValue(r,s){let a=r[s],u=r.raws[s];return u&&u.value===a?u.raw:a}root(r){this.body(r),r.raws.after&&this.builder(r.raws.after)}rule(r){this.block(r,this.rawValue(r,"selector")),r.raws.ownSemicolon&&this.builder(r.raws.ownSemicolon,r,"end")}stringify(r,s){if(!this[r.type])throw new Error("Unknown AST node type "+r.type+". Maybe you need to change PostCSS stringifier.");this[r.type](r,s)}};KD.exports=gd;gd.default=gd});var vd=ct((Oce,zD)=>{"use strict";var $U=r1();function n1(t,r){new $U(r).stringify(t)}zD.exports=n1;n1.default=n1});var Sm=ct((Nce,i1)=>{"use strict";i1.exports.isClean=Symbol("isClean");i1.exports.my=Symbol("my")});var Ed=ct((Fce,HD)=>{"use strict";var VU=Em(),qU=r1(),WU=vd(),{isClean:xd,my:KU}=Sm();function s1(t,r){let s=new t.constructor;for(let a in t){if(!Object.prototype.hasOwnProperty.call(t,a)||a==="proxyCache")continue;let u=t[a],e=typeof u;a==="parent"&&e==="object"?r&&(s[a]=r):a==="source"?s[a]=u:Array.isArray(u)?s[a]=u.map(l=>s1(l,s)):(e==="object"&&u!==null&&(u=s1(u)),s[a]=u)}return s}function xl(t,r){if(r&&typeof r.offset<"u")return r.offset;let s=1,a=1,u=0;for(let e=0;e<t.length;e++){if(a===r.line&&s===r.column){u=e;break}t[e]===`
|
|
`?(s=1,a+=1):s+=1}return u}var Td=class{get proxyOf(){return this}constructor(r={}){this.raws={},this[xd]=!1,this[KU]=!0;for(let s in r)if(s==="nodes"){this.nodes=[];for(let a of r[s])typeof a.clone=="function"?this.append(a.clone()):this.append(a)}else this[s]=r[s]}addToError(r){if(r.postcssNode=this,r.stack&&this.source&&/\n\s{4}at /.test(r.stack)){let s=this.source;r.stack=r.stack.replace(/\n\s{4}at /,`$&${s.input.from}:${s.start.line}:${s.start.column}$&`)}return r}after(r){return this.parent.insertAfter(this,r),this}assign(r={}){for(let s in r)this[s]=r[s];return this}before(r){return this.parent.insertBefore(this,r),this}cleanRaws(r){delete this.raws.before,delete this.raws.after,r||delete this.raws.between}clone(r={}){let s=s1(this);for(let a in r)s[a]=r[a];return s}cloneAfter(r={}){let s=this.clone(r);return this.parent.insertAfter(this,s),s}cloneBefore(r={}){let s=this.clone(r);return this.parent.insertBefore(this,s),s}error(r,s={}){if(this.source){let{end:a,start:u}=this.rangeBy(s);return this.source.input.error(r,{column:u.column,line:u.line},{column:a.column,line:a.line},s)}return new VU(r)}getProxyProcessor(){return{get(r,s){return s==="proxyOf"?r:s==="root"?()=>r.root().toProxy():r[s]},set(r,s,a){return r[s]===a||(r[s]=a,(s==="prop"||s==="value"||s==="name"||s==="params"||s==="important"||s==="text")&&r.markDirty()),!0}}}markClean(){this[xd]=!0}markDirty(){if(this[xd]){this[xd]=!1;let r=this;for(;r=r.parent;)r[xd]=!1}}next(){if(!this.parent)return;let r=this.parent.index(this);return this.parent.nodes[r+1]}positionBy(r={}){let s=this.source.start;if(r.index)s=this.positionInside(r.index);else if(r.word){let a="document"in this.source.input?this.source.input.document:this.source.input.css,e=a.slice(xl(a,this.source.start),xl(a,this.source.end)).indexOf(r.word);e!==-1&&(s=this.positionInside(e))}return s}positionInside(r){let s=this.source.start.column,a=this.source.start.line,u="document"in this.source.input?this.source.input.document:this.source.input.css,e=xl(u,this.source.start),l=e+r;for(let n=e;n<l;n++)u[n]===`
|
|
`?(s=1,a+=1):s+=1;return{column:s,line:a,offset:l}}prev(){if(!this.parent)return;let r=this.parent.index(this);return this.parent.nodes[r-1]}rangeBy(r={}){let s="document"in this.source.input?this.source.input.document:this.source.input.css,a={column:this.source.start.column,line:this.source.start.line,offset:xl(s,this.source.start)},u=this.source.end?{column:this.source.end.column+1,line:this.source.end.line,offset:typeof this.source.end.offset=="number"?this.source.end.offset:xl(s,this.source.end)+1}:{column:a.column+1,line:a.line,offset:a.offset+1};if(r.word){let l=s.slice(xl(s,this.source.start),xl(s,this.source.end)).indexOf(r.word);l!==-1&&(a=this.positionInside(l),u=this.positionInside(l+r.word.length))}else r.start?a={column:r.start.column,line:r.start.line,offset:xl(s,r.start)}:r.index&&(a=this.positionInside(r.index)),r.end?u={column:r.end.column,line:r.end.line,offset:xl(s,r.end)}:typeof r.endIndex=="number"?u=this.positionInside(r.endIndex):r.index&&(u=this.positionInside(r.index+1));return(u.line<a.line||u.line===a.line&&u.column<=a.column)&&(u={column:a.column+1,line:a.line,offset:a.offset+1}),{end:u,start:a}}raw(r,s){return new qU().raw(this,r,s)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...r){if(this.parent){let s=this,a=!1;for(let u of r)u===this?a=!0:a?(this.parent.insertAfter(s,u),s=u):this.parent.insertBefore(s,u);a||this.remove()}return this}root(){let r=this;for(;r.parent&&r.parent.type!=="document";)r=r.parent;return r}toJSON(r,s){let a={},u=s==null;s=s||new Map;let e=0;for(let l in this){if(!Object.prototype.hasOwnProperty.call(this,l)||l==="parent"||l==="proxyCache")continue;let n=this[l];if(Array.isArray(n))a[l]=n.map(c=>typeof c=="object"&&c.toJSON?c.toJSON(null,s):c);else if(typeof n=="object"&&n.toJSON)a[l]=n.toJSON(null,s);else if(l==="source"){if(n==null)continue;let c=s.get(n.input);c==null&&(c=e,s.set(n.input,e),e++),a[l]={end:n.end,inputId:c,start:n.start}}else a[l]=n}return u&&(a.inputs=[...s.keys()].map(l=>l.toJSON())),a}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(r=WU){r.stringify&&(r=r.stringify);let s="";return r(this,a=>{s+=a}),s}warn(r,s,a={}){let u={node:this};for(let e in a)u[e]=a[e];return r.warn(s,u)}};HD.exports=Td;Td.default=Td});var wd=ct((jce,GD)=>{"use strict";var zU=Ed(),Sd=class extends zU{constructor(r){super(r),this.type="comment"}};GD.exports=Sd;Sd.default=Sd});var Ad=ct((Lce,JD)=>{"use strict";var HU=Ed(),_d=class extends HU{get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}constructor(r){r&&typeof r.value<"u"&&typeof r.value!="string"&&(r={...r,value:String(r.value)}),super(r),this.type="decl"}};JD.exports=_d;_d.default=_d});var Gl=ct((Rce,iI)=>{"use strict";var XD=wd(),YD=Ad(),GU=Ed(),{isClean:QD,my:ZD}=Sm(),a1,eI,tI,o1;function rI(t){return t.map(r=>(r.nodes&&(r.nodes=rI(r.nodes)),delete r.source,r))}function nI(t){if(t[QD]=!1,t.proxyOf.nodes)for(let r of t.proxyOf.nodes)nI(r)}var To=class t extends GU{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]}append(...r){for(let s of r){let a=this.normalize(s,this.last);for(let u of a)this.proxyOf.nodes.push(u)}return this.markDirty(),this}cleanRaws(r){if(super.cleanRaws(r),this.nodes)for(let s of this.nodes)s.cleanRaws(r)}each(r){if(!this.proxyOf.nodes)return;let s=this.getIterator(),a,u;for(;this.indexes[s]<this.proxyOf.nodes.length&&(a=this.indexes[s],u=r(this.proxyOf.nodes[a],a),u!==!1);)this.indexes[s]+=1;return delete this.indexes[s],u}every(r){return this.nodes.every(r)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let r=this.lastEach;return this.indexes[r]=0,r}getProxyProcessor(){return{get(r,s){return s==="proxyOf"?r:r[s]?s==="each"||typeof s=="string"&&s.startsWith("walk")?(...a)=>r[s](...a.map(u=>typeof u=="function"?(e,l)=>u(e.toProxy(),l):u)):s==="every"||s==="some"?a=>r[s]((u,...e)=>a(u.toProxy(),...e)):s==="root"?()=>r.root().toProxy():s==="nodes"?r.nodes.map(a=>a.toProxy()):s==="first"||s==="last"?r[s].toProxy():r[s]:r[s]},set(r,s,a){return r[s]===a||(r[s]=a,(s==="name"||s==="params"||s==="selector")&&r.markDirty()),!0}}}index(r){return typeof r=="number"?r:(r.proxyOf&&(r=r.proxyOf),this.proxyOf.nodes.indexOf(r))}insertAfter(r,s){let a=this.index(r),u=this.normalize(s,this.proxyOf.nodes[a]).reverse();a=this.index(r);for(let l of u)this.proxyOf.nodes.splice(a+1,0,l);let e;for(let l in this.indexes)e=this.indexes[l],a<e&&(this.indexes[l]=e+u.length);return this.markDirty(),this}insertBefore(r,s){let a=this.index(r),u=a===0?"prepend":!1,e=this.normalize(s,this.proxyOf.nodes[a],u).reverse();a=this.index(r);for(let n of e)this.proxyOf.nodes.splice(a,0,n);let l;for(let n in this.indexes)l=this.indexes[n],a<=l&&(this.indexes[n]=l+e.length);return this.markDirty(),this}normalize(r,s){if(typeof r=="string")r=rI(eI(r).nodes);else if(typeof r>"u")r=[];else if(Array.isArray(r)){r=r.slice(0);for(let u of r)u.parent&&u.parent.removeChild(u,"ignore")}else if(r.type==="root"&&this.type!=="document"){r=r.nodes.slice(0);for(let u of r)u.parent&&u.parent.removeChild(u,"ignore")}else if(r.type)r=[r];else if(r.prop){if(typeof r.value>"u")throw new Error("Value field is missed in node creation");typeof r.value!="string"&&(r.value=String(r.value)),r=[new YD(r)]}else if(r.selector||r.selectors)r=[new o1(r)];else if(r.name)r=[new a1(r)];else if(r.text)r=[new XD(r)];else throw new Error("Unknown node type in node creation");return r.map(u=>(u[ZD]||t.rebuild(u),u=u.proxyOf,u.parent&&u.parent.removeChild(u),u[QD]&&nI(u),u.raws||(u.raws={}),typeof u.raws.before>"u"&&s&&typeof s.raws.before<"u"&&(u.raws.before=s.raws.before.replace(/\S/g,"")),u.parent=this.proxyOf,u))}prepend(...r){r=r.reverse();for(let s of r){let a=this.normalize(s,this.first,"prepend").reverse();for(let u of a)this.proxyOf.nodes.unshift(u);for(let u in this.indexes)this.indexes[u]=this.indexes[u]+a.length}return this.markDirty(),this}push(r){return r.parent=this,this.proxyOf.nodes.push(r),this}removeAll(){for(let r of this.proxyOf.nodes)r.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(r){r=this.index(r),this.proxyOf.nodes[r].parent=void 0,this.proxyOf.nodes.splice(r,1);let s;for(let a in this.indexes)s=this.indexes[a],s>=r&&(this.indexes[a]=s-1);return this.markDirty(),this}replaceValues(r,s,a){return a||(a=s,s={}),this.walkDecls(u=>{s.props&&!s.props.includes(u.prop)||s.fast&&!u.value.includes(s.fast)||(u.value=u.value.replace(r,a))}),this.markDirty(),this}some(r){return this.nodes.some(r)}walk(r){return this.each((s,a)=>{let u;try{u=r(s,a)}catch(e){throw s.addToError(e)}return u!==!1&&s.walk&&(u=s.walk(r)),u})}walkAtRules(r,s){return s?r instanceof RegExp?this.walk((a,u)=>{if(a.type==="atrule"&&r.test(a.name))return s(a,u)}):this.walk((a,u)=>{if(a.type==="atrule"&&a.name===r)return s(a,u)}):(s=r,this.walk((a,u)=>{if(a.type==="atrule")return s(a,u)}))}walkComments(r){return this.walk((s,a)=>{if(s.type==="comment")return r(s,a)})}walkDecls(r,s){return s?r instanceof RegExp?this.walk((a,u)=>{if(a.type==="decl"&&r.test(a.prop))return s(a,u)}):this.walk((a,u)=>{if(a.type==="decl"&&a.prop===r)return s(a,u)}):(s=r,this.walk((a,u)=>{if(a.type==="decl")return s(a,u)}))}walkRules(r,s){return s?r instanceof RegExp?this.walk((a,u)=>{if(a.type==="rule"&&r.test(a.selector))return s(a,u)}):this.walk((a,u)=>{if(a.type==="rule"&&a.selector===r)return s(a,u)}):(s=r,this.walk((a,u)=>{if(a.type==="rule")return s(a,u)}))}};To.registerParse=t=>{eI=t};To.registerRule=t=>{o1=t};To.registerAtRule=t=>{a1=t};To.registerRoot=t=>{tI=t};iI.exports=To;To.default=To;To.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,a1.prototype):t.type==="rule"?Object.setPrototypeOf(t,o1.prototype):t.type==="decl"?Object.setPrototypeOf(t,YD.prototype):t.type==="comment"?Object.setPrototypeOf(t,XD.prototype):t.type==="root"&&Object.setPrototypeOf(t,tI.prototype),t[ZD]=!0,t.nodes&&t.nodes.forEach(r=>{To.rebuild(r)})}});var wm=ct((Mce,aI)=>{"use strict";var sI=Gl(),Wc=class extends sI{constructor(r){super(r),this.type="atrule"}append(...r){return this.proxyOf.nodes||(this.nodes=[]),super.append(...r)}prepend(...r){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...r)}};aI.exports=Wc;Wc.default=Wc;sI.registerAtRule(Wc)});var _m=ct((Bce,uI)=>{"use strict";var JU=Gl(),oI,lI,Lu=class extends JU{constructor(r){super({type:"document",...r}),this.nodes||(this.nodes=[])}toResult(r={}){return new oI(new lI,this,r).stringify()}};Lu.registerLazyResult=t=>{oI=t};Lu.registerProcessor=t=>{lI=t};uI.exports=Lu;Lu.default=Lu});var pI=ct((Uce,cI)=>{var XU="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",YU=(t,r=21)=>(s=r)=>{let a="",u=s|0;for(;u--;)a+=t[Math.random()*t.length|0];return a},QU=(t=21)=>{let r="",s=t|0;for(;s--;)r+=XU[Math.random()*64|0];return r};cI.exports={nanoid:QU,customAlphabet:YU}});var hI=ct(l1=>{var dI="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");l1.encode=function(t){if(0<=t&&t<dI.length)return dI[t];throw new TypeError("Must be between 0 and 63: "+t)};l1.decode=function(t){var r=65,s=90,a=97,u=122,e=48,l=57,n=43,c=47,p=26,i=52;return r<=t&&t<=s?t-r:a<=t&&t<=u?t-a+p:e<=t&&t<=l?t-e+i:t==n?62:t==c?63:-1}});var p1=ct(c1=>{var fI=hI(),u1=5,mI=1<<u1,yI=mI-1,bI=mI;function ZU(t){return t<0?(-t<<1)+1:(t<<1)+0}function e$(t){var r=(t&1)===1,s=t>>1;return r?-s:s}c1.encode=function(r){var s="",a,u=ZU(r);do a=u&yI,u>>>=u1,u>0&&(a|=bI),s+=fI.encode(a);while(u>0);return s};c1.decode=function(r,s,a){var u=r.length,e=0,l=0,n,c;do{if(s>=u)throw new Error("Expected more digits in base 64 VLQ value.");if(c=fI.decode(r.charCodeAt(s++)),c===-1)throw new Error("Invalid base64 digit: "+r.charAt(s-1));n=!!(c&bI),c&=yI,e=e+(c<<l),l+=u1}while(n);a.value=e$(e),a.rest=s}});var zc=ct(zs=>{function t$(t,r,s){if(r in t)return t[r];if(arguments.length===3)return s;throw new Error('"'+r+'" is a required argument.')}zs.getArg=t$;var gI=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r$=/^data:.+\,.+$/;function Pd(t){var r=t.match(gI);return r?{scheme:r[1],auth:r[2],host:r[3],port:r[4],path:r[5]}:null}zs.urlParse=Pd;function Kc(t){var r="";return t.scheme&&(r+=t.scheme+":"),r+="//",t.auth&&(r+=t.auth+"@"),t.host&&(r+=t.host),t.port&&(r+=":"+t.port),t.path&&(r+=t.path),r}zs.urlGenerate=Kc;var n$=32;function i$(t){var r=[];return function(s){for(var a=0;a<r.length;a++)if(r[a].input===s){var u=r[0];return r[0]=r[a],r[a]=u,r[0].result}var e=t(s);return r.unshift({input:s,result:e}),r.length>n$&&r.pop(),e}}var d1=i$(function(r){var s=r,a=Pd(r);if(a){if(!a.path)return r;s=a.path}for(var u=zs.isAbsolute(s),e=[],l=0,n=0;;)if(l=n,n=s.indexOf("/",l),n===-1){e.push(s.slice(l));break}else for(e.push(s.slice(l,n));n<s.length&&s[n]==="/";)n++;for(var c,p=0,n=e.length-1;n>=0;n--)c=e[n],c==="."?e.splice(n,1):c===".."?p++:p>0&&(c===""?(e.splice(n+1,p),p=0):(e.splice(n,2),p--));return s=e.join("/"),s===""&&(s=u?"/":"."),a?(a.path=s,Kc(a)):s});zs.normalize=d1;function vI(t,r){t===""&&(t="."),r===""&&(r=".");var s=Pd(r),a=Pd(t);if(a&&(t=a.path||"/"),s&&!s.scheme)return a&&(s.scheme=a.scheme),Kc(s);if(s||r.match(r$))return r;if(a&&!a.host&&!a.path)return a.host=r,Kc(a);var u=r.charAt(0)==="/"?r:d1(t.replace(/\/+$/,"")+"/"+r);return a?(a.path=u,Kc(a)):u}zs.join=vI;zs.isAbsolute=function(t){return t.charAt(0)==="/"||gI.test(t)};function s$(t,r){t===""&&(t="."),t=t.replace(/\/$/,"");for(var s=0;r.indexOf(t+"/")!==0;){var a=t.lastIndexOf("/");if(a<0||(t=t.slice(0,a),t.match(/^([^\/]+:\/)?\/*$/)))return r;++s}return Array(s+1).join("../")+r.substr(t.length+1)}zs.relative=s$;var xI=(function(){var t=Object.create(null);return!("__proto__"in t)})();function TI(t){return t}function a$(t){return EI(t)?"$"+t:t}zs.toSetString=xI?TI:a$;function o$(t){return EI(t)?t.slice(1):t}zs.fromSetString=xI?TI:o$;function EI(t){if(!t)return!1;var r=t.length;if(r<9||t.charCodeAt(r-1)!==95||t.charCodeAt(r-2)!==95||t.charCodeAt(r-3)!==111||t.charCodeAt(r-4)!==116||t.charCodeAt(r-5)!==111||t.charCodeAt(r-6)!==114||t.charCodeAt(r-7)!==112||t.charCodeAt(r-8)!==95||t.charCodeAt(r-9)!==95)return!1;for(var s=r-10;s>=0;s--)if(t.charCodeAt(s)!==36)return!1;return!0}function l$(t,r,s){var a=Tl(t.source,r.source);return a!==0||(a=t.originalLine-r.originalLine,a!==0)||(a=t.originalColumn-r.originalColumn,a!==0||s)||(a=t.generatedColumn-r.generatedColumn,a!==0)||(a=t.generatedLine-r.generatedLine,a!==0)?a:Tl(t.name,r.name)}zs.compareByOriginalPositions=l$;function u$(t,r,s){var a;return a=t.originalLine-r.originalLine,a!==0||(a=t.originalColumn-r.originalColumn,a!==0||s)||(a=t.generatedColumn-r.generatedColumn,a!==0)||(a=t.generatedLine-r.generatedLine,a!==0)?a:Tl(t.name,r.name)}zs.compareByOriginalPositionsNoSource=u$;function c$(t,r,s){var a=t.generatedLine-r.generatedLine;return a!==0||(a=t.generatedColumn-r.generatedColumn,a!==0||s)||(a=Tl(t.source,r.source),a!==0)||(a=t.originalLine-r.originalLine,a!==0)||(a=t.originalColumn-r.originalColumn,a!==0)?a:Tl(t.name,r.name)}zs.compareByGeneratedPositionsDeflated=c$;function p$(t,r,s){var a=t.generatedColumn-r.generatedColumn;return a!==0||s||(a=Tl(t.source,r.source),a!==0)||(a=t.originalLine-r.originalLine,a!==0)||(a=t.originalColumn-r.originalColumn,a!==0)?a:Tl(t.name,r.name)}zs.compareByGeneratedPositionsDeflatedNoLine=p$;function Tl(t,r){return t===r?0:t===null?1:r===null?-1:t>r?1:-1}function d$(t,r){var s=t.generatedLine-r.generatedLine;return s!==0||(s=t.generatedColumn-r.generatedColumn,s!==0)||(s=Tl(t.source,r.source),s!==0)||(s=t.originalLine-r.originalLine,s!==0)||(s=t.originalColumn-r.originalColumn,s!==0)?s:Tl(t.name,r.name)}zs.compareByGeneratedPositionsInflated=d$;function h$(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}zs.parseSourceMapInput=h$;function f$(t,r,s){if(r=r||"",t&&(t[t.length-1]!=="/"&&r[0]!=="/"&&(t+="/"),r=t+r),s){var a=Pd(s);if(!a)throw new Error("sourceMapURL could not be parsed");if(a.path){var u=a.path.lastIndexOf("/");u>=0&&(a.path=a.path.substring(0,u+1))}r=vI(Kc(a),r)}return d1(r)}zs.computeSourceURL=f$});var m1=ct(SI=>{var h1=zc(),f1=Object.prototype.hasOwnProperty,Ru=typeof Map<"u";function El(){this._array=[],this._set=Ru?new Map:Object.create(null)}El.fromArray=function(r,s){for(var a=new El,u=0,e=r.length;u<e;u++)a.add(r[u],s);return a};El.prototype.size=function(){return Ru?this._set.size:Object.getOwnPropertyNames(this._set).length};El.prototype.add=function(r,s){var a=Ru?r:h1.toSetString(r),u=Ru?this.has(r):f1.call(this._set,a),e=this._array.length;(!u||s)&&this._array.push(r),u||(Ru?this._set.set(r,e):this._set[a]=e)};El.prototype.has=function(r){if(Ru)return this._set.has(r);var s=h1.toSetString(r);return f1.call(this._set,s)};El.prototype.indexOf=function(r){if(Ru){var s=this._set.get(r);if(s>=0)return s}else{var a=h1.toSetString(r);if(f1.call(this._set,a))return this._set[a]}throw new Error('"'+r+'" is not in the set.')};El.prototype.at=function(r){if(r>=0&&r<this._array.length)return this._array[r];throw new Error("No element indexed by "+r)};El.prototype.toArray=function(){return this._array.slice()};SI.ArraySet=El});var AI=ct(_I=>{var wI=zc();function m$(t,r){var s=t.generatedLine,a=r.generatedLine,u=t.generatedColumn,e=r.generatedColumn;return a>s||a==s&&e>=u||wI.compareByGeneratedPositionsInflated(t,r)<=0}function Am(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Am.prototype.unsortedForEach=function(r,s){this._array.forEach(r,s)};Am.prototype.add=function(r){m$(this._last,r)?(this._last=r,this._array.push(r)):(this._sorted=!1,this._array.push(r))};Am.prototype.toArray=function(){return this._sorted||(this._array.sort(wI.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};_I.MappingList=Am});var y1=ct(PI=>{var Cd=p1(),ks=zc(),Pm=m1().ArraySet,y$=AI().MappingList;function ro(t){t||(t={}),this._file=ks.getArg(t,"file",null),this._sourceRoot=ks.getArg(t,"sourceRoot",null),this._skipValidation=ks.getArg(t,"skipValidation",!1),this._ignoreInvalidMapping=ks.getArg(t,"ignoreInvalidMapping",!1),this._sources=new Pm,this._names=new Pm,this._mappings=new y$,this._sourcesContents=null}ro.prototype._version=3;ro.fromSourceMap=function(r,s){var a=r.sourceRoot,u=new ro(Object.assign(s||{},{file:r.file,sourceRoot:a}));return r.eachMapping(function(e){var l={generated:{line:e.generatedLine,column:e.generatedColumn}};e.source!=null&&(l.source=e.source,a!=null&&(l.source=ks.relative(a,l.source)),l.original={line:e.originalLine,column:e.originalColumn},e.name!=null&&(l.name=e.name)),u.addMapping(l)}),r.sources.forEach(function(e){var l=e;a!==null&&(l=ks.relative(a,e)),u._sources.has(l)||u._sources.add(l);var n=r.sourceContentFor(e);n!=null&&u.setSourceContent(e,n)}),u};ro.prototype.addMapping=function(r){var s=ks.getArg(r,"generated"),a=ks.getArg(r,"original",null),u=ks.getArg(r,"source",null),e=ks.getArg(r,"name",null);!this._skipValidation&&this._validateMapping(s,a,u,e)===!1||(u!=null&&(u=String(u),this._sources.has(u)||this._sources.add(u)),e!=null&&(e=String(e),this._names.has(e)||this._names.add(e)),this._mappings.add({generatedLine:s.line,generatedColumn:s.column,originalLine:a!=null&&a.line,originalColumn:a!=null&&a.column,source:u,name:e}))};ro.prototype.setSourceContent=function(r,s){var a=r;this._sourceRoot!=null&&(a=ks.relative(this._sourceRoot,a)),s!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[ks.toSetString(a)]=s):this._sourcesContents&&(delete this._sourcesContents[ks.toSetString(a)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};ro.prototype.applySourceMap=function(r,s,a){var u=s;if(s==null){if(r.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);u=r.file}var e=this._sourceRoot;e!=null&&(u=ks.relative(e,u));var l=new Pm,n=new Pm;this._mappings.unsortedForEach(function(c){if(c.source===u&&c.originalLine!=null){var p=r.originalPositionFor({line:c.originalLine,column:c.originalColumn});p.source!=null&&(c.source=p.source,a!=null&&(c.source=ks.join(a,c.source)),e!=null&&(c.source=ks.relative(e,c.source)),c.originalLine=p.line,c.originalColumn=p.column,p.name!=null&&(c.name=p.name))}var i=c.source;i!=null&&!l.has(i)&&l.add(i);var o=c.name;o!=null&&!n.has(o)&&n.add(o)},this),this._sources=l,this._names=n,r.sources.forEach(function(c){var p=r.sourceContentFor(c);p!=null&&(a!=null&&(c=ks.join(a,c)),e!=null&&(c=ks.relative(e,c)),this.setSourceContent(c,p))},this)};ro.prototype._validateMapping=function(r,s,a,u){if(s&&typeof s.line!="number"&&typeof s.column!="number"){var e="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(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(e),!1;throw new Error(e)}if(!(r&&"line"in r&&"column"in r&&r.line>0&&r.column>=0&&!s&&!a&&!u)){if(r&&"line"in r&&"column"in r&&s&&"line"in s&&"column"in s&&r.line>0&&r.column>=0&&s.line>0&&s.column>=0&&a)return;var e="Invalid mapping: "+JSON.stringify({generated:r,source:a,original:s,name:u});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(e),!1;throw new Error(e)}};ro.prototype._serializeMappings=function(){for(var r=0,s=1,a=0,u=0,e=0,l=0,n="",c,p,i,o,h=this._mappings.toArray(),d=0,f=h.length;d<f;d++){if(p=h[d],c="",p.generatedLine!==s)for(r=0;p.generatedLine!==s;)c+=";",s++;else if(d>0){if(!ks.compareByGeneratedPositionsInflated(p,h[d-1]))continue;c+=","}c+=Cd.encode(p.generatedColumn-r),r=p.generatedColumn,p.source!=null&&(o=this._sources.indexOf(p.source),c+=Cd.encode(o-l),l=o,c+=Cd.encode(p.originalLine-1-u),u=p.originalLine-1,c+=Cd.encode(p.originalColumn-a),a=p.originalColumn,p.name!=null&&(i=this._names.indexOf(p.name),c+=Cd.encode(i-e),e=i)),n+=c}return n};ro.prototype._generateSourcesContent=function(r,s){return r.map(function(a){if(!this._sourcesContents)return null;s!=null&&(a=ks.relative(s,a));var u=ks.toSetString(a);return Object.prototype.hasOwnProperty.call(this._sourcesContents,u)?this._sourcesContents[u]:null},this)};ro.prototype.toJSON=function(){var r={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(r.file=this._file),this._sourceRoot!=null&&(r.sourceRoot=this._sourceRoot),this._sourcesContents&&(r.sourcesContent=this._generateSourcesContent(r.sources,r.sourceRoot)),r};ro.prototype.toString=function(){return JSON.stringify(this.toJSON())};PI.SourceMapGenerator=ro});var CI=ct(Mu=>{Mu.GREATEST_LOWER_BOUND=1;Mu.LEAST_UPPER_BOUND=2;function b1(t,r,s,a,u,e){var l=Math.floor((r-t)/2)+t,n=u(s,a[l],!0);return n===0?l:n>0?r-l>1?b1(l,r,s,a,u,e):e==Mu.LEAST_UPPER_BOUND?r<a.length?r:-1:l:l-t>1?b1(t,l,s,a,u,e):e==Mu.LEAST_UPPER_BOUND?l:t<0?-1:t}Mu.search=function(r,s,a,u){if(s.length===0)return-1;var e=b1(-1,s.length,r,s,a,u||Mu.GREATEST_LOWER_BOUND);if(e<0)return-1;for(;e-1>=0&&a(s[e],s[e-1],!0)===0;)--e;return e}});var II=ct(DI=>{function b$(t){function r(u,e,l){var n=u[e];u[e]=u[l],u[l]=n}function s(u,e){return Math.round(u+Math.random()*(e-u))}function a(u,e,l,n){if(l<n){var c=s(l,n),p=l-1;r(u,c,n);for(var i=u[n],o=l;o<n;o++)e(u[o],i,!1)<=0&&(p+=1,r(u,p,o));r(u,p+1,o);var h=p+1;a(u,e,l,h-1),a(u,e,h+1,n)}}return a}function g$(t){let r=b$.toString();return new Function(`return ${r}`)()(t)}var kI=new WeakMap;DI.quickSort=function(t,r,s=0){let a=kI.get(r);a===void 0&&(a=g$(r),kI.set(r,a)),a(t,r,s,t.length-1)}});var FI=ct(Cm=>{var bn=zc(),v1=CI(),Hc=m1().ArraySet,v$=p1(),kd=II().quickSort;function cs(t,r){var s=t;return typeof t=="string"&&(s=bn.parseSourceMapInput(t)),s.sections!=null?new Eo(s,r):new ra(s,r)}cs.fromSourceMap=function(t,r){return ra.fromSourceMap(t,r)};cs.prototype._version=3;cs.prototype.__generatedMappings=null;Object.defineProperty(cs.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});cs.prototype.__originalMappings=null;Object.defineProperty(cs.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});cs.prototype._charIsMappingSeparator=function(r,s){var a=r.charAt(s);return a===";"||a===","};cs.prototype._parseMappings=function(r,s){throw new Error("Subclasses must implement _parseMappings")};cs.GENERATED_ORDER=1;cs.ORIGINAL_ORDER=2;cs.GREATEST_LOWER_BOUND=1;cs.LEAST_UPPER_BOUND=2;cs.prototype.eachMapping=function(r,s,a){var u=s||null,e=a||cs.GENERATED_ORDER,l;switch(e){case cs.GENERATED_ORDER:l=this._generatedMappings;break;case cs.ORIGINAL_ORDER:l=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var n=this.sourceRoot,c=r.bind(u),p=this._names,i=this._sources,o=this._sourceMapURL,h=0,d=l.length;h<d;h++){var f=l[h],b=f.source===null?null:i.at(f.source);b!==null&&(b=bn.computeSourceURL(n,b,o)),c({source:b,generatedLine:f.generatedLine,generatedColumn:f.generatedColumn,originalLine:f.originalLine,originalColumn:f.originalColumn,name:f.name===null?null:p.at(f.name)})}};cs.prototype.allGeneratedPositionsFor=function(r){var s=bn.getArg(r,"line"),a={source:bn.getArg(r,"source"),originalLine:s,originalColumn:bn.getArg(r,"column",0)};if(a.source=this._findSourceIndex(a.source),a.source<0)return[];var u=[],e=this._findMapping(a,this._originalMappings,"originalLine","originalColumn",bn.compareByOriginalPositions,v1.LEAST_UPPER_BOUND);if(e>=0){var l=this._originalMappings[e];if(r.column===void 0)for(var n=l.originalLine;l&&l.originalLine===n;)u.push({line:bn.getArg(l,"generatedLine",null),column:bn.getArg(l,"generatedColumn",null),lastColumn:bn.getArg(l,"lastGeneratedColumn",null)}),l=this._originalMappings[++e];else for(var c=l.originalColumn;l&&l.originalLine===s&&l.originalColumn==c;)u.push({line:bn.getArg(l,"generatedLine",null),column:bn.getArg(l,"generatedColumn",null),lastColumn:bn.getArg(l,"lastGeneratedColumn",null)}),l=this._originalMappings[++e]}return u};Cm.SourceMapConsumer=cs;function ra(t,r){var s=t;typeof t=="string"&&(s=bn.parseSourceMapInput(t));var a=bn.getArg(s,"version"),u=bn.getArg(s,"sources"),e=bn.getArg(s,"names",[]),l=bn.getArg(s,"sourceRoot",null),n=bn.getArg(s,"sourcesContent",null),c=bn.getArg(s,"mappings"),p=bn.getArg(s,"file",null);if(a!=this._version)throw new Error("Unsupported version: "+a);l&&(l=bn.normalize(l)),u=u.map(String).map(bn.normalize).map(function(i){return l&&bn.isAbsolute(l)&&bn.isAbsolute(i)?bn.relative(l,i):i}),this._names=Hc.fromArray(e.map(String),!0),this._sources=Hc.fromArray(u,!0),this._absoluteSources=this._sources.toArray().map(function(i){return bn.computeSourceURL(l,i,r)}),this.sourceRoot=l,this.sourcesContent=n,this._mappings=c,this._sourceMapURL=r,this.file=p}ra.prototype=Object.create(cs.prototype);ra.prototype.consumer=cs;ra.prototype._findSourceIndex=function(t){var r=t;if(this.sourceRoot!=null&&(r=bn.relative(this.sourceRoot,r)),this._sources.has(r))return this._sources.indexOf(r);var s;for(s=0;s<this._absoluteSources.length;++s)if(this._absoluteSources[s]==t)return s;return-1};ra.fromSourceMap=function(r,s){var a=Object.create(ra.prototype),u=a._names=Hc.fromArray(r._names.toArray(),!0),e=a._sources=Hc.fromArray(r._sources.toArray(),!0);a.sourceRoot=r._sourceRoot,a.sourcesContent=r._generateSourcesContent(a._sources.toArray(),a.sourceRoot),a.file=r._file,a._sourceMapURL=s,a._absoluteSources=a._sources.toArray().map(function(d){return bn.computeSourceURL(a.sourceRoot,d,s)});for(var l=r._mappings.toArray().slice(),n=a.__generatedMappings=[],c=a.__originalMappings=[],p=0,i=l.length;p<i;p++){var o=l[p],h=new NI;h.generatedLine=o.generatedLine,h.generatedColumn=o.generatedColumn,o.source&&(h.source=e.indexOf(o.source),h.originalLine=o.originalLine,h.originalColumn=o.originalColumn,o.name&&(h.name=u.indexOf(o.name)),c.push(h)),n.push(h)}return kd(a.__originalMappings,bn.compareByOriginalPositions),a};ra.prototype._version=3;Object.defineProperty(ra.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function NI(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var g1=bn.compareByGeneratedPositionsDeflatedNoLine;function OI(t,r){let s=t.length,a=t.length-r;if(!(a<=1))if(a==2){let u=t[r],e=t[r+1];g1(u,e)>0&&(t[r]=e,t[r+1]=u)}else if(a<20)for(let u=r;u<s;u++)for(let e=u;e>r;e--){let l=t[e-1],n=t[e];if(g1(l,n)<=0)break;t[e-1]=n,t[e]=l}else kd(t,g1,r)}ra.prototype._parseMappings=function(r,s){var a=1,u=0,e=0,l=0,n=0,c=0,p=r.length,i=0,o={},h={},d=[],f=[],b,m,y,x,v;let E=0;for(;i<p;)if(r.charAt(i)===";")a++,i++,u=0,OI(f,E),E=f.length;else if(r.charAt(i)===",")i++;else{for(b=new NI,b.generatedLine=a,x=i;x<p&&!this._charIsMappingSeparator(r,x);x++);for(m=r.slice(i,x),y=[];i<x;)v$.decode(r,i,h),v=h.value,i=h.rest,y.push(v);if(y.length===2)throw new Error("Found a source, but no line and column");if(y.length===3)throw new Error("Found a source and line, but no column");if(b.generatedColumn=u+y[0],u=b.generatedColumn,y.length>1&&(b.source=n+y[1],n+=y[1],b.originalLine=e+y[2],e=b.originalLine,b.originalLine+=1,b.originalColumn=l+y[3],l=b.originalColumn,y.length>4&&(b.name=c+y[4],c+=y[4])),f.push(b),typeof b.originalLine=="number"){let _=b.source;for(;d.length<=_;)d.push(null);d[_]===null&&(d[_]=[]),d[_].push(b)}}OI(f,E),this.__generatedMappings=f;for(var S=0;S<d.length;S++)d[S]!=null&&kd(d[S],bn.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...d)};ra.prototype._findMapping=function(r,s,a,u,e,l){if(r[a]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+r[a]);if(r[u]<0)throw new TypeError("Column must be greater than or equal to 0, got "+r[u]);return v1.search(r,s,e,l)};ra.prototype.computeColumnSpans=function(){for(var r=0;r<this._generatedMappings.length;++r){var s=this._generatedMappings[r];if(r+1<this._generatedMappings.length){var a=this._generatedMappings[r+1];if(s.generatedLine===a.generatedLine){s.lastGeneratedColumn=a.generatedColumn-1;continue}}s.lastGeneratedColumn=1/0}};ra.prototype.originalPositionFor=function(r){var s={generatedLine:bn.getArg(r,"line"),generatedColumn:bn.getArg(r,"column")},a=this._findMapping(s,this._generatedMappings,"generatedLine","generatedColumn",bn.compareByGeneratedPositionsDeflated,bn.getArg(r,"bias",cs.GREATEST_LOWER_BOUND));if(a>=0){var u=this._generatedMappings[a];if(u.generatedLine===s.generatedLine){var e=bn.getArg(u,"source",null);e!==null&&(e=this._sources.at(e),e=bn.computeSourceURL(this.sourceRoot,e,this._sourceMapURL));var l=bn.getArg(u,"name",null);return l!==null&&(l=this._names.at(l)),{source:e,line:bn.getArg(u,"originalLine",null),column:bn.getArg(u,"originalColumn",null),name:l}}}return{source:null,line:null,column:null,name:null}};ra.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(r){return r==null}):!1};ra.prototype.sourceContentFor=function(r,s){if(!this.sourcesContent)return null;var a=this._findSourceIndex(r);if(a>=0)return this.sourcesContent[a];var u=r;this.sourceRoot!=null&&(u=bn.relative(this.sourceRoot,u));var e;if(this.sourceRoot!=null&&(e=bn.urlParse(this.sourceRoot))){var l=u.replace(/^file:\/\//,"");if(e.scheme=="file"&&this._sources.has(l))return this.sourcesContent[this._sources.indexOf(l)];if((!e.path||e.path=="/")&&this._sources.has("/"+u))return this.sourcesContent[this._sources.indexOf("/"+u)]}if(s)return null;throw new Error('"'+u+'" is not in the SourceMap.')};ra.prototype.generatedPositionFor=function(r){var s=bn.getArg(r,"source");if(s=this._findSourceIndex(s),s<0)return{line:null,column:null,lastColumn:null};var a={source:s,originalLine:bn.getArg(r,"line"),originalColumn:bn.getArg(r,"column")},u=this._findMapping(a,this._originalMappings,"originalLine","originalColumn",bn.compareByOriginalPositions,bn.getArg(r,"bias",cs.GREATEST_LOWER_BOUND));if(u>=0){var e=this._originalMappings[u];if(e.source===a.source)return{line:bn.getArg(e,"generatedLine",null),column:bn.getArg(e,"generatedColumn",null),lastColumn:bn.getArg(e,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};Cm.BasicSourceMapConsumer=ra;function Eo(t,r){var s=t;typeof t=="string"&&(s=bn.parseSourceMapInput(t));var a=bn.getArg(s,"version"),u=bn.getArg(s,"sections");if(a!=this._version)throw new Error("Unsupported version: "+a);this._sources=new Hc,this._names=new Hc;var e={line:-1,column:0};this._sections=u.map(function(l){if(l.url)throw new Error("Support for url field in sections not implemented.");var n=bn.getArg(l,"offset"),c=bn.getArg(n,"line"),p=bn.getArg(n,"column");if(c<e.line||c===e.line&&p<e.column)throw new Error("Section offsets must be ordered and non-overlapping.");return e=n,{generatedOffset:{generatedLine:c+1,generatedColumn:p+1},consumer:new cs(bn.getArg(l,"map"),r)}})}Eo.prototype=Object.create(cs.prototype);Eo.prototype.constructor=cs;Eo.prototype._version=3;Object.defineProperty(Eo.prototype,"sources",{get:function(){for(var t=[],r=0;r<this._sections.length;r++)for(var s=0;s<this._sections[r].consumer.sources.length;s++)t.push(this._sections[r].consumer.sources[s]);return t}});Eo.prototype.originalPositionFor=function(r){var s={generatedLine:bn.getArg(r,"line"),generatedColumn:bn.getArg(r,"column")},a=v1.search(s,this._sections,function(e,l){var n=e.generatedLine-l.generatedOffset.generatedLine;return n||e.generatedColumn-l.generatedOffset.generatedColumn}),u=this._sections[a];return u?u.consumer.originalPositionFor({line:s.generatedLine-(u.generatedOffset.generatedLine-1),column:s.generatedColumn-(u.generatedOffset.generatedLine===s.generatedLine?u.generatedOffset.generatedColumn-1:0),bias:r.bias}):{source:null,line:null,column:null,name:null}};Eo.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(r){return r.consumer.hasContentsOfAllSources()})};Eo.prototype.sourceContentFor=function(r,s){for(var a=0;a<this._sections.length;a++){var u=this._sections[a],e=u.consumer.sourceContentFor(r,!0);if(e||e==="")return e}if(s)return null;throw new Error('"'+r+'" is not in the SourceMap.')};Eo.prototype.generatedPositionFor=function(r){for(var s=0;s<this._sections.length;s++){var a=this._sections[s];if(a.consumer._findSourceIndex(bn.getArg(r,"source"))!==-1){var u=a.consumer.generatedPositionFor(r);if(u){var e={line:u.line+(a.generatedOffset.generatedLine-1),column:u.column+(a.generatedOffset.generatedLine===u.line?a.generatedOffset.generatedColumn-1:0)};return e}}}return{line:null,column:null}};Eo.prototype._parseMappings=function(r,s){this.__generatedMappings=[],this.__originalMappings=[];for(var a=0;a<this._sections.length;a++)for(var u=this._sections[a],e=u.consumer._generatedMappings,l=0;l<e.length;l++){var n=e[l],c=u.consumer._sources.at(n.source);c!==null&&(c=bn.computeSourceURL(u.consumer.sourceRoot,c,this._sourceMapURL)),this._sources.add(c),c=this._sources.indexOf(c);var p=null;n.name&&(p=u.consumer._names.at(n.name),this._names.add(p),p=this._names.indexOf(p));var i={source:c,generatedLine:n.generatedLine+(u.generatedOffset.generatedLine-1),generatedColumn:n.generatedColumn+(u.generatedOffset.generatedLine===n.generatedLine?u.generatedOffset.generatedColumn-1:0),originalLine:n.originalLine,originalColumn:n.originalColumn,name:p};this.__generatedMappings.push(i),typeof i.originalLine=="number"&&this.__originalMappings.push(i)}kd(this.__generatedMappings,bn.compareByGeneratedPositionsDeflated),kd(this.__originalMappings,bn.compareByOriginalPositions)};Cm.IndexedSourceMapConsumer=Eo});var LI=ct(jI=>{var x$=y1().SourceMapGenerator,km=zc(),T$=/(\r?\n)/,E$=10,Gc="$$$isSourceNode$$$";function Ba(t,r,s,a,u){this.children=[],this.sourceContents={},this.line=t??null,this.column=r??null,this.source=s??null,this.name=u??null,this[Gc]=!0,a!=null&&this.add(a)}Ba.fromStringWithSourceMap=function(r,s,a){var u=new Ba,e=r.split(T$),l=0,n=function(){var h=f(),d=f()||"";return h+d;function f(){return l<e.length?e[l++]:void 0}},c=1,p=0,i=null;return s.eachMapping(function(h){if(i!==null)if(c<h.generatedLine)o(i,n()),c++,p=0;else{var d=e[l]||"",f=d.substr(0,h.generatedColumn-p);e[l]=d.substr(h.generatedColumn-p),p=h.generatedColumn,o(i,f),i=h;return}for(;c<h.generatedLine;)u.add(n()),c++;if(p<h.generatedColumn){var d=e[l]||"";u.add(d.substr(0,h.generatedColumn)),e[l]=d.substr(h.generatedColumn),p=h.generatedColumn}i=h},this),l<e.length&&(i&&o(i,n()),u.add(e.splice(l).join(""))),s.sources.forEach(function(h){var d=s.sourceContentFor(h);d!=null&&(a!=null&&(h=km.join(a,h)),u.setSourceContent(h,d))}),u;function o(h,d){if(h===null||h.source===void 0)u.add(d);else{var f=a?km.join(a,h.source):h.source;u.add(new Ba(h.originalLine,h.originalColumn,f,d,h.name))}}};Ba.prototype.add=function(r){if(Array.isArray(r))r.forEach(function(s){this.add(s)},this);else if(r[Gc]||typeof r=="string")r&&this.children.push(r);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+r);return this};Ba.prototype.prepend=function(r){if(Array.isArray(r))for(var s=r.length-1;s>=0;s--)this.prepend(r[s]);else if(r[Gc]||typeof r=="string")this.children.unshift(r);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+r);return this};Ba.prototype.walk=function(r){for(var s,a=0,u=this.children.length;a<u;a++)s=this.children[a],s[Gc]?s.walk(r):s!==""&&r(s,{source:this.source,line:this.line,column:this.column,name:this.name})};Ba.prototype.join=function(r){var s,a,u=this.children.length;if(u>0){for(s=[],a=0;a<u-1;a++)s.push(this.children[a]),s.push(r);s.push(this.children[a]),this.children=s}return this};Ba.prototype.replaceRight=function(r,s){var a=this.children[this.children.length-1];return a[Gc]?a.replaceRight(r,s):typeof a=="string"?this.children[this.children.length-1]=a.replace(r,s):this.children.push("".replace(r,s)),this};Ba.prototype.setSourceContent=function(r,s){this.sourceContents[km.toSetString(r)]=s};Ba.prototype.walkSourceContents=function(r){for(var s=0,a=this.children.length;s<a;s++)this.children[s][Gc]&&this.children[s].walkSourceContents(r);for(var u=Object.keys(this.sourceContents),s=0,a=u.length;s<a;s++)r(km.fromSetString(u[s]),this.sourceContents[u[s]])};Ba.prototype.toString=function(){var r="";return this.walk(function(s){r+=s}),r};Ba.prototype.toStringWithSourceMap=function(r){var s={code:"",line:1,column:0},a=new x$(r),u=!1,e=null,l=null,n=null,c=null;return this.walk(function(p,i){s.code+=p,i.source!==null&&i.line!==null&&i.column!==null?((e!==i.source||l!==i.line||n!==i.column||c!==i.name)&&a.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:s.line,column:s.column},name:i.name}),e=i.source,l=i.line,n=i.column,c=i.name,u=!0):u&&(a.addMapping({generated:{line:s.line,column:s.column}}),e=null,u=!1);for(var o=0,h=p.length;o<h;o++)p.charCodeAt(o)===E$?(s.line++,s.column=0,o+1===h?(e=null,u=!1):u&&a.addMapping({source:i.source,original:{line:i.line,column:i.column},generated:{line:s.line,column:s.column},name:i.name})):s.column++}),this.walkSourceContents(function(p,i){a.setSourceContent(p,i)}),{code:s.code,map:a}};jI.SourceNode=Ba});var Im=ct(Dm=>{Dm.SourceMapGenerator=y1().SourceMapGenerator;Dm.SourceMapConsumer=FI().SourceMapConsumer;Dm.SourceNode=LI().SourceNode});var T1=ct((Qce,BI)=>{"use strict";var{existsSync:S$,readFileSync:w$}=hr("fs"),{dirname:x1,join:_$}=hr("path"),{SourceMapConsumer:RI,SourceMapGenerator:MI}=Im();function A$(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}var Dd=class{constructor(r,s){if(s.map===!1)return;this.loadAnnotation(r),this.inline=this.startWith(this.annotation,"data:");let a=s.map?s.map.prev:void 0,u=this.loadMap(s.from,a);!this.mapFile&&s.from&&(this.mapFile=s.from),this.mapFile&&(this.root=x1(this.mapFile)),u&&(this.text=u)}consumer(){return this.consumerCache||(this.consumerCache=new RI(this.text)),this.consumerCache}decodeInline(r){let s=/^data:application\/json;charset=utf-?8;base64,/,a=/^data:application\/json;base64,/,u=/^data:application\/json;charset=utf-?8,/,e=/^data:application\/json,/,l=r.match(u)||r.match(e);if(l)return decodeURIComponent(r.substr(l[0].length));let n=r.match(s)||r.match(a);if(n)return A$(r.substr(n[0].length));let c=r.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+c)}getAnnotationURL(r){return r.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(r){return typeof r!="object"?!1:typeof r.mappings=="string"||typeof r._mappings=="string"||Array.isArray(r.sections)}loadAnnotation(r){let s=r.match(/\/\*\s*# sourceMappingURL=/g);if(!s)return;let a=r.lastIndexOf(s.pop()),u=r.indexOf("*/",a);a>-1&&u>-1&&(this.annotation=this.getAnnotationURL(r.substring(a,u)))}loadFile(r){if(this.root=x1(r),S$(r))return this.mapFile=r,w$(r,"utf-8").toString().trim()}loadMap(r,s){if(s===!1)return!1;if(s){if(typeof s=="string")return s;if(typeof s=="function"){let a=s(r);if(a){let u=this.loadFile(a);if(!u)throw new Error("Unable to load previous source map: "+a.toString());return u}}else{if(s instanceof RI)return MI.fromSourceMap(s).toString();if(s instanceof MI)return s.toString();if(this.isMap(s))return JSON.stringify(s);throw new Error("Unsupported previous source map format: "+s.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let a=this.annotation;return r&&(a=_$(x1(r),a)),this.loadFile(a)}}}startWith(r,s){return r?r.substr(0,s.length)===s:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};BI.exports=Dd;Dd.default=Dd});var Id=ct((Zce,WI)=>{"use strict";var{nanoid:P$}=pI(),{isAbsolute:w1,resolve:_1}=hr("path"),{SourceMapConsumer:C$,SourceMapGenerator:k$}=Im(),{fileURLToPath:UI,pathToFileURL:Om}=hr("url"),$I=Em(),D$=T1(),E1=t1(),S1=Symbol("lineToIndexCache"),I$=!!(C$&&k$),VI=!!(_1&&w1);function qI(t){if(t[S1])return t[S1];let r=t.css.split(`
|
|
`),s=new Array(r.length),a=0;for(let u=0,e=r.length;u<e;u++)s[u]=a,a+=r[u].length+1;return t[S1]=s,s}var Jc=class{get from(){return this.file||this.id}constructor(r,s={}){if(r===null||typeof r>"u"||typeof r=="object"&&!r.toString)throw new Error(`PostCSS received ${r} instead of CSS string`);if(this.css=r.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,s.document&&(this.document=s.document.toString()),s.from&&(!VI||/^\w+:\/\//.test(s.from)||w1(s.from)?this.file=s.from:this.file=_1(s.from)),VI&&I$){let a=new D$(this.css,s);if(a.text){this.map=a;let u=a.consumer().file;!this.file&&u&&(this.file=this.mapResolve(u))}}this.file||(this.id="<input css "+P$(6)+">"),this.map&&(this.map.file=this.from)}error(r,s,a,u={}){let e,l,n,c,p;if(s&&typeof s=="object"){let o=s,h=a;if(typeof o.offset=="number"){c=o.offset;let d=this.fromOffset(c);s=d.line,a=d.col}else s=o.line,a=o.column,c=this.fromLineAndColumn(s,a);if(typeof h.offset=="number"){n=h.offset;let d=this.fromOffset(n);l=d.line,e=d.col}else l=h.line,e=h.column,n=this.fromLineAndColumn(h.line,h.column)}else if(a)c=this.fromLineAndColumn(s,a);else{c=s;let o=this.fromOffset(c);s=o.line,a=o.col}let i=this.origin(s,a,l,e);return i?p=new $I(r,i.endLine===void 0?i.line:{column:i.column,line:i.line},i.endLine===void 0?i.column:{column:i.endColumn,line:i.endLine},i.source,i.file,u.plugin):p=new $I(r,l===void 0?s:{column:a,line:s},l===void 0?a:{column:e,line:l},this.css,this.file,u.plugin),p.input={column:a,endColumn:e,endLine:l,endOffset:n,line:s,offset:c,source:this.css},this.file&&(Om&&(p.input.url=Om(this.file).toString()),p.input.file=this.file),p}fromLineAndColumn(r,s){return qI(this)[r-1]+s-1}fromOffset(r){let s=qI(this),a=s[s.length-1],u=0;if(r>=a)u=s.length-1;else{let e=s.length-2,l;for(;u<e;)if(l=u+(e-u>>1),r<s[l])e=l-1;else if(r>=s[l+1])u=l+1;else{u=l;break}}return{col:r-s[u]+1,line:u+1}}mapResolve(r){return/^\w+:\/\//.test(r)?r:_1(this.map.consumer().sourceRoot||this.map.root||".",r)}origin(r,s,a,u){if(!this.map)return!1;let e=this.map.consumer(),l=e.originalPositionFor({column:s,line:r});if(!l.source)return!1;let n;typeof a=="number"&&(n=e.originalPositionFor({column:u,line:a}));let c;w1(l.source)?c=Om(l.source):c=new URL(l.source,this.map.consumer().sourceRoot||Om(this.map.mapFile));let p={column:l.column,endColumn:n&&n.column,endLine:n&&n.line,line:l.line,url:c.toString()};if(c.protocol==="file:")if(UI)p.file=UI(c);else throw new Error("file: protocol is not available in this PostCSS build");let i=e.sourceContentFor(l.source);return i&&(p.source=i),p}toJSON(){let r={};for(let s of["hasBOM","css","file","id"])this[s]!=null&&(r[s]=this[s]);return this.map&&(r.map={...this.map},r.map.consumerCache&&(r.map.consumerCache=void 0)),r}};WI.exports=Jc;Jc.default=Jc;E1&&E1.registerInput&&E1.registerInput(Jc)});var Xc=ct((epe,GI)=>{"use strict";var KI=Gl(),zI,HI,Jl=class extends KI{constructor(r){super(r),this.type="root",this.nodes||(this.nodes=[])}normalize(r,s,a){let u=super.normalize(r);if(s){if(a==="prepend")this.nodes.length>1?s.raws.before=this.nodes[1].raws.before:delete s.raws.before;else if(this.first!==s)for(let e of u)e.raws.before=s.raws.before}return u}removeChild(r,s){let a=this.index(r);return!s&&a===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[a].raws.before),super.removeChild(r)}toResult(r={}){return new zI(new HI,this,r).stringify()}};Jl.registerLazyResult=t=>{zI=t};Jl.registerProcessor=t=>{HI=t};GI.exports=Jl;Jl.default=Jl;KI.registerRoot(Jl)});var A1=ct((tpe,JI)=>{"use strict";var Od={comma(t){return Od.split(t,[","],!0)},space(t){let r=[" ",`
|
|
`," "];return Od.split(t,r)},split(t,r,s){let a=[],u="",e=!1,l=0,n=!1,c="",p=!1;for(let i of t)p?p=!1:i==="\\"?p=!0:n?i===c&&(n=!1):i==='"'||i==="'"?(n=!0,c=i):i==="("?l+=1:i===")"?l>0&&(l-=1):l===0&&r.includes(i)&&(e=!0),e?(u!==""&&a.push(u.trim()),u="",e=!1):u+=i;return(s||u!=="")&&a.push(u.trim()),a}};JI.exports=Od;Od.default=Od});var Nm=ct((rpe,YI)=>{"use strict";var XI=Gl(),O$=A1(),Yc=class extends XI{get selectors(){return O$.comma(this.selector)}set selectors(r){let s=this.selector?this.selector.match(/,\s*/):null,a=s?s[0]:","+this.raw("between","beforeOpen");this.selector=r.join(a)}constructor(r){super(r),this.type="rule",this.nodes||(this.nodes=[])}};YI.exports=Yc;Yc.default=Yc;XI.registerRule(Yc)});var ZI=ct((npe,QI)=>{"use strict";var N$=wm(),F$=wd(),j$=Ad(),L$=Id(),R$=T1(),M$=Xc(),B$=Nm();function Nd(t,r){if(Array.isArray(t))return t.map(u=>Nd(u));let{inputs:s,...a}=t;if(s){r=[];for(let u of s){let e={...u,__proto__:L$.prototype};e.map&&(e.map={...e.map,__proto__:R$.prototype}),r.push(e)}}if(a.nodes&&(a.nodes=t.nodes.map(u=>Nd(u,r))),a.source){let{inputId:u,...e}=a.source;a.source=e,u!=null&&(a.source.input=r[u])}if(a.type==="root")return new M$(a);if(a.type==="decl")return new j$(a);if(a.type==="rule")return new B$(a);if(a.type==="comment")return new F$(a);if(a.type==="atrule")return new N$(a);throw new Error("Unknown node type: "+t.type)}QI.exports=Nd;Nd.default=Nd});var C1=ct((ipe,s2)=>{"use strict";var{dirname:Fm,relative:t2,resolve:r2,sep:n2}=hr("path"),{SourceMapConsumer:i2,SourceMapGenerator:jm}=Im(),{pathToFileURL:e2}=hr("url"),U$=Id(),$$=!!(i2&&jm),V$=!!(Fm&&r2&&t2&&n2),P1=class{constructor(r,s,a,u){this.stringify=r,this.mapOpts=a.map||{},this.root=s,this.opts=a,this.css=u,this.originalCSS=u,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let r;this.isInline()?r="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?r=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?r=this.mapOpts.annotation(this.opts.to,this.root):r=this.outputFile()+".map";let s=`
|
|
`;this.css.includes(`\r
|
|
`)&&(s=`\r
|
|
`),this.css+=s+"/*# sourceMappingURL="+r+" */"}applyPrevMaps(){for(let r of this.previous()){let s=this.toUrl(this.path(r.file)),a=r.root||Fm(r.file),u;this.mapOpts.sourcesContent===!1?(u=new i2(r.text),u.sourcesContent&&(u.sourcesContent=null)):u=r.consumer(),this.map.applySourceMap(u,s,this.toUrl(this.path(a)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let r;for(let s=this.root.nodes.length-1;s>=0;s--)r=this.root.nodes[s],r.type==="comment"&&r.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(s)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),V$&&$$&&this.isMap())return this.generateMap();{let r="";return this.stringify(this.root,s=>{r+=s}),[r]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let r=this.previous()[0].consumer();r.file=this.outputFile(),this.map=jm.fromSourceMap(r,{ignoreInvalidMapping:!0})}else this.map=new jm({file:this.outputFile(),ignoreInvalidMapping:!0}),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 jm({file:this.outputFile(),ignoreInvalidMapping:!0});let r=1,s=1,a="<no source>",u={generated:{column:0,line:0},original:{column:0,line:0},source:""},e,l;this.stringify(this.root,(n,c,p)=>{if(this.css+=n,c&&p!=="end"&&(u.generated.line=r,u.generated.column=s-1,c.source&&c.source.start?(u.source=this.sourcePath(c),u.original.line=c.source.start.line,u.original.column=c.source.start.column-1,this.map.addMapping(u)):(u.source=a,u.original.line=1,u.original.column=0,this.map.addMapping(u))),l=n.match(/\n/g),l?(r+=l.length,e=n.lastIndexOf(`
|
|
`),s=n.length-e):s+=n.length,c&&p!=="start"){let i=c.parent||{raws:{}};(!(c.type==="decl"||c.type==="atrule"&&!c.nodes)||c!==i.last||i.raws.semicolon)&&(c.source&&c.source.end?(u.source=this.sourcePath(c),u.original.line=c.source.end.line,u.original.column=c.source.end.column-1,u.generated.line=r,u.generated.column=s-2,this.map.addMapping(u)):(u.source=a,u.original.line=1,u.original.column=0,u.generated.line=r,u.generated.column=s-1,this.map.addMapping(u)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(r=>r.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let r=this.mapOpts.annotation;return typeof r<"u"&&r!==!0?!1:this.previous().length?this.previous().some(s=>s.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(r=>r.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(r){if(this.mapOpts.absolute||r.charCodeAt(0)===60||/^\w+:\/\//.test(r))return r;let s=this.memoizedPaths.get(r);if(s)return s;let a=this.opts.to?Fm(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(a=Fm(r2(a,this.mapOpts.annotation)));let u=t2(a,r);return this.memoizedPaths.set(r,u),u}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(r=>{if(r.source&&r.source.input.map){let s=r.source.input.map;this.previousMaps.includes(s)||this.previousMaps.push(s)}});else{let r=new U$(this.originalCSS,this.opts);r.map&&this.previousMaps.push(r.map)}return this.previousMaps}setSourcesContent(){let r={};if(this.root)this.root.walk(s=>{if(s.source){let a=s.source.input.from;if(a&&!r[a]){r[a]=!0;let u=this.usesFileUrls?this.toFileUrl(a):this.toUrl(this.path(a));this.map.setSourceContent(u,s.source.input.css)}}});else if(this.css){let s=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(s,this.css)}}sourcePath(r){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(r.source.input.from):this.toUrl(this.path(r.source.input.from))}toBase64(r){return Buffer?Buffer.from(r).toString("base64"):window.btoa(unescape(encodeURIComponent(r)))}toFileUrl(r){let s=this.memoizedFileURLs.get(r);if(s)return s;if(e2){let a=e2(r).toString();return this.memoizedFileURLs.set(r,a),a}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(r){let s=this.memoizedURLs.get(r);if(s)return s;n2==="\\"&&(r=r.replace(/\\/g,"/"));let a=encodeURI(r).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(r,a),a}};s2.exports=P1});var u2=ct((spe,l2)=>{"use strict";var q$=wm(),W$=wd(),K$=Ad(),z$=Xc(),a2=Nm(),H$=e1(),o2={empty:!0,space:!0};function G$(t){for(let r=t.length-1;r>=0;r--){let s=t[r],a=s[3]||s[2];if(a)return a}}var k1=class{constructor(r){this.input=r,this.root=new z$,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:r,start:{column:1,line:1,offset:0}}}atrule(r){let s=new q$;s.name=r[1].slice(1),s.name===""&&this.unnamedAtrule(s,r),this.init(s,r[2]);let a,u,e,l=!1,n=!1,c=[],p=[];for(;!this.tokenizer.endOfFile();){if(r=this.tokenizer.nextToken(),a=r[0],a==="("||a==="["?p.push(a==="("?")":"]"):a==="{"&&p.length>0?p.push("}"):a===p[p.length-1]&&p.pop(),p.length===0)if(a===";"){s.source.end=this.getPosition(r[2]),s.source.end.offset++,this.semicolon=!0;break}else if(a==="{"){n=!0;break}else if(a==="}"){if(c.length>0){for(e=c.length-1,u=c[e];u&&u[0]==="space";)u=c[--e];u&&(s.source.end=this.getPosition(u[3]||u[2]),s.source.end.offset++)}this.end(r);break}else c.push(r);else c.push(r);if(this.tokenizer.endOfFile()){l=!0;break}}s.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(s.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(s,"params",c),l&&(r=c[c.length-1],s.source.end=this.getPosition(r[3]||r[2]),s.source.end.offset++,this.spaces=s.raws.between,s.raws.between="")):(s.raws.afterName="",s.params=""),n&&(s.nodes=[],this.current=s)}checkMissedSemicolon(r){let s=this.colon(r);if(s===!1)return;let a=0,u;for(let e=s-1;e>=0&&(u=r[e],!(u[0]!=="space"&&(a+=1,a===2)));e--);throw this.input.error("Missed semicolon",u[0]==="word"?u[3]+1:u[2])}colon(r){let s=0,a,u,e;for(let[l,n]of r.entries()){if(u=n,e=u[0],e==="("&&(s+=1),e===")"&&(s-=1),s===0&&e===":")if(!a)this.doubleColon(u);else{if(a[0]==="word"&&a[1]==="progid")continue;return l}a=u}return!1}comment(r){let s=new W$;this.init(s,r[2]),s.source.end=this.getPosition(r[3]||r[2]),s.source.end.offset++;let a=r[1].slice(2,-2);if(/^\s*$/.test(a))s.text="",s.raws.left=a,s.raws.right="";else{let u=a.match(/^(\s*)([^]*\S)(\s*)$/);s.text=u[2],s.raws.left=u[1],s.raws.right=u[3]}}createTokenizer(){this.tokenizer=H$(this.input)}decl(r,s){let a=new K$;this.init(a,r[0][2]);let u=r[r.length-1];for(u[0]===";"&&(this.semicolon=!0,r.pop()),a.source.end=this.getPosition(u[3]||u[2]||G$(r)),a.source.end.offset++;r[0][0]!=="word";)r.length===1&&this.unknownWord(r),a.raws.before+=r.shift()[1];for(a.source.start=this.getPosition(r[0][2]),a.prop="";r.length;){let p=r[0][0];if(p===":"||p==="space"||p==="comment")break;a.prop+=r.shift()[1]}a.raws.between="";let e;for(;r.length;)if(e=r.shift(),e[0]===":"){a.raws.between+=e[1];break}else e[0]==="word"&&/\w/.test(e[1])&&this.unknownWord([e]),a.raws.between+=e[1];(a.prop[0]==="_"||a.prop[0]==="*")&&(a.raws.before+=a.prop[0],a.prop=a.prop.slice(1));let l=[],n;for(;r.length&&(n=r[0][0],!(n!=="space"&&n!=="comment"));)l.push(r.shift());this.precheckMissedSemicolon(r);for(let p=r.length-1;p>=0;p--){if(e=r[p],e[1].toLowerCase()==="!important"){a.important=!0;let i=this.stringFrom(r,p);i=this.spacesFromEnd(r)+i,i!==" !important"&&(a.raws.important=i);break}else if(e[1].toLowerCase()==="important"){let i=r.slice(0),o="";for(let h=p;h>0;h--){let d=i[h][0];if(o.trim().startsWith("!")&&d!=="space")break;o=i.pop()[1]+o}o.trim().startsWith("!")&&(a.important=!0,a.raws.important=o,r=i)}if(e[0]!=="space"&&e[0]!=="comment")break}r.some(p=>p[0]!=="space"&&p[0]!=="comment")&&(a.raws.between+=l.map(p=>p[1]).join(""),l=[]),this.raw(a,"value",l.concat(r),s),a.value.includes(":")&&!s&&this.checkMissedSemicolon(r)}doubleColon(r){throw this.input.error("Double colon",{offset:r[2]},{offset:r[2]+r[1].length})}emptyRule(r){let s=new a2;this.init(s,r[2]),s.selector="",s.raws.between="",this.current=s}end(r){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(r[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(r)}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(r){if(this.spaces+=r[1],this.current.nodes){let s=this.current.nodes[this.current.nodes.length-1];s&&s.type==="rule"&&!s.raws.ownSemicolon&&(s.raws.ownSemicolon=this.spaces,this.spaces="",s.source.end=this.getPosition(r[2]),s.source.end.offset+=s.raws.ownSemicolon.length)}}getPosition(r){let s=this.input.fromOffset(r);return{column:s.col,line:s.line,offset:r}}init(r,s){this.current.push(r),r.source={input:this.input,start:this.getPosition(s)},r.raws.before=this.spaces,this.spaces="",r.type!=="comment"&&(this.semicolon=!1)}other(r){let s=!1,a=null,u=!1,e=null,l=[],n=r[1].startsWith("--"),c=[],p=r;for(;p;){if(a=p[0],c.push(p),a==="("||a==="[")e||(e=p),l.push(a==="("?")":"]");else if(n&&u&&a==="{")e||(e=p),l.push("}");else if(l.length===0)if(a===";")if(u){this.decl(c,n);return}else break;else if(a==="{"){this.rule(c);return}else if(a==="}"){this.tokenizer.back(c.pop()),s=!0;break}else a===":"&&(u=!0);else a===l[l.length-1]&&(l.pop(),l.length===0&&(e=null));p=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(s=!0),l.length>0&&this.unclosedBracket(e),s&&u){if(!n)for(;c.length&&(p=c[c.length-1][0],!(p!=="space"&&p!=="comment"));)this.tokenizer.back(c.pop());this.decl(c,n)}else this.unknownWord(c)}parse(){let r;for(;!this.tokenizer.endOfFile();)switch(r=this.tokenizer.nextToken(),r[0]){case"space":this.spaces+=r[1];break;case";":this.freeSemicolon(r);break;case"}":this.end(r);break;case"comment":this.comment(r);break;case"at-word":this.atrule(r);break;case"{":this.emptyRule(r);break;default:this.other(r);break}this.endFile()}precheckMissedSemicolon(){}raw(r,s,a,u){let e,l,n=a.length,c="",p=!0,i,o;for(let h=0;h<n;h+=1)e=a[h],l=e[0],l==="space"&&h===n-1&&!u?p=!1:l==="comment"?(o=a[h-1]?a[h-1][0]:"empty",i=a[h+1]?a[h+1][0]:"empty",!o2[o]&&!o2[i]?c.slice(-1)===","?p=!1:c+=e[1]:p=!1):c+=e[1];if(!p){let h=a.reduce((d,f)=>d+f[1],"");r.raws[s]={raw:h,value:c}}r[s]=c}rule(r){r.pop();let s=new a2;this.init(s,r[0][2]),s.raws.between=this.spacesAndCommentsFromEnd(r),this.raw(s,"selector",r),this.current=s}spacesAndCommentsFromEnd(r){let s,a="";for(;r.length&&(s=r[r.length-1][0],!(s!=="space"&&s!=="comment"));)a=r.pop()[1]+a;return a}spacesAndCommentsFromStart(r){let s,a="";for(;r.length&&(s=r[0][0],!(s!=="space"&&s!=="comment"));)a+=r.shift()[1];return a}spacesFromEnd(r){let s,a="";for(;r.length&&(s=r[r.length-1][0],s==="space");)a=r.pop()[1]+a;return a}stringFrom(r,s){let a="";for(let u=s;u<r.length;u++)a+=r[u][1];return r.splice(s,r.length-s),a}unclosedBlock(){let r=this.current.source.start;throw this.input.error("Unclosed block",r.line,r.column)}unclosedBracket(r){throw this.input.error("Unclosed bracket",{offset:r[2]},{offset:r[2]+1})}unexpectedClose(r){throw this.input.error("Unexpected }",{offset:r[2]},{offset:r[2]+1})}unknownWord(r){throw this.input.error("Unknown word "+r[0][1],{offset:r[0][2]},{offset:r[0][2]+r[0][1].length})}unnamedAtrule(r,s){throw this.input.error("At-rule without name",{offset:s[2]},{offset:s[2]+s[1].length})}};l2.exports=k1});var Rm=ct((ape,c2)=>{"use strict";var J$=Gl(),X$=Id(),Y$=u2();function Lm(t,r){let s=new X$(t,r),a=new Y$(s);try{a.parse()}catch(u){throw process.env.NODE_ENV!=="production"&&u.name==="CssSyntaxError"&&r&&r.from&&(/\.scss$/i.test(r.from)?u.message+=`
|
|
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(r.from)?u.message+=`
|
|
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(r.from)&&(u.message+=`
|
|
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),u}return a.root}c2.exports=Lm;Lm.default=Lm;J$.registerParse(Lm)});var D1=ct((ope,p2)=>{"use strict";var Fd=class{constructor(r,s={}){if(this.type="warning",this.text=r,s.node&&s.node.source){let a=s.node.rangeBy(s);this.line=a.start.line,this.column=a.start.column,this.endLine=a.end.line,this.endColumn=a.end.column}for(let a in s)this[a]=s[a]}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}};p2.exports=Fd;Fd.default=Fd});var Mm=ct((lpe,d2)=>{"use strict";var Q$=D1(),jd=class{get content(){return this.css}constructor(r,s,a){this.processor=r,this.messages=[],this.root=s,this.opts=a,this.css="",this.map=void 0}toString(){return this.css}warn(r,s={}){s.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(s.plugin=this.lastPlugin.postcssPlugin);let a=new Q$(r,s);return this.messages.push(a),a}warnings(){return this.messages.filter(r=>r.type==="warning")}};d2.exports=jd;jd.default=jd});var I1=ct((upe,f2)=>{"use strict";var h2={};f2.exports=function(r){h2[r]||(h2[r]=!0,typeof console<"u"&&console.warn&&console.warn(r))}});var F1=ct((cpe,g2)=>{"use strict";var Z$=Gl(),eV=_m(),tV=C1(),rV=Rm(),m2=Mm(),nV=Xc(),iV=vd(),{isClean:zo,my:sV}=Sm(),aV=I1(),oV={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},lV={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},uV={Once:!0,postcssPlugin:!0,prepare:!0},Qc=0;function Ld(t){return typeof t=="object"&&typeof t.then=="function"}function b2(t){let r=!1,s=oV[t.type];return t.type==="decl"?r=t.prop.toLowerCase():t.type==="atrule"&&(r=t.name.toLowerCase()),r&&t.append?[s,s+"-"+r,Qc,s+"Exit",s+"Exit-"+r]:r?[s,s+"-"+r,s+"Exit",s+"Exit-"+r]:t.append?[s,Qc,s+"Exit"]:[s,s+"Exit"]}function y2(t){let r;return t.type==="document"?r=["Document",Qc,"DocumentExit"]:t.type==="root"?r=["Root",Qc,"RootExit"]:r=b2(t),{eventIndex:0,events:r,iterator:0,node:t,visitorIndex:0,visitors:[]}}function O1(t){return t[zo]=!1,t.nodes&&t.nodes.forEach(r=>O1(r)),t}var N1={},Xl=class t{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"}constructor(r,s,a){this.stringified=!1,this.processed=!1;let u;if(typeof s=="object"&&s!==null&&(s.type==="root"||s.type==="document"))u=O1(s);else if(s instanceof t||s instanceof m2)u=O1(s.root),s.map&&(typeof a.map>"u"&&(a.map={}),a.map.inline||(a.map.inline=!1),a.map.prev=s.map);else{let e=rV;a.syntax&&(e=a.syntax.parse),a.parser&&(e=a.parser),e.parse&&(e=e.parse);try{u=e(s,a)}catch(l){this.processed=!0,this.error=l}u&&!u[sV]&&Z$.rebuild(u)}this.result=new m2(r,u,a),this.helpers={...N1,postcss:N1,result:this.result},this.plugins=this.processor.plugins.map(e=>typeof e=="object"&&e.prepare?{...e,...e.prepare(this.result)}:e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(r){return this.async().catch(r)}finally(r){return this.async().then(r,r)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(r,s){let a=this.result.lastPlugin;try{if(s&&s.addToError(r),this.error=r,r.name==="CssSyntaxError"&&!r.plugin)r.plugin=a.postcssPlugin,r.setMessage();else if(a.postcssVersion&&process.env.NODE_ENV!=="production"){let u=a.postcssPlugin,e=a.postcssVersion,l=this.result.processor.version,n=e.split("."),c=l.split(".");(n[0]!==c[0]||parseInt(n[1])>parseInt(c[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+l+", but "+u+" uses "+e+". Perhaps this is the source of the error below.")}}catch(u){console&&console.error&&console.error(u)}return r}prepareVisitors(){this.listeners={};let r=(s,a,u)=>{this.listeners[a]||(this.listeners[a]=[]),this.listeners[a].push([s,u])};for(let s of this.plugins)if(typeof s=="object")for(let a in s){if(!lV[a]&&/^[A-Z]/.test(a))throw new Error(`Unknown event ${a} in ${s.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!uV[a])if(typeof s[a]=="object")for(let u in s[a])u==="*"?r(s,a,s[a][u]):r(s,a+"-"+u.toLowerCase(),s[a][u]);else typeof s[a]=="function"&&r(s,a,s[a])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let r=0;r<this.plugins.length;r++){let s=this.plugins[r],a=this.runOnRoot(s);if(Ld(a))try{await a}catch(u){throw this.handleError(u)}}if(this.prepareVisitors(),this.hasListener){let r=this.result.root;for(;!r[zo];){r[zo]=!0;let s=[y2(r)];for(;s.length>0;){let a=this.visitTick(s);if(Ld(a))try{await a}catch(u){let e=s[s.length-1].node;throw this.handleError(u,e)}}}if(this.listeners.OnceExit)for(let[s,a]of this.listeners.OnceExit){this.result.lastPlugin=s;try{if(r.type==="document"){let u=r.nodes.map(e=>a(e,this.helpers));await Promise.all(u)}else await a(r,this.helpers)}catch(u){throw this.handleError(u)}}}return this.processed=!0,this.stringify()}runOnRoot(r){this.result.lastPlugin=r;try{if(typeof r=="object"&&r.Once){if(this.result.root.type==="document"){let s=this.result.root.nodes.map(a=>r.Once(a,this.helpers));return Ld(s[0])?Promise.all(s):s}return r.Once(this.result.root,this.helpers)}else if(typeof r=="function")return r(this.result.root,this.result)}catch(s){throw this.handleError(s)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let r=this.result.opts,s=iV;r.syntax&&(s=r.syntax.stringify),r.stringifier&&(s=r.stringifier),s.stringify&&(s=s.stringify);let u=new tV(s,this.result.root,this.result.opts).generate();return this.result.css=u[0],this.result.map=u[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 r of this.plugins){let s=this.runOnRoot(r);if(Ld(s))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let r=this.result.root;for(;!r[zo];)r[zo]=!0,this.walkSync(r);if(this.listeners.OnceExit)if(r.type==="document")for(let s of r.nodes)this.visitSync(this.listeners.OnceExit,s);else this.visitSync(this.listeners.OnceExit,r)}return this.result}then(r,s){return process.env.NODE_ENV!=="production"&&("from"in this.opts||aV("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(r,s)}toString(){return this.css}visitSync(r,s){for(let[a,u]of r){this.result.lastPlugin=a;let e;try{e=u(s,this.helpers)}catch(l){throw this.handleError(l,s.proxyOf)}if(s.type!=="root"&&s.type!=="document"&&!s.parent)return!0;if(Ld(e))throw this.getAsyncError()}}visitTick(r){let s=r[r.length-1],{node:a,visitors:u}=s;if(a.type!=="root"&&a.type!=="document"&&!a.parent){r.pop();return}if(u.length>0&&s.visitorIndex<u.length){let[l,n]=u[s.visitorIndex];s.visitorIndex+=1,s.visitorIndex===u.length&&(s.visitors=[],s.visitorIndex=0),this.result.lastPlugin=l;try{return n(a.toProxy(),this.helpers)}catch(c){throw this.handleError(c,a)}}if(s.iterator!==0){let l=s.iterator,n;for(;n=a.nodes[a.indexes[l]];)if(a.indexes[l]+=1,!n[zo]){n[zo]=!0,r.push(y2(n));return}s.iterator=0,delete a.indexes[l]}let e=s.events;for(;s.eventIndex<e.length;){let l=e[s.eventIndex];if(s.eventIndex+=1,l===Qc){a.nodes&&a.nodes.length&&(a[zo]=!0,s.iterator=a.getIterator());return}else if(this.listeners[l]){s.visitors=this.listeners[l];return}}r.pop()}walkSync(r){r[zo]=!0;let s=b2(r);for(let a of s)if(a===Qc)r.nodes&&r.each(u=>{u[zo]||this.walkSync(u)});else{let u=this.listeners[a];if(u&&this.visitSync(u,r.toProxy()))return}}warnings(){return this.sync().warnings()}};Xl.registerPostcss=t=>{N1=t};g2.exports=Xl;Xl.default=Xl;nV.registerLazyResult(Xl);eV.registerLazyResult(Xl)});var x2=ct((ppe,v2)=>{"use strict";var cV=C1(),pV=Rm(),dV=Mm(),hV=vd(),fV=I1(),Rd=class{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 r,s=pV;try{r=s(this._css,this._opts)}catch(a){this.error=a}if(this.error)throw this.error;return this._root=r,r}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(r,s,a){s=s.toString(),this.stringified=!1,this._processor=r,this._css=s,this._opts=a,this._map=void 0;let u,e=hV;this.result=new dV(this._processor,u,this._opts),this.result.css=s;let l=this;Object.defineProperty(this.result,"root",{get(){return l.root}});let n=new cV(e,u,this._opts,s);if(n.isMap()){let[c,p]=n.generate();c&&(this.result.css=c),p&&(this.result.map=p)}else n.clearAnnotation(),this.result.css=n.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(r){return this.async().catch(r)}finally(r){return this.async().then(r,r)}sync(){if(this.error)throw this.error;return this.result}then(r,s){return process.env.NODE_ENV!=="production"&&("from"in this._opts||fV("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(r,s)}toString(){return this._css}warnings(){return[]}};v2.exports=Rd;Rd.default=Rd});var E2=ct((dpe,T2)=>{"use strict";var mV=_m(),yV=F1(),bV=x2(),gV=Xc(),Bu=class{constructor(r=[]){this.version="8.5.6",this.plugins=this.normalize(r)}normalize(r){let s=[];for(let a of r)if(a.postcss===!0?a=a():a.postcss&&(a=a.postcss),typeof a=="object"&&Array.isArray(a.plugins))s=s.concat(a.plugins);else if(typeof a=="object"&&a.postcssPlugin)s.push(a);else if(typeof a=="function")s.push(a);else if(typeof a=="object"&&(a.parse||a.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(a+" is not a PostCSS plugin");return s}process(r,s={}){return!this.plugins.length&&!s.parser&&!s.stringifier&&!s.syntax?new bV(this,r,s):new yV(this,r,s)}use(r){return this.plugins=this.plugins.concat(this.normalize([r])),this}};T2.exports=Bu;Bu.default=Bu;gV.registerProcessor(Bu);mV.registerProcessor(Bu)});var Ho=ct((hpe,k2)=>{"use strict";var S2=wm(),w2=wd(),vV=Gl(),xV=Em(),_2=Ad(),A2=_m(),TV=ZI(),EV=Id(),SV=F1(),wV=A1(),_V=Ed(),AV=Rm(),j1=E2(),PV=Mm(),P2=Xc(),C2=Nm(),CV=vd(),kV=D1();function Bi(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new j1(t)}Bi.plugin=function(r,s){let a=!1;function u(...l){console&&console.warn&&!a&&(a=!0,console.warn(r+`: postcss.plugin was deprecated. Migration guide:
|
|
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(r+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
|
|
https://www.w3ctech.com/topic/2226`));let n=s(...l);return n.postcssPlugin=r,n.postcssVersion=new j1().version,n}let e;return Object.defineProperty(u,"postcss",{get(){return e||(e=u()),e}}),u.process=function(l,n,c){return Bi([u(c)]).process(l,n)},u};Bi.stringify=CV;Bi.parse=AV;Bi.fromJSON=TV;Bi.list=wV;Bi.comment=t=>new w2(t);Bi.atRule=t=>new S2(t);Bi.decl=t=>new _2(t);Bi.rule=t=>new C2(t);Bi.root=t=>new P2(t);Bi.document=t=>new A2(t);Bi.CssSyntaxError=xV;Bi.Declaration=_2;Bi.Container=vV;Bi.Processor=j1;Bi.Document=A2;Bi.Comment=w2;Bi.Warning=kV;Bi.AtRule=S2;Bi.Result=PV;Bi.Input=EV;Bi.Rule=C2;Bi.Root=P2;Bi.Node=_V;SV.registerPostcss(Bi);k2.exports=Bi;Bi.default=Bi});var Um=ct((Bm,D2)=>{"use strict";Bm.__esModule=!0;Bm.default=OV;function DV(t){for(var r=t.toLowerCase(),s="",a=!1,u=0;u<6&&r[u]!==void 0;u++){var e=r.charCodeAt(u),l=e>=97&&e<=102||e>=48&&e<=57;if(a=e===32,!l)break;s+=r[u]}if(s.length!==0){var n=parseInt(s,16),c=n>=55296&&n<=57343;return c||n===0||n>1114111?["\uFFFD",s.length+(a?1:0)]:[String.fromCodePoint(n),s.length+(a?1:0)]}}var IV=/\\/;function OV(t){var r=IV.test(t);if(!r)return t;for(var s="",a=0;a<t.length;a++){if(t[a]==="\\"){var u=DV(t.slice(a+1,a+7));if(u!==void 0){s+=u[0],a+=u[1];continue}if(t[a+1]==="\\"){s+="\\",a++;continue}t.length===a+1&&(s+=t[a]);continue}s+=t[a]}return s}D2.exports=Bm.default});var O2=ct(($m,I2)=>{"use strict";$m.__esModule=!0;$m.default=NV;function NV(t){for(var r=arguments.length,s=new Array(r>1?r-1:0),a=1;a<r;a++)s[a-1]=arguments[a];for(;s.length>0;){var u=s.shift();if(!t[u])return;t=t[u]}return t}I2.exports=$m.default});var F2=ct((Vm,N2)=>{"use strict";Vm.__esModule=!0;Vm.default=FV;function FV(t){for(var r=arguments.length,s=new Array(r>1?r-1:0),a=1;a<r;a++)s[a-1]=arguments[a];for(;s.length>0;){var u=s.shift();t[u]||(t[u]={}),t=t[u]}}N2.exports=Vm.default});var L2=ct((qm,j2)=>{"use strict";qm.__esModule=!0;qm.default=jV;function jV(t){for(var r="",s=t.indexOf("/*"),a=0;s>=0;){r=r+t.slice(a,s);var u=t.indexOf("*/",s+2);if(u<0)return r;a=u+2,s=t.indexOf("/*",a)}return r=r+t.slice(a),r}j2.exports=qm.default});var Md=ct(Go=>{"use strict";Go.__esModule=!0;Go.unesc=Go.stripComments=Go.getProp=Go.ensureObject=void 0;var LV=Wm(Um());Go.unesc=LV.default;var RV=Wm(O2());Go.getProp=RV.default;var MV=Wm(F2());Go.ensureObject=MV.default;var BV=Wm(L2());Go.stripComments=BV.default;function Wm(t){return t&&t.__esModule?t:{default:t}}});var Sl=ct((Bd,B2)=>{"use strict";Bd.__esModule=!0;Bd.default=void 0;var R2=Md();function M2(t,r){for(var s=0;s<r.length;s++){var a=r[s];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function UV(t,r,s){return r&&M2(t.prototype,r),s&&M2(t,s),Object.defineProperty(t,"prototype",{writable:!1}),t}var $V=function t(r,s){if(typeof r!="object"||r===null)return r;var a=new r.constructor;for(var u in r)if(r.hasOwnProperty(u)){var e=r[u],l=typeof e;u==="parent"&&l==="object"?s&&(a[u]=s):e instanceof Array?a[u]=e.map(function(n){return t(n,a)}):a[u]=t(e,a)}return a},VV=(function(){function t(s){s===void 0&&(s={}),Object.assign(this,s),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var r=t.prototype;return r.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},r.replaceWith=function(){if(this.parent){for(var a in arguments)this.parent.insertBefore(this,arguments[a]);this.remove()}return this},r.next=function(){return this.parent.at(this.parent.index(this)+1)},r.prev=function(){return this.parent.at(this.parent.index(this)-1)},r.clone=function(a){a===void 0&&(a={});var u=$V(this);for(var e in a)u[e]=a[e];return u},r.appendToPropertyAndEscape=function(a,u,e){this.raws||(this.raws={});var l=this[a],n=this.raws[a];this[a]=l+u,n||e!==u?this.raws[a]=(n||l)+e:delete this.raws[a]},r.setPropertyAndEscape=function(a,u,e){this.raws||(this.raws={}),this[a]=u,this.raws[a]=e},r.setPropertyWithoutEscape=function(a,u){this[a]=u,this.raws&&delete this.raws[a]},r.isAtPosition=function(a,u){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>a||this.source.end.line<a||this.source.start.line===a&&this.source.start.column>u||this.source.end.line===a&&this.source.end.column<u)},r.stringifyProperty=function(a){return this.raws&&this.raws[a]||this[a]},r.valueToString=function(){return String(this.stringifyProperty("value"))},r.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},UV(t,[{key:"rawSpaceBefore",get:function(){var a=this.raws&&this.raws.spaces&&this.raws.spaces.before;return a===void 0&&(a=this.spaces&&this.spaces.before),a||""},set:function(a){(0,R2.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=a}},{key:"rawSpaceAfter",get:function(){var a=this.raws&&this.raws.spaces&&this.raws.spaces.after;return a===void 0&&(a=this.spaces.after),a||""},set:function(a){(0,R2.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=a}}]),t})();Bd.default=VV;B2.exports=Bd.default});var na=ct(ts=>{"use strict";ts.__esModule=!0;ts.UNIVERSAL=ts.TAG=ts.STRING=ts.SELECTOR=ts.ROOT=ts.PSEUDO=ts.NESTING=ts.ID=ts.COMMENT=ts.COMBINATOR=ts.CLASS=ts.ATTRIBUTE=void 0;var qV="tag";ts.TAG=qV;var WV="string";ts.STRING=WV;var KV="selector";ts.SELECTOR=KV;var zV="root";ts.ROOT=zV;var HV="pseudo";ts.PSEUDO=HV;var GV="nesting";ts.NESTING=GV;var JV="id";ts.ID=JV;var XV="comment";ts.COMMENT=XV;var YV="combinator";ts.COMBINATOR=YV;var QV="class";ts.CLASS=QV;var ZV="attribute";ts.ATTRIBUTE=ZV;var eq="universal";ts.UNIVERSAL=eq});var Km=ct((Ud,q2)=>{"use strict";Ud.__esModule=!0;Ud.default=void 0;var tq=nq(Sl()),wl=rq(na());function V2(t){if(typeof WeakMap!="function")return null;var r=new WeakMap,s=new WeakMap;return(V2=function(u){return u?s:r})(t)}function rq(t,r){if(!r&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var s=V2(r);if(s&&s.has(t))return s.get(t);var a={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in t)if(e!=="default"&&Object.prototype.hasOwnProperty.call(t,e)){var l=u?Object.getOwnPropertyDescriptor(t,e):null;l&&(l.get||l.set)?Object.defineProperty(a,e,l):a[e]=t[e]}return a.default=t,s&&s.set(t,a),a}function nq(t){return t&&t.__esModule?t:{default:t}}function iq(t,r){var s=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(s)return(s=s.call(t)).next.bind(s);if(Array.isArray(t)||(s=sq(t))||r&&t&&typeof t.length=="number"){s&&(t=s);var a=0;return function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}}}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 sq(t,r){if(t){if(typeof t=="string")return U2(t,r);var s=Object.prototype.toString.call(t).slice(8,-1);if(s==="Object"&&t.constructor&&(s=t.constructor.name),s==="Map"||s==="Set")return Array.from(t);if(s==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s))return U2(t,r)}}function U2(t,r){(r==null||r>t.length)&&(r=t.length);for(var s=0,a=new Array(r);s<r;s++)a[s]=t[s];return a}function $2(t,r){for(var s=0;s<r.length;s++){var a=r[s];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function aq(t,r,s){return r&&$2(t.prototype,r),s&&$2(t,s),Object.defineProperty(t,"prototype",{writable:!1}),t}function oq(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,L1(t,r)}function L1(t,r){return L1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,u){return a.__proto__=u,a},L1(t,r)}var lq=(function(t){oq(r,t);function r(a){var u;return u=t.call(this,a)||this,u.nodes||(u.nodes=[]),u}var s=r.prototype;return s.append=function(u){return u.parent=this,this.nodes.push(u),this},s.prepend=function(u){return u.parent=this,this.nodes.unshift(u),this},s.at=function(u){return this.nodes[u]},s.index=function(u){return typeof u=="number"?u:this.nodes.indexOf(u)},s.removeChild=function(u){u=this.index(u),this.at(u).parent=void 0,this.nodes.splice(u,1);var e;for(var l in this.indexes)e=this.indexes[l],e>=u&&(this.indexes[l]=e-1);return this},s.removeAll=function(){for(var u=iq(this.nodes),e;!(e=u()).done;){var l=e.value;l.parent=void 0}return this.nodes=[],this},s.empty=function(){return this.removeAll()},s.insertAfter=function(u,e){e.parent=this;var l=this.index(u);this.nodes.splice(l+1,0,e),e.parent=this;var n;for(var c in this.indexes)n=this.indexes[c],l<=n&&(this.indexes[c]=n+1);return this},s.insertBefore=function(u,e){e.parent=this;var l=this.index(u);this.nodes.splice(l,0,e),e.parent=this;var n;for(var c in this.indexes)n=this.indexes[c],n<=l&&(this.indexes[c]=n+1);return this},s._findChildAtPosition=function(u,e){var l=void 0;return this.each(function(n){if(n.atPosition){var c=n.atPosition(u,e);if(c)return l=c,!1}else if(n.isAtPosition(u,e))return l=n,!1}),l},s.atPosition=function(u,e){if(this.isAtPosition(u,e))return this._findChildAtPosition(u,e)||this},s._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))},s.each=function(u){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var e=this.lastEach;if(this.indexes[e]=0,!!this.length){for(var l,n;this.indexes[e]<this.length&&(l=this.indexes[e],n=u(this.at(l),l),n!==!1);)this.indexes[e]+=1;if(delete this.indexes[e],n===!1)return!1}},s.walk=function(u){return this.each(function(e,l){var n=u(e,l);if(n!==!1&&e.length&&(n=e.walk(u)),n===!1)return!1})},s.walkAttributes=function(u){var e=this;return this.walk(function(l){if(l.type===wl.ATTRIBUTE)return u.call(e,l)})},s.walkClasses=function(u){var e=this;return this.walk(function(l){if(l.type===wl.CLASS)return u.call(e,l)})},s.walkCombinators=function(u){var e=this;return this.walk(function(l){if(l.type===wl.COMBINATOR)return u.call(e,l)})},s.walkComments=function(u){var e=this;return this.walk(function(l){if(l.type===wl.COMMENT)return u.call(e,l)})},s.walkIds=function(u){var e=this;return this.walk(function(l){if(l.type===wl.ID)return u.call(e,l)})},s.walkNesting=function(u){var e=this;return this.walk(function(l){if(l.type===wl.NESTING)return u.call(e,l)})},s.walkPseudos=function(u){var e=this;return this.walk(function(l){if(l.type===wl.PSEUDO)return u.call(e,l)})},s.walkTags=function(u){var e=this;return this.walk(function(l){if(l.type===wl.TAG)return u.call(e,l)})},s.walkUniversals=function(u){var e=this;return this.walk(function(l){if(l.type===wl.UNIVERSAL)return u.call(e,l)})},s.split=function(u){var e=this,l=[];return this.reduce(function(n,c,p){var i=u.call(e,c);return l.push(c),i?(n.push(l),l=[]):p===e.length-1&&n.push(l),n},[])},s.map=function(u){return this.nodes.map(u)},s.reduce=function(u,e){return this.nodes.reduce(u,e)},s.every=function(u){return this.nodes.every(u)},s.some=function(u){return this.nodes.some(u)},s.filter=function(u){return this.nodes.filter(u)},s.sort=function(u){return this.nodes.sort(u)},s.toString=function(){return this.map(String).join("")},aq(r,[{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}}]),r})(tq.default);Ud.default=lq;q2.exports=Ud.default});var M1=ct(($d,K2)=>{"use strict";$d.__esModule=!0;$d.default=void 0;var uq=pq(Km()),cq=na();function pq(t){return t&&t.__esModule?t:{default:t}}function W2(t,r){for(var s=0;s<r.length;s++){var a=r[s];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function dq(t,r,s){return r&&W2(t.prototype,r),s&&W2(t,s),Object.defineProperty(t,"prototype",{writable:!1}),t}function hq(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,R1(t,r)}function R1(t,r){return R1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,u){return a.__proto__=u,a},R1(t,r)}var fq=(function(t){hq(r,t);function r(a){var u;return u=t.call(this,a)||this,u.type=cq.ROOT,u}var s=r.prototype;return s.toString=function(){var u=this.reduce(function(e,l){return e.push(String(l)),e},[]).join(",");return this.trailingComma?u+",":u},s.error=function(u,e){return this._error?this._error(u,e):new Error(u)},dq(r,[{key:"errorGenerator",set:function(u){this._error=u}}]),r})(uq.default);$d.default=fq;K2.exports=$d.default});var U1=ct((Vd,z2)=>{"use strict";Vd.__esModule=!0;Vd.default=void 0;var mq=bq(Km()),yq=na();function bq(t){return t&&t.__esModule?t:{default:t}}function gq(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,B1(t,r)}function B1(t,r){return B1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,u){return a.__proto__=u,a},B1(t,r)}var vq=(function(t){gq(r,t);function r(s){var a;return a=t.call(this,s)||this,a.type=yq.SELECTOR,a}return r})(mq.default);Vd.default=vq;z2.exports=Vd.default});var zm=ct((ype,H2)=>{"use strict";var xq={},Tq=xq.hasOwnProperty,Eq=function(r,s){if(!r)return s;var a={};for(var u in s)a[u]=Tq.call(r,u)?r[u]:s[u];return a},Sq=/[ -,\.\/:-@\[-\^`\{-~]/,wq=/[ -,\.\/:-@\[\]\^`\{-~]/,_q=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,$1=function t(r,s){s=Eq(s,t.options),s.quotes!="single"&&s.quotes!="double"&&(s.quotes="single");for(var a=s.quotes=="double"?'"':"'",u=s.isIdentifier,e=r.charAt(0),l="",n=0,c=r.length;n<c;){var p=r.charAt(n++),i=p.charCodeAt(),o=void 0;if(i<32||i>126){if(i>=55296&&i<=56319&&n<c){var h=r.charCodeAt(n++);(h&64512)==56320?i=((i&1023)<<10)+(h&1023)+65536:n--}o="\\"+i.toString(16).toUpperCase()+" "}else s.escapeEverything?Sq.test(p)?o="\\"+p:o="\\"+i.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(p)?o="\\"+i.toString(16).toUpperCase()+" ":p=="\\"||!u&&(p=='"'&&a==p||p=="'"&&a==p)||u&&wq.test(p)?o="\\"+p:o=p;l+=o}return u&&(/^-[-\d]/.test(l)?l="\\-"+l.slice(1):/\d/.test(e)&&(l="\\3"+e+" "+l.slice(1))),l=l.replace(_q,function(d,f,b){return f&&f.length%2?d:(f||"")+b}),!u&&s.wrap?a+l+a:l};$1.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};$1.version="3.0.0";H2.exports=$1});var q1=ct((qd,X2)=>{"use strict";qd.__esModule=!0;qd.default=void 0;var Aq=J2(zm()),Pq=Md(),Cq=J2(Sl()),kq=na();function J2(t){return t&&t.__esModule?t:{default:t}}function G2(t,r){for(var s=0;s<r.length;s++){var a=r[s];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function Dq(t,r,s){return r&&G2(t.prototype,r),s&&G2(t,s),Object.defineProperty(t,"prototype",{writable:!1}),t}function Iq(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,V1(t,r)}function V1(t,r){return V1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,u){return a.__proto__=u,a},V1(t,r)}var Oq=(function(t){Iq(r,t);function r(a){var u;return u=t.call(this,a)||this,u.type=kq.CLASS,u._constructed=!0,u}var s=r.prototype;return s.valueToString=function(){return"."+t.prototype.valueToString.call(this)},Dq(r,[{key:"value",get:function(){return this._value},set:function(u){if(this._constructed){var e=(0,Aq.default)(u,{isIdentifier:!0});e!==u?((0,Pq.ensureObject)(this,"raws"),this.raws.value=e):this.raws&&delete this.raws.value}this._value=u}}]),r})(Cq.default);qd.default=Oq;X2.exports=qd.default});var K1=ct((Wd,Y2)=>{"use strict";Wd.__esModule=!0;Wd.default=void 0;var Nq=jq(Sl()),Fq=na();function jq(t){return t&&t.__esModule?t:{default:t}}function Lq(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,W1(t,r)}function W1(t,r){return W1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,u){return a.__proto__=u,a},W1(t,r)}var Rq=(function(t){Lq(r,t);function r(s){var a;return a=t.call(this,s)||this,a.type=Fq.COMMENT,a}return r})(Nq.default);Wd.default=Rq;Y2.exports=Wd.default});var H1=ct((Kd,Q2)=>{"use strict";Kd.__esModule=!0;Kd.default=void 0;var Mq=Uq(Sl()),Bq=na();function Uq(t){return t&&t.__esModule?t:{default:t}}function $q(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,z1(t,r)}function z1(t,r){return z1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,u){return a.__proto__=u,a},z1(t,r)}var Vq=(function(t){$q(r,t);function r(a){var u;return u=t.call(this,a)||this,u.type=Bq.ID,u}var s=r.prototype;return s.valueToString=function(){return"#"+t.prototype.valueToString.call(this)},r})(Mq.default);Kd.default=Vq;Q2.exports=Kd.default});var Hm=ct((zd,tO)=>{"use strict";zd.__esModule=!0;zd.default=void 0;var qq=eO(zm()),Wq=Md(),Kq=eO(Sl());function eO(t){return t&&t.__esModule?t:{default:t}}function Z2(t,r){for(var s=0;s<r.length;s++){var a=r[s];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function zq(t,r,s){return r&&Z2(t.prototype,r),s&&Z2(t,s),Object.defineProperty(t,"prototype",{writable:!1}),t}function Hq(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,G1(t,r)}function G1(t,r){return G1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,u){return a.__proto__=u,a},G1(t,r)}var Gq=(function(t){Hq(r,t);function r(){return t.apply(this,arguments)||this}var s=r.prototype;return s.qualifiedName=function(u){return this.namespace?this.namespaceString+"|"+u:u},s.valueToString=function(){return this.qualifiedName(t.prototype.valueToString.call(this))},zq(r,[{key:"namespace",get:function(){return this._namespace},set:function(u){if(u===!0||u==="*"||u==="&"){this._namespace=u,this.raws&&delete this.raws.namespace;return}var e=(0,qq.default)(u,{isIdentifier:!0});this._namespace=u,e!==u?((0,Wq.ensureObject)(this,"raws"),this.raws.namespace=e):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(u){this.namespace=u}},{key:"namespaceString",get:function(){if(this.namespace){var u=this.stringifyProperty("namespace");return u===!0?"":u}else return""}}]),r})(Kq.default);zd.default=Gq;tO.exports=zd.default});var X1=ct((Hd,rO)=>{"use strict";Hd.__esModule=!0;Hd.default=void 0;var Jq=Yq(Hm()),Xq=na();function Yq(t){return t&&t.__esModule?t:{default:t}}function Qq(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,J1(t,r)}function J1(t,r){return J1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,u){return a.__proto__=u,a},J1(t,r)}var Zq=(function(t){Qq(r,t);function r(s){var a;return a=t.call(this,s)||this,a.type=Xq.TAG,a}return r})(Jq.default);Hd.default=Zq;rO.exports=Hd.default});var Q1=ct((Gd,nO)=>{"use strict";Gd.__esModule=!0;Gd.default=void 0;var eW=rW(Sl()),tW=na();function rW(t){return t&&t.__esModule?t:{default:t}}function nW(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,Y1(t,r)}function Y1(t,r){return Y1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,u){return a.__proto__=u,a},Y1(t,r)}var iW=(function(t){nW(r,t);function r(s){var a;return a=t.call(this,s)||this,a.type=tW.STRING,a}return r})(eW.default);Gd.default=iW;nO.exports=Gd.default});var ev=ct((Jd,iO)=>{"use strict";Jd.__esModule=!0;Jd.default=void 0;var sW=oW(Km()),aW=na();function oW(t){return t&&t.__esModule?t:{default:t}}function lW(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,Z1(t,r)}function Z1(t,r){return Z1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,u){return a.__proto__=u,a},Z1(t,r)}var uW=(function(t){lW(r,t);function r(a){var u;return u=t.call(this,a)||this,u.type=aW.PSEUDO,u}var s=r.prototype;return s.toString=function(){var u=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),u,this.rawSpaceAfter].join("")},r})(sW.default);Jd.default=uW;iO.exports=Jd.default});var aO=ct((bpe,sO)=>{sO.exports=hr("util").deprecate});var av=ct(Qd=>{"use strict";Qd.__esModule=!0;Qd.default=void 0;Qd.unescapeValue=sv;var Xd=iv(zm()),cW=iv(Um()),pW=iv(Hm()),dW=na(),tv;function iv(t){return t&&t.__esModule?t:{default:t}}function oO(t,r){for(var s=0;s<r.length;s++){var a=r[s];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function hW(t,r,s){return r&&oO(t.prototype,r),s&&oO(t,s),Object.defineProperty(t,"prototype",{writable:!1}),t}function fW(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,nv(t,r)}function nv(t,r){return nv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,u){return a.__proto__=u,a},nv(t,r)}var Yd=aO(),mW=/^('|")([^]*)\1$/,yW=Yd(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),bW=Yd(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),gW=Yd(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function sv(t){var r=!1,s=null,a=t,u=a.match(mW);return u&&(s=u[1],a=u[2]),a=(0,cW.default)(a),a!==t&&(r=!0),{deprecatedUsage:r,unescaped:a,quoteMark:s}}function vW(t){if(t.quoteMark!==void 0||t.value===void 0)return t;gW();var r=sv(t.value),s=r.quoteMark,a=r.unescaped;return t.raws||(t.raws={}),t.raws.value===void 0&&(t.raws.value=t.value),t.value=a,t.quoteMark=s,t}var Gm=(function(t){fW(r,t);function r(a){var u;return a===void 0&&(a={}),u=t.call(this,vW(a))||this,u.type=dW.ATTRIBUTE,u.raws=u.raws||{},Object.defineProperty(u.raws,"unquoted",{get:Yd(function(){return u.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Yd(function(){return u.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),u._constructed=!0,u}var s=r.prototype;return s.getQuotedValue=function(u){u===void 0&&(u={});var e=this._determineQuoteMark(u),l=rv[e],n=(0,Xd.default)(this._value,l);return n},s._determineQuoteMark=function(u){return u.smart?this.smartQuoteMark(u):this.preferredQuoteMark(u)},s.setValue=function(u,e){e===void 0&&(e={}),this._value=u,this._quoteMark=this._determineQuoteMark(e),this._syncRawValue()},s.smartQuoteMark=function(u){var e=this.value,l=e.replace(/[^']/g,"").length,n=e.replace(/[^"]/g,"").length;if(l+n===0){var c=(0,Xd.default)(e,{isIdentifier:!0});if(c===e)return r.NO_QUOTE;var p=this.preferredQuoteMark(u);if(p===r.NO_QUOTE){var i=this.quoteMark||u.quoteMark||r.DOUBLE_QUOTE,o=rv[i],h=(0,Xd.default)(e,o);if(h.length<c.length)return i}return p}else return n===l?this.preferredQuoteMark(u):n<l?r.DOUBLE_QUOTE:r.SINGLE_QUOTE},s.preferredQuoteMark=function(u){var e=u.preferCurrentQuoteMark?this.quoteMark:u.quoteMark;return e===void 0&&(e=u.preferCurrentQuoteMark?u.quoteMark:this.quoteMark),e===void 0&&(e=r.DOUBLE_QUOTE),e},s._syncRawValue=function(){var u=(0,Xd.default)(this._value,rv[this.quoteMark]);u===this._value?this.raws&&delete this.raws.value:this.raws.value=u},s._handleEscapes=function(u,e){if(this._constructed){var l=(0,Xd.default)(e,{isIdentifier:!0});l!==e?this.raws[u]=l:delete this.raws[u]}},s._spacesFor=function(u){var e={before:"",after:""},l=this.spaces[u]||{},n=this.raws.spaces&&this.raws.spaces[u]||{};return Object.assign(e,l,n)},s._stringFor=function(u,e,l){e===void 0&&(e=u),l===void 0&&(l=lO);var n=this._spacesFor(e);return l(this.stringifyProperty(u),n)},s.offsetOf=function(u){var e=1,l=this._spacesFor("attribute");if(e+=l.before.length,u==="namespace"||u==="ns")return this.namespace?e:-1;if(u==="attributeNS"||(e+=this.namespaceString.length,this.namespace&&(e+=1),u==="attribute"))return e;e+=this.stringifyProperty("attribute").length,e+=l.after.length;var n=this._spacesFor("operator");e+=n.before.length;var c=this.stringifyProperty("operator");if(u==="operator")return c?e:-1;e+=c.length,e+=n.after.length;var p=this._spacesFor("value");e+=p.before.length;var i=this.stringifyProperty("value");if(u==="value")return i?e:-1;e+=i.length,e+=p.after.length;var o=this._spacesFor("insensitive");return e+=o.before.length,u==="insensitive"&&this.insensitive?e:-1},s.toString=function(){var u=this,e=[this.rawSpaceBefore,"["];return e.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(e.push(this._stringFor("operator")),e.push(this._stringFor("value")),e.push(this._stringFor("insensitiveFlag","insensitive",function(l,n){return l.length>0&&!u.quoted&&n.before.length===0&&!(u.spaces.value&&u.spaces.value.after)&&(n.before=" "),lO(l,n)}))),e.push("]"),e.push(this.rawSpaceAfter),e.join("")},hW(r,[{key:"quoted",get:function(){var u=this.quoteMark;return u==="'"||u==='"'},set:function(u){bW()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(u){if(!this._constructed){this._quoteMark=u;return}this._quoteMark!==u&&(this._quoteMark=u,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(u){if(this._constructed){var e=sv(u),l=e.deprecatedUsage,n=e.unescaped,c=e.quoteMark;if(l&&yW(),n===this._value&&c===this._quoteMark)return;this._value=n,this._quoteMark=c,this._syncRawValue()}else this._value=u}},{key:"insensitive",get:function(){return this._insensitive},set:function(u){u||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=u}},{key:"attribute",get:function(){return this._attribute},set:function(u){this._handleEscapes("attribute",u),this._attribute=u}}]),r})(pW.default);Qd.default=Gm;Gm.NO_QUOTE=null;Gm.SINGLE_QUOTE="'";Gm.DOUBLE_QUOTE='"';var rv=(tv={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},tv[null]={isIdentifier:!0},tv);function lO(t,r){return""+r.before+t+r.after}});var lv=ct((Zd,uO)=>{"use strict";Zd.__esModule=!0;Zd.default=void 0;var xW=EW(Hm()),TW=na();function EW(t){return t&&t.__esModule?t:{default:t}}function SW(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,ov(t,r)}function ov(t,r){return ov=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,u){return a.__proto__=u,a},ov(t,r)}var wW=(function(t){SW(r,t);function r(s){var a;return a=t.call(this,s)||this,a.type=TW.UNIVERSAL,a.value="*",a}return r})(xW.default);Zd.default=wW;uO.exports=Zd.default});var cv=ct((eh,cO)=>{"use strict";eh.__esModule=!0;eh.default=void 0;var _W=PW(Sl()),AW=na();function PW(t){return t&&t.__esModule?t:{default:t}}function CW(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,uv(t,r)}function uv(t,r){return uv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,u){return a.__proto__=u,a},uv(t,r)}var kW=(function(t){CW(r,t);function r(s){var a;return a=t.call(this,s)||this,a.type=AW.COMBINATOR,a}return r})(_W.default);eh.default=kW;cO.exports=eh.default});var dv=ct((th,pO)=>{"use strict";th.__esModule=!0;th.default=void 0;var DW=OW(Sl()),IW=na();function OW(t){return t&&t.__esModule?t:{default:t}}function NW(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,pv(t,r)}function pv(t,r){return pv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,u){return a.__proto__=u,a},pv(t,r)}var FW=(function(t){NW(r,t);function r(s){var a;return a=t.call(this,s)||this,a.type=IW.NESTING,a.value="&",a}return r})(DW.default);th.default=FW;pO.exports=th.default});var hO=ct((Jm,dO)=>{"use strict";Jm.__esModule=!0;Jm.default=jW;function jW(t){return t.sort(function(r,s){return r-s})}dO.exports=Jm.default});var hv=ct(dn=>{"use strict";dn.__esModule=!0;dn.word=dn.tilde=dn.tab=dn.str=dn.space=dn.slash=dn.singleQuote=dn.semicolon=dn.plus=dn.pipe=dn.openSquare=dn.openParenthesis=dn.newline=dn.greaterThan=dn.feed=dn.equals=dn.doubleQuote=dn.dollar=dn.cr=dn.comment=dn.comma=dn.combinator=dn.colon=dn.closeSquare=dn.closeParenthesis=dn.caret=dn.bang=dn.backslash=dn.at=dn.asterisk=dn.ampersand=void 0;var LW=38;dn.ampersand=LW;var RW=42;dn.asterisk=RW;var MW=64;dn.at=MW;var BW=44;dn.comma=BW;var UW=58;dn.colon=UW;var $W=59;dn.semicolon=$W;var VW=40;dn.openParenthesis=VW;var qW=41;dn.closeParenthesis=qW;var WW=91;dn.openSquare=WW;var KW=93;dn.closeSquare=KW;var zW=36;dn.dollar=zW;var HW=126;dn.tilde=HW;var GW=94;dn.caret=GW;var JW=43;dn.plus=JW;var XW=61;dn.equals=XW;var YW=124;dn.pipe=YW;var QW=62;dn.greaterThan=QW;var ZW=32;dn.space=ZW;var fO=39;dn.singleQuote=fO;var eK=34;dn.doubleQuote=eK;var tK=47;dn.slash=tK;var rK=33;dn.bang=rK;var nK=92;dn.backslash=nK;var iK=13;dn.cr=iK;var sK=12;dn.feed=sK;var aK=10;dn.newline=aK;var oK=9;dn.tab=oK;var lK=fO;dn.str=lK;var uK=-1;dn.comment=uK;var cK=-2;dn.word=cK;var pK=-3;dn.combinator=pK});var bO=ct(rh=>{"use strict";rh.__esModule=!0;rh.FIELDS=void 0;rh.default=gK;var Wr=dK(hv()),Zc,Hi;function yO(t){if(typeof WeakMap!="function")return null;var r=new WeakMap,s=new WeakMap;return(yO=function(u){return u?s:r})(t)}function dK(t,r){if(!r&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var s=yO(r);if(s&&s.has(t))return s.get(t);var a={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in t)if(e!=="default"&&Object.prototype.hasOwnProperty.call(t,e)){var l=u?Object.getOwnPropertyDescriptor(t,e):null;l&&(l.get||l.set)?Object.defineProperty(a,e,l):a[e]=t[e]}return a.default=t,s&&s.set(t,a),a}var hK=(Zc={},Zc[Wr.tab]=!0,Zc[Wr.newline]=!0,Zc[Wr.cr]=!0,Zc[Wr.feed]=!0,Zc),fK=(Hi={},Hi[Wr.space]=!0,Hi[Wr.tab]=!0,Hi[Wr.newline]=!0,Hi[Wr.cr]=!0,Hi[Wr.feed]=!0,Hi[Wr.ampersand]=!0,Hi[Wr.asterisk]=!0,Hi[Wr.bang]=!0,Hi[Wr.comma]=!0,Hi[Wr.colon]=!0,Hi[Wr.semicolon]=!0,Hi[Wr.openParenthesis]=!0,Hi[Wr.closeParenthesis]=!0,Hi[Wr.openSquare]=!0,Hi[Wr.closeSquare]=!0,Hi[Wr.singleQuote]=!0,Hi[Wr.doubleQuote]=!0,Hi[Wr.plus]=!0,Hi[Wr.pipe]=!0,Hi[Wr.tilde]=!0,Hi[Wr.greaterThan]=!0,Hi[Wr.equals]=!0,Hi[Wr.dollar]=!0,Hi[Wr.caret]=!0,Hi[Wr.slash]=!0,Hi),fv={},mO="0123456789abcdefABCDEF";for(Xm=0;Xm<mO.length;Xm++)fv[mO.charCodeAt(Xm)]=!0;var Xm;function mK(t,r){var s=r,a;do{if(a=t.charCodeAt(s),fK[a])return s-1;a===Wr.backslash?s=yK(t,s)+1:s++}while(s<t.length);return s-1}function yK(t,r){var s=r,a=t.charCodeAt(s+1);if(!hK[a])if(fv[a]){var u=0;do s++,u++,a=t.charCodeAt(s+1);while(fv[a]&&u<6);u<6&&a===Wr.space&&s++}else s++;return s}var bK={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};rh.FIELDS=bK;function gK(t){var r=[],s=t.css.valueOf(),a=s,u=a.length,e=-1,l=1,n=0,c=0,p,i,o,h,d,f,b,m,y,x,v,E,S;function _(A,L){if(t.safe)s+=L,y=s.length-1;else throw t.error("Unclosed "+A,l,n-e,n)}for(;n<u;){switch(p=s.charCodeAt(n),p===Wr.newline&&(e=n,l+=1),p){case Wr.space:case Wr.tab:case Wr.newline:case Wr.cr:case Wr.feed:y=n;do y+=1,p=s.charCodeAt(y),p===Wr.newline&&(e=y,l+=1);while(p===Wr.space||p===Wr.newline||p===Wr.tab||p===Wr.cr||p===Wr.feed);S=Wr.space,h=l,o=y-e-1,c=y;break;case Wr.plus:case Wr.greaterThan:case Wr.tilde:case Wr.pipe:y=n;do y+=1,p=s.charCodeAt(y);while(p===Wr.plus||p===Wr.greaterThan||p===Wr.tilde||p===Wr.pipe);S=Wr.combinator,h=l,o=n-e,c=y;break;case Wr.asterisk:case Wr.ampersand:case Wr.bang:case Wr.comma:case Wr.equals:case Wr.dollar:case Wr.caret:case Wr.openSquare:case Wr.closeSquare:case Wr.colon:case Wr.semicolon:case Wr.openParenthesis:case Wr.closeParenthesis:y=n,S=p,h=l,o=n-e,c=y+1;break;case Wr.singleQuote:case Wr.doubleQuote:E=p===Wr.singleQuote?"'":'"',y=n;do for(d=!1,y=s.indexOf(E,y+1),y===-1&&_("quote",E),f=y;s.charCodeAt(f-1)===Wr.backslash;)f-=1,d=!d;while(d);S=Wr.str,h=l,o=n-e,c=y+1;break;default:p===Wr.slash&&s.charCodeAt(n+1)===Wr.asterisk?(y=s.indexOf("*/",n+2)+1,y===0&&_("comment","*/"),i=s.slice(n,y+1),m=i.split(`
|
|
`),b=m.length-1,b>0?(x=l+b,v=y-m[b].length):(x=l,v=e),S=Wr.comment,l=x,h=x,o=y-v):p===Wr.slash?(y=n,S=p,h=l,o=n-e,c=y+1):(y=mK(s,n),S=Wr.word,h=l,o=y-e),c=y+1;break}r.push([S,l,n-e,h,o,n,c]),v&&(e=v,v=null),n=c}return r}});var _O=ct((nh,wO)=>{"use strict";nh.__esModule=!0;nh.default=void 0;var vK=no(M1()),mv=no(U1()),xK=no(q1()),gO=no(K1()),TK=no(H1()),EK=no(X1()),yv=no(Q1()),SK=no(ev()),vO=Ym(av()),wK=no(lv()),bv=no(cv()),_K=no(dv()),AK=no(hO()),Cr=Ym(bO()),Zr=Ym(hv()),PK=Ym(na()),ds=Md(),Uu,gv;function SO(t){if(typeof WeakMap!="function")return null;var r=new WeakMap,s=new WeakMap;return(SO=function(u){return u?s:r})(t)}function Ym(t,r){if(!r&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var s=SO(r);if(s&&s.has(t))return s.get(t);var a={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in t)if(e!=="default"&&Object.prototype.hasOwnProperty.call(t,e)){var l=u?Object.getOwnPropertyDescriptor(t,e):null;l&&(l.get||l.set)?Object.defineProperty(a,e,l):a[e]=t[e]}return a.default=t,s&&s.set(t,a),a}function no(t){return t&&t.__esModule?t:{default:t}}function xO(t,r){for(var s=0;s<r.length;s++){var a=r[s];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,a.key,a)}}function CK(t,r,s){return r&&xO(t.prototype,r),s&&xO(t,s),Object.defineProperty(t,"prototype",{writable:!1}),t}var Tv=(Uu={},Uu[Zr.space]=!0,Uu[Zr.cr]=!0,Uu[Zr.feed]=!0,Uu[Zr.newline]=!0,Uu[Zr.tab]=!0,Uu),kK=Object.assign({},Tv,(gv={},gv[Zr.comment]=!0,gv));function TO(t){return{line:t[Cr.FIELDS.START_LINE],column:t[Cr.FIELDS.START_COL]}}function EO(t){return{line:t[Cr.FIELDS.END_LINE],column:t[Cr.FIELDS.END_COL]}}function $u(t,r,s,a){return{start:{line:t,column:r},end:{line:s,column:a}}}function ep(t){return $u(t[Cr.FIELDS.START_LINE],t[Cr.FIELDS.START_COL],t[Cr.FIELDS.END_LINE],t[Cr.FIELDS.END_COL])}function vv(t,r){if(t)return $u(t[Cr.FIELDS.START_LINE],t[Cr.FIELDS.START_COL],r[Cr.FIELDS.END_LINE],r[Cr.FIELDS.END_COL])}function tp(t,r){var s=t[r];if(typeof s=="string")return s.indexOf("\\")!==-1&&((0,ds.ensureObject)(t,"raws"),t[r]=(0,ds.unesc)(s),t.raws[r]===void 0&&(t.raws[r]=s)),t}function xv(t,r){for(var s=-1,a=[];(s=t.indexOf(r,s+1))!==-1;)a.push(s);return a}function DK(){var t=Array.prototype.concat.apply([],arguments);return t.filter(function(r,s){return s===t.indexOf(r)})}var IK=(function(){function t(s,a){a===void 0&&(a={}),this.rule=s,this.options=Object.assign({lossy:!1,safe:!1},a),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,Cr.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var u=vv(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new vK.default({source:u}),this.root.errorGenerator=this._errorGenerator();var e=new mv.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(e),this.current=e,this.loop()}var r=t.prototype;return r._errorGenerator=function(){var a=this;return function(u,e){return typeof a.rule=="string"?new Error(u):a.rule.error(u,e)}},r.attribute=function(){var a=[],u=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[Cr.FIELDS.TYPE]!==Zr.closeSquare;)a.push(this.currToken),this.position++;if(this.currToken[Cr.FIELDS.TYPE]!==Zr.closeSquare)return this.expected("closing square bracket",this.currToken[Cr.FIELDS.START_POS]);var e=a.length,l={source:$u(u[1],u[2],this.currToken[3],this.currToken[4]),sourceIndex:u[Cr.FIELDS.START_POS]};if(e===1&&!~[Zr.word].indexOf(a[0][Cr.FIELDS.TYPE]))return this.expected("attribute",a[0][Cr.FIELDS.START_POS]);for(var n=0,c="",p="",i=null,o=!1;n<e;){var h=a[n],d=this.content(h),f=a[n+1];switch(h[Cr.FIELDS.TYPE]){case Zr.space:if(o=!0,this.options.lossy)break;if(i){(0,ds.ensureObject)(l,"spaces",i);var b=l.spaces[i].after||"";l.spaces[i].after=b+d;var m=(0,ds.getProp)(l,"raws","spaces",i,"after")||null;m&&(l.raws.spaces[i].after=m+d)}else c=c+d,p=p+d;break;case Zr.asterisk:if(f[Cr.FIELDS.TYPE]===Zr.equals)l.operator=d,i="operator";else if((!l.namespace||i==="namespace"&&!o)&&f){c&&((0,ds.ensureObject)(l,"spaces","attribute"),l.spaces.attribute.before=c,c=""),p&&((0,ds.ensureObject)(l,"raws","spaces","attribute"),l.raws.spaces.attribute.before=c,p=""),l.namespace=(l.namespace||"")+d;var y=(0,ds.getProp)(l,"raws","namespace")||null;y&&(l.raws.namespace+=d),i="namespace"}o=!1;break;case Zr.dollar:if(i==="value"){var x=(0,ds.getProp)(l,"raws","value");l.value+="$",x&&(l.raws.value=x+"$");break}case Zr.caret:f[Cr.FIELDS.TYPE]===Zr.equals&&(l.operator=d,i="operator"),o=!1;break;case Zr.combinator:if(d==="~"&&f[Cr.FIELDS.TYPE]===Zr.equals&&(l.operator=d,i="operator"),d!=="|"){o=!1;break}f[Cr.FIELDS.TYPE]===Zr.equals?(l.operator=d,i="operator"):!l.namespace&&!l.attribute&&(l.namespace=!0),o=!1;break;case Zr.word:if(f&&this.content(f)==="|"&&a[n+2]&&a[n+2][Cr.FIELDS.TYPE]!==Zr.equals&&!l.operator&&!l.namespace)l.namespace=d,i="namespace";else if(!l.attribute||i==="attribute"&&!o){c&&((0,ds.ensureObject)(l,"spaces","attribute"),l.spaces.attribute.before=c,c=""),p&&((0,ds.ensureObject)(l,"raws","spaces","attribute"),l.raws.spaces.attribute.before=p,p=""),l.attribute=(l.attribute||"")+d;var v=(0,ds.getProp)(l,"raws","attribute")||null;v&&(l.raws.attribute+=d),i="attribute"}else if(!l.value&&l.value!==""||i==="value"&&!(o||l.quoteMark)){var E=(0,ds.unesc)(d),S=(0,ds.getProp)(l,"raws","value")||"",_=l.value||"";l.value=_+E,l.quoteMark=null,(E!==d||S)&&((0,ds.ensureObject)(l,"raws"),l.raws.value=(S||_)+d),i="value"}else{var A=d==="i"||d==="I";(l.value||l.value==="")&&(l.quoteMark||o)?(l.insensitive=A,(!A||d==="I")&&((0,ds.ensureObject)(l,"raws"),l.raws.insensitiveFlag=d),i="insensitive",c&&((0,ds.ensureObject)(l,"spaces","insensitive"),l.spaces.insensitive.before=c,c=""),p&&((0,ds.ensureObject)(l,"raws","spaces","insensitive"),l.raws.spaces.insensitive.before=p,p="")):(l.value||l.value==="")&&(i="value",l.value+=d,l.raws.value&&(l.raws.value+=d))}o=!1;break;case Zr.str:if(!l.attribute||!l.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:h[Cr.FIELDS.START_POS]});var L=(0,vO.unescapeValue)(d),j=L.unescaped,F=L.quoteMark;l.value=j,l.quoteMark=F,i="value",(0,ds.ensureObject)(l,"raws"),l.raws.value=d,o=!1;break;case Zr.equals:if(!l.attribute)return this.expected("attribute",h[Cr.FIELDS.START_POS],d);if(l.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:h[Cr.FIELDS.START_POS]});l.operator=l.operator?l.operator+d:d,i="operator",o=!1;break;case Zr.comment:if(i)if(o||f&&f[Cr.FIELDS.TYPE]===Zr.space||i==="insensitive"){var k=(0,ds.getProp)(l,"spaces",i,"after")||"",U=(0,ds.getProp)(l,"raws","spaces",i,"after")||k;(0,ds.ensureObject)(l,"raws","spaces",i),l.raws.spaces[i].after=U+d}else{var z=l[i]||"",C=(0,ds.getProp)(l,"raws",i)||z;(0,ds.ensureObject)(l,"raws"),l.raws[i]=C+d}else p=p+d;break;default:return this.error('Unexpected "'+d+'" found.',{index:h[Cr.FIELDS.START_POS]})}n++}tp(l,"attribute"),tp(l,"namespace"),this.newNode(new vO.default(l)),this.position++},r.parseWhitespaceEquivalentTokens=function(a){a<0&&(a=this.tokens.length);var u=this.position,e=[],l="",n=void 0;do if(Tv[this.currToken[Cr.FIELDS.TYPE]])this.options.lossy||(l+=this.content());else if(this.currToken[Cr.FIELDS.TYPE]===Zr.comment){var c={};l&&(c.before=l,l=""),n=new gO.default({value:this.content(),source:ep(this.currToken),sourceIndex:this.currToken[Cr.FIELDS.START_POS],spaces:c}),e.push(n)}while(++this.position<a);if(l){if(n)n.spaces.after=l;else if(!this.options.lossy){var p=this.tokens[u],i=this.tokens[this.position-1];e.push(new yv.default({value:"",source:$u(p[Cr.FIELDS.START_LINE],p[Cr.FIELDS.START_COL],i[Cr.FIELDS.END_LINE],i[Cr.FIELDS.END_COL]),sourceIndex:p[Cr.FIELDS.START_POS],spaces:{before:l,after:""}}))}}return e},r.convertWhitespaceNodesToSpace=function(a,u){var e=this;u===void 0&&(u=!1);var l="",n="";a.forEach(function(p){var i=e.lossySpace(p.spaces.before,u),o=e.lossySpace(p.rawSpaceBefore,u);l+=i+e.lossySpace(p.spaces.after,u&&i.length===0),n+=i+p.value+e.lossySpace(p.rawSpaceAfter,u&&o.length===0)}),n===l&&(n=void 0);var c={space:l,rawSpace:n};return c},r.isNamedCombinator=function(a){return a===void 0&&(a=this.position),this.tokens[a+0]&&this.tokens[a+0][Cr.FIELDS.TYPE]===Zr.slash&&this.tokens[a+1]&&this.tokens[a+1][Cr.FIELDS.TYPE]===Zr.word&&this.tokens[a+2]&&this.tokens[a+2][Cr.FIELDS.TYPE]===Zr.slash},r.namedCombinator=function(){if(this.isNamedCombinator()){var a=this.content(this.tokens[this.position+1]),u=(0,ds.unesc)(a).toLowerCase(),e={};u!==a&&(e.value="/"+a+"/");var l=new bv.default({value:"/"+u+"/",source:$u(this.currToken[Cr.FIELDS.START_LINE],this.currToken[Cr.FIELDS.START_COL],this.tokens[this.position+2][Cr.FIELDS.END_LINE],this.tokens[this.position+2][Cr.FIELDS.END_COL]),sourceIndex:this.currToken[Cr.FIELDS.START_POS],raws:e});return this.position=this.position+3,l}else this.unexpected()},r.combinator=function(){var a=this;if(this.content()==="|")return this.namespace();var u=this.locateNextMeaningfulToken(this.position);if(u<0||this.tokens[u][Cr.FIELDS.TYPE]===Zr.comma||this.tokens[u][Cr.FIELDS.TYPE]===Zr.closeParenthesis){var e=this.parseWhitespaceEquivalentTokens(u);if(e.length>0){var l=this.current.last;if(l){var n=this.convertWhitespaceNodesToSpace(e),c=n.space,p=n.rawSpace;p!==void 0&&(l.rawSpaceAfter+=p),l.spaces.after+=c}else e.forEach(function(S){return a.newNode(S)})}return}var i=this.currToken,o=void 0;u>this.position&&(o=this.parseWhitespaceEquivalentTokens(u));var h;if(this.isNamedCombinator()?h=this.namedCombinator():this.currToken[Cr.FIELDS.TYPE]===Zr.combinator?(h=new bv.default({value:this.content(),source:ep(this.currToken),sourceIndex:this.currToken[Cr.FIELDS.START_POS]}),this.position++):Tv[this.currToken[Cr.FIELDS.TYPE]]||o||this.unexpected(),h){if(o){var d=this.convertWhitespaceNodesToSpace(o),f=d.space,b=d.rawSpace;h.spaces.before=f,h.rawSpaceBefore=b}}else{var m=this.convertWhitespaceNodesToSpace(o,!0),y=m.space,x=m.rawSpace;x||(x=y);var v={},E={spaces:{}};y.endsWith(" ")&&x.endsWith(" ")?(v.before=y.slice(0,y.length-1),E.spaces.before=x.slice(0,x.length-1)):y.startsWith(" ")&&x.startsWith(" ")?(v.after=y.slice(1),E.spaces.after=x.slice(1)):E.value=x,h=new bv.default({value:" ",source:vv(i,this.tokens[this.position-1]),sourceIndex:i[Cr.FIELDS.START_POS],spaces:v,raws:E})}return this.currToken&&this.currToken[Cr.FIELDS.TYPE]===Zr.space&&(h.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(h)},r.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var a=new mv.default({source:{start:TO(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][Cr.FIELDS.START_POS]});this.current.parent.append(a),this.current=a,this.position++},r.comment=function(){var a=this.currToken;this.newNode(new gO.default({value:this.content(),source:ep(a),sourceIndex:a[Cr.FIELDS.START_POS]})),this.position++},r.error=function(a,u){throw this.root.error(a,u)},r.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[Cr.FIELDS.START_POS]})},r.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[Cr.FIELDS.START_POS])},r.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[Cr.FIELDS.START_POS])},r.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[Cr.FIELDS.START_POS])},r.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[Cr.FIELDS.START_POS])},r.namespace=function(){var a=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[Cr.FIELDS.TYPE]===Zr.word)return this.position++,this.word(a);if(this.nextToken[Cr.FIELDS.TYPE]===Zr.asterisk)return this.position++,this.universal(a);this.unexpectedPipe()},r.nesting=function(){if(this.nextToken){var a=this.content(this.nextToken);if(a==="|"){this.position++;return}}var u=this.currToken;this.newNode(new _K.default({value:this.content(),source:ep(u),sourceIndex:u[Cr.FIELDS.START_POS]})),this.position++},r.parentheses=function(){var a=this.current.last,u=1;if(this.position++,a&&a.type===PK.PSEUDO){var e=new mv.default({source:{start:TO(this.tokens[this.position])},sourceIndex:this.tokens[this.position][Cr.FIELDS.START_POS]}),l=this.current;for(a.append(e),this.current=e;this.position<this.tokens.length&&u;)this.currToken[Cr.FIELDS.TYPE]===Zr.openParenthesis&&u++,this.currToken[Cr.FIELDS.TYPE]===Zr.closeParenthesis&&u--,u?this.parse():(this.current.source.end=EO(this.currToken),this.current.parent.source.end=EO(this.currToken),this.position++);this.current=l}else{for(var n=this.currToken,c="(",p;this.position<this.tokens.length&&u;)this.currToken[Cr.FIELDS.TYPE]===Zr.openParenthesis&&u++,this.currToken[Cr.FIELDS.TYPE]===Zr.closeParenthesis&&u--,p=this.currToken,c+=this.parseParenthesisToken(this.currToken),this.position++;a?a.appendToPropertyAndEscape("value",c,c):this.newNode(new yv.default({value:c,source:$u(n[Cr.FIELDS.START_LINE],n[Cr.FIELDS.START_COL],p[Cr.FIELDS.END_LINE],p[Cr.FIELDS.END_COL]),sourceIndex:n[Cr.FIELDS.START_POS]}))}if(u)return this.expected("closing parenthesis",this.currToken[Cr.FIELDS.START_POS])},r.pseudo=function(){for(var a=this,u="",e=this.currToken;this.currToken&&this.currToken[Cr.FIELDS.TYPE]===Zr.colon;)u+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[Cr.FIELDS.TYPE]===Zr.word)this.splitWord(!1,function(l,n){u+=l,a.newNode(new SK.default({value:u,source:vv(e,a.currToken),sourceIndex:e[Cr.FIELDS.START_POS]})),n>1&&a.nextToken&&a.nextToken[Cr.FIELDS.TYPE]===Zr.openParenthesis&&a.error("Misplaced parenthesis.",{index:a.nextToken[Cr.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[Cr.FIELDS.START_POS])},r.space=function(){var a=this.content();this.position===0||this.prevToken[Cr.FIELDS.TYPE]===Zr.comma||this.prevToken[Cr.FIELDS.TYPE]===Zr.openParenthesis||this.current.nodes.every(function(u){return u.type==="comment"})?(this.spaces=this.optionalSpace(a),this.position++):this.position===this.tokens.length-1||this.nextToken[Cr.FIELDS.TYPE]===Zr.comma||this.nextToken[Cr.FIELDS.TYPE]===Zr.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(a),this.position++):this.combinator()},r.string=function(){var a=this.currToken;this.newNode(new yv.default({value:this.content(),source:ep(a),sourceIndex:a[Cr.FIELDS.START_POS]})),this.position++},r.universal=function(a){var u=this.nextToken;if(u&&this.content(u)==="|")return this.position++,this.namespace();var e=this.currToken;this.newNode(new wK.default({value:this.content(),source:ep(e),sourceIndex:e[Cr.FIELDS.START_POS]}),a),this.position++},r.splitWord=function(a,u){for(var e=this,l=this.nextToken,n=this.content();l&&~[Zr.dollar,Zr.caret,Zr.equals,Zr.word].indexOf(l[Cr.FIELDS.TYPE]);){this.position++;var c=this.content();if(n+=c,c.lastIndexOf("\\")===c.length-1){var p=this.nextToken;p&&p[Cr.FIELDS.TYPE]===Zr.space&&(n+=this.requiredSpace(this.content(p)),this.position++)}l=this.nextToken}var i=xv(n,".").filter(function(f){var b=n[f-1]==="\\",m=/^\d+\.\d+%$/.test(n);return!b&&!m}),o=xv(n,"#").filter(function(f){return n[f-1]!=="\\"}),h=xv(n,"#{");h.length&&(o=o.filter(function(f){return!~h.indexOf(f)}));var d=(0,AK.default)(DK([0].concat(i,o)));d.forEach(function(f,b){var m=d[b+1]||n.length,y=n.slice(f,m);if(b===0&&u)return u.call(e,y,d.length);var x,v=e.currToken,E=v[Cr.FIELDS.START_POS]+d[b],S=$u(v[1],v[2]+f,v[3],v[2]+(m-1));if(~i.indexOf(f)){var _={value:y.slice(1),source:S,sourceIndex:E};x=new xK.default(tp(_,"value"))}else if(~o.indexOf(f)){var A={value:y.slice(1),source:S,sourceIndex:E};x=new TK.default(tp(A,"value"))}else{var L={value:y,source:S,sourceIndex:E};tp(L,"value"),x=new EK.default(L)}e.newNode(x,a),a=null}),this.position++},r.word=function(a){var u=this.nextToken;return u&&this.content(u)==="|"?(this.position++,this.namespace()):this.splitWord(a)},r.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},r.parse=function(a){switch(this.currToken[Cr.FIELDS.TYPE]){case Zr.space:this.space();break;case Zr.comment:this.comment();break;case Zr.openParenthesis:this.parentheses();break;case Zr.closeParenthesis:a&&this.missingParenthesis();break;case Zr.openSquare:this.attribute();break;case Zr.dollar:case Zr.caret:case Zr.equals:case Zr.word:this.word();break;case Zr.colon:this.pseudo();break;case Zr.comma:this.comma();break;case Zr.asterisk:this.universal();break;case Zr.ampersand:this.nesting();break;case Zr.slash:case Zr.combinator:this.combinator();break;case Zr.str:this.string();break;case Zr.closeSquare:this.missingSquareBracket();case Zr.semicolon:this.missingBackslash();default:this.unexpected()}},r.expected=function(a,u,e){if(Array.isArray(a)){var l=a.pop();a=a.join(", ")+" or "+l}var n=/^[aeiou]/.test(a[0])?"an":"a";return e?this.error("Expected "+n+" "+a+', found "'+e+'" instead.',{index:u}):this.error("Expected "+n+" "+a+".",{index:u})},r.requiredSpace=function(a){return this.options.lossy?" ":a},r.optionalSpace=function(a){return this.options.lossy?"":a},r.lossySpace=function(a,u){return this.options.lossy?u?" ":"":a},r.parseParenthesisToken=function(a){var u=this.content(a);return a[Cr.FIELDS.TYPE]===Zr.space?this.requiredSpace(u):u},r.newNode=function(a,u){return u&&(/^ +$/.test(u)&&(this.options.lossy||(this.spaces=(this.spaces||"")+u),u=!0),a.namespace=u,tp(a,"namespace")),this.spaces&&(a.spaces.before=this.spaces,this.spaces=""),this.current.append(a)},r.content=function(a){return a===void 0&&(a=this.currToken),this.css.slice(a[Cr.FIELDS.START_POS],a[Cr.FIELDS.END_POS])},r.locateNextMeaningfulToken=function(a){a===void 0&&(a=this.position+1);for(var u=a;u<this.tokens.length;)if(kK[this.tokens[u][Cr.FIELDS.TYPE]]){u++;continue}else return u;return-1},CK(t,[{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]}}]),t})();nh.default=IK;wO.exports=nh.default});var PO=ct((ih,AO)=>{"use strict";ih.__esModule=!0;ih.default=void 0;var OK=NK(_O());function NK(t){return t&&t.__esModule?t:{default:t}}var FK=(function(){function t(s,a){this.func=s||function(){},this.funcRes=null,this.options=a}var r=t.prototype;return r._shouldUpdateSelector=function(a,u){u===void 0&&(u={});var e=Object.assign({},this.options,u);return e.updateSelector===!1?!1:typeof a!="string"},r._isLossy=function(a){a===void 0&&(a={});var u=Object.assign({},this.options,a);return u.lossless===!1},r._root=function(a,u){u===void 0&&(u={});var e=new OK.default(a,this._parseOptions(u));return e.root},r._parseOptions=function(a){return{lossy:this._isLossy(a)}},r._run=function(a,u){var e=this;return u===void 0&&(u={}),new Promise(function(l,n){try{var c=e._root(a,u);Promise.resolve(e.func(c)).then(function(p){var i=void 0;return e._shouldUpdateSelector(a,u)&&(i=c.toString(),a.selector=i),{transform:p,root:c,string:i}}).then(l,n)}catch(p){n(p);return}})},r._runSync=function(a,u){u===void 0&&(u={});var e=this._root(a,u),l=this.func(e);if(l&&typeof l.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var n=void 0;return u.updateSelector&&typeof a!="string"&&(n=e.toString(),a.selector=n),{transform:l,root:e,string:n}},r.ast=function(a,u){return this._run(a,u).then(function(e){return e.root})},r.astSync=function(a,u){return this._runSync(a,u).root},r.transform=function(a,u){return this._run(a,u).then(function(e){return e.transform})},r.transformSync=function(a,u){return this._runSync(a,u).transform},r.process=function(a,u){return this._run(a,u).then(function(e){return e.string||e.root.toString()})},r.processSync=function(a,u){var e=this._runSync(a,u);return e.string||e.root.toString()},t})();ih.default=FK;AO.exports=ih.default});var CO=ct(rs=>{"use strict";rs.__esModule=!0;rs.universal=rs.tag=rs.string=rs.selector=rs.root=rs.pseudo=rs.nesting=rs.id=rs.comment=rs.combinator=rs.className=rs.attribute=void 0;var jK=io(av()),LK=io(q1()),RK=io(cv()),MK=io(K1()),BK=io(H1()),UK=io(dv()),$K=io(ev()),VK=io(M1()),qK=io(U1()),WK=io(Q1()),KK=io(X1()),zK=io(lv());function io(t){return t&&t.__esModule?t:{default:t}}var HK=function(r){return new jK.default(r)};rs.attribute=HK;var GK=function(r){return new LK.default(r)};rs.className=GK;var JK=function(r){return new RK.default(r)};rs.combinator=JK;var XK=function(r){return new MK.default(r)};rs.comment=XK;var YK=function(r){return new BK.default(r)};rs.id=YK;var QK=function(r){return new UK.default(r)};rs.nesting=QK;var ZK=function(r){return new $K.default(r)};rs.pseudo=ZK;var ez=function(r){return new VK.default(r)};rs.root=ez;var tz=function(r){return new qK.default(r)};rs.selector=tz;var rz=function(r){return new WK.default(r)};rs.string=rz;var nz=function(r){return new KK.default(r)};rs.tag=nz;var iz=function(r){return new zK.default(r)};rs.universal=iz});var OO=ct(Oi=>{"use strict";Oi.__esModule=!0;Oi.isComment=Oi.isCombinator=Oi.isClassName=Oi.isAttribute=void 0;Oi.isContainer=yz;Oi.isIdentifier=void 0;Oi.isNamespace=bz;Oi.isNesting=void 0;Oi.isNode=Ev;Oi.isPseudo=void 0;Oi.isPseudoClass=mz;Oi.isPseudoElement=IO;Oi.isUniversal=Oi.isTag=Oi.isString=Oi.isSelector=Oi.isRoot=void 0;var hs=na(),Oa,sz=(Oa={},Oa[hs.ATTRIBUTE]=!0,Oa[hs.CLASS]=!0,Oa[hs.COMBINATOR]=!0,Oa[hs.COMMENT]=!0,Oa[hs.ID]=!0,Oa[hs.NESTING]=!0,Oa[hs.PSEUDO]=!0,Oa[hs.ROOT]=!0,Oa[hs.SELECTOR]=!0,Oa[hs.STRING]=!0,Oa[hs.TAG]=!0,Oa[hs.UNIVERSAL]=!0,Oa);function Ev(t){return typeof t=="object"&&sz[t.type]}function so(t,r){return Ev(r)&&r.type===t}var kO=so.bind(null,hs.ATTRIBUTE);Oi.isAttribute=kO;var az=so.bind(null,hs.CLASS);Oi.isClassName=az;var oz=so.bind(null,hs.COMBINATOR);Oi.isCombinator=oz;var lz=so.bind(null,hs.COMMENT);Oi.isComment=lz;var uz=so.bind(null,hs.ID);Oi.isIdentifier=uz;var cz=so.bind(null,hs.NESTING);Oi.isNesting=cz;var Sv=so.bind(null,hs.PSEUDO);Oi.isPseudo=Sv;var pz=so.bind(null,hs.ROOT);Oi.isRoot=pz;var dz=so.bind(null,hs.SELECTOR);Oi.isSelector=dz;var hz=so.bind(null,hs.STRING);Oi.isString=hz;var DO=so.bind(null,hs.TAG);Oi.isTag=DO;var fz=so.bind(null,hs.UNIVERSAL);Oi.isUniversal=fz;function IO(t){return Sv(t)&&t.value&&(t.value.startsWith("::")||t.value.toLowerCase()===":before"||t.value.toLowerCase()===":after"||t.value.toLowerCase()===":first-letter"||t.value.toLowerCase()===":first-line")}function mz(t){return Sv(t)&&!IO(t)}function yz(t){return!!(Ev(t)&&t.walk)}function bz(t){return kO(t)||DO(t)}});var NO=ct(So=>{"use strict";So.__esModule=!0;var wv=na();Object.keys(wv).forEach(function(t){t==="default"||t==="__esModule"||t in So&&So[t]===wv[t]||(So[t]=wv[t])});var _v=CO();Object.keys(_v).forEach(function(t){t==="default"||t==="__esModule"||t in So&&So[t]===_v[t]||(So[t]=_v[t])});var Av=OO();Object.keys(Av).forEach(function(t){t==="default"||t==="__esModule"||t in So&&So[t]===Av[t]||(So[t]=Av[t])})});var Yl=ct((sh,jO)=>{"use strict";sh.__esModule=!0;sh.default=void 0;var gz=Tz(PO()),vz=xz(NO());function FO(t){if(typeof WeakMap!="function")return null;var r=new WeakMap,s=new WeakMap;return(FO=function(u){return u?s:r})(t)}function xz(t,r){if(!r&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var s=FO(r);if(s&&s.has(t))return s.get(t);var a={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in t)if(e!=="default"&&Object.prototype.hasOwnProperty.call(t,e)){var l=u?Object.getOwnPropertyDescriptor(t,e):null;l&&(l.get||l.set)?Object.defineProperty(a,e,l):a[e]=t[e]}return a.default=t,s&&s.set(t,a),a}function Tz(t){return t&&t.__esModule?t:{default:t}}var Pv=function(r){return new gz.default(r)};Object.assign(Pv,vz);delete Pv.__esModule;var Ez=Pv;sh.default=Ez;jO.exports=sh.default});var VO=ct((wpe,Ov)=>{var{AtRule:Sz,Rule:RO}=Ho(),MO=Yl();function Dv(t,r){let s;try{MO(a=>{s=a}).processSync(t)}catch(a){throw t.includes(":")?r?r.error("Missed semicolon"):a:r?r.error(a.message):a}return s.at(0)}function BO(t,r){let s=!1;return t.each(a=>{if(a.type==="nesting"){let u=r.clone({});a.value!=="&"?a.replaceWith(Dv(a.value.replace("&",u.toString()))):a.replaceWith(u),s=!0}else"nodes"in a&&a.nodes&&BO(a,r)&&(s=!0)}),s}function UO(t,r){let s=[];return t.selectors.forEach(a=>{let u=Dv(a,t);r.selectors.forEach(e=>{if(!e)return;let l=Dv(e,r);BO(l,u)||(l.prepend(MO.combinator({value:" "})),l.prepend(u.clone({}))),s.push(l.toString())})}),s}function Qm(t,r){let s=t.prev();for(r.after(t);s&&s.type==="comment";){let a=s.prev();r.after(s),s=a}return t}function wz(t){return function r(s,a,u,e=u){let l=[];if(a.each(n=>{n.type==="rule"&&u?e&&(n.selectors=UO(s,n)):n.type==="atrule"&&n.nodes?t[n.name]?r(s,n,e):a[Iv]!==!1&&l.push(n):l.push(n)}),u&&l.length){let n=s.clone({nodes:[]});for(let c of l)n.append(c);a.prepend(n)}}}function Cv(t,r,s){let a=new RO({nodes:[],selector:t});return a.append(r),s.after(a),a}function LO(t,r){let s={};for(let a of t)s[a]=!0;if(r)for(let a of r)s[a.replace(/^@/,"")]=!0;return s}function _z(t){t=t.trim();let r=t.match(/^\((.*)\)$/);if(!r)return{selector:t,type:"basic"};let s=r[1].match(/^(with(?:out)?):(.+)$/);if(s){let a=s[1]==="with",u=Object.fromEntries(s[2].trim().split(/\s+/).map(l=>[l,!0]));if(a&&u.all)return{type:"noop"};let e=l=>!!u[l];return u.all?e=()=>!0:a&&(e=l=>l==="all"?!1:!u[l]),{escapes:e,type:"withrules"}}return{type:"unknown"}}function Az(t){let r=[],s=t.parent;for(;s&&s instanceof Sz;)r.push(s),s=s.parent;return r}function Pz(t){let r=t[$O];if(!r)t.after(t.nodes);else{let s=t.nodes,a,u=-1,e,l,n,c=Az(t);if(c.forEach((p,i)=>{if(r(p.name))a=p,u=i,l=n;else{let o=n;n=p.clone({nodes:[]}),o&&n.append(o),e=e||n}}),a?l?(e.append(s),a.after(l)):a.after(s):t.after(s),t.next()&&a){let p;c.slice(0,u+1).forEach((i,o,h)=>{let d=p;p=i.clone({nodes:[]}),d&&p.append(d);let f=[],m=(h[o-1]||t).next();for(;m;)f.push(m),m=m.next();p.append(f)}),p&&(l||s[s.length-1]).after(p)}}t.remove()}var Iv=Symbol("rootRuleMergeSel"),$O=Symbol("rootRuleEscapes");function Cz(t){let{params:r}=t,{escapes:s,selector:a,type:u}=_z(r);if(u==="unknown")throw t.error(`Unknown @${t.name} parameter ${JSON.stringify(r)}`);if(u==="basic"&&a){let e=new RO({nodes:t.nodes,selector:a});t.removeAll(),t.append(e)}t[$O]=s,t[Iv]=s?!s("all"):u==="noop"}var kv=Symbol("hasRootRule");Ov.exports=(t={})=>{let r=LO(["media","supports","layer","container","starting-style"],t.bubble),s=wz(r),a=LO(["document","font-face","keyframes","-webkit-keyframes","-moz-keyframes"],t.unwrap),u=(t.rootRuleName||"at-root").replace(/^@/,""),e=t.preserveEmpty;return{Once(l){l.walkAtRules(u,n=>{Cz(n),l[kv]=!0})},postcssPlugin:"postcss-nested",RootExit(l){l[kv]&&(l.walkAtRules(u,Pz),l[kv]=!1)},Rule(l){let n=!1,c=l,p=!1,i=[];l.each(o=>{o.type==="rule"?(i.length&&(c=Cv(l.selector,i,c),i=[]),p=!0,n=!0,o.selectors=UO(l,o),c=Qm(o,c)):o.type==="atrule"?(i.length&&(c=Cv(l.selector,i,c),i=[]),o.name===u?(n=!0,s(l,o,!0,o[Iv]),c=Qm(o,c)):r[o.name]?(p=!0,n=!0,s(l,o,!0),c=Qm(o,c)):a[o.name]?(p=!0,n=!0,s(l,o,!1),c=Qm(o,c)):p&&i.push(o)):o.type==="decl"&&p&&i.push(o)}),i.length&&(c=Cv(l.selector,i,c)),n&&e!==!0&&(l.raws.semicolon=!0,l.nodes.length===0&&l.remove())}}};Ov.exports.postcss=!0});var zO=ct((_pe,KO)=>{"use strict";var qO=/-(\w|$)/g,WO=(t,r)=>r.toUpperCase(),kz=t=>(t=t.toLowerCase(),t==="float"?"cssFloat":t.startsWith("-ms-")?t.substr(1).replace(qO,WO):t.replace(qO,WO));KO.exports=kz});var jv=ct((Ape,HO)=>{var Dz=zO(),Iz={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 Nv(t){return typeof t.nodes>"u"?!0:Fv(t)}function Fv(t){let r,s={};return t.each(a=>{if(a.type==="atrule")r="@"+a.name,a.params&&(r+=" "+a.params),typeof s[r]>"u"?s[r]=Nv(a):Array.isArray(s[r])?s[r].push(Nv(a)):s[r]=[s[r],Nv(a)];else if(a.type==="rule"){let u=Fv(a);if(s[a.selector])for(let e in u)s[a.selector][e]=u[e];else s[a.selector]=u}else if(a.type==="decl"){a.prop[0]==="-"&&a.prop[1]==="-"||a.parent&&a.parent.selector===":export"?r=a.prop:r=Dz(a.prop);let u=a.value;!isNaN(a.value)&&Iz[r]&&(u=parseFloat(a.value)),a.important&&(u+=" !important"),typeof s[r]>"u"?s[r]=u:Array.isArray(s[r])?s[r].push(u):s[r]=[s[r],u]}}),s}HO.exports=Fv});var Zm=ct((Ppe,YO)=>{var ah=Ho(),GO=/\s*!important\s*$/i,Oz={"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 Nz(t){return t.replace(/([A-Z])/g,"-$1").replace(/^ms-/,"-ms-").toLowerCase()}function JO(t,r,s){s===!1||s===null||(r.startsWith("--")||(r=Nz(r)),typeof s=="number"&&(s===0||Oz[r]?s=s.toString():s+="px"),r==="css-float"&&(r="float"),GO.test(s)?(s=s.replace(GO,""),t.push(ah.decl({prop:r,value:s,important:!0}))):t.push(ah.decl({prop:r,value:s})))}function XO(t,r,s){let a=ah.atRule({name:r[1],params:r[3]||""});typeof s=="object"&&(a.nodes=[],Lv(s,a)),t.push(a)}function Lv(t,r){let s,a,u;for(s in t)if(a=t[s],!(a===null||typeof a>"u"))if(s[0]==="@"){let e=s.match(/@(\S+)(\s+([\W\w]*)\s*)?/);if(Array.isArray(a))for(let l of a)XO(r,e,l);else XO(r,e,a)}else if(Array.isArray(a))for(let e of a)JO(r,s,e);else typeof a=="object"?(u=ah.rule({selector:s}),Lv(a,u),r.push(u)):JO(r,s,a)}YO.exports=function(t){let r=ah.root();return Lv(t,r),r}});var Rv=ct((Cpe,QO)=>{var Fz=jv();QO.exports=function(r){return console&&console.warn&&r.warnings().forEach(s=>{let a=s.plugin||"PostCSS";console.warn(a+": "+s.text)}),Fz(r.root)}});var eN=ct((kpe,ZO)=>{var jz=Ho(),Lz=Rv(),Rz=Zm();ZO.exports=function(r){let s=jz(r);return async a=>{let u=await s.process(a,{parser:Rz,from:void 0});return Lz(u)}}});var rN=ct((Dpe,tN)=>{var Mz=Ho(),Bz=Rv(),Uz=Zm();tN.exports=function(t){let r=Mz(t);return s=>{let a=r.process(s,{parser:Uz,from:void 0});return Bz(a)}}});var iN=ct((Ipe,nN)=>{var $z=jv(),Vz=Zm(),qz=eN(),Wz=rN();nN.exports={objectify:$z,parse:Vz,async:qz,sync:Wz}});var Uv=ct(Bv=>{"use strict";Object.defineProperty(Bv,"__esModule",{value:!0});Object.defineProperty(Bv,"default",{enumerable:!0,get:function(){return sN}});var Kz=Mv(Ho()),zz=Mv(VO()),Hz=Mv(iN());function Mv(t){return t&&t.__esModule?t:{default:t}}function sN(t){return Array.isArray(t)?t.flatMap(r=>(0,Kz.default)([(0,zz.default)({bubble:["screen"]})]).process(r,{parser:Hz.default}).root.nodes):sN([t])}});var rp=ct($v=>{"use strict";Object.defineProperty($v,"__esModule",{value:!0});Object.defineProperty($v,"default",{enumerable:!0,get:function(){return Gz}});function Gz(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;let r=Object.getPrototypeOf(t);return r===null||Object.getPrototypeOf(r)===null}});var ey=ct(Vv=>{"use strict";Object.defineProperty(Vv,"__esModule",{value:!0});Object.defineProperty(Vv,"default",{enumerable:!0,get:function(){return Yz}});var Jz=Xz(Yl());function Xz(t){return t&&t.__esModule?t:{default:t}}function Yz(t,r,s=!1){if(t==="")return r;let a=typeof r=="string"?(0,Jz.default)().astSync(r):r;return a.walkClasses(u=>{let e=u.value,l=s&&e.startsWith("-");u.value=l?`-${t}${e.slice(1)}`:`${t}${e}`}),typeof r=="string"?a.toString():a}});var ty=ct(qv=>{"use strict";Object.defineProperty(qv,"__esModule",{value:!0});Object.defineProperty(qv,"default",{enumerable:!0,get:function(){return Qz}});function Qz(t){return t.replace(/\\,/g,"\\2c ")}});var aN=ct(Wv=>{"use strict";Object.defineProperty(Wv,"__esModule",{value:!0});Object.defineProperty(Wv,"default",{enumerable:!0,get:function(){return Zz}});var Zz={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 zv=ct(Kv=>{"use strict";Object.defineProperty(Kv,"__esModule",{value:!0});function eH(t,r){for(var s in r)Object.defineProperty(t,s,{enumerable:!0,get:r[s]})}eH(Kv,{parseColor:function(){return aH},formatColor:function(){return oH}});var oN=tH(aN());function tH(t){return t&&t.__esModule?t:{default:t}}var rH=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,nH=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,Ql=/(?:\d+|\d*\.\d+)%?/,ry=/(?:\s*,\s*|\s+)/,lN=/\s*[,/]\s*/,Zl=/var\(--(?:[^ )]*?)(?:,(?:[^ )]*?|var\(--[^ )]*?\)))?\)/,iH=new RegExp(`^(rgba?)\\(\\s*(${Ql.source}|${Zl.source})(?:${ry.source}(${Ql.source}|${Zl.source}))?(?:${ry.source}(${Ql.source}|${Zl.source}))?(?:${lN.source}(${Ql.source}|${Zl.source}))?\\s*\\)$`),sH=new RegExp(`^(hsla?)\\(\\s*((?:${Ql.source})(?:deg|rad|grad|turn)?|${Zl.source})(?:${ry.source}(${Ql.source}|${Zl.source}))?(?:${ry.source}(${Ql.source}|${Zl.source}))?(?:${lN.source}(${Ql.source}|${Zl.source}))?\\s*\\)$`);function aH(t,{loose:r=!1}={}){var s,a;if(typeof t!="string")return null;if(t=t.trim(),t==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(t in oN.default)return{mode:"rgb",color:oN.default[t].map(c=>c.toString())};let u=t.replace(nH,(c,p,i,o,h)=>["#",p,p,i,i,o,o,h?h+h:""].join("")).match(rH);if(u!==null)return{mode:"rgb",color:[parseInt(u[1],16),parseInt(u[2],16),parseInt(u[3],16)].map(c=>c.toString()),alpha:u[4]?(parseInt(u[4],16)/255).toString():void 0};var e;let l=(e=t.match(iH))!==null&&e!==void 0?e:t.match(sH);if(l===null)return null;let n=[l[2],l[3],l[4]].filter(Boolean).map(c=>c.toString());return n.length===2&&n[0].startsWith("var(")?{mode:l[1],color:[n[0]],alpha:n[1]}:!r&&n.length!==3||n.length<3&&!n.some(c=>/^var\(.*?\)$/.test(c))?null:{mode:l[1],color:n,alpha:(s=l[5])===null||s===void 0||(a=s.toString)===null||a===void 0?void 0:a.call(s)}}function oH({mode:t,color:r,alpha:s}){let a=s!==void 0;return t==="rgba"||t==="hsla"?`${t}(${r.join(", ")}${a?`, ${s}`:""})`:`${t}(${r.join(" ")}${a?` / ${s}`:""})`}});var iy=ct(Hv=>{"use strict";Object.defineProperty(Hv,"__esModule",{value:!0});function lH(t,r){for(var s in r)Object.defineProperty(t,s,{enumerable:!0,get:r[s]})}lH(Hv,{withAlphaValue:function(){return uH},default:function(){return cH}});var ny=zv();function uH(t,r,s){if(typeof t=="function")return t({opacityValue:r});let a=(0,ny.parseColor)(t,{loose:!0});return a===null?s:(0,ny.formatColor)({...a,alpha:r})}function cH({color:t,property:r,variable:s}){let a=[].concat(r);if(typeof t=="function")return{[s]:"1",...Object.fromEntries(a.map(e=>[e,t({opacityVariable:s,opacityValue:`var(${s}, 1)`})]))};let u=(0,ny.parseColor)(t);return u===null?Object.fromEntries(a.map(e=>[e,t])):u.alpha!==void 0?Object.fromEntries(a.map(e=>[e,t])):{[s]:"1",...Object.fromEntries(a.map(e=>[e,(0,ny.formatColor)({...u,alpha:`var(${s}, 1)`})]))}}});var np=ct(Gv=>{"use strict";Object.defineProperty(Gv,"__esModule",{value:!0});Object.defineProperty(Gv,"splitAtTopLevelOnly",{enumerable:!0,get:function(){return pH}});function pH(t,r){let s=[],a=[],u=0,e=!1;for(let l=0;l<t.length;l++){let n=t[l];s.length===0&&n===r[0]&&!e&&(r.length===1||t.slice(l,l+r.length)===r)&&(a.push(t.slice(u,l)),u=l+r.length),e=e?!1:n==="\\",n==="("||n==="["||n==="{"?s.push(n):(n===")"&&s[s.length-1]==="("||n==="]"&&s[s.length-1]==="["||n==="}"&&s[s.length-1]==="{")&&s.pop()}return a.push(t.slice(u)),a}});var Xv=ct(Jv=>{"use strict";Object.defineProperty(Jv,"__esModule",{value:!0});function dH(t,r){for(var s in r)Object.defineProperty(t,s,{enumerable:!0,get:r[s]})}dH(Jv,{parseBoxShadowValue:function(){return yH},formatBoxShadowValue:function(){return bH}});var hH=np(),fH=new Set(["inset","inherit","initial","revert","unset"]),mH=/\ +(?![^(]*\))/g,uN=/^-?(\d+|\.\d+)(.*?)$/g;function yH(t){return(0,hH.splitAtTopLevelOnly)(t,",").map(s=>{let a=s.trim(),u={raw:a},e=a.split(mH),l=new Set;for(let n of e)uN.lastIndex=0,!l.has("KEYWORD")&&fH.has(n)?(u.keyword=n,l.add("KEYWORD")):uN.test(n)?l.has("X")?l.has("Y")?l.has("BLUR")?l.has("SPREAD")||(u.spread=n,l.add("SPREAD")):(u.blur=n,l.add("BLUR")):(u.y=n,l.add("Y")):(u.x=n,l.add("X")):u.color?(u.unknown||(u.unknown=[]),u.unknown.push(n)):u.color=n;return u.valid=u.x!==void 0&&u.y!==void 0,u})}function bH(t){return t.map(r=>r.valid?[r.keyword,r.x,r.y,r.blur,r.spread,r.color].filter(Boolean).join(" "):r.raw).join(", ")}});var oh=ct(Qv=>{"use strict";Object.defineProperty(Qv,"__esModule",{value:!0});function gH(t,r){for(var s in r)Object.defineProperty(t,s,{enumerable:!0,get:r[s]})}gH(Qv,{normalize:function(){return eu},normalizeAttributeSelectors:function(){return SH},url:function(){return cN},number:function(){return pN},percentage:function(){return dN},length:function(){return hN},lineWidth:function(){return CH},shadow:function(){return kH},color:function(){return DH},image:function(){return IH},gradient:function(){return fN},position:function(){return FH},familyName:function(){return jH},genericName:function(){return RH},absoluteSize:function(){return BH},relativeSize:function(){return $H}});var vH=zv(),xH=Xv(),sy=np(),TH=["min","max","clamp","calc"];function Yv(t){return TH.some(r=>new RegExp(`^${r}\\(.*\\)`).test(t))}var EH=new Set(["scroll-timeline-name","timeline-scope","view-timeline-name","font-palette","anchor-name","anchor-scope","position-anchor","position-try-options","scroll-timeline","animation-timeline","view-timeline","position-try"]);function eu(t,r=null,s=!0){let a=r&&EH.has(r.property);return t.startsWith("--")&&!a?`var(${t})`:t.includes("url(")?t.split(/(url\(.*?\))/g).filter(Boolean).map(u=>/^url\(.*?\)$/.test(u)?u:eu(u,r,!1)).join(""):(t=t.replace(/([^\\])_+/g,(u,e)=>e+" ".repeat(u.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),s&&(t=t.trim()),t=wH(t),t)}function SH(t){return t.includes("=")&&(t=t.replace(/(=.*)/g,(r,s)=>{if(s[1]==="'"||s[1]==='"')return s;if(s.length>2){let a=s[s.length-1];if(s[s.length-2]===" "&&(a==="i"||a==="I"||a==="s"||a==="S"))return`="${s.slice(1,-2)}" ${s[s.length-1]}`}return`="${s.slice(1)}"`})),t}function wH(t){let r=["theme"],s=["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","anchor-size"];return t.replace(/(calc|min|max|clamp)\(.+\)/g,a=>{let u="";function e(){let l=u.trimEnd();return l[l.length-1]}for(let l=0;l<a.length;l++){let n=function(i){return i.split("").every((o,h)=>a[l+h]===o)},c=function(i){let o=1/0;for(let d of i){let f=a.indexOf(d,l);f!==-1&&f<o&&(o=f)}let h=a.slice(l,o);return l+=h.length-1,h},p=a[l];if(n("var"))u+=c([")",","]);else if(s.some(i=>n(i))){let i=s.find(o=>n(o));u+=i,l+=i.length-1}else r.some(i=>n(i))?u+=c([")"]):n("[")?u+=c(["]"]):["+","-","*","/"].includes(p)&&!["(","+","-","*","/",","].includes(e())?u+=` ${p} `:u+=p}return u.replace(/\s+/g," ")})}function cN(t){return t.startsWith("url(")}function pN(t){return!isNaN(Number(t))||Yv(t)}function dN(t){return t.endsWith("%")&&pN(t.slice(0,-1))||Yv(t)}var _H=["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"],AH=`(?:${_H.join("|")})`;function hN(t){return t==="0"||new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${AH}$`).test(t)||Yv(t)}var PH=new Set(["thin","medium","thick"]);function CH(t){return PH.has(t)}function kH(t){let r=(0,xH.parseBoxShadowValue)(eu(t));for(let s of r)if(!s.valid)return!1;return!0}function DH(t){let r=0;return(0,sy.splitAtTopLevelOnly)(t,"_").every(a=>(a=eu(a),a.startsWith("var(")?!0:(0,vH.parseColor)(a,{loose:!0})!==null?(r++,!0):!1))?r>0:!1}function IH(t){let r=0;return(0,sy.splitAtTopLevelOnly)(t,",").every(a=>(a=eu(a),a.startsWith("var(")?!0:cN(a)||fN(a)||["element(","image(","cross-fade(","image-set("].some(u=>a.startsWith(u))?(r++,!0):!1))?r>0:!1}var OH=new Set(["conic-gradient","linear-gradient","radial-gradient","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient"]);function fN(t){t=eu(t);for(let r of OH)if(t.startsWith(`${r}(`))return!0;return!1}var NH=new Set(["center","top","right","bottom","left"]);function FH(t){let r=0;return(0,sy.splitAtTopLevelOnly)(t,"_").every(a=>(a=eu(a),a.startsWith("var(")?!0:NH.has(a)||hN(a)||dN(a)?(r++,!0):!1))?r>0:!1}function jH(t){let r=0;return(0,sy.splitAtTopLevelOnly)(t,",").every(a=>(a=eu(a),a.startsWith("var(")?!0:a.includes(" ")&&!/(['"])([^"']+)\1/g.test(a)||/^\d/g.test(a)?!1:(r++,!0)))?r>0:!1}var LH=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function RH(t){return LH.has(t)}var MH=new Set(["xx-small","x-small","small","medium","large","x-large","xx-large","xxx-large"]);function BH(t){return MH.has(t)}var UH=new Set(["larger","smaller"]);function $H(t){return UH.has(t)}});var ay=ct(Zv=>{"use strict";Object.defineProperty(Zv,"__esModule",{value:!0});Object.defineProperty(Zv,"default",{enumerable:!0,get:function(){return VH}});function VH(t){if(t=`${t}`,t==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(t))return t.replace(/^[+-]?/,s=>s==="-"?"":"-");let r=["var","calc","min","max","clamp"];for(let s of r)if(t.includes(`${s}(`))return`calc(${t} * -1)`}});var bN=ct(ex=>{"use strict";Object.defineProperty(ex,"__esModule",{value:!0});Object.defineProperty(ex,"backgroundSize",{enumerable:!0,get:function(){return qH}});var mN=oh(),yN=np();function qH(t){let r=["cover","contain"];return(0,yN.splitAtTopLevelOnly)(t,",").every(s=>{let a=(0,yN.splitAtTopLevelOnly)(s,"_").filter(Boolean);return a.length===1&&r.includes(a[0])?!0:a.length!==1&&a.length!==2?!1:a.every(u=>(0,mN.length)(u)||(0,mN.percentage)(u)||u==="auto")})}});var qu=ct(rx=>{"use strict";Object.defineProperty(rx,"__esModule",{value:!0});function WH(t,r){for(var s in r)Object.defineProperty(t,s,{enumerable:!0,get:r[s]})}WH(rx,{dim:function(){return zH},default:function(){return HH}});var Vu=KH(yd());function KH(t){return t&&t.__esModule?t:{default:t}}var gN=new Set;function tx(t,r,s){typeof process<"u"&&process.env.JEST_WORKER_ID||s&&gN.has(s)||(s&&gN.add(s),console.warn(""),r.forEach(a=>console.warn(t,"-",a)))}function zH(t){return Vu.default.dim(t)}var HH={info(t,r){tx(Vu.default.bold(Vu.default.cyan("info")),...Array.isArray(t)?[t]:[r,t])},warn(t,r){tx(Vu.default.bold(Vu.default.yellow("warn")),...Array.isArray(t)?[t]:[r,t])},risk(t,r){tx(Vu.default.bold(Vu.default.magenta("risk")),...Array.isArray(t)?[t]:[r,t])}}});var Wu=ct(nx=>{"use strict";Object.defineProperty(nx,"__esModule",{value:!0});function GH(t,r){for(var s in r)Object.defineProperty(t,s,{enumerable:!0,get:r[s]})}GH(nx,{flagEnabled:function(){return YH},issueFlagNotices:function(){return QH},default:function(){return ZH}});var JH=TN(yd()),XH=TN(qu());function TN(t){return t&&t.__esModule?t:{default:t}}var vN={optimizeUniversalDefaults:!1,generalizedModifiers:!0,disableColorOpacityUtilitiesByDefault:!1,relativeContentPathsByDefault:!1},lh={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity","disableColorOpacityUtilitiesByDefault","relativeContentPathsByDefault"],experimental:["optimizeUniversalDefaults","generalizedModifiers"]};function YH(t,r){if(lh.future.includes(r)){var s,a,u;return t.future==="all"||((u=(a=t==null||(s=t.future)===null||s===void 0?void 0:s[r])!==null&&a!==void 0?a:vN[r])!==null&&u!==void 0?u:!1)}if(lh.experimental.includes(r)){var e,l,n;return t.experimental==="all"||((n=(l=t==null||(e=t.experimental)===null||e===void 0?void 0:e[r])!==null&&l!==void 0?l:vN[r])!==null&&n!==void 0?n:!1)}return!1}function xN(t){if(t.experimental==="all")return lh.experimental;var r;return Object.keys((r=t==null?void 0:t.experimental)!==null&&r!==void 0?r:{}).filter(s=>lh.experimental.includes(s)&&t.experimental[s])}function QH(t){if(process.env.JEST_WORKER_ID===void 0&&xN(t).length>0){let r=xN(t).map(s=>JH.default.yellow(s)).join(", ");XH.default.warn("experimental-flags-enabled",[`You have enabled experimental features: ${r}`,"Experimental features in Tailwind CSS are not covered by semver, may introduce breaking changes, and can change at any time."])}}var ZH=lh});var ly=ct(sx=>{"use strict";Object.defineProperty(sx,"__esModule",{value:!0});function eG(t,r){for(var s in r)Object.defineProperty(t,s,{enumerable:!0,get:r[s]})}eG(sx,{updateAllClasses:function(){return iG},asValue:function(){return uh},parseColorFormat:function(){return ix},asColor:function(){return kN},asLookupValue:function(){return DN},typeMap:function(){return oy},coerceValue:function(){return oG},getMatchingTypes:function(){return IN}});var tG=_N(ty()),EN=iy(),wa=oh(),SN=_N(ay()),rG=bN(),nG=Wu();function _N(t){return t&&t.__esModule?t:{default:t}}function iG(t,r){t.walkClasses(s=>{s.value=r(s.value),s.raws&&s.raws.value&&(s.raws.value=(0,tG.default)(s.raws.value))})}function AN(t,r){if(!tu(t))return;let s=t.slice(1,-1);if(r(s))return(0,wa.normalize)(s)}function sG(t,r={},s){let a=r[t];if(a!==void 0)return(0,SN.default)(a);if(tu(t)){let u=AN(t,s);return u===void 0?void 0:(0,SN.default)(u)}}function uh(t,r={},{validate:s=()=>!0}={}){var a;let u=(a=r.values)===null||a===void 0?void 0:a[t];return u!==void 0?u:r.supportsNegativeValues&&t.startsWith("-")?sG(t.slice(1),r.values,s):AN(t,s)}function tu(t){return t.startsWith("[")&&t.endsWith("]")}function PN(t){let r=t.lastIndexOf("/"),s=t.lastIndexOf("[",r),a=t.indexOf("]",r);return t[r-1]==="]"||t[r+1]==="["||s!==-1&&a!==-1&&s<r&&r<a&&(r=t.lastIndexOf("/",s)),r===-1||r===t.length-1?[t,void 0]:tu(t)&&!t.includes("]/[")?[t,void 0]:[t.slice(0,r),t.slice(r+1)]}function ix(t){if(typeof t=="string"&&t.includes("<alpha-value>")){let r=t;return({opacityValue:s=1})=>r.replace(/<alpha-value>/g,s)}return t}function CN(t){return(0,wa.normalize)(t.slice(1,-1))}function kN(t,r={},{tailwindConfig:s={}}={}){var a;if(((a=r.values)===null||a===void 0?void 0:a[t])!==void 0){var u;return ix((u=r.values)===null||u===void 0?void 0:u[t])}let[e,l]=PN(t);if(l!==void 0){var n,c,p,i;let o=(i=(n=r.values)===null||n===void 0?void 0:n[e])!==null&&i!==void 0?i:tu(e)?e.slice(1,-1):void 0;return o===void 0?void 0:(o=ix(o),tu(l)?(0,EN.withAlphaValue)(o,CN(l)):((c=s.theme)===null||c===void 0||(p=c.opacity)===null||p===void 0?void 0:p[l])===void 0?void 0:(0,EN.withAlphaValue)(o,s.theme.opacity[l]))}return uh(t,r,{validate:wa.color})}function DN(t,r={}){var s;return(s=r.values)===null||s===void 0?void 0:s[t]}function Ua(t){return(r,s)=>uh(r,s,{validate:t})}var oy={any:uh,color:kN,url:Ua(wa.url),image:Ua(wa.image),length:Ua(wa.length),percentage:Ua(wa.percentage),position:Ua(wa.position),lookup:DN,"generic-name":Ua(wa.genericName),"family-name":Ua(wa.familyName),number:Ua(wa.number),"line-width":Ua(wa.lineWidth),"absolute-size":Ua(wa.absoluteSize),"relative-size":Ua(wa.relativeSize),shadow:Ua(wa.shadow),size:Ua(rG.backgroundSize)},wN=Object.keys(oy);function aG(t,r){let s=t.indexOf(r);return s===-1?[void 0,t]:[t.slice(0,s),t.slice(s+1)]}function oG(t,r,s,a){if(s.values&&r in s.values)for(let{type:e}of t??[]){let l=oy[e](r,s,{tailwindConfig:a});if(l!==void 0)return[l,e,null]}if(tu(r)){let e=r.slice(1,-1),[l,n]=aG(e,":");if(!/^[\w-_]+$/g.test(l))n=e;else if(l!==void 0&&!wN.includes(l))return[];if(n.length>0&&wN.includes(l))return[uh(`[${n}]`,s),l,null]}let u=IN(t,r,s,a);for(let e of u)return e;return[]}function*IN(t,r,s,a){let u=(0,nG.flagEnabled)(a,"generalizedModifiers"),[e,l]=PN(r);if(u&&s.modifiers!=null&&(s.modifiers==="any"||typeof s.modifiers=="object"&&(l&&tu(l)||l in s.modifiers))||(e=r,l=void 0),l!==void 0&&e===""&&(e="DEFAULT"),l!==void 0&&typeof s.modifiers=="object"){var c,p;let i=(p=(c=s.modifiers)===null||c===void 0?void 0:c[l])!==null&&p!==void 0?p:null;i!==null?l=i:tu(l)&&(l=CN(l))}for(let{type:i}of t??[]){let o=oy[i](e,s,{tailwindConfig:a});o!==void 0&&(yield[o,i,l??null])}}});var uy=ct(ax=>{"use strict";Object.defineProperty(ax,"__esModule",{value:!0});function lG(t,r){for(var s in r)Object.defineProperty(t,s,{enumerable:!0,get:r[s]})}lG(ax,{env:function(){return uG},contextMap:function(){return cG},configContextMap:function(){return pG},contextSourcesMap:function(){return dG},sourceHashMap:function(){return hG},NOT_ON_DEMAND:function(){return fG},NONE:function(){return mG},resolveDebug:function(){return ON}});var uG=typeof process<"u"?{NODE_ENV:process.env.NODE_ENV,DEBUG:ON(process.env.DEBUG)}:{NODE_ENV:"production",DEBUG:!1},cG=new Map,pG=new Map,dG=new Map,hG=new Map,fG=new String("*"),mG=Symbol("__NONE__");function ON(t){if(t===void 0)return!1;if(t==="true"||t==="1")return!0;if(t==="false"||t==="0")return!1;if(t==="*")return!0;let r=t.split(",").map(s=>s.split(":")[0]);return r.includes("-tailwindcss")?!1:!!r.includes("tailwindcss")}});var ch=ct(ox=>{"use strict";Object.defineProperty(ox,"__esModule",{value:!0});Object.defineProperty(ox,"default",{enumerable:!0,get:function(){return gG}});var yG=NN(Yl()),bG=NN(ty());function NN(t){return t&&t.__esModule?t:{default:t}}function gG(t){var r;let s=yG.default.className();s.value=t;var a;return(0,bG.default)((a=s==null||(r=s.raws)===null||r===void 0?void 0:r.value)!==null&&a!==void 0?a:s.value)}});var px=ct(cx=>{"use strict";Object.defineProperty(cx,"__esModule",{value:!0});Object.defineProperty(cx,"movePseudos",{enumerable:!0,get:function(){return vG}});var lx={"::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 vG(t){let[r]=FN(t);return r.forEach(([s,a])=>s.removeChild(a)),t.nodes.push(...r.map(([,s])=>s)),t}function FN(t){let r=[],s=null;for(let u of t.nodes)if(u.type==="combinator")r=r.filter(([,e])=>ux(e).includes("jumpable")),s=null;else if(u.type==="pseudo"){xG(u)?(s=u,r.push([t,u,null])):s&&TG(u,s)?r.push([t,u,s]):s=null;var a;for(let e of(a=u.nodes)!==null&&a!==void 0?a:[]){let[l,n]=FN(e);s=n||s,r.push(...l)}}return[r,s]}function jN(t){return t.value.startsWith("::")||lx[t.value]!==void 0}function xG(t){return jN(t)&&ux(t).includes("terminal")}function TG(t,r){return t.type!=="pseudo"||jN(t)?!1:ux(r).includes("actionable")}function ux(t){var r;return(r=lx[t.value])!==null&&r!==void 0?r:lx.__default__}});var fx=ct(hx=>{"use strict";Object.defineProperty(hx,"__esModule",{value:!0});function EG(t,r){for(var s in r)Object.defineProperty(t,s,{enumerable:!0,get:r[s]})}EG(hx,{formatVariantSelector:function(){return MN},eliminateIrrelevantSelectors:function(){return BN},finalizeSelector:function(){return CG},handleMergePseudo:function(){return UN}});var _l=cy(Yl()),SG=cy(Um()),RN=cy(ch()),wG=cy(ey()),_G=px(),AG=np();function cy(t){return t&&t.__esModule?t:{default:t}}var dx=":merge";function MN(t,{context:r,candidate:s}){var a;let u=(a=r==null?void 0:r.tailwindConfig.prefix)!==null&&a!==void 0?a:"",e=t.map(n=>{let c=(0,_l.default)().astSync(n.format);return{...n,ast:n.respectPrefix?(0,wG.default)(u,c):c}}),l=_l.default.root({nodes:[_l.default.selector({nodes:[_l.default.className({value:(0,RN.default)(s)})]})]});for(let{ast:n}of e)[l,n]=UN(l,n),n.walkNesting(c=>c.replaceWith(...l.nodes[0].nodes)),l=n;return l}function LN(t){let r=[];for(;t.prev()&&t.prev().type!=="combinator";)t=t.prev();for(;t&&t.type!=="combinator";)r.push(t),t=t.next();return r}function PG(t){return t.sort((r,s)=>r.type==="tag"&&s.type==="class"?-1:r.type==="class"&&s.type==="tag"?1:r.type==="class"&&s.type==="pseudo"&&s.value.startsWith("::")?-1:r.type==="pseudo"&&r.value.startsWith("::")&&s.type==="class"?1:t.index(r)-t.index(s)),t}function BN(t,r){let s=!1;t.walk(a=>{if(a.type==="class"&&a.value===r)return s=!0,!1}),s||t.remove()}function CG(t,r,{context:s,candidate:a,base:u}){var e,l;let n=(l=s==null||(e=s.tailwindConfig)===null||e===void 0?void 0:e.separator)!==null&&l!==void 0?l:":";u=u??(0,AG.splitAtTopLevelOnly)(a,n).pop();let c=(0,_l.default)().astSync(t);if(c.walkClasses(h=>{h.raws&&h.value.includes(u)&&(h.raws.value=(0,RN.default)((0,SG.default)(h.raws.value)))}),c.each(h=>BN(h,u)),c.length===0)return null;let p=Array.isArray(r)?MN(r,{context:s,candidate:a}):r;if(p===null)return c.toString();let i=_l.default.comment({value:"/*__simple__*/"}),o=_l.default.comment({value:"/*__simple__*/"});return c.walkClasses(h=>{if(h.value!==u)return;let d=h.parent,f=p.nodes[0].nodes;if(d.nodes.length===1){h.replaceWith(...f);return}let b=LN(h);d.insertBefore(b[0],i),d.insertAfter(b[b.length-1],o);for(let y of f)d.insertBefore(b[0],y.clone());h.remove(),b=LN(i);let m=d.index(i);d.nodes.splice(m,b.length,...PG(_l.default.selector({nodes:b})).nodes),i.remove(),o.remove()}),c.walkPseudos(h=>{h.value===dx&&h.replaceWith(h.nodes)}),c.each(h=>(0,_G.movePseudos)(h)),c.toString()}function UN(t,r){let s=[];return t.walkPseudos(a=>{a.value===dx&&s.push({pseudo:a,value:a.nodes[0].toString()})}),r.walkPseudos(a=>{if(a.value!==dx)return;let u=a.nodes[0].toString(),e=s.find(p=>p.value===u);if(!e)return;let l=[],n=a.next();for(;n&&n.type!=="combinator";)l.push(n),n=n.next();let c=n;e.pseudo.parent.insertAfter(e.pseudo,_l.default.selector({nodes:l.map(p=>p.clone())})),a.remove(),l.forEach(p=>p.remove()),c&&c.type==="combinator"&&c.remove()}),[t,r]}});var yx=ct(mx=>{"use strict";Object.defineProperty(mx,"__esModule",{value:!0});function kG(t,r){for(var s in r)Object.defineProperty(t,s,{enumerable:!0,get:r[s]})}kG(mx,{asClass:function(){return VN},default:function(){return OG},formatClass:function(){return qN}});var DG=$N(ch()),IG=$N(ty());function $N(t){return t&&t.__esModule?t:{default:t}}function VN(t){return(0,IG.default)(`.${(0,DG.default)(t)}`)}function OG(t,r){return VN(qN(t,r))}function qN(t,r){return r==="DEFAULT"?t:r==="-"||r==="-DEFAULT"?`-${t}`:r.startsWith("-")?`-${t}${r}`:r.startsWith("/")?`${t}${r}`:`${t}-${r}`}});var KN=ct((Qpe,WN)=>{WN.exports=function(t,r,s,a,u){for(r=r.split?r.split("."):r,a=0;a<r.length;a++)t=t?t[r[a]]:u;return t===u?s:t}});var py=ct(bx=>{"use strict";Object.defineProperty(bx,"__esModule",{value:!0});Object.defineProperty(bx,"default",{enumerable:!0,get:function(){return jG}});var NG=zN(Ho()),FG=zN(rp());function zN(t){return t&&t.__esModule?t:{default:t}}function jG(t){return["fontSize","outline"].includes(t)?r=>(typeof r=="function"&&(r=r({})),Array.isArray(r)&&(r=r[0]),r):t==="fontFamily"?r=>{typeof r=="function"&&(r=r({}));let s=Array.isArray(r)&&(0,FG.default)(r[1])?r[0]:r;return Array.isArray(s)?s.join(", "):s}:["boxShadow","transitionProperty","transitionDuration","transitionDelay","transitionTimingFunction","backgroundImage","backgroundSize","backgroundColor","cursor","animation"].includes(t)?r=>(typeof r=="function"&&(r=r({})),Array.isArray(r)&&(r=r.join(", ")),r):["gridTemplateColumns","gridTemplateRows","objectPosition"].includes(t)?r=>(typeof r=="function"&&(r=r({})),typeof r=="string"&&(r=NG.default.list.comma(r).join(" ")),r):(r,s={})=>(typeof r=="function"&&(r=r(s)),r)}});var HN=ct(gx=>{"use strict";Object.defineProperty(gx,"__esModule",{value:!0});Object.defineProperty(gx,"default",{enumerable:!0,get:function(){return MG}});var LG=RG(py());function RG(t){return t&&t.__esModule?t:{default:t}}function MG(t,r=[[t,[t]]],{filterDefault:s=!1,...a}={}){let u=(0,LG.default)(t);return function({matchUtilities:e,theme:l}){for(let c of r){let p=Array.isArray(c[0])?c:[c];var n;e(p.reduce((i,[o,h])=>Object.assign(i,{[o]:d=>h.reduce((f,b)=>Array.isArray(b)?Object.assign(f,{[b[0]]:b[1]}):Object.assign(f,{[b]:u(d)}),{})}),{}),{...a,values:s?Object.fromEntries(Object.entries((n=l(t))!==null&&n!==void 0?n:{}).filter(([i])=>i!=="DEFAULT")):l(t)})}}}});var GN=ct(vx=>{"use strict";Object.defineProperty(vx,"__esModule",{value:!0});Object.defineProperty(vx,"default",{enumerable:!0,get:function(){return BG}});function BG(t){return t=Array.isArray(t)?t:[t],t.map(r=>{let s=r.values.map(a=>a.raw!==void 0?a.raw:[a.min&&`(min-width: ${a.min})`,a.max&&`(max-width: ${a.max})`].filter(Boolean).join(" and "));return r.not?`not all and ${s}`:s}).join(", ")}});var XN=ct(xx=>{"use strict";Object.defineProperty(xx,"__esModule",{value:!0});Object.defineProperty(xx,"default",{enumerable:!0,get:function(){return JG}});var UG=new Set(["normal","reverse","alternate","alternate-reverse"]),$G=new Set(["running","paused"]),VG=new Set(["none","forwards","backwards","both"]),qG=new Set(["infinite"]),WG=new Set(["linear","ease","ease-in","ease-out","ease-in-out","step-start","step-end"]),KG=["cubic-bezier","steps"],zG=/\,(?![^(]*\))/g,HG=/\ +(?![^(]*\))/g,JN=/^(-?[\d.]+m?s)$/,GG=/^(\d+)$/;function JG(t){return t.split(zG).map(s=>{let a=s.trim(),u={value:a},e=a.split(HG),l=new Set;for(let n of e)!l.has("DIRECTIONS")&&UG.has(n)?(u.direction=n,l.add("DIRECTIONS")):!l.has("PLAY_STATES")&&$G.has(n)?(u.playState=n,l.add("PLAY_STATES")):!l.has("FILL_MODES")&&VG.has(n)?(u.fillMode=n,l.add("FILL_MODES")):!l.has("ITERATION_COUNTS")&&(qG.has(n)||GG.test(n))?(u.iterationCount=n,l.add("ITERATION_COUNTS")):!l.has("TIMING_FUNCTION")&&WG.has(n)||!l.has("TIMING_FUNCTION")&&KG.some(c=>n.startsWith(`${c}(`))?(u.timingFunction=n,l.add("TIMING_FUNCTION")):!l.has("DURATION")&&JN.test(n)?(u.duration=n,l.add("DURATION")):!l.has("DELAY")&&JN.test(n)?(u.delay=n,l.add("DELAY")):l.has("NAME")?(u.unknown||(u.unknown=[]),u.unknown.push(n)):(u.name=n,l.add("NAME"));return u})}});var QN=ct(Tx=>{"use strict";Object.defineProperty(Tx,"__esModule",{value:!0});Object.defineProperty(Tx,"default",{enumerable:!0,get:function(){return XG}});var YN=t=>Object.assign({},...Object.entries(t??{}).flatMap(([r,s])=>typeof s=="object"?Object.entries(YN(s)).map(([a,u])=>({[r+(a==="DEFAULT"?"":`-${a}`)]:u})):[{[`${r}`]:s}])),XG=YN});var Sx=ct(Ex=>{"use strict";Object.defineProperty(Ex,"__esModule",{value:!0});Object.defineProperty(Ex,"default",{enumerable:!0,get:function(){return YG}});function YG(t){return typeof t=="function"?t({}):t}});var ZN=ct((sde,QG)=>{QG.exports={name:"tailwindcss",version:"3.4.18",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"},scripts:{prebuild:"npm run generate && rimraf lib",build:"swc src --out-dir lib --copy-files",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.20",browserslist:"^4.24.0",concurrently:"^8.2.2",cssnano:"^6.1.2",esbuild:"^0.24.0",eslint:"^8.57.1","eslint-config-prettier":"^8.10.0","eslint-plugin-prettier":"^4.2.1",jest:"^29.7.0","jest-diff":"^29.7.0",lightningcss:"1.27.0",prettier:"^2.8.8",rimraf:"^5.0.10","source-map-js":"^1.2.1",turbo:"^1.13.4"},dependencies:{"@alloc/quick-lru":"^5.2.0",arg:"^5.0.2",chokidar:"^3.6.0",didyoumean:"^1.2.2",dlv:"^1.1.3","fast-glob":"^3.3.2","glob-parent":"^6.0.2","is-glob":"^4.0.3",jiti:"^1.21.7",lilconfig:"^3.1.3",micromatch:"^4.0.8","normalize-path":"^3.0.0","object-hash":"^3.0.0",picocolors:"^1.1.1",postcss:"^8.4.47","postcss-import":"^15.1.0","postcss-js":"^4.0.1","postcss-load-config":"^4.0.2 || ^5.0 || ^6.0","postcss-nested":"^6.2.0","postcss-selector-parser":"^6.1.2",resolve:"^1.22.8",sucrase:"^3.35.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 rF=ct(Ax=>{"use strict";Object.defineProperty(Ax,"__esModule",{value:!0});function ZG(t,r){for(var s in r)Object.defineProperty(t,s,{enumerable:!0,get:r[s]})}ZG(Ax,{normalizeScreens:function(){return tF},isScreenSortable:function(){return wx},compareScreens:function(){return eJ},toScreen:function(){return _x}});function tF(t,r=!0){return Array.isArray(t)?t.map(s=>{if(r&&Array.isArray(s))throw new Error("The tuple syntax is not supported for `screens`.");if(typeof s=="string")return{name:s.toString(),not:!1,values:[{min:s,max:void 0}]};let[a,u]=s;return a=a.toString(),typeof u=="string"?{name:a,not:!1,values:[{min:u,max:void 0}]}:Array.isArray(u)?{name:a,not:!1,values:u.map(e=>eF(e))}:{name:a,not:!1,values:[eF(u)]}}):tF(Object.entries(t??{}),!1)}function wx(t){return t.values.length!==1?{result:!1,reason:"multiple-values"}:t.values[0].raw!==void 0?{result:!1,reason:"raw-values"}:t.values[0].min!==void 0&&t.values[0].max!==void 0?{result:!1,reason:"min-and-max"}:{result:!0,reason:null}}function eJ(t,r,s){let a=_x(r,t),u=_x(s,t),e=wx(a),l=wx(u);if(e.reason==="multiple-values"||l.reason==="multiple-values")throw new Error("Attempted to sort a screen with multiple values. This should never happen. Please open a bug report.");if(e.reason==="raw-values"||l.reason==="raw-values")throw new Error("Attempted to sort a screen with raw values. This should never happen. Please open a bug report.");if(e.reason==="min-and-max"||l.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:n,max:c}=a.values[0],{min:p,max:i}=u.values[0];r.not&&([n,c]=[c,n]),s.not&&([p,i]=[i,p]),n=n===void 0?n:parseFloat(n),c=c===void 0?c:parseFloat(c),p=p===void 0?p:parseFloat(p),i=i===void 0?i:parseFloat(i);let[o,h]=t==="min"?[n,p]:[i,c];return o-h}function _x(t,r){return typeof t=="object"?t:{name:"arbitrary-screen",values:[{[r]:t}]}}function eF({"min-width":t,min:r=t,max:s,raw:a}={}){return{min:r,max:s,raw:a}}});var nF=ct(Px=>{"use strict";Object.defineProperty(Px,"__esModule",{value:!0});Object.defineProperty(Px,"removeAlphaVariables",{enumerable:!0,get:function(){return tJ}});function tJ(t,r){t.walkDecls(s=>{if(r.includes(s.prop)){s.remove();return}for(let a of r)s.value.includes(`/ var(${a})`)?s.value=s.value.replace(`/ var(${a})`,""):s.value.includes(`/ var(${a}, 1)`)&&(s.value=s.value.replace(`/ var(${a}, 1)`,""))})}});var uF=ct(Ix=>{"use strict";Object.defineProperty(Ix,"__esModule",{value:!0});function rJ(t,r){for(var s in r)Object.defineProperty(t,s,{enumerable:!0,get:r[s]})}rJ(Ix,{variantPlugins:function(){return aJ},corePlugins:function(){return oJ}});var lde=_o(hr("fs")),ude=lF(hr("path")),hy=_o(Ho()),cn=_o(HN()),iF=_o(GN()),kx=_o(ch()),nJ=_o(XN()),ia=_o(QN()),ma=lF(iy()),Gi=_o(Sx()),sF=_o(rp()),iJ=_o(py()),sJ=ZN(),ip=_o(qu()),ph=rF(),aF=Xv(),Cx=nF(),Dx=Wu(),Ji=oh(),dy=fy();function _o(t){return t&&t.__esModule?t:{default:t}}function oF(t){if(typeof WeakMap!="function")return null;var r=new WeakMap,s=new WeakMap;return(oF=function(a){return a?s:r})(t)}function lF(t,r){if(!r&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var s=oF(r);if(s&&s.has(t))return s.get(t);var a={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in t)if(e!=="default"&&Object.prototype.hasOwnProperty.call(t,e)){var l=u?Object.getOwnPropertyDescriptor(t,e):null;l&&(l.get||l.set)?Object.defineProperty(a,e,l):a[e]=t[e]}return a.default=t,s&&s.set(t,a),a}var aJ={childVariant:({addVariant:t})=>{t("*","& > *")},pseudoElementVariants:({addVariant:t})=>{t("first-letter","&::first-letter"),t("first-line","&::first-line"),t("marker",[({container:r})=>((0,Cx.removeAlphaVariables)(r,["--tw-text-opacity"]),"& *::marker"),({container:r})=>((0,Cx.removeAlphaVariables)(r,["--tw-text-opacity"]),"&::marker")]),t("selection",["& *::selection","&::selection"]),t("file","&::file-selector-button"),t("placeholder","&::placeholder"),t("backdrop","&::backdrop"),t("before",({container:r})=>(r.walkRules(s=>{let a=!1;s.walkDecls("content",()=>{a=!0}),a||s.prepend(hy.default.decl({prop:"content",value:"var(--tw-content)"}))}),"&::before")),t("after",({container:r})=>(r.walkRules(s=>{let a=!1;s.walkDecls("content",()=>{a=!0}),a||s.prepend(hy.default.decl({prop:"content",value:"var(--tw-content)"}))}),"&::after"))},pseudoClassVariants:({addVariant:t,matchVariant:r,config:s,prefix:a})=>{let u=[["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:l})=>((0,Cx.removeAlphaVariables)(l,["--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,Dx.flagEnabled)(s(),"hoverOnlyWhenSupported")?"@media (hover: hover) and (pointer: fine) { &:hover }":"&:hover"],"focus","focus-visible","active","enabled","disabled"].map(l=>Array.isArray(l)?l:[l,`&:${l}`]);for(let[l,n]of u)t(l,c=>typeof n=="function"?n(c):n);let e={group:(l,{modifier:n})=>n?[`:merge(${a(".group")}\\/${(0,kx.default)(n)})`," &"]:[`:merge(${a(".group")})`," &"],peer:(l,{modifier:n})=>n?[`:merge(${a(".peer")}\\/${(0,kx.default)(n)})`," ~ &"]:[`:merge(${a(".peer")})`," ~ &"]};for(let[l,n]of Object.entries(e))r(l,(c="",p)=>{let i=(0,Ji.normalize)(typeof c=="function"?c(p):c);i.includes("&")||(i="&"+i);let[o,h]=n("",p),d=null,f=null,b=0;for(let m=0;m<i.length;++m){let y=i[m];y==="&"?d=m:y==="'"||y==='"'?b+=1:d!==null&&y===" "&&!b&&(f=m)}return d!==null&&f===null&&(f=i.length),i.slice(0,d)+o+i.slice(d+1,f)+h+i.slice(f)},{values:Object.fromEntries(u),[dy.INTERNAL_FEATURES]:{respectPrefix:!1}})},directionVariants:({addVariant:t})=>{t("ltr",'&:where([dir="ltr"], [dir="ltr"] *)'),t("rtl",'&:where([dir="rtl"], [dir="rtl"] *)')},reducedMotionVariants:({addVariant:t})=>{t("motion-safe","@media (prefers-reduced-motion: no-preference)"),t("motion-reduce","@media (prefers-reduced-motion: reduce)")},darkVariants:({config:t,addVariant:r})=>{let[s,a=".dark"]=[].concat(t("darkMode","media"));if(s===!1&&(s="media",ip.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"])),s==="variant"){let u;if(Array.isArray(a)||typeof a=="function"?u=a:typeof a=="string"&&(u=[a]),Array.isArray(u))for(let e of u)e===".dark"?(s=!1,ip.default.warn("darkmode-variant-without-selector",["When using `variant` for `darkMode`, you must provide a selector.",'Example: `darkMode: ["variant", ".your-selector &"]`'])):e.includes("&")||(s=!1,ip.default.warn("darkmode-variant-without-ampersand",["When using `variant` for `darkMode`, your selector must contain `&`.",'Example `darkMode: ["variant", ".your-selector &"]`']));a=u}s==="selector"?r("dark",`&:where(${a}, ${a} *)`):s==="media"?r("dark","@media (prefers-color-scheme: dark)"):s==="variant"?r("dark",a):s==="class"&&r("dark",`&:is(${a} *)`)},printVariant:({addVariant:t})=>{t("print","@media print")},screenVariants:({theme:t,addVariant:r,matchVariant:s})=>{var a;let u=(a=t("screens"))!==null&&a!==void 0?a:{},e=Object.values(u).every(x=>typeof x=="string"),l=(0,ph.normalizeScreens)(t("screens")),n=new Set([]);function c(x){var v,E;return(E=(v=x.match(/(\D+)$/))===null||v===void 0?void 0:v[1])!==null&&E!==void 0?E:"(none)"}function p(x){x!==void 0&&n.add(c(x))}function i(x){return p(x),n.size===1}for(let x of l)for(let v of x.values)p(v.min),p(v.max);let o=n.size<=1;function h(x){return Object.fromEntries(l.filter(v=>(0,ph.isScreenSortable)(v).result).map(v=>{let{min:E,max:S}=v.values[0];if(x==="min"&&E!==void 0)return v;if(x==="min"&&S!==void 0)return{...v,not:!v.not};if(x==="max"&&S!==void 0)return v;if(x==="max"&&E!==void 0)return{...v,not:!v.not}}).map(v=>[v.name,v]))}function d(x){return(v,E)=>(0,ph.compareScreens)(x,v.value,E.value)}let f=d("max"),b=d("min");function m(x){return v=>{if(e)if(o){if(typeof v=="string"&&!i(v))return ip.default.warn("minmax-have-mixed-units",["The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units."]),[]}else return ip.default.warn("mixed-screen-units",["The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units."]),[];else return ip.default.warn("complex-screen-config",["The `min-*` and `max-*` variants are not supported with a `screens` configuration containing objects."]),[];return[`@media ${(0,iF.default)((0,ph.toScreen)(v,x))}`]}}s("max",m("max"),{sort:f,values:e?h("max"):{}});let y="min-screens";for(let x of l)r(x.name,`@media ${(0,iF.default)(x)}`,{id:y,sort:e&&o?b:void 0,value:x});s("min",m("min"),{id:y,sort:b})},supportsVariants:({matchVariant:t,theme:r})=>{var s;t("supports",(a="")=>{let u=a.startsWith("--")?a:(0,Ji.normalize)(a),e=/^[\w-]*\s*\(/.test(u);return u=e?u.replace(/\b(and|or|not)\b/g," $1 "):u,e?`@supports ${u}`:(u.includes(":")||(u=`${u}: var(--tw)`),u.startsWith("(")&&u.endsWith(")")||(u=`(${u})`),`@supports ${u}`)},{values:(s=r("supports"))!==null&&s!==void 0?s:{}})},hasVariants:({matchVariant:t,prefix:r})=>{t("has",s=>`&:has(${(0,Ji.normalize)(s)})`,{values:{},[dy.INTERNAL_FEATURES]:{respectPrefix:!1}}),t("group-has",(s,{modifier:a})=>a?`:merge(${r(".group")}\\/${a}):has(${(0,Ji.normalize)(s)}) &`:`:merge(${r(".group")}):has(${(0,Ji.normalize)(s)}) &`,{values:{},[dy.INTERNAL_FEATURES]:{respectPrefix:!1}}),t("peer-has",(s,{modifier:a})=>a?`:merge(${r(".peer")}\\/${a}):has(${(0,Ji.normalize)(s)}) ~ &`:`:merge(${r(".peer")}):has(${(0,Ji.normalize)(s)}) ~ &`,{values:{},[dy.INTERNAL_FEATURES]:{respectPrefix:!1}})},ariaVariants:({matchVariant:t,theme:r})=>{var s;t("aria",e=>`&[aria-${(0,Ji.normalizeAttributeSelectors)((0,Ji.normalize)(e))}]`,{values:(s=r("aria"))!==null&&s!==void 0?s:{}});var a;t("group-aria",(e,{modifier:l})=>l?`:merge(.group\\/${l})[aria-${(0,Ji.normalizeAttributeSelectors)((0,Ji.normalize)(e))}] &`:`:merge(.group)[aria-${(0,Ji.normalizeAttributeSelectors)((0,Ji.normalize)(e))}] &`,{values:(a=r("aria"))!==null&&a!==void 0?a:{}});var u;t("peer-aria",(e,{modifier:l})=>l?`:merge(.peer\\/${l})[aria-${(0,Ji.normalizeAttributeSelectors)((0,Ji.normalize)(e))}] ~ &`:`:merge(.peer)[aria-${(0,Ji.normalizeAttributeSelectors)((0,Ji.normalize)(e))}] ~ &`,{values:(u=r("aria"))!==null&&u!==void 0?u:{}})},dataVariants:({matchVariant:t,theme:r})=>{var s;t("data",e=>`&[data-${(0,Ji.normalizeAttributeSelectors)((0,Ji.normalize)(e))}]`,{values:(s=r("data"))!==null&&s!==void 0?s:{}});var a;t("group-data",(e,{modifier:l})=>l?`:merge(.group\\/${l})[data-${(0,Ji.normalizeAttributeSelectors)((0,Ji.normalize)(e))}] &`:`:merge(.group)[data-${(0,Ji.normalizeAttributeSelectors)((0,Ji.normalize)(e))}] &`,{values:(a=r("data"))!==null&&a!==void 0?a:{}});var u;t("peer-data",(e,{modifier:l})=>l?`:merge(.peer\\/${l})[data-${(0,Ji.normalizeAttributeSelectors)((0,Ji.normalize)(e))}] ~ &`:`:merge(.peer)[data-${(0,Ji.normalizeAttributeSelectors)((0,Ji.normalize)(e))}] ~ &`,{values:(u=r("data"))!==null&&u!==void 0?u:{}})},orientationVariants:({addVariant:t})=>{t("portrait","@media (orientation: portrait)"),t("landscape","@media (orientation: landscape)")},prefersContrastVariants:({addVariant:t})=>{t("contrast-more","@media (prefers-contrast: more)"),t("contrast-less","@media (prefers-contrast: less)")},forcedColorsVariants:({addVariant:t})=>{t("forced-colors","@media (forced-colors: active)")}},wo=["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(" "),Jo=["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(" "),Ms=["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(" "),oJ={preflight:({addBase:t})=>{let r=hy.default.parse(`/*
|
|
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
|
*/
|
|
|
|
*,
|
|
::before,
|
|
::after {
|
|
box-sizing: border-box; /* 1 */
|
|
border-width: 0; /* 2 */
|
|
border-style: solid; /* 2 */
|
|
border-color: theme('borderColor.DEFAULT', currentColor); /* 2 */
|
|
}
|
|
|
|
::before,
|
|
::after {
|
|
--tw-content: '';
|
|
}
|
|
|
|
/*
|
|
1. Use a consistent sensible line-height in all browsers.
|
|
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
3. Use a more readable tab size.
|
|
4. Use the user's configured \`sans\` font-family by default.
|
|
5. Use the user's configured \`sans\` font-feature-settings by default.
|
|
6. Use the user's configured \`sans\` font-variation-settings by default.
|
|
7. Disable tap highlights on iOS
|
|
*/
|
|
|
|
html,
|
|
:host {
|
|
line-height: 1.5; /* 1 */
|
|
-webkit-text-size-adjust: 100%; /* 2 */
|
|
-moz-tab-size: 4; /* 3 */
|
|
tab-size: 4; /* 3 */
|
|
font-family: theme('fontFamily.sans', ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"); /* 4 */
|
|
font-feature-settings: theme('fontFamily.sans[1].fontFeatureSettings', normal); /* 5 */
|
|
font-variation-settings: theme('fontFamily.sans[1].fontVariationSettings', normal); /* 6 */
|
|
-webkit-tap-highlight-color: transparent; /* 7 */
|
|
}
|
|
|
|
/*
|
|
1. Remove the margin in all browsers.
|
|
2. Inherit line-height from \`html\` so users can set them as a class directly on the \`html\` element.
|
|
*/
|
|
|
|
body {
|
|
margin: 0; /* 1 */
|
|
line-height: inherit; /* 2 */
|
|
}
|
|
|
|
/*
|
|
1. Add the correct height in Firefox.
|
|
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
3. Ensure horizontal rules are visible by default.
|
|
*/
|
|
|
|
hr {
|
|
height: 0; /* 1 */
|
|
color: inherit; /* 2 */
|
|
border-top-width: 1px; /* 3 */
|
|
}
|
|
|
|
/*
|
|
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
*/
|
|
|
|
abbr:where([title]) {
|
|
text-decoration: underline dotted;
|
|
}
|
|
|
|
/*
|
|
Remove the default font size and weight for headings.
|
|
*/
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-size: inherit;
|
|
font-weight: inherit;
|
|
}
|
|
|
|
/*
|
|
Reset links to optimize for opt-in styling instead of opt-out.
|
|
*/
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: inherit;
|
|
}
|
|
|
|
/*
|
|
Add the correct font weight in Edge and Safari.
|
|
*/
|
|
|
|
b,
|
|
strong {
|
|
font-weight: bolder;
|
|
}
|
|
|
|
/*
|
|
1. Use the user's configured \`mono\` font-family by default.
|
|
2. Use the user's configured \`mono\` font-feature-settings by default.
|
|
3. Use the user's configured \`mono\` font-variation-settings by default.
|
|
4. Correct the odd \`em\` font sizing in all browsers.
|
|
*/
|
|
|
|
code,
|
|
kbd,
|
|
samp,
|
|
pre {
|
|
font-family: theme('fontFamily.mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace); /* 1 */
|
|
font-feature-settings: theme('fontFamily.mono[1].fontFeatureSettings', normal); /* 2 */
|
|
font-variation-settings: theme('fontFamily.mono[1].fontVariationSettings', normal); /* 3 */
|
|
font-size: 1em; /* 4 */
|
|
}
|
|
|
|
/*
|
|
Add the correct font size in all browsers.
|
|
*/
|
|
|
|
small {
|
|
font-size: 80%;
|
|
}
|
|
|
|
/*
|
|
Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers.
|
|
*/
|
|
|
|
sub,
|
|
sup {
|
|
font-size: 75%;
|
|
line-height: 0;
|
|
position: relative;
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
sub {
|
|
bottom: -0.25em;
|
|
}
|
|
|
|
sup {
|
|
top: -0.5em;
|
|
}
|
|
|
|
/*
|
|
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
3. Remove gaps between table borders by default.
|
|
*/
|
|
|
|
table {
|
|
text-indent: 0; /* 1 */
|
|
border-color: inherit; /* 2 */
|
|
border-collapse: collapse; /* 3 */
|
|
}
|
|
|
|
/*
|
|
1. Change the font styles in all browsers.
|
|
2. Remove the margin in Firefox and Safari.
|
|
3. Remove default padding in all browsers.
|
|
*/
|
|
|
|
button,
|
|
input,
|
|
optgroup,
|
|
select,
|
|
textarea {
|
|
font-family: inherit; /* 1 */
|
|
font-feature-settings: inherit; /* 1 */
|
|
font-variation-settings: inherit; /* 1 */
|
|
font-size: 100%; /* 1 */
|
|
font-weight: inherit; /* 1 */
|
|
line-height: inherit; /* 1 */
|
|
letter-spacing: inherit; /* 1 */
|
|
color: inherit; /* 1 */
|
|
margin: 0; /* 2 */
|
|
padding: 0; /* 3 */
|
|
}
|
|
|
|
/*
|
|
Remove the inheritance of text transform in Edge and Firefox.
|
|
*/
|
|
|
|
button,
|
|
select {
|
|
text-transform: none;
|
|
}
|
|
|
|
/*
|
|
1. Correct the inability to style clickable types in iOS and Safari.
|
|
2. Remove default button styles.
|
|
*/
|
|
|
|
button,
|
|
input:where([type='button']),
|
|
input:where([type='reset']),
|
|
input:where([type='submit']) {
|
|
-webkit-appearance: button; /* 1 */
|
|
background-color: transparent; /* 2 */
|
|
background-image: none; /* 2 */
|
|
}
|
|
|
|
/*
|
|
Use the modern Firefox focus style for all focusable elements.
|
|
*/
|
|
|
|
:-moz-focusring {
|
|
outline: auto;
|
|
}
|
|
|
|
/*
|
|
Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
*/
|
|
|
|
:-moz-ui-invalid {
|
|
box-shadow: none;
|
|
}
|
|
|
|
/*
|
|
Add the correct vertical alignment in Chrome and Firefox.
|
|
*/
|
|
|
|
progress {
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
/*
|
|
Correct the cursor style of increment and decrement buttons in Safari.
|
|
*/
|
|
|
|
::-webkit-inner-spin-button,
|
|
::-webkit-outer-spin-button {
|
|
height: auto;
|
|
}
|
|
|
|
/*
|
|
1. Correct the odd appearance in Chrome and Safari.
|
|
2. Correct the outline style in Safari.
|
|
*/
|
|
|
|
[type='search'] {
|
|
-webkit-appearance: textfield; /* 1 */
|
|
outline-offset: -2px; /* 2 */
|
|
}
|
|
|
|
/*
|
|
Remove the inner padding in Chrome and Safari on macOS.
|
|
*/
|
|
|
|
::-webkit-search-decoration {
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
/*
|
|
1. Correct the inability to style clickable types in iOS and Safari.
|
|
2. Change font properties to \`inherit\` in Safari.
|
|
*/
|
|
|
|
::-webkit-file-upload-button {
|
|
-webkit-appearance: button; /* 1 */
|
|
font: inherit; /* 2 */
|
|
}
|
|
|
|
/*
|
|
Add the correct display in Chrome and Safari.
|
|
*/
|
|
|
|
summary {
|
|
display: list-item;
|
|
}
|
|
|
|
/*
|
|
Removes the default spacing and border for appropriate elements.
|
|
*/
|
|
|
|
blockquote,
|
|
dl,
|
|
dd,
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6,
|
|
hr,
|
|
figure,
|
|
p,
|
|
pre {
|
|
margin: 0;
|
|
}
|
|
|
|
fieldset {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
legend {
|
|
padding: 0;
|
|
}
|
|
|
|
ol,
|
|
ul,
|
|
menu {
|
|
list-style: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
/*
|
|
Reset default styling for dialogs.
|
|
*/
|
|
dialog {
|
|
padding: 0;
|
|
}
|
|
|
|
/*
|
|
Prevent resizing textareas horizontally by default.
|
|
*/
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
/*
|
|
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
2. Set the default placeholder color to the user's configured gray 400 color.
|
|
*/
|
|
|
|
input::placeholder,
|
|
textarea::placeholder {
|
|
opacity: 1; /* 1 */
|
|
color: theme('colors.gray.400', #9ca3af); /* 2 */
|
|
}
|
|
|
|
/*
|
|
Set the default cursor for buttons.
|
|
*/
|
|
|
|
button,
|
|
[role="button"] {
|
|
cursor: pointer;
|
|
}
|
|
|
|
/*
|
|
Make sure disabled buttons don't get the pointer cursor.
|
|
*/
|
|
:disabled {
|
|
cursor: default;
|
|
}
|
|
|
|
/*
|
|
1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
*/
|
|
|
|
img,
|
|
svg,
|
|
video,
|
|
canvas,
|
|
audio,
|
|
iframe,
|
|
embed,
|
|
object {
|
|
display: block; /* 1 */
|
|
vertical-align: middle; /* 2 */
|
|
}
|
|
|
|
/*
|
|
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
*/
|
|
|
|
img,
|
|
video {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
/* Make elements with the HTML hidden attribute stay hidden by default */
|
|
[hidden]:where(:not([hidden="until-found"])) {
|
|
display: none;
|
|
}
|
|
`);t([hy.default.comment({text:`! tailwindcss v${sJ.version} | MIT License | https://tailwindcss.com`}),...r.nodes])},container:(()=>{function t(s=[]){return s.flatMap(a=>a.values.map(u=>u.min)).filter(a=>a!==void 0)}function r(s,a,u){if(typeof u>"u")return[];if(!(typeof u=="object"&&u!==null))return[{screen:"DEFAULT",minWidth:0,padding:u}];let e=[];u.DEFAULT&&e.push({screen:"DEFAULT",minWidth:0,padding:u.DEFAULT});for(let l of s)for(let n of a)for(let{min:c}of n.values)c===l&&e.push({minWidth:l,padding:u[n.name]});return e}return function({addComponents:s,theme:a}){let u=(0,ph.normalizeScreens)(a("container.screens",a("screens"))),e=t(u),l=r(e,u,a("container.padding")),n=p=>{let i=l.find(o=>o.minWidth===p);return i?{paddingRight:i.padding,paddingLeft:i.padding}:{}},c=Array.from(new Set(e.slice().sort((p,i)=>parseInt(p)-parseInt(i)))).map(p=>({[`@media (min-width: ${p})`]:{".container":{"max-width":p,...n(p)}}}));s([{".container":Object.assign({width:"100%"},a("container.center",!1)?{marginRight:"auto",marginLeft:"auto"}:{},n(0))},...c])}})(),accessibility:({addUtilities:t})=>{t({".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:t})=>{t({".pointer-events-none":{"pointer-events":"none"},".pointer-events-auto":{"pointer-events":"auto"}})},visibility:({addUtilities:t})=>{t({".visible":{visibility:"visible"},".invisible":{visibility:"hidden"},".collapse":{visibility:"collapse"}})},position:({addUtilities:t})=>{t({".static":{position:"static"},".fixed":{position:"fixed"},".absolute":{position:"absolute"},".relative":{position:"relative"},".sticky":{position:"sticky"}})},inset:(0,cn.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:t})=>{t({".isolate":{isolation:"isolate"},".isolation-auto":{isolation:"auto"}})},zIndex:(0,cn.default)("zIndex",[["z",["zIndex"]]],{supportsNegativeValues:!0}),order:(0,cn.default)("order",void 0,{supportsNegativeValues:!0}),gridColumn:(0,cn.default)("gridColumn",[["col",["gridColumn"]]]),gridColumnStart:(0,cn.default)("gridColumnStart",[["col-start",["gridColumnStart"]]],{supportsNegativeValues:!0}),gridColumnEnd:(0,cn.default)("gridColumnEnd",[["col-end",["gridColumnEnd"]]],{supportsNegativeValues:!0}),gridRow:(0,cn.default)("gridRow",[["row",["gridRow"]]]),gridRowStart:(0,cn.default)("gridRowStart",[["row-start",["gridRowStart"]]],{supportsNegativeValues:!0}),gridRowEnd:(0,cn.default)("gridRowEnd",[["row-end",["gridRowEnd"]]],{supportsNegativeValues:!0}),float:({addUtilities:t})=>{t({".float-start":{float:"inline-start"},".float-end":{float:"inline-end"},".float-right":{float:"right"},".float-left":{float:"left"},".float-none":{float:"none"}})},clear:({addUtilities:t})=>{t({".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,cn.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:t})=>{t({".box-border":{"box-sizing":"border-box"},".box-content":{"box-sizing":"content-box"}})},lineClamp:({matchUtilities:t,addUtilities:r,theme:s})=>{t({"line-clamp":a=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":`${a}`})},{values:s("lineClamp")}),r({".line-clamp-none":{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"none"}})},display:({addUtilities:t})=>{t({".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,cn.default)("aspectRatio",[["aspect",["aspect-ratio"]]]),size:(0,cn.default)("size",[["size",["width","height"]]]),height:(0,cn.default)("height",[["h",["height"]]]),maxHeight:(0,cn.default)("maxHeight",[["max-h",["maxHeight"]]]),minHeight:(0,cn.default)("minHeight",[["min-h",["minHeight"]]]),width:(0,cn.default)("width",[["w",["width"]]]),minWidth:(0,cn.default)("minWidth",[["min-w",["minWidth"]]]),maxWidth:(0,cn.default)("maxWidth",[["max-w",["maxWidth"]]]),flex:(0,cn.default)("flex"),flexShrink:(0,cn.default)("flexShrink",[["flex-shrink",["flex-shrink"]],["shrink",["flex-shrink"]]]),flexGrow:(0,cn.default)("flexGrow",[["flex-grow",["flex-grow"]],["grow",["flex-grow"]]]),flexBasis:(0,cn.default)("flexBasis",[["basis",["flex-basis"]]]),tableLayout:({addUtilities:t})=>{t({".table-auto":{"table-layout":"auto"},".table-fixed":{"table-layout":"fixed"}})},captionSide:({addUtilities:t})=>{t({".caption-top":{"caption-side":"top"},".caption-bottom":{"caption-side":"bottom"}})},borderCollapse:({addUtilities:t})=>{t({".border-collapse":{"border-collapse":"collapse"},".border-separate":{"border-collapse":"separate"}})},borderSpacing:({addDefaults:t,matchUtilities:r,theme:s})=>{t("border-spacing",{"--tw-border-spacing-x":0,"--tw-border-spacing-y":0}),r({"border-spacing":a=>({"--tw-border-spacing-x":a,"--tw-border-spacing-y":a,"@defaults border-spacing":{},"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"}),"border-spacing-x":a=>({"--tw-border-spacing-x":a,"@defaults border-spacing":{},"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"}),"border-spacing-y":a=>({"--tw-border-spacing-y":a,"@defaults border-spacing":{},"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"})},{values:s("borderSpacing")})},transformOrigin:(0,cn.default)("transformOrigin",[["origin",["transformOrigin"]]]),translate:(0,cn.default)("translate",[[["translate-x",[["@defaults transform",{}],"--tw-translate-x",["transform",wo]]],["translate-y",[["@defaults transform",{}],"--tw-translate-y",["transform",wo]]]]],{supportsNegativeValues:!0}),rotate:(0,cn.default)("rotate",[["rotate",[["@defaults transform",{}],"--tw-rotate",["transform",wo]]]],{supportsNegativeValues:!0}),skew:(0,cn.default)("skew",[[["skew-x",[["@defaults transform",{}],"--tw-skew-x",["transform",wo]]],["skew-y",[["@defaults transform",{}],"--tw-skew-y",["transform",wo]]]]],{supportsNegativeValues:!0}),scale:(0,cn.default)("scale",[["scale",[["@defaults transform",{}],"--tw-scale-x","--tw-scale-y",["transform",wo]]],[["scale-x",[["@defaults transform",{}],"--tw-scale-x",["transform",wo]]],["scale-y",[["@defaults transform",{}],"--tw-scale-y",["transform",wo]]]]],{supportsNegativeValues:!0}),transform:({addDefaults:t,addUtilities:r})=>{t("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"}),r({".transform":{"@defaults transform":{},transform:wo},".transform-cpu":{transform:wo},".transform-gpu":{transform:wo.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:t,theme:r,config:s})=>{let a=l=>(0,kx.default)(s("prefix")+l);var u;let e=Object.fromEntries(Object.entries((u=r("keyframes"))!==null&&u!==void 0?u:{}).map(([l,n])=>[l,{[`@keyframes ${a(l)}`]:n}]));t({animate:l=>{let n=(0,nJ.default)(l);return[...n.flatMap(c=>e[c.name]),{animation:n.map(({name:c,value:p})=>c===void 0||e[c]===void 0?p:p.replace(c,a(c))).join(", ")}]}},{values:r("animation")})},cursor:(0,cn.default)("cursor"),touchAction:({addDefaults:t,addUtilities:r})=>{t("touch-action",{"--tw-pan-x":" ","--tw-pan-y":" ","--tw-pinch-zoom":" "});let s="var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)";r({".touch-auto":{"touch-action":"auto"},".touch-none":{"touch-action":"none"},".touch-pan-x":{"@defaults touch-action":{},"--tw-pan-x":"pan-x","touch-action":s},".touch-pan-left":{"@defaults touch-action":{},"--tw-pan-x":"pan-left","touch-action":s},".touch-pan-right":{"@defaults touch-action":{},"--tw-pan-x":"pan-right","touch-action":s},".touch-pan-y":{"@defaults touch-action":{},"--tw-pan-y":"pan-y","touch-action":s},".touch-pan-up":{"@defaults touch-action":{},"--tw-pan-y":"pan-up","touch-action":s},".touch-pan-down":{"@defaults touch-action":{},"--tw-pan-y":"pan-down","touch-action":s},".touch-pinch-zoom":{"@defaults touch-action":{},"--tw-pinch-zoom":"pinch-zoom","touch-action":s},".touch-manipulation":{"touch-action":"manipulation"}})},userSelect:({addUtilities:t})=>{t({".select-none":{"user-select":"none"},".select-text":{"user-select":"text"},".select-all":{"user-select":"all"},".select-auto":{"user-select":"auto"}})},resize:({addUtilities:t})=>{t({".resize-none":{resize:"none"},".resize-y":{resize:"vertical"},".resize-x":{resize:"horizontal"},".resize":{resize:"both"}})},scrollSnapType:({addDefaults:t,addUtilities:r})=>{t("scroll-snap-type",{"--tw-scroll-snap-strictness":"proximity"}),r({".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:t})=>{t({".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:t})=>{t({".snap-normal":{"scroll-snap-stop":"normal"},".snap-always":{"scroll-snap-stop":"always"}})},scrollMargin:(0,cn.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,cn.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:t})=>{t({".list-inside":{"list-style-position":"inside"},".list-outside":{"list-style-position":"outside"}})},listStyleType:(0,cn.default)("listStyleType",[["list",["listStyleType"]]]),listStyleImage:(0,cn.default)("listStyleImage",[["list-image",["listStyleImage"]]]),appearance:({addUtilities:t})=>{t({".appearance-none":{appearance:"none"},".appearance-auto":{appearance:"auto"}})},columns:(0,cn.default)("columns",[["columns",["columns"]]]),breakBefore:({addUtilities:t})=>{t({".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:t})=>{t({".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:t})=>{t({".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,cn.default)("gridAutoColumns",[["auto-cols",["gridAutoColumns"]]]),gridAutoFlow:({addUtilities:t})=>{t({".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,cn.default)("gridAutoRows",[["auto-rows",["gridAutoRows"]]]),gridTemplateColumns:(0,cn.default)("gridTemplateColumns",[["grid-cols",["gridTemplateColumns"]]]),gridTemplateRows:(0,cn.default)("gridTemplateRows",[["grid-rows",["gridTemplateRows"]]]),flexDirection:({addUtilities:t})=>{t({".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:t})=>{t({".flex-wrap":{"flex-wrap":"wrap"},".flex-wrap-reverse":{"flex-wrap":"wrap-reverse"},".flex-nowrap":{"flex-wrap":"nowrap"}})},placeContent:({addUtilities:t})=>{t({".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:t})=>{t({".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:t})=>{t({".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:t})=>{t({".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:t})=>{t({".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:t})=>{t({".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,cn.default)("gap",[["gap",["gap"]],[["gap-x",["columnGap"]],["gap-y",["rowGap"]]]]),space:({matchUtilities:t,addUtilities:r,theme:s})=>{t({"space-x":a=>(a=a==="0"?"0px":a,{"& > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","margin-right":`calc(${a} * var(--tw-space-x-reverse))`,"margin-left":`calc(${a} * calc(1 - var(--tw-space-x-reverse)))`}}),"space-y":a=>(a=a==="0"?"0px":a,{"& > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","margin-top":`calc(${a} * calc(1 - var(--tw-space-y-reverse)))`,"margin-bottom":`calc(${a} * var(--tw-space-y-reverse))`}})},{values:s("space"),supportsNegativeValues:!0}),r({".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:t,addUtilities:r,theme:s})=>{t({"divide-x":a=>(a=a==="0"?"0px":a,{"& > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-x-reverse":"0","border-right-width":`calc(${a} * var(--tw-divide-x-reverse))`,"border-left-width":`calc(${a} * calc(1 - var(--tw-divide-x-reverse)))`}}),"divide-y":a=>(a=a==="0"?"0px":a,{"& > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-y-reverse":"0","border-top-width":`calc(${a} * calc(1 - var(--tw-divide-y-reverse)))`,"border-bottom-width":`calc(${a} * var(--tw-divide-y-reverse))`}})},{values:s("divideWidth"),type:["line-width","length","any"]}),r({".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:t})=>{t({".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:t,theme:r,corePlugins:s})=>{t({divide:a=>s("divideOpacity")?{"& > :not([hidden]) ~ :not([hidden])":(0,ma.default)({color:a,property:"border-color",variable:"--tw-divide-opacity"})}:{"& > :not([hidden]) ~ :not([hidden])":{"border-color":(0,Gi.default)(a)}}},{values:(({DEFAULT:a,...u})=>u)((0,ia.default)(r("divideColor"))),type:["color","any"]})},divideOpacity:({matchUtilities:t,theme:r})=>{t({"divide-opacity":s=>({"& > :not([hidden]) ~ :not([hidden])":{"--tw-divide-opacity":s}})},{values:r("divideOpacity")})},placeSelf:({addUtilities:t})=>{t({".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:t})=>{t({".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:t})=>{t({".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:t})=>{t({".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:t})=>{t({".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:t})=>{t({".scroll-auto":{"scroll-behavior":"auto"},".scroll-smooth":{"scroll-behavior":"smooth"}})},textOverflow:({addUtilities:t})=>{t({".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:t})=>{t({".hyphens-none":{hyphens:"none"},".hyphens-manual":{hyphens:"manual"},".hyphens-auto":{hyphens:"auto"}})},whitespace:({addUtilities:t})=>{t({".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:t})=>{t({".text-wrap":{"text-wrap":"wrap"},".text-nowrap":{"text-wrap":"nowrap"},".text-balance":{"text-wrap":"balance"},".text-pretty":{"text-wrap":"pretty"}})},wordBreak:({addUtilities:t})=>{t({".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,cn.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,cn.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:t})=>{t({".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:t,theme:r,corePlugins:s})=>{t({border:a=>s("borderOpacity")?(0,ma.default)({color:a,property:"border-color",variable:"--tw-border-opacity"}):{"border-color":(0,Gi.default)(a)}},{values:(({DEFAULT:a,...u})=>u)((0,ia.default)(r("borderColor"))),type:["color","any"]}),t({"border-x":a=>s("borderOpacity")?(0,ma.default)({color:a,property:["border-left-color","border-right-color"],variable:"--tw-border-opacity"}):{"border-left-color":(0,Gi.default)(a),"border-right-color":(0,Gi.default)(a)},"border-y":a=>s("borderOpacity")?(0,ma.default)({color:a,property:["border-top-color","border-bottom-color"],variable:"--tw-border-opacity"}):{"border-top-color":(0,Gi.default)(a),"border-bottom-color":(0,Gi.default)(a)}},{values:(({DEFAULT:a,...u})=>u)((0,ia.default)(r("borderColor"))),type:["color","any"]}),t({"border-s":a=>s("borderOpacity")?(0,ma.default)({color:a,property:"border-inline-start-color",variable:"--tw-border-opacity"}):{"border-inline-start-color":(0,Gi.default)(a)},"border-e":a=>s("borderOpacity")?(0,ma.default)({color:a,property:"border-inline-end-color",variable:"--tw-border-opacity"}):{"border-inline-end-color":(0,Gi.default)(a)},"border-t":a=>s("borderOpacity")?(0,ma.default)({color:a,property:"border-top-color",variable:"--tw-border-opacity"}):{"border-top-color":(0,Gi.default)(a)},"border-r":a=>s("borderOpacity")?(0,ma.default)({color:a,property:"border-right-color",variable:"--tw-border-opacity"}):{"border-right-color":(0,Gi.default)(a)},"border-b":a=>s("borderOpacity")?(0,ma.default)({color:a,property:"border-bottom-color",variable:"--tw-border-opacity"}):{"border-bottom-color":(0,Gi.default)(a)},"border-l":a=>s("borderOpacity")?(0,ma.default)({color:a,property:"border-left-color",variable:"--tw-border-opacity"}):{"border-left-color":(0,Gi.default)(a)}},{values:(({DEFAULT:a,...u})=>u)((0,ia.default)(r("borderColor"))),type:["color","any"]})},borderOpacity:(0,cn.default)("borderOpacity",[["border-opacity",["--tw-border-opacity"]]]),backgroundColor:({matchUtilities:t,theme:r,corePlugins:s})=>{t({bg:a=>s("backgroundOpacity")?(0,ma.default)({color:a,property:"background-color",variable:"--tw-bg-opacity"}):{"background-color":(0,Gi.default)(a)}},{values:(0,ia.default)(r("backgroundColor")),type:["color","any"]})},backgroundOpacity:(0,cn.default)("backgroundOpacity",[["bg-opacity",["--tw-bg-opacity"]]]),backgroundImage:(0,cn.default)("backgroundImage",[["bg",["background-image"]]],{type:["lookup","image","url"]}),gradientColorStops:(()=>{function t(r){return(0,ma.withAlphaValue)(r,0,"rgb(255 255 255 / 0)")}return function({matchUtilities:r,theme:s,addDefaults:a}){a("gradient-color-stops",{"--tw-gradient-from-position":" ","--tw-gradient-via-position":" ","--tw-gradient-to-position":" "});let u={values:(0,ia.default)(s("gradientColorStops")),type:["color","any"]},e={values:s("gradientColorStopPositions"),type:["length","percentage"]};r({from:l=>{let n=t(l);return{"@defaults gradient-color-stops":{},"--tw-gradient-from":`${(0,Gi.default)(l)} var(--tw-gradient-from-position)`,"--tw-gradient-to":`${n} var(--tw-gradient-to-position)`,"--tw-gradient-stops":"var(--tw-gradient-from), var(--tw-gradient-to)"}}},u),r({from:l=>({"--tw-gradient-from-position":l})},e),r({via:l=>{let n=t(l);return{"@defaults gradient-color-stops":{},"--tw-gradient-to":`${n} var(--tw-gradient-to-position)`,"--tw-gradient-stops":`var(--tw-gradient-from), ${(0,Gi.default)(l)} var(--tw-gradient-via-position), var(--tw-gradient-to)`}}},u),r({via:l=>({"--tw-gradient-via-position":l})},e),r({to:l=>({"@defaults gradient-color-stops":{},"--tw-gradient-to":`${(0,Gi.default)(l)} var(--tw-gradient-to-position)`})},u),r({to:l=>({"--tw-gradient-to-position":l})},e)}})(),boxDecorationBreak:({addUtilities:t})=>{t({".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,cn.default)("backgroundSize",[["bg",["background-size"]]],{type:["lookup","length","percentage","size"]}),backgroundAttachment:({addUtilities:t})=>{t({".bg-fixed":{"background-attachment":"fixed"},".bg-local":{"background-attachment":"local"},".bg-scroll":{"background-attachment":"scroll"}})},backgroundClip:({addUtilities:t})=>{t({".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,cn.default)("backgroundPosition",[["bg",["background-position"]]],{type:["lookup",["position",{preferOnConflict:!0}]]}),backgroundRepeat:({addUtilities:t})=>{t({".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:t})=>{t({".bg-origin-border":{"background-origin":"border-box"},".bg-origin-padding":{"background-origin":"padding-box"},".bg-origin-content":{"background-origin":"content-box"}})},fill:({matchUtilities:t,theme:r})=>{t({fill:s=>({fill:(0,Gi.default)(s)})},{values:(0,ia.default)(r("fill")),type:["color","any"]})},stroke:({matchUtilities:t,theme:r})=>{t({stroke:s=>({stroke:(0,Gi.default)(s)})},{values:(0,ia.default)(r("stroke")),type:["color","url","any"]})},strokeWidth:(0,cn.default)("strokeWidth",[["stroke",["stroke-width"]]],{type:["length","number","percentage"]}),objectFit:({addUtilities:t})=>{t({".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,cn.default)("objectPosition",[["object",["object-position"]]]),padding:(0,cn.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:t})=>{t({".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,cn.default)("textIndent",[["indent",["text-indent"]]],{supportsNegativeValues:!0}),verticalAlign:({addUtilities:t,matchUtilities:r})=>{t({".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"}}),r({align:s=>({"vertical-align":s})})},fontFamily:({matchUtilities:t,theme:r})=>{t({font:s=>{let[a,u={}]=Array.isArray(s)&&(0,sF.default)(s[1])?s:[s],{fontFeatureSettings:e,fontVariationSettings:l}=u;return{"font-family":Array.isArray(a)?a.join(", "):a,...e===void 0?{}:{"font-feature-settings":e},...l===void 0?{}:{"font-variation-settings":l}}}},{values:r("fontFamily"),type:["lookup","generic-name","family-name"]})},fontSize:({matchUtilities:t,theme:r})=>{t({text:(s,{modifier:a})=>{let[u,e]=Array.isArray(s)?s:[s];if(a)return{"font-size":u,"line-height":a};let{lineHeight:l,letterSpacing:n,fontWeight:c}=(0,sF.default)(e)?e:{lineHeight:e};return{"font-size":u,...l===void 0?{}:{"line-height":l},...n===void 0?{}:{"letter-spacing":n},...c===void 0?{}:{"font-weight":c}}}},{values:r("fontSize"),modifiers:r("lineHeight"),type:["absolute-size","relative-size","length","percentage"]})},fontWeight:(0,cn.default)("fontWeight",[["font",["fontWeight"]]],{type:["lookup","number","any"]}),textTransform:({addUtilities:t})=>{t({".uppercase":{"text-transform":"uppercase"},".lowercase":{"text-transform":"lowercase"},".capitalize":{"text-transform":"capitalize"},".normal-case":{"text-transform":"none"}})},fontStyle:({addUtilities:t})=>{t({".italic":{"font-style":"italic"},".not-italic":{"font-style":"normal"}})},fontVariantNumeric:({addDefaults:t,addUtilities:r})=>{let s="var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)";t("font-variant-numeric",{"--tw-ordinal":" ","--tw-slashed-zero":" ","--tw-numeric-figure":" ","--tw-numeric-spacing":" ","--tw-numeric-fraction":" "}),r({".normal-nums":{"font-variant-numeric":"normal"},".ordinal":{"@defaults font-variant-numeric":{},"--tw-ordinal":"ordinal","font-variant-numeric":s},".slashed-zero":{"@defaults font-variant-numeric":{},"--tw-slashed-zero":"slashed-zero","font-variant-numeric":s},".lining-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-figure":"lining-nums","font-variant-numeric":s},".oldstyle-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-figure":"oldstyle-nums","font-variant-numeric":s},".proportional-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-spacing":"proportional-nums","font-variant-numeric":s},".tabular-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-spacing":"tabular-nums","font-variant-numeric":s},".diagonal-fractions":{"@defaults font-variant-numeric":{},"--tw-numeric-fraction":"diagonal-fractions","font-variant-numeric":s},".stacked-fractions":{"@defaults font-variant-numeric":{},"--tw-numeric-fraction":"stacked-fractions","font-variant-numeric":s}})},lineHeight:(0,cn.default)("lineHeight",[["leading",["lineHeight"]]]),letterSpacing:(0,cn.default)("letterSpacing",[["tracking",["letterSpacing"]]],{supportsNegativeValues:!0}),textColor:({matchUtilities:t,theme:r,corePlugins:s})=>{t({text:a=>s("textOpacity")?(0,ma.default)({color:a,property:"color",variable:"--tw-text-opacity"}):{color:(0,Gi.default)(a)}},{values:(0,ia.default)(r("textColor")),type:["color","any"]})},textOpacity:(0,cn.default)("textOpacity",[["text-opacity",["--tw-text-opacity"]]]),textDecoration:({addUtilities:t})=>{t({".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:t,theme:r})=>{t({decoration:s=>({"text-decoration-color":(0,Gi.default)(s)})},{values:(0,ia.default)(r("textDecorationColor")),type:["color","any"]})},textDecorationStyle:({addUtilities:t})=>{t({".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,cn.default)("textDecorationThickness",[["decoration",["text-decoration-thickness"]]],{type:["length","percentage"]}),textUnderlineOffset:(0,cn.default)("textUnderlineOffset",[["underline-offset",["text-underline-offset"]]],{type:["length","percentage","any"]}),fontSmoothing:({addUtilities:t})=>{t({".antialiased":{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"},".subpixel-antialiased":{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}})},placeholderColor:({matchUtilities:t,theme:r,corePlugins:s})=>{t({placeholder:a=>s("placeholderOpacity")?{"&::placeholder":(0,ma.default)({color:a,property:"color",variable:"--tw-placeholder-opacity"})}:{"&::placeholder":{color:(0,Gi.default)(a)}}},{values:(0,ia.default)(r("placeholderColor")),type:["color","any"]})},placeholderOpacity:({matchUtilities:t,theme:r})=>{t({"placeholder-opacity":s=>({"&::placeholder":{"--tw-placeholder-opacity":s}})},{values:r("placeholderOpacity")})},caretColor:({matchUtilities:t,theme:r})=>{t({caret:s=>({"caret-color":(0,Gi.default)(s)})},{values:(0,ia.default)(r("caretColor")),type:["color","any"]})},accentColor:({matchUtilities:t,theme:r})=>{t({accent:s=>({"accent-color":(0,Gi.default)(s)})},{values:(0,ia.default)(r("accentColor")),type:["color","any"]})},opacity:(0,cn.default)("opacity",[["opacity",["opacity"]]]),backgroundBlendMode:({addUtilities:t})=>{t({".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:t})=>{t({".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-darker":{"mix-blend-mode":"plus-darker"},".mix-blend-plus-lighter":{"mix-blend-mode":"plus-lighter"}})},boxShadow:(()=>{let t=(0,iJ.default)("boxShadow"),r=["var(--tw-ring-offset-shadow, 0 0 #0000)","var(--tw-ring-shadow, 0 0 #0000)","var(--tw-shadow)"].join(", ");return function({matchUtilities:s,addDefaults:a,theme:u}){a("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"}),s({shadow:e=>{e=t(e);let l=(0,aF.parseBoxShadowValue)(e);for(let n of l)n.valid&&(n.color="var(--tw-shadow-color)");return{"@defaults box-shadow":{},"--tw-shadow":e==="none"?"0 0 #0000":e,"--tw-shadow-colored":e==="none"?"0 0 #0000":(0,aF.formatBoxShadowValue)(l),"box-shadow":r}}},{values:u("boxShadow"),type:["shadow"]})}})(),boxShadowColor:({matchUtilities:t,theme:r})=>{t({shadow:s=>({"--tw-shadow-color":(0,Gi.default)(s),"--tw-shadow":"var(--tw-shadow-colored)"})},{values:(0,ia.default)(r("boxShadowColor")),type:["color","any"]})},outlineStyle:({addUtilities:t})=>{t({".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,cn.default)("outlineWidth",[["outline",["outline-width"]]],{type:["length","number","percentage"]}),outlineOffset:(0,cn.default)("outlineOffset",[["outline-offset",["outline-offset"]]],{type:["length","number","percentage","any"],supportsNegativeValues:!0}),outlineColor:({matchUtilities:t,theme:r})=>{t({outline:s=>({"outline-color":(0,Gi.default)(s)})},{values:(0,ia.default)(r("outlineColor")),type:["color","any"]})},ringWidth:({matchUtilities:t,addDefaults:r,addUtilities:s,theme:a,config:u})=>{let e=(()=>{var l,n;if((0,Dx.flagEnabled)(u(),"respectDefaultRingColorOpacity"))return a("ringColor.DEFAULT");let c=a("ringOpacity.DEFAULT","0.5");return!((l=a("ringColor"))===null||l===void 0)&&l.DEFAULT?(0,ma.withAlphaValue)((n=a("ringColor"))===null||n===void 0?void 0:n.DEFAULT,c,`rgb(147 197 253 / ${c})`):`rgb(147 197 253 / ${c})`})();r("ring-width",{"--tw-ring-inset":" ","--tw-ring-offset-width":a("ringOffsetWidth.DEFAULT","0px"),"--tw-ring-offset-color":a("ringOffsetColor.DEFAULT","#fff"),"--tw-ring-color":e,"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000"}),t({ring:l=>({"@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(${l} + 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:a("ringWidth"),type:"length"}),s({".ring-inset":{"@defaults ring-width":{},"--tw-ring-inset":"inset"}})},ringColor:({matchUtilities:t,theme:r,corePlugins:s})=>{t({ring:a=>s("ringOpacity")?(0,ma.default)({color:a,property:"--tw-ring-color",variable:"--tw-ring-opacity"}):{"--tw-ring-color":(0,Gi.default)(a)}},{values:Object.fromEntries(Object.entries((0,ia.default)(r("ringColor"))).filter(([a])=>a!=="DEFAULT")),type:["color","any"]})},ringOpacity:t=>{let{config:r}=t;return(0,cn.default)("ringOpacity",[["ring-opacity",["--tw-ring-opacity"]]],{filterDefault:!(0,Dx.flagEnabled)(r(),"respectDefaultRingColorOpacity")})(t)},ringOffsetWidth:(0,cn.default)("ringOffsetWidth",[["ring-offset",["--tw-ring-offset-width"]]],{type:"length"}),ringOffsetColor:({matchUtilities:t,theme:r})=>{t({"ring-offset":s=>({"--tw-ring-offset-color":(0,Gi.default)(s)})},{values:(0,ia.default)(r("ringOffsetColor")),type:["color","any"]})},blur:({matchUtilities:t,theme:r})=>{t({blur:s=>({"--tw-blur":s.trim()===""?" ":`blur(${s})`,"@defaults filter":{},filter:Jo})},{values:r("blur")})},brightness:({matchUtilities:t,theme:r})=>{t({brightness:s=>({"--tw-brightness":`brightness(${s})`,"@defaults filter":{},filter:Jo})},{values:r("brightness")})},contrast:({matchUtilities:t,theme:r})=>{t({contrast:s=>({"--tw-contrast":`contrast(${s})`,"@defaults filter":{},filter:Jo})},{values:r("contrast")})},dropShadow:({matchUtilities:t,theme:r})=>{t({"drop-shadow":s=>({"--tw-drop-shadow":Array.isArray(s)?s.map(a=>`drop-shadow(${a})`).join(" "):`drop-shadow(${s})`,"@defaults filter":{},filter:Jo})},{values:r("dropShadow")})},grayscale:({matchUtilities:t,theme:r})=>{t({grayscale:s=>({"--tw-grayscale":`grayscale(${s})`,"@defaults filter":{},filter:Jo})},{values:r("grayscale")})},hueRotate:({matchUtilities:t,theme:r})=>{t({"hue-rotate":s=>({"--tw-hue-rotate":`hue-rotate(${s})`,"@defaults filter":{},filter:Jo})},{values:r("hueRotate"),supportsNegativeValues:!0})},invert:({matchUtilities:t,theme:r})=>{t({invert:s=>({"--tw-invert":`invert(${s})`,"@defaults filter":{},filter:Jo})},{values:r("invert")})},saturate:({matchUtilities:t,theme:r})=>{t({saturate:s=>({"--tw-saturate":`saturate(${s})`,"@defaults filter":{},filter:Jo})},{values:r("saturate")})},sepia:({matchUtilities:t,theme:r})=>{t({sepia:s=>({"--tw-sepia":`sepia(${s})`,"@defaults filter":{},filter:Jo})},{values:r("sepia")})},filter:({addDefaults:t,addUtilities:r})=>{t("filter",{"--tw-blur":" ","--tw-brightness":" ","--tw-contrast":" ","--tw-grayscale":" ","--tw-hue-rotate":" ","--tw-invert":" ","--tw-saturate":" ","--tw-sepia":" ","--tw-drop-shadow":" "}),r({".filter":{"@defaults filter":{},filter:Jo},".filter-none":{filter:"none"}})},backdropBlur:({matchUtilities:t,theme:r})=>{t({"backdrop-blur":s=>({"--tw-backdrop-blur":s.trim()===""?" ":`blur(${s})`,"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Ms,"backdrop-filter":Ms})},{values:r("backdropBlur")})},backdropBrightness:({matchUtilities:t,theme:r})=>{t({"backdrop-brightness":s=>({"--tw-backdrop-brightness":`brightness(${s})`,"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Ms,"backdrop-filter":Ms})},{values:r("backdropBrightness")})},backdropContrast:({matchUtilities:t,theme:r})=>{t({"backdrop-contrast":s=>({"--tw-backdrop-contrast":`contrast(${s})`,"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Ms,"backdrop-filter":Ms})},{values:r("backdropContrast")})},backdropGrayscale:({matchUtilities:t,theme:r})=>{t({"backdrop-grayscale":s=>({"--tw-backdrop-grayscale":`grayscale(${s})`,"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Ms,"backdrop-filter":Ms})},{values:r("backdropGrayscale")})},backdropHueRotate:({matchUtilities:t,theme:r})=>{t({"backdrop-hue-rotate":s=>({"--tw-backdrop-hue-rotate":`hue-rotate(${s})`,"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Ms,"backdrop-filter":Ms})},{values:r("backdropHueRotate"),supportsNegativeValues:!0})},backdropInvert:({matchUtilities:t,theme:r})=>{t({"backdrop-invert":s=>({"--tw-backdrop-invert":`invert(${s})`,"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Ms,"backdrop-filter":Ms})},{values:r("backdropInvert")})},backdropOpacity:({matchUtilities:t,theme:r})=>{t({"backdrop-opacity":s=>({"--tw-backdrop-opacity":`opacity(${s})`,"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Ms,"backdrop-filter":Ms})},{values:r("backdropOpacity")})},backdropSaturate:({matchUtilities:t,theme:r})=>{t({"backdrop-saturate":s=>({"--tw-backdrop-saturate":`saturate(${s})`,"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Ms,"backdrop-filter":Ms})},{values:r("backdropSaturate")})},backdropSepia:({matchUtilities:t,theme:r})=>{t({"backdrop-sepia":s=>({"--tw-backdrop-sepia":`sepia(${s})`,"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Ms,"backdrop-filter":Ms})},{values:r("backdropSepia")})},backdropFilter:({addDefaults:t,addUtilities:r})=>{t("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":" "}),r({".backdrop-filter":{"@defaults backdrop-filter":{},"-webkit-backdrop-filter":Ms,"backdrop-filter":Ms},".backdrop-filter-none":{"-webkit-backdrop-filter":"none","backdrop-filter":"none"}})},transitionProperty:({matchUtilities:t,theme:r})=>{let s=r("transitionTimingFunction.DEFAULT"),a=r("transitionDuration.DEFAULT");t({transition:u=>({"transition-property":u,...u==="none"?{}:{"transition-timing-function":s,"transition-duration":a}})},{values:r("transitionProperty")})},transitionDelay:(0,cn.default)("transitionDelay",[["delay",["transitionDelay"]]]),transitionDuration:(0,cn.default)("transitionDuration",[["duration",["transitionDuration"]]],{filterDefault:!0}),transitionTimingFunction:(0,cn.default)("transitionTimingFunction",[["ease",["transitionTimingFunction"]]],{filterDefault:!0}),willChange:(0,cn.default)("willChange",[["will-change",["will-change"]]]),contain:({addDefaults:t,addUtilities:r})=>{let s="var(--tw-contain-size) var(--tw-contain-layout) var(--tw-contain-paint) var(--tw-contain-style)";t("contain",{"--tw-contain-size":" ","--tw-contain-layout":" ","--tw-contain-paint":" ","--tw-contain-style":" "}),r({".contain-none":{contain:"none"},".contain-content":{contain:"content"},".contain-strict":{contain:"strict"},".contain-size":{"@defaults contain":{},"--tw-contain-size":"size",contain:s},".contain-inline-size":{"@defaults contain":{},"--tw-contain-size":"inline-size",contain:s},".contain-layout":{"@defaults contain":{},"--tw-contain-layout":"layout",contain:s},".contain-paint":{"@defaults contain":{},"--tw-contain-paint":"paint",contain:s},".contain-style":{"@defaults contain":{},"--tw-contain-style":"style",contain:s}})},content:(0,cn.default)("content",[["content",["--tw-content",["content","var(--tw-content)"]]]]),forcedColorAdjust:({addUtilities:t})=>{t({".forced-color-adjust-auto":{"forced-color-adjust":"auto"},".forced-color-adjust-none":{"forced-color-adjust":"none"}})}}});var Nx=ct(Ox=>{"use strict";Object.defineProperty(Ox,"__esModule",{value:!0});Object.defineProperty(Ox,"toPath",{enumerable:!0,get:function(){return lJ}});function lJ(t){if(Array.isArray(t))return t;let r=t.split("[").length-1,s=t.split("]").length-1;if(r!==s)throw new Error(`Path is invalid. Has unbalanced brackets: ${t}`);return t.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}});var jx=ct(Fx=>{"use strict";Object.defineProperty(Fx,"__esModule",{value:!0});Object.defineProperty(Fx,"default",{enumerable:!0,get:function(){return cJ}});var pF=new Map([["{","}"],["[","]"],["(",")"]]),cF=new Map(Array.from(pF.entries()).map(([t,r])=>[r,t])),uJ=new Set(['"',"'","`"]);function cJ(t){let r=[],s=!1;for(let a=0;a<t.length;a++){let u=t[a];if(u===":"&&!s&&r.length===0)return!1;if(uJ.has(u)&&t[a-1]!=="\\"&&(s=!s),!s&&t[a-1]!=="\\"){if(pF.has(u))r.push(u);else if(cF.has(u)){let e=cF.get(u);if(r.length<=0||r.pop()!==e)return!1}}}return!(r.length>0)}});var fF=ct(Lx=>{"use strict";Object.defineProperty(Lx,"__esModule",{value:!0});Object.defineProperty(Lx,"hasContentChanged",{enumerable:!0,get:function(){return mJ}});var pJ=dJ(hr("crypto")),dF=hJ(uy());function dJ(t){return t&&t.__esModule?t:{default:t}}function hF(t){if(typeof WeakMap!="function")return null;var r=new WeakMap,s=new WeakMap;return(hF=function(a){return a?s:r})(t)}function hJ(t,r){if(!r&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var s=hF(r);if(s&&s.has(t))return s.get(t);var a={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in t)if(e!=="default"&&Object.prototype.hasOwnProperty.call(t,e)){var l=u?Object.getOwnPropertyDescriptor(t,e):null;l&&(l.get||l.set)?Object.defineProperty(a,e,l):a[e]=t[e]}return a.default=t,s&&s.set(t,a),a}function fJ(t){try{return pJ.default.createHash("md5").update(t,"utf-8").digest("binary")}catch{return""}}function mJ(t,r){let s=r.toString();if(!s.includes("@tailwind"))return!1;let a=dF.sourceHashMap.get(t),u=fJ(s),e=a!==u;return dF.sourceHashMap.set(t,u),e}});var mF=ct(Rx=>{"use strict";Object.defineProperty(Rx,"__esModule",{value:!0});Object.defineProperty(Rx,"default",{enumerable:!0,get:function(){return yJ}});function yJ(t){return(t>0n)-(t<0n)}});var yF=ct(Mx=>{"use strict";Object.defineProperty(Mx,"__esModule",{value:!0});Object.defineProperty(Mx,"remapBitfield",{enumerable:!0,get:function(){return bJ}});function bJ(t,r){let s=0n,a=0n;for(let[u,e]of r)t&u&&(s=s|u,a=a|e);return t&~s|a}});var vF=ct(Ux=>{"use strict";Object.defineProperty(Ux,"__esModule",{value:!0});Object.defineProperty(Ux,"Offsets",{enumerable:!0,get:function(){return Bx}});var bF=vJ(mF()),gJ=yF();function vJ(t){return t&&t.__esModule?t:{default:t}}var Bx=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(r){return{layer:r,parentLayer:r,arbitrary:0n,variants:0n,parallelIndex:0n,index:this.offsets[r]++,propertyOffset:0n,property:"",options:[]}}arbitraryProperty(r){return{...this.create("utilities"),arbitrary:1n,property:r}}forVariant(r,s=0){let a=this.variantOffsets.get(r);if(a===void 0)throw new Error(`Cannot find offset for unknown variant ${r}`);return{...this.create("variants"),variants:a<<BigInt(s)}}applyVariantOffset(r,s,a){return a.variant=s.variants,{...r,layer:"variants",parentLayer:r.layer==="variants"?r.parentLayer:r.layer,variants:r.variants|s.variants,options:a.sort?[].concat(a,r.options):r.options,parallelIndex:gF([r.parallelIndex,s.parallelIndex])}}applyParallelOffset(r,s){return{...r,parallelIndex:BigInt(s)}}recordVariants(r,s){for(let a of r)this.recordVariant(a,s(a))}recordVariant(r,s=1){return this.variantOffsets.set(r,1n<<this.reservedVariantBits),this.reservedVariantBits+=BigInt(s),{...this.create("variants"),variants:this.variantOffsets.get(r)}}compare(r,s){if(r.layer!==s.layer)return this.layerPositions[r.layer]-this.layerPositions[s.layer];if(r.parentLayer!==s.parentLayer)return this.layerPositions[r.parentLayer]-this.layerPositions[s.parentLayer];for(let u of r.options)for(let e of s.options){if(u.id!==e.id||!u.sort||!e.sort)continue;var a;let l=(a=gF([u.variant,e.variant]))!==null&&a!==void 0?a:0n,n=~(l|l-1n),c=r.variants&n,p=s.variants&n;if(c!==p)continue;let i=u.sort({value:u.value,modifier:u.modifier},{value:e.value,modifier:e.modifier});if(i!==0)return i}return r.variants!==s.variants?r.variants-s.variants:r.parallelIndex!==s.parallelIndex?r.parallelIndex-s.parallelIndex:r.arbitrary!==s.arbitrary?r.arbitrary-s.arbitrary:r.propertyOffset!==s.propertyOffset?r.propertyOffset-s.propertyOffset:r.index-s.index}recalculateVariantOffsets(){let r=Array.from(this.variantOffsets.entries()).filter(([u])=>u.startsWith("[")).sort(([u],[e])=>xJ(u,e)),s=r.map(([,u])=>u).sort((u,e)=>(0,bF.default)(u-e));return r.map(([,u],e)=>[u,s[e]]).filter(([u,e])=>u!==e)}remapArbitraryVariantOffsets(r){let s=this.recalculateVariantOffsets();return s.length===0?r:r.map(a=>{let[u,e]=a;return u={...u,variants:(0,gJ.remapBitfield)(u.variants,s)},[u,e]})}sortArbitraryProperties(r){let s=new Set;for(let[l]of r)l.arbitrary===1n&&s.add(l.property);if(s.size===0)return r;let a=Array.from(s).sort(),u=new Map,e=1n;for(let l of a)u.set(l,e++);return r.map(l=>{let[n,c]=l;var p;return n={...n,propertyOffset:(p=u.get(n.property))!==null&&p!==void 0?p:0n},[n,c]})}sort(r){return r=this.remapArbitraryVariantOffsets(r),r=this.sortArbitraryProperties(r),r.sort(([s],[a])=>(0,bF.default)(this.compare(s,a)))}};function gF(t){let r=null;for(let s of t)r=r??s,r=r>s?r:s;return r}function xJ(t,r){let s=t.length,a=r.length,u=s<a?s:a;for(let e=0;e<u;e++){let l=t.charCodeAt(e)-r.charCodeAt(e);if(l!==0)return l}return s-a}});var fy=ct(Jx=>{"use strict";Object.defineProperty(Jx,"__esModule",{value:!0});function TJ(t,r){for(var s in r)Object.defineProperty(t,s,{enumerable:!0,get:r[s]})}TJ(Jx,{INTERNAL_FEATURES:function(){return CF},isValidVariantFormatString:function(){return Hx},parseVariant:function(){return yy},getFileModifiedMap:function(){return Gx},createContext:function(){return OF},getContext:function(){return WJ}});var EJ=$a(hr("fs")),SJ=$a(hr("url")),fh=$a(Ho()),wJ=$a(KN()),_F=$a(Yl()),_J=$a(py()),AJ=$a(Uv()),PJ=$a(ey()),CJ=$a(rp()),kJ=$a(ch()),hh=PF(yx()),xF=ly(),ns=uF(),Xo=PF(uy()),DJ=Nx(),ap=$a(qu()),IJ=$a(ay()),TF=$a(jx()),EF=Xx(),OJ=fF(),NJ=vF(),$x=Wu(),Vx=fx();function $a(t){return t&&t.__esModule?t:{default:t}}function AF(t){if(typeof WeakMap!="function")return null;var r=new WeakMap,s=new WeakMap;return(AF=function(a){return a?s:r})(t)}function PF(t,r){if(!r&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var s=AF(r);if(s&&s.has(t))return s.get(t);var a={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in t)if(e!=="default"&&Object.prototype.hasOwnProperty.call(t,e)){var l=u?Object.getOwnPropertyDescriptor(t,e):null;l&&(l.get||l.set)?Object.defineProperty(a,e,l):a[e]=t[e]}return a.default=t,s&&s.set(t,a),a}var CF=Symbol(),qx={AddVariant:Symbol.for("ADD_VARIANT"),MatchVariant:Symbol.for("MATCH_VARIANT")},zx={Base:1,Dynamic:2};function Wx(t,r){let s=t.tailwindConfig.prefix;return typeof s=="function"?s(r):s+r}function SF({type:t="any",...r}){let s=[].concat(t);return{...r,types:s.map(a=>Array.isArray(a)?{type:a[0],...a[1]}:{type:a,preferOnConflict:!1})}}function FJ(t){let r=[],s="",a=0;for(let u=0;u<t.length;u++){let e=t[u];if(e==="\\")s+="\\"+t[++u];else if(e==="{")++a,r.push(s.trim()),s="";else if(e==="}"){if(--a<0)throw new Error("Your { and } are unbalanced.");r.push(s.trim()),s=""}else s+=e}return s.length>0&&r.push(s.trim()),r=r.filter(u=>u!==""),r}function jJ(t,r,{before:s=[]}={}){if(s=[].concat(s),s.length<=0){t.push(r);return}let a=t.length-1;for(let u of s){let e=t.indexOf(u);e!==-1&&(a=Math.min(a,e))}t.splice(a,0,r)}function kF(t){return Array.isArray(t)?t.flatMap(r=>!Array.isArray(r)&&!(0,CJ.default)(r)?r:(0,AJ.default)(r)):kF([t])}function LJ(t,r){return(0,_F.default)(a=>{let u=[];return r&&r(a),a.walkClasses(e=>{u.push(e.value)}),u}).transformSync(t)}function RJ(t){t.walkPseudos(r=>{r.value===":not"&&r.remove()})}function MJ(t,r={containsNonOnDemandable:!1},s=0){let a=[],u=[];t.type==="rule"?u.push(...t.selectors):t.type==="atrule"&&t.walkRules(e=>u.push(...e.selectors));for(let e of u){let l=LJ(e,RJ);l.length===0&&(r.containsNonOnDemandable=!0);for(let n of l)a.push(n)}return s===0?[r.containsNonOnDemandable||a.length===0,a]:a}function my(t){return kF(t).flatMap(r=>{let s=new Map,[a,u]=MJ(r);return a&&u.unshift(Xo.NOT_ON_DEMAND),u.map(e=>(s.has(r)||s.set(r,r),[e,s.get(r)]))})}function Hx(t){return t.startsWith("@")||t.includes("&")}function yy(t){t=t.replace(/\n+/g,"").replace(/\s{1,}/g," ").trim();let r=FJ(t).map(s=>{if(!s.startsWith("@"))return({format:l})=>l(s);let[,a,u]=/@(\S*)( .+|[({].*)?/g.exec(s);var e;return({wrap:l})=>l(fh.default.atRule({name:a,params:(e=u==null?void 0:u.trim())!==null&&e!==void 0?e:""}))}).reverse();return s=>{for(let a of r)a(s)}}function BJ(t,r,{variantList:s,variantMap:a,offsets:u,classList:e}){function l(h,d){return h?(0,wJ.default)(t,h,d):t}function n(h){return(0,PJ.default)(t.prefix,h)}function c(h,d){return h===Xo.NOT_ON_DEMAND?Xo.NOT_ON_DEMAND:d.respectPrefix?r.tailwindConfig.prefix+h:h}function p(h,d,f={}){let b=(0,DJ.toPath)(h),m=l(["theme",...b],d);return(0,_J.default)(b[0])(m,f)}let i=0,o={postcss:fh.default,prefix:n,e:kJ.default,config:l,theme:p,corePlugins:h=>Array.isArray(t.corePlugins)?t.corePlugins.includes(h):l(["corePlugins",h],!0),variants:()=>[],addBase(h){for(let[d,f]of my(h)){let b=c(d,{}),m=u.create("base");r.candidateRuleMap.has(b)||r.candidateRuleMap.set(b,[]),r.candidateRuleMap.get(b).push([{sort:m,layer:"base"},f])}},addDefaults(h,d){let f={[`@defaults ${h}`]:d};for(let[b,m]of my(f)){let y=c(b,{});r.candidateRuleMap.has(y)||r.candidateRuleMap.set(y,[]),r.candidateRuleMap.get(y).push([{sort:u.create("defaults"),layer:"defaults"},m])}},addComponents(h,d){d=Object.assign({},{preserveSource:!1,respectPrefix:!0,respectImportant:!1},Array.isArray(d)?{}:d);for(let[b,m]of my(h)){let y=c(b,d);e.add(y),r.candidateRuleMap.has(y)||r.candidateRuleMap.set(y,[]),r.candidateRuleMap.get(y).push([{sort:u.create("components"),layer:"components",options:d},m])}},addUtilities(h,d){d=Object.assign({},{preserveSource:!1,respectPrefix:!0,respectImportant:!0},Array.isArray(d)?{}:d);for(let[b,m]of my(h)){let y=c(b,d);e.add(y),r.candidateRuleMap.has(y)||r.candidateRuleMap.set(y,[]),r.candidateRuleMap.get(y).push([{sort:u.create("utilities"),layer:"utilities",options:d},m])}},matchUtilities:function(h,d){d=SF({...{respectPrefix:!0,respectImportant:!0,modifiers:!1},...d});let b=u.create("utilities");for(let m in h){let v=function(S,{isOnlyPlugin:_}){let[A,L,j]=(0,xF.coerceValue)(d.types,S,d,t);if(A===void 0)return[];if(!d.types.some(({type:z})=>z===L))if(_)ap.default.warn([`Unnecessary typehint \`${L}\` in \`${m}-${S}\`.`,`You can safely update it to \`${m}-${S.replace(L+":","")}\`.`]);else return[];if(!(0,TF.default)(A))return[];let F={get modifier(){return d.modifiers||ap.default.warn(`modifier-used-without-options-for-${m}`,["Your plugin must set `modifiers: true` in its options to support modifiers."]),j}},k=(0,$x.flagEnabled)(t,"generalizedModifiers");return[].concat(k?x(A,F):x(A)).filter(Boolean).map(z=>({[(0,hh.default)(m,S)]:z}))},y=c(m,d),x=h[m];e.add([y,d]);let E=[{sort:b,layer:"utilities",options:d},v];r.candidateRuleMap.has(y)||r.candidateRuleMap.set(y,[]),r.candidateRuleMap.get(y).push(E)}},matchComponents:function(h,d){d=SF({...{respectPrefix:!0,respectImportant:!1,modifiers:!1},...d});let b=u.create("components");for(let m in h){let v=function(S,{isOnlyPlugin:_}){let[A,L,j]=(0,xF.coerceValue)(d.types,S,d,t);if(A===void 0)return[];if(!d.types.some(({type:z})=>z===L))if(_)ap.default.warn([`Unnecessary typehint \`${L}\` in \`${m}-${S}\`.`,`You can safely update it to \`${m}-${S.replace(L+":","")}\`.`]);else return[];if(!(0,TF.default)(A))return[];let F={get modifier(){return d.modifiers||ap.default.warn(`modifier-used-without-options-for-${m}`,["Your plugin must set `modifiers: true` in its options to support modifiers."]),j}},k=(0,$x.flagEnabled)(t,"generalizedModifiers");return[].concat(k?x(A,F):x(A)).filter(Boolean).map(z=>({[(0,hh.default)(m,S)]:z}))},y=c(m,d),x=h[m];e.add([y,d]);let E=[{sort:b,layer:"components",options:d},v];r.candidateRuleMap.has(y)||r.candidateRuleMap.set(y,[]),r.candidateRuleMap.get(y).push(E)}},addVariant(h,d,f={}){d=[].concat(d).map(b=>{if(typeof b!="string")return(m={})=>{let{args:y,modifySelectors:x,container:v,separator:E,wrap:S,format:_}=m,A=b(Object.assign({modifySelectors:x,container:v,separator:E},f.type===qx.MatchVariant&&{args:y,wrap:S,format:_}));if(typeof A=="string"&&!Hx(A))throw new Error(`Your custom variant \`${h}\` has an invalid format string. Make sure it's an at-rule or contains a \`&\` placeholder.`);return Array.isArray(A)?A.filter(L=>typeof L=="string").map(L=>yy(L)):A&&typeof A=="string"&&yy(A)(m)};if(!Hx(b))throw new Error(`Your custom variant \`${h}\` has an invalid format string. Make sure it's an at-rule or contains a \`&\` placeholder.`);return yy(b)}),jJ(s,h,f),a.set(h,d),r.variantOptions.set(h,f)},matchVariant(h,d,f){var b;let m=(b=f==null?void 0:f.id)!==null&&b!==void 0?b:++i,y=h==="@",x=(0,$x.flagEnabled)(t,"generalizedModifiers");var v;for(let[_,A]of Object.entries((v=f==null?void 0:f.values)!==null&&v!==void 0?v:{}))_!=="DEFAULT"&&o.addVariant(y?`${h}${_}`:`${h}-${_}`,({args:L,container:j})=>d(A,x?{modifier:L==null?void 0:L.modifier,container:j}:{container:j}),{...f,value:A,id:m,type:qx.MatchVariant,variantInfo:zx.Base});var E;let S="DEFAULT"in((E=f==null?void 0:f.values)!==null&&E!==void 0?E:{});o.addVariant(h,({args:_,container:A})=>{if((_==null?void 0:_.value)===Xo.NONE&&!S)return null;var L;return d((_==null?void 0:_.value)===Xo.NONE?f.values.DEFAULT:(L=_==null?void 0:_.value)!==null&&L!==void 0?L:typeof _=="string"?_:"",x?{modifier:_==null?void 0:_.modifier,container:A}:{container:A})},{...f,id:m,type:qx.MatchVariant,variantInfo:zx.Dynamic})}};return o}var Kx=new WeakMap;function Gx(t){return Kx.has(t)||Kx.set(t,new Map),Kx.get(t)}function wF(t,r){let s=!1,a=new Map;for(let e of t){var u;if(!e)continue;let l=SJ.default.parse(e),n=l.hash?l.href.replace(l.hash,""):l.href;n=l.search?n.replace(l.search,""):n;let c=(u=EJ.default.statSync(decodeURIComponent(n),{throwIfNoEntry:!1}))===null||u===void 0?void 0:u.mtimeMs;c&&((!r.has(e)||c>r.get(e))&&(s=!0),a.set(e,c))}return[s,a]}function DF(t){t.walkAtRules(r=>{["responsive","variants"].includes(r.name)&&(DF(r),r.before(r.nodes),r.remove())})}function UJ(t){let r=[];return t.each(s=>{s.type==="atrule"&&["responsive","variants"].includes(s.name)&&(s.name="layer",s.params="utilities")}),t.walkAtRules("layer",s=>{if(DF(s),s.params==="base"){for(let a of s.nodes)r.push(function({addBase:u}){u(a,{respectPrefix:!1})});s.remove()}else if(s.params==="components"){for(let a of s.nodes)r.push(function({addComponents:u}){u(a,{respectPrefix:!1,preserveSource:!0})});s.remove()}else if(s.params==="utilities"){for(let a of s.nodes)r.push(function({addUtilities:u}){u(a,{respectPrefix:!1,preserveSource:!0})});s.remove()}}),r}function $J(t,r){let s=Object.entries({...ns.variantPlugins,...ns.corePlugins}).map(([c,p])=>t.tailwindConfig.corePlugins.includes(c)?p:null).filter(Boolean),a=t.tailwindConfig.plugins.map(c=>(c.__isOptionsFunction&&(c=c()),typeof c=="function"?c:c.handler)),u=UJ(r),e=[ns.variantPlugins.childVariant,ns.variantPlugins.pseudoElementVariants,ns.variantPlugins.pseudoClassVariants,ns.variantPlugins.hasVariants,ns.variantPlugins.ariaVariants,ns.variantPlugins.dataVariants],l=[ns.variantPlugins.supportsVariants,ns.variantPlugins.reducedMotionVariants,ns.variantPlugins.prefersContrastVariants,ns.variantPlugins.screenVariants,ns.variantPlugins.orientationVariants,ns.variantPlugins.directionVariants,ns.variantPlugins.darkVariants,ns.variantPlugins.forcedColorsVariants,ns.variantPlugins.printVariant];return(t.tailwindConfig.darkMode==="class"||Array.isArray(t.tailwindConfig.darkMode)&&t.tailwindConfig.darkMode[0]==="class")&&(l=[ns.variantPlugins.supportsVariants,ns.variantPlugins.reducedMotionVariants,ns.variantPlugins.prefersContrastVariants,ns.variantPlugins.darkVariants,ns.variantPlugins.screenVariants,ns.variantPlugins.orientationVariants,ns.variantPlugins.directionVariants,ns.variantPlugins.forcedColorsVariants,ns.variantPlugins.printVariant]),[...s,...e,...a,...l,...u]}function VJ(t,r){let s=[],a=new Map;r.variantMap=a;let u=new NJ.Offsets;r.offsets=u;let e=new Set,l=BJ(r.tailwindConfig,r,{variantList:s,variantMap:a,offsets:u,classList:e});for(let d of t)if(Array.isArray(d))for(let f of d)f(l);else d==null||d(l);u.recordVariants(s,d=>a.get(d).length);for(let[d,f]of a.entries())r.variantMap.set(d,f.map((b,m)=>[u.forVariant(d,m),b]));var n;let c=((n=r.tailwindConfig.safelist)!==null&&n!==void 0?n:[]).filter(Boolean);if(c.length>0){let d=[];for(let f of c){if(typeof f=="string"){r.changedContent.push({content:f,extension:"html"});continue}if(f instanceof RegExp){ap.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}d.push(f)}if(d.length>0){let f=new Map,b=r.tailwindConfig.prefix.length,m=d.some(y=>y.pattern.source.includes("!"));for(let y of e){let x=Array.isArray(y)?(()=>{let[v,E]=y;var S;let A=Object.keys((S=E==null?void 0:E.values)!==null&&S!==void 0?S:{}).map(L=>(0,hh.formatClass)(v,L));return E!=null&&E.supportsNegativeValues&&(A=[...A,...A.map(L=>"-"+L)],A=[...A,...A.map(L=>L.slice(0,b)+"-"+L.slice(b))]),E.types.some(({type:L})=>L==="color")&&(A=[...A,...A.flatMap(L=>Object.keys(r.tailwindConfig.theme.opacity).map(j=>`${L}/${j}`))]),m&&(E!=null&&E.respectImportant)&&(A=[...A,...A.map(L=>"!"+L)]),A})():[y];for(let v of x)for(let{pattern:E,variants:S=[]}of d)if(E.lastIndex=0,f.has(E)||f.set(E,0),!!E.test(v)){f.set(E,f.get(E)+1),r.changedContent.push({content:v,extension:"html"});for(let _ of S)r.changedContent.push({content:_+r.tailwindConfig.separator+v,extension:"html"})}}for(let[y,x]of f.entries())x===0&&ap.default.warn([`The safelist pattern \`${y}\` 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 p,i;let o=(i=[].concat((p=r.tailwindConfig.darkMode)!==null&&p!==void 0?p:"media")[1])!==null&&i!==void 0?i:"dark",h=[Wx(r,o),Wx(r,"group"),Wx(r,"peer")];r.getClassOrder=function(f){let b=[...f].sort((E,S)=>E===S?0:E<S?-1:1),m=new Map(b.map(E=>[E,null])),y=(0,EF.generateRules)(new Set(b),r,!0);y=r.offsets.sort(y);let x=BigInt(h.length);for(let[,E]of y){let S=E.raws.tailwind.candidate;var v;m.set(S,(v=m.get(S))!==null&&v!==void 0?v:x++)}return f.map(E=>{var S;let _=(S=m.get(E))!==null&&S!==void 0?S:null,A=h.indexOf(E);return _===null&&A!==-1&&(_=BigInt(A)),[E,_]})},r.getClassList=function(f={}){let b=[];for(let E of e)if(Array.isArray(E)){var m;let[S,_]=E,A=[];var y;let L=Object.keys((y=_==null?void 0:_.modifiers)!==null&&y!==void 0?y:{});if(!(_==null||(m=_.types)===null||m===void 0)&&m.some(({type:k})=>k==="color")){var x;L.push(...Object.keys((x=r.tailwindConfig.theme.opacity)!==null&&x!==void 0?x:{}))}let j={modifiers:L},F=f.includeMetadata&&L.length>0;var v;for(let[k,U]of Object.entries((v=_==null?void 0:_.values)!==null&&v!==void 0?v:{})){if(U==null)continue;let z=(0,hh.formatClass)(S,k);if(b.push(F?[z,j]:z),_!=null&&_.supportsNegativeValues&&(0,IJ.default)(U)){let C=(0,hh.formatClass)(S,`-${k}`);A.push(F?[C,j]:C)}}b.push(...A)}else b.push(E);return b},r.getVariants=function(){let f=Math.random().toString(36).substring(7).toUpperCase(),b=[];for(let[y,x]of r.variantOptions.entries())if(x.variantInfo!==zx.Base){var m;b.push({name:y,isArbitrary:x.type===Symbol.for("MATCH_VARIANT"),values:Object.keys((m=x.values)!==null&&m!==void 0?m:{}),hasDash:y!=="@",selectors({modifier:v,value:E}={}){let S=`TAILWINDPLACEHOLDER${f}`,_=fh.default.rule({selector:`.${S}`}),A=fh.default.root({nodes:[_.clone()]}),L=A.toString();var j;let F=((j=r.variantMap.get(y))!==null&&j!==void 0?j:[]).flatMap(([Z,Q])=>Q),k=[];for(let Z of F){var U;let Q=[];var z;let X={args:{modifier:v,value:(z=(U=x.values)===null||U===void 0?void 0:U[E])!==null&&z!==void 0?z:E},separator:r.tailwindConfig.separator,modifySelectors(oe){return A.each(be=>{be.type==="rule"&&(be.selectors=be.selectors.map(Ne=>oe({get className(){return(0,EF.getClassNameFromSelector)(Ne)},selector:Ne})))}),A},format(oe){Q.push(oe)},wrap(oe){Q.push(`@${oe.name} ${oe.params} { & }`)},container:A},ie=Z(X);if(Q.length>0&&k.push(Q),Array.isArray(ie))for(let oe of ie)Q=[],oe(X),k.push(Q)}let C=[],R=A.toString();L!==R&&(A.walkRules(Z=>{let Q=Z.selector,X=(0,_F.default)(ie=>{ie.walkClasses(oe=>{oe.value=`${y}${r.tailwindConfig.separator}${oe.value}`})}).processSync(Q);C.push(Q.replace(X,"&").replace(S,"&"))}),A.walkAtRules(Z=>{C.push(`@${Z.name} (${Z.params}) { & }`)}));var G;let V=!(E in((G=x.values)!==null&&G!==void 0?G:{}));var B;let q=(B=x[CF])!==null&&B!==void 0?B:{},K=!(V||q.respectPrefix===!1);k=k.map(Z=>Z.map(Q=>({format:Q,respectPrefix:K}))),C=C.map(Z=>({format:Z,respectPrefix:K}));let $={candidate:S,context:r},W=k.map(Z=>(0,Vx.finalizeSelector)(`.${S}`,(0,Vx.formatVariantSelector)(Z,$),$).replace(`.${S}`,"&").replace("{ & }","").trim());return C.length>0&&W.push((0,Vx.formatVariantSelector)(C,$).toString().replace(`.${S}`,"&")),W}})}return b}}function IF(t,r){t.classCache.has(r)&&(t.notClassCache.add(r),t.classCache.delete(r),t.applyClassCache.delete(r),t.candidateRuleMap.delete(r),t.candidateRuleCache.delete(r),t.stylesheetCache=null)}function qJ(t,r){let s=r.raws.tailwind.candidate;if(s){for(let a of t.ruleCache)a[1].raws.tailwind.candidate===s&&t.ruleCache.delete(a);IF(t,s)}}function OF(t,r=[],s=fh.default.root()){var a;let u={disposables:[],ruleCache:new Set,candidateRuleCache:new Map,classCache:new Map,applyClassCache:new Map,notClassCache:new Set((a=t.blocklist)!==null&&a!==void 0?a:[]),postCssNodeCache:new Map,candidateRuleMap:new Map,tailwindConfig:t,changedContent:r,variantMap:new Map,stylesheetCache:null,variantOptions:new Map,markInvalidUtilityCandidate:l=>IF(u,l),markInvalidUtilityNode:l=>qJ(u,l)},e=$J(u,s);return VJ(e,u),u}var sp=Xo.contextMap,dh=Xo.configContextMap,ru=Xo.contextSourcesMap;function WJ(t,r,s,a,u,e){let l=r.opts.from,n=a!==null;Xo.env.DEBUG&&console.log("Source path:",l);let c;if(n&&sp.has(l))c=sp.get(l);else if(dh.has(u)){let h=dh.get(u);ru.get(h).add(l),sp.set(l,h),c=h}let p=(0,OJ.hasContentChanged)(l,t);if(c){let[h,d]=wF([...e],Gx(c));if(!h&&!p)return[c,!1,d]}if(sp.has(l)){let h=sp.get(l);if(ru.has(h)&&(ru.get(h).delete(l),ru.get(h).size===0)){ru.delete(h);for(let[d,f]of dh)f===h&&dh.delete(d);for(let d of h.disposables.splice(0))d(h)}}Xo.env.DEBUG&&console.log("Setting up new context...");let i=OF(s,[],t);Object.assign(i,{userConfigPath:a});let[,o]=wF([...e],Gx(i));return dh.set(u,i),sp.set(l,i),ru.has(i)||ru.set(i,new Set),ru.get(i).add(l),[i,!0,o]}});var FF=ct(Yx=>{"use strict";Object.defineProperty(Yx,"__esModule",{value:!0});Object.defineProperty(Yx,"applyImportantSelector",{enumerable:!0,get:function(){return HJ}});var NF=zJ(Yl()),KJ=px();function zJ(t){return t&&t.__esModule?t:{default:t}}function HJ(t,r){let s=(0,NF.default)().astSync(t);return s.each(a=>{a.nodes.some(e=>e.type==="combinator")&&(a.nodes=[NF.default.pseudo({value:":is",nodes:[a.clone()]})]),(0,KJ.movePseudos)(a)}),`${r} ${s.toString()}`}});var Xx=ct(sT=>{"use strict";Object.defineProperty(sT,"__esModule",{value:!0});function GJ(t,r){for(var s in r)Object.defineProperty(t,s,{enumerable:!0,get:r[s]})}GJ(sT,{getClassNameFromSelector:function(){return BF},resolveMatches:function(){return $F},generateRules:function(){return gX}});var op=Ku(Ho()),iT=Ku(Yl()),JJ=Ku(Uv()),XJ=Ku(rp()),YJ=Ku(ey()),LF=ly(),QJ=Ku(qu()),Zx=nX(uy()),eT=fx(),ZJ=yx(),RF=oh(),Qx=fy(),eX=Ku(jx()),tT=np(),tX=Wu(),rX=FF();function Ku(t){return t&&t.__esModule?t:{default:t}}function MF(t){if(typeof WeakMap!="function")return null;var r=new WeakMap,s=new WeakMap;return(MF=function(a){return a?s:r})(t)}function nX(t,r){if(!r&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var s=MF(r);if(s&&s.has(t))return s.get(t);var a={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in t)if(e!=="default"&&Object.prototype.hasOwnProperty.call(t,e)){var l=u?Object.getOwnPropertyDescriptor(t,e):null;l&&(l.get||l.set)?Object.defineProperty(a,e,l):a[e]=t[e]}return a.default=t,s&&s.set(t,a),a}var iX=(0,iT.default)(t=>t.first.filter(({type:r})=>r==="class").pop().value);function BF(t){return iX.transformSync(t)}function*sX(t){let r=1/0;for(;r>=0;){let s,a=!1;if(r===1/0&&t.endsWith("]")){let l=t.indexOf("[");t[l-1]==="-"?s=l-1:t[l-1]==="/"?(s=l-1,a=!0):s=-1}else r===1/0&&t.includes("/")?(s=t.lastIndexOf("/"),a=!0):s=t.lastIndexOf("-",r);if(s<0)break;let u=t.slice(0,s),e=t.slice(a?s:s+1);r=s-1,!(u===""||e==="/")&&(yield[u,e])}}function aX(t,r){if(t.length===0||r.tailwindConfig.prefix==="")return t;for(let s of t){let[a]=s;if(a.options.respectPrefix){let u=op.default.root({nodes:[s[1].clone()]}),e=s[1].raws.tailwind.classCandidate;u.walkRules(l=>{let n=e.startsWith("-");l.selector=(0,YJ.default)(r.tailwindConfig.prefix,l.selector,n)}),s[1]=u.nodes[0]}}return t}function oX(t,r){if(t.length===0)return t;let s=[];function a(u){return u.parent&&u.parent.type==="atrule"&&u.parent.name==="keyframes"}for(let[u,e]of t){let l=op.default.root({nodes:[e.clone()]});l.walkRules(n=>{if(a(n))return;let c=(0,iT.default)().astSync(n.selector);c.each(i=>(0,eT.eliminateIrrelevantSelectors)(i,r)),(0,LF.updateAllClasses)(c,i=>i===r?`!${i}`:i);let p=c.toString();if(p.trim()===""){n.remove();return}n.selector=p,n.walkDecls(i=>i.important=!0)}),s.push([{...u,important:!0},l.nodes[0]])}return s}function lX(t,r,s){if(r.length===0)return r;let a={modifier:null,value:Zx.NONE};{let[n,...c]=(0,tT.splitAtTopLevelOnly)(t,"/");if(c.length>1&&(n=n+"/"+c.slice(0,-1).join("/"),c=c.slice(-1)),c.length&&!s.variantMap.has(t)&&(t=n,a.modifier=c[0],!(0,tX.flagEnabled)(s.tailwindConfig,"generalizedModifiers")))return[]}if(t.endsWith("]")&&!t.startsWith("[")){let n=/(.)(-?)\[(.*)\]/g.exec(t);if(n){let[,c,p,i]=n;if(c==="@"&&p==="-")return[];if(c!=="@"&&p==="")return[];t=t.replace(`${p}[${i}]`,""),a.value=i}}if(nT(t)&&!s.variantMap.has(t)){let n=s.offsets.recordVariant(t),c=(0,RF.normalize)(t.slice(1,-1)),p=(0,tT.splitAtTopLevelOnly)(c,",");if(p.length>1)return[];if(!p.every(Qx.isValidVariantFormatString))return[];let i=p.map((o,h)=>[s.offsets.applyParallelOffset(n,h),(0,Qx.parseVariant)(o.trim())]);s.variantMap.set(t,i)}if(s.variantMap.has(t)){var u;let n=nT(t);var e;let c=(e=(u=s.variantOptions.get(t))===null||u===void 0?void 0:u[Qx.INTERNAL_FEATURES])!==null&&e!==void 0?e:{},p=s.variantMap.get(t).slice(),i=[],o=!(n||c.respectPrefix===!1);for(let[h,d]of r){if(h.layer==="user")continue;let f=op.default.root({nodes:[d.clone()]});for(let[b,m,y]of p){let E=function(){x.raws.neededBackup||(x.raws.neededBackup=!0,x.walkRules(L=>L.raws.originalSelector=L.selector))},S=function(L){return E(),x.each(j=>{j.type==="rule"&&(j.selectors=j.selectors.map(F=>L({get className(){return BF(F)},selector:F})))}),x},x=(y??f).clone(),v=[],_=m({get container(){return E(),x},separator:s.tailwindConfig.separator,modifySelectors:S,wrap(L){let j=x.nodes;x.removeAll(),L.append(j),x.append(L)},format(L){v.push({format:L,respectPrefix:o})},args:a});if(Array.isArray(_)){for(let[L,j]of _.entries())p.push([s.offsets.applyParallelOffset(b,L),j,x.clone()]);continue}if(typeof _=="string"&&v.push({format:_,respectPrefix:o}),_===null)continue;x.raws.neededBackup&&(delete x.raws.neededBackup,x.walkRules(L=>{let j=L.raws.originalSelector;if(!j||(delete L.raws.originalSelector,j===L.selector))return;let F=L.selector,k=(0,iT.default)(U=>{U.walkClasses(z=>{z.value=`${t}${s.tailwindConfig.separator}${z.value}`})}).processSync(j);v.push({format:F.replace(k,"&"),respectPrefix:o}),L.selector=j})),x.nodes[0].raws.tailwind={...x.nodes[0].raws.tailwind,parentLayer:h.layer};var l;let A=[{...h,sort:s.offsets.applyVariantOffset(h.sort,b,Object.assign(a,s.variantOptions.get(t))),collectedFormats:((l=h.collectedFormats)!==null&&l!==void 0?l:[]).concat(v)},x.nodes[0]];i.push(A)}}return i}return[]}function rT(t,r,s={}){return!(0,XJ.default)(t)&&!Array.isArray(t)?[[t],s]:Array.isArray(t)?rT(t[0],r,t[1]):(r.has(t)||r.set(t,(0,JJ.default)(t)),[r.get(t),s])}var uX=/^[a-z_-]/;function cX(t){return uX.test(t)}function pX(t){if(!t.includes("://"))return!1;try{let r=new URL(t);return r.scheme!==""&&r.host!==""}catch{return!1}}function jF(t){let r=!0;return t.walkDecls(s=>{if(!UF(s.prop,s.value))return r=!1,!1}),r}function UF(t,r){if(pX(`${t}:${r}`))return!1;try{return op.default.parse(`a{${t}:${r}}`).toResult(),!0}catch{return!1}}function dX(t,r){var s;let[,a,u]=(s=t.match(/^\[([a-zA-Z0-9-_]+):(\S+)\]$/))!==null&&s!==void 0?s:[];if(u===void 0||!cX(a)||!(0,eX.default)(u))return null;let e=(0,RF.normalize)(u,{property:a});return UF(a,e)?[[{sort:r.offsets.arbitraryProperty(t),layer:"utilities",options:{respectImportant:!0}},()=>({[(0,ZJ.asClass)(t)]:{[a]:e}})]]:null}function*hX(t,r){r.candidateRuleMap.has(t)&&(yield[r.candidateRuleMap.get(t),"DEFAULT"]),yield*(function*(n){n!==null&&(yield[n,"DEFAULT"])})(dX(t,r));let s=t,a=!1,u=r.tailwindConfig.prefix,e=u.length,l=s.startsWith(u)||s.startsWith(`-${u}`);s[e]==="-"&&l&&(a=!0,s=u+s.slice(e+1)),a&&r.candidateRuleMap.has(s)&&(yield[r.candidateRuleMap.get(s),"-DEFAULT"]);for(let[n,c]of sX(s))r.candidateRuleMap.has(n)&&(yield[r.candidateRuleMap.get(n),a?`-${c}`:c])}function fX(t,r){return t===Zx.NOT_ON_DEMAND?[Zx.NOT_ON_DEMAND]:(0,tT.splitAtTopLevelOnly)(t,r)}function*mX(t,r){for(let u of t){var s,a;u[1].raws.tailwind={...u[1].raws.tailwind,classCandidate:r,preserveSource:(a=(s=u[0].options)===null||s===void 0?void 0:s.preserveSource)!==null&&a!==void 0?a:!1},yield u}}function*$F(t,r){let s=r.tailwindConfig.separator,[a,...u]=fX(t,s).reverse(),e=!1;a.startsWith("!")&&(e=!0,a=a.slice(1));for(let o of hX(a,r)){let h=[],d=new Map,[f,b]=o,m=f.length===1;for(let[y,x]of f){let v=[];if(typeof x=="function")for(let E of[].concat(x(b,{isOnlyPlugin:m}))){let[S,_]=rT(E,r.postCssNodeCache);for(let A of S)v.push([{...y,options:{...y.options,..._}},A])}else if(b==="DEFAULT"||b==="-DEFAULT"){let E=x,[S,_]=rT(E,r.postCssNodeCache);for(let A of S)v.push([{...y,options:{...y.options,..._}},A])}if(v.length>0){var l,n,c;let E=Array.from((0,LF.getMatchingTypes)((n=(l=y.options)===null||l===void 0?void 0:l.types)!==null&&n!==void 0?n:[],b,(c=y.options)!==null&&c!==void 0?c:{},r.tailwindConfig)).map(([S,_])=>_);E.length>0&&d.set(v,E),h.push(v)}}if(nT(b)){if(h.length>1){let v=function(S){return S.length===1?S[0]:S.find(_=>{let A=d.get(_);return _.some(([{options:L},j])=>jF(j)?L.types.some(({type:F,preferOnConflict:k})=>A.includes(F)&&k):!1)})},[y,x]=h.reduce((S,_)=>(_.some(([{options:L}])=>L.types.some(({type:j})=>j==="any"))?S[0].push(_):S[1].push(_),S),[[],[]]);var p;let E=(p=v(x))!==null&&p!==void 0?p:v(y);if(E)h=[E];else{var i;let S=h.map(A=>new Set([...(i=d.get(A))!==null&&i!==void 0?i:[]]));for(let A of S)for(let L of A){let j=!1;for(let F of S)A!==F&&F.has(L)&&(F.delete(L),j=!0);j&&A.delete(L)}let _=[];for(let[A,L]of S.entries())for(let j of L){let F=h[A].map(([,k])=>k).flat().map(k=>k.toString().split(`
|
|
`).slice(1,-1).map(U=>U.trim()).map(U=>` ${U}`).join(`
|
|
`)).join(`
|
|
|
|
`);_.push(` Use \`${t.replace("[",`[${j}:`)}\` for \`${F.trim()}\``);break}QJ.default.warn([`The class \`${t}\` is ambiguous and matches multiple utilities.`,..._,`If this is content and not a class, replace it with \`${t.replace("[","[").replace("]","]")}\` to silence this warning.`]);continue}}h=h.map(y=>y.filter(x=>jF(x[1])))}h=h.flat(),h=Array.from(mX(h,a)),h=aX(h,r),e&&(h=oX(h,a));for(let y of u)h=lX(y,h,r);for(let y of h)y[1].raws.tailwind={...y[1].raws.tailwind,candidate:t},y=yX(y,{context:r,candidate:t}),y!==null&&(yield y)}}function yX(t,{context:r,candidate:s}){if(!t[0].collectedFormats)return t;let a=!0,u;try{u=(0,eT.formatVariantSelector)(t[0].collectedFormats,{context:r,candidate:s})}catch{return null}let e=op.default.root({nodes:[t[1].clone()]});return e.walkRules(l=>{if(!by(l))try{let n=(0,eT.finalizeSelector)(l.selector,u,{candidate:s,context:r});if(n===null){l.remove();return}l.selector=n}catch{return a=!1,!1}}),!a||e.nodes.length===0?null:(t[1]=e.nodes[0],t)}function by(t){return t.parent&&t.parent.type==="atrule"&&t.parent.name==="keyframes"}function bX(t){if(t===!0)return r=>{by(r)||r.walkDecls(s=>{s.parent.type==="rule"&&!by(s.parent)&&(s.important=!0)})};if(typeof t=="string")return r=>{by(r)||(r.selectors=r.selectors.map(s=>(0,rX.applyImportantSelector)(s,t)))}}function gX(t,r,s=!1){let a=[],u=bX(r.tailwindConfig.important);for(let l of t){if(r.notClassCache.has(l))continue;if(r.candidateRuleCache.has(l)){a=a.concat(Array.from(r.candidateRuleCache.get(l)));continue}let n=Array.from($F(l,r));if(n.length===0){r.notClassCache.add(l);continue}r.classCache.set(l,n);var e;let c=(e=r.candidateRuleCache.get(l))!==null&&e!==void 0?e:new Set;r.candidateRuleCache.set(l,c);for(let p of n){let[{sort:i,options:o},h]=p;if(o.respectImportant&&u){let f=op.default.root({nodes:[h.clone()]});f.walkRules(u),h=f.nodes[0]}let d=[i,s?h.clone():h];c.add(d),r.ruleCache.add(d),a.push(d)}}return a}function nT(t){return t.startsWith("[")&&t.endsWith("]")}});var qF=ct((xde,VF)=>{(()=>{var t={"./node_modules/.pnpm/create-require@1.1.1/node_modules/create-require/create-require.js":(u,e,l)=>{let n=l("module"),c=l("path"),p=l("fs");u.exports=function(i){return i||(i=process.cwd()),(function(o){try{return p.lstatSync(o).isDirectory()}catch{return!1}})(i)&&(i=c.join(i,"index.js")),n.createRequire?n.createRequire(i):n.createRequireFromPath?n.createRequireFromPath(i):(function(o){let h=new n.Module(o,null);return h.filename=o,h.paths=n.Module._nodeModulePaths(c.dirname(o)),h._compile("module.exports = require;",o),h.exports})(i)}},"./node_modules/.pnpm/mlly@1.7.3/node_modules/mlly/dist lazy recursive":u=>{function e(l){return Promise.resolve().then((()=>{var n=new Error("Cannot find module '"+l+"'");throw n.code="MODULE_NOT_FOUND",n}))}e.keys=()=>[],e.resolve=e,e.id="./node_modules/.pnpm/mlly@1.7.3/node_modules/mlly/dist lazy recursive",u.exports=e},"./node_modules/.pnpm/object-hash@3.0.0/node_modules/object-hash/index.js":(u,e,l)=>{"use strict";var n=l("crypto");function c(b,m){return(function(y,x){var v;v=x.algorithm!=="passthrough"?n.createHash(x.algorithm):new f,v.write===void 0&&(v.write=v.update,v.end=v.update);var E=d(x,v);if(E.dispatch(y),v.update||v.end(""),v.digest)return v.digest(x.encoding==="buffer"?void 0:x.encoding);var S=v.read();return x.encoding==="buffer"?S:S.toString(x.encoding)})(b,m=o(b,m))}(e=u.exports=c).sha1=function(b){return c(b)},e.keys=function(b){return c(b,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},e.MD5=function(b){return c(b,{algorithm:"md5",encoding:"hex"})},e.keysMD5=function(b){return c(b,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var p=n.getHashes?n.getHashes().slice():["sha1","md5"];p.push("passthrough");var i=["buffer","hex","binary","base64"];function o(b,m){m=m||{};var y={};if(y.algorithm=m.algorithm||"sha1",y.encoding=m.encoding||"hex",y.excludeValues=!!m.excludeValues,y.algorithm=y.algorithm.toLowerCase(),y.encoding=y.encoding.toLowerCase(),y.ignoreUnknown=m.ignoreUnknown===!0,y.respectType=m.respectType!==!1,y.respectFunctionNames=m.respectFunctionNames!==!1,y.respectFunctionProperties=m.respectFunctionProperties!==!1,y.unorderedArrays=m.unorderedArrays===!0,y.unorderedSets=m.unorderedSets!==!1,y.unorderedObjects=m.unorderedObjects!==!1,y.replacer=m.replacer||void 0,y.excludeKeys=m.excludeKeys||void 0,b===void 0)throw new Error("Object argument required.");for(var x=0;x<p.length;++x)p[x].toLowerCase()===y.algorithm.toLowerCase()&&(y.algorithm=p[x]);if(p.indexOf(y.algorithm)===-1)throw new Error('Algorithm "'+y.algorithm+'" not supported. supported values: '+p.join(", "));if(i.indexOf(y.encoding)===-1&&y.algorithm!=="passthrough")throw new Error('Encoding "'+y.encoding+'" not supported. supported values: '+i.join(", "));return y}function h(b){return typeof b!="function"?!1:/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(b))!=null}function d(b,m,y){y=y||[];var x=function(v){return m.update?m.update(v,"utf8"):m.write(v,"utf8")};return{dispatch:function(v){b.replacer&&(v=b.replacer(v));var E=typeof v;return v===null&&(E="null"),this["_"+E](v)},_object:function(v){var E=Object.prototype.toString.call(v),S=/\[object (.*)\]/i.exec(E);S=(S=S?S[1]:"unknown:["+E+"]").toLowerCase();var _;if((_=y.indexOf(v))>=0)return this.dispatch("[CIRCULAR:"+_+"]");if(y.push(v),typeof Buffer<"u"&&Buffer.isBuffer&&Buffer.isBuffer(v))return x("buffer:"),x(v);if(S==="object"||S==="function"||S==="asyncfunction"){var A=Object.keys(v);b.unorderedObjects&&(A=A.sort()),b.respectType===!1||h(v)||A.splice(0,0,"prototype","__proto__","constructor"),b.excludeKeys&&(A=A.filter((function(j){return!b.excludeKeys(j)}))),x("object:"+A.length+":");var L=this;return A.forEach((function(j){L.dispatch(j),x(":"),b.excludeValues||L.dispatch(v[j]),x(",")}))}if(!this["_"+S]){if(b.ignoreUnknown)return x("["+S+"]");throw new Error('Unknown object type "'+S+'"')}this["_"+S](v)},_array:function(v,E){E=E!==void 0?E:b.unorderedArrays!==!1;var S=this;if(x("array:"+v.length+":"),!E||v.length<=1)return v.forEach((function(L){return S.dispatch(L)}));var _=[],A=v.map((function(L){var j=new f,F=y.slice();return d(b,j,F).dispatch(L),_=_.concat(F.slice(y.length)),j.read().toString()}));return y=y.concat(_),A.sort(),this._array(A,!1)},_date:function(v){return x("date:"+v.toJSON())},_symbol:function(v){return x("symbol:"+v.toString())},_error:function(v){return x("error:"+v.toString())},_boolean:function(v){return x("bool:"+v.toString())},_string:function(v){x("string:"+v.length+":"),x(v.toString())},_function:function(v){x("fn:"),h(v)?this.dispatch("[native]"):this.dispatch(v.toString()),b.respectFunctionNames!==!1&&this.dispatch("function-name:"+String(v.name)),b.respectFunctionProperties&&this._object(v)},_number:function(v){return x("number:"+v.toString())},_xml:function(v){return x("xml:"+v.toString())},_null:function(){return x("Null")},_undefined:function(){return x("Undefined")},_regexp:function(v){return x("regex:"+v.toString())},_uint8array:function(v){return x("uint8array:"),this.dispatch(Array.prototype.slice.call(v))},_uint8clampedarray:function(v){return x("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(v))},_int8array:function(v){return x("int8array:"),this.dispatch(Array.prototype.slice.call(v))},_uint16array:function(v){return x("uint16array:"),this.dispatch(Array.prototype.slice.call(v))},_int16array:function(v){return x("int16array:"),this.dispatch(Array.prototype.slice.call(v))},_uint32array:function(v){return x("uint32array:"),this.dispatch(Array.prototype.slice.call(v))},_int32array:function(v){return x("int32array:"),this.dispatch(Array.prototype.slice.call(v))},_float32array:function(v){return x("float32array:"),this.dispatch(Array.prototype.slice.call(v))},_float64array:function(v){return x("float64array:"),this.dispatch(Array.prototype.slice.call(v))},_arraybuffer:function(v){return x("arraybuffer:"),this.dispatch(new Uint8Array(v))},_url:function(v){return x("url:"+v.toString())},_map:function(v){x("map:");var E=Array.from(v);return this._array(E,b.unorderedSets!==!1)},_set:function(v){x("set:");var E=Array.from(v);return this._array(E,b.unorderedSets!==!1)},_file:function(v){return x("file:"),this.dispatch([v.name,v.size,v.type,v.lastModfied])},_blob:function(){if(b.ignoreUnknown)return x("[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 x("domwindow")},_bigint:function(v){return x("bigint:"+v.toString())},_process:function(){return x("process")},_timer:function(){return x("timer")},_pipe:function(){return x("pipe")},_tcp:function(){return x("tcp")},_udp:function(){return x("udp")},_tty:function(){return x("tty")},_statwatcher:function(){return x("statwatcher")},_securecontext:function(){return x("securecontext")},_connection:function(){return x("connection")},_zlib:function(){return x("zlib")},_context:function(){return x("context")},_nodescript:function(){return x("nodescript")},_httpparser:function(){return x("httpparser")},_dataview:function(){return x("dataview")},_signal:function(){return x("signal")},_fsevent:function(){return x("fsevent")},_tlswrap:function(){return x("tlswrap")}}}function f(){return{buf:"",write:function(b){this.buf+=b},end:function(b){this.buf+=b},read:function(){return this.buf}}}e.writeToStream=function(b,m,y){return y===void 0&&(y=m,m={}),d(m=o(b,m),y).dispatch(b)}},"./node_modules/.pnpm/pirates@4.0.6/node_modules/pirates/lib/index.js":(u,e,l)=>{"use strict";u=l.nmd(u),Object.defineProperty(e,"__esModule",{value:!0}),e.addHook=function(d,f={}){let b=!1,m=[],y=[],x,v=o._extensions[".js"],E=f.matcher||null,S=f.ignoreNodeModules!==!1;return x=f.extensions||f.exts||f.extension||f.ext||[".js"],Array.isArray(x)||(x=[x]),x.forEach((_=>{if(typeof _!="string")throw new TypeError(`Invalid Extension: ${_}`);let A=o._extensions[_]||v;y[_]=o._extensions[_],m[_]=o._extensions[_]=function(L,j){let F;b||(function(k,U,z,C){if(typeof k!="string"||U.indexOf(c.default.extname(k))===-1)return!1;let R=c.default.resolve(k);return C&&i.test(R)?!1:z&&typeof z=="function"?!!z(R):!0})(j,x,E,S)&&(F=L._compile,L._compile=function(k){L._compile=F;let U=d(k,j);if(typeof U!="string")throw new Error(h);return L._compile(U,j)}),A(L,j)}})),function(){b||(b=!0,x.forEach((_=>{o._extensions[_]===m[_]&&(y[_]?o._extensions[_]=y[_]:delete o._extensions[_])})))}};var n=p(l("module")),c=p(l("path"));function p(d){return d&&d.__esModule?d:{default:d}}let i=/^(?:.*[\\/])?node_modules(?:[\\/].*)?$/,o=u.constructor.length>1?u.constructor:n.default,h=`[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.6.3/node_modules/semver/classes/comparator.js":(u,e,l)=>{let n=Symbol("SemVer ANY");class c{static get ANY(){return n}constructor(y,x){if(x=p(x),y instanceof c){if(y.loose===!!x.loose)return y;y=y.value}y=y.trim().split(/\s+/).join(" "),d("comparator",y,x),this.options=x,this.loose=!!x.loose,this.parse(y),this.semver===n?this.value="":this.value=this.operator+this.semver.version,d("comp",this)}parse(y){let x=this.options.loose?i[o.COMPARATORLOOSE]:i[o.COMPARATOR],v=y.match(x);if(!v)throw new TypeError(`Invalid comparator: ${y}`);this.operator=v[1]!==void 0?v[1]:"",this.operator==="="&&(this.operator=""),v[2]?this.semver=new f(v[2],this.options.loose):this.semver=n}toString(){return this.value}test(y){if(d("Comparator.test",y,this.options.loose),this.semver===n||y===n)return!0;if(typeof y=="string")try{y=new f(y,this.options)}catch{return!1}return h(y,this.operator,this.semver,this.options)}intersects(y,x){if(!(y instanceof c))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""||new b(y.value,x).test(this.value):y.operator===""?y.value===""||new b(this.value,x).test(y.semver):(!(x=p(x)).includePrerelease||this.value!=="<0.0.0-0"&&y.value!=="<0.0.0-0")&&!(!x.includePrerelease&&(this.value.startsWith("<0.0.0")||y.value.startsWith("<0.0.0")))&&(!(!this.operator.startsWith(">")||!y.operator.startsWith(">"))||!(!this.operator.startsWith("<")||!y.operator.startsWith("<"))||!(this.semver.version!==y.semver.version||!this.operator.includes("=")||!y.operator.includes("="))||!!(h(this.semver,"<",y.semver,x)&&this.operator.startsWith(">")&&y.operator.startsWith("<"))||!!(h(this.semver,">",y.semver,x)&&this.operator.startsWith("<")&&y.operator.startsWith(">")))}}u.exports=c;let p=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js"),{safeRe:i,t:o}=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js"),h=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js"),d=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js"),f=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),b=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js")},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js":(u,e,l)=>{let n=/\s+/g;class c{constructor($,W){if(W=i(W),$ instanceof c)return $.loose===!!W.loose&&$.includePrerelease===!!W.includePrerelease?$:new c($.raw,W);if($ instanceof o)return this.raw=$.value,this.set=[[$]],this.formatted=void 0,this;if(this.options=W,this.loose=!!W.loose,this.includePrerelease=!!W.includePrerelease,this.raw=$.trim().replace(n," "),this.set=this.raw.split("||").map((Z=>this.parseRange(Z.trim()))).filter((Z=>Z.length)),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let Z=this.set[0];if(this.set=this.set.filter((Q=>!S(Q[0]))),this.set.length===0)this.set=[Z];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&_(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let $=0;$<this.set.length;$++){$>0&&(this.formatted+="||");let W=this.set[$];for(let Z=0;Z<W.length;Z++)Z>0&&(this.formatted+=" "),this.formatted+=W[Z].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange($){let W=((this.options.includePrerelease&&v)|(this.options.loose&&E))+":"+$,Z=p.get(W);if(Z)return Z;let Q=this.options.loose,X=Q?f[b.HYPHENRANGELOOSE]:f[b.HYPHENRANGE];$=$.replace(X,B(this.options.includePrerelease)),h("hyphen replace",$),$=$.replace(f[b.COMPARATORTRIM],m),h("comparator trim",$),$=$.replace(f[b.TILDETRIM],y),h("tilde trim",$),$=$.replace(f[b.CARETTRIM],x),h("caret trim",$);let ie=$.split(" ").map((Pe=>L(Pe,this.options))).join(" ").split(/\s+/).map((Pe=>V(Pe,this.options)));Q&&(ie=ie.filter((Pe=>(h("loose invalid filter",Pe,this.options),!!Pe.match(f[b.COMPARATORLOOSE]))))),h("range list",ie);let oe=new Map,be=ie.map((Pe=>new o(Pe,this.options)));for(let Pe of be){if(S(Pe))return[Pe];oe.set(Pe.value,Pe)}oe.size>1&&oe.has("")&&oe.delete("");let Ne=[...oe.values()];return p.set(W,Ne),Ne}intersects($,W){if(!($ instanceof c))throw new TypeError("a Range is required");return this.set.some((Z=>A(Z,W)&&$.set.some((Q=>A(Q,W)&&Z.every((X=>Q.every((ie=>X.intersects(ie,W)))))))))}test($){if(!$)return!1;if(typeof $=="string")try{$=new d($,this.options)}catch{return!1}for(let W=0;W<this.set.length;W++)if(q(this.set[W],$,this.options))return!0;return!1}}u.exports=c;let p=new(l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js")),i=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js"),o=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js"),h=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js"),d=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),{safeRe:f,t:b,comparatorTrimReplace:m,tildeTrimReplace:y,caretTrimReplace:x}=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js"),{FLAG_INCLUDE_PRERELEASE:v,FLAG_LOOSE:E}=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"),S=K=>K.value==="<0.0.0-0",_=K=>K.value==="",A=(K,$)=>{let W=!0,Z=K.slice(),Q=Z.pop();for(;W&&Z.length;)W=Z.every((X=>Q.intersects(X,$))),Q=Z.pop();return W},L=(K,$)=>(h("comp",K,$),K=U(K,$),h("caret",K),K=F(K,$),h("tildes",K),K=C(K,$),h("xrange",K),K=G(K,$),h("stars",K),K),j=K=>!K||K.toLowerCase()==="x"||K==="*",F=(K,$)=>K.trim().split(/\s+/).map((W=>k(W,$))).join(" "),k=(K,$)=>{let W=$.loose?f[b.TILDELOOSE]:f[b.TILDE];return K.replace(W,((Z,Q,X,ie,oe)=>{let be;return h("tilde",K,Z,Q,X,ie,oe),j(Q)?be="":j(X)?be=`>=${Q}.0.0 <${+Q+1}.0.0-0`:j(ie)?be=`>=${Q}.${X}.0 <${Q}.${+X+1}.0-0`:oe?(h("replaceTilde pr",oe),be=`>=${Q}.${X}.${ie}-${oe} <${Q}.${+X+1}.0-0`):be=`>=${Q}.${X}.${ie} <${Q}.${+X+1}.0-0`,h("tilde return",be),be}))},U=(K,$)=>K.trim().split(/\s+/).map((W=>z(W,$))).join(" "),z=(K,$)=>{h("caret",K,$);let W=$.loose?f[b.CARETLOOSE]:f[b.CARET],Z=$.includePrerelease?"-0":"";return K.replace(W,((Q,X,ie,oe,be)=>{let Ne;return h("caret",K,Q,X,ie,oe,be),j(X)?Ne="":j(ie)?Ne=`>=${X}.0.0${Z} <${+X+1}.0.0-0`:j(oe)?Ne=X==="0"?`>=${X}.${ie}.0${Z} <${X}.${+ie+1}.0-0`:`>=${X}.${ie}.0${Z} <${+X+1}.0.0-0`:be?(h("replaceCaret pr",be),Ne=X==="0"?ie==="0"?`>=${X}.${ie}.${oe}-${be} <${X}.${ie}.${+oe+1}-0`:`>=${X}.${ie}.${oe}-${be} <${X}.${+ie+1}.0-0`:`>=${X}.${ie}.${oe}-${be} <${+X+1}.0.0-0`):(h("no pr"),Ne=X==="0"?ie==="0"?`>=${X}.${ie}.${oe}${Z} <${X}.${ie}.${+oe+1}-0`:`>=${X}.${ie}.${oe}${Z} <${X}.${+ie+1}.0-0`:`>=${X}.${ie}.${oe} <${+X+1}.0.0-0`),h("caret return",Ne),Ne}))},C=(K,$)=>(h("replaceXRanges",K,$),K.split(/\s+/).map((W=>R(W,$))).join(" ")),R=(K,$)=>{K=K.trim();let W=$.loose?f[b.XRANGELOOSE]:f[b.XRANGE];return K.replace(W,((Z,Q,X,ie,oe,be)=>{h("xRange",K,Z,Q,X,ie,oe,be);let Ne=j(X),Pe=Ne||j(ie),Ke=Pe||j(oe),We=Ke;return Q==="="&&We&&(Q=""),be=$.includePrerelease?"-0":"",Ne?Z=Q===">"||Q==="<"?"<0.0.0-0":"*":Q&&We?(Pe&&(ie=0),oe=0,Q===">"?(Q=">=",Pe?(X=+X+1,ie=0,oe=0):(ie=+ie+1,oe=0)):Q==="<="&&(Q="<",Pe?X=+X+1:ie=+ie+1),Q==="<"&&(be="-0"),Z=`${Q+X}.${ie}.${oe}${be}`):Pe?Z=`>=${X}.0.0${be} <${+X+1}.0.0-0`:Ke&&(Z=`>=${X}.${ie}.0${be} <${X}.${+ie+1}.0-0`),h("xRange return",Z),Z}))},G=(K,$)=>(h("replaceStars",K,$),K.trim().replace(f[b.STAR],"")),V=(K,$)=>(h("replaceGTE0",K,$),K.trim().replace(f[$.includePrerelease?b.GTE0PRE:b.GTE0],"")),B=K=>($,W,Z,Q,X,ie,oe,be,Ne,Pe,Ke,We)=>`${W=j(Z)?"":j(Q)?`>=${Z}.0.0${K?"-0":""}`:j(X)?`>=${Z}.${Q}.0${K?"-0":""}`:ie?`>=${W}`:`>=${W}${K?"-0":""}`} ${be=j(Ne)?"":j(Pe)?`<${+Ne+1}.0.0-0`:j(Ke)?`<${Ne}.${+Pe+1}.0-0`:We?`<=${Ne}.${Pe}.${Ke}-${We}`:K?`<${Ne}.${Pe}.${+Ke+1}-0`:`<=${be}`}`.trim(),q=(K,$,W)=>{for(let Z=0;Z<K.length;Z++)if(!K[Z].test($))return!1;if($.prerelease.length&&!W.includePrerelease){for(let Z=0;Z<K.length;Z++)if(h(K[Z].semver),K[Z].semver!==o.ANY&&K[Z].semver.prerelease.length>0){let Q=K[Z].semver;if(Q.major===$.major&&Q.minor===$.minor&&Q.patch===$.patch)return!0}return!1}return!0}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js"),{MAX_LENGTH:c,MAX_SAFE_INTEGER:p}=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"),{safeRe:i,t:o}=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js"),h=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js"),{compareIdentifiers:d}=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js");class f{constructor(m,y){if(y=h(y),m instanceof f){if(m.loose===!!y.loose&&m.includePrerelease===!!y.includePrerelease)return m;m=m.version}else if(typeof m!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof m}".`);if(m.length>c)throw new TypeError(`version is longer than ${c} characters`);n("SemVer",m,y),this.options=y,this.loose=!!y.loose,this.includePrerelease=!!y.includePrerelease;let x=m.trim().match(y.loose?i[o.LOOSE]:i[o.FULL]);if(!x)throw new TypeError(`Invalid Version: ${m}`);if(this.raw=m,this.major=+x[1],this.minor=+x[2],this.patch=+x[3],this.major>p||this.major<0)throw new TypeError("Invalid major version");if(this.minor>p||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>p||this.patch<0)throw new TypeError("Invalid patch version");x[4]?this.prerelease=x[4].split(".").map((v=>{if(/^[0-9]+$/.test(v)){let E=+v;if(E>=0&&E<p)return E}return v})):this.prerelease=[],this.build=x[5]?x[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(m){if(n("SemVer.compare",this.version,this.options,m),!(m instanceof f)){if(typeof m=="string"&&m===this.version)return 0;m=new f(m,this.options)}return m.version===this.version?0:this.compareMain(m)||this.comparePre(m)}compareMain(m){return m instanceof f||(m=new f(m,this.options)),d(this.major,m.major)||d(this.minor,m.minor)||d(this.patch,m.patch)}comparePre(m){if(m instanceof f||(m=new f(m,this.options)),this.prerelease.length&&!m.prerelease.length)return-1;if(!this.prerelease.length&&m.prerelease.length)return 1;if(!this.prerelease.length&&!m.prerelease.length)return 0;let y=0;do{let x=this.prerelease[y],v=m.prerelease[y];if(n("prerelease compare",y,x,v),x===void 0&&v===void 0)return 0;if(v===void 0)return 1;if(x===void 0)return-1;if(x!==v)return d(x,v)}while(++y)}compareBuild(m){m instanceof f||(m=new f(m,this.options));let y=0;do{let x=this.build[y],v=m.build[y];if(n("build compare",y,x,v),x===void 0&&v===void 0)return 0;if(v===void 0)return 1;if(x===void 0)return-1;if(x!==v)return d(x,v)}while(++y)}inc(m,y,x){switch(m){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",y,x);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",y,x);break;case"prepatch":this.prerelease.length=0,this.inc("patch",y,x),this.inc("pre",y,x);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",y,x),this.inc("pre",y,x);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 v=Number(x)?1:0;if(!y&&x===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[v];else{let E=this.prerelease.length;for(;--E>=0;)typeof this.prerelease[E]=="number"&&(this.prerelease[E]++,E=-2);if(E===-1){if(y===this.prerelease.join(".")&&x===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(v)}}if(y){let E=[y,v];x===!1&&(E=[y]),d(this.prerelease[0],y)===0?isNaN(this.prerelease[1])&&(this.prerelease=E):this.prerelease=E}break}default:throw new Error(`invalid increment argument: ${m}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}u.exports=f},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js");u.exports=(c,p)=>{let i=n(c.trim().replace(/^[=v]+/,""),p);return i?i.version:null}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js"),c=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js"),p=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js"),i=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js"),o=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js"),h=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js");u.exports=(d,f,b,m)=>{switch(f){case"===":return typeof d=="object"&&(d=d.version),typeof b=="object"&&(b=b.version),d===b;case"!==":return typeof d=="object"&&(d=d.version),typeof b=="object"&&(b=b.version),d!==b;case"":case"=":case"==":return n(d,b,m);case"!=":return c(d,b,m);case">":return p(d,b,m);case">=":return i(d,b,m);case"<":return o(d,b,m);case"<=":return h(d,b,m);default:throw new TypeError(`Invalid operator: ${f}`)}}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/coerce.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),c=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js"),{safeRe:p,t:i}=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js");u.exports=(o,h)=>{if(o instanceof n)return o;if(typeof o=="number"&&(o=String(o)),typeof o!="string")return null;let d=null;if((h=h||{}).rtl){let v=h.includePrerelease?p[i.COERCERTLFULL]:p[i.COERCERTL],E;for(;(E=v.exec(o))&&(!d||d.index+d[0].length!==o.length);)d&&E.index+E[0].length===d.index+d[0].length||(d=E),v.lastIndex=E.index+E[1].length+E[2].length;v.lastIndex=-1}else d=o.match(h.includePrerelease?p[i.COERCEFULL]:p[i.COERCE]);if(d===null)return null;let f=d[2],b=d[3]||"0",m=d[4]||"0",y=h.includePrerelease&&d[5]?`-${d[5]}`:"",x=h.includePrerelease&&d[6]?`+${d[6]}`:"";return c(`${f}.${b}.${m}${y}${x}`,h)}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");u.exports=(c,p,i)=>{let o=new n(c,i),h=new n(p,i);return o.compare(h)||o.compareBuild(h)}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-loose.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");u.exports=(c,p)=>n(c,p,!0)},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");u.exports=(c,p,i)=>new n(c,i).compare(new n(p,i))},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/diff.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js");u.exports=(c,p)=>{let i=n(c,null,!0),o=n(p,null,!0),h=i.compare(o);if(h===0)return null;let d=h>0,f=d?i:o,b=d?o:i,m=!!f.prerelease.length;if(b.prerelease.length&&!m)return b.patch||b.minor?f.patch?"patch":f.minor?"minor":"major":"major";let y=m?"pre":"";return i.major!==o.major?y+"major":i.minor!==o.minor?y+"minor":i.patch!==o.patch?y+"patch":"prerelease"}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");u.exports=(c,p,i)=>n(c,p,i)===0},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");u.exports=(c,p,i)=>n(c,p,i)>0},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");u.exports=(c,p,i)=>n(c,p,i)>=0},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/inc.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");u.exports=(c,p,i,o,h)=>{typeof i=="string"&&(h=o,o=i,i=void 0);try{return new n(c instanceof n?c.version:c,i).inc(p,o,h).version}catch{return null}}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");u.exports=(c,p,i)=>n(c,p,i)<0},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");u.exports=(c,p,i)=>n(c,p,i)<=0},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/major.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");u.exports=(c,p)=>new n(c,p).major},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/minor.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");u.exports=(c,p)=>new n(c,p).minor},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");u.exports=(c,p,i)=>n(c,p,i)!==0},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");u.exports=(c,p,i=!1)=>{if(c instanceof n)return c;try{return new n(c,p)}catch(o){if(!i)return null;throw o}}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/patch.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js");u.exports=(c,p)=>new n(c,p).patch},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/prerelease.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js");u.exports=(c,p)=>{let i=n(c,p);return i&&i.prerelease.length?i.prerelease:null}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rcompare.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");u.exports=(c,p,i)=>n(p,c,i)},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rsort.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js");u.exports=(c,p)=>c.sort(((i,o)=>n(o,i,p)))},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js");u.exports=(c,p,i)=>{try{p=new n(p,i)}catch{return!1}return p.test(c)}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/sort.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js");u.exports=(c,p)=>c.sort(((i,o)=>n(i,o,p)))},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js");u.exports=(c,p)=>{let i=n(c,p);return i?i.version:null}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/index.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js"),c=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"),p=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),i=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js"),o=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/parse.js"),h=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/valid.js"),d=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/clean.js"),f=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/inc.js"),b=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/diff.js"),m=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/major.js"),y=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/minor.js"),x=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/patch.js"),v=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/prerelease.js"),E=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js"),S=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rcompare.js"),_=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-loose.js"),A=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare-build.js"),L=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/sort.js"),j=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/rsort.js"),F=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js"),k=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js"),U=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/eq.js"),z=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/neq.js"),C=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js"),R=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js"),G=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/cmp.js"),V=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/coerce.js"),B=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js"),q=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js"),K=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js"),$=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/to-comparators.js"),W=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/max-satisfying.js"),Z=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-satisfying.js"),Q=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-version.js"),X=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/valid.js"),ie=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js"),oe=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/gtr.js"),be=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/ltr.js"),Ne=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/intersects.js"),Pe=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/simplify.js"),Ke=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/subset.js");u.exports={parse:o,valid:h,clean:d,inc:f,diff:b,major:m,minor:y,patch:x,prerelease:v,compare:E,rcompare:S,compareLoose:_,compareBuild:A,sort:L,rsort:j,gt:F,lt:k,eq:U,neq:z,gte:C,lte:R,cmp:G,coerce:V,Comparator:B,Range:q,satisfies:K,toComparators:$,maxSatisfying:W,minSatisfying:Z,minVersion:Q,validRange:X,outside:ie,gtr:oe,ltr:be,intersects:Ne,simplifyRange:Pe,subset:Ke,SemVer:p,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:c.SEMVER_SPEC_VERSION,RELEASE_TYPES:c.RELEASE_TYPES,compareIdentifiers:i.compareIdentifiers,rcompareIdentifiers:i.rcompareIdentifiers}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js":u=>{let e=Number.MAX_SAFE_INTEGER||9007199254740991;u.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:e,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.6.3/node_modules/semver/internal/debug.js":u=>{let e=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...l)=>console.error("SEMVER",...l):()=>{};u.exports=e},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/identifiers.js":u=>{let e=/^[0-9]+$/,l=(n,c)=>{let p=e.test(n),i=e.test(c);return p&&i&&(n=+n,c=+c),n===c?0:p&&!i?-1:i&&!p?1:n<c?-1:1};u.exports={compareIdentifiers:l,rcompareIdentifiers:(n,c)=>l(c,n)}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/lrucache.js":u=>{u.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){let l=this.map.get(e);return l===void 0?void 0:(this.map.delete(e),this.map.set(e,l),l)}delete(e){return this.map.delete(e)}set(e,l){if(!this.delete(e)&&l!==void 0){if(this.map.size>=this.max){let n=this.map.keys().next().value;this.delete(n)}this.map.set(e,l)}return this}}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/parse-options.js":u=>{let e=Object.freeze({loose:!0}),l=Object.freeze({});u.exports=n=>n?typeof n!="object"?e:n:l},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/re.js":(u,e,l)=>{let{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:c,MAX_LENGTH:p}=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/constants.js"),i=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/internal/debug.js"),o=(e=u.exports={}).re=[],h=e.safeRe=[],d=e.src=[],f=e.t={},b=0,m=[["\\s",1],["\\d",p],["[a-zA-Z0-9-]",c]],y=(x,v,E)=>{let S=(A=>{for(let[L,j]of m)A=A.split(`${L}*`).join(`${L}{0,${j}}`).split(`${L}+`).join(`${L}{1,${j}}`);return A})(v),_=b++;i(x,_,v),f[x]=_,d[_]=v,o[_]=new RegExp(v,E?"g":void 0),h[_]=new RegExp(S,E?"g":void 0)};y("NUMERICIDENTIFIER","0|[1-9]\\d*"),y("NUMERICIDENTIFIERLOOSE","\\d+"),y("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),y("MAINVERSION",`(${d[f.NUMERICIDENTIFIER]})\\.(${d[f.NUMERICIDENTIFIER]})\\.(${d[f.NUMERICIDENTIFIER]})`),y("MAINVERSIONLOOSE",`(${d[f.NUMERICIDENTIFIERLOOSE]})\\.(${d[f.NUMERICIDENTIFIERLOOSE]})\\.(${d[f.NUMERICIDENTIFIERLOOSE]})`),y("PRERELEASEIDENTIFIER",`(?:${d[f.NUMERICIDENTIFIER]}|${d[f.NONNUMERICIDENTIFIER]})`),y("PRERELEASEIDENTIFIERLOOSE",`(?:${d[f.NUMERICIDENTIFIERLOOSE]}|${d[f.NONNUMERICIDENTIFIER]})`),y("PRERELEASE",`(?:-(${d[f.PRERELEASEIDENTIFIER]}(?:\\.${d[f.PRERELEASEIDENTIFIER]})*))`),y("PRERELEASELOOSE",`(?:-?(${d[f.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${d[f.PRERELEASEIDENTIFIERLOOSE]})*))`),y("BUILDIDENTIFIER","[a-zA-Z0-9-]+"),y("BUILD",`(?:\\+(${d[f.BUILDIDENTIFIER]}(?:\\.${d[f.BUILDIDENTIFIER]})*))`),y("FULLPLAIN",`v?${d[f.MAINVERSION]}${d[f.PRERELEASE]}?${d[f.BUILD]}?`),y("FULL",`^${d[f.FULLPLAIN]}$`),y("LOOSEPLAIN",`[v=\\s]*${d[f.MAINVERSIONLOOSE]}${d[f.PRERELEASELOOSE]}?${d[f.BUILD]}?`),y("LOOSE",`^${d[f.LOOSEPLAIN]}$`),y("GTLT","((?:<|>)?=?)"),y("XRANGEIDENTIFIERLOOSE",`${d[f.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),y("XRANGEIDENTIFIER",`${d[f.NUMERICIDENTIFIER]}|x|X|\\*`),y("XRANGEPLAIN",`[v=\\s]*(${d[f.XRANGEIDENTIFIER]})(?:\\.(${d[f.XRANGEIDENTIFIER]})(?:\\.(${d[f.XRANGEIDENTIFIER]})(?:${d[f.PRERELEASE]})?${d[f.BUILD]}?)?)?`),y("XRANGEPLAINLOOSE",`[v=\\s]*(${d[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${d[f.XRANGEIDENTIFIERLOOSE]})(?:\\.(${d[f.XRANGEIDENTIFIERLOOSE]})(?:${d[f.PRERELEASELOOSE]})?${d[f.BUILD]}?)?)?`),y("XRANGE",`^${d[f.GTLT]}\\s*${d[f.XRANGEPLAIN]}$`),y("XRANGELOOSE",`^${d[f.GTLT]}\\s*${d[f.XRANGEPLAINLOOSE]}$`),y("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),y("COERCE",`${d[f.COERCEPLAIN]}(?:$|[^\\d])`),y("COERCEFULL",d[f.COERCEPLAIN]+`(?:${d[f.PRERELEASE]})?(?:${d[f.BUILD]})?(?:$|[^\\d])`),y("COERCERTL",d[f.COERCE],!0),y("COERCERTLFULL",d[f.COERCEFULL],!0),y("LONETILDE","(?:~>?)"),y("TILDETRIM",`(\\s*)${d[f.LONETILDE]}\\s+`,!0),e.tildeTrimReplace="$1~",y("TILDE",`^${d[f.LONETILDE]}${d[f.XRANGEPLAIN]}$`),y("TILDELOOSE",`^${d[f.LONETILDE]}${d[f.XRANGEPLAINLOOSE]}$`),y("LONECARET","(?:\\^)"),y("CARETTRIM",`(\\s*)${d[f.LONECARET]}\\s+`,!0),e.caretTrimReplace="$1^",y("CARET",`^${d[f.LONECARET]}${d[f.XRANGEPLAIN]}$`),y("CARETLOOSE",`^${d[f.LONECARET]}${d[f.XRANGEPLAINLOOSE]}$`),y("COMPARATORLOOSE",`^${d[f.GTLT]}\\s*(${d[f.LOOSEPLAIN]})$|^$`),y("COMPARATOR",`^${d[f.GTLT]}\\s*(${d[f.FULLPLAIN]})$|^$`),y("COMPARATORTRIM",`(\\s*)${d[f.GTLT]}\\s*(${d[f.LOOSEPLAIN]}|${d[f.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace="$1$2$3",y("HYPHENRANGE",`^\\s*(${d[f.XRANGEPLAIN]})\\s+-\\s+(${d[f.XRANGEPLAIN]})\\s*$`),y("HYPHENRANGELOOSE",`^\\s*(${d[f.XRANGEPLAINLOOSE]})\\s+-\\s+(${d[f.XRANGEPLAINLOOSE]})\\s*$`),y("STAR","(<|>)?=?\\s*\\*"),y("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),y("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/gtr.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js");u.exports=(c,p,i)=>n(c,p,">",i)},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/intersects.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js");u.exports=(c,p,i)=>(c=new n(c,i),p=new n(p,i),c.intersects(p,i))},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/ltr.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js");u.exports=(c,p,i)=>n(c,p,"<",i)},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/max-satisfying.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),c=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js");u.exports=(p,i,o)=>{let h=null,d=null,f=null;try{f=new c(i,o)}catch{return null}return p.forEach((b=>{f.test(b)&&(h&&d.compare(b)!==-1||(h=b,d=new n(h,o)))})),h}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-satisfying.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),c=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js");u.exports=(p,i,o)=>{let h=null,d=null,f=null;try{f=new c(i,o)}catch{return null}return p.forEach((b=>{f.test(b)&&(h&&d.compare(b)!==1||(h=b,d=new n(h,o)))})),h}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/min-version.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),c=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js"),p=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js");u.exports=(i,o)=>{i=new c(i,o);let h=new n("0.0.0");if(i.test(h)||(h=new n("0.0.0-0"),i.test(h)))return h;h=null;for(let d=0;d<i.set.length;++d){let f=i.set[d],b=null;f.forEach((m=>{let y=new n(m.semver.version);switch(m.operator){case">":y.prerelease.length===0?y.patch++:y.prerelease.push(0),y.raw=y.format();case"":case">=":b&&!p(y,b)||(b=y);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${m.operator}`)}})),!b||h&&!p(h,b)||(h=b)}return h&&i.test(h)?h:null}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/outside.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/semver.js"),c=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js"),{ANY:p}=c,i=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js"),o=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js"),h=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gt.js"),d=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lt.js"),f=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/lte.js"),b=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/gte.js");u.exports=(m,y,x,v)=>{let E,S,_,A,L;switch(m=new n(m,v),y=new i(y,v),x){case">":E=h,S=f,_=d,A=">",L=">=";break;case"<":E=d,S=b,_=h,A="<",L="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(o(m,y,v))return!1;for(let j=0;j<y.set.length;++j){let F=y.set[j],k=null,U=null;if(F.forEach((z=>{z.semver===p&&(z=new c(">=0.0.0")),k=k||z,U=U||z,E(z.semver,k.semver,v)?k=z:_(z.semver,U.semver,v)&&(U=z)})),k.operator===A||k.operator===L||(!U.operator||U.operator===A)&&S(m,U.semver)||U.operator===L&&_(m,U.semver))return!1}return!0}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/simplify.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js"),c=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js");u.exports=(p,i,o)=>{let h=[],d=null,f=null,b=p.sort(((v,E)=>c(v,E,o)));for(let v of b)n(v,i,o)?(f=v,d||(d=v)):(f&&h.push([d,f]),f=null,d=null);d&&h.push([d,null]);let m=[];for(let[v,E]of h)v===E?m.push(v):E||v!==b[0]?E?v===b[0]?m.push(`<=${E}`):m.push(`${v} - ${E}`):m.push(`>=${v}`):m.push("*");let y=m.join(" || "),x=typeof i.raw=="string"?i.raw:String(i);return y.length<x.length?y:i}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/subset.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js"),c=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/comparator.js"),{ANY:p}=c,i=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/satisfies.js"),o=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/functions/compare.js"),h=[new c(">=0.0.0-0")],d=[new c(">=0.0.0")],f=(y,x,v)=>{if(y===x)return!0;if(y.length===1&&y[0].semver===p){if(x.length===1&&x[0].semver===p)return!0;y=v.includePrerelease?h:d}if(x.length===1&&x[0].semver===p){if(v.includePrerelease)return!0;x=d}let E=new Set,S,_,A,L,j,F,k;for(let C of y)C.operator===">"||C.operator===">="?S=b(S,C,v):C.operator==="<"||C.operator==="<="?_=m(_,C,v):E.add(C.semver);if(E.size>1||S&&_&&(A=o(S.semver,_.semver,v),A>0||A===0&&(S.operator!==">="||_.operator!=="<=")))return null;for(let C of E){if(S&&!i(C,String(S),v)||_&&!i(C,String(_),v))return null;for(let R of x)if(!i(C,String(R),v))return!1;return!0}let U=!(!_||v.includePrerelease||!_.semver.prerelease.length)&&_.semver,z=!(!S||v.includePrerelease||!S.semver.prerelease.length)&&S.semver;U&&U.prerelease.length===1&&_.operator==="<"&&U.prerelease[0]===0&&(U=!1);for(let C of x){if(k=k||C.operator===">"||C.operator===">=",F=F||C.operator==="<"||C.operator==="<=",S){if(z&&C.semver.prerelease&&C.semver.prerelease.length&&C.semver.major===z.major&&C.semver.minor===z.minor&&C.semver.patch===z.patch&&(z=!1),C.operator===">"||C.operator===">="){if(L=b(S,C,v),L===C&&L!==S)return!1}else if(S.operator===">="&&!i(S.semver,String(C),v))return!1}if(_){if(U&&C.semver.prerelease&&C.semver.prerelease.length&&C.semver.major===U.major&&C.semver.minor===U.minor&&C.semver.patch===U.patch&&(U=!1),C.operator==="<"||C.operator==="<="){if(j=m(_,C,v),j===C&&j!==_)return!1}else if(_.operator==="<="&&!i(_.semver,String(C),v))return!1}if(!C.operator&&(_||S)&&A!==0)return!1}return!(S&&F&&!_&&A!==0)&&!(_&&k&&!S&&A!==0)&&!z&&!U},b=(y,x,v)=>{if(!y)return x;let E=o(y.semver,x.semver,v);return E>0?y:E<0||x.operator===">"&&y.operator===">="?x:y},m=(y,x,v)=>{if(!y)return x;let E=o(y.semver,x.semver,v);return E<0?y:E>0||x.operator==="<"&&y.operator==="<="?x:y};u.exports=(y,x,v={})=>{if(y===x)return!0;y=new n(y,v),x=new n(x,v);let E=!1;e:for(let S of y.set){for(let _ of x.set){let A=f(S,_,v);if(E=E||A!==null,A)continue e}if(E)return!1}return!0}},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/to-comparators.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js");u.exports=(c,p)=>new n(c,p).set.map((i=>i.map((o=>o.value)).join(" ").trim().split(" ")))},"./node_modules/.pnpm/semver@7.6.3/node_modules/semver/ranges/valid.js":(u,e,l)=>{let n=l("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/classes/range.js");u.exports=(c,p)=>{try{return new n(c,p).range||"*"}catch{return null}}},crypto:u=>{"use strict";u.exports=hr("crypto")},fs:u=>{"use strict";u.exports=hr("fs")},module:u=>{"use strict";u.exports=hr("module")},path:u=>{"use strict";u.exports=hr("path")}},r={};function s(u){var e=r[u];if(e!==void 0)return e.exports;var l=r[u]={id:u,loaded:!1,exports:{}};return t[u](l,l.exports,s),l.loaded=!0,l.exports}s.n=u=>{var e=u&&u.__esModule?()=>u.default:()=>u;return s.d(e,{a:e}),e},s.d=(u,e)=>{for(var l in e)s.o(e,l)&&!s.o(u,l)&&Object.defineProperty(u,l,{enumerable:!0,get:e[l]})},s.o=(u,e)=>Object.prototype.hasOwnProperty.call(u,e),s.nmd=u=>(u.paths=[],u.children||(u.children=[]),u);var a={};(()=>{"use strict";s.d(a,{default:()=>Mo});var u=s("fs"),e=s("module");let l=hr("perf_hooks"),n=hr("os"),c=hr("vm");var p=s.n(c);let i=hr("url"),o=/^[A-Za-z]:\//;function h(D=""){return D&&D.replace(/\\/g,"/").replace(o,(te=>te.toUpperCase()))}let d=/^[/\\]{2}/,f=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,b=/^[A-Za-z]:$/,m=function(D){if(D.length===0)return".";let te=(D=h(D)).match(d),_e=v(D),Me=D[D.length-1]==="/";return(D=x(D,!_e)).length===0?_e?"/":Me?"./":".":(Me&&(D+="/"),b.test(D)&&(D+="/"),te?_e?`//${D}`:`//./${D}`:_e&&!v(D)?`/${D}`:D)},y=function(...D){if(D.length===0)return".";let te;for(let _e of D)_e&&_e.length>0&&(te===void 0?te=_e:te+=`/${_e}`);return te===void 0?".":m(te.replace(/\/\/+/g,"/"))};function x(D,te){let _e="",Me=0,st=-1,vt=0,gt=null;for(let It=0;It<=D.length;++It){if(It<D.length)gt=D[It];else{if(gt==="/")break;gt="/"}if(gt==="/"){if(!(st===It-1||vt===1))if(vt===2){if(_e.length<2||Me!==2||_e[_e.length-1]!=="."||_e[_e.length-2]!=="."){if(_e.length>2){let Jt=_e.lastIndexOf("/");Jt===-1?(_e="",Me=0):(_e=_e.slice(0,Jt),Me=_e.length-1-_e.lastIndexOf("/")),st=It,vt=0;continue}if(_e.length>0){_e="",Me=0,st=It,vt=0;continue}}te&&(_e+=_e.length>0?"/..":"..",Me=2)}else _e.length>0?_e+=`/${D.slice(st+1,It)}`:_e=D.slice(st+1,It),Me=It-st-1;st=It,vt=0}else gt==="."&&vt!==-1?++vt:vt=-1}return _e}let v=function(D){return f.test(D)},E=/.(\.[^./]+)$/,S=function(D){let te=E.exec(h(D));return te&&te[1]||""},_=function(D){let te=h(D).replace(/\/$/,"").split("/").slice(0,-1);return te.length===1&&b.test(te[0])&&(te[0]+="/"),te.join("/")||(v(D)?"/":".")},A=function(D,te){let _e=h(D).split("/").pop();return te&&_e.endsWith(te)?_e.slice(0,-te.length):_e},L=/"(?:_|\\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*:/,j=/"(?: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*:/,F=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function k(D,te){if(!(D==="__proto__"||D==="constructor"&&te&&typeof te=="object"&&"prototype"in te))return te;(function(_e){console.warn(`[destr] Dropping "${_e}" key to prevent prototype pollution.`)})(D)}function U(D,te={}){if(typeof D!="string")return D;let _e=D.trim();if(D[0]==='"'&&D.endsWith('"')&&!D.includes("\\"))return _e.slice(1,-1);if(_e.length<=9){let Me=_e.toLowerCase();if(Me==="true")return!0;if(Me==="false")return!1;if(Me==="undefined")return;if(Me==="null")return null;if(Me==="nan")return Number.NaN;if(Me==="infinity")return Number.POSITIVE_INFINITY;if(Me==="-infinity")return Number.NEGATIVE_INFINITY}if(!F.test(D)){if(te.strict)throw new SyntaxError("[destr] Invalid JSON");return D}try{if(L.test(D)||j.test(D)){if(te.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(D,k)}return JSON.parse(D)}catch(Me){if(te.strict)throw Me;return D}}function z(D){if(typeof D!="string")throw new TypeError("Expected a string");return D.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var C=s("./node_modules/.pnpm/create-require@1.1.1/node_modules/create-require/create-require.js"),R=s.n(C),G=s("./node_modules/.pnpm/semver@7.6.3/node_modules/semver/index.js");let V=new Set(["/","\\",void 0]),B=Symbol.for("pathe:normalizedAlias");function q(D){if(D[B])return D;let te=Object.fromEntries(Object.entries(D).sort((([_e],[Me])=>(function(st,vt){return vt.split("/").length-st.split("/").length})(_e,Me))));for(let _e in te)for(let Me in te)Me===_e||_e.startsWith(Me)||te[_e].startsWith(Me)&&V.has(te[_e][Me.length])&&(te[_e]=te[Me]+te[_e].slice(Me.length));return Object.defineProperty(te,B,{value:!0,enumerable:!1}),te}function K(D="/"){let te=D[D.length-1];return te==="/"||te==="\\"}var $=s("./node_modules/.pnpm/pirates@4.0.6/node_modules/pirates/lib/index.js"),W=s("./node_modules/.pnpm/object-hash@3.0.0/node_modules/object-hash/index.js"),Z=s.n(W),Q=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],X=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,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,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,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,229,29,3,0,496,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,16,621,2467,541,1507,4938,6,4191],ie="\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-\u1C8A\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-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\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",oe={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"},be="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",Ne={5:be,"5module":be+" export import",6:be+" const class extends export import super"},Pe=/^in(stanceof)?$/,Ke=new RegExp("["+ie+"]"),We=new RegExp("["+ie+"\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\u0897-\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\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\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\uFF65]");function Oe(D,te){for(var _e=65536,Me=0;Me<te.length;Me+=2){if((_e+=te[Me])>D)return!1;if((_e+=te[Me+1])>=D)return!0}return!1}function de(D,te){return D<65?D===36:D<91||(D<97?D===95:D<123||(D<=65535?D>=170&&Ke.test(String.fromCharCode(D)):te!==!1&&Oe(D,X)))}function xe(D,te){return D<48?D===36:D<58||!(D<65)&&(D<91||(D<97?D===95:D<123||(D<=65535?D>=170&&We.test(String.fromCharCode(D)):te!==!1&&(Oe(D,X)||Oe(D,Q)))))}var ye=function(D,te){te===void 0&&(te={}),this.label=D,this.keyword=te.keyword,this.beforeExpr=!!te.beforeExpr,this.startsExpr=!!te.startsExpr,this.isLoop=!!te.isLoop,this.isAssign=!!te.isAssign,this.prefix=!!te.prefix,this.postfix=!!te.postfix,this.binop=te.binop||null,this.updateContext=null};function ve(D,te){return new ye(D,{beforeExpr:!0,binop:te})}var he={beforeExpr:!0},Te={startsExpr:!0},Ce={};function se(D,te){return te===void 0&&(te={}),te.keyword=D,Ce[D]=new ye(D,te)}var pe={num:new ye("num",Te),regexp:new ye("regexp",Te),string:new ye("string",Te),name:new ye("name",Te),privateId:new ye("privateId",Te),eof:new ye("eof"),bracketL:new ye("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new ye("]"),braceL:new ye("{",{beforeExpr:!0,startsExpr:!0}),braceR:new ye("}"),parenL:new ye("(",{beforeExpr:!0,startsExpr:!0}),parenR:new ye(")"),comma:new ye(",",he),semi:new ye(";",he),colon:new ye(":",he),dot:new ye("."),question:new ye("?",he),questionDot:new ye("?."),arrow:new ye("=>",he),template:new ye("template"),invalidTemplate:new ye("invalidTemplate"),ellipsis:new ye("...",he),backQuote:new ye("`",Te),dollarBraceL:new ye("${",{beforeExpr:!0,startsExpr:!0}),eq:new ye("=",{beforeExpr:!0,isAssign:!0}),assign:new ye("_=",{beforeExpr:!0,isAssign:!0}),incDec:new ye("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new ye("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:ve("||",1),logicalAND:ve("&&",2),bitwiseOR:ve("|",3),bitwiseXOR:ve("^",4),bitwiseAND:ve("&",5),equality:ve("==/!=/===/!==",6),relational:ve("</>/<=/>=",7),bitShift:ve("<</>>/>>>",8),plusMin:new ye("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:ve("%",10),star:ve("*",10),slash:ve("/",10),starstar:new ye("**",{beforeExpr:!0}),coalesce:ve("??",1),_break:se("break"),_case:se("case",he),_catch:se("catch"),_continue:se("continue"),_debugger:se("debugger"),_default:se("default",he),_do:se("do",{isLoop:!0,beforeExpr:!0}),_else:se("else",he),_finally:se("finally"),_for:se("for",{isLoop:!0}),_function:se("function",Te),_if:se("if"),_return:se("return",he),_switch:se("switch"),_throw:se("throw",he),_try:se("try"),_var:se("var"),_const:se("const"),_while:se("while",{isLoop:!0}),_with:se("with"),_new:se("new",{beforeExpr:!0,startsExpr:!0}),_this:se("this",Te),_super:se("super",Te),_class:se("class",Te),_extends:se("extends",he),_export:se("export"),_import:se("import",Te),_null:se("null",Te),_true:se("true",Te),_false:se("false",Te),_in:se("in",{beforeExpr:!0,binop:7}),_instanceof:se("instanceof",{beforeExpr:!0,binop:7}),_typeof:se("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:se("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:se("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},nt=/\r\n?|\n|\u2028|\u2029/,ft=new RegExp(nt.source,"g");function _t(D){return D===10||D===13||D===8232||D===8233}function Pt(D,te,_e){_e===void 0&&(_e=D.length);for(var Me=te;Me<_e;Me++){var st=D.charCodeAt(Me);if(_t(st))return Me<_e-1&&st===13&&D.charCodeAt(Me+1)===10?Me+2:Me+1}return-1}var ht=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,De=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ze=Object.prototype,Ze=ze.hasOwnProperty,tt=ze.toString,ge=Object.hasOwn||function(D,te){return Ze.call(D,te)},fe=Array.isArray||function(D){return tt.call(D)==="[object Array]"},ee=Object.create(null);function le(D){return ee[D]||(ee[D]=new RegExp("^(?:"+D.replace(/ /g,"|")+")$"))}function Se(D){return D<=65535?String.fromCharCode(D):(D-=65536,String.fromCharCode(55296+(D>>10),56320+(1023&D)))}var Ee=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Be=function(D,te){this.line=D,this.column=te};Be.prototype.offset=function(D){return new Be(this.line,this.column+D)};var Qe=function(D,te,_e){this.start=te,this.end=_e,D.sourceFile!==null&&(this.source=D.sourceFile)};function ce(D,te){for(var _e=1,Me=0;;){var st=Pt(D,Me,te);if(st<0)return new Be(_e,te-Me);++_e,Me=st}}var $e={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},et=!1;function ut(D){var te={};for(var _e in $e)te[_e]=D&&ge(D,_e)?D[_e]:$e[_e];if(te.ecmaVersion==="latest"?te.ecmaVersion=1e8:te.ecmaVersion==null?(!et&&typeof console=="object"&&console.warn&&(et=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
Defaulting to 2020, but this will stop working in the future.`)),te.ecmaVersion=11):te.ecmaVersion>=2015&&(te.ecmaVersion-=2009),te.allowReserved==null&&(te.allowReserved=te.ecmaVersion<5),D&&D.allowHashBang!=null||(te.allowHashBang=te.ecmaVersion>=14),fe(te.onToken)){var Me=te.onToken;te.onToken=function(st){return Me.push(st)}}return fe(te.onComment)&&(te.onComment=(function(st,vt){return function(gt,It,Jt,fr,Kt,zr){var mn={type:gt?"Block":"Line",value:It,start:Jt,end:fr};st.locations&&(mn.loc=new Qe(this,Kt,zr)),st.ranges&&(mn.range=[Jt,fr]),vt.push(mn)}})(te,te.onComment)),te}function Je(D,te){return 2|(D?4:0)|(te?8:0)}var Le=function(D,te,_e){this.options=D=ut(D),this.sourceFile=D.sourceFile,this.keywords=le(Ne[D.ecmaVersion>=6?6:D.sourceType==="module"?"5module":5]);var Me="";D.allowReserved!==!0&&(Me=oe[D.ecmaVersion>=6?6:D.ecmaVersion===5?5:3],D.sourceType==="module"&&(Me+=" await")),this.reservedWords=le(Me);var st=(Me?Me+" ":"")+oe.strict;this.reservedWordsStrict=le(st),this.reservedWordsStrictBind=le(st+" "+oe.strictBind),this.input=String(te),this.containsEsc=!1,_e?(this.pos=_e,this.lineStart=this.input.lastIndexOf(`
|
|
`,_e-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(nt).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=pe.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=D.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&&D.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},at={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}};Le.prototype.parse=function(){var D=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(D)},at.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},at.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},at.inAsync.get=function(){return(4&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},at.canAwait.get=function(){for(var D=this.scopeStack.length-1;D>=0;D--){var te=this.scopeStack[D];if(te.inClassFieldInit||256&te.flags)return!1;if(2&te.flags)return(4&te.flags)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},at.allowSuper.get=function(){var D=this.currentThisScope(),te=D.flags,_e=D.inClassFieldInit;return(64&te)>0||_e||this.options.allowSuperOutsideMethod},at.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},at.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},at.allowNewDotTarget.get=function(){var D=this.currentThisScope(),te=D.flags,_e=D.inClassFieldInit;return(258&te)>0||_e},at.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},Le.extend=function(){for(var D=[],te=arguments.length;te--;)D[te]=arguments[te];for(var _e=this,Me=0;Me<D.length;Me++)_e=D[Me](_e);return _e},Le.parse=function(D,te){return new this(te,D).parse()},Le.parseExpressionAt=function(D,te,_e){var Me=new this(_e,D,te);return Me.nextToken(),Me.parseExpression()},Le.tokenizer=function(D,te){return new this(te,D)},Object.defineProperties(Le.prototype,at);var Et=Le.prototype,Rt=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Et.strictDirective=function(D){if(this.options.ecmaVersion<5)return!1;for(;;){De.lastIndex=D,D+=De.exec(this.input)[0].length;var te=Rt.exec(this.input.slice(D));if(!te)return!1;if((te[1]||te[2])==="use strict"){De.lastIndex=D+te[0].length;var _e=De.exec(this.input),Me=_e.index+_e[0].length,st=this.input.charAt(Me);return st===";"||st==="}"||nt.test(_e[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(st)||st==="!"&&this.input.charAt(Me+1)==="=")}D+=te[0].length,De.lastIndex=D,D+=De.exec(this.input)[0].length,this.input[D]===";"&&D++}},Et.eat=function(D){return this.type===D&&(this.next(),!0)},Et.isContextual=function(D){return this.type===pe.name&&this.value===D&&!this.containsEsc},Et.eatContextual=function(D){return!!this.isContextual(D)&&(this.next(),!0)},Et.expectContextual=function(D){this.eatContextual(D)||this.unexpected()},Et.canInsertSemicolon=function(){return this.type===pe.eof||this.type===pe.braceR||nt.test(this.input.slice(this.lastTokEnd,this.start))},Et.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Et.semicolon=function(){this.eat(pe.semi)||this.insertSemicolon()||this.unexpected()},Et.afterTrailingComma=function(D,te){if(this.type===D)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),te||this.next(),!0},Et.expect=function(D){this.eat(D)||this.unexpected()},Et.unexpected=function(D){this.raise(D??this.start,"Unexpected token")};var lr=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Et.checkPatternErrors=function(D,te){if(D){D.trailingComma>-1&&this.raiseRecoverable(D.trailingComma,"Comma is not permitted after the rest element");var _e=te?D.parenthesizedAssign:D.parenthesizedBind;_e>-1&&this.raiseRecoverable(_e,te?"Assigning to rvalue":"Parenthesized pattern")}},Et.checkExpressionErrors=function(D,te){if(!D)return!1;var _e=D.shorthandAssign,Me=D.doubleProto;if(!te)return _e>=0||Me>=0;_e>=0&&this.raise(_e,"Shorthand property assignments are valid only in destructuring patterns"),Me>=0&&this.raiseRecoverable(Me,"Redefinition of __proto__ property")},Et.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")},Et.isSimpleAssignTarget=function(D){return D.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(D.expression):D.type==="Identifier"||D.type==="MemberExpression"};var xt=Le.prototype;xt.parseTopLevel=function(D){var te=Object.create(null);for(D.body||(D.body=[]);this.type!==pe.eof;){var _e=this.parseStatement(null,!0,te);D.body.push(_e)}if(this.inModule)for(var Me=0,st=Object.keys(this.undefinedExports);Me<st.length;Me+=1){var vt=st[Me];this.raiseRecoverable(this.undefinedExports[vt].start,"Export '"+vt+"' is not defined")}return this.adaptDirectivePrologue(D.body),this.next(),D.sourceType=this.options.sourceType,this.finishNode(D,"Program")};var ar={kind:"loop"},yr={kind:"switch"};xt.isLet=function(D){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;De.lastIndex=this.pos;var te=De.exec(this.input),_e=this.pos+te[0].length,Me=this.input.charCodeAt(_e);if(Me===91||Me===92)return!0;if(D)return!1;if(Me===123||Me>55295&&Me<56320)return!0;if(de(Me,!0)){for(var st=_e+1;xe(Me=this.input.charCodeAt(st),!0);)++st;if(Me===92||Me>55295&&Me<56320)return!0;var vt=this.input.slice(_e,st);if(!Pe.test(vt))return!0}return!1},xt.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;De.lastIndex=this.pos;var D,te=De.exec(this.input),_e=this.pos+te[0].length;return!(nt.test(this.input.slice(this.pos,_e))||this.input.slice(_e,_e+8)!=="function"||_e+8!==this.input.length&&(xe(D=this.input.charCodeAt(_e+8))||D>55295&&D<56320))},xt.parseStatement=function(D,te,_e){var Me,st=this.type,vt=this.startNode();switch(this.isLet(D)&&(st=pe._var,Me="let"),st){case pe._break:case pe._continue:return this.parseBreakContinueStatement(vt,st.keyword);case pe._debugger:return this.parseDebuggerStatement(vt);case pe._do:return this.parseDoStatement(vt);case pe._for:return this.parseForStatement(vt);case pe._function:return D&&(this.strict||D!=="if"&&D!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(vt,!1,!D);case pe._class:return D&&this.unexpected(),this.parseClass(vt,!0);case pe._if:return this.parseIfStatement(vt);case pe._return:return this.parseReturnStatement(vt);case pe._switch:return this.parseSwitchStatement(vt);case pe._throw:return this.parseThrowStatement(vt);case pe._try:return this.parseTryStatement(vt);case pe._const:case pe._var:return Me=Me||this.value,D&&Me!=="var"&&this.unexpected(),this.parseVarStatement(vt,Me);case pe._while:return this.parseWhileStatement(vt);case pe._with:return this.parseWithStatement(vt);case pe.braceL:return this.parseBlock(!0,vt);case pe.semi:return this.parseEmptyStatement(vt);case pe._export:case pe._import:if(this.options.ecmaVersion>10&&st===pe._import){De.lastIndex=this.pos;var gt=De.exec(this.input),It=this.pos+gt[0].length,Jt=this.input.charCodeAt(It);if(Jt===40||Jt===46)return this.parseExpressionStatement(vt,this.parseExpression())}return this.options.allowImportExportEverywhere||(te||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'")),st===pe._import?this.parseImport(vt):this.parseExport(vt,_e);default:if(this.isAsyncFunction())return D&&this.unexpected(),this.next(),this.parseFunctionStatement(vt,!0,!D);var fr=this.value,Kt=this.parseExpression();return st===pe.name&&Kt.type==="Identifier"&&this.eat(pe.colon)?this.parseLabeledStatement(vt,fr,Kt,D):this.parseExpressionStatement(vt,Kt)}},xt.parseBreakContinueStatement=function(D,te){var _e=te==="break";this.next(),this.eat(pe.semi)||this.insertSemicolon()?D.label=null:this.type!==pe.name?this.unexpected():(D.label=this.parseIdent(),this.semicolon());for(var Me=0;Me<this.labels.length;++Me){var st=this.labels[Me];if((D.label==null||st.name===D.label.name)&&(st.kind!=null&&(_e||st.kind==="loop")||D.label&&_e))break}return Me===this.labels.length&&this.raise(D.start,"Unsyntactic "+te),this.finishNode(D,_e?"BreakStatement":"ContinueStatement")},xt.parseDebuggerStatement=function(D){return this.next(),this.semicolon(),this.finishNode(D,"DebuggerStatement")},xt.parseDoStatement=function(D){return this.next(),this.labels.push(ar),D.body=this.parseStatement("do"),this.labels.pop(),this.expect(pe._while),D.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(pe.semi):this.semicolon(),this.finishNode(D,"DoWhileStatement")},xt.parseForStatement=function(D){this.next();var te=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(ar),this.enterScope(0),this.expect(pe.parenL),this.type===pe.semi)return te>-1&&this.unexpected(te),this.parseFor(D,null);var _e=this.isLet();if(this.type===pe._var||this.type===pe._const||_e){var Me=this.startNode(),st=_e?"let":this.value;return this.next(),this.parseVar(Me,!0,st),this.finishNode(Me,"VariableDeclaration"),(this.type===pe._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&Me.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===pe._in?te>-1&&this.unexpected(te):D.await=te>-1),this.parseForIn(D,Me)):(te>-1&&this.unexpected(te),this.parseFor(D,Me))}var vt=this.isContextual("let"),gt=!1,It=this.containsEsc,Jt=new lr,fr=this.start,Kt=te>-1?this.parseExprSubscripts(Jt,"await"):this.parseExpression(!0,Jt);return this.type===pe._in||(gt=this.options.ecmaVersion>=6&&this.isContextual("of"))?(te>-1?(this.type===pe._in&&this.unexpected(te),D.await=!0):gt&&this.options.ecmaVersion>=8&&(Kt.start!==fr||It||Kt.type!=="Identifier"||Kt.name!=="async"?this.options.ecmaVersion>=9&&(D.await=!1):this.unexpected()),vt&>&&this.raise(Kt.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(Kt,!1,Jt),this.checkLValPattern(Kt),this.parseForIn(D,Kt)):(this.checkExpressionErrors(Jt,!0),te>-1&&this.unexpected(te),this.parseFor(D,Kt))},xt.parseFunctionStatement=function(D,te,_e){return this.next(),this.parseFunction(D,Rr|(_e?0:ln),!1,te)},xt.parseIfStatement=function(D){return this.next(),D.test=this.parseParenExpression(),D.consequent=this.parseStatement("if"),D.alternate=this.eat(pe._else)?this.parseStatement("if"):null,this.finishNode(D,"IfStatement")},xt.parseReturnStatement=function(D){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(pe.semi)||this.insertSemicolon()?D.argument=null:(D.argument=this.parseExpression(),this.semicolon()),this.finishNode(D,"ReturnStatement")},xt.parseSwitchStatement=function(D){var te;this.next(),D.discriminant=this.parseParenExpression(),D.cases=[],this.expect(pe.braceL),this.labels.push(yr),this.enterScope(0);for(var _e=!1;this.type!==pe.braceR;)if(this.type===pe._case||this.type===pe._default){var Me=this.type===pe._case;te&&this.finishNode(te,"SwitchCase"),D.cases.push(te=this.startNode()),te.consequent=[],this.next(),Me?te.test=this.parseExpression():(_e&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),_e=!0,te.test=null),this.expect(pe.colon)}else te||this.unexpected(),te.consequent.push(this.parseStatement(null));return this.exitScope(),te&&this.finishNode(te,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(D,"SwitchStatement")},xt.parseThrowStatement=function(D){return this.next(),nt.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),D.argument=this.parseExpression(),this.semicolon(),this.finishNode(D,"ThrowStatement")};var Pr=[];xt.parseCatchClauseParam=function(){var D=this.parseBindingAtom(),te=D.type==="Identifier";return this.enterScope(te?32:0),this.checkLValPattern(D,te?4:2),this.expect(pe.parenR),D},xt.parseTryStatement=function(D){if(this.next(),D.block=this.parseBlock(),D.handler=null,this.type===pe._catch){var te=this.startNode();this.next(),this.eat(pe.parenL)?te.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),te.param=null,this.enterScope(0)),te.body=this.parseBlock(!1),this.exitScope(),D.handler=this.finishNode(te,"CatchClause")}return D.finalizer=this.eat(pe._finally)?this.parseBlock():null,D.handler||D.finalizer||this.raise(D.start,"Missing catch or finally clause"),this.finishNode(D,"TryStatement")},xt.parseVarStatement=function(D,te,_e){return this.next(),this.parseVar(D,!1,te,_e),this.semicolon(),this.finishNode(D,"VariableDeclaration")},xt.parseWhileStatement=function(D){return this.next(),D.test=this.parseParenExpression(),this.labels.push(ar),D.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(D,"WhileStatement")},xt.parseWithStatement=function(D){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),D.object=this.parseParenExpression(),D.body=this.parseStatement("with"),this.finishNode(D,"WithStatement")},xt.parseEmptyStatement=function(D){return this.next(),this.finishNode(D,"EmptyStatement")},xt.parseLabeledStatement=function(D,te,_e,Me){for(var st=0,vt=this.labels;st<vt.length;st+=1)vt[st].name===te&&this.raise(_e.start,"Label '"+te+"' is already declared");for(var gt=this.type.isLoop?"loop":this.type===pe._switch?"switch":null,It=this.labels.length-1;It>=0;It--){var Jt=this.labels[It];if(Jt.statementStart!==D.start)break;Jt.statementStart=this.start,Jt.kind=gt}return this.labels.push({name:te,kind:gt,statementStart:this.start}),D.body=this.parseStatement(Me?Me.indexOf("label")===-1?Me+"label":Me:"label"),this.labels.pop(),D.label=_e,this.finishNode(D,"LabeledStatement")},xt.parseExpressionStatement=function(D,te){return D.expression=te,this.semicolon(),this.finishNode(D,"ExpressionStatement")},xt.parseBlock=function(D,te,_e){for(D===void 0&&(D=!0),te===void 0&&(te=this.startNode()),te.body=[],this.expect(pe.braceL),D&&this.enterScope(0);this.type!==pe.braceR;){var Me=this.parseStatement(null);te.body.push(Me)}return _e&&(this.strict=!1),this.next(),D&&this.exitScope(),this.finishNode(te,"BlockStatement")},xt.parseFor=function(D,te){return D.init=te,this.expect(pe.semi),D.test=this.type===pe.semi?null:this.parseExpression(),this.expect(pe.semi),D.update=this.type===pe.parenR?null:this.parseExpression(),this.expect(pe.parenR),D.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(D,"ForStatement")},xt.parseForIn=function(D,te){var _e=this.type===pe._in;return this.next(),te.type==="VariableDeclaration"&&te.declarations[0].init!=null&&(!_e||this.options.ecmaVersion<8||this.strict||te.kind!=="var"||te.declarations[0].id.type!=="Identifier")&&this.raise(te.start,(_e?"for-in":"for-of")+" loop variable declaration may not have an initializer"),D.left=te,D.right=_e?this.parseExpression():this.parseMaybeAssign(),this.expect(pe.parenR),D.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(D,_e?"ForInStatement":"ForOfStatement")},xt.parseVar=function(D,te,_e,Me){for(D.declarations=[],D.kind=_e;;){var st=this.startNode();if(this.parseVarId(st,_e),this.eat(pe.eq)?st.init=this.parseMaybeAssign(te):Me||_e!=="const"||this.type===pe._in||this.options.ecmaVersion>=6&&this.isContextual("of")?Me||st.id.type==="Identifier"||te&&(this.type===pe._in||this.isContextual("of"))?st.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),D.declarations.push(this.finishNode(st,"VariableDeclarator")),!this.eat(pe.comma))break}return D},xt.parseVarId=function(D,te){D.id=this.parseBindingAtom(),this.checkLValPattern(D.id,te==="var"?1:2,!1)};var Rr=1,ln=2;function Tn(D,te){var _e=te.key.name,Me=D[_e],st="true";return te.type!=="MethodDefinition"||te.kind!=="get"&&te.kind!=="set"||(st=(te.static?"s":"i")+te.kind),Me==="iget"&&st==="iset"||Me==="iset"&&st==="iget"||Me==="sget"&&st==="sset"||Me==="sset"&&st==="sget"?(D[_e]="true",!1):!!Me||(D[_e]=st,!1)}function Pn(D,te){var _e=D.computed,Me=D.key;return!_e&&(Me.type==="Identifier"&&Me.name===te||Me.type==="Literal"&&Me.value===te)}xt.parseFunction=function(D,te,_e,Me,st){this.initFunction(D),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!Me)&&(this.type===pe.star&&te&ln&&this.unexpected(),D.generator=this.eat(pe.star)),this.options.ecmaVersion>=8&&(D.async=!!Me),te&Rr&&(D.id=4&te&&this.type!==pe.name?null:this.parseIdent(),!D.id||te&ln||this.checkLValSimple(D.id,this.strict||D.generator||D.async?this.treatFunctionsAsVar?1:2:3));var vt=this.yieldPos,gt=this.awaitPos,It=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Je(D.async,D.generator)),te&Rr||(D.id=this.type===pe.name?this.parseIdent():null),this.parseFunctionParams(D),this.parseFunctionBody(D,_e,!1,st),this.yieldPos=vt,this.awaitPos=gt,this.awaitIdentPos=It,this.finishNode(D,te&Rr?"FunctionDeclaration":"FunctionExpression")},xt.parseFunctionParams=function(D){this.expect(pe.parenL),D.params=this.parseBindingList(pe.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},xt.parseClass=function(D,te){this.next();var _e=this.strict;this.strict=!0,this.parseClassId(D,te),this.parseClassSuper(D);var Me=this.enterClassBody(),st=this.startNode(),vt=!1;for(st.body=[],this.expect(pe.braceL);this.type!==pe.braceR;){var gt=this.parseClassElement(D.superClass!==null);gt&&(st.body.push(gt),gt.type==="MethodDefinition"&>.kind==="constructor"?(vt&&this.raiseRecoverable(gt.start,"Duplicate constructor in the same class"),vt=!0):gt.key&>.key.type==="PrivateIdentifier"&&Tn(Me,gt)&&this.raiseRecoverable(gt.key.start,"Identifier '#"+gt.key.name+"' has already been declared"))}return this.strict=_e,this.next(),D.body=this.finishNode(st,"ClassBody"),this.exitClassBody(),this.finishNode(D,te?"ClassDeclaration":"ClassExpression")},xt.parseClassElement=function(D){if(this.eat(pe.semi))return null;var te=this.options.ecmaVersion,_e=this.startNode(),Me="",st=!1,vt=!1,gt="method",It=!1;if(this.eatContextual("static")){if(te>=13&&this.eat(pe.braceL))return this.parseClassStaticBlock(_e),_e;this.isClassElementNameStart()||this.type===pe.star?It=!0:Me="static"}if(_e.static=It,!Me&&te>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==pe.star||this.canInsertSemicolon()?Me="async":vt=!0),!Me&&(te>=9||!vt)&&this.eat(pe.star)&&(st=!0),!Me&&!vt&&!st){var Jt=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?gt=Jt:Me=Jt)}if(Me?(_e.computed=!1,_e.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),_e.key.name=Me,this.finishNode(_e.key,"Identifier")):this.parseClassElementName(_e),te<13||this.type===pe.parenL||gt!=="method"||st||vt){var fr=!_e.static&&Pn(_e,"constructor"),Kt=fr&&D;fr&>!=="method"&&this.raise(_e.key.start,"Constructor can't have get/set modifier"),_e.kind=fr?"constructor":gt,this.parseClassMethod(_e,st,vt,Kt)}else this.parseClassField(_e);return _e},xt.isClassElementNameStart=function(){return this.type===pe.name||this.type===pe.privateId||this.type===pe.num||this.type===pe.string||this.type===pe.bracketL||this.type.keyword},xt.parseClassElementName=function(D){this.type===pe.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),D.computed=!1,D.key=this.parsePrivateIdent()):this.parsePropertyName(D)},xt.parseClassMethod=function(D,te,_e,Me){var st=D.key;D.kind==="constructor"?(te&&this.raise(st.start,"Constructor can't be a generator"),_e&&this.raise(st.start,"Constructor can't be an async method")):D.static&&Pn(D,"prototype")&&this.raise(st.start,"Classes may not have a static property named prototype");var vt=D.value=this.parseMethod(te,_e,Me);return D.kind==="get"&&vt.params.length!==0&&this.raiseRecoverable(vt.start,"getter should have no params"),D.kind==="set"&&vt.params.length!==1&&this.raiseRecoverable(vt.start,"setter should have exactly one param"),D.kind==="set"&&vt.params[0].type==="RestElement"&&this.raiseRecoverable(vt.params[0].start,"Setter cannot use rest params"),this.finishNode(D,"MethodDefinition")},xt.parseClassField=function(D){if(Pn(D,"constructor")?this.raise(D.key.start,"Classes can't have a field named 'constructor'"):D.static&&Pn(D,"prototype")&&this.raise(D.key.start,"Classes can't have a static field named 'prototype'"),this.eat(pe.eq)){var te=this.currentThisScope(),_e=te.inClassFieldInit;te.inClassFieldInit=!0,D.value=this.parseMaybeAssign(),te.inClassFieldInit=_e}else D.value=null;return this.semicolon(),this.finishNode(D,"PropertyDefinition")},xt.parseClassStaticBlock=function(D){D.body=[];var te=this.labels;for(this.labels=[],this.enterScope(320);this.type!==pe.braceR;){var _e=this.parseStatement(null);D.body.push(_e)}return this.next(),this.exitScope(),this.labels=te,this.finishNode(D,"StaticBlock")},xt.parseClassId=function(D,te){this.type===pe.name?(D.id=this.parseIdent(),te&&this.checkLValSimple(D.id,2,!1)):(te===!0&&this.unexpected(),D.id=null)},xt.parseClassSuper=function(D){D.superClass=this.eat(pe._extends)?this.parseExprSubscripts(null,!1):null},xt.enterClassBody=function(){var D={declared:Object.create(null),used:[]};return this.privateNameStack.push(D),D.declared},xt.exitClassBody=function(){var D=this.privateNameStack.pop(),te=D.declared,_e=D.used;if(this.options.checkPrivateFields)for(var Me=this.privateNameStack.length,st=Me===0?null:this.privateNameStack[Me-1],vt=0;vt<_e.length;++vt){var gt=_e[vt];ge(te,gt.name)||(st?st.used.push(gt):this.raiseRecoverable(gt.start,"Private field '#"+gt.name+"' must be declared in an enclosing class"))}},xt.parseExportAllDeclaration=function(D,te){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(D.exported=this.parseModuleExportName(),this.checkExport(te,D.exported,this.lastTokStart)):D.exported=null),this.expectContextual("from"),this.type!==pe.string&&this.unexpected(),D.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(D.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(D,"ExportAllDeclaration")},xt.parseExport=function(D,te){if(this.next(),this.eat(pe.star))return this.parseExportAllDeclaration(D,te);if(this.eat(pe._default))return this.checkExport(te,"default",this.lastTokStart),D.declaration=this.parseExportDefaultDeclaration(),this.finishNode(D,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())D.declaration=this.parseExportDeclaration(D),D.declaration.type==="VariableDeclaration"?this.checkVariableExport(te,D.declaration.declarations):this.checkExport(te,D.declaration.id,D.declaration.id.start),D.specifiers=[],D.source=null;else{if(D.declaration=null,D.specifiers=this.parseExportSpecifiers(te),this.eatContextual("from"))this.type!==pe.string&&this.unexpected(),D.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(D.attributes=this.parseWithClause());else{for(var _e=0,Me=D.specifiers;_e<Me.length;_e+=1){var st=Me[_e];this.checkUnreserved(st.local),this.checkLocalExport(st.local),st.local.type==="Literal"&&this.raise(st.local.start,"A string literal cannot be used as an exported binding without `from`.")}D.source=null}this.semicolon()}return this.finishNode(D,"ExportNamedDeclaration")},xt.parseExportDeclaration=function(D){return this.parseStatement(null)},xt.parseExportDefaultDeclaration=function(){var D;if(this.type===pe._function||(D=this.isAsyncFunction())){var te=this.startNode();return this.next(),D&&this.next(),this.parseFunction(te,4|Rr,!1,D)}if(this.type===pe._class){var _e=this.startNode();return this.parseClass(_e,"nullableID")}var Me=this.parseMaybeAssign();return this.semicolon(),Me},xt.checkExport=function(D,te,_e){D&&(typeof te!="string"&&(te=te.type==="Identifier"?te.name:te.value),ge(D,te)&&this.raiseRecoverable(_e,"Duplicate export '"+te+"'"),D[te]=!0)},xt.checkPatternExport=function(D,te){var _e=te.type;if(_e==="Identifier")this.checkExport(D,te,te.start);else if(_e==="ObjectPattern")for(var Me=0,st=te.properties;Me<st.length;Me+=1){var vt=st[Me];this.checkPatternExport(D,vt)}else if(_e==="ArrayPattern")for(var gt=0,It=te.elements;gt<It.length;gt+=1){var Jt=It[gt];Jt&&this.checkPatternExport(D,Jt)}else _e==="Property"?this.checkPatternExport(D,te.value):_e==="AssignmentPattern"?this.checkPatternExport(D,te.left):_e==="RestElement"&&this.checkPatternExport(D,te.argument)},xt.checkVariableExport=function(D,te){if(D)for(var _e=0,Me=te;_e<Me.length;_e+=1){var st=Me[_e];this.checkPatternExport(D,st.id)}},xt.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},xt.parseExportSpecifier=function(D){var te=this.startNode();return te.local=this.parseModuleExportName(),te.exported=this.eatContextual("as")?this.parseModuleExportName():te.local,this.checkExport(D,te.exported,te.exported.start),this.finishNode(te,"ExportSpecifier")},xt.parseExportSpecifiers=function(D){var te=[],_e=!0;for(this.expect(pe.braceL);!this.eat(pe.braceR);){if(_e)_e=!1;else if(this.expect(pe.comma),this.afterTrailingComma(pe.braceR))break;te.push(this.parseExportSpecifier(D))}return te},xt.parseImport=function(D){return this.next(),this.type===pe.string?(D.specifiers=Pr,D.source=this.parseExprAtom()):(D.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),D.source=this.type===pe.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(D.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(D,"ImportDeclaration")},xt.parseImportSpecifier=function(){var D=this.startNode();return D.imported=this.parseModuleExportName(),this.eatContextual("as")?D.local=this.parseIdent():(this.checkUnreserved(D.imported),D.local=D.imported),this.checkLValSimple(D.local,2),this.finishNode(D,"ImportSpecifier")},xt.parseImportDefaultSpecifier=function(){var D=this.startNode();return D.local=this.parseIdent(),this.checkLValSimple(D.local,2),this.finishNode(D,"ImportDefaultSpecifier")},xt.parseImportNamespaceSpecifier=function(){var D=this.startNode();return this.next(),this.expectContextual("as"),D.local=this.parseIdent(),this.checkLValSimple(D.local,2),this.finishNode(D,"ImportNamespaceSpecifier")},xt.parseImportSpecifiers=function(){var D=[],te=!0;if(this.type===pe.name&&(D.push(this.parseImportDefaultSpecifier()),!this.eat(pe.comma)))return D;if(this.type===pe.star)return D.push(this.parseImportNamespaceSpecifier()),D;for(this.expect(pe.braceL);!this.eat(pe.braceR);){if(te)te=!1;else if(this.expect(pe.comma),this.afterTrailingComma(pe.braceR))break;D.push(this.parseImportSpecifier())}return D},xt.parseWithClause=function(){var D=[];if(!this.eat(pe._with))return D;this.expect(pe.braceL);for(var te={},_e=!0;!this.eat(pe.braceR);){if(_e)_e=!1;else if(this.expect(pe.comma),this.afterTrailingComma(pe.braceR))break;var Me=this.parseImportAttribute(),st=Me.key.type==="Identifier"?Me.key.name:Me.key.value;ge(te,st)&&this.raiseRecoverable(Me.key.start,"Duplicate attribute key '"+st+"'"),te[st]=!0,D.push(Me)}return D},xt.parseImportAttribute=function(){var D=this.startNode();return D.key=this.type===pe.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(pe.colon),this.type!==pe.string&&this.unexpected(),D.value=this.parseExprAtom(),this.finishNode(D,"ImportAttribute")},xt.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===pe.string){var D=this.parseLiteral(this.value);return Ee.test(D.value)&&this.raise(D.start,"An export name cannot include a lone surrogate."),D}return this.parseIdent(!0)},xt.adaptDirectivePrologue=function(D){for(var te=0;te<D.length&&this.isDirectiveCandidate(D[te]);++te)D[te].directive=D[te].expression.raw.slice(1,-1)},xt.isDirectiveCandidate=function(D){return this.options.ecmaVersion>=5&&D.type==="ExpressionStatement"&&D.expression.type==="Literal"&&typeof D.expression.value=="string"&&(this.input[D.start]==='"'||this.input[D.start]==="'")};var er=Le.prototype;er.toAssignable=function(D,te,_e){if(this.options.ecmaVersion>=6&&D)switch(D.type){case"Identifier":this.inAsync&&D.name==="await"&&this.raise(D.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":D.type="ObjectPattern",_e&&this.checkPatternErrors(_e,!0);for(var Me=0,st=D.properties;Me<st.length;Me+=1){var vt=st[Me];this.toAssignable(vt,te),vt.type!=="RestElement"||vt.argument.type!=="ArrayPattern"&&vt.argument.type!=="ObjectPattern"||this.raise(vt.argument.start,"Unexpected token")}break;case"Property":D.kind!=="init"&&this.raise(D.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(D.value,te);break;case"ArrayExpression":D.type="ArrayPattern",_e&&this.checkPatternErrors(_e,!0),this.toAssignableList(D.elements,te);break;case"SpreadElement":D.type="RestElement",this.toAssignable(D.argument,te),D.argument.type==="AssignmentPattern"&&this.raise(D.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":D.operator!=="="&&this.raise(D.left.end,"Only '=' operator can be used for specifying default value."),D.type="AssignmentPattern",delete D.operator,this.toAssignable(D.left,te);break;case"ParenthesizedExpression":this.toAssignable(D.expression,te,_e);break;case"ChainExpression":this.raiseRecoverable(D.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!te)break;default:this.raise(D.start,"Assigning to rvalue")}else _e&&this.checkPatternErrors(_e,!0);return D},er.toAssignableList=function(D,te){for(var _e=D.length,Me=0;Me<_e;Me++){var st=D[Me];st&&this.toAssignable(st,te)}if(_e){var vt=D[_e-1];this.options.ecmaVersion===6&&te&&vt&&vt.type==="RestElement"&&vt.argument.type!=="Identifier"&&this.unexpected(vt.argument.start)}return D},er.parseSpread=function(D){var te=this.startNode();return this.next(),te.argument=this.parseMaybeAssign(!1,D),this.finishNode(te,"SpreadElement")},er.parseRestBinding=function(){var D=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==pe.name&&this.unexpected(),D.argument=this.parseBindingAtom(),this.finishNode(D,"RestElement")},er.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case pe.bracketL:var D=this.startNode();return this.next(),D.elements=this.parseBindingList(pe.bracketR,!0,!0),this.finishNode(D,"ArrayPattern");case pe.braceL:return this.parseObj(!0)}return this.parseIdent()},er.parseBindingList=function(D,te,_e,Me){for(var st=[],vt=!0;!this.eat(D);)if(vt?vt=!1:this.expect(pe.comma),te&&this.type===pe.comma)st.push(null);else{if(_e&&this.afterTrailingComma(D))break;if(this.type===pe.ellipsis){var gt=this.parseRestBinding();this.parseBindingListItem(gt),st.push(gt),this.type===pe.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(D);break}st.push(this.parseAssignableListItem(Me))}return st},er.parseAssignableListItem=function(D){var te=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(te),te},er.parseBindingListItem=function(D){return D},er.parseMaybeDefault=function(D,te,_e){if(_e=_e||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(pe.eq))return _e;var Me=this.startNodeAt(D,te);return Me.left=_e,Me.right=this.parseMaybeAssign(),this.finishNode(Me,"AssignmentPattern")},er.checkLValSimple=function(D,te,_e){te===void 0&&(te=0);var Me=te!==0;switch(D.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(D.name)&&this.raiseRecoverable(D.start,(Me?"Binding ":"Assigning to ")+D.name+" in strict mode"),Me&&(te===2&&D.name==="let"&&this.raiseRecoverable(D.start,"let is disallowed as a lexically bound name"),_e&&(ge(_e,D.name)&&this.raiseRecoverable(D.start,"Argument name clash"),_e[D.name]=!0),te!==5&&this.declareName(D.name,te,D.start));break;case"ChainExpression":this.raiseRecoverable(D.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":Me&&this.raiseRecoverable(D.start,"Binding member expression");break;case"ParenthesizedExpression":return Me&&this.raiseRecoverable(D.start,"Binding parenthesized expression"),this.checkLValSimple(D.expression,te,_e);default:this.raise(D.start,(Me?"Binding":"Assigning to")+" rvalue")}},er.checkLValPattern=function(D,te,_e){switch(te===void 0&&(te=0),D.type){case"ObjectPattern":for(var Me=0,st=D.properties;Me<st.length;Me+=1){var vt=st[Me];this.checkLValInnerPattern(vt,te,_e)}break;case"ArrayPattern":for(var gt=0,It=D.elements;gt<It.length;gt+=1){var Jt=It[gt];Jt&&this.checkLValInnerPattern(Jt,te,_e)}break;default:this.checkLValSimple(D,te,_e)}},er.checkLValInnerPattern=function(D,te,_e){switch(te===void 0&&(te=0),D.type){case"Property":this.checkLValInnerPattern(D.value,te,_e);break;case"AssignmentPattern":this.checkLValPattern(D.left,te,_e);break;case"RestElement":this.checkLValPattern(D.argument,te,_e);break;default:this.checkLValPattern(D,te,_e)}};var Yr=function(D,te,_e,Me,st){this.token=D,this.isExpr=!!te,this.preserveSpace=!!_e,this.override=Me,this.generator=!!st},gr={b_stat:new Yr("{",!1),b_expr:new Yr("{",!0),b_tmpl:new Yr("${",!1),p_stat:new Yr("(",!1),p_expr:new Yr("(",!0),q_tmpl:new Yr("`",!0,!0,(function(D){return D.tryReadTemplateToken()})),f_stat:new Yr("function",!1),f_expr:new Yr("function",!0),f_expr_gen:new Yr("function",!0,!1,null,!0),f_gen:new Yr("function",!1,!1,null,!0)},An=Le.prototype;An.initialContext=function(){return[gr.b_stat]},An.curContext=function(){return this.context[this.context.length-1]},An.braceIsBlock=function(D){var te=this.curContext();return te===gr.f_expr||te===gr.f_stat||(D!==pe.colon||te!==gr.b_stat&&te!==gr.b_expr?D===pe._return||D===pe.name&&this.exprAllowed?nt.test(this.input.slice(this.lastTokEnd,this.start)):D===pe._else||D===pe.semi||D===pe.eof||D===pe.parenR||D===pe.arrow||(D===pe.braceL?te===gr.b_stat:D!==pe._var&&D!==pe._const&&D!==pe.name&&!this.exprAllowed):!te.isExpr)},An.inGeneratorContext=function(){for(var D=this.context.length-1;D>=1;D--){var te=this.context[D];if(te.token==="function")return te.generator}return!1},An.updateContext=function(D){var te,_e=this.type;_e.keyword&&D===pe.dot?this.exprAllowed=!1:(te=_e.updateContext)?te.call(this,D):this.exprAllowed=_e.beforeExpr},An.overrideContext=function(D){this.curContext()!==D&&(this.context[this.context.length-1]=D)},pe.parenR.updateContext=pe.braceR.updateContext=function(){if(this.context.length!==1){var D=this.context.pop();D===gr.b_stat&&this.curContext().token==="function"&&(D=this.context.pop()),this.exprAllowed=!D.isExpr}else this.exprAllowed=!0},pe.braceL.updateContext=function(D){this.context.push(this.braceIsBlock(D)?gr.b_stat:gr.b_expr),this.exprAllowed=!0},pe.dollarBraceL.updateContext=function(){this.context.push(gr.b_tmpl),this.exprAllowed=!0},pe.parenL.updateContext=function(D){var te=D===pe._if||D===pe._for||D===pe._with||D===pe._while;this.context.push(te?gr.p_stat:gr.p_expr),this.exprAllowed=!0},pe.incDec.updateContext=function(){},pe._function.updateContext=pe._class.updateContext=function(D){!D.beforeExpr||D===pe._else||D===pe.semi&&this.curContext()!==gr.p_stat||D===pe._return&&nt.test(this.input.slice(this.lastTokEnd,this.start))||(D===pe.colon||D===pe.braceL)&&this.curContext()===gr.b_stat?this.context.push(gr.f_stat):this.context.push(gr.f_expr),this.exprAllowed=!1},pe.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},pe.backQuote.updateContext=function(){this.curContext()===gr.q_tmpl?this.context.pop():this.context.push(gr.q_tmpl),this.exprAllowed=!1},pe.star.updateContext=function(D){if(D===pe._function){var te=this.context.length-1;this.context[te]===gr.f_expr?this.context[te]=gr.f_expr_gen:this.context[te]=gr.f_gen}this.exprAllowed=!0},pe.name.updateContext=function(D){var te=!1;this.options.ecmaVersion>=6&&D!==pe.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(te=!0),this.exprAllowed=te};var rt=Le.prototype;function At(D){return D.type==="Identifier"||D.type==="ParenthesizedExpression"&&At(D.expression)}function Mt(D){return D.type==="MemberExpression"&&D.property.type==="PrivateIdentifier"||D.type==="ChainExpression"&&Mt(D.expression)||D.type==="ParenthesizedExpression"&&Mt(D.expression)}rt.checkPropClash=function(D,te,_e){if(!(this.options.ecmaVersion>=9&&D.type==="SpreadElement"||this.options.ecmaVersion>=6&&(D.computed||D.method||D.shorthand))){var Me,st=D.key;switch(st.type){case"Identifier":Me=st.name;break;case"Literal":Me=String(st.value);break;default:return}var vt=D.kind;if(this.options.ecmaVersion>=6)Me==="__proto__"&&vt==="init"&&(te.proto&&(_e?_e.doubleProto<0&&(_e.doubleProto=st.start):this.raiseRecoverable(st.start,"Redefinition of __proto__ property")),te.proto=!0);else{var gt=te[Me="$"+Me];gt?(vt==="init"?this.strict&>.init||gt.get||gt.set:gt.init||gt[vt])&&this.raiseRecoverable(st.start,"Redefinition of property"):gt=te[Me]={init:!1,get:!1,set:!1},gt[vt]=!0}}},rt.parseExpression=function(D,te){var _e=this.start,Me=this.startLoc,st=this.parseMaybeAssign(D,te);if(this.type===pe.comma){var vt=this.startNodeAt(_e,Me);for(vt.expressions=[st];this.eat(pe.comma);)vt.expressions.push(this.parseMaybeAssign(D,te));return this.finishNode(vt,"SequenceExpression")}return st},rt.parseMaybeAssign=function(D,te,_e){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(D);this.exprAllowed=!1}var Me=!1,st=-1,vt=-1,gt=-1;te?(st=te.parenthesizedAssign,vt=te.trailingComma,gt=te.doubleProto,te.parenthesizedAssign=te.trailingComma=-1):(te=new lr,Me=!0);var It=this.start,Jt=this.startLoc;this.type!==pe.parenL&&this.type!==pe.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=D==="await");var fr=this.parseMaybeConditional(D,te);if(_e&&(fr=_e.call(this,fr,It,Jt)),this.type.isAssign){var Kt=this.startNodeAt(It,Jt);return Kt.operator=this.value,this.type===pe.eq&&(fr=this.toAssignable(fr,!1,te)),Me||(te.parenthesizedAssign=te.trailingComma=te.doubleProto=-1),te.shorthandAssign>=fr.start&&(te.shorthandAssign=-1),this.type===pe.eq?this.checkLValPattern(fr):this.checkLValSimple(fr),Kt.left=fr,this.next(),Kt.right=this.parseMaybeAssign(D),gt>-1&&(te.doubleProto=gt),this.finishNode(Kt,"AssignmentExpression")}return Me&&this.checkExpressionErrors(te,!0),st>-1&&(te.parenthesizedAssign=st),vt>-1&&(te.trailingComma=vt),fr},rt.parseMaybeConditional=function(D,te){var _e=this.start,Me=this.startLoc,st=this.parseExprOps(D,te);if(this.checkExpressionErrors(te))return st;if(this.eat(pe.question)){var vt=this.startNodeAt(_e,Me);return vt.test=st,vt.consequent=this.parseMaybeAssign(),this.expect(pe.colon),vt.alternate=this.parseMaybeAssign(D),this.finishNode(vt,"ConditionalExpression")}return st},rt.parseExprOps=function(D,te){var _e=this.start,Me=this.startLoc,st=this.parseMaybeUnary(te,!1,!1,D);return this.checkExpressionErrors(te)||st.start===_e&&st.type==="ArrowFunctionExpression"?st:this.parseExprOp(st,_e,Me,-1,D)},rt.parseExprOp=function(D,te,_e,Me,st){var vt=this.type.binop;if(vt!=null&&(!st||this.type!==pe._in)&&vt>Me){var gt=this.type===pe.logicalOR||this.type===pe.logicalAND,It=this.type===pe.coalesce;It&&(vt=pe.logicalAND.binop);var Jt=this.value;this.next();var fr=this.start,Kt=this.startLoc,zr=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,st),fr,Kt,vt,st),mn=this.buildBinary(te,_e,D,zr,Jt,gt||It);return(gt&&this.type===pe.coalesce||It&&(this.type===pe.logicalOR||this.type===pe.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(mn,te,_e,Me,st)}return D},rt.buildBinary=function(D,te,_e,Me,st,vt){Me.type==="PrivateIdentifier"&&this.raise(Me.start,"Private identifier can only be left side of binary expression");var gt=this.startNodeAt(D,te);return gt.left=_e,gt.operator=st,gt.right=Me,this.finishNode(gt,vt?"LogicalExpression":"BinaryExpression")},rt.parseMaybeUnary=function(D,te,_e,Me){var st,vt=this.start,gt=this.startLoc;if(this.isContextual("await")&&this.canAwait)st=this.parseAwait(Me),te=!0;else if(this.type.prefix){var It=this.startNode(),Jt=this.type===pe.incDec;It.operator=this.value,It.prefix=!0,this.next(),It.argument=this.parseMaybeUnary(null,!0,Jt,Me),this.checkExpressionErrors(D,!0),Jt?this.checkLValSimple(It.argument):this.strict&&It.operator==="delete"&&At(It.argument)?this.raiseRecoverable(It.start,"Deleting local variable in strict mode"):It.operator==="delete"&&Mt(It.argument)?this.raiseRecoverable(It.start,"Private fields can not be deleted"):te=!0,st=this.finishNode(It,Jt?"UpdateExpression":"UnaryExpression")}else if(te||this.type!==pe.privateId){if(st=this.parseExprSubscripts(D,Me),this.checkExpressionErrors(D))return st;for(;this.type.postfix&&!this.canInsertSemicolon();){var fr=this.startNodeAt(vt,gt);fr.operator=this.value,fr.prefix=!1,fr.argument=st,this.checkLValSimple(st),this.next(),st=this.finishNode(fr,"UpdateExpression")}}else(Me||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),st=this.parsePrivateIdent(),this.type!==pe._in&&this.unexpected();return _e||!this.eat(pe.starstar)?st:te?void this.unexpected(this.lastTokStart):this.buildBinary(vt,gt,st,this.parseMaybeUnary(null,!1,!1,Me),"**",!1)},rt.parseExprSubscripts=function(D,te){var _e=this.start,Me=this.startLoc,st=this.parseExprAtom(D,te);if(st.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return st;var vt=this.parseSubscripts(st,_e,Me,!1,te);return D&&vt.type==="MemberExpression"&&(D.parenthesizedAssign>=vt.start&&(D.parenthesizedAssign=-1),D.parenthesizedBind>=vt.start&&(D.parenthesizedBind=-1),D.trailingComma>=vt.start&&(D.trailingComma=-1)),vt},rt.parseSubscripts=function(D,te,_e,Me,st){for(var vt=this.options.ecmaVersion>=8&&D.type==="Identifier"&&D.name==="async"&&this.lastTokEnd===D.end&&!this.canInsertSemicolon()&&D.end-D.start==5&&this.potentialArrowAt===D.start,gt=!1;;){var It=this.parseSubscript(D,te,_e,Me,vt,gt,st);if(It.optional&&(gt=!0),It===D||It.type==="ArrowFunctionExpression"){if(gt){var Jt=this.startNodeAt(te,_e);Jt.expression=It,It=this.finishNode(Jt,"ChainExpression")}return It}D=It}},rt.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(pe.arrow)},rt.parseSubscriptAsyncArrow=function(D,te,_e,Me){return this.parseArrowExpression(this.startNodeAt(D,te),_e,!0,Me)},rt.parseSubscript=function(D,te,_e,Me,st,vt,gt){var It=this.options.ecmaVersion>=11,Jt=It&&this.eat(pe.questionDot);Me&&Jt&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var fr=this.eat(pe.bracketL);if(fr||Jt&&this.type!==pe.parenL&&this.type!==pe.backQuote||this.eat(pe.dot)){var Kt=this.startNodeAt(te,_e);Kt.object=D,fr?(Kt.property=this.parseExpression(),this.expect(pe.bracketR)):this.type===pe.privateId&&D.type!=="Super"?Kt.property=this.parsePrivateIdent():Kt.property=this.parseIdent(this.options.allowReserved!=="never"),Kt.computed=!!fr,It&&(Kt.optional=Jt),D=this.finishNode(Kt,"MemberExpression")}else if(!Me&&this.eat(pe.parenL)){var zr=new lr,mn=this.yieldPos,$n=this.awaitPos,fi=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var zi=this.parseExprList(pe.parenR,this.options.ecmaVersion>=8,!1,zr);if(st&&!Jt&&this.shouldParseAsyncArrow())return this.checkPatternErrors(zr,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=mn,this.awaitPos=$n,this.awaitIdentPos=fi,this.parseSubscriptAsyncArrow(te,_e,zi,gt);this.checkExpressionErrors(zr,!0),this.yieldPos=mn||this.yieldPos,this.awaitPos=$n||this.awaitPos,this.awaitIdentPos=fi||this.awaitIdentPos;var os=this.startNodeAt(te,_e);os.callee=D,os.arguments=zi,It&&(os.optional=Jt),D=this.finishNode(os,"CallExpression")}else if(this.type===pe.backQuote){(Jt||vt)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Si=this.startNodeAt(te,_e);Si.tag=D,Si.quasi=this.parseTemplate({isTagged:!0}),D=this.finishNode(Si,"TaggedTemplateExpression")}return D},rt.parseExprAtom=function(D,te,_e){this.type===pe.slash&&this.readRegexp();var Me,st=this.potentialArrowAt===this.start;switch(this.type){case pe._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),Me=this.startNode(),this.next(),this.type!==pe.parenL||this.allowDirectSuper||this.raise(Me.start,"super() call outside constructor of a subclass"),this.type!==pe.dot&&this.type!==pe.bracketL&&this.type!==pe.parenL&&this.unexpected(),this.finishNode(Me,"Super");case pe._this:return Me=this.startNode(),this.next(),this.finishNode(Me,"ThisExpression");case pe.name:var vt=this.start,gt=this.startLoc,It=this.containsEsc,Jt=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!It&&Jt.name==="async"&&!this.canInsertSemicolon()&&this.eat(pe._function))return this.overrideContext(gr.f_expr),this.parseFunction(this.startNodeAt(vt,gt),0,!1,!0,te);if(st&&!this.canInsertSemicolon()){if(this.eat(pe.arrow))return this.parseArrowExpression(this.startNodeAt(vt,gt),[Jt],!1,te);if(this.options.ecmaVersion>=8&&Jt.name==="async"&&this.type===pe.name&&!It&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return Jt=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(pe.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(vt,gt),[Jt],!0,te)}return Jt;case pe.regexp:var fr=this.value;return(Me=this.parseLiteral(fr.value)).regex={pattern:fr.pattern,flags:fr.flags},Me;case pe.num:case pe.string:return this.parseLiteral(this.value);case pe._null:case pe._true:case pe._false:return(Me=this.startNode()).value=this.type===pe._null?null:this.type===pe._true,Me.raw=this.type.keyword,this.next(),this.finishNode(Me,"Literal");case pe.parenL:var Kt=this.start,zr=this.parseParenAndDistinguishExpression(st,te);return D&&(D.parenthesizedAssign<0&&!this.isSimpleAssignTarget(zr)&&(D.parenthesizedAssign=Kt),D.parenthesizedBind<0&&(D.parenthesizedBind=Kt)),zr;case pe.bracketL:return Me=this.startNode(),this.next(),Me.elements=this.parseExprList(pe.bracketR,!0,!0,D),this.finishNode(Me,"ArrayExpression");case pe.braceL:return this.overrideContext(gr.b_expr),this.parseObj(!1,D);case pe._function:return Me=this.startNode(),this.next(),this.parseFunction(Me,0);case pe._class:return this.parseClass(this.startNode(),!1);case pe._new:return this.parseNew();case pe.backQuote:return this.parseTemplate();case pe._import:return this.options.ecmaVersion>=11?this.parseExprImport(_e):this.unexpected();default:return this.parseExprAtomDefault()}},rt.parseExprAtomDefault=function(){this.unexpected()},rt.parseExprImport=function(D){var te=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===pe.parenL&&!D)return this.parseDynamicImport(te);if(this.type===pe.dot){var _e=this.startNodeAt(te.start,te.loc&&te.loc.start);return _e.name="import",te.meta=this.finishNode(_e,"Identifier"),this.parseImportMeta(te)}this.unexpected()},rt.parseDynamicImport=function(D){if(this.next(),D.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(pe.parenR)?D.options=null:(this.expect(pe.comma),this.afterTrailingComma(pe.parenR)?D.options=null:(D.options=this.parseMaybeAssign(),this.eat(pe.parenR)||(this.expect(pe.comma),this.afterTrailingComma(pe.parenR)||this.unexpected())));else if(!this.eat(pe.parenR)){var te=this.start;this.eat(pe.comma)&&this.eat(pe.parenR)?this.raiseRecoverable(te,"Trailing comma is not allowed in import()"):this.unexpected(te)}return this.finishNode(D,"ImportExpression")},rt.parseImportMeta=function(D){this.next();var te=this.containsEsc;return D.property=this.parseIdent(!0),D.property.name!=="meta"&&this.raiseRecoverable(D.property.start,"The only valid meta property for import is 'import.meta'"),te&&this.raiseRecoverable(D.start,"'import.meta' must not contain escaped characters"),this.options.sourceType==="module"||this.options.allowImportExportEverywhere||this.raiseRecoverable(D.start,"Cannot use 'import.meta' outside a module"),this.finishNode(D,"MetaProperty")},rt.parseLiteral=function(D){var te=this.startNode();return te.value=D,te.raw=this.input.slice(this.start,this.end),te.raw.charCodeAt(te.raw.length-1)===110&&(te.bigint=te.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(te,"Literal")},rt.parseParenExpression=function(){this.expect(pe.parenL);var D=this.parseExpression();return this.expect(pe.parenR),D},rt.shouldParseArrow=function(D){return!this.canInsertSemicolon()},rt.parseParenAndDistinguishExpression=function(D,te){var _e,Me=this.start,st=this.startLoc,vt=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var gt,It=this.start,Jt=this.startLoc,fr=[],Kt=!0,zr=!1,mn=new lr,$n=this.yieldPos,fi=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==pe.parenR;){if(Kt?Kt=!1:this.expect(pe.comma),vt&&this.afterTrailingComma(pe.parenR,!0)){zr=!0;break}if(this.type===pe.ellipsis){gt=this.start,fr.push(this.parseParenItem(this.parseRestBinding())),this.type===pe.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}fr.push(this.parseMaybeAssign(!1,mn,this.parseParenItem))}var zi=this.lastTokEnd,os=this.lastTokEndLoc;if(this.expect(pe.parenR),D&&this.shouldParseArrow(fr)&&this.eat(pe.arrow))return this.checkPatternErrors(mn,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=$n,this.awaitPos=fi,this.parseParenArrowList(Me,st,fr,te);fr.length&&!zr||this.unexpected(this.lastTokStart),gt&&this.unexpected(gt),this.checkExpressionErrors(mn,!0),this.yieldPos=$n||this.yieldPos,this.awaitPos=fi||this.awaitPos,fr.length>1?((_e=this.startNodeAt(It,Jt)).expressions=fr,this.finishNodeAt(_e,"SequenceExpression",zi,os)):_e=fr[0]}else _e=this.parseParenExpression();if(this.options.preserveParens){var Si=this.startNodeAt(Me,st);return Si.expression=_e,this.finishNode(Si,"ParenthesizedExpression")}return _e},rt.parseParenItem=function(D){return D},rt.parseParenArrowList=function(D,te,_e,Me){return this.parseArrowExpression(this.startNodeAt(D,te),_e,!1,Me)};var $t=[];rt.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var D=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===pe.dot){var te=this.startNodeAt(D.start,D.loc&&D.loc.start);te.name="new",D.meta=this.finishNode(te,"Identifier"),this.next();var _e=this.containsEsc;return D.property=this.parseIdent(!0),D.property.name!=="target"&&this.raiseRecoverable(D.property.start,"The only valid meta property for new is 'new.target'"),_e&&this.raiseRecoverable(D.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(D.start,"'new.target' can only be used in functions and class static block"),this.finishNode(D,"MetaProperty")}var Me=this.start,st=this.startLoc;return D.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),Me,st,!0,!1),this.eat(pe.parenL)?D.arguments=this.parseExprList(pe.parenR,this.options.ecmaVersion>=8,!1):D.arguments=$t,this.finishNode(D,"NewExpression")},rt.parseTemplateElement=function(D){var te=D.isTagged,_e=this.startNode();return this.type===pe.invalidTemplate?(te||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),_e.value={raw:this.value.replace(/\r\n?/g,`
|
|
`),cooked:null}):_e.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
`),cooked:this.value},this.next(),_e.tail=this.type===pe.backQuote,this.finishNode(_e,"TemplateElement")},rt.parseTemplate=function(D){D===void 0&&(D={});var te=D.isTagged;te===void 0&&(te=!1);var _e=this.startNode();this.next(),_e.expressions=[];var Me=this.parseTemplateElement({isTagged:te});for(_e.quasis=[Me];!Me.tail;)this.type===pe.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(pe.dollarBraceL),_e.expressions.push(this.parseExpression()),this.expect(pe.braceR),_e.quasis.push(Me=this.parseTemplateElement({isTagged:te}));return this.next(),this.finishNode(_e,"TemplateLiteral")},rt.isAsyncProp=function(D){return!D.computed&&D.key.type==="Identifier"&&D.key.name==="async"&&(this.type===pe.name||this.type===pe.num||this.type===pe.string||this.type===pe.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===pe.star)&&!nt.test(this.input.slice(this.lastTokEnd,this.start))},rt.parseObj=function(D,te){var _e=this.startNode(),Me=!0,st={};for(_e.properties=[],this.next();!this.eat(pe.braceR);){if(Me)Me=!1;else if(this.expect(pe.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(pe.braceR))break;var vt=this.parseProperty(D,te);D||this.checkPropClash(vt,st,te),_e.properties.push(vt)}return this.finishNode(_e,D?"ObjectPattern":"ObjectExpression")},rt.parseProperty=function(D,te){var _e,Me,st,vt,gt=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(pe.ellipsis))return D?(gt.argument=this.parseIdent(!1),this.type===pe.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(gt,"RestElement")):(gt.argument=this.parseMaybeAssign(!1,te),this.type===pe.comma&&te&&te.trailingComma<0&&(te.trailingComma=this.start),this.finishNode(gt,"SpreadElement"));this.options.ecmaVersion>=6&&(gt.method=!1,gt.shorthand=!1,(D||te)&&(st=this.start,vt=this.startLoc),D||(_e=this.eat(pe.star)));var It=this.containsEsc;return this.parsePropertyName(gt),!D&&!It&&this.options.ecmaVersion>=8&&!_e&&this.isAsyncProp(gt)?(Me=!0,_e=this.options.ecmaVersion>=9&&this.eat(pe.star),this.parsePropertyName(gt)):Me=!1,this.parsePropertyValue(gt,D,_e,Me,st,vt,te,It),this.finishNode(gt,"Property")},rt.parseGetterSetter=function(D){D.kind=D.key.name,this.parsePropertyName(D),D.value=this.parseMethod(!1);var te=D.kind==="get"?0:1;if(D.value.params.length!==te){var _e=D.value.start;D.kind==="get"?this.raiseRecoverable(_e,"getter should have no params"):this.raiseRecoverable(_e,"setter should have exactly one param")}else D.kind==="set"&&D.value.params[0].type==="RestElement"&&this.raiseRecoverable(D.value.params[0].start,"Setter cannot use rest params")},rt.parsePropertyValue=function(D,te,_e,Me,st,vt,gt,It){(_e||Me)&&this.type===pe.colon&&this.unexpected(),this.eat(pe.colon)?(D.value=te?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,gt),D.kind="init"):this.options.ecmaVersion>=6&&this.type===pe.parenL?(te&&this.unexpected(),D.kind="init",D.method=!0,D.value=this.parseMethod(_e,Me)):te||It||!(this.options.ecmaVersion>=5)||D.computed||D.key.type!=="Identifier"||D.key.name!=="get"&&D.key.name!=="set"||this.type===pe.comma||this.type===pe.braceR||this.type===pe.eq?this.options.ecmaVersion>=6&&!D.computed&&D.key.type==="Identifier"?((_e||Me)&&this.unexpected(),this.checkUnreserved(D.key),D.key.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=st),D.kind="init",te?D.value=this.parseMaybeDefault(st,vt,this.copyNode(D.key)):this.type===pe.eq&>?(gt.shorthandAssign<0&&(gt.shorthandAssign=this.start),D.value=this.parseMaybeDefault(st,vt,this.copyNode(D.key))):D.value=this.copyNode(D.key),D.shorthand=!0):this.unexpected():((_e||Me)&&this.unexpected(),this.parseGetterSetter(D))},rt.parsePropertyName=function(D){if(this.options.ecmaVersion>=6){if(this.eat(pe.bracketL))return D.computed=!0,D.key=this.parseMaybeAssign(),this.expect(pe.bracketR),D.key;D.computed=!1}return D.key=this.type===pe.num||this.type===pe.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},rt.initFunction=function(D){D.id=null,this.options.ecmaVersion>=6&&(D.generator=D.expression=!1),this.options.ecmaVersion>=8&&(D.async=!1)},rt.parseMethod=function(D,te,_e){var Me=this.startNode(),st=this.yieldPos,vt=this.awaitPos,gt=this.awaitIdentPos;return this.initFunction(Me),this.options.ecmaVersion>=6&&(Me.generator=D),this.options.ecmaVersion>=8&&(Me.async=!!te),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|Je(te,Me.generator)|(_e?128:0)),this.expect(pe.parenL),Me.params=this.parseBindingList(pe.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(Me,!1,!0,!1),this.yieldPos=st,this.awaitPos=vt,this.awaitIdentPos=gt,this.finishNode(Me,"FunctionExpression")},rt.parseArrowExpression=function(D,te,_e,Me){var st=this.yieldPos,vt=this.awaitPos,gt=this.awaitIdentPos;return this.enterScope(16|Je(_e,!1)),this.initFunction(D),this.options.ecmaVersion>=8&&(D.async=!!_e),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,D.params=this.toAssignableList(te,!0),this.parseFunctionBody(D,!0,!1,Me),this.yieldPos=st,this.awaitPos=vt,this.awaitIdentPos=gt,this.finishNode(D,"ArrowFunctionExpression")},rt.parseFunctionBody=function(D,te,_e,Me){var st=te&&this.type!==pe.braceL,vt=this.strict,gt=!1;if(st)D.body=this.parseMaybeAssign(Me),D.expression=!0,this.checkParams(D,!1);else{var It=this.options.ecmaVersion>=7&&!this.isSimpleParamList(D.params);vt&&!It||(gt=this.strictDirective(this.end))&&It&&this.raiseRecoverable(D.start,"Illegal 'use strict' directive in function with non-simple parameter list");var Jt=this.labels;this.labels=[],gt&&(this.strict=!0),this.checkParams(D,!vt&&!gt&&!te&&!_e&&this.isSimpleParamList(D.params)),this.strict&&D.id&&this.checkLValSimple(D.id,5),D.body=this.parseBlock(!1,void 0,gt&&!vt),D.expression=!1,this.adaptDirectivePrologue(D.body.body),this.labels=Jt}this.exitScope()},rt.isSimpleParamList=function(D){for(var te=0,_e=D;te<_e.length;te+=1)if(_e[te].type!=="Identifier")return!1;return!0},rt.checkParams=function(D,te){for(var _e=Object.create(null),Me=0,st=D.params;Me<st.length;Me+=1){var vt=st[Me];this.checkLValInnerPattern(vt,1,te?null:_e)}},rt.parseExprList=function(D,te,_e,Me){for(var st=[],vt=!0;!this.eat(D);){if(vt)vt=!1;else if(this.expect(pe.comma),te&&this.afterTrailingComma(D))break;var gt=void 0;_e&&this.type===pe.comma?gt=null:this.type===pe.ellipsis?(gt=this.parseSpread(Me),Me&&this.type===pe.comma&&Me.trailingComma<0&&(Me.trailingComma=this.start)):gt=this.parseMaybeAssign(!1,Me),st.push(gt)}return st},rt.checkUnreserved=function(D){var te=D.start,_e=D.end,Me=D.name;this.inGenerator&&Me==="yield"&&this.raiseRecoverable(te,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&Me==="await"&&this.raiseRecoverable(te,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&Me==="arguments"&&this.raiseRecoverable(te,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||Me!=="arguments"&&Me!=="await"||this.raise(te,"Cannot use "+Me+" in class static initialization block"),this.keywords.test(Me)&&this.raise(te,"Unexpected keyword '"+Me+"'"),this.options.ecmaVersion<6&&this.input.slice(te,_e).indexOf("\\")!==-1||(this.strict?this.reservedWordsStrict:this.reservedWords).test(Me)&&(this.inAsync||Me!=="await"||this.raiseRecoverable(te,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(te,"The keyword '"+Me+"' is reserved"))},rt.parseIdent=function(D){var te=this.parseIdentNode();return this.next(!!D),this.finishNode(te,"Identifier"),D||(this.checkUnreserved(te),te.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=te.start)),te},rt.parseIdentNode=function(){var D=this.startNode();return this.type===pe.name?D.name=this.value:this.type.keyword?(D.name=this.type.keyword,D.name!=="class"&&D.name!=="function"||this.lastTokEnd===this.lastTokStart+1&&this.input.charCodeAt(this.lastTokStart)===46||this.context.pop(),this.type=pe.name):this.unexpected(),D},rt.parsePrivateIdent=function(){var D=this.startNode();return this.type===pe.privateId?D.name=this.value:this.unexpected(),this.next(),this.finishNode(D,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(D.start,"Private field '#"+D.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(D)),D},rt.parseYield=function(D){this.yieldPos||(this.yieldPos=this.start);var te=this.startNode();return this.next(),this.type===pe.semi||this.canInsertSemicolon()||this.type!==pe.star&&!this.type.startsExpr?(te.delegate=!1,te.argument=null):(te.delegate=this.eat(pe.star),te.argument=this.parseMaybeAssign(D)),this.finishNode(te,"YieldExpression")},rt.parseAwait=function(D){this.awaitPos||(this.awaitPos=this.start);var te=this.startNode();return this.next(),te.argument=this.parseMaybeUnary(null,!0,!1,D),this.finishNode(te,"AwaitExpression")};var zt=Le.prototype;zt.raise=function(D,te){var _e=ce(this.input,D);te+=" ("+_e.line+":"+_e.column+")";var Me=new SyntaxError(te);throw Me.pos=D,Me.loc=_e,Me.raisedAt=this.pos,Me},zt.raiseRecoverable=zt.raise,zt.curPosition=function(){if(this.options.locations)return new Be(this.curLine,this.pos-this.lineStart)};var qt=Le.prototype,pr=function(D){this.flags=D,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1};qt.enterScope=function(D){this.scopeStack.push(new pr(D))},qt.exitScope=function(){this.scopeStack.pop()},qt.treatFunctionsAsVarInScope=function(D){return 2&D.flags||!this.inModule&&1&D.flags},qt.declareName=function(D,te,_e){var Me=!1;if(te===2){var st=this.currentScope();Me=st.lexical.indexOf(D)>-1||st.functions.indexOf(D)>-1||st.var.indexOf(D)>-1,st.lexical.push(D),this.inModule&&1&st.flags&&delete this.undefinedExports[D]}else if(te===4)this.currentScope().lexical.push(D);else if(te===3){var vt=this.currentScope();Me=this.treatFunctionsAsVar?vt.lexical.indexOf(D)>-1:vt.lexical.indexOf(D)>-1||vt.var.indexOf(D)>-1,vt.functions.push(D)}else for(var gt=this.scopeStack.length-1;gt>=0;--gt){var It=this.scopeStack[gt];if(It.lexical.indexOf(D)>-1&&!(32&It.flags&&It.lexical[0]===D)||!this.treatFunctionsAsVarInScope(It)&&It.functions.indexOf(D)>-1){Me=!0;break}if(It.var.push(D),this.inModule&&1&It.flags&&delete this.undefinedExports[D],259&It.flags)break}Me&&this.raiseRecoverable(_e,"Identifier '"+D+"' has already been declared")},qt.checkLocalExport=function(D){this.scopeStack[0].lexical.indexOf(D.name)===-1&&this.scopeStack[0].var.indexOf(D.name)===-1&&(this.undefinedExports[D.name]=D)},qt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},qt.currentVarScope=function(){for(var D=this.scopeStack.length-1;;D--){var te=this.scopeStack[D];if(259&te.flags)return te}},qt.currentThisScope=function(){for(var D=this.scopeStack.length-1;;D--){var te=this.scopeStack[D];if(259&te.flags&&!(16&te.flags))return te}};var xr=function(D,te,_e){this.type="",this.start=te,this.end=0,D.options.locations&&(this.loc=new Qe(D,_e)),D.options.directSourceFile&&(this.sourceFile=D.options.directSourceFile),D.options.ranges&&(this.range=[te,0])},Hr=Le.prototype;function Qr(D,te,_e,Me){return D.type=te,D.end=_e,this.options.locations&&(D.loc.end=Me),this.options.ranges&&(D.range[1]=_e),D}Hr.startNode=function(){return new xr(this,this.start,this.startLoc)},Hr.startNodeAt=function(D,te){return new xr(this,D,te)},Hr.finishNode=function(D,te){return Qr.call(this,D,te,this.lastTokEnd,this.lastTokEndLoc)},Hr.finishNodeAt=function(D,te,_e,Me){return Qr.call(this,D,te,_e,Me)},Hr.copyNode=function(D){var te=new xr(this,D.start,this.startLoc);for(var _e in D)te[_e]=D[_e];return te};var Fr="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",Sn=Fr+" Extended_Pictographic",Nn=Sn+" EBase EComp EMod EPres ExtPict",zn={9:Fr,10:Sn,11:Sn,12:Nn,13:Nn,14:Nn},Ni={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"},Fi="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",qi="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",dr=qi+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Sr=dr+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",wr=Sr+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",gn=wr+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",vn={9:qi,10:dr,11:Sr,12:wr,13:gn,14:gn+" Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz"},Gr={};function Rn(D){var te=Gr[D]={binary:le(zn[D]+" "+Fi),binaryOfStrings:le(Ni[D]),nonBinary:{General_Category:le(Fi),Script:le(vn[D])}};te.nonBinary.Script_Extensions=te.nonBinary.Script,te.nonBinary.gc=te.nonBinary.General_Category,te.nonBinary.sc=te.nonBinary.Script,te.nonBinary.scx=te.nonBinary.Script_Extensions}for(var Yt=0,Qt=[9,10,11,12,13,14];Yt<Qt.length;Yt+=1)Rn(Qt[Yt]);var kt=Le.prototype,vr=function(D,te){this.parent=D,this.base=te||this};vr.prototype.separatedFrom=function(D){for(var te=this;te;te=te.parent)for(var _e=D;_e;_e=_e.parent)if(te.base===_e.base&&te!==_e)return!0;return!1},vr.prototype.sibling=function(){return new vr(this.parent,this.base)};var _r=function(D){this.parser=D,this.validFlags="gim"+(D.options.ecmaVersion>=6?"uy":"")+(D.options.ecmaVersion>=9?"s":"")+(D.options.ecmaVersion>=13?"d":"")+(D.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Gr[D.options.ecmaVersion>=14?14:D.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=Object.create(null),this.backReferenceNames=[],this.branchID=null};function Xr(D){return D===105||D===109||D===115}function Xt(D){return D===36||D>=40&&D<=43||D===46||D===63||D>=91&&D<=94||D>=123&&D<=125}function jr(D){return D>=65&&D<=90||D>=97&&D<=122}_r.prototype.reset=function(D,te,_e){var Me=_e.indexOf("v")!==-1,st=_e.indexOf("u")!==-1;this.start=0|D,this.source=te+"",this.flags=_e,Me&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=st&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=st&&this.parser.options.ecmaVersion>=9)},_r.prototype.raise=function(D){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+D)},_r.prototype.at=function(D,te){te===void 0&&(te=!1);var _e=this.source,Me=_e.length;if(D>=Me)return-1;var st=_e.charCodeAt(D);if(!te&&!this.switchU||st<=55295||st>=57344||D+1>=Me)return st;var vt=_e.charCodeAt(D+1);return vt>=56320&&vt<=57343?(st<<10)+vt-56613888:st},_r.prototype.nextIndex=function(D,te){te===void 0&&(te=!1);var _e=this.source,Me=_e.length;if(D>=Me)return Me;var st,vt=_e.charCodeAt(D);return!te&&!this.switchU||vt<=55295||vt>=57344||D+1>=Me||(st=_e.charCodeAt(D+1))<56320||st>57343?D+1:D+2},_r.prototype.current=function(D){return D===void 0&&(D=!1),this.at(this.pos,D)},_r.prototype.lookahead=function(D){return D===void 0&&(D=!1),this.at(this.nextIndex(this.pos,D),D)},_r.prototype.advance=function(D){D===void 0&&(D=!1),this.pos=this.nextIndex(this.pos,D)},_r.prototype.eat=function(D,te){return te===void 0&&(te=!1),this.current(te)===D&&(this.advance(te),!0)},_r.prototype.eatChars=function(D,te){te===void 0&&(te=!1);for(var _e=this.pos,Me=0,st=D;Me<st.length;Me+=1){var vt=st[Me],gt=this.at(_e,te);if(gt===-1||gt!==vt)return!1;_e=this.nextIndex(_e,te)}return this.pos=_e,!0},kt.validateRegExpFlags=function(D){for(var te=D.validFlags,_e=D.flags,Me=!1,st=!1,vt=0;vt<_e.length;vt++){var gt=_e.charAt(vt);te.indexOf(gt)===-1&&this.raise(D.start,"Invalid regular expression flag"),_e.indexOf(gt,vt+1)>-1&&this.raise(D.start,"Duplicate regular expression flag"),gt==="u"&&(Me=!0),gt==="v"&&(st=!0)}this.options.ecmaVersion>=15&&Me&&st&&this.raise(D.start,"Invalid regular expression flag")},kt.validateRegExpPattern=function(D){this.regexp_pattern(D),!D.switchN&&this.options.ecmaVersion>=9&&(function(te){for(var _e in te)return!0;return!1})(D.groupNames)&&(D.switchN=!0,this.regexp_pattern(D))},kt.regexp_pattern=function(D){D.pos=0,D.lastIntValue=0,D.lastStringValue="",D.lastAssertionIsQuantifiable=!1,D.numCapturingParens=0,D.maxBackReference=0,D.groupNames=Object.create(null),D.backReferenceNames.length=0,D.branchID=null,this.regexp_disjunction(D),D.pos!==D.source.length&&(D.eat(41)&&D.raise("Unmatched ')'"),(D.eat(93)||D.eat(125))&&D.raise("Lone quantifier brackets")),D.maxBackReference>D.numCapturingParens&&D.raise("Invalid escape");for(var te=0,_e=D.backReferenceNames;te<_e.length;te+=1){var Me=_e[te];D.groupNames[Me]||D.raise("Invalid named capture referenced")}},kt.regexp_disjunction=function(D){var te=this.options.ecmaVersion>=16;for(te&&(D.branchID=new vr(D.branchID,null)),this.regexp_alternative(D);D.eat(124);)te&&(D.branchID=D.branchID.sibling()),this.regexp_alternative(D);te&&(D.branchID=D.branchID.parent),this.regexp_eatQuantifier(D,!0)&&D.raise("Nothing to repeat"),D.eat(123)&&D.raise("Lone quantifier brackets")},kt.regexp_alternative=function(D){for(;D.pos<D.source.length&&this.regexp_eatTerm(D););},kt.regexp_eatTerm=function(D){return this.regexp_eatAssertion(D)?(D.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(D)&&D.switchU&&D.raise("Invalid quantifier"),!0):!!(D.switchU?this.regexp_eatAtom(D):this.regexp_eatExtendedAtom(D))&&(this.regexp_eatQuantifier(D),!0)},kt.regexp_eatAssertion=function(D){var te=D.pos;if(D.lastAssertionIsQuantifiable=!1,D.eat(94)||D.eat(36))return!0;if(D.eat(92)){if(D.eat(66)||D.eat(98))return!0;D.pos=te}if(D.eat(40)&&D.eat(63)){var _e=!1;if(this.options.ecmaVersion>=9&&(_e=D.eat(60)),D.eat(61)||D.eat(33))return this.regexp_disjunction(D),D.eat(41)||D.raise("Unterminated group"),D.lastAssertionIsQuantifiable=!_e,!0}return D.pos=te,!1},kt.regexp_eatQuantifier=function(D,te){return te===void 0&&(te=!1),!!this.regexp_eatQuantifierPrefix(D,te)&&(D.eat(63),!0)},kt.regexp_eatQuantifierPrefix=function(D,te){return D.eat(42)||D.eat(43)||D.eat(63)||this.regexp_eatBracedQuantifier(D,te)},kt.regexp_eatBracedQuantifier=function(D,te){var _e=D.pos;if(D.eat(123)){var Me=0,st=-1;if(this.regexp_eatDecimalDigits(D)&&(Me=D.lastIntValue,D.eat(44)&&this.regexp_eatDecimalDigits(D)&&(st=D.lastIntValue),D.eat(125)))return st!==-1&&st<Me&&!te&&D.raise("numbers out of order in {} quantifier"),!0;D.switchU&&!te&&D.raise("Incomplete quantifier"),D.pos=_e}return!1},kt.regexp_eatAtom=function(D){return this.regexp_eatPatternCharacters(D)||D.eat(46)||this.regexp_eatReverseSolidusAtomEscape(D)||this.regexp_eatCharacterClass(D)||this.regexp_eatUncapturingGroup(D)||this.regexp_eatCapturingGroup(D)},kt.regexp_eatReverseSolidusAtomEscape=function(D){var te=D.pos;if(D.eat(92)){if(this.regexp_eatAtomEscape(D))return!0;D.pos=te}return!1},kt.regexp_eatUncapturingGroup=function(D){var te=D.pos;if(D.eat(40)){if(D.eat(63)){if(this.options.ecmaVersion>=16){var _e=this.regexp_eatModifiers(D),Me=D.eat(45);if(_e||Me){for(var st=0;st<_e.length;st++){var vt=_e.charAt(st);_e.indexOf(vt,st+1)>-1&&D.raise("Duplicate regular expression modifiers")}if(Me){var gt=this.regexp_eatModifiers(D);_e||gt||D.current()!==58||D.raise("Invalid regular expression modifiers");for(var It=0;It<gt.length;It++){var Jt=gt.charAt(It);(gt.indexOf(Jt,It+1)>-1||_e.indexOf(Jt)>-1)&&D.raise("Duplicate regular expression modifiers")}}}}if(D.eat(58)){if(this.regexp_disjunction(D),D.eat(41))return!0;D.raise("Unterminated group")}}D.pos=te}return!1},kt.regexp_eatCapturingGroup=function(D){if(D.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(D):D.current()===63&&D.raise("Invalid group"),this.regexp_disjunction(D),D.eat(41))return D.numCapturingParens+=1,!0;D.raise("Unterminated group")}return!1},kt.regexp_eatModifiers=function(D){for(var te="",_e=0;(_e=D.current())!==-1&&Xr(_e);)te+=Se(_e),D.advance();return te},kt.regexp_eatExtendedAtom=function(D){return D.eat(46)||this.regexp_eatReverseSolidusAtomEscape(D)||this.regexp_eatCharacterClass(D)||this.regexp_eatUncapturingGroup(D)||this.regexp_eatCapturingGroup(D)||this.regexp_eatInvalidBracedQuantifier(D)||this.regexp_eatExtendedPatternCharacter(D)},kt.regexp_eatInvalidBracedQuantifier=function(D){return this.regexp_eatBracedQuantifier(D,!0)&&D.raise("Nothing to repeat"),!1},kt.regexp_eatSyntaxCharacter=function(D){var te=D.current();return!!Xt(te)&&(D.lastIntValue=te,D.advance(),!0)},kt.regexp_eatPatternCharacters=function(D){for(var te=D.pos,_e=0;(_e=D.current())!==-1&&!Xt(_e);)D.advance();return D.pos!==te},kt.regexp_eatExtendedPatternCharacter=function(D){var te=D.current();return!(te===-1||te===36||te>=40&&te<=43||te===46||te===63||te===91||te===94||te===124)&&(D.advance(),!0)},kt.regexp_groupSpecifier=function(D){if(D.eat(63)){this.regexp_eatGroupName(D)||D.raise("Invalid group");var te=this.options.ecmaVersion>=16,_e=D.groupNames[D.lastStringValue];if(_e)if(te)for(var Me=0,st=_e;Me<st.length;Me+=1)st[Me].separatedFrom(D.branchID)||D.raise("Duplicate capture group name");else D.raise("Duplicate capture group name");te?(_e||(D.groupNames[D.lastStringValue]=[])).push(D.branchID):D.groupNames[D.lastStringValue]=!0}},kt.regexp_eatGroupName=function(D){if(D.lastStringValue="",D.eat(60)){if(this.regexp_eatRegExpIdentifierName(D)&&D.eat(62))return!0;D.raise("Invalid capture group name")}return!1},kt.regexp_eatRegExpIdentifierName=function(D){if(D.lastStringValue="",this.regexp_eatRegExpIdentifierStart(D)){for(D.lastStringValue+=Se(D.lastIntValue);this.regexp_eatRegExpIdentifierPart(D);)D.lastStringValue+=Se(D.lastIntValue);return!0}return!1},kt.regexp_eatRegExpIdentifierStart=function(D){var te=D.pos,_e=this.options.ecmaVersion>=11,Me=D.current(_e);return D.advance(_e),Me===92&&this.regexp_eatRegExpUnicodeEscapeSequence(D,_e)&&(Me=D.lastIntValue),(function(st){return de(st,!0)||st===36||st===95})(Me)?(D.lastIntValue=Me,!0):(D.pos=te,!1)},kt.regexp_eatRegExpIdentifierPart=function(D){var te=D.pos,_e=this.options.ecmaVersion>=11,Me=D.current(_e);return D.advance(_e),Me===92&&this.regexp_eatRegExpUnicodeEscapeSequence(D,_e)&&(Me=D.lastIntValue),(function(st){return xe(st,!0)||st===36||st===95||st===8204||st===8205})(Me)?(D.lastIntValue=Me,!0):(D.pos=te,!1)},kt.regexp_eatAtomEscape=function(D){return!!(this.regexp_eatBackReference(D)||this.regexp_eatCharacterClassEscape(D)||this.regexp_eatCharacterEscape(D)||D.switchN&&this.regexp_eatKGroupName(D))||(D.switchU&&(D.current()===99&&D.raise("Invalid unicode escape"),D.raise("Invalid escape")),!1)},kt.regexp_eatBackReference=function(D){var te=D.pos;if(this.regexp_eatDecimalEscape(D)){var _e=D.lastIntValue;if(D.switchU)return _e>D.maxBackReference&&(D.maxBackReference=_e),!0;if(_e<=D.numCapturingParens)return!0;D.pos=te}return!1},kt.regexp_eatKGroupName=function(D){if(D.eat(107)){if(this.regexp_eatGroupName(D))return D.backReferenceNames.push(D.lastStringValue),!0;D.raise("Invalid named reference")}return!1},kt.regexp_eatCharacterEscape=function(D){return this.regexp_eatControlEscape(D)||this.regexp_eatCControlLetter(D)||this.regexp_eatZero(D)||this.regexp_eatHexEscapeSequence(D)||this.regexp_eatRegExpUnicodeEscapeSequence(D,!1)||!D.switchU&&this.regexp_eatLegacyOctalEscapeSequence(D)||this.regexp_eatIdentityEscape(D)},kt.regexp_eatCControlLetter=function(D){var te=D.pos;if(D.eat(99)){if(this.regexp_eatControlLetter(D))return!0;D.pos=te}return!1},kt.regexp_eatZero=function(D){return D.current()===48&&!xn(D.lookahead())&&(D.lastIntValue=0,D.advance(),!0)},kt.regexp_eatControlEscape=function(D){var te=D.current();return te===116?(D.lastIntValue=9,D.advance(),!0):te===110?(D.lastIntValue=10,D.advance(),!0):te===118?(D.lastIntValue=11,D.advance(),!0):te===102?(D.lastIntValue=12,D.advance(),!0):te===114&&(D.lastIntValue=13,D.advance(),!0)},kt.regexp_eatControlLetter=function(D){var te=D.current();return!!jr(te)&&(D.lastIntValue=te%32,D.advance(),!0)},kt.regexp_eatRegExpUnicodeEscapeSequence=function(D,te){te===void 0&&(te=!1);var _e,Me=D.pos,st=te||D.switchU;if(D.eat(117)){if(this.regexp_eatFixedHexDigits(D,4)){var vt=D.lastIntValue;if(st&&vt>=55296&&vt<=56319){var gt=D.pos;if(D.eat(92)&&D.eat(117)&&this.regexp_eatFixedHexDigits(D,4)){var It=D.lastIntValue;if(It>=56320&&It<=57343)return D.lastIntValue=1024*(vt-55296)+(It-56320)+65536,!0}D.pos=gt,D.lastIntValue=vt}return!0}if(st&&D.eat(123)&&this.regexp_eatHexDigits(D)&&D.eat(125)&&(_e=D.lastIntValue)>=0&&_e<=1114111)return!0;st&&D.raise("Invalid unicode escape"),D.pos=Me}return!1},kt.regexp_eatIdentityEscape=function(D){if(D.switchU)return!!this.regexp_eatSyntaxCharacter(D)||!!D.eat(47)&&(D.lastIntValue=47,!0);var te=D.current();return!(te===99||D.switchN&&te===107)&&(D.lastIntValue=te,D.advance(),!0)},kt.regexp_eatDecimalEscape=function(D){D.lastIntValue=0;var te=D.current();if(te>=49&&te<=57){do D.lastIntValue=10*D.lastIntValue+(te-48),D.advance();while((te=D.current())>=48&&te<=57);return!0}return!1};function tn(D){return jr(D)||D===95}function un(D){return tn(D)||xn(D)}function xn(D){return D>=48&&D<=57}function fn(D){return D>=48&&D<=57||D>=65&&D<=70||D>=97&&D<=102}function _n(D){return D>=65&&D<=70?D-65+10:D>=97&&D<=102?D-97+10:D-48}function Ti(D){return D>=48&&D<=55}kt.regexp_eatCharacterClassEscape=function(D){var te=D.current();if((function(st){return st===100||st===68||st===115||st===83||st===119||st===87})(te))return D.lastIntValue=-1,D.advance(),1;var _e=!1;if(D.switchU&&this.options.ecmaVersion>=9&&((_e=te===80)||te===112)){var Me;if(D.lastIntValue=-1,D.advance(),D.eat(123)&&(Me=this.regexp_eatUnicodePropertyValueExpression(D))&&D.eat(125))return _e&&Me===2&&D.raise("Invalid property name"),Me;D.raise("Invalid property name")}return 0},kt.regexp_eatUnicodePropertyValueExpression=function(D){var te=D.pos;if(this.regexp_eatUnicodePropertyName(D)&&D.eat(61)){var _e=D.lastStringValue;if(this.regexp_eatUnicodePropertyValue(D)){var Me=D.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(D,_e,Me),1}}if(D.pos=te,this.regexp_eatLoneUnicodePropertyNameOrValue(D)){var st=D.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(D,st)}return 0},kt.regexp_validateUnicodePropertyNameAndValue=function(D,te,_e){ge(D.unicodeProperties.nonBinary,te)||D.raise("Invalid property name"),D.unicodeProperties.nonBinary[te].test(_e)||D.raise("Invalid property value")},kt.regexp_validateUnicodePropertyNameOrValue=function(D,te){return D.unicodeProperties.binary.test(te)?1:D.switchV&&D.unicodeProperties.binaryOfStrings.test(te)?2:void D.raise("Invalid property name")},kt.regexp_eatUnicodePropertyName=function(D){var te=0;for(D.lastStringValue="";tn(te=D.current());)D.lastStringValue+=Se(te),D.advance();return D.lastStringValue!==""},kt.regexp_eatUnicodePropertyValue=function(D){var te=0;for(D.lastStringValue="";un(te=D.current());)D.lastStringValue+=Se(te),D.advance();return D.lastStringValue!==""},kt.regexp_eatLoneUnicodePropertyNameOrValue=function(D){return this.regexp_eatUnicodePropertyValue(D)},kt.regexp_eatCharacterClass=function(D){if(D.eat(91)){var te=D.eat(94),_e=this.regexp_classContents(D);return D.eat(93)||D.raise("Unterminated character class"),te&&_e===2&&D.raise("Negated character class may contain strings"),!0}return!1},kt.regexp_classContents=function(D){return D.current()===93?1:D.switchV?this.regexp_classSetExpression(D):(this.regexp_nonEmptyClassRanges(D),1)},kt.regexp_nonEmptyClassRanges=function(D){for(;this.regexp_eatClassAtom(D);){var te=D.lastIntValue;if(D.eat(45)&&this.regexp_eatClassAtom(D)){var _e=D.lastIntValue;!D.switchU||te!==-1&&_e!==-1||D.raise("Invalid character class"),te!==-1&&_e!==-1&&te>_e&&D.raise("Range out of order in character class")}}},kt.regexp_eatClassAtom=function(D){var te=D.pos;if(D.eat(92)){if(this.regexp_eatClassEscape(D))return!0;if(D.switchU){var _e=D.current();(_e===99||Ti(_e))&&D.raise("Invalid class escape"),D.raise("Invalid escape")}D.pos=te}var Me=D.current();return Me!==93&&(D.lastIntValue=Me,D.advance(),!0)},kt.regexp_eatClassEscape=function(D){var te=D.pos;if(D.eat(98))return D.lastIntValue=8,!0;if(D.switchU&&D.eat(45))return D.lastIntValue=45,!0;if(!D.switchU&&D.eat(99)){if(this.regexp_eatClassControlLetter(D))return!0;D.pos=te}return this.regexp_eatCharacterClassEscape(D)||this.regexp_eatCharacterEscape(D)},kt.regexp_classSetExpression=function(D){var te,_e=1;if(!this.regexp_eatClassSetRange(D))if(te=this.regexp_eatClassSetOperand(D)){te===2&&(_e=2);for(var Me=D.pos;D.eatChars([38,38]);)D.current()!==38&&(te=this.regexp_eatClassSetOperand(D))?te!==2&&(_e=1):D.raise("Invalid character in character class");if(Me!==D.pos)return _e;for(;D.eatChars([45,45]);)this.regexp_eatClassSetOperand(D)||D.raise("Invalid character in character class");if(Me!==D.pos)return _e}else D.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(D)){if(!(te=this.regexp_eatClassSetOperand(D)))return _e;te===2&&(_e=2)}},kt.regexp_eatClassSetRange=function(D){var te=D.pos;if(this.regexp_eatClassSetCharacter(D)){var _e=D.lastIntValue;if(D.eat(45)&&this.regexp_eatClassSetCharacter(D)){var Me=D.lastIntValue;return _e!==-1&&Me!==-1&&_e>Me&&D.raise("Range out of order in character class"),!0}D.pos=te}return!1},kt.regexp_eatClassSetOperand=function(D){return this.regexp_eatClassSetCharacter(D)?1:this.regexp_eatClassStringDisjunction(D)||this.regexp_eatNestedClass(D)},kt.regexp_eatNestedClass=function(D){var te=D.pos;if(D.eat(91)){var _e=D.eat(94),Me=this.regexp_classContents(D);if(D.eat(93))return _e&&Me===2&&D.raise("Negated character class may contain strings"),Me;D.pos=te}if(D.eat(92)){var st=this.regexp_eatCharacterClassEscape(D);if(st)return st;D.pos=te}return null},kt.regexp_eatClassStringDisjunction=function(D){var te=D.pos;if(D.eatChars([92,113])){if(D.eat(123)){var _e=this.regexp_classStringDisjunctionContents(D);if(D.eat(125))return _e}else D.raise("Invalid escape");D.pos=te}return null},kt.regexp_classStringDisjunctionContents=function(D){for(var te=this.regexp_classString(D);D.eat(124);)this.regexp_classString(D)===2&&(te=2);return te},kt.regexp_classString=function(D){for(var te=0;this.regexp_eatClassSetCharacter(D);)te++;return te===1?1:2},kt.regexp_eatClassSetCharacter=function(D){var te=D.pos;if(D.eat(92))return!(!this.regexp_eatCharacterEscape(D)&&!this.regexp_eatClassSetReservedPunctuator(D))||(D.eat(98)?(D.lastIntValue=8,!0):(D.pos=te,!1));var _e=D.current();return!(_e<0||_e===D.lookahead()&&(function(Me){return Me===33||Me>=35&&Me<=38||Me>=42&&Me<=44||Me===46||Me>=58&&Me<=64||Me===94||Me===96||Me===126})(_e))&&!(function(Me){return Me===40||Me===41||Me===45||Me===47||Me>=91&&Me<=93||Me>=123&&Me<=125})(_e)&&(D.advance(),D.lastIntValue=_e,!0)},kt.regexp_eatClassSetReservedPunctuator=function(D){var te=D.current();return!!(function(_e){return _e===33||_e===35||_e===37||_e===38||_e===44||_e===45||_e>=58&&_e<=62||_e===64||_e===96||_e===126})(te)&&(D.lastIntValue=te,D.advance(),!0)},kt.regexp_eatClassControlLetter=function(D){var te=D.current();return!(!xn(te)&&te!==95)&&(D.lastIntValue=te%32,D.advance(),!0)},kt.regexp_eatHexEscapeSequence=function(D){var te=D.pos;if(D.eat(120)){if(this.regexp_eatFixedHexDigits(D,2))return!0;D.switchU&&D.raise("Invalid escape"),D.pos=te}return!1},kt.regexp_eatDecimalDigits=function(D){var te=D.pos,_e=0;for(D.lastIntValue=0;xn(_e=D.current());)D.lastIntValue=10*D.lastIntValue+(_e-48),D.advance();return D.pos!==te},kt.regexp_eatHexDigits=function(D){var te=D.pos,_e=0;for(D.lastIntValue=0;fn(_e=D.current());)D.lastIntValue=16*D.lastIntValue+_n(_e),D.advance();return D.pos!==te},kt.regexp_eatLegacyOctalEscapeSequence=function(D){if(this.regexp_eatOctalDigit(D)){var te=D.lastIntValue;if(this.regexp_eatOctalDigit(D)){var _e=D.lastIntValue;te<=3&&this.regexp_eatOctalDigit(D)?D.lastIntValue=64*te+8*_e+D.lastIntValue:D.lastIntValue=8*te+_e}else D.lastIntValue=te;return!0}return!1},kt.regexp_eatOctalDigit=function(D){var te=D.current();return Ti(te)?(D.lastIntValue=te-48,D.advance(),!0):(D.lastIntValue=0,!1)},kt.regexp_eatFixedHexDigits=function(D,te){var _e=D.pos;D.lastIntValue=0;for(var Me=0;Me<te;++Me){var st=D.current();if(!fn(st))return D.pos=_e,!1;D.lastIntValue=16*D.lastIntValue+_n(st),D.advance()}return!0};var di=function(D){this.type=D.type,this.value=D.value,this.start=D.start,this.end=D.end,D.options.locations&&(this.loc=new Qe(D,D.startLoc,D.endLoc)),D.options.ranges&&(this.range=[D.start,D.end])},an=Le.prototype;function Qn(D){return typeof BigInt!="function"?null:BigInt(D.replace(/_/g,""))}an.next=function(D){!D&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new di(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},an.getToken=function(){return this.next(),new di(this)},typeof Symbol<"u"&&(an[Symbol.iterator]=function(){var D=this;return{next:function(){var te=D.getToken();return{done:te.type===pe.eof,value:te}}}}),an.nextToken=function(){var D=this.curContext();return D&&D.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(pe.eof):D.override?D.override(this):void this.readToken(this.fullCharCodeAtPos())},an.readToken=function(D){return de(D,this.options.ecmaVersion>=6)||D===92?this.readWord():this.getTokenFromCode(D)},an.fullCharCodeAtPos=function(){var D=this.input.charCodeAt(this.pos);if(D<=55295||D>=56320)return D;var te=this.input.charCodeAt(this.pos+1);return te<=56319||te>=57344?D:(D<<10)+te-56613888},an.skipBlockComment=function(){var D=this.options.onComment&&this.curPosition(),te=this.pos,_e=this.input.indexOf("*/",this.pos+=2);if(_e===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=_e+2,this.options.locations)for(var Me=void 0,st=te;(Me=Pt(this.input,st,this.pos))>-1;)++this.curLine,st=this.lineStart=Me;this.options.onComment&&this.options.onComment(!0,this.input.slice(te+2,_e),te,this.pos,D,this.curPosition())},an.skipLineComment=function(D){for(var te=this.pos,_e=this.options.onComment&&this.curPosition(),Me=this.input.charCodeAt(this.pos+=D);this.pos<this.input.length&&!_t(Me);)Me=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(te+D,this.pos),te,this.pos,_e,this.curPosition())},an.skipSpace=function(){e:for(;this.pos<this.input.length;){var D=this.input.charCodeAt(this.pos);switch(D){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(!(D>8&&D<14||D>=5760&&ht.test(String.fromCharCode(D))))break e;++this.pos}}},an.finishToken=function(D,te){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var _e=this.type;this.type=D,this.value=te,this.updateContext(_e)},an.readToken_dot=function(){var D=this.input.charCodeAt(this.pos+1);if(D>=48&&D<=57)return this.readNumber(!0);var te=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&D===46&&te===46?(this.pos+=3,this.finishToken(pe.ellipsis)):(++this.pos,this.finishToken(pe.dot))},an.readToken_slash=function(){var D=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):D===61?this.finishOp(pe.assign,2):this.finishOp(pe.slash,1)},an.readToken_mult_modulo_exp=function(D){var te=this.input.charCodeAt(this.pos+1),_e=1,Me=D===42?pe.star:pe.modulo;return this.options.ecmaVersion>=7&&D===42&&te===42&&(++_e,Me=pe.starstar,te=this.input.charCodeAt(this.pos+2)),te===61?this.finishOp(pe.assign,_e+1):this.finishOp(Me,_e)},an.readToken_pipe_amp=function(D){var te=this.input.charCodeAt(this.pos+1);return te===D?this.options.ecmaVersion>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(pe.assign,3):this.finishOp(D===124?pe.logicalOR:pe.logicalAND,2):te===61?this.finishOp(pe.assign,2):this.finishOp(D===124?pe.bitwiseOR:pe.bitwiseAND,1)},an.readToken_caret=function(){return this.input.charCodeAt(this.pos+1)===61?this.finishOp(pe.assign,2):this.finishOp(pe.bitwiseXOR,1)},an.readToken_plus_min=function(D){var te=this.input.charCodeAt(this.pos+1);return te===D?te!==45||this.inModule||this.input.charCodeAt(this.pos+2)!==62||this.lastTokEnd!==0&&!nt.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(pe.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):te===61?this.finishOp(pe.assign,2):this.finishOp(pe.plusMin,1)},an.readToken_lt_gt=function(D){var te=this.input.charCodeAt(this.pos+1),_e=1;return te===D?(_e=D===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+_e)===61?this.finishOp(pe.assign,_e+1):this.finishOp(pe.bitShift,_e)):te!==33||D!==60||this.inModule||this.input.charCodeAt(this.pos+2)!==45||this.input.charCodeAt(this.pos+3)!==45?(te===61&&(_e=2),this.finishOp(pe.relational,_e)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},an.readToken_eq_excl=function(D){var te=this.input.charCodeAt(this.pos+1);return te===61?this.finishOp(pe.equality,this.input.charCodeAt(this.pos+2)===61?3:2):D===61&&te===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(pe.arrow)):this.finishOp(D===61?pe.eq:pe.prefix,1)},an.readToken_question=function(){var D=this.options.ecmaVersion;if(D>=11){var te=this.input.charCodeAt(this.pos+1);if(te===46){var _e=this.input.charCodeAt(this.pos+2);if(_e<48||_e>57)return this.finishOp(pe.questionDot,2)}if(te===63)return D>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(pe.assign,3):this.finishOp(pe.coalesce,2)}return this.finishOp(pe.question,1)},an.readToken_numberSign=function(){var D=35;if(this.options.ecmaVersion>=13&&(++this.pos,de(D=this.fullCharCodeAtPos(),!0)||D===92))return this.finishToken(pe.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+Se(D)+"'")},an.getTokenFromCode=function(D){switch(D){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(pe.parenL);case 41:return++this.pos,this.finishToken(pe.parenR);case 59:return++this.pos,this.finishToken(pe.semi);case 44:return++this.pos,this.finishToken(pe.comma);case 91:return++this.pos,this.finishToken(pe.bracketL);case 93:return++this.pos,this.finishToken(pe.bracketR);case 123:return++this.pos,this.finishToken(pe.braceL);case 125:return++this.pos,this.finishToken(pe.braceR);case 58:return++this.pos,this.finishToken(pe.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(pe.backQuote);case 48:var te=this.input.charCodeAt(this.pos+1);if(te===120||te===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(te===111||te===79)return this.readRadixNumber(8);if(te===98||te===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(D);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(D);case 124:case 38:return this.readToken_pipe_amp(D);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(D);case 60:case 62:return this.readToken_lt_gt(D);case 61:case 33:return this.readToken_eq_excl(D);case 63:return this.readToken_question();case 126:return this.finishOp(pe.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+Se(D)+"'")},an.finishOp=function(D,te){var _e=this.input.slice(this.pos,this.pos+te);return this.pos+=te,this.finishToken(D,_e)},an.readRegexp=function(){for(var D,te,_e=this.pos;;){this.pos>=this.input.length&&this.raise(_e,"Unterminated regular expression");var Me=this.input.charAt(this.pos);if(nt.test(Me)&&this.raise(_e,"Unterminated regular expression"),D)D=!1;else{if(Me==="[")te=!0;else if(Me==="]"&&te)te=!1;else if(Me==="/"&&!te)break;D=Me==="\\"}++this.pos}var st=this.input.slice(_e,this.pos);++this.pos;var vt=this.pos,gt=this.readWord1();this.containsEsc&&this.unexpected(vt);var It=this.regexpState||(this.regexpState=new _r(this));It.reset(_e,st,gt),this.validateRegExpFlags(It),this.validateRegExpPattern(It);var Jt=null;try{Jt=new RegExp(st,gt)}catch{}return this.finishToken(pe.regexp,{pattern:st,flags:gt,value:Jt})},an.readInt=function(D,te,_e){for(var Me=this.options.ecmaVersion>=12&&te===void 0,st=_e&&this.input.charCodeAt(this.pos)===48,vt=this.pos,gt=0,It=0,Jt=0,fr=te??1/0;Jt<fr;++Jt,++this.pos){var Kt=this.input.charCodeAt(this.pos),zr=void 0;if(Me&&Kt===95)st&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),It===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),Jt===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),It=Kt;else{if((zr=Kt>=97?Kt-97+10:Kt>=65?Kt-65+10:Kt>=48&&Kt<=57?Kt-48:1/0)>=D)break;It=Kt,gt=gt*D+zr}}return Me&&It===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===vt||te!=null&&this.pos-vt!==te?null:gt},an.readRadixNumber=function(D){var te=this.pos;this.pos+=2;var _e=this.readInt(D);return _e==null&&this.raise(this.start+2,"Expected number in radix "+D),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(_e=Qn(this.input.slice(te,this.pos)),++this.pos):de(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(pe.num,_e)},an.readNumber=function(D){var te=this.pos;D||this.readInt(10,void 0,!0)!==null||this.raise(te,"Invalid number");var _e=this.pos-te>=2&&this.input.charCodeAt(te)===48;_e&&this.strict&&this.raise(te,"Invalid number");var Me=this.input.charCodeAt(this.pos);if(!_e&&!D&&this.options.ecmaVersion>=11&&Me===110){var st=Qn(this.input.slice(te,this.pos));return++this.pos,de(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(pe.num,st)}_e&&/[89]/.test(this.input.slice(te,this.pos))&&(_e=!1),Me!==46||_e||(++this.pos,this.readInt(10),Me=this.input.charCodeAt(this.pos)),Me!==69&&Me!==101||_e||((Me=this.input.charCodeAt(++this.pos))!==43&&Me!==45||++this.pos,this.readInt(10)===null&&this.raise(te,"Invalid number")),de(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var vt,gt=(vt=this.input.slice(te,this.pos),_e?parseInt(vt,8):parseFloat(vt.replace(/_/g,"")));return this.finishToken(pe.num,gt)},an.readCodePoint=function(){var D;if(this.input.charCodeAt(this.pos)===123){this.options.ecmaVersion<6&&this.unexpected();var te=++this.pos;D=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,D>1114111&&this.invalidStringToken(te,"Code point out of bounds")}else D=this.readHexChar(4);return D},an.readString=function(D){for(var te="",_e=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var Me=this.input.charCodeAt(this.pos);if(Me===D)break;Me===92?(te+=this.input.slice(_e,this.pos),te+=this.readEscapedChar(!1),_e=this.pos):Me===8232||Me===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(_t(Me)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return te+=this.input.slice(_e,this.pos++),this.finishToken(pe.string,te)};var Wi={};an.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(D){if(D!==Wi)throw D;this.readInvalidTemplateToken()}this.inTemplateElement=!1},an.invalidStringToken=function(D,te){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Wi;this.raise(D,te)},an.readTmplToken=function(){for(var D="",te=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var _e=this.input.charCodeAt(this.pos);if(_e===96||_e===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos!==this.start||this.type!==pe.template&&this.type!==pe.invalidTemplate?(D+=this.input.slice(te,this.pos),this.finishToken(pe.template,D)):_e===36?(this.pos+=2,this.finishToken(pe.dollarBraceL)):(++this.pos,this.finishToken(pe.backQuote));if(_e===92)D+=this.input.slice(te,this.pos),D+=this.readEscapedChar(!0),te=this.pos;else if(_t(_e)){switch(D+=this.input.slice(te,this.pos),++this.pos,_e){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:D+=`
|
|
`;break;default:D+=String.fromCharCode(_e)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),te=this.pos}else++this.pos}},an.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(pe.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
|
|
`&&++this.pos;case`
|
|
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},an.readEscapedChar=function(D){var te=this.input.charCodeAt(++this.pos);switch(++this.pos,te){case 110:return`
|
|
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Se(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"),D){var _e=this.pos-1;this.invalidStringToken(_e,"Invalid escape sequence in template string")}default:if(te>=48&&te<=55){var Me=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],st=parseInt(Me,8);return st>255&&(Me=Me.slice(0,-1),st=parseInt(Me,8)),this.pos+=Me.length-1,te=this.input.charCodeAt(this.pos),Me==="0"&&te!==56&&te!==57||!this.strict&&!D||this.invalidStringToken(this.pos-1-Me.length,D?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(st)}return _t(te)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(te)}},an.readHexChar=function(D){var te=this.pos,_e=this.readInt(16,D);return _e===null&&this.invalidStringToken(te,"Bad character escape sequence"),_e},an.readWord1=function(){this.containsEsc=!1;for(var D="",te=!0,_e=this.pos,Me=this.options.ecmaVersion>=6;this.pos<this.input.length;){var st=this.fullCharCodeAtPos();if(xe(st,Me))this.pos+=st<=65535?1:2;else{if(st!==92)break;this.containsEsc=!0,D+=this.input.slice(_e,this.pos);var vt=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var gt=this.readCodePoint();(te?de:xe)(gt,Me)||this.invalidStringToken(vt,"Invalid Unicode escape"),D+=Se(gt),_e=this.pos}te=!1}return D+this.input.slice(_e,this.pos)},an.readWord=function(){var D=this.readWord1(),te=pe.name;return this.keywords.test(D)&&(te=Ce[D]),this.finishToken(te,D)},Le.acorn={Parser:Le,version:"8.14.0",defaultOptions:$e,Position:Be,SourceLocation:Qe,getLineInfo:ce,Node:xr,TokenType:ye,tokTypes:pe,keywordTypes:Ce,TokContext:Yr,tokContexts:gr,isIdentifierChar:xe,isIdentifierStart:de,Token:di,isNewLine:_t,lineBreak:nt,lineBreakG:ft,nonASCIIwhitespace:ht};let kr=hr("module"),ss=hr("fs");String.fromCharCode;let Vr=/\/$|\/\?|\/#/,Qi=/^\.?\//;function $i(D="",te){return te?Vr.test(D):D.endsWith("/")}function Cn(D="",te){if(!te)return D.endsWith("/")?D:D+"/";if($i(D,!0))return D||"/";let _e=D,Me="",st=D.indexOf("#");if(st>=0&&(_e=D.slice(0,st),Me=D.slice(st),!_e))return Me;let[vt,...gt]=_e.split("?");return vt+"/"+(gt.length>0?`?${gt.join("?")}`:"")+Me}function Js(D){return D&&D!=="/"}function Ns(D,...te){let _e=D||"";for(let Me of te.filter((st=>Js(st))))if(_e){let st=Me.replace(Qi,"");_e=Cn(_e)+st}else _e=Me;return _e}Symbol.for("ufo:protocolRelative");let Ur=hr("url"),Zi=hr("assert"),He=hr("process"),T=hr("path"),I=hr("v8"),H=hr("util"),re=new Set(kr.builtinModules);function we(D){return D.replace(/\\/g,"/")}let qe={}.hasOwnProperty,it=/^([A-Z][a-z\d]*)+$/,ot=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),mt={};function jt(D,te="and"){return D.length<3?D.join(` ${te} `):`${D.slice(0,-1).join(", ")}, ${te} ${D[D.length-1]}`}let Zt=new Map,Br;function Er(D,te,_e){return Zt.set(D,te),(function(Me,st){return vt;function vt(...gt){let It=Error.stackTraceLimit;rn()&&(Error.stackTraceLimit=0);let Jt=new Me;rn()&&(Error.stackTraceLimit=It);let fr=(function(Kt,zr,mn){let $n=Zt.get(Kt);if(Zi($n!==void 0,"expected `message` to be found"),typeof $n=="function")return Zi($n.length<=zr.length,`Code: ${Kt}; The provided arguments length (${zr.length}) does not match the required ones (${$n.length}).`),Reflect.apply($n,mn,zr);let fi=/%[dfijoOs]/g,zi=0;for(;fi.exec($n)!==null;)zi++;return Zi(zi===zr.length,`Code: ${Kt}; The provided arguments length (${zr.length}) does not match the required ones (${zi}).`),zr.length===0?$n:(zr.unshift($n),Reflect.apply(H.format,null,zr))})(st,gt,Jt);return Object.defineProperties(Jt,{message:{value:fr,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${st}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),Wn(Jt),Jt.code=st,Jt}})(_e,D)}function rn(){try{if(I.startupSnapshot.isBuildingSnapshot())return!1}catch{}let D=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return D===void 0?Object.isExtensible(Error):qe.call(D,"writable")&&D.writable!==void 0?D.writable:D.set!==void 0}mt.ERR_INVALID_ARG_TYPE=Er("ERR_INVALID_ARG_TYPE",((D,te,_e)=>{Zi(typeof D=="string","'name' must be a string"),Array.isArray(te)||(te=[te]);let Me="The ";if(D.endsWith(" argument"))Me+=`${D} `;else{let It=D.includes(".")?"property":"argument";Me+=`"${D}" ${It} `}Me+="must be ";let st=[],vt=[],gt=[];for(let It of te)Zi(typeof It=="string","All expected entries have to be of type string"),ot.has(It)?st.push(It.toLowerCase()):it.exec(It)===null?(Zi(It!=="object",'The value "object" should be written as "Object"'),gt.push(It)):vt.push(It);if(vt.length>0){let It=st.indexOf("object");It!==-1&&(st.slice(It,1),vt.push("Object"))}return st.length>0&&(Me+=`${st.length>1?"one of type":"of type"} ${jt(st,"or")}`,(vt.length>0||gt.length>0)&&(Me+=" or ")),vt.length>0&&(Me+=`an instance of ${jt(vt,"or")}`,gt.length>0&&(Me+=" or ")),gt.length>0&&(gt.length>1?Me+=`one of ${jt(gt,"or")}`:(gt[0].toLowerCase()!==gt[0]&&(Me+="an "),Me+=`${gt[0]}`)),Me+=`. Received ${(function(It){if(It==null)return String(It);if(typeof It=="function"&&It.name)return`function ${It.name}`;if(typeof It=="object")return It.constructor&&It.constructor.name?`an instance of ${It.constructor.name}`:`${(0,H.inspect)(It,{depth:-1})}`;let Jt=(0,H.inspect)(It,{colors:!1});return Jt.length>28&&(Jt=`${Jt.slice(0,25)}...`),`type ${typeof It} (${Jt})`})(_e)}`,Me}),TypeError),mt.ERR_INVALID_MODULE_SPECIFIER=Er("ERR_INVALID_MODULE_SPECIFIER",((D,te,_e=void 0)=>`Invalid module "${D}" ${te}${_e?` imported from ${_e}`:""}`),TypeError),mt.ERR_INVALID_PACKAGE_CONFIG=Er("ERR_INVALID_PACKAGE_CONFIG",((D,te,_e)=>`Invalid package config ${D}${te?` while importing ${te}`:""}${_e?`. ${_e}`:""}`),Error),mt.ERR_INVALID_PACKAGE_TARGET=Er("ERR_INVALID_PACKAGE_TARGET",((D,te,_e,Me=!1,st=void 0)=>{let vt=typeof _e=="string"&&!Me&&_e.length>0&&!_e.startsWith("./");return te==="."?(Zi(Me===!1),`Invalid "exports" main target ${JSON.stringify(_e)} defined in the package config ${D}package.json${st?` imported from ${st}`:""}${vt?'; targets must start with "./"':""}`):`Invalid "${Me?"imports":"exports"}" target ${JSON.stringify(_e)} defined for '${te}' in the package config ${D}package.json${st?` imported from ${st}`:""}${vt?'; targets must start with "./"':""}`}),Error),mt.ERR_MODULE_NOT_FOUND=Er("ERR_MODULE_NOT_FOUND",((D,te,_e=!1)=>`Cannot find ${_e?"module":"package"} '${D}' imported from ${te}`),Error),mt.ERR_NETWORK_IMPORT_DISALLOWED=Er("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),mt.ERR_PACKAGE_IMPORT_NOT_DEFINED=Er("ERR_PACKAGE_IMPORT_NOT_DEFINED",((D,te,_e)=>`Package import specifier "${D}" is not defined${te?` in package ${te}package.json`:""} imported from ${_e}`),TypeError),mt.ERR_PACKAGE_PATH_NOT_EXPORTED=Er("ERR_PACKAGE_PATH_NOT_EXPORTED",((D,te,_e=void 0)=>te==="."?`No "exports" main defined in ${D}package.json${_e?` imported from ${_e}`:""}`:`Package subpath '${te}' is not defined by "exports" in ${D}package.json${_e?` imported from ${_e}`:""}`),Error),mt.ERR_UNSUPPORTED_DIR_IMPORT=Er("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),mt.ERR_UNSUPPORTED_RESOLVE_REQUEST=Er("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),mt.ERR_UNKNOWN_FILE_EXTENSION=Er("ERR_UNKNOWN_FILE_EXTENSION",((D,te)=>`Unknown file extension "${D}" for ${te}`),TypeError),mt.ERR_INVALID_ARG_VALUE=Er("ERR_INVALID_ARG_VALUE",((D,te,_e="is invalid")=>{let Me=(0,H.inspect)(te);return Me.length>128&&(Me=`${Me.slice(0,128)}...`),`The ${D.includes(".")?"property":"argument"} '${D}' ${_e}. Received ${Me}`}),TypeError);let Wn=(function(D){let te="__node_internal_"+D.name;return Object.defineProperty(D,"name",{value:te}),D})((function(D){let te=rn();return te&&(Br=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(D),te&&(Error.stackTraceLimit=Br),D})),Un={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:Fn}=mt,hi=new Map;function Ue(D,{base:te,specifier:_e}){let Me=hi.get(D);if(Me)return Me;let st;try{st=ss.readFileSync(T.toNamespacedPath(D),"utf8")}catch(gt){let It=gt;if(It.code!=="ENOENT")throw It}let vt={exists:!1,pjsonPath:D,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(st!==void 0){let gt;try{gt=JSON.parse(st)}catch(It){let Jt=It,fr=new Fn(D,(te?`"${_e}" from `:"")+(0,Ur.fileURLToPath)(te||_e),Jt.message);throw fr.cause=Jt,fr}vt.exists=!0,Un.call(gt,"name")&&typeof gt.name=="string"&&(vt.name=gt.name),Un.call(gt,"main")&&typeof gt.main=="string"&&(vt.main=gt.main),Un.call(gt,"exports")&&(vt.exports=gt.exports),Un.call(gt,"imports")&&(vt.imports=gt.imports),!Un.call(gt,"type")||gt.type!=="commonjs"&>.type!=="module"||(vt.type=gt.type)}return hi.set(D,vt),vt}function g(D){let te=new URL("package.json",D);for(;!te.pathname.endsWith("node_modules/package.json");){let _e=Ue((0,Ur.fileURLToPath)(te),{specifier:D});if(_e.exists)return _e;let Me=te;if(te=new URL("../package.json",te),te.pathname===Me.pathname)break}return{pjsonPath:(0,Ur.fileURLToPath)(te),exists:!1,type:"none"}}function P(D){return g(D).type}let{ERR_UNKNOWN_FILE_EXTENSION:J}=mt,ne={}.hasOwnProperty,Fe={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"},Xe={__proto__:null,"data:":function(D){let{1:te}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(D.pathname)||[null,null,null];return(function(_e){return _e&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(_e)?"module":_e==="application/json"?"json":null})(te)},"file:":function(D,te,_e){let Me=(function(gt){let It=gt.pathname,Jt=It.length;for(;Jt--;){let fr=It.codePointAt(Jt);if(fr===47)return"";if(fr===46)return It.codePointAt(Jt-1)===47?"":It.slice(Jt)}return""})(D);if(Me===".js"){let gt=P(D);return gt!=="none"?gt:"commonjs"}if(Me===""){let gt=P(D);return gt==="none"||gt==="commonjs"?"commonjs":"module"}let st=Fe[Me];if(st)return st;if(_e)return;let vt=(0,Ur.fileURLToPath)(D);throw new J(Me,vt)},"http:":lt,"https:":lt,"node:":()=>"builtin"};function lt(){}let dt=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:bt,ERR_INVALID_MODULE_SPECIFIER:Lt,ERR_INVALID_PACKAGE_CONFIG:ur,ERR_INVALID_PACKAGE_TARGET:$r,ERR_MODULE_NOT_FOUND:Kr,ERR_PACKAGE_IMPORT_NOT_DEFINED:Dn,ERR_PACKAGE_PATH_NOT_EXPORTED:Zn,ERR_UNSUPPORTED_DIR_IMPORT:Di,ERR_UNSUPPORTED_RESOLVE_REQUEST:yi}=mt,as={}.hasOwnProperty,xa=/(^|\\|\/)((\.|%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,ua=/(^|\\|\/)((\.|%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,N=/^\.|%|\\/,ae=/\*/g,Re=/%2f|%5c/i,Ve=new Set,pt=/[/\\]{2}/;function Ct(D,te,_e,Me,st,vt,gt){if(He.noDeprecation)return;let It=(0,Ur.fileURLToPath)(Me),Jt=pt.exec(gt?D:te)!==null;He.emitWarning(`Use of deprecated ${Jt?"double slash":"leading or trailing slash matching"} resolving "${D}" for module request "${te}" ${te===_e?"":`matched to "${_e}" `}in the "${st?"imports":"exports"}" field module resolution of the package at ${It}${vt?` imported from ${(0,Ur.fileURLToPath)(vt)}`:""}.`,"DeprecationWarning","DEP0166")}function Bt(D,te,_e,Me){if(He.noDeprecation||(function(Jt,fr){let Kt=Jt.protocol;return ne.call(Xe,Kt)&&Xe[Kt](Jt,fr,!0)||null})(D,{parentURL:_e.href})!=="module")return;let vt=(0,Ur.fileURLToPath)(D.href),gt=(0,Ur.fileURLToPath)(new Ur.URL(".",te)),It=(0,Ur.fileURLToPath)(_e);Me?T.resolve(gt,Me)!==vt&&He.emitWarning(`Package ${gt} has a "main" field set to "${Me}", excluding the full filename and extension to the resolved file at "${vt.slice(gt.length)}", imported from ${It}.
|
|
Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):He.emitWarning(`No "main" or "exports" field defined in the package.json for ${gt} resolving the main entry point "${vt.slice(gt.length)}", imported from ${It}.
|
|
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function nr(D){try{return(0,ss.statSync)(D)}catch{}}function Dr(D){let te=(0,ss.statSync)(D,{throwIfNoEntry:!1}),_e=te?te.isFile():void 0;return _e!=null&&_e}function Jr(D,te,_e){let Me;if(te.main!==void 0){if(Me=new Ur.URL(te.main,D),Dr(Me))return Me;let gt=[`./${te.main}.js`,`./${te.main}.json`,`./${te.main}.node`,`./${te.main}/index.js`,`./${te.main}/index.json`,`./${te.main}/index.node`],It=-1;for(;++It<gt.length&&(Me=new Ur.URL(gt[It],D),!Dr(Me));)Me=void 0;if(Me)return Bt(Me,D,_e,te.main),Me}let st=["./index.js","./index.json","./index.node"],vt=-1;for(;++vt<st.length&&(Me=new Ur.URL(st[vt],D),!Dr(Me));)Me=void 0;if(Me)return Bt(Me,D,_e,te.main),Me;throw new Kr((0,Ur.fileURLToPath)(new Ur.URL(".",D)),(0,Ur.fileURLToPath)(_e))}function kn(D,te,_e){return new Zn((0,Ur.fileURLToPath)(new Ur.URL(".",te)),D,_e&&(0,Ur.fileURLToPath)(_e))}function ei(D,te,_e,Me,st){return te=typeof te=="object"&&te!==null?JSON.stringify(te,null,""):`${te}`,new $r((0,Ur.fileURLToPath)(new Ur.URL(".",_e)),D,te,Me,st&&(0,Ur.fileURLToPath)(st))}function Mi(D,te,_e,Me,st,vt,gt,It,Jt){if(te!==""&&!vt&&D[D.length-1]!=="/")throw ei(_e,D,Me,gt,st);if(!D.startsWith("./")){if(gt&&!D.startsWith("../")&&!D.startsWith("/")){let mn=!1;try{new Ur.URL(D),mn=!0}catch{}if(!mn)return Gn(vt?dt.call(ae,D,(()=>te)):D+te,Me,Jt)}throw ei(_e,D,Me,gt,st)}if(xa.exec(D.slice(2))!==null){if(ua.exec(D.slice(2))!==null)throw ei(_e,D,Me,gt,st);if(!It){let mn=vt?_e.replace("*",(()=>te)):_e+te;Ct(vt?dt.call(ae,D,(()=>te)):D,mn,_e,Me,gt,st,!0)}}let fr=new Ur.URL(D,Me),Kt=fr.pathname,zr=new Ur.URL(".",Me).pathname;if(!Kt.startsWith(zr))throw ei(_e,D,Me,gt,st);if(te==="")return fr;if(xa.exec(te)!==null){let mn=vt?_e.replace("*",(()=>te)):_e+te;ua.exec(te)===null?It||Ct(vt?dt.call(ae,D,(()=>te)):D,mn,_e,Me,gt,st,!1):(function($n,fi,zi,os,Si){let Ea=`request is not a valid match in pattern "${fi}" for the "${os?"imports":"exports"}" resolution of ${(0,Ur.fileURLToPath)(zi)}`;throw new Lt($n,Ea,Si&&(0,Ur.fileURLToPath)(Si))})(mn,_e,Me,gt,st)}return vt?new Ur.URL(dt.call(ae,fr.href,(()=>te))):new Ur.URL(te,fr)}function vs(D){let te=Number(D);return`${te}`===D&&te>=0&&te<4294967295}function xs(D,te,_e,Me,st,vt,gt,It,Jt){if(typeof te=="string")return Mi(te,_e,Me,D,st,vt,gt,It,Jt);if(Array.isArray(te)){let fr=te;if(fr.length===0)return null;let Kt,zr=-1;for(;++zr<fr.length;){let mn=fr[zr],$n;try{$n=xs(D,mn,_e,Me,st,vt,gt,It,Jt)}catch(fi){if(Kt=fi,fi.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw fi}if($n!==void 0){if($n!==null)return $n;Kt=null}}if(Kt==null)return null;throw Kt}if(typeof te=="object"&&te!==null){let fr=Object.getOwnPropertyNames(te),Kt=-1;for(;++Kt<fr.length;)if(vs(fr[Kt]))throw new ur((0,Ur.fileURLToPath)(D),st,'"exports" cannot contain numeric property keys.');for(Kt=-1;++Kt<fr.length;){let zr=fr[Kt];if(zr==="default"||Jt&&Jt.has(zr)){let mn=xs(D,te[zr],_e,Me,st,vt,gt,It,Jt);if(mn===void 0)continue;return mn}}return null}if(te===null)return null;throw ei(Me,te,D,gt,st)}function ca(D,te,_e){if(He.noDeprecation)return;let Me=(0,Ur.fileURLToPath)(te);Ve.has(Me+"|"+D)||(Ve.add(Me+"|"+D),He.emitWarning(`Use of deprecated trailing slash pattern mapping "${D}" in the "exports" field module resolution of the package at ${Me}${_e?` imported from ${(0,Ur.fileURLToPath)(_e)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function Ki(D,te,_e,Me,st){let vt=_e.exports;if((function(Kt,zr,mn){if(typeof Kt=="string"||Array.isArray(Kt))return!0;if(typeof Kt!="object"||Kt===null)return!1;let $n=Object.getOwnPropertyNames(Kt),fi=!1,zi=0,os=-1;for(;++os<$n.length;){let Si=$n[os],Ea=Si===""||Si[0]!==".";if(zi++==0)fi=Ea;else if(fi!==Ea)throw new ur((0,Ur.fileURLToPath)(zr),mn,`"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 fi})(vt,D,Me)&&(vt={".":vt}),as.call(vt,te)&&!te.includes("*")&&!te.endsWith("/")){let Kt=xs(D,vt[te],"",te,Me,!1,!1,!1,st);if(Kt==null)throw kn(te,D,Me);return Kt}let gt="",It="",Jt=Object.getOwnPropertyNames(vt),fr=-1;for(;++fr<Jt.length;){let Kt=Jt[fr],zr=Kt.indexOf("*");if(zr!==-1&&te.startsWith(Kt.slice(0,zr))){te.endsWith("/")&&ca(te,D,Me);let mn=Kt.slice(zr+1);te.length>=Kt.length&&te.endsWith(mn)&&Us(gt,Kt)===1&&Kt.lastIndexOf("*")===zr&&(gt=Kt,It=te.slice(zr,te.length-mn.length))}}if(gt){let Kt=xs(D,vt[gt],It,gt,Me,!0,!1,te.endsWith("/"),st);if(Kt==null)throw kn(te,D,Me);return Kt}throw kn(te,D,Me)}function Us(D,te){let _e=D.indexOf("*"),Me=te.indexOf("*"),st=_e===-1?D.length:_e+1,vt=Me===-1?te.length:Me+1;return st>vt?-1:vt>st||_e===-1?1:Me===-1||D.length>te.length?-1:te.length>D.length?1:0}function pn(D,te,_e){if(D==="#"||D.startsWith("#/")||D.endsWith("/"))throw new Lt(D,"is not a valid internal imports specifier name",(0,Ur.fileURLToPath)(te));let Me,st=g(te);if(st.exists){Me=(0,Ur.pathToFileURL)(st.pjsonPath);let vt=st.imports;if(vt)if(as.call(vt,D)&&!D.includes("*")){let gt=xs(Me,vt[D],"",D,te,!1,!0,!1,_e);if(gt!=null)return gt}else{let gt="",It="",Jt=Object.getOwnPropertyNames(vt),fr=-1;for(;++fr<Jt.length;){let Kt=Jt[fr],zr=Kt.indexOf("*");if(zr!==-1&&D.startsWith(Kt.slice(0,-1))){let mn=Kt.slice(zr+1);D.length>=Kt.length&&D.endsWith(mn)&&Us(gt,Kt)===1&&Kt.lastIndexOf("*")===zr&&(gt=Kt,It=D.slice(zr,D.length-mn.length))}}if(gt){let Kt=xs(Me,vt[gt],It,gt,te,!0,!0,!1,_e);if(Kt!=null)return Kt}}}throw(function(vt,gt,It){return new Dn(vt,gt&&(0,Ur.fileURLToPath)(new Ur.URL(".",gt)),(0,Ur.fileURLToPath)(It))})(D,Me,te)}function Gn(D,te,_e){if(kr.builtinModules.includes(D))return new Ur.URL("node:"+D);let{packageName:Me,packageSubpath:st,isScoped:vt}=(function(Kt,zr){let mn=Kt.indexOf("/"),$n=!0,fi=!1;Kt[0]==="@"&&(fi=!0,mn===-1||Kt.length===0?$n=!1:mn=Kt.indexOf("/",mn+1));let zi=mn===-1?Kt:Kt.slice(0,mn);if(N.exec(zi)!==null&&($n=!1),!$n)throw new Lt(Kt,"is not a valid package name",(0,Ur.fileURLToPath)(zr));return{packageName:zi,packageSubpath:"."+(mn===-1?"":Kt.slice(mn)),isScoped:fi}})(D,te),gt=g(te);if(gt.exists){let Kt=(0,Ur.pathToFileURL)(gt.pjsonPath);if(gt.name===Me&>.exports!==void 0&>.exports!==null)return Ki(Kt,st,gt,te,_e)}let It,Jt=new Ur.URL("./node_modules/"+Me+"/package.json",te),fr=(0,Ur.fileURLToPath)(Jt);do{let Kt=nr(fr.slice(0,-13));if(!Kt||!Kt.isDirectory()){It=fr,Jt=new Ur.URL((vt?"../../../../node_modules/":"../../../node_modules/")+Me+"/package.json",Jt),fr=(0,Ur.fileURLToPath)(Jt);continue}let zr=Ue(fr,{base:te,specifier:D});return zr.exports!==void 0&&zr.exports!==null?Ki(Jt,st,zr,te,_e):st==="."?Jr(Jt,zr,te):new Ur.URL(st,Jt)}while(fr.length!==It.length);throw new Kr(Me,(0,Ur.fileURLToPath)(te),!1)}function Ei(D,te,_e,Me){let st=te.protocol,vt=st==="data:"||st==="http:"||st==="https:",gt;if((function(It){return It!==""&&(It[0]==="/"||(function(Jt){return Jt[0]==="."&&(Jt.length===1||Jt[1]==="/"||Jt[1]==="."&&(Jt.length===2||Jt[2]==="/"))})(It))})(D))try{gt=new Ur.URL(D,te)}catch(It){let Jt=new yi(D,te);throw Jt.cause=It,Jt}else if(st==="file:"&&D[0]==="#")gt=pn(D,te,_e);else try{gt=new Ur.URL(D)}catch(It){if(vt&&!kr.builtinModules.includes(D)){let Jt=new yi(D,te);throw Jt.cause=It,Jt}gt=Gn(D,te,_e)}return Zi(gt!==void 0,"expected to be defined"),gt.protocol!=="file:"?gt:(function(It,Jt,fr){if(Re.exec(It.pathname)!==null)throw new Lt(It.pathname,'must not include encoded "/" or "\\" characters',(0,Ur.fileURLToPath)(Jt));let Kt;try{Kt=(0,Ur.fileURLToPath)(It)}catch(mn){let $n=mn;throw Object.defineProperty($n,"input",{value:String(It)}),Object.defineProperty($n,"module",{value:String(Jt)}),$n}let zr=nr(Kt.endsWith("/")?Kt.slice(-1):Kt);if(zr&&zr.isDirectory()){let mn=new Di(Kt,(0,Ur.fileURLToPath)(Jt));throw mn.url=String(It),mn}if(!zr||!zr.isFile()){let mn=new Kr(Kt||It.pathname,Jt&&(0,Ur.fileURLToPath)(Jt),!0);throw mn.url=String(It),mn}if(!fr){let mn=(0,ss.realpathSync)(Kt),{search:$n,hash:fi}=It;(It=(0,Ur.pathToFileURL)(mn+(Kt.endsWith(T.sep)?"/":""))).search=$n,It.hash=fi}return It})(gt,te,Me)}function Ii(D){return typeof D!="string"||D.startsWith("file://")?we((0,Ur.fileURLToPath)(D)):we(D)}function Xs(D){return(0,Ur.pathToFileURL)(Ii(D)).toString()}let Ta=new Set(["node","import"]),Ys=[".mjs",".cjs",".js",".json"],Fs=new Set(["ERR_MODULE_NOT_FOUND","ERR_UNSUPPORTED_DIR_IMPORT","MODULE_NOT_FOUND","ERR_PACKAGE_PATH_NOT_EXPORTED"]);function pa(D,te,_e){try{return Ei(D,te,_e)}catch(Me){if(!Fs.has(Me==null?void 0:Me.code))throw Me}}function Qs(D,te={}){if(typeof D!="string"){if(!(D instanceof URL))throw new TypeError("input must be a `string` or `URL`");D=Ii(D)}if(/(node|data|http|https):/.test(D))return D;if(re.has(D))return"node:"+D;if(D.startsWith("file://")&&(D=Ii(D)),v(D))try{if((0,ss.statSync)(D).isFile())return Xs(D)}catch(gt){if((gt==null?void 0:gt.code)!=="ENOENT")throw gt}let _e=te.conditions?new Set(te.conditions):Ta,Me=(Array.isArray(te.url)?te.url:[te.url]).filter(Boolean).map((gt=>new URL((function(It){return typeof It!="string"&&(It=It.toString()),/(node|data|http|https|file):/.test(It)?It:re.has(It)?"node:"+It:"file://"+encodeURI(we(It))})(gt.toString()))));Me.length===0&&Me.push(new URL(Xs(process.cwd())));let st=[...Me];for(let gt of Me)gt.protocol==="file:"&&st.push(new URL("./",gt),new URL(Ns(gt.pathname,"_index.js"),gt),new URL("node_modules",gt));let vt;for(let gt of st){if(vt=pa(D,gt,_e),vt)break;for(let It of["","/index"]){for(let Jt of te.extensions||Ys)if(vt=pa(Ns(D,It)+Jt,gt,_e),vt)break;if(vt)break}if(vt)break}if(!vt){let gt=new Error(`Cannot find module ${D} imported from ${st.join(", ")}`);throw gt.code="ERR_MODULE_NOT_FOUND",gt}return Xs(vt)}function Zs(D,te){return Qs(D,te)}function Ja(D,te){return Ii(Zs(D,te))}let nl=/([\s;]|^)(import[\s\w*,{}]*from|import\s*["'*{]|export\b\s*(?:[*{]|default|class|type|function|const|var|let|async function)|import\.meta\b)/m,il=/\/\*.+?\*\/|\/\/.*(?=[nr])/g;function sl(D,te={}){return te.stripComments&&(D=D.replace(il,"")),nl.test(D)}var Oo=s("crypto");function No(D,te=8){return(0,Oo.createHash)("md5").update(D).digest("hex").slice(0,te)}var al=function(D,te,_e,Me){return new(_e||(_e=Promise))((function(st,vt){function gt(fr){try{Jt(Me.next(fr))}catch(Kt){vt(Kt)}}function It(fr){try{Jt(Me.throw(fr))}catch(Kt){vt(Kt)}}function Jt(fr){var Kt;fr.done?st(fr.value):(Kt=fr.value,Kt instanceof _e?Kt:new _e((function(zr){zr(Kt)}))).then(gt,It)}Jt((Me=Me.apply(D,te||[])).next())}))};let ol=U(process.env.JITI_DEBUG),Fo=U(process.env.JITI_CACHE),ll=U(process.env.JITI_ESM_RESOLVE),jo=U(process.env.JITI_REQUIRE_CACHE),ho=U(process.env.JITI_SOURCE_MAPS),ul=U(process.env.JITI_ALIAS),Lo=U(process.env.JITI_TRANSFORM_MODULES),cl=U(process.env.JITI_NATIVE_MODULES),fo=U(process.env.JITI_EXPERIMENTAL_BUN),pl=(0,n.platform)()==="win32",dl={debug:ol,cache:Fo===void 0||!!Fo,requireCache:jo===void 0||!!jo,sourceMaps:ho!==void 0&&!!ho,interopDefault:!1,esmResolve:ll||!1,cacheVersion:"7",legacy:(0,G.lt)(process.version||"0.0.0","14.0.0"),extensions:[".js",".mjs",".cjs",".ts",".mts",".cts",".json"],alias:ul,nativeModules:cl||[],transformModules:Lo||[],experimentalBun:fo===void 0?!!process.versions.bun:!!fo},hl=/\.(c|m)?j(sx?)$/,Ro=/\.(c|m)?t(sx?)$/;function Mo(D,te={},_e,Me){(te=Object.assign(Object.assign({},dl),te)).legacy&&(te.cacheVersion+="-legacy"),te.transformOptions&&(te.cacheVersion+="-"+Z()(te.transformOptions));let st=te.alias&&Object.keys(te.alias).length>0?q(te.alias||{}):null,vt=["typescript","jiti",...te.nativeModules||[]],gt=[...te.transformModules||[]],It=new RegExp(`node_modules/(${vt.map((qr=>z(qr))).join("|")})/`),Jt=new RegExp(`node_modules/(${gt.map((qr=>z(qr))).join("|")})/`);function fr(...qr){te.debug&&console.log("[jiti]",...qr)}if(D||(D=process.cwd()),(function(qr){try{return(0,u.lstatSync)(qr).isDirectory()}catch{return!1}})(D)&&(D=y(D,"index.js")),te.cache===!0&&(te.cache=(function(){let qr=(0,n.tmpdir)();if(process.env.TMPDIR&&qr===process.cwd()&&!process.env.JITI_RESPECT_TMPDIR_ENV){let Mn=process.env.TMPDIR;delete process.env.TMPDIR,qr=(0,n.tmpdir)(),process.env.TMPDIR=Mn}return y(qr,"node-jiti")})()),te.cache)try{if((0,u.mkdirSync)(te.cache,{recursive:!0}),!(function(qr){try{return(0,u.accessSync)(qr,u.constants.W_OK),!0}catch{return!1}})(te.cache))throw new Error("directory is not writable")}catch(qr){fr("Error creating cache directory at ",te.cache,qr),te.cache=!1}let Kt=R()(pl?D.replace(/\//g,"\\"):D),zr=(qr,Mn)=>{try{return Kt.resolve(qr,Mn)}catch{}},mn=(0,i.pathToFileURL)(D),$n=[...te.extensions].filter((qr=>qr!==".js")),fi=(qr,Mn)=>{let Jn,nn;if(st&&(qr=(function(wn,ui){let Xn=h(wn);ui=q(ui);for(let[bs,da]of Object.entries(ui)){if(!Xn.startsWith(bs))continue;let Pa=K(bs)?bs.slice(0,-1):bs;if(K(Xn[Pa.length]))return y(da,Xn.slice(bs.length))}return Xn})(qr,st)),te.esmResolve){let wn=[["node","require"],["node","import"]];for(let ui of wn){try{Jn=Ja(qr,{url:mn,conditions:ui,extensions:te.extensions})}catch(Xn){nn=Xn}if(Jn)return Jn}}try{return Kt.resolve(qr,Mn)}catch(wn){nn=wn}for(let wn of $n)if(Jn=zr(qr+wn,Mn)||zr(qr+"/index"+wn,Mn),Jn||Ro.test((_e==null?void 0:_e.filename)||"")&&(Jn=zr(qr.replace(hl,".$1t$2"),Mn),Jn))return Jn;throw nn};function zi(qr){let Mn=(function(Jn,nn,wn){if(!te.cache||!Jn)return wn();let ui=` /* v${te.cacheVersion}-${No(nn,16)} */`,Xn=A(_(Jn))+"-"+A(Jn),bs=y(te.cache,Xn+"."+No(Jn)+".js");if((0,u.existsSync)(bs)){let Pa=(0,u.readFileSync)(bs,"utf8");if(Pa.endsWith(ui))return fr("[cache hit]",Jn,"~>",bs),Pa}fr("[cache miss]",Jn);let da=wn();return da.includes("__JITI_ERROR__")||(0,u.writeFileSync)(bs,da+ui,"utf8"),da})(qr.filename,qr.source,(()=>{var Jn;let nn=te.transform(Object.assign(Object.assign(Object.assign({legacy:te.legacy},te.transformOptions),{babel:Object.assign(Object.assign({},te.sourceMaps?{sourceFileName:qr.filename,sourceMaps:"inline"}:{}),(Jn=te.transformOptions)===null||Jn===void 0?void 0:Jn.babel)}),qr));return nn.error&&te.debug&&fr(nn.error),nn.code}));return Mn.startsWith("#!")&&(Mn="// "+Mn),Mn}function os(qr){return te.interopDefault?(function(Mn,Jn={}){if((nn=Mn)===null||typeof nn!="object"||!("default"in Mn))return Mn;var nn;let wn=Mn.default;if(wn==null)return Mn;let ui=typeof wn;if(ui!=="object"&&(ui!=="function"||Jn.preferNamespace))return Jn.preferNamespace?Mn:wn;for(let Xn in Mn)try{Xn in wn||Object.defineProperty(wn,Xn,{enumerable:Xn!=="default",configurable:Xn!=="default",get:()=>Mn[Xn]})}catch{}return wn})(qr):qr}function Si(qr,Mn){var Jn;let nn=Me||{};if(qr.startsWith("node:")?qr=qr.slice(5):qr.startsWith("file:")&&(qr=(0,i.fileURLToPath)(qr)),e.builtinModules.includes(qr)||qr===".pnp.js")return Kt(qr);if(te.experimentalBun&&!te.transformOptions)try{fr(`[bun] [native] ${qr}`);let Xn=Kt(qr);return te.requireCache===!1&&delete Kt.cache[qr],os(Xn)}catch(Xn){fr(`[bun] Using fallback for ${qr} because of an error:`,Xn)}let wn=fi(qr),ui=S(wn);if(ui===".json"){fr("[json]",wn);let Xn=Kt(qr);return Object.defineProperty(Xn,"default",{value:Xn}),Xn}if(ui&&!te.extensions.includes(ui))return fr("[unknown]",wn),Kt(qr);if(It.test(wn))return fr("[native]",wn),Kt(qr);if(nn[wn]&&(nn[wn].loaded===!0||(_e==null?void 0:_e.loaded)===!1))return os((Jn=nn[wn])===null||Jn===void 0?void 0:Jn.exports);if(te.requireCache&&Kt.cache[wn]){let Xn=Kt.cache[wn];if(Xn!=null&&Xn.loaded)return os(Xn.exports)}return Ea((0,u.readFileSync)(wn,"utf8"),{id:qr,filename:wn,ext:ui,cache:nn})}function Ea(qr,Mn={}){var Jn;let nn=Mn.id||(Mn.filename?A(Mn.filename):`_jitiEval.${Mn.ext||".js"}`),wn=Mn.filename||fi(nn),ui=Mn.ext||S(wn),Xn=Mn.cache||Me||{},bs=ui===".ts"||ui===".mts"||ui===".cts",da=ui===".mjs"||ui===".js"&&((Jn=(function(Ge){for(;Ge&&Ge!=="."&&Ge!=="/";){Ge=y(Ge,"..");try{let yt=(0,u.readFileSync)(y(Ge,"package.json"),"utf8");try{return JSON.parse(yt)}catch{}break}catch{}}})(wn))===null||Jn===void 0?void 0:Jn.type)==="module",Pa=ui!==".cjs"&&(bs||da||Jt.test(wn)||sl(qr)||te.legacy&&qr.match(/\?\.|\?\?/)),ke=l.performance.now();if(Pa)qr=zi({filename:wn,source:qr,ts:bs}),fr("[transpile]"+(da?" [esm]":""),wn,`(${Math.round(1e3*(l.performance.now()-ke))/1e3}ms)`);else try{return fr("[native]",wn),os(Kt(nn))}catch(Ge){fr("Native require error:",Ge),fr("[fallback]",wn),qr=zi({filename:wn,source:qr,ts:bs})}let Ae=new e.Module(wn),Ye;Ae.filename=wn,_e&&(Ae.parent=_e,Array.isArray(_e.children)&&!_e.children.includes(Ae)&&_e.children.push(Ae)),Ae.require=Mo(wn,te,Ae,Xn),Ae.path=_(wn),Ae.paths=e.Module._nodeModulePaths(Ae.path),Xn[wn]=Ae,te.requireCache&&(Kt.cache[wn]=Ae);try{Ye=p().runInThisContext(e.Module.wrap(qr),{filename:wn,lineOffset:0,displayErrors:!1})}catch(Ge){te.requireCache&&delete Kt.cache[wn],te.onError(Ge)}try{Ye(Ae.exports,Ae.require,Ae,Ae.filename,_(Ae.filename))}catch(Ge){te.requireCache&&delete Kt.cache[wn],te.onError(Ge)}if(Ae.exports&&Ae.exports.__JITI_ERROR__){let{filename:Ge,line:yt,column:Vt,code:Ir,message:ti}=Ae.exports.__JITI_ERROR__,es=new Error(`${Ir}: ${ti}
|
|
${`${Ge}:${yt}:${Vt}`}`);Error.captureStackTrace(es,Si),te.onError(es)}return Ae.loaded=!0,os(Ae.exports)}return fi.paths=Kt.resolve.paths,Si.resolve=fi,Si.cache=te.requireCache?Kt.cache:{},Si.extensions=Kt.extensions,Si.main=Kt.main,Si.transform=zi,Si.register=function(){return(0,$.addHook)(((qr,Mn)=>Si.transform({source:qr,filename:Mn,ts:!!/\.[cm]?ts$/.test(Mn)})),{exts:te.extensions})},Si.evalModule=Ea,Si.import=(qr,Mn)=>al(this,void 0,void 0,(function*(){return yield Si(qr)})),Si}})(),VF.exports=a.default})()});var aT=ct((Ede,KF)=>{(()=>{var t={"./node_modules/.pnpm/@ampproject+remapping@2.3.0/node_modules/@ampproject/remapping/dist/remapping.umd.js":function(u,e,l){u.exports=(function(n,c){"use strict";let p=o("",-1,-1,"",null,!1),i=[];function o(_,A,L,j,F,k){return{source:_,line:A,column:L,name:j,content:F,ignore:k}}function h(_,A,L,j,F){return{map:_,sources:A,source:L,content:j,ignore:F}}function d(_,A){return h(_,A,"",null,!1)}function f(_,A,L){return h(null,i,_,A,L)}function b(_){let A=new c.GenMapping({file:_.map.file}),{sources:L,map:j}=_,F=j.names,k=n.decodedMappings(j);for(let U=0;U<k.length;U++){let z=k[U];for(let C=0;C<z.length;C++){let R=z[C],G=R[0],V=p;if(R.length!==1&&(V=m(L[R[1]],R[2],R[3],R.length===5?F[R[4]]:""),V==null))continue;let{column:B,line:q,name:K,content:$,source:W,ignore:Z}=V;c.maybeAddSegment(A,U,G,W,q,B,K),W&&$!=null&&c.setSourceContent(A,W,$),Z&&c.setIgnore(A,W,!0)}}return A}function m(_,A,L,j){if(!_.map)return o(_.source,A,L,j,_.content,_.ignore);let F=n.traceSegment(_.map,A,L);return F==null?null:F.length===1?p:m(_.sources[F[1]],F[2],F[3],F.length===5?_.map.names[F[4]]:j)}function y(_){return Array.isArray(_)?_:[_]}function x(_,A){let L=y(_).map((k=>new n.TraceMap(k,""))),j=L.pop();for(let k=0;k<L.length;k++)if(L[k].sources.length>1)throw new Error(`Transformation map ${k} must have exactly one source file.
|
|
Did you specify these with the most recent transformation maps first?`);let F=v(j,A,"",0);for(let k=L.length-1;k>=0;k--)F=d(L[k],[F]);return F}function v(_,A,L,j){let{resolvedSources:F,sourcesContent:k,ignoreList:U}=_,z=j+1;return d(_,F.map(((C,R)=>{let G={importer:L,depth:z,source:C||"",content:void 0,ignore:void 0},V=A(G.source,G),{source:B,content:q,ignore:K}=G;return V?v(new n.TraceMap(V,B),A,B,z):f(B,q!==void 0?q:k?k[R]:null,K!==void 0?K:!!U&&U.includes(R))})))}class E{constructor(A,L){let j=L.decodedMappings?c.toDecodedMap(A):c.toEncodedMap(A);this.version=j.version,this.file=j.file,this.mappings=j.mappings,this.names=j.names,this.ignoreList=j.ignoreList,this.sourceRoot=j.sourceRoot,this.sources=j.sources,L.excludeContent||(this.sourcesContent=j.sourcesContent)}toString(){return JSON.stringify(this)}}function S(_,A,L){let j=typeof L=="object"?L:{excludeContent:!!L,decodedMappings:!1},F=x(_,A);return new E(b(F),j)}return S})(l("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"),l("./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.8/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"))},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files lazy recursive":u=>{function e(l){return Promise.resolve().then((()=>{var n=new Error("Cannot find module '"+l+"'");throw n.code="MODULE_NOT_FOUND",n}))}e.keys=()=>[],e.resolve=e,e.id="./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files lazy recursive",u.exports=e},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive":u=>{function e(l){var n=new Error("Cannot find module '"+l+"'");throw n.code="MODULE_NOT_FOUND",n}e.keys=()=>[],e.resolve=e,e.id="./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive",u.exports=e},"./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.26.0/node_modules/@babel/plugin-syntax-class-properties/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=(0,l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)((c=>(c.assertVersion(7),{name:"syntax-class-properties",manipulateOptions(p,i){i.plugins.push("classProperties","classPrivateProperties","classPrivateMethods")}})));e.default=n},"./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.8/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js":function(u,e,l){(function(n,c,p,i){"use strict";class y{constructor({file:Z,sourceRoot:Q}={}){this._names=new c.SetArray,this._sources=new c.SetArray,this._sourcesContent=[],this._mappings=[],this.file=Z,this.sourceRoot=Q,this._ignoreList=new c.SetArray}}function x(W){return W}function v(W,Z,Q,X,ie,oe,be,Ne){return z(!1,W,Z,Q,X,ie,oe,be,Ne)}function E(W,Z){return $(!1,W,Z)}let S=(W,Z,Q,X,ie,oe,be,Ne)=>z(!0,W,Z,Q,X,ie,oe,be,Ne),_=(W,Z)=>$(!0,W,Z);function A(W,Z,Q){let{_sources:X,_sourcesContent:ie}=W;ie[c.put(X,Z)]=Q}function L(W,Z,Q=!0){let{_sources:X,_sourcesContent:ie,_ignoreList:oe}=W,be=c.put(X,Z);be===ie.length&&(ie[be]=null),Q?c.put(oe,be):c.remove(oe,be)}function j(W){let{_mappings:Z,_sources:Q,_sourcesContent:X,_names:ie,_ignoreList:oe}=W;return V(Z),{version:3,file:W.file||void 0,names:ie.array,sourceRoot:W.sourceRoot||void 0,sources:Q.array,sourcesContent:X,mappings:Z,ignoreList:oe.array}}function F(W){let Z=j(W);return Object.assign(Object.assign({},Z),{mappings:p.encode(Z.mappings)})}function k(W){let Z=new i.TraceMap(W),Q=new y({file:Z.file,sourceRoot:Z.sourceRoot});return B(Q._names,Z.names),B(Q._sources,Z.sources),Q._sourcesContent=Z.sourcesContent||Z.sources.map((()=>null)),Q._mappings=i.decodedMappings(Z),Z.ignoreList&&B(Q._ignoreList,Z.ignoreList),Q}function U(W){let Z=[],{_mappings:Q,_sources:X,_names:ie}=W;for(let oe=0;oe<Q.length;oe++){let be=Q[oe];for(let Ne=0;Ne<be.length;Ne++){let Pe=be[Ne],Ke={line:oe+1,column:Pe[0]},We,Oe,de;Pe.length!==1&&(We=X.array[Pe[1]],Oe={line:Pe[2]+1,column:Pe[3]},Pe.length===5&&(de=ie.array[Pe[4]])),Z.push({generated:Ke,source:We,original:Oe,name:de})}}return Z}function z(W,Z,Q,X,ie,oe,be,Ne,Pe){let{_mappings:Ke,_sources:We,_sourcesContent:Oe,_names:de}=Z,xe=C(Ke,Q),ye=R(xe,X);if(!ie)return W&&q(xe,ye)?void 0:G(xe,ye,[X]);let ve=c.put(We,ie),he=Ne?c.put(de,Ne):-1;if(ve===Oe.length&&(Oe[ve]=Pe??null),!W||!K(xe,ye,ve,oe,be,he))return G(xe,ye,Ne?[X,ve,oe,be,he]:[X,ve,oe,be])}function C(W,Z){for(let Q=W.length;Q<=Z;Q++)W[Q]=[];return W[Z]}function R(W,Z){let Q=W.length;for(let X=Q-1;X>=0&&!(Z>=W[X][0]);Q=X--);return Q}function G(W,Z,Q){for(let X=W.length;X>Z;X--)W[X]=W[X-1];W[Z]=Q}function V(W){let{length:Z}=W,Q=Z;for(let X=Q-1;X>=0&&!(W[X].length>0);Q=X,X--);Q<Z&&(W.length=Q)}function B(W,Z){for(let Q=0;Q<Z.length;Q++)c.put(W,Z[Q])}function q(W,Z){return Z===0||W[Z-1].length===1}function K(W,Z,Q,X,ie,oe){if(Z===0)return!1;let be=W[Z-1];return be.length!==1&&Q===be[1]&&X===be[2]&&ie===be[3]&&oe===(be.length===5?be[4]:-1)}function $(W,Z,Q){let{generated:X,source:ie,original:oe,name:be,content:Ne}=Q;return ie?z(W,Z,X.line-1,X.column,ie,oe.line-1,oe.column,be,Ne):z(W,Z,X.line-1,X.column,null,null,null,null,null)}n.GenMapping=y,n.addMapping=E,n.addSegment=v,n.allMappings=U,n.fromMap=k,n.maybeAddMapping=_,n.maybeAddSegment=S,n.setIgnore=L,n.setSourceContent=A,n.toDecodedMap=j,n.toEncodedMap=F,Object.defineProperty(n,"__esModule",{value:!0})})(e,l("./node_modules/.pnpm/@jridgewell+set-array@1.2.1/node_modules/@jridgewell/set-array/dist/set-array.umd.js"),l("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"),l("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js"))},"./node_modules/.pnpm/@jridgewell+resolve-uri@3.1.2/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js":function(u){u.exports=(function(){"use strict";let e=/^[\w+.-]+:\/\//,l=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,n=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function c(S){return e.test(S)}function p(S){return S.startsWith("//")}function i(S){return S.startsWith("/")}function o(S){return S.startsWith("file:")}function h(S){return/^[.?#]/.test(S)}function d(S){let _=l.exec(S);return b(_[1],_[2]||"",_[3],_[4]||"",_[5]||"/",_[6]||"",_[7]||"")}function f(S){let _=n.exec(S),A=_[2];return b("file:","",_[1]||"","",i(A)?A:"/"+A,_[3]||"",_[4]||"")}function b(S,_,A,L,j,F,k){return{scheme:S,user:_,host:A,port:L,path:j,query:F,hash:k,type:7}}function m(S){if(p(S)){let A=d("http:"+S);return A.scheme="",A.type=6,A}if(i(S)){let A=d("http://foo.com"+S);return A.scheme="",A.host="",A.type=5,A}if(o(S))return f(S);if(c(S))return d(S);let _=d("http://foo.com/"+S);return _.scheme="",_.host="",_.type=S?S.startsWith("?")?3:S.startsWith("#")?2:4:1,_}function y(S){if(S.endsWith("/.."))return S;let _=S.lastIndexOf("/");return S.slice(0,_+1)}function x(S,_){v(_,_.type),S.path==="/"?S.path=_.path:S.path=y(_.path)+S.path}function v(S,_){let A=_<=4,L=S.path.split("/"),j=1,F=0,k=!1;for(let z=1;z<L.length;z++){let C=L[z];C?(k=!1,C!=="."&&(C!==".."?(L[j++]=C,F++):F?(k=!0,F--,j--):A&&(L[j++]=C))):k=!0}let U="";for(let z=1;z<j;z++)U+="/"+L[z];(!U||k&&!U.endsWith("/.."))&&(U+="/"),S.path=U}function E(S,_){if(!S&&!_)return"";let A=m(S),L=A.type;if(_&&L!==7){let F=m(_),k=F.type;switch(L){case 1:A.hash=F.hash;case 2:A.query=F.query;case 3:case 4:x(A,F);case 5:A.user=F.user,A.host=F.host,A.port=F.port;case 6:A.scheme=F.scheme}k>L&&(L=k)}v(A,L);let j=A.query+A.hash;switch(L){case 2:case 3:return j;case 4:{let F=A.path.slice(1);return F?h(_||S)&&!h(F)?"./"+F+j:F+j:j||"."}case 5:return A.path+j;default:return A.scheme+"//"+A.user+A.host+A.port+A.path+j}}return E})()},"./node_modules/.pnpm/@jridgewell+set-array@1.2.1/node_modules/@jridgewell/set-array/dist/set-array.umd.js":function(u,e){(function(l){"use strict";class n{constructor(){this._indexes={__proto__:null},this.array=[]}}function c(d){return d}function p(d,f){return d._indexes[f]}function i(d,f){let b=p(d,f);if(b!==void 0)return b;let{array:m,_indexes:y}=d,x=m.push(f);return y[f]=x-1}function o(d){let{array:f,_indexes:b}=d;f.length!==0&&(b[f.pop()]=void 0)}function h(d,f){let b=p(d,f);if(b===void 0)return;let{array:m,_indexes:y}=d;for(let x=b+1;x<m.length;x++){let v=m[x];m[x-1]=v,y[v]--}y[f]=void 0,m.pop()}l.SetArray=n,l.get=p,l.pop=o,l.put=i,l.remove=h,Object.defineProperty(l,"__esModule",{value:!0})})(e)},"./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js":function(u,e){(function(l){"use strict";let p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=new Uint8Array(64),o=new Uint8Array(128);for(let R=0;R<p.length;R++){let G=p.charCodeAt(R);i[R]=G,o[G]=R}function h(R,G){let V=0,B=0,q=0;do{let $=R.next();q=o[$],V|=(31&q)<<B,B+=5}while(32&q);let K=1&V;return V>>>=1,K&&(V=-2147483648|-V),G+V}function d(R,G,V){let B=G-V;B=B<0?-B<<1|1:B<<1;do{let q=31&B;B>>>=5,B>0&&(q|=32),R.write(i[q])}while(B>0);return G}function f(R,G){return!(R.pos>=G)&&R.peek()!==44}let b=16384,m=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode:R=>Buffer.from(R.buffer,R.byteOffset,R.byteLength).toString()}:{decode(R){let G="";for(let V=0;V<R.length;V++)G+=String.fromCharCode(R[V]);return G}};class y{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(b)}write(G){let{buffer:V}=this;V[this.pos++]=G,this.pos===b&&(this.out+=m.decode(V),this.pos=0)}flush(){let{buffer:G,out:V,pos:B}=this;return B>0?V+m.decode(G.subarray(0,B)):V}}class x{constructor(G){this.pos=0,this.buffer=G}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(G){let{buffer:V,pos:B}=this,q=V.indexOf(G,B);return q===-1?V.length:q}}let v=[];function E(R){let{length:G}=R,V=new x(R),B=[],q=[],K=0;for(;V.pos<G;V.pos++){K=h(V,K);let $=h(V,0);if(!f(V,G)){let X=q.pop();X[2]=K,X[3]=$;continue}let W=h(V,0),Z=1&h(V,0)?[K,$,0,0,W,h(V,0)]:[K,$,0,0,W],Q=v;if(f(V,G)){Q=[];do{let X=h(V,0);Q.push(X)}while(f(V,G))}Z.vars=Q,B.push(Z),q.push(Z)}return B}function S(R){let G=new y;for(let V=0;V<R.length;)V=_(R,V,G,[0]);return G.flush()}function _(R,G,V,B){let q=R[G],{0:K,1:$,2:W,3:Z,4:Q,vars:X}=q;G>0&&V.write(44),B[0]=d(V,K,B[0]),d(V,$,0),d(V,Q,0),d(V,q.length===6?1:0,0),q.length===6&&d(V,q[5],0);for(let ie of X)d(V,ie,0);for(G++;G<R.length;){let ie=R[G],{0:oe,1:be}=ie;if(oe>W||oe===W&&be>=Z)break;G=_(R,G,V,B)}return V.write(44),B[0]=d(V,W,B[0]),d(V,Z,0),G}function A(R){let{length:G}=R,V=new x(R),B=[],q=[],K=0,$=0,W=0,Z=0,Q=0,X=0,ie=0,oe=0;do{let be=V.indexOf(";"),Ne=0;for(;V.pos<be;V.pos++){if(Ne=h(V,Ne),!f(V,be)){let ye=q.pop();ye[2]=K,ye[3]=Ne;continue}let Pe=h(V,0),Ke=2&Pe,We=4&Pe,Oe,de=null,xe=v;if(1&Pe){let ye=h(V,$);W=h(V,$===ye?W:0),$=ye,Oe=[K,Ne,0,0,ye,W]}else Oe=[K,Ne,0,0];if(Oe.isScope=!!We,Ke){let ye=Z,ve=Q;Z=h(V,Z);let he=ye===Z;Q=h(V,he?Q:0),X=h(V,he&&ve===Q?X:0),de=[Z,Q,X]}if(Oe.callsite=de,f(V,be)){xe=[];do{ie=K,oe=Ne;let ye=h(V,0),ve;if(ye<-1){ve=[[h(V,0)]];for(let he=-1;he>ye;he--){let Te=ie;ie=h(V,ie),oe=h(V,ie===Te?oe:0);let Ce=h(V,0);ve.push([Ce,ie,oe])}}else ve=[[ye]];xe.push(ve)}while(f(V,be))}Oe.bindings=xe,B.push(Oe),q.push(Oe)}K++,V.pos=be+1}while(V.pos<G);return B}function L(R){if(R.length===0)return"";let G=new y;for(let V=0;V<R.length;)V=j(R,V,G,[0,0,0,0,0,0,0]);return G.flush()}function j(R,G,V,B){let q=R[G],{0:K,1:$,2:W,3:Z,isScope:Q,callsite:X,bindings:ie}=q;if(B[0]<K?(F(V,B[0],K),B[0]=K,B[1]=0):G>0&&V.write(44),B[1]=d(V,q[1],B[1]),d(V,(q.length===6?1:0)|(X?2:0)|(Q?4:0),0),q.length===6){let{4:oe,5:be}=q;oe!==B[2]&&(B[3]=0),B[2]=d(V,oe,B[2]),B[3]=d(V,be,B[3])}if(X){let{0:oe,1:be,2:Ne}=q.callsite;oe!==B[4]?(B[5]=0,B[6]=0):be!==B[5]&&(B[6]=0),B[4]=d(V,oe,B[4]),B[5]=d(V,be,B[5]),B[6]=d(V,Ne,B[6])}if(ie)for(let oe of ie){oe.length>1&&d(V,-oe.length,0),d(V,oe[0][0],0);let be=K,Ne=$;for(let Pe=1;Pe<oe.length;Pe++){let Ke=oe[Pe];be=d(V,Ke[1],be),Ne=d(V,Ke[2],Ne),d(V,Ke[0],0)}}for(G++;G<R.length;){let oe=R[G],{0:be,1:Ne}=oe;if(be>W||be===W&&Ne>=Z)break;G=j(R,G,V,B)}return B[0]<W?(F(V,B[0],W),B[0]=W,B[1]=0):V.write(44),B[1]=d(V,Z,B[1]),G}function F(R,G,V){do R.write(59);while(++G<V)}function k(R){let{length:G}=R,V=new x(R),B=[],q=0,K=0,$=0,W=0,Z=0;do{let Q=V.indexOf(";"),X=[],ie=!0,oe=0;for(q=0;V.pos<Q;){let be;q=h(V,q),q<oe&&(ie=!1),oe=q,f(V,Q)?(K=h(V,K),$=h(V,$),W=h(V,W),f(V,Q)?(Z=h(V,Z),be=[q,K,$,W,Z]):be=[q,K,$,W]):be=[q],X.push(be),V.pos++}ie||U(X),B.push(X),V.pos=Q+1}while(V.pos<=G);return B}function U(R){R.sort(z)}function z(R,G){return R[0]-G[0]}function C(R){let G=new y,V=0,B=0,q=0,K=0;for(let $=0;$<R.length;$++){let W=R[$];if($>0&&G.write(59),W.length===0)continue;let Z=0;for(let Q=0;Q<W.length;Q++){let X=W[Q];Q>0&&G.write(44),Z=d(G,X[0],Z),X.length!==1&&(V=d(G,X[1],V),B=d(G,X[2],B),q=d(G,X[3],q),X.length!==4&&(K=d(G,X[4],K)))}}return G.flush()}l.decode=k,l.decodeGeneratedRanges=A,l.decodeOriginalScopes=E,l.encode=C,l.encodeGeneratedRanges=L,l.encodeOriginalScopes=S,Object.defineProperty(l,"__esModule",{value:!0})})(e)},"./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js":function(u,e,l){(function(n,c,p){"use strict";function i(De,ze){return ze&&!ze.endsWith("/")&&(ze+="/"),p(De,ze)}function o(De){if(!De)return"";let ze=De.lastIndexOf("/");return De.slice(0,ze+1)}let h=0,d=1,f=2,b=3,m=4,y=1,x=2;function v(De,ze){let Ze=E(De,0);if(Ze===De.length)return De;ze||(De=De.slice());for(let tt=Ze;tt<De.length;tt=E(De,tt+1))De[tt]=_(De[tt],ze);return De}function E(De,ze){for(let Ze=ze;Ze<De.length;Ze++)if(!S(De[Ze]))return Ze;return De.length}function S(De){for(let ze=1;ze<De.length;ze++)if(De[ze][h]<De[ze-1][h])return!1;return!0}function _(De,ze){return ze||(De=De.slice()),De.sort(A)}function A(De,ze){return De[h]-ze[h]}let L=!1;function j(De,ze,Ze,tt){for(;Ze<=tt;){let ge=Ze+(tt-Ze>>1),fe=De[ge][h]-ze;if(fe===0)return L=!0,ge;fe<0?Ze=ge+1:tt=ge-1}return L=!1,Ze-1}function F(De,ze,Ze){for(let tt=Ze+1;tt<De.length&&De[tt][h]===ze;Ze=tt++);return Ze}function k(De,ze,Ze){for(let tt=Ze-1;tt>=0&&De[tt][h]===ze;Ze=tt--);return Ze}function U(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function z(De,ze,Ze,tt){let{lastKey:ge,lastNeedle:fe,lastIndex:ee}=Ze,le=0,Se=De.length-1;if(tt===ge){if(ze===fe)return L=ee!==-1&&De[ee][h]===ze,ee;ze>=fe?le=ee===-1?0:ee:Se=ee}return Ze.lastKey=tt,Ze.lastNeedle=ze,Ze.lastIndex=j(De,ze,le,Se)}function C(De,ze){let Ze=ze.map(G);for(let tt=0;tt<De.length;tt++){let ge=De[tt];for(let fe=0;fe<ge.length;fe++){let ee=ge[fe];if(ee.length===1)continue;let le=ee[d],Se=ee[f],Ee=ee[b],Be=Ze[le],Qe=Be[Se]||(Be[Se]=[]),ce=ze[le],$e=F(Qe,Ee,z(Qe,Ee,ce,Se));ce.lastIndex=++$e,R(Qe,$e,[Ee,tt,ee[h]])}}return Ze}function R(De,ze,Ze){for(let tt=De.length;tt>ze;tt--)De[tt]=De[tt-1];De[ze]=Ze}function G(){return{__proto__:null}}let V=function(De,ze){let Ze=B(De);if(!("sections"in Ze))return new oe(Ze,ze);let tt=[],ge=[],fe=[],ee=[],le=[];return q(Ze,ze,tt,ge,fe,ee,le,0,0,1/0,1/0),Te({version:3,file:Ze.file,names:ee,sources:ge,sourcesContent:fe,mappings:tt,ignoreList:le})};function B(De){return typeof De=="string"?JSON.parse(De):De}function q(De,ze,Ze,tt,ge,fe,ee,le,Se,Ee,Be){let{sections:Qe}=De;for(let ce=0;ce<Qe.length;ce++){let{map:$e,offset:et}=Qe[ce],ut=Ee,Je=Be;if(ce+1<Qe.length){let Le=Qe[ce+1].offset;ut=Math.min(Ee,le+Le.line),ut===Ee?Je=Math.min(Be,Se+Le.column):ut<Ee&&(Je=Se+Le.column)}K($e,ze,Ze,tt,ge,fe,ee,le+et.line,Se+et.column,ut,Je)}}function K(De,ze,Ze,tt,ge,fe,ee,le,Se,Ee,Be){let Qe=B(De);if("sections"in Qe)return q(...arguments);let ce=new oe(Qe,ze),$e=tt.length,et=fe.length,ut=Pe(ce),{resolvedSources:Je,sourcesContent:Le,ignoreList:at}=ce;if($(tt,Je),$(fe,ce.names),Le)$(ge,Le);else for(let Et=0;Et<Je.length;Et++)ge.push(null);if(at)for(let Et=0;Et<at.length;Et++)ee.push(at[Et]+$e);for(let Et=0;Et<ut.length;Et++){let Rt=le+Et;if(Rt>Ee)return;let lr=W(Ze,Rt),xt=Et===0?Se:0,ar=ut[Et];for(let yr=0;yr<ar.length;yr++){let Pr=ar[yr],Rr=xt+Pr[h];if(Rt===Ee&&Rr>=Be)return;if(Pr.length===1){lr.push([Rr]);continue}let ln=$e+Pr[d],Tn=Pr[f],Pn=Pr[b];lr.push(Pr.length===4?[Rr,ln,Tn,Pn]:[Rr,ln,Tn,Pn,et+Pr[m]])}}}function $(De,ze){for(let Ze=0;Ze<ze.length;Ze++)De.push(ze[Ze])}function W(De,ze){for(let Ze=De.length;Ze<=ze;Ze++)De[Ze]=[];return De[ze]}let Z="`line` must be greater than 0 (lines start at line 1)",Q="`column` must be greater than or equal to 0 (columns start at column 0)",X=-1,ie=1;class oe{constructor(ze,Ze){let tt=typeof ze=="string";if(!tt&&ze._decodedMemo)return ze;let ge=tt?JSON.parse(ze):ze,{version:fe,file:ee,names:le,sourceRoot:Se,sources:Ee,sourcesContent:Be}=ge;this.version=fe,this.file=ee,this.names=le||[],this.sourceRoot=Se,this.sources=Ee,this.sourcesContent=Be,this.ignoreList=ge.ignoreList||ge.x_google_ignoreList||void 0;let Qe=i(Se||"",o(Ze));this.resolvedSources=Ee.map(($e=>i($e||"",Qe)));let{mappings:ce}=ge;typeof ce=="string"?(this._encoded=ce,this._decoded=void 0):(this._encoded=void 0,this._decoded=v(ce,tt)),this._decodedMemo=U(),this._bySources=void 0,this._bySourceMemos=void 0}}function be(De){return De}function Ne(De){var ze,Ze;return(ze=(Ze=De)._encoded)!==null&&ze!==void 0?ze:Ze._encoded=c.encode(De._decoded)}function Pe(De){var ze;return(ze=De)._decoded||(ze._decoded=c.decode(De._encoded))}function Ke(De,ze,Ze){let tt=Pe(De);if(ze>=tt.length)return null;let ge=tt[ze],fe=_t(ge,De._decodedMemo,ze,Ze,ie);return fe===-1?null:ge[fe]}function We(De,ze){let{line:Ze,column:tt,bias:ge}=ze;if(Ze--,Ze<0)throw new Error(Z);if(tt<0)throw new Error(Q);let fe=Pe(De);if(Ze>=fe.length)return nt(null,null,null,null);let ee=fe[Ze],le=_t(ee,De._decodedMemo,Ze,tt,ge||ie);if(le===-1)return nt(null,null,null,null);let Se=ee[le];if(Se.length===1)return nt(null,null,null,null);let{names:Ee,resolvedSources:Be}=De;return nt(Be[Se[d]],Se[f]+1,Se[b],Se.length===5?Ee[Se[m]]:null)}function Oe(De,ze){let{source:Ze,line:tt,column:ge,bias:fe}=ze;return ht(De,Ze,tt,ge,fe||ie,!1)}function de(De,ze){let{source:Ze,line:tt,column:ge,bias:fe}=ze;return ht(De,Ze,tt,ge,fe||X,!0)}function xe(De,ze){let Ze=Pe(De),{names:tt,resolvedSources:ge}=De;for(let fe=0;fe<Ze.length;fe++){let ee=Ze[fe];for(let le=0;le<ee.length;le++){let Se=ee[le],Ee=fe+1,Be=Se[0],Qe=null,ce=null,$e=null,et=null;Se.length!==1&&(Qe=ge[Se[1]],ce=Se[2]+1,$e=Se[3]),Se.length===5&&(et=tt[Se[4]]),ze({generatedLine:Ee,generatedColumn:Be,source:Qe,originalLine:ce,originalColumn:$e,name:et})}}}function ye(De,ze){let{sources:Ze,resolvedSources:tt}=De,ge=Ze.indexOf(ze);return ge===-1&&(ge=tt.indexOf(ze)),ge}function ve(De,ze){let{sourcesContent:Ze}=De;if(Ze==null)return null;let tt=ye(De,ze);return tt===-1?null:Ze[tt]}function he(De,ze){let{ignoreList:Ze}=De;if(Ze==null)return!1;let tt=ye(De,ze);return tt!==-1&&Ze.includes(tt)}function Te(De,ze){let Ze=new oe(pe(De,[]),ze);return Ze._decoded=De.mappings,Ze}function Ce(De){return pe(De,Pe(De))}function se(De){return pe(De,Ne(De))}function pe(De,ze){return{version:De.version,file:De.file,names:De.names,sourceRoot:De.sourceRoot,sources:De.sources,sourcesContent:De.sourcesContent,mappings:ze,ignoreList:De.ignoreList||De.x_google_ignoreList}}function nt(De,ze,Ze,tt){return{source:De,line:ze,column:Ze,name:tt}}function ft(De,ze){return{line:De,column:ze}}function _t(De,ze,Ze,tt,ge){let fe=z(De,tt,ze,Ze);return L?fe=(ge===X?F:k)(De,tt,fe):ge===X&&fe++,fe===-1||fe===De.length?-1:fe}function Pt(De,ze,Ze,tt,ge){let fe=_t(De,ze,Ze,tt,ie);if(L||ge!==X||fe++,fe===-1||fe===De.length)return[];let ee=L?tt:De[fe][h];L||(fe=k(De,ee,fe));let le=F(De,ee,fe),Se=[];for(;fe<=le;fe++){let Ee=De[fe];Se.push(ft(Ee[y]+1,Ee[x]))}return Se}function ht(De,ze,Ze,tt,ge,fe){var ee;if(--Ze<0)throw new Error(Z);if(tt<0)throw new Error(Q);let{sources:le,resolvedSources:Se}=De,Ee=le.indexOf(ze);if(Ee===-1&&(Ee=Se.indexOf(ze)),Ee===-1)return fe?[]:ft(null,null);let Be=((ee=De)._bySources||(ee._bySources=C(Pe(De),De._bySourceMemos=le.map(U))))[Ee][Ze];if(Be==null)return fe?[]:ft(null,null);let Qe=De._bySourceMemos[Ee];if(fe)return Pt(Be,Qe,Ze,tt,ge);let ce=_t(Be,Qe,Ze,tt,ge);if(ce===-1)return ft(null,null);let $e=Be[ce];return ft($e[y]+1,$e[x])}n.AnyMap=V,n.GREATEST_LOWER_BOUND=ie,n.LEAST_UPPER_BOUND=X,n.TraceMap=oe,n.allGeneratedPositionsFor=de,n.decodedMap=Ce,n.decodedMappings=Pe,n.eachMapping=xe,n.encodedMap=se,n.encodedMappings=Ne,n.generatedPositionFor=Oe,n.isIgnored=he,n.originalPositionFor=We,n.presortedDecodedMap=Te,n.sourceContentFor=ve,n.traceSegment=Ke})(e,l("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.0/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"),l("./node_modules/.pnpm/@jridgewell+resolve-uri@3.1.2/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":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){var p=(0,n.createDynamicImportTransform)(c);return{manipulateOptions:function(i,o){o.plugins.push("dynamicImport")},visitor:{Import:function(i){p(this,i)}}}};var n=l("./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/utils.js");u.exports=e.default},"./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/utils.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var l=function(c,p){if(Array.isArray(c))return c;if(Symbol.iterator in Object(c))return(function(i,o){var h=[],d=!0,f=!1,b=void 0;try{for(var m,y=i[Symbol.iterator]();!(d=(m=y.next()).done)&&(h.push(m.value),!o||h.length!==o);d=!0);}catch(x){f=!0,b=x}finally{try{!d&&y.return&&y.return()}finally{if(f)throw b}}return h})(c,p);throw new TypeError("Invalid attempt to destructure non-iterable instance")};function n(c,p){var i=p.arguments,o=l(i,1)[0];return c.isStringLiteral(o)||c.isTemplateLiteral(o)?(c.removeComments(o),o):c.templateLiteral([c.templateElement({raw:"",cooked:""}),c.templateElement({raw:"",cooked:""},!0)],i)}e.getImportSource=n,e.createDynamicImportTransform=function(c){var p=c.template,i=c.types,o={static:{interop:p("Promise.resolve().then(() => INTEROP(require(SOURCE)))"),noInterop:p("Promise.resolve().then(() => require(SOURCE))")},dynamic:{interop:p("Promise.resolve(SOURCE).then(s => INTEROP(require(s)))"),noInterop:p("Promise.resolve(SOURCE).then(s => require(s))")}},h=typeof WeakSet=="function"&&new WeakSet;return function(d,f){if(h){if(h.has(f))return;h.add(f)}var b,m=n(i,f.parent),y=(b=m,i.isStringLiteral(b)||i.isTemplateLiteral(b)&&b.expressions.length===0?o.static:o.dynamic),x=d.opts.noInterop?y.noInterop({SOURCE:m}):y.interop({SOURCE:m,INTEROP:d.addHelper("interopRequireWildcard")});f.parentPath.replaceWith(x)}}},"./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js":(u,e,l)=>{"use strict";var n=l("path");function c(p){switch(p.parent.type){case"TSTypeReference":case"TSQualifiedName":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;default:return!1}}u.exports=function(p){var i=p.types,o=function(d,f){return function(b){var m=i.callExpression(d.expression,[i.Identifier(b),i.Identifier("undefined"),i.NumericLiteral(f.key)]),y=i.logicalExpression("||",m,i.Identifier(b)),x=i.assignmentExpression("=",i.Identifier(b),y);return i.expressionStatement(x)}},h=function(d,f){return function(b,m){var y=i.callExpression(d.expression,[i.Identifier("".concat(b,".prototype")),i.StringLiteral(m),i.NumericLiteral(f.key)]);return i.expressionStatement(y)}};return{visitor:{Program:function(d,f){var b=(0,n.extname)(f.file.opts.filename);b!==".ts"&&b!==".tsx"||(function(){var m=Object.create(null);d.node.body.filter((function(z){var C=z.type,R=z.declaration;switch(C){case"ClassDeclaration":return!0;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":return R&&R.type==="ClassDeclaration";default:return!1}})).map((function(z){return z.type==="ClassDeclaration"?z:z.declaration})).forEach((function(z){z.body.body.forEach((function(C){(C.params||[]).forEach((function(R){(R.decorators||[]).forEach((function(G){G.expression.callee?m[G.expression.callee.name]=G:m[G.expression.name]=G}))}))}))}));var y=!0,x=!1,v=void 0;try{for(var E,S=d.get("body")[Symbol.iterator]();!(y=(E=S.next()).done);y=!0){var _=E.value;if(_.node.type==="ImportDeclaration"){if(_.node.specifiers.length===0)continue;var A=!0,L=!1,j=void 0;try{for(var F,k=function(){var z=F.value,C=_.scope.getBinding(z.local.name);C.referencePaths.length?C.referencePaths.reduce((function(R,G){return R||c(G)}),!1)&&Object.keys(m).forEach((function(R){var G=m[R];(G.expression.arguments||[]).forEach((function(V){V.name===z.local.name&&C.referencePaths.push({parent:G.expression})}))})):m[z.local.name]&&C.referencePaths.push({parent:m[z.local.name]})},U=_.node.specifiers[Symbol.iterator]();!(A=(F=U.next()).done);A=!0)k()}catch(z){L=!0,j=z}finally{try{A||U.return==null||U.return()}finally{if(L)throw j}}}}}catch(z){x=!0,v=z}finally{try{y||S.return==null||S.return()}finally{if(x)throw v}}})()},Function:function(d){var f="";d.node.id?f=d.node.id.name:d.node.key&&(f=d.node.key.name),(d.get("params")||[]).slice().forEach((function(b){var m=b.node.decorators||[],y=m.length;if(m.slice().forEach((function(v){if(d.type==="ClassMethod"){var E,S=d.parentPath.parentPath,_=d.findParent((function(z){return z.type==="ClassDeclaration"}));if(_?E=_.node.id.name:(S.insertAfter(null),E=(function(z){var C=z.findParent((function(R){return R.node.type==="AssignmentExpression"}));return C.node.right.type==="SequenceExpression"?C.node.right.expressions[1].name:C.node.right.type==="ClassExpression"?C.node.left.name:null})(d)),f==="constructor"){var A=o(v,b)(E);S.insertAfter(A)}else{var L=h(v,b)(E,f);S.insertAfter(L)}}else{var j=d.findParent((function(z){return z.node.type==="VariableDeclarator"})).node.id.name;if(f===j){var F=o(v,b)(j);d.parentKey==="body"?d.insertAfter(F):d.findParent((function(z){return z.parentKey==="body"})).insertAfter(F)}else{var k=d.findParent((function(z){return z.node.type==="CallExpression"})),U=h(v,b)(j,f);k.insertAfter(U)}}})),y){var x=(function(v){switch(v.node.type){case"ObjectPattern":return i.ObjectPattern(v.node.properties);case"AssignmentPattern":return i.AssignmentPattern(v.node.left,v.node.right);case"TSParameterProperty":return i.Identifier(v.node.parameter.name);default:return i.Identifier(v.node.name)}})(b);b.replaceWith(x)}}))}}}}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/metadataVisitor.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.metadataVisitor=function(i,o){let h=o.node,d=i.node;switch(h.type){case"ClassMethod":let f=h.kind==="constructor"?d.decorators:h.decorators;if(!f||f.length===0)return;f.push(p("design:type",n.types.identifier("Function"))),f.push(p("design:paramtypes",n.types.arrayExpression(h.params.map((b=>(0,c.serializeType)(i,b))))));break;case"ClassProperty":if(!h.decorators||h.decorators.length===0||!h.typeAnnotation||h.typeAnnotation.type!=="TSTypeAnnotation")return;h.decorators.push(p("design:type",(0,c.serializeType)(i,h)))}};var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),c=l("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/serializeType.js");function p(i,o){return n.types.decorator(n.types.callExpression(n.types.memberExpression(n.types.identifier("Reflect"),n.types.identifier("metadata")),[n.types.stringLiteral(i),o]))}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/serializeType.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.serializeType=function(b,m){let y=p(m);if(y==null||!y.typeAnnotation||y.typeAnnotation.type!=="TSTypeAnnotation")return c();let x=y.typeAnnotation.typeAnnotation;return d(b.node.id?b.node.id.name:"",x)},e.isClassType=o;var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js");function c(){return n.types.unaryExpression("void",n.types.numericLiteral(0))}function p(b){return b==null?null:b.type==="ClassProperty"||b.type==="Identifier"||b.type==="ObjectPattern"?b:b.type==="AssignmentPattern"&&b.left.type==="Identifier"?b.left:b.type==="TSParameterProperty"?p(b.parameter):null}function i(b,m){let y=h(m.typeName);return o(b,y)?n.types.identifier("Object"):n.types.conditionalExpression(n.types.binaryExpression("===",n.types.unaryExpression("typeof",y),n.types.stringLiteral("undefined")),n.types.identifier("Object"),n.types.cloneDeep(y))}function o(b,m){switch(m.type){case"Identifier":return m.name===b;case"MemberExpression":return o(b,m.object);default:throw new Error(`The property expression at ${m.start} is not valid as a Type to be used in Reflect.metadata`)}}function h(b){return b.type==="Identifier"?n.types.identifier(b.name):n.types.memberExpression(h(b.left),b.right)}function d(b,m){if(m===void 0)return n.types.identifier("Object");switch(m.type){case"TSVoidKeyword":case"TSUndefinedKeyword":case"TSNullKeyword":case"TSNeverKeyword":return c();case"TSParenthesizedType":return d(b,m.typeAnnotation);case"TSFunctionType":case"TSConstructorType":return n.types.identifier("Function");case"TSArrayType":case"TSTupleType":return n.types.identifier("Array");case"TSTypePredicate":case"TSBooleanKeyword":return n.types.identifier("Boolean");case"TSStringKeyword":return n.types.identifier("String");case"TSObjectKeyword":return n.types.identifier("Object");case"TSLiteralType":switch(m.literal.type){case"StringLiteral":return n.types.identifier("String");case"NumericLiteral":return n.types.identifier("Number");case"BooleanLiteral":return n.types.identifier("Boolean");default:throw new Error("Bad type for decorator"+m.literal)}case"TSNumberKeyword":case"TSBigIntKeyword":return n.types.identifier("Number");case"TSSymbolKeyword":return n.types.identifier("Symbol");case"TSTypeReference":return i(b,m);case"TSIntersectionType":case"TSUnionType":return f(b,m.types);case"TSConditionalType":return f(b,[m.trueType,m.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 n.types.identifier("Object")}function f(b,m){let y;for(let x of m){for(;x.type==="TSParenthesizedType";)x=x.typeAnnotation;if(x.type==="TSNeverKeyword"||x.type==="TSNullKeyword"||x.type==="TSUndefinedKeyword")continue;let v=d(b,x);if(n.types.isIdentifier(v)&&v.name==="Object")return v;if(y){if(!n.types.isIdentifier(y)||!n.types.isIdentifier(v)||y.name!==v.name)return n.types.identifier("Object")}else y=v}return y||c()}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/parameter/parameterVisitor.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parameterVisitor=function(p,i){if(i.type!=="ClassMethod"||i.node.type!=="ClassMethod"||i.node.key.type!=="Identifier")return;let o=i;(o.get("params")||[]).slice().forEach((function(h){let d;(h.node.type==="Identifier"||h.node.type==="ObjectPattern"?h.node:h.node.type==="TSParameterProperty"&&h.node.parameter.type==="Identifier"?h.node.parameter:null)!=null&&((h.node.decorators||[]).slice().forEach((function(f){o.node.kind==="constructor"?(d=c(h.key,f.expression,!0),p.node.decorators||(p.node.decorators=[]),p.node.decorators.push(d)):(d=c(h.key,f.expression,!1),o.node.decorators||(o.node.decorators=[]),o.node.decorators.push(d))})),d&&(h.node.decorators=null))}))};var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js");function c(p,i,o=!1){return n.types.decorator(n.types.functionExpression(null,[n.types.identifier("target"),n.types.identifier("key")],n.types.blockStatement([n.types.returnStatement(n.types.callExpression(i,[n.types.identifier("target"),n.types.identifier(o?"undefined":"key"),n.types.numericLiteral(p)]))])))}},"./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/plugin.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js"),c=l("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/parameter/parameterVisitor.js"),p=l("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/metadata/metadataVisitor.js"),i=(0,n.declare)((o=>(o.assertVersion(7),{visitor:{Program(h){h.traverse({ClassDeclaration(d){for(let f of d.get("body").get("body"))f.type!=="ClassMethod"&&f.type!=="ClassProperty"||((0,c.parameterVisitor)(d,f),(0,p.metadataVisitor)(d,f));d.parentPath.scope.crawl()}})}}})));e.default=i},"./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js":(u,e)=>{"use strict";var l;function n(p,i){(i=i||{}).hasComment&&(p=(function(o){return o.split(",").pop()})(p)),i.encoding==="base64"?p=l(p):i.encoding==="uri"&&(p=decodeURIComponent(p)),(i.isJSON||i.encoding)&&(p=JSON.parse(p)),this.sourcemap=p}function c(p){return new n(p,{isJSON:!0})}Object.defineProperty(e,"commentRegex",{get:function(){return/^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/gm}}),Object.defineProperty(e,"mapFileCommentRegex",{get:function(){return/(?:\/\/[@#][ \t]+?sourceMappingURL=([^\s'"`]+?)[ \t]*?$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*?(?:\*\/){1}[ \t]*?$)/gm}}),l=typeof Buffer<"u"?typeof Buffer.from=="function"?function(p){return Buffer.from(p,"base64").toString()}:function(p){if(typeof value=="number")throw new TypeError("The value to decode must not be of type number.");return new Buffer(p,"base64").toString()}:function(p){return decodeURIComponent(escape(atob(p)))},n.prototype.toJSON=function(p){return JSON.stringify(this.sourcemap,null,p)},typeof Buffer<"u"?typeof Buffer.from=="function"?n.prototype.toBase64=function(){var p=this.toJSON();return Buffer.from(p,"utf8").toString("base64")}:n.prototype.toBase64=function(){var p=this.toJSON();if(typeof p=="number")throw new TypeError("The json to encode must not be of type number.");return new Buffer(p,"utf8").toString("base64")}:n.prototype.toBase64=function(){var p=this.toJSON();return btoa(unescape(encodeURIComponent(p)))},n.prototype.toURI=function(){var p=this.toJSON();return encodeURIComponent(p)},n.prototype.toComment=function(p){var i,o,h;return p!=null&&p.encoding==="uri"?(i="",o=this.toURI()):(i=";base64",o=this.toBase64()),h="sourceMappingURL=data:application/json;charset=utf-8"+i+","+o,p!=null&&p.multiline?"/*# "+h+" */":"//# "+h},n.prototype.toObject=function(){return JSON.parse(this.toJSON())},n.prototype.addProperty=function(p,i){if(this.sourcemap.hasOwnProperty(p))throw new Error('property "'+p+'" already exists on the sourcemap, use set property instead');return this.setProperty(p,i)},n.prototype.setProperty=function(p,i){return this.sourcemap[p]=i,this},n.prototype.getProperty=function(p){return this.sourcemap[p]},e.fromObject=function(p){return new n(p)},e.fromJSON=function(p){return new n(p,{isJSON:!0})},e.fromURI=function(p){return new n(p,{encoding:"uri"})},e.fromBase64=function(p){return new n(p,{encoding:"base64"})},e.fromComment=function(p){var i;return new n(p=p.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),{encoding:(i=e.commentRegex.exec(p))&&i[4]||"uri",hasComment:!0})},e.fromMapFileComment=function(p,i){if(typeof i=="string")throw new Error("String directory paths are no longer supported with `fromMapFileComment`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var o=(function(h,d){var f=e.mapFileCommentRegex.exec(h),b=f[1]||f[2];try{return(h=d(b))!=null&&typeof h.catch=="function"?h.catch(m):h}catch(y){m(y)}function m(y){throw new Error("An error occurred while trying to read the map file at "+b+`
|
|
`+y.stack)}})(p,i);return o!=null&&typeof o.then=="function"?o.then(c):c(o)},e.fromSource=function(p){var i=p.match(e.commentRegex);return i?e.fromComment(i.pop()):null},e.fromMapFileSource=function(p,i){if(typeof i=="string")throw new Error("String directory paths are no longer supported with `fromMapFileSource`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var o=p.match(e.mapFileCommentRegex);return o?e.fromMapFileComment(o.pop(),i):null},e.removeComments=function(p){return p.replace(e.commentRegex,"")},e.removeMapFileComments=function(p){return p.replace(e.mapFileCommentRegex,"")},e.generateMapFileComment=function(p,i){var o="sourceMappingURL="+p;return i&&i.multiline?"/*# "+o+" */":"//# "+o}},"./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/browser.js":(u,e,l)=>{e.formatArgs=function(c){if(c[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+c[0]+(this.useColors?"%c ":" ")+"+"+u.exports.humanize(this.diff),!this.useColors)return;let p="color: "+this.color;c.splice(1,0,p,"color: inherit");let i=0,o=0;c[0].replace(/%[a-zA-Z%]/g,(h=>{h!=="%%"&&(i++,h==="%c"&&(o=i))})),c.splice(o,0,p)},e.save=function(c){try{c?e.storage.setItem("debug",c):e.storage.removeItem("debug")}catch{}},e.load=function(){let c;try{c=e.storage.getItem("debug")}catch{}return!c&&typeof process<"u"&&"env"in process&&(c=process.env.DEBUG),c},e.useColors=function(){if(typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs))return!0;if(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let c;return 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&&(c=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(c[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},e.storage=(function(){try{return localStorage}catch{}})(),e.destroy=(()=>{let c=!1;return()=>{c||(c=!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`."))}})(),e.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"],e.log=console.debug||console.log||(()=>{}),u.exports=l("./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js")(e);let{formatters:n}=u.exports;n.j=function(c){try{return JSON.stringify(c)}catch(p){return"[UnexpectedJSONParseError]: "+p.message}}},"./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js":(u,e,l)=>{u.exports=function(n){function c(o){let h,d,f,b=null;function m(...y){if(!m.enabled)return;let x=m,v=Number(new Date),E=v-(h||v);x.diff=E,x.prev=h,x.curr=v,h=v,y[0]=c.coerce(y[0]),typeof y[0]!="string"&&y.unshift("%O");let S=0;y[0]=y[0].replace(/%([a-zA-Z%])/g,((_,A)=>{if(_==="%%")return"%";S++;let L=c.formatters[A];if(typeof L=="function"){let j=y[S];_=L.call(x,j),y.splice(S,1),S--}return _})),c.formatArgs.call(x,y),(x.log||c.log).apply(x,y)}return m.namespace=o,m.useColors=c.useColors(),m.color=c.selectColor(o),m.extend=p,m.destroy=c.destroy,Object.defineProperty(m,"enabled",{enumerable:!0,configurable:!1,get:()=>b!==null?b:(d!==c.namespaces&&(d=c.namespaces,f=c.enabled(o)),f),set:y=>{b=y}}),typeof c.init=="function"&&c.init(m),m}function p(o,h){let d=c(this.namespace+(h===void 0?":":h)+o);return d.log=this.log,d}function i(o,h){let d=0,f=0,b=-1,m=0;for(;d<o.length;)if(f<h.length&&(h[f]===o[d]||h[f]==="*"))h[f]==="*"?(b=f,m=d,f++):(d++,f++);else{if(b===-1)return!1;f=b+1,m++,d=m}for(;f<h.length&&h[f]==="*";)f++;return f===h.length}return c.debug=c,c.default=c,c.coerce=function(o){return o instanceof Error?o.stack||o.message:o},c.disable=function(){let o=[...c.names,...c.skips.map((h=>"-"+h))].join(",");return c.enable(""),o},c.enable=function(o){c.save(o),c.namespaces=o,c.names=[],c.skips=[];let h=(typeof o=="string"?o:"").trim().replace(" ",",").split(",").filter(Boolean);for(let d of h)d[0]==="-"?c.skips.push(d.slice(1)):c.names.push(d)},c.enabled=function(o){for(let h of c.skips)if(i(o,h))return!1;for(let h of c.names)if(i(o,h))return!0;return!1},c.humanize=l("./node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js"),c.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(n).forEach((o=>{c[o]=n[o]})),c.names=[],c.skips=[],c.formatters={},c.selectColor=function(o){let h=0;for(let d=0;d<o.length;d++)h=(h<<5)-h+o.charCodeAt(d),h|=0;return c.colors[Math.abs(h)%c.colors.length]},c.enable(c.load()),c}},"./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js":(u,e,l)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?u.exports=l("./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/browser.js"):u.exports=l("./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/node.js")},"./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/node.js":(u,e,l)=>{let n=l("tty"),c=l("util");e.init=function(i){i.inspectOpts={};let o=Object.keys(e.inspectOpts);for(let h=0;h<o.length;h++)i.inspectOpts[o[h]]=e.inspectOpts[o[h]]},e.log=function(...i){return process.stderr.write(c.formatWithOptions(e.inspectOpts,...i)+`
|
|
`)},e.formatArgs=function(i){let{namespace:o,useColors:h}=this;if(h){let d=this.color,f="\x1B[3"+(d<8?d:"8;5;"+d),b=` ${f};1m${o} \x1B[0m`;i[0]=b+i[0].split(`
|
|
`).join(`
|
|
`+b),i.push(f+"m+"+u.exports.humanize(this.diff)+"\x1B[0m")}else i[0]=(function(){return e.inspectOpts.hideDate?"":new Date().toISOString()+" "})()+o+" "+i[0]},e.save=function(i){i?process.env.DEBUG=i:delete process.env.DEBUG},e.load=function(){return process.env.DEBUG},e.useColors=function(){return"colors"in e.inspectOpts?!!e.inspectOpts.colors:n.isatty(process.stderr.fd)},e.destroy=c.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),e.colors=[6,2,3,4,5,1];try{let i=l("./node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js");i&&(i.stderr||i).level>=2&&(e.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{}e.inspectOpts=Object.keys(process.env).filter((i=>/^debug_/i.test(i))).reduce(((i,o)=>{let h=o.substring(6).toLowerCase().replace(/_([a-z])/g,((f,b)=>b.toUpperCase())),d=process.env[o];return d=!!/^(yes|on|true|enabled)$/i.test(d)||!/^(no|off|false|disabled)$/i.test(d)&&(d==="null"?null:Number(d)),i[h]=d,i}),{}),u.exports=l("./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/common.js")(e);let{formatters:p}=u.exports;p.o=function(i){return this.inspectOpts.colors=this.useColors,c.inspect(i,this.inspectOpts).split(`
|
|
`).map((o=>o.trim())).join(" ")},p.O=function(i){return this.inspectOpts.colors=this.useColors,c.inspect(i,this.inspectOpts)}},"./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js":u=>{"use strict";let e=Symbol.for("gensync:v1:start"),l=Symbol.for("gensync:v1:suspend");function n(m,y,x,v){if(typeof x===m||v&&x===void 0)return;let E;throw E=v?`Expected opts.${y} to be either a ${m}, or undefined.`:`Expected opts.${y} to be a ${m}.`,c(E,"GENSYNC_OPTIONS_ERROR")}function c(m,y){return Object.assign(new Error(m),{code:y})}function p({name:m,arity:y,sync:x,async:v}){return b(m,y,(function*(...E){let S=yield e;if(!S)return x.call(this,E);let _;try{v.call(this,E,(A=>{_||(_={value:A},S())}),(A=>{_||(_={err:A},S())}))}catch(A){_={err:A},S()}if(yield l,_.hasOwnProperty("err"))throw _.err;return _.value}))}function i(m){let y;for(;!({value:y}=m.next()).done;)h(y,m);return y}function o(m,y,x){(function v(){try{let E;for(;!({value:E}=m.next()).done;){h(E,m);let S=!0,_=!1,A=m.next((()=>{S?_=!0:v()}));if(S=!1,d(A,m),!_)return}return y(E)}catch(E){return x(E)}})()}function h(m,y){m!==e&&f(y,c(`Got unexpected yielded value in gensync generator: ${JSON.stringify(m)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,"GENSYNC_EXPECTED_START"))}function d({value:m,done:y},x){(y||m!==l)&&f(x,c(y?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(m)}. If you get this, it is probably a gensync bug.`,"GENSYNC_EXPECTED_SUSPEND"))}function f(m,y){throw m.throw&&m.throw(y),y}function b(m,y,x){if(typeof m=="string"){let v=Object.getOwnPropertyDescriptor(x,"name");v&&!v.configurable||Object.defineProperty(x,"name",Object.assign(v||{},{configurable:!0,value:m}))}if(typeof y=="number"){let v=Object.getOwnPropertyDescriptor(x,"length");v&&!v.configurable||Object.defineProperty(x,"length",Object.assign(v||{},{configurable:!0,value:y}))}return x}u.exports=Object.assign((function(m){let y=m;return y=typeof m!="function"?(function({name:x,arity:v,sync:E,async:S,errback:_}){if(n("string","name",x,!0),n("number","arity",v,!0),n("function","sync",E),n("function","async",S,!0),n("function","errback",_,!0),S&&_)throw c("Expected one of either opts.async or opts.errback, but got _both_.","GENSYNC_OPTIONS_ERROR");if(typeof x!="string"){let A;_&&_.name&&_.name!=="errback"&&(A=_.name),S&&S.name&&S.name!=="async"&&(A=S.name.replace(/Async$/,"")),E&&E.name&&E.name!=="sync"&&(A=E.name.replace(/Sync$/,"")),typeof A=="string"&&(x=A)}return typeof v!="number"&&(v=E.length),p({name:x,arity:v,sync:function(A){return E.apply(this,A)},async:function(A,L,j){S?S.apply(this,A).then(L,j):_?_.call(this,...A,((F,k)=>{F==null?L(k):j(F)})):L(E.apply(this,A))}})})(m):(function(x){return b(x.name,x.length,(function(...v){return x.apply(this,v)}))})(m),Object.assign(y,(function(x){return{sync:function(...E){return i(x.apply(this,E))},async:function(...E){return new Promise(((S,_)=>{o(x.apply(this,E),S,_)}))},errback:function(...E){let S=E.pop();if(typeof S!="function")throw c("Asynchronous function called without callback","GENSYNC_ERRBACK_NO_CALLBACK");let _;try{_=x.apply(this,E)}catch(A){return void S(A)}o(_,(A=>S(void 0,A)),(A=>S(A)))}}})(y))}),{all:p({name:"all",arity:1,sync:function(m){return Array.from(m[0]).map((y=>i(y)))},async:function(m,y,x){let v=Array.from(m[0]);if(v.length===0)return void Promise.resolve().then((()=>y([])));let E=0,S=v.map((()=>{}));v.forEach(((_,A)=>{o(_,(L=>{S[A]=L,E+=1,E===S.length&&y(S)}),x)}))}}),race:p({name:"race",arity:1,sync:function(m){let y=Array.from(m[0]);if(y.length===0)throw c("Must race at least 1 item","GENSYNC_RACE_NONEMPTY");return i(y[0])},async:function(m,y,x){let v=Array.from(m[0]);if(v.length===0)throw c("Must race at least 1 item","GENSYNC_RACE_NONEMPTY");for(let E of v)o(E,y,x)}})})},"./node_modules/.pnpm/globals@11.12.0/node_modules/globals/index.js":(u,e,l)=>{"use strict";u.exports=l("./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":u=>{"use strict";u.exports=(e,l=process.argv)=>{let n=e.startsWith("-")?"":e.length===1?"-":"--",c=l.indexOf(n+e),p=l.indexOf("--");return c!==-1&&(p===-1||c<p)}},"./node_modules/.pnpm/jsesc@3.1.0/node_modules/jsesc/jsesc.js":u=>{"use strict";let e={},l=e.hasOwnProperty,n=(E,S)=>{for(let _ in E)l.call(E,_)&&S(_,E[_])},c=E=>"\\u"+("0000"+E).slice(-4),p=(E,S)=>{let _=E.toString(16);return S?_:_.toUpperCase()},i=e.toString,o=Array.isArray,h=E=>typeof E=="bigint",d={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},f=/[\\\b\f\n\r\t]/,b=/[0-9]/,m=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,y=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,x=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,v=(E,S)=>{let _=()=>{R=C,++S.indentLevel,C=S.indent.repeat(S.indentLevel)},A={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},L=S&&S.json;var j,F;L&&(A.quotes="double",A.wrap=!0),j=A,(S=((F=S)&&n(F,((ie,oe)=>{j[ie]=oe})),j)).quotes!="single"&&S.quotes!="double"&&S.quotes!="backtick"&&(S.quotes="single");let k=S.quotes=="double"?'"':S.quotes=="backtick"?"`":"'",U=S.compact,z=S.lowercaseHex,C=S.indent.repeat(S.indentLevel),R="",G=S.__inline1__,V=S.__inline2__,B=U?"":`
|
|
`,q,K=!0,$=S.numbers=="binary",W=S.numbers=="octal",Z=S.numbers=="decimal",Q=S.numbers=="hexadecimal";if(L&&E&&(ie=>typeof ie=="function")(E.toJSON)&&(E=E.toJSON()),!(ie=>typeof ie=="string"||i.call(ie)=="[object String]")(E)){if((ie=>i.call(ie)=="[object Map]")(E))return E.size==0?"new Map()":(U||(S.__inline1__=!0,S.__inline2__=!1),"new Map("+v(Array.from(E),S)+")");if((ie=>i.call(ie)=="[object Set]")(E))return E.size==0?"new Set()":"new Set("+v(Array.from(E),S)+")";if((ie=>typeof Buffer=="function"&&Buffer.isBuffer(ie))(E))return E.length==0?"Buffer.from([])":"Buffer.from("+v(Array.from(E),S)+")";if(o(E))return q=[],S.wrap=!0,G&&(S.__inline1__=!1,S.__inline2__=!0),V||_(),((ie,oe)=>{let be=ie.length,Ne=-1;for(;++Ne<be;)oe(ie[Ne])})(E,(ie=>{K=!1,V&&(S.__inline2__=!1),q.push((U||V?"":C)+v(ie,S))})),K?"[]":V?"["+q.join(", ")+"]":"["+B+q.join(","+B)+B+(U?"":R)+"]";if((ie=>typeof ie=="number"||i.call(ie)=="[object Number]")(E)||h(E)){if(L)return JSON.stringify(Number(E));let ie;if(Z)ie=String(E);else if(Q){let oe=E.toString(16);z||(oe=oe.toUpperCase()),ie="0x"+oe}else $?ie="0b"+E.toString(2):W&&(ie="0o"+E.toString(8));return h(E)?ie+"n":ie}return h(E)?L?JSON.stringify(Number(E)):E+"n":(ie=>i.call(ie)=="[object Object]")(E)?(q=[],S.wrap=!0,_(),n(E,((ie,oe)=>{K=!1,q.push((U?"":C)+v(ie,S)+":"+(U?"":" ")+v(oe,S))})),K?"{}":"{"+B+q.join(","+B)+B+(U?"":R)+"}"):L?JSON.stringify(E)||"null":String(E)}let X=S.escapeEverything?y:x;return q=E.replace(X,((ie,oe,be,Ne,Pe,Ke)=>{if(oe){if(S.minimal)return oe;let Oe=oe.charCodeAt(0),de=oe.charCodeAt(1);return S.es6?"\\u{"+p(1024*(Oe-55296)+de-56320+65536,z)+"}":c(p(Oe,z))+c(p(de,z))}if(be)return c(p(be.charCodeAt(0),z));if(ie=="\0"&&!L&&!b.test(Ke.charAt(Pe+1)))return"\\0";if(Ne)return Ne==k||S.escapeEverything?"\\"+Ne:Ne;if(f.test(ie))return d[ie];if(S.minimal&&!m.test(ie))return ie;let We=p(ie.charCodeAt(0),z);return L||We.length>2?c(We):"\\x"+("00"+We).slice(-2)})),k=="`"&&(q=q.replace(/\$\{/g,"\\${")),S.isScriptContext&&(q=q.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,L?"\\u003C!--":"\\x3C!--")),S.wrap&&(q=k+q+k),q};v.version="3.0.2",u.exports=v},"./node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js":u=>{var e=1e3,l=60*e,n=60*l,c=24*n,p=7*c,i=365.25*c;function o(h,d,f,b){var m=d>=1.5*f;return Math.round(h/f)+" "+b+(m?"s":"")}u.exports=function(h,d){d=d||{};var f=typeof h;if(f==="string"&&h.length>0)return(function(b){if(!((b=String(b)).length>100)){var m=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(b);if(m){var y=parseFloat(m[1]);switch((m[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return y*i;case"weeks":case"week":case"w":return y*p;case"days":case"day":case"d":return y*c;case"hours":case"hour":case"hrs":case"hr":case"h":return y*n;case"minutes":case"minute":case"mins":case"min":case"m":return y*l;case"seconds":case"second":case"secs":case"sec":case"s":return y*e;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return y;default:return}}}})(h);if(f==="number"&&isFinite(h))return d.long?(function(b){var m=Math.abs(b);return m>=c?o(b,m,c,"day"):m>=n?o(b,m,n,"hour"):m>=l?o(b,m,l,"minute"):m>=e?o(b,m,e,"second"):b+" ms"})(h):(function(b){var m=Math.abs(b);return m>=c?Math.round(b/c)+"d":m>=n?Math.round(b/n)+"h":m>=l?Math.round(b/l)+"m":m>=e?Math.round(b/e)+"s":b+"ms"})(h);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(h))}},"./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js":(u,e)=>{var l;e=u.exports=E,l=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var Q=Array.prototype.slice.call(arguments,0);Q.unshift("SEMVER"),console.log.apply(console,Q)}:function(){},e.SEMVER_SPEC_VERSION="2.0.0";var n=256,c=Number.MAX_SAFE_INTEGER||9007199254740991,p=n-6,i=e.re=[],o=e.safeRe=[],h=e.src=[],d=e.tokens={},f=0;function b(Q){d[Q]=f++}var m=[["\\s",1],["\\d",n],["[a-zA-Z0-9-]",p]];function y(Q){for(var X=0;X<m.length;X++){var ie=m[X][0],oe=m[X][1];Q=Q.split(ie+"*").join(ie+"{0,"+oe+"}").split(ie+"+").join(ie+"{1,"+oe+"}")}return Q}b("NUMERICIDENTIFIER"),h[d.NUMERICIDENTIFIER]="0|[1-9]\\d*",b("NUMERICIDENTIFIERLOOSE"),h[d.NUMERICIDENTIFIERLOOSE]="\\d+",b("NONNUMERICIDENTIFIER"),h[d.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",b("MAINVERSION"),h[d.MAINVERSION]="("+h[d.NUMERICIDENTIFIER]+")\\.("+h[d.NUMERICIDENTIFIER]+")\\.("+h[d.NUMERICIDENTIFIER]+")",b("MAINVERSIONLOOSE"),h[d.MAINVERSIONLOOSE]="("+h[d.NUMERICIDENTIFIERLOOSE]+")\\.("+h[d.NUMERICIDENTIFIERLOOSE]+")\\.("+h[d.NUMERICIDENTIFIERLOOSE]+")",b("PRERELEASEIDENTIFIER"),h[d.PRERELEASEIDENTIFIER]="(?:"+h[d.NUMERICIDENTIFIER]+"|"+h[d.NONNUMERICIDENTIFIER]+")",b("PRERELEASEIDENTIFIERLOOSE"),h[d.PRERELEASEIDENTIFIERLOOSE]="(?:"+h[d.NUMERICIDENTIFIERLOOSE]+"|"+h[d.NONNUMERICIDENTIFIER]+")",b("PRERELEASE"),h[d.PRERELEASE]="(?:-("+h[d.PRERELEASEIDENTIFIER]+"(?:\\."+h[d.PRERELEASEIDENTIFIER]+")*))",b("PRERELEASELOOSE"),h[d.PRERELEASELOOSE]="(?:-?("+h[d.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+h[d.PRERELEASEIDENTIFIERLOOSE]+")*))",b("BUILDIDENTIFIER"),h[d.BUILDIDENTIFIER]="[a-zA-Z0-9-]+",b("BUILD"),h[d.BUILD]="(?:\\+("+h[d.BUILDIDENTIFIER]+"(?:\\."+h[d.BUILDIDENTIFIER]+")*))",b("FULL"),b("FULLPLAIN"),h[d.FULLPLAIN]="v?"+h[d.MAINVERSION]+h[d.PRERELEASE]+"?"+h[d.BUILD]+"?",h[d.FULL]="^"+h[d.FULLPLAIN]+"$",b("LOOSEPLAIN"),h[d.LOOSEPLAIN]="[v=\\s]*"+h[d.MAINVERSIONLOOSE]+h[d.PRERELEASELOOSE]+"?"+h[d.BUILD]+"?",b("LOOSE"),h[d.LOOSE]="^"+h[d.LOOSEPLAIN]+"$",b("GTLT"),h[d.GTLT]="((?:<|>)?=?)",b("XRANGEIDENTIFIERLOOSE"),h[d.XRANGEIDENTIFIERLOOSE]=h[d.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",b("XRANGEIDENTIFIER"),h[d.XRANGEIDENTIFIER]=h[d.NUMERICIDENTIFIER]+"|x|X|\\*",b("XRANGEPLAIN"),h[d.XRANGEPLAIN]="[v=\\s]*("+h[d.XRANGEIDENTIFIER]+")(?:\\.("+h[d.XRANGEIDENTIFIER]+")(?:\\.("+h[d.XRANGEIDENTIFIER]+")(?:"+h[d.PRERELEASE]+")?"+h[d.BUILD]+"?)?)?",b("XRANGEPLAINLOOSE"),h[d.XRANGEPLAINLOOSE]="[v=\\s]*("+h[d.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+h[d.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+h[d.XRANGEIDENTIFIERLOOSE]+")(?:"+h[d.PRERELEASELOOSE]+")?"+h[d.BUILD]+"?)?)?",b("XRANGE"),h[d.XRANGE]="^"+h[d.GTLT]+"\\s*"+h[d.XRANGEPLAIN]+"$",b("XRANGELOOSE"),h[d.XRANGELOOSE]="^"+h[d.GTLT]+"\\s*"+h[d.XRANGEPLAINLOOSE]+"$",b("COERCE"),h[d.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",b("COERCERTL"),i[d.COERCERTL]=new RegExp(h[d.COERCE],"g"),o[d.COERCERTL]=new RegExp(y(h[d.COERCE]),"g"),b("LONETILDE"),h[d.LONETILDE]="(?:~>?)",b("TILDETRIM"),h[d.TILDETRIM]="(\\s*)"+h[d.LONETILDE]+"\\s+",i[d.TILDETRIM]=new RegExp(h[d.TILDETRIM],"g"),o[d.TILDETRIM]=new RegExp(y(h[d.TILDETRIM]),"g"),b("TILDE"),h[d.TILDE]="^"+h[d.LONETILDE]+h[d.XRANGEPLAIN]+"$",b("TILDELOOSE"),h[d.TILDELOOSE]="^"+h[d.LONETILDE]+h[d.XRANGEPLAINLOOSE]+"$",b("LONECARET"),h[d.LONECARET]="(?:\\^)",b("CARETTRIM"),h[d.CARETTRIM]="(\\s*)"+h[d.LONECARET]+"\\s+",i[d.CARETTRIM]=new RegExp(h[d.CARETTRIM],"g"),o[d.CARETTRIM]=new RegExp(y(h[d.CARETTRIM]),"g"),b("CARET"),h[d.CARET]="^"+h[d.LONECARET]+h[d.XRANGEPLAIN]+"$",b("CARETLOOSE"),h[d.CARETLOOSE]="^"+h[d.LONECARET]+h[d.XRANGEPLAINLOOSE]+"$",b("COMPARATORLOOSE"),h[d.COMPARATORLOOSE]="^"+h[d.GTLT]+"\\s*("+h[d.LOOSEPLAIN]+")$|^$",b("COMPARATOR"),h[d.COMPARATOR]="^"+h[d.GTLT]+"\\s*("+h[d.FULLPLAIN]+")$|^$",b("COMPARATORTRIM"),h[d.COMPARATORTRIM]="(\\s*)"+h[d.GTLT]+"\\s*("+h[d.LOOSEPLAIN]+"|"+h[d.XRANGEPLAIN]+")",i[d.COMPARATORTRIM]=new RegExp(h[d.COMPARATORTRIM],"g"),o[d.COMPARATORTRIM]=new RegExp(y(h[d.COMPARATORTRIM]),"g"),b("HYPHENRANGE"),h[d.HYPHENRANGE]="^\\s*("+h[d.XRANGEPLAIN]+")\\s+-\\s+("+h[d.XRANGEPLAIN]+")\\s*$",b("HYPHENRANGELOOSE"),h[d.HYPHENRANGELOOSE]="^\\s*("+h[d.XRANGEPLAINLOOSE]+")\\s+-\\s+("+h[d.XRANGEPLAINLOOSE]+")\\s*$",b("STAR"),h[d.STAR]="(<|>)?=?\\s*\\*";for(var x=0;x<f;x++)l(x,h[x]),i[x]||(i[x]=new RegExp(h[x]),o[x]=new RegExp(y(h[x])));function v(Q,X){if(X&&typeof X=="object"||(X={loose:!!X,includePrerelease:!1}),Q instanceof E)return Q;if(typeof Q!="string"||Q.length>n||!(X.loose?o[d.LOOSE]:o[d.FULL]).test(Q))return null;try{return new E(Q,X)}catch{return null}}function E(Q,X){if(X&&typeof X=="object"||(X={loose:!!X,includePrerelease:!1}),Q instanceof E){if(Q.loose===X.loose)return Q;Q=Q.version}else if(typeof Q!="string")throw new TypeError("Invalid Version: "+Q);if(Q.length>n)throw new TypeError("version is longer than "+n+" characters");if(!(this instanceof E))return new E(Q,X);l("SemVer",Q,X),this.options=X,this.loose=!!X.loose;var ie=Q.trim().match(X.loose?o[d.LOOSE]:o[d.FULL]);if(!ie)throw new TypeError("Invalid Version: "+Q);if(this.raw=Q,this.major=+ie[1],this.minor=+ie[2],this.patch=+ie[3],this.major>c||this.major<0)throw new TypeError("Invalid major version");if(this.minor>c||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>c||this.patch<0)throw new TypeError("Invalid patch version");ie[4]?this.prerelease=ie[4].split(".").map((function(oe){if(/^[0-9]+$/.test(oe)){var be=+oe;if(be>=0&&be<c)return be}return oe})):this.prerelease=[],this.build=ie[5]?ie[5].split("."):[],this.format()}e.parse=v,e.valid=function(Q,X){var ie=v(Q,X);return ie?ie.version:null},e.clean=function(Q,X){var ie=v(Q.trim().replace(/^[=v]+/,""),X);return ie?ie.version:null},e.SemVer=E,E.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},E.prototype.toString=function(){return this.version},E.prototype.compare=function(Q){return l("SemVer.compare",this.version,this.options,Q),Q instanceof E||(Q=new E(Q,this.options)),this.compareMain(Q)||this.comparePre(Q)},E.prototype.compareMain=function(Q){return Q instanceof E||(Q=new E(Q,this.options)),_(this.major,Q.major)||_(this.minor,Q.minor)||_(this.patch,Q.patch)},E.prototype.comparePre=function(Q){if(Q instanceof E||(Q=new E(Q,this.options)),this.prerelease.length&&!Q.prerelease.length)return-1;if(!this.prerelease.length&&Q.prerelease.length)return 1;if(!this.prerelease.length&&!Q.prerelease.length)return 0;var X=0;do{var ie=this.prerelease[X],oe=Q.prerelease[X];if(l("prerelease compare",X,ie,oe),ie===void 0&&oe===void 0)return 0;if(oe===void 0)return 1;if(ie===void 0)return-1;if(ie!==oe)return _(ie,oe)}while(++X)},E.prototype.compareBuild=function(Q){Q instanceof E||(Q=new E(Q,this.options));var X=0;do{var ie=this.build[X],oe=Q.build[X];if(l("prerelease compare",X,ie,oe),ie===void 0&&oe===void 0)return 0;if(oe===void 0)return 1;if(ie===void 0)return-1;if(ie!==oe)return _(ie,oe)}while(++X)},E.prototype.inc=function(Q,X){switch(Q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",X);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",X);break;case"prepatch":this.prerelease.length=0,this.inc("patch",X),this.inc("pre",X);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",X),this.inc("pre",X);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 ie=this.prerelease.length;--ie>=0;)typeof this.prerelease[ie]=="number"&&(this.prerelease[ie]++,ie=-2);ie===-1&&this.prerelease.push(0)}X&&(this.prerelease[0]===X?isNaN(this.prerelease[1])&&(this.prerelease=[X,0]):this.prerelease=[X,0]);break;default:throw new Error("invalid increment argument: "+Q)}return this.format(),this.raw=this.version,this},e.inc=function(Q,X,ie,oe){typeof ie=="string"&&(oe=ie,ie=void 0);try{return new E(Q,ie).inc(X,oe).version}catch{return null}},e.diff=function(Q,X){if(F(Q,X))return null;var ie=v(Q),oe=v(X),be="";if(ie.prerelease.length||oe.prerelease.length){be="pre";var Ne="prerelease"}for(var Pe in ie)if((Pe==="major"||Pe==="minor"||Pe==="patch")&&ie[Pe]!==oe[Pe])return be+Pe;return Ne},e.compareIdentifiers=_;var S=/^[0-9]+$/;function _(Q,X){var ie=S.test(Q),oe=S.test(X);return ie&&oe&&(Q=+Q,X=+X),Q===X?0:ie&&!oe?-1:oe&&!ie?1:Q<X?-1:1}function A(Q,X,ie){return new E(Q,ie).compare(new E(X,ie))}function L(Q,X,ie){return A(Q,X,ie)>0}function j(Q,X,ie){return A(Q,X,ie)<0}function F(Q,X,ie){return A(Q,X,ie)===0}function k(Q,X,ie){return A(Q,X,ie)!==0}function U(Q,X,ie){return A(Q,X,ie)>=0}function z(Q,X,ie){return A(Q,X,ie)<=0}function C(Q,X,ie,oe){switch(X){case"===":return typeof Q=="object"&&(Q=Q.version),typeof ie=="object"&&(ie=ie.version),Q===ie;case"!==":return typeof Q=="object"&&(Q=Q.version),typeof ie=="object"&&(ie=ie.version),Q!==ie;case"":case"=":case"==":return F(Q,ie,oe);case"!=":return k(Q,ie,oe);case">":return L(Q,ie,oe);case">=":return U(Q,ie,oe);case"<":return j(Q,ie,oe);case"<=":return z(Q,ie,oe);default:throw new TypeError("Invalid operator: "+X)}}function R(Q,X){if(X&&typeof X=="object"||(X={loose:!!X,includePrerelease:!1}),Q instanceof R){if(Q.loose===!!X.loose)return Q;Q=Q.value}if(!(this instanceof R))return new R(Q,X);Q=Q.trim().split(/\s+/).join(" "),l("comparator",Q,X),this.options=X,this.loose=!!X.loose,this.parse(Q),this.semver===G?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}e.rcompareIdentifiers=function(Q,X){return _(X,Q)},e.major=function(Q,X){return new E(Q,X).major},e.minor=function(Q,X){return new E(Q,X).minor},e.patch=function(Q,X){return new E(Q,X).patch},e.compare=A,e.compareLoose=function(Q,X){return A(Q,X,!0)},e.compareBuild=function(Q,X,ie){var oe=new E(Q,ie),be=new E(X,ie);return oe.compare(be)||oe.compareBuild(be)},e.rcompare=function(Q,X,ie){return A(X,Q,ie)},e.sort=function(Q,X){return Q.sort((function(ie,oe){return e.compareBuild(ie,oe,X)}))},e.rsort=function(Q,X){return Q.sort((function(ie,oe){return e.compareBuild(oe,ie,X)}))},e.gt=L,e.lt=j,e.eq=F,e.neq=k,e.gte=U,e.lte=z,e.cmp=C,e.Comparator=R;var G={};function V(Q,X){if(X&&typeof X=="object"||(X={loose:!!X,includePrerelease:!1}),Q instanceof V)return Q.loose===!!X.loose&&Q.includePrerelease===!!X.includePrerelease?Q:new V(Q.raw,X);if(Q instanceof R)return new V(Q.value,X);if(!(this instanceof V))return new V(Q,X);if(this.options=X,this.loose=!!X.loose,this.includePrerelease=!!X.includePrerelease,this.raw=Q.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map((function(ie){return this.parseRange(ie.trim())}),this).filter((function(ie){return ie.length})),!this.set.length)throw new TypeError("Invalid SemVer Range: "+this.raw);this.format()}function B(Q,X){for(var ie=!0,oe=Q.slice(),be=oe.pop();ie&&oe.length;)ie=oe.every((function(Ne){return be.intersects(Ne,X)})),be=oe.pop();return ie}function q(Q){return!Q||Q.toLowerCase()==="x"||Q==="*"}function K(Q,X,ie,oe,be,Ne,Pe,Ke,We,Oe,de,xe,ye){return((X=q(ie)?"":q(oe)?">="+ie+".0.0":q(be)?">="+ie+"."+oe+".0":">="+X)+" "+(Ke=q(We)?"":q(Oe)?"<"+(+We+1)+".0.0":q(de)?"<"+We+"."+(+Oe+1)+".0":xe?"<="+We+"."+Oe+"."+de+"-"+xe:"<="+Ke)).trim()}function $(Q,X,ie){for(var oe=0;oe<Q.length;oe++)if(!Q[oe].test(X))return!1;if(X.prerelease.length&&!ie.includePrerelease){for(oe=0;oe<Q.length;oe++)if(l(Q[oe].semver),Q[oe].semver!==G&&Q[oe].semver.prerelease.length>0){var be=Q[oe].semver;if(be.major===X.major&&be.minor===X.minor&&be.patch===X.patch)return!0}return!1}return!0}function W(Q,X,ie){try{X=new V(X,ie)}catch{return!1}return X.test(Q)}function Z(Q,X,ie,oe){var be,Ne,Pe,Ke,We;switch(Q=new E(Q,oe),X=new V(X,oe),ie){case">":be=L,Ne=z,Pe=j,Ke=">",We=">=";break;case"<":be=j,Ne=U,Pe=L,Ke="<",We="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(W(Q,X,oe))return!1;for(var Oe=0;Oe<X.set.length;++Oe){var de=X.set[Oe],xe=null,ye=null;if(de.forEach((function(ve){ve.semver===G&&(ve=new R(">=0.0.0")),xe=xe||ve,ye=ye||ve,be(ve.semver,xe.semver,oe)?xe=ve:Pe(ve.semver,ye.semver,oe)&&(ye=ve)})),xe.operator===Ke||xe.operator===We||(!ye.operator||ye.operator===Ke)&&Ne(Q,ye.semver)||ye.operator===We&&Pe(Q,ye.semver))return!1}return!0}R.prototype.parse=function(Q){var X=this.options.loose?o[d.COMPARATORLOOSE]:o[d.COMPARATOR],ie=Q.match(X);if(!ie)throw new TypeError("Invalid comparator: "+Q);this.operator=ie[1]!==void 0?ie[1]:"",this.operator==="="&&(this.operator=""),ie[2]?this.semver=new E(ie[2],this.options.loose):this.semver=G},R.prototype.toString=function(){return this.value},R.prototype.test=function(Q){if(l("Comparator.test",Q,this.options.loose),this.semver===G||Q===G)return!0;if(typeof Q=="string")try{Q=new E(Q,this.options)}catch{return!1}return C(Q,this.operator,this.semver,this.options)},R.prototype.intersects=function(Q,X){if(!(Q instanceof R))throw new TypeError("a Comparator is required");var ie;if(X&&typeof X=="object"||(X={loose:!!X,includePrerelease:!1}),this.operator==="")return this.value===""||(ie=new V(Q.value,X),W(this.value,ie,X));if(Q.operator==="")return Q.value===""||(ie=new V(this.value,X),W(Q.semver,ie,X));var oe=!(this.operator!==">="&&this.operator!==">"||Q.operator!==">="&&Q.operator!==">"),be=!(this.operator!=="<="&&this.operator!=="<"||Q.operator!=="<="&&Q.operator!=="<"),Ne=this.semver.version===Q.semver.version,Pe=!(this.operator!==">="&&this.operator!=="<="||Q.operator!==">="&&Q.operator!=="<="),Ke=C(this.semver,"<",Q.semver,X)&&(this.operator===">="||this.operator===">")&&(Q.operator==="<="||Q.operator==="<"),We=C(this.semver,">",Q.semver,X)&&(this.operator==="<="||this.operator==="<")&&(Q.operator===">="||Q.operator===">");return oe||be||Ne&&Pe||Ke||We},e.Range=V,V.prototype.format=function(){return this.range=this.set.map((function(Q){return Q.join(" ").trim()})).join("||").trim(),this.range},V.prototype.toString=function(){return this.range},V.prototype.parseRange=function(Q){var X=this.options.loose,ie=X?o[d.HYPHENRANGELOOSE]:o[d.HYPHENRANGE];Q=Q.replace(ie,K),l("hyphen replace",Q),Q=Q.replace(o[d.COMPARATORTRIM],"$1$2$3"),l("comparator trim",Q,o[d.COMPARATORTRIM]),Q=(Q=(Q=Q.replace(o[d.TILDETRIM],"$1~")).replace(o[d.CARETTRIM],"$1^")).split(/\s+/).join(" ");var oe=X?o[d.COMPARATORLOOSE]:o[d.COMPARATOR],be=Q.split(" ").map((function(Ne){return(function(Pe,Ke){return l("comp",Pe,Ke),Pe=(function(We,Oe){return We.trim().split(/\s+/).map((function(de){return(function(xe,ye){l("caret",xe,ye);var ve=ye.loose?o[d.CARETLOOSE]:o[d.CARET];return xe.replace(ve,(function(he,Te,Ce,se,pe){var nt;return l("caret",xe,he,Te,Ce,se,pe),q(Te)?nt="":q(Ce)?nt=">="+Te+".0.0 <"+(+Te+1)+".0.0":q(se)?nt=Te==="0"?">="+Te+"."+Ce+".0 <"+Te+"."+(+Ce+1)+".0":">="+Te+"."+Ce+".0 <"+(+Te+1)+".0.0":pe?(l("replaceCaret pr",pe),nt=Te==="0"?Ce==="0"?">="+Te+"."+Ce+"."+se+"-"+pe+" <"+Te+"."+Ce+"."+(+se+1):">="+Te+"."+Ce+"."+se+"-"+pe+" <"+Te+"."+(+Ce+1)+".0":">="+Te+"."+Ce+"."+se+"-"+pe+" <"+(+Te+1)+".0.0"):(l("no pr"),nt=Te==="0"?Ce==="0"?">="+Te+"."+Ce+"."+se+" <"+Te+"."+Ce+"."+(+se+1):">="+Te+"."+Ce+"."+se+" <"+Te+"."+(+Ce+1)+".0":">="+Te+"."+Ce+"."+se+" <"+(+Te+1)+".0.0"),l("caret return",nt),nt}))})(de,Oe)})).join(" ")})(Pe,Ke),l("caret",Pe),Pe=(function(We,Oe){return We.trim().split(/\s+/).map((function(de){return(function(xe,ye){var ve=ye.loose?o[d.TILDELOOSE]:o[d.TILDE];return xe.replace(ve,(function(he,Te,Ce,se,pe){var nt;return l("tilde",xe,he,Te,Ce,se,pe),q(Te)?nt="":q(Ce)?nt=">="+Te+".0.0 <"+(+Te+1)+".0.0":q(se)?nt=">="+Te+"."+Ce+".0 <"+Te+"."+(+Ce+1)+".0":pe?(l("replaceTilde pr",pe),nt=">="+Te+"."+Ce+"."+se+"-"+pe+" <"+Te+"."+(+Ce+1)+".0"):nt=">="+Te+"."+Ce+"."+se+" <"+Te+"."+(+Ce+1)+".0",l("tilde return",nt),nt}))})(de,Oe)})).join(" ")})(Pe,Ke),l("tildes",Pe),Pe=(function(We,Oe){return l("replaceXRanges",We,Oe),We.split(/\s+/).map((function(de){return(function(xe,ye){xe=xe.trim();var ve=ye.loose?o[d.XRANGELOOSE]:o[d.XRANGE];return xe.replace(ve,(function(he,Te,Ce,se,pe,nt){l("xRange",xe,he,Te,Ce,se,pe,nt);var ft=q(Ce),_t=ft||q(se),Pt=_t||q(pe),ht=Pt;return Te==="="&&ht&&(Te=""),nt=ye.includePrerelease?"-0":"",ft?he=Te===">"||Te==="<"?"<0.0.0-0":"*":Te&&ht?(_t&&(se=0),pe=0,Te===">"?(Te=">=",_t?(Ce=+Ce+1,se=0,pe=0):(se=+se+1,pe=0)):Te==="<="&&(Te="<",_t?Ce=+Ce+1:se=+se+1),he=Te+Ce+"."+se+"."+pe+nt):_t?he=">="+Ce+".0.0"+nt+" <"+(+Ce+1)+".0.0"+nt:Pt&&(he=">="+Ce+"."+se+".0"+nt+" <"+Ce+"."+(+se+1)+".0"+nt),l("xRange return",he),he}))})(de,Oe)})).join(" ")})(Pe,Ke),l("xrange",Pe),Pe=(function(We,Oe){return l("replaceStars",We,Oe),We.trim().replace(o[d.STAR],"")})(Pe,Ke),l("stars",Pe),Pe})(Ne,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(be=be.filter((function(Ne){return!!Ne.match(oe)}))),be=be.map((function(Ne){return new R(Ne,this.options)}),this)},V.prototype.intersects=function(Q,X){if(!(Q instanceof V))throw new TypeError("a Range is required");return this.set.some((function(ie){return B(ie,X)&&Q.set.some((function(oe){return B(oe,X)&&ie.every((function(be){return oe.every((function(Ne){return be.intersects(Ne,X)}))}))}))}))},e.toComparators=function(Q,X){return new V(Q,X).set.map((function(ie){return ie.map((function(oe){return oe.value})).join(" ").trim().split(" ")}))},V.prototype.test=function(Q){if(!Q)return!1;if(typeof Q=="string")try{Q=new E(Q,this.options)}catch{return!1}for(var X=0;X<this.set.length;X++)if($(this.set[X],Q,this.options))return!0;return!1},e.satisfies=W,e.maxSatisfying=function(Q,X,ie){var oe=null,be=null;try{var Ne=new V(X,ie)}catch{return null}return Q.forEach((function(Pe){Ne.test(Pe)&&(oe&&be.compare(Pe)!==-1||(be=new E(oe=Pe,ie)))})),oe},e.minSatisfying=function(Q,X,ie){var oe=null,be=null;try{var Ne=new V(X,ie)}catch{return null}return Q.forEach((function(Pe){Ne.test(Pe)&&(oe&&be.compare(Pe)!==1||(be=new E(oe=Pe,ie)))})),oe},e.minVersion=function(Q,X){Q=new V(Q,X);var ie=new E("0.0.0");if(Q.test(ie)||(ie=new E("0.0.0-0"),Q.test(ie)))return ie;ie=null;for(var oe=0;oe<Q.set.length;++oe)Q.set[oe].forEach((function(be){var Ne=new E(be.semver.version);switch(be.operator){case">":Ne.prerelease.length===0?Ne.patch++:Ne.prerelease.push(0),Ne.raw=Ne.format();case"":case">=":ie&&!L(ie,Ne)||(ie=Ne);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+be.operator)}}));return ie&&Q.test(ie)?ie:null},e.validRange=function(Q,X){try{return new V(Q,X).range||"*"}catch{return null}},e.ltr=function(Q,X,ie){return Z(Q,X,"<",ie)},e.gtr=function(Q,X,ie){return Z(Q,X,">",ie)},e.outside=Z,e.prerelease=function(Q,X){var ie=v(Q,X);return ie&&ie.prerelease.length?ie.prerelease:null},e.intersects=function(Q,X,ie){return Q=new V(Q,ie),X=new V(X,ie),Q.intersects(X)},e.coerce=function(Q,X){if(Q instanceof E)return Q;if(typeof Q=="number"&&(Q=String(Q)),typeof Q!="string")return null;var ie=null;if((X=X||{}).rtl){for(var oe;(oe=o[d.COERCERTL].exec(Q))&&(!ie||ie.index+ie[0].length!==Q.length);)ie&&oe.index+oe[0].length===ie.index+ie[0].length||(ie=oe),o[d.COERCERTL].lastIndex=oe.index+oe[1].length+oe[2].length;o[d.COERCERTL].lastIndex=-1}else ie=Q.match(o[d.COERCE]);return ie===null?null:v(ie[2]+"."+(ie[3]||"0")+"."+(ie[4]||"0"),X)}},"./node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js":(u,e,l)=>{"use strict";let n=l("os"),c=l("tty"),p=l("./node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"),{env:i}=process,o;function h(f){return f!==0&&{level:f,hasBasic:!0,has256:f>=2,has16m:f>=3}}function d(f,b){if(o===0)return 0;if(p("color=16m")||p("color=full")||p("color=truecolor"))return 3;if(p("color=256"))return 2;if(f&&!b&&o===void 0)return 0;let m=o||0;if(i.TERM==="dumb")return m;if(process.platform==="win32"){let y=n.release().split(".");return Number(y[0])>=10&&Number(y[2])>=10586?Number(y[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((y=>y in i))||i.CI_NAME==="codeship"?1:m;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if(i.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in i){let y=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return y>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:m}p("no-color")||p("no-colors")||p("color=false")||p("color=never")?o=0:(p("color")||p("colors")||p("color=true")||p("color=always"))&&(o=1),"FORCE_COLOR"in i&&(o=i.FORCE_COLOR==="true"?1:i.FORCE_COLOR==="false"?0:i.FORCE_COLOR.length===0?1:Math.min(parseInt(i.FORCE_COLOR,10),3)),u.exports={supportsColor:function(f){return h(d(f,f&&f.isTTY))},stdout:h(d(!0,c.isatty(1))),stderr:h(d(!0,c.isatty(2)))}},"./stubs/babel-codeframe.js":(u,e,l)=>{"use strict";function n(){return""}l.r(e),l.d(e,{codeFrameColumns:()=>n})},"./stubs/helper-compilation-targets.js":(u,e,l)=>{"use strict";function n(){return{}}l.r(e),l.d(e,{default:()=>n})},assert:u=>{"use strict";u.exports=hr("assert")},fs:u=>{"use strict";u.exports=hr("fs")},module:u=>{"use strict";u.exports=hr("module")},os:u=>{"use strict";u.exports=hr("os")},path:u=>{"use strict";u.exports=hr("path")},process:u=>{"use strict";u.exports=hr("process")},tty:u=>{"use strict";u.exports=hr("tty")},url:u=>{"use strict";u.exports=hr("url")},util:u=>{"use strict";u.exports=hr("util")},v8:u=>{"use strict";u.exports=hr("v8")},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/caching.js":(u,e,l)=>{"use strict";function n(){let E=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return n=function(){return E},E}Object.defineProperty(e,"__esModule",{value:!0}),e.assertSimpleType=x,e.makeStrongCache=d,e.makeStrongCacheSync=function(E){return i(d(E))},e.makeWeakCache=h,e.makeWeakCacheSync=function(E){return i(h(E))};var c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/gensync-utils/async.js"),p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/util.js");let i=E=>n()(E).sync;function*o(){return!0}function h(E){return f(WeakMap,E)}function d(E){return f(Map,E)}function f(E,S){let _=new E,A=new E,L=new E;return function*(j,F){let k=yield*(0,c.isAsync)(),U=k?A:_,z=yield*(function*(B,q,K,$,W){let Z=yield*b(q,$,W);if(Z.valid)return Z;if(B){let Q=yield*b(K,$,W);if(Q.valid)return{valid:!0,value:yield*(0,c.waitFor)(Q.value.promise)}}return{valid:!1,value:null}})(k,U,L,j,F);if(z.valid)return z.value;let C=new y(F),R=S(j,C),G,V;return V=(0,p.isIterableIterator)(R)?yield*(0,c.onFirstPause)(R,(()=>{G=(function(B,q,K){let $=new v;return m(q,B,K,$),$})(C,L,j)})):R,m(U,C,j,V),G&&(L.delete(j),G.release(V)),V}}function*b(E,S,_){let A=E.get(S);if(A){for(let{value:L,valid:j}of A)if(yield*j(_))return{valid:!0,value:L}}return{valid:!1,value:null}}function m(E,S,_,A){S.configured()||S.forever();let L=E.get(_);switch(S.deactivate(),S.mode()){case"forever":L=[{value:A,valid:o}],E.set(_,L);break;case"invalidate":L=[{value:A,valid:S.validator()}],E.set(_,L);break;case"valid":L?L.push({value:A,valid:S.validator()}):(L=[{value:A,valid:S.validator()}],E.set(_,L))}}class y{constructor(S){this._active=!0,this._never=!1,this._forever=!1,this._invalidate=!1,this._configured=!1,this._pairs=[],this._data=void 0,this._data=S}simple(){return(function(S){function _(A){if(typeof A!="boolean")return S.using((()=>x(A())));A?S.forever():S.never()}return _.forever=()=>S.forever(),_.never=()=>S.never(),_.using=A=>S.using((()=>x(A()))),_.invalidate=A=>S.invalidate((()=>x(A()))),_})(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(S){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 _=S(this._data),A=(0,c.maybeAsync)(S,"You appear to be using an async cache handler, but Babel has been called synchronously");return(0,c.isThenable)(_)?_.then((L=>(this._pairs.push([L,A]),L))):(this._pairs.push([_,A]),_)}invalidate(S){return this._invalidate=!0,this.using(S)}validator(){let S=this._pairs;return function*(_){for(let[A,L]of S)if(A!==(yield*L(_)))return!1;return!0}}deactivate(){this._active=!1}configured(){return this._configured}}function x(E){if((0,c.isThenable)(E))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(E!=null&&typeof E!="string"&&typeof E!="boolean"&&typeof E!="number")throw new Error("Cache keys must be either string, boolean, number, null, or undefined.");return E}class v{constructor(){this.released=!1,this.promise=void 0,this._resolve=void 0,this.promise=new Promise((S=>{this._resolve=S}))}release(S){this.released=!0,this._resolve(S)}}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/config-chain.js":(u,e,l)=>{"use strict";function n(){let de=l("path");return n=function(){return de},de}function c(){let de=l("./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js");return c=function(){return de},de}Object.defineProperty(e,"__esModule",{value:!0}),e.buildPresetChain=function*(de,xe){let ye=yield*x(de,xe);return ye?{plugins:oe(ye.plugins),presets:oe(ye.presets),options:ye.options.map((ve=>ie(ve))),files:new Set}:null},e.buildPresetChainWalker=void 0,e.buildRootChain=function*(de,xe){let ye,ve,he=new o.ConfigPrinter,Te=yield*F({options:de,dirname:xe.cwd},xe,void 0,he);if(!Te)return null;let Ce=yield*he.output(),se;typeof de.configFile=="string"?se=yield*(0,f.loadConfig)(de.configFile,xe.cwd,xe.envName,xe.caller):de.configFile!==!1&&(se=yield*(0,f.findRootConfig)(xe.root,xe.envName,xe.caller));let{babelrc:pe,babelrcRoots:nt}=de,ft=xe.cwd,_t=X(),Pt=new o.ConfigPrinter;if(se){let ge=A(se),fe=yield*U(ge,xe,void 0,Pt);if(!fe)return null;ye=yield*Pt.output(),pe===void 0&&(pe=ge.options.babelrc),nt===void 0&&(ft=ge.dirname,nt=ge.options.babelrcRoots),Z(_t,fe)}let ht,De,ze=!1,Ze=X();if((pe===!0||pe===void 0)&&typeof xe.filename=="string"){let ge=yield*(0,f.findPackageData)(xe.filename);if(ge&&(function(fe,ee,le,Se){if(typeof le=="boolean")return le;let Ee=fe.root;if(le===void 0)return ee.directories.includes(Ee);let Be=le;return Array.isArray(Be)||(Be=[Be]),Be=Be.map((Qe=>typeof Qe=="string"?n().resolve(Se,Qe):Qe)),Be.length===1&&Be[0]===Ee?ee.directories.includes(Ee):Be.some((Qe=>(typeof Qe=="string"&&(Qe=(0,i.default)(Qe,Se)),ee.directories.some((ce=>Oe(Qe,Se,ce,fe))))))})(xe,ge,nt,ft)){if({ignore:ht,config:De}=yield*(0,f.findRelativeConfig)(ge,xe.envName,xe.caller),ht&&Ze.files.add(ht.filepath),ht&&Ke(xe,ht.ignore,null,ht.dirname)&&(ze=!0),De&&!ze){let fe=L(De),ee=new o.ConfigPrinter,le=yield*U(fe,xe,void 0,ee);le?(ve=yield*ee.output(),Z(Ze,le)):ze=!0}De&&ze&&Ze.files.add(De.filepath)}}xe.showConfig&&console.log(`Babel configs on "${xe.filename}" (ascending priority):
|
|
`+[ye,ve,Ce].filter((ge=>!!ge)).join(`
|
|
|
|
`)+`
|
|
-----End Babel configs-----`);let tt=Z(Z(Z(X(),_t),Ze),Te);return{plugins:ze?[]:oe(tt.plugins),presets:ze?[]:oe(tt.presets),options:ze?[]:tt.options.map((ge=>ie(ge))),fileHandling:ze?"ignored":"transpile",ignore:ht||void 0,babelrc:De||void 0,config:se||void 0,files:tt.files}};var p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/validation/options.js"),i=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/pattern-to-regex.js"),o=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/printer.js"),h=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"),d=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/errors/config-error.js"),f=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/index.js"),b=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/caching.js"),m=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/config-descriptors.js");let y=c()("babel:config:config-chain"),x=e.buildPresetChainWalker=$({root:de=>v(de),env:(de,xe)=>E(de)(xe),overrides:(de,xe)=>S(de)(xe),overridesEnv:(de,xe,ye)=>_(de)(xe)(ye),createLogger:()=>()=>{}}),v=(0,b.makeWeakCacheSync)((de=>V(de,de.alias,m.createUncachedDescriptors))),E=(0,b.makeWeakCacheSync)((de=>(0,b.makeStrongCacheSync)((xe=>B(de,de.alias,m.createUncachedDescriptors,xe))))),S=(0,b.makeWeakCacheSync)((de=>(0,b.makeStrongCacheSync)((xe=>q(de,de.alias,m.createUncachedDescriptors,xe))))),_=(0,b.makeWeakCacheSync)((de=>(0,b.makeStrongCacheSync)((xe=>(0,b.makeStrongCacheSync)((ye=>K(de,de.alias,m.createUncachedDescriptors,xe,ye))))))),A=(0,b.makeWeakCacheSync)((de=>({filepath:de.filepath,dirname:de.dirname,options:(0,p.validate)("configfile",de.options,de.filepath)}))),L=(0,b.makeWeakCacheSync)((de=>({filepath:de.filepath,dirname:de.dirname,options:(0,p.validate)("babelrcfile",de.options,de.filepath)}))),j=(0,b.makeWeakCacheSync)((de=>({filepath:de.filepath,dirname:de.dirname,options:(0,p.validate)("extendsfile",de.options,de.filepath)}))),F=$({root:de=>V(de,"base",m.createCachedDescriptors),env:(de,xe)=>B(de,"base",m.createCachedDescriptors,xe),overrides:(de,xe)=>q(de,"base",m.createCachedDescriptors,xe),overridesEnv:(de,xe,ye)=>K(de,"base",m.createCachedDescriptors,xe,ye),createLogger:(de,xe,ye)=>(function(ve,he,Te){var Ce;return Te?Te.configure(he.showConfig,o.ChainFormatter.Programmatic,{callerName:(Ce=he.caller)==null?void 0:Ce.name}):()=>{}})(0,xe,ye)}),k=$({root:de=>z(de),env:(de,xe)=>C(de)(xe),overrides:(de,xe)=>R(de)(xe),overridesEnv:(de,xe,ye)=>G(de)(xe)(ye),createLogger:(de,xe,ye)=>(function(ve,he,Te){return Te?Te.configure(he.showConfig,o.ChainFormatter.Config,{filepath:ve}):()=>{}})(de.filepath,xe,ye)});function*U(de,xe,ye,ve){let he=yield*k(de,xe,ye,ve);return he==null||he.files.add(de.filepath),he}let z=(0,b.makeWeakCacheSync)((de=>V(de,de.filepath,m.createUncachedDescriptors))),C=(0,b.makeWeakCacheSync)((de=>(0,b.makeStrongCacheSync)((xe=>B(de,de.filepath,m.createUncachedDescriptors,xe))))),R=(0,b.makeWeakCacheSync)((de=>(0,b.makeStrongCacheSync)((xe=>q(de,de.filepath,m.createUncachedDescriptors,xe))))),G=(0,b.makeWeakCacheSync)((de=>(0,b.makeStrongCacheSync)((xe=>(0,b.makeStrongCacheSync)((ye=>K(de,de.filepath,m.createUncachedDescriptors,xe,ye)))))));function V({dirname:de,options:xe},ye,ve){return ve(de,xe,ye)}function B({dirname:de,options:xe},ye,ve,he){var Te;let Ce=(Te=xe.env)==null?void 0:Te[he];return Ce?ve(de,Ce,`${ye}.env["${he}"]`):null}function q({dirname:de,options:xe},ye,ve,he){var Te;let Ce=(Te=xe.overrides)==null?void 0:Te[he];if(!Ce)throw new Error("Assertion failure - missing override");return ve(de,Ce,`${ye}.overrides[${he}]`)}function K({dirname:de,options:xe},ye,ve,he,Te){var Ce,se;let pe=(Ce=xe.overrides)==null?void 0:Ce[he];if(!pe)throw new Error("Assertion failure - missing override");let nt=(se=pe.env)==null?void 0:se[Te];return nt?ve(de,nt,`${ye}.overrides[${he}].env["${Te}"]`):null}function $({root:de,env:xe,overrides:ye,overridesEnv:ve,createLogger:he}){return function*(Te,Ce,se=new Set,pe){let{dirname:nt}=Te,ft=[],_t=de(Te);if(be(_t,nt,Ce,Te.filepath)){ft.push({config:_t,envName:void 0,index:void 0});let De=xe(Te,Ce.envName);De&&be(De,nt,Ce,Te.filepath)&&ft.push({config:De,envName:Ce.envName,index:void 0}),(_t.options.overrides||[]).forEach(((ze,Ze)=>{let tt=ye(Te,Ze);if(be(tt,nt,Ce,Te.filepath)){ft.push({config:tt,index:Ze,envName:void 0});let ge=ve(Te,Ze,Ce.envName);ge&&be(ge,nt,Ce,Te.filepath)&&ft.push({config:ge,index:Ze,envName:Ce.envName})}}))}if(ft.some((({config:{options:{ignore:De,only:ze}}})=>Ke(Ce,De,ze,nt))))return null;let Pt=X(),ht=he(Te,Ce,pe);for(let{config:De,index:ze,envName:Ze}of ft){if(!(yield*W(Pt,De.options,nt,Ce,se,pe)))return null;ht(De,ze,Ze),yield*Q(Pt,De)}return Pt}}function*W(de,xe,ye,ve,he,Te){if(xe.extends===void 0)return!0;let Ce=yield*(0,f.loadConfig)(xe.extends,ye,ve.envName,ve.caller);if(he.has(Ce))throw new Error(`Configuration cycle detected loading ${Ce.filepath}.
|
|
File already loaded following the config chain:
|
|
`+Array.from(he,(pe=>` - ${pe.filepath}`)).join(`
|
|
`));he.add(Ce);let se=yield*U(j(Ce),ve,he,Te);return he.delete(Ce),!!se&&(Z(de,se),!0)}function Z(de,xe){de.options.push(...xe.options),de.plugins.push(...xe.plugins),de.presets.push(...xe.presets);for(let ye of xe.files)de.files.add(ye);return de}function*Q(de,{options:xe,plugins:ye,presets:ve}){return de.options.push(xe),de.plugins.push(...yield*ye()),de.presets.push(...yield*ve()),de}function X(){return{options:[],presets:[],plugins:[],files:new Set}}function ie(de){let xe=Object.assign({},de);return delete xe.extends,delete xe.env,delete xe.overrides,delete xe.plugins,delete xe.presets,delete xe.passPerPreset,delete xe.ignore,delete xe.only,delete xe.test,delete xe.include,delete xe.exclude,hasOwnProperty.call(xe,"sourceMap")&&(xe.sourceMaps=xe.sourceMap,delete xe.sourceMap),xe}function oe(de){let xe=new Map,ye=[];for(let ve of de)if(typeof ve.value=="function"){let he=ve.value,Te=xe.get(he);Te||(Te=new Map,xe.set(he,Te));let Ce=Te.get(ve.name);Ce?Ce.value=ve:(Ce={value:ve},ye.push(Ce),ve.ownPass||Te.set(ve.name,Ce))}else ye.push({value:ve});return ye.reduce(((ve,he)=>(ve.push(he.value),ve)),[])}function be({options:de},xe,ye,ve){return(de.test===void 0||Ne(ye,de.test,xe,ve))&&(de.include===void 0||Ne(ye,de.include,xe,ve))&&(de.exclude===void 0||!Ne(ye,de.exclude,xe,ve))}function Ne(de,xe,ye,ve){return We(de,Array.isArray(xe)?xe:[xe],ye,ve)}function Pe(de,xe){return xe instanceof RegExp?String(xe):xe}function Ke(de,xe,ye,ve){if(xe&&We(de,xe,ve)){var he;let Ce=`No config is applied to "${(he=de.filename)!=null?he:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(xe,Pe)}\` from "${ve}"`;return y(Ce),de.showConfig&&console.log(Ce),!0}if(ye&&!We(de,ye,ve)){var Te;let Ce=`No config is applied to "${(Te=de.filename)!=null?Te:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(ye,Pe)}\` from "${ve}"`;return y(Ce),de.showConfig&&console.log(Ce),!0}return!1}function We(de,xe,ye,ve){return xe.some((he=>Oe(he,ye,de.filename,de,ve)))}function Oe(de,xe,ye,ve,he){if(typeof de=="function")return!!(0,h.endHiddenCallStack)(de)(ye,{dirname:xe,envName:ve.envName,caller:ve.caller});if(typeof ye!="string")throw new d.default("Configuration contains string/RegExp pattern, but no filename was passed to Babel",he);return typeof de=="string"&&(de=(0,i.default)(de,xe)),de.test(ye)}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/config-descriptors.js":(u,e,l)=>{"use strict";function n(){let j=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return n=function(){return j},j}Object.defineProperty(e,"__esModule",{value:!0}),e.createCachedDescriptors=function(j,F,k){let{plugins:U,presets:z,passPerPreset:C}=F;return{options:f(F,j),plugins:U?()=>x(U,j)(k):()=>d([]),presets:z?()=>m(z,j)(k)(!!C):()=>d([])}},e.createDescriptor=L,e.createUncachedDescriptors=function(j,F,k){return{options:f(F,j),plugins:(0,c.once)((()=>_(F.plugins||[],j,k))),presets:(0,c.once)((()=>S(F.presets||[],j,k,!!F.passPerPreset)))}};var c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/gensync-utils/functional.js"),p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/index.js"),i=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/item.js"),o=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/caching.js"),h=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/resolve-targets.js");function*d(j){return j}function f(j,F){return typeof j.browserslistConfigFile=="string"&&(j.browserslistConfigFile=(0,h.resolveBrowserslistConfigFile)(j.browserslistConfigFile,F)),j}let b=new WeakMap,m=(0,o.makeWeakCacheSync)(((j,F)=>{let k=F.using((U=>U));return(0,o.makeStrongCacheSync)((U=>(0,o.makeStrongCache)((function*(z){return(yield*S(j,k,U,z)).map((C=>E(b,C)))}))))})),y=new WeakMap,x=(0,o.makeWeakCacheSync)(((j,F)=>{let k=F.using((U=>U));return(0,o.makeStrongCache)((function*(U){return(yield*_(j,k,U)).map((z=>E(y,z)))}))})),v={};function E(j,F){let{value:k,options:U=v}=F;if(U===!1)return F;let z=j.get(k);z||(z=new WeakMap,j.set(k,z));let C=z.get(U);if(C||(C=[],z.set(U,C)),!C.includes(F)){let R=C.filter((G=>{return B=F,(V=G).name===B.name&&V.value===B.value&&V.options===B.options&&V.dirname===B.dirname&&V.alias===B.alias&&V.ownPass===B.ownPass&&((q=V.file)==null?void 0:q.request)===((K=B.file)==null?void 0:K.request)&&(($=V.file)==null?void 0:$.resolved)===((W=B.file)==null?void 0:W.resolved);var V,B,q,K,$,W}));if(R.length>0)return R[0];C.push(F)}return F}function*S(j,F,k,U){return yield*A("preset",j,F,k,U)}function*_(j,F,k){return yield*A("plugin",j,F,k)}function*A(j,F,k,U,z){let C=yield*n().all(F.map(((R,G)=>L(R,k,{type:j,alias:`${U}$${G}`,ownPass:!!z}))));return(function(R){let G=new Map;for(let V of R){if(typeof V.value!="function")continue;let B=G.get(V.value);if(B||(B=new Set,G.set(V.value,B)),B.has(V.name)){let q=R.filter((K=>K.value===V.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(q,null,2)}`].join(`
|
|
`))}B.add(V.name)}})(C),C}function*L(j,F,{type:k,alias:U,ownPass:z}){let C=(0,i.getItemDescriptor)(j);if(C)return C;let R,G,V,B=j;Array.isArray(B)&&(B.length===3?[B,G,R]=B:[B,G]=B);let q=null;if(typeof B=="string"){if(typeof k!="string")throw new Error("To resolve a string-based item, the type of item must be given");let K=k==="plugin"?p.loadPlugin:p.loadPreset,$=B;({filepath:q,value:B}=yield*K(B,F)),V={request:$,resolved:q}}if(!B)throw new Error(`Unexpected falsy value: ${String(B)}`);if(typeof B=="object"&&B.__esModule){if(!B.default)throw new Error("Must export a default export when using ES6 modules.");B=B.default}if(typeof B!="object"&&typeof B!="function")throw new Error(`Unsupported format: ${typeof B}. Expected an object or a function.`);if(q!==null&&typeof B=="object"&&B)throw new Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${q}`);return{name:R,alias:q||U,value:B,options:G,dirname:F,ownPass:z,file:V}}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/configuration.js":(u,e,l)=>{"use strict";function n(){let V=l("./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js");return n=function(){return V},V}function c(){let V=l("fs");return c=function(){return V},V}function p(){let V=l("path");return p=function(){return V},V}function i(){let V=l("./node_modules/.pnpm/json5@2.2.3/node_modules/json5/dist/index.mjs");return i=function(){return V},V}function o(){let V=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return o=function(){return V},V}Object.defineProperty(e,"__esModule",{value:!0}),e.ROOT_CONFIG_FILENAMES=void 0,e.findConfigUpwards=function(V){let B=V;for(;;){for(let K of _)if(c().existsSync(p().join(B,K)))return B;let q=p().dirname(B);if(B===q)break;B=q}return null},e.findRelativeConfig=function*(V,B,q){let K=null,$=null,W=p().dirname(V.filepath);for(let Q of V.directories){var Z;if(K||(K=yield*R(A,Q,B,q,((Z=V.pkg)==null?void 0:Z.dirname)===Q?U(V.pkg):null)),!$){let X=p().join(Q,L);$=yield*C(X),$&&S("Found ignore %o from %o.",$.filepath,W)}}return{config:K,ignore:$}},e.findRootConfig=function(V,B,q){return R(_,V,B,q)},e.loadConfig=function*(V,B,q,K){let $=(Z=process.versions.node,Q="8.9",Z=Z.split("."),Q=Q.split("."),+Z[0]>+Q[0]||Z[0]==Q[0]&&+Z[1]>=+Q[1]?l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive").resolve:(X,{paths:[ie]},oe=l("module"))=>{let be=oe._findPath(X,oe._nodeModulePaths(ie).concat(ie));if(be)return be;throw be=new Error(`Cannot resolve module '${X}'`),be.code="MODULE_NOT_FOUND",be})(V,{paths:[B]}),W=yield*G($,q,K);var Z,Q;if(!W)throw new y.default("Config file contains no configuration data",$);return S("Loaded config %o from %o.",V,B),W},e.resolveShowConfigPath=function*(V){let B=process.env.BABEL_SHOW_CONFIG_FOR;if(B!=null){let q=p().resolve(V,B);if(!(yield*x.stat(q)).isFile())throw new Error(`${q}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`);return q}return null};var h=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/caching.js"),d=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/helpers/config-api.js"),f=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/utils.js"),b=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/module-types.js"),m=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/pattern-to-regex.js"),y=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/errors/config-error.js"),x=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/gensync-utils/fs.js"),v=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"),E=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/gensync-utils/async.js");let S=n()("babel:config:loading:files:configuration"),_=e.ROOT_CONFIG_FILENAMES=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json","babel.config.cts"],A=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json",".babelrc.cts"],L=".babelignore",j=(0,h.makeWeakCache)((function*(V,B){return yield*[],{options:(0,v.endHiddenCallStack)(V)((0,d.makeConfigAPI)(B)),cacheNeedsConfiguration:!B.configured()}}));function*F(V,B){if(!c().existsSync(V))return null;let q=yield*(0,b.default)(V,(yield*(0,E.isAsync)())?"auto":"require","You appear to be using a native ECMAScript module configuration file, which is only supported when running Babel asynchronously or when using the Node.js `--experimental-require-module` flag.","You appear to be using a configuration file that contains top-level await, which is only supported when running Babel asynchronously."),K=!1;if(typeof q=="function"&&({options:q,cacheNeedsConfiguration:K}=yield*j(q,B)),!q||typeof q!="object"||Array.isArray(q))throw new y.default("Configuration should be an exported JavaScript object.",V);if(typeof q.then=="function")throw q.catch==null||q.catch((()=>{})),new y.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.",V);return K&&(function($){throw new y.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 { };
|
|
};`,$)})(V),(function($,W){let Z=k.get($);Z||k.set($,Z=new Map);let Q=Z.get(W);return Q||(Q={filepath:W,dirname:p().dirname(W),options:$},Z.set(W,Q)),Q})(q,V)}let k=new WeakMap,U=(0,h.makeWeakCacheSync)((V=>{let B=V.options.babel;if(B===void 0)return null;if(typeof B!="object"||Array.isArray(B)||B===null)throw new y.default(".babel property must be an object",V.filepath);return{filepath:V.filepath,dirname:V.dirname,options:B}})),z=(0,f.makeStaticFileCache)(((V,B)=>{let q;try{q=i().parse(B)}catch(K){throw new y.default(`Error while parsing config - ${K.message}`,V)}if(!q)throw new y.default("No config detected",V);if(typeof q!="object")throw new y.default("Config returned typeof "+typeof q,V);if(Array.isArray(q))throw new y.default("Expected config object but found array",V);return delete q.$schema,{filepath:V,dirname:p().dirname(V),options:q}})),C=(0,f.makeStaticFileCache)(((V,B)=>{let q=p().dirname(V),K=B.split(`
|
|
`).map(($=>$.replace(/#.*$/,"").trim())).filter(Boolean);for(let $ of K)if($[0]==="!")throw new y.default("Negation of file paths is not supported.",V);return{filepath:V,dirname:p().dirname(V),ignore:K.map(($=>(0,m.default)($,q)))}}));function*R(V,B,q,K,$=null){let W=(yield*o().all(V.map((Z=>G(p().join(B,Z),q,K))))).reduce(((Z,Q)=>{if(Q&&Z)throw new y.default(`Multiple configuration files found. Please remove one:
|
|
- ${p().basename(Z.filepath)}
|
|
- ${Q.filepath}
|
|
from ${B}`);return Q||Z}),$);return W&&S("Found configuration %o from %o.",W.filepath,B),W}function G(V,B,q){switch(p().extname(V)){case".js":case".cjs":case".mjs":case".cts":return F(V,{envName:B,caller:q});default:return z(V)}}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/import.cjs":(u,e,l)=>{u.exports=function(n){return l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files lazy recursive")(n)}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ROOT_CONFIG_FILENAMES",{enumerable:!0,get:function(){return c.ROOT_CONFIG_FILENAMES}}),Object.defineProperty(e,"findConfigUpwards",{enumerable:!0,get:function(){return c.findConfigUpwards}}),Object.defineProperty(e,"findPackageData",{enumerable:!0,get:function(){return n.findPackageData}}),Object.defineProperty(e,"findRelativeConfig",{enumerable:!0,get:function(){return c.findRelativeConfig}}),Object.defineProperty(e,"findRootConfig",{enumerable:!0,get:function(){return c.findRootConfig}}),Object.defineProperty(e,"loadConfig",{enumerable:!0,get:function(){return c.loadConfig}}),Object.defineProperty(e,"loadPlugin",{enumerable:!0,get:function(){return p.loadPlugin}}),Object.defineProperty(e,"loadPreset",{enumerable:!0,get:function(){return p.loadPreset}}),Object.defineProperty(e,"resolvePlugin",{enumerable:!0,get:function(){return p.resolvePlugin}}),Object.defineProperty(e,"resolvePreset",{enumerable:!0,get:function(){return p.resolvePreset}}),Object.defineProperty(e,"resolveShowConfigPath",{enumerable:!0,get:function(){return c.resolveShowConfigPath}});var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/package.js"),c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/configuration.js"),p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/plugins.js")},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/module-types.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function*(F,k,U,z){var C;let R,G=c().extname(F);switch(A.has(G)||(G=".js"),`${k} ${G}`){case"require .cjs":case"auto .cjs":return v(F,arguments[2]);case"require .cts":case"auto .cts":return(function(B){let q=".cts",K=!!(l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive").extensions[".ts"]||l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive").extensions[".cts"]||l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive").extensions[".mts"]),$;if(!K){let W={babelrc:!1,configFile:!1,sourceType:"unambiguous",sourceMaps:"inline",sourceFileName:c().basename(B),presets:[[j(B),Object.assign({onlyRemoveTypeImports:!0,optimizeConstEnums:!0},{allowDeclareFields:!0})]]};$=function(Z,Q){if($&&Q.endsWith(q))try{return Z._compile((0,f.transformFileSync)(Q,Object.assign({},W,{filename:Q})).code,Q)}catch(X){if(!K){let ie=l("./node_modules/.pnpm/@babel+preset-typescript@7.26.0_@babel+core@7.26.0/node_modules/@babel/preset-typescript/package.json");i().lt(ie.version,"7.21.4")&&console.error("`.cts` configuration file failed to load, please try to update `@babel/preset-typescript`.")}throw X}return l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive").extensions[".js"](Z,Q)},l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive").extensions[q]=$}try{return v(B)}finally{K||(l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive").extensions[q]===$&&delete l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive").extensions[q],$=void 0)}})(F);case"auto .js":case"require .js":case"require .mjs":try{return v(F,arguments[2])}catch(B){var V;if(B.code==="ERR_REQUIRE_ASYNC_MODULE"||B.code==="ERR_REQUIRE_CYCLE_MODULE"&&L.has(F)){if(L.add(F),!((V=R)!=null?V:R=yield*(0,n.isAsync)()))throw new d.default(z,F)}else if(B.code!=="ERR_REQUIRE_ESM"&&G!==".mjs")throw B}case"auto .mjs":if((C=R)!=null?C:R=yield*(0,n.isAsync)())return(yield*(0,n.waitFor)(E(F))).default;throw new d.default(U,F);default:throw new Error("Internal Babel error: unreachable code.")}},e.supportsESM=void 0;var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/gensync-utils/async.js");function c(){let F=l("path");return c=function(){return F},F}function p(){let F=l("url");return p=function(){return F},F}function i(){let F=l("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return i=function(){return F},F}function o(){let F=l("./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js");return o=function(){return F},F}var h=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"),d=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/errors/config-error.js"),f=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transform-file.js");function b(F,k,U,z,C,R,G){try{var V=F[R](G),B=V.value}catch(q){return void U(q)}V.done?k(B):Promise.resolve(B).then(z,C)}let m=o()("babel:config:loading:files:module-types");try{var y=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/import.cjs")}catch{}e.supportsESM=i().satisfies(process.versions.node,"^12.17 || >=13.2");let x=new Set;function v(F){if(x.has(F))return m("Auto-ignoring usage of config %o.",F),{};let k;try{x.add(F),k=(0,h.endHiddenCallStack)(l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive"))(F)}finally{x.delete(F)}return k==null||!k.__esModule&&k[Symbol.toStringTag]!=="Module"?k:k.default||(arguments[1]?k:void 0)}let E=(0,h.endHiddenCallStack)((S=function*(F){let k=(0,p().pathToFileURL)(F).toString()+"?import";if(!y)throw new d.default(`Internal error: Native ECMAScript modules aren't supported by this platform.
|
|
`,F);return yield y(k)},_=function(){var F=this,k=arguments;return new Promise((function(U,z){var C=S.apply(F,k);function R(V){b(C,U,z,R,G,"next",V)}function G(V){b(C,U,z,R,G,"throw",V)}R(void 0)}))},function(F){return _.apply(this,arguments)}));var S,_;let A=new Set([".js",".mjs",".cjs",".cts"]),L=new Set;function j(F){try{return l("./node_modules/.pnpm/@babel+preset-typescript@7.26.0_@babel+core@7.26.0/node_modules/@babel/preset-typescript/lib/index.js")}catch(k){if(k.code!=="MODULE_NOT_FOUND")throw k;let U="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&&(U+=`
|
|
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 d.default(U,F)}}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/package.js":(u,e,l)=>{"use strict";function n(){let h=l("path");return n=function(){return h},h}Object.defineProperty(e,"__esModule",{value:!0}),e.findPackageData=function*(h){let d=null,f=[],b=!0,m=n().dirname(h);for(;!d&&n().basename(m)!=="node_modules";){f.push(m),d=yield*o(n().join(m,i));let y=n().dirname(m);if(m===y){b=!1;break}m=y}return{filepath:h,directories:f,pkg:d,isPackage:b}};var c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/utils.js"),p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/errors/config-error.js");let i="package.json",o=(0,c.makeStaticFileCache)(((h,d)=>{let f;try{f=JSON.parse(d)}catch(b){throw new p.default(`Error while parsing JSON - ${b.message}`,h)}if(!f)throw new Error(`${h}: No config detected`);if(typeof f!="object")throw new p.default("Config returned typeof "+typeof f,h);if(Array.isArray(f))throw new p.default("Expected config object but found array",h);return{filepath:h,dirname:n().dirname(h),options:f}}))},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/plugins.js":(u,e,l)=>{"use strict";function n(){let V=l("./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js");return n=function(){return V},V}function c(){let V=l("path");return c=function(){return V},V}Object.defineProperty(e,"__esModule",{value:!0}),e.loadPlugin=function*(V,B){let{filepath:q,loader:K}=A(V,B,yield*(0,p.isAsync)()),$=yield*G("plugin",K,q);return f("Loaded plugin %o from %o.",V,B),{filepath:q,value:$}},e.loadPreset=function*(V,B){let{filepath:q,loader:K}=L(V,B,yield*(0,p.isAsync)()),$=yield*G("preset",K,q);return f("Loaded preset %o from %o.",V,B),{filepath:q,value:$}},e.resolvePreset=e.resolvePlugin=void 0;var p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/gensync-utils/async.js"),i=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/module-types.js");function o(){let V=l("url");return o=function(){return V},V}var h=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/vendor/import-meta-resolve.js");function d(){let V=l("fs");return d=function(){return V},V}let f=n()("babel:config:loading:files:plugins"),b=/^module:/,m=/^(?!@|module:|[^/]+\/|babel-plugin-)/,y=/^(?!@|module:|[^/]+\/|babel-preset-)/,x=/^(@babel\/)(?!plugin-|[^/]+\/)/,v=/^(@babel\/)(?!preset-|[^/]+\/)/,E=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/,S=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/,_=/^(@(?!babel$)[^/]+)$/,A=e.resolvePlugin=C.bind(null,"plugin"),L=e.resolvePreset=C.bind(null,"preset");function j(V,B){if(c().isAbsolute(B))return B;let q=V==="preset";return B.replace(q?y:m,`babel-${V}-`).replace(q?v:x,`$1${V}-`).replace(q?S:E,`$1babel-${V}-`).replace(_,`$1/babel-${V}`).replace(b,"")}function*F(V,B){let q=j(V,B),{error:K,value:$}=yield q;if(!K)return $;if(K.code!=="MODULE_NOT_FOUND")throw K;q===B||(yield B).error||(K.message+=`
|
|
- If you want to resolve "${B}", use "module:${B}"`),(yield j(V,"@babel/"+B)).error||(K.message+=`
|
|
- Did you mean "@babel/${B}"?`);let W=V==="preset"?"plugin":"preset";if((yield j(W,B)).error||(K.message+=`
|
|
- Did you accidentally pass a ${W} as a ${V}?`),V==="plugin"){let Z=q.replace("-proposal-","-transform-");Z===q||(yield Z).error||(K.message+=`
|
|
- Did you mean "${Z}"?`)}throw K.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.
|
|
`,K}function k(V,B){try{return B?{error:null,value:(q=process.versions.node,K="8.9",q=q.split("."),K=K.split("."),+q[0]>+K[0]||q[0]==K[0]&&+q[1]>=+K[1]?l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive").resolve:($,{paths:[W]},Z=l("module"))=>{let Q=Z._findPath($,Z._nodeModulePaths(W).concat(W));if(Q)return Q;throw Q=new Error(`Cannot resolve module '${$}'`),Q.code="MODULE_NOT_FOUND",Q})(V,{paths:[B]})}:{error:null,value:l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files sync recursive").resolve(V)}}catch($){return{error:$,value:null}}var q,K}function U(V,B){try{return{error:null,value:(0,h.resolve)(V,B)}}catch(q){return{error:q,value:null}}}function z(V,B,q){let K=F(V,B),$=K.next();for(;!$.done;)$=K.next(k($.value,q));return{loader:"require",filepath:$.value}}function C(V,B,q,K){if(!i.supportsESM||!K)return z(V,B,q);try{let $=(function(W,Z,Q){let X=(0,o().pathToFileURL)(c().join(Q,"./babel-virtual-resolve-base.js")).href,ie=F(W,Z),oe=ie.next();for(;!oe.done;)oe=ie.next(U(oe.value,X));return{loader:"auto",filepath:(0,o().fileURLToPath)(oe.value)}})(V,B,q);if(!(0,d().existsSync)($.filepath))throw Object.assign(new Error(`Could not resolve "${B}" in file ${q}.`),{type:"MODULE_NOT_FOUND"});return $}catch($){try{return z(V,B,q)}catch(W){throw $.type==="MODULE_NOT_FOUND"?$:W.type==="MODULE_NOT_FOUND"?W:$}}}var R=new Set;function*G(V,B,q){if(!(yield*(0,p.isAsync)())&&R.has(q))throw new Error(`Reentrant ${V} detected trying to load "${q}". 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(q),yield*(0,i.default)(q,B,`You appear to be using a native ECMAScript module ${V}, which is only supported when running Babel asynchronously or when using the Node.js \`--experimental-require-module\` flag.`,`You appear to be using a ${V} that contains top-level await, which is only supported when running Babel asynchronously.`,!0)}catch(K){throw K.message=`[BABEL]: ${K.message} (While processing: ${q})`,K}finally{R.delete(q)}}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/utils.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.makeStaticFileCache=function(i){return(0,n.makeStrongCache)((function*(o,h){return h.invalidate((()=>(function(f){if(!p().existsSync(f))return null;try{return+p().statSync(f).mtime}catch(b){if(b.code!=="ENOENT"&&b.code!=="ENOTDIR")throw b}return null})(o)))===null?null:i(o,yield*c.readFile(o,"utf8"))}))};var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/caching.js"),c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/gensync-utils/fs.js");function p(){let i=l("fs");return p=function(){return i},i}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/full.js":(u,e,l)=>{"use strict";function n(){let B=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return n=function(){return B},B}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/gensync-utils/async.js"),p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/util.js"),i=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),o=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/plugin.js"),h=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/item.js"),d=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/config-chain.js"),f=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/helpers/deep-array.js");function b(){let B=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js");return b=function(){return B},B}var m=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/caching.js"),y=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/validation/options.js"),x=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/validation/plugins.js"),v=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/helpers/config-api.js"),E=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/partial.js"),S=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/errors/config-error.js");e.default=n()((function*(B){var q;let K=yield*(0,E.default)(B);if(!K)return null;let{options:$,context:W,fileHandling:Z}=K;if(Z==="ignored")return null;let Q={},{plugins:X,presets:ie}=$;if(!X||!ie)throw new Error("Assertion failure - plugins and presets exist");let oe=Object.assign({},W,{targets:$.targets}),be=ve=>{let he=(0,h.getItemDescriptor)(ve);if(!he)throw new Error("Assertion failure - must be config item");return he},Ne=ie.map(be),Pe=X.map(be),Ke=[[]],We=[],Oe=[];if(yield*_(W,(function*ve(he,Te){let Ce=[];for(let pe=0;pe<he.length;pe++){let nt=he[pe];if(nt.options!==!1){try{var se=yield*G(nt,oe)}catch(ft){throw ft.code==="BABEL_UNKNOWN_OPTION"&&(0,y.checkNoUnwrappedItemOptionPairs)(he,pe,"preset",ft),ft}Oe.push(se.externalDependencies),nt.ownPass?Ce.push({preset:se.chain,pass:[]}):Ce.unshift({preset:se.chain,pass:Te})}}if(Ce.length>0){Ke.splice(1,0,...Ce.map((pe=>pe.pass)).filter((pe=>pe!==Te)));for(let{preset:pe,pass:nt}of Ce){if(!pe||(nt.push(...pe.plugins),yield*ve(pe.presets,nt)))return!0;pe.options.forEach((ft=>{(0,p.mergeOptions)(Q,ft)}))}}}))(Ne,Ke[0]))return null;let xe=Q;(0,p.mergeOptions)(xe,$);let ye=Object.assign({},oe,{assumptions:(q=xe.assumptions)!=null?q:{}});return yield*_(W,(function*(){Ke[0].unshift(...Pe);for(let he of Ke){let Te=[];We.push(Te);for(let Ce=0;Ce<he.length;Ce++){let se=he[Ce];if(se.options!==!1){try{var ve=yield*k(se,ye)}catch(pe){throw pe.code==="BABEL_UNKNOWN_PLUGIN_PROPERTY"&&(0,y.checkNoUnwrappedItemOptionPairs)(he,Ce,"plugin",pe),pe}Te.push(ve),Oe.push(ve.externalDependencies)}}}}))(),xe.plugins=We[0],xe.presets=We.slice(1).filter((ve=>ve.length>0)).map((ve=>({plugins:ve}))),xe.passPerPreset=xe.presets.length>0,{options:xe,passes:We,externalDependencies:(0,f.finalize)(Oe)}}));function _(B,q){return function*(K,$){try{return yield*q(K,$)}catch(Z){var W;throw/^\[BABEL\]/.test(Z.message)||(Z.message=`[BABEL] ${(W=B.filename)!=null?W:"unknown file"}: ${Z.message}`),Z}}}let A=B=>(0,m.makeWeakCache)((function*({value:q,options:K,dirname:$,alias:W},Z){if(K===!1)throw new Error("Assertion failure");K=K||{};let Q=[],X=q;if(typeof q=="function"){let ie=(0,c.maybeAsync)(q,"You appear to be using an async plugin/preset, but Babel has been called synchronously"),oe=Object.assign({},i,B(Z,Q));try{X=yield*ie(oe,K,$)}catch(be){throw W&&(be.message+=` (While processing: ${JSON.stringify(W)})`),be}}if(!X||typeof X!="object")throw new Error("Plugin/Preset did not return an object.");if((0,c.isThenable)(X))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(W)})`);if(Q.length>0&&(!Z.configured()||Z.mode()==="forever")){let ie=`A plugin/preset has external untracked dependencies (${Q[0]}), but the cache `;throw Z.configured()?ie+=" has been configured to never be invalidated. ":ie+="has not been configured to be invalidated when the external dependencies change. ",ie+=`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(W)})`,new Error(ie)}return{value:X,options:K,dirname:$,alias:W,externalDependencies:(0,f.finalize)(Q)}})),L=A(v.makePluginAPI),j=A(v.makePresetAPI),F=(0,m.makeWeakCache)((function*({value:B,options:q,dirname:K,alias:$,externalDependencies:W},Z){let Q=(0,x.validatePluginObject)(B),X=Object.assign({},Q);if(X.visitor&&(X.visitor=b().default.explode(Object.assign({},X.visitor))),X.inherits){let ie={name:void 0,alias:`${$}$inherits`,value:X.inherits,options:q,dirname:K},oe=yield*(0,c.forwardAsync)(k,(be=>Z.invalidate((Ne=>be(ie,Ne)))));X.pre=V(oe.pre,X.pre),X.post=V(oe.post,X.post),X.manipulateOptions=V(oe.manipulateOptions,X.manipulateOptions),X.visitor=b().default.visitors.merge([oe.visitor||{},X.visitor||{}]),oe.externalDependencies.length>0&&(W=W.length===0?oe.externalDependencies:(0,f.finalize)([W,oe.externalDependencies]))}return new o.default(X,q,$,W)}));function*k(B,q){if(B.value instanceof o.default){if(B.options)throw new Error("Passed options to an existing Plugin instance will not work.");return B.value}return yield*F(yield*L(B,q),q)}let U=B=>B&&typeof B!="function",z=(B,q)=>{if(U(B.test)||U(B.include)||U(B.exclude)){let K=q.name?`"${q.name}"`:"/* your preset */";throw new S.default([`Preset ${K} requires a filename to be set when babel is called directly,`,"```",`babel.transformSync(code, { filename: 'file.ts', presets: [${K}] });`,"```","See https://babeljs.io/docs/en/options#filename for more information."].join(`
|
|
`))}},C=(B,q,K)=>{if(!q.filename){var $;let{options:W}=B;z(W,K),($=W.overrides)==null||$.forEach((Z=>z(Z,K)))}},R=(0,m.makeWeakCacheSync)((({value:B,dirname:q,alias:K,externalDependencies:$})=>({options:(0,y.validate)("preset",B),alias:K,dirname:q,externalDependencies:$})));function*G(B,q){let K=R(yield*j(B,q));return C(K,q,B),{chain:yield*(0,d.buildPresetChain)(K,q),externalDependencies:K.externalDependencies}}function V(B,q){return B?q?function(...K){let $=B.apply(this,K);return $&&typeof $.then=="function"?$.then((()=>q.apply(this,K))):q.apply(this,K)}:B:q}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/helpers/config-api.js":(u,e,l)=>{"use strict";function n(){let d=l("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return n=function(){return d},d}Object.defineProperty(e,"__esModule",{value:!0}),e.makeConfigAPI=i,e.makePluginAPI=function(d,f){return Object.assign({},o(d,f),{assumption:b=>d.using((m=>m.assumptions[b]))})},e.makePresetAPI=o;var c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/caching.js");function i(d){return{version:c.version,cache:d.simple(),env:f=>d.using((b=>f===void 0?b.envName:typeof f=="function"?(0,p.assertSimpleType)(f(b.envName)):(Array.isArray(f)?f:[f]).some((m=>{if(typeof m!="string")throw new Error("Unexpected non-string value");return m===b.envName})))),async:()=>!1,caller:f=>d.using((b=>(0,p.assertSimpleType)(f(b.caller)))),assertVersion:h}}function o(d,f){return Object.assign({},i(d),{targets:()=>JSON.parse(d.using((b=>JSON.stringify(b.targets)))),addExternalDependency:b=>{f.push(b)}})}function h(d){if(typeof d=="number"){if(!Number.isInteger(d))throw new Error("Expected string or integer value.");d=`^${d}.0.0-0`}if(typeof d!="string")throw new Error("Expected string or integer value.");if(d==="*"||n().satisfies(c.version,d))return;let f=Error.stackTraceLimit;typeof f=="number"&&f<25&&(Error.stackTraceLimit=25);let b=new Error(`Requires Babel "${d}", but was loaded with "${c.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 f=="number"&&(Error.stackTraceLimit=f),Object.assign(b,{code:"BABEL_VERSION_UNSUPPORTED",version:c.version,range:d})}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/helpers/deep-array.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.finalize=function(l){return Object.freeze(l)},e.flattenToSet=function(l){let n=new Set,c=[l];for(;c.length>0;)for(let p of c.pop())Array.isArray(p)?c.push(p):n.add(p);return n}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/helpers/environment.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getEnv=function(l="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||l}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/index.js":(u,e,l)=>{"use strict";function n(){let x=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return n=function(){return x},x}Object.defineProperty(e,"__esModule",{value:!0}),e.createConfigItem=function(x,v,E){if(E!==void 0)(0,o.beginHiddenCallStack)(m.errback)(x,v,E);else{if(typeof v!="function")return y(x,v);(0,o.beginHiddenCallStack)(m.errback)(x,void 0,E)}},e.createConfigItemAsync=function(...x){return(0,o.beginHiddenCallStack)(m.async)(...x)},e.createConfigItemSync=y,Object.defineProperty(e,"default",{enumerable:!0,get:function(){return c.default}}),e.loadOptions=function(x,v){if(v!==void 0)(0,o.beginHiddenCallStack)(f.errback)(x,v);else{if(typeof x!="function")return b(x);(0,o.beginHiddenCallStack)(f.errback)(void 0,x)}},e.loadOptionsAsync=function(...x){return(0,o.beginHiddenCallStack)(f.async)(...x)},e.loadOptionsSync=b,e.loadPartialConfig=function(x,v){if(v!==void 0)(0,o.beginHiddenCallStack)(h.errback)(x,v);else{if(typeof x!="function")return d(x);(0,o.beginHiddenCallStack)(h.errback)(void 0,x)}},e.loadPartialConfigAsync=function(...x){return(0,o.beginHiddenCallStack)(h.async)(...x)},e.loadPartialConfigSync=d;var c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/full.js"),p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/partial.js"),i=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/item.js"),o=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let h=n()(p.loadPartialConfig);function d(...x){return(0,o.beginHiddenCallStack)(h.sync)(...x)}let f=n()((function*(x){var v;let E=yield*(0,c.default)(x);return(v=E==null?void 0:E.options)!=null?v:null}));function b(...x){return(0,o.beginHiddenCallStack)(f.sync)(...x)}let m=n()(i.createConfigItem);function y(...x){return(0,o.beginHiddenCallStack)(m.sync)(...x)}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/item.js":(u,e,l)=>{"use strict";function n(){let h=l("path");return n=function(){return h},h}Object.defineProperty(e,"__esModule",{value:!0}),e.createConfigItem=function*(h,{dirname:d=".",type:f}={}){return p(yield*(0,c.createDescriptor)(h,n().resolve(d),{type:f,alias:"programmatic item"}))},e.createItemFromDescriptor=p,e.getItemDescriptor=function(h){if(h!=null&&h[i])return h._descriptor};var c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/config-descriptors.js");function p(h){return new o(h)}let i=Symbol.for("@babel/core@7 - ConfigItem");class o{constructor(d){this._descriptor=void 0,this[i]=!0,this.value=void 0,this.options=void 0,this.dirname=void 0,this.name=void 0,this.file=void 0,this._descriptor=d,Object.defineProperty(this,"_descriptor",{enumerable:!1}),Object.defineProperty(this,i,{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(o.prototype)},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/partial.js":(u,e,l)=>{"use strict";function n(){let v=l("path");return n=function(){return v},v}Object.defineProperty(e,"__esModule",{value:!0}),e.default=y,e.loadPartialConfig=function*(v){let E=!1;if(typeof v=="object"&&v!==null&&!Array.isArray(v)){var S=v;({showIgnoredFiles:E}=S),v=(function(z,C){if(z==null)return{};var R={};for(var G in z)if({}.hasOwnProperty.call(z,G)){if(C.includes(G))continue;R[G]=z[G]}return R})(S,m)}let _=yield*y(v);if(!_)return null;let{options:A,babelrc:L,ignore:j,config:F,fileHandling:k,files:U}=_;return k==="ignored"&&!E?null:((A.plugins||[]).forEach((z=>{if(z.value instanceof c.default)throw new Error("Passing cached plugin instances is not supported in babel.loadPartialConfig()")})),new x(A,L?L.filepath:void 0,j?j.filepath:void 0,F?F.filepath:void 0,k,U))};var c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/plugin.js"),p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/util.js"),i=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/item.js"),o=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/config-chain.js"),h=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/helpers/environment.js"),d=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/validation/options.js"),f=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/index.js"),b=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/resolve-targets.js");let m=["showIgnoredFiles"];function*y(v){if(v!=null&&(typeof v!="object"||Array.isArray(v)))throw new Error("Babel options must be an object, null, or undefined");let E=v?(0,d.validate)("arguments",v):{},{envName:S=(0,h.getEnv)(),cwd:_=".",root:A=".",rootMode:L="root",caller:j,cloneInputAst:F=!0}=E,k=n().resolve(_),U=(function(V,B){switch(B){case"root":return V;case"upward-optional":{let q=(0,f.findConfigUpwards)(V);return q===null?V:q}case"upward":{let q=(0,f.findConfigUpwards)(V);if(q!==null)return q;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not be found when searching upward from "${V}".
|
|
One of the following config files must be in the directory tree: "${f.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:V})}default:throw new Error("Assertion failure - unknown rootMode value.")}})(n().resolve(k,A),L),z=typeof E.filename=="string"?n().resolve(_,E.filename):void 0,C={filename:z,cwd:k,root:U,envName:S,caller:j,showConfig:(yield*(0,f.resolveShowConfigPath)(k))===z},R=yield*(0,o.buildRootChain)(E,C);if(!R)return null;let G={assumptions:{}};return R.options.forEach((V=>{(0,p.mergeOptions)(G,V)})),{options:Object.assign({},G,{targets:(0,b.resolveTargets)(G,U),cloneInputAst:F,babelrc:!1,configFile:!1,browserslistConfigFile:!1,passPerPreset:!1,envName:C.envName,cwd:C.cwd,root:C.root,rootMode:"root",filename:typeof C.filename=="string"?C.filename:void 0,plugins:R.plugins.map((V=>(0,i.createItemFromDescriptor)(V))),presets:R.presets.map((V=>(0,i.createItemFromDescriptor)(V)))}),context:C,fileHandling:R.fileHandling,ignore:R.ignore,babelrc:R.babelrc,config:R.config,files:R.files}}class x{constructor(E,S,_,A,L,j){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=E,this.babelignore=_,this.babelrc=S,this.config=A,this.fileHandling=L,this.files=j,Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==void 0||this.config!==void 0}}Object.freeze(x.prototype)},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/pattern-to-regex.js":(u,e,l)=>{"use strict";function n(){let m=l("path");return n=function(){return m},m}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(m,y){let x=n().resolve(y,m).split(n().sep);return new RegExp(["^",...x.map(((v,E)=>{let S=E===x.length-1;return v==="**"?S?f:d:v==="*"?S?h:o:v.indexOf("*.")===0?i+b(v.slice(1))+(S?p:c):b(v)+(S?p:c)}))].join(""))};let c=`\\${n().sep}`,p=`(?:${c}|$)`,i=`[^${c}]+`,o=`(?:${i}${c})`,h=`(?:${i}${p})`,d=`${o}*?`,f=`${o}*?${h}?`;function b(m){return m.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/plugin.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/helpers/deep-array.js");e.default=class{constructor(c,p,i,o=(0,n.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=c.name||i,this.manipulateOptions=c.manipulateOptions,this.post=c.post,this.pre=c.pre,this.visitor=c.visitor||{},this.parserOverride=c.parserOverride,this.generatorOverride=c.generatorOverride,this.options=p,this.externalDependencies=o}}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/printer.js":(u,e,l)=>{"use strict";function n(){let h=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return n=function(){return h},h}Object.defineProperty(e,"__esModule",{value:!0}),e.ConfigPrinter=e.ChainFormatter=void 0;let c=e.ChainFormatter={Programmatic:0,Config:1},p={title(h,d,f){let b="";return h===c.Programmatic?(b="programmatic options",d&&(b+=" from "+d)):b="config "+f,b},loc(h,d){let f="";return h!=null&&(f+=`.overrides[${h}]`),d!=null&&(f+=`.env["${d}"]`),f},*optionsAndDescriptors(h){let d=Object.assign({},h.options);delete d.overrides,delete d.env;let f=[...yield*h.plugins()];f.length&&(d.plugins=f.map((m=>i(m))));let b=[...yield*h.presets()];return b.length&&(d.presets=[...b].map((m=>i(m)))),JSON.stringify(d,void 0,2)}};function i(h){var d;let f=(d=h.file)==null?void 0:d.request;return f==null&&(typeof h.value=="object"?f=h.value:typeof h.value=="function"&&(f=`[Function: ${h.value.toString().slice(0,50)} ... ]`)),f==null&&(f="[Unknown]"),h.options===void 0?f:h.name==null?[f,h.options]:[f,h.options,h.name]}class o{constructor(){this._stack=[]}configure(d,f,{callerName:b,filepath:m}){return d?(y,x,v)=>{this._stack.push({type:f,callerName:b,filepath:m,content:y,index:x,envName:v})}:()=>{}}static*format(d){let f=p.title(d.type,d.callerName,d.filepath),b=p.loc(d.index,d.envName);return b&&(f+=` ${b}`),`${f}
|
|
${yield*p.optionsAndDescriptors(d.content)}`}*output(){return this._stack.length===0?"":(yield*n().all(this._stack.map((d=>o.format(d))))).join(`
|
|
|
|
`)}}e.ConfigPrinter=o},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/resolve-targets.js":(u,e,l)=>{"use strict";function n(){let p=l("path");return n=function(){return p},p}function c(){let p=l("./stubs/helper-compilation-targets.js");return c=function(){return p},p}Object.defineProperty(e,"__esModule",{value:!0}),e.resolveBrowserslistConfigFile=function(p,i){return n().resolve(i,p)},e.resolveTargets=function(p,i){let o=p.targets,h;typeof o=="string"||Array.isArray(o)?h={browsers:o}:o&&(h="esmodules"in o?Object.assign({},o,{esmodules:"intersect"}):o);let{browserslistConfigFile:d}=p,f,b=!1;return typeof d=="string"?f=d:b=d===!1,(0,c().default)(h,{ignoreBrowserslistConfig:b,configFile:f,configPath:i,browserslistEnv:p.browserslistEnv})}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/util.js":(u,e)=>{"use strict";function l(n,c){for(let p of Object.keys(c)){let i=c[p];i!==void 0&&(n[p]=i)}}Object.defineProperty(e,"__esModule",{value:!0}),e.isIterableIterator=function(n){return!!n&&typeof n.next=="function"&&typeof n[Symbol.iterator]=="function"},e.mergeOptions=function(n,c){for(let p of Object.keys(c))if(p!=="parserOpts"&&p!=="generatorOpts"&&p!=="assumptions"||!c[p]){let i=c[p];i!==void 0&&(n[p]=i)}else{let i=c[p];l(n[p]||(n[p]={}),i)}}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/validation/option-assertions.js":(u,e,l)=>{"use strict";function n(){let x=l("./stubs/helper-compilation-targets.js");return n=function(){return x},x}Object.defineProperty(e,"__esModule",{value:!0}),e.access=i,e.assertArray=d,e.assertAssumptions=function(x,v){if(v===void 0)return;if(typeof v!="object"||v===null)throw new Error(`${p(x)} must be an object or undefined.`);let E=x;do E=E.parent;while(E.type!=="root");let S=E.source==="preset";for(let _ of Object.keys(v)){let A=i(x,_);if(!c.assumptionsNames.has(_))throw new Error(`${p(A)} is not a supported assumption.`);if(typeof v[_]!="boolean")throw new Error(`${p(A)} must be a boolean.`);if(S&&v[_]===!1)throw new Error(`${p(A)} cannot be set to 'false' inside presets.`)}return v},e.assertBabelrcSearch=function(x,v){if(v===void 0||typeof v=="boolean")return v;if(Array.isArray(v))v.forEach(((E,S)=>{if(!f(E))throw new Error(`${p(i(x,S))} must be a string/Function/RegExp.`)}));else if(!f(v))throw new Error(`${p(x)} must be a undefined, a boolean, a string/Function/RegExp or an array of those, got ${JSON.stringify(v)}`);return v},e.assertBoolean=o,e.assertCallerMetadata=function(x,v){let E=h(x,v);if(E){if(typeof E.name!="string")throw new Error(`${p(x)} set but does not contain "name" property string`);for(let S of Object.keys(E)){let _=i(x,S),A=E[S];if(A!=null&&typeof A!="boolean"&&typeof A!="string"&&typeof A!="number")throw new Error(`${p(_)} must be null, undefined, a boolean, a string, or a number.`)}}return v},e.assertCompact=function(x,v){if(v!==void 0&&typeof v!="boolean"&&v!=="auto")throw new Error(`${p(x)} must be a boolean, "auto", or undefined`);return v},e.assertConfigApplicableTest=function(x,v){if(v===void 0)return v;if(Array.isArray(v))v.forEach(((E,S)=>{if(!f(E))throw new Error(`${p(i(x,S))} must be a string/Function/RegExp.`)}));else if(!f(v))throw new Error(`${p(x)} must be a string/Function/RegExp, or an array of those`);return v},e.assertConfigFileSearch=function(x,v){if(v!==void 0&&typeof v!="boolean"&&typeof v!="string")throw new Error(`${p(x)} must be a undefined, a boolean, a string, got ${JSON.stringify(v)}`);return v},e.assertFunction=function(x,v){if(v!==void 0&&typeof v!="function")throw new Error(`${p(x)} must be a function, or undefined`);return v},e.assertIgnoreList=function(x,v){let E=d(x,v);return E==null||E.forEach(((S,_)=>(function(A,L){if(typeof L!="string"&&typeof L!="function"&&!(L instanceof RegExp))throw new Error(`${p(A)} must be an array of string/Function/RegExp values, or undefined`);return L})(i(x,_),S))),E},e.assertInputSourceMap=function(x,v){if(v!==void 0&&typeof v!="boolean"&&(typeof v!="object"||!v))throw new Error(`${p(x)} must be a boolean, object, or undefined`);return v},e.assertObject=h,e.assertPluginList=function(x,v){let E=d(x,v);return E&&E.forEach(((S,_)=>(function(A,L){if(Array.isArray(L)){if(L.length===0)throw new Error(`${p(A)} must include an object`);if(L.length>3)throw new Error(`${p(A)} may only be a two-tuple or three-tuple`);if(b(i(A,0),L[0]),L.length>1){let j=L[1];if(j!==void 0&&j!==!1&&(typeof j!="object"||Array.isArray(j)||j===null))throw new Error(`${p(i(A,1))} must be an object, false, or undefined`)}if(L.length===3){let j=L[2];if(j!==void 0&&typeof j!="string")throw new Error(`${p(i(A,2))} must be a string, or undefined`)}}else b(A,L);return L})(i(x,_),S))),E},e.assertRootMode=function(x,v){if(v!==void 0&&v!=="root"&&v!=="upward"&&v!=="upward-optional")throw new Error(`${p(x)} must be a "root", "upward", "upward-optional" or undefined`);return v},e.assertSourceMaps=function(x,v){if(v!==void 0&&typeof v!="boolean"&&v!=="inline"&&v!=="both")throw new Error(`${p(x)} must be a boolean, "inline", "both", or undefined`);return v},e.assertSourceType=function(x,v){if(v!==void 0&&v!=="module"&&v!=="script"&&v!=="unambiguous")throw new Error(`${p(x)} must be "module", "script", "unambiguous", or undefined`);return v},e.assertString=function(x,v){if(v!==void 0&&typeof v!="string")throw new Error(`${p(x)} must be a string, or undefined`);return v},e.assertTargets=function(x,v){if((0,n().isBrowsersQueryValid)(v))return v;if(typeof v!="object"||!v||Array.isArray(v))throw new Error(`${p(x)} must be a string, an array of strings or an object`);let E=i(x,"browsers"),S=i(x,"esmodules");m(E,v.browsers),o(S,v.esmodules);for(let _ of Object.keys(v)){let A=v[_],L=i(x,_);if(_==="esmodules")o(L,A);else if(_==="browsers")m(L,A);else{if(!hasOwnProperty.call(n().TargetNames,_)){let j=Object.keys(n().TargetNames).join(", ");throw new Error(`${p(L)} is not a valid target. Supported targets are ${j}`)}y(L,A)}}return v},e.msg=p;var c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/validation/options.js");function p(x){switch(x.type){case"root":return"";case"env":return`${p(x.parent)}.env["${x.name}"]`;case"overrides":return`${p(x.parent)}.overrides[${x.index}]`;case"option":return`${p(x.parent)}.${x.name}`;case"access":return`${p(x.parent)}[${JSON.stringify(x.name)}]`;default:throw new Error(`Assertion failure: Unknown type ${x.type}`)}}function i(x,v){return{type:"access",name:v,parent:x}}function o(x,v){if(v!==void 0&&typeof v!="boolean")throw new Error(`${p(x)} must be a boolean, or undefined`);return v}function h(x,v){if(v!==void 0&&(typeof v!="object"||Array.isArray(v)||!v))throw new Error(`${p(x)} must be an object, or undefined`);return v}function d(x,v){if(v!=null&&!Array.isArray(v))throw new Error(`${p(x)} must be an array, or undefined`);return v}function f(x){return typeof x=="string"||typeof x=="function"||x instanceof RegExp}function b(x,v){if((typeof v!="object"||!v)&&typeof v!="string"&&typeof v!="function")throw new Error(`${p(x)} must be a string, object, function`);return v}function m(x,v){if(v!==void 0&&!(0,n().isBrowsersQueryValid)(v))throw new Error(`${p(x)} must be undefined, a string or an array of strings`)}function y(x,v){if((typeof v!="number"||Math.round(v)!==v)&&typeof v!="string")throw new Error(`${p(x)} must be a string or an integer number`)}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/validation/options.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assumptionsNames=void 0,e.checkNoUnwrappedItemOptionPairs=function(y,x,v,E){if(x===0)return;let S=y[x-1],_=y[x];S.file&&S.options===void 0&&typeof _.value=="object"&&(E.message+=`
|
|
- Maybe you meant to use
|
|
"${v}s": [
|
|
["${S.file.request}", ${JSON.stringify(_.value,void 0,2)}]
|
|
]
|
|
To be a valid ${v}, its name and options should be wrapped in a pair of brackets`)},e.validate=function(y,x,v){try{return b({type:"root",source:y},x)}catch(E){let S=new p.default(E.message,v);throw E.code&&(S.code=E.code),S}};var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/validation/removed.js"),c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/validation/option-assertions.js"),p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/errors/config-error.js");let i={cwd:c.assertString,root:c.assertString,rootMode:c.assertRootMode,configFile:c.assertConfigFileSearch,caller:c.assertCallerMetadata,filename:c.assertString,filenameRelative:c.assertString,code:c.assertBoolean,ast:c.assertBoolean,cloneInputAst:c.assertBoolean,envName:c.assertString},o={babelrc:c.assertBoolean,babelrcRoots:c.assertBabelrcSearch},h={extends:c.assertString,ignore:c.assertIgnoreList,only:c.assertIgnoreList,targets:c.assertTargets,browserslistConfigFile:c.assertConfigFileSearch,browserslistEnv:c.assertString},d={inputSourceMap:c.assertInputSourceMap,presets:c.assertPluginList,plugins:c.assertPluginList,passPerPreset:c.assertBoolean,assumptions:c.assertAssumptions,env:function(y,x){if(y.parent.type==="env")throw new Error(`${(0,c.msg)(y)} is not allowed inside of another .env block`);let v=y.parent,E=(0,c.assertObject)(y,x);if(E)for(let S of Object.keys(E)){let _=(0,c.assertObject)((0,c.access)(y,S),E[S]);_&&b({type:"env",name:S,parent:v},_)}return E},overrides:function(y,x){if(y.parent.type==="env")throw new Error(`${(0,c.msg)(y)} is not allowed inside an .env block`);if(y.parent.type==="overrides")throw new Error(`${(0,c.msg)(y)} is not allowed inside an .overrides block`);let v=y.parent,E=(0,c.assertArray)(y,x);if(E)for(let[S,_]of E.entries()){let A=(0,c.access)(y,S),L=(0,c.assertObject)(A,_);if(!L)throw new Error(`${(0,c.msg)(A)} must be an object`);b({type:"overrides",index:S,parent:v},L)}return E},test:c.assertConfigApplicableTest,include:c.assertConfigApplicableTest,exclude:c.assertConfigApplicableTest,retainLines:c.assertBoolean,comments:c.assertBoolean,shouldPrintComment:c.assertFunction,compact:c.assertCompact,minified:c.assertBoolean,auxiliaryCommentBefore:c.assertString,auxiliaryCommentAfter:c.assertString,sourceType:c.assertSourceType,wrapPluginVisitorMethod:c.assertFunction,highlightCode:c.assertBoolean,sourceMaps:c.assertSourceMaps,sourceMap:c.assertSourceMaps,sourceFileName:c.assertString,sourceRoot:c.assertString,parserOpts:c.assertObject,generatorOpts:c.assertObject};Object.assign(d,{getModuleId:c.assertFunction,moduleRoot:c.assertString,moduleIds:c.assertBoolean,moduleId:c.assertString}),e.assumptionsNames=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","noUninitializedPrivateFieldAccess","objectRestNoSymbols","privateFieldsAsSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);function f(y){return y.type==="root"?y.source:f(y.parent)}function b(y,x){let v=f(y);return(function(E){if(hasOwnProperty.call(E,"sourceMap")&&hasOwnProperty.call(E,"sourceMaps"))throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")})(x),Object.keys(x).forEach((E=>{let S={type:"option",name:E,parent:y};if(v==="preset"&&h[E])throw new Error(`${(0,c.msg)(S)} is not allowed in preset options`);if(v!=="arguments"&&i[E])throw new Error(`${(0,c.msg)(S)} is only allowed in root programmatic options`);if(v!=="arguments"&&v!=="configfile"&&o[E])throw v==="babelrcfile"||v==="extendsfile"?new Error(`${(0,c.msg)(S)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, or babel.config.js/config file options`):new Error(`${(0,c.msg)(S)} is only allowed in root programmatic options, or babel.config.js/config file options`);(d[E]||h[E]||o[E]||i[E]||m)(S,x[E])})),x}function m(y){let x=y.name;if(n.default[x]){let{message:v,version:E=5}=n.default[x];throw new Error(`Using removed Babel ${E} option: ${(0,c.msg)(y)} - ${v}`)}{let v=new Error(`Unknown option: ${(0,c.msg)(y)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);throw v.code="BABEL_UNKNOWN_OPTION",v}}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/validation/plugins.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.validatePluginObject=function(p){let i={type:"root",source:"plugin"};return Object.keys(p).forEach((o=>{let h=c[o];if(!h){let d=new Error(`.${o} is not a valid Plugin property`);throw d.code="BABEL_UNKNOWN_PLUGIN_PROPERTY",d}h({type:"option",name:o,parent:i},p[o])})),p};var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/validation/option-assertions.js");let c={name:n.assertString,manipulateOptions:n.assertFunction,pre:n.assertFunction,post:n.assertFunction,inherits:n.assertFunction,visitor:function(p,i){let o=(0,n.assertObject)(p,i);if(o&&(Object.keys(o).forEach((h=>{h!=="_exploded"&&h!=="_verified"&&(function(d,f){if(f&&typeof f=="object")Object.keys(f).forEach((b=>{if(b!=="enter"&&b!=="exit")throw new Error(`.visitor["${d}"] may only have .enter and/or .exit handlers.`)}));else if(typeof f!="function")throw new Error(`.visitor["${d}"] must be a function`)})(h,o[h])})),o.enter||o.exit))throw new Error(`${(0,n.msg)(p)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`);return o},parserOverride:n.assertFunction,generatorOverride:n.assertFunction}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/validation/removed.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.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.26.0/node_modules/@babel/core/lib/errors/config-error.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");class c extends Error{constructor(i,o){super(i),(0,n.expectedError)(this),o&&(0,n.injectVirtualStackFrame)(this,o)}}e.default=c},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js":(u,e)=>{"use strict";var l;Object.defineProperty(e,"__esModule",{value:!0}),e.beginHiddenCallStack=function(b){return c?Object.defineProperty((function(...m){return d(),b(...m)}),"name",{value:i}):b},e.endHiddenCallStack=function(b){return c?Object.defineProperty((function(...m){return b(...m)}),"name",{value:p}):b},e.expectedError=function(b){if(c)return o.add(b),b},e.injectVirtualStackFrame=function(b,m){if(!c)return;let y=h.get(b);return y||h.set(b,y=[]),y.push((function(x){return Object.create({isNative:()=>!1,isConstructor:()=>!1,isToplevel:()=>!0,getFileName:()=>x,getLineNumber:()=>{},getColumnNumber:()=>{},getFunctionName:()=>{},getMethodName:()=>{},getTypeName:()=>{},toString:()=>x})})(m)),b};let n=Function.call.bind(Error.prototype.toString),c=!!Error.captureStackTrace&&((l=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit"))==null?void 0:l.writable)===!0,p="startHiding - secret - don't use this - v1",i="stopHiding - secret - don't use this - v1",o=new WeakSet,h=new WeakMap;function d(){d=()=>{};let{prepareStackTrace:b=f}=Error;Error.stackTraceLimit&&(Error.stackTraceLimit=Math.max(Error.stackTraceLimit,50)),Error.prepareStackTrace=function(m,y){let x=[],v=o.has(m)?"hiding":"unknown";for(let E=0;E<y.length;E++){let S=y[E].getFunctionName();if(S===p)v="hiding";else if(S===i){if(v==="hiding")v="showing",h.has(m)&&x.unshift(...h.get(m));else if(v==="unknown"){x=y;break}}else v!=="hiding"&&x.push(y[E])}return b(m,x)}}function f(b,m){return m.length===0?n(b):`${n(b)}
|
|
at ${m.join(`
|
|
at `)}`}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/gensync-utils/async.js":(u,e,l)=>{"use strict";function n(){let b=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return n=function(){return b},b}function c(b,m,y,x,v,E,S){try{var _=b[E](S),A=_.value}catch(L){return void y(L)}_.done?m(A):Promise.resolve(A).then(x,v)}function p(b){return function(){var m=this,y=arguments;return new Promise((function(x,v){var E=b.apply(m,y);function S(A){c(E,x,v,S,_,"next",A)}function _(A){c(E,x,v,S,_,"throw",A)}S(void 0)}))}}Object.defineProperty(e,"__esModule",{value:!0}),e.forwardAsync=function(b,m){let y=n()(b);return o((x=>{let v=y[x];return m(v)}))},e.isAsync=void 0,e.isThenable=f,e.maybeAsync=function(b,m){return n()({sync(...y){let x=b.apply(this,y);if(f(x))throw new Error(m);return x},async(...y){return Promise.resolve(b.apply(this,y))}})},e.waitFor=e.onFirstPause=void 0;let i=n()((function*(b){return yield*b}));e.isAsync=n()({sync:()=>!1,errback:b=>b(null,!0)});let o=n()({sync:b=>b("sync"),async:(h=p((function*(b){return b("async")})),function(b){return h.apply(this,arguments)})});var h;e.onFirstPause=n()({name:"onFirstPause",arity:2,sync:function(b){return i.sync(b)},errback:function(b,m,y){let x=!1;i.errback(b,((v,E)=>{x=!0,y(v,E)})),x||m()}}),e.waitFor=n()({sync:b=>b,async:(d=p((function*(b){return b})),function(b){return d.apply(this,arguments)})});var d;function f(b){return!(!b||typeof b!="object"&&typeof b!="function"||!b.then||typeof b.then!="function")}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/gensync-utils/fs.js":(u,e,l)=>{"use strict";function n(){let p=l("fs");return n=function(){return p},p}function c(){let p=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return c=function(){return p},p}Object.defineProperty(e,"__esModule",{value:!0}),e.stat=e.readFile=void 0,e.readFile=c()({sync:n().readFileSync,errback:n().readFile}),e.stat=c()({sync:n().statSync,errback:n().stat})},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/gensync-utils/functional.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.once=function(c){let p,i,o=!1;return function*(){if(!p){if(i)return o=!0,yield*(0,n.waitFor)(i);if(yield*(0,n.isAsync)()){let h,d;i=new Promise(((f,b)=>{h=f,d=b}));try{p={ok:!0,value:yield*c()},i=null,o&&h(p.value)}catch(f){p={ok:!1,value:f},i=null,o&&d(f)}}else try{p={ok:!0,value:yield*c()}}catch(h){p={ok:!1,value:h}}}if(p.ok)return p.value;throw p.value}};var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/gensync-utils/async.js")},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_EXTENSIONS=void 0,Object.defineProperty(e,"File",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"buildExternalHelpers",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"createConfigItem",{enumerable:!0,get:function(){return b.createConfigItem}}),Object.defineProperty(e,"createConfigItemAsync",{enumerable:!0,get:function(){return b.createConfigItemAsync}}),Object.defineProperty(e,"createConfigItemSync",{enumerable:!0,get:function(){return b.createConfigItemSync}}),Object.defineProperty(e,"getEnv",{enumerable:!0,get:function(){return i.getEnv}}),Object.defineProperty(e,"loadOptions",{enumerable:!0,get:function(){return b.loadOptions}}),Object.defineProperty(e,"loadOptionsAsync",{enumerable:!0,get:function(){return b.loadOptionsAsync}}),Object.defineProperty(e,"loadOptionsSync",{enumerable:!0,get:function(){return b.loadOptionsSync}}),Object.defineProperty(e,"loadPartialConfig",{enumerable:!0,get:function(){return b.loadPartialConfig}}),Object.defineProperty(e,"loadPartialConfigAsync",{enumerable:!0,get:function(){return b.loadPartialConfigAsync}}),Object.defineProperty(e,"loadPartialConfigSync",{enumerable:!0,get:function(){return b.loadPartialConfigSync}}),Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return v.parse}}),Object.defineProperty(e,"parseAsync",{enumerable:!0,get:function(){return v.parseAsync}}),Object.defineProperty(e,"parseSync",{enumerable:!0,get:function(){return v.parseSync}}),e.resolvePreset=e.resolvePlugin=void 0,Object.defineProperty(e,"template",{enumerable:!0,get:function(){return f().default}}),Object.defineProperty(e,"tokTypes",{enumerable:!0,get:function(){return h().tokTypes}}),Object.defineProperty(e,"transform",{enumerable:!0,get:function(){return m.transform}}),Object.defineProperty(e,"transformAsync",{enumerable:!0,get:function(){return m.transformAsync}}),Object.defineProperty(e,"transformFile",{enumerable:!0,get:function(){return y.transformFile}}),Object.defineProperty(e,"transformFileAsync",{enumerable:!0,get:function(){return y.transformFileAsync}}),Object.defineProperty(e,"transformFileSync",{enumerable:!0,get:function(){return y.transformFileSync}}),Object.defineProperty(e,"transformFromAst",{enumerable:!0,get:function(){return x.transformFromAst}}),Object.defineProperty(e,"transformFromAstAsync",{enumerable:!0,get:function(){return x.transformFromAstAsync}}),Object.defineProperty(e,"transformFromAstSync",{enumerable:!0,get:function(){return x.transformFromAstSync}}),Object.defineProperty(e,"transformSync",{enumerable:!0,get:function(){return m.transformSync}}),Object.defineProperty(e,"traverse",{enumerable:!0,get:function(){return d().default}}),e.version=e.types=void 0;var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/file.js"),c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/tools/build-external-helpers.js"),p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/files/index.js"),i=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/helpers/environment.js");function o(){let E=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");return o=function(){return E},E}function h(){let E=l("./node_modules/.pnpm/@babel+parser@7.26.3/node_modules/@babel/parser/lib/index.js");return h=function(){return E},E}function d(){let E=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js");return d=function(){return E},E}function f(){let E=l("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/index.js");return f=function(){return E},E}Object.defineProperty(e,"types",{enumerable:!0,get:function(){return o()}});var b=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/index.js"),m=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transform.js"),y=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transform-file.js"),x=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transform-ast.js"),v=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/parse.js");l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),e.version="7.26.0",e.resolvePlugin=(E,S)=>p.resolvePlugin(E,S,!1).filepath,e.resolvePreset=(E,S)=>p.resolvePreset(E,S,!1).filepath,e.DEFAULT_EXTENSIONS=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]),e.OptionManager=class{init(E){return(0,b.loadOptionsSync)(E)}},e.Plugin=function(E){throw new Error(`The (${E}) Babel 5 plugin is being run with an unsupported Babel version.`)}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/parse.js":(u,e,l)=>{"use strict";function n(){let d=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return n=function(){return d},d}Object.defineProperty(e,"__esModule",{value:!0}),e.parse=void 0,e.parseAsync=function(...d){return(0,o.beginHiddenCallStack)(h.async)(...d)},e.parseSync=function(...d){return(0,o.beginHiddenCallStack)(h.sync)(...d)};var c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/index.js"),p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/parser/index.js"),i=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/normalize-opts.js"),o=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let h=n()((function*(d,f){let b=yield*(0,c.default)(f);return b===null?null:yield*(0,p.default)(b.passes,(0,i.default)(b),d)}));e.parse=function(d,f,b){if(typeof f=="function"&&(b=f,f=void 0),b===void 0)return(0,o.beginHiddenCallStack)(h.sync)(d,f);(0,o.beginHiddenCallStack)(h.errback)(d,f,b)}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/parser/index.js":(u,e,l)=>{"use strict";function n(){let i=l("./node_modules/.pnpm/@babel+parser@7.26.3/node_modules/@babel/parser/lib/index.js");return n=function(){return i},i}function c(){let i=l("./stubs/babel-codeframe.js");return c=function(){return i},i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function*(i,{parserOpts:o,highlightCode:h=!0,filename:d="unknown"},f){try{let b=[];for(let m of i)for(let y of m){let{parserOverride:x}=y;if(x){let v=x(f,o,n().parse);v!==void 0&&b.push(v)}}if(b.length===0)return(0,n().parse)(f,o);if(b.length===1){if(yield*[],typeof b[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 b[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(b){b.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"&&(b.message+=`
|
|
Consider renaming the file to '.mjs', or setting sourceType:module or sourceType:unambiguous in your Babel config for this file.`);let{loc:m,missingPlugin:y}=b;if(m){let x=(0,c().codeFrameColumns)(f,{start:{line:m.line,column:m.column+1}},{highlightCode:h});b.message=y?`${d}: `+(0,p.default)(y[0],m,x,d):`${d}: ${b.message}
|
|
|
|
`+x,b.code="BABEL_PARSE_ERROR"}throw b}};var p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js")},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c,p,i,o){let h=`Support for the experimental syntax '${c}' isn't currently enabled (${p.line}:${p.column+1}):
|
|
|
|
`+i,d=l[c];if(d){let{syntax:f,transform:b}=d;if(f){let m=n(f);b?h+=`
|
|
|
|
Add ${n(b)} to the '${b.name.startsWith("@babel/plugin")?"plugins":"presets"}' section of your Babel config to enable transformation.
|
|
If you want to leave it as-is, add ${m} to the 'plugins' section to enable parsing.`:h+=`
|
|
|
|
Add ${m} to the 'plugins' section of your Babel config to enable parsing.`}}return h+=`
|
|
|
|
If you already added the plugin for this syntax to your config, it's possible that your config isn't being loaded.
|
|
You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:
|
|
npx cross-env BABEL_SHOW_CONFIG_FOR=${o==="unknown"?"<name of the input file>":o} <your build command>
|
|
See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
`,h};let l={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"}},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(l,{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"}},importAttributes:{syntax:{name:"@babel/plugin-syntax-import-attributes",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes"}},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 n=({name:c,url:p})=>`${c} (${p})`},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/tools/build-external-helpers.js":(u,e,l)=>{"use strict";function n(){let K=l("./node_modules/.pnpm/@babel+helpers@7.26.0/node_modules/@babel/helpers/lib/index.js");return n=function(){return K},K}function c(){let K=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/index.js");return c=function(){return K},K}function p(){let K=l("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/index.js");return p=function(){return K},K}function i(){let K=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");return i=function(){return K},K}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(K,$="global"){let W,Z={global:R,module:G,umd:V,var:B}[$];if(!Z)throw new Error(`Unsupported output type ${$}`);return W=Z(K),(0,c().default)(W).code};let{arrayExpression:o,assignmentExpression:h,binaryExpression:d,blockStatement:f,callExpression:b,cloneNode:m,conditionalExpression:y,exportNamedDeclaration:x,exportSpecifier:v,expressionStatement:E,functionExpression:S,identifier:_,memberExpression:A,objectExpression:L,program:j,stringLiteral:F,unaryExpression:k,variableDeclaration:U,variableDeclarator:z}=i(),C=K=>p().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
|
|
});
|
|
`(K);function R(K){let $=_("babelHelpers"),W=[],Z=S(null,[_("global")],f(W)),Q=j([E(b(Z,[y(d("===",k("typeof",_("global")),F("undefined")),_("self"),_("global"))]))]);return W.push(U("var",[z($,h("=",A(_("global"),$),L([])))])),q(W,$,K),Q}function G(K){let $=[],W=q($,null,K);return $.unshift(x(null,Object.keys(W).map((Z=>v(m(W[Z]),_(Z)))))),j($,[],"module")}function V(K){let $=_("babelHelpers"),W=[];return W.push(U("var",[z($,_("global"))])),q(W,$,K),j([C({FACTORY_PARAMETERS:_("global"),BROWSER_ARGUMENTS:h("=",A(_("root"),$),L([])),COMMON_ARGUMENTS:_("exports"),AMD_ARGUMENTS:o([F("exports")]),FACTORY_BODY:W,UMD_ROOT:_("this")})])}function B(K){let $=_("babelHelpers"),W=[];W.push(U("var",[z($,L([]))]));let Z=j(W);return q(W,$,K),W.push(E($)),Z}function q(K,$,W){let Z=X=>$?A($,_(X)):_(`_${X}`),Q={};return n().list.forEach((function(X){if(W&&!W.includes(X))return;let ie=Q[X]=Z(X),{nodes:oe}=n().get(X,Z,$?null:`_${X}`,[],$?(be,Ne,Pe)=>{Pe((Ke=>h("=",ie,Ke))),be.body.push(E(h("=",ie,_(Ne))))}:null);K.push(...oe)})),Q}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transform-ast.js":(u,e,l)=>{"use strict";function n(){let h=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return n=function(){return h},h}Object.defineProperty(e,"__esModule",{value:!0}),e.transformFromAst=void 0,e.transformFromAstAsync=function(...h){return(0,i.beginHiddenCallStack)(o.async)(...h)},e.transformFromAstSync=function(...h){return(0,i.beginHiddenCallStack)(o.sync)(...h)};var c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/index.js"),p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/index.js"),i=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let o=n()((function*(h,d,f){let b=yield*(0,c.default)(f);if(b===null)return null;if(!h)throw new Error("No AST given");return yield*(0,p.run)(b,d,h)}));e.transformFromAst=function(h,d,f,b){let m,y;if(typeof f=="function"?(y=f,m=void 0):(m=f,y=b),y===void 0)return(0,i.beginHiddenCallStack)(o.sync)(h,d,m);(0,i.beginHiddenCallStack)(o.errback)(h,d,m,y)}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transform-file.js":(u,e,l)=>{"use strict";function n(){let h=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return n=function(){return h},h}Object.defineProperty(e,"__esModule",{value:!0}),e.transformFile=function(...h){o.errback(...h)},e.transformFileAsync=function(...h){return o.async(...h)},e.transformFileSync=function(...h){return o.sync(...h)};var c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/index.js"),p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/index.js"),i=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/gensync-utils/fs.js");let o=n()((function*(h,d){let f=Object.assign({},d,{filename:h}),b=yield*(0,c.default)(f);if(b===null)return null;let m=yield*i.readFile(h,"utf8");return yield*(0,p.run)(b,m)}))},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transform.js":(u,e,l)=>{"use strict";function n(){let h=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return n=function(){return h},h}Object.defineProperty(e,"__esModule",{value:!0}),e.transform=void 0,e.transformAsync=function(...h){return(0,i.beginHiddenCallStack)(o.async)(...h)},e.transformSync=function(...h){return(0,i.beginHiddenCallStack)(o.sync)(...h)};var c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/index.js"),p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/index.js"),i=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let o=n()((function*(h,d){let f=yield*(0,c.default)(d);return f===null?null:yield*(0,p.run)(f,h)}));e.transform=function(h,d,f){let b,m;if(typeof d=="function"?(m=d,b=void 0):(b=d,m=f),m===void 0)return(0,i.beginHiddenCallStack)(o.sync)(h,b);(0,i.beginHiddenCallStack)(o.errback)(h,b,m)}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js":(u,e,l)=>{"use strict";function n(){let d=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js");return n=function(){return d},d}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return p||(p=new c.default(Object.assign({},i,{visitor:n().default.explode(i.visitor)}),{})),p};var c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/plugin.js");let p,i={name:"internal.blockHoist",visitor:{Block:{exit({node:d}){d.body=o(d.body)}},SwitchCase:{exit({node:d}){d.consequent=o(d.consequent)}}}};function o(d){let f=Math.pow(2,30)-1,b=!1;for(let m=0;m<d.length;m++){let y=h(d[m]);if(y>f){b=!0;break}f=y}return b?(function(m){let y=Object.create(null);for(let E=0;E<m.length;E++){let S=m[E],_=h(S);(y[_]||(y[_]=[])).push(S)}let x=Object.keys(y).map((E=>+E)).sort(((E,S)=>S-E)),v=0;for(let E of x){let S=y[E];for(let _ of S)m[v++]=_}return m})(d.slice()):d}function h(d){let f=d==null?void 0:d._blockHoist;return f==null?1:f===!0?2:f}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs":(u,e,l)=>{e.getModuleName=()=>l("./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/index.js").getModuleName},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/file.js":(u,e,l)=>{"use strict";function n(){let x=l("./node_modules/.pnpm/@babel+helpers@7.26.0/node_modules/@babel/helpers/lib/index.js");return n=function(){return x},x}function c(){let x=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js");return c=function(){return x},x}function p(){let x=l("./stubs/babel-codeframe.js");return p=function(){return x},x}function i(){let x=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");return i=function(){return x},x}function o(){let x=l("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return o=function(){return x},x}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var h=(function(x,v){if(!v&&x&&x.__esModule)return x;if(x===null||typeof x!="object"&&typeof x!="function")return{default:x};var E=d(v);if(E&&E.has(x))return E.get(x);var S={__proto__:null},_=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var A in x)if(A!=="default"&&{}.hasOwnProperty.call(x,A)){var L=_?Object.getOwnPropertyDescriptor(x,A):null;L&&(L.get||L.set)?Object.defineProperty(S,A,L):S[A]=x[A]}return S.default=x,E&&E.set(x,S),S})(l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs"),!0);function d(x){if(typeof WeakMap!="function")return null;var v=new WeakMap,E=new WeakMap;return(d=function(S){return S?E:v})(x)}let{cloneNode:f,interpreterDirective:b}=i(),m={enter(x,v){let E=x.node.loc;E&&(v.loc=E,x.stop())}};class y{constructor(v,{code:E,ast:S,inputMap:_}){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=E,this.ast=S,this.inputMap=_,this.path=c().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(b(v)):this.path.get("interpreter").remove()}set(v,E){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,E)}get(v){return this._map.get(v)}has(v){return this._map.has(v)}availableHelper(v,E){let S;try{S=n().minVersion(v)}catch(_){if(_.code!=="BABEL_HELPER_UNKNOWN")throw _;return!1}return typeof E!="string"||(o().valid(E)&&(E=`^${E}`),!o().intersects(`<${S}`,E)&&!o().intersects(">=8.0.0",E))}addHelper(v){let E=this.declarations[v];if(E)return f(E);let S=this.get("helperGenerator");if(S){let k=S(v);if(k)return k}n().minVersion(v);let _=this.declarations[v]=this.scope.generateUidIdentifier(v),A={};for(let k of n().getDependencies(v))A[k]=this.addHelper(k);let{nodes:L,globals:j}=n().get(v,(k=>A[k]),_.name,Object.keys(this.scope.getAllBindings()));j.forEach((k=>{this.path.scope.hasBinding(k,!0)&&this.path.scope.rename(k)})),L.forEach((k=>{k._compact=!0}));let F=this.path.unshiftContainer("body",L);for(let k of F)k.isVariableDeclaration()&&this.scope.registerDeclaration(k);return _}buildCodeFrameError(v,E,S=SyntaxError){let _=v==null?void 0:v.loc;if(!_&&v){let A={loc:null};(0,c().default)(v,m,this.scope,A),_=A.loc;let L="This is an error on an internal node. Probably an internal error.";_&&(L+=" Location has been estimated."),E+=` (${L})`}if(_){let{highlightCode:A=!0}=this.opts;E+=`
|
|
`+(0,p().codeFrameColumns)(this.code,{start:{line:_.start.line,column:_.start.column+1},end:_.end&&_.start.line===_.end.line?{line:_.end.line,column:_.end.column+1}:void 0},{highlightCode:A})}return new S(E)}}e.default=y,y.prototype.addImport=function(){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'.")},y.prototype.addTemplateObject=function(){throw new Error("This function has been moved into the template literal transform itself.")},y.prototype.getModuleName=function(){return h.getModuleName()(this.opts,this.opts)}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/generate.js":(u,e,l)=>{"use strict";function n(){let i=l("./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js");return n=function(){return i},i}function c(){let i=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/index.js");return c=function(){return i},i}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(i,o){let{opts:h,ast:d,code:f,inputMap:b}=o,{generatorOpts:m}=h;m.inputSourceMap=b==null?void 0:b.toObject();let y=[];for(let S of i)for(let _ of S){let{generatorOverride:A}=_;if(A){let L=A(d,m,f,c().default);L!==void 0&&y.push(L)}}let x;if(y.length===0)x=(0,c().default)(d,m,f);else{if(y.length!==1)throw new Error("More than one plugin attempted to override codegen.");if(x=y[0],typeof x.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:v,decodedMap:E=x.map}=x;return x.__mergedMap?E=Object.assign({},x.map):E&&(E=b?(0,p.default)(b.toObject(),E,m.sourceFileName):x.map),h.sourceMaps!=="inline"&&h.sourceMaps!=="both"||(v+=`
|
|
`+n().fromObject(E).toComment()),h.sourceMaps==="inline"&&(E=null),{outputCode:v,outputMap:E}};var p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/merge-map.js")},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/merge-map.js":(u,e,l)=>{"use strict";function n(){let p=l("./node_modules/.pnpm/@ampproject+remapping@2.3.0/node_modules/@ampproject/remapping/dist/remapping.umd.js");return n=function(){return p},p}function c(p){return Object.assign({},p,{sourceRoot:null})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p,i,o){let h=o.replace(/\\/g,"/"),d=!1,f=n()(c(i),((b,m)=>b!==h||d?null:(d=!0,m.source="",c(p))));return typeof p.sourceRoot=="string"&&(f.sourceRoot=p.sourceRoot),Object.assign({},f)}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/index.js":(u,e,l)=>{"use strict";function n(){let b=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js");return n=function(){return b},b}Object.defineProperty(e,"__esModule",{value:!0}),e.run=function*(b,m,y){let x=yield*(0,o.default)(b.passes,(0,i.default)(b),m,y),v=x.opts;try{yield*(function*(L,j){let F=yield*(0,f.isAsync)();for(let k of j){let U=[],z=[],C=[];for(let G of k.concat([(0,p.default)()])){let V=new c.default(L,G.key,G.options,F);U.push([G,V]),z.push(V),C.push(G.visitor)}for(let[G,V]of U)G.pre&&(yield*(0,f.maybeAsync)(G.pre,"You appear to be using an async plugin/preset, but Babel has been called synchronously").call(V,L));let R=n().default.visitors.merge(C,z,L.opts.wrapPluginVisitorMethod);(0,n().default)(L.ast,R,L.scope);for(let[G,V]of U)G.post&&(yield*(0,f.maybeAsync)(G.post,"You appear to be using an async plugin/preset, but Babel has been called synchronously").call(V,L))}})(x,b.passes)}catch(L){var E;throw L.message=`${(E=v.filename)!=null?E:"unknown file"}: ${L.message}`,L.code||(L.code="BABEL_TRANSFORM_ERROR"),L}let S,_;try{v.code!==!1&&({outputCode:S,outputMap:_}=(0,h.default)(b.passes,x))}catch(L){var A;throw L.message=`${(A=v.filename)!=null?A:"unknown file"}: ${L.message}`,L.code||(L.code="BABEL_GENERATE_ERROR"),L}return{metadata:x.metadata,options:v,ast:v.ast===!0?x.ast:null,code:S===void 0?null:S,map:_===void 0?null:_,sourceType:x.ast.program.sourceType,externalDependencies:(0,d.flattenToSet)(b.externalDependencies)}};var c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/plugin-pass.js"),p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js"),i=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/normalize-opts.js"),o=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/normalize-file.js"),h=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/generate.js"),d=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/config/helpers/deep-array.js"),f=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/gensync-utils/async.js")},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/normalize-file.js":(u,e,l)=>{"use strict";function n(){let _=l("fs");return n=function(){return _},_}function c(){let _=l("path");return c=function(){return _},_}function p(){let _=l("./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js");return p=function(){return _},_}function i(){let _=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");return i=function(){return _},_}function o(){let _=l("./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js");return o=function(){return _},_}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function*(_,A,L,j){if(L=`${L||""}`,j){if(j.type==="Program")j=b(j,[],[]);else if(j.type!=="File")throw new Error("AST root must be a Program or File node");A.cloneInputAst&&(j=(0,f.default)(j))}else j=yield*(0,d.default)(_,A,L);let F=null;if(A.inputSourceMap!==!1){if(typeof A.inputSourceMap=="object"&&(F=o().fromObject(A.inputSourceMap)),!F){let k=S(x,j);if(k)try{F=o().fromComment("//"+k)}catch{y("discarding unknown inline input sourcemap")}}if(!F){let k=S(v,j);if(typeof A.filename=="string"&&k)try{let U=v.exec(k),z=n().readFileSync(c().resolve(c().dirname(A.filename),U[1]),"utf8");F=o().fromJSON(z)}catch(U){y("discarding unknown file input sourcemap",U)}else k&&y("discarding un-loadable file input sourcemap")}}return new h.default(A,{code:L,ast:j,inputMap:F})};var h=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/file/file.js"),d=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/parser/index.js"),f=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/util/clone-deep.js");let{file:b,traverseFast:m}=i(),y=p()("babel:transform:file"),x=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,.*$/,v=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function E(_,A,L){return A&&(A=A.filter((({value:j})=>!_.test(j)||(L=j,!1)))),[A,L]}function S(_,A){let L=null;return m(A,(j=>{[j.leadingComments,L]=E(_,j.leadingComments,L),[j.innerComments,L]=E(_,j.innerComments,L),[j.trailingComments,L]=E(_,j.trailingComments,L)})),L}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/normalize-opts.js":(u,e,l)=>{"use strict";function n(){let c=l("path");return n=function(){return c},c}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){let{filename:p,cwd:i,filenameRelative:o=typeof p=="string"?n().relative(i,p):"unknown",sourceType:h="module",inputSourceMap:d,sourceMaps:f=!!d,sourceRoot:b=c.options.moduleRoot,sourceFileName:m=n().basename(o),comments:y=!0,compact:x="auto"}=c.options,v=c.options,E=Object.assign({},v,{parserOpts:Object.assign({sourceType:n().extname(o)===".mjs"?"module":h,sourceFileName:p,plugins:[]},v.parserOpts),generatorOpts:Object.assign({filename:p,auxiliaryCommentBefore:v.auxiliaryCommentBefore,auxiliaryCommentAfter:v.auxiliaryCommentAfter,retainLines:v.retainLines,comments:y,shouldPrintComment:v.shouldPrintComment,compact:x,minified:v.minified,sourceMaps:f,sourceRoot:b,sourceFileName:m},v.generatorOpts)});for(let S of c.passes)for(let _ of S)_.manipulateOptions&&_.manipulateOptions(E,E.parserOpts);return E}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/plugin-pass.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;class l{constructor(c,p,i,o){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.isAsync=void 0,this.key=p,this.file=c,this.opts=i||{},this.cwd=c.opts.cwd,this.filename=c.opts.filename,this.isAsync=o}set(c,p){this._map.set(c,p)}get(c){return this._map.get(c)}availableHelper(c,p){return this.file.availableHelper(c,p)}addHelper(c){return this.file.addHelper(c)}buildCodeFrameError(c,p,i){return this.file.buildCodeFrameError(c,p,i)}}e.default=l,l.prototype.getModuleName=function(){return this.file.getModuleName()},l.prototype.addImport=function(){this.file.addImport()}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/transformation/util/clone-deep.js":(u,e)=>{"use strict";function l(n,c){if(n!==null){if(c.has(n))return c.get(n);let p;if(Array.isArray(n)){p=new Array(n.length),c.set(n,p);for(let i=0;i<n.length;i++)p[i]=typeof n[i]!="object"?n[i]:l(n[i],c)}else{p={},c.set(n,p);let i=Object.keys(n);for(let o=0;o<i.length;o++){let h=i[o];p[h]=typeof n[h]!="object"?n[h]:l(n[h],c)}}return p}return n}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){return typeof n!="object"?n:l(n,new Map)}},"./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/vendor/import-meta-resolve.js":(u,e,l)=>{"use strict";function n(){let ce=l("assert");return n=function(){return ce},ce}function c(){let ce=(function($e,et){if(!et&&$e&&$e.__esModule)return $e;if($e===null||typeof $e!="object"&&typeof $e!="function")return{default:$e};var ut=b(et);if(ut&&ut.has($e))return ut.get($e);var Je={__proto__:null},Le=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var at in $e)if(at!=="default"&&{}.hasOwnProperty.call($e,at)){var Et=Le?Object.getOwnPropertyDescriptor($e,at):null;Et&&(Et.get||Et.set)?Object.defineProperty(Je,at,Et):Je[at]=$e[at]}return Je.default=$e,ut&&ut.set($e,Je),Je})(l("fs"),!0);return c=function(){return ce},ce}function p(){let ce=l("process");return p=function(){return ce},ce}function i(){let ce=l("url");return i=function(){return ce},ce}function o(){let ce=l("path");return o=function(){return ce},ce}function h(){let ce=l("module");return h=function(){return ce},ce}function d(){let ce=l("v8");return d=function(){return ce},ce}function f(){let ce=l("util");return f=function(){return ce},ce}function b(ce){if(typeof WeakMap!="function")return null;var $e=new WeakMap,et=new WeakMap;return(b=function(ut){return ut?et:$e})(ce)}Object.defineProperty(e,"__esModule",{value:!0}),e.moduleResolve=Qe,e.resolve=function(ce,$e){if(!$e)throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return(function(et,ut={}){let{parentURL:Je}=ut,Le,at,Et;if(n()(Je!==void 0,"expected `parentURL` to be defined"),(function(ar){if(ar!==void 0){if(typeof ar!="string"&&(yr=ar,!(yr&&typeof yr=="object"&&"href"in yr&&typeof yr.href=="string"&&"protocol"in yr&&typeof yr.protocol=="string"&&yr.href&&yr.protocol)))throw new v.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],ar);var yr}})(Je),Je)try{Le=new(i()).URL(Je)}catch{}try{if(at=Be(et)?new(i()).URL(et,Le):new(i()).URL(et),Et=at.protocol,Et==="data:")return{url:at.href,format:null}}catch{}let Rt=(function(ar,yr,Pr){if(Pr){let Rr=Pr.protocol;if(Rr==="http:"||Rr==="https:"){if(Be(ar)){let ln=yr==null?void 0:yr.protocol;if(ln&&ln!=="https:"&&ln!=="http:")throw new ie(ar,Pr,"remote imports cannot import from a local location.");return{url:(yr==null?void 0:yr.href)||""}}throw h().builtinModules.includes(ar)?new ie(ar,Pr,"remote imports cannot import from a local location."):new ie(ar,Pr,"only relative and absolute specifiers are supported.")}}})(et,at,Le);if(Rt)return Rt;if(Et===void 0&&at&&(Et=at.protocol),Et==="node:")return{url:et};if(at&&at.protocol==="node:")return{url:et};let lr=(function(ar){if(ar!==void 0&&ar!==Z){if(!Array.isArray(ar))throw new W("conditions",ar,"expected an array");return new Set(ar)}return Q})(ut.conditions),xt=Qe(et,new(i()).URL(Je),lr,!1);return{url:xt.href,format:$(xt,{parentURL:Je})}})(ce,{parentURL:$e}).url}catch(et){let ut=et;if((ut.code==="ERR_UNSUPPORTED_DIR_IMPORT"||ut.code==="ERR_MODULE_NOT_FOUND")&&typeof ut.url=="string")return ut.url;throw et}};let m={}.hasOwnProperty,y=/^([A-Z][a-z\d]*)+$/,x=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),v={};function E(ce,$e="and"){return ce.length<3?ce.join(` ${$e} `):`${ce.slice(0,-1).join(", ")}, ${$e} ${ce[ce.length-1]}`}let S=new Map,_;function A(ce,$e,et){return S.set(ce,$e),(function(ut,Je){return Le;function Le(...at){let Et=Error.stackTraceLimit;L()&&(Error.stackTraceLimit=0);let Rt=new ut;L()&&(Error.stackTraceLimit=Et);let lr=(function(xt,ar,yr){let Pr=S.get(xt);if(n()(Pr!==void 0,"expected `message` to be found"),typeof Pr=="function")return n()(Pr.length<=ar.length,`Code: ${xt}; The provided arguments length (${ar.length}) does not match the required ones (${Pr.length}).`),Reflect.apply(Pr,yr,ar);let Rr=/%[dfijoOs]/g,ln=0;for(;Rr.exec(Pr)!==null;)ln++;return n()(ln===ar.length,`Code: ${xt}; The provided arguments length (${ar.length}) does not match the required ones (${ln}).`),ar.length===0?Pr:(ar.unshift(Pr),Reflect.apply(f().format,null,ar))})(Je,at,Rt);return Object.defineProperties(Rt,{message:{value:lr,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${Je}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),j(Rt),Rt.code=Je,Rt}})(et,ce)}function L(){try{if(d().startupSnapshot.isBuildingSnapshot())return!1}catch{}let ce=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return ce===void 0?Object.isExtensible(Error):m.call(ce,"writable")&&ce.writable!==void 0?ce.writable:ce.set!==void 0}v.ERR_INVALID_ARG_TYPE=A("ERR_INVALID_ARG_TYPE",((ce,$e,et)=>{n()(typeof ce=="string","'name' must be a string"),Array.isArray($e)||($e=[$e]);let ut="The ";if(ce.endsWith(" argument"))ut+=`${ce} `;else{let Et=ce.includes(".")?"property":"argument";ut+=`"${ce}" ${Et} `}ut+="must be ";let Je=[],Le=[],at=[];for(let Et of $e)n()(typeof Et=="string","All expected entries have to be of type string"),x.has(Et)?Je.push(Et.toLowerCase()):y.exec(Et)===null?(n()(Et!=="object",'The value "object" should be written as "Object"'),at.push(Et)):Le.push(Et);if(Le.length>0){let Et=Je.indexOf("object");Et!==-1&&(Je.slice(Et,1),Le.push("Object"))}return Je.length>0&&(ut+=`${Je.length>1?"one of type":"of type"} ${E(Je,"or")}`,(Le.length>0||at.length>0)&&(ut+=" or ")),Le.length>0&&(ut+=`an instance of ${E(Le,"or")}`,at.length>0&&(ut+=" or ")),at.length>0&&(at.length>1?ut+=`one of ${E(at,"or")}`:(at[0].toLowerCase()!==at[0]&&(ut+="an "),ut+=`${at[0]}`)),ut+=`. Received ${(function(Et){if(Et==null)return String(Et);if(typeof Et=="function"&&Et.name)return`function ${Et.name}`;if(typeof Et=="object")return Et.constructor&&Et.constructor.name?`an instance of ${Et.constructor.name}`:`${(0,f().inspect)(Et,{depth:-1})}`;let Rt=(0,f().inspect)(Et,{colors:!1});return Rt.length>28&&(Rt=`${Rt.slice(0,25)}...`),`type ${typeof Et} (${Rt})`})(et)}`,ut}),TypeError),v.ERR_INVALID_MODULE_SPECIFIER=A("ERR_INVALID_MODULE_SPECIFIER",((ce,$e,et=void 0)=>`Invalid module "${ce}" ${$e}${et?` imported from ${et}`:""}`),TypeError),v.ERR_INVALID_PACKAGE_CONFIG=A("ERR_INVALID_PACKAGE_CONFIG",((ce,$e,et)=>`Invalid package config ${ce}${$e?` while importing ${$e}`:""}${et?`. ${et}`:""}`),Error),v.ERR_INVALID_PACKAGE_TARGET=A("ERR_INVALID_PACKAGE_TARGET",((ce,$e,et,ut=!1,Je=void 0)=>{let Le=typeof et=="string"&&!ut&&et.length>0&&!et.startsWith("./");return $e==="."?(n()(ut===!1),`Invalid "exports" main target ${JSON.stringify(et)} defined in the package config ${ce}package.json${Je?` imported from ${Je}`:""}${Le?'; targets must start with "./"':""}`):`Invalid "${ut?"imports":"exports"}" target ${JSON.stringify(et)} defined for '${$e}' in the package config ${ce}package.json${Je?` imported from ${Je}`:""}${Le?'; targets must start with "./"':""}`}),Error),v.ERR_MODULE_NOT_FOUND=A("ERR_MODULE_NOT_FOUND",((ce,$e,et=!1)=>`Cannot find ${et?"module":"package"} '${ce}' imported from ${$e}`),Error),v.ERR_NETWORK_IMPORT_DISALLOWED=A("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),v.ERR_PACKAGE_IMPORT_NOT_DEFINED=A("ERR_PACKAGE_IMPORT_NOT_DEFINED",((ce,$e,et)=>`Package import specifier "${ce}" is not defined${$e?` in package ${$e}package.json`:""} imported from ${et}`),TypeError),v.ERR_PACKAGE_PATH_NOT_EXPORTED=A("ERR_PACKAGE_PATH_NOT_EXPORTED",((ce,$e,et=void 0)=>$e==="."?`No "exports" main defined in ${ce}package.json${et?` imported from ${et}`:""}`:`Package subpath '${$e}' is not defined by "exports" in ${ce}package.json${et?` imported from ${et}`:""}`),Error),v.ERR_UNSUPPORTED_DIR_IMPORT=A("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),v.ERR_UNSUPPORTED_RESOLVE_REQUEST=A("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),v.ERR_UNKNOWN_FILE_EXTENSION=A("ERR_UNKNOWN_FILE_EXTENSION",((ce,$e)=>`Unknown file extension "${ce}" for ${$e}`),TypeError),v.ERR_INVALID_ARG_VALUE=A("ERR_INVALID_ARG_VALUE",((ce,$e,et="is invalid")=>{let ut=(0,f().inspect)($e);return ut.length>128&&(ut=`${ut.slice(0,128)}...`),`The ${ce.includes(".")?"property":"argument"} '${ce}' ${et}. Received ${ut}`}),TypeError);let j=(function(ce){let $e="__node_internal_"+ce.name;return Object.defineProperty(ce,"name",{value:$e}),ce})((function(ce){let $e=L();return $e&&(_=Error.stackTraceLimit,Error.stackTraceLimit=Number.POSITIVE_INFINITY),Error.captureStackTrace(ce),$e&&(Error.stackTraceLimit=_),ce})),F={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:k}=v,U=new Map;function z(ce,{base:$e,specifier:et}){let ut=U.get(ce);if(ut)return ut;let Je;try{Je=c().default.readFileSync(o().toNamespacedPath(ce),"utf8")}catch(at){let Et=at;if(Et.code!=="ENOENT")throw Et}let Le={exists:!1,pjsonPath:ce,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(Je!==void 0){let at;try{at=JSON.parse(Je)}catch(Et){let Rt=Et,lr=new k(ce,($e?`"${et}" from `:"")+(0,i().fileURLToPath)($e||et),Rt.message);throw lr.cause=Rt,lr}Le.exists=!0,F.call(at,"name")&&typeof at.name=="string"&&(Le.name=at.name),F.call(at,"main")&&typeof at.main=="string"&&(Le.main=at.main),F.call(at,"exports")&&(Le.exports=at.exports),F.call(at,"imports")&&(Le.imports=at.imports),!F.call(at,"type")||at.type!=="commonjs"&&at.type!=="module"||(Le.type=at.type)}return U.set(ce,Le),Le}function C(ce){let $e=new URL("package.json",ce);for(;!$e.pathname.endsWith("node_modules/package.json");){let et=z((0,i().fileURLToPath)($e),{specifier:ce});if(et.exists)return et;let ut=$e;if($e=new URL("../package.json",$e),$e.pathname===ut.pathname)break}return{pjsonPath:(0,i().fileURLToPath)($e),exists:!1,type:"none"}}function R(ce){return C(ce).type}let{ERR_UNKNOWN_FILE_EXTENSION:G}=v,V={}.hasOwnProperty,B={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"},q={__proto__:null,"data:":function(ce){let{1:$e}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(ce.pathname)||[null,null,null];return(function(et){return et&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(et)?"module":et==="application/json"?"json":null})($e)},"file:":function(ce,$e,et){let ut=(function(at){let Et=at.pathname,Rt=Et.length;for(;Rt--;){let lr=Et.codePointAt(Rt);if(lr===47)return"";if(lr===46)return Et.codePointAt(Rt-1)===47?"":Et.slice(Rt)}return""})(ce);if(ut===".js"){let at=R(ce);return at!=="none"?at:"commonjs"}if(ut===""){let at=R(ce);return at==="none"||at==="commonjs"?"commonjs":"module"}let Je=B[ut];if(Je)return Je;if(et)return;let Le=(0,i().fileURLToPath)(ce);throw new G(ut,Le)},"http:":K,"https:":K,"node:":()=>"builtin"};function K(){}function $(ce,$e){let et=ce.protocol;return V.call(q,et)&&q[et](ce,$e,!0)||null}let{ERR_INVALID_ARG_VALUE:W}=v,Z=Object.freeze(["node","import"]),Q=new Set(Z),X=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:ie,ERR_INVALID_MODULE_SPECIFIER:oe,ERR_INVALID_PACKAGE_CONFIG:be,ERR_INVALID_PACKAGE_TARGET:Ne,ERR_MODULE_NOT_FOUND:Pe,ERR_PACKAGE_IMPORT_NOT_DEFINED:Ke,ERR_PACKAGE_PATH_NOT_EXPORTED:We,ERR_UNSUPPORTED_DIR_IMPORT:Oe,ERR_UNSUPPORTED_RESOLVE_REQUEST:de}=v,xe={}.hasOwnProperty,ye=/(^|\\|\/)((\.|%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,ve=/(^|\\|\/)((\.|%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,he=/^\.|%|\\/,Te=/\*/g,Ce=/%2f|%5c/i,se=new Set,pe=/[/\\]{2}/;function nt(ce,$e,et,ut,Je,Le,at){if(p().noDeprecation)return;let Et=(0,i().fileURLToPath)(ut),Rt=pe.exec(at?ce:$e)!==null;p().emitWarning(`Use of deprecated ${Rt?"double slash":"leading or trailing slash matching"} resolving "${ce}" for module request "${$e}" ${$e===et?"":`matched to "${et}" `}in the "${Je?"imports":"exports"}" field module resolution of the package at ${Et}${Le?` imported from ${(0,i().fileURLToPath)(Le)}`:""}.`,"DeprecationWarning","DEP0166")}function ft(ce,$e,et,ut){if(p().noDeprecation||$(ce,{parentURL:et.href})!=="module")return;let Je=(0,i().fileURLToPath)(ce.href),Le=(0,i().fileURLToPath)(new(i()).URL(".",$e)),at=(0,i().fileURLToPath)(et);ut?o().resolve(Le,ut)!==Je&&p().emitWarning(`Package ${Le} has a "main" field set to "${ut}", excluding the full filename and extension to the resolved file at "${Je.slice(Le.length)}", imported from ${at}.
|
|
Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):p().emitWarning(`No "main" or "exports" field defined in the package.json for ${Le} resolving the main entry point "${Je.slice(Le.length)}", imported from ${at}.
|
|
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function _t(ce){try{return(0,c().statSync)(ce)}catch{}}function Pt(ce){let $e=(0,c().statSync)(ce,{throwIfNoEntry:!1}),et=$e?$e.isFile():void 0;return et!=null&&et}function ht(ce,$e,et){let ut;if($e.main!==void 0){if(ut=new(i()).URL($e.main,ce),Pt(ut))return ut;let at=[`./${$e.main}.js`,`./${$e.main}.json`,`./${$e.main}.node`,`./${$e.main}/index.js`,`./${$e.main}/index.json`,`./${$e.main}/index.node`],Et=-1;for(;++Et<at.length&&(ut=new(i()).URL(at[Et],ce),!Pt(ut));)ut=void 0;if(ut)return ft(ut,ce,et,$e.main),ut}let Je=["./index.js","./index.json","./index.node"],Le=-1;for(;++Le<Je.length&&(ut=new(i()).URL(Je[Le],ce),!Pt(ut));)ut=void 0;if(ut)return ft(ut,ce,et,$e.main),ut;throw new Pe((0,i().fileURLToPath)(new(i()).URL(".",ce)),(0,i().fileURLToPath)(et))}function De(ce,$e,et){return new We((0,i().fileURLToPath)(new(i()).URL(".",$e)),ce,et&&(0,i().fileURLToPath)(et))}function ze(ce,$e,et,ut,Je){return $e=typeof $e=="object"&&$e!==null?JSON.stringify($e,null,""):`${$e}`,new Ne((0,i().fileURLToPath)(new(i()).URL(".",et)),ce,$e,ut,Je&&(0,i().fileURLToPath)(Je))}function Ze(ce,$e,et,ut,Je,Le,at,Et,Rt){if($e!==""&&!Le&&ce[ce.length-1]!=="/")throw ze(et,ce,ut,at,Je);if(!ce.startsWith("./")){if(at&&!ce.startsWith("../")&&!ce.startsWith("/")){let yr=!1;try{new(i()).URL(ce),yr=!0}catch{}if(!yr)return Ee(Le?X.call(Te,ce,(()=>$e)):ce+$e,ut,Rt)}throw ze(et,ce,ut,at,Je)}if(ye.exec(ce.slice(2))!==null){if(ve.exec(ce.slice(2))!==null)throw ze(et,ce,ut,at,Je);if(!Et){let yr=Le?et.replace("*",(()=>$e)):et+$e;nt(Le?X.call(Te,ce,(()=>$e)):ce,yr,et,ut,at,Je,!0)}}let lr=new(i()).URL(ce,ut),xt=lr.pathname,ar=new(i()).URL(".",ut).pathname;if(!xt.startsWith(ar))throw ze(et,ce,ut,at,Je);if($e==="")return lr;if(ye.exec($e)!==null){let yr=Le?et.replace("*",(()=>$e)):et+$e;ve.exec($e)===null?Et||nt(Le?X.call(Te,ce,(()=>$e)):ce,yr,et,ut,at,Je,!1):(function(Pr,Rr,ln,Tn,Pn){let er=`request is not a valid match in pattern "${Rr}" for the "${Tn?"imports":"exports"}" resolution of ${(0,i().fileURLToPath)(ln)}`;throw new oe(Pr,er,Pn&&(0,i().fileURLToPath)(Pn))})(yr,et,ut,at,Je)}return Le?new(i()).URL(X.call(Te,lr.href,(()=>$e))):new(i()).URL($e,lr)}function tt(ce){let $e=Number(ce);return`${$e}`===ce&&$e>=0&&$e<4294967295}function ge(ce,$e,et,ut,Je,Le,at,Et,Rt){if(typeof $e=="string")return Ze($e,et,ut,ce,Je,Le,at,Et,Rt);if(Array.isArray($e)){let lr=$e;if(lr.length===0)return null;let xt,ar=-1;for(;++ar<lr.length;){let yr=lr[ar],Pr;try{Pr=ge(ce,yr,et,ut,Je,Le,at,Et,Rt)}catch(Rr){if(xt=Rr,Rr.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw Rr}if(Pr!==void 0){if(Pr!==null)return Pr;xt=null}}if(xt==null)return null;throw xt}if(typeof $e=="object"&&$e!==null){let lr=Object.getOwnPropertyNames($e),xt=-1;for(;++xt<lr.length;)if(tt(lr[xt]))throw new be((0,i().fileURLToPath)(ce),Je,'"exports" cannot contain numeric property keys.');for(xt=-1;++xt<lr.length;){let ar=lr[xt];if(ar==="default"||Rt&&Rt.has(ar)){let yr=ge(ce,$e[ar],et,ut,Je,Le,at,Et,Rt);if(yr===void 0)continue;return yr}}return null}if($e===null)return null;throw ze(ut,$e,ce,at,Je)}function fe(ce,$e,et){if(p().noDeprecation)return;let ut=(0,i().fileURLToPath)($e);se.has(ut+"|"+ce)||(se.add(ut+"|"+ce),p().emitWarning(`Use of deprecated trailing slash pattern mapping "${ce}" in the "exports" field module resolution of the package at ${ut}${et?` imported from ${(0,i().fileURLToPath)(et)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function ee(ce,$e,et,ut,Je){let Le=et.exports;if((function(xt,ar,yr){if(typeof xt=="string"||Array.isArray(xt))return!0;if(typeof xt!="object"||xt===null)return!1;let Pr=Object.getOwnPropertyNames(xt),Rr=!1,ln=0,Tn=-1;for(;++Tn<Pr.length;){let Pn=Pr[Tn],er=Pn===""||Pn[0]!==".";if(ln++==0)Rr=er;else if(Rr!==er)throw new be((0,i().fileURLToPath)(ar),yr,`"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 Rr})(Le,ce,ut)&&(Le={".":Le}),xe.call(Le,$e)&&!$e.includes("*")&&!$e.endsWith("/")){let xt=ge(ce,Le[$e],"",$e,ut,!1,!1,!1,Je);if(xt==null)throw De($e,ce,ut);return xt}let at="",Et="",Rt=Object.getOwnPropertyNames(Le),lr=-1;for(;++lr<Rt.length;){let xt=Rt[lr],ar=xt.indexOf("*");if(ar!==-1&&$e.startsWith(xt.slice(0,ar))){$e.endsWith("/")&&fe($e,ce,ut);let yr=xt.slice(ar+1);$e.length>=xt.length&&$e.endsWith(yr)&&le(at,xt)===1&&xt.lastIndexOf("*")===ar&&(at=xt,Et=$e.slice(ar,$e.length-yr.length))}}if(at){let xt=ge(ce,Le[at],Et,at,ut,!0,!1,$e.endsWith("/"),Je);if(xt==null)throw De($e,ce,ut);return xt}throw De($e,ce,ut)}function le(ce,$e){let et=ce.indexOf("*"),ut=$e.indexOf("*"),Je=et===-1?ce.length:et+1,Le=ut===-1?$e.length:ut+1;return Je>Le?-1:Le>Je||et===-1?1:ut===-1||ce.length>$e.length?-1:$e.length>ce.length?1:0}function Se(ce,$e,et){if(ce==="#"||ce.startsWith("#/")||ce.endsWith("/"))throw new oe(ce,"is not a valid internal imports specifier name",(0,i().fileURLToPath)($e));let ut,Je=C($e);if(Je.exists){ut=(0,i().pathToFileURL)(Je.pjsonPath);let Le=Je.imports;if(Le)if(xe.call(Le,ce)&&!ce.includes("*")){let at=ge(ut,Le[ce],"",ce,$e,!1,!0,!1,et);if(at!=null)return at}else{let at="",Et="",Rt=Object.getOwnPropertyNames(Le),lr=-1;for(;++lr<Rt.length;){let xt=Rt[lr],ar=xt.indexOf("*");if(ar!==-1&&ce.startsWith(xt.slice(0,-1))){let yr=xt.slice(ar+1);ce.length>=xt.length&&ce.endsWith(yr)&&le(at,xt)===1&&xt.lastIndexOf("*")===ar&&(at=xt,Et=ce.slice(ar,ce.length-yr.length))}}if(at){let xt=ge(ut,Le[at],Et,at,$e,!0,!0,!1,et);if(xt!=null)return xt}}}throw(function(Le,at,Et){return new Ke(Le,at&&(0,i().fileURLToPath)(new(i()).URL(".",at)),(0,i().fileURLToPath)(Et))})(ce,ut,$e)}function Ee(ce,$e,et){if(h().builtinModules.includes(ce))return new(i()).URL("node:"+ce);let{packageName:ut,packageSubpath:Je,isScoped:Le}=(function(xt,ar){let yr=xt.indexOf("/"),Pr=!0,Rr=!1;xt[0]==="@"&&(Rr=!0,yr===-1||xt.length===0?Pr=!1:yr=xt.indexOf("/",yr+1));let ln=yr===-1?xt:xt.slice(0,yr);if(he.exec(ln)!==null&&(Pr=!1),!Pr)throw new oe(xt,"is not a valid package name",(0,i().fileURLToPath)(ar));return{packageName:ln,packageSubpath:"."+(yr===-1?"":xt.slice(yr)),isScoped:Rr}})(ce,$e),at=C($e);if(at.exists){let xt=(0,i().pathToFileURL)(at.pjsonPath);if(at.name===ut&&at.exports!==void 0&&at.exports!==null)return ee(xt,Je,at,$e,et)}let Et,Rt=new(i()).URL("./node_modules/"+ut+"/package.json",$e),lr=(0,i().fileURLToPath)(Rt);do{let xt=_t(lr.slice(0,-13));if(!xt||!xt.isDirectory()){Et=lr,Rt=new(i()).URL((Le?"../../../../node_modules/":"../../../node_modules/")+ut+"/package.json",Rt),lr=(0,i().fileURLToPath)(Rt);continue}let ar=z(lr,{base:$e,specifier:ce});return ar.exports!==void 0&&ar.exports!==null?ee(Rt,Je,ar,$e,et):Je==="."?ht(Rt,ar,$e):new(i()).URL(Je,Rt)}while(lr.length!==Et.length);throw new Pe(ut,(0,i().fileURLToPath)($e),!1)}function Be(ce){return ce!==""&&(ce[0]==="/"||(function($e){return $e[0]==="."&&($e.length===1||$e[1]==="/"||$e[1]==="."&&($e.length===2||$e[2]==="/"))})(ce))}function Qe(ce,$e,et,ut){let Je=$e.protocol,Le=Je==="data:"||Je==="http:"||Je==="https:",at;if(Be(ce))try{at=new(i()).URL(ce,$e)}catch(Et){let Rt=new de(ce,$e);throw Rt.cause=Et,Rt}else if(Je==="file:"&&ce[0]==="#")at=Se(ce,$e,et);else try{at=new(i()).URL(ce)}catch(Et){if(Le&&!h().builtinModules.includes(ce)){let Rt=new de(ce,$e);throw Rt.cause=Et,Rt}at=Ee(ce,$e,et)}return n()(at!==void 0,"expected to be defined"),at.protocol!=="file:"?at:(function(Et,Rt,lr){if(Ce.exec(Et.pathname)!==null)throw new oe(Et.pathname,'must not include encoded "/" or "\\" characters',(0,i().fileURLToPath)(Rt));let xt;try{xt=(0,i().fileURLToPath)(Et)}catch(yr){let Pr=yr;throw Object.defineProperty(Pr,"input",{value:String(Et)}),Object.defineProperty(Pr,"module",{value:String(Rt)}),Pr}let ar=_t(xt.endsWith("/")?xt.slice(-1):xt);if(ar&&ar.isDirectory()){let yr=new Oe(xt,(0,i().fileURLToPath)(Rt));throw yr.url=String(Et),yr}if(!ar||!ar.isFile()){let yr=new Pe(xt||Et.pathname,Rt&&(0,i().fileURLToPath)(Rt),!0);throw yr.url=String(Et),yr}if(!lr){let yr=(0,c().realpathSync)(xt),{search:Pr,hash:Rr}=Et;(Et=(0,i().pathToFileURL)(yr+(xt.endsWith(o().sep)?"/":""))).search=Pr,Et.hash=Rr}return Et})(at,$e,ut)}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/buffer.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=class{constructor(l,n){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],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=l,this._indentChar=n;for(let c=0;c<64;c++)this._fastIndentations.push(n.repeat(c));this._allocQueue()}_allocQueue(){let l=this._queue;for(let n=0;n<16;n++)l.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(l,n,c,p,i){let o=this._queueCursor;o===this._queue.length&&this._allocQueue();let h=this._queue[o];h.char=l,h.repeat=n,h.line=c,h.column=p,h.filename=i,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw new Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let l=this._map,n={code:(this._buf+this._str).trimRight(),decodedMap:l==null?void 0:l.getDecoded(),get __mergedMap(){return this.map},get map(){let c=l?l.get():null;return n.map=c,c},set map(c){Object.defineProperty(n,"map",{value:c,writable:!0})},get rawMappings(){let c=l==null?void 0:l.getRawMappings();return n.rawMappings=c,c},set rawMappings(c){Object.defineProperty(n,"rawMappings",{value:c,writable:!0})}};return n}append(l,n){this._flush(),this._append(l,this._sourcePosition,n)}appendChar(l){this._flush(),this._appendChar(l,1,this._sourcePosition)}queue(l){if(l===10)for(;this._queueCursor!==0;){let c=this._queue[this._queueCursor-1].char;if(c!==32&&c!==9)break;this._queueCursor--}let n=this._sourcePosition;this._pushQueue(l,1,n.line,n.column,n.filename)}queueIndentation(l){l!==0&&this._pushQueue(-1,l,void 0,void 0,void 0)}_flush(){let l=this._queueCursor,n=this._queue;for(let c=0;c<l;c++){let p=n[c];this._appendChar(p.char,p.repeat,p)}this._queueCursor=0}_appendChar(l,n,c){if(this._last=l,l===-1){let p=this._fastIndentations[n];this._str+=p!==void 0?p:n>1?this._indentChar.repeat(n):this._indentChar}else this._str+=n>1?String.fromCharCode(l).repeat(n):String.fromCharCode(l);l!==10?(this._mark(c.line,c.column,c.identifierName,c.identifierNamePos,c.filename),this._position.column+=n):(this._position.line++,this._position.column=0),this._canMarkIdName&&(c.identifierName=void 0,c.identifierNamePos=void 0)}_append(l,n,c){let p=l.length,i=this._position;if(this._last=l.charCodeAt(p-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=l,this._appendCount=0):this._str+=l,!c&&!this._map)return void(i.column+=p);let{column:o,identifierName:h,identifierNamePos:d,filename:f}=n,b=n.line;h==null&&d==null||!this._canMarkIdName||(n.identifierName=void 0,n.identifierNamePos=void 0);let m=l.indexOf(`
|
|
`),y=0;for(m!==0&&this._mark(b,o,h,d,f);m!==-1;)i.line++,i.column=0,y=m+1,y<p&&b!==void 0&&this._mark(++b,0,null,null,f),m=l.indexOf(`
|
|
`,y);i.column+=p-y}_mark(l,n,c,p,i){var o;(o=this._map)==null||o.mark(this._position,l,n,c,p,i)}removeTrailingNewline(){let l=this._queueCursor;l!==0&&this._queue[l-1].char===10&&this._queueCursor--}removeLastSemicolon(){let l=this._queueCursor;l!==0&&this._queue[l-1].char===59&&this._queueCursor--}getLastChar(){let l=this._queueCursor;return l!==0?this._queue[l-1].char:this._last}getNewlineCount(){let l=this._queueCursor,n=0;if(l===0)return this._last===10?1:0;for(let c=l-1;c>=0&&this._queue[c].char===10;c--)n++;return n===l&&this._last===10?n+1:n}endsWithCharAndNewline(){let l=this._queue,n=this._queueCursor;if(n!==0)return l[n-1].char!==10?void 0:n>1?l[n-2].char:this._last}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(l,n){if(!this._map)return void n();this.source("start",l);let c=l.identifierName,p=this._sourcePosition;c&&(this._canMarkIdName=!1,p.identifierName=c),n(),c&&(this._canMarkIdName=!0,p.identifierName=void 0,p.identifierNamePos=void 0),this.source("end",l)}source(l,n){this._map&&this._normalizePosition(l,n,0)}sourceWithOffset(l,n,c){this._map&&this._normalizePosition(l,n,c)}_normalizePosition(l,n,c){let p=n[l],i=this._sourcePosition;p&&(i.line=p.line,i.column=Math.max(p.column+c,0),i.filename=n.filename)}getCurrentColumn(){let l=this._queue,n=this._queueCursor,c=-1,p=0;for(let i=0;i<n;i++){let o=l[i];o.char===10&&(c=p),p+=o.repeat}return c===-1?this._position.column+p:p-1-c}getCurrentLine(){let l=0,n=this._queue;for(let c=0;c<this._queueCursor;c++)n[c].char===10&&l++;return this._position.line+l}}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/base.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BlockStatement=function(c){var p;this.tokenChar(123);let i=this.enterDelimited(),o=(p=c.directives)==null?void 0:p.length;if(o){var h;let d=c.body.length?2:1;this.printSequence(c.directives,!0,d),(h=c.directives[o-1].trailingComments)!=null&&h.length||this.newline(d)}this.printSequence(c.body,!0),i(),this.rightBrace(c)},e.Directive=function(c){this.print(c.value),this.semicolon()},e.DirectiveLiteral=function(c){let p=this.getPossibleRaw(c);if(!this.format.minified&&p!==void 0)return void this.token(p);let{value:i}=c;if(n.test(i)){if(l.test(i))throw new Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.");this.token(`'${i}'`)}else this.token(`"${i}"`)},e.File=function(c){c.program&&this.print(c.program.interpreter),this.print(c.program)},e.InterpreterDirective=function(c){this.token(`#!${c.value}`),this.newline(1,!0)},e.Placeholder=function(c){this.token("%%"),this.print(c.name),this.token("%%"),c.expectedNode==="Statement"&&this.semicolon()},e.Program=function(c){var p;this.noIndentInnerCommentsHere(),this.printInnerComments();let i=(p=c.directives)==null?void 0:p.length;if(i){var o;let h=c.body.length?2:1;this.printSequence(c.directives,void 0,h),(o=c.directives[i-1].trailingComments)!=null&&o.length||this.newline(h)}this.printSequence(c.body)};let l=/(?:^|[^\\])(?:\\\\)*'/,n=/(?:^|[^\\])(?:\\\\)*"/},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/classes.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ClassAccessorProperty=function(i){var o;this.printJoin(i.decorators);let h=(o=i.key.loc)==null||(o=o.end)==null?void 0:o.line;h&&this.catchUp(h),this.tsPrintClassMemberModifiers(i),this.word("accessor",!0),this.space(),i.computed?(this.tokenChar(91),this.print(i.key),this.tokenChar(93)):(this._variance(i),this.print(i.key)),i.optional&&this.tokenChar(63),i.definite&&this.tokenChar(33),this.print(i.typeAnnotation),i.value&&(this.space(),this.tokenChar(61),this.space(),this.print(i.value)),this.semicolon()},e.ClassBody=function(i){if(this.tokenChar(123),i.body.length===0)this.tokenChar(125);else{this.newline();let o=(function(d,f){if(!d.tokenMap||f.start==null||f.end==null)return null;let b=d.tokenMap.getIndexes(f);if(!b)return null;let m=1,y=0,x=0,v=()=>{for(;x<f.body.length&&f.body[x].start==null;)x++};return v(),E=>{x<=E&&(x=E+1,v());let S=x===f.body.length?f.end:f.body[x].start,_;for(;m<b.length&&d.tokenMap.matchesOriginal(_=d._tokens[b[m]],";")&&_.start<S;)d.token(";",void 0,y++),m++}})(this,i);o==null||o(-1);let h=this.enterDelimited();this.printJoin(i.body,!0,!0,o,!0),h(),this.endsWith(10)||this.newline(),this.rightBrace(i)}},e.ClassExpression=e.ClassDeclaration=function(i,o){(c(o)||p(o))&&this._shouldPrintDecoratorsBeforeExport(o)||this.printJoin(i.decorators),i.declare&&(this.word("declare"),this.space()),i.abstract&&(this.word("abstract"),this.space()),this.word("class"),i.id&&(this.space(),this.print(i.id)),this.print(i.typeParameters),i.superClass&&(this.space(),this.word("extends"),this.space(),this.print(i.superClass),this.print(i.superTypeParameters)),i.implements&&(this.space(),this.word("implements"),this.space(),this.printList(i.implements)),this.space(),this.print(i.body)},e.ClassMethod=function(i){this._classMethodHead(i),this.space(),this.print(i.body)},e.ClassPrivateMethod=function(i){this._classMethodHead(i),this.space(),this.print(i.body)},e.ClassPrivateProperty=function(i){this.printJoin(i.decorators),i.static&&(this.word("static"),this.space()),this.print(i.key),this.print(i.typeAnnotation),i.value&&(this.space(),this.tokenChar(61),this.space(),this.print(i.value)),this.semicolon()},e.ClassProperty=function(i){if(this.printJoin(i.decorators),!i.static&&!this.format.preserveFormat){var o;let h=(o=i.key.loc)==null||(o=o.end)==null?void 0:o.line;h&&this.catchUp(h)}this.tsPrintClassMemberModifiers(i),i.computed?(this.tokenChar(91),this.print(i.key),this.tokenChar(93)):(this._variance(i),this.print(i.key)),i.optional&&this.tokenChar(63),i.definite&&this.tokenChar(33),this.print(i.typeAnnotation),i.value&&(this.space(),this.tokenChar(61),this.space(),this.print(i.value)),this.semicolon()},e.StaticBlock=function(i){this.word("static"),this.space(),this.tokenChar(123),i.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(i.body,!0),this.rightBrace(i))},e._classMethodHead=function(i){if(this.printJoin(i.decorators),!this.format.preserveFormat){var o;let h=(o=i.key.loc)==null||(o=o.end)==null?void 0:o.line;h&&this.catchUp(h)}this.tsPrintClassMemberModifiers(i),this._methodHead(i)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{isExportDefaultDeclaration:c,isExportNamedDeclaration:p}=n},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/expressions.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LogicalExpression=e.BinaryExpression=e.AssignmentExpression=function(f){this.print(f.left),this.space(),f.operator==="in"||f.operator==="instanceof"?this.word(f.operator):(this.token(f.operator),this._endsWithDiv=f.operator==="/"),this.space(),this.print(f.right)},e.AssignmentPattern=function(f){this.print(f.left),(f.left.type==="Identifier"||d(f.left))&&(f.left.optional&&this.tokenChar(63),this.print(f.left.typeAnnotation)),this.space(),this.tokenChar(61),this.space(),this.print(f.right)},e.AwaitExpression=function(f){this.word("await"),f.argument&&(this.space(),this.printTerminatorless(f.argument))},e.BindExpression=function(f){this.print(f.object),this.token("::"),this.print(f.callee)},e.CallExpression=function(f){this.print(f.callee),this.print(f.typeArguments),this.print(f.typeParameters),this.tokenChar(40);let b=this.enterDelimited();this.printList(f.arguments,this.shouldPrintTrailingComma(")")),b(),this.rightParens(f)},e.ConditionalExpression=function(f){this.print(f.test),this.space(),this.tokenChar(63),this.space(),this.print(f.consequent),this.space(),this.tokenChar(58),this.space(),this.print(f.alternate)},e.Decorator=function(f){this.tokenChar(64),this.print(f.expression),this.newline()},e.DoExpression=function(f){f.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(f.body)},e.EmptyStatement=function(){this.semicolon(!0)},e.ExpressionStatement=function(f){this.tokenContext|=c.TokenContext.expressionStatement,this.print(f.expression),this.semicolon()},e.Import=function(){this.word("import")},e.MemberExpression=function(f){if(this.print(f.object),!f.computed&&o(f.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let b=f.computed;if(i(f.property)&&typeof f.property.value=="number"&&(b=!0),b){let m=this.enterDelimited();this.tokenChar(91),this.print(f.property),this.tokenChar(93),m()}else this.tokenChar(46),this.print(f.property)},e.MetaProperty=function(f){this.print(f.meta),this.tokenChar(46),this.print(f.property)},e.ModuleExpression=function(f){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:b}=f;(b.body.length||b.directives.length)&&this.newline(),this.print(b),this.dedent(),this.rightBrace(f)},e.NewExpression=function(f,b){if(this.word("new"),this.space(),this.print(f.callee),this.format.minified&&f.arguments.length===0&&!f.optional&&!p(b,{callee:f})&&!o(b)&&!h(b)||(this.print(f.typeArguments),this.print(f.typeParameters),f.optional&&this.token("?."),f.arguments.length===0&&this.tokenMap&&!this.tokenMap.endMatches(f,")")))return;this.tokenChar(40);let m=this.enterDelimited();this.printList(f.arguments,this.shouldPrintTrailingComma(")")),m(),this.rightParens(f)},e.OptionalCallExpression=function(f){this.print(f.callee),this.print(f.typeParameters),f.optional&&this.token("?."),this.print(f.typeArguments),this.tokenChar(40);let b=this.enterDelimited();this.printList(f.arguments),b(),this.rightParens(f)},e.OptionalMemberExpression=function(f){let{computed:b}=f,{optional:m,property:y}=f;if(this.print(f.object),!b&&o(y))throw new TypeError("Got a MemberExpression for MemberExpression property");i(y)&&typeof y.value=="number"&&(b=!0),m&&this.token("?."),b?(this.tokenChar(91),this.print(y),this.tokenChar(93)):(m||this.tokenChar(46),this.print(y))},e.ParenthesizedExpression=function(f){this.tokenChar(40);let b=this.enterDelimited();this.print(f.expression),b(),this.rightParens(f)},e.PrivateName=function(f){this.tokenChar(35),this.print(f.id)},e.SequenceExpression=function(f){this.printList(f.expressions)},e.Super=function(){this.word("super")},e.ThisExpression=function(){this.word("this")},e.UnaryExpression=function(f){let{operator:b}=f;b==="void"||b==="delete"||b==="typeof"||b==="throw"?(this.word(b),this.space()):this.token(b),this.print(f.argument)},e.UpdateExpression=function(f){f.prefix?(this.token(f.operator),this.print(f.argument)):(this.print(f.argument,!0),this.token(f.operator))},e.V8IntrinsicIdentifier=function(f){this.tokenChar(37),this.word(f.name)},e.YieldExpression=function(f){this.word("yield",!0),f.delegate?(this.tokenChar(42),f.argument&&(this.space(),this.print(f.argument))):f.argument&&(this.space(),this.printTerminatorless(f.argument))},e._shouldPrintDecoratorsBeforeExport=function(f){return typeof this.format.decoratorsBeforeExport=="boolean"?this.format.decoratorsBeforeExport:typeof f.start=="number"&&f.start===f.declaration.start};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/index.js");let{isCallExpression:p,isLiteral:i,isMemberExpression:o,isNewExpression:h,isPattern:d}=n},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/flow.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AnyTypeAnnotation=function(){this.word("any")},e.ArrayTypeAnnotation=function(v){this.print(v.elementType,!0),this.tokenChar(91),this.tokenChar(93)},e.BooleanLiteralTypeAnnotation=function(v){this.word(v.value?"true":"false")},e.BooleanTypeAnnotation=function(){this.word("boolean")},e.DeclareClass=function(v,E){o(E)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(v)},e.DeclareExportAllDeclaration=function(v){this.word("declare"),this.space(),c.ExportAllDeclaration.call(this,v)},e.DeclareExportDeclaration=function(v){this.word("declare"),this.space(),this.word("export"),this.space(),v.default&&(this.word("default"),this.space()),m.call(this,v)},e.DeclareFunction=function(v,E){o(E)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(v.id),this.print(v.id.typeAnnotation.typeAnnotation),v.predicate&&(this.space(),this.print(v.predicate)),this.semicolon()},e.DeclareInterface=function(v){this.word("declare"),this.space(),this.InterfaceDeclaration(v)},e.DeclareModule=function(v){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(v.id),this.space(),this.print(v.body)},e.DeclareModuleExports=function(v){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(v.typeAnnotation)},e.DeclareOpaqueType=function(v,E){o(E)||(this.word("declare"),this.space()),this.OpaqueType(v)},e.DeclareTypeAlias=function(v){this.word("declare"),this.space(),this.TypeAlias(v)},e.DeclareVariable=function(v,E){o(E)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(v.id),this.print(v.id.typeAnnotation),this.semicolon()},e.DeclaredPredicate=function(v){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(v.value),this.tokenChar(41)},e.EmptyTypeAnnotation=function(){this.word("empty")},e.EnumBooleanBody=function(v){let{explicitType:E}=v;d(this,"boolean",E),f(this,v)},e.EnumBooleanMember=function(v){b(this,v)},e.EnumDeclaration=function(v){let{id:E,body:S}=v;this.word("enum"),this.space(),this.print(E),this.print(S)},e.EnumDefaultedMember=function(v){let{id:E}=v;this.print(E),this.tokenChar(44)},e.EnumNumberBody=function(v){let{explicitType:E}=v;d(this,"number",E),f(this,v)},e.EnumNumberMember=function(v){b(this,v)},e.EnumStringBody=function(v){let{explicitType:E}=v;d(this,"string",E),f(this,v)},e.EnumStringMember=function(v){b(this,v)},e.EnumSymbolBody=function(v){d(this,"symbol",!0),f(this,v)},e.ExistsTypeAnnotation=function(){this.tokenChar(42)},e.FunctionTypeAnnotation=function(v,E){this.print(v.typeParameters),this.tokenChar(40),v.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(v.this.typeAnnotation),(v.params.length||v.rest)&&(this.tokenChar(44),this.space())),this.printList(v.params),v.rest&&(v.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(v.rest)),this.tokenChar(41);let S=E==null?void 0:E.type;S!=null&&(S==="ObjectTypeCallProperty"||S==="ObjectTypeInternalSlot"||S==="DeclareFunction"||S==="ObjectTypeProperty"&&E.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(v.returnType)},e.FunctionTypeParam=function(v){this.print(v.name),v.optional&&this.tokenChar(63),v.name&&(this.tokenChar(58),this.space()),this.print(v.typeAnnotation)},e.IndexedAccessType=function(v){this.print(v.objectType,!0),this.tokenChar(91),this.print(v.indexType),this.tokenChar(93)},e.InferredPredicate=function(){this.tokenChar(37),this.word("checks")},e.InterfaceDeclaration=function(v){this.word("interface"),this.space(),this._interfaceish(v)},e.GenericTypeAnnotation=e.ClassImplements=e.InterfaceExtends=function(v){this.print(v.id),this.print(v.typeParameters,!0)},e.InterfaceTypeAnnotation=function(v){var E;this.word("interface"),(E=v.extends)!=null&&E.length&&(this.space(),this.word("extends"),this.space(),this.printList(v.extends)),this.space(),this.print(v.body)},e.IntersectionTypeAnnotation=function(v){this.printJoin(v.types,void 0,void 0,y)},e.MixedTypeAnnotation=function(){this.word("mixed")},e.NullLiteralTypeAnnotation=function(){this.word("null")},e.NullableTypeAnnotation=function(v){this.tokenChar(63),this.print(v.typeAnnotation)},Object.defineProperty(e,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return i.NumericLiteral}}),e.NumberTypeAnnotation=function(){this.word("number")},e.ObjectTypeAnnotation=function(v){v.exact?this.token("{|"):this.tokenChar(123);let E=[...v.properties,...v.callProperties||[],...v.indexers||[],...v.internalSlots||[]];E.length&&(this.newline(),this.space(),this.printJoin(E,!0,!0,void 0,void 0,(function(S){if(S&&!E[0])return 1}),(()=>{(E.length!==1||v.inexact)&&(this.tokenChar(44),this.space())})),this.space()),v.inexact&&(this.indent(),this.token("..."),E.length&&this.newline(),this.dedent()),v.exact?this.token("|}"):this.tokenChar(125)},e.ObjectTypeCallProperty=function(v){v.static&&(this.word("static"),this.space()),this.print(v.value)},e.ObjectTypeIndexer=function(v){v.static&&(this.word("static"),this.space()),this._variance(v),this.tokenChar(91),v.id&&(this.print(v.id),this.tokenChar(58),this.space()),this.print(v.key),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(v.value)},e.ObjectTypeInternalSlot=function(v){v.static&&(this.word("static"),this.space()),this.tokenChar(91),this.tokenChar(91),this.print(v.id),this.tokenChar(93),this.tokenChar(93),v.optional&&this.tokenChar(63),v.method||(this.tokenChar(58),this.space()),this.print(v.value)},e.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.optional&&this.tokenChar(63),v.method||(this.tokenChar(58),this.space()),this.print(v.value)},e.ObjectTypeSpreadProperty=function(v){this.token("..."),this.print(v.argument)},e.OpaqueType=function(v){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(v.id),this.print(v.typeParameters),v.supertype&&(this.tokenChar(58),this.space(),this.print(v.supertype)),v.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(v.impltype)),this.semicolon()},e.OptionalIndexedAccessType=function(v){this.print(v.objectType),v.optional&&this.token("?."),this.tokenChar(91),this.print(v.indexType),this.tokenChar(93)},e.QualifiedTypeIdentifier=function(v){this.print(v.qualification),this.tokenChar(46),this.print(v.id)},Object.defineProperty(e,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return i.StringLiteral}}),e.StringTypeAnnotation=function(){this.word("string")},e.SymbolTypeAnnotation=function(){this.word("symbol")},e.ThisTypeAnnotation=function(){this.word("this")},e.TupleTypeAnnotation=function(v){this.tokenChar(91),this.printList(v.types),this.tokenChar(93)},e.TypeAlias=function(v){this.word("type"),this.space(),this.print(v.id),this.print(v.typeParameters),this.space(),this.tokenChar(61),this.space(),this.print(v.right),this.semicolon()},e.TypeAnnotation=function(v,E){this.tokenChar(58),this.space(),E.type==="ArrowFunctionExpression"?this.tokenContext|=p.TokenContext.arrowFlowReturnType:v.optional&&this.tokenChar(63),this.print(v.typeAnnotation)},e.TypeCastExpression=function(v){this.tokenChar(40),this.print(v.expression),this.print(v.typeAnnotation),this.tokenChar(41)},e.TypeParameter=function(v){this._variance(v),this.word(v.name),v.bound&&this.print(v.bound),v.default&&(this.space(),this.tokenChar(61),this.space(),this.print(v.default))},e.TypeParameterDeclaration=e.TypeParameterInstantiation=function(v){this.tokenChar(60),this.printList(v.params),this.tokenChar(62)},e.TypeofTypeAnnotation=function(v){this.word("typeof"),this.space(),this.print(v.argument)},e.UnionTypeAnnotation=function(v){this.printJoin(v.types,void 0,void 0,x)},e.Variance=function(v){v.kind==="plus"?this.tokenChar(43):this.tokenChar(45)},e.VoidTypeAnnotation=function(){this.word("void")},e._interfaceish=function(v){var E;if(this.print(v.id),this.print(v.typeParameters),(E=v.extends)!=null&&E.length&&(this.space(),this.word("extends"),this.space(),this.printList(v.extends)),v.type==="DeclareClass"){var S,_;(S=v.mixins)!=null&&S.length&&(this.space(),this.word("mixins"),this.space(),this.printList(v.mixins)),(_=v.implements)!=null&&_.length&&(this.space(),this.word("implements"),this.space(),this.printList(v.implements))}this.space(),this.print(v.body)},e._variance=function(v){var E;let S=(E=v.variance)==null?void 0:E.kind;S!=null&&(S==="plus"?this.tokenChar(43):S==="minus"&&this.tokenChar(45))};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/modules.js"),p=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/index.js"),i=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/types.js");let{isDeclareExportDeclaration:o,isStatement:h}=n;function d(v,E,S){S&&(v.space(),v.word("of"),v.space(),v.word(E)),v.space()}function f(v,E){let{members:S}=E;v.token("{"),v.indent(),v.newline();for(let _ of S)v.print(_),v.newline();E.hasUnknownMembers&&(v.token("..."),v.newline()),v.dedent(),v.token("}")}function b(v,E){v.print(E.id),v.space(),v.token("="),v.space(),v.print(E.init),v.token(",")}function m(v){if(v.declaration){let E=v.declaration;this.print(E),h(E)||this.semicolon()}else this.tokenChar(123),v.specifiers.length&&(this.space(),this.printList(v.specifiers),this.space()),this.tokenChar(125),v.source&&(this.space(),this.word("from"),this.space(),this.print(v.source)),this.semicolon()}function y(v){this.space(),this.token("&",!1,v),this.space()}function x(v){this.space(),this.token("|",!1,v),this.space()}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/template-literals.js");Object.keys(n).forEach((function(x){x!=="default"&&x!=="__esModule"&&(x in e&&e[x]===n[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return n[x]}}))}));var c=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/expressions.js");Object.keys(c).forEach((function(x){x!=="default"&&x!=="__esModule"&&(x in e&&e[x]===c[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return c[x]}}))}));var p=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/statements.js");Object.keys(p).forEach((function(x){x!=="default"&&x!=="__esModule"&&(x in e&&e[x]===p[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return p[x]}}))}));var i=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/classes.js");Object.keys(i).forEach((function(x){x!=="default"&&x!=="__esModule"&&(x in e&&e[x]===i[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return i[x]}}))}));var o=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/methods.js");Object.keys(o).forEach((function(x){x!=="default"&&x!=="__esModule"&&(x in e&&e[x]===o[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return o[x]}}))}));var h=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/modules.js");Object.keys(h).forEach((function(x){x!=="default"&&x!=="__esModule"&&(x in e&&e[x]===h[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return h[x]}}))}));var d=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/types.js");Object.keys(d).forEach((function(x){x!=="default"&&x!=="__esModule"&&(x in e&&e[x]===d[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return d[x]}}))}));var f=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/flow.js");Object.keys(f).forEach((function(x){x!=="default"&&x!=="__esModule"&&(x in e&&e[x]===f[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return f[x]}}))}));var b=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/base.js");Object.keys(b).forEach((function(x){x!=="default"&&x!=="__esModule"&&(x in e&&e[x]===b[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return b[x]}}))}));var m=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/jsx.js");Object.keys(m).forEach((function(x){x!=="default"&&x!=="__esModule"&&(x in e&&e[x]===m[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return m[x]}}))}));var y=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/typescript.js");Object.keys(y).forEach((function(x){x!=="default"&&x!=="__esModule"&&(x in e&&e[x]===y[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return y[x]}}))}))},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/jsx.js":(u,e)=>{"use strict";function l(){this.space()}Object.defineProperty(e,"__esModule",{value:!0}),e.JSXAttribute=function(n){this.print(n.name),n.value&&(this.tokenChar(61),this.print(n.value))},e.JSXClosingElement=function(n){this.tokenChar(60),this.tokenChar(47),this.print(n.name),this.tokenChar(62)},e.JSXClosingFragment=function(){this.token("</"),this.tokenChar(62)},e.JSXElement=function(n){let c=n.openingElement;if(this.print(c),!c.selfClosing){this.indent();for(let p of n.children)this.print(p);this.dedent(),this.print(n.closingElement)}},e.JSXEmptyExpression=function(){this.printInnerComments()},e.JSXExpressionContainer=function(n){this.tokenChar(123),this.print(n.expression),this.rightBrace(n)},e.JSXFragment=function(n){this.print(n.openingFragment),this.indent();for(let c of n.children)this.print(c);this.dedent(),this.print(n.closingFragment)},e.JSXIdentifier=function(n){this.word(n.name)},e.JSXMemberExpression=function(n){this.print(n.object),this.tokenChar(46),this.print(n.property)},e.JSXNamespacedName=function(n){this.print(n.namespace),this.tokenChar(58),this.print(n.name)},e.JSXOpeningElement=function(n){this.tokenChar(60),this.print(n.name),this.print(n.typeParameters),n.attributes.length>0&&(this.space(),this.printJoin(n.attributes,void 0,void 0,l)),n.selfClosing&&(this.space(),this.tokenChar(47)),this.tokenChar(62)},e.JSXOpeningFragment=function(){this.tokenChar(60),this.tokenChar(62)},e.JSXSpreadAttribute=function(n){this.tokenChar(123),this.token("..."),this.print(n.argument),this.rightBrace(n)},e.JSXSpreadChild=function(n){this.tokenChar(123),this.token("..."),this.print(n.expression),this.rightBrace(n)},e.JSXText=function(n){let c=this.getPossibleRaw(n);c!==void 0?this.token(c,!0):this.token(n.value,!0)}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/methods.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ArrowFunctionExpression=function(o,h){o.async&&(this.word("async",!0),this.space()),this._shouldPrintArrowParamsParens(o)?this._params(o,void 0,h):this.print(o.params[0],!0),this._predicate(o,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=c.TokenContext.arrowBody,this.print(o.body)},e.FunctionDeclaration=e.FunctionExpression=function(o,h){this._functionHead(o,h),this.space(),this.print(o.body)},e._functionHead=function(o,h){o.async&&(this.word("async"),this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.space()),this.word("function"),o.generator&&(this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.tokenChar(42)),this.space(),o.id&&this.print(o.id),this._params(o,o.id,h),o.type!=="TSDeclareFunction"&&this._predicate(o)},e._methodHead=function(o){let h=o.kind,d=o.key;h!=="get"&&h!=="set"||(this.word(h),this.space()),o.async&&(this.word("async",!0),this.space()),h!=="method"&&h!=="init"||o.generator&&this.tokenChar(42),o.computed?(this.tokenChar(91),this.print(d),this.tokenChar(93)):this.print(d),o.optional&&this.tokenChar(63),this._params(o,o.computed&&o.key.type!=="StringLiteral"?void 0:o.key,void 0)},e._param=function(o){this.printJoin(o.decorators),this.print(o),o.optional&&this.tokenChar(63),this.print(o.typeAnnotation)},e._parameters=function(o,h){let d=this.enterDelimited(),f=this.shouldPrintTrailingComma(h),b=o.length;for(let m=0;m<b;m++)this._param(o[m]),(f||m<b-1)&&(this.token(",",null,m),this.space());this.token(h),d()},e._params=function(o,h,d){this.print(o.typeParameters);let f=i.call(this,h,d);f&&this.sourceIdentifierName(f.name,f.pos),this.tokenChar(40),this._parameters(o.params,")");let b=o.type==="ArrowFunctionExpression";this.print(o.returnType,b),this._noLineTerminator=b},e._predicate=function(o,h){o.predicate&&(o.returnType||this.tokenChar(58),this.space(),this.print(o.predicate,h))},e._shouldPrintArrowParamsParens=function(o){var h,d;if(o.params.length!==1||o.typeParameters||o.returnType||o.predicate)return!0;let f=o.params[0];if(!p(f)||f.typeAnnotation||f.optional||(h=f.leadingComments)!=null&&h.length||(d=f.trailingComments)!=null&&d.length)return!0;if(this.tokenMap){if(o.loc==null||this.tokenMap.findMatching(o,"(")!==null)return!0;let b=this.tokenMap.findMatching(o,"=>");return(b==null?void 0:b.loc)==null||b.loc.start.line!==o.loc.start.line}return!!this.format.retainLines};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/index.js");let{isIdentifier:p}=n;function i(o,h){let d,f=o;if(!f&&h){let v=h.type;v==="VariableDeclarator"?f=h.id:v==="AssignmentExpression"||v==="AssignmentPattern"?f=h.left:v==="ObjectProperty"||v==="ClassProperty"?h.computed&&h.key.type!=="StringLiteral"||(f=h.key):v!=="ClassPrivateProperty"&&v!=="ClassAccessorProperty"||(f=h.key)}if(f){var b,m;if(f.type==="Identifier")d={pos:(b=f.loc)==null?void 0:b.start,name:((m=f.loc)==null?void 0:m.identifierName)||f.name};else if(f.type==="PrivateName"){var y;d={pos:(y=f.loc)==null?void 0:y.start,name:"#"+f.id.name}}else if(f.type==="StringLiteral"){var x;d={pos:(x=f.loc)==null?void 0:x.start,name:f.value}}return d}}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/modules.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ExportAllDeclaration=function(y){var x,v;this.word("export"),this.space(),y.exportKind==="type"&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),(x=y.attributes)!=null&&x.length||(v=y.assertions)!=null&&v.length?(this.print(y.source,!0),this.space(),this._printAttributes(y,!1)):this.print(y.source),this.semicolon()},e.ExportDefaultDeclaration=function(y){m(this,y),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=c.TokenContext.exportDefault;let x=y.declaration;this.print(x),f(x)||this.semicolon()},e.ExportDefaultSpecifier=function(y){this.print(y.exported)},e.ExportNamedDeclaration=function(y){if(m(this,y),this.word("export"),this.space(),y.declaration){let E=y.declaration;this.print(E),f(E)||this.semicolon()}else{y.exportKind==="type"&&(this.word("type"),this.space());let E=y.specifiers.slice(0),S=!1;for(;;){let A=E[0];if(!i(A)&&!o(A))break;S=!0,this.print(E.shift()),E.length&&(this.tokenChar(44),this.space())}let _=!1;var x,v;(E.length||!E.length&&!S)&&(_=!0,this.tokenChar(123),E.length&&(this.space(),this.printList(E,this.shouldPrintTrailingComma("}")),this.space()),this.tokenChar(125)),y.source&&(this.space(),this.word("from"),this.space(),(x=y.attributes)!=null&&x.length||(v=y.assertions)!=null&&v.length?(this.print(y.source,!0),this.space(),this._printAttributes(y,_)):this.print(y.source)),this.semicolon()}},e.ExportNamespaceSpecifier=function(y){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(y.exported)},e.ExportSpecifier=function(y){y.exportKind==="type"&&(this.word("type"),this.space()),this.print(y.local),y.exported&&y.local.name!==y.exported.name&&(this.space(),this.word("as"),this.space(),this.print(y.exported))},e.ImportAttribute=function(y){this.print(y.key),this.tokenChar(58),this.space(),this.print(y.value)},e.ImportDeclaration=function(y){var x,v;this.word("import"),this.space();let E=y.importKind==="type"||y.importKind==="typeof";E?(this.noIndentInnerCommentsHere(),this.word(y.importKind),this.space()):y.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):y.phase&&(this.noIndentInnerCommentsHere(),this.word(y.phase),this.space());let S=y.specifiers.slice(0),_=!!S.length;for(;_;){let L=S[0];if(!h(L)&&!d(L))break;this.print(S.shift()),S.length&&(this.tokenChar(44),this.space())}let A=!1;S.length?(A=!0,this.tokenChar(123),this.space(),this.printList(S,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125)):E&&!_&&(A=!0,this.tokenChar(123),this.tokenChar(125)),(_||E)&&(this.space(),this.word("from"),this.space()),(x=y.attributes)!=null&&x.length||(v=y.assertions)!=null&&v.length?(this.print(y.source,!0),this.space(),this._printAttributes(y,A)):this.print(y.source),this.semicolon()},e.ImportDefaultSpecifier=function(y){this.print(y.local)},e.ImportExpression=function(y){this.word("import"),y.phase&&(this.tokenChar(46),this.word(y.phase)),this.tokenChar(40),this.print(y.source),y.options!=null&&(this.tokenChar(44),this.space(),this.print(y.options)),this.tokenChar(41)},e.ImportNamespaceSpecifier=function(y){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(y.local)},e.ImportSpecifier=function(y){y.importKind!=="type"&&y.importKind!=="typeof"||(this.word(y.importKind),this.space()),this.print(y.imported),y.local&&y.local.name!==y.imported.name&&(this.space(),this.word("as"),this.space(),this.print(y.local))},e._printAttributes=function(y,x){let{importAttributesKeyword:v}=this.format,{attributes:E,assertions:S}=y;!E||v||b||(b=!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 _=v==="assert"||!v&&S;if(this.word(_?"assert":"with"),this.space(),!_&&v!=="with")return void this.printList(E||S);let A=x?1:0;this.token("{",null,A),this.space(),this.printList(E||S,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",null,A)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/index.js");let{isClassDeclaration:p,isExportDefaultSpecifier:i,isExportNamespaceSpecifier:o,isImportDefaultSpecifier:h,isImportNamespaceSpecifier:d,isStatement:f}=n,b=!1;function m(y,x){p(x.declaration)&&y._shouldPrintDecoratorsBeforeExport(x)&&y.printJoin(x.declaration.decorators)}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/statements.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BreakStatement=function(m){this.word("break"),b(this,m.label)},e.CatchClause=function(m){this.word("catch"),this.space(),m.param&&(this.tokenChar(40),this.print(m.param),this.print(m.param.typeAnnotation),this.tokenChar(41),this.space()),this.print(m.body)},e.ContinueStatement=function(m){this.word("continue"),b(this,m.label)},e.DebuggerStatement=function(){this.word("debugger"),this.semicolon()},e.DoWhileStatement=function(m){this.word("do"),this.space(),this.print(m.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(m.test),this.tokenChar(41),this.semicolon()},e.ForOfStatement=e.ForInStatement=void 0,e.ForStatement=function(m){this.word("for"),this.space(),this.tokenChar(40);{let y=this.enterForStatementInit();this.tokenContext|=c.TokenContext.forHead,this.print(m.init),y()}this.tokenChar(59),m.test&&(this.space(),this.print(m.test)),this.token(";",!1,1),m.update&&(this.space(),this.print(m.update)),this.tokenChar(41),this.printBlock(m)},e.IfStatement=function(m){this.word("if"),this.space(),this.tokenChar(40),this.print(m.test),this.tokenChar(41),this.space();let y=m.alternate&&o(d(m.consequent));y&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(m.consequent),y&&(this.dedent(),this.newline(),this.tokenChar(125)),m.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(m.alternate))},e.LabeledStatement=function(m){this.print(m.label),this.tokenChar(58),this.space(),this.print(m.body)},e.ReturnStatement=function(m){this.word("return"),b(this,m.argument)},e.SwitchCase=function(m){m.test?(this.word("case"),this.space(),this.print(m.test),this.tokenChar(58)):(this.word("default"),this.tokenChar(58)),m.consequent.length&&(this.newline(),this.printSequence(m.consequent,!0))},e.SwitchStatement=function(m){this.word("switch"),this.space(),this.tokenChar(40),this.print(m.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(m.cases,!0,void 0,(function(y,x){if(!y&&m.cases[m.cases.length-1]===x)return-1})),this.rightBrace(m)},e.ThrowStatement=function(m){this.word("throw"),b(this,m.argument)},e.TryStatement=function(m){this.word("try"),this.space(),this.print(m.block),this.space(),m.handlers?this.print(m.handlers[0]):this.print(m.handler),m.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(m.finalizer))},e.VariableDeclaration=function(m,y){m.declare&&(this.word("declare"),this.space());let{kind:x}=m;x==="await using"?(this.word("await"),this.space(),this.word("using",!0)):this.word(x,x==="using"),this.space();let v=!1;if(!p(y))for(let E of m.declarations)E.init&&(v=!0);if(this.printList(m.declarations,void 0,void 0,m.declarations.length>1,v?function(E){this.token(",",!1,E),this.newline()}:void 0),p(y)){if(i(y)){if(y.init===m)return}else if(y.left===m)return}this.semicolon()},e.VariableDeclarator=function(m){this.print(m.id),m.definite&&this.tokenChar(33),this.print(m.id.typeAnnotation),m.init&&(this.space(),this.tokenChar(61),this.space(),this.print(m.init))},e.WhileStatement=function(m){this.word("while"),this.space(),this.tokenChar(40),this.print(m.test),this.tokenChar(41),this.printBlock(m)},e.WithStatement=function(m){this.word("with"),this.space(),this.tokenChar(40),this.print(m.object),this.tokenChar(41),this.printBlock(m)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/index.js");let{isFor:p,isForStatement:i,isIfStatement:o,isStatement:h}=n;function d(m){let{body:y}=m;return h(y)===!1?m:d(y)}function f(m){this.word("for"),this.space();let y=m.type==="ForOfStatement";y&&m.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40);{let x=y?null:this.enterForStatementInit();this.tokenContext|=y?c.TokenContext.forOfHead:c.TokenContext.forInHead,this.print(m.left),x==null||x()}this.space(),this.word(y?"of":"in"),this.space(),this.print(m.right),this.tokenChar(41),this.printBlock(m)}e.ForInStatement=f,e.ForOfStatement=f;function b(m,y){y&&(m.space(),m.printTerminatorless(y)),m.semicolon()}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/template-literals.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TaggedTemplateExpression=function(l){this.print(l.tag),this.print(l.typeParameters),this.print(l.quasi)},e.TemplateElement=function(){throw new Error("TemplateElement printing is handled in TemplateLiteral")},e.TemplateLiteral=function(l){let n=l.quasis,c="`";for(let p=0;p<n.length;p++)if(c+=n[p].value.raw,p+1<n.length&&(this.token(c+"${",!0),this.print(l.expressions[p]),c="}",this.tokenMap)){let i=this.tokenMap.findMatching(l,"}",p);i&&this._catchUpTo(i.loc.start)}this.token(c+"`",!0)}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/types.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ArgumentPlaceholder=function(){this.tokenChar(63)},e.ArrayPattern=e.ArrayExpression=function(f){let b=f.elements,m=b.length;this.tokenChar(91);let y=this.enterDelimited();for(let x=0;x<b.length;x++){let v=b[x];v?(x>0&&this.space(),this.print(v),(x<m-1||this.shouldPrintTrailingComma("]"))&&this.token(",",!1,x)):this.token(",",!1,x)}y(),this.tokenChar(93)},e.BigIntLiteral=function(f){let b=this.getPossibleRaw(f);if(!this.format.minified&&b!==void 0)return void this.word(b);this.word(f.value+"n")},e.BooleanLiteral=function(f){this.word(f.value?"true":"false")},e.DecimalLiteral=function(f){let b=this.getPossibleRaw(f);if(!this.format.minified&&b!==void 0)return void this.word(b);this.word(f.value+"m")},e.Identifier=function(f){var b;this.sourceIdentifierName(((b=f.loc)==null?void 0:b.identifierName)||f.name),this.word(this.tokenMap?this._getRawIdentifier(f):f.name)},e.NullLiteral=function(){this.word("null")},e.NumericLiteral=function(f){let b=this.getPossibleRaw(f),m=this.format.jsescOption,y=f.value,x=y+"";m.numbers?this.number(c(y,m),y):b==null?this.number(x,y):this.format.minified?this.number(b.length<x.length?b:x,y):this.number(b,y)},e.ObjectPattern=e.ObjectExpression=function(f){let b=f.properties;if(this.tokenChar(123),b.length){let m=this.enterDelimited();this.space(),this.printList(b,this.shouldPrintTrailingComma("}"),!0,!0),this.space(),m()}this.sourceWithOffset("end",f.loc,-1),this.tokenChar(125)},e.ObjectMethod=function(f){this.printJoin(f.decorators),this._methodHead(f),this.space(),this.print(f.body)},e.ObjectProperty=function(f){if(this.printJoin(f.decorators),f.computed)this.tokenChar(91),this.print(f.key),this.tokenChar(93);else{if(p(f.value)&&i(f.key)&&f.key.name===f.value.left.name)return void this.print(f.value);if(this.print(f.key),f.shorthand&&i(f.key)&&i(f.value)&&f.key.name===f.value.name)return}this.tokenChar(58),this.space(),this.print(f.value)},e.PipelineBareFunction=function(f){this.print(f.callee)},e.PipelinePrimaryTopicReference=function(){this.tokenChar(35)},e.PipelineTopicExpression=function(f){this.print(f.expression)},e.RecordExpression=function(f){let b=f.properties,m,y;if(this.format.recordAndTupleSyntaxType==="bar")m="{|",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).`);m="#{",y="}"}this.token(m),b.length&&(this.space(),this.printList(b,this.shouldPrintTrailingComma(y),!0,!0),this.space()),this.token(y)},e.RegExpLiteral=function(f){this.word(`/${f.pattern}/${f.flags}`)},e.SpreadElement=e.RestElement=function(f){this.token("..."),this.print(f.argument)},e.StringLiteral=function(f){let b=this.getPossibleRaw(f);if(!this.format.minified&&b!==void 0)return void this.token(b);let m=c(f.value,this.format.jsescOption);this.token(m)},e.TopicReference=function(){let{topicToken:f}=this.format;if(!d.has(f)){let b=JSON.stringify(f),m=Array.from(d,(y=>JSON.stringify(y)));throw new Error(`The "topicToken" generator option must be one of ${m.join(", ")} (${b} received instead).`)}this.token(f)},e.TupleExpression=function(f){let b=f.elements,m=b.length,y,x;if(this.format.recordAndTupleSyntaxType==="bar")y="[|",x="|]";else{if(this.format.recordAndTupleSyntaxType!=="hash")throw new Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);y="#[",x="]"}this.token(y);for(let v=0;v<b.length;v++){let E=b[v];E&&(v>0&&this.space(),this.print(E),(v<m-1||this.shouldPrintTrailingComma(x))&&this.token(",",!1,v))}this.token(x)},e._getRawIdentifier=function(f){if(f===o)return h;o=f;let{name:b}=f,m=this.tokenMap.find(f,(y=>y.value===b));return m?(h=this._originalCode.slice(m.start,m.end),h):h=f.name};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/jsesc@3.1.0/node_modules/jsesc/jsesc.js");let{isAssignmentPattern:p,isIdentifier:i}=n,o=null,h="",d=new Set(["^^","@@","^","%","#"])},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/typescript.js":(u,e)=>{"use strict";function l(o,h){o.tokenMap&&h.start&&h.end?o.tokenMap.endMatches(h,",")?o.token(","):o.tokenMap.endMatches(h,";")&&o.semicolon():o.semicolon()}function n(o,h,d){var f;let b=0;(f=o.tokenMap)!=null&&f.startMatches(h,d)&&(b=1,o.token(d)),o.printJoin(h.types,void 0,void 0,(function(m){this.space(),this.token(d,null,m+b),this.space()}))}function c(o,h){h!==!0&&o.token(h)}function p(o,h,d){o.token("{");let f=o.enterDelimited();d(),f(),o.rightBrace(h)}function i(o,h,d){var f;let b=new Set;for(let m of d)m&&b.add(m);(f=o.tokenMap)==null||f.find(h,(m=>{if(b.has(m.value))return o.token(m.value),o.space(),b.delete(m.value),b.size===0}));for(let m of b)o.word(m),o.space()}Object.defineProperty(e,"__esModule",{value:!0}),e.TSAnyKeyword=function(){this.word("any")},e.TSArrayType=function(o){this.print(o.elementType,!0),this.tokenChar(91),this.tokenChar(93)},e.TSSatisfiesExpression=e.TSAsExpression=function(o){let{type:h,expression:d,typeAnnotation:f}=o;this.print(d,!0),this.space(),this.word(h==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(f)},e.TSBigIntKeyword=function(){this.word("bigint")},e.TSBooleanKeyword=function(){this.word("boolean")},e.TSCallSignatureDeclaration=function(o){this.tsPrintSignatureDeclarationBase(o),l(this,o)},e.TSInterfaceHeritage=e.TSExpressionWithTypeArguments=e.TSClassImplements=function(o){this.print(o.expression),this.print(o.typeParameters)},e.TSConditionalType=function(o){this.print(o.checkType),this.space(),this.word("extends"),this.space(),this.print(o.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(o.trueType),this.space(),this.tokenChar(58),this.space(),this.print(o.falseType)},e.TSConstructSignatureDeclaration=function(o){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(o),l(this,o)},e.TSConstructorType=function(o){o.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(o)},e.TSDeclareFunction=function(o,h){o.declare&&(this.word("declare"),this.space()),this._functionHead(o,h),this.semicolon()},e.TSDeclareMethod=function(o){this._classMethodHead(o),this.semicolon()},e.TSEnumDeclaration=function(o){let{declare:h,const:d,id:f,members:b}=o;h&&(this.word("declare"),this.space()),d&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(f),this.space(),p(this,o,(()=>{var m;return this.printList(b,(m=this.shouldPrintTrailingComma("}"))==null||m,!0,!0)}))},e.TSEnumMember=function(o){let{id:h,initializer:d}=o;this.print(h),d&&(this.space(),this.tokenChar(61),this.space(),this.print(d))},e.TSExportAssignment=function(o){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(o.expression),this.semicolon()},e.TSExternalModuleReference=function(o){this.token("require("),this.print(o.expression),this.tokenChar(41)},e.TSFunctionType=function(o){this.tsPrintFunctionOrConstructorType(o)},e.TSImportEqualsDeclaration=function(o){let{isExport:h,id:d,moduleReference:f}=o;h&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(d),this.space(),this.tokenChar(61),this.space(),this.print(f),this.semicolon()},e.TSImportType=function(o){let{argument:h,qualifier:d,typeParameters:f}=o;this.word("import"),this.tokenChar(40),this.print(h),this.tokenChar(41),d&&(this.tokenChar(46),this.print(d)),f&&this.print(f)},e.TSIndexSignature=function(o){let{readonly:h,static:d}=o;d&&(this.word("static"),this.space()),h&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(o.parameters,"]"),this.print(o.typeAnnotation),l(this,o)},e.TSIndexedAccessType=function(o){this.print(o.objectType,!0),this.tokenChar(91),this.print(o.indexType),this.tokenChar(93)},e.TSInferType=function(o){this.word("infer"),this.print(o.typeParameter)},e.TSInstantiationExpression=function(o){this.print(o.expression),this.print(o.typeParameters)},e.TSInterfaceBody=function(o){p(this,o,(()=>this.printJoin(o.body,!0,!0)))},e.TSInterfaceDeclaration=function(o){let{declare:h,id:d,typeParameters:f,extends:b,body:m}=o;h&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(d),this.print(f),b!=null&&b.length&&(this.space(),this.word("extends"),this.space(),this.printList(b)),this.space(),this.print(m)},e.TSIntersectionType=function(o){n(this,o,"&")},e.TSIntrinsicKeyword=function(){this.word("intrinsic")},e.TSLiteralType=function(o){this.print(o.literal)},e.TSMappedType=function(o){let{nameType:h,optional:d,readonly:f,typeAnnotation:b}=o;this.tokenChar(123);let m=this.enterDelimited();this.space(),f&&(c(this,f),this.word("readonly"),this.space()),this.tokenChar(91),this.word(o.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(o.typeParameter.constraint),h&&(this.space(),this.word("as"),this.space(),this.print(h)),this.tokenChar(93),d&&(c(this,d),this.tokenChar(63)),b&&(this.tokenChar(58),this.space(),this.print(b)),this.space(),m(),this.tokenChar(125)},e.TSMethodSignature=function(o){let{kind:h}=o;h!=="set"&&h!=="get"||(this.word(h),this.space()),this.tsPrintPropertyOrMethodName(o),this.tsPrintSignatureDeclarationBase(o),l(this,o)},e.TSModuleBlock=function(o){p(this,o,(()=>this.printSequence(o.body,!0)))},e.TSModuleDeclaration=function(o){let{declare:h,id:d,kind:f}=o;h&&(this.word("declare"),this.space());{if(o.global||(this.word(f??(d.type==="Identifier"?"namespace":"module")),this.space()),this.print(d),!o.body)return void this.semicolon();let b=o.body;for(;b.type==="TSModuleDeclaration";)this.tokenChar(46),this.print(b.id),b=b.body;this.space(),this.print(b)}},e.TSNamedTupleMember=function(o){this.print(o.label),o.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(o.elementType)},e.TSNamespaceExportDeclaration=function(o){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(o.id),this.semicolon()},e.TSNeverKeyword=function(){this.word("never")},e.TSNonNullExpression=function(o){this.print(o.expression),this.tokenChar(33)},e.TSNullKeyword=function(){this.word("null")},e.TSNumberKeyword=function(){this.word("number")},e.TSObjectKeyword=function(){this.word("object")},e.TSOptionalType=function(o){this.print(o.typeAnnotation),this.tokenChar(63)},e.TSParameterProperty=function(o){o.accessibility&&(this.word(o.accessibility),this.space()),o.readonly&&(this.word("readonly"),this.space()),this._param(o.parameter)},e.TSParenthesizedType=function(o){this.tokenChar(40),this.print(o.typeAnnotation),this.tokenChar(41)},e.TSPropertySignature=function(o){let{readonly:h}=o;h&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(o),this.print(o.typeAnnotation),l(this,o)},e.TSQualifiedName=function(o){this.print(o.left),this.tokenChar(46),this.print(o.right)},e.TSRestType=function(o){this.token("..."),this.print(o.typeAnnotation)},e.TSStringKeyword=function(){this.word("string")},e.TSSymbolKeyword=function(){this.word("symbol")},e.TSThisType=function(){this.word("this")},e.TSTupleType=function(o){this.tokenChar(91),this.printList(o.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)},e.TSTypeAliasDeclaration=function(o){let{declare:h,id:d,typeParameters:f,typeAnnotation:b}=o;h&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(d),this.print(f),this.space(),this.tokenChar(61),this.space(),this.print(b),this.semicolon()},e.TSTypeAnnotation=function(o,h){this.token(h.type!=="TSFunctionType"&&h.type!=="TSConstructorType"||h.typeAnnotation!==o?":":"=>"),this.space(),o.optional&&this.tokenChar(63),this.print(o.typeAnnotation)},e.TSTypeAssertion=function(o){let{typeAnnotation:h,expression:d}=o;this.tokenChar(60),this.print(h),this.tokenChar(62),this.space(),this.print(d)},e.TSTypeLiteral=function(o){p(this,o,(()=>this.printJoin(o.members,!0,!0)))},e.TSTypeOperator=function(o){this.word(o.operator),this.space(),this.print(o.typeAnnotation)},e.TSTypeParameter=function(o){o.in&&(this.word("in"),this.space()),o.out&&(this.word("out"),this.space()),this.word(o.name),o.constraint&&(this.space(),this.word("extends"),this.space(),this.print(o.constraint)),o.default&&(this.space(),this.tokenChar(61),this.space(),this.print(o.default))},e.TSTypeParameterDeclaration=e.TSTypeParameterInstantiation=function(o,h){this.tokenChar(60);let d=h.type==="ArrowFunctionExpression"&&o.params.length===1;this.tokenMap&&o.start!=null&&o.end!=null&&(d&&(d=!!this.tokenMap.find(o,(f=>this.tokenMap.matchesOriginal(f,",")))),d||(d=this.shouldPrintTrailingComma(">"))),this.printList(o.params,d),this.tokenChar(62)},e.TSTypePredicate=function(o){o.asserts&&(this.word("asserts"),this.space()),this.print(o.parameterName),o.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(o.typeAnnotation.typeAnnotation))},e.TSTypeQuery=function(o){this.word("typeof"),this.space(),this.print(o.exprName),o.typeParameters&&this.print(o.typeParameters)},e.TSTypeReference=function(o){this.print(o.typeName,!!o.typeParameters),this.print(o.typeParameters)},e.TSUndefinedKeyword=function(){this.word("undefined")},e.TSUnionType=function(o){n(this,o,"|")},e.TSUnknownKeyword=function(){this.word("unknown")},e.TSVoidKeyword=function(){this.word("void")},e.tsPrintClassMemberModifiers=function(o){let h=o.type==="ClassAccessorProperty"||o.type==="ClassProperty";i(this,o,[h&&o.declare&&"declare",o.accessibility]),o.static&&(this.word("static"),this.space()),i(this,o,[o.override&&"override",o.abstract&&"abstract",h&&o.readonly&&"readonly"])},e.tsPrintFunctionOrConstructorType=function(o){let{typeParameters:h}=o,d=o.parameters;this.print(h),this.tokenChar(40),this._parameters(d,")"),this.space();let f=o.typeAnnotation;this.print(f)},e.tsPrintPropertyOrMethodName=function(o){o.computed&&this.tokenChar(91),this.print(o.key),o.computed&&this.tokenChar(93),o.optional&&this.tokenChar(63)},e.tsPrintSignatureDeclarationBase=function(o){let{typeParameters:h}=o,d=o.parameters;this.print(h),this.tokenChar(40),this._parameters(d,")");let f=o.typeAnnotation;this.print(f)}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(i,o={},h){let d=p(h,o,i),f=o.sourceMaps?new n.default(o,h):null;return new c.default(d,f,i.tokens,typeof h=="string"?h:null).generate(i)};var n=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/source-map.js"),c=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/printer.js");function p(i,o,h){if(o.experimental_preserveFormat){if(typeof i!="string")throw new Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!o.retainLines)throw new Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(o.compact&&o.compact!=="auto")throw new Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(o.minified)throw new Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(o.jsescOption)throw new Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");if(!Array.isArray(h.tokens))throw new Error("`experimental_preserveFormat` requires the AST to have attatched the token of the input code. Make sure to enable the `tokens: true` parser option.")}let d={auxiliaryCommentBefore:o.auxiliaryCommentBefore,auxiliaryCommentAfter:o.auxiliaryCommentAfter,shouldPrintComment:o.shouldPrintComment,preserveFormat:o.experimental_preserveFormat,retainLines:o.retainLines,retainFunctionParens:o.retainFunctionParens,comments:o.comments==null||o.comments,compact:o.compact,minified:o.minified,concise:o.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},o.jsescOption),topicToken:o.topicToken,importAttributesKeyword:o.importAttributesKeyword};var f;d.decoratorsBeforeExport=o.decoratorsBeforeExport,d.jsescOption.json=o.jsonCompatibleStrings,d.recordAndTupleSyntaxType=(f=o.recordAndTupleSyntaxType)!=null?f:"hash",d.minified?(d.compact=!0,d.shouldPrintComment=d.shouldPrintComment||(()=>d.comments)):d.shouldPrintComment=d.shouldPrintComment||(x=>d.comments||x.includes("@license")||x.includes("@preserve")),d.compact==="auto"&&(d.compact=typeof i=="string"&&i.length>5e5,d.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${o.filename} as it exceeds the max of 500KB.`)),(d.compact||d.preserveFormat)&&(d.indent.adjustMultilineComment=!1);let{auxiliaryCommentBefore:b,auxiliaryCommentAfter:m,shouldPrintComment:y}=d;return b&&!y(b)&&(d.auxiliaryCommentBefore=void 0),m&&!y(m)&&(d.auxiliaryCommentAfter=void 0),d}e.CodeGenerator=class{constructor(i,o={},h){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=i,this._format=p(h,o,i),this._map=o.sourceMaps?new n.default(o,h):null}generate(){return new c.default(this._format,this._map).generate(this._ast)}}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenContext=void 0,e.isLastChild=function(L,j){let F=o[L.type];for(let k=F.length-1;k>=0;k--){let U=L[F[k]];if(U===j)return!0;if(Array.isArray(U)){let z=U.length-1;for(;z>=0&&U[z]===null;)z--;return z>=0&&U[z]===j}if(U)return!1}return!1},e.needsParens=function(L,j,F,k,U){var z;return j?m(j)&&j.callee===L&&S(L)?!0:d(j)?!(A(L)||h(L)&&A(L.callee)||y(L)):(z=v.get(L.type))==null?void 0:z(L,j,F,k,U):!1},e.needsWhitespace=_,e.needsWhitespaceAfter=function(L,j){return _(L,j,2)},e.needsWhitespaceBefore=function(L,j){return _(L,j,1)};var n=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/whitespace.js"),c=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/parentheses.js"),p=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{FLIPPED_ALIAS_KEYS:i,VISITOR_KEYS:o,isCallExpression:h,isDecorator:d,isExpressionStatement:f,isMemberExpression:b,isNewExpression:m,isParenthesizedExpression:y}=p;e.TokenContext={expressionStatement:1,arrowBody:2,exportDefault:4,forHead:8,forInHead:16,forOfHead:32,arrowFlowReturnType:64};function x(L){let j=new Map;function F(k,U){let z=j.get(k);j.set(k,z?function(C,R,G,V,B){var q;return(q=z(C,R,G,V,B))!=null?q:U(C,R,G,V,B)}:U)}for(let k of Object.keys(L)){let U=i[k];if(U)for(let z of U)F(z,L[k]);else F(k,L[k])}return j}let v=x(c),E=x(n.nodes);function S(L){return!!h(L)||b(L)&&S(L.object)}function _(L,j,F){var k;if(!L)return!1;f(L)&&(L=L.expression);let U=(k=E.get(L.type))==null?void 0:k(L,j);return typeof U=="number"&&!!(U&F)}function A(L){switch(L.type){case"Identifier":return!0;case"MemberExpression":return!L.computed&&L.property.type==="Identifier"&&A(L.object);default:return!1}}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/parentheses.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AssignmentExpression=function(U,z,C){return!(!L(C)||!b(U.left))||k(U,z)},e.Binary=j,e.BinaryExpression=function(U,z,C,R){return U.operator==="in"&&R},e.ClassExpression=function(U,z,C){return!!(C&(c.TokenContext.expressionStatement|c.TokenContext.exportDefault))},e.ArrowFunctionExpression=e.ConditionalExpression=k,e.DoExpression=function(U,z,C){return!U.async&&!!(C&c.TokenContext.expressionStatement)},e.FunctionExpression=function(U,z,C){return!!(C&(c.TokenContext.expressionStatement|c.TokenContext.exportDefault))},e.FunctionTypeAnnotation=function(U,z,C){let R=z.type;return R==="UnionTypeAnnotation"||R==="IntersectionTypeAnnotation"||R==="ArrayTypeAnnotation"||!!(C&c.TokenContext.arrowFlowReturnType)},e.Identifier=function(U,z,C,R,G){var V;let B=z.type;if((V=U.extra)!=null&&V.parenthesized&&B==="AssignmentExpression"&&z.left===U){let q=z.right.type;if((q==="FunctionExpression"||q==="ClassExpression")&&z.right.id==null)return!0}return G&&G(U)!==U.name?!1:U.name==="let"?!!((f(z,{object:U,computed:!0})||m(z,{object:U,computed:!0,optional:!1}))&&C&(c.TokenContext.expressionStatement|c.TokenContext.forHead|c.TokenContext.forInHead))||!!(C&c.TokenContext.forOfHead):U.name==="async"&&h(z,{left:U,await:!1})},e.LogicalExpression=function(U,z){let C=z.type;if(S(C))return!0;if(C!=="LogicalExpression")return!1;switch(U.operator){case"||":return z.operator==="??"||z.operator==="&&";case"&&":return z.operator==="??";case"??":return z.operator!=="??"}},e.NullableTypeAnnotation=function(U,z){return p(z)},e.ObjectExpression=function(U,z,C){return L(C)},e.OptionalIndexedAccessType=function(U,z){return d(z)&&z.objectType===U},e.OptionalCallExpression=e.OptionalMemberExpression=function(U,z){return o(z)&&z.callee===U||f(z)&&z.object===U},e.SequenceExpression=function(U,z){let C=z.type;return C==="SequenceExpression"||C==="ParenthesizedExpression"||C==="MemberExpression"&&z.property===U||C==="OptionalMemberExpression"&&z.property===U||C==="TemplateLiteral"?!1:C==="ClassDeclaration"?!0:C==="ForOfStatement"?z.right===U:C==="ExportDefaultDeclaration"?!0:!x(z)},e.TSSatisfiesExpression=e.TSAsExpression=function(U,z){return(z.type==="AssignmentExpression"||z.type==="AssignmentPattern")&&z.left===U||z.type==="BinaryExpression"&&(z.operator==="|"||z.operator==="&")&&U===z.left?!0:j(U,z)},e.TSInferType=function(U,z){let C=z.type;return C==="TSArrayType"||C==="TSOptionalType"},e.TSInstantiationExpression=function(U,z){let C=z.type;return(C==="CallExpression"||C==="OptionalCallExpression"||C==="NewExpression"||C==="TSInstantiationExpression")&&!!z.typeParameters},e.UnaryLike=e.TSTypeAssertion=F,e.TSIntersectionType=e.TSUnionType=function(U,z){let C=z.type;return C==="TSArrayType"||C==="TSOptionalType"||C==="TSIntersectionType"||C==="TSRestType"},e.IntersectionTypeAnnotation=e.UnionTypeAnnotation=function(U,z){let C=z.type;return C==="ArrayTypeAnnotation"||C==="NullableTypeAnnotation"||C==="IntersectionTypeAnnotation"||C==="UnionTypeAnnotation"},e.UpdateExpression=function(U,z){return A(U,z)||_(U,z)},e.AwaitExpression=e.YieldExpression=function(U,z){let C=z.type;return C==="BinaryExpression"||C==="LogicalExpression"||C==="UnaryExpression"||C==="SpreadElement"||A(U,z)||C==="AwaitExpression"&&y(U)||C==="ConditionalExpression"&&U===z.test||_(U,z)||S(C)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/index.js");let{isArrayTypeAnnotation:p,isBinaryExpression:i,isCallExpression:o,isForOfStatement:h,isIndexedAccessType:d,isMemberExpression:f,isObjectPattern:b,isOptionalMemberExpression:m,isYieldExpression:y,isStatement:x}=n,v=new Map([["||",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 E(U,z){return z==="BinaryExpression"||z==="LogicalExpression"?v.get(U.operator):z==="TSAsExpression"||z==="TSSatisfiesExpression"?v.get("in"):void 0}function S(U){return U==="TSAsExpression"||U==="TSSatisfiesExpression"||U==="TSTypeAssertion"}let _=(U,z)=>{let C=z.type;return(C==="ClassDeclaration"||C==="ClassExpression")&&z.superClass===U},A=(U,z)=>{let C=z.type;return(C==="MemberExpression"||C==="OptionalMemberExpression")&&z.object===U||(C==="CallExpression"||C==="OptionalCallExpression"||C==="NewExpression")&&z.callee===U||C==="TaggedTemplateExpression"&&z.tag===U||C==="TSNonNullExpression"};function L(U){return!!(U&(c.TokenContext.expressionStatement|c.TokenContext.arrowBody))}function j(U,z){let C=z.type;if(U.type==="BinaryExpression"&&U.operator==="**"&&C==="BinaryExpression"&&z.operator==="**")return z.left===U;if(_(U,z)||A(U,z)||C==="UnaryExpression"||C==="SpreadElement"||C==="AwaitExpression")return!0;let R=E(z,C);if(R!=null){let G=E(U,U.type);if(R===G&&C==="BinaryExpression"&&z.right===U||R>G)return!0}}function F(U,z){return A(U,z)||i(z)&&z.operator==="**"&&z.left===U||_(U,z)}function k(U,z){let C=z.type;return!!(C==="UnaryExpression"||C==="SpreadElement"||C==="BinaryExpression"||C==="LogicalExpression"||C==="ConditionalExpression"&&z.test===U||C==="AwaitExpression"||S(C))||F(U,z)}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/whitespace.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.nodes=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{FLIPPED_ALIAS_KEYS:c,isArrayExpression:p,isAssignmentExpression:i,isBinary:o,isBlockStatement:h,isCallExpression:d,isFunction:f,isIdentifier:b,isLiteral:m,isMemberExpression:y,isObjectExpression:x,isOptionalCallExpression:v,isOptionalMemberExpression:E,isStringLiteral:S}=n;function _(k,U){return k&&(y(k)||E(k)?(_(k.object,U),k.computed&&_(k.property,U)):o(k)||i(k)?(_(k.left,U),_(k.right,U)):d(k)||v(k)?(U.hasCall=!0,_(k.callee,U)):f(k)?U.hasFunction=!0:b(k)&&(U.hasHelper=U.hasHelper||k.callee&&L(k.callee))),U}function A(k){return _(k,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function L(k){return!!k&&(y(k)?L(k.object)||L(k.property):b(k)?k.name==="require"||k.name.charCodeAt(0)===95:d(k)?L(k.callee):!(!o(k)&&!i(k))&&(b(k.left)&&L(k.left)||L(k.right)))}function j(k){return m(k)||x(k)||p(k)||b(k)||y(k)}let F=e.nodes={AssignmentExpression(k){let U=A(k.right);if(U.hasCall&&U.hasHelper||U.hasFunction)return U.hasFunction?3:2},SwitchCase:(k,U)=>(k.consequent.length||U.cases[0]===k?1:0)|(k.consequent.length||U.cases[U.cases.length-1]!==k?0:2),LogicalExpression(k){if(f(k.left)||f(k.right))return 2},Literal(k){if(S(k)&&k.value==="use strict")return 2},CallExpression(k){if(f(k.callee)||L(k))return 3},OptionalCallExpression(k){if(f(k.callee))return 3},VariableDeclaration(k){for(let U=0;U<k.declarations.length;U++){let z=k.declarations[U],C=L(z.id)&&!j(z.init);if(!C&&z.init){let R=A(z.init);C=L(z.init)&&R.hasCall||R.hasFunction}if(C)return 3}},IfStatement(k){if(h(k.consequent))return 3}};F.ObjectProperty=F.ObjectTypeProperty=F.ObjectMethod=function(k,U){if(U.properties[0]===k)return 1},F.ObjectTypeCallProperty=function(k,U){var z;if(U.callProperties[0]===k&&((z=U.properties)==null||!z.length))return 1},F.ObjectTypeIndexer=function(k,U){var z,C;if(!(U.indexers[0]!==k||(z=U.properties)!=null&&z.length||(C=U.callProperties)!=null&&C.length))return 1},F.ObjectTypeInternalSlot=function(k,U){var z,C,R;if(!(U.internalSlots[0]!==k||(z=U.properties)!=null&&z.length||(C=U.callProperties)!=null&&C.length||(R=U.indexers)!=null&&R.length))return 1},[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach((function([k,U]){[k].concat(c[k]||[]).forEach((function(z){let C=U?3:0;F[z]=()=>C}))}))},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/printer.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/buffer.js"),c=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/node/index.js"),p=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),i=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/token-map.js"),o=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/generators/index.js");let{isExpression:h,isFunction:d,isStatement:f,isClassBody:b,isTSInterfaceBody:m,isTSEnumDeclaration:y}=p,x=/e/i,v=/\.0+$/,E=/[\n\r\u2028\u2029]/,S=/[\n\r\u2028\u2029]|\*\//;function _(F){return F.type==="CommentLine"||E.test(F.value)}let{needsParens:A}=c;class L{constructor(k,U,z,C){this.inForStatementInit=!1,this.tokenContext=0,this._tokens=null,this._originalCode=null,this._currentNode=null,this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._noLineTerminator=!1,this._noLineTerminatorAfterNode=null,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._endsWithDiv=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.tokenMap=null,this._boundGetRawIdentifier=this._getRawIdentifier.bind(this),this._printSemicolonBeforeNextNode=-1,this._printSemicolonBeforeNextToken=-1,this.format=k,this._tokens=z,this._originalCode=C,this._indentRepeat=k.indent.style.length,this._inputMap=U==null?void 0:U._inputMap,this._buf=new n.default(U,k.indent.style[0])}enterForStatementInit(){return this.inForStatementInit?()=>{}:(this.inForStatementInit=!0,()=>{this.inForStatementInit=!1})}enterDelimited(){let k=this.inForStatementInit,U=this._noLineTerminatorAfterNode;return k===!1&&U===null?()=>{}:(this.inForStatementInit=!1,this._noLineTerminatorAfterNode=null,()=>{this.inForStatementInit=k,this._noLineTerminatorAfterNode=U})}generate(k){return this.format.preserveFormat&&(this.tokenMap=new i.TokenMap(k,this._tokens,this._originalCode)),this.print(k),this._maybeAddAuxComment(),this._buf.get()}indent(){let{format:k}=this;k.preserveFormat||k.compact||k.concise||this._indent++}dedent(){let{format:k}=this;k.preserveFormat||k.compact||k.concise||this._indent--}semicolon(k=!1){if(this._maybeAddAuxComment(),k)return this._appendChar(59),void(this._noLineTerminator=!1);if(this.tokenMap){let U=this._currentNode;if(U.start!=null&&U.end!=null){if(!this.tokenMap.endMatches(U,";"))return void(this._printSemicolonBeforeNextNode=this._buf.getCurrentLine());let z=this.tokenMap.getIndexes(this._currentNode);this._catchUpTo(this._tokens[z[z.length-1]].loc.start)}}this._queue(59),this._noLineTerminator=!1}rightBrace(k){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",k.loc,-1),this.tokenChar(125)}rightParens(k){this.sourceWithOffset("end",k.loc,-1),this.tokenChar(41)}space(k=!1){let{format:U}=this;if(!U.compact&&!U.preserveFormat){if(k)this._space();else if(this._buf.hasContent()){let z=this.getLastChar();z!==32&&z!==10&&this._space()}}}word(k,U=!1){this.tokenContext=0,this._maybePrintInnerComments(k),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(k),(this._endsWithWord||this._endsWithDiv&&k.charCodeAt(0)===47)&&this._space(),this._append(k,!1),this._endsWithWord=!0,this._noLineTerminator=U}number(k,U){this.word(k),this._endsWithInteger=Number.isInteger(U)&&!(function(z){if(z.length>2&&z.charCodeAt(0)===48){let C=z.charCodeAt(1);return C===98||C===111||C===120}return!1})(k)&&!x.test(k)&&!v.test(k)&&k.charCodeAt(k.length-1)!==46}token(k,U=!1,z=0){this.tokenContext=0,this._maybePrintInnerComments(k,z),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(k,z);let C=this.getLastChar(),R=k.charCodeAt(0);(C===33&&(k==="--"||R===61)||R===43&&C===43||R===45&&C===45||R===46&&this._endsWithInteger)&&this._space(),this._append(k,U),this._noLineTerminator=!1}tokenChar(k){this.tokenContext=0;let U=String.fromCharCode(k);this._maybePrintInnerComments(U),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(U);let z=this.getLastChar();(k===43&&z===43||k===45&&z===45||k===46&&this._endsWithInteger)&&this._space(),this._appendChar(k),this._noLineTerminator=!1}newline(k=1,U){if(!(k<=0)){if(!U){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space()}k>2&&(k=2),k-=this._buf.getNewlineCount();for(let z=0;z<k;z++)this._newline()}}endsWith(k){return this.getLastChar()===k}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(k,U){k?(this._catchUp("start",k),this._buf.exactSource(k,U)):U()}source(k,U){U&&(this._catchUp(k,U),this._buf.source(k,U))}sourceWithOffset(k,U,z){U&&!this.format.preserveFormat&&(this._catchUp(k,U),this._buf.sourceWithOffset(k,U,z))}sourceIdentifierName(k,U){if(!this._buf._canMarkIdName)return;let z=this._buf._sourcePosition;z.identifierNamePos=U,z.identifierName=k}_space(){this._queue(32)}_newline(){this._queue(10)}_catchUpToCurrentToken(k,U=0){let z=this.tokenMap.findMatching(this._currentNode,k,U);z&&this._catchUpTo(z.loc.start),this._printSemicolonBeforeNextToken!==-1&&this._printSemicolonBeforeNextToken===this._buf.getCurrentLine()&&(this._buf.appendChar(59),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1),this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1}_append(k,U){this._maybeIndent(k.charCodeAt(0)),this._buf.append(k,U),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_appendChar(k){this._maybeIndent(k),this._buf.appendChar(k),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_queue(k){this._maybeIndent(k),this._buf.queue(k),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(k){this._indent&&k!==10&&this.endsWith(10)&&this._buf.queueIndentation(this._getIndent())}_shouldIndent(k){if(this._indent&&k!==10&&this.endsWith(10))return!0}catchUp(k){if(!this.format.retainLines)return;let U=k-this._buf.getCurrentLine();for(let z=0;z<U;z++)this._newline()}_catchUp(k,U){let{format:z}=this;if(!z.preserveFormat)return void(z.retainLines&&U!=null&&U[k]&&this.catchUp(U[k].line));let C=U==null?void 0:U[k];C!=null&&this._catchUpTo(C)}_catchUpTo({line:k,column:U,index:z}){let C=k-this._buf.getCurrentLine();if(C>0&&this._noLineTerminator)return;for(let G=0;G<C;G++)this._newline();let R=C>0?U:U-this._buf.getCurrentColumn();if(R>0){let G=this._originalCode?this._originalCode.slice(z-R,z).replace(/[^\t\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]/gu," "):" ".repeat(R);this._append(G,!1)}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(k){this._noLineTerminator=!0,this.print(k)}print(k,U,z){var C,R,G;if(!k)return;this._endsWithInnerRaw=!1;let V=k.type,B=this.format,q=B.concise;k._compact&&(B.concise=!0);let K=this[V];if(K===void 0)throw new ReferenceError(`unknown node of type ${JSON.stringify(V)} with constructor ${JSON.stringify(k.constructor.name)}`);let $=this._currentNode;this._currentNode=k,this.tokenMap&&(this._printSemicolonBeforeNextToken=this._printSemicolonBeforeNextNode);let W=this._insideAux;this._insideAux=k.loc==null,this._maybeAddAuxComment(this._insideAux&&!W);let Z=(C=k.extra)==null?void 0:C.parenthesized,Q=Z&&B.preserveFormat||Z&&B.retainFunctionParens&&V==="FunctionExpression"||A(k,$,this.tokenContext,this.inForStatementInit,B.preserveFormat?this._boundGetRawIdentifier:void 0);if(!Q&&Z&&(R=k.leadingComments)!=null&&R.length&&k.leadingComments[0].type==="CommentBlock")switch($==null?void 0:$.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if($.callee!==k)break;default:Q=!0}let X,ie,oe=!1;var be;!Q&&this._noLineTerminator&&((G=k.leadingComments)!=null&&G.some(_)||this.format.retainLines&&k.loc&&k.loc.start.line>this._buf.getCurrentLine())&&(Q=!0,oe=!0),Q||(U||(U=$&&this._noLineTerminatorAfterNode===$&&c.isLastChild($,k)),U&&((be=k.trailingComments)!=null&&be.some(_)?h(k)&&(Q=!0):(X=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=k))),Q&&(this.tokenChar(40),oe&&this.indent(),this._endsWithInnerRaw=!1,this.inForStatementInit&&(ie=!0,this.inForStatementInit=!1),X=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null),this._lastCommentLine=0,this._printLeadingComments(k,$);let Ne=V==="Program"||V==="File"?null:k.loc;this.exactSource(Ne,K.bind(this,k,$)),Q?(this._printTrailingComments(k,$),oe&&(this.dedent(),this.newline()),this.tokenChar(41),this._noLineTerminator=U,ie&&(this.inForStatementInit=!0)):U&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(k,$)):this._printTrailingComments(k,$,z),this._currentNode=$,B.concise=q,this._insideAux=W,X!==void 0&&(this._noLineTerminatorAfterNode=X),this._endsWithInnerRaw=!1}_maybeAddAuxComment(k){k&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;let k=this.format.auxiliaryCommentBefore;k&&this._printComment({type:"CommentBlock",value:k},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;let k=this.format.auxiliaryCommentAfter;k&&this._printComment({type:"CommentBlock",value:k},0)}getPossibleRaw(k){let U=k.extra;if((U==null?void 0:U.raw)!=null&&U.rawValue!=null&&k.value===U.rawValue)return U.raw}printJoin(k,U,z,C,R,G,V,B){if(k==null||!k.length)return;if(z==null&&this.format.retainLines){var q;let X=(q=k[0].loc)==null?void 0:q.start.line;X!=null&&X!==this._buf.getCurrentLine()&&(z=!0)}z&&this.indent();let K={addNewlines:G,nextNodeStartLine:0},$=C==null?void 0:C.bind(this),W=k.length;for(let X=0;X<W;X++){let ie=k[X];var Z;if(ie&&(U&&this._printNewline(X===0,K),this.print(ie,void 0,B||0),V==null||V(ie,X),$!=null&&(X<W-1?$(X,!1):R&&$(X,!0)),U))if((Z=ie.trailingComments)!=null&&Z.length||(this._lastCommentLine=0),X+1===W)this.newline(1);else{var Q;let oe=k[X+1];K.nextNodeStartLine=((Q=oe.loc)==null?void 0:Q.start.line)||0,this._printNewline(!0,K)}}z&&this.dedent()}printAndIndentOnComments(k){let U=k.leadingComments&&k.leadingComments.length>0;U&&this.indent(),this.print(k),U&&this.dedent()}printBlock(k){let U=k.body;U.type!=="EmptyStatement"&&this.space(),this.print(U)}_printTrailingComments(k,U,z){let{innerComments:C,trailingComments:R}=k;C!=null&&C.length&&this._printComments(2,C,k,U,z),R!=null&&R.length&&this._printComments(2,R,k,U,z)}_printLeadingComments(k,U){let z=k.leadingComments;z!=null&&z.length&&this._printComments(0,z,k,U)}_maybePrintInnerComments(k,U){var z;this._endsWithInnerRaw&&this.printInnerComments((z=this.tokenMap)==null?void 0:z.findMatching(this._currentNode,k,U)),this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(k){let U=this._currentNode,z=U.innerComments;if(z==null||!z.length)return;let C=this.endsWith(32),R=this._indentInnerComments,G=this._printedComments.size;R&&this.indent(),this._printComments(1,z,U,void 0,void 0,k),C&&G!==this._printedComments.size&&this.space(),R&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(k,U,z,C){this.printJoin(k,!0,U!=null&&U,void 0,void 0,C,void 0,z)}printList(k,U,z,C,R,G){this.printJoin(k,z,C,R??j,U,void 0,G)}shouldPrintTrailingComma(k){if(!this.tokenMap)return null;let U=this.tokenMap.findLastIndex(this._currentNode,(z=>this.tokenMap.matchesOriginal(z,k)));return U<=0?null:this.tokenMap.matchesOriginal(this._tokens[U-1],",")}_printNewline(k,U){let z=this.format;if(z.retainLines||z.compact)return;if(z.concise)return void this.space();if(!k)return;let C=U.nextNodeStartLine,R=this._lastCommentLine;if(C>0&&R>0){let G=C-R;if(G>=0)return void this.newline(G||1)}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(k,U){if(k.ignore||this._printedComments.has(k))return 0;if(this._noLineTerminator&&S.test(k.value))return 2;if(U&&this.tokenMap){let z=this.tokenMap.find(this._currentNode,(C=>C.value===k.value));if(z&&z.start>U.start)return 2}return this._printedComments.add(k),this.format.shouldPrintComment(k.value)?1:0}_printComment(k,U){let z=this._noLineTerminator,C=k.type==="CommentBlock",R=C&&U!==1&&!this._noLineTerminator;R&&this._buf.hasContent()&&U!==2&&this.newline(1);let G=this.getLastChar(),V;if(G!==91&&G!==123&&G!==40&&this.space(),C){if(V=`/*${k.value}*/`,this.format.indent.adjustMultilineComment){var B;let q=(B=k.loc)==null?void 0:B.start.column;if(q){let K=new RegExp("\\n\\s{1,"+q+"}","g");V=V.replace(K,`
|
|
`)}if(this.format.concise)V=V.replace(/\n(?!$)/g,`
|
|
`);else{let K=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&(K+=this._getIndent()),V=V.replace(/\n(?!$)/g,`
|
|
${" ".repeat(K)}`)}}}else V=z?`/*${k.value}*/`:`//${k.value}`;if(this._endsWithDiv&&this._space(),this.tokenMap){let{_printSemicolonBeforeNextToken:q,_printSemicolonBeforeNextNode:K}=this;this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1,this.source("start",k.loc),this._append(V,C),this._printSemicolonBeforeNextNode=K,this._printSemicolonBeforeNextToken=q}else this.source("start",k.loc),this._append(V,C);C||z||this.newline(1,!0),R&&U!==3&&this.newline(1)}_printComments(k,U,z,C,R=0,G){let V=z.loc,B=U.length,q=!!V,K=q?V.start.line:0,$=q?V.end.line:0,W=0,Z=0,Q=this._noLineTerminator?function(){}:this.newline.bind(this);for(let X=0;X<B;X++){let ie=U[X],oe=this._shouldPrintComment(ie,G);if(oe===2){q=!1;break}if(q&&ie.loc&&oe===1){let be=ie.loc.start.line,Ne=ie.loc.end.line;if(k===0){let Pe=0;X===0?!this._buf.hasContent()||ie.type!=="CommentLine"&&be===Ne||(Pe=Z=1):Pe=be-W,W=Ne,Q(Pe),this._printComment(ie,1),X+1===B&&(Q(Math.max(K-W,Z)),W=K)}else if(k===1){let Pe=be-(X===0?K:W);W=Ne,Q(Pe),this._printComment(ie,1),X+1===B&&(Q(Math.min(1,$-W)),W=$)}else{let Pe=be-(X===0?$-R:W);W=Ne,Q(Pe),this._printComment(ie,1)}}else{if(q=!1,oe!==1)continue;if(B===1){let be=ie.loc?ie.loc.start.line===ie.loc.end.line:!E.test(ie.value),Ne=be&&!f(z)&&!b(C)&&!m(C)&&!y(C);k===0?this._printComment(ie,Ne&&z.type!=="ObjectExpression"||be&&d(C,{body:z})?1:0):Ne&&k===2?this._printComment(ie,1):this._printComment(ie,0)}else k!==1||z.type==="ObjectExpression"&&z.properties.length>1||z.type==="ClassBody"||z.type==="TSInterfaceBody"?this._printComment(ie,0):this._printComment(ie,X===0?2:X===B-1?3:0)}}k===2&&q&&W&&(this._lastCommentLine=W)}}Object.assign(L.prototype,o),L.prototype.Noop=function(){},e.default=L;function j(F,k){this.token(",",!1,F),k||this.space()}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/source-map.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.8/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"),c=l("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.25/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js");e.default=class{constructor(p,i){var o;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 h=this._map=new n.GenMapping({sourceRoot:p.sourceRoot});if(this._sourceFileName=(o=p.sourceFileName)==null?void 0:o.replace(/\\/g,"/"),this._rawMappings=void 0,p.inputSourceMap){this._inputMap=new c.TraceMap(p.inputSourceMap);let f=this._inputMap.resolvedSources;if(f.length)for(let b=0;b<f.length;b++){var d;(0,n.setSourceContent)(h,f[b],(d=this._inputMap.sourcesContent)==null?void 0:d[b])}}if(typeof i!="string"||p.inputSourceMap){if(typeof i=="object")for(let f of Object.keys(i))(0,n.setSourceContent)(h,f.replace(/\\/g,"/"),i[f])}else(0,n.setSourceContent)(h,this._sourceFileName,i)}get(){return(0,n.toEncodedMap)(this._map)}getDecoded(){return(0,n.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,n.allMappings)(this._map))}mark(p,i,o,h,d,f){var b;let m;if(this._rawMappings=void 0,i!=null)if(this._inputMap){if(m=(0,c.originalPositionFor)(this._inputMap,{line:i,column:o}),!m.name&&d){let y=(0,c.originalPositionFor)(this._inputMap,d);y.name&&(h=y.name)}}else m={source:(f==null?void 0:f.replace(/\\/g,"/"))||this._sourceFileName,line:i,column:o};(0,n.maybeAddMapping)(this._map,{name:h,generated:p,source:(b=m)==null?void 0:b.source,original:m})}}},"./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/token-map.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenMap=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{traverseFast:c,VISITOR_KEYS:p}=n;e.TokenMap=class{constructor(i,o,h){this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=o,this._source=h,c(i,(d=>{let f=this._getTokensIndexesOfNode(d);f.length>0&&this._nodesToTokenIndexes.set(d,f)})),this._tokensCache=null}has(i){return this._nodesToTokenIndexes.has(i)}getIndexes(i){return this._nodesToTokenIndexes.get(i)}find(i,o){let h=this._nodesToTokenIndexes.get(i);if(h)for(let d=0;d<h.length;d++){let f=h[d],b=this._tokens[f];if(o(b,f))return b}return null}findLastIndex(i,o){let h=this._nodesToTokenIndexes.get(i);if(h)for(let d=h.length-1;d>=0;d--){let f=h[d];if(o(this._tokens[f],f))return f}return-1}findMatching(i,o,h=0){let d=this._nodesToTokenIndexes.get(i);if(d){let f=0,b=h;if(b>1){let m=this._nodesOccurrencesCountCache.get(i);m&&m.test===o&&m.count<b&&(f=m.i+1,h-=m.count+1)}for(;f<d.length;f++){let m=this._tokens[d[f]];if(this.matchesOriginal(m,o)){if(h===0)return b>0&&this._nodesOccurrencesCountCache.set(i,{test:o,count:b,i:f}),m;h--}}}return null}matchesOriginal(i,o){return i.end-i.start===o.length&&(i.value!=null?i.value===o:this._source.startsWith(o,i.start))}startMatches(i,o){let h=this._nodesToTokenIndexes.get(i);if(!h)return!1;let d=this._tokens[h[0]];return d.start===i.start&&this.matchesOriginal(d,o)}endMatches(i,o){let h=this._nodesToTokenIndexes.get(i);if(!h)return!1;let d=this._tokens[h[h.length-1]];return d.end===i.end&&this.matchesOriginal(d,o)}_getTokensIndexesOfNode(i){if(i.start==null||i.end==null)return[];let{first:o,last:h}=this._findTokensOfNode(i,0,this._tokens.length-1),d=o,f=(function*(m){if(m.type==="TemplateLiteral"){yield m.quasis[0];for(let x=1;x<m.quasis.length;x++)yield m.expressions[x-1],yield m.quasis[x];return}let y=p[m.type];for(let x of y){let v=m[x];v&&(Array.isArray(v)?yield*v:yield v)}})(i);i.type!=="ExportNamedDeclaration"&&i.type!=="ExportDefaultDeclaration"||!i.declaration||i.declaration.type!=="ClassDeclaration"||f.next();let b=[];for(let m of f){if(m==null||m.start==null||m.end==null)continue;let y=this._findTokensOfNode(m,d,h),x=y.first;for(let v=d;v<x;v++)b.push(v);d=y.last+1}for(let m=d;m<=h;m++)b.push(m);return b}_findTokensOfNode(i,o,h){let d=this._tokensCache.get(i);if(d)return d;let f=this._findFirstTokenOfNode(i.start,o,h),b=this._findLastTokenOfNode(i.end,f,h);return this._tokensCache.set(i,{first:f,last:b}),{first:f,last:b}}_findFirstTokenOfNode(i,o,h){for(;o<=h;){let d=h+o>>1;if(i<this._tokens[d].start)h=d-1;else{if(!(i>this._tokens[d].start))return d;o=d+1}}return o}_findLastTokenOfNode(i,o,h){for(;o<=h;){let d=h+o>>1;if(i<this._tokens[d].end)h=d-1;else{if(!(i>this._tokens[d].end))return d;o=d+1}}return h}}},"./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.25.9/node_modules/@babel/helper-annotate-as-pure/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o){let h=o.node||o;i(h)||c(h,"leading",p)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{addComment:c}=n,p="#__PURE__",i=({leadingComments:o})=>!!o&&o.some((h=>/[@#]__PURE__/.test(h.value)))},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildDecoratedClass=function(d,f,b,m){let{node:y,scope:x}=f,v=x.generateUidIdentifier("initialize"),E=y.id&&f.isDeclaration(),S=f.isInStrictMode(),{superClass:_}=y;y.type="ClassDeclaration",y.id||(y.id=n.types.cloneNode(d));let A;_&&(A=x.generateUidIdentifierBasedOnNode(y.superClass,"super"),y.superClass=A);let L=o(y),j=n.types.arrayExpression(b.filter((z=>!z.node.abstract&&z.node.type!=="TSIndexSignature")).map((z=>(function(C,R,G,V){let B=V.isClassMethod();if(V.isPrivate())throw V.buildCodeFrameError(`Private ${B?"methods":"fields"} in decorated classes are not supported yet.`);if(V.node.type==="ClassAccessorProperty")throw V.buildCodeFrameError('Accessor properties are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.');if(V.node.type==="StaticBlock")throw V.buildCodeFrameError('Static blocks are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.');let{node:q,scope:K}=V;V.isTSDeclareMethod()||new c.default({methodPath:V,objectRef:R,superRef:G,file:C,refToPreserve:R}).replace();let $=[i("kind",n.types.stringLiteral(n.types.isClassMethod(q)?q.kind:"field")),i("decorators",o(q)),i("static",q.static&&n.types.booleanLiteral(!0)),i("key",h(q))].filter(Boolean);B?(V.ensureFunctionName!=null||(V.ensureFunctionName=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.ensureFunctionName),V.ensureFunctionName(!1),$.push(i("value",n.types.toExpression(V.node)))):n.types.isClassProperty(q)&&q.value?$.push((W="value",Z=n.template.statements.ast`return ${q.value}`,n.types.objectMethod("method",n.types.identifier(W),[],n.types.blockStatement(Z)))):$.push(i("value",K.buildUndefinedNode()));var W,Z;return V.remove(),n.types.objectExpression($)})(m,y.id,A,z)))),F=n.template.expression.ast`
|
|
${(function(z){return z.addHelper("decorate")})(m)}(
|
|
${L||n.types.nullLiteral()},
|
|
function (${v}, ${_?n.types.cloneNode(A):null}) {
|
|
${y}
|
|
return { F: ${n.types.cloneNode(y.id)}, d: ${j} };
|
|
},
|
|
${_}
|
|
)
|
|
`;S||F.arguments[1].body.directives.push(n.types.directive(n.types.directiveLiteral("use strict")));let k=F,U="arguments.1.body.body.0";return E&&(k=n.template.statement.ast`let ${d} = ${F}`,U="declarations.0.init."+U),{instanceNodes:[n.template.statement.ast`
|
|
${n.types.cloneNode(v)}(this)
|
|
`],wrapClass:z=>(z.replaceWith(k),z.get(U))}},e.hasDecorators=function(d){return p(d)||d.body.body.some(p)},e.hasOwnDecorators=p;var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),c=l("./node_modules/.pnpm/@babel+helper-replace-supers@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-replace-supers/lib/index.js");function p(d){var f;return!((f=d.decorators)==null||!f.length)}function i(d,f){return f?n.types.objectProperty(n.types.identifier(d),f):null}function o(d){let f;return d.decorators&&d.decorators.length>0&&(f=n.types.arrayExpression(d.decorators.map((b=>b.expression)))),d.decorators=void 0,f}function h(d){return d.computed?d.key:n.types.isIdentifier(d.key)?n.types.stringLiteral(d.key.name):n.types.stringLiteral(String(d.key.value))}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function({assertVersion:de,assumption:xe},{loose:ye},ve,he){var Te,Ce;de(ve==="2023-11"||ve==="2023-05"||ve==="2023-01"?"^7.21.0":ve==="2021-12"?"^7.16.0":"^7.19.0");let se=new WeakSet,pe=(Te=xe("constantSuper"))!=null?Te:ye,nt=(Ce=xe("ignoreFunctionLength"))!=null?Ce:ye,ft=(function(Pt,ht){function De(ze,Ze,tt){switch(Ze.type){case"StringLiteral":return n.types.stringLiteral(Ze.value);case"NumericLiteral":case"BigIntLiteral":{let ge=Ze.value+"";return ze.get("key").replaceWith(n.types.stringLiteral(ge)),n.types.stringLiteral(ge)}default:{let ge=ze.scope.maybeGenerateMemoised(Ze);return ze.get("key").replaceWith(n.types.assignmentExpression("=",ge,X(tt,Ze))),n.types.cloneNode(ge)}}}return{VariableDeclarator(ze,Ze){let tt=ze.node.id;if(tt.type==="Identifier"){let ge=(0,p.skipTransparentExprWrappers)(ze.get("init"));if(Pt(ge)){let fe=tt.name;ht(ge,Ze,fe)}}},AssignmentExpression(ze,Ze){let tt=ze.node.left;if(tt.type==="Identifier"){let ge=(0,p.skipTransparentExprWrappers)(ze.get("right"));if(Pt(ge))switch(ze.node.operator){case"=":case"&&=":case"||=":case"??=":ht(ge,Ze,tt.name)}}},AssignmentPattern(ze,Ze){let tt=ze.node.left;if(tt.type==="Identifier"){let ge=(0,p.skipTransparentExprWrappers)(ze.get("right"));if(Pt(ge)){let fe=tt.name;ht(ge,Ze,fe)}}},ObjectExpression(ze,Ze){for(let tt of ze.get("properties")){if(!tt.isObjectProperty())continue;let{node:ge}=tt,fe=ge.key,ee=(0,p.skipTransparentExprWrappers)(tt.get("value"));if(Pt(ee)){if(ge.computed){let le=De(tt,fe,Ze);ht(ee,Ze,le)}else if(!Ne(fe))if(fe.type==="Identifier")ht(ee,Ze,fe.name);else{let le=n.types.stringLiteral(fe.value+"");ht(ee,Ze,le)}}}},ClassPrivateProperty(ze,Ze){let{node:tt}=ze,ge=(0,p.skipTransparentExprWrappers)(ze.get("value"));if(Pt(ge)){let fe=n.types.stringLiteral("#"+tt.key.id.name);ht(ge,Ze,fe)}},ClassAccessorProperty(ze,Ze){let{node:tt}=ze,ge=tt.key,fe=(0,p.skipTransparentExprWrappers)(ze.get("value"));if(Pt(fe))if(tt.computed){let ee=De(ze,ge,Ze);ht(fe,Ze,ee)}else if(ge.type==="Identifier")ht(fe,Ze,ge.name);else if(ge.type==="PrivateName"){let ee=n.types.stringLiteral("#"+ge.id.name);ht(fe,Ze,ee)}else{let ee=n.types.stringLiteral(ge.value+"");ht(fe,Ze,ee)}},ClassProperty(ze,Ze){let{node:tt}=ze,ge=tt.key,fe=(0,p.skipTransparentExprWrappers)(ze.get("value"));if(Pt(fe))if(tt.computed){let ee=De(ze,ge,Ze);ht(fe,Ze,ee)}else if(ge.type==="Identifier")ht(fe,Ze,ge.name);else{let ee=n.types.stringLiteral(ge.value+"");ht(fe,Ze,ee)}}}})(We,_t);function _t(Pt,ht,De){var ze;if(se.has(Pt))return;let{node:Ze}=Pt;De!=null||(De=(ze=Ze.id)==null?void 0:ze.name);let tt=(function(ge,fe,ee,le,Se,Ee,Be){var Qe,ce;let $e=ge.get("body.body"),et=ge.node.decorators,ut=!1,Je=!1,Le=!1,at=(function(Yt){let Qt;return()=>(Qt||(Qt=(function(kt){let vr=[],_r=new Set;return kt.traverse({PrivateName(Xr){_r.add(Xr.node.id.name)}}),()=>{let Xr;do h(vr),Xr=String.fromCharCode(...vr);while(_r.has(Xr));return n.types.privateName(n.types.identifier(Xr))}})(Yt)),Qt())})(ge),Et=[],Rt=ge.scope.parent,lr=(Yt,Qt,kt)=>{let vr=Oe(Rt,Qt);return kt.push(n.types.assignmentExpression("=",vr,Yt)),n.types.cloneNode(vr)},xt,ar,yr=(Qe=ge.node.id)==null?void 0:Qe.name,Pr=typeof Se=="object"?Se:void 0,Rr=Yt=>{try{return n.types.traverseFast(Yt,(Qt=>{if(n.types.isThisExpression(Qt)||n.types.isSuper(Qt)||n.types.isYieldExpression(Qt)||n.types.isAwaitExpression(Qt)||n.types.isIdentifier(Qt,{name:"arguments"})||yr&&n.types.isIdentifier(Qt,{name:yr})||n.types.isMetaProperty(Qt)&&Qt.meta.name!=="import")throw null})),!1}catch{return!0}},ln=[];for(let Yt of $e){if(!$(Yt))continue;let Qt=Yt.node;if(!Qt.static&&n.types.isPrivateName(Qt.key)&&ln.push(Qt.key.id.name),Pe(Qt)){switch(Qt.type){case"ClassProperty":Ee.ClassProperty(Yt,fe);break;case"ClassPrivateProperty":Ee.ClassPrivateProperty(Yt,fe);break;case"ClassAccessorProperty":if(Ee.ClassAccessorProperty(Yt,fe),Be==="2023-11")break;default:Qt.static?ar!=null||(ar=Oe(Rt,"initStatic")):xt!=null||(xt=Oe(Rt,"initProto"))}ut=!0,Le||(Le=Qt.decorators.some(Rr))}else if(Qt.type==="ClassAccessorProperty"){Ee.ClassAccessorProperty(Yt,fe);let{key:kt,value:vr,static:_r,computed:Xr}=Qt,Xt=at(),jr=d(Xt,vr,_r),tn=Yt.get("key"),[un]=Yt.replaceWith(jr),xn,fn;Xr&&!tn.isConstantExpression()?(xn=(0,o.memoiseComputedKey)(X(fe,kt),Rt,Rt.generateUid("computedKey")),fn=n.types.cloneNode(xn.left)):(xn=n.types.cloneNode(kt),fn=n.types.cloneNode(kt)),f(ge,Se),b(ge.node.id,un,xn,fn,Xt,Xr,_r,Be)}"computed"in Yt.node&&Yt.node.computed&&(Je||(Je=!Rt.isStatic(Yt.node.key)))}if(!et&&!ut)return ge.node.id||typeof Se!="string"||(ge.node.id=n.types.identifier(Se)),void(Pr&&ge.node.body.body.unshift(L([Q(fe,Pr)])));let Tn=[],Pn,er=new Set,Yr,gr,An=null;function rt(Yt){let Qt=!1,kt=!1,vr=[];for(let _r of Yt){let{expression:Xr}=_r,Xt;(Be==="2023-11"||Be==="2023-05")&&n.types.isMemberExpression(Xr)&&(n.types.isSuper(Xr.object)?Xt=n.types.thisExpression():Rt.isStatic(Xr.object)?Xt=n.types.cloneNode(Xr.object):(An!=null||(An=Oe(Rt,"obj")),Xt=n.types.assignmentExpression("=",n.types.cloneNode(An),Xr.object),Xr.object=n.types.cloneNode(An))),vr.push(Xt),Qt||(Qt=!Rt.isStatic(Xr)),kt||(kt=Rr(_r))}return{hasSideEffects:Qt,usesFnContext:kt,decoratorsThis:vr}}let At=Je||Le||Be!=="2023-11",Mt,$t,zt=!1,qt=0,pr=[],xr=[];if(et){Yr=Oe(Rt,"initClass"),zt=ge.isClassDeclaration(),{id:gr,path:ge}=(function(Xt,jr){let tn=Xt.node.id,un=Xt.scope;if(Xt.type==="ClassDeclaration"){let xn=tn.name,fn=un.generateUidIdentifierBasedOnNode(tn),_n=n.types.identifier(xn);return un.rename(xn,fn.name),Xt.get("id").replaceWith(_n),{id:n.types.cloneNode(fn),path:Xt}}{let xn;tn?(jr=tn.name,xn=Oe(un.parent,jr),un.rename(jr,xn.name)):xn=Oe(un.parent,typeof jr=="string"?jr:"decorated_class");let fn=n.types.classExpression(typeof jr=="string"?n.types.identifier(jr):null,Xt.node.superClass,Xt.node.body),[_n]=Xt.replaceWith(n.types.sequenceExpression([fn,xn]));return{id:n.types.cloneNode(xn),path:_n.get("expressions.0")}}})(ge,Se),ge.node.decorators=null;let Yt=et.some(oe),{hasSideEffects:Qt,usesFnContext:kt,decoratorsThis:vr}=rt(et),{haveThis:_r,decs:Xr}=B(et,vr,Be);if(qt=_r?1:0,pr=Xr,(kt||Qt&&At||Yt)&&(Mt=lr(n.types.arrayExpression(pr),"classDecs",Et)),!ut)for(let Xt of ge.get("body.body")){let{node:jr}=Xt;if("computed"in jr&&jr.computed)if(Xt.isClassProperty({static:!0})){if(!Xt.get("key").isConstantExpression()){let tn=jr.key,un=(0,o.memoiseComputedKey)(tn,Rt,Rt.generateUid("computedKey"));un!=null&&(jr.key=n.types.cloneNode(un.left),xr.push(un))}}else xr.length>0&&(v(xr,Xt),xr=[])}}else f(ge,Se),gr=n.types.cloneNode(ge.node.id);let Hr=!1,Qr=[],Fr=[];if(ut){if(xt){let Yt=n.types.callExpression(n.types.cloneNode(xt),[n.types.thisExpression()]);Qr.push(Yt)}for(let Yt of $e){if(!$(Yt)){Fr.length>0&&Yt.isStaticBlock()&&(S(Fr,Yt),Fr=[]);continue}let{node:Qt}=Yt,kt=Qt.decorators,vr=!(kt==null||!kt.length),_r="computed"in Qt&&Qt.computed,Xr,Xt,jr="computedKey";if(Qt.key.type==="PrivateName"?jr=Qt.key.id.name:_r||Qt.key.type!=="Identifier"||(jr=Qt.key.name),vr){let{hasSideEffects:Ti,usesFnContext:di,decoratorsThis:an}=rt(kt),{decs:Qn,haveThis:Wi}=B(kt,an,Be);Xt=Wi,Xr=Qn.length===1?Qn[0]:n.types.arrayExpression(Qn),(di||Ti&&At)&&(Xr=lr(Xr,jr+"Decs",xr))}if(_r&&!Yt.get("key").isConstantExpression()){let Ti=Qt.key,di=(0,o.memoiseComputedKey)(vr?X(fe,Ti):Ti,Rt,Rt.generateUid("computedKey"));di!=null&&(et&&Yt.isClassProperty({static:!0})?(Qt.key=n.types.cloneNode(di.left),xr.push(di)):Qt.key=di)}let{key:tn,static:un}=Qt,xn=tn.type==="PrivateName",fn=V(Yt),_n;if(xn&&!un&&(vr&&(Hr=!0),!n.types.isClassPrivateProperty(Qt)&&$t||($t=tn)),Yt.isClassMethod({kind:"constructor"})&&(Pn=Yt),vr){let Ti,di;if(di=_r?x(Yt.get("key")):tn.type==="PrivateName"?n.types.stringLiteral(tn.id.name):tn.type==="Identifier"?n.types.stringLiteral(tn.name):n.types.cloneNode(tn),fn===F){let{value:an}=Yt.node,Qn=Be==="2023-11"&&un?[]:[n.types.thisExpression()];an&&Qn.push(n.types.cloneNode(an));let Wi=at(),kr=Oe(Rt,`init_${jr}`),ss=d(Wi,n.types.callExpression(n.types.cloneNode(kr),Qn),un),[Vr]=Yt.replaceWith(ss);if(xn){Ti=m(Wi,Be);let Qi=Oe(Rt,`get_${jr}`),$i=Oe(Rt,`set_${jr}`);q(Be,Vr,tn,Qi,$i,un),_n=[kr,Qi,$i]}else f(ge,Se),b(ge.node.id,Vr,n.types.cloneNode(tn),n.types.isAssignmentExpression(tn)?n.types.cloneNode(tn.left):n.types.cloneNode(tn),Wi,_r,un,Be),_n=[kr]}else if(fn===j){let an=Oe(Rt,`init_${jr}`),Qn=Yt.get("value"),Wi=Be==="2023-11"&&un?[]:[n.types.thisExpression()];Qn.node&&Wi.push(Qn.node),Qn.replaceWith(n.types.callExpression(n.types.cloneNode(an),Wi)),_n=[an],xn&&(Ti=m(tn,Be))}else if(xn){let an=Oe(Rt,`call_${jr}`);if(_n=[an],new c.default({constantSuper:ee,methodPath:Yt,objectRef:gr,superRef:ge.node.superClass,file:fe.file,refToPreserve:gr}).replace(),Ti=[Z(Yt.node)],fn===U||fn===z)K(Yt,n.types.cloneNode(tn),n.types.cloneNode(an),un);else{let Qn=Yt.node;ge.node.body.body.unshift(n.types.classPrivateProperty(tn,n.types.cloneNode(an),[],Qn.static)),er.add(tn.id.name),Yt.remove()}}Tn.push({kind:fn,decoratorsArray:Xr,decoratorsHaveThis:Xt,name:di,isStatic:un,privateMethods:Ti,locals:_n}),Yt.node&&(Yt.node.decorators=null)}if(_r&&xr.length>0&&(et&&Yt.isClassProperty({static:!0})||(v(xr,fn===F?Yt.getNextSibling():Yt),xr=[])),Qr.length>0&&!un&&(fn===j||fn===F)&&(E(Qr,Yt),Qr=[]),Fr.length>0&&un&&(fn===j||fn===F)&&(E(Fr,Yt),Fr=[]),vr&&Be==="2023-11"&&(fn===j||fn===F)){let Ti=Oe(Rt,`init_extra_${jr}`);_n.push(Ti);let di=n.types.callExpression(n.types.cloneNode(Ti),un?[]:[n.types.thisExpression()]);un?Fr.push(di):Qr.push(di)}}}if(xr.length>0){let Yt=ge.get("body.body"),Qt;for(let kt=Yt.length-1;kt>=0;kt--){let vr=Yt[kt],_r=vr.node;if(_r.computed){if(et&&n.types.isClassProperty(_r,{static:!0}))continue;Qt=vr;break}}Qt!=null&&((function(kt,vr){let _r=vr.get("key"),Xr=y(_r);if(Xr.isConstantExpression())v(kt,vr);else{let Xt=_r.scope.parent,jr=(0,o.memoiseComputedKey)(Xr.node,Xt,Xt.generateUid("computedKey"));if(jr){let tn=[...kt,n.types.cloneNode(jr.left)],un=Xr.parentPath;un.isSequenceExpression()?un.pushContainer("expressions",tn):Xr.replaceWith(W([n.types.cloneNode(jr),...tn]))}else v(kt,vr)}})(xr,Qt),xr=[])}if(Qr.length>0){let Yt=!!ge.node.superClass;Pn?Yt?(function(Qt,kt,vr){kt.traverse({CallExpression:{exit(_r){if(!_r.get("callee").isSuper())return;let Xr=[_r.node,...Qt.map((Xt=>n.types.cloneNode(Xt)))];_r.isCompletionRecord()&&Xr.push(n.types.thisExpression()),_r.replaceWith((function(Xt,jr){if(jr){if(Xt.length>=2&&_(Xt[1],jr)){let tn=n.types.callExpression(n.types.cloneNode(jr),[Xt[0]]);Xt.splice(0,2,tn)}Xt.length>=2&&n.types.isThisExpression(Xt[Xt.length-1])&&_(Xt[Xt.length-2],jr)&&Xt.splice(Xt.length-1,1)}return W(Xt)})(Xr,vr)),_r.skip()}},ClassMethod(_r){_r.node.kind==="constructor"&&_r.skip()}})})(Qr,Pn,xt):(function(Qt,kt){kt.node.body.body.unshift(n.types.expressionStatement(W(Qt)))})(Qr,Pn):ge.node.body.body.unshift(A(Qr,Yt)),Qr=[]}Fr.length>0&&(ge.node.body.body.push(L(Fr)),Fr=[]);let Sn=(Ni=Tn,[...Ni.filter((Yt=>Yt.isStatic&&Yt.kind>=F&&Yt.kind<=z)),...Ni.filter((Yt=>!Yt.isStatic&&Yt.kind>=F&&Yt.kind<=z)),...Ni.filter((Yt=>Yt.isStatic&&Yt.kind===j)),...Ni.filter((Yt=>!Yt.isStatic&&Yt.kind===j))]),Nn=(function(Yt,Qt){return n.types.arrayExpression(Yt.map((kt=>{let vr=kt.kind;return kt.isStatic&&(vr+=Qt==="2023-11"||Qt==="2023-05"?R:C),kt.decoratorsHaveThis&&(vr+=G),n.types.arrayExpression([kt.decoratorsArray,n.types.numericLiteral(vr),kt.name,...kt.privateMethods||[]])})))})(Be==="2023-11"?Tn:Sn,Be),zn=(function(Yt){let Qt=[];for(let kt of Yt){let{locals:vr}=kt;Array.isArray(vr)?Qt.push(...vr):vr!==void 0&&Qt.push(vr)}return Qt})(Sn);var Ni;xt&&zn.push(xt),ar&&zn.push(ar);let Fi=[],qi=!1,dr=Yr&&n.types.callExpression(n.types.cloneNode(Yr),[]),Sr=ge,wr=ge.node,gn=[];if(et){Fi.push(gr,Yr);let Yt=[];if(ge.get("body.body").forEach((Qt=>{if(Qt.isStaticBlock()){if(be(Qt,ln)){let vr=lr((kt=Qt.node,n.types.functionExpression(null,[],n.types.blockStatement(kt.body))),"staticBlock",gn);Fr.push(n.types.callExpression(n.types.memberExpression(vr,n.types.identifier("call")),[n.types.thisExpression()]))}else Fr.push((function(vr){return n.types.callExpression(n.types.arrowFunctionExpression([],n.types.blockStatement(vr.body)),[])})(Qt.node));Qt.remove()}else{var kt;if((Qt.isClassProperty()||Qt.isClassPrivateProperty())&&Qt.node.static){let vr=Qt.get("value");if(be(vr,ln)){let _r=lr((function(Xr){return n.types.functionExpression(null,[],n.types.blockStatement([n.types.returnStatement(Xr)]))})(vr.node),"fieldValue",gn);vr.replaceWith(n.types.callExpression(n.types.memberExpression(_r,n.types.identifier("call")),[n.types.thisExpression()]))}Fr.length>0&&(E(Fr,Qt),Fr=[]),Qt.node.static=!1,Yt.push(Qt.node),Qt.remove()}else if(Qt.isClassPrivateMethod({static:!0})){if(be(Qt,ln)){new c.default({constantSuper:ee,methodPath:Qt,objectRef:gr,superRef:ge.node.superClass,file:fe.file,refToPreserve:gr}).replace();let vr=lr(Z(Qt.node),Qt.get("key.id").node.name,gn);le?(Qt.node.params=[n.types.restElement(n.types.identifier("arg"))],Qt.node.body=n.types.blockStatement([n.types.returnStatement(n.types.callExpression(n.types.memberExpression(vr,n.types.identifier("apply")),[n.types.thisExpression(),n.types.identifier("arg")]))])):(Qt.node.params=Qt.node.params.map(((_r,Xr)=>n.types.isRestElement(_r)?n.types.restElement(n.types.identifier("arg")):n.types.identifier("_"+Xr))),Qt.node.body=n.types.blockStatement([n.types.returnStatement(n.types.callExpression(n.types.memberExpression(vr,n.types.identifier("apply")),[n.types.thisExpression(),n.types.identifier("arguments")]))]))}Qt.node.static=!1,Yt.push(Qt.node),Qt.remove()}}})),Yt.length>0||Fr.length>0){let Qt=n.template.expression.ast`
|
|
class extends ${fe.addHelper("identity")} {}
|
|
`;Qt.body.body=[n.types.classProperty(n.types.toExpression(wr),void 0,void 0,void 0,!0,!0),...Yt];let kt=[],vr=n.types.newExpression(Qt,[]);Fr.length>0&&kt.push(...Fr),dr&&(qi=!0,kt.push(dr)),kt.length>0?(kt.unshift(n.types.callExpression(n.types.super(),[n.types.cloneNode(gr)])),Qt.body.body.push(A(kt,!1))):vr.arguments.push(n.types.cloneNode(gr));let[_r]=ge.replaceWith(vr);Sr=_r.get("callee").get("body").get("body.0.key")}}!qi&&dr&&ge.node.body.body.push(n.types.staticBlock([n.types.expressionStatement(dr)]));let{superClass:vn}=wr;if(vn&&(Be==="2023-11"||Be==="2023-05")){let Yt=ge.scope.maybeGenerateMemoised(vn);Yt&&(wr.superClass=n.types.assignmentExpression("=",Yt,vn),vn=Yt)}let Gr=n.types.staticBlock([]);wr.body.body.unshift(Gr);let Rn=Gr.body;if(xr.length>0){let Yt=Sr.get("body.body"),Qt;for(let kt of Yt)if((kt.isClassProperty()||kt.isClassMethod())&&kt.node.kind!=="constructor"){Qt=kt;break}Qt!=null?((function(kt){let{node:vr}=kt;vr.computed=!0,n.types.isIdentifier(vr.key)&&(vr.key=n.types.stringLiteral(vr.key.name))})(Qt),v(xr,Qt)):(wr.body.body.unshift(n.types.classProperty(n.types.sequenceExpression([...xr,n.types.stringLiteral("_")]),void 0,void 0,void 0,!0,!0)),Rn.push(n.types.expressionStatement(n.types.unaryExpression("delete",n.types.memberExpression(n.types.thisExpression(),n.types.identifier("_")))))),xr=[]}if(Rn.push(n.types.expressionStatement((function(Yt,Qt,kt,vr,_r,Xr,Xt,jr,tn,un){let xn,fn,_n=[Xt?Q(tn,Xt):n.types.thisExpression(),vr,kt];return un!=="2023-11"&&_n.splice(1,2,kt,vr),un==="2021-12"||un==="2022-03"&&!tn.availableHelper("applyDecs2203R")?(xn=n.types.arrayPattern([...Yt,...Qt]),fn=n.types.callExpression(tn.addHelper(un==="2021-12"?"applyDecs":"applyDecs2203"),_n),n.types.assignmentExpression("=",xn,fn)):(un==="2022-03"?fn=n.types.callExpression(tn.addHelper("applyDecs2203R"),_n):un==="2023-01"?(Xr&&_n.push(ie(Xr)),fn=n.types.callExpression(tn.addHelper("applyDecs2301"),_n)):un==="2023-05"&&((Xr||jr||_r.value!==0)&&_n.push(_r),Xr?_n.push(ie(Xr)):jr&&_n.push(n.types.unaryExpression("void",n.types.numericLiteral(0))),jr&&_n.push(jr),fn=n.types.callExpression(tn.addHelper("applyDecs2305"),_n)),un==="2023-11"&&((Xr||jr||_r.value!==0)&&_n.push(_r),Xr?_n.push(ie(Xr)):jr&&_n.push(n.types.unaryExpression("void",n.types.numericLiteral(0))),jr&&_n.push(jr),fn=n.types.callExpression(tn.addHelper("applyDecs2311"),_n)),Yt.length>0?Qt.length>0?xn=n.types.objectPattern([n.types.objectProperty(n.types.identifier("e"),n.types.arrayPattern(Yt)),n.types.objectProperty(n.types.identifier("c"),n.types.arrayPattern(Qt))]):(xn=n.types.arrayPattern(Yt),fn=n.types.memberExpression(fn,n.types.identifier("e"),!1,!1)):(xn=n.types.arrayPattern(Qt),fn=n.types.memberExpression(fn,n.types.identifier("c"),!1,!1)),n.types.assignmentExpression("=",xn,fn))})(zn,Fi,Nn,(ce=Mt)!=null?ce:n.types.arrayExpression(pr),n.types.numericLiteral(qt),Hr?$t:null,Pr,n.types.cloneNode(vn),fe,Be))),ar&&Rn.push(n.types.expressionStatement(n.types.callExpression(n.types.cloneNode(ar),[n.types.thisExpression()]))),gn.length>0&&Rn.push(...gn.map((Yt=>n.types.expressionStatement(Yt)))),ge.insertBefore(Et.map((Yt=>n.types.expressionStatement(Yt)))),zt)if(Rt.getBinding(gr.name).constantViolations.length){let Yt=Rt.generateUidIdentifier("t"+gr.name),Qt=gr;ge.replaceWithMultiple([n.types.variableDeclaration("let",[n.types.variableDeclarator(n.types.cloneNode(Qt)),n.types.variableDeclarator(Yt)]),n.types.blockStatement([n.types.variableDeclaration("let",[n.types.variableDeclarator(n.types.cloneNode(gr))]),ge.node,n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(Yt),n.types.cloneNode(gr)))]),n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(Qt),n.types.cloneNode(Yt)))])}else ge.insertBefore(n.types.variableDeclaration("let",[n.types.variableDeclarator(n.types.cloneNode(gr))]));return er.size>0&&(function(Yt,Qt){let kt=(0,i.privateNameVisitorFactory)({PrivateName(_r,Xr){if(!Xr.privateNamesMap.has(_r.node.id.name))return;let Xt=_r.parentPath,jr=Xt.parentPath;if(jr.node.type==="AssignmentExpression"&&jr.node.left===Xt.node||jr.node.type==="UpdateExpression"||jr.node.type==="RestElement"||jr.node.type==="ArrayPattern"||jr.node.type==="ObjectProperty"&&jr.node.value===Xt.node&&jr.parentPath.type==="ObjectPattern"||jr.node.type==="ForOfStatement"&&jr.node.left===Xt.node)throw _r.buildCodeFrameError(`Decorated private methods are read-only, but "#${_r.node.id.name}" is updated via this expression.`)}}),vr=new Map;for(let _r of Qt)vr.set(_r,null);Yt.traverse(kt,{privateNamesMap:vr})})(ge,er),ge.scope.crawl(),ge})(Pt,ht,pe,nt,De,ft,ve);tt?se.add(tt):se.add(Pt)}return{name:"proposal-decorators",inherits:he,visitor:Object.assign({ExportDefaultDeclaration(Pt,ht){let{declaration:De}=Pt.node;if((De==null?void 0:De.type)==="ClassDeclaration"&&Pe(De)){let ze=!De.id;Pt.splitExportDeclaration!=null||(Pt.splitExportDeclaration=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.splitExportDeclaration);let Ze=Pt.splitExportDeclaration();ze&&_t(Ze,ht,n.types.stringLiteral("default"))}},ExportNamedDeclaration(Pt){let{declaration:ht}=Pt.node;(ht==null?void 0:ht.type)==="ClassDeclaration"&&Pe(ht)&&(Pt.splitExportDeclaration!=null||(Pt.splitExportDeclaration=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.splitExportDeclaration),Pt.splitExportDeclaration())},Class(Pt,ht){_t(Pt,ht,void 0)}},ft)}};var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),c=l("./node_modules/.pnpm/@babel+helper-replace-supers@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-replace-supers/lib/index.js"),p=l("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.25.9/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js"),i=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js"),o=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js");function h(de,xe=de.length-1){if(xe===-1)return void de.unshift(65);let ye=de[xe];ye===90?de[xe]=97:ye===122?(de[xe]=65,h(de,xe-1)):de[xe]=ye+1}function d(de,xe,ye){return de.type==="PrivateName"?n.types.classPrivateProperty(de,xe,void 0,ye):n.types.classProperty(de,xe,void 0,void 0,ye)}function f(de,xe){de.node.id||(de.node.id=typeof xe=="string"?n.types.identifier(xe):de.scope.generateUidIdentifier("Class"))}function b(de,xe,ye,ve,he,Te,Ce,se){let pe=se!=="2023-11"&&se!=="2023-05"||!Ce?n.types.thisExpression():de,nt=n.types.blockStatement([n.types.returnStatement(n.types.memberExpression(n.types.cloneNode(pe),n.types.cloneNode(he)))]),ft=n.types.blockStatement([n.types.expressionStatement(n.types.assignmentExpression("=",n.types.memberExpression(n.types.cloneNode(pe),n.types.cloneNode(he)),n.types.identifier("v")))]),_t,Pt;ye.type==="PrivateName"?(_t=n.types.classPrivateMethod("get",ye,[],nt,Ce),Pt=n.types.classPrivateMethod("set",ve,[n.types.identifier("v")],ft,Ce)):(_t=n.types.classMethod("get",ye,[],nt,Te,Ce),Pt=n.types.classMethod("set",ve,[n.types.identifier("v")],ft,Te,Ce)),xe.insertAfter(Pt),xe.insertAfter(_t)}function m(de,xe){return xe!=="2023-11"&&xe!=="2023-05"&&xe!=="2023-01"?[n.template.expression.ast`
|
|
function () {
|
|
return this.${n.types.cloneNode(de)};
|
|
}
|
|
`,n.template.expression.ast`
|
|
function (value) {
|
|
this.${n.types.cloneNode(de)} = value;
|
|
}
|
|
`]:[n.template.expression.ast`
|
|
o => o.${n.types.cloneNode(de)}
|
|
`,n.template.expression.ast`
|
|
(o, v) => o.${n.types.cloneNode(de)} = v
|
|
`]}function y(de){if((de=(0,p.skipTransparentExprWrappers)(de)).isSequenceExpression()){let xe=de.get("expressions");return y(xe[xe.length-1])}return de}function x(de){let xe=y(de);if(xe.isConstantExpression()||xe.isIdentifier()&&de.scope.hasUid(xe.node.name))return n.types.cloneNode(de.node);if(xe.isAssignmentExpression()&&xe.get("left").isIdentifier())return n.types.cloneNode(xe.node.left);throw new Error(`Internal Error: the computed key ${de.toString()} has not yet been memoised.`)}function v(de,xe){let ye=xe.get("key");ye.isSequenceExpression()?de.push(...ye.node.expressions):de.push(ye.node),ye.replaceWith(W(de))}function E(de,xe){let ye=xe.get("value");ye.node?de.push(ye.node):de.length>0&&(de[de.length-1]=n.types.unaryExpression("void",de[de.length-1])),ye.replaceWith(W(de))}function S(de,xe){xe.unshiftContainer("body",n.types.expressionStatement(W(de)))}function _(de,xe){return n.types.isCallExpression(de)&&n.types.isIdentifier(de.callee,{name:xe.name})}function A(de,xe){let ye=[n.types.expressionStatement(W(de))];return xe&&ye.unshift(n.types.expressionStatement(n.types.callExpression(n.types.super(),[n.types.spreadElement(n.types.identifier("args"))]))),n.types.classMethod("constructor",n.types.identifier("constructor"),xe?[n.types.restElement(n.types.identifier("args"))]:[],n.types.blockStatement(ye))}function L(de){return n.types.staticBlock([n.types.expressionStatement(W(de))])}let j=0,F=1,k=2,U=3,z=4,C=5,R=8,G=16;function V(de){switch(de.node.type){case"ClassProperty":case"ClassPrivateProperty":return j;case"ClassAccessorProperty":return F;case"ClassMethod":case"ClassPrivateMethod":return de.node.kind==="get"?U:de.node.kind==="set"?z:k}}function B(de,xe,ye){let ve=de.length,he=xe.some(Boolean),Te=[];for(let Ce=0;Ce<ve;Ce++)ye!=="2023-11"&&ye!=="2023-05"||!he||Te.push(xe[Ce]||n.types.unaryExpression("void",n.types.numericLiteral(0))),Te.push(de[Ce].expression);return{haveThis:he,decs:Te}}function q(de,xe,ye,ve,he,Te){xe.insertAfter(n.types.classPrivateMethod("get",n.types.cloneNode(ye),[],n.types.blockStatement([n.types.returnStatement(n.types.callExpression(n.types.cloneNode(ve),de==="2023-11"&&Te?[]:[n.types.thisExpression()]))]),Te)),xe.insertAfter(n.types.classPrivateMethod("set",n.types.cloneNode(ye),[n.types.identifier("v")],n.types.blockStatement([n.types.expressionStatement(n.types.callExpression(n.types.cloneNode(he),de==="2023-11"&&Te?[n.types.identifier("v")]:[n.types.thisExpression(),n.types.identifier("v")]))]),Te))}function K(de,xe,ye,ve){let he,Te;de.node.kind==="set"?(he=[n.types.identifier("v")],Te=[n.types.expressionStatement(n.types.callExpression(ye,[n.types.thisExpression(),n.types.identifier("v")]))]):(he=[],Te=[n.types.returnStatement(n.types.callExpression(ye,[n.types.thisExpression()]))]),de.replaceWith(n.types.classPrivateMethod(de.node.kind,n.types.cloneNode(xe),he,n.types.blockStatement(Te),ve))}function $(de){let{type:xe}=de;return xe!=="TSDeclareMethod"&&xe!=="TSIndexSignature"&&xe!=="StaticBlock"}function W(de){return de.length===0?n.types.unaryExpression("void",n.types.numericLiteral(0)):de.length===1?de[0]:n.types.sequenceExpression(de)}function Z(de){let{params:xe,body:ye,generator:ve,async:he}=de;return n.types.functionExpression(void 0,xe,ye,ve,he)}function Q(de,xe){return n.types.callExpression(de.addHelper("setFunctionName"),[n.types.thisExpression(),xe])}function X(de,xe){return n.types.callExpression(de.addHelper("toPropertyKey"),[xe])}function ie(de){return n.types.arrowFunctionExpression([n.types.identifier("_")],n.types.binaryExpression("in",n.types.cloneNode(de),n.types.identifier("_")))}function oe(de){try{return n.types.traverseFast(de,(xe=>{if(n.types.isPrivateName(xe))throw null})),!1}catch{return!0}}function be(de,xe){let ye=!1;if(xe.length>0){let ve=(0,i.privateNameVisitorFactory)({PrivateName(Te,Ce){Ce.privateNamesMap.has(Te.node.id.name)&&(ye=!0,Te.stop())}}),he=new Map;for(let Te of xe)he.set(Te,null);de.traverse(ve,{privateNamesMap:he})}return ye}function Ne(de){return de.type==="Identifier"?de.name==="__proto__":de.value==="__proto__"}function Pe(de){return de.decorators&&de.decorators.length>0}function Ke(de){switch(de.type){case"ClassAccessorProperty":return!0;case"ClassMethod":case"ClassProperty":case"ClassPrivateMethod":case"ClassPrivateProperty":return Pe(de);default:return!1}}function We(de){return de.isClassExpression({id:null})&&(Pe(xe=de.node)||xe.body.body.some(Ke));var xe}function Oe(de,xe){let ye=de.generateUidIdentifier(xe);return de.push({id:ye,kind:"let"}),n.types.cloneNode(ye)}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/features.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FEATURES=void 0,e.enableFeature=function(x,v,E){b(x,v)&&!d(x,v)||(x.set(i,x.get(i)|v),E==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"?(y(x,v,!0),x.set(h,x.get(h)|v)):E==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"?(y(x,v,!1),x.set(h,x.get(h)|v)):y(x,v,E));let S;for(let[A,L]of p){if(!b(x,A)||d(x,A))continue;let j=m(x,A);if(S===!j)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).
|
|
|
|
`+f(x));S=j;var _=L}if(S!==void 0)for(let[A,L]of p)b(x,A)&&m(x,A)!==S&&(y(x,A,S),console.warn(`Though the "loose" option was set to "${!S}" in your @babel/preset-env config, it will not be used for ${L} since the "loose" mode option was set to "${S}" for ${_}.
|
|
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
|
|
["${L}", { "loose": ${S} }]
|
|
to the "plugins" section of your Babel config.
|
|
|
|
`+f(x)))},e.isLoose=m,e.shouldTransform=function(x,v){let E=null,S=null,_=null,A=null,L=null;(0,n.hasOwnDecorators)(x.node)&&(E=x.get("decorators.0"));for(let j of x.get("body.body"))!E&&(0,n.hasOwnDecorators)(j.node)&&(E=j.get("decorators.0")),!S&&j.isClassProperty()&&(S=j),!_&&j.isClassPrivateProperty()&&(_=j),!A&&j.isClassPrivateMethod!=null&&j.isClassPrivateMethod()&&(A=j),!L&&j.isStaticBlock!=null&&j.isStaticBlock()&&(L=j);if(E&&_)throw _.buildCodeFrameError("Private fields in decorated classes are not supported yet.");if(E&&A)throw A.buildCodeFrameError("Private methods in decorated classes are not supported yet.");if(E&&!b(v,c.decorators))throw x.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(A&&!b(v,c.privateMethods))throw A.buildCodeFrameError("Class private methods are not enabled. Please add `@babel/plugin-transform-private-methods` to your configuration.");if((S||_)&&!b(v,c.fields)&&!b(v,c.privateMethods))throw x.buildCodeFrameError("Class fields are not enabled. Please add `@babel/plugin-transform-class-properties` to your configuration.");if(L&&!b(v,c.staticBlocks))throw x.buildCodeFrameError("Static class blocks are not enabled. Please add `@babel/plugin-transform-class-static-block` to your configuration.");return!!(E||A||L||(S||_)&&b(v,c.fields))};var n=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js");let c=e.FEATURES=Object.freeze({fields:2,privateMethods:4,decorators:8,privateIn:16,staticBlocks:32}),p=new Map([[c.fields,"@babel/plugin-transform-class-properties"],[c.privateMethods,"@babel/plugin-transform-private-methods"],[c.privateIn,"@babel/plugin-transform-private-property-in-object"]]),i="@babel/plugin-class-features/featuresKey",o="@babel/plugin-class-features/looseKey";var h="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing",d=function(x,v){return!!(x.get(h)&v)};function f(x){let{filename:v}=x.opts;return v&&v!=="unknown"||(v="[name of the input file]"),`If you already set the same 'loose' mode for these plugins in your config, it's possible that they are enabled multiple times with different options.
|
|
You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:
|
|
npx cross-env BABEL_SHOW_CONFIG_FOR=${v} <your build command>
|
|
See https://babeljs.io/docs/configuration#print-effective-configs for more info.`}function b(x,v){return!!(x.get(i)&v)}function m(x,v){return!!(x.get(o)&v)}function y(x,v,E){E?x.set(o,x.get(o)|v):x.set(o,x.get(o)&~v),x.set(h,x.get(h)&~v)}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildCheckInRHS=v,e.buildFieldsInitNodes=function(oe,be,Ne,Pe,Ke,We,Oe,de,xe,ye){var ve;let he,Te=0,Ce=[],se=[],pe=!1,nt=[],ft=null,_t=n.types.isIdentifier(be)?()=>be:()=>(he!=null||(he=Ne[0].scope.generateUidIdentifierBasedOnNode(be)),he),Pt=(ve=oe)!=null?ve:Ne[0].scope.generateUidIdentifier((ye==null?void 0:ye.name)||"Class");oe!=null||(oe=n.types.cloneNode(ye));for(let ht of Ne){ht.isClassProperty()&&f.assertFieldTransformed(ht);let De=!(n.types.isStaticBlock!=null&&n.types.isStaticBlock(ht.node))&&ht.node.static,ze=!De,Ze=ht.isPrivate(),tt=!Ze,ge=ht.isProperty(),fe=!ge,ee=ht.isStaticBlock==null?void 0:ht.isStaticBlock();switch(De&&(Te|=1),(De||fe&&Ze||ee)&&(new p.default({methodPath:ht,constantSuper:xe,file:Ke,refToPreserve:ye,getSuperRef:_t,getObjectRef:()=>(Te|=2,De||ee?Pt:n.types.memberExpression(Pt,n.types.identifier("prototype")))}).replace(),Z(ht,Pt,ye)&&(Te|=2)),pe=!1,!0){case ee:{let le=ht.node.body;le.length===1&&n.types.isExpressionStatement(le[0])?Ce.push(X(le[0],ht)):Ce.push(n.types.inheritsComments(n.template.statement.ast`(() => { ${le} })()`,ht.node));break}case(De&&Ze&&ge&&Oe):Ce.push(k(n.types.cloneNode(oe),ht,Pe));break;case(De&&Ze&&ge&&!Oe):b(Ke)?Ce.push(z(ht,Pe,de)):Ce.push(C(ht,Pe));break;case(De&&tt&&ge&&We):if(!Q(ht.node)){Ce.push(V(n.types.cloneNode(oe),ht));break}case(De&&tt&&ge&&!We):Ce.push(B(n.types.cloneNode(oe),ht,Ke));break;case(ze&&Ze&&ge&&Oe):se.push(k(n.types.thisExpression(),ht,Pe));break;case(ze&&Ze&&ge&&!Oe):se.push(U(n.types.thisExpression(),ht,Pe,Ke));break;case(ze&&Ze&&fe&&Oe):se.unshift(R(n.types.thisExpression(),ht,Pe)),nt.push(K(Ke,ht,Pe,Oe));break;case(ze&&Ze&&fe&&!Oe):se.unshift(G(n.types.thisExpression(),ht,Pe,Ke)),nt.push(K(Ke,ht,Pe,Oe));break;case(De&&Ze&&fe&&!Oe):b(Ke)||Ce.unshift(C(ht,Pe)),nt.push(K(Ke,ht,Pe,Oe));break;case(De&&Ze&&fe&&Oe):Ce.unshift(q(n.types.cloneNode(oe),ht,Ke,Pe)),nt.push(K(Ke,ht,Pe,Oe));break;case(ze&&tt&&ge&&We):se.push(V(n.types.thisExpression(),ht));break;case(ze&&tt&&ge&&!We):pe=!0,se.push(B(n.types.thisExpression(),ht,Ke));break;default:throw new Error("Unreachable.")}}return 2&Te&&ye!=null&&(ft=n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(Pt),n.types.cloneNode(ye)))),{staticNodes:Ce.filter(Boolean),instanceNodes:se.filter(Boolean),lastInstanceNodeReturnsThis:pe,pureStaticNodes:nt.filter(Boolean),classBindingNode:ft,wrapClass(ht){for(let De of Ne)De.node.leadingComments=null,De.remove();return he&&(ht.scope.push({id:n.types.cloneNode(he)}),ht.set("superClass",n.types.assignmentExpression("=",he,ht.node.superClass))),Te!==0&&(ht.isClassExpression()?(ht.scope.push({id:oe}),ht.replaceWith(n.types.assignmentExpression("=",n.types.cloneNode(oe),ht.node))):(ye==null&&(ht.node.id=oe),ft!=null&&ht.scope.push({id:Pt}))),ht}}},e.buildPrivateNamesMap=function(oe,be,Ne,Pe){let Ke=new Map,We;for(let Oe of Ne)if(Oe.isPrivate()){let{name:de}=Oe.node.key.id,xe=Ke.get(de);if(!xe){let ye=!Oe.isProperty(),ve=Oe.node.static,he,Te=!1;!be&&b(Pe)&&ye&&!ve?(Te=!!We,We!=null||(We=Oe.scope.generateUidIdentifier(`${oe}_brand`)),he=We):he=Oe.scope.generateUidIdentifier(de),xe={id:he,static:ve,method:ye,initAdded:Te},Ke.set(de,xe)}if(Oe.isClassPrivateMethod())if(Oe.node.kind==="get"){let{body:ye}=Oe.node.body,ve;ye.length===1&&n.types.isReturnStatement(ve=ye[0])&&n.types.isCallExpression(ve=ve.argument)&&ve.arguments.length===1&&n.types.isThisExpression(ve.arguments[0])&&n.types.isIdentifier(ve=ve.callee)?(xe.getId=n.types.cloneNode(ve),xe.getterDeclared=!0):xe.getId=Oe.scope.generateUidIdentifier(`get_${de}`)}else if(Oe.node.kind==="set"){let{params:ye}=Oe.node,{body:ve}=Oe.node.body,he;ve.length===1&&n.types.isExpressionStatement(he=ve[0])&&n.types.isCallExpression(he=he.expression)&&he.arguments.length===2&&n.types.isThisExpression(he.arguments[0])&&n.types.isIdentifier(he.arguments[1],{name:ye[0].name})&&n.types.isIdentifier(he=he.callee)?(xe.setId=n.types.cloneNode(he),xe.setterDeclared=!0):xe.setId=Oe.scope.generateUidIdentifier(`set_${de}`)}else Oe.node.kind==="method"&&(xe.methodId=Oe.scope.generateUidIdentifier(de));Ke.set(de,xe)}return Ke},e.buildPrivateNamesNodes=function(oe,be,Ne,Pe){let Ke=[],We=new Set;for(let[Oe,de]of oe){let{static:xe,method:ye,getId:ve,setId:he}=de,Te=ve||he,Ce=n.types.cloneNode(de.id),se;if(be)se=n.types.callExpression(Pe.addHelper("classPrivateFieldLooseKey"),[n.types.stringLiteral(Oe)]);else if(Ne)se=n.types.callExpression(n.types.identifier("Symbol"),[n.types.stringLiteral(Oe)]);else if(!xe){if(We.has(Ce.name))continue;We.add(Ce.name),se=n.types.newExpression(n.types.identifier(!ye||Te&&!b(Pe)?"WeakMap":"WeakSet"),[])}se&&(Ne||(0,h.default)(se),Ke.push(n.template.statement.ast`var ${Ce} = ${se}`))}return Ke},e.privateNameVisitorFactory=m,e.transformPrivateNamesUsage=function(oe,be,Ne,{privateFieldsAsProperties:Pe,noUninitializedPrivateFieldAccess:Ke,noDocumentAll:We,innerBinding:Oe},de){if(!Ne.size)return;let xe=be.get("body"),ye=Pe?F:j;(0,i.default)(xe,y,Object.assign({privateNamesMap:Ne,classRef:oe,file:de},ye,{noDocumentAll:We,noUninitializedPrivateFieldAccess:Ke,innerBinding:Oe})),xe.traverse(E,{privateNamesMap:Ne,classRef:oe,file:de,privateFieldsAsProperties:Pe,innerBinding:Oe})};var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),c=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js"),p=l("./node_modules/.pnpm/@babel+helper-replace-supers@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-replace-supers/lib/index.js"),i=l("./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.25.9/node_modules/@babel/helper-member-expression-to-functions/lib/index.js"),o=l("./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.25.9/node_modules/@babel/helper-optimise-call-expression/lib/index.js"),h=l("./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.25.9/node_modules/@babel/helper-annotate-as-pure/lib/index.js"),d=l("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.25.9/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js"),f=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js"),b=oe=>oe.availableHelper("classPrivateFieldGet2");function m(oe){let be=c.visitors.environmentVisitor(Object.assign({},oe)),Ne=Object.assign({},oe,{Class(Pe){let{privateNamesMap:Ke}=this,We=Pe.get("body.body"),Oe=new Map(Ke),de=[];for(let xe of We){if(!xe.isPrivate())continue;let{name:ye}=xe.node.key.id;Oe.delete(ye),de.push(ye)}de.length&&(Pe.get("body").traverse(be,Object.assign({},this,{redeclared:de})),Pe.traverse(Ne,Object.assign({},this,{privateNamesMap:Oe})),Pe.skipKey("body"))}});return Ne}let y=m({PrivateName(oe,{noDocumentAll:be}){let{privateNamesMap:Ne,redeclared:Pe}=this,{node:Ke,parentPath:We}=oe;if(!We.isMemberExpression({property:Ke})&&!We.isOptionalMemberExpression({property:Ke}))return;let{name:Oe}=Ke.id;Ne.has(Oe)&&(Pe!=null&&Pe.includes(Oe)||this.handle(We,be))}});function x(oe,be,Ne){for(;(Pe=be)!=null&&Pe.hasBinding(oe)&&!be.bindingIdentifierEquals(oe,Ne);){var Pe;be.rename(oe),be=be.parent}}function v(oe,be,Ne){return Ne||be.availableHelper==null||!be.availableHelper("checkInRHS")?oe:n.types.callExpression(be.addHelper("checkInRHS"),[oe])}let E=m({BinaryExpression(oe,{file:be}){let{operator:Ne,left:Pe,right:Ke}=oe.node;if(Ne!=="in"||!n.types.isPrivateName(Pe))return;let{privateFieldsAsProperties:We,privateNamesMap:Oe,redeclared:de}=this,{name:xe}=Pe.id;if(!Oe.has(xe)||de!=null&&de.includes(xe))return;if(x(this.classRef.name,oe.scope,this.innerBinding),We){let{id:he}=Oe.get(xe);return void oe.replaceWith(n.template.expression.ast`
|
|
Object.prototype.hasOwnProperty.call(${v(Ke,be)}, ${n.types.cloneNode(he)})
|
|
`)}let{id:ye,static:ve}=Oe.get(xe);ve?oe.replaceWith(n.template.expression.ast`${v(Ke,be)} === ${n.types.cloneNode(this.classRef)}`):oe.replaceWith(n.template.expression.ast`${n.types.cloneNode(ye)}.has(${v(Ke,be)})`)}});function S(oe,be){return n.types.callExpression(oe.addHelper("readOnlyError"),[n.types.stringLiteral(`#${be}`)])}function _(oe,be){return oe.availableHelper("writeOnlyError")?n.types.callExpression(oe.addHelper("writeOnlyError"),[n.types.stringLiteral(`#${be}`)]):(console.warn("@babel/helpers is outdated, update it to silence this warning."),n.types.buildUndefinedNode())}function A(oe,be){return be?oe:n.types.memberExpression(oe,n.types.identifier("_"))}function L(oe){return function(be){return n.types.inherits(oe.apply(this,arguments),be.node)}}let j={memoise(oe,be){let{scope:Ne}=oe,{object:Pe}=oe.node,Ke=Ne.maybeGenerateMemoised(Pe);Ke&&this.memoiser.set(Pe,Ke,be)},receiver(oe){let{object:be}=oe.node;return this.memoiser.has(be)?n.types.cloneNode(this.memoiser.get(be)):n.types.cloneNode(be)},get:L((function(oe){let{classRef:be,privateNamesMap:Ne,file:Pe,innerBinding:Ke,noUninitializedPrivateFieldAccess:We}=this,Oe=oe.node.property,{name:de}=Oe.id,{id:xe,static:ye,method:ve,methodId:he,getId:Te,setId:Ce}=Ne.get(de),se=Te||Ce,pe=nt=>n.types.inherits(n.types.cloneNode(nt),Oe);if(ye){if(x(be.name,oe.scope,Ke),!b(Pe)){let _t=ve&&!se?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet";return n.types.callExpression(Pe.addHelper(_t),[this.receiver(oe),n.types.cloneNode(be),pe(xe)])}let nt=this.receiver(oe),ft=n.types.isIdentifier(nt)&&nt.name===be.name;if(!ve)return A(ft?pe(xe):n.types.callExpression(Pe.addHelper("assertClassBrand"),[n.types.cloneNode(be),nt,pe(xe)]),We);if(Te)return ft?n.types.callExpression(pe(Te),[nt]):n.types.callExpression(Pe.addHelper("classPrivateGetter"),[n.types.cloneNode(be),nt,pe(Te)]);if(Ce){let _t=n.types.buildUndefinedNode();return ft?_t:n.types.sequenceExpression([n.types.callExpression(Pe.addHelper("assertClassBrand"),[n.types.cloneNode(be),nt]),_t])}return ft?pe(xe):n.types.callExpression(Pe.addHelper("assertClassBrand"),[n.types.cloneNode(be),nt,pe(xe)])}return ve?se?Te?b(Pe)?n.types.callExpression(Pe.addHelper("classPrivateGetter"),[n.types.cloneNode(xe),this.receiver(oe),pe(Te)]):n.types.callExpression(Pe.addHelper("classPrivateFieldGet"),[this.receiver(oe),pe(xe)]):n.types.sequenceExpression([this.receiver(oe),_(Pe,de)]):b(Pe)?n.types.callExpression(Pe.addHelper("assertClassBrand"),[n.types.cloneNode(xe),this.receiver(oe),pe(he)]):n.types.callExpression(Pe.addHelper("classPrivateMethodGet"),[this.receiver(oe),n.types.cloneNode(xe),pe(he)]):b(Pe)?n.types.callExpression(Pe.addHelper("classPrivateFieldGet2"),[pe(xe),this.receiver(oe)]):n.types.callExpression(Pe.addHelper("classPrivateFieldGet"),[this.receiver(oe),pe(xe)])})),boundGet(oe){return this.memoise(oe,1),n.types.callExpression(n.types.memberExpression(this.get(oe),n.types.identifier("bind")),[this.receiver(oe)])},set:L((function(oe,be){let{classRef:Ne,privateNamesMap:Pe,file:Ke,noUninitializedPrivateFieldAccess:We}=this,Oe=oe.node.property,{name:de}=Oe.id,{id:xe,static:ye,method:ve,setId:he,getId:Te}=Pe.get(de),Ce=Te||he,se=pe=>n.types.inherits(n.types.cloneNode(pe),Oe);if(ye){if(!b(Ke)){let ft=ve&&!Ce?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet";return n.types.callExpression(Ke.addHelper(ft),[this.receiver(oe),n.types.cloneNode(Ne),se(xe),be])}let pe=this.receiver(oe),nt=n.types.isIdentifier(pe)&&pe.name===Ne.name;if(ve&&!he){let ft=S(Ke,de);return nt?n.types.sequenceExpression([be,ft]):n.types.sequenceExpression([be,n.types.callExpression(Ke.addHelper("assertClassBrand"),[n.types.cloneNode(Ne),pe]),S(Ke,de)])}return he?nt?n.types.callExpression(n.types.cloneNode(he),[pe,be]):n.types.callExpression(Ke.addHelper("classPrivateSetter"),[n.types.cloneNode(Ne),se(he),pe,be]):n.types.assignmentExpression("=",A(se(xe),We),nt?be:n.types.callExpression(Ke.addHelper("assertClassBrand"),[n.types.cloneNode(Ne),pe,be]))}return ve?he?b(Ke)?n.types.callExpression(Ke.addHelper("classPrivateSetter"),[n.types.cloneNode(xe),se(he),this.receiver(oe),be]):n.types.callExpression(Ke.addHelper("classPrivateFieldSet"),[this.receiver(oe),se(xe),be]):n.types.sequenceExpression([this.receiver(oe),be,S(Ke,de)]):b(Ke)?n.types.callExpression(Ke.addHelper("classPrivateFieldSet2"),[se(xe),this.receiver(oe),be]):n.types.callExpression(Ke.addHelper("classPrivateFieldSet"),[this.receiver(oe),se(xe),be])})),destructureSet(oe){let{classRef:be,privateNamesMap:Ne,file:Pe,noUninitializedPrivateFieldAccess:Ke}=this,We=oe.node.property,{name:Oe}=We.id,{id:de,static:xe,method:ye,setId:ve}=Ne.get(Oe),he=pe=>n.types.inherits(n.types.cloneNode(pe),We);if(!b(Pe)){if(xe){try{var Te=Pe.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 n.types.memberExpression(n.types.callExpression(Te,[this.receiver(oe),n.types.cloneNode(be),he(de)]),n.types.identifier("value"))}return n.types.memberExpression(n.types.callExpression(Pe.addHelper("classPrivateFieldDestructureSet"),[this.receiver(oe),he(de)]),n.types.identifier("value"))}if(ye&&!ve)return n.types.memberExpression(n.types.sequenceExpression([oe.node.object,S(Pe,Oe)]),n.types.identifier("_"));if(xe&&!ye){let pe=this.get(oe);if(!Ke||!n.types.isCallExpression(pe))return pe;let nt=pe.arguments.pop();return pe.arguments.push(n.template.expression.ast`(_) => ${nt} = _`),n.types.memberExpression(n.types.callExpression(Pe.addHelper("toSetter"),[pe]),n.types.identifier("_"))}let Ce=this.set(oe,n.types.identifier("_"));if(!n.types.isCallExpression(Ce)||!n.types.isIdentifier(Ce.arguments[Ce.arguments.length-1],{name:"_"}))throw oe.buildCodeFrameError("Internal Babel error while compiling this code. This is a Babel bug. Please report it at https://github.com/babel/babel/issues.");let se;return se=n.types.isMemberExpression(Ce.callee,{computed:!1})&&n.types.isIdentifier(Ce.callee.property)&&Ce.callee.property.name==="call"?[Ce.callee.object,n.types.arrayExpression(Ce.arguments.slice(1,-1)),Ce.arguments[0]]:[Ce.callee,n.types.arrayExpression(Ce.arguments.slice(0,-1))],n.types.memberExpression(n.types.callExpression(Pe.addHelper("toSetter"),se),n.types.identifier("_"))},call(oe,be){return this.memoise(oe,1),(0,o.default)(this.get(oe),this.receiver(oe),be,!1)},optionalCall(oe,be){return this.memoise(oe,1),(0,o.default)(this.get(oe),this.receiver(oe),be,!0)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}},F={get(oe){let{privateNamesMap:be,file:Ne}=this,{object:Pe}=oe.node,{name:Ke}=oe.node.property.id;return n.template.expression`BASE(REF, PROP)[PROP]`({BASE:Ne.addHelper("classPrivateFieldLooseBase"),REF:n.types.cloneNode(Pe),PROP:n.types.cloneNode(be.get(Ke).id)})},set(){throw new Error("private name handler with loose = true don't need set()")},boundGet(oe){return n.types.callExpression(n.types.memberExpression(this.get(oe),n.types.identifier("bind")),[n.types.cloneNode(oe.node.object)])},simpleSet(oe){return this.get(oe)},destructureSet(oe){return this.get(oe)},call(oe,be){return n.types.callExpression(this.get(oe),be)},optionalCall(oe,be){return n.types.optionalCallExpression(this.get(oe),be,!0)},delete(){throw new Error("Internal Babel error: deleting private elements is a parsing error.")}};function k(oe,be,Ne){let{id:Pe}=Ne.get(be.node.key.id.name),Ke=be.node.value||be.scope.buildUndefinedNode();return X(n.template.statement.ast`
|
|
Object.defineProperty(${oe}, ${n.types.cloneNode(Pe)}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
writable: true,
|
|
value: ${Ke}
|
|
});
|
|
`,be)}function U(oe,be,Ne,Pe){let{id:Ke}=Ne.get(be.node.key.id.name),We=be.node.value||be.scope.buildUndefinedNode();if(!Pe.availableHelper("classPrivateFieldInitSpec"))return X(n.template.statement.ast`${n.types.cloneNode(Ke)}.set(${oe}, {
|
|
// configurable is always false for private elements
|
|
// enumerable is always false for private elements
|
|
writable: true,
|
|
value: ${We},
|
|
})`,be);let Oe=Pe.addHelper("classPrivateFieldInitSpec");return ie(X(n.types.expressionStatement(n.types.callExpression(Oe,[n.types.thisExpression(),ie(n.types.cloneNode(Ke),be.node.key),b(Pe)?We:n.template.expression.ast`{ writable: true, value: ${We} }`])),be),be.node)}function z(oe,be,Ne){let Pe=be.get(oe.node.key.id.name),Ke=Ne?oe.node.value:n.template.expression.ast`{
|
|
_: ${oe.node.value||n.types.buildUndefinedNode()}
|
|
}`;return X(n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.cloneNode(Pe.id),Ke)]),oe)}var C=function(oe,be){let Ne=be.get(oe.node.key.id.name),{id:Pe,getId:Ke,setId:We,initAdded:Oe}=Ne,de=Ke||We;if(!oe.isProperty()&&(Oe||!de))return;if(de)return be.set(oe.node.key.id.name,Object.assign({},Ne,{initAdded:!0})),X(n.template.statement.ast`
|
|
var ${n.types.cloneNode(Pe)} = {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
get: ${Ke?Ke.name:oe.scope.buildUndefinedNode()},
|
|
set: ${We?We.name:oe.scope.buildUndefinedNode()}
|
|
}
|
|
`,oe);let xe=oe.node.value||oe.scope.buildUndefinedNode();return X(n.template.statement.ast`
|
|
var ${n.types.cloneNode(Pe)} = {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
writable: true,
|
|
value: ${xe}
|
|
};
|
|
`,oe)};function R(oe,be,Ne){let Pe=Ne.get(be.node.key.id.name),{methodId:Ke,id:We,getId:Oe,setId:de,initAdded:xe}=Pe;if(!xe)return Ke?X(n.template.statement.ast`
|
|
Object.defineProperty(${oe}, ${We}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
value: ${Ke.name}
|
|
});
|
|
`,be):Oe||de?(Ne.set(be.node.key.id.name,Object.assign({},Pe,{initAdded:!0})),X(n.template.statement.ast`
|
|
Object.defineProperty(${oe}, ${We}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
get: ${Oe?Oe.name:be.scope.buildUndefinedNode()},
|
|
set: ${de?de.name:be.scope.buildUndefinedNode()}
|
|
});
|
|
`,be)):void 0}function G(oe,be,Ne,Pe){let Ke=Ne.get(be.node.key.id.name);if(!Ke.initAdded)return!b(Pe)&&(Ke.getId||Ke.setId)?(function(We,Oe,de,xe){let ye=de.get(Oe.node.key.id.name),{id:ve,getId:he,setId:Te}=ye;if(de.set(Oe.node.key.id.name,Object.assign({},ye,{initAdded:!0})),!xe.availableHelper("classPrivateFieldInitSpec"))return X(n.template.statement.ast`
|
|
${ve}.set(${We}, {
|
|
get: ${he?he.name:Oe.scope.buildUndefinedNode()},
|
|
set: ${Te?Te.name:Oe.scope.buildUndefinedNode()}
|
|
});
|
|
`,Oe);let Ce=xe.addHelper("classPrivateFieldInitSpec");return ie(X(n.template.statement.ast`${Ce}(
|
|
${n.types.thisExpression()},
|
|
${n.types.cloneNode(ve)},
|
|
{
|
|
get: ${he?he.name:Oe.scope.buildUndefinedNode()},
|
|
set: ${Te?Te.name:Oe.scope.buildUndefinedNode()}
|
|
},
|
|
)`,Oe),Oe.node)})(oe,be,Ne,Pe):(function(We,Oe,de,xe){let ye=de.get(Oe.node.key.id.name),{id:ve}=ye;if(!xe.availableHelper("classPrivateMethodInitSpec"))return X(n.template.statement.ast`${ve}.add(${We})`,Oe);let he=xe.addHelper("classPrivateMethodInitSpec");return X(n.template.statement.ast`${he}(
|
|
${n.types.thisExpression()},
|
|
${n.types.cloneNode(ve)}
|
|
)`,Oe)})(oe,be,Ne,Pe)}function V(oe,be){let{key:Ne,computed:Pe}=be.node,Ke=be.node.value||be.scope.buildUndefinedNode();return X(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.memberExpression(oe,Ne,Pe||n.types.isLiteral(Ne)),Ke)),be)}function B(oe,be,Ne){let{key:Pe,computed:Ke}=be.node,We=be.node.value||be.scope.buildUndefinedNode();return X(n.types.expressionStatement(n.types.callExpression(Ne.addHelper("defineProperty"),[oe,Ke||n.types.isLiteral(Pe)?Pe:n.types.stringLiteral(Pe.name),We])),be)}function q(oe,be,Ne,Pe){let Ke=Pe.get(be.node.key.id.name),{id:We,methodId:Oe,getId:de,setId:xe,initAdded:ye}=Ke;if(!ye)return de||xe?(Pe.set(be.node.key.id.name,Object.assign({},Ke,{initAdded:!0})),X(n.template.statement.ast`
|
|
Object.defineProperty(${oe}, ${We}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
get: ${de?de.name:be.scope.buildUndefinedNode()},
|
|
set: ${xe?xe.name:be.scope.buildUndefinedNode()}
|
|
})
|
|
`,be)):X(n.template.statement.ast`
|
|
Object.defineProperty(${oe}, ${We}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
value: ${Oe.name}
|
|
});
|
|
`,be)}function K(oe,be,Ne,Pe=!1){let Ke=Ne.get(be.node.key.id.name),{id:We,methodId:Oe,getId:de,setId:xe,getterDeclared:ye,setterDeclared:ve,static:he}=Ke,{params:Te,body:Ce,generator:se,async:pe}=be.node,nt=de&&Te.length===0,ft=xe&&Te.length>0;if(nt&&ye||ft&&ve)return Ne.set(be.node.key.id.name,Object.assign({},Ke,{initAdded:!0})),null;if(b(oe)&&(nt||ft)&&!Pe){let Pt=be.get("body").scope,ht=Pt.generateUidIdentifier("this"),De={thisRef:ht,argumentsPath:[]};if(be.traverse($,De),De.argumentsPath.length){let ze=Pt.generateUidIdentifier("arguments");Pt.push({id:ze,init:n.template.expression.ast`[].slice.call(arguments, 1)`});for(let Ze of De.argumentsPath)Ze.replaceWith(n.types.cloneNode(ze))}Te.unshift(n.types.cloneNode(ht))}let _t=Oe;return nt?(Ne.set(be.node.key.id.name,Object.assign({},Ke,{getterDeclared:!0,initAdded:!0})),_t=de):ft?(Ne.set(be.node.key.id.name,Object.assign({},Ke,{setterDeclared:!0,initAdded:!0})),_t=xe):he&&!Pe&&(_t=We),X(n.types.functionDeclaration(n.types.cloneNode(_t),Te,Ce,se,pe),be)}let $=c.visitors.environmentVisitor({Identifier(oe,be){be.argumentsPath&&oe.node.name==="arguments"&&be.argumentsPath.push(oe)},UnaryExpression(oe){let{node:be}=oe;if(be.operator==="delete"){let Ne=(0,d.skipTransparentExprWrapperNodes)(be.argument);n.types.isThisExpression(Ne)&&oe.replaceWith(n.types.booleanLiteral(!0))}},ThisExpression(oe,be){be.needsClassRef=!0,oe.replaceWith(n.types.cloneNode(be.thisRef))},MetaProperty(oe){let{node:be,scope:Ne}=oe;be.meta.name==="new"&&be.property.name==="target"&&oe.replaceWith(Ne.buildUndefinedNode())}}),W={ReferencedIdentifier(oe,be){oe.scope.bindingIdentifierEquals(oe.node.name,be.innerBinding)&&(be.needsClassRef=!0,oe.node.name=be.thisRef.name)}};function Z(oe,be,Ne){var Pe;let Ke={thisRef:be,needsClassRef:!1,innerBinding:Ne};return oe.isMethod()||oe.traverse($,Ke),Ne!=null&&(Pe=Ke.thisRef)!=null&&Pe.name&&Ke.thisRef.name!==Ne.name&&oe.traverse(W,Ke),Ke.needsClassRef}function Q({key:oe,computed:be}){return oe.type==="Identifier"?!be&&(oe.name==="name"||oe.name==="length"):oe.type==="StringLiteral"&&(oe.value==="name"||oe.value==="length")}function X(oe,be){return n.types.inheritLeadingComments(oe,be.node),n.types.inheritInnerComments(oe,be.node),oe}function ie(oe,be){return oe.start=be.start,oe.end=be.end,oe.loc=be.loc,oe}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"FEATURES",{enumerable:!0,get:function(){return d.FEATURES}}),Object.defineProperty(e,"buildCheckInRHS",{enumerable:!0,get:function(){return i.buildCheckInRHS}}),e.createClassFeaturePlugin=function({name:m,feature:y,loose:x,manipulateOptions:v,api:E,inherits:S,decoratorVersion:_}){var A;if(y&d.FEATURES.decorators&&(_==="2023-11"||_==="2023-05"||_==="2023-01"||_==="2022-03"||_==="2021-12"))return(0,c.default)(E,{loose:x},_,S);E!=null||(E={assumption:()=>{}});let L=E.assumption("setPublicClassFields"),j=E.assumption("privateFieldsAsSymbols"),F=E.assumption("privateFieldsAsProperties"),k=(A=E.assumption("noUninitializedPrivateFieldAccess"))!=null&&A,U=E.assumption("constantSuper"),z=E.assumption("noDocumentAll");if(F&&j)throw new Error('Cannot enable both the "privateFieldsAsProperties" and "privateFieldsAsSymbols" assumptions as the same time.');let C=F||j;if(x===!0){let R=[];L!==void 0&&R.push('"setPublicClassFields"'),F!==void 0&&R.push('"privateFieldsAsProperties"'),j!==void 0&&R.push('"privateFieldsAsSymbols"'),R.length!==0&&console.warn(`[${m}]: You are using the "loose: true" option and you are explicitly setting a value for the ${R.join(" and ")} assumption${R.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:m,manipulateOptions:v,inherits:S,pre(R){(0,d.enableFeature)(R,y,x),typeof R.get(b)!="number"&&R.get(b)&&!p.lt(R.get(b),"7.25.9")||R.set(b,"7.25.9")},visitor:{Class(R,{file:G}){var V;if(G.get(b)!=="7.25.9"||!(0,d.shouldTransform)(R,G))return;let B=R.isClassDeclaration();B&&(0,f.assertFieldTransformed)(R);let q=(0,d.isLoose)(G,y),K,$=(0,o.hasDecorators)(R.node),W=[],Z=[],Q=[],X=new Set,ie=R.get("body");for(let Ce of ie.get("body")){if((Ce.isClassProperty()||Ce.isClassMethod())&&Ce.node.computed&&Q.push(Ce),Ce.isPrivate()){let{name:se}=Ce.node.key.id,pe=`get ${se}`,nt=`set ${se}`;if(Ce.isClassPrivateMethod()){if(Ce.node.kind==="get"){if(X.has(pe)||X.has(se)&&!X.has(nt))throw Ce.buildCodeFrameError("Duplicate private field");X.add(pe).add(se)}else if(Ce.node.kind==="set"){if(X.has(nt)||X.has(se)&&!X.has(pe))throw Ce.buildCodeFrameError("Duplicate private field");X.add(nt).add(se)}}else{if(X.has(se)&&!X.has(pe)&&!X.has(nt)||X.has(se)&&(X.has(pe)||X.has(nt)))throw Ce.buildCodeFrameError("Duplicate private field");X.add(se)}}Ce.isClassMethod({kind:"constructor"})?K=Ce:(Z.push(Ce),(Ce.isProperty()||Ce.isPrivate()||Ce.isStaticBlock!=null&&Ce.isStaticBlock())&&W.push(Ce))}if(!W.length&&!$)return;let oe=R.node.id,be;oe&&B||(R.ensureFunctionName!=null||(R.ensureFunctionName=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.ensureFunctionName),R.ensureFunctionName(!1),be=R.scope.generateUidIdentifier((oe==null?void 0:oe.name)||"Class"));let Ne=(V=be)!=null?V:n.types.cloneNode(oe),Pe=(0,i.buildPrivateNamesMap)(Ne.name,C??q,W,G),Ke=(0,i.buildPrivateNamesNodes)(Pe,F??q,j!=null&&j,G),We,Oe,de,xe,ye,ve,he;(0,i.transformPrivateNamesUsage)(Ne,R,Pe,{privateFieldsAsProperties:C??q,noUninitializedPrivateFieldAccess:k,noDocumentAll:z,innerBinding:oe},G),$?(Oe=ye=We=[],{instanceNodes:de,wrapClass:he}=(0,o.buildDecoratedClass)(Ne,R,Z,G)):(We=(0,h.extractComputedKeys)(R,Q,G),{staticNodes:Oe,pureStaticNodes:ye,instanceNodes:de,lastInstanceNodeReturnsThis:xe,classBindingNode:ve,wrapClass:he}=(0,i.buildFieldsInitNodes)(be,R.node.superClass,W,Pe,G,L??q,C??q,k,U??q,oe)),de.length>0&&(0,h.injectInitialization)(R,K,de,((Ce,se)=>{if(!$)for(let pe of W)n.types.isStaticBlock!=null&&n.types.isStaticBlock(pe.node)||pe.node.static||pe.traverse(Ce,se)}),xe);let Te=he(R);Te.insertBefore([...Ke,...We]),Oe.length>0&&Te.insertAfter(Oe),ye.length>0&&Te.find((Ce=>Ce.isStatement()||Ce.isDeclaration())).insertAfter(ye),ve!=null&&B&&Te.insertAfter(ve)},ExportDefaultDeclaration(R,{file:G}){{if(G.get(b)!=="7.25.9")return;let V=R.get("declaration");V.isClassDeclaration()&&(0,o.hasDecorators)(V.node)&&(V.node.id?(R.splitExportDeclaration!=null||(R.splitExportDeclaration=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.splitExportDeclaration),R.splitExportDeclaration()):V.node.type="ClassExpression")}}}}},Object.defineProperty(e,"enableFeature",{enumerable:!0,get:function(){return d.enableFeature}}),Object.defineProperty(e,"injectInitialization",{enumerable:!0,get:function(){return h.injectInitialization}});var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),c=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js"),p=l("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js"),i=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js"),o=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js"),h=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js"),d=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/features.js"),f=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/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.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.extractComputedKeys=function(d,f,b){let{scope:m}=d,y=[],x={classBinding:d.node.id&&m.getBinding(d.node.id.name),file:b};for(let v of f){let E=v.get("key");E.isReferencedIdentifier()?i(E,x):E.traverse(o,x);let S=v.node;if(!E.isConstantExpression()){let _=h(E.node,m,m.generateUidBasedOnNode(E.node));_&&(y.push(n.types.expressionStatement(_)),S.key=n.types.cloneNode(_.left))}}return y},e.injectInitialization=function(d,f,b,m,y){if(!b.length)return;let x=!!d.node.superClass;if(!f){let v=n.types.classMethod("constructor",n.types.identifier("constructor"),[],n.types.blockStatement([]));x&&(v.params=[n.types.restElement(n.types.identifier("args"))],v.body.body.push(n.template.statement.ast`super(...args)`)),[f]=d.get("body").unshiftContainer("body",v)}if(m&&m(p,{scope:f.scope}),x){let v=[];f.traverse(c,v);let E=!0;for(let S of v)if(E?E=!1:b=b.map((_=>n.types.cloneNode(_))),S.parentPath.isExpressionStatement())S.insertAfter(b);else{let _=[S.node,...b.map((A=>n.types.toExpression(A)))];y||_.push(n.types.thisExpression()),S.replaceWith(n.types.sequenceExpression(_))}}else f.get("body").unshiftContainer("body",b)},e.memoiseComputedKey=h;var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js");let c=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js").visitors.environmentVisitor({Super(d){let{node:f,parentPath:b}=d;b.isCallExpression({callee:f})&&this.push(b)}}),p={"TSTypeAnnotation|TypeAnnotation"(d){d.skip()},ReferencedIdentifier(d,{scope:f}){f.hasOwnBinding(d.node.name)&&(f.rename(d.node.name),d.skip())}};function i(d,f){if(f.classBinding&&f.classBinding===d.scope.getBinding(d.node.name)){let b=f.file.addHelper("classNameTDZError"),m=n.types.callExpression(b,[n.types.stringLiteral(d.node.name)]);d.replaceWith(n.types.sequenceExpression([m,d.node])),d.skip()}}let o={ReferencedIdentifier:i};function h(d,f,b){if(!(n.types.isIdentifier(d)&&f.hasUid(d.name))){if(n.types.isAssignmentExpression(d,{operator:"="})&&n.types.isIdentifier(d.left)&&f.hasUid(d.left.name))return n.types.cloneNode(d);{let m=n.types.identifier(b);return f.push({id:m,kind:"let"}),n.types.assignmentExpression("=",n.types.cloneNode(m),d)}}}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assertFieldTransformed=function(l){if(l.node.declare)throw l.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-member-expression-to-functions@7.25.9/node_modules/@babel/helper-member-expression-to-functions/lib/index.js":(u,e,l)=>{"use strict";function n(B){if(B&&B.__esModule)return B;var q=Object.create(null);return B&&Object.keys(B).forEach((function(K){if(K!=="default"){var $=Object.getOwnPropertyDescriptor(B,K);Object.defineProperty(q,K,$.get?$:{enumerable:!0,get:function(){return B[K]}})}})),q.default=B,Object.freeze(q)}Object.defineProperty(e,"__esModule",{value:!0});var c=n(l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"));function p(B){let q=B,{node:K,parentPath:$}=q;if($.isLogicalExpression()){let{operator:W,right:Z}=$.node;if(W==="&&"||W==="||"||W==="??"&&K===Z)return p($)}if($.isSequenceExpression()){let{expressions:W}=$.node;return W[W.length-1]!==K||p($)}return $.isConditional({test:K})||$.isUnaryExpression({operator:"!"})||$.isLoop({test:K})}let{LOGICAL_OPERATORS:i,arrowFunctionExpression:o,assignmentExpression:h,binaryExpression:d,booleanLiteral:f,callExpression:b,cloneNode:m,conditionalExpression:y,identifier:x,isMemberExpression:v,isOptionalCallExpression:E,isOptionalMemberExpression:S,isUpdateExpression:_,logicalExpression:A,memberExpression:L,nullLiteral:j,optionalCallExpression:F,optionalMemberExpression:k,sequenceExpression:U,updateExpression:z}=c;class C{constructor(){this._map=void 0,this._map=new WeakMap}has(q){return this._map.has(q)}get(q){if(!this.has(q))return;let K=this._map.get(q),{value:$}=K;return K.count--,K.count===0?h("=",$,q):$}set(q,K,$){return this._map.set(q,{count:$,value:K})}}function R(B,q){let{node:K}=B;if(S(K))return L(q,K.property,K.computed);if(B.isOptionalCallExpression()){let $=B.get("callee");if(B.node.optional&&$.isOptionalMemberExpression()){let W=$.node.object,Z=B.scope.maybeGenerateMemoised(W);return $.get("object").replaceWith(h("=",Z,W)),b(L(q,x("call")),[Z,...B.node.arguments])}return b(q,B.node.arguments)}return B.node}let G={memoise(){},handle(B,q){let{node:K,parent:$,parentPath:W,scope:Z}=B;if(B.isOptionalMemberExpression()){if((function(se){for(;se&&!se.isProgram();){let{parentPath:pe,container:nt,listKey:ft}=se,_t=pe.node;if(ft){if(nt!==_t[ft])return!0}else if(nt!==_t)return!0;se=pe}return!1})(B))return;let Q=B.find((({node:se,parent:pe})=>S(pe)?pe.optional||pe.object!==se:!E(pe)||se!==B.node&&pe.optional||pe.callee!==se));if(Z.path.isPattern())return void Q.replaceWith(b(o([],Q.node),[]));let X=p(Q),ie=Q.parentPath;if(ie.isUpdateExpression({argument:K}))throw B.buildCodeFrameError("can't handle update expression");let oe=ie.isAssignmentExpression({left:Q.node}),be=ie.isUnaryExpression({operator:"delete"});if(be&&Q.isOptionalMemberExpression()&&Q.get("property").isPrivateName())throw B.buildCodeFrameError("can't delete a private class element");let Ne=B;for(;;)if(Ne.isOptionalMemberExpression()){if(Ne.node.optional)break;Ne=Ne.get("object")}else{if(!Ne.isOptionalCallExpression())throw new Error(`Internal error: unexpected ${Ne.node.type}`);if(Ne.node.optional)break;Ne=Ne.get("callee")}let Pe=Ne.isOptionalMemberExpression()?Ne.node.object:Ne.node.callee,Ke=Z.maybeGenerateMemoised(Pe),We=Ke??Pe,Oe=W.isOptionalCallExpression({callee:K}),de=se=>Oe,xe=W.isCallExpression({callee:K});Ne.replaceWith(R(Ne,We)),de()?$.optional?W.replaceWith(this.optionalCall(B,$.arguments)):W.replaceWith(this.call(B,$.arguments)):xe?B.replaceWith(this.boundGet(B)):this.delete&&W.isUnaryExpression({operator:"delete"})?W.replaceWith(this.delete(B)):W.isAssignmentExpression()?V(this,B,W):B.replaceWith(this.get(B));let ye,ve=B.node;for(let se=B;se!==Q;){let pe=se.parentPath;if(pe===Q&&de()&&$.optional){ve=pe.node;break}ve=R(pe,ve),se=pe}let he=Q.parentPath;if(v(ve)&&he.isOptionalCallExpression({callee:Q.node,optional:!0})){let{object:se}=ve;ye=B.scope.maybeGenerateMemoised(se),ye&&(ve.object=h("=",ye,se))}let Te=Q;(be||oe)&&(Te=he,ve=he.node);let Ce=Ke?h("=",m(We),m(Pe)):m(We);if(X){let se;se=q?d("!=",Ce,j()):A("&&",d("!==",Ce,j()),d("!==",m(We),Z.buildUndefinedNode())),Te.replaceWith(A("&&",se,ve))}else{let se;se=q?d("==",Ce,j()):A("||",d("===",Ce,j()),d("===",m(We),Z.buildUndefinedNode())),Te.replaceWith(y(se,be?f(!0):Z.buildUndefinedNode(),ve))}if(ye){let se=he.node;he.replaceWith(F(k(se.callee,x("call"),!1,!0),[m(ye),...se.arguments],!1))}}else{if(_($,{argument:K})){if(this.simpleSet)return void B.replaceWith(this.simpleSet(B));let{operator:Q,prefix:X}=$;this.memoise(B,2);let ie=Z.generateUidIdentifierBasedOnNode(K);Z.push({id:ie});let oe=[h("=",m(ie),this.get(B))];if(X){oe.push(z(Q,m(ie),X));let be=U(oe);return void W.replaceWith(this.set(B,be))}{let be=Z.generateUidIdentifierBasedOnNode(K);Z.push({id:be}),oe.push(h("=",m(be),z(Q,m(ie),X)),m(ie));let Ne=U(oe);return void W.replaceWith(U([this.set(B,Ne),m(be)]))}}if(W.isAssignmentExpression({left:K}))V(this,B,W);else{if(!W.isCallExpression({callee:K}))return W.isOptionalCallExpression({callee:K})?Z.path.isPattern()?void W.replaceWith(b(o([],W.node),[])):void W.replaceWith(this.optionalCall(B,W.node.arguments)):void(this.delete&&W.isUnaryExpression({operator:"delete"})?W.replaceWith(this.delete(B)):W.isForXStatement({left:K})||W.isObjectProperty({value:K})&&W.parentPath.isObjectPattern()||W.isAssignmentPattern({left:K})&&W.parentPath.isObjectProperty({value:$})&&W.parentPath.parentPath.isObjectPattern()||W.isArrayPattern()||W.isAssignmentPattern({left:K})&&W.parentPath.isArrayPattern()||W.isRestElement()?B.replaceWith(this.destructureSet(B)):W.isTaggedTemplateExpression()?B.replaceWith(this.boundGet(B)):B.replaceWith(this.get(B)));W.replaceWith(this.call(B,W.node.arguments))}}}};function V(B,q,K){if(B.simpleSet)return void q.replaceWith(B.simpleSet(q));let{operator:$,right:W}=K.node;if($==="=")K.replaceWith(B.set(q,W));else{let Z=$.slice(0,-1);i.includes(Z)?(B.memoise(q,1),K.replaceWith(A(Z,B.get(q),B.set(q,W)))):(B.memoise(q,2),K.replaceWith(B.set(q,d(Z,B.get(q),W))))}}e.default=function(B,q,K){B.traverse(q,Object.assign({},G,K,{memoiser:new C}))}},"./node_modules/.pnpm/@babel+helper-module-imports@7.25.9/node_modules/@babel/helper-module-imports/lib/import-builder.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("assert"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{callExpression:p,cloneNode:i,expressionStatement:o,identifier:h,importDeclaration:d,importDefaultSpecifier:f,importNamespaceSpecifier:b,importSpecifier:m,memberExpression:y,stringLiteral:x,variableDeclaration:v,variableDeclarator:E}=c;e.default=class{constructor(S,_,A){this._statements=[],this._resultName=null,this._importedSource=void 0,this._scope=_,this._hub=A,this._importedSource=S}done(){return{statements:this._statements,resultName:this._resultName}}import(){return this._statements.push(d([],x(this._importedSource))),this}require(){return this._statements.push(o(p(h("require"),[x(this._importedSource)]))),this}namespace(S="namespace"){let _=this._scope.generateUidIdentifier(S),A=this._statements[this._statements.length-1];return n(A.type==="ImportDeclaration"),n(A.specifiers.length===0),A.specifiers=[b(_)],this._resultName=i(_),this}default(S){let _=this._scope.generateUidIdentifier(S),A=this._statements[this._statements.length-1];return n(A.type==="ImportDeclaration"),n(A.specifiers.length===0),A.specifiers=[f(_)],this._resultName=i(_),this}named(S,_){if(_==="default")return this.default(S);let A=this._scope.generateUidIdentifier(S),L=this._statements[this._statements.length-1];return n(L.type==="ImportDeclaration"),n(L.specifiers.length===0),L.specifiers=[m(A,h(_))],this._resultName=i(A),this}var(S){let _=this._scope.generateUidIdentifier(S),A=this._statements[this._statements.length-1];return A.type!=="ExpressionStatement"&&(n(this._resultName),A=o(this._resultName),this._statements.push(A)),this._statements[this._statements.length-1]=v("var",[E(_,A.expression)]),this._resultName=i(_),this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(S){let _=this._statements[this._statements.length-1];return _.type==="ExpressionStatement"?_.expression=p(S,[_.expression]):_.type==="VariableDeclaration"?(n(_.declarations.length===1),_.declarations[0].init=p(S,[_.declarations[0].init])):n.fail("Unexpected type."),this}prop(S){let _=this._statements[this._statements.length-1];return _.type==="ExpressionStatement"?_.expression=y(_.expression,h(S)):_.type==="VariableDeclaration"?(n(_.declarations.length===1),_.declarations[0].init=y(_.declarations[0].init,h(S))):n.fail("Unexpected type:"+_.type),this}read(S){this._resultName=y(this._resultName,h(S))}}},"./node_modules/.pnpm/@babel+helper-module-imports@7.25.9/node_modules/@babel/helper-module-imports/lib/import-injector.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("assert"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),p=l("./node_modules/.pnpm/@babel+helper-module-imports@7.25.9/node_modules/@babel/helper-module-imports/lib/import-builder.js"),i=l("./node_modules/.pnpm/@babel+helper-module-imports@7.25.9/node_modules/@babel/helper-module-imports/lib/is-module.js");let{identifier:o,importSpecifier:h,numericLiteral:d,sequenceExpression:f,isImportDeclaration:b}=c;function m(E){return E.importKind!=="type"&&E.importKind!=="typeof"}function y(E){return E.specifiers.length===1&&E.specifiers[0].type==="ImportNamespaceSpecifier"||E.specifiers.length===2&&E.specifiers[1].type==="ImportNamespaceSpecifier"}function x(E){return E.specifiers.length>0&&E.specifiers[0].type==="ImportDefaultSpecifier"}function v(E,S){return E.specifiers.length?!S.specifiers.length||!y(E)&&!y(S)&&(x(S)&&(x(E)?S.specifiers[0]=h(S.specifiers[0].local,o("default")):E.specifiers.unshift(S.specifiers.shift())),E.specifiers.push(...S.specifiers),!0):(E.specifiers=S.specifiers,!0)}e.default=class{constructor(E,S,_){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:!1,ensureNoContext:!1,importPosition:"before"};let A=E.find((L=>L.isProgram()));this._programPath=A,this._programScope=A.scope,this._hub=A.hub,this._defaultOpts=this._applyDefaults(S,_,!0)}addDefault(E,S){return this.addNamed("default",E,S)}addNamed(E,S,_){return n(typeof E=="string"),this._generateImport(this._applyDefaults(S,_),E)}addNamespace(E,S){return this._generateImport(this._applyDefaults(E,S),null)}addSideEffect(E,S){return this._generateImport(this._applyDefaults(E,S),void 0)}_applyDefaults(E,S,_=!1){let A;return typeof E=="string"?A=Object.assign({},this._defaultOpts,{importedSource:E},S):(n(!S,"Unexpected secondary arguments."),A=Object.assign({},this._defaultOpts,E)),!_&&S&&(S.nameHint!==void 0&&(A.nameHint=S.nameHint),S.blockHoist!==void 0&&(A.blockHoist=S.blockHoist)),A}_generateImport(E,S){let _=S==="default",A=!!S&&!_,L=S===null,{importedSource:j,importedType:F,importedInterop:k,importingInterop:U,ensureLiveReference:z,ensureNoContext:C,nameHint:R,importPosition:G,blockHoist:V}=E,B=R||S,q=(0,i.default)(this._programPath),K=q&&U==="node",$=q&&U==="babel";if(G==="after"&&!q)throw new Error('"importPosition": "after" is only supported in modules');let W=new p.default(j,this._programScope,this._hub);if(F==="es6"){if(!K&&!$)throw new Error("Cannot import an ES6 module from CommonJS");W.import(),L?W.namespace(R||j):(_||A)&&W.named(B,S)}else{if(F!=="commonjs")throw new Error(`Unexpected interopType "${F}"`);if(k==="babel")if(K){B=B!=="default"?B:j;let X=`${j}$es6Default`;W.import(),L?W.default(X).var(B||j).wildcardInterop():_?z?W.default(X).var(B||j).defaultInterop().read("default"):W.default(X).var(B).defaultInterop().prop(S):A&&W.default(X).read(S)}else $?(W.import(),L?W.namespace(B||j):(_||A)&&W.named(B,S)):(W.require(),L?W.var(B||j).wildcardInterop():(_||A)&&z?_?(B=B!=="default"?B:j,W.var(B).read(S),W.defaultInterop()):W.var(j).read(S):_?W.var(B).defaultInterop().prop(S):A&&W.var(B).prop(S));else if(k==="compiled")K?(W.import(),L?W.default(B||j):(_||A)&&W.default(j).read(B)):$?(W.import(),L?W.namespace(B||j):(_||A)&&W.named(B,S)):(W.require(),L?W.var(B||j):(_||A)&&(z?W.var(j).read(B):W.prop(S).var(B)));else{if(k!=="uncompiled")throw new Error(`Unknown importedInterop "${k}".`);if(_&&z)throw new Error("No live reference for commonjs default");K?(W.import(),L?W.default(B||j):_?W.default(B):A&&W.default(j).read(B)):$?(W.import(),L?W.default(B||j):_?W.default(B):A&&W.named(B,S)):(W.require(),L?W.var(B||j):_?W.var(B):A&&(z?W.var(j).read(B):W.var(B).prop(S)))}}let{statements:Z,resultName:Q}=W.done();return this._insertStatements(Z,G,V),(_||A)&&C&&Q.type!=="Identifier"?f([d(0),Q]):Q}_insertStatements(E,S="before",_=3){if(S==="after"){if(this._insertStatementsAfter(E))return}else if(this._insertStatementsBefore(E,_))return;this._programPath.unshiftContainer("body",E)}_insertStatementsBefore(E,S){if(E.length===1&&b(E[0])&&m(E[0])){let A=this._programPath.get("body").find((L=>L.isImportDeclaration()&&m(L.node)));if((A==null?void 0:A.node.source.value)===E[0].source.value&&v(A.node,E[0]))return!0}E.forEach((A=>{A._blockHoist=S}));let _=this._programPath.get("body").find((A=>{let L=A.node._blockHoist;return Number.isFinite(L)&&L<4}));return!!_&&(_.insertBefore(E),!0)}_insertStatementsAfter(E){let S=new Set(E),_=new Map;for(let L of E)if(b(L)&&m(L)){let j=L.source.value;_.has(j)||_.set(j,[]),_.get(j).push(L)}let A=null;for(let L of this._programPath.get("body"))if(L.isImportDeclaration()&&m(L.node)){A=L;let j=L.node.source.value,F=_.get(j);if(!F)continue;for(let k of F)S.has(k)&&v(L.node,k)&&S.delete(k)}return S.size===0||(A&&A.insertAfter(Array.from(S)),!!A)}}},"./node_modules/.pnpm/@babel+helper-module-imports@7.25.9/node_modules/@babel/helper-module-imports/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImportInjector",{enumerable:!0,get:function(){return n.default}}),e.addDefault=function(p,i,o){return new n.default(p).addDefault(i,o)},e.addNamed=function(p,i,o,h){return new n.default(p).addNamed(i,o,h)},e.addNamespace=function(p,i,o){return new n.default(p).addNamespace(i,o)},e.addSideEffect=function(p,i,o){return new n.default(p).addSideEffect(i,o)},Object.defineProperty(e,"isModule",{enumerable:!0,get:function(){return c.default}});var n=l("./node_modules/.pnpm/@babel+helper-module-imports@7.25.9/node_modules/@babel/helper-module-imports/lib/import-injector.js"),c=l("./node_modules/.pnpm/@babel+helper-module-imports@7.25.9/node_modules/@babel/helper-module-imports/lib/is-module.js")},"./node_modules/.pnpm/@babel+helper-module-imports@7.25.9/node_modules/@babel/helper-module-imports/lib/is-module.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){return l.node.sourceType==="module"}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildDynamicImport=function(c,p,i,o){let h=n.types.isCallExpression(c)?c.arguments[0]:c.source;if(n.types.isStringLiteral(h)||n.types.isTemplateLiteral(h)&&h.quasis.length===0)return p?n.template.expression.ast`
|
|
Promise.resolve().then(() => ${o(h)})
|
|
`:o(h);let d=n.types.isTemplateLiteral(h)?n.types.identifier("specifier"):n.types.templateLiteral([n.types.templateElement({raw:""}),n.types.templateElement({raw:""})],[n.types.identifier("specifier")]);return p?n.template.expression.ast`
|
|
(specifier =>
|
|
new Promise(r => r(${d}))
|
|
.then(s => ${o(n.types.identifier("s"))})
|
|
)(${h})
|
|
`:i?n.template.expression.ast`
|
|
(specifier =>
|
|
new Promise(r => r(${o(d)}))
|
|
)(${h})
|
|
`:n.template.expression.ast`
|
|
(specifier => ${o(d)})(${h})
|
|
`};var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js");e.getDynamicImportSource=function(c){let[p]=c.arguments;return n.types.isStringLiteral(p)||n.types.isTemplateLiteral(p)?p:n.template.expression.ast`\`\${${p}}\``}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/get-module-name.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=l;{let n=l;e.default=l=function(c,p){var i,o,h,d;return n(c,{moduleId:(i=p.moduleId)!=null?i:c.moduleId,moduleIds:(o=p.moduleIds)!=null?o:c.moduleIds,getModuleId:(h=p.getModuleId)!=null?h:c.getModuleId,moduleRoot:(d=p.moduleRoot)!=null?d:c.moduleRoot})}}function l(n,c){let{filename:p,filenameRelative:i=p,sourceRoot:o=c.moduleRoot}=n,{moduleId:h,moduleIds:d=!!h,getModuleId:f,moduleRoot:b=o}=c;if(!d)return null;if(h!=null&&!f)return h;let m=b!=null?b+"/":"";if(i){let y=o!=null?new RegExp("^"+o+"/?"):"";m+=i.replace(y,"").replace(/\.\w*$/,"")}return m=m.replace(/\\/g,"/"),f&&f(m)||m}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"buildDynamicImport",{enumerable:!0,get:function(){return f.buildDynamicImport}}),e.buildNamespaceInitStatements=function(E,S,_=!1,A=d.wrapReference){var L;let j=[],F=c.types.identifier(S.name);for(let U of S.importsNamespace)U!==S.name&&j.push(c.template.statement`var NAME = SOURCE;`({NAME:U,SOURCE:c.types.cloneNode(F)}));let k=(L=A(F,S.wrap))!=null?L:F;_&&j.push(...y(E,S,!0,A));for(let U of S.reexportNamespace)j.push((c.types.isIdentifier(k)?c.template.statement`EXPORTS.NAME = NAMESPACE;`:c.template.statement`
|
|
Object.defineProperty(EXPORTS, "NAME", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return NAMESPACE;
|
|
}
|
|
});
|
|
`)({EXPORTS:E.exportName,NAME:U,NAMESPACE:c.types.cloneNode(k)}));if(S.reexportAll){let U=(function(z,C,R){return(R?c.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];
|
|
});
|
|
`:c.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:C,EXPORTS:z.exportName,VERIFY_NAME_LIST:z.exportNameListName?c.template`
|
|
if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return;
|
|
`({EXPORTS_LIST:z.exportNameListName}):null})})(E,c.types.cloneNode(k),_);U.loc=S.reexportAll.loc,j.push(U)}return j},e.ensureStatementsHoisted=function(E){E.forEach((S=>{S._blockHoist=3}))},Object.defineProperty(e,"getModuleName",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"hasExports",{enumerable:!0,get:function(){return h.hasExports}}),Object.defineProperty(e,"isModule",{enumerable:!0,get:function(){return p.isModule}}),Object.defineProperty(e,"isSideEffectImport",{enumerable:!0,get:function(){return h.isSideEffectImport}}),e.rewriteModuleStatementsAndPrepareHeader=function(E,{exportName:S,strict:_,allowTopLevelThis:A,strictMode:L,noInterop:j,importInterop:F=j?"none":"babel",lazy:k,getWrapperPayload:U=d.toGetWrapperPayload(k!=null&&k),wrapReference:z=d.wrapReference,esNamespaceOnly:C,filename:R,constantReexports:G=arguments[1].loose,enumerableModuleMeta:V=arguments[1].loose,noIncompleteNsImportDetection:B}){(0,h.validateImportInteropOption)(F),n((0,p.isModule)(E),"Cannot process module statements in a script"),E.node.sourceType="script";let q=(0,h.default)(E,S,{importInterop:F,initializeReexports:G,getWrapperPayload:U,esNamespaceOnly:C,filename:R});A||(0,i.default)(E),(0,o.default)(E,q,z),L!==!1&&(E.node.directives.some((W=>W.value.value==="use strict"))||E.unshiftContainer("directives",c.types.directive(c.types.directiveLiteral("use strict"))));let K=[];(0,h.hasExports)(q)&&!_&&K.push((function(W,Z=!1){return(Z?c.template.statement`
|
|
EXPORTS.__esModule = true;
|
|
`:c.template.statement`
|
|
Object.defineProperty(EXPORTS, "__esModule", {
|
|
value: true,
|
|
});
|
|
`)({EXPORTS:W.exportName})})(q,V));let $=(function(W,Z){let Q=Object.create(null);for(let oe of Z.local.values())for(let be of oe.names)Q[be]=!0;let X=!1;for(let oe of Z.source.values()){for(let be of oe.reexports.keys())Q[be]=!0;for(let be of oe.reexportNamespace)Q[be]=!0;X=X||!!oe.reexportAll}if(!X||Object.keys(Q).length===0)return null;let ie=W.scope.generateUidIdentifier("exportNames");return delete Q.default,{name:ie.name,statement:c.types.variableDeclaration("var",[c.types.variableDeclarator(ie,c.types.valueToNode(Q))])}})(E,q);return $&&(q.exportNameListName=$.name,K.push($.statement)),K.push(...(function(W,Z,Q,X=!1,ie=!1){let oe=[];for(let[Ne,Pe]of Z.local)if(Pe.kind!=="import"){if(Pe.kind==="hoisted")oe.push([Pe.names[0],v(Z,Pe.names,c.types.identifier(Ne))]);else if(!ie)for(let Ke of Pe.names)oe.push([Ke,null])}for(let Ne of Z.source.values()){if(!X){let Pe=y(Z,Ne,!1,Q),Ke=[...Ne.reexports.keys()];for(let We=0;We<Pe.length;We++)oe.push([Ke[We],Pe[We]])}if(!ie)for(let Pe of Ne.reexportNamespace)oe.push([Pe,null])}oe.sort((([Ne],[Pe])=>Ne<Pe?-1:Pe<Ne?1:0));let be=[];if(ie)for(let[,Ne]of oe)be.push(Ne);else for(let Pe=0;Pe<oe.length;Pe+=100){let Ke=[];for(let We=0;We<100&&Pe+We<oe.length;We++){let[Oe,de]=oe[Pe+We];de!==null?(Ke.length>0&&(be.push(v(Z,Ke,W.scope.buildUndefinedNode())),Ke=[]),be.push(de)):Ke.push(Oe)}Ke.length>0&&be.push(v(Z,Ke,W.scope.buildUndefinedNode()))}return be})(E,q,z,G,B)),{meta:q,headers:K}},Object.defineProperty(e,"rewriteThis",{enumerable:!0,get:function(){return i.default}}),e.wrapInterop=function(E,S,_){if(_==="none")return null;if(_==="node-namespace")return c.types.callExpression(E.hub.addHelper("interopRequireWildcard"),[S,c.types.booleanLiteral(!0)]);if(_==="node-default")return null;let A;if(_==="default")A="interopRequireDefault";else{if(_!=="namespace")throw new Error(`Unknown interop: ${_}`);A="interopRequireWildcard"}return c.types.callExpression(E.hub.addHelper(A),[S])};var n=l("assert"),c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),p=l("./node_modules/.pnpm/@babel+helper-module-imports@7.25.9/node_modules/@babel/helper-module-imports/lib/index.js"),i=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js"),o=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js"),h=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js"),d=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js"),f=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js"),b=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/get-module-name.js");e.getDynamicImportSource=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js").getDynamicImportSource;let m={constant:({exports:E,exportName:S,namespaceImport:_})=>c.template.statement.ast`
|
|
${E}.${S} = ${_};
|
|
`,constantComputed:({exports:E,exportName:S,namespaceImport:_})=>c.template.statement.ast`
|
|
${E}["${S}"] = ${_};
|
|
`,spec:({exports:E,exportName:S,namespaceImport:_})=>c.template.statement.ast`
|
|
Object.defineProperty(${E}, "${S}", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return ${_};
|
|
},
|
|
});
|
|
`};function y(E,S,_,A){var L;let j=c.types.identifier(S.name);j=(L=A(j,S.wrap))!=null?L:j;let{stringSpecifiers:F}=E;return Array.from(S.reexports,(([k,U])=>{let z=c.types.cloneNode(j);U==="default"&&S.interop==="node-default"||(z=F.has(U)?c.types.memberExpression(z,c.types.stringLiteral(U),!0):c.types.memberExpression(z,c.types.identifier(U)));let C={exports:E.exportName,exportName:k,namespaceImport:z};return _||c.types.isIdentifier(z)?F.has(k)?m.constantComputed(C):m.constant(C):m.spec(C)}))}let x={computed:({exports:E,name:S,value:_})=>c.template.expression.ast`${E}["${S}"] = ${_}`,default:({exports:E,name:S,value:_})=>c.template.expression.ast`${E}.${S} = ${_}`,define:({exports:E,name:S,value:_})=>c.template.expression.ast`
|
|
Object.defineProperty(${E}, "${S}", {
|
|
enumerable: true,
|
|
value: void 0,
|
|
writable: true
|
|
})["${S}"] = ${_}`};function v(E,S,_){let{stringSpecifiers:A,exportName:L}=E;return c.types.expressionStatement(S.reduce(((j,F)=>{let k={exports:L,name:F,value:j};return F==="__proto__"?x.define(k):A.has(F)?x.computed(k):x.default(k)}),_))}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toGetWrapperPayload=function(p){return(i,o)=>{if(p===!1||(0,c.isSideEffectImport)(o)||o.reexportAll)return null;if(p===!0)return i.includes(".")?null:"lazy";if(Array.isArray(p))return p.includes(i)?"lazy":null;if(typeof p=="function")return p(i)?"lazy":null;throw new Error(".lazy must be a boolean, string array, or function")}},e.wrapReference=function(p,i){return i==="lazy"?n.types.callExpression(p,[]):null};var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),c=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js")},"./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(d,f,{importInterop:b,initializeReexports:m=!1,getWrapperPayload:y,esNamespaceOnly:x=!1,filename:v}){f||(f=d.scope.generateUidIdentifier("exports").name);let E=new Set;(function(L){L.get("body").forEach((j=>{j.isExportDefaultDeclaration()&&(j.splitExportDeclaration!=null||(j.splitExportDeclaration=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.splitExportDeclaration),j.splitExportDeclaration())}))})(d);let{local:S,sources:_,hasExports:A}=(function(L,{getWrapperPayload:j,initializeReexports:F},k){let U=(function(V,B,q){let K=new Map;V.get("body").forEach((Z=>{let Q;if(Z.isImportDeclaration())Q="import";else{if(Z.isExportDefaultDeclaration()&&(Z=Z.get("declaration")),Z.isExportNamedDeclaration()){if(Z.node.declaration)Z=Z.get("declaration");else if(B&&Z.node.source&&Z.get("source").isStringLiteral())return void Z.get("specifiers").forEach((X=>{h(X),K.set(X.get("local").node.name,"block")}))}if(Z.isFunctionDeclaration())Q="hoisted";else if(Z.isClassDeclaration())Q="block";else if(Z.isVariableDeclaration({kind:"var"}))Q="var";else{if(!Z.isVariableDeclaration())return;Q="block"}}Object.keys(Z.getOuterBindingIdentifiers()).forEach((X=>{K.set(X,Q)}))}));let $=new Map,W=Z=>{let Q=Z.node.name,X=$.get(Q);if(!X){let ie=K.get(Q);if(ie===void 0)throw Z.buildCodeFrameError(`Exporting local "${Q}", which is not declared.`);X={names:[],kind:ie},$.set(Q,X)}return X};return V.get("body").forEach((Z=>{if(!Z.isExportNamedDeclaration()||!B&&Z.node.source){if(Z.isExportDefaultDeclaration()){let Q=Z.get("declaration");if(!Q.isFunctionDeclaration()&&!Q.isClassDeclaration())throw Q.buildCodeFrameError("Unexpected default expression export.");W(Q.get("id")).names.push("default")}}else if(Z.node.declaration){let Q=Z.get("declaration"),X=Q.getOuterBindingIdentifierPaths();Object.keys(X).forEach((ie=>{if(ie==="__esModule")throw Q.buildCodeFrameError('Illegal export "__esModule".');W(X[ie]).names.push(ie)}))}else Z.get("specifiers").forEach((Q=>{let X=Q.get("local"),ie=Q.get("exported"),oe=W(X),be=o(ie,q);if(be==="__esModule")throw ie.buildCodeFrameError('Illegal export "__esModule".');oe.names.push(be)}))})),$})(L,F,k),z=new Map,C=new Map,R=(V,B)=>{let q=V.value,K=C.get(q);return K?z.get(q).push(B):(K={name:L.scope.generateUidIdentifier((0,n.basename)(q,(0,n.extname)(q))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,wrap:null,get lazy(){return this.wrap==="lazy"},referenced:!1},C.set(q,K),z.set(q,[B])),K},G=!1;L.get("body").forEach((V=>{if(V.isImportDeclaration()){let B=R(V.node.source,V.node);B.loc||(B.loc=V.node.loc),V.get("specifiers").forEach((q=>{if(q.isImportDefaultSpecifier()){let K=q.get("local").node.name;B.imports.set(K,"default");let $=U.get(K);$&&(U.delete(K),$.names.forEach((W=>{B.reexports.set(W,"default")})),B.referenced=!0)}else if(q.isImportNamespaceSpecifier()){let K=q.get("local").node.name;B.importsNamespace.add(K);let $=U.get(K);$&&(U.delete(K),$.names.forEach((W=>{B.reexportNamespace.add(W)})),B.referenced=!0)}else if(q.isImportSpecifier()){let K=o(q.get("imported"),k),$=q.get("local").node.name;B.imports.set($,K);let W=U.get($);W&&(U.delete($),W.names.forEach((Z=>{B.reexports.set(Z,K)})),B.referenced=!0)}}))}else if(V.isExportAllDeclaration()){G=!0;let B=R(V.node.source,V.node);B.loc||(B.loc=V.node.loc),B.reexportAll={loc:V.node.loc},B.referenced=!0}else if(V.isExportNamedDeclaration()&&V.node.source){G=!0;let B=R(V.node.source,V.node);B.loc||(B.loc=V.node.loc),V.get("specifiers").forEach((q=>{h(q);let K=o(q.get("local"),k),$=o(q.get("exported"),k);if(B.reexports.set($,K),B.referenced=!0,$==="__esModule")throw q.get("exported").buildCodeFrameError('Illegal export "__esModule".')}))}else(V.isExportNamedDeclaration()||V.isExportDefaultDeclaration())&&(G=!0)}));for(let V of C.values()){let B=!1,q=!1;V.importsNamespace.size>0&&(B=!0,q=!0),V.reexportAll&&(q=!0);for(let K of V.imports.values())K==="default"?B=!0:q=!0;for(let K of V.reexports.values())K==="default"?B=!0:q=!0;B&&q?V.interop="namespace":B&&(V.interop="default")}if(j)for(let[V,B]of C)B.wrap=j(V,B,z.get(V));return{hasExports:G,local:U,sources:C}})(d,{initializeReexports:m,getWrapperPayload:y},E);(function(L){L.get("body").forEach((j=>{if(j.isImportDeclaration())j.remove();else if(j.isExportNamedDeclaration())j.node.declaration?(j.node.declaration._blockHoist=j.node._blockHoist,j.replaceWith(j.node.declaration)):j.remove();else if(j.isExportDefaultDeclaration()){let F=j.get("declaration");if(!F.isFunctionDeclaration()&&!F.isClassDeclaration())throw F.buildCodeFrameError("Unexpected default expression export.");F._blockHoist=j.node._blockHoist,j.replaceWith(F)}else j.isExportAllDeclaration()&&j.remove()}))})(d);for(let[L,j]of _){let{importsNamespace:F,imports:k}=j;if(F.size>0&&k.size===0){let[z]=F;j.name=z}let U=i(b,L,v);U==="none"?j.interop="none":U==="node"&&j.interop==="namespace"?j.interop="node-namespace":U==="node"&&j.interop==="default"?j.interop="node-default":x&&j.interop==="namespace"&&(j.interop="default")}return{exportName:f,exportNameListName:null,hasExports:A,local:S,source:_,stringSpecifiers:E}},e.hasExports=function(d){return d.hasExports},e.isSideEffectImport=function(d){return d.imports.size===0&&d.importsNamespace.size===0&&d.reexports.size===0&&d.reexportNamespace.size===0&&!d.reexportAll},e.validateImportInteropOption=p;var n=l("path"),c=l("./node_modules/.pnpm/@babel+helper-validator-identifier@7.25.9/node_modules/@babel/helper-validator-identifier/lib/index.js");function p(d){if(typeof d!="function"&&d!=="none"&&d!=="babel"&&d!=="node")throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${d}).`);return d}function i(d,f,b){return typeof d=="function"?p(d(f,b)):d}function o(d,f){if(d.isIdentifier())return d.node.name;if(d.isStringLiteral()){let b=d.node.value;return(0,c.isIdentifierName)(b)||f.add(b),b}throw new Error(`Expected export specifier to be either Identifier or StringLiteral, got ${d.node.type}`)}function h(d){if(!d.isExportSpecifier())throw d.isExportNamespaceSpecifier()?d.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-transform-export-namespace-from`."):d.buildCodeFrameError("Unexpected export specifier type")}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(h,d,f){let b=new Map,m=new Map,y=E=>{h.requeue(E)};for(let[E,S]of d.source){for(let[_,A]of S.imports)b.set(_,[E,A,null]);for(let _ of S.importsNamespace)b.set(_,[E,null,_])}for(let[E,S]of d.local){let _=m.get(E);_||(_=[],m.set(E,_)),_.push(...S.names)}let x={metadata:d,requeueInParent:y,scope:h.scope,exported:m};h.traverse(c,x);let v={seen:new WeakSet,metadata:d,requeueInParent:y,scope:h.scope,imported:b,exported:m,buildImportReference([E,S,_],A){let L=d.source.get(E);if(L.referenced=!0,_){var j;return L.wrap&&(A=(j=f(A,L.wrap))!=null?j:A),A}let F=n.types.identifier(L.name);var k;if(L.wrap&&(F=(k=f(F,L.wrap))!=null?k:F),S==="default"&&L.interop==="node-default")return F;let U=d.stringSpecifiers.has(S);return n.types.memberExpression(F,U?n.types.stringLiteral(S):n.types.identifier(S),U)}};h.traverse(o,v)};var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js");let c={Scope(h){h.skip()},ClassDeclaration(h){let{requeueInParent:d,exported:f,metadata:b}=this,{id:m}=h.node;if(!m)throw new Error("Expected class to have a name");let y=m.name,x=f.get(y)||[];if(x.length>0){let v=n.types.expressionStatement(p(b,x,n.types.identifier(y),h.scope));v._blockHoist=h.node._blockHoist,d(h.insertAfter(v)[0])}},VariableDeclaration(h){let{requeueInParent:d,exported:f,metadata:b}=this,m=h.node.kind==="var";for(let y of h.get("declarations")){let{id:x}=y.node,{init:v}=y.node;if(!n.types.isIdentifier(x)||!f.has(x.name)||n.types.isArrowFunctionExpression(v)||n.types.isFunctionExpression(v)&&!v.id||n.types.isClassExpression(v)&&!v.id){for(let E of Object.keys(y.getOuterBindingIdentifiers()))if(f.has(E)){let S=n.types.expressionStatement(p(b,f.get(E),n.types.identifier(E),h.scope));S._blockHoist=h.node._blockHoist,d(h.insertAfter(S)[0])}}else{if(!v){if(m)continue;v=h.scope.buildUndefinedNode()}y.node.init=p(b,f.get(x.name),v,h.scope),d(y.get("init"))}}}},p=(h,d,f,b)=>{let m=h.exportName;for(let y=b;y!=null;y=y.parent)y.hasOwnBinding(m)&&y.rename(m);return(d||[]).reduce(((y,x)=>{let{stringSpecifiers:v}=h,E=v.has(x);return n.types.assignmentExpression("=",n.types.memberExpression(n.types.identifier(m),E?n.types.stringLiteral(x):n.types.identifier(x),E),y)}),f)},i=h=>n.template.expression.ast`
|
|
(function() {
|
|
throw new Error('"' + '${h}' + '" is read-only.');
|
|
})()
|
|
`,o={ReferencedIdentifier(h){let{seen:d,buildImportReference:f,scope:b,imported:m,requeueInParent:y}=this;if(d.has(h.node))return;d.add(h.node);let x=h.node.name,v=m.get(x);if(v){if((function(_){do switch(_.parent.type){case"TSTypeAnnotation":case"TSTypeAliasDeclaration":case"TSTypeReference":case"TypeAnnotation":case"TypeAlias":return!0;case"ExportSpecifier":return _.parentPath.parent.exportKind==="type";default:if(_.parentPath.isStatement()||_.parentPath.isExpression())return!1}while(_=_.parentPath)})(h))throw h.buildCodeFrameError(`Cannot transform the imported binding "${x}" since it's also used in a type annotation. Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`);let E=h.scope.getBinding(x);if(b.getBinding(x)!==E)return;let S=f(v,h.node);if(S.loc=h.node.loc,(h.parentPath.isCallExpression({callee:h.node})||h.parentPath.isOptionalCallExpression({callee:h.node})||h.parentPath.isTaggedTemplateExpression({tag:h.node}))&&n.types.isMemberExpression(S))h.replaceWith(n.types.sequenceExpression([n.types.numericLiteral(0),S]));else if(h.isJSXIdentifier()&&n.types.isMemberExpression(S)){let{object:_,property:A}=S;h.replaceWith(n.types.jsxMemberExpression(n.types.jsxIdentifier(_.name),n.types.jsxIdentifier(A.name)))}else h.replaceWith(S);y(h),h.skip()}},UpdateExpression(h){let{scope:d,seen:f,imported:b,exported:m,requeueInParent:y,buildImportReference:x}=this;if(f.has(h.node))return;f.add(h.node);let v=h.get("argument");if(v.isMemberExpression())return;let E=h.node;if(v.isIdentifier()){let S=v.node.name;if(d.getBinding(S)!==h.scope.getBinding(S))return;let _=m.get(S),A=b.get(S);if((_==null?void 0:_.length)>0||A)if(A)h.replaceWith(n.types.assignmentExpression(E.operator[0]+"=",x(A,v.node),i(S)));else if(E.prefix)h.replaceWith(p(this.metadata,_,n.types.cloneNode(E),h.scope));else{let L=d.generateDeclaredUidIdentifier(S);h.replaceWith(n.types.sequenceExpression([n.types.assignmentExpression("=",n.types.cloneNode(L),n.types.cloneNode(E)),p(this.metadata,_,n.types.identifier(S),h.scope),n.types.cloneNode(L)]))}}y(h),h.skip()},AssignmentExpression:{exit(h){let{scope:d,seen:f,imported:b,exported:m,requeueInParent:y,buildImportReference:x}=this;if(f.has(h.node))return;f.add(h.node);let v=h.get("left");if(!v.isMemberExpression())if(v.isIdentifier()){let E=v.node.name;if(d.getBinding(E)!==h.scope.getBinding(E))return;let S=m.get(E),_=b.get(E);if((S==null?void 0:S.length)>0||_){let A=h.node;_&&(A.left=x(_,v.node),A.right=n.types.sequenceExpression([A.right,i(E)]));let{operator:L}=A,j;j=L==="="?A:L==="&&="||L==="||="||L==="??="?n.types.assignmentExpression("=",A.left,n.types.logicalExpression(L.slice(0,-1),n.types.cloneNode(A.left),A.right)):n.types.assignmentExpression("=",A.left,n.types.binaryExpression(L.slice(0,-1),n.types.cloneNode(A.left),A.right)),h.replaceWith(p(this.metadata,S,j,h.scope)),y(h),h.skip()}}else{let E=v.getOuterBindingIdentifiers(),S=Object.keys(E).filter((L=>d.getBinding(L)===h.scope.getBinding(L))),_=S.find((L=>b.has(L)));_&&(h.node.right=n.types.sequenceExpression([h.node.right,i(_)]));let A=[];if(S.forEach((L=>{let j=m.get(L)||[];j.length>0&&A.push(p(this.metadata,j,n.types.identifier(L),h.scope))})),A.length>0){let L=n.types.sequenceExpression(A);h.parentPath.isExpressionStatement()&&(L=n.types.expressionStatement(L),L._blockHoist=h.parentPath.node._blockHoist),y(h.insertAfter(L)[0])}}}},ForXStatement(h){let{scope:d,node:f}=h,{left:b}=f,{exported:m,imported:y,scope:x}=this;if(!n.types.isVariableDeclaration(b)){let v,E=!1,S=h.get("body").scope;for(let L of Object.keys(n.types.getOuterBindingIdentifiers(b)))x.getBinding(L)===d.getBinding(L)&&(m.has(L)&&(E=!0,S.hasOwnBinding(L)&&S.rename(L)),y.has(L)&&!v&&(v=L));if(!E&&!v)return;h.ensureBlock();let _=h.get("body"),A=d.generateUidIdentifierBasedOnNode(b);h.get("left").replaceWith(n.types.variableDeclaration("let",[n.types.variableDeclarator(n.types.cloneNode(A))])),d.registerDeclaration(h.get("left")),E&&_.unshiftContainer("body",n.types.expressionStatement(n.types.assignmentExpression("=",b,A))),v&&_.unshiftContainer("body",n.types.expressionStatement(i(v)))}}}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(i){p||(p=c.visitors.environmentVisitor({ThisExpression(o){o.replaceWith(n.types.unaryExpression("void",n.types.numericLiteral(0),!0))}}),p.noScope=!0),(0,c.default)(i.node,p)};var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),c=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js");let p},"./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.25.9/node_modules/@babel/helper-optimise-call-expression/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(b,m,y,x){return y.length===1&&o(y[0])&&i(y[0].argument,{name:"arguments"})?x?d(f(b,p("apply"),!1,!0),[m,y[0].argument],!1):c(h(b,p("apply")),[m,y[0].argument]):x?d(f(b,p("call"),!1,!0),[m,...y],!1):c(h(b,p("call")),[m,...y])};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{callExpression:c,identifier:p,isIdentifier:i,isSpreadElement:o,memberExpression:h,optionalCallExpression:d,optionalMemberExpression:f}=n},"./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.declare=n,e.declarePreset=void 0;let l={assertVersion:p=>i=>{(function(o,h){if(typeof o=="number"){if(!Number.isInteger(o))throw new Error("Expected string or integer value.");o=`^${o}.0.0-0`}if(typeof o!="string")throw new Error("Expected string or integer value.");let d=Error.stackTraceLimit;typeof d=="number"&&d<25&&(Error.stackTraceLimit=25);let f;throw f=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 "${o}", 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 d=="number"&&(Error.stackTraceLimit=d),Object.assign(f,{code:"BABEL_VERSION_UNSUPPORTED",version:h,range:o})})(i,p.version)}};function n(p){return(i,o,h)=>{var d;let f;for(let b of Object.keys(l))i[b]||(f!=null||(f=c(i)),f[b]=l[b](f));return p((d=f)!=null?d:i,o||{},h)}}Object.assign(l,{targets:()=>()=>({}),assumption:()=>()=>{},addExternalDependency:()=>()=>{}}),e.declarePreset=n;function c(p){let i=null;return typeof p.version=="string"&&/^7\./.test(p.version)&&(i=Object.getPrototypeOf(p),!i||hasOwnProperty.call(i,"version")&&hasOwnProperty.call(i,"transform")&&hasOwnProperty.call(i,"template")&&hasOwnProperty.call(i,"types")||(i=null)),Object.assign({},i,p)}},"./node_modules/.pnpm/@babel+helper-replace-supers@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-replace-supers/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.25.9/node_modules/@babel/helper-member-expression-to-functions/lib/index.js"),c=l("./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.25.9/node_modules/@babel/helper-optimise-call-expression/lib/index.js"),p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),i=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js");let{assignmentExpression:o,callExpression:h,cloneNode:d,identifier:f,memberExpression:b,sequenceExpression:m,stringLiteral:y,thisExpression:x}=p.types;e.environmentVisitor=i.visitors.environmentVisitor({}),e.skipAllButComputedKey=function(L){L.skip(),L.node.computed&&L.context.maybeQueue(L.get("key"))};let v=i.visitors.environmentVisitor({Super(L,j){let{node:F,parentPath:k}=L;k.isMemberExpression({object:F})&&j.handle(k)}}),E=i.visitors.environmentVisitor({Scopable(L,{refName:j}){let F=L.scope.getOwnBinding(j);F&&F.identifier.name===j&&L.scope.rename(j)}}),S={memoise(L,j){let{scope:F,node:k}=L,{computed:U,property:z}=k;if(!U)return;let C=F.maybeGenerateMemoised(z);C&&this.memoiser.set(z,C,j)},prop(L){let{computed:j,property:F}=L.node;return this.memoiser.has(F)?d(this.memoiser.get(F)):j?d(F):y(F.name)},_getPrototypeOfExpression(){let L=d(this.getObjectRef()),j=this.isStatic||this.isPrivateMethod?L:b(L,f("prototype"));return h(this.file.addHelper("getPrototypeOf"),[j])},get(L){let j=d(this.getObjectRef());return h(this.file.addHelper("superPropGet"),[this.isDerivedConstructor?m([x(),j]):j,this.prop(L),x(),...this.isStatic||this.isPrivateMethod?[]:[p.types.numericLiteral(1)]])},_call(L,j,F){let k=d(this.getObjectRef()),U;U=j.length===1&&p.types.isSpreadElement(j[0])&&(p.types.isIdentifier(j[0].argument)||p.types.isArrayExpression(j[0].argument))?j[0].argument:p.types.arrayExpression(j);let z=p.types.callExpression(this.file.addHelper("superPropGet"),[this.isDerivedConstructor?m([x(),k]):k,this.prop(L),x(),p.types.numericLiteral(2|(this.isStatic||this.isPrivateMethod?0:1))]);return F?p.types.optionalCallExpression(z,[U],!0):h(z,[U])},set(L,j){let F=d(this.getObjectRef());return h(this.file.addHelper("superPropSet"),[this.isDerivedConstructor?m([x(),F]):F,this.prop(L),j,x(),p.types.numericLiteral(L.isInStrictMode()?1:0),...this.isStatic||this.isPrivateMethod?[]:[p.types.numericLiteral(1)]])},destructureSet(L){throw L.buildCodeFrameError("Destructuring to a super field is not supported yet.")},call(L,j){return this._call(L,j,!1)},optionalCall(L,j){return this._call(L,j,!0)},delete(L){return L.node.computed?m([h(this.file.addHelper("toPropertyKey"),[d(L.node.property)]),p.template.expression.ast`
|
|
function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
|
|
`]):p.template.expression.ast`
|
|
function () { throw new ReferenceError("'delete super.prop' is invalid"); }()
|
|
`}},_={memoise(L,j){let{scope:F,node:k}=L,{computed:U,property:z}=k;if(!U)return;let C=F.maybeGenerateMemoised(z);C&&this.memoiser.set(z,C,j)},prop(L){let{computed:j,property:F}=L.node;return this.memoiser.has(F)?d(this.memoiser.get(F)):j?d(F):y(F.name)},_getPrototypeOfExpression(){let L=d(this.getObjectRef()),j=this.isStatic||this.isPrivateMethod?L:b(L,f("prototype"));return h(this.file.addHelper("getPrototypeOf"),[j])},get(L){return this._get(L)},_get(L){let j=this._getPrototypeOfExpression();return h(this.file.addHelper("get"),[this.isDerivedConstructor?m([x(),j]):j,this.prop(L),x()])},set(L,j){let F=this._getPrototypeOfExpression();return h(this.file.addHelper("set"),[this.isDerivedConstructor?m([x(),F]):F,this.prop(L),j,x(),p.types.booleanLiteral(L.isInStrictMode())])},destructureSet(L){throw L.buildCodeFrameError("Destructuring to a super field is not supported yet.")},call(L,j){return(0,c.default)(this._get(L),x(),j,!1)},optionalCall(L,j){return(0,c.default)(this._get(L),d(x()),j,!0)},delete(L){return L.node.computed?m([h(this.file.addHelper("toPropertyKey"),[d(L.node.property)]),p.template.expression.ast`
|
|
function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
|
|
`]):p.template.expression.ast`
|
|
function () { throw new ReferenceError("'delete super.prop' is invalid"); }()
|
|
`}},A=Object.assign({},S,{prop(L){let{property:j}=L.node;return this.memoiser.has(j)?d(this.memoiser.get(j)):d(j)},get(L){let{isStatic:j,getSuperRef:F}=this,{computed:k}=L.node,U=this.prop(L),z;var C,R;return j?z=(C=F())!=null?C:b(f("Function"),f("prototype")):z=b((R=F())!=null?R:f("Object"),f("prototype")),b(z,U,k)},set(L,j){let{computed:F}=L.node,k=this.prop(L);return o("=",b(x(),k,F),j)},destructureSet(L){let{computed:j}=L.node,F=this.prop(L);return b(x(),F,j)},call(L,j){return(0,c.default)(this.get(L),x(),j,!1)},optionalCall(L,j){return(0,c.default)(this.get(L),x(),j,!0)}});e.default=class{constructor(L){var j;let F=L.methodPath;this.methodPath=F,this.isDerivedConstructor=F.isClassMethod({kind:"constructor"})&&!!L.superRef,this.isStatic=F.isObjectMethod()||F.node.static||(F.isStaticBlock==null?void 0:F.isStaticBlock()),this.isPrivateMethod=F.isPrivate()&&F.isMethod(),this.file=L.file,this.constantSuper=(j=L.constantSuper)!=null?j:L.isLoose,this.opts=L}getObjectRef(){return d(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){return this.opts.superRef?d(this.opts.superRef):this.opts.getSuperRef?d(this.opts.getSuperRef()):void 0}replace(){let{methodPath:L}=this;this.opts.refToPreserve&&L.traverse(E,{refName:this.opts.refToPreserve.name});let j=this.constantSuper?A:this.file.availableHelper("superPropSet")?S:_;v.shouldSkip=F=>{if(F.parentPath===L&&(F.parentKey==="decorators"||F.parentKey==="key"))return!0},(0,n.default)(L,v,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:j.get},j))}}},"./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.25.9/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isTransparentExprWrapper=f,e.skipTransparentExprWrapperNodes=function(b){for(;f(b);)b=b.expression;return b},e.skipTransparentExprWrappers=function(b){for(;f(b.node);)b=b.get("expression");return b};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{isParenthesizedExpression:c,isTSAsExpression:p,isTSNonNullExpression:i,isTSSatisfiesExpression:o,isTSTypeAssertion:h,isTypeCastExpression:d}=n;function f(b){return p(b)||o(b)||h(b)||i(b)||d(b)||c(b)}},"./node_modules/.pnpm/@babel+helper-string-parser@7.25.9/node_modules/@babel/helper-string-parser/lib/index.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.readCodePoint=d,e.readInt=h,e.readStringContents=function(f,b,m,y,x,v){let E=m,S=y,_=x,A="",L=null,j=m,{length:F}=b;for(;;){if(m>=F){v.unterminated(E,S,_),A+=b.slice(j,m);break}let k=b.charCodeAt(m);if(p(f,k,b,m)){A+=b.slice(j,m);break}if(k===92){A+=b.slice(j,m);let U=i(b,m,y,x,f==="template",v);U.ch!==null||L?A+=U.ch:L={pos:m,lineStart:y,curLine:x},{pos:m,lineStart:y,curLine:x}=U,j=m}else k===8232||k===8233?(++x,y=++m):k===10||k===13?f==="template"?(A+=b.slice(j,m)+`
|
|
`,++m,k===13&&b.charCodeAt(m)===10&&++m,++x,j=y=m):v.unterminated(E,S,_):++m}return{pos:m,str:A,firstInvalidLoc:L,lineStart:y,curLine:x,containsInvalid:!!L}};var l=function(f){return f>=48&&f<=57};let n={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},c={bin:f=>f===48||f===49,oct:f=>f>=48&&f<=55,dec:f=>f>=48&&f<=57,hex:f=>f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102};function p(f,b,m,y){return f==="template"?b===96||b===36&&m.charCodeAt(y+1)===123:b===(f==="double"?34:39)}function i(f,b,m,y,x,v){let E=!x;b++;let S=A=>({pos:b,ch:A,lineStart:m,curLine:y}),_=f.charCodeAt(b++);switch(_){case 110:return S(`
|
|
`);case 114:return S("\r");case 120:{let A;return{code:A,pos:b}=o(f,b,m,y,2,!1,E,v),S(A===null?null:String.fromCharCode(A))}case 117:{let A;return{code:A,pos:b}=d(f,b,m,y,E,v),S(A===null?null:String.fromCodePoint(A))}case 116:return S(" ");case 98:return S("\b");case 118:return S("\v");case 102:return S("\f");case 13:f.charCodeAt(b)===10&&++b;case 10:m=b,++y;case 8232:case 8233:return S("");case 56:case 57:if(x)return S(null);v.strictNumericEscape(b-1,m,y);default:if(_>=48&&_<=55){let A=b-1,L=/^[0-7]+/.exec(f.slice(A,b+2))[0],j=parseInt(L,8);j>255&&(L=L.slice(0,-1),j=parseInt(L,8)),b+=L.length-1;let F=f.charCodeAt(b);if(L!=="0"||F===56||F===57){if(x)return S(null);v.strictNumericEscape(A,m,y)}return S(String.fromCharCode(j))}return S(String.fromCharCode(_))}}function o(f,b,m,y,x,v,E,S){let _=b,A;return{n:A,pos:b}=h(f,b,m,y,16,x,v,!1,S,!E),A===null&&(E?S.invalidEscapeSequence(_,m,y):b=_-1),{code:A,pos:b}}function h(f,b,m,y,x,v,E,S,_,A){let L=b,j=x===16?n.hex:n.decBinOct,F=x===16?c.hex:x===10?c.dec:x===8?c.oct:c.bin,k=!1,U=0;for(let z=0,C=v??1/0;z<C;++z){let R=f.charCodeAt(b),G;if(R!==95||S==="bail"){if(G=R>=97?R-97+10:R>=65?R-65+10:l(R)?R-48:1/0,G>=x){if(G<=9&&A)return{n:null,pos:b};if(G<=9&&_.invalidDigit(b,m,y,x))G=0;else{if(!E)break;G=0,k=!0}}++b,U=U*x+G}else{let V=f.charCodeAt(b-1),B=f.charCodeAt(b+1);if(S){if(Number.isNaN(B)||!F(B)||j.has(V)||j.has(B)){if(A)return{n:null,pos:b};_.unexpectedNumericSeparator(b,m,y)}}else{if(A)return{n:null,pos:b};_.numericSeparatorInEscapeSequence(b,m,y)}++b}}return b===L||v!=null&&b-L!==v||k?{n:null,pos:b}:{n:U,pos:b}}function d(f,b,m,y,x,v){let E;if(f.charCodeAt(b)===123){if(++b,{code:E,pos:b}=o(f,b,m,y,f.indexOf("}",b)-b,!0,x,v),++b,E!==null&&E>1114111){if(!x)return{code:null,pos:b};v.invalidCodePoint(b,m,y)}}else({code:E,pos:b}=o(f,b,m,y,4,!1,x,v));return{code:E,pos:b}}},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.25.9/node_modules/@babel/helper-validator-identifier/lib/identifier.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIdentifierChar=f,e.isIdentifierName=function(b){let m=!0;for(let y=0;y<b.length;y++){let x=b.charCodeAt(y);if((64512&x)==55296&&y+1<b.length){let v=b.charCodeAt(++y);(64512&v)==56320&&(x=65536+((1023&x)<<10)+(1023&v))}if(m){if(m=!1,!d(x))return!1}else if(!f(x))return!1}return!m},e.isIdentifierStart=d;let l="\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-\u1C8A\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-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\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",n="\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\u0897-\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\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\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\uFF65",c=new RegExp("["+l+"]"),p=new RegExp("["+l+n+"]");l=n=null;let i=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,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,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,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,229,29,3,0,496,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,16,621,2467,541,1507,4938,6,4191],o=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function h(b,m){let y=65536;for(let x=0,v=m.length;x<v;x+=2){if(y+=m[x],y>b)return!1;if(y+=m[x+1],y>=b)return!0}return!1}function d(b){return b<65?b===36:b<=90||(b<97?b===95:b<=122||(b<=65535?b>=170&&c.test(String.fromCharCode(b)):h(b,i)))}function f(b){return b<48?b===36:b<58||!(b<65)&&(b<=90||(b<97?b===95:b<=122||(b<=65535?b>=170&&p.test(String.fromCharCode(b)):h(b,i)||h(b,o))))}},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.25.9/node_modules/@babel/helper-validator-identifier/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isIdentifierChar",{enumerable:!0,get:function(){return n.isIdentifierChar}}),Object.defineProperty(e,"isIdentifierName",{enumerable:!0,get:function(){return n.isIdentifierName}}),Object.defineProperty(e,"isIdentifierStart",{enumerable:!0,get:function(){return n.isIdentifierStart}}),Object.defineProperty(e,"isKeyword",{enumerable:!0,get:function(){return c.isKeyword}}),Object.defineProperty(e,"isReservedWord",{enumerable:!0,get:function(){return c.isReservedWord}}),Object.defineProperty(e,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return c.isStrictBindOnlyReservedWord}}),Object.defineProperty(e,"isStrictBindReservedWord",{enumerable:!0,get:function(){return c.isStrictBindReservedWord}}),Object.defineProperty(e,"isStrictReservedWord",{enumerable:!0,get:function(){return c.isStrictReservedWord}});var n=l("./node_modules/.pnpm/@babel+helper-validator-identifier@7.25.9/node_modules/@babel/helper-validator-identifier/lib/identifier.js"),c=l("./node_modules/.pnpm/@babel+helper-validator-identifier@7.25.9/node_modules/@babel/helper-validator-identifier/lib/keyword.js")},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.25.9/node_modules/@babel/helper-validator-identifier/lib/keyword.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isKeyword=function(f){return c.has(f)},e.isReservedWord=o,e.isStrictBindOnlyReservedWord=d,e.isStrictBindReservedWord=function(f,b){return h(f,b)||d(f)},e.isStrictReservedWord=h;let l=["implements","interface","let","package","private","protected","public","static","yield"],n=["eval","arguments"],c=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"]),p=new Set(l),i=new Set(n);function o(f,b){return b&&f==="await"||f==="enum"}function h(f,b){return o(f,b)||p.has(f)}function d(f){return i.has(f)}},"./node_modules/.pnpm/@babel+helper-validator-option@7.25.9/node_modules/@babel/helper-validator-option/lib/find-suggestion.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findSuggestion=function(n,c){let p=c.map((i=>(function(o,h){let d,f,b=[],m=[],y=o.length,x=h.length;if(!y)return x;if(!x)return y;for(f=0;f<=x;f++)b[f]=f;for(d=1;d<=y;d++){for(m=[d],f=1;f<=x;f++)m[f]=o[d-1]===h[f-1]?b[f-1]:l(b[f-1],b[f],m[f-1])+1;b=m}return m[x]})(i,n)));return c[p.indexOf(l(...p))]};let{min:l}=Math},"./node_modules/.pnpm/@babel+helper-validator-option@7.25.9/node_modules/@babel/helper-validator-option/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"OptionValidator",{enumerable:!0,get:function(){return n.OptionValidator}}),Object.defineProperty(e,"findSuggestion",{enumerable:!0,get:function(){return c.findSuggestion}});var n=l("./node_modules/.pnpm/@babel+helper-validator-option@7.25.9/node_modules/@babel/helper-validator-option/lib/validator.js"),c=l("./node_modules/.pnpm/@babel+helper-validator-option@7.25.9/node_modules/@babel/helper-validator-option/lib/find-suggestion.js")},"./node_modules/.pnpm/@babel+helper-validator-option@7.25.9/node_modules/@babel/helper-validator-option/lib/validator.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OptionValidator=void 0;var n=l("./node_modules/.pnpm/@babel+helper-validator-option@7.25.9/node_modules/@babel/helper-validator-option/lib/find-suggestion.js");e.OptionValidator=class{constructor(c){this.descriptor=c}validateTopLevelOptions(c,p){let i=Object.keys(p);for(let o of Object.keys(c))if(!i.includes(o))throw new Error(this.formatMessage(`'${o}' is not a valid top-level option.
|
|
- Did you mean '${(0,n.findSuggestion)(o,i)}'?`))}validateBooleanOption(c,p,i){return p===void 0?i:(this.invariant(typeof p=="boolean",`'${c}' option must be a boolean.`),p)}validateStringOption(c,p,i){return p===void 0?i:(this.invariant(typeof p=="string",`'${c}' option must be a string.`),p)}invariant(c,p){if(!c)throw new Error(this.formatMessage(p))}formatMessage(c){return`${this.descriptor}: ${c}`}}},"./node_modules/.pnpm/@babel+helpers@7.26.0/node_modules/@babel/helpers/lib/helpers-generated.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/index.js");function c(i,o,h){return Object.freeze({minVersion:i,ast:()=>n.default.program.ast(o,{preserveComments:!0}),metadata:h})}let p=e.default={__proto__:null,OverloadYield:c("7.18.14","function _OverloadYield(e,d){this.v=e,this.k=d}",{globals:[],locals:{_OverloadYield:["body.0.id"]},exportBindingAssignments:[],exportName:"_OverloadYield",dependencies:{}}),applyDecoratedDescriptor:c("7.0.0-beta.0",'function _applyDecoratedDescriptor(i,e,r,n,l){var a={};return Object.keys(n).forEach((function(i){a[i]=n[i]})),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce((function(r,n){return n(i,e,r)||r}),a),l&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(l):void 0,a.initializer=void 0),void 0===a.initializer?(Object.defineProperty(i,e,a),null):a}',{globals:["Object"],locals:{_applyDecoratedDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_applyDecoratedDescriptor",dependencies:{}}),applyDecs2311:c("7.24.0",'function applyDecs2311(e,t,n,r,o,i){var a,c,u,s,f,l,p,d=Symbol.metadata||Symbol.for("Symbol.metadata"),m=Object.defineProperty,h=Object.create,y=[h(null),h(null)],v=t.length;function g(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function b(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function applyDec(e,t,n,r,o,i,u,s,f,l,p){function d(e){if(!p(e))throw new TypeError("Attempted to access private element on non-instance")}var h=[].concat(t[0]),v=t[3],w=!u,D=1===o,S=3===o,j=4===o,E=2===o;function I(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),P[t].call(o,i)}}if(!w){var P={},k=[],F=S?"get":j||D?"set":"value";if(f?(l||D?P={get:setFunctionName((function(){return v(this)}),r,"get"),set:function(e){t[4](this,e)}}:P[F]=v,l||setFunctionName(P[F],r,E?"":F)):l||(P=Object.getOwnPropertyDescriptor(e,r)),!l&&!f){if((c=y[+s][r])&&7!=(c^o))throw Error("Decorating two elements with the same name ("+P[F].name+") is not supported yet");y[+s][r]=o<3?1:o}}for(var N=e,O=h.length-1;O>=0;O-=n?2:1){var T=b(h[O],"A decorator","be",!0),z=n?h[O-1]:void 0,A={},H={kind:["field","accessor","method","getter","setter","class"][o],name:r,metadata:a,addInitializer:function(e,t){if(e.v)throw new TypeError("attempted to call addInitializer after decoration was finished");b(t,"An initializer","be",!0),i.push(t)}.bind(null,A)};if(w)c=T.call(z,N,H),A.v=1,b(c,"class decorators","return")&&(N=c);else if(H.static=s,H.private=f,c=H.access={has:f?p.bind():function(e){return r in e}},j||(c.get=f?E?function(e){return d(e),P.value}:I("get",0,d):function(e){return e[r]}),E||S||(c.set=f?I("set",0,d):function(e,t){e[r]=t}),N=T.call(z,D?{get:P.get,set:P.set}:P[F],H),A.v=1,D){if("object"==typeof N&&N)(c=b(N.get,"accessor.get"))&&(P.get=c),(c=b(N.set,"accessor.set"))&&(P.set=c),(c=b(N.init,"accessor.init"))&&k.unshift(c);else if(void 0!==N)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else b(N,(l?"field":"method")+" decorators","return")&&(l?k.unshift(N):P[F]=N)}return o<2&&u.push(g(k,s,1),g(i,s,0)),l||w||(f?D?u.splice(-1,0,I("get",s),I("set",s)):u.push(E?P[F]:b.call.bind(P[F])):m(e,r,P)),N}function w(e){return m(e,d,{configurable:!0,enumerable:!0,value:a})}return void 0!==i&&(a=i[d]),a=h(null==a?null:a),f=[],l=function(e){e&&f.push(g(e))},p=function(t,r){for(var i=0;i<n.length;i++){var a=n[i],c=a[1],l=7&c;if((8&c)==t&&!l==r){var p=a[2],d=!!a[3],m=16&c;applyDec(t?e:e.prototype,a,m,d?"#"+p:toPropertyKey(p),l,l<2?[]:t?s=s||[]:u=u||[],f,!!t,d,r,t&&d?function(t){return checkInRHS(t)===e}:o)}}},p(8,0),p(0,0),p(8,1),p(0,1),l(u),l(s),c=f,v||w(e),{e:c,get c(){var n=[];return v&&[w(e=applyDec(e,[t],r,e.name,5,n)),g(n,1)]}}}',{globals:["Symbol","Object","TypeError","Error"],locals:{applyDecs2311:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2311",dependencies:{checkInRHS:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.10.consequent.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.3.alternate.callee"]}}),arrayLikeToArray:c("7.9.0","function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}",{globals:["Array"],locals:{_arrayLikeToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayLikeToArray",dependencies:{}}),arrayWithHoles:c("7.0.0-beta.0","function _arrayWithHoles(r){if(Array.isArray(r))return r}",{globals:["Array"],locals:{_arrayWithHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithHoles",dependencies:{}}),arrayWithoutHoles:c("7.0.0-beta.0","function _arrayWithoutHoles(r){if(Array.isArray(r))return arrayLikeToArray(r)}",{globals:["Array"],locals:{_arrayWithoutHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithoutHoles",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.argument.callee"]}}),assertClassBrand:c("7.24.0",'function _assertClassBrand(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}',{globals:["TypeError"],locals:{_assertClassBrand:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertClassBrand",dependencies:{}}),assertThisInitialized:c("7.0.0-beta.0",`function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}`,{globals:["ReferenceError"],locals:{_assertThisInitialized:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertThisInitialized",dependencies:{}}),asyncGeneratorDelegate:c("7.0.0-beta.0",'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}',{globals:["Promise","Symbol"],locals:{_asyncGeneratorDelegate:["body.0.id"]},exportBindingAssignments:[],exportName:"_asyncGeneratorDelegate",dependencies:{OverloadYield:["body.0.body.body.1.body.body.0.argument.expressions.2.properties.1.value.callee"]}}),asyncIterator:c("7.15.9",'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)}',{globals:["Symbol","TypeError","Object","Promise"],locals:{_asyncIterator:["body.0.id"],AsyncFromSyncIterator:["body.1.id","body.0.body.body.1.body.body.1.consequent.argument.callee","body.1.body.body.1.argument.expressions.1.left.object","body.1.body.body.1.argument.expressions.2.callee","body.1.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:[],exportName:"_asyncIterator",dependencies:{}}),asyncToGenerator:c("7.0.0-beta.0",'function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise((function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)}))}}',{globals:["Promise"],locals:{asyncGeneratorStep:["body.0.id","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.1.body.body.0.expression.callee","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.2.body.body.0.expression.callee"],_asyncToGenerator:["body.1.id"]},exportBindingAssignments:[],exportName:"_asyncToGenerator",dependencies:{}}),awaitAsyncGenerator:c("7.0.0-beta.0","function _awaitAsyncGenerator(e){return new OverloadYield(e,0)}",{globals:[],locals:{_awaitAsyncGenerator:["body.0.id"]},exportBindingAssignments:[],exportName:"_awaitAsyncGenerator",dependencies:{OverloadYield:["body.0.body.body.0.argument.callee"]}}),callSuper:c("7.23.8","function _callSuper(t,o,e){return o=getPrototypeOf(o),possibleConstructorReturn(t,isNativeReflectConstruct()?Reflect.construct(o,e||[],getPrototypeOf(t).constructor):o.apply(t,e))}",{globals:["Reflect"],locals:{_callSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_callSuper",dependencies:{getPrototypeOf:["body.0.body.body.0.argument.expressions.0.right.callee","body.0.body.body.0.argument.expressions.1.arguments.1.consequent.arguments.2.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.argument.expressions.1.arguments.1.test.callee"],possibleConstructorReturn:["body.0.body.body.0.argument.expressions.1.callee"]}}),checkInRHS:c("7.20.5",`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}`,{globals:["Object","TypeError"],locals:{_checkInRHS:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkInRHS",dependencies:{}}),checkPrivateRedeclaration:c("7.14.1",'function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}',{globals:["TypeError"],locals:{_checkPrivateRedeclaration:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkPrivateRedeclaration",dependencies:{}}),classCallCheck:c("7.0.0-beta.0",'function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}',{globals:["TypeError"],locals:{_classCallCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCallCheck",dependencies:{}}),classNameTDZError:c("7.0.0-beta.0",`function _classNameTDZError(e){throw new ReferenceError('Class "'+e+'" cannot be referenced in computed property keys.')}`,{globals:["ReferenceError"],locals:{_classNameTDZError:["body.0.id"]},exportBindingAssignments:[],exportName:"_classNameTDZError",dependencies:{}}),classPrivateFieldGet2:c("7.24.0","function _classPrivateFieldGet2(s,a){return s.get(assertClassBrand(s,a))}",{globals:[],locals:{_classPrivateFieldGet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]}}),classPrivateFieldInitSpec:c("7.14.1","function _classPrivateFieldInitSpec(e,t,a){checkPrivateRedeclaration(e,t),t.set(e,a)}",{globals:[],locals:{_classPrivateFieldInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]}}),classPrivateFieldLooseBase:c("7.0.0-beta.0",'function _classPrivateFieldBase(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}',{globals:["TypeError"],locals:{_classPrivateFieldBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldBase",dependencies:{}}),classPrivateFieldLooseKey:c("7.0.0-beta.0",'var id=0;function _classPrivateFieldKey(e){return"__private_"+id+++"_"+e}',{globals:[],locals:{id:["body.0.declarations.0.id","body.1.body.body.0.argument.left.left.right.argument","body.1.body.body.0.argument.left.left.right.argument"],_classPrivateFieldKey:["body.1.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldKey",dependencies:{}}),classPrivateFieldSet2:c("7.24.0","function _classPrivateFieldSet2(s,a,r){return s.set(assertClassBrand(s,a),r),r}",{globals:[],locals:{_classPrivateFieldSet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]}}),classPrivateGetter:c("7.24.0","function _classPrivateGetter(s,r,a){return a(assertClassBrand(s,r))}",{globals:[],locals:{_classPrivateGetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateGetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]}}),classPrivateMethodInitSpec:c("7.14.1","function _classPrivateMethodInitSpec(e,a){checkPrivateRedeclaration(e,a),a.add(e)}",{globals:[],locals:{_classPrivateMethodInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]}}),classPrivateSetter:c("7.24.0","function _classPrivateSetter(s,r,a,t){return r(assertClassBrand(s,a),t),t}",{globals:[],locals:{_classPrivateSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateSetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]}}),classStaticPrivateMethodGet:c("7.3.2","function _classStaticPrivateMethodGet(s,a,t){return assertClassBrand(a,s),t}",{globals:[],locals:{_classStaticPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]}}),construct:c("7.0.0-beta.0","function _construct(t,e,r){if(isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o));return r&&setPrototypeOf(p,r.prototype),p}",{globals:["Reflect"],locals:{_construct:["body.0.id"]},exportBindingAssignments:[],exportName:"_construct",dependencies:{isNativeReflectConstruct:["body.0.body.body.0.test.callee"],setPrototypeOf:["body.0.body.body.4.argument.expressions.0.right.callee"]}}),createClass:c("7.0.0-beta.0",'function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,toPropertyKey(o.key),o)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}',{globals:["Object"],locals:{_defineProperties:["body.0.id","body.1.body.body.0.argument.expressions.0.right.callee","body.1.body.body.0.argument.expressions.1.right.callee"],_createClass:["body.1.id"]},exportBindingAssignments:[],exportName:"_createClass",dependencies:{toPropertyKey:["body.0.body.body.0.body.body.1.expression.expressions.3.arguments.1.callee"]}}),createForOfIteratorHelper:c("7.9.0",'function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var n=0,F=function(){};return{s:F,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(r){throw r},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 o,a=!0,u=!1;return{s:function(){t=t.call(r)},n:function(){var r=t.next();return a=r.done,r},e:function(r){u=!0,o=r},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelper",dependencies:{unsupportedIterableToArray:["body.0.body.body.1.consequent.body.0.test.left.right.right.callee"]}}),createForOfIteratorHelperLoose:c("7.9.0",'function _createForOfIteratorHelperLoose(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(t)return(t=t.call(r)).next.bind(t);if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var o=0;return function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelperLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelperLoose",dependencies:{unsupportedIterableToArray:["body.0.body.body.2.test.left.right.right.callee"]}}),createSuper:c("7.9.0","function _createSuper(t){var r=isNativeReflectConstruct();return function(){var e,o=getPrototypeOf(t);if(r){var s=getPrototypeOf(this).constructor;e=Reflect.construct(o,arguments,s)}else e=o.apply(this,arguments);return possibleConstructorReturn(this,e)}}",{globals:["Reflect"],locals:{_createSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.body.body.0.declarations.1.init.callee","body.0.body.body.1.argument.body.body.1.consequent.body.0.declarations.0.init.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.declarations.0.init.callee"],possibleConstructorReturn:["body.0.body.body.1.argument.body.body.2.argument.callee"]}}),decorate:c("7.1.5",`function _decorate(e,r,t,i){var o=_getDecoratorsApi();if(i)for(var n=0;n<i.length;n++)o=i[n](o);var s=r((function(e){o.initializeInstanceElements(e,a.elements)}),t),a=o.decorateClass(_coalesceClassElements(s.d.map(_createElementDescriptor)),e);return o.initializeClassElements(s.F,a.elements),o.runClassFinishers(s.F,a.finishers)}function _getDecoratorsApi(){_getDecoratorsApi=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach((function(t){r.forEach((function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)}),this)}),this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach((function(i){r.forEach((function(r){var o=r.placement;if(r.kind===i&&("static"===o||"prototype"===o)){var n="static"===o?e:t;this.defineClassElement(n,r)}}),this)}),this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],o={static:[],prototype:[],own:[]};if(e.forEach((function(e){this.addElementPlacement(e,o)}),this),e.forEach((function(e){if(!_hasDecorators(e))return t.push(e);var r=this.decorateElement(e,o);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)}),this),!r)return{elements:t,finishers:i};var n=this.decorateConstructor(t,r);return i.push.apply(i,n.finishers),n.finishers=i,n},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],o=e.decorators,n=o.length-1;n>=0;n--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,o[n])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var p=0;p<c.length;p++)this.addElementPlacement(c[p],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var o=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,r[i])(o)||o);if(void 0!==n.finisher&&t.push(n.finisher),void 0!==n.elements){e=n.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){if(void 0!==e)return toArray(e).map((function(e){var r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r}),this)},toElementDescriptor:function(e){var r=e.kind+"";if("method"!==r&&"field"!==r)throw new TypeError('An element descriptor\\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+r+'"');var t=toPropertyKey(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)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 "'+i+'"');var o=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:r,key:t,placement:i,descriptor:Object.assign({},o)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(o,"get","The property descriptor of a field descriptor"),this.disallowProperty(o,"set","The property descriptor of a field descriptor"),this.disallowProperty(o,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:_optionalCallableProperty(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=e.kind+"";if("class"!==r)throw new TypeError('A class descriptor\\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+r+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var t=_optionalCallableProperty(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can't have a ."+r+" property.")}};return e}function _createElementDescriptor(e){var r,t=toPropertyKey(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function _coalesceGetterSetter(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function _coalesceClassElements(e){for(var r=[],isSameElement=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},t=0;t<e.length;t++){var i,o=e[t];if("method"===o.kind&&(i=r.find(isSameElement)))if(_isDataDescriptor(o.descriptor)||_isDataDescriptor(i.descriptor)){if(_hasDecorators(o)||_hasDecorators(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(_hasDecorators(o)){if(_hasDecorators(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}_coalesceGetterSetter(o,i)}else r.push(o)}return r}function _hasDecorators(e){return e.decorators&&e.decorators.length}function _isDataDescriptor(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function _optionalCallableProperty(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected '"+r+"' to be a function");return t}`,{globals:["Object","TypeError","Symbol","ReferenceError"],locals:{_decorate:["body.0.id"],_getDecoratorsApi:["body.1.id","body.0.body.body.0.declarations.0.init.callee","body.1.body.body.0.expression.left"],_createElementDescriptor:["body.2.id","body.0.body.body.2.declarations.1.init.arguments.0.arguments.0.arguments.0"],_coalesceGetterSetter:["body.3.id","body.4.body.body.0.body.body.1.consequent.alternate.body.1.expression.callee"],_coalesceClassElements:["body.4.id","body.0.body.body.2.declarations.1.init.arguments.0.callee"],_hasDecorators:["body.5.id","body.1.body.body.1.declarations.0.init.properties.4.value.body.body.1.test.expressions.1.arguments.0.body.body.0.test.argument.callee","body.4.body.body.0.body.body.1.consequent.consequent.body.0.test.left.callee","body.4.body.body.0.body.body.1.consequent.consequent.body.0.test.right.callee","body.4.body.body.0.body.body.1.consequent.alternate.body.0.test.callee","body.4.body.body.0.body.body.1.consequent.alternate.body.0.consequent.body.0.test.callee"],_isDataDescriptor:["body.6.id","body.4.body.body.0.body.body.1.consequent.test.left.callee","body.4.body.body.0.body.body.1.consequent.test.right.callee"],_optionalCallableProperty:["body.7.id","body.1.body.body.1.declarations.0.init.properties.11.value.body.body.0.argument.properties.1.value.callee","body.1.body.body.1.declarations.0.init.properties.13.value.body.body.3.declarations.0.init.callee"]},exportBindingAssignments:[],exportName:"_decorate",dependencies:{toArray:["body.1.body.body.1.declarations.0.init.properties.9.value.body.body.0.consequent.argument.callee.object.callee"],toPropertyKey:["body.1.body.body.1.declarations.0.init.properties.10.value.body.body.2.declarations.0.init.callee","body.2.body.body.0.declarations.1.init.callee"]}}),defaults:c("7.0.0-beta.0","function _defaults(e,r){for(var t=Object.getOwnPropertyNames(r),o=0;o<t.length;o++){var n=t[o],a=Object.getOwnPropertyDescriptor(r,n);a&&a.configurable&&void 0===e[n]&&Object.defineProperty(e,n,a)}return e}",{globals:["Object"],locals:{_defaults:["body.0.id"]},exportBindingAssignments:[],exportName:"_defaults",dependencies:{}}),defineAccessor:c("7.20.7","function _defineAccessor(e,r,n,t){var c={configurable:!0,enumerable:!0};return c[e]=t,Object.defineProperty(r,n,c)}",{globals:["Object"],locals:{_defineAccessor:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineAccessor",dependencies:{}}),defineProperty:c("7.0.0-beta.0","function _defineProperty(e,r,t){return(r=toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}",{globals:["Object"],locals:{_defineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineProperty",dependencies:{toPropertyKey:["body.0.body.body.0.argument.expressions.0.test.left.right.callee"]}}),extends:c("7.0.0-beta.0","function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}",{globals:["Object"],locals:{_extends:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_extends",dependencies:{}}),get:c("7.0.0-beta.0",'function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},_get.apply(null,arguments)}',{globals:["Reflect","Object"],locals:{_get:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_get",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.0.init.callee"]}}),getPrototypeOf:c("7.0.0-beta.0","function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}",{globals:["Object"],locals:{_getPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_getPrototypeOf",dependencies:{}}),identity:c("7.17.0","function _identity(t){return t}",{globals:[],locals:{_identity:["body.0.id"]},exportBindingAssignments:[],exportName:"_identity",dependencies:{}}),importDeferProxy:c("7.23.0","function _importDeferProxy(e){var t=null,constValue=function(e){return function(){return e}},proxy=function(r){return function(n,o,f){return null===t&&(t=e()),r(t,o,f)}};return new Proxy({},{defineProperty:constValue(!1),deleteProperty:constValue(!1),get:proxy(Reflect.get),getOwnPropertyDescriptor:proxy(Reflect.getOwnPropertyDescriptor),getPrototypeOf:constValue(null),isExtensible:constValue(!1),has:proxy(Reflect.has),ownKeys:proxy(Reflect.ownKeys),preventExtensions:constValue(!0),set:constValue(!1),setPrototypeOf:constValue(!1)})}",{globals:["Proxy","Reflect"],locals:{_importDeferProxy:["body.0.id"]},exportBindingAssignments:[],exportName:"_importDeferProxy",dependencies:{}}),inherits:c("7.0.0-beta.0",'function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&setPrototypeOf(t,e)}',{globals:["TypeError","Object"],locals:{_inherits:["body.0.id"]},exportBindingAssignments:[],exportName:"_inherits",dependencies:{setPrototypeOf:["body.0.body.body.1.expression.expressions.2.right.callee"]}}),inheritsLoose:c("7.0.0-beta.0","function _inheritsLoose(t,o){t.prototype=Object.create(o.prototype),t.prototype.constructor=t,setPrototypeOf(t,o)}",{globals:["Object"],locals:{_inheritsLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_inheritsLoose",dependencies:{setPrototypeOf:["body.0.body.body.0.expression.expressions.2.callee"]}}),initializerDefineProperty:c("7.0.0-beta.0","function _initializerDefineProperty(e,i,r,l){r&&Object.defineProperty(e,i,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(l):void 0})}",{globals:["Object"],locals:{_initializerDefineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerDefineProperty",dependencies:{}}),initializerWarningHelper:c("7.0.0-beta.0",'function _initializerWarningHelper(r,e){throw Error("Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.")}',{globals:["Error"],locals:{_initializerWarningHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerWarningHelper",dependencies:{}}),instanceof:c("7.0.0-beta.0",'function _instanceof(n,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](n):n instanceof e}',{globals:["Symbol"],locals:{_instanceof:["body.0.id"]},exportBindingAssignments:[],exportName:"_instanceof",dependencies:{}}),interopRequireDefault:c("7.0.0-beta.0","function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}",{globals:[],locals:{_interopRequireDefault:["body.0.id"]},exportBindingAssignments:[],exportName:"_interopRequireDefault",dependencies:{}}),interopRequireWildcard:c("7.14.0",'function _getRequireWildcardCache(e){if("function"!=typeof WeakMap)return null;var r=new WeakMap,t=new WeakMap;return(_getRequireWildcardCache=function(e){return e?t:r})(e)}function _interopRequireWildcard(e,r){if(!r&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var t=_getRequireWildcardCache(r);if(t&&t.has(e))return t.get(e);var n={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in e)if("default"!==u&&{}.hasOwnProperty.call(e,u)){var i=a?Object.getOwnPropertyDescriptor(e,u):null;i&&(i.get||i.set)?Object.defineProperty(n,u,i):n[u]=e[u]}return n.default=e,t&&t.set(e,n),n}',{globals:["WeakMap","Object"],locals:{_getRequireWildcardCache:["body.0.id","body.1.body.body.2.declarations.0.init.callee","body.0.body.body.2.argument.callee.left"],_interopRequireWildcard:["body.1.id"]},exportBindingAssignments:[],exportName:"_interopRequireWildcard",dependencies:{}}),isNativeFunction:c("7.0.0-beta.0",'function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(n){return"function"==typeof t}}',{globals:["Function"],locals:{_isNativeFunction:["body.0.id"]},exportBindingAssignments:[],exportName:"_isNativeFunction",dependencies:{}}),isNativeReflectConstruct:c("7.9.0","function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function(){return!!t})()}",{globals:["Boolean","Reflect"],locals:{_isNativeReflectConstruct:["body.0.id","body.0.body.body.1.argument.callee.left"]},exportBindingAssignments:["body.0.body.body.1.argument.callee"],exportName:"_isNativeReflectConstruct",dependencies:{}}),iterableToArray:c("7.0.0-beta.0",'function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}',{globals:["Symbol","Array"],locals:{_iterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArray",dependencies:{}}),iterableToArrayLimit:c("7.0.0-beta.0",'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}}',{globals:["Symbol","Object"],locals:{_iterableToArrayLimit:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArrayLimit",dependencies:{}}),jsx:c("7.0.0-beta.0",'var REACT_ELEMENT_TYPE;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=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}}',{globals:["Symbol","Array"],locals:{REACT_ELEMENT_TYPE:["body.0.declarations.0.id","body.1.body.body.0.expression.left","body.1.body.body.4.argument.properties.0.value","body.1.body.body.0.expression.right.left"],_createRawReactElement:["body.1.id"]},exportBindingAssignments:[],exportName:"_createRawReactElement",dependencies:{}}),maybeArrayLike:c("7.9.0",'function _maybeArrayLike(r,a,e){if(a&&!Array.isArray(a)&&"number"==typeof a.length){var y=a.length;return arrayLikeToArray(a,void 0!==e&&e<y?e:y)}return r(a,e)}',{globals:["Array"],locals:{_maybeArrayLike:["body.0.id"]},exportBindingAssignments:[],exportName:"_maybeArrayLike",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.1.argument.callee"]}}),newArrowCheck:c("7.0.0-beta.0",'function _newArrowCheck(n,r){if(n!==r)throw new TypeError("Cannot instantiate an arrow function")}',{globals:["TypeError"],locals:{_newArrowCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_newArrowCheck",dependencies:{}}),nonIterableRest:c("7.0.0-beta.0",'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.")}',{globals:["TypeError"],locals:{_nonIterableRest:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableRest",dependencies:{}}),nonIterableSpread:c("7.0.0-beta.0",'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.")}',{globals:["TypeError"],locals:{_nonIterableSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableSpread",dependencies:{}}),nullishReceiverError:c("7.22.6",'function _nullishReceiverError(r){throw new TypeError("Cannot set property of null or undefined.")}',{globals:["TypeError"],locals:{_nullishReceiverError:["body.0.id"]},exportBindingAssignments:[],exportName:"_nullishReceiverError",dependencies:{}}),objectDestructuringEmpty:c("7.0.0-beta.0",'function _objectDestructuringEmpty(t){if(null==t)throw new TypeError("Cannot destructure "+t)}',{globals:["TypeError"],locals:{_objectDestructuringEmpty:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectDestructuringEmpty",dependencies:{}}),objectSpread2:c("7.5.0","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}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}",{globals:["Object"],locals:{ownKeys:["body.0.id","body.1.body.body.0.body.body.1.expression.consequent.callee.object.callee","body.1.body.body.0.body.body.1.expression.alternate.alternate.callee.object.callee"],_objectSpread2:["body.1.id"]},exportBindingAssignments:[],exportName:"_objectSpread2",dependencies:{defineProperty:["body.1.body.body.0.body.body.1.expression.consequent.arguments.0.body.body.0.expression.callee"]}}),objectWithoutProperties:c("7.0.0-beta.0","function _objectWithoutProperties(e,t){if(null==e)return{};var o,r,i=objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)o=s[r],t.includes(o)||{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}",{globals:["Object"],locals:{_objectWithoutProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutProperties",dependencies:{objectWithoutPropertiesLoose:["body.0.body.body.1.declarations.2.init.callee"]}}),objectWithoutPropertiesLoose:c("7.0.0-beta.0","function _objectWithoutPropertiesLoose(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(e.includes(n))continue;t[n]=r[n]}return t}",{globals:[],locals:{_objectWithoutPropertiesLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutPropertiesLoose",dependencies:{}}),possibleConstructorReturn:c("7.0.0-beta.0",'function _possibleConstructorReturn(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return assertThisInitialized(t)}',{globals:["TypeError"],locals:{_possibleConstructorReturn:["body.0.id"]},exportBindingAssignments:[],exportName:"_possibleConstructorReturn",dependencies:{assertThisInitialized:["body.0.body.body.2.argument.callee"]}}),readOnlyError:c("7.0.0-beta.0",`function _readOnlyError(r){throw new TypeError('"'+r+'" is read-only')}`,{globals:["TypeError"],locals:{_readOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_readOnlyError",dependencies:{}}),regeneratorRuntime:c("7.18.0",`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 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 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 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}`,{globals:["Object","Symbol","Error","TypeError","isNaN","Promise"],locals:{_regeneratorRuntime:["body.0.id","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_regeneratorRuntime",dependencies:{}}),set:c("7.0.0-beta.0",'function set(e,r,t,o){return set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,r,t,o){var f,i=superPropBase(e,r);if(i){if((f=Object.getOwnPropertyDescriptor(i,r)).set)return f.set.call(o,t),!0;if(!f.writable)return!1}if(f=Object.getOwnPropertyDescriptor(o,r)){if(!f.writable)return!1;f.value=t,Object.defineProperty(o,r,f)}else defineProperty(o,r,t);return!0},set(e,r,t,o)}function _set(e,r,t,o,f){if(!set(e,r,t,o||e)&&f)throw new TypeError("failed to set property");return t}',{globals:["Reflect","Object","TypeError"],locals:{set:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.0.test.left.argument.callee","body.0.body.body.0.argument.expressions.0.left"],_set:["body.1.id"]},exportBindingAssignments:[],exportName:"_set",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.1.init.callee"],defineProperty:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.2.alternate.expression.callee"]}}),setFunctionName:c("7.23.6",'function setFunctionName(e,t,n){"symbol"==typeof t&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}',{globals:["Object"],locals:{setFunctionName:["body.0.id"]},exportBindingAssignments:[],exportName:"setFunctionName",dependencies:{}}),setPrototypeOf:c("7.0.0-beta.0","function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}",{globals:["Object"],locals:{_setPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_setPrototypeOf",dependencies:{}}),skipFirstGeneratorNext:c("7.0.0-beta.0","function _skipFirstGeneratorNext(t){return function(){var r=t.apply(this,arguments);return r.next(),r}}",{globals:[],locals:{_skipFirstGeneratorNext:["body.0.id"]},exportBindingAssignments:[],exportName:"_skipFirstGeneratorNext",dependencies:{}}),slicedToArray:c("7.0.0-beta.0","function _slicedToArray(r,e){return arrayWithHoles(r)||iterableToArrayLimit(r,e)||unsupportedIterableToArray(r,e)||nonIterableRest()}",{globals:[],locals:{_slicedToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_slicedToArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArrayLimit:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]}}),superPropBase:c("7.0.0-beta.0","function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=getPrototypeOf(t)););return t}",{globals:[],locals:{_superPropBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropBase",dependencies:{getPrototypeOf:["body.0.body.body.0.test.right.right.right.callee"]}}),superPropGet:c("7.25.0",'function _superPropGet(t,o,e,r){var p=get(getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t)}:p}',{globals:[],locals:{_superPropGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropGet",dependencies:{get:["body.0.body.body.0.declarations.0.init.callee"],getPrototypeOf:["body.0.body.body.0.declarations.0.init.arguments.0.callee"]}}),superPropSet:c("7.25.0","function _superPropSet(t,e,o,r,p,f){return set(getPrototypeOf(f?t.prototype:t),e,o,r,p)}",{globals:[],locals:{_superPropSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropSet",dependencies:{set:["body.0.body.body.0.argument.callee"],getPrototypeOf:["body.0.body.body.0.argument.arguments.0.callee"]}}),taggedTemplateLiteral:c("7.0.0-beta.0","function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}",{globals:["Object"],locals:{_taggedTemplateLiteral:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteral",dependencies:{}}),taggedTemplateLiteralLoose:c("7.0.0-beta.0","function _taggedTemplateLiteralLoose(e,t){return t||(t=e.slice(0)),e.raw=t,e}",{globals:[],locals:{_taggedTemplateLiteralLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteralLoose",dependencies:{}}),tdz:c("7.5.5",'function _tdzError(e){throw new ReferenceError(e+" is not defined - temporal dead zone")}',{globals:["ReferenceError"],locals:{_tdzError:["body.0.id"]},exportBindingAssignments:[],exportName:"_tdzError",dependencies:{}}),temporalRef:c("7.0.0-beta.0","function _temporalRef(r,e){return r===undef?err(e):r}",{globals:[],locals:{_temporalRef:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalRef",dependencies:{temporalUndefined:["body.0.body.body.0.argument.test.right"],tdz:["body.0.body.body.0.argument.consequent.callee"]}}),temporalUndefined:c("7.0.0-beta.0","function _temporalUndefined(){}",{globals:[],locals:{_temporalUndefined:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalUndefined",dependencies:{}}),toArray:c("7.0.0-beta.0","function _toArray(r){return arrayWithHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableRest()}",{globals:[],locals:{_toArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]}}),toConsumableArray:c("7.0.0-beta.0","function _toConsumableArray(r){return arrayWithoutHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableSpread()}",{globals:[],locals:{_toConsumableArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toConsumableArray",dependencies:{arrayWithoutHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableSpread:["body.0.body.body.0.argument.right.callee"]}}),toPrimitive:c("7.1.5",'function toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}',{globals:["Symbol","TypeError","String","Number"],locals:{toPrimitive:["body.0.id"]},exportBindingAssignments:[],exportName:"toPrimitive",dependencies:{}}),toPropertyKey:c("7.1.5",'function toPropertyKey(t){var i=toPrimitive(t,"string");return"symbol"==typeof i?i:i+""}',{globals:[],locals:{toPropertyKey:["body.0.id"]},exportBindingAssignments:[],exportName:"toPropertyKey",dependencies:{toPrimitive:["body.0.body.body.0.declarations.0.init.callee"]}}),toSetter:c("7.24.0",'function _toSetter(t,e,n){e||(e=[]);var r=e.length++;return Object.defineProperty({},"_",{set:function(o){e[r]=o,t.apply(n,e)}})}',{globals:["Object"],locals:{_toSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_toSetter",dependencies:{}}),typeof:c("7.0.0-beta.0",'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)}',{globals:["Symbol"],locals:{_typeof:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_typeof",dependencies:{}}),unsupportedIterableToArray:c("7.9.0",'function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?arrayLikeToArray(r,a):void 0}}',{globals:["Array"],locals:{_unsupportedIterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_unsupportedIterableToArray",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.0.consequent.argument.callee","body.0.body.body.0.consequent.body.2.argument.expressions.1.alternate.consequent.callee"]}}),usingCtx:c("7.23.9",'function _usingCtx(){var r="function"==typeof SuppressedError?SuppressedError:function(r,e){var n=Error();return n.name="SuppressedError",n.error=r,n.suppressed=e,n},e={},n=[];function using(r,e){if(null!=e){if(Object(e)!==e)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(r)var o=e[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(void 0===o&&(o=e[Symbol.dispose||Symbol.for("Symbol.dispose")],r))var t=o;if("function"!=typeof o)throw new TypeError("Object is not disposable.");t&&(o=function(){try{t.call(e)}catch(r){return Promise.reject(r)}}),n.push({v:e,d:o,a:r})}else r&&n.push({d:e,a:r});return e}return{e:e,u:using.bind(null,!1),a:using.bind(null,!0),d:function(){var o,t=this.e,s=0;function next(){for(;o=n.pop();)try{if(!o.a&&1===s)return s=0,n.push(o),Promise.resolve().then(next);if(o.d){var r=o.d.call(o.v);if(o.a)return s|=2,Promise.resolve(r).then(next,err)}else s|=1}catch(r){return err(r)}if(1===s)return t!==e?Promise.reject(t):Promise.resolve();if(t!==e)throw t}function err(n){return t=t!==e?new r(n,t):n,next()}return next()}}}',{globals:["SuppressedError","Error","Object","TypeError","Symbol","Promise"],locals:{_usingCtx:["body.0.id"]},exportBindingAssignments:[],exportName:"_usingCtx",dependencies:{}}),wrapAsyncGenerator:c("7.0.0-beta.0",'function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments))}}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)};',{globals:["Promise","Symbol"],locals:{_wrapAsyncGenerator:["body.0.id"],AsyncGenerator:["body.1.id","body.0.body.body.0.argument.body.body.0.argument.callee","body.2.expression.expressions.0.left.object.object","body.2.expression.expressions.1.left.object.object","body.2.expression.expressions.2.left.object.object","body.2.expression.expressions.3.left.object.object"]},exportBindingAssignments:[],exportName:"_wrapAsyncGenerator",dependencies:{OverloadYield:["body.1.body.body.1.body.body.0.block.body.0.declarations.2.init.right"]}}),wrapNativeSuper:c("7.0.0-beta.0",'function _wrapNativeSuper(t){var r="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(t){if(null===t||!isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper)}function Wrapper(){return construct(t,arguments,getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),setPrototypeOf(Wrapper,t)},_wrapNativeSuper(t)}',{globals:["Map","TypeError","Object"],locals:{_wrapNativeSuper:["body.0.id","body.0.body.body.1.argument.expressions.1.callee","body.0.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.1.argument.expressions.0"],exportName:"_wrapNativeSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.arguments.2.object.callee"],setPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.4.argument.expressions.1.callee"],isNativeFunction:["body.0.body.body.1.argument.expressions.0.right.body.body.0.test.right.argument.callee"],construct:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.callee"]}}),wrapRegExp:c("7.19.0",'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=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)}',{globals:["RegExp","WeakMap","Object","Symbol","Array"],locals:{_wrapRegExp:["body.0.id","body.0.body.body.4.argument.expressions.3.callee.object","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_wrapRegExp",dependencies:{setPrototypeOf:["body.0.body.body.2.body.body.1.argument.expressions.1.callee"],inherits:["body.0.body.body.4.argument.expressions.0.callee"]}}),writeOnlyError:c("7.12.13",`function _writeOnlyError(r){throw new TypeError('"'+r+'" is write-only')}`,{globals:["TypeError"],locals:{_writeOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_writeOnlyError",dependencies:{}})};Object.assign(p,{AwaitValue:c("7.0.0-beta.0","function _AwaitValue(t){this.wrapped=t}",{globals:[],locals:{_AwaitValue:["body.0.id"]},exportBindingAssignments:[],exportName:"_AwaitValue",dependencies:{}}),applyDecs:c("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:toPropertyKey(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 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)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function old_getInit(e){var t;return null==(t=e.init)&&(t=e.initializer)&&void 0!==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,y,h=a[0];if(n?(0===o||1===o?(c={get:a[3],set:a[4]},u="get"):3===o?(c={get:a[3]},u="get"):4===o?(c={set:a[3]},u="set"):c={value:a[3]},0!==o&&(1===o&&setFunctionName(a[4],"#"+r,"set"),setFunctionName(a[3],"#"+r,u))):0!==o&&(c=Object.getOwnPropertyDescriptor(t,r)),1===o?f={get:c.get,set:c.set}:2===o?f=c.value:3===o?f=c.get:4===o&&(f=c.set),"function"==typeof h)void 0!==(p=old_memberDec(h,r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?d=p:1===o?(d=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p);else for(var m=h.length-1;m>=0;m--){var b;void 0!==(p=old_memberDec(h[m],r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?b=p:1===o?(b=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p,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 _=d;d=function(e,t){return _.call(e,t)}}e.push(d)}0!==o&&(1===o?(c.get=f.get,c.set=f.set):2===o?c.value=f:3===o?c.get=f:4===o&&(c.set=f),n?1===o?(e.push((function(e,t){return f.get.call(e,t)})),e.push((function(e,t){return f.set.call(e,t)}))):2===o?e.push(f):e.push((function(e,t){return f.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],y=d[2],h=d.length>3,m=v>=5;if(m?(u=t,f=r,0!=(v-=5)&&(p=n=n||[])):(u=t.prototype,f=a,0!==v&&(p=i=i||[])),0!==v&&!h){var b=m?s:l,g=b.get(y)||0;if(!0===g||3===g&&4!==v||4===g&&3!==v)throw 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: "+y);!g&&v>2?b.set(y,v):b.set(y,!0)}old_applyMemberDec(e,u,d,y,v,m,h,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)}))}}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}',{globals:["Object","Map","Symbol","Array","Error","TypeError","console"],locals:{old_createMetadataMethodsForProperty:["body.0.id","body.3.body.body.4.block.body.0.argument.arguments.1.arguments.1.callee","body.12.body.body.0.consequent.body.0.body.body.1.block.body.0.declarations.0.init.arguments.1.callee"],old_convertMetadataMapToFinal:["body.1.id","body.13.body.body.1.argument.expressions.1.callee","body.13.body.body.1.argument.expressions.3.callee"],old_createAddInitializerMethod:["body.2.id","body.3.body.body.3.test.expressions.0.right.right.callee","body.12.body.body.0.consequent.body.0.body.body.1.block.body.0.declarations.0.init.arguments.0.properties.2.value.callee"],old_memberDec:["body.3.id","body.9.body.body.1.consequent.expression.left.right.right.callee","body.9.body.body.1.alternate.body.body.1.expression.left.right.right.callee"],old_assertNotFinished:["body.4.id","body.0.body.body.0.argument.properties.0.value.body.body.0.expression.expressions.0.callee","body.0.body.body.0.argument.properties.1.value.body.body.0.expression.expressions.0.callee","body.2.body.body.0.argument.body.body.0.expression.expressions.0.callee"],old_assertMetadataKey:["body.5.id","body.0.body.body.0.argument.properties.0.value.body.body.0.expression.expressions.1.callee","body.0.body.body.0.argument.properties.1.value.body.body.0.expression.expressions.1.callee"],old_assertCallable:["body.6.id","body.2.body.body.0.argument.body.body.0.expression.expressions.1.callee","body.7.body.body.1.consequent.body.1.expression.expressions.0.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.1.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.2.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.3.right.callee"],old_assertValidReturnValue:["body.7.id","body.9.body.body.1.consequent.expression.right.expressions.0.callee","body.9.body.body.1.alternate.body.body.1.expression.right.expressions.0.callee","body.12.body.body.0.consequent.body.0.body.body.2.expression.right.expressions.0.callee"],old_getInit:["body.8.id","body.9.body.body.1.consequent.expression.right.expressions.1.alternate.consequent.expressions.0.right.callee","body.9.body.body.1.alternate.body.body.1.expression.right.expressions.1.alternate.consequent.expressions.0.right.callee"],old_applyMemberDec:["body.9.id","body.10.body.body.0.body.body.1.consequent.body.2.expression.callee"],old_applyMemberDecs:["body.10.id","body.13.body.body.1.argument.expressions.0.callee"],old_pushInitializers:["body.11.id","body.10.body.body.1.expression.expressions.0.callee","body.10.body.body.1.expression.expressions.1.callee"],old_applyClassDecs:["body.12.id","body.13.body.body.1.argument.expressions.2.callee"],applyDecs:["body.13.id"]},exportBindingAssignments:[],exportName:"applyDecs",dependencies:{setFunctionName:["body.9.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.9.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.3.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]}}),applyDecs2203:c("7.19.0",'function applyDecs2203Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),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)throw new TypeError((0===e?"field":10===e?"class":"method")+" 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;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 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;function applyDecs2203(e,t,r){return(applyDecs2203Impl=applyDecs2203Impl||applyDecs2203Factory())(e,t,r)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2203Factory:["body.0.id","body.2.body.body.0.argument.callee.right.right.callee"],applyDecs2203Impl:["body.1.declarations.0.id","body.2.body.body.0.argument.callee.right.left","body.2.body.body.0.argument.callee.left"],applyDecs2203:["body.2.id"]},exportBindingAssignments:[],exportName:"applyDecs2203",dependencies:{}}),applyDecs2203R:c("7.20.0",'function applyDecs2203RFactory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,n,a,i,o,s){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:o?"#"+t:toPropertyKey(t),static:i,private:o},p={v:!1};0!==a&&(f.addInitializer=createAddInitializerMethod(n,p)),0===a?o?(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(s,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)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function applyMemberDec(e,t,r,n,a,i,o,s){var c,l,u,f,p,d,h,v=r[0];if(o?(0===a||1===a?(c={get:r[3],set:r[4]},u="get"):3===a?(c={get:r[3]},u="get"):4===a?(c={set:r[3]},u="set"):c={value:r[3]},0!==a&&(1===a&&setFunctionName(r[4],"#"+n,"set"),setFunctionName(r[3],"#"+n,u))):0!==a&&(c=Object.getOwnPropertyDescriptor(t,n)),1===a?f={get:c.get,set:c.set}:2===a?f=c.value:3===a?f=c.get:4===a&&(f=c.set),"function"==typeof v)void 0!==(p=memberDec(v,n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?l=p:1===a?(l=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p);else for(var g=v.length-1;g>=0;g--){var y;void 0!==(p=memberDec(v[g],n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?y=p:1===a?(y=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p,void 0!==y&&(void 0===l?l=y:"function"==typeof l?l=[l,y]:l.push(y)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var m=l;l=function(e,t){for(var r=t,n=0;n<m.length;n++)r=m[n].call(e,r);return r}}else{var b=l;l=function(e,t){return b.call(e,t)}}e.push(l)}0!==a&&(1===a?(c.get=f.get,c.set=f.set):2===a?c.value=f:3===a?c.get=f:4===a&&(c.set=f),o?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,c))}function applyMemberDecs(e,t){for(var r,n,a=[],i=new Map,o=new Map,s=0;s<t.length;s++){var c=t[s];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?o:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw 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 o={v:!1};try{var s=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,o)})}finally{o.v=!0}void 0!==s&&(assertValidReturnValue(10,s),n=s)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}function applyDecs2203R(e,t,r){return(applyDecs2203R=applyDecs2203RFactory())(e,t,r)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2203RFactory:["body.0.id","body.1.body.body.0.argument.callee.right.callee"],applyDecs2203R:["body.1.id","body.1.body.body.0.argument.callee.left"]},exportBindingAssignments:["body.1.body.body.0.argument.callee"],exportName:"applyDecs2203R",dependencies:{setFunctionName:["body.0.body.body.4.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.0.body.body.4.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.0.body.body.1.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]}}),applyDecs2301:c("7.21.0",'function applyDecs2301Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),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:toPropertyKey(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)throw new TypeError((0===e?"field":10===e?"class":"method")+" 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,y,g=r[0];if(s?(0===a||1===a?(u={get:(d=r[3],function(){return d(this)}),set:curryThis2(r[4])},f="get"):3===a?(u={get:r[3]},f="get"):4===a?(u={set:r[3]},f="set"):u={value:r[3]},0!==a&&(1===a&&setFunctionName(u.set,"#"+n,"set"),setFunctionName(u[f||"value"],"#"+n,f))):0!==a&&(u=Object.getOwnPropertyDescriptor(t,n)),1===a?p={get:u.get,set:u.set}:2===a?p=u.value:3===a?p=u.get:4===a&&(p=u.set),"function"==typeof g)void 0!==(h=memberDec(g,n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?l=h:1===a?(l=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h);else for(var m=g.length-1;m>=0;m--){var b;void 0!==(h=memberDec(g[m],n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?b=h:1===a?(b=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h,void 0!==b&&(void 0===l?l=b:"function"==typeof l?l=[l,b]:l.push(b)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var I=l;l=function(e,t){for(var r=t,n=0;n<I.length;n++)r=I[n].call(e,r);return r}}else{var w=l;l=function(e,t){return w.call(e,t)}}e.push(l)}0!==a&&(1===a?(u.get=p.get,u.set=p.set):2===a?u.value=p:3===a?u.get=p:4===a&&(u.set=p),s?1===a?(e.push((function(e,t){return p.get.call(e,t)})),e.push((function(e,t){return p.set.call(e,t)}))):2===a?e.push(p):e.push((function(e,t){return p.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,y=d>=5,g=r;if(y?(f=e,0!=(d-=5)&&(p=a=a||[]),v&&!i&&(i=function(t){return checkInRHS(t)===e}),g=i):(f=e.prototype,0!==d&&(p=n=n||[])),0!==d&&!v){var m=y?c:o,b=m.get(h)||0;if(!0===b||3===b&&4!==d||4===b&&3!==d)throw 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,y,v,p,g)}}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)}}}}function applyDecs2301(e,t,r,n){return(applyDecs2301=applyDecs2301Factory())(e,t,r,n)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2301Factory:["body.0.id","body.1.body.body.0.argument.callee.right.callee"],applyDecs2301:["body.1.id","body.1.body.body.0.argument.callee.left"]},exportBindingAssignments:["body.1.body.body.0.argument.callee"],exportName:"applyDecs2301",dependencies:{checkInRHS:["body.0.body.body.7.body.body.0.body.body.1.consequent.body.1.test.expressions.0.consequent.expressions.2.right.right.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.6.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.0.body.body.6.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.0.body.body.2.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]}}),applyDecs2305:c("7.21.0",'function applyDecs2305(e,t,r,n,o,a){function i(e,t,r){return function(n,o){return r&&r(n),e[t].call(n,o)}}function c(e,t){for(var r=0;r<e.length;r++)e[r].call(t);return t}function s(e,t,r,n){if("function"!=typeof e&&(n||void 0!==e))throw new TypeError(t+" must "+(r||"be")+" a function"+(n?"":" or undefined"));return e}function applyDec(e,t,r,n,o,a,c,u,l,f,p,d,h){function m(e){if(!h(e))throw new TypeError("Attempted to access private element on non-instance")}var y,v=t[0],g=t[3],b=!u;if(!b){r||Array.isArray(v)||(v=[v]);var w={},S=[],A=3===o?"get":4===o||d?"set":"value";f?(p||d?w={get:setFunctionName((function(){return g(this)}),n,"get"),set:function(e){t[4](this,e)}}:w[A]=g,p||setFunctionName(w[A],n,2===o?"":A)):p||(w=Object.getOwnPropertyDescriptor(e,n))}for(var P=e,j=v.length-1;j>=0;j-=r?2:1){var D=v[j],E=r?v[j-1]:void 0,I={},O={kind:["field","accessor","method","getter","setter","class"][o],name:n,metadata:a,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");s(t,"An initializer","be",!0),c.push(t)}.bind(null,I)};try{if(b)(y=s(D.call(E,P,O),"class decorators","return"))&&(P=y);else{var k,F;O.static=l,O.private=f,f?2===o?k=function(e){return m(e),w.value}:(o<4&&(k=i(w,"get",m)),3!==o&&(F=i(w,"set",m))):(k=function(e){return e[n]},(o<2||4===o)&&(F=function(e,t){e[n]=t}));var N=O.access={has:f?h.bind():function(e){return n in e}};if(k&&(N.get=k),F&&(N.set=F),P=D.call(E,d?{get:w.get,set:w.set}:w[A],O),d){if("object"==typeof P&&P)(y=s(P.get,"accessor.get"))&&(w.get=y),(y=s(P.set,"accessor.set"))&&(w.set=y),(y=s(P.init,"accessor.init"))&&S.push(y);else if(void 0!==P)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0")}else s(P,(p?"field":"method")+" decorators","return")&&(p?S.push(P):w[A]=P)}}finally{I.v=!0}}return(p||d)&&u.push((function(e,t){for(var r=S.length-1;r>=0;r--)t=S[r].call(e,t);return t})),p||b||(f?d?u.push(i(w,"get"),i(w,"set")):u.push(2===o?w[A]:i.call.bind(w[A])):Object.defineProperty(e,n,w)),P}function u(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var l=a[Symbol.metadata||Symbol.for("Symbol.metadata")];var f=Object.create(null==l?null:l),p=function(e,t,r,n){var o,a,i=[],s=function(t){return checkInRHS(t)===e},u=new Map;function l(e){e&&i.push(c.bind(null,e))}for(var f=0;f<t.length;f++){var p=t[f];if(Array.isArray(p)){var d=p[1],h=p[2],m=p.length>3,y=16&d,v=!!(8&d),g=0==(d&=7),b=h+"/"+v;if(!g&&!m){var w=u.get(b);if(!0===w||3===w&&4!==d||4===w&&3!==d)throw 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);u.set(b,!(d>2)||d)}applyDec(v?e:e.prototype,p,y,m?"#"+h:toPropertyKey(h),d,n,v?a=a||[]:o=o||[],i,v,m,g,1===d,v&&m?s:r)}}return l(o),l(a),i}(e,t,o,f);return r.length||u(e,f),{e:p,get c(){var t=[];return r.length&&[u(applyDec(e,[r],n,e.name,5,f,t),f),c.bind(null,t,e)]}}}',{globals:["TypeError","Array","Object","Error","Symbol","Map"],locals:{applyDecs2305:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2305",dependencies:{checkInRHS:["body.0.body.body.6.declarations.1.init.callee.body.body.0.declarations.3.init.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.6.declarations.1.init.callee.body.body.2.body.body.1.consequent.body.2.expression.arguments.3.alternate.callee"]}}),classApplyDescriptorDestructureSet:c("7.13.10",'function _classApplyDescriptorDestructureSet(e,t){if(t.set)return"__destrObj"in t||(t.__destrObj={set value(r){t.set.call(e,r)}}),t.__destrObj;if(!t.writable)throw new TypeError("attempted to set read only private field");return t}',{globals:["TypeError"],locals:{_classApplyDescriptorDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorDestructureSet",dependencies:{}}),classApplyDescriptorGet:c("7.13.10","function _classApplyDescriptorGet(e,t){return t.get?t.get.call(e):t.value}",{globals:[],locals:{_classApplyDescriptorGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorGet",dependencies:{}}),classApplyDescriptorSet:c("7.13.10",'function _classApplyDescriptorSet(e,t,l){if(t.set)t.set.call(e,l);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=l}}',{globals:["TypeError"],locals:{_classApplyDescriptorSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorSet",dependencies:{}}),classCheckPrivateStaticAccess:c("7.13.10","function _classCheckPrivateStaticAccess(s,a,r){return assertClassBrand(a,s,r)}",{globals:[],locals:{_classCheckPrivateStaticAccess:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticAccess",dependencies:{assertClassBrand:["body.0.body.body.0.argument.callee"]}}),classCheckPrivateStaticFieldDescriptor:c("7.13.10",'function _classCheckPrivateStaticFieldDescriptor(t,e){if(void 0===t)throw new TypeError("attempted to "+e+" private static field before its declaration")}',{globals:["TypeError"],locals:{_classCheckPrivateStaticFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticFieldDescriptor",dependencies:{}}),classExtractFieldDescriptor:c("7.13.10","function _classExtractFieldDescriptor(e,t){return classPrivateFieldGet2(t,e)}",{globals:[],locals:{_classExtractFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classExtractFieldDescriptor",dependencies:{classPrivateFieldGet2:["body.0.body.body.0.argument.callee"]}}),classPrivateFieldDestructureSet:c("7.4.4","function _classPrivateFieldDestructureSet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorDestructureSet(e,r)}",{globals:[],locals:{_classPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateFieldGet:c("7.0.0-beta.0","function _classPrivateFieldGet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorGet(e,r)}",{globals:[],locals:{_classPrivateFieldGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateFieldSet:c("7.0.0-beta.0","function _classPrivateFieldSet(e,t,r){var s=classPrivateFieldGet2(t,e);return classApplyDescriptorSet(e,s,r),r}",{globals:[],locals:{_classPrivateFieldSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.1.argument.expressions.0.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]}}),classPrivateMethodGet:c("7.1.6","function _classPrivateMethodGet(s,a,r){return assertClassBrand(a,s),r}",{globals:[],locals:{_classPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]}}),classPrivateMethodSet:c("7.1.6",'function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}',{globals:["TypeError"],locals:{_classPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodSet",dependencies:{}}),classStaticPrivateFieldDestructureSet:c("7.13.10",'function _classStaticPrivateFieldDestructureSet(t,r,s){return assertClassBrand(r,t),classCheckPrivateStaticFieldDescriptor(s,"set"),classApplyDescriptorDestructureSet(t,s)}',{globals:[],locals:{_classStaticPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateFieldSpecGet:c("7.0.2",'function _classStaticPrivateFieldSpecGet(t,s,r){return assertClassBrand(s,t),classCheckPrivateStaticFieldDescriptor(r,"get"),classApplyDescriptorGet(t,r)}',{globals:[],locals:{_classStaticPrivateFieldSpecGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateFieldSpecSet:c("7.0.2",'function _classStaticPrivateFieldSpecSet(s,t,r,e){return assertClassBrand(t,s),classCheckPrivateStaticFieldDescriptor(r,"set"),classApplyDescriptorSet(s,r,e),e}',{globals:[],locals:{_classStaticPrivateFieldSpecSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]}}),classStaticPrivateMethodSet:c("7.3.2",'function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static private field")}',{globals:["TypeError"],locals:{_classStaticPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodSet",dependencies:{}}),defineEnumerableProperties:c("7.0.0-beta.0",'function _defineEnumerableProperties(e,r){for(var t in r){var n=r[t];n.configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,t,n)}if(Object.getOwnPropertySymbols)for(var a=Object.getOwnPropertySymbols(r),b=0;b<a.length;b++){var i=a[b];(n=r[i]).configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i,n)}return e}',{globals:["Object"],locals:{_defineEnumerableProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineEnumerableProperties",dependencies:{}}),dispose:c("7.22.0",'function dispose_SuppressedError(r,e){return"undefined"!=typeof SuppressedError?dispose_SuppressedError=SuppressedError:(dispose_SuppressedError=function(r,e){this.suppressed=e,this.error=r,this.stack=Error().stack},dispose_SuppressedError.prototype=Object.create(Error.prototype,{constructor:{value:dispose_SuppressedError,writable:!0,configurable:!0}})),new dispose_SuppressedError(r,e)}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(e,r):r,s=!0,next()}return next()}',{globals:["SuppressedError","Error","Object","Promise"],locals:{dispose_SuppressedError:["body.0.id","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.left.object","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.right.arguments.1.properties.0.value.properties.0.value","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.1.body.body.0.argument.expressions.0.right.consequent.callee","body.0.body.body.0.argument.expressions.0.consequent.left","body.0.body.body.0.argument.expressions.0.alternate.expressions.0.left"],_dispose:["body.1.id"]},exportBindingAssignments:[],exportName:"_dispose",dependencies:{}}),objectSpread:c("7.0.0-beta.0",'function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?Object(arguments[r]):{},o=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&o.push.apply(o,Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.forEach((function(r){defineProperty(e,r,t[r])}))}return e}',{globals:["Object"],locals:{_objectSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectSpread",dependencies:{defineProperty:["body.0.body.body.0.body.body.1.expression.expressions.1.arguments.0.body.body.0.expression.callee"]}}),using:c("7.22.0",'function _using(o,n,e){if(null==n)return n;if(Object(n)!==n)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(e)var r=n[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(null==r&&(r=n[Symbol.dispose||Symbol.for("Symbol.dispose")]),"function"!=typeof r)throw new TypeError("Property [Symbol.dispose] is not a function.");return o.push({v:n,d:r,a:e}),n}',{globals:["Object","TypeError","Symbol"],locals:{_using:["body.0.id"]},exportBindingAssignments:[],exportName:"_using",dependencies:{}})})},"./node_modules/.pnpm/@babel+helpers@7.26.0/node_modules/@babel/helpers/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.get=f,e.getDependencies=function(b){return d(b).getDependencies()},e.list=void 0,e.minVersion=function(b){return d(b).minVersion};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+helpers@7.26.0/node_modules/@babel/helpers/lib/helpers-generated.js");let{cloneNode:p,identifier:i}=n;function o(b,m,y){try{let x=m.split("."),v=x.shift();for(;x.length>0;)b=b[v],v=x.shift();if(!(arguments.length>2))return b[v];b[v]=y}catch(x){throw x.message+=` (when accessing ${m})`,x}}let h=Object.create(null);function d(b){if(!h[b]){let m=c.default[b];if(!m)throw Object.assign(new ReferenceError(`Unknown helper ${b}`),{code:"BABEL_HELPER_UNKNOWN",helper:b});h[b]={minVersion:m.minVersion,build(y,x,v,E){let S=m.ast();return(function(_,A,L,j,F,k){let{locals:U,dependencies:z,exportBindingAssignments:C,exportName:R}=A,G=new Set(j||[]);L&&G.add(L);for(let[V,B]of(Object.entries||(q=>Object.keys(q).map((K=>[K,q[K]]))))(U)){let q=V;if(L&&V===R)q=L;else for(;G.has(q);)q="_"+q;if(q!==V)for(let K of B)o(_,K,i(q))}for(let[V,B]of(Object.entries||(q=>Object.keys(q).map((K=>[K,q[K]]))))(z)){let q=typeof F=="function"&&F(V)||i(V);for(let K of B)o(_,K,p(q))}k==null||k(_,R,(V=>{C.forEach((B=>o(_,B,V(o(_,B)))))}))})(S,m.metadata,x,v,y,E),{nodes:S.body,globals:m.metadata.globals}},getDependencies:()=>Object.keys(m.metadata.dependencies)}}return h[b]}function f(b,m,y,x,v){if(typeof y=="object"){let E=y;y=(E==null?void 0:E.type)==="Identifier"?E.name:void 0}return d(b).build(m,y,x,v)}e.ensure=b=>{d(b)},e.list=Object.keys(c.default).map((b=>b.replace(/^_/,""))),e.default=f},"./node_modules/.pnpm/@babel+parser@7.26.3/node_modules/@babel/parser/lib/index.js":(u,e)=>{"use strict";function l(He,T){if(He==null)return{};var I={};for(var H in He)if({}.hasOwnProperty.call(He,H)){if(T.includes(H))continue;I[H]=He[H]}return I}Object.defineProperty(e,"__esModule",{value:!0});class n{constructor(T,I,H){this.line=void 0,this.column=void 0,this.index=void 0,this.line=T,this.column=I,this.index=H}}class c{constructor(T,I){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=T,this.end=I}}function p(He,T){let{line:I,column:H,index:re}=He;return new n(I,H+T,re+T)}let i="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED";var o={ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:i},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:i}};let h={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"},d=He=>He.type==="UpdateExpression"?h.UpdateExpression[`${He.prefix}`]:h[He.type];var f={AccessorIsGenerator:({kind:He})=>`A ${He}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:He})=>`Missing initializer in ${He} 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.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',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:He})=>`\`${He}\` has already been exported. Exported identifiers must be unique.`,DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",DynamicImportPhaseRequiresImportExpressions:({phase:He})=>`'import.${He}(...)' can only be parsed when using the 'createImportExpressions' option.`,ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:({localName:He,exportName:T})=>`A string literal cannot be used as an exported binding without \`from\`.
|
|
- Did you mean \`export { '${He}' as '${T}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:He})=>`'${He==="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:He})=>`Unsyntactic ${He==="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 `deprecatedImportAssert` parser plugin to suppress this error.",ImportBindingIsString:({importName:He})=>`A string literal cannot be used as an imported binding.
|
|
- Did you mean \`import { "${He}" as foo }\`?`,ImportCallArity:"`import()` requires exactly 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:He})=>`Expected number in radix ${He}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:He})=>`Escape sequence in keyword ${He}.`,InvalidIdentifier:({identifierName:He})=>`Invalid identifier ${He}.`,InvalidLhs:({ancestor:He})=>`Invalid left-hand side in ${d(He)}.`,InvalidLhsBinding:({ancestor:He})=>`Binding invalid left-hand side in ${d(He)}.`,InvalidLhsOptionalChaining:({ancestor:He})=>`Invalid optional chaining in the left-hand side of ${d(He)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:He})=>`Unexpected character '${He}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:He})=>`Private name #${He} 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:He})=>`Label '${He}' 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:He})=>`This experimental syntax requires enabling the parser plugin: ${He.map((T=>JSON.stringify(T))).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:He})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${He.map((T=>JSON.stringify(T))).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:He})=>`Duplicate key "${He}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:He})=>`An export name cannot include a lone surrogate, found '\\u${He.toString(16)}'.`,ModuleExportUndefined:({localName:He})=>`Export '${He}' 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:He})=>`Private names are only allowed in property accesses (\`obj.#${He}\`) or in \`in\` expressions (\`#${He} in obj\`).`,PrivateNameRedeclaration:({identifierName:He})=>`Duplicate private name #${He}.`,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.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',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:He})=>`Unexpected keyword '${He}'.`,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:He})=>`Unexpected reserved word '${He}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:He,unexpected:T})=>`Unexpected token${T?` '${T}'.`:""}${He?`, expected "${He}"`:""}`,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:He,onlyValidPropertyName:T})=>`The only valid meta property for ${He} is ${He}.${T}.`,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.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:He})=>`Identifier '${He}' 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 b=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var m={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:He})=>`Invalid topic token ${He}. In order to use ${He} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${He}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:He})=>`Hack-style pipe body cannot be an unparenthesized ${d({type:He})}; 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 y=["message"];function x(He,T,I){Object.defineProperty(He,T,{enumerable:!1,configurable:!0,value:I})}function v({toMessage:He,code:T,reasonCode:I,syntaxPlugin:H}){let re=I==="MissingPlugin"||I==="MissingOneOfPlugins";{let we={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};we[I]&&(I=we[I])}return function we(qe,it){let ot=new SyntaxError;return ot.code=T,ot.reasonCode=I,ot.loc=qe,ot.pos=qe.index,ot.syntaxPlugin=H,re&&(ot.missingPlugin=it.missingPlugin),x(ot,"clone",(function(mt={}){var jt;let{line:Zt,column:Br,index:Er}=(jt=mt.loc)!=null?jt:qe;return we(new n(Zt,Br,Er),Object.assign({},it,mt.details))})),x(ot,"details",it),Object.defineProperty(ot,"message",{configurable:!0,get(){let mt=`${He(it)} (${qe.line}:${qe.column})`;return this.message=mt,mt},set(mt){Object.defineProperty(this,"message",{value:mt,writable:!0})}}),ot}}function E(He,T){if(Array.isArray(He))return H=>E(H,He[0]);let I={};for(let H of Object.keys(He)){let re=He[H],we=typeof re=="string"?{message:()=>re}:typeof re=="function"?{message:re}:re,{message:qe}=we,it=l(we,y),ot=typeof qe=="string"?()=>qe:qe;I[H]=v(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:H,toMessage:ot},T?{syntaxPlugin:T}:{},it))}return I}let S=Object.assign({},E(o),E(f),E({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:He})=>`Assigning to '${He}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:He})=>`Binding '${He}' 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."}),E`pipelineOperator`(m)),{defineProperty:_}=Object,A=(He,T)=>{He&&_(He,T,{enumerable:!1,value:He[T]})};function L(He){return A(He.loc.start,"index"),A(He.loc.end,"index"),He}class j{constructor(T,I){this.token=void 0,this.preserveSpace=void 0,this.token=T,this.preserveSpace=!!I}}let F={brace:new j("{"),j_oTag:new j("<tag"),j_cTag:new j("</tag"),j_expr:new j("<tag>...</tag>",!0)};F.template=new j("`",!0);class k{constructor(T,I={}){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=T,this.keyword=I.keyword,this.beforeExpr=!!I.beforeExpr,this.startsExpr=!!I.startsExpr,this.rightAssociative=!!I.rightAssociative,this.isLoop=!!I.isLoop,this.isAssign=!!I.isAssign,this.prefix=!!I.prefix,this.postfix=!!I.postfix,this.binop=I.binop!=null?I.binop:null,this.updateContext=null}}let U=new Map;function z(He,T={}){T.keyword=He;let I=W(He,T);return U.set(He,I),I}function C(He,T){return W(He,{beforeExpr:!0,binop:T})}let R=-1,G=[],V=[],B=[],q=[],K=[],$=[];function W(He,T={}){var I,H,re,we;return++R,V.push(He),B.push((I=T.binop)!=null?I:-1),q.push((H=T.beforeExpr)!=null&&H),K.push((re=T.startsExpr)!=null&&re),$.push((we=T.prefix)!=null&&we),G.push(new k(He,T)),R}function Z(He,T={}){var I,H,re,we;return++R,U.set(He,R),V.push(He),B.push((I=T.binop)!=null?I:-1),q.push((H=T.beforeExpr)!=null&&H),K.push((re=T.startsExpr)!=null&&re),$.push((we=T.prefix)!=null&&we),G.push(new k("name",T)),R}let Q={bracketL:W("[",{beforeExpr:!0,startsExpr:!0}),bracketHashL:W("#[",{beforeExpr:!0,startsExpr:!0}),bracketBarL:W("[|",{beforeExpr:!0,startsExpr:!0}),bracketR:W("]"),bracketBarR:W("|]"),braceL:W("{",{beforeExpr:!0,startsExpr:!0}),braceBarL:W("{|",{beforeExpr:!0,startsExpr:!0}),braceHashL:W("#{",{beforeExpr:!0,startsExpr:!0}),braceR:W("}"),braceBarR:W("|}"),parenL:W("(",{beforeExpr:!0,startsExpr:!0}),parenR:W(")"),comma:W(",",{beforeExpr:!0}),semi:W(";",{beforeExpr:!0}),colon:W(":",{beforeExpr:!0}),doubleColon:W("::",{beforeExpr:!0}),dot:W("."),question:W("?",{beforeExpr:!0}),questionDot:W("?."),arrow:W("=>",{beforeExpr:!0}),template:W("template"),ellipsis:W("...",{beforeExpr:!0}),backQuote:W("`",{startsExpr:!0}),dollarBraceL:W("${",{beforeExpr:!0,startsExpr:!0}),templateTail:W("...`",{startsExpr:!0}),templateNonTail:W("...${",{beforeExpr:!0,startsExpr:!0}),at:W("@"),hash:W("#",{startsExpr:!0}),interpreterDirective:W("#!..."),eq:W("=",{beforeExpr:!0,isAssign:!0}),assign:W("_=",{beforeExpr:!0,isAssign:!0}),slashAssign:W("_=",{beforeExpr:!0,isAssign:!0}),xorAssign:W("_=",{beforeExpr:!0,isAssign:!0}),moduloAssign:W("_=",{beforeExpr:!0,isAssign:!0}),incDec:W("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:W("!",{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:W("~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),doubleCaret:W("^^",{startsExpr:!0}),doubleAt:W("@@",{startsExpr:!0}),pipeline:C("|>",0),nullishCoalescing:C("??",1),logicalOR:C("||",1),logicalAND:C("&&",2),bitwiseOR:C("|",3),bitwiseXOR:C("^",4),bitwiseAND:C("&",5),equality:C("==/!=/===/!==",6),lt:C("</>/<=/>=",7),gt:C("</>/<=/>=",7),relational:C("</>/<=/>=",7),bitShift:C("<</>>/>>>",8),bitShiftL:C("<</>>/>>>",8),bitShiftR:C("<</>>/>>>",8),plusMin:W("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:W("%",{binop:10,startsExpr:!0}),star:W("*",{binop:10}),slash:C("/",10),exponent:W("**",{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:z("in",{beforeExpr:!0,binop:7}),_instanceof:z("instanceof",{beforeExpr:!0,binop:7}),_break:z("break"),_case:z("case",{beforeExpr:!0}),_catch:z("catch"),_continue:z("continue"),_debugger:z("debugger"),_default:z("default",{beforeExpr:!0}),_else:z("else",{beforeExpr:!0}),_finally:z("finally"),_function:z("function",{startsExpr:!0}),_if:z("if"),_return:z("return",{beforeExpr:!0}),_switch:z("switch"),_throw:z("throw",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:z("try"),_var:z("var"),_const:z("const"),_with:z("with"),_new:z("new",{beforeExpr:!0,startsExpr:!0}),_this:z("this",{startsExpr:!0}),_super:z("super",{startsExpr:!0}),_class:z("class",{startsExpr:!0}),_extends:z("extends",{beforeExpr:!0}),_export:z("export"),_import:z("import",{startsExpr:!0}),_null:z("null",{startsExpr:!0}),_true:z("true",{startsExpr:!0}),_false:z("false",{startsExpr:!0}),_typeof:z("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:z("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:z("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:z("do",{isLoop:!0,beforeExpr:!0}),_for:z("for",{isLoop:!0}),_while:z("while",{isLoop:!0}),_as:Z("as",{startsExpr:!0}),_assert:Z("assert",{startsExpr:!0}),_async:Z("async",{startsExpr:!0}),_await:Z("await",{startsExpr:!0}),_defer:Z("defer",{startsExpr:!0}),_from:Z("from",{startsExpr:!0}),_get:Z("get",{startsExpr:!0}),_let:Z("let",{startsExpr:!0}),_meta:Z("meta",{startsExpr:!0}),_of:Z("of",{startsExpr:!0}),_sent:Z("sent",{startsExpr:!0}),_set:Z("set",{startsExpr:!0}),_source:Z("source",{startsExpr:!0}),_static:Z("static",{startsExpr:!0}),_using:Z("using",{startsExpr:!0}),_yield:Z("yield",{startsExpr:!0}),_asserts:Z("asserts",{startsExpr:!0}),_checks:Z("checks",{startsExpr:!0}),_exports:Z("exports",{startsExpr:!0}),_global:Z("global",{startsExpr:!0}),_implements:Z("implements",{startsExpr:!0}),_intrinsic:Z("intrinsic",{startsExpr:!0}),_infer:Z("infer",{startsExpr:!0}),_is:Z("is",{startsExpr:!0}),_mixins:Z("mixins",{startsExpr:!0}),_proto:Z("proto",{startsExpr:!0}),_require:Z("require",{startsExpr:!0}),_satisfies:Z("satisfies",{startsExpr:!0}),_keyof:Z("keyof",{startsExpr:!0}),_readonly:Z("readonly",{startsExpr:!0}),_unique:Z("unique",{startsExpr:!0}),_abstract:Z("abstract",{startsExpr:!0}),_declare:Z("declare",{startsExpr:!0}),_enum:Z("enum",{startsExpr:!0}),_module:Z("module",{startsExpr:!0}),_namespace:Z("namespace",{startsExpr:!0}),_interface:Z("interface",{startsExpr:!0}),_type:Z("type",{startsExpr:!0}),_opaque:Z("opaque",{startsExpr:!0}),name:W("name",{startsExpr:!0}),placeholder:W("%%",{startsExpr:!0}),string:W("string",{startsExpr:!0}),num:W("num",{startsExpr:!0}),bigint:W("bigint",{startsExpr:!0}),decimal:W("decimal",{startsExpr:!0}),regexp:W("regexp",{startsExpr:!0}),privateName:W("#name",{startsExpr:!0}),eof:W("eof"),jsxName:W("jsxName"),jsxText:W("jsxText",{beforeExpr:!0}),jsxTagStart:W("jsxTagStart",{startsExpr:!0}),jsxTagEnd:W("jsxTagEnd")};function X(He){return He>=93&&He<=133}function ie(He){return He>=58&&He<=133}function oe(He){return He>=58&&He<=137}function be(He){return K[He]}function Ne(He){return He>=129&&He<=131}function Pe(He){return He>=58&&He<=92}function Ke(He){return V[He]}function We(He){return B[He]}function Oe(He){return He>=24&&He<=25}function de(He){return G[He]}G[8].updateContext=He=>{He.pop()},G[5].updateContext=G[7].updateContext=G[23].updateContext=He=>{He.push(F.brace)},G[22].updateContext=He=>{He[He.length-1]===F.template?He.pop():He.push(F.template)},G[143].updateContext=He=>{He.push(F.j_expr,F.j_oTag)};let xe="\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-\u1C8A\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-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\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",ye="\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\u0897-\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\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\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\uFF65",ve=new RegExp("["+xe+"]"),he=new RegExp("["+xe+ye+"]");xe=ye=null;let Te=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,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,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,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,229,29,3,0,496,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,16,621,2467,541,1507,4938,6,4191],Ce=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function se(He,T){let I=65536;for(let H=0,re=T.length;H<re;H+=2){if(I+=T[H],I>He)return!1;if(I+=T[H+1],I>=He)return!0}return!1}function pe(He){return He<65?He===36:He<=90||(He<97?He===95:He<=122||(He<=65535?He>=170&&ve.test(String.fromCharCode(He)):se(He,Te)))}function nt(He){return He<48?He===36:He<58||!(He<65)&&(He<=90||(He<97?He===95:He<=122||(He<=65535?He>=170&&he.test(String.fromCharCode(He)):se(He,Te)||se(He,Ce))))}let ft=["implements","interface","let","package","private","protected","public","static","yield"],_t=["eval","arguments"],Pt=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"]),ht=new Set(ft),De=new Set(_t);function ze(He,T){return T&&He==="await"||He==="enum"}function Ze(He,T){return ze(He,T)||ht.has(He)}function tt(He){return De.has(He)}function ge(He,T){return Ze(He,T)||tt(He)}let fe=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 ee{constructor(T){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=T}}class le{constructor(T,I){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=T,this.inModule=I}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 T=this.currentThisScopeFlags();return(64&T)>0&&!(2&T)}get inStaticBlock(){for(let T=this.scopeStack.length-1;;T--){let{flags:I}=this.scopeStack[T];if(128&I)return!0;if(451&I)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(T){return new ee(T)}enter(T){this.scopeStack.push(this.createScope(T))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(T){return!!(130&T.flags||!this.parser.inModule&&1&T.flags)}declareName(T,I,H){let re=this.currentScope();if(8&I||16&I){this.checkRedeclarationInScope(re,T,I,H);let we=re.names.get(T)||0;16&I?we|=4:(re.firstLexicalName||(re.firstLexicalName=T),we|=2),re.names.set(T,we),8&I&&this.maybeExportDefined(re,T)}else if(4&I)for(let we=this.scopeStack.length-1;we>=0&&(re=this.scopeStack[we],this.checkRedeclarationInScope(re,T,I,H),re.names.set(T,1|(re.names.get(T)||0)),this.maybeExportDefined(re,T),!(387&re.flags));--we);this.parser.inModule&&1&re.flags&&this.undefinedExports.delete(T)}maybeExportDefined(T,I){this.parser.inModule&&1&T.flags&&this.undefinedExports.delete(I)}checkRedeclarationInScope(T,I,H,re){this.isRedeclaredInScope(T,I,H)&&this.parser.raise(S.VarRedeclaration,re,{identifierName:I})}isRedeclaredInScope(T,I,H){if(!(1&H))return!1;if(8&H)return T.names.has(I);let re=T.names.get(I);return 16&H?(2&re)>0||!this.treatFunctionsAsVarInScope(T)&&(1&re)>0:(2&re)>0&&!(8&T.flags&&T.firstLexicalName===I)||!this.treatFunctionsAsVarInScope(T)&&(4&re)>0}checkLocalExport(T){let{name:I}=T;this.scopeStack[0].names.has(I)||this.undefinedExports.set(I,T.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let T=this.scopeStack.length-1;;T--){let{flags:I}=this.scopeStack[T];if(387&I)return I}}currentThisScopeFlags(){for(let T=this.scopeStack.length-1;;T--){let{flags:I}=this.scopeStack[T];if(451&I&&!(4&I))return I}}}class Se extends ee{constructor(...T){super(...T),this.declareFunctions=new Set}}class Ee extends le{createScope(T){return new Se(T)}declareName(T,I,H){let re=this.currentScope();if(2048&I)return this.checkRedeclarationInScope(re,T,I,H),this.maybeExportDefined(re,T),void re.declareFunctions.add(T);super.declareName(T,I,H)}isRedeclaredInScope(T,I,H){if(super.isRedeclaredInScope(T,I,H))return!0;if(2048&H&&!T.declareFunctions.has(I)){let re=T.names.get(I);return(4&re)>0||(2&re)>0}return!1}checkLocalExport(T){this.scopeStack[0].declareFunctions.has(T.name)||super.checkLocalExport(T)}}class Be{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(T){return T+this.startIndex}offsetToSourcePos(T){return T-this.startIndex}hasPlugin(T){if(typeof T=="string")return this.plugins.has(T);{let[I,H]=T;if(!this.hasPlugin(I))return!1;let re=this.plugins.get(I);for(let we of Object.keys(H))if((re==null?void 0:re[we])!==H[we])return!1;return!0}}getPluginOption(T,I){var H;return(H=this.plugins.get(T))==null?void 0:H[I]}}function Qe(He,T){He.trailingComments===void 0?He.trailingComments=T:He.trailingComments.unshift(...T)}function ce(He,T){He.innerComments===void 0?He.innerComments=T:He.innerComments.unshift(...T)}function $e(He,T,I){let H=null,re=T.length;for(;H===null&&re>0;)H=T[--re];H===null||H.start>I.start?ce(He,I.comments):Qe(H,I.comments)}class et extends Be{addComment(T){this.filename&&(T.loc.filename=this.filename);let{commentsLen:I}=this.state;this.comments.length!==I&&(this.comments.length=I),this.comments.push(T),this.state.commentsLen++}processComment(T){let{commentStack:I}=this.state,H=I.length;if(H===0)return;let re=H-1,we=I[re];we.start===T.end&&(we.leadingNode=T,re--);let{start:qe}=T;for(;re>=0;re--){let it=I[re],ot=it.end;if(!(ot>qe)){ot===qe&&(it.trailingNode=T);break}it.containingNode=T,this.finalizeComment(it),I.splice(re,1)}}finalizeComment(T){let{comments:I}=T;if(T.leadingNode!==null||T.trailingNode!==null)T.leadingNode!==null&&Qe(T.leadingNode,I),T.trailingNode!==null&&(function(H,re){H.leadingComments===void 0?H.leadingComments=re:H.leadingComments.unshift(...re)})(T.trailingNode,I);else{let{containingNode:H,start:re}=T;if(this.input.charCodeAt(this.offsetToSourcePos(re)-1)===44)switch(H.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":$e(H,H.properties,T);break;case"CallExpression":case"OptionalCallExpression":$e(H,H.arguments,T);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":$e(H,H.params,T);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":$e(H,H.elements,T);break;case"ExportNamedDeclaration":case"ImportDeclaration":$e(H,H.specifiers,T);break;default:ce(H,I)}else ce(H,I)}}finalizeRemainingComments(){let{commentStack:T}=this.state;for(let I=T.length-1;I>=0;I--)this.finalizeComment(T[I]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(T){let{commentStack:I}=this.state,{length:H}=I;if(H===0)return;let re=I[H-1];re.leadingNode===T&&(re.leadingNode=null)}resetPreviousIdentifierLeadingComments(T){let{commentStack:I}=this.state,{length:H}=I;H!==0&&(I[H-1].trailingNode===T?I[H-1].trailingNode=null:H>=2&&I[H-2].trailingNode===T&&(I[H-2].trailingNode=null))}takeSurroundingComments(T,I,H){let{commentStack:re}=this.state,we=re.length;if(we===0)return;let qe=we-1;for(;qe>=0;qe--){let it=re[qe],ot=it.end;if(it.start===H)it.leadingNode=T;else if(ot===I)it.trailingNode=T;else if(ot<I)break}}}let ut=new RegExp(/\r\n|[\r\n\u2028\u2029]/.source,"g");function Je(He){switch(He){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function Le(He,T,I){for(let H=T;H<I;H++)if(Je(He.charCodeAt(H)))return!0;return!1}let at=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Et=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function Rt(He){switch(He){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 lr{constructor(){this.flags=1024,this.startIndex=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.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=140,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[F.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(1&this.flags)>0}set strict(T){T?this.flags|=1:this.flags&=-2}init({strictMode:T,sourceType:I,startIndex:H,startLine:re,startColumn:we}){this.strict=T!==!1&&(T===!0||I==="module"),this.startIndex=H,this.curLine=re,this.lineStart=-we,this.startLoc=this.endLoc=new n(re,we,H)}get maybeInArrowParameters(){return(2&this.flags)>0}set maybeInArrowParameters(T){T?this.flags|=2:this.flags&=-3}get inType(){return(4&this.flags)>0}set inType(T){T?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(8&this.flags)>0}set noAnonFunctionType(T){T?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(16&this.flags)>0}set hasFlowComment(T){T?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(32&this.flags)>0}set isAmbientContext(T){T?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(64&this.flags)>0}set inAbstractClass(T){T?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(128&this.flags)>0}set inDisallowConditionalTypesContext(T){T?this.flags|=128:this.flags&=-129}get soloAwait(){return(256&this.flags)>0}set soloAwait(T){T?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(512&this.flags)>0}set inFSharpPipelineDirectBody(T){T?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(1024&this.flags)>0}set canStartJSXElement(T){T?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(2048&this.flags)>0}set containsEsc(T){T?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(4096&this.flags)>0}set hasTopLevelAwait(T){T?this.flags|=4096:this.flags&=-4097}curPosition(){return new n(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let T=new lr;return T.flags=this.flags,T.startIndex=this.startIndex,T.curLine=this.curLine,T.lineStart=this.lineStart,T.startLoc=this.startLoc,T.endLoc=this.endLoc,T.errors=this.errors.slice(),T.potentialArrowAt=this.potentialArrowAt,T.noArrowAt=this.noArrowAt.slice(),T.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),T.topicContext=this.topicContext,T.labels=this.labels.slice(),T.commentsLen=this.commentsLen,T.commentStack=this.commentStack.slice(),T.pos=this.pos,T.type=this.type,T.value=this.value,T.start=this.start,T.end=this.end,T.lastTokEndLoc=this.lastTokEndLoc,T.lastTokStartLoc=this.lastTokStartLoc,T.context=this.context.slice(),T.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,T.strictErrors=this.strictErrors,T.tokensLength=this.tokensLength,T}}var xt=function(He){return He>=48&&He<=57};let ar={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},yr={bin:He=>He===48||He===49,oct:He=>He>=48&&He<=55,dec:He=>He>=48&&He<=57,hex:He=>He>=48&&He<=57||He>=65&&He<=70||He>=97&&He<=102};function Pr(He,T,I,H,re,we){let qe=I,it=H,ot=re,mt="",jt=null,Zt=I,{length:Br}=T;for(;;){if(I>=Br){we.unterminated(qe,it,ot),mt+=T.slice(Zt,I);break}let Er=T.charCodeAt(I);if(Rr(He,Er,T,I)){mt+=T.slice(Zt,I);break}if(Er===92){mt+=T.slice(Zt,I);let rn=ln(T,I,H,re,He==="template",we);rn.ch!==null||jt?mt+=rn.ch:jt={pos:I,lineStart:H,curLine:re},{pos:I,lineStart:H,curLine:re}=rn,Zt=I}else Er===8232||Er===8233?(++re,H=++I):Er===10||Er===13?He==="template"?(mt+=T.slice(Zt,I)+`
|
|
`,++I,Er===13&&T.charCodeAt(I)===10&&++I,++re,Zt=H=I):we.unterminated(qe,it,ot):++I}return{pos:I,str:mt,firstInvalidLoc:jt,lineStart:H,curLine:re,containsInvalid:!!jt}}function Rr(He,T,I,H){return He==="template"?T===96||T===36&&I.charCodeAt(H+1)===123:T===(He==="double"?34:39)}function ln(He,T,I,H,re,we){let qe=!re;T++;let it=mt=>({pos:T,ch:mt,lineStart:I,curLine:H}),ot=He.charCodeAt(T++);switch(ot){case 110:return it(`
|
|
`);case 114:return it("\r");case 120:{let mt;return{code:mt,pos:T}=Tn(He,T,I,H,2,!1,qe,we),it(mt===null?null:String.fromCharCode(mt))}case 117:{let mt;return{code:mt,pos:T}=er(He,T,I,H,qe,we),it(mt===null?null:String.fromCodePoint(mt))}case 116:return it(" ");case 98:return it("\b");case 118:return it("\v");case 102:return it("\f");case 13:He.charCodeAt(T)===10&&++T;case 10:I=T,++H;case 8232:case 8233:return it("");case 56:case 57:if(re)return it(null);we.strictNumericEscape(T-1,I,H);default:if(ot>=48&&ot<=55){let mt=T-1,jt=/^[0-7]+/.exec(He.slice(mt,T+2))[0],Zt=parseInt(jt,8);Zt>255&&(jt=jt.slice(0,-1),Zt=parseInt(jt,8)),T+=jt.length-1;let Br=He.charCodeAt(T);if(jt!=="0"||Br===56||Br===57){if(re)return it(null);we.strictNumericEscape(mt,I,H)}return it(String.fromCharCode(Zt))}return it(String.fromCharCode(ot))}}function Tn(He,T,I,H,re,we,qe,it){let ot=T,mt;return{n:mt,pos:T}=Pn(He,T,I,H,16,re,we,!1,it,!qe),mt===null&&(qe?it.invalidEscapeSequence(ot,I,H):T=ot-1),{code:mt,pos:T}}function Pn(He,T,I,H,re,we,qe,it,ot,mt){let jt=T,Zt=re===16?ar.hex:ar.decBinOct,Br=re===16?yr.hex:re===10?yr.dec:re===8?yr.oct:yr.bin,Er=!1,rn=0;for(let Wn=0,Un=we??1/0;Wn<Un;++Wn){let Fn=He.charCodeAt(T),hi;if(Fn!==95||it==="bail"){if(hi=Fn>=97?Fn-97+10:Fn>=65?Fn-65+10:xt(Fn)?Fn-48:1/0,hi>=re){if(hi<=9&&mt)return{n:null,pos:T};if(hi<=9&&ot.invalidDigit(T,I,H,re))hi=0;else{if(!qe)break;hi=0,Er=!0}}++T,rn=rn*re+hi}else{let Ue=He.charCodeAt(T-1),g=He.charCodeAt(T+1);if(it){if(Number.isNaN(g)||!Br(g)||Zt.has(Ue)||Zt.has(g)){if(mt)return{n:null,pos:T};ot.unexpectedNumericSeparator(T,I,H)}}else{if(mt)return{n:null,pos:T};ot.numericSeparatorInEscapeSequence(T,I,H)}++T}}return T===jt||we!=null&&T-jt!==we||Er?{n:null,pos:T}:{n:rn,pos:T}}function er(He,T,I,H,re,we){let qe;if(He.charCodeAt(T)===123){if(++T,{code:qe,pos:T}=Tn(He,T,I,H,He.indexOf("}",T)-T,!0,re,we),++T,qe!==null&&qe>1114111){if(!re)return{code:null,pos:T};we.invalidCodePoint(T,I,H)}}else({code:qe,pos:T}=Tn(He,T,I,H,4,!1,re,we));return{code:qe,pos:T}}function Yr(He,T,I){return new n(I,He-T,He)}let gr=new Set([103,109,115,105,121,117,100,118]);class An{constructor(T){let I=T.startIndex||0;this.type=T.type,this.value=T.value,this.start=I+T.start,this.end=I+T.end,this.loc=new c(T.startLoc,T.endLoc)}}class rt extends et{constructor(T,I){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(H,re,we,qe)=>!!this.options.errorRecovery&&(this.raise(S.InvalidDigit,Yr(H,re,we),{radix:qe}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(S.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(S.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(S.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(S.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(H,re,we)=>{this.recordStrictModeErrors(S.StrictNumericEscape,Yr(H,re,we))},unterminated:(H,re,we)=>{throw this.raise(S.UnterminatedString,Yr(H-1,re,we))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(S.StrictNumericEscape),unterminated:(H,re,we)=>{throw this.raise(S.UnterminatedTemplate,Yr(H,re,we))}}),this.state=new lr,this.state.init(T),this.input=I,this.length=I.length,this.comments=[],this.isLookahead=!1}pushToken(T){this.tokens.length=this.state.tokensLength,this.tokens.push(T),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new An(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(T){return!!this.match(T)&&(this.next(),!0)}match(T){return this.state.type===T}createLookaheadState(T){return{pos:T.pos,value:null,type:T.type,start:T.start,end:T.end,context:[this.curContext()],inType:T.inType,startLoc:T.startLoc,lastTokEndLoc:T.lastTokEndLoc,curLine:T.curLine,lineStart:T.lineStart,curPosition:T.curPosition}}lookahead(){let T=this.state;this.state=this.createLookaheadState(T),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let I=this.state;return this.state=T,I}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(T){return at.lastIndex=T,at.test(this.input)?at.lastIndex:T}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(T){return Et.lastIndex=T,Et.test(this.input)?Et.lastIndex:T}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(T){let I=this.input.charCodeAt(T);if((64512&I)==55296&&++T<this.input.length){let H=this.input.charCodeAt(T);(64512&H)==56320&&(I=65536+((1023&I)<<10)+(1023&H))}return I}setStrict(T){this.state.strict=T,T&&(this.state.strictErrors.forEach((([I,H])=>this.raise(I,H))),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(140):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(T){let I;this.isLookahead||(I=this.state.curPosition());let H=this.state.pos,re=this.input.indexOf(T,H+2);if(re===-1)throw this.raise(S.UnterminatedComment,this.state.curPosition());for(this.state.pos=re+T.length,ut.lastIndex=H+2;ut.test(this.input)&&ut.lastIndex<=re;)++this.state.curLine,this.state.lineStart=ut.lastIndex;if(this.isLookahead)return;let we={type:"CommentBlock",value:this.input.slice(H+2,re),start:this.sourceToOffsetPos(H),end:this.sourceToOffsetPos(re+T.length),loc:new c(I,this.state.curPosition())};return this.options.tokens&&this.pushToken(we),we}skipLineComment(T){let I=this.state.pos,H;this.isLookahead||(H=this.state.curPosition());let re=this.input.charCodeAt(this.state.pos+=T);if(this.state.pos<this.length)for(;!Je(re)&&++this.state.pos<this.length;)re=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let we=this.state.pos,qe={type:"CommentLine",value:this.input.slice(I+T,we),start:this.sourceToOffsetPos(I),end:this.sourceToOffsetPos(we),loc:new c(H,this.state.curPosition())};return this.options.tokens&&this.pushToken(qe),qe}skipSpace(){let T=this.state.pos,I=[];e:for(;this.state.pos<this.length;){let H=this.input.charCodeAt(this.state.pos);switch(H){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 re=this.skipBlockComment("*/");re!==void 0&&(this.addComment(re),this.options.attachComment&&I.push(re));break}case 47:{let re=this.skipLineComment(2);re!==void 0&&(this.addComment(re),this.options.attachComment&&I.push(re));break}default:break e}break;default:if(Rt(H))++this.state.pos;else if(H===45&&!this.inModule&&this.options.annexB){let re=this.state.pos;if(this.input.charCodeAt(re+1)!==45||this.input.charCodeAt(re+2)!==62||!(T===0||this.state.lineStart>T))break e;{let we=this.skipLineComment(3);we!==void 0&&(this.addComment(we),this.options.attachComment&&I.push(we))}}else{if(H!==60||this.inModule||!this.options.annexB)break e;{let re=this.state.pos;if(this.input.charCodeAt(re+1)!==33||this.input.charCodeAt(re+2)!==45||this.input.charCodeAt(re+3)!==45)break e;{let we=this.skipLineComment(4);we!==void 0&&(this.addComment(we),this.options.attachComment&&I.push(we))}}}}}if(I.length>0){let H=this.state.pos,re={start:this.sourceToOffsetPos(T),end:this.sourceToOffsetPos(H),comments:I,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(re)}}finishToken(T,I){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let H=this.state.type;this.state.type=T,this.state.value=I,this.isLookahead||this.updateContext(H)}replaceToken(T){this.state.type=T,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let T=this.state.pos+1,I=this.codePointAtPos(T);if(I>=48&&I<=57)throw this.raise(S.UnexpectedDigitAfterHash,this.state.curPosition());if(I===123||I===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(I===123?S.RecordExpressionHashIncorrectStartSyntaxType:S.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,I===123?this.finishToken(7):this.finishToken(1)}else pe(I)?(++this.state.pos,this.finishToken(139,this.readWord1(I))):I===92?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let T=this.input.charCodeAt(this.state.pos+1);T>=48&&T<=57?this.readNumber(!0):T===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 T=this.input.charCodeAt(this.state.pos+1);if(T!==33)return!1;let I=this.state.pos;for(this.state.pos+=1;!Je(T)&&++this.state.pos<this.length;)T=this.input.charCodeAt(this.state.pos);let H=this.input.slice(I+2,this.state.pos);return this.finishToken(28,H),!0}readToken_mult_modulo(T){let I=T===42?55:54,H=1,re=this.input.charCodeAt(this.state.pos+1);T===42&&re===42&&(H++,re=this.input.charCodeAt(this.state.pos+2),I=57),re!==61||this.state.inType||(H++,I=T===37?33:30),this.finishOp(I,H)}readToken_pipe_amp(T){let I=this.input.charCodeAt(this.state.pos+1);if(I!==T){if(T===124){if(I===62)return void this.finishOp(39,2);if(this.hasPlugin("recordAndTuple")&&I===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(S.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&I===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(S.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());return this.state.pos+=2,void this.finishToken(4)}}I!==61?this.finishOp(T===124?43:45,1):this.finishOp(30,2)}else this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(T===124?41:42,2)}readToken_caret(){let T=this.input.charCodeAt(this.state.pos+1);T!==61||this.state.inType?T===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(T){let I=this.input.charCodeAt(this.state.pos+1);I!==T?I===61?this.finishOp(30,2):this.finishOp(53,1):this.finishOp(34,2)}readToken_lt(){let{pos:T}=this.state,I=this.input.charCodeAt(T+1);if(I===60)return this.input.charCodeAt(T+2)===61?void this.finishOp(30,3):void this.finishOp(51,2);I!==61?this.finishOp(47,1):this.finishOp(49,2)}readToken_gt(){let{pos:T}=this.state,I=this.input.charCodeAt(T+1);if(I===62){let H=this.input.charCodeAt(T+2)===62?3:2;return this.input.charCodeAt(T+H)===61?void this.finishOp(30,H+1):void this.finishOp(52,H)}I!==61?this.finishOp(48,1):this.finishOp(49,2)}readToken_eq_excl(T){let I=this.input.charCodeAt(this.state.pos+1);if(I!==61)return T===61&&I===62?(this.state.pos+=2,void this.finishToken(19)):void this.finishOp(T===61?29:35,1);this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2)}readToken_question(){let T=this.input.charCodeAt(this.state.pos+1),I=this.input.charCodeAt(this.state.pos+2);T===63?I===61?this.finishOp(30,3):this.finishOp(40,2):T!==46||I>=48&&I<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(T){switch(T){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(S.TupleExpressionBarIncorrectStartSyntaxType,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(S.RecordExpressionBarIncorrectStartSyntaxType,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 I=this.input.charCodeAt(this.state.pos+1);if(I===120||I===88)return void this.readRadixNumber(16);if(I===111||I===79)return void this.readRadixNumber(8);if(I===98||I===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(T);case 47:return void this.readToken_slash();case 37:case 42:return void this.readToken_mult_modulo(T);case 124:case 38:return void this.readToken_pipe_amp(T);case 94:return void this.readToken_caret();case 43:case 45:return void this.readToken_plus_min(T);case 60:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(T);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(pe(T))return void this.readWord(T)}throw this.raise(S.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(T)})}finishOp(T,I){let H=this.input.slice(this.state.pos,this.state.pos+I);this.state.pos+=I,this.finishToken(T,H)}readRegexp(){let T=this.state.startLoc,I=this.state.start+1,H,re,{pos:we}=this.state;for(;;++we){if(we>=this.length)throw this.raise(S.UnterminatedRegExp,p(T,1));let mt=this.input.charCodeAt(we);if(Je(mt))throw this.raise(S.UnterminatedRegExp,p(T,1));if(H)H=!1;else{if(mt===91)re=!0;else if(mt===93&&re)re=!1;else if(mt===47&&!re)break;H=mt===92}}let qe=this.input.slice(I,we);++we;let it="",ot=()=>p(T,we+2-I);for(;we<this.length;){let mt=this.codePointAtPos(we),jt=String.fromCharCode(mt);if(gr.has(mt))mt===118?it.includes("u")&&this.raise(S.IncompatibleRegExpUVFlags,ot()):mt===117&&it.includes("v")&&this.raise(S.IncompatibleRegExpUVFlags,ot()),it.includes(jt)&&this.raise(S.DuplicateRegExpFlags,ot());else{if(!nt(mt)&&mt!==92)break;this.raise(S.MalformedRegExpFlags,ot())}++we,it+=jt}this.state.pos=we,this.finishToken(138,{pattern:qe,flags:it})}readInt(T,I,H=!1,re=!0){let{n:we,pos:qe}=Pn(this.input,this.state.pos,this.state.lineStart,this.state.curLine,T,I,H,re,this.errorHandlers_readInt,!1);return this.state.pos=qe,we}readRadixNumber(T){let I=this.state.pos,H=this.state.curPosition(),re=!1;this.state.pos+=2;let we=this.readInt(T);we==null&&this.raise(S.InvalidDigit,p(H,2),{radix:T});let qe=this.input.charCodeAt(this.state.pos);if(qe===110)++this.state.pos,re=!0;else if(qe===109)throw this.raise(S.InvalidDecimal,H);if(pe(this.codePointAtPos(this.state.pos)))throw this.raise(S.NumberIdentifier,this.state.curPosition());if(re){let it=this.input.slice(I,this.state.pos).replace(/[_n]/g,"");this.finishToken(136,it)}else this.finishToken(135,we)}readNumber(T){let I=this.state.pos,H=this.state.curPosition(),re=!1,we=!1,qe=!1,it=!1;T||this.readInt(10)!==null||this.raise(S.InvalidNumber,this.state.curPosition());let ot=this.state.pos-I>=2&&this.input.charCodeAt(I)===48;if(ot){let Er=this.input.slice(I,this.state.pos);if(this.recordStrictModeErrors(S.StrictOctalLiteral,H),!this.state.strict){let rn=Er.indexOf("_");rn>0&&this.raise(S.ZeroDigitNumericSeparator,p(H,rn))}it=ot&&!/[89]/.test(Er)}let mt=this.input.charCodeAt(this.state.pos);if(mt!==46||it||(++this.state.pos,this.readInt(10),re=!0,mt=this.input.charCodeAt(this.state.pos)),mt!==69&&mt!==101||it||(mt=this.input.charCodeAt(++this.state.pos),mt!==43&&mt!==45||++this.state.pos,this.readInt(10)===null&&this.raise(S.InvalidOrMissingExponent,H),re=!0,qe=!0,mt=this.input.charCodeAt(this.state.pos)),mt===110&&((re||ot)&&this.raise(S.InvalidBigIntLiteral,H),++this.state.pos,we=!0),mt===109){this.expectPlugin("decimal",this.state.curPosition()),(qe||ot)&&this.raise(S.InvalidDecimal,H),++this.state.pos;var jt=!0}if(pe(this.codePointAtPos(this.state.pos)))throw this.raise(S.NumberIdentifier,this.state.curPosition());let Zt=this.input.slice(I,this.state.pos).replace(/[_mn]/g,"");if(we)return void this.finishToken(136,Zt);if(jt)return void this.finishToken(137,Zt);let Br=it?parseInt(Zt,8):parseFloat(Zt);this.finishToken(135,Br)}readCodePoint(T){let{code:I,pos:H}=er(this.input,this.state.pos,this.state.lineStart,this.state.curLine,T,this.errorHandlers_readCodePoint);return this.state.pos=H,I}readString(T){let{str:I,pos:H,curLine:re,lineStart:we}=Pr(T===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=H+1,this.state.lineStart=we,this.state.curLine=re,this.finishToken(134,I)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let T=this.input[this.state.pos],{str:I,firstInvalidLoc:H,pos:re,curLine:we,lineStart:qe}=Pr("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=re+1,this.state.lineStart=qe,this.state.curLine=we,H&&(this.state.firstInvalidTemplateEscapePos=new n(H.curLine,H.pos-H.lineStart,this.sourceToOffsetPos(H.pos))),this.input.codePointAt(re)===96?this.finishToken(24,H?null:T+I+"`"):(this.state.pos++,this.finishToken(25,H?null:T+I+"${"))}recordStrictModeErrors(T,I){let H=I.index;this.state.strict&&!this.state.strictErrors.has(H)?this.raise(T,I):this.state.strictErrors.set(H,[T,I])}readWord1(T){this.state.containsEsc=!1;let I="",H=this.state.pos,re=this.state.pos;for(T!==void 0&&(this.state.pos+=T<=65535?1:2);this.state.pos<this.length;){let we=this.codePointAtPos(this.state.pos);if(nt(we))this.state.pos+=we<=65535?1:2;else{if(we!==92)break;{this.state.containsEsc=!0,I+=this.input.slice(re,this.state.pos);let qe=this.state.curPosition(),it=this.state.pos===H?pe:nt;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(S.MissingUnicodeEscape,this.state.curPosition()),re=this.state.pos-1;continue}++this.state.pos;let ot=this.readCodePoint(!0);ot!==null&&(it(ot)||this.raise(S.EscapedCharNotAnIdentifier,qe),I+=String.fromCodePoint(ot)),re=this.state.pos}}}return I+this.input.slice(re,this.state.pos)}readWord(T){let I=this.readWord1(T),H=U.get(I);H!==void 0?this.finishToken(H,Ke(H)):this.finishToken(132,I)}checkKeywordEscapes(){let{type:T}=this.state;Pe(T)&&this.state.containsEsc&&this.raise(S.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:Ke(T)})}raise(T,I,H={}){let re=T(I instanceof n?I:I.loc.start,H);if(!this.options.errorRecovery)throw re;return this.isLookahead||this.state.errors.push(re),re}raiseOverwrite(T,I,H={}){let re=I instanceof n?I:I.loc.start,we=re.index,qe=this.state.errors;for(let it=qe.length-1;it>=0;it--){let ot=qe[it];if(ot.loc.index===we)return qe[it]=T(re,H);if(ot.loc.index<we)break}return this.raise(T,I,H)}updateContext(T){}unexpected(T,I){throw this.raise(S.UnexpectedToken,T??this.state.startLoc,{expected:I?Ke(I):null})}expectPlugin(T,I){if(this.hasPlugin(T))return!0;throw this.raise(S.MissingPlugin,I??this.state.startLoc,{missingPlugin:[T]})}expectOnePlugin(T){if(!T.some((I=>this.hasPlugin(I))))throw this.raise(S.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:T})}errorBuilder(T){return(I,H,re)=>{this.raise(T,Yr(I,H,re))}}}class At{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class Mt{constructor(T){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=T}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new At)}exit(){let T=this.stack.pop(),I=this.current();for(let[H,re]of Array.from(T.undefinedPrivateNames))I?I.undefinedPrivateNames.has(H)||I.undefinedPrivateNames.set(H,re):this.parser.raise(S.InvalidPrivateFieldResolution,re,{identifierName:H})}declarePrivateName(T,I,H){let{privateNames:re,loneAccessors:we,undefinedPrivateNames:qe}=this.current(),it=re.has(T);if(3&I){let ot=it&&we.get(T);ot?(it=(3&ot)===(3&I)||(4&ot)!==(4&I),it||we.delete(T)):it||we.set(T,I)}it&&this.parser.raise(S.PrivateNameRedeclaration,H,{identifierName:T}),re.add(T),qe.delete(T)}usePrivateName(T,I){let H;for(H of this.stack)if(H.privateNames.has(T))return;H?H.undefinedPrivateNames.set(T,I):this.parser.raise(S.InvalidPrivateFieldResolution,I,{identifierName:T})}}class $t{constructor(T=0){this.type=T}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}}class zt extends $t{constructor(T){super(T),this.declarationErrors=new Map}recordDeclarationError(T,I){let H=I.index;this.declarationErrors.set(H,[T,I])}clearDeclarationError(T){this.declarationErrors.delete(T)}iterateErrors(T){this.declarationErrors.forEach(T)}}class qt{constructor(T){this.parser=void 0,this.stack=[new $t],this.parser=T}enter(T){this.stack.push(T)}exit(){this.stack.pop()}recordParameterInitializerError(T,I){let H=I.loc.start,{stack:re}=this,we=re.length-1,qe=re[we];for(;!qe.isCertainlyParameterDeclaration();){if(!qe.canBeArrowParameterDeclaration())return;qe.recordDeclarationError(T,H),qe=re[--we]}this.parser.raise(T,H)}recordArrowParameterBindingError(T,I){let{stack:H}=this,re=H[H.length-1],we=I.loc.start;if(re.isCertainlyParameterDeclaration())this.parser.raise(T,we);else{if(!re.canBeArrowParameterDeclaration())return;re.recordDeclarationError(T,we)}}recordAsyncArrowParametersError(T){let{stack:I}=this,H=I.length-1,re=I[H];for(;re.canBeArrowParameterDeclaration();)re.type===2&&re.recordDeclarationError(S.AwaitBindingIdentifier,T),re=I[--H]}validateAsPattern(){let{stack:T}=this,I=T[T.length-1];I.canBeArrowParameterDeclaration()&&I.iterateErrors((([H,re])=>{this.parser.raise(H,re);let we=T.length-2,qe=T[we];for(;qe.canBeArrowParameterDeclaration();)qe.clearDeclarationError(re.index),qe=T[--we]}))}}function pr(){return new $t}class xr{constructor(){this.stacks=[]}enter(T){this.stacks.push(T)}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 Hr(He,T){return(He?2:0)|(T?1:0)}class Qr extends rt{addExtra(T,I,H,re=!0){if(!T)return;let{extra:we}=T;we==null&&(we={},T.extra=we),re?we[I]=H:Object.defineProperty(we,I,{enumerable:re,value:H})}isContextual(T){return this.state.type===T&&!this.state.containsEsc}isUnparsedContextual(T,I){let H=T+I.length;if(this.input.slice(T,H)===I){let re=this.input.charCodeAt(H);return!(nt(re)||(64512&re)==55296)}return!1}isLookaheadContextual(T){let I=this.nextTokenStart();return this.isUnparsedContextual(I,T)}eatContextual(T){return!!this.isContextual(T)&&(this.next(),!0)}expectContextual(T,I){if(!this.eatContextual(T)){if(I!=null)throw this.raise(I,this.state.startLoc);this.unexpected(null,T)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Le(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return Le(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(T=!0){(T?this.isLineTerminator():this.eat(13))||this.raise(S.MissingSemicolon,this.state.lastTokEndLoc)}expect(T,I){this.eat(T)||this.unexpected(I,T)}tryParse(T,I=this.state.clone()){let H={node:null};try{let re=T(((we=null)=>{throw H.node=we,H}));if(this.state.errors.length>I.errors.length){let we=this.state;return this.state=I,this.state.tokensLength=we.tokensLength,{node:re,error:we.errors[I.errors.length],thrown:!1,aborted:!1,failState:we}}return{node:re,error:null,thrown:!1,aborted:!1,failState:null}}catch(re){let we=this.state;if(this.state=I,re instanceof SyntaxError)return{node:null,error:re,thrown:!0,aborted:!1,failState:we};if(re===H)return{node:H.node,error:null,thrown:!1,aborted:!0,failState:we};throw re}}checkExpressionErrors(T,I){if(!T)return!1;let{shorthandAssignLoc:H,doubleProtoLoc:re,privateKeyLoc:we,optionalParametersLoc:qe}=T;if(!I)return!!(H||re||qe||we);H!=null&&this.raise(S.InvalidCoverInitializedName,H),re!=null&&this.raise(S.DuplicateProto,re),we!=null&&this.raise(S.UnexpectedPrivateField,we),qe!=null&&this.unexpected(qe)}isLiteralPropertyName(){return oe(this.state.type)}isPrivateName(T){return T.type==="PrivateName"}getPrivateNameSV(T){return T.id.name}hasPropertyAsPrivateName(T){return(T.type==="MemberExpression"||T.type==="OptionalMemberExpression")&&this.isPrivateName(T.property)}isObjectProperty(T){return T.type==="ObjectProperty"}isObjectMethod(T){return T.type==="ObjectMethod"}initializeScopes(T=this.options.sourceType==="module"){let I=this.state.labels;this.state.labels=[];let H=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let re=this.inModule;this.inModule=T;let we=this.scope,qe=this.getScopeHandler();this.scope=new qe(this,T);let it=this.prodParam;this.prodParam=new xr;let ot=this.classScope;this.classScope=new Mt(this);let mt=this.expressionScope;return this.expressionScope=new qt(this),()=>{this.state.labels=I,this.exportedIdentifiers=H,this.inModule=re,this.scope=we,this.prodParam=it,this.classScope=ot,this.expressionScope=mt}}enterInitialScopes(){let T=0;this.inModule&&(T|=2),this.scope.enter(1),this.prodParam.enter(T)}checkDestructuringPrivate(T){let{privateKeyLoc:I}=T;I!==null&&this.expectPlugin("destructuringPrivate",I)}}class Fr{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null}}class Sn{constructor(T,I,H){this.type="",this.start=I,this.end=0,this.loc=new c(H),T!=null&&T.options.ranges&&(this.range=[I,0]),T!=null&&T.filename&&(this.loc.filename=T.filename)}}let Nn=Sn.prototype;function zn(He){let{type:T,start:I,end:H,loc:re,range:we,extra:qe,name:it}=He,ot=Object.create(Nn);return ot.type=T,ot.start=I,ot.end=H,ot.loc=re,ot.range=we,ot.extra=qe,ot.name=it,T==="Placeholder"&&(ot.expectedNode=He.expectedNode),ot}function Ni(He){let{type:T,start:I,end:H,loc:re,range:we,extra:qe}=He;if(T==="Placeholder")return(function(ot){return zn(ot)})(He);let it=Object.create(Nn);return it.type=T,it.start=I,it.end=H,it.loc=re,it.range=we,He.raw!==void 0?it.raw=He.raw:it.extra=qe,it.value=He.value,it}Nn.__clone=function(){let He=new Sn(void 0,this.start,this.loc.start),T=Object.keys(this);for(let I=0,H=T.length;I<H;I++){let re=T[I];re!=="leadingComments"&&re!=="trailingComments"&&re!=="innerComments"&&(He[re]=this[re])}return He};class Fi extends Qr{startNode(){let T=this.state.startLoc;return new Sn(this,T.index,T)}startNodeAt(T){return new Sn(this,T.index,T)}startNodeAtNode(T){return this.startNodeAt(T.loc.start)}finishNode(T,I){return this.finishNodeAt(T,I,this.state.lastTokEndLoc)}finishNodeAt(T,I,H){return T.type=I,T.end=H.index,T.loc.end=H,this.options.ranges&&(T.range[1]=H.index),this.options.attachComment&&this.processComment(T),T}resetStartLocation(T,I){T.start=I.index,T.loc.start=I,this.options.ranges&&(T.range[0]=I.index)}resetEndLocation(T,I=this.state.lastTokEndLoc){T.end=I.index,T.loc.end=I,this.options.ranges&&(T.range[1]=I.index)}resetStartLocationFromNode(T,I){this.resetStartLocation(T,I.loc.start)}}let qi=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),dr=E`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:He})=>`Cannot overwrite reserved type ${He}.`,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:He,enumName:T})=>`Boolean enum members need to be initialized. Use either \`${He} = true,\` or \`${He} = false,\` in enum \`${T}\`.`,EnumDuplicateMemberName:({memberName:He,enumName:T})=>`Enum member names need to be unique, but the name \`${He}\` has already been used before in enum \`${T}\`.`,EnumInconsistentMemberValues:({enumName:He})=>`Enum \`${He}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:He,enumName:T})=>`Enum type \`${He}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${T}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:He})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${He}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:He,memberName:T,explicitType:I})=>`Enum \`${He}\` has type \`${I}\`, so the initializer of \`${T}\` needs to be a ${I} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:He,memberName:T})=>`Symbol enum members cannot be initialized. Use \`${T},\` in enum \`${He}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:He,memberName:T})=>`The enum member initializer for \`${T}\` needs to be a literal (either a boolean, number, or string) in enum \`${He}\`.`,EnumInvalidMemberName:({enumName:He,memberName:T,suggestion:I})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${T}\`, consider using \`${I}\`, in enum \`${He}\`.`,EnumNumberMemberNotInitialized:({enumName:He,memberName:T})=>`Number enum members need to be initialized, e.g. \`${T} = 1\` in enum \`${He}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:He})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${He}\`.`,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:He})=>`Unexpected reserved type ${He}.`,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:He,suggestion:T})=>`\`declare export ${He}\` is not supported. Use \`${T}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function Sr(He){return He.importKind==="type"||He.importKind==="typeof"}let wr={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},gn=/\*?\s*@((?:no)?flow)\b/,vn={__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"},Gr=E`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:He})=>`Expected corresponding JSX closing tag for <${He}>.`,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:He,HTMLEntity:T})=>`Unexpected token \`${He}\`. Did you mean \`${T}\` or \`{'${He}'}\`?`,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 Rn(He){return!!He&&(He.type==="JSXOpeningFragment"||He.type==="JSXClosingFragment")}function Yt(He){if(He.type==="JSXIdentifier")return He.name;if(He.type==="JSXNamespacedName")return He.namespace.name+":"+He.name.name;if(He.type==="JSXMemberExpression")return Yt(He.object)+"."+Yt(He.property);throw new Error("Node had unexpected type: "+He.type)}class Qt extends ee{constructor(...T){super(...T),this.tsNames=new Map}}class kt extends le{constructor(...T){super(...T),this.importsStack=[]}createScope(T){return this.importsStack.push(new Set),new Qt(T)}enter(T){T===256&&this.importsStack.push(new Set),super.enter(T)}exit(){let T=super.exit();return T===256&&this.importsStack.pop(),T}hasImport(T,I){let H=this.importsStack.length;if(this.importsStack[H-1].has(T))return!0;if(!I&&H>1){for(let re=0;re<H-1;re++)if(this.importsStack[re].has(T))return!0}return!1}declareName(T,I,H){if(4096&I)return this.hasImport(T,!0)&&this.parser.raise(S.VarRedeclaration,H,{identifierName:T}),void this.importsStack[this.importsStack.length-1].add(T);let re=this.currentScope(),we=re.tsNames.get(T)||0;if(1024&I)return this.maybeExportDefined(re,T),void re.tsNames.set(T,16|we);super.declareName(T,I,H),2&I&&(1&I||(this.checkRedeclarationInScope(re,T,I,H),this.maybeExportDefined(re,T)),we|=1),256&I&&(we|=2),512&I&&(we|=4),128&I&&(we|=8),we&&re.tsNames.set(T,we)}isRedeclaredInScope(T,I,H){let re=T.tsNames.get(I);return(2&re)>0?256&H?!!(512&H)!=(4&re)>0:!0:128&H&&(8&re)>0?!!(2&T.names.get(I))&&!!(1&H):!!(2&H&&(1&re)>0)||super.isRedeclaredInScope(T,I,H)}checkLocalExport(T){let{name:I}=T;if(!this.hasImport(I)){for(let H=this.scopeStack.length-1;H>=0;H--){let re=this.scopeStack[H].tsNames.get(I);if((1&re)>0||(16&re)>0)return}super.checkLocalExport(T)}}}let vr=He=>He.type==="ParenthesizedExpression"?vr(He.expression):He;class _r extends Fi{toAssignable(T,I=!1){var H,re;let we;switch((T.type==="ParenthesizedExpression"||(H=T.extra)!=null&&H.parenthesized)&&(we=vr(T),I?we.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(S.InvalidParenthesizedAssignment,T):we.type==="MemberExpression"||this.isOptionalMemberExpression(we)||this.raise(S.InvalidParenthesizedAssignment,T):this.raise(S.InvalidParenthesizedAssignment,T)),T.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":T.type="ObjectPattern";for(let it=0,ot=T.properties.length,mt=ot-1;it<ot;it++){var qe;let jt=T.properties[it],Zt=it===mt;this.toAssignableObjectExpressionProp(jt,Zt,I),Zt&&jt.type==="RestElement"&&(qe=T.extra)!=null&&qe.trailingCommaLoc&&this.raise(S.RestTrailingComma,T.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:it,value:ot}=T;this.isPrivateName(it)&&this.classScope.usePrivateName(this.getPrivateNameSV(it),it.loc.start),this.toAssignable(ot,I);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":T.type="ArrayPattern",this.toAssignableList(T.elements,(re=T.extra)==null?void 0:re.trailingCommaLoc,I);break;case"AssignmentExpression":T.operator!=="="&&this.raise(S.MissingEqInAssignment,T.left.loc.end),T.type="AssignmentPattern",delete T.operator,this.toAssignable(T.left,I);break;case"ParenthesizedExpression":this.toAssignable(we,I)}}toAssignableObjectExpressionProp(T,I,H){if(T.type==="ObjectMethod")this.raise(T.kind==="get"||T.kind==="set"?S.PatternHasAccessor:S.PatternHasMethod,T.key);else if(T.type==="SpreadElement"){T.type="RestElement";let re=T.argument;this.checkToRestConversion(re,!1),this.toAssignable(re,H),I||this.raise(S.RestTrailingComma,T)}else this.toAssignable(T,H)}toAssignableList(T,I,H){let re=T.length-1;for(let we=0;we<=re;we++){let qe=T[we];if(qe){if(qe.type==="SpreadElement"){qe.type="RestElement";let it=qe.argument;this.checkToRestConversion(it,!0),this.toAssignable(it,H)}else this.toAssignable(qe,H);qe.type==="RestElement"&&(we<re?this.raise(S.RestTrailingComma,qe):I&&this.raise(S.RestTrailingComma,I))}}}isAssignable(T,I){switch(T.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{let H=T.properties.length-1;return T.properties.every(((re,we)=>re.type!=="ObjectMethod"&&(we===H||re.type!=="SpreadElement")&&this.isAssignable(re)))}case"ObjectProperty":return this.isAssignable(T.value);case"SpreadElement":return this.isAssignable(T.argument);case"ArrayExpression":return T.elements.every((H=>H===null||this.isAssignable(H)));case"AssignmentExpression":return T.operator==="=";case"ParenthesizedExpression":return this.isAssignable(T.expression);case"MemberExpression":case"OptionalMemberExpression":return!I;default:return!1}}toReferencedList(T,I){return T}toReferencedListDeep(T,I){this.toReferencedList(T,I);for(let H of T)(H==null?void 0:H.type)==="ArrayExpression"&&this.toReferencedListDeep(H.elements)}parseSpread(T){let I=this.startNode();return this.next(),I.argument=this.parseMaybeAssignAllowIn(T,void 0),this.finishNode(I,"SpreadElement")}parseRestBinding(){let T=this.startNode();return this.next(),T.argument=this.parseBindingAtom(),this.finishNode(T,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let T=this.startNode();return this.next(),T.elements=this.parseBindingList(3,93,1),this.finishNode(T,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(T,I,H){let re=1&H,we=[],qe=!0;for(;!this.eat(T);)if(qe?qe=!1:this.expect(12),re&&this.match(12))we.push(null);else{if(this.eat(T))break;if(this.match(21)){let it=this.parseRestBinding();if((this.hasPlugin("flow")||2&H)&&(it=this.parseFunctionParamType(it)),we.push(it),!this.checkCommaAfterRest(I)){this.expect(T);break}}else{let it=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(S.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)it.push(this.parseDecorator());we.push(this.parseAssignableListItem(H,it))}}return we}parseBindingRestProperty(T){return this.next(),T.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(T,"RestElement")}parseBindingProperty(){let{type:T,startLoc:I}=this.state;if(T===21)return this.parseBindingRestProperty(this.startNode());let H=this.startNode();return T===139?(this.expectPlugin("destructuringPrivate",I),this.classScope.usePrivateName(this.state.value,I),H.key=this.parsePrivateName()):this.parsePropertyName(H),H.method=!1,this.parseObjPropValue(H,I,!1,!1,!0,!1)}parseAssignableListItem(T,I){let H=this.parseMaybeDefault();(this.hasPlugin("flow")||2&T)&&this.parseFunctionParamType(H);let re=this.parseMaybeDefault(H.loc.start,H);return I.length&&(H.decorators=I),re}parseFunctionParamType(T){return T}parseMaybeDefault(T,I){var H;if(T!=null||(T=this.state.startLoc),I=(H=I)!=null?H:this.parseBindingAtom(),!this.eat(29))return I;let re=this.startNodeAt(T);return re.left=I,re.right=this.parseMaybeAssignAllowIn(),this.finishNode(re,"AssignmentPattern")}isValidLVal(T,I,H){switch(T){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties"}return!1}isOptionalMemberExpression(T){return T.type==="OptionalMemberExpression"}checkLVal(T,I,H=64,re=!1,we=!1,qe=!1){var it;let ot=T.type;if(this.isObjectMethod(T))return;let mt=this.isOptionalMemberExpression(T);if(mt||ot==="MemberExpression")return mt&&(this.expectPlugin("optionalChainingAssign",T.loc.start),I.type!=="AssignmentExpression"&&this.raise(S.InvalidLhsOptionalChaining,T,{ancestor:I})),void(H!==64&&this.raise(S.InvalidPropertyBindingPattern,T));if(ot==="Identifier"){this.checkIdentifier(T,H,we);let{name:Wn}=T;return void(re&&(re.has(Wn)?this.raise(S.ParamDupe,T):re.add(Wn)))}let jt=this.isValidLVal(ot,!(qe||(it=T.extra)!=null&&it.parenthesized)&&I.type==="AssignmentExpression",H);if(jt===!0)return;if(jt===!1){let Wn=H===64?S.InvalidLhs:S.InvalidLhsBinding;return void this.raise(Wn,T,{ancestor:I})}let Zt,Br;typeof jt=="string"?(Zt=jt,Br=ot==="ParenthesizedExpression"):[Zt,Br]=jt;let Er=ot==="ArrayPattern"||ot==="ObjectPattern"?{type:ot}:I,rn=T[Zt];if(Array.isArray(rn))for(let Wn of rn)Wn&&this.checkLVal(Wn,Er,H,re,we,Br);else rn&&this.checkLVal(rn,Er,H,re,we,Br)}checkIdentifier(T,I,H=!1){this.state.strict&&(H?ge(T.name,this.inModule):tt(T.name))&&(I===64?this.raise(S.StrictEvalArguments,T,{referenceName:T.name}):this.raise(S.StrictEvalArgumentsBinding,T,{bindingName:T.name})),8192&I&&T.name==="let"&&this.raise(S.LetInLexicalBinding,T),64&I||this.declareNameFromIdentifier(T,I)}declareNameFromIdentifier(T,I){this.scope.declareName(T.name,I,T.loc.start)}checkToRestConversion(T,I){switch(T.type){case"ParenthesizedExpression":this.checkToRestConversion(T.expression,I);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(I)break;default:this.raise(S.InvalidRestAssignmentPattern,T)}}checkCommaAfterRest(T){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===T?S.RestTrailingComma:S.ElementAfterRest,this.state.startLoc),!0)}}function Xr(He){if(!He)throw new Error("Assert fail")}let Xt=E`typescript`({AbstractMethodHasImplementation:({methodName:He})=>`Method '${He}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:He})=>`Property '${He}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"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:He})=>`'declare' is not allowed in ${He}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:He})=>"Accessibility modifier already seen.",DuplicateModifier:({modifier:He})=>`Duplicate modifier: '${He}'.`,EmptyHeritageClauseType:({token:He})=>`'${He}' 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:He})=>`'${He[0]}' modifier cannot be used with '${He[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:He})=>`Index signatures cannot have an accessibility modifier ('${He}').`,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:He})=>`'${He}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:He})=>`'${He}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:He})=>`'${He}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifiersOrder:({orderedModifiers:He})=>`'${He[0]}' modifier must precede '${He[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.",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:He})=>`Private elements cannot have an accessibility modifier ('${He}').`,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.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:He})=>`Single type parameter ${He} should have a trailing comma. Example usage: <${He},>.`,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:He})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${He}.`});function jr(He){return He==="private"||He==="public"||He==="protected"}function tn(He){return He==="in"||He==="out"}function un(He){if(He.type!=="MemberExpression")return!1;let{computed:T,property:I}=He;return(!T||I.type==="StringLiteral"||!(I.type!=="TemplateLiteral"||I.expressions.length>0))&&_n(He.object)}function xn(He,T){var I;let{type:H}=He;if((I=He.extra)!=null&&I.parenthesized)return!1;if(T){if(H==="Literal"){let{value:re}=He;if(typeof re=="string"||typeof re=="boolean")return!0}}else if(H==="StringLiteral"||H==="BooleanLiteral")return!0;return!(!fn(He,T)&&!(function(re,we){if(re.type==="UnaryExpression"){let{operator:qe,argument:it}=re;if(qe==="-"&&fn(it,we))return!0}return!1})(He,T))||H==="TemplateLiteral"&&He.expressions.length===0||!!un(He)}function fn(He,T){return T?He.type==="Literal"&&(typeof He.value=="number"||"bigint"in He):He.type==="NumericLiteral"||He.type==="BigIntLiteral"}function _n(He){return He.type==="Identifier"||He.type==="MemberExpression"&&!He.computed&&_n(He.object)}let Ti=E`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),di=["minimal","fsharp","hack","smart"],an=["^^","@@","^","%","#"],Qn={estree:He=>class extends He{parse(){let T=L(super.parse());return this.options.tokens&&(T.tokens=T.tokens.map(L)),T}parseRegExpLiteral({pattern:T,flags:I}){let H=null;try{H=new RegExp(T,I)}catch{}let re=this.estreeParseLiteral(H);return re.regex={pattern:T,flags:I},re}parseBigIntLiteral(T){let I;try{I=BigInt(T)}catch{I=null}let H=this.estreeParseLiteral(I);return H.bigint=String(H.value||T),H}parseDecimalLiteral(T){let I=this.estreeParseLiteral(null);return I.decimal=String(I.value||T),I}estreeParseLiteral(T){return this.parseLiteral(T,"Literal")}parseStringLiteral(T){return this.estreeParseLiteral(T)}parseNumericLiteral(T){return this.estreeParseLiteral(T)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(T){return this.estreeParseLiteral(T)}directiveToStmt(T){let I=T.value;delete T.value,I.type="Literal",I.raw=I.extra.raw,I.value=I.extra.expressionValue;let H=T;return H.type="ExpressionStatement",H.expression=I,H.directive=I.extra.rawValue,delete I.extra,H}initFunction(T,I){super.initFunction(T,I),T.expression=!1}checkDeclaration(T){T!=null&&this.isObjectProperty(T)?this.checkDeclaration(T.value):super.checkDeclaration(T)}getObjectOrClassMethodParams(T){return T.value.params}isValidDirective(T){var I;return T.type==="ExpressionStatement"&&T.expression.type==="Literal"&&typeof T.expression.value=="string"&&!((I=T.expression.extra)!=null&&I.parenthesized)}parseBlockBody(T,I,H,re,we){super.parseBlockBody(T,I,H,re,we);let qe=T.directives.map((it=>this.directiveToStmt(it)));T.body=qe.concat(T.body),delete T.directives}pushClassMethod(T,I,H,re,we,qe){this.parseMethod(I,H,re,we,qe,"ClassMethod",!0),I.typeParameters&&(I.value.typeParameters=I.typeParameters,delete I.typeParameters),T.body.push(I)}parsePrivateName(){let T=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(T):T}convertPrivateNameToPrivateIdentifier(T){let I=super.getPrivateNameSV(T);return delete T.id,T.name=I,T.type="PrivateIdentifier",T}isPrivateName(T){return this.getPluginOption("estree","classFeatures")?T.type==="PrivateIdentifier":super.isPrivateName(T)}getPrivateNameSV(T){return this.getPluginOption("estree","classFeatures")?T.name:super.getPrivateNameSV(T)}parseLiteral(T,I){let H=super.parseLiteral(T,I);return H.raw=H.extra.raw,delete H.extra,H}parseFunctionBody(T,I,H=!1){super.parseFunctionBody(T,I,H),T.expression=T.body.type!=="BlockStatement"}parseMethod(T,I,H,re,we,qe,it=!1){let ot=this.startNode();return ot.kind=T.kind,ot=super.parseMethod(ot,I,H,re,we,qe,it),ot.type="FunctionExpression",delete ot.kind,T.value=ot,qe==="ClassPrivateMethod"&&(T.computed=!1),this.finishNode(T,"MethodDefinition")}nameIsConstructor(T){return T.type==="Literal"?T.value==="constructor":super.nameIsConstructor(T)}parseClassProperty(...T){let I=super.parseClassProperty(...T);return this.getPluginOption("estree","classFeatures")&&(I.type="PropertyDefinition"),I}parseClassPrivateProperty(...T){let I=super.parseClassPrivateProperty(...T);return this.getPluginOption("estree","classFeatures")&&(I.type="PropertyDefinition",I.computed=!1),I}parseObjectMethod(T,I,H,re,we){let qe=super.parseObjectMethod(T,I,H,re,we);return qe&&(qe.type="Property",qe.kind==="method"&&(qe.kind="init"),qe.shorthand=!1),qe}parseObjectProperty(T,I,H,re){let we=super.parseObjectProperty(T,I,H,re);return we&&(we.kind="init",we.type="Property"),we}isValidLVal(T,I,H){return T==="Property"?"value":super.isValidLVal(T,I,H)}isAssignable(T,I){return T!=null&&this.isObjectProperty(T)?this.isAssignable(T.value,I):super.isAssignable(T,I)}toAssignable(T,I=!1){if(T!=null&&this.isObjectProperty(T)){let{key:H,value:re}=T;this.isPrivateName(H)&&this.classScope.usePrivateName(this.getPrivateNameSV(H),H.loc.start),this.toAssignable(re,I)}else super.toAssignable(T,I)}toAssignableObjectExpressionProp(T,I,H){T.type!=="Property"||T.kind!=="get"&&T.kind!=="set"?T.type==="Property"&&T.method?this.raise(S.PatternHasMethod,T.key):super.toAssignableObjectExpressionProp(T,I,H):this.raise(S.PatternHasAccessor,T.key)}finishCallExpression(T,I){let H=super.finishCallExpression(T,I);var re,we;return H.callee.type==="Import"&&(H.type="ImportExpression",H.source=H.arguments[0],H.options=(re=H.arguments[1])!=null?re:null,H.attributes=(we=H.arguments[1])!=null?we:null,delete H.arguments,delete H.callee),H}toReferencedArguments(T){T.type!=="ImportExpression"&&super.toReferencedArguments(T)}parseExport(T,I){let H=this.state.lastTokStartLoc,re=super.parseExport(T,I);switch(re.type){case"ExportAllDeclaration":re.exported=null;break;case"ExportNamedDeclaration":re.specifiers.length===1&&re.specifiers[0].type==="ExportNamespaceSpecifier"&&(re.type="ExportAllDeclaration",re.exported=re.specifiers[0].exported,delete re.specifiers);case"ExportDefaultDeclaration":{var we;let{declaration:qe}=re;(qe==null?void 0:qe.type)==="ClassDeclaration"&&((we=qe.decorators)==null?void 0:we.length)>0&&qe.start===re.start&&this.resetStartLocation(re,H)}}return re}parseSubscript(T,I,H,re){let we=super.parseSubscript(T,I,H,re);if(re.optionalChainMember){if(we.type!=="OptionalMemberExpression"&&we.type!=="OptionalCallExpression"||(we.type=we.type.substring(8)),re.stop){let qe=this.startNodeAtNode(we);return qe.expression=we,this.finishNode(qe,"ChainExpression")}}else we.type!=="MemberExpression"&&we.type!=="CallExpression"||(we.optional=!1);return we}isOptionalMemberExpression(T){return T.type==="ChainExpression"?T.expression.type==="MemberExpression":super.isOptionalMemberExpression(T)}hasPropertyAsPrivateName(T){return T.type==="ChainExpression"&&(T=T.expression),super.hasPropertyAsPrivateName(T)}isObjectProperty(T){return T.type==="Property"&&T.kind==="init"&&!T.method}isObjectMethod(T){return T.type==="Property"&&(T.method||T.kind==="get"||T.kind==="set")}finishNodeAt(T,I,H){return L(super.finishNodeAt(T,I,H))}resetStartLocation(T,I){super.resetStartLocation(T,I),L(T)}resetEndLocation(T,I=this.state.lastTokEndLoc){super.resetEndLocation(T,I),L(T)}},jsx:He=>class extends He{jsxReadToken(){let T="",I=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(Gr.UnterminatedJsxContent,this.state.startLoc);let H=this.input.charCodeAt(this.state.pos);switch(H){case 60:case 123:return this.state.pos===this.state.start?void(H===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):super.getTokenFromCode(H)):(T+=this.input.slice(I,this.state.pos),void this.finishToken(142,T));case 38:T+=this.input.slice(I,this.state.pos),T+=this.jsxReadEntity(),I=this.state.pos;break;default:Je(H)?(T+=this.input.slice(I,this.state.pos),T+=this.jsxReadNewLine(!0),I=this.state.pos):++this.state.pos}}}jsxReadNewLine(T){let I=this.input.charCodeAt(this.state.pos),H;return++this.state.pos,I===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,H=T?`
|
|
`:`\r
|
|
`):H=String.fromCharCode(I),++this.state.curLine,this.state.lineStart=this.state.pos,H}jsxReadString(T){let I="",H=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(S.UnterminatedString,this.state.startLoc);let re=this.input.charCodeAt(this.state.pos);if(re===T)break;re===38?(I+=this.input.slice(H,this.state.pos),I+=this.jsxReadEntity(),H=this.state.pos):Je(re)?(I+=this.input.slice(H,this.state.pos),I+=this.jsxReadNewLine(!1),H=this.state.pos):++this.state.pos}I+=this.input.slice(H,this.state.pos++),this.finishToken(134,I)}jsxReadEntity(){let T=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let I=10;this.codePointAtPos(this.state.pos)===120&&(I=16,++this.state.pos);let H=this.readInt(I,void 0,!1,"bail");if(H!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(H)}else{let I=0,H=!1;for(;I++<10&&this.state.pos<this.length&&!(H=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(H){let re=this.input.slice(T,this.state.pos),we=vn[re];if(++this.state.pos,we)return we}}return this.state.pos=T,"&"}jsxReadWord(){let T,I=this.state.pos;do T=this.input.charCodeAt(++this.state.pos);while(nt(T)||T===45);this.finishToken(141,this.input.slice(I,this.state.pos))}jsxParseIdentifier(){let T=this.startNode();return this.match(141)?T.name=this.state.value:Pe(this.state.type)?T.name=Ke(this.state.type):this.unexpected(),this.next(),this.finishNode(T,"JSXIdentifier")}jsxParseNamespacedName(){let T=this.state.startLoc,I=this.jsxParseIdentifier();if(!this.eat(14))return I;let H=this.startNodeAt(T);return H.namespace=I,H.name=this.jsxParseIdentifier(),this.finishNode(H,"JSXNamespacedName")}jsxParseElementName(){let T=this.state.startLoc,I=this.jsxParseNamespacedName();if(I.type==="JSXNamespacedName")return I;for(;this.eat(16);){let H=this.startNodeAt(T);H.object=I,H.property=this.jsxParseIdentifier(),I=this.finishNode(H,"JSXMemberExpression")}return I}jsxParseAttributeValue(){let T;switch(this.state.type){case 5:return T=this.startNode(),this.setContext(F.brace),this.next(),T=this.jsxParseExpressionContainer(T,F.j_oTag),T.expression.type==="JSXEmptyExpression"&&this.raise(Gr.AttributeIsEmpty,T),T;case 143:case 134:return this.parseExprAtom();default:throw this.raise(Gr.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let T=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(T,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(T){return this.next(),T.expression=this.parseExpression(),this.setContext(F.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(T,"JSXSpreadChild")}jsxParseExpressionContainer(T,I){if(this.match(8))T.expression=this.jsxParseEmptyExpression();else{let H=this.parseExpression();T.expression=H}return this.setContext(I),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(T,"JSXExpressionContainer")}jsxParseAttribute(){let T=this.startNode();return this.match(5)?(this.setContext(F.brace),this.next(),this.expect(21),T.argument=this.parseMaybeAssignAllowIn(),this.setContext(F.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(T,"JSXSpreadAttribute")):(T.name=this.jsxParseNamespacedName(),T.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(T,"JSXAttribute"))}jsxParseOpeningElementAt(T){let I=this.startNodeAt(T);return this.eat(144)?this.finishNode(I,"JSXOpeningFragment"):(I.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(I))}jsxParseOpeningElementAfterName(T){let I=[];for(;!this.match(56)&&!this.match(144);)I.push(this.jsxParseAttribute());return T.attributes=I,T.selfClosing=this.eat(56),this.expect(144),this.finishNode(T,"JSXOpeningElement")}jsxParseClosingElementAt(T){let I=this.startNodeAt(T);return this.eat(144)?this.finishNode(I,"JSXClosingFragment"):(I.name=this.jsxParseElementName(),this.expect(144),this.finishNode(I,"JSXClosingElement"))}jsxParseElementAt(T){let I=this.startNodeAt(T),H=[],re=this.jsxParseOpeningElementAt(T),we=null;if(!re.selfClosing){e:for(;;)switch(this.state.type){case 143:if(T=this.state.startLoc,this.next(),this.eat(56)){we=this.jsxParseClosingElementAt(T);break e}H.push(this.jsxParseElementAt(T));break;case 142:H.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let qe=this.startNode();this.setContext(F.brace),this.next(),this.match(21)?H.push(this.jsxParseSpreadChild(qe)):H.push(this.jsxParseExpressionContainer(qe,F.j_expr));break}default:this.unexpected()}Rn(re)&&!Rn(we)&&we!==null?this.raise(Gr.MissingClosingTagFragment,we):!Rn(re)&&Rn(we)?this.raise(Gr.MissingClosingTagElement,we,{openingTagName:Yt(re.name)}):Rn(re)||Rn(we)||Yt(we.name)!==Yt(re.name)&&this.raise(Gr.MissingClosingTagElement,we,{openingTagName:Yt(re.name)})}if(Rn(re)?(I.openingFragment=re,I.closingFragment=we):(I.openingElement=re,I.closingElement=we),I.children=H,this.match(47))throw this.raise(Gr.UnwrappedAdjacentJSXElements,this.state.startLoc);return Rn(re)?this.finishNode(I,"JSXFragment"):this.finishNode(I,"JSXElement")}jsxParseElement(){let T=this.state.startLoc;return this.next(),this.jsxParseElementAt(T)}setContext(T){let{context:I}=this.state;I[I.length-1]=T}parseExprAtom(T){return this.match(143)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(143),this.jsxParseElement()):super.parseExprAtom(T)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(T){let I=this.curContext();if(I!==F.j_expr){if(I===F.j_oTag||I===F.j_cTag){if(pe(T))return void this.jsxReadWord();if(T===62)return++this.state.pos,void this.finishToken(144);if((T===34||T===39)&&I===F.j_oTag)return void this.jsxReadString(T)}if(T===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33)return++this.state.pos,void this.finishToken(143);super.getTokenFromCode(T)}else this.jsxReadToken()}updateContext(T){let{context:I,type:H}=this.state;if(H===56&&T===143)I.splice(-2,2,F.j_cTag),this.state.canStartJSXElement=!1;else if(H===143)I.push(F.j_oTag);else if(H===144){let re=I[I.length-1];re===F.j_oTag&&T===56||re===F.j_cTag?(I.pop(),this.state.canStartJSXElement=I[I.length-1]===F.j_expr):(this.setContext(F.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=q[H]}},flow:He=>class extends He{constructor(...T){super(...T),this.flowPragma=void 0}getScopeHandler(){return Ee}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(T,I){T!==134&&T!==13&&T!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(T,I)}addComment(T){if(this.flowPragma===void 0){let I=gn.exec(T.value);if(I)if(I[1]==="flow")this.flowPragma="flow";else{if(I[1]!=="noflow")throw new Error("Unexpected flow pragma");this.flowPragma="noflow"}}super.addComment(T)}flowParseTypeInitialiser(T){let I=this.state.inType;this.state.inType=!0,this.expect(T||14);let H=this.flowParseType();return this.state.inType=I,H}flowParsePredicate(){let T=this.startNode(),I=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>I.index+1&&this.raise(dr.UnexpectedSpaceBetweenModuloChecks,I),this.eat(10)?(T.value=super.parseExpression(),this.expect(11),this.finishNode(T,"DeclaredPredicate")):this.finishNode(T,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let T=this.state.inType;this.state.inType=!0,this.expect(14);let I=null,H=null;return this.match(54)?(this.state.inType=T,H=this.flowParsePredicate()):(I=this.flowParseType(),this.state.inType=T,this.match(54)&&(H=this.flowParsePredicate())),[I,H]}flowParseDeclareClass(T){return this.next(),this.flowParseInterfaceish(T,!0),this.finishNode(T,"DeclareClass")}flowParseDeclareFunction(T){this.next();let I=T.id=this.parseIdentifier(),H=this.startNode(),re=this.startNode();this.match(47)?H.typeParameters=this.flowParseTypeParameterDeclaration():H.typeParameters=null,this.expect(10);let we=this.flowParseFunctionTypeParams();return H.params=we.params,H.rest=we.rest,H.this=we._this,this.expect(11),[H.returnType,T.predicate]=this.flowParseTypeAndPredicateInitialiser(),re.typeAnnotation=this.finishNode(H,"FunctionTypeAnnotation"),I.typeAnnotation=this.finishNode(re,"TypeAnnotation"),this.resetEndLocation(I),this.semicolon(),this.scope.declareName(T.id.name,2048,T.id.loc.start),this.finishNode(T,"DeclareFunction")}flowParseDeclare(T,I){return this.match(80)?this.flowParseDeclareClass(T):this.match(68)?this.flowParseDeclareFunction(T):this.match(74)?this.flowParseDeclareVariable(T):this.eatContextual(127)?this.match(16)?this.flowParseDeclareModuleExports(T):(I&&this.raise(dr.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(T)):this.isContextual(130)?this.flowParseDeclareTypeAlias(T):this.isContextual(131)?this.flowParseDeclareOpaqueType(T):this.isContextual(129)?this.flowParseDeclareInterface(T):this.match(82)?this.flowParseDeclareExportDeclaration(T,I):void this.unexpected()}flowParseDeclareVariable(T){return this.next(),T.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(T.id.name,5,T.id.loc.start),this.semicolon(),this.finishNode(T,"DeclareVariable")}flowParseDeclareModule(T){this.scope.enter(0),this.match(134)?T.id=super.parseExprAtom():T.id=this.parseIdentifier();let I=T.body=this.startNode(),H=I.body=[];for(this.expect(5);!this.match(8);){let qe=this.startNode();this.match(83)?(this.next(),this.isContextual(130)||this.match(87)||this.raise(dr.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(qe)):(this.expectContextual(125,dr.UnsupportedStatementInDeclareModule),qe=this.flowParseDeclare(qe,!0)),H.push(qe)}this.scope.exit(),this.expect(8),this.finishNode(I,"BlockStatement");let re=null,we=!1;return H.forEach((qe=>{(function(it){return it.type==="DeclareExportAllDeclaration"||it.type==="DeclareExportDeclaration"&&(!it.declaration||it.declaration.type!=="TypeAlias"&&it.declaration.type!=="InterfaceDeclaration")})(qe)?(re==="CommonJS"&&this.raise(dr.AmbiguousDeclareModuleKind,qe),re="ES"):qe.type==="DeclareModuleExports"&&(we&&this.raise(dr.DuplicateDeclareModuleExports,qe),re==="ES"&&this.raise(dr.AmbiguousDeclareModuleKind,qe),re="CommonJS",we=!0)})),T.kind=re||"CommonJS",this.finishNode(T,"DeclareModule")}flowParseDeclareExportDeclaration(T,I){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?T.declaration=this.flowParseDeclare(this.startNode()):(T.declaration=this.flowParseType(),this.semicolon()),T.default=!0,this.finishNode(T,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!I){let H=this.state.value;throw this.raise(dr.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:H,suggestion:wr[H]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(131)?(T.declaration=this.flowParseDeclare(this.startNode()),T.default=!1,this.finishNode(T,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)?((T=this.parseExport(T,null)).type==="ExportNamedDeclaration"&&(T.type="ExportDeclaration",T.default=!1,delete T.exportKind),T.type="Declare"+T.type,T):void this.unexpected()}flowParseDeclareModuleExports(T){return this.next(),this.expectContextual(111),T.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(T,"DeclareModuleExports")}flowParseDeclareTypeAlias(T){this.next();let I=this.flowParseTypeAlias(T);return I.type="DeclareTypeAlias",I}flowParseDeclareOpaqueType(T){this.next();let I=this.flowParseOpaqueType(T,!0);return I.type="DeclareOpaqueType",I}flowParseDeclareInterface(T){return this.next(),this.flowParseInterfaceish(T,!1),this.finishNode(T,"DeclareInterface")}flowParseInterfaceish(T,I){if(T.id=this.flowParseRestrictedIdentifier(!I,!0),this.scope.declareName(T.id.name,I?17:8201,T.id.loc.start),this.match(47)?T.typeParameters=this.flowParseTypeParameterDeclaration():T.typeParameters=null,T.extends=[],this.eat(81))do T.extends.push(this.flowParseInterfaceExtends());while(!I&&this.eat(12));if(I){if(T.implements=[],T.mixins=[],this.eatContextual(117))do T.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do T.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}T.body=this.flowParseObjectType({allowStatic:I,allowExact:!1,allowSpread:!1,allowProto:I,allowInexact:!1})}flowParseInterfaceExtends(){let T=this.startNode();return T.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?T.typeParameters=this.flowParseTypeParameterInstantiation():T.typeParameters=null,this.finishNode(T,"InterfaceExtends")}flowParseInterface(T){return this.flowParseInterfaceish(T,!1),this.finishNode(T,"InterfaceDeclaration")}checkNotUnderscore(T){T==="_"&&this.raise(dr.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(T,I,H){qi.has(T)&&this.raise(H?dr.AssignReservedType:dr.UnexpectedReservedType,I,{reservedType:T})}flowParseRestrictedIdentifier(T,I){return this.checkReservedType(this.state.value,this.state.startLoc,I),this.parseIdentifier(T)}flowParseTypeAlias(T){return T.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(T.id.name,8201,T.id.loc.start),this.match(47)?T.typeParameters=this.flowParseTypeParameterDeclaration():T.typeParameters=null,T.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(T,"TypeAlias")}flowParseOpaqueType(T,I){return this.expectContextual(130),T.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(T.id.name,8201,T.id.loc.start),this.match(47)?T.typeParameters=this.flowParseTypeParameterDeclaration():T.typeParameters=null,T.supertype=null,this.match(14)&&(T.supertype=this.flowParseTypeInitialiser(14)),T.impltype=null,I||(T.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(T,"OpaqueType")}flowParseTypeParameter(T=!1){let I=this.state.startLoc,H=this.startNode(),re=this.flowParseVariance(),we=this.flowParseTypeAnnotatableIdentifier();return H.name=we.name,H.variance=re,H.bound=we.typeAnnotation,this.match(29)?(this.eat(29),H.default=this.flowParseType()):T&&this.raise(dr.MissingTypeParamDefault,I),this.finishNode(H,"TypeParameter")}flowParseTypeParameterDeclaration(){let T=this.state.inType,I=this.startNode();I.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();let H=!1;do{let re=this.flowParseTypeParameter(H);I.params.push(re),re.default&&(H=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=T,this.finishNode(I,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){let T=this.startNode(),I=this.state.inType;T.params=[],this.state.inType=!0,this.expect(47);let H=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)T.params.push(this.flowParseType()),this.match(48)||this.expect(12);return this.state.noAnonFunctionType=H,this.expect(48),this.state.inType=I,this.finishNode(T,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){let T=this.startNode(),I=this.state.inType;for(T.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)T.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=I,this.finishNode(T,"TypeParameterInstantiation")}flowParseInterfaceType(){let T=this.startNode();if(this.expectContextual(129),T.extends=[],this.eat(81))do T.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return T.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(T,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(T,I,H){return T.static=I,this.lookahead().type===14?(T.id=this.flowParseObjectPropertyKey(),T.key=this.flowParseTypeInitialiser()):(T.id=null,T.key=this.flowParseType()),this.expect(3),T.value=this.flowParseTypeInitialiser(),T.variance=H,this.finishNode(T,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(T,I){return T.static=I,T.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(T.method=!0,T.optional=!1,T.value=this.flowParseObjectTypeMethodish(this.startNodeAt(T.loc.start))):(T.method=!1,this.eat(17)&&(T.optional=!0),T.value=this.flowParseTypeInitialiser()),this.finishNode(T,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(T){for(T.params=[],T.rest=null,T.typeParameters=null,T.this=null,this.match(47)&&(T.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(T.this=this.flowParseFunctionTypeParam(!0),T.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)T.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(T.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),T.returnType=this.flowParseTypeInitialiser(),this.finishNode(T,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(T,I){let H=this.startNode();return T.static=I,T.value=this.flowParseObjectTypeMethodish(H),this.finishNode(T,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:T,allowExact:I,allowSpread:H,allowProto:re,allowInexact:we}){let qe=this.state.inType;this.state.inType=!0;let it=this.startNode(),ot,mt;it.callProperties=[],it.properties=[],it.indexers=[],it.internalSlots=[];let jt=!1;for(I&&this.match(6)?(this.expect(6),ot=9,mt=!0):(this.expect(5),ot=8,mt=!1),it.exact=mt;!this.match(ot);){let Br=!1,Er=null,rn=null,Wn=this.startNode();if(re&&this.isContextual(118)){let Fn=this.lookahead();Fn.type!==14&&Fn.type!==17&&(this.next(),Er=this.state.startLoc,T=!1)}if(T&&this.isContextual(106)){let Fn=this.lookahead();Fn.type!==14&&Fn.type!==17&&(this.next(),Br=!0)}let Un=this.flowParseVariance();if(this.eat(0))Er!=null&&this.unexpected(Er),this.eat(0)?(Un&&this.unexpected(Un.loc.start),it.internalSlots.push(this.flowParseObjectTypeInternalSlot(Wn,Br))):it.indexers.push(this.flowParseObjectTypeIndexer(Wn,Br,Un));else if(this.match(10)||this.match(47))Er!=null&&this.unexpected(Er),Un&&this.unexpected(Un.loc.start),it.callProperties.push(this.flowParseObjectTypeCallProperty(Wn,Br));else{let Fn="init";(this.isContextual(99)||this.isContextual(104))&&oe(this.lookahead().type)&&(Fn=this.state.value,this.next());let hi=this.flowParseObjectTypeProperty(Wn,Br,Er,Un,Fn,H,we??!mt);hi===null?(jt=!0,rn=this.state.lastTokStartLoc):it.properties.push(hi)}this.flowObjectTypeSemicolon(),!rn||this.match(8)||this.match(9)||this.raise(dr.UnexpectedExplicitInexactInObject,rn)}this.expect(ot),H&&(it.inexact=jt);let Zt=this.finishNode(it,"ObjectTypeAnnotation");return this.state.inType=qe,Zt}flowParseObjectTypeProperty(T,I,H,re,we,qe,it){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(qe?it||this.raise(dr.InexactInsideExact,this.state.lastTokStartLoc):this.raise(dr.InexactInsideNonObject,this.state.lastTokStartLoc),re&&this.raise(dr.InexactVariance,re),null):(qe||this.raise(dr.UnexpectedSpreadType,this.state.lastTokStartLoc),H!=null&&this.unexpected(H),re&&this.raise(dr.SpreadVariance,re),T.argument=this.flowParseType(),this.finishNode(T,"ObjectTypeSpreadProperty"));{T.key=this.flowParseObjectPropertyKey(),T.static=I,T.proto=H!=null,T.kind=we;let ot=!1;return this.match(47)||this.match(10)?(T.method=!0,H!=null&&this.unexpected(H),re&&this.unexpected(re.loc.start),T.value=this.flowParseObjectTypeMethodish(this.startNodeAt(T.loc.start)),we!=="get"&&we!=="set"||this.flowCheckGetterSetterParams(T),!qe&&T.key.name==="constructor"&&T.value.this&&this.raise(dr.ThisParamBannedInConstructor,T.value.this)):(we!=="init"&&this.unexpected(),T.method=!1,this.eat(17)&&(ot=!0),T.value=this.flowParseTypeInitialiser(),T.variance=re),T.optional=ot,this.finishNode(T,"ObjectTypeProperty")}}flowCheckGetterSetterParams(T){let I=T.kind==="get"?0:1,H=T.value.params.length+(T.value.rest?1:0);T.value.this&&this.raise(T.kind==="get"?dr.GetterMayNotHaveThisParam:dr.SetterMayNotHaveThisParam,T.value.this),H!==I&&this.raise(T.kind==="get"?S.BadGetterArity:S.BadSetterArity,T),T.kind==="set"&&T.value.rest&&this.raise(S.BadSetterRestParameter,T)}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(T,I){T!=null||(T=this.state.startLoc);let H=I||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let re=this.startNodeAt(T);re.qualification=H,re.id=this.flowParseRestrictedIdentifier(!0),H=this.finishNode(re,"QualifiedTypeIdentifier")}return H}flowParseGenericType(T,I){let H=this.startNodeAt(T);return H.typeParameters=null,H.id=this.flowParseQualifiedTypeIdentifier(T,I),this.match(47)&&(H.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(H,"GenericTypeAnnotation")}flowParseTypeofType(){let T=this.startNode();return this.expect(87),T.argument=this.flowParsePrimaryType(),this.finishNode(T,"TypeofTypeAnnotation")}flowParseTupleType(){let T=this.startNode();for(T.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(T.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(T,"TupleTypeAnnotation")}flowParseFunctionTypeParam(T){let I=null,H=!1,re=null,we=this.startNode(),qe=this.lookahead(),it=this.state.type===78;return qe.type===14||qe.type===17?(it&&!T&&this.raise(dr.ThisParamMustBeFirst,we),I=this.parseIdentifier(it),this.eat(17)&&(H=!0,it&&this.raise(dr.ThisParamMayNotBeOptional,we)),re=this.flowParseTypeInitialiser()):re=this.flowParseType(),we.name=I,we.optional=H,we.typeAnnotation=re,this.finishNode(we,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(T){let I=this.startNodeAt(T.loc.start);return I.name=null,I.optional=!1,I.typeAnnotation=T,this.finishNode(I,"FunctionTypeParam")}flowParseFunctionTypeParams(T=[]){let I=null,H=null;for(this.match(78)&&(H=this.flowParseFunctionTypeParam(!0),H.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)T.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(I=this.flowParseFunctionTypeParam(!1)),{params:T,rest:I,_this:H}}flowIdentToTypeAnnotation(T,I,H){switch(H.name){case"any":return this.finishNode(I,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(I,"BooleanTypeAnnotation");case"mixed":return this.finishNode(I,"MixedTypeAnnotation");case"empty":return this.finishNode(I,"EmptyTypeAnnotation");case"number":return this.finishNode(I,"NumberTypeAnnotation");case"string":return this.finishNode(I,"StringTypeAnnotation");case"symbol":return this.finishNode(I,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(H.name),this.flowParseGenericType(T,H)}}flowParsePrimaryType(){let T=this.state.startLoc,I=this.startNode(),H,re,we=!1,qe=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,re=this.flowParseTupleType(),this.state.noAnonFunctionType=qe,re;case 47:{let it=this.startNode();return it.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),H=this.flowParseFunctionTypeParams(),it.params=H.params,it.rest=H.rest,it.this=H._this,this.expect(11),this.expect(19),it.returnType=this.flowParseType(),this.finishNode(it,"FunctionTypeAnnotation")}case 10:{let it=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(X(this.state.type)||this.match(78)){let ot=this.lookahead().type;we=ot!==17&&ot!==14}else we=!0;if(we){if(this.state.noAnonFunctionType=!1,re=this.flowParseType(),this.state.noAnonFunctionType=qe,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),re;this.eat(12)}return H=re?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(re)]):this.flowParseFunctionTypeParams(),it.params=H.params,it.rest=H.rest,it.this=H._this,this.expect(11),this.expect(19),it.returnType=this.flowParseType(),it.typeParameters=null,this.finishNode(it,"FunctionTypeAnnotation")}case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return I.value=this.match(85),this.next(),this.finishNode(I,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",I);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",I);throw this.raise(dr.UnexpectedSubtractionOperand,this.state.startLoc)}return void this.unexpected();case 135:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 136:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(I,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(I,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(I,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(I,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(Pe(this.state.type)){let it=Ke(this.state.type);return this.next(),super.createIdentifier(I,it)}if(X(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(T,I,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let T=this.state.startLoc,I=this.flowParsePrimaryType(),H=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let re=this.startNodeAt(T),we=this.eat(18);H=H||we,this.expect(0),!we&&this.match(3)?(re.elementType=I,this.next(),I=this.finishNode(re,"ArrayTypeAnnotation")):(re.objectType=I,re.indexType=this.flowParseType(),this.expect(3),H?(re.optional=we,I=this.finishNode(re,"OptionalIndexedAccessType")):I=this.finishNode(re,"IndexedAccessType"))}return I}flowParsePrefixType(){let T=this.startNode();return this.eat(17)?(T.typeAnnotation=this.flowParsePrefixType(),this.finishNode(T,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let T=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let I=this.startNodeAt(T.loc.start);return I.params=[this.reinterpretTypeAsFunctionTypeParam(T)],I.rest=null,I.this=null,I.returnType=this.flowParseType(),I.typeParameters=null,this.finishNode(I,"FunctionTypeAnnotation")}return T}flowParseIntersectionType(){let T=this.startNode();this.eat(45);let I=this.flowParseAnonFunctionWithoutParens();for(T.types=[I];this.eat(45);)T.types.push(this.flowParseAnonFunctionWithoutParens());return T.types.length===1?I:this.finishNode(T,"IntersectionTypeAnnotation")}flowParseUnionType(){let T=this.startNode();this.eat(43);let I=this.flowParseIntersectionType();for(T.types=[I];this.eat(43);)T.types.push(this.flowParseIntersectionType());return T.types.length===1?I:this.finishNode(T,"UnionTypeAnnotation")}flowParseType(){let T=this.state.inType;this.state.inType=!0;let I=this.flowParseUnionType();return this.state.inType=T,I}flowParseTypeOrImplicitInstantiation(){if(this.state.type===132&&this.state.value==="_"){let T=this.state.startLoc,I=this.parseIdentifier();return this.flowParseGenericType(T,I)}return this.flowParseType()}flowParseTypeAnnotation(){let T=this.startNode();return T.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(T,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(T){let I=T?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(I.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(I)),I}typeCastToParameter(T){return T.expression.typeAnnotation=T.typeAnnotation,this.resetEndLocation(T.expression,T.typeAnnotation.loc.end),T.expression}flowParseVariance(){let T=null;return this.match(53)?(T=this.startNode(),this.state.value==="+"?T.kind="plus":T.kind="minus",this.next(),this.finishNode(T,"Variance")):T}parseFunctionBody(T,I,H=!1){I?this.forwardNoArrowParamsConversionAt(T,(()=>super.parseFunctionBody(T,!0,H))):super.parseFunctionBody(T,!1,H)}parseFunctionBodyAndFinish(T,I,H=!1){if(this.match(14)){let re=this.startNode();[re.typeAnnotation,T.predicate]=this.flowParseTypeAndPredicateInitialiser(),T.returnType=re.typeAnnotation?this.finishNode(re,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(T,I,H)}parseStatementLike(T){if(this.state.strict&&this.isContextual(129)){if(ie(this.lookahead().type)){let H=this.startNode();return this.next(),this.flowParseInterface(H)}}else if(this.isContextual(126)){let H=this.startNode();return this.next(),this.flowParseEnumDeclaration(H)}let I=super.parseStatementLike(T);return this.flowPragma!==void 0||this.isValidDirective(I)||(this.flowPragma=null),I}parseExpressionStatement(T,I,H){if(I.type==="Identifier"){if(I.name==="declare"){if(this.match(80)||X(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(T)}else if(X(this.state.type)){if(I.name==="interface")return this.flowParseInterface(T);if(I.name==="type")return this.flowParseTypeAlias(T);if(I.name==="opaque")return this.flowParseOpaqueType(T,!1)}}return super.parseExpressionStatement(T,I,H)}shouldParseExportDeclaration(){let{type:T}=this.state;return T===126||Ne(T)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:T}=this.state;return T===126||Ne(T)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){let T=this.startNode();return this.next(),this.flowParseEnumDeclaration(T)}return super.parseExportDefaultExpression()}parseConditional(T,I,H){if(!this.match(17))return T;if(this.state.maybeInArrowParameters){let Zt=this.lookaheadCharCode();if(Zt===44||Zt===61||Zt===58||Zt===41)return this.setOptionalParametersError(H),T}this.expect(17);let re=this.state.clone(),we=this.state.noArrowAt,qe=this.startNodeAt(I),{consequent:it,failed:ot}=this.tryParseConditionalConsequent(),[mt,jt]=this.getArrowLikeExpressions(it);if(ot||jt.length>0){let Zt=[...we];if(jt.length>0){this.state=re,this.state.noArrowAt=Zt;for(let Br=0;Br<jt.length;Br++)Zt.push(jt[Br].start);({consequent:it,failed:ot}=this.tryParseConditionalConsequent()),[mt,jt]=this.getArrowLikeExpressions(it)}ot&&mt.length>1&&this.raise(dr.AmbiguousConditionalArrow,re.startLoc),ot&&mt.length===1&&(this.state=re,Zt.push(mt[0].start),this.state.noArrowAt=Zt,{consequent:it,failed:ot}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(it,!0),this.state.noArrowAt=we,this.expect(14),qe.test=T,qe.consequent=it,qe.alternate=this.forwardNoArrowParamsConversionAt(qe,(()=>this.parseMaybeAssign(void 0,void 0))),this.finishNode(qe,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let T=this.parseMaybeAssignAllowIn(),I=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:T,failed:I}}getArrowLikeExpressions(T,I){let H=[T],re=[];for(;H.length!==0;){let we=H.pop();we.type==="ArrowFunctionExpression"&&we.body.type!=="BlockStatement"?(we.typeParameters||!we.returnType?this.finishArrowValidation(we):re.push(we),H.push(we.body)):we.type==="ConditionalExpression"&&(H.push(we.consequent),H.push(we.alternate))}return I?(re.forEach((we=>this.finishArrowValidation(we))),[re,[]]):(function(we,qe){let it=[],ot=[];for(let mt=0;mt<we.length;mt++)(qe(we[mt],mt,we)?it:ot).push(we[mt]);return[it,ot]})(re,(we=>we.params.every((qe=>this.isAssignable(qe,!0)))))}finishArrowValidation(T){var I;this.toAssignableList(T.params,(I=T.extra)==null?void 0:I.trailingCommaLoc,!1),this.scope.enter(6),super.checkParams(T,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(T,I){let H;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(T.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),H=I(),this.state.noArrowParamsConversionAt.pop()):H=I(),H}parseParenItem(T,I){let H=super.parseParenItem(T,I);if(this.eat(17)&&(H.optional=!0,this.resetEndLocation(T)),this.match(14)){let re=this.startNodeAt(I);return re.expression=H,re.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(re,"TypeCastExpression")}return H}assertModuleNodeAllowed(T){T.type==="ImportDeclaration"&&(T.importKind==="type"||T.importKind==="typeof")||T.type==="ExportNamedDeclaration"&&T.exportKind==="type"||T.type==="ExportAllDeclaration"&&T.exportKind==="type"||super.assertModuleNodeAllowed(T)}parseExportDeclaration(T){if(this.isContextual(130)){T.exportKind="type";let I=this.startNode();return this.next(),this.match(5)?(T.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(T),null):this.flowParseTypeAlias(I)}if(this.isContextual(131)){T.exportKind="type";let I=this.startNode();return this.next(),this.flowParseOpaqueType(I,!1)}if(this.isContextual(129)){T.exportKind="type";let I=this.startNode();return this.next(),this.flowParseInterface(I)}if(this.isContextual(126)){T.exportKind="value";let I=this.startNode();return this.next(),this.flowParseEnumDeclaration(I)}return super.parseExportDeclaration(T)}eatExportStar(T){return!!super.eatExportStar(T)||!(!this.isContextual(130)||this.lookahead().type!==55)&&(T.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(T){let{startLoc:I}=this.state,H=super.maybeParseExportNamespaceSpecifier(T);return H&&T.exportKind==="type"&&this.unexpected(I),H}parseClassId(T,I,H){super.parseClassId(T,I,H),this.match(47)&&(T.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(T,I,H){let{startLoc:re}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(T,I))return;I.declare=!0}super.parseClassMember(T,I,H),I.declare&&(I.type!=="ClassProperty"&&I.type!=="ClassPrivateProperty"&&I.type!=="PropertyDefinition"?this.raise(dr.DeclareClassElement,re):I.value&&this.raise(dr.DeclareClassFieldInitializer,I.value))}isIterator(T){return T==="iterator"||T==="asyncIterator"}readIterator(){let T=super.readWord1(),I="@@"+T;this.isIterator(T)&&this.state.inType||this.raise(S.InvalidIdentifier,this.state.curPosition(),{identifierName:I}),this.finishToken(132,I)}getTokenFromCode(T){let I=this.input.charCodeAt(this.state.pos+1);T===123&&I===124?this.finishOp(6,2):!this.state.inType||T!==62&&T!==60?this.state.inType&&T===63?I===46?this.finishOp(18,2):this.finishOp(17,1):(function(H,re,we){return H===64&&re===64&&pe(we)})(T,I,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(T):this.finishOp(T===62?48:47,1)}isAssignable(T,I){return T.type==="TypeCastExpression"?this.isAssignable(T.expression,I):super.isAssignable(T,I)}toAssignable(T,I=!1){I||T.type!=="AssignmentExpression"||T.left.type!=="TypeCastExpression"||(T.left=this.typeCastToParameter(T.left)),super.toAssignable(T,I)}toAssignableList(T,I,H){for(let re=0;re<T.length;re++){let we=T[re];(we==null?void 0:we.type)==="TypeCastExpression"&&(T[re]=this.typeCastToParameter(we))}super.toAssignableList(T,I,H)}toReferencedList(T,I){for(let re=0;re<T.length;re++){var H;let we=T[re];!we||we.type!=="TypeCastExpression"||(H=we.extra)!=null&&H.parenthesized||!(T.length>1)&&I||this.raise(dr.TypeCastInPattern,we.typeAnnotation)}return T}parseArrayLike(T,I,H,re){let we=super.parseArrayLike(T,I,H,re);return I&&!this.state.maybeInArrowParameters&&this.toReferencedList(we.elements),we}isValidLVal(T,I,H){return T==="TypeCastExpression"||super.isValidLVal(T,I,H)}parseClassProperty(T){return this.match(14)&&(T.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(T)}parseClassPrivateProperty(T){return this.match(14)&&(T.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(T)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(T){return!this.match(14)&&super.isNonstaticConstructor(T)}pushClassMethod(T,I,H,re,we,qe){if(I.variance&&this.unexpected(I.variance.loc.start),delete I.variance,this.match(47)&&(I.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(T,I,H,re,we,qe),I.params&&we){let it=I.params;it.length>0&&this.isThisParam(it[0])&&this.raise(dr.ThisParamBannedInConstructor,I)}else if(I.type==="MethodDefinition"&&we&&I.value.params){let it=I.value.params;it.length>0&&this.isThisParam(it[0])&&this.raise(dr.ThisParamBannedInConstructor,I)}}pushClassPrivateMethod(T,I,H,re){I.variance&&this.unexpected(I.variance.loc.start),delete I.variance,this.match(47)&&(I.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(T,I,H,re)}parseClassSuper(T){if(super.parseClassSuper(T),T.superClass&&this.match(47)&&(T.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(113)){this.next();let I=T.implements=[];do{let H=this.startNode();H.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?H.typeParameters=this.flowParseTypeParameterInstantiation():H.typeParameters=null,I.push(this.finishNode(H,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(T){super.checkGetterSetterParams(T);let I=this.getObjectOrClassMethodParams(T);if(I.length>0){let H=I[0];this.isThisParam(H)&&T.kind==="get"?this.raise(dr.GetterMayNotHaveThisParam,H):this.isThisParam(H)&&this.raise(dr.SetterMayNotHaveThisParam,H)}}parsePropertyNamePrefixOperator(T){T.variance=this.flowParseVariance()}parseObjPropValue(T,I,H,re,we,qe,it){let ot;T.variance&&this.unexpected(T.variance.loc.start),delete T.variance,this.match(47)&&!qe&&(ot=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let mt=super.parseObjPropValue(T,I,H,re,we,qe,it);return ot&&((mt.value||mt).typeParameters=ot),mt}parseFunctionParamType(T){return this.eat(17)&&(T.type!=="Identifier"&&this.raise(dr.PatternIsOptional,T),this.isThisParam(T)&&this.raise(dr.ThisParamMayNotBeOptional,T),T.optional=!0),this.match(14)?T.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(T)&&this.raise(dr.ThisParamAnnotationRequired,T),this.match(29)&&this.isThisParam(T)&&this.raise(dr.ThisParamNoDefault,T),this.resetEndLocation(T),T}parseMaybeDefault(T,I){let H=super.parseMaybeDefault(T,I);return H.type==="AssignmentPattern"&&H.typeAnnotation&&H.right.start<H.typeAnnotation.start&&this.raise(dr.TypeBeforeInitializer,H.typeAnnotation),H}checkImportReflection(T){super.checkImportReflection(T),T.module&&T.importKind!=="value"&&this.raise(dr.ImportReflectionHasImportType,T.specifiers[0].loc.start)}parseImportSpecifierLocal(T,I,H){I.local=Sr(T)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),T.specifiers.push(this.finishImportSpecifier(I,H))}isPotentialImportPhase(T){if(super.isPotentialImportPhase(T))return!0;if(this.isContextual(130)){if(!T)return!0;let I=this.lookaheadCharCode();return I===123||I===42}return!T&&this.isContextual(87)}applyImportPhase(T,I,H,re){if(super.applyImportPhase(T,I,H,re),I){if(!H&&this.match(65))return;T.exportKind=H==="type"?H:"value"}else H==="type"&&this.match(55)&&this.unexpected(),T.importKind=H==="type"||H==="typeof"?H:"value"}parseImportSpecifier(T,I,H,re,we){let qe=T.imported,it=null;qe.type==="Identifier"&&(qe.name==="type"?it="type":qe.name==="typeof"&&(it="typeof"));let ot=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let jt=this.parseIdentifier(!0);it===null||ie(this.state.type)?(T.imported=qe,T.importKind=null,T.local=this.parseIdentifier()):(T.imported=jt,T.importKind=it,T.local=zn(jt))}else{if(it!==null&&ie(this.state.type))T.imported=this.parseIdentifier(!0),T.importKind=it;else{if(I)throw this.raise(S.ImportBindingIsString,T,{importName:qe.value});T.imported=qe,T.importKind=null}this.eatContextual(93)?T.local=this.parseIdentifier():(ot=!0,T.local=zn(T.imported))}let mt=Sr(T);return H&&mt&&this.raise(dr.ImportTypeShorthandOnlyInPureImport,T),(H||mt)&&this.checkReservedType(T.local.name,T.local.loc.start,!0),!ot||H||mt||this.checkReservedWord(T.local.name,T.loc.start,!0,!0),this.finishImportSpecifier(T,"ImportSpecifier")}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(T,I){let H=T.kind;H!=="get"&&H!=="set"&&this.match(47)&&(T.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(T,I)}parseVarId(T,I){super.parseVarId(T,I),this.match(14)&&(T.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(T.id))}parseAsyncArrowFromCallExpression(T,I){if(this.match(14)){let H=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,T.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=H}return super.parseAsyncArrowFromCallExpression(T,I)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(T,I){var H;let re,we=null;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(we=this.state.clone(),re=this.tryParse((()=>super.parseMaybeAssign(T,I)),we),!re.error)return re.node;let{context:ot}=this.state,mt=ot[ot.length-1];mt!==F.j_oTag&&mt!==F.j_expr||ot.pop()}if((H=re)!=null&&H.error||this.match(47)){var qe,it;let ot;we=we||this.state.clone();let mt=this.tryParse((Zt=>{var Br;ot=this.flowParseTypeParameterDeclaration();let Er=this.forwardNoArrowParamsConversionAt(ot,(()=>{let Wn=super.parseMaybeAssign(T,I);return this.resetStartLocationFromNode(Wn,ot),Wn}));(Br=Er.extra)!=null&&Br.parenthesized&&Zt();let rn=this.maybeUnwrapTypeCastExpression(Er);return rn.type!=="ArrowFunctionExpression"&&Zt(),rn.typeParameters=ot,this.resetStartLocationFromNode(rn,ot),Er}),we),jt=null;if(mt.node&&this.maybeUnwrapTypeCastExpression(mt.node).type==="ArrowFunctionExpression"){if(!mt.error&&!mt.aborted)return mt.node.async&&this.raise(dr.UnexpectedTypeParameterBeforeAsyncArrowFunction,ot),mt.node;jt=mt.node}if((qe=re)!=null&&qe.node)return this.state=re.failState,re.node;if(jt)return this.state=mt.failState,jt;throw(it=re)!=null&&it.thrown?re.error:mt.thrown?mt.error:this.raise(dr.UnexpectedTokenAfterTypeParameter,ot)}return super.parseMaybeAssign(T,I)}parseArrow(T){if(this.match(14)){let I=this.tryParse((()=>{let H=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let re=this.startNode();return[re.typeAnnotation,T.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=H,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),re}));if(I.thrown)return null;I.error&&(this.state=I.failState),T.returnType=I.node.typeAnnotation?this.finishNode(I.node,"TypeAnnotation"):null}return super.parseArrow(T)}shouldParseArrow(T){return this.match(14)||super.shouldParseArrow(T)}setArrowFunctionParameters(T,I){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(T.start))?T.params=I:super.setArrowFunctionParameters(T,I)}checkParams(T,I,H,re=!0){if(!H||!this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(T.start))){for(let we=0;we<T.params.length;we++)this.isThisParam(T.params[we])&&we>0&&this.raise(dr.ThisParamMustBeFirst,T.params[we]);super.checkParams(T,I,H,re)}}parseParenAndDistinguishExpression(T){return super.parseParenAndDistinguishExpression(T&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(T,I,H){if(T.type==="Identifier"&&T.name==="async"&&this.state.noArrowAt.includes(I.index)){this.next();let re=this.startNodeAt(I);re.callee=T,re.arguments=super.parseCallExpressionArguments(11),T=this.finishNode(re,"CallExpression")}else if(T.type==="Identifier"&&T.name==="async"&&this.match(47)){let re=this.state.clone(),we=this.tryParse((it=>this.parseAsyncArrowWithTypeParameters(I)||it()),re);if(!we.error&&!we.aborted)return we.node;let qe=this.tryParse((()=>super.parseSubscripts(T,I,H)),re);if(qe.node&&!qe.error)return qe.node;if(we.node)return this.state=we.failState,we.node;if(qe.node)return this.state=qe.failState,qe.node;throw we.error||qe.error}return super.parseSubscripts(T,I,H)}parseSubscript(T,I,H,re){if(this.match(18)&&this.isLookaheadToken_lt()){if(re.optionalChainMember=!0,H)return re.stop=!0,T;this.next();let we=this.startNodeAt(I);return we.callee=T,we.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),we.arguments=this.parseCallExpressionArguments(11),we.optional=!0,this.finishCallExpression(we,!0)}if(!H&&this.shouldParseTypes()&&this.match(47)){let we=this.startNodeAt(I);we.callee=T;let qe=this.tryParse((()=>(we.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),we.arguments=super.parseCallExpressionArguments(11),re.optionalChainMember&&(we.optional=!1),this.finishCallExpression(we,re.optionalChainMember))));if(qe.node)return qe.error&&(this.state=qe.failState),qe.node}return super.parseSubscript(T,I,H,re)}parseNewCallee(T){super.parseNewCallee(T);let I=null;this.shouldParseTypes()&&this.match(47)&&(I=this.tryParse((()=>this.flowParseTypeParameterInstantiationCallOrNew())).node),T.typeArguments=I}parseAsyncArrowWithTypeParameters(T){let I=this.startNodeAt(T);if(this.parseFunctionParams(I,!1),this.parseArrow(I))return super.parseArrowExpression(I,void 0,!0)}readToken_mult_modulo(T){let I=this.input.charCodeAt(this.state.pos+1);if(T===42&&I===47&&this.state.hasFlowComment)return this.state.hasFlowComment=!1,this.state.pos+=2,void this.nextToken();super.readToken_mult_modulo(T)}readToken_pipe_amp(T){let I=this.input.charCodeAt(this.state.pos+1);T!==124||I!==125?super.readToken_pipe_amp(T):this.finishOp(9,2)}parseTopLevel(T,I){let H=super.parseTopLevel(T,I);return this.state.hasFlowComment&&this.raise(dr.UnterminatedFlowComment,this.state.curPosition()),H}skipBlockComment(){if(!this.hasPlugin("flowComments")||!this.skipFlowComment())return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/");{if(this.state.hasFlowComment)throw this.raise(dr.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let T=this.skipFlowComment();T&&(this.state.pos+=T,this.state.hasFlowComment=!0)}}skipFlowComment(){let{pos:T}=this.state,I=2;for(;[32,9].includes(this.input.charCodeAt(T+I));)I++;let H=this.input.charCodeAt(I+T),re=this.input.charCodeAt(I+T+1);return H===58&&re===58?I+2:this.input.slice(I+T,I+T+12)==="flow-include"?I+12:H===58&&re!==58&&I}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(S.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(T,{enumName:I,memberName:H}){this.raise(dr.EnumBooleanMemberNotInitialized,T,{memberName:H,enumName:I})}flowEnumErrorInvalidMemberInitializer(T,I){return this.raise(I.explicitType?I.explicitType==="symbol"?dr.EnumInvalidMemberInitializerSymbolType:dr.EnumInvalidMemberInitializerPrimaryType:dr.EnumInvalidMemberInitializerUnknownType,T,I)}flowEnumErrorNumberMemberNotInitialized(T,I){this.raise(dr.EnumNumberMemberNotInitialized,T,I)}flowEnumErrorStringMemberInconsistentlyInitialized(T,I){this.raise(dr.EnumStringMemberInconsistentlyInitialized,T,I)}flowEnumMemberInit(){let T=this.state.startLoc,I=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{let H=this.parseNumericLiteral(this.state.value);return I()?{type:"number",loc:H.loc.start,value:H}:{type:"invalid",loc:T}}case 134:{let H=this.parseStringLiteral(this.state.value);return I()?{type:"string",loc:H.loc.start,value:H}:{type:"invalid",loc:T}}case 85:case 86:{let H=this.parseBooleanLiteral(this.match(85));return I()?{type:"boolean",loc:H.loc.start,value:H}:{type:"invalid",loc:T}}default:return{type:"invalid",loc:T}}}flowEnumMemberRaw(){let T=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:T}}}flowEnumCheckExplicitTypeMismatch(T,I,H){let{explicitType:re}=I;re!==null&&re!==H&&this.flowEnumErrorInvalidMemberInitializer(T,I)}flowEnumMembers({enumName:T,explicitType:I}){let H=new Set,re={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},we=!1;for(;!this.match(8);){if(this.eat(21)){we=!0;break}let qe=this.startNode(),{id:it,init:ot}=this.flowEnumMemberRaw(),mt=it.name;if(mt==="")continue;/^[a-z]/.test(mt)&&this.raise(dr.EnumInvalidMemberName,it,{memberName:mt,suggestion:mt[0].toUpperCase()+mt.slice(1),enumName:T}),H.has(mt)&&this.raise(dr.EnumDuplicateMemberName,it,{memberName:mt,enumName:T}),H.add(mt);let jt={enumName:T,explicitType:I,memberName:mt};switch(qe.id=it,ot.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(ot.loc,jt,"boolean"),qe.init=ot.value,re.booleanMembers.push(this.finishNode(qe,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(ot.loc,jt,"number"),qe.init=ot.value,re.numberMembers.push(this.finishNode(qe,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(ot.loc,jt,"string"),qe.init=ot.value,re.stringMembers.push(this.finishNode(qe,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(ot.loc,jt);case"none":switch(I){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(ot.loc,jt);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(ot.loc,jt);break;default:re.defaultedMembers.push(this.finishNode(qe,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:re,hasUnknownMembers:we}}flowEnumStringMembers(T,I,{enumName:H}){if(T.length===0)return I;if(I.length===0)return T;if(I.length>T.length){for(let re of T)this.flowEnumErrorStringMemberInconsistentlyInitialized(re,{enumName:H});return I}for(let re of I)this.flowEnumErrorStringMemberInconsistentlyInitialized(re,{enumName:H});return T}flowEnumParseExplicitType({enumName:T}){if(!this.eatContextual(102))return null;if(!X(this.state.type))throw this.raise(dr.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:T});let{value:I}=this.state;return this.next(),I!=="boolean"&&I!=="number"&&I!=="string"&&I!=="symbol"&&this.raise(dr.EnumInvalidExplicitType,this.state.startLoc,{enumName:T,invalidEnumType:I}),I}flowEnumBody(T,I){let H=I.name,re=I.loc.start,we=this.flowEnumParseExplicitType({enumName:H});this.expect(5);let{members:qe,hasUnknownMembers:it}=this.flowEnumMembers({enumName:H,explicitType:we});switch(T.hasUnknownMembers=it,we){case"boolean":return T.explicitType=!0,T.members=qe.booleanMembers,this.expect(8),this.finishNode(T,"EnumBooleanBody");case"number":return T.explicitType=!0,T.members=qe.numberMembers,this.expect(8),this.finishNode(T,"EnumNumberBody");case"string":return T.explicitType=!0,T.members=this.flowEnumStringMembers(qe.stringMembers,qe.defaultedMembers,{enumName:H}),this.expect(8),this.finishNode(T,"EnumStringBody");case"symbol":return T.members=qe.defaultedMembers,this.expect(8),this.finishNode(T,"EnumSymbolBody");default:{let ot=()=>(T.members=[],this.expect(8),this.finishNode(T,"EnumStringBody"));T.explicitType=!1;let mt=qe.booleanMembers.length,jt=qe.numberMembers.length,Zt=qe.stringMembers.length,Br=qe.defaultedMembers.length;if(mt||jt||Zt||Br){if(mt||jt){if(!jt&&!Zt&&mt>=Br){for(let Er of qe.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(Er.loc.start,{enumName:H,memberName:Er.id.name});return T.members=qe.booleanMembers,this.expect(8),this.finishNode(T,"EnumBooleanBody")}if(!mt&&!Zt&&jt>=Br){for(let Er of qe.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(Er.loc.start,{enumName:H,memberName:Er.id.name});return T.members=qe.numberMembers,this.expect(8),this.finishNode(T,"EnumNumberBody")}return this.raise(dr.EnumInconsistentMemberValues,re,{enumName:H}),ot()}return T.members=this.flowEnumStringMembers(qe.stringMembers,qe.defaultedMembers,{enumName:H}),this.expect(8),this.finishNode(T,"EnumStringBody")}return ot()}}}flowParseEnumDeclaration(T){let I=this.parseIdentifier();return T.id=I,T.body=this.flowEnumBody(this.startNode(),I),this.finishNode(T,"EnumDeclaration")}isLookaheadToken_lt(){let T=this.nextTokenStart();if(this.input.charCodeAt(T)===60){let I=this.input.charCodeAt(T+1);return I!==60&&I!==61}return!1}maybeUnwrapTypeCastExpression(T){return T.type==="TypeCastExpression"?T.expression:T}},typescript:He=>class extends He{constructor(...T){super(...T),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:Xt.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:Xt.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:Xt.InvalidModifierOnTypeParameter})}getScopeHandler(){return kt}tsIsIdentifier(){return X(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),!this.hasPrecedingLineBreak()&&this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(T,I){if(!X(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let H=this.state.value;if(T.includes(H)){if(I&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return H}}tsParseModifiers({allowedModifiers:T,disallowedModifiers:I,stopOnStartOfClassStaticBlock:H,errorTemplate:re=Xt.InvalidModifierOnTypeMember},we){let qe=(ot,mt,jt,Zt)=>{mt===jt&&we[Zt]&&this.raise(Xt.InvalidModifiersOrder,ot,{orderedModifiers:[jt,Zt]})},it=(ot,mt,jt,Zt)=>{(we[jt]&&mt===Zt||we[Zt]&&mt===jt)&&this.raise(Xt.IncompatibleModifiers,ot,{modifiers:[jt,Zt]})};for(;;){let{startLoc:ot}=this.state,mt=this.tsParseModifier(T.concat(I??[]),H);if(!mt)break;jr(mt)?we.accessibility?this.raise(Xt.DuplicateAccessibilityModifier,ot,{modifier:mt}):(qe(ot,mt,mt,"override"),qe(ot,mt,mt,"static"),qe(ot,mt,mt,"readonly"),we.accessibility=mt):tn(mt)?(we[mt]&&this.raise(Xt.DuplicateModifier,ot,{modifier:mt}),we[mt]=!0,qe(ot,mt,"in","out")):(hasOwnProperty.call(we,mt)?this.raise(Xt.DuplicateModifier,ot,{modifier:mt}):(qe(ot,mt,"static","readonly"),qe(ot,mt,"static","override"),qe(ot,mt,"override","readonly"),qe(ot,mt,"abstract","override"),it(ot,mt,"declare","override"),it(ot,mt,"static","abstract")),we[mt]=!0),I!=null&&I.includes(mt)&&this.raise(re,ot,{modifier:mt})}}tsIsListTerminator(T){switch(T){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(T,I){let H=[];for(;!this.tsIsListTerminator(T);)H.push(I());return H}tsParseDelimitedList(T,I,H){return(function(re){if(re==null)throw new Error(`Unexpected ${re} value.`);return re})(this.tsParseDelimitedListWorker(T,I,!0,H))}tsParseDelimitedListWorker(T,I,H,re){let we=[],qe=-1;for(;!this.tsIsListTerminator(T);){qe=-1;let it=I();if(it==null)return;if(we.push(it),!this.eat(12)){if(this.tsIsListTerminator(T))break;return void(H&&this.expect(12))}qe=this.state.lastTokStartLoc.index}return re&&(re.value=qe),we}tsParseBracketedList(T,I,H,re,we){re||(H?this.expect(0):this.expect(47));let qe=this.tsParseDelimitedList(T,I,we);return H?this.expect(3):this.expect(48),qe}tsParseImportType(){let T=this.startNode();return this.expect(83),this.expect(10),this.match(134)||this.raise(Xt.UnsupportedImportTypeArgument,this.state.startLoc),T.argument=super.parseExprAtom(),this.eat(12)&&!this.match(11)?(T.options=super.parseMaybeAssignAllowIn(),this.eat(12)):T.options=null,this.expect(11),this.eat(16)&&(T.qualifier=this.tsParseEntityName()),this.match(47)&&(T.typeParameters=this.tsParseTypeArguments()),this.finishNode(T,"TSImportType")}tsParseEntityName(T=!0){let I=this.parseIdentifier(T);for(;this.eat(16);){let H=this.startNodeAtNode(I);H.left=I,H.right=this.parseIdentifier(T),I=this.finishNode(H,"TSQualifiedName")}return I}tsParseTypeReference(){let T=this.startNode();return T.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(T.typeParameters=this.tsParseTypeArguments()),this.finishNode(T,"TSTypeReference")}tsParseThisTypePredicate(T){this.next();let I=this.startNodeAtNode(T);return I.parameterName=T,I.typeAnnotation=this.tsParseTypeAnnotation(!1),I.asserts=!1,this.finishNode(I,"TSTypePredicate")}tsParseThisTypeNode(){let T=this.startNode();return this.next(),this.finishNode(T,"TSThisType")}tsParseTypeQuery(){let T=this.startNode();return this.expect(87),this.match(83)?T.exprName=this.tsParseImportType():T.exprName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.match(47)&&(T.typeParameters=this.tsParseTypeArguments()),this.finishNode(T,"TSTypeQuery")}tsParseTypeParameter(T){let I=this.startNode();return T(I),I.name=this.tsParseTypeParameterName(),I.constraint=this.tsEatThenParseType(81),I.default=this.tsEatThenParseType(29),this.finishNode(I,"TSTypeParameter")}tsTryParseTypeParameters(T){if(this.match(47))return this.tsParseTypeParameters(T)}tsParseTypeParameters(T){let I=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();let H={value:-1};return I.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,T),!1,!0,H),I.params.length===0&&this.raise(Xt.EmptyTypeParameters,I),H.value!==-1&&this.addExtra(I,"trailingComma",H.value),this.finishNode(I,"TSTypeParameterDeclaration")}tsFillSignature(T,I){let H=T===19;I.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),I.parameters=this.tsParseBindingListForSignature(),(H||this.match(T))&&(I.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(T))}tsParseBindingListForSignature(){let T=super.parseBindingList(11,41,2);for(let I of T){let{type:H}=I;H!=="AssignmentPattern"&&H!=="TSParameterProperty"||this.raise(Xt.UnsupportedSignatureParameterKind,I,{type:H})}return T}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(T,I){return this.tsFillSignature(14,I),this.tsParseTypeMemberSemicolon(),this.finishNode(I,T)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!X(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(T){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);let I=this.parseIdentifier();I.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(I),this.expect(3),T.parameters=[I];let H=this.tsTryParseTypeAnnotation();return H&&(T.typeAnnotation=H),this.tsParseTypeMemberSemicolon(),this.finishNode(T,"TSIndexSignature")}tsParsePropertyOrMethodSignature(T,I){this.eat(17)&&(T.optional=!0);let H=T;if(this.match(10)||this.match(47)){I&&this.raise(Xt.ReadonlyForMethodSignature,T);let re=H;re.kind&&this.match(47)&&this.raise(Xt.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,re),this.tsParseTypeMemberSemicolon();let we="parameters",qe="typeAnnotation";if(re.kind==="get")re[we].length>0&&(this.raise(S.BadGetterArity,this.state.curPosition()),this.isThisParam(re[we][0])&&this.raise(Xt.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(re.kind==="set"){if(re[we].length!==1)this.raise(S.BadSetterArity,this.state.curPosition());else{let it=re[we][0];this.isThisParam(it)&&this.raise(Xt.AccessorCannotDeclareThisParameter,this.state.curPosition()),it.type==="Identifier"&&it.optional&&this.raise(Xt.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),it.type==="RestElement"&&this.raise(Xt.SetAccessorCannotHaveRestParameter,this.state.curPosition())}re[qe]&&this.raise(Xt.SetAccessorCannotHaveReturnType,re[qe])}else re.kind="method";return this.finishNode(re,"TSMethodSignature")}{let re=H;I&&(re.readonly=!0);let we=this.tsTryParseTypeAnnotation();return we&&(re.typeAnnotation=we),this.tsParseTypeMemberSemicolon(),this.finishNode(re,"TSPropertySignature")}}tsParseTypeMember(){let T=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",T);if(this.match(77)){let H=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",T):(T.key=this.createIdentifier(H,"new"),this.tsParsePropertyOrMethodSignature(T,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},T),this.tsTryParseIndexSignature(T)||(super.parsePropertyName(T),T.computed||T.key.type!=="Identifier"||T.key.name!=="get"&&T.key.name!=="set"||!this.tsTokenCanFollowModifier()||(T.kind=T.key.name,super.parsePropertyName(T)),this.tsParsePropertyOrMethodSignature(T,!!T.readonly))}tsParseTypeLiteral(){let T=this.startNode();return T.members=this.tsParseObjectTypeMembers(),this.finishNode(T,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let T=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),T}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(58))))}tsParseMappedType(){let T=this.startNode();this.expect(5),this.match(53)?(T.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(T.readonly=!0),this.expect(0);{let I=this.startNode();I.name=this.tsParseTypeParameterName(),I.constraint=this.tsExpectThenParseType(58),T.typeParameter=this.finishNode(I,"TSTypeParameter")}return T.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(T.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(T.optional=!0),T.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(T,"TSMappedType")}tsParseTupleType(){let T=this.startNode();T.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let I=!1;return T.elementTypes.forEach((H=>{let{type:re}=H;!I||re==="TSRestType"||re==="TSOptionalType"||re==="TSNamedTupleMember"&&H.optional||this.raise(Xt.OptionalTypeBeforeRequired,H),I||(I=re==="TSNamedTupleMember"&&H.optional||re==="TSOptionalType")})),this.finishNode(T,"TSTupleType")}tsParseTupleElementType(){let{startLoc:T}=this.state,I=this.eat(21),H,re,we,qe,it=ie(this.state.type)?this.lookaheadCharCode():null;if(it===58)H=!0,we=!1,re=this.parseIdentifier(!0),this.expect(14),qe=this.tsParseType();else if(it===63){we=!0;let ot=this.state.startLoc,mt=this.state.value,jt=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(H=!0,re=this.createIdentifier(this.startNodeAt(ot),mt),this.expect(17),this.expect(14),qe=this.tsParseType()):(H=!1,qe=jt,this.expect(17))}else qe=this.tsParseType(),we=this.eat(17),H=this.eat(14);if(H){let ot;re?(ot=this.startNodeAtNode(re),ot.optional=we,ot.label=re,ot.elementType=qe,this.eat(17)&&(ot.optional=!0,this.raise(Xt.TupleOptionalAfterType,this.state.lastTokStartLoc))):(ot=this.startNodeAtNode(qe),ot.optional=we,this.raise(Xt.InvalidTupleMemberLabel,qe),ot.label=qe,ot.elementType=this.tsParseType()),qe=this.finishNode(ot,"TSNamedTupleMember")}else if(we){let ot=this.startNodeAtNode(qe);ot.typeAnnotation=qe,qe=this.finishNode(ot,"TSOptionalType")}if(I){let ot=this.startNodeAt(T);ot.typeAnnotation=qe,qe=this.finishNode(ot,"TSRestType")}return qe}tsParseParenthesizedType(){let T=this.startNode();return this.expect(10),T.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(T,"TSParenthesizedType")}tsParseFunctionOrConstructorType(T,I){let H=this.startNode();return T==="TSConstructorType"&&(H.abstract=!!I,I&&this.next(),this.next()),this.tsInAllowConditionalTypesContext((()=>this.tsFillSignature(19,H))),this.finishNode(H,T)}tsParseLiteralTypeNode(){let T=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:T.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(T,"TSLiteralType")}tsParseTemplateLiteralType(){let T=this.startNode();return T.literal=super.parseTemplate(!1),this.finishNode(T,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let T=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(T):T}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let T=this.startNode(),I=this.lookahead();return I.type!==135&&I.type!==136&&this.unexpected(),T.literal=this.parseMaybeUnary(),this.finishNode(T,"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:T}=this.state;if(X(T)||T===88||T===84){let I=T===88?"TSVoidKeyword":T===84?"TSNullKeyword":(function(H){switch(H){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(I!==void 0&&this.lookaheadCharCode()!==46){let H=this.startNode();return this.next(),this.finishNode(H,I)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let T=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let I=this.startNodeAtNode(T);I.elementType=T,this.expect(3),T=this.finishNode(I,"TSArrayType")}else{let I=this.startNodeAtNode(T);I.objectType=T,I.indexType=this.tsParseType(),this.expect(3),T=this.finishNode(I,"TSIndexedAccessType")}return T}tsParseTypeOperator(){let T=this.startNode(),I=this.state.value;return this.next(),T.operator=I,T.typeAnnotation=this.tsParseTypeOperatorOrHigher(),I==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(T),this.finishNode(T,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(T){switch(T.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(Xt.UnexpectedReadonly,T)}}tsParseInferType(){let T=this.startNode();this.expectContextual(115);let I=this.startNode();return I.name=this.tsParseTypeParameterName(),I.constraint=this.tsTryParse((()=>this.tsParseConstraintForInferType())),T.typeParameter=this.finishNode(I,"TSTypeParameter"),this.finishNode(T,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let T=this.tsInDisallowConditionalTypesContext((()=>this.tsParseType()));if(this.state.inDisallowConditionalTypesContext||!this.match(17))return T}}tsParseTypeOperatorOrHigher(){var T;return(T=this.state.type)>=121&&T<=123&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext((()=>this.tsParseArrayTypeOrHigher()))}tsParseUnionOrIntersectionType(T,I,H){let re=this.startNode(),we=this.eat(H),qe=[];do qe.push(I());while(this.eat(H));return qe.length!==1||we?(re.types=qe,this.finishNode(re,T)):qe[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(X(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:T}=this.state,I=T.length;try{return this.parseObjectLike(8,!0),T.length===I}catch{return!1}}if(this.match(0)){this.next();let{errors:T}=this.state,I=T.length;try{return super.parseBindingList(3,93,1),T.length===I}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(T){return this.tsInType((()=>{let I=this.startNode();this.expect(T);let H=this.startNode(),re=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(re&&this.match(78)){let it=this.tsParseThisTypeOrThisTypePredicate();return it.type==="TSThisType"?(H.parameterName=it,H.asserts=!0,H.typeAnnotation=null,it=this.finishNode(H,"TSTypePredicate")):(this.resetStartLocationFromNode(it,H),it.asserts=!0),I.typeAnnotation=it,this.finishNode(I,"TSTypeAnnotation")}let we=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!we)return re?(H.parameterName=this.parseIdentifier(),H.asserts=re,H.typeAnnotation=null,I.typeAnnotation=this.finishNode(H,"TSTypePredicate"),this.finishNode(I,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,I);let qe=this.tsParseTypeAnnotation(!1);return H.parameterName=we,H.typeAnnotation=qe,H.asserts=re,I.typeAnnotation=this.finishNode(H,"TSTypePredicate"),this.finishNode(I,"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 T=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),T}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let T=this.state.containsEsc;return this.next(),!(!X(this.state.type)&&!this.match(78))&&(T&&this.raise(S.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(T=!0,I=this.startNode()){return this.tsInType((()=>{T&&this.expect(14),I.typeAnnotation=this.tsParseType()})),this.finishNode(I,"TSTypeAnnotation")}tsParseType(){Xr(this.state.inType);let T=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return T;let I=this.startNodeAtNode(T);return I.checkType=T,I.extendsType=this.tsInDisallowConditionalTypesContext((()=>this.tsParseNonConditionalType())),this.expect(17),I.trueType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.expect(14),I.falseType=this.tsInAllowConditionalTypesContext((()=>this.tsParseType())),this.finishNode(I,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&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(Xt.ReservedTypeAssertion,this.state.startLoc);let T=this.startNode();return T.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType()))),this.expect(48),T.expression=this.parseMaybeUnary(),this.finishNode(T,"TSTypeAssertion")}tsParseHeritageClause(T){let I=this.state.startLoc,H=this.tsParseDelimitedList("HeritageClauseElement",(()=>{let re=this.startNode();return re.expression=this.tsParseEntityName(),this.match(47)&&(re.typeParameters=this.tsParseTypeArguments()),this.finishNode(re,"TSExpressionWithTypeArguments")}));return H.length||this.raise(Xt.EmptyHeritageClauseType,I,{token:T}),H}tsParseInterfaceDeclaration(T,I={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),I.declare&&(T.declare=!0),X(this.state.type)?(T.id=this.parseIdentifier(),this.checkIdentifier(T.id,130)):(T.id=null,this.raise(Xt.MissingInterfaceName,this.state.startLoc)),T.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(T.extends=this.tsParseHeritageClause("extends"));let H=this.startNode();return H.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),T.body=this.finishNode(H,"TSInterfaceBody"),this.finishNode(T,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(T){return T.id=this.parseIdentifier(),this.checkIdentifier(T.id,2),T.typeAnnotation=this.tsInType((()=>{if(T.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookahead().type!==16){let I=this.startNode();return this.next(),this.finishNode(I,"TSIntrinsicKeyword")}return this.tsParseType()})),this.semicolon(),this.finishNode(T,"TSTypeAliasDeclaration")}tsInNoContext(T){let I=this.state.context;this.state.context=[I[0]];try{return T()}finally{this.state.context=I}}tsInType(T){let I=this.state.inType;this.state.inType=!0;try{return T()}finally{this.state.inType=I}}tsInDisallowConditionalTypesContext(T){let I=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return T()}finally{this.state.inDisallowConditionalTypesContext=I}}tsInAllowConditionalTypesContext(T){let I=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return T()}finally{this.state.inDisallowConditionalTypesContext=I}}tsEatThenParseType(T){if(this.match(T))return this.tsNextThenParseType()}tsExpectThenParseType(T){return this.tsInType((()=>(this.expect(T),this.tsParseType())))}tsNextThenParseType(){return this.tsInType((()=>(this.next(),this.tsParseType())))}tsParseEnumMember(){let T=this.startNode();return T.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(T.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(T,"TSEnumMember")}tsParseEnumDeclaration(T,I={}){return I.const&&(T.const=!0),I.declare&&(T.declare=!0),this.expectContextual(126),T.id=this.parseIdentifier(),this.checkIdentifier(T.id,T.const?8971:8459),this.expect(5),T.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(T,"TSEnumDeclaration")}tsParseModuleBlock(){let T=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(T.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(T,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(T,I=!1){if(T.id=this.parseIdentifier(),I||this.checkIdentifier(T.id,1024),this.eat(16)){let H=this.startNode();this.tsParseModuleOrNamespaceDeclaration(H,!0),T.body=H}else this.scope.enter(256),this.prodParam.enter(0),T.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(T,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(T){return this.isContextual(112)?(T.kind="global",T.global=!0,T.id=this.parseIdentifier()):this.match(134)?(T.kind="module",T.id=super.parseStringLiteral(this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),T.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(T,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(T,I,H){T.isExport=H||!1,T.id=I||this.parseIdentifier(),this.checkIdentifier(T.id,4096),this.expect(29);let re=this.tsParseModuleReference();return T.importKind==="type"&&re.type!=="TSExternalModuleReference"&&this.raise(Xt.ImportAliasHasImportType,re),T.moduleReference=re,this.semicolon(),this.finishNode(T,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){let T=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),T.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(T,"TSExternalModuleReference")}tsLookAhead(T){let I=this.state.clone(),H=T();return this.state=I,H}tsTryParseAndCatch(T){let I=this.tryParse((H=>T()||H()));if(!I.aborted&&I.node)return I.error&&(this.state=I.failState),I.node}tsTryParse(T){let I=this.state.clone(),H=T();if(H!==void 0&&H!==!1)return H;this.state=I}tsTryParseDeclare(T){if(this.isLineTerminator())return;let I,H=this.state.type;return this.isContextual(100)&&(H=74,I="let"),this.tsInAmbientContext((()=>{switch(H){case 68:return T.declare=!0,super.parseFunctionStatement(T,!1,!1);case 80:return T.declare=!0,this.parseClass(T,!0,!1);case 126:return this.tsParseEnumDeclaration(T,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(T);case 75:case 74:return this.match(75)&&this.isLookaheadContextual("enum")?(this.expect(75),this.tsParseEnumDeclaration(T,{const:!0,declare:!0})):(T.declare=!0,this.parseVarStatement(T,I||this.state.value,!0));case 129:{let re=this.tsParseInterfaceDeclaration(T,{declare:!0});if(re)return re}default:if(X(H))return this.tsParseDeclaration(T,this.state.value,!0,null)}}))}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(T,I,H){switch(I.name){case"declare":{let re=this.tsTryParseDeclare(T);return re&&(re.declare=!0),re}case"global":if(this.match(5)){this.scope.enter(256),this.prodParam.enter(0);let re=T;return re.kind="global",T.global=!0,re.id=I,re.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(re,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(T,I.name,!1,H)}}tsParseDeclaration(T,I,H,re){switch(I){case"abstract":if(this.tsCheckLineTerminator(H)&&(this.match(80)||X(this.state.type)))return this.tsParseAbstractDeclaration(T,re);break;case"module":if(this.tsCheckLineTerminator(H)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(T);if(X(this.state.type))return T.kind="module",this.tsParseModuleOrNamespaceDeclaration(T)}break;case"namespace":if(this.tsCheckLineTerminator(H)&&X(this.state.type))return T.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(T);break;case"type":if(this.tsCheckLineTerminator(H)&&X(this.state.type))return this.tsParseTypeAliasDeclaration(T)}}tsCheckLineTerminator(T){return T?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(T){if(!this.match(47))return;let I=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let H=this.tsTryParseAndCatch((()=>{let re=this.startNodeAt(T);return re.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(re),re.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),re}));return this.state.maybeInArrowParameters=I,H?super.parseArrowExpression(H,null,!0):void 0}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let T=this.startNode();return T.params=this.tsInType((()=>this.tsInNoContext((()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))))),T.params.length===0?this.raise(Xt.EmptyTypeArguments,T):this.state.inType||this.curContext()!==F.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(T,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return(T=this.state.type)>=124&&T<=130;var T}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(T,I){let H=this.state.startLoc,re={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},re);let we=re.accessibility,qe=re.override,it=re.readonly;4&T||!(we||it||qe)||this.raise(Xt.UnexpectedParameterModifier,H);let ot=this.parseMaybeDefault();2&T&&this.parseFunctionParamType(ot);let mt=this.parseMaybeDefault(ot.loc.start,ot);if(we||it||qe){let jt=this.startNodeAt(H);return I.length&&(jt.decorators=I),we&&(jt.accessibility=we),it&&(jt.readonly=it),qe&&(jt.override=qe),mt.type!=="Identifier"&&mt.type!=="AssignmentPattern"&&this.raise(Xt.UnsupportedParameterPropertyKind,jt),jt.parameter=mt,this.finishNode(jt,"TSParameterProperty")}return I.length&&(ot.decorators=I),mt}isSimpleParameter(T){return T.type==="TSParameterProperty"&&super.isSimpleParameter(T.parameter)||super.isSimpleParameter(T)}tsDisallowOptionalPattern(T){for(let I of T.params)I.type!=="Identifier"&&I.optional&&!this.state.isAmbientContext&&this.raise(Xt.PatternIsOptional,I)}setArrowFunctionParameters(T,I,H){super.setArrowFunctionParameters(T,I,H),this.tsDisallowOptionalPattern(T)}parseFunctionBodyAndFinish(T,I,H=!1){this.match(14)&&(T.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let re=I==="FunctionDeclaration"?"TSDeclareFunction":I==="ClassMethod"||I==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return re&&!this.match(5)&&this.isLineTerminator()?this.finishNode(T,re):re==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(Xt.DeclareFunctionHasImplementation,T),T.declare)?super.parseFunctionBodyAndFinish(T,re,H):(this.tsDisallowOptionalPattern(T),super.parseFunctionBodyAndFinish(T,I,H))}registerFunctionStatementId(T){!T.body&&T.id?this.checkIdentifier(T.id,1024):super.registerFunctionStatementId(T)}tsCheckForInvalidTypeCasts(T){T.forEach((I=>{(I==null?void 0:I.type)==="TSTypeCastExpression"&&this.raise(Xt.UnexpectedTypeAnnotation,I.typeAnnotation)}))}toReferencedList(T,I){return this.tsCheckForInvalidTypeCasts(T),T}parseArrayLike(T,I,H,re){let we=super.parseArrayLike(T,I,H,re);return we.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(we.elements),we}parseSubscript(T,I,H,re){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let qe=this.startNodeAt(I);return qe.expression=T,this.finishNode(qe,"TSNonNullExpression")}let we=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(H)return re.stop=!0,T;re.optionalChainMember=we=!0,this.next()}if(this.match(47)||this.match(51)){let qe,it=this.tsTryParseAndCatch((()=>{if(!H&&this.atPossibleAsyncArrow(T)){let Zt=this.tsTryParseGenericAsyncArrowFunction(I);if(Zt)return Zt}let ot=this.tsParseTypeArgumentsInExpression();if(!ot)return;if(we&&!this.match(10))return void(qe=this.state.curPosition());if(Oe(this.state.type)){let Zt=super.parseTaggedTemplateExpression(T,I,re);return Zt.typeParameters=ot,Zt}if(!H&&this.eat(10)){let Zt=this.startNodeAt(I);return Zt.callee=T,Zt.arguments=this.parseCallExpressionArguments(11),this.tsCheckForInvalidTypeCasts(Zt.arguments),Zt.typeParameters=ot,re.optionalChainMember&&(Zt.optional=we),this.finishCallExpression(Zt,re.optionalChainMember)}let mt=this.state.type;if(mt===48||mt===52||mt!==10&&be(mt)&&!this.hasPrecedingLineBreak())return;let jt=this.startNodeAt(I);return jt.expression=T,jt.typeParameters=ot,this.finishNode(jt,"TSInstantiationExpression")}));if(qe&&this.unexpected(qe,10),it)return it.type==="TSInstantiationExpression"&&(this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(Xt.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),it}return super.parseSubscript(T,I,H,re)}parseNewCallee(T){var I;super.parseNewCallee(T);let{callee:H}=T;H.type!=="TSInstantiationExpression"||(I=H.extra)!=null&&I.parenthesized||(T.typeParameters=H.typeParameters,T.callee=H.expression)}parseExprOp(T,I,H){let re;if(We(58)>H&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(re=this.isContextual(120)))){let we=this.startNodeAt(I);return we.expression=T,we.typeAnnotation=this.tsInType((()=>(this.next(),this.match(75)?(re&&this.raise(S.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType()))),this.finishNode(we,re?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(we,I,H)}return super.parseExprOp(T,I,H)}checkReservedWord(T,I,H,re){this.state.isAmbientContext||super.checkReservedWord(T,I,H,re)}checkImportReflection(T){super.checkImportReflection(T),T.module&&T.importKind!=="value"&&this.raise(Xt.ImportReflectionHasImportType,T.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(T){if(super.isPotentialImportPhase(T))return!0;if(this.isContextual(130)){let I=this.lookaheadCharCode();return T?I===123||I===42:I!==61}return!T&&this.isContextual(87)}applyImportPhase(T,I,H,re){super.applyImportPhase(T,I,H,re),I?T.exportKind=H==="type"?"type":"value":T.importKind=H==="type"||H==="typeof"?H:"value"}parseImport(T){if(this.match(134))return T.importKind="value",super.parseImport(T);let I;if(X(this.state.type)&&this.lookaheadCharCode()===61)return T.importKind="value",this.tsParseImportEqualsDeclaration(T);if(this.isContextual(130)){let H=this.parseMaybeImportPhase(T,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(T,H);I=super.parseImportSpecifiersAndAfter(T,H)}else I=super.parseImport(T);return I.importKind==="type"&&I.specifiers.length>1&&I.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(Xt.TypeImportCannotSpecifyDefaultAndNamed,I),I}parseExport(T,I){if(this.match(83)){this.next();let H=T,re=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?re=this.parseMaybeImportPhase(H,!1):H.importKind="value",this.tsParseImportEqualsDeclaration(H,re,!0)}if(this.eat(29)){let H=T;return H.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(H,"TSExportAssignment")}if(this.eatContextual(93)){let H=T;return this.expectContextual(128),H.id=this.parseIdentifier(),this.semicolon(),this.finishNode(H,"TSNamespaceExportDeclaration")}return super.parseExport(T,I)}isAbstractClass(){return this.isContextual(124)&&this.lookahead().type===80}parseExportDefaultExpression(){if(this.isAbstractClass()){let T=this.startNode();return this.next(),T.abstract=!0,this.parseClass(T,!0,!0)}if(this.match(129)){let T=this.tsParseInterfaceDeclaration(this.startNode());if(T)return T}return super.parseExportDefaultExpression()}parseVarStatement(T,I,H=!1){let{isAmbientContext:re}=this.state,we=super.parseVarStatement(T,I,H||re);if(!re)return we;for(let{id:qe,init:it}of we.declarations)it&&(I!=="const"||qe.typeAnnotation?this.raise(Xt.InitializerNotAllowedInAmbientContext,it):xn(it,this.hasPlugin("estree"))||this.raise(Xt.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,it));return we}parseStatementContent(T,I){if(this.match(75)&&this.isLookaheadContextual("enum")){let H=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(H,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let H=this.tsParseInterfaceDeclaration(this.startNode());if(H)return H}return super.parseStatementContent(T,I)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(T,I){return I.some((H=>jr(H)?T.accessibility===H:!!T[H]))}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(T,I,H){let re=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:re,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:Xt.InvalidModifierOnTypeParameterPositions},I);let we=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(I,re)&&this.raise(Xt.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(T,I)):this.parseClassMemberWithIsStatic(T,I,H,!!I.static)};I.declare?this.tsInAmbientContext(we):we()}parseClassMemberWithIsStatic(T,I,H,re){let we=this.tsTryParseIndexSignature(I);if(we)return T.body.push(we),I.abstract&&this.raise(Xt.IndexSignatureHasAbstract,I),I.accessibility&&this.raise(Xt.IndexSignatureHasAccessibility,I,{modifier:I.accessibility}),I.declare&&this.raise(Xt.IndexSignatureHasDeclare,I),void(I.override&&this.raise(Xt.IndexSignatureHasOverride,I));!this.state.inAbstractClass&&I.abstract&&this.raise(Xt.NonAbstractClassHasAbstractMethod,I),I.override&&(H.hadSuperClass||this.raise(Xt.OverrideNotInSubClass,I)),super.parseClassMemberWithIsStatic(T,I,H,re)}parsePostMemberNameModifiers(T){this.eat(17)&&(T.optional=!0),T.readonly&&this.match(10)&&this.raise(Xt.ClassMethodHasReadonly,T),T.declare&&this.match(10)&&this.raise(Xt.ClassMethodHasDeclare,T)}parseExpressionStatement(T,I,H){return(I.type==="Identifier"?this.tsParseExpressionStatement(T,I,H):void 0)||super.parseExpressionStatement(T,I,H)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(T,I,H){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(T,I,H);let re=this.tryParse((()=>super.parseConditional(T,I)));return re.node?(re.error&&(this.state=re.failState),re.node):(re.error&&super.setOptionalParametersError(H,re.error),T)}parseParenItem(T,I){let H=super.parseParenItem(T,I);if(this.eat(17)&&(H.optional=!0,this.resetEndLocation(T)),this.match(14)){let re=this.startNodeAt(I);return re.expression=T,re.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(re,"TSTypeCastExpression")}return T}parseExportDeclaration(T){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext((()=>this.parseExportDeclaration(T)));let I=this.state.startLoc,H=this.eatContextual(125);if(H&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(Xt.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let re=X(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(T);return re?((re.type==="TSInterfaceDeclaration"||re.type==="TSTypeAliasDeclaration"||H)&&(T.exportKind="type"),H&&(this.resetStartLocation(re,I),re.declare=!0),re):null}parseClassId(T,I,H,re){if((!I||H)&&this.isContextual(113))return;super.parseClassId(T,I,H,T.declare?1024:8331);let we=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);we&&(T.typeParameters=we)}parseClassPropertyAnnotation(T){T.optional||(this.eat(35)?T.definite=!0:this.eat(17)&&(T.optional=!0));let I=this.tsTryParseTypeAnnotation();I&&(T.typeAnnotation=I)}parseClassProperty(T){if(this.parseClassPropertyAnnotation(T),this.state.isAmbientContext&&(!T.readonly||T.typeAnnotation)&&this.match(29)&&this.raise(Xt.DeclareClassFieldHasInitializer,this.state.startLoc),T.abstract&&this.match(29)){let{key:I}=T;this.raise(Xt.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:I.type!=="Identifier"||T.computed?`[${this.input.slice(this.offsetToSourcePos(I.start),this.offsetToSourcePos(I.end))}]`:I.name})}return super.parseClassProperty(T)}parseClassPrivateProperty(T){return T.abstract&&this.raise(Xt.PrivateElementHasAbstract,T),T.accessibility&&this.raise(Xt.PrivateElementHasAccessibility,T,{modifier:T.accessibility}),this.parseClassPropertyAnnotation(T),super.parseClassPrivateProperty(T)}parseClassAccessorProperty(T){return this.parseClassPropertyAnnotation(T),T.optional&&this.raise(Xt.AccessorCannotBeOptional,T),super.parseClassAccessorProperty(T)}pushClassMethod(T,I,H,re,we,qe){let it=this.tsTryParseTypeParameters(this.tsParseConstModifier);it&&we&&this.raise(Xt.ConstructorHasTypeParameters,it);let{declare:ot=!1,kind:mt}=I;!ot||mt!=="get"&&mt!=="set"||this.raise(Xt.DeclareAccessor,I,{kind:mt}),it&&(I.typeParameters=it),super.pushClassMethod(T,I,H,re,we,qe)}pushClassPrivateMethod(T,I,H,re){let we=this.tsTryParseTypeParameters(this.tsParseConstModifier);we&&(I.typeParameters=we),super.pushClassPrivateMethod(T,I,H,re)}declareClassPrivateMethodInScope(T,I){T.type!=="TSDeclareMethod"&&(T.type!=="MethodDefinition"||hasOwnProperty.call(T.value,"body"))&&super.declareClassPrivateMethodInScope(T,I)}parseClassSuper(T){super.parseClassSuper(T),T.superClass&&(this.match(47)||this.match(51))&&(T.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(T.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(T,I,H,re,we,qe,it){let ot=this.tsTryParseTypeParameters(this.tsParseConstModifier);return ot&&(T.typeParameters=ot),super.parseObjPropValue(T,I,H,re,we,qe,it)}parseFunctionParams(T,I){let H=this.tsTryParseTypeParameters(this.tsParseConstModifier);H&&(T.typeParameters=H),super.parseFunctionParams(T,I)}parseVarId(T,I){super.parseVarId(T,I),T.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(T.definite=!0);let H=this.tsTryParseTypeAnnotation();H&&(T.id.typeAnnotation=H,this.resetEndLocation(T.id))}parseAsyncArrowFromCallExpression(T,I){return this.match(14)&&(T.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(T,I)}parseMaybeAssign(T,I){var H,re,we,qe,it;let ot,mt,jt,Zt;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(ot=this.state.clone(),mt=this.tryParse((()=>super.parseMaybeAssign(T,I)),ot),!mt.error)return mt.node;let{context:Er}=this.state,rn=Er[Er.length-1];rn!==F.j_oTag&&rn!==F.j_expr||Er.pop()}if(!((H=mt)!=null&&H.error||this.match(47)))return super.parseMaybeAssign(T,I);ot&&ot!==this.state||(ot=this.state.clone());let Br=this.tryParse((Er=>{var rn,Wn;Zt=this.tsParseTypeParameters(this.tsParseConstModifier);let Un=super.parseMaybeAssign(T,I);return(Un.type!=="ArrowFunctionExpression"||(rn=Un.extra)!=null&&rn.parenthesized)&&Er(),((Wn=Zt)==null?void 0:Wn.params.length)!==0&&this.resetStartLocationFromNode(Un,Zt),Un.typeParameters=Zt,Un}),ot);if(!Br.error&&!Br.aborted)return Zt&&this.reportReservedArrowTypeParam(Zt),Br.node;if(!mt&&(Xr(!this.hasPlugin("jsx")),jt=this.tryParse((()=>super.parseMaybeAssign(T,I)),ot),!jt.error))return jt.node;if((re=mt)!=null&&re.node)return this.state=mt.failState,mt.node;if(Br.node)return this.state=Br.failState,Zt&&this.reportReservedArrowTypeParam(Zt),Br.node;if((we=jt)!=null&&we.node)return this.state=jt.failState,jt.node;throw((qe=mt)==null?void 0:qe.error)||Br.error||((it=jt)==null?void 0:it.error)}reportReservedArrowTypeParam(T){var I;T.params.length!==1||T.params[0].constraint||(I=T.extra)!=null&&I.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(Xt.ReservedArrowTypeParam,T)}parseMaybeUnary(T,I){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(T,I)}parseArrow(T){if(this.match(14)){let I=this.tryParse((H=>{let re=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||H(),re}));if(I.aborted)return;I.thrown||(I.error&&(this.state=I.failState),T.returnType=I.node)}return super.parseArrow(T)}parseFunctionParamType(T){this.eat(17)&&(T.optional=!0);let I=this.tsTryParseTypeAnnotation();return I&&(T.typeAnnotation=I),this.resetEndLocation(T),T}isAssignable(T,I){switch(T.type){case"TSTypeCastExpression":return this.isAssignable(T.expression,I);case"TSParameterProperty":return!0;default:return super.isAssignable(T,I)}}toAssignable(T,I=!1){switch(T.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(T,I);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":I?this.expressionScope.recordArrowParameterBindingError(Xt.UnexpectedTypeCastInParameter,T):this.raise(Xt.UnexpectedTypeCastInParameter,T),this.toAssignable(T.expression,I);break;case"AssignmentExpression":I||T.left.type!=="TSTypeCastExpression"||(T.left=this.typeCastToParameter(T.left));default:super.toAssignable(T,I)}}toAssignableParenthesizedExpression(T,I){switch(T.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(T.expression,I);break;default:super.toAssignable(T,I)}}checkToRestConversion(T,I){switch(T.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(T.expression,!1);break;default:super.checkToRestConversion(T,I)}}isValidLVal(T,I,H){switch(T){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":case"TSInstantiationExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(H!==64||!I)&&["expression",!0];default:return super.isValidLVal(T,I,H)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(T){if(this.match(47)||this.match(51)){let I=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let H=super.parseMaybeDecoratorArguments(T);return H.typeParameters=I,H}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(T)}checkCommaAfterRest(T){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===T?(this.next(),!1):super.checkCommaAfterRest(T)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(T,I){let H=super.parseMaybeDefault(T,I);return H.type==="AssignmentPattern"&&H.typeAnnotation&&H.right.start<H.typeAnnotation.start&&this.raise(Xt.TypeAnnotationAfterAssign,H.typeAnnotation),H}getTokenFromCode(T){if(this.state.inType){if(T===62)return void this.finishOp(48,1);if(T===60)return void this.finishOp(47,1)}super.getTokenFromCode(T)}reScan_lt_gt(){let{type:T}=this.state;T===47?(this.state.pos-=1,this.readToken_lt()):T===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:T}=this.state;return T===51?(this.state.pos-=2,this.finishOp(47,1),47):T}toAssignableList(T,I,H){for(let re=0;re<T.length;re++){let we=T[re];(we==null?void 0:we.type)==="TSTypeCastExpression"&&(T[re]=this.typeCastToParameter(we))}super.toAssignableList(T,I,H)}typeCastToParameter(T){return T.expression.typeAnnotation=T.typeAnnotation,this.resetEndLocation(T.expression,T.typeAnnotation.loc.end),T.expression}shouldParseArrow(T){return this.match(14)?T.every((I=>this.isAssignable(I,!0))):super.shouldParseArrow(T)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(T){if(this.match(47)||this.match(51)){let I=this.tsTryParseAndCatch((()=>this.tsParseTypeArgumentsInExpression()));I&&(T.typeParameters=I)}return super.jsxParseOpeningElementAfterName(T)}getGetterSetterExpectedParamCount(T){let I=super.getGetterSetterExpectedParamCount(T),H=this.getObjectOrClassMethodParams(T)[0];return H&&this.isThisParam(H)?I+1:I}parseCatchClauseParam(){let T=super.parseCatchClauseParam(),I=this.tsTryParseTypeAnnotation();return I&&(T.typeAnnotation=I,this.resetEndLocation(T)),T}tsInAmbientContext(T){let{isAmbientContext:I,strict:H}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return T()}finally{this.state.isAmbientContext=I,this.state.strict=H}}parseClass(T,I,H){let re=this.state.inAbstractClass;this.state.inAbstractClass=!!T.abstract;try{return super.parseClass(T,I,H)}finally{this.state.inAbstractClass=re}}tsParseAbstractDeclaration(T,I){if(this.match(80))return T.abstract=!0,this.maybeTakeDecorators(I,this.parseClass(T,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return T.abstract=!0,this.raise(Xt.NonClassMethodPropertyHasAbstractModifer,T),this.tsParseInterfaceDeclaration(T)}else this.unexpected(null,80)}parseMethod(T,I,H,re,we,qe,it){let ot=super.parseMethod(T,I,H,re,we,qe,it);if(ot.abstract&&(this.hasPlugin("estree")?ot.value.body:ot.body)){let{key:mt}=ot;this.raise(Xt.AbstractMethodHasImplementation,ot,{methodName:mt.type!=="Identifier"||ot.computed?`[${this.input.slice(this.offsetToSourcePos(mt.start),this.offsetToSourcePos(mt.end))}]`:mt.name})}return ot}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(T,I,H,re){return!I&&re?(this.parseTypeOnlyImportExportSpecifier(T,!1,H),this.finishNode(T,"ExportSpecifier")):(T.exportKind="value",super.parseExportSpecifier(T,I,H,re))}parseImportSpecifier(T,I,H,re,we){return!I&&re?(this.parseTypeOnlyImportExportSpecifier(T,!0,H),this.finishNode(T,"ImportSpecifier")):(T.importKind="value",super.parseImportSpecifier(T,I,H,re,H?4098:4096))}parseTypeOnlyImportExportSpecifier(T,I,H){let re=I?"imported":"local",we=I?"local":"exported",qe,it=T[re],ot=!1,mt=!0,jt=it.loc.start;if(this.isContextual(93)){let Zt=this.parseIdentifier();if(this.isContextual(93)){let Br=this.parseIdentifier();ie(this.state.type)?(ot=!0,it=Zt,qe=I?this.parseIdentifier():this.parseModuleExportName(),mt=!1):(qe=Br,mt=!1)}else ie(this.state.type)?(mt=!1,qe=I?this.parseIdentifier():this.parseModuleExportName()):(ot=!0,it=Zt)}else ie(this.state.type)&&(ot=!0,I?(it=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(it.name,it.loc.start,!0,!0)):it=this.parseModuleExportName());ot&&H&&this.raise(I?Xt.TypeModifierIsUsedInTypeImports:Xt.TypeModifierIsUsedInTypeExports,jt),T[re]=it,T[we]=qe,T[I?"importKind":"exportKind"]=ot?"type":"value",mt&&this.eatContextual(93)&&(T[we]=I?this.parseIdentifier():this.parseModuleExportName()),T[we]||(T[we]=zn(T[re])),I&&this.checkIdentifier(T[we],ot?4098:4096)}},v8intrinsic:He=>class extends He{parseV8Intrinsic(){if(this.match(54)){let T=this.state.startLoc,I=this.startNode();if(this.next(),X(this.state.type)){let H=this.parseIdentifierName(),re=this.createIdentifier(I,H);if(re.type="V8IntrinsicIdentifier",this.match(10))return re}this.unexpected(T)}}parseExprAtom(T){return this.parseV8Intrinsic()||super.parseExprAtom(T)}},placeholders:He=>class extends He{parsePlaceholder(T){if(this.match(133)){let I=this.startNode();return this.next(),this.assertNoSpace(),I.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(I,T)}}finishPlaceholder(T,I){let H=T;return H.expectedNode&&H.type||(H=this.finishNode(H,"Placeholder")),H.expectedNode=I,H}getTokenFromCode(T){T===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(133,2):super.getTokenFromCode(T)}parseExprAtom(T){return this.parsePlaceholder("Expression")||super.parseExprAtom(T)}parseIdentifier(T){return this.parsePlaceholder("Identifier")||super.parseIdentifier(T)}checkReservedWord(T,I,H,re){T!==void 0&&super.checkReservedWord(T,I,H,re)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(T,I,H){return T==="Placeholder"||super.isValidLVal(T,I,H)}toAssignable(T,I){T&&T.type==="Placeholder"&&T.expectedNode==="Expression"?T.expectedNode="Pattern":super.toAssignable(T,I)}chStartsBindingIdentifier(T,I){return super.chStartsBindingIdentifier(T,I)?!0:this.lookahead().type===133}verifyBreakContinue(T,I){T.label&&T.label.type==="Placeholder"||super.verifyBreakContinue(T,I)}parseExpressionStatement(T,I){var H;if(I.type!=="Placeholder"||(H=I.extra)!=null&&H.parenthesized)return super.parseExpressionStatement(T,I);if(this.match(14)){let we=T;return we.label=this.finishPlaceholder(I,"Identifier"),this.next(),we.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(we,"LabeledStatement")}this.semicolon();let re=T;return re.name=I.name,this.finishPlaceholder(re,"Statement")}parseBlock(T,I,H){return this.parsePlaceholder("BlockStatement")||super.parseBlock(T,I,H)}parseFunctionId(T){return this.parsePlaceholder("Identifier")||super.parseFunctionId(T)}parseClass(T,I,H){let re=I?"ClassDeclaration":"ClassExpression";this.next();let we=this.state.strict,qe=this.parsePlaceholder("Identifier");if(qe){if(!(this.match(81)||this.match(133)||this.match(5))){if(H||!I)return T.id=null,T.body=this.finishPlaceholder(qe,"ClassBody"),this.finishNode(T,re);throw this.raise(Ti.ClassNameIsRequired,this.state.startLoc)}T.id=qe}else this.parseClassId(T,I,H);return super.parseClassSuper(T),T.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!T.superClass,we),this.finishNode(T,re)}parseExport(T,I){let H=this.parsePlaceholder("Identifier");if(!H)return super.parseExport(T,I);let re=T;if(!this.isContextual(98)&&!this.match(12))return re.specifiers=[],re.source=null,re.declaration=this.finishPlaceholder(H,"Declaration"),this.finishNode(re,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let we=this.startNode();return we.exported=H,re.specifiers=[this.finishNode(we,"ExportDefaultSpecifier")],super.parseExport(re,I)}isExportDefaultSpecifier(){if(this.match(65)){let T=this.nextTokenStart();if(this.isUnparsedContextual(T,"from")&&this.input.startsWith(Ke(133),this.nextTokenStartSince(T+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(T,I){var H;return!((H=T.specifiers)==null||!H.length)||super.maybeParseExportDefaultSpecifier(T,I)}checkExport(T){let{specifiers:I}=T;I!=null&&I.length&&(T.specifiers=I.filter((H=>H.exported.type==="Placeholder"))),super.checkExport(T),T.specifiers=I}parseImport(T){let I=this.parsePlaceholder("Identifier");if(!I)return super.parseImport(T);if(T.specifiers=[],!this.isContextual(98)&&!this.match(12))return T.source=this.finishPlaceholder(I,"StringLiteral"),this.semicolon(),this.finishNode(T,"ImportDeclaration");let H=this.startNodeAtNode(I);return H.local=I,T.specifiers.push(this.finishNode(H,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(T)||this.parseNamedImportSpecifiers(T)),this.expectContextual(98),T.source=this.parseImportSource(),this.semicolon(),this.finishNode(T,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(Ti.UnexpectedSpace,this.state.lastTokEndLoc)}}},Wi=Object.keys(Qn);class kr extends _r{checkProto(T,I,H,re){if(T.type==="SpreadElement"||this.isObjectMethod(T)||T.computed||T.shorthand)return;let we=T.key;if((we.type==="Identifier"?we.name:we.value)==="__proto__"){if(I)return void this.raise(S.RecordNoProto,we);H.used&&(re?re.doubleProtoLoc===null&&(re.doubleProtoLoc=we.loc.start):this.raise(S.DuplicateProto,we)),H.used=!0}}shouldExitDescending(T,I){return T.type==="ArrowFunctionExpression"&&this.offsetToSourcePos(T.start)===I}getExpression(){this.enterInitialScopes(),this.nextToken();let T=this.parseExpression();return this.match(140)||this.unexpected(),this.finalizeRemainingComments(),T.comments=this.comments,T.errors=this.state.errors,this.options.tokens&&(T.tokens=this.tokens),T}parseExpression(T,I){return T?this.disallowInAnd((()=>this.parseExpressionBase(I))):this.allowInAnd((()=>this.parseExpressionBase(I)))}parseExpressionBase(T){let I=this.state.startLoc,H=this.parseMaybeAssign(T);if(this.match(12)){let re=this.startNodeAt(I);for(re.expressions=[H];this.eat(12);)re.expressions.push(this.parseMaybeAssign(T));return this.toReferencedList(re.expressions),this.finishNode(re,"SequenceExpression")}return H}parseMaybeAssignDisallowIn(T,I){return this.disallowInAnd((()=>this.parseMaybeAssign(T,I)))}parseMaybeAssignAllowIn(T,I){return this.allowInAnd((()=>this.parseMaybeAssign(T,I)))}setOptionalParametersError(T,I){var H;T.optionalParametersLoc=(H=I==null?void 0:I.loc)!=null?H:this.state.startLoc}parseMaybeAssign(T,I){let H=this.state.startLoc;if(this.isContextual(108)&&this.prodParam.hasYield){let ot=this.parseYield();return I&&(ot=I.call(this,ot,H)),ot}let re;T?re=!1:(T=new Fr,re=!0);let{type:we}=this.state;(we===10||X(we))&&(this.state.potentialArrowAt=this.state.start);let qe=this.parseMaybeConditional(T);if(I&&(qe=I.call(this,qe,H)),(it=this.state.type)>=29&&it<=33){let ot=this.startNodeAt(H),mt=this.state.value;if(ot.operator=mt,this.match(29)){this.toAssignable(qe,!0),ot.left=qe;let jt=H.index;T.doubleProtoLoc!=null&&T.doubleProtoLoc.index>=jt&&(T.doubleProtoLoc=null),T.shorthandAssignLoc!=null&&T.shorthandAssignLoc.index>=jt&&(T.shorthandAssignLoc=null),T.privateKeyLoc!=null&&T.privateKeyLoc.index>=jt&&(this.checkDestructuringPrivate(T),T.privateKeyLoc=null)}else ot.left=qe;return this.next(),ot.right=this.parseMaybeAssign(),this.checkLVal(qe,this.finishNode(ot,"AssignmentExpression")),ot}var it;return re&&this.checkExpressionErrors(T,!0),qe}parseMaybeConditional(T){let I=this.state.startLoc,H=this.state.potentialArrowAt,re=this.parseExprOps(T);return this.shouldExitDescending(re,H)?re:this.parseConditional(re,I,T)}parseConditional(T,I,H){if(this.eat(17)){let re=this.startNodeAt(I);return re.test=T,re.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),re.alternate=this.parseMaybeAssign(),this.finishNode(re,"ConditionalExpression")}return T}parseMaybeUnaryOrPrivate(T){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(T)}parseExprOps(T){let I=this.state.startLoc,H=this.state.potentialArrowAt,re=this.parseMaybeUnaryOrPrivate(T);return this.shouldExitDescending(re,H)?re:this.parseExprOp(re,I,-1)}parseExprOp(T,I,H){if(this.isPrivateName(T)){let qe=this.getPrivateNameSV(T);(H>=We(58)||!this.prodParam.hasIn||!this.match(58))&&this.raise(S.PrivateInExpectedIn,T,{identifierName:qe}),this.classScope.usePrivateName(qe,T.loc.start)}let re=this.state.type;if((we=re)>=39&&we<=59&&(this.prodParam.hasIn||!this.match(58))){let qe=We(re);if(qe>H){if(re===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return T;this.checkPipelineAtInfixOperator(T,I)}let it=this.startNodeAt(I);it.left=T,it.operator=this.state.value;let ot=re===41||re===42,mt=re===40;if(mt&&(qe=We(42)),this.next(),re===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(S.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);it.right=this.parseExprOpRightExpr(re,qe);let jt=this.finishNode(it,ot||mt?"LogicalExpression":"BinaryExpression"),Zt=this.state.type;if(mt&&(Zt===41||Zt===42)||ot&&Zt===40)throw this.raise(S.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(jt,I,H)}}var we;return T}parseExprOpRightExpr(T,I){let H=this.state.startLoc;if(T===39)switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext((()=>this.parseHackPipeBody()));case"smart":return this.withTopicBindingContext((()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(S.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(T,I),H)}));case"fsharp":return this.withSoloAwaitPermittingContext((()=>this.parseFSharpPipelineBody(I)))}return this.parseExprOpBaseRightExpr(T,I)}parseExprOpBaseRightExpr(T,I){let H=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),H,T===57?I-1:I)}parseHackPipeBody(){var T;let{startLoc:I}=this.state,H=this.parseMaybeAssign();return!b.has(H.type)||(T=H.extra)!=null&&T.parenthesized||this.raise(S.PipeUnparenthesizedBody,I,{type:H.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(S.PipeTopicUnused,I),H}checkExponentialAfterUnary(T){this.match(57)&&this.raise(S.UnexpectedTokenUnaryExponentiation,T.argument)}parseMaybeUnary(T,I){let H=this.state.startLoc,re=this.isContextual(96);if(re&&this.recordAwaitIfAllowed()){this.next();let mt=this.parseAwait(H);return I||this.checkExponentialAfterUnary(mt),mt}let we=this.match(34),qe=this.startNode();if(it=this.state.type,$[it]){qe.operator=this.state.value,qe.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let mt=this.match(89);if(this.next(),qe.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(T,!0),this.state.strict&&mt){let jt=qe.argument;jt.type==="Identifier"?this.raise(S.StrictDelete,qe):this.hasPropertyAsPrivateName(jt)&&this.raise(S.DeletePrivateField,qe)}if(!we)return I||this.checkExponentialAfterUnary(qe),this.finishNode(qe,"UnaryExpression")}var it;let ot=this.parseUpdate(qe,we,T);if(re){let{type:mt}=this.state;if((this.hasPlugin("v8intrinsic")?be(mt):be(mt)&&!this.match(54))&&!this.isAmbiguousAwait())return this.raiseOverwrite(S.AwaitNotInAsyncContext,H),this.parseAwait(H)}return ot}parseUpdate(T,I,H){if(I){let qe=T;return this.checkLVal(qe.argument,this.finishNode(qe,"UpdateExpression")),T}let re=this.state.startLoc,we=this.parseExprSubscripts(H);if(this.checkExpressionErrors(H,!1))return we;for(;this.state.type===34&&!this.canInsertSemicolon();){let qe=this.startNodeAt(re);qe.operator=this.state.value,qe.prefix=!1,qe.argument=we,this.next(),this.checkLVal(we,we=this.finishNode(qe,"UpdateExpression"))}return we}parseExprSubscripts(T){let I=this.state.startLoc,H=this.state.potentialArrowAt,re=this.parseExprAtom(T);return this.shouldExitDescending(re,H)?re:this.parseSubscripts(re,I)}parseSubscripts(T,I,H){let re={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(T),stop:!1};do T=this.parseSubscript(T,I,H,re),re.maybeAsyncArrow=!1;while(!re.stop);return T}parseSubscript(T,I,H,re){let{type:we}=this.state;if(!H&&we===15)return this.parseBind(T,I,H,re);if(Oe(we))return this.parseTaggedTemplateExpression(T,I,re);let qe=!1;if(we===18){if(H&&(this.raise(S.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return re.stop=!0,T;re.optionalChainMember=qe=!0,this.next()}if(!H&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(T,I,re,qe);{let it=this.eat(0);return it||qe||this.eat(16)?this.parseMember(T,I,re,it,qe):(re.stop=!0,T)}}parseMember(T,I,H,re,we){let qe=this.startNodeAt(I);return qe.object=T,qe.computed=re,re?(qe.property=this.parseExpression(),this.expect(3)):this.match(139)?(T.type==="Super"&&this.raise(S.SuperPrivateField,I),this.classScope.usePrivateName(this.state.value,this.state.startLoc),qe.property=this.parsePrivateName()):qe.property=this.parseIdentifier(!0),H.optionalChainMember?(qe.optional=we,this.finishNode(qe,"OptionalMemberExpression")):this.finishNode(qe,"MemberExpression")}parseBind(T,I,H,re){let we=this.startNodeAt(I);return we.object=T,this.next(),we.callee=this.parseNoCallExpr(),re.stop=!0,this.parseSubscripts(this.finishNode(we,"BindExpression"),I,H)}parseCoverCallAndAsyncArrowHead(T,I,H,re){let we=this.state.maybeInArrowParameters,qe=null;this.state.maybeInArrowParameters=!0,this.next();let it=this.startNodeAt(I);it.callee=T;let{maybeAsyncArrow:ot,optionalChainMember:mt}=H;ot&&(this.expressionScope.enter(new zt(2)),qe=new Fr),mt&&(it.optional=re),it.arguments=re?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,T.type!=="Super",it,qe);let jt=this.finishCallExpression(it,mt);return ot&&this.shouldParseAsyncArrow()&&!re?(H.stop=!0,this.checkDestructuringPrivate(qe),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),jt=this.parseAsyncArrowFromCallExpression(this.startNodeAt(I),jt)):(ot&&(this.checkExpressionErrors(qe,!0),this.expressionScope.exit()),this.toReferencedArguments(jt)),this.state.maybeInArrowParameters=we,jt}toReferencedArguments(T,I){this.toReferencedListDeep(T.arguments,I)}parseTaggedTemplateExpression(T,I,H){let re=this.startNodeAt(I);return re.tag=T,re.quasi=this.parseTemplate(!0),H.optionalChainMember&&this.raise(S.OptionalChainingNoTemplate,I),this.finishNode(re,"TaggedTemplateExpression")}atPossibleAsyncArrow(T){return T.type==="Identifier"&&T.name==="async"&&this.state.lastTokEndLoc.index===T.end&&!this.canInsertSemicolon()&&T.end-T.start==5&&this.offsetToSourcePos(T.start)===this.state.potentialArrowAt}finishCallExpression(T,I){if(T.callee.type==="Import")if(T.arguments.length===0||T.arguments.length>2)this.raise(S.ImportCallArity,T);else for(let H of T.arguments)H.type==="SpreadElement"&&this.raise(S.ImportCallSpreadArgument,H);return this.finishNode(T,I?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(T,I,H,re){let we=[],qe=!0,it=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(T);){if(qe)qe=!1;else if(this.expect(12),this.match(T)){H&&this.addTrailingCommaExtraToNode(H),this.next();break}we.push(this.parseExprListItem(!1,re,I))}return this.state.inFSharpPipelineDirectBody=it,we}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(T,I){var H;return this.resetPreviousNodeTrailingComments(I),this.expect(19),this.parseArrowExpression(T,I.arguments,!0,(H=I.extra)==null?void 0:H.trailingCommaLoc),I.innerComments&&ce(T,I.innerComments),I.callee.trailingComments&&ce(T,I.callee.trailingComments),T}parseNoCallExpr(){let T=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),T,!0)}parseExprAtom(T){let I,H=null,{type:re}=this.state;switch(re){case 79:return this.parseSuper();case 83:return I=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(I):this.match(10)?this.options.createImportExpressions?this.parseImportCall(I):this.finishNode(I,"Import"):(this.raise(S.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(I,"Import"));case 78:return I=this.startNode(),this.next(),this.finishNode(I,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134: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 we=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(we)}case 2:case 1:return this.parseArrayLike(this.state.type===2?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,T);case 6:case 7:return this.parseObjectLike(this.state.type===6?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,T);case 68:return this.parseFunctionOrFunctionSent();case 26:H=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(H,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{I=this.startNode(),this.next(),I.object=null;let we=I.callee=this.parseNoCallExpr();if(we.type==="MemberExpression")return this.finishNode(I,"BindExpression");throw this.raise(S.UnsupportedBind,we)}case 139:return this.raise(S.PrivateInExpectedIn,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 we=this.getPluginOption("pipelineOperator","proposal");if(we)return this.parseTopicReference(we);this.unexpected();break}case 47:{let we=this.input.codePointAt(this.nextTokenStart());pe(we)||we===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(re===137)return this.parseDecimalLiteral(this.state.value);if(X(re)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let we=this.state.potentialArrowAt===this.state.start,qe=this.state.containsEsc,it=this.parseIdentifier();if(!qe&&it.name==="async"&&!this.canInsertSemicolon()){let{type:ot}=this.state;if(ot===68)return this.resetPreviousNodeTrailingComments(it),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(it));if(X(ot))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(it)):it;if(ot===90)return this.resetPreviousNodeTrailingComments(it),this.parseDo(this.startNodeAtNode(it),!0)}return we&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(it),[it],!1)):it}this.unexpected()}}parseTopicReferenceThenEqualsSign(T,I){let H=this.getPluginOption("pipelineOperator","proposal");if(H)return this.state.type=T,this.state.value=I,this.state.pos--,this.state.end--,this.state.endLoc=p(this.state.endLoc,-1),this.parseTopicReference(H);this.unexpected()}parseTopicReference(T){let I=this.startNode(),H=this.state.startLoc,re=this.state.type;return this.next(),this.finishTopicReference(I,H,T,re)}finishTopicReference(T,I,H,re){if(this.testTopicReferenceConfiguration(H,I,re)){let we=H==="smart"?"PipelinePrimaryTopicReference":"TopicReference";return this.topicReferenceIsAllowedInCurrentContext()||this.raise(H==="smart"?S.PrimaryTopicNotAllowed:S.PipeTopicUnbound,I),this.registerTopicReference(),this.finishNode(T,we)}throw this.raise(S.PipeTopicUnconfiguredToken,I,{token:Ke(re)})}testTopicReferenceConfiguration(T,I,H){switch(T){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:Ke(H)}]);case"smart":return H===27;default:throw this.raise(S.PipeTopicRequiresHackPipes,I)}}parseAsyncArrowUnaryFunction(T){this.prodParam.enter(Hr(!0,this.prodParam.hasYield));let I=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(S.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(T,I,!0)}parseDo(T,I){this.expectPlugin("doExpressions"),I&&this.expectPlugin("asyncDoExpressions"),T.async=I,this.next();let H=this.state.labels;return this.state.labels=[],I?(this.prodParam.enter(2),T.body=this.parseBlock(),this.prodParam.exit()):T.body=this.parseBlock(),this.state.labels=H,this.finishNode(T,"DoExpression")}parseSuper(){let T=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(S.UnexpectedSuper,T):this.raise(S.SuperNotAllowed,T),this.match(10)||this.match(0)||this.match(16)||this.raise(S.UnsupportedSuper,T),this.finishNode(T,"Super")}parsePrivateName(){let T=this.startNode(),I=this.startNodeAt(p(this.state.startLoc,1)),H=this.state.value;return this.next(),T.id=this.createIdentifier(I,H),this.finishNode(T,"PrivateName")}parseFunctionOrFunctionSent(){let T=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let I=this.createIdentifier(this.startNodeAtNode(T),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(T,I,"sent")}return this.parseFunction(T)}parseMetaProperty(T,I,H){T.meta=I;let re=this.state.containsEsc;return T.property=this.parseIdentifier(!0),(T.property.name!==H||re)&&this.raise(S.UnsupportedMetaProperty,T.property,{target:I.name,onlyValidPropertyName:H}),this.finishNode(T,"MetaProperty")}parseImportMetaProperty(T){let I=this.createIdentifier(this.startNodeAtNode(T),"import");if(this.next(),this.isContextual(101))this.inModule||this.raise(S.ImportMetaOutsideModule,I),this.sawUnambiguousESM=!0;else if(this.isContextual(105)||this.isContextual(97)){let H=this.isContextual(105);if(H||this.unexpected(),this.expectPlugin(H?"sourcePhaseImports":"deferredImportEvaluation"),!this.options.createImportExpressions)throw this.raise(S.DynamicImportPhaseRequiresImportExpressions,this.state.startLoc,{phase:this.state.value});return this.next(),T.phase=H?"source":"defer",this.parseImportCall(T)}return this.parseMetaProperty(T,I,"meta")}parseLiteralAtNode(T,I,H){return this.addExtra(H,"rawValue",T),this.addExtra(H,"raw",this.input.slice(this.offsetToSourcePos(H.start),this.state.end)),H.value=T,this.next(),this.finishNode(H,I)}parseLiteral(T,I){let H=this.startNode();return this.parseLiteralAtNode(T,I,H)}parseStringLiteral(T){return this.parseLiteral(T,"StringLiteral")}parseNumericLiteral(T){return this.parseLiteral(T,"NumericLiteral")}parseBigIntLiteral(T){return this.parseLiteral(T,"BigIntLiteral")}parseDecimalLiteral(T){return this.parseLiteral(T,"DecimalLiteral")}parseRegExpLiteral(T){let I=this.startNode();return this.addExtra(I,"raw",this.input.slice(this.offsetToSourcePos(I.start),this.state.end)),I.pattern=T.pattern,I.flags=T.flags,this.next(),this.finishNode(I,"RegExpLiteral")}parseBooleanLiteral(T){let I=this.startNode();return I.value=T,this.next(),this.finishNode(I,"BooleanLiteral")}parseNullLiteral(){let T=this.startNode();return this.next(),this.finishNode(T,"NullLiteral")}parseParenAndDistinguishExpression(T){let I=this.state.startLoc,H;this.next(),this.expressionScope.enter(new zt(1));let re=this.state.maybeInArrowParameters,we=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let qe=this.state.startLoc,it=[],ot=new Fr,mt,jt,Zt=!0;for(;!this.match(11);){if(Zt)Zt=!1;else if(this.expect(12,ot.optionalParametersLoc===null?null:ot.optionalParametersLoc),this.match(11)){jt=this.state.startLoc;break}if(this.match(21)){let rn=this.state.startLoc;if(mt=this.state.startLoc,it.push(this.parseParenItem(this.parseRestBinding(),rn)),!this.checkCommaAfterRest(41))break}else it.push(this.parseMaybeAssignAllowIn(ot,this.parseParenItem))}let Br=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=re,this.state.inFSharpPipelineDirectBody=we;let Er=this.startNodeAt(I);return T&&this.shouldParseArrow(it)&&(Er=this.parseArrow(Er))?(this.checkDestructuringPrivate(ot),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(Er,it,!1),Er):(this.expressionScope.exit(),it.length||this.unexpected(this.state.lastTokStartLoc),jt&&this.unexpected(jt),mt&&this.unexpected(mt),this.checkExpressionErrors(ot,!0),this.toReferencedListDeep(it,!0),it.length>1?(H=this.startNodeAt(qe),H.expressions=it,this.finishNode(H,"SequenceExpression"),this.resetEndLocation(H,Br)):H=it[0],this.wrapParenthesis(I,H))}wrapParenthesis(T,I){if(!this.options.createParenthesizedExpressions)return this.addExtra(I,"parenthesized",!0),this.addExtra(I,"parenStart",T.index),this.takeSurroundingComments(I,T.index,this.state.lastTokEndLoc.index),I;let H=this.startNodeAt(T);return H.expression=I,this.finishNode(H,"ParenthesizedExpression")}shouldParseArrow(T){return!this.canInsertSemicolon()}parseArrow(T){if(this.eat(19))return T}parseParenItem(T,I){return T}parseNewOrNewTarget(){let T=this.startNode();if(this.next(),this.match(16)){let I=this.createIdentifier(this.startNodeAtNode(T),"new");this.next();let H=this.parseMetaProperty(T,I,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.options.allowNewTargetOutsideFunction||this.raise(S.UnexpectedNewTarget,H),H}return this.parseNew(T)}parseNew(T){if(this.parseNewCallee(T),this.eat(10)){let I=this.parseExprList(11);this.toReferencedList(I),T.arguments=I}else T.arguments=[];return this.finishNode(T,"NewExpression")}parseNewCallee(T){let I=this.match(83),H=this.parseNoCallExpr();T.callee=H,!I||H.type!=="Import"&&H.type!=="ImportExpression"||this.raise(S.ImportCallNotNewExpression,H)}parseTemplateElement(T){let{start:I,startLoc:H,end:re,value:we}=this.state,qe=I+1,it=this.startNodeAt(p(H,1));we===null&&(T||this.raise(S.InvalidEscapeSequenceTemplate,p(this.state.firstInvalidTemplateEscapePos,1)));let ot=this.match(24),mt=ot?-1:-2,jt=re+mt;it.value={raw:this.input.slice(qe,jt).replace(/\r\n?/g,`
|
|
`),cooked:we===null?null:we.slice(1,mt)},it.tail=ot,this.next();let Zt=this.finishNode(it,"TemplateElement");return this.resetEndLocation(Zt,p(this.state.lastTokEndLoc,mt)),Zt}parseTemplate(T){let I=this.startNode(),H=this.parseTemplateElement(T),re=[H],we=[];for(;!H.tail;)we.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),re.push(H=this.parseTemplateElement(T));return I.expressions=we,I.quasis=re,this.finishNode(I,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(T,I,H,re){H&&this.expectPlugin("recordAndTuple");let we=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let qe=Object.create(null),it=!0,ot=this.startNode();for(ot.properties=[],this.next();!this.match(T);){if(it)it=!1;else if(this.expect(12),this.match(T)){this.addTrailingCommaExtraToNode(ot);break}let jt;I?jt=this.parseBindingProperty():(jt=this.parsePropertyDefinition(re),this.checkProto(jt,H,qe,re)),H&&!this.isObjectProperty(jt)&&jt.type!=="SpreadElement"&&this.raise(S.InvalidRecordProperty,jt),jt.shorthand&&this.addExtra(jt,"shorthand",!0),ot.properties.push(jt)}this.next(),this.state.inFSharpPipelineDirectBody=we;let mt="ObjectExpression";return I?mt="ObjectPattern":H&&(mt="RecordExpression"),this.finishNode(ot,mt)}addTrailingCommaExtraToNode(T){this.addExtra(T,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(T,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(T){return!T.computed&&T.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(T){let I=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(S.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)I.push(this.parseDecorator());let H=this.startNode(),re,we=!1,qe=!1;if(this.match(21))return I.length&&this.unexpected(),this.parseSpread();I.length&&(H.decorators=I,I=[]),H.method=!1,T&&(re=this.state.startLoc);let it=this.eat(55);this.parsePropertyNamePrefixOperator(H);let ot=this.state.containsEsc;if(this.parsePropertyName(H,T),!it&&!ot&&this.maybeAsyncOrAccessorProp(H)){let{key:mt}=H,jt=mt.name;jt!=="async"||this.hasPrecedingLineBreak()||(we=!0,this.resetPreviousNodeTrailingComments(mt),it=this.eat(55),this.parsePropertyName(H)),jt!=="get"&&jt!=="set"||(qe=!0,this.resetPreviousNodeTrailingComments(mt),H.kind=jt,this.match(55)&&(it=!0,this.raise(S.AccessorIsGenerator,this.state.curPosition(),{kind:jt}),this.next()),this.parsePropertyName(H))}return this.parseObjPropValue(H,re,it,we,!1,qe,T)}getGetterSetterExpectedParamCount(T){return T.kind==="get"?0:1}getObjectOrClassMethodParams(T){return T.params}checkGetterSetterParams(T){var I;let H=this.getGetterSetterExpectedParamCount(T),re=this.getObjectOrClassMethodParams(T);re.length!==H&&this.raise(T.kind==="get"?S.BadGetterArity:S.BadSetterArity,T),T.kind==="set"&&((I=re[re.length-1])==null?void 0:I.type)==="RestElement"&&this.raise(S.BadSetterRestParameter,T)}parseObjectMethod(T,I,H,re,we){if(we){let qe=this.parseMethod(T,I,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(qe),qe}if(H||I||this.match(10))return re&&this.unexpected(),T.kind="method",T.method=!0,this.parseMethod(T,I,H,!1,!1,"ObjectMethod")}parseObjectProperty(T,I,H,re){if(T.shorthand=!1,this.eat(14))return T.value=H?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowIn(re),this.finishNode(T,"ObjectProperty");if(!T.computed&&T.key.type==="Identifier"){if(this.checkReservedWord(T.key.name,T.key.loc.start,!0,!1),H)T.value=this.parseMaybeDefault(I,zn(T.key));else if(this.match(29)){let we=this.state.startLoc;re!=null?re.shorthandAssignLoc===null&&(re.shorthandAssignLoc=we):this.raise(S.InvalidCoverInitializedName,we),T.value=this.parseMaybeDefault(I,zn(T.key))}else T.value=zn(T.key);return T.shorthand=!0,this.finishNode(T,"ObjectProperty")}}parseObjPropValue(T,I,H,re,we,qe,it){let ot=this.parseObjectMethod(T,H,re,we,qe)||this.parseObjectProperty(T,I,we,it);return ot||this.unexpected(),ot}parsePropertyName(T,I){if(this.eat(0))T.computed=!0,T.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let{type:H,value:re}=this.state,we;if(ie(H))we=this.parseIdentifier(!0);else switch(H){case 135:we=this.parseNumericLiteral(re);break;case 134:we=this.parseStringLiteral(re);break;case 136:we=this.parseBigIntLiteral(re);break;case 139:{let qe=this.state.startLoc;I!=null?I.privateKeyLoc===null&&(I.privateKeyLoc=qe):this.raise(S.UnexpectedPrivateField,qe),we=this.parsePrivateName();break}default:if(H===137){we=this.parseDecimalLiteral(re);break}this.unexpected()}T.key=we,H!==139&&(T.computed=!1)}}initFunction(T,I){T.id=null,T.generator=!1,T.async=I}parseMethod(T,I,H,re,we,qe,it=!1){this.initFunction(T,H),T.generator=I,this.scope.enter(18|(it?64:0)|(we?32:0)),this.prodParam.enter(Hr(H,T.generator)),this.parseFunctionParams(T,re);let ot=this.parseFunctionBodyAndFinish(T,qe,!0);return this.prodParam.exit(),this.scope.exit(),ot}parseArrayLike(T,I,H,re){H&&this.expectPlugin("recordAndTuple");let we=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let qe=this.startNode();return this.next(),qe.elements=this.parseExprList(T,!H,re,qe),this.state.inFSharpPipelineDirectBody=we,this.finishNode(qe,H?"TupleExpression":"ArrayExpression")}parseArrowExpression(T,I,H,re){this.scope.enter(6);let we=Hr(H,!1);!this.match(5)&&this.prodParam.hasIn&&(we|=8),this.prodParam.enter(we),this.initFunction(T,H);let qe=this.state.maybeInArrowParameters;return I&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(T,I,re)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(T,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=qe,this.finishNode(T,"ArrowFunctionExpression")}setArrowFunctionParameters(T,I,H){this.toAssignableList(I,H,!1),T.params=I}parseFunctionBodyAndFinish(T,I,H=!1){return this.parseFunctionBody(T,!1,H),this.finishNode(T,I)}parseFunctionBody(T,I,H=!1){let re=I&&!this.match(5);if(this.expressionScope.enter(pr()),re)T.body=this.parseMaybeAssign(),this.checkParams(T,!1,I,!1);else{let we=this.state.strict,qe=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),T.body=this.parseBlock(!0,!1,(it=>{let ot=!this.isSimpleParamList(T.params);it&&ot&&this.raise(S.IllegalLanguageModeDirective,T.kind!=="method"&&T.kind!=="constructor"||!T.key?T:T.key.loc.end);let mt=!we&&this.state.strict;this.checkParams(T,!(this.state.strict||I||H||ot),I,mt),this.state.strict&&T.id&&this.checkIdentifier(T.id,65,mt)})),this.prodParam.exit(),this.state.labels=qe}this.expressionScope.exit()}isSimpleParameter(T){return T.type==="Identifier"}isSimpleParamList(T){for(let I=0,H=T.length;I<H;I++)if(!this.isSimpleParameter(T[I]))return!1;return!0}checkParams(T,I,H,re=!0){let we=!I&&new Set,qe={type:"FormalParameters"};for(let it of T.params)this.checkLVal(it,qe,5,we,re)}parseExprList(T,I,H,re){let we=[],qe=!0;for(;!this.eat(T);){if(qe)qe=!1;else if(this.expect(12),this.match(T)){re&&this.addTrailingCommaExtraToNode(re),this.next();break}we.push(this.parseExprListItem(I,H))}return we}parseExprListItem(T,I,H){let re;if(this.match(12))T||this.raise(S.UnexpectedToken,this.state.curPosition(),{unexpected:","}),re=null;else if(this.match(21)){let we=this.state.startLoc;re=this.parseParenItem(this.parseSpread(I),we)}else if(this.match(17)){this.expectPlugin("partialApplication"),H||this.raise(S.UnexpectedArgumentPlaceholder,this.state.startLoc);let we=this.startNode();this.next(),re=this.finishNode(we,"ArgumentPlaceholder")}else re=this.parseMaybeAssignAllowIn(I,this.parseParenItem);return re}parseIdentifier(T){let I=this.startNode(),H=this.parseIdentifierName(T);return this.createIdentifier(I,H)}createIdentifier(T,I){return T.name=I,T.loc.identifierName=I,this.finishNode(T,"Identifier")}parseIdentifierName(T){let I,{startLoc:H,type:re}=this.state;ie(re)?I=this.state.value:this.unexpected();let we=re<=92;return T?we&&this.replaceToken(132):this.checkReservedWord(I,H,we,!1),this.next(),I}checkReservedWord(T,I,H,re){if(!(T.length>10)&&(function(we){return fe.has(we)})(T)){if(H&&(function(we){return Pt.has(we)})(T))return void this.raise(S.UnexpectedKeyword,I,{keyword:T});if((this.state.strict?re?ge:Ze:ze)(T,this.inModule))this.raise(S.UnexpectedReservedWord,I,{reservedWord:T});else if(T==="yield"){if(this.prodParam.hasYield)return void this.raise(S.YieldBindingIdentifier,I)}else if(T==="await"){if(this.prodParam.hasAwait)return void this.raise(S.AwaitBindingIdentifier,I);if(this.scope.inStaticBlock)return void this.raise(S.AwaitBindingIdentifierInStaticBlock,I);this.expressionScope.recordAsyncArrowParametersError(I)}else if(T==="arguments"&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(S.ArgumentsInClass,I)}}recordAwaitIfAllowed(){let T=this.prodParam.hasAwait||this.options.allowAwaitOutsideFunction&&!this.scope.inFunction;return T&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),T}parseAwait(T){let I=this.startNodeAt(T);return this.expressionScope.recordParameterInitializerError(S.AwaitExpressionFormalParameter,I),this.eat(55)&&this.raise(S.ObsoleteAwaitStar,I),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(I.argument=this.parseMaybeUnary(null,!0)),this.finishNode(I,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;let{type:T}=this.state;return T===53||T===10||T===0||Oe(T)||T===102&&!this.state.containsEsc||T===138||T===56||this.hasPlugin("v8intrinsic")&&T===54}parseYield(){let T=this.startNode();this.expressionScope.recordParameterInitializerError(S.YieldInParameter,T),this.next();let I=!1,H=null;if(!this.hasPrecedingLineBreak())switch(I=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!I)break;default:H=this.parseMaybeAssign()}return T.delegate=I,T.argument=H,this.finishNode(T,"YieldExpression")}parseImportCall(T){if(this.next(),T.source=this.parseMaybeAssignAllowIn(),T.options=null,this.eat(12)&&!this.match(11)&&(T.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&!this.match(11))){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(S.ImportCallArity,T)}return this.expect(11),this.finishNode(T,"ImportExpression")}checkPipelineAtInfixOperator(T,I){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&T.type==="SequenceExpression"&&this.raise(S.PipelineHeadSequenceExpression,I)}parseSmartPipelineBodyInStyle(T,I){if(this.isSimpleReference(T)){let H=this.startNodeAt(I);return H.callee=T,this.finishNode(H,"PipelineBareFunction")}{let H=this.startNodeAt(I);return this.checkSmartPipeTopicBodyEarlyErrors(I),H.expression=T,this.finishNode(H,"PipelineTopicExpression")}}isSimpleReference(T){switch(T.type){case"MemberExpression":return!T.computed&&this.isSimpleReference(T.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(T){if(this.match(19))throw this.raise(S.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(S.PipelineTopicUnused,T)}withTopicBindingContext(T){let I=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return T()}finally{this.state.topicContext=I}}withSmartMixTopicForbiddingContext(T){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return T();{let I=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return T()}finally{this.state.topicContext=I}}}withSoloAwaitPermittingContext(T){let I=this.state.soloAwait;this.state.soloAwait=!0;try{return T()}finally{this.state.soloAwait=I}}allowInAnd(T){let I=this.prodParam.currentFlags();if(8&~I){this.prodParam.enter(8|I);try{return T()}finally{this.prodParam.exit()}}return T()}disallowInAnd(T){let I=this.prodParam.currentFlags();if(8&I){this.prodParam.enter(-9&I);try{return T()}finally{this.prodParam.exit()}}return T()}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(T){let I=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let H=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let re=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),I,T);return this.state.inFSharpPipelineDirectBody=H,re}parseModuleExpression(){this.expectPlugin("moduleBlocks");let T=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let I=this.startNodeAt(this.state.endLoc);this.next();let H=this.initializeScopes(!0);this.enterInitialScopes();try{T.body=this.parseProgram(I,8,"module")}finally{H()}return this.finishNode(T,"ModuleExpression")}parsePropertyNamePrefixOperator(T){}}let ss={kind:1},Vr={kind:2},Qi=/[\uD800-\uDFFF]/u,$i=/in(?:stanceof)?/y;class Cn extends kr{parseTopLevel(T,I){return T.program=this.parseProgram(I),T.comments=this.comments,this.options.tokens&&(T.tokens=(function(H,re,we){for(let qe=0;qe<H.length;qe++){let it=H[qe],{type:ot}=it;if(typeof ot=="number"){if(ot===139){let{loc:mt,start:jt,value:Zt,end:Br}=it,Er=jt+1,rn=p(mt.start,1);H.splice(qe,1,new An({type:de(27),value:"#",start:jt,end:Er,startLoc:mt.start,endLoc:rn}),new An({type:de(132),value:Zt,start:Er,end:Br,startLoc:rn,endLoc:mt.end})),qe++;continue}if(Oe(ot)){let{loc:mt,start:jt,value:Zt,end:Br}=it,Er=jt+1,rn=p(mt.start,1),Wn,Un,Fn,hi,Ue;Wn=re.charCodeAt(jt-we)===96?new An({type:de(22),value:"`",start:jt,end:Er,startLoc:mt.start,endLoc:rn}):new An({type:de(8),value:"}",start:jt,end:Er,startLoc:mt.start,endLoc:rn}),ot===24?(Fn=Br-1,hi=p(mt.end,-1),Un=Zt===null?null:Zt.slice(1,-1),Ue=new An({type:de(22),value:"`",start:Fn,end:Br,startLoc:hi,endLoc:mt.end})):(Fn=Br-2,hi=p(mt.end,-2),Un=Zt===null?null:Zt.slice(1,-2),Ue=new An({type:de(23),value:"${",start:Fn,end:Br,startLoc:hi,endLoc:mt.end})),H.splice(qe,1,Wn,new An({type:de(20),value:Un,start:Er,end:Fn,startLoc:rn,endLoc:hi}),Ue),qe+=2;continue}it.type=de(ot)}}return H})(this.tokens,this.input,this.startIndex)),this.finishNode(T,"File")}parseProgram(T,I=140,H=this.options.sourceType){if(T.sourceType=H,T.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(T,!0,!0,I),this.inModule){if(!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(let[we,qe]of Array.from(this.scope.undefinedExports))this.raise(S.ModuleExportUndefined,qe,{localName:we});this.addExtra(T,"topLevelAwait",this.state.hasTopLevelAwait)}let re;return re=I===140?this.finishNode(T,"Program"):this.finishNodeAt(T,"Program",p(this.state.startLoc,-1)),re}stmtToDirective(T){let I=T;I.type="Directive",I.value=I.expression,delete I.expression;let H=I.value,re=H.value,we=this.input.slice(this.offsetToSourcePos(H.start),this.offsetToSourcePos(H.end)),qe=H.value=we.slice(1,-1);return this.addExtra(H,"raw",we),this.addExtra(H,"rawValue",qe),this.addExtra(H,"expressionValue",re),H.type="DirectiveLiteral",I}parseInterpreterDirective(){if(!this.match(28))return null;let T=this.startNode();return T.value=this.state.value,this.next(),this.finishNode(T,"InterpreterDirective")}isLet(){return!!this.isContextual(100)&&this.hasFollowingBindingAtom()}chStartsBindingIdentifier(T,I){if(pe(T)){if($i.lastIndex=I,$i.test(this.input)){let H=this.codePointAtPos($i.lastIndex);if(!nt(H)&&H!==92)return!1}return!0}return T===92}chStartsBindingPattern(T){return T===91||T===123}hasFollowingBindingAtom(){let T=this.nextTokenStart(),I=this.codePointAtPos(T);return this.chStartsBindingPattern(I)||this.chStartsBindingIdentifier(I,T)}hasInLineFollowingBindingIdentifierOrBrace(){let T=this.nextTokenInLineStart(),I=this.codePointAtPos(T);return I===123||this.chStartsBindingIdentifier(I,T)}startsUsingForOf(){let{type:T,containsEsc:I}=this.lookahead();return!(T===102&&!I)&&(X(T)&&!this.hasFollowingLineBreak()?(this.expectPlugin("explicitResourceManagement"),!0):void 0)}startsAwaitUsing(){let T=this.nextTokenInLineStart();if(this.isUnparsedContextual(T,"using")){T=this.nextTokenInLineStartSince(T+5);let I=this.codePointAtPos(T);if(this.chStartsBindingIdentifier(I,T))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(T=!1){let I=0;return this.options.annexB&&!this.state.strict&&(I|=4,T&&(I|=8)),this.parseStatementLike(I)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(T){let I=null;return this.match(26)&&(I=this.parseDecorators(!0)),this.parseStatementContent(T,I)}parseStatementContent(T,I){let H=this.state.type,re=this.startNode(),we=!!(2&T),qe=!!(4&T),it=1&T;switch(H){case 60:return this.parseBreakContinueStatement(re,!0);case 63:return this.parseBreakContinueStatement(re,!1);case 64:return this.parseDebuggerStatement(re);case 90:return this.parseDoWhileStatement(re);case 91:return this.parseForStatement(re);case 68:if(this.lookaheadCharCode()===46)break;return qe||this.raise(this.state.strict?S.StrictFunction:this.options.annexB?S.SloppyFunctionAnnexB:S.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(re,!1,!we&&qe);case 80:return we||this.unexpected(),this.parseClass(this.maybeTakeDecorators(I,re),!0);case 69:return this.parseIfStatement(re);case 70:return this.parseReturnStatement(re);case 71:return this.parseSwitchStatement(re);case 72:return this.parseThrowStatement(re);case 73:return this.parseTryStatement(re);case 96:if(!this.state.containsEsc&&this.startsAwaitUsing())return this.recordAwaitIfAllowed()?we||this.raise(S.UnexpectedLexicalDeclaration,re):this.raise(S.AwaitUsingNotInAsyncContext,re),this.next(),this.parseVarStatement(re,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.expectPlugin("explicitResourceManagement"),!this.scope.inModule&&this.scope.inTopLevel?this.raise(S.UnexpectedUsingDeclaration,this.state.startLoc):we||this.raise(S.UnexpectedLexicalDeclaration,this.state.startLoc),this.parseVarStatement(re,"using");case 100:{if(this.state.containsEsc)break;let jt=this.nextTokenStart(),Zt=this.codePointAtPos(jt);if(Zt!==91&&(!we&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(Zt,jt)&&Zt!==123))break}case 75:we||this.raise(S.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let jt=this.state.value;return this.parseVarStatement(re,jt)}case 92:return this.parseWhileStatement(re);case 76:return this.parseWithStatement(re);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(re);case 83:{let jt=this.lookaheadCharCode();if(jt===40||jt===46)break}case 82:{let jt;return this.options.allowImportExportEverywhere||it||this.raise(S.UnexpectedImportExport,this.state.startLoc),this.next(),H===83?(jt=this.parseImport(re),jt.type!=="ImportDeclaration"||jt.importKind&&jt.importKind!=="value"||(this.sawUnambiguousESM=!0)):(jt=this.parseExport(re,I),(jt.type!=="ExportNamedDeclaration"||jt.exportKind&&jt.exportKind!=="value")&&(jt.type!=="ExportAllDeclaration"||jt.exportKind&&jt.exportKind!=="value")&&jt.type!=="ExportDefaultDeclaration"||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(jt),jt}default:if(this.isAsyncFunction())return we||this.raise(S.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(re,!0,!we&&qe)}let ot=this.state.value,mt=this.parseExpression();return X(H)&&mt.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(re,ot,mt,T):this.parseExpressionStatement(re,mt,I)}assertModuleNodeAllowed(T){this.options.allowImportExportEverywhere||this.inModule||this.raise(S.ImportOutsideModule,T)}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(T,I,H){return T&&(I.decorators&&I.decorators.length>0?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(S.DecoratorsBeforeAfterExport,I.decorators[0]),I.decorators.unshift(...T)):I.decorators=T,this.resetStartLocationFromNode(I,T[0]),H&&this.resetStartLocationFromNode(H,I)),I}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(T){let I=[];do I.push(this.parseDecorator());while(this.match(26));if(this.match(82))T||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(S.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(S.UnexpectedLeadingDecorator,this.state.startLoc);return I}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let T=this.startNode();if(this.next(),this.hasPlugin("decorators")){let I=this.state.startLoc,H;if(this.match(10)){let re=this.state.startLoc;this.next(),H=this.parseExpression(),this.expect(11),H=this.wrapParenthesis(re,H);let we=this.state.startLoc;T.expression=this.parseMaybeDecoratorArguments(H),this.getPluginOption("decorators","allowCallParenthesized")===!1&&T.expression!==H&&this.raise(S.DecoratorArgumentsOutsideParentheses,we)}else{for(H=this.parseIdentifier(!1);this.eat(16);){let re=this.startNodeAt(I);re.object=H,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),re.property=this.parsePrivateName()):re.property=this.parseIdentifier(!0),re.computed=!1,H=this.finishNode(re,"MemberExpression")}T.expression=this.parseMaybeDecoratorArguments(H)}}else T.expression=this.parseExprSubscripts();return this.finishNode(T,"Decorator")}parseMaybeDecoratorArguments(T){if(this.eat(10)){let I=this.startNodeAtNode(T);return I.callee=T,I.arguments=this.parseCallExpressionArguments(11),this.toReferencedList(I.arguments),this.finishNode(I,"CallExpression")}return T}parseBreakContinueStatement(T,I){return this.next(),this.isLineTerminator()?T.label=null:(T.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(T,I),this.finishNode(T,I?"BreakStatement":"ContinueStatement")}verifyBreakContinue(T,I){let H;for(H=0;H<this.state.labels.length;++H){let re=this.state.labels[H];if((T.label==null||re.name===T.label.name)&&(re.kind!=null&&(I||re.kind===1)||T.label&&I))break}if(H===this.state.labels.length){let re=I?"BreakStatement":"ContinueStatement";this.raise(S.IllegalBreakContinue,T,{type:re})}}parseDebuggerStatement(T){return this.next(),this.semicolon(),this.finishNode(T,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let T=this.parseExpression();return this.expect(11),T}parseDoWhileStatement(T){return this.next(),this.state.labels.push(ss),T.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.state.labels.pop(),this.expect(92),T.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(T,"DoWhileStatement")}parseForStatement(T){this.next(),this.state.labels.push(ss);let I=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(I=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return I!==null&&this.unexpected(I),this.parseFor(T,null);let H=this.isContextual(100);{let ot=this.isContextual(96)&&this.startsAwaitUsing(),mt=ot||this.isContextual(107)&&this.startsUsingForOf(),jt=H&&this.hasFollowingBindingAtom()||mt;if(this.match(74)||this.match(75)||jt){let Zt=this.startNode(),Br;ot?(Br="await using",this.recordAwaitIfAllowed()||this.raise(S.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):Br=this.state.value,this.next(),this.parseVar(Zt,!0,Br);let Er=this.finishNode(Zt,"VariableDeclaration"),rn=this.match(58);return rn&&mt&&this.raise(S.ForInUsing,Er),(rn||this.isContextual(102))&&Er.declarations.length===1?this.parseForIn(T,Er,I):(I!==null&&this.unexpected(I),this.parseFor(T,Er))}}let re=this.isContextual(95),we=new Fr,qe=this.parseExpression(!0,we),it=this.isContextual(102);if(it&&(H&&this.raise(S.ForOfLet,qe),I===null&&re&&qe.type==="Identifier"&&this.raise(S.ForOfAsync,qe)),it||this.match(58)){this.checkDestructuringPrivate(we),this.toAssignable(qe,!0);let ot=it?"ForOfStatement":"ForInStatement";return this.checkLVal(qe,{type:ot}),this.parseForIn(T,qe,I)}return this.checkExpressionErrors(we,!0),I!==null&&this.unexpected(I),this.parseFor(T,qe)}parseFunctionStatement(T,I,H){return this.next(),this.parseFunction(T,1|(H?2:0)|(I?8:0))}parseIfStatement(T){return this.next(),T.test=this.parseHeaderExpression(),T.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),T.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(T,"IfStatement")}parseReturnStatement(T){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(S.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?T.argument=null:(T.argument=this.parseExpression(),this.semicolon()),this.finishNode(T,"ReturnStatement")}parseSwitchStatement(T){this.next(),T.discriminant=this.parseHeaderExpression();let I=T.cases=[],H;this.expect(5),this.state.labels.push(Vr),this.scope.enter(0);for(let re;!this.match(8);)if(this.match(61)||this.match(65)){let we=this.match(61);H&&this.finishNode(H,"SwitchCase"),I.push(H=this.startNode()),H.consequent=[],this.next(),we?H.test=this.parseExpression():(re&&this.raise(S.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),re=!0,H.test=null),this.expect(14)}else H?H.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),H&&this.finishNode(H,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(T,"SwitchStatement")}parseThrowStatement(T){return this.next(),this.hasPrecedingLineBreak()&&this.raise(S.NewlineAfterThrow,this.state.lastTokEndLoc),T.argument=this.parseExpression(),this.semicolon(),this.finishNode(T,"ThrowStatement")}parseCatchClauseParam(){let T=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&T.type==="Identifier"?8:0),this.checkLVal(T,{type:"CatchClause"},9),T}parseTryStatement(T){if(this.next(),T.block=this.parseBlock(),T.handler=null,this.match(62)){let I=this.startNode();this.next(),this.match(10)?(this.expect(10),I.param=this.parseCatchClauseParam(),this.expect(11)):(I.param=null,this.scope.enter(0)),I.body=this.withSmartMixTopicForbiddingContext((()=>this.parseBlock(!1,!1))),this.scope.exit(),T.handler=this.finishNode(I,"CatchClause")}return T.finalizer=this.eat(67)?this.parseBlock():null,T.handler||T.finalizer||this.raise(S.NoCatchOrFinally,T),this.finishNode(T,"TryStatement")}parseVarStatement(T,I,H=!1){return this.next(),this.parseVar(T,!1,I,H),this.semicolon(),this.finishNode(T,"VariableDeclaration")}parseWhileStatement(T){return this.next(),T.test=this.parseHeaderExpression(),this.state.labels.push(ss),T.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.state.labels.pop(),this.finishNode(T,"WhileStatement")}parseWithStatement(T){return this.state.strict&&this.raise(S.StrictWith,this.state.startLoc),this.next(),T.object=this.parseHeaderExpression(),T.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.finishNode(T,"WithStatement")}parseEmptyStatement(T){return this.next(),this.finishNode(T,"EmptyStatement")}parseLabeledStatement(T,I,H,re){for(let it of this.state.labels)it.name===I&&this.raise(S.LabelRedeclaration,H,{labelName:I});let we=(qe=this.state.type)>=90&&qe<=92?1:this.match(71)?2:null;var qe;for(let it=this.state.labels.length-1;it>=0;it--){let ot=this.state.labels[it];if(ot.statementStart!==T.start)break;ot.statementStart=this.sourceToOffsetPos(this.state.start),ot.kind=we}return this.state.labels.push({name:I,kind:we,statementStart:this.sourceToOffsetPos(this.state.start)}),T.body=8&re?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),T.label=H,this.finishNode(T,"LabeledStatement")}parseExpressionStatement(T,I,H){return T.expression=I,this.semicolon(),this.finishNode(T,"ExpressionStatement")}parseBlock(T=!1,I=!0,H){let re=this.startNode();return T&&this.state.strictErrors.clear(),this.expect(5),I&&this.scope.enter(0),this.parseBlockBody(re,T,!1,8,H),I&&this.scope.exit(),this.finishNode(re,"BlockStatement")}isValidDirective(T){return T.type==="ExpressionStatement"&&T.expression.type==="StringLiteral"&&!T.expression.extra.parenthesized}parseBlockBody(T,I,H,re,we){let qe=T.body=[],it=T.directives=[];this.parseBlockOrModuleBlockBody(qe,I?it:void 0,H,re,we)}parseBlockOrModuleBlockBody(T,I,H,re,we){let qe=this.state.strict,it=!1,ot=!1;for(;!this.match(re);){let mt=H?this.parseModuleItem():this.parseStatementListItem();if(I&&!ot){if(this.isValidDirective(mt)){let jt=this.stmtToDirective(mt);I.push(jt),it||jt.value.value!=="use strict"||(it=!0,this.setStrict(!0));continue}ot=!0,this.state.strictErrors.clear()}T.push(mt)}we==null||we.call(this,it),qe||this.setStrict(!1),this.next()}parseFor(T,I){return T.init=I,this.semicolon(!1),T.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),T.update=this.match(11)?null:this.parseExpression(),this.expect(11),T.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(T,"ForStatement")}parseForIn(T,I,H){let re=this.match(58);return this.next(),re?H!==null&&this.unexpected(H):T.await=H!==null,I.type!=="VariableDeclaration"||I.declarations[0].init==null||re&&this.options.annexB&&!this.state.strict&&I.kind==="var"&&I.declarations[0].id.type==="Identifier"||this.raise(S.ForInOfLoopInitializer,I,{type:re?"ForInStatement":"ForOfStatement"}),I.type==="AssignmentPattern"&&this.raise(S.InvalidLhs,I,{ancestor:{type:"ForStatement"}}),T.left=I,T.right=re?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),T.body=this.withSmartMixTopicForbiddingContext((()=>this.parseStatement())),this.scope.exit(),this.state.labels.pop(),this.finishNode(T,re?"ForInStatement":"ForOfStatement")}parseVar(T,I,H,re=!1){let we=T.declarations=[];for(T.kind=H;;){let qe=this.startNode();if(this.parseVarId(qe,H),qe.init=this.eat(29)?I?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,qe.init!==null||re||(qe.id.type==="Identifier"||I&&(this.match(58)||this.isContextual(102))?H!=="const"&&H!=="using"&&H!=="await using"||this.match(58)||this.isContextual(102)||this.raise(S.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:H}):this.raise(S.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"})),we.push(this.finishNode(qe,"VariableDeclarator")),!this.eat(12))break}return T}parseVarId(T,I){let H=this.parseBindingAtom();I!=="using"&&I!=="await using"||H.type!=="ArrayPattern"&&H.type!=="ObjectPattern"||this.raise(S.UsingDeclarationHasBindingPattern,H.loc.start),this.checkLVal(H,{type:"VariableDeclarator"},I==="var"?5:8201),T.id=H}parseAsyncFunctionExpression(T){return this.parseFunction(T,8)}parseFunction(T,I=0){let H=2&I,re=!!(1&I),we=re&&!(4&I),qe=!!(8&I);this.initFunction(T,qe),this.match(55)&&(H&&this.raise(S.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),T.generator=!0),re&&(T.id=this.parseFunctionId(we));let it=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(Hr(qe,T.generator)),re||(T.id=this.parseFunctionId()),this.parseFunctionParams(T,!1),this.withSmartMixTopicForbiddingContext((()=>{this.parseFunctionBodyAndFinish(T,re?"FunctionDeclaration":"FunctionExpression")})),this.prodParam.exit(),this.scope.exit(),re&&!H&&this.registerFunctionStatementId(T),this.state.maybeInArrowParameters=it,T}parseFunctionId(T){return T||X(this.state.type)?this.parseIdentifier():null}parseFunctionParams(T,I){this.expect(10),this.expressionScope.enter(new $t(3)),T.params=this.parseBindingList(11,41,2|(I?4:0)),this.expressionScope.exit()}registerFunctionStatementId(T){T.id&&this.scope.declareName(T.id.name,!this.options.annexB||this.state.strict||T.generator||T.async?this.scope.treatFunctionsAsVar?5:8201:17,T.id.loc.start)}parseClass(T,I,H){this.next();let re=this.state.strict;return this.state.strict=!0,this.parseClassId(T,I,H),this.parseClassSuper(T),T.body=this.parseClassBody(!!T.superClass,re),this.finishNode(T,I?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(T){return T.type==="Identifier"&&T.name==="constructor"||T.type==="StringLiteral"&&T.value==="constructor"}isNonstaticConstructor(T){return!T.computed&&!T.static&&this.nameIsConstructor(T.key)}parseClassBody(T,I){this.classScope.enter();let H={hadConstructor:!1,hadSuperClass:T},re=[],we=this.startNode();if(we.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext((()=>{for(;!this.match(8);){if(this.eat(13)){if(re.length>0)throw this.raise(S.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){re.push(this.parseDecorator());continue}let qe=this.startNode();re.length&&(qe.decorators=re,this.resetStartLocationFromNode(qe,re[0]),re=[]),this.parseClassMember(we,qe,H),qe.kind==="constructor"&&qe.decorators&&qe.decorators.length>0&&this.raise(S.DecoratorConstructor,qe)}})),this.state.strict=I,this.next(),re.length)throw this.raise(S.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(we,"ClassBody")}parseClassMemberFromModifier(T,I){let H=this.parseIdentifier(!0);if(this.isClassMethod()){let re=I;return re.kind="method",re.computed=!1,re.key=H,re.static=!1,this.pushClassMethod(T,re,!1,!1,!1,!1),!0}if(this.isClassProperty()){let re=I;return re.computed=!1,re.key=H,re.static=!1,T.body.push(this.parseClassProperty(re)),!0}return this.resetPreviousNodeTrailingComments(H),!1}parseClassMember(T,I,H){let re=this.isContextual(106);if(re){if(this.parseClassMemberFromModifier(T,I))return;if(this.eat(5))return void this.parseClassStaticBlock(T,I)}this.parseClassMemberWithIsStatic(T,I,H,re)}parseClassMemberWithIsStatic(T,I,H,re){let we=I,qe=I,it=I,ot=I,mt=I,jt=we,Zt=we;if(I.static=re,this.parsePropertyNamePrefixOperator(I),this.eat(55)){jt.kind="method";let Fn=this.match(139);return this.parseClassElementName(jt),Fn?void this.pushClassPrivateMethod(T,qe,!0,!1):(this.isNonstaticConstructor(we)&&this.raise(S.ConstructorIsGenerator,we.key),void this.pushClassMethod(T,we,!0,!1,!1,!1))}let Br=!this.state.containsEsc&&X(this.state.type),Er=this.parseClassElementName(I),rn=Br?Er.name:null,Wn=this.isPrivateName(Er),Un=this.state.startLoc;if(this.parsePostMemberNameModifiers(Zt),this.isClassMethod()){if(jt.kind="method",Wn)return void this.pushClassPrivateMethod(T,qe,!1,!1);let Fn=this.isNonstaticConstructor(we),hi=!1;Fn&&(we.kind="constructor",H.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(S.DuplicateConstructor,Er),Fn&&this.hasPlugin("typescript")&&I.override&&this.raise(S.OverrideOnConstructor,Er),H.hadConstructor=!0,hi=H.hadSuperClass),this.pushClassMethod(T,we,!1,!1,Fn,hi)}else if(this.isClassProperty())Wn?this.pushClassPrivateProperty(T,ot):this.pushClassProperty(T,it);else if(rn!=="async"||this.isLineTerminator())if(rn!=="get"&&rn!=="set"||this.match(55)&&this.isLineTerminator())if(rn!=="accessor"||this.isLineTerminator())this.isLineTerminator()?Wn?this.pushClassPrivateProperty(T,ot):this.pushClassProperty(T,it):this.unexpected();else{this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(Er);let Fn=this.match(139);this.parseClassElementName(it),this.pushClassAccessorProperty(T,mt,Fn)}else{this.resetPreviousNodeTrailingComments(Er),jt.kind=rn;let Fn=this.match(139);this.parseClassElementName(we),Fn?this.pushClassPrivateMethod(T,qe,!1,!1):(this.isNonstaticConstructor(we)&&this.raise(S.ConstructorIsAccessor,we.key),this.pushClassMethod(T,we,!1,!1,!1,!1)),this.checkGetterSetterParams(we)}else{this.resetPreviousNodeTrailingComments(Er);let Fn=this.eat(55);Zt.optional&&this.unexpected(Un),jt.kind="method";let hi=this.match(139);this.parseClassElementName(jt),this.parsePostMemberNameModifiers(Zt),hi?this.pushClassPrivateMethod(T,qe,Fn,!0):(this.isNonstaticConstructor(we)&&this.raise(S.ConstructorIsAsync,we.key),this.pushClassMethod(T,we,Fn,!0,!1,!1))}}parseClassElementName(T){let{type:I,value:H}=this.state;if(I!==132&&I!==134||!T.static||H!=="prototype"||this.raise(S.StaticPrototype,this.state.startLoc),I===139){H==="constructor"&&this.raise(S.ConstructorClassPrivateField,this.state.startLoc);let re=this.parsePrivateName();return T.key=re,re}return this.parsePropertyName(T),T.key}parseClassStaticBlock(T,I){var H;this.scope.enter(208);let re=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let we=I.body=[];this.parseBlockOrModuleBlockBody(we,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=re,T.body.push(this.finishNode(I,"StaticBlock")),(H=I.decorators)!=null&&H.length&&this.raise(S.DecoratorStaticBlock,I)}pushClassProperty(T,I){!I.computed&&this.nameIsConstructor(I.key)&&this.raise(S.ConstructorClassField,I.key),T.body.push(this.parseClassProperty(I))}pushClassPrivateProperty(T,I){let H=this.parseClassPrivateProperty(I);T.body.push(H),this.classScope.declarePrivateName(this.getPrivateNameSV(H.key),0,H.key.loc.start)}pushClassAccessorProperty(T,I,H){H||I.computed||!this.nameIsConstructor(I.key)||this.raise(S.ConstructorClassField,I.key);let re=this.parseClassAccessorProperty(I);T.body.push(re),H&&this.classScope.declarePrivateName(this.getPrivateNameSV(re.key),0,re.key.loc.start)}pushClassMethod(T,I,H,re,we,qe){T.body.push(this.parseMethod(I,H,re,we,qe,"ClassMethod",!0))}pushClassPrivateMethod(T,I,H,re){let we=this.parseMethod(I,H,re,!1,!1,"ClassPrivateMethod",!0);T.body.push(we);let qe=we.kind==="get"?we.static?6:2:we.kind==="set"?we.static?5:1:0;this.declareClassPrivateMethodInScope(we,qe)}declareClassPrivateMethodInScope(T,I){this.classScope.declarePrivateName(this.getPrivateNameSV(T.key),I,T.key.loc.start)}parsePostMemberNameModifiers(T){}parseClassPrivateProperty(T){return this.parseInitializer(T),this.semicolon(),this.finishNode(T,"ClassPrivateProperty")}parseClassProperty(T){return this.parseInitializer(T),this.semicolon(),this.finishNode(T,"ClassProperty")}parseClassAccessorProperty(T){return this.parseInitializer(T),this.semicolon(),this.finishNode(T,"ClassAccessorProperty")}parseInitializer(T){this.scope.enter(80),this.expressionScope.enter(pr()),this.prodParam.enter(0),T.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(T,I,H,re=8331){if(X(this.state.type))T.id=this.parseIdentifier(),I&&this.declareNameFromIdentifier(T.id,re);else{if(!H&&I)throw this.raise(S.MissingClassName,this.state.startLoc);T.id=null}}parseClassSuper(T){T.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(T,I){let H=this.parseMaybeImportPhase(T,!0),re=this.maybeParseExportDefaultSpecifier(T,H),we=!re||this.eat(12),qe=we&&this.eatExportStar(T),it=qe&&this.maybeParseExportNamespaceSpecifier(T),ot=we&&(!it||this.eat(12)),mt=re||qe;if(qe&&!it){if(re&&this.unexpected(),I)throw this.raise(S.UnsupportedDecoratorExport,T);return this.parseExportFrom(T,!0),this.finishNode(T,"ExportAllDeclaration")}let jt=this.maybeParseExportNamedSpecifiers(T),Zt;if(re&&we&&!qe&&!jt&&this.unexpected(null,5),it&&ot&&this.unexpected(null,98),mt||jt){if(Zt=!1,I)throw this.raise(S.UnsupportedDecoratorExport,T);this.parseExportFrom(T,mt)}else Zt=this.maybeParseExportDeclaration(T);if(mt||jt||Zt){var Br;let Er=T;if(this.checkExport(Er,!0,!1,!!Er.source),((Br=Er.declaration)==null?void 0:Br.type)==="ClassDeclaration")this.maybeTakeDecorators(I,Er.declaration,Er);else if(I)throw this.raise(S.UnsupportedDecoratorExport,T);return this.finishNode(Er,"ExportNamedDeclaration")}if(this.eat(65)){let Er=T,rn=this.parseExportDefaultExpression();if(Er.declaration=rn,rn.type==="ClassDeclaration")this.maybeTakeDecorators(I,rn,Er);else if(I)throw this.raise(S.UnsupportedDecoratorExport,T);return this.checkExport(Er,!0,!0),this.finishNode(Er,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(T){return this.eat(55)}maybeParseExportDefaultSpecifier(T,I){if(I||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",I==null?void 0:I.loc.start);let H=I||this.parseIdentifier(!0),re=this.startNodeAtNode(H);return re.exported=H,T.specifiers=[this.finishNode(re,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(T){if(this.isContextual(93)){var I;(I=T).specifiers!=null||(I.specifiers=[]);let H=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),H.exported=this.parseModuleExportName(),T.specifiers.push(this.finishNode(H,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(T){if(this.match(5)){let I=T;I.specifiers||(I.specifiers=[]);let H=I.exportKind==="type";return I.specifiers.push(...this.parseExportSpecifiers(H)),I.source=null,I.declaration=null,this.hasPlugin("importAssertions")&&(I.assertions=[]),!0}return!1}maybeParseExportDeclaration(T){return!!this.shouldParseExportDeclaration()&&(T.specifiers=[],T.source=null,this.hasPlugin("importAssertions")&&(T.assertions=[]),T.declaration=this.parseExportDeclaration(T),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;let T=this.nextTokenInLineStart();return this.isUnparsedContextual(T,"function")}parseExportDefaultExpression(){let T=this.startNode();if(this.match(68))return this.next(),this.parseFunction(T,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(T,13);if(this.match(80))return this.parseClass(T,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(S.DecoratorBeforeExport,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(S.UnsupportedDefaultExport,this.state.startLoc);let I=this.parseMaybeAssignAllowIn();return this.semicolon(),I}parseExportDeclaration(T){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:T}=this.state;if(X(T)){if(T===95&&!this.state.containsEsc||T===100)return!1;if((T===130||T===129)&&!this.state.containsEsc){let{type:re}=this.lookahead();if(X(re)&&re!==98||re===5)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let I=this.nextTokenStart(),H=this.isUnparsedContextual(I,"from");if(this.input.charCodeAt(I)===44||X(this.state.type)&&H)return!0;if(this.match(65)&&H){let re=this.input.charCodeAt(this.nextTokenStartSince(I+4));return re===34||re===39}return!1}parseExportFrom(T,I){this.eatContextual(98)?(T.source=this.parseImportSource(),this.checkExport(T),this.maybeParseImportAttributes(T),this.checkJSONModuleImport(T)):I&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:T}=this.state;return T===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(S.DecoratorBeforeExport,this.state.startLoc),!0):this.isContextual(107)||this.isContextual(96)&&this.startsAwaitUsing()?(this.raise(S.UsingDeclarationExport,this.state.startLoc),!0):T===74||T===75||T===68||T===80||this.isLet()||this.isAsyncFunction()}checkExport(T,I,H,re){var we;if(I){if(H){if(this.checkDuplicateExports(T,"default"),this.hasPlugin("exportDefaultFrom")){var qe;let it=T.declaration;it.type!=="Identifier"||it.name!=="from"||it.end-it.start!=4||(qe=it.extra)!=null&&qe.parenthesized||this.raise(S.ExportDefaultFromAsIdentifier,it)}}else if((we=T.specifiers)!=null&&we.length)for(let it of T.specifiers){let{exported:ot}=it,mt=ot.type==="Identifier"?ot.name:ot.value;if(this.checkDuplicateExports(it,mt),!re&&it.local){let{local:jt}=it;jt.type!=="Identifier"?this.raise(S.ExportBindingIsString,it,{localName:jt.value,exportName:mt}):(this.checkReservedWord(jt.name,jt.loc.start,!0,!1),this.scope.checkLocalExport(jt))}}else if(T.declaration){let it=T.declaration;if(it.type==="FunctionDeclaration"||it.type==="ClassDeclaration"){let{id:ot}=it;if(!ot)throw new Error("Assertion failure");this.checkDuplicateExports(T,ot.name)}else if(it.type==="VariableDeclaration")for(let ot of it.declarations)this.checkDeclaration(ot.id)}}}checkDeclaration(T){if(T.type==="Identifier")this.checkDuplicateExports(T,T.name);else if(T.type==="ObjectPattern")for(let I of T.properties)this.checkDeclaration(I);else if(T.type==="ArrayPattern")for(let I of T.elements)I&&this.checkDeclaration(I);else T.type==="ObjectProperty"?this.checkDeclaration(T.value):T.type==="RestElement"?this.checkDeclaration(T.argument):T.type==="AssignmentPattern"&&this.checkDeclaration(T.left)}checkDuplicateExports(T,I){this.exportedIdentifiers.has(I)&&(I==="default"?this.raise(S.DuplicateDefaultExport,T):this.raise(S.DuplicateExport,T,{exportName:I})),this.exportedIdentifiers.add(I)}parseExportSpecifiers(T){let I=[],H=!0;for(this.expect(5);!this.eat(8);){if(H)H=!1;else if(this.expect(12),this.eat(8))break;let re=this.isContextual(130),we=this.match(134),qe=this.startNode();qe.local=this.parseModuleExportName(),I.push(this.parseExportSpecifier(qe,we,T,re))}return I}parseExportSpecifier(T,I,H,re){return this.eatContextual(93)?T.exported=this.parseModuleExportName():I?T.exported=Ni(T.local):T.exported||(T.exported=zn(T.local)),this.finishNode(T,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){let T=this.parseStringLiteral(this.state.value),I=Qi.exec(T.value);return I&&this.raise(S.ModuleExportNameHasLoneSurrogate,T,{surrogateCharCode:I[0].charCodeAt(0)}),T}return this.parseIdentifier(!0)}isJSONModuleImport(T){return T.assertions!=null&&T.assertions.some((({key:I,value:H})=>H.value==="json"&&(I.type==="Identifier"?I.name==="type":I.value==="type")))}checkImportReflection(T){let{specifiers:I}=T,H=I.length===1?I[0].type:null;if(T.phase==="source")H!=="ImportDefaultSpecifier"&&this.raise(S.SourcePhaseImportRequiresDefault,I[0].loc.start);else if(T.phase==="defer")H!=="ImportNamespaceSpecifier"&&this.raise(S.DeferImportRequiresNamespace,I[0].loc.start);else if(T.module){var re;H!=="ImportDefaultSpecifier"&&this.raise(S.ImportReflectionNotBinding,I[0].loc.start),((re=T.assertions)==null?void 0:re.length)>0&&this.raise(S.ImportReflectionHasAssertion,I[0].loc.start)}}checkJSONModuleImport(T){if(this.isJSONModuleImport(T)&&T.type!=="ExportAllDeclaration"){let{specifiers:I}=T;if(I!=null){let H=I.find((re=>{let we;if(re.type==="ExportSpecifier"?we=re.local:re.type==="ImportSpecifier"&&(we=re.imported),we!==void 0)return we.type==="Identifier"?we.name!=="default":we.value!=="default"}));H!==void 0&&this.raise(S.ImportJSONBindingNotDefault,H.loc.start)}}}isPotentialImportPhase(T){return!T&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))}applyImportPhase(T,I,H,re){I||(H==="module"?(this.expectPlugin("importReflection",re),T.module=!0):this.hasPlugin("importReflection")&&(T.module=!1),H==="source"?(this.expectPlugin("sourcePhaseImports",re),T.phase="source"):H==="defer"?(this.expectPlugin("deferredImportEvaluation",re),T.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(T.phase=null))}parseMaybeImportPhase(T,I){if(!this.isPotentialImportPhase(I))return this.applyImportPhase(T,I,null),null;let H=this.parseIdentifier(!0),{type:re}=this.state;return(ie(re)?re!==98||this.lookaheadCharCode()===102:re!==12)?(this.resetPreviousIdentifierLeadingComments(H),this.applyImportPhase(T,I,H.name,H.loc.start),null):(this.applyImportPhase(T,I,null),H)}isPrecedingIdImportPhase(T){let{type:I}=this.state;return X(I)?I!==98||this.lookaheadCharCode()===102:I!==12}parseImport(T){return this.match(134)?this.parseImportSourceAndAttributes(T):this.parseImportSpecifiersAndAfter(T,this.parseMaybeImportPhase(T,!1))}parseImportSpecifiersAndAfter(T,I){T.specifiers=[];let H=!this.maybeParseDefaultImportSpecifier(T,I)||this.eat(12),re=H&&this.maybeParseStarImportSpecifier(T);return H&&!re&&this.parseNamedImportSpecifiers(T),this.expectContextual(98),this.parseImportSourceAndAttributes(T)}parseImportSourceAndAttributes(T){return T.specifiers!=null||(T.specifiers=[]),T.source=this.parseImportSource(),this.maybeParseImportAttributes(T),this.checkImportReflection(T),this.checkJSONModuleImport(T),this.semicolon(),this.finishNode(T,"ImportDeclaration")}parseImportSource(){return this.match(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(T,I,H){I.local=this.parseIdentifier(),T.specifiers.push(this.finishImportSpecifier(I,H))}finishImportSpecifier(T,I,H=8201){return this.checkLVal(T.local,{type:I},H),this.finishNode(T,I)}parseImportAttributes(){this.expect(5);let T=[],I=new Set;do{if(this.match(8))break;let H=this.startNode(),re=this.state.value;if(I.has(re)&&this.raise(S.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:re}),I.add(re),this.match(134)?H.key=this.parseStringLiteral(re):H.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(S.ModuleAttributeInvalidValue,this.state.startLoc);H.value=this.parseStringLiteral(this.state.value),T.push(this.finishNode(H,"ImportAttribute"))}while(this.eat(12));return this.expect(8),T}parseModuleAttributes(){let T=[],I=new Set;do{let H=this.startNode();if(H.key=this.parseIdentifier(!0),H.key.name!=="type"&&this.raise(S.ModuleAttributeDifferentFromType,H.key),I.has(H.key.name)&&this.raise(S.ModuleAttributesWithDuplicateKeys,H.key,{key:H.key.name}),I.add(H.key.name),this.expect(14),!this.match(134))throw this.raise(S.ModuleAttributeInvalidValue,this.state.startLoc);H.value=this.parseStringLiteral(this.state.value),T.push(this.finishNode(H,"ImportAttribute"))}while(this.eat(12));return T}maybeParseImportAttributes(T){let I;var H=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),I=this.hasPlugin("moduleAttributes")?this.parseModuleAttributes():this.parseImportAttributes(),H=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(this.hasPlugin("deprecatedImportAssert")||this.hasPlugin("importAssertions")||this.raise(S.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(T,"deprecatedAssertSyntax",!0),this.next(),I=this.parseImportAttributes()):I=[];!H&&this.hasPlugin("importAssertions")?T.assertions=I:T.attributes=I}maybeParseDefaultImportSpecifier(T,I){if(I){let H=this.startNodeAtNode(I);return H.local=I,T.specifiers.push(this.finishImportSpecifier(H,"ImportDefaultSpecifier")),!0}return!!ie(this.state.type)&&(this.parseImportSpecifierLocal(T,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(T){if(this.match(55)){let I=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(T,I,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(T){let I=!0;for(this.expect(5);!this.eat(8);){if(I)I=!1;else{if(this.eat(14))throw this.raise(S.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let H=this.startNode(),re=this.match(134),we=this.isContextual(130);H.imported=this.parseModuleExportName();let qe=this.parseImportSpecifier(H,re,T.importKind==="type"||T.importKind==="typeof",we,void 0);T.specifiers.push(qe)}}parseImportSpecifier(T,I,H,re,we){if(this.eatContextual(93))T.local=this.parseIdentifier();else{let{imported:qe}=T;if(I)throw this.raise(S.ImportBindingIsString,T,{importName:qe.value});this.checkReservedWord(qe.name,T.loc.start,!0,!0),T.local||(T.local=zn(qe))}return this.finishImportSpecifier(T,"ImportSpecifier",we)}isThisParam(T){return T.type==="Identifier"&&T.name==="this"}}class Js extends Cn{constructor(T,I,H){super(T=(function(re){let we={sourceType:"script",sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0};if(re==null)return we;if(re.annexB!=null&&re.annexB!==!1)throw new Error("The `annexB` option can only be set to `false`.");for(let qe of Object.keys(we))re[qe]!=null&&(we[qe]=re[qe]);if(we.startLine===1)re.startIndex==null&&we.startColumn>0?we.startIndex=we.startColumn:re.startColumn==null&&we.startIndex>0&&(we.startColumn=we.startIndex);else if((re.startColumn==null||re.startIndex==null)&&re.startIndex!=null)throw new Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");return we})(T),I),this.options=T,this.initializeScopes(),this.plugins=H,this.filename=T.sourceFilename,this.startIndex=T.startIndex}getScopeHandler(){return le}parse(){this.enterInitialScopes();let T=this.startNode(),I=this.startNode();return this.nextToken(),T.errors=null,this.parseTopLevel(T,I),T.errors=this.state.errors,T.comments.length=this.state.commentsLen,T}}let Ns=(function(He){let T={};for(let I of Object.keys(He))T[I]=de(He[I]);return T})(Q);function Ur(He,T){let I=Js,H=new Map;if(He!=null&&He.plugins){for(let re of He.plugins){let we,qe;typeof re=="string"?we=re:[we,qe]=re,H.has(we)||H.set(we,qe||{})}(function(re){if(re.has("decorators")){if(re.has("decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");let qe=re.get("decorators").decoratorsBeforeExport;if(qe!=null&&typeof qe!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean, if specified.");let it=re.get("decorators").allowCallParenthesized;if(it!=null&&typeof it!="boolean")throw new Error("'allowCallParenthesized' must be a boolean.")}if(re.has("flow")&&re.has("typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(re.has("placeholders")&&re.has("v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(re.has("pipelineOperator")){var we;let qe=re.get("pipelineOperator").proposal;if(!di.includes(qe)){let ot=di.map((mt=>`"${mt}"`)).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${ot}.`)}let it=((we=re.get("recordAndTuple"))==null?void 0:we.syntaxType)==="hash";if(qe==="hack"){if(re.has("placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(re.has("v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let ot=re.get("pipelineOperator").topicToken;if(!an.includes(ot)){let mt=an.map((jt=>`"${jt}"`)).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${mt}.`)}if(ot==="#"&&it)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",re.get("recordAndTuple")])}\`.`)}else if(qe==="smart"&&it)throw new Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",re.get("recordAndTuple")])}\`.`)}if(re.has("moduleAttributes")){if(re.has("deprecatedImportAssert")||re.has("importAssertions"))throw new Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if(re.get("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(re.has("importAssertions")&&re.has("deprecatedImportAssert"))throw new Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");if(!re.has("deprecatedImportAssert")&&re.has("importAttributes")&&re.get("importAttributes").deprecatedAssertSyntax&&re.set("deprecatedImportAssert",{}),re.has("recordAndTuple")){let qe=re.get("recordAndTuple").syntaxType;if(qe!=null){let it=["hash","bar"];if(!it.includes(qe))throw new Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+it.map((ot=>`'${ot}'`)).join(", "))}}if(re.has("asyncDoExpressions")&&!re.has("doExpressions")){let qe=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw qe.missingPlugins="doExpressions",qe}if(re.has("optionalChainingAssign")&&re.get("optionalChainingAssign").version!=="2023-07")throw new Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.")})(H),I=(function(re){let we=[];for(let ot of Wi)re.has(ot)&&we.push(ot);let qe=we.join("|"),it=Zi.get(qe);if(!it){it=Js;for(let ot of we)it=Qn[ot](it);Zi.set(qe,it)}return it})(H)}return new I(He,T,H)}let Zi=new Map;e.parse=function(He,T){var I;if(((I=T)==null?void 0:I.sourceType)!=="unambiguous")return Ur(T,He).parse();T=Object.assign({},T);try{T.sourceType="module";let H=Ur(T,He),re=H.parse();if(H.sawUnambiguousESM)return re;if(H.ambiguousScriptDifferentAst)try{return T.sourceType="script",Ur(T,He).parse()}catch{}else re.program.sourceType="script";return re}catch(H){try{return T.sourceType="script",Ur(T,He).parse()}catch{}throw H}},e.parseExpression=function(He,T){let I=Ur(T,He);return I.options.strictMode&&(I.state.strict=!0),I.getExpression()},e.tokTypes=Ns},"./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-proposal-decorators/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js"),c=l("./node_modules/.pnpm/@babel+plugin-syntax-decorators@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-syntax-decorators/lib/index.js"),p=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/index.js"),i=l("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js");e.default=(0,n.declare)(((o,h)=>{o.assertVersion(7);var{legacy:d}=h;let{version:f}=h;if(d||f==="legacy")return{name:"proposal-decorators",inherits:c.default,visitor:i.default};if(f&&f!=="2018-09"&&f!=="2021-12"&&f!=="2022-03"&&f!=="2023-01"&&f!=="2023-05"&&f!=="2023-11")throw new Error("The '.version' option must be one of 'legacy', '2023-11', '2023-05', '2023-01', '2022-03', or '2021-12'.");return o.assertVersion("^7.0.2"),(0,p.createClassFeaturePlugin)({name:"proposal-decorators",api:o,feature:p.FEATURES.decorators,inherits:c.default,decoratorVersion:f})}))},"./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js");let c=n.template.statement(`
|
|
DECORATOR(CLASS_REF = INNER) || CLASS_REF;
|
|
`),p=(0,n.template)(`
|
|
CLASS_REF.prototype;
|
|
`),i=(0,n.template)(`
|
|
Object.getOwnPropertyDescriptor(TARGET, PROPERTY);
|
|
`),o=(0,n.template)(`
|
|
(TEMP = Object.getOwnPropertyDescriptor(TARGET, PROPERTY), (TEMP = TEMP ? TEMP.value : undefined), {
|
|
enumerable: true,
|
|
configurable: true,
|
|
writable: true,
|
|
initializer: function(){
|
|
return TEMP;
|
|
}
|
|
})
|
|
`),h=new WeakSet;function d(v){let E=(v.isClass()?[v,...v.get("body.body")]:v.get("properties")).reduce(((S,_)=>S.concat(_.node.decorators||[])),[]).filter((S=>!n.types.isIdentifier(S.expression)));if(E.length!==0)return n.types.sequenceExpression(E.map((S=>{let _=S.expression,A=S.expression=v.scope.generateDeclaredUidIdentifier("dec");return n.types.assignmentExpression("=",A,_)})).concat([v.node]))}function f(v){var E;return!((E=v.decorators)==null||!E.length)}function b(v){return v.some((E=>{var S;return(S=E.decorators)==null?void 0:S.length}))}function m(v,E,S){let _=v.scope.generateDeclaredUidIdentifier(v.isClass()?"class":"obj"),A=S.reduce((function(L,j){let F=[];if(j.decorators!=null&&(F=j.decorators,j.decorators=null),F.length===0)return L;if(j.computed)throw v.buildCodeFrameError("Computed method/property decorators are not yet supported.");let k=n.types.isLiteral(j.key)?j.key:n.types.stringLiteral(j.key.name),U=v.isClass()&&!j.static?p({CLASS_REF:_}).expression:_;if(n.types.isClassProperty(j,{static:!1})){let z=v.scope.generateDeclaredUidIdentifier("descriptor"),C=j.value?n.types.functionExpression(null,[],n.types.blockStatement([n.types.returnStatement(j.value)])):n.types.nullLiteral();j.value=n.types.callExpression(E.addHelper("initializerWarningHelper"),[z,n.types.thisExpression()]),h.add(j.value),L.push(n.types.assignmentExpression("=",n.types.cloneNode(z),n.types.callExpression(E.addHelper("applyDecoratedDescriptor"),[n.types.cloneNode(U),n.types.cloneNode(k),n.types.arrayExpression(F.map((R=>n.types.cloneNode(R.expression)))),n.types.objectExpression([n.types.objectProperty(n.types.identifier("configurable"),n.types.booleanLiteral(!0)),n.types.objectProperty(n.types.identifier("enumerable"),n.types.booleanLiteral(!0)),n.types.objectProperty(n.types.identifier("writable"),n.types.booleanLiteral(!0)),n.types.objectProperty(n.types.identifier("initializer"),C)])])))}else L.push(n.types.callExpression(E.addHelper("applyDecoratedDescriptor"),[n.types.cloneNode(U),n.types.cloneNode(k),n.types.arrayExpression(F.map((z=>n.types.cloneNode(z.expression)))),n.types.isObjectProperty(j)||n.types.isClassProperty(j,{static:!0})?o({TEMP:v.scope.generateDeclaredUidIdentifier("init"),TARGET:n.types.cloneNode(U),PROPERTY:n.types.cloneNode(k)}).expression:i({TARGET:n.types.cloneNode(U),PROPERTY:n.types.cloneNode(k)}).expression,n.types.cloneNode(U)]));return L}),[]);return n.types.sequenceExpression([n.types.assignmentExpression("=",n.types.cloneNode(_),v.node),n.types.sequenceExpression(A),n.types.cloneNode(_)])}function y({node:v,scope:E}){if(!f(v)&&!b(v.body.body))return;let S=v.id?n.types.cloneNode(v.id):E.generateUidIdentifier("class");return n.types.variableDeclaration("let",[n.types.variableDeclarator(S,n.types.toExpression(v))])}let x={ExportDefaultDeclaration(v){let E=v.get("declaration");if(!E.isClassDeclaration())return;let S=y(E);if(S){let[_]=v.replaceWithMultiple([S,n.types.exportNamedDeclaration(null,[n.types.exportSpecifier(n.types.cloneNode(S.declarations[0].id),n.types.identifier("default"))])]);E.node.id||v.scope.registerDeclaration(_)}},ClassDeclaration(v){let E=y(v);if(E){let[S]=v.replaceWith(E),_=S.get("declarations.0"),A=_.node.id,L=v.scope.getOwnBinding(A.name);L.identifier=A,L.path=_}},ClassExpression(v,E){let S=d(v)||(function(_){if(!f(_.node))return;let A=_.node.decorators||[];_.node.decorators=null;let L=_.scope.generateDeclaredUidIdentifier("class");return A.map((j=>j.expression)).reverse().reduce((function(j,F){return c({CLASS_REF:n.types.cloneNode(L),DECORATOR:n.types.cloneNode(F),INNER:j}).expression}),_.node)})(v)||(function(_,A){if(b(_.node.body.body))return m(_,A,_.node.body.body)})(v,E);S&&v.replaceWith(S)},ObjectExpression(v,E){let S=d(v)||(function(_,A){if(b(_.node.properties))return m(_,A,_.node.properties.filter((L=>L.type!=="SpreadElement")))})(v,E);S&&v.replaceWith(S)},AssignmentExpression(v,E){h.has(v.node.right)&&v.replaceWith(n.types.callExpression(E.addHelper("initializerDefineProperty"),[n.types.cloneNode(v.get("left.object").node),n.types.stringLiteral(v.get("left.property").node.name||v.get("left.property").node.value),n.types.cloneNode(v.get("right.arguments")[0].node),n.types.cloneNode(v.get("right.arguments")[1].node)]))},CallExpression(v,E){v.node.arguments.length===3&&h.has(v.node.arguments[2])&&v.node.callee.name===E.addHelper("defineProperty").name&&v.replaceWith(n.types.callExpression(E.addHelper("initializerDefineProperty"),[n.types.cloneNode(v.get("arguments")[0].node),n.types.cloneNode(v.get("arguments")[1].node),n.types.cloneNode(v.get("arguments.2.arguments")[0].node),n.types.cloneNode(v.get("arguments.2.arguments")[1].node)]))}};e.default=x},"./node_modules/.pnpm/@babel+plugin-syntax-decorators@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-syntax-decorators/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js");e.default=(0,n.declare)(((c,p)=>{c.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");let{version:i}=p;{let{legacy:h}=p;if(h!==void 0){if(typeof h!="boolean")throw new Error(".legacy must be a boolean.");if(i!==void 0)throw new Error("You can either use the .legacy or the .version option, not both.")}if(i===void 0)i=h?"legacy":"2018-09";else if(i!=="2023-11"&&i!=="2023-05"&&i!=="2023-01"&&i!=="2022-03"&&i!=="2021-12"&&i!=="2018-09"&&i!=="legacy")throw new Error("Unsupported decorators version: "+i);var{decoratorsBeforeExport:o}=p;if(o===void 0){if(i==="2021-12"||i==="2022-03")o=!1;else if(i==="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(i==="legacy"||i==="2022-03"||i==="2023-01")throw new Error(`'decoratorsBeforeExport' can't be used with ${i} decorators.`);if(typeof o!="boolean")throw new Error("'decoratorsBeforeExport' must be a boolean.")}}return{name:"syntax-decorators",manipulateOptions({generatorOpts:h},d){i==="legacy"?d.plugins.push("decorators-legacy"):i==="2023-01"||i==="2023-05"||i==="2023-11"?d.plugins.push(["decorators",{allowCallParenthesized:!1}],"decoratorAutoAccessors"):i==="2022-03"?d.plugins.push(["decorators",{decoratorsBeforeExport:!1,allowCallParenthesized:!1}],"decoratorAutoAccessors"):i==="2021-12"?(d.plugins.push(["decorators",{decoratorsBeforeExport:o}],"decoratorAutoAccessors"),h.decoratorsBeforeExport=o):i==="2018-09"&&(d.plugins.push(["decorators",{decoratorsBeforeExport:o}]),h.decoratorsBeforeExport=o)}}}))},"./node_modules/.pnpm/@babel+plugin-syntax-import-assertions@7.26.0_@babel+core@7.26.0/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js");e.default=(0,n.declare)((c=>{c.assertVersion(7);let p=(o,h)=>h==="plugin"||Array.isArray(o)&&o[0]==="plugin",i=o=>Array.isArray(o)&&o.length>1?o[1]:{};return{name:"syntax-import-assertions",manipulateOptions(o,{plugins:h}){for(let d=0;d<h.length;d++){let f=h[d];if(p(f,"deprecatedImportAssert"))return;if(p(f,"importAttributes"))return void h.splice(d,1,"deprecatedImportAssert",["importAttributes",Object.assign({},i(f),{deprecatedAssertSyntax:!0})])}h.push("importAssertions")}}}))},"./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-syntax-jsx/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js");e.default=(0,n.declare)((c=>(c.assertVersion(7),{name:"syntax-jsx",manipulateOptions(p,i){i.plugins.some((o=>(Array.isArray(o)?o[0]:o)==="typescript"))||i.plugins.push("jsx")}})))},"./node_modules/.pnpm/@babel+plugin-syntax-typescript@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-syntax-typescript/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js"),c=function(p,i){let o=[];p.forEach(((h,d)=>{(Array.isArray(h)?h[0]:h)===i&&o.unshift(d)}));for(let h of o)p.splice(h,1)};e.default=(0,n.declare)(((p,i)=>{p.assertVersion(7);let{disallowAmbiguousJSXLike:o,dts:h}=i;var{isTSX:d}=i;return{name:"syntax-typescript",manipulateOptions(f,b){{let{plugins:m}=b;c(m,"flow"),c(m,"jsx"),m.push("objectRestSpread","classProperties"),d&&m.push("jsx")}b.plugins.push(["typescript",{disallowAmbiguousJSXLike:o,dts:h}])}}}))},"./node_modules/.pnpm/@babel+plugin-transform-export-namespace-from@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-transform-export-namespace-from/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js"),c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js");e.default=(0,n.declare)((p=>(p.assertVersion(7),{name:"transform-export-namespace-from",manipulateOptions:(i,o)=>o.plugins.push("exportNamespaceFrom"),visitor:{ExportNamedDeclaration(i){var o;let{node:h,scope:d}=i,{specifiers:f}=h,b=c.types.isExportDefaultSpecifier(f[0])?1:0;if(!c.types.isExportNamespaceSpecifier(f[b]))return;let m=[];b===1&&m.push(c.types.exportNamedDeclaration(null,[f.shift()],h.source));let y=f.shift(),{exported:x}=y,v=d.generateUidIdentifier((o=x.name)!=null?o:x.value);m.push(c.types.importDeclaration([c.types.importNamespaceSpecifier(v)],c.types.cloneNode(h.source)),c.types.exportNamedDeclaration(null,[c.types.exportSpecifier(c.types.cloneNode(v),x)])),h.specifiers.length>=1&&m.push(h);let[E]=i.replaceWithMultiple(m);i.scope.registerDeclaration(E)}}})))},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-modules-commonjs/lib/dynamic-import.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformDynamicImport=function(o,h,d){let f=h?p:i;o.replaceWith((0,c.buildDynamicImport)(o.node,!0,!1,(b=>f(b,d))))};var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),c=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/index.js");let p=o=>n.template.expression.ast`require(${o})`,i=(o,h)=>n.types.callExpression(h.addHelper("interopRequireWildcard"),[p(o)])},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-modules-commonjs/lib/hooks.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defineCommonJSHook=function(c,p){let i=c.get(l);i||c.set(l,i=[]),i.push(p)},e.makeInvokers=function(c){let p=c.get(l);return{getWrapperPayload:(...i)=>n(p,(o=>o.getWrapperPayload==null?void 0:o.getWrapperPayload(...i))),wrapReference:(...i)=>n(p,(o=>o.wrapReference==null?void 0:o.wrapReference(...i))),buildRequireWrapper:(...i)=>n(p,(o=>o.buildRequireWrapper==null?void 0:o.buildRequireWrapper(...i)))}};let l="@babel/plugin-transform-modules-commonjs/customWrapperPlugin";function n(c,p){if(c)for(let i of c){let o=p(i);if(o!=null)return o}}},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,Object.defineProperty(e,"defineCommonJSHook",{enumerable:!0,get:function(){return h.defineCommonJSHook}});var n=l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js"),c=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/index.js"),p=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),i=l("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-modules-commonjs/lib/dynamic-import.js"),o=l("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-modules-commonjs/lib/lazy.js"),h=l("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-modules-commonjs/lib/hooks.js");e.default=(0,n.declare)(((d,f)=>{var b,m,y;d.assertVersion(7);let{strictNamespace:x=!1,mjsStrictNamespace:v=x,allowTopLevelThis:E,strict:S,strictMode:_,noInterop:A,importInterop:L,lazy:j=!1,allowCommonJSExports:F=!0,loose:k=!1}=f,U=(b=d.assumption("constantReexports"))!=null?b:k,z=(m=d.assumption("enumerableModuleMeta"))!=null?m:k,C=(y=d.assumption("noIncompleteNsImportDetection"))!=null&&y;if(!(typeof j=="boolean"||typeof j=="function"||Array.isArray(j)&&j.every((V=>typeof V=="string"))))throw new Error(".lazy must be a boolean, array of strings, or a function");if(typeof x!="boolean")throw new Error(".strictNamespace must be a boolean, or undefined");if(typeof v!="boolean")throw new Error(".mjsStrictNamespace must be a boolean, or undefined");let R=V=>p.template.expression.ast`
|
|
(function(){
|
|
throw new Error(
|
|
"The CommonJS '" + "${V}" + "' variable is not available in ES6 modules." +
|
|
"Consider setting setting sourceType:script or sourceType:unambiguous in your " +
|
|
"Babel config for this file.");
|
|
})()
|
|
`,G={ReferencedIdentifier(V){let B=V.node.name;if(B!=="module"&&B!=="exports")return;let q=V.scope.getBinding(B);this.scope.getBinding(B)!==q||V.parentPath.isObjectProperty({value:V.node})&&V.parentPath.parentPath.isObjectPattern()||V.parentPath.isAssignmentExpression({left:V.node})||V.isAssignmentExpression({left:V.node})||V.replaceWith(R(B))},UpdateExpression(V){let B=V.get("argument");if(!B.isIdentifier())return;let q=B.node.name;if(q!=="module"&&q!=="exports")return;let K=V.scope.getBinding(q);this.scope.getBinding(q)===K&&V.replaceWith(p.types.assignmentExpression(V.node.operator[0]+"=",B.node,R(q)))},AssignmentExpression(V){let B=V.get("left");if(B.isIdentifier()){let q=B.node.name;if(q!=="module"&&q!=="exports")return;let K=V.scope.getBinding(q);if(this.scope.getBinding(q)!==K)return;let $=V.get("right");$.replaceWith(p.types.sequenceExpression([$.node,R(q)]))}else if(B.isPattern()){let q=B.getOuterBindingIdentifiers(),K=Object.keys(q).find(($=>($==="module"||$==="exports")&&this.scope.getBinding($)===V.scope.getBinding($)));if(K){let $=V.get("right");$.replaceWith(p.types.sequenceExpression([$.node,R(K)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs"),j&&(0,h.defineCommonJSHook)(this.file,(0,o.lazyImportsHook)(j))},visitor:{["CallExpression"+(d.types.importExpression?"|ImportExpression":"")](V){if(!this.file.has("@babel/plugin-proposal-dynamic-import")||V.isCallExpression()&&!p.types.isImport(V.node.callee))return;let{scope:B}=V;do B.rename("require");while(B=B.parent);(0,i.transformDynamicImport)(V,A,this.file)},Program:{exit(V,B){if(!(0,c.isModule)(V))return;V.scope.rename("exports"),V.scope.rename("module"),V.scope.rename("require"),V.scope.rename("__filename"),V.scope.rename("__dirname"),F||V.traverse(G,{scope:V.scope});let q=(0,c.getModuleName)(this.file.opts,f);q&&(q=p.types.stringLiteral(q));let K=(0,h.makeInvokers)(this.file),{meta:$,headers:W}=(0,c.rewriteModuleStatementsAndPrepareHeader)(V,{exportName:"exports",constantReexports:U,enumerableModuleMeta:z,strict:S,strictMode:_,allowTopLevelThis:E,noInterop:A,importInterop:L,wrapReference:K.wrapReference,getWrapperPayload:K.getWrapperPayload,esNamespaceOnly:typeof B.filename=="string"&&/\.mjs$/.test(B.filename)?v:x,noIncompleteNsImportDetection:C,filename:this.file.opts.filename});for(let[Z,Q]of $.source){let X=p.types.callExpression(p.types.identifier("require"),[p.types.stringLiteral(Z)]),ie;if((0,c.isSideEffectImport)(Q)){if(j&&Q.wrap==="function")throw new Error("Assertion failure");ie=p.types.expressionStatement(X)}else{let oe=(0,c.wrapInterop)(V,X,Q.interop)||X;if(Q.wrap){let be=K.buildRequireWrapper(Q.name,oe,Q.wrap,Q.referenced);if(be===!1)continue;ie=be}ie!=null||(ie=p.template.statement.ast`
|
|
var ${Q.name} = ${oe};
|
|
`)}ie.loc=Q.loc,W.push(ie),W.push(...(0,c.buildNamespaceInitStatements)($,Q,U,K.wrapReference))}(0,c.ensureStatementsHoisted)(W),V.unshiftContainer("body",W),V.get("body").forEach((Z=>{W.includes(Z.node)&&Z.isVariableDeclaration()&&Z.scope.registerDeclaration(Z)}))}}}}}))},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-modules-commonjs/lib/lazy.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.lazyImportsHook=void 0;var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),c=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.26.0_@babel+core@7.26.0/node_modules/@babel/helper-module-transforms/lib/index.js");e.lazyImportsHook=p=>({name:"@babel/plugin-transform-modules-commonjs/lazy",version:"7.26.3",getWrapperPayload:(i,o)=>(0,c.isSideEffectImport)(o)||o.reexportAll?null:p===!0?i.includes(".")?null:"lazy/function":Array.isArray(p)?p.includes(i)?"lazy/function":null:typeof p=="function"?p(i)?"lazy/function":null:void 0,buildRequireWrapper(i,o,h,d){if(h==="lazy/function")return!!d&&n.template.statement.ast`
|
|
function ${i}() {
|
|
const data = ${o};
|
|
${i} = function(){ return data; };
|
|
return data;
|
|
}
|
|
`},wrapReference(i,o){if(o==="lazy/function")return n.types.callExpression(i,[])}})},"./node_modules/.pnpm/@babel+plugin-transform-nullish-coalescing-operator@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js"),c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js");e.default=(0,n.declare)(((p,{loose:i=!1})=>{var o;p.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");let h=(o=p.assumption("noDocumentAll"))!=null?o:i;return{name:"transform-nullish-coalescing-operator",manipulateOptions:(d,f)=>f.plugins.push("nullishCoalescingOperator"),visitor:{LogicalExpression(d){let{node:f,scope:b}=d;if(f.operator!=="??")return;let m,y;if(b.isStatic(f.left))m=f.left,y=c.types.cloneNode(f.left);else{if(b.path.isPattern())return void d.replaceWith(c.template.statement.ast`(() => ${d.node})()`);m=b.generateUidIdentifierBasedOnNode(f.left),b.push({id:c.types.cloneNode(m)}),y=c.types.assignmentExpression("=",m,f.left)}d.replaceWith(c.types.conditionalExpression(h?c.types.binaryExpression("!=",y,c.types.nullLiteral()):c.types.logicalExpression("&&",c.types.binaryExpression("!==",y,c.types.nullLiteral()),c.types.binaryExpression("!==",c.types.cloneNode(m),b.buildUndefinedNode())),c.types.cloneNode(m),f.right))}}}}))},"./node_modules/.pnpm/@babel+plugin-transform-optional-chaining@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-transform-optional-chaining/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js"),c=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),p=l("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.25.9/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js");function i(E){let S=o(E),{node:_,parentPath:A}=S;if(A.isLogicalExpression()){let{operator:L,right:j}=A.node;if(L==="&&"||L==="||"||L==="??"&&_===j)return i(A)}if(A.isSequenceExpression()){let{expressions:L}=A.node;return L[L.length-1]!==_||i(A)}return A.isConditional({test:_})||A.isUnaryExpression({operator:"!"})||A.isLoop({test:_})}function o(E){let S=E;return E.findParent((_=>{if(!p.isTransparentExprWrapper(_.node))return!0;S=_})),S}function h(E){return E=p.skipTransparentExprWrapperNodes(E),c.types.isIdentifier(E)||c.types.isSuper(E)||c.types.isMemberExpression(E)&&!E.computed&&h(E.object)}let d=c.template.expression("%%check%% === null || %%ref%% === void 0"),f=c.template.expression("%%check%% == null"),b=c.template.expression("%%check%% !== null && %%ref%% !== void 0"),m=c.template.expression("%%check%% != null");function y(E,{pureGetters:S,noDocumentAll:_},A,L,j){let{scope:F}=E;if(F.path.isPattern()&&(function(Q){let X=Q,{scope:ie}=Q;for(;X.isOptionalMemberExpression()||X.isOptionalCallExpression();){let{node:oe}=X,be=p.skipTransparentExprWrappers(X.isOptionalMemberExpression()?X.get("object"):X.get("callee"));if(oe.optional)return!ie.isStatic(be.node);X=be}})(E))return void A.replaceWith(c.template.expression.ast`(() => ${A.node})()`);let k=[],U=E;for(;U.isOptionalMemberExpression()||U.isOptionalCallExpression();){let{node:Q}=U;Q.optional&&k.push(Q),U.isOptionalMemberExpression()?(U.node.type="MemberExpression",U=p.skipTransparentExprWrappers(U.get("object"))):U.isOptionalCallExpression()&&(U.node.type="CallExpression",U=p.skipTransparentExprWrappers(U.get("callee")))}if(k.length===0)return;let z=[],C;for(let Q=k.length-1;Q>=0;Q--){let X=k[Q],ie=c.types.isCallExpression(X),oe=ie?X.callee:X.object,be=p.skipTransparentExprWrapperNodes(oe),Ne,Pe;if(ie&&c.types.isIdentifier(be,{name:"eval"})?(Pe=Ne=be,X.callee=c.types.sequenceExpression([c.types.numericLiteral(0),Ne])):S&&ie&&h(be)?Pe=Ne=X.callee:F.isStatic(be)?Pe=Ne=oe:(C&&!ie||(C=F.generateUidIdentifierBasedOnNode(be),F.push({id:c.types.cloneNode(C)})),Ne=C,Pe=c.types.assignmentExpression("=",c.types.cloneNode(C),oe),ie?X.callee=Ne:X.object=Ne),ie&&c.types.isMemberExpression(be))if(S&&h(be))X.callee=oe;else{let{object:We}=be,Oe;if(c.types.isSuper(We))Oe=c.types.thisExpression();else{let de=F.maybeGenerateMemoised(We);de?(Oe=de,be.object=c.types.assignmentExpression("=",de,We)):Oe=We}X.arguments.unshift(c.types.cloneNode(Oe)),X.callee=c.types.memberExpression(X.callee,c.types.identifier("call"))}let Ke={check:c.types.cloneNode(Pe),ref:c.types.cloneNode(Ne)};Object.defineProperty(Ke,"ref",{enumerable:!1}),z.push(Ke)}let R=A.node;j&&(R=j(R));let G=c.types.isBooleanLiteral(L),V=G&&L.value===!1,B=!G&&c.types.isUnaryExpression(L,{operator:"void"}),q=c.types.isExpressionStatement(A.parent)&&!A.isCompletionRecord()||c.types.isSequenceExpression(A.parent)&&(K=A.parent.expressions)[K.length-1]!==A.node;var K;let $=V?_?m:b:_?f:d,W=V?"&&":"||",Z=z.map($).reduce(((Q,X)=>c.types.logicalExpression(W,Q,X)));A.replaceWith(G||B&&q?c.types.logicalExpression(W,Z,R):c.types.conditionalExpression(Z,L,R))}function x(E,S){let{scope:_}=E,A=o(E),{parentPath:L}=A;if(L.isUnaryExpression({operator:"delete"}))y(E,S,L,c.types.booleanLiteral(!0));else{let j;L.isCallExpression({callee:A.node})&&E.isOptionalMemberExpression()&&(j=F=>{var k;let U=p.skipTransparentExprWrapperNodes(F.object),z;return S.pureGetters&&h(U)||(z=_.maybeGenerateMemoised(U),z&&(F.object=c.types.assignmentExpression("=",z,U))),c.types.callExpression(c.types.memberExpression(F,c.types.identifier("bind")),[c.types.cloneNode((k=z)!=null?k:U)])}),y(E,S,E,i(A)?c.types.booleanLiteral(!1):_.buildUndefinedNode(),j)}}var v=n.declare(((E,S)=>{var _,A;E.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");let{loose:L=!1}=S,j=(_=E.assumption("noDocumentAll"))!=null?_:L,F=(A=E.assumption("pureGetters"))!=null?A:L;return{name:"transform-optional-chaining",manipulateOptions:(k,U)=>U.plugins.push("optionalChaining"),visitor:{"OptionalCallExpression|OptionalMemberExpression"(k){x(k,{noDocumentAll:j,pureGetters:F})}}}}));e.default=v,e.transform=x,e.transformOptionalChain=y},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c,p){let{name:i}=c.node.id,o=c.parentPath.isExportNamedDeclaration(),h=o;!h&&p.isProgram(c.parent)&&(h=c.parent.body.some((b=>p.isExportNamedDeclaration(b)&&b.exportKind!=="type"&&!b.source&&b.specifiers.some((m=>p.isExportSpecifier(m)&&m.exportKind!=="type"&&m.local.name===i)))));let{enumValues:d}=(0,n.translateEnumValues)(c,p);if(h){let b=p.objectExpression(d.map((([m,y])=>p.objectProperty(p.isValidIdentifier(m)?p.identifier(m):p.stringLiteral(m),y))));return void(c.scope.hasOwnBinding(i)?(o?c.parentPath:c).replaceWith(p.expressionStatement(p.callExpression(p.memberExpression(p.identifier("Object"),p.identifier("assign")),[c.node.id,b]))):(c.replaceWith(p.variableDeclaration("var",[p.variableDeclarator(c.node.id,b)])),c.scope.registerDeclaration(c)))}let f=new Map(d);c.scope.path.traverse({Scope(b){b.scope.hasOwnBinding(i)&&b.skip()},MemberExpression(b){if(!p.isIdentifier(b.node.object,{name:i}))return;let m;if(b.node.computed){if(!p.isStringLiteral(b.node.property))return;m=b.node.property.value}else{if(!p.isIdentifier(b.node.property))return;m=b.node.property.name}f.has(m)&&b.replaceWith(p.cloneNode(f.get(m)))}}),c.remove()};var n=l("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-typescript/lib/enum.js")},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-typescript/lib/enum.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(S,_){let{node:A,parentPath:L}=S;if(A.declare)return void S.remove();let j=A.id.name,{fill:F,data:k,isPure:U}=(function(z,C,R){let{enumValues:G,data:V,isPure:B}=v(z,C),q=G.map((([K,$])=>b(m($),{ENUM:C.cloneNode(R),NAME:K,VALUE:$})));return{fill:{ID:C.cloneNode(R),ASSIGNMENTS:q},data:V,isPure:B}})(S,_,A.id);switch(L.type){case"BlockStatement":case"ExportNamedDeclaration":case"Program":{let z=_.isProgram(S.parent),C=(function V(B){return B.isExportDeclaration()?V(B.parentPath):!!B.getData(j)||(B.setData(j,!0),!1)})(L),R=_.objectExpression([]);(C||z)&&(R=_.logicalExpression("||",_.cloneNode(F.ID),R));let G=h(Object.assign({},F,{INIT:R}));U&&(0,p.default)(G),C?(L.isExportDeclaration()?L:S).replaceWith(_.expressionStatement(_.assignmentExpression("=",_.cloneNode(A.id),G))):S.scope.registerDeclaration(S.replaceWith(_.variableDeclaration(z?"var":"let",[_.variableDeclarator(A.id,G)]))[0]),o.set(S.scope.getBindingIdentifier(j),k);break}default:throw new Error(`Unexpected enum parent '${S.parent.type}`)}},e.isSyntacticallyString=m,e.translateEnumValues=v;var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),c=l("assert"),p=l("./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.25.9/node_modules/@babel/helper-annotate-as-pure/lib/index.js"),i=l("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.25.9/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js");let o=new WeakMap,h=n.template.expression(`
|
|
(function (ID) {
|
|
ASSIGNMENTS;
|
|
return ID;
|
|
})(INIT)
|
|
`),d=(0,n.template)(`
|
|
ENUM["NAME"] = VALUE;
|
|
`),f=(0,n.template)(`
|
|
ENUM[ENUM["NAME"] = VALUE] = "NAME";
|
|
`),b=(S,_)=>(S?d:f)(_);function m(S){switch((S=(0,i.skipTransparentExprWrapperNodes)(S)).type){case"BinaryExpression":{let _=S.left,A=S.right;return S.operator==="+"&&(m(_)||m(A))}case"TemplateLiteral":case"StringLiteral":return!0}return!1}function y(S,_){let{seen:A,path:L,t:j}=_,F=S.node.name;A.has(F)&&!S.scope.hasOwnBinding(F)&&(S.replaceWith(j.memberExpression(j.cloneNode(L.node.id),j.cloneNode(S.node))),S.skip())}let x={ReferencedIdentifier:y};function v(S,_){var A;let L=S.scope.getBindingIdentifier(S.node.id.name),j=(A=o.get(L))!=null?A:new Map,F,k=-1,U=!0,z=S.get("members").map((C=>{let R=C.node,G=_.isIdentifier(R.id)?R.id.name:R.id.value,V=C.get("initializer"),B;if(R.initializer)k=E(V,j),k!==void 0?(j.set(G,k),c(typeof k=="number"||typeof k=="string"),B=k===1/0||Number.isNaN(k)?_.identifier(String(k)):k===-1/0?_.unaryExpression("-",_.identifier("Infinity")):_.valueToNode(k)):(U&&(U=V.isPure()),V.isReferencedIdentifier()?y(V,{t:_,seen:j,path:S}):V.traverse(x,{t:_,seen:j,path:S}),B=V.node,j.set(G,void 0));else if(typeof k=="number")k+=1,B=_.numericLiteral(k),j.set(G,k);else{if(typeof k=="string")throw S.buildCodeFrameError("Enum member must have initializer.");{let q=_.memberExpression(_.cloneNode(S.node.id),_.stringLiteral(F),!0);B=_.binaryExpression("+",_.numericLiteral(1),q),j.set(G,void 0)}}return F=G,[G,B]}));return{isPure:U,data:j,enumValues:z}}function E(S,_,A=new Set){return L(S);function L(F){let k=F.node;switch(k.type){case"MemberExpression":case"Identifier":return j(F,_,A);case"StringLiteral":case"NumericLiteral":return k.value;case"UnaryExpression":return(function(U){let z=L(U.get("argument"));if(z!==void 0)switch(U.node.operator){case"+":return z;case"-":return-z;case"~":return~z;default:return}})(F);case"BinaryExpression":return(function(U){let z=L(U.get("left"));if(z===void 0)return;let C=L(U.get("right"));if(C!==void 0)switch(U.node.operator){case"|":return z|C;case"&":return z&C;case">>":return z>>C;case">>>":return z>>>C;case"<<":return z<<C;case"^":return z^C;case"*":return z*C;case"/":return z/C;case"+":return z+C;case"-":return z-C;case"%":return z%C;case"**":return Math.pow(z,C);default:return}})(F);case"ParenthesizedExpression":return L(F.get("expression"));case"TemplateLiteral":{if(k.quasis.length===1)return k.quasis[0].value.cooked;let U=F.get("expressions"),z=k.quasis,C="";for(let R=0;R<z.length;R++)if(C+=z[R].value.cooked,R+1<z.length){let G=j(U[R],_,A);if(G===void 0)return;C+=G}return C}default:return}}function j(F,k,U){if(F.isMemberExpression()){let z=F.node,C=z.object,R=z.property;if(!n.types.isIdentifier(C)||(z.computed?!n.types.isStringLiteral(R):!n.types.isIdentifier(R)))return;let G=F.scope.getBindingIdentifier(C.name),V=o.get(G);return V?V.get(R.computed?R.value:R.name):void 0}if(F.isIdentifier()){let z=F.node.name;if(["Infinity","NaN"].includes(z))return Number(z);let C=k==null?void 0:k.get(z);return C!==void 0?C:U.has(F.node)?void 0:(U.add(F.node),C=E(F.resolve(),k,U),k==null||k.set(z,C),C)}}}},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-typescript/lib/global-types.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GLOBAL_TYPES=void 0,e.isGlobalType=function({scope:n},c){return!n.hasBinding(c)&&(!!l.get(n).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))},e.registerGlobalType=function(n,c){l.get(n).add(c)};let l=e.GLOBAL_TYPES=new WeakMap},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-typescript/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js"),c=l("./node_modules/.pnpm/@babel+plugin-syntax-typescript@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-syntax-typescript/lib/index.js"),p=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.25.9_@babel+core@7.26.0/node_modules/@babel/helper-create-class-features-plugin/lib/index.js"),i=l("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js"),o=l("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-typescript/lib/enum.js"),h=l("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-typescript/lib/global-types.js"),d=l("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-typescript/lib/namespace.js");function f(v){switch(v.parent.type){case"TSTypeReference":case"TSExpressionWithTypeArguments":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;case"TSQualifiedName":return v.parentPath.findParent((E=>E.type!=="TSQualifiedName")).type!=="TSImportEqualsDeclaration";case"ExportSpecifier":return v.parent.exportKind==="type"||v.parentPath.parent.exportKind==="type";default:return!1}}let b=new WeakMap,m=new WeakSet;function y(v){let E=v.getBindingIdentifiers();for(let S of Object.keys(E)){let _=v.scope.getBinding(S);_&&_.identifier===E[S]&&_.scope.removeBinding(S)}v.opts.noScope=!0,v.remove(),v.opts.noScope=!1}function x(v,E,S,_,A=""){if(E.file.get("@babel/plugin-transform-modules-*")!=="commonjs")throw v.buildCodeFrameError(`\`${S}\` is only supported when compiling modules to CommonJS.
|
|
Please consider using \`${_}\`${A}, or add @babel/plugin-transform-modules-commonjs to your Babel config.`)}e.default=(0,n.declare)(((v,E)=>{let{types:S,template:_}=v;v.assertVersion(7);let A=/\*?\s*@jsx((?:Frag)?)\s+(\S+)/,{allowNamespaces:L=!0,jsxPragma:j="React.createElement",jsxPragmaFrag:F="React.Fragment",onlyRemoveTypeImports:k=!1,optimizeConstEnums:U=!1}=E;var{allowDeclareFields:z=!1}=E;let C={field(B){let{node:q}=B;if(!z&&q.declare)throw B.buildCodeFrameError("The 'declare' modifier is only allowed when the 'allowDeclareFields' option of @babel/plugin-transform-typescript or @babel/preset-typescript is enabled.");if(q.declare){if(q.value)throw B.buildCodeFrameError("Fields with the 'declare' modifier cannot be initialized here, but only in the constructor");q.decorators||B.remove()}else if(q.definite){if(q.value)throw B.buildCodeFrameError("Definitely assigned fields cannot be initialized here, but only in the constructor");z||q.decorators||S.isClassPrivateProperty(q)||B.remove()}else q.abstract?B.remove():z||q.value||q.decorators||S.isClassPrivateProperty(q)||B.remove();q.accessibility&&(q.accessibility=null),q.abstract&&(q.abstract=null),q.readonly&&(q.readonly=null),q.optional&&(q.optional=null),q.typeAnnotation&&(q.typeAnnotation=null),q.definite&&(q.definite=null),q.declare&&(q.declare=null),q.override&&(q.override=null)},method({node:B}){B.accessibility&&(B.accessibility=null),B.abstract&&(B.abstract=null),B.optional&&(B.optional=null),B.override&&(B.override=null)},constructor(B,q){B.node.accessibility&&(B.node.accessibility=null);let K=[],{scope:$}=B;for(let W of B.get("params")){let Z=W.node;if(Z.type==="TSParameterProperty"){let Q=Z.parameter;if(m.has(Q))continue;let X;if(m.add(Q),S.isIdentifier(Q))X=Q;else{if(!S.isAssignmentPattern(Q)||!S.isIdentifier(Q.left))throw W.buildCodeFrameError("Parameter properties can not be destructuring patterns.");X=Q.left}K.push(_.statement.ast`
|
|
this.${S.cloneNode(X)} = ${S.cloneNode(X)}
|
|
`),W.replaceWith(W.get("parameter")),$.registerBinding("param",W)}}(0,p.injectInitialization)(q,B,K)}};return{name:"transform-typescript",inherits:c.default,visitor:{Pattern:G,Identifier:G,RestElement:G,Program:{enter(B,q){let{file:K}=q,$=null,W=null,Z=B.scope;if(h.GLOBAL_TYPES.has(Z)||h.GLOBAL_TYPES.set(Z,new Set),K.ast.comments)for(let ie of K.ast.comments){let oe=A.exec(ie.value);oe&&(oe[1]?W=oe[2]:$=oe[2])}let Q=$||j;Q&&([Q]=Q.split("."));let X=W||F;X&&([X]=X.split("."));for(let ie of B.get("body"))if(ie.isImportDeclaration()){if(b.has(q.file.ast.program)||b.set(q.file.ast.program,!0),ie.node.importKind==="type"){for(let Pe of ie.node.specifiers)(0,h.registerGlobalType)(Z,Pe.local.name);ie.remove();continue}let oe=new Set,be=ie.node.specifiers.length,Ne=()=>be>0&&be===oe.size;for(let Pe of ie.node.specifiers)if(Pe.type==="ImportSpecifier"&&Pe.importKind==="type"){(0,h.registerGlobalType)(Z,Pe.local.name);let Ke=ie.scope.getBinding(Pe.local.name);Ke&&oe.add(Ke.path)}if(k)b.set(B.node,!1);else{if(ie.node.specifiers.length===0){b.set(B.node,!1);continue}for(let Pe of ie.node.specifiers){let Ke=ie.scope.getBinding(Pe.local.name);Ke&&!oe.has(Ke.path)&&(V({binding:Ke,programPath:B,pragmaImportName:Q,pragmaFragImportName:X})?oe.add(Ke.path):b.set(B.node,!1))}}if(Ne()&&!k)ie.remove();else for(let Pe of oe)Pe.remove()}else if(ie.isExportDeclaration()&&(ie=ie.get("declaration")),ie.isVariableDeclaration({declare:!0}))for(let oe of Object.keys(ie.getBindingIdentifiers()))(0,h.registerGlobalType)(Z,oe);else(ie.isTSTypeAliasDeclaration()||ie.isTSDeclareFunction()&&ie.get("id").isIdentifier()||ie.isTSInterfaceDeclaration()||ie.isClassDeclaration({declare:!0})||ie.isTSEnumDeclaration({declare:!0})||ie.isTSModuleDeclaration({declare:!0})&&ie.get("id").isIdentifier())&&(0,h.registerGlobalType)(Z,ie.node.id.name)},exit(B){B.node.sourceType==="module"&&b.get(B.node)&&B.pushContainer("body",S.exportNamedDeclaration())}},ExportNamedDeclaration(B,q){if(b.has(q.file.ast.program)||b.set(q.file.ast.program,!0),B.node.exportKind!=="type")if(B.node.source&&B.node.specifiers.length>0&&B.node.specifiers.every((K=>K.type==="ExportSpecifier"&&K.exportKind==="type")))B.remove();else if(!B.node.source&&B.node.specifiers.length>0&&B.node.specifiers.every((K=>S.isExportSpecifier(K)&&(0,h.isGlobalType)(B,K.local.name))))B.remove();else{if(S.isTSModuleDeclaration(B.node.declaration)){let K=B.node.declaration;if(!S.isStringLiteral(K.id)){let $=(0,d.getFirstIdentifier)(K.id);if(B.scope.hasOwnBinding($.name))B.replaceWith(K);else{let[W]=B.replaceWithMultiple([S.exportNamedDeclaration(S.variableDeclaration("let",[S.variableDeclarator(S.cloneNode($))])),K]);B.scope.registerDeclaration(W)}}}b.set(q.file.ast.program,!1)}else B.remove()},ExportAllDeclaration(B){B.node.exportKind==="type"&&B.remove()},ExportSpecifier(B){(!B.parent.source&&(0,h.isGlobalType)(B,B.node.local.name)||B.node.exportKind==="type")&&B.remove()},ExportDefaultDeclaration(B,q){b.has(q.file.ast.program)||b.set(q.file.ast.program,!0),S.isIdentifier(B.node.declaration)&&(0,h.isGlobalType)(B,B.node.declaration.name)?B.remove():b.set(q.file.ast.program,!1)},TSDeclareFunction(B){y(B)},TSDeclareMethod(B){y(B)},VariableDeclaration(B){B.node.declare&&y(B)},VariableDeclarator({node:B}){B.definite&&(B.definite=null)},TSIndexSignature(B){B.remove()},ClassDeclaration(B){let{node:q}=B;q.declare&&y(B)},Class(B){let{node:q}=B;q.typeParameters&&(q.typeParameters=null),q.superTypeParameters&&(q.superTypeParameters=null),q.implements&&(q.implements=null),q.abstract&&(q.abstract=null),B.get("body.body").forEach((K=>{K.isClassMethod()||K.isClassPrivateMethod()?K.node.kind==="constructor"?C.constructor(K,B):C.method(K):(K.isClassProperty()||K.isClassPrivateProperty()||K.isClassAccessorProperty())&&C.field(K)}))},Function(B){let{node:q}=B;q.typeParameters&&(q.typeParameters=null),q.returnType&&(q.returnType=null);let K=q.params;K.length>0&&S.isIdentifier(K[0],{name:"this"})&&K.shift()},TSModuleDeclaration(B){(0,d.default)(B,L)},TSInterfaceDeclaration(B){B.remove()},TSTypeAliasDeclaration(B){B.remove()},TSEnumDeclaration(B){U&&B.node.const?(0,i.default)(B,S):(0,o.default)(B,S)},TSImportEqualsDeclaration(B,q){let{id:K,moduleReference:$,isExport:W}=B.node,Z,Q;S.isTSExternalModuleReference($)?(x(B,q,`import ${K.name} = require(...);`,`import ${K.name} from '...';`," alongside Typescript's --allowSyntheticDefaultImports option"),Z=S.callExpression(S.identifier("require"),[$.expression]),Q="const"):(Z=R($),Q="var");let X=S.variableDeclaration(Q,[S.variableDeclarator(K,Z)]);B.replaceWith(W?S.exportNamedDeclaration(X):X),B.scope.registerDeclaration(B)},TSExportAssignment(B,q){x(B,q,"export = <value>;","export default <value>;"),B.replaceWith(_.statement.ast`module.exports = ${B.node.expression}`)},TSTypeAssertion(B){B.replaceWith(B.node.expression)},["TSAsExpression"+(S.tsSatisfiesExpression?"|TSSatisfiesExpression":"")](B){let{node:q}=B;do q=q.expression;while(S.isTSAsExpression(q)||S.isTSSatisfiesExpression!=null&&S.isTSSatisfiesExpression(q));B.replaceWith(q)},[v.types.tsInstantiationExpression?"TSNonNullExpression|TSInstantiationExpression":"TSNonNullExpression"](B){B.replaceWith(B.node.expression)},CallExpression(B){B.node.typeParameters=null},OptionalCallExpression(B){B.node.typeParameters=null},NewExpression(B){B.node.typeParameters=null},JSXOpeningElement(B){B.node.typeParameters=null},TaggedTemplateExpression(B){B.node.typeParameters=null}}};function R(B){return S.isTSQualifiedName(B)?S.memberExpression(R(B.left),B.right):B}function G({node:B}){B.typeAnnotation&&(B.typeAnnotation=null),S.isIdentifier(B)&&B.optional&&(B.optional=null)}function V({binding:B,programPath:q,pragmaImportName:K,pragmaFragImportName:$}){for(let Z of B.referencePaths)if(!f(Z))return!1;if(B.identifier.name!==K&&B.identifier.name!==$)return!0;let W=!1;return q.traverse({"JSXElement|JSXFragment"(Z){W=!0,Z.stop()}}),!W}}))},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-typescript/lib/namespace.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(b,m){if(b.node.declare||b.node.id.type==="StringLiteral")return void b.remove();if(!m)throw b.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(b.node.id).name,x=f(b,b.node);if(x===null){let v=b.findParent((E=>E.isProgram()));(0,c.registerGlobalType)(v.scope,y),b.remove()}else b.scope.hasOwnBinding(y)?b.replaceWith(x):b.scope.registerDeclaration(b.replaceWithMultiple([i(y),x])[0])},e.getFirstIdentifier=p;var n=l("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),c=l("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-typescript/lib/global-types.js");function p(b){return n.types.isIdentifier(b)?b:p(b.left)}function i(b){return n.types.variableDeclaration("let",[n.types.variableDeclarator(n.types.identifier(b))])}function o(b,m){return n.types.memberExpression(n.types.identifier(b),n.types.identifier(m))}function h(b,m,y){if(b.kind!=="const")throw y.file.buildCodeFrameError(b,"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:x}=b;if(x.every((S=>n.types.isIdentifier(S.id)))){for(let S of x)S.init=n.types.assignmentExpression("=",o(m,S.id.name),S.init);return[b]}let v=n.types.getBindingIdentifiers(b),E=[];for(let S in v)E.push(n.types.assignmentExpression("=",o(m,S),n.types.cloneNode(v[S])));return[b,n.types.expressionStatement(n.types.sequenceExpression(E))]}function d(b,m){return b.hub.buildError(m,"Ambient modules cannot be nested in other modules or namespaces.",Error)}function f(b,m,y){let x=new Set,v=m.id,E=b.scope.generateUid(v.name),S=m.body,_;m.id,_=n.types.isTSModuleBlock(S)?S.body:[n.types.exportNamedDeclaration(S)];let A=!0;for(let j=0;j<_.length;j++){let F=_[j];switch(F.type){case"TSModuleDeclaration":{if(!n.types.isIdentifier(F.id))throw d(b,F);let k=f(b,F);if(k!==null){A=!1;let U=F.id.name;x.has(U)?_[j]=k:(x.add(U),_.splice(j++,1,i(U),k))}continue}case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":A=!1,x.add(F.id.name);continue;case"VariableDeclaration":A=!1;for(let k in n.types.getBindingIdentifiers(F))x.add(k);continue;default:A&&(A=n.types.isTypeScript(F));continue;case"ExportNamedDeclaration":}if(!("declare"in F.declaration)||!F.declaration.declare)switch(F.declaration.type){case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":{A=!1;let k=F.declaration.id.name;x.add(k),_.splice(j++,1,F.declaration,n.types.expressionStatement(n.types.assignmentExpression("=",o(E,k),n.types.identifier(k))));break}case"VariableDeclaration":{A=!1;let k=h(F.declaration,E,b.hub);_.splice(j,k.length,...k),j+=k.length-1;break}case"TSModuleDeclaration":{if(!n.types.isIdentifier(F.declaration.id))throw d(b,F.declaration);let k=f(b,F.declaration,n.types.identifier(E));if(k!==null){A=!1;let U=F.declaration.id.name;x.has(U)?_[j]=k:(x.add(U),_.splice(j++,1,i(U),k))}else _.splice(j,1),j--}}}if(A)return null;let L=n.types.objectExpression([]);if(y){let j=n.types.memberExpression(y,v);L=n.template.expression.ast`
|
|
${n.types.cloneNode(j)} ||
|
|
(${n.types.cloneNode(j)} = ${L})
|
|
`}return n.template.statement.ast`
|
|
(function (${n.types.identifier(E)}) {
|
|
${_}
|
|
})(${v} || (${n.types.cloneNode(v)} = ${L}));
|
|
`}},"./node_modules/.pnpm/@babel+preset-typescript@7.26.0_@babel+core@7.26.0/node_modules/@babel/preset-typescript/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.25.9/node_modules/@babel/helper-plugin-utils/lib/index.js"),c=l("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-typescript/lib/index.js");l("./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-syntax-jsx/lib/index.js");var p=l("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js"),i=l("./node_modules/.pnpm/@babel+helper-validator-option@7.25.9/node_modules/@babel/helper-validator-option/lib/index.js");function o(y){return y&&y.__esModule?y:{default:y}}var h=o(c),d=o(p);let f=new i.OptionValidator("@babel/preset-typescript");var b=n.declare((function({types:y,template:x}){function v(E,S){E&&(y.isStringLiteral(E)?/[\\/]/.test(E.value)&&(E.value=E.value.replace(/(\.[mc]?)ts$/,"$1js").replace(/\.tsx$/,".js")):S.replaceWith(x.expression.ast`(${E} + "").replace(/([\\/].*\.[mc]?)tsx?$/, "$1js")`))}return{name:"preset-typescript/plugin-rewrite-ts-imports",visitor:{"ImportDeclaration|ExportAllDeclaration|ExportNamedDeclaration"(E){let S=E.node;(y.isImportDeclaration(S)?S.importKind:S.exportKind)==="value"&&v(S.source,E.get("source"))},CallExpression(E){y.isImport(E.node.callee)&&v(E.node.arguments[0],E.get("arguments.0"))},ImportExpression(E){v(E.node.source,E.get("source"))}}}})),m=n.declarePreset(((y,x)=>{y.assertVersion(7);let{allExtensions:v,ignoreExtensions:E,allowNamespaces:S,disallowAmbiguousJSXLike:_,isTSX:A,jsxPragma:L,jsxPragmaFrag:j,onlyRemoveTypeImports:F,optimizeConstEnums:k,rewriteImportExtensions:U}=(function(R={}){let{allowNamespaces:G=!0,jsxPragma:V,onlyRemoveTypeImports:B}=R,q="ignoreExtensions",K="disallowAmbiguousJSXLike",$="jsxPragmaFrag",W="optimizeConstEnums",Z="rewriteImportExtensions",Q="allExtensions",X="isTSX",ie=f.validateStringOption($,R.jsxPragmaFrag,"React.Fragment");var oe=f.validateBooleanOption(Q,R.allExtensions,!1),be=f.validateBooleanOption(X,R.isTSX,!1);be&&f.invariant(oe,"isTSX:true requires allExtensions:true");let Ne=f.validateBooleanOption(q,R.ignoreExtensions,!1),Pe=f.validateBooleanOption(K,R.disallowAmbiguousJSXLike,!1);Pe&&f.invariant(oe,"disallowAmbiguousJSXLike:true requires allExtensions:true");let Ke={ignoreExtensions:Ne,allowNamespaces:G,disallowAmbiguousJSXLike:Pe,jsxPragma:V,jsxPragmaFrag:ie,onlyRemoveTypeImports:B,optimizeConstEnums:f.validateBooleanOption(W,R.optimizeConstEnums,!1),rewriteImportExtensions:f.validateBooleanOption(Z,R.rewriteImportExtensions,!1)};return Ke.allExtensions=oe,Ke.isTSX=be,Ke})(x),z=R=>({allowDeclareFields:x.allowDeclareFields,allowNamespaces:S,disallowAmbiguousJSXLike:R,jsxPragma:L,jsxPragmaFrag:j,onlyRemoveTypeImports:F,optimizeConstEnums:k}),C=(R,G)=>[[h.default,Object.assign({isTSX:R},z(G))]];return{plugins:U?[b]:[],overrides:v||E?[{plugins:C(A,_)}]:[{test:/\.ts$/,plugins:C(!1,!1)},{test:/\.mts$/,sourceType:"module",plugins:C(!1,!0)},{test:/\.cts$/,sourceType:"unambiguous",plugins:[[d.default,{allowTopLevelThis:!0}],[h.default,z(!0)]]},{test:/\.tsx$/,plugins:C(!0,!1)}]}}));e.default=m},"./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/builder.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function h(d,f){let b=new WeakMap,m=new WeakMap,y=f||(0,n.validate)(null);return Object.assign(((x,...v)=>{if(typeof x=="string"){if(v.length>1)throw new Error("Unexpected extra params.");return o((0,c.default)(d,x,(0,n.merge)(y,(0,n.validate)(v[0]))))}if(Array.isArray(x)){let E=b.get(x);return E||(E=(0,p.default)(d,x,y),b.set(x,E)),o(E(v))}if(typeof x=="object"&&x){if(v.length>0)throw new Error("Unexpected extra params.");return h(d,(0,n.merge)(y,(0,n.validate)(x)))}throw new Error("Unexpected template param "+typeof x)}),{ast:(x,...v)=>{if(typeof x=="string"){if(v.length>1)throw new Error("Unexpected extra params.");return(0,c.default)(d,x,(0,n.merge)((0,n.merge)(y,(0,n.validate)(v[0])),i))()}if(Array.isArray(x)){let E=m.get(x);return E||(E=(0,p.default)(d,x,(0,n.merge)(y,i)),m.set(x,E)),E(v)()}throw new Error("Unexpected template param "+typeof x)}})};var n=l("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/options.js"),c=l("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/string.js"),p=l("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/literal.js");let i=(0,n.validate)({placeholderPattern:!1});function o(h){let d="";try{throw new Error}catch(f){f.stack&&(d=f.stack.split(`
|
|
`).slice(3).join(`
|
|
`))}return f=>{try{return h(f)}catch(b){throw b.stack+=`
|
|
=============
|
|
${d}`,b}}}},"./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/formatters.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.statements=e.statement=e.smart=e.program=e.expression=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{assertExpressionStatement:c}=n;function p(o){return{code:h=>`/* @babel/template */;
|
|
${h}`,validate:()=>{},unwrap:h=>o(h.program.body.slice(1))}}e.smart=p((o=>o.length>1?o:o[0])),e.statements=p((o=>o)),e.statement=p((o=>{if(o.length===0)throw new Error("Found nothing to return.");if(o.length>1)throw new Error("Found multiple statements but wanted one");return o[0]}));let i=e.expression={code:o=>`(
|
|
${o}
|
|
)`,validate:o=>{if(o.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(i.unwrap(o).start===0)throw new Error("Parse result included parens.")},unwrap:({program:o})=>{let[h]=o.body;return c(h),h.expression}};e.program={code:o=>o,validate:()=>{},unwrap:o=>o.program}},"./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.statements=e.statement=e.smart=e.program=e.expression=e.default=void 0;var n=l("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/formatters.js"),c=l("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/builder.js");let p=e.smart=(0,c.default)(n.smart),i=e.statement=(0,c.default)(n.statement),o=e.statements=(0,c.default)(n.statements),h=e.expression=(0,c.default)(n.expression),d=e.program=(0,c.default)(n.program);e.default=Object.assign(p.bind(void 0),{smart:p,statement:i,statements:o,expression:h,program:d,ast:p.ast})},"./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/literal.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(i,o,h){let{metadata:d,names:f}=(function(b,m,y){let x="BABEL_TPL$",v=m.join("");do x="$$"+x;while(v.includes(x));let{names:E,code:S}=(function(A,L){let j=[],F=A[0];for(let k=1;k<A.length;k++){let U=`${L}${k-1}`;j.push(U),F+=U+A[k]}return{names:j,code:F}})(m,x);return{metadata:(0,c.default)(b,b.code(S),{parser:y.parser,placeholderWhitelist:new Set(E.concat(y.placeholderWhitelist?Array.from(y.placeholderWhitelist):[])),placeholderPattern:y.placeholderPattern,preserveComments:y.preserveComments,syntacticPlaceholders:y.syntacticPlaceholders}),names:E}})(i,o,h);return b=>{let m={};return b.forEach(((y,x)=>{m[f[x]]=y})),y=>{let x=(0,n.normalizeReplacements)(y);return x&&Object.keys(x).forEach((v=>{if(hasOwnProperty.call(m,v))throw new Error("Unexpected replacement overlap.")})),i.unwrap((0,p.default)(d,x?Object.assign(x,m):m))}}};var n=l("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/options.js"),c=l("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/parse.js"),p=l("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/populate.js")},"./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/options.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.merge=function(n,c){let{placeholderWhitelist:p=n.placeholderWhitelist,placeholderPattern:i=n.placeholderPattern,preserveComments:o=n.preserveComments,syntacticPlaceholders:h=n.syntacticPlaceholders}=c;return{parser:Object.assign({},n.parser,c.parser),placeholderWhitelist:p,placeholderPattern:i,preserveComments:o,syntacticPlaceholders:h}},e.normalizeReplacements=function(n){if(Array.isArray(n))return n.reduce(((c,p,i)=>(c["$"+i]=p,c)),{});if(typeof n=="object"||n==null)return n||void 0;throw new Error("Template replacements must be an array, object, null, or undefined")},e.validate=function(n){if(n!=null&&typeof n!="object")throw new Error("Unknown template options.");let c=n||{},{placeholderWhitelist:p,placeholderPattern:i,preserveComments:o,syntacticPlaceholders:h}=c,d=(function(f,b){if(f==null)return{};var m={};for(var y in f)if({}.hasOwnProperty.call(f,y)){if(b.includes(y))continue;m[y]=f[y]}return m})(c,l);if(p!=null&&!(p instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(i!=null&&!(i instanceof RegExp)&&i!==!1)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(o!=null&&typeof o!="boolean")throw new Error("'.preserveComments' must be a boolean, null, or undefined");if(h!=null&&typeof h!="boolean")throw new Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(h===!0&&(p!=null||i!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:d,placeholderWhitelist:p||void 0,placeholderPattern:i??void 0,preserveComments:o??void 0,syntacticPlaceholders:h??void 0}};let l=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]},"./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/parse.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(A,L,j){let{placeholderWhitelist:F,placeholderPattern:k,preserveComments:U,syntacticPlaceholders:z}=j,C=(function(G,V,B){let q=(V.plugins||[]).slice();B!==!1&&q.push("placeholders"),V=Object.assign({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,sourceType:"module"},V,{plugins:q});try{return(0,c.parse)(G,V)}catch(K){let $=K.loc;throw $&&(K.message+=`
|
|
`+(0,p.codeFrameColumns)(G,{start:$}),K.code="BABEL_TEMPLATE_PARSE_ERROR"),K}})(L,j.parser,z);v(C,{preserveComments:U}),A.validate(C);let R={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:F,placeholderPattern:k,syntacticPlaceholders:z};return E(C,_,R),Object.assign({ast:C},R.syntactic.placeholders.length?R.syntactic:R.legacy)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+parser@7.26.3/node_modules/@babel/parser/lib/index.js"),p=l("./stubs/babel-codeframe.js");let{isCallExpression:i,isExpressionStatement:o,isFunction:h,isIdentifier:d,isJSXIdentifier:f,isNewExpression:b,isPlaceholder:m,isStatement:y,isStringLiteral:x,removePropertiesDeep:v,traverse:E}=n,S=/^[_$A-Z0-9]+$/;function _(A,L,j){var F;let k,U=j.syntactic.placeholders.length>0;if(m(A)){if(j.syntacticPlaceholders===!1)throw new Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");k=A.name.name,U=!0}else{if(U||j.syntacticPlaceholders)return;if(d(A)||f(A))k=A.name;else{if(!x(A))return;k=A.value}}if(U&&(j.placeholderPattern!=null||j.placeholderWhitelist!=null))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!(U||j.placeholderPattern!==!1&&(j.placeholderPattern||S).test(k)||(F=j.placeholderWhitelist)!=null&&F.has(k)))return;L=L.slice();let{node:z,key:C}=L[L.length-1],R;x(A)||m(A,{expectedNode:"StringLiteral"})?R="string":b(z)&&C==="arguments"||i(z)&&C==="arguments"||h(z)&&C==="params"?R="param":o(z)&&!m(A)?(R="statement",L=L.slice(0,-1)):R=y(A)&&m(A)?"statement":"other";let{placeholders:G,placeholderNames:V}=U?j.syntactic:j.legacy;G.push({name:k,type:R,resolve:B=>(function(q,K){let $=q;for(let Q=0;Q<K.length-1;Q++){let{key:X,index:ie}=K[Q];$=ie===void 0?$[X]:$[X][ie]}let{key:W,index:Z}=K[K.length-1];return{parent:$,key:W,index:Z}})(B,L),isDuplicate:V.has(k)}),V.add(k)}},"./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/populate.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(y,x){let v=p(y.ast);return x&&(y.placeholders.forEach((E=>{if(!hasOwnProperty.call(x,E.name)){let S=E.name;throw new Error(`Error: No substitution given for "${S}". 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(['${S}'])}
|
|
- { placeholderPattern: /^${S}$/ }`)}})),Object.keys(x).forEach((E=>{if(!y.placeholderNames.has(E))throw new Error(`Unknown substitution "${E}" given`)}))),y.placeholders.slice().reverse().forEach((E=>{try{(function(S,_,A){S.isDuplicate&&(Array.isArray(A)?A=A.map((U=>p(U))):typeof A=="object"&&(A=p(A)));let{parent:L,key:j,index:F}=S.resolve(_);if(S.type==="string"){if(typeof A=="string"&&(A=b(A)),!A||!f(A))throw new Error("Expected string substitution")}else if(S.type==="statement")F===void 0?A?Array.isArray(A)?A=c(A):typeof A=="string"?A=o(h(A)):d(A)||(A=o(A)):A=i():A&&!Array.isArray(A)&&(typeof A=="string"&&(A=h(A)),d(A)||(A=o(A)));else if(S.type==="param"){if(typeof A=="string"&&(A=h(A)),F===void 0)throw new Error("Assertion failure.")}else if(typeof A=="string"&&(A=h(A)),Array.isArray(A))throw new Error("Cannot replace single expression with an array.");function k(U,z,C){let R=U[z];U[z]=C,R.type!=="Identifier"&&R.type!=="Placeholder"||(R.typeAnnotation&&(C.typeAnnotation=R.typeAnnotation),R.optional&&(C.optional=R.optional),R.decorators&&(C.decorators=R.decorators))}if(F===void 0)m(L,j,A),k(L,j,A);else{let U=L[j].slice();S.type==="statement"||S.type==="param"?A==null?U.splice(F,1):Array.isArray(A)?U.splice(F,1,...A):k(U,F,A):k(U,F,A),m(L,j,U),L[j]=U}})(E,v,x&&x[E.name]||null)}catch(S){throw S.message=`@babel/template placeholder "${E.name}": ${S.message}`,S}})),v};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{blockStatement:c,cloneNode:p,emptyStatement:i,expressionStatement:o,identifier:h,isStatement:d,isStringLiteral:f,stringLiteral:b,validate:m}=n},"./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/string.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(i,o,h){let d;return o=i.code(o),f=>{let b=(0,n.normalizeReplacements)(f);return d||(d=(0,c.default)(i,o,h)),i.unwrap((0,p.default)(d,b))}};var n=l("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/options.js"),c=l("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/parse.js"),p=l("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/populate.js")},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/cache.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clear=function(){c(),p()},e.clearPath=c,e.clearScope=p,e.getCachedPaths=function(o,h){var d;return(d=l.get(i))==null?void 0:d.get(h)},e.getOrCreateCachedPaths=function(o,h){let d=l.get(i);d||l.set(i,d=new WeakMap);let f=d.get(h);return f||d.set(h,f=new Map),f},e.scope=e.path=void 0;let l=e.path=new WeakMap,n=e.scope=new WeakMap;function c(){e.path=l=new WeakMap}function p(){e.scope=n=new WeakMap}let i=Object.freeze({})},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/context.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/context.js");let{VISITOR_KEYS:i}=c;e.default=class{constructor(o,h,d,f){this.queue=null,this.priorityQueue=null,this.parentPath=f,this.scope=o,this.state=d,this.opts=h}shouldVisit(o){let h=this.opts;if(h.enter||h.exit||h[o.type])return!0;let d=i[o.type];if(d==null||!d.length)return!1;for(let f of d)if(o[f])return!0;return!1}create(o,h,d,f){return n.default.get({parentPath:this.parentPath,parent:o,container:h,key:d,listKey:f})}maybeQueue(o,h){this.queue&&(h?this.queue.push(o):this.priorityQueue.push(o))}visitMultiple(o,h,d){if(o.length===0)return!1;let f=[];for(let b=0;b<o.length;b++){let m=o[b];m&&this.shouldVisit(m)&&f.push(this.create(h,o,b,d))}return this.visitQueue(f)}visitSingle(o,h){return!!this.shouldVisit(o[h])&&this.visitQueue([this.create(o,o,h)])}visitQueue(o){this.queue=o,this.priorityQueue=[];let h=new WeakSet,d=!1,f=0;for(;f<o.length;){let b=o[f];if(f++,p.resync.call(b),b.contexts.length!==0&&b.contexts[b.contexts.length-1]===this||p.pushContext.call(b,this),b.key===null)continue;let{node:m}=b;if(!h.has(m)){if(m&&h.add(m),b.visit()){d=!0;break}if(this.priorityQueue.length&&(d=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=o,d))break}}for(let b=0;b<f;b++)p.popContext.call(o[b]);return this.queue=null,d}visit(o,h){let d=o[h];return!!d&&(Array.isArray(d)?this.visitMultiple(d,o,h):this.visitSingle(o,h))}}},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/hub.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=class{getCode(){}getScope(){}addHelper(){throw new Error("Helpers are not supported by the default hub.")}buildError(l,n,c=TypeError){return new c(n)}}},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Hub",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"NodePath",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return h.default}}),e.visitors=e.default=void 0,l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/context.js");var n=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/visitors.js");e.visitors=n;var c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/cache.js"),i=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/traverse-node.js"),o=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/index.js"),h=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/scope/index.js"),d=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/hub.js");let{VISITOR_KEYS:f,removeProperties:b,traverseFast:m}=c;function y(v,E={},S,_,A,L){if(v){if(!E.noScope&&!S&&v.type!=="Program"&&v.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 ${v.type} node without passing scope and parentPath.`);if(!A&&L)throw new Error("visitSelf can only be used when providing a NodePath.");f[v.type]&&(n.explode(E),(0,i.traverseNode)(v,E,S,_,A,null,L))}}e.default=y;function x(v,E){v.node.type===E.type&&(E.has=!0,v.stop())}y.visitors=n,y.verify=n.verify,y.explode=n.explode,y.cheap=function(v,E){m(v,E)},y.node=function(v,E,S,_,A,L){(0,i.traverseNode)(v,E,S,_,A,L)},y.clearNode=function(v,E){b(v,E)},y.removeProperties=function(v,E){return m(v,y.clearNode,E),v},y.hasType=function(v,E,S){if(S!=null&&S.includes(v.type))return!1;if(v.type===E)return!0;let _={has:!1,type:E};return y(v,{noScope:!0,denylist:S,enter:x},null,_),_.has},y.cache=p},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/ancestry.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.find=function(p){let i=this;do if(p(i))return i;while(i=i.parentPath);return null},e.findParent=function(p){let i=this;for(;i=i.parentPath;)if(p(i))return i;return null},e.getAncestry=function(){let p=this,i=[];do i.push(p);while(p=p.parentPath);return i},e.getDeepestCommonAncestorFrom=function(p,i){if(!p.length)return this;if(p.length===1)return p[0];let o,h,d=1/0,f=p.map((m=>{let y=[];do y.unshift(m);while((m=m.parentPath)&&m!==this);return y.length<d&&(d=y.length),y})),b=f[0];e:for(let m=0;m<d;m++){let y=b[m];for(let x of f)if(x[m]!==y)break e;o=m,h=y}if(h)return i?i(h,o,f):h;throw new Error("Couldn't find intersection")},e.getEarliestCommonAncestorFrom=function(p){return this.getDeepestCommonAncestorFrom(p,(function(i,o,h){let d,f=c[i.type];for(let b of h){let m=b[o+1];if(!d){d=m;continue}if(m.listKey&&d.listKey===m.listKey&&m.key<d.key){d=m;continue}f.indexOf(d.parentKey)>f.indexOf(m.parentKey)&&(d=m)}return d}))},e.getFunctionParent=function(){return this.findParent((p=>p.isFunction()))},e.getStatementParent=function(){let p=this;do{if(!p.parentPath||Array.isArray(p.container)&&p.isStatement())break;p=p.parentPath}while(p);if(p&&(p.isProgram()||p.isFile()))throw new Error("File/Program node, we can't possibly find a statement parent to this");return p},e.inType=function(...p){let i=this;for(;i;){for(let o of p)if(i.node.type===o)return!0;i=i.parentPath}return!1},e.isAncestor=function(p){return p.isDescendant(this)},e.isDescendant=function(p){return!!this.findParent((i=>i===p))};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{VISITOR_KEYS:c}=n},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/comments.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addComment=function(o,h,d){c(this.node,o,h,d)},e.addComments=function(o,h){p(this.node,o,h)},e.shareCommentsWithSiblings=function(){if(typeof this.key=="string")return;let o=this.node;if(!o)return;let h=o.trailingComments,d=o.leadingComments;if(!h&&!d)return;let f=this.getSibling(this.key-1),b=this.getSibling(this.key+1),m=!!f.node,y=!!b.node;m&&(d&&f.addComments("trailing",i(d,f.node.trailingComments)),h&&!y&&f.addComments("trailing",h)),y&&(h&&b.addComments("leading",i(h,b.node.leadingComments)),d&&!m&&b.addComments("leading",d))};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{addComment:c,addComments:p}=n;function i(o,h){if(h==null||!h.length)return o;let d=new Set(h);return o.filter((f=>!d.has(f)))}},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/context.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._call=h,e._getQueueContexts=function(){let E=this,S=this.contexts;for(;!S.length&&(E=E.parentPath,E);)S=E.contexts;return S},e._resyncKey=y,e._resyncList=x,e._resyncParent=m,e._resyncRemoved=function(){this.key!=null&&this.container&&this.container[this.key]===this.node||p._markRemoved.call(this)},e.call=o,e.isDenylisted=d,e.popContext=function(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)},e.pushContext=function(E){this.contexts.push(E),this.setContext(E)},e.requeue=function(E=this){if(E.removed)return;let S=this.contexts;for(let _ of S)_.maybeQueue(E)},e.requeueComputedKeyAndDecorators=function(){let{context:E,node:S}=this;if(!i.isPrivate(S)&&S.computed&&E.maybeQueue(this.get("key")),S.decorators)for(let _ of this.get("decorators"))E.maybeQueue(_)},e.resync=function(){this.removed||(m.call(this),x.call(this),y.call(this))},e.setContext=function(E){return this.skipKeys!=null&&(this.skipKeys={}),this._traverseFlags=0,E&&(this.context=E,this.state=E.state,this.opts=E.opts),b.call(this),this},e.setKey=v,e.setScope=b,e.setup=function(E,S,_,A){this.listKey=_,this.container=S,this.parentPath=E||this.parentPath,v.call(this,A)},e.skip=function(){this.shouldSkip=!0},e.skipKey=function(E){this.skipKeys==null&&(this.skipKeys={}),this.skipKeys[E]=!0},e.stop=function(){this._traverseFlags|=c.SHOULD_SKIP|c.SHOULD_STOP},e.visit=function(){var E,S;if(!this.node||this.isDenylisted()||(E=(S=this.opts).shouldSkip)!=null&&E.call(S,this))return!1;let _=this.context;return this.shouldSkip||o.call(this,"enter")?(this.debug("Skip..."),this.shouldStop):(f(this,_),this.debug("Recursing into..."),this.shouldStop=(0,n.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),f(this,_),o.call(this,"exit"),this.shouldStop)};var n=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/traverse-node.js"),c=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/index.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/removal.js"),i=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");function o(E){let S=this.opts;return this.debug(E),!(!this.node||!h.call(this,S[E]))||!!this.node&&h.call(this,(_=S[this.node.type])==null?void 0:_[E]);var _}function h(E){if(!E)return!1;for(let S of E){if(!S)continue;let _=this.node;if(!_)return!0;let A=S.call(this.state,this,this.state);if(A&&typeof A=="object"&&typeof A.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(A)throw new Error(`Unexpected return value from visitor method ${S}`);if(this.node!==_||this._traverseFlags>0)return!0}return!1}function d(){var E;let S=(E=this.opts.denylist)!=null?E:this.opts.blacklist;return S==null?void 0:S.includes(this.node.type)}function f(E,S){E.context!==S&&(E.context=S,E.state=S.state,E.opts=S.opts)}function b(){var E,S;if((E=this.opts)!=null&&E.noScope)return;let _,A=this.parentPath;for(((this.key==="key"||this.listKey==="decorators")&&A.isMethod()||this.key==="discriminant"&&A.isSwitchStatement())&&(A=A.parentPath);A&&!_;){var L;if((L=A.opts)!=null&&L.noScope)return;_=A.scope,A=A.parentPath}this.scope=this.getScope(_),(S=this.scope)==null||S.init()}function m(){this.parentPath&&(this.parent=this.parentPath.node)}function y(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(let E=0;E<this.container.length;E++)if(this.container[E]===this.node)return void v.call(this,E)}else for(let E of Object.keys(this.container))if(this.container[E]===this.node)return void v.call(this,E);this.key=null}}function x(){if(!this.parent||!this.inList)return;let E=this.parent[this.listKey];this.container!==E&&(this.container=E||null)}function v(E){var S;this.key=E,this.node=this.container[this.key],this.type=(S=this.node)==null?void 0:S.type}e.isBlacklisted=d},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/conversion.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arrowFunctionToExpression=function({allowInsertArrow:he=!0,allowInsertArrowWithRest:Te=he,noNewArrows:Ce=!(se=>(se=arguments[0])==null?void 0:se.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let se=this;var pe;Ce||(se=(pe=se.ensureFunctionName(!1))!=null?pe:se);let{thisBinding:nt,fnPath:ft}=We(se,Ce,he,Te);if(ft.ensureBlock(),(function(_t,Pt){_t.node.type=Pt})(ft,"FunctionExpression"),!Ce){let _t=nt?null:ft.scope.generateUidIdentifier("arrowCheckId");return _t&&ft.parentPath.scope.push({id:_t,init:F([])}),ft.get("body").unshiftContainer("body",y(b(this.hub.addHelper("newArrowCheck"),[V(),x(_t?_t.name:nt)]))),ft.replaceWith(b(A(ft.node,x("bind")),[_t?x(_t.name):V()])),ft.get("callee.object")}return ft},e.ensureBlock=function(){let he=this.get("body"),Te=he.node;if(Array.isArray(he))throw new Error("Can't convert array path to a block statement");if(!Te)throw new Error("Can't convert node without a body");if(he.isBlockStatement())return Te;let Ce=[],se,pe,nt="body";he.isStatement()?(pe="body",se=0,Ce.push(he.node)):(nt+=".body.0",this.isFunction()?(se="argument",Ce.push(U(he.node))):(se="expression",Ce.push(y(he.node)))),this.node.body=f(Ce);let ft=this.get(nt);return i.setup.call(he,ft,pe?ft.node[pe]:ft.node,pe,se),this.node},e.ensureFunctionName=function(he){if(this.node.id)return this;let Te=Q(this.node,this.parent);if(Te==null)return this;let{name:Ce}=Te;if(!he&&/[\uD800-\uDFFF]/.test(Ce)||Ce.startsWith("get ")||Ce.startsWith("set "))return null;Ce=K(Ce.replace(/[/ ]/g,"_"));let se=x(Ce);Pe(se,Te.originalNode);let pe={needsRename:!1,name:Ce},{scope:nt}=this,ft=nt.getOwnBinding(Ce);if(ft?ft.kind==="param"&&(pe.needsRename=!0):(nt.parent.hasBinding(Ce)||nt.hasGlobal(Ce))&&this.traverse(ve,pe),!pe.needsRename)return this.node.id=se,nt.getProgramParent().references[se.name]=!0,this;if(nt.hasBinding(se.name)&&!nt.hasGlobal(se.name))return nt.rename(se.name),this.node.id=se,nt.getProgramParent().references[se.name]=!0,this;if(!$(this.node))return null;let _t=nt.generateUidIdentifier(se.name),Pt=[];for(let De=0,ze=(function(Ze){let tt=Ze.params.findIndex((ge=>W(ge)||Z(ge)));return tt===-1?Ze.params.length:tt})(this.node);De<ze;De++)Pt.push(nt.generateUidIdentifier("x"));let ht=c.default.expression.ast`
|
|
(function (${_t}) {
|
|
function ${se}(${Pt}) {
|
|
return ${X(_t)}.apply(this, arguments);
|
|
}
|
|
|
|
${X(se)}.toString = function () {
|
|
return ${X(_t)}.toString();
|
|
}
|
|
|
|
return ${X(se)};
|
|
})(${B(this.node)})
|
|
`;return this.replaceWith(ht)[0].get("arguments.0")},e.splitExportDeclaration=function(){if(!this.isExportDeclaration()||this.isExportAllDeclaration())throw new Error("Only default and named export declarations can be split.");if(this.isExportNamedDeclaration()&&this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let he=this.get("declaration");if(this.isExportDefaultDeclaration()){let pe=he.isFunctionDeclaration()||he.isClassDeclaration(),nt=he.isFunctionExpression()||he.isClassExpression(),ft=he.isScope()?he.scope.parent:he.scope,_t=he.node.id,Pt=!1;_t?nt&&ft.hasBinding(_t.name)&&(Pt=!0,_t=ft.generateUidIdentifier(_t.name)):(Pt=!0,_t=ft.generateUidIdentifier("default"),(pe||nt)&&(he.node.id=X(_t)));let ht=pe?he.node:ie("var",[oe(X(_t),he.node)]),De=be(null,[Ne(X(_t),x("default"))]);return this.insertAfter(De),this.replaceWith(ht),Pt&&ft.registerDeclaration(this),this}if(this.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");let Te=he.getOuterBindingIdentifiers(),Ce=Object.keys(Te).map((pe=>Ne(x(pe),x(pe)))),se=be(null,Ce);return this.insertAfter(se),this.replaceWith(he.node),this},e.toComputedKey=function(){let he;if(this.isMemberExpression())he=this.node.property;else{if(!this.isProperty()&&!this.isMethod())throw new ReferenceError("todo");he=this.node.key}return this.node.computed||v(he)&&(he=R(he.name)),he},e.unwrapFunctionEnvironment=function(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");We(this)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/index.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/visitors.js"),i=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/context.js");let{arrowFunctionExpression:o,assignmentExpression:h,binaryExpression:d,blockStatement:f,callExpression:b,conditionalExpression:m,expressionStatement:y,identifier:x,isIdentifier:v,jsxIdentifier:E,logicalExpression:S,LOGICAL_OPERATORS:_,memberExpression:A,metaProperty:L,numericLiteral:j,objectExpression:F,restElement:k,returnStatement:U,sequenceExpression:z,spreadElement:C,stringLiteral:R,super:G,thisExpression:V,toExpression:B,unaryExpression:q,toBindingIdentifierName:K,isFunction:$,isAssignmentPattern:W,isRestElement:Z,getFunctionName:Q,cloneNode:X,variableDeclaration:ie,variableDeclarator:oe,exportNamedDeclaration:be,exportSpecifier:Ne,inherits:Pe}=n;e.arrowFunctionToShadowed=function(){this.isArrowFunctionExpression()&&this.arrowFunctionToExpression()};let Ke=(0,p.environmentVisitor)({CallExpression(he,{allSuperCalls:Te}){he.get("callee").isSuper()&&Te.push(he)}});function We(he,Te=!0,Ce=!0,se=!0){let pe,nt=he.findParent((tt=>tt.isArrowFunctionExpression()?(pe!=null||(pe=tt),!1):tt.isFunction()||tt.isProgram()||tt.isClassProperty({static:!1})||tt.isClassPrivateProperty({static:!1}))),ft=nt.isClassMethod({kind:"constructor"});if(nt.isClassProperty()||nt.isClassPrivateProperty())if(pe)nt=pe;else{if(!Ce)throw he.buildCodeFrameError("Unable to transform arrow inside class property");he.replaceWith(b(o([],B(he.node)),[])),nt=he.get("callee"),he=nt.get("body")}let{thisPaths:_t,argumentsPaths:Pt,newTargetPaths:ht,superProps:De,superCalls:ze}=(function(tt){let ge=[],fe=[],ee=[],le=[],Se=[];return tt.traverse(ye,{thisPaths:ge,argumentsPaths:fe,newTargetPaths:ee,superProps:le,superCalls:Se}),{thisPaths:ge,argumentsPaths:fe,newTargetPaths:ee,superProps:le,superCalls:Se}})(he);if(ft&&ze.length>0){if(!Ce)throw ze[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(!se)throw ze[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 tt=[];nt.traverse(Ke,{allSuperCalls:tt});let ge=(function(fe){return xe(fe,"supercall",(()=>{let ee=fe.scope.generateUidIdentifier("args");return o([k(ee)],b(G(),[C(x(ee.name))]))}))})(nt);tt.forEach((fe=>{let ee=x(ge);ee.loc=fe.node.callee.loc,fe.get("callee").replaceWith(ee)}))}if(Pt.length>0){let tt=xe(nt,"arguments",(()=>{let ge=()=>x("arguments");return nt.scope.path.isProgram()?m(d("===",q("typeof",ge()),R("undefined")),nt.scope.buildUndefinedNode(),ge()):ge()}));Pt.forEach((ge=>{let fe=x(tt);fe.loc=ge.node.loc,ge.replaceWith(fe)}))}if(ht.length>0){let tt=xe(nt,"newtarget",(()=>L(x("new"),x("target"))));ht.forEach((ge=>{let fe=x(tt);fe.loc=ge.node.loc,ge.replaceWith(fe)}))}if(De.length>0){if(!Ce)throw De[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.");De.reduce(((tt,ge)=>tt.concat((function(fe){if(fe.parentPath.isAssignmentExpression()&&fe.parentPath.node.operator!=="="){let le=fe.parentPath,Se=le.node.operator.slice(0,-1),Ee=le.node.right,Be=(function(Qe){return _.includes(Qe)})(Se);if(fe.node.computed){let Qe=fe.scope.generateDeclaredUidIdentifier("tmp"),ce=fe.node.object,$e=fe.node.property;le.get("left").replaceWith(A(ce,h("=",Qe,$e),!0)),le.get("right").replaceWith(ee(Be?"=":Se,A(ce,x(Qe.name),!0),Ee))}else{let Qe=fe.node.object,ce=fe.node.property;le.get("left").replaceWith(A(Qe,ce)),le.get("right").replaceWith(ee(Be?"=":Se,A(Qe,x(ce.name)),Ee))}return Be?le.replaceWith(S(Se,le.node.left,le.node.right)):le.node.operator="=",[le.get("left"),le.get("right").get("left")]}if(fe.parentPath.isUpdateExpression()){let le=fe.parentPath,Se=fe.scope.generateDeclaredUidIdentifier("tmp"),Ee=fe.node.computed?fe.scope.generateDeclaredUidIdentifier("prop"):null,Be=[h("=",Se,A(fe.node.object,Ee?h("=",Ee,fe.node.property):fe.node.property,fe.node.computed)),h("=",A(fe.node.object,Ee?x(Ee.name):fe.node.property,fe.node.computed),d(fe.parentPath.node.operator[0],x(Se.name),j(1)))];return fe.parentPath.node.prefix||Be.push(x(Se.name)),le.replaceWith(z(Be)),[le.get("expressions.0.right"),le.get("expressions.1.left")]}return[fe];function ee(le,Se,Ee){return le==="="?h("=",Se,Ee):d(le,Se,Ee)}})(ge))),[]).forEach((tt=>{let ge=tt.node.computed?"":tt.get("property").node.name,fe=tt.parentPath,ee=fe.isAssignmentExpression({left:tt.node}),le=fe.isCallExpression({callee:tt.node}),Se=fe.isTaggedTemplateExpression({tag:tt.node}),Ee=(function(ce,$e,et){return xe(ce,`superprop_${$e?"set":"get"}:${et||""}`,(()=>{let Je=[],Le;if(et)Le=A(G(),x(et));else{let at=ce.scope.generateUidIdentifier("prop");Je.unshift(at),Le=A(G(),x(at.name),!0)}if($e){let at=ce.scope.generateUidIdentifier("value");Je.push(at),Le=h("=",Le,x(at.name))}return o(Je,Le)}))})(nt,ee,ge),Be=[];if(tt.node.computed&&Be.push(tt.get("property").node),ee){let ce=fe.node.right;Be.push(ce)}let Qe=b(x(Ee),Be);le?(fe.unshiftContainer("arguments",V()),tt.replaceWith(A(Qe,x("call"))),_t.push(fe.get("arguments.0"))):ee?fe.replaceWith(Qe):Se?(tt.replaceWith(b(A(Qe,x("bind"),!1),[V()])),_t.push(tt.get("arguments.0"))):tt.replaceWith(Qe)}))}let Ze;return(_t.length>0||!Te)&&(Ze=(function(tt,ge){return xe(tt,"this",(fe=>{if(!ge||!Oe(tt))return V();tt.traverse(de,{supers:new WeakSet,thisBinding:fe})}))})(nt,ft),(Te||ft&&Oe(nt))&&(_t.forEach((tt=>{let ge=tt.isJSX()?E(Ze):x(Ze);ge.loc=tt.node.loc,tt.replaceWith(ge)})),Te||(Ze=null))),{thisBinding:Ze,fnPath:he}}function Oe(he){return he.isClassMethod()&&!!he.parentPath.parentPath.node.superClass}let de=(0,p.environmentVisitor)({CallExpression(he,{supers:Te,thisBinding:Ce}){he.get("callee").isSuper()&&(Te.has(he.node)||(Te.add(he.node),he.replaceWithMultiple([he.node,h("=",x(Ce),x("this"))])))}});function xe(he,Te,Ce){let se="binding:"+Te,pe=he.getData(se);if(!pe){let nt=he.scope.generateUidIdentifier(Te);pe=nt.name,he.setData(se,pe),he.scope.push({id:nt,init:Ce(pe)})}return pe}let ye=(0,p.environmentVisitor)({ThisExpression(he,{thisPaths:Te}){Te.push(he)},JSXIdentifier(he,{thisPaths:Te}){he.node.name==="this"&&(he.parentPath.isJSXMemberExpression({object:he.node})||he.parentPath.isJSXOpeningElement({name:he.node}))&&Te.push(he)},CallExpression(he,{superCalls:Te}){he.get("callee").isSuper()&&Te.push(he)},MemberExpression(he,{superProps:Te}){he.get("object").isSuper()&&Te.push(he)},Identifier(he,{argumentsPaths:Te}){if(!he.isReferencedIdentifier({name:"arguments"}))return;let Ce=he.scope;do{if(Ce.hasOwnBinding("arguments"))return void Ce.rename("arguments");if(Ce.path.isFunction()&&!Ce.path.isArrowFunctionExpression())break}while(Ce=Ce.parent);Te.push(he)},MetaProperty(he,{newTargetPaths:Te}){he.get("meta").isIdentifier({name:"new"})&&he.get("property").isIdentifier({name:"target"})&&Te.push(he)}}),ve={"ReferencedIdentifier|BindingIdentifier"(he,Te){he.node.name===Te.name&&(Te.needsRename=!0,he.stop())},Scope(he,Te){he.scope.hasOwnBinding(Te.name)&&he.skip()}}},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/evaluation.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.evaluate=function(){let f={confident:!0,deoptPath:null,seen:new Map},b=h(this,f);return f.confident||(b=void 0),{confident:f.confident,deopt:f.deoptPath,value:b}},e.evaluateTruthy=function(){let f=this.evaluate();if(f.confident)return!!f.value};let l=["Number","String","Math"],n=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],c=["random"];function p(f){return l.includes(f)}function i(f,b){b.confident&&(b.deoptPath=f,b.confident=!1)}let o=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function h(f,b){let{node:m}=f,{seen:y}=b;if(y.has(m)){let x=y.get(m);return x.resolved?x.value:void i(f,b)}{let x={resolved:!1};y.set(m,x);let v=(function(E,S){if(S.confident){if(E.isSequenceExpression()){let _=E.get("expressions");return h(_[_.length-1],S)}if(E.isStringLiteral()||E.isNumericLiteral()||E.isBooleanLiteral())return E.node.value;if(E.isNullLiteral())return null;if(E.isTemplateLiteral())return d(E,E.node.quasis,S);if(E.isTaggedTemplateExpression()&&E.get("tag").isMemberExpression()){let _=E.get("tag.object"),{node:{name:A}}=_,L=E.get("tag.property");if(_.isIdentifier()&&A==="String"&&!E.scope.getBinding(A)&&L.isIdentifier()&&L.node.name==="raw")return d(E,E.node.quasi.quasis,S,!0)}if(E.isConditionalExpression()){let _=h(E.get("test"),S);return S.confident?h(_?E.get("consequent"):E.get("alternate"),S):void 0}if(E.isExpressionWrapper())return h(E.get("expression"),S);if(E.isMemberExpression()&&!E.parentPath.isCallExpression({callee:E.node})){let _=E.get("property"),A=E.get("object");if(A.isLiteral()){let L=A.node.value,j=typeof L,F=null;if(E.node.computed){if(F=h(_,S),!S.confident)return}else _.isIdentifier()&&(F=_.node.name);if(!(j!=="number"&&j!=="string"||F==null||typeof F!="number"&&typeof F!="string"))return L[F]}}if(E.isReferencedIdentifier()){let _=E.scope.getBinding(E.node.name);if(_){if(_.constantViolations.length>0||E.node.start<_.path.node.end)return void i(_.path,S);if(_.hasValue)return _.value}let A=E.node.name;if(o.has(A))return _?void i(_.path,S):o.get(A);let L=E.resolve();return L===E?void i(E,S):h(L,S)}if(E.isUnaryExpression({prefix:!0})){if(E.node.operator==="void")return;let _=E.get("argument");if(E.node.operator==="typeof"&&(_.isFunction()||_.isClass()))return"function";let A=h(_,S);if(!S.confident)return;switch(E.node.operator){case"!":return!A;case"+":return+A;case"-":return-A;case"~":return~A;case"typeof":return typeof A}}if(E.isArrayExpression()){let _=[],A=E.get("elements");for(let L of A){let j=L.evaluate();if(!j.confident)return void i(j.deopt,S);_.push(j.value)}return _}if(E.isObjectExpression()){let _={},A=E.get("properties");for(let L of A){if(L.isObjectMethod()||L.isSpreadElement())return void i(L,S);let j=L.get("key"),F;if(L.node.computed){if(F=j.evaluate(),!F.confident)return void i(F.deopt,S);F=F.value}else F=j.isIdentifier()?j.node.name:j.node.value;let k=L.get("value").evaluate();if(!k.confident)return void i(k.deopt,S);k=k.value,_[F]=k}return _}if(E.isLogicalExpression()){let _=S.confident,A=h(E.get("left"),S),L=S.confident;S.confident=_;let j=h(E.get("right"),S),F=S.confident;switch(E.node.operator){case"||":return S.confident=L&&(!!A||F),S.confident?A||j:void 0;case"&&":return S.confident=L&&(!A||F),S.confident?A&&j:void 0;case"??":return S.confident=L&&(A!=null||F),S.confident?A??j:void 0}}if(E.isBinaryExpression()){let _=h(E.get("left"),S);if(!S.confident)return;let A=h(E.get("right"),S);if(!S.confident)return;switch(E.node.operator){case"-":return _-A;case"+":return _+A;case"/":return _/A;case"*":return _*A;case"%":return _%A;case"**":return Math.pow(_,A);case"<":return _<A;case">":return _>A;case"<=":return _<=A;case">=":return _>=A;case"==":return _==A;case"!=":return _!=A;case"===":return _===A;case"!==":return _!==A;case"|":return _|A;case"&":return _&A;case"^":return _^A;case"<<":return _<<A;case">>":return _>>A;case">>>":return _>>>A}}if(E.isCallExpression()){let _=E.get("callee"),A,L;if(_.isIdentifier()&&!E.scope.getBinding(_.node.name)&&(p(_.node.name)||(function(j){return n.includes(j)})(_.node.name))&&(L=global[_.node.name]),_.isMemberExpression()){let j=_.get("object"),F=_.get("property");if(j.isIdentifier()&&F.isIdentifier()&&p(j.node.name)&&!(function(k){return c.includes(k)})(F.node.name)){A=global[j.node.name];let k=F.node.name;hasOwnProperty.call(A,k)&&(L=A[k])}if(j.isLiteral()&&F.isIdentifier()){let k=typeof j.node.value;k!=="string"&&k!=="number"||(A=j.node.value,L=A[F.node.name])}}if(L){let j=E.get("arguments").map((F=>h(F,S)));return S.confident?L.apply(A,j):void 0}}i(E,S)}})(f,b);return b.confident&&(x.resolved=!0,x.value=v),v}}function d(f,b,m,y=!1){let x="",v=0,E=f.isTemplateLiteral()?f.get("expressions"):f.get("quasi.expressions");for(let S of b){if(!m.confident)break;x+=y?S.value.raw:S.value.cooked;let _=E[v++];_&&(x+=String(h(_,m)))}if(m.confident)return x}},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/family.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._getKey=S,e._getPattern=_,e.get=function(A,L=!0){L===!0&&(L=this.context);let j=A.split(".");return j.length===1?S.call(this,A,L):_.call(this,j,L)},e.getAllNextSiblings=function(){let A=this.key,L=this.getSibling(++A),j=[];for(;L.node;)j.push(L),L=this.getSibling(++A);return j},e.getAllPrevSiblings=function(){let A=this.key,L=this.getSibling(--A),j=[];for(;L.node;)j.push(L),L=this.getSibling(--A);return j},e.getAssignmentIdentifiers=function(){return p(this.node)},e.getBindingIdentifierPaths=function(A=!1,L=!1){let j=[this],F=Object.create(null);for(;j.length;){let k=j.shift();if(!k||!k.node)continue;let U=i.keys[k.node.type];if(k.isIdentifier())A?(F[k.node.name]=F[k.node.name]||[]).push(k):F[k.node.name]=k;else if(k.isExportDeclaration()){let z=k.get("declaration");z.isDeclaration()&&j.push(z)}else{if(L){if(k.isFunctionDeclaration()){j.push(k.get("id"));continue}if(k.isFunctionExpression())continue}if(U)for(let z=0;z<U.length;z++){let C=U[z],R=k.get(C);Array.isArray(R)?j.push(...R):R.node&&j.push(R)}}}return F},e.getBindingIdentifiers=function(A){return i(this.node,A)},e.getCompletionRecords=function(){return E(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1}).map((A=>A.path))},e.getNextSibling=function(){return this.getSibling(this.key+1)},e.getOpposite=function(){return this.key==="left"?this.getSibling("right"):this.key==="right"?this.getSibling("left"):null},e.getOuterBindingIdentifierPaths=function(A=!1){return this.getBindingIdentifierPaths(A,!0)},e.getOuterBindingIdentifiers=function(A){return o(this.node,A)},e.getPrevSibling=function(){return this.getSibling(this.key-1)},e.getSibling=function(A){return n.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:A}).setContext(this.context)};var n=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{getAssignmentIdentifiers:p,getBindingIdentifiers:i,getOuterBindingIdentifiers:o,numericLiteral:h,unaryExpression:d}=c,f=0,b=1;function m(A,L,j){return A&&L.push(...E(A,j)),L}function y(A){A.forEach((L=>{L.type=b}))}function x(A,L){A.forEach((j=>{j.path.isBreakStatement({label:null})&&(L?j.path.replaceWith(d("void",h(0))):j.path.remove())}))}function v(A,L){let j=[];if(L.canHaveBreak){let F=[];for(let k=0;k<A.length;k++){let U=A[k],z=Object.assign({},L,{inCaseClause:!1});U.isBlockStatement()&&(L.inCaseClause||L.shouldPopulateBreak)?z.shouldPopulateBreak=!0:z.shouldPopulateBreak=!1;let C=E(U,z);if(C.length>0&&C.every((R=>R.type===b))){F.length>0&&C.every((R=>R.path.isBreakStatement({label:null})))?(y(F),j.push(...F),F.some((R=>R.path.isDeclaration()))&&(j.push(...C),x(C,!0)),x(C,!1)):(j.push(...C),L.shouldPopulateBreak||x(C,!0));break}if(k===A.length-1)j.push(...C);else{F=[];for(let R=0;R<C.length;R++){let G=C[R];G.type===b&&j.push(G),G.type===f&&F.push(G)}}}}else if(A.length)for(let F=A.length-1;F>=0;F--){let k=E(A[F],L);if(k.length>1||k.length===1&&!k[0].path.isVariableDeclaration()){j.push(...k);break}}return j}function E(A,L){let j=[];if(A.isIfStatement())j=m(A.get("consequent"),j,L),j=m(A.get("alternate"),j,L);else{if(A.isDoExpression()||A.isFor()||A.isWhile()||A.isLabeledStatement())return m(A.get("body"),j,L);if(A.isProgram()||A.isBlockStatement())return v(A.get("body"),L);if(A.isFunction())return E(A.get("body"),L);if(A.isTryStatement())j=m(A.get("block"),j,L),j=m(A.get("handler"),j,L);else{if(A.isCatchClause())return m(A.get("body"),j,L);if(A.isSwitchStatement())return(function(F,k,U){let z=[];for(let C=0;C<F.length;C++){let R=E(F[C],U),G=[],V=[];for(let B of R)B.type===f&&G.push(B),B.type===b&&V.push(B);G.length&&(z=G),k.push(...V)}return k.push(...z),k})(A.get("cases"),j,L);if(A.isSwitchCase())return v(A.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});A.isBreakStatement()?j.push((function(F){return{type:b,path:F}})(A)):j.push((function(F){return{type:f,path:F}})(A))}}return j}function S(A,L){let j=this.node,F=j[A];return Array.isArray(F)?F.map(((k,U)=>n.default.get({listKey:A,parentPath:this,parent:j,container:F,key:U}).setContext(L))):n.default.get({parentPath:this,parent:j,container:j,key:A}).setContext(L)}function _(A,L){let j=this;for(let F of A)j=F==="."?j.parentPath:Array.isArray(j)?j[F]:j.get(F,L);return j}},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.SHOULD_STOP=e.SHOULD_SKIP=e.REMOVED=void 0;var n=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/lib/virtual-types.js"),c=l("./node_modules/.pnpm/debug@4.4.0/node_modules/debug/src/index.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js"),i=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/scope/index.js"),o=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),h=o,d=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/cache.js"),f=l("./node_modules/.pnpm/@babel+generator@7.26.3/node_modules/@babel/generator/lib/index.js"),b=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/ancestry.js"),m=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/inference/index.js"),y=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/replacement.js"),x=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/evaluation.js"),v=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/conversion.js"),E=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/introspection.js"),S=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/context.js"),_=S,A=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/removal.js"),L=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/modification.js"),j=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/family.js"),F=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/comments.js"),k=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js");let{validate:U}=o,z=c("babel"),C=(e.REMOVED=1,e.SHOULD_STOP=2,e.SHOULD_SKIP=4,e.default=class WF{constructor(V,B){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=B,this.hub=V,this.data=null,this.context=null,this.scope=null}get removed(){return(1&this._traverseFlags)>0}set removed(V){V?this._traverseFlags|=1:this._traverseFlags&=-2}get shouldStop(){return(2&this._traverseFlags)>0}set shouldStop(V){V?this._traverseFlags|=2:this._traverseFlags&=-3}get shouldSkip(){return(4&this._traverseFlags)>0}set shouldSkip(V){V?this._traverseFlags|=4:this._traverseFlags&=-5}static get({hub:V,parentPath:B,parent:q,container:K,listKey:$,key:W}){if(!V&&B&&(V=B.hub),!q)throw new Error("To get a node path the parent needs to exist");let Z=K[W],Q=d.getOrCreateCachedPaths(V,q),X=Q.get(Z);return X||(X=new WF(V,q),Z&&Q.set(Z,X)),S.setup.call(X,B,K,$,W),X}getScope(V){return this.isScope()?new i.default(this):V}setData(V,B){return this.data==null&&(this.data=Object.create(null)),this.data[V]=B}getData(V,B){this.data==null&&(this.data=Object.create(null));let q=this.data[V];return q===void 0&&B!==void 0&&(q=this.data[V]=B),q}hasNode(){return this.node!=null}buildCodeFrameError(V,B=SyntaxError){return this.hub.buildError(this.node,V,B)}traverse(V,B){(0,p.default)(this.node,V,this.scope,B,this)}set(V,B){U(this.node,V,B),this.node[V]=B}getPathLocation(){let V=[],B=this;do{let q=B.key;B.inList&&(q=`${B.listKey}[${q}]`),V.unshift(q)}while(B=B.parentPath);return V.join(".")}debug(V){z.enabled&&z(`${this.getPathLocation()} ${this.type}: ${V}`)}toString(){return(0,f.default)(this.node).code}get inList(){return!!this.listKey}set inList(V){V||(this.listKey=null)}get parentKey(){return this.listKey||this.key}}),R={findParent:b.findParent,find:b.find,getFunctionParent:b.getFunctionParent,getStatementParent:b.getStatementParent,getEarliestCommonAncestorFrom:b.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:b.getDeepestCommonAncestorFrom,getAncestry:b.getAncestry,isAncestor:b.isAncestor,isDescendant:b.isDescendant,inType:b.inType,getTypeAnnotation:m.getTypeAnnotation,isBaseType:m.isBaseType,couldBeBaseType:m.couldBeBaseType,baseTypeStrictlyMatches:m.baseTypeStrictlyMatches,isGenericType:m.isGenericType,replaceWithMultiple:y.replaceWithMultiple,replaceWithSourceString:y.replaceWithSourceString,replaceWith:y.replaceWith,replaceExpressionWithStatements:y.replaceExpressionWithStatements,replaceInline:y.replaceInline,evaluateTruthy:x.evaluateTruthy,evaluate:x.evaluate,toComputedKey:v.toComputedKey,ensureBlock:v.ensureBlock,unwrapFunctionEnvironment:v.unwrapFunctionEnvironment,arrowFunctionToExpression:v.arrowFunctionToExpression,splitExportDeclaration:v.splitExportDeclaration,ensureFunctionName:v.ensureFunctionName,matchesPattern:E.matchesPattern,isStatic:E.isStatic,isNodeType:E.isNodeType,canHaveVariableDeclarationOrExpression:E.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:E.canSwapBetweenExpressionAndStatement,isCompletionRecord:E.isCompletionRecord,isStatementOrBlock:E.isStatementOrBlock,referencesImport:E.referencesImport,getSource:E.getSource,willIMaybeExecuteBefore:E.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:E._guessExecutionStatusRelativeTo,resolve:E.resolve,isConstantExpression:E.isConstantExpression,isInStrictMode:E.isInStrictMode,isDenylisted:_.isDenylisted,visit:_.visit,skip:_.skip,skipKey:_.skipKey,stop:_.stop,setContext:_.setContext,requeue:_.requeue,requeueComputedKeyAndDecorators:_.requeueComputedKeyAndDecorators,remove:A.remove,insertBefore:L.insertBefore,insertAfter:L.insertAfter,unshiftContainer:L.unshiftContainer,pushContainer:L.pushContainer,getOpposite:j.getOpposite,getCompletionRecords:j.getCompletionRecords,getSibling:j.getSibling,getPrevSibling:j.getPrevSibling,getNextSibling:j.getNextSibling,getAllNextSiblings:j.getAllNextSiblings,getAllPrevSiblings:j.getAllPrevSiblings,get:j.get,getAssignmentIdentifiers:j.getAssignmentIdentifiers,getBindingIdentifiers:j.getBindingIdentifiers,getOuterBindingIdentifiers:j.getOuterBindingIdentifiers,getBindingIdentifierPaths:j.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:j.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:F.shareCommentsWithSiblings,addComment:F.addComment,addComments:F.addComments};Object.assign(C.prototype,R),C.prototype.arrowFunctionToShadowed=v.arrowFunctionToShadowed,Object.assign(C.prototype,{has:E.has,is:E.is,isnt:E.isnt,equals:E.equals,hoist:L.hoist,updateSiblingKeys:L.updateSiblingKeys,call:_.call,isBlacklisted:_.isBlacklisted,setScope:_.setScope,resync:_.resync,popContext:_.popContext,pushContext:_.pushContext,setup:_.setup,setKey:_.setKey}),C.prototype._guessExecutionStatusRelativeToDifferentFunctions=E._guessExecutionStatusRelativeTo,C.prototype._guessExecutionStatusRelativeToDifferentFunctions=E._guessExecutionStatusRelativeTo,Object.assign(C.prototype,{_getTypeAnnotation:m._getTypeAnnotation,_replaceWith:y._replaceWith,_resolve:E._resolve,_call:_._call,_resyncParent:_._resyncParent,_resyncKey:_._resyncKey,_resyncList:_._resyncList,_resyncRemoved:_._resyncRemoved,_getQueueContexts:_._getQueueContexts,_removeFromScope:A._removeFromScope,_callRemovalHooks:A._callRemovalHooks,_remove:A._remove,_markRemoved:A._markRemoved,_assertUnremoved:A._assertUnremoved,_containerInsert:L._containerInsert,_containerInsertBefore:L._containerInsertBefore,_containerInsertAfter:L._containerInsertAfter,_verifyNodeList:L._verifyNodeList,_getKey:j._getKey,_getPattern:j._getPattern});for(let G of h.TYPES){let V=`is${G}`,B=h[V];C.prototype[V]=function(q){return B(this.node,q)},C.prototype[`assert${G}`]=function(q){if(!B(this.node,q))throw new TypeError(`Expected node path of type ${G}`)}}Object.assign(C.prototype,k);for(let G of Object.keys(n))G[0]!=="_"&&(h.TYPES.includes(G)||h.TYPES.push(G))},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/inference/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._getTypeAnnotation=C,e.baseTypeStrictlyMatches=function(G){let V=this.getTypeAnnotation(),B=G.getTypeAnnotation();return!i(V)&&f(V)?B.type===V.type:!1},e.couldBeBaseType=function(G){let V=this.getTypeAnnotation();if(i(V))return!0;if(j(V)){for(let B of V.types)if(i(B)||R(G,B,!0))return!0;return!1}return R(G,V,!0)},e.getTypeAnnotation=function(){let G=this.getData("typeAnnotation");return G??(G=C.call(this)||p(),(L(G)||S(G))&&(G=G.typeAnnotation),this.setData("typeAnnotation",G),G)},e.isBaseType=function(G,V){return R(G,this.getTypeAnnotation(),V)},e.isGenericType=function(G){let V=this.getTypeAnnotation();return G==="Array"&&(E(V)||o(V)||A(V))?!0:b(V)&&m(V.id,{name:G})||_(V)&&m(V.typeName,{name:G})};var n=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/inference/inferers.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{anyTypeAnnotation:p,isAnyTypeAnnotation:i,isArrayTypeAnnotation:o,isBooleanTypeAnnotation:h,isEmptyTypeAnnotation:d,isFlowBaseAnnotation:f,isGenericTypeAnnotation:b,isIdentifier:m,isMixedTypeAnnotation:y,isNumberTypeAnnotation:x,isStringTypeAnnotation:v,isTSArrayType:E,isTSTypeAnnotation:S,isTSTypeReference:_,isTupleTypeAnnotation:A,isTypeAnnotation:L,isUnionTypeAnnotation:j,isVoidTypeAnnotation:F,stringTypeAnnotation:k,voidTypeAnnotation:U}=c,z=new WeakSet;function C(){let G=this.node;if(G){if(G.typeAnnotation)return G.typeAnnotation;if(!z.has(G)){z.add(G);try{var V;let B=n[G.type];if(B)return B.call(this,G);if(B=n[this.parentPath.type],(V=B)!=null&&V.validParent)return this.parentPath.getTypeAnnotation()}finally{z.delete(G)}}}else if(this.key==="init"&&this.parentPath.isVariableDeclarator()){let B=this.parentPath.parentPath,q=B.parentPath;return B.key==="left"&&q.isForInStatement()?k():B.key==="left"&&q.isForOfStatement()?p():U()}}function R(G,V,B){if(G==="string")return v(V);if(G==="number")return x(V);if(G==="boolean")return h(V);if(G==="any")return i(V);if(G==="mixed")return y(V);if(G==="empty")return d(V);if(G==="void")return F(V);if(B)return!1;throw new Error(`Unknown base type ${G}`)}},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(m){if(!this.isReferenced())return;let y=this.scope.getBinding(m.name);if(y)return y.identifier.typeAnnotation?y.identifier.typeAnnotation:(function(x,v,E){let S=[],_=[],A=d(x,v,_),L=b(x,v,E);if(L){let j=d(x,L.ifStatement);A=A.filter((F=>!j.includes(F))),S.push(L.typeAnnotation)}if(A.length){A.push(..._);for(let j of A)S.push(j.getTypeAnnotation())}if(S.length)return(0,c.createUnionType)(S)})(y,this,m.name);if(m.name==="undefined")return h();if(m.name==="NaN"||m.name==="Infinity")return o();m.name};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/inference/util.js");let{BOOLEAN_NUMBER_BINARY_OPERATORS:p,createTypeAnnotationBasedOnTypeof:i,numberTypeAnnotation:o,voidTypeAnnotation:h}=n;function d(m,y,x){let v=m.constantViolations.slice();return v.unshift(m.path),v.filter((E=>{let S=(E=E.resolve())._guessExecutionStatusRelativeTo(y);return x&&S==="unknown"&&x.push(E),S==="before"}))}function f(m,y){let x=y.node.operator,v=y.get("right").resolve(),E=y.get("left").resolve(),S,_,A;if(E.isIdentifier({name:m})?S=v:v.isIdentifier({name:m})&&(S=E),S)return x==="==="?S.getTypeAnnotation():p.includes(x)?o():void 0;if(x!=="==="&&x!=="=="||(E.isUnaryExpression({operator:"typeof"})?(_=E,A=v):v.isUnaryExpression({operator:"typeof"})&&(_=v,A=E),!_)||!_.get("argument").isIdentifier({name:m})||(A=A.resolve(),!A.isLiteral()))return;let L=A.node.value;return typeof L=="string"?i(L):void 0}function b(m,y,x){let v=(function(_,A,L){let j;for(;j=A.parentPath;){if(j.isIfStatement()||j.isConditionalExpression())return A.key==="test"?void 0:j;if(j.isFunction()&&j.parentPath.scope.getBinding(L)!==_)return;A=j}})(m,y,x);if(!v)return;let E=[v.get("test")],S=[];for(let _=0;_<E.length;_++){let A=E[_];if(A.isLogicalExpression())A.node.operator==="&&"&&(E.push(A.get("left")),E.push(A.get("right")));else if(A.isBinaryExpression()){let L=f(x,A);L&&S.push(L)}}return S.length?{typeAnnotation:(0,c.createUnionType)(S),ifStatement:v}:b(m,v,x)}},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/inference/inferers.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ArrayExpression=C,e.AssignmentExpression=function(){return this.get("right").getTypeAnnotation()},e.BinaryExpression=function($){let W=$.operator;if(h.includes(W))return _();if(i.includes(W))return y();if(W==="+"){let Z=this.get("right"),Q=this.get("left");return Q.isBaseType("number")&&Z.isBaseType("number")?_():Q.isBaseType("string")||Z.isBaseType("string")?A():j([A(),_()])}},e.BooleanLiteral=function(){return y()},e.CallExpression=function(){let{callee:$}=this.node;return V($)?m(A()):G($)||B($)||k($,{name:"Array"})?m(b()):q($)?m(L([A(),b()])):K(this.get("callee"))},e.ConditionalExpression=function(){let $=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,p.createUnionType)($)},e.ClassDeclaration=e.ClassExpression=e.FunctionDeclaration=e.ArrowFunctionExpression=e.FunctionExpression=function(){return v(E("Function"))},Object.defineProperty(e,"Identifier",{enumerable:!0,get:function(){return c.default}}),e.LogicalExpression=function(){let $=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,p.createUnionType)($)},e.NewExpression=function($){if($.callee.type==="Identifier")return v($.callee)},e.NullLiteral=function(){return S()},e.NumericLiteral=function(){return _()},e.ObjectExpression=function(){return v(E("Object"))},e.ParenthesizedExpression=function(){return this.get("expression").getTypeAnnotation()},e.RegExpLiteral=function(){return v(E("RegExp"))},e.RestElement=R,e.SequenceExpression=function(){return this.get("expressions").pop().getTypeAnnotation()},e.StringLiteral=function(){return A()},e.TSAsExpression=z,e.TSNonNullExpression=function(){return this.get("expression").getTypeAnnotation()},e.TaggedTemplateExpression=function(){return K(this.get("tag"))},e.TemplateLiteral=function(){return A()},e.TypeCastExpression=U,e.UnaryExpression=function($){let W=$.operator;if(W==="void")return F();if(d.includes(W))return _();if(f.includes(W))return A();if(o.includes(W))return y()},e.UpdateExpression=function($){let W=$.operator;if(W==="++"||W==="--")return _()},e.VariableDeclarator=function(){if(this.get("id").isIdentifier())return this.get("init").getTypeAnnotation()};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/inference/util.js");let{BOOLEAN_BINARY_OPERATORS:i,BOOLEAN_UNARY_OPERATORS:o,NUMBER_BINARY_OPERATORS:h,NUMBER_UNARY_OPERATORS:d,STRING_UNARY_OPERATORS:f,anyTypeAnnotation:b,arrayTypeAnnotation:m,booleanTypeAnnotation:y,buildMatchMemberExpression:x,genericTypeAnnotation:v,identifier:E,nullLiteralTypeAnnotation:S,numberTypeAnnotation:_,stringTypeAnnotation:A,tupleTypeAnnotation:L,unionTypeAnnotation:j,voidTypeAnnotation:F,isIdentifier:k}=n;function U($){return $.typeAnnotation}function z($){return $.typeAnnotation}function C(){return v(E("Array"))}function R(){return C()}U.validParent=!0,z.validParent=!0,R.validParent=!0;let G=x("Array.from"),V=x("Object.keys"),B=x("Object.values"),q=x("Object.entries");function K($){if(($=$.resolve()).isFunction()){let{node:W}=$;if(W.async)return W.generator?v(E("AsyncIterator")):v(E("Promise"));if(W.generator)return v(E("Iterator"));if($.node.returnType)return $.node.returnType}}},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/inference/util.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createUnionType=function(d){if(d.every((f=>o(f))))return c?c(d):i(d);if(d.every((f=>h(f)))&&p)return p(d)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{createFlowUnionType:c,createTSUnionType:p,createUnionTypeAnnotation:i,isFlowType:o,isTSType:h}=n},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/introspection.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._guessExecutionStatusRelativeTo=function(A){return S(this,A,new Map)},e._resolve=_,e.canHaveVariableDeclarationOrExpression=function(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()},e.canSwapBetweenExpressionAndStatement=function(A){return this.key!=="body"||!this.parentPath.isArrowFunctionExpression()?!1:this.isExpression()?i(A):this.isBlockStatement()?o(A):!1},e.getSource=function(){let A=this.node;if(A.end){let L=this.hub.getCode();if(L)return L.slice(A.start,A.end)}return""},e.isCompletionRecord=function(A){let L=this,j=!0;do{let{type:F,container:k}=L;if(!j&&(L.isFunction()||F==="StaticBlock"))return!!A;if(j=!1,Array.isArray(k)&&L.key!==k.length-1)return!1}while((L=L.parentPath)&&!L.isProgram()&&!L.isDoExpression());return!0},e.isConstantExpression=function(){if(this.isIdentifier()){let A=this.scope.getBinding(this.node.name);return!!A&&A.constant}if(this.isLiteral())return!this.isRegExpLiteral()&&(!this.isTemplateLiteral()||this.get("expressions").every((A=>A.isConstantExpression())));if(this.isUnaryExpression())return this.node.operator==="void"&&this.get("argument").isConstantExpression();if(this.isBinaryExpression()){let{operator:A}=this.node;return A!=="in"&&A!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return this.isMemberExpression()?!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0}):this.isCallExpression()?this.node.arguments.length===1&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral():!1},e.isInStrictMode=function(){return!!(this.isProgram()?this:this.parentPath).find((L=>{if(L.isProgram({sourceType:"module"})||L.isClass())return!0;if(L.isArrowFunctionExpression()&&!L.get("body").isBlockStatement())return!1;let j;if(L.isFunction())j=L.node.body;else{if(!L.isProgram())return!1;j=L.node}for(let F of j.directives)if(F.value.value==="use strict")return!0}))},e.isNodeType=function(A){return b(this.type,A)},e.isStatementOrBlock=function(){return!this.parentPath.isLabeledStatement()&&!i(this.container)&&c.includes(this.key)},e.isStatic=function(){return this.scope.isStatic(this.node)},e.matchesPattern=function(A,L){return m(this.node,A,L)},e.referencesImport=function(A,L){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===L||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?f(this.node.property,{value:L}):this.node.property.name===L)){let U=this.get("object");return U.isReferencedIdentifier()&&U.referencesImport(A,"*")}return!1}let j=this.scope.getBinding(this.node.name);if(!j||j.kind!=="module")return!1;let F=j.path,k=F.parentPath;return!k.isImportDeclaration()||k.node.source.value!==A?!1:!!(!L||F.isImportDefaultSpecifier()&&L==="default"||F.isImportNamespaceSpecifier()&&L==="*"||F.isImportSpecifier()&&h(F.node.imported,{name:L}))},e.resolve=function(A,L){return _.call(this,A,L)||this},e.willIMaybeExecuteBefore=function(A){return this._guessExecutionStatusRelativeTo(A)!=="after"};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{STATEMENT_OR_BLOCK_KEYS:c,VISITOR_KEYS:p,isBlockStatement:i,isExpression:o,isIdentifier:h,isLiteral:d,isStringLiteral:f,isType:b,matchesPattern:m}=n;function y(A){return A.isProgram()?A:(A.parentPath.scope.getFunctionParent()||A.parentPath.scope.getProgramParent()).path}function x(A,L){switch(A){case"LogicalExpression":case"AssignmentPattern":return L==="right";case"ConditionalExpression":case"IfStatement":return L==="consequent"||L==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return L==="body";case"ForStatement":return L==="body"||L==="update";case"SwitchStatement":return L==="cases";case"TryStatement":return L==="handler";case"OptionalMemberExpression":return L==="property";case"OptionalCallExpression":return L==="arguments";default:return!1}}function v(A,L){for(let j=0;j<L;j++){let F=A[j];if(x(F.parent.type,F.parentKey))return!0}return!1}e.has=function(A){var L;let j=(L=this.node)==null?void 0:L[A];return j&&Array.isArray(j)?!!j.length:!!j},e.is=e.has,e.isnt=function(A){return!this.has(A)},e.equals=function(A,L){return this.node[A]===L};let E=Symbol();function S(A,L,j){let F={this:y(A),target:y(L)};if(F.target.node!==F.this.node)return(function(V,B,q){let K,$=q.get(V.node);if($){if(K=$.get(B.node))return K===E?"unknown":K}else q.set(V.node,$=new Map);$.set(B.node,E);let W=(function(Z,Q,X){if(!Q.isFunctionDeclaration())return S(Z,Q,X)==="before"?"before":"unknown";if(Q.parentPath.isExportDeclaration())return"unknown";let ie=Q.scope.getBinding(Q.node.id.name);if(!ie.references)return"before";let oe=ie.referencePaths,be;for(let Ne of oe){if(Ne.find((Ke=>Ke.node===Q.node)))continue;if(Ne.key!=="callee"||!Ne.parentPath.isCallExpression())return"unknown";let Pe=S(Z,Ne,X);if(be&&be!==Pe)return"unknown";be=Pe}return be})(V,B,q);return $.set(B.node,W),W})(A,F.target,j);let k={target:L.getAncestry(),this:A.getAncestry()};if(k.target.includes(A))return"after";if(k.this.includes(L))return"before";let U,z={target:0,this:0};for(;!U&&z.this<k.this.length;){let V=k.this[z.this];z.target=k.target.indexOf(V),z.target>=0?U=V:z.this++}if(!U)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(v(k.this,z.this-1)||v(k.target,z.target-1))return"unknown";let C={this:k.this[z.this-1],target:k.target[z.target-1]};if(C.target.listKey&&C.this.listKey&&C.target.container===C.this.container)return C.target.key>C.this.key?"before":"after";let R=p[U.type],G=R.indexOf(C.this.parentKey);return R.indexOf(C.target.parentKey)>G?"before":"after"}function _(A,L){var j;if((j=L)==null||!j.includes(this))if((L=L||[]).push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(A,L)}else if(this.isReferencedIdentifier()){let F=this.scope.getBinding(this.node.name);if(!F||!F.constant||F.kind==="module")return;if(F.path!==this){let k=F.path.resolve(A,L);return this.find((U=>U.node===k.node))?void 0:k}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(A,L);if(A&&this.isMemberExpression()){let F=this.toComputedKey();if(!d(F))return;let k=F.value,U=this.get("object").resolve(A,L);if(U.isObjectExpression()){let z=U.get("properties");for(let C of z){if(!C.isProperty())continue;let R=C.get("key"),G=C.isnt("computed")&&R.isIdentifier({name:k});if(G=G||R.isLiteral({value:k}),G)return C.get("value").resolve(A,L)}}else if(U.isArrayExpression()&&!isNaN(+k)){let z=U.get("elements")[k];if(z)return z.resolve(A,L)}}}}},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/lib/hoister.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),c=n;let{react:p}=n,{cloneNode:i,jsxExpressionContainer:o,variableDeclaration:h,variableDeclarator:d}=c,f={ReferencedIdentifier(b,m){if(b.isJSXIdentifier()&&p.isCompatTag(b.node.name)&&!b.parentPath.isJSXMemberExpression())return;if(b.node.name==="this"){let x=b.scope;do if(x.path.isFunction()&&!x.path.isArrowFunctionExpression())break;while(x=x.parent);x&&m.breakOnScopePaths.push(x.path)}let y=b.scope.getBinding(b.node.name);if(y){for(let x of y.constantViolations)if(x.scope!==y.path.scope)return m.mutableBinding=!0,void b.stop();y===m.scope.getBinding(b.node.name)&&(m.bindings[b.node.name]=y)}}};e.default=class{constructor(b,m){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=m,this.path=b,this.attachAfter=!1}isCompatibleScope(b){for(let m of Object.keys(this.bindings)){let y=this.bindings[m];if(!b.bindingIdentifierEquals(m,y.identifier))return!1}return!0}getCompatibleScopes(){let b=this.path.scope;do if(!this.isCompatibleScope(b)||(this.scopes.push(b),this.breakOnScopePaths.includes(b.path)))break;while(b=b.parent)}getAttachmentPath(){let b=this._getAttachmentPath();if(!b)return;let m=b.scope;if(m.path===b&&(m=b.scope.parent),m.path.isProgram()||m.path.isFunction())for(let y of Object.keys(this.bindings)){if(!m.hasOwnBinding(y))continue;let x=this.bindings[y];if(!(x.kind==="param"||x.path.parentKey==="params")&&this.getAttachmentParentForPath(x.path).key>=b.key){this.attachAfter=!0,b=x.path;for(let v of x.constantViolations)this.getAttachmentParentForPath(v).key>b.key&&(b=v)}}return b}_getAttachmentPath(){let b=this.scopes.pop();if(b){if(b.path.isFunction()){if(!this.hasOwnParamBindings(b))return this.getNextScopeAttachmentParent();{if(this.scope===b)return;let m=b.path.get("body").get("body");for(let y=0;y<m.length;y++)if(!m[y].node._blockHoist)return m[y]}}else if(b.path.isProgram())return this.getNextScopeAttachmentParent()}}getNextScopeAttachmentParent(){let b=this.scopes.pop();if(b)return this.getAttachmentParentForPath(b.path)}getAttachmentParentForPath(b){do if(!b.parentPath||Array.isArray(b.container)&&b.isStatement())return b;while(b=b.parentPath)}hasOwnParamBindings(b){for(let m of Object.keys(this.bindings)){if(!b.hasOwnBinding(m))continue;let y=this.bindings[m];if(y.kind==="param"&&y.constant)return!0}return!1}run(){if(this.path.traverse(f,this),this.mutableBinding)return;this.getCompatibleScopes();let b=this.getAttachmentPath();if(!b||b.getFunctionParent()===this.path.getFunctionParent())return;let m=b.scope.generateUidIdentifier("ref"),y=d(m,this.path.node),x=this.attachAfter?"insertAfter":"insertBefore",[v]=b[x]([b.isVariableDeclarator()?y:h("var",[y])]),E=this.path.parentPath;return E.isJSXElement()&&this.path.container===E.node.children&&(m=o(m)),this.path.replaceWith(i(m)),b.isVariableDeclarator()?v.get("init"):v.get("declarations.0.init")}}},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hooks=void 0,e.hooks=[function(l,n){if(l.key==="test"&&(n.isWhile()||n.isSwitchCase())||l.key==="declaration"&&n.isExportDeclaration()||l.key==="body"&&n.isLabeledStatement()||l.listKey==="declarations"&&n.isVariableDeclaration()&&n.node.declarations.length===1||l.key==="expression"&&n.isExpressionStatement())return n.remove(),!0},function(l,n){if(n.isSequenceExpression()&&n.node.expressions.length===1)return n.replaceWith(n.node.expressions[0]),!0},function(l,n){if(n.isBinary())return l.key==="left"?n.replaceWith(n.node.right):n.replaceWith(n.node.left),!0},function(l,n){if(n.isIfStatement()&&l.key==="consequent"||l.key==="body"&&(n.isLoop()||n.isArrowFunctionExpression()))return l.replaceWith({type:"BlockStatement",body:[]}),!0}]},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isBindingIdentifier=function(){let{node:C,parent:R}=this,G=this.parentPath.parent;return b(C)&&c(C,R,G)},e.isBlockScoped=function(){return p(this.node)},e.isExpression=function(){return this.isIdentifier()?this.isReferencedIdentifier():o(this.node)},e.isFlow=function(){let{node:C}=this;return!!h(C)||(m(C)?C.importKind==="type"||C.importKind==="typeof":i(C)?C.exportKind==="type":!!y(C)&&(C.importKind==="type"||C.importKind==="typeof"))},e.isForAwaitStatement=function(){return U(this.node,{await:!0})},e.isGenerated=function(){return!this.isUser()},e.isPure=function(C){return this.scope.isPure(this.node,C)},e.isReferenced=function(){return _(this.node,this.parent)},e.isReferencedIdentifier=function(C){let{node:R,parent:G}=this;return!b(R,C)&&!v(G,C)&&(!x(R,C)||z(R.name))?!1:_(R,G,this.parentPath.parent)},e.isReferencedMemberExpression=function(){let{node:C,parent:R}=this;return E(C)&&_(C,R)},e.isRestProperty=function(){var C;return S(this.node)&&((C=this.parentPath)==null?void 0:C.isObjectPattern())},e.isScope=function(){return A(this.node,this.parent)},e.isSpreadProperty=function(){var C;return S(this.node)&&((C=this.parentPath)==null?void 0:C.isObjectExpression())},e.isStatement=function(){let{node:C,parent:R}=this;return L(C)?!(F(C)&&(f(R,{left:C})||d(R,{init:C}))):!1},e.isUser=function(){return this.node&&!!this.node.loc},e.isVar=function(){return j(this.node)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{isBinding:c,isBlockScoped:p,isExportDeclaration:i,isExpression:o,isFlow:h,isForStatement:d,isForXStatement:f,isIdentifier:b,isImportDeclaration:m,isImportSpecifier:y,isJSXIdentifier:x,isJSXMemberExpression:v,isMemberExpression:E,isRestElement:S,isReferenced:_,isScope:A,isStatement:L,isVar:j,isVariableDeclaration:F,react:k,isForOfStatement:U}=n,{isCompatTag:z}=k;e.isExistentialTypeParam=function(){throw new Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},e.isNumericLiteralTypeAnnotation=function(){throw new Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/lib/virtual-types.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Var=e.User=e.Statement=e.SpreadProperty=e.Scope=e.RestProperty=e.ReferencedMemberExpression=e.ReferencedIdentifier=e.Referenced=e.Pure=e.NumericLiteralTypeAnnotation=e.Generated=e.ForAwaitStatement=e.Flow=e.Expression=e.ExistentialTypeParam=e.BlockScoped=e.BindingIdentifier=void 0,e.ReferencedIdentifier=["Identifier","JSXIdentifier"],e.ReferencedMemberExpression=["MemberExpression"],e.BindingIdentifier=["Identifier"],e.Statement=["Statement"],e.Expression=["Expression"],e.Scope=["Scopable","Pattern"],e.Referenced=null,e.BlockScoped=null,e.Var=["VariableDeclaration"],e.User=null,e.Generated=null,e.Pure=null,e.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],e.RestProperty=["RestElement"],e.SpreadProperty=["RestElement"],e.ExistentialTypeParam=["ExistsTypeAnnotation"],e.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],e.ForAwaitStatement=["ForOfStatement"]},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/modification.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._containerInsert=U,e._containerInsertAfter=C,e._containerInsertBefore=z,e._verifyNodeList=B,e.insertAfter=function(q){if(o._assertUnremoved.call(this),this.isSequenceExpression())return R(this.get("expressions")).insertAfter(q);let K=B.call(this,q),{parentPath:$,parent:W}=this;if($.isExpressionStatement()||$.isLabeledStatement()||_(W)||$.isExportDefaultDeclaration()&&this.isDeclaration())return $.insertAfter(K.map((Z=>A(Z)?v(Z):Z)));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!$.isJSXElement()||$.isForStatement()&&this.key==="init"){let Z=this;if(Z.node){let Q=Z.node,{scope:X}=this;if(X.path.isPattern())return f(Q),Z.replaceWith(y(d([],Q),[])),Z.get("callee.body").insertAfter(K),[Z];if(G(Z))K.unshift(Q);else if(S(Q)&&F(Q.callee))K.unshift(Q),K.push(k());else if((function(ie,oe){if(!E(ie)||!L(ie.left))return!1;let be=oe.getBlockParent();return be.hasOwnBinding(ie.left.name)&&be.getOwnBinding(ie.left.name).constantViolations.length<=1})(Q,X))K.unshift(Q),K.push(x(Q.left));else if(X.isPure(Q,!0))K.push(Q);else{$.isMethod({computed:!0,key:Q})&&(X=X.parent);let ie=X.generateDeclaredUidIdentifier();K.unshift(v(b("=",x(ie),Q))),K.push(v(x(ie)))}}return this.replaceExpressionWithStatements(K)}if(Array.isArray(this.container))return C.call(this,K);if(this.isStatementOrBlock()){let Z=this.node,Q=Z&&(!this.isExpressionStatement()||Z.expression!=null);return this.replaceWith(m(Q?[Z]:[])),this.pushContainer("body",K)}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?")},e.insertBefore=function(q){o._assertUnremoved.call(this);let K=B.call(this,q),{parentPath:$,parent:W}=this;if($.isExpressionStatement()||$.isLabeledStatement()||_(W)||$.isExportDefaultDeclaration()&&this.isDeclaration())return $.insertBefore(K);if(this.isNodeType("Expression")&&!this.isJSXElement()||$.isForStatement()&&this.key==="init")return this.node&&K.push(this.node),this.replaceExpressionWithStatements(K);if(Array.isArray(this.container))return z.call(this,K);if(this.isStatementOrBlock()){let Z=this.node,Q=Z&&(!this.isExpressionStatement()||Z.expression!=null);return this.replaceWith(m(Q?[Z]:[])),this.unshiftContainer("body",K)}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?")},e.pushContainer=function(q,K){o._assertUnremoved.call(this);let $=B.call(this,K),W=this.node[q];return p.default.get({parentPath:this,parent:this.node,container:W,listKey:q,key:W.length}).setContext(this.context).replaceWithMultiple($)},e.unshiftContainer=function(q,K){o._assertUnremoved.call(this),K=B.call(this,K);let $=p.default.get({parentPath:this,parent:this.node,container:this.node[q],listKey:q,key:0}).setContext(this.context);return z.call($,K)},e.updateSiblingKeys=V;var n=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/cache.js"),c=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/lib/hoister.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/index.js"),i=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/context.js"),o=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/removal.js"),h=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{arrowFunctionExpression:d,assertExpression:f,assignmentExpression:b,blockStatement:m,callExpression:y,cloneNode:x,expressionStatement:v,isAssignmentExpression:E,isCallExpression:S,isExportNamedDeclaration:_,isExpression:A,isIdentifier:L,isSequenceExpression:j,isSuper:F,thisExpression:k}=h;function U(q,K){V.call(this,q,K.length);let $=[];this.container.splice(q,0,...K);for(let Q=0;Q<K.length;Q++){var W;let X=q+Q,ie=this.getSibling(X);$.push(ie),(W=this.context)!=null&&W.queue&&i.pushContext.call(ie,this.context)}let Z=i._getQueueContexts.call(this);for(let Q of $){i.setScope.call(Q),Q.debug("Inserted.");for(let X of Z)X.maybeQueue(Q,!0)}return $}function z(q){return U.call(this,this.key,q)}function C(q){return U.call(this,this.key+1,q)}let R=q=>q[q.length-1];function G(q){return j(q.parent)&&(R(q.parent.expressions)!==q.node||G(q.parentPath))}function V(q,K){if(!this.parent)return;let $=(0,n.getCachedPaths)(this.hub,this.parent)||[];for(let[,W]of $)typeof W.key=="number"&&W.container===this.container&&W.key>=q&&(W.key+=K)}function B(q){if(!q)return[];Array.isArray(q)||(q=[q]);for(let K=0;K<q.length;K++){let $=q[K],W;if($?typeof $!="object"?W="contains a non-object node":$.type?$ instanceof p.default&&(W="has a NodePath when it expected a raw object"):W="without a type":W="has falsy node",W){let Z=Array.isArray($)?"array":typeof $;throw new Error(`Node list ${W} with the index of ${K} and type of ${Z}`)}}return q}e.hoist=function(q=this.scope){return new c.default(this,q).run()}},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/removal.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._assertUnremoved=v,e._callRemovalHooks=m,e._markRemoved=x,e._remove=y,e._removeFromScope=b,e.remove=function(){var E;if(v.call(this),d.resync.call(this),m.call(this))return void x.call(this);(E=this.opts)!=null&&E.noScope||b.call(this),this.shareCommentsWithSiblings(),y.call(this),x.call(this)};var n=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js"),c=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/cache.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/replacement.js"),i=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/index.js"),o=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),h=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/modification.js"),d=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/context.js");let{getBindingIdentifiers:f}=o;function b(){let E=f(this.node,!1,!1,!0);Object.keys(E).forEach((S=>this.scope.removeBinding(S)))}function m(){if(this.parentPath){for(let E of n.hooks)if(E(this,this.parentPath))return!0}}function y(){Array.isArray(this.container)?(this.container.splice(this.key,1),h.updateSiblingKeys.call(this,this.key,-1)):p._replaceWith.call(this,null)}function x(){this._traverseFlags|=i.SHOULD_SKIP|i.REMOVED,this.parent&&(0,c.getCachedPaths)(this.hub,this.parent).delete(this.node),this.node=null}function v(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/replacement.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._replaceWith=oe,e.replaceExpressionWithStatements=function(Ne){f.resync.call(this);let Pe=[],Ke=be(Ne,Pe);if(Ke){for(let se of Pe)this.scope.push({id:se});return this.replaceWith(Ke)[0].get("expressions")}let We=this.getFunctionParent(),Oe=We==null?void 0:We.node.async,de=We==null?void 0:We.node.generator,xe=m([],v(Ne));this.replaceWith(S(xe,[]));let ye=this.get("callee");ye.get("body").scope.hoistVariables((se=>this.scope.push({id:se})));let ve=ye.getCompletionRecords();for(let se of ve){if(!se.isExpressionStatement())continue;let pe=se.findParent((nt=>nt.isLoop()));if(pe){let nt=pe.getData("expressionReplacementReturnUid");nt?nt=F(nt.name):(nt=ye.scope.generateDeclaredUidIdentifier("ret"),ye.get("body").pushContainer("body",Z(_(nt))),pe.setData("expressionReplacementReturnUid",nt)),se.get("expression").replaceWith(y("=",_(nt),se.node.expression))}else se.replaceWith(Z(se.node.expression))}ye.arrowFunctionToExpression();let he=ye,Te=Oe&&c.default.hasType(this.get("callee.body").node,"AwaitExpression",b),Ce=de&&c.default.hasType(this.get("callee.body").node,"YieldExpression",b);return Te&&(he.set("async",!0),Ce||this.replaceWith(x(this.node))),Ce&&(he.set("generator",!0),this.replaceWith(ie(this.node,!0))),he.get("body.body")},e.replaceInline=function(Ne){if(f.resync.call(this),Array.isArray(Ne)){if(Array.isArray(this.container)){Ne=o._verifyNodeList.call(this,Ne);let Pe=o._containerInsertAfter.call(this,Ne);return this.remove(),Pe}return this.replaceWithMultiple(Ne)}return this.replaceWith(Ne)},e.replaceWith=function(Ne){if(f.resync.call(this),this.removed)throw new Error("You can't replace this node, we've already removed it");let Pe=Ne instanceof p.default?Ne.node:Ne;if(!Pe)throw new Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===Pe)return[this];if(this.isProgram()&&!q(Pe))throw new Error("You can only replace a Program root node with another Program node");if(Array.isArray(Pe))throw new Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if(typeof Pe=="string")throw new Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let Ke="";if(this.isNodeType("Statement")&&G(Pe)&&(this.canHaveVariableDeclarationOrExpression()||this.canSwapBetweenExpressionAndStatement(Pe)||this.parentPath.isExportDefaultDeclaration()||(Pe=L(Pe),Ke="expression")),this.isNodeType("Expression")&&K(Pe)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(Pe))return this.replaceExpressionWithStatements([Pe]);let We=this.node;return We&&(z(Pe,We),W(We)),oe.call(this,Pe),this.type=Pe.type,f.setScope.call(this),this.requeue(),[Ke?this.get(Ke):this]},e.replaceWithMultiple=function(Ne){var Pe;f.resync.call(this),Ne=o._verifyNodeList.call(this,Ne),k(Ne[0],this.node),U(Ne[Ne.length-1],this.node),(Pe=(0,i.getCachedPaths)(this.hub,this.parent))==null||Pe.delete(this.node),this.node=this.container[this.key]=null;let Ke=this.insertAfter(Ne);return this.node?this.requeue():this.remove(),Ke},e.replaceWithSourceString=function(Ne){let Pe;f.resync.call(this);try{Ne=`(${Ne})`,Pe=(0,h.parse)(Ne)}catch(We){let Oe=We.loc;throw Oe&&(We.message+=` - make sure this is an expression.
|
|
`+(0,n.codeFrameColumns)(Ne,{start:{line:Oe.line,column:Oe.column+1}}),We.code="BABEL_REPLACE_SOURCE_ERROR"),We}let Ke=Pe.program.body[0].expression;return c.default.removeProperties(Ke),this.replaceWith(Ke)};var n=l("./stubs/babel-codeframe.js"),c=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/index.js"),i=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/cache.js"),o=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/modification.js"),h=l("./node_modules/.pnpm/@babel+parser@7.26.3/node_modules/@babel/parser/lib/index.js"),d=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),f=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/context.js");let{FUNCTION_TYPES:b,arrowFunctionExpression:m,assignmentExpression:y,awaitExpression:x,blockStatement:v,buildUndefinedNode:E,callExpression:S,cloneNode:_,conditionalExpression:A,expressionStatement:L,getBindingIdentifiers:j,identifier:F,inheritLeadingComments:k,inheritTrailingComments:U,inheritsComments:z,isBlockStatement:C,isEmptyStatement:R,isExpression:G,isExpressionStatement:V,isIfStatement:B,isProgram:q,isStatement:K,isVariableDeclaration:$,removeComments:W,returnStatement:Z,sequenceExpression:Q,validate:X,yieldExpression:ie}=d;function oe(Ne){var Pe;if(!this.container)throw new ReferenceError("Container is falsy");this.inList?X(this.parent,this.key,[Ne]):X(this.parent,this.key,Ne),this.debug(`Replace with ${Ne==null?void 0:Ne.type}`),(Pe=(0,i.getCachedPaths)(this.hub,this.parent))==null||Pe.set(Ne,this).delete(this.node),this.node=this.container[this.key]=Ne}function be(Ne,Pe){let Ke=[],We=!0;for(let Oe of Ne)if(R(Oe)||(We=!1),G(Oe))Ke.push(Oe);else if(V(Oe))Ke.push(Oe.expression);else if($(Oe)){if(Oe.kind!=="var")return;for(let de of Oe.declarations){let xe=j(de);for(let ye of Object.keys(xe))Pe.push(_(xe[ye]));de.init&&Ke.push(y("=",de.id,de.init))}We=!0}else if(B(Oe)){let de=Oe.consequent?be([Oe.consequent],Pe):E(),xe=Oe.alternate?be([Oe.alternate],Pe):E();if(!de||!xe)return;Ke.push(A(Oe.test,de,xe))}else if(C(Oe)){let de=be(Oe.body,Pe);if(!de)return;Ke.push(de)}else{if(!R(Oe))return;Ne.indexOf(Oe)===0&&(We=!0)}return We&&Ke.push(E()),Ke.length===1?Ke[0]:Q(Ke)}},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/scope/binding.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=class{constructor({identifier:l,scope:n,path:c,kind:p}){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=l,this.scope=n,this.path=c,this.kind=p,p!=="var"&&p!=="hoisted"||!(function(i){for(let{parentPath:o,key:h}=i;o;{parentPath:o,key:h}=o){if(o.isFunctionParent())return!1;if(o.isWhile()||o.isForXStatement()||o.isForStatement()&&h==="body")return!0}return!1})(c)||this.reassign(c),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(l){this.hasDeoptedValue||(this.hasValue=!0,this.value=l)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(l){this.constant=!1,this.constantViolations.includes(l)||this.constantViolations.push(l)}reference(l){this.referencePaths.includes(l)||(this.referenced=!0,this.references++,this.referencePaths.push(l))}dereference(){this.references--,this.referenced=!!this.references}}},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/scope/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/scope/lib/renamer.js"),c=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/index.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/scope/binding.js"),i=l("./node_modules/.pnpm/globals@11.12.0/node_modules/globals/index.js"),o=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),h=o,d=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/cache.js"),f=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/visitors.js");let{NOT_LOCAL_BINDING:b,assignmentExpression:m,callExpression:y,cloneNode:x,getBindingIdentifiers:v,identifier:E,isArrayExpression:S,isBinary:_,isCallExpression:A,isClass:L,isClassBody:j,isClassDeclaration:F,isExportAllDeclaration:k,isExportDefaultDeclaration:U,isExportNamedDeclaration:z,isFunctionDeclaration:C,isIdentifier:R,isImportDeclaration:G,isLiteral:V,isMemberExpression:B,isMethod:q,isModuleSpecifier:K,isNullLiteral:$,isObjectExpression:W,isProperty:Z,isPureish:Q,isRegExpLiteral:X,isSuper:ie,isTaggedTemplateExpression:oe,isTemplateLiteral:be,isThisExpression:Ne,isUnaryExpression:Pe,isVariableDeclaration:Ke,expressionStatement:We,matchesPattern:Oe,memberExpression:de,numericLiteral:xe,toIdentifier:ye,variableDeclaration:ve,variableDeclarator:he,isRecordExpression:Te,isTupleExpression:Ce,isObjectProperty:se,isTopicReference:pe,isMetaProperty:nt,isPrivateName:ft,isExportDeclaration:_t,buildUndefinedNode:Pt,sequenceExpression:ht}=o;function De(ge,fe){switch(ge==null?void 0:ge.type){default:var ee;if(G(ge)||_t(ge))if((k(ge)||z(ge)||G(ge))&&ge.source)De(ge.source,fe);else if((z(ge)||G(ge))&&(ee=ge.specifiers)!=null&&ee.length)for(let le of ge.specifiers)De(le,fe);else(U(ge)||z(ge))&&ge.declaration&&De(ge.declaration,fe);else K(ge)?De(ge.local,fe):!V(ge)||$(ge)||X(ge)||be(ge)||fe.push(ge.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":De(ge.object,fe),De(ge.property,fe);break;case"Identifier":case"JSXIdentifier":fe.push(ge.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":De(ge.callee,fe);break;case"ObjectExpression":case"ObjectPattern":for(let le of ge.properties)De(le,fe);break;case"SpreadElement":case"RestElement":case"UnaryExpression":case"UpdateExpression":De(ge.argument,fe);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":De(ge.key,fe);break;case"ThisExpression":fe.push("this");break;case"Super":fe.push("super");break;case"Import":fe.push("import");break;case"DoExpression":fe.push("do");break;case"YieldExpression":fe.push("yield"),De(ge.argument,fe);break;case"AwaitExpression":fe.push("await"),De(ge.argument,fe);break;case"AssignmentExpression":De(ge.left,fe);break;case"VariableDeclarator":case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":De(ge.id,fe);break;case"ParenthesizedExpression":De(ge.expression,fe);break;case"MetaProperty":De(ge.meta,fe),De(ge.property,fe);break;case"JSXElement":De(ge.openingElement,fe);break;case"JSXOpeningElement":De(ge.name,fe);break;case"JSXFragment":De(ge.openingFragment,fe);break;case"JSXOpeningFragment":fe.push("Fragment");break;case"JSXNamespacedName":De(ge.namespace,fe),De(ge.name,fe)}}let ze={ForStatement(ge){let fe=ge.get("init");if(fe.isVar()){let{scope:ee}=ge;(ee.getFunctionParent()||ee.getProgramParent()).registerBinding("var",fe)}},Declaration(ge){ge.isBlockScoped()||ge.isImportDeclaration()||ge.isExportDeclaration()||(ge.scope.getFunctionParent()||ge.scope.getProgramParent()).registerDeclaration(ge)},ImportDeclaration(ge){ge.scope.getBlockParent().registerDeclaration(ge)},ReferencedIdentifier(ge,fe){fe.references.push(ge)},ForXStatement(ge,fe){let ee=ge.get("left");if(ee.isPattern()||ee.isIdentifier())fe.constantViolations.push(ge);else if(ee.isVar()){let{scope:le}=ge;(le.getFunctionParent()||le.getProgramParent()).registerBinding("var",ee)}},ExportDeclaration:{exit(ge){let{node:fe,scope:ee}=ge;if(k(fe))return;let le=fe.declaration;if(F(le)||C(le)){let Se=le.id;if(!Se)return;let Ee=ee.getBinding(Se.name);Ee==null||Ee.reference(ge)}else if(Ke(le))for(let Se of le.declarations)for(let Ee of Object.keys(v(Se))){let Be=ee.getBinding(Ee);Be==null||Be.reference(ge)}}},LabeledStatement(ge){ge.scope.getBlockParent().registerDeclaration(ge)},AssignmentExpression(ge,fe){fe.assignments.push(ge)},UpdateExpression(ge,fe){fe.constantViolations.push(ge)},UnaryExpression(ge,fe){ge.node.operator==="delete"&&fe.constantViolations.push(ge)},BlockScoped(ge){let fe=ge.scope;if(fe.path===ge&&(fe=fe.parent),fe.getBlockParent().registerDeclaration(ge),ge.isClassDeclaration()&&ge.node.id){let ee=ge.node.id.name;ge.scope.bindings[ee]=ge.scope.parent.getBinding(ee)}},CatchClause(ge){ge.scope.registerBinding("let",ge)},Function(ge){let fe=ge.get("params");for(let ee of fe)ge.scope.registerBinding("param",ee);ge.isFunctionExpression()&&ge.node.id&&!ge.node.id[b]&&ge.scope.registerBinding("local",ge.get("id"),ge)},ClassExpression(ge){ge.node.id&&!ge.node.id[b]&&ge.scope.registerBinding("local",ge.get("id"),ge)},TSTypeAnnotation(ge){ge.skip()}},Ze=0;class tt{constructor(fe){this.uid=void 0,this.path=void 0,this.block=void 0,this.inited=void 0,this.labels=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:ee}=fe,le=d.scope.get(ee);if((le==null?void 0:le.path)===fe)return le;d.scope.set(ee,this),this.uid=Ze++,this.block=ee,this.path=fe,this.labels=new Map,this.inited=!1}get parent(){var fe;let ee,le=this.path;do{var Se;let Ee=le.key==="key"||le.listKey==="decorators";le=le.parentPath,Ee&&le.isMethod()&&(le=le.parentPath),(Se=le)!=null&&Se.isScope()&&(ee=le)}while(le&&!ee);return(fe=ee)==null?void 0:fe.scope}generateDeclaredUidIdentifier(fe){let ee=this.generateUidIdentifier(fe);return this.push({id:ee}),x(ee)}generateUidIdentifier(fe){return E(this.generateUid(fe))}generateUid(fe="temp"){let ee;fe=ye(fe).replace(/^_+/,"").replace(/\d+$/g,"");let le=1;do ee=`_${fe}`,le>1&&(ee+=le),le++;while(this.hasLabel(ee)||this.hasBinding(ee)||this.hasGlobal(ee)||this.hasReference(ee));let Se=this.getProgramParent();return Se.references[ee]=!0,Se.uids[ee]=!0,ee}generateUidBasedOnNode(fe,ee){let le=[];De(fe,le);let Se=le.join("$");return Se=Se.replace(/^_/,"")||ee||"ref",this.generateUid(Se.slice(0,20))}generateUidIdentifierBasedOnNode(fe,ee){return E(this.generateUidBasedOnNode(fe,ee))}isStatic(fe){if(Ne(fe)||ie(fe)||pe(fe))return!0;if(R(fe)){let ee=this.getBinding(fe.name);return ee?ee.constant:this.hasBinding(fe.name)}return!1}maybeGenerateMemoised(fe,ee){if(this.isStatic(fe))return null;{let le=this.generateUidIdentifierBasedOnNode(fe);return ee?le:(this.push({id:le}),x(le))}}checkBlockScopedCollisions(fe,ee,le,Se){if(ee!=="param"&&fe.kind!=="local"&&(ee==="let"||fe.kind==="let"||fe.kind==="const"||fe.kind==="module"||fe.kind==="param"&&ee==="const"))throw this.path.hub.buildError(Se,`Duplicate declaration "${le}"`,TypeError)}rename(fe,ee){let le=this.getBinding(fe);le&&(ee||(ee=this.generateUidIdentifier(fe).name),new n.default(le,fe,ee).rename(arguments[2]))}dump(){let fe="-".repeat(60);console.log(fe);let ee=this;do{console.log("#",ee.block.type);for(let le of Object.keys(ee.bindings)){let Se=ee.bindings[le];console.log(" -",le,{constant:Se.constant,references:Se.references,violations:Se.constantViolations.length,kind:Se.kind})}}while(ee=ee.parent);console.log(fe)}hasLabel(fe){return!!this.getLabel(fe)}getLabel(fe){return this.labels.get(fe)}registerLabel(fe){this.labels.set(fe.node.label.name,fe)}registerDeclaration(fe){if(fe.isLabeledStatement())this.registerLabel(fe);else if(fe.isFunctionDeclaration())this.registerBinding("hoisted",fe.get("id"),fe);else if(fe.isVariableDeclaration()){let ee=fe.get("declarations"),{kind:le}=fe.node;for(let Se of ee)this.registerBinding(le==="using"||le==="await using"?"const":le,Se)}else if(fe.isClassDeclaration()){if(fe.node.declare)return;this.registerBinding("let",fe)}else if(fe.isImportDeclaration()){let ee=fe.node.importKind==="type"||fe.node.importKind==="typeof",le=fe.get("specifiers");for(let Se of le){let Ee=ee||Se.isImportSpecifier()&&(Se.node.importKind==="type"||Se.node.importKind==="typeof");this.registerBinding(Ee?"unknown":"module",Se)}}else if(fe.isExportDeclaration()){let ee=fe.get("declaration");(ee.isClassDeclaration()||ee.isFunctionDeclaration()||ee.isVariableDeclaration())&&this.registerDeclaration(ee)}else this.registerBinding("unknown",fe)}buildUndefinedNode(){return Pt()}registerConstantViolation(fe){let ee=fe.getAssignmentIdentifiers();for(let Se of Object.keys(ee)){var le;(le=this.getBinding(Se))==null||le.reassign(fe)}}registerBinding(fe,ee,le=ee){if(!fe)throw new ReferenceError("no `kind`");if(ee.isVariableDeclaration()){let Be=ee.get("declarations");for(let Qe of Be)this.registerBinding(fe,Qe);return}let Se=this.getProgramParent(),Ee=ee.getOuterBindingIdentifiers(!0);for(let Be of Object.keys(Ee)){Se.references[Be]=!0;for(let Qe of Ee[Be]){let ce=this.getOwnBinding(Be);if(ce){if(ce.identifier===Qe)continue;this.checkBlockScopedCollisions(ce,fe,Be,Qe)}ce?ce.reassign(le):this.bindings[Be]=new p.default({identifier:Qe,scope:this,path:le,kind:fe})}}}addGlobal(fe){this.globals[fe.name]=fe}hasUid(fe){let ee=this;do if(ee.uids[fe])return!0;while(ee=ee.parent);return!1}hasGlobal(fe){let ee=this;do if(ee.globals[fe])return!0;while(ee=ee.parent);return!1}hasReference(fe){return!!this.getProgramParent().references[fe]}isPure(fe,ee){if(R(fe)){let Be=this.getBinding(fe.name);return!!Be&&(!ee||Be.constant)}if(Ne(fe)||nt(fe)||pe(fe)||ft(fe))return!0;var le,Se,Ee;if(L(fe))return!(fe.superClass&&!this.isPure(fe.superClass,ee))&&!(((le=fe.decorators)==null?void 0:le.length)>0)&&this.isPure(fe.body,ee);if(j(fe)){for(let Be of fe.body)if(!this.isPure(Be,ee))return!1;return!0}if(_(fe))return this.isPure(fe.left,ee)&&this.isPure(fe.right,ee);if(S(fe)||Ce(fe)){for(let Be of fe.elements)if(Be!==null&&!this.isPure(Be,ee))return!1;return!0}if(W(fe)||Te(fe)){for(let Be of fe.properties)if(!this.isPure(Be,ee))return!1;return!0}if(q(fe))return!(fe.computed&&!this.isPure(fe.key,ee))&&!(((Se=fe.decorators)==null?void 0:Se.length)>0);if(Z(fe))return!(fe.computed&&!this.isPure(fe.key,ee))&&!(((Ee=fe.decorators)==null?void 0:Ee.length)>0)&&!((se(fe)||fe.static)&&fe.value!==null&&!this.isPure(fe.value,ee));if(Pe(fe))return this.isPure(fe.argument,ee);if(be(fe)){for(let Be of fe.expressions)if(!this.isPure(Be,ee))return!1;return!0}return oe(fe)?Oe(fe.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(fe.quasi,ee):B(fe)?!fe.computed&&R(fe.object)&&fe.object.name==="Symbol"&&R(fe.property)&&fe.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:!0}):A(fe)?Oe(fe.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&fe.arguments.length===1&&h.isStringLiteral(fe.arguments[0]):Q(fe)}setData(fe,ee){return this.data[fe]=ee}getData(fe){let ee=this;do{let le=ee.data[fe];if(le!=null)return le}while(ee=ee.parent)}removeData(fe){let ee=this;do ee.data[fe]!=null&&(ee.data[fe]=null);while(ee=ee.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){let fe=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 ee=this;do{if(ee.crawling)return;if(ee.path.isProgram())break}while(ee=ee.parent);let le=ee,Se={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,fe.type!=="Program"&&(0,f.isExplodedVisitor)(ze)){for(let Be of ze.enter)Be.call(Se,fe,Se);let Ee=ze[fe.type];if(Ee)for(let Be of Ee.enter)Be.call(Se,fe,Se)}fe.traverse(ze,Se),this.crawling=!1;for(let Ee of Se.assignments){let Be=Ee.getAssignmentIdentifiers();for(let Qe of Object.keys(Be))Ee.scope.getBinding(Qe)||le.addGlobal(Be[Qe]);Ee.scope.registerConstantViolation(Ee)}for(let Ee of Se.references){let Be=Ee.scope.getBinding(Ee.node.name);Be?Be.reference(Ee):le.addGlobal(Ee.node)}for(let Ee of Se.constantViolations)Ee.scope.registerConstantViolation(Ee)}push(fe){let ee=this.path;ee.isPattern()?ee=this.getPatternParent().path:ee.isBlockStatement()||ee.isProgram()||(ee=this.getBlockParent().path),ee.isSwitchStatement()&&(ee=(this.getFunctionParent()||this.getProgramParent()).path);let{init:le,unique:Se,kind:Ee="var",id:Be}=fe;if(!le&&!Se&&(Ee==="var"||Ee==="let")&&ee.isFunction()&&!ee.node.name&&A(ee.parent,{callee:ee.node})&&ee.parent.arguments.length<=ee.node.params.length&&R(Be))return ee.pushContainer("params",Be),void ee.scope.registerBinding("param",ee.get("params")[ee.node.params.length-1]);(ee.isLoop()||ee.isCatchClause()||ee.isFunction())&&(ee.ensureBlock(),ee=ee.get("body"));let Qe=fe._blockHoist==null?2:fe._blockHoist,ce=`declaration:${Ee}:${Qe}`,$e=!Se&&ee.getData(ce);if(!$e){let Je=ve(Ee,[]);Je._blockHoist=Qe,[$e]=ee.unshiftContainer("body",[Je]),Se||ee.setData(ce,$e)}let et=he(Be,le),ut=$e.node.declarations.push(et);ee.scope.registerBinding(Ee,$e.get("declarations")[ut-1])}getProgramParent(){let fe=this;do if(fe.path.isProgram())return fe;while(fe=fe.parent);throw new Error("Couldn't find a Program")}getFunctionParent(){let fe=this;do if(fe.path.isFunctionParent())return fe;while(fe=fe.parent);return null}getBlockParent(){let fe=this;do if(fe.path.isBlockParent())return fe;while(fe=fe.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let fe=this;do if(!fe.path.isPattern())return fe.getBlockParent();while(fe=fe.parent.parent);throw new Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){let fe=Object.create(null),ee=this;do{for(let le of Object.keys(ee.bindings))!(le in fe)&&(fe[le]=ee.bindings[le]);ee=ee.parent}while(ee);return fe}bindingIdentifierEquals(fe,ee){return this.getBindingIdentifier(fe)===ee}getBinding(fe){let ee,le=this;do{let Ee=le.getOwnBinding(fe);var Se;if(Ee){if((Se=ee)==null||!Se.isPattern()||Ee.kind==="param"||Ee.kind==="local")return Ee}else if(!Ee&&fe==="arguments"&&le.path.isFunction()&&!le.path.isArrowFunctionExpression())break;ee=le.path}while(le=le.parent)}getOwnBinding(fe){return this.bindings[fe]}getBindingIdentifier(fe){var ee;return(ee=this.getBinding(fe))==null?void 0:ee.identifier}getOwnBindingIdentifier(fe){let ee=this.bindings[fe];return ee==null?void 0:ee.identifier}hasOwnBinding(fe){return!!this.getOwnBinding(fe)}hasBinding(fe,ee){if(!fe)return!1;let le,Se,Ee=this;do if(Ee.hasOwnBinding(fe))return!0;while(Ee=Ee.parent);return typeof ee=="object"?(le=ee.noGlobals,Se=ee.noUids):typeof ee=="boolean"&&(le=ee),!(Se||!this.hasUid(fe))||!(le||!tt.globals.includes(fe))||!(le||!tt.contextVariables.includes(fe))}parentHasBinding(fe,ee){var le;return(le=this.parent)==null?void 0:le.hasBinding(fe,ee)}moveBindingTo(fe,ee){let le=this.getBinding(fe);le&&(le.scope.removeOwnBinding(fe),le.scope=ee,ee.bindings[fe]=le)}removeOwnBinding(fe){delete this.bindings[fe]}removeBinding(fe){var ee;(ee=this.getBinding(fe))==null||ee.scope.removeOwnBinding(fe);let le=this;do le.uids[fe]&&(le.uids[fe]=!1);while(le=le.parent)}hoistVariables(fe=ee=>this.push({id:ee})){this.crawl();let ee=new Set;for(let le of Object.keys(this.bindings)){let Se=this.bindings[le];if(!Se)continue;let{path:Ee}=Se;if(!Ee.isVariableDeclarator())continue;let{parent:Be,parentPath:Qe}=Ee;if(Be.kind!=="var"||ee.has(Be))continue;let ce;ee.add(Ee.parent);let $e=[];for(let et of Be.declarations){ce!=null||(ce=et.id),et.init&&$e.push(m("=",et.id,et.init));let ut=Object.keys(v(et,!1,!0,!0));for(let Je of ut)fe(E(Je),et.init!=null)}if(Qe.parentPath.isFor({left:Be}))Qe.replaceWith(ce);else if($e.length===0)Qe.remove();else{let et=$e.length===1?$e[0]:ht($e);Qe.parentPath.isForStatement({init:Be})?Qe.replaceWith(et):Qe.replaceWith(We(et))}}}}e.default=tt,tt.globals=Object.keys(i.builtin),tt.contextVariables=["arguments","undefined","Infinity","NaN"],tt.prototype._renameFromMap=function(ge,fe,ee,le){ge[fe]&&(ge[ee]=le,ge[fe]=null)},tt.prototype.traverse=function(ge,fe,ee){(0,c.default)(ge,fe,this,ee,this.path)},tt.prototype._generateUid=function(ge,fe){let ee=ge;return fe>1&&(ee+=fe),`_${ee}`},tt.prototype.toArray=function(ge,fe,ee){if(R(ge)){let Ee=this.getBinding(ge.name);if(Ee!=null&&Ee.constant&&Ee.path.isGenericType("Array"))return ge}if(S(ge))return ge;if(R(ge,{name:"arguments"}))return y(de(de(de(E("Array"),E("prototype")),E("slice")),E("call")),[ge]);let le,Se=[ge];return fe===!0?le="toConsumableArray":typeof fe=="number"?(Se.push(xe(fe)),le="slicedToArray"):le="toArray",ee&&(Se.unshift(this.path.hub.addHelper(le)),le="maybeArrayLike"),y(this.path.hub.addHelper(le),Se)},tt.prototype.getAllBindingsOfKind=function(...ge){let fe=Object.create(null);for(let ee of ge){let le=this;do{for(let Se of Object.keys(le.bindings)){let Ee=le.bindings[Se];Ee.kind===ee&&(fe[Se]=Ee)}le=le.parent}while(le)}return fe},Object.defineProperties(tt.prototype,{parentBlock:{configurable:!0,enumerable:!0,get(){return this.path.parent}},hub:{configurable:!0,enumerable:!0,get(){return this.path.hub}}})},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/scope/lib/renamer.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),c=n,p=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/traverse-node.js"),i=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/visitors.js"),o=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/context.js");let{getAssignmentIdentifiers:h}=c,d={ReferencedIdentifier({node:f},b){f.name===b.oldName&&(f.name=b.newName)},Scope(f,b){f.scope.bindingIdentifierEquals(b.oldName,b.binding.identifier)||(f.skip(),f.isMethod()&&(f.requeueComputedKeyAndDecorators?f.requeueComputedKeyAndDecorators():o.requeueComputedKeyAndDecorators.call(f)))},ObjectProperty({node:f,scope:b},m){let{name:y}=f.key;var x;!f.shorthand||y!==m.oldName&&y!==m.newName||b.getBindingIdentifier(y)!==m.binding.identifier||(f.shorthand=!1,(x=f.extra)!=null&&x.shorthand&&(f.extra.shorthand=!1))},"AssignmentExpression|Declaration|VariableDeclarator"(f,b){if(f.isVariableDeclaration())return;let m=f.isAssignmentExpression()?h(f.node):f.getOuterBindingIdentifiers();for(let y in m)y===b.oldName&&(m[y].name=b.newName)}};e.default=class{constructor(f,b,m){this.newName=m,this.oldName=b,this.binding=f}maybeConvertFromExportDeclaration(f){let b=f.parentPath;if(b.isExportDeclaration()){if(b.isExportDefaultDeclaration()){let{declaration:m}=b.node;if(n.isDeclaration(m)&&!m.id)return}b.isExportAllDeclaration()||b.splitExportDeclaration()}}maybeConvertFromClassFunctionDeclaration(f){return f}maybeConvertFromClassFunctionExpression(f){return f}rename(){let{binding:f,oldName:b,newName:m}=this,{scope:y,path:x}=f,v=x.find((_=>_.isDeclaration()||_.isFunctionExpression()||_.isClassExpression()));v&&v.getOuterBindingIdentifiers()[b]===f.identifier&&this.maybeConvertFromExportDeclaration(v);let E=arguments[0]||y.block,S={discriminant:!0};n.isMethod(E)&&(E.computed&&(S.key=!0),n.isObjectMethod(E)||(S.decorators=!0)),(0,p.traverseNode)(E,(0,i.explode)(d),y,this,y.path,S),arguments[0]||(y.removeOwnBinding(b),y.bindings[m]=f,this.binding.identifier.name=m),v&&(this.maybeConvertFromClassFunctionDeclaration(x),this.maybeConvertFromClassFunctionExpression(x))}}},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/traverse-node.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.traverseNode=function(i,o,h,d,f,b,m){let y=p[i.type];if(!y)return!1;let x=new n.default(h,o,d,f);if(m)return(b==null||!b[f.parentKey])&&x.visitQueue([f]);for(let v of y)if((b==null||!b[v])&&x.visit(i,v))return!0;return!1};var n=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/context.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js");let{VISITOR_KEYS:p}=c},"./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/visitors.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.environmentVisitor=function(k){return E([F,k])},e.explode=y,e.isExplodedVisitor=m,e.merge=E,e.verify=x;var n=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/lib/virtual-types.js"),c=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js"),p=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js"),i=l("./node_modules/.pnpm/@babel+traverse@7.26.4/node_modules/@babel/traverse/lib/path/context.js");let{DEPRECATED_KEYS:o,DEPRECATED_ALIASES:h,FLIPPED_ALIAS_KEYS:d,TYPES:f,__internal__deprecationWarning:b}=p;function m(k){return k==null?void 0:k._exploded}function y(k){if(m(k))return k;k._exploded=!0;for(let U of Object.keys(k)){if(L(U))continue;let z=U.split("|");if(z.length===1)continue;let C=k[U];delete k[U];for(let R of z)k[R]=C}x(k),delete k.__esModule,(function(U){for(let z of Object.keys(U)){if(L(z))continue;let C=U[z];typeof C=="function"&&(U[z]={enter:C})}})(k),_(k);for(let U of Object.keys(k)){if(L(U)||!(U in n))continue;let z=k[U];for(let R of Object.keys(z))z[R]=A(U,z[R]);delete k[U];let C=n[U];if(C!==null)for(let R of C)k[R]?j(k[R],z):k[R]=z;else j(k,z)}for(let U of Object.keys(k)){if(L(U))continue;let z=d[U];if(U in o){let R=o[U];b(U,R,"Visitor "),z=[R]}else if(U in h){let R=h[U];b(U,R,"Visitor "),z=d[R]}if(!z)continue;let C=k[U];delete k[U];for(let R of z){let G=k[R];G?j(G,C):k[R]=Object.assign({},C)}}for(let U of Object.keys(k))L(U)||_(k[U]);return k}function x(k){if(!k._verified){if(typeof k=="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 U of Object.keys(k)){if(U!=="enter"&&U!=="exit"||v(U,k[U]),L(U))continue;if(!f.includes(U))throw new Error(`You gave us a visitor for the node type ${U} but it's not a valid type in @babel/traverse 7.26.4`);let z=k[U];if(typeof z=="object")for(let C of Object.keys(z)){if(C!=="enter"&&C!=="exit")throw new Error(`You passed \`traverse()\` a visitor object with the property ${U} that has the invalid property ${C}`);v(`${U}.${C}`,z[C])}}k._verified=!0}}function v(k,U){let z=[].concat(U);for(let C of z)if(typeof C!="function")throw new TypeError(`Non-function found defined in ${k} with type ${typeof C}`)}function E(k,U=[],z){let C={_verified:!0,_exploded:!0};Object.defineProperty(C,"_exploded",{enumerable:!1}),Object.defineProperty(C,"_verified",{enumerable:!1});for(let R=0;R<k.length;R++){let G=y(k[R]),V=U[R],B=G;(V||z)&&(B=S(B,V,z)),j(C,B);for(let q of Object.keys(G)){if(L(q))continue;let K=G[q];(V||z)&&(K=S(K,V,z)),j(C[q]||(C[q]={}),K)}}return C}function S(k,U,z){let C={};for(let R of["enter","exit"]){let G=k[R];Array.isArray(G)&&(G=G.map((function(V){let B=V;return U&&(B=function(q){V.call(U,q,U)}),z&&(B=z(U==null?void 0:U.key,R,B)),B!==V&&(B.toString=()=>V.toString()),B})),C[R]=G)}return C}function _(k){k.enter&&!Array.isArray(k.enter)&&(k.enter=[k.enter]),k.exit&&!Array.isArray(k.exit)&&(k.exit=[k.exit])}function A(k,U){let z=c[`is${k}`],C=function(R){if(z.call(R))return U.apply(this,arguments)};return C.toString=()=>U.toString(),C}function L(k){return k[0]==="_"||k==="enter"||k==="exit"||k==="shouldSkip"||k==="denylist"||k==="noScope"||k==="skipKeys"||k==="blacklist"}function j(k,U){for(let z of["enter","exit"])U[z]&&(k[z]=[].concat(k[z]||[],U[z]))}let F={FunctionParent(k){k.isArrowFunctionExpression()||(k.skip(),k.isMethod()&&(k.requeueComputedKeyAndDecorators?k.requeueComputedKeyAndDecorators():i.requeueComputedKeyAndDecorators.call(k)))},Property(k){k.isObjectProperty()||(k.skip(),k.requeueComputedKeyAndDecorators?k.requeueComputedKeyAndDecorators():i.requeueComputedKeyAndDecorators.call(k))}}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/asserts/assertNode.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){if(!(0,n.default)(c)){var p;let i=(p=c==null?void 0:c.type)!=null?p:JSON.stringify(c);throw new TypeError(`Not a valid node of type "${i}"`)}};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isNode.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/asserts/generated/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assertAccessor=function(i,o){p("Accessor",i,o)},e.assertAnyTypeAnnotation=function(i,o){p("AnyTypeAnnotation",i,o)},e.assertArgumentPlaceholder=function(i,o){p("ArgumentPlaceholder",i,o)},e.assertArrayExpression=function(i,o){p("ArrayExpression",i,o)},e.assertArrayPattern=function(i,o){p("ArrayPattern",i,o)},e.assertArrayTypeAnnotation=function(i,o){p("ArrayTypeAnnotation",i,o)},e.assertArrowFunctionExpression=function(i,o){p("ArrowFunctionExpression",i,o)},e.assertAssignmentExpression=function(i,o){p("AssignmentExpression",i,o)},e.assertAssignmentPattern=function(i,o){p("AssignmentPattern",i,o)},e.assertAwaitExpression=function(i,o){p("AwaitExpression",i,o)},e.assertBigIntLiteral=function(i,o){p("BigIntLiteral",i,o)},e.assertBinary=function(i,o){p("Binary",i,o)},e.assertBinaryExpression=function(i,o){p("BinaryExpression",i,o)},e.assertBindExpression=function(i,o){p("BindExpression",i,o)},e.assertBlock=function(i,o){p("Block",i,o)},e.assertBlockParent=function(i,o){p("BlockParent",i,o)},e.assertBlockStatement=function(i,o){p("BlockStatement",i,o)},e.assertBooleanLiteral=function(i,o){p("BooleanLiteral",i,o)},e.assertBooleanLiteralTypeAnnotation=function(i,o){p("BooleanLiteralTypeAnnotation",i,o)},e.assertBooleanTypeAnnotation=function(i,o){p("BooleanTypeAnnotation",i,o)},e.assertBreakStatement=function(i,o){p("BreakStatement",i,o)},e.assertCallExpression=function(i,o){p("CallExpression",i,o)},e.assertCatchClause=function(i,o){p("CatchClause",i,o)},e.assertClass=function(i,o){p("Class",i,o)},e.assertClassAccessorProperty=function(i,o){p("ClassAccessorProperty",i,o)},e.assertClassBody=function(i,o){p("ClassBody",i,o)},e.assertClassDeclaration=function(i,o){p("ClassDeclaration",i,o)},e.assertClassExpression=function(i,o){p("ClassExpression",i,o)},e.assertClassImplements=function(i,o){p("ClassImplements",i,o)},e.assertClassMethod=function(i,o){p("ClassMethod",i,o)},e.assertClassPrivateMethod=function(i,o){p("ClassPrivateMethod",i,o)},e.assertClassPrivateProperty=function(i,o){p("ClassPrivateProperty",i,o)},e.assertClassProperty=function(i,o){p("ClassProperty",i,o)},e.assertCompletionStatement=function(i,o){p("CompletionStatement",i,o)},e.assertConditional=function(i,o){p("Conditional",i,o)},e.assertConditionalExpression=function(i,o){p("ConditionalExpression",i,o)},e.assertContinueStatement=function(i,o){p("ContinueStatement",i,o)},e.assertDebuggerStatement=function(i,o){p("DebuggerStatement",i,o)},e.assertDecimalLiteral=function(i,o){p("DecimalLiteral",i,o)},e.assertDeclaration=function(i,o){p("Declaration",i,o)},e.assertDeclareClass=function(i,o){p("DeclareClass",i,o)},e.assertDeclareExportAllDeclaration=function(i,o){p("DeclareExportAllDeclaration",i,o)},e.assertDeclareExportDeclaration=function(i,o){p("DeclareExportDeclaration",i,o)},e.assertDeclareFunction=function(i,o){p("DeclareFunction",i,o)},e.assertDeclareInterface=function(i,o){p("DeclareInterface",i,o)},e.assertDeclareModule=function(i,o){p("DeclareModule",i,o)},e.assertDeclareModuleExports=function(i,o){p("DeclareModuleExports",i,o)},e.assertDeclareOpaqueType=function(i,o){p("DeclareOpaqueType",i,o)},e.assertDeclareTypeAlias=function(i,o){p("DeclareTypeAlias",i,o)},e.assertDeclareVariable=function(i,o){p("DeclareVariable",i,o)},e.assertDeclaredPredicate=function(i,o){p("DeclaredPredicate",i,o)},e.assertDecorator=function(i,o){p("Decorator",i,o)},e.assertDirective=function(i,o){p("Directive",i,o)},e.assertDirectiveLiteral=function(i,o){p("DirectiveLiteral",i,o)},e.assertDoExpression=function(i,o){p("DoExpression",i,o)},e.assertDoWhileStatement=function(i,o){p("DoWhileStatement",i,o)},e.assertEmptyStatement=function(i,o){p("EmptyStatement",i,o)},e.assertEmptyTypeAnnotation=function(i,o){p("EmptyTypeAnnotation",i,o)},e.assertEnumBody=function(i,o){p("EnumBody",i,o)},e.assertEnumBooleanBody=function(i,o){p("EnumBooleanBody",i,o)},e.assertEnumBooleanMember=function(i,o){p("EnumBooleanMember",i,o)},e.assertEnumDeclaration=function(i,o){p("EnumDeclaration",i,o)},e.assertEnumDefaultedMember=function(i,o){p("EnumDefaultedMember",i,o)},e.assertEnumMember=function(i,o){p("EnumMember",i,o)},e.assertEnumNumberBody=function(i,o){p("EnumNumberBody",i,o)},e.assertEnumNumberMember=function(i,o){p("EnumNumberMember",i,o)},e.assertEnumStringBody=function(i,o){p("EnumStringBody",i,o)},e.assertEnumStringMember=function(i,o){p("EnumStringMember",i,o)},e.assertEnumSymbolBody=function(i,o){p("EnumSymbolBody",i,o)},e.assertExistsTypeAnnotation=function(i,o){p("ExistsTypeAnnotation",i,o)},e.assertExportAllDeclaration=function(i,o){p("ExportAllDeclaration",i,o)},e.assertExportDeclaration=function(i,o){p("ExportDeclaration",i,o)},e.assertExportDefaultDeclaration=function(i,o){p("ExportDefaultDeclaration",i,o)},e.assertExportDefaultSpecifier=function(i,o){p("ExportDefaultSpecifier",i,o)},e.assertExportNamedDeclaration=function(i,o){p("ExportNamedDeclaration",i,o)},e.assertExportNamespaceSpecifier=function(i,o){p("ExportNamespaceSpecifier",i,o)},e.assertExportSpecifier=function(i,o){p("ExportSpecifier",i,o)},e.assertExpression=function(i,o){p("Expression",i,o)},e.assertExpressionStatement=function(i,o){p("ExpressionStatement",i,o)},e.assertExpressionWrapper=function(i,o){p("ExpressionWrapper",i,o)},e.assertFile=function(i,o){p("File",i,o)},e.assertFlow=function(i,o){p("Flow",i,o)},e.assertFlowBaseAnnotation=function(i,o){p("FlowBaseAnnotation",i,o)},e.assertFlowDeclaration=function(i,o){p("FlowDeclaration",i,o)},e.assertFlowPredicate=function(i,o){p("FlowPredicate",i,o)},e.assertFlowType=function(i,o){p("FlowType",i,o)},e.assertFor=function(i,o){p("For",i,o)},e.assertForInStatement=function(i,o){p("ForInStatement",i,o)},e.assertForOfStatement=function(i,o){p("ForOfStatement",i,o)},e.assertForStatement=function(i,o){p("ForStatement",i,o)},e.assertForXStatement=function(i,o){p("ForXStatement",i,o)},e.assertFunction=function(i,o){p("Function",i,o)},e.assertFunctionDeclaration=function(i,o){p("FunctionDeclaration",i,o)},e.assertFunctionExpression=function(i,o){p("FunctionExpression",i,o)},e.assertFunctionParent=function(i,o){p("FunctionParent",i,o)},e.assertFunctionTypeAnnotation=function(i,o){p("FunctionTypeAnnotation",i,o)},e.assertFunctionTypeParam=function(i,o){p("FunctionTypeParam",i,o)},e.assertGenericTypeAnnotation=function(i,o){p("GenericTypeAnnotation",i,o)},e.assertIdentifier=function(i,o){p("Identifier",i,o)},e.assertIfStatement=function(i,o){p("IfStatement",i,o)},e.assertImmutable=function(i,o){p("Immutable",i,o)},e.assertImport=function(i,o){p("Import",i,o)},e.assertImportAttribute=function(i,o){p("ImportAttribute",i,o)},e.assertImportDeclaration=function(i,o){p("ImportDeclaration",i,o)},e.assertImportDefaultSpecifier=function(i,o){p("ImportDefaultSpecifier",i,o)},e.assertImportExpression=function(i,o){p("ImportExpression",i,o)},e.assertImportNamespaceSpecifier=function(i,o){p("ImportNamespaceSpecifier",i,o)},e.assertImportOrExportDeclaration=function(i,o){p("ImportOrExportDeclaration",i,o)},e.assertImportSpecifier=function(i,o){p("ImportSpecifier",i,o)},e.assertIndexedAccessType=function(i,o){p("IndexedAccessType",i,o)},e.assertInferredPredicate=function(i,o){p("InferredPredicate",i,o)},e.assertInterfaceDeclaration=function(i,o){p("InterfaceDeclaration",i,o)},e.assertInterfaceExtends=function(i,o){p("InterfaceExtends",i,o)},e.assertInterfaceTypeAnnotation=function(i,o){p("InterfaceTypeAnnotation",i,o)},e.assertInterpreterDirective=function(i,o){p("InterpreterDirective",i,o)},e.assertIntersectionTypeAnnotation=function(i,o){p("IntersectionTypeAnnotation",i,o)},e.assertJSX=function(i,o){p("JSX",i,o)},e.assertJSXAttribute=function(i,o){p("JSXAttribute",i,o)},e.assertJSXClosingElement=function(i,o){p("JSXClosingElement",i,o)},e.assertJSXClosingFragment=function(i,o){p("JSXClosingFragment",i,o)},e.assertJSXElement=function(i,o){p("JSXElement",i,o)},e.assertJSXEmptyExpression=function(i,o){p("JSXEmptyExpression",i,o)},e.assertJSXExpressionContainer=function(i,o){p("JSXExpressionContainer",i,o)},e.assertJSXFragment=function(i,o){p("JSXFragment",i,o)},e.assertJSXIdentifier=function(i,o){p("JSXIdentifier",i,o)},e.assertJSXMemberExpression=function(i,o){p("JSXMemberExpression",i,o)},e.assertJSXNamespacedName=function(i,o){p("JSXNamespacedName",i,o)},e.assertJSXOpeningElement=function(i,o){p("JSXOpeningElement",i,o)},e.assertJSXOpeningFragment=function(i,o){p("JSXOpeningFragment",i,o)},e.assertJSXSpreadAttribute=function(i,o){p("JSXSpreadAttribute",i,o)},e.assertJSXSpreadChild=function(i,o){p("JSXSpreadChild",i,o)},e.assertJSXText=function(i,o){p("JSXText",i,o)},e.assertLVal=function(i,o){p("LVal",i,o)},e.assertLabeledStatement=function(i,o){p("LabeledStatement",i,o)},e.assertLiteral=function(i,o){p("Literal",i,o)},e.assertLogicalExpression=function(i,o){p("LogicalExpression",i,o)},e.assertLoop=function(i,o){p("Loop",i,o)},e.assertMemberExpression=function(i,o){p("MemberExpression",i,o)},e.assertMetaProperty=function(i,o){p("MetaProperty",i,o)},e.assertMethod=function(i,o){p("Method",i,o)},e.assertMiscellaneous=function(i,o){p("Miscellaneous",i,o)},e.assertMixedTypeAnnotation=function(i,o){p("MixedTypeAnnotation",i,o)},e.assertModuleDeclaration=function(i,o){(0,c.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),p("ModuleDeclaration",i,o)},e.assertModuleExpression=function(i,o){p("ModuleExpression",i,o)},e.assertModuleSpecifier=function(i,o){p("ModuleSpecifier",i,o)},e.assertNewExpression=function(i,o){p("NewExpression",i,o)},e.assertNoop=function(i,o){p("Noop",i,o)},e.assertNullLiteral=function(i,o){p("NullLiteral",i,o)},e.assertNullLiteralTypeAnnotation=function(i,o){p("NullLiteralTypeAnnotation",i,o)},e.assertNullableTypeAnnotation=function(i,o){p("NullableTypeAnnotation",i,o)},e.assertNumberLiteral=function(i,o){(0,c.default)("assertNumberLiteral","assertNumericLiteral"),p("NumberLiteral",i,o)},e.assertNumberLiteralTypeAnnotation=function(i,o){p("NumberLiteralTypeAnnotation",i,o)},e.assertNumberTypeAnnotation=function(i,o){p("NumberTypeAnnotation",i,o)},e.assertNumericLiteral=function(i,o){p("NumericLiteral",i,o)},e.assertObjectExpression=function(i,o){p("ObjectExpression",i,o)},e.assertObjectMember=function(i,o){p("ObjectMember",i,o)},e.assertObjectMethod=function(i,o){p("ObjectMethod",i,o)},e.assertObjectPattern=function(i,o){p("ObjectPattern",i,o)},e.assertObjectProperty=function(i,o){p("ObjectProperty",i,o)},e.assertObjectTypeAnnotation=function(i,o){p("ObjectTypeAnnotation",i,o)},e.assertObjectTypeCallProperty=function(i,o){p("ObjectTypeCallProperty",i,o)},e.assertObjectTypeIndexer=function(i,o){p("ObjectTypeIndexer",i,o)},e.assertObjectTypeInternalSlot=function(i,o){p("ObjectTypeInternalSlot",i,o)},e.assertObjectTypeProperty=function(i,o){p("ObjectTypeProperty",i,o)},e.assertObjectTypeSpreadProperty=function(i,o){p("ObjectTypeSpreadProperty",i,o)},e.assertOpaqueType=function(i,o){p("OpaqueType",i,o)},e.assertOptionalCallExpression=function(i,o){p("OptionalCallExpression",i,o)},e.assertOptionalIndexedAccessType=function(i,o){p("OptionalIndexedAccessType",i,o)},e.assertOptionalMemberExpression=function(i,o){p("OptionalMemberExpression",i,o)},e.assertParenthesizedExpression=function(i,o){p("ParenthesizedExpression",i,o)},e.assertPattern=function(i,o){p("Pattern",i,o)},e.assertPatternLike=function(i,o){p("PatternLike",i,o)},e.assertPipelineBareFunction=function(i,o){p("PipelineBareFunction",i,o)},e.assertPipelinePrimaryTopicReference=function(i,o){p("PipelinePrimaryTopicReference",i,o)},e.assertPipelineTopicExpression=function(i,o){p("PipelineTopicExpression",i,o)},e.assertPlaceholder=function(i,o){p("Placeholder",i,o)},e.assertPrivate=function(i,o){p("Private",i,o)},e.assertPrivateName=function(i,o){p("PrivateName",i,o)},e.assertProgram=function(i,o){p("Program",i,o)},e.assertProperty=function(i,o){p("Property",i,o)},e.assertPureish=function(i,o){p("Pureish",i,o)},e.assertQualifiedTypeIdentifier=function(i,o){p("QualifiedTypeIdentifier",i,o)},e.assertRecordExpression=function(i,o){p("RecordExpression",i,o)},e.assertRegExpLiteral=function(i,o){p("RegExpLiteral",i,o)},e.assertRegexLiteral=function(i,o){(0,c.default)("assertRegexLiteral","assertRegExpLiteral"),p("RegexLiteral",i,o)},e.assertRestElement=function(i,o){p("RestElement",i,o)},e.assertRestProperty=function(i,o){(0,c.default)("assertRestProperty","assertRestElement"),p("RestProperty",i,o)},e.assertReturnStatement=function(i,o){p("ReturnStatement",i,o)},e.assertScopable=function(i,o){p("Scopable",i,o)},e.assertSequenceExpression=function(i,o){p("SequenceExpression",i,o)},e.assertSpreadElement=function(i,o){p("SpreadElement",i,o)},e.assertSpreadProperty=function(i,o){(0,c.default)("assertSpreadProperty","assertSpreadElement"),p("SpreadProperty",i,o)},e.assertStandardized=function(i,o){p("Standardized",i,o)},e.assertStatement=function(i,o){p("Statement",i,o)},e.assertStaticBlock=function(i,o){p("StaticBlock",i,o)},e.assertStringLiteral=function(i,o){p("StringLiteral",i,o)},e.assertStringLiteralTypeAnnotation=function(i,o){p("StringLiteralTypeAnnotation",i,o)},e.assertStringTypeAnnotation=function(i,o){p("StringTypeAnnotation",i,o)},e.assertSuper=function(i,o){p("Super",i,o)},e.assertSwitchCase=function(i,o){p("SwitchCase",i,o)},e.assertSwitchStatement=function(i,o){p("SwitchStatement",i,o)},e.assertSymbolTypeAnnotation=function(i,o){p("SymbolTypeAnnotation",i,o)},e.assertTSAnyKeyword=function(i,o){p("TSAnyKeyword",i,o)},e.assertTSArrayType=function(i,o){p("TSArrayType",i,o)},e.assertTSAsExpression=function(i,o){p("TSAsExpression",i,o)},e.assertTSBaseType=function(i,o){p("TSBaseType",i,o)},e.assertTSBigIntKeyword=function(i,o){p("TSBigIntKeyword",i,o)},e.assertTSBooleanKeyword=function(i,o){p("TSBooleanKeyword",i,o)},e.assertTSCallSignatureDeclaration=function(i,o){p("TSCallSignatureDeclaration",i,o)},e.assertTSConditionalType=function(i,o){p("TSConditionalType",i,o)},e.assertTSConstructSignatureDeclaration=function(i,o){p("TSConstructSignatureDeclaration",i,o)},e.assertTSConstructorType=function(i,o){p("TSConstructorType",i,o)},e.assertTSDeclareFunction=function(i,o){p("TSDeclareFunction",i,o)},e.assertTSDeclareMethod=function(i,o){p("TSDeclareMethod",i,o)},e.assertTSEntityName=function(i,o){p("TSEntityName",i,o)},e.assertTSEnumDeclaration=function(i,o){p("TSEnumDeclaration",i,o)},e.assertTSEnumMember=function(i,o){p("TSEnumMember",i,o)},e.assertTSExportAssignment=function(i,o){p("TSExportAssignment",i,o)},e.assertTSExpressionWithTypeArguments=function(i,o){p("TSExpressionWithTypeArguments",i,o)},e.assertTSExternalModuleReference=function(i,o){p("TSExternalModuleReference",i,o)},e.assertTSFunctionType=function(i,o){p("TSFunctionType",i,o)},e.assertTSImportEqualsDeclaration=function(i,o){p("TSImportEqualsDeclaration",i,o)},e.assertTSImportType=function(i,o){p("TSImportType",i,o)},e.assertTSIndexSignature=function(i,o){p("TSIndexSignature",i,o)},e.assertTSIndexedAccessType=function(i,o){p("TSIndexedAccessType",i,o)},e.assertTSInferType=function(i,o){p("TSInferType",i,o)},e.assertTSInstantiationExpression=function(i,o){p("TSInstantiationExpression",i,o)},e.assertTSInterfaceBody=function(i,o){p("TSInterfaceBody",i,o)},e.assertTSInterfaceDeclaration=function(i,o){p("TSInterfaceDeclaration",i,o)},e.assertTSIntersectionType=function(i,o){p("TSIntersectionType",i,o)},e.assertTSIntrinsicKeyword=function(i,o){p("TSIntrinsicKeyword",i,o)},e.assertTSLiteralType=function(i,o){p("TSLiteralType",i,o)},e.assertTSMappedType=function(i,o){p("TSMappedType",i,o)},e.assertTSMethodSignature=function(i,o){p("TSMethodSignature",i,o)},e.assertTSModuleBlock=function(i,o){p("TSModuleBlock",i,o)},e.assertTSModuleDeclaration=function(i,o){p("TSModuleDeclaration",i,o)},e.assertTSNamedTupleMember=function(i,o){p("TSNamedTupleMember",i,o)},e.assertTSNamespaceExportDeclaration=function(i,o){p("TSNamespaceExportDeclaration",i,o)},e.assertTSNeverKeyword=function(i,o){p("TSNeverKeyword",i,o)},e.assertTSNonNullExpression=function(i,o){p("TSNonNullExpression",i,o)},e.assertTSNullKeyword=function(i,o){p("TSNullKeyword",i,o)},e.assertTSNumberKeyword=function(i,o){p("TSNumberKeyword",i,o)},e.assertTSObjectKeyword=function(i,o){p("TSObjectKeyword",i,o)},e.assertTSOptionalType=function(i,o){p("TSOptionalType",i,o)},e.assertTSParameterProperty=function(i,o){p("TSParameterProperty",i,o)},e.assertTSParenthesizedType=function(i,o){p("TSParenthesizedType",i,o)},e.assertTSPropertySignature=function(i,o){p("TSPropertySignature",i,o)},e.assertTSQualifiedName=function(i,o){p("TSQualifiedName",i,o)},e.assertTSRestType=function(i,o){p("TSRestType",i,o)},e.assertTSSatisfiesExpression=function(i,o){p("TSSatisfiesExpression",i,o)},e.assertTSStringKeyword=function(i,o){p("TSStringKeyword",i,o)},e.assertTSSymbolKeyword=function(i,o){p("TSSymbolKeyword",i,o)},e.assertTSThisType=function(i,o){p("TSThisType",i,o)},e.assertTSTupleType=function(i,o){p("TSTupleType",i,o)},e.assertTSType=function(i,o){p("TSType",i,o)},e.assertTSTypeAliasDeclaration=function(i,o){p("TSTypeAliasDeclaration",i,o)},e.assertTSTypeAnnotation=function(i,o){p("TSTypeAnnotation",i,o)},e.assertTSTypeAssertion=function(i,o){p("TSTypeAssertion",i,o)},e.assertTSTypeElement=function(i,o){p("TSTypeElement",i,o)},e.assertTSTypeLiteral=function(i,o){p("TSTypeLiteral",i,o)},e.assertTSTypeOperator=function(i,o){p("TSTypeOperator",i,o)},e.assertTSTypeParameter=function(i,o){p("TSTypeParameter",i,o)},e.assertTSTypeParameterDeclaration=function(i,o){p("TSTypeParameterDeclaration",i,o)},e.assertTSTypeParameterInstantiation=function(i,o){p("TSTypeParameterInstantiation",i,o)},e.assertTSTypePredicate=function(i,o){p("TSTypePredicate",i,o)},e.assertTSTypeQuery=function(i,o){p("TSTypeQuery",i,o)},e.assertTSTypeReference=function(i,o){p("TSTypeReference",i,o)},e.assertTSUndefinedKeyword=function(i,o){p("TSUndefinedKeyword",i,o)},e.assertTSUnionType=function(i,o){p("TSUnionType",i,o)},e.assertTSUnknownKeyword=function(i,o){p("TSUnknownKeyword",i,o)},e.assertTSVoidKeyword=function(i,o){p("TSVoidKeyword",i,o)},e.assertTaggedTemplateExpression=function(i,o){p("TaggedTemplateExpression",i,o)},e.assertTemplateElement=function(i,o){p("TemplateElement",i,o)},e.assertTemplateLiteral=function(i,o){p("TemplateLiteral",i,o)},e.assertTerminatorless=function(i,o){p("Terminatorless",i,o)},e.assertThisExpression=function(i,o){p("ThisExpression",i,o)},e.assertThisTypeAnnotation=function(i,o){p("ThisTypeAnnotation",i,o)},e.assertThrowStatement=function(i,o){p("ThrowStatement",i,o)},e.assertTopicReference=function(i,o){p("TopicReference",i,o)},e.assertTryStatement=function(i,o){p("TryStatement",i,o)},e.assertTupleExpression=function(i,o){p("TupleExpression",i,o)},e.assertTupleTypeAnnotation=function(i,o){p("TupleTypeAnnotation",i,o)},e.assertTypeAlias=function(i,o){p("TypeAlias",i,o)},e.assertTypeAnnotation=function(i,o){p("TypeAnnotation",i,o)},e.assertTypeCastExpression=function(i,o){p("TypeCastExpression",i,o)},e.assertTypeParameter=function(i,o){p("TypeParameter",i,o)},e.assertTypeParameterDeclaration=function(i,o){p("TypeParameterDeclaration",i,o)},e.assertTypeParameterInstantiation=function(i,o){p("TypeParameterInstantiation",i,o)},e.assertTypeScript=function(i,o){p("TypeScript",i,o)},e.assertTypeofTypeAnnotation=function(i,o){p("TypeofTypeAnnotation",i,o)},e.assertUnaryExpression=function(i,o){p("UnaryExpression",i,o)},e.assertUnaryLike=function(i,o){p("UnaryLike",i,o)},e.assertUnionTypeAnnotation=function(i,o){p("UnionTypeAnnotation",i,o)},e.assertUpdateExpression=function(i,o){p("UpdateExpression",i,o)},e.assertUserWhitespacable=function(i,o){p("UserWhitespacable",i,o)},e.assertV8IntrinsicIdentifier=function(i,o){p("V8IntrinsicIdentifier",i,o)},e.assertVariableDeclaration=function(i,o){p("VariableDeclaration",i,o)},e.assertVariableDeclarator=function(i,o){p("VariableDeclarator",i,o)},e.assertVariance=function(i,o){p("Variance",i,o)},e.assertVoidTypeAnnotation=function(i,o){p("VoidTypeAnnotation",i,o)},e.assertWhile=function(i,o){p("While",i,o)},e.assertWhileStatement=function(i,o){p("WhileStatement",i,o)},e.assertWithStatement=function(i,o){p("WithStatement",i,o)},e.assertYieldExpression=function(i,o){p("YieldExpression",i,o)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/is.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/utils/deprecationWarning.js");function p(i,o,h){if(!(0,n.default)(i,o,h))throw new Error(`Expected type "${i}" with option ${JSON.stringify(h)}, but instead got "${o.type}".`)}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p){let i=(0,c.default)(p);return i.length===1?i[0]:(0,n.unionTypeAnnotation)(i)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/generated/index.js");e.default=function(c){switch(c){case"string":return(0,n.stringTypeAnnotation)();case"number":return(0,n.numberTypeAnnotation)();case"undefined":return(0,n.voidTypeAnnotation)();case"boolean":return(0,n.booleanTypeAnnotation)();case"function":return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"));case"object":return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"));case"symbol":return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"));case"bigint":return(0,n.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+c)}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/generated/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.anyTypeAnnotation=function(){return{type:"AnyTypeAnnotation"}},e.argumentPlaceholder=function(){return{type:"ArgumentPlaceholder"}},e.arrayExpression=function(m=[]){let y={type:"ArrayExpression",elements:m},x=o.ArrayExpression;return i(x.elements,y,"elements",m,1),y},e.arrayPattern=function(m){let y={type:"ArrayPattern",elements:m},x=o.ArrayPattern;return i(x.elements,y,"elements",m,1),y},e.arrayTypeAnnotation=function(m){let y={type:"ArrayTypeAnnotation",elementType:m},x=o.ArrayTypeAnnotation;return i(x.elementType,y,"elementType",m,1),y},e.arrowFunctionExpression=function(m,y,x=!1){let v={type:"ArrowFunctionExpression",params:m,body:y,async:x,expression:null},E=o.ArrowFunctionExpression;return i(E.params,v,"params",m,1),i(E.body,v,"body",y,1),i(E.async,v,"async",x),v},e.assignmentExpression=function(m,y,x){let v={type:"AssignmentExpression",operator:m,left:y,right:x},E=o.AssignmentExpression;return i(E.operator,v,"operator",m),i(E.left,v,"left",y,1),i(E.right,v,"right",x,1),v},e.assignmentPattern=function(m,y){let x={type:"AssignmentPattern",left:m,right:y},v=o.AssignmentPattern;return i(v.left,x,"left",m,1),i(v.right,x,"right",y,1),x},e.awaitExpression=function(m){let y={type:"AwaitExpression",argument:m},x=o.AwaitExpression;return i(x.argument,y,"argument",m,1),y},e.bigIntLiteral=function(m){let y={type:"BigIntLiteral",value:m},x=o.BigIntLiteral;return i(x.value,y,"value",m),y},e.binaryExpression=function(m,y,x){let v={type:"BinaryExpression",operator:m,left:y,right:x},E=o.BinaryExpression;return i(E.operator,v,"operator",m),i(E.left,v,"left",y,1),i(E.right,v,"right",x,1),v},e.bindExpression=function(m,y){let x={type:"BindExpression",object:m,callee:y},v=o.BindExpression;return i(v.object,x,"object",m,1),i(v.callee,x,"callee",y,1),x},e.blockStatement=function(m,y=[]){let x={type:"BlockStatement",body:m,directives:y},v=o.BlockStatement;return i(v.body,x,"body",m,1),i(v.directives,x,"directives",y,1),x},e.booleanLiteral=function(m){let y={type:"BooleanLiteral",value:m},x=o.BooleanLiteral;return i(x.value,y,"value",m),y},e.booleanLiteralTypeAnnotation=function(m){let y={type:"BooleanLiteralTypeAnnotation",value:m},x=o.BooleanLiteralTypeAnnotation;return i(x.value,y,"value",m),y},e.booleanTypeAnnotation=function(){return{type:"BooleanTypeAnnotation"}},e.breakStatement=function(m=null){let y={type:"BreakStatement",label:m},x=o.BreakStatement;return i(x.label,y,"label",m,1),y},e.callExpression=function(m,y){let x={type:"CallExpression",callee:m,arguments:y},v=o.CallExpression;return i(v.callee,x,"callee",m,1),i(v.arguments,x,"arguments",y,1),x},e.catchClause=function(m=null,y){let x={type:"CatchClause",param:m,body:y},v=o.CatchClause;return i(v.param,x,"param",m,1),i(v.body,x,"body",y,1),x},e.classAccessorProperty=function(m,y=null,x=null,v=null,E=!1,S=!1){let _={type:"ClassAccessorProperty",key:m,value:y,typeAnnotation:x,decorators:v,computed:E,static:S},A=o.ClassAccessorProperty;return i(A.key,_,"key",m,1),i(A.value,_,"value",y,1),i(A.typeAnnotation,_,"typeAnnotation",x,1),i(A.decorators,_,"decorators",v,1),i(A.computed,_,"computed",E),i(A.static,_,"static",S),_},e.classBody=function(m){let y={type:"ClassBody",body:m},x=o.ClassBody;return i(x.body,y,"body",m,1),y},e.classDeclaration=function(m=null,y=null,x,v=null){let E={type:"ClassDeclaration",id:m,superClass:y,body:x,decorators:v},S=o.ClassDeclaration;return i(S.id,E,"id",m,1),i(S.superClass,E,"superClass",y,1),i(S.body,E,"body",x,1),i(S.decorators,E,"decorators",v,1),E},e.classExpression=function(m=null,y=null,x,v=null){let E={type:"ClassExpression",id:m,superClass:y,body:x,decorators:v},S=o.ClassExpression;return i(S.id,E,"id",m,1),i(S.superClass,E,"superClass",y,1),i(S.body,E,"body",x,1),i(S.decorators,E,"decorators",v,1),E},e.classImplements=function(m,y=null){let x={type:"ClassImplements",id:m,typeParameters:y},v=o.ClassImplements;return i(v.id,x,"id",m,1),i(v.typeParameters,x,"typeParameters",y,1),x},e.classMethod=function(m="method",y,x,v,E=!1,S=!1,_=!1,A=!1){let L={type:"ClassMethod",kind:m,key:y,params:x,body:v,computed:E,static:S,generator:_,async:A},j=o.ClassMethod;return i(j.kind,L,"kind",m),i(j.key,L,"key",y,1),i(j.params,L,"params",x,1),i(j.body,L,"body",v,1),i(j.computed,L,"computed",E),i(j.static,L,"static",S),i(j.generator,L,"generator",_),i(j.async,L,"async",A),L},e.classPrivateMethod=function(m="method",y,x,v,E=!1){let S={type:"ClassPrivateMethod",kind:m,key:y,params:x,body:v,static:E},_=o.ClassPrivateMethod;return i(_.kind,S,"kind",m),i(_.key,S,"key",y,1),i(_.params,S,"params",x,1),i(_.body,S,"body",v,1),i(_.static,S,"static",E),S},e.classPrivateProperty=function(m,y=null,x=null,v=!1){let E={type:"ClassPrivateProperty",key:m,value:y,decorators:x,static:v},S=o.ClassPrivateProperty;return i(S.key,E,"key",m,1),i(S.value,E,"value",y,1),i(S.decorators,E,"decorators",x,1),i(S.static,E,"static",v),E},e.classProperty=function(m,y=null,x=null,v=null,E=!1,S=!1){let _={type:"ClassProperty",key:m,value:y,typeAnnotation:x,decorators:v,computed:E,static:S},A=o.ClassProperty;return i(A.key,_,"key",m,1),i(A.value,_,"value",y,1),i(A.typeAnnotation,_,"typeAnnotation",x,1),i(A.decorators,_,"decorators",v,1),i(A.computed,_,"computed",E),i(A.static,_,"static",S),_},e.conditionalExpression=function(m,y,x){let v={type:"ConditionalExpression",test:m,consequent:y,alternate:x},E=o.ConditionalExpression;return i(E.test,v,"test",m,1),i(E.consequent,v,"consequent",y,1),i(E.alternate,v,"alternate",x,1),v},e.continueStatement=function(m=null){let y={type:"ContinueStatement",label:m},x=o.ContinueStatement;return i(x.label,y,"label",m,1),y},e.debuggerStatement=function(){return{type:"DebuggerStatement"}},e.decimalLiteral=function(m){let y={type:"DecimalLiteral",value:m},x=o.DecimalLiteral;return i(x.value,y,"value",m),y},e.declareClass=function(m,y=null,x=null,v){let E={type:"DeclareClass",id:m,typeParameters:y,extends:x,body:v},S=o.DeclareClass;return i(S.id,E,"id",m,1),i(S.typeParameters,E,"typeParameters",y,1),i(S.extends,E,"extends",x,1),i(S.body,E,"body",v,1),E},e.declareExportAllDeclaration=function(m,y=null){let x={type:"DeclareExportAllDeclaration",source:m,attributes:y},v=o.DeclareExportAllDeclaration;return i(v.source,x,"source",m,1),i(v.attributes,x,"attributes",y,1),x},e.declareExportDeclaration=function(m=null,y=null,x=null,v=null){let E={type:"DeclareExportDeclaration",declaration:m,specifiers:y,source:x,attributes:v},S=o.DeclareExportDeclaration;return i(S.declaration,E,"declaration",m,1),i(S.specifiers,E,"specifiers",y,1),i(S.source,E,"source",x,1),i(S.attributes,E,"attributes",v,1),E},e.declareFunction=function(m){let y={type:"DeclareFunction",id:m},x=o.DeclareFunction;return i(x.id,y,"id",m,1),y},e.declareInterface=function(m,y=null,x=null,v){let E={type:"DeclareInterface",id:m,typeParameters:y,extends:x,body:v},S=o.DeclareInterface;return i(S.id,E,"id",m,1),i(S.typeParameters,E,"typeParameters",y,1),i(S.extends,E,"extends",x,1),i(S.body,E,"body",v,1),E},e.declareModule=function(m,y,x=null){let v={type:"DeclareModule",id:m,body:y,kind:x},E=o.DeclareModule;return i(E.id,v,"id",m,1),i(E.body,v,"body",y,1),i(E.kind,v,"kind",x),v},e.declareModuleExports=function(m){let y={type:"DeclareModuleExports",typeAnnotation:m},x=o.DeclareModuleExports;return i(x.typeAnnotation,y,"typeAnnotation",m,1),y},e.declareOpaqueType=function(m,y=null,x=null){let v={type:"DeclareOpaqueType",id:m,typeParameters:y,supertype:x},E=o.DeclareOpaqueType;return i(E.id,v,"id",m,1),i(E.typeParameters,v,"typeParameters",y,1),i(E.supertype,v,"supertype",x,1),v},e.declareTypeAlias=function(m,y=null,x){let v={type:"DeclareTypeAlias",id:m,typeParameters:y,right:x},E=o.DeclareTypeAlias;return i(E.id,v,"id",m,1),i(E.typeParameters,v,"typeParameters",y,1),i(E.right,v,"right",x,1),v},e.declareVariable=function(m){let y={type:"DeclareVariable",id:m},x=o.DeclareVariable;return i(x.id,y,"id",m,1),y},e.declaredPredicate=function(m){let y={type:"DeclaredPredicate",value:m},x=o.DeclaredPredicate;return i(x.value,y,"value",m,1),y},e.decorator=function(m){let y={type:"Decorator",expression:m},x=o.Decorator;return i(x.expression,y,"expression",m,1),y},e.directive=function(m){let y={type:"Directive",value:m},x=o.Directive;return i(x.value,y,"value",m,1),y},e.directiveLiteral=function(m){let y={type:"DirectiveLiteral",value:m},x=o.DirectiveLiteral;return i(x.value,y,"value",m),y},e.doExpression=function(m,y=!1){let x={type:"DoExpression",body:m,async:y},v=o.DoExpression;return i(v.body,x,"body",m,1),i(v.async,x,"async",y),x},e.doWhileStatement=function(m,y){let x={type:"DoWhileStatement",test:m,body:y},v=o.DoWhileStatement;return i(v.test,x,"test",m,1),i(v.body,x,"body",y,1),x},e.emptyStatement=function(){return{type:"EmptyStatement"}},e.emptyTypeAnnotation=function(){return{type:"EmptyTypeAnnotation"}},e.enumBooleanBody=function(m){let y={type:"EnumBooleanBody",members:m,explicitType:null,hasUnknownMembers:null},x=o.EnumBooleanBody;return i(x.members,y,"members",m,1),y},e.enumBooleanMember=function(m){let y={type:"EnumBooleanMember",id:m,init:null},x=o.EnumBooleanMember;return i(x.id,y,"id",m,1),y},e.enumDeclaration=function(m,y){let x={type:"EnumDeclaration",id:m,body:y},v=o.EnumDeclaration;return i(v.id,x,"id",m,1),i(v.body,x,"body",y,1),x},e.enumDefaultedMember=function(m){let y={type:"EnumDefaultedMember",id:m},x=o.EnumDefaultedMember;return i(x.id,y,"id",m,1),y},e.enumNumberBody=function(m){let y={type:"EnumNumberBody",members:m,explicitType:null,hasUnknownMembers:null},x=o.EnumNumberBody;return i(x.members,y,"members",m,1),y},e.enumNumberMember=function(m,y){let x={type:"EnumNumberMember",id:m,init:y},v=o.EnumNumberMember;return i(v.id,x,"id",m,1),i(v.init,x,"init",y,1),x},e.enumStringBody=function(m){let y={type:"EnumStringBody",members:m,explicitType:null,hasUnknownMembers:null},x=o.EnumStringBody;return i(x.members,y,"members",m,1),y},e.enumStringMember=function(m,y){let x={type:"EnumStringMember",id:m,init:y},v=o.EnumStringMember;return i(v.id,x,"id",m,1),i(v.init,x,"init",y,1),x},e.enumSymbolBody=function(m){let y={type:"EnumSymbolBody",members:m,hasUnknownMembers:null},x=o.EnumSymbolBody;return i(x.members,y,"members",m,1),y},e.existsTypeAnnotation=function(){return{type:"ExistsTypeAnnotation"}},e.exportAllDeclaration=function(m){let y={type:"ExportAllDeclaration",source:m},x=o.ExportAllDeclaration;return i(x.source,y,"source",m,1),y},e.exportDefaultDeclaration=function(m){let y={type:"ExportDefaultDeclaration",declaration:m},x=o.ExportDefaultDeclaration;return i(x.declaration,y,"declaration",m,1),y},e.exportDefaultSpecifier=function(m){let y={type:"ExportDefaultSpecifier",exported:m},x=o.ExportDefaultSpecifier;return i(x.exported,y,"exported",m,1),y},e.exportNamedDeclaration=function(m=null,y=[],x=null){let v={type:"ExportNamedDeclaration",declaration:m,specifiers:y,source:x},E=o.ExportNamedDeclaration;return i(E.declaration,v,"declaration",m,1),i(E.specifiers,v,"specifiers",y,1),i(E.source,v,"source",x,1),v},e.exportNamespaceSpecifier=function(m){let y={type:"ExportNamespaceSpecifier",exported:m},x=o.ExportNamespaceSpecifier;return i(x.exported,y,"exported",m,1),y},e.exportSpecifier=function(m,y){let x={type:"ExportSpecifier",local:m,exported:y},v=o.ExportSpecifier;return i(v.local,x,"local",m,1),i(v.exported,x,"exported",y,1),x},e.expressionStatement=function(m){let y={type:"ExpressionStatement",expression:m},x=o.ExpressionStatement;return i(x.expression,y,"expression",m,1),y},e.file=function(m,y=null,x=null){let v={type:"File",program:m,comments:y,tokens:x},E=o.File;return i(E.program,v,"program",m,1),i(E.comments,v,"comments",y,1),i(E.tokens,v,"tokens",x),v},e.forInStatement=function(m,y,x){let v={type:"ForInStatement",left:m,right:y,body:x},E=o.ForInStatement;return i(E.left,v,"left",m,1),i(E.right,v,"right",y,1),i(E.body,v,"body",x,1),v},e.forOfStatement=function(m,y,x,v=!1){let E={type:"ForOfStatement",left:m,right:y,body:x,await:v},S=o.ForOfStatement;return i(S.left,E,"left",m,1),i(S.right,E,"right",y,1),i(S.body,E,"body",x,1),i(S.await,E,"await",v),E},e.forStatement=function(m=null,y=null,x=null,v){let E={type:"ForStatement",init:m,test:y,update:x,body:v},S=o.ForStatement;return i(S.init,E,"init",m,1),i(S.test,E,"test",y,1),i(S.update,E,"update",x,1),i(S.body,E,"body",v,1),E},e.functionDeclaration=function(m=null,y,x,v=!1,E=!1){let S={type:"FunctionDeclaration",id:m,params:y,body:x,generator:v,async:E},_=o.FunctionDeclaration;return i(_.id,S,"id",m,1),i(_.params,S,"params",y,1),i(_.body,S,"body",x,1),i(_.generator,S,"generator",v),i(_.async,S,"async",E),S},e.functionExpression=function(m=null,y,x,v=!1,E=!1){let S={type:"FunctionExpression",id:m,params:y,body:x,generator:v,async:E},_=o.FunctionExpression;return i(_.id,S,"id",m,1),i(_.params,S,"params",y,1),i(_.body,S,"body",x,1),i(_.generator,S,"generator",v),i(_.async,S,"async",E),S},e.functionTypeAnnotation=function(m=null,y,x=null,v){let E={type:"FunctionTypeAnnotation",typeParameters:m,params:y,rest:x,returnType:v},S=o.FunctionTypeAnnotation;return i(S.typeParameters,E,"typeParameters",m,1),i(S.params,E,"params",y,1),i(S.rest,E,"rest",x,1),i(S.returnType,E,"returnType",v,1),E},e.functionTypeParam=function(m=null,y){let x={type:"FunctionTypeParam",name:m,typeAnnotation:y},v=o.FunctionTypeParam;return i(v.name,x,"name",m,1),i(v.typeAnnotation,x,"typeAnnotation",y,1),x},e.genericTypeAnnotation=function(m,y=null){let x={type:"GenericTypeAnnotation",id:m,typeParameters:y},v=o.GenericTypeAnnotation;return i(v.id,x,"id",m,1),i(v.typeParameters,x,"typeParameters",y,1),x},e.identifier=function(m){let y={type:"Identifier",name:m},x=o.Identifier;return i(x.name,y,"name",m),y},e.ifStatement=function(m,y,x=null){let v={type:"IfStatement",test:m,consequent:y,alternate:x},E=o.IfStatement;return i(E.test,v,"test",m,1),i(E.consequent,v,"consequent",y,1),i(E.alternate,v,"alternate",x,1),v},e.import=function(){return{type:"Import"}},e.importAttribute=function(m,y){let x={type:"ImportAttribute",key:m,value:y},v=o.ImportAttribute;return i(v.key,x,"key",m,1),i(v.value,x,"value",y,1),x},e.importDeclaration=function(m,y){let x={type:"ImportDeclaration",specifiers:m,source:y},v=o.ImportDeclaration;return i(v.specifiers,x,"specifiers",m,1),i(v.source,x,"source",y,1),x},e.importDefaultSpecifier=function(m){let y={type:"ImportDefaultSpecifier",local:m},x=o.ImportDefaultSpecifier;return i(x.local,y,"local",m,1),y},e.importExpression=function(m,y=null){let x={type:"ImportExpression",source:m,options:y},v=o.ImportExpression;return i(v.source,x,"source",m,1),i(v.options,x,"options",y,1),x},e.importNamespaceSpecifier=function(m){let y={type:"ImportNamespaceSpecifier",local:m},x=o.ImportNamespaceSpecifier;return i(x.local,y,"local",m,1),y},e.importSpecifier=function(m,y){let x={type:"ImportSpecifier",local:m,imported:y},v=o.ImportSpecifier;return i(v.local,x,"local",m,1),i(v.imported,x,"imported",y,1),x},e.indexedAccessType=function(m,y){let x={type:"IndexedAccessType",objectType:m,indexType:y},v=o.IndexedAccessType;return i(v.objectType,x,"objectType",m,1),i(v.indexType,x,"indexType",y,1),x},e.inferredPredicate=function(){return{type:"InferredPredicate"}},e.interfaceDeclaration=function(m,y=null,x=null,v){let E={type:"InterfaceDeclaration",id:m,typeParameters:y,extends:x,body:v},S=o.InterfaceDeclaration;return i(S.id,E,"id",m,1),i(S.typeParameters,E,"typeParameters",y,1),i(S.extends,E,"extends",x,1),i(S.body,E,"body",v,1),E},e.interfaceExtends=function(m,y=null){let x={type:"InterfaceExtends",id:m,typeParameters:y},v=o.InterfaceExtends;return i(v.id,x,"id",m,1),i(v.typeParameters,x,"typeParameters",y,1),x},e.interfaceTypeAnnotation=function(m=null,y){let x={type:"InterfaceTypeAnnotation",extends:m,body:y},v=o.InterfaceTypeAnnotation;return i(v.extends,x,"extends",m,1),i(v.body,x,"body",y,1),x},e.interpreterDirective=function(m){let y={type:"InterpreterDirective",value:m},x=o.InterpreterDirective;return i(x.value,y,"value",m),y},e.intersectionTypeAnnotation=function(m){let y={type:"IntersectionTypeAnnotation",types:m},x=o.IntersectionTypeAnnotation;return i(x.types,y,"types",m,1),y},e.jSXAttribute=e.jsxAttribute=function(m,y=null){let x={type:"JSXAttribute",name:m,value:y},v=o.JSXAttribute;return i(v.name,x,"name",m,1),i(v.value,x,"value",y,1),x},e.jSXClosingElement=e.jsxClosingElement=function(m){let y={type:"JSXClosingElement",name:m},x=o.JSXClosingElement;return i(x.name,y,"name",m,1),y},e.jSXClosingFragment=e.jsxClosingFragment=function(){return{type:"JSXClosingFragment"}},e.jSXElement=e.jsxElement=function(m,y=null,x,v=null){let E={type:"JSXElement",openingElement:m,closingElement:y,children:x,selfClosing:v},S=o.JSXElement;return i(S.openingElement,E,"openingElement",m,1),i(S.closingElement,E,"closingElement",y,1),i(S.children,E,"children",x,1),i(S.selfClosing,E,"selfClosing",v),E},e.jSXEmptyExpression=e.jsxEmptyExpression=function(){return{type:"JSXEmptyExpression"}},e.jSXExpressionContainer=e.jsxExpressionContainer=function(m){let y={type:"JSXExpressionContainer",expression:m},x=o.JSXExpressionContainer;return i(x.expression,y,"expression",m,1),y},e.jSXFragment=e.jsxFragment=function(m,y,x){let v={type:"JSXFragment",openingFragment:m,closingFragment:y,children:x},E=o.JSXFragment;return i(E.openingFragment,v,"openingFragment",m,1),i(E.closingFragment,v,"closingFragment",y,1),i(E.children,v,"children",x,1),v},e.jSXIdentifier=e.jsxIdentifier=function(m){let y={type:"JSXIdentifier",name:m},x=o.JSXIdentifier;return i(x.name,y,"name",m),y},e.jSXMemberExpression=e.jsxMemberExpression=function(m,y){let x={type:"JSXMemberExpression",object:m,property:y},v=o.JSXMemberExpression;return i(v.object,x,"object",m,1),i(v.property,x,"property",y,1),x},e.jSXNamespacedName=e.jsxNamespacedName=function(m,y){let x={type:"JSXNamespacedName",namespace:m,name:y},v=o.JSXNamespacedName;return i(v.namespace,x,"namespace",m,1),i(v.name,x,"name",y,1),x},e.jSXOpeningElement=e.jsxOpeningElement=function(m,y,x=!1){let v={type:"JSXOpeningElement",name:m,attributes:y,selfClosing:x},E=o.JSXOpeningElement;return i(E.name,v,"name",m,1),i(E.attributes,v,"attributes",y,1),i(E.selfClosing,v,"selfClosing",x),v},e.jSXOpeningFragment=e.jsxOpeningFragment=function(){return{type:"JSXOpeningFragment"}},e.jSXSpreadAttribute=e.jsxSpreadAttribute=function(m){let y={type:"JSXSpreadAttribute",argument:m},x=o.JSXSpreadAttribute;return i(x.argument,y,"argument",m,1),y},e.jSXSpreadChild=e.jsxSpreadChild=function(m){let y={type:"JSXSpreadChild",expression:m},x=o.JSXSpreadChild;return i(x.expression,y,"expression",m,1),y},e.jSXText=e.jsxText=function(m){let y={type:"JSXText",value:m},x=o.JSXText;return i(x.value,y,"value",m),y},e.labeledStatement=function(m,y){let x={type:"LabeledStatement",label:m,body:y},v=o.LabeledStatement;return i(v.label,x,"label",m,1),i(v.body,x,"body",y,1),x},e.logicalExpression=function(m,y,x){let v={type:"LogicalExpression",operator:m,left:y,right:x},E=o.LogicalExpression;return i(E.operator,v,"operator",m),i(E.left,v,"left",y,1),i(E.right,v,"right",x,1),v},e.memberExpression=function(m,y,x=!1,v=null){let E={type:"MemberExpression",object:m,property:y,computed:x,optional:v},S=o.MemberExpression;return i(S.object,E,"object",m,1),i(S.property,E,"property",y,1),i(S.computed,E,"computed",x),i(S.optional,E,"optional",v),E},e.metaProperty=function(m,y){let x={type:"MetaProperty",meta:m,property:y},v=o.MetaProperty;return i(v.meta,x,"meta",m,1),i(v.property,x,"property",y,1),x},e.mixedTypeAnnotation=function(){return{type:"MixedTypeAnnotation"}},e.moduleExpression=function(m){let y={type:"ModuleExpression",body:m},x=o.ModuleExpression;return i(x.body,y,"body",m,1),y},e.newExpression=function(m,y){let x={type:"NewExpression",callee:m,arguments:y},v=o.NewExpression;return i(v.callee,x,"callee",m,1),i(v.arguments,x,"arguments",y,1),x},e.noop=function(){return{type:"Noop"}},e.nullLiteral=function(){return{type:"NullLiteral"}},e.nullLiteralTypeAnnotation=function(){return{type:"NullLiteralTypeAnnotation"}},e.nullableTypeAnnotation=function(m){let y={type:"NullableTypeAnnotation",typeAnnotation:m},x=o.NullableTypeAnnotation;return i(x.typeAnnotation,y,"typeAnnotation",m,1),y},e.numberLiteral=function(m){return(0,c.default)("NumberLiteral","NumericLiteral","The node type "),h(m)},e.numberLiteralTypeAnnotation=function(m){let y={type:"NumberLiteralTypeAnnotation",value:m},x=o.NumberLiteralTypeAnnotation;return i(x.value,y,"value",m),y},e.numberTypeAnnotation=function(){return{type:"NumberTypeAnnotation"}},e.numericLiteral=h,e.objectExpression=function(m){let y={type:"ObjectExpression",properties:m},x=o.ObjectExpression;return i(x.properties,y,"properties",m,1),y},e.objectMethod=function(m="method",y,x,v,E=!1,S=!1,_=!1){let A={type:"ObjectMethod",kind:m,key:y,params:x,body:v,computed:E,generator:S,async:_},L=o.ObjectMethod;return i(L.kind,A,"kind",m),i(L.key,A,"key",y,1),i(L.params,A,"params",x,1),i(L.body,A,"body",v,1),i(L.computed,A,"computed",E),i(L.generator,A,"generator",S),i(L.async,A,"async",_),A},e.objectPattern=function(m){let y={type:"ObjectPattern",properties:m},x=o.ObjectPattern;return i(x.properties,y,"properties",m,1),y},e.objectProperty=function(m,y,x=!1,v=!1,E=null){let S={type:"ObjectProperty",key:m,value:y,computed:x,shorthand:v,decorators:E},_=o.ObjectProperty;return i(_.key,S,"key",m,1),i(_.value,S,"value",y,1),i(_.computed,S,"computed",x),i(_.shorthand,S,"shorthand",v),i(_.decorators,S,"decorators",E,1),S},e.objectTypeAnnotation=function(m,y=[],x=[],v=[],E=!1){let S={type:"ObjectTypeAnnotation",properties:m,indexers:y,callProperties:x,internalSlots:v,exact:E},_=o.ObjectTypeAnnotation;return i(_.properties,S,"properties",m,1),i(_.indexers,S,"indexers",y,1),i(_.callProperties,S,"callProperties",x,1),i(_.internalSlots,S,"internalSlots",v,1),i(_.exact,S,"exact",E),S},e.objectTypeCallProperty=function(m){let y={type:"ObjectTypeCallProperty",value:m,static:null},x=o.ObjectTypeCallProperty;return i(x.value,y,"value",m,1),y},e.objectTypeIndexer=function(m=null,y,x,v=null){let E={type:"ObjectTypeIndexer",id:m,key:y,value:x,variance:v,static:null},S=o.ObjectTypeIndexer;return i(S.id,E,"id",m,1),i(S.key,E,"key",y,1),i(S.value,E,"value",x,1),i(S.variance,E,"variance",v,1),E},e.objectTypeInternalSlot=function(m,y,x,v,E){let S={type:"ObjectTypeInternalSlot",id:m,value:y,optional:x,static:v,method:E},_=o.ObjectTypeInternalSlot;return i(_.id,S,"id",m,1),i(_.value,S,"value",y,1),i(_.optional,S,"optional",x),i(_.static,S,"static",v),i(_.method,S,"method",E),S},e.objectTypeProperty=function(m,y,x=null){let v={type:"ObjectTypeProperty",key:m,value:y,variance:x,kind:null,method:null,optional:null,proto:null,static:null},E=o.ObjectTypeProperty;return i(E.key,v,"key",m,1),i(E.value,v,"value",y,1),i(E.variance,v,"variance",x,1),v},e.objectTypeSpreadProperty=function(m){let y={type:"ObjectTypeSpreadProperty",argument:m},x=o.ObjectTypeSpreadProperty;return i(x.argument,y,"argument",m,1),y},e.opaqueType=function(m,y=null,x=null,v){let E={type:"OpaqueType",id:m,typeParameters:y,supertype:x,impltype:v},S=o.OpaqueType;return i(S.id,E,"id",m,1),i(S.typeParameters,E,"typeParameters",y,1),i(S.supertype,E,"supertype",x,1),i(S.impltype,E,"impltype",v,1),E},e.optionalCallExpression=function(m,y,x){let v={type:"OptionalCallExpression",callee:m,arguments:y,optional:x},E=o.OptionalCallExpression;return i(E.callee,v,"callee",m,1),i(E.arguments,v,"arguments",y,1),i(E.optional,v,"optional",x),v},e.optionalIndexedAccessType=function(m,y){let x={type:"OptionalIndexedAccessType",objectType:m,indexType:y,optional:null},v=o.OptionalIndexedAccessType;return i(v.objectType,x,"objectType",m,1),i(v.indexType,x,"indexType",y,1),x},e.optionalMemberExpression=function(m,y,x=!1,v){let E={type:"OptionalMemberExpression",object:m,property:y,computed:x,optional:v},S=o.OptionalMemberExpression;return i(S.object,E,"object",m,1),i(S.property,E,"property",y,1),i(S.computed,E,"computed",x),i(S.optional,E,"optional",v),E},e.parenthesizedExpression=function(m){let y={type:"ParenthesizedExpression",expression:m},x=o.ParenthesizedExpression;return i(x.expression,y,"expression",m,1),y},e.pipelineBareFunction=function(m){let y={type:"PipelineBareFunction",callee:m},x=o.PipelineBareFunction;return i(x.callee,y,"callee",m,1),y},e.pipelinePrimaryTopicReference=function(){return{type:"PipelinePrimaryTopicReference"}},e.pipelineTopicExpression=function(m){let y={type:"PipelineTopicExpression",expression:m},x=o.PipelineTopicExpression;return i(x.expression,y,"expression",m,1),y},e.placeholder=function(m,y){let x={type:"Placeholder",expectedNode:m,name:y},v=o.Placeholder;return i(v.expectedNode,x,"expectedNode",m),i(v.name,x,"name",y,1),x},e.privateName=function(m){let y={type:"PrivateName",id:m},x=o.PrivateName;return i(x.id,y,"id",m,1),y},e.program=function(m,y=[],x="script",v=null){let E={type:"Program",body:m,directives:y,sourceType:x,interpreter:v},S=o.Program;return i(S.body,E,"body",m,1),i(S.directives,E,"directives",y,1),i(S.sourceType,E,"sourceType",x),i(S.interpreter,E,"interpreter",v,1),E},e.qualifiedTypeIdentifier=function(m,y){let x={type:"QualifiedTypeIdentifier",id:m,qualification:y},v=o.QualifiedTypeIdentifier;return i(v.id,x,"id",m,1),i(v.qualification,x,"qualification",y,1),x},e.recordExpression=function(m){let y={type:"RecordExpression",properties:m},x=o.RecordExpression;return i(x.properties,y,"properties",m,1),y},e.regExpLiteral=d,e.regexLiteral=function(m,y=""){return(0,c.default)("RegexLiteral","RegExpLiteral","The node type "),d(m,y)},e.restElement=f,e.restProperty=function(m){return(0,c.default)("RestProperty","RestElement","The node type "),f(m)},e.returnStatement=function(m=null){let y={type:"ReturnStatement",argument:m},x=o.ReturnStatement;return i(x.argument,y,"argument",m,1),y},e.sequenceExpression=function(m){let y={type:"SequenceExpression",expressions:m},x=o.SequenceExpression;return i(x.expressions,y,"expressions",m,1),y},e.spreadElement=b,e.spreadProperty=function(m){return(0,c.default)("SpreadProperty","SpreadElement","The node type "),b(m)},e.staticBlock=function(m){let y={type:"StaticBlock",body:m},x=o.StaticBlock;return i(x.body,y,"body",m,1),y},e.stringLiteral=function(m){let y={type:"StringLiteral",value:m},x=o.StringLiteral;return i(x.value,y,"value",m),y},e.stringLiteralTypeAnnotation=function(m){let y={type:"StringLiteralTypeAnnotation",value:m},x=o.StringLiteralTypeAnnotation;return i(x.value,y,"value",m),y},e.stringTypeAnnotation=function(){return{type:"StringTypeAnnotation"}},e.super=function(){return{type:"Super"}},e.switchCase=function(m=null,y){let x={type:"SwitchCase",test:m,consequent:y},v=o.SwitchCase;return i(v.test,x,"test",m,1),i(v.consequent,x,"consequent",y,1),x},e.switchStatement=function(m,y){let x={type:"SwitchStatement",discriminant:m,cases:y},v=o.SwitchStatement;return i(v.discriminant,x,"discriminant",m,1),i(v.cases,x,"cases",y,1),x},e.symbolTypeAnnotation=function(){return{type:"SymbolTypeAnnotation"}},e.taggedTemplateExpression=function(m,y){let x={type:"TaggedTemplateExpression",tag:m,quasi:y},v=o.TaggedTemplateExpression;return i(v.tag,x,"tag",m,1),i(v.quasi,x,"quasi",y,1),x},e.templateElement=function(m,y=!1){let x={type:"TemplateElement",value:m,tail:y},v=o.TemplateElement;return i(v.value,x,"value",m),i(v.tail,x,"tail",y),x},e.templateLiteral=function(m,y){let x={type:"TemplateLiteral",quasis:m,expressions:y},v=o.TemplateLiteral;return i(v.quasis,x,"quasis",m,1),i(v.expressions,x,"expressions",y,1),x},e.thisExpression=function(){return{type:"ThisExpression"}},e.thisTypeAnnotation=function(){return{type:"ThisTypeAnnotation"}},e.throwStatement=function(m){let y={type:"ThrowStatement",argument:m},x=o.ThrowStatement;return i(x.argument,y,"argument",m,1),y},e.topicReference=function(){return{type:"TopicReference"}},e.tryStatement=function(m,y=null,x=null){let v={type:"TryStatement",block:m,handler:y,finalizer:x},E=o.TryStatement;return i(E.block,v,"block",m,1),i(E.handler,v,"handler",y,1),i(E.finalizer,v,"finalizer",x,1),v},e.tSAnyKeyword=e.tsAnyKeyword=function(){return{type:"TSAnyKeyword"}},e.tSArrayType=e.tsArrayType=function(m){let y={type:"TSArrayType",elementType:m},x=o.TSArrayType;return i(x.elementType,y,"elementType",m,1),y},e.tSAsExpression=e.tsAsExpression=function(m,y){let x={type:"TSAsExpression",expression:m,typeAnnotation:y},v=o.TSAsExpression;return i(v.expression,x,"expression",m,1),i(v.typeAnnotation,x,"typeAnnotation",y,1),x},e.tSBigIntKeyword=e.tsBigIntKeyword=function(){return{type:"TSBigIntKeyword"}},e.tSBooleanKeyword=e.tsBooleanKeyword=function(){return{type:"TSBooleanKeyword"}},e.tSCallSignatureDeclaration=e.tsCallSignatureDeclaration=function(m=null,y,x=null){let v={type:"TSCallSignatureDeclaration",typeParameters:m,parameters:y,typeAnnotation:x},E=o.TSCallSignatureDeclaration;return i(E.typeParameters,v,"typeParameters",m,1),i(E.parameters,v,"parameters",y,1),i(E.typeAnnotation,v,"typeAnnotation",x,1),v},e.tSConditionalType=e.tsConditionalType=function(m,y,x,v){let E={type:"TSConditionalType",checkType:m,extendsType:y,trueType:x,falseType:v},S=o.TSConditionalType;return i(S.checkType,E,"checkType",m,1),i(S.extendsType,E,"extendsType",y,1),i(S.trueType,E,"trueType",x,1),i(S.falseType,E,"falseType",v,1),E},e.tSConstructSignatureDeclaration=e.tsConstructSignatureDeclaration=function(m=null,y,x=null){let v={type:"TSConstructSignatureDeclaration",typeParameters:m,parameters:y,typeAnnotation:x},E=o.TSConstructSignatureDeclaration;return i(E.typeParameters,v,"typeParameters",m,1),i(E.parameters,v,"parameters",y,1),i(E.typeAnnotation,v,"typeAnnotation",x,1),v},e.tSConstructorType=e.tsConstructorType=function(m=null,y,x=null){let v={type:"TSConstructorType",typeParameters:m,parameters:y,typeAnnotation:x},E=o.TSConstructorType;return i(E.typeParameters,v,"typeParameters",m,1),i(E.parameters,v,"parameters",y,1),i(E.typeAnnotation,v,"typeAnnotation",x,1),v},e.tSDeclareFunction=e.tsDeclareFunction=function(m=null,y=null,x,v=null){let E={type:"TSDeclareFunction",id:m,typeParameters:y,params:x,returnType:v},S=o.TSDeclareFunction;return i(S.id,E,"id",m,1),i(S.typeParameters,E,"typeParameters",y,1),i(S.params,E,"params",x,1),i(S.returnType,E,"returnType",v,1),E},e.tSDeclareMethod=e.tsDeclareMethod=function(m=null,y,x=null,v,E=null){let S={type:"TSDeclareMethod",decorators:m,key:y,typeParameters:x,params:v,returnType:E},_=o.TSDeclareMethod;return i(_.decorators,S,"decorators",m,1),i(_.key,S,"key",y,1),i(_.typeParameters,S,"typeParameters",x,1),i(_.params,S,"params",v,1),i(_.returnType,S,"returnType",E,1),S},e.tSEnumDeclaration=e.tsEnumDeclaration=function(m,y){let x={type:"TSEnumDeclaration",id:m,members:y},v=o.TSEnumDeclaration;return i(v.id,x,"id",m,1),i(v.members,x,"members",y,1),x},e.tSEnumMember=e.tsEnumMember=function(m,y=null){let x={type:"TSEnumMember",id:m,initializer:y},v=o.TSEnumMember;return i(v.id,x,"id",m,1),i(v.initializer,x,"initializer",y,1),x},e.tSExportAssignment=e.tsExportAssignment=function(m){let y={type:"TSExportAssignment",expression:m},x=o.TSExportAssignment;return i(x.expression,y,"expression",m,1),y},e.tSExpressionWithTypeArguments=e.tsExpressionWithTypeArguments=function(m,y=null){let x={type:"TSExpressionWithTypeArguments",expression:m,typeParameters:y},v=o.TSExpressionWithTypeArguments;return i(v.expression,x,"expression",m,1),i(v.typeParameters,x,"typeParameters",y,1),x},e.tSExternalModuleReference=e.tsExternalModuleReference=function(m){let y={type:"TSExternalModuleReference",expression:m},x=o.TSExternalModuleReference;return i(x.expression,y,"expression",m,1),y},e.tSFunctionType=e.tsFunctionType=function(m=null,y,x=null){let v={type:"TSFunctionType",typeParameters:m,parameters:y,typeAnnotation:x},E=o.TSFunctionType;return i(E.typeParameters,v,"typeParameters",m,1),i(E.parameters,v,"parameters",y,1),i(E.typeAnnotation,v,"typeAnnotation",x,1),v},e.tSImportEqualsDeclaration=e.tsImportEqualsDeclaration=function(m,y){let x={type:"TSImportEqualsDeclaration",id:m,moduleReference:y,isExport:null},v=o.TSImportEqualsDeclaration;return i(v.id,x,"id",m,1),i(v.moduleReference,x,"moduleReference",y,1),x},e.tSImportType=e.tsImportType=function(m,y=null,x=null){let v={type:"TSImportType",argument:m,qualifier:y,typeParameters:x},E=o.TSImportType;return i(E.argument,v,"argument",m,1),i(E.qualifier,v,"qualifier",y,1),i(E.typeParameters,v,"typeParameters",x,1),v},e.tSIndexSignature=e.tsIndexSignature=function(m,y=null){let x={type:"TSIndexSignature",parameters:m,typeAnnotation:y},v=o.TSIndexSignature;return i(v.parameters,x,"parameters",m,1),i(v.typeAnnotation,x,"typeAnnotation",y,1),x},e.tSIndexedAccessType=e.tsIndexedAccessType=function(m,y){let x={type:"TSIndexedAccessType",objectType:m,indexType:y},v=o.TSIndexedAccessType;return i(v.objectType,x,"objectType",m,1),i(v.indexType,x,"indexType",y,1),x},e.tSInferType=e.tsInferType=function(m){let y={type:"TSInferType",typeParameter:m},x=o.TSInferType;return i(x.typeParameter,y,"typeParameter",m,1),y},e.tSInstantiationExpression=e.tsInstantiationExpression=function(m,y=null){let x={type:"TSInstantiationExpression",expression:m,typeParameters:y},v=o.TSInstantiationExpression;return i(v.expression,x,"expression",m,1),i(v.typeParameters,x,"typeParameters",y,1),x},e.tSInterfaceBody=e.tsInterfaceBody=function(m){let y={type:"TSInterfaceBody",body:m},x=o.TSInterfaceBody;return i(x.body,y,"body",m,1),y},e.tSInterfaceDeclaration=e.tsInterfaceDeclaration=function(m,y=null,x=null,v){let E={type:"TSInterfaceDeclaration",id:m,typeParameters:y,extends:x,body:v},S=o.TSInterfaceDeclaration;return i(S.id,E,"id",m,1),i(S.typeParameters,E,"typeParameters",y,1),i(S.extends,E,"extends",x,1),i(S.body,E,"body",v,1),E},e.tSIntersectionType=e.tsIntersectionType=function(m){let y={type:"TSIntersectionType",types:m},x=o.TSIntersectionType;return i(x.types,y,"types",m,1),y},e.tSIntrinsicKeyword=e.tsIntrinsicKeyword=function(){return{type:"TSIntrinsicKeyword"}},e.tSLiteralType=e.tsLiteralType=function(m){let y={type:"TSLiteralType",literal:m},x=o.TSLiteralType;return i(x.literal,y,"literal",m,1),y},e.tSMappedType=e.tsMappedType=function(m,y=null,x=null){let v={type:"TSMappedType",typeParameter:m,typeAnnotation:y,nameType:x},E=o.TSMappedType;return i(E.typeParameter,v,"typeParameter",m,1),i(E.typeAnnotation,v,"typeAnnotation",y,1),i(E.nameType,v,"nameType",x,1),v},e.tSMethodSignature=e.tsMethodSignature=function(m,y=null,x,v=null){let E={type:"TSMethodSignature",key:m,typeParameters:y,parameters:x,typeAnnotation:v,kind:null},S=o.TSMethodSignature;return i(S.key,E,"key",m,1),i(S.typeParameters,E,"typeParameters",y,1),i(S.parameters,E,"parameters",x,1),i(S.typeAnnotation,E,"typeAnnotation",v,1),E},e.tSModuleBlock=e.tsModuleBlock=function(m){let y={type:"TSModuleBlock",body:m},x=o.TSModuleBlock;return i(x.body,y,"body",m,1),y},e.tSModuleDeclaration=e.tsModuleDeclaration=function(m,y){let x={type:"TSModuleDeclaration",id:m,body:y,kind:null},v=o.TSModuleDeclaration;return i(v.id,x,"id",m,1),i(v.body,x,"body",y,1),x},e.tSNamedTupleMember=e.tsNamedTupleMember=function(m,y,x=!1){let v={type:"TSNamedTupleMember",label:m,elementType:y,optional:x},E=o.TSNamedTupleMember;return i(E.label,v,"label",m,1),i(E.elementType,v,"elementType",y,1),i(E.optional,v,"optional",x),v},e.tSNamespaceExportDeclaration=e.tsNamespaceExportDeclaration=function(m){let y={type:"TSNamespaceExportDeclaration",id:m},x=o.TSNamespaceExportDeclaration;return i(x.id,y,"id",m,1),y},e.tSNeverKeyword=e.tsNeverKeyword=function(){return{type:"TSNeverKeyword"}},e.tSNonNullExpression=e.tsNonNullExpression=function(m){let y={type:"TSNonNullExpression",expression:m},x=o.TSNonNullExpression;return i(x.expression,y,"expression",m,1),y},e.tSNullKeyword=e.tsNullKeyword=function(){return{type:"TSNullKeyword"}},e.tSNumberKeyword=e.tsNumberKeyword=function(){return{type:"TSNumberKeyword"}},e.tSObjectKeyword=e.tsObjectKeyword=function(){return{type:"TSObjectKeyword"}},e.tSOptionalType=e.tsOptionalType=function(m){let y={type:"TSOptionalType",typeAnnotation:m},x=o.TSOptionalType;return i(x.typeAnnotation,y,"typeAnnotation",m,1),y},e.tSParameterProperty=e.tsParameterProperty=function(m){let y={type:"TSParameterProperty",parameter:m},x=o.TSParameterProperty;return i(x.parameter,y,"parameter",m,1),y},e.tSParenthesizedType=e.tsParenthesizedType=function(m){let y={type:"TSParenthesizedType",typeAnnotation:m},x=o.TSParenthesizedType;return i(x.typeAnnotation,y,"typeAnnotation",m,1),y},e.tSPropertySignature=e.tsPropertySignature=function(m,y=null){let x={type:"TSPropertySignature",key:m,typeAnnotation:y,kind:null},v=o.TSPropertySignature;return i(v.key,x,"key",m,1),i(v.typeAnnotation,x,"typeAnnotation",y,1),x},e.tSQualifiedName=e.tsQualifiedName=function(m,y){let x={type:"TSQualifiedName",left:m,right:y},v=o.TSQualifiedName;return i(v.left,x,"left",m,1),i(v.right,x,"right",y,1),x},e.tSRestType=e.tsRestType=function(m){let y={type:"TSRestType",typeAnnotation:m},x=o.TSRestType;return i(x.typeAnnotation,y,"typeAnnotation",m,1),y},e.tSSatisfiesExpression=e.tsSatisfiesExpression=function(m,y){let x={type:"TSSatisfiesExpression",expression:m,typeAnnotation:y},v=o.TSSatisfiesExpression;return i(v.expression,x,"expression",m,1),i(v.typeAnnotation,x,"typeAnnotation",y,1),x},e.tSStringKeyword=e.tsStringKeyword=function(){return{type:"TSStringKeyword"}},e.tSSymbolKeyword=e.tsSymbolKeyword=function(){return{type:"TSSymbolKeyword"}},e.tSThisType=e.tsThisType=function(){return{type:"TSThisType"}},e.tSTupleType=e.tsTupleType=function(m){let y={type:"TSTupleType",elementTypes:m},x=o.TSTupleType;return i(x.elementTypes,y,"elementTypes",m,1),y},e.tSTypeAliasDeclaration=e.tsTypeAliasDeclaration=function(m,y=null,x){let v={type:"TSTypeAliasDeclaration",id:m,typeParameters:y,typeAnnotation:x},E=o.TSTypeAliasDeclaration;return i(E.id,v,"id",m,1),i(E.typeParameters,v,"typeParameters",y,1),i(E.typeAnnotation,v,"typeAnnotation",x,1),v},e.tSTypeAnnotation=e.tsTypeAnnotation=function(m){let y={type:"TSTypeAnnotation",typeAnnotation:m},x=o.TSTypeAnnotation;return i(x.typeAnnotation,y,"typeAnnotation",m,1),y},e.tSTypeAssertion=e.tsTypeAssertion=function(m,y){let x={type:"TSTypeAssertion",typeAnnotation:m,expression:y},v=o.TSTypeAssertion;return i(v.typeAnnotation,x,"typeAnnotation",m,1),i(v.expression,x,"expression",y,1),x},e.tSTypeLiteral=e.tsTypeLiteral=function(m){let y={type:"TSTypeLiteral",members:m},x=o.TSTypeLiteral;return i(x.members,y,"members",m,1),y},e.tSTypeOperator=e.tsTypeOperator=function(m){let y={type:"TSTypeOperator",typeAnnotation:m,operator:null},x=o.TSTypeOperator;return i(x.typeAnnotation,y,"typeAnnotation",m,1),y},e.tSTypeParameter=e.tsTypeParameter=function(m=null,y=null,x){let v={type:"TSTypeParameter",constraint:m,default:y,name:x},E=o.TSTypeParameter;return i(E.constraint,v,"constraint",m,1),i(E.default,v,"default",y,1),i(E.name,v,"name",x),v},e.tSTypeParameterDeclaration=e.tsTypeParameterDeclaration=function(m){let y={type:"TSTypeParameterDeclaration",params:m},x=o.TSTypeParameterDeclaration;return i(x.params,y,"params",m,1),y},e.tSTypeParameterInstantiation=e.tsTypeParameterInstantiation=function(m){let y={type:"TSTypeParameterInstantiation",params:m},x=o.TSTypeParameterInstantiation;return i(x.params,y,"params",m,1),y},e.tSTypePredicate=e.tsTypePredicate=function(m,y=null,x=null){let v={type:"TSTypePredicate",parameterName:m,typeAnnotation:y,asserts:x},E=o.TSTypePredicate;return i(E.parameterName,v,"parameterName",m,1),i(E.typeAnnotation,v,"typeAnnotation",y,1),i(E.asserts,v,"asserts",x),v},e.tSTypeQuery=e.tsTypeQuery=function(m,y=null){let x={type:"TSTypeQuery",exprName:m,typeParameters:y},v=o.TSTypeQuery;return i(v.exprName,x,"exprName",m,1),i(v.typeParameters,x,"typeParameters",y,1),x},e.tSTypeReference=e.tsTypeReference=function(m,y=null){let x={type:"TSTypeReference",typeName:m,typeParameters:y},v=o.TSTypeReference;return i(v.typeName,x,"typeName",m,1),i(v.typeParameters,x,"typeParameters",y,1),x},e.tSUndefinedKeyword=e.tsUndefinedKeyword=function(){return{type:"TSUndefinedKeyword"}},e.tSUnionType=e.tsUnionType=function(m){let y={type:"TSUnionType",types:m},x=o.TSUnionType;return i(x.types,y,"types",m,1),y},e.tSUnknownKeyword=e.tsUnknownKeyword=function(){return{type:"TSUnknownKeyword"}},e.tSVoidKeyword=e.tsVoidKeyword=function(){return{type:"TSVoidKeyword"}},e.tupleExpression=function(m=[]){let y={type:"TupleExpression",elements:m},x=o.TupleExpression;return i(x.elements,y,"elements",m,1),y},e.tupleTypeAnnotation=function(m){let y={type:"TupleTypeAnnotation",types:m},x=o.TupleTypeAnnotation;return i(x.types,y,"types",m,1),y},e.typeAlias=function(m,y=null,x){let v={type:"TypeAlias",id:m,typeParameters:y,right:x},E=o.TypeAlias;return i(E.id,v,"id",m,1),i(E.typeParameters,v,"typeParameters",y,1),i(E.right,v,"right",x,1),v},e.typeAnnotation=function(m){let y={type:"TypeAnnotation",typeAnnotation:m},x=o.TypeAnnotation;return i(x.typeAnnotation,y,"typeAnnotation",m,1),y},e.typeCastExpression=function(m,y){let x={type:"TypeCastExpression",expression:m,typeAnnotation:y},v=o.TypeCastExpression;return i(v.expression,x,"expression",m,1),i(v.typeAnnotation,x,"typeAnnotation",y,1),x},e.typeParameter=function(m=null,y=null,x=null){let v={type:"TypeParameter",bound:m,default:y,variance:x,name:null},E=o.TypeParameter;return i(E.bound,v,"bound",m,1),i(E.default,v,"default",y,1),i(E.variance,v,"variance",x,1),v},e.typeParameterDeclaration=function(m){let y={type:"TypeParameterDeclaration",params:m},x=o.TypeParameterDeclaration;return i(x.params,y,"params",m,1),y},e.typeParameterInstantiation=function(m){let y={type:"TypeParameterInstantiation",params:m},x=o.TypeParameterInstantiation;return i(x.params,y,"params",m,1),y},e.typeofTypeAnnotation=function(m){let y={type:"TypeofTypeAnnotation",argument:m},x=o.TypeofTypeAnnotation;return i(x.argument,y,"argument",m,1),y},e.unaryExpression=function(m,y,x=!0){let v={type:"UnaryExpression",operator:m,argument:y,prefix:x},E=o.UnaryExpression;return i(E.operator,v,"operator",m),i(E.argument,v,"argument",y,1),i(E.prefix,v,"prefix",x),v},e.unionTypeAnnotation=function(m){let y={type:"UnionTypeAnnotation",types:m},x=o.UnionTypeAnnotation;return i(x.types,y,"types",m,1),y},e.updateExpression=function(m,y,x=!1){let v={type:"UpdateExpression",operator:m,argument:y,prefix:x},E=o.UpdateExpression;return i(E.operator,v,"operator",m),i(E.argument,v,"argument",y,1),i(E.prefix,v,"prefix",x),v},e.v8IntrinsicIdentifier=function(m){let y={type:"V8IntrinsicIdentifier",name:m},x=o.V8IntrinsicIdentifier;return i(x.name,y,"name",m),y},e.variableDeclaration=function(m,y){let x={type:"VariableDeclaration",kind:m,declarations:y},v=o.VariableDeclaration;return i(v.kind,x,"kind",m),i(v.declarations,x,"declarations",y,1),x},e.variableDeclarator=function(m,y=null){let x={type:"VariableDeclarator",id:m,init:y},v=o.VariableDeclarator;return i(v.id,x,"id",m,1),i(v.init,x,"init",y,1),x},e.variance=function(m){let y={type:"Variance",kind:m},x=o.Variance;return i(x.kind,y,"kind",m),y},e.voidTypeAnnotation=function(){return{type:"VoidTypeAnnotation"}},e.whileStatement=function(m,y){let x={type:"WhileStatement",test:m,body:y},v=o.WhileStatement;return i(v.test,x,"test",m,1),i(v.body,x,"body",y,1),x},e.withStatement=function(m,y){let x={type:"WithStatement",object:m,body:y},v=o.WithStatement;return i(v.object,x,"object",m,1),i(v.body,x,"body",y,1),x},e.yieldExpression=function(m=null,y=!1){let x={type:"YieldExpression",argument:m,delegate:y},v=o.YieldExpression;return i(v.argument,x,"argument",m,1),i(v.delegate,x,"delegate",y),x};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/validate.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/utils/deprecationWarning.js"),p=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/utils.js");let{validateInternal:i}=n,{NODE_FIELDS:o}=p;function h(m){let y={type:"NumericLiteral",value:m},x=o.NumericLiteral;return i(x.value,y,"value",m),y}function d(m,y=""){let x={type:"RegExpLiteral",pattern:m,flags:y},v=o.RegExpLiteral;return i(v.pattern,x,"pattern",m),i(v.flags,x,"flags",y),x}function f(m){let y={type:"RestElement",argument:m},x=o.RestElement;return i(x.argument,y,"argument",m,1),y}function b(m){let y={type:"SpreadElement",argument:m},x=o.SpreadElement;return i(x.argument,y,"argument",m,1),y}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/generated/uppercase.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"AnyTypeAnnotation",{enumerable:!0,get:function(){return n.anyTypeAnnotation}}),Object.defineProperty(e,"ArgumentPlaceholder",{enumerable:!0,get:function(){return n.argumentPlaceholder}}),Object.defineProperty(e,"ArrayExpression",{enumerable:!0,get:function(){return n.arrayExpression}}),Object.defineProperty(e,"ArrayPattern",{enumerable:!0,get:function(){return n.arrayPattern}}),Object.defineProperty(e,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return n.arrayTypeAnnotation}}),Object.defineProperty(e,"ArrowFunctionExpression",{enumerable:!0,get:function(){return n.arrowFunctionExpression}}),Object.defineProperty(e,"AssignmentExpression",{enumerable:!0,get:function(){return n.assignmentExpression}}),Object.defineProperty(e,"AssignmentPattern",{enumerable:!0,get:function(){return n.assignmentPattern}}),Object.defineProperty(e,"AwaitExpression",{enumerable:!0,get:function(){return n.awaitExpression}}),Object.defineProperty(e,"BigIntLiteral",{enumerable:!0,get:function(){return n.bigIntLiteral}}),Object.defineProperty(e,"BinaryExpression",{enumerable:!0,get:function(){return n.binaryExpression}}),Object.defineProperty(e,"BindExpression",{enumerable:!0,get:function(){return n.bindExpression}}),Object.defineProperty(e,"BlockStatement",{enumerable:!0,get:function(){return n.blockStatement}}),Object.defineProperty(e,"BooleanLiteral",{enumerable:!0,get:function(){return n.booleanLiteral}}),Object.defineProperty(e,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return n.booleanLiteralTypeAnnotation}}),Object.defineProperty(e,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return n.booleanTypeAnnotation}}),Object.defineProperty(e,"BreakStatement",{enumerable:!0,get:function(){return n.breakStatement}}),Object.defineProperty(e,"CallExpression",{enumerable:!0,get:function(){return n.callExpression}}),Object.defineProperty(e,"CatchClause",{enumerable:!0,get:function(){return n.catchClause}}),Object.defineProperty(e,"ClassAccessorProperty",{enumerable:!0,get:function(){return n.classAccessorProperty}}),Object.defineProperty(e,"ClassBody",{enumerable:!0,get:function(){return n.classBody}}),Object.defineProperty(e,"ClassDeclaration",{enumerable:!0,get:function(){return n.classDeclaration}}),Object.defineProperty(e,"ClassExpression",{enumerable:!0,get:function(){return n.classExpression}}),Object.defineProperty(e,"ClassImplements",{enumerable:!0,get:function(){return n.classImplements}}),Object.defineProperty(e,"ClassMethod",{enumerable:!0,get:function(){return n.classMethod}}),Object.defineProperty(e,"ClassPrivateMethod",{enumerable:!0,get:function(){return n.classPrivateMethod}}),Object.defineProperty(e,"ClassPrivateProperty",{enumerable:!0,get:function(){return n.classPrivateProperty}}),Object.defineProperty(e,"ClassProperty",{enumerable:!0,get:function(){return n.classProperty}}),Object.defineProperty(e,"ConditionalExpression",{enumerable:!0,get:function(){return n.conditionalExpression}}),Object.defineProperty(e,"ContinueStatement",{enumerable:!0,get:function(){return n.continueStatement}}),Object.defineProperty(e,"DebuggerStatement",{enumerable:!0,get:function(){return n.debuggerStatement}}),Object.defineProperty(e,"DecimalLiteral",{enumerable:!0,get:function(){return n.decimalLiteral}}),Object.defineProperty(e,"DeclareClass",{enumerable:!0,get:function(){return n.declareClass}}),Object.defineProperty(e,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return n.declareExportAllDeclaration}}),Object.defineProperty(e,"DeclareExportDeclaration",{enumerable:!0,get:function(){return n.declareExportDeclaration}}),Object.defineProperty(e,"DeclareFunction",{enumerable:!0,get:function(){return n.declareFunction}}),Object.defineProperty(e,"DeclareInterface",{enumerable:!0,get:function(){return n.declareInterface}}),Object.defineProperty(e,"DeclareModule",{enumerable:!0,get:function(){return n.declareModule}}),Object.defineProperty(e,"DeclareModuleExports",{enumerable:!0,get:function(){return n.declareModuleExports}}),Object.defineProperty(e,"DeclareOpaqueType",{enumerable:!0,get:function(){return n.declareOpaqueType}}),Object.defineProperty(e,"DeclareTypeAlias",{enumerable:!0,get:function(){return n.declareTypeAlias}}),Object.defineProperty(e,"DeclareVariable",{enumerable:!0,get:function(){return n.declareVariable}}),Object.defineProperty(e,"DeclaredPredicate",{enumerable:!0,get:function(){return n.declaredPredicate}}),Object.defineProperty(e,"Decorator",{enumerable:!0,get:function(){return n.decorator}}),Object.defineProperty(e,"Directive",{enumerable:!0,get:function(){return n.directive}}),Object.defineProperty(e,"DirectiveLiteral",{enumerable:!0,get:function(){return n.directiveLiteral}}),Object.defineProperty(e,"DoExpression",{enumerable:!0,get:function(){return n.doExpression}}),Object.defineProperty(e,"DoWhileStatement",{enumerable:!0,get:function(){return n.doWhileStatement}}),Object.defineProperty(e,"EmptyStatement",{enumerable:!0,get:function(){return n.emptyStatement}}),Object.defineProperty(e,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return n.emptyTypeAnnotation}}),Object.defineProperty(e,"EnumBooleanBody",{enumerable:!0,get:function(){return n.enumBooleanBody}}),Object.defineProperty(e,"EnumBooleanMember",{enumerable:!0,get:function(){return n.enumBooleanMember}}),Object.defineProperty(e,"EnumDeclaration",{enumerable:!0,get:function(){return n.enumDeclaration}}),Object.defineProperty(e,"EnumDefaultedMember",{enumerable:!0,get:function(){return n.enumDefaultedMember}}),Object.defineProperty(e,"EnumNumberBody",{enumerable:!0,get:function(){return n.enumNumberBody}}),Object.defineProperty(e,"EnumNumberMember",{enumerable:!0,get:function(){return n.enumNumberMember}}),Object.defineProperty(e,"EnumStringBody",{enumerable:!0,get:function(){return n.enumStringBody}}),Object.defineProperty(e,"EnumStringMember",{enumerable:!0,get:function(){return n.enumStringMember}}),Object.defineProperty(e,"EnumSymbolBody",{enumerable:!0,get:function(){return n.enumSymbolBody}}),Object.defineProperty(e,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return n.existsTypeAnnotation}}),Object.defineProperty(e,"ExportAllDeclaration",{enumerable:!0,get:function(){return n.exportAllDeclaration}}),Object.defineProperty(e,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return n.exportDefaultDeclaration}}),Object.defineProperty(e,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return n.exportDefaultSpecifier}}),Object.defineProperty(e,"ExportNamedDeclaration",{enumerable:!0,get:function(){return n.exportNamedDeclaration}}),Object.defineProperty(e,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return n.exportNamespaceSpecifier}}),Object.defineProperty(e,"ExportSpecifier",{enumerable:!0,get:function(){return n.exportSpecifier}}),Object.defineProperty(e,"ExpressionStatement",{enumerable:!0,get:function(){return n.expressionStatement}}),Object.defineProperty(e,"File",{enumerable:!0,get:function(){return n.file}}),Object.defineProperty(e,"ForInStatement",{enumerable:!0,get:function(){return n.forInStatement}}),Object.defineProperty(e,"ForOfStatement",{enumerable:!0,get:function(){return n.forOfStatement}}),Object.defineProperty(e,"ForStatement",{enumerable:!0,get:function(){return n.forStatement}}),Object.defineProperty(e,"FunctionDeclaration",{enumerable:!0,get:function(){return n.functionDeclaration}}),Object.defineProperty(e,"FunctionExpression",{enumerable:!0,get:function(){return n.functionExpression}}),Object.defineProperty(e,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return n.functionTypeAnnotation}}),Object.defineProperty(e,"FunctionTypeParam",{enumerable:!0,get:function(){return n.functionTypeParam}}),Object.defineProperty(e,"GenericTypeAnnotation",{enumerable:!0,get:function(){return n.genericTypeAnnotation}}),Object.defineProperty(e,"Identifier",{enumerable:!0,get:function(){return n.identifier}}),Object.defineProperty(e,"IfStatement",{enumerable:!0,get:function(){return n.ifStatement}}),Object.defineProperty(e,"Import",{enumerable:!0,get:function(){return n.import}}),Object.defineProperty(e,"ImportAttribute",{enumerable:!0,get:function(){return n.importAttribute}}),Object.defineProperty(e,"ImportDeclaration",{enumerable:!0,get:function(){return n.importDeclaration}}),Object.defineProperty(e,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return n.importDefaultSpecifier}}),Object.defineProperty(e,"ImportExpression",{enumerable:!0,get:function(){return n.importExpression}}),Object.defineProperty(e,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return n.importNamespaceSpecifier}}),Object.defineProperty(e,"ImportSpecifier",{enumerable:!0,get:function(){return n.importSpecifier}}),Object.defineProperty(e,"IndexedAccessType",{enumerable:!0,get:function(){return n.indexedAccessType}}),Object.defineProperty(e,"InferredPredicate",{enumerable:!0,get:function(){return n.inferredPredicate}}),Object.defineProperty(e,"InterfaceDeclaration",{enumerable:!0,get:function(){return n.interfaceDeclaration}}),Object.defineProperty(e,"InterfaceExtends",{enumerable:!0,get:function(){return n.interfaceExtends}}),Object.defineProperty(e,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return n.interfaceTypeAnnotation}}),Object.defineProperty(e,"InterpreterDirective",{enumerable:!0,get:function(){return n.interpreterDirective}}),Object.defineProperty(e,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return n.intersectionTypeAnnotation}}),Object.defineProperty(e,"JSXAttribute",{enumerable:!0,get:function(){return n.jsxAttribute}}),Object.defineProperty(e,"JSXClosingElement",{enumerable:!0,get:function(){return n.jsxClosingElement}}),Object.defineProperty(e,"JSXClosingFragment",{enumerable:!0,get:function(){return n.jsxClosingFragment}}),Object.defineProperty(e,"JSXElement",{enumerable:!0,get:function(){return n.jsxElement}}),Object.defineProperty(e,"JSXEmptyExpression",{enumerable:!0,get:function(){return n.jsxEmptyExpression}}),Object.defineProperty(e,"JSXExpressionContainer",{enumerable:!0,get:function(){return n.jsxExpressionContainer}}),Object.defineProperty(e,"JSXFragment",{enumerable:!0,get:function(){return n.jsxFragment}}),Object.defineProperty(e,"JSXIdentifier",{enumerable:!0,get:function(){return n.jsxIdentifier}}),Object.defineProperty(e,"JSXMemberExpression",{enumerable:!0,get:function(){return n.jsxMemberExpression}}),Object.defineProperty(e,"JSXNamespacedName",{enumerable:!0,get:function(){return n.jsxNamespacedName}}),Object.defineProperty(e,"JSXOpeningElement",{enumerable:!0,get:function(){return n.jsxOpeningElement}}),Object.defineProperty(e,"JSXOpeningFragment",{enumerable:!0,get:function(){return n.jsxOpeningFragment}}),Object.defineProperty(e,"JSXSpreadAttribute",{enumerable:!0,get:function(){return n.jsxSpreadAttribute}}),Object.defineProperty(e,"JSXSpreadChild",{enumerable:!0,get:function(){return n.jsxSpreadChild}}),Object.defineProperty(e,"JSXText",{enumerable:!0,get:function(){return n.jsxText}}),Object.defineProperty(e,"LabeledStatement",{enumerable:!0,get:function(){return n.labeledStatement}}),Object.defineProperty(e,"LogicalExpression",{enumerable:!0,get:function(){return n.logicalExpression}}),Object.defineProperty(e,"MemberExpression",{enumerable:!0,get:function(){return n.memberExpression}}),Object.defineProperty(e,"MetaProperty",{enumerable:!0,get:function(){return n.metaProperty}}),Object.defineProperty(e,"MixedTypeAnnotation",{enumerable:!0,get:function(){return n.mixedTypeAnnotation}}),Object.defineProperty(e,"ModuleExpression",{enumerable:!0,get:function(){return n.moduleExpression}}),Object.defineProperty(e,"NewExpression",{enumerable:!0,get:function(){return n.newExpression}}),Object.defineProperty(e,"Noop",{enumerable:!0,get:function(){return n.noop}}),Object.defineProperty(e,"NullLiteral",{enumerable:!0,get:function(){return n.nullLiteral}}),Object.defineProperty(e,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return n.nullLiteralTypeAnnotation}}),Object.defineProperty(e,"NullableTypeAnnotation",{enumerable:!0,get:function(){return n.nullableTypeAnnotation}}),Object.defineProperty(e,"NumberLiteral",{enumerable:!0,get:function(){return n.numberLiteral}}),Object.defineProperty(e,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return n.numberLiteralTypeAnnotation}}),Object.defineProperty(e,"NumberTypeAnnotation",{enumerable:!0,get:function(){return n.numberTypeAnnotation}}),Object.defineProperty(e,"NumericLiteral",{enumerable:!0,get:function(){return n.numericLiteral}}),Object.defineProperty(e,"ObjectExpression",{enumerable:!0,get:function(){return n.objectExpression}}),Object.defineProperty(e,"ObjectMethod",{enumerable:!0,get:function(){return n.objectMethod}}),Object.defineProperty(e,"ObjectPattern",{enumerable:!0,get:function(){return n.objectPattern}}),Object.defineProperty(e,"ObjectProperty",{enumerable:!0,get:function(){return n.objectProperty}}),Object.defineProperty(e,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return n.objectTypeAnnotation}}),Object.defineProperty(e,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return n.objectTypeCallProperty}}),Object.defineProperty(e,"ObjectTypeIndexer",{enumerable:!0,get:function(){return n.objectTypeIndexer}}),Object.defineProperty(e,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return n.objectTypeInternalSlot}}),Object.defineProperty(e,"ObjectTypeProperty",{enumerable:!0,get:function(){return n.objectTypeProperty}}),Object.defineProperty(e,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return n.objectTypeSpreadProperty}}),Object.defineProperty(e,"OpaqueType",{enumerable:!0,get:function(){return n.opaqueType}}),Object.defineProperty(e,"OptionalCallExpression",{enumerable:!0,get:function(){return n.optionalCallExpression}}),Object.defineProperty(e,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return n.optionalIndexedAccessType}}),Object.defineProperty(e,"OptionalMemberExpression",{enumerable:!0,get:function(){return n.optionalMemberExpression}}),Object.defineProperty(e,"ParenthesizedExpression",{enumerable:!0,get:function(){return n.parenthesizedExpression}}),Object.defineProperty(e,"PipelineBareFunction",{enumerable:!0,get:function(){return n.pipelineBareFunction}}),Object.defineProperty(e,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return n.pipelinePrimaryTopicReference}}),Object.defineProperty(e,"PipelineTopicExpression",{enumerable:!0,get:function(){return n.pipelineTopicExpression}}),Object.defineProperty(e,"Placeholder",{enumerable:!0,get:function(){return n.placeholder}}),Object.defineProperty(e,"PrivateName",{enumerable:!0,get:function(){return n.privateName}}),Object.defineProperty(e,"Program",{enumerable:!0,get:function(){return n.program}}),Object.defineProperty(e,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return n.qualifiedTypeIdentifier}}),Object.defineProperty(e,"RecordExpression",{enumerable:!0,get:function(){return n.recordExpression}}),Object.defineProperty(e,"RegExpLiteral",{enumerable:!0,get:function(){return n.regExpLiteral}}),Object.defineProperty(e,"RegexLiteral",{enumerable:!0,get:function(){return n.regexLiteral}}),Object.defineProperty(e,"RestElement",{enumerable:!0,get:function(){return n.restElement}}),Object.defineProperty(e,"RestProperty",{enumerable:!0,get:function(){return n.restProperty}}),Object.defineProperty(e,"ReturnStatement",{enumerable:!0,get:function(){return n.returnStatement}}),Object.defineProperty(e,"SequenceExpression",{enumerable:!0,get:function(){return n.sequenceExpression}}),Object.defineProperty(e,"SpreadElement",{enumerable:!0,get:function(){return n.spreadElement}}),Object.defineProperty(e,"SpreadProperty",{enumerable:!0,get:function(){return n.spreadProperty}}),Object.defineProperty(e,"StaticBlock",{enumerable:!0,get:function(){return n.staticBlock}}),Object.defineProperty(e,"StringLiteral",{enumerable:!0,get:function(){return n.stringLiteral}}),Object.defineProperty(e,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return n.stringLiteralTypeAnnotation}}),Object.defineProperty(e,"StringTypeAnnotation",{enumerable:!0,get:function(){return n.stringTypeAnnotation}}),Object.defineProperty(e,"Super",{enumerable:!0,get:function(){return n.super}}),Object.defineProperty(e,"SwitchCase",{enumerable:!0,get:function(){return n.switchCase}}),Object.defineProperty(e,"SwitchStatement",{enumerable:!0,get:function(){return n.switchStatement}}),Object.defineProperty(e,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return n.symbolTypeAnnotation}}),Object.defineProperty(e,"TSAnyKeyword",{enumerable:!0,get:function(){return n.tsAnyKeyword}}),Object.defineProperty(e,"TSArrayType",{enumerable:!0,get:function(){return n.tsArrayType}}),Object.defineProperty(e,"TSAsExpression",{enumerable:!0,get:function(){return n.tsAsExpression}}),Object.defineProperty(e,"TSBigIntKeyword",{enumerable:!0,get:function(){return n.tsBigIntKeyword}}),Object.defineProperty(e,"TSBooleanKeyword",{enumerable:!0,get:function(){return n.tsBooleanKeyword}}),Object.defineProperty(e,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return n.tsCallSignatureDeclaration}}),Object.defineProperty(e,"TSConditionalType",{enumerable:!0,get:function(){return n.tsConditionalType}}),Object.defineProperty(e,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return n.tsConstructSignatureDeclaration}}),Object.defineProperty(e,"TSConstructorType",{enumerable:!0,get:function(){return n.tsConstructorType}}),Object.defineProperty(e,"TSDeclareFunction",{enumerable:!0,get:function(){return n.tsDeclareFunction}}),Object.defineProperty(e,"TSDeclareMethod",{enumerable:!0,get:function(){return n.tsDeclareMethod}}),Object.defineProperty(e,"TSEnumDeclaration",{enumerable:!0,get:function(){return n.tsEnumDeclaration}}),Object.defineProperty(e,"TSEnumMember",{enumerable:!0,get:function(){return n.tsEnumMember}}),Object.defineProperty(e,"TSExportAssignment",{enumerable:!0,get:function(){return n.tsExportAssignment}}),Object.defineProperty(e,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return n.tsExpressionWithTypeArguments}}),Object.defineProperty(e,"TSExternalModuleReference",{enumerable:!0,get:function(){return n.tsExternalModuleReference}}),Object.defineProperty(e,"TSFunctionType",{enumerable:!0,get:function(){return n.tsFunctionType}}),Object.defineProperty(e,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return n.tsImportEqualsDeclaration}}),Object.defineProperty(e,"TSImportType",{enumerable:!0,get:function(){return n.tsImportType}}),Object.defineProperty(e,"TSIndexSignature",{enumerable:!0,get:function(){return n.tsIndexSignature}}),Object.defineProperty(e,"TSIndexedAccessType",{enumerable:!0,get:function(){return n.tsIndexedAccessType}}),Object.defineProperty(e,"TSInferType",{enumerable:!0,get:function(){return n.tsInferType}}),Object.defineProperty(e,"TSInstantiationExpression",{enumerable:!0,get:function(){return n.tsInstantiationExpression}}),Object.defineProperty(e,"TSInterfaceBody",{enumerable:!0,get:function(){return n.tsInterfaceBody}}),Object.defineProperty(e,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return n.tsInterfaceDeclaration}}),Object.defineProperty(e,"TSIntersectionType",{enumerable:!0,get:function(){return n.tsIntersectionType}}),Object.defineProperty(e,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return n.tsIntrinsicKeyword}}),Object.defineProperty(e,"TSLiteralType",{enumerable:!0,get:function(){return n.tsLiteralType}}),Object.defineProperty(e,"TSMappedType",{enumerable:!0,get:function(){return n.tsMappedType}}),Object.defineProperty(e,"TSMethodSignature",{enumerable:!0,get:function(){return n.tsMethodSignature}}),Object.defineProperty(e,"TSModuleBlock",{enumerable:!0,get:function(){return n.tsModuleBlock}}),Object.defineProperty(e,"TSModuleDeclaration",{enumerable:!0,get:function(){return n.tsModuleDeclaration}}),Object.defineProperty(e,"TSNamedTupleMember",{enumerable:!0,get:function(){return n.tsNamedTupleMember}}),Object.defineProperty(e,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return n.tsNamespaceExportDeclaration}}),Object.defineProperty(e,"TSNeverKeyword",{enumerable:!0,get:function(){return n.tsNeverKeyword}}),Object.defineProperty(e,"TSNonNullExpression",{enumerable:!0,get:function(){return n.tsNonNullExpression}}),Object.defineProperty(e,"TSNullKeyword",{enumerable:!0,get:function(){return n.tsNullKeyword}}),Object.defineProperty(e,"TSNumberKeyword",{enumerable:!0,get:function(){return n.tsNumberKeyword}}),Object.defineProperty(e,"TSObjectKeyword",{enumerable:!0,get:function(){return n.tsObjectKeyword}}),Object.defineProperty(e,"TSOptionalType",{enumerable:!0,get:function(){return n.tsOptionalType}}),Object.defineProperty(e,"TSParameterProperty",{enumerable:!0,get:function(){return n.tsParameterProperty}}),Object.defineProperty(e,"TSParenthesizedType",{enumerable:!0,get:function(){return n.tsParenthesizedType}}),Object.defineProperty(e,"TSPropertySignature",{enumerable:!0,get:function(){return n.tsPropertySignature}}),Object.defineProperty(e,"TSQualifiedName",{enumerable:!0,get:function(){return n.tsQualifiedName}}),Object.defineProperty(e,"TSRestType",{enumerable:!0,get:function(){return n.tsRestType}}),Object.defineProperty(e,"TSSatisfiesExpression",{enumerable:!0,get:function(){return n.tsSatisfiesExpression}}),Object.defineProperty(e,"TSStringKeyword",{enumerable:!0,get:function(){return n.tsStringKeyword}}),Object.defineProperty(e,"TSSymbolKeyword",{enumerable:!0,get:function(){return n.tsSymbolKeyword}}),Object.defineProperty(e,"TSThisType",{enumerable:!0,get:function(){return n.tsThisType}}),Object.defineProperty(e,"TSTupleType",{enumerable:!0,get:function(){return n.tsTupleType}}),Object.defineProperty(e,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return n.tsTypeAliasDeclaration}}),Object.defineProperty(e,"TSTypeAnnotation",{enumerable:!0,get:function(){return n.tsTypeAnnotation}}),Object.defineProperty(e,"TSTypeAssertion",{enumerable:!0,get:function(){return n.tsTypeAssertion}}),Object.defineProperty(e,"TSTypeLiteral",{enumerable:!0,get:function(){return n.tsTypeLiteral}}),Object.defineProperty(e,"TSTypeOperator",{enumerable:!0,get:function(){return n.tsTypeOperator}}),Object.defineProperty(e,"TSTypeParameter",{enumerable:!0,get:function(){return n.tsTypeParameter}}),Object.defineProperty(e,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return n.tsTypeParameterDeclaration}}),Object.defineProperty(e,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return n.tsTypeParameterInstantiation}}),Object.defineProperty(e,"TSTypePredicate",{enumerable:!0,get:function(){return n.tsTypePredicate}}),Object.defineProperty(e,"TSTypeQuery",{enumerable:!0,get:function(){return n.tsTypeQuery}}),Object.defineProperty(e,"TSTypeReference",{enumerable:!0,get:function(){return n.tsTypeReference}}),Object.defineProperty(e,"TSUndefinedKeyword",{enumerable:!0,get:function(){return n.tsUndefinedKeyword}}),Object.defineProperty(e,"TSUnionType",{enumerable:!0,get:function(){return n.tsUnionType}}),Object.defineProperty(e,"TSUnknownKeyword",{enumerable:!0,get:function(){return n.tsUnknownKeyword}}),Object.defineProperty(e,"TSVoidKeyword",{enumerable:!0,get:function(){return n.tsVoidKeyword}}),Object.defineProperty(e,"TaggedTemplateExpression",{enumerable:!0,get:function(){return n.taggedTemplateExpression}}),Object.defineProperty(e,"TemplateElement",{enumerable:!0,get:function(){return n.templateElement}}),Object.defineProperty(e,"TemplateLiteral",{enumerable:!0,get:function(){return n.templateLiteral}}),Object.defineProperty(e,"ThisExpression",{enumerable:!0,get:function(){return n.thisExpression}}),Object.defineProperty(e,"ThisTypeAnnotation",{enumerable:!0,get:function(){return n.thisTypeAnnotation}}),Object.defineProperty(e,"ThrowStatement",{enumerable:!0,get:function(){return n.throwStatement}}),Object.defineProperty(e,"TopicReference",{enumerable:!0,get:function(){return n.topicReference}}),Object.defineProperty(e,"TryStatement",{enumerable:!0,get:function(){return n.tryStatement}}),Object.defineProperty(e,"TupleExpression",{enumerable:!0,get:function(){return n.tupleExpression}}),Object.defineProperty(e,"TupleTypeAnnotation",{enumerable:!0,get:function(){return n.tupleTypeAnnotation}}),Object.defineProperty(e,"TypeAlias",{enumerable:!0,get:function(){return n.typeAlias}}),Object.defineProperty(e,"TypeAnnotation",{enumerable:!0,get:function(){return n.typeAnnotation}}),Object.defineProperty(e,"TypeCastExpression",{enumerable:!0,get:function(){return n.typeCastExpression}}),Object.defineProperty(e,"TypeParameter",{enumerable:!0,get:function(){return n.typeParameter}}),Object.defineProperty(e,"TypeParameterDeclaration",{enumerable:!0,get:function(){return n.typeParameterDeclaration}}),Object.defineProperty(e,"TypeParameterInstantiation",{enumerable:!0,get:function(){return n.typeParameterInstantiation}}),Object.defineProperty(e,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return n.typeofTypeAnnotation}}),Object.defineProperty(e,"UnaryExpression",{enumerable:!0,get:function(){return n.unaryExpression}}),Object.defineProperty(e,"UnionTypeAnnotation",{enumerable:!0,get:function(){return n.unionTypeAnnotation}}),Object.defineProperty(e,"UpdateExpression",{enumerable:!0,get:function(){return n.updateExpression}}),Object.defineProperty(e,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return n.v8IntrinsicIdentifier}}),Object.defineProperty(e,"VariableDeclaration",{enumerable:!0,get:function(){return n.variableDeclaration}}),Object.defineProperty(e,"VariableDeclarator",{enumerable:!0,get:function(){return n.variableDeclarator}}),Object.defineProperty(e,"Variance",{enumerable:!0,get:function(){return n.variance}}),Object.defineProperty(e,"VoidTypeAnnotation",{enumerable:!0,get:function(){return n.voidTypeAnnotation}}),Object.defineProperty(e,"WhileStatement",{enumerable:!0,get:function(){return n.whileStatement}}),Object.defineProperty(e,"WithStatement",{enumerable:!0,get:function(){return n.withStatement}}),Object.defineProperty(e,"YieldExpression",{enumerable:!0,get:function(){return n.yieldExpression}});var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/productions.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildUndefinedNode=function(){return(0,n.unaryExpression)("void",(0,n.numericLiteral)(0),!0)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/react/buildChildren.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p){let i=[];for(let o=0;o<p.children.length;o++){let h=p.children[o];(0,n.isJSXText)(h)?(0,c.default)(h,i):((0,n.isJSXExpressionContainer)(h)&&(h=h.expression),(0,n.isJSXEmptyExpression)(h)||i.push(h))}return i};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(i){let o=i.map((d=>(0,p.isTSTypeAnnotation)(d)?d.typeAnnotation:d)),h=(0,c.default)(o);return h.length===1?h[0]:(0,n.tsUnionType)(h)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js"),p=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/clone/clone.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){return(0,n.default)(c,!1)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/clone/cloneDeep.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){return(0,n.default)(c)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){return(0,n.default)(c,!0,!0)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/clone/cloneNode.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(f,b=!0,m=!1){return h(f,b,m,new Map)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js");let{hasOwn:p}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function i(f,b,m,y){return f&&typeof f.type=="string"?h(f,b,m,y):f}function o(f,b,m,y){return Array.isArray(f)?f.map((x=>i(x,b,m,y))):i(f,b,m,y)}function h(f,b=!0,m=!1,y){if(!f)return f;let{type:x}=f,v={type:f.type};if((0,c.isIdentifier)(f))v.name=f.name,p(f,"optional")&&typeof f.optional=="boolean"&&(v.optional=f.optional),p(f,"typeAnnotation")&&(v.typeAnnotation=b?o(f.typeAnnotation,!0,m,y):f.typeAnnotation),p(f,"decorators")&&(v.decorators=b?o(f.decorators,!0,m,y):f.decorators);else{if(!p(n.NODE_FIELDS,x))throw new Error(`Unknown node type: "${x}"`);for(let E of Object.keys(n.NODE_FIELDS[x]))p(f,E)&&(v[E]=b?(0,c.isFile)(f)&&E==="comments"?d(f.comments,b,m,y):o(f[E],!0,m,y):f[E])}return p(f,"loc")&&(v.loc=m?null:f.loc),p(f,"leadingComments")&&(v.leadingComments=d(f.leadingComments,b,m,y)),p(f,"innerComments")&&(v.innerComments=d(f.innerComments,b,m,y)),p(f,"trailingComments")&&(v.trailingComments=d(f.trailingComments,b,m,y)),p(f,"extra")&&(v.extra=Object.assign({},f.extra)),v}function d(f,b,m,y){return f&&b?f.map((x=>{let v=y.get(x);if(v)return v;let{type:E,value:S,loc:_}=x,A={type:E,value:S,loc:_};return m&&(A.loc=null),y.set(x,A),A})):f}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){return(0,n.default)(c,!1,!0)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/comments/addComment.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c,p,i,o){return(0,n.default)(c,p,[{type:o?"CommentLine":"CommentBlock",value:i}])};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/comments/addComments.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/comments/addComments.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l,n,c){if(!c||!l)return l;let p=`${n}Comments`;return l[p]?n==="leading"?l[p]=c.concat(l[p]):l[p].push(...c):l[p]=c,l}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/comments/inheritInnerComments.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c,p){(0,n.default)("innerComments",c,p)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/utils/inherit.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/comments/inheritLeadingComments.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c,p){(0,n.default)("leadingComments",c,p)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/utils/inherit.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/comments/inheritTrailingComments.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c,p){(0,n.default)("trailingComments",c,p)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/utils/inherit.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/comments/inheritsComments.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(i,o){return(0,n.default)(i,o),(0,c.default)(i,o),(0,p.default)(i,o),i};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/comments/inheritTrailingComments.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/comments/inheritLeadingComments.js"),p=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/comments/inheritInnerComments.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/comments/removeComments.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){return n.COMMENT_KEYS.forEach((p=>{c[p]=null})),c};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/constants/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/constants/generated/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WHILE_TYPES=e.USERWHITESPACABLE_TYPES=e.UNARYLIKE_TYPES=e.TYPESCRIPT_TYPES=e.TSTYPE_TYPES=e.TSTYPEELEMENT_TYPES=e.TSENTITYNAME_TYPES=e.TSBASETYPE_TYPES=e.TERMINATORLESS_TYPES=e.STATEMENT_TYPES=e.STANDARDIZED_TYPES=e.SCOPABLE_TYPES=e.PUREISH_TYPES=e.PROPERTY_TYPES=e.PRIVATE_TYPES=e.PATTERN_TYPES=e.PATTERNLIKE_TYPES=e.OBJECTMEMBER_TYPES=e.MODULESPECIFIER_TYPES=e.MODULEDECLARATION_TYPES=e.MISCELLANEOUS_TYPES=e.METHOD_TYPES=e.LVAL_TYPES=e.LOOP_TYPES=e.LITERAL_TYPES=e.JSX_TYPES=e.IMPORTOREXPORTDECLARATION_TYPES=e.IMMUTABLE_TYPES=e.FUNCTION_TYPES=e.FUNCTIONPARENT_TYPES=e.FOR_TYPES=e.FORXSTATEMENT_TYPES=e.FLOW_TYPES=e.FLOWTYPE_TYPES=e.FLOWPREDICATE_TYPES=e.FLOWDECLARATION_TYPES=e.FLOWBASEANNOTATION_TYPES=e.EXPRESSION_TYPES=e.EXPRESSIONWRAPPER_TYPES=e.EXPORTDECLARATION_TYPES=e.ENUMMEMBER_TYPES=e.ENUMBODY_TYPES=e.DECLARATION_TYPES=e.CONDITIONAL_TYPES=e.COMPLETIONSTATEMENT_TYPES=e.CLASS_TYPES=e.BLOCK_TYPES=e.BLOCKPARENT_TYPES=e.BINARY_TYPES=e.ACCESSOR_TYPES=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/index.js");e.STANDARDIZED_TYPES=n.FLIPPED_ALIAS_KEYS.Standardized,e.EXPRESSION_TYPES=n.FLIPPED_ALIAS_KEYS.Expression,e.BINARY_TYPES=n.FLIPPED_ALIAS_KEYS.Binary,e.SCOPABLE_TYPES=n.FLIPPED_ALIAS_KEYS.Scopable,e.BLOCKPARENT_TYPES=n.FLIPPED_ALIAS_KEYS.BlockParent,e.BLOCK_TYPES=n.FLIPPED_ALIAS_KEYS.Block,e.STATEMENT_TYPES=n.FLIPPED_ALIAS_KEYS.Statement,e.TERMINATORLESS_TYPES=n.FLIPPED_ALIAS_KEYS.Terminatorless,e.COMPLETIONSTATEMENT_TYPES=n.FLIPPED_ALIAS_KEYS.CompletionStatement,e.CONDITIONAL_TYPES=n.FLIPPED_ALIAS_KEYS.Conditional,e.LOOP_TYPES=n.FLIPPED_ALIAS_KEYS.Loop,e.WHILE_TYPES=n.FLIPPED_ALIAS_KEYS.While,e.EXPRESSIONWRAPPER_TYPES=n.FLIPPED_ALIAS_KEYS.ExpressionWrapper,e.FOR_TYPES=n.FLIPPED_ALIAS_KEYS.For,e.FORXSTATEMENT_TYPES=n.FLIPPED_ALIAS_KEYS.ForXStatement,e.FUNCTION_TYPES=n.FLIPPED_ALIAS_KEYS.Function,e.FUNCTIONPARENT_TYPES=n.FLIPPED_ALIAS_KEYS.FunctionParent,e.PUREISH_TYPES=n.FLIPPED_ALIAS_KEYS.Pureish,e.DECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS.Declaration,e.PATTERNLIKE_TYPES=n.FLIPPED_ALIAS_KEYS.PatternLike,e.LVAL_TYPES=n.FLIPPED_ALIAS_KEYS.LVal,e.TSENTITYNAME_TYPES=n.FLIPPED_ALIAS_KEYS.TSEntityName,e.LITERAL_TYPES=n.FLIPPED_ALIAS_KEYS.Literal,e.IMMUTABLE_TYPES=n.FLIPPED_ALIAS_KEYS.Immutable,e.USERWHITESPACABLE_TYPES=n.FLIPPED_ALIAS_KEYS.UserWhitespacable,e.METHOD_TYPES=n.FLIPPED_ALIAS_KEYS.Method,e.OBJECTMEMBER_TYPES=n.FLIPPED_ALIAS_KEYS.ObjectMember,e.PROPERTY_TYPES=n.FLIPPED_ALIAS_KEYS.Property,e.UNARYLIKE_TYPES=n.FLIPPED_ALIAS_KEYS.UnaryLike,e.PATTERN_TYPES=n.FLIPPED_ALIAS_KEYS.Pattern,e.CLASS_TYPES=n.FLIPPED_ALIAS_KEYS.Class;let c=e.IMPORTOREXPORTDECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration;e.EXPORTDECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS.ExportDeclaration,e.MODULESPECIFIER_TYPES=n.FLIPPED_ALIAS_KEYS.ModuleSpecifier,e.ACCESSOR_TYPES=n.FLIPPED_ALIAS_KEYS.Accessor,e.PRIVATE_TYPES=n.FLIPPED_ALIAS_KEYS.Private,e.FLOW_TYPES=n.FLIPPED_ALIAS_KEYS.Flow,e.FLOWTYPE_TYPES=n.FLIPPED_ALIAS_KEYS.FlowType,e.FLOWBASEANNOTATION_TYPES=n.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,e.FLOWDECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS.FlowDeclaration,e.FLOWPREDICATE_TYPES=n.FLIPPED_ALIAS_KEYS.FlowPredicate,e.ENUMBODY_TYPES=n.FLIPPED_ALIAS_KEYS.EnumBody,e.ENUMMEMBER_TYPES=n.FLIPPED_ALIAS_KEYS.EnumMember,e.JSX_TYPES=n.FLIPPED_ALIAS_KEYS.JSX,e.MISCELLANEOUS_TYPES=n.FLIPPED_ALIAS_KEYS.Miscellaneous,e.TYPESCRIPT_TYPES=n.FLIPPED_ALIAS_KEYS.TypeScript,e.TSTYPEELEMENT_TYPES=n.FLIPPED_ALIAS_KEYS.TSTypeElement,e.TSTYPE_TYPES=n.FLIPPED_ALIAS_KEYS.TSType,e.TSBASETYPE_TYPES=n.FLIPPED_ALIAS_KEYS.TSBaseType,e.MODULEDECLARATION_TYPES=c},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/constants/index.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UPDATE_OPERATORS=e.UNARY_OPERATORS=e.STRING_UNARY_OPERATORS=e.STATEMENT_OR_BLOCK_KEYS=e.NUMBER_UNARY_OPERATORS=e.NUMBER_BINARY_OPERATORS=e.NOT_LOCAL_BINDING=e.LOGICAL_OPERATORS=e.INHERIT_KEYS=e.FOR_INIT_KEYS=e.FLATTENABLE_KEYS=e.EQUALITY_BINARY_OPERATORS=e.COMPARISON_BINARY_OPERATORS=e.COMMENT_KEYS=e.BOOLEAN_UNARY_OPERATORS=e.BOOLEAN_NUMBER_BINARY_OPERATORS=e.BOOLEAN_BINARY_OPERATORS=e.BLOCK_SCOPED_SYMBOL=e.BINARY_OPERATORS=e.ASSIGNMENT_OPERATORS=void 0,e.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],e.FLATTENABLE_KEYS=["body","expressions"],e.FOR_INIT_KEYS=["left","init"],e.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];let l=e.LOGICAL_OPERATORS=["||","&&","??"],n=(e.UPDATE_OPERATORS=["++","--"],e.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="]),c=e.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],p=e.COMPARISON_BINARY_OPERATORS=[...c,"in","instanceof"],i=e.BOOLEAN_BINARY_OPERATORS=[...p,...n],o=e.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"],h=(e.BINARY_OPERATORS=["+",...o,...i,"|>"],e.ASSIGNMENT_OPERATORS=["=","+=",...o.map((b=>b+"=")),...l.map((b=>b+"="))],e.BOOLEAN_UNARY_OPERATORS=["delete","!"]),d=e.NUMBER_UNARY_OPERATORS=["+","-","~"],f=e.STRING_UNARY_OPERATORS=["typeof"];e.UNARY_OPERATORS=["void","throw",...h,...d,...f],e.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},e.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),e.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/ensureBlock.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c,p="body"){let i=(0,n.default)(c[p],c);return c[p]=i,i};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/toBlock.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function h(d,f){let b=[],m=!0;for(let y of d)if((0,c.isEmptyStatement)(y)||(m=!1),(0,c.isExpression)(y))b.push(y);else if((0,c.isExpressionStatement)(y))b.push(y.expression);else if((0,c.isVariableDeclaration)(y)){if(y.kind!=="var")return;for(let x of y.declarations){let v=(0,n.default)(x);for(let E of Object.keys(v))f.push({kind:y.kind,id:(0,o.default)(v[E])});x.init&&b.push((0,p.assignmentExpression)("=",x.id,x.init))}m=!0}else if((0,c.isIfStatement)(y)){let x=y.consequent?h([y.consequent],f):(0,i.buildUndefinedNode)(),v=y.alternate?h([y.alternate],f):(0,i.buildUndefinedNode)();if(!x||!v)return;b.push((0,p.conditionalExpression)(y.test,x,v))}else if((0,c.isBlockStatement)(y)){let x=h(y.body,f);if(!x)return;b.push(x)}else{if(!(0,c.isEmptyStatement)(y))return;d.indexOf(y)===0&&(m=!0)}return m&&b.push((0,i.buildUndefinedNode)()),b.length===1?b[0]:(0,p.sequenceExpression)(b)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js"),p=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/generated/index.js"),i=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/productions.js"),o=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/clone/cloneNode.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){return(c=(0,n.default)(c))!=="eval"&&c!=="arguments"||(c="_"+c),c};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/toIdentifier.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/toBlock.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p,i){if((0,n.isBlockStatement)(p))return p;let o=[];return(0,n.isEmptyStatement)(p)?o=[]:((0,n.isStatement)(p)||(p=(0,n.isFunction)(i)?(0,c.returnStatement)(p):(0,c.expressionStatement)(p)),o=[p]),(0,c.blockStatement)(o)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/toComputedKey.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p,i=p.key||p.property){return!p.computed&&(0,n.isIdentifier)(i)&&(i=(0,c.stringLiteral)(i.name)),i};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/toExpression.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js");e.default=function(c){if((0,n.isExpressionStatement)(c)&&(c=c.expression),(0,n.isExpression)(c))return c;if((0,n.isClass)(c)?c.type="ClassExpression":(0,n.isFunction)(c)&&(c.type="FunctionExpression"),!(0,n.isExpression)(c))throw new Error(`cannot turn ${c.type} to an expression`);return c}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/toIdentifier.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p){p+="";let i="";for(let o of p)i+=(0,c.isIdentifierChar)(o.codePointAt(0))?o:"-";return i=i.replace(/^[-0-9]+/,""),i=i.replace(/[-\s]+(.)?/g,(function(o,h){return h?h.toUpperCase():""})),(0,n.default)(i)||(i=`_${i}`),i||"_"};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),c=l("./node_modules/.pnpm/@babel+helper-validator-identifier@7.25.9/node_modules/@babel/helper-validator-identifier/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/toKeyAlias.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/clone/cloneNode.js"),p=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js");function i(o,h=o.key){let d;return o.kind==="method"?i.increment()+"":(d=(0,n.isIdentifier)(h)?h.name:(0,n.isStringLiteral)(h)?JSON.stringify(h.value):JSON.stringify((0,p.default)((0,c.default)(h))),o.computed&&(d=`[${d}]`),o.static&&(d=`static:${d}`),d)}i.uid=0,i.increment=function(){return i.uid>=Number.MAX_SAFE_INTEGER?i.uid=0:i.uid++}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/toSequenceExpression.js":(u,e,l)=>{"use strict";e.default=function(c,p){if(c==null||!c.length)return;let i=[],o=(0,n.default)(c,i);if(o){for(let h of i)p.push(h);return o}};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/toStatement.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/generated/index.js");e.default=function(p,i){if((0,n.isStatement)(p))return p;let o,h=!1;if((0,n.isClass)(p))h=!0,o="ClassDeclaration";else if((0,n.isFunction)(p))h=!0,o="FunctionDeclaration";else if((0,n.isAssignmentExpression)(p))return(0,c.expressionStatement)(p);if(h&&!p.id&&(o=!1),!o){if(i)return!1;throw new Error(`cannot turn ${p.type} to a statement`)}return p.type=o,p}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/valueToNode.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/generated/index.js");e.default=function i(o){if(o===void 0)return(0,c.identifier)("undefined");if(o===!0||o===!1)return(0,c.booleanLiteral)(o);if(o===null)return(0,c.nullLiteral)();if(typeof o=="string")return(0,c.stringLiteral)(o);if(typeof o=="number"){let h;if(Number.isFinite(o))h=(0,c.numericLiteral)(Math.abs(o));else{let d;d=Number.isNaN(o)?(0,c.numericLiteral)(0):(0,c.numericLiteral)(1),h=(0,c.binaryExpression)("/",d,(0,c.numericLiteral)(0))}return(o<0||Object.is(o,-0))&&(h=(0,c.unaryExpression)("-",h)),h}if((function(h){return p(h)==="[object RegExp]"})(o)){let h=o.source,d=/\/([a-z]*)$/.exec(o.toString())[1];return(0,c.regExpLiteral)(h,d)}if(Array.isArray(o))return(0,c.arrayExpression)(o.map(i));if((function(h){if(typeof h!="object"||h===null||Object.prototype.toString.call(h)!=="[object Object]")return!1;let d=Object.getPrototypeOf(h);return d===null||Object.getPrototypeOf(d)===null})(o)){let h=[];for(let d of Object.keys(o)){let f;f=(0,n.default)(d)?(0,c.identifier)(d):(0,c.stringLiteral)(d),h.push((0,c.objectProperty)(f,i(o[d])))}return(0,c.objectExpression)(h)}throw new Error("don't know how to turn this value into a node")};let p=Function.call.bind(Object.prototype.toString)},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/core.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.patternLikeCommon=e.importAttributes=e.functionTypeAnnotationCommon=e.functionDeclarationCommon=e.functionCommon=e.classMethodOrPropertyCommon=e.classMethodOrDeclareMethodCommon=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/is.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),p=l("./node_modules/.pnpm/@babel+helper-validator-identifier@7.25.9/node_modules/@babel/helper-validator-identifier/lib/index.js"),i=l("./node_modules/.pnpm/@babel+helper-string-parser@7.25.9/node_modules/@babel/helper-string-parser/lib/index.js"),o=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/constants/index.js"),h=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/utils.js");let d=(0,h.defineAliasedType)("Standardized");d("ArrayExpression",{fields:{elements:{validate:(0,h.arrayOf)((0,h.assertNodeOrValueType)("null","Expression","SpreadElement")),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]}),d("AssignmentExpression",{fields:{operator:{validate:process.env.BABEL_TYPES_8_BREAKING?Object.assign((function(){let S=(0,h.assertOneOf)(...o.ASSIGNMENT_OPERATORS),_=(0,h.assertOneOf)("=");return function(A,L,j){((0,n.default)("Pattern",A.left)?_:S)(A,L,j)}})(),{type:"string"}):(0,h.assertValueType)("string")},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,h.assertNodeType)("LVal","OptionalMemberExpression")},right:{validate:(0,h.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),d("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,h.assertOneOf)(...o.BINARY_OPERATORS)},left:{validate:(function(){let S=(0,h.assertNodeType)("Expression"),_=(0,h.assertNodeType)("Expression","PrivateName");return Object.assign((function(A,L,j){(A.operator==="in"?_:S)(A,L,j)}),{oneOfNodeTypes:["Expression","PrivateName"]})})()},right:{validate:(0,h.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),d("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("string")}}}),d("Directive",{visitor:["value"],fields:{value:{validate:(0,h.assertNodeType)("DirectiveLiteral")}}}),d("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("string")}}}),d("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,h.arrayOfType)("Directive"),default:[]},body:(0,h.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]}),d("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,h.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),d("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,h.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:(0,h.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder")},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,h.assertValueType)("boolean"),optional:!0}},{typeArguments:{validate:(0,h.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,h.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),d("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,h.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,h.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),d("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,h.assertNodeType)("Expression")},consequent:{validate:(0,h.assertNodeType)("Expression")},alternate:{validate:(0,h.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),d("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,h.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),d("DebuggerStatement",{aliases:["Statement"]}),d("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:(0,h.assertNodeType)("Expression")},body:{validate:(0,h.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),d("EmptyStatement",{aliases:["Statement"]}),d("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,h.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),d("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,h.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.assertEach)((0,h.assertNodeType)("CommentBlock","CommentLine")):Object.assign((()=>{}),{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,h.assertEach)(Object.assign((()=>{}),{type:"any"})),optional:!0}}}),d("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,h.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,h.assertNodeType)("Expression")},body:{validate:(0,h.assertNodeType)("Statement")}}}),d("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,h.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,h.assertNodeType)("Expression"),optional:!0},update:{validate:(0,h.assertNodeType)("Expression"),optional:!0},body:{validate:(0,h.assertNodeType)("Statement")}}});let f=()=>({params:(0,h.validateArrayOfType)("Identifier","Pattern","RestElement"),generator:{default:!1},async:{default:!1}});e.functionCommon=f;let b=()=>({returnType:{validate:(0,h.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,h.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});e.functionTypeAnnotationCommon=b;let m=()=>Object.assign({},f(),{declare:{validate:(0,h.assertValueType)("boolean"),optional:!0},id:{validate:(0,h.assertNodeType)("Identifier"),optional:!0}});e.functionDeclarationCommon=m,d("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","returnType","body"],fields:Object.assign({},m(),b(),{body:{validate:(0,h.assertNodeType)("BlockStatement")},predicate:{validate:(0,h.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:process.env.BABEL_TYPES_8_BREAKING?(function(){let S=(0,h.assertNodeType)("Identifier");return function(_,A,L){(0,n.default)("ExportDefaultDeclaration",_)||S(L,"id",L.id)}})():void 0}),d("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},f(),b(),{id:{validate:(0,h.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,h.assertNodeType)("BlockStatement")},predicate:{validate:(0,h.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});let y=()=>({typeAnnotation:{validate:(0,h.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,h.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0}});e.patternLikeCommon=y,d("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},y(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertValueType)("string"),Object.assign((function(S,_,A){if(!(0,c.default)(A,!1))throw new TypeError(`"${A}" is not a valid identifier name`)}),{type:"string"})):(0,h.assertValueType)("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(S,_,A){let L=/\.(\w+)$/.exec(_);if(!L)return;let[,j]=L,F={computed:!1};if(j==="property"){if((0,n.default)("MemberExpression",S,F)||(0,n.default)("OptionalMemberExpression",S,F))return}else if(j==="key"){if((0,n.default)("Property",S,F)||(0,n.default)("Method",S,F))return}else if(j==="exported"){if((0,n.default)("ExportSpecifier",S))return}else if(j==="imported"){if((0,n.default)("ImportSpecifier",S,{imported:A}))return}else if(j==="meta"&&(0,n.default)("MetaProperty",S,{meta:A}))return;if(((0,p.isKeyword)(A.name)||(0,p.isReservedWord)(A.name,!1))&&A.name!=="this")throw new TypeError(`"${A.name}" is not a valid identifier`)}:void 0}),d("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,h.assertNodeType)("Expression")},consequent:{validate:(0,h.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,h.assertNodeType)("Statement")}}}),d("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,h.assertNodeType)("Identifier")},body:{validate:(0,h.assertNodeType)("Statement")}}}),d("StringLiteral",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),d("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,h.chain)((0,h.assertValueType)("number"),Object.assign((function(S,_,A){(1/A<0||!Number.isFinite(A))&&new Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${A}) instead.`)}),{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]}),d("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),d("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),d("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,h.assertValueType)("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertValueType)("string"),Object.assign((function(S,_,A){let L=/[^gimsuy]/.exec(A);if(L)throw new TypeError(`"${L[0]}" is not a valid RegExp flag`)}),{type:"string"})):(0,h.assertValueType)("string"),default:""}}}),d("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,h.assertOneOf)(...o.LOGICAL_OPERATORS)},left:{validate:(0,h.assertNodeType)("Expression")},right:{validate:(0,h.assertNodeType)("Expression")}}}),d("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,h.assertNodeType)("Expression","Super")},property:{validate:(function(){let S=(0,h.assertNodeType)("Identifier","PrivateName"),_=(0,h.assertNodeType)("Expression"),A=function(L,j,F){(L.computed?_:S)(L,j,F)};return A.oneOfNodeTypes=["Expression","Identifier","PrivateName"],A})()},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,h.assertValueType)("boolean"),optional:!0}})}),d("NewExpression",{inherits:"CallExpression"}),d("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,h.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,h.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,h.arrayOfType)("Directive"),default:[]},body:(0,h.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block"]}),d("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,h.validateArrayOfType)("ObjectMethod","ObjectProperty","SpreadElement")}}),d("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},f(),b(),{kind:Object.assign({validate:(0,h.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:(function(){let S=(0,h.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),_=(0,h.assertNodeType)("Expression"),A=function(L,j,F){(L.computed?_:S)(L,j,F)};return A.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],A})()},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0},body:{validate:(0,h.assertNodeType)("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),d("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:(function(){let S=(0,h.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),_=(0,h.assertNodeType)("Expression");return Object.assign((function(A,L,j){(A.computed?_:S)(A,L,j)}),{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]})})()},value:{validate:(0,h.assertNodeType)("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertValueType)("boolean"),Object.assign((function(S,_,A){if(A){if(S.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!(0,n.default)("Identifier",S.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}}),{type:"boolean"})):(0,h.assertValueType)("boolean"),default:!1},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:process.env.BABEL_TYPES_8_BREAKING?(function(){let S=(0,h.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),_=(0,h.assertNodeType)("Expression");return function(A,L,j){((0,n.default)("ObjectPattern",A)?S:_)(j,"value",j.value)}})():void 0}),d("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},y(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,h.assertNodeType)("LVal")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(S,_){let A=/(\w+)\[(\d+)\]/.exec(_);if(!A)throw new Error("Internal Babel error: malformed key.");let[,L,j]=A;if(S[L].length>+j+1)throw new TypeError(`RestElement must be last element of ${L}`)}:void 0}),d("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,h.assertNodeType)("Expression"),optional:!0}}}),d("SequenceExpression",{visitor:["expressions"],fields:{expressions:(0,h.validateArrayOfType)("Expression")},aliases:["Expression"]}),d("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,h.assertNodeType)("Expression")}}}),d("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,h.assertNodeType)("Expression"),optional:!0},consequent:(0,h.validateArrayOfType)("Statement")}}),d("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,h.assertNodeType)("Expression")},cases:(0,h.validateArrayOfType)("SwitchCase")}}),d("ThisExpression",{aliases:["Expression"]}),d("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,h.assertNodeType)("Expression")}}}),d("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertNodeType)("BlockStatement"),Object.assign((function(S){if(!S.handler&&!S.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")}),{oneOfNodeTypes:["BlockStatement"]})):(0,h.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,h.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,h.assertNodeType)("BlockStatement")}}}),d("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,h.assertNodeType)("Expression")},operator:{validate:(0,h.assertOneOf)(...o.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),d("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.assertNodeType)("Identifier","MemberExpression"):(0,h.assertNodeType)("Expression")},operator:{validate:(0,h.assertOneOf)(...o.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),d("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,h.assertValueType)("boolean"),optional:!0},kind:{validate:(0,h.assertOneOf)("var","let","const","using","await using")},declarations:(0,h.validateArrayOfType)("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(()=>{let S=(0,h.assertNodeType)("Identifier");return function(_,A,L){if((0,n.default)("ForXStatement",_,{left:L})){if(L.declarations.length!==1)throw new TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${_.type}`)}else L.declarations.forEach((j=>{j.init||S(j,"id",j.id)}))}})():void 0}),d("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"):(0,h.assertNodeType)("LVal")},definite:{optional:!0,validate:(0,h.assertValueType)("boolean")},init:{optional:!0,validate:(0,h.assertNodeType)("Expression")}}}),d("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,h.assertNodeType)("Expression")},body:{validate:(0,h.assertNodeType)("Statement")}}}),d("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,h.assertNodeType)("Expression")},body:{validate:(0,h.assertNodeType)("Statement")}}}),d("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},y(),{left:{validate:(0,h.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,h.assertNodeType)("Expression")},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0}})}),d("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},y(),{elements:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeOrValueType)("null","PatternLike","LVal")))}})}),d("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},f(),b(),{expression:{validate:(0,h.assertValueType)("boolean")},body:{validate:(0,h.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,h.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})}),d("ClassBody",{visitor:["body"],fields:{body:(0,h.validateArrayOfType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}}),d("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,h.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,h.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,h.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,h.assertNodeType)("Expression")},superTypeParameters:{validate:(0,h.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,h.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,h.assertNodeType)("InterfaceExtends"),optional:!0}}}),d("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,h.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,h.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,h.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,h.assertNodeType)("Expression")},superTypeParameters:{validate:(0,h.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,h.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,h.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,h.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,h.assertValueType)("boolean"),optional:!0}},validate:process.env.BABEL_TYPES_8_BREAKING?(function(){let S=(0,h.assertNodeType)("Identifier");return function(_,A,L){(0,n.default)("ExportDefaultDeclaration",_)||S(L,"id",L.id)}})():void 0});let x=e.importAttributes={attributes:{optional:!0,validate:(0,h.arrayOfType)("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:(0,h.arrayOfType)("ImportAttribute")}};d("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:(0,h.assertNodeType)("StringLiteral")},exportKind:(0,h.validateOptional)((0,h.assertOneOf)("type","value"))},x)}),d("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:(0,h.validateType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:(0,h.validateOptional)((0,h.assertOneOf)("value"))}}),d("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:process.env?["declaration","specifiers","source","attributes"]:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertNodeType)("Declaration"),Object.assign((function(S,_,A){if(A&&S.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(A&&S.source)throw new TypeError("Cannot export a declaration from a source")}),{oneOfNodeTypes:["Declaration"]})):(0,h.assertNodeType)("Declaration")}},x,{specifiers:{default:[],validate:(0,h.arrayOf)((function(){let S=(0,h.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),_=(0,h.assertNodeType)("ExportSpecifier");return process.env.BABEL_TYPES_8_BREAKING?Object.assign((function(A,L,j){(A.source?S:_)(A,L,j)}),{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]}):S})())},source:{validate:(0,h.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,h.validateOptional)((0,h.assertOneOf)("type","value"))})}),d("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,h.assertNodeType)("Identifier")},exported:{validate:(0,h.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,h.assertOneOf)("type","value"),optional:!0}}}),d("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,h.assertNodeType)("VariableDeclaration","LVal");let S=(0,h.assertNodeType)("VariableDeclaration"),_=(0,h.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign((function(A,L,j){(0,n.default)("VariableDeclaration",j)?S(A,L,j):_(A,L,j)}),{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})})()},right:{validate:(0,h.assertNodeType)("Expression")},body:{validate:(0,h.assertNodeType)("Statement")},await:{default:!1}}}),d("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},x,{module:{optional:!0,validate:(0,h.assertValueType)("boolean")},phase:{default:null,validate:(0,h.assertOneOf)("source","defer")},specifiers:(0,h.validateArrayOfType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:(0,h.assertNodeType)("StringLiteral")},importKind:{validate:(0,h.assertOneOf)("type","typeof","value"),optional:!0}})}),d("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,h.assertNodeType)("Identifier")}}}),d("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,h.assertNodeType)("Identifier")}}}),d("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,h.assertNodeType)("Identifier")},imported:{validate:(0,h.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,h.assertOneOf)("type","typeof","value"),optional:!0}}}),d("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,h.assertOneOf)("source","defer")},source:{validate:(0,h.assertNodeType)("Expression")},options:{validate:(0,h.assertNodeType)("Expression"),optional:!0}}}),d("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertNodeType)("Identifier"),Object.assign((function(S,_,A){let L;switch(A.name){case"function":L="sent";break;case"new":L="target";break;case"import":L="meta"}if(!(0,n.default)("Identifier",S.property,{name:L}))throw new TypeError("Unrecognised MetaProperty")}),{oneOfNodeTypes:["Identifier"]})):(0,h.assertNodeType)("Identifier")},property:{validate:(0,h.assertNodeType)("Identifier")}}});let v=()=>({abstract:{validate:(0,h.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,h.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,h.assertValueType)("boolean"),optional:!0},key:{validate:(0,h.chain)((function(){let S=(0,h.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),_=(0,h.assertNodeType)("Expression");return function(A,L,j){(A.computed?_:S)(A,L,j)}})(),(0,h.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}});e.classMethodOrPropertyCommon=v;let E=()=>Object.assign({},f(),v(),{params:(0,h.validateArrayOfType)("Identifier","Pattern","RestElement","TSParameterProperty"),kind:{validate:(0,h.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,h.chain)((0,h.assertValueType)("string"),(0,h.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0}});e.classMethodOrDeclareMethodCommon=E,d("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},E(),b(),{body:{validate:(0,h.assertNodeType)("BlockStatement")}})}),d("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},y(),{properties:(0,h.validateArrayOfType)("RestElement","ObjectProperty")})}),d("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,h.assertNodeType)("Expression")}}}),d("Super",{aliases:["Expression"]}),d("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,h.assertNodeType)("Expression")},quasi:{validate:(0,h.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,h.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),d("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,h.chain)((0,h.assertShape)({raw:{validate:(0,h.assertValueType)("string")},cooked:{validate:(0,h.assertValueType)("string"),optional:!0}}),(function(S){let _=S.value.raw,A=!1,L=()=>{throw new Error("Internal @babel/types error.")},{str:j,firstInvalidLoc:F}=(0,i.readStringContents)("template",_,0,0,0,{unterminated(){A=!0},strictNumericEscape:L,invalidEscapeSequence:L,numericSeparatorInEscapeSequence:L,unexpectedNumericSeparator:L,invalidDigit:L,invalidCodePoint:L});if(!A)throw new Error("Invalid raw");S.value.cooked=F?null:j}))},tail:{default:!1}}}),d("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:(0,h.validateArrayOfType)("TemplateElement"),expressions:{validate:(0,h.chain)((0,h.assertValueType)("array"),(0,h.assertEach)((0,h.assertNodeType)("Expression","TSType")),(function(S,_,A){if(S.quasis.length!==A.length+1)throw new TypeError(`Number of ${S.type} quasis should be exactly one more than the number of expressions.
|
|
Expected ${A.length+1} quasis but got ${S.quasis.length}`)}))}}}),d("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertValueType)("boolean"),Object.assign((function(S,_,A){if(A&&!S.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}),{type:"boolean"})):(0,h.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,h.assertNodeType)("Expression")}}}),d("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,h.assertNodeType)("Expression")}}}),d("Import",{aliases:["Expression"]}),d("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,h.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),d("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,h.assertNodeType)("Identifier")}}}),d("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,h.assertNodeType)("Expression")},property:{validate:(function(){let S=(0,h.assertNodeType)("Identifier"),_=(0,h.assertNodeType)("Expression");return Object.assign((function(A,L,j){(A.computed?_:S)(A,L,j)}),{oneOfNodeTypes:["Expression","Identifier"]})})()},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertValueType)("boolean"),(0,h.assertOptionalChainStart)()):(0,h.assertValueType)("boolean")}}}),d("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,h.assertNodeType)("Expression")},arguments:(0,h.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,h.chain)((0,h.assertValueType)("boolean"),(0,h.assertOptionalChainStart)()):(0,h.assertValueType)("boolean")},typeArguments:{validate:(0,h.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,h.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}}),d("ClassProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},v(),{value:{validate:(0,h.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,h.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,h.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,h.assertValueType)("boolean"),optional:!0},declare:{validate:(0,h.assertValueType)("boolean"),optional:!0},variance:{validate:(0,h.assertNodeType)("Variance"),optional:!0}})}),d("ClassAccessorProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},v(),{key:{validate:(0,h.chain)((function(){let S=(0,h.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),_=(0,h.assertNodeType)("Expression");return function(A,L,j){(A.computed?_:S)(A,L,j)}})(),(0,h.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,h.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,h.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,h.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,h.assertValueType)("boolean"),optional:!0},declare:{validate:(0,h.assertValueType)("boolean"),optional:!0},variance:{validate:(0,h.assertNodeType)("Variance"),optional:!0}})}),d("ClassPrivateProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,h.assertNodeType)("PrivateName")},value:{validate:(0,h.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,h.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,h.arrayOfType)("Decorator"),optional:!0},static:{validate:(0,h.assertValueType)("boolean"),default:!1},readonly:{validate:(0,h.assertValueType)("boolean"),optional:!0},definite:{validate:(0,h.assertValueType)("boolean"),optional:!0},variance:{validate:(0,h.assertNodeType)("Variance"),optional:!0}}}),d("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},E(),b(),{kind:{validate:(0,h.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,h.assertNodeType)("PrivateName")},body:{validate:(0,h.assertNodeType)("BlockStatement")}})}),d("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,h.assertNodeType)("Identifier")}}}),d("StaticBlock",{visitor:["body"],fields:{body:(0,h.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]})},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/deprecated-aliases.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEPRECATED_ALIASES=void 0,e.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/experimental.js":(u,e,l)=>{"use strict";var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/utils.js");(0,n.default)("ArgumentPlaceholder",{}),(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}:{object:{validate:Object.assign((()=>{}),{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign((()=>{}),{oneOfNodeTypes:["Expression"]})}}}),(0,n.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,n.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,n.assertNodeType)("StringLiteral")}}}),(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:!1}}}),(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,n.validateArrayOfType)("ObjectProperty","SpreadElement")}}),(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.arrayOfType)("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]}),(0,n.default)("TopicReference",{aliases:["Expression"]}),(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/flow.js":(u,e,l)=>{"use strict";var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/core.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/utils.js");let p=(0,c.defineAliasedType)("Flow"),i=o=>{let h=o==="DeclareClass";p(o,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...h?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,c.validateType)("Identifier"),typeParameters:(0,c.validateOptionalType)("TypeParameterDeclaration"),extends:(0,c.validateOptional)((0,c.arrayOfType)("InterfaceExtends"))},h?{mixins:(0,c.validateOptional)((0,c.arrayOfType)("InterfaceExtends")),implements:(0,c.validateOptional)((0,c.arrayOfType)("ClassImplements"))}:{},{body:(0,c.validateType)("ObjectTypeAnnotation")})})};p("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,c.validateType)("FlowType")}}),p("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,c.validate)((0,c.assertValueType)("boolean"))}}),p("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,c.validateType)("Identifier"),typeParameters:(0,c.validateOptionalType)("TypeParameterInstantiation")}}),i("DeclareClass"),p("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,c.validateType)("Identifier"),predicate:(0,c.validateOptionalType)("DeclaredPredicate")}}),i("DeclareInterface"),p("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,c.validateType)("Identifier","StringLiteral"),body:(0,c.validateType)("BlockStatement"),kind:(0,c.validateOptional)((0,c.assertOneOf)("CommonJS","ES"))}}),p("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,c.validateType)("TypeAnnotation")}}),p("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,c.validateType)("Identifier"),typeParameters:(0,c.validateOptionalType)("TypeParameterDeclaration"),right:(0,c.validateType)("FlowType")}}),p("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,c.validateType)("Identifier"),typeParameters:(0,c.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,c.validateOptionalType)("FlowType"),impltype:(0,c.validateOptionalType)("FlowType")}}),p("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,c.validateType)("Identifier")}}),p("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:(0,c.validateOptionalType)("Flow"),specifiers:(0,c.validateOptional)((0,c.arrayOfType)("ExportSpecifier","ExportNamespaceSpecifier")),source:(0,c.validateOptionalType)("StringLiteral"),default:(0,c.validateOptional)((0,c.assertValueType)("boolean"))},n.importAttributes)}),p("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:(0,c.validateType)("StringLiteral"),exportKind:(0,c.validateOptional)((0,c.assertOneOf)("type","value"))},n.importAttributes)}),p("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,c.validateType)("Flow")}}),p("ExistsTypeAnnotation",{aliases:["FlowType"]}),p("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,c.validateOptionalType)("TypeParameterDeclaration"),params:(0,c.validateArrayOfType)("FunctionTypeParam"),rest:(0,c.validateOptionalType)("FunctionTypeParam"),this:(0,c.validateOptionalType)("FunctionTypeParam"),returnType:(0,c.validateType)("FlowType")}}),p("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,c.validateOptionalType)("Identifier"),typeAnnotation:(0,c.validateType)("FlowType"),optional:(0,c.validateOptional)((0,c.assertValueType)("boolean"))}}),p("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,c.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,c.validateOptionalType)("TypeParameterInstantiation")}}),p("InferredPredicate",{aliases:["FlowPredicate"]}),p("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,c.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,c.validateOptionalType)("TypeParameterInstantiation")}}),i("InterfaceDeclaration"),p("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,c.validateOptional)((0,c.arrayOfType)("InterfaceExtends")),body:(0,c.validateType)("ObjectTypeAnnotation")}}),p("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,c.validate)((0,c.arrayOfType)("FlowType"))}}),p("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,c.validateType)("FlowType")}}),p("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,c.validate)((0,c.assertValueType)("number"))}}),p("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,c.validate)((0,c.arrayOfType)("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:(0,c.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,c.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,c.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,c.assertValueType)("boolean"),default:!1},inexact:(0,c.validateOptional)((0,c.assertValueType)("boolean"))}}),p("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,c.validateType)("Identifier"),value:(0,c.validateType)("FlowType"),optional:(0,c.validate)((0,c.assertValueType)("boolean")),static:(0,c.validate)((0,c.assertValueType)("boolean")),method:(0,c.validate)((0,c.assertValueType)("boolean"))}}),p("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,c.validateType)("FlowType"),static:(0,c.validate)((0,c.assertValueType)("boolean"))}}),p("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,c.validateOptionalType)("Identifier"),key:(0,c.validateType)("FlowType"),value:(0,c.validateType)("FlowType"),static:(0,c.validate)((0,c.assertValueType)("boolean")),variance:(0,c.validateOptionalType)("Variance")}}),p("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,c.validateType)("Identifier","StringLiteral"),value:(0,c.validateType)("FlowType"),kind:(0,c.validate)((0,c.assertOneOf)("init","get","set")),static:(0,c.validate)((0,c.assertValueType)("boolean")),proto:(0,c.validate)((0,c.assertValueType)("boolean")),optional:(0,c.validate)((0,c.assertValueType)("boolean")),variance:(0,c.validateOptionalType)("Variance"),method:(0,c.validate)((0,c.assertValueType)("boolean"))}}),p("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,c.validateType)("FlowType")}}),p("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,c.validateType)("Identifier"),typeParameters:(0,c.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,c.validateOptionalType)("FlowType"),impltype:(0,c.validateType)("FlowType")}}),p("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:(0,c.validateType)("Identifier"),qualification:(0,c.validateType)("Identifier","QualifiedTypeIdentifier")}}),p("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,c.validate)((0,c.assertValueType)("string"))}}),p("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,c.validate)((0,c.arrayOfType)("FlowType"))}}),p("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,c.validateType)("FlowType")}}),p("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,c.validateType)("Identifier"),typeParameters:(0,c.validateOptionalType)("TypeParameterDeclaration"),right:(0,c.validateType)("FlowType")}}),p("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,c.validateType)("FlowType")}}),p("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,c.validateType)("Expression"),typeAnnotation:(0,c.validateType)("TypeAnnotation")}}),p("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,c.validate)((0,c.assertValueType)("string")),bound:(0,c.validateOptionalType)("TypeAnnotation"),default:(0,c.validateOptionalType)("FlowType"),variance:(0,c.validateOptionalType)("Variance")}}),p("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,c.validate)((0,c.arrayOfType)("TypeParameter"))}}),p("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,c.validate)((0,c.arrayOfType)("FlowType"))}}),p("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,c.validate)((0,c.arrayOfType)("FlowType"))}}),p("Variance",{builder:["kind"],fields:{kind:(0,c.validate)((0,c.assertOneOf)("minus","plus"))}}),p("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,c.validateType)("Identifier"),body:(0,c.validateType)("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}}),p("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,c.validate)((0,c.assertValueType)("boolean")),members:(0,c.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,c.validate)((0,c.assertValueType)("boolean"))}}),p("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,c.validate)((0,c.assertValueType)("boolean")),members:(0,c.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,c.validate)((0,c.assertValueType)("boolean"))}}),p("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,c.validate)((0,c.assertValueType)("boolean")),members:(0,c.validateArrayOfType)("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:(0,c.validate)((0,c.assertValueType)("boolean"))}}),p("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,c.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,c.validate)((0,c.assertValueType)("boolean"))}}),p("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,c.validateType)("Identifier"),init:(0,c.validateType)("BooleanLiteral")}}),p("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,c.validateType)("Identifier"),init:(0,c.validateType)("NumericLiteral")}}),p("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,c.validateType)("Identifier"),init:(0,c.validateType)("StringLiteral")}}),p("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,c.validateType)("Identifier")}}),p("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,c.validateType)("FlowType"),indexType:(0,c.validateType)("FlowType")}}),p("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,c.validateType)("FlowType"),indexType:(0,c.validateType)("FlowType"),optional:(0,c.validate)((0,c.assertValueType)("boolean"))}})},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ALIAS_KEYS",{enumerable:!0,get:function(){return n.ALIAS_KEYS}}),Object.defineProperty(e,"BUILDER_KEYS",{enumerable:!0,get:function(){return n.BUILDER_KEYS}}),Object.defineProperty(e,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return p.DEPRECATED_ALIASES}}),Object.defineProperty(e,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return n.DEPRECATED_KEYS}}),Object.defineProperty(e,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return n.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(e,"NODE_FIELDS",{enumerable:!0,get:function(){return n.NODE_FIELDS}}),Object.defineProperty(e,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return n.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(e,"PLACEHOLDERS",{enumerable:!0,get:function(){return c.PLACEHOLDERS}}),Object.defineProperty(e,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return c.PLACEHOLDERS_ALIAS}}),Object.defineProperty(e,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return c.PLACEHOLDERS_FLIPPED_ALIAS}}),e.TYPES=void 0,Object.defineProperty(e,"VISITOR_KEYS",{enumerable:!0,get:function(){return n.VISITOR_KEYS}}),l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/core.js"),l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/flow.js"),l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/jsx.js"),l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/misc.js"),l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/experimental.js"),l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/typescript.js");var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/utils.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/placeholders.js"),p=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/deprecated-aliases.js");Object.keys(p.DEPRECATED_ALIASES).forEach((i=>{n.FLIPPED_ALIAS_KEYS[i]=n.FLIPPED_ALIAS_KEYS[p.DEPRECATED_ALIASES[i]]})),e.TYPES=[].concat(Object.keys(n.VISITOR_KEYS),Object.keys(n.FLIPPED_ALIAS_KEYS),Object.keys(n.DEPRECATED_KEYS))},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/jsx.js":(u,e,l)=>{"use strict";var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/utils.js");let c=(0,n.defineAliasedType)("JSX");c("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),c("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),c("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,n.assertNodeType)("JSXClosingElement")},children:(0,n.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:!0}})}),c("JSXEmptyExpression",{}),c("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}}),c("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),c("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}}),c("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),c("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),c("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:(0,n.validateArrayOfType)("JSXAttribute","JSXSpreadAttribute"),typeParameters:{validate:(0,n.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),c("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}}),c("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}}),c("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:(0,n.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}}),c("JSXOpeningFragment",{aliases:["Immutable"]}),c("JSXClosingFragment",{aliases:["Immutable"]})},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/misc.js":(u,e,l)=>{"use strict";var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/utils.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/placeholders.js"),p=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/core.js");let i=(0,n.defineAliasedType)("Miscellaneous");i("Noop",{visitor:[]}),i("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...c.PLACEHOLDERS)}},(0,p.patternLikeCommon)())}),i("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/placeholders.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PLACEHOLDERS_FLIPPED_ALIAS=e.PLACEHOLDERS_ALIAS=e.PLACEHOLDERS=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/utils.js");let c=e.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],p=e.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let o of c){let h=n.ALIAS_KEYS[o];h!=null&&h.length&&(p[o]=h)}let i=e.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(p).forEach((o=>{p[o].forEach((h=>{hasOwnProperty.call(i,h)||(i[h]=[]),i[h].push(o)}))}))},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/typescript.js":(u,e,l)=>{"use strict";var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/utils.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/core.js"),p=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/is.js");let i=(0,n.defineAliasedType)("TypeScript"),o=(0,n.assertValueType)("boolean"),h=()=>({returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});i("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,n.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,n.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,n.arrayOfType)("Decorator"),optional:!0}}}),i("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,c.functionDeclarationCommon)(),h())}),i("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,c.classMethodOrDeclareMethodCommon)(),h())}),i("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});let d=()=>({typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)("ArrayPattern","Identifier","ObjectPattern","RestElement"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}),f={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:d()};i("TSCallSignatureDeclaration",f),i("TSConstructSignatureDeclaration",f);let b=()=>({key:(0,n.validateType)("Expression"),computed:{default:!1},optional:(0,n.validateOptional)(o)});i("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},b(),{readonly:(0,n.validateOptional)(o),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),kind:{validate:(0,n.assertOneOf)("get","set")}})}),i("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},d(),b(),{kind:{validate:(0,n.assertOneOf)("method","get","set")}})}),i("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(o),static:(0,n.validateOptional)(o),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});let m=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(let E of m)i(E,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});i("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});let y={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};i("TSFunctionType",Object.assign({},y,{fields:d()})),i("TSConstructorType",Object.assign({},y,{fields:Object.assign({},d(),{abstract:(0,n.validateOptional)(o)})})),i("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),i("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)("Identifier","TSThisType"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(o)}}),i("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,n.validateType)("TSEntityName","TSImportType"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),i("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}}),i("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}}),i("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)("TSType","TSNamedTupleMember")}}),i("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),i("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),i("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:o,default:!1},elementType:(0,n.validateType)("TSType")}});let x={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};i("TSUnionType",x),i("TSIntersectionType",x),i("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}}),i("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}}),i("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),i("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}}),i("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}}),i("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:(0,n.validateType)("TSTypeParameter")},{readonly:(0,n.validateOptional)((0,n.assertOneOf)(!0,!1,"+","-")),optional:(0,n.validateOptional)((0,n.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")})}),i("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:(function(){let E=(0,n.assertNodeType)("NumericLiteral","BigIntLiteral"),S=(0,n.assertOneOf)("-"),_=(0,n.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function A(L,j,F){(0,p.default)("UnaryExpression",F)?(S(F,"operator",F.operator),E(F,"argument",F.argument)):_(L,j,F)}return A.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],A})()}}}),i("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),i("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}}),i("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}}),i("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}}),i("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("Expression"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});let v={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}};i("TSAsExpression",v),i("TSSatisfiesExpression",v),i("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}}),i("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(o),const:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}}),i("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)("Identifier","StringLiteral"),initializer:(0,n.validateOptionalType)("Expression")}}),i("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:(0,n.assertOneOf)("global","module","namespace")},declare:(0,n.validateOptional)(o)},{global:(0,n.validateOptional)(o)},{id:(0,n.validateType)("Identifier","StringLiteral"),body:(0,n.validateType)("TSModuleBlock","TSModuleDeclaration")})}),i("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}}),i("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation"),options:{validate:(0,n.assertNodeType)("Expression"),optional:!0}}}),i("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(o),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)("TSEntityName","TSExternalModuleReference"),importKind:{validate:(0,n.assertOneOf)("type","value"),optional:!0}}}),i("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}}),i("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}}),i("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}}),i("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}}),i("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}}),i("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:(0,n.validateArrayOfType)("TSType")}}),i("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:(0,n.validateArrayOfType)("TSTypeParameter")}}),i("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},in:{validate:(0,n.assertValueType)("boolean"),optional:!0},out:{validate:(0,n.assertValueType)("boolean"),optional:!0},const:{validate:(0,n.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:!0},default:{validate:(0,n.assertNodeType)("TSType"),optional:!0}}})},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/utils.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.VISITOR_KEYS=e.NODE_PARENT_VALIDATIONS=e.NODE_FIELDS=e.FLIPPED_ALIAS_KEYS=e.DEPRECATED_KEYS=e.BUILDER_KEYS=e.ALIAS_KEYS=void 0,e.arrayOf=x,e.arrayOfType=v,e.assertEach=E,e.assertNodeOrValueType=function(...U){function z(C,R,G){for(let V of U)if(m(G)===V||(0,n.default)(V,G))return void(0,c.validateChild)(C,R,G);throw new TypeError(`Property ${R} of ${C.type} expected node to be of a type ${JSON.stringify(U)} but instead got ${JSON.stringify(G==null?void 0:G.type)}`)}return z.oneOfNodeOrValueTypes=U,z},e.assertNodeType=S,e.assertOneOf=function(...U){function z(C,R,G){if(!U.includes(G))throw new TypeError(`Property ${R} expected value to be one of ${JSON.stringify(U)} but got ${JSON.stringify(G)}`)}return z.oneOf=U,z},e.assertOptionalChainStart=function(){return function(U){var z;let C=U;for(;U;){let{type:R}=C;if(R!=="OptionalCallExpression"){if(R!=="OptionalMemberExpression")break;if(C.optional)return;C=C.object}else{if(C.optional)return;C=C.callee}}throw new TypeError(`Non-optional ${U.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(z=C)==null?void 0:z.type}`)}},e.assertShape=function(U){function z(C,R,G){let V=[];for(let B of Object.keys(U))try{(0,c.validateField)(C,B,G[B],U[B])}catch(q){if(q instanceof TypeError){V.push(q.message);continue}throw q}if(V.length)throw new TypeError(`Property ${R} of ${C.type} expected to have the following:
|
|
${V.join(`
|
|
`)}`)}return z.shapeOf=U,z},e.assertValueType=_,e.chain=A,e.default=k,e.defineAliasedType=function(...U){return(z,C={})=>{let R=C.aliases;var G;R||(C.inherits&&(R=(G=F[C.inherits].aliases)==null?void 0:G.slice()),R!=null||(R=[]),C.aliases=R);let V=U.filter((B=>!R.includes(B)));R.unshift(...V),k(z,C)}},e.validate=y,e.validateArrayOfType=function(...U){return y(v(...U))},e.validateOptional=function(U){return{validate:U,optional:!0}},e.validateOptionalType=function(...U){return{validate:S(...U),optional:!0}},e.validateType=function(...U){return y(S(...U))};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/is.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/validate.js");let p=e.VISITOR_KEYS={},i=e.ALIAS_KEYS={},o=e.FLIPPED_ALIAS_KEYS={},h=e.NODE_FIELDS={},d=e.BUILDER_KEYS={},f=e.DEPRECATED_KEYS={},b=e.NODE_PARENT_VALIDATIONS={};function m(U){return Array.isArray(U)?"array":U===null?"null":typeof U}function y(U){return{validate:U}}function x(U){return A(_("array"),E(U))}function v(...U){return x(S(...U))}function E(U){let z=process.env.BABEL_TYPES_8_BREAKING?c.validateChild:()=>{};function C(R,G,V){if(Array.isArray(V))for(let B=0;B<V.length;B++){let q=`${G}[${B}]`,K=V[B];U(R,q,K),z(R,q,K)}}return C.each=U,C}function S(...U){function z(C,R,G){for(let V of U)if((0,n.default)(V,G))return void(0,c.validateChild)(C,R,G);throw new TypeError(`Property ${R} of ${C.type} expected node to be of a type ${JSON.stringify(U)} but instead got ${JSON.stringify(G==null?void 0:G.type)}`)}return z.oneOfNodeTypes=U,z}function _(U){function z(C,R,G){if(m(G)!==U)throw new TypeError(`Property ${R} expected type of ${U} but got ${m(G)}`)}return z.type=U,z}function A(...U){function z(...C){for(let R of U)R(...C)}if(z.chainOf=U,U.length>=2&&"type"in U[0]&&U[0].type==="array"&&!("each"in U[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return z}let L=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]),j=new Set(["default","optional","deprecated","validate"]),F={};function k(U,z={}){let C=z.inherits&&F[z.inherits]||{},R=z.fields;if(!R&&(R={},C.fields)){let q=Object.getOwnPropertyNames(C.fields);for(let K of q){let $=C.fields[K],W=$.default;if(Array.isArray(W)?W.length>0:W&&typeof W=="object")throw new Error("field defaults can only be primitives or empty arrays currently");R[K]={default:Array.isArray(W)?[]:W,optional:$.optional,deprecated:$.deprecated,validate:$.validate}}}let G=z.visitor||C.visitor||[],V=z.aliases||C.aliases||[],B=z.builder||C.builder||z.visitor||[];for(let q of Object.keys(z))if(!L.has(q))throw new Error(`Unknown type option "${q}" on ${U}`);z.deprecatedAlias&&(f[z.deprecatedAlias]=U);for(let q of G.concat(B))R[q]=R[q]||{};for(let q of Object.keys(R)){let K=R[q];K.default===void 0||B.includes(q)||(K.optional=!0),K.default===void 0?K.default=null:K.validate||K.default==null||(K.validate=_(m(K.default)));for(let $ of Object.keys(K))if(!j.has($))throw new Error(`Unknown field key "${$}" on ${U}.${q}`)}p[U]=z.visitor=G,d[U]=z.builder=B,h[U]=z.fields=R,i[U]=z.aliases=V,V.forEach((q=>{o[q]=o[q]||[],o[q].push(U)})),z.validate&&(b[U]=z.validate),F[U]=z}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={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,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getAssignmentIdentifiers:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,getFunctionName:!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(e,"__internal__deprecationWarning",{enumerable:!0,get:function(){return Qe.default}}),Object.defineProperty(e,"addComment",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"addComments",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"appendToMemberExpression",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(e,"assertNode",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"buildMatchMemberExpression",{enumerable:!0,get:function(){return Ee.default}}),Object.defineProperty(e,"clone",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"cloneDeep",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"cloneNode",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"cloneWithoutLoc",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"createFlowUnionType",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"createTSUnionType",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"ensureBlock",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(e,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return Oe.default}}),Object.defineProperty(e,"getBindingIdentifiers",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(e,"getFunctionName",{enumerable:!0,get:function(){return ye.default}}),Object.defineProperty(e,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return xe.default}}),Object.defineProperty(e,"inheritInnerComments",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"inheritLeadingComments",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"inheritTrailingComments",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"inherits",{enumerable:!0,get:function(){return be.default}}),Object.defineProperty(e,"inheritsComments",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(e,"is",{enumerable:!0,get:function(){return Ce.default}}),Object.defineProperty(e,"isBinding",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(e,"isBlockScoped",{enumerable:!0,get:function(){return pe.default}}),Object.defineProperty(e,"isImmutable",{enumerable:!0,get:function(){return nt.default}}),Object.defineProperty(e,"isLet",{enumerable:!0,get:function(){return ft.default}}),Object.defineProperty(e,"isNode",{enumerable:!0,get:function(){return _t.default}}),Object.defineProperty(e,"isNodesEquivalent",{enumerable:!0,get:function(){return Pt.default}}),Object.defineProperty(e,"isPlaceholderType",{enumerable:!0,get:function(){return ht.default}}),Object.defineProperty(e,"isReferenced",{enumerable:!0,get:function(){return De.default}}),Object.defineProperty(e,"isScope",{enumerable:!0,get:function(){return ze.default}}),Object.defineProperty(e,"isSpecifierDefault",{enumerable:!0,get:function(){return Ze.default}}),Object.defineProperty(e,"isType",{enumerable:!0,get:function(){return tt.default}}),Object.defineProperty(e,"isValidES3Identifier",{enumerable:!0,get:function(){return ge.default}}),Object.defineProperty(e,"isValidIdentifier",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(e,"isVar",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(e,"matchesPattern",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(e,"prependToMemberExpression",{enumerable:!0,get:function(){return Ne.default}}),e.react=void 0,Object.defineProperty(e,"removeComments",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(e,"removeProperties",{enumerable:!0,get:function(){return Pe.default}}),Object.defineProperty(e,"removePropertiesDeep",{enumerable:!0,get:function(){return Ke.default}}),Object.defineProperty(e,"removeTypeDuplicates",{enumerable:!0,get:function(){return We.default}}),Object.defineProperty(e,"shallowEqual",{enumerable:!0,get:function(){return Te.default}}),Object.defineProperty(e,"toBindingIdentifierName",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"toBlock",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"toComputedKey",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(e,"toExpression",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(e,"toIdentifier",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"toKeyAlias",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(e,"toStatement",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(e,"traverse",{enumerable:!0,get:function(){return ve.default}}),Object.defineProperty(e,"traverseFast",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(e,"validate",{enumerable:!0,get:function(){return Se.default}}),Object.defineProperty(e,"valueToNode",{enumerable:!0,get:function(){return X.default}});var c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/react/isReactComponent.js"),p=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/react/isCompatTag.js"),i=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/react/buildChildren.js"),o=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/asserts/assertNode.js"),h=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/asserts/generated/index.js");Object.keys(h).forEach((function(ce){ce!=="default"&&ce!=="__esModule"&&(Object.prototype.hasOwnProperty.call(n,ce)||ce in e&&e[ce]===h[ce]||Object.defineProperty(e,ce,{enumerable:!0,get:function(){return h[ce]}}))}));var d=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js"),f=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js"),b=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js"),m=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/generated/index.js");Object.keys(m).forEach((function(ce){ce!=="default"&&ce!=="__esModule"&&(Object.prototype.hasOwnProperty.call(n,ce)||ce in e&&e[ce]===m[ce]||Object.defineProperty(e,ce,{enumerable:!0,get:function(){return m[ce]}}))}));var y=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/generated/uppercase.js");Object.keys(y).forEach((function(ce){ce!=="default"&&ce!=="__esModule"&&(Object.prototype.hasOwnProperty.call(n,ce)||ce in e&&e[ce]===y[ce]||Object.defineProperty(e,ce,{enumerable:!0,get:function(){return y[ce]}}))}));var x=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/productions.js");Object.keys(x).forEach((function(ce){ce!=="default"&&ce!=="__esModule"&&(Object.prototype.hasOwnProperty.call(n,ce)||ce in e&&e[ce]===x[ce]||Object.defineProperty(e,ce,{enumerable:!0,get:function(){return x[ce]}}))}));var v=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/clone/cloneNode.js"),E=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/clone/clone.js"),S=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/clone/cloneDeep.js"),_=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js"),A=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js"),L=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/comments/addComment.js"),j=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/comments/addComments.js"),F=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/comments/inheritInnerComments.js"),k=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/comments/inheritLeadingComments.js"),U=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/comments/inheritsComments.js"),z=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/comments/inheritTrailingComments.js"),C=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/comments/removeComments.js"),R=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/constants/generated/index.js");Object.keys(R).forEach((function(ce){ce!=="default"&&ce!=="__esModule"&&(Object.prototype.hasOwnProperty.call(n,ce)||ce in e&&e[ce]===R[ce]||Object.defineProperty(e,ce,{enumerable:!0,get:function(){return R[ce]}}))}));var G=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/constants/index.js");Object.keys(G).forEach((function(ce){ce!=="default"&&ce!=="__esModule"&&(Object.prototype.hasOwnProperty.call(n,ce)||ce in e&&e[ce]===G[ce]||Object.defineProperty(e,ce,{enumerable:!0,get:function(){return G[ce]}}))}));var V=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/ensureBlock.js"),B=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js"),q=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/toBlock.js"),K=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/toComputedKey.js"),$=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/toExpression.js"),W=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/toIdentifier.js"),Z=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/toKeyAlias.js"),Q=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/toStatement.js"),X=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/valueToNode.js"),ie=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/index.js");Object.keys(ie).forEach((function(ce){ce!=="default"&&ce!=="__esModule"&&(Object.prototype.hasOwnProperty.call(n,ce)||ce in e&&e[ce]===ie[ce]||Object.defineProperty(e,ce,{enumerable:!0,get:function(){return ie[ce]}}))}));var oe=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js"),be=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/modifications/inherits.js"),Ne=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js"),Pe=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/modifications/removeProperties.js"),Ke=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js"),We=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js"),Oe=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js"),de=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js"),xe=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js"),ye=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/retrievers/getFunctionName.js"),ve=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/traverse/traverse.js");Object.keys(ve).forEach((function(ce){ce!=="default"&&ce!=="__esModule"&&(Object.prototype.hasOwnProperty.call(n,ce)||ce in e&&e[ce]===ve[ce]||Object.defineProperty(e,ce,{enumerable:!0,get:function(){return ve[ce]}}))}));var he=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/traverse/traverseFast.js"),Te=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/utils/shallowEqual.js"),Ce=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/is.js"),se=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isBinding.js"),pe=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isBlockScoped.js"),nt=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isImmutable.js"),ft=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isLet.js"),_t=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isNode.js"),Pt=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isNodesEquivalent.js"),ht=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isPlaceholderType.js"),De=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isReferenced.js"),ze=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isScope.js"),Ze=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isSpecifierDefault.js"),tt=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isType.js"),ge=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isValidES3Identifier.js"),fe=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),ee=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isVar.js"),le=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/matchesPattern.js"),Se=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/validate.js"),Ee=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js"),Be=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js");Object.keys(Be).forEach((function(ce){ce!=="default"&&ce!=="__esModule"&&(Object.prototype.hasOwnProperty.call(n,ce)||ce in e&&e[ce]===Be[ce]||Object.defineProperty(e,ce,{enumerable:!0,get:function(){return Be[ce]}}))}));var Qe=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/utils/deprecationWarning.js");e.react={isReactComponent:c.default,isCompatTag:p.default,buildChildren:i.default},e.toSequenceExpression=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/converters/toSequenceExpression.js").default,process.env.BABEL_TYPES_8_BREAKING&&console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c,p,i=!1){return c.object=(0,n.memberExpression)(c.object,c.property,c.computed),c.property=p,c.computed=!!i,c};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function p(i){let o=Array.from(i),h=new Map,d=new Map,f=new Set,b=[];for(let m=0;m<o.length;m++){let y=o[m];if(y&&!b.includes(y)){if((0,n.isAnyTypeAnnotation)(y))return[y];if((0,n.isFlowBaseAnnotation)(y))d.set(y.type,y);else if((0,n.isUnionTypeAnnotation)(y))f.has(y.types)||(o.push(...y.types),f.add(y.types));else if((0,n.isGenericTypeAnnotation)(y)){let x=c(y.id);if(h.has(x)){let v=h.get(x);v.typeParameters?y.typeParameters&&(v.typeParameters.params.push(...y.typeParameters.params),v.typeParameters.params=p(v.typeParameters.params)):v=y.typeParameters}else h.set(x,y)}else b.push(y)}}for(let[,m]of d)b.push(m);for(let[,m]of h)b.push(m);return b};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js");function c(p){return(0,n.isIdentifier)(p)?p.name:`${p.id.name}.${c(p.qualification)}`}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/modifications/inherits.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p,i){if(!p||!i)return p;for(let o of n.INHERIT_KEYS.optional)p[o]==null&&(p[o]=i[o]);for(let o of Object.keys(i))o[0]==="_"&&o!=="__clone"&&(p[o]=i[o]);for(let o of n.INHERIT_KEYS.force)p[o]=i[o];return(0,c.default)(p,i),p};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/constants/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/comments/inheritsComments.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p,i){if((0,c.isSuper)(p.object))throw new Error("Cannot prepend node to super property access (`super.foo`).");return p.object=(0,n.memberExpression)(i,p.object),p};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/modifications/removeProperties.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(i,o={}){let h=o.preserveComments?c:p;for(let f of h)i[f]!=null&&(i[f]=void 0);for(let f of Object.keys(i))f[0]==="_"&&i[f]!=null&&(i[f]=void 0);let d=Object.getOwnPropertySymbols(i);for(let f of d)i[f]=null};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/constants/index.js");let c=["tokens","start","end","loc","raw","rawValue"],p=[...n.COMMENT_KEYS,"comments",...c]},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p,i){return(0,n.default)(p,c.default,i),p};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/traverse/traverseFast.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/modifications/removeProperties.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function p(i){let o=Array.from(i),h=new Map,d=new Map,f=new Set,b=[];for(let m=0;m<o.length;m++){let y=o[m];if(y&&!b.includes(y)){if((0,n.isTSAnyKeyword)(y))return[y];if((0,n.isTSBaseType)(y))d.set(y.type,y);else if((0,n.isTSUnionType)(y))f.has(y.types)||(o.push(...y.types),f.add(y.types));else if((0,n.isTSTypeReference)(y)&&y.typeParameters){let x=c(y.typeName);if(h.has(x)){let v=h.get(x);v.typeParameters?y.typeParameters&&(v.typeParameters.params.push(...y.typeParameters.params),v.typeParameters.params=p(v.typeParameters.params)):v=y.typeParameters}else h.set(x,y)}else b.push(y)}}for(let[,m]of d)b.push(m);for(let[,m]of h)b.push(m);return b};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js");function c(p){return(0,n.isIdentifier)(p)?p.name:`${p.right.name}.${c(p.left)}`}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){let n=[].concat(l),c=Object.create(null);for(;n.length;){let p=n.pop();if(p)switch(p.type){case"ArrayPattern":n.push(...p.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":n.push(p.left);break;case"ObjectPattern":n.push(...p.properties);break;case"ObjectProperty":n.push(p.value);break;case"RestElement":case"UpdateExpression":n.push(p.argument);break;case"UnaryExpression":p.operator==="delete"&&n.push(p.argument);break;case"Identifier":c[p.name]=p}}return c}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js");function c(p,i,o,h){let d=[].concat(p),f=Object.create(null);for(;d.length;){let b=d.shift();if(!b||h&&((0,n.isAssignmentExpression)(b)||(0,n.isUnaryExpression)(b)||(0,n.isUpdateExpression)(b)))continue;if((0,n.isIdentifier)(b)){i?(f[b.name]=f[b.name]||[]).push(b):f[b.name]=b;continue}if((0,n.isExportDeclaration)(b)&&!(0,n.isExportAllDeclaration)(b)){(0,n.isDeclaration)(b.declaration)&&d.push(b.declaration);continue}if(o){if((0,n.isFunctionDeclaration)(b)){d.push(b.id);continue}if((0,n.isFunctionExpression)(b))continue}let m=c.keys[b.type];if(m)for(let y=0;y<m.length;y++){let x=b[m[y]];x&&(Array.isArray(x)?d.push(...x):d.push(x))}}return f}c.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.26.3/node_modules/@babel/types/lib/retrievers/getFunctionName.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p,i){if("id"in p&&p.id)return{name:p.id.name,originalNode:p.id};let o,h="";if((0,n.isObjectProperty)(i,{value:p})?o=c(i):(0,n.isObjectMethod)(p)||(0,n.isClassMethod)(p)?(o=c(p),p.kind==="get"?h="get ":p.kind==="set"&&(h="set ")):(0,n.isVariableDeclarator)(i,{init:p})?o=i.id:(0,n.isAssignmentExpression)(i,{operator:"=",right:p})&&(o=i.left),!o)return null;let d=(0,n.isLiteral)(o)?(function(f){return(0,n.isNullLiteral)(f)?"null":(0,n.isRegExpLiteral)(f)?`/${f.pattern}/${f.flags}`:(0,n.isTemplateLiteral)(f)?f.quasis.map((b=>b.value.raw)).join(""):f.value!==void 0?String(f.value):null})(o):(0,n.isIdentifier)(o)?o.name:(0,n.isPrivateName)(o)?o.id.name:null;return d==null?null:{name:h+d,originalNode:o}};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js");function c(p){if(!p.computed||(0,n.isLiteral)(p.key))return p.key}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js");e.default=function(c,p){return(0,n.default)(c,p,!0)}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/traverse/traverse.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p,i,o){typeof i=="function"&&(i={enter:i});let{enter:h,exit:d}=i;c(p,h,d,o,[])};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/index.js");function c(p,i,o,h,d){let f=n.VISITOR_KEYS[p.type];if(f){i&&i(p,d,h);for(let b of f){let m=p[b];if(Array.isArray(m))for(let y=0;y<m.length;y++){let x=m[y];x&&(d.push({node:p,key:b,index:y}),c(x,i,o,h,d),d.pop())}else m&&(d.push({node:p,key:b}),c(m,i,o,h,d),d.pop())}o&&o(p,d,h)}}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/traverse/traverseFast.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function c(p,i,o){if(!p)return;let h=n.VISITOR_KEYS[p.type];if(h){i(p,o=o||{});for(let d of h){let f=p[d];if(Array.isArray(f))for(let b of f)c(b,i,o);else c(f,i,o)}}};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/utils/deprecationWarning.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n,c,p=""){if(l.has(n))return;l.add(n);let{internal:i,trace:o}=(function(h,d){let{stackTraceLimit:f,prepareStackTrace:b}=Error,m;if(Error.stackTraceLimit=1+h+d,Error.prepareStackTrace=function(x,v){m=v},new Error().stack,Error.stackTraceLimit=f,Error.prepareStackTrace=b,!m)return{internal:!1,trace:""};let y=m.slice(1+h,1+h+d);return{internal:/[\\/]@babel[\\/]/.test(y[1].getFileName()),trace:y.map((x=>` at ${x}`)).join(`
|
|
`)}})(1,2);i||console.warn(`${p}\`${n}\` has been deprecated, please migrate to \`${c}\`
|
|
${o}`)};let l=new Set},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/utils/inherit.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l,n,c){n&&c&&(n[l]=Array.from(new Set([].concat(n[l],c[l]).filter(Boolean))))}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p,i){let o=p.value.split(/\r\n|\n|\r/),h=0;for(let f=0;f<o.length;f++)/[^ \t]/.exec(o[f])&&(h=f);let d="";for(let f=0;f<o.length;f++){let b=o[f],m=f===0,y=f===o.length-1,x=f===h,v=b.replace(/\t/g," ");m||(v=v.replace(/^ +/,"")),y||(v=v.replace(/ +$/,"")),v&&(x||(v+=" "),d+=v)}d&&i.push((0,c.inherits)((0,n.stringLiteral)(d),p))};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/builders/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/utils/shallowEqual.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l,n){let c=Object.keys(n);for(let p of c)if(l[p]!==n[p])return!1;return!0}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c,p){let i=c.split(".");return o=>(0,n.default)(o,i,p)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/matchesPattern.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isAccessor=function(i,o){return!i||i.type!=="ClassAccessorProperty"?!1:o==null||(0,n.default)(i,o)},e.isAnyTypeAnnotation=function(i,o){return!!i&&i.type==="AnyTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isArgumentPlaceholder=function(i,o){return!!i&&i.type==="ArgumentPlaceholder"&&(o==null||(0,n.default)(i,o))},e.isArrayExpression=function(i,o){return!!i&&i.type==="ArrayExpression"&&(o==null||(0,n.default)(i,o))},e.isArrayPattern=function(i,o){return!!i&&i.type==="ArrayPattern"&&(o==null||(0,n.default)(i,o))},e.isArrayTypeAnnotation=function(i,o){return!!i&&i.type==="ArrayTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isArrowFunctionExpression=function(i,o){return!!i&&i.type==="ArrowFunctionExpression"&&(o==null||(0,n.default)(i,o))},e.isAssignmentExpression=function(i,o){return!!i&&i.type==="AssignmentExpression"&&(o==null||(0,n.default)(i,o))},e.isAssignmentPattern=function(i,o){return!!i&&i.type==="AssignmentPattern"&&(o==null||(0,n.default)(i,o))},e.isAwaitExpression=function(i,o){return!!i&&i.type==="AwaitExpression"&&(o==null||(0,n.default)(i,o))},e.isBigIntLiteral=function(i,o){return!!i&&i.type==="BigIntLiteral"&&(o==null||(0,n.default)(i,o))},e.isBinary=function(i,o){if(!i)return!1;switch(i.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isBinaryExpression=function(i,o){return!!i&&i.type==="BinaryExpression"&&(o==null||(0,n.default)(i,o))},e.isBindExpression=function(i,o){return!!i&&i.type==="BindExpression"&&(o==null||(0,n.default)(i,o))},e.isBlock=function(i,o){if(!i)return!1;switch(i.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(i.expectedNode==="BlockStatement")break;default:return!1}return o==null||(0,n.default)(i,o)},e.isBlockParent=function(i,o){if(!i)return!1;switch(i.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(i.expectedNode==="BlockStatement")break;default:return!1}return o==null||(0,n.default)(i,o)},e.isBlockStatement=function(i,o){return!!i&&i.type==="BlockStatement"&&(o==null||(0,n.default)(i,o))},e.isBooleanLiteral=function(i,o){return!!i&&i.type==="BooleanLiteral"&&(o==null||(0,n.default)(i,o))},e.isBooleanLiteralTypeAnnotation=function(i,o){return!!i&&i.type==="BooleanLiteralTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isBooleanTypeAnnotation=function(i,o){return!!i&&i.type==="BooleanTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isBreakStatement=function(i,o){return!!i&&i.type==="BreakStatement"&&(o==null||(0,n.default)(i,o))},e.isCallExpression=function(i,o){return!!i&&i.type==="CallExpression"&&(o==null||(0,n.default)(i,o))},e.isCatchClause=function(i,o){return!!i&&i.type==="CatchClause"&&(o==null||(0,n.default)(i,o))},e.isClass=function(i,o){if(!i)return!1;switch(i.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isClassAccessorProperty=function(i,o){return!!i&&i.type==="ClassAccessorProperty"&&(o==null||(0,n.default)(i,o))},e.isClassBody=function(i,o){return!!i&&i.type==="ClassBody"&&(o==null||(0,n.default)(i,o))},e.isClassDeclaration=function(i,o){return!!i&&i.type==="ClassDeclaration"&&(o==null||(0,n.default)(i,o))},e.isClassExpression=function(i,o){return!!i&&i.type==="ClassExpression"&&(o==null||(0,n.default)(i,o))},e.isClassImplements=function(i,o){return!!i&&i.type==="ClassImplements"&&(o==null||(0,n.default)(i,o))},e.isClassMethod=function(i,o){return!!i&&i.type==="ClassMethod"&&(o==null||(0,n.default)(i,o))},e.isClassPrivateMethod=function(i,o){return!!i&&i.type==="ClassPrivateMethod"&&(o==null||(0,n.default)(i,o))},e.isClassPrivateProperty=function(i,o){return!!i&&i.type==="ClassPrivateProperty"&&(o==null||(0,n.default)(i,o))},e.isClassProperty=function(i,o){return!!i&&i.type==="ClassProperty"&&(o==null||(0,n.default)(i,o))},e.isCompletionStatement=function(i,o){if(!i)return!1;switch(i.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isConditional=function(i,o){if(!i)return!1;switch(i.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isConditionalExpression=function(i,o){return!!i&&i.type==="ConditionalExpression"&&(o==null||(0,n.default)(i,o))},e.isContinueStatement=function(i,o){return!!i&&i.type==="ContinueStatement"&&(o==null||(0,n.default)(i,o))},e.isDebuggerStatement=function(i,o){return!!i&&i.type==="DebuggerStatement"&&(o==null||(0,n.default)(i,o))},e.isDecimalLiteral=function(i,o){return!!i&&i.type==="DecimalLiteral"&&(o==null||(0,n.default)(i,o))},e.isDeclaration=function(i,o){if(!i)return!1;switch(i.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(i.expectedNode==="Declaration")break;default:return!1}return o==null||(0,n.default)(i,o)},e.isDeclareClass=function(i,o){return!!i&&i.type==="DeclareClass"&&(o==null||(0,n.default)(i,o))},e.isDeclareExportAllDeclaration=function(i,o){return!!i&&i.type==="DeclareExportAllDeclaration"&&(o==null||(0,n.default)(i,o))},e.isDeclareExportDeclaration=function(i,o){return!!i&&i.type==="DeclareExportDeclaration"&&(o==null||(0,n.default)(i,o))},e.isDeclareFunction=function(i,o){return!!i&&i.type==="DeclareFunction"&&(o==null||(0,n.default)(i,o))},e.isDeclareInterface=function(i,o){return!!i&&i.type==="DeclareInterface"&&(o==null||(0,n.default)(i,o))},e.isDeclareModule=function(i,o){return!!i&&i.type==="DeclareModule"&&(o==null||(0,n.default)(i,o))},e.isDeclareModuleExports=function(i,o){return!!i&&i.type==="DeclareModuleExports"&&(o==null||(0,n.default)(i,o))},e.isDeclareOpaqueType=function(i,o){return!!i&&i.type==="DeclareOpaqueType"&&(o==null||(0,n.default)(i,o))},e.isDeclareTypeAlias=function(i,o){return!!i&&i.type==="DeclareTypeAlias"&&(o==null||(0,n.default)(i,o))},e.isDeclareVariable=function(i,o){return!!i&&i.type==="DeclareVariable"&&(o==null||(0,n.default)(i,o))},e.isDeclaredPredicate=function(i,o){return!!i&&i.type==="DeclaredPredicate"&&(o==null||(0,n.default)(i,o))},e.isDecorator=function(i,o){return!!i&&i.type==="Decorator"&&(o==null||(0,n.default)(i,o))},e.isDirective=function(i,o){return!!i&&i.type==="Directive"&&(o==null||(0,n.default)(i,o))},e.isDirectiveLiteral=function(i,o){return!!i&&i.type==="DirectiveLiteral"&&(o==null||(0,n.default)(i,o))},e.isDoExpression=function(i,o){return!!i&&i.type==="DoExpression"&&(o==null||(0,n.default)(i,o))},e.isDoWhileStatement=function(i,o){return!!i&&i.type==="DoWhileStatement"&&(o==null||(0,n.default)(i,o))},e.isEmptyStatement=function(i,o){return!!i&&i.type==="EmptyStatement"&&(o==null||(0,n.default)(i,o))},e.isEmptyTypeAnnotation=function(i,o){return!!i&&i.type==="EmptyTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isEnumBody=function(i,o){if(!i)return!1;switch(i.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isEnumBooleanBody=function(i,o){return!!i&&i.type==="EnumBooleanBody"&&(o==null||(0,n.default)(i,o))},e.isEnumBooleanMember=function(i,o){return!!i&&i.type==="EnumBooleanMember"&&(o==null||(0,n.default)(i,o))},e.isEnumDeclaration=function(i,o){return!!i&&i.type==="EnumDeclaration"&&(o==null||(0,n.default)(i,o))},e.isEnumDefaultedMember=function(i,o){return!!i&&i.type==="EnumDefaultedMember"&&(o==null||(0,n.default)(i,o))},e.isEnumMember=function(i,o){if(!i)return!1;switch(i.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isEnumNumberBody=function(i,o){return!!i&&i.type==="EnumNumberBody"&&(o==null||(0,n.default)(i,o))},e.isEnumNumberMember=function(i,o){return!!i&&i.type==="EnumNumberMember"&&(o==null||(0,n.default)(i,o))},e.isEnumStringBody=function(i,o){return!!i&&i.type==="EnumStringBody"&&(o==null||(0,n.default)(i,o))},e.isEnumStringMember=function(i,o){return!!i&&i.type==="EnumStringMember"&&(o==null||(0,n.default)(i,o))},e.isEnumSymbolBody=function(i,o){return!!i&&i.type==="EnumSymbolBody"&&(o==null||(0,n.default)(i,o))},e.isExistsTypeAnnotation=function(i,o){return!!i&&i.type==="ExistsTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isExportAllDeclaration=function(i,o){return!!i&&i.type==="ExportAllDeclaration"&&(o==null||(0,n.default)(i,o))},e.isExportDeclaration=function(i,o){if(!i)return!1;switch(i.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isExportDefaultDeclaration=function(i,o){return!!i&&i.type==="ExportDefaultDeclaration"&&(o==null||(0,n.default)(i,o))},e.isExportDefaultSpecifier=function(i,o){return!!i&&i.type==="ExportDefaultSpecifier"&&(o==null||(0,n.default)(i,o))},e.isExportNamedDeclaration=function(i,o){return!!i&&i.type==="ExportNamedDeclaration"&&(o==null||(0,n.default)(i,o))},e.isExportNamespaceSpecifier=function(i,o){return!!i&&i.type==="ExportNamespaceSpecifier"&&(o==null||(0,n.default)(i,o))},e.isExportSpecifier=function(i,o){return!!i&&i.type==="ExportSpecifier"&&(o==null||(0,n.default)(i,o))},e.isExpression=function(i,o){if(!i)return!1;switch(i.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"ImportExpression":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(i.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return o==null||(0,n.default)(i,o)},e.isExpressionStatement=function(i,o){return!!i&&i.type==="ExpressionStatement"&&(o==null||(0,n.default)(i,o))},e.isExpressionWrapper=function(i,o){if(!i)return!1;switch(i.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isFile=function(i,o){return!!i&&i.type==="File"&&(o==null||(0,n.default)(i,o))},e.isFlow=function(i,o){if(!i)return!1;switch(i.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 o==null||(0,n.default)(i,o)},e.isFlowBaseAnnotation=function(i,o){if(!i)return!1;switch(i.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 o==null||(0,n.default)(i,o)},e.isFlowDeclaration=function(i,o){if(!i)return!1;switch(i.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 o==null||(0,n.default)(i,o)},e.isFlowPredicate=function(i,o){if(!i)return!1;switch(i.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isFlowType=function(i,o){if(!i)return!1;switch(i.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 o==null||(0,n.default)(i,o)},e.isFor=function(i,o){if(!i)return!1;switch(i.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isForInStatement=function(i,o){return!!i&&i.type==="ForInStatement"&&(o==null||(0,n.default)(i,o))},e.isForOfStatement=function(i,o){return!!i&&i.type==="ForOfStatement"&&(o==null||(0,n.default)(i,o))},e.isForStatement=function(i,o){return!!i&&i.type==="ForStatement"&&(o==null||(0,n.default)(i,o))},e.isForXStatement=function(i,o){if(!i)return!1;switch(i.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isFunction=function(i,o){if(!i)return!1;switch(i.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isFunctionDeclaration=function(i,o){return!!i&&i.type==="FunctionDeclaration"&&(o==null||(0,n.default)(i,o))},e.isFunctionExpression=function(i,o){return!!i&&i.type==="FunctionExpression"&&(o==null||(0,n.default)(i,o))},e.isFunctionParent=function(i,o){if(!i)return!1;switch(i.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isFunctionTypeAnnotation=function(i,o){return!!i&&i.type==="FunctionTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isFunctionTypeParam=function(i,o){return!!i&&i.type==="FunctionTypeParam"&&(o==null||(0,n.default)(i,o))},e.isGenericTypeAnnotation=function(i,o){return!!i&&i.type==="GenericTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isIdentifier=function(i,o){return!!i&&i.type==="Identifier"&&(o==null||(0,n.default)(i,o))},e.isIfStatement=function(i,o){return!!i&&i.type==="IfStatement"&&(o==null||(0,n.default)(i,o))},e.isImmutable=function(i,o){if(!i)return!1;switch(i.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(i.expectedNode==="StringLiteral")break;default:return!1}return o==null||(0,n.default)(i,o)},e.isImport=function(i,o){return!!i&&i.type==="Import"&&(o==null||(0,n.default)(i,o))},e.isImportAttribute=function(i,o){return!!i&&i.type==="ImportAttribute"&&(o==null||(0,n.default)(i,o))},e.isImportDeclaration=function(i,o){return!!i&&i.type==="ImportDeclaration"&&(o==null||(0,n.default)(i,o))},e.isImportDefaultSpecifier=function(i,o){return!!i&&i.type==="ImportDefaultSpecifier"&&(o==null||(0,n.default)(i,o))},e.isImportExpression=function(i,o){return!!i&&i.type==="ImportExpression"&&(o==null||(0,n.default)(i,o))},e.isImportNamespaceSpecifier=function(i,o){return!!i&&i.type==="ImportNamespaceSpecifier"&&(o==null||(0,n.default)(i,o))},e.isImportOrExportDeclaration=p,e.isImportSpecifier=function(i,o){return!!i&&i.type==="ImportSpecifier"&&(o==null||(0,n.default)(i,o))},e.isIndexedAccessType=function(i,o){return!!i&&i.type==="IndexedAccessType"&&(o==null||(0,n.default)(i,o))},e.isInferredPredicate=function(i,o){return!!i&&i.type==="InferredPredicate"&&(o==null||(0,n.default)(i,o))},e.isInterfaceDeclaration=function(i,o){return!!i&&i.type==="InterfaceDeclaration"&&(o==null||(0,n.default)(i,o))},e.isInterfaceExtends=function(i,o){return!!i&&i.type==="InterfaceExtends"&&(o==null||(0,n.default)(i,o))},e.isInterfaceTypeAnnotation=function(i,o){return!!i&&i.type==="InterfaceTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isInterpreterDirective=function(i,o){return!!i&&i.type==="InterpreterDirective"&&(o==null||(0,n.default)(i,o))},e.isIntersectionTypeAnnotation=function(i,o){return!!i&&i.type==="IntersectionTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isJSX=function(i,o){if(!i)return!1;switch(i.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 o==null||(0,n.default)(i,o)},e.isJSXAttribute=function(i,o){return!!i&&i.type==="JSXAttribute"&&(o==null||(0,n.default)(i,o))},e.isJSXClosingElement=function(i,o){return!!i&&i.type==="JSXClosingElement"&&(o==null||(0,n.default)(i,o))},e.isJSXClosingFragment=function(i,o){return!!i&&i.type==="JSXClosingFragment"&&(o==null||(0,n.default)(i,o))},e.isJSXElement=function(i,o){return!!i&&i.type==="JSXElement"&&(o==null||(0,n.default)(i,o))},e.isJSXEmptyExpression=function(i,o){return!!i&&i.type==="JSXEmptyExpression"&&(o==null||(0,n.default)(i,o))},e.isJSXExpressionContainer=function(i,o){return!!i&&i.type==="JSXExpressionContainer"&&(o==null||(0,n.default)(i,o))},e.isJSXFragment=function(i,o){return!!i&&i.type==="JSXFragment"&&(o==null||(0,n.default)(i,o))},e.isJSXIdentifier=function(i,o){return!!i&&i.type==="JSXIdentifier"&&(o==null||(0,n.default)(i,o))},e.isJSXMemberExpression=function(i,o){return!!i&&i.type==="JSXMemberExpression"&&(o==null||(0,n.default)(i,o))},e.isJSXNamespacedName=function(i,o){return!!i&&i.type==="JSXNamespacedName"&&(o==null||(0,n.default)(i,o))},e.isJSXOpeningElement=function(i,o){return!!i&&i.type==="JSXOpeningElement"&&(o==null||(0,n.default)(i,o))},e.isJSXOpeningFragment=function(i,o){return!!i&&i.type==="JSXOpeningFragment"&&(o==null||(0,n.default)(i,o))},e.isJSXSpreadAttribute=function(i,o){return!!i&&i.type==="JSXSpreadAttribute"&&(o==null||(0,n.default)(i,o))},e.isJSXSpreadChild=function(i,o){return!!i&&i.type==="JSXSpreadChild"&&(o==null||(0,n.default)(i,o))},e.isJSXText=function(i,o){return!!i&&i.type==="JSXText"&&(o==null||(0,n.default)(i,o))},e.isLVal=function(i,o){if(!i)return!1;switch(i.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(i.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return o==null||(0,n.default)(i,o)},e.isLabeledStatement=function(i,o){return!!i&&i.type==="LabeledStatement"&&(o==null||(0,n.default)(i,o))},e.isLiteral=function(i,o){if(!i)return!1;switch(i.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(i.expectedNode==="StringLiteral")break;default:return!1}return o==null||(0,n.default)(i,o)},e.isLogicalExpression=function(i,o){return!!i&&i.type==="LogicalExpression"&&(o==null||(0,n.default)(i,o))},e.isLoop=function(i,o){if(!i)return!1;switch(i.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isMemberExpression=function(i,o){return!!i&&i.type==="MemberExpression"&&(o==null||(0,n.default)(i,o))},e.isMetaProperty=function(i,o){return!!i&&i.type==="MetaProperty"&&(o==null||(0,n.default)(i,o))},e.isMethod=function(i,o){if(!i)return!1;switch(i.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isMiscellaneous=function(i,o){if(!i)return!1;switch(i.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isMixedTypeAnnotation=function(i,o){return!!i&&i.type==="MixedTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isModuleDeclaration=function(i,o){return(0,c.default)("isModuleDeclaration","isImportOrExportDeclaration"),p(i,o)},e.isModuleExpression=function(i,o){return!!i&&i.type==="ModuleExpression"&&(o==null||(0,n.default)(i,o))},e.isModuleSpecifier=function(i,o){if(!i)return!1;switch(i.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isNewExpression=function(i,o){return!!i&&i.type==="NewExpression"&&(o==null||(0,n.default)(i,o))},e.isNoop=function(i,o){return!!i&&i.type==="Noop"&&(o==null||(0,n.default)(i,o))},e.isNullLiteral=function(i,o){return!!i&&i.type==="NullLiteral"&&(o==null||(0,n.default)(i,o))},e.isNullLiteralTypeAnnotation=function(i,o){return!!i&&i.type==="NullLiteralTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isNullableTypeAnnotation=function(i,o){return!!i&&i.type==="NullableTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isNumberLiteral=function(i,o){return(0,c.default)("isNumberLiteral","isNumericLiteral"),!!i&&i.type==="NumberLiteral"&&(o==null||(0,n.default)(i,o))},e.isNumberLiteralTypeAnnotation=function(i,o){return!!i&&i.type==="NumberLiteralTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isNumberTypeAnnotation=function(i,o){return!!i&&i.type==="NumberTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isNumericLiteral=function(i,o){return!!i&&i.type==="NumericLiteral"&&(o==null||(0,n.default)(i,o))},e.isObjectExpression=function(i,o){return!!i&&i.type==="ObjectExpression"&&(o==null||(0,n.default)(i,o))},e.isObjectMember=function(i,o){if(!i)return!1;switch(i.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isObjectMethod=function(i,o){return!!i&&i.type==="ObjectMethod"&&(o==null||(0,n.default)(i,o))},e.isObjectPattern=function(i,o){return!!i&&i.type==="ObjectPattern"&&(o==null||(0,n.default)(i,o))},e.isObjectProperty=function(i,o){return!!i&&i.type==="ObjectProperty"&&(o==null||(0,n.default)(i,o))},e.isObjectTypeAnnotation=function(i,o){return!!i&&i.type==="ObjectTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isObjectTypeCallProperty=function(i,o){return!!i&&i.type==="ObjectTypeCallProperty"&&(o==null||(0,n.default)(i,o))},e.isObjectTypeIndexer=function(i,o){return!!i&&i.type==="ObjectTypeIndexer"&&(o==null||(0,n.default)(i,o))},e.isObjectTypeInternalSlot=function(i,o){return!!i&&i.type==="ObjectTypeInternalSlot"&&(o==null||(0,n.default)(i,o))},e.isObjectTypeProperty=function(i,o){return!!i&&i.type==="ObjectTypeProperty"&&(o==null||(0,n.default)(i,o))},e.isObjectTypeSpreadProperty=function(i,o){return!!i&&i.type==="ObjectTypeSpreadProperty"&&(o==null||(0,n.default)(i,o))},e.isOpaqueType=function(i,o){return!!i&&i.type==="OpaqueType"&&(o==null||(0,n.default)(i,o))},e.isOptionalCallExpression=function(i,o){return!!i&&i.type==="OptionalCallExpression"&&(o==null||(0,n.default)(i,o))},e.isOptionalIndexedAccessType=function(i,o){return!!i&&i.type==="OptionalIndexedAccessType"&&(o==null||(0,n.default)(i,o))},e.isOptionalMemberExpression=function(i,o){return!!i&&i.type==="OptionalMemberExpression"&&(o==null||(0,n.default)(i,o))},e.isParenthesizedExpression=function(i,o){return!!i&&i.type==="ParenthesizedExpression"&&(o==null||(0,n.default)(i,o))},e.isPattern=function(i,o){if(!i)return!1;switch(i.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":break;case"Placeholder":if(i.expectedNode==="Pattern")break;default:return!1}return o==null||(0,n.default)(i,o)},e.isPatternLike=function(i,o){if(!i)return!1;switch(i.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(i.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return o==null||(0,n.default)(i,o)},e.isPipelineBareFunction=function(i,o){return!!i&&i.type==="PipelineBareFunction"&&(o==null||(0,n.default)(i,o))},e.isPipelinePrimaryTopicReference=function(i,o){return!!i&&i.type==="PipelinePrimaryTopicReference"&&(o==null||(0,n.default)(i,o))},e.isPipelineTopicExpression=function(i,o){return!!i&&i.type==="PipelineTopicExpression"&&(o==null||(0,n.default)(i,o))},e.isPlaceholder=function(i,o){return!!i&&i.type==="Placeholder"&&(o==null||(0,n.default)(i,o))},e.isPrivate=function(i,o){if(!i)return!1;switch(i.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isPrivateName=function(i,o){return!!i&&i.type==="PrivateName"&&(o==null||(0,n.default)(i,o))},e.isProgram=function(i,o){return!!i&&i.type==="Program"&&(o==null||(0,n.default)(i,o))},e.isProperty=function(i,o){if(!i)return!1;switch(i.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isPureish=function(i,o){if(!i)return!1;switch(i.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(i.expectedNode==="StringLiteral")break;default:return!1}return o==null||(0,n.default)(i,o)},e.isQualifiedTypeIdentifier=function(i,o){return!!i&&i.type==="QualifiedTypeIdentifier"&&(o==null||(0,n.default)(i,o))},e.isRecordExpression=function(i,o){return!!i&&i.type==="RecordExpression"&&(o==null||(0,n.default)(i,o))},e.isRegExpLiteral=function(i,o){return!!i&&i.type==="RegExpLiteral"&&(o==null||(0,n.default)(i,o))},e.isRegexLiteral=function(i,o){return(0,c.default)("isRegexLiteral","isRegExpLiteral"),!!i&&i.type==="RegexLiteral"&&(o==null||(0,n.default)(i,o))},e.isRestElement=function(i,o){return!!i&&i.type==="RestElement"&&(o==null||(0,n.default)(i,o))},e.isRestProperty=function(i,o){return(0,c.default)("isRestProperty","isRestElement"),!!i&&i.type==="RestProperty"&&(o==null||(0,n.default)(i,o))},e.isReturnStatement=function(i,o){return!!i&&i.type==="ReturnStatement"&&(o==null||(0,n.default)(i,o))},e.isScopable=function(i,o){if(!i)return!1;switch(i.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(i.expectedNode==="BlockStatement")break;default:return!1}return o==null||(0,n.default)(i,o)},e.isSequenceExpression=function(i,o){return!!i&&i.type==="SequenceExpression"&&(o==null||(0,n.default)(i,o))},e.isSpreadElement=function(i,o){return!!i&&i.type==="SpreadElement"&&(o==null||(0,n.default)(i,o))},e.isSpreadProperty=function(i,o){return(0,c.default)("isSpreadProperty","isSpreadElement"),!!i&&i.type==="SpreadProperty"&&(o==null||(0,n.default)(i,o))},e.isStandardized=function(i,o){if(!i)return!1;switch(i.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"ImportExpression":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(i.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return o==null||(0,n.default)(i,o)},e.isStatement=function(i,o){if(!i)return!1;switch(i.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(i.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return o==null||(0,n.default)(i,o)},e.isStaticBlock=function(i,o){return!!i&&i.type==="StaticBlock"&&(o==null||(0,n.default)(i,o))},e.isStringLiteral=function(i,o){return!!i&&i.type==="StringLiteral"&&(o==null||(0,n.default)(i,o))},e.isStringLiteralTypeAnnotation=function(i,o){return!!i&&i.type==="StringLiteralTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isStringTypeAnnotation=function(i,o){return!!i&&i.type==="StringTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isSuper=function(i,o){return!!i&&i.type==="Super"&&(o==null||(0,n.default)(i,o))},e.isSwitchCase=function(i,o){return!!i&&i.type==="SwitchCase"&&(o==null||(0,n.default)(i,o))},e.isSwitchStatement=function(i,o){return!!i&&i.type==="SwitchStatement"&&(o==null||(0,n.default)(i,o))},e.isSymbolTypeAnnotation=function(i,o){return!!i&&i.type==="SymbolTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isTSAnyKeyword=function(i,o){return!!i&&i.type==="TSAnyKeyword"&&(o==null||(0,n.default)(i,o))},e.isTSArrayType=function(i,o){return!!i&&i.type==="TSArrayType"&&(o==null||(0,n.default)(i,o))},e.isTSAsExpression=function(i,o){return!!i&&i.type==="TSAsExpression"&&(o==null||(0,n.default)(i,o))},e.isTSBaseType=function(i,o){if(!i)return!1;switch(i.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 o==null||(0,n.default)(i,o)},e.isTSBigIntKeyword=function(i,o){return!!i&&i.type==="TSBigIntKeyword"&&(o==null||(0,n.default)(i,o))},e.isTSBooleanKeyword=function(i,o){return!!i&&i.type==="TSBooleanKeyword"&&(o==null||(0,n.default)(i,o))},e.isTSCallSignatureDeclaration=function(i,o){return!!i&&i.type==="TSCallSignatureDeclaration"&&(o==null||(0,n.default)(i,o))},e.isTSConditionalType=function(i,o){return!!i&&i.type==="TSConditionalType"&&(o==null||(0,n.default)(i,o))},e.isTSConstructSignatureDeclaration=function(i,o){return!!i&&i.type==="TSConstructSignatureDeclaration"&&(o==null||(0,n.default)(i,o))},e.isTSConstructorType=function(i,o){return!!i&&i.type==="TSConstructorType"&&(o==null||(0,n.default)(i,o))},e.isTSDeclareFunction=function(i,o){return!!i&&i.type==="TSDeclareFunction"&&(o==null||(0,n.default)(i,o))},e.isTSDeclareMethod=function(i,o){return!!i&&i.type==="TSDeclareMethod"&&(o==null||(0,n.default)(i,o))},e.isTSEntityName=function(i,o){if(!i)return!1;switch(i.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(i.expectedNode==="Identifier")break;default:return!1}return o==null||(0,n.default)(i,o)},e.isTSEnumDeclaration=function(i,o){return!!i&&i.type==="TSEnumDeclaration"&&(o==null||(0,n.default)(i,o))},e.isTSEnumMember=function(i,o){return!!i&&i.type==="TSEnumMember"&&(o==null||(0,n.default)(i,o))},e.isTSExportAssignment=function(i,o){return!!i&&i.type==="TSExportAssignment"&&(o==null||(0,n.default)(i,o))},e.isTSExpressionWithTypeArguments=function(i,o){return!!i&&i.type==="TSExpressionWithTypeArguments"&&(o==null||(0,n.default)(i,o))},e.isTSExternalModuleReference=function(i,o){return!!i&&i.type==="TSExternalModuleReference"&&(o==null||(0,n.default)(i,o))},e.isTSFunctionType=function(i,o){return!!i&&i.type==="TSFunctionType"&&(o==null||(0,n.default)(i,o))},e.isTSImportEqualsDeclaration=function(i,o){return!!i&&i.type==="TSImportEqualsDeclaration"&&(o==null||(0,n.default)(i,o))},e.isTSImportType=function(i,o){return!!i&&i.type==="TSImportType"&&(o==null||(0,n.default)(i,o))},e.isTSIndexSignature=function(i,o){return!!i&&i.type==="TSIndexSignature"&&(o==null||(0,n.default)(i,o))},e.isTSIndexedAccessType=function(i,o){return!!i&&i.type==="TSIndexedAccessType"&&(o==null||(0,n.default)(i,o))},e.isTSInferType=function(i,o){return!!i&&i.type==="TSInferType"&&(o==null||(0,n.default)(i,o))},e.isTSInstantiationExpression=function(i,o){return!!i&&i.type==="TSInstantiationExpression"&&(o==null||(0,n.default)(i,o))},e.isTSInterfaceBody=function(i,o){return!!i&&i.type==="TSInterfaceBody"&&(o==null||(0,n.default)(i,o))},e.isTSInterfaceDeclaration=function(i,o){return!!i&&i.type==="TSInterfaceDeclaration"&&(o==null||(0,n.default)(i,o))},e.isTSIntersectionType=function(i,o){return!!i&&i.type==="TSIntersectionType"&&(o==null||(0,n.default)(i,o))},e.isTSIntrinsicKeyword=function(i,o){return!!i&&i.type==="TSIntrinsicKeyword"&&(o==null||(0,n.default)(i,o))},e.isTSLiteralType=function(i,o){return!!i&&i.type==="TSLiteralType"&&(o==null||(0,n.default)(i,o))},e.isTSMappedType=function(i,o){return!!i&&i.type==="TSMappedType"&&(o==null||(0,n.default)(i,o))},e.isTSMethodSignature=function(i,o){return!!i&&i.type==="TSMethodSignature"&&(o==null||(0,n.default)(i,o))},e.isTSModuleBlock=function(i,o){return!!i&&i.type==="TSModuleBlock"&&(o==null||(0,n.default)(i,o))},e.isTSModuleDeclaration=function(i,o){return!!i&&i.type==="TSModuleDeclaration"&&(o==null||(0,n.default)(i,o))},e.isTSNamedTupleMember=function(i,o){return!!i&&i.type==="TSNamedTupleMember"&&(o==null||(0,n.default)(i,o))},e.isTSNamespaceExportDeclaration=function(i,o){return!!i&&i.type==="TSNamespaceExportDeclaration"&&(o==null||(0,n.default)(i,o))},e.isTSNeverKeyword=function(i,o){return!!i&&i.type==="TSNeverKeyword"&&(o==null||(0,n.default)(i,o))},e.isTSNonNullExpression=function(i,o){return!!i&&i.type==="TSNonNullExpression"&&(o==null||(0,n.default)(i,o))},e.isTSNullKeyword=function(i,o){return!!i&&i.type==="TSNullKeyword"&&(o==null||(0,n.default)(i,o))},e.isTSNumberKeyword=function(i,o){return!!i&&i.type==="TSNumberKeyword"&&(o==null||(0,n.default)(i,o))},e.isTSObjectKeyword=function(i,o){return!!i&&i.type==="TSObjectKeyword"&&(o==null||(0,n.default)(i,o))},e.isTSOptionalType=function(i,o){return!!i&&i.type==="TSOptionalType"&&(o==null||(0,n.default)(i,o))},e.isTSParameterProperty=function(i,o){return!!i&&i.type==="TSParameterProperty"&&(o==null||(0,n.default)(i,o))},e.isTSParenthesizedType=function(i,o){return!!i&&i.type==="TSParenthesizedType"&&(o==null||(0,n.default)(i,o))},e.isTSPropertySignature=function(i,o){return!!i&&i.type==="TSPropertySignature"&&(o==null||(0,n.default)(i,o))},e.isTSQualifiedName=function(i,o){return!!i&&i.type==="TSQualifiedName"&&(o==null||(0,n.default)(i,o))},e.isTSRestType=function(i,o){return!!i&&i.type==="TSRestType"&&(o==null||(0,n.default)(i,o))},e.isTSSatisfiesExpression=function(i,o){return!!i&&i.type==="TSSatisfiesExpression"&&(o==null||(0,n.default)(i,o))},e.isTSStringKeyword=function(i,o){return!!i&&i.type==="TSStringKeyword"&&(o==null||(0,n.default)(i,o))},e.isTSSymbolKeyword=function(i,o){return!!i&&i.type==="TSSymbolKeyword"&&(o==null||(0,n.default)(i,o))},e.isTSThisType=function(i,o){return!!i&&i.type==="TSThisType"&&(o==null||(0,n.default)(i,o))},e.isTSTupleType=function(i,o){return!!i&&i.type==="TSTupleType"&&(o==null||(0,n.default)(i,o))},e.isTSType=function(i,o){if(!i)return!1;switch(i.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 o==null||(0,n.default)(i,o)},e.isTSTypeAliasDeclaration=function(i,o){return!!i&&i.type==="TSTypeAliasDeclaration"&&(o==null||(0,n.default)(i,o))},e.isTSTypeAnnotation=function(i,o){return!!i&&i.type==="TSTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isTSTypeAssertion=function(i,o){return!!i&&i.type==="TSTypeAssertion"&&(o==null||(0,n.default)(i,o))},e.isTSTypeElement=function(i,o){if(!i)return!1;switch(i.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isTSTypeLiteral=function(i,o){return!!i&&i.type==="TSTypeLiteral"&&(o==null||(0,n.default)(i,o))},e.isTSTypeOperator=function(i,o){return!!i&&i.type==="TSTypeOperator"&&(o==null||(0,n.default)(i,o))},e.isTSTypeParameter=function(i,o){return!!i&&i.type==="TSTypeParameter"&&(o==null||(0,n.default)(i,o))},e.isTSTypeParameterDeclaration=function(i,o){return!!i&&i.type==="TSTypeParameterDeclaration"&&(o==null||(0,n.default)(i,o))},e.isTSTypeParameterInstantiation=function(i,o){return!!i&&i.type==="TSTypeParameterInstantiation"&&(o==null||(0,n.default)(i,o))},e.isTSTypePredicate=function(i,o){return!!i&&i.type==="TSTypePredicate"&&(o==null||(0,n.default)(i,o))},e.isTSTypeQuery=function(i,o){return!!i&&i.type==="TSTypeQuery"&&(o==null||(0,n.default)(i,o))},e.isTSTypeReference=function(i,o){return!!i&&i.type==="TSTypeReference"&&(o==null||(0,n.default)(i,o))},e.isTSUndefinedKeyword=function(i,o){return!!i&&i.type==="TSUndefinedKeyword"&&(o==null||(0,n.default)(i,o))},e.isTSUnionType=function(i,o){return!!i&&i.type==="TSUnionType"&&(o==null||(0,n.default)(i,o))},e.isTSUnknownKeyword=function(i,o){return!!i&&i.type==="TSUnknownKeyword"&&(o==null||(0,n.default)(i,o))},e.isTSVoidKeyword=function(i,o){return!!i&&i.type==="TSVoidKeyword"&&(o==null||(0,n.default)(i,o))},e.isTaggedTemplateExpression=function(i,o){return!!i&&i.type==="TaggedTemplateExpression"&&(o==null||(0,n.default)(i,o))},e.isTemplateElement=function(i,o){return!!i&&i.type==="TemplateElement"&&(o==null||(0,n.default)(i,o))},e.isTemplateLiteral=function(i,o){return!!i&&i.type==="TemplateLiteral"&&(o==null||(0,n.default)(i,o))},e.isTerminatorless=function(i,o){if(!i)return!1;switch(i.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isThisExpression=function(i,o){return!!i&&i.type==="ThisExpression"&&(o==null||(0,n.default)(i,o))},e.isThisTypeAnnotation=function(i,o){return!!i&&i.type==="ThisTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isThrowStatement=function(i,o){return!!i&&i.type==="ThrowStatement"&&(o==null||(0,n.default)(i,o))},e.isTopicReference=function(i,o){return!!i&&i.type==="TopicReference"&&(o==null||(0,n.default)(i,o))},e.isTryStatement=function(i,o){return!!i&&i.type==="TryStatement"&&(o==null||(0,n.default)(i,o))},e.isTupleExpression=function(i,o){return!!i&&i.type==="TupleExpression"&&(o==null||(0,n.default)(i,o))},e.isTupleTypeAnnotation=function(i,o){return!!i&&i.type==="TupleTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isTypeAlias=function(i,o){return!!i&&i.type==="TypeAlias"&&(o==null||(0,n.default)(i,o))},e.isTypeAnnotation=function(i,o){return!!i&&i.type==="TypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isTypeCastExpression=function(i,o){return!!i&&i.type==="TypeCastExpression"&&(o==null||(0,n.default)(i,o))},e.isTypeParameter=function(i,o){return!!i&&i.type==="TypeParameter"&&(o==null||(0,n.default)(i,o))},e.isTypeParameterDeclaration=function(i,o){return!!i&&i.type==="TypeParameterDeclaration"&&(o==null||(0,n.default)(i,o))},e.isTypeParameterInstantiation=function(i,o){return!!i&&i.type==="TypeParameterInstantiation"&&(o==null||(0,n.default)(i,o))},e.isTypeScript=function(i,o){if(!i)return!1;switch(i.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 o==null||(0,n.default)(i,o)},e.isTypeofTypeAnnotation=function(i,o){return!!i&&i.type==="TypeofTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isUnaryExpression=function(i,o){return!!i&&i.type==="UnaryExpression"&&(o==null||(0,n.default)(i,o))},e.isUnaryLike=function(i,o){if(!i)return!1;switch(i.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isUnionTypeAnnotation=function(i,o){return!!i&&i.type==="UnionTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isUpdateExpression=function(i,o){return!!i&&i.type==="UpdateExpression"&&(o==null||(0,n.default)(i,o))},e.isUserWhitespacable=function(i,o){if(!i)return!1;switch(i.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isV8IntrinsicIdentifier=function(i,o){return!!i&&i.type==="V8IntrinsicIdentifier"&&(o==null||(0,n.default)(i,o))},e.isVariableDeclaration=function(i,o){return!!i&&i.type==="VariableDeclaration"&&(o==null||(0,n.default)(i,o))},e.isVariableDeclarator=function(i,o){return!!i&&i.type==="VariableDeclarator"&&(o==null||(0,n.default)(i,o))},e.isVariance=function(i,o){return!!i&&i.type==="Variance"&&(o==null||(0,n.default)(i,o))},e.isVoidTypeAnnotation=function(i,o){return!!i&&i.type==="VoidTypeAnnotation"&&(o==null||(0,n.default)(i,o))},e.isWhile=function(i,o){if(!i)return!1;switch(i.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return o==null||(0,n.default)(i,o)},e.isWhileStatement=function(i,o){return!!i&&i.type==="WhileStatement"&&(o==null||(0,n.default)(i,o))},e.isWithStatement=function(i,o){return!!i&&i.type==="WithStatement"&&(o==null||(0,n.default)(i,o))},e.isYieldExpression=function(i,o){return!!i&&i.type==="YieldExpression"&&(o==null||(0,n.default)(i,o))};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/utils/shallowEqual.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/utils/deprecationWarning.js");function p(i,o){if(!i)return!1;switch(i.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return o==null||(0,n.default)(i,o)}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/is.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(o,h,d){return h?(0,c.default)(h.type,o)?d===void 0||(0,n.default)(h,d):!d&&h.type==="Placeholder"&&o in i.FLIPPED_ALIAS_KEYS&&(0,p.default)(h.expectedNode,o):!1};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/utils/shallowEqual.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isType.js"),p=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isPlaceholderType.js"),i=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isBinding.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c,p,i){if(i&&c.type==="Identifier"&&p.type==="ObjectProperty"&&i.type==="ObjectExpression")return!1;let o=n.default.keys[p.type];if(o)for(let h=0;h<o.length;h++){let d=p[o[h]];if(Array.isArray(d)){if(d.includes(c))return!0}else if(d===c)return!0}return!1};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isBlockScoped.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p){return(0,n.isFunctionDeclaration)(p)||(0,n.isClassDeclaration)(p)||(0,c.default)(p)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isLet.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isImmutable.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p){return(0,n.default)(p.type,"Immutable")?!0:(0,c.isIdentifier)(p)?p.name==="undefined":!1};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isType.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isLet.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p){return(0,n.isVariableDeclaration)(p)&&(p.kind!=="var"||p[c.BLOCK_SCOPED_SYMBOL])};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/constants/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isNode.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){return!(!c||!n.VISITOR_KEYS[c.type])};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isNodesEquivalent.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function c(p,i){if(typeof p!="object"||typeof i!="object"||p==null||i==null)return p===i;if(p.type!==i.type)return!1;let o=Object.keys(n.NODE_FIELDS[p.type]||p.type),h=n.VISITOR_KEYS[p.type];for(let d of o){let f=p[d],b=i[d];if(typeof f!=typeof b)return!1;if(f!=null||b!=null){if(f==null||b==null)return!1;if(Array.isArray(f)){if(!Array.isArray(b)||f.length!==b.length)return!1;for(let m=0;m<f.length;m++)if(!c(f[m],b[m]))return!1}else if(typeof f!="object"||h!=null&&h.includes(d)){if(!c(f,b))return!1}else for(let m of Object.keys(f))if(f[m]!==b[m])return!1}}return!0};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isPlaceholderType.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c,p){if(c===p)return!0;let i=n.PLACEHOLDERS_ALIAS[c];if(i){for(let o of i)if(p===o)return!0}return!1};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isReferenced.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l,n,c){switch(n.type){case"MemberExpression":case"OptionalMemberExpression":return n.property===l?!!n.computed:n.object===l;case"JSXMemberExpression":return n.object===l;case"VariableDeclarator":return n.init===l;case"ArrowFunctionExpression":return n.body===l;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 n.key===l&&!!n.computed;case"ObjectProperty":return n.key===l?!!n.computed:!c||c.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":case"TSPropertySignature":return n.key!==l||!!n.computed;case"ClassPrivateProperty":case"ObjectTypeProperty":return n.key!==l;case"ClassDeclaration":case"ClassExpression":return n.superClass===l;case"AssignmentExpression":case"AssignmentPattern":return n.right===l;case"ExportSpecifier":return(c==null||!c.source)&&n.local===l;case"TSEnumMember":return n.id!==l}return!0}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isScope.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c,p){return(0,n.isBlockStatement)(c)&&((0,n.isFunction)(p)||(0,n.isCatchClause)(p))?!1:(0,n.isPattern)(c)&&((0,n.isFunction)(p)||(0,n.isCatchClause)(p))?!0:(0,n.isScopable)(c)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isSpecifierDefault.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c){return(0,n.isImportDefaultSpecifier)(c)||(0,n.isIdentifier)(c.imported||c.exported,{name:"default"})};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isType.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c,p){if(c===p)return!0;if(c==null||n.ALIAS_KEYS[p])return!1;let i=n.FLIPPED_ALIAS_KEYS[p];if(i){if(i[0]===c)return!0;for(let o of i)if(c===o)return!0}return!1};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isValidES3Identifier.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p){return(0,n.default)(p)&&!c.has(p)};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isValidIdentifier.js");let c=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.26.3/node_modules/@babel/types/lib/validators/isValidIdentifier.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c,p=!0){return typeof c!="string"||p&&((0,n.isKeyword)(c)||(0,n.isStrictReservedWord)(c,!0))?!1:(0,n.isIdentifierName)(c)};var n=l("./node_modules/.pnpm/@babel+helper-validator-identifier@7.25.9/node_modules/@babel/helper-validator-identifier/lib/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/isVar.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(p){return(0,n.isVariableDeclaration)(p,{kind:"var"})&&!p[c.BLOCK_SCOPED_SYMBOL]};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/constants/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/matchesPattern.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(c,p,i){if(!(0,n.isMemberExpression)(c))return!1;let o=Array.isArray(p)?p:p.split("."),h=[],d;for(d=c;(0,n.isMemberExpression)(d);d=d.object)h.push(d.property);if(h.push(d),h.length<o.length||!i&&h.length>o.length)return!1;for(let f=0,b=h.length-1;f<o.length;f++,b--){let m=h[b],y;if((0,n.isIdentifier)(m))y=m.name;else if((0,n.isStringLiteral)(m))y=m.value;else{if(!(0,n.isThisExpression)(m))return!1;y="this"}if(o[f]!==y)return!1}return!0};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/generated/index.js")},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/react/isCompatTag.js":(u,e)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(l){return!!l&&/^[a-z]/.test(l)}},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/react/isReactComponent.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;let n=(0,l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js").default)("React.Component");e.default=n},"./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/validators/validate.js":(u,e,l)=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(i,o,h){if(!i)return;let d=n.NODE_FIELDS[i.type];if(!d)return;let f=d[o];c(i,o,h,f),p(i,o,h)},e.validateChild=p,e.validateField=c,e.validateInternal=function(i,o,h,d,f){if(!(i==null||!i.validate)&&!(i.optional&&d==null)&&(i.validate(o,h,d),f)){var b;let m=d.type;if(m==null)return;(b=n.NODE_PARENT_VALIDATIONS[m])==null||b.call(n.NODE_PARENT_VALIDATIONS,o,h,d)}};var n=l("./node_modules/.pnpm/@babel+types@7.26.3/node_modules/@babel/types/lib/definitions/index.js");function c(i,o,h,d){d!=null&&d.validate&&(d.optional&&h==null||d.validate(i,o,h))}function p(i,o,h){var d;let f=h==null?void 0:h.type;f!=null&&((d=n.NODE_PARENT_VALIDATIONS[f])==null||d.call(n.NODE_PARENT_VALIDATIONS,i,o,h))}},"./node_modules/.pnpm/json5@2.2.3/node_modules/json5/dist/index.mjs":(u,e,l)=>{"use strict";l.r(e),l.d(e,{default:()=>Q});var n={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]/},c={isSpaceSeparator:X=>typeof X=="string"&&n.Space_Separator.test(X),isIdStartChar:X=>typeof X=="string"&&(X>="a"&&X<="z"||X>="A"&&X<="Z"||X==="$"||X==="_"||n.ID_Start.test(X)),isIdContinueChar:X=>typeof X=="string"&&(X>="a"&&X<="z"||X>="A"&&X<="Z"||X>="0"&&X<="9"||X==="$"||X==="_"||X==="\u200C"||X==="\u200D"||n.ID_Continue.test(X)),isDigit:X=>typeof X=="string"&&/[0-9]/.test(X),isHexDigit:X=>typeof X=="string"&&/[0-9A-Fa-f]/.test(X)};let p,i,o,h,d,f,b,m,y;function x(X,ie,oe){let be=X[ie];if(be!=null&&typeof be=="object")if(Array.isArray(be))for(let Ne=0;Ne<be.length;Ne++){let Pe=String(Ne),Ke=x(be,Pe,oe);Ke===void 0?delete be[Pe]:Object.defineProperty(be,Pe,{value:Ke,writable:!0,enumerable:!0,configurable:!0})}else for(let Ne in be){let Pe=x(be,Ne,oe);Pe===void 0?delete be[Ne]:Object.defineProperty(be,Ne,{value:Pe,writable:!0,enumerable:!0,configurable:!0})}return oe.call(X,ie,be)}let v,E,S,_,A;function L(){for(v="default",E="",S=!1,_=1;;){A=j();let X=k[v]();if(X)return X}}function j(){if(p[h])return String.fromCodePoint(p.codePointAt(h))}function F(){let X=j();return X===`
|
|
`?(d++,f=0):X?f+=X.length:f++,X&&(h+=X.length),X}let k={default(){switch(A){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
|
|
`:case"\r":case"\u2028":case"\u2029":return void F();case"/":return F(),void(v="comment");case void 0:return F(),U("eof")}if(!c.isSpaceSeparator(A))return k[i]();F()},comment(){switch(A){case"*":return F(),void(v="multiLineComment");case"/":return F(),void(v="singleLineComment")}throw B(F())},multiLineComment(){switch(A){case"*":return F(),void(v="multiLineCommentAsterisk");case void 0:throw B(F())}F()},multiLineCommentAsterisk(){switch(A){case"*":return void F();case"/":return F(),void(v="default");case void 0:throw B(F())}F(),v="multiLineComment"},singleLineComment(){switch(A){case`
|
|
`:case"\r":case"\u2028":case"\u2029":return F(),void(v="default");case void 0:return F(),U("eof")}F()},value(){switch(A){case"{":case"[":return U("punctuator",F());case"n":return F(),z("ull"),U("null",null);case"t":return F(),z("rue"),U("boolean",!0);case"f":return F(),z("alse"),U("boolean",!1);case"-":case"+":return F()==="-"&&(_=-1),void(v="sign");case".":return E=F(),void(v="decimalPointLeading");case"0":return E=F(),void(v="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return E=F(),void(v="decimalInteger");case"I":return F(),z("nfinity"),U("numeric",1/0);case"N":return F(),z("aN"),U("numeric",NaN);case'"':case"'":return S=F()==='"',E="",void(v="string")}throw B(F())},identifierNameStartEscape(){if(A!=="u")throw B(F());F();let X=C();switch(X){case"$":case"_":break;default:if(!c.isIdStartChar(X))throw K()}E+=X,v="identifierName"},identifierName(){switch(A){case"$":case"_":case"\u200C":case"\u200D":return void(E+=F());case"\\":return F(),void(v="identifierNameEscape")}if(!c.isIdContinueChar(A))return U("identifier",E);E+=F()},identifierNameEscape(){if(A!=="u")throw B(F());F();let X=C();switch(X){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!c.isIdContinueChar(X))throw K()}E+=X,v="identifierName"},sign(){switch(A){case".":return E=F(),void(v="decimalPointLeading");case"0":return E=F(),void(v="zero");case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return E=F(),void(v="decimalInteger");case"I":return F(),z("nfinity"),U("numeric",_*(1/0));case"N":return F(),z("aN"),U("numeric",NaN)}throw B(F())},zero(){switch(A){case".":return E+=F(),void(v="decimalPoint");case"e":case"E":return E+=F(),void(v="decimalExponent");case"x":case"X":return E+=F(),void(v="hexadecimal")}return U("numeric",0*_)},decimalInteger(){switch(A){case".":return E+=F(),void(v="decimalPoint");case"e":case"E":return E+=F(),void(v="decimalExponent")}if(!c.isDigit(A))return U("numeric",_*Number(E));E+=F()},decimalPointLeading(){if(c.isDigit(A))return E+=F(),void(v="decimalFraction");throw B(F())},decimalPoint(){switch(A){case"e":case"E":return E+=F(),void(v="decimalExponent")}return c.isDigit(A)?(E+=F(),void(v="decimalFraction")):U("numeric",_*Number(E))},decimalFraction(){switch(A){case"e":case"E":return E+=F(),void(v="decimalExponent")}if(!c.isDigit(A))return U("numeric",_*Number(E));E+=F()},decimalExponent(){switch(A){case"+":case"-":return E+=F(),void(v="decimalExponentSign")}if(c.isDigit(A))return E+=F(),void(v="decimalExponentInteger");throw B(F())},decimalExponentSign(){if(c.isDigit(A))return E+=F(),void(v="decimalExponentInteger");throw B(F())},decimalExponentInteger(){if(!c.isDigit(A))return U("numeric",_*Number(E));E+=F()},hexadecimal(){if(c.isHexDigit(A))return E+=F(),void(v="hexadecimalInteger");throw B(F())},hexadecimalInteger(){if(!c.isHexDigit(A))return U("numeric",_*Number(E));E+=F()},string(){switch(A){case"\\":return F(),void(E+=(function(){switch(j()){case"b":return F(),"\b";case"f":return F(),"\f";case"n":return F(),`
|
|
`;case"r":return F(),"\r";case"t":return F()," ";case"v":return F(),"\v";case"0":if(F(),c.isDigit(j()))throw B(F());return"\0";case"x":return F(),(function(){let X="",ie=j();if(!c.isHexDigit(ie)||(X+=F(),ie=j(),!c.isHexDigit(ie)))throw B(F());return X+=F(),String.fromCodePoint(parseInt(X,16))})();case"u":return F(),C();case`
|
|
`:case"\u2028":case"\u2029":return F(),"";case"\r":return F(),j()===`
|
|
`&&F(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case void 0:throw B(F())}return F()})());case'"':return S?(F(),U("string",E)):void(E+=F());case"'":return S?void(E+=F()):(F(),U("string",E));case`
|
|
`:case"\r":throw B(F());case"\u2028":case"\u2029":(function(X){console.warn(`JSON5: '${$(X)}' in strings is not valid ECMAScript; consider escaping`)})(A);break;case void 0:throw B(F())}E+=F()},start(){switch(A){case"{":case"[":return U("punctuator",F())}v="value"},beforePropertyName(){switch(A){case"$":case"_":return E=F(),void(v="identifierName");case"\\":return F(),void(v="identifierNameStartEscape");case"}":return U("punctuator",F());case'"':case"'":return S=F()==='"',void(v="string")}if(c.isIdStartChar(A))return E+=F(),void(v="identifierName");throw B(F())},afterPropertyName(){if(A===":")return U("punctuator",F());throw B(F())},beforePropertyValue(){v="value"},afterPropertyValue(){switch(A){case",":case"}":return U("punctuator",F())}throw B(F())},beforeArrayValue(){if(A==="]")return U("punctuator",F());v="value"},afterArrayValue(){switch(A){case",":case"]":return U("punctuator",F())}throw B(F())},end(){throw B(F())}};function U(X,ie){return{type:X,value:ie,line:d,column:f}}function z(X){for(let ie of X){if(j()!==ie)throw B(F());F()}}function C(){let X="",ie=4;for(;ie-- >0;){let oe=j();if(!c.isHexDigit(oe))throw B(F());X+=F()}return String.fromCodePoint(parseInt(X,16))}let R={start(){if(b.type==="eof")throw q();G()},beforePropertyName(){switch(b.type){case"identifier":case"string":return m=b.value,void(i="afterPropertyName");case"punctuator":return void V();case"eof":throw q()}},afterPropertyName(){if(b.type==="eof")throw q();i="beforePropertyValue"},beforePropertyValue(){if(b.type==="eof")throw q();G()},beforeArrayValue(){if(b.type==="eof")throw q();b.type!=="punctuator"||b.value!=="]"?G():V()},afterPropertyValue(){if(b.type==="eof")throw q();switch(b.value){case",":return void(i="beforePropertyName");case"}":V()}},afterArrayValue(){if(b.type==="eof")throw q();switch(b.value){case",":return void(i="beforeArrayValue");case"]":V()}},end(){}};function G(){let X;switch(b.type){case"punctuator":switch(b.value){case"{":X={};break;case"[":X=[]}break;case"null":case"boolean":case"numeric":case"string":X=b.value}if(y===void 0)y=X;else{let ie=o[o.length-1];Array.isArray(ie)?ie.push(X):Object.defineProperty(ie,m,{value:X,writable:!0,enumerable:!0,configurable:!0})}if(X!==null&&typeof X=="object")o.push(X),i=Array.isArray(X)?"beforeArrayValue":"beforePropertyName";else{let ie=o[o.length-1];i=ie==null?"end":Array.isArray(ie)?"afterArrayValue":"afterPropertyValue"}}function V(){o.pop();let X=o[o.length-1];i=X==null?"end":Array.isArray(X)?"afterArrayValue":"afterPropertyValue"}function B(X){return W(X===void 0?`JSON5: invalid end of input at ${d}:${f}`:`JSON5: invalid character '${$(X)}' at ${d}:${f}`)}function q(){return W(`JSON5: invalid end of input at ${d}:${f}`)}function K(){return f-=5,W(`JSON5: invalid identifier character at ${d}:${f}`)}function $(X){let ie={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(ie[X])return ie[X];if(X<" "){let oe=X.charCodeAt(0).toString(16);return"\\x"+("00"+oe).substring(oe.length)}return X}function W(X){let ie=new SyntaxError(X);return ie.lineNumber=d,ie.columnNumber=f,ie}let Q={parse:function(X,ie){p=String(X),i="start",o=[],h=0,d=1,f=0,b=void 0,m=void 0,y=void 0;do b=L(),R[i]();while(b.type!=="eof");return typeof ie=="function"?x({"":y},"",ie):y},stringify:function(X,ie,oe){let be=[],Ne,Pe,Ke,We="",Oe="";if(ie==null||typeof ie!="object"||Array.isArray(ie)||(oe=ie.space,Ke=ie.quote,ie=ie.replacer),typeof ie=="function")Pe=ie;else if(Array.isArray(ie)){Ne=[];for(let ve of ie){let he;typeof ve=="string"?he=ve:(typeof ve=="number"||ve instanceof String||ve instanceof Number)&&(he=String(ve)),he!==void 0&&Ne.indexOf(he)<0&&Ne.push(he)}}return oe instanceof Number?oe=Number(oe):oe instanceof String&&(oe=String(oe)),typeof oe=="number"?oe>0&&(oe=Math.min(10,Math.floor(oe)),Oe=" ".substr(0,oe)):typeof oe=="string"&&(Oe=oe.substr(0,10)),de("",{"":X});function de(ve,he){let Te=he[ve];switch(Te!=null&&(typeof Te.toJSON5=="function"?Te=Te.toJSON5(ve):typeof Te.toJSON=="function"&&(Te=Te.toJSON(ve))),Pe&&(Te=Pe.call(he,ve,Te)),Te instanceof Number?Te=Number(Te):Te instanceof String?Te=String(Te):Te instanceof Boolean&&(Te=Te.valueOf()),Te){case null:return"null";case!0:return"true";case!1:return"false"}return typeof Te=="string"?xe(Te):typeof Te=="number"?String(Te):typeof Te=="object"?Array.isArray(Te)?(function(Ce){if(be.indexOf(Ce)>=0)throw TypeError("Converting circular structure to JSON5");be.push(Ce);let se=We;We+=Oe;let pe,nt=[];for(let ft=0;ft<Ce.length;ft++){let _t=de(String(ft),Ce);nt.push(_t!==void 0?_t:"null")}if(nt.length===0)pe="[]";else if(Oe==="")pe="["+nt.join(",")+"]";else{let ft=`,
|
|
`+We,_t=nt.join(ft);pe=`[
|
|
`+We+_t+`,
|
|
`+se+"]"}return be.pop(),We=se,pe})(Te):(function(Ce){if(be.indexOf(Ce)>=0)throw TypeError("Converting circular structure to JSON5");be.push(Ce);let se=We;We+=Oe;let pe,nt=Ne||Object.keys(Ce),ft=[];for(let _t of nt){let Pt=de(_t,Ce);if(Pt!==void 0){let ht=ye(_t)+":";Oe!==""&&(ht+=" "),ht+=Pt,ft.push(ht)}}if(ft.length===0)pe="{}";else{let _t;if(Oe==="")_t=ft.join(","),pe="{"+_t+"}";else{let Pt=`,
|
|
`+We;_t=ft.join(Pt),pe=`{
|
|
`+We+_t+`,
|
|
`+se+"}"}}return be.pop(),We=se,pe})(Te):void 0}function xe(ve){let he={"'":.1,'"':.2},Te={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},Ce="";for(let pe=0;pe<ve.length;pe++){let nt=ve[pe];switch(nt){case"'":case'"':he[nt]++,Ce+=nt;continue;case"\0":if(c.isDigit(ve[pe+1])){Ce+="\\x00";continue}}if(Te[nt])Ce+=Te[nt];else if(nt<" "){let ft=nt.charCodeAt(0).toString(16);Ce+="\\x"+("00"+ft).substring(ft.length)}else Ce+=nt}let se=Ke||Object.keys(he).reduce(((pe,nt)=>he[pe]<he[nt]?pe:nt));return Ce=Ce.replace(new RegExp(se,"g"),Te[se]),se+Ce+se}function ye(ve){if(ve.length===0)return xe(ve);let he=String.fromCodePoint(ve.codePointAt(0));if(!c.isIdStartChar(he))return xe(ve);for(let Te=he.length;Te<ve.length;Te++)if(!c.isIdContinueChar(String.fromCodePoint(ve.codePointAt(Te))))return xe(ve);return ve}}}},"./node_modules/.pnpm/@babel+preset-typescript@7.26.0_@babel+core@7.26.0/node_modules/@babel/preset-typescript/package.json":u=>{"use strict";u.exports=JSON.parse('{"name":"@babel/preset-typescript","version":"7.26.0","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.25.9","@babel/helper-validator-option":"^7.25.9","@babel/plugin-syntax-jsx":"^7.25.9","@babel/plugin-transform-modules-commonjs":"^7.25.9","@babel/plugin-transform-typescript":"^7.25.9"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.26.0","@babel/helper-plugin-test-runner":"^7.25.9"},"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":u=>{"use strict";u.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}}')}},r={};function s(u){var e=r[u];if(e!==void 0)return e.exports;var l=r[u]={exports:{}};return t[u].call(l.exports,l,l.exports,s),l.exports}s.d=(u,e)=>{for(var l in e)s.o(e,l)&&!s.o(u,l)&&Object.defineProperty(u,l,{enumerable:!0,get:e[l]})},s.o=(u,e)=>Object.prototype.hasOwnProperty.call(u,e),s.r=u=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})};var a={};(()=>{"use strict";s.d(a,{default:()=>p});var u=s("./node_modules/.pnpm/@babel+core@7.26.0/node_modules/@babel/core/lib/index.js"),e=s("url"),l=s("./node_modules/.pnpm/@babel+template@7.25.9/node_modules/@babel/template/lib/index.js");function n(i,o){return{name:"transform-import-meta",visitor:{Program(h){let d=[];if(h.traverse({MemberExpression(f){let{node:b}=f;b.object.type==="MetaProperty"&&b.object.meta.name==="import"&&b.object.property.name==="meta"&&b.property.type==="Identifier"&&b.property.name==="url"&&d.push(f)}}),d.length!==0)for(let f of d)f.replaceWith(l.smart.ast`${o.filename?JSON.stringify((0,e.pathToFileURL)(o.filename)):"require('url').pathToFileURL(__filename).toString()"}`)}}}}function c({template:i,types:o}){return{name:"@import-meta-env/babel",visitor:{Identifier(h){if(!o.isIdentifier(h)||!o.isMemberExpression(h.parentPath)&&!o.isOptionalMemberExpression(h.parentPath)||!o.isMemberExpression(h.parentPath.node))return;let d=h.parentPath.node;if(!o.isMetaProperty(d.object))return;let f=d.object;f.meta.name==="import"&&f.property.name==="meta"&&d.property.name==="env"&&h.parentPath.replaceWith(i.expression.ast("process.env"))}}}}function p(i){var o,h,d,f,b,m;let y=Object.assign(Object.assign({babelrc:!1,configFile:!1,compact:!1,retainLines:typeof i.retainLines!="boolean"||i.retainLines,filename:"",cwd:"/"},i.babel),{plugins:[[s("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js"),{allowTopLevelThis:!0}],[s("./node_modules/.pnpm/babel-plugin-dynamic-import-node@2.3.3/node_modules/babel-plugin-dynamic-import-node/lib/index.js"),{noInterop:!0}],[n,{filename:i.filename}],[s("./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.26.0/node_modules/@babel/plugin-syntax-class-properties/lib/index.js")],[s("./node_modules/.pnpm/@babel+plugin-transform-export-namespace-from@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-transform-export-namespace-from/lib/index.js")],[c]]});i.ts&&(y.plugins.push([s("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.26.3_@babel+core@7.26.0/node_modules/@babel/plugin-transform-typescript/lib/index.js"),{allowDeclareFields:!0}]),y.plugins.unshift([s("./node_modules/.pnpm/babel-plugin-transform-typescript-metadata@0.3.2_@babel+core@7.26.0_@babel+traverse@7.26.4/node_modules/babel-plugin-transform-typescript-metadata/lib/plugin.js")],[s("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-proposal-decorators/lib/index.js"),{legacy:!0}]),y.plugins.push(s("./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js")),y.plugins.push(s("./node_modules/.pnpm/@babel+plugin-syntax-import-assertions@7.26.0_@babel+core@7.26.0/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js"))),i.legacy&&(y.plugins.push(s("./node_modules/.pnpm/@babel+plugin-transform-nullish-coalescing-operator@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-transform-nullish-coalescing-operator/lib/index.js")),y.plugins.push(s("./node_modules/.pnpm/@babel+plugin-transform-optional-chaining@7.25.9_@babel+core@7.26.0/node_modules/@babel/plugin-transform-optional-chaining/lib/index.js"))),i.babel&&Array.isArray(i.babel.plugins)&&((o=y.plugins)===null||o===void 0||o.push(...i.babel.plugins));try{return{code:((h=(0,u.transformSync)(i.source,y))===null||h===void 0?void 0:h.code)||""}}catch(x){return{error:x,code:"exports.__JITI_ERROR__ = "+JSON.stringify({filename:i.filename,line:((d=x.loc)===null||d===void 0?void 0:d.line)||0,column:((f=x.loc)===null||f===void 0?void 0:f.column)||0,code:(b=x.code)===null||b===void 0?void 0:b.replace("BABEL_","").replace("PARSE_ERROR","ParseError"),message:(m=x.message)===null||m===void 0?void 0:m.replace("/: ","").replace(/\(.+\)\s*$/,"")})}}}})(),KF.exports=a.default})()});var HF=ct((Wde,zF)=>{function vX(t){throw t}zF.exports=function(r,s){let a=qF();return s={onError:vX,...s},s.transform||(s.transform=aT()),a(r,s)}});var Hs=ct(oT=>{"use strict";Object.defineProperty(oT,"__esModule",{value:!0});var GF;(function(t){t[t.NONE=0]="NONE";let s=1;t[t._abstract=s]="_abstract";let a=s+1;t[t._accessor=a]="_accessor";let u=a+1;t[t._as=u]="_as";let e=u+1;t[t._assert=e]="_assert";let l=e+1;t[t._asserts=l]="_asserts";let n=l+1;t[t._async=n]="_async";let c=n+1;t[t._await=c]="_await";let p=c+1;t[t._checks=p]="_checks";let i=p+1;t[t._constructor=i]="_constructor";let o=i+1;t[t._declare=o]="_declare";let h=o+1;t[t._enum=h]="_enum";let d=h+1;t[t._exports=d]="_exports";let f=d+1;t[t._from=f]="_from";let b=f+1;t[t._get=b]="_get";let m=b+1;t[t._global=m]="_global";let y=m+1;t[t._implements=y]="_implements";let x=y+1;t[t._infer=x]="_infer";let v=x+1;t[t._interface=v]="_interface";let E=v+1;t[t._is=E]="_is";let S=E+1;t[t._keyof=S]="_keyof";let _=S+1;t[t._mixins=_]="_mixins";let A=_+1;t[t._module=A]="_module";let L=A+1;t[t._namespace=L]="_namespace";let j=L+1;t[t._of=j]="_of";let F=j+1;t[t._opaque=F]="_opaque";let k=F+1;t[t._out=k]="_out";let U=k+1;t[t._override=U]="_override";let z=U+1;t[t._private=z]="_private";let C=z+1;t[t._protected=C]="_protected";let R=C+1;t[t._proto=R]="_proto";let G=R+1;t[t._public=G]="_public";let V=G+1;t[t._readonly=V]="_readonly";let B=V+1;t[t._require=B]="_require";let q=B+1;t[t._satisfies=q]="_satisfies";let K=q+1;t[t._set=K]="_set";let $=K+1;t[t._static=$]="_static";let W=$+1;t[t._symbol=W]="_symbol";let Z=W+1;t[t._type=Z]="_type";let Q=Z+1;t[t._unique=Q]="_unique";let X=Q+1;t[t._using=X]="_using"})(GF||(oT.ContextualKeyword=GF={}))});var si=ct(gy=>{"use strict";Object.defineProperty(gy,"__esModule",{value:!0});var mr;(function(t){t[t.PRECEDENCE_MASK=15]="PRECEDENCE_MASK";let s=16;t[t.IS_KEYWORD=s]="IS_KEYWORD";let a=32;t[t.IS_ASSIGN=a]="IS_ASSIGN";let u=64;t[t.IS_RIGHT_ASSOCIATIVE=u]="IS_RIGHT_ASSOCIATIVE";let e=128;t[t.IS_PREFIX=e]="IS_PREFIX";let l=256;t[t.IS_POSTFIX=l]="IS_POSTFIX";let n=512;t[t.IS_EXPRESSION_START=n]="IS_EXPRESSION_START";let c=512;t[t.num=c]="num";let p=1536;t[t.bigint=p]="bigint";let i=2560;t[t.decimal=i]="decimal";let o=3584;t[t.regexp=o]="regexp";let h=4608;t[t.string=h]="string";let d=5632;t[t.name=d]="name";let f=6144;t[t.eof=f]="eof";let b=7680;t[t.bracketL=b]="bracketL";let m=8192;t[t.bracketR=m]="bracketR";let y=9728;t[t.braceL=y]="braceL";let x=10752;t[t.braceBarL=x]="braceBarL";let v=11264;t[t.braceR=v]="braceR";let E=12288;t[t.braceBarR=E]="braceBarR";let S=13824;t[t.parenL=S]="parenL";let _=14336;t[t.parenR=_]="parenR";let A=15360;t[t.comma=A]="comma";let L=16384;t[t.semi=L]="semi";let j=17408;t[t.colon=j]="colon";let F=18432;t[t.doubleColon=F]="doubleColon";let k=19456;t[t.dot=k]="dot";let U=20480;t[t.question=U]="question";let z=21504;t[t.questionDot=z]="questionDot";let C=22528;t[t.arrow=C]="arrow";let R=23552;t[t.template=R]="template";let G=24576;t[t.ellipsis=G]="ellipsis";let V=25600;t[t.backQuote=V]="backQuote";let B=27136;t[t.dollarBraceL=B]="dollarBraceL";let q=27648;t[t.at=q]="at";let K=29184;t[t.hash=K]="hash";let $=29728;t[t.eq=$]="eq";let W=30752;t[t.assign=W]="assign";let Z=32640;t[t.preIncDec=Z]="preIncDec";let Q=33664;t[t.postIncDec=Q]="postIncDec";let X=34432;t[t.bang=X]="bang";let ie=35456;t[t.tilde=ie]="tilde";let oe=35841;t[t.pipeline=oe]="pipeline";let be=36866;t[t.nullishCoalescing=be]="nullishCoalescing";let Ne=37890;t[t.logicalOR=Ne]="logicalOR";let Pe=38915;t[t.logicalAND=Pe]="logicalAND";let Ke=39940;t[t.bitwiseOR=Ke]="bitwiseOR";let We=40965;t[t.bitwiseXOR=We]="bitwiseXOR";let Oe=41990;t[t.bitwiseAND=Oe]="bitwiseAND";let de=43015;t[t.equality=de]="equality";let xe=44040;t[t.lessThan=xe]="lessThan";let ye=45064;t[t.greaterThan=ye]="greaterThan";let ve=46088;t[t.relationalOrEqual=ve]="relationalOrEqual";let he=47113;t[t.bitShiftL=he]="bitShiftL";let Te=48137;t[t.bitShiftR=Te]="bitShiftR";let Ce=49802;t[t.plus=Ce]="plus";let se=50826;t[t.minus=se]="minus";let pe=51723;t[t.modulo=pe]="modulo";let nt=52235;t[t.star=nt]="star";let ft=53259;t[t.slash=ft]="slash";let _t=54348;t[t.exponent=_t]="exponent";let Pt=55296;t[t.jsxName=Pt]="jsxName";let ht=56320;t[t.jsxText=ht]="jsxText";let De=57344;t[t.jsxEmptyText=De]="jsxEmptyText";let ze=58880;t[t.jsxTagStart=ze]="jsxTagStart";let Ze=59392;t[t.jsxTagEnd=Ze]="jsxTagEnd";let tt=60928;t[t.typeParameterStart=tt]="typeParameterStart";let ge=61440;t[t.nonNullAssertion=ge]="nonNullAssertion";let fe=62480;t[t._break=fe]="_break";let ee=63504;t[t._case=ee]="_case";let le=64528;t[t._catch=le]="_catch";let Se=65552;t[t._continue=Se]="_continue";let Ee=66576;t[t._debugger=Ee]="_debugger";let Be=67600;t[t._default=Be]="_default";let Qe=68624;t[t._do=Qe]="_do";let ce=69648;t[t._else=ce]="_else";let $e=70672;t[t._finally=$e]="_finally";let et=71696;t[t._for=et]="_for";let ut=73232;t[t._function=ut]="_function";let Je=73744;t[t._if=Je]="_if";let Le=74768;t[t._return=Le]="_return";let at=75792;t[t._switch=at]="_switch";let Et=77456;t[t._throw=Et]="_throw";let Rt=77840;t[t._try=Rt]="_try";let lr=78864;t[t._var=lr]="_var";let xt=79888;t[t._let=xt]="_let";let ar=80912;t[t._const=ar]="_const";let yr=81936;t[t._while=yr]="_while";let Pr=82960;t[t._with=Pr]="_with";let Rr=84496;t[t._new=Rr]="_new";let ln=85520;t[t._this=ln]="_this";let Tn=86544;t[t._super=Tn]="_super";let Pn=87568;t[t._class=Pn]="_class";let er=88080;t[t._extends=er]="_extends";let Yr=89104;t[t._export=Yr]="_export";let gr=90640;t[t._import=gr]="_import";let An=91664;t[t._yield=An]="_yield";let rt=92688;t[t._null=rt]="_null";let At=93712;t[t._true=At]="_true";let Mt=94736;t[t._false=Mt]="_false";let $t=95256;t[t._in=$t]="_in";let zt=96280;t[t._instanceof=zt]="_instanceof";let qt=97936;t[t._typeof=qt]="_typeof";let pr=98960;t[t._void=pr]="_void";let xr=99984;t[t._delete=xr]="_delete";let Hr=100880;t[t._async=Hr]="_async";let Qr=101904;t[t._get=Qr]="_get";let Fr=102928;t[t._set=Fr]="_set";let Sn=103952;t[t._declare=Sn]="_declare";let Nn=104976;t[t._readonly=Nn]="_readonly";let zn=106e3;t[t._abstract=zn]="_abstract";let Ni=107024;t[t._static=Ni]="_static";let Fi=107536;t[t._public=Fi]="_public";let qi=108560;t[t._private=qi]="_private";let dr=109584;t[t._protected=dr]="_protected";let Sr=110608;t[t._override=Sr]="_override";let wr=112144;t[t._as=wr]="_as";let gn=113168;t[t._enum=gn]="_enum";let vn=114192;t[t._type=vn]="_type";let Gr=115216;t[t._implements=Gr]="_implements"})(mr||(gy.TokenType=mr={}));function xX(t){switch(t){case mr.num:return"num";case mr.bigint:return"bigint";case mr.decimal:return"decimal";case mr.regexp:return"regexp";case mr.string:return"string";case mr.name:return"name";case mr.eof:return"eof";case mr.bracketL:return"[";case mr.bracketR:return"]";case mr.braceL:return"{";case mr.braceBarL:return"{|";case mr.braceR:return"}";case mr.braceBarR:return"|}";case mr.parenL:return"(";case mr.parenR:return")";case mr.comma:return",";case mr.semi:return";";case mr.colon:return":";case mr.doubleColon:return"::";case mr.dot:return".";case mr.question:return"?";case mr.questionDot:return"?.";case mr.arrow:return"=>";case mr.template:return"template";case mr.ellipsis:return"...";case mr.backQuote:return"`";case mr.dollarBraceL:return"${";case mr.at:return"@";case mr.hash:return"#";case mr.eq:return"=";case mr.assign:return"_=";case mr.preIncDec:return"++/--";case mr.postIncDec:return"++/--";case mr.bang:return"!";case mr.tilde:return"~";case mr.pipeline:return"|>";case mr.nullishCoalescing:return"??";case mr.logicalOR:return"||";case mr.logicalAND:return"&&";case mr.bitwiseOR:return"|";case mr.bitwiseXOR:return"^";case mr.bitwiseAND:return"&";case mr.equality:return"==/!=";case mr.lessThan:return"<";case mr.greaterThan:return">";case mr.relationalOrEqual:return"<=/>=";case mr.bitShiftL:return"<<";case mr.bitShiftR:return">>/>>>";case mr.plus:return"+";case mr.minus:return"-";case mr.modulo:return"%";case mr.star:return"*";case mr.slash:return"/";case mr.exponent:return"**";case mr.jsxName:return"jsxName";case mr.jsxText:return"jsxText";case mr.jsxEmptyText:return"jsxEmptyText";case mr.jsxTagStart:return"jsxTagStart";case mr.jsxTagEnd:return"jsxTagEnd";case mr.typeParameterStart:return"typeParameterStart";case mr.nonNullAssertion:return"nonNullAssertion";case mr._break:return"break";case mr._case:return"case";case mr._catch:return"catch";case mr._continue:return"continue";case mr._debugger:return"debugger";case mr._default:return"default";case mr._do:return"do";case mr._else:return"else";case mr._finally:return"finally";case mr._for:return"for";case mr._function:return"function";case mr._if:return"if";case mr._return:return"return";case mr._switch:return"switch";case mr._throw:return"throw";case mr._try:return"try";case mr._var:return"var";case mr._let:return"let";case mr._const:return"const";case mr._while:return"while";case mr._with:return"with";case mr._new:return"new";case mr._this:return"this";case mr._super:return"super";case mr._class:return"class";case mr._extends:return"extends";case mr._export:return"export";case mr._import:return"import";case mr._yield:return"yield";case mr._null:return"null";case mr._true:return"true";case mr._false:return"false";case mr._in:return"in";case mr._instanceof:return"instanceof";case mr._typeof:return"typeof";case mr._void:return"void";case mr._delete:return"delete";case mr._async:return"async";case mr._get:return"get";case mr._set:return"set";case mr._declare:return"declare";case mr._readonly:return"readonly";case mr._abstract:return"abstract";case mr._static:return"static";case mr._public:return"public";case mr._private:return"private";case mr._protected:return"protected";case mr._override:return"override";case mr._as:return"as";case mr._enum:return"enum";case mr._type:return"type";case mr._implements:return"implements";default:return""}}gy.formatTokenType=xX});var xy=ct(mh=>{"use strict";Object.defineProperty(mh,"__esModule",{value:!0});var TX=Hs(),EX=si(),lT=class{constructor(r,s,a){this.startTokenIndex=r,this.endTokenIndex=s,this.isFunctionScope=a}};mh.Scope=lT;var vy=class{constructor(r,s,a,u,e,l,n,c,p,i,o,h,d){this.potentialArrowAt=r,this.noAnonFunctionType=s,this.inDisallowConditionalTypesContext=a,this.tokensLength=u,this.scopesLength=e,this.pos=l,this.type=n,this.contextualKeyword=c,this.start=p,this.end=i,this.isType=o,this.scopeDepth=h,this.error=d}};mh.StateSnapshot=vy;var uT=class t{constructor(){t.prototype.__init.call(this),t.prototype.__init2.call(this),t.prototype.__init3.call(this),t.prototype.__init4.call(this),t.prototype.__init5.call(this),t.prototype.__init6.call(this),t.prototype.__init7.call(this),t.prototype.__init8.call(this),t.prototype.__init9.call(this),t.prototype.__init10.call(this),t.prototype.__init11.call(this),t.prototype.__init12.call(this),t.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=EX.TokenType.eof}__init8(){this.contextualKeyword=TX.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 vy(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(r){this.potentialArrowAt=r.potentialArrowAt,this.noAnonFunctionType=r.noAnonFunctionType,this.inDisallowConditionalTypesContext=r.inDisallowConditionalTypesContext,this.tokens.length=r.tokensLength,this.scopes.length=r.scopesLength,this.pos=r.pos,this.type=r.type,this.contextualKeyword=r.contextualKeyword,this.start=r.start,this.end=r.end,this.isType=r.isType,this.scopeDepth=r.scopeDepth,this.error=r.error}};mh.default=uT});var Va=ct(Ty=>{"use strict";Object.defineProperty(Ty,"__esModule",{value:!0});var nu;(function(t){t[t.backSpace=8]="backSpace";let s=10;t[t.lineFeed=s]="lineFeed";let a=9;t[t.tab=a]="tab";let u=13;t[t.carriageReturn=u]="carriageReturn";let e=14;t[t.shiftOut=e]="shiftOut";let l=32;t[t.space=l]="space";let n=33;t[t.exclamationMark=n]="exclamationMark";let c=34;t[t.quotationMark=c]="quotationMark";let p=35;t[t.numberSign=p]="numberSign";let i=36;t[t.dollarSign=i]="dollarSign";let o=37;t[t.percentSign=o]="percentSign";let h=38;t[t.ampersand=h]="ampersand";let d=39;t[t.apostrophe=d]="apostrophe";let f=40;t[t.leftParenthesis=f]="leftParenthesis";let b=41;t[t.rightParenthesis=b]="rightParenthesis";let m=42;t[t.asterisk=m]="asterisk";let y=43;t[t.plusSign=y]="plusSign";let x=44;t[t.comma=x]="comma";let v=45;t[t.dash=v]="dash";let E=46;t[t.dot=E]="dot";let S=47;t[t.slash=S]="slash";let _=48;t[t.digit0=_]="digit0";let A=49;t[t.digit1=A]="digit1";let L=50;t[t.digit2=L]="digit2";let j=51;t[t.digit3=j]="digit3";let F=52;t[t.digit4=F]="digit4";let k=53;t[t.digit5=k]="digit5";let U=54;t[t.digit6=U]="digit6";let z=55;t[t.digit7=z]="digit7";let C=56;t[t.digit8=C]="digit8";let R=57;t[t.digit9=R]="digit9";let G=58;t[t.colon=G]="colon";let V=59;t[t.semicolon=V]="semicolon";let B=60;t[t.lessThan=B]="lessThan";let q=61;t[t.equalsTo=q]="equalsTo";let K=62;t[t.greaterThan=K]="greaterThan";let $=63;t[t.questionMark=$]="questionMark";let W=64;t[t.atSign=W]="atSign";let Z=65;t[t.uppercaseA=Z]="uppercaseA";let Q=66;t[t.uppercaseB=Q]="uppercaseB";let X=67;t[t.uppercaseC=X]="uppercaseC";let ie=68;t[t.uppercaseD=ie]="uppercaseD";let oe=69;t[t.uppercaseE=oe]="uppercaseE";let be=70;t[t.uppercaseF=be]="uppercaseF";let Ne=71;t[t.uppercaseG=Ne]="uppercaseG";let Pe=72;t[t.uppercaseH=Pe]="uppercaseH";let Ke=73;t[t.uppercaseI=Ke]="uppercaseI";let We=74;t[t.uppercaseJ=We]="uppercaseJ";let Oe=75;t[t.uppercaseK=Oe]="uppercaseK";let de=76;t[t.uppercaseL=de]="uppercaseL";let xe=77;t[t.uppercaseM=xe]="uppercaseM";let ye=78;t[t.uppercaseN=ye]="uppercaseN";let ve=79;t[t.uppercaseO=ve]="uppercaseO";let he=80;t[t.uppercaseP=he]="uppercaseP";let Te=81;t[t.uppercaseQ=Te]="uppercaseQ";let Ce=82;t[t.uppercaseR=Ce]="uppercaseR";let se=83;t[t.uppercaseS=se]="uppercaseS";let pe=84;t[t.uppercaseT=pe]="uppercaseT";let nt=85;t[t.uppercaseU=nt]="uppercaseU";let ft=86;t[t.uppercaseV=ft]="uppercaseV";let _t=87;t[t.uppercaseW=_t]="uppercaseW";let Pt=88;t[t.uppercaseX=Pt]="uppercaseX";let ht=89;t[t.uppercaseY=ht]="uppercaseY";let De=90;t[t.uppercaseZ=De]="uppercaseZ";let ze=91;t[t.leftSquareBracket=ze]="leftSquareBracket";let Ze=92;t[t.backslash=Ze]="backslash";let tt=93;t[t.rightSquareBracket=tt]="rightSquareBracket";let ge=94;t[t.caret=ge]="caret";let fe=95;t[t.underscore=fe]="underscore";let ee=96;t[t.graveAccent=ee]="graveAccent";let le=97;t[t.lowercaseA=le]="lowercaseA";let Se=98;t[t.lowercaseB=Se]="lowercaseB";let Ee=99;t[t.lowercaseC=Ee]="lowercaseC";let Be=100;t[t.lowercaseD=Be]="lowercaseD";let Qe=101;t[t.lowercaseE=Qe]="lowercaseE";let ce=102;t[t.lowercaseF=ce]="lowercaseF";let $e=103;t[t.lowercaseG=$e]="lowercaseG";let et=104;t[t.lowercaseH=et]="lowercaseH";let ut=105;t[t.lowercaseI=ut]="lowercaseI";let Je=106;t[t.lowercaseJ=Je]="lowercaseJ";let Le=107;t[t.lowercaseK=Le]="lowercaseK";let at=108;t[t.lowercaseL=at]="lowercaseL";let Et=109;t[t.lowercaseM=Et]="lowercaseM";let Rt=110;t[t.lowercaseN=Rt]="lowercaseN";let lr=111;t[t.lowercaseO=lr]="lowercaseO";let xt=112;t[t.lowercaseP=xt]="lowercaseP";let ar=113;t[t.lowercaseQ=ar]="lowercaseQ";let yr=114;t[t.lowercaseR=yr]="lowercaseR";let Pr=115;t[t.lowercaseS=Pr]="lowercaseS";let Rr=116;t[t.lowercaseT=Rr]="lowercaseT";let ln=117;t[t.lowercaseU=ln]="lowercaseU";let Tn=118;t[t.lowercaseV=Tn]="lowercaseV";let Pn=119;t[t.lowercaseW=Pn]="lowercaseW";let er=120;t[t.lowercaseX=er]="lowercaseX";let Yr=121;t[t.lowercaseY=Yr]="lowercaseY";let gr=122;t[t.lowercaseZ=gr]="lowercaseZ";let An=123;t[t.leftCurlyBrace=An]="leftCurlyBrace";let rt=124;t[t.verticalBar=rt]="verticalBar";let At=125;t[t.rightCurlyBrace=At]="rightCurlyBrace";let Mt=126;t[t.tilde=Mt]="tilde";let $t=160;t[t.nonBreakingSpace=$t]="nonBreakingSpace";let zt=5760;t[t.oghamSpaceMark=zt]="oghamSpaceMark";let qt=8232;t[t.lineSeparator=qt]="lineSeparator";let pr=8233;t[t.paragraphSeparator=pr]="paragraphSeparator"})(nu||(Ty.charCodes=nu={}));function SX(t){return t>=nu.digit0&&t<=nu.digit9||t>=nu.lowercaseA&&t<=nu.lowercaseF||t>=nu.uppercaseA&&t<=nu.uppercaseF}Ty.isDigit=SX});var qa=ct(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});function wX(t){return t&&t.__esModule?t:{default:t}}var _X=xy(),AX=wX(_X),PX=Va();Ds.isJSXEnabled;Ds.isTypeScriptEnabled;Ds.isFlowEnabled;Ds.state;Ds.input;Ds.nextContextId;function CX(){return Ds.nextContextId++}Ds.getNextContextId=CX;function kX(t){if("pos"in t){let r=JF(t.pos);t.message+=` (${r.line}:${r.column})`,t.loc=r}return t}Ds.augmentError=kX;var Ey=class{constructor(r,s){this.line=r,this.column=s}};Ds.Loc=Ey;function JF(t){let r=1,s=1;for(let a=0;a<t;a++)Ds.input.charCodeAt(a)===PX.charCodes.lineFeed?(r++,s=1):s++;return new Ey(r,s)}Ds.locationForIndex=JF;function DX(t,r,s,a){Ds.input=t,Ds.state=new AX.default,Ds.nextContextId=1,Ds.isJSXEnabled=r,Ds.isTypeScriptEnabled=s,Ds.isFlowEnabled=a}Ds.initParser=DX});var su=ct(Ka=>{"use strict";Object.defineProperty(Ka,"__esModule",{value:!0});var iu=$s(),zu=si(),Sy=Va(),Wa=qa();function IX(t){return Wa.state.contextualKeyword===t}Ka.isContextual=IX;function OX(t){let r=iu.lookaheadTypeAndKeyword.call(void 0);return r.type===zu.TokenType.name&&r.contextualKeyword===t}Ka.isLookaheadContextual=OX;function XF(t){return Wa.state.contextualKeyword===t&&iu.eat.call(void 0,zu.TokenType.name)}Ka.eatContextual=XF;function NX(t){XF(t)||wy()}Ka.expectContextual=NX;function YF(){return iu.match.call(void 0,zu.TokenType.eof)||iu.match.call(void 0,zu.TokenType.braceR)||QF()}Ka.canInsertSemicolon=YF;function QF(){let t=Wa.state.tokens[Wa.state.tokens.length-1],r=t?t.end:0;for(let s=r;s<Wa.state.start;s++){let a=Wa.input.charCodeAt(s);if(a===Sy.charCodes.lineFeed||a===Sy.charCodes.carriageReturn||a===8232||a===8233)return!0}return!1}Ka.hasPrecedingLineBreak=QF;function FX(){let t=iu.nextTokenStart.call(void 0);for(let r=Wa.state.end;r<t;r++){let s=Wa.input.charCodeAt(r);if(s===Sy.charCodes.lineFeed||s===Sy.charCodes.carriageReturn||s===8232||s===8233)return!0}return!1}Ka.hasFollowingLineBreak=FX;function ZF(){return iu.eat.call(void 0,zu.TokenType.semi)||YF()}Ka.isLineTerminator=ZF;function jX(){ZF()||wy('Unexpected token, expected ";"')}Ka.semicolon=jX;function LX(t){iu.eat.call(void 0,t)||wy(`Unexpected token, expected "${zu.formatTokenType.call(void 0,t)}"`)}Ka.expect=LX;function wy(t="Unexpected token",r=Wa.state.start){if(Wa.state.error)return;let s=new SyntaxError(t);s.pos=r,Wa.state.error=s,Wa.state.pos=Wa.input.length,iu.finishToken.call(void 0,zu.TokenType.eof)}Ka.unexpected=wy});var pT=ct(Hu=>{"use strict";Object.defineProperty(Hu,"__esModule",{value:!0});var cT=Va(),RX=[9,11,12,cT.charCodes.space,cT.charCodes.nonBreakingSpace,cT.charCodes.oghamSpaceMark,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];Hu.WHITESPACE_CHARS=RX;var MX=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;Hu.skipWhiteSpace=MX;var BX=new Uint8Array(65536);Hu.IS_WHITESPACE=BX;for(let t of Hu.WHITESPACE_CHARS)Hu.IS_WHITESPACE[t]=1});var lp=ct(Ao=>{"use strict";Object.defineProperty(Ao,"__esModule",{value:!0});var ej=Va(),UX=pT();function $X(t){if(t<48)return t===36;if(t<58)return!0;if(t<65)return!1;if(t<91)return!0;if(t<97)return t===95;if(t<123)return!0;if(t<128)return!1;throw new Error("Should not be called with non-ASCII char code.")}var VX=new Uint8Array(65536);Ao.IS_IDENTIFIER_CHAR=VX;for(let t=0;t<128;t++)Ao.IS_IDENTIFIER_CHAR[t]=$X(t)?1:0;for(let t=128;t<65536;t++)Ao.IS_IDENTIFIER_CHAR[t]=1;for(let t of UX.WHITESPACE_CHARS)Ao.IS_IDENTIFIER_CHAR[t]=0;Ao.IS_IDENTIFIER_CHAR[8232]=0;Ao.IS_IDENTIFIER_CHAR[8233]=0;var qX=Ao.IS_IDENTIFIER_CHAR.slice();Ao.IS_IDENTIFIER_START=qX;for(let t=ej.charCodes.digit0;t<=ej.charCodes.digit9;t++)Ao.IS_IDENTIFIER_START[t]=0});var tj=ct(dT=>{"use strict";Object.defineProperty(dT,"__esModule",{value:!0});var Yn=Hs(),ai=si(),WX=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,Yn.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,Yn.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,Yn.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,Yn.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,Yn.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,Yn.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,Yn.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,(ai.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,(ai.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,(ai.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,Yn.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,(ai.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,(ai.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,Yn.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,(ai.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,(ai.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,Yn.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,(ai.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,(ai.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,(ai.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,(ai.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,Yn.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,(ai.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,Yn.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,(ai.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,(ai.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,(ai.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,(ai.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,Yn.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,(ai.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,Yn.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,Yn.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,(ai.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,Yn.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,(ai.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,(ai.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,Yn.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,(ai.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,Yn.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,Yn.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,Yn.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,(ai.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,Yn.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,Yn.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,Yn.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,(ai.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,(ai.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,Yn.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,Yn.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,Yn.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,Yn.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,Yn.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,Yn.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,Yn.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,Yn.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,Yn.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,Yn.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,(ai.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,Yn.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,Yn.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,Yn.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,(ai.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,(ai.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,Yn.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,(ai.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,(ai.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,(ai.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,(ai.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,Yn.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,(ai.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,Yn.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,Yn.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,(ai.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,(ai.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,(ai.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,(ai.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,(ai.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]);dT.READ_WORD_TREE=WX});var sj=ct(fT=>{"use strict";Object.defineProperty(fT,"__esModule",{value:!0});var Po=qa(),au=Va(),rj=lp(),hT=$s(),nj=tj(),ij=si();function KX(){let t=0,r=0,s=Po.state.pos;for(;s<Po.input.length&&(r=Po.input.charCodeAt(s),!(r<au.charCodes.lowercaseA||r>au.charCodes.lowercaseZ));){let u=nj.READ_WORD_TREE[t+(r-au.charCodes.lowercaseA)+1];if(u===-1)break;t=u,s++}let a=nj.READ_WORD_TREE[t];if(a>-1&&!rj.IS_IDENTIFIER_CHAR[r]){Po.state.pos=s,a&1?hT.finishToken.call(void 0,a>>>1):hT.finishToken.call(void 0,ij.TokenType.name,a>>>1);return}for(;s<Po.input.length;){let u=Po.input.charCodeAt(s);if(rj.IS_IDENTIFIER_CHAR[u])s++;else if(u===au.charCodes.backslash){if(s+=2,Po.input.charCodeAt(s)===au.charCodes.leftCurlyBrace){for(;s<Po.input.length&&Po.input.charCodeAt(s)!==au.charCodes.rightCurlyBrace;)s++;s++}}else if(u===au.charCodes.atSign&&Po.input.charCodeAt(s+1)===au.charCodes.atSign)s+=2;else break}Po.state.pos=s,hT.finishToken.call(void 0,ij.TokenType.name)}fT.default=KX});var $s=ct(Ci=>{"use strict";Object.defineProperty(Ci,"__esModule",{value:!0});function zX(t){return t&&t.__esModule?t:{default:t}}var Nt=qa(),up=su(),tr=Va(),oj=lp(),yT=pT(),HX=Hs(),GX=sj(),JX=zX(GX),en=si(),fs;(function(t){t[t.Access=0]="Access";let s=1;t[t.ExportAccess=s]="ExportAccess";let a=s+1;t[t.TopLevelDeclaration=a]="TopLevelDeclaration";let u=a+1;t[t.FunctionScopedDeclaration=u]="FunctionScopedDeclaration";let e=u+1;t[t.BlockScopedDeclaration=e]="BlockScopedDeclaration";let l=e+1;t[t.ObjectShorthandTopLevelDeclaration=l]="ObjectShorthandTopLevelDeclaration";let n=l+1;t[t.ObjectShorthandFunctionScopedDeclaration=n]="ObjectShorthandFunctionScopedDeclaration";let c=n+1;t[t.ObjectShorthandBlockScopedDeclaration=c]="ObjectShorthandBlockScopedDeclaration";let p=c+1;t[t.ObjectShorthand=p]="ObjectShorthand";let i=p+1;t[t.ImportDeclaration=i]="ImportDeclaration";let o=i+1;t[t.ObjectKey=o]="ObjectKey";let h=o+1;t[t.ImportAccess=h]="ImportAccess"})(fs||(Ci.IdentifierRole=fs={}));var aj;(function(t){t[t.NoChildren=0]="NoChildren";let s=1;t[t.OneChild=s]="OneChild";let a=s+1;t[t.StaticChildren=a]="StaticChildren";let u=a+1;t[t.KeyAfterPropSpread=u]="KeyAfterPropSpread"})(aj||(Ci.JSXRole=aj={}));function XX(t){let r=t.identifierRole;return r===fs.TopLevelDeclaration||r===fs.FunctionScopedDeclaration||r===fs.BlockScopedDeclaration||r===fs.ObjectShorthandTopLevelDeclaration||r===fs.ObjectShorthandFunctionScopedDeclaration||r===fs.ObjectShorthandBlockScopedDeclaration}Ci.isDeclaration=XX;function YX(t){let r=t.identifierRole;return r===fs.FunctionScopedDeclaration||r===fs.BlockScopedDeclaration||r===fs.ObjectShorthandFunctionScopedDeclaration||r===fs.ObjectShorthandBlockScopedDeclaration}Ci.isNonTopLevelDeclaration=YX;function QX(t){let r=t.identifierRole;return r===fs.TopLevelDeclaration||r===fs.ObjectShorthandTopLevelDeclaration||r===fs.ImportDeclaration}Ci.isTopLevelDeclaration=QX;function ZX(t){let r=t.identifierRole;return r===fs.TopLevelDeclaration||r===fs.BlockScopedDeclaration||r===fs.ObjectShorthandTopLevelDeclaration||r===fs.ObjectShorthandBlockScopedDeclaration}Ci.isBlockScopedDeclaration=ZX;function eY(t){let r=t.identifierRole;return r===fs.FunctionScopedDeclaration||r===fs.ObjectShorthandFunctionScopedDeclaration}Ci.isFunctionScopedDeclaration=eY;function tY(t){return t.identifierRole===fs.ObjectShorthandTopLevelDeclaration||t.identifierRole===fs.ObjectShorthandBlockScopedDeclaration||t.identifierRole===fs.ObjectShorthandFunctionScopedDeclaration}Ci.isObjectShorthandDeclaration=tY;var yh=class{constructor(){this.type=Nt.state.type,this.contextualKeyword=Nt.state.contextualKeyword,this.start=Nt.state.start,this.end=Nt.state.end,this.scopeDepth=Nt.state.scopeDepth,this.isType=Nt.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}};Ci.Token=yh;function Ay(){Nt.state.tokens.push(new yh),pj()}Ci.next=Ay;function rY(){Nt.state.tokens.push(new yh),Nt.state.start=Nt.state.pos,_Y()}Ci.nextTemplateToken=rY;function nY(){Nt.state.type===en.TokenType.assign&&--Nt.state.pos,EY()}Ci.retokenizeSlashAsRegex=nY;function iY(t){for(let s=Nt.state.tokens.length-t;s<Nt.state.tokens.length;s++)Nt.state.tokens[s].isType=!0;let r=Nt.state.isType;return Nt.state.isType=!0,r}Ci.pushTypeContext=iY;function sY(t){Nt.state.isType=t}Ci.popTypeContext=sY;function lj(t){return bT(t)?(Ay(),!0):!1}Ci.eat=lj;function aY(t){let r=Nt.state.isType;Nt.state.isType=!0,lj(t),Nt.state.isType=r}Ci.eatTypeToken=aY;function bT(t){return Nt.state.type===t}Ci.match=bT;function oY(){let t=Nt.state.snapshot();Ay();let r=Nt.state.type;return Nt.state.restoreFromSnapshot(t),r}Ci.lookaheadType=oY;var _y=class{constructor(r,s){this.type=r,this.contextualKeyword=s}};Ci.TypeAndKeyword=_y;function lY(){let t=Nt.state.snapshot();Ay();let r=Nt.state.type,s=Nt.state.contextualKeyword;return Nt.state.restoreFromSnapshot(t),new _y(r,s)}Ci.lookaheadTypeAndKeyword=lY;function uj(){return cj(Nt.state.pos)}Ci.nextTokenStart=uj;function cj(t){yT.skipWhiteSpace.lastIndex=t;let r=yT.skipWhiteSpace.exec(Nt.input);return t+r[0].length}Ci.nextTokenStartSince=cj;function uY(){return Nt.input.charCodeAt(uj())}Ci.lookaheadCharCode=uY;function pj(){if(hj(),Nt.state.start=Nt.state.pos,Nt.state.pos>=Nt.input.length){let t=Nt.state.tokens;t.length>=2&&t[t.length-1].start>=Nt.input.length&&t[t.length-2].start>=Nt.input.length&&up.unexpected.call(void 0,"Unexpectedly reached the end of input."),ji(en.TokenType.eof);return}cY(Nt.input.charCodeAt(Nt.state.pos))}Ci.nextToken=pj;function cY(t){oj.IS_IDENTIFIER_START[t]||t===tr.charCodes.backslash||t===tr.charCodes.atSign&&Nt.input.charCodeAt(Nt.state.pos+1)===tr.charCodes.atSign?JX.default.call(void 0):mj(t)}function pY(){for(;Nt.input.charCodeAt(Nt.state.pos)!==tr.charCodes.asterisk||Nt.input.charCodeAt(Nt.state.pos+1)!==tr.charCodes.slash;)if(Nt.state.pos++,Nt.state.pos>Nt.input.length){up.unexpected.call(void 0,"Unterminated comment",Nt.state.pos-2);return}Nt.state.pos+=2}function dj(t){let r=Nt.input.charCodeAt(Nt.state.pos+=t);if(Nt.state.pos<Nt.input.length)for(;r!==tr.charCodes.lineFeed&&r!==tr.charCodes.carriageReturn&&r!==tr.charCodes.lineSeparator&&r!==tr.charCodes.paragraphSeparator&&++Nt.state.pos<Nt.input.length;)r=Nt.input.charCodeAt(Nt.state.pos)}Ci.skipLineComment=dj;function hj(){for(;Nt.state.pos<Nt.input.length;){let t=Nt.input.charCodeAt(Nt.state.pos);switch(t){case tr.charCodes.carriageReturn:Nt.input.charCodeAt(Nt.state.pos+1)===tr.charCodes.lineFeed&&++Nt.state.pos;case tr.charCodes.lineFeed:case tr.charCodes.lineSeparator:case tr.charCodes.paragraphSeparator:++Nt.state.pos;break;case tr.charCodes.slash:switch(Nt.input.charCodeAt(Nt.state.pos+1)){case tr.charCodes.asterisk:Nt.state.pos+=2,pY();break;case tr.charCodes.slash:dj(2);break;default:return}break;default:if(yT.IS_WHITESPACE[t])++Nt.state.pos;else return}}}Ci.skipSpace=hj;function ji(t,r=HX.ContextualKeyword.NONE){Nt.state.end=Nt.state.pos,Nt.state.type=t,Nt.state.contextualKeyword=r}Ci.finishToken=ji;function dY(){let t=Nt.input.charCodeAt(Nt.state.pos+1);if(t>=tr.charCodes.digit0&&t<=tr.charCodes.digit9){yj(!0);return}t===tr.charCodes.dot&&Nt.input.charCodeAt(Nt.state.pos+2)===tr.charCodes.dot?(Nt.state.pos+=3,ji(en.TokenType.ellipsis)):(++Nt.state.pos,ji(en.TokenType.dot))}function hY(){Nt.input.charCodeAt(Nt.state.pos+1)===tr.charCodes.equalsTo?Pi(en.TokenType.assign,2):Pi(en.TokenType.slash,1)}function fY(t){let r=t===tr.charCodes.asterisk?en.TokenType.star:en.TokenType.modulo,s=1,a=Nt.input.charCodeAt(Nt.state.pos+1);t===tr.charCodes.asterisk&&a===tr.charCodes.asterisk&&(s++,a=Nt.input.charCodeAt(Nt.state.pos+2),r=en.TokenType.exponent),a===tr.charCodes.equalsTo&&Nt.input.charCodeAt(Nt.state.pos+2)!==tr.charCodes.greaterThan&&(s++,r=en.TokenType.assign),Pi(r,s)}function mY(t){let r=Nt.input.charCodeAt(Nt.state.pos+1);if(r===t){Nt.input.charCodeAt(Nt.state.pos+2)===tr.charCodes.equalsTo?Pi(en.TokenType.assign,3):Pi(t===tr.charCodes.verticalBar?en.TokenType.logicalOR:en.TokenType.logicalAND,2);return}if(t===tr.charCodes.verticalBar){if(r===tr.charCodes.greaterThan){Pi(en.TokenType.pipeline,2);return}else if(r===tr.charCodes.rightCurlyBrace&&Nt.isFlowEnabled){Pi(en.TokenType.braceBarR,2);return}}if(r===tr.charCodes.equalsTo){Pi(en.TokenType.assign,2);return}Pi(t===tr.charCodes.verticalBar?en.TokenType.bitwiseOR:en.TokenType.bitwiseAND,1)}function yY(){Nt.input.charCodeAt(Nt.state.pos+1)===tr.charCodes.equalsTo?Pi(en.TokenType.assign,2):Pi(en.TokenType.bitwiseXOR,1)}function bY(t){let r=Nt.input.charCodeAt(Nt.state.pos+1);if(r===t){Pi(en.TokenType.preIncDec,2);return}r===tr.charCodes.equalsTo?Pi(en.TokenType.assign,2):t===tr.charCodes.plusSign?Pi(en.TokenType.plus,1):Pi(en.TokenType.minus,1)}function gY(){let t=Nt.input.charCodeAt(Nt.state.pos+1);if(t===tr.charCodes.lessThan){if(Nt.input.charCodeAt(Nt.state.pos+2)===tr.charCodes.equalsTo){Pi(en.TokenType.assign,3);return}Nt.state.isType?Pi(en.TokenType.lessThan,1):Pi(en.TokenType.bitShiftL,2);return}t===tr.charCodes.equalsTo?Pi(en.TokenType.relationalOrEqual,2):Pi(en.TokenType.lessThan,1)}function fj(){if(Nt.state.isType){Pi(en.TokenType.greaterThan,1);return}let t=Nt.input.charCodeAt(Nt.state.pos+1);if(t===tr.charCodes.greaterThan){let r=Nt.input.charCodeAt(Nt.state.pos+2)===tr.charCodes.greaterThan?3:2;if(Nt.input.charCodeAt(Nt.state.pos+r)===tr.charCodes.equalsTo){Pi(en.TokenType.assign,r+1);return}Pi(en.TokenType.bitShiftR,r);return}t===tr.charCodes.equalsTo?Pi(en.TokenType.relationalOrEqual,2):Pi(en.TokenType.greaterThan,1)}function vY(){Nt.state.type===en.TokenType.greaterThan&&(Nt.state.pos-=1,fj())}Ci.rescan_gt=vY;function xY(t){let r=Nt.input.charCodeAt(Nt.state.pos+1);if(r===tr.charCodes.equalsTo){Pi(en.TokenType.equality,Nt.input.charCodeAt(Nt.state.pos+2)===tr.charCodes.equalsTo?3:2);return}if(t===tr.charCodes.equalsTo&&r===tr.charCodes.greaterThan){Nt.state.pos+=2,ji(en.TokenType.arrow);return}Pi(t===tr.charCodes.equalsTo?en.TokenType.eq:en.TokenType.bang,1)}function TY(){let t=Nt.input.charCodeAt(Nt.state.pos+1),r=Nt.input.charCodeAt(Nt.state.pos+2);t===tr.charCodes.questionMark&&!(Nt.isFlowEnabled&&Nt.state.isType)?r===tr.charCodes.equalsTo?Pi(en.TokenType.assign,3):Pi(en.TokenType.nullishCoalescing,2):t===tr.charCodes.dot&&!(r>=tr.charCodes.digit0&&r<=tr.charCodes.digit9)?(Nt.state.pos+=2,ji(en.TokenType.questionDot)):(++Nt.state.pos,ji(en.TokenType.question))}function mj(t){switch(t){case tr.charCodes.numberSign:++Nt.state.pos,ji(en.TokenType.hash);return;case tr.charCodes.dot:dY();return;case tr.charCodes.leftParenthesis:++Nt.state.pos,ji(en.TokenType.parenL);return;case tr.charCodes.rightParenthesis:++Nt.state.pos,ji(en.TokenType.parenR);return;case tr.charCodes.semicolon:++Nt.state.pos,ji(en.TokenType.semi);return;case tr.charCodes.comma:++Nt.state.pos,ji(en.TokenType.comma);return;case tr.charCodes.leftSquareBracket:++Nt.state.pos,ji(en.TokenType.bracketL);return;case tr.charCodes.rightSquareBracket:++Nt.state.pos,ji(en.TokenType.bracketR);return;case tr.charCodes.leftCurlyBrace:Nt.isFlowEnabled&&Nt.input.charCodeAt(Nt.state.pos+1)===tr.charCodes.verticalBar?Pi(en.TokenType.braceBarL,2):(++Nt.state.pos,ji(en.TokenType.braceL));return;case tr.charCodes.rightCurlyBrace:++Nt.state.pos,ji(en.TokenType.braceR);return;case tr.charCodes.colon:Nt.input.charCodeAt(Nt.state.pos+1)===tr.charCodes.colon?Pi(en.TokenType.doubleColon,2):(++Nt.state.pos,ji(en.TokenType.colon));return;case tr.charCodes.questionMark:TY();return;case tr.charCodes.atSign:++Nt.state.pos,ji(en.TokenType.at);return;case tr.charCodes.graveAccent:++Nt.state.pos,ji(en.TokenType.backQuote);return;case tr.charCodes.digit0:{let r=Nt.input.charCodeAt(Nt.state.pos+1);if(r===tr.charCodes.lowercaseX||r===tr.charCodes.uppercaseX||r===tr.charCodes.lowercaseO||r===tr.charCodes.uppercaseO||r===tr.charCodes.lowercaseB||r===tr.charCodes.uppercaseB){SY();return}}case tr.charCodes.digit1:case tr.charCodes.digit2:case tr.charCodes.digit3:case tr.charCodes.digit4:case tr.charCodes.digit5:case tr.charCodes.digit6:case tr.charCodes.digit7:case tr.charCodes.digit8:case tr.charCodes.digit9:yj(!1);return;case tr.charCodes.quotationMark:case tr.charCodes.apostrophe:wY(t);return;case tr.charCodes.slash:hY();return;case tr.charCodes.percentSign:case tr.charCodes.asterisk:fY(t);return;case tr.charCodes.verticalBar:case tr.charCodes.ampersand:mY(t);return;case tr.charCodes.caret:yY();return;case tr.charCodes.plusSign:case tr.charCodes.dash:bY(t);return;case tr.charCodes.lessThan:gY();return;case tr.charCodes.greaterThan:fj();return;case tr.charCodes.equalsTo:case tr.charCodes.exclamationMark:xY(t);return;case tr.charCodes.tilde:Pi(en.TokenType.tilde,1);return;default:break}up.unexpected.call(void 0,`Unexpected character '${String.fromCharCode(t)}'`,Nt.state.pos)}Ci.getTokenFromCode=mj;function Pi(t,r){Nt.state.pos+=r,ji(t)}function EY(){let t=Nt.state.pos,r=!1,s=!1;for(;;){if(Nt.state.pos>=Nt.input.length){up.unexpected.call(void 0,"Unterminated regular expression",t);return}let a=Nt.input.charCodeAt(Nt.state.pos);if(r)r=!1;else{if(a===tr.charCodes.leftSquareBracket)s=!0;else if(a===tr.charCodes.rightSquareBracket&&s)s=!1;else if(a===tr.charCodes.slash&&!s)break;r=a===tr.charCodes.backslash}++Nt.state.pos}++Nt.state.pos,bj(),ji(en.TokenType.regexp)}function mT(){for(;;){let t=Nt.input.charCodeAt(Nt.state.pos);if(t>=tr.charCodes.digit0&&t<=tr.charCodes.digit9||t===tr.charCodes.underscore)Nt.state.pos++;else break}}function SY(){for(Nt.state.pos+=2;;){let r=Nt.input.charCodeAt(Nt.state.pos);if(r>=tr.charCodes.digit0&&r<=tr.charCodes.digit9||r>=tr.charCodes.lowercaseA&&r<=tr.charCodes.lowercaseF||r>=tr.charCodes.uppercaseA&&r<=tr.charCodes.uppercaseF||r===tr.charCodes.underscore)Nt.state.pos++;else break}Nt.input.charCodeAt(Nt.state.pos)===tr.charCodes.lowercaseN?(++Nt.state.pos,ji(en.TokenType.bigint)):ji(en.TokenType.num)}function yj(t){let r=!1,s=!1;t||mT();let a=Nt.input.charCodeAt(Nt.state.pos);if(a===tr.charCodes.dot&&(++Nt.state.pos,mT(),a=Nt.input.charCodeAt(Nt.state.pos)),(a===tr.charCodes.uppercaseE||a===tr.charCodes.lowercaseE)&&(a=Nt.input.charCodeAt(++Nt.state.pos),(a===tr.charCodes.plusSign||a===tr.charCodes.dash)&&++Nt.state.pos,mT(),a=Nt.input.charCodeAt(Nt.state.pos)),a===tr.charCodes.lowercaseN?(++Nt.state.pos,r=!0):a===tr.charCodes.lowercaseM&&(++Nt.state.pos,s=!0),r){ji(en.TokenType.bigint);return}if(s){ji(en.TokenType.decimal);return}ji(en.TokenType.num)}function wY(t){for(Nt.state.pos++;;){if(Nt.state.pos>=Nt.input.length){up.unexpected.call(void 0,"Unterminated string constant");return}let r=Nt.input.charCodeAt(Nt.state.pos);if(r===tr.charCodes.backslash)Nt.state.pos++;else if(r===t)break;Nt.state.pos++}Nt.state.pos++,ji(en.TokenType.string)}function _Y(){for(;;){if(Nt.state.pos>=Nt.input.length){up.unexpected.call(void 0,"Unterminated template");return}let t=Nt.input.charCodeAt(Nt.state.pos);if(t===tr.charCodes.graveAccent||t===tr.charCodes.dollarSign&&Nt.input.charCodeAt(Nt.state.pos+1)===tr.charCodes.leftCurlyBrace){if(Nt.state.pos===Nt.state.start&&bT(en.TokenType.template))if(t===tr.charCodes.dollarSign){Nt.state.pos+=2,ji(en.TokenType.dollarBraceL);return}else{++Nt.state.pos,ji(en.TokenType.backQuote);return}ji(en.TokenType.template);return}t===tr.charCodes.backslash&&Nt.state.pos++,Nt.state.pos++}}function bj(){for(;Nt.state.pos<Nt.input.length;){let t=Nt.input.charCodeAt(Nt.state.pos);if(oj.IS_IDENTIFIER_CHAR[t])Nt.state.pos++;else if(t===tr.charCodes.backslash){if(Nt.state.pos+=2,Nt.input.charCodeAt(Nt.state.pos)===tr.charCodes.leftCurlyBrace){for(;Nt.state.pos<Nt.input.length&&Nt.input.charCodeAt(Nt.state.pos)!==tr.charCodes.rightCurlyBrace;)Nt.state.pos++;Nt.state.pos++}}else break}}Ci.skipWord=bj});var bh=ct(gT=>{"use strict";Object.defineProperty(gT,"__esModule",{value:!0});var gj=si();function AY(t,r=t.currentIndex()){let s=r+1;if(Py(t,s)){let a=t.identifierNameAtIndex(r);return{isType:!1,leftName:a,rightName:a,endIndex:s}}if(s++,Py(t,s))return{isType:!0,leftName:null,rightName:null,endIndex:s};if(s++,Py(t,s))return{isType:!1,leftName:t.identifierNameAtIndex(r),rightName:t.identifierNameAtIndex(r+2),endIndex:s};if(s++,Py(t,s))return{isType:!0,leftName:null,rightName:null,endIndex:s};throw new Error(`Unexpected import/export specifier at ${r}`)}gT.default=AY;function Py(t,r){let s=t.tokens[r];return s.type===gj.TokenType.braceR||s.type===gj.TokenType.comma}});var vj=ct(vT=>{"use strict";Object.defineProperty(vT,"__esModule",{value:!0});vT.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 TT=ct(xT=>{"use strict";Object.defineProperty(xT,"__esModule",{value:!0});function PY(t){let[r,s]=xj(t.jsxPragma||"React.createElement"),[a,u]=xj(t.jsxFragmentPragma||"React.Fragment");return{base:r,suffix:s,fragmentBase:a,fragmentSuffix:u}}xT.default=PY;function xj(t){let r=t.indexOf(".");return r===-1&&(r=t.length),[t.slice(0,r),t.slice(r)]}});var ao=ct(ST=>{"use strict";Object.defineProperty(ST,"__esModule",{value:!0});var ET=class{getPrefixCode(){return""}getHoistedCode(){return""}getSuffixCode(){return""}};ST.default=ET});var AT=ct(ky=>{"use strict";Object.defineProperty(ky,"__esModule",{value:!0});function _T(t){return t&&t.__esModule?t:{default:t}}var CY=vj(),kY=_T(CY),Cy=$s(),mi=si(),Yo=Va(),DY=TT(),IY=_T(DY),OY=ao(),NY=_T(OY),wT=class t extends NY.default{__init(){this.lastLineNumber=1}__init2(){this.lastIndex=0}__init3(){this.filenameVarName=null}__init4(){this.esmAutomaticImportNameResolutions={}}__init5(){this.cjsAutomaticModuleNameResolutions={}}constructor(r,s,a,u,e){super(),this.rootTransformer=r,this.tokens=s,this.importProcessor=a,this.nameManager=u,this.options=e,t.prototype.__init.call(this),t.prototype.__init2.call(this),t.prototype.__init3.call(this),t.prototype.__init4.call(this),t.prototype.__init5.call(this),this.jsxPragmaInfo=IY.default.call(void 0,e),this.isAutomaticRuntime=e.jsxRuntime==="automatic",this.jsxImportSource=e.jsxImportSource||"react"}process(){return this.tokens.matches1(mi.TokenType.jsxTagStart)?(this.processJSXTag(),!0):!1}getPrefixCode(){let r="";if(this.filenameVarName&&(r+=`const ${this.filenameVarName} = ${JSON.stringify(this.options.filePath||"")};`),this.isAutomaticRuntime)if(this.importProcessor)for(let[s,a]of Object.entries(this.cjsAutomaticModuleNameResolutions))r+=`var ${a} = require("${s}");`;else{let{createElement:s,...a}=this.esmAutomaticImportNameResolutions;s&&(r+=`import {createElement as ${s}} from "${this.jsxImportSource}";`);let u=Object.entries(a).map(([e,l])=>`${e} as ${l}`).join(", ");if(u){let e=this.jsxImportSource+(this.options.production?"/jsx-runtime":"/jsx-dev-runtime");r+=`import {${u}} from "${e}";`}}return r}processJSXTag(){let{jsxRole:r,start:s}=this.tokens.currentToken(),a=this.options.production?null:this.getElementLocationCode(s);this.isAutomaticRuntime&&r!==Cy.JSXRole.KeyAfterPropSpread?this.transformTagToJSXFunc(a,r):this.transformTagToCreateElement(a)}getElementLocationCode(r){return`lineNumber: ${this.getLineNumberForIndex(r)}`}getLineNumberForIndex(r){let s=this.tokens.code;for(;this.lastIndex<r&&this.lastIndex<s.length;)s[this.lastIndex]===`
|
|
`&&this.lastLineNumber++,this.lastIndex++;return this.lastLineNumber}transformTagToJSXFunc(r,s){let a=s===Cy.JSXRole.StaticChildren;this.tokens.replaceToken(this.getJSXFuncInvocationCode(a));let u=null;if(this.tokens.matches1(mi.TokenType.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, {`),this.processAutomaticChildrenAndEndProps(s);else{if(this.processTagIntro(),this.tokens.appendCode(", {"),u=this.processProps(!0),this.tokens.matches2(mi.TokenType.slash,mi.TokenType.jsxTagEnd))this.tokens.appendCode("}");else if(this.tokens.matches1(mi.TokenType.jsxTagEnd))this.tokens.removeToken(),this.processAutomaticChildrenAndEndProps(s);else throw new Error("Expected either /> or > at the end of the tag.");u&&this.tokens.appendCode(`, ${u}`)}for(this.options.production||(u===null&&this.tokens.appendCode(", void 0"),this.tokens.appendCode(`, ${a}, ${this.getDevSource(r)}, this`)),this.tokens.removeInitialToken();!this.tokens.matches1(mi.TokenType.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}transformTagToCreateElement(r){if(this.tokens.replaceToken(this.getCreateElementInvocationCode()),this.tokens.matches1(mi.TokenType.jsxTagEnd))this.tokens.replaceToken(`${this.getFragmentCode()}, null`),this.processChildren(!0);else if(this.processTagIntro(),this.processPropsObjectWithDevInfo(r),!this.tokens.matches2(mi.TokenType.slash,mi.TokenType.jsxTagEnd))if(this.tokens.matches1(mi.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(mi.TokenType.jsxTagEnd);)this.tokens.removeToken();this.tokens.replaceToken(")")}getJSXFuncInvocationCode(r){return this.options.production?r?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:r}=this;return`${this.importProcessor&&this.importProcessor.getIdentifierReplacement(r.base)||r.base}${r.suffix}(`}}getFragmentCode(){if(this.isAutomaticRuntime)return this.claimAutoImportedName("Fragment",this.options.production?"/jsx-runtime":"/jsx-dev-runtime");{let{jsxPragmaInfo:r}=this;return(this.importProcessor&&this.importProcessor.getIdentifierReplacement(r.fragmentBase)||r.fragmentBase)+r.fragmentSuffix}}claimAutoImportedFuncInvocation(r,s){let a=this.claimAutoImportedName(r,s);return this.importProcessor?`${a}.call(void 0, `:`${a}(`}claimAutoImportedName(r,s){if(this.importProcessor){let a=this.jsxImportSource+s;return this.cjsAutomaticModuleNameResolutions[a]||(this.cjsAutomaticModuleNameResolutions[a]=this.importProcessor.getFreeIdentifierForPath(a)),`${this.cjsAutomaticModuleNameResolutions[a]}.${r}`}else return this.esmAutomaticImportNameResolutions[r]||(this.esmAutomaticImportNameResolutions[r]=this.nameManager.claimFreeName(`_${r}`)),this.esmAutomaticImportNameResolutions[r]}processTagIntro(){let r=this.tokens.currentIndex()+1;for(;this.tokens.tokens[r].isType||!this.tokens.matches2AtIndex(r-1,mi.TokenType.jsxName,mi.TokenType.jsxName)&&!this.tokens.matches2AtIndex(r-1,mi.TokenType.greaterThan,mi.TokenType.jsxName)&&!this.tokens.matches1AtIndex(r,mi.TokenType.braceL)&&!this.tokens.matches1AtIndex(r,mi.TokenType.jsxTagEnd)&&!this.tokens.matches2AtIndex(r,mi.TokenType.slash,mi.TokenType.jsxTagEnd);)r++;if(r===this.tokens.currentIndex()+1){let s=this.tokens.identifierName();Ej(s)&&this.tokens.replaceToken(`'${s}'`)}for(;this.tokens.currentIndex()<r;)this.rootTransformer.processToken()}processPropsObjectWithDevInfo(r){let s=this.options.production?"":`__self: this, __source: ${this.getDevSource(r)}`;if(!this.tokens.matches1(mi.TokenType.jsxName)&&!this.tokens.matches1(mi.TokenType.braceL)){s?this.tokens.appendCode(`, {${s}}`):this.tokens.appendCode(", null");return}this.tokens.appendCode(", {"),this.processProps(!1),s?this.tokens.appendCode(` ${s}}`):this.tokens.appendCode("}")}processProps(r){let s=null;for(;;){if(this.tokens.matches2(mi.TokenType.jsxName,mi.TokenType.eq)){let a=this.tokens.identifierName();if(r&&a==="key"){s!==null&&this.tokens.appendCode(s.replace(/[^\n]/g,"")),this.tokens.removeToken(),this.tokens.removeToken();let u=this.tokens.snapshot();this.processPropValue(),s=this.tokens.dangerouslyGetAndRemoveCodeSinceSnapshot(u);continue}else this.processPropName(a),this.tokens.replaceToken(": "),this.processPropValue()}else if(this.tokens.matches1(mi.TokenType.jsxName)){let a=this.tokens.identifierName();this.processPropName(a),this.tokens.appendCode(": true")}else if(this.tokens.matches1(mi.TokenType.braceL))this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("");else break;this.tokens.appendCode(",")}return s}processPropName(r){r.includes("-")?this.tokens.replaceToken(`'${r}'`):this.tokens.copyToken()}processPropValue(){this.tokens.matches1(mi.TokenType.braceL)?(this.tokens.replaceToken(""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken("")):this.tokens.matches1(mi.TokenType.jsxTagStart)?this.processJSXTag():this.processStringPropValue()}processStringPropValue(){let r=this.tokens.currentToken(),s=this.tokens.code.slice(r.start+1,r.end-1),a=Tj(s),u=jY(s);this.tokens.replaceToken(u+a)}processAutomaticChildrenAndEndProps(r){r===Cy.JSXRole.StaticChildren?(this.tokens.appendCode(" children: ["),this.processChildren(!1),this.tokens.appendCode("]}")):(r===Cy.JSXRole.OneChild&&this.tokens.appendCode(" children: "),this.processChildren(!1),this.tokens.appendCode("}"))}processChildren(r){let s=r;for(;;){if(this.tokens.matches2(mi.TokenType.jsxTagStart,mi.TokenType.slash))return;let a=!1;if(this.tokens.matches1(mi.TokenType.braceL))this.tokens.matches2(mi.TokenType.braceL,mi.TokenType.braceR)?(this.tokens.replaceToken(""),this.tokens.replaceToken("")):(this.tokens.replaceToken(s?", ":""),this.rootTransformer.processBalancedCode(),this.tokens.replaceToken(""),a=!0);else if(this.tokens.matches1(mi.TokenType.jsxTagStart))this.tokens.appendCode(s?", ":""),this.processJSXTag(),a=!0;else if(this.tokens.matches1(mi.TokenType.jsxText)||this.tokens.matches1(mi.TokenType.jsxEmptyText))a=this.processChildTextElement(s);else throw new Error("Unexpected token when processing JSX children.");a&&(s=!0)}}processChildTextElement(r){let s=this.tokens.currentToken(),a=this.tokens.code.slice(s.start,s.end),u=Tj(a),e=FY(a);return e==='""'?(this.tokens.replaceToken(u),!1):(this.tokens.replaceToken(`${r?", ":""}${e}${u}`),!0)}getDevSource(r){return`{fileName: ${this.getFilenameVarName()}, ${r}}`}getFilenameVarName(){return this.filenameVarName||(this.filenameVarName=this.nameManager.claimFreeName("_jsxFileName")),this.filenameVarName}};ky.default=wT;function Ej(t){let r=t.charCodeAt(0);return r>=Yo.charCodes.lowercaseA&&r<=Yo.charCodes.lowercaseZ}ky.startsWithLowerCase=Ej;function FY(t){let r="",s="",a=!1,u=!1;for(let e=0;e<t.length;e++){let l=t[e];if(l===" "||l===" "||l==="\r")a||(s+=l);else if(l===`
|
|
`)s="",a=!0;else{if(u&&a&&(r+=" "),r+=s,s="",l==="&"){let{entity:n,newI:c}=Sj(t,e+1);e=c-1,r+=n}else r+=l;u=!0,a=!1}}return a||(r+=s),JSON.stringify(r)}function Tj(t){let r=0,s=0;for(let a of t)a===`
|
|
`?(r++,s=0):a===" "&&s++;return`
|
|
`.repeat(r)+" ".repeat(s)}function jY(t){let r="";for(let s=0;s<t.length;s++){let a=t[s];if(a===`
|
|
`)if(/\s/.test(t[s+1]))for(r+=" ";s<t.length&&/\s/.test(t[s+1]);)s++;else r+=`
|
|
`;else if(a==="&"){let{entity:u,newI:e}=Sj(t,s+1);r+=u,s=e-1}else r+=a}return JSON.stringify(r)}function Sj(t,r){let s="",a=0,u,e=r;if(t[e]==="#"){let l=10;e++;let n;if(t[e]==="x")for(l=16,e++,n=e;e<t.length&&RY(t.charCodeAt(e));)e++;else for(n=e;e<t.length&&LY(t.charCodeAt(e));)e++;if(t[e]===";"){let c=t.slice(n,e);c&&(e++,u=String.fromCodePoint(parseInt(c,l)))}}else for(;e<t.length&&a++<10;){let l=t[e];if(e++,l===";"){u=kY.default.get(s);break}s+=l}return u?{entity:u,newI:e}:{entity:"&",newI:r}}function LY(t){return t>=Yo.charCodes.digit0&&t<=Yo.charCodes.digit9}function RY(t){return t>=Yo.charCodes.digit0&&t<=Yo.charCodes.digit9||t>=Yo.charCodes.lowercaseA&&t<=Yo.charCodes.lowercaseF||t>=Yo.charCodes.uppercaseA&&t<=Yo.charCodes.uppercaseF}});var CT=ct(PT=>{"use strict";Object.defineProperty(PT,"__esModule",{value:!0});function MY(t){return t&&t.__esModule?t:{default:t}}var Dy=$s(),cp=si(),BY=AT(),UY=TT(),$Y=MY(UY);function VY(t,r){let s=$Y.default.call(void 0,r),a=new Set;for(let u=0;u<t.tokens.length;u++){let e=t.tokens[u];if(e.type===cp.TokenType.name&&!e.isType&&(e.identifierRole===Dy.IdentifierRole.Access||e.identifierRole===Dy.IdentifierRole.ObjectShorthand||e.identifierRole===Dy.IdentifierRole.ExportAccess)&&!e.shadowsGlobal&&a.add(t.identifierNameForToken(e)),e.type===cp.TokenType.jsxTagStart&&a.add(s.base),e.type===cp.TokenType.jsxTagStart&&u+1<t.tokens.length&&t.tokens[u+1].type===cp.TokenType.jsxTagEnd&&(a.add(s.base),a.add(s.fragmentBase)),e.type===cp.TokenType.jsxName&&e.identifierRole===Dy.IdentifierRole.Access){let l=t.identifierNameForToken(e);(!BY.startsWithLowerCase.call(void 0,l)||t.tokens[u+1].type===cp.TokenType.dot)&&a.add(t.identifierNameForToken(e))}}return a}PT.getNonTypeIdentifiers=VY});var wj=ct(DT=>{"use strict";Object.defineProperty(DT,"__esModule",{value:!0});function qY(t){return t&&t.__esModule?t:{default:t}}var WY=$s(),Iy=Hs(),jn=si(),KY=bh(),zY=qY(KY),HY=CT(),kT=class t{__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(r,s,a,u,e,l,n){this.nameManager=r,this.tokens=s,this.enableLegacyTypeScriptModuleInterop=a,this.options=u,this.isTypeScriptTransformEnabled=e,this.keepUnusedImports=l,this.helperManager=n,t.prototype.__init.call(this),t.prototype.__init2.call(this),t.prototype.__init3.call(this),t.prototype.__init4.call(this),t.prototype.__init5.call(this)}preprocessTokens(){for(let r=0;r<this.tokens.tokens.length;r++)this.tokens.matches1AtIndex(r,jn.TokenType._import)&&!this.tokens.matches3AtIndex(r,jn.TokenType._import,jn.TokenType.name,jn.TokenType.eq)&&this.preprocessImportAtIndex(r),this.tokens.matches1AtIndex(r,jn.TokenType._export)&&!this.tokens.matches2AtIndex(r,jn.TokenType._export,jn.TokenType.eq)&&this.preprocessExportAtIndex(r);this.generateImportReplacements()}pruneTypeOnlyImports(){this.nonTypeIdentifiers=HY.getNonTypeIdentifiers.call(void 0,this.tokens,this.options);for(let[r,s]of this.importInfoByPath.entries()){if(s.hasBareImport||s.hasStarExport||s.exportStarNames.length>0||s.namedExports.length>0)continue;[...s.defaultNames,...s.wildcardNames,...s.namedImports.map(({localName:u})=>u)].every(u=>this.shouldAutomaticallyElideImportedName(u))&&this.importsToReplace.set(r,"")}}shouldAutomaticallyElideImportedName(r){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(r)}generateImportReplacements(){for(let[r,s]of this.importInfoByPath.entries()){let{defaultNames:a,wildcardNames:u,namedImports:e,namedExports:l,exportStarNames:n,hasStarExport:c}=s;if(a.length===0&&u.length===0&&e.length===0&&l.length===0&&n.length===0&&!c){this.importsToReplace.set(r,`require('${r}');`);continue}let p=this.getFreeIdentifierForPath(r),i;this.enableLegacyTypeScriptModuleInterop?i=p:i=u.length>0?u[0]:this.getFreeIdentifierForPath(r);let o=`var ${p} = require('${r}');`;if(u.length>0)for(let h of u){let d=this.enableLegacyTypeScriptModuleInterop?p:`${this.helperManager.getHelperName("interopRequireWildcard")}(${p})`;o+=` var ${h} = ${d};`}else n.length>0&&i!==p?o+=` var ${i} = ${this.helperManager.getHelperName("interopRequireWildcard")}(${p});`:a.length>0&&i!==p&&(o+=` var ${i} = ${this.helperManager.getHelperName("interopRequireDefault")}(${p});`);for(let{importedName:h,localName:d}of l)o+=` ${this.helperManager.getHelperName("createNamedExportFrom")}(${p}, '${d}', '${h}');`;for(let h of n)o+=` exports.${h} = ${i};`;c&&(o+=` ${this.helperManager.getHelperName("createStarExport")}(${p});`),this.importsToReplace.set(r,o);for(let h of a)this.identifierReplacements.set(h,`${i}.default`);for(let{importedName:h,localName:d}of e)this.identifierReplacements.set(d,`${p}.${h}`)}}getFreeIdentifierForPath(r){let s=r.split("/"),u=s[s.length-1].replace(/\W/g,"");return this.nameManager.claimFreeName(`_${u}`)}preprocessImportAtIndex(r){let s=[],a=[],u=[];if(r++,(this.tokens.matchesContextualAtIndex(r,Iy.ContextualKeyword._type)||this.tokens.matches1AtIndex(r,jn.TokenType._typeof))&&!this.tokens.matches1AtIndex(r+1,jn.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(r+1,Iy.ContextualKeyword._from)||this.tokens.matches1AtIndex(r,jn.TokenType.parenL))return;if(this.tokens.matches1AtIndex(r,jn.TokenType.name)&&(s.push(this.tokens.identifierNameAtIndex(r)),r++,this.tokens.matches1AtIndex(r,jn.TokenType.comma)&&r++),this.tokens.matches1AtIndex(r,jn.TokenType.star)&&(r+=2,a.push(this.tokens.identifierNameAtIndex(r)),r++),this.tokens.matches1AtIndex(r,jn.TokenType.braceL)){let n=this.getNamedImports(r+1);r=n.newIndex;for(let c of n.namedImports)c.importedName==="default"?s.push(c.localName):u.push(c)}if(this.tokens.matchesContextualAtIndex(r,Iy.ContextualKeyword._from)&&r++,!this.tokens.matches1AtIndex(r,jn.TokenType.string))throw new Error("Expected string token at the end of import statement.");let e=this.tokens.stringValueAtIndex(r),l=this.getImportInfo(e);l.defaultNames.push(...s),l.wildcardNames.push(...a),l.namedImports.push(...u),s.length===0&&a.length===0&&u.length===0&&(l.hasBareImport=!0)}preprocessExportAtIndex(r){if(this.tokens.matches2AtIndex(r,jn.TokenType._export,jn.TokenType._var)||this.tokens.matches2AtIndex(r,jn.TokenType._export,jn.TokenType._let)||this.tokens.matches2AtIndex(r,jn.TokenType._export,jn.TokenType._const))this.preprocessVarExportAtIndex(r);else if(this.tokens.matches2AtIndex(r,jn.TokenType._export,jn.TokenType._function)||this.tokens.matches2AtIndex(r,jn.TokenType._export,jn.TokenType._class)){let s=this.tokens.identifierNameAtIndex(r+2);this.addExportBinding(s,s)}else if(this.tokens.matches3AtIndex(r,jn.TokenType._export,jn.TokenType.name,jn.TokenType._function)){let s=this.tokens.identifierNameAtIndex(r+3);this.addExportBinding(s,s)}else this.tokens.matches2AtIndex(r,jn.TokenType._export,jn.TokenType.braceL)?this.preprocessNamedExportAtIndex(r):this.tokens.matches2AtIndex(r,jn.TokenType._export,jn.TokenType.star)&&this.preprocessExportStarAtIndex(r)}preprocessVarExportAtIndex(r){let s=0;for(let a=r+2;;a++)if(this.tokens.matches1AtIndex(a,jn.TokenType.braceL)||this.tokens.matches1AtIndex(a,jn.TokenType.dollarBraceL)||this.tokens.matches1AtIndex(a,jn.TokenType.bracketL))s++;else if(this.tokens.matches1AtIndex(a,jn.TokenType.braceR)||this.tokens.matches1AtIndex(a,jn.TokenType.bracketR))s--;else{if(s===0&&!this.tokens.matches1AtIndex(a,jn.TokenType.name))break;if(this.tokens.matches1AtIndex(1,jn.TokenType.eq)){let u=this.tokens.currentToken().rhsEndIndex;if(u==null)throw new Error("Expected = token with an end index.");a=u-1}else{let u=this.tokens.tokens[a];if(WY.isDeclaration.call(void 0,u)){let e=this.tokens.identifierNameAtIndex(a);this.identifierReplacements.set(e,`exports.${e}`)}}}}preprocessNamedExportAtIndex(r){r+=2;let{newIndex:s,namedImports:a}=this.getNamedImports(r);if(r=s,this.tokens.matchesContextualAtIndex(r,Iy.ContextualKeyword._from))r++;else{for(let{importedName:l,localName:n}of a)this.addExportBinding(l,n);return}if(!this.tokens.matches1AtIndex(r,jn.TokenType.string))throw new Error("Expected string token at the end of import statement.");let u=this.tokens.stringValueAtIndex(r);this.getImportInfo(u).namedExports.push(...a)}preprocessExportStarAtIndex(r){let s=null;if(this.tokens.matches3AtIndex(r,jn.TokenType._export,jn.TokenType.star,jn.TokenType._as)?(r+=3,s=this.tokens.identifierNameAtIndex(r),r+=2):r+=3,!this.tokens.matches1AtIndex(r,jn.TokenType.string))throw new Error("Expected string token at the end of star export statement.");let a=this.tokens.stringValueAtIndex(r),u=this.getImportInfo(a);s!==null?u.exportStarNames.push(s):u.hasStarExport=!0}getNamedImports(r){let s=[];for(;;){if(this.tokens.matches1AtIndex(r,jn.TokenType.braceR)){r++;break}let a=zY.default.call(void 0,this.tokens,r);if(r=a.endIndex,a.isType||s.push({importedName:a.leftName,localName:a.rightName}),this.tokens.matches2AtIndex(r,jn.TokenType.comma,jn.TokenType.braceR)){r+=2;break}else if(this.tokens.matches1AtIndex(r,jn.TokenType.braceR)){r++;break}else if(this.tokens.matches1AtIndex(r,jn.TokenType.comma))r++;else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.tokens[r])}`)}return{newIndex:r,namedImports:s}}getImportInfo(r){let s=this.importInfoByPath.get(r);if(s)return s;let a={defaultNames:[],wildcardNames:[],namedImports:[],namedExports:[],hasBareImport:!1,exportStarNames:[],hasStarExport:!1};return this.importInfoByPath.set(r,a),a}addExportBinding(r,s){this.exportBindingsByLocalName.has(r)||this.exportBindingsByLocalName.set(r,[]),this.exportBindingsByLocalName.get(r).push(s)}claimImportCode(r){let s=this.importsToReplace.get(r);return this.importsToReplace.set(r,""),s||""}getIdentifierReplacement(r){return this.identifierReplacements.get(r)||null}resolveExportBinding(r){let s=this.exportBindingsByLocalName.get(r);return!s||s.length===0?null:s.map(a=>`exports.${a}`).join(" = ")}getGlobalNames(){return new Set([...this.identifierReplacements.keys(),...this.exportBindingsByLocalName.keys()])}};DT.default=kT});var IT=ct((Oy,_j)=>{(function(t,r){typeof Oy=="object"&&typeof _j<"u"?r(Oy):typeof define=="function"&&define.amd?define(["exports"],r):(t=typeof globalThis<"u"?globalThis:t||self,r(t.sourcemapCodec={}))})(Oy,(function(t){"use strict";let a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=new Uint8Array(64),e=new Uint8Array(128);for(let j=0;j<a.length;j++){let F=a.charCodeAt(j);u[j]=F,e[F]=j}function l(j,F){let k=0,U=0,z=0;do{let R=j.next();z=e[R],k|=(z&31)<<U,U+=5}while(z&32);let C=k&1;return k>>>=1,C&&(k=-2147483648|-k),F+k}function n(j,F,k){let U=F-k;U=U<0?-U<<1|1:U<<1;do{let z=U&31;U>>>=5,U>0&&(z|=32),j.write(u[z])}while(U>0);return F}function c(j,F){return j.pos>=F?!1:j.peek()!==44}let p=1024*16,i=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode(j){return Buffer.from(j.buffer,j.byteOffset,j.byteLength).toString()}}:{decode(j){let F="";for(let k=0;k<j.length;k++)F+=String.fromCharCode(j[k]);return F}};class o{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(p)}write(F){let{buffer:k}=this;k[this.pos++]=F,this.pos===p&&(this.out+=i.decode(k),this.pos=0)}flush(){let{buffer:F,out:k,pos:U}=this;return U>0?k+i.decode(F.subarray(0,U)):k}}class h{constructor(F){this.pos=0,this.buffer=F}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf(F){let{buffer:k,pos:U}=this,z=k.indexOf(F,U);return z===-1?k.length:z}}let d=[];function f(j){let{length:F}=j,k=new h(j),U=[],z=[],C=0;for(;k.pos<F;k.pos++){C=l(k,C);let R=l(k,0);if(!c(k,F)){let $=z.pop();$[2]=C,$[3]=R;continue}let G=l(k,0),q=l(k,0)&1?[C,R,0,0,G,l(k,0)]:[C,R,0,0,G],K=d;if(c(k,F)){K=[];do{let $=l(k,0);K.push($)}while(c(k,F))}q.vars=K,U.push(q),z.push(q)}return U}function b(j){let F=new o;for(let k=0;k<j.length;)k=m(j,k,F,[0]);return F.flush()}function m(j,F,k,U){let z=j[F],{0:C,1:R,2:G,3:V,4:B,vars:q}=z;F>0&&k.write(44),U[0]=n(k,C,U[0]),n(k,R,0),n(k,B,0);let K=z.length===6?1:0;n(k,K,0),z.length===6&&n(k,z[5],0);for(let $ of q)n(k,$,0);for(F++;F<j.length;){let $=j[F],{0:W,1:Z}=$;if(W>G||W===G&&Z>=V)break;F=m(j,F,k,U)}return k.write(44),U[0]=n(k,G,U[0]),n(k,V,0),F}function y(j){let{length:F}=j,k=new h(j),U=[],z=[],C=0,R=0,G=0,V=0,B=0,q=0,K=0,$=0;do{let W=k.indexOf(";"),Z=0;for(;k.pos<W;k.pos++){if(Z=l(k,Z),!c(k,W)){let Ke=z.pop();Ke[2]=C,Ke[3]=Z;continue}let Q=l(k,0),X=Q&1,ie=Q&2,oe=Q&4,be=null,Ne=d,Pe;if(X){let Ke=l(k,R);G=l(k,R===Ke?G:0),R=Ke,Pe=[C,Z,0,0,Ke,G]}else Pe=[C,Z,0,0];if(Pe.isScope=!!oe,ie){let Ke=V,We=B;V=l(k,V);let Oe=Ke===V;B=l(k,Oe?B:0),q=l(k,Oe&&We===B?q:0),be=[V,B,q]}if(Pe.callsite=be,c(k,W)){Ne=[];do{K=C,$=Z;let Ke=l(k,0),We;if(Ke<-1){We=[[l(k,0)]];for(let Oe=-1;Oe>Ke;Oe--){let de=K;K=l(k,K),$=l(k,K===de?$:0);let xe=l(k,0);We.push([xe,K,$])}}else We=[[Ke]];Ne.push(We)}while(c(k,W))}Pe.bindings=Ne,U.push(Pe),z.push(Pe)}C++,k.pos=W+1}while(k.pos<F);return U}function x(j){if(j.length===0)return"";let F=new o;for(let k=0;k<j.length;)k=v(j,k,F,[0,0,0,0,0,0,0]);return F.flush()}function v(j,F,k,U){let z=j[F],{0:C,1:R,2:G,3:V,isScope:B,callsite:q,bindings:K}=z;U[0]<C?(E(k,U[0],C),U[0]=C,U[1]=0):F>0&&k.write(44),U[1]=n(k,z[1],U[1]);let $=(z.length===6?1:0)|(q?2:0)|(B?4:0);if(n(k,$,0),z.length===6){let{4:W,5:Z}=z;W!==U[2]&&(U[3]=0),U[2]=n(k,W,U[2]),U[3]=n(k,Z,U[3])}if(q){let{0:W,1:Z,2:Q}=z.callsite;W!==U[4]?(U[5]=0,U[6]=0):Z!==U[5]&&(U[6]=0),U[4]=n(k,W,U[4]),U[5]=n(k,Z,U[5]),U[6]=n(k,Q,U[6])}if(K)for(let W of K){W.length>1&&n(k,-W.length,0);let Z=W[0][0];n(k,Z,0);let Q=C,X=R;for(let ie=1;ie<W.length;ie++){let oe=W[ie];Q=n(k,oe[1],Q),X=n(k,oe[2],X),n(k,oe[0],0)}}for(F++;F<j.length;){let W=j[F],{0:Z,1:Q}=W;if(Z>G||Z===G&&Q>=V)break;F=v(j,F,k,U)}return U[0]<G?(E(k,U[0],G),U[0]=G,U[1]=0):k.write(44),U[1]=n(k,V,U[1]),F}function E(j,F,k){do j.write(59);while(++F<k)}function S(j){let{length:F}=j,k=new h(j),U=[],z=0,C=0,R=0,G=0,V=0;do{let B=k.indexOf(";"),q=[],K=!0,$=0;for(z=0;k.pos<B;){let W;z=l(k,z),z<$&&(K=!1),$=z,c(k,B)?(C=l(k,C),R=l(k,R),G=l(k,G),c(k,B)?(V=l(k,V),W=[z,C,R,G,V]):W=[z,C,R,G]):W=[z],q.push(W),k.pos++}K||_(q),U.push(q),k.pos=B+1}while(k.pos<=F);return U}function _(j){j.sort(A)}function A(j,F){return j[0]-F[0]}function L(j){let F=new o,k=0,U=0,z=0,C=0;for(let R=0;R<j.length;R++){let G=j[R];if(R>0&&F.write(59),G.length===0)continue;let V=0;for(let B=0;B<G.length;B++){let q=G[B];B>0&&F.write(44),V=n(F,q[0],V),q.length!==1&&(k=n(F,q[1],k),U=n(F,q[2],U),z=n(F,q[3],z),q.length!==4&&(C=n(F,q[4],C)))}}return F.flush()}t.decode=S,t.decodeGeneratedRanges=y,t.decodeOriginalScopes=f,t.encode=L,t.encodeGeneratedRanges=x,t.encodeOriginalScopes=b,Object.defineProperty(t,"__esModule",{value:!0})}))});var Aj=ct((OT,NT)=>{(function(t,r){typeof OT=="object"&&typeof NT<"u"?NT.exports=r():typeof define=="function"&&define.amd?define(r):(t=typeof globalThis<"u"?globalThis:t||self,t.resolveURI=r())})(OT,(function(){"use strict";let t=/^[\w+.-]+:\/\//,r=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,s=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function a(m){return t.test(m)}function u(m){return m.startsWith("//")}function e(m){return m.startsWith("/")}function l(m){return m.startsWith("file:")}function n(m){return/^[.?#]/.test(m)}function c(m){let y=r.exec(m);return i(y[1],y[2]||"",y[3],y[4]||"",y[5]||"/",y[6]||"",y[7]||"")}function p(m){let y=s.exec(m),x=y[2];return i("file:","",y[1]||"","",e(x)?x:"/"+x,y[3]||"",y[4]||"")}function i(m,y,x,v,E,S,_){return{scheme:m,user:y,host:x,port:v,path:E,query:S,hash:_,type:7}}function o(m){if(u(m)){let x=c("http:"+m);return x.scheme="",x.type=6,x}if(e(m)){let x=c("http://foo.com"+m);return x.scheme="",x.host="",x.type=5,x}if(l(m))return p(m);if(a(m))return c(m);let y=c("http://foo.com/"+m);return y.scheme="",y.host="",y.type=m?m.startsWith("?")?3:m.startsWith("#")?2:4:1,y}function h(m){if(m.endsWith("/.."))return m;let y=m.lastIndexOf("/");return m.slice(0,y+1)}function d(m,y){f(y,y.type),m.path==="/"?m.path=y.path:m.path=h(y.path)+m.path}function f(m,y){let x=y<=4,v=m.path.split("/"),E=1,S=0,_=!1;for(let L=1;L<v.length;L++){let j=v[L];if(!j){_=!0;continue}if(_=!1,j!=="."){if(j===".."){S?(_=!0,S--,E--):x&&(v[E++]=j);continue}v[E++]=j,S++}}let A="";for(let L=1;L<E;L++)A+="/"+v[L];(!A||_&&!A.endsWith("/.."))&&(A+="/"),m.path=A}function b(m,y){if(!m&&!y)return"";let x=o(m),v=x.type;if(y&&v!==7){let S=o(y),_=S.type;switch(v){case 1:x.hash=S.hash;case 2:x.query=S.query;case 3:case 4:d(x,S);case 5:x.user=S.user,x.host=S.host,x.port=S.port;case 6:x.scheme=S.scheme}_>v&&(v=_)}f(x,v);let E=x.query+x.hash;switch(v){case 2:case 3:return E;case 4:{let S=x.path.slice(1);return S?n(y||m)&&!n(S)?"./"+S+E:S+E:E||"."}case 5:return x.path+E;default:return x.scheme+"//"+x.user+x.host+x.port+x.path+E}}return b}))});var Pj=ct((FT,jT)=>{(function(t,r,s){typeof FT=="object"&&typeof jT<"u"?r(jT,Aj(),IT()):typeof define=="function"&&define.amd?define(["module","@jridgewell/resolve-uri","@jridgewell/sourcemap-codec"],r):(t=typeof globalThis<"u"?globalThis:t||self,r(s={exports:{}},t.resolveURI,t.sourcemapCodec),t.traceMapping="default"in s.exports?s.exports.default:s.exports)})(FT,(function(t,r,s){"use strict";var a=Object.create,u=Object.defineProperty,e=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,n=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,p=(Ee,Be)=>function(){return Be||(0,Ee[l(Ee)[0]])((Be={exports:{}}).exports,Be),Be.exports},i=(Ee,Be)=>{for(var Qe in Be)u(Ee,Qe,{get:Be[Qe],enumerable:!0})},o=(Ee,Be,Qe,ce)=>{if(Be&&typeof Be=="object"||typeof Be=="function")for(let $e of l(Be))!c.call(Ee,$e)&&$e!==Qe&&u(Ee,$e,{get:()=>Be[$e],enumerable:!(ce=e(Be,$e))||ce.enumerable});return Ee},h=(Ee,Be,Qe)=>(Qe=Ee!=null?a(n(Ee)):{},o(Be||!Ee||!Ee.__esModule?u(Qe,"default",{value:Ee,enumerable:!0}):Qe,Ee)),d=Ee=>o(u({},"__esModule",{value:!0}),Ee),f=p({"umd:@jridgewell/sourcemap-codec"(Ee,Be){Be.exports=s}}),b=p({"umd:@jridgewell/resolve-uri"(Ee,Be){Be.exports=r}}),m={};i(m,{AnyMap:()=>oe,FlattenMap:()=>oe,GREATEST_LOWER_BOUND:()=>xe,LEAST_UPPER_BOUND:()=>de,TraceMap:()=>ye,allGeneratedPositionsFor:()=>nt,decodedMap:()=>ze,decodedMappings:()=>Te,eachMapping:()=>ft,encodedMap:()=>Ze,encodedMappings:()=>he,generatedPositionFor:()=>pe,isIgnored:()=>ht,originalPositionFor:()=>se,presortedDecodedMap:()=>De,sourceContentFor:()=>Pt,traceSegment:()=>Ce}),t.exports=d(m);var y=h(f()),x=h(b());function v(Ee){if(!Ee)return"";let Be=Ee.lastIndexOf("/");return Ee.slice(0,Be+1)}function E(Ee,Be){let Qe=v(Ee),ce=Be?Be+"/":"";return $e=>(0,x.default)(ce+($e||""),Qe)}var S=0,_=1,A=2,L=3,j=4,F=1,k=2;function U(Ee,Be){let Qe=z(Ee,0);if(Qe===Ee.length)return Ee;Be||(Ee=Ee.slice());for(let ce=Qe;ce<Ee.length;ce=z(Ee,ce+1))Ee[ce]=R(Ee[ce],Be);return Ee}function z(Ee,Be){for(let Qe=Be;Qe<Ee.length;Qe++)if(!C(Ee[Qe]))return Qe;return Ee.length}function C(Ee){for(let Be=1;Be<Ee.length;Be++)if(Ee[Be][S]<Ee[Be-1][S])return!1;return!0}function R(Ee,Be){return Be||(Ee=Ee.slice()),Ee.sort(G)}function G(Ee,Be){return Ee[S]-Be[S]}var V=!1;function B(Ee,Be,Qe,ce){for(;Qe<=ce;){let $e=Qe+(ce-Qe>>1),et=Ee[$e][S]-Be;if(et===0)return V=!0,$e;et<0?Qe=$e+1:ce=$e-1}return V=!1,Qe-1}function q(Ee,Be,Qe){for(let ce=Qe+1;ce<Ee.length&&Ee[ce][S]===Be;Qe=ce++);return Qe}function K(Ee,Be,Qe){for(let ce=Qe-1;ce>=0&&Ee[ce][S]===Be;Qe=ce--);return Qe}function $(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function W(Ee,Be,Qe,ce){let{lastKey:$e,lastNeedle:et,lastIndex:ut}=Qe,Je=0,Le=Ee.length-1;if(ce===$e){if(Be===et)return V=ut!==-1&&Ee[ut][S]===Be,ut;Be>=et?Je=ut===-1?0:ut:Le=ut}return Qe.lastKey=ce,Qe.lastNeedle=Be,Qe.lastIndex=B(Ee,Be,Je,Le)}function Z(Ee,Be){let Qe=Be.map(X);for(let ce=0;ce<Ee.length;ce++){let $e=Ee[ce];for(let et=0;et<$e.length;et++){let ut=$e[et];if(ut.length===1)continue;let Je=ut[_],Le=ut[A],at=ut[L],Et=Qe[Je],Rt=Et[Le]||(Et[Le]=[]),lr=Be[Je],xt=q(Rt,at,W(Rt,at,lr,Le));lr.lastIndex=++xt,Q(Rt,xt,[at,ce,ut[S]])}}return Qe}function Q(Ee,Be,Qe){for(let ce=Ee.length;ce>Be;ce--)Ee[ce]=Ee[ce-1];Ee[Be]=Qe}function X(){return{__proto__:null}}function ie(Ee){return typeof Ee=="string"?JSON.parse(Ee):Ee}var oe=function(Ee,Be){let Qe=ie(Ee);if(!("sections"in Qe))return new ye(Qe,Be);let ce=[],$e=[],et=[],ut=[],Je=[];be(Qe,Be,ce,$e,et,ut,Je,0,0,1/0,1/0);let Le={version:3,file:Qe.file,names:ut,sources:$e,sourcesContent:et,mappings:ce,ignoreList:Je};return De(Le)};function be(Ee,Be,Qe,ce,$e,et,ut,Je,Le,at,Et){let{sections:Rt}=Ee;for(let lr=0;lr<Rt.length;lr++){let{map:xt,offset:ar}=Rt[lr],yr=at,Pr=Et;if(lr+1<Rt.length){let Rr=Rt[lr+1].offset;yr=Math.min(at,Je+Rr.line),yr===at?Pr=Math.min(Et,Le+Rr.column):yr<at&&(Pr=Le+Rr.column)}Ne(xt,Be,Qe,ce,$e,et,ut,Je+ar.line,Le+ar.column,yr,Pr)}}function Ne(Ee,Be,Qe,ce,$e,et,ut,Je,Le,at,Et){let Rt=ie(Ee);if("sections"in Rt)return be(...arguments);let lr=new ye(Rt,Be),xt=ce.length,ar=et.length,yr=Te(lr),{resolvedSources:Pr,sourcesContent:Rr,ignoreList:ln}=lr;if(Pe(ce,Pr),Pe(et,lr.names),Rr)Pe($e,Rr);else for(let Tn=0;Tn<Pr.length;Tn++)$e.push(null);if(ln)for(let Tn=0;Tn<ln.length;Tn++)ut.push(ln[Tn]+xt);for(let Tn=0;Tn<yr.length;Tn++){let Pn=Je+Tn;if(Pn>at)return;let er=Ke(Qe,Pn),Yr=Tn===0?Le:0,gr=yr[Tn];for(let An=0;An<gr.length;An++){let rt=gr[An],At=Yr+rt[S];if(Pn===at&&At>=Et)return;if(rt.length===1){er.push([At]);continue}let Mt=xt+rt[_],$t=rt[A],zt=rt[L];er.push(rt.length===4?[At,Mt,$t,zt]:[At,Mt,$t,zt,ar+rt[j]])}}}function Pe(Ee,Be){for(let Qe=0;Qe<Be.length;Qe++)Ee.push(Be[Qe])}function Ke(Ee,Be){for(let Qe=Ee.length;Qe<=Be;Qe++)Ee[Qe]=[];return Ee[Be]}var We="`line` must be greater than 0 (lines start at line 1)",Oe="`column` must be greater than or equal to 0 (columns start at column 0)",de=-1,xe=1,ye=class{constructor(Ee,Be){let Qe=typeof Ee=="string";if(!Qe&&Ee._decodedMemo)return Ee;let ce=ie(Ee),{version:$e,file:et,names:ut,sourceRoot:Je,sources:Le,sourcesContent:at}=ce;this.version=$e,this.file=et,this.names=ut||[],this.sourceRoot=Je,this.sources=Le,this.sourcesContent=at,this.ignoreList=ce.ignoreList||ce.x_google_ignoreList||void 0;let Et=E(Be,Je);this.resolvedSources=Le.map(Et);let{mappings:Rt}=ce;if(typeof Rt=="string")this._encoded=Rt,this._decoded=void 0;else if(Array.isArray(Rt))this._encoded=void 0,this._decoded=U(Rt,Qe);else throw ce.sections?new Error("TraceMap passed sectioned source map, please use FlattenMap export instead"):new Error(`invalid source map: ${JSON.stringify(ce)}`);this._decodedMemo=$(),this._bySources=void 0,this._bySourceMemos=void 0}};function ve(Ee){return Ee}function he(Ee){var Be,Qe;return(Qe=(Be=Ee)._encoded)!=null?Qe:Be._encoded=(0,y.encode)(Ee._decoded)}function Te(Ee){var Be;return(Be=Ee)._decoded||(Be._decoded=(0,y.decode)(Ee._encoded))}function Ce(Ee,Be,Qe){let ce=Te(Ee);if(Be>=ce.length)return null;let $e=ce[Be],et=ee($e,Ee._decodedMemo,Be,Qe,xe);return et===-1?null:$e[et]}function se(Ee,Be){let{line:Qe,column:ce,bias:$e}=Be;if(Qe--,Qe<0)throw new Error(We);if(ce<0)throw new Error(Oe);let et=Te(Ee);if(Qe>=et.length)return ge(null,null,null,null);let ut=et[Qe],Je=ee(ut,Ee._decodedMemo,Qe,ce,$e||xe);if(Je===-1)return ge(null,null,null,null);let Le=ut[Je];if(Le.length===1)return ge(null,null,null,null);let{names:at,resolvedSources:Et}=Ee;return ge(Et[Le[_]],Le[A]+1,Le[L],Le.length===5?at[Le[j]]:null)}function pe(Ee,Be){let{source:Qe,line:ce,column:$e,bias:et}=Be;return Se(Ee,Qe,ce,$e,et||xe,!1)}function nt(Ee,Be){let{source:Qe,line:ce,column:$e,bias:et}=Be;return Se(Ee,Qe,ce,$e,et||de,!0)}function ft(Ee,Be){let Qe=Te(Ee),{names:ce,resolvedSources:$e}=Ee;for(let et=0;et<Qe.length;et++){let ut=Qe[et];for(let Je=0;Je<ut.length;Je++){let Le=ut[Je],at=et+1,Et=Le[0],Rt=null,lr=null,xt=null,ar=null;Le.length!==1&&(Rt=$e[Le[1]],lr=Le[2]+1,xt=Le[3]),Le.length===5&&(ar=ce[Le[4]]),Be({generatedLine:at,generatedColumn:Et,source:Rt,originalLine:lr,originalColumn:xt,name:ar})}}}function _t(Ee,Be){let{sources:Qe,resolvedSources:ce}=Ee,$e=Qe.indexOf(Be);return $e===-1&&($e=ce.indexOf(Be)),$e}function Pt(Ee,Be){let{sourcesContent:Qe}=Ee;if(Qe==null)return null;let ce=_t(Ee,Be);return ce===-1?null:Qe[ce]}function ht(Ee,Be){let{ignoreList:Qe}=Ee;if(Qe==null)return!1;let ce=_t(Ee,Be);return ce===-1?!1:Qe.includes(ce)}function De(Ee,Be){let Qe=new ye(tt(Ee,[]),Be);return Qe._decoded=Ee.mappings,Qe}function ze(Ee){return tt(Ee,Te(Ee))}function Ze(Ee){return tt(Ee,he(Ee))}function tt(Ee,Be){return{version:Ee.version,file:Ee.file,names:Ee.names,sourceRoot:Ee.sourceRoot,sources:Ee.sources,sourcesContent:Ee.sourcesContent,mappings:Be,ignoreList:Ee.ignoreList||Ee.x_google_ignoreList}}function ge(Ee,Be,Qe,ce){return{source:Ee,line:Be,column:Qe,name:ce}}function fe(Ee,Be){return{line:Ee,column:Be}}function ee(Ee,Be,Qe,ce,$e){let et=W(Ee,ce,Be,Qe);return V?et=($e===de?q:K)(Ee,ce,et):$e===de&&et++,et===-1||et===Ee.length?-1:et}function le(Ee,Be,Qe,ce,$e){let et=ee(Ee,Be,Qe,ce,xe);if(!V&&$e===de&&et++,et===-1||et===Ee.length)return[];let ut=V?ce:Ee[et][S];V||(et=K(Ee,ut,et));let Je=q(Ee,ut,et),Le=[];for(;et<=Je;et++){let at=Ee[et];Le.push(fe(at[F]+1,at[k]))}return Le}function Se(Ee,Be,Qe,ce,$e,et){var ut;if(Qe--,Qe<0)throw new Error(We);if(ce<0)throw new Error(Oe);let{sources:Je,resolvedSources:Le}=Ee,at=Je.indexOf(Be);if(at===-1&&(at=Le.indexOf(Be)),at===-1)return et?[]:fe(null,null);let Rt=((ut=Ee)._bySources||(ut._bySources=Z(Te(Ee),Ee._bySourceMemos=Je.map($))))[at][Qe];if(Rt==null)return et?[]:fe(null,null);let lr=Ee._bySourceMemos[at];if(et)return le(Rt,lr,Qe,ce,$e);let xt=ee(Rt,lr,Qe,ce,$e);if(xt===-1)return fe(null,null);let ar=Rt[xt];return fe(ar[F]+1,ar[k])}}))});var Cj=ct((LT,RT)=>{(function(t,r,s){typeof LT=="object"&&typeof RT<"u"?r(RT,IT(),Pj()):typeof define=="function"&&define.amd?define(["module","@jridgewell/sourcemap-codec","@jridgewell/trace-mapping"],r):(t=typeof globalThis<"u"?globalThis:t||self,r(s={exports:{}},t.sourcemapCodec,t.traceMapping),t.genMapping="default"in s.exports?s.exports.default:s.exports)})(LT,(function(t,r,s){"use strict";var a=Object.create,u=Object.defineProperty,e=Object.getOwnPropertyDescriptor,l=Object.getOwnPropertyNames,n=Object.getPrototypeOf,c=Object.prototype.hasOwnProperty,p=(ye,ve)=>function(){return ve||(0,ye[l(ye)[0]])((ve={exports:{}}).exports,ve),ve.exports},i=(ye,ve)=>{for(var he in ve)u(ye,he,{get:ve[he],enumerable:!0})},o=(ye,ve,he,Te)=>{if(ve&&typeof ve=="object"||typeof ve=="function")for(let Ce of l(ve))!c.call(ye,Ce)&&Ce!==he&&u(ye,Ce,{get:()=>ve[Ce],enumerable:!(Te=e(ve,Ce))||Te.enumerable});return ye},h=(ye,ve,he)=>(he=ye!=null?a(n(ye)):{},o(ve||!ye||!ye.__esModule?u(he,"default",{value:ye,enumerable:!0}):he,ye)),d=ye=>o(u({},"__esModule",{value:!0}),ye),f=p({"umd:@jridgewell/sourcemap-codec"(ye,ve){ve.exports=r}}),b=p({"umd:@jridgewell/trace-mapping"(ye,ve){ve.exports=s}}),m={};i(m,{GenMapping:()=>C,addMapping:()=>V,addSegment:()=>G,allMappings:()=>X,fromMap:()=>Q,maybeAddMapping:()=>q,maybeAddSegment:()=>B,setIgnore:()=>$,setSourceContent:()=>K,toDecodedMap:()=>W,toEncodedMap:()=>Z}),t.exports=d(m);var y=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function x(ye){return ye}function v(ye,ve){return ye._indexes[ve]}function E(ye,ve){let he=v(ye,ve);if(he!==void 0)return he;let{array:Te,_indexes:Ce}=ye,se=Te.push(ve);return Ce[ve]=se-1}function S(ye,ve){let he=v(ye,ve);if(he===void 0)return;let{array:Te,_indexes:Ce}=ye;for(let se=he+1;se<Te.length;se++){let pe=Te[se];Te[se-1]=pe,Ce[pe]--}Ce[ve]=void 0,Te.pop()}var _=h(f()),A=h(b()),L=0,j=1,F=2,k=3,U=4,z=-1,C=class{constructor({file:ye,sourceRoot:ve}={}){this._names=new y,this._sources=new y,this._sourcesContent=[],this._mappings=[],this.file=ye,this.sourceRoot=ve,this._ignoreList=new y}};function R(ye){return ye}function G(ye,ve,he,Te,Ce,se,pe,nt){return ie(!1,ye,ve,he,Te,Ce,se,pe,nt)}function V(ye,ve){return xe(!1,ye,ve)}var B=(ye,ve,he,Te,Ce,se,pe,nt)=>ie(!0,ye,ve,he,Te,Ce,se,pe,nt),q=(ye,ve)=>xe(!0,ye,ve);function K(ye,ve,he){let{_sources:Te,_sourcesContent:Ce}=ye,se=E(Te,ve);Ce[se]=he}function $(ye,ve,he=!0){let{_sources:Te,_sourcesContent:Ce,_ignoreList:se}=ye,pe=E(Te,ve);pe===Ce.length&&(Ce[pe]=null),he?E(se,pe):S(se,pe)}function W(ye){let{_mappings:ve,_sources:he,_sourcesContent:Te,_names:Ce,_ignoreList:se}=ye;return Ke(ve),{version:3,file:ye.file||void 0,names:Ce.array,sourceRoot:ye.sourceRoot||void 0,sources:he.array,sourcesContent:Te,mappings:ve,ignoreList:se.array}}function Z(ye){let ve=W(ye);return Object.assign({},ve,{mappings:(0,_.encode)(ve.mappings)})}function Q(ye){let ve=new A.TraceMap(ye),he=new C({file:ve.file,sourceRoot:ve.sourceRoot});return We(he._names,ve.names),We(he._sources,ve.sources),he._sourcesContent=ve.sourcesContent||ve.sources.map(()=>null),he._mappings=(0,A.decodedMappings)(ve),ve.ignoreList&&We(he._ignoreList,ve.ignoreList),he}function X(ye){let ve=[],{_mappings:he,_sources:Te,_names:Ce}=ye;for(let se=0;se<he.length;se++){let pe=he[se];for(let nt=0;nt<pe.length;nt++){let ft=pe[nt],_t={line:se+1,column:ft[L]},Pt,ht,De;ft.length!==1&&(Pt=Te.array[ft[j]],ht={line:ft[F]+1,column:ft[k]},ft.length===5&&(De=Ce.array[ft[U]])),ve.push({generated:_t,source:Pt,original:ht,name:De})}}return ve}function ie(ye,ve,he,Te,Ce,se,pe,nt,ft){let{_mappings:_t,_sources:Pt,_sourcesContent:ht,_names:De}=ve,ze=be(_t,he),Ze=Ne(ze,Te);if(!Ce)return ye&&Oe(ze,Ze)?void 0:Pe(ze,Ze,[Te]);let tt=E(Pt,Ce),ge=nt?E(De,nt):z;if(tt===ht.length&&(ht[tt]=ft??null),!(ye&&de(ze,Ze,tt,se,pe,ge)))return Pe(ze,Ze,nt?[Te,tt,se,pe,ge]:[Te,tt,se,pe])}function oe(ye){}function be(ye,ve){for(let he=ye.length;he<=ve;he++)ye[he]=[];return ye[ve]}function Ne(ye,ve){let he=ye.length;for(let Te=he-1;Te>=0;he=Te--){let Ce=ye[Te];if(ve>=Ce[L])break}return he}function Pe(ye,ve,he){for(let Te=ye.length;Te>ve;Te--)ye[Te]=ye[Te-1];ye[ve]=he}function Ke(ye){let{length:ve}=ye,he=ve;for(let Te=he-1;Te>=0&&!(ye[Te].length>0);he=Te,Te--);he<ve&&(ye.length=he)}function We(ye,ve){for(let he=0;he<ve.length;he++)E(ye,ve[he])}function Oe(ye,ve){return ve===0?!0:ye[ve-1].length===1}function de(ye,ve,he,Te,Ce,se){if(ve===0)return!1;let pe=ye[ve-1];return pe.length===1?!1:he===pe[j]&&Te===pe[F]&&Ce===pe[k]&&se===(pe.length===5?pe[U]:z)}function xe(ye,ve,he){let{generated:Te,source:Ce,original:se,name:pe,content:nt}=he;return Ce?ie(ye,ve,Te.line-1,Te.column,Ce,se.line-1,se.column,pe,nt):ie(ye,ve,Te.line-1,Te.column,null,null,null,null,null)}}))});var Dj=ct(MT=>{"use strict";Object.defineProperty(MT,"__esModule",{value:!0});var gh=Cj(),kj=Va();function GY({code:t,mappings:r},s,a,u,e){let l=JY(u,e),n=new gh.GenMapping({file:a.compiledFilename}),c=0,p=r[0];for(;p===void 0&&c<r.length-1;)c++,p=r[c];let i=0,o=0;p!==o&&gh.maybeAddSegment.call(void 0,n,i,0,s,i,0);for(let b=0;b<t.length;b++){if(b===p){let m=p-o,y=l[c];for(gh.maybeAddSegment.call(void 0,n,i,m,s,i,y);(p===b||p===void 0)&&c<r.length-1;)c++,p=r[c]}t.charCodeAt(b)===kj.charCodes.lineFeed&&(i++,o=b+1,p!==o&&gh.maybeAddSegment.call(void 0,n,i,0,s,i,0))}let{sourceRoot:h,sourcesContent:d,...f}=gh.toEncodedMap.call(void 0,n);return f}MT.default=GY;function JY(t,r){let s=new Array(r.length),a=0,u=r[a].start,e=0;for(let l=0;l<t.length;l++)l===u&&(s[a]=u-e,a++,u=r[a].start),t.charCodeAt(l)===kj.charCodes.lineFeed&&(e=l+1);return s}});var Ij=ct(UT=>{"use strict";Object.defineProperty(UT,"__esModule",{value:!0});var XY={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;
|
|
}
|
|
`},BT=class t{__init(){this.helperNames={}}__init2(){this.createRequireName=null}constructor(r){this.nameManager=r,t.prototype.__init.call(this),t.prototype.__init2.call(this)}getHelperName(r){let s=this.helperNames[r];return s||(s=this.nameManager.claimFreeName(`_${r}`),this.helperNames[r]=s,s)}emitHelpers(){let r="";this.helperNames.optionalChainDelete&&this.getHelperName("optionalChain"),this.helperNames.asyncOptionalChainDelete&&this.getHelperName("asyncOptionalChain");for(let[s,a]of Object.entries(XY)){let u=this.helperNames[s],e=a;s==="optionalChainDelete"?e=e.replace("OPTIONAL_CHAIN_NAME",this.helperNames.optionalChain):s==="asyncOptionalChainDelete"?e=e.replace("ASYNC_OPTIONAL_CHAIN_NAME",this.helperNames.asyncOptionalChain):s==="require"&&(this.createRequireName===null&&(this.createRequireName=this.nameManager.claimFreeName("_createRequire")),e=e.replace(/CREATE_REQUIRE_NAME/g,this.createRequireName)),u&&(r+=" ",r+=e.replace(s,u).replace(/\s+/g," ").trim())}return r}};UT.HelperManager=BT});var Fj=ct(Fy=>{"use strict";Object.defineProperty(Fy,"__esModule",{value:!0});var $T=$s(),Ny=si();function YY(t,r,s){Nj(t,s)&&QY(t,r,s)}Fy.default=YY;function Nj(t,r){for(let s of t.tokens)if(s.type===Ny.TokenType.name&&!s.isType&&$T.isNonTopLevelDeclaration.call(void 0,s)&&r.has(t.identifierNameForToken(s)))return!0;return!1}Fy.hasShadowedGlobals=Nj;function QY(t,r,s){let a=[],u=r.length-1;for(let e=t.tokens.length-1;;e--){for(;a.length>0&&a[a.length-1].startTokenIndex===e+1;)a.pop();for(;u>=0&&r[u].endTokenIndex===e+1;)a.push(r[u]),u--;if(e<0)break;let l=t.tokens[e],n=t.identifierNameForToken(l);if(a.length>1&&!l.isType&&l.type===Ny.TokenType.name&&s.has(n)){if($T.isBlockScopedDeclaration.call(void 0,l))Oj(a[a.length-1],t,n);else if($T.isFunctionScopedDeclaration.call(void 0,l)){let c=a.length-1;for(;c>0&&!a[c].isFunctionScope;)c--;if(c<0)throw new Error("Did not find parent function scope.");Oj(a[c],t,n)}}}if(a.length>0)throw new Error("Expected empty scope stack after processing file.")}function Oj(t,r,s){for(let a=t.startTokenIndex;a<t.endTokenIndex;a++){let u=r.tokens[a];(u.type===Ny.TokenType.name||u.type===Ny.TokenType.jsxName)&&r.identifierNameForToken(u)===s&&(u.shadowsGlobal=!0)}}});var jj=ct(VT=>{"use strict";Object.defineProperty(VT,"__esModule",{value:!0});var ZY=si();function eQ(t,r){let s=[];for(let a of r)a.type===ZY.TokenType.name&&s.push(t.slice(a.start,a.end));return s}VT.default=eQ});var Lj=ct(WT=>{"use strict";Object.defineProperty(WT,"__esModule",{value:!0});function tQ(t){return t&&t.__esModule?t:{default:t}}var rQ=jj(),nQ=tQ(rQ),qT=class t{__init(){this.usedNames=new Set}constructor(r,s){t.prototype.__init.call(this),this.usedNames=new Set(nQ.default.call(void 0,r,s))}claimFreeName(r){let s=this.findFreeName(r);return this.usedNames.add(s),s}findFreeName(r){if(!this.usedNames.has(r))return r;let s=2;for(;this.usedNames.has(r+String(s));)s++;return r+String(s)}};WT.default=qT});var jy=ct(Qo=>{"use strict";var iQ=Qo&&Qo.__extends||(function(){var t=function(r,s){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,u){a.__proto__=u}||function(a,u){for(var e in u)u.hasOwnProperty(e)&&(a[e]=u[e])},t(r,s)};return function(r,s){t(r,s);function a(){this.constructor=r}r.prototype=s===null?Object.create(s):(a.prototype=s.prototype,new a)}})();Object.defineProperty(Qo,"__esModule",{value:!0});Qo.DetailContext=Qo.NoopContext=Qo.VError=void 0;var Rj=(function(t){iQ(r,t);function r(s,a){var u=t.call(this,a)||this;return u.path=s,Object.setPrototypeOf(u,r.prototype),u}return r})(Error);Qo.VError=Rj;var sQ=(function(){function t(){}return t.prototype.fail=function(r,s,a){return!1},t.prototype.unionResolver=function(){return this},t.prototype.createContext=function(){return this},t.prototype.resolveUnion=function(r){},t})();Qo.NoopContext=sQ;var Mj=(function(){function t(){this._propNames=[""],this._messages=[null],this._score=0}return t.prototype.fail=function(r,s,a){return this._propNames.push(r),this._messages.push(s),this._score+=a,!1},t.prototype.unionResolver=function(){return new aQ},t.prototype.resolveUnion=function(r){for(var s,a,u=r,e=null,l=0,n=u.contexts;l<n.length;l++){var c=n[l];(!e||c._score>=e._score)&&(e=c)}e&&e._score>0&&((s=this._propNames).push.apply(s,e._propNames),(a=this._messages).push.apply(a,e._messages))},t.prototype.getError=function(r){for(var s=[],a=this._propNames.length-1;a>=0;a--){var u=this._propNames[a];r+=typeof u=="number"?"["+u+"]":u?"."+u:"";var e=this._messages[a];e&&s.push(r+" "+e)}return new Rj(r,s.join("; "))},t.prototype.getErrorDetail=function(r){for(var s=[],a=this._propNames.length-1;a>=0;a--){var u=this._propNames[a];r+=typeof u=="number"?"["+u+"]":u?"."+u:"";var e=this._messages[a];e&&s.push({path:r,message:e})}for(var l=null,a=s.length-1;a>=0;a--)l&&(s[a].nested=[l]),l=s[a];return l},t})();Qo.DetailContext=Mj;var aQ=(function(){function t(){this.contexts=[]}return t.prototype.createContext=function(){var r=new Mj;return this.contexts.push(r),r},t})()});var QT=ct(hn=>{"use strict";var za=hn&&hn.__extends||(function(){var t=function(r,s){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,u){a.__proto__=u}||function(a,u){for(var e in u)u.hasOwnProperty(e)&&(a[e]=u[e])},t(r,s)};return function(r,s){t(r,s);function a(){this.constructor=r}r.prototype=s===null?Object.create(s):(a.prototype=s.prototype,new a)}})();Object.defineProperty(hn,"__esModule",{value:!0});hn.basicTypes=hn.BasicType=hn.TParamList=hn.TParam=hn.param=hn.TFunc=hn.func=hn.TProp=hn.TOptional=hn.opt=hn.TIface=hn.iface=hn.TEnumLiteral=hn.enumlit=hn.TEnumType=hn.enumtype=hn.TIntersection=hn.intersection=hn.TUnion=hn.union=hn.TTuple=hn.tuple=hn.TArray=hn.array=hn.TLiteral=hn.lit=hn.TName=hn.name=hn.TType=void 0;var $j=jy(),Na=(function(){function t(){}return t})();hn.TType=Na;function ou(t){return typeof t=="string"?Vj(t):t}function HT(t,r){var s=t[r];if(!s)throw new Error("Unknown type "+r);return s}function Vj(t){return new GT(t)}hn.name=Vj;var GT=(function(t){za(r,t);function r(s){var a=t.call(this)||this;return a.name=s,a._failMsg="is not a "+s,a}return r.prototype.getChecker=function(s,a,u){var e=this,l=HT(s,this.name),n=l.getChecker(s,a,u);return l instanceof ya||l instanceof r?n:function(c,p){return n(c,p)?!0:p.fail(null,e._failMsg,0)}},r})(Na);hn.TName=GT;function oQ(t){return new JT(t)}hn.lit=oQ;var JT=(function(t){za(r,t);function r(s){var a=t.call(this)||this;return a.value=s,a.name=JSON.stringify(s),a._failMsg="is not "+a.name,a}return r.prototype.getChecker=function(s,a){var u=this;return function(e,l){return e===u.value?!0:l.fail(null,u._failMsg,-1)}},r})(Na);hn.TLiteral=JT;function lQ(t){return new qj(ou(t))}hn.array=lQ;var qj=(function(t){za(r,t);function r(s){var a=t.call(this)||this;return a.ttype=s,a}return r.prototype.getChecker=function(s,a){var u=this.ttype.getChecker(s,a);return function(e,l){if(!Array.isArray(e))return l.fail(null,"is not an array",0);for(var n=0;n<e.length;n++){var c=u(e[n],l);if(!c)return l.fail(n,null,1)}return!0}},r})(Na);hn.TArray=qj;function uQ(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new Wj(t.map(function(s){return ou(s)}))}hn.tuple=uQ;var Wj=(function(t){za(r,t);function r(s){var a=t.call(this)||this;return a.ttypes=s,a}return r.prototype.getChecker=function(s,a){var u=this.ttypes.map(function(l){return l.getChecker(s,a)}),e=function(l,n){if(!Array.isArray(l))return n.fail(null,"is not an array",0);for(var c=0;c<u.length;c++){var p=u[c](l[c],n);if(!p)return n.fail(c,null,1)}return!0};return a?function(l,n){return e(l,n)?l.length<=u.length?!0:n.fail(u.length,"is extraneous",2):!1}:e},r})(Na);hn.TTuple=Wj;function cQ(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new Kj(t.map(function(s){return ou(s)}))}hn.union=cQ;var Kj=(function(t){za(r,t);function r(s){var a=t.call(this)||this;a.ttypes=s;var u=s.map(function(l){return l instanceof GT||l instanceof JT?l.name:null}).filter(function(l){return l}),e=s.length-u.length;return u.length?(e>0&&u.push(e+" more"),a._failMsg="is none of "+u.join(", ")):a._failMsg="is none of "+e+" types",a}return r.prototype.getChecker=function(s,a){var u=this,e=this.ttypes.map(function(l){return l.getChecker(s,a)});return function(l,n){for(var c=n.unionResolver(),p=0;p<e.length;p++){var i=e[p](l,c.createContext());if(i)return!0}return n.resolveUnion(c),n.fail(null,u._failMsg,0)}},r})(Na);hn.TUnion=Kj;function pQ(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return new zj(t.map(function(s){return ou(s)}))}hn.intersection=pQ;var zj=(function(t){za(r,t);function r(s){var a=t.call(this)||this;return a.ttypes=s,a}return r.prototype.getChecker=function(s,a){var u=new Set,e=this.ttypes.map(function(l){return l.getChecker(s,a,u)});return function(l,n){var c=e.every(function(p){return p(l,n)});return c?!0:n.fail(null,null,0)}},r})(Na);hn.TIntersection=zj;function dQ(t){return new XT(t)}hn.enumtype=dQ;var XT=(function(t){za(r,t);function r(s){var a=t.call(this)||this;return a.members=s,a.validValues=new Set,a._failMsg="is not a valid enum value",a.validValues=new Set(Object.keys(s).map(function(u){return s[u]})),a}return r.prototype.getChecker=function(s,a){var u=this;return function(e,l){return u.validValues.has(e)?!0:l.fail(null,u._failMsg,0)}},r})(Na);hn.TEnumType=XT;function hQ(t,r){return new Hj(t,r)}hn.enumlit=hQ;var Hj=(function(t){za(r,t);function r(s,a){var u=t.call(this)||this;return u.enumName=s,u.prop=a,u._failMsg="is not "+s+"."+a,u}return r.prototype.getChecker=function(s,a){var u=this,e=HT(s,this.enumName);if(!(e instanceof XT))throw new Error("Type "+this.enumName+" used in enumlit is not an enum type");var l=e.members[this.prop];if(!e.members.hasOwnProperty(this.prop))throw new Error("Unknown value "+this.enumName+"."+this.prop+" used in enumlit");return function(n,c){return n===l?!0:c.fail(null,u._failMsg,-1)}},r})(Na);hn.TEnumLiteral=Hj;function fQ(t){return Object.keys(t).map(function(r){return mQ(r,t[r])})}function mQ(t,r){return r instanceof YT?new zT(t,r.ttype,!0):new zT(t,ou(r),!1)}function yQ(t,r){return new Gj(t,fQ(r))}hn.iface=yQ;var Gj=(function(t){za(r,t);function r(s,a){var u=t.call(this)||this;return u.bases=s,u.props=a,u.propSet=new Set(a.map(function(e){return e.name})),u}return r.prototype.getChecker=function(s,a,u){var e=this,l=this.bases.map(function(h){return HT(s,h).getChecker(s,a)}),n=this.props.map(function(h){return h.ttype.getChecker(s,a)}),c=new $j.NoopContext,p=this.props.map(function(h,d){return!h.isOpt&&!n[d](void 0,c)}),i=function(h,d){if(typeof h!="object"||h===null)return d.fail(null,"is not an object",0);for(var f=0;f<l.length;f++)if(!l[f](h,d))return!1;for(var f=0;f<n.length;f++){var b=e.props[f].name,m=h[b];if(m===void 0){if(p[f])return d.fail(b,"is missing",1)}else{var y=n[f](m,d);if(!y)return d.fail(b,null,1)}}return!0};if(!a)return i;var o=this.propSet;return u&&(this.propSet.forEach(function(h){return u.add(h)}),o=u),function(h,d){if(!i(h,d))return!1;for(var f in h)if(!o.has(f))return d.fail(f,"is extraneous",2);return!0}},r})(Na);hn.TIface=Gj;function bQ(t){return new YT(ou(t))}hn.opt=bQ;var YT=(function(t){za(r,t);function r(s){var a=t.call(this)||this;return a.ttype=s,a}return r.prototype.getChecker=function(s,a){var u=this.ttype.getChecker(s,a);return function(e,l){return e===void 0||u(e,l)}},r})(Na);hn.TOptional=YT;var zT=(function(){function t(r,s,a){this.name=r,this.ttype=s,this.isOpt=a}return t})();hn.TProp=zT;function gQ(t){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];return new Jj(new Yj(r),ou(t))}hn.func=gQ;var Jj=(function(t){za(r,t);function r(s,a){var u=t.call(this)||this;return u.paramList=s,u.result=a,u}return r.prototype.getChecker=function(s,a){return function(u,e){return typeof u=="function"?!0:e.fail(null,"is not a function",0)}},r})(Na);hn.TFunc=Jj;function vQ(t,r,s){return new Xj(t,ou(r),!!s)}hn.param=vQ;var Xj=(function(){function t(r,s,a){this.name=r,this.ttype=s,this.isOpt=a}return t})();hn.TParam=Xj;var Yj=(function(t){za(r,t);function r(s){var a=t.call(this)||this;return a.params=s,a}return r.prototype.getChecker=function(s,a){var u=this,e=this.params.map(function(p){return p.ttype.getChecker(s,a)}),l=new $j.NoopContext,n=this.params.map(function(p,i){return!p.isOpt&&!e[i](void 0,l)}),c=function(p,i){if(!Array.isArray(p))return i.fail(null,"is not an array",0);for(var o=0;o<e.length;o++){var h=u.params[o];if(p[o]===void 0){if(n[o])return i.fail(h.name,"is missing",1)}else{var d=e[o](p[o],i);if(!d)return i.fail(h.name,null,1)}}return!0};return a?function(p,i){return c(p,i)?p.length<=e.length?!0:i.fail(e.length,"is extraneous",2):!1}:c},r})(Na);hn.TParamList=Yj;var ya=(function(t){za(r,t);function r(s,a){var u=t.call(this)||this;return u.validator=s,u.message=a,u}return r.prototype.getChecker=function(s,a){var u=this;return function(e,l){return u.validator(e)?!0:l.fail(null,u.message,0)}},r})(Na);hn.BasicType=ya;hn.basicTypes={any:new ya(function(t){return!0},"is invalid"),number:new ya(function(t){return typeof t=="number"},"is not a number"),object:new ya(function(t){return typeof t=="object"&&t},"is not an object"),boolean:new ya(function(t){return typeof t=="boolean"},"is not a boolean"),string:new ya(function(t){return typeof t=="string"},"is not a string"),symbol:new ya(function(t){return typeof t=="symbol"},"is not a symbol"),void:new ya(function(t){return t==null},"is not void"),undefined:new ya(function(t){return t===void 0},"is not undefined"),null:new ya(function(t){return t===null},"is not null"),never:new ya(function(t){return!1},"is unexpected"),Date:new ya(Bj("[object Date]"),"is not a Date"),RegExp:new ya(Bj("[object RegExp]"),"is not a RegExp")};var xQ=Object.prototype.toString;function Bj(t){return function(r){return typeof r=="object"&&r&&xQ.call(r)===t}}typeof Buffer<"u"&&(hn.basicTypes.Buffer=new ya(function(t){return Buffer.isBuffer(t)},"is not a Buffer"));var TQ=function(t){hn.basicTypes[t.name]=new ya(function(r){return r instanceof t},"is not a "+t.name)};for(Ly=0,KT=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,ArrayBuffer];Ly<KT.length;Ly++)Uj=KT[Ly],TQ(Uj);var Uj,Ly,KT});var ZT=ct(oi=>{"use strict";var EQ=oi&&oi.__spreadArrays||function(){for(var t=0,r=0,s=arguments.length;r<s;r++)t+=arguments[r].length;for(var a=Array(t),u=0,r=0;r<s;r++)for(var e=arguments[r],l=0,n=e.length;l<n;l++,u++)a[u]=e[l];return a};Object.defineProperty(oi,"__esModule",{value:!0});oi.Checker=oi.createCheckers=void 0;var vh=QT(),pp=jy(),Vi=QT();Object.defineProperty(oi,"TArray",{enumerable:!0,get:function(){return Vi.TArray}});Object.defineProperty(oi,"TEnumType",{enumerable:!0,get:function(){return Vi.TEnumType}});Object.defineProperty(oi,"TEnumLiteral",{enumerable:!0,get:function(){return Vi.TEnumLiteral}});Object.defineProperty(oi,"TFunc",{enumerable:!0,get:function(){return Vi.TFunc}});Object.defineProperty(oi,"TIface",{enumerable:!0,get:function(){return Vi.TIface}});Object.defineProperty(oi,"TLiteral",{enumerable:!0,get:function(){return Vi.TLiteral}});Object.defineProperty(oi,"TName",{enumerable:!0,get:function(){return Vi.TName}});Object.defineProperty(oi,"TOptional",{enumerable:!0,get:function(){return Vi.TOptional}});Object.defineProperty(oi,"TParam",{enumerable:!0,get:function(){return Vi.TParam}});Object.defineProperty(oi,"TParamList",{enumerable:!0,get:function(){return Vi.TParamList}});Object.defineProperty(oi,"TProp",{enumerable:!0,get:function(){return Vi.TProp}});Object.defineProperty(oi,"TTuple",{enumerable:!0,get:function(){return Vi.TTuple}});Object.defineProperty(oi,"TType",{enumerable:!0,get:function(){return Vi.TType}});Object.defineProperty(oi,"TUnion",{enumerable:!0,get:function(){return Vi.TUnion}});Object.defineProperty(oi,"TIntersection",{enumerable:!0,get:function(){return Vi.TIntersection}});Object.defineProperty(oi,"array",{enumerable:!0,get:function(){return Vi.array}});Object.defineProperty(oi,"enumlit",{enumerable:!0,get:function(){return Vi.enumlit}});Object.defineProperty(oi,"enumtype",{enumerable:!0,get:function(){return Vi.enumtype}});Object.defineProperty(oi,"func",{enumerable:!0,get:function(){return Vi.func}});Object.defineProperty(oi,"iface",{enumerable:!0,get:function(){return Vi.iface}});Object.defineProperty(oi,"lit",{enumerable:!0,get:function(){return Vi.lit}});Object.defineProperty(oi,"name",{enumerable:!0,get:function(){return Vi.name}});Object.defineProperty(oi,"opt",{enumerable:!0,get:function(){return Vi.opt}});Object.defineProperty(oi,"param",{enumerable:!0,get:function(){return Vi.param}});Object.defineProperty(oi,"tuple",{enumerable:!0,get:function(){return Vi.tuple}});Object.defineProperty(oi,"union",{enumerable:!0,get:function(){return Vi.union}});Object.defineProperty(oi,"intersection",{enumerable:!0,get:function(){return Vi.intersection}});Object.defineProperty(oi,"BasicType",{enumerable:!0,get:function(){return Vi.BasicType}});var SQ=jy();Object.defineProperty(oi,"VError",{enumerable:!0,get:function(){return SQ.VError}});function wQ(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];for(var s=Object.assign.apply(Object,EQ([{},vh.basicTypes],t)),a={},u=0,e=t;u<e.length;u++)for(var l=e[u],n=0,c=Object.keys(l);n<c.length;n++){var p=c[n];a[p]=new Qj(s,l[p])}return a}oi.createCheckers=wQ;var Qj=(function(){function t(r,s,a){if(a===void 0&&(a="value"),this.suite=r,this.ttype=s,this._path=a,this.props=new Map,s instanceof vh.TIface)for(var u=0,e=s.props;u<e.length;u++){var l=e[u];this.props.set(l.name,l.ttype)}this.checkerPlain=this.ttype.getChecker(r,!1),this.checkerStrict=this.ttype.getChecker(r,!0)}return t.prototype.setReportedPath=function(r){this._path=r},t.prototype.check=function(r){return this._doCheck(this.checkerPlain,r)},t.prototype.test=function(r){return this.checkerPlain(r,new pp.NoopContext)},t.prototype.validate=function(r){return this._doValidate(this.checkerPlain,r)},t.prototype.strictCheck=function(r){return this._doCheck(this.checkerStrict,r)},t.prototype.strictTest=function(r){return this.checkerStrict(r,new pp.NoopContext)},t.prototype.strictValidate=function(r){return this._doValidate(this.checkerStrict,r)},t.prototype.getProp=function(r){var s=this.props.get(r);if(!s)throw new Error("Type has no property "+r);return new t(this.suite,s,this._path+"."+r)},t.prototype.methodArgs=function(r){var s=this._getMethod(r);return new t(this.suite,s.paramList)},t.prototype.methodResult=function(r){var s=this._getMethod(r);return new t(this.suite,s.result)},t.prototype.getArgs=function(){if(!(this.ttype instanceof vh.TFunc))throw new Error("getArgs() applied to non-function");return new t(this.suite,this.ttype.paramList)},t.prototype.getResult=function(){if(!(this.ttype instanceof vh.TFunc))throw new Error("getResult() applied to non-function");return new t(this.suite,this.ttype.result)},t.prototype.getType=function(){return this.ttype},t.prototype._doCheck=function(r,s){var a=new pp.NoopContext;if(!r(s,a)){var u=new pp.DetailContext;throw r(s,u),u.getError(this._path)}},t.prototype._doValidate=function(r,s){var a=new pp.NoopContext;if(r(s,a))return null;var u=new pp.DetailContext;return r(s,u),u.getErrorDetail(this._path)},t.prototype._getMethod=function(r){var s=this.props.get(r);if(!s)throw new Error("Type has no property "+r);if(!(s instanceof vh.TFunc))throw new Error("Property "+r+" is not a method");return s},t})();oi.Checker=Qj});var Zj=ct(Al=>{"use strict";Object.defineProperty(Al,"__esModule",{value:!0});function _Q(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(r[s]=t[s]);return r.default=t,r}var AQ=ZT(),Xi=_Q(AQ),PQ=Xi.union(Xi.lit("jsx"),Xi.lit("typescript"),Xi.lit("flow"),Xi.lit("imports"),Xi.lit("react-hot-loader"),Xi.lit("jest"));Al.Transform=PQ;var CQ=Xi.iface([],{compiledFilename:"string"});Al.SourceMapOptions=CQ;var kQ=Xi.iface([],{transforms:Xi.array("Transform"),disableESTransforms:Xi.opt("boolean"),jsxRuntime:Xi.opt(Xi.union(Xi.lit("classic"),Xi.lit("automatic"),Xi.lit("preserve"))),production:Xi.opt("boolean"),jsxImportSource:Xi.opt("string"),jsxPragma:Xi.opt("string"),jsxFragmentPragma:Xi.opt("string"),keepUnusedImports:Xi.opt("boolean"),preserveDynamicImport:Xi.opt("boolean"),injectCreateRequireForImportRequire:Xi.opt("boolean"),enableLegacyTypeScriptModuleInterop:Xi.opt("boolean"),enableLegacyBabel5ModuleInterop:Xi.opt("boolean"),sourceMapOptions:Xi.opt("SourceMapOptions"),filePath:Xi.opt("string")});Al.Options=kQ;var DQ={Transform:Al.Transform,SourceMapOptions:Al.SourceMapOptions,Options:Al.Options};Al.default=DQ});var eL=ct(eE=>{"use strict";Object.defineProperty(eE,"__esModule",{value:!0});function IQ(t){return t&&t.__esModule?t:{default:t}}var OQ=ZT(),NQ=Zj(),FQ=IQ(NQ),{Options:jQ}=OQ.createCheckers.call(void 0,FQ.default);function LQ(t){jQ.strictCheck(t)}eE.validateOptions=LQ});var Ry=ct(Zo=>{"use strict";Object.defineProperty(Zo,"__esModule",{value:!0});var RQ=Eh(),tL=dp(),ba=$s(),xh=Hs(),oo=si(),Vs=qa(),Th=Gu(),tE=su();function MQ(){ba.next.call(void 0),Th.parseMaybeAssign.call(void 0,!1)}Zo.parseSpread=MQ;function rL(t){ba.next.call(void 0),nE(t)}Zo.parseRest=rL;function nL(t){Th.parseIdentifier.call(void 0),iL(t)}Zo.parseBindingIdentifier=nL;function BQ(){Th.parseIdentifier.call(void 0),Vs.state.tokens[Vs.state.tokens.length-1].identifierRole=ba.IdentifierRole.ImportDeclaration}Zo.parseImportedIdentifier=BQ;function iL(t){let r;Vs.state.scopeDepth===0?r=ba.IdentifierRole.TopLevelDeclaration:t?r=ba.IdentifierRole.BlockScopedDeclaration:r=ba.IdentifierRole.FunctionScopedDeclaration,Vs.state.tokens[Vs.state.tokens.length-1].identifierRole=r}Zo.markPriorBindingIdentifier=iL;function nE(t){switch(Vs.state.type){case oo.TokenType._this:{let r=ba.pushTypeContext.call(void 0,0);ba.next.call(void 0),ba.popTypeContext.call(void 0,r);return}case oo.TokenType._yield:case oo.TokenType.name:{Vs.state.type=oo.TokenType.name,nL(t);return}case oo.TokenType.bracketL:{ba.next.call(void 0),sL(oo.TokenType.bracketR,t,!0);return}case oo.TokenType.braceL:Th.parseObj.call(void 0,!0,t);return;default:tE.unexpected.call(void 0)}}Zo.parseBindingAtom=nE;function sL(t,r,s=!1,a=!1,u=0){let e=!0,l=!1,n=Vs.state.tokens.length;for(;!ba.eat.call(void 0,t)&&!Vs.state.error;)if(e?e=!1:(tE.expect.call(void 0,oo.TokenType.comma),Vs.state.tokens[Vs.state.tokens.length-1].contextId=u,!l&&Vs.state.tokens[n].isType&&(Vs.state.tokens[Vs.state.tokens.length-1].isType=!0,l=!0)),!(s&&ba.match.call(void 0,oo.TokenType.comma))){if(ba.eat.call(void 0,t))break;if(ba.match.call(void 0,oo.TokenType.ellipsis)){rL(r),aL(),ba.eat.call(void 0,oo.TokenType.comma),tE.expect.call(void 0,t);break}else UQ(a,r)}}Zo.parseBindingList=sL;function UQ(t,r){t&&tL.tsParseModifiers.call(void 0,[xh.ContextualKeyword._public,xh.ContextualKeyword._protected,xh.ContextualKeyword._private,xh.ContextualKeyword._readonly,xh.ContextualKeyword._override]),rE(r),aL(),rE(r,!0)}function aL(){Vs.isFlowEnabled?RQ.flowParseAssignableListItemTypes.call(void 0):Vs.isTypeScriptEnabled&&tL.tsParseAssignableListItemTypes.call(void 0)}function rE(t,r=!1){if(r||nE(t),!ba.eat.call(void 0,oo.TokenType.eq))return;let s=Vs.state.tokens.length-1;Th.parseMaybeAssign.call(void 0),Vs.state.tokens[s].rhsEndIndex=Vs.state.tokens.length}Zo.parseMaybeDefault=rE});var dp=ct(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});var wt=$s(),on=Hs(),St=si(),Ut=qa(),ri=Gu(),fp=Ry(),el=Ph(),Tr=su(),$Q=fE();function sE(){return wt.match.call(void 0,St.TokenType.name)}function VQ(){return wt.match.call(void 0,St.TokenType.name)||!!(Ut.state.type&St.TokenType.IS_KEYWORD)||wt.match.call(void 0,St.TokenType.string)||wt.match.call(void 0,St.TokenType.num)||wt.match.call(void 0,St.TokenType.bigint)||wt.match.call(void 0,St.TokenType.decimal)}function pL(){let t=Ut.state.snapshot();return wt.next.call(void 0),(wt.match.call(void 0,St.TokenType.bracketL)||wt.match.call(void 0,St.TokenType.braceL)||wt.match.call(void 0,St.TokenType.star)||wt.match.call(void 0,St.TokenType.ellipsis)||wt.match.call(void 0,St.TokenType.hash)||VQ())&&!Tr.hasPrecedingLineBreak.call(void 0)?!0:(Ut.state.restoreFromSnapshot(t),!1)}function dL(t){for(;uE(t)!==null;);}vi.tsParseModifiers=dL;function uE(t){if(!wt.match.call(void 0,St.TokenType.name))return null;let r=Ut.state.contextualKeyword;if(t.indexOf(r)!==-1&&pL()){switch(r){case on.ContextualKeyword._readonly:Ut.state.tokens[Ut.state.tokens.length-1].type=St.TokenType._readonly;break;case on.ContextualKeyword._abstract:Ut.state.tokens[Ut.state.tokens.length-1].type=St.TokenType._abstract;break;case on.ContextualKeyword._static:Ut.state.tokens[Ut.state.tokens.length-1].type=St.TokenType._static;break;case on.ContextualKeyword._public:Ut.state.tokens[Ut.state.tokens.length-1].type=St.TokenType._public;break;case on.ContextualKeyword._private:Ut.state.tokens[Ut.state.tokens.length-1].type=St.TokenType._private;break;case on.ContextualKeyword._protected:Ut.state.tokens[Ut.state.tokens.length-1].type=St.TokenType._protected;break;case on.ContextualKeyword._override:Ut.state.tokens[Ut.state.tokens.length-1].type=St.TokenType._override;break;case on.ContextualKeyword._declare:Ut.state.tokens[Ut.state.tokens.length-1].type=St.TokenType._declare;break;default:break}return r}return null}vi.tsParseModifier=uE;function wh(){for(ri.parseIdentifier.call(void 0);wt.eat.call(void 0,St.TokenType.dot);)ri.parseIdentifier.call(void 0)}function qQ(){wh(),!Tr.hasPrecedingLineBreak.call(void 0)&&wt.match.call(void 0,St.TokenType.lessThan)&&yp()}function WQ(){wt.next.call(void 0),Ah()}function KQ(){wt.next.call(void 0)}function zQ(){Tr.expect.call(void 0,St.TokenType._typeof),wt.match.call(void 0,St.TokenType._import)?hL():wh(),!Tr.hasPrecedingLineBreak.call(void 0)&&wt.match.call(void 0,St.TokenType.lessThan)&&yp()}function hL(){Tr.expect.call(void 0,St.TokenType._import),Tr.expect.call(void 0,St.TokenType.parenL),Tr.expect.call(void 0,St.TokenType.string),Tr.expect.call(void 0,St.TokenType.parenR),wt.eat.call(void 0,St.TokenType.dot)&&wh(),wt.match.call(void 0,St.TokenType.lessThan)&&yp()}function HQ(){wt.eat.call(void 0,St.TokenType._const);let t=wt.eat.call(void 0,St.TokenType._in),r=Tr.eatContextual.call(void 0,on.ContextualKeyword._out);wt.eat.call(void 0,St.TokenType._const),(t||r)&&!wt.match.call(void 0,St.TokenType.name)?Ut.state.tokens[Ut.state.tokens.length-1].type=St.TokenType.name:ri.parseIdentifier.call(void 0),wt.eat.call(void 0,St.TokenType._extends)&&ms(),wt.eat.call(void 0,St.TokenType.eq)&&ms()}function mp(){wt.match.call(void 0,St.TokenType.lessThan)&&By()}vi.tsTryParseTypeParameters=mp;function By(){let t=wt.pushTypeContext.call(void 0,0);for(wt.match.call(void 0,St.TokenType.lessThan)||wt.match.call(void 0,St.TokenType.typeParameterStart)?wt.next.call(void 0):Tr.unexpected.call(void 0);!wt.eat.call(void 0,St.TokenType.greaterThan)&&!Ut.state.error;)HQ(),wt.eat.call(void 0,St.TokenType.comma);wt.popTypeContext.call(void 0,t)}function cE(t){let r=t===St.TokenType.arrow;mp(),Tr.expect.call(void 0,St.TokenType.parenL),Ut.state.scopeDepth++,GQ(!1),Ut.state.scopeDepth--,(r||wt.match.call(void 0,t))&&Sh(t)}function GQ(t){fp.parseBindingList.call(void 0,St.TokenType.parenR,t)}function My(){wt.eat.call(void 0,St.TokenType.comma)||Tr.semicolon.call(void 0)}function oL(){cE(St.TokenType.colon),My()}function JQ(){let t=Ut.state.snapshot();wt.next.call(void 0);let r=wt.eat.call(void 0,St.TokenType.name)&&wt.match.call(void 0,St.TokenType.colon);return Ut.state.restoreFromSnapshot(t),r}function fL(){if(!(wt.match.call(void 0,St.TokenType.bracketL)&&JQ()))return!1;let t=wt.pushTypeContext.call(void 0,0);return Tr.expect.call(void 0,St.TokenType.bracketL),ri.parseIdentifier.call(void 0),Ah(),Tr.expect.call(void 0,St.TokenType.bracketR),_h(),My(),wt.popTypeContext.call(void 0,t),!0}function lL(t){wt.eat.call(void 0,St.TokenType.question),!t&&(wt.match.call(void 0,St.TokenType.parenL)||wt.match.call(void 0,St.TokenType.lessThan))?(cE(St.TokenType.colon),My()):(_h(),My())}function XQ(){if(wt.match.call(void 0,St.TokenType.parenL)||wt.match.call(void 0,St.TokenType.lessThan)){oL();return}if(wt.match.call(void 0,St.TokenType._new)){wt.next.call(void 0),wt.match.call(void 0,St.TokenType.parenL)||wt.match.call(void 0,St.TokenType.lessThan)?oL():lL(!1);return}let t=!!uE([on.ContextualKeyword._readonly]);fL()||((Tr.isContextual.call(void 0,on.ContextualKeyword._get)||Tr.isContextual.call(void 0,on.ContextualKeyword._set))&&pL(),ri.parsePropertyName.call(void 0,-1),lL(t))}function YQ(){mL()}function mL(){for(Tr.expect.call(void 0,St.TokenType.braceL);!wt.eat.call(void 0,St.TokenType.braceR)&&!Ut.state.error;)XQ()}function QQ(){let t=Ut.state.snapshot(),r=ZQ();return Ut.state.restoreFromSnapshot(t),r}function ZQ(){return wt.next.call(void 0),wt.eat.call(void 0,St.TokenType.plus)||wt.eat.call(void 0,St.TokenType.minus)?Tr.isContextual.call(void 0,on.ContextualKeyword._readonly):(Tr.isContextual.call(void 0,on.ContextualKeyword._readonly)&&wt.next.call(void 0),!wt.match.call(void 0,St.TokenType.bracketL)||(wt.next.call(void 0),!sE())?!1:(wt.next.call(void 0),wt.match.call(void 0,St.TokenType._in)))}function eZ(){ri.parseIdentifier.call(void 0),Tr.expect.call(void 0,St.TokenType._in),ms()}function tZ(){Tr.expect.call(void 0,St.TokenType.braceL),wt.match.call(void 0,St.TokenType.plus)||wt.match.call(void 0,St.TokenType.minus)?(wt.next.call(void 0),Tr.expectContextual.call(void 0,on.ContextualKeyword._readonly)):Tr.eatContextual.call(void 0,on.ContextualKeyword._readonly),Tr.expect.call(void 0,St.TokenType.bracketL),eZ(),Tr.eatContextual.call(void 0,on.ContextualKeyword._as)&&ms(),Tr.expect.call(void 0,St.TokenType.bracketR),wt.match.call(void 0,St.TokenType.plus)||wt.match.call(void 0,St.TokenType.minus)?(wt.next.call(void 0),Tr.expect.call(void 0,St.TokenType.question)):wt.eat.call(void 0,St.TokenType.question),mZ(),Tr.semicolon.call(void 0),Tr.expect.call(void 0,St.TokenType.braceR)}function rZ(){for(Tr.expect.call(void 0,St.TokenType.bracketL);!wt.eat.call(void 0,St.TokenType.bracketR)&&!Ut.state.error;)nZ(),wt.eat.call(void 0,St.TokenType.comma)}function nZ(){wt.eat.call(void 0,St.TokenType.ellipsis)?ms():(ms(),wt.eat.call(void 0,St.TokenType.question)),wt.eat.call(void 0,St.TokenType.colon)&&ms()}function iZ(){Tr.expect.call(void 0,St.TokenType.parenL),ms(),Tr.expect.call(void 0,St.TokenType.parenR)}function sZ(){for(wt.nextTemplateToken.call(void 0),wt.nextTemplateToken.call(void 0);!wt.match.call(void 0,St.TokenType.backQuote)&&!Ut.state.error;)Tr.expect.call(void 0,St.TokenType.dollarBraceL),ms(),wt.nextTemplateToken.call(void 0),wt.nextTemplateToken.call(void 0);wt.next.call(void 0)}var lu;(function(t){t[t.TSFunctionType=0]="TSFunctionType";let s=1;t[t.TSConstructorType=s]="TSConstructorType";let a=s+1;t[t.TSAbstractConstructorType=a]="TSAbstractConstructorType"})(lu||(lu={}));function iE(t){t===lu.TSAbstractConstructorType&&Tr.expectContextual.call(void 0,on.ContextualKeyword._abstract),(t===lu.TSConstructorType||t===lu.TSAbstractConstructorType)&&Tr.expect.call(void 0,St.TokenType._new);let r=Ut.state.inDisallowConditionalTypesContext;Ut.state.inDisallowConditionalTypesContext=!1,cE(St.TokenType.arrow),Ut.state.inDisallowConditionalTypesContext=r}function aZ(){switch(Ut.state.type){case St.TokenType.name:qQ();return;case St.TokenType._void:case St.TokenType._null:wt.next.call(void 0);return;case St.TokenType.string:case St.TokenType.num:case St.TokenType.bigint:case St.TokenType.decimal:case St.TokenType._true:case St.TokenType._false:ri.parseLiteral.call(void 0);return;case St.TokenType.minus:wt.next.call(void 0),ri.parseLiteral.call(void 0);return;case St.TokenType._this:{KQ(),Tr.isContextual.call(void 0,on.ContextualKeyword._is)&&!Tr.hasPrecedingLineBreak.call(void 0)&&WQ();return}case St.TokenType._typeof:zQ();return;case St.TokenType._import:hL();return;case St.TokenType.braceL:QQ()?tZ():YQ();return;case St.TokenType.bracketL:rZ();return;case St.TokenType.parenL:iZ();return;case St.TokenType.backQuote:sZ();return;default:if(Ut.state.type&St.TokenType.IS_KEYWORD){wt.next.call(void 0),Ut.state.tokens[Ut.state.tokens.length-1].type=St.TokenType.name;return}break}Tr.unexpected.call(void 0)}function oZ(){for(aZ();!Tr.hasPrecedingLineBreak.call(void 0)&&wt.eat.call(void 0,St.TokenType.bracketL);)wt.eat.call(void 0,St.TokenType.bracketR)||(ms(),Tr.expect.call(void 0,St.TokenType.bracketR))}function lZ(){if(Tr.expectContextual.call(void 0,on.ContextualKeyword._infer),ri.parseIdentifier.call(void 0),wt.match.call(void 0,St.TokenType._extends)){let t=Ut.state.snapshot();Tr.expect.call(void 0,St.TokenType._extends);let r=Ut.state.inDisallowConditionalTypesContext;Ut.state.inDisallowConditionalTypesContext=!0,ms(),Ut.state.inDisallowConditionalTypesContext=r,(Ut.state.error||!Ut.state.inDisallowConditionalTypesContext&&wt.match.call(void 0,St.TokenType.question))&&Ut.state.restoreFromSnapshot(t)}}function aE(){if(Tr.isContextual.call(void 0,on.ContextualKeyword._keyof)||Tr.isContextual.call(void 0,on.ContextualKeyword._unique)||Tr.isContextual.call(void 0,on.ContextualKeyword._readonly))wt.next.call(void 0),aE();else if(Tr.isContextual.call(void 0,on.ContextualKeyword._infer))lZ();else{let t=Ut.state.inDisallowConditionalTypesContext;Ut.state.inDisallowConditionalTypesContext=!1,oZ(),Ut.state.inDisallowConditionalTypesContext=t}}function uL(){if(wt.eat.call(void 0,St.TokenType.bitwiseAND),aE(),wt.match.call(void 0,St.TokenType.bitwiseAND))for(;wt.eat.call(void 0,St.TokenType.bitwiseAND);)aE()}function uZ(){if(wt.eat.call(void 0,St.TokenType.bitwiseOR),uL(),wt.match.call(void 0,St.TokenType.bitwiseOR))for(;wt.eat.call(void 0,St.TokenType.bitwiseOR);)uL()}function cZ(){return wt.match.call(void 0,St.TokenType.lessThan)?!0:wt.match.call(void 0,St.TokenType.parenL)&&dZ()}function pZ(){if(wt.match.call(void 0,St.TokenType.name)||wt.match.call(void 0,St.TokenType._this))return wt.next.call(void 0),!0;if(wt.match.call(void 0,St.TokenType.braceL)||wt.match.call(void 0,St.TokenType.bracketL)){let t=1;for(wt.next.call(void 0);t>0&&!Ut.state.error;)wt.match.call(void 0,St.TokenType.braceL)||wt.match.call(void 0,St.TokenType.bracketL)?t++:(wt.match.call(void 0,St.TokenType.braceR)||wt.match.call(void 0,St.TokenType.bracketR))&&t--,wt.next.call(void 0);return!0}return!1}function dZ(){let t=Ut.state.snapshot(),r=hZ();return Ut.state.restoreFromSnapshot(t),r}function hZ(){return wt.next.call(void 0),!!(wt.match.call(void 0,St.TokenType.parenR)||wt.match.call(void 0,St.TokenType.ellipsis)||pZ()&&(wt.match.call(void 0,St.TokenType.colon)||wt.match.call(void 0,St.TokenType.comma)||wt.match.call(void 0,St.TokenType.question)||wt.match.call(void 0,St.TokenType.eq)||wt.match.call(void 0,St.TokenType.parenR)&&(wt.next.call(void 0),wt.match.call(void 0,St.TokenType.arrow))))}function Sh(t){let r=wt.pushTypeContext.call(void 0,0);Tr.expect.call(void 0,t),yZ()||ms(),wt.popTypeContext.call(void 0,r)}function fZ(){wt.match.call(void 0,St.TokenType.colon)&&Sh(St.TokenType.colon)}function _h(){wt.match.call(void 0,St.TokenType.colon)&&Ah()}vi.tsTryParseTypeAnnotation=_h;function mZ(){wt.eat.call(void 0,St.TokenType.colon)&&ms()}function yZ(){let t=Ut.state.snapshot();return Tr.isContextual.call(void 0,on.ContextualKeyword._asserts)?(wt.next.call(void 0),Tr.eatContextual.call(void 0,on.ContextualKeyword._is)?(ms(),!0):sE()||wt.match.call(void 0,St.TokenType._this)?(wt.next.call(void 0),Tr.eatContextual.call(void 0,on.ContextualKeyword._is)&&ms(),!0):(Ut.state.restoreFromSnapshot(t),!1)):sE()||wt.match.call(void 0,St.TokenType._this)?(wt.next.call(void 0),Tr.isContextual.call(void 0,on.ContextualKeyword._is)&&!Tr.hasPrecedingLineBreak.call(void 0)?(wt.next.call(void 0),ms(),!0):(Ut.state.restoreFromSnapshot(t),!1)):!1}function Ah(){let t=wt.pushTypeContext.call(void 0,0);Tr.expect.call(void 0,St.TokenType.colon),ms(),wt.popTypeContext.call(void 0,t)}vi.tsParseTypeAnnotation=Ah;function ms(){if(oE(),Ut.state.inDisallowConditionalTypesContext||Tr.hasPrecedingLineBreak.call(void 0)||!wt.eat.call(void 0,St.TokenType._extends))return;let t=Ut.state.inDisallowConditionalTypesContext;Ut.state.inDisallowConditionalTypesContext=!0,oE(),Ut.state.inDisallowConditionalTypesContext=t,Tr.expect.call(void 0,St.TokenType.question),ms(),Tr.expect.call(void 0,St.TokenType.colon),ms()}vi.tsParseType=ms;function bZ(){return Tr.isContextual.call(void 0,on.ContextualKeyword._abstract)&&wt.lookaheadType.call(void 0)===St.TokenType._new}function oE(){if(cZ()){iE(lu.TSFunctionType);return}if(wt.match.call(void 0,St.TokenType._new)){iE(lu.TSConstructorType);return}else if(bZ()){iE(lu.TSAbstractConstructorType);return}uZ()}vi.tsParseNonConditionalType=oE;function gZ(){let t=wt.pushTypeContext.call(void 0,1);ms(),Tr.expect.call(void 0,St.TokenType.greaterThan),wt.popTypeContext.call(void 0,t),ri.parseMaybeUnary.call(void 0)}vi.tsParseTypeAssertion=gZ;function vZ(){if(wt.eat.call(void 0,St.TokenType.jsxTagStart)){Ut.state.tokens[Ut.state.tokens.length-1].type=St.TokenType.typeParameterStart;let t=wt.pushTypeContext.call(void 0,1);for(;!wt.match.call(void 0,St.TokenType.greaterThan)&&!Ut.state.error;)ms(),wt.eat.call(void 0,St.TokenType.comma);$Q.nextJSXTagToken.call(void 0),wt.popTypeContext.call(void 0,t)}}vi.tsTryParseJSXTypeArgument=vZ;function yL(){for(;!wt.match.call(void 0,St.TokenType.braceL)&&!Ut.state.error;)xZ(),wt.eat.call(void 0,St.TokenType.comma)}function xZ(){wh(),wt.match.call(void 0,St.TokenType.lessThan)&&yp()}function TZ(){fp.parseBindingIdentifier.call(void 0,!1),mp(),wt.eat.call(void 0,St.TokenType._extends)&&yL(),mL()}function EZ(){fp.parseBindingIdentifier.call(void 0,!1),mp(),Tr.expect.call(void 0,St.TokenType.eq),ms(),Tr.semicolon.call(void 0)}function SZ(){if(wt.match.call(void 0,St.TokenType.string)?ri.parseLiteral.call(void 0):ri.parseIdentifier.call(void 0),wt.eat.call(void 0,St.TokenType.eq)){let t=Ut.state.tokens.length-1;ri.parseMaybeAssign.call(void 0),Ut.state.tokens[t].rhsEndIndex=Ut.state.tokens.length}}function pE(){for(fp.parseBindingIdentifier.call(void 0,!1),Tr.expect.call(void 0,St.TokenType.braceL);!wt.eat.call(void 0,St.TokenType.braceR)&&!Ut.state.error;)SZ(),wt.eat.call(void 0,St.TokenType.comma)}function dE(){Tr.expect.call(void 0,St.TokenType.braceL),el.parseBlockBody.call(void 0,St.TokenType.braceR)}function lE(){fp.parseBindingIdentifier.call(void 0,!1),wt.eat.call(void 0,St.TokenType.dot)?lE():dE()}function bL(){Tr.isContextual.call(void 0,on.ContextualKeyword._global)?ri.parseIdentifier.call(void 0):wt.match.call(void 0,St.TokenType.string)?ri.parseExprAtom.call(void 0):Tr.unexpected.call(void 0),wt.match.call(void 0,St.TokenType.braceL)?dE():Tr.semicolon.call(void 0)}function gL(){fp.parseImportedIdentifier.call(void 0),Tr.expect.call(void 0,St.TokenType.eq),_Z(),Tr.semicolon.call(void 0)}vi.tsParseImportEqualsDeclaration=gL;function wZ(){return Tr.isContextual.call(void 0,on.ContextualKeyword._require)&&wt.lookaheadType.call(void 0)===St.TokenType.parenL}function _Z(){wZ()?AZ():wh()}function AZ(){Tr.expectContextual.call(void 0,on.ContextualKeyword._require),Tr.expect.call(void 0,St.TokenType.parenL),wt.match.call(void 0,St.TokenType.string)||Tr.unexpected.call(void 0),ri.parseLiteral.call(void 0),Tr.expect.call(void 0,St.TokenType.parenR)}function PZ(){if(Tr.isLineTerminator.call(void 0))return!1;switch(Ut.state.type){case St.TokenType._function:{let t=wt.pushTypeContext.call(void 0,1);wt.next.call(void 0);let r=Ut.state.start;return el.parseFunction.call(void 0,r,!0),wt.popTypeContext.call(void 0,t),!0}case St.TokenType._class:{let t=wt.pushTypeContext.call(void 0,1);return el.parseClass.call(void 0,!0,!1),wt.popTypeContext.call(void 0,t),!0}case St.TokenType._const:if(wt.match.call(void 0,St.TokenType._const)&&Tr.isLookaheadContextual.call(void 0,on.ContextualKeyword._enum)){let t=wt.pushTypeContext.call(void 0,1);return Tr.expect.call(void 0,St.TokenType._const),Tr.expectContextual.call(void 0,on.ContextualKeyword._enum),Ut.state.tokens[Ut.state.tokens.length-1].type=St.TokenType._enum,pE(),wt.popTypeContext.call(void 0,t),!0}case St.TokenType._var:case St.TokenType._let:{let t=wt.pushTypeContext.call(void 0,1);return el.parseVarStatement.call(void 0,Ut.state.type!==St.TokenType._var),wt.popTypeContext.call(void 0,t),!0}case St.TokenType.name:{let t=wt.pushTypeContext.call(void 0,1),r=Ut.state.contextualKeyword,s=!1;return r===on.ContextualKeyword._global?(bL(),s=!0):s=Uy(r,!0),wt.popTypeContext.call(void 0,t),s}default:return!1}}function cL(){return Uy(Ut.state.contextualKeyword,!0)}function CZ(t){switch(t){case on.ContextualKeyword._declare:{let r=Ut.state.tokens.length-1;if(PZ())return Ut.state.tokens[r].type=St.TokenType._declare,!0;break}case on.ContextualKeyword._global:if(wt.match.call(void 0,St.TokenType.braceL))return dE(),!0;break;default:return Uy(t,!1)}return!1}function Uy(t,r){switch(t){case on.ContextualKeyword._abstract:if(hp(r)&&wt.match.call(void 0,St.TokenType._class))return Ut.state.tokens[Ut.state.tokens.length-1].type=St.TokenType._abstract,el.parseClass.call(void 0,!0,!1),!0;break;case on.ContextualKeyword._enum:if(hp(r)&&wt.match.call(void 0,St.TokenType.name))return Ut.state.tokens[Ut.state.tokens.length-1].type=St.TokenType._enum,pE(),!0;break;case on.ContextualKeyword._interface:if(hp(r)&&wt.match.call(void 0,St.TokenType.name)){let s=wt.pushTypeContext.call(void 0,r?2:1);return TZ(),wt.popTypeContext.call(void 0,s),!0}break;case on.ContextualKeyword._module:if(hp(r)){if(wt.match.call(void 0,St.TokenType.string)){let s=wt.pushTypeContext.call(void 0,r?2:1);return bL(),wt.popTypeContext.call(void 0,s),!0}else if(wt.match.call(void 0,St.TokenType.name)){let s=wt.pushTypeContext.call(void 0,r?2:1);return lE(),wt.popTypeContext.call(void 0,s),!0}}break;case on.ContextualKeyword._namespace:if(hp(r)&&wt.match.call(void 0,St.TokenType.name)){let s=wt.pushTypeContext.call(void 0,r?2:1);return lE(),wt.popTypeContext.call(void 0,s),!0}break;case on.ContextualKeyword._type:if(hp(r)&&wt.match.call(void 0,St.TokenType.name)){let s=wt.pushTypeContext.call(void 0,r?2:1);return EZ(),wt.popTypeContext.call(void 0,s),!0}break;default:break}return!1}function hp(t){return t?(wt.next.call(void 0),!0):!Tr.isLineTerminator.call(void 0)}function kZ(){let t=Ut.state.snapshot();return By(),el.parseFunctionParams.call(void 0),fZ(),Tr.expect.call(void 0,St.TokenType.arrow),Ut.state.error?(Ut.state.restoreFromSnapshot(t),!1):(ri.parseFunctionBody.call(void 0,!0),!0)}function hE(){Ut.state.type===St.TokenType.bitShiftL&&(Ut.state.pos-=1,wt.finishToken.call(void 0,St.TokenType.lessThan)),yp()}function yp(){let t=wt.pushTypeContext.call(void 0,0);for(Tr.expect.call(void 0,St.TokenType.lessThan);!wt.match.call(void 0,St.TokenType.greaterThan)&&!Ut.state.error;)ms(),wt.eat.call(void 0,St.TokenType.comma);t?(Tr.expect.call(void 0,St.TokenType.greaterThan),wt.popTypeContext.call(void 0,t)):(wt.popTypeContext.call(void 0,t),wt.rescan_gt.call(void 0),Tr.expect.call(void 0,St.TokenType.greaterThan),Ut.state.tokens[Ut.state.tokens.length-1].isType=!0)}function DZ(){if(wt.match.call(void 0,St.TokenType.name))switch(Ut.state.contextualKeyword){case on.ContextualKeyword._abstract:case on.ContextualKeyword._declare:case on.ContextualKeyword._enum:case on.ContextualKeyword._interface:case on.ContextualKeyword._module:case on.ContextualKeyword._namespace:case on.ContextualKeyword._type:return!0;default:break}return!1}vi.tsIsDeclarationStart=DZ;function IZ(t,r){if(wt.match.call(void 0,St.TokenType.colon)&&Sh(St.TokenType.colon),!wt.match.call(void 0,St.TokenType.braceL)&&Tr.isLineTerminator.call(void 0)){let s=Ut.state.tokens.length-1;for(;s>=0&&(Ut.state.tokens[s].start>=t||Ut.state.tokens[s].type===St.TokenType._default||Ut.state.tokens[s].type===St.TokenType._export);)Ut.state.tokens[s].isType=!0,s--;return}ri.parseFunctionBody.call(void 0,!1,r)}vi.tsParseFunctionBodyAndFinish=IZ;function OZ(t,r,s){if(!Tr.hasPrecedingLineBreak.call(void 0)&&wt.eat.call(void 0,St.TokenType.bang)){Ut.state.tokens[Ut.state.tokens.length-1].type=St.TokenType.nonNullAssertion;return}if(wt.match.call(void 0,St.TokenType.lessThan)||wt.match.call(void 0,St.TokenType.bitShiftL)){let a=Ut.state.snapshot();if(!r&&ri.atPossibleAsync.call(void 0)&&kZ())return;if(hE(),!r&&wt.eat.call(void 0,St.TokenType.parenL)?(Ut.state.tokens[Ut.state.tokens.length-1].subscriptStartIndex=t,ri.parseCallExpressionArguments.call(void 0)):wt.match.call(void 0,St.TokenType.backQuote)?ri.parseTemplate.call(void 0):(Ut.state.type===St.TokenType.greaterThan||Ut.state.type!==St.TokenType.parenL&&Ut.state.type&St.TokenType.IS_EXPRESSION_START&&!Tr.hasPrecedingLineBreak.call(void 0))&&Tr.unexpected.call(void 0),Ut.state.error)Ut.state.restoreFromSnapshot(a);else return}else!r&&wt.match.call(void 0,St.TokenType.questionDot)&&wt.lookaheadType.call(void 0)===St.TokenType.lessThan&&(wt.next.call(void 0),Ut.state.tokens[t].isOptionalChainStart=!0,Ut.state.tokens[Ut.state.tokens.length-1].subscriptStartIndex=t,yp(),Tr.expect.call(void 0,St.TokenType.parenL),ri.parseCallExpressionArguments.call(void 0));ri.baseParseSubscript.call(void 0,t,r,s)}vi.tsParseSubscript=OZ;function NZ(){if(wt.eat.call(void 0,St.TokenType._import))return Tr.isContextual.call(void 0,on.ContextualKeyword._type)&&wt.lookaheadType.call(void 0)!==St.TokenType.eq&&Tr.expectContextual.call(void 0,on.ContextualKeyword._type),gL(),!0;if(wt.eat.call(void 0,St.TokenType.eq))return ri.parseExpression.call(void 0),Tr.semicolon.call(void 0),!0;if(Tr.eatContextual.call(void 0,on.ContextualKeyword._as))return Tr.expectContextual.call(void 0,on.ContextualKeyword._namespace),ri.parseIdentifier.call(void 0),Tr.semicolon.call(void 0),!0;if(Tr.isContextual.call(void 0,on.ContextualKeyword._type)){let t=wt.lookaheadType.call(void 0);(t===St.TokenType.braceL||t===St.TokenType.star)&&wt.next.call(void 0)}return!1}vi.tsTryParseExport=NZ;function FZ(){if(ri.parseIdentifier.call(void 0),wt.match.call(void 0,St.TokenType.comma)||wt.match.call(void 0,St.TokenType.braceR)){Ut.state.tokens[Ut.state.tokens.length-1].identifierRole=wt.IdentifierRole.ImportDeclaration;return}if(ri.parseIdentifier.call(void 0),wt.match.call(void 0,St.TokenType.comma)||wt.match.call(void 0,St.TokenType.braceR)){Ut.state.tokens[Ut.state.tokens.length-1].identifierRole=wt.IdentifierRole.ImportDeclaration,Ut.state.tokens[Ut.state.tokens.length-2].isType=!0,Ut.state.tokens[Ut.state.tokens.length-1].isType=!0;return}if(ri.parseIdentifier.call(void 0),wt.match.call(void 0,St.TokenType.comma)||wt.match.call(void 0,St.TokenType.braceR)){Ut.state.tokens[Ut.state.tokens.length-3].identifierRole=wt.IdentifierRole.ImportAccess,Ut.state.tokens[Ut.state.tokens.length-1].identifierRole=wt.IdentifierRole.ImportDeclaration;return}ri.parseIdentifier.call(void 0),Ut.state.tokens[Ut.state.tokens.length-3].identifierRole=wt.IdentifierRole.ImportAccess,Ut.state.tokens[Ut.state.tokens.length-1].identifierRole=wt.IdentifierRole.ImportDeclaration,Ut.state.tokens[Ut.state.tokens.length-4].isType=!0,Ut.state.tokens[Ut.state.tokens.length-3].isType=!0,Ut.state.tokens[Ut.state.tokens.length-2].isType=!0,Ut.state.tokens[Ut.state.tokens.length-1].isType=!0}vi.tsParseImportSpecifier=FZ;function jZ(){if(ri.parseIdentifier.call(void 0),wt.match.call(void 0,St.TokenType.comma)||wt.match.call(void 0,St.TokenType.braceR)){Ut.state.tokens[Ut.state.tokens.length-1].identifierRole=wt.IdentifierRole.ExportAccess;return}if(ri.parseIdentifier.call(void 0),wt.match.call(void 0,St.TokenType.comma)||wt.match.call(void 0,St.TokenType.braceR)){Ut.state.tokens[Ut.state.tokens.length-1].identifierRole=wt.IdentifierRole.ExportAccess,Ut.state.tokens[Ut.state.tokens.length-2].isType=!0,Ut.state.tokens[Ut.state.tokens.length-1].isType=!0;return}if(ri.parseIdentifier.call(void 0),wt.match.call(void 0,St.TokenType.comma)||wt.match.call(void 0,St.TokenType.braceR)){Ut.state.tokens[Ut.state.tokens.length-3].identifierRole=wt.IdentifierRole.ExportAccess;return}ri.parseIdentifier.call(void 0),Ut.state.tokens[Ut.state.tokens.length-3].identifierRole=wt.IdentifierRole.ExportAccess,Ut.state.tokens[Ut.state.tokens.length-4].isType=!0,Ut.state.tokens[Ut.state.tokens.length-3].isType=!0,Ut.state.tokens[Ut.state.tokens.length-2].isType=!0,Ut.state.tokens[Ut.state.tokens.length-1].isType=!0}vi.tsParseExportSpecifier=jZ;function LZ(){if(Tr.isContextual.call(void 0,on.ContextualKeyword._abstract)&&wt.lookaheadType.call(void 0)===St.TokenType._class)return Ut.state.type=St.TokenType._abstract,wt.next.call(void 0),el.parseClass.call(void 0,!0,!0),!0;if(Tr.isContextual.call(void 0,on.ContextualKeyword._interface)){let t=wt.pushTypeContext.call(void 0,2);return Uy(on.ContextualKeyword._interface,!0),wt.popTypeContext.call(void 0,t),!0}return!1}vi.tsTryParseExportDefaultExpression=LZ;function RZ(){if(Ut.state.type===St.TokenType._const){let t=wt.lookaheadTypeAndKeyword.call(void 0);if(t.type===St.TokenType.name&&t.contextualKeyword===on.ContextualKeyword._enum)return Tr.expect.call(void 0,St.TokenType._const),Tr.expectContextual.call(void 0,on.ContextualKeyword._enum),Ut.state.tokens[Ut.state.tokens.length-1].type=St.TokenType._enum,pE(),!0}return!1}vi.tsTryParseStatementContent=RZ;function MZ(t){let r=Ut.state.tokens.length;dL([on.ContextualKeyword._abstract,on.ContextualKeyword._readonly,on.ContextualKeyword._declare,on.ContextualKeyword._static,on.ContextualKeyword._override]);let s=Ut.state.tokens.length;if(fL()){let u=t?r-1:r;for(let e=u;e<s;e++)Ut.state.tokens[e].isType=!0;return!0}return!1}vi.tsTryParseClassMemberWithIsStatic=MZ;function BZ(t){CZ(t)||Tr.semicolon.call(void 0)}vi.tsParseIdentifierStatement=BZ;function UZ(){let t=Tr.eatContextual.call(void 0,on.ContextualKeyword._declare);t&&(Ut.state.tokens[Ut.state.tokens.length-1].type=St.TokenType._declare);let r=!1;if(wt.match.call(void 0,St.TokenType.name))if(t){let s=wt.pushTypeContext.call(void 0,2);r=cL(),wt.popTypeContext.call(void 0,s)}else r=cL();if(!r)if(t){let s=wt.pushTypeContext.call(void 0,2);el.parseStatement.call(void 0,!0),wt.popTypeContext.call(void 0,s)}else el.parseStatement.call(void 0,!0)}vi.tsParseExportDeclaration=UZ;function $Z(t){if(t&&(wt.match.call(void 0,St.TokenType.lessThan)||wt.match.call(void 0,St.TokenType.bitShiftL))&&hE(),Tr.eatContextual.call(void 0,on.ContextualKeyword._implements)){Ut.state.tokens[Ut.state.tokens.length-1].type=St.TokenType._implements;let r=wt.pushTypeContext.call(void 0,1);yL(),wt.popTypeContext.call(void 0,r)}}vi.tsAfterParseClassSuper=$Z;function VZ(){mp()}vi.tsStartParseObjPropValue=VZ;function qZ(){mp()}vi.tsStartParseFunctionParams=qZ;function WZ(){let t=wt.pushTypeContext.call(void 0,0);Tr.hasPrecedingLineBreak.call(void 0)||wt.eat.call(void 0,St.TokenType.bang),_h(),wt.popTypeContext.call(void 0,t)}vi.tsAfterParseVarHead=WZ;function KZ(){wt.match.call(void 0,St.TokenType.colon)&&Ah()}vi.tsStartParseAsyncArrowFromCallExpression=KZ;function zZ(t,r){return Ut.isJSXEnabled?vL(t,r):xL(t,r)}vi.tsParseMaybeAssign=zZ;function vL(t,r){if(!wt.match.call(void 0,St.TokenType.lessThan))return ri.baseParseMaybeAssign.call(void 0,t,r);let s=Ut.state.snapshot(),a=ri.baseParseMaybeAssign.call(void 0,t,r);if(Ut.state.error)Ut.state.restoreFromSnapshot(s);else return a;return Ut.state.type=St.TokenType.typeParameterStart,By(),a=ri.baseParseMaybeAssign.call(void 0,t,r),a||Tr.unexpected.call(void 0),a}vi.tsParseMaybeAssignWithJSX=vL;function xL(t,r){if(!wt.match.call(void 0,St.TokenType.lessThan))return ri.baseParseMaybeAssign.call(void 0,t,r);let s=Ut.state.snapshot();By();let a=ri.baseParseMaybeAssign.call(void 0,t,r);if(a||Tr.unexpected.call(void 0),Ut.state.error)Ut.state.restoreFromSnapshot(s);else return a;return ri.baseParseMaybeAssign.call(void 0,t,r)}vi.tsParseMaybeAssignWithoutJSX=xL;function HZ(){if(wt.match.call(void 0,St.TokenType.colon)){let t=Ut.state.snapshot();Sh(St.TokenType.colon),Tr.canInsertSemicolon.call(void 0)&&Tr.unexpected.call(void 0),wt.match.call(void 0,St.TokenType.arrow)||Tr.unexpected.call(void 0),Ut.state.error&&Ut.state.restoreFromSnapshot(t)}return wt.eat.call(void 0,St.TokenType.arrow)}vi.tsParseArrow=HZ;function GZ(){let t=wt.pushTypeContext.call(void 0,0);wt.eat.call(void 0,St.TokenType.question),_h(),wt.popTypeContext.call(void 0,t)}vi.tsParseAssignableListItemTypes=GZ;function JZ(){(wt.match.call(void 0,St.TokenType.lessThan)||wt.match.call(void 0,St.TokenType.bitShiftL))&&hE(),el.baseParseMaybeDecoratorArguments.call(void 0)}vi.tsParseMaybeDecoratorArguments=JZ});var fE=ct(Vy=>{"use strict";Object.defineProperty(Vy,"__esModule",{value:!0});var li=$s(),Ai=si(),On=qa(),$y=Gu(),uu=su(),ws=Va(),TL=lp(),XZ=dp();function YZ(){let t=!1,r=!1;for(;;){if(On.state.pos>=On.input.length){uu.unexpected.call(void 0,"Unterminated JSX contents");return}let s=On.input.charCodeAt(On.state.pos);if(s===ws.charCodes.lessThan||s===ws.charCodes.leftCurlyBrace){if(On.state.pos===On.state.start){if(s===ws.charCodes.lessThan){On.state.pos++,li.finishToken.call(void 0,Ai.TokenType.jsxTagStart);return}li.getTokenFromCode.call(void 0,s);return}t&&!r?li.finishToken.call(void 0,Ai.TokenType.jsxEmptyText):li.finishToken.call(void 0,Ai.TokenType.jsxText);return}s===ws.charCodes.lineFeed?t=!0:s!==ws.charCodes.space&&s!==ws.charCodes.carriageReturn&&s!==ws.charCodes.tab&&(r=!0),On.state.pos++}}function QZ(t){for(On.state.pos++;;){if(On.state.pos>=On.input.length){uu.unexpected.call(void 0,"Unterminated string constant");return}if(On.input.charCodeAt(On.state.pos)===t){On.state.pos++;break}On.state.pos++}li.finishToken.call(void 0,Ai.TokenType.string)}function ZZ(){let t;do{if(On.state.pos>On.input.length){uu.unexpected.call(void 0,"Unexpectedly reached the end of input.");return}t=On.input.charCodeAt(++On.state.pos)}while(TL.IS_IDENTIFIER_CHAR[t]||t===ws.charCodes.dash);li.finishToken.call(void 0,Ai.TokenType.jsxName)}function mE(){lo()}function EL(t){if(mE(),!li.eat.call(void 0,Ai.TokenType.colon)){On.state.tokens[On.state.tokens.length-1].identifierRole=t;return}mE()}function SL(){let t=On.state.tokens.length;EL(li.IdentifierRole.Access);let r=!1;for(;li.match.call(void 0,Ai.TokenType.dot);)r=!0,lo(),mE();if(!r){let s=On.state.tokens[t],a=On.input.charCodeAt(s.start);a>=ws.charCodes.lowercaseA&&a<=ws.charCodes.lowercaseZ&&(s.identifierRole=null)}}function eee(){switch(On.state.type){case Ai.TokenType.braceL:li.next.call(void 0),$y.parseExpression.call(void 0),lo();return;case Ai.TokenType.jsxTagStart:_L(),lo();return;case Ai.TokenType.string:lo();return;default:uu.unexpected.call(void 0,"JSX value should be either an expression or a quoted JSX text")}}function tee(){uu.expect.call(void 0,Ai.TokenType.ellipsis),$y.parseExpression.call(void 0)}function ree(t){if(li.match.call(void 0,Ai.TokenType.jsxTagEnd))return!1;SL(),On.isTypeScriptEnabled&&XZ.tsTryParseJSXTypeArgument.call(void 0);let r=!1;for(;!li.match.call(void 0,Ai.TokenType.slash)&&!li.match.call(void 0,Ai.TokenType.jsxTagEnd)&&!On.state.error;){if(li.eat.call(void 0,Ai.TokenType.braceL)){r=!0,uu.expect.call(void 0,Ai.TokenType.ellipsis),$y.parseMaybeAssign.call(void 0),lo();continue}r&&On.state.end-On.state.start===3&&On.input.charCodeAt(On.state.start)===ws.charCodes.lowercaseK&&On.input.charCodeAt(On.state.start+1)===ws.charCodes.lowercaseE&&On.input.charCodeAt(On.state.start+2)===ws.charCodes.lowercaseY&&(On.state.tokens[t].jsxRole=li.JSXRole.KeyAfterPropSpread),EL(li.IdentifierRole.ObjectKey),li.match.call(void 0,Ai.TokenType.eq)&&(lo(),eee())}let s=li.match.call(void 0,Ai.TokenType.slash);return s&&lo(),s}function nee(){li.match.call(void 0,Ai.TokenType.jsxTagEnd)||SL()}function wL(){let t=On.state.tokens.length-1;On.state.tokens[t].jsxRole=li.JSXRole.NoChildren;let r=0;if(!ree(t))for(bp();;)switch(On.state.type){case Ai.TokenType.jsxTagStart:if(lo(),li.match.call(void 0,Ai.TokenType.slash)){lo(),nee(),On.state.tokens[t].jsxRole!==li.JSXRole.KeyAfterPropSpread&&(r===1?On.state.tokens[t].jsxRole=li.JSXRole.OneChild:r>1&&(On.state.tokens[t].jsxRole=li.JSXRole.StaticChildren));return}r++,wL(),bp();break;case Ai.TokenType.jsxText:r++,bp();break;case Ai.TokenType.jsxEmptyText:bp();break;case Ai.TokenType.braceL:li.next.call(void 0),li.match.call(void 0,Ai.TokenType.ellipsis)?(tee(),bp(),r+=2):(li.match.call(void 0,Ai.TokenType.braceR)||(r++,$y.parseExpression.call(void 0)),bp());break;default:uu.unexpected.call(void 0);return}}function _L(){lo(),wL()}Vy.jsxParseElement=_L;function lo(){On.state.tokens.push(new li.Token),li.skipSpace.call(void 0),On.state.start=On.state.pos;let t=On.input.charCodeAt(On.state.pos);if(TL.IS_IDENTIFIER_START[t])ZZ();else if(t===ws.charCodes.quotationMark||t===ws.charCodes.apostrophe)QZ(t);else switch(++On.state.pos,t){case ws.charCodes.greaterThan:li.finishToken.call(void 0,Ai.TokenType.jsxTagEnd);break;case ws.charCodes.lessThan:li.finishToken.call(void 0,Ai.TokenType.jsxTagStart);break;case ws.charCodes.slash:li.finishToken.call(void 0,Ai.TokenType.slash);break;case ws.charCodes.equalsTo:li.finishToken.call(void 0,Ai.TokenType.eq);break;case ws.charCodes.leftCurlyBrace:li.finishToken.call(void 0,Ai.TokenType.braceL);break;case ws.charCodes.dot:li.finishToken.call(void 0,Ai.TokenType.dot);break;case ws.charCodes.colon:li.finishToken.call(void 0,Ai.TokenType.colon);break;default:uu.unexpected.call(void 0)}}Vy.nextJSXTagToken=lo;function bp(){On.state.tokens.push(new li.Token),On.state.start=On.state.pos,YZ()}});var PL=ct(Wy=>{"use strict";Object.defineProperty(Wy,"__esModule",{value:!0});var qy=$s(),gp=si(),AL=qa(),iee=Gu(),see=Eh(),aee=dp();function oee(t){if(qy.match.call(void 0,gp.TokenType.question)){let r=qy.lookaheadType.call(void 0);if(r===gp.TokenType.colon||r===gp.TokenType.comma||r===gp.TokenType.parenR)return}iee.baseParseConditional.call(void 0,t)}Wy.typedParseConditional=oee;function lee(){qy.eatTypeToken.call(void 0,gp.TokenType.question),qy.match.call(void 0,gp.TokenType.colon)&&(AL.isTypeScriptEnabled?aee.tsParseTypeAnnotation.call(void 0):AL.isFlowEnabled&&see.flowParseTypeAnnotation.call(void 0))}Wy.typedParseParenItem=lee});var Gu=ct(ps=>{"use strict";Object.defineProperty(ps,"__esModule",{value:!0});var kl=Eh(),uee=fE(),CL=PL(),pu=dp(),br=$s(),Pl=Hs(),kL=xy(),rr=si(),DL=Va(),cee=lp(),ir=qa(),cu=Ry(),Co=Ph(),ci=su(),Hy=class{constructor(r){this.stop=r}};ps.StopState=Hy;function Ch(t=!1){if(uo(t),br.match.call(void 0,rr.TokenType.comma))for(;br.eat.call(void 0,rr.TokenType.comma);)uo(t)}ps.parseExpression=Ch;function uo(t=!1,r=!1){return ir.isTypeScriptEnabled?pu.tsParseMaybeAssign.call(void 0,t,r):ir.isFlowEnabled?kl.flowParseMaybeAssign.call(void 0,t,r):IL(t,r)}ps.parseMaybeAssign=uo;function IL(t,r){if(br.match.call(void 0,rr.TokenType._yield))return Pee(),!1;(br.match.call(void 0,rr.TokenType.parenL)||br.match.call(void 0,rr.TokenType.name)||br.match.call(void 0,rr.TokenType._yield))&&(ir.state.potentialArrowAt=ir.state.start);let s=pee(t);return r&&xE(),ir.state.type&rr.TokenType.IS_ASSIGN?(br.next.call(void 0),uo(t),!1):s}ps.baseParseMaybeAssign=IL;function pee(t){return hee(t)?!0:(dee(t),!1)}function dee(t){ir.isTypeScriptEnabled||ir.isFlowEnabled?CL.typedParseConditional.call(void 0,t):OL(t)}function OL(t){br.eat.call(void 0,rr.TokenType.question)&&(uo(),ci.expect.call(void 0,rr.TokenType.colon),uo(t))}ps.baseParseConditional=OL;function hee(t){let r=ir.state.tokens.length;return Dh()?!0:(Ky(r,-1,t),!1)}function Ky(t,r,s){if(ir.isTypeScriptEnabled&&(rr.TokenType._in&rr.TokenType.PRECEDENCE_MASK)>r&&!ci.hasPrecedingLineBreak.call(void 0)&&(ci.eatContextual.call(void 0,Pl.ContextualKeyword._as)||ci.eatContextual.call(void 0,Pl.ContextualKeyword._satisfies))){let u=br.pushTypeContext.call(void 0,1);pu.tsParseType.call(void 0),br.popTypeContext.call(void 0,u),br.rescan_gt.call(void 0),Ky(t,r,s);return}let a=ir.state.type&rr.TokenType.PRECEDENCE_MASK;if(a>0&&(!s||!br.match.call(void 0,rr.TokenType._in))&&a>r){let u=ir.state.type;br.next.call(void 0),u===rr.TokenType.nullishCoalescing&&(ir.state.tokens[ir.state.tokens.length-1].nullishStartIndex=t);let e=ir.state.tokens.length;Dh(),Ky(e,u&rr.TokenType.IS_RIGHT_ASSOCIATIVE?a-1:a,s),u===rr.TokenType.nullishCoalescing&&(ir.state.tokens[t].numNullishCoalesceStarts++,ir.state.tokens[ir.state.tokens.length-1].numNullishCoalesceEnds++),Ky(t,r,s)}}function Dh(){if(ir.isTypeScriptEnabled&&!ir.isJSXEnabled&&br.eat.call(void 0,rr.TokenType.lessThan))return pu.tsParseTypeAssertion.call(void 0),!1;if(ci.isContextual.call(void 0,Pl.ContextualKeyword._module)&&br.lookaheadCharCode.call(void 0)===DL.charCodes.leftCurlyBrace&&!ci.hasFollowingLineBreak.call(void 0))return Cee(),!1;if(ir.state.type&rr.TokenType.IS_PREFIX)return br.next.call(void 0),Dh(),!1;if(NL())return!0;for(;ir.state.type&rr.TokenType.IS_POSTFIX&&!ci.canInsertSemicolon.call(void 0);)ir.state.type===rr.TokenType.preIncDec&&(ir.state.type=rr.TokenType.postIncDec),br.next.call(void 0);return!1}ps.parseMaybeUnary=Dh;function NL(){let t=ir.state.tokens.length;return Xy()?!0:(gE(t),ir.state.tokens.length>t&&ir.state.tokens[t].isOptionalChainStart&&(ir.state.tokens[ir.state.tokens.length-1].isOptionalChainEnd=!0),!1)}ps.parseExprSubscripts=NL;function gE(t,r=!1){ir.isFlowEnabled?kl.flowParseSubscripts.call(void 0,t,r):FL(t,r)}function FL(t,r=!1){let s=new Hy(!1);do fee(t,r,s);while(!s.stop&&!ir.state.error)}ps.baseParseSubscripts=FL;function fee(t,r,s){ir.isTypeScriptEnabled?pu.tsParseSubscript.call(void 0,t,r,s):ir.isFlowEnabled?kl.flowParseSubscript.call(void 0,t,r,s):jL(t,r,s)}function jL(t,r,s){if(!r&&br.eat.call(void 0,rr.TokenType.doubleColon))vE(),s.stop=!0,gE(t,r);else if(br.match.call(void 0,rr.TokenType.questionDot)){if(ir.state.tokens[t].isOptionalChainStart=!0,r&&br.lookaheadType.call(void 0)===rr.TokenType.parenL){s.stop=!0;return}br.next.call(void 0),ir.state.tokens[ir.state.tokens.length-1].subscriptStartIndex=t,br.eat.call(void 0,rr.TokenType.bracketL)?(Ch(),ci.expect.call(void 0,rr.TokenType.bracketR)):br.eat.call(void 0,rr.TokenType.parenL)?zy():Gy()}else if(br.eat.call(void 0,rr.TokenType.dot))ir.state.tokens[ir.state.tokens.length-1].subscriptStartIndex=t,Gy();else if(br.eat.call(void 0,rr.TokenType.bracketL))ir.state.tokens[ir.state.tokens.length-1].subscriptStartIndex=t,Ch(),ci.expect.call(void 0,rr.TokenType.bracketR);else if(!r&&br.match.call(void 0,rr.TokenType.parenL))if(LL()){let a=ir.state.snapshot(),u=ir.state.tokens.length;br.next.call(void 0),ir.state.tokens[ir.state.tokens.length-1].subscriptStartIndex=t;let e=ir.getNextContextId.call(void 0);ir.state.tokens[ir.state.tokens.length-1].contextId=e,zy(),ir.state.tokens[ir.state.tokens.length-1].contextId=e,mee()&&(ir.state.restoreFromSnapshot(a),s.stop=!0,ir.state.scopeDepth++,Co.parseFunctionParams.call(void 0),yee(u))}else{br.next.call(void 0),ir.state.tokens[ir.state.tokens.length-1].subscriptStartIndex=t;let a=ir.getNextContextId.call(void 0);ir.state.tokens[ir.state.tokens.length-1].contextId=a,zy(),ir.state.tokens[ir.state.tokens.length-1].contextId=a}else br.match.call(void 0,rr.TokenType.backQuote)?TE():s.stop=!0}ps.baseParseSubscript=jL;function LL(){return ir.state.tokens[ir.state.tokens.length-1].contextualKeyword===Pl.ContextualKeyword._async&&!ci.canInsertSemicolon.call(void 0)}ps.atPossibleAsync=LL;function zy(){let t=!0;for(;!br.eat.call(void 0,rr.TokenType.parenR)&&!ir.state.error;){if(t)t=!1;else if(ci.expect.call(void 0,rr.TokenType.comma),br.eat.call(void 0,rr.TokenType.parenR))break;VL(!1)}}ps.parseCallExpressionArguments=zy;function mee(){return br.match.call(void 0,rr.TokenType.colon)||br.match.call(void 0,rr.TokenType.arrow)}function yee(t){ir.isTypeScriptEnabled?pu.tsStartParseAsyncArrowFromCallExpression.call(void 0):ir.isFlowEnabled&&kl.flowStartParseAsyncArrowFromCallExpression.call(void 0),ci.expect.call(void 0,rr.TokenType.arrow),kh(t)}function vE(){let t=ir.state.tokens.length;Xy(),gE(t,!0)}function Xy(){if(br.eat.call(void 0,rr.TokenType.modulo))return Cl(),!1;if(br.match.call(void 0,rr.TokenType.jsxText)||br.match.call(void 0,rr.TokenType.jsxEmptyText))return RL(),!1;if(br.match.call(void 0,rr.TokenType.lessThan)&&ir.isJSXEnabled)return ir.state.type=rr.TokenType.jsxTagStart,uee.jsxParseElement.call(void 0),br.next.call(void 0),!1;let t=ir.state.potentialArrowAt===ir.state.start;switch(ir.state.type){case rr.TokenType.slash:case rr.TokenType.assign:br.retokenizeSlashAsRegex.call(void 0);case rr.TokenType._super:case rr.TokenType._this:case rr.TokenType.regexp:case rr.TokenType.num:case rr.TokenType.bigint:case rr.TokenType.decimal:case rr.TokenType.string:case rr.TokenType._null:case rr.TokenType._true:case rr.TokenType._false:return br.next.call(void 0),!1;case rr.TokenType._import:return br.next.call(void 0),br.match.call(void 0,rr.TokenType.dot)&&(ir.state.tokens[ir.state.tokens.length-1].type=rr.TokenType.name,br.next.call(void 0),Cl()),!1;case rr.TokenType.name:{let r=ir.state.tokens.length,s=ir.state.start,a=ir.state.contextualKeyword;return Cl(),a===Pl.ContextualKeyword._await?(Aee(),!1):a===Pl.ContextualKeyword._async&&br.match.call(void 0,rr.TokenType._function)&&!ci.canInsertSemicolon.call(void 0)?(br.next.call(void 0),Co.parseFunction.call(void 0,s,!1),!1):t&&a===Pl.ContextualKeyword._async&&!ci.canInsertSemicolon.call(void 0)&&br.match.call(void 0,rr.TokenType.name)?(ir.state.scopeDepth++,cu.parseBindingIdentifier.call(void 0,!1),ci.expect.call(void 0,rr.TokenType.arrow),kh(r),!0):br.match.call(void 0,rr.TokenType._do)&&!ci.canInsertSemicolon.call(void 0)?(br.next.call(void 0),Co.parseBlock.call(void 0),!1):t&&!ci.canInsertSemicolon.call(void 0)&&br.match.call(void 0,rr.TokenType.arrow)?(ir.state.scopeDepth++,cu.markPriorBindingIdentifier.call(void 0,!1),ci.expect.call(void 0,rr.TokenType.arrow),kh(r),!0):(ir.state.tokens[ir.state.tokens.length-1].identifierRole=br.IdentifierRole.Access,!1)}case rr.TokenType._do:return br.next.call(void 0),Co.parseBlock.call(void 0),!1;case rr.TokenType.parenL:return ML(t);case rr.TokenType.bracketL:return br.next.call(void 0),$L(rr.TokenType.bracketR,!0),!1;case rr.TokenType.braceL:return BL(!1,!1),!1;case rr.TokenType._function:return bee(),!1;case rr.TokenType.at:Co.parseDecorators.call(void 0);case rr.TokenType._class:return Co.parseClass.call(void 0,!1),!1;case rr.TokenType._new:return xee(),!1;case rr.TokenType.backQuote:return TE(),!1;case rr.TokenType.doubleColon:return br.next.call(void 0),vE(),!1;case rr.TokenType.hash:{let r=br.lookaheadCharCode.call(void 0);return cee.IS_IDENTIFIER_START[r]||r===DL.charCodes.backslash?Gy():br.next.call(void 0),!1}default:return ci.unexpected.call(void 0),!1}}ps.parseExprAtom=Xy;function Gy(){br.eat.call(void 0,rr.TokenType.hash),Cl()}function bee(){let t=ir.state.start;Cl(),br.eat.call(void 0,rr.TokenType.dot)&&Cl(),Co.parseFunction.call(void 0,t,!1)}function RL(){br.next.call(void 0)}ps.parseLiteral=RL;function gee(){ci.expect.call(void 0,rr.TokenType.parenL),Ch(),ci.expect.call(void 0,rr.TokenType.parenR)}ps.parseParenExpression=gee;function ML(t){let r=ir.state.snapshot(),s=ir.state.tokens.length;ci.expect.call(void 0,rr.TokenType.parenL);let a=!0;for(;!br.match.call(void 0,rr.TokenType.parenR)&&!ir.state.error;){if(a)a=!1;else if(ci.expect.call(void 0,rr.TokenType.comma),br.match.call(void 0,rr.TokenType.parenR))break;if(br.match.call(void 0,rr.TokenType.ellipsis)){cu.parseRest.call(void 0,!1),xE();break}else uo(!1,!0)}return ci.expect.call(void 0,rr.TokenType.parenR),t&&vee()&&yE()?(ir.state.restoreFromSnapshot(r),ir.state.scopeDepth++,Co.parseFunctionParams.call(void 0),yE(),kh(s),ir.state.error?(ir.state.restoreFromSnapshot(r),ML(!1),!1):!0):!1}function vee(){return br.match.call(void 0,rr.TokenType.colon)||!ci.canInsertSemicolon.call(void 0)}function yE(){return ir.isTypeScriptEnabled?pu.tsParseArrow.call(void 0):ir.isFlowEnabled?kl.flowParseArrow.call(void 0):br.eat.call(void 0,rr.TokenType.arrow)}ps.parseArrow=yE;function xE(){(ir.isTypeScriptEnabled||ir.isFlowEnabled)&&CL.typedParseParenItem.call(void 0)}function xee(){if(ci.expect.call(void 0,rr.TokenType._new),br.eat.call(void 0,rr.TokenType.dot)){Cl();return}Tee(),ir.isFlowEnabled&&kl.flowStartParseNewArguments.call(void 0),br.eat.call(void 0,rr.TokenType.parenL)&&$L(rr.TokenType.parenR)}function Tee(){vE(),br.eat.call(void 0,rr.TokenType.questionDot)}function TE(){for(br.nextTemplateToken.call(void 0),br.nextTemplateToken.call(void 0);!br.match.call(void 0,rr.TokenType.backQuote)&&!ir.state.error;)ci.expect.call(void 0,rr.TokenType.dollarBraceL),Ch(),br.nextTemplateToken.call(void 0),br.nextTemplateToken.call(void 0);br.next.call(void 0)}ps.parseTemplate=TE;function BL(t,r){let s=ir.getNextContextId.call(void 0),a=!0;for(br.next.call(void 0),ir.state.tokens[ir.state.tokens.length-1].contextId=s;!br.eat.call(void 0,rr.TokenType.braceR)&&!ir.state.error;){if(a)a=!1;else if(ci.expect.call(void 0,rr.TokenType.comma),br.eat.call(void 0,rr.TokenType.braceR))break;let u=!1;if(br.match.call(void 0,rr.TokenType.ellipsis)){let e=ir.state.tokens.length;if(cu.parseSpread.call(void 0),t&&(ir.state.tokens.length===e+2&&cu.markPriorBindingIdentifier.call(void 0,r),br.eat.call(void 0,rr.TokenType.braceR)))break;continue}t||(u=br.eat.call(void 0,rr.TokenType.star)),!t&&ci.isContextual.call(void 0,Pl.ContextualKeyword._async)?(u&&ci.unexpected.call(void 0),Cl(),br.match.call(void 0,rr.TokenType.colon)||br.match.call(void 0,rr.TokenType.parenL)||br.match.call(void 0,rr.TokenType.braceR)||br.match.call(void 0,rr.TokenType.eq)||br.match.call(void 0,rr.TokenType.comma)||(br.match.call(void 0,rr.TokenType.star)&&(br.next.call(void 0),u=!0),Jy(s))):Jy(s),_ee(t,r,s)}ir.state.tokens[ir.state.tokens.length-1].contextId=s}ps.parseObj=BL;function Eee(t){return!t&&(br.match.call(void 0,rr.TokenType.string)||br.match.call(void 0,rr.TokenType.num)||br.match.call(void 0,rr.TokenType.bracketL)||br.match.call(void 0,rr.TokenType.name)||!!(ir.state.type&rr.TokenType.IS_KEYWORD))}function See(t,r){let s=ir.state.start;return br.match.call(void 0,rr.TokenType.parenL)?(t&&ci.unexpected.call(void 0),bE(s,!1),!0):Eee(t)?(Jy(r),bE(s,!1),!0):!1}function wee(t,r){if(br.eat.call(void 0,rr.TokenType.colon)){t?cu.parseMaybeDefault.call(void 0,r):uo(!1);return}let s;t?ir.state.scopeDepth===0?s=br.IdentifierRole.ObjectShorthandTopLevelDeclaration:r?s=br.IdentifierRole.ObjectShorthandBlockScopedDeclaration:s=br.IdentifierRole.ObjectShorthandFunctionScopedDeclaration:s=br.IdentifierRole.ObjectShorthand,ir.state.tokens[ir.state.tokens.length-1].identifierRole=s,cu.parseMaybeDefault.call(void 0,r,!0)}function _ee(t,r,s){ir.isTypeScriptEnabled?pu.tsStartParseObjPropValue.call(void 0):ir.isFlowEnabled&&kl.flowStartParseObjPropValue.call(void 0),See(t,s)||wee(t,r)}function Jy(t){ir.isFlowEnabled&&kl.flowParseVariance.call(void 0),br.eat.call(void 0,rr.TokenType.bracketL)?(ir.state.tokens[ir.state.tokens.length-1].contextId=t,uo(),ci.expect.call(void 0,rr.TokenType.bracketR),ir.state.tokens[ir.state.tokens.length-1].contextId=t):(br.match.call(void 0,rr.TokenType.num)||br.match.call(void 0,rr.TokenType.string)||br.match.call(void 0,rr.TokenType.bigint)||br.match.call(void 0,rr.TokenType.decimal)?Xy():Gy(),ir.state.tokens[ir.state.tokens.length-1].identifierRole=br.IdentifierRole.ObjectKey,ir.state.tokens[ir.state.tokens.length-1].contextId=t)}ps.parsePropertyName=Jy;function bE(t,r){let s=ir.getNextContextId.call(void 0);ir.state.scopeDepth++;let a=ir.state.tokens.length,u=r;Co.parseFunctionParams.call(void 0,u,s),UL(t,s);let e=ir.state.tokens.length;ir.state.scopes.push(new kL.Scope(a,e,!0)),ir.state.scopeDepth--}ps.parseMethod=bE;function kh(t){EE(!0);let r=ir.state.tokens.length;ir.state.scopes.push(new kL.Scope(t,r,!0)),ir.state.scopeDepth--}ps.parseArrowExpression=kh;function UL(t,r=0){ir.isTypeScriptEnabled?pu.tsParseFunctionBodyAndFinish.call(void 0,t,r):ir.isFlowEnabled?kl.flowParseFunctionBodyAndFinish.call(void 0,r):EE(!1,r)}ps.parseFunctionBodyAndFinish=UL;function EE(t,r=0){t&&!br.match.call(void 0,rr.TokenType.braceL)?uo():Co.parseBlock.call(void 0,!0,r)}ps.parseFunctionBody=EE;function $L(t,r=!1){let s=!0;for(;!br.eat.call(void 0,t)&&!ir.state.error;){if(s)s=!1;else if(ci.expect.call(void 0,rr.TokenType.comma),br.eat.call(void 0,t))break;VL(r)}}function VL(t){t&&br.match.call(void 0,rr.TokenType.comma)||(br.match.call(void 0,rr.TokenType.ellipsis)?(cu.parseSpread.call(void 0),xE()):br.match.call(void 0,rr.TokenType.question)?br.next.call(void 0):uo(!1,!0))}function Cl(){br.next.call(void 0),ir.state.tokens[ir.state.tokens.length-1].type=rr.TokenType.name}ps.parseIdentifier=Cl;function Aee(){Dh()}function Pee(){br.next.call(void 0),!br.match.call(void 0,rr.TokenType.semi)&&!ci.canInsertSemicolon.call(void 0)&&(br.eat.call(void 0,rr.TokenType.star),uo())}function Cee(){ci.expectContextual.call(void 0,Pl.ContextualKeyword._module),ci.expect.call(void 0,rr.TokenType.braceL),Co.parseBlockBody.call(void 0,rr.TokenType.braceR)}});var Eh=ct(Yi=>{"use strict";Object.defineProperty(Yi,"__esModule",{value:!0});var Ft=$s(),Ln=Hs(),Dt=si(),En=qa(),Li=Gu(),du=Ph(),Ar=su();function kee(t){return(t.type===Dt.TokenType.name||!!(t.type&Dt.TokenType.IS_KEYWORD))&&t.contextualKeyword!==Ln.ContextualKeyword._from}function tl(t){let r=Ft.pushTypeContext.call(void 0,0);Ar.expect.call(void 0,t||Dt.TokenType.colon),Fa(),Ft.popTypeContext.call(void 0,r)}function qL(){Ar.expect.call(void 0,Dt.TokenType.modulo),Ar.expectContextual.call(void 0,Ln.ContextualKeyword._checks),Ft.eat.call(void 0,Dt.TokenType.parenL)&&(Li.parseExpression.call(void 0),Ar.expect.call(void 0,Dt.TokenType.parenR))}function _E(){let t=Ft.pushTypeContext.call(void 0,0);Ar.expect.call(void 0,Dt.TokenType.colon),Ft.match.call(void 0,Dt.TokenType.modulo)?qL():(Fa(),Ft.match.call(void 0,Dt.TokenType.modulo)&&qL()),Ft.popTypeContext.call(void 0,t)}function Dee(){Ft.next.call(void 0),AE(!0)}function Iee(){Ft.next.call(void 0),Li.parseIdentifier.call(void 0),Ft.match.call(void 0,Dt.TokenType.lessThan)&&rl(),Ar.expect.call(void 0,Dt.TokenType.parenL),wE(),Ar.expect.call(void 0,Dt.TokenType.parenR),_E(),Ar.semicolon.call(void 0)}function SE(){Ft.match.call(void 0,Dt.TokenType._class)?Dee():Ft.match.call(void 0,Dt.TokenType._function)?Iee():Ft.match.call(void 0,Dt.TokenType._var)?Oee():Ar.eatContextual.call(void 0,Ln.ContextualKeyword._module)?Ft.eat.call(void 0,Dt.TokenType.dot)?jee():Nee():Ar.isContextual.call(void 0,Ln.ContextualKeyword._type)?Lee():Ar.isContextual.call(void 0,Ln.ContextualKeyword._opaque)?Ree():Ar.isContextual.call(void 0,Ln.ContextualKeyword._interface)?Mee():Ft.match.call(void 0,Dt.TokenType._export)?Fee():Ar.unexpected.call(void 0)}function Oee(){Ft.next.call(void 0),JL(),Ar.semicolon.call(void 0)}function Nee(){for(Ft.match.call(void 0,Dt.TokenType.string)?Li.parseExprAtom.call(void 0):Li.parseIdentifier.call(void 0),Ar.expect.call(void 0,Dt.TokenType.braceL);!Ft.match.call(void 0,Dt.TokenType.braceR)&&!En.state.error;)Ft.match.call(void 0,Dt.TokenType._import)?(Ft.next.call(void 0),du.parseImport.call(void 0)):Ar.unexpected.call(void 0);Ar.expect.call(void 0,Dt.TokenType.braceR)}function Fee(){Ar.expect.call(void 0,Dt.TokenType._export),Ft.eat.call(void 0,Dt.TokenType._default)?Ft.match.call(void 0,Dt.TokenType._function)||Ft.match.call(void 0,Dt.TokenType._class)?SE():(Fa(),Ar.semicolon.call(void 0)):Ft.match.call(void 0,Dt.TokenType._var)||Ft.match.call(void 0,Dt.TokenType._function)||Ft.match.call(void 0,Dt.TokenType._class)||Ar.isContextual.call(void 0,Ln.ContextualKeyword._opaque)?SE():Ft.match.call(void 0,Dt.TokenType.star)||Ft.match.call(void 0,Dt.TokenType.braceL)||Ar.isContextual.call(void 0,Ln.ContextualKeyword._interface)||Ar.isContextual.call(void 0,Ln.ContextualKeyword._type)||Ar.isContextual.call(void 0,Ln.ContextualKeyword._opaque)?du.parseExport.call(void 0):Ar.unexpected.call(void 0)}function jee(){Ar.expectContextual.call(void 0,Ln.ContextualKeyword._exports),vp(),Ar.semicolon.call(void 0)}function Lee(){Ft.next.call(void 0),CE()}function Ree(){Ft.next.call(void 0),kE(!0)}function Mee(){Ft.next.call(void 0),AE()}function AE(t=!1){if(eb(),Ft.match.call(void 0,Dt.TokenType.lessThan)&&rl(),Ft.eat.call(void 0,Dt.TokenType._extends))do Yy();while(!t&&Ft.eat.call(void 0,Dt.TokenType.comma));if(Ar.isContextual.call(void 0,Ln.ContextualKeyword._mixins)){Ft.next.call(void 0);do Yy();while(Ft.eat.call(void 0,Dt.TokenType.comma))}if(Ar.isContextual.call(void 0,Ln.ContextualKeyword._implements)){Ft.next.call(void 0);do Yy();while(Ft.eat.call(void 0,Dt.TokenType.comma))}Qy(t,!1,t)}function Yy(){zL(!1),Ft.match.call(void 0,Dt.TokenType.lessThan)&&Ju()}function PE(){AE()}function eb(){Li.parseIdentifier.call(void 0)}function CE(){eb(),Ft.match.call(void 0,Dt.TokenType.lessThan)&&rl(),tl(Dt.TokenType.eq),Ar.semicolon.call(void 0)}function kE(t){Ar.expectContextual.call(void 0,Ln.ContextualKeyword._type),eb(),Ft.match.call(void 0,Dt.TokenType.lessThan)&&rl(),Ft.match.call(void 0,Dt.TokenType.colon)&&tl(Dt.TokenType.colon),t||tl(Dt.TokenType.eq),Ar.semicolon.call(void 0)}function Bee(){OE(),JL(),Ft.eat.call(void 0,Dt.TokenType.eq)&&Fa()}function rl(){let t=Ft.pushTypeContext.call(void 0,0);Ft.match.call(void 0,Dt.TokenType.lessThan)||Ft.match.call(void 0,Dt.TokenType.typeParameterStart)?Ft.next.call(void 0):Ar.unexpected.call(void 0);do Bee(),Ft.match.call(void 0,Dt.TokenType.greaterThan)||Ar.expect.call(void 0,Dt.TokenType.comma);while(!Ft.match.call(void 0,Dt.TokenType.greaterThan)&&!En.state.error);Ar.expect.call(void 0,Dt.TokenType.greaterThan),Ft.popTypeContext.call(void 0,t)}Yi.flowParseTypeParameterDeclaration=rl;function Ju(){let t=Ft.pushTypeContext.call(void 0,0);for(Ar.expect.call(void 0,Dt.TokenType.lessThan);!Ft.match.call(void 0,Dt.TokenType.greaterThan)&&!En.state.error;)Fa(),Ft.match.call(void 0,Dt.TokenType.greaterThan)||Ar.expect.call(void 0,Dt.TokenType.comma);Ar.expect.call(void 0,Dt.TokenType.greaterThan),Ft.popTypeContext.call(void 0,t)}function Uee(){if(Ar.expectContextual.call(void 0,Ln.ContextualKeyword._interface),Ft.eat.call(void 0,Dt.TokenType._extends))do Yy();while(Ft.eat.call(void 0,Dt.TokenType.comma));Qy(!1,!1,!1)}function DE(){Ft.match.call(void 0,Dt.TokenType.num)||Ft.match.call(void 0,Dt.TokenType.string)?Li.parseExprAtom.call(void 0):Li.parseIdentifier.call(void 0)}function $ee(){Ft.lookaheadType.call(void 0)===Dt.TokenType.colon?(DE(),tl()):Fa(),Ar.expect.call(void 0,Dt.TokenType.bracketR),tl()}function Vee(){DE(),Ar.expect.call(void 0,Dt.TokenType.bracketR),Ar.expect.call(void 0,Dt.TokenType.bracketR),Ft.match.call(void 0,Dt.TokenType.lessThan)||Ft.match.call(void 0,Dt.TokenType.parenL)?IE():(Ft.eat.call(void 0,Dt.TokenType.question),tl())}function IE(){for(Ft.match.call(void 0,Dt.TokenType.lessThan)&&rl(),Ar.expect.call(void 0,Dt.TokenType.parenL);!Ft.match.call(void 0,Dt.TokenType.parenR)&&!Ft.match.call(void 0,Dt.TokenType.ellipsis)&&!En.state.error;)Zy(),Ft.match.call(void 0,Dt.TokenType.parenR)||Ar.expect.call(void 0,Dt.TokenType.comma);Ft.eat.call(void 0,Dt.TokenType.ellipsis)&&Zy(),Ar.expect.call(void 0,Dt.TokenType.parenR),tl()}function qee(){IE()}function Qy(t,r,s){let a;for(r&&Ft.match.call(void 0,Dt.TokenType.braceBarL)?(Ar.expect.call(void 0,Dt.TokenType.braceBarL),a=Dt.TokenType.braceBarR):(Ar.expect.call(void 0,Dt.TokenType.braceL),a=Dt.TokenType.braceR);!Ft.match.call(void 0,a)&&!En.state.error;){if(s&&Ar.isContextual.call(void 0,Ln.ContextualKeyword._proto)){let u=Ft.lookaheadType.call(void 0);u!==Dt.TokenType.colon&&u!==Dt.TokenType.question&&(Ft.next.call(void 0),t=!1)}if(t&&Ar.isContextual.call(void 0,Ln.ContextualKeyword._static)){let u=Ft.lookaheadType.call(void 0);u!==Dt.TokenType.colon&&u!==Dt.TokenType.question&&Ft.next.call(void 0)}if(OE(),Ft.eat.call(void 0,Dt.TokenType.bracketL))Ft.eat.call(void 0,Dt.TokenType.bracketL)?Vee():$ee();else if(Ft.match.call(void 0,Dt.TokenType.parenL)||Ft.match.call(void 0,Dt.TokenType.lessThan))qee();else{if(Ar.isContextual.call(void 0,Ln.ContextualKeyword._get)||Ar.isContextual.call(void 0,Ln.ContextualKeyword._set)){let u=Ft.lookaheadType.call(void 0);(u===Dt.TokenType.name||u===Dt.TokenType.string||u===Dt.TokenType.num)&&Ft.next.call(void 0)}Wee()}Kee()}Ar.expect.call(void 0,a)}function Wee(){if(Ft.match.call(void 0,Dt.TokenType.ellipsis)){if(Ar.expect.call(void 0,Dt.TokenType.ellipsis),Ft.eat.call(void 0,Dt.TokenType.comma)||Ft.eat.call(void 0,Dt.TokenType.semi),Ft.match.call(void 0,Dt.TokenType.braceR))return;Fa()}else DE(),Ft.match.call(void 0,Dt.TokenType.lessThan)||Ft.match.call(void 0,Dt.TokenType.parenL)?IE():(Ft.eat.call(void 0,Dt.TokenType.question),tl())}function Kee(){!Ft.eat.call(void 0,Dt.TokenType.semi)&&!Ft.eat.call(void 0,Dt.TokenType.comma)&&!Ft.match.call(void 0,Dt.TokenType.braceR)&&!Ft.match.call(void 0,Dt.TokenType.braceBarR)&&Ar.unexpected.call(void 0)}function zL(t){for(t||Li.parseIdentifier.call(void 0);Ft.eat.call(void 0,Dt.TokenType.dot);)Li.parseIdentifier.call(void 0)}function zee(){zL(!0),Ft.match.call(void 0,Dt.TokenType.lessThan)&&Ju()}function Hee(){Ar.expect.call(void 0,Dt.TokenType._typeof),HL()}function Gee(){for(Ar.expect.call(void 0,Dt.TokenType.bracketL);En.state.pos<En.input.length&&!Ft.match.call(void 0,Dt.TokenType.bracketR)&&(Fa(),!Ft.match.call(void 0,Dt.TokenType.bracketR));)Ar.expect.call(void 0,Dt.TokenType.comma);Ar.expect.call(void 0,Dt.TokenType.bracketR)}function Zy(){let t=Ft.lookaheadType.call(void 0);t===Dt.TokenType.colon||t===Dt.TokenType.question?(Li.parseIdentifier.call(void 0),Ft.eat.call(void 0,Dt.TokenType.question),tl()):Fa()}function wE(){for(;!Ft.match.call(void 0,Dt.TokenType.parenR)&&!Ft.match.call(void 0,Dt.TokenType.ellipsis)&&!En.state.error;)Zy(),Ft.match.call(void 0,Dt.TokenType.parenR)||Ar.expect.call(void 0,Dt.TokenType.comma);Ft.eat.call(void 0,Dt.TokenType.ellipsis)&&Zy()}function HL(){let t=!1,r=En.state.noAnonFunctionType;switch(En.state.type){case Dt.TokenType.name:{if(Ar.isContextual.call(void 0,Ln.ContextualKeyword._interface)){Uee();return}Li.parseIdentifier.call(void 0),zee();return}case Dt.TokenType.braceL:Qy(!1,!1,!1);return;case Dt.TokenType.braceBarL:Qy(!1,!0,!1);return;case Dt.TokenType.bracketL:Gee();return;case Dt.TokenType.lessThan:rl(),Ar.expect.call(void 0,Dt.TokenType.parenL),wE(),Ar.expect.call(void 0,Dt.TokenType.parenR),Ar.expect.call(void 0,Dt.TokenType.arrow),Fa();return;case Dt.TokenType.parenL:if(Ft.next.call(void 0),!Ft.match.call(void 0,Dt.TokenType.parenR)&&!Ft.match.call(void 0,Dt.TokenType.ellipsis))if(Ft.match.call(void 0,Dt.TokenType.name)){let s=Ft.lookaheadType.call(void 0);t=s!==Dt.TokenType.question&&s!==Dt.TokenType.colon}else t=!0;if(t)if(En.state.noAnonFunctionType=!1,Fa(),En.state.noAnonFunctionType=r,En.state.noAnonFunctionType||!(Ft.match.call(void 0,Dt.TokenType.comma)||Ft.match.call(void 0,Dt.TokenType.parenR)&&Ft.lookaheadType.call(void 0)===Dt.TokenType.arrow)){Ar.expect.call(void 0,Dt.TokenType.parenR);return}else Ft.eat.call(void 0,Dt.TokenType.comma);wE(),Ar.expect.call(void 0,Dt.TokenType.parenR),Ar.expect.call(void 0,Dt.TokenType.arrow),Fa();return;case Dt.TokenType.minus:Ft.next.call(void 0),Li.parseLiteral.call(void 0);return;case Dt.TokenType.string:case Dt.TokenType.num:case Dt.TokenType._true:case Dt.TokenType._false:case Dt.TokenType._null:case Dt.TokenType._this:case Dt.TokenType._void:case Dt.TokenType.star:Ft.next.call(void 0);return;default:if(En.state.type===Dt.TokenType._typeof){Hee();return}else if(En.state.type&Dt.TokenType.IS_KEYWORD){Ft.next.call(void 0),En.state.tokens[En.state.tokens.length-1].type=Dt.TokenType.name;return}}Ar.unexpected.call(void 0)}function Jee(){for(HL();!Ar.canInsertSemicolon.call(void 0)&&(Ft.match.call(void 0,Dt.TokenType.bracketL)||Ft.match.call(void 0,Dt.TokenType.questionDot));)Ft.eat.call(void 0,Dt.TokenType.questionDot),Ar.expect.call(void 0,Dt.TokenType.bracketL),Ft.eat.call(void 0,Dt.TokenType.bracketR)||(Fa(),Ar.expect.call(void 0,Dt.TokenType.bracketR))}function GL(){Ft.eat.call(void 0,Dt.TokenType.question)?GL():Jee()}function WL(){GL(),!En.state.noAnonFunctionType&&Ft.eat.call(void 0,Dt.TokenType.arrow)&&Fa()}function KL(){for(Ft.eat.call(void 0,Dt.TokenType.bitwiseAND),WL();Ft.eat.call(void 0,Dt.TokenType.bitwiseAND);)WL()}function Xee(){for(Ft.eat.call(void 0,Dt.TokenType.bitwiseOR),KL();Ft.eat.call(void 0,Dt.TokenType.bitwiseOR);)KL()}function Fa(){Xee()}function vp(){tl()}Yi.flowParseTypeAnnotation=vp;function JL(){Li.parseIdentifier.call(void 0),Ft.match.call(void 0,Dt.TokenType.colon)&&vp()}function OE(){(Ft.match.call(void 0,Dt.TokenType.plus)||Ft.match.call(void 0,Dt.TokenType.minus))&&(Ft.next.call(void 0),En.state.tokens[En.state.tokens.length-1].isType=!0)}Yi.flowParseVariance=OE;function Yee(t){Ft.match.call(void 0,Dt.TokenType.colon)&&_E(),Li.parseFunctionBody.call(void 0,!1,t)}Yi.flowParseFunctionBodyAndFinish=Yee;function Qee(t,r,s){if(Ft.match.call(void 0,Dt.TokenType.questionDot)&&Ft.lookaheadType.call(void 0)===Dt.TokenType.lessThan){if(r){s.stop=!0;return}Ft.next.call(void 0),Ju(),Ar.expect.call(void 0,Dt.TokenType.parenL),Li.parseCallExpressionArguments.call(void 0);return}else if(!r&&Ft.match.call(void 0,Dt.TokenType.lessThan)){let a=En.state.snapshot();if(Ju(),Ar.expect.call(void 0,Dt.TokenType.parenL),Li.parseCallExpressionArguments.call(void 0),En.state.error)En.state.restoreFromSnapshot(a);else return}Li.baseParseSubscript.call(void 0,t,r,s)}Yi.flowParseSubscript=Qee;function Zee(){if(Ft.match.call(void 0,Dt.TokenType.lessThan)){let t=En.state.snapshot();Ju(),En.state.error&&En.state.restoreFromSnapshot(t)}}Yi.flowStartParseNewArguments=Zee;function ete(){if(Ft.match.call(void 0,Dt.TokenType.name)&&En.state.contextualKeyword===Ln.ContextualKeyword._interface){let t=Ft.pushTypeContext.call(void 0,0);return Ft.next.call(void 0),PE(),Ft.popTypeContext.call(void 0,t),!0}else if(Ar.isContextual.call(void 0,Ln.ContextualKeyword._enum))return XL(),!0;return!1}Yi.flowTryParseStatement=ete;function tte(){return Ar.isContextual.call(void 0,Ln.ContextualKeyword._enum)?(XL(),!0):!1}Yi.flowTryParseExportDefaultExpression=tte;function rte(t){if(t===Ln.ContextualKeyword._declare){if(Ft.match.call(void 0,Dt.TokenType._class)||Ft.match.call(void 0,Dt.TokenType.name)||Ft.match.call(void 0,Dt.TokenType._function)||Ft.match.call(void 0,Dt.TokenType._var)||Ft.match.call(void 0,Dt.TokenType._export)){let r=Ft.pushTypeContext.call(void 0,1);SE(),Ft.popTypeContext.call(void 0,r)}}else if(Ft.match.call(void 0,Dt.TokenType.name)){if(t===Ln.ContextualKeyword._interface){let r=Ft.pushTypeContext.call(void 0,1);PE(),Ft.popTypeContext.call(void 0,r)}else if(t===Ln.ContextualKeyword._type){let r=Ft.pushTypeContext.call(void 0,1);CE(),Ft.popTypeContext.call(void 0,r)}else if(t===Ln.ContextualKeyword._opaque){let r=Ft.pushTypeContext.call(void 0,1);kE(!1),Ft.popTypeContext.call(void 0,r)}}Ar.semicolon.call(void 0)}Yi.flowParseIdentifierStatement=rte;function nte(){return Ar.isContextual.call(void 0,Ln.ContextualKeyword._type)||Ar.isContextual.call(void 0,Ln.ContextualKeyword._interface)||Ar.isContextual.call(void 0,Ln.ContextualKeyword._opaque)||Ar.isContextual.call(void 0,Ln.ContextualKeyword._enum)}Yi.flowShouldParseExportDeclaration=nte;function ite(){return Ft.match.call(void 0,Dt.TokenType.name)&&(En.state.contextualKeyword===Ln.ContextualKeyword._type||En.state.contextualKeyword===Ln.ContextualKeyword._interface||En.state.contextualKeyword===Ln.ContextualKeyword._opaque||En.state.contextualKeyword===Ln.ContextualKeyword._enum)}Yi.flowShouldDisallowExportDefaultSpecifier=ite;function ste(){if(Ar.isContextual.call(void 0,Ln.ContextualKeyword._type)){let t=Ft.pushTypeContext.call(void 0,1);Ft.next.call(void 0),Ft.match.call(void 0,Dt.TokenType.braceL)?(du.parseExportSpecifiers.call(void 0),du.parseExportFrom.call(void 0)):CE(),Ft.popTypeContext.call(void 0,t)}else if(Ar.isContextual.call(void 0,Ln.ContextualKeyword._opaque)){let t=Ft.pushTypeContext.call(void 0,1);Ft.next.call(void 0),kE(!1),Ft.popTypeContext.call(void 0,t)}else if(Ar.isContextual.call(void 0,Ln.ContextualKeyword._interface)){let t=Ft.pushTypeContext.call(void 0,1);Ft.next.call(void 0),PE(),Ft.popTypeContext.call(void 0,t)}else du.parseStatement.call(void 0,!0)}Yi.flowParseExportDeclaration=ste;function ate(){return Ft.match.call(void 0,Dt.TokenType.star)||Ar.isContextual.call(void 0,Ln.ContextualKeyword._type)&&Ft.lookaheadType.call(void 0)===Dt.TokenType.star}Yi.flowShouldParseExportStar=ate;function ote(){if(Ar.eatContextual.call(void 0,Ln.ContextualKeyword._type)){let t=Ft.pushTypeContext.call(void 0,2);du.baseParseExportStar.call(void 0),Ft.popTypeContext.call(void 0,t)}else du.baseParseExportStar.call(void 0)}Yi.flowParseExportStar=ote;function lte(t){if(t&&Ft.match.call(void 0,Dt.TokenType.lessThan)&&Ju(),Ar.isContextual.call(void 0,Ln.ContextualKeyword._implements)){let r=Ft.pushTypeContext.call(void 0,0);Ft.next.call(void 0),En.state.tokens[En.state.tokens.length-1].type=Dt.TokenType._implements;do eb(),Ft.match.call(void 0,Dt.TokenType.lessThan)&&Ju();while(Ft.eat.call(void 0,Dt.TokenType.comma));Ft.popTypeContext.call(void 0,r)}}Yi.flowAfterParseClassSuper=lte;function ute(){Ft.match.call(void 0,Dt.TokenType.lessThan)&&(rl(),Ft.match.call(void 0,Dt.TokenType.parenL)||Ar.unexpected.call(void 0))}Yi.flowStartParseObjPropValue=ute;function cte(){let t=Ft.pushTypeContext.call(void 0,0);Ft.eat.call(void 0,Dt.TokenType.question),Ft.match.call(void 0,Dt.TokenType.colon)&&vp(),Ft.popTypeContext.call(void 0,t)}Yi.flowParseAssignableListItemTypes=cte;function pte(){if(Ft.match.call(void 0,Dt.TokenType._typeof)||Ar.isContextual.call(void 0,Ln.ContextualKeyword._type)){let t=Ft.lookaheadTypeAndKeyword.call(void 0);(kee(t)||t.type===Dt.TokenType.braceL||t.type===Dt.TokenType.star)&&Ft.next.call(void 0)}}Yi.flowStartParseImportSpecifiers=pte;function dte(){let t=En.state.contextualKeyword===Ln.ContextualKeyword._type||En.state.type===Dt.TokenType._typeof;t?Ft.next.call(void 0):Li.parseIdentifier.call(void 0),Ar.isContextual.call(void 0,Ln.ContextualKeyword._as)&&!Ar.isLookaheadContextual.call(void 0,Ln.ContextualKeyword._as)?(Li.parseIdentifier.call(void 0),t&&!Ft.match.call(void 0,Dt.TokenType.name)&&!(En.state.type&Dt.TokenType.IS_KEYWORD)||Li.parseIdentifier.call(void 0)):(t&&(Ft.match.call(void 0,Dt.TokenType.name)||En.state.type&Dt.TokenType.IS_KEYWORD)&&Li.parseIdentifier.call(void 0),Ar.eatContextual.call(void 0,Ln.ContextualKeyword._as)&&Li.parseIdentifier.call(void 0))}Yi.flowParseImportSpecifier=dte;function hte(){if(Ft.match.call(void 0,Dt.TokenType.lessThan)){let t=Ft.pushTypeContext.call(void 0,0);rl(),Ft.popTypeContext.call(void 0,t)}}Yi.flowStartParseFunctionParams=hte;function fte(){Ft.match.call(void 0,Dt.TokenType.colon)&&vp()}Yi.flowAfterParseVarHead=fte;function mte(){if(Ft.match.call(void 0,Dt.TokenType.colon)){let t=En.state.noAnonFunctionType;En.state.noAnonFunctionType=!0,vp(),En.state.noAnonFunctionType=t}}Yi.flowStartParseAsyncArrowFromCallExpression=mte;function yte(t,r){if(Ft.match.call(void 0,Dt.TokenType.lessThan)){let s=En.state.snapshot(),a=Li.baseParseMaybeAssign.call(void 0,t,r);if(En.state.error)En.state.restoreFromSnapshot(s),En.state.type=Dt.TokenType.typeParameterStart;else return a;let u=Ft.pushTypeContext.call(void 0,0);if(rl(),Ft.popTypeContext.call(void 0,u),a=Li.baseParseMaybeAssign.call(void 0,t,r),a)return!0;Ar.unexpected.call(void 0)}return Li.baseParseMaybeAssign.call(void 0,t,r)}Yi.flowParseMaybeAssign=yte;function bte(){if(Ft.match.call(void 0,Dt.TokenType.colon)){let t=Ft.pushTypeContext.call(void 0,0),r=En.state.snapshot(),s=En.state.noAnonFunctionType;En.state.noAnonFunctionType=!0,_E(),En.state.noAnonFunctionType=s,Ar.canInsertSemicolon.call(void 0)&&Ar.unexpected.call(void 0),Ft.match.call(void 0,Dt.TokenType.arrow)||Ar.unexpected.call(void 0),En.state.error&&En.state.restoreFromSnapshot(r),Ft.popTypeContext.call(void 0,t)}return Ft.eat.call(void 0,Dt.TokenType.arrow)}Yi.flowParseArrow=bte;function gte(t,r=!1){if(En.state.tokens[En.state.tokens.length-1].contextualKeyword===Ln.ContextualKeyword._async&&Ft.match.call(void 0,Dt.TokenType.lessThan)){let s=En.state.snapshot();if(vte()&&!En.state.error)return;En.state.restoreFromSnapshot(s)}Li.baseParseSubscripts.call(void 0,t,r)}Yi.flowParseSubscripts=gte;function vte(){En.state.scopeDepth++;let t=En.state.tokens.length;return du.parseFunctionParams.call(void 0),Li.parseArrow.call(void 0)?(Li.parseArrowExpression.call(void 0,t),!0):!1}function XL(){Ar.expectContextual.call(void 0,Ln.ContextualKeyword._enum),En.state.tokens[En.state.tokens.length-1].type=Dt.TokenType._enum,Li.parseIdentifier.call(void 0),xte()}function xte(){Ar.eatContextual.call(void 0,Ln.ContextualKeyword._of)&&Ft.next.call(void 0),Ar.expect.call(void 0,Dt.TokenType.braceL),Tte(),Ar.expect.call(void 0,Dt.TokenType.braceR)}function Tte(){for(;!Ft.match.call(void 0,Dt.TokenType.braceR)&&!En.state.error&&!Ft.eat.call(void 0,Dt.TokenType.ellipsis);)Ete(),Ft.match.call(void 0,Dt.TokenType.braceR)||Ar.expect.call(void 0,Dt.TokenType.comma)}function Ete(){Li.parseIdentifier.call(void 0),Ft.eat.call(void 0,Dt.TokenType.eq)&&Ft.next.call(void 0)}});var Ph=ct(Bs=>{"use strict";Object.defineProperty(Bs,"__esModule",{value:!0});var Ste=ME(),ga=Eh(),Is=dp(),sr=$s(),Bn=Hs(),hu=xy(),Gt=si(),YL=Va(),Wt=qa(),xi=Gu(),fu=Ry(),Mr=su();function wte(){if(LE(Gt.TokenType.eof),Wt.state.scopes.push(new hu.Scope(0,Wt.state.tokens.length,!0)),Wt.state.scopeDepth!==0)throw new Error(`Invalid scope depth at end of file: ${Wt.state.scopeDepth}`);return new Ste.File(Wt.state.tokens,Wt.state.scopes)}Bs.parseTopLevel=wte;function ko(t){Wt.isFlowEnabled&&ga.flowTryParseStatement.call(void 0)||(sr.match.call(void 0,Gt.TokenType.at)&&jE(),_te(t))}Bs.parseStatement=ko;function _te(t){if(Wt.isTypeScriptEnabled&&Is.tsTryParseStatementContent.call(void 0))return;let r=Wt.state.type;switch(r){case Gt.TokenType._break:case Gt.TokenType._continue:Pte();return;case Gt.TokenType._debugger:Cte();return;case Gt.TokenType._do:kte();return;case Gt.TokenType._for:Dte();return;case Gt.TokenType._function:if(sr.lookaheadType.call(void 0)===Gt.TokenType.dot)break;t||Mr.unexpected.call(void 0),Nte();return;case Gt.TokenType._class:t||Mr.unexpected.call(void 0),rb(!0);return;case Gt.TokenType._if:Fte();return;case Gt.TokenType._return:jte();return;case Gt.TokenType._switch:Lte();return;case Gt.TokenType._throw:Rte();return;case Gt.TokenType._try:Bte();return;case Gt.TokenType._let:case Gt.TokenType._const:t||Mr.unexpected.call(void 0);case Gt.TokenType._var:tb(r!==Gt.TokenType._var);return;case Gt.TokenType._while:Ute();return;case Gt.TokenType.braceL:Tp();return;case Gt.TokenType.semi:$te();return;case Gt.TokenType._export:case Gt.TokenType._import:{let u=sr.lookaheadType.call(void 0);if(u===Gt.TokenType.parenL||u===Gt.TokenType.dot)break;sr.next.call(void 0),r===Gt.TokenType._import?c3():o3();return}case Gt.TokenType.name:if(Wt.state.contextualKeyword===Bn.ContextualKeyword._async){let u=Wt.state.start,e=Wt.state.snapshot();if(sr.next.call(void 0),sr.match.call(void 0,Gt.TokenType._function)&&!Mr.canInsertSemicolon.call(void 0)){Mr.expect.call(void 0,Gt.TokenType._function),Nh(u,!0);return}else Wt.state.restoreFromSnapshot(e)}else if(Wt.state.contextualKeyword===Bn.ContextualKeyword._using&&!Mr.hasFollowingLineBreak.call(void 0)&&sr.lookaheadType.call(void 0)===Gt.TokenType.name){tb(!0);return}else if(e3()){Mr.expectContextual.call(void 0,Bn.ContextualKeyword._await),tb(!0);return}default:break}let s=Wt.state.tokens.length;xi.parseExpression.call(void 0);let a=null;if(Wt.state.tokens.length===s+1){let u=Wt.state.tokens[Wt.state.tokens.length-1];u.type===Gt.TokenType.name&&(a=u.contextualKeyword)}if(a==null){Mr.semicolon.call(void 0);return}sr.eat.call(void 0,Gt.TokenType.colon)?Vte():qte(a)}function e3(){if(!Mr.isContextual.call(void 0,Bn.ContextualKeyword._await))return!1;let t=Wt.state.snapshot();return sr.next.call(void 0),!Mr.isContextual.call(void 0,Bn.ContextualKeyword._using)||Mr.hasPrecedingLineBreak.call(void 0)||(sr.next.call(void 0),!sr.match.call(void 0,Gt.TokenType.name)||Mr.hasPrecedingLineBreak.call(void 0))?(Wt.state.restoreFromSnapshot(t),!1):(Wt.state.restoreFromSnapshot(t),!0)}function jE(){for(;sr.match.call(void 0,Gt.TokenType.at);)t3()}Bs.parseDecorators=jE;function t3(){if(sr.next.call(void 0),sr.eat.call(void 0,Gt.TokenType.parenL))xi.parseExpression.call(void 0),Mr.expect.call(void 0,Gt.TokenType.parenR);else{for(xi.parseIdentifier.call(void 0);sr.eat.call(void 0,Gt.TokenType.dot);)xi.parseIdentifier.call(void 0);Ate()}}function Ate(){Wt.isTypeScriptEnabled?Is.tsParseMaybeDecoratorArguments.call(void 0):r3()}function r3(){sr.eat.call(void 0,Gt.TokenType.parenL)&&xi.parseCallExpressionArguments.call(void 0)}Bs.baseParseMaybeDecoratorArguments=r3;function Pte(){sr.next.call(void 0),Mr.isLineTerminator.call(void 0)||(xi.parseIdentifier.call(void 0),Mr.semicolon.call(void 0))}function Cte(){sr.next.call(void 0),Mr.semicolon.call(void 0)}function kte(){sr.next.call(void 0),ko(!1),Mr.expect.call(void 0,Gt.TokenType._while),xi.parseParenExpression.call(void 0),sr.eat.call(void 0,Gt.TokenType.semi)}function Dte(){Wt.state.scopeDepth++;let t=Wt.state.tokens.length;Ote();let r=Wt.state.tokens.length;Wt.state.scopes.push(new hu.Scope(t,r,!1)),Wt.state.scopeDepth--}function Ite(){return!(!Mr.isContextual.call(void 0,Bn.ContextualKeyword._using)||Mr.isLookaheadContextual.call(void 0,Bn.ContextualKeyword._of))}function Ote(){sr.next.call(void 0);let t=!1;if(Mr.isContextual.call(void 0,Bn.ContextualKeyword._await)&&(t=!0,sr.next.call(void 0)),Mr.expect.call(void 0,Gt.TokenType.parenL),sr.match.call(void 0,Gt.TokenType.semi)){t&&Mr.unexpected.call(void 0),NE();return}let r=e3();if(r||sr.match.call(void 0,Gt.TokenType._var)||sr.match.call(void 0,Gt.TokenType._let)||sr.match.call(void 0,Gt.TokenType._const)||Ite()){if(r&&Mr.expectContextual.call(void 0,Bn.ContextualKeyword._await),sr.next.call(void 0),n3(!0,Wt.state.type!==Gt.TokenType._var),sr.match.call(void 0,Gt.TokenType._in)||Mr.isContextual.call(void 0,Bn.ContextualKeyword._of)){QL(t);return}NE();return}if(xi.parseExpression.call(void 0,!0),sr.match.call(void 0,Gt.TokenType._in)||Mr.isContextual.call(void 0,Bn.ContextualKeyword._of)){QL(t);return}t&&Mr.unexpected.call(void 0),NE()}function Nte(){let t=Wt.state.start;sr.next.call(void 0),Nh(t,!0)}function Fte(){sr.next.call(void 0),xi.parseParenExpression.call(void 0),ko(!1),sr.eat.call(void 0,Gt.TokenType._else)&&ko(!1)}function jte(){sr.next.call(void 0),Mr.isLineTerminator.call(void 0)||(xi.parseExpression.call(void 0),Mr.semicolon.call(void 0))}function Lte(){sr.next.call(void 0),xi.parseParenExpression.call(void 0),Wt.state.scopeDepth++;let t=Wt.state.tokens.length;for(Mr.expect.call(void 0,Gt.TokenType.braceL);!sr.match.call(void 0,Gt.TokenType.braceR)&&!Wt.state.error;)if(sr.match.call(void 0,Gt.TokenType._case)||sr.match.call(void 0,Gt.TokenType._default)){let s=sr.match.call(void 0,Gt.TokenType._case);sr.next.call(void 0),s&&xi.parseExpression.call(void 0),Mr.expect.call(void 0,Gt.TokenType.colon)}else ko(!0);sr.next.call(void 0);let r=Wt.state.tokens.length;Wt.state.scopes.push(new hu.Scope(t,r,!1)),Wt.state.scopeDepth--}function Rte(){sr.next.call(void 0),xi.parseExpression.call(void 0),Mr.semicolon.call(void 0)}function Mte(){fu.parseBindingAtom.call(void 0,!0),Wt.isTypeScriptEnabled&&Is.tsTryParseTypeAnnotation.call(void 0)}function Bte(){if(sr.next.call(void 0),Tp(),sr.match.call(void 0,Gt.TokenType._catch)){sr.next.call(void 0);let t=null;if(sr.match.call(void 0,Gt.TokenType.parenL)&&(Wt.state.scopeDepth++,t=Wt.state.tokens.length,Mr.expect.call(void 0,Gt.TokenType.parenL),Mte(),Mr.expect.call(void 0,Gt.TokenType.parenR)),Tp(),t!=null){let r=Wt.state.tokens.length;Wt.state.scopes.push(new hu.Scope(t,r,!1)),Wt.state.scopeDepth--}}sr.eat.call(void 0,Gt.TokenType._finally)&&Tp()}function tb(t){sr.next.call(void 0),n3(!1,t),Mr.semicolon.call(void 0)}Bs.parseVarStatement=tb;function Ute(){sr.next.call(void 0),xi.parseParenExpression.call(void 0),ko(!1)}function $te(){sr.next.call(void 0)}function Vte(){ko(!0)}function qte(t){Wt.isTypeScriptEnabled?Is.tsParseIdentifierStatement.call(void 0,t):Wt.isFlowEnabled?ga.flowParseIdentifierStatement.call(void 0,t):Mr.semicolon.call(void 0)}function Tp(t=!1,r=0){let s=Wt.state.tokens.length;Wt.state.scopeDepth++,Mr.expect.call(void 0,Gt.TokenType.braceL),r&&(Wt.state.tokens[Wt.state.tokens.length-1].contextId=r),LE(Gt.TokenType.braceR),r&&(Wt.state.tokens[Wt.state.tokens.length-1].contextId=r);let a=Wt.state.tokens.length;Wt.state.scopes.push(new hu.Scope(s,a,t)),Wt.state.scopeDepth--}Bs.parseBlock=Tp;function LE(t){for(;!sr.eat.call(void 0,t)&&!Wt.state.error;)ko(!0)}Bs.parseBlockBody=LE;function NE(){Mr.expect.call(void 0,Gt.TokenType.semi),sr.match.call(void 0,Gt.TokenType.semi)||xi.parseExpression.call(void 0),Mr.expect.call(void 0,Gt.TokenType.semi),sr.match.call(void 0,Gt.TokenType.parenR)||xi.parseExpression.call(void 0),Mr.expect.call(void 0,Gt.TokenType.parenR),ko(!1)}function QL(t){t?Mr.eatContextual.call(void 0,Bn.ContextualKeyword._of):sr.next.call(void 0),xi.parseExpression.call(void 0),Mr.expect.call(void 0,Gt.TokenType.parenR),ko(!1)}function n3(t,r){for(;;){if(Wte(r),sr.eat.call(void 0,Gt.TokenType.eq)){let s=Wt.state.tokens.length-1;xi.parseMaybeAssign.call(void 0,t),Wt.state.tokens[s].rhsEndIndex=Wt.state.tokens.length}if(!sr.eat.call(void 0,Gt.TokenType.comma))break}}function Wte(t){fu.parseBindingAtom.call(void 0,t),Wt.isTypeScriptEnabled?Is.tsAfterParseVarHead.call(void 0):Wt.isFlowEnabled&&ga.flowAfterParseVarHead.call(void 0)}function Nh(t,r,s=!1){sr.match.call(void 0,Gt.TokenType.star)&&sr.next.call(void 0),r&&!s&&!sr.match.call(void 0,Gt.TokenType.name)&&!sr.match.call(void 0,Gt.TokenType._yield)&&Mr.unexpected.call(void 0);let a=null;sr.match.call(void 0,Gt.TokenType.name)&&(r||(a=Wt.state.tokens.length,Wt.state.scopeDepth++),fu.parseBindingIdentifier.call(void 0,!1));let u=Wt.state.tokens.length;Wt.state.scopeDepth++,i3(),xi.parseFunctionBodyAndFinish.call(void 0,t);let e=Wt.state.tokens.length;Wt.state.scopes.push(new hu.Scope(u,e,!0)),Wt.state.scopeDepth--,a!==null&&(Wt.state.scopes.push(new hu.Scope(a,e,!0)),Wt.state.scopeDepth--)}Bs.parseFunction=Nh;function i3(t=!1,r=0){Wt.isTypeScriptEnabled?Is.tsStartParseFunctionParams.call(void 0):Wt.isFlowEnabled&&ga.flowStartParseFunctionParams.call(void 0),Mr.expect.call(void 0,Gt.TokenType.parenL),r&&(Wt.state.tokens[Wt.state.tokens.length-1].contextId=r),fu.parseBindingList.call(void 0,Gt.TokenType.parenR,!1,!1,t,r),r&&(Wt.state.tokens[Wt.state.tokens.length-1].contextId=r)}Bs.parseFunctionParams=i3;function rb(t,r=!1){let s=Wt.getNextContextId.call(void 0);sr.next.call(void 0),Wt.state.tokens[Wt.state.tokens.length-1].contextId=s,Wt.state.tokens[Wt.state.tokens.length-1].isExpression=!t;let a=null;t||(a=Wt.state.tokens.length,Wt.state.scopeDepth++),Gte(t,r),Jte();let u=Wt.state.tokens.length;if(Kte(s),!Wt.state.error&&(Wt.state.tokens[u].contextId=s,Wt.state.tokens[Wt.state.tokens.length-1].contextId=s,a!==null)){let e=Wt.state.tokens.length;Wt.state.scopes.push(new hu.Scope(a,e,!1)),Wt.state.scopeDepth--}}Bs.parseClass=rb;function s3(){return sr.match.call(void 0,Gt.TokenType.eq)||sr.match.call(void 0,Gt.TokenType.semi)||sr.match.call(void 0,Gt.TokenType.braceR)||sr.match.call(void 0,Gt.TokenType.bang)||sr.match.call(void 0,Gt.TokenType.colon)}function a3(){return sr.match.call(void 0,Gt.TokenType.parenL)||sr.match.call(void 0,Gt.TokenType.lessThan)}function Kte(t){for(Mr.expect.call(void 0,Gt.TokenType.braceL);!sr.eat.call(void 0,Gt.TokenType.braceR)&&!Wt.state.error;){if(sr.eat.call(void 0,Gt.TokenType.semi))continue;if(sr.match.call(void 0,Gt.TokenType.at)){t3();continue}let r=Wt.state.start;zte(r,t)}}function zte(t,r){Wt.isTypeScriptEnabled&&Is.tsParseModifiers.call(void 0,[Bn.ContextualKeyword._declare,Bn.ContextualKeyword._public,Bn.ContextualKeyword._protected,Bn.ContextualKeyword._private,Bn.ContextualKeyword._override]);let s=!1;if(sr.match.call(void 0,Gt.TokenType.name)&&Wt.state.contextualKeyword===Bn.ContextualKeyword._static){if(xi.parseIdentifier.call(void 0),a3()){Ih(t,!1);return}else if(s3()){Oh();return}if(Wt.state.tokens[Wt.state.tokens.length-1].type=Gt.TokenType._static,s=!0,sr.match.call(void 0,Gt.TokenType.braceL)){Wt.state.tokens[Wt.state.tokens.length-1].contextId=r,Tp();return}}Hte(t,s,r)}function Hte(t,r,s){if(Wt.isTypeScriptEnabled&&Is.tsTryParseClassMemberWithIsStatic.call(void 0,r))return;if(sr.eat.call(void 0,Gt.TokenType.star)){xp(s),Ih(t,!1);return}xp(s);let a=!1,u=Wt.state.tokens[Wt.state.tokens.length-1];u.contextualKeyword===Bn.ContextualKeyword._constructor&&(a=!0),FE(),a3()?Ih(t,a):s3()?Oh():u.contextualKeyword===Bn.ContextualKeyword._async&&!Mr.isLineTerminator.call(void 0)?(Wt.state.tokens[Wt.state.tokens.length-1].type=Gt.TokenType._async,sr.match.call(void 0,Gt.TokenType.star)&&sr.next.call(void 0),xp(s),FE(),Ih(t,!1)):(u.contextualKeyword===Bn.ContextualKeyword._get||u.contextualKeyword===Bn.ContextualKeyword._set)&&!(Mr.isLineTerminator.call(void 0)&&sr.match.call(void 0,Gt.TokenType.star))?(u.contextualKeyword===Bn.ContextualKeyword._get?Wt.state.tokens[Wt.state.tokens.length-1].type=Gt.TokenType._get:Wt.state.tokens[Wt.state.tokens.length-1].type=Gt.TokenType._set,xp(s),Ih(t,!1)):u.contextualKeyword===Bn.ContextualKeyword._accessor&&!Mr.isLineTerminator.call(void 0)?(xp(s),Oh()):Mr.isLineTerminator.call(void 0)?Oh():Mr.unexpected.call(void 0)}function Ih(t,r){Wt.isTypeScriptEnabled?Is.tsTryParseTypeParameters.call(void 0):Wt.isFlowEnabled&&sr.match.call(void 0,Gt.TokenType.lessThan)&&ga.flowParseTypeParameterDeclaration.call(void 0),xi.parseMethod.call(void 0,t,r)}function xp(t){xi.parsePropertyName.call(void 0,t)}Bs.parseClassPropertyName=xp;function FE(){if(Wt.isTypeScriptEnabled){let t=sr.pushTypeContext.call(void 0,0);sr.eat.call(void 0,Gt.TokenType.question),sr.popTypeContext.call(void 0,t)}}Bs.parsePostMemberNameModifiers=FE;function Oh(){if(Wt.isTypeScriptEnabled?(sr.eatTypeToken.call(void 0,Gt.TokenType.bang),Is.tsTryParseTypeAnnotation.call(void 0)):Wt.isFlowEnabled&&sr.match.call(void 0,Gt.TokenType.colon)&&ga.flowParseTypeAnnotation.call(void 0),sr.match.call(void 0,Gt.TokenType.eq)){let t=Wt.state.tokens.length;sr.next.call(void 0),xi.parseMaybeAssign.call(void 0),Wt.state.tokens[t].rhsEndIndex=Wt.state.tokens.length}Mr.semicolon.call(void 0)}Bs.parseClassProperty=Oh;function Gte(t,r=!1){Wt.isTypeScriptEnabled&&(!t||r)&&Mr.isContextual.call(void 0,Bn.ContextualKeyword._implements)||(sr.match.call(void 0,Gt.TokenType.name)&&fu.parseBindingIdentifier.call(void 0,!0),Wt.isTypeScriptEnabled?Is.tsTryParseTypeParameters.call(void 0):Wt.isFlowEnabled&&sr.match.call(void 0,Gt.TokenType.lessThan)&&ga.flowParseTypeParameterDeclaration.call(void 0))}function Jte(){let t=!1;sr.eat.call(void 0,Gt.TokenType._extends)?(xi.parseExprSubscripts.call(void 0),t=!0):t=!1,Wt.isTypeScriptEnabled?Is.tsAfterParseClassSuper.call(void 0,t):Wt.isFlowEnabled&&ga.flowAfterParseClassSuper.call(void 0,t)}function o3(){let t=Wt.state.tokens.length-1;Wt.isTypeScriptEnabled&&Is.tsTryParseExport.call(void 0)||(Zte()?ere():Qte()?(xi.parseIdentifier.call(void 0),sr.match.call(void 0,Gt.TokenType.comma)&&sr.lookaheadType.call(void 0)===Gt.TokenType.star?(Mr.expect.call(void 0,Gt.TokenType.comma),Mr.expect.call(void 0,Gt.TokenType.star),Mr.expectContextual.call(void 0,Bn.ContextualKeyword._as),xi.parseIdentifier.call(void 0)):l3(),Fh()):sr.eat.call(void 0,Gt.TokenType._default)?Xte():rre()?Yte():(RE(),Fh()),Wt.state.tokens[t].rhsEndIndex=Wt.state.tokens.length)}Bs.parseExport=o3;function Xte(){if(Wt.isTypeScriptEnabled&&Is.tsTryParseExportDefaultExpression.call(void 0)||Wt.isFlowEnabled&&ga.flowTryParseExportDefaultExpression.call(void 0))return;let t=Wt.state.start;sr.eat.call(void 0,Gt.TokenType._function)?Nh(t,!0,!0):Mr.isContextual.call(void 0,Bn.ContextualKeyword._async)&&sr.lookaheadType.call(void 0)===Gt.TokenType._function?(Mr.eatContextual.call(void 0,Bn.ContextualKeyword._async),sr.eat.call(void 0,Gt.TokenType._function),Nh(t,!0,!0)):sr.match.call(void 0,Gt.TokenType._class)?rb(!0,!0):sr.match.call(void 0,Gt.TokenType.at)?(jE(),rb(!0,!0)):(xi.parseMaybeAssign.call(void 0),Mr.semicolon.call(void 0))}function Yte(){Wt.isTypeScriptEnabled?Is.tsParseExportDeclaration.call(void 0):Wt.isFlowEnabled?ga.flowParseExportDeclaration.call(void 0):ko(!0)}function Qte(){if(Wt.isTypeScriptEnabled&&Is.tsIsDeclarationStart.call(void 0))return!1;if(Wt.isFlowEnabled&&ga.flowShouldDisallowExportDefaultSpecifier.call(void 0))return!1;if(sr.match.call(void 0,Gt.TokenType.name))return Wt.state.contextualKeyword!==Bn.ContextualKeyword._async;if(!sr.match.call(void 0,Gt.TokenType._default))return!1;let t=sr.nextTokenStart.call(void 0),r=sr.lookaheadTypeAndKeyword.call(void 0),s=r.type===Gt.TokenType.name&&r.contextualKeyword===Bn.ContextualKeyword._from;if(r.type===Gt.TokenType.comma)return!0;if(s){let a=Wt.input.charCodeAt(sr.nextTokenStartSince.call(void 0,t+4));return a===YL.charCodes.quotationMark||a===YL.charCodes.apostrophe}return!1}function l3(){sr.eat.call(void 0,Gt.TokenType.comma)&&RE()}function Fh(){Mr.eatContextual.call(void 0,Bn.ContextualKeyword._from)&&(xi.parseExprAtom.call(void 0),p3()),Mr.semicolon.call(void 0)}Bs.parseExportFrom=Fh;function Zte(){return Wt.isFlowEnabled?ga.flowShouldParseExportStar.call(void 0):sr.match.call(void 0,Gt.TokenType.star)}function ere(){Wt.isFlowEnabled?ga.flowParseExportStar.call(void 0):u3()}function u3(){Mr.expect.call(void 0,Gt.TokenType.star),Mr.isContextual.call(void 0,Bn.ContextualKeyword._as)?tre():Fh()}Bs.baseParseExportStar=u3;function tre(){sr.next.call(void 0),Wt.state.tokens[Wt.state.tokens.length-1].type=Gt.TokenType._as,xi.parseIdentifier.call(void 0),l3(),Fh()}function rre(){return Wt.isTypeScriptEnabled&&Is.tsIsDeclarationStart.call(void 0)||Wt.isFlowEnabled&&ga.flowShouldParseExportDeclaration.call(void 0)||Wt.state.type===Gt.TokenType._var||Wt.state.type===Gt.TokenType._const||Wt.state.type===Gt.TokenType._let||Wt.state.type===Gt.TokenType._function||Wt.state.type===Gt.TokenType._class||Mr.isContextual.call(void 0,Bn.ContextualKeyword._async)||sr.match.call(void 0,Gt.TokenType.at)}function RE(){let t=!0;for(Mr.expect.call(void 0,Gt.TokenType.braceL);!sr.eat.call(void 0,Gt.TokenType.braceR)&&!Wt.state.error;){if(t)t=!1;else if(Mr.expect.call(void 0,Gt.TokenType.comma),sr.eat.call(void 0,Gt.TokenType.braceR))break;nre()}}Bs.parseExportSpecifiers=RE;function nre(){if(Wt.isTypeScriptEnabled){Is.tsParseExportSpecifier.call(void 0);return}xi.parseIdentifier.call(void 0),Wt.state.tokens[Wt.state.tokens.length-1].identifierRole=sr.IdentifierRole.ExportAccess,Mr.eatContextual.call(void 0,Bn.ContextualKeyword._as)&&xi.parseIdentifier.call(void 0)}function ire(){let t=Wt.state.snapshot();return Mr.expectContextual.call(void 0,Bn.ContextualKeyword._module),Mr.eatContextual.call(void 0,Bn.ContextualKeyword._from)?Mr.isContextual.call(void 0,Bn.ContextualKeyword._from)?(Wt.state.restoreFromSnapshot(t),!0):(Wt.state.restoreFromSnapshot(t),!1):sr.match.call(void 0,Gt.TokenType.comma)?(Wt.state.restoreFromSnapshot(t),!1):(Wt.state.restoreFromSnapshot(t),!0)}function sre(){Mr.isContextual.call(void 0,Bn.ContextualKeyword._module)&&ire()&&sr.next.call(void 0)}function c3(){if(Wt.isTypeScriptEnabled&&sr.match.call(void 0,Gt.TokenType.name)&&sr.lookaheadType.call(void 0)===Gt.TokenType.eq){Is.tsParseImportEqualsDeclaration.call(void 0);return}if(Wt.isTypeScriptEnabled&&Mr.isContextual.call(void 0,Bn.ContextualKeyword._type)){let t=sr.lookaheadTypeAndKeyword.call(void 0);if(t.type===Gt.TokenType.name&&t.contextualKeyword!==Bn.ContextualKeyword._from){if(Mr.expectContextual.call(void 0,Bn.ContextualKeyword._type),sr.lookaheadType.call(void 0)===Gt.TokenType.eq){Is.tsParseImportEqualsDeclaration.call(void 0);return}}else(t.type===Gt.TokenType.star||t.type===Gt.TokenType.braceL)&&Mr.expectContextual.call(void 0,Bn.ContextualKeyword._type)}sr.match.call(void 0,Gt.TokenType.string)||(sre(),ore(),Mr.expectContextual.call(void 0,Bn.ContextualKeyword._from)),xi.parseExprAtom.call(void 0),p3(),Mr.semicolon.call(void 0)}Bs.parseImport=c3;function are(){return sr.match.call(void 0,Gt.TokenType.name)}function ZL(){fu.parseImportedIdentifier.call(void 0)}function ore(){Wt.isFlowEnabled&&ga.flowStartParseImportSpecifiers.call(void 0);let t=!0;if(!(are()&&(ZL(),!sr.eat.call(void 0,Gt.TokenType.comma)))){if(sr.match.call(void 0,Gt.TokenType.star)){sr.next.call(void 0),Mr.expectContextual.call(void 0,Bn.ContextualKeyword._as),ZL();return}for(Mr.expect.call(void 0,Gt.TokenType.braceL);!sr.eat.call(void 0,Gt.TokenType.braceR)&&!Wt.state.error;){if(t)t=!1;else if(sr.eat.call(void 0,Gt.TokenType.colon)&&Mr.unexpected.call(void 0,"ES2015 named imports do not destructure. Use another statement for destructuring after the import."),Mr.expect.call(void 0,Gt.TokenType.comma),sr.eat.call(void 0,Gt.TokenType.braceR))break;lre()}}}function lre(){if(Wt.isTypeScriptEnabled){Is.tsParseImportSpecifier.call(void 0);return}if(Wt.isFlowEnabled){ga.flowParseImportSpecifier.call(void 0);return}fu.parseImportedIdentifier.call(void 0),Mr.isContextual.call(void 0,Bn.ContextualKeyword._as)&&(Wt.state.tokens[Wt.state.tokens.length-1].identifierRole=sr.IdentifierRole.ImportAccess,sr.next.call(void 0),fu.parseImportedIdentifier.call(void 0))}function p3(){(sr.match.call(void 0,Gt.TokenType._with)||Mr.isContextual.call(void 0,Bn.ContextualKeyword._assert)&&!Mr.hasPrecedingLineBreak.call(void 0))&&(sr.next.call(void 0),xi.parseObj.call(void 0,!1,!1))}});var f3=ct(UE=>{"use strict";Object.defineProperty(UE,"__esModule",{value:!0});var d3=$s(),h3=Va(),BE=qa(),ure=Ph();function cre(){return BE.state.pos===0&&BE.input.charCodeAt(0)===h3.charCodes.numberSign&&BE.input.charCodeAt(1)===h3.charCodes.exclamationMark&&d3.skipLineComment.call(void 0,2),d3.nextToken.call(void 0),ure.parseTopLevel.call(void 0)}UE.parseFile=cre});var ME=ct(ib=>{"use strict";Object.defineProperty(ib,"__esModule",{value:!0});var nb=qa(),pre=f3(),$E=class{constructor(r,s){this.tokens=r,this.scopes=s}};ib.File=$E;function dre(t,r,s,a){if(a&&s)throw new Error("Cannot combine flow and typescript plugins.");nb.initParser.call(void 0,t,r,s,a);let u=pre.parseFile.call(void 0);if(nb.state.error)throw nb.augmentError.call(void 0,nb.state.error);return u}ib.parse=dre});var m3=ct(VE=>{"use strict";Object.defineProperty(VE,"__esModule",{value:!0});var hre=Hs();function fre(t){let r=t.currentIndex(),s=0,a=t.currentToken();do{let u=t.tokens[r];if(u.isOptionalChainStart&&s++,u.isOptionalChainEnd&&s--,s+=u.numNullishCoalesceStarts,s-=u.numNullishCoalesceEnds,u.contextualKeyword===hre.ContextualKeyword._await&&u.identifierRole==null&&u.scopeDepth===a.scopeDepth)return!0;r+=1}while(s>0&&r<t.tokens.length);return!1}VE.default=fre});var y3=ct(WE=>{"use strict";Object.defineProperty(WE,"__esModule",{value:!0});function mre(t){return t&&t.__esModule?t:{default:t}}var sb=si(),yre=m3(),bre=mre(yre),qE=class t{__init(){this.resultCode=""}__init2(){this.resultMappings=new Array(this.tokens.length)}__init3(){this.tokenIndex=0}constructor(r,s,a,u,e){this.code=r,this.tokens=s,this.isFlowEnabled=a,this.disableESTransforms=u,this.helperManager=e,t.prototype.__init.call(this),t.prototype.__init2.call(this),t.prototype.__init3.call(this)}snapshot(){return{resultCode:this.resultCode,tokenIndex:this.tokenIndex}}restoreToSnapshot(r){this.resultCode=r.resultCode,this.tokenIndex=r.tokenIndex}dangerouslyGetAndRemoveCodeSinceSnapshot(r){let s=this.resultCode.slice(r.resultCode.length);return this.resultCode=r.resultCode,s}reset(){this.resultCode="",this.resultMappings=new Array(this.tokens.length),this.tokenIndex=0}matchesContextualAtIndex(r,s){return this.matches1AtIndex(r,sb.TokenType.name)&&this.tokens[r].contextualKeyword===s}identifierNameAtIndex(r){return this.identifierNameForToken(this.tokens[r])}identifierNameAtRelativeIndex(r){return this.identifierNameForToken(this.tokenAtRelativeIndex(r))}identifierName(){return this.identifierNameForToken(this.currentToken())}identifierNameForToken(r){return this.code.slice(r.start,r.end)}rawCodeForToken(r){return this.code.slice(r.start,r.end)}stringValueAtIndex(r){return this.stringValueForToken(this.tokens[r])}stringValue(){return this.stringValueForToken(this.currentToken())}stringValueForToken(r){return this.code.slice(r.start+1,r.end-1)}matches1AtIndex(r,s){return this.tokens[r].type===s}matches2AtIndex(r,s,a){return this.tokens[r].type===s&&this.tokens[r+1].type===a}matches3AtIndex(r,s,a,u){return this.tokens[r].type===s&&this.tokens[r+1].type===a&&this.tokens[r+2].type===u}matches1(r){return this.tokens[this.tokenIndex].type===r}matches2(r,s){return this.tokens[this.tokenIndex].type===r&&this.tokens[this.tokenIndex+1].type===s}matches3(r,s,a){return this.tokens[this.tokenIndex].type===r&&this.tokens[this.tokenIndex+1].type===s&&this.tokens[this.tokenIndex+2].type===a}matches4(r,s,a,u){return this.tokens[this.tokenIndex].type===r&&this.tokens[this.tokenIndex+1].type===s&&this.tokens[this.tokenIndex+2].type===a&&this.tokens[this.tokenIndex+3].type===u}matches5(r,s,a,u,e){return this.tokens[this.tokenIndex].type===r&&this.tokens[this.tokenIndex+1].type===s&&this.tokens[this.tokenIndex+2].type===a&&this.tokens[this.tokenIndex+3].type===u&&this.tokens[this.tokenIndex+4].type===e}matchesContextual(r){return this.matchesContextualAtIndex(this.tokenIndex,r)}matchesContextIdAndLabel(r,s){return this.matches1(r)&&this.currentToken().contextId===s}previousWhitespaceAndComments(){let r=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&&(r=r.replace(/@flow/g,"")),r}replaceToken(r){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=r,this.appendTokenSuffix(),this.tokenIndex++}replaceTokenTrimmingLeftWhitespace(r){this.resultCode+=this.previousWhitespaceAndComments().replace(/[^\r\n]/g,""),this.appendTokenPrefix(),this.resultMappings[this.tokenIndex]=this.resultCode.length,this.resultCode+=r,this.appendTokenSuffix(),this.tokenIndex++}removeInitialToken(){this.replaceToken("")}removeToken(){this.replaceTokenTrimmingLeftWhitespace("")}removeBalancedCode(){let r=0;for(;!this.isAtEnd();){if(this.matches1(sb.TokenType.braceL))r++;else if(this.matches1(sb.TokenType.braceR)){if(r===0)return;r--}this.removeToken()}}copyExpectedToken(r){if(this.tokens[this.tokenIndex].type!==r)throw new Error(`Expected token ${r}`);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(r){this.resultCode+=this.previousWhitespaceAndComments(),this.appendTokenPrefix(),this.resultCode+=r,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 r=this.currentToken();if((r.numNullishCoalesceStarts||r.isOptionalChainStart)&&(r.isAsyncOperation=bre.default.call(void 0,this)),!this.disableESTransforms){if(r.numNullishCoalesceStarts)for(let s=0;s<r.numNullishCoalesceStarts;s++)r.isAsyncOperation?(this.resultCode+="await ",this.resultCode+=this.helperManager.getHelperName("asyncNullishCoalesce")):this.resultCode+=this.helperManager.getHelperName("nullishCoalesce"),this.resultCode+="(";r.isOptionalChainStart&&(r.isAsyncOperation&&(this.resultCode+="await "),this.tokenIndex>0&&this.tokenAtRelativeIndex(-1).type===sb.TokenType._delete?r.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChainDelete"):this.resultCode+=this.helperManager.getHelperName("optionalChainDelete"):r.isAsyncOperation?this.resultCode+=this.helperManager.getHelperName("asyncOptionalChain"):this.resultCode+=this.helperManager.getHelperName("optionalChain"),this.resultCode+="([")}}appendTokenSuffix(){let r=this.currentToken();if(r.isOptionalChainEnd&&!this.disableESTransforms&&(this.resultCode+="])"),r.numNullishCoalesceEnds&&!this.disableESTransforms)for(let s=0;s<r.numNullishCoalesceEnds;s++)this.resultCode+="))"}appendCode(r){this.resultCode+=r}currentToken(){return this.tokens[this.tokenIndex]}currentTokenCode(){let r=this.currentToken();return this.code.slice(r.start,r.end)}tokenAtRelativeIndex(r){return this.tokens[this.tokenIndex+r]}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}};WE.default=qE});var v3=ct(zE=>{"use strict";Object.defineProperty(zE,"__esModule",{value:!0});var b3=Hs(),pi=si();function gre(t,r,s,a){let u=r.snapshot(),e=vre(r),l=[],n=[],c=[],p=null,i=[],o=[],h=r.currentToken().contextId;if(h==null)throw new Error("Expected non-null class context ID on class open-brace.");for(r.nextToken();!r.matchesContextIdAndLabel(pi.TokenType.braceR,h);)if(r.matchesContextual(b3.ContextualKeyword._constructor)&&!r.currentToken().isType)({constructorInitializerStatements:l,constructorInsertPos:p}=g3(r));else if(r.matches1(pi.TokenType.semi))a||o.push({start:r.currentIndex(),end:r.currentIndex()+1}),r.nextToken();else if(r.currentToken().isType)r.nextToken();else{let d=r.currentIndex(),f=!1,b=!1,m=!1;for(;ab(r.currentToken());)r.matches1(pi.TokenType._static)&&(f=!0),r.matches1(pi.TokenType.hash)&&(b=!0),(r.matches1(pi.TokenType._declare)||r.matches1(pi.TokenType._abstract))&&(m=!0),r.nextToken();if(f&&r.matches1(pi.TokenType.braceL)){KE(r,h);continue}if(b){KE(r,h);continue}if(r.matchesContextual(b3.ContextualKeyword._constructor)&&!r.currentToken().isType){({constructorInitializerStatements:l,constructorInsertPos:p}=g3(r));continue}let y=r.currentIndex();if(xre(r),r.matches1(pi.TokenType.lessThan)||r.matches1(pi.TokenType.parenL)){KE(r,h);continue}for(;r.currentToken().isType;)r.nextToken();if(r.matches1(pi.TokenType.eq)){let x=r.currentIndex(),v=r.currentToken().rhsEndIndex;if(v==null)throw new Error("Expected rhsEndIndex on class field assignment.");for(r.nextToken();r.currentIndex()<v;)t.processToken();let E;f?(E=s.claimFreeName("__initStatic"),c.push(E)):(E=s.claimFreeName("__init"),n.push(E)),i.push({initializerName:E,equalsIndex:x,start:y,end:r.currentIndex()})}else(!a||m)&&o.push({start:d,end:r.currentIndex()})}return r.restoreToSnapshot(u),a?{headerInfo:e,constructorInitializerStatements:l,instanceInitializerNames:[],staticInitializerNames:[],constructorInsertPos:p,fields:[],rangesToRemove:o}:{headerInfo:e,constructorInitializerStatements:l,instanceInitializerNames:n,staticInitializerNames:c,constructorInsertPos:p,fields:i,rangesToRemove:o}}zE.default=gre;function KE(t,r){for(t.nextToken();t.currentToken().contextId!==r;)t.nextToken();for(;ab(t.tokenAtRelativeIndex(-1));)t.previousToken()}function vre(t){let r=t.currentToken(),s=r.contextId;if(s==null)throw new Error("Expected context ID on class token.");let a=r.isExpression;if(a==null)throw new Error("Expected isExpression on class token.");let u=null,e=!1;for(t.nextToken(),t.matches1(pi.TokenType.name)&&(u=t.identifierName());!t.matchesContextIdAndLabel(pi.TokenType.braceL,s);)t.matches1(pi.TokenType._extends)&&!t.currentToken().isType&&(e=!0),t.nextToken();return{isExpression:a,className:u,hasSuperclass:e}}function g3(t){let r=[];t.nextToken();let s=t.currentToken().contextId;if(s==null)throw new Error("Expected context ID on open-paren starting constructor params.");for(;!t.matchesContextIdAndLabel(pi.TokenType.parenR,s);)if(t.currentToken().contextId===s){if(t.nextToken(),ab(t.currentToken())){for(t.nextToken();ab(t.currentToken());)t.nextToken();let e=t.currentToken();if(e.type!==pi.TokenType.name)throw new Error("Expected identifier after access modifiers in constructor arg.");let l=t.identifierNameForToken(e);r.push(`this.${l} = ${l}`)}}else t.nextToken();for(t.nextToken();t.currentToken().isType;)t.nextToken();let a=t.currentIndex(),u=!1;for(;!t.matchesContextIdAndLabel(pi.TokenType.braceR,s);){if(!u&&t.matches2(pi.TokenType._super,pi.TokenType.parenL)){t.nextToken();let e=t.currentToken().contextId;if(e==null)throw new Error("Expected a context ID on the super call");for(;!t.matchesContextIdAndLabel(pi.TokenType.parenR,e);)t.nextToken();a=t.currentIndex(),u=!0}t.nextToken()}return t.nextToken(),{constructorInitializerStatements:r,constructorInsertPos:a}}function ab(t){return[pi.TokenType._async,pi.TokenType._get,pi.TokenType._set,pi.TokenType.plus,pi.TokenType.minus,pi.TokenType._readonly,pi.TokenType._static,pi.TokenType._public,pi.TokenType._private,pi.TokenType._protected,pi.TokenType._override,pi.TokenType._abstract,pi.TokenType.star,pi.TokenType._declare,pi.TokenType.hash].includes(t.type)}function xre(t){if(t.matches1(pi.TokenType.bracketL)){let s=t.currentToken().contextId;if(s==null)throw new Error("Expected class context ID on computed name open bracket.");for(;!t.matchesContextIdAndLabel(pi.TokenType.bracketR,s);)t.nextToken();t.nextToken()}else t.nextToken()}});var GE=ct(HE=>{"use strict";Object.defineProperty(HE,"__esModule",{value:!0});var x3=si();function Tre(t){if(t.removeInitialToken(),t.removeToken(),t.removeToken(),t.removeToken(),t.matches1(x3.TokenType.parenL))t.removeToken(),t.removeToken(),t.removeToken();else for(;t.matches1(x3.TokenType.dot);)t.removeToken(),t.removeToken()}HE.default=Tre});var JE=ct(ob=>{"use strict";Object.defineProperty(ob,"__esModule",{value:!0});var Ere=$s(),Sre=si(),wre={typeDeclarations:new Set,valueDeclarations:new Set};ob.EMPTY_DECLARATION_INFO=wre;function _re(t){let r=new Set,s=new Set;for(let a=0;a<t.tokens.length;a++){let u=t.tokens[a];u.type===Sre.TokenType.name&&Ere.isTopLevelDeclaration.call(void 0,u)&&(u.isType?r.add(t.identifierNameForToken(u)):s.add(t.identifierNameForToken(u)))}return{typeDeclarations:r,valueDeclarations:s}}ob.default=_re});var YE=ct(XE=>{"use strict";Object.defineProperty(XE,"__esModule",{value:!0});var Are=Hs(),T3=si();function Pre(t){let r=t.currentIndex();for(;!t.matches1AtIndex(r,T3.TokenType.braceR);)r++;return t.matchesContextualAtIndex(r+1,Are.ContextualKeyword._from)&&t.matches1AtIndex(r+2,T3.TokenType.string)}XE.default=Pre});var ZE=ct(QE=>{"use strict";Object.defineProperty(QE,"__esModule",{value:!0});var Cre=Hs(),lb=si();function kre(t){(t.matches2(lb.TokenType._with,lb.TokenType.braceL)||t.matches2(lb.TokenType.name,lb.TokenType.braceL)&&t.matchesContextual(Cre.ContextualKeyword._assert))&&(t.removeToken(),t.removeToken(),t.removeBalancedCode(),t.removeToken())}QE.removeMaybeImportAttributes=kre});var tS=ct(eS=>{"use strict";Object.defineProperty(eS,"__esModule",{value:!0});var E3=si();function Dre(t,r,s,a){if(!t||r)return!1;let u=s.currentToken();if(u.rhsEndIndex==null)throw new Error("Expected non-null rhsEndIndex on export token.");let e=u.rhsEndIndex-s.currentIndex();if(e!==3&&!(e===4&&s.matches1AtIndex(u.rhsEndIndex-1,E3.TokenType.semi)))return!1;let l=s.tokenAtRelativeIndex(2);if(l.type!==E3.TokenType.name)return!1;let n=s.identifierNameForToken(l);return a.typeDeclarations.has(n)&&!a.valueDeclarations.has(n)}eS.default=Dre});var w3=ct(nS=>{"use strict";Object.defineProperty(nS,"__esModule",{value:!0});function Ep(t){return t&&t.__esModule?t:{default:t}}var ub=$s(),Xu=Hs(),Ht=si(),Ire=GE(),Ore=Ep(Ire),S3=JE(),Nre=Ep(S3),Fre=bh(),jre=Ep(Fre),Lre=YE(),Rre=Ep(Lre),cb=ZE(),Mre=tS(),Bre=Ep(Mre),Ure=ao(),$re=Ep(Ure),rS=class t extends $re.default{__init(){this.hadExport=!1}__init2(){this.hadNamedExport=!1}__init3(){this.hadDefaultExport=!1}constructor(r,s,a,u,e,l,n,c,p,i,o,h){super(),this.rootTransformer=r,this.tokens=s,this.importProcessor=a,this.nameManager=u,this.helperManager=e,this.reactHotLoaderTransformer=l,this.enableLegacyBabel5ModuleInterop=n,this.enableLegacyTypeScriptModuleInterop=c,this.isTypeScriptTransformEnabled=p,this.isFlowTransformEnabled=i,this.preserveDynamicImport=o,this.keepUnusedImports=h,t.prototype.__init.call(this),t.prototype.__init2.call(this),t.prototype.__init3.call(this),this.declarationInfo=p?Nre.default.call(void 0,s):S3.EMPTY_DECLARATION_INFO}getPrefixCode(){let r="";return this.hadExport&&(r+='Object.defineProperty(exports, "__esModule", {value: true});'),r}getSuffixCode(){return this.enableLegacyBabel5ModuleInterop&&this.hadDefaultExport&&!this.hadNamedExport?`
|
|
module.exports = exports.default;
|
|
`:""}process(){return this.tokens.matches3(Ht.TokenType._import,Ht.TokenType.name,Ht.TokenType.eq)?this.processImportEquals():this.tokens.matches1(Ht.TokenType._import)?(this.processImport(),!0):this.tokens.matches2(Ht.TokenType._export,Ht.TokenType.eq)?(this.tokens.replaceToken("module.exports"),!0):this.tokens.matches1(Ht.TokenType._export)&&!this.tokens.currentToken().isType?(this.hadExport=!0,this.processExport()):this.tokens.matches2(Ht.TokenType.name,Ht.TokenType.postIncDec)&&this.processPostIncDec()?!0:this.tokens.matches1(Ht.TokenType.name)||this.tokens.matches1(Ht.TokenType.jsxName)?this.processIdentifier():this.tokens.matches1(Ht.TokenType.eq)?this.processAssignment():this.tokens.matches1(Ht.TokenType.assign)?this.processComplexAssignment():this.tokens.matches1(Ht.TokenType.preIncDec)?this.processPreIncDec():!1}processImportEquals(){let r=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.importProcessor.shouldAutomaticallyElideImportedName(r)?Ore.default.call(void 0,this.tokens):this.tokens.replaceToken("const"),!0}processImport(){if(this.tokens.matches2(Ht.TokenType._import,Ht.TokenType.parenL)){if(this.preserveDynamicImport){this.tokens.copyToken();return}let s=this.enableLegacyTypeScriptModuleInterop?"":`${this.helperManager.getHelperName("interopRequireWildcard")}(`;this.tokens.replaceToken(`Promise.resolve().then(() => ${s}require`);let a=this.tokens.currentToken().contextId;if(a==null)throw new Error("Expected context ID on dynamic import invocation.");for(this.tokens.copyToken();!this.tokens.matchesContextIdAndLabel(Ht.TokenType.parenR,a);)this.rootTransformer.processToken();this.tokens.replaceToken(s?")))":"))");return}if(this.removeImportAndDetectIfShouldElide())this.tokens.removeToken();else{let s=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(s)),this.tokens.appendCode(this.importProcessor.claimImportCode(s))}cb.removeMaybeImportAttributes.call(void 0,this.tokens),this.tokens.matches1(Ht.TokenType.semi)&&this.tokens.removeToken()}removeImportAndDetectIfShouldElide(){if(this.tokens.removeInitialToken(),this.tokens.matchesContextual(Xu.ContextualKeyword._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,Ht.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,Xu.ContextualKeyword._from))return this.removeRemainingImport(),!0;if(this.tokens.matches1(Ht.TokenType.name)||this.tokens.matches1(Ht.TokenType.star))return this.removeRemainingImport(),!1;if(this.tokens.matches1(Ht.TokenType.string))return!1;let r=!1,s=!1;for(;!this.tokens.matches1(Ht.TokenType.string);)(!r&&this.tokens.matches1(Ht.TokenType.braceL)||this.tokens.matches1(Ht.TokenType.comma))&&(this.tokens.removeToken(),this.tokens.matches1(Ht.TokenType.braceR)||(s=!0),(this.tokens.matches2(Ht.TokenType.name,Ht.TokenType.comma)||this.tokens.matches2(Ht.TokenType.name,Ht.TokenType.braceR)||this.tokens.matches4(Ht.TokenType.name,Ht.TokenType.name,Ht.TokenType.name,Ht.TokenType.comma)||this.tokens.matches4(Ht.TokenType.name,Ht.TokenType.name,Ht.TokenType.name,Ht.TokenType.braceR))&&(r=!0)),this.tokens.removeToken();return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!r:this.isFlowTransformEnabled?s&&!r:!1}removeRemainingImport(){for(;!this.tokens.matches1(Ht.TokenType.string);)this.tokens.removeToken()}processIdentifier(){let r=this.tokens.currentToken();if(r.shadowsGlobal)return!1;if(r.identifierRole===ub.IdentifierRole.ObjectShorthand)return this.processObjectShorthand();if(r.identifierRole!==ub.IdentifierRole.Access)return!1;let s=this.importProcessor.getIdentifierReplacement(this.tokens.identifierNameForToken(r));if(!s)return!1;let a=this.tokens.currentIndex()+1;for(;a<this.tokens.tokens.length&&this.tokens.tokens[a].type===Ht.TokenType.parenR;)a++;return this.tokens.tokens[a].type===Ht.TokenType.parenL?this.tokens.tokenAtRelativeIndex(1).type===Ht.TokenType.parenL&&this.tokens.tokenAtRelativeIndex(-1).type!==Ht.TokenType._new?(this.tokens.replaceToken(`${s}.call(void 0, `),this.tokens.removeToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(Ht.TokenType.parenR)):this.tokens.replaceToken(`(0, ${s})`):this.tokens.replaceToken(s),!0}processObjectShorthand(){let r=this.tokens.identifierName(),s=this.importProcessor.getIdentifierReplacement(r);return s?(this.tokens.replaceToken(`${r}: ${s}`),!0):!1}processExport(){if(this.tokens.matches2(Ht.TokenType._export,Ht.TokenType._enum)||this.tokens.matches3(Ht.TokenType._export,Ht.TokenType._const,Ht.TokenType._enum))return this.hadNamedExport=!0,!1;if(this.tokens.matches2(Ht.TokenType._export,Ht.TokenType._default))return this.tokens.matches3(Ht.TokenType._export,Ht.TokenType._default,Ht.TokenType._enum)?(this.hadDefaultExport=!0,!1):(this.processExportDefault(),!0);if(this.tokens.matches2(Ht.TokenType._export,Ht.TokenType.braceL))return this.processExportBindings(),!0;if(this.tokens.matches2(Ht.TokenType._export,Ht.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,Xu.ContextualKeyword._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(Ht.TokenType.braceL)){for(;!this.tokens.matches1(Ht.TokenType.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(Ht.TokenType._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(Xu.ContextualKeyword._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,Ht.TokenType.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),cb.removeMaybeImportAttributes.call(void 0,this.tokens)),!0}if(this.hadNamedExport=!0,this.tokens.matches2(Ht.TokenType._export,Ht.TokenType._var)||this.tokens.matches2(Ht.TokenType._export,Ht.TokenType._let)||this.tokens.matches2(Ht.TokenType._export,Ht.TokenType._const))return this.processExportVar(),!0;if(this.tokens.matches2(Ht.TokenType._export,Ht.TokenType._function)||this.tokens.matches3(Ht.TokenType._export,Ht.TokenType.name,Ht.TokenType._function))return this.processExportFunction(),!0;if(this.tokens.matches2(Ht.TokenType._export,Ht.TokenType._class)||this.tokens.matches3(Ht.TokenType._export,Ht.TokenType._abstract,Ht.TokenType._class)||this.tokens.matches2(Ht.TokenType._export,Ht.TokenType.at))return this.processExportClass(),!0;if(this.tokens.matches2(Ht.TokenType._export,Ht.TokenType.star))return this.processExportStar(),!0;throw new Error("Unrecognized export syntax.")}processAssignment(){let r=this.tokens.currentIndex(),s=this.tokens.tokens[r-1];if(s.isType||s.type!==Ht.TokenType.name||s.shadowsGlobal||r>=2&&this.tokens.matches1AtIndex(r-2,Ht.TokenType.dot)||r>=2&&[Ht.TokenType._var,Ht.TokenType._let,Ht.TokenType._const].includes(this.tokens.tokens[r-2].type))return!1;let a=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(s));return a?(this.tokens.copyToken(),this.tokens.appendCode(` ${a} =`),!0):!1}processComplexAssignment(){let r=this.tokens.currentIndex(),s=this.tokens.tokens[r-1];if(s.type!==Ht.TokenType.name||s.shadowsGlobal||r>=2&&this.tokens.matches1AtIndex(r-2,Ht.TokenType.dot))return!1;let a=this.importProcessor.resolveExportBinding(this.tokens.identifierNameForToken(s));return a?(this.tokens.appendCode(` = ${a}`),this.tokens.copyToken(),!0):!1}processPreIncDec(){let r=this.tokens.currentIndex(),s=this.tokens.tokens[r+1];if(s.type!==Ht.TokenType.name||s.shadowsGlobal||r+2<this.tokens.tokens.length&&(this.tokens.matches1AtIndex(r+2,Ht.TokenType.dot)||this.tokens.matches1AtIndex(r+2,Ht.TokenType.bracketL)||this.tokens.matches1AtIndex(r+2,Ht.TokenType.parenL)))return!1;let a=this.tokens.identifierNameForToken(s),u=this.importProcessor.resolveExportBinding(a);return u?(this.tokens.appendCode(`${u} = `),this.tokens.copyToken(),!0):!1}processPostIncDec(){let r=this.tokens.currentIndex(),s=this.tokens.tokens[r],a=this.tokens.tokens[r+1];if(s.type!==Ht.TokenType.name||s.shadowsGlobal||r>=1&&this.tokens.matches1AtIndex(r-1,Ht.TokenType.dot))return!1;let u=this.tokens.identifierNameForToken(s),e=this.importProcessor.resolveExportBinding(u);if(!e)return!1;let l=this.tokens.rawCodeForToken(a),n=this.importProcessor.getIdentifierReplacement(u)||u;if(l==="++")this.tokens.replaceToken(`(${n} = ${e} = ${n} + 1, ${n} - 1)`);else if(l==="--")this.tokens.replaceToken(`(${n} = ${e} = ${n} - 1, ${n} + 1)`);else throw new Error(`Unexpected operator: ${l}`);return this.tokens.removeToken(),!0}processExportDefault(){let r=!0;if(this.tokens.matches4(Ht.TokenType._export,Ht.TokenType._default,Ht.TokenType._function,Ht.TokenType.name)||this.tokens.matches5(Ht.TokenType._export,Ht.TokenType._default,Ht.TokenType.name,Ht.TokenType._function,Ht.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,Xu.ContextualKeyword._async)){this.tokens.removeInitialToken(),this.tokens.removeToken();let s=this.processNamedFunction();this.tokens.appendCode(` exports.default = ${s};`)}else if(this.tokens.matches4(Ht.TokenType._export,Ht.TokenType._default,Ht.TokenType._class,Ht.TokenType.name)||this.tokens.matches5(Ht.TokenType._export,Ht.TokenType._default,Ht.TokenType._abstract,Ht.TokenType._class,Ht.TokenType.name)||this.tokens.matches3(Ht.TokenType._export,Ht.TokenType._default,Ht.TokenType.at)){this.tokens.removeInitialToken(),this.tokens.removeToken(),this.copyDecorators(),this.tokens.matches1(Ht.TokenType._abstract)&&this.tokens.removeToken();let s=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.default = ${s};`)}else if(Bre.default.call(void 0,this.isTypeScriptTransformEnabled,this.keepUnusedImports,this.tokens,this.declarationInfo))r=!1,this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.removeToken();else if(this.reactHotLoaderTransformer){let s=this.nameManager.claimFreeName("_default");this.tokens.replaceToken(`let ${s}; exports.`),this.tokens.copyToken(),this.tokens.appendCode(` = ${s} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(s)}else this.tokens.replaceToken("exports."),this.tokens.copyToken(),this.tokens.appendCode(" =");r&&(this.hadDefaultExport=!0)}copyDecorators(){for(;this.tokens.matches1(Ht.TokenType.at);)if(this.tokens.copyToken(),this.tokens.matches1(Ht.TokenType.parenL))this.tokens.copyExpectedToken(Ht.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(Ht.TokenType.parenR);else{for(this.tokens.copyExpectedToken(Ht.TokenType.name);this.tokens.matches1(Ht.TokenType.dot);)this.tokens.copyExpectedToken(Ht.TokenType.dot),this.tokens.copyExpectedToken(Ht.TokenType.name);this.tokens.matches1(Ht.TokenType.parenL)&&(this.tokens.copyExpectedToken(Ht.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(Ht.TokenType.parenR))}}processExportVar(){this.isSimpleExportVar()?this.processSimpleExportVar():this.processComplexExportVar()}isSimpleExportVar(){let r=this.tokens.currentIndex();if(r++,r++,!this.tokens.matches1AtIndex(r,Ht.TokenType.name))return!1;for(r++;r<this.tokens.tokens.length&&this.tokens.tokens[r].isType;)r++;return!!this.tokens.matches1AtIndex(r,Ht.TokenType.eq)}processSimpleExportVar(){this.tokens.removeInitialToken(),this.tokens.copyToken();let r=this.tokens.identifierName();for(;!this.tokens.matches1(Ht.TokenType.eq);)this.rootTransformer.processToken();let s=this.tokens.currentToken().rhsEndIndex;if(s==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<s;)this.rootTransformer.processToken();this.tokens.appendCode(`; exports.${r} = ${r}`)}processComplexExportVar(){this.tokens.removeInitialToken(),this.tokens.removeToken();let r=this.tokens.matches1(Ht.TokenType.braceL);r&&this.tokens.appendCode("(");let s=0;for(;;)if(this.tokens.matches1(Ht.TokenType.braceL)||this.tokens.matches1(Ht.TokenType.dollarBraceL)||this.tokens.matches1(Ht.TokenType.bracketL))s++,this.tokens.copyToken();else if(this.tokens.matches1(Ht.TokenType.braceR)||this.tokens.matches1(Ht.TokenType.bracketR))s--,this.tokens.copyToken();else{if(s===0&&!this.tokens.matches1(Ht.TokenType.name)&&!this.tokens.currentToken().isType)break;if(this.tokens.matches1(Ht.TokenType.eq)){let a=this.tokens.currentToken().rhsEndIndex;if(a==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<a;)this.rootTransformer.processToken()}else{let a=this.tokens.currentToken();if(ub.isDeclaration.call(void 0,a)){let u=this.tokens.identifierName(),e=this.importProcessor.getIdentifierReplacement(u);if(e===null)throw new Error(`Expected a replacement for ${u} in \`export var\` syntax.`);ub.isObjectShorthandDeclaration.call(void 0,a)&&(e=`${u}: ${e}`),this.tokens.replaceToken(e)}else this.rootTransformer.processToken()}}if(r){let a=this.tokens.currentToken().rhsEndIndex;if(a==null)throw new Error("Expected = token with an end index.");for(;this.tokens.currentIndex()<a;)this.rootTransformer.processToken();this.tokens.appendCode(")")}}processExportFunction(){this.tokens.replaceToken("");let r=this.processNamedFunction();this.tokens.appendCode(` exports.${r} = ${r};`)}processNamedFunction(){if(this.tokens.matches1(Ht.TokenType._function))this.tokens.copyToken();else if(this.tokens.matches2(Ht.TokenType.name,Ht.TokenType._function)){if(!this.tokens.matchesContextual(Xu.ContextualKeyword._async))throw new Error("Expected async keyword in function export.");this.tokens.copyToken(),this.tokens.copyToken()}if(this.tokens.matches1(Ht.TokenType.star)&&this.tokens.copyToken(),!this.tokens.matches1(Ht.TokenType.name))throw new Error("Expected identifier for exported function name.");let r=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(Ht.TokenType.parenL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(Ht.TokenType.parenR),this.rootTransformer.processPossibleTypeRange(),this.tokens.copyExpectedToken(Ht.TokenType.braceL),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(Ht.TokenType.braceR),r}processExportClass(){this.tokens.removeInitialToken(),this.copyDecorators(),this.tokens.matches1(Ht.TokenType._abstract)&&this.tokens.removeToken();let r=this.rootTransformer.processNamedClass();this.tokens.appendCode(` exports.${r} = ${r};`)}processExportBindings(){this.tokens.removeInitialToken(),this.tokens.removeToken();let r=Rre.default.call(void 0,this.tokens),s=[];for(;;){if(this.tokens.matches1(Ht.TokenType.braceR)){this.tokens.removeToken();break}let a=jre.default.call(void 0,this.tokens);for(;this.tokens.currentIndex()<a.endIndex;)this.tokens.removeToken();if(!(a.isType||!r&&this.shouldElideExportedIdentifier(a.leftName))){let e=a.rightName;e==="default"?this.hadDefaultExport=!0:this.hadNamedExport=!0;let l=a.leftName,n=this.importProcessor.getIdentifierReplacement(l);s.push(`exports.${e} = ${n||l};`)}if(this.tokens.matches1(Ht.TokenType.braceR)){this.tokens.removeToken();break}if(this.tokens.matches2(Ht.TokenType.comma,Ht.TokenType.braceR)){this.tokens.removeToken(),this.tokens.removeToken();break}else if(this.tokens.matches1(Ht.TokenType.comma))this.tokens.removeToken();else throw new Error(`Unexpected token: ${JSON.stringify(this.tokens.currentToken())}`)}if(this.tokens.matchesContextual(Xu.ContextualKeyword._from)){this.tokens.removeToken();let a=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(a)),cb.removeMaybeImportAttributes.call(void 0,this.tokens)}else this.tokens.appendCode(s.join(" "));this.tokens.matches1(Ht.TokenType.semi)&&this.tokens.removeToken()}processExportStar(){for(this.tokens.removeInitialToken();!this.tokens.matches1(Ht.TokenType.string);)this.tokens.removeToken();let r=this.tokens.stringValue();this.tokens.replaceTokenTrimmingLeftWhitespace(this.importProcessor.claimImportCode(r)),cb.removeMaybeImportAttributes.call(void 0,this.tokens),this.tokens.matches1(Ht.TokenType.semi)&&this.tokens.removeToken()}shouldElideExportedIdentifier(r){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.declarationInfo.valueDeclarations.has(r)}};nS.default=rS});var P3=ct(aS=>{"use strict";Object.defineProperty(aS,"__esModule",{value:!0});function Sp(t){return t&&t.__esModule?t:{default:t}}var Dl=Hs(),sn=si(),Vre=GE(),qre=Sp(Vre),A3=JE(),Wre=Sp(A3),Kre=bh(),_3=Sp(Kre),zre=CT(),Hre=YE(),Gre=Sp(Hre),iS=ZE(),Jre=tS(),Xre=Sp(Jre),Yre=ao(),Qre=Sp(Yre),sS=class extends Qre.default{constructor(r,s,a,u,e,l,n,c){super(),this.tokens=r,this.nameManager=s,this.helperManager=a,this.reactHotLoaderTransformer=u,this.isTypeScriptTransformEnabled=e,this.isFlowTransformEnabled=l,this.keepUnusedImports=n,this.nonTypeIdentifiers=e&&!n?zre.getNonTypeIdentifiers.call(void 0,r,c):new Set,this.declarationInfo=e&&!n?Wre.default.call(void 0,r):A3.EMPTY_DECLARATION_INFO,this.injectCreateRequireForImportRequire=!!c.injectCreateRequireForImportRequire}process(){if(this.tokens.matches3(sn.TokenType._import,sn.TokenType.name,sn.TokenType.eq))return this.processImportEquals();if(this.tokens.matches4(sn.TokenType._import,sn.TokenType.name,sn.TokenType.name,sn.TokenType.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,Dl.ContextualKeyword._type)){this.tokens.removeInitialToken();for(let r=0;r<7;r++)this.tokens.removeToken();return!0}if(this.tokens.matches2(sn.TokenType._export,sn.TokenType.eq))return this.tokens.replaceToken("module.exports"),!0;if(this.tokens.matches5(sn.TokenType._export,sn.TokenType._import,sn.TokenType.name,sn.TokenType.name,sn.TokenType.eq)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,Dl.ContextualKeyword._type)){this.tokens.removeInitialToken();for(let r=0;r<8;r++)this.tokens.removeToken();return!0}if(this.tokens.matches1(sn.TokenType._import))return this.processImport();if(this.tokens.matches2(sn.TokenType._export,sn.TokenType._default))return this.processExportDefault();if(this.tokens.matches2(sn.TokenType._export,sn.TokenType.braceL))return this.processNamedExports();if(this.tokens.matches2(sn.TokenType._export,sn.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,Dl.ContextualKeyword._type)){if(this.tokens.removeInitialToken(),this.tokens.removeToken(),this.tokens.matches1(sn.TokenType.braceL)){for(;!this.tokens.matches1(sn.TokenType.braceR);)this.tokens.removeToken();this.tokens.removeToken()}else this.tokens.removeToken(),this.tokens.matches1(sn.TokenType._as)&&(this.tokens.removeToken(),this.tokens.removeToken());return this.tokens.matchesContextual(Dl.ContextualKeyword._from)&&this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,sn.TokenType.string)&&(this.tokens.removeToken(),this.tokens.removeToken(),iS.removeMaybeImportAttributes.call(void 0,this.tokens)),!0}return!1}processImportEquals(){let r=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.shouldAutomaticallyElideImportedName(r)?qre.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(sn.TokenType._import,sn.TokenType.parenL))return!1;let r=this.tokens.snapshot();if(this.removeImportTypeBindings()){for(this.tokens.restoreToSnapshot(r);!this.tokens.matches1(sn.TokenType.string);)this.tokens.removeToken();this.tokens.removeToken(),iS.removeMaybeImportAttributes.call(void 0,this.tokens),this.tokens.matches1(sn.TokenType.semi)&&this.tokens.removeToken()}return!0}removeImportTypeBindings(){if(this.tokens.copyExpectedToken(sn.TokenType._import),this.tokens.matchesContextual(Dl.ContextualKeyword._type)&&!this.tokens.matches1AtIndex(this.tokens.currentIndex()+1,sn.TokenType.comma)&&!this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+1,Dl.ContextualKeyword._from))return!0;if(this.tokens.matches1(sn.TokenType.string))return this.tokens.copyToken(),!1;this.tokens.matchesContextual(Dl.ContextualKeyword._module)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,Dl.ContextualKeyword._from)&&this.tokens.copyToken();let r=!1,s=!1,a=!1;if(this.tokens.matches1(sn.TokenType.name)&&(this.shouldAutomaticallyElideImportedName(this.tokens.identifierName())?(this.tokens.removeToken(),this.tokens.matches1(sn.TokenType.comma)&&this.tokens.removeToken()):(r=!0,this.tokens.copyToken(),this.tokens.matches1(sn.TokenType.comma)&&(a=!0,this.tokens.removeToken()))),this.tokens.matches1(sn.TokenType.star))this.shouldAutomaticallyElideImportedName(this.tokens.identifierNameAtRelativeIndex(2))?(this.tokens.removeToken(),this.tokens.removeToken(),this.tokens.removeToken()):(a&&this.tokens.appendCode(","),r=!0,this.tokens.copyExpectedToken(sn.TokenType.star),this.tokens.copyExpectedToken(sn.TokenType.name),this.tokens.copyExpectedToken(sn.TokenType.name));else if(this.tokens.matches1(sn.TokenType.braceL)){for(a&&this.tokens.appendCode(","),this.tokens.copyToken();!this.tokens.matches1(sn.TokenType.braceR);){s=!0;let u=_3.default.call(void 0,this.tokens);if(u.isType||this.shouldAutomaticallyElideImportedName(u.rightName)){for(;this.tokens.currentIndex()<u.endIndex;)this.tokens.removeToken();this.tokens.matches1(sn.TokenType.comma)&&this.tokens.removeToken()}else{for(r=!0;this.tokens.currentIndex()<u.endIndex;)this.tokens.copyToken();this.tokens.matches1(sn.TokenType.comma)&&this.tokens.copyToken()}}this.tokens.copyExpectedToken(sn.TokenType.braceR)}return this.keepUnusedImports?!1:this.isTypeScriptTransformEnabled?!r:this.isFlowTransformEnabled?s&&!r:!1}shouldAutomaticallyElideImportedName(r){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&!this.nonTypeIdentifiers.has(r)}processExportDefault(){if(Xre.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(sn.TokenType._export,sn.TokenType._default,sn.TokenType._function,sn.TokenType.name)||this.tokens.matches5(sn.TokenType._export,sn.TokenType._default,sn.TokenType.name,sn.TokenType._function,sn.TokenType.name)&&this.tokens.matchesContextualAtIndex(this.tokens.currentIndex()+2,Dl.ContextualKeyword._async)||this.tokens.matches4(sn.TokenType._export,sn.TokenType._default,sn.TokenType._class,sn.TokenType.name)||this.tokens.matches5(sn.TokenType._export,sn.TokenType._default,sn.TokenType._abstract,sn.TokenType._class,sn.TokenType.name))&&this.reactHotLoaderTransformer){let s=this.nameManager.claimFreeName("_default");return this.tokens.replaceToken(`let ${s}; export`),this.tokens.copyToken(),this.tokens.appendCode(` ${s} =`),this.reactHotLoaderTransformer.setExtractedDefaultExportName(s),!0}return!1}processNamedExports(){if(!this.isTypeScriptTransformEnabled)return!1;this.tokens.copyExpectedToken(sn.TokenType._export),this.tokens.copyExpectedToken(sn.TokenType.braceL);let r=Gre.default.call(void 0,this.tokens),s=!1;for(;!this.tokens.matches1(sn.TokenType.braceR);){let a=_3.default.call(void 0,this.tokens);if(a.isType||!r&&this.shouldElideExportedName(a.leftName)){for(;this.tokens.currentIndex()<a.endIndex;)this.tokens.removeToken();this.tokens.matches1(sn.TokenType.comma)&&this.tokens.removeToken()}else{for(s=!0;this.tokens.currentIndex()<a.endIndex;)this.tokens.copyToken();this.tokens.matches1(sn.TokenType.comma)&&this.tokens.copyToken()}}return this.tokens.copyExpectedToken(sn.TokenType.braceR),!this.keepUnusedImports&&r&&!s&&(this.tokens.removeToken(),this.tokens.removeToken(),iS.removeMaybeImportAttributes.call(void 0,this.tokens)),!0}shouldElideExportedName(r){return this.isTypeScriptTransformEnabled&&!this.keepUnusedImports&&this.declarationInfo.typeDeclarations.has(r)&&!this.declarationInfo.valueDeclarations.has(r)}};aS.default=sS});var k3=ct(lS=>{"use strict";Object.defineProperty(lS,"__esModule",{value:!0});function Zre(t){return t&&t.__esModule?t:{default:t}}var C3=Hs(),Ha=si(),ene=ao(),tne=Zre(ene),oS=class extends tne.default{constructor(r,s,a){super(),this.rootTransformer=r,this.tokens=s,this.isImportsTransformEnabled=a}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(Ha.TokenType._enum)?(this.processEnum(),!0):this.tokens.matches2(Ha.TokenType._export,Ha.TokenType._enum)?(this.processNamedExportEnum(),!0):this.tokens.matches3(Ha.TokenType._export,Ha.TokenType._default,Ha.TokenType._enum)?(this.processDefaultExportEnum(),!0):!1}processNamedExportEnum(){if(this.isImportsTransformEnabled){this.tokens.removeInitialToken();let r=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.tokens.appendCode(` exports.${r} = ${r};`)}else this.tokens.copyToken(),this.processEnum()}processDefaultExportEnum(){this.tokens.removeInitialToken(),this.tokens.removeToken();let r=this.tokens.identifierNameAtRelativeIndex(1);this.processEnum(),this.isImportsTransformEnabled?this.tokens.appendCode(` exports.default = ${r};`):this.tokens.appendCode(` export default ${r};`)}processEnum(){this.tokens.replaceToken("const"),this.tokens.copyExpectedToken(Ha.TokenType.name);let r=!1;this.tokens.matchesContextual(C3.ContextualKeyword._of)&&(this.tokens.removeToken(),r=this.tokens.matchesContextual(C3.ContextualKeyword._symbol),this.tokens.removeToken());let s=this.tokens.matches3(Ha.TokenType.braceL,Ha.TokenType.name,Ha.TokenType.eq);this.tokens.appendCode(' = require("flow-enums-runtime")');let a=!r&&!s;for(this.tokens.replaceTokenTrimmingLeftWhitespace(a?".Mirrored([":"({");!this.tokens.matches1(Ha.TokenType.braceR);){if(this.tokens.matches1(Ha.TokenType.ellipsis)){this.tokens.removeToken();break}this.processEnumElement(r,s),this.tokens.matches1(Ha.TokenType.comma)&&this.tokens.copyToken()}this.tokens.replaceToken(a?"]);":"});")}processEnumElement(r,s){if(r){let a=this.tokens.identifierName();this.tokens.copyToken(),this.tokens.appendCode(`: Symbol("${a}")`)}else s?(this.tokens.copyToken(),this.tokens.replaceTokenTrimmingLeftWhitespace(":"),this.tokens.copyToken()):this.tokens.replaceToken(`"${this.tokens.identifierName()}"`)}};lS.default=oS});var D3=ct(cS=>{"use strict";Object.defineProperty(cS,"__esModule",{value:!0});function rne(t){return t&&t.__esModule?t:{default:t}}function nne(t){let r,s=t[0],a=1;for(;a<t.length;){let u=t[a],e=t[a+1];if(a+=2,(u==="optionalAccess"||u==="optionalCall")&&s==null)return;u==="access"||u==="optionalAccess"?(r=s,s=e(s)):(u==="call"||u==="optionalCall")&&(s=e((...l)=>s.call(r,...l)),r=void 0)}return s}var Il=si(),ine=ao(),sne=rne(ine),pb="jest",ane=["mock","unmock","enableAutomock","disableAutomock"],uS=class t extends sne.default{__init(){this.hoistedFunctionNames=[]}constructor(r,s,a,u){super(),this.rootTransformer=r,this.tokens=s,this.nameManager=a,this.importProcessor=u,t.prototype.__init.call(this)}process(){return this.tokens.currentToken().scopeDepth===0&&this.tokens.matches4(Il.TokenType.name,Il.TokenType.dot,Il.TokenType.name,Il.TokenType.parenL)&&this.tokens.identifierName()===pb?nne([this,"access",r=>r.importProcessor,"optionalAccess",r=>r.getGlobalNames,"call",r=>r(),"optionalAccess",r=>r.has,"call",r=>r(pb)])?!1:this.extractHoistedCalls():!1}getHoistedCode(){return this.hoistedFunctionNames.length>0?this.hoistedFunctionNames.map(r=>`${r}();`).join(""):""}extractHoistedCalls(){this.tokens.removeToken();let r=!1;for(;this.tokens.matches3(Il.TokenType.dot,Il.TokenType.name,Il.TokenType.parenL);){let s=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);if(ane.includes(s)){let u=this.nameManager.claimFreeName("__jestHoist");this.hoistedFunctionNames.push(u),this.tokens.replaceToken(`function ${u}(){${pb}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(Il.TokenType.parenR),this.tokens.appendCode(";}"),r=!1}else r?this.tokens.copyToken():this.tokens.replaceToken(`${pb}.`),this.tokens.copyToken(),this.tokens.copyToken(),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(Il.TokenType.parenR),r=!0}return!0}};cS.default=uS});var I3=ct(dS=>{"use strict";Object.defineProperty(dS,"__esModule",{value:!0});function one(t){return t&&t.__esModule?t:{default:t}}var lne=si(),une=ao(),cne=one(une),pS=class extends cne.default{constructor(r){super(),this.tokens=r}process(){if(this.tokens.matches1(lne.TokenType.num)){let r=this.tokens.currentTokenCode();if(r.includes("_"))return this.tokens.replaceToken(r.replace(/_/g,"")),!0}return!1}};dS.default=pS});var N3=ct(fS=>{"use strict";Object.defineProperty(fS,"__esModule",{value:!0});function pne(t){return t&&t.__esModule?t:{default:t}}var O3=si(),dne=ao(),hne=pne(dne),hS=class extends hne.default{constructor(r,s){super(),this.tokens=r,this.nameManager=s}process(){return this.tokens.matches2(O3.TokenType._catch,O3.TokenType.braceL)?(this.tokens.copyToken(),this.tokens.appendCode(` (${this.nameManager.claimFreeName("e")})`),!0):!1}};fS.default=hS});var F3=ct(yS=>{"use strict";Object.defineProperty(yS,"__esModule",{value:!0});function fne(t){return t&&t.__esModule?t:{default:t}}var _a=si(),mne=ao(),yne=fne(mne),mS=class extends yne.default{constructor(r,s){super(),this.tokens=r,this.nameManager=s}process(){if(this.tokens.matches1(_a.TokenType.nullishCoalescing)){let a=this.tokens.currentToken();return this.tokens.tokens[a.nullishStartIndex].isAsyncOperation?this.tokens.replaceTokenTrimmingLeftWhitespace(", async () => ("):this.tokens.replaceTokenTrimmingLeftWhitespace(", () => ("),!0}if(this.tokens.matches1(_a.TokenType._delete)&&this.tokens.tokenAtRelativeIndex(1).isOptionalChainStart)return this.tokens.removeInitialToken(),!0;let s=this.tokens.currentToken().subscriptStartIndex;if(s!=null&&this.tokens.tokens[s].isOptionalChainStart&&this.tokens.tokenAtRelativeIndex(-1).type!==_a.TokenType._super){let a=this.nameManager.claimFreeName("_"),u;if(s>0&&this.tokens.matches1AtIndex(s-1,_a.TokenType._delete)&&this.isLastSubscriptInChain()?u=`${a} => delete ${a}`:u=`${a} => ${a}`,this.tokens.tokens[s].isAsyncOperation&&(u=`async ${u}`),this.tokens.matches2(_a.TokenType.questionDot,_a.TokenType.parenL)||this.tokens.matches2(_a.TokenType.questionDot,_a.TokenType.lessThan))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalCall', ${u}`);else if(this.tokens.matches2(_a.TokenType.questionDot,_a.TokenType.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${u}`);else if(this.tokens.matches1(_a.TokenType.questionDot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'optionalAccess', ${u}.`);else if(this.tokens.matches1(_a.TokenType.dot))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${u}.`);else if(this.tokens.matches1(_a.TokenType.bracketL))this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'access', ${u}[`);else if(this.tokens.matches1(_a.TokenType.parenL))this.justSkippedSuper()&&this.tokens.appendCode(".bind(this)"),this.tokens.replaceTokenTrimmingLeftWhitespace(`, 'call', ${u}(`);else throw new Error("Unexpected subscript operator in optional chain.");return!0}return!1}isLastSubscriptInChain(){let r=0;for(let s=this.tokens.currentIndex()+1;;s++){if(s>=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[s].isOptionalChainStart?r++:this.tokens.tokens[s].isOptionalChainEnd&&r--,r<0)return!0;if(r===0&&this.tokens.tokens[s].subscriptStartIndex!=null)return!1}}justSkippedSuper(){let r=0,s=this.tokens.currentIndex()-1;for(;;){if(s<0)throw new Error("Reached the start of the code while finding the start of the access chain.");if(this.tokens.tokens[s].isOptionalChainStart?r--:this.tokens.tokens[s].isOptionalChainEnd&&r++,r<0)return!1;if(r===0&&this.tokens.tokens[s].subscriptStartIndex!=null)return this.tokens.tokens[s-1].type===_a.TokenType._super;s--}}};yS.default=mS});var L3=ct(gS=>{"use strict";Object.defineProperty(gS,"__esModule",{value:!0});function bne(t){return t&&t.__esModule?t:{default:t}}var j3=$s(),sa=si(),gne=ao(),vne=bne(gne),bS=class extends vne.default{constructor(r,s,a,u){super(),this.rootTransformer=r,this.tokens=s,this.importProcessor=a,this.options=u}process(){let r=this.tokens.currentIndex();if(this.tokens.identifierName()==="createReactClass"){let s=this.importProcessor&&this.importProcessor.getIdentifierReplacement("createReactClass");return s?this.tokens.replaceToken(`(0, ${s})`):this.tokens.copyToken(),this.tryProcessCreateClassCall(r),!0}if(this.tokens.matches3(sa.TokenType.name,sa.TokenType.dot,sa.TokenType.name)&&this.tokens.identifierName()==="React"&&this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+2)==="createClass"){let s=this.importProcessor&&this.importProcessor.getIdentifierReplacement("React")||"React";return s?(this.tokens.replaceToken(s),this.tokens.copyToken(),this.tokens.copyToken()):(this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.copyToken()),this.tryProcessCreateClassCall(r),!0}return!1}tryProcessCreateClassCall(r){let s=this.findDisplayName(r);s&&this.classNeedsDisplayName()&&(this.tokens.copyExpectedToken(sa.TokenType.parenL),this.tokens.copyExpectedToken(sa.TokenType.braceL),this.tokens.appendCode(`displayName: '${s}',`),this.rootTransformer.processBalancedCode(),this.tokens.copyExpectedToken(sa.TokenType.braceR),this.tokens.copyExpectedToken(sa.TokenType.parenR))}findDisplayName(r){return r<2?null:this.tokens.matches2AtIndex(r-2,sa.TokenType.name,sa.TokenType.eq)?this.tokens.identifierNameAtIndex(r-2):r>=2&&this.tokens.tokens[r-2].identifierRole===j3.IdentifierRole.ObjectKey?this.tokens.identifierNameAtIndex(r-2):this.tokens.matches2AtIndex(r-2,sa.TokenType._export,sa.TokenType._default)?this.getDisplayNameFromFilename():null}getDisplayNameFromFilename(){let s=(this.options.filePath||"unknown").split("/"),a=s[s.length-1],u=a.lastIndexOf("."),e=u===-1?a:a.slice(0,u);return e==="index"&&s[s.length-2]?s[s.length-2]:e}classNeedsDisplayName(){let r=this.tokens.currentIndex();if(!this.tokens.matches2(sa.TokenType.parenL,sa.TokenType.braceL))return!1;let s=r+1,a=this.tokens.tokens[s].contextId;if(a==null)throw new Error("Expected non-null context ID on object open-brace.");for(;r<this.tokens.tokens.length;r++){let u=this.tokens.tokens[r];if(u.type===sa.TokenType.braceR&&u.contextId===a){r++;break}if(this.tokens.identifierNameAtIndex(r)==="displayName"&&this.tokens.tokens[r].identifierRole===j3.IdentifierRole.ObjectKey&&u.contextId===a)return!1}if(r===this.tokens.tokens.length)throw new Error("Unexpected end of input when processing React class.");return this.tokens.matches1AtIndex(r,sa.TokenType.parenR)||this.tokens.matches2AtIndex(r,sa.TokenType.comma,sa.TokenType.parenR)}};gS.default=bS});var M3=ct(xS=>{"use strict";Object.defineProperty(xS,"__esModule",{value:!0});function xne(t){return t&&t.__esModule?t:{default:t}}var R3=$s(),Tne=ao(),Ene=xne(Tne),vS=class t extends Ene.default{__init(){this.extractedDefaultExportName=null}constructor(r,s){super(),this.tokens=r,this.filePath=s,t.prototype.__init.call(this)}setExtractedDefaultExportName(r){this.extractedDefaultExportName=r}getPrefixCode(){return`
|
|
(function () {
|
|
var enterModule = require('react-hot-loader').enterModule;
|
|
enterModule && enterModule(module);
|
|
})();`.replace(/\s+/g," ").trim()}getSuffixCode(){let r=new Set;for(let a of this.tokens.tokens)!a.isType&&R3.isTopLevelDeclaration.call(void 0,a)&&a.identifierRole!==R3.IdentifierRole.ImportDeclaration&&r.add(this.tokens.identifierNameForToken(a));let s=Array.from(r).map(a=>({variableName:a,uniqueLocalName:a}));return this.extractedDefaultExportName&&s.push({variableName:this.extractedDefaultExportName,uniqueLocalName:"default"}),`
|
|
;(function () {
|
|
var reactHotLoader = require('react-hot-loader').default;
|
|
var leaveModule = require('react-hot-loader').leaveModule;
|
|
if (!reactHotLoader) {
|
|
return;
|
|
}
|
|
${s.map(({variableName:a,uniqueLocalName:u})=>` reactHotLoader.register(${a}, "${u}", ${JSON.stringify(this.filePath||"")});`).join(`
|
|
`)}
|
|
leaveModule(module);
|
|
})();`}process(){return!1}};xS.default=vS});var U3=ct(TS=>{"use strict";Object.defineProperty(TS,"__esModule",{value:!0});var B3=lp(),Sne=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 wne(t){if(t.length===0||!B3.IS_IDENTIFIER_START[t.charCodeAt(0)])return!1;for(let r=1;r<t.length;r++)if(!B3.IS_IDENTIFIER_CHAR[t.charCodeAt(r)])return!1;return!Sne.has(t)}TS.default=wne});var q3=ct(SS=>{"use strict";Object.defineProperty(SS,"__esModule",{value:!0});function V3(t){return t&&t.__esModule?t:{default:t}}var Ri=si(),_ne=U3(),$3=V3(_ne),Ane=ao(),Pne=V3(Ane),ES=class extends Pne.default{constructor(r,s,a){super(),this.rootTransformer=r,this.tokens=s,this.isImportsTransformEnabled=a}process(){return this.rootTransformer.processPossibleArrowParamEnd()||this.rootTransformer.processPossibleAsyncArrowWithTypeParams()||this.rootTransformer.processPossibleTypeRange()?!0:this.tokens.matches1(Ri.TokenType._public)||this.tokens.matches1(Ri.TokenType._protected)||this.tokens.matches1(Ri.TokenType._private)||this.tokens.matches1(Ri.TokenType._abstract)||this.tokens.matches1(Ri.TokenType._readonly)||this.tokens.matches1(Ri.TokenType._override)||this.tokens.matches1(Ri.TokenType.nonNullAssertion)?(this.tokens.removeInitialToken(),!0):this.tokens.matches1(Ri.TokenType._enum)||this.tokens.matches2(Ri.TokenType._const,Ri.TokenType._enum)?(this.processEnum(),!0):this.tokens.matches2(Ri.TokenType._export,Ri.TokenType._enum)||this.tokens.matches3(Ri.TokenType._export,Ri.TokenType._const,Ri.TokenType._enum)?(this.processEnum(!0),!0):!1}processEnum(r=!1){for(this.tokens.removeInitialToken();this.tokens.matches1(Ri.TokenType._const)||this.tokens.matches1(Ri.TokenType._enum);)this.tokens.removeToken();let s=this.tokens.identifierName();this.tokens.removeToken(),r&&!this.isImportsTransformEnabled&&this.tokens.appendCode("export "),this.tokens.appendCode(`var ${s}; (function (${s})`),this.tokens.copyExpectedToken(Ri.TokenType.braceL),this.processEnumBody(s),this.tokens.copyExpectedToken(Ri.TokenType.braceR),r&&this.isImportsTransformEnabled?this.tokens.appendCode(`)(${s} || (exports.${s} = ${s} = {}));`):this.tokens.appendCode(`)(${s} || (${s} = {}));`)}processEnumBody(r){let s=null;for(;!this.tokens.matches1(Ri.TokenType.braceR);){let{nameStringCode:a,variableName:u}=this.extractEnumKeyInfo(this.tokens.currentToken());this.tokens.removeInitialToken(),this.tokens.matches3(Ri.TokenType.eq,Ri.TokenType.string,Ri.TokenType.comma)||this.tokens.matches3(Ri.TokenType.eq,Ri.TokenType.string,Ri.TokenType.braceR)?this.processStringLiteralEnumMember(r,a,u):this.tokens.matches1(Ri.TokenType.eq)?this.processExplicitValueEnumMember(r,a,u):this.processImplicitValueEnumMember(r,a,u,s),this.tokens.matches1(Ri.TokenType.comma)&&this.tokens.removeToken(),u!=null?s=u:s=`${r}[${a}]`}}extractEnumKeyInfo(r){if(r.type===Ri.TokenType.name){let s=this.tokens.identifierNameForToken(r);return{nameStringCode:`"${s}"`,variableName:$3.default.call(void 0,s)?s:null}}else if(r.type===Ri.TokenType.string){let s=this.tokens.stringValueForToken(r);return{nameStringCode:this.tokens.code.slice(r.start,r.end),variableName:$3.default.call(void 0,s)?s:null}}else throw new Error("Expected name or string at beginning of enum element.")}processStringLiteralEnumMember(r,s,a){a!=null?(this.tokens.appendCode(`const ${a}`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(`; ${r}[${s}] = ${a};`)):(this.tokens.appendCode(`${r}[${s}]`),this.tokens.copyToken(),this.tokens.copyToken(),this.tokens.appendCode(";"))}processExplicitValueEnumMember(r,s,a){let u=this.tokens.currentToken().rhsEndIndex;if(u==null)throw new Error("Expected rhsEndIndex on enum assign.");if(a!=null){for(this.tokens.appendCode(`const ${a}`),this.tokens.copyToken();this.tokens.currentIndex()<u;)this.rootTransformer.processToken();this.tokens.appendCode(`; ${r}[${r}[${s}] = ${a}] = ${s};`)}else{for(this.tokens.appendCode(`${r}[${r}[${s}]`),this.tokens.copyToken();this.tokens.currentIndex()<u;)this.rootTransformer.processToken();this.tokens.appendCode(`] = ${s};`)}}processImplicitValueEnumMember(r,s,a,u){let e=u!=null?`${u} + 1`:"0";a!=null&&(this.tokens.appendCode(`const ${a} = ${e}; `),e=a),this.tokens.appendCode(`${r}[${r}[${s}] = ${e}] = ${s};`)}};SS.default=ES});var W3=ct(_S=>{"use strict";Object.defineProperty(_S,"__esModule",{value:!0});function co(t){return t&&t.__esModule?t:{default:t}}var Cne=Hs(),_s=si(),kne=v3(),Dne=co(kne),Ine=w3(),One=co(Ine),Nne=P3(),Fne=co(Nne),jne=k3(),Lne=co(jne),Rne=D3(),Mne=co(Rne),Bne=AT(),Une=co(Bne),$ne=I3(),Vne=co($ne),qne=N3(),Wne=co(qne),Kne=F3(),zne=co(Kne),Hne=L3(),Gne=co(Hne),Jne=M3(),Xne=co(Jne),Yne=q3(),Qne=co(Yne),wS=class t{__init(){this.transformers=[]}__init2(){this.generatedVariables=[]}constructor(r,s,a,u){t.prototype.__init.call(this),t.prototype.__init2.call(this),this.nameManager=r.nameManager,this.helperManager=r.helperManager;let{tokenProcessor:e,importProcessor:l}=r;this.tokens=e,this.isImportsTransformEnabled=s.includes("imports"),this.isReactHotLoaderTransformEnabled=s.includes("react-hot-loader"),this.disableESTransforms=!!u.disableESTransforms,u.disableESTransforms||(this.transformers.push(new zne.default(e,this.nameManager)),this.transformers.push(new Vne.default(e)),this.transformers.push(new Wne.default(e,this.nameManager))),s.includes("jsx")&&(u.jsxRuntime!=="preserve"&&this.transformers.push(new Une.default(this,e,l,this.nameManager,u)),this.transformers.push(new Gne.default(this,e,l,u)));let n=null;if(s.includes("react-hot-loader")){if(!u.filePath)throw new Error("filePath is required when using the react-hot-loader transform.");n=new Xne.default(e,u.filePath),this.transformers.push(n)}if(s.includes("imports")){if(l===null)throw new Error("Expected non-null importProcessor with imports transform enabled.");this.transformers.push(new One.default(this,e,l,this.nameManager,this.helperManager,n,a,!!u.enableLegacyTypeScriptModuleInterop,s.includes("typescript"),s.includes("flow"),!!u.preserveDynamicImport,!!u.keepUnusedImports))}else this.transformers.push(new Fne.default(e,this.nameManager,this.helperManager,n,s.includes("typescript"),s.includes("flow"),!!u.keepUnusedImports,u));s.includes("flow")&&this.transformers.push(new Lne.default(this,e,s.includes("imports"))),s.includes("typescript")&&this.transformers.push(new Qne.default(this,e,s.includes("imports"))),s.includes("jest")&&this.transformers.push(new Mne.default(this,e,this.nameManager,l))}transform(){this.tokens.reset(),this.processBalancedCode();let s=this.isImportsTransformEnabled?'"use strict";':"";for(let l of this.transformers)s+=l.getPrefixCode();s+=this.helperManager.emitHelpers(),s+=this.generatedVariables.map(l=>` var ${l};`).join("");for(let l of this.transformers)s+=l.getHoistedCode();let a="";for(let l of this.transformers)a+=l.getSuffixCode();let u=this.tokens.finish(),{code:e}=u;if(e.startsWith("#!")){let l=e.indexOf(`
|
|
`);return l===-1&&(l=e.length,e+=`
|
|
`),{code:e.slice(0,l+1)+s+e.slice(l+1)+a,mappings:this.shiftMappings(u.mappings,s.length)}}else return{code:s+e+a,mappings:this.shiftMappings(u.mappings,s.length)}}processBalancedCode(){let r=0,s=0;for(;!this.tokens.isAtEnd();){if(this.tokens.matches1(_s.TokenType.braceL)||this.tokens.matches1(_s.TokenType.dollarBraceL))r++;else if(this.tokens.matches1(_s.TokenType.braceR)){if(r===0)return;r--}if(this.tokens.matches1(_s.TokenType.parenL))s++;else if(this.tokens.matches1(_s.TokenType.parenR)){if(s===0)return;s--}this.processToken()}}processToken(){if(this.tokens.matches1(_s.TokenType._class)){this.processClass();return}for(let r of this.transformers)if(r.process())return;this.tokens.copyToken()}processNamedClass(){if(!this.tokens.matches2(_s.TokenType._class,_s.TokenType.name))throw new Error("Expected identifier for exported class name.");let r=this.tokens.identifierNameAtIndex(this.tokens.currentIndex()+1);return this.processClass(),r}processClass(){let r=Dne.default.call(void 0,this,this.tokens,this.nameManager,this.disableESTransforms),s=(r.headerInfo.isExpression||!r.headerInfo.className)&&r.staticInitializerNames.length+r.instanceInitializerNames.length>0,a=r.headerInfo.className;s&&(a=this.nameManager.claimFreeName("_class"),this.generatedVariables.push(a),this.tokens.appendCode(` (${a} =`));let e=this.tokens.currentToken().contextId;if(e==null)throw new Error("Expected class to have a context ID.");for(this.tokens.copyExpectedToken(_s.TokenType._class);!this.tokens.matchesContextIdAndLabel(_s.TokenType.braceL,e);)this.processToken();this.processClassBody(r,a);let l=r.staticInitializerNames.map(n=>`${a}.${n}()`);s?this.tokens.appendCode(`, ${l.map(n=>`${n}, `).join("")}${a})`):r.staticInitializerNames.length>0&&this.tokens.appendCode(` ${l.map(n=>`${n};`).join(" ")}`)}processClassBody(r,s){let{headerInfo:a,constructorInsertPos:u,constructorInitializerStatements:e,fields:l,instanceInitializerNames:n,rangesToRemove:c}=r,p=0,i=0,o=this.tokens.currentToken().contextId;if(o==null)throw new Error("Expected non-null context ID on class.");this.tokens.copyExpectedToken(_s.TokenType.braceL),this.isReactHotLoaderTransformEnabled&&this.tokens.appendCode("__reactstandin__regenerateByEval(key, code) {this[key] = eval(code);}");let h=e.length+n.length>0;if(u===null&&h){let d=this.makeConstructorInitCode(e,n,s);if(a.hasSuperclass){let f=this.nameManager.claimFreeName("args");this.tokens.appendCode(`constructor(...${f}) { super(...${f}); ${d}; }`)}else this.tokens.appendCode(`constructor() { ${d}; }`)}for(;!this.tokens.matchesContextIdAndLabel(_s.TokenType.braceR,o);)if(p<l.length&&this.tokens.currentIndex()===l[p].start){let d=!1;for(this.tokens.matches1(_s.TokenType.bracketL)?this.tokens.copyTokenWithPrefix(`${l[p].initializerName}() {this`):this.tokens.matches1(_s.TokenType.string)||this.tokens.matches1(_s.TokenType.num)?(this.tokens.copyTokenWithPrefix(`${l[p].initializerName}() {this[`),d=!0):this.tokens.copyTokenWithPrefix(`${l[p].initializerName}() {this.`);this.tokens.currentIndex()<l[p].end;)d&&this.tokens.currentIndex()===l[p].equalsIndex&&this.tokens.appendCode("]"),this.processToken();this.tokens.appendCode("}"),p++}else if(i<c.length&&this.tokens.currentIndex()>=c[i].start){for(this.tokens.currentIndex()<c[i].end&&this.tokens.removeInitialToken();this.tokens.currentIndex()<c[i].end;)this.tokens.removeToken();i++}else this.tokens.currentIndex()===u?(this.tokens.copyToken(),h&&this.tokens.appendCode(`;${this.makeConstructorInitCode(e,n,s)};`),this.processToken()):this.processToken();this.tokens.copyExpectedToken(_s.TokenType.braceR)}makeConstructorInitCode(r,s,a){return[...r,...s.map(u=>`${a}.prototype.${u}.call(this)`)].join(";")}processPossibleArrowParamEnd(){if(this.tokens.matches2(_s.TokenType.parenR,_s.TokenType.colon)&&this.tokens.tokenAtRelativeIndex(1).isType){let r=this.tokens.currentIndex()+1;for(;this.tokens.tokens[r].isType;)r++;if(this.tokens.matches1AtIndex(r,_s.TokenType.arrow)){for(this.tokens.removeInitialToken();this.tokens.currentIndex()<r;)this.tokens.removeToken();return this.tokens.replaceTokenTrimmingLeftWhitespace(") =>"),!0}}return!1}processPossibleAsyncArrowWithTypeParams(){if(!this.tokens.matchesContextual(Cne.ContextualKeyword._async)&&!this.tokens.matches1(_s.TokenType._async))return!1;let r=this.tokens.tokenAtRelativeIndex(1);if(r.type!==_s.TokenType.lessThan||!r.isType)return!1;let s=this.tokens.currentIndex()+1;for(;this.tokens.tokens[s].isType;)s++;if(this.tokens.matches1AtIndex(s,_s.TokenType.parenL)){for(this.tokens.replaceToken("async ("),this.tokens.removeInitialToken();this.tokens.currentIndex()<s;)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(r,s){for(let a=0;a<r.length;a++){let u=r[a];u!==void 0&&(r[a]=u+s)}return r}};_S.default=wS});var H3=ct(jh=>{"use strict";jh.__esModule=!0;jh.LinesAndColumns=void 0;var db=`
|
|
`,K3="\r",z3=(function(){function t(r){this.string=r;for(var s=[0],a=0;a<r.length;)switch(r[a]){case db:a+=db.length,s.push(a);break;case K3:a+=K3.length,r[a]===db&&(a+=db.length),s.push(a);break;default:a++;break}this.offsets=s}return t.prototype.locationForIndex=function(r){if(r<0||r>this.string.length)return null;for(var s=0,a=this.offsets;a[s+1]<=r;)s++;var u=r-a[s];return{line:s,column:u}},t.prototype.indexForLocation=function(r){var s=r.line,a=r.column;return s<0||s>=this.offsets.length||a<0||a>this.lengthOfLine(s)?null:this.offsets[s]+a},t.prototype.lengthOfLine=function(r){var s=this.offsets[r],a=r===this.offsets.length-1?this.string.length:this.offsets[r+1];return a-s},t})();jh.LinesAndColumns=z3;jh.default=z3});var G3=ct(AS=>{"use strict";Object.defineProperty(AS,"__esModule",{value:!0});function Zne(t){return t&&t.__esModule?t:{default:t}}var eie=H3(),tie=Zne(eie),rie=si();function nie(t,r){if(r.length===0)return"";let s=Object.keys(r[0]).filter(h=>h!=="type"&&h!=="value"&&h!=="start"&&h!=="end"&&h!=="loc"),a=Object.keys(r[0].type).filter(h=>h!=="label"&&h!=="keyword"),u=["Location","Label","Raw",...s,...a],e=new tie.default(t),l=[u,...r.map(c)],n=u.map(()=>0);for(let h of l)for(let d=0;d<h.length;d++)n[d]=Math.max(n[d],h[d].length);return l.map(h=>h.map((d,f)=>d.padEnd(n[f])).join(" ")).join(`
|
|
`);function c(h){let d=t.slice(h.start,h.end);return[i(h.start,h.end),rie.formatTokenType.call(void 0,h.type),iie(String(d),14),...s.map(f=>p(h[f],f)),...a.map(f=>p(h.type[f],f))]}function p(h,d){return h===!0?d:h===!1||h===null?"":String(h)}function i(h,d){return`${o(h)}-${o(d)}`}function o(h){let d=e.locationForIndex(h);return d?`${d.line+1}:${d.column+1}`:"Unknown"}}AS.default=nie;function iie(t,r){return t.length>r?`${t.slice(0,r-3)}...`:t}});var J3=ct(PS=>{"use strict";Object.defineProperty(PS,"__esModule",{value:!0});function sie(t){return t&&t.__esModule?t:{default:t}}var ja=si(),aie=bh(),oie=sie(aie);function lie(t){let r=new Set;for(let s=0;s<t.tokens.length;s++)t.matches1AtIndex(s,ja.TokenType._import)&&!t.matches3AtIndex(s,ja.TokenType._import,ja.TokenType.name,ja.TokenType.eq)&&uie(t,s,r);return r}PS.default=lie;function uie(t,r,s){r++,!t.matches1AtIndex(r,ja.TokenType.parenL)&&(t.matches1AtIndex(r,ja.TokenType.name)&&(s.add(t.identifierNameAtIndex(r)),r++,t.matches1AtIndex(r,ja.TokenType.comma)&&r++),t.matches1AtIndex(r,ja.TokenType.star)&&(r+=2,s.add(t.identifierNameAtIndex(r)),r++),t.matches1AtIndex(r,ja.TokenType.braceL)&&(r++,cie(t,r,s)))}function cie(t,r,s){for(;;){if(t.matches1AtIndex(r,ja.TokenType.braceR))return;let a=oie.default.call(void 0,t,r);if(r=a.endIndex,a.isType||s.add(a.rightName),t.matches2AtIndex(r,ja.TokenType.comma,ja.TokenType.braceR))return;if(t.matches1AtIndex(r,ja.TokenType.braceR))return;if(t.matches1AtIndex(r,ja.TokenType.comma))r++;else throw new Error(`Unexpected token: ${JSON.stringify(t.tokens[r])}`)}}});var Q3=ct(Lh=>{"use strict";Object.defineProperty(Lh,"__esModule",{value:!0});function mu(t){return t&&t.__esModule?t:{default:t}}var pie=wj(),die=mu(pie),hie=Dj(),fie=mu(hie),mie=Ij(),yie=Fj(),X3=mu(yie),bie=Lj(),gie=mu(bie),vie=eL(),xie=ME(),Tie=y3(),Eie=mu(Tie),Sie=W3(),wie=mu(Sie),_ie=G3(),Aie=mu(_ie),Pie=J3(),Cie=mu(Pie);function kie(){return"3.35.0"}Lh.getVersion=kie;function Die(t,r){vie.validateOptions.call(void 0,r);try{let s=Y3(t,r),u=new wie.default(s,r.transforms,!!r.enableLegacyBabel5ModuleInterop,r).transform(),e={code:u.code};if(r.sourceMapOptions){if(!r.filePath)throw new Error("filePath must be specified when generating a source map.");e={...e,sourceMap:fie.default.call(void 0,u,r.filePath,r.sourceMapOptions,t,s.tokenProcessor.tokens)}}return e}catch(s){throw r.filePath&&(s.message=`Error transforming ${r.filePath}: ${s.message}`),s}}Lh.transform=Die;function Iie(t,r){let s=Y3(t,r).tokenProcessor.tokens;return Aie.default.call(void 0,t,s)}Lh.getFormattedTokens=Iie;function Y3(t,r){let s=r.transforms.includes("jsx"),a=r.transforms.includes("typescript"),u=r.transforms.includes("flow"),e=r.disableESTransforms===!0,l=xie.parse.call(void 0,t,s,a,u),n=l.tokens,c=l.scopes,p=new gie.default(t,n),i=new mie.HelperManager(p),o=new Eie.default(t,n,u,e,i),h=!!r.enableLegacyTypeScriptModuleInterop,d=null;return r.transforms.includes("imports")?(d=new die.default(p,o,h,r,r.transforms.includes("typescript"),!!r.keepUnusedImports,i),d.preprocessTokens(),X3.default.call(void 0,o,c,d.getGlobalNames()),r.transforms.includes("typescript")&&!r.keepUnusedImports&&d.pruneTypeOnlyImports()):r.transforms.includes("typescript")&&!r.keepUnusedImports&&X3.default.call(void 0,o,c,Cie.default.call(void 0,o)),{tokenProcessor:o,scopes:c,nameManager:p,importProcessor:d,helperManager:i}}});var Z3=ct(CS=>{"use strict";Object.defineProperty(CS,"__esModule",{value:!0});function Oie(t,r){for(var s in r)Object.defineProperty(t,s,{enumerable:!0,get:r[s]})}Oie(CS,{useCustomJiti:function(){return Lie},loadConfig:function(){return Mie}});var Nie=jie(HF()),Fie=Q3();function jie(t){return t&&t.__esModule?t:{default:t}}var Rh=null;function Lie(t){Rh=t()}function Rie(){return Rh??(Rh=(0,Nie.default)(__filename,{interopDefault:!0,transform:t=>t.source.includes("import.meta")?aT()(t):(0,Fie.transform)(t.source,{transforms:["typescript","imports"]})}))}function Mie(t){let r=(function(){if(!t)return{};try{return hr(t)}catch{return Rie()(t)}})();var s;return(s=r.default)!==null&&s!==void 0?s:r}});var eR=ct(kS=>{"use strict";Object.defineProperty(kS,"__esModule",{value:!0});Object.defineProperty(kS,"default",{enumerable:!0,get:function(){return Uie}});var Bie=Z3(),Uie=Bie.loadConfig});var rR=ct((ife,tR)=>{var DS=eR();tR.exports=(DS.__esModule?DS:{default:DS}).default});var nR=ct(IS=>{"use strict";Object.defineProperty(IS,"__esModule",{value:!0});Object.defineProperty(IS,"default",{enumerable:!0,get:function(){return $ie}});var $ie=["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","contain","content","forcedColorAdjust"]});var iR=ct(OS=>{"use strict";Object.defineProperty(OS,"__esModule",{value:!0});Object.defineProperty(OS,"default",{enumerable:!0,get:function(){return Vie}});function Vie(t,r){return t===void 0?r:Array.isArray(t)?t:[...new Set(r.filter(a=>t!==!1&&t[a]!==!1).concat(Object.keys(t).filter(a=>t[a]!==!1)))]}});var sR=ct(NS=>{"use strict";Object.defineProperty(NS,"__esModule",{value:!0});Object.defineProperty(NS,"default",{enumerable:!0,get:function(){return Kie}});var qie=Wie(qu());function Wie(t){return t&&t.__esModule?t:{default:t}}function Mh({version:t,from:r,to:s}){qie.default.warn(`${r}-color-renamed`,[`As of Tailwind CSS ${t}, \`${r}\` has been renamed to \`${s}\`.`,"Update your configuration file to silence this warning."])}var Kie={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 Mh({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return Mh({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return Mh({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return Mh({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return Mh({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}});var aR=ct(FS=>{"use strict";Object.defineProperty(FS,"__esModule",{value:!0});Object.defineProperty(FS,"defaults",{enumerable:!0,get:function(){return zie}});function zie(t,...r){for(let u of r){for(let e in u){var s;!(t==null||(s=t.hasOwnProperty)===null||s===void 0)&&s.call(t,e)||(t[e]=u[e])}for(let e of Object.getOwnPropertySymbols(u)){var a;!(t==null||(a=t.hasOwnProperty)===null||a===void 0)&&a.call(t,e)||(t[e]=u[e])}}return t}});var lR=ct(jS=>{"use strict";Object.defineProperty(jS,"__esModule",{value:!0});Object.defineProperty(jS,"normalizeConfig",{enumerable:!0,get:function(){return Jie}});var Hie=Wu(),wp=Gie(qu());function oR(t){if(typeof WeakMap!="function")return null;var r=new WeakMap,s=new WeakMap;return(oR=function(a){return a?s:r})(t)}function Gie(t,r){if(!r&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var s=oR(r);if(s&&s.has(t))return s.get(t);var a={},u=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var e in t)if(e!=="default"&&Object.prototype.hasOwnProperty.call(t,e)){var l=u?Object.getOwnPropertyDescriptor(t,e):null;l&&(l.get||l.set)?Object.defineProperty(a,e,l):a[e]=t[e]}return a.default=t,s&&s.set(t,a),a}function Jie(t){if((()=>{if(t.purge||!t.content||!Array.isArray(t.content)&&!(typeof t.content=="object"&&t.content!==null))return!1;if(Array.isArray(t.content))return t.content.every(a=>typeof a=="string"?!0:!(typeof(a==null?void 0:a.raw)!="string"||a!=null&&a.extension&&typeof(a==null?void 0:a.extension)!="string"));if(typeof t.content=="object"&&t.content!==null){if(Object.keys(t.content).some(a=>!["files","relative","extract","transform"].includes(a)))return!1;if(Array.isArray(t.content.files)){if(!t.content.files.every(a=>typeof a=="string"?!0:!(typeof(a==null?void 0:a.raw)!="string"||a!=null&&a.extension&&typeof(a==null?void 0:a.extension)!="string")))return!1;if(typeof t.content.extract=="object"){for(let a of Object.values(t.content.extract))if(typeof a!="function")return!1}else if(!(t.content.extract===void 0||typeof t.content.extract=="function"))return!1;if(typeof t.content.transform=="object"){for(let a of Object.values(t.content.transform))if(typeof a!="function")return!1}else if(!(t.content.transform===void 0||typeof t.content.transform=="function"))return!1;if(typeof t.content.relative!="boolean"&&typeof t.content.relative<"u")return!1}return!0}return!1})()||wp.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"]),t.safelist=(()=>{var a;let{content:u,purge:e,safelist:l}=t;return Array.isArray(l)?l:Array.isArray(u==null?void 0:u.safelist)?u.safelist:Array.isArray(e==null?void 0:e.safelist)?e.safelist:Array.isArray(e==null||(a=e.options)===null||a===void 0?void 0:a.safelist)?e.options.safelist:[]})(),t.blocklist=(()=>{let{blocklist:a}=t;if(Array.isArray(a)){if(a.every(u=>typeof u=="string"))return a;wp.default.warn("blocklist-invalid",["The `blocklist` option must be an array of strings.","https://tailwindcss.com/docs/content-configuration#discarding-classes"])}return[]})(),typeof t.prefix=="function")wp.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"]),t.prefix="";else{var s;t.prefix=(s=t.prefix)!==null&&s!==void 0?s:""}t.content={relative:(()=>{let{content:a}=t;return a!=null&&a.relative?a.relative:(0,Hie.flagEnabled)(t,"relativeContentPathsByDefault")})(),files:(()=>{let{content:a,purge:u}=t;return Array.isArray(u)?u:Array.isArray(u==null?void 0:u.content)?u.content:Array.isArray(a)?a:Array.isArray(a==null?void 0:a.content)?a.content:Array.isArray(a==null?void 0:a.files)?a.files:[]})(),extract:(()=>{let a=(()=>{var l,n,c,p,i,o,h,d,f,b;return!((l=t.purge)===null||l===void 0)&&l.extract?t.purge.extract:!((n=t.content)===null||n===void 0)&&n.extract?t.content.extract:!((c=t.purge)===null||c===void 0||(p=c.extract)===null||p===void 0)&&p.DEFAULT?t.purge.extract.DEFAULT:!((i=t.content)===null||i===void 0||(o=i.extract)===null||o===void 0)&&o.DEFAULT?t.content.extract.DEFAULT:!((h=t.purge)===null||h===void 0||(d=h.options)===null||d===void 0)&&d.extractors?t.purge.options.extractors:!((f=t.content)===null||f===void 0||(b=f.options)===null||b===void 0)&&b.extractors?t.content.options.extractors:{}})(),u={},e=(()=>{var l,n,c,p;if(!((l=t.purge)===null||l===void 0||(n=l.options)===null||n===void 0)&&n.defaultExtractor)return t.purge.options.defaultExtractor;if(!((c=t.content)===null||c===void 0||(p=c.options)===null||p===void 0)&&p.defaultExtractor)return t.content.options.defaultExtractor})();if(e!==void 0&&(u.DEFAULT=e),typeof a=="function")u.DEFAULT=a;else if(Array.isArray(a))for(let{extensions:l,extractor:n}of a??[])for(let c of l)u[c]=n;else typeof a=="object"&&a!==null&&Object.assign(u,a);return u})(),transform:(()=>{let a=(()=>{var e,l,n,c,p,i;return!((e=t.purge)===null||e===void 0)&&e.transform?t.purge.transform:!((l=t.content)===null||l===void 0)&&l.transform?t.content.transform:!((n=t.purge)===null||n===void 0||(c=n.transform)===null||c===void 0)&&c.DEFAULT?t.purge.transform.DEFAULT:!((p=t.content)===null||p===void 0||(i=p.transform)===null||i===void 0)&&i.DEFAULT?t.content.transform.DEFAULT:{}})(),u={};return typeof a=="function"?u.DEFAULT=a:typeof a=="object"&&a!==null&&Object.assign(u,a),u})()};for(let a of t.content.files)if(typeof a=="string"&&/{([^,]*?)}/g.test(a)){wp.default.warn("invalid-glob-braces",[`The glob pattern ${(0,wp.dim)(a)} in your Tailwind CSS configuration is invalid.`,`Update it to ${(0,wp.dim)(a.replace(/{([^,]*?)}/g,"$1"))} to silence this warning.`]);break}return t}});var uR=ct(RS=>{"use strict";Object.defineProperty(RS,"__esModule",{value:!0});Object.defineProperty(RS,"cloneDeep",{enumerable:!0,get:function(){return LS}});function LS(t){return Array.isArray(t)?t.map(r=>LS(r)):typeof t=="object"&&t!==null?Object.fromEntries(Object.entries(t).map(([r,s])=>[r,LS(s)])):t}});var fR=ct(BS=>{"use strict";Object.defineProperty(BS,"__esModule",{value:!0});Object.defineProperty(BS,"default",{enumerable:!0,get:function(){return hse}});var Xie=Pp(ay()),Yie=Pp(nR()),Qie=Pp(iR()),Zie=Pp(sR()),dR=aR(),cR=Nx(),ese=lR(),_p=Pp(rp()),tse=uR(),rse=ly(),nse=iy(),ise=Pp(Sx());function Pp(t){return t&&t.__esModule?t:{default:t}}function Ap(t){return typeof t=="function"}function Bh(t,...r){let s=r.pop();for(let a of r)for(let u in a){let e=s(t[u],a[u]);e===void 0?(0,_p.default)(t[u])&&(0,_p.default)(a[u])?t[u]=Bh({},t[u],a[u],s):t[u]=a[u]:t[u]=e}return t}var MS={colors:Zie.default,negative(t){return Object.keys(t).filter(r=>t[r]!=="0").reduce((r,s)=>{let a=(0,Xie.default)(t[s]);return a!==void 0&&(r[`-${s}`]=a),r},{})},breakpoints(t){return Object.keys(t).filter(r=>typeof t[r]=="string").reduce((r,s)=>({...r,[`screen-${s}`]:t[s]}),{})}};function sse(t,...r){return Ap(t)?t(...r):t}function ase(t){return t.reduce((r,{extend:s})=>Bh(r,s,(a,u)=>a===void 0?[u]:Array.isArray(a)?[u,...a]:[u,a]),{})}function ose(t){return{...t.reduce((r,s)=>(0,dR.defaults)(r,s),{}),extend:ase(t)}}function pR(t,r){if(Array.isArray(t)&&(0,_p.default)(t[0]))return t.concat(r);if(Array.isArray(r)&&(0,_p.default)(r[0])&&(0,_p.default)(t))return[t,...r];if(Array.isArray(r))return r}function lse({extend:t,...r}){return Bh(r,t,(s,a)=>!Ap(s)&&!a.some(Ap)?Bh({},s,...a,pR):(u,e)=>Bh({},...[s,...a].map(l=>sse(l,u,e)),pR))}function*use(t){let r=(0,cR.toPath)(t);if(r.length===0||(yield r,Array.isArray(t)))return;let s=/^(.*?)\s*\/\s*([^/]+)$/,a=t.match(s);if(a!==null){let[,u,e]=a,l=(0,cR.toPath)(u);l.alpha=e,yield l}}function cse(t){let r=(s,a)=>{for(let u of use(s)){let e=0,l=t;for(;l!=null&&e<u.length;)l=l[u[e++]],l=Ap(l)&&(u.alpha===void 0||e<=u.length-1)?l(r,MS):l;if(l!==void 0){if(u.alpha!==void 0){let n=(0,rse.parseColorFormat)(l);return(0,nse.withAlphaValue)(n,u.alpha,(0,ise.default)(n))}return(0,_p.default)(l)?(0,tse.cloneDeep)(l):l}}return a};return Object.assign(r,{theme:r,...MS}),Object.keys(t).reduce((s,a)=>(s[a]=Ap(t[a])?t[a](r,MS):t[a],s),{})}function hR(t){let r=[];return t.forEach(s=>{r=[...r,s];var a;let u=(a=s==null?void 0:s.plugins)!==null&&a!==void 0?a:[];u.length!==0&&u.forEach(e=>{e.__isOptionsFunction&&(e=e());var l;r=[...r,...hR([(l=e==null?void 0:e.config)!==null&&l!==void 0?l:{}])]})}),r}function pse(t){return[...t].reduceRight((s,a)=>Ap(a)?a({corePlugins:s}):(0,Qie.default)(a,s),Yie.default)}function dse(t){return[...t].reduceRight((s,a)=>[...s,...a],[])}function hse(t){let r=[...hR(t),{prefix:"",important:!1,separator:":"}];var s,a;return(0,ese.normalizeConfig)((0,dR.defaults)({theme:cse(lse(ose(r.map(u=>(s=u==null?void 0:u.theme)!==null&&s!==void 0?s:{})))),corePlugins:pse(r.map(u=>u.corePlugins)),plugins:dse(t.map(u=>(a=u==null?void 0:u.plugins)!==null&&a!==void 0?a:[]))},...r))}});var yR=ct((dfe,mR)=>{mR.exports={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:t})=>({...t("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:t})=>t("blur"),backdropBrightness:({theme:t})=>t("brightness"),backdropContrast:({theme:t})=>t("contrast"),backdropGrayscale:({theme:t})=>t("grayscale"),backdropHueRotate:({theme:t})=>t("hueRotate"),backdropInvert:({theme:t})=>t("invert"),backdropOpacity:({theme:t})=>t("opacity"),backdropSaturate:({theme:t})=>t("saturate"),backdropSepia:({theme:t})=>t("sepia"),backgroundColor:({theme:t})=>t("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:t})=>t("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:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:t})=>({...t("colors"),DEFAULT:t("colors.gray.200","currentColor")}),borderOpacity:({theme:t})=>t("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:t})=>({...t("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:t})=>t("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:t})=>t("colors"),colors:({colors:t})=>({inherit:t.inherit,current:t.current,transparent:t.transparent,black:t.black,white:t.white,slate:t.slate,gray:t.gray,zinc:t.zinc,neutral:t.neutral,stone:t.stone,red:t.red,orange:t.orange,amber:t.amber,yellow:t.yellow,lime:t.lime,green:t.green,emerald:t.emerald,teal:t.teal,cyan:t.cyan,sky:t.sky,blue:t.blue,indigo:t.indigo,violet:t.violet,purple:t.purple,fuchsia:t.fuchsia,pink:t.pink,rose:t.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:t})=>t("borderColor"),divideOpacity:({theme:t})=>t("borderOpacity"),divideWidth:({theme:t})=>t("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:t})=>({none:"none",...t("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:t})=>({auto:"auto",...t("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:t})=>t("spacing"),gradientColorStops:({theme:t})=>t("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:t})=>({auto:"auto",...t("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:t})=>({auto:"auto",...t("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:t})=>({auto:"auto",...t("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:t})=>({...t("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:t,breakpoints:r})=>({...t("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",...r(t("screens"))}),minHeight:({theme:t})=>({...t("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:t})=>({...t("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:t})=>t("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:t})=>t("spacing"),placeholderColor:({theme:t})=>t("colors"),placeholderOpacity:({theme:t})=>t("opacity"),ringColor:({theme:t})=>({DEFAULT:t("colors.blue.500","#3b82f6"),...t("colors")}),ringOffsetColor:({theme:t})=>t("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:t})=>({DEFAULT:"0.5",...t("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:t})=>({...t("spacing")}),scrollPadding:({theme:t})=>t("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:t})=>({...t("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:t})=>({none:"none",...t("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:t})=>t("colors"),textDecorationColor:({theme:t})=>t("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:t})=>({...t("spacing")}),textOpacity:({theme:t})=>t("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:t})=>({...t("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:t})=>({auto:"auto",...t("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:t})=>({auto:"auto",...t("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 gR=ct(US=>{"use strict";Object.defineProperty(US,"__esModule",{value:!0});Object.defineProperty(US,"default",{enumerable:!0,get:function(){return bR}});var fse=yse(yR()),mse=Wu();function yse(t){return t&&t.__esModule?t:{default:t}}function bR(t){var r;let s=((r=t==null?void 0:t.presets)!==null&&r!==void 0?r:[fse.default]).slice().reverse().flatMap(e=>bR(e instanceof Function?e():e)),a={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:e})=>({DEFAULT:"#3b82f67f",...e("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},u=Object.keys(a).filter(e=>(0,mse.flagEnabled)(t,e)).map(e=>a[e]);return[t,...u,...s]}});var xR=ct($S=>{"use strict";Object.defineProperty($S,"__esModule",{value:!0});Object.defineProperty($S,"default",{enumerable:!0,get:function(){return vse}});var bse=vR(fR()),gse=vR(gR());function vR(t){return t&&t.__esModule?t:{default:t}}function vse(...t){let[,...r]=(0,gse.default)(t[0]);return(0,bse.default)([...t,...r])}});var ER=ct((mfe,TR)=>{var VS=xR();TR.exports=(VS.__esModule?VS:{default:VS}).default});var DR=ct((Tfe,kR)=>{(()=>{var t={"./node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist lazy recursive":function(u){function e(l){return Promise.resolve().then(function(){var n=Error("Cannot find module '"+l+"'");throw n.code="MODULE_NOT_FOUND",n})}e.keys=()=>[],e.resolve=e,e.id="./node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist lazy recursive",u.exports=e}},r={};function s(u){var e=r[u];if(e!==void 0)return e.exports;var l=r[u]={exports:{}};return t[u](l,l.exports,s),l.exports}s.n=u=>{var e=u&&u.__esModule?()=>u.default:()=>u;return s.d(e,{a:e}),e},s.d=(u,e)=>{for(var l in e)s.o(e,l)&&!s.o(u,l)&&Object.defineProperty(u,l,{enumerable:!0,get:e[l]})},s.o=(u,e)=>Object.prototype.hasOwnProperty.call(u,e);var a={};(()=>{"use strict";var ac,oc,lc,uc,cc,pc,dc,hc,fc,mc,yc,Ml,bc;let u,e,l;s.d(a,{default:()=>sc});let n=hr("node:os");var c,p=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],i=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,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,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,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,229,29,3,0,496,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,16,621,2467,541,1507,4938,6,4191],o="\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-\u1C8A\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-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\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",h={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"},d="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",f={5:d,"5module":d+" export import",6:d+" const class extends export import super"},b=/^in(stanceof)?$/,m=RegExp("["+o+"]"),y=RegExp("["+o+"\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\u0897-\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\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\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\uFF65]");function x(w,Y){for(var me=65536,Ie=0;Ie<Y.length&&!((me+=Y[Ie])>w);Ie+=2)if((me+=Y[Ie+1])>=w)return!0;return!1}function v(w,Y){return w<65?w===36:w<91||(w<97?w===95:w<123||(w<=65535?w>=170&&m.test(String.fromCharCode(w)):Y!==!1&&x(w,i)))}function E(w,Y){return w<48?w===36:w<58||!(w<65)&&(w<91||(w<97?w===95:w<123||(w<=65535?w>=170&&y.test(String.fromCharCode(w)):Y!==!1&&(x(w,i)||x(w,p)))))}var S=function(w,Y){Y===void 0&&(Y={}),this.label=w,this.keyword=Y.keyword,this.beforeExpr=!!Y.beforeExpr,this.startsExpr=!!Y.startsExpr,this.isLoop=!!Y.isLoop,this.isAssign=!!Y.isAssign,this.prefix=!!Y.prefix,this.postfix=!!Y.postfix,this.binop=Y.binop||null,this.updateContext=null};function _(w,Y){return new S(w,{beforeExpr:!0,binop:Y})}var A={beforeExpr:!0},L={startsExpr:!0},j={};function F(w,Y){return Y===void 0&&(Y={}),Y.keyword=w,j[w]=new S(w,Y)}var k={num:new S("num",L),regexp:new S("regexp",L),string:new S("string",L),name:new S("name",L),privateId:new S("privateId",L),eof:new S("eof"),bracketL:new S("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new S("]"),braceL:new S("{",{beforeExpr:!0,startsExpr:!0}),braceR:new S("}"),parenL:new S("(",{beforeExpr:!0,startsExpr:!0}),parenR:new S(")"),comma:new S(",",A),semi:new S(";",A),colon:new S(":",A),dot:new S("."),question:new S("?",A),questionDot:new S("?."),arrow:new S("=>",A),template:new S("template"),invalidTemplate:new S("invalidTemplate"),ellipsis:new S("...",A),backQuote:new S("`",L),dollarBraceL:new S("${",{beforeExpr:!0,startsExpr:!0}),eq:new S("=",{beforeExpr:!0,isAssign:!0}),assign:new S("_=",{beforeExpr:!0,isAssign:!0}),incDec:new S("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new S("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:_("||",1),logicalAND:_("&&",2),bitwiseOR:_("|",3),bitwiseXOR:_("^",4),bitwiseAND:_("&",5),equality:_("==/!=/===/!==",6),relational:_("</>/<=/>=",7),bitShift:_("<</>>/>>>",8),plusMin:new S("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:_("%",10),star:_("*",10),slash:_("/",10),starstar:new S("**",{beforeExpr:!0}),coalesce:_("??",1),_break:F("break"),_case:F("case",A),_catch:F("catch"),_continue:F("continue"),_debugger:F("debugger"),_default:F("default",A),_do:F("do",{isLoop:!0,beforeExpr:!0}),_else:F("else",A),_finally:F("finally"),_for:F("for",{isLoop:!0}),_function:F("function",L),_if:F("if"),_return:F("return",A),_switch:F("switch"),_throw:F("throw",A),_try:F("try"),_var:F("var"),_const:F("const"),_while:F("while",{isLoop:!0}),_with:F("with"),_new:F("new",{beforeExpr:!0,startsExpr:!0}),_this:F("this",L),_super:F("super",L),_class:F("class",L),_extends:F("extends",A),_export:F("export"),_import:F("import",L),_null:F("null",L),_true:F("true",L),_false:F("false",L),_in:F("in",{beforeExpr:!0,binop:7}),_instanceof:F("instanceof",{beforeExpr:!0,binop:7}),_typeof:F("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:F("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:F("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},U=/\r\n?|\n|\u2028|\u2029/,z=RegExp(U.source,"g");function C(w){return w===10||w===13||w===8232||w===8233}function R(w,Y,me){me===void 0&&(me=w.length);for(var Ie=Y;Ie<me;Ie++){var M=w.charCodeAt(Ie);if(C(M))return Ie<me-1&&M===13&&w.charCodeAt(Ie+1)===10?Ie+2:Ie+1}return-1}var G=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,V=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,B=Object.prototype,q=B.hasOwnProperty,K=B.toString,$=Object.hasOwn||function(w,Y){return q.call(w,Y)},W=Array.isArray||function(w){return K.call(w)==="[object Array]"},Z=Object.create(null);function Q(w){return Z[w]||(Z[w]=RegExp("^(?:"+w.replace(/ /g,"|")+")$"))}function X(w){return w<=65535?String.fromCharCode(w):String.fromCharCode(((w-=65536)>>10)+55296,(1023&w)+56320)}var ie=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,oe=function(w,Y){this.line=w,this.column=Y};oe.prototype.offset=function(w){return new oe(this.line,this.column+w)};var be=function(w,Y,me){this.start=Y,this.end=me,w.sourceFile!==null&&(this.source=w.sourceFile)};function Ne(w,Y){for(var me=1,Ie=0;;){var M=R(w,Ie,Y);if(M<0)return new oe(me,Y-Ie);++me,Ie=M}}var Pe={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},Ke=!1;function We(w){var Y={};for(var me in Pe)Y[me]=w&&$(w,me)?w[me]:Pe[me];if(Y.ecmaVersion==="latest"?Y.ecmaVersion=1e8:Y.ecmaVersion==null?(!Ke&&typeof console=="object"&&console.warn&&(Ke=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
Defaulting to 2020, but this will stop working in the future.`)),Y.ecmaVersion=11):Y.ecmaVersion>=2015&&(Y.ecmaVersion-=2009),Y.allowReserved==null&&(Y.allowReserved=Y.ecmaVersion<5),w&&w.allowHashBang!=null||(Y.allowHashBang=Y.ecmaVersion>=14),W(Y.onToken)){var Ie=Y.onToken;Y.onToken=function(M){return Ie.push(M)}}return W(Y.onComment)&&(Y.onComment=Oe(Y,Y.onComment)),Y}function Oe(w,Y){return function(me,Ie,M,O,ue,Ot){var cr={type:me?"Block":"Line",value:Ie,start:M,end:O};w.locations&&(cr.loc=new be(this,ue,Ot)),w.ranges&&(cr.range=[M,O]),Y.push(cr)}}function de(w,Y){return 2|4*!!w|8*!!Y}var xe=function(w,Y,me){this.options=w=We(w),this.sourceFile=w.sourceFile,this.keywords=Q(f[w.ecmaVersion>=6?6:w.sourceType==="module"?"5module":5]);var Ie="";w.allowReserved!==!0&&(Ie=h[w.ecmaVersion>=6?6:w.ecmaVersion===5?5:3],w.sourceType==="module"&&(Ie+=" await")),this.reservedWords=Q(Ie);var M=(Ie?Ie+" ":"")+h.strict;this.reservedWordsStrict=Q(M),this.reservedWordsStrictBind=Q(M+" "+h.strictBind),this.input=String(Y),this.containsEsc=!1,me?(this.pos=me,this.lineStart=this.input.lastIndexOf(`
|
|
`,me-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(U).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=k.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=w.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&&w.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},ye={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}};xe.prototype.parse=function(){var w=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(w)},ye.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},ye.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},ye.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},ye.canAwait.get=function(){for(var w=this.scopeStack.length-1;w>=0;w--){var Y=this.scopeStack[w].flags;if(768&Y)return!1;if(2&Y)return(4&Y)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},ye.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0||this.options.allowSuperOutsideMethod},ye.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},ye.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},ye.allowNewDotTarget.get=function(){for(var w=this.scopeStack.length-1;w>=0;w--){var Y=this.scopeStack[w].flags;if(768&Y||2&Y&&!(16&Y))return!0}return!1},ye.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},xe.extend=function(){for(var w=[],Y=arguments.length;Y--;)w[Y]=arguments[Y];for(var me=this,Ie=0;Ie<w.length;Ie++)me=w[Ie](me);return me},xe.parse=function(w,Y){return new this(Y,w).parse()},xe.parseExpressionAt=function(w,Y,me){var Ie=new this(me,w,Y);return Ie.nextToken(),Ie.parseExpression()},xe.tokenizer=function(w,Y){return new this(Y,w)},Object.defineProperties(xe.prototype,ye);var ve=xe.prototype,he=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;ve.strictDirective=function(w){if(this.options.ecmaVersion<5)return!1;for(;;){V.lastIndex=w,w+=V.exec(this.input)[0].length;var Y=he.exec(this.input.slice(w));if(!Y)return!1;if((Y[1]||Y[2])==="use strict"){V.lastIndex=w+Y[0].length;var me=V.exec(this.input),Ie=me.index+me[0].length,M=this.input.charAt(Ie);return M===";"||M==="}"||U.test(me[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(M)||M==="!"&&this.input.charAt(Ie+1)==="=")}V.lastIndex=w+=Y[0].length,w+=V.exec(this.input)[0].length,this.input[w]===";"&&w++}},ve.eat=function(w){return this.type===w&&(this.next(),!0)},ve.isContextual=function(w){return this.type===k.name&&this.value===w&&!this.containsEsc},ve.eatContextual=function(w){return!!this.isContextual(w)&&(this.next(),!0)},ve.expectContextual=function(w){this.eatContextual(w)||this.unexpected()},ve.canInsertSemicolon=function(){return this.type===k.eof||this.type===k.braceR||U.test(this.input.slice(this.lastTokEnd,this.start))},ve.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},ve.semicolon=function(){this.eat(k.semi)||this.insertSemicolon()||this.unexpected()},ve.afterTrailingComma=function(w,Y){if(this.type===w)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),Y||this.next(),!0},ve.expect=function(w){this.eat(w)||this.unexpected()},ve.unexpected=function(w){this.raise(w??this.start,"Unexpected token")};var Te=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};ve.checkPatternErrors=function(w,Y){if(w){w.trailingComma>-1&&this.raiseRecoverable(w.trailingComma,"Comma is not permitted after the rest element");var me=Y?w.parenthesizedAssign:w.parenthesizedBind;me>-1&&this.raiseRecoverable(me,Y?"Assigning to rvalue":"Parenthesized pattern")}},ve.checkExpressionErrors=function(w,Y){if(!w)return!1;var me=w.shorthandAssign,Ie=w.doubleProto;if(!Y)return me>=0||Ie>=0;me>=0&&this.raise(me,"Shorthand property assignments are valid only in destructuring patterns"),Ie>=0&&this.raiseRecoverable(Ie,"Redefinition of __proto__ property")},ve.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")},ve.isSimpleAssignTarget=function(w){return w.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(w.expression):w.type==="Identifier"||w.type==="MemberExpression"};var Ce=xe.prototype;Ce.parseTopLevel=function(w){var Y=Object.create(null);for(w.body||(w.body=[]);this.type!==k.eof;){var me=this.parseStatement(null,!0,Y);w.body.push(me)}if(this.inModule)for(var Ie=0,M=Object.keys(this.undefinedExports);Ie<M.length;Ie+=1){var O=M[Ie];this.raiseRecoverable(this.undefinedExports[O].start,"Export '"+O+"' is not defined")}return this.adaptDirectivePrologue(w.body),this.next(),w.sourceType=this.options.sourceType,this.finishNode(w,"Program")};var se={kind:"loop"},pe={kind:"switch"};Ce.isLet=function(w){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;V.lastIndex=this.pos;var Y=V.exec(this.input),me=this.pos+Y[0].length,Ie=this.input.charCodeAt(me);if(Ie===91||Ie===92)return!0;if(w)return!1;if(Ie===123||Ie>55295&&Ie<56320)return!0;if(v(Ie,!0)){for(var M=me+1;E(Ie=this.input.charCodeAt(M),!0);)++M;if(Ie===92||Ie>55295&&Ie<56320)return!0;var O=this.input.slice(me,M);if(!b.test(O))return!0}return!1},Ce.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;V.lastIndex=this.pos;var w,Y=V.exec(this.input),me=this.pos+Y[0].length;return!U.test(this.input.slice(this.pos,me))&&this.input.slice(me,me+8)==="function"&&(me+8===this.input.length||!(E(w=this.input.charCodeAt(me+8))||w>55295&&w<56320))},Ce.isUsingKeyword=function(w,Y){if(this.options.ecmaVersion<17||!this.isContextual(w?"await":"using"))return!1;V.lastIndex=this.pos;var me=V.exec(this.input),Ie=this.pos+me[0].length;if(U.test(this.input.slice(this.pos,Ie)))return!1;if(w){var M,O=Ie+5;if(this.input.slice(Ie,O)!=="using"||O===this.input.length||E(M=this.input.charCodeAt(O))||M>55295&&M<56320)return!1;V.lastIndex=O;var ue=V.exec(this.input);if(ue&&U.test(this.input.slice(O,O+ue[0].length)))return!1}if(Y){var Ot,cr=Ie+2;if(this.input.slice(Ie,cr)==="of"&&(cr===this.input.length||!E(Ot=this.input.charCodeAt(cr))&&!(Ot>55295&&Ot<56320)))return!1}var Or=this.input.charCodeAt(Ie);return v(Or,!0)||Or===92},Ce.isAwaitUsing=function(w){return this.isUsingKeyword(!0,w)},Ce.isUsing=function(w){return this.isUsingKeyword(!1,w)},Ce.parseStatement=function(w,Y,me){var Ie,M=this.type,O=this.startNode();switch(this.isLet(w)&&(M=k._var,Ie="let"),M){case k._break:case k._continue:return this.parseBreakContinueStatement(O,M.keyword);case k._debugger:return this.parseDebuggerStatement(O);case k._do:return this.parseDoStatement(O);case k._for:return this.parseForStatement(O);case k._function:return w&&(this.strict||w!=="if"&&w!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(O,!1,!w);case k._class:return w&&this.unexpected(),this.parseClass(O,!0);case k._if:return this.parseIfStatement(O);case k._return:return this.parseReturnStatement(O);case k._switch:return this.parseSwitchStatement(O);case k._throw:return this.parseThrowStatement(O);case k._try:return this.parseTryStatement(O);case k._const:case k._var:return Ie=Ie||this.value,w&&Ie!=="var"&&this.unexpected(),this.parseVarStatement(O,Ie);case k._while:return this.parseWhileStatement(O);case k._with:return this.parseWithStatement(O);case k.braceL:return this.parseBlock(!0,O);case k.semi:return this.parseEmptyStatement(O);case k._export:case k._import:if(this.options.ecmaVersion>10&&M===k._import){V.lastIndex=this.pos;var ue=V.exec(this.input),Ot=this.pos+ue[0].length,cr=this.input.charCodeAt(Ot);if(cr===40||cr===46)return this.parseExpressionStatement(O,this.parseExpression())}return!this.options.allowImportExportEverywhere&&(Y||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'")),M===k._import?this.parseImport(O):this.parseExport(O,me);default:if(this.isAsyncFunction())return w&&this.unexpected(),this.next(),this.parseFunctionStatement(O,!0,!w);var Or=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(Or)return Y&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),Or==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(O,!1,Or),this.semicolon(),this.finishNode(O,"VariableDeclaration");var Lr=this.value,In=this.parseExpression();return M===k.name&&In.type==="Identifier"&&this.eat(k.colon)?this.parseLabeledStatement(O,Lr,In,w):this.parseExpressionStatement(O,In)}},Ce.parseBreakContinueStatement=function(w,Y){var me=Y==="break";this.next(),this.eat(k.semi)||this.insertSemicolon()?w.label=null:this.type!==k.name?this.unexpected():(w.label=this.parseIdent(),this.semicolon());for(var Ie=0;Ie<this.labels.length;++Ie){var M=this.labels[Ie];if((w.label==null||M.name===w.label.name)&&(M.kind!=null&&(me||M.kind==="loop")||w.label&&me))break}return Ie===this.labels.length&&this.raise(w.start,"Unsyntactic "+Y),this.finishNode(w,me?"BreakStatement":"ContinueStatement")},Ce.parseDebuggerStatement=function(w){return this.next(),this.semicolon(),this.finishNode(w,"DebuggerStatement")},Ce.parseDoStatement=function(w){return this.next(),this.labels.push(se),w.body=this.parseStatement("do"),this.labels.pop(),this.expect(k._while),w.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(k.semi):this.semicolon(),this.finishNode(w,"DoWhileStatement")},Ce.parseForStatement=function(w){this.next();var Y=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(se),this.enterScope(0),this.expect(k.parenL),this.type===k.semi)return Y>-1&&this.unexpected(Y),this.parseFor(w,null);var me=this.isLet();if(this.type===k._var||this.type===k._const||me){var Ie=this.startNode(),M=me?"let":this.value;return this.next(),this.parseVar(Ie,!0,M),this.finishNode(Ie,"VariableDeclaration"),this.parseForAfterInit(w,Ie,Y)}var O=this.isContextual("let"),ue=!1,Ot=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(Ot){var cr=this.startNode();return this.next(),Ot==="await using"&&this.next(),this.parseVar(cr,!0,Ot),this.finishNode(cr,"VariableDeclaration"),this.parseForAfterInit(w,cr,Y)}var Or=this.containsEsc,Lr=new Te,In=this.start,qn=Y>-1?this.parseExprSubscripts(Lr,"await"):this.parseExpression(!0,Lr);return this.type===k._in||(ue=this.options.ecmaVersion>=6&&this.isContextual("of"))?(Y>-1?(this.type===k._in&&this.unexpected(Y),w.await=!0):ue&&this.options.ecmaVersion>=8&&(qn.start!==In||Or||qn.type!=="Identifier"||qn.name!=="async"?this.options.ecmaVersion>=9&&(w.await=!1):this.unexpected()),O&&ue&&this.raise(qn.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(qn,!1,Lr),this.checkLValPattern(qn),this.parseForIn(w,qn)):(this.checkExpressionErrors(Lr,!0),Y>-1&&this.unexpected(Y),this.parseFor(w,qn))},Ce.parseForAfterInit=function(w,Y,me){return(this.type===k._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&Y.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===k._in?me>-1&&this.unexpected(me):w.await=me>-1),this.parseForIn(w,Y)):(me>-1&&this.unexpected(me),this.parseFor(w,Y))},Ce.parseFunctionStatement=function(w,Y,me){return this.next(),this.parseFunction(w,ft|(me?0:_t),!1,Y)},Ce.parseIfStatement=function(w){return this.next(),w.test=this.parseParenExpression(),w.consequent=this.parseStatement("if"),w.alternate=this.eat(k._else)?this.parseStatement("if"):null,this.finishNode(w,"IfStatement")},Ce.parseReturnStatement=function(w){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(k.semi)||this.insertSemicolon()?w.argument=null:(w.argument=this.parseExpression(),this.semicolon()),this.finishNode(w,"ReturnStatement")},Ce.parseSwitchStatement=function(w){this.next(),w.discriminant=this.parseParenExpression(),w.cases=[],this.expect(k.braceL),this.labels.push(pe),this.enterScope(0);for(var Y,me=!1;this.type!==k.braceR;)if(this.type===k._case||this.type===k._default){var Ie=this.type===k._case;Y&&this.finishNode(Y,"SwitchCase"),w.cases.push(Y=this.startNode()),Y.consequent=[],this.next(),Ie?Y.test=this.parseExpression():(me&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),me=!0,Y.test=null),this.expect(k.colon)}else Y||this.unexpected(),Y.consequent.push(this.parseStatement(null));return this.exitScope(),Y&&this.finishNode(Y,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(w,"SwitchStatement")},Ce.parseThrowStatement=function(w){return this.next(),U.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),w.argument=this.parseExpression(),this.semicolon(),this.finishNode(w,"ThrowStatement")};var nt=[];Ce.parseCatchClauseParam=function(){var w=this.parseBindingAtom(),Y=w.type==="Identifier";return this.enterScope(32*!!Y),this.checkLValPattern(w,Y?4:2),this.expect(k.parenR),w},Ce.parseTryStatement=function(w){if(this.next(),w.block=this.parseBlock(),w.handler=null,this.type===k._catch){var Y=this.startNode();this.next(),this.eat(k.parenL)?Y.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),Y.param=null,this.enterScope(0)),Y.body=this.parseBlock(!1),this.exitScope(),w.handler=this.finishNode(Y,"CatchClause")}return w.finalizer=this.eat(k._finally)?this.parseBlock():null,w.handler||w.finalizer||this.raise(w.start,"Missing catch or finally clause"),this.finishNode(w,"TryStatement")},Ce.parseVarStatement=function(w,Y,me){return this.next(),this.parseVar(w,!1,Y,me),this.semicolon(),this.finishNode(w,"VariableDeclaration")},Ce.parseWhileStatement=function(w){return this.next(),w.test=this.parseParenExpression(),this.labels.push(se),w.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(w,"WhileStatement")},Ce.parseWithStatement=function(w){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),w.object=this.parseParenExpression(),w.body=this.parseStatement("with"),this.finishNode(w,"WithStatement")},Ce.parseEmptyStatement=function(w){return this.next(),this.finishNode(w,"EmptyStatement")},Ce.parseLabeledStatement=function(w,Y,me,Ie){for(var M=0,O=this.labels;M<O.length;M+=1)O[M].name===Y&&this.raise(me.start,"Label '"+Y+"' is already declared");for(var ue=this.type.isLoop?"loop":this.type===k._switch?"switch":null,Ot=this.labels.length-1;Ot>=0;Ot--){var cr=this.labels[Ot];if(cr.statementStart===w.start)cr.statementStart=this.start,cr.kind=ue;else break}return this.labels.push({name:Y,kind:ue,statementStart:this.start}),w.body=this.parseStatement(Ie?Ie.indexOf("label")===-1?Ie+"label":Ie:"label"),this.labels.pop(),w.label=me,this.finishNode(w,"LabeledStatement")},Ce.parseExpressionStatement=function(w,Y){return w.expression=Y,this.semicolon(),this.finishNode(w,"ExpressionStatement")},Ce.parseBlock=function(w,Y,me){for(w===void 0&&(w=!0),Y===void 0&&(Y=this.startNode()),Y.body=[],this.expect(k.braceL),w&&this.enterScope(0);this.type!==k.braceR;){var Ie=this.parseStatement(null);Y.body.push(Ie)}return me&&(this.strict=!1),this.next(),w&&this.exitScope(),this.finishNode(Y,"BlockStatement")},Ce.parseFor=function(w,Y){return w.init=Y,this.expect(k.semi),w.test=this.type===k.semi?null:this.parseExpression(),this.expect(k.semi),w.update=this.type===k.parenR?null:this.parseExpression(),this.expect(k.parenR),w.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(w,"ForStatement")},Ce.parseForIn=function(w,Y){var me=this.type===k._in;return this.next(),Y.type==="VariableDeclaration"&&Y.declarations[0].init!=null&&(!me||this.options.ecmaVersion<8||this.strict||Y.kind!=="var"||Y.declarations[0].id.type!=="Identifier")&&this.raise(Y.start,(me?"for-in":"for-of")+" loop variable declaration may not have an initializer"),w.left=Y,w.right=me?this.parseExpression():this.parseMaybeAssign(),this.expect(k.parenR),w.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(w,me?"ForInStatement":"ForOfStatement")},Ce.parseVar=function(w,Y,me,Ie){for(w.declarations=[],w.kind=me;;){var M=this.startNode();if(this.parseVarId(M,me),this.eat(k.eq)?M.init=this.parseMaybeAssign(Y):Ie||me!=="const"||this.type===k._in||this.options.ecmaVersion>=6&&this.isContextual("of")?Ie||me!=="using"&&me!=="await using"||!(this.options.ecmaVersion>=17)||this.type===k._in||this.isContextual("of")?Ie||M.id.type==="Identifier"||Y&&(this.type===k._in||this.isContextual("of"))?M.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.raise(this.lastTokEnd,"Missing initializer in "+me+" declaration"):this.unexpected(),w.declarations.push(this.finishNode(M,"VariableDeclarator")),!this.eat(k.comma))break}return w},Ce.parseVarId=function(w,Y){w.id=Y==="using"||Y==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(w.id,Y==="var"?1:2,!1)};var ft=1,_t=2;function Pt(w,Y){var me=Y.key.name,Ie=w[me],M="true";return Y.type==="MethodDefinition"&&(Y.kind==="get"||Y.kind==="set")&&(M=(Y.static?"s":"i")+Y.kind),Ie==="iget"&&M==="iset"||Ie==="iset"&&M==="iget"||Ie==="sget"&&M==="sset"||Ie==="sset"&&M==="sget"?(w[me]="true",!1):!!Ie||(w[me]=M,!1)}function ht(w,Y){var me=w.computed,Ie=w.key;return!me&&(Ie.type==="Identifier"&&Ie.name===Y||Ie.type==="Literal"&&Ie.value===Y)}Ce.parseFunction=function(w,Y,me,Ie,M){this.initFunction(w),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!Ie)&&(this.type===k.star&&Y&_t&&this.unexpected(),w.generator=this.eat(k.star)),this.options.ecmaVersion>=8&&(w.async=!!Ie),Y&ft&&(w.id=4&Y&&this.type!==k.name?null:this.parseIdent(),w.id&&!(Y&_t)&&this.checkLValSimple(w.id,this.strict||w.generator||w.async?this.treatFunctionsAsVar?1:2:3));var O=this.yieldPos,ue=this.awaitPos,Ot=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(de(w.async,w.generator)),Y&ft||(w.id=this.type===k.name?this.parseIdent():null),this.parseFunctionParams(w),this.parseFunctionBody(w,me,!1,M),this.yieldPos=O,this.awaitPos=ue,this.awaitIdentPos=Ot,this.finishNode(w,Y&ft?"FunctionDeclaration":"FunctionExpression")},Ce.parseFunctionParams=function(w){this.expect(k.parenL),w.params=this.parseBindingList(k.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Ce.parseClass=function(w,Y){this.next();var me=this.strict;this.strict=!0,this.parseClassId(w,Y),this.parseClassSuper(w);var Ie=this.enterClassBody(),M=this.startNode(),O=!1;for(M.body=[],this.expect(k.braceL);this.type!==k.braceR;){var ue=this.parseClassElement(w.superClass!==null);ue&&(M.body.push(ue),ue.type==="MethodDefinition"&&ue.kind==="constructor"?(O&&this.raiseRecoverable(ue.start,"Duplicate constructor in the same class"),O=!0):ue.key&&ue.key.type==="PrivateIdentifier"&&Pt(Ie,ue)&&this.raiseRecoverable(ue.key.start,"Identifier '#"+ue.key.name+"' has already been declared"))}return this.strict=me,this.next(),w.body=this.finishNode(M,"ClassBody"),this.exitClassBody(),this.finishNode(w,Y?"ClassDeclaration":"ClassExpression")},Ce.parseClassElement=function(w){if(this.eat(k.semi))return null;var Y=this.options.ecmaVersion,me=this.startNode(),Ie="",M=!1,O=!1,ue="method",Ot=!1;if(this.eatContextual("static")){if(Y>=13&&this.eat(k.braceL))return this.parseClassStaticBlock(me),me;this.isClassElementNameStart()||this.type===k.star?Ot=!0:Ie="static"}if(me.static=Ot,!Ie&&Y>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===k.star)&&!this.canInsertSemicolon()?O=!0:Ie="async"),!Ie&&(Y>=9||!O)&&this.eat(k.star)&&(M=!0),!Ie&&!O&&!M){var cr=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?ue=cr:Ie=cr)}if(Ie?(me.computed=!1,me.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),me.key.name=Ie,this.finishNode(me.key,"Identifier")):this.parseClassElementName(me),Y<13||this.type===k.parenL||ue!=="method"||M||O){var Or=!me.static&&ht(me,"constructor");Or&&ue!=="method"&&this.raise(me.key.start,"Constructor can't have get/set modifier"),me.kind=Or?"constructor":ue,this.parseClassMethod(me,M,O,Or&&w)}else this.parseClassField(me);return me},Ce.isClassElementNameStart=function(){return this.type===k.name||this.type===k.privateId||this.type===k.num||this.type===k.string||this.type===k.bracketL||this.type.keyword},Ce.parseClassElementName=function(w){this.type===k.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),w.computed=!1,w.key=this.parsePrivateIdent()):this.parsePropertyName(w)},Ce.parseClassMethod=function(w,Y,me,Ie){var M=w.key;w.kind==="constructor"?(Y&&this.raise(M.start,"Constructor can't be a generator"),me&&this.raise(M.start,"Constructor can't be an async method")):w.static&&ht(w,"prototype")&&this.raise(M.start,"Classes may not have a static property named prototype");var O=w.value=this.parseMethod(Y,me,Ie);return w.kind==="get"&&O.params.length!==0&&this.raiseRecoverable(O.start,"getter should have no params"),w.kind==="set"&&O.params.length!==1&&this.raiseRecoverable(O.start,"setter should have exactly one param"),w.kind==="set"&&O.params[0].type==="RestElement"&&this.raiseRecoverable(O.params[0].start,"Setter cannot use rest params"),this.finishNode(w,"MethodDefinition")},Ce.parseClassField=function(w){return ht(w,"constructor")?this.raise(w.key.start,"Classes can't have a field named 'constructor'"):w.static&&ht(w,"prototype")&&this.raise(w.key.start,"Classes can't have a static field named 'prototype'"),this.eat(k.eq)?(this.enterScope(576),w.value=this.parseMaybeAssign(),this.exitScope()):w.value=null,this.semicolon(),this.finishNode(w,"PropertyDefinition")},Ce.parseClassStaticBlock=function(w){w.body=[];var Y=this.labels;for(this.labels=[],this.enterScope(320);this.type!==k.braceR;){var me=this.parseStatement(null);w.body.push(me)}return this.next(),this.exitScope(),this.labels=Y,this.finishNode(w,"StaticBlock")},Ce.parseClassId=function(w,Y){this.type===k.name?(w.id=this.parseIdent(),Y&&this.checkLValSimple(w.id,2,!1)):(Y===!0&&this.unexpected(),w.id=null)},Ce.parseClassSuper=function(w){w.superClass=this.eat(k._extends)?this.parseExprSubscripts(null,!1):null},Ce.enterClassBody=function(){var w={declared:Object.create(null),used:[]};return this.privateNameStack.push(w),w.declared},Ce.exitClassBody=function(){var w=this.privateNameStack.pop(),Y=w.declared,me=w.used;if(this.options.checkPrivateFields)for(var Ie=this.privateNameStack.length,M=Ie===0?null:this.privateNameStack[Ie-1],O=0;O<me.length;++O){var ue=me[O];$(Y,ue.name)||(M?M.used.push(ue):this.raiseRecoverable(ue.start,"Private field '#"+ue.name+"' must be declared in an enclosing class"))}},Ce.parseExportAllDeclaration=function(w,Y){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(w.exported=this.parseModuleExportName(),this.checkExport(Y,w.exported,this.lastTokStart)):w.exported=null),this.expectContextual("from"),this.type!==k.string&&this.unexpected(),w.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(w.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(w,"ExportAllDeclaration")},Ce.parseExport=function(w,Y){if(this.next(),this.eat(k.star))return this.parseExportAllDeclaration(w,Y);if(this.eat(k._default))return this.checkExport(Y,"default",this.lastTokStart),w.declaration=this.parseExportDefaultDeclaration(),this.finishNode(w,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())w.declaration=this.parseExportDeclaration(w),w.declaration.type==="VariableDeclaration"?this.checkVariableExport(Y,w.declaration.declarations):this.checkExport(Y,w.declaration.id,w.declaration.id.start),w.specifiers=[],w.source=null,this.options.ecmaVersion>=16&&(w.attributes=[]);else{if(w.declaration=null,w.specifiers=this.parseExportSpecifiers(Y),this.eatContextual("from"))this.type!==k.string&&this.unexpected(),w.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(w.attributes=this.parseWithClause());else{for(var me=0,Ie=w.specifiers;me<Ie.length;me+=1){var M=Ie[me];this.checkUnreserved(M.local),this.checkLocalExport(M.local),M.local.type==="Literal"&&this.raise(M.local.start,"A string literal cannot be used as an exported binding without `from`.")}w.source=null,this.options.ecmaVersion>=16&&(w.attributes=[])}this.semicolon()}return this.finishNode(w,"ExportNamedDeclaration")},Ce.parseExportDeclaration=function(w){return this.parseStatement(null)},Ce.parseExportDefaultDeclaration=function(){if(this.type===k._function||(w=this.isAsyncFunction())){var w,Y=this.startNode();return this.next(),w&&this.next(),this.parseFunction(Y,4|ft,!1,w)}if(this.type===k._class){var me=this.startNode();return this.parseClass(me,"nullableID")}var Ie=this.parseMaybeAssign();return this.semicolon(),Ie},Ce.checkExport=function(w,Y,me){w&&(typeof Y!="string"&&(Y=Y.type==="Identifier"?Y.name:Y.value),$(w,Y)&&this.raiseRecoverable(me,"Duplicate export '"+Y+"'"),w[Y]=!0)},Ce.checkPatternExport=function(w,Y){var me=Y.type;if(me==="Identifier")this.checkExport(w,Y,Y.start);else if(me==="ObjectPattern")for(var Ie=0,M=Y.properties;Ie<M.length;Ie+=1){var O=M[Ie];this.checkPatternExport(w,O)}else if(me==="ArrayPattern")for(var ue=0,Ot=Y.elements;ue<Ot.length;ue+=1){var cr=Ot[ue];cr&&this.checkPatternExport(w,cr)}else me==="Property"?this.checkPatternExport(w,Y.value):me==="AssignmentPattern"?this.checkPatternExport(w,Y.left):me==="RestElement"&&this.checkPatternExport(w,Y.argument)},Ce.checkVariableExport=function(w,Y){if(w)for(var me=0;me<Y.length;me+=1){var Ie=Y[me];this.checkPatternExport(w,Ie.id)}},Ce.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},Ce.parseExportSpecifier=function(w){var Y=this.startNode();return Y.local=this.parseModuleExportName(),Y.exported=this.eatContextual("as")?this.parseModuleExportName():Y.local,this.checkExport(w,Y.exported,Y.exported.start),this.finishNode(Y,"ExportSpecifier")},Ce.parseExportSpecifiers=function(w){var Y=[],me=!0;for(this.expect(k.braceL);!this.eat(k.braceR);){if(me)me=!1;else if(this.expect(k.comma),this.afterTrailingComma(k.braceR))break;Y.push(this.parseExportSpecifier(w))}return Y},Ce.parseImport=function(w){return this.next(),this.type===k.string?(w.specifiers=nt,w.source=this.parseExprAtom()):(w.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),w.source=this.type===k.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(w.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(w,"ImportDeclaration")},Ce.parseImportSpecifier=function(){var w=this.startNode();return w.imported=this.parseModuleExportName(),this.eatContextual("as")?w.local=this.parseIdent():(this.checkUnreserved(w.imported),w.local=w.imported),this.checkLValSimple(w.local,2),this.finishNode(w,"ImportSpecifier")},Ce.parseImportDefaultSpecifier=function(){var w=this.startNode();return w.local=this.parseIdent(),this.checkLValSimple(w.local,2),this.finishNode(w,"ImportDefaultSpecifier")},Ce.parseImportNamespaceSpecifier=function(){var w=this.startNode();return this.next(),this.expectContextual("as"),w.local=this.parseIdent(),this.checkLValSimple(w.local,2),this.finishNode(w,"ImportNamespaceSpecifier")},Ce.parseImportSpecifiers=function(){var w=[],Y=!0;if(this.type===k.name&&(w.push(this.parseImportDefaultSpecifier()),!this.eat(k.comma)))return w;if(this.type===k.star)return w.push(this.parseImportNamespaceSpecifier()),w;for(this.expect(k.braceL);!this.eat(k.braceR);){if(Y)Y=!1;else if(this.expect(k.comma),this.afterTrailingComma(k.braceR))break;w.push(this.parseImportSpecifier())}return w},Ce.parseWithClause=function(){var w=[];if(!this.eat(k._with))return w;this.expect(k.braceL);for(var Y={},me=!0;!this.eat(k.braceR);){if(me)me=!1;else if(this.expect(k.comma),this.afterTrailingComma(k.braceR))break;var Ie=this.parseImportAttribute(),M=Ie.key.type==="Identifier"?Ie.key.name:Ie.key.value;$(Y,M)&&this.raiseRecoverable(Ie.key.start,"Duplicate attribute key '"+M+"'"),Y[M]=!0,w.push(Ie)}return w},Ce.parseImportAttribute=function(){var w=this.startNode();return w.key=this.type===k.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(k.colon),this.type!==k.string&&this.unexpected(),w.value=this.parseExprAtom(),this.finishNode(w,"ImportAttribute")},Ce.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===k.string){var w=this.parseLiteral(this.value);return ie.test(w.value)&&this.raise(w.start,"An export name cannot include a lone surrogate."),w}return this.parseIdent(!0)},Ce.adaptDirectivePrologue=function(w){for(var Y=0;Y<w.length&&this.isDirectiveCandidate(w[Y]);++Y)w[Y].directive=w[Y].expression.raw.slice(1,-1)},Ce.isDirectiveCandidate=function(w){return this.options.ecmaVersion>=5&&w.type==="ExpressionStatement"&&w.expression.type==="Literal"&&typeof w.expression.value=="string"&&(this.input[w.start]==='"'||this.input[w.start]==="'")};var De=xe.prototype;De.toAssignable=function(w,Y,me){if(this.options.ecmaVersion>=6&&w)switch(w.type){case"Identifier":this.inAsync&&w.name==="await"&&this.raise(w.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":w.type="ObjectPattern",me&&this.checkPatternErrors(me,!0);for(var Ie=0,M=w.properties;Ie<M.length;Ie+=1){var O=M[Ie];this.toAssignable(O,Y),O.type==="RestElement"&&(O.argument.type==="ArrayPattern"||O.argument.type==="ObjectPattern")&&this.raise(O.argument.start,"Unexpected token")}break;case"Property":w.kind!=="init"&&this.raise(w.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(w.value,Y);break;case"ArrayExpression":w.type="ArrayPattern",me&&this.checkPatternErrors(me,!0),this.toAssignableList(w.elements,Y);break;case"SpreadElement":w.type="RestElement",this.toAssignable(w.argument,Y),w.argument.type==="AssignmentPattern"&&this.raise(w.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":w.operator!=="="&&this.raise(w.left.end,"Only '=' operator can be used for specifying default value."),w.type="AssignmentPattern",delete w.operator,this.toAssignable(w.left,Y);break;case"ParenthesizedExpression":this.toAssignable(w.expression,Y,me);break;case"ChainExpression":this.raiseRecoverable(w.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!Y)break;default:this.raise(w.start,"Assigning to rvalue")}else me&&this.checkPatternErrors(me,!0);return w},De.toAssignableList=function(w,Y){for(var me=w.length,Ie=0;Ie<me;Ie++){var M=w[Ie];M&&this.toAssignable(M,Y)}if(me){var O=w[me-1];this.options.ecmaVersion===6&&Y&&O&&O.type==="RestElement"&&O.argument.type!=="Identifier"&&this.unexpected(O.argument.start)}return w},De.parseSpread=function(w){var Y=this.startNode();return this.next(),Y.argument=this.parseMaybeAssign(!1,w),this.finishNode(Y,"SpreadElement")},De.parseRestBinding=function(){var w=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==k.name&&this.unexpected(),w.argument=this.parseBindingAtom(),this.finishNode(w,"RestElement")},De.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case k.bracketL:var w=this.startNode();return this.next(),w.elements=this.parseBindingList(k.bracketR,!0,!0),this.finishNode(w,"ArrayPattern");case k.braceL:return this.parseObj(!0)}return this.parseIdent()},De.parseBindingList=function(w,Y,me,Ie){for(var M=[],O=!0;!this.eat(w);)if(O?O=!1:this.expect(k.comma),Y&&this.type===k.comma)M.push(null);else{if(me&&this.afterTrailingComma(w))break;if(this.type===k.ellipsis){var ue=this.parseRestBinding();this.parseBindingListItem(ue),M.push(ue),this.type===k.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(w);break}else M.push(this.parseAssignableListItem(Ie))}return M},De.parseAssignableListItem=function(w){var Y=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(Y),Y},De.parseBindingListItem=function(w){return w},De.parseMaybeDefault=function(w,Y,me){if(me=me||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(k.eq))return me;var Ie=this.startNodeAt(w,Y);return Ie.left=me,Ie.right=this.parseMaybeAssign(),this.finishNode(Ie,"AssignmentPattern")},De.checkLValSimple=function(w,Y,me){Y===void 0&&(Y=0);var Ie=Y!==0;switch(w.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(w.name)&&this.raiseRecoverable(w.start,(Ie?"Binding ":"Assigning to ")+w.name+" in strict mode"),Ie&&(Y===2&&w.name==="let"&&this.raiseRecoverable(w.start,"let is disallowed as a lexically bound name"),me&&($(me,w.name)&&this.raiseRecoverable(w.start,"Argument name clash"),me[w.name]=!0),Y!==5&&this.declareName(w.name,Y,w.start));break;case"ChainExpression":this.raiseRecoverable(w.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":Ie&&this.raiseRecoverable(w.start,"Binding member expression");break;case"ParenthesizedExpression":return Ie&&this.raiseRecoverable(w.start,"Binding parenthesized expression"),this.checkLValSimple(w.expression,Y,me);default:this.raise(w.start,(Ie?"Binding":"Assigning to")+" rvalue")}},De.checkLValPattern=function(w,Y,me){switch(Y===void 0&&(Y=0),w.type){case"ObjectPattern":for(var Ie=0,M=w.properties;Ie<M.length;Ie+=1){var O=M[Ie];this.checkLValInnerPattern(O,Y,me)}break;case"ArrayPattern":for(var ue=0,Ot=w.elements;ue<Ot.length;ue+=1){var cr=Ot[ue];cr&&this.checkLValInnerPattern(cr,Y,me)}break;default:this.checkLValSimple(w,Y,me)}},De.checkLValInnerPattern=function(w,Y,me){switch(Y===void 0&&(Y=0),w.type){case"Property":this.checkLValInnerPattern(w.value,Y,me);break;case"AssignmentPattern":this.checkLValPattern(w.left,Y,me);break;case"RestElement":this.checkLValPattern(w.argument,Y,me);break;default:this.checkLValPattern(w,Y,me)}};var ze=function(w,Y,me,Ie,M){this.token=w,this.isExpr=!!Y,this.preserveSpace=!!me,this.override=Ie,this.generator=!!M},Ze={b_stat:new ze("{",!1),b_expr:new ze("{",!0),b_tmpl:new ze("${",!1),p_stat:new ze("(",!1),p_expr:new ze("(",!0),q_tmpl:new ze("`",!0,!0,function(w){return w.tryReadTemplateToken()}),f_stat:new ze("function",!1),f_expr:new ze("function",!0),f_expr_gen:new ze("function",!0,!1,null,!0),f_gen:new ze("function",!1,!1,null,!0)},tt=xe.prototype;tt.initialContext=function(){return[Ze.b_stat]},tt.curContext=function(){return this.context[this.context.length-1]},tt.braceIsBlock=function(w){var Y=this.curContext();return Y===Ze.f_expr||Y===Ze.f_stat||(w===k.colon&&(Y===Ze.b_stat||Y===Ze.b_expr)?!Y.isExpr:w===k._return||w===k.name&&this.exprAllowed?U.test(this.input.slice(this.lastTokEnd,this.start)):w===k._else||w===k.semi||w===k.eof||w===k.parenR||w===k.arrow||(w===k.braceL?Y===Ze.b_stat:w!==k._var&&w!==k._const&&w!==k.name&&!this.exprAllowed))},tt.inGeneratorContext=function(){for(var w=this.context.length-1;w>=1;w--){var Y=this.context[w];if(Y.token==="function")return Y.generator}return!1},tt.updateContext=function(w){var Y,me=this.type;me.keyword&&w===k.dot?this.exprAllowed=!1:(Y=me.updateContext)?Y.call(this,w):this.exprAllowed=me.beforeExpr},tt.overrideContext=function(w){this.curContext()!==w&&(this.context[this.context.length-1]=w)},k.parenR.updateContext=k.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var w=this.context.pop();w===Ze.b_stat&&this.curContext().token==="function"&&(w=this.context.pop()),this.exprAllowed=!w.isExpr},k.braceL.updateContext=function(w){this.context.push(this.braceIsBlock(w)?Ze.b_stat:Ze.b_expr),this.exprAllowed=!0},k.dollarBraceL.updateContext=function(){this.context.push(Ze.b_tmpl),this.exprAllowed=!0},k.parenL.updateContext=function(w){var Y=w===k._if||w===k._for||w===k._with||w===k._while;this.context.push(Y?Ze.p_stat:Ze.p_expr),this.exprAllowed=!0},k.incDec.updateContext=function(){},k._function.updateContext=k._class.updateContext=function(w){w.beforeExpr&&w!==k._else&&(w!==k.semi||this.curContext()===Ze.p_stat)&&!(w===k._return&&U.test(this.input.slice(this.lastTokEnd,this.start)))&&(w!==k.colon&&w!==k.braceL||this.curContext()!==Ze.b_stat)?this.context.push(Ze.f_expr):this.context.push(Ze.f_stat),this.exprAllowed=!1},k.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},k.backQuote.updateContext=function(){this.curContext()===Ze.q_tmpl?this.context.pop():this.context.push(Ze.q_tmpl),this.exprAllowed=!1},k.star.updateContext=function(w){if(w===k._function){var Y=this.context.length-1;this.context[Y]===Ze.f_expr?this.context[Y]=Ze.f_expr_gen:this.context[Y]=Ze.f_gen}this.exprAllowed=!0},k.name.updateContext=function(w){var Y=!1;this.options.ecmaVersion>=6&&w!==k.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(Y=!0),this.exprAllowed=Y};var ge=xe.prototype;function fe(w){return w.type==="Identifier"||w.type==="ParenthesizedExpression"&&fe(w.expression)}function ee(w){return w.type==="MemberExpression"&&w.property.type==="PrivateIdentifier"||w.type==="ChainExpression"&&ee(w.expression)||w.type==="ParenthesizedExpression"&&ee(w.expression)}ge.checkPropClash=function(w,Y,me){if((!(this.options.ecmaVersion>=9)||w.type!=="SpreadElement")&&(!(this.options.ecmaVersion>=6)||!w.computed&&!w.method&&!w.shorthand)){var Ie,M=w.key;switch(M.type){case"Identifier":Ie=M.name;break;case"Literal":Ie=String(M.value);break;default:return}var O=w.kind;if(this.options.ecmaVersion>=6){Ie==="__proto__"&&O==="init"&&(Y.proto&&(me?me.doubleProto<0&&(me.doubleProto=M.start):this.raiseRecoverable(M.start,"Redefinition of __proto__ property")),Y.proto=!0);return}var ue=Y[Ie="$"+Ie];ue?(O==="init"?this.strict&&ue.init||ue.get||ue.set:ue.init||ue[O])&&this.raiseRecoverable(M.start,"Redefinition of property"):ue=Y[Ie]={init:!1,get:!1,set:!1},ue[O]=!0}},ge.parseExpression=function(w,Y){var me=this.start,Ie=this.startLoc,M=this.parseMaybeAssign(w,Y);if(this.type===k.comma){var O=this.startNodeAt(me,Ie);for(O.expressions=[M];this.eat(k.comma);)O.expressions.push(this.parseMaybeAssign(w,Y));return this.finishNode(O,"SequenceExpression")}return M},ge.parseMaybeAssign=function(w,Y,me){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(w);this.exprAllowed=!1}var Ie=!1,M=-1,O=-1,ue=-1;Y?(M=Y.parenthesizedAssign,O=Y.trailingComma,ue=Y.doubleProto,Y.parenthesizedAssign=Y.trailingComma=-1):(Y=new Te,Ie=!0);var Ot=this.start,cr=this.startLoc;(this.type===k.parenL||this.type===k.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=w==="await");var Or=this.parseMaybeConditional(w,Y);if(me&&(Or=me.call(this,Or,Ot,cr)),this.type.isAssign){var Lr=this.startNodeAt(Ot,cr);return Lr.operator=this.value,this.type===k.eq&&(Or=this.toAssignable(Or,!1,Y)),Ie||(Y.parenthesizedAssign=Y.trailingComma=Y.doubleProto=-1),Y.shorthandAssign>=Or.start&&(Y.shorthandAssign=-1),this.type===k.eq?this.checkLValPattern(Or):this.checkLValSimple(Or),Lr.left=Or,this.next(),Lr.right=this.parseMaybeAssign(w),ue>-1&&(Y.doubleProto=ue),this.finishNode(Lr,"AssignmentExpression")}return Ie&&this.checkExpressionErrors(Y,!0),M>-1&&(Y.parenthesizedAssign=M),O>-1&&(Y.trailingComma=O),Or},ge.parseMaybeConditional=function(w,Y){var me=this.start,Ie=this.startLoc,M=this.parseExprOps(w,Y);if(this.checkExpressionErrors(Y))return M;if(this.eat(k.question)){var O=this.startNodeAt(me,Ie);return O.test=M,O.consequent=this.parseMaybeAssign(),this.expect(k.colon),O.alternate=this.parseMaybeAssign(w),this.finishNode(O,"ConditionalExpression")}return M},ge.parseExprOps=function(w,Y){var me=this.start,Ie=this.startLoc,M=this.parseMaybeUnary(Y,!1,!1,w);return this.checkExpressionErrors(Y)||M.start===me&&M.type==="ArrowFunctionExpression"?M:this.parseExprOp(M,me,Ie,-1,w)},ge.parseExprOp=function(w,Y,me,Ie,M){var O=this.type.binop;if(O!=null&&(!M||this.type!==k._in)&&O>Ie){var ue=this.type===k.logicalOR||this.type===k.logicalAND,Ot=this.type===k.coalesce;Ot&&(O=k.logicalAND.binop);var cr=this.value;this.next();var Or=this.start,Lr=this.startLoc,In=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,M),Or,Lr,O,M),qn=this.buildBinary(Y,me,w,In,cr,ue||Ot);return(ue&&this.type===k.coalesce||Ot&&(this.type===k.logicalOR||this.type===k.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(qn,Y,me,Ie,M)}return w},ge.buildBinary=function(w,Y,me,Ie,M,O){Ie.type==="PrivateIdentifier"&&this.raise(Ie.start,"Private identifier can only be left side of binary expression");var ue=this.startNodeAt(w,Y);return ue.left=me,ue.operator=M,ue.right=Ie,this.finishNode(ue,O?"LogicalExpression":"BinaryExpression")},ge.parseMaybeUnary=function(w,Y,me,Ie){var M,O=this.start,ue=this.startLoc;if(this.isContextual("await")&&this.canAwait)M=this.parseAwait(Ie),Y=!0;else if(this.type.prefix){var Ot=this.startNode(),cr=this.type===k.incDec;Ot.operator=this.value,Ot.prefix=!0,this.next(),Ot.argument=this.parseMaybeUnary(null,!0,cr,Ie),this.checkExpressionErrors(w,!0),cr?this.checkLValSimple(Ot.argument):this.strict&&Ot.operator==="delete"&&fe(Ot.argument)?this.raiseRecoverable(Ot.start,"Deleting local variable in strict mode"):Ot.operator==="delete"&&ee(Ot.argument)?this.raiseRecoverable(Ot.start,"Private fields can not be deleted"):Y=!0,M=this.finishNode(Ot,cr?"UpdateExpression":"UnaryExpression")}else if(Y||this.type!==k.privateId){if(M=this.parseExprSubscripts(w,Ie),this.checkExpressionErrors(w))return M;for(;this.type.postfix&&!this.canInsertSemicolon();){var Or=this.startNodeAt(O,ue);Or.operator=this.value,Or.prefix=!1,Or.argument=M,this.checkLValSimple(M),this.next(),M=this.finishNode(Or,"UpdateExpression")}}else(Ie||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),M=this.parsePrivateIdent(),this.type!==k._in&&this.unexpected();return!me&&this.eat(k.starstar)?Y?void this.unexpected(this.lastTokStart):this.buildBinary(O,ue,M,this.parseMaybeUnary(null,!1,!1,Ie),"**",!1):M},ge.parseExprSubscripts=function(w,Y){var me=this.start,Ie=this.startLoc,M=this.parseExprAtom(w,Y);if(M.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return M;var O=this.parseSubscripts(M,me,Ie,!1,Y);return w&&O.type==="MemberExpression"&&(w.parenthesizedAssign>=O.start&&(w.parenthesizedAssign=-1),w.parenthesizedBind>=O.start&&(w.parenthesizedBind=-1),w.trailingComma>=O.start&&(w.trailingComma=-1)),O},ge.parseSubscripts=function(w,Y,me,Ie,M){for(var O=this.options.ecmaVersion>=8&&w.type==="Identifier"&&w.name==="async"&&this.lastTokEnd===w.end&&!this.canInsertSemicolon()&&w.end-w.start==5&&this.potentialArrowAt===w.start,ue=!1;;){var Ot=this.parseSubscript(w,Y,me,Ie,O,ue,M);if(Ot.optional&&(ue=!0),Ot===w||Ot.type==="ArrowFunctionExpression"){if(ue){var cr=this.startNodeAt(Y,me);cr.expression=Ot,Ot=this.finishNode(cr,"ChainExpression")}return Ot}w=Ot}},ge.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(k.arrow)},ge.parseSubscriptAsyncArrow=function(w,Y,me,Ie){return this.parseArrowExpression(this.startNodeAt(w,Y),me,!0,Ie)},ge.parseSubscript=function(w,Y,me,Ie,M,O,ue){var Ot=this.options.ecmaVersion>=11,cr=Ot&&this.eat(k.questionDot);Ie&&cr&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var Or=this.eat(k.bracketL);if(Or||cr&&this.type!==k.parenL&&this.type!==k.backQuote||this.eat(k.dot)){var Lr=this.startNodeAt(Y,me);Lr.object=w,Or?(Lr.property=this.parseExpression(),this.expect(k.bracketR)):this.type===k.privateId&&w.type!=="Super"?Lr.property=this.parsePrivateIdent():Lr.property=this.parseIdent(this.options.allowReserved!=="never"),Lr.computed=!!Or,Ot&&(Lr.optional=cr),w=this.finishNode(Lr,"MemberExpression")}else if(!Ie&&this.eat(k.parenL)){var In=new Te,qn=this.yieldPos,js=this.awaitPos,Vn=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Ls=this.parseExprList(k.parenR,this.options.ecmaVersion>=8,!1,In);if(M&&!cr&&this.shouldParseAsyncArrow())return this.checkPatternErrors(In,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=qn,this.awaitPos=js,this.awaitIdentPos=Vn,this.parseSubscriptAsyncArrow(Y,me,Ls,ue);this.checkExpressionErrors(In,!0),this.yieldPos=qn||this.yieldPos,this.awaitPos=js||this.awaitPos,this.awaitIdentPos=Vn||this.awaitIdentPos;var Ps=this.startNodeAt(Y,me);Ps.callee=w,Ps.arguments=Ls,Ot&&(Ps.optional=cr),w=this.finishNode(Ps,"CallExpression")}else if(this.type===k.backQuote){(cr||O)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var ml=this.startNodeAt(Y,me);ml.tag=w,ml.quasi=this.parseTemplate({isTagged:!0}),w=this.finishNode(ml,"TaggedTemplateExpression")}return w},ge.parseExprAtom=function(w,Y,me){this.type===k.slash&&this.readRegexp();var Ie,M=this.potentialArrowAt===this.start;switch(this.type){case k._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),Ie=this.startNode(),this.next(),this.type!==k.parenL||this.allowDirectSuper||this.raise(Ie.start,"super() call outside constructor of a subclass"),this.type!==k.dot&&this.type!==k.bracketL&&this.type!==k.parenL&&this.unexpected(),this.finishNode(Ie,"Super");case k._this:return Ie=this.startNode(),this.next(),this.finishNode(Ie,"ThisExpression");case k.name:var O=this.start,ue=this.startLoc,Ot=this.containsEsc,cr=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!Ot&&cr.name==="async"&&!this.canInsertSemicolon()&&this.eat(k._function))return this.overrideContext(Ze.f_expr),this.parseFunction(this.startNodeAt(O,ue),0,!1,!0,Y);if(M&&!this.canInsertSemicolon()){if(this.eat(k.arrow))return this.parseArrowExpression(this.startNodeAt(O,ue),[cr],!1,Y);if(this.options.ecmaVersion>=8&&cr.name==="async"&&this.type===k.name&&!Ot&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return cr=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(k.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(O,ue),[cr],!0,Y)}return cr;case k.regexp:var Or=this.value;return(Ie=this.parseLiteral(Or.value)).regex={pattern:Or.pattern,flags:Or.flags},Ie;case k.num:case k.string:return this.parseLiteral(this.value);case k._null:case k._true:case k._false:return(Ie=this.startNode()).value=this.type===k._null?null:this.type===k._true,Ie.raw=this.type.keyword,this.next(),this.finishNode(Ie,"Literal");case k.parenL:var Lr=this.start,In=this.parseParenAndDistinguishExpression(M,Y);return w&&(w.parenthesizedAssign<0&&!this.isSimpleAssignTarget(In)&&(w.parenthesizedAssign=Lr),w.parenthesizedBind<0&&(w.parenthesizedBind=Lr)),In;case k.bracketL:return Ie=this.startNode(),this.next(),Ie.elements=this.parseExprList(k.bracketR,!0,!0,w),this.finishNode(Ie,"ArrayExpression");case k.braceL:return this.overrideContext(Ze.b_expr),this.parseObj(!1,w);case k._function:return Ie=this.startNode(),this.next(),this.parseFunction(Ie,0);case k._class:return this.parseClass(this.startNode(),!1);case k._new:return this.parseNew();case k.backQuote:return this.parseTemplate();case k._import:return this.options.ecmaVersion>=11?this.parseExprImport(me):this.unexpected();default:return this.parseExprAtomDefault()}},ge.parseExprAtomDefault=function(){this.unexpected()},ge.parseExprImport=function(w){var Y=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===k.parenL&&!w)return this.parseDynamicImport(Y);if(this.type===k.dot){var me=this.startNodeAt(Y.start,Y.loc&&Y.loc.start);return me.name="import",Y.meta=this.finishNode(me,"Identifier"),this.parseImportMeta(Y)}this.unexpected()},ge.parseDynamicImport=function(w){if(this.next(),w.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(k.parenR)?w.options=null:(this.expect(k.comma),this.afterTrailingComma(k.parenR)?w.options=null:(w.options=this.parseMaybeAssign(),!this.eat(k.parenR)&&(this.expect(k.comma),this.afterTrailingComma(k.parenR)||this.unexpected())));else if(!this.eat(k.parenR)){var Y=this.start;this.eat(k.comma)&&this.eat(k.parenR)?this.raiseRecoverable(Y,"Trailing comma is not allowed in import()"):this.unexpected(Y)}return this.finishNode(w,"ImportExpression")},ge.parseImportMeta=function(w){this.next();var Y=this.containsEsc;return w.property=this.parseIdent(!0),w.property.name!=="meta"&&this.raiseRecoverable(w.property.start,"The only valid meta property for import is 'import.meta'"),Y&&this.raiseRecoverable(w.start,"'import.meta' must not contain escaped characters"),this.options.sourceType==="module"||this.options.allowImportExportEverywhere||this.raiseRecoverable(w.start,"Cannot use 'import.meta' outside a module"),this.finishNode(w,"MetaProperty")},ge.parseLiteral=function(w){var Y=this.startNode();return Y.value=w,Y.raw=this.input.slice(this.start,this.end),Y.raw.charCodeAt(Y.raw.length-1)===110&&(Y.bigint=Y.value!=null?Y.value.toString():Y.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(Y,"Literal")},ge.parseParenExpression=function(){this.expect(k.parenL);var w=this.parseExpression();return this.expect(k.parenR),w},ge.shouldParseArrow=function(w){return!this.canInsertSemicolon()},ge.parseParenAndDistinguishExpression=function(w,Y){var me,Ie=this.start,M=this.startLoc,O=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var ue,Ot=this.start,cr=this.startLoc,Or=[],Lr=!0,In=!1,qn=new Te,js=this.yieldPos,Vn=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==k.parenR;){if(Lr?Lr=!1:this.expect(k.comma),O&&this.afterTrailingComma(k.parenR,!0)){In=!0;break}if(this.type===k.ellipsis){ue=this.start,Or.push(this.parseParenItem(this.parseRestBinding())),this.type===k.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}Or.push(this.parseMaybeAssign(!1,qn,this.parseParenItem))}var Ls=this.lastTokEnd,Ps=this.lastTokEndLoc;if(this.expect(k.parenR),w&&this.shouldParseArrow(Or)&&this.eat(k.arrow))return this.checkPatternErrors(qn,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=js,this.awaitPos=Vn,this.parseParenArrowList(Ie,M,Or,Y);(!Or.length||In)&&this.unexpected(this.lastTokStart),ue&&this.unexpected(ue),this.checkExpressionErrors(qn,!0),this.yieldPos=js||this.yieldPos,this.awaitPos=Vn||this.awaitPos,Or.length>1?((me=this.startNodeAt(Ot,cr)).expressions=Or,this.finishNodeAt(me,"SequenceExpression",Ls,Ps)):me=Or[0]}else me=this.parseParenExpression();if(!this.options.preserveParens)return me;var ml=this.startNodeAt(Ie,M);return ml.expression=me,this.finishNode(ml,"ParenthesizedExpression")},ge.parseParenItem=function(w){return w},ge.parseParenArrowList=function(w,Y,me,Ie){return this.parseArrowExpression(this.startNodeAt(w,Y),me,!1,Ie)};var le=[];ge.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var w=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===k.dot){var Y=this.startNodeAt(w.start,w.loc&&w.loc.start);Y.name="new",w.meta=this.finishNode(Y,"Identifier"),this.next();var me=this.containsEsc;return w.property=this.parseIdent(!0),w.property.name!=="target"&&this.raiseRecoverable(w.property.start,"The only valid meta property for new is 'new.target'"),me&&this.raiseRecoverable(w.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(w.start,"'new.target' can only be used in functions and class static block"),this.finishNode(w,"MetaProperty")}var Ie=this.start,M=this.startLoc;return w.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),Ie,M,!0,!1),this.eat(k.parenL)?w.arguments=this.parseExprList(k.parenR,this.options.ecmaVersion>=8,!1):w.arguments=le,this.finishNode(w,"NewExpression")},ge.parseTemplateElement=function(w){var Y=w.isTagged,me=this.startNode();return this.type===k.invalidTemplate?(Y||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),me.value={raw:this.value.replace(/\r\n?/g,`
|
|
`),cooked:null}):me.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
`),cooked:this.value},this.next(),me.tail=this.type===k.backQuote,this.finishNode(me,"TemplateElement")},ge.parseTemplate=function(w){w===void 0&&(w={});var Y=w.isTagged;Y===void 0&&(Y=!1);var me=this.startNode();this.next(),me.expressions=[];var Ie=this.parseTemplateElement({isTagged:Y});for(me.quasis=[Ie];!Ie.tail;)this.type===k.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(k.dollarBraceL),me.expressions.push(this.parseExpression()),this.expect(k.braceR),me.quasis.push(Ie=this.parseTemplateElement({isTagged:Y}));return this.next(),this.finishNode(me,"TemplateLiteral")},ge.isAsyncProp=function(w){return!w.computed&&w.key.type==="Identifier"&&w.key.name==="async"&&(this.type===k.name||this.type===k.num||this.type===k.string||this.type===k.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===k.star)&&!U.test(this.input.slice(this.lastTokEnd,this.start))},ge.parseObj=function(w,Y){var me=this.startNode(),Ie=!0,M={};for(me.properties=[],this.next();!this.eat(k.braceR);){if(Ie)Ie=!1;else if(this.expect(k.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(k.braceR))break;var O=this.parseProperty(w,Y);w||this.checkPropClash(O,M,Y),me.properties.push(O)}return this.finishNode(me,w?"ObjectPattern":"ObjectExpression")},ge.parseProperty=function(w,Y){var me,Ie,M,O,ue=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(k.ellipsis))return w?(ue.argument=this.parseIdent(!1),this.type===k.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(ue,"RestElement")):(ue.argument=this.parseMaybeAssign(!1,Y),this.type===k.comma&&Y&&Y.trailingComma<0&&(Y.trailingComma=this.start),this.finishNode(ue,"SpreadElement"));this.options.ecmaVersion>=6&&(ue.method=!1,ue.shorthand=!1,(w||Y)&&(M=this.start,O=this.startLoc),w||(me=this.eat(k.star)));var Ot=this.containsEsc;return this.parsePropertyName(ue),!w&&!Ot&&this.options.ecmaVersion>=8&&!me&&this.isAsyncProp(ue)?(Ie=!0,me=this.options.ecmaVersion>=9&&this.eat(k.star),this.parsePropertyName(ue)):Ie=!1,this.parsePropertyValue(ue,w,me,Ie,M,O,Y,Ot),this.finishNode(ue,"Property")},ge.parseGetterSetter=function(w){var Y=w.key.name;this.parsePropertyName(w),w.value=this.parseMethod(!1),w.kind=Y;var me=+(w.kind!=="get");if(w.value.params.length!==me){var Ie=w.value.start;w.kind==="get"?this.raiseRecoverable(Ie,"getter should have no params"):this.raiseRecoverable(Ie,"setter should have exactly one param")}else w.kind==="set"&&w.value.params[0].type==="RestElement"&&this.raiseRecoverable(w.value.params[0].start,"Setter cannot use rest params")},ge.parsePropertyValue=function(w,Y,me,Ie,M,O,ue,Ot){(me||Ie)&&this.type===k.colon&&this.unexpected(),this.eat(k.colon)?(w.value=Y?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,ue),w.kind="init"):this.options.ecmaVersion>=6&&this.type===k.parenL?(Y&&this.unexpected(),w.method=!0,w.value=this.parseMethod(me,Ie),w.kind="init"):Y||Ot||!(this.options.ecmaVersion>=5)||w.computed||w.key.type!=="Identifier"||w.key.name!=="get"&&w.key.name!=="set"||this.type===k.comma||this.type===k.braceR||this.type===k.eq?this.options.ecmaVersion>=6&&!w.computed&&w.key.type==="Identifier"?((me||Ie)&&this.unexpected(),this.checkUnreserved(w.key),w.key.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=M),Y?w.value=this.parseMaybeDefault(M,O,this.copyNode(w.key)):this.type===k.eq&&ue?(ue.shorthandAssign<0&&(ue.shorthandAssign=this.start),w.value=this.parseMaybeDefault(M,O,this.copyNode(w.key))):w.value=this.copyNode(w.key),w.kind="init",w.shorthand=!0):this.unexpected():((me||Ie)&&this.unexpected(),this.parseGetterSetter(w))},ge.parsePropertyName=function(w){if(this.options.ecmaVersion>=6){if(this.eat(k.bracketL))return w.computed=!0,w.key=this.parseMaybeAssign(),this.expect(k.bracketR),w.key;w.computed=!1}return w.key=this.type===k.num||this.type===k.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},ge.initFunction=function(w){w.id=null,this.options.ecmaVersion>=6&&(w.generator=w.expression=!1),this.options.ecmaVersion>=8&&(w.async=!1)},ge.parseMethod=function(w,Y,me){var Ie=this.startNode(),M=this.yieldPos,O=this.awaitPos,ue=this.awaitIdentPos;return this.initFunction(Ie),this.options.ecmaVersion>=6&&(Ie.generator=w),this.options.ecmaVersion>=8&&(Ie.async=!!Y),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|de(Y,Ie.generator)|128*!!me),this.expect(k.parenL),Ie.params=this.parseBindingList(k.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(Ie,!1,!0,!1),this.yieldPos=M,this.awaitPos=O,this.awaitIdentPos=ue,this.finishNode(Ie,"FunctionExpression")},ge.parseArrowExpression=function(w,Y,me,Ie){var M=this.yieldPos,O=this.awaitPos,ue=this.awaitIdentPos;return this.enterScope(16|de(me,!1)),this.initFunction(w),this.options.ecmaVersion>=8&&(w.async=!!me),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,w.params=this.toAssignableList(Y,!0),this.parseFunctionBody(w,!0,!1,Ie),this.yieldPos=M,this.awaitPos=O,this.awaitIdentPos=ue,this.finishNode(w,"ArrowFunctionExpression")},ge.parseFunctionBody=function(w,Y,me,Ie){var M=Y&&this.type!==k.braceL,O=this.strict,ue=!1;if(M)w.body=this.parseMaybeAssign(Ie),w.expression=!0,this.checkParams(w,!1);else{var Ot=this.options.ecmaVersion>=7&&!this.isSimpleParamList(w.params);(!O||Ot)&&(ue=this.strictDirective(this.end))&&Ot&&this.raiseRecoverable(w.start,"Illegal 'use strict' directive in function with non-simple parameter list");var cr=this.labels;this.labels=[],ue&&(this.strict=!0),this.checkParams(w,!O&&!ue&&!Y&&!me&&this.isSimpleParamList(w.params)),this.strict&&w.id&&this.checkLValSimple(w.id,5),w.body=this.parseBlock(!1,void 0,ue&&!O),w.expression=!1,this.adaptDirectivePrologue(w.body.body),this.labels=cr}this.exitScope()},ge.isSimpleParamList=function(w){for(var Y=0;Y<w.length;Y+=1)if(w[Y].type!=="Identifier")return!1;return!0},ge.checkParams=function(w,Y){for(var me=Object.create(null),Ie=0,M=w.params;Ie<M.length;Ie+=1){var O=M[Ie];this.checkLValInnerPattern(O,1,Y?null:me)}},ge.parseExprList=function(w,Y,me,Ie){for(var M=[],O=!0;!this.eat(w);){if(O)O=!1;else if(this.expect(k.comma),Y&&this.afterTrailingComma(w))break;var ue=void 0;me&&this.type===k.comma?ue=null:this.type===k.ellipsis?(ue=this.parseSpread(Ie),Ie&&this.type===k.comma&&Ie.trailingComma<0&&(Ie.trailingComma=this.start)):ue=this.parseMaybeAssign(!1,Ie),M.push(ue)}return M},ge.checkUnreserved=function(w){var Y=w.start,me=w.end,Ie=w.name;this.inGenerator&&Ie==="yield"&&this.raiseRecoverable(Y,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&Ie==="await"&&this.raiseRecoverable(Y,"Cannot use 'await' as identifier inside an async function"),259&this.currentThisScope().flags||Ie!=="arguments"||this.raiseRecoverable(Y,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(Ie==="arguments"||Ie==="await")&&this.raise(Y,"Cannot use "+Ie+" in class static initialization block"),this.keywords.test(Ie)&&this.raise(Y,"Unexpected keyword '"+Ie+"'"),(!(this.options.ecmaVersion<6)||this.input.slice(Y,me).indexOf("\\")===-1)&&(this.strict?this.reservedWordsStrict:this.reservedWords).test(Ie)&&(this.inAsync||Ie!=="await"||this.raiseRecoverable(Y,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(Y,"The keyword '"+Ie+"' is reserved"))},ge.parseIdent=function(w){var Y=this.parseIdentNode();return this.next(!!w),this.finishNode(Y,"Identifier"),!w&&(this.checkUnreserved(Y),Y.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=Y.start)),Y},ge.parseIdentNode=function(){var w=this.startNode();return this.type===k.name?w.name=this.value:this.type.keyword?(w.name=this.type.keyword,(w.name==="class"||w.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=k.name):this.unexpected(),w},ge.parsePrivateIdent=function(){var w=this.startNode();return this.type===k.privateId?w.name=this.value:this.unexpected(),this.next(),this.finishNode(w,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(w.start,"Private field '#"+w.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(w)),w},ge.parseYield=function(w){this.yieldPos||(this.yieldPos=this.start);var Y=this.startNode();return this.next(),this.type===k.semi||this.canInsertSemicolon()||this.type!==k.star&&!this.type.startsExpr?(Y.delegate=!1,Y.argument=null):(Y.delegate=this.eat(k.star),Y.argument=this.parseMaybeAssign(w)),this.finishNode(Y,"YieldExpression")},ge.parseAwait=function(w){this.awaitPos||(this.awaitPos=this.start);var Y=this.startNode();return this.next(),Y.argument=this.parseMaybeUnary(null,!0,!1,w),this.finishNode(Y,"AwaitExpression")};var Se=xe.prototype;Se.raise=function(w,Y){var me=Ne(this.input,w);Y+=" ("+me.line+":"+me.column+")",this.sourceFile&&(Y+=" in "+this.sourceFile);var Ie=SyntaxError(Y);throw Ie.pos=w,Ie.loc=me,Ie.raisedAt=this.pos,Ie},Se.raiseRecoverable=Se.raise,Se.curPosition=function(){if(this.options.locations)return new oe(this.curLine,this.pos-this.lineStart)};var Ee=xe.prototype,Be=function(w){this.flags=w,this.var=[],this.lexical=[],this.functions=[]};Ee.enterScope=function(w){this.scopeStack.push(new Be(w))},Ee.exitScope=function(){this.scopeStack.pop()},Ee.treatFunctionsAsVarInScope=function(w){return 2&w.flags||!this.inModule&&1&w.flags},Ee.declareName=function(w,Y,me){var Ie=!1;if(Y===2){var M=this.currentScope();Ie=M.lexical.indexOf(w)>-1||M.functions.indexOf(w)>-1||M.var.indexOf(w)>-1,M.lexical.push(w),this.inModule&&1&M.flags&&delete this.undefinedExports[w]}else if(Y===4)this.currentScope().lexical.push(w);else if(Y===3){var O=this.currentScope();Ie=this.treatFunctionsAsVar?O.lexical.indexOf(w)>-1:O.lexical.indexOf(w)>-1||O.var.indexOf(w)>-1,O.functions.push(w)}else for(var ue=this.scopeStack.length-1;ue>=0;--ue){var Ot=this.scopeStack[ue];if(Ot.lexical.indexOf(w)>-1&&!(32&Ot.flags&&Ot.lexical[0]===w)||!this.treatFunctionsAsVarInScope(Ot)&&Ot.functions.indexOf(w)>-1){Ie=!0;break}if(Ot.var.push(w),this.inModule&&1&Ot.flags&&delete this.undefinedExports[w],259&Ot.flags)break}Ie&&this.raiseRecoverable(me,"Identifier '"+w+"' has already been declared")},Ee.checkLocalExport=function(w){this.scopeStack[0].lexical.indexOf(w.name)===-1&&this.scopeStack[0].var.indexOf(w.name)===-1&&(this.undefinedExports[w.name]=w)},Ee.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Ee.currentVarScope=function(){for(var w=this.scopeStack.length-1;;w--){var Y=this.scopeStack[w];if(771&Y.flags)return Y}},Ee.currentThisScope=function(){for(var w=this.scopeStack.length-1;;w--){var Y=this.scopeStack[w];if(771&Y.flags&&!(16&Y.flags))return Y}};var Qe=function(w,Y,me){this.type="",this.start=Y,this.end=0,w.options.locations&&(this.loc=new be(w,me)),w.options.directSourceFile&&(this.sourceFile=w.options.directSourceFile),w.options.ranges&&(this.range=[Y,0])},ce=xe.prototype;function $e(w,Y,me,Ie){return w.type=Y,w.end=me,this.options.locations&&(w.loc.end=Ie),this.options.ranges&&(w.range[1]=me),w}ce.startNode=function(){return new Qe(this,this.start,this.startLoc)},ce.startNodeAt=function(w,Y){return new Qe(this,w,Y)},ce.finishNode=function(w,Y){return $e.call(this,w,Y,this.lastTokEnd,this.lastTokEndLoc)},ce.finishNodeAt=function(w,Y,me,Ie){return $e.call(this,w,Y,me,Ie)},ce.copyNode=function(w){var Y=new Qe(this,w.start,this.startLoc);for(var me in w)Y[me]=w[me];return Y};var et="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",ut=et+" Extended_Pictographic",Je=ut+" EBase EComp EMod EPres ExtPict",Le={9:et,10:ut,11:ut,12:Je,13:Je,14:Je},at={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"},Et="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",Rt="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",lr=Rt+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",xt=lr+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",ar=xt+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",yr=ar+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Pr={9:Rt,10:lr,11:xt,12:ar,13:yr,14:yr+" Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz"},Rr={};function ln(w){var Y=Rr[w]={binary:Q(Le[w]+" "+Et),binaryOfStrings:Q(at[w]),nonBinary:{General_Category:Q(Et),Script:Q(Pr[w])}};Y.nonBinary.Script_Extensions=Y.nonBinary.Script,Y.nonBinary.gc=Y.nonBinary.General_Category,Y.nonBinary.sc=Y.nonBinary.Script,Y.nonBinary.scx=Y.nonBinary.Script_Extensions}for(var Tn=0,Pn=[9,10,11,12,13,14];Tn<Pn.length;Tn+=1)ln(Pn[Tn]);var er=xe.prototype,Yr=function(w,Y){this.parent=w,this.base=Y||this};Yr.prototype.separatedFrom=function(w){for(var Y=this;Y;Y=Y.parent)for(var me=w;me;me=me.parent)if(Y.base===me.base&&Y!==me)return!0;return!1},Yr.prototype.sibling=function(){return new Yr(this.parent,this.base)};var gr=function(w){this.parser=w,this.validFlags="gim"+(w.options.ecmaVersion>=6?"uy":"")+(w.options.ecmaVersion>=9?"s":"")+(w.options.ecmaVersion>=13?"d":"")+(w.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Rr[w.options.ecmaVersion>=14?14:w.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=Object.create(null),this.backReferenceNames=[],this.branchID=null};function An(w){for(var Y in w)return!0;return!1}function rt(w){return w===105||w===109||w===115}function At(w){return w===36||w>=40&&w<=43||w===46||w===63||w>=91&&w<=94||w>=123&&w<=125}function Mt(w){return v(w,!0)||w===36||w===95}function $t(w){return E(w,!0)||w===36||w===95||w===8204||w===8205}function zt(w){return w>=65&&w<=90||w>=97&&w<=122}function qt(w){return w>=0&&w<=1114111}function pr(w){return w===100||w===68||w===115||w===83||w===119||w===87}function xr(w){return zt(w)||w===95}function Hr(w){return xr(w)||Nn(w)}function Qr(w){return w===33||w>=35&&w<=38||w>=42&&w<=44||w===46||w>=58&&w<=64||w===94||w===96||w===126}function Fr(w){return w===40||w===41||w===45||w===47||w>=91&&w<=93||w>=123&&w<=125}function Sn(w){return w===33||w===35||w===37||w===38||w===44||w===45||w>=58&&w<=62||w===64||w===96||w===126}function Nn(w){return w>=48&&w<=57}function zn(w){return w>=48&&w<=57||w>=65&&w<=70||w>=97&&w<=102}function Ni(w){return w>=65&&w<=70?10+(w-65):w>=97&&w<=102?10+(w-97):w-48}function Fi(w){return w>=48&&w<=55}gr.prototype.reset=function(w,Y,me){var Ie=me.indexOf("v")!==-1,M=me.indexOf("u")!==-1;this.start=0|w,this.source=Y+"",this.flags=me,Ie&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=M&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=M&&this.parser.options.ecmaVersion>=9)},gr.prototype.raise=function(w){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+w)},gr.prototype.at=function(w,Y){Y===void 0&&(Y=!1);var me=this.source,Ie=me.length;if(w>=Ie)return-1;var M=me.charCodeAt(w);if(!(Y||this.switchU)||M<=55295||M>=57344||w+1>=Ie)return M;var O=me.charCodeAt(w+1);return O>=56320&&O<=57343?(M<<10)+O-56613888:M},gr.prototype.nextIndex=function(w,Y){Y===void 0&&(Y=!1);var me=this.source,Ie=me.length;if(w>=Ie)return Ie;var M,O=me.charCodeAt(w);return!(Y||this.switchU)||O<=55295||O>=57344||w+1>=Ie||(M=me.charCodeAt(w+1))<56320||M>57343?w+1:w+2},gr.prototype.current=function(w){return w===void 0&&(w=!1),this.at(this.pos,w)},gr.prototype.lookahead=function(w){return w===void 0&&(w=!1),this.at(this.nextIndex(this.pos,w),w)},gr.prototype.advance=function(w){w===void 0&&(w=!1),this.pos=this.nextIndex(this.pos,w)},gr.prototype.eat=function(w,Y){return Y===void 0&&(Y=!1),this.current(Y)===w&&(this.advance(Y),!0)},gr.prototype.eatChars=function(w,Y){Y===void 0&&(Y=!1);for(var me=this.pos,Ie=0;Ie<w.length;Ie+=1){var M=w[Ie],O=this.at(me,Y);if(O===-1||O!==M)return!1;me=this.nextIndex(me,Y)}return this.pos=me,!0},er.validateRegExpFlags=function(w){for(var Y=w.validFlags,me=w.flags,Ie=!1,M=!1,O=0;O<me.length;O++){var ue=me.charAt(O);Y.indexOf(ue)===-1&&this.raise(w.start,"Invalid regular expression flag"),me.indexOf(ue,O+1)>-1&&this.raise(w.start,"Duplicate regular expression flag"),ue==="u"&&(Ie=!0),ue==="v"&&(M=!0)}this.options.ecmaVersion>=15&&Ie&&M&&this.raise(w.start,"Invalid regular expression flag")},er.validateRegExpPattern=function(w){this.regexp_pattern(w),!w.switchN&&this.options.ecmaVersion>=9&&An(w.groupNames)&&(w.switchN=!0,this.regexp_pattern(w))},er.regexp_pattern=function(w){w.pos=0,w.lastIntValue=0,w.lastStringValue="",w.lastAssertionIsQuantifiable=!1,w.numCapturingParens=0,w.maxBackReference=0,w.groupNames=Object.create(null),w.backReferenceNames.length=0,w.branchID=null,this.regexp_disjunction(w),w.pos!==w.source.length&&(w.eat(41)&&w.raise("Unmatched ')'"),(w.eat(93)||w.eat(125))&&w.raise("Lone quantifier brackets")),w.maxBackReference>w.numCapturingParens&&w.raise("Invalid escape");for(var Y=0,me=w.backReferenceNames;Y<me.length;Y+=1){var Ie=me[Y];w.groupNames[Ie]||w.raise("Invalid named capture referenced")}},er.regexp_disjunction=function(w){var Y=this.options.ecmaVersion>=16;for(Y&&(w.branchID=new Yr(w.branchID,null)),this.regexp_alternative(w);w.eat(124);)Y&&(w.branchID=w.branchID.sibling()),this.regexp_alternative(w);Y&&(w.branchID=w.branchID.parent),this.regexp_eatQuantifier(w,!0)&&w.raise("Nothing to repeat"),w.eat(123)&&w.raise("Lone quantifier brackets")},er.regexp_alternative=function(w){for(;w.pos<w.source.length&&this.regexp_eatTerm(w););},er.regexp_eatTerm=function(w){return this.regexp_eatAssertion(w)?(w.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(w)&&w.switchU&&w.raise("Invalid quantifier"),!0):(w.switchU?!!this.regexp_eatAtom(w):!!this.regexp_eatExtendedAtom(w))&&(this.regexp_eatQuantifier(w),!0)},er.regexp_eatAssertion=function(w){var Y=w.pos;if(w.lastAssertionIsQuantifiable=!1,w.eat(94)||w.eat(36))return!0;if(w.eat(92)){if(w.eat(66)||w.eat(98))return!0;w.pos=Y}if(w.eat(40)&&w.eat(63)){var me=!1;if(this.options.ecmaVersion>=9&&(me=w.eat(60)),w.eat(61)||w.eat(33))return this.regexp_disjunction(w),w.eat(41)||w.raise("Unterminated group"),w.lastAssertionIsQuantifiable=!me,!0}return w.pos=Y,!1},er.regexp_eatQuantifier=function(w,Y){return Y===void 0&&(Y=!1),!!this.regexp_eatQuantifierPrefix(w,Y)&&(w.eat(63),!0)},er.regexp_eatQuantifierPrefix=function(w,Y){return w.eat(42)||w.eat(43)||w.eat(63)||this.regexp_eatBracedQuantifier(w,Y)},er.regexp_eatBracedQuantifier=function(w,Y){var me=w.pos;if(w.eat(123)){var Ie=0,M=-1;if(this.regexp_eatDecimalDigits(w)&&(Ie=w.lastIntValue,w.eat(44)&&this.regexp_eatDecimalDigits(w)&&(M=w.lastIntValue),w.eat(125)))return M!==-1&&M<Ie&&!Y&&w.raise("numbers out of order in {} quantifier"),!0;w.switchU&&!Y&&w.raise("Incomplete quantifier"),w.pos=me}return!1},er.regexp_eatAtom=function(w){return this.regexp_eatPatternCharacters(w)||w.eat(46)||this.regexp_eatReverseSolidusAtomEscape(w)||this.regexp_eatCharacterClass(w)||this.regexp_eatUncapturingGroup(w)||this.regexp_eatCapturingGroup(w)},er.regexp_eatReverseSolidusAtomEscape=function(w){var Y=w.pos;if(w.eat(92)){if(this.regexp_eatAtomEscape(w))return!0;w.pos=Y}return!1},er.regexp_eatUncapturingGroup=function(w){var Y=w.pos;if(w.eat(40)){if(w.eat(63)){if(this.options.ecmaVersion>=16){var me=this.regexp_eatModifiers(w),Ie=w.eat(45);if(me||Ie){for(var M=0;M<me.length;M++){var O=me.charAt(M);me.indexOf(O,M+1)>-1&&w.raise("Duplicate regular expression modifiers")}if(Ie){var ue=this.regexp_eatModifiers(w);me||ue||w.current()!==58||w.raise("Invalid regular expression modifiers");for(var Ot=0;Ot<ue.length;Ot++){var cr=ue.charAt(Ot);(ue.indexOf(cr,Ot+1)>-1||me.indexOf(cr)>-1)&&w.raise("Duplicate regular expression modifiers")}}}}if(w.eat(58)){if(this.regexp_disjunction(w),w.eat(41))return!0;w.raise("Unterminated group")}}w.pos=Y}return!1},er.regexp_eatCapturingGroup=function(w){if(w.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(w):w.current()===63&&w.raise("Invalid group"),this.regexp_disjunction(w),w.eat(41))return w.numCapturingParens+=1,!0;w.raise("Unterminated group")}return!1},er.regexp_eatModifiers=function(w){for(var Y="",me=0;(me=w.current())!==-1&&rt(me);)Y+=X(me),w.advance();return Y},er.regexp_eatExtendedAtom=function(w){return w.eat(46)||this.regexp_eatReverseSolidusAtomEscape(w)||this.regexp_eatCharacterClass(w)||this.regexp_eatUncapturingGroup(w)||this.regexp_eatCapturingGroup(w)||this.regexp_eatInvalidBracedQuantifier(w)||this.regexp_eatExtendedPatternCharacter(w)},er.regexp_eatInvalidBracedQuantifier=function(w){return this.regexp_eatBracedQuantifier(w,!0)&&w.raise("Nothing to repeat"),!1},er.regexp_eatSyntaxCharacter=function(w){var Y=w.current();return!!At(Y)&&(w.lastIntValue=Y,w.advance(),!0)},er.regexp_eatPatternCharacters=function(w){for(var Y=w.pos,me=0;(me=w.current())!==-1&&!At(me);)w.advance();return w.pos!==Y},er.regexp_eatExtendedPatternCharacter=function(w){var Y=w.current();return Y!==-1&&Y!==36&&(!(Y>=40)||!(Y<=43))&&Y!==46&&Y!==63&&Y!==91&&Y!==94&&Y!==124&&(w.advance(),!0)},er.regexp_groupSpecifier=function(w){if(w.eat(63)){this.regexp_eatGroupName(w)||w.raise("Invalid group");var Y=this.options.ecmaVersion>=16,me=w.groupNames[w.lastStringValue];if(me)if(Y)for(var Ie=0;Ie<me.length;Ie+=1)me[Ie].separatedFrom(w.branchID)||w.raise("Duplicate capture group name");else w.raise("Duplicate capture group name");Y?(me||(w.groupNames[w.lastStringValue]=[])).push(w.branchID):w.groupNames[w.lastStringValue]=!0}},er.regexp_eatGroupName=function(w){if(w.lastStringValue="",w.eat(60)){if(this.regexp_eatRegExpIdentifierName(w)&&w.eat(62))return!0;w.raise("Invalid capture group name")}return!1},er.regexp_eatRegExpIdentifierName=function(w){if(w.lastStringValue="",this.regexp_eatRegExpIdentifierStart(w)){for(w.lastStringValue+=X(w.lastIntValue);this.regexp_eatRegExpIdentifierPart(w);)w.lastStringValue+=X(w.lastIntValue);return!0}return!1},er.regexp_eatRegExpIdentifierStart=function(w){var Y=w.pos,me=this.options.ecmaVersion>=11,Ie=w.current(me);return w.advance(me),Ie===92&&this.regexp_eatRegExpUnicodeEscapeSequence(w,me)&&(Ie=w.lastIntValue),Mt(Ie)?(w.lastIntValue=Ie,!0):(w.pos=Y,!1)},er.regexp_eatRegExpIdentifierPart=function(w){var Y=w.pos,me=this.options.ecmaVersion>=11,Ie=w.current(me);return w.advance(me),Ie===92&&this.regexp_eatRegExpUnicodeEscapeSequence(w,me)&&(Ie=w.lastIntValue),$t(Ie)?(w.lastIntValue=Ie,!0):(w.pos=Y,!1)},er.regexp_eatAtomEscape=function(w){return!!(this.regexp_eatBackReference(w)||this.regexp_eatCharacterClassEscape(w)||this.regexp_eatCharacterEscape(w)||w.switchN&&this.regexp_eatKGroupName(w))||(w.switchU&&(w.current()===99&&w.raise("Invalid unicode escape"),w.raise("Invalid escape")),!1)},er.regexp_eatBackReference=function(w){var Y=w.pos;if(this.regexp_eatDecimalEscape(w)){var me=w.lastIntValue;if(w.switchU)return me>w.maxBackReference&&(w.maxBackReference=me),!0;if(me<=w.numCapturingParens)return!0;w.pos=Y}return!1},er.regexp_eatKGroupName=function(w){if(w.eat(107)){if(this.regexp_eatGroupName(w))return w.backReferenceNames.push(w.lastStringValue),!0;w.raise("Invalid named reference")}return!1},er.regexp_eatCharacterEscape=function(w){return this.regexp_eatControlEscape(w)||this.regexp_eatCControlLetter(w)||this.regexp_eatZero(w)||this.regexp_eatHexEscapeSequence(w)||this.regexp_eatRegExpUnicodeEscapeSequence(w,!1)||!w.switchU&&this.regexp_eatLegacyOctalEscapeSequence(w)||this.regexp_eatIdentityEscape(w)},er.regexp_eatCControlLetter=function(w){var Y=w.pos;if(w.eat(99)){if(this.regexp_eatControlLetter(w))return!0;w.pos=Y}return!1},er.regexp_eatZero=function(w){return!(w.current()!==48||Nn(w.lookahead()))&&(w.lastIntValue=0,w.advance(),!0)},er.regexp_eatControlEscape=function(w){var Y=w.current();return Y===116?(w.lastIntValue=9,w.advance(),!0):Y===110?(w.lastIntValue=10,w.advance(),!0):Y===118?(w.lastIntValue=11,w.advance(),!0):Y===102?(w.lastIntValue=12,w.advance(),!0):Y===114&&(w.lastIntValue=13,w.advance(),!0)},er.regexp_eatControlLetter=function(w){var Y=w.current();return!!zt(Y)&&(w.lastIntValue=Y%32,w.advance(),!0)},er.regexp_eatRegExpUnicodeEscapeSequence=function(w,Y){Y===void 0&&(Y=!1);var me=w.pos,Ie=Y||w.switchU;if(w.eat(117)){if(this.regexp_eatFixedHexDigits(w,4)){var M=w.lastIntValue;if(Ie&&M>=55296&&M<=56319){var O=w.pos;if(w.eat(92)&&w.eat(117)&&this.regexp_eatFixedHexDigits(w,4)){var ue=w.lastIntValue;if(ue>=56320&&ue<=57343)return w.lastIntValue=(M-55296)*1024+(ue-56320)+65536,!0}w.pos=O,w.lastIntValue=M}return!0}if(Ie&&w.eat(123)&&this.regexp_eatHexDigits(w)&&w.eat(125)&&qt(w.lastIntValue))return!0;Ie&&w.raise("Invalid unicode escape"),w.pos=me}return!1},er.regexp_eatIdentityEscape=function(w){if(w.switchU)return!!this.regexp_eatSyntaxCharacter(w)||!!w.eat(47)&&(w.lastIntValue=47,!0);var Y=w.current();return Y!==99&&(!w.switchN||Y!==107)&&(w.lastIntValue=Y,w.advance(),!0)},er.regexp_eatDecimalEscape=function(w){w.lastIntValue=0;var Y=w.current();if(Y>=49&&Y<=57){do w.lastIntValue=10*w.lastIntValue+(Y-48),w.advance();while((Y=w.current())>=48&&Y<=57);return!0}return!1},er.regexp_eatCharacterClassEscape=function(w){var Y,me=w.current();if(pr(me))return w.lastIntValue=-1,w.advance(),1;var Ie=!1;if(w.switchU&&this.options.ecmaVersion>=9&&((Ie=me===80)||me===112)){if(w.lastIntValue=-1,w.advance(),w.eat(123)&&(Y=this.regexp_eatUnicodePropertyValueExpression(w))&&w.eat(125))return Ie&&Y===2&&w.raise("Invalid property name"),Y;w.raise("Invalid property name")}return 0},er.regexp_eatUnicodePropertyValueExpression=function(w){var Y=w.pos;if(this.regexp_eatUnicodePropertyName(w)&&w.eat(61)){var me=w.lastStringValue;if(this.regexp_eatUnicodePropertyValue(w)){var Ie=w.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(w,me,Ie),1}}if(w.pos=Y,this.regexp_eatLoneUnicodePropertyNameOrValue(w)){var M=w.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(w,M)}return 0},er.regexp_validateUnicodePropertyNameAndValue=function(w,Y,me){$(w.unicodeProperties.nonBinary,Y)||w.raise("Invalid property name"),w.unicodeProperties.nonBinary[Y].test(me)||w.raise("Invalid property value")},er.regexp_validateUnicodePropertyNameOrValue=function(w,Y){return w.unicodeProperties.binary.test(Y)?1:w.switchV&&w.unicodeProperties.binaryOfStrings.test(Y)?2:void w.raise("Invalid property name")},er.regexp_eatUnicodePropertyName=function(w){var Y=0;for(w.lastStringValue="";xr(Y=w.current());)w.lastStringValue+=X(Y),w.advance();return w.lastStringValue!==""},er.regexp_eatUnicodePropertyValue=function(w){var Y=0;for(w.lastStringValue="";Hr(Y=w.current());)w.lastStringValue+=X(Y),w.advance();return w.lastStringValue!==""},er.regexp_eatLoneUnicodePropertyNameOrValue=function(w){return this.regexp_eatUnicodePropertyValue(w)},er.regexp_eatCharacterClass=function(w){if(w.eat(91)){var Y=w.eat(94),me=this.regexp_classContents(w);return w.eat(93)||w.raise("Unterminated character class"),Y&&me===2&&w.raise("Negated character class may contain strings"),!0}return!1},er.regexp_classContents=function(w){return w.current()===93?1:w.switchV?this.regexp_classSetExpression(w):(this.regexp_nonEmptyClassRanges(w),1)},er.regexp_nonEmptyClassRanges=function(w){for(;this.regexp_eatClassAtom(w);){var Y=w.lastIntValue;if(w.eat(45)&&this.regexp_eatClassAtom(w)){var me=w.lastIntValue;w.switchU&&(Y===-1||me===-1)&&w.raise("Invalid character class"),Y!==-1&&me!==-1&&Y>me&&w.raise("Range out of order in character class")}}},er.regexp_eatClassAtom=function(w){var Y=w.pos;if(w.eat(92)){if(this.regexp_eatClassEscape(w))return!0;if(w.switchU){var me=w.current();(me===99||Fi(me))&&w.raise("Invalid class escape"),w.raise("Invalid escape")}w.pos=Y}var Ie=w.current();return Ie!==93&&(w.lastIntValue=Ie,w.advance(),!0)},er.regexp_eatClassEscape=function(w){var Y=w.pos;if(w.eat(98))return w.lastIntValue=8,!0;if(w.switchU&&w.eat(45))return w.lastIntValue=45,!0;if(!w.switchU&&w.eat(99)){if(this.regexp_eatClassControlLetter(w))return!0;w.pos=Y}return this.regexp_eatCharacterClassEscape(w)||this.regexp_eatCharacterEscape(w)},er.regexp_classSetExpression=function(w){var Y,me=1;if(!this.regexp_eatClassSetRange(w))if(Y=this.regexp_eatClassSetOperand(w)){Y===2&&(me=2);for(var Ie=w.pos;w.eatChars([38,38]);){if(w.current()!==38&&(Y=this.regexp_eatClassSetOperand(w))){Y!==2&&(me=1);continue}w.raise("Invalid character in character class")}if(Ie!==w.pos)return me;for(;w.eatChars([45,45]);)this.regexp_eatClassSetOperand(w)||w.raise("Invalid character in character class");if(Ie!==w.pos)return me}else w.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(w)){if(!(Y=this.regexp_eatClassSetOperand(w)))return me;Y===2&&(me=2)}},er.regexp_eatClassSetRange=function(w){var Y=w.pos;if(this.regexp_eatClassSetCharacter(w)){var me=w.lastIntValue;if(w.eat(45)&&this.regexp_eatClassSetCharacter(w)){var Ie=w.lastIntValue;return me!==-1&&Ie!==-1&&me>Ie&&w.raise("Range out of order in character class"),!0}w.pos=Y}return!1},er.regexp_eatClassSetOperand=function(w){return this.regexp_eatClassSetCharacter(w)?1:this.regexp_eatClassStringDisjunction(w)||this.regexp_eatNestedClass(w)},er.regexp_eatNestedClass=function(w){var Y=w.pos;if(w.eat(91)){var me=w.eat(94),Ie=this.regexp_classContents(w);if(w.eat(93))return me&&Ie===2&&w.raise("Negated character class may contain strings"),Ie;w.pos=Y}if(w.eat(92)){var M=this.regexp_eatCharacterClassEscape(w);if(M)return M;w.pos=Y}return null},er.regexp_eatClassStringDisjunction=function(w){var Y=w.pos;if(w.eatChars([92,113])){if(w.eat(123)){var me=this.regexp_classStringDisjunctionContents(w);if(w.eat(125))return me}else w.raise("Invalid escape");w.pos=Y}return null},er.regexp_classStringDisjunctionContents=function(w){for(var Y=this.regexp_classString(w);w.eat(124);)this.regexp_classString(w)===2&&(Y=2);return Y},er.regexp_classString=function(w){for(var Y=0;this.regexp_eatClassSetCharacter(w);)Y++;return Y===1?1:2},er.regexp_eatClassSetCharacter=function(w){var Y=w.pos;if(w.eat(92))return!!(this.regexp_eatCharacterEscape(w)||this.regexp_eatClassSetReservedPunctuator(w))||(w.eat(98)?(w.lastIntValue=8,!0):(w.pos=Y,!1));var me=w.current();return!(me<0||me===w.lookahead()&&Qr(me)||Fr(me))&&(w.advance(),w.lastIntValue=me,!0)},er.regexp_eatClassSetReservedPunctuator=function(w){var Y=w.current();return!!Sn(Y)&&(w.lastIntValue=Y,w.advance(),!0)},er.regexp_eatClassControlLetter=function(w){var Y=w.current();return(!!Nn(Y)||Y===95)&&(w.lastIntValue=Y%32,w.advance(),!0)},er.regexp_eatHexEscapeSequence=function(w){var Y=w.pos;if(w.eat(120)){if(this.regexp_eatFixedHexDigits(w,2))return!0;w.switchU&&w.raise("Invalid escape"),w.pos=Y}return!1},er.regexp_eatDecimalDigits=function(w){var Y=w.pos,me=0;for(w.lastIntValue=0;Nn(me=w.current());)w.lastIntValue=10*w.lastIntValue+(me-48),w.advance();return w.pos!==Y},er.regexp_eatHexDigits=function(w){var Y=w.pos,me=0;for(w.lastIntValue=0;zn(me=w.current());)w.lastIntValue=16*w.lastIntValue+Ni(me),w.advance();return w.pos!==Y},er.regexp_eatLegacyOctalEscapeSequence=function(w){if(this.regexp_eatOctalDigit(w)){var Y=w.lastIntValue;if(this.regexp_eatOctalDigit(w)){var me=w.lastIntValue;Y<=3&&this.regexp_eatOctalDigit(w)?w.lastIntValue=64*Y+8*me+w.lastIntValue:w.lastIntValue=8*Y+me}else w.lastIntValue=Y;return!0}return!1},er.regexp_eatOctalDigit=function(w){var Y=w.current();return Fi(Y)?(w.lastIntValue=Y-48,w.advance(),!0):(w.lastIntValue=0,!1)},er.regexp_eatFixedHexDigits=function(w,Y){var me=w.pos;w.lastIntValue=0;for(var Ie=0;Ie<Y;++Ie){var M=w.current();if(!zn(M))return w.pos=me,!1;w.lastIntValue=16*w.lastIntValue+Ni(M),w.advance()}return!0};var qi=function(w){this.type=w.type,this.value=w.value,this.start=w.start,this.end=w.end,w.options.locations&&(this.loc=new be(w,w.startLoc,w.endLoc)),w.options.ranges&&(this.range=[w.start,w.end])},dr=xe.prototype;function Sr(w,Y){return Y?parseInt(w,8):parseFloat(w.replace(/_/g,""))}function wr(w){return typeof BigInt!="function"?null:BigInt(w.replace(/_/g,""))}dr.next=function(w){!w&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new qi(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},dr.getToken=function(){return this.next(),new qi(this)},typeof Symbol<"u"&&(dr[Symbol.iterator]=function(){var w=this;return{next:function(){var Y=w.getToken();return{done:Y.type===k.eof,value:Y}}}}),dr.nextToken=function(){var w=this.curContext();return w&&w.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(k.eof):w.override?w.override(this):void this.readToken(this.fullCharCodeAtPos())},dr.readToken=function(w){return v(w,this.options.ecmaVersion>=6)||w===92?this.readWord():this.getTokenFromCode(w)},dr.fullCharCodeAtPos=function(){var w=this.input.charCodeAt(this.pos);if(w<=55295||w>=56320)return w;var Y=this.input.charCodeAt(this.pos+1);return Y<=56319||Y>=57344?w:(w<<10)+Y-56613888},dr.skipBlockComment=function(){var w=this.options.onComment&&this.curPosition(),Y=this.pos,me=this.input.indexOf("*/",this.pos+=2);if(me===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=me+2,this.options.locations)for(var Ie=void 0,M=Y;(Ie=R(this.input,M,this.pos))>-1;)++this.curLine,M=this.lineStart=Ie;this.options.onComment&&this.options.onComment(!0,this.input.slice(Y+2,me),Y,this.pos,w,this.curPosition())},dr.skipLineComment=function(w){for(var Y=this.pos,me=this.options.onComment&&this.curPosition(),Ie=this.input.charCodeAt(this.pos+=w);this.pos<this.input.length&&!C(Ie);)Ie=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(Y+w,this.pos),Y,this.pos,me,this.curPosition())},dr.skipSpace=function(){e:for(;this.pos<this.input.length;){var w=this.input.charCodeAt(this.pos);switch(w){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(w>8&&w<14||w>=5760&&G.test(String.fromCharCode(w)))++this.pos;else break e}}},dr.finishToken=function(w,Y){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var me=this.type;this.type=w,this.value=Y,this.updateContext(me)},dr.readToken_dot=function(){var w=this.input.charCodeAt(this.pos+1);if(w>=48&&w<=57)return this.readNumber(!0);var Y=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&w===46&&Y===46?(this.pos+=3,this.finishToken(k.ellipsis)):(++this.pos,this.finishToken(k.dot))},dr.readToken_slash=function(){var w=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):w===61?this.finishOp(k.assign,2):this.finishOp(k.slash,1)},dr.readToken_mult_modulo_exp=function(w){var Y=this.input.charCodeAt(this.pos+1),me=1,Ie=w===42?k.star:k.modulo;return this.options.ecmaVersion>=7&&w===42&&Y===42&&(++me,Ie=k.starstar,Y=this.input.charCodeAt(this.pos+2)),Y===61?this.finishOp(k.assign,me+1):this.finishOp(Ie,me)},dr.readToken_pipe_amp=function(w){var Y=this.input.charCodeAt(this.pos+1);return Y===w?this.options.ecmaVersion>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(k.assign,3):this.finishOp(w===124?k.logicalOR:k.logicalAND,2):Y===61?this.finishOp(k.assign,2):this.finishOp(w===124?k.bitwiseOR:k.bitwiseAND,1)},dr.readToken_caret=function(){return this.input.charCodeAt(this.pos+1)===61?this.finishOp(k.assign,2):this.finishOp(k.bitwiseXOR,1)},dr.readToken_plus_min=function(w){var Y=this.input.charCodeAt(this.pos+1);return Y===w?Y===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||U.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(k.incDec,2):Y===61?this.finishOp(k.assign,2):this.finishOp(k.plusMin,1)},dr.readToken_lt_gt=function(w){var Y=this.input.charCodeAt(this.pos+1),me=1;return Y===w?(me=w===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+me)===61?this.finishOp(k.assign,me+1):this.finishOp(k.bitShift,me)):Y!==33||w!==60||this.inModule||this.input.charCodeAt(this.pos+2)!==45||this.input.charCodeAt(this.pos+3)!==45?(Y===61&&(me=2),this.finishOp(k.relational,me)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},dr.readToken_eq_excl=function(w){var Y=this.input.charCodeAt(this.pos+1);return Y===61?this.finishOp(k.equality,this.input.charCodeAt(this.pos+2)===61?3:2):w===61&&Y===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(k.arrow)):this.finishOp(w===61?k.eq:k.prefix,1)},dr.readToken_question=function(){var w=this.options.ecmaVersion;if(w>=11){var Y=this.input.charCodeAt(this.pos+1);if(Y===46){var me=this.input.charCodeAt(this.pos+2);if(me<48||me>57)return this.finishOp(k.questionDot,2)}if(Y===63)return w>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(k.assign,3):this.finishOp(k.coalesce,2)}return this.finishOp(k.question,1)},dr.readToken_numberSign=function(){var w=this.options.ecmaVersion,Y=35;if(w>=13&&(++this.pos,v(Y=this.fullCharCodeAtPos(),!0)||Y===92))return this.finishToken(k.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+X(Y)+"'")},dr.getTokenFromCode=function(w){switch(w){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(k.parenL);case 41:return++this.pos,this.finishToken(k.parenR);case 59:return++this.pos,this.finishToken(k.semi);case 44:return++this.pos,this.finishToken(k.comma);case 91:return++this.pos,this.finishToken(k.bracketL);case 93:return++this.pos,this.finishToken(k.bracketR);case 123:return++this.pos,this.finishToken(k.braceL);case 125:return++this.pos,this.finishToken(k.braceR);case 58:return++this.pos,this.finishToken(k.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(k.backQuote);case 48:var Y=this.input.charCodeAt(this.pos+1);if(Y===120||Y===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(Y===111||Y===79)return this.readRadixNumber(8);if(Y===98||Y===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(w);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(w);case 124:case 38:return this.readToken_pipe_amp(w);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(w);case 60:case 62:return this.readToken_lt_gt(w);case 61:case 33:return this.readToken_eq_excl(w);case 63:return this.readToken_question();case 126:return this.finishOp(k.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+X(w)+"'")},dr.finishOp=function(w,Y){var me=this.input.slice(this.pos,this.pos+Y);return this.pos+=Y,this.finishToken(w,me)},dr.readRegexp=function(){for(var w,Y,me=this.pos;;){this.pos>=this.input.length&&this.raise(me,"Unterminated regular expression");var Ie=this.input.charAt(this.pos);if(U.test(Ie)&&this.raise(me,"Unterminated regular expression"),w)w=!1;else{if(Ie==="[")Y=!0;else if(Ie==="]"&&Y)Y=!1;else if(Ie==="/"&&!Y)break;w=Ie==="\\"}++this.pos}var M=this.input.slice(me,this.pos);++this.pos;var O=this.pos,ue=this.readWord1();this.containsEsc&&this.unexpected(O);var Ot=this.regexpState||(this.regexpState=new gr(this));Ot.reset(me,M,ue),this.validateRegExpFlags(Ot),this.validateRegExpPattern(Ot);var cr=null;try{cr=new RegExp(M,ue)}catch{}return this.finishToken(k.regexp,{pattern:M,flags:ue,value:cr})},dr.readInt=function(w,Y,me){for(var Ie=this.options.ecmaVersion>=12&&Y===void 0,M=me&&this.input.charCodeAt(this.pos)===48,O=this.pos,ue=0,Ot=0,cr=0,Or=Y??1/0;cr<Or;++cr,++this.pos){var Lr=this.input.charCodeAt(this.pos),In=void 0;if(Ie&&Lr===95){M&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),Ot===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),cr===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),Ot=Lr;continue}if((In=Lr>=97?Lr-97+10:Lr>=65?Lr-65+10:Lr>=48&&Lr<=57?Lr-48:1/0)>=w)break;Ot=Lr,ue=ue*w+In}return Ie&&Ot===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===O||Y!=null&&this.pos-O!==Y?null:ue},dr.readRadixNumber=function(w){var Y=this.pos;this.pos+=2;var me=this.readInt(w);return me==null&&this.raise(this.start+2,"Expected number in radix "+w),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(me=wr(this.input.slice(Y,this.pos)),++this.pos):v(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(k.num,me)},dr.readNumber=function(w){var Y=this.pos;w||this.readInt(10,void 0,!0)!==null||this.raise(Y,"Invalid number");var me=this.pos-Y>=2&&this.input.charCodeAt(Y)===48;me&&this.strict&&this.raise(Y,"Invalid number");var Ie=this.input.charCodeAt(this.pos);if(!me&&!w&&this.options.ecmaVersion>=11&&Ie===110){var M=wr(this.input.slice(Y,this.pos));return++this.pos,v(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(k.num,M)}me&&/[89]/.test(this.input.slice(Y,this.pos))&&(me=!1),Ie!==46||me||(++this.pos,this.readInt(10),Ie=this.input.charCodeAt(this.pos)),Ie!==69&&Ie!==101||me||(((Ie=this.input.charCodeAt(++this.pos))===43||Ie===45)&&++this.pos,this.readInt(10)===null&&this.raise(Y,"Invalid number")),v(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var O=Sr(this.input.slice(Y,this.pos),me);return this.finishToken(k.num,O)},dr.readCodePoint=function(){var w;if(this.input.charCodeAt(this.pos)===123){this.options.ecmaVersion<6&&this.unexpected();var Y=++this.pos;w=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,w>1114111&&this.invalidStringToken(Y,"Code point out of bounds")}else w=this.readHexChar(4);return w},dr.readString=function(w){for(var Y="",me=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var Ie=this.input.charCodeAt(this.pos);if(Ie===w)break;Ie===92?(Y+=this.input.slice(me,this.pos),Y+=this.readEscapedChar(!1),me=this.pos):Ie===8232||Ie===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(C(Ie)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return Y+=this.input.slice(me,this.pos++),this.finishToken(k.string,Y)};var gn={};dr.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(w){if(w===gn)this.readInvalidTemplateToken();else throw w}this.inTemplateElement=!1},dr.invalidStringToken=function(w,Y){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw gn;this.raise(w,Y)},dr.readTmplToken=function(){for(var w="",Y=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var me=this.input.charCodeAt(this.pos);if(me===96||me===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===k.template||this.type===k.invalidTemplate)?me===36?(this.pos+=2,this.finishToken(k.dollarBraceL)):(++this.pos,this.finishToken(k.backQuote)):(w+=this.input.slice(Y,this.pos),this.finishToken(k.template,w));if(me===92)w+=this.input.slice(Y,this.pos),w+=this.readEscapedChar(!0),Y=this.pos;else if(C(me)){switch(w+=this.input.slice(Y,this.pos),++this.pos,me){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:w+=`
|
|
`;break;default:w+=String.fromCharCode(me)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),Y=this.pos}else++this.pos}},dr.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(k.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
|
|
`&&++this.pos;case`
|
|
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},dr.readEscapedChar=function(w){var Y=this.input.charCodeAt(++this.pos);switch(++this.pos,Y){case 110:return`
|
|
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return X(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"),w){var me=this.pos-1;this.invalidStringToken(me,"Invalid escape sequence in template string")}default:if(Y>=48&&Y<=55){var Ie=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],M=parseInt(Ie,8);return M>255&&(M=parseInt(Ie=Ie.slice(0,-1),8)),this.pos+=Ie.length-1,Y=this.input.charCodeAt(this.pos),(Ie!=="0"||Y===56||Y===57)&&(this.strict||w)&&this.invalidStringToken(this.pos-1-Ie.length,w?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(M)}return C(Y)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(Y)}},dr.readHexChar=function(w){var Y=this.pos,me=this.readInt(16,w);return me===null&&this.invalidStringToken(Y,"Bad character escape sequence"),me},dr.readWord1=function(){this.containsEsc=!1;for(var w="",Y=!0,me=this.pos,Ie=this.options.ecmaVersion>=6;this.pos<this.input.length;){var M=this.fullCharCodeAtPos();if(E(M,Ie))this.pos+=M<=65535?1:2;else if(M===92){this.containsEsc=!0,w+=this.input.slice(me,this.pos);var O=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var ue=this.readCodePoint();(Y?v:E)(ue,Ie)||this.invalidStringToken(O,"Invalid Unicode escape"),w+=X(ue),me=this.pos}else break;Y=!1}return w+this.input.slice(me,this.pos)},dr.readWord=function(){var w=this.readWord1(),Y=k.name;return this.keywords.test(w)&&(Y=j[w]),this.finishToken(Y,w)},xe.acorn={Parser:xe,version:"8.15.0",defaultOptions:Pe,Position:oe,SourceLocation:be,getLineInfo:Ne,Node:Qe,TokenType:S,tokTypes:k,keywordTypes:j,TokContext:ze,tokContexts:Ze,isIdentifierChar:E,isIdentifierStart:v,Token:qi,isNewLine:C,lineBreak:U,lineBreakG:z,nonASCIIwhitespace:G};let vn=hr("node:module"),Gr=hr("node:fs"),Rn=/\/$|\/\?|\/#/,Yt=/^\.?\//;function Qt(w="",Y){return Y?Rn.test(w):w.endsWith("/")}function kt(w="",Y){if(!Y)return w.endsWith("/")?w:w+"/";if(Qt(w,!0))return w||"/";let me=w,Ie="",M=w.indexOf("#");if(M!==-1&&(me=w.slice(0,M),Ie=w.slice(M),!me))return Ie;let[O,...ue]=me.split("?");return O+"/"+(ue.length>0?`?${ue.join("?")}`:"")+Ie}function vr(w){return w&&w!=="/"}function _r(w,...Y){let me=w||"";for(let Ie of Y.filter(M=>vr(M)))if(me){let M=Ie.replace(Yt,"");me=kt(me)+M}else me=Ie;return me}Symbol.for("ufo:protocolRelative");let Xr=/^[A-Za-z]:\//;function Xt(w=""){return w&&w.replace(/\\/g,"/").replace(Xr,Y=>Y.toUpperCase())}let jr=/^[/\\]{2}/,tn=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,un=/^[A-Za-z]:$/,xn=/.(\.[^./]+|\.)$/,fn=function(w){if(w.length===0)return".";let Y=(w=Xt(w)).match(jr),me=Qn(w),Ie=w[w.length-1]==="/";return(w=an(w,!me)).length===0?me?"/":Ie?"./":".":(Ie&&(w+="/"),un.test(w)&&(w+="/"),Y?me?`//${w}`:`//./${w}`:me&&!Qn(w)?`/${w}`:w)},_n=function(...w){let Y="";for(let me of w)if(me)if(Y.length>0){let Ie=Y[Y.length-1]==="/",M=me[0]==="/";Ie&&M?Y+=me.slice(1):Y+=Ie||M?me:`/${me}`}else Y+=me;return fn(Y)};function Ti(){return typeof process<"u"&&typeof process.cwd=="function"?process.cwd().replace(/\\/g,"/"):"/"}let di=function(...w){w=w.map(Ie=>Xt(Ie));let Y="",me=!1;for(let Ie=w.length-1;Ie>=-1&&!me;Ie--){let M=Ie>=0?w[Ie]:Ti();M&&M.length!==0&&(Y=`${M}/${Y}`,me=Qn(M))}return Y=an(Y,!me),me&&!Qn(Y)?`/${Y}`:Y.length>0?Y:"."};function an(w,Y){let me="",Ie=0,M=-1,O=0,ue=null;for(let Ot=0;Ot<=w.length;++Ot){if(Ot<w.length)ue=w[Ot];else{if(ue==="/")break;ue="/"}if(ue==="/"){if(!(M===Ot-1||O===1))if(O===2){if(me.length<2||Ie!==2||me[me.length-1]!=="."||me[me.length-2]!=="."){if(me.length>2){let cr=me.lastIndexOf("/");cr===-1?(me="",Ie=0):Ie=(me=me.slice(0,cr)).length-1-me.lastIndexOf("/"),M=Ot,O=0;continue}else if(me.length>0){me="",Ie=0,M=Ot,O=0;continue}}Y&&(me+=me.length>0?"/..":"..",Ie=2)}else me.length>0?me+=`/${w.slice(M+1,Ot)}`:me=w.slice(M+1,Ot),Ie=Ot-M-1;M=Ot,O=0}else ue==="."&&O!==-1?++O:O=-1}return me}let Qn=function(w){return tn.test(w)},Wi=function(w){if(w==="..")return"";let Y=xn.exec(Xt(w));return Y&&Y[1]||""},kr=function(w){let Y=Xt(w).replace(/\/$/,"").split("/").slice(0,-1);return Y.length===1&&un.test(Y[0])&&(Y[0]+="/"),Y.join("/")||(Qn(w)?"/":".")},ss=function(w,Y){let me=Xt(w).split("/"),Ie="";for(let M=me.length-1;M>=0;M--){let O=me[M];if(O){Ie=O;break}}return Y&&Ie.endsWith(Y)?Ie.slice(0,-Y.length):Ie},Vr=hr("node:url"),Qi=hr("node:assert"),$i=hr("node:process"),Cn=hr("node:path"),Js=hr("node:v8"),Ns=hr("node:util"),Ur=new Set(vn.builtinModules);function Zi(w){return w.replace(/\\/g,"/")}let He={}.hasOwnProperty,T=/^([A-Z][a-z\d]*)+$/,I=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),H={};function re(w,Y="and"){return w.length<3?w.join(` ${Y} `):`${w.slice(0,-1).join(", ")}, ${Y} ${w[w.length-1]}`}let we=new Map;function qe(w,Y,me){return we.set(w,Y),it(me,w)}function it(w,Y){return me;function me(...Ie){let M=Error.stackTraceLimit;ot()&&(Error.stackTraceLimit=0);let O=new w;ot()&&(Error.stackTraceLimit=M);let ue=jt(Y,Ie,O);return Object.defineProperties(O,{message:{value:ue,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${Y}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),mt(O),O.code=Y,O}}function ot(){try{if(Js.startupSnapshot.isBuildingSnapshot())return!1}catch{}let w=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return w===void 0?Object.isExtensible(Error):He.call(w,"writable")&&w.writable!==void 0?w.writable:w.set!==void 0}H.ERR_INVALID_ARG_TYPE=qe("ERR_INVALID_ARG_TYPE",(w,Y,me)=>{Qi(typeof w=="string","'name' must be a string"),Array.isArray(Y)||(Y=[Y]);let Ie="The ";if(w.endsWith(" argument"))Ie+=`${w} `;else{let Ot=w.includes(".")?"property":"argument";Ie+=`"${w}" ${Ot} `}Ie+="must be ";let M=[],O=[],ue=[];for(let Ot of Y)Qi(typeof Ot=="string","All expected entries have to be of type string"),I.has(Ot)?M.push(Ot.toLowerCase()):T.exec(Ot)===null?(Qi(Ot!=="object",'The value "object" should be written as "Object"'),ue.push(Ot)):O.push(Ot);if(O.length>0){let Ot=M.indexOf("object");Ot!==-1&&(M.slice(Ot,1),O.push("Object"))}return M.length>0&&(Ie+=`${M.length>1?"one of type":"of type"} ${re(M,"or")}`,(O.length>0||ue.length>0)&&(Ie+=" or ")),O.length>0&&(Ie+=`an instance of ${re(O,"or")}`,ue.length>0&&(Ie+=" or ")),ue.length>0&&(ue.length>1?Ie+=`one of ${re(ue,"or")}`:(ue[0].toLowerCase()!==ue[0]&&(Ie+="an "),Ie+=`${ue[0]}`)),Ie+=`. Received ${Zt(me)}`},TypeError),H.ERR_INVALID_MODULE_SPECIFIER=qe("ERR_INVALID_MODULE_SPECIFIER",(w,Y,me)=>`Invalid module "${w}" ${Y}${me?` imported from ${me}`:""}`,TypeError),H.ERR_INVALID_PACKAGE_CONFIG=qe("ERR_INVALID_PACKAGE_CONFIG",(w,Y,me)=>`Invalid package config ${w}${Y?` while importing ${Y}`:""}${me?`. ${me}`:""}`,Error),H.ERR_INVALID_PACKAGE_TARGET=qe("ERR_INVALID_PACKAGE_TARGET",(w,Y,me,Ie=!1,M)=>{let O=typeof me=="string"&&!Ie&&me.length>0&&!me.startsWith("./");return Y==="."?(Qi(Ie===!1),`Invalid "exports" main target ${JSON.stringify(me)} defined in the package config ${w}package.json${M?` imported from ${M}`:""}${O?'; targets must start with "./"':""}`):`Invalid "${Ie?"imports":"exports"}" target ${JSON.stringify(me)} defined for '${Y}' in the package config ${w}package.json${M?` imported from ${M}`:""}${O?'; targets must start with "./"':""}`},Error),H.ERR_MODULE_NOT_FOUND=qe("ERR_MODULE_NOT_FOUND",(w,Y,me=!1)=>`Cannot find ${me?"module":"package"} '${w}' imported from ${Y}`,Error),H.ERR_NETWORK_IMPORT_DISALLOWED=qe("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),H.ERR_PACKAGE_IMPORT_NOT_DEFINED=qe("ERR_PACKAGE_IMPORT_NOT_DEFINED",(w,Y,me)=>`Package import specifier "${w}" is not defined${Y?` in package ${Y}package.json`:""} imported from ${me}`,TypeError),H.ERR_PACKAGE_PATH_NOT_EXPORTED=qe("ERR_PACKAGE_PATH_NOT_EXPORTED",(w,Y,me)=>Y==="."?`No "exports" main defined in ${w}package.json${me?` imported from ${me}`:""}`:`Package subpath '${Y}' is not defined by "exports" in ${w}package.json${me?` imported from ${me}`:""}`,Error),H.ERR_UNSUPPORTED_DIR_IMPORT=qe("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),H.ERR_UNSUPPORTED_RESOLVE_REQUEST=qe("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),H.ERR_UNKNOWN_FILE_EXTENSION=qe("ERR_UNKNOWN_FILE_EXTENSION",(w,Y)=>`Unknown file extension "${w}" for ${Y}`,TypeError),H.ERR_INVALID_ARG_VALUE=qe("ERR_INVALID_ARG_VALUE",(w,Y,me="is invalid")=>{let Ie=(0,Ns.inspect)(Y);return Ie.length>128&&(Ie=`${Ie.slice(0,128)}...`),`The ${w.includes(".")?"property":"argument"} '${w}' ${me}. Received ${Ie}`},TypeError);let mt=(l="__node_internal_"+(c=function(w){let Y=ot();return Y&&(u=Error.stackTraceLimit,Error.stackTraceLimit=1/0),Error.captureStackTrace(w),Y&&(Error.stackTraceLimit=u),w}).name,Object.defineProperty(c,"name",{value:l}),c);function jt(w,Y,me){let Ie=we.get(w);if(Qi(Ie!==void 0,"expected `message` to be found"),typeof Ie=="function")return Qi(Ie.length<=Y.length,`Code: ${w}; The provided arguments length (${Y.length}) does not match the required ones (${Ie.length}).`),Reflect.apply(Ie,me,Y);let M=/%[dfijoOs]/g,O=0;for(;M.exec(Ie)!==null;)O++;return Qi(O===Y.length,`Code: ${w}; The provided arguments length (${Y.length}) does not match the required ones (${O}).`),Y.length===0?Ie:(Y.unshift(Ie),Reflect.apply(Ns.format,null,Y))}function Zt(w){if(w==null)return String(w);if(typeof w=="function"&&w.name)return`function ${w.name}`;if(typeof w=="object")return w.constructor&&w.constructor.name?`an instance of ${w.constructor.name}`:`${(0,Ns.inspect)(w,{depth:-1})}`;let Y=(0,Ns.inspect)(w,{colors:!1});return Y.length>28&&(Y=`${Y.slice(0,25)}...`),`type ${typeof w} (${Y})`}let Br={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:Er}=H,rn=new Map;function Wn(w,{base:Y,specifier:me}){let Ie,M=rn.get(w);if(M)return M;try{Ie=Gr.readFileSync(Cn.toNamespacedPath(w),"utf8")}catch(ue){if(ue.code!=="ENOENT")throw ue}let O={exists:!1,pjsonPath:w,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if(Ie!==void 0){let ue;try{ue=JSON.parse(Ie)}catch(Ot){let cr=new Er(w,(Y?`"${me}" from `:"")+(0,Vr.fileURLToPath)(Y||me),Ot.message);throw cr.cause=Ot,cr}O.exists=!0,Br.call(ue,"name")&&typeof ue.name=="string"&&(O.name=ue.name),Br.call(ue,"main")&&typeof ue.main=="string"&&(O.main=ue.main),Br.call(ue,"exports")&&(O.exports=ue.exports),Br.call(ue,"imports")&&(O.imports=ue.imports),Br.call(ue,"type")&&(ue.type==="commonjs"||ue.type==="module")&&(O.type=ue.type)}return rn.set(w,O),O}function Un(w){let Y=new URL("package.json",w);for(;!Y.pathname.endsWith("node_modules/package.json");){let me=Wn((0,Vr.fileURLToPath)(Y),{specifier:w});if(me.exists)return me;let Ie=Y;if((Y=new URL("../package.json",Y)).pathname===Ie.pathname)break}return{pjsonPath:(0,Vr.fileURLToPath)(Y),exists:!1,type:"none"}}let{ERR_UNKNOWN_FILE_EXTENSION:Fn}=H,hi={}.hasOwnProperty,Ue={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};function g(w){return w&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(w)?"module":w==="application/json"?"json":null}let P={__proto__:null,"data:":J,"file:":Fe,"http:":Xe,"https:":Xe,"node:":()=>"builtin"};function J(w){let{1:Y}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(w.pathname)||[null,null,null];return g(Y)}function ne(w){let Y=w.pathname,me=Y.length;for(;me--;){let Ie=Y.codePointAt(me);if(Ie===47)break;if(Ie===46)return Y.codePointAt(me-1)===47?"":Y.slice(me)}return""}function Fe(w,Y,me){let Ie=ne(w);if(Ie===".js"){let O=Un(w).type;return O!=="none"?O:"commonjs"}if(Ie===""){let O=Un(w).type;return O==="none"||O==="commonjs"?"commonjs":"module"}let M=Ue[Ie];if(M)return M;if(!me)throw new Fn(Ie,(0,Vr.fileURLToPath)(w))}function Xe(){}function lt(w,Y){let me=w.protocol;return hi.call(P,me)&&P[me](w,Y,!0)||null}let dt=RegExp.prototype[Symbol.replace],{ERR_INVALID_MODULE_SPECIFIER:bt,ERR_INVALID_PACKAGE_CONFIG:Lt,ERR_INVALID_PACKAGE_TARGET:ur,ERR_MODULE_NOT_FOUND:$r,ERR_PACKAGE_IMPORT_NOT_DEFINED:Kr,ERR_PACKAGE_PATH_NOT_EXPORTED:Dn,ERR_UNSUPPORTED_DIR_IMPORT:Zn,ERR_UNSUPPORTED_RESOLVE_REQUEST:Di}=H,yi={}.hasOwnProperty,as=/(^|\\|\/)((\.|%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,xa=/(^|\\|\/)((\.|%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,ua=/^\.|%|\\/,N=/\*/g,ae=/%2f|%5c/i,Re=new Set,Ve=/[/\\]{2}/;function pt(w,Y,me,Ie,M,O,ue){if($i.noDeprecation)return;let Ot=(0,Vr.fileURLToPath)(Ie),cr=Ve.exec(ue?w:Y)!==null;$i.emitWarning(`Use of deprecated ${cr?"double slash":"leading or trailing slash matching"} resolving "${w}" for module request "${Y}" ${Y===me?"":`matched to "${me}" `}in the "${M?"imports":"exports"}" field module resolution of the package at ${Ot}${O?` imported from ${(0,Vr.fileURLToPath)(O)}`:""}.`,"DeprecationWarning","DEP0166")}function Ct(w,Y,me,Ie){if($i.noDeprecation||lt(w,{parentURL:me.href})!=="module")return;let M=(0,Vr.fileURLToPath)(w.href),O=(0,Vr.fileURLToPath)(new Vr.URL(".",Y)),ue=(0,Vr.fileURLToPath)(me);Ie?Cn.resolve(O,Ie)!==M&&$i.emitWarning(`Package ${O} has a "main" field set to "${Ie}", excluding the full filename and extension to the resolved file at "${M.slice(O.length)}", imported from ${ue}.
|
|
Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):$i.emitWarning(`No "main" or "exports" field defined in the package.json for ${O} resolving the main entry point "${M.slice(O.length)}", imported from ${ue}.
|
|
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function Bt(w){try{return(0,Gr.statSync)(w)}catch{}}function nr(w){let Y=(0,Gr.statSync)(w,{throwIfNoEntry:!1}),me=Y?Y.isFile():void 0;return me!=null&&me}function Dr(w,Y,me){let Ie;if(Y.main!==void 0){if(nr(Ie=new Vr.URL(Y.main,w)))return Ie;let ue=[`./${Y.main}.js`,`./${Y.main}.json`,`./${Y.main}.node`,`./${Y.main}/index.js`,`./${Y.main}/index.json`,`./${Y.main}/index.node`],Ot=-1;for(;++Ot<ue.length&&!nr(Ie=new Vr.URL(ue[Ot],w));)Ie=void 0;if(Ie)return Ct(Ie,w,me,Y.main),Ie}let M=["./index.js","./index.json","./index.node"],O=-1;for(;++O<M.length&&!nr(Ie=new Vr.URL(M[O],w));)Ie=void 0;if(Ie)return Ct(Ie,w,me,Y.main),Ie;throw new $r((0,Vr.fileURLToPath)(new Vr.URL(".",w)),(0,Vr.fileURLToPath)(me))}function Jr(w,Y,me){let Ie;if(ae.exec(w.pathname)!==null)throw new bt(w.pathname,'must not include encoded "/" or "\\" characters',(0,Vr.fileURLToPath)(Y));try{Ie=(0,Vr.fileURLToPath)(w)}catch(O){throw Object.defineProperty(O,"input",{value:String(w)}),Object.defineProperty(O,"module",{value:String(Y)}),O}let M=Bt(Ie.endsWith("/")?Ie.slice(-1):Ie);if(M&&M.isDirectory()){let O=new Zn(Ie,(0,Vr.fileURLToPath)(Y));throw O.url=String(w),O}if(!M||!M.isFile()){let O=new $r(Ie||w.pathname,Y&&(0,Vr.fileURLToPath)(Y),!0);throw O.url=String(w),O}{let O=(0,Gr.realpathSync)(Ie),{search:ue,hash:Ot}=w;(w=(0,Vr.pathToFileURL)(O+(Ie.endsWith(Cn.sep)?"/":""))).search=ue,w.hash=Ot}return w}function kn(w,Y,me){return new Kr(w,Y&&(0,Vr.fileURLToPath)(new Vr.URL(".",Y)),(0,Vr.fileURLToPath)(me))}function ei(w,Y,me){return new Dn((0,Vr.fileURLToPath)(new Vr.URL(".",Y)),w,me&&(0,Vr.fileURLToPath)(me))}function Mi(w,Y,me,Ie,M){throw new bt(w,`request is not a valid match in pattern "${Y}" for the "${Ie?"imports":"exports"}" resolution of ${(0,Vr.fileURLToPath)(me)}`,M&&(0,Vr.fileURLToPath)(M))}function vs(w,Y,me,Ie,M){return Y=typeof Y=="object"&&Y!==null?JSON.stringify(Y,null,""):`${Y}`,new ur((0,Vr.fileURLToPath)(new Vr.URL(".",me)),w,Y,Ie,M&&(0,Vr.fileURLToPath)(M))}function xs(w,Y,me,Ie,M,O,ue,Ot,cr){if(Y!==""&&!O&&w[w.length-1]!=="/")throw vs(me,w,Ie,ue,M);if(!w.startsWith("./")){if(ue&&!w.startsWith("../")&&!w.startsWith("/")){let qn=!1;try{new Vr.URL(w),qn=!0}catch{}if(!qn)return Ta(O?dt.call(N,w,()=>Y):w+Y,Ie,cr)}throw vs(me,w,Ie,ue,M)}if(as.exec(w.slice(2))!==null)if(xa.exec(w.slice(2))===null){if(!Ot){let qn=O?me.replace("*",()=>Y):me+Y;pt(O?dt.call(N,w,()=>Y):w,qn,me,Ie,ue,M,!0)}}else throw vs(me,w,Ie,ue,M);let Or=new Vr.URL(w,Ie),Lr=Or.pathname,In=new Vr.URL(".",Ie).pathname;if(!Lr.startsWith(In))throw vs(me,w,Ie,ue,M);if(Y==="")return Or;if(as.exec(Y)!==null){let qn=O?me.replace("*",()=>Y):me+Y;xa.exec(Y)===null?Ot||pt(O?dt.call(N,w,()=>Y):w,qn,me,Ie,ue,M,!1):Mi(qn,me,Ie,ue,M)}return O?new Vr.URL(dt.call(N,Or.href,()=>Y)):new Vr.URL(Y,Or)}function ca(w){let Y=Number(w);return`${Y}`===w&&Y>=0&&Y<4294967295}function Ki(w,Y,me,Ie,M,O,ue,Ot,cr){if(typeof Y=="string")return xs(Y,me,Ie,w,M,O,ue,Ot,cr);if(Array.isArray(Y)){let Or;if(Y.length===0)return null;let Lr=-1;for(;++Lr<Y.length;){let In,qn=Y[Lr];try{In=Ki(w,qn,me,Ie,M,O,ue,Ot,cr)}catch(js){if(Or=js,js.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw js}if(In!==void 0){if(In===null){Or=null;continue}return In}}if(Or==null)return null;throw Or}if(typeof Y=="object"&&Y!==null){let Or=Object.getOwnPropertyNames(Y),Lr=-1;for(;++Lr<Or.length;)if(ca(Or[Lr]))throw new Lt((0,Vr.fileURLToPath)(w),M,'"exports" cannot contain numeric property keys.');for(Lr=-1;++Lr<Or.length;){let In=Or[Lr];if(In==="default"||cr&&cr.has(In)){let qn=Ki(w,Y[In],me,Ie,M,O,ue,Ot,cr);if(qn===void 0)continue;return qn}}return null}if(Y===null)return null;throw vs(Ie,Y,w,ue,M)}function Us(w,Y,me){if(typeof w=="string"||Array.isArray(w))return!0;if(typeof w!="object"||w===null)return!1;let Ie=Object.getOwnPropertyNames(w),M=!1,O=0,ue=-1;for(;++ue<Ie.length;){let Ot=Ie[ue],cr=Ot===""||Ot[0]!==".";if(O++==0)M=cr;else if(M!==cr)throw new Lt((0,Vr.fileURLToPath)(Y),me,`"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 M}function pn(w,Y,me){if($i.noDeprecation)return;let Ie=(0,Vr.fileURLToPath)(Y);Re.has(Ie+"|"+w)||(Re.add(Ie+"|"+w),$i.emitWarning(`Use of deprecated trailing slash pattern mapping "${w}" in the "exports" field module resolution of the package at ${Ie}${me?` imported from ${(0,Vr.fileURLToPath)(me)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function Gn(w,Y,me,Ie,M){let O=me.exports;if(Us(O,w,Ie)&&(O={".":O}),yi.call(O,Y)&&!Y.includes("*")&&!Y.endsWith("/")){let Lr=Ki(w,O[Y],"",Y,Ie,!1,!1,!1,M);if(Lr==null)throw ei(Y,w,Ie);return Lr}let ue="",Ot="",cr=Object.getOwnPropertyNames(O),Or=-1;for(;++Or<cr.length;){let Lr=cr[Or],In=Lr.indexOf("*");if(In!==-1&&Y.startsWith(Lr.slice(0,In))){Y.endsWith("/")&&pn(Y,w,Ie);let qn=Lr.slice(In+1);Y.length>=Lr.length&&Y.endsWith(qn)&&Ei(ue,Lr)===1&&Lr.lastIndexOf("*")===In&&(ue=Lr,Ot=Y.slice(In,Y.length-qn.length))}}if(ue){let Lr=Ki(w,O[ue],Ot,ue,Ie,!0,!1,Y.endsWith("/"),M);if(Lr==null)throw ei(Y,w,Ie);return Lr}throw ei(Y,w,Ie)}function Ei(w,Y){let me=w.indexOf("*"),Ie=Y.indexOf("*"),M=me===-1?w.length:me+1,O=Ie===-1?Y.length:Ie+1;return M>O?-1:O>M||me===-1?1:Ie===-1||w.length>Y.length?-1:+(Y.length>w.length)}function Ii(w,Y,me){let Ie;if(w==="#"||w.startsWith("#/")||w.endsWith("/"))throw new bt(w,"is not a valid internal imports specifier name",(0,Vr.fileURLToPath)(Y));let M=Un(Y);if(M.exists){Ie=(0,Vr.pathToFileURL)(M.pjsonPath);let O=M.imports;if(O)if(yi.call(O,w)&&!w.includes("*")){let ue=Ki(Ie,O[w],"",w,Y,!1,!0,!1,me);if(ue!=null)return ue}else{let ue="",Ot="",cr=Object.getOwnPropertyNames(O),Or=-1;for(;++Or<cr.length;){let Lr=cr[Or],In=Lr.indexOf("*");if(In!==-1&&w.startsWith(Lr.slice(0,-1))){let qn=Lr.slice(In+1);w.length>=Lr.length&&w.endsWith(qn)&&Ei(ue,Lr)===1&&Lr.lastIndexOf("*")===In&&(ue=Lr,Ot=w.slice(In,w.length-qn.length))}}if(ue){let Lr=Ki(Ie,O[ue],Ot,ue,Y,!0,!0,!1,me);if(Lr!=null)return Lr}}}throw kn(w,Ie,Y)}function Xs(w,Y){let me=w.indexOf("/"),Ie=!0,M=!1;w[0]==="@"&&(M=!0,me===-1||w.length===0?Ie=!1:me=w.indexOf("/",me+1));let O=me===-1?w:w.slice(0,me);if(ua.exec(O)!==null&&(Ie=!1),!Ie)throw new bt(w,"is not a valid package name",(0,Vr.fileURLToPath)(Y));return{packageName:O,packageSubpath:"."+(me===-1?"":w.slice(me)),isScoped:M}}function Ta(w,Y,me){let Ie;if(vn.builtinModules.includes(w))return new Vr.URL("node:"+w);let{packageName:M,packageSubpath:O,isScoped:ue}=Xs(w,Y),Ot=Un(Y);if(Ot.exists){let Lr=(0,Vr.pathToFileURL)(Ot.pjsonPath);if(Ot.name===M&&Ot.exports!==void 0&&Ot.exports!==null)return Gn(Lr,O,Ot,Y,me)}let cr=new Vr.URL("./node_modules/"+M+"/package.json",Y),Or=(0,Vr.fileURLToPath)(cr);do{let Lr=Bt(Or.slice(0,-13));if(!Lr||!Lr.isDirectory()){Ie=Or,cr=new Vr.URL((ue?"../../../../node_modules/":"../../../node_modules/")+M+"/package.json",cr),Or=(0,Vr.fileURLToPath)(cr);continue}let In=Wn(Or,{base:Y,specifier:w});return In.exports!==void 0&&In.exports!==null?Gn(cr,O,In,Y,me):O==="."?Dr(cr,In,Y):new Vr.URL(O,cr)}while(Or.length!==Ie.length);throw new $r(M,(0,Vr.fileURLToPath)(Y),!1)}function Ys(w){return w[0]==="."&&(w.length===1||w[1]==="/"||w[1]==="."&&(w.length===2||w[2]==="/"))||!1}function Fs(w){return w!==""&&(w[0]==="/"||Ys(w))}function pa(w,Y,me,Ie){let M,O=Y.protocol;if(Fs(w))try{M=new Vr.URL(w,Y)}catch(ue){let Ot=new Di(w,Y);throw Ot.cause=ue,Ot}else if(O==="file:"&&w[0]==="#")M=Ii(w,Y,me);else try{M=new Vr.URL(w)}catch(ue){if((O==="data:"||O==="http:"||O==="https:")&&!vn.builtinModules.includes(w)){let Ot=new Di(w,Y);throw Ot.cause=ue,Ot}M=Ta(w,Y,me)}return Qi(M!==void 0,"expected to be defined"),M.protocol!=="file:"?M:Jr(M,Y)}function Qs(w){return typeof w!="string"||w.startsWith("file://")?Zi((0,Vr.fileURLToPath)(w)):Zi(w)}function Zs(w){return(0,Vr.pathToFileURL)(Qs(w)).toString()}function Ja(w){return typeof w!="string"&&(w=w.toString()),/(?:node|data|http|https|file):/.test(w)?w:Ur.has(w)?"node:"+w:"file://"+encodeURI(Zi(w))}let nl=new Set(["node","import"]),il=[".mjs",".cjs",".js",".json"],sl=new Set(["ERR_MODULE_NOT_FOUND","ERR_UNSUPPORTED_DIR_IMPORT","MODULE_NOT_FOUND","ERR_PACKAGE_PATH_NOT_EXPORTED"]);function Oo(w,Y,me){try{return pa(w,Y,me)}catch(Ie){if(!sl.has(Ie==null?void 0:Ie.code))throw Ie}}function No(w,Y={}){let me;if(typeof w!="string")if(w instanceof URL)w=Qs(w);else throw TypeError("input must be a `string` or `URL`");if(/(?:node|data|http|https):/.test(w))return w;if(Ur.has(w))return"node:"+w;if(w.startsWith("file://")&&(w=Qs(w)),Qn(w))try{if((0,Gr.statSync)(w).isFile())return Zs(w)}catch(ue){if((ue==null?void 0:ue.code)!=="ENOENT")throw ue}let Ie=Y.conditions?new Set(Y.conditions):nl,M=(Array.isArray(Y.url)?Y.url:[Y.url]).filter(Boolean).map(ue=>new URL(Ja(ue.toString())));M.length===0&&M.push(new URL(Zs(process.cwd())));let O=[...M];for(let ue of M)ue.protocol==="file:"&&O.push(new URL("./",ue),new URL(_r(ue.pathname,"_index.js"),ue),new URL("node_modules",ue));for(let ue of O){if(me=Oo(w,ue,Ie))break;for(let Ot of["","/index"]){for(let cr of Y.extensions||il)if(me=Oo(_r(w,Ot)+cr,ue,Ie))break;if(me)break}if(me)break}if(!me){let ue=Error(`Cannot find module ${w} imported from ${O.join(", ")}`);throw ue.code="ERR_MODULE_NOT_FOUND",ue}return Zs(me)}function al(w,Y){return No(w,Y)}function ol(w,Y){return Qs(al(w,Y))}let Fo=/(?:[\s;]|^)(?:import[\s\w*,{}]*from|import\s*["'*{]|export\b\s*(?:[*{]|default|class|type|function|const|var|let|async function)|import\.meta\b)/m,ll=/\/\*.+?\*\/|\/\/.*(?=[nr])/g;function jo(w,Y={}){return Y.stripComments&&(w=w.replace(ll,"")),Fo.test(w)}function ho(w){if(typeof w!="string")throw TypeError("Expected a string");return w.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}let ul=new Set(["/","\\",void 0]),Lo=Symbol.for("pathe:normalizedAlias"),cl=/[/\\]/;function fo(w){var me;if(w[Lo])return w;let Y=Object.fromEntries(Object.entries(w).sort(([Ie],[M])=>hl(Ie,M)));for(let Ie in Y)for(let M in Y)!(M===Ie||Ie.startsWith(M))&&((me=Y[Ie])!=null&&me.startsWith(M))&&ul.has(Y[Ie][M.length])&&(Y[Ie]=Y[M]+Y[Ie].slice(M.length));return Object.defineProperty(Y,Lo,{value:!0,enumerable:!1}),Y}function pl(w,Y){let me=Xt(w);for(let[Ie,M]of Object.entries(Y=fo(Y))){if(!me.startsWith(Ie))continue;let O=Ro(Ie)?Ie.slice(0,-1):Ie;if(Ro(me[O.length]))return _n(M,me.slice(Ie.length))}return me}function dl(w){let Y=w.split(cl).pop();if(!Y)return;let me=Y.lastIndexOf(".");return me<=0?Y:Y.slice(0,me)}function hl(w,Y){return Y.split("/").length-w.split("/").length}function Ro(w="/"){let Y=w[w.length-1];return Y==="/"||Y==="\\"}let Mo=hr("node:crypto");var D=s.n(Mo);let te=Object.create(null),_e=w=>{var Y,me;return((Y=globalThis.process)==null?void 0:Y.env)||((me=globalThis.Deno)==null?void 0:me.env.toObject())||globalThis.__env__||(w?te:globalThis)},Me=new Proxy(te,{get:(w,Y)=>_e()[Y]??te[Y],has:(w,Y)=>Y in _e()||Y in te,set:(w,Y,me)=>(_e(!0)[Y]=me,!0),deleteProperty(w,Y){if(!Y)return!1;let me=_e(!0);return delete me[Y],!0},ownKeys:()=>Object.keys(_e(!0))}),st="u">typeof process&&process.env&&process.env.NODE_ENV||"",vt=[["APPVEYOR"],["AWS_AMPLIFY","AWS_APP_ID",{ci:!0}],["AZURE_PIPELINES","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI"],["AZURE_STATIC","INPUT_AZURE_STATIC_WEB_APPS_API_TOKEN"],["APPCIRCLE","AC_APPCIRCLE"],["BAMBOO","bamboo_planKey"],["BITBUCKET","BITBUCKET_COMMIT"],["BITRISE","BITRISE_IO"],["BUDDY","BUDDY_WORKSPACE_ID"],["BUILDKITE"],["CIRCLE","CIRCLECI"],["CIRRUS","CIRRUS_CI"],["CLOUDFLARE_PAGES","CF_PAGES",{ci:!0}],["CLOUDFLARE_WORKERS","WORKERS_CI",{ci:!0}],["CODEBUILD","CODEBUILD_BUILD_ARN"],["CODEFRESH","CF_BUILD_ID"],["DRONE"],["DRONE","DRONE_BUILD_EVENT"],["DSARI"],["GITHUB_ACTIONS"],["GITLAB","GITLAB_CI"],["GITLAB","CI_MERGE_REQUEST_ID"],["GOCD","GO_PIPELINE_LABEL"],["LAYERCI"],["HUDSON","HUDSON_URL"],["JENKINS","JENKINS_URL"],["MAGNUM"],["NETLIFY"],["NETLIFY","NETLIFY_LOCAL",{ci:!1}],["NEVERCODE"],["RENDER"],["SAIL","SAILCI"],["SEMAPHORE"],["SCREWDRIVER"],["SHIPPABLE"],["SOLANO","TDDIUM"],["STRIDER"],["TEAMCITY","TEAMCITY_VERSION"],["TRAVIS"],["VERCEL","NOW_BUILDER"],["VERCEL","VERCEL",{ci:!1}],["VERCEL","VERCEL_ENV",{ci:!1}],["APPCENTER","APPCENTER_BUILD_ID"],["CODESANDBOX","CODESANDBOX_SSE",{ci:!1}],["CODESANDBOX","CODESANDBOX_HOST",{ci:!1}],["STACKBLITZ"],["STORMKIT"],["CLEAVR"],["ZEABUR"],["CODESPHERE","CODESPHERE_APP_ID",{ci:!0}],["RAILWAY","RAILWAY_PROJECT_ID"],["RAILWAY","RAILWAY_SERVICE_ID"],["DENO-DEPLOY","DENO_DEPLOYMENT_ID"],["FIREBASE_APP_HOSTING","FIREBASE_APP_HOSTING",{ci:!0}]],gt=(function(){var w,Y,me,Ie,M,O;if((w=globalThis.process)!=null&&w.env)for(let ue of vt){let Ot=ue[1]||ue[0];if((Y=globalThis.process)!=null&&Y.env[Ot])return{name:ue[0].toLowerCase(),...ue[2]}}return((Ie=(me=globalThis.process)==null?void 0:me.env)==null?void 0:Ie.SHELL)==="/bin/jsh"&&((O=(M=globalThis.process)==null?void 0:M.versions)!=null&&O.webcontainer)?{name:"stackblitz",ci:!1}:{name:"",ci:!1}})();function It(w){return!!w&&w!=="false"}gt.name;let Jt=((ac=globalThis.process)==null?void 0:ac.platform)||"",fr=(It(Me.CI)||gt.ci,It(((oc=globalThis.process)==null?void 0:oc.stdout)&&((lc=globalThis.process)==null?void 0:lc.stdout.isTTY))),Kt=(It(Me.DEBUG),st==="test"||It(Me.TEST),It(Me.MINIMAL),/^win/i.test(Jt)),zr=(/^linux/i.test(Jt),/^darwin/i.test(Jt),!It(Me.NO_COLOR)&&(It(Me.FORCE_COLOR)||(fr||Kt)&&Me.TERM),(((cc=(uc=globalThis.process)==null?void 0:uc.versions)==null?void 0:cc.node)||"").replace(/^v/,"")||null),mn=(zr==null||zr.split(".")[0],globalThis.process||Object.create(null)),$n={versions:{}},fi=(new Proxy(mn,{get:(w,Y)=>Y==="env"?Me:Y in w?w[Y]:Y in $n?$n[Y]:void 0}),((dc=(pc=globalThis.process)==null?void 0:pc.release)==null?void 0:dc.name)==="node"),zi=!!globalThis.Bun||!!((fc=(hc=globalThis.process)==null?void 0:hc.versions)!=null&&fc.bun),os=!!globalThis.Deno,Si=!!globalThis.fastly,Ea=[[!!globalThis.Netlify,"netlify"],[!!globalThis.EdgeRuntime,"edge-light"],[((mc=globalThis.navigator)==null?void 0:mc.userAgent)==="Cloudflare-Workers","workerd"],[Si,"fastly"],[os,"deno"],[zi,"bun"],[fi,"node"]],qr=(function(){let w=Ea.find(Y=>Y[0]);if(w)return{name:w[1]}})();qr==null||qr.name;let Mn=hr("node:tty"),Jn=((bc=(Ml=(yc=Mn==null?void 0:Mn.WriteStream)==null?void 0:yc.prototype)==null?void 0:Ml.hasColors)==null?void 0:bc.call(Ml))??!1,nn=(w,Y)=>{if(!Jn)return M=>M;let me=`\x1B[${w}m`,Ie=`\x1B[${Y}m`;return M=>{let O=M+"",ue=O.indexOf(Ie);if(ue===-1)return me+O+Ie;let Ot=me,cr=0,Or=(Y===22?Ie:"")+me;for(;ue!==-1;)Ot+=O.slice(cr,ue)+Or,cr=ue+Ie.length,ue=O.indexOf(Ie,cr);return Ot+(O.slice(cr)+Ie)}};nn(0,0),nn(1,22),nn(2,22),nn(3,23),nn(4,24),nn(53,55),nn(7,27),nn(8,28),nn(9,29),nn(30,39);let wn=nn(31,39),ui=nn(32,39),Xn=nn(33,39),bs=nn(34,39);nn(35,39);let da=nn(36,39);nn(37,39);let Pa=nn(90,39);function ke(w){if(typeof w!="string"||w.startsWith("file://"))return!1;try{return(0,Gr.lstatSync)(w).isDirectory()}catch{return!1}}function Ae(w){try{return(0,Gr.accessSync)(w,Gr.constants.W_OK),!0}catch{return!1}}function Ye(w,Y=8){return(Np()?D().createHash("sha256"):D().createHash("md5")).update(w).digest("hex").slice(0,Y)}function Ge(w){for(;w&&w!=="."&&w!=="/";){w=_n(w,"..");try{let Y=(0,Gr.readFileSync)(_n(w,"package.json"),"utf8");try{return JSON.parse(Y)}catch{}break}catch{}}}function yt(w,Y){return`(${Y!=null&&Y.async?"async ":""}function (exports, require, module, __filename, __dirname, jitiImport, jitiESMResolve) { ${w}
|
|
});`}nn(40,49),nn(41,49),nn(42,49),nn(43,49),nn(44,49),nn(45,49),nn(46,49),nn(47,49),nn(100,49),nn(91,39),nn(92,39),nn(93,39),nn(94,39),nn(95,39),nn(96,39),nn(97,39),nn(101,49),nn(102,49),nn(103,49),nn(104,49),nn(105,49),nn(106,49),nn(107,49);let Vt={true:ui("true"),false:Xn("false"),"[rebuild]":Xn("[rebuild]"),"[esm]":bs("[esm]"),"[cjs]":ui("[cjs]"),"[import]":bs("[import]"),"[require]":ui("[require]"),"[native]":da("[native]"),"[transpile]":Xn("[transpile]"),"[fallback]":wn("[fallback]"),"[unknown]":wn("[unknown]"),"[hit]":ui("[hit]"),"[miss]":Xn("[miss]"),"[json]":ui("[json]"),"[data]":ui("[data]")};function Ir(w,...Y){if(!w.opts.debug)return;let me=process.cwd();console.log(Pa(["[jiti]",...Y.map(Ie=>Ie in Vt?Vt[Ie]:typeof Ie!="string"?JSON.stringify(Ie):Ie.replace(me,"."))].join(" ")))}function ti(w,Y){return w.opts.interopDefault?es(Y):Y}function es(w){let Y=typeof w;if(w===null||Y!=="object"&&Y!=="function")return w;let me=w.default,Ie=typeof me,M=me==null,O=Ie==="object"||Ie==="function";return M&&w instanceof Promise?w:new Proxy(w,{get(ue,Ot,cr){if(Ot==="__esModule")return!0;if(Ot==="default")return M?w:typeof(me==null?void 0:me.default)=="function"&&w.__esModule?me.default:me;if(Reflect.has(ue,Ot))return Reflect.get(ue,Ot,cr);if(O){let Or=Reflect.get(me,Ot,cr);return typeof Or=="function"&&(Or=Or.bind(me)),Or}},apply:(ue,Ot,cr)=>typeof ue=="function"?Reflect.apply(ue,Ot,cr):Ie==="function"?Reflect.apply(me,Ot,cr):void 0})}function Ca(w){return Kt&&Qn(w)?Zs(w):w}function Np(){var w,Y;if(e!==void 0)return e;try{return e=!!((Y=(w=D()).getFips)!=null&&Y.call(w))}catch{return e=!1}}function Fp(w){let Y={fsCache:La("JITI_FS_CACHE",La("JITI_CACHE",!0)),rebuildFsCache:La("JITI_REBUILD_FS_CACHE",!1),moduleCache:La("JITI_MODULE_CACHE",La("JITI_REQUIRE_CACHE",!0)),debug:La("JITI_DEBUG",!1),sourceMaps:La("JITI_SOURCE_MAPS",!1),interopDefault:La("JITI_INTEROP_DEFAULT",!0),extensions:Bo("JITI_EXTENSIONS",[".js",".mjs",".cjs",".ts",".tsx",".mts",".cts",".mtsx",".ctsx"]),alias:Bo("JITI_ALIAS",{}),nativeModules:Bo("JITI_NATIVE_MODULES",[]),transformModules:Bo("JITI_TRANSFORM_MODULES",[]),tryNative:Bo("JITI_TRY_NATIVE","Bun"in globalThis),jsx:La("JITI_JSX",!1)};Y.jsx&&Y.extensions.push(".jsx",".tsx");let me={};return w.cache!==void 0&&(me.fsCache=w.cache),w.requireCache!==void 0&&(me.moduleCache=w.requireCache),{...Y,...me,...w}}function La(w,Y){return!!Bo(w,Y)}function Bo(w,Y){let me=process.env[w];if(!(w in process.env))return Y;try{return JSON.parse(me)}catch{return Y}}let tc=/\.(c|m)?j(sx?)$/,rc=/\.(c|m)?t(sx?)$/;function fl(w,Y,me){var ue;let Ie,M;if(w.isNativeRe.test(Y))return Y;w.alias&&(Y=pl(Y,w.alias));let O=(me==null?void 0:me.parentURL)||w.url;for(let Ot of(ke(O)&&(O=_n(O,"_index.js")),(me!=null&&me.async?[me==null?void 0:me.conditions,["node","import"],["node","require"]]:[me==null?void 0:me.conditions,["node","require"],["node","import"]]).filter(Boolean))){try{Ie=ol(Y,{url:O,conditions:Ot,extensions:w.opts.extensions})}catch(cr){M=cr}if(Ie)return Ie}try{return w.nativeRequire.resolve(Y,{paths:me.paths})}catch(Ot){M=Ot}for(let Ot of w.additionalExts)if((Ie=vu(w,Y+Ot,O,me)||vu(w,Y+"/index"+Ot,O,me))||(rc.test(w.filename)||rc.test(((ue=w.parentModule)==null?void 0:ue.filename)||"")||tc.test(Y))&&(Ie=vu(w,Y.replace(tc,".$1t$2"),O,me)))return Ie;if(!(me!=null&&me.try))throw M}function vu(w,Y,me,Ie){try{return w.nativeRequire.resolve(Y,{...Ie,paths:[kr(Qs(me)),...(Ie==null?void 0:Ie.paths)||[]]})}catch{}}let nc=hr("node:perf_hooks"),jp=hr("node:vm");var Lp=s.n(jp);function xu(w,Y,me){var ue;let Ie=w.parentCache||{};if(Y.startsWith("node:"))return mo(w,Y,me.async);if(Y.startsWith("file:"))Y=(0,Vr.fileURLToPath)(Y);else if(Y.startsWith("data:")){if(!me.async)throw Error("`data:` URLs are only supported in ESM context. Use `import` or `jiti.import` instead.");return Ir(w,"[native]","[data]","[import]",Y),mo(w,Y,!0)}if(vn.builtinModules.includes(Y)||Y===".pnp.js")return mo(w,Y,me.async);if(w.opts.tryNative&&!w.opts.transformOptions)try{if(!(Y=fl(w,Y,me))&&me.try)return;if(Ir(w,"[try-native]",me.async&&w.nativeImport?"[import]":"[require]",Y),me.async&&w.nativeImport)return w.nativeImport(Y).then(Ot=>(w.opts.moduleCache===!1&&delete w.nativeRequire.cache[Y],ti(w,Ot)));{let Ot=w.nativeRequire(Y);return w.opts.moduleCache===!1&&delete w.nativeRequire.cache[Y],ti(w,Ot)}}catch(Ot){Ir(w,`[try-native] Using fallback for ${Y} because of an error:`,Ot)}let M=fl(w,Y,me);if(!M&&me.try)return;let O=Wi(M);if(O===".json"){Ir(w,"[json]",M);let Ot=w.nativeRequire(M);return!Ot||"default"in Ot||Object.defineProperty(Ot,"default",{value:Ot,enumerable:!1}),Ot}if(O&&!w.opts.extensions.includes(O))return Ir(w,"[native]","[unknown]",me.async?"[import]":"[require]",M),mo(w,M,me.async);if(w.isNativeRe.test(M))return Ir(w,"[native]",me.async?"[import]":"[require]",M),mo(w,M,me.async);if(Ie[M])return ti(w,(ue=Ie[M])==null?void 0:ue.exports);if(w.opts.moduleCache){let Ot=w.nativeRequire.cache[M];if(Ot!=null&&Ot.loaded)return ti(w,Ot.exports)}return Eu(w,(0,Gr.readFileSync)(M,"utf8"),{id:Y,filename:M,ext:O,cache:Ie,async:me.async})}function mo(w,Y,me){return me&&w.nativeImport?w.nativeImport(Ca(Y)).then(Ie=>ti(w,Ie)):ti(w,w.nativeRequire(Y))}function Rp(w,Y,me){if(!w.opts.fsCache||!Y.filename)return me();let Ie=` /* v9-${Ye(Y.source,16)} */
|
|
`,M=`${ss(kr(Y.filename))}-${dl(Y.filename)}`+(w.opts.sourceMaps?"+map":"")+(Y.interopDefault?".i":"")+`.${Ye(Y.filename)}`+(Y.async?".mjs":".cjs");Y.jsx&&Y.filename.endsWith("x")&&(M+="x");let O=_n(w.opts.fsCache,M);if(!w.opts.rebuildFsCache&&(0,Gr.existsSync)(O)){let Ot=(0,Gr.readFileSync)(O,"utf8");if(Ot.endsWith(Ie))return Ir(w,"[cache]","[hit]",Y.filename,"~>",O),Ot}Ir(w,"[cache]","[miss]",Y.filename);let ue=me();return ue.includes("__JITI_ERROR__")||((0,Gr.writeFileSync)(O,ue+Ie,"utf8"),Ir(w,"[cache]","[store]",Y.filename,"~>",O)),ue}function Mp(w){if(w.opts.fsCache===!0&&(w.opts.fsCache=ic(w)),w.opts.fsCache)try{if((0,Gr.mkdirSync)(w.opts.fsCache,{recursive:!0}),!Ae(w.opts.fsCache))throw Error("directory is not writable!")}catch(Y){Ir(w,"Error creating cache directory at ",w.opts.fsCache,Y),w.opts.fsCache=!1}}function ic(w){let Y=w.filename&&di(w.filename,"../node_modules");if(Y&&(0,Gr.existsSync)(Y))return _n(Y,".cache/jiti");let me=(0,n.tmpdir)();if(process.env.TMPDIR&&me===process.cwd()&&!process.env.JITI_RESPECT_TMPDIR_ENV){let Ie=process.env.TMPDIR;delete process.env.TMPDIR,me=(0,n.tmpdir)(),process.env.TMPDIR=Ie}return _n(me,"jiti")}function Tu(w,Y){let me=Rp(w,Y,()=>{var M;let Ie=w.opts.transform({...w.opts.transformOptions,babel:{...w.opts.sourceMaps?{sourceFileName:Y.filename,sourceMaps:"inline"}:{},...(M=w.opts.transformOptions)==null?void 0:M.babel},interopDefault:w.opts.interopDefault,...Y});return Ie.error&&w.opts.debug&&Ir(w,Ie.error),Ie.code});return me.startsWith("#!")&&(me="// "+me),me}function Eu(w,Y,me={}){var Dw;let Ie,M,O=me.id||(me.filename?ss(me.filename):`_jitiEval.${me.ext||(me.async?"mjs":"js")}`),ue=me.filename||fl(w,O,{async:me.async}),Ot=me.ext||Wi(ue),cr=me.cache||w.parentCache||{},Or=/\.[cm]?tsx?$/.test(Ot),Lr=Ot===".mjs"||Ot===".js"&&((Dw=Ge(ue))==null?void 0:Dw.type)==="module",In=Ot===".cjs",qn=me.forceTranspile??(!In&&!(Lr&&me.async)&&(Or||Lr||w.isTransformRe.test(ue)||jo(Y))),js=nc.performance.now();if(qn){Y=Tu(w,{filename:ue,source:Y,ts:Or,async:me.async??!1,jsx:w.opts.jsx});let Xa=Math.round((nc.performance.now()-js)*1e3)/1e3;Ir(w,"[transpile]",me.async?"[esm]":"[cjs]",ue,`(${Xa}ms)`)}else{if(Ir(w,"[native]",me.async?"[import]":"[require]",ue),me.async)return Promise.resolve(mo(w,ue,me.async)).catch(Xa=>(Ir(w,"Native import error:",Xa),Ir(w,"[fallback]",ue),Eu(w,Y,{...me,forceTranspile:!0})));try{return mo(w,ue,me.async)}catch(Xa){Ir(w,"Native require error:",Xa),Ir(w,"[fallback]",ue),Y=Tu(w,{filename:ue,source:Y,ts:Or,async:me.async??!1,jsx:w.opts.jsx})}}let Vn=new vn.Module(ue);Vn.filename=ue,w.parentModule&&(Vn.parent=w.parentModule,Array.isArray(w.parentModule.children)&&!w.parentModule.children.includes(Vn)&&w.parentModule.children.push(Vn));let Ls=sc(ue,w.opts,{parentModule:Vn,parentCache:cr,nativeImport:w.nativeImport,onError:w.onError,createRequire:w.createRequire},!0);Vn.require=Ls,Vn.path=kr(ue),Vn.paths=vn.Module._nodeModulePaths(Vn.path),cr[ue]=Vn,w.opts.moduleCache&&(w.nativeRequire.cache[ue]=Vn);let Ps=yt(Y,{async:me.async});try{Ie=Lp().runInThisContext(Ps,{filename:ue,lineOffset:0,displayErrors:!1})}catch(Xa){Xa.name==="SyntaxError"&&me.async&&w.nativeImport?(Ir(w,"[esm]","[import]","[fallback]",ue),Ie=Bp(Ps,w.nativeImport)):(w.opts.moduleCache&&delete w.nativeRequire.cache[ue],w.onError(Xa))}try{M=Ie(Vn.exports,Vn.require,Vn,Vn.filename,kr(Vn.filename),Ls.import,Ls.esmResolve)}catch(Xa){w.opts.moduleCache&&delete w.nativeRequire.cache[ue],w.onError(Xa)}function ml(){if(Vn.exports&&Vn.exports.__JITI_ERROR__){let{filename:Xa,line:kB,column:DB,code:IB,message:OB}=Vn.exports.__JITI_ERROR__,NB=`${Xa}:${kB}:${DB}`,Iw=Error(`${IB}: ${OB}
|
|
${NB}`);Error.captureStackTrace(Iw,xu),w.onError(Iw)}return Vn.loaded=!0,ti(w,Vn.exports)}return me.async?Promise.resolve(M).then(ml):ml()}function Bp(w,Y){let me=`data:text/javascript;base64,${Buffer.from(`export default ${w}`).toString("base64")}`;return(...Ie)=>Y(me).then(M=>M.default(...Ie))}let Up=(0,n.platform)()==="win32";function sc(w,Y={},me,Ie=!1){let M=Ie?Y:Fp(Y),O=M.alias&&Object.keys(M.alias).length>0?fo(M.alias||{}):void 0,ue=["typescript","jiti",...M.nativeModules||[]],Ot=RegExp(`node_modules/(${ue.map(Vn=>ho(Vn)).join("|")})/`),cr=[...M.transformModules||[]],Or=RegExp(`node_modules/(${cr.map(Vn=>ho(Vn)).join("|")})/`);w||(w=process.cwd()),!Ie&&ke(w)&&(w=_n(w,"_index.js"));let Lr=Zs(w),In=[...M.extensions].filter(Vn=>Vn!==".js"),qn=me.createRequire(Up?w.replace(/\//g,"\\"):w),js={filename:w,url:Lr,opts:M,alias:O,nativeModules:ue,transformModules:cr,isNativeRe:Ot,isTransformRe:Or,additionalExts:In,nativeRequire:qn,onError:me.onError,parentModule:me.parentModule,parentCache:me.parentCache,nativeImport:me.nativeImport,createRequire:me.createRequire};return Ie||Ir(js,"[init]",...[["version:","2.6.0"],["module-cache:",M.moduleCache],["fs-cache:",M.fsCache],["rebuild-fs-cache:",M.rebuildFsCache],["interop-defaults:",M.interopDefault]].flat()),Ie||Mp(js),Object.assign(function(Vn){return xu(js,Vn,{async:!1})},{cache:M.moduleCache?qn.cache:Object.create(null),extensions:qn.extensions,main:qn.main,options:M,resolve:Object.assign(function(Vn){return fl(js,Vn,{async:!1})},{paths:qn.resolve.paths}),transform:Vn=>Tu(js,Vn),evalModule:(Vn,Ls)=>Eu(js,Vn,Ls),async import(Vn,Ls){let Ps=await xu(js,Vn,{...Ls,async:!0});return Ls!=null&&Ls.default?(Ps==null?void 0:Ps.default)??Ps:Ps},esmResolve(Vn,Ls){typeof Ls=="string"&&(Ls={parentURL:Ls});let Ps=fl(js,Vn,{parentURL:Lr,...Ls,async:!0});return!Ps||typeof Ps!="string"||Ps.startsWith("file://")?Ps:Zs(Ps)}})}})(),kR.exports=a.default})()});var jR=ct((gme,FR)=>{(()=>{var t={"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files lazy recursive":function(u){function e(l){return Promise.resolve().then(function(){var n=Error("Cannot find module '"+l+"'");throw n.code="MODULE_NOT_FOUND",n})}e.keys=()=>[],e.resolve=e,e.id="./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files lazy recursive",u.exports=e},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files sync recursive":function(u){function e(l){var n=Error("Cannot find module '"+l+"'");throw n.code="MODULE_NOT_FOUND",n}e.keys=()=>[],e.resolve=e,e.id="./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files sync recursive",u.exports=e},"./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.28.4/node_modules/@babel/plugin-syntax-class-properties/lib/index.js":function(u,e,l){"use strict";e.default=void 0,e.default=(0,l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(n=>(n.assertVersion(7),{name:"syntax-class-properties",manipulateOptions(c,p){p.plugins.push("classProperties","classPrivateProperties","classPrivateMethods")}}))},"./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.13/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js":function(u,e,l){u=l.nmd(u);function n(c){return"default"in c.exports?c.exports.default:c.exports}(function(c,p,i){"use strict";var o=Object.create,h=Object.defineProperty,d=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyNames,b=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,y=(de,xe)=>function(){return xe||(0,de[f(de)[0]])((xe={exports:{}}).exports,xe),xe.exports},x=(de,xe,ye,ve)=>{if(xe&&typeof xe=="object"||typeof xe=="function")for(let he of f(xe))m.call(de,he)||he===ye||h(de,he,{get:()=>xe[he],enumerable:!(ve=d(xe,he))||ve.enumerable});return de},v=(de,xe,ye)=>(ye=de!=null?o(b(de)):{},x(!xe&&de&&de.__esModule?ye:h(ye,"default",{value:de,enumerable:!0}),de)),E=y({"umd:@jridgewell/sourcemap-codec"(de,xe){xe.exports=p}}),S=y({"umd:@jridgewell/trace-mapping"(de,xe){xe.exports=i}}),_={},A={GenMapping:()=>C,addMapping:()=>G,addSegment:()=>R,allMappings:()=>Q,fromMap:()=>Z,maybeAddMapping:()=>B,maybeAddSegment:()=>V,setIgnore:()=>K,setSourceContent:()=>q,toDecodedMap:()=>$,toEncodedMap:()=>W};for(var L in A)h(_,L,{get:A[L],enumerable:!0});c.exports=x(h({},"__esModule",{value:!0}),_);var j=class{constructor(){this._indexes={__proto__:null},this.array=[]}};function F(de,xe){var ye,ve;let he=(ye=de,ve=xe,ye._indexes[ve]);if(he!==void 0)return he;let{array:Te,_indexes:Ce}=de,se=Te.push(xe);return Ce[xe]=se-1}function k(de,xe){var ye,ve;let he=(ye=de,ve=xe,ye._indexes[ve]);if(he===void 0)return;let{array:Te,_indexes:Ce}=de;for(let se=he+1;se<Te.length;se++){let pe=Te[se];Te[se-1]=pe,Ce[pe]--}Ce[xe]=void 0,Te.pop()}var U=v(E()),z=v(S()),C=class{constructor({file:de,sourceRoot:xe}={}){this._names=new j,this._sources=new j,this._sourcesContent=[],this._mappings=[],this.file=de,this.sourceRoot=xe,this._ignoreList=new j}};function R(de,xe,ye,ve,he,Te,Ce,se){return X(!1,de,xe,ye,ve,he,Te,Ce,se)}function G(de,xe){return Oe(!1,de,xe)}var V=(de,xe,ye,ve,he,Te,Ce,se)=>X(!0,de,xe,ye,ve,he,Te,Ce,se),B=(de,xe)=>Oe(!0,de,xe);function q(de,xe,ye){let{_sources:ve,_sourcesContent:he}=de;he[F(ve,xe)]=ye}function K(de,xe,ye=!0){let{_sources:ve,_sourcesContent:he,_ignoreList:Te}=de,Ce=F(ve,xe);Ce===he.length&&(he[Ce]=null),ye?F(Te,Ce):k(Te,Ce)}function $(de){let{_mappings:xe,_sources:ye,_sourcesContent:ve,_names:he,_ignoreList:Te}=de;return Ne(xe),{version:3,file:de.file||void 0,names:he.array,sourceRoot:de.sourceRoot||void 0,sources:ye.array,sourcesContent:ve,mappings:xe,ignoreList:Te.array}}function W(de){let xe=$(de);return Object.assign({},xe,{mappings:(0,U.encode)(xe.mappings)})}function Z(de){let xe=new z.TraceMap(de),ye=new C({file:xe.file,sourceRoot:xe.sourceRoot});return Pe(ye._names,xe.names),Pe(ye._sources,xe.sources),ye._sourcesContent=xe.sourcesContent||xe.sources.map(()=>null),ye._mappings=(0,z.decodedMappings)(xe),xe.ignoreList&&Pe(ye._ignoreList,xe.ignoreList),ye}function Q(de){let xe=[],{_mappings:ye,_sources:ve,_names:he}=de;for(let Te=0;Te<ye.length;Te++){let Ce=ye[Te];for(let se=0;se<Ce.length;se++){let pe,nt,ft,_t=Ce[se],Pt={line:Te+1,column:_t[0]};_t.length!==1&&(pe=ve.array[_t[1]],nt={line:_t[2]+1,column:_t[3]},_t.length===5&&(ft=he.array[_t[4]])),xe.push({generated:Pt,source:pe,original:nt,name:ft})}}return xe}function X(de,xe,ye,ve,he,Te,Ce,se,pe){let{_mappings:nt,_sources:ft,_sourcesContent:_t,_names:Pt}=xe,ht=ie(nt,ye),De=oe(ht,ve);if(!he)return de&&Ke(ht,De)?void 0:be(ht,De,[ve]);let ze=F(ft,he),Ze=se?F(Pt,se):-1;if(ze===_t.length&&(_t[ze]=pe??null),!(de&&We(ht,De,ze,Te,Ce,Ze)))return be(ht,De,se?[ve,ze,Te,Ce,Ze]:[ve,ze,Te,Ce])}function ie(de,xe){for(let ye=de.length;ye<=xe;ye++)de[ye]=[];return de[xe]}function oe(de,xe){let ye=de.length;for(let ve=ye-1;ve>=0&&!(xe>=de[ve][0]);ye=ve--);return ye}function be(de,xe,ye){for(let ve=de.length;ve>xe;ve--)de[ve]=de[ve-1];de[xe]=ye}function Ne(de){let{length:xe}=de,ye=xe;for(let ve=ye-1;ve>=0&&!(de[ve].length>0);ye=ve,ve--);ye<xe&&(de.length=ye)}function Pe(de,xe){for(let ye=0;ye<xe.length;ye++)F(de,xe[ye])}function Ke(de,xe){return xe===0||de[xe-1].length===1}function We(de,xe,ye,ve,he,Te){if(xe===0)return!1;let Ce=de[xe-1];return Ce.length!==1&&ye===Ce[1]&&ve===Ce[2]&&he===Ce[3]&&Te===(Ce.length===5?Ce[4]:-1)}function Oe(de,xe,ye){let{generated:ve,source:he,original:Te,name:Ce,content:se}=ye;return he?X(de,xe,ve.line-1,ve.column,he,Te.line-1,Te.column,Ce,se):X(de,xe,ve.line-1,ve.column,null,null,null,null,null)}})(u,l("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js"),l("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.31/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js")),u.exports=n(u)},"./node_modules/.pnpm/@jridgewell+remapping@2.3.5/node_modules/@jridgewell/remapping/dist/remapping.umd.js":function(u,e,l){u=l.nmd(u);function n(c){return"default"in c.exports?c.exports.default:c.exports}(function(c,p,i){"use strict";var o=Object.create,h=Object.defineProperty,d=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyNames,b=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,y=(ie,oe)=>function(){return oe||(0,ie[f(ie)[0]])((oe={exports:{}}).exports,oe),oe.exports},x=(ie,oe,be,Ne)=>{if(oe&&typeof oe=="object"||typeof oe=="function")for(let Pe of f(oe))m.call(ie,Pe)||Pe===be||h(ie,Pe,{get:()=>oe[Pe],enumerable:!(Ne=d(oe,Pe))||Ne.enumerable});return ie},v=(ie,oe,be)=>(be=ie!=null?o(b(ie)):{},x(!oe&&ie&&ie.__esModule?be:h(be,"default",{value:ie,enumerable:!0}),ie)),E=y({"umd:@jridgewell/trace-mapping"(ie,oe){oe.exports=i}}),S=y({"umd:@jridgewell/gen-mapping"(ie,oe){oe.exports=p}}),_={},A={default:()=>X};for(var L in A)h(_,L,{get:A[L],enumerable:!0});c.exports=x(h({},"__esModule",{value:!0}),_);var j=v(E()),F=v(S()),k=v(E()),U=C("",-1,-1,"",null,!1),z=[];function C(ie,oe,be,Ne,Pe,Ke){return{source:ie,line:oe,column:be,name:Ne,content:Pe,ignore:Ke}}function R(ie,oe,be,Ne,Pe){return{map:ie,sources:oe,source:be,content:Ne,ignore:Pe}}function G(ie,oe){return R(ie,oe,"",null,!1)}function V(ie,oe,be){return R(null,z,ie,oe,be)}function B(ie){let oe=new F.GenMapping({file:ie.map.file}),{sources:be,map:Ne}=ie,Pe=Ne.names,Ke=(0,k.decodedMappings)(Ne);for(let We=0;We<Ke.length;We++){let Oe=Ke[We];for(let de=0;de<Oe.length;de++){let xe=Oe[de],ye=xe[0],ve=U;if(xe.length!==1&&(ve=q(be[xe[1]],xe[2],xe[3],xe.length===5?Pe[xe[4]]:""))==null)continue;let{column:he,line:Te,name:Ce,content:se,source:pe,ignore:nt}=ve;(0,F.maybeAddSegment)(oe,We,ye,pe,Te,he,Ce),pe&&se!=null&&(0,F.setSourceContent)(oe,pe,se),nt&&(0,F.setIgnore)(oe,pe,!0)}}return oe}function q(ie,oe,be,Ne){if(!ie.map)return C(ie.source,oe,be,Ne,ie.content,ie.ignore);let Pe=(0,k.traceSegment)(ie.map,oe,be);return Pe==null?null:Pe.length===1?U:q(ie.sources[Pe[1]],Pe[2],Pe[3],Pe.length===5?ie.map.names[Pe[4]]:Ne)}function K(ie){return Array.isArray(ie)?ie:[ie]}function $(ie,oe){let be=K(ie).map(Ke=>new j.TraceMap(Ke,"")),Ne=be.pop();for(let Ke=0;Ke<be.length;Ke++)if(be[Ke].sources.length>1)throw Error(`Transformation map ${Ke} must have exactly one source file.
|
|
Did you specify these with the most recent transformation maps first?`);let Pe=W(Ne,oe,"",0);for(let Ke=be.length-1;Ke>=0;Ke--)Pe=G(be[Ke],[Pe]);return Pe}function W(ie,oe,be,Ne){let{resolvedSources:Pe,sourcesContent:Ke,ignoreList:We}=ie,Oe=Ne+1;return G(ie,Pe.map((de,xe)=>{let ye={importer:be,depth:Oe,source:de||"",content:void 0,ignore:void 0},ve=oe(ye.source,ye),{source:he,content:Te,ignore:Ce}=ye;return ve?W(new j.TraceMap(ve,he),oe,he,Oe):V(he,Te!==void 0?Te:Ke?Ke[xe]:null,Ce!==void 0?Ce:!!We&&We.includes(xe))}))}var Z=v(S()),Q=class{constructor(ie,oe){let be=oe.decodedMappings?(0,Z.toDecodedMap)(ie):(0,Z.toEncodedMap)(ie);this.version=be.version,this.file=be.file,this.mappings=be.mappings,this.names=be.names,this.ignoreList=be.ignoreList,this.sourceRoot=be.sourceRoot,this.sources=be.sources,oe.excludeContent||(this.sourcesContent=be.sourcesContent)}toString(){return JSON.stringify(this)}};function X(ie,oe,be){return new Q(B($(ie,oe)),typeof be=="object"?be:{excludeContent:!!be,decodedMappings:!1})}})(u,l("./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.13/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"),l("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.31/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js")),u.exports=n(u)},"./node_modules/.pnpm/@jridgewell+resolve-uri@3.1.2/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js":function(u){u.exports=(function(){"use strict";let e=/^[\w+.-]+:\/\//,l=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,n=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function c(E){return e.test(E)}function p(E){return E.startsWith("//")}function i(E){return E.startsWith("/")}function o(E){return E.startsWith("file:")}function h(E){return/^[.?#]/.test(E)}function d(E){let S=l.exec(E);return b(S[1],S[2]||"",S[3],S[4]||"",S[5]||"/",S[6]||"",S[7]||"")}function f(E){let S=n.exec(E),_=S[2];return b("file:","",S[1]||"","",i(_)?_:"/"+_,S[3]||"",S[4]||"")}function b(E,S,_,A,L,j,F){return{scheme:E,user:S,host:_,port:A,path:L,query:j,hash:F,type:7}}function m(E){if(p(E)){let _=d("http:"+E);return _.scheme="",_.type=6,_}if(i(E)){let _=d("http://foo.com"+E);return _.scheme="",_.host="",_.type=5,_}if(o(E))return f(E);if(c(E))return d(E);let S=d("http://foo.com/"+E);return S.scheme="",S.host="",S.type=E?E.startsWith("?")?3:E.startsWith("#")?2:4:1,S}function y(E){if(E.endsWith("/.."))return E;let S=E.lastIndexOf("/");return E.slice(0,S+1)}function x(E,S){v(S,S.type),E.path==="/"?E.path=S.path:E.path=y(S.path)+E.path}function v(E,S){let _=S<=4,A=E.path.split("/"),L=1,j=0,F=!1;for(let U=1;U<A.length;U++){let z=A[U];if(!z){F=!0;continue}if(F=!1,z!=="."){if(z===".."){j?(F=!0,j--,L--):_&&(A[L++]=z);continue}A[L++]=z,j++}}let k="";for(let U=1;U<L;U++)k+="/"+A[U];k&&(!F||k.endsWith("/.."))||(k+="/"),E.path=k}return function(E,S){if(!E&&!S)return"";let _=m(E),A=_.type;if(S&&A!==7){let j=m(S),F=j.type;switch(A){case 1:_.hash=j.hash;case 2:_.query=j.query;case 3:case 4:x(_,j);case 5:_.user=j.user,_.host=j.host,_.port=j.port;case 6:_.scheme=j.scheme}F>A&&(A=F)}v(_,A);let L=_.query+_.hash;switch(A){case 2:case 3:return L;case 4:{let j=_.path.slice(1);return j?h(S||E)&&!h(j)?"./"+j+L:j+L:L||"."}case 5:return _.path+L;default:return _.scheme+"//"+_.user+_.host+_.port+_.path+L}}})()},"./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js":function(u,e,l){u=l.nmd(u);function n(c){return"default"in c.exports?c.exports.default:c.exports}(function(c){"use strict";var p=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,h=Object.prototype.hasOwnProperty,d={},f={decode:()=>V,decodeGeneratedRanges:()=>z,decodeOriginalScopes:()=>F,encode:()=>K,encodeGeneratedRanges:()=>C,encodeOriginalScopes:()=>k};for(var b in f)p(d,b,{get:f[b],enumerable:!0});c.exports=(($,W,Z,Q)=>{if(W&&typeof W=="object"||typeof W=="function")for(let X of o(W))h.call($,X)||X===Z||p($,X,{get:()=>W[X],enumerable:!(Q=i(W,X))||Q.enumerable});return $})(p({},"__esModule",{value:!0}),d);var m="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",y=new Uint8Array(64),x=new Uint8Array(128);for(let $=0;$<m.length;$++){let W=m.charCodeAt($);y[$]=W,x[W]=$}function v($,W){let Z=0,Q=0,X=0;do Z|=(31&(X=x[$.next()]))<<Q,Q+=5;while(32&X);let ie=1&Z;return Z>>>=1,ie&&(Z=-2147483648|-Z),W+Z}function E($,W,Z){let Q=W-Z;Q=Q<0?-Q<<1|1:Q<<1;do{let X=31&Q;(Q>>>=5)>0&&(X|=32),$.write(y[X])}while(Q>0);return W}function S($,W){return!($.pos>=W)&&$.peek()!==44}var _=typeof TextDecoder<"u"?new TextDecoder:typeof Buffer<"u"?{decode:$=>Buffer.from($.buffer,$.byteOffset,$.byteLength).toString()}:{decode($){let W="";for(let Z=0;Z<$.length;Z++)W+=String.fromCharCode($[Z]);return W}},A=class{constructor(){this.pos=0,this.out="",this.buffer=new Uint8Array(16384)}write($){let{buffer:W}=this;W[this.pos++]=$,this.pos===16384&&(this.out+=_.decode(W),this.pos=0)}flush(){let{buffer:$,out:W,pos:Z}=this;return Z>0?W+_.decode($.subarray(0,Z)):W}},L=class{constructor($){this.pos=0,this.buffer=$}next(){return this.buffer.charCodeAt(this.pos++)}peek(){return this.buffer.charCodeAt(this.pos)}indexOf($){let{buffer:W,pos:Z}=this,Q=W.indexOf($,Z);return Q===-1?W.length:Q}},j=[];function F($){let{length:W}=$,Z=new L($),Q=[],X=[],ie=0;for(;Z.pos<W;Z.pos++){ie=v(Z,ie);let oe=v(Z,0);if(!S(Z,W)){let Ke=X.pop();Ke[2]=ie,Ke[3]=oe;continue}let be=v(Z,0),Ne=1&v(Z,0)?[ie,oe,0,0,be,v(Z,0)]:[ie,oe,0,0,be],Pe=j;if(S(Z,W)){Pe=[];do{let Ke=v(Z,0);Pe.push(Ke)}while(S(Z,W))}Ne.vars=Pe,Q.push(Ne),X.push(Ne)}return Q}function k($){let W=new A;for(let Z=0;Z<$.length;)Z=U($,Z,W,[0]);return W.flush()}function U($,W,Z,Q){let X=$[W],{0:ie,1:oe,2:be,3:Ne,4:Pe,vars:Ke}=X;for(let We of(W>0&&Z.write(44),Q[0]=E(Z,ie,Q[0]),E(Z,oe,0),E(Z,Pe,0),E(Z,+(X.length===6),0),X.length===6&&E(Z,X[5],0),Ke))E(Z,We,0);for(W++;W<$.length;){let{0:We,1:Oe}=$[W];if(We>be||We===be&&Oe>=Ne)break;W=U($,W,Z,Q)}return Z.write(44),Q[0]=E(Z,be,Q[0]),E(Z,Ne,0),W}function z($){let{length:W}=$,Z=new L($),Q=[],X=[],ie=0,oe=0,be=0,Ne=0,Pe=0,Ke=0,We=0,Oe=0;do{let de=Z.indexOf(";"),xe=0;for(;Z.pos<de;Z.pos++){let ye;if(xe=v(Z,xe),!S(Z,de)){let nt=X.pop();nt[2]=ie,nt[3]=xe;continue}let ve=v(Z,0),he=1&ve,Te=2&ve,Ce=4&ve,se=null,pe=j;if(he){let nt=v(Z,oe);be=v(Z,oe===nt?be:0),oe=nt,ye=[ie,xe,0,0,nt,be]}else ye=[ie,xe,0,0];if(ye.isScope=!!Ce,Te){let nt=Pe,ft=Ne===(Ne=v(Z,Ne));Pe=v(Z,ft?Pe:0),Ke=v(Z,ft&&nt===Pe?Ke:0),se=[Ne,Pe,Ke]}if(ye.callsite=se,S(Z,de)){pe=[];do{let nt;We=ie,Oe=xe;let ft=v(Z,0);if(ft<-1){nt=[[v(Z,0)]];for(let _t=-1;_t>ft;_t--){let Pt=We;We=v(Z,We),Oe=v(Z,We===Pt?Oe:0);let ht=v(Z,0);nt.push([ht,We,Oe])}}else nt=[[ft]];pe.push(nt)}while(S(Z,de))}ye.bindings=pe,Q.push(ye),X.push(ye)}ie++,Z.pos=de+1}while(Z.pos<W);return Q}function C($){if($.length===0)return"";let W=new A;for(let Z=0;Z<$.length;)Z=R($,Z,W,[0,0,0,0,0,0,0]);return W.flush()}function R($,W,Z,Q){let X=$[W],{0:ie,1:oe,2:be,3:Ne,isScope:Pe,callsite:Ke,bindings:We}=X;if(Q[0]<ie?(G(Z,Q[0],ie),Q[0]=ie,Q[1]=0):W>0&&Z.write(44),Q[1]=E(Z,X[1],Q[1]),E(Z,X.length===6|2*!!Ke|4*!!Pe,0),X.length===6){let{4:Oe,5:de}=X;Oe!==Q[2]&&(Q[3]=0),Q[2]=E(Z,Oe,Q[2]),Q[3]=E(Z,de,Q[3])}if(Ke){let{0:Oe,1:de,2:xe}=X.callsite;Oe!==Q[4]?(Q[5]=0,Q[6]=0):de!==Q[5]&&(Q[6]=0),Q[4]=E(Z,Oe,Q[4]),Q[5]=E(Z,de,Q[5]),Q[6]=E(Z,xe,Q[6])}if(We)for(let Oe of We){Oe.length>1&&E(Z,-Oe.length,0),E(Z,Oe[0][0],0);let de=ie,xe=oe;for(let ye=1;ye<Oe.length;ye++){let ve=Oe[ye];de=E(Z,ve[1],de),xe=E(Z,ve[2],xe),E(Z,ve[0],0)}}for(W++;W<$.length;){let{0:Oe,1:de}=$[W];if(Oe>be||Oe===be&&de>=Ne)break;W=R($,W,Z,Q)}return Q[0]<be?(G(Z,Q[0],be),Q[0]=be,Q[1]=0):Z.write(44),Q[1]=E(Z,Ne,Q[1]),W}function G($,W,Z){do $.write(59);while(++W<Z)}function V($){let{length:W}=$,Z=new L($),Q=[],X=0,ie=0,oe=0,be=0,Ne=0;do{let Pe=Z.indexOf(";"),Ke=[],We=!0,Oe=0;for(X=0;Z.pos<Pe;){let de;(X=v(Z,X))<Oe&&(We=!1),Oe=X,S(Z,Pe)?(ie=v(Z,ie),oe=v(Z,oe),be=v(Z,be),de=S(Z,Pe)?[X,ie,oe,be,Ne=v(Z,Ne)]:[X,ie,oe,be]):de=[X],Ke.push(de),Z.pos++}We||B(Ke),Q.push(Ke),Z.pos=Pe+1}while(Z.pos<=W);return Q}function B($){$.sort(q)}function q($,W){return $[0]-W[0]}function K($){let W=new A,Z=0,Q=0,X=0,ie=0;for(let oe=0;oe<$.length;oe++){let be=$[oe];if(oe>0&&W.write(59),be.length===0)continue;let Ne=0;for(let Pe=0;Pe<be.length;Pe++){let Ke=be[Pe];Pe>0&&W.write(44),Ne=E(W,Ke[0],Ne),Ke.length!==1&&(Z=E(W,Ke[1],Z),Q=E(W,Ke[2],Q),X=E(W,Ke[3],X),Ke.length!==4&&(ie=E(W,Ke[4],ie)))}}return W.flush()}})(u),u.exports=n(u)},"./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.31/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js":function(u,e,l){u=l.nmd(u);function n(c){return"default"in c.exports?c.exports.default:c.exports}(function(c,p,i){"use strict";var o=Object.create,h=Object.defineProperty,d=Object.getOwnPropertyDescriptor,f=Object.getOwnPropertyNames,b=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty,y=(le,Se)=>function(){return Se||(0,le[f(le)[0]])((Se={exports:{}}).exports,Se),Se.exports},x=(le,Se,Ee,Be)=>{if(Se&&typeof Se=="object"||typeof Se=="function")for(let Qe of f(Se))m.call(le,Qe)||Qe===Ee||h(le,Qe,{get:()=>Se[Qe],enumerable:!(Be=d(Se,Qe))||Be.enumerable});return le},v=(le,Se,Ee)=>(Ee=le!=null?o(b(le)):{},x(!Se&&le&&le.__esModule?Ee:h(Ee,"default",{value:le,enumerable:!0}),le)),E=y({"umd:@jridgewell/sourcemap-codec"(le,Se){Se.exports=i}}),S=y({"umd:@jridgewell/resolve-uri"(le,Se){Se.exports=p}}),_={},A={AnyMap:()=>ie,FlattenMap:()=>ie,GREATEST_LOWER_BOUND:()=>de,LEAST_UPPER_BOUND:()=>Oe,TraceMap:()=>xe,allGeneratedPositionsFor:()=>se,decodedMap:()=>ht,decodedMappings:()=>ve,eachMapping:()=>pe,encodedMap:()=>De,encodedMappings:()=>ye,generatedPositionFor:()=>Ce,isIgnored:()=>_t,originalPositionFor:()=>Te,presortedDecodedMap:()=>Pt,sourceContentFor:()=>ft,traceSegment:()=>he};for(var L in A)h(_,L,{get:A[L],enumerable:!0});c.exports=x(h({},"__esModule",{value:!0}),_);var j=v(E()),F=v(S());function k(le){if(!le)return"";let Se=le.lastIndexOf("/");return le.slice(0,Se+1)}function U(le,Se){let Ee=k(le),Be=Se?Se+"/":"";return Qe=>(0,F.default)(Be+(Qe||""),Ee)}function z(le,Se){let Ee=C(le,0);if(Ee===le.length)return le;Se||(le=le.slice());for(let Be=Ee;Be<le.length;Be=C(le,Be+1))le[Be]=G(le[Be],Se);return le}function C(le,Se){for(let Ee=Se;Ee<le.length;Ee++)if(!R(le[Ee]))return Ee;return le.length}function R(le){for(let Se=1;Se<le.length;Se++)if(le[Se][0]<le[Se-1][0])return!1;return!0}function G(le,Se){return Se||(le=le.slice()),le.sort(V)}function V(le,Se){return le[0]-Se[0]}function B(le,Se){let Ee=Se.map(()=>[]);for(let Be=0;Be<le.length;Be++){let Qe=le[Be];for(let ce=0;ce<Qe.length;ce++){let $e=Qe[ce];if($e.length===1)continue;let et=$e[1],ut=$e[2],Je=$e[3],Le=Ee[et];(Le[ut]||(Le[ut]=[])).push([Je,Be,$e[0]])}}for(let Be=0;Be<Ee.length;Be++){let Qe=Ee[Be];for(let ce=0;ce<Qe.length;ce++){let $e=Qe[ce];$e&&$e.sort(V)}}return Ee}var q=!1;function K(le,Se,Ee,Be){for(;Ee<=Be;){let Qe=Ee+(Be-Ee>>1),ce=le[Qe][0]-Se;if(ce===0)return q=!0,Qe;ce<0?Ee=Qe+1:Be=Qe-1}return q=!1,Ee-1}function $(le,Se,Ee){for(let Be=Ee+1;Be<le.length&&le[Be][0]===Se;Ee=Be++);return Ee}function W(le,Se,Ee){for(let Be=Ee-1;Be>=0&&le[Be][0]===Se;Ee=Be--);return Ee}function Z(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function Q(le,Se,Ee,Be){let{lastKey:Qe,lastNeedle:ce,lastIndex:$e}=Ee,et=0,ut=le.length-1;if(Be===Qe){if(Se===ce)return q=$e!==-1&&le[$e][0]===Se,$e;Se>=ce?et=$e===-1?0:$e:ut=$e}return Ee.lastKey=Be,Ee.lastNeedle=Se,Ee.lastIndex=K(le,Se,et,ut)}function X(le){return typeof le=="string"?JSON.parse(le):le}var ie=function(le,Se){let Ee=X(le);if(!("sections"in Ee))return new xe(Ee,Se);let Be=[],Qe=[],ce=[],$e=[],et=[];return oe(Ee,Se,Be,Qe,ce,$e,et,0,0,1/0,1/0),Pt({version:3,file:Ee.file,names:$e,sources:Qe,sourcesContent:ce,mappings:Be,ignoreList:et})};function oe(le,Se,Ee,Be,Qe,ce,$e,et,ut,Je,Le){let{sections:at}=le;for(let Et=0;Et<at.length;Et++){let{map:Rt,offset:lr}=at[Et],xt=Je,ar=Le;if(Et+1<at.length){let yr=at[Et+1].offset;(xt=Math.min(Je,et+yr.line))===Je?ar=Math.min(Le,ut+yr.column):xt<Je&&(ar=ut+yr.column)}be(Rt,Se,Ee,Be,Qe,ce,$e,et+lr.line,ut+lr.column,xt,ar)}}function be(le,Se,Ee,Be,Qe,ce,$e,et,ut,Je,Le){let at=X(le);if("sections"in at)return oe(...arguments);let Et=new xe(at,Se),Rt=Be.length,lr=ce.length,xt=ve(Et),{resolvedSources:ar,sourcesContent:yr,ignoreList:Pr}=Et;if(Ne(Be,ar),Ne(ce,Et.names),yr)Ne(Qe,yr);else for(let Rr=0;Rr<ar.length;Rr++)Qe.push(null);if(Pr)for(let Rr=0;Rr<Pr.length;Rr++)$e.push(Pr[Rr]+Rt);for(let Rr=0;Rr<xt.length;Rr++){let ln=et+Rr;if(ln>Je)return;let Tn=Pe(Ee,ln),Pn=Rr===0?ut:0,er=xt[Rr];for(let Yr=0;Yr<er.length;Yr++){let gr=er[Yr],An=Pn+gr[0];if(ln===Je&&An>=Le)return;if(gr.length===1){Tn.push([An]);continue}let rt=Rt+gr[1],At=gr[2],Mt=gr[3];Tn.push(gr.length===4?[An,rt,At,Mt]:[An,rt,At,Mt,lr+gr[4]])}}}function Ne(le,Se){for(let Ee=0;Ee<Se.length;Ee++)le.push(Se[Ee])}function Pe(le,Se){for(let Ee=le.length;Ee<=Se;Ee++)le[Ee]=[];return le[Se]}var Ke="`line` must be greater than 0 (lines start at line 1)",We="`column` must be greater than or equal to 0 (columns start at column 0)",Oe=-1,de=1,xe=class{constructor(le,Se){let Ee=typeof le=="string";if(!Ee&&le._decodedMemo)return le;let Be=X(le),{version:Qe,file:ce,names:$e,sourceRoot:et,sources:ut,sourcesContent:Je}=Be;this.version=Qe,this.file=ce,this.names=$e||[],this.sourceRoot=et,this.sources=ut,this.sourcesContent=Je,this.ignoreList=Be.ignoreList||Be.x_google_ignoreList||void 0;let Le=U(Se,et);this.resolvedSources=ut.map(Le);let{mappings:at}=Be;if(typeof at=="string")this._encoded=at,this._decoded=void 0;else if(Array.isArray(at))this._encoded=void 0,this._decoded=z(at,Ee);else throw Be.sections?Error("TraceMap passed sectioned source map, please use FlattenMap export instead"):Error(`invalid source map: ${JSON.stringify(Be)}`);this._decodedMemo=Z(),this._bySources=void 0,this._bySourceMemos=void 0}};function ye(le){var Se;return(Se=le._encoded)!=null?Se:le._encoded=(0,j.encode)(le._decoded)}function ve(le){return le._decoded||(le._decoded=(0,j.decode)(le._encoded))}function he(le,Se,Ee){let Be=ve(le);if(Se>=Be.length)return null;let Qe=Be[Se],ce=ge(Qe,le._decodedMemo,Se,Ee,de);return ce===-1?null:Qe[ce]}function Te(le,Se){let{line:Ee,column:Be,bias:Qe}=Se;if(--Ee<0)throw Error(Ke);if(Be<0)throw Error(We);let ce=ve(le);if(Ee>=ce.length)return Ze(null,null,null,null);let $e=ce[Ee],et=ge($e,le._decodedMemo,Ee,Be,Qe||de);if(et===-1)return Ze(null,null,null,null);let ut=$e[et];if(ut.length===1)return Ze(null,null,null,null);let{names:Je,resolvedSources:Le}=le;return Ze(Le[ut[1]],ut[2]+1,ut[3],ut.length===5?Je[ut[4]]:null)}function Ce(le,Se){let{source:Ee,line:Be,column:Qe,bias:ce}=Se;return ee(le,Ee,Be,Qe,ce||de,!1)}function se(le,Se){let{source:Ee,line:Be,column:Qe,bias:ce}=Se;return ee(le,Ee,Be,Qe,ce||Oe,!0)}function pe(le,Se){let Ee=ve(le),{names:Be,resolvedSources:Qe}=le;for(let ce=0;ce<Ee.length;ce++){let $e=Ee[ce];for(let et=0;et<$e.length;et++){let ut=$e[et],Je=ce+1,Le=ut[0],at=null,Et=null,Rt=null,lr=null;ut.length!==1&&(at=Qe[ut[1]],Et=ut[2]+1,Rt=ut[3]),ut.length===5&&(lr=Be[ut[4]]),Se({generatedLine:Je,generatedColumn:Le,source:at,originalLine:Et,originalColumn:Rt,name:lr})}}}function nt(le,Se){let{sources:Ee,resolvedSources:Be}=le,Qe=Ee.indexOf(Se);return Qe===-1&&(Qe=Be.indexOf(Se)),Qe}function ft(le,Se){let{sourcesContent:Ee}=le;if(Ee==null)return null;let Be=nt(le,Se);return Be===-1?null:Ee[Be]}function _t(le,Se){let{ignoreList:Ee}=le;if(Ee==null)return!1;let Be=nt(le,Se);return Be!==-1&&Ee.includes(Be)}function Pt(le,Se){let Ee=new xe(ze(le,[]),Se);return Ee._decoded=le.mappings,Ee}function ht(le){return ze(le,ve(le))}function De(le){return ze(le,ye(le))}function ze(le,Se){return{version:le.version,file:le.file,names:le.names,sourceRoot:le.sourceRoot,sources:le.sources,sourcesContent:le.sourcesContent,mappings:Se,ignoreList:le.ignoreList||le.x_google_ignoreList}}function Ze(le,Se,Ee,Be){return{source:le,line:Se,column:Ee,name:Be}}function tt(le,Se){return{line:le,column:Se}}function ge(le,Se,Ee,Be,Qe){let ce=Q(le,Be,Se,Ee);return q?ce=(Qe===Oe?$:W)(le,Be,ce):Qe===Oe&&ce++,ce===-1||ce===le.length?-1:ce}function fe(le,Se,Ee,Be,Qe){let ce=ge(le,Se,Ee,Be,de);if(!q&&Qe===Oe&&ce++,ce===-1||ce===le.length)return[];let $e=q?Be:le[ce][0];q||(ce=W(le,$e,ce));let et=$(le,$e,ce),ut=[];for(;ce<=et;ce++){let Je=le[ce];ut.push(tt(Je[1]+1,Je[2]))}return ut}function ee(le,Se,Ee,Be,Qe,ce){if(--Ee<0)throw Error(Ke);if(Be<0)throw Error(We);let{sources:$e,resolvedSources:et}=le,ut=$e.indexOf(Se);if(ut===-1&&(ut=et.indexOf(Se)),ut===-1)return ce?[]:tt(null,null);let Je=le._bySourceMemos||(le._bySourceMemos=$e.map(Z)),Le=(le._bySources||(le._bySources=B(ve(le),Je)))[ut][Ee];if(Le==null)return ce?[]:tt(null,null);let at=Je[ut];if(ce)return fe(Le,at,Ee,Be,Qe);let Et=ge(Le,at,Ee,Be,Qe);if(Et===-1)return tt(null,null);let Rt=Le[Et];return tt(Rt[1]+1,Rt[2])}})(u,l("./node_modules/.pnpm/@jridgewell+resolve-uri@3.1.2/node_modules/@jridgewell/resolve-uri/dist/resolve-uri.umd.js"),l("./node_modules/.pnpm/@jridgewell+sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js")),u.exports=n(u)},"./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js":function(u,e,l){"use strict";var n=l("path");function c(p){switch(p.parent.type){case"TSTypeReference":case"TSQualifiedName":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;default:return!1}}u.exports=function(p){var i=p.types,o=function(b,m){return function(y){var x=i.callExpression(b.expression,[i.Identifier(y),i.Identifier("undefined"),i.NumericLiteral(m.key)]),v=i.logicalExpression("||",x,i.Identifier(y)),E=i.assignmentExpression("=",i.Identifier(y),v);return i.expressionStatement(E)}},h=function(b,m){return function(y,x){var v=i.callExpression(b.expression,[i.Identifier("".concat(y,".prototype")),i.StringLiteral(x),i.NumericLiteral(m.key)]);return i.expressionStatement(v)}},d=function(b){var m=b.findParent(function(y){return y.node.type==="AssignmentExpression"});return m.node.right.type==="SequenceExpression"?m.node.right.expressions[1].name:m.node.right.type==="ClassExpression"?m.node.left.name:null},f=function(b){switch(b.node.type){case"ObjectPattern":return i.ObjectPattern(b.node.properties);case"AssignmentPattern":return i.AssignmentPattern(b.node.left,b.node.right);case"TSParameterProperty":return i.Identifier(b.node.parameter.name);default:return i.Identifier(b.node.name)}};return{visitor:{Program:function(b,m){var y=(0,n.extname)(m.file.opts.filename);(y===".ts"||y===".tsx")&&(function(){var x=Object.create(null);b.node.body.filter(function(C){var R=C.type,G=C.declaration;switch(R){case"ClassDeclaration":return!0;case"ExportNamedDeclaration":case"ExportDefaultDeclaration":return G&&G.type==="ClassDeclaration";default:return!1}}).map(function(C){return C.type==="ClassDeclaration"?C:C.declaration}).forEach(function(C){C.body.body.forEach(function(R){(R.params||[]).forEach(function(G){(G.decorators||[]).forEach(function(V){V.expression.callee?x[V.expression.callee.name]=V:x[V.expression.name]=V})})})});var v=!0,E=!1,S=void 0;try{for(var _,A=b.get("body")[Symbol.iterator]();!(v=(_=A.next()).done);v=!0){var L=_.value;if(L.node.type==="ImportDeclaration"){if(L.node.specifiers.length===0)continue;var j=!0,F=!1,k=void 0;try{for(var U,z=L.node.specifiers[Symbol.iterator]();!(j=(U=z.next()).done);j=!0)(function(){var C=U.value,R=L.scope.getBinding(C.local.name);R.referencePaths.length?R.referencePaths.reduce(function(G,V){return G||c(V)},!1)&&Object.keys(x).forEach(function(G){var V=x[G];(V.expression.arguments||[]).forEach(function(B){B.name===C.local.name&&R.referencePaths.push({parent:V.expression})})}):x[C.local.name]&&R.referencePaths.push({parent:x[C.local.name]})})()}catch(C){F=!0,k=C}finally{try{j||z.return==null||z.return()}finally{if(F)throw k}}}}}catch(C){E=!0,S=C}finally{try{v||A.return==null||A.return()}finally{if(E)throw S}}})()},Function:function(b){var m="";b.node.id?m=b.node.id.name:b.node.key&&(m=b.node.key.name),(b.get("params")||[]).slice().forEach(function(y){var x=y.node.decorators||[],v=x.length;if(x.slice().forEach(function(S){if(b.type==="ClassMethod"){var _,A=b.parentPath.parentPath,L=b.findParent(function(R){return R.type==="ClassDeclaration"});if(L?_=L.node.id.name:(A.insertAfter(null),_=d(b)),m==="constructor"){var j=o(S,y)(_);A.insertAfter(j)}else{var F=h(S,y)(_,m);A.insertAfter(F)}}else{var k=b.findParent(function(R){return R.node.type==="VariableDeclarator"}).node.id.name;if(m===k){var U=o(S,y)(k);b.parentKey==="body"?b.insertAfter(U):b.findParent(function(R){return R.parentKey==="body"}).insertAfter(U)}else{var z=b.findParent(function(R){return R.node.type==="CallExpression"}),C=h(S,y)(k,m);z.insertAfter(C)}}}),v){var E=f(y);y.replaceWith(E)}})}}}}},"./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js":function(u,e){"use strict";var l;function n(y){return Buffer.from(y,"base64").toString()}function c(y){if(typeof value=="number")throw TypeError("The value to decode must not be of type number.");return new Buffer(y,"base64").toString()}function p(y){return decodeURIComponent(escape(atob(y)))}function i(y){return y.split(",").pop()}function o(y,x){var v=e.mapFileCommentRegex.exec(y),E=v[1]||v[2];try{var y=x(E);return y!=null&&typeof y.catch=="function"?y.catch(S):y}catch(_){S(_)}function S(_){throw Error("An error occurred while trying to read the map file at "+E+`
|
|
`+_.stack)}}function h(y,x){(x=x||{}).hasComment&&(y=i(y)),x.encoding==="base64"?y=l(y):x.encoding==="uri"&&(y=decodeURIComponent(y)),(x.isJSON||x.encoding)&&(y=JSON.parse(y)),this.sourcemap=y}function d(){var y=this.toJSON();return Buffer.from(y,"utf8").toString("base64")}function f(){var y=this.toJSON();if(typeof y=="number")throw TypeError("The json to encode must not be of type number.");return new Buffer(y,"utf8").toString("base64")}function b(){return btoa(unescape(encodeURIComponent(this.toJSON())))}function m(y){return new h(y,{isJSON:!0})}Object.defineProperty(e,"commentRegex",{get:function(){return/^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/mg}}),Object.defineProperty(e,"mapFileCommentRegex",{get:function(){return/(?:\/\/[@#][ \t]+?sourceMappingURL=([^\s'"`]+?)[ \t]*?$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*?(?:\*\/){1}[ \t]*?$)/mg}}),l=typeof Buffer<"u"?typeof Buffer.from=="function"?n:c:p,h.prototype.toJSON=function(y){return JSON.stringify(this.sourcemap,null,y)},typeof Buffer<"u"?typeof Buffer.from=="function"?h.prototype.toBase64=d:h.prototype.toBase64=f:h.prototype.toBase64=b,h.prototype.toURI=function(){return encodeURIComponent(this.toJSON())},h.prototype.toComment=function(y){var x,v,E;return y!=null&&y.encoding==="uri"?(x="",v=this.toURI()):(x=";base64",v=this.toBase64()),E="sourceMappingURL=data:application/json;charset=utf-8"+x+","+v,y!=null&&y.multiline?"/*# "+E+" */":"//# "+E},h.prototype.toObject=function(){return JSON.parse(this.toJSON())},h.prototype.addProperty=function(y,x){if(this.sourcemap.hasOwnProperty(y))throw Error('property "'+y+'" already exists on the sourcemap, use set property instead');return this.setProperty(y,x)},h.prototype.setProperty=function(y,x){return this.sourcemap[y]=x,this},h.prototype.getProperty=function(y){return this.sourcemap[y]},e.fromObject=function(y){return new h(y)},e.fromJSON=function(y){return new h(y,{isJSON:!0})},e.fromURI=function(y){return new h(y,{encoding:"uri"})},e.fromBase64=function(y){return new h(y,{encoding:"base64"})},e.fromComment=function(y){var x,v;return y=y.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),v=(x=e.commentRegex.exec(y))&&x[4]||"uri",new h(y,{encoding:v,hasComment:!0})},e.fromMapFileComment=function(y,x){if(typeof x=="string")throw Error("String directory paths are no longer supported with `fromMapFileComment`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var v=o(y,x);return v!=null&&typeof v.then=="function"?v.then(m):m(v)},e.fromSource=function(y){var x=y.match(e.commentRegex);return x?e.fromComment(x.pop()):null},e.fromMapFileSource=function(y,x){if(typeof x=="string")throw Error("String directory paths are no longer supported with `fromMapFileSource`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var v=y.match(e.mapFileCommentRegex);return v?e.fromMapFileComment(v.pop(),x):null},e.removeComments=function(y){return y.replace(e.commentRegex,"")},e.removeMapFileComments=function(y){return y.replace(e.mapFileCommentRegex,"")},e.generateMapFileComment=function(y,x){var v="sourceMappingURL="+y;return x&&x.multiline?"/*# "+v+" */":"//# "+v}},"./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/browser.js":function(u,e,l){let n;function c(){let f;return typeof window<"u"&&!!window.process&&(window.process.type==="renderer"||!!window.process.__nwjs)||!(typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&(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&&(f=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(f[1],10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))}function p(f){if(f[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+f[0]+(this.useColors?"%c ":" ")+"+"+u.exports.humanize(this.diff),!this.useColors)return;let b="color: "+this.color;f.splice(1,0,b,"color: inherit");let m=0,y=0;f[0].replace(/%[a-zA-Z%]/g,x=>{x!=="%%"&&(m++,x==="%c"&&(y=m))}),f.splice(y,0,b)}function i(f){try{f?e.storage.setItem("debug",f):e.storage.removeItem("debug")}catch{}}function o(){let f;try{f=e.storage.getItem("debug")||e.storage.getItem("DEBUG")}catch{}return!f&&typeof process<"u"&&"env"in process&&(f=process.env.DEBUG),f}function h(){try{return localStorage}catch{}}e.formatArgs=p,e.save=i,e.load=o,e.useColors=c,e.storage=h(),n=!1,e.destroy=()=>{n||(n=!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`."))},e.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"],e.log=console.debug||console.log||(()=>{}),u.exports=l("./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.js")(e);let{formatters:d}=u.exports;d.j=function(f){try{return JSON.stringify(f)}catch(b){return"[UnexpectedJSONParseError]: "+b.message}}},"./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.js":function(u,e,l){u.exports=function(n){function c(y){let x=0;for(let v=0;v<y.length;v++)x=(x<<5)-x+y.charCodeAt(v)|0;return p.colors[Math.abs(x)%p.colors.length]}function p(y){let x,v,E,S=null;function _(...A){if(!_.enabled)return;let L=_,j=Number(new Date);L.diff=j-(x||j),L.prev=x,L.curr=j,x=j,A[0]=p.coerce(A[0]),typeof A[0]!="string"&&A.unshift("%O");let F=0;A[0]=A[0].replace(/%([a-zA-Z%])/g,(k,U)=>{if(k==="%%")return"%";F++;let z=p.formatters[U];if(typeof z=="function"){let C=A[F];k=z.call(L,C),A.splice(F,1),F--}return k}),p.formatArgs.call(L,A),(L.log||p.log).apply(L,A)}return _.namespace=y,_.useColors=p.useColors(),_.color=p.selectColor(y),_.extend=i,_.destroy=p.destroy,Object.defineProperty(_,"enabled",{enumerable:!0,configurable:!1,get:()=>S!==null?S:(v!==p.namespaces&&(v=p.namespaces,E=p.enabled(y)),E),set:A=>{S=A}}),typeof p.init=="function"&&p.init(_),_}function i(y,x){let v=p(this.namespace+(x===void 0?":":x)+y);return v.log=this.log,v}function o(y){for(let x of(p.save(y),p.namespaces=y,p.names=[],p.skips=[],(typeof y=="string"?y:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))x[0]==="-"?p.skips.push(x.slice(1)):p.names.push(x)}function h(y,x){let v=0,E=0,S=-1,_=0;for(;v<y.length;)if(E<x.length&&(x[E]===y[v]||x[E]==="*"))x[E]==="*"?(S=E,_=v):v++,E++;else{if(S===-1)return!1;E=S+1,v=++_}for(;E<x.length&&x[E]==="*";)E++;return E===x.length}function d(){let y=[...p.names,...p.skips.map(x=>"-"+x)].join(",");return p.enable(""),y}function f(y){for(let x of p.skips)if(h(y,x))return!1;for(let x of p.names)if(h(y,x))return!0;return!1}function b(y){return y instanceof Error?y.stack||y.message:y}function m(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return p.debug=p,p.default=p,p.coerce=b,p.disable=d,p.enable=o,p.enabled=f,p.humanize=l("./node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js"),p.destroy=m,Object.keys(n).forEach(y=>{p[y]=n[y]}),p.names=[],p.skips=[],p.formatters={},p.selectColor=c,p.enable(p.load()),p}},"./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js":function(u,e,l){typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?u.exports=l("./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/browser.js"):u.exports=l("./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/node.js")},"./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/node.js":function(u,e,l){let n=l("tty"),c=l("util");e.init=b,e.log=h,e.formatArgs=i,e.save=d,e.load=f,e.useColors=p,e.destroy=c.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),e.colors=[6,2,3,4,5,1];try{let y=l("./node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js");y&&(y.stderr||y).level>=2&&(e.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{}function p(){return"colors"in e.inspectOpts?!!e.inspectOpts.colors:n.isatty(process.stderr.fd)}function i(y){let{namespace:x,useColors:v}=this;if(v){let E=this.color,S="\x1B[3"+(E<8?E:"8;5;"+E),_=` ${S};1m${x} \x1B[0m`;y[0]=_+y[0].split(`
|
|
`).join(`
|
|
`+_),y.push(S+"m+"+u.exports.humanize(this.diff)+"\x1B[0m")}else y[0]=o()+x+" "+y[0]}function o(){return e.inspectOpts.hideDate?"":new Date().toISOString()+" "}function h(...y){return process.stderr.write(c.formatWithOptions(e.inspectOpts,...y)+`
|
|
`)}function d(y){y?process.env.DEBUG=y:delete process.env.DEBUG}function f(){return process.env.DEBUG}function b(y){y.inspectOpts={};let x=Object.keys(e.inspectOpts);for(let v=0;v<x.length;v++)y.inspectOpts[x[v]]=e.inspectOpts[x[v]]}e.inspectOpts=Object.keys(process.env).filter(y=>/^debug_/i.test(y)).reduce((y,x)=>{let v=x.substring(6).toLowerCase().replace(/_([a-z])/g,(S,_)=>_.toUpperCase()),E=process.env[x];return E=!!/^(yes|on|true|enabled)$/i.test(E)||!/^(no|off|false|disabled)$/i.test(E)&&(E==="null"?null:Number(E)),y[v]=E,y},{}),u.exports=l("./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/common.js")(e);let{formatters:m}=u.exports;m.o=function(y){return this.inspectOpts.colors=this.useColors,c.inspect(y,this.inspectOpts).split(`
|
|
`).map(x=>x.trim()).join(" ")},m.O=function(y){return this.inspectOpts.colors=this.useColors,c.inspect(y,this.inspectOpts)}},"./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js":function(u){"use strict";let e=Symbol.for("gensync:v1:start"),l=Symbol.for("gensync:v1:suspend"),n="GENSYNC_OPTIONS_ERROR",c="GENSYNC_RACE_NONEMPTY";function p(S){return{sync:function(..._){return b(S.apply(this,_))},async:function(..._){return new Promise((A,L)=>{m(S.apply(this,_),A,L)})},errback:function(..._){let A,L=_.pop();if(typeof L!="function")throw o("Asynchronous function called without callback","GENSYNC_ERRBACK_NO_CALLBACK");try{A=S.apply(this,_)}catch(j){L(j);return}m(A,j=>L(void 0,j),j=>L(j))}}}function i(S,_,A,L){if(typeof A!==S&&(!L||A!==void 0))throw o(L?`Expected opts.${_} to be either a ${S}, or undefined.`:`Expected opts.${_} to be a ${S}.`,n)}function o(S,_){return Object.assign(Error(S),{code:_})}function h({name:S,arity:_,sync:A,async:L,errback:j}){if(i("string","name",S,!0),i("number","arity",_,!0),i("function","sync",A),i("function","async",L,!0),i("function","errback",j,!0),L&&j)throw o("Expected one of either opts.async or opts.errback, but got _both_.",n);if(typeof S!="string"){let F;j&&j.name&&j.name!=="errback"&&(F=j.name),L&&L.name&&L.name!=="async"&&(F=L.name.replace(/Async$/,"")),A&&A.name&&A.name!=="sync"&&(F=A.name.replace(/Sync$/,"")),typeof F=="string"&&(S=F)}return typeof _!="number"&&(_=A.length),f({name:S,arity:_,sync:function(F){return A.apply(this,F)},async:function(F,k,U){L?L.apply(this,F).then(k,U):j?j.call(this,...F,(z,C)=>{z==null?k(C):U(z)}):k(A.apply(this,F))}})}function d(S){return E(S.name,S.length,function(..._){return S.apply(this,_)})}function f({name:S,arity:_,sync:A,async:L}){return E(S,_,function*(...j){let F,k=yield e;if(!k)return A.call(this,j);try{L.call(this,j,U=>{F||(F={value:U},k())},U=>{F||(F={err:U},k())})}catch(U){F={err:U},k()}if(yield l,F.hasOwnProperty("err"))throw F.err;return F.value})}function b(S){let _;for(;!({value:_}=S.next()).done;)y(_,S);return _}function m(S,_,A){(function L(){try{let j;for(;!({value:j}=S.next()).done;){y(j,S);let F=!0,k=!1,U=S.next(()=>{F?k=!0:L()});if(F=!1,x(U,S),!k)return}return _(j)}catch(j){return A(j)}})()}function y(S,_){S!==e&&v(_,o(`Got unexpected yielded value in gensync generator: ${JSON.stringify(S)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,"GENSYNC_EXPECTED_START"))}function x({value:S,done:_},A){(_||S!==l)&&v(A,o(_?"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.`,"GENSYNC_EXPECTED_SUSPEND"))}function v(S,_){throw S.throw&&S.throw(_),_}function E(S,_,A){if(typeof S=="string"){let L=Object.getOwnPropertyDescriptor(A,"name");(!L||L.configurable)&&Object.defineProperty(A,"name",Object.assign(L||{},{configurable:!0,value:S}))}if(typeof _=="number"){let L=Object.getOwnPropertyDescriptor(A,"length");(!L||L.configurable)&&Object.defineProperty(A,"length",Object.assign(L||{},{configurable:!0,value:_}))}return A}u.exports=Object.assign(function(S){let _=S;return Object.assign(_=typeof S!="function"?h(S):d(S),p(_))},{all:f({name:"all",arity:1,sync:function(S){return Array.from(S[0]).map(_=>b(_))},async:function(S,_,A){let L=Array.from(S[0]);if(L.length===0)return void Promise.resolve().then(()=>_([]));let j=0,F=L.map(()=>{});L.forEach((k,U)=>{m(k,z=>{F[U]=z,(j+=1)===F.length&&_(F)},A)})}}),race:f({name:"race",arity:1,sync:function(S){let _=Array.from(S[0]);if(_.length===0)throw o("Must race at least 1 item",c);return b(_[0])},async:function(S,_,A){let L=Array.from(S[0]);if(L.length===0)throw o("Must race at least 1 item",c);for(let j of L)m(j,_,A)}})})},"./node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js":function(u){"use strict";u.exports=(e,l=process.argv)=>{let n=e.startsWith("-")?"":e.length===1?"-":"--",c=l.indexOf(n+e),p=l.indexOf("--");return c!==-1&&(p===-1||c<p)}},"./node_modules/.pnpm/jsesc@3.1.0/node_modules/jsesc/jsesc.js":function(u){"use strict";let e={},l=e.hasOwnProperty,n=(v,E)=>{for(let S in v)l.call(v,S)&&E(S,v[S])},c=v=>"\\u"+("0000"+v).slice(-4),p=(v,E)=>{let S=v.toString(16);return E?S:S.toUpperCase()},i=e.toString,o=Array.isArray,h={"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},d=/[\\\b\f\n\r\t]/,f=/[0-9]/,b=/[\xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,m=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^]/g,y=/([\uD800-\uDBFF][\uDC00-\uDFFF])|([\uD800-\uDFFF])|(['"`])|[^ !#-&\(-\[\]-_a-~]/g,x=(v,E)=>{let S,_,A=()=>{C=z,++E.indentLevel,z=E.indent.repeat(E.indentLevel)},L={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},j=E&&E.json;j&&(L.quotes="double",L.wrap=!0),(!(Z=E)||n(Z,(oe,be)=>{L[oe]=be}),E=L).quotes!="single"&&E.quotes!="double"&&E.quotes!="backtick"&&(E.quotes="single");let F=E.quotes=="double"?'"':E.quotes=="backtick"?"`":"'",k=E.compact,U=E.lowercaseHex,z=E.indent.repeat(E.indentLevel),C="",R=E.__inline1__,G=E.__inline2__,V=k?"":`
|
|
`,B=!0,q=E.numbers=="binary",K=E.numbers=="octal",$=E.numbers=="decimal",W=E.numbers=="hexadecimal";if(j&&v&&typeof v.toJSON=="function"&&(v=v.toJSON()),typeof(_=v)!="string"&&i.call(_)!="[object String]"){let oe,be,Ne,Pe;if(oe=v,i.call(oe)=="[object Map]")return v.size==0?"new Map()":(k||(E.__inline1__=!0,E.__inline2__=!1),"new Map("+x(Array.from(v),E)+")");if(be=v,i.call(be)=="[object Set]")return v.size==0?"new Set()":"new Set("+x(Array.from(v),E)+")";if(Ne=v,typeof Buffer=="function"&&Buffer.isBuffer(Ne))return v.length==0?"Buffer.from([])":"Buffer.from("+x(Array.from(v),E)+")";if(o(v)){S=[],E.wrap=!0,R&&(E.__inline1__=!1,E.__inline2__=!0),G||A();var Z,Q=v,X=Oe=>{B=!1,G&&(E.__inline2__=!1),S.push((k||G?"":z)+x(Oe,E))};let Ke=Q.length,We=-1;for(;++We<Ke;)X(Q[We]);return B?"[]":G?"["+S.join(", ")+"]":"["+V+S.join(","+V)+V+(k?"":C)+"]"}if(typeof(Pe=v)=="number"||i.call(Pe)=="[object Number]"||typeof v=="bigint"){let Ke;if(j)return JSON.stringify(Number(v));if($)Ke=String(v);else if(W){let We=v.toString(16);U||(We=We.toUpperCase()),Ke="0x"+We}else q?Ke="0b"+v.toString(2):K&&(Ke="0o"+v.toString(8));return typeof v=="bigint"?Ke+"n":Ke}{let Ke;return typeof v=="bigint"?j?JSON.stringify(Number(v)):v+"n":(Ke=v,i.call(Ke)=="[object Object]"?(S=[],E.wrap=!0,A(),n(v,(We,Oe)=>{B=!1,S.push((k?"":z)+x(We,E)+":"+(k?"":" ")+x(Oe,E))}),B?"{}":"{"+V+S.join(","+V)+V+(k?"":C)+"}"):j?JSON.stringify(v)||"null":String(v))}}let ie=E.escapeEverything?m:y;return S=v.replace(ie,(oe,be,Ne,Pe,Ke,We)=>{if(be){if(E.minimal)return be;let de=be.charCodeAt(0),xe=be.charCodeAt(1);return E.es6?"\\u{"+p((de-55296)*1024+xe-56320+65536,U)+"}":c(p(de,U))+c(p(xe,U))}if(Ne)return c(p(Ne.charCodeAt(0),U));if(oe=="\0"&&!j&&!f.test(We.charAt(Ke+1)))return"\\0";if(Pe)return Pe==F||E.escapeEverything?"\\"+Pe:Pe;if(d.test(oe))return h[oe];if(E.minimal&&!b.test(oe))return oe;let Oe=p(oe.charCodeAt(0),U);return j||Oe.length>2?c(Oe):"\\x"+("00"+Oe).slice(-2)}),F=="`"&&(S=S.replace(/\$\{/g,"\\${")),E.isScriptContext&&(S=S.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,j?"\\u003C!--":"\\x3C!--")),E.wrap&&(S=F+S+F),S};x.version="3.0.2",u.exports=x},"./node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist lazy recursive":function(u){function e(l){return Promise.resolve().then(function(){var n=Error("Cannot find module '"+l+"'");throw n.code="MODULE_NOT_FOUND",n})}e.keys=()=>[],e.resolve=e,e.id="./node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist lazy recursive",u.exports=e},"./node_modules/.pnpm/ms@2.1.3/node_modules/ms/index.js":function(u){function e(p){if(!((p=String(p)).length>100)){var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(p);if(i){var o=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*o;case"weeks":case"week":case"w":return 6048e5*o;case"days":case"day":case"d":return 864e5*o;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*o;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*o;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*o;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return o;default:return}}}}function l(p){var i=Math.abs(p);return i>=864e5?Math.round(p/864e5)+"d":i>=36e5?Math.round(p/36e5)+"h":i>=6e4?Math.round(p/6e4)+"m":i>=1e3?Math.round(p/1e3)+"s":p+"ms"}function n(p){var i=Math.abs(p);return i>=864e5?c(p,i,864e5,"day"):i>=36e5?c(p,i,36e5,"hour"):i>=6e4?c(p,i,6e4,"minute"):i>=1e3?c(p,i,1e3,"second"):p+" ms"}function c(p,i,o,h){return Math.round(p/o)+" "+h+(i>=1.5*o?"s":"")}u.exports=function(p,i){i=i||{};var o=typeof p;if(o==="string"&&p.length>0)return e(p);if(o==="number"&&isFinite(p))return i.long?n(p):l(p);throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(p))}},"./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js":function(u,e){e=u.exports=S,l=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?function(){var ee=Array.prototype.slice.call(arguments,0);ee.unshift("SEMVER"),console.log.apply(console,ee)}:function(){},e.SEMVER_SPEC_VERSION="2.0.0";var l,n=Number.MAX_SAFE_INTEGER||9007199254740991,c=e.re=[],p=e.safeRe=[],i=e.src=[],o=e.tokens={},h=0;function d(ee){o[ee]=h++}var f="[a-zA-Z0-9-]",b=[["\\s",1],["\\d",256],[f,250]];function m(ee){for(var le=0;le<b.length;le++){var Se=b[le][0],Ee=b[le][1];ee=ee.split(Se+"*").join(Se+"{0,"+Ee+"}").split(Se+"+").join(Se+"{1,"+Ee+"}")}return ee}d("NUMERICIDENTIFIER"),i[o.NUMERICIDENTIFIER]="0|[1-9]\\d*",d("NUMERICIDENTIFIERLOOSE"),i[o.NUMERICIDENTIFIERLOOSE]="\\d+",d("NONNUMERICIDENTIFIER"),i[o.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-]"+f+"*",d("MAINVERSION"),i[o.MAINVERSION]="("+i[o.NUMERICIDENTIFIER]+")\\.("+i[o.NUMERICIDENTIFIER]+")\\.("+i[o.NUMERICIDENTIFIER]+")",d("MAINVERSIONLOOSE"),i[o.MAINVERSIONLOOSE]="("+i[o.NUMERICIDENTIFIERLOOSE]+")\\.("+i[o.NUMERICIDENTIFIERLOOSE]+")\\.("+i[o.NUMERICIDENTIFIERLOOSE]+")",d("PRERELEASEIDENTIFIER"),i[o.PRERELEASEIDENTIFIER]="(?:"+i[o.NUMERICIDENTIFIER]+"|"+i[o.NONNUMERICIDENTIFIER]+")",d("PRERELEASEIDENTIFIERLOOSE"),i[o.PRERELEASEIDENTIFIERLOOSE]="(?:"+i[o.NUMERICIDENTIFIERLOOSE]+"|"+i[o.NONNUMERICIDENTIFIER]+")",d("PRERELEASE"),i[o.PRERELEASE]="(?:-("+i[o.PRERELEASEIDENTIFIER]+"(?:\\."+i[o.PRERELEASEIDENTIFIER]+")*))",d("PRERELEASELOOSE"),i[o.PRERELEASELOOSE]="(?:-?("+i[o.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+i[o.PRERELEASEIDENTIFIERLOOSE]+")*))",d("BUILDIDENTIFIER"),i[o.BUILDIDENTIFIER]=f+"+",d("BUILD"),i[o.BUILD]="(?:\\+("+i[o.BUILDIDENTIFIER]+"(?:\\."+i[o.BUILDIDENTIFIER]+")*))",d("FULL"),d("FULLPLAIN"),i[o.FULLPLAIN]="v?"+i[o.MAINVERSION]+i[o.PRERELEASE]+"?"+i[o.BUILD]+"?",i[o.FULL]="^"+i[o.FULLPLAIN]+"$",d("LOOSEPLAIN"),i[o.LOOSEPLAIN]="[v=\\s]*"+i[o.MAINVERSIONLOOSE]+i[o.PRERELEASELOOSE]+"?"+i[o.BUILD]+"?",d("LOOSE"),i[o.LOOSE]="^"+i[o.LOOSEPLAIN]+"$",d("GTLT"),i[o.GTLT]="((?:<|>)?=?)",d("XRANGEIDENTIFIERLOOSE"),i[o.XRANGEIDENTIFIERLOOSE]=i[o.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",d("XRANGEIDENTIFIER"),i[o.XRANGEIDENTIFIER]=i[o.NUMERICIDENTIFIER]+"|x|X|\\*",d("XRANGEPLAIN"),i[o.XRANGEPLAIN]="[v=\\s]*("+i[o.XRANGEIDENTIFIER]+")(?:\\.("+i[o.XRANGEIDENTIFIER]+")(?:\\.("+i[o.XRANGEIDENTIFIER]+")(?:"+i[o.PRERELEASE]+")?"+i[o.BUILD]+"?)?)?",d("XRANGEPLAINLOOSE"),i[o.XRANGEPLAINLOOSE]="[v=\\s]*("+i[o.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+i[o.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+i[o.XRANGEIDENTIFIERLOOSE]+")(?:"+i[o.PRERELEASELOOSE]+")?"+i[o.BUILD]+"?)?)?",d("XRANGE"),i[o.XRANGE]="^"+i[o.GTLT]+"\\s*"+i[o.XRANGEPLAIN]+"$",d("XRANGELOOSE"),i[o.XRANGELOOSE]="^"+i[o.GTLT]+"\\s*"+i[o.XRANGEPLAINLOOSE]+"$",d("COERCE"),i[o.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",d("COERCERTL"),c[o.COERCERTL]=RegExp(i[o.COERCE],"g"),p[o.COERCERTL]=RegExp(m(i[o.COERCE]),"g"),d("LONETILDE"),i[o.LONETILDE]="(?:~>?)",d("TILDETRIM"),i[o.TILDETRIM]="(\\s*)"+i[o.LONETILDE]+"\\s+",c[o.TILDETRIM]=RegExp(i[o.TILDETRIM],"g"),p[o.TILDETRIM]=RegExp(m(i[o.TILDETRIM]),"g"),d("TILDE"),i[o.TILDE]="^"+i[o.LONETILDE]+i[o.XRANGEPLAIN]+"$",d("TILDELOOSE"),i[o.TILDELOOSE]="^"+i[o.LONETILDE]+i[o.XRANGEPLAINLOOSE]+"$",d("LONECARET"),i[o.LONECARET]="(?:\\^)",d("CARETTRIM"),i[o.CARETTRIM]="(\\s*)"+i[o.LONECARET]+"\\s+",c[o.CARETTRIM]=RegExp(i[o.CARETTRIM],"g"),p[o.CARETTRIM]=RegExp(m(i[o.CARETTRIM]),"g"),d("CARET"),i[o.CARET]="^"+i[o.LONECARET]+i[o.XRANGEPLAIN]+"$",d("CARETLOOSE"),i[o.CARETLOOSE]="^"+i[o.LONECARET]+i[o.XRANGEPLAINLOOSE]+"$",d("COMPARATORLOOSE"),i[o.COMPARATORLOOSE]="^"+i[o.GTLT]+"\\s*("+i[o.LOOSEPLAIN]+")$|^$",d("COMPARATOR"),i[o.COMPARATOR]="^"+i[o.GTLT]+"\\s*("+i[o.FULLPLAIN]+")$|^$",d("COMPARATORTRIM"),i[o.COMPARATORTRIM]="(\\s*)"+i[o.GTLT]+"\\s*("+i[o.LOOSEPLAIN]+"|"+i[o.XRANGEPLAIN]+")",c[o.COMPARATORTRIM]=RegExp(i[o.COMPARATORTRIM],"g"),p[o.COMPARATORTRIM]=RegExp(m(i[o.COMPARATORTRIM]),"g"),d("HYPHENRANGE"),i[o.HYPHENRANGE]="^\\s*("+i[o.XRANGEPLAIN]+")\\s+-\\s+("+i[o.XRANGEPLAIN]+")\\s*$",d("HYPHENRANGELOOSE"),i[o.HYPHENRANGELOOSE]="^\\s*("+i[o.XRANGEPLAINLOOSE]+")\\s+-\\s+("+i[o.XRANGEPLAINLOOSE]+")\\s*$",d("STAR"),i[o.STAR]="(<|>)?=?\\s*\\*";for(var y=0;y<h;y++)l(y,i[y]),c[y]||(c[y]=new RegExp(i[y]),p[y]=new RegExp(m(i[y])));function x(ee,le){if(le&&typeof le=="object"||(le={loose:!!le,includePrerelease:!1}),ee instanceof S)return ee;if(typeof ee!="string"||ee.length>256||!(le.loose?p[o.LOOSE]:p[o.FULL]).test(ee))return null;try{return new S(ee,le)}catch{return null}}function v(ee,le){var Se=x(ee,le);return Se?Se.version:null}function E(ee,le){var Se=x(ee.trim().replace(/^[=v]+/,""),le);return Se?Se.version:null}function S(ee,le){if(le&&typeof le=="object"||(le={loose:!!le,includePrerelease:!1}),ee instanceof S){if(ee.loose===le.loose)return ee;ee=ee.version}else if(typeof ee!="string")throw TypeError("Invalid Version: "+ee);if(ee.length>256)throw TypeError("version is longer than 256 characters");if(!(this instanceof S))return new S(ee,le);l("SemVer",ee,le),this.options=le,this.loose=!!le.loose;var Se=ee.trim().match(le.loose?p[o.LOOSE]:p[o.FULL]);if(!Se)throw TypeError("Invalid Version: "+ee);if(this.raw=ee,this.major=+Se[1],this.minor=+Se[2],this.patch=+Se[3],this.major>n||this.major<0)throw TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw TypeError("Invalid patch version");Se[4]?this.prerelease=Se[4].split(".").map(function(Ee){if(/^[0-9]+$/.test(Ee)){var Be=+Ee;if(Be>=0&&Be<n)return Be}return Ee}):this.prerelease=[],this.build=Se[5]?Se[5].split("."):[],this.format()}function _(ee,le,Se,Ee){typeof Se=="string"&&(Ee=Se,Se=void 0);try{return new S(ee,Se).inc(le,Ee).version}catch{return null}}function A(ee,le){if(W(ee,le))return null;var Se=x(ee),Ee=x(le),Be="";if(Se.prerelease.length||Ee.prerelease.length){Be="pre";var Qe="prerelease"}for(var ce in Se)if((ce==="major"||ce==="minor"||ce==="patch")&&Se[ce]!==Ee[ce])return Be+ce;return Qe}e.parse=x,e.valid=v,e.clean=E,e.SemVer=S,S.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},S.prototype.toString=function(){return this.version},S.prototype.compare=function(ee){return l("SemVer.compare",this.version,this.options,ee),ee instanceof S||(ee=new S(ee,this.options)),this.compareMain(ee)||this.comparePre(ee)},S.prototype.compareMain=function(ee){return ee instanceof S||(ee=new S(ee,this.options)),j(this.major,ee.major)||j(this.minor,ee.minor)||j(this.patch,ee.patch)},S.prototype.comparePre=function(ee){if(ee instanceof S||(ee=new S(ee,this.options)),this.prerelease.length&&!ee.prerelease.length)return-1;if(!this.prerelease.length&&ee.prerelease.length)return 1;if(!this.prerelease.length&&!ee.prerelease.length)return 0;var le=0;do{var Se=this.prerelease[le],Ee=ee.prerelease[le];if(l("prerelease compare",le,Se,Ee),Se===void 0&&Ee===void 0)return 0;if(Ee===void 0)return 1;if(Se===void 0)return-1;if(Se===Ee)continue;return j(Se,Ee)}while(++le)},S.prototype.compareBuild=function(ee){ee instanceof S||(ee=new S(ee,this.options));var le=0;do{var Se=this.build[le],Ee=ee.build[le];if(l("prerelease compare",le,Se,Ee),Se===void 0&&Ee===void 0)return 0;if(Ee===void 0)return 1;if(Se===void 0)return-1;if(Se===Ee)continue;return j(Se,Ee)}while(++le)},S.prototype.inc=function(ee,le){switch(ee){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",le);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",le);break;case"prepatch":this.prerelease.length=0,this.inc("patch",le),this.inc("pre",le);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",le),this.inc("pre",le);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 Se=this.prerelease.length;--Se>=0;)typeof this.prerelease[Se]=="number"&&(this.prerelease[Se]++,Se=-2);Se===-1&&this.prerelease.push(0)}le&&(this.prerelease[0]===le?isNaN(this.prerelease[1])&&(this.prerelease=[le,0]):this.prerelease=[le,0]);break;default:throw Error("invalid increment argument: "+ee)}return this.format(),this.raw=this.version,this},e.inc=_,e.diff=A,e.compareIdentifiers=j;var L=/^[0-9]+$/;function j(ee,le){var Se=L.test(ee),Ee=L.test(le);return Se&&Ee&&(ee*=1,le*=1),ee===le?0:Se&&!Ee?-1:Ee&&!Se?1:ee<le?-1:1}function F(ee,le){return j(le,ee)}function k(ee,le){return new S(ee,le).major}function U(ee,le){return new S(ee,le).minor}function z(ee,le){return new S(ee,le).patch}function C(ee,le,Se){return new S(ee,Se).compare(new S(le,Se))}function R(ee,le){return C(ee,le,!0)}function G(ee,le,Se){var Ee=new S(ee,Se),Be=new S(le,Se);return Ee.compare(Be)||Ee.compareBuild(Be)}function V(ee,le,Se){return C(le,ee,Se)}function B(ee,le){return ee.sort(function(Se,Ee){return e.compareBuild(Se,Ee,le)})}function q(ee,le){return ee.sort(function(Se,Ee){return e.compareBuild(Ee,Se,le)})}function K(ee,le,Se){return C(ee,le,Se)>0}function $(ee,le,Se){return 0>C(ee,le,Se)}function W(ee,le,Se){return C(ee,le,Se)===0}function Z(ee,le,Se){return C(ee,le,Se)!==0}function Q(ee,le,Se){return C(ee,le,Se)>=0}function X(ee,le,Se){return 0>=C(ee,le,Se)}function ie(ee,le,Se,Ee){switch(le){case"===":return typeof ee=="object"&&(ee=ee.version),typeof Se=="object"&&(Se=Se.version),ee===Se;case"!==":return typeof ee=="object"&&(ee=ee.version),typeof Se=="object"&&(Se=Se.version),ee!==Se;case"":case"=":case"==":return W(ee,Se,Ee);case"!=":return Z(ee,Se,Ee);case">":return K(ee,Se,Ee);case">=":return Q(ee,Se,Ee);case"<":return $(ee,Se,Ee);case"<=":return X(ee,Se,Ee);default:throw TypeError("Invalid operator: "+le)}}function oe(ee,le){if(le&&typeof le=="object"||(le={loose:!!le,includePrerelease:!1}),ee instanceof oe){if(!!le.loose===ee.loose)return ee;ee=ee.value}if(!(this instanceof oe))return new oe(ee,le);l("comparator",ee=ee.trim().split(/\s+/).join(" "),le),this.options=le,this.loose=!!le.loose,this.parse(ee),this.semver===be?this.value="":this.value=this.operator+this.semver.version,l("comp",this)}e.rcompareIdentifiers=F,e.major=k,e.minor=U,e.patch=z,e.compare=C,e.compareLoose=R,e.compareBuild=G,e.rcompare=V,e.sort=B,e.rsort=q,e.gt=K,e.lt=$,e.eq=W,e.neq=Z,e.gte=Q,e.lte=X,e.cmp=ie,e.Comparator=oe;var be={};function Ne(ee,le){if(le&&typeof le=="object"||(le={loose:!!le,includePrerelease:!1}),ee instanceof Ne)return!!le.loose===ee.loose&&!!le.includePrerelease===ee.includePrerelease?ee:new Ne(ee.raw,le);if(ee instanceof oe)return new Ne(ee.value,le);if(!(this instanceof Ne))return new Ne(ee,le);if(this.options=le,this.loose=!!le.loose,this.includePrerelease=!!le.includePrerelease,this.raw=ee.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(function(Se){return this.parseRange(Se.trim())},this).filter(function(Se){return Se.length}),!this.set.length)throw TypeError("Invalid SemVer Range: "+this.raw);this.format()}function Pe(ee,le){for(var Se=!0,Ee=ee.slice(),Be=Ee.pop();Se&&Ee.length;)Se=Ee.every(function(Qe){return Be.intersects(Qe,le)}),Be=Ee.pop();return Se}function Ke(ee,le){return new Ne(ee,le).set.map(function(Se){return Se.map(function(Ee){return Ee.value}).join(" ").trim().split(" ")})}function We(ee,le){return l("comp",ee,le),l("caret",ee=ye(ee,le)),l("tildes",ee=de(ee,le)),l("xrange",ee=he(ee,le)),l("stars",ee=Ce(ee,le)),ee}function Oe(ee){return!ee||ee.toLowerCase()==="x"||ee==="*"}function de(ee,le){return ee.trim().split(/\s+/).map(function(Se){return xe(Se,le)}).join(" ")}function xe(ee,le){var Se=le.loose?p[o.TILDELOOSE]:p[o.TILDE];return ee.replace(Se,function(Ee,Be,Qe,ce,$e){var et;return l("tilde",ee,Ee,Be,Qe,ce,$e),Oe(Be)?et="":Oe(Qe)?et=">="+Be+".0.0 <"+(+Be+1)+".0.0":Oe(ce)?et=">="+Be+"."+Qe+".0 <"+Be+"."+(+Qe+1)+".0":$e?(l("replaceTilde pr",$e),et=">="+Be+"."+Qe+"."+ce+"-"+$e+" <"+Be+"."+(+Qe+1)+".0"):et=">="+Be+"."+Qe+"."+ce+" <"+Be+"."+(+Qe+1)+".0",l("tilde return",et),et})}function ye(ee,le){return ee.trim().split(/\s+/).map(function(Se){return ve(Se,le)}).join(" ")}function ve(ee,le){l("caret",ee,le);var Se=le.loose?p[o.CARETLOOSE]:p[o.CARET];return ee.replace(Se,function(Ee,Be,Qe,ce,$e){var et;return l("caret",ee,Ee,Be,Qe,ce,$e),Oe(Be)?et="":Oe(Qe)?et=">="+Be+".0.0 <"+(+Be+1)+".0.0":Oe(ce)?et=Be==="0"?">="+Be+"."+Qe+".0 <"+Be+"."+(+Qe+1)+".0":">="+Be+"."+Qe+".0 <"+(+Be+1)+".0.0":$e?(l("replaceCaret pr",$e),et=Be==="0"?Qe==="0"?">="+Be+"."+Qe+"."+ce+"-"+$e+" <"+Be+"."+Qe+"."+(+ce+1):">="+Be+"."+Qe+"."+ce+"-"+$e+" <"+Be+"."+(+Qe+1)+".0":">="+Be+"."+Qe+"."+ce+"-"+$e+" <"+(+Be+1)+".0.0"):(l("no pr"),et=Be==="0"?Qe==="0"?">="+Be+"."+Qe+"."+ce+" <"+Be+"."+Qe+"."+(+ce+1):">="+Be+"."+Qe+"."+ce+" <"+Be+"."+(+Qe+1)+".0":">="+Be+"."+Qe+"."+ce+" <"+(+Be+1)+".0.0"),l("caret return",et),et})}function he(ee,le){return l("replaceXRanges",ee,le),ee.split(/\s+/).map(function(Se){return Te(Se,le)}).join(" ")}function Te(ee,le){ee=ee.trim();var Se=le.loose?p[o.XRANGELOOSE]:p[o.XRANGE];return ee.replace(Se,function(Ee,Be,Qe,ce,$e,et){l("xRange",ee,Ee,Be,Qe,ce,$e,et);var ut=Oe(Qe),Je=ut||Oe(ce),Le=Je||Oe($e);return Be==="="&&Le&&(Be=""),et=le.includePrerelease?"-0":"",ut?Ee=Be===">"||Be==="<"?"<0.0.0-0":"*":Be&&Le?(Je&&(ce=0),$e=0,Be===">"?(Be=">=",Je?(Qe=+Qe+1,ce=0):ce=+ce+1,$e=0):Be==="<="&&(Be="<",Je?Qe=+Qe+1:ce=+ce+1),Ee=Be+Qe+"."+ce+"."+$e+et):Je?Ee=">="+Qe+".0.0"+et+" <"+(+Qe+1)+".0.0"+et:Le&&(Ee=">="+Qe+"."+ce+".0"+et+" <"+Qe+"."+(+ce+1)+".0"+et),l("xRange return",Ee),Ee})}function Ce(ee,le){return l("replaceStars",ee,le),ee.trim().replace(p[o.STAR],"")}function se(ee,le,Se,Ee,Be,Qe,ce,$e,et,ut,Je,Le,at){return((le=Oe(Se)?"":Oe(Ee)?">="+Se+".0.0":Oe(Be)?">="+Se+"."+Ee+".0":">="+le)+" "+($e=Oe(et)?"":Oe(ut)?"<"+(+et+1)+".0.0":Oe(Je)?"<"+et+"."+(+ut+1)+".0":Le?"<="+et+"."+ut+"."+Je+"-"+Le:"<="+$e)).trim()}function pe(ee,le,Se){for(var Ee=0;Ee<ee.length;Ee++)if(!ee[Ee].test(le))return!1;if(le.prerelease.length&&!Se.includePrerelease){for(Ee=0;Ee<ee.length;Ee++)if(l(ee[Ee].semver),ee[Ee].semver!==be&&ee[Ee].semver.prerelease.length>0){var Be=ee[Ee].semver;if(Be.major===le.major&&Be.minor===le.minor&&Be.patch===le.patch)return!0}return!1}return!0}function nt(ee,le,Se){try{le=new Ne(le,Se)}catch{return!1}return le.test(ee)}function ft(ee,le,Se){var Ee=null,Be=null;try{var Qe=new Ne(le,Se)}catch{return null}return ee.forEach(function(ce){Qe.test(ce)&&(!Ee||Be.compare(ce)===-1)&&(Be=new S(Ee=ce,Se))}),Ee}function _t(ee,le,Se){var Ee=null,Be=null;try{var Qe=new Ne(le,Se)}catch{return null}return ee.forEach(function(ce){Qe.test(ce)&&(!Ee||Be.compare(ce)===1)&&(Be=new S(Ee=ce,Se))}),Ee}function Pt(ee,le){ee=new Ne(ee,le);var Se=new S("0.0.0");if(ee.test(Se)||(Se=new S("0.0.0-0"),ee.test(Se)))return Se;Se=null;for(var Ee=0;Ee<ee.set.length;++Ee)ee.set[Ee].forEach(function(Be){var Qe=new S(Be.semver.version);switch(Be.operator){case">":Qe.prerelease.length===0?Qe.patch++:Qe.prerelease.push(0),Qe.raw=Qe.format();case"":case">=":(!Se||K(Se,Qe))&&(Se=Qe);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+Be.operator)}});return Se&&ee.test(Se)?Se:null}function ht(ee,le){try{return new Ne(ee,le).range||"*"}catch{return null}}function De(ee,le,Se){return Ze(ee,le,"<",Se)}function ze(ee,le,Se){return Ze(ee,le,">",Se)}function Ze(ee,le,Se,Ee){switch(ee=new S(ee,Ee),le=new Ne(le,Ee),Se){case">":Be=K,Qe=X,ce=$,$e=">",et=">=";break;case"<":Be=$,Qe=Q,ce=K,$e="<",et="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(nt(ee,le,Ee))return!1;for(var Be,Qe,ce,$e,et,ut=0;ut<le.set.length;++ut){var Je=le.set[ut],Le=null,at=null;if(Je.forEach(function(Et){Et.semver===be&&(Et=new oe(">=0.0.0")),Le=Le||Et,at=at||Et,Be(Et.semver,Le.semver,Ee)?Le=Et:ce(Et.semver,at.semver,Ee)&&(at=Et)}),Le.operator===$e||Le.operator===et||(!at.operator||at.operator===$e)&&Qe(ee,at.semver)||at.operator===et&&ce(ee,at.semver))return!1}return!0}function tt(ee,le){var Se=x(ee,le);return Se&&Se.prerelease.length?Se.prerelease:null}function ge(ee,le,Se){return ee=new Ne(ee,Se),le=new Ne(le,Se),ee.intersects(le)}function fe(ee,le){if(ee instanceof S)return ee;if(typeof ee=="number"&&(ee=String(ee)),typeof ee!="string")return null;var Se,Ee=null;if((le=le||{}).rtl){for(;(Se=p[o.COERCERTL].exec(ee))&&(!Ee||Ee.index+Ee[0].length!==ee.length);)Ee&&Se.index+Se[0].length===Ee.index+Ee[0].length||(Ee=Se),p[o.COERCERTL].lastIndex=Se.index+Se[1].length+Se[2].length;p[o.COERCERTL].lastIndex=-1}else Ee=ee.match(p[o.COERCE]);return Ee===null?null:x(Ee[2]+"."+(Ee[3]||"0")+"."+(Ee[4]||"0"),le)}oe.prototype.parse=function(ee){var le=this.options.loose?p[o.COMPARATORLOOSE]:p[o.COMPARATOR],Se=ee.match(le);if(!Se)throw TypeError("Invalid comparator: "+ee);this.operator=Se[1]!==void 0?Se[1]:"",this.operator==="="&&(this.operator=""),Se[2]?this.semver=new S(Se[2],this.options.loose):this.semver=be},oe.prototype.toString=function(){return this.value},oe.prototype.test=function(ee){if(l("Comparator.test",ee,this.options.loose),this.semver===be||ee===be)return!0;if(typeof ee=="string")try{ee=new S(ee,this.options)}catch{return!1}return ie(ee,this.operator,this.semver,this.options)},oe.prototype.intersects=function(ee,le){if(!(ee instanceof oe))throw TypeError("a Comparator is required");if(le&&typeof le=="object"||(le={loose:!!le,includePrerelease:!1}),this.operator==="")return this.value===""||(Se=new Ne(ee.value,le),nt(this.value,Se,le));if(ee.operator==="")return ee.value===""||(Se=new Ne(this.value,le),nt(ee.semver,Se,le));var Se,Ee=(this.operator===">="||this.operator===">")&&(ee.operator===">="||ee.operator===">"),Be=(this.operator==="<="||this.operator==="<")&&(ee.operator==="<="||ee.operator==="<"),Qe=this.semver.version===ee.semver.version,ce=(this.operator===">="||this.operator==="<=")&&(ee.operator===">="||ee.operator==="<="),$e=ie(this.semver,"<",ee.semver,le)&&(this.operator===">="||this.operator===">")&&(ee.operator==="<="||ee.operator==="<"),et=ie(this.semver,">",ee.semver,le)&&(this.operator==="<="||this.operator==="<")&&(ee.operator===">="||ee.operator===">");return Ee||Be||Qe&&ce||$e||et},e.Range=Ne,Ne.prototype.format=function(){return this.range=this.set.map(function(ee){return ee.join(" ").trim()}).join("||").trim(),this.range},Ne.prototype.toString=function(){return this.range},Ne.prototype.parseRange=function(ee){var le=this.options.loose,Se=le?p[o.HYPHENRANGELOOSE]:p[o.HYPHENRANGE];l("hyphen replace",ee=ee.replace(Se,se)),l("comparator trim",ee=ee.replace(p[o.COMPARATORTRIM],"$1$2$3"),p[o.COMPARATORTRIM]),ee=(ee=(ee=ee.replace(p[o.TILDETRIM],"$1~")).replace(p[o.CARETTRIM],"$1^")).split(/\s+/).join(" ");var Ee=le?p[o.COMPARATORLOOSE]:p[o.COMPARATOR],Be=ee.split(" ").map(function(Qe){return We(Qe,this.options)},this).join(" ").split(/\s+/);return this.options.loose&&(Be=Be.filter(function(Qe){return!!Qe.match(Ee)})),Be=Be.map(function(Qe){return new oe(Qe,this.options)},this)},Ne.prototype.intersects=function(ee,le){if(!(ee instanceof Ne))throw TypeError("a Range is required");return this.set.some(function(Se){return Pe(Se,le)&&ee.set.some(function(Ee){return Pe(Ee,le)&&Se.every(function(Be){return Ee.every(function(Qe){return Be.intersects(Qe,le)})})})})},e.toComparators=Ke,Ne.prototype.test=function(ee){if(!ee)return!1;if(typeof ee=="string")try{ee=new S(ee,this.options)}catch{return!1}for(var le=0;le<this.set.length;le++)if(pe(this.set[le],ee,this.options))return!0;return!1},e.satisfies=nt,e.maxSatisfying=ft,e.minSatisfying=_t,e.minVersion=Pt,e.validRange=ht,e.ltr=De,e.gtr=ze,e.outside=Ze,e.prerelease=tt,e.intersects=ge,e.coerce=fe},"./node_modules/.pnpm/supports-color@7.2.0/node_modules/supports-color/index.js":function(u,e,l){"use strict";let n,c=l("os"),p=l("tty"),i=l("./node_modules/.pnpm/has-flag@4.0.0/node_modules/has-flag/index.js"),{env:o}=process;function h(f){return f!==0&&{level:f,hasBasic:!0,has256:f>=2,has16m:f>=3}}function d(f,b){if(n===0)return 0;if(i("color=16m")||i("color=full")||i("color=truecolor"))return 3;if(i("color=256"))return 2;if(f&&!b&&n===void 0)return 0;let m=n||0;if(o.TERM==="dumb")return m;if(process.platform==="win32"){let y=c.release().split(".");return Number(y[0])>=10&&Number(y[2])>=10586?Number(y[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(y=>y in o)||o.CI_NAME==="codeship"?1:m;if("TEAMCITY_VERSION"in o)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION);if(o.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in o){let y=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return y>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:m}i("no-color")||i("no-colors")||i("color=false")||i("color=never")?n=0:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(n=1),"FORCE_COLOR"in o&&(n=o.FORCE_COLOR==="true"?1:o.FORCE_COLOR==="false"?0:o.FORCE_COLOR.length===0?1:Math.min(parseInt(o.FORCE_COLOR,10),3)),u.exports={supportsColor:function(f){return h(d(f,f&&f.isTTY))},stdout:h(d(!0,p.isatty(1))),stderr:h(d(!0,p.isatty(2)))}},assert:function(u){"use strict";u.exports=hr("assert")},fs:function(u){"use strict";u.exports=hr("fs")},module:function(u){"use strict";u.exports=hr("module")},os:function(u){"use strict";u.exports=hr("os")},path:function(u){"use strict";u.exports=hr("path")},process:function(u){"use strict";u.exports=hr("process")},tty:function(u){"use strict";u.exports=hr("tty")},url:function(u){"use strict";u.exports=hr("url")},util:function(u){"use strict";u.exports=hr("util")},v8:function(u){"use strict";u.exports=hr("v8")},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/caching.js":function(u,e,l){"use strict";function n(){let L=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return n=function(){return L},L}Object.defineProperty(e,"__esModule",{value:!0}),e.assertSimpleType=_,e.makeStrongCache=d,e.makeStrongCacheSync=f,e.makeWeakCache=o,e.makeWeakCacheSync=h;var c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/gensync-utils/async.js"),p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/util.js");function*i(){return!0}function o(L){return b(WeakMap,L)}function h(L){let j;return j=o(L),n()(j).sync}function d(L){return b(Map,L)}function f(L){let j;return j=d(L),n()(j).sync}function b(L,j){let F=new L,k=new L,U=new L;return function*(z,C){let R,G,V=yield*(0,c.isAsync)(),B=V?k:F,q=yield*y(V,B,U,z,C);if(q.valid)return q.value;let K=new E(C),$=j(z,K);return G=(0,p.isIterableIterator)($)?yield*(0,c.onFirstPause)($,()=>{R=x(K,U,z)}):$,v(B,K,z,G),R&&(U.delete(z),R.release(G)),G}}function*m(L,j,F){let k=L.get(j);if(k){for(let{value:U,valid:z}of k)if(yield*z(F))return{valid:!0,value:U}}return{valid:!1,value:null}}function*y(L,j,F,k,U){let z=yield*m(j,k,U);if(z.valid)return z;if(L){let C=yield*m(F,k,U);if(C.valid)return{valid:!0,value:yield*(0,c.waitFor)(C.value.promise)}}return{valid:!1,value:null}}function x(L,j,F){let k=new A;return v(j,L,F,k),k}function v(L,j,F,k){j.configured()||j.forever();let U=L.get(F);switch(j.deactivate(),j.mode()){case"forever":U=[{value:k,valid:i}],L.set(F,U);break;case"invalidate":U=[{value:k,valid:j.validator()}],L.set(F,U);break;case"valid":U?U.push({value:k,valid:j.validator()}):(U=[{value:k,valid:j.validator()}],L.set(F,U))}}let E=class{constructor(j){this._active=!0,this._never=!1,this._forever=!1,this._invalidate=!1,this._configured=!1,this._pairs=[],this._data=void 0,this._data=j}simple(){return S(this)}mode(){return this._never?"never":this._forever?"forever":this._invalidate?"invalidate":"valid"}forever(){if(!this._active)throw Error("Cannot change caching after evaluation has completed.");if(this._never)throw Error("Caching has already been configured with .never()");this._forever=!0,this._configured=!0}never(){if(!this._active)throw Error("Cannot change caching after evaluation has completed.");if(this._forever)throw Error("Caching has already been configured with .forever()");this._never=!0,this._configured=!0}using(j){if(!this._active)throw Error("Cannot change caching after evaluation has completed.");if(this._never||this._forever)throw Error("Caching has already been configured with .never or .forever()");this._configured=!0;let F=j(this._data),k=(0,c.maybeAsync)(j,"You appear to be using an async cache handler, but Babel has been called synchronously");return(0,c.isThenable)(F)?F.then(U=>(this._pairs.push([U,k]),U)):(this._pairs.push([F,k]),F)}invalidate(j){return this._invalidate=!0,this.using(j)}validator(){let j=this._pairs;return function*(F){for(let[k,U]of j)if(k!==(yield*U(F)))return!1;return!0}}deactivate(){this._active=!1}configured(){return this._configured}};function S(L){function j(F){return typeof F=="boolean"?void(F?L.forever():L.never()):L.using(()=>_(F()))}return j.forever=()=>L.forever(),j.never=()=>L.never(),j.using=F=>L.using(()=>_(F())),j.invalidate=F=>L.invalidate(()=>_(F())),j}function _(L){if((0,c.isThenable)(L))throw 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(L!=null&&typeof L!="string"&&typeof L!="boolean"&&typeof L!="number")throw Error("Cache keys must be either string, boolean, number, null, or undefined.");return L}let A=class{constructor(){this.released=!1,this.promise=void 0,this._resolve=void 0,this.promise=new Promise(j=>{this._resolve=j})}release(j){this.released=!0,this._resolve(j)}}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/config-chain.js":function(u,e,l){"use strict";function n(){let he=l("path");return n=function(){return he},he}function c(){let he=l("./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js");return c=function(){return he},he}Object.defineProperty(e,"__esModule",{value:!0}),e.buildPresetChain=x,e.buildPresetChainWalker=void 0,e.buildRootChain=L;var p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/validation/options.js"),i=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/pattern-to-regex.js"),o=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/printer.js"),h=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"),d=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/errors/config-error.js"),f=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files/index.js"),b=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/caching.js"),m=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/config-descriptors.js");let y=c()("babel:config:config-chain");function*x(he,Te){let Ce=yield*v(he,Te);return Ce?{plugins:Ke(Ce.plugins),presets:Ke(Ce.presets),options:Ce.options.map(se=>Pe(se)),files:new Set}:null}let v=e.buildPresetChainWalker=X({root:he=>E(he),env:(he,Te)=>S(he)(Te),overrides:(he,Te)=>_(he)(Te),overridesEnv:(he,Te,Ce)=>A(he)(Te)(Ce),createLogger:()=>()=>{}}),E=(0,b.makeWeakCacheSync)(he=>(function({dirname:Te,options:Ce},se,pe){return pe(Te,Ce,se)})(he,he.alias,m.createUncachedDescriptors)),S=(0,b.makeWeakCacheSync)(he=>(0,b.makeStrongCacheSync)(Te=>W(he,he.alias,m.createUncachedDescriptors,Te))),_=(0,b.makeWeakCacheSync)(he=>(0,b.makeStrongCacheSync)(Te=>Z(he,he.alias,m.createUncachedDescriptors,Te))),A=(0,b.makeWeakCacheSync)(he=>(0,b.makeStrongCacheSync)(Te=>(0,b.makeStrongCacheSync)(Ce=>Q(he,he.alias,m.createUncachedDescriptors,Te,Ce))));function*L(he,Te){let Ce,se,pe,nt,ft,_t=new o.ConfigPrinter,Pt=yield*z({options:he,dirname:Te.cwd},Te,void 0,_t);if(!Pt)return null;let ht=yield*_t.output();typeof he.configFile=="string"?pe=yield*(0,f.loadConfig)(he.configFile,Te.cwd,Te.envName,Te.caller):he.configFile!==!1&&(pe=yield*(0,f.findRootConfig)(Te.root,Te.envName,Te.caller));let{babelrc:De,babelrcRoots:ze}=he,Ze=Te.cwd,tt=Ne(),ge=new o.ConfigPrinter;if(pe){let Se=F(pe),Ee=yield*R(Se,Te,void 0,ge);if(!Ee)return null;Ce=yield*ge.output(),De===void 0&&(De=Se.options.babelrc),ze===void 0&&(Ze=Se.dirname,ze=Se.options.babelrcRoots),oe(tt,Ee)}let fe=!1,ee=Ne();if((De===!0||De===void 0)&&typeof Te.filename=="string"){let Se=yield*(0,f.findPackageData)(Te.filename);if(Se&&j(Te,Se,ze,Ze)){if({ignore:nt,config:ft}=yield*(0,f.findRelativeConfig)(Se,Te.envName,Te.caller),nt&&ee.files.add(nt.filepath),nt&&xe(Te,nt.ignore,null,nt.dirname)&&(fe=!0),ft&&!fe){let Ee=k(ft),Be=new o.ConfigPrinter,Qe=yield*R(Ee,Te,void 0,Be);Qe?(se=yield*Be.output(),oe(ee,Qe)):fe=!0}ft&&fe&&ee.files.add(ft.filepath)}}Te.showConfig&&console.log(`Babel configs on "${Te.filename}" (ascending priority):
|
|
`+[Ce,se,ht].filter(Se=>!!Se).join(`
|
|
|
|
`)+`
|
|
-----End Babel configs-----`);let le=oe(oe(oe(Ne(),tt),ee),Pt);return{plugins:fe?[]:Ke(le.plugins),presets:fe?[]:Ke(le.presets),options:fe?[]:le.options.map(Se=>Pe(Se)),fileHandling:fe?"ignored":"transpile",ignore:nt||void 0,babelrc:ft||void 0,config:pe||void 0,files:le.files}}function j(he,Te,Ce,se){if(typeof Ce=="boolean")return Ce;let pe=he.root;if(Ce===void 0)return Te.directories.includes(pe);let nt=Ce;return Array.isArray(nt)||(nt=[nt]),(nt=nt.map(ft=>typeof ft=="string"?n().resolve(se,ft):ft)).length===1&&nt[0]===pe?Te.directories.includes(pe):nt.some(ft=>(typeof ft=="string"&&(ft=(0,i.default)(ft,se)),Te.directories.some(_t=>ve(ft,se,_t,he))))}let F=(0,b.makeWeakCacheSync)(he=>({filepath:he.filepath,dirname:he.dirname,options:(0,p.validate)("configfile",he.options,he.filepath)})),k=(0,b.makeWeakCacheSync)(he=>({filepath:he.filepath,dirname:he.dirname,options:(0,p.validate)("babelrcfile",he.options,he.filepath)})),U=(0,b.makeWeakCacheSync)(he=>({filepath:he.filepath,dirname:he.dirname,options:(0,p.validate)("extendsfile",he.options,he.filepath)})),z=X({root:he=>(function({dirname:Te,options:Ce},se,pe){return pe(Te,Ce,se)})(he,"base",m.createCachedDescriptors),env:(he,Te)=>W(he,"base",m.createCachedDescriptors,Te),overrides:(he,Te)=>Z(he,"base",m.createCachedDescriptors,Te),overridesEnv:(he,Te,Ce)=>Q(he,"base",m.createCachedDescriptors,Te,Ce),createLogger:(he,Te,Ce)=>$(he,Te,Ce)}),C=X({root:he=>G(he),env:(he,Te)=>V(he)(Te),overrides:(he,Te)=>B(he)(Te),overridesEnv:(he,Te,Ce)=>q(he)(Te)(Ce),createLogger:(he,Te,Ce)=>K(he.filepath,Te,Ce)});function*R(he,Te,Ce,se){let pe=yield*C(he,Te,Ce,se);return pe==null||pe.files.add(he.filepath),pe}let G=(0,b.makeWeakCacheSync)(he=>(function({dirname:Te,options:Ce},se,pe){return pe(Te,Ce,se)})(he,he.filepath,m.createUncachedDescriptors)),V=(0,b.makeWeakCacheSync)(he=>(0,b.makeStrongCacheSync)(Te=>W(he,he.filepath,m.createUncachedDescriptors,Te))),B=(0,b.makeWeakCacheSync)(he=>(0,b.makeStrongCacheSync)(Te=>Z(he,he.filepath,m.createUncachedDescriptors,Te))),q=(0,b.makeWeakCacheSync)(he=>(0,b.makeStrongCacheSync)(Te=>(0,b.makeStrongCacheSync)(Ce=>Q(he,he.filepath,m.createUncachedDescriptors,Te,Ce))));function K(he,Te,Ce){return Ce?Ce.configure(Te.showConfig,o.ChainFormatter.Config,{filepath:he}):()=>{}}function $(he,Te,Ce){var se;return Ce?Ce.configure(Te.showConfig,o.ChainFormatter.Programmatic,{callerName:(se=Te.caller)==null?void 0:se.name}):()=>{}}function W({dirname:he,options:Te},Ce,se,pe){var nt;let ft=(nt=Te.env)==null?void 0:nt[pe];return ft?se(he,ft,`${Ce}.env["${pe}"]`):null}function Z({dirname:he,options:Te},Ce,se,pe){var nt;let ft=(nt=Te.overrides)==null?void 0:nt[pe];if(!ft)throw Error("Assertion failure - missing override");return se(he,ft,`${Ce}.overrides[${pe}]`)}function Q({dirname:he,options:Te},Ce,se,pe,nt){var ft,_t;let Pt=(ft=Te.overrides)==null?void 0:ft[pe];if(!Pt)throw Error("Assertion failure - missing override");let ht=(_t=Pt.env)==null?void 0:_t[nt];return ht?se(he,ht,`${Ce}.overrides[${pe}].env["${nt}"]`):null}function X({root:he,env:Te,overrides:Ce,overridesEnv:se,createLogger:pe}){return function*(nt,ft,_t=new Set,Pt){let{dirname:ht}=nt,De=[],ze=he(nt);if(We(ze,ht,ft,nt.filepath)){De.push({config:ze,envName:void 0,index:void 0});let ge=Te(nt,ft.envName);ge&&We(ge,ht,ft,nt.filepath)&&De.push({config:ge,envName:ft.envName,index:void 0}),(ze.options.overrides||[]).forEach((fe,ee)=>{let le=Ce(nt,ee);if(We(le,ht,ft,nt.filepath)){De.push({config:le,index:ee,envName:void 0});let Se=se(nt,ee,ft.envName);Se&&We(Se,ht,ft,nt.filepath)&&De.push({config:Se,index:ee,envName:ft.envName})}})}if(De.some(({config:{options:{ignore:ge,only:fe}}})=>xe(ft,ge,fe,ht)))return null;let Ze=Ne(),tt=pe(nt,ft,Pt);for(let{config:ge,index:fe,envName:ee}of De){if(!(yield*ie(Ze,ge.options,ht,ft,_t,Pt)))return null;tt(ge,fe,ee),yield*be(Ze,ge)}return Ze}}function*ie(he,Te,Ce,se,pe,nt){if(Te.extends===void 0)return!0;let ft=yield*(0,f.loadConfig)(Te.extends,Ce,se.envName,se.caller);if(pe.has(ft))throw Error(`Configuration cycle detected loading ${ft.filepath}.
|
|
File already loaded following the config chain:
|
|
`+Array.from(pe,Pt=>` - ${Pt.filepath}`).join(`
|
|
`));pe.add(ft);let _t=yield*R(U(ft),se,pe,nt);return pe.delete(ft),!!_t&&(oe(he,_t),!0)}function oe(he,Te){for(let Ce of(he.options.push(...Te.options),he.plugins.push(...Te.plugins),he.presets.push(...Te.presets),Te.files))he.files.add(Ce);return he}function*be(he,{options:Te,plugins:Ce,presets:se}){return he.options.push(Te),he.plugins.push(...yield*Ce()),he.presets.push(...yield*se()),he}function Ne(){return{options:[],presets:[],plugins:[],files:new Set}}function Pe(he){let Te=Object.assign({},he);return delete Te.extends,delete Te.env,delete Te.overrides,delete Te.plugins,delete Te.presets,delete Te.passPerPreset,delete Te.ignore,delete Te.only,delete Te.test,delete Te.include,delete Te.exclude,hasOwnProperty.call(Te,"sourceMap")&&(Te.sourceMaps=Te.sourceMap,delete Te.sourceMap),Te}function Ke(he){let Te=new Map,Ce=[];for(let se of he)if(typeof se.value=="function"){let pe=se.value,nt=Te.get(pe);nt||(nt=new Map,Te.set(pe,nt));let ft=nt.get(se.name);ft?ft.value=se:(ft={value:se},Ce.push(ft),se.ownPass||nt.set(se.name,ft))}else Ce.push({value:se});return Ce.reduce((se,pe)=>(se.push(pe.value),se),[])}function We({options:he},Te,Ce,se){return(he.test===void 0||Oe(Ce,he.test,Te,se))&&(he.include===void 0||Oe(Ce,he.include,Te,se))&&(he.exclude===void 0||!Oe(Ce,he.exclude,Te,se))}function Oe(he,Te,Ce,se){return ye(he,Array.isArray(Te)?Te:[Te],Ce,se)}function de(he,Te){return Te instanceof RegExp?String(Te):Te}function xe(he,Te,Ce,se){var pe,nt;if(Te&&ye(he,Te,se)){let ft=`No config is applied to "${(pe=he.filename)!=null?pe:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(Te,de)}\` from "${se}"`;return y(ft),he.showConfig&&console.log(ft),!0}if(Ce&&!ye(he,Ce,se)){let ft=`No config is applied to "${(nt=he.filename)!=null?nt:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(Ce,de)}\` from "${se}"`;return y(ft),he.showConfig&&console.log(ft),!0}return!1}function ye(he,Te,Ce,se){return Te.some(pe=>ve(pe,Ce,he.filename,he,se))}function ve(he,Te,Ce,se,pe){if(typeof he=="function")return!!(0,h.endHiddenCallStack)(he)(Ce,{dirname:Te,envName:se.envName,caller:se.caller});if(typeof Ce!="string")throw new d.default("Configuration contains string/RegExp pattern, but no filename was passed to Babel",pe);return typeof he=="string"&&(he=(0,i.default)(he,Te)),he.test(Ce)}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/config-descriptors.js":function(u,e,l){"use strict";function n(){let U=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return n=function(){return U},U}Object.defineProperty(e,"__esModule",{value:!0}),e.createCachedDescriptors=b,e.createDescriptor=F,e.createUncachedDescriptors=m;var c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/gensync-utils/functional.js"),p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files/index.js"),i=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/item.js"),o=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/caching.js"),h=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/resolve-targets.js");function d(U,z){var C,R,G,V;return U.name===z.name&&U.value===z.value&&U.options===z.options&&U.dirname===z.dirname&&U.alias===z.alias&&U.ownPass===z.ownPass&&((C=U.file)==null?void 0:C.request)===((R=z.file)==null?void 0:R.request)&&((G=U.file)==null?void 0:G.resolved)===((V=z.file)==null?void 0:V.resolved)}function f(U,z){return typeof U.browserslistConfigFile=="string"&&(U.browserslistConfigFile=(0,h.resolveBrowserslistConfigFile)(U.browserslistConfigFile,z)),U}function b(U,z,C){let{plugins:R,presets:G,passPerPreset:V}=z;return{options:f(z,U),plugins:R?()=>E(R,U)(C):()=>(function*(B){return B})([]),presets:G?()=>x(G,U)(C)(!!V):()=>(function*(B){return B})([])}}function m(U,z,C){return{options:f(z,U),plugins:(0,c.once)(()=>L(z.plugins||[],U,C)),presets:(0,c.once)(()=>A(z.presets||[],U,C,!!z.passPerPreset))}}let y=new WeakMap,x=(0,o.makeWeakCacheSync)((U,z)=>{let C=z.using(R=>R);return(0,o.makeStrongCacheSync)(R=>(0,o.makeStrongCache)(function*(G){return(yield*A(U,C,R,G)).map(V=>_(y,V))}))}),v=new WeakMap,E=(0,o.makeWeakCacheSync)((U,z)=>{let C=z.using(R=>R);return(0,o.makeStrongCache)(function*(R){return(yield*L(U,C,R)).map(G=>_(v,G))})}),S={};function _(U,z){let{value:C,options:R=S}=z;if(R===!1)return z;let G=U.get(C);G||(G=new WeakMap,U.set(C,G));let V=G.get(R);if(V||(V=[],G.set(R,V)),!V.includes(z)){let B=V.filter(q=>d(q,z));if(B.length>0)return B[0];V.push(z)}return z}function*A(U,z,C,R){return yield*j("preset",U,z,C,R)}function*L(U,z,C){return yield*j("plugin",U,z,C)}function*j(U,z,C,R,G){let V=yield*n().all(z.map((B,q)=>F(B,C,{type:U,alias:`${R}$${q}`,ownPass:!!G})));return k(V),V}function*F(U,z,{type:C,alias:R,ownPass:G}){let V,B,q,K=(0,i.getItemDescriptor)(U);if(K)return K;let $=U;Array.isArray($)&&($.length===3?[$,B,V]=$:[$,B]=$);let W=null;if(typeof $=="string"){if(typeof C!="string")throw Error("To resolve a string-based item, the type of item must be given");let Z=C==="plugin"?p.loadPlugin:p.loadPreset,Q=$;({filepath:W,value:$}=yield*Z($,z)),q={request:Q,resolved:W}}if(!$)throw Error(`Unexpected falsy value: ${String($)}`);if(typeof $=="object"&&$.__esModule)if($.default)$=$.default;else throw Error("Must export a default export when using ES6 modules.");if(typeof $!="object"&&typeof $!="function")throw Error(`Unsupported format: ${typeof $}. Expected an object or a function.`);if(W!==null&&typeof $=="object"&&$)throw Error(`Plugin/Preset files are not allowed to export objects, only functions. In ${W}`);return{name:V,alias:W||R,value:$,options:B,dirname:z,ownPass:G,file:q}}function k(U){let z=new Map;for(let C of U){if(typeof C.value!="function")continue;let R=z.get(C.value);if(R||(R=new Set,z.set(C.value,R)),R.has(C.name)){let G=U.filter(V=>V.value===C.value);throw 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(G,null,2)}`)}R.add(C.name)}}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files/configuration.js":function(u,e,l){"use strict";function n(){let Z=l("./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js");return n=function(){return Z},Z}function c(){let Z=l("fs");return c=function(){return Z},Z}function p(){let Z=l("path");return p=function(){return Z},Z}function i(){let Z=l("./node_modules/.pnpm/json5@2.2.3/node_modules/json5/dist/index.mjs");return i=function(){return Z},Z}function o(){let Z=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return o=function(){return Z},Z}Object.defineProperty(e,"__esModule",{value:!0}),e.ROOT_CONFIG_FILENAMES=void 0,e.findConfigUpwards=R,e.findRelativeConfig=G,e.findRootConfig=V,e.loadConfig=q,e.resolveShowConfigPath=$;var h=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/caching.js"),d=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/helpers/config-api.js"),f=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files/utils.js"),b=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files/module-types.js"),m=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/pattern-to-regex.js"),y=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/errors/config-error.js"),x=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/gensync-utils/fs.js");l("module");var v=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"),E=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/gensync-utils/async.js");let S=n()("babel:config:loading:files:configuration"),_=e.ROOT_CONFIG_FILENAMES=["babel.config.js","babel.config.cjs","babel.config.mjs","babel.config.json","babel.config.cts","babel.config.ts","babel.config.mts"],A=[".babelrc",".babelrc.js",".babelrc.cjs",".babelrc.mjs",".babelrc.json",".babelrc.cts"],L=(0,h.makeWeakCache)(function*(Z,Q){return yield*[],{options:(0,v.endHiddenCallStack)(Z)((0,d.makeConfigAPI)(Q)),cacheNeedsConfiguration:!Q.configured()}});function*j(Z,Q){if(!c().existsSync(Z))return null;let X=yield*(0,b.default)(Z,(yield*(0,E.isAsync)())?"auto":"require","You appear to be using a native ECMAScript module configuration file, which is only supported when running Babel asynchronously or when using the Node.js `--experimental-require-module` flag.","You appear to be using a configuration file that contains top-level await, which is only supported when running Babel asynchronously."),ie=!1;if(typeof X=="function"&&({options:X,cacheNeedsConfiguration:ie}=yield*L(X,Q)),!X||typeof X!="object"||Array.isArray(X))throw new y.default("Configuration should be an exported JavaScript object.",Z);if(typeof X.then=="function")throw X.catch==null||X.catch(()=>{}),new y.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.",Z);return ie&&W(Z),k(X,Z)}let F=new WeakMap;function k(Z,Q){let X=F.get(Z);X||F.set(Z,X=new Map);let ie=X.get(Q);return ie||(ie={filepath:Q,dirname:p().dirname(Q),options:Z},X.set(Q,ie)),ie}let U=(0,h.makeWeakCacheSync)(Z=>{let Q=Z.options.babel;if(Q===void 0)return null;if(typeof Q!="object"||Array.isArray(Q)||Q===null)throw new y.default(".babel property must be an object",Z.filepath);return{filepath:Z.filepath,dirname:Z.dirname,options:Q}}),z=(0,f.makeStaticFileCache)((Z,Q)=>{let X;try{X=i().parse(Q)}catch(ie){throw new y.default(`Error while parsing config - ${ie.message}`,Z)}if(!X)throw new y.default("No config detected",Z);if(typeof X!="object")throw new y.default(`Config returned typeof ${typeof X}`,Z);if(Array.isArray(X))throw new y.default("Expected config object but found array",Z);return delete X.$schema,{filepath:Z,dirname:p().dirname(Z),options:X}}),C=(0,f.makeStaticFileCache)((Z,Q)=>{let X=p().dirname(Z),ie=Q.split(`
|
|
`).map(oe=>oe.replace(/#.*$/,"").trim()).filter(Boolean);for(let oe of ie)if(oe[0]==="!")throw new y.default("Negation of file paths is not supported.",Z);return{filepath:Z,dirname:p().dirname(Z),ignore:ie.map(oe=>(0,m.default)(oe,X))}});function R(Z){let Q=Z;for(;;){for(let ie of _)if(c().existsSync(p().join(Q,ie)))return Q;let X=p().dirname(Q);if(Q===X)break;Q=X}return null}function*G(Z,Q,X){let ie=null,oe=null,be=p().dirname(Z.filepath);for(let Pe of Z.directories){if(!ie){var Ne;ie=yield*B(A,Pe,Q,X,((Ne=Z.pkg)==null?void 0:Ne.dirname)===Pe?U(Z.pkg):null)}if(!oe){let Ke=p().join(Pe,".babelignore");(oe=yield*C(Ke))&&S("Found ignore %o from %o.",oe.filepath,be)}}return{config:ie,ignore:oe}}function V(Z,Q,X){return B(_,Z,Q,X)}function*B(Z,Q,X,ie,oe=null){let be=(yield*o().all(Z.map(Ne=>K(p().join(Q,Ne),X,ie)))).reduce((Ne,Pe)=>{if(Pe&&Ne)throw new y.default(`Multiple configuration files found. Please remove one:
|
|
- ${p().basename(Ne.filepath)}
|
|
- ${Pe.filepath}
|
|
from ${Q}`);return Pe||Ne},oe);return be&&S("Found configuration %o from %o.",be.filepath,Q),be}function*q(Z,Q,X,ie){let oe,be,Ne=(oe=process.versions.node,be="8.9",oe=oe.split("."),be=be.split("."),+oe[0]>+be[0]||oe[0]==be[0]&&+oe[1]>=+be[1]?l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files sync recursive").resolve:(Ke,{paths:[We]},Oe=l("module"))=>{let de=Oe._findPath(Ke,Oe._nodeModulePaths(We).concat(We));if(de)return de;throw(de=Error(`Cannot resolve module '${Ke}'`)).code="MODULE_NOT_FOUND",de})(Z,{paths:[Q]}),Pe=yield*K(Ne,X,ie);if(!Pe)throw new y.default("Config file contains no configuration data",Ne);return S("Loaded config %o from %o.",Z,Q),Pe}function K(Z,Q,X){switch(p().extname(Z)){case".js":case".cjs":case".mjs":case".ts":case".cts":case".mts":return j(Z,{envName:Q,caller:X});default:return z(Z)}}function*$(Z){let Q=process.env.BABEL_SHOW_CONFIG_FOR;if(Q!=null){let X=p().resolve(Z,Q);if(!(yield*x.stat(X)).isFile())throw Error(`${X}: BABEL_SHOW_CONFIG_FOR must refer to a regular file, directories are not supported.`);return X}return null}function W(Z){throw new y.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 { };
|
|
};`,Z)}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files/import.cjs":function(u,e,l){u.exports=function(n){return l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files lazy recursive")(n)}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ROOT_CONFIG_FILENAMES",{enumerable:!0,get:function(){return c.ROOT_CONFIG_FILENAMES}}),Object.defineProperty(e,"findConfigUpwards",{enumerable:!0,get:function(){return c.findConfigUpwards}}),Object.defineProperty(e,"findPackageData",{enumerable:!0,get:function(){return n.findPackageData}}),Object.defineProperty(e,"findRelativeConfig",{enumerable:!0,get:function(){return c.findRelativeConfig}}),Object.defineProperty(e,"findRootConfig",{enumerable:!0,get:function(){return c.findRootConfig}}),Object.defineProperty(e,"loadConfig",{enumerable:!0,get:function(){return c.loadConfig}}),Object.defineProperty(e,"loadPlugin",{enumerable:!0,get:function(){return p.loadPlugin}}),Object.defineProperty(e,"loadPreset",{enumerable:!0,get:function(){return p.loadPreset}}),Object.defineProperty(e,"resolvePlugin",{enumerable:!0,get:function(){return p.resolvePlugin}}),Object.defineProperty(e,"resolvePreset",{enumerable:!0,get:function(){return p.resolvePreset}}),Object.defineProperty(e,"resolveShowConfigPath",{enumerable:!0,get:function(){return c.resolveShowConfigPath}});var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files/package.js"),c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files/configuration.js"),p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files/plugins.js")},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files/module-types.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=F,e.supportsESM=void 0;var n,c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/gensync-utils/async.js");function p(){let z=l("path");return p=function(){return z},z}function i(){let z=l("url");return i=function(){return z},z}function o(){let z=l("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return o=function(){return z},z}function h(){let z=l("./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js");return h=function(){return z},z}l("module");var d=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js"),f=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/errors/config-error.js"),b=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transform-file.js");function m(z,C,R,G,V,B,q){try{var K=z[B](q),$=K.value}catch(W){return void R(W)}K.done?C($):Promise.resolve($).then(G,V)}function y(z){return function(){var C=this,R=arguments;return new Promise(function(G,V){var B=z.apply(C,R);function q($){m(B,G,V,q,K,"next",$)}function K($){m(B,G,V,q,K,"throw",$)}q(void 0)})}}let x=h()("babel:config:loading:files:module-types");try{var v=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files/import.cjs")}catch{}e.supportsESM=o().satisfies(process.versions.node,"^12.17 || >=13.2");let E=new Set;function S(z){let C;if(E.has(z))return x("Auto-ignoring usage of config %o.",z),{};try{E.add(z),C=(0,d.endHiddenCallStack)(l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files sync recursive"))(z)}finally{E.delete(z)}return C!=null&&(C.__esModule||C[Symbol.toStringTag]==="Module")?C.default||(arguments[1]?C:void 0):C}let _=(0,d.endHiddenCallStack)((n=y(function*(z){let C=(0,i().pathToFileURL)(z).toString()+"?import";if(!v)throw new f.default(`Internal error: Native ECMAScript modules aren't supported by this platform.
|
|
`,z);return yield v(C)}),function(z){return n.apply(this,arguments)})),A=z=>`You are using a ${z} config file, but Babel only supports transpiling .cts configs. Either:
|
|
- Use a .cts config file
|
|
- Update to Node.js 23.6.0, which has native TypeScript support
|
|
- Install tsx to transpile ${z} files on the fly`,L={".js":"unknown",".mjs":"esm",".cjs":"cjs",".ts":"unknown",".mts":"esm",".cts":"cjs"},j=new Set;function*F(z,C,R,G){let V,B=p().extname(z),q=B===".ts"||B===".cts"||B===".mts",K=L[hasOwnProperty.call(L,B)?B:".js"];switch(`${C} ${K}`){case"require cjs":case"auto cjs":return q?k(z,B,()=>S(z)):S(z,arguments[2]);case"auto unknown":case"require unknown":case"require esm":try{return q?k(z,B,()=>S(z)):S(z,arguments[2])}catch($){if($.code==="ERR_REQUIRE_ASYNC_MODULE"||$.code==="ERR_REQUIRE_CYCLE_MODULE"&&j.has(z)){if(j.add(z),!(V??(V=yield*(0,c.isAsync)())))throw new f.default(G,z)}else if(!($.code==="ERR_REQUIRE_ESM"||K==="esm"))throw $}case"auto esm":if(V??(V=yield*(0,c.isAsync)())){let $=q?k(z,B,()=>_(z)):_(z);return(yield*(0,c.waitFor)($)).default}throw q?new f.default(A(B),z):new f.default(R,z);default:throw Error("Internal Babel error: unreachable code.")}}function k(z,C,R){if(process.features.typescript||(void 0)[".ts"]||(void 0)[".cts"]||(void 0)[".mts"])return R();if(C!==".cts")throw new f.default(A(C),z);let G={babelrc:!1,configFile:!1,sourceType:"unambiguous",sourceMaps:"inline",sourceFileName:p().basename(z),presets:[[U(z),Object.assign({onlyRemoveTypeImports:!0,optimizeConstEnums:!0},{allowDeclareFields:!0})]]},V=function(B,q){if(V&&q.endsWith(".cts"))try{return B._compile((0,b.transformFileSync)(q,Object.assign({},G,{filename:q})).code,q)}catch(K){let $=l("./node_modules/.pnpm/@babel+preset-typescript@7.27.1_@babel+core@7.28.4/node_modules/@babel/preset-typescript/package.json");throw o().lt($.version,"7.21.4")&&console.error("`.cts` configuration file failed to load, please try to update `@babel/preset-typescript`."),K}return(void 0)[".js"](B,q)};(void 0)[C]=V;try{return R()}finally{(void 0)[C]===V&&delete(void 0)[C],V=void 0}}function U(z){try{return l("./node_modules/.pnpm/@babel+preset-typescript@7.27.1_@babel+core@7.28.4/node_modules/@babel/preset-typescript/lib/index.js")}catch(C){if(C.code!=="MODULE_NOT_FOUND")throw C;let R="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&&(R+=`
|
|
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 f.default(R,z)}}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files/package.js":function(u,e,l){"use strict";function n(){let h=l("path");return n=function(){return h},h}Object.defineProperty(e,"__esModule",{value:!0}),e.findPackageData=o;var c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files/utils.js"),p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/errors/config-error.js");let i=(0,c.makeStaticFileCache)((h,d)=>{let f;try{f=JSON.parse(d)}catch(b){throw new p.default(`Error while parsing JSON - ${b.message}`,h)}if(!f)throw Error(`${h}: No config detected`);if(typeof f!="object")throw new p.default(`Config returned typeof ${typeof f}`,h);if(Array.isArray(f))throw new p.default("Expected config object but found array",h);return{filepath:h,dirname:n().dirname(h),options:f}});function*o(h){let d=null,f=[],b=!0,m=n().dirname(h);for(;!d&&n().basename(m)!=="node_modules";){f.push(m),d=yield*i(n().join(m,"package.json"));let y=n().dirname(m);if(m===y){b=!1;break}m=y}return{filepath:h,directories:f,pkg:d,isPackage:b}}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files/plugins.js":function(u,e,l){"use strict";function n(){let K=l("./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js");return n=function(){return K},K}function c(){let K=l("path");return c=function(){return K},K}Object.defineProperty(e,"__esModule",{value:!0}),e.loadPlugin=j,e.loadPreset=F,e.resolvePreset=e.resolvePlugin=void 0;var p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/gensync-utils/async.js"),i=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files/module-types.js");function o(){let K=l("url");return o=function(){return K},K}var h=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/vendor/import-meta-resolve.js");function d(){let K=l("fs");return d=function(){return K},K}l("module");let f=n()("babel:config:loading:files:plugins"),b=/^module:/,m=/^(?!@|module:|[^/]+\/|babel-plugin-)/,y=/^(?!@|module:|[^/]+\/|babel-preset-)/,x=/^(@babel\/)(?!plugin-|[^/]+\/)/,v=/^(@babel\/)(?!preset-|[^/]+\/)/,E=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-plugin(?:-|\/|$)|[^/]+\/)/,S=/^(@(?!babel\/)[^/]+\/)(?![^/]*babel-preset(?:-|\/|$)|[^/]+\/)/,_=/^(@(?!babel$)[^/]+)$/,A=e.resolvePlugin=V.bind(null,"plugin"),L=e.resolvePreset=V.bind(null,"preset");function*j(K,$){let{filepath:W,loader:Z}=A(K,$,yield*(0,p.isAsync)()),Q=yield*q("plugin",Z,W);return f("Loaded plugin %o from %o.",K,$),{filepath:W,value:Q}}function*F(K,$){let{filepath:W,loader:Z}=L(K,$,yield*(0,p.isAsync)()),Q=yield*q("preset",Z,W);return f("Loaded preset %o from %o.",K,$),{filepath:W,value:Q}}function k(K,$){if(c().isAbsolute($))return $;let W=K==="preset";return $.replace(W?y:m,`babel-${K}-`).replace(W?v:x,`$1${K}-`).replace(W?S:E,`$1babel-${K}-`).replace(_,`$1/babel-${K}`).replace(b,"")}function*U(K,$){let W=k(K,$),{error:Z,value:Q}=yield W;if(!Z)return Q;if(Z.code!=="MODULE_NOT_FOUND")throw Z;W===$||(yield $).error||(Z.message+=`
|
|
- If you want to resolve "${$}", use "module:${$}"`),(yield k(K,"@babel/"+$)).error||(Z.message+=`
|
|
- Did you mean "@babel/${$}"?`);let X=K==="preset"?"plugin":"preset";if((yield k(X,$)).error||(Z.message+=`
|
|
- Did you accidentally pass a ${X} as a ${K}?`),K==="plugin"){let ie=W.replace("-proposal-","-transform-");ie===W||(yield ie).error||(Z.message+=`
|
|
- Did you mean "${ie}"?`)}throw Z.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.
|
|
`,Z}function z(K,$){try{let W,Z;return $?{error:null,value:(W=process.versions.node,Z="8.9",W=W.split("."),Z=Z.split("."),+W[0]>+Z[0]||W[0]==Z[0]&&+W[1]>=+Z[1]?l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files sync recursive").resolve:(Q,{paths:[X]},ie=l("module"))=>{let oe=ie._findPath(Q,ie._nodeModulePaths(X).concat(X));if(oe)return oe;throw(oe=Error(`Cannot resolve module '${Q}'`)).code="MODULE_NOT_FOUND",oe})(K,{paths:[$]})}:{error:null,value:l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files sync recursive").resolve(K)}}catch(W){return{error:W,value:null}}}function C(K,$){try{return{error:null,value:(0,h.resolve)(K,$)}}catch(W){return{error:W,value:null}}}function R(K,$,W){let Z=U(K,$),Q=Z.next();for(;!Q.done;)Q=Z.next(z(Q.value,W));return{loader:"require",filepath:Q.value}}function G(K,$,W){let Z=(0,o().pathToFileURL)(c().join(W,"./babel-virtual-resolve-base.js")).href,Q=U(K,$),X=Q.next();for(;!X.done;)X=Q.next(C(X.value,Z));return{loader:"auto",filepath:(0,o().fileURLToPath)(X.value)}}function V(K,$,W,Z){if(!i.supportsESM||!Z)return R(K,$,W);try{let Q=G(K,$,W);if(!(0,d().existsSync)(Q.filepath))throw Object.assign(Error(`Could not resolve "${$}" in file ${W}.`),{type:"MODULE_NOT_FOUND"});return Q}catch(Q){try{return R(K,$,W)}catch(X){throw Q.type==="MODULE_NOT_FOUND"?Q:X.type==="MODULE_NOT_FOUND"?X:Q}}}var B=new Set;function*q(K,$,W){if(!(yield*(0,p.isAsync)())&&B.has(W))throw Error(`Reentrant ${K} detected trying to load "${W}". 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 B.add(W),yield*(0,i.default)(W,$,`You appear to be using a native ECMAScript module ${K}, which is only supported when running Babel asynchronously or when using the Node.js \`--experimental-require-module\` flag.`,`You appear to be using a ${K} that contains top-level await, which is only supported when running Babel asynchronously.`,!0)}catch(Z){throw Z.message=`[BABEL]: ${Z.message} (While processing: ${W})`,Z}finally{B.delete(W)}}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files/utils.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.makeStaticFileCache=i;var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/caching.js"),c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/gensync-utils/fs.js");function p(){let h=l("fs");return p=function(){return h},h}function i(h){return(0,n.makeStrongCache)(function*(d,f){return f.invalidate(()=>o(d))===null?null:h(d,yield*c.readFile(d,"utf8"))})}function o(h){if(!p().existsSync(h))return null;try{return+p().statSync(h).mtime}catch(d){if(d.code!=="ENOENT"&&d.code!=="ENOTDIR")throw d}return null}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/full.js":function(u,e,l){"use strict";function n(){let G=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return n=function(){return G},G}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/gensync-utils/async.js"),p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/util.js"),i=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js"),o=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/plugin.js"),h=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/item.js"),d=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/config-chain.js"),f=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/helpers/deep-array.js");function b(){let G=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/index.js");return b=function(){return G},G}var m=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/caching.js"),y=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/validation/options.js"),x=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/validation/plugins.js"),v=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/helpers/config-api.js"),E=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/partial.js"),S=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/errors/config-error.js");function _(G,V){return function*(B,q){try{return yield*V(B,q)}catch($){if(!/^\[BABEL\]/.test($.message)){var K;$.message=`[BABEL] ${(K=G.filename)!=null?K:"unknown file"}: ${$.message}`}throw $}}}e.default=n()(function*(G){var V;let B=yield*(0,E.default)(G);if(!B)return null;let{options:q,context:K,fileHandling:$}=B;if($==="ignored")return null;let W={},{plugins:Z,presets:Q}=q;if(!Z||!Q)throw Error("Assertion failure - plugins and presets exist");let X=Object.assign({},K,{targets:q.targets}),ie=Oe=>{let de=(0,h.getItemDescriptor)(Oe);if(!de)throw Error("Assertion failure - must be config item");return de},oe=Q.map(ie),be=Z.map(ie),Ne=[[]],Pe=[],Ke=[];if(yield*_(K,function*Oe(de,xe){let ye=[];for(let he=0;he<de.length;he++){let Te=de[he];if(Te.options!==!1){try{var ve=yield*C(Te,X)}catch(Ce){throw Ce.code==="BABEL_UNKNOWN_OPTION"&&(0,y.checkNoUnwrappedItemOptionPairs)(de,he,"preset",Ce),Ce}Ke.push(ve.externalDependencies),Te.ownPass?ye.push({preset:ve.chain,pass:[]}):ye.unshift({preset:ve.chain,pass:xe})}}if(ye.length>0)for(let{preset:he,pass:Te}of(Ne.splice(1,0,...ye.map(Ce=>Ce.pass).filter(Ce=>Ce!==xe)),ye)){if(!he||(Te.push(...he.plugins),yield*Oe(he.presets,Te)))return!0;he.options.forEach(Ce=>{(0,p.mergeOptions)(W,Ce)})}})(oe,Ne[0]))return null;(0,p.mergeOptions)(W,q);let We=Object.assign({},X,{assumptions:(V=W.assumptions)!=null?V:{}});return yield*_(K,function*(){for(let de of(Ne[0].unshift(...be),Ne)){let xe=[];Pe.push(xe);for(let ye=0;ye<de.length;ye++){let ve=de[ye];if(ve.options!==!1){try{var Oe=yield*k(ve,We)}catch(he){throw he.code==="BABEL_UNKNOWN_PLUGIN_PROPERTY"&&(0,y.checkNoUnwrappedItemOptionPairs)(de,ye,"plugin",he),he}xe.push(Oe),Ke.push(Oe.externalDependencies)}}}})(),W.plugins=Pe[0],W.presets=Pe.slice(1).filter(Oe=>Oe.length>0).map(Oe=>({plugins:Oe})),W.passPerPreset=W.presets.length>0,{options:W,passes:Pe,externalDependencies:(0,f.finalize)(Ke)}});let A=G=>(0,m.makeWeakCache)(function*({value:V,options:B,dirname:q,alias:K},$){if(B===!1)throw Error("Assertion failure");B=B||{};let W=[],Z=V;if(typeof V=="function"){let Q=(0,c.maybeAsync)(V,"You appear to be using an async plugin/preset, but Babel has been called synchronously"),X=Object.assign({},i,G($,W));try{Z=yield*Q(X,B,q)}catch(ie){throw K&&(ie.message+=` (While processing: ${JSON.stringify(K)})`),ie}}if(!Z||typeof Z!="object")throw Error("Plugin/Preset did not return an object.");if((0,c.isThenable)(Z))throw yield*[],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(K)})`);if(W.length>0&&(!$.configured()||$.mode()==="forever")){let Q=`A plugin/preset has external untracked dependencies (${W[0]}), but the cache `;throw $.configured()?Q+=" has been configured to never be invalidated. ":Q+="has not been configured to be invalidated when the external dependencies change. ",Error(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(K)})`)}return{value:Z,options:B,dirname:q,alias:K,externalDependencies:(0,f.finalize)(W)}}),L=A(v.makePluginAPI),j=A(v.makePresetAPI),F=(0,m.makeWeakCache)(function*({value:G,options:V,dirname:B,alias:q,externalDependencies:K},$){let W=Object.assign({},(0,x.validatePluginObject)(G));if(W.visitor&&(W.visitor=b().default.explode(Object.assign({},W.visitor))),W.inherits){let Z={name:void 0,alias:`${q}$inherits`,value:W.inherits,options:V,dirname:B},Q=yield*(0,c.forwardAsync)(k,X=>$.invalidate(ie=>X(Z,ie)));W.pre=R(Q.pre,W.pre),W.post=R(Q.post,W.post),W.manipulateOptions=R(Q.manipulateOptions,W.manipulateOptions),W.visitor=b().default.visitors.merge([Q.visitor||{},W.visitor||{}]),Q.externalDependencies.length>0&&(K=K.length===0?Q.externalDependencies:(0,f.finalize)([K,Q.externalDependencies]))}return new o.default(W,V,q,K)});function*k(G,V){if(G.value instanceof o.default){if(G.options)throw Error("Passed options to an existing Plugin instance will not work.");return G.value}return yield*F(yield*L(G,V),V)}let U=(G,V)=>{let B,q,K;if((B=G.test)&&typeof B!="function"||(q=G.include)&&typeof q!="function"||(K=G.exclude)&&typeof K!="function"){let $=V.name?`"${V.name}"`:"/* your preset */";throw new S.default(`Preset ${$} requires a filename to be set when babel is called directly,
|
|
\`\`\`
|
|
babel.transformSync(code, { filename: 'file.ts', presets: [${$}] });
|
|
\`\`\`
|
|
See https://babeljs.io/docs/en/options#filename for more information.`)}},z=(0,m.makeWeakCacheSync)(({value:G,dirname:V,alias:B,externalDependencies:q})=>({options:(0,y.validate)("preset",G),alias:B,dirname:V,externalDependencies:q}));function*C(G,V){let B=z(yield*j(G,V));return((q,K,$)=>{if(!K.filename){var W;let{options:Z}=q;U(Z,$),(W=Z.overrides)==null||W.forEach(Q=>U(Q,$))}})(B,V,G),{chain:yield*(0,d.buildPresetChain)(B,V),externalDependencies:B.externalDependencies}}function R(G,V){return G?V?function(...B){let q=G.apply(this,B);return q&&typeof q.then=="function"?q.then(()=>V.apply(this,B)):V.apply(this,B)}:G:V}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/helpers/config-api.js":function(u,e,l){"use strict";function n(){let f=l("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return n=function(){return f},f}Object.defineProperty(e,"__esModule",{value:!0}),e.makeConfigAPI=i,e.makePluginAPI=h,e.makePresetAPI=o;var c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js"),p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/caching.js");function i(f){return{version:c.version,cache:f.simple(),env:b=>f.using(m=>b===void 0?m.envName:typeof b=="function"?(0,p.assertSimpleType)(b(m.envName)):(Array.isArray(b)?b:[b]).some(y=>{if(typeof y!="string")throw Error("Unexpected non-string value");return y===m.envName})),async:()=>!1,caller:b=>f.using(m=>(0,p.assertSimpleType)(b(m.caller))),assertVersion:d}}function o(f,b){return Object.assign({},i(f),{targets:()=>JSON.parse(f.using(m=>JSON.stringify(m.targets))),addExternalDependency:m=>{b.push(m)}})}function h(f,b){return Object.assign({},o(f,b),{assumption:m=>f.using(y=>y.assumptions[m])})}function d(f){if(typeof f=="number"){if(!Number.isInteger(f))throw Error("Expected string or integer value.");f=`^${f}.0.0-0`}if(typeof f!="string")throw Error("Expected string or integer value.");if(f==="*"||n().satisfies(c.version,f))return;let b=Error.stackTraceLimit;typeof b=="number"&&b<25&&(Error.stackTraceLimit=25);let m=Error(`Requires Babel "${f}", but was loaded with "${c.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 b=="number"&&(Error.stackTraceLimit=b),Object.assign(m,{code:"BABEL_VERSION_UNSUPPORTED",version:c.version,range:f})}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/helpers/deep-array.js":function(u,e){"use strict";function l(c){return Object.freeze(c)}function n(c){let p=new Set,i=[c];for(;i.length>0;)for(let o of i.pop())Array.isArray(o)?i.push(o):p.add(o);return p}Object.defineProperty(e,"__esModule",{value:!0}),e.finalize=l,e.flattenToSet=n},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/helpers/environment.js":function(u,e){"use strict";function l(n="development"){return process.env.BABEL_ENV||process.env.NODE_ENV||n}Object.defineProperty(e,"__esModule",{value:!0}),e.getEnv=l},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/index.js":function(u,e,l){"use strict";function n(){let j=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return n=function(){return j},j}Object.defineProperty(e,"__esModule",{value:!0}),e.createConfigItem=L,e.createConfigItemAsync=_,e.createConfigItemSync=A,Object.defineProperty(e,"default",{enumerable:!0,get:function(){return c.default}}),e.loadOptions=E,e.loadOptionsAsync=x,e.loadOptionsSync=v,e.loadPartialConfig=b,e.loadPartialConfigAsync=d,e.loadPartialConfigSync=f;var c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/full.js"),p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/partial.js"),i=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/item.js"),o=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let h=n()(p.loadPartialConfig);function d(...j){return(0,o.beginHiddenCallStack)(h.async)(...j)}function f(...j){return(0,o.beginHiddenCallStack)(h.sync)(...j)}function b(j,F){if(F!==void 0)(0,o.beginHiddenCallStack)(h.errback)(j,F);else{if(typeof j!="function")return f(j);(0,o.beginHiddenCallStack)(h.errback)(void 0,j)}}function*m(j){var F;let k=yield*(0,c.default)(j);return(F=k==null?void 0:k.options)!=null?F:null}let y=n()(m);function x(...j){return(0,o.beginHiddenCallStack)(y.async)(...j)}function v(...j){return(0,o.beginHiddenCallStack)(y.sync)(...j)}function E(j,F){if(F!==void 0)(0,o.beginHiddenCallStack)(y.errback)(j,F);else{if(typeof j!="function")return v(j);(0,o.beginHiddenCallStack)(y.errback)(void 0,j)}}let S=n()(i.createConfigItem);function _(...j){return(0,o.beginHiddenCallStack)(S.async)(...j)}function A(...j){return(0,o.beginHiddenCallStack)(S.sync)(...j)}function L(j,F,k){if(k!==void 0)(0,o.beginHiddenCallStack)(S.errback)(j,F,k);else{if(typeof F!="function")return A(j,F);(0,o.beginHiddenCallStack)(S.errback)(j,void 0,k)}}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/item.js":function(u,e,l){"use strict";function n(){let f=l("path");return n=function(){return f},f}Object.defineProperty(e,"__esModule",{value:!0}),e.createConfigItem=i,e.createItemFromDescriptor=p,e.getItemDescriptor=h;var c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/config-descriptors.js");function p(f){return new d(f)}function*i(f,{dirname:b=".",type:m}={}){return p(yield*(0,c.createDescriptor)(f,n().resolve(b),{type:m,alias:"programmatic item"}))}let o=Symbol.for("@babel/core@7 - ConfigItem");function h(f){if(f!=null&&f[o])return f._descriptor}let d=class{constructor(b){this._descriptor=void 0,this[o]=!0,this.value=void 0,this.options=void 0,this.dirname=void 0,this.name=void 0,this.file=void 0,this._descriptor=b,Object.defineProperty(this,"_descriptor",{enumerable:!1}),Object.defineProperty(this,o,{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(d.prototype)},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/partial.js":function(u,e,l){"use strict";function n(){let _=l("path");return n=function(){return _},_}Object.defineProperty(e,"__esModule",{value:!0}),e.default=v,e.loadPartialConfig=E;var c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/plugin.js"),p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/util.js"),i=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/item.js"),o=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/config-chain.js"),h=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/helpers/environment.js"),d=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/validation/options.js"),f=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files/index.js"),b=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/resolve-targets.js");let m=["showIgnoredFiles"];function y(_,A){if(_==null)return{};var L={};for(var j in _)if({}.hasOwnProperty.call(_,j)){if(A.indexOf(j)!==-1)continue;L[j]=_[j]}return L}function x(_,A){switch(A){case"root":return _;case"upward-optional":{let L=(0,f.findConfigUpwards)(_);return L===null?_:L}case"upward":{let L=(0,f.findConfigUpwards)(_);if(L!==null)return L;throw Object.assign(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: "${f.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:_})}default:throw Error("Assertion failure - unknown rootMode value.")}}function*v(_){if(_!=null&&(typeof _!="object"||Array.isArray(_)))throw Error("Babel options must be an object, null, or undefined");let A=_?(0,d.validate)("arguments",_):{},{envName:L=(0,h.getEnv)(),cwd:j=".",root:F=".",rootMode:k="root",caller:U,cloneInputAst:z=!0}=A,C=n().resolve(j),R=x(n().resolve(C,F),k),G=typeof A.filename=="string"?n().resolve(j,A.filename):void 0,V=yield*(0,f.resolveShowConfigPath)(C),B={filename:G,cwd:C,root:R,envName:L,caller:U,showConfig:V===G},q=yield*(0,o.buildRootChain)(A,B);if(!q)return null;let K={assumptions:{}};return q.options.forEach($=>{(0,p.mergeOptions)(K,$)}),{options:Object.assign({},K,{targets:(0,b.resolveTargets)(K,R),cloneInputAst:z,babelrc:!1,configFile:!1,browserslistConfigFile:!1,passPerPreset:!1,envName:B.envName,cwd:B.cwd,root:B.root,rootMode:"root",filename:typeof B.filename=="string"?B.filename:void 0,plugins:q.plugins.map($=>(0,i.createItemFromDescriptor)($)),presets:q.presets.map($=>(0,i.createItemFromDescriptor)($))}),context:B,fileHandling:q.fileHandling,ignore:q.ignore,babelrc:q.babelrc,config:q.config,files:q.files}}function*E(_){let A=!1;if(typeof _=="object"&&_!==null&&!Array.isArray(_)){var L=_;({showIgnoredFiles:A}=L),_=y(L,m)}let j=yield*v(_);if(!j)return null;let{options:F,babelrc:k,ignore:U,config:z,fileHandling:C,files:R}=j;return C!=="ignored"||A?((F.plugins||[]).forEach(G=>{if(G.value instanceof c.default)throw Error("Passing cached plugin instances is not supported in babel.loadPartialConfig()")}),new S(F,k?k.filepath:void 0,U?U.filepath:void 0,z?z.filepath:void 0,C,R)):null}let S=class{constructor(A,L,j,F,k,U){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=A,this.babelignore=j,this.babelrc=L,this.config=F,this.fileHandling=k,this.files=U,Object.freeze(this)}hasFilesystemConfig(){return this.babelrc!==void 0||this.config!==void 0}};Object.freeze(S.prototype)},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/pattern-to-regex.js":function(u,e,l){"use strict";function n(){let y=l("path");return n=function(){return y},y}Object.defineProperty(e,"__esModule",{value:!0}),e.default=m;let c=`\\${n().sep}`,p=`(?:${c}|$)`,i=`[^${c}]+`,o=`(?:${i}${c})`,h=`(?:${i}${p})`,d=`${o}*?`,f=`${o}*?${h}?`;function b(y){return y.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}function m(y,x){let v=n().resolve(x,y).split(n().sep);return new RegExp(["^",...v.map((E,S)=>{let _=S===v.length-1;return E==="**"?_?f:d:E==="*"?_?h:o:E.indexOf("*.")===0?i+b(E.slice(1))+(_?p:c):b(E)+(_?p:c)})].join(""))}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/plugin.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/helpers/deep-array.js");let c=class{constructor(i,o,h,d=(0,n.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=i.name||h,this.manipulateOptions=i.manipulateOptions,this.post=i.post,this.pre=i.pre,this.visitor=i.visitor||{},this.parserOverride=i.parserOverride,this.generatorOverride=i.generatorOverride,this.options=o,this.externalDependencies=d}};e.default=c},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/printer.js":function(u,e,l){"use strict";function n(){let h=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return n=function(){return h},h}Object.defineProperty(e,"__esModule",{value:!0}),e.ConfigPrinter=e.ChainFormatter=void 0;let c=e.ChainFormatter={Programmatic:0,Config:1},p={title(h,d,f){let b="";return h===c.Programmatic?(b="programmatic options",d&&(b+=" from "+d)):b="config "+f,b},loc(h,d){let f="";return h!=null&&(f+=`.overrides[${h}]`),d!=null&&(f+=`.env["${d}"]`),f},*optionsAndDescriptors(h){let d=Object.assign({},h.options);delete d.overrides,delete d.env;let f=[...yield*h.plugins()];f.length&&(d.plugins=f.map(m=>i(m)));let b=[...yield*h.presets()];return b.length&&(d.presets=[...b].map(m=>i(m))),JSON.stringify(d,void 0,2)}};function i(h){var d;let f=(d=h.file)==null?void 0:d.request;return f==null&&(typeof h.value=="object"?f=h.value:typeof h.value=="function"&&(f=`[Function: ${h.value.toString().slice(0,50)} ... ]`)),f==null&&(f="[Unknown]"),h.options===void 0?f:h.name==null?[f,h.options]:[f,h.options,h.name]}let o=class IR{constructor(){this._stack=[]}configure(d,f,{callerName:b,filepath:m}){return d?(y,x,v)=>{this._stack.push({type:f,callerName:b,filepath:m,content:y,index:x,envName:v})}:()=>{}}static*format(d){let f=p.title(d.type,d.callerName,d.filepath),b=p.loc(d.index,d.envName);b&&(f+=` ${b}`);let m=yield*p.optionsAndDescriptors(d.content);return`${f}
|
|
${m}`}*output(){return this._stack.length===0?"":(yield*n().all(this._stack.map(d=>IR.format(d)))).join(`
|
|
|
|
`)}};e.ConfigPrinter=o},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/resolve-targets.js":function(u,e,l){"use strict";function n(){let o=l("path");return n=function(){return o},o}function c(){let o=l("./stubs/helper-compilation-targets.mjs");return c=function(){return o},o}function p(o,h){return n().resolve(h,o)}function i(o,h){let d,f,b=o.targets;typeof b=="string"||Array.isArray(b)?d={browsers:b}:b&&(d="esmodules"in b?Object.assign({},b,{esmodules:"intersect"}):b);let{browserslistConfigFile:m}=o,y=!1;return typeof m=="string"?f=m:y=m===!1,(0,c().default)(d,{ignoreBrowserslistConfig:y,configFile:f,configPath:h,browserslistEnv:o.browserslistEnv})}Object.defineProperty(e,"__esModule",{value:!0}),e.resolveBrowserslistConfigFile=p,e.resolveTargets=i},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/util.js":function(u,e){"use strict";function l(p,i){for(let o of Object.keys(i))if((o==="parserOpts"||o==="generatorOpts"||o==="assumptions")&&i[o]){let h=i[o];n(p[o]||(p[o]={}),h)}else{let h=i[o];h!==void 0&&(p[o]=h)}}function n(p,i){for(let o of Object.keys(i)){let h=i[o];h!==void 0&&(p[o]=h)}}function c(p){return!!p&&typeof p.next=="function"&&typeof p[Symbol.iterator]=="function"}Object.defineProperty(e,"__esModule",{value:!0}),e.isIterableIterator=c,e.mergeOptions=l},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/validation/option-assertions.js":function(u,e,l){"use strict";function n(){let q=l("./stubs/helper-compilation-targets.mjs");return n=function(){return q},q}Object.defineProperty(e,"__esModule",{value:!0}),e.access=i,e.assertArray=S,e.assertAssumptions=B,e.assertBabelrcSearch=k,e.assertBoolean=v,e.assertCallerMetadata=b,e.assertCompact=d,e.assertConfigApplicableTest=L,e.assertConfigFileSearch=F,e.assertFunction=x,e.assertIgnoreList=_,e.assertInputSourceMap=m,e.assertObject=E,e.assertPluginList=U,e.assertRootMode=o,e.assertSourceMaps=h,e.assertSourceType=f,e.assertString=y,e.assertTargets=R,e.msg=p;var c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/validation/options.js");function p(q){switch(q.type){case"root":return"";case"env":return`${p(q.parent)}.env["${q.name}"]`;case"overrides":return`${p(q.parent)}.overrides[${q.index}]`;case"option":return`${p(q.parent)}.${q.name}`;case"access":return`${p(q.parent)}[${JSON.stringify(q.name)}]`;default:throw Error(`Assertion failure: Unknown type ${q.type}`)}}function i(q,K){return{type:"access",name:K,parent:q}}function o(q,K){if(K!==void 0&&K!=="root"&&K!=="upward"&&K!=="upward-optional")throw Error(`${p(q)} must be a "root", "upward", "upward-optional" or undefined`);return K}function h(q,K){if(K!==void 0&&typeof K!="boolean"&&K!=="inline"&&K!=="both")throw Error(`${p(q)} must be a boolean, "inline", "both", or undefined`);return K}function d(q,K){if(K!==void 0&&typeof K!="boolean"&&K!=="auto")throw Error(`${p(q)} must be a boolean, "auto", or undefined`);return K}function f(q,K){if(K!==void 0&&K!=="module"&&K!=="commonjs"&&K!=="script"&&K!=="unambiguous")throw Error(`${p(q)} must be "module", "commonjs", "script", "unambiguous", or undefined`);return K}function b(q,K){let $=E(q,K);if($){if(typeof $.name!="string")throw Error(`${p(q)} set but does not contain "name" property string`);for(let W of Object.keys($)){let Z=i(q,W),Q=$[W];if(Q!=null&&typeof Q!="boolean"&&typeof Q!="string"&&typeof Q!="number")throw Error(`${p(Z)} must be null, undefined, a boolean, a string, or a number.`)}}return K}function m(q,K){if(K!==void 0&&typeof K!="boolean"&&(typeof K!="object"||!K))throw Error(`${p(q)} must be a boolean, object, or undefined`);return K}function y(q,K){if(K!==void 0&&typeof K!="string")throw Error(`${p(q)} must be a string, or undefined`);return K}function x(q,K){if(K!==void 0&&typeof K!="function")throw Error(`${p(q)} must be a function, or undefined`);return K}function v(q,K){if(K!==void 0&&typeof K!="boolean")throw Error(`${p(q)} must be a boolean, or undefined`);return K}function E(q,K){if(K!==void 0&&(typeof K!="object"||Array.isArray(K)||!K))throw Error(`${p(q)} must be an object, or undefined`);return K}function S(q,K){if(K!=null&&!Array.isArray(K))throw Error(`${p(q)} must be an array, or undefined`);return K}function _(q,K){let $=S(q,K);return $==null||$.forEach((W,Z)=>A(i(q,Z),W)),$}function A(q,K){if(typeof K!="string"&&typeof K!="function"&&!(K instanceof RegExp))throw Error(`${p(q)} must be an array of string/Function/RegExp values, or undefined`);return K}function L(q,K){if(K===void 0)return K;if(Array.isArray(K))K.forEach(($,W)=>{if(!j($))throw Error(`${p(i(q,W))} must be a string/Function/RegExp.`)});else if(!j(K))throw Error(`${p(q)} must be a string/Function/RegExp, or an array of those`);return K}function j(q){return typeof q=="string"||typeof q=="function"||q instanceof RegExp}function F(q,K){if(K!==void 0&&typeof K!="boolean"&&typeof K!="string")throw Error(`${p(q)} must be a undefined, a boolean, a string, got ${JSON.stringify(K)}`);return K}function k(q,K){if(K===void 0||typeof K=="boolean")return K;if(Array.isArray(K))K.forEach(($,W)=>{if(!j($))throw Error(`${p(i(q,W))} must be a string/Function/RegExp.`)});else if(!j(K))throw Error(`${p(q)} must be a undefined, a boolean, a string/Function/RegExp or an array of those, got ${JSON.stringify(K)}`);return K}function U(q,K){let $=S(q,K);return $&&$.forEach((W,Z)=>z(i(q,Z),W)),$}function z(q,K){if(Array.isArray(K)){if(K.length===0)throw Error(`${p(q)} must include an object`);if(K.length>3)throw Error(`${p(q)} may only be a two-tuple or three-tuple`);if(C(i(q,0),K[0]),K.length>1){let $=K[1];if($!==void 0&&$!==!1&&(typeof $!="object"||Array.isArray($)||$===null))throw Error(`${p(i(q,1))} must be an object, false, or undefined`)}if(K.length===3){let $=K[2];if($!==void 0&&typeof $!="string")throw Error(`${p(i(q,2))} must be a string, or undefined`)}}else C(q,K);return K}function C(q,K){if((typeof K!="object"||!K)&&typeof K!="string"&&typeof K!="function")throw Error(`${p(q)} must be a string, object, function`);return K}function R(q,K){if((0,n().isBrowsersQueryValid)(K))return K;if(typeof K!="object"||!K||Array.isArray(K))throw Error(`${p(q)} must be a string, an array of strings or an object`);let $=i(q,"browsers"),W=i(q,"esmodules");for(let Z of(G($,K.browsers),v(W,K.esmodules),Object.keys(K))){let Q=K[Z],X=i(q,Z);if(Z==="esmodules")v(X,Q);else if(Z==="browsers")G(X,Q);else if(hasOwnProperty.call(n().TargetNames,Z))V(X,Q);else{let ie=Object.keys(n().TargetNames).join(", ");throw Error(`${p(X)} is not a valid target. Supported targets are ${ie}`)}}return K}function G(q,K){if(K!==void 0&&!(0,n().isBrowsersQueryValid)(K))throw Error(`${p(q)} must be undefined, a string or an array of strings`)}function V(q,K){if((typeof K!="number"||Math.round(K)!==K)&&typeof K!="string")throw Error(`${p(q)} must be a string or an integer number`)}function B(q,K){if(K===void 0)return;if(typeof K!="object"||K===null)throw Error(`${p(q)} must be an object or undefined.`);let $=q;do $=$.parent;while($.type!=="root");let W=$.source==="preset";for(let Z of Object.keys(K)){let Q=i(q,Z);if(!c.assumptionsNames.has(Z))throw Error(`${p(Q)} is not a supported assumption.`);if(typeof K[Z]!="boolean")throw Error(`${p(Q)} must be a boolean.`);if(W&&K[Z]===!1)throw Error(`${p(Q)} cannot be set to 'false' inside presets.`)}return K}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/validation/options.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assumptionsNames=void 0,e.checkNoUnwrappedItemOptionPairs=S,e.validate=b;var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/validation/removed.js"),c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/validation/option-assertions.js"),p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/errors/config-error.js");let i={cwd:c.assertString,root:c.assertString,rootMode:c.assertRootMode,configFile:c.assertConfigFileSearch,caller:c.assertCallerMetadata,filename:c.assertString,filenameRelative:c.assertString,code:c.assertBoolean,ast:c.assertBoolean,cloneInputAst:c.assertBoolean,envName:c.assertString},o={babelrc:c.assertBoolean,babelrcRoots:c.assertBabelrcSearch},h={extends:c.assertString,ignore:c.assertIgnoreList,only:c.assertIgnoreList,targets:c.assertTargets,browserslistConfigFile:c.assertConfigFileSearch,browserslistEnv:c.assertString},d={inputSourceMap:c.assertInputSourceMap,presets:c.assertPluginList,plugins:c.assertPluginList,passPerPreset:c.assertBoolean,assumptions:c.assertAssumptions,env:v,overrides:E,test:c.assertConfigApplicableTest,include:c.assertConfigApplicableTest,exclude:c.assertConfigApplicableTest,retainLines:c.assertBoolean,comments:c.assertBoolean,shouldPrintComment:c.assertFunction,compact:c.assertCompact,minified:c.assertBoolean,auxiliaryCommentBefore:c.assertString,auxiliaryCommentAfter:c.assertString,sourceType:c.assertSourceType,wrapPluginVisitorMethod:c.assertFunction,highlightCode:c.assertBoolean,sourceMaps:c.assertSourceMaps,sourceMap:c.assertSourceMaps,sourceFileName:c.assertString,sourceRoot:c.assertString,parserOpts:c.assertObject,generatorOpts:c.assertObject};function f(_){return _.type==="root"?_.source:f(_.parent)}function b(_,A,L){try{return m({type:"root",source:_},A)}catch(j){let F=new p.default(j.message,L);throw j.code&&(F.code=j.code),F}}function m(_,A){let L=f(_);return x(A),Object.keys(A).forEach(j=>{let F={type:"option",name:j,parent:_};if(L==="preset"&&h[j])throw Error(`${(0,c.msg)(F)} is not allowed in preset options`);if(L!=="arguments"&&i[j])throw Error(`${(0,c.msg)(F)} is only allowed in root programmatic options`);if(L!=="arguments"&&L!=="configfile"&&o[j])throw Error(L==="babelrcfile"||L==="extendsfile"?`${(0,c.msg)(F)} is not allowed in .babelrc or "extends"ed files, only in root programmatic options, or babel.config.js/config file options`:`${(0,c.msg)(F)} is only allowed in root programmatic options, or babel.config.js/config file options`);(d[j]||h[j]||o[j]||i[j]||y)(F,A[j])}),A}function y(_){let A=_.name;if(n.default[A]){let{message:L,version:j=5}=n.default[A];throw Error(`Using removed Babel ${j} option: ${(0,c.msg)(_)} - ${L}`)}{let L=Error(`Unknown option: ${(0,c.msg)(_)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);throw L.code="BABEL_UNKNOWN_OPTION",L}}function x(_){if(hasOwnProperty.call(_,"sourceMap")&&hasOwnProperty.call(_,"sourceMaps"))throw Error(".sourceMap is an alias for .sourceMaps, cannot use both")}function v(_,A){if(_.parent.type==="env")throw Error(`${(0,c.msg)(_)} is not allowed inside of another .env block`);let L=_.parent,j=(0,c.assertObject)(_,A);if(j)for(let F of Object.keys(j)){let k=(0,c.assertObject)((0,c.access)(_,F),j[F]);k&&m({type:"env",name:F,parent:L},k)}return j}function E(_,A){if(_.parent.type==="env")throw Error(`${(0,c.msg)(_)} is not allowed inside an .env block`);if(_.parent.type==="overrides")throw Error(`${(0,c.msg)(_)} is not allowed inside an .overrides block`);let L=_.parent,j=(0,c.assertArray)(_,A);if(j)for(let[F,k]of j.entries()){let U=(0,c.access)(_,F),z=(0,c.assertObject)(U,k);if(!z)throw Error(`${(0,c.msg)(U)} must be an object`);m({type:"overrides",index:F,parent:L},z)}return j}function S(_,A,L,j){if(A===0)return;let F=_[A-1],k=_[A];F.file&&F.options===void 0&&typeof k.value=="object"&&(j.message+=`
|
|
- Maybe you meant to use
|
|
"${L}s": [
|
|
["${F.file.request}", ${JSON.stringify(k.value,void 0,2)}]
|
|
]
|
|
To be a valid ${L}, its name and options should be wrapped in a pair of brackets`)}Object.assign(d,{getModuleId:c.assertFunction,moduleRoot:c.assertString,moduleIds:c.assertBoolean,moduleId:c.assertString}),e.assumptionsNames=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","noUninitializedPrivateFieldAccess","objectRestNoSymbols","privateFieldsAsSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"])},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/validation/plugins.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.validatePluginObject=o;var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/validation/option-assertions.js");let c={name:n.assertString,manipulateOptions:n.assertFunction,pre:n.assertFunction,post:n.assertFunction,inherits:n.assertFunction,visitor:p,parserOverride:n.assertFunction,generatorOverride:n.assertFunction};function p(h,d){let f=(0,n.assertObject)(h,d);if(f&&(Object.keys(f).forEach(b=>{b!=="_exploded"&&b!=="_verified"&&i(b,f[b])}),f.enter||f.exit))throw Error(`${(0,n.msg)(h)} cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.`);return f}function i(h,d){if(d&&typeof d=="object")Object.keys(d).forEach(f=>{if(f!=="enter"&&f!=="exit")throw Error(`.visitor["${h}"] may only have .enter and/or .exit handlers.`)});else if(typeof d!="function")throw Error(`.visitor["${h}"] must be a function`)}function o(h){let d={type:"root",source:"plugin"};return Object.keys(h).forEach(f=>{let b=c[f];if(b)b({type:"option",name:f,parent:d},h[f]);else{let m=Error(`.${f} is not a valid Plugin property`);throw m.code="BABEL_UNKNOWN_PLUGIN_PROPERTY",m}}),h}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/validation/removed.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.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.28.4/node_modules/@babel/core/lib/errors/config-error.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let c=class extends Error{constructor(i,o){super(i),(0,n.expectedError)(this),o&&(0,n.injectVirtualStackFrame)(this,o)}};e.default=c},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js":function(u,e){"use strict";var l;Object.defineProperty(e,"__esModule",{value:!0}),e.beginHiddenCallStack=m,e.endHiddenCallStack=y,e.expectedError=b,e.injectVirtualStackFrame=f;let n=Function.call.bind(Error.prototype.toString),c=!!Error.captureStackTrace&&((l=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit"))==null?void 0:l.writable)===!0,p="startHiding - secret - don't use this - v1",i="stopHiding - secret - don't use this - v1",o=new WeakSet,h=new WeakMap;function d(E){return Object.create({isNative:()=>!1,isConstructor:()=>!1,isToplevel:()=>!0,getFileName:()=>E,getLineNumber:()=>{},getColumnNumber:()=>{},getFunctionName:()=>{},getMethodName:()=>{},getTypeName:()=>{},toString:()=>E})}function f(E,S){if(!c)return;let _=h.get(E);return _||h.set(E,_=[]),_.push(d(S)),E}function b(E){if(c)return o.add(E),E}function m(E){return c?Object.defineProperty(function(...S){return x(),E(...S)},"name",{value:i}):E}function y(E){return c?Object.defineProperty(function(...S){return E(...S)},"name",{value:p}):E}function x(){x=()=>{};let{prepareStackTrace:E=v}=Error;Error.stackTraceLimit&&(Error.stackTraceLimit=Math.max(Error.stackTraceLimit,50)),Error.prepareStackTrace=function(S,_){let A=[],L=o.has(S)?"hiding":"unknown";for(let j=0;j<_.length;j++){let F=_[j].getFunctionName();if(F===p)L="hiding";else if(F===i){if(L==="hiding")L="showing",h.has(S)&&A.unshift(...h.get(S));else if(L==="unknown"){A=_;break}}else L!=="hiding"&&A.push(_[j])}return E(S,A)}}function v(E,S){return S.length===0?n(E):`${n(E)}
|
|
at ${S.join(`
|
|
at `)}`}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/gensync-utils/async.js":function(u,e,l){"use strict";var n,c;function p(){let y=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return p=function(){return y},y}function i(y,x,v,E,S,_,A){try{var L=y[_](A),j=L.value}catch(F){return void v(F)}L.done?x(j):Promise.resolve(j).then(E,S)}function o(y){return function(){var x=this,v=arguments;return new Promise(function(E,S){var _=y.apply(x,v);function A(j){i(_,E,S,A,L,"next",j)}function L(j){i(_,E,S,A,L,"throw",j)}A(void 0)})}}Object.defineProperty(e,"__esModule",{value:!0}),e.forwardAsync=b,e.isAsync=void 0,e.isThenable=m,e.maybeAsync=d,e.waitFor=e.onFirstPause=void 0;let h=p()(function*(y){return yield*y});function d(y,x){return p()({sync(...v){let E=y.apply(this,v);if(m(E))throw Error(x);return E},async(...v){return Promise.resolve(y.apply(this,v))}})}e.isAsync=p()({sync:()=>!1,errback:y=>y(null,!0)});let f=p()({sync:y=>y("sync"),async:(n=o(function*(y){return y("async")}),function(y){return n.apply(this,arguments)})});function b(y,x){let v=p()(y);return f(E=>x(v[E]))}function m(y){return!!y&&(typeof y=="object"||typeof y=="function")&&!!y.then&&typeof y.then=="function"}e.onFirstPause=p()({name:"onFirstPause",arity:2,sync:function(y){return h.sync(y)},errback:function(y,x,v){let E=!1;h.errback(y,(S,_)=>{E=!0,v(S,_)}),E||x()}}),e.waitFor=p()({sync:y=>y,async:(c=o(function*(y){return y}),function(y){return c.apply(this,arguments)})})},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/gensync-utils/fs.js":function(u,e,l){"use strict";function n(){let p=l("fs");return n=function(){return p},p}function c(){let p=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return c=function(){return p},p}Object.defineProperty(e,"__esModule",{value:!0}),e.stat=e.readFile=void 0,e.readFile=c()({sync:n().readFileSync,errback:n().readFile}),e.stat=c()({sync:n().statSync,errback:n().stat})},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/gensync-utils/functional.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.once=c;var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/gensync-utils/async.js");function c(p){let i,o,h=!1;return function*(){if(!i){if(o)return h=!0,yield*(0,n.waitFor)(o);if(yield*(0,n.isAsync)()){let d,f;o=new Promise((b,m)=>{d=b,f=m});try{i={ok:!0,value:yield*p()},o=null,h&&d(i.value)}catch(b){i={ok:!1,value:b},o=null,h&&f(b)}}else try{i={ok:!0,value:yield*p()}}catch(d){i={ok:!1,value:d}}}if(i.ok)return i.value;throw i.value}}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_EXTENSIONS=void 0,Object.defineProperty(e,"File",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(e,"buildExternalHelpers",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(e,"createConfigItem",{enumerable:!0,get:function(){return b.createConfigItem}}),Object.defineProperty(e,"createConfigItemAsync",{enumerable:!0,get:function(){return b.createConfigItemAsync}}),Object.defineProperty(e,"createConfigItemSync",{enumerable:!0,get:function(){return b.createConfigItemSync}}),Object.defineProperty(e,"getEnv",{enumerable:!0,get:function(){return i.getEnv}}),Object.defineProperty(e,"loadOptions",{enumerable:!0,get:function(){return b.loadOptions}}),Object.defineProperty(e,"loadOptionsAsync",{enumerable:!0,get:function(){return b.loadOptionsAsync}}),Object.defineProperty(e,"loadOptionsSync",{enumerable:!0,get:function(){return b.loadOptionsSync}}),Object.defineProperty(e,"loadPartialConfig",{enumerable:!0,get:function(){return b.loadPartialConfig}}),Object.defineProperty(e,"loadPartialConfigAsync",{enumerable:!0,get:function(){return b.loadPartialConfigAsync}}),Object.defineProperty(e,"loadPartialConfigSync",{enumerable:!0,get:function(){return b.loadPartialConfigSync}}),Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return v.parse}}),Object.defineProperty(e,"parseAsync",{enumerable:!0,get:function(){return v.parseAsync}}),Object.defineProperty(e,"parseSync",{enumerable:!0,get:function(){return v.parseSync}}),e.resolvePreset=e.resolvePlugin=void 0,Object.defineProperty(e,"template",{enumerable:!0,get:function(){return f().default}}),Object.defineProperty(e,"tokTypes",{enumerable:!0,get:function(){return h().tokTypes}}),Object.defineProperty(e,"transform",{enumerable:!0,get:function(){return m.transform}}),Object.defineProperty(e,"transformAsync",{enumerable:!0,get:function(){return m.transformAsync}}),Object.defineProperty(e,"transformFile",{enumerable:!0,get:function(){return y.transformFile}}),Object.defineProperty(e,"transformFileAsync",{enumerable:!0,get:function(){return y.transformFileAsync}}),Object.defineProperty(e,"transformFileSync",{enumerable:!0,get:function(){return y.transformFileSync}}),Object.defineProperty(e,"transformFromAst",{enumerable:!0,get:function(){return x.transformFromAst}}),Object.defineProperty(e,"transformFromAstAsync",{enumerable:!0,get:function(){return x.transformFromAstAsync}}),Object.defineProperty(e,"transformFromAstSync",{enumerable:!0,get:function(){return x.transformFromAstSync}}),Object.defineProperty(e,"transformSync",{enumerable:!0,get:function(){return m.transformSync}}),Object.defineProperty(e,"traverse",{enumerable:!0,get:function(){return d().default}}),e.version=e.types=void 0;var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/file/file.js"),c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/tools/build-external-helpers.js"),p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/files/index.js"),i=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/helpers/environment.js");function o(){let E=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");return o=function(){return E},E}function h(){let E=l("./node_modules/.pnpm/@babel+parser@7.28.4/node_modules/@babel/parser/lib/index.js");return h=function(){return E},E}function d(){let E=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/index.js");return d=function(){return E},E}function f(){let E=l("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/index.js");return f=function(){return E},E}Object.defineProperty(e,"types",{enumerable:!0,get:function(){return o()}});var b=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/index.js"),m=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transform.js"),y=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transform-file.js"),x=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transform-ast.js"),v=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/parse.js");e.version="7.28.4",e.resolvePlugin=(E,S)=>p.resolvePlugin(E,S,!1).filepath,e.resolvePreset=(E,S)=>p.resolvePreset(E,S,!1).filepath,e.DEFAULT_EXTENSIONS=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]),e.OptionManager=class{init(E){return(0,b.loadOptionsSync)(E)}},e.Plugin=function(E){throw Error(`The (${E}) Babel 5 plugin is being run with an unsupported Babel version.`)}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/parse.js":function(u,e,l){"use strict";function n(){let b=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return n=function(){return b},b}Object.defineProperty(e,"__esModule",{value:!0}),e.parse=void 0,e.parseAsync=f,e.parseSync=d;var c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/index.js"),p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/parser/index.js"),i=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/normalize-opts.js"),o=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let h=n()(function*(b,m){let y=yield*(0,c.default)(m);return y===null?null:yield*(0,p.default)(y.passes,(0,i.default)(y),b)});function d(...b){return(0,o.beginHiddenCallStack)(h.sync)(...b)}function f(...b){return(0,o.beginHiddenCallStack)(h.async)(...b)}e.parse=function(b,m,y){if(typeof m=="function"&&(y=m,m=void 0),y===void 0)return(0,o.beginHiddenCallStack)(h.sync)(b,m);(0,o.beginHiddenCallStack)(h.errback)(b,m,y)}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/parser/index.js":function(u,e,l){"use strict";function n(){let o=l("./node_modules/.pnpm/@babel+parser@7.28.4/node_modules/@babel/parser/lib/index.js");return n=function(){return o},o}function c(){let o=l("./stubs/babel-codeframe.mjs");return c=function(){return o},o}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js");function*i(o,{parserOpts:h,highlightCode:d=!0,filename:f="unknown"},b){try{let m=[];for(let y of o)for(let x of y){let{parserOverride:v}=x;if(v){let E=v(b,h,n().parse);E!==void 0&&m.push(E)}}if(m.length===0)return(0,n().parse)(b,h);if(m.length===1){if(yield*[],typeof m[0].then=="function")throw 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 m[0]}throw Error("More than one plugin attempted to override parsing.")}catch(m){m.code==="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"&&(m.message+=`
|
|
Consider renaming the file to '.mjs', or setting sourceType:module or sourceType:unambiguous in your Babel config for this file.`);let{loc:y,missingPlugin:x}=m;if(y){let v=(0,c().codeFrameColumns)(b,{start:{line:y.line,column:y.column+1}},{highlightCode:d});x?m.message=`${f}: `+(0,p.default)(x[0],y,v,f):m.message=`${f}: ${m.message}
|
|
|
|
`+v,m.code="BABEL_PARSE_ERROR"}throw m}}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/parser/util/missing-plugin-helper.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;let l={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"}},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(l,{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"}},importAttributes:{syntax:{name:"@babel/plugin-syntax-import-attributes",url:"https://github.com/babel/babel/tree/main/packages/babel-plugin-syntax-import-attributes"}},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 n=({name:p,url:i})=>`${p} (${i})`;function c(p,i,o,h){let d=`Support for the experimental syntax '${p}' isn't currently enabled (${i.line}:${i.column+1}):
|
|
|
|
`+o,f=l[p];if(f){let{syntax:b,transform:m}=f;if(b){let y=n(b);if(m){let x=n(m),v=m.name.startsWith("@babel/plugin")?"plugins":"presets";d+=`
|
|
|
|
Add ${x} to the '${v}' 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.`}else d+=`
|
|
|
|
Add ${y} to the 'plugins' section of your Babel config to enable parsing.`}}return d+`
|
|
|
|
If you already added the plugin for this syntax to your config, it's possible that your config isn't being loaded.
|
|
You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:
|
|
npx cross-env BABEL_SHOW_CONFIG_FOR=${h==="unknown"?"<name of the input file>":h} <your build command>
|
|
See https://babeljs.io/docs/configuration#print-effective-configs for more info.
|
|
`}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/tools/build-external-helpers.js":function(u,e,l){"use strict";function n(){let K=l("./node_modules/.pnpm/@babel+helpers@7.28.4/node_modules/@babel/helpers/lib/index.js");return n=function(){return K},K}function c(){let K=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/index.js");return c=function(){return K},K}function p(){let K=l("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/index.js");return p=function(){return K},K}function i(){let K=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");return i=function(){return K},K}Object.defineProperty(e,"__esModule",{value:!0}),e.default=q;let{arrayExpression:o,assignmentExpression:h,binaryExpression:d,blockStatement:f,callExpression:b,cloneNode:m,conditionalExpression:y,exportNamedDeclaration:x,exportSpecifier:v,expressionStatement:E,functionExpression:S,identifier:_,memberExpression:A,objectExpression:L,program:j,stringLiteral:F,unaryExpression:k,variableDeclaration:U,variableDeclarator:z}=i();function C(K){let $=_("babelHelpers"),W=[],Z=j([E(b(S(null,[_("global")],f(W)),[y(d("===",k("typeof",_("global")),F("undefined")),_("self"),_("global"))]))]);return W.push(U("var",[z($,h("=",A(_("global"),$),L([])))])),B(W,$,K),Z}function R(K){let $=[],W=B($,null,K);return $.unshift(x(null,Object.keys(W).map(Z=>v(m(W[Z]),_(Z))))),j($,[],"module")}function G(K){let $,W=_("babelHelpers"),Z=[];return Z.push(U("var",[z(W,_("global"))])),B(Z,W,K),j([($={FACTORY_PARAMETERS:_("global"),BROWSER_ARGUMENTS:h("=",A(_("root"),W),L([])),COMMON_ARGUMENTS:_("exports"),AMD_ARGUMENTS:o([F("exports")]),FACTORY_BODY:Z,UMD_ROOT:_("this")},p().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
|
|
});
|
|
`($))])}function V(K){let $=_("babelHelpers"),W=[];W.push(U("var",[z($,L([]))]));let Z=j(W);return B(W,$,K),W.push(E($)),Z}function B(K,$,W){let Z=X=>$?A($,_(X)):_(`_${X}`),Q={};return n().list.forEach(function(X){if(W&&!W.includes(X))return;let ie=Q[X]=Z(X),{nodes:oe}=n().get(X,Z,$?null:`_${X}`,[],$?(be,Ne,Pe)=>{Pe(Ke=>h("=",ie,Ke)),be.body.push(E(h("=",ie,_(Ne))))}:null);K.push(...oe)}),Q}function q(K,$="global"){let W,Z={global:C,module:R,umd:G,var:V}[$];if(Z)W=Z(K);else throw Error(`Unsupported output type ${$}`);return(0,c().default)(W).code}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transform-ast.js":function(u,e,l){"use strict";function n(){let f=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return n=function(){return f},f}Object.defineProperty(e,"__esModule",{value:!0}),e.transformFromAst=void 0,e.transformFromAstAsync=d,e.transformFromAstSync=h;var c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/index.js"),p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/index.js"),i=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let o=n()(function*(f,b,m){let y=yield*(0,c.default)(m);if(y===null)return null;if(!f)throw Error("No AST given");return yield*(0,p.run)(y,b,f)});function h(...f){return(0,i.beginHiddenCallStack)(o.sync)(...f)}function d(...f){return(0,i.beginHiddenCallStack)(o.async)(...f)}e.transformFromAst=function(f,b,m,y){let x,v;if(typeof m=="function"?(v=m,x=void 0):(x=m,v=y),v===void 0)return(0,i.beginHiddenCallStack)(o.sync)(f,b,x);(0,i.beginHiddenCallStack)(o.errback)(f,b,x,v)}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transform-file.js":function(u,e,l){"use strict";function n(){let b=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return n=function(){return b},b}Object.defineProperty(e,"__esModule",{value:!0}),e.transformFile=h,e.transformFileAsync=f,e.transformFileSync=d;var c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/index.js"),p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/index.js"),i=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/gensync-utils/fs.js");let o=n()(function*(b,m){let y=Object.assign({},m,{filename:b}),x=yield*(0,c.default)(y);if(x===null)return null;let v=yield*i.readFile(b,"utf8");return yield*(0,p.run)(x,v)});function h(...b){o.errback(...b)}function d(...b){return o.sync(...b)}function f(...b){return o.async(...b)}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transform.js":function(u,e,l){"use strict";function n(){let f=l("./node_modules/.pnpm/gensync@1.0.0-beta.2/node_modules/gensync/index.js");return n=function(){return f},f}Object.defineProperty(e,"__esModule",{value:!0}),e.transform=void 0,e.transformAsync=d,e.transformSync=h;var c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/index.js"),p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/index.js"),i=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/errors/rewrite-stack-trace.js");let o=n()(function*(f,b){let m=yield*(0,c.default)(b);return m===null?null:yield*(0,p.run)(m,f)});function h(...f){return(0,i.beginHiddenCallStack)(o.sync)(...f)}function d(...f){return(0,i.beginHiddenCallStack)(o.async)(...f)}e.transform=function(f,b,m){let y,x;if(typeof b=="function"?(x=b,y=void 0):(y=b,x=m),x===void 0)return(0,i.beginHiddenCallStack)(o.sync)(f,y);(0,i.beginHiddenCallStack)(o.errback)(f,y,x)}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js":function(u,e,l){"use strict";let n;function c(){let b=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/index.js");return c=function(){return b},b}Object.defineProperty(e,"__esModule",{value:!0}),e.default=h;var p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/plugin.js");let i={name:"internal.blockHoist",visitor:{Block:{exit({node:b}){b.body=o(b.body)}},SwitchCase:{exit({node:b}){b.consequent=o(b.consequent)}}}};function o(b){let m=1073741823,y=!1;for(let x=0;x<b.length;x++){let v=d(b[x]);if(v>m){y=!0;break}m=v}return y?f(b.slice()):b}function h(){return n||(n=new p.default(Object.assign({},i,{visitor:c().default.explode(i.visitor)}),{})),n}function d(b){let m=b==null?void 0:b._blockHoist;return m==null?1:m===!0?2:m}function f(b){let m=Object.create(null);for(let v=0;v<b.length;v++){let E=b[v],S=d(E);(m[S]||(m[S]=[])).push(E)}let y=Object.keys(m).map(v=>+v).sort((v,E)=>E-v),x=0;for(let v of y)for(let E of m[v])b[x++]=E;return b}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs":function(u,e,l){e.getModuleName=()=>l("./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/index.js").getModuleName},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/file/file.js":function(u,e,l){"use strict";function n(){let y=l("./node_modules/.pnpm/@babel+helpers@7.28.4/node_modules/@babel/helpers/lib/index.js");return n=function(){return y},y}function c(){let y=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/index.js");return c=function(){return y},y}function p(){let y=l("./stubs/babel-codeframe.mjs");return p=function(){return y},y}function i(){let y=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");return i=function(){return y},y}function o(){let y=l("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js");return o=function(){return y},y}Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var h=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/file/babel-7-helpers.cjs");let{cloneNode:d,interpreterDirective:f}=i(),b={enter(y,x){let v=y.node.loc;v&&(x.loc=v,y.stop())}},m=class{constructor(x,{code:v,ast:E,inputMap:S}){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=x,this.code=v,this.ast=E,this.inputMap=S,this.path=c().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:x}=this.path.node;return x?x.value:""}set shebang(x){x?this.path.get("interpreter").replaceWith(f(x)):this.path.get("interpreter").remove()}set(x,v){if(x==="helpersNamespace")throw 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(x,v)}get(x){return this._map.get(x)}has(x){return this._map.has(x)}availableHelper(x,v){let E;if(n().isInternal(x))return!1;try{E=n().minVersion(x)}catch(S){if(S.code!=="BABEL_HELPER_UNKNOWN")throw S;return!1}return typeof v!="string"||(o().valid(v)&&(v=`^${v}`),!o().intersects(`<${E}`,v)&&!o().intersects(">=8.0.0",v))}addHelper(x){if(n().isInternal(x))throw Error("Cannot use internal helper "+x);return this._addHelper(x)}_addHelper(x){let v=this.declarations[x];if(v)return d(v);let E=this.get("helperGenerator");if(E){let j=E(x);if(j)return j}n().minVersion(x);let S=this.declarations[x]=this.scope.generateUidIdentifier(x),_={};for(let j of n().getDependencies(x))_[j]=this._addHelper(j);let{nodes:A,globals:L}=n().get(x,j=>_[j],S.name,Object.keys(this.scope.getAllBindings()));for(let j of(L.forEach(F=>{this.path.scope.hasBinding(F,!0)&&this.path.scope.rename(F)}),A.forEach(F=>{F._compact=!0}),this.path.unshiftContainer("body",A)))j.isVariableDeclaration()&&this.scope.registerDeclaration(j);return S}buildCodeFrameError(x,v,E=SyntaxError){let S=x==null?void 0:x.loc;if(!S&&x){let _={loc:null};(0,c().default)(x,b,this.scope,_);let A="This is an error on an internal node. Probably an internal error.";(S=_.loc)&&(A+=" Location has been estimated."),v+=` (${A})`}if(S){let{highlightCode:_=!0}=this.opts;v+=`
|
|
`+(0,p().codeFrameColumns)(this.code,{start:{line:S.start.line,column:S.start.column+1},end:S.end&&S.start.line===S.end.line?{line:S.end.line,column:S.end.column+1}:void 0},{highlightCode:_})}return new E(v)}};e.default=m,m.prototype.addImport=function(){throw 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'.")},m.prototype.addTemplateObject=function(){throw Error("This function has been moved into the template literal transform itself.")},m.prototype.getModuleName=function(){return h.getModuleName()(this.opts,this.opts)}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/file/generate.js":function(u,e,l){"use strict";function n(){let o=l("./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js");return n=function(){return o},o}function c(){let o=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/index.js");return c=function(){return o},o}Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/file/merge-map.js");function i(o,h){let d,{opts:f,ast:b,code:m,inputMap:y}=h,{generatorOpts:x}=f;x.inputSourceMap=y==null?void 0:y.toObject();let v=[];for(let _ of o)for(let A of _){let{generatorOverride:L}=A;if(L){let j=L(b,x,m,c().default);j!==void 0&&v.push(j)}}if(v.length===0)d=(0,c().default)(b,x,m);else if(v.length===1){if(typeof(d=v[0]).then=="function")throw 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.")}else throw Error("More than one plugin attempted to override codegen.");let{code:E,decodedMap:S=d.map}=d;return d.__mergedMap?S=Object.assign({},d.map):S&&(S=y?(0,p.default)(y.toObject(),S,x.sourceFileName):d.map),(f.sourceMaps==="inline"||f.sourceMaps==="both")&&(E+=`
|
|
`+n().fromObject(S).toComment()),f.sourceMaps==="inline"&&(S=null),{outputCode:E,outputMap:S}}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/file/merge-map.js":function(u,e,l){"use strict";function n(){let i=l("./node_modules/.pnpm/@jridgewell+remapping@2.3.5/node_modules/@jridgewell/remapping/dist/remapping.umd.js");return n=function(){return i},i}function c(i,o,h){let d=h.replace(/\\/g,"/"),f=!1,b=n()(p(o),(m,y)=>m!==d||f?null:(f=!0,y.source="",p(i)));return typeof i.sourceRoot=="string"&&(b.sourceRoot=i.sourceRoot),Object.assign({},b)}function p(i){return Object.assign({},i,{sourceRoot:null})}Object.defineProperty(e,"__esModule",{value:!0}),e.default=c},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/index.js":function(u,e,l){"use strict";function n(){let y=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/index.js");return n=function(){return y},y}Object.defineProperty(e,"__esModule",{value:!0}),e.run=b;var c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/plugin-pass.js"),p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/block-hoist-plugin.js"),i=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/normalize-opts.js"),o=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/normalize-file.js"),h=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/file/generate.js"),d=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/config/helpers/deep-array.js"),f=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/gensync-utils/async.js");function*b(y,x,v){var E,S;let _,A,L=yield*(0,o.default)(y.passes,(0,i.default)(y),x,v),j=L.opts;try{yield*m(L,y.passes)}catch(F){throw F.message=`${(E=j.filename)!=null?E:"unknown file"}: ${F.message}`,F.code||(F.code="BABEL_TRANSFORM_ERROR"),F}try{j.code!==!1&&({outputCode:_,outputMap:A}=(0,h.default)(y.passes,L))}catch(F){throw F.message=`${(S=j.filename)!=null?S:"unknown file"}: ${F.message}`,F.code||(F.code="BABEL_GENERATE_ERROR"),F}return{metadata:L.metadata,options:j,ast:j.ast===!0?L.ast:null,code:_===void 0?null:_,map:A===void 0?null:A,sourceType:L.ast.program.sourceType,externalDependencies:(0,d.flattenToSet)(y.externalDependencies)}}function*m(y,x){let v=yield*(0,f.isAsync)();for(let E of x){let S=[],_=[],A=[];for(let j of E.concat([(0,p.default)()])){let F=new c.default(y,j.key,j.options,v);S.push([j,F]),_.push(F),A.push(j.visitor)}for(let[j,F]of S)j.pre&&(yield*(0,f.maybeAsync)(j.pre,"You appear to be using an async plugin/preset, but Babel has been called synchronously").call(F,y));let L=n().default.visitors.merge(A,_,y.opts.wrapPluginVisitorMethod);for(let[j,F]of((0,n().default)(y.ast,L,y.scope),S))j.post&&(yield*(0,f.maybeAsync)(j.post,"You appear to be using an async plugin/preset, but Babel has been called synchronously").call(F,y))}}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/normalize-file.js":function(u,e,l){"use strict";function n(){let A=l("fs");return n=function(){return A},A}function c(){let A=l("path");return c=function(){return A},A}function p(){let A=l("./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js");return p=function(){return A},A}function i(){let A=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");return i=function(){return A},A}function o(){let A=l("./node_modules/.pnpm/convert-source-map@2.0.0/node_modules/convert-source-map/index.js");return o=function(){return A},A}Object.defineProperty(e,"__esModule",{value:!0}),e.default=E;var h=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/file/file.js"),d=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/parser/index.js"),f=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/util/clone-deep.js");let{file:b,traverseFast:m}=i(),y=p()("babel:transform:file"),x=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,.*$/,v=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function*E(A,L,j,F){if(j=`${j||""}`,F){if(F.type==="Program")F=b(F,[],[]);else if(F.type!=="File")throw Error("AST root must be a Program or File node");L.cloneInputAst&&(F=(0,f.default)(F))}else F=yield*(0,d.default)(A,L,j);let k=null;if(L.inputSourceMap!==!1){if(typeof L.inputSourceMap=="object"&&(k=o().fromObject(L.inputSourceMap)),!k){let U=_(x,F);if(U)try{k=o().fromComment("//"+U)}catch{y("discarding unknown inline input sourcemap")}}if(!k){let U=_(v,F);if(typeof L.filename=="string"&&U)try{let z=v.exec(U),C=n().readFileSync(c().resolve(c().dirname(L.filename),z[1]),"utf8");k=o().fromJSON(C)}catch(z){y("discarding unknown file input sourcemap",z)}else U&&y("discarding un-loadable file input sourcemap")}}return new h.default(L,{code:j,ast:F,inputMap:k})}function S(A,L,j){return L&&(L=L.filter(({value:F})=>!A.test(F)||(j=F,!1))),[L,j]}function _(A,L){let j=null;return m(L,F=>{[F.leadingComments,j]=S(A,F.leadingComments,j),[F.innerComments,j]=S(A,F.innerComments,j),[F.trailingComments,j]=S(A,F.trailingComments,j)}),j}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/normalize-opts.js":function(u,e,l){"use strict";function n(){let p=l("path");return n=function(){return p},p}function c(p){let{filename:i,cwd:o,filenameRelative:h=typeof i=="string"?n().relative(o,i):"unknown",sourceType:d="module",inputSourceMap:f,sourceMaps:b=!!f,sourceRoot:m=p.options.moduleRoot,sourceFileName:y=n().basename(h),comments:x=!0,compact:v="auto"}=p.options,E=p.options,S=Object.assign({},E,{parserOpts:Object.assign({sourceType:n().extname(h)===".mjs"?"module":d,sourceFileName:i,plugins:[]},E.parserOpts),generatorOpts:Object.assign({filename:i,auxiliaryCommentBefore:E.auxiliaryCommentBefore,auxiliaryCommentAfter:E.auxiliaryCommentAfter,retainLines:E.retainLines,comments:x,shouldPrintComment:E.shouldPrintComment,compact:v,minified:E.minified,sourceMaps:!!b,sourceRoot:m,sourceFileName:y},E.generatorOpts)});for(let _ of p.passes)for(let A of _)A.manipulateOptions&&A.manipulateOptions(S,S.parserOpts);return S}Object.defineProperty(e,"__esModule",{value:!0}),e.default=c},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/plugin-pass.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;let l=class{constructor(c,p,i,o){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.isAsync=void 0,this.key=p,this.file=c,this.opts=i||{},this.cwd=c.opts.cwd,this.filename=c.opts.filename,this.isAsync=o}set(c,p){this._map.set(c,p)}get(c){return this._map.get(c)}availableHelper(c,p){return this.file.availableHelper(c,p)}addHelper(c){return this.file.addHelper(c)}buildCodeFrameError(c,p,i){return this.file.buildCodeFrameError(c,p,i)}};e.default=l,l.prototype.getModuleName=function(){return this.file.getModuleName()},l.prototype.addImport=function(){this.file.addImport()}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/transformation/util/clone-deep.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;let l=new Set,n=0;function c(i,o,h){if(i!==null){let d;if(h){if(o.has(i))return o.get(i)}else if(++n>250){if(l.has(i))throw n=0,l.clear(),Error("Babel-deepClone: Cycles are not allowed in AST");l.add(i)}if(Array.isArray(i)){d=Array(i.length),h&&o.set(i,d);for(let f=0;f<i.length;f++)d[f]=typeof i[f]!="object"?i[f]:c(i[f],o,h)}else{d={},h&&o.set(i,d);let f=Object.keys(i);for(let b=0;b<f.length;b++){let m=f[b];d[m]=typeof i[m]!="object"?i[m]:c(i[m],o,h||m==="leadingComments"||m==="innerComments"||m==="trailingComments"||m==="extra")}}return!h&&n-- >250&&l.delete(i),d}return i}function p(i){if(typeof i!="object")return i;try{return c(i,new Map,!0)}catch{return structuredClone(i)}}},"./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/vendor/import-meta-resolve.js":function(u,e,l){"use strict";var n;let c,p;function i(){let rt=l("assert");return i=function(){return rt},rt}function o(){let rt=x(l("fs"),!0);return o=function(){return rt},rt}function h(){let rt=l("process");return h=function(){return rt},rt}function d(){let rt=l("url");return d=function(){return rt},rt}function f(){let rt=l("path");return f=function(){return rt},rt}function b(){let rt=l("module");return b=function(){return rt},rt}function m(){let rt=l("v8");return m=function(){return rt},rt}function y(){let rt=l("util");return y=function(){return rt},rt}function x(rt,At){if(typeof WeakMap=="function")var Mt=new WeakMap,$t=new WeakMap;return(x=function(zt,qt){if(!qt&&zt&&zt.__esModule)return zt;var pr,xr,Hr={__proto__:null,default:zt};if(zt===null||typeof zt!="object"&&typeof zt!="function")return Hr;if(pr=qt?$t:Mt){if(pr.has(zt))return pr.get(zt);pr.set(zt,Hr)}for(let Qr in zt)Qr!=="default"&&{}.hasOwnProperty.call(zt,Qr)&&((xr=(pr=Object.defineProperty)&&Object.getOwnPropertyDescriptor(zt,Qr))&&(xr.get||xr.set)?pr(Hr,Qr,xr):Hr[Qr]=zt[Qr]);return Hr})(rt,At)}Object.defineProperty(e,"__esModule",{value:!0}),e.moduleResolve=Tn,e.resolve=An;let v={}.hasOwnProperty,E=/^([A-Z][a-z\d]*)+$/,S=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),_={};function A(rt,At="and"){return rt.length<3?rt.join(` ${At} `):`${rt.slice(0,-1).join(", ")}, ${At} ${rt[rt.length-1]}`}let L=new Map;function j(rt,At,Mt){return L.set(rt,At),F(Mt,rt)}function F(rt,At){return Mt;function Mt(...$t){let zt=Error.stackTraceLimit;k()&&(Error.stackTraceLimit=0);let qt=new rt;k()&&(Error.stackTraceLimit=zt);let pr=z(At,$t,qt);return Object.defineProperties(qt,{message:{value:pr,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${At}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),U(qt),qt.code=At,qt}}function k(){try{if(m().startupSnapshot.isBuildingSnapshot())return!1}catch{}let rt=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return rt===void 0?Object.isExtensible(Error):v.call(rt,"writable")&&rt.writable!==void 0?rt.writable:rt.set!==void 0}_.ERR_INVALID_ARG_TYPE=j("ERR_INVALID_ARG_TYPE",(rt,At,Mt)=>{i()(typeof rt=="string","'name' must be a string"),Array.isArray(At)||(At=[At]);let $t="The ";if(rt.endsWith(" argument"))$t+=`${rt} `;else{let xr=rt.includes(".")?"property":"argument";$t+=`"${rt}" ${xr} `}$t+="must be ";let zt=[],qt=[],pr=[];for(let xr of At)i()(typeof xr=="string","All expected entries have to be of type string"),S.has(xr)?zt.push(xr.toLowerCase()):E.exec(xr)===null?(i()(xr!=="object",'The value "object" should be written as "Object"'),pr.push(xr)):qt.push(xr);if(qt.length>0){let xr=zt.indexOf("object");xr!==-1&&(zt.slice(xr,1),qt.push("Object"))}return zt.length>0&&($t+=`${zt.length>1?"one of type":"of type"} ${A(zt,"or")}`,(qt.length>0||pr.length>0)&&($t+=" or ")),qt.length>0&&($t+=`an instance of ${A(qt,"or")}`,pr.length>0&&($t+=" or ")),pr.length>0&&(pr.length>1?$t+=`one of ${A(pr,"or")}`:(pr[0].toLowerCase()!==pr[0]&&($t+="an "),$t+=`${pr[0]}`)),$t+=`. Received ${C(Mt)}`},TypeError),_.ERR_INVALID_MODULE_SPECIFIER=j("ERR_INVALID_MODULE_SPECIFIER",(rt,At,Mt)=>`Invalid module "${rt}" ${At}${Mt?` imported from ${Mt}`:""}`,TypeError),_.ERR_INVALID_PACKAGE_CONFIG=j("ERR_INVALID_PACKAGE_CONFIG",(rt,At,Mt)=>`Invalid package config ${rt}${At?` while importing ${At}`:""}${Mt?`. ${Mt}`:""}`,Error),_.ERR_INVALID_PACKAGE_TARGET=j("ERR_INVALID_PACKAGE_TARGET",(rt,At,Mt,$t=!1,zt)=>{let qt=typeof Mt=="string"&&!$t&&Mt.length>0&&!Mt.startsWith("./");return At==="."?(i()($t===!1),`Invalid "exports" main target ${JSON.stringify(Mt)} defined in the package config ${rt}package.json${zt?` imported from ${zt}`:""}${qt?'; targets must start with "./"':""}`):`Invalid "${$t?"imports":"exports"}" target ${JSON.stringify(Mt)} defined for '${At}' in the package config ${rt}package.json${zt?` imported from ${zt}`:""}${qt?'; targets must start with "./"':""}`},Error),_.ERR_MODULE_NOT_FOUND=j("ERR_MODULE_NOT_FOUND",(rt,At,Mt=!1)=>`Cannot find ${Mt?"module":"package"} '${rt}' imported from ${At}`,Error),_.ERR_NETWORK_IMPORT_DISALLOWED=j("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),_.ERR_PACKAGE_IMPORT_NOT_DEFINED=j("ERR_PACKAGE_IMPORT_NOT_DEFINED",(rt,At,Mt)=>`Package import specifier "${rt}" is not defined${At?` in package ${At}package.json`:""} imported from ${Mt}`,TypeError),_.ERR_PACKAGE_PATH_NOT_EXPORTED=j("ERR_PACKAGE_PATH_NOT_EXPORTED",(rt,At,Mt)=>At==="."?`No "exports" main defined in ${rt}package.json${Mt?` imported from ${Mt}`:""}`:`Package subpath '${At}' is not defined by "exports" in ${rt}package.json${Mt?` imported from ${Mt}`:""}`,Error),_.ERR_UNSUPPORTED_DIR_IMPORT=j("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),_.ERR_UNSUPPORTED_RESOLVE_REQUEST=j("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),_.ERR_UNKNOWN_FILE_EXTENSION=j("ERR_UNKNOWN_FILE_EXTENSION",(rt,At)=>`Unknown file extension "${rt}" for ${At}`,TypeError),_.ERR_INVALID_ARG_VALUE=j("ERR_INVALID_ARG_VALUE",(rt,At,Mt="is invalid")=>{let $t=(0,y().inspect)(At);return $t.length>128&&($t=`${$t.slice(0,128)}...`),`The ${rt.includes(".")?"property":"argument"} '${rt}' ${Mt}. Received ${$t}`},TypeError);let U=(p="__node_internal_"+(n=function(rt){let At=k();return At&&(c=Error.stackTraceLimit,Error.stackTraceLimit=1/0),Error.captureStackTrace(rt),At&&(Error.stackTraceLimit=c),rt}).name,Object.defineProperty(n,"name",{value:p}),n);function z(rt,At,Mt){let $t=L.get(rt);if(i()($t!==void 0,"expected `message` to be found"),typeof $t=="function")return i()($t.length<=At.length,`Code: ${rt}; The provided arguments length (${At.length}) does not match the required ones (${$t.length}).`),Reflect.apply($t,Mt,At);let zt=/%[dfijoOs]/g,qt=0;for(;zt.exec($t)!==null;)qt++;return i()(qt===At.length,`Code: ${rt}; The provided arguments length (${At.length}) does not match the required ones (${qt}).`),At.length===0?$t:(At.unshift($t),Reflect.apply(y().format,null,At))}function C(rt){if(rt==null)return String(rt);if(typeof rt=="function"&&rt.name)return`function ${rt.name}`;if(typeof rt=="object")return rt.constructor&&rt.constructor.name?`an instance of ${rt.constructor.name}`:`${(0,y().inspect)(rt,{depth:-1})}`;let At=(0,y().inspect)(rt,{colors:!1});return At.length>28&&(At=`${At.slice(0,25)}...`),`type ${typeof rt} (${At})`}let R={}.hasOwnProperty,{ERR_INVALID_PACKAGE_CONFIG:G}=_,V=new Map;function B(rt,{base:At,specifier:Mt}){let $t,zt=V.get(rt);if(zt)return zt;try{$t=o().default.readFileSync(f().toNamespacedPath(rt),"utf8")}catch(pr){if(pr.code!=="ENOENT")throw pr}let qt={exists:!1,pjsonPath:rt,main:void 0,name:void 0,type:"none",exports:void 0,imports:void 0};if($t!==void 0){let pr;try{pr=JSON.parse($t)}catch(xr){let Hr=new G(rt,(At?`"${Mt}" from `:"")+(0,d().fileURLToPath)(At||Mt),xr.message);throw Hr.cause=xr,Hr}qt.exists=!0,R.call(pr,"name")&&typeof pr.name=="string"&&(qt.name=pr.name),R.call(pr,"main")&&typeof pr.main=="string"&&(qt.main=pr.main),R.call(pr,"exports")&&(qt.exports=pr.exports),R.call(pr,"imports")&&(qt.imports=pr.imports),R.call(pr,"type")&&(pr.type==="commonjs"||pr.type==="module")&&(qt.type=pr.type)}return V.set(rt,qt),qt}function q(rt){let At=new URL("package.json",rt);for(;!At.pathname.endsWith("node_modules/package.json");){let Mt=B((0,d().fileURLToPath)(At),{specifier:rt});if(Mt.exists)return Mt;let $t=At;if((At=new URL("../package.json",At)).pathname===$t.pathname)break}return{pjsonPath:(0,d().fileURLToPath)(At),exists:!1,type:"none"}}let{ERR_UNKNOWN_FILE_EXTENSION:K}=_,$={}.hasOwnProperty,W={__proto__:null,".cjs":"commonjs",".js":"module",".json":"json",".mjs":"module"};function Z(rt){return rt&&/\s*(text|application)\/javascript\s*(;\s*charset=utf-?8\s*)?/i.test(rt)?"module":rt==="application/json"?"json":null}let Q={__proto__:null,"data:":X,"file:":oe,"http:":be,"https:":be,"node:":()=>"builtin"};function X(rt){let{1:At}=/^([^/]+\/[^;,]+)[^,]*?(;base64)?,/.exec(rt.pathname)||[null,null,null];return Z(At)}function ie(rt){let At=rt.pathname,Mt=At.length;for(;Mt--;){let $t=At.codePointAt(Mt);if($t===47)break;if($t===46)return At.codePointAt(Mt-1)===47?"":At.slice(Mt)}return""}function oe(rt,At,Mt){let $t=ie(rt);if($t===".js"){let qt=q(rt).type;return qt!=="none"?qt:"commonjs"}if($t===""){let qt=q(rt).type;return qt==="none"||qt==="commonjs"?"commonjs":"module"}let zt=W[$t];if(zt)return zt;if(!Mt)throw new K($t,(0,d().fileURLToPath)(rt))}function be(){}function Ne(rt,At){let Mt=rt.protocol;return $.call(Q,Mt)&&Q[Mt](rt,At,!0)||null}let{ERR_INVALID_ARG_VALUE:Pe}=_,Ke=Object.freeze(["node","import"]),We=new Set(Ke);function Oe(){return Ke}function de(){return We}function xe(rt){if(rt!==void 0&&rt!==Oe()){if(!Array.isArray(rt))throw new Pe("conditions",rt,"expected an array");return new Set(rt)}return de()}let ye=RegExp.prototype[Symbol.replace],{ERR_NETWORK_IMPORT_DISALLOWED:ve,ERR_INVALID_MODULE_SPECIFIER:he,ERR_INVALID_PACKAGE_CONFIG:Te,ERR_INVALID_PACKAGE_TARGET:Ce,ERR_MODULE_NOT_FOUND:se,ERR_PACKAGE_IMPORT_NOT_DEFINED:pe,ERR_PACKAGE_PATH_NOT_EXPORTED:nt,ERR_UNSUPPORTED_DIR_IMPORT:ft,ERR_UNSUPPORTED_RESOLVE_REQUEST:_t}=_,Pt={}.hasOwnProperty,ht=/(^|\\|\/)((\.|%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,De=/(^|\\|\/)((\.|%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,ze=/^\.|%|\\/,Ze=/\*/g,tt=/%2f|%5c/i,ge=new Set,fe=/[/\\]{2}/;function ee(rt,At,Mt,$t,zt,qt,pr){if(h().noDeprecation)return;let xr=(0,d().fileURLToPath)($t),Hr=fe.exec(pr?rt:At)!==null;h().emitWarning(`Use of deprecated ${Hr?"double slash":"leading or trailing slash matching"} resolving "${rt}" for module request "${At}" ${At===Mt?"":`matched to "${Mt}" `}in the "${zt?"imports":"exports"}" field module resolution of the package at ${xr}${qt?` imported from ${(0,d().fileURLToPath)(qt)}`:""}.`,"DeprecationWarning","DEP0166")}function le(rt,At,Mt,$t){if(h().noDeprecation||Ne(rt,{parentURL:Mt.href})!=="module")return;let zt=(0,d().fileURLToPath)(rt.href),qt=(0,d().fileURLToPath)(new(d()).URL(".",At)),pr=(0,d().fileURLToPath)(Mt);$t?f().resolve(qt,$t)!==zt&&h().emitWarning(`Package ${qt} has a "main" field set to "${$t}", excluding the full filename and extension to the resolved file at "${zt.slice(qt.length)}", imported from ${pr}.
|
|
Automatic extension resolution of the "main" field is deprecated for ES modules.`,"DeprecationWarning","DEP0151"):h().emitWarning(`No "main" or "exports" field defined in the package.json for ${qt} resolving the main entry point "${zt.slice(qt.length)}", imported from ${pr}.
|
|
Default "index" lookups for the main are deprecated for ES modules.`,"DeprecationWarning","DEP0151")}function Se(rt){try{return(0,o().statSync)(rt)}catch{}}function Ee(rt){let At=(0,o().statSync)(rt,{throwIfNoEntry:!1}),Mt=At?At.isFile():void 0;return Mt!=null&&Mt}function Be(rt,At,Mt){let $t;if(At.main!==void 0){if(Ee($t=new(d()).URL(At.main,rt)))return $t;let pr=[`./${At.main}.js`,`./${At.main}.json`,`./${At.main}.node`,`./${At.main}/index.js`,`./${At.main}/index.json`,`./${At.main}/index.node`],xr=-1;for(;++xr<pr.length&&!Ee($t=new(d()).URL(pr[xr],rt));)$t=void 0;if($t)return le($t,rt,Mt,At.main),$t}let zt=["./index.js","./index.json","./index.node"],qt=-1;for(;++qt<zt.length&&!Ee($t=new(d()).URL(zt[qt],rt));)$t=void 0;if($t)return le($t,rt,Mt,At.main),$t;throw new se((0,d().fileURLToPath)(new(d()).URL(".",rt)),(0,d().fileURLToPath)(Mt))}function Qe(rt,At,Mt){let $t;if(tt.exec(rt.pathname)!==null)throw new he(rt.pathname,'must not include encoded "/" or "\\" characters',(0,d().fileURLToPath)(At));try{$t=(0,d().fileURLToPath)(rt)}catch(qt){throw Object.defineProperty(qt,"input",{value:String(rt)}),Object.defineProperty(qt,"module",{value:String(At)}),qt}let zt=Se($t.endsWith("/")?$t.slice(-1):$t);if(zt&&zt.isDirectory()){let qt=new ft($t,(0,d().fileURLToPath)(At));throw qt.url=String(rt),qt}if(!zt||!zt.isFile()){let qt=new se($t||rt.pathname,At&&(0,d().fileURLToPath)(At),!0);throw qt.url=String(rt),qt}if(!Mt){let qt=(0,o().realpathSync)($t),{search:pr,hash:xr}=rt;(rt=(0,d().pathToFileURL)(qt+($t.endsWith(f().sep)?"/":""))).search=pr,rt.hash=xr}return rt}function ce(rt,At,Mt){return new pe(rt,At&&(0,d().fileURLToPath)(new(d()).URL(".",At)),(0,d().fileURLToPath)(Mt))}function $e(rt,At,Mt){return new nt((0,d().fileURLToPath)(new(d()).URL(".",At)),rt,Mt&&(0,d().fileURLToPath)(Mt))}function et(rt,At,Mt,$t,zt){throw new he(rt,`request is not a valid match in pattern "${At}" for the "${$t?"imports":"exports"}" resolution of ${(0,d().fileURLToPath)(Mt)}`,zt&&(0,d().fileURLToPath)(zt))}function ut(rt,At,Mt,$t,zt){return At=typeof At=="object"&&At!==null?JSON.stringify(At,null,""):`${At}`,new Ce((0,d().fileURLToPath)(new(d()).URL(".",Mt)),rt,At,$t,zt&&(0,d().fileURLToPath)(zt))}function Je(rt,At,Mt,$t,zt,qt,pr,xr,Hr){if(At!==""&&!qt&&rt[rt.length-1]!=="/")throw ut(Mt,rt,$t,pr,zt);if(!rt.startsWith("./")){if(pr&&!rt.startsWith("../")&&!rt.startsWith("/")){let Nn=!1;try{new(d()).URL(rt),Nn=!0}catch{}if(!Nn)return Pr(qt?ye.call(Ze,rt,()=>At):rt+At,$t,Hr)}throw ut(Mt,rt,$t,pr,zt)}if(ht.exec(rt.slice(2))!==null)if(De.exec(rt.slice(2))===null){if(!xr){let Nn=qt?Mt.replace("*",()=>At):Mt+At;ee(qt?ye.call(Ze,rt,()=>At):rt,Nn,Mt,$t,pr,zt,!0)}}else throw ut(Mt,rt,$t,pr,zt);let Qr=new(d()).URL(rt,$t),Fr=Qr.pathname,Sn=new(d()).URL(".",$t).pathname;if(!Fr.startsWith(Sn))throw ut(Mt,rt,$t,pr,zt);if(At==="")return Qr;if(ht.exec(At)!==null){let Nn=qt?Mt.replace("*",()=>At):Mt+At;De.exec(At)===null?xr||ee(qt?ye.call(Ze,rt,()=>At):rt,Nn,Mt,$t,pr,zt,!1):et(Nn,Mt,$t,pr,zt)}return qt?new(d()).URL(ye.call(Ze,Qr.href,()=>At)):new(d()).URL(At,Qr)}function Le(rt){let At=Number(rt);return`${At}`===rt&&At>=0&&At<4294967295}function at(rt,At,Mt,$t,zt,qt,pr,xr,Hr){if(typeof At=="string")return Je(At,Mt,$t,rt,zt,qt,pr,xr,Hr);if(Array.isArray(At)){let Qr;if(At.length===0)return null;let Fr=-1;for(;++Fr<At.length;){let Sn,Nn=At[Fr];try{Sn=at(rt,Nn,Mt,$t,zt,qt,pr,xr,Hr)}catch(zn){if(Qr=zn,zn.code==="ERR_INVALID_PACKAGE_TARGET")continue;throw zn}if(Sn!==void 0){if(Sn===null){Qr=null;continue}return Sn}}if(Qr==null)return null;throw Qr}if(typeof At=="object"&&At!==null){let Qr=Object.getOwnPropertyNames(At),Fr=-1;for(;++Fr<Qr.length;)if(Le(Qr[Fr]))throw new Te((0,d().fileURLToPath)(rt),zt,'"exports" cannot contain numeric property keys.');for(Fr=-1;++Fr<Qr.length;){let Sn=Qr[Fr];if(Sn==="default"||Hr&&Hr.has(Sn)){let Nn=at(rt,At[Sn],Mt,$t,zt,qt,pr,xr,Hr);if(Nn===void 0)continue;return Nn}}return null}if(At===null)return null;throw ut($t,At,rt,pr,zt)}function Et(rt,At,Mt){if(typeof rt=="string"||Array.isArray(rt))return!0;if(typeof rt!="object"||rt===null)return!1;let $t=Object.getOwnPropertyNames(rt),zt=!1,qt=0,pr=-1;for(;++pr<$t.length;){let xr=$t[pr],Hr=xr===""||xr[0]!==".";if(qt++==0)zt=Hr;else if(zt!==Hr)throw new Te((0,d().fileURLToPath)(At),Mt,`"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 zt}function Rt(rt,At,Mt){if(h().noDeprecation)return;let $t=(0,d().fileURLToPath)(At);ge.has($t+"|"+rt)||(ge.add($t+"|"+rt),h().emitWarning(`Use of deprecated trailing slash pattern mapping "${rt}" in the "exports" field module resolution of the package at ${$t}${Mt?` imported from ${(0,d().fileURLToPath)(Mt)}`:""}. Mapping specifiers ending in "/" is no longer supported.`,"DeprecationWarning","DEP0155"))}function lr(rt,At,Mt,$t,zt){let qt=Mt.exports;if(Et(qt,rt,$t)&&(qt={".":qt}),Pt.call(qt,At)&&!At.includes("*")&&!At.endsWith("/")){let Fr=at(rt,qt[At],"",At,$t,!1,!1,!1,zt);if(Fr==null)throw $e(At,rt,$t);return Fr}let pr="",xr="",Hr=Object.getOwnPropertyNames(qt),Qr=-1;for(;++Qr<Hr.length;){let Fr=Hr[Qr],Sn=Fr.indexOf("*");if(Sn!==-1&&At.startsWith(Fr.slice(0,Sn))){At.endsWith("/")&&Rt(At,rt,$t);let Nn=Fr.slice(Sn+1);At.length>=Fr.length&&At.endsWith(Nn)&&xt(pr,Fr)===1&&Fr.lastIndexOf("*")===Sn&&(pr=Fr,xr=At.slice(Sn,At.length-Nn.length))}}if(pr){let Fr=at(rt,qt[pr],xr,pr,$t,!0,!1,At.endsWith("/"),zt);if(Fr==null)throw $e(At,rt,$t);return Fr}throw $e(At,rt,$t)}function xt(rt,At){let Mt=rt.indexOf("*"),$t=At.indexOf("*"),zt=Mt===-1?rt.length:Mt+1,qt=$t===-1?At.length:$t+1;return zt>qt?-1:qt>zt||Mt===-1?1:$t===-1||rt.length>At.length?-1:+(At.length>rt.length)}function ar(rt,At,Mt){let $t;if(rt==="#"||rt.startsWith("#/")||rt.endsWith("/"))throw new he(rt,"is not a valid internal imports specifier name",(0,d().fileURLToPath)(At));let zt=q(At);if(zt.exists){$t=(0,d().pathToFileURL)(zt.pjsonPath);let qt=zt.imports;if(qt)if(Pt.call(qt,rt)&&!rt.includes("*")){let pr=at($t,qt[rt],"",rt,At,!1,!0,!1,Mt);if(pr!=null)return pr}else{let pr="",xr="",Hr=Object.getOwnPropertyNames(qt),Qr=-1;for(;++Qr<Hr.length;){let Fr=Hr[Qr],Sn=Fr.indexOf("*");if(Sn!==-1&&rt.startsWith(Fr.slice(0,-1))){let Nn=Fr.slice(Sn+1);rt.length>=Fr.length&&rt.endsWith(Nn)&&xt(pr,Fr)===1&&Fr.lastIndexOf("*")===Sn&&(pr=Fr,xr=rt.slice(Sn,rt.length-Nn.length))}}if(pr){let Fr=at($t,qt[pr],xr,pr,At,!0,!0,!1,Mt);if(Fr!=null)return Fr}}}throw ce(rt,$t,At)}function yr(rt,At){let Mt=rt.indexOf("/"),$t=!0,zt=!1;rt[0]==="@"&&(zt=!0,Mt===-1||rt.length===0?$t=!1:Mt=rt.indexOf("/",Mt+1));let qt=Mt===-1?rt:rt.slice(0,Mt);if(ze.exec(qt)!==null&&($t=!1),!$t)throw new he(rt,"is not a valid package name",(0,d().fileURLToPath)(At));return{packageName:qt,packageSubpath:"."+(Mt===-1?"":rt.slice(Mt)),isScoped:zt}}function Pr(rt,At,Mt){let $t;if(b().builtinModules.includes(rt))return new(d()).URL("node:"+rt);let{packageName:zt,packageSubpath:qt,isScoped:pr}=yr(rt,At),xr=q(At);if(xr.exists){let Fr=(0,d().pathToFileURL)(xr.pjsonPath);if(xr.name===zt&&xr.exports!==void 0&&xr.exports!==null)return lr(Fr,qt,xr,At,Mt)}let Hr=new(d()).URL("./node_modules/"+zt+"/package.json",At),Qr=(0,d().fileURLToPath)(Hr);do{let Fr=Se(Qr.slice(0,-13));if(!Fr||!Fr.isDirectory()){$t=Qr,Hr=new(d()).URL((pr?"../../../../node_modules/":"../../../node_modules/")+zt+"/package.json",Hr),Qr=(0,d().fileURLToPath)(Hr);continue}let Sn=B(Qr,{base:At,specifier:rt});return Sn.exports!==void 0&&Sn.exports!==null?lr(Hr,qt,Sn,At,Mt):qt==="."?Be(Hr,Sn,At):new(d()).URL(qt,Hr)}while(Qr.length!==$t.length);throw new se(zt,(0,d().fileURLToPath)(At),!1)}function Rr(rt){return rt[0]==="."&&(rt.length===1||rt[1]==="/"||rt[1]==="."&&(rt.length===2||rt[2]==="/"))||!1}function ln(rt){return rt!==""&&(rt[0]==="/"||Rr(rt))}function Tn(rt,At,Mt,$t){let zt,qt=At.protocol;if(ln(rt))try{zt=new(d()).URL(rt,At)}catch(pr){let xr=new _t(rt,At);throw xr.cause=pr,xr}else if(qt==="file:"&&rt[0]==="#")zt=ar(rt,At,Mt);else try{zt=new(d()).URL(rt)}catch(pr){if((qt==="data:"||qt==="http:"||qt==="https:")&&!b().builtinModules.includes(rt)){let xr=new _t(rt,At);throw xr.cause=pr,xr}zt=Pr(rt,At,Mt)}return i()(zt!==void 0,"expected to be defined"),zt.protocol!=="file:"?zt:Qe(zt,At,$t)}function Pn(rt,At,Mt){if(Mt){let $t=Mt.protocol;if($t==="http:"||$t==="https:"){if(ln(rt)){let zt=At==null?void 0:At.protocol;if(zt&&zt!=="https:"&&zt!=="http:")throw new ve(rt,Mt,"remote imports cannot import from a local location.");return{url:(At==null?void 0:At.href)||""}}throw b().builtinModules.includes(rt)?new ve(rt,Mt,"remote imports cannot import from a local location."):new ve(rt,Mt,"only relative and absolute specifiers are supported.")}}}function er(rt){return!!(rt&&typeof rt=="object"&&"href"in rt&&typeof rt.href=="string"&&"protocol"in rt&&typeof rt.protocol=="string"&&rt.href&&rt.protocol)}function Yr(rt){if(rt!==void 0&&typeof rt!="string"&&!er(rt))throw new _.ERR_INVALID_ARG_TYPE("parentURL",["string","URL"],rt)}function gr(rt,At={}){let Mt,$t,zt,{parentURL:qt}=At;if(i()(qt!==void 0,"expected `parentURL` to be defined"),Yr(qt),qt)try{Mt=new(d()).URL(qt)}catch{}try{if(zt=($t=ln(rt)?new(d()).URL(rt,Mt):new(d()).URL(rt)).protocol,zt==="data:")return{url:$t.href,format:null}}catch{}let pr=Pn(rt,$t,Mt);if(pr)return pr;if(zt===void 0&&$t&&(zt=$t.protocol),zt==="node:"||$t&&$t.protocol==="node:")return{url:rt};let xr=xe(At.conditions),Hr=Tn(rt,new(d()).URL(qt),xr,!1);return{url:Hr.href,format:Ne(Hr,{parentURL:qt})}}function An(rt,At){if(!At)throw Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");try{return gr(rt,{parentURL:At}).url}catch(Mt){if((Mt.code==="ERR_UNSUPPORTED_DIR_IMPORT"||Mt.code==="ERR_MODULE_NOT_FOUND")&&typeof Mt.url=="string")return Mt.url;throw Mt}}},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/buffer.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;let l=class{constructor(c,p){this._map=null,this._buf="",this._str="",this._appendCount=0,this._last=0,this._queue=[],this._queueCursor=0,this._canMarkIdName=!0,this._indentChar="",this._fastIndentations=[],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=c,this._indentChar=p;for(let i=0;i<64;i++)this._fastIndentations.push(p.repeat(i));this._allocQueue()}_allocQueue(){let c=this._queue;for(let p=0;p<16;p++)c.push({char:0,repeat:1,line:void 0,column:void 0,identifierName:void 0,identifierNamePos:void 0,filename:""})}_pushQueue(c,p,i,o,h){let d=this._queueCursor;d===this._queue.length&&this._allocQueue();let f=this._queue[d];f.char=c,f.repeat=p,f.line=i,f.column=o,f.filename=h,this._queueCursor++}_popQueue(){if(this._queueCursor===0)throw Error("Cannot pop from empty queue");return this._queue[--this._queueCursor]}get(){this._flush();let c=this._map,p={code:(this._buf+this._str).trimRight(),decodedMap:c==null?void 0:c.getDecoded(),get __mergedMap(){return this.map},get map(){let i=c?c.get():null;return p.map=i,i},set map(i){Object.defineProperty(p,"map",{value:i,writable:!0})},get rawMappings(){let i=c==null?void 0:c.getRawMappings();return p.rawMappings=i,i},set rawMappings(i){Object.defineProperty(p,"rawMappings",{value:i,writable:!0})}};return p}append(c,p){this._flush(),this._append(c,this._sourcePosition,p)}appendChar(c){this._flush(),this._appendChar(c,1,this._sourcePosition)}queue(c){if(c===10)for(;this._queueCursor!==0;){let i=this._queue[this._queueCursor-1].char;if(i!==32&&i!==9)break;this._queueCursor--}let p=this._sourcePosition;this._pushQueue(c,1,p.line,p.column,p.filename)}queueIndentation(c){c!==0&&this._pushQueue(-1,c,void 0,void 0,void 0)}_flush(){let c=this._queueCursor,p=this._queue;for(let i=0;i<c;i++){let o=p[i];this._appendChar(o.char,o.repeat,o)}this._queueCursor=0}_appendChar(c,p,i){if(this._last=c,c===-1){let o=this._fastIndentations[p];o!==void 0?this._str+=o:this._str+=p>1?this._indentChar.repeat(p):this._indentChar}else this._str+=p>1?String.fromCharCode(c).repeat(p):String.fromCharCode(c);c!==10?(this._mark(i.line,i.column,i.identifierName,i.identifierNamePos,i.filename),this._position.column+=p):(this._position.line++,this._position.column=0),this._canMarkIdName&&(i.identifierName=void 0,i.identifierNamePos=void 0)}_append(c,p,i){let o=c.length,h=this._position;if(this._last=c.charCodeAt(o-1),++this._appendCount>4096?(this._str,this._buf+=this._str,this._str=c,this._appendCount=0):this._str+=c,!i&&!this._map){h.column+=o;return}let{column:d,identifierName:f,identifierNamePos:b,filename:m}=p,y=p.line;(f!=null||b!=null)&&this._canMarkIdName&&(p.identifierName=void 0,p.identifierNamePos=void 0);let x=c.indexOf(`
|
|
`),v=0;for(x!==0&&this._mark(y,d,f,b,m);x!==-1;)h.line++,h.column=0,(v=x+1)<o&&y!==void 0&&this._mark(++y,0,null,null,m),x=c.indexOf(`
|
|
`,v);h.column+=o-v}_mark(c,p,i,o,h){var d;(d=this._map)==null||d.mark(this._position,c,p,i,o,h)}removeTrailingNewline(){let c=this._queueCursor;c!==0&&this._queue[c-1].char===10&&this._queueCursor--}removeLastSemicolon(){let c=this._queueCursor;c!==0&&this._queue[c-1].char===59&&this._queueCursor--}getLastChar(){let c=this._queueCursor;return c!==0?this._queue[c-1].char:this._last}getNewlineCount(){let c=this._queueCursor,p=0;if(c===0)return+(this._last===10);for(let i=c-1;i>=0&&this._queue[i].char===10;i--)p++;return p===c&&this._last===10?p+1:p}endsWithCharAndNewline(){let c=this._queue,p=this._queueCursor;if(p!==0)return c[p-1].char!==10?void 0:p>1?c[p-2].char:this._last}hasContent(){return this._queueCursor!==0||!!this._last}exactSource(c,p){if(!this._map)return void p();this.source("start",c);let i=c.identifierName,o=this._sourcePosition;i&&(this._canMarkIdName=!1,o.identifierName=i),p(),i&&(this._canMarkIdName=!0,o.identifierName=void 0,o.identifierNamePos=void 0),this.source("end",c)}source(c,p){this._map&&this._normalizePosition(c,p,0)}sourceWithOffset(c,p,i){this._map&&this._normalizePosition(c,p,i)}_normalizePosition(c,p,i){let o=p[c],h=this._sourcePosition;o&&(h.line=o.line,h.column=Math.max(o.column+i,0),h.filename=p.filename)}getCurrentColumn(){let c=this._queue,p=this._queueCursor,i=-1,o=0;for(let h=0;h<p;h++){let d=c[h];d.char===10&&(i=o),o+=d.repeat}return i===-1?this._position.column+o:o-1-i}getCurrentLine(){let c=0,p=this._queue;for(let i=0;i<this._queueCursor;i++)p[i].char===10&&c++;return this._position.line+c}};e.default=l},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/base.js":function(u,e){"use strict";function l(b){b.program&&this.print(b.program.interpreter),this.print(b.program)}function n(b){var m,y;this.noIndentInnerCommentsHere(),this.printInnerComments();let x=(m=b.directives)==null?void 0:m.length;if(x){let v=b.body.length?2:1;this.printSequence(b.directives,void 0,v),(y=b.directives[x-1].trailingComments)!=null&&y.length||this.newline(v)}this.printSequence(b.body)}function c(b){var m,y;this.tokenChar(123);let x=this.enterDelimited(),v=(m=b.directives)==null?void 0:m.length;if(v){let E=b.body.length?2:1;this.printSequence(b.directives,!0,E),(y=b.directives[v-1].trailingComments)!=null&&y.length||this.newline(E)}this.printSequence(b.body,!0),x(),this.rightBrace(b)}function p(b){this.print(b.value),this.semicolon()}Object.defineProperty(e,"__esModule",{value:!0}),e.BlockStatement=c,e.Directive=p,e.DirectiveLiteral=h,e.File=l,e.InterpreterDirective=d,e.Placeholder=f,e.Program=n;let i=/(?:^|[^\\])(?:\\\\)*'/,o=/(?:^|[^\\])(?:\\\\)*"/;function h(b){let m=this.getPossibleRaw(b);if(!this.format.minified&&m!==void 0)return void this.token(m);let{value:y}=b;if(o.test(y)){if(i.test(y))throw Error("Malformed AST: it is not possible to print a directive containing both unescaped single and double quotes.");this.token(`'${y}'`)}else this.token(`"${y}"`)}function d(b){this.token(`#!${b.value}`),this.newline(1,!0)}function f(b){this.token("%%"),this.print(b.name),this.token("%%"),b.expectedNode==="Statement"&&this.semicolon()}},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/classes.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ClassAccessorProperty=d,e.ClassBody=i,e.ClassExpression=e.ClassDeclaration=p,e.ClassMethod=b,e.ClassPrivateMethod=m,e.ClassPrivateProperty=f,e.ClassProperty=h,e.StaticBlock=x,e._classMethodHead=y;let{isExportDefaultDeclaration:n,isExportNamedDeclaration:c}=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");function p(v,E){(n(E)||c(E))&&this._shouldPrintDecoratorsBeforeExport(E)||this.printJoin(v.decorators),v.declare&&(this.word("declare"),this.space()),v.abstract&&(this.word("abstract"),this.space()),this.word("class"),v.id&&(this.space(),this.print(v.id)),this.print(v.typeParameters),v.superClass&&(this.space(),this.word("extends"),this.space(),this.print(v.superClass),this.print(v.superTypeParameters)),v.implements&&(this.space(),this.word("implements"),this.space(),this.printList(v.implements)),this.space(),this.print(v.body)}function i(v){if(this.tokenChar(123),v.body.length===0)this.tokenChar(125);else{this.newline();let E=o(this,v);E==null||E(-1);let S=this.enterDelimited();this.printJoin(v.body,!0,!0,E,!0),S(),this.endsWith(10)||this.newline(),this.rightBrace(v)}}function o(v,E){if(!v.tokenMap||E.start==null||E.end==null)return null;let S=v.tokenMap.getIndexes(E);if(!S)return null;let _=1,A=0,L=0,j=()=>{for(;L<E.body.length&&E.body[L].start==null;)L++};return j(),F=>{let k;L<=F&&(L=F+1,j());let U=L===E.body.length?E.end:E.body[L].start;for(;_<S.length&&v.tokenMap.matchesOriginal(k=v._tokens[S[_]],";")&&k.start<U;)v.token(";",void 0,A++),_++}}function h(v){if(this.printJoin(v.decorators),!v.static&&!this.format.preserveFormat){var E;let S=(E=v.key.loc)==null||(E=E.end)==null?void 0:E.line;S&&this.catchUp(S)}this.tsPrintClassMemberModifiers(v),v.computed?(this.tokenChar(91),this.print(v.key),this.tokenChar(93)):(this._variance(v),this.print(v.key)),v.optional&&this.tokenChar(63),v.definite&&this.tokenChar(33),this.print(v.typeAnnotation),v.value&&(this.space(),this.tokenChar(61),this.space(),this.print(v.value)),this.semicolon()}function d(v){var E;this.printJoin(v.decorators);let S=(E=v.key.loc)==null||(E=E.end)==null?void 0:E.line;S&&this.catchUp(S),this.tsPrintClassMemberModifiers(v),this.word("accessor",!0),this.space(),v.computed?(this.tokenChar(91),this.print(v.key),this.tokenChar(93)):(this._variance(v),this.print(v.key)),v.optional&&this.tokenChar(63),v.definite&&this.tokenChar(33),this.print(v.typeAnnotation),v.value&&(this.space(),this.tokenChar(61),this.space(),this.print(v.value)),this.semicolon()}function f(v){this.printJoin(v.decorators),this.tsPrintClassMemberModifiers(v),this.print(v.key),v.optional&&this.tokenChar(63),v.definite&&this.tokenChar(33),this.print(v.typeAnnotation),v.value&&(this.space(),this.tokenChar(61),this.space(),this.print(v.value)),this.semicolon()}function b(v){this._classMethodHead(v),this.space(),this.print(v.body)}function m(v){this._classMethodHead(v),this.space(),this.print(v.body)}function y(v){if(this.printJoin(v.decorators),!this.format.preserveFormat){var E;let S=(E=v.key.loc)==null||(E=E.end)==null?void 0:E.line;S&&this.catchUp(S)}this.tsPrintClassMemberModifiers(v),this._methodHead(v)}function x(v){this.word("static"),this.space(),this.tokenChar(123),v.body.length===0?this.tokenChar(125):(this.newline(),this.printSequence(v.body,!0),this.rightBrace(v))}},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/deprecated.js":function(u,e){"use strict";function l(n){Object.assign(n.prototype,{Noop(){},TSExpressionWithTypeArguments(c){this.print(c.expression),this.print(c.typeParameters)},DecimalLiteral(c){let p=this.getPossibleRaw(c);this.format.minified||p===void 0?this.word(c.value+"m"):this.word(p)}})}Object.defineProperty(e,"__esModule",{value:!0}),e.addDeprecatedGenerators=l},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/expressions.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.LogicalExpression=e.BinaryExpression=e.AssignmentExpression=B,e.AssignmentPattern=V,e.AwaitExpression=z,e.BindExpression=q,e.CallExpression=k,e.ConditionalExpression=x,e.Decorator=L,e.DoExpression=b,e.EmptyStatement=R,e.ExpressionStatement=G,e.Import=U,e.MemberExpression=K,e.MetaProperty=$,e.ModuleExpression=Q,e.NewExpression=v,e.OptionalCallExpression=F,e.OptionalMemberExpression=j,e.ParenthesizedExpression=m,e.PrivateName=W,e.SequenceExpression=E,e.Super=_,e.ThisExpression=S,e.UnaryExpression=f,e.UpdateExpression=y,e.V8IntrinsicIdentifier=Z,e.YieldExpression=C,e._shouldPrintDecoratorsBeforeExport=A;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/node/index.js");let{isCallExpression:p,isLiteral:i,isMemberExpression:o,isNewExpression:h,isPattern:d}=n;function f(X){let{operator:ie}=X;ie==="void"||ie==="delete"||ie==="typeof"||ie==="throw"?(this.word(ie),this.space()):this.token(ie),this.print(X.argument)}function b(X){X.async&&(this.word("async",!0),this.space()),this.word("do"),this.space(),this.print(X.body)}function m(X){this.tokenChar(40);let ie=this.enterDelimited();this.print(X.expression),ie(),this.rightParens(X)}function y(X){X.prefix?(this.token(X.operator),this.print(X.argument)):(this.print(X.argument,!0),this.token(X.operator))}function x(X){this.print(X.test),this.space(),this.tokenChar(63),this.space(),this.print(X.consequent),this.space(),this.tokenChar(58),this.space(),this.print(X.alternate)}function v(X,ie){if(this.word("new"),this.space(),this.print(X.callee),this.format.minified&&X.arguments.length===0&&!X.optional&&!p(ie,{callee:X})&&!o(ie)&&!h(ie)||(this.print(X.typeArguments),this.print(X.typeParameters),X.optional&&this.token("?."),X.arguments.length===0&&this.tokenMap&&!this.tokenMap.endMatches(X,")")))return;this.tokenChar(40);let oe=this.enterDelimited();this.printList(X.arguments,this.shouldPrintTrailingComma(")")),oe(),this.rightParens(X)}function E(X){this.printList(X.expressions)}function S(){this.word("this")}function _(){this.word("super")}function A(X){return typeof this.format.decoratorsBeforeExport=="boolean"?this.format.decoratorsBeforeExport:typeof X.start=="number"&&X.start===X.declaration.start}function L(X){this.tokenChar(64),this.print(X.expression),this.newline()}function j(X){let{computed:ie}=X,{optional:oe,property:be}=X;if(this.print(X.object),!ie&&o(be))throw TypeError("Got a MemberExpression for MemberExpression property");i(be)&&typeof be.value=="number"&&(ie=!0),oe&&this.token("?."),ie?(this.tokenChar(91),this.print(be),this.tokenChar(93)):(oe||this.tokenChar(46),this.print(be))}function F(X){this.print(X.callee),this.print(X.typeParameters),X.optional&&this.token("?."),this.print(X.typeArguments),this.tokenChar(40);let ie=this.enterDelimited();this.printList(X.arguments),ie(),this.rightParens(X)}function k(X){this.print(X.callee),this.print(X.typeArguments),this.print(X.typeParameters),this.tokenChar(40);let ie=this.enterDelimited();this.printList(X.arguments,this.shouldPrintTrailingComma(")")),ie(),this.rightParens(X)}function U(){this.word("import")}function z(X){this.word("await"),this.space(),this.print(X.argument)}function C(X){X.delegate?(this.word("yield",!0),this.tokenChar(42),X.argument&&(this.space(),this.print(X.argument))):X.argument?(this.word("yield",!0),this.space(),this.print(X.argument)):this.word("yield")}function R(){this.semicolon(!0)}function G(X){this.tokenContext|=c.TokenContext.expressionStatement,this.print(X.expression),this.semicolon()}function V(X){this.print(X.left),(X.left.type==="Identifier"||d(X.left))&&(X.left.optional&&this.tokenChar(63),this.print(X.left.typeAnnotation)),this.space(),this.tokenChar(61),this.space(),this.print(X.right)}function B(X){this.print(X.left),this.space(),X.operator==="in"||X.operator==="instanceof"?this.word(X.operator):(this.token(X.operator),this._endsWithDiv=X.operator==="/"),this.space(),this.print(X.right)}function q(X){this.print(X.object),this.token("::"),this.print(X.callee)}function K(X){if(this.print(X.object),!X.computed&&o(X.property))throw TypeError("Got a MemberExpression for MemberExpression property");let ie=X.computed;if(i(X.property)&&typeof X.property.value=="number"&&(ie=!0),ie){let oe=this.enterDelimited();this.tokenChar(91),this.print(X.property),this.tokenChar(93),oe()}else this.tokenChar(46),this.print(X.property)}function $(X){this.print(X.meta),this.tokenChar(46),this.print(X.property)}function W(X){this.tokenChar(35),this.print(X.id)}function Z(X){this.tokenChar(37),this.word(X.name)}function Q(X){this.word("module",!0),this.space(),this.tokenChar(123),this.indent();let{body:ie}=X;(ie.body.length||ie.directives.length)&&this.newline(),this.print(ie),this.dedent(),this.rightBrace(X)}},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/flow.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AnyTypeAnnotation=d,e.ArrayTypeAnnotation=f,e.BooleanLiteralTypeAnnotation=m,e.BooleanTypeAnnotation=b,e.DeclareClass=x,e.DeclareExportAllDeclaration=z,e.DeclareExportDeclaration=U,e.DeclareFunction=v,e.DeclareInterface=_,e.DeclareModule=A,e.DeclareModuleExports=L,e.DeclareOpaqueType=F,e.DeclareTypeAlias=j,e.DeclareVariable=k,e.DeclaredPredicate=S,e.EmptyTypeAnnotation=he,e.EnumBooleanBody=V,e.EnumBooleanMember=Z,e.EnumDeclaration=C,e.EnumDefaultedMember=$,e.EnumNumberBody=B,e.EnumNumberMember=Q,e.EnumStringBody=q,e.EnumStringMember=X,e.EnumSymbolBody=K,e.ExistsTypeAnnotation=oe,e.FunctionTypeAnnotation=be,e.FunctionTypeParam=Ne,e.IndexedAccessType=ut,e.InferredPredicate=E,e.InterfaceDeclaration=Oe,e.GenericTypeAnnotation=e.ClassImplements=e.InterfaceExtends=Pe,e.InterfaceTypeAnnotation=xe,e.IntersectionTypeAnnotation=ye,e.MixedTypeAnnotation=ve,e.NullLiteralTypeAnnotation=y,e.NullableTypeAnnotation=Te,Object.defineProperty(e,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return i.NumericLiteral}}),e.NumberTypeAnnotation=Ce,e.ObjectTypeAnnotation=Ze,e.ObjectTypeCallProperty=ge,e.ObjectTypeIndexer=fe,e.ObjectTypeInternalSlot=tt,e.ObjectTypeProperty=ee,e.ObjectTypeSpreadProperty=le,e.OpaqueType=ze,e.OptionalIndexedAccessType=Je,e.QualifiedTypeIdentifier=Se,Object.defineProperty(e,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return i.StringLiteral}}),e.StringTypeAnnotation=se,e.SymbolTypeAnnotation=Ee,e.ThisTypeAnnotation=pe,e.TupleTypeAnnotation=nt,e.TypeAlias=_t,e.TypeAnnotation=Pt,e.TypeCastExpression=ce,e.TypeParameter=De,e.TypeParameterDeclaration=e.TypeParameterInstantiation=ht,e.TypeofTypeAnnotation=ft,e.UnionTypeAnnotation=Qe,e.Variance=$e,e.VoidTypeAnnotation=et,e._interfaceish=Ke,e._variance=We;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/modules.js"),p=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/node/index.js"),i=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/types.js");let{isDeclareExportDeclaration:o,isStatement:h}=n;function d(){this.word("any")}function f(Le){this.print(Le.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function b(){this.word("boolean")}function m(Le){this.word(Le.value?"true":"false")}function y(){this.word("null")}function x(Le,at){o(at)||(this.word("declare"),this.space()),this.word("class"),this.space(),this._interfaceish(Le)}function v(Le,at){o(at)||(this.word("declare"),this.space()),this.word("function"),this.space(),this.print(Le.id),this.print(Le.id.typeAnnotation.typeAnnotation),Le.predicate&&(this.space(),this.print(Le.predicate)),this.semicolon()}function E(){this.tokenChar(37),this.word("checks")}function S(Le){this.tokenChar(37),this.word("checks"),this.tokenChar(40),this.print(Le.value),this.tokenChar(41)}function _(Le){this.word("declare"),this.space(),this.InterfaceDeclaration(Le)}function A(Le){this.word("declare"),this.space(),this.word("module"),this.space(),this.print(Le.id),this.space(),this.print(Le.body)}function L(Le){this.word("declare"),this.space(),this.word("module"),this.tokenChar(46),this.word("exports"),this.print(Le.typeAnnotation)}function j(Le){this.word("declare"),this.space(),this.TypeAlias(Le)}function F(Le,at){o(at)||(this.word("declare"),this.space()),this.OpaqueType(Le)}function k(Le,at){o(at)||(this.word("declare"),this.space()),this.word("var"),this.space(),this.print(Le.id),this.print(Le.id.typeAnnotation),this.semicolon()}function U(Le){this.word("declare"),this.space(),this.word("export"),this.space(),Le.default&&(this.word("default"),this.space()),ie.call(this,Le)}function z(Le){this.word("declare"),this.space(),c.ExportAllDeclaration.call(this,Le)}function C(Le){let{id:at,body:Et}=Le;this.word("enum"),this.space(),this.print(at),this.print(Et)}function R(Le,at,Et){Et&&(Le.space(),Le.word("of"),Le.space(),Le.word(at)),Le.space()}function G(Le,at){let{members:Et}=at;for(let Rt of(Le.token("{"),Le.indent(),Le.newline(),Et))Le.print(Rt),Le.newline();at.hasUnknownMembers&&(Le.token("..."),Le.newline()),Le.dedent(),Le.token("}")}function V(Le){let{explicitType:at}=Le;R(this,"boolean",at),G(this,Le)}function B(Le){let{explicitType:at}=Le;R(this,"number",at),G(this,Le)}function q(Le){let{explicitType:at}=Le;R(this,"string",at),G(this,Le)}function K(Le){R(this,"symbol",!0),G(this,Le)}function $(Le){let{id:at}=Le;this.print(at),this.tokenChar(44)}function W(Le,at){Le.print(at.id),Le.space(),Le.token("="),Le.space(),Le.print(at.init),Le.token(",")}function Z(Le){W(this,Le)}function Q(Le){W(this,Le)}function X(Le){W(this,Le)}function ie(Le){if(Le.declaration){let at=Le.declaration;this.print(at),h(at)||this.semicolon()}else this.tokenChar(123),Le.specifiers.length&&(this.space(),this.printList(Le.specifiers),this.space()),this.tokenChar(125),Le.source&&(this.space(),this.word("from"),this.space(),this.print(Le.source)),this.semicolon()}function oe(){this.tokenChar(42)}function be(Le,at){this.print(Le.typeParameters),this.tokenChar(40),Le.this&&(this.word("this"),this.tokenChar(58),this.space(),this.print(Le.this.typeAnnotation),(Le.params.length||Le.rest)&&(this.tokenChar(44),this.space())),this.printList(Le.params),Le.rest&&(Le.params.length&&(this.tokenChar(44),this.space()),this.token("..."),this.print(Le.rest)),this.tokenChar(41);let Et=at==null?void 0:at.type;Et!=null&&(Et==="ObjectTypeCallProperty"||Et==="ObjectTypeInternalSlot"||Et==="DeclareFunction"||Et==="ObjectTypeProperty"&&at.method)?this.tokenChar(58):(this.space(),this.token("=>")),this.space(),this.print(Le.returnType)}function Ne(Le){this.print(Le.name),Le.optional&&this.tokenChar(63),Le.name&&(this.tokenChar(58),this.space()),this.print(Le.typeAnnotation)}function Pe(Le){this.print(Le.id),this.print(Le.typeParameters,!0)}function Ke(Le){var at,Et,Rt;this.print(Le.id),this.print(Le.typeParameters),(at=Le.extends)!=null&&at.length&&(this.space(),this.word("extends"),this.space(),this.printList(Le.extends)),Le.type==="DeclareClass"&&((Et=Le.mixins)!=null&&Et.length&&(this.space(),this.word("mixins"),this.space(),this.printList(Le.mixins)),(Rt=Le.implements)!=null&&Rt.length&&(this.space(),this.word("implements"),this.space(),this.printList(Le.implements))),this.space(),this.print(Le.body)}function We(Le){var at;let Et=(at=Le.variance)==null?void 0:at.kind;Et!=null&&(Et==="plus"?this.tokenChar(43):Et==="minus"&&this.tokenChar(45))}function Oe(Le){this.word("interface"),this.space(),this._interfaceish(Le)}function de(Le){this.space(),this.token("&",!1,Le),this.space()}function xe(Le){var at;this.word("interface"),(at=Le.extends)!=null&&at.length&&(this.space(),this.word("extends"),this.space(),this.printList(Le.extends)),this.space(),this.print(Le.body)}function ye(Le){this.printJoin(Le.types,void 0,void 0,de)}function ve(){this.word("mixed")}function he(){this.word("empty")}function Te(Le){this.tokenChar(63),this.print(Le.typeAnnotation)}function Ce(){this.word("number")}function se(){this.word("string")}function pe(){this.word("this")}function nt(Le){this.tokenChar(91),this.printList(Le.types),this.tokenChar(93)}function ft(Le){this.word("typeof"),this.space(),this.print(Le.argument)}function _t(Le){this.word("type"),this.space(),this.print(Le.id),this.print(Le.typeParameters),this.space(),this.tokenChar(61),this.space(),this.print(Le.right),this.semicolon()}function Pt(Le,at){this.tokenChar(58),this.space(),at.type==="ArrowFunctionExpression"?this.tokenContext|=p.TokenContext.arrowFlowReturnType:Le.optional&&this.tokenChar(63),this.print(Le.typeAnnotation)}function ht(Le){this.tokenChar(60),this.printList(Le.params),this.tokenChar(62)}function De(Le){this._variance(Le),this.word(Le.name),Le.bound&&this.print(Le.bound),Le.default&&(this.space(),this.tokenChar(61),this.space(),this.print(Le.default))}function ze(Le){this.word("opaque"),this.space(),this.word("type"),this.space(),this.print(Le.id),this.print(Le.typeParameters),Le.supertype&&(this.tokenChar(58),this.space(),this.print(Le.supertype)),Le.impltype&&(this.space(),this.tokenChar(61),this.space(),this.print(Le.impltype)),this.semicolon()}function Ze(Le){Le.exact?this.token("{|"):this.tokenChar(123);let at=[...Le.properties,...Le.callProperties||[],...Le.indexers||[],...Le.internalSlots||[]];at.length&&(this.newline(),this.space(),this.printJoin(at,!0,!0,void 0,void 0,function(Et){if(Et&&!at[0])return 1},()=>{(at.length!==1||Le.inexact)&&(this.tokenChar(44),this.space())}),this.space()),Le.inexact&&(this.indent(),this.token("..."),at.length&&this.newline(),this.dedent()),Le.exact?this.token("|}"):this.tokenChar(125)}function tt(Le){Le.static&&(this.word("static"),this.space()),this.tokenChar(91),this.tokenChar(91),this.print(Le.id),this.tokenChar(93),this.tokenChar(93),Le.optional&&this.tokenChar(63),Le.method||(this.tokenChar(58),this.space()),this.print(Le.value)}function ge(Le){Le.static&&(this.word("static"),this.space()),this.print(Le.value)}function fe(Le){Le.static&&(this.word("static"),this.space()),this._variance(Le),this.tokenChar(91),Le.id&&(this.print(Le.id),this.tokenChar(58),this.space()),this.print(Le.key),this.tokenChar(93),this.tokenChar(58),this.space(),this.print(Le.value)}function ee(Le){Le.proto&&(this.word("proto"),this.space()),Le.static&&(this.word("static"),this.space()),(Le.kind==="get"||Le.kind==="set")&&(this.word(Le.kind),this.space()),this._variance(Le),this.print(Le.key),Le.optional&&this.tokenChar(63),Le.method||(this.tokenChar(58),this.space()),this.print(Le.value)}function le(Le){this.token("..."),this.print(Le.argument)}function Se(Le){this.print(Le.qualification),this.tokenChar(46),this.print(Le.id)}function Ee(){this.word("symbol")}function Be(Le){this.space(),this.token("|",!1,Le),this.space()}function Qe(Le){this.printJoin(Le.types,void 0,void 0,Be)}function ce(Le){this.tokenChar(40),this.print(Le.expression),this.print(Le.typeAnnotation),this.tokenChar(41)}function $e(Le){Le.kind==="plus"?this.tokenChar(43):this.tokenChar(45)}function et(){this.word("void")}function ut(Le){this.print(Le.objectType,!0),this.tokenChar(91),this.print(Le.indexType),this.tokenChar(93)}function Je(Le){this.print(Le.objectType),Le.optional&&this.token("?."),this.tokenChar(91),this.print(Le.indexType),this.tokenChar(93)}},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/template-literals.js");Object.keys(n).forEach(function(x){x==="default"||x==="__esModule"||x in e&&e[x]===n[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return n[x]}})});var c=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/expressions.js");Object.keys(c).forEach(function(x){x==="default"||x==="__esModule"||x in e&&e[x]===c[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return c[x]}})});var p=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/statements.js");Object.keys(p).forEach(function(x){x==="default"||x==="__esModule"||x in e&&e[x]===p[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return p[x]}})});var i=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/classes.js");Object.keys(i).forEach(function(x){x==="default"||x==="__esModule"||x in e&&e[x]===i[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return i[x]}})});var o=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/methods.js");Object.keys(o).forEach(function(x){x==="default"||x==="__esModule"||x in e&&e[x]===o[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return o[x]}})});var h=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/modules.js");Object.keys(h).forEach(function(x){x==="default"||x==="__esModule"||x in e&&e[x]===h[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return h[x]}})});var d=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/types.js");Object.keys(d).forEach(function(x){x==="default"||x==="__esModule"||x in e&&e[x]===d[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return d[x]}})});var f=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/flow.js");Object.keys(f).forEach(function(x){x==="default"||x==="__esModule"||x in e&&e[x]===f[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return f[x]}})});var b=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/base.js");Object.keys(b).forEach(function(x){x==="default"||x==="__esModule"||x in e&&e[x]===b[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return b[x]}})});var m=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/jsx.js");Object.keys(m).forEach(function(x){x==="default"||x==="__esModule"||x in e&&e[x]===m[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return m[x]}})});var y=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/typescript.js");Object.keys(y).forEach(function(x){x==="default"||x==="__esModule"||x in e&&e[x]===y[x]||Object.defineProperty(e,x,{enumerable:!0,get:function(){return y[x]}})})},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/jsx.js":function(u,e){"use strict";function l(_){this.print(_.name),_.value&&(this.tokenChar(61),this.print(_.value))}function n(_){this.word(_.name)}function c(_){this.print(_.namespace),this.tokenChar(58),this.print(_.name)}function p(_){this.print(_.object),this.tokenChar(46),this.print(_.property)}function i(_){this.tokenChar(123),this.token("..."),this.print(_.argument),this.rightBrace(_)}function o(_){this.tokenChar(123),this.print(_.expression),this.rightBrace(_)}function h(_){this.tokenChar(123),this.token("..."),this.print(_.expression),this.rightBrace(_)}function d(_){let A=this.getPossibleRaw(_);A!==void 0?this.token(A,!0):this.token(_.value,!0)}function f(_){let A=_.openingElement;if(this.print(A),!A.selfClosing){for(let L of(this.indent(),_.children))this.print(L);this.dedent(),this.print(_.closingElement)}}function b(){this.space()}function m(_){this.tokenChar(60),this.print(_.name),_.typeArguments&&this.print(_.typeArguments),this.print(_.typeParameters),_.attributes.length>0&&(this.space(),this.printJoin(_.attributes,void 0,void 0,b)),_.selfClosing&&(this.space(),this.tokenChar(47)),this.tokenChar(62)}function y(_){this.tokenChar(60),this.tokenChar(47),this.print(_.name),this.tokenChar(62)}function x(){this.printInnerComments()}function v(_){for(let A of(this.print(_.openingFragment),this.indent(),_.children))this.print(A);this.dedent(),this.print(_.closingFragment)}function E(){this.tokenChar(60),this.tokenChar(62)}function S(){this.token("</"),this.tokenChar(62)}Object.defineProperty(e,"__esModule",{value:!0}),e.JSXAttribute=l,e.JSXClosingElement=y,e.JSXClosingFragment=S,e.JSXElement=f,e.JSXEmptyExpression=x,e.JSXExpressionContainer=o,e.JSXFragment=v,e.JSXIdentifier=n,e.JSXMemberExpression=p,e.JSXNamespacedName=c,e.JSXOpeningElement=m,e.JSXOpeningFragment=E,e.JSXSpreadAttribute=i,e.JSXSpreadChild=h,e.JSXText=d},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/methods.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ArrowFunctionExpression=y,e.FunctionDeclaration=e.FunctionExpression=m,e._functionHead=b,e._methodHead=d,e._param=h,e._parameters=o,e._params=i,e._predicate=f,e._shouldPrintArrowParamsParens=x;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/node/index.js");let{isIdentifier:p}=n;function i(E,S,_){this.print(E.typeParameters);let A=v.call(this,S,_);A&&this.sourceIdentifierName(A.name,A.pos),this.tokenChar(40),this._parameters(E.params,")");let L=E.type==="ArrowFunctionExpression";this.print(E.returnType,L),this._noLineTerminator=L}function o(E,S){let _=this.enterDelimited(),A=this.shouldPrintTrailingComma(S),L=E.length;for(let j=0;j<L;j++)this._param(E[j]),(A||j<L-1)&&(this.token(",",null,j),this.space());this.token(S),_()}function h(E){this.printJoin(E.decorators),this.print(E),E.optional&&this.tokenChar(63),this.print(E.typeAnnotation)}function d(E){let S=E.kind,_=E.key;(S==="get"||S==="set")&&(this.word(S),this.space()),E.async&&(this.word("async",!0),this.space()),(S==="method"||S==="init")&&E.generator&&this.tokenChar(42),E.computed?(this.tokenChar(91),this.print(_),this.tokenChar(93)):this.print(_),E.optional&&this.tokenChar(63),this._params(E,E.computed&&E.key.type!=="StringLiteral"?void 0:E.key,void 0)}function f(E,S){E.predicate&&(E.returnType||this.tokenChar(58),this.space(),this.print(E.predicate,S))}function b(E,S){E.async&&(this.word("async"),this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.space()),this.word("function"),E.generator&&(this.format.preserveFormat||(this._endsWithInnerRaw=!1),this.tokenChar(42)),this.space(),E.id&&this.print(E.id),this._params(E,E.id,S),E.type!=="TSDeclareFunction"&&this._predicate(E)}function m(E,S){this._functionHead(E,S),this.space(),this.print(E.body)}function y(E,S){E.async&&(this.word("async",!0),this.space()),this._shouldPrintArrowParamsParens(E)?this._params(E,void 0,S):this.print(E.params[0],!0),this._predicate(E,!0),this.space(),this.printInnerComments(),this.token("=>"),this.space(),this.tokenContext|=c.TokenContext.arrowBody,this.print(E.body)}function x(E){var S,_;if(E.params.length!==1||E.typeParameters||E.returnType||E.predicate)return!0;let A=E.params[0];if(!p(A)||A.typeAnnotation||A.optional||(S=A.leadingComments)!=null&&S.length||(_=A.trailingComments)!=null&&_.length)return!0;if(this.tokenMap){if(E.loc==null||this.tokenMap.findMatching(E,"(")!==null)return!0;let L=this.tokenMap.findMatching(E,"=>");return(L==null?void 0:L.loc)==null||L.loc.start.line!==E.loc.start.line}return!!this.format.retainLines}function v(E,S){var _,A,L,j;let F,k=E;if(!k&&S){let U=S.type;U==="VariableDeclarator"?k=S.id:U==="AssignmentExpression"||U==="AssignmentPattern"?k=S.left:U==="ObjectProperty"||U==="ClassProperty"?S.computed&&S.key.type!=="StringLiteral"||(k=S.key):(U==="ClassPrivateProperty"||U==="ClassAccessorProperty")&&(k=S.key)}if(k)return k.type==="Identifier"?F={pos:(_=k.loc)==null?void 0:_.start,name:((A=k.loc)==null?void 0:A.identifierName)||k.name}:k.type==="PrivateName"?F={pos:(L=k.loc)==null?void 0:L.start,name:"#"+k.id.name}:k.type==="StringLiteral"&&(F={pos:(j=k.loc)==null?void 0:j.start,name:k.value}),F}},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/modules.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ExportAllDeclaration=_,e.ExportDefaultDeclaration=j,e.ExportDefaultSpecifier=y,e.ExportNamedDeclaration=L,e.ExportNamespaceSpecifier=v,e.ExportSpecifier=x,e.ImportAttribute=k,e.ImportDeclaration=F,e.ImportDefaultSpecifier=m,e.ImportExpression=z,e.ImportNamespaceSpecifier=U,e.ImportSpecifier=b,e._printAttributes=S;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/node/index.js");let{isClassDeclaration:p,isExportDefaultSpecifier:i,isExportNamespaceSpecifier:o,isImportDefaultSpecifier:h,isImportNamespaceSpecifier:d,isStatement:f}=n;function b(C){(C.importKind==="type"||C.importKind==="typeof")&&(this.word(C.importKind),this.space()),this.print(C.imported),C.local&&C.local.name!==C.imported.name&&(this.space(),this.word("as"),this.space(),this.print(C.local))}function m(C){this.print(C.local)}function y(C){this.print(C.exported)}function x(C){C.exportKind==="type"&&(this.word("type"),this.space()),this.print(C.local),C.exported&&C.local.name!==C.exported.name&&(this.space(),this.word("as"),this.space(),this.print(C.exported))}function v(C){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(C.exported)}let E=!1;function S(C,R){var G;let{importAttributesKeyword:V}=this.format,{attributes:B,assertions:q}=C;B&&!V&&C.extra&&(C.extra.deprecatedAssertSyntax||C.extra.deprecatedWithLegacySyntax)&&!E&&(E=!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 K=V==="assert"||!V&&q;if(this.word(K?"assert":"with"),this.space(),!K&&(V==="with-legacy"||!V&&(G=C.extra)!=null&&G.deprecatedWithLegacySyntax))return void this.printList(B||q);let $=+!!R;this.token("{",null,$),this.space(),this.printList(B||q,this.shouldPrintTrailingComma("}")),this.space(),this.token("}",null,$)}function _(C){var R,G;this.word("export"),this.space(),C.exportKind==="type"&&(this.word("type"),this.space()),this.tokenChar(42),this.space(),this.word("from"),this.space(),(R=C.attributes)!=null&&R.length||(G=C.assertions)!=null&&G.length?(this.print(C.source,!0),this.space(),this._printAttributes(C,!1)):this.print(C.source),this.semicolon()}function A(C,R){p(R.declaration)&&C._shouldPrintDecoratorsBeforeExport(R)&&C.printJoin(R.declaration.decorators)}function L(C){if(A(this,C),this.word("export"),this.space(),C.declaration){let V=C.declaration;this.print(V),f(V)||this.semicolon()}else{C.exportKind==="type"&&(this.word("type"),this.space());let V=C.specifiers.slice(0),B=!1;for(;;){let K=V[0];if(i(K)||o(K))B=!0,this.print(V.shift()),V.length&&(this.tokenChar(44),this.space());else break}let q=!1;if(!V.length&&(V.length||B)||(q=!0,this.tokenChar(123),V.length&&(this.space(),this.printList(V,this.shouldPrintTrailingComma("}")),this.space()),this.tokenChar(125)),C.source){var R,G;this.space(),this.word("from"),this.space(),(R=C.attributes)!=null&&R.length||(G=C.assertions)!=null&&G.length?(this.print(C.source,!0),this.space(),this._printAttributes(C,q)):this.print(C.source)}this.semicolon()}}function j(C){A(this,C),this.word("export"),this.noIndentInnerCommentsHere(),this.space(),this.word("default"),this.space(),this.tokenContext|=c.TokenContext.exportDefault;let R=C.declaration;this.print(R),f(R)||this.semicolon()}function F(C){var R,G;this.word("import"),this.space();let V=C.importKind==="type"||C.importKind==="typeof";V?(this.noIndentInnerCommentsHere(),this.word(C.importKind),this.space()):C.module?(this.noIndentInnerCommentsHere(),this.word("module"),this.space()):C.phase&&(this.noIndentInnerCommentsHere(),this.word(C.phase),this.space());let B=C.specifiers.slice(0),q=!!B.length;for(;q;){let $=B[0];if(h($)||d($))this.print(B.shift()),B.length&&(this.tokenChar(44),this.space());else break}let K=!1;B.length?(K=!0,this.tokenChar(123),this.space(),this.printList(B,this.shouldPrintTrailingComma("}")),this.space(),this.tokenChar(125)):V&&!q&&(K=!0,this.tokenChar(123),this.tokenChar(125)),(q||V)&&(this.space(),this.word("from"),this.space()),(R=C.attributes)!=null&&R.length||(G=C.assertions)!=null&&G.length?(this.print(C.source,!0),this.space(),this._printAttributes(C,K)):this.print(C.source),this.semicolon()}function k(C){this.print(C.key),this.tokenChar(58),this.space(),this.print(C.value)}function U(C){this.tokenChar(42),this.space(),this.word("as"),this.space(),this.print(C.local)}function z(C){this.word("import"),C.phase&&(this.tokenChar(46),this.word(C.phase)),this.tokenChar(40);let R=this.shouldPrintTrailingComma(")");this.print(C.source),C.options!=null&&(this.tokenChar(44),this.space(),this.print(C.options)),R&&this.tokenChar(44),this.rightParens(C)}},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/statements.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.BreakStatement=v,e.CatchClause=j,e.ContinueStatement=E,e.DebuggerStatement=U,e.DoWhileStatement=y,e.ForOfStatement=e.ForInStatement=void 0,e.ForStatement=f,e.IfStatement=h,e.LabeledStatement=A,e.ReturnStatement=S,e.SwitchCase=k,e.SwitchStatement=F,e.ThrowStatement=_,e.TryStatement=L,e.VariableDeclaration=z,e.VariableDeclarator=C,e.WhileStatement=b,e.WithStatement=o;let{isFor:n,isForStatement:c,isIfStatement:p,isStatement:i}=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");function o(R){this.word("with"),this.space(),this.tokenChar(40),this.print(R.object),this.tokenChar(41),this.printBlock(R)}function h(R){this.word("if"),this.space(),this.tokenChar(40),this.print(R.test),this.tokenChar(41),this.space();let G=R.alternate&&p(d(R.consequent));G&&(this.tokenChar(123),this.newline(),this.indent()),this.printAndIndentOnComments(R.consequent),G&&(this.dedent(),this.newline(),this.tokenChar(125)),R.alternate&&(this.endsWith(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(R.alternate))}function d(R){let{body:G}=R;return i(G)===!1?R:d(G)}function f(R){this.word("for"),this.space(),this.tokenChar(40);{let G=this.enterForStatementInit();this.print(R.init),G()}this.tokenChar(59),R.test&&(this.space(),this.print(R.test)),this.token(";",!1,1),R.update&&(this.space(),this.print(R.update)),this.tokenChar(41),this.printBlock(R)}function b(R){this.word("while"),this.space(),this.tokenChar(40),this.print(R.test),this.tokenChar(41),this.printBlock(R)}function m(R){this.word("for"),this.space();let G=R.type==="ForOfStatement";G&&R.await&&(this.word("await"),this.space()),this.noIndentInnerCommentsHere(),this.tokenChar(40);{let V=this.enterForXStatementInit(G);this.print(R.left),V==null||V()}this.space(),this.word(G?"of":"in"),this.space(),this.print(R.right),this.tokenChar(41),this.printBlock(R)}function y(R){this.word("do"),this.space(),this.print(R.body),this.space(),this.word("while"),this.space(),this.tokenChar(40),this.print(R.test),this.tokenChar(41),this.semicolon()}function x(R,G){G&&(R.space(),R.printTerminatorless(G)),R.semicolon()}function v(R){this.word("break"),x(this,R.label)}function E(R){this.word("continue"),x(this,R.label)}function S(R){this.word("return"),x(this,R.argument)}function _(R){this.word("throw"),x(this,R.argument)}function A(R){this.print(R.label),this.tokenChar(58),this.space(),this.print(R.body)}function L(R){this.word("try"),this.space(),this.print(R.block),this.space(),R.handlers?this.print(R.handlers[0]):this.print(R.handler),R.finalizer&&(this.space(),this.word("finally"),this.space(),this.print(R.finalizer))}function j(R){this.word("catch"),this.space(),R.param&&(this.tokenChar(40),this.print(R.param),this.print(R.param.typeAnnotation),this.tokenChar(41),this.space()),this.print(R.body)}function F(R){this.word("switch"),this.space(),this.tokenChar(40),this.print(R.discriminant),this.tokenChar(41),this.space(),this.tokenChar(123),this.printSequence(R.cases,!0,void 0,function(G,V){if(!G&&R.cases[R.cases.length-1]===V)return-1}),this.rightBrace(R)}function k(R){R.test?(this.word("case"),this.space(),this.print(R.test)):this.word("default"),this.tokenChar(58),R.consequent.length&&(this.newline(),this.printSequence(R.consequent,!0))}function U(){this.word("debugger"),this.semicolon()}function z(R,G){R.declare&&(this.word("declare"),this.space());let{kind:V}=R;V==="await using"?(this.word("await"),this.space(),this.word("using",!0)):this.word(V,V==="using"),this.space();let B=!1;if(!n(G))for(let q of R.declarations)q.init&&(B=!0);if(this.printList(R.declarations,void 0,void 0,R.declarations.length>1,B?function(q){this.token(",",!1,q),this.newline()}:void 0),n(G)){if(c(G)){if(G.init===R)return}else if(G.left===R)return}this.semicolon()}function C(R){this.print(R.id),R.definite&&this.tokenChar(33),this.print(R.id.typeAnnotation),R.init&&(this.space(),this.tokenChar(61),this.space(),this.print(R.init))}e.ForInStatement=m,e.ForOfStatement=m},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/template-literals.js":function(u,e){"use strict";function l(i){this.print(i.tag),this.print(i.typeParameters),this.print(i.quasi)}function n(){throw Error("TemplateElement printing is handled in TemplateLiteral")}function c(i,o){let h=i.quasis,d="`";for(let f=0;f<h.length-1;f++)if(d+=h[f].value.raw,this.token(d+"${",!0),this.print(o[f]),d="}",this.tokenMap){let b=this.tokenMap.findMatching(i,"}",f);b&&this._catchUpTo(b.loc.start)}d+=h[h.length-1].value.raw,this.token(d+"`",!0)}function p(i){this._printTemplate(i,i.expressions)}Object.defineProperty(e,"__esModule",{value:!0}),e.TaggedTemplateExpression=l,e.TemplateElement=n,e.TemplateLiteral=p,e._printTemplate=c},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/types.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ArgumentPlaceholder=b,e.ArrayPattern=e.ArrayExpression=E,e.BigIntLiteral=U,e.BooleanLiteral=L,e.Identifier=f,e.NullLiteral=j,e.NumericLiteral=F,e.ObjectPattern=e.ObjectExpression=y,e.ObjectMethod=x,e.ObjectProperty=v,e.PipelineBareFunction=G,e.PipelinePrimaryTopicReference=V,e.PipelineTopicExpression=R,e.RecordExpression=S,e.RegExpLiteral=A,e.SpreadElement=e.RestElement=m,e.StringLiteral=k,e.TopicReference=C,e.TupleExpression=_,e.VoidPattern=B,e._getRawIdentifier=d;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/jsesc@3.1.0/node_modules/jsesc/jsesc.js");let{isAssignmentPattern:p,isIdentifier:i}=n,o=null,h="";function d(q){if(q===o)return h;o=q;let{name:K}=q,$=this.tokenMap.find(q,W=>W.value===K);return h=$?this._originalCode.slice($.start,$.end):q.name}function f(q){var K;this.sourceIdentifierName(((K=q.loc)==null?void 0:K.identifierName)||q.name),this.word(this.tokenMap?this._getRawIdentifier(q):q.name)}function b(){this.tokenChar(63)}function m(q){this.token("..."),this.print(q.argument)}function y(q){let K=q.properties;if(this.tokenChar(123),K.length){let $=this.enterDelimited();this.space(),this.printList(K,this.shouldPrintTrailingComma("}"),!0,!0),this.space(),$()}this.sourceWithOffset("end",q.loc,-1),this.tokenChar(125)}function x(q){this.printJoin(q.decorators),this._methodHead(q),this.space(),this.print(q.body)}function v(q){if(this.printJoin(q.decorators),q.computed)this.tokenChar(91),this.print(q.key),this.tokenChar(93);else{if(p(q.value)&&i(q.key)&&q.key.name===q.value.left.name)return void this.print(q.value);if(this.print(q.key),q.shorthand&&i(q.key)&&i(q.value)&&q.key.name===q.value.name)return}this.tokenChar(58),this.space(),this.print(q.value)}function E(q){let K=q.elements,$=K.length;this.tokenChar(91);let W=this.enterDelimited();for(let Z=0;Z<K.length;Z++){let Q=K[Z];Q?(Z>0&&this.space(),this.print(Q),(Z<$-1||this.shouldPrintTrailingComma("]"))&&this.token(",",!1,Z)):this.token(",",!1,Z)}W(),this.tokenChar(93)}function S(q){let K,$,W=q.properties;if(this.format.recordAndTupleSyntaxType==="bar")K="{|",$="|}";else{if(this.format.recordAndTupleSyntaxType!=="hash"&&this.format.recordAndTupleSyntaxType!=null)throw Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);K="#{",$="}"}this.token(K),W.length&&(this.space(),this.printList(W,this.shouldPrintTrailingComma($),!0,!0),this.space()),this.token($)}function _(q){let K,$,W=q.elements,Z=W.length;if(this.format.recordAndTupleSyntaxType==="bar")K="[|",$="|]";else if(this.format.recordAndTupleSyntaxType==="hash")K="#[",$="]";else throw Error(`${this.format.recordAndTupleSyntaxType} is not a valid recordAndTuple syntax type`);this.token(K);for(let Q=0;Q<W.length;Q++){let X=W[Q];X&&(Q>0&&this.space(),this.print(X),(Q<Z-1||this.shouldPrintTrailingComma($))&&this.token(",",!1,Q))}this.token($)}function A(q){this.word(`/${q.pattern}/${q.flags}`)}function L(q){this.word(q.value?"true":"false")}function j(){this.word("null")}function F(q){let K=this.getPossibleRaw(q),$=this.format.jsescOption,W=q.value,Z=W+"";$.numbers?this.number(c(W,$),W):K==null?this.number(Z,W):this.format.minified?this.number(K.length<Z.length?K:Z,W):this.number(K,W)}function k(q){let K=this.getPossibleRaw(q);if(!this.format.minified&&K!==void 0)return void this.token(K);let $=c(q.value,this.format.jsescOption);this.token($)}function U(q){let K=this.getPossibleRaw(q);this.format.minified||K===void 0?this.word(q.value+"n"):this.word(K)}let z=new Set(["^^","@@","^","%","#"]);function C(){let{topicToken:q}=this.format;if(z.has(q))this.token(q);else{let K=JSON.stringify(q),$=Array.from(z,W=>JSON.stringify(W));throw Error(`The "topicToken" generator option must be one of ${$.join(", ")} (${K} received instead).`)}}function R(q){this.print(q.expression)}function G(q){this.print(q.callee)}function V(){this.tokenChar(35)}function B(){this.word("void")}},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/typescript.js":function(u,e){"use strict";function l(Je,Le){this.token((Le.type==="TSFunctionType"||Le.type==="TSConstructorType")&&Le.typeAnnotation===Je?"=>":":"),this.space(),Je.optional&&this.tokenChar(63),this.print(Je.typeAnnotation)}function n(Je,Le){this.tokenChar(60);let at=Le.type==="ArrowFunctionExpression"&&Je.params.length===1;this.tokenMap&&Je.start!=null&&Je.end!=null&&(at&&(at=!!this.tokenMap.find(Je,Et=>this.tokenMap.matchesOriginal(Et,","))),at||(at=this.shouldPrintTrailingComma(">"))),this.printList(Je.params,at),this.tokenChar(62)}function c(Je){Je.const&&(this.word("const"),this.space()),Je.in&&(this.word("in"),this.space()),Je.out&&(this.word("out"),this.space()),this.word(Je.name),Je.constraint&&(this.space(),this.word("extends"),this.space(),this.print(Je.constraint)),Je.default&&(this.space(),this.tokenChar(61),this.space(),this.print(Je.default))}function p(Je){Je.accessibility&&(this.word(Je.accessibility),this.space()),Je.readonly&&(this.word("readonly"),this.space()),this._param(Je.parameter)}function i(Je,Le){Je.declare&&(this.word("declare"),this.space()),this._functionHead(Je,Le),this.semicolon()}function o(Je){this._classMethodHead(Je),this.semicolon()}function h(Je){this.print(Je.left),this.tokenChar(46),this.print(Je.right)}function d(Je){this.tsPrintSignatureDeclarationBase(Je),f(this,Je)}function f(Je,Le){Je.tokenMap&&Le.start&&Le.end?Je.tokenMap.endMatches(Le,",")?Je.token(","):Je.tokenMap.endMatches(Le,";")&&Je.semicolon():Je.semicolon()}function b(Je){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(Je),f(this,Je)}function m(Je){let{readonly:Le}=Je;Le&&(this.word("readonly"),this.space()),this.tsPrintPropertyOrMethodName(Je),this.print(Je.typeAnnotation),f(this,Je)}function y(Je){Je.computed&&this.tokenChar(91),this.print(Je.key),Je.computed&&this.tokenChar(93),Je.optional&&this.tokenChar(63)}function x(Je){let{kind:Le}=Je;(Le==="set"||Le==="get")&&(this.word(Le),this.space()),this.tsPrintPropertyOrMethodName(Je),this.tsPrintSignatureDeclarationBase(Je),f(this,Je)}function v(Je){let{readonly:Le,static:at}=Je;at&&(this.word("static"),this.space()),Le&&(this.word("readonly"),this.space()),this.tokenChar(91),this._parameters(Je.parameters,"]"),this.print(Je.typeAnnotation),f(this,Je)}function E(){this.word("any")}function S(){this.word("bigint")}function _(){this.word("unknown")}function A(){this.word("number")}function L(){this.word("object")}function j(){this.word("boolean")}function F(){this.word("string")}function k(){this.word("symbol")}function U(){this.word("void")}function z(){this.word("undefined")}function C(){this.word("null")}function R(){this.word("never")}function G(){this.word("intrinsic")}function V(){this.word("this")}function B(Je){this.tsPrintFunctionOrConstructorType(Je)}function q(Je){Je.abstract&&(this.word("abstract"),this.space()),this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(Je)}function K(Je){let{typeParameters:Le}=Je,at=Je.parameters;this.print(Le),this.tokenChar(40),this._parameters(at,")"),this.space();let Et=Je.typeAnnotation;this.print(Et)}function $(Je){let Le=Je.typeParameters;this.print(Je.typeName,!!Le),this.print(Le)}function W(Je){Je.asserts&&(this.word("asserts"),this.space()),this.print(Je.parameterName),Je.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(Je.typeAnnotation.typeAnnotation))}function Z(Je){this.word("typeof"),this.space(),this.print(Je.exprName);let Le=Je.typeParameters;Le&&this.print(Le)}function Q(Je){et(this,Je,()=>this.printJoin(Je.members,!0,!0))}function X(Je){this.print(Je.elementType,!0),this.tokenChar(91),this.tokenChar(93)}function ie(Je){this.tokenChar(91),this.printList(Je.elementTypes,this.shouldPrintTrailingComma("]")),this.tokenChar(93)}function oe(Je){this.print(Je.typeAnnotation),this.tokenChar(63)}function be(Je){this.token("..."),this.print(Je.typeAnnotation)}function Ne(Je){this.print(Je.label),Je.optional&&this.tokenChar(63),this.tokenChar(58),this.space(),this.print(Je.elementType)}function Pe(Je){We(this,Je,"|")}function Ke(Je){We(this,Je,"&")}function We(Je,Le,at){var Et;let Rt=0;(Et=Je.tokenMap)!=null&&Et.startMatches(Le,at)&&(Rt=1,Je.token(at)),Je.printJoin(Le.types,void 0,void 0,function(lr){this.space(),this.token(at,null,lr+Rt),this.space()})}function Oe(Je){this.print(Je.checkType),this.space(),this.word("extends"),this.space(),this.print(Je.extendsType),this.space(),this.tokenChar(63),this.space(),this.print(Je.trueType),this.space(),this.tokenChar(58),this.space(),this.print(Je.falseType)}function de(Je){this.word("infer"),this.print(Je.typeParameter)}function xe(Je){this.tokenChar(40),this.print(Je.typeAnnotation),this.tokenChar(41)}function ye(Je){this.word(Je.operator),this.space(),this.print(Je.typeAnnotation)}function ve(Je){this.print(Je.objectType,!0),this.tokenChar(91),this.print(Je.indexType),this.tokenChar(93)}function he(Je){let{nameType:Le,optional:at,readonly:Et,typeAnnotation:Rt}=Je;this.tokenChar(123);let lr=this.enterDelimited();this.space(),Et&&(Te(this,Et),this.word("readonly"),this.space()),this.tokenChar(91),this.word(Je.typeParameter.name),this.space(),this.word("in"),this.space(),this.print(Je.typeParameter.constraint),Le&&(this.space(),this.word("as"),this.space(),this.print(Le)),this.tokenChar(93),at&&(Te(this,at),this.tokenChar(63)),Rt&&(this.tokenChar(58),this.space(),this.print(Rt)),this.space(),lr(),this.tokenChar(125)}function Te(Je,Le){Le!==!0&&Je.token(Le)}function Ce(Je){this._printTemplate(Je,Je.types)}function se(Je){this.print(Je.literal)}function pe(Je){this.print(Je.expression),this.print(Je.typeArguments)}function nt(Je){let{declare:Le,id:at,typeParameters:Et,extends:Rt,body:lr}=Je;Le&&(this.word("declare"),this.space()),this.word("interface"),this.space(),this.print(at),this.print(Et),Rt!=null&&Rt.length&&(this.space(),this.word("extends"),this.space(),this.printList(Rt)),this.space(),this.print(lr)}function ft(Je){et(this,Je,()=>this.printJoin(Je.body,!0,!0))}function _t(Je){let{declare:Le,id:at,typeParameters:Et,typeAnnotation:Rt}=Je;Le&&(this.word("declare"),this.space()),this.word("type"),this.space(),this.print(at),this.print(Et),this.space(),this.tokenChar(61),this.space(),this.print(Rt),this.semicolon()}function Pt(Je){let{type:Le,expression:at,typeAnnotation:Et}=Je;this.print(at,!0),this.space(),this.word(Le==="TSAsExpression"?"as":"satisfies"),this.space(),this.print(Et)}function ht(Je){let{typeAnnotation:Le,expression:at}=Je;this.tokenChar(60),this.print(Le),this.tokenChar(62),this.space(),this.print(at)}function De(Je){this.print(Je.expression),this.print(Je.typeParameters)}function ze(Je){let{declare:Le,const:at,id:Et}=Je;Le&&(this.word("declare"),this.space()),at&&(this.word("const"),this.space()),this.word("enum"),this.space(),this.print(Et),this.space(),Ze.call(this,Je)}function Ze(Je){et(this,Je,()=>{var Le;return this.printList(Je.members,(Le=this.shouldPrintTrailingComma("}"))==null||Le,!0,!0)})}function tt(Je){let{id:Le,initializer:at}=Je;this.print(Le),at&&(this.space(),this.tokenChar(61),this.space(),this.print(at))}function ge(Je){let{declare:Le,id:at,kind:Et}=Je;Le&&(this.word("declare"),this.space());{if(Je.global||(this.word(Et??(at.type==="Identifier"?"namespace":"module")),this.space()),this.print(at),!Je.body)return void this.semicolon();let Rt=Je.body;for(;Rt.type==="TSModuleDeclaration";)this.tokenChar(46),this.print(Rt.id),Rt=Rt.body;this.space(),this.print(Rt)}}function fe(Je){et(this,Je,()=>this.printSequence(Je.body,!0))}function ee(Je){let{argument:Le,qualifier:at,options:Et}=Je;this.word("import"),this.tokenChar(40),this.print(Le),Et&&(this.tokenChar(44),this.print(Et)),this.tokenChar(41),at&&(this.tokenChar(46),this.print(at));let Rt=Je.typeParameters;Rt&&this.print(Rt)}function le(Je){let{id:Le,moduleReference:at}=Je;Je.isExport&&(this.word("export"),this.space()),this.word("import"),this.space(),this.print(Le),this.space(),this.tokenChar(61),this.space(),this.print(at),this.semicolon()}function Se(Je){this.token("require("),this.print(Je.expression),this.tokenChar(41)}function Ee(Je){this.print(Je.expression),this.tokenChar(33)}function Be(Je){this.word("export"),this.space(),this.tokenChar(61),this.space(),this.print(Je.expression),this.semicolon()}function Qe(Je){this.word("export"),this.space(),this.word("as"),this.space(),this.word("namespace"),this.space(),this.print(Je.id),this.semicolon()}function ce(Je){let{typeParameters:Le}=Je,at=Je.parameters;this.print(Le),this.tokenChar(40),this._parameters(at,")");let Et=Je.typeAnnotation;this.print(Et)}function $e(Je){let Le=Je.type==="ClassPrivateProperty",at=Je.type==="ClassAccessorProperty"||Je.type==="ClassProperty";ut(this,Je,[at&&Je.declare&&"declare",!Le&&Je.accessibility]),Je.static&&(this.word("static"),this.space()),ut(this,Je,[!Le&&Je.abstract&&"abstract",!Le&&Je.override&&"override",(at||Le)&&Je.readonly&&"readonly"])}function et(Je,Le,at){Je.token("{");let Et=Je.enterDelimited();at(),Et(),Je.rightBrace(Le)}function ut(Je,Le,at){var Et;let Rt=new Set;for(let lr of at)lr&&Rt.add(lr);for(let lr of((Et=Je.tokenMap)==null||Et.find(Le,xt=>{if(Rt.has(xt.value))return Je.token(xt.value),Je.space(),Rt.delete(xt.value),Rt.size===0}),Rt))Je.word(lr),Je.space()}Object.defineProperty(e,"__esModule",{value:!0}),e.TSAnyKeyword=E,e.TSArrayType=X,e.TSSatisfiesExpression=e.TSAsExpression=Pt,e.TSBigIntKeyword=S,e.TSBooleanKeyword=j,e.TSCallSignatureDeclaration=d,e.TSInterfaceHeritage=e.TSClassImplements=pe,e.TSConditionalType=Oe,e.TSConstructSignatureDeclaration=b,e.TSConstructorType=q,e.TSDeclareFunction=i,e.TSDeclareMethod=o,e.TSEnumBody=Ze,e.TSEnumDeclaration=ze,e.TSEnumMember=tt,e.TSExportAssignment=Be,e.TSExternalModuleReference=Se,e.TSFunctionType=B,e.TSImportEqualsDeclaration=le,e.TSImportType=ee,e.TSIndexSignature=v,e.TSIndexedAccessType=ve,e.TSInferType=de,e.TSInstantiationExpression=De,e.TSInterfaceBody=ft,e.TSInterfaceDeclaration=nt,e.TSIntersectionType=Ke,e.TSIntrinsicKeyword=G,e.TSLiteralType=se,e.TSMappedType=he,e.TSMethodSignature=x,e.TSModuleBlock=fe,e.TSModuleDeclaration=ge,e.TSNamedTupleMember=Ne,e.TSNamespaceExportDeclaration=Qe,e.TSNeverKeyword=R,e.TSNonNullExpression=Ee,e.TSNullKeyword=C,e.TSNumberKeyword=A,e.TSObjectKeyword=L,e.TSOptionalType=oe,e.TSParameterProperty=p,e.TSParenthesizedType=xe,e.TSPropertySignature=m,e.TSQualifiedName=h,e.TSRestType=be,e.TSStringKeyword=F,e.TSSymbolKeyword=k,e.TSTemplateLiteralType=Ce,e.TSThisType=V,e.TSTupleType=ie,e.TSTypeAliasDeclaration=_t,e.TSTypeAnnotation=l,e.TSTypeAssertion=ht,e.TSTypeLiteral=Q,e.TSTypeOperator=ye,e.TSTypeParameter=c,e.TSTypeParameterDeclaration=e.TSTypeParameterInstantiation=n,e.TSTypePredicate=W,e.TSTypeQuery=Z,e.TSTypeReference=$,e.TSUndefinedKeyword=z,e.TSUnionType=Pe,e.TSUnknownKeyword=_,e.TSVoidKeyword=U,e.tsPrintClassMemberModifiers=$e,e.tsPrintFunctionOrConstructorType=K,e.tsPrintPropertyOrMethodName=y,e.tsPrintSignatureDeclarationBase=ce},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.generate=i;var n=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/source-map.js"),c=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/printer.js");function p(o,h,d){var f;if(h.experimental_preserveFormat){if(typeof o!="string")throw Error("`experimental_preserveFormat` requires the original `code` to be passed to @babel/generator as a string");if(!h.retainLines)throw Error("`experimental_preserveFormat` requires `retainLines` to be set to `true`");if(h.compact&&h.compact!=="auto")throw Error("`experimental_preserveFormat` is not compatible with the `compact` option");if(h.minified)throw Error("`experimental_preserveFormat` is not compatible with the `minified` option");if(h.jsescOption)throw Error("`experimental_preserveFormat` is not compatible with the `jsescOption` option");if(!Array.isArray(d.tokens))throw Error("`experimental_preserveFormat` requires the AST to have attached the token of the input code. Make sure to enable the `tokens: true` parser option.")}let b={auxiliaryCommentBefore:h.auxiliaryCommentBefore,auxiliaryCommentAfter:h.auxiliaryCommentAfter,shouldPrintComment:h.shouldPrintComment,preserveFormat:h.experimental_preserveFormat,retainLines:h.retainLines,retainFunctionParens:h.retainFunctionParens,comments:h.comments==null||h.comments,compact:h.compact,minified:h.minified,concise:h.concise,indent:{adjustMultilineComment:!0,style:" "},jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},h.jsescOption),topicToken:h.topicToken,importAttributesKeyword:h.importAttributesKeyword};b.decoratorsBeforeExport=h.decoratorsBeforeExport,b.jsescOption.json=h.jsonCompatibleStrings,b.recordAndTupleSyntaxType=(f=h.recordAndTupleSyntaxType)!=null?f:"hash",b.minified?(b.compact=!0,b.shouldPrintComment=b.shouldPrintComment||(()=>b.comments)):b.shouldPrintComment=b.shouldPrintComment||(v=>b.comments||v.includes("@license")||v.includes("@preserve")),b.compact==="auto"&&(b.compact=typeof o=="string"&&o.length>5e5,b.compact&&console.error(`[BABEL] Note: The code generator has deoptimised the styling of ${h.filename} as it exceeds the max of 500KB.`)),(b.compact||b.preserveFormat)&&(b.indent.adjustMultilineComment=!1);let{auxiliaryCommentBefore:m,auxiliaryCommentAfter:y,shouldPrintComment:x}=b;return m&&!x(m)&&(b.auxiliaryCommentBefore=void 0),y&&!x(y)&&(b.auxiliaryCommentAfter=void 0),b}function i(o,h={},d){let f=p(d,h,o),b=h.sourceMaps?new n.default(h,d):null;return new c.default(f,b,o.tokens,typeof d=="string"?d:null).generate(o)}e.CodeGenerator=class{constructor(o,h={},d){this._ast=void 0,this._format=void 0,this._map=void 0,this._ast=o,this._format=p(d,h,o),this._map=h.sourceMaps?new n.default(h,d):null}generate(){return new c.default(this._format,this._map).generate(this._ast)}},e.default=i},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/node/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenContext=void 0,e.isLastChild=F,e.needsParens=L,e.needsWhitespace=S,e.needsWhitespaceAfter=A,e.needsWhitespaceBefore=_;var n=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/node/whitespace.js"),c=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/node/parentheses.js");let{FLIPPED_ALIAS_KEYS:p,VISITOR_KEYS:i,isCallExpression:o,isDecorator:h,isExpressionStatement:d,isMemberExpression:f,isNewExpression:b,isParenthesizedExpression:m}=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");function y(k){let U=new Map;function z(C,R){let G=U.get(C);U.set(C,G?function(V,B,q,K){var $;return($=G(V,B,q,K))!=null?$:R(V,B,q,K)}:R)}for(let C of Object.keys(k)){let R=p[C];if(R)for(let G of R)z(G,k[C]);else z(C,k[C])}return U}e.TokenContext={normal:0,expressionStatement:1,arrowBody:2,exportDefault:4,arrowFlowReturnType:8,forInitHead:16,forInHead:32,forOfHead:64,forInOrInitHeadAccumulate:128,forInOrInitHeadAccumulatePassThroughMask:128};let x=y(c),v=y(n.nodes);function E(k){return!!o(k)||f(k)&&E(k.object)}function S(k,U,z){var C;if(!k)return!1;d(k)&&(k=k.expression);let R=(C=v.get(k.type))==null?void 0:C(k,U);return typeof R=="number"&&(R&z)!=0}function _(k,U){return S(k,U,1)}function A(k,U){return S(k,U,2)}function L(k,U,z,C){var R;return!!U&&(!!(b(U)&&U.callee===k&&E(k))||(h(U)?!j(k)&&!(o(k)&&j(k.callee))&&!m(k):(R=x.get(k.type))==null?void 0:R(k,U,z,C)))}function j(k){switch(k.type){case"Identifier":return!0;case"MemberExpression":return!k.computed&&k.property.type==="Identifier"&&j(k.object);default:return!1}}function F(k,U){let z=i[k.type];for(let C=z.length-1;C>=0;C--){let R=k[z[C]];if(R===U)return!0;if(Array.isArray(R)){let G=R.length-1;for(;G>=0&&R[G]===null;)G--;return G>=0&&R[G]===U}if(R)break}return!1}},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/node/parentheses.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.AssignmentExpression=Oe,e.Binary=C,e.BinaryExpression=X,e.ClassExpression=be,e.ArrowFunctionExpression=e.ConditionalExpression=Ke,e.DoExpression=z,e.FunctionExpression=Pe,e.FunctionTypeAnnotation=j,e.Identifier=xe,e.LogicalExpression=de,e.NullableTypeAnnotation=L,e.ObjectExpression=U,e.OptionalIndexedAccessType=G,e.OptionalCallExpression=e.OptionalMemberExpression=We,e.SequenceExpression=ie,e.TSSatisfiesExpression=e.TSAsExpression=V,e.TSConditionalType=B,e.TSConstructorType=e.TSFunctionType=Q,e.TSInferType=$,e.TSInstantiationExpression=Z,e.TSIntersectionType=K,e.UnaryLike=e.TSTypeAssertion=Ne,e.TSTypeOperator=W,e.TSUnionType=q,e.IntersectionTypeAnnotation=e.UnionTypeAnnotation=R,e.UpdateExpression=F,e.AwaitExpression=e.YieldExpression=oe;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/node/index.js");let{isArrayTypeAnnotation:p,isBinaryExpression:i,isCallExpression:o,isForOfStatement:h,isIndexedAccessType:d,isMemberExpression:f,isObjectPattern:b,isOptionalMemberExpression:m,isYieldExpression:y,isStatement:x}=n,v=new Map([["||",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 E(ye,ve){return ve==="BinaryExpression"||ve==="LogicalExpression"?v.get(ye.operator):ve==="TSAsExpression"||ve==="TSSatisfiesExpression"?v.get("in"):void 0}function S(ye){return ye==="TSAsExpression"||ye==="TSSatisfiesExpression"||ye==="TSTypeAssertion"}let _=(ye,ve)=>{let he=ve.type;return(he==="ClassDeclaration"||he==="ClassExpression")&&ve.superClass===ye},A=(ye,ve)=>{let he=ve.type;return(he==="MemberExpression"||he==="OptionalMemberExpression")&&ve.object===ye||(he==="CallExpression"||he==="OptionalCallExpression"||he==="NewExpression")&&ve.callee===ye||he==="TaggedTemplateExpression"&&ve.tag===ye||he==="TSNonNullExpression"};function L(ye,ve){return p(ve)}function j(ye,ve,he){let Te=ve.type;return Te==="UnionTypeAnnotation"||Te==="IntersectionTypeAnnotation"||Te==="ArrayTypeAnnotation"||!!(he&c.TokenContext.arrowFlowReturnType)}function F(ye,ve){return A(ye,ve)||_(ye,ve)}function k(ye){return!!(ye&(c.TokenContext.expressionStatement|c.TokenContext.arrowBody))}function U(ye,ve,he){return k(he)}function z(ye,ve,he){return!ye.async&&!!(he&c.TokenContext.expressionStatement)}function C(ye,ve){let he=ve.type;if(ye.type==="BinaryExpression"&&ye.operator==="**"&&he==="BinaryExpression"&&ve.operator==="**")return ve.left===ye;if(_(ye,ve)||A(ye,ve)||he==="UnaryExpression"||he==="SpreadElement"||he==="AwaitExpression")return!0;let Te=E(ve,he);if(Te!=null){let Ce=E(ye,ye.type);if(Te===Ce&&he==="BinaryExpression"&&ve.right===ye||Te>Ce)return!0}}function R(ye,ve){let he=ve.type;return he==="ArrayTypeAnnotation"||he==="NullableTypeAnnotation"||he==="IntersectionTypeAnnotation"||he==="UnionTypeAnnotation"}function G(ye,ve){return d(ve)&&ve.objectType===ye}function V(ye,ve){return(ve.type==="AssignmentExpression"||ve.type==="AssignmentPattern")&&ve.left===ye||ve.type==="BinaryExpression"&&(ve.operator==="|"||ve.operator==="&")&&ye===ve.left||C(ye,ve)}function B(ye,ve){let he=ve.type;return he==="TSArrayType"||he==="TSIndexedAccessType"&&ve.objectType===ye||he==="TSOptionalType"||he==="TSTypeOperator"||he==="TSTypeParameter"||(he==="TSIntersectionType"||he==="TSUnionType")&&ve.types[0]===ye||he==="TSConditionalType"&&(ve.checkType===ye||ve.extendsType===ye)||!1}function q(ye,ve){let he=ve.type;return he==="TSIntersectionType"||he==="TSTypeOperator"||he==="TSArrayType"||he==="TSIndexedAccessType"&&ve.objectType===ye||he==="TSOptionalType"}function K(ye,ve){let he=ve.type;return he==="TSTypeOperator"||he==="TSArrayType"||he==="TSIndexedAccessType"&&ve.objectType===ye||he==="TSOptionalType"}function $(ye,ve){let he=ve.type;return he==="TSArrayType"||he==="TSIndexedAccessType"&&ve.objectType===ye||he==="TSOptionalType"||!!ye.typeParameter.constraint&&(he==="TSIntersectionType"||he==="TSUnionType")&&ve.types[0]===ye}function W(ye,ve){let he=ve.type;return he==="TSArrayType"||he==="TSIndexedAccessType"&&ve.objectType===ye||he==="TSOptionalType"}function Z(ye,ve){let he=ve.type;return(he==="CallExpression"||he==="OptionalCallExpression"||he==="NewExpression"||he==="TSInstantiationExpression")&&!!ve.typeParameters}function Q(ye,ve){let he=ve.type;return he==="TSIntersectionType"||he==="TSUnionType"||he==="TSTypeOperator"||he==="TSOptionalType"||he==="TSArrayType"||he==="TSIndexedAccessType"&&ve.objectType===ye||he==="TSConditionalType"&&(ve.checkType===ye||ve.extendsType===ye)}function X(ye,ve,he){return ye.operator==="in"&&!!(he&c.TokenContext.forInOrInitHeadAccumulate)}function ie(ye,ve){let he=ve.type;return he!=="SequenceExpression"&&he!=="ParenthesizedExpression"&&(he!=="MemberExpression"||ve.property!==ye)&&(he!=="OptionalMemberExpression"||ve.property!==ye)&&he!=="TemplateLiteral"&&(he==="ClassDeclaration"||(he==="ForOfStatement"?ve.right===ye:he==="ExportDefaultDeclaration"||!x(ve)))}function oe(ye,ve){let he=ve.type;return he==="BinaryExpression"||he==="LogicalExpression"||he==="UnaryExpression"||he==="SpreadElement"||A(ye,ve)||he==="AwaitExpression"&&y(ye)||he==="ConditionalExpression"&&ye===ve.test||_(ye,ve)||S(he)}function be(ye,ve,he){return!!(he&(c.TokenContext.expressionStatement|c.TokenContext.exportDefault))}function Ne(ye,ve){return A(ye,ve)||i(ve)&&ve.operator==="**"&&ve.left===ye||_(ye,ve)}function Pe(ye,ve,he){return!!(he&(c.TokenContext.expressionStatement|c.TokenContext.exportDefault))}function Ke(ye,ve){let he=ve.type;return!!(he==="UnaryExpression"||he==="SpreadElement"||he==="BinaryExpression"||he==="LogicalExpression"||he==="ConditionalExpression"&&ve.test===ye||he==="AwaitExpression"||S(he))||Ne(ye,ve)}function We(ye,ve){return o(ve)&&ve.callee===ye||f(ve)&&ve.object===ye}function Oe(ye,ve,he){return!!(k(he)&&b(ye.left))||Ke(ye,ve)}function de(ye,ve){let he=ve.type;if(S(he))return!0;if(he!=="LogicalExpression")return!1;switch(ye.operator){case"||":return ve.operator==="??"||ve.operator==="&&";case"&&":return ve.operator==="??";case"??":return ve.operator!=="??"}}function xe(ye,ve,he,Te){var Ce;let se=ve.type;if((Ce=ye.extra)!=null&&Ce.parenthesized&&se==="AssignmentExpression"&&ve.left===ye){let pe=ve.right.type;if((pe==="FunctionExpression"||pe==="ClassExpression")&&ve.right.id==null)return!0}return(!Te||Te(ye)===ye.name)&&(ye.name==="let"?!!(f(ve,{object:ye,computed:!0})||m(ve,{object:ye,computed:!0,optional:!1}))&&!!(he&(c.TokenContext.expressionStatement|c.TokenContext.forInitHead|c.TokenContext.forInHead))||!!(he&c.TokenContext.forOfHead):ye.name==="async"&&h(ve,{left:ye,await:!1}))}},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/node/whitespace.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.nodes=void 0;let{FLIPPED_ALIAS_KEYS:n,isArrayExpression:c,isAssignmentExpression:p,isBinary:i,isBlockStatement:o,isCallExpression:h,isFunction:d,isIdentifier:f,isLiteral:b,isMemberExpression:m,isObjectExpression:y,isOptionalCallExpression:x,isOptionalMemberExpression:v,isStringLiteral:E}=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");function S(F,k){return F&&(m(F)||v(F)?(S(F.object,k),F.computed&&S(F.property,k)):i(F)||p(F)?(S(F.left,k),S(F.right,k)):h(F)||x(F)?(k.hasCall=!0,S(F.callee,k)):d(F)?k.hasFunction=!0:f(F)&&(k.hasHelper=k.hasHelper||F.callee&&A(F.callee))),k}function _(F){return S(F,{hasCall:!1,hasFunction:!1,hasHelper:!1})}function A(F){return!!F&&(m(F)?A(F.object)||A(F.property):f(F)?F.name==="require"||F.name.charCodeAt(0)===95:h(F)?A(F.callee):!!(i(F)||p(F))&&(f(F.left)&&A(F.left)||A(F.right)))}function L(F){return b(F)||y(F)||c(F)||f(F)||m(F)}let j=e.nodes={AssignmentExpression(F){let k=_(F.right);if(k.hasCall&&k.hasHelper||k.hasFunction)return k.hasFunction?3:2},SwitchCase:(F,k)=>(F.consequent.length||k.cases[0]===F?1:0)|2*(!F.consequent.length&&k.cases[k.cases.length-1]===F),LogicalExpression(F){if(d(F.left)||d(F.right))return 2},Literal(F){if(E(F)&&F.value==="use strict")return 2},CallExpression(F){if(d(F.callee)||A(F))return 3},OptionalCallExpression(F){if(d(F.callee))return 3},VariableDeclaration(F){for(let k=0;k<F.declarations.length;k++){let U=F.declarations[k],z=A(U.id)&&!L(U.init);if(!z&&U.init){let C=_(U.init);z=A(U.init)&&C.hasCall||C.hasFunction}if(z)return 3}},IfStatement(F){if(o(F.consequent))return 3}};j.ObjectProperty=j.ObjectTypeProperty=j.ObjectMethod=function(F,k){if(k.properties[0]===F)return 1},j.ObjectTypeCallProperty=function(F,k){var U;if(k.callProperties[0]===F&&!((U=k.properties)!=null&&U.length))return 1},j.ObjectTypeIndexer=function(F,k){var U,z;if(k.indexers[0]===F&&!((U=k.properties)!=null&&U.length)&&!((z=k.callProperties)!=null&&z.length))return 1},j.ObjectTypeInternalSlot=function(F,k){var U,z,C;if(k.internalSlots[0]===F&&!((U=k.properties)!=null&&U.length)&&!((z=k.callProperties)!=null&&z.length)&&!((C=k.indexers)!=null&&C.length))return 1},[["Function",!0],["Class",!0],["Loop",!0],["LabeledStatement",!0],["SwitchStatement",!0],["TryStatement",!0]].forEach(function([F,k]){[F].concat(n[F]||[]).forEach(function(U){let z=3*!!k;j[U]=()=>z})})},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/printer.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/buffer.js"),c=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/node/index.js"),p=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),i=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/token-map.js"),o=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/index.js"),h=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/generators/deprecated.js");let{isExpression:d,isFunction:f,isStatement:b,isClassBody:m,isTSInterfaceBody:y,isTSEnumMember:x}=p,v=/e/i,E=/\.0+$/,S=/[\n\r\u2028\u2029]/,_=/[\n\r\u2028\u2029]|\*\//;function A(k){return k.type==="CommentLine"||S.test(k.value)}let{needsParens:L}=c,j=class{constructor(U,z,C,R){this.tokenContext=c.TokenContext.normal,this._tokens=null,this._originalCode=null,this._currentNode=null,this._indent=0,this._indentRepeat=0,this._insideAux=!1,this._noLineTerminator=!1,this._noLineTerminatorAfterNode=null,this._printAuxAfterOnNextUserNode=!1,this._printedComments=new Set,this._endsWithInteger=!1,this._endsWithWord=!1,this._endsWithDiv=!1,this._lastCommentLine=0,this._endsWithInnerRaw=!1,this._indentInnerComments=!0,this.tokenMap=null,this._boundGetRawIdentifier=this._getRawIdentifier.bind(this),this._printSemicolonBeforeNextNode=-1,this._printSemicolonBeforeNextToken=-1,this.format=U,this._tokens=C,this._originalCode=R,this._indentRepeat=U.indent.style.length,this._inputMap=z==null?void 0:z._inputMap,this._buf=new n.default(z,U.indent.style[0])}enterForStatementInit(){return this.tokenContext|=c.TokenContext.forInitHead|c.TokenContext.forInOrInitHeadAccumulate,()=>this.tokenContext=c.TokenContext.normal}enterForXStatementInit(U){return U?(this.tokenContext|=c.TokenContext.forOfHead,null):(this.tokenContext|=c.TokenContext.forInHead|c.TokenContext.forInOrInitHeadAccumulate,()=>this.tokenContext=c.TokenContext.normal)}enterDelimited(){let U=this.tokenContext,z=this._noLineTerminatorAfterNode;return U&c.TokenContext.forInOrInitHeadAccumulate||z!==null?(this._noLineTerminatorAfterNode=null,this.tokenContext=c.TokenContext.normal,()=>{this._noLineTerminatorAfterNode=z,this.tokenContext=U}):()=>{}}generate(U){return this.format.preserveFormat&&(this.tokenMap=new i.TokenMap(U,this._tokens,this._originalCode)),this.print(U),this._maybeAddAuxComment(),this._buf.get()}indent(){let{format:U}=this;!U.preserveFormat&&!U.compact&&!U.concise&&this._indent++}dedent(){let{format:U}=this;!U.preserveFormat&&!U.compact&&!U.concise&&this._indent--}semicolon(U=!1){if(this._maybeAddAuxComment(),U){this._appendChar(59),this._noLineTerminator=!1;return}if(this.tokenMap){let z=this._currentNode;if(z.start!=null&&z.end!=null){if(!this.tokenMap.endMatches(z,";")){this._printSemicolonBeforeNextNode=this._buf.getCurrentLine();return}let C=this.tokenMap.getIndexes(this._currentNode);this._catchUpTo(this._tokens[C[C.length-1]].loc.start)}}this._queue(59),this._noLineTerminator=!1}rightBrace(U){this.format.minified&&this._buf.removeLastSemicolon(),this.sourceWithOffset("end",U.loc,-1),this.tokenChar(125)}rightParens(U){this.sourceWithOffset("end",U.loc,-1),this.tokenChar(41)}space(U=!1){let{format:z}=this;if(!z.compact&&!z.preserveFormat){if(U)this._space();else if(this._buf.hasContent()){let C=this.getLastChar();C!==32&&C!==10&&this._space()}}}word(U,z=!1){this.tokenContext&=c.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(U),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(U),(this._endsWithWord||this._endsWithDiv&&U.charCodeAt(0)===47)&&this._space(),this._append(U,!1),this._endsWithWord=!0,this._noLineTerminator=z}number(U,z){function C(R){if(R.length>2&&R.charCodeAt(0)===48){let G=R.charCodeAt(1);return G===98||G===111||G===120}return!1}this.word(U),this._endsWithInteger=Number.isInteger(z)&&!C(U)&&!v.test(U)&&!E.test(U)&&U.charCodeAt(U.length-1)!==46}token(U,z=!1,C=0){this.tokenContext&=c.TokenContext.forInOrInitHeadAccumulatePassThroughMask,this._maybePrintInnerComments(U,C),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(U,C);let R=this.getLastChar(),G=U.charCodeAt(0);(R===33&&(U==="--"||G===61)||G===43&&R===43||G===45&&R===45||G===46&&this._endsWithInteger)&&this._space(),this._append(U,z),this._noLineTerminator=!1}tokenChar(U){this.tokenContext&=c.TokenContext.forInOrInitHeadAccumulatePassThroughMask;let z=String.fromCharCode(U);this._maybePrintInnerComments(z),this._maybeAddAuxComment(),this.tokenMap&&this._catchUpToCurrentToken(z);let C=this.getLastChar();(U===43&&C===43||U===45&&C===45||U===46&&this._endsWithInteger)&&this._space(),this._appendChar(U),this._noLineTerminator=!1}newline(U=1,z){if(!(U<=0)){if(!z){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space()}U>2&&(U=2),U-=this._buf.getNewlineCount();for(let C=0;C<U;C++)this._newline()}}endsWith(U){return this.getLastChar()===U}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}removeTrailingNewline(){this._buf.removeTrailingNewline()}exactSource(U,z){U?(this._catchUp("start",U),this._buf.exactSource(U,z)):z()}source(U,z){z&&(this._catchUp(U,z),this._buf.source(U,z))}sourceWithOffset(U,z,C){z&&!this.format.preserveFormat&&(this._catchUp(U,z),this._buf.sourceWithOffset(U,z,C))}sourceIdentifierName(U,z){if(!this._buf._canMarkIdName)return;let C=this._buf._sourcePosition;C.identifierNamePos=z,C.identifierName=U}_space(){this._queue(32)}_newline(){this._queue(10)}_catchUpToCurrentToken(U,z=0){let C=this.tokenMap.findMatching(this._currentNode,U,z);C&&this._catchUpTo(C.loc.start),this._printSemicolonBeforeNextToken!==-1&&this._printSemicolonBeforeNextToken===this._buf.getCurrentLine()&&(this._buf.appendChar(59),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1),this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1}_append(U,z){this._maybeIndent(U.charCodeAt(0)),this._buf.append(U,z),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_appendChar(U){this._maybeIndent(U),this._buf.appendChar(U),this._endsWithWord=!1,this._endsWithInteger=!1,this._endsWithDiv=!1}_queue(U){this._maybeIndent(U),this._buf.queue(U),this._endsWithWord=!1,this._endsWithInteger=!1}_maybeIndent(U){this._indent&&U!==10&&this.endsWith(10)&&this._buf.queueIndentation(this._getIndent())}_shouldIndent(U){if(this._indent&&U!==10&&this.endsWith(10))return!0}catchUp(U){if(!this.format.retainLines)return;let z=U-this._buf.getCurrentLine();for(let C=0;C<z;C++)this._newline()}_catchUp(U,z){let{format:C}=this;if(!C.preserveFormat){C.retainLines&&z!=null&&z[U]&&this.catchUp(z[U].line);return}let R=z==null?void 0:z[U];R!=null&&this._catchUpTo(R)}_catchUpTo({line:U,column:z,index:C}){let R=U-this._buf.getCurrentLine();if(R>0&&this._noLineTerminator)return;for(let V=0;V<R;V++)this._newline();let G=R>0?z:z-this._buf.getCurrentColumn();if(G>0){let V=this._originalCode?this._originalCode.slice(C-G,C).replace(/[^\t\x0B\f \xA0\u1680\u2000-\u200A\u202F\u205F\u3000\uFEFF]/gu," "):" ".repeat(G);this._append(V,!1)}}_getIndent(){return this._indentRepeat*this._indent}printTerminatorless(U){this._noLineTerminator=!0,this.print(U)}print(U,z,C){var R,G,V,B;let q,K;if(!U)return;this._endsWithInnerRaw=!1;let $=U.type,W=this.format,Z=W.concise;U._compact&&(W.concise=!0);let Q=this[$];if(Q===void 0)throw ReferenceError(`unknown node of type ${JSON.stringify($)} with constructor ${JSON.stringify(U.constructor.name)}`);let X=this._currentNode;this._currentNode=U,this.tokenMap&&(this._printSemicolonBeforeNextToken=this._printSemicolonBeforeNextNode);let ie=this._insideAux;this._insideAux=U.loc==null,this._maybeAddAuxComment(this._insideAux&&!ie);let oe=(R=U.extra)==null?void 0:R.parenthesized,be=oe&&W.preserveFormat||oe&&W.retainFunctionParens&&$==="FunctionExpression"||L(U,X,this.tokenContext,W.preserveFormat?this._boundGetRawIdentifier:void 0);if(!be&&oe&&(G=U.leadingComments)!=null&&G.length&&U.leadingComments[0].type==="CommentBlock")switch(X==null?void 0:X.type){case"ExpressionStatement":case"VariableDeclarator":case"AssignmentExpression":case"ReturnStatement":break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":if(X.callee!==U)break;default:be=!0}let Ne=!1;!be&&this._noLineTerminator&&((V=U.leadingComments)!=null&&V.some(A)||this.format.retainLines&&U.loc&&U.loc.start.line>this._buf.getCurrentLine())&&(be=!0,Ne=!0),!be&&(z||(z=X&&this._noLineTerminatorAfterNode===X&&c.isLastChild(X,U)),z&&((B=U.trailingComments)!=null&&B.some(A)?d(U)&&(be=!0):(q=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=U))),be&&(this.tokenChar(40),Ne&&this.indent(),this._endsWithInnerRaw=!1,this.tokenContext&c.TokenContext.forInOrInitHeadAccumulate&&(K=this.tokenContext,this.tokenContext=c.TokenContext.normal),q=this._noLineTerminatorAfterNode,this._noLineTerminatorAfterNode=null),this._lastCommentLine=0,this._printLeadingComments(U,X);let Pe=$==="Program"||$==="File"?null:U.loc;this.exactSource(Pe,Q.bind(this,U,X)),be?(this._printTrailingComments(U,X),Ne&&(this.dedent(),this.newline()),this.tokenChar(41),this._noLineTerminator=z,K&&(this.tokenContext=K)):z&&!this._noLineTerminator?(this._noLineTerminator=!0,this._printTrailingComments(U,X)):this._printTrailingComments(U,X,C),this._currentNode=X,W.concise=Z,this._insideAux=ie,q!==void 0&&(this._noLineTerminatorAfterNode=q),this._endsWithInnerRaw=!1}_maybeAddAuxComment(U){U&&this._printAuxBeforeComment(),this._insideAux||this._printAuxAfterComment()}_printAuxBeforeComment(){if(this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!0;let U=this.format.auxiliaryCommentBefore;U&&this._printComment({type:"CommentBlock",value:U},0)}_printAuxAfterComment(){if(!this._printAuxAfterOnNextUserNode)return;this._printAuxAfterOnNextUserNode=!1;let U=this.format.auxiliaryCommentAfter;U&&this._printComment({type:"CommentBlock",value:U},0)}getPossibleRaw(U){let z=U.extra;if((z==null?void 0:z.raw)!=null&&z.rawValue!=null&&U.value===z.rawValue)return z.raw}printJoin(U,z,C,R,G,V,B,q){var K,$,W;if(!(U!=null&&U.length))return;if(C==null&&this.format.retainLines){let ie=(K=U[0].loc)==null?void 0:K.start.line;ie!=null&&ie!==this._buf.getCurrentLine()&&(C=!0)}C&&this.indent();let Z={addNewlines:V,nextNodeStartLine:0},Q=R==null?void 0:R.bind(this),X=U.length;for(let ie=0;ie<X;ie++){let oe=U[ie];oe&&(z&&this._printNewline(ie===0,Z),this.print(oe,void 0,q||0),B==null||B(oe,ie),Q!=null&&(ie<X-1?Q(ie,!1):G&&Q(ie,!0)),z&&(($=oe.trailingComments)!=null&&$.length||(this._lastCommentLine=0),ie+1===X?this.newline(1):(Z.nextNodeStartLine=((W=U[ie+1].loc)==null?void 0:W.start.line)||0,this._printNewline(!0,Z))))}C&&this.dedent()}printAndIndentOnComments(U){let z=U.leadingComments&&U.leadingComments.length>0;z&&this.indent(),this.print(U),z&&this.dedent()}printBlock(U){let z=U.body;z.type!=="EmptyStatement"&&this.space(),this.print(z)}_printTrailingComments(U,z,C){let{innerComments:R,trailingComments:G}=U;R!=null&&R.length&&this._printComments(2,R,U,z,C),G!=null&&G.length&&this._printComments(2,G,U,z,C)}_printLeadingComments(U,z){let C=U.leadingComments;C!=null&&C.length&&this._printComments(0,C,U,z)}_maybePrintInnerComments(U,z){if(this._endsWithInnerRaw){var C;this.printInnerComments((C=this.tokenMap)==null?void 0:C.findMatching(this._currentNode,U,z))}this._endsWithInnerRaw=!0,this._indentInnerComments=!0}printInnerComments(U){let z=this._currentNode,C=z.innerComments;if(!(C!=null&&C.length))return;let R=this.endsWith(32),G=this._indentInnerComments,V=this._printedComments.size;G&&this.indent(),this._printComments(1,C,z,void 0,void 0,U),R&&V!==this._printedComments.size&&this.space(),G&&this.dedent()}noIndentInnerCommentsHere(){this._indentInnerComments=!1}printSequence(U,z,C,R){this.printJoin(U,!0,z!=null&&z,void 0,void 0,R,void 0,C)}printList(U,z,C,R,G,V){this.printJoin(U,C,R,G??F,z,void 0,V)}shouldPrintTrailingComma(U){if(!this.tokenMap)return null;let z=this.tokenMap.findLastIndex(this._currentNode,C=>this.tokenMap.matchesOriginal(C,U));return z<=0?null:this.tokenMap.matchesOriginal(this._tokens[z-1],",")}_printNewline(U,z){let C=this.format;if(C.retainLines||C.compact)return;if(C.concise)return void this.space();if(!U)return;let R=z.nextNodeStartLine,G=this._lastCommentLine;if(R>0&&G>0){let V=R-G;if(V>=0)return void this.newline(V||1)}this._buf.hasContent()&&this.newline(1)}_shouldPrintComment(U,z){if(U.ignore||this._printedComments.has(U))return 0;if(this._noLineTerminator&&_.test(U.value))return 2;if(z&&this.tokenMap){let C=this.tokenMap.find(this._currentNode,R=>R.value===U.value);if(C&&C.start>z.start)return 2}return this._printedComments.add(U),+!!this.format.shouldPrintComment(U.value)}_printComment(U,z){let C,R=this._noLineTerminator,G=U.type==="CommentBlock",V=G&&z!==1&&!this._noLineTerminator;V&&this._buf.hasContent()&&z!==2&&this.newline(1);let B=this.getLastChar();if(B!==91&&B!==123&&B!==40&&this.space(),G){if(C=`/*${U.value}*/`,this.format.indent.adjustMultilineComment){var q;let K=(q=U.loc)==null?void 0:q.start.column;if(K){let $=RegExp("\\n\\s{1,"+K+"}","g");C=C.replace($,`
|
|
`)}if(this.format.concise)C=C.replace(/\n(?!$)/g,`
|
|
`);else{let $=this.format.retainLines?0:this._buf.getCurrentColumn();(this._shouldIndent(47)||this.format.retainLines)&&($+=this._getIndent()),C=C.replace(/\n(?!$)/g,`
|
|
${" ".repeat($)}`)}}}else C=R?`/*${U.value}*/`:`//${U.value}`;if(this._endsWithDiv&&this._space(),this.tokenMap){let{_printSemicolonBeforeNextToken:K,_printSemicolonBeforeNextNode:$}=this;this._printSemicolonBeforeNextToken=-1,this._printSemicolonBeforeNextNode=-1,this.source("start",U.loc),this._append(C,G),this._printSemicolonBeforeNextNode=$,this._printSemicolonBeforeNextToken=K}else this.source("start",U.loc),this._append(C,G);G||R||this.newline(1,!0),V&&z!==3&&this.newline(1)}_printComments(U,z,C,R,G=0,V){let B=C.loc,q=z.length,K=!!B,$=K?B.start.line:0,W=K?B.end.line:0,Z=0,Q=0,X=this._noLineTerminator?function(){}:this.newline.bind(this);for(let ie=0;ie<q;ie++){let oe=z[ie],be=this._shouldPrintComment(oe,V);if(be===2){K=!1;break}if(K&&oe.loc&&be===1){let Ne=oe.loc.start.line,Pe=oe.loc.end.line;if(U===0){let Ke=0;ie===0?this._buf.hasContent()&&(oe.type==="CommentLine"||Ne!==Pe)&&(Ke=Q=1):Ke=Ne-Z,Z=Pe,X(Ke),this._printComment(oe,1),ie+1===q&&(X(Math.max($-Z,Q)),Z=$)}else if(U===1){let Ke=Ne-(ie===0?$:Z);Z=Pe,X(Ke),this._printComment(oe,1),ie+1===q&&(X(Math.min(1,W-Z)),Z=W)}else{let Ke=Ne-(ie===0?W-G:Z);Z=Pe,X(Ke),this._printComment(oe,1)}}else{if(K=!1,be!==1)continue;if(q===1){let Ne=oe.loc?oe.loc.start.line===oe.loc.end.line:!S.test(oe.value),Pe=Ne&&!b(C)&&!m(R)&&!y(R)&&!x(C);U===0?this._printComment(oe,Pe&&C.type!=="ObjectExpression"||Ne&&f(R,{body:C})?1:0):Pe&&U===2?this._printComment(oe,1):this._printComment(oe,0)}else U!==1||C.type==="ObjectExpression"&&C.properties.length>1||C.type==="ClassBody"||C.type==="TSInterfaceBody"?this._printComment(oe,0):this._printComment(oe,ie===0?2:3*(ie===q-1))}}U===2&&K&&Z&&(this._lastCommentLine=Z)}};function F(k,U){this.token(",",!1,k),U||this.space()}Object.assign(j.prototype,o),(0,h.addDeprecatedGenerators)(j),e.default=j},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/source-map.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@jridgewell+gen-mapping@0.3.13/node_modules/@jridgewell/gen-mapping/dist/gen-mapping.umd.js"),c=l("./node_modules/.pnpm/@jridgewell+trace-mapping@0.3.31/node_modules/@jridgewell/trace-mapping/dist/trace-mapping.umd.js");let p=class{constructor(o,h){var d,f;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 b=this._map=new n.GenMapping({sourceRoot:o.sourceRoot});if(this._sourceFileName=(d=o.sourceFileName)==null?void 0:d.replace(/\\/g,"/"),this._rawMappings=void 0,o.inputSourceMap){this._inputMap=new c.TraceMap(o.inputSourceMap);let m=this._inputMap.resolvedSources;if(m.length)for(let y=0;y<m.length;y++)(0,n.setSourceContent)(b,m[y],(f=this._inputMap.sourcesContent)==null?void 0:f[y])}if(typeof h!="string"||o.inputSourceMap){if(typeof h=="object")for(let m of Object.keys(h))(0,n.setSourceContent)(b,m.replace(/\\/g,"/"),h[m])}else(0,n.setSourceContent)(b,this._sourceFileName,h)}get(){return(0,n.toEncodedMap)(this._map)}getDecoded(){return(0,n.toDecodedMap)(this._map)}getRawMappings(){return this._rawMappings||(this._rawMappings=(0,n.allMappings)(this._map))}mark(o,h,d,f,b,m){var y;let x;if(this._rawMappings=void 0,h!=null)if(this._inputMap){if(!(x=(0,c.originalPositionFor)(this._inputMap,{line:h,column:d})).name&&b){let v=(0,c.originalPositionFor)(this._inputMap,b);v.name&&(f=v.name)}}else x={source:(m==null?void 0:m.replace(/\\/g,"/"))||this._sourceFileName,line:h,column:d};(0,n.maybeAddMapping)(this._map,{name:f,generated:o,source:(y=x)==null?void 0:y.source,original:x})}};e.default=p},"./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/token-map.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TokenMap=void 0;let{traverseFast:n,VISITOR_KEYS:c}=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),p=class{constructor(h,d,f){this._tokens=void 0,this._source=void 0,this._nodesToTokenIndexes=new Map,this._nodesOccurrencesCountCache=new Map,this._tokensCache=new Map,this._tokens=d,this._source=f,n(h,b=>{let m=this._getTokensIndexesOfNode(b);m.length>0&&this._nodesToTokenIndexes.set(b,m)}),this._tokensCache=null}has(h){return this._nodesToTokenIndexes.has(h)}getIndexes(h){return this._nodesToTokenIndexes.get(h)}find(h,d){let f=this._nodesToTokenIndexes.get(h);if(f)for(let b=0;b<f.length;b++){let m=f[b],y=this._tokens[m];if(d(y,m))return y}return null}findLastIndex(h,d){let f=this._nodesToTokenIndexes.get(h);if(f)for(let b=f.length-1;b>=0;b--){let m=f[b];if(d(this._tokens[m],m))return m}return-1}findMatching(h,d,f=0){let b=this._nodesToTokenIndexes.get(h);if(b){let m=0,y=f;if(y>1){let x=this._nodesOccurrencesCountCache.get(h);x&&x.test===d&&x.count<y&&(m=x.i+1,f-=x.count+1)}for(;m<b.length;m++){let x=this._tokens[b[m]];if(this.matchesOriginal(x,d)){if(f===0)return y>0&&this._nodesOccurrencesCountCache.set(h,{test:d,count:y,i:m}),x;f--}}}return null}matchesOriginal(h,d){return h.end-h.start===d.length&&(h.value!=null?h.value===d:this._source.startsWith(d,h.start))}startMatches(h,d){let f=this._nodesToTokenIndexes.get(h);if(!f)return!1;let b=this._tokens[f[0]];return b.start===h.start&&this.matchesOriginal(b,d)}endMatches(h,d){let f=this._nodesToTokenIndexes.get(h);if(!f)return!1;let b=this._tokens[f[f.length-1]];return b.end===h.end&&this.matchesOriginal(b,d)}_getTokensIndexesOfNode(h){if(h.start==null||h.end==null)return[];let{first:d,last:f}=this._findTokensOfNode(h,0,this._tokens.length-1),b=d,m=i(h);(h.type==="ExportNamedDeclaration"||h.type==="ExportDefaultDeclaration")&&h.declaration&&h.declaration.type==="ClassDeclaration"&&m.next();let y=[];for(let x of m){if(x==null||x.start==null||x.end==null)continue;let v=this._findTokensOfNode(x,b,f),E=v.first;for(let S=b;S<E;S++)y.push(S);b=v.last+1}for(let x=b;x<=f;x++)y.push(x);return y}_findTokensOfNode(h,d,f){let b=this._tokensCache.get(h);if(b)return b;let m=this._findFirstTokenOfNode(h.start,d,f),y=this._findLastTokenOfNode(h.end,m,f);return this._tokensCache.set(h,{first:m,last:y}),{first:m,last:y}}_findFirstTokenOfNode(h,d,f){for(;d<=f;){let b=f+d>>1;if(h<this._tokens[b].start)f=b-1;else{if(!(h>this._tokens[b].start))return b;d=b+1}}return d}_findLastTokenOfNode(h,d,f){for(;d<=f;){let b=f+d>>1;if(h<this._tokens[b].end)f=b-1;else{if(!(h>this._tokens[b].end))return b;d=b+1}}return f}};function*i(o){if(o.type==="TemplateLiteral"){yield o.quasis[0];for(let h=1;h<o.quasis.length;h++)yield o.expressions[h-1],yield o.quasis[h];return}for(let h of c[o.type]){let d=o[h];d&&(Array.isArray(d)?yield*d:yield d)}}e.TokenMap=p},"./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.27.3/node_modules/@babel/helper-annotate-as-pure/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;let{addComment:n}=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");function c(p){let i=p.node||p;(({leadingComments:o})=>!!o&&o.some(h=>/[@#]__PURE__/.test(h.value)))(i)||n(i,"leading","#__PURE__")}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildDecoratedClass=b;var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js"),c=l("./node_modules/.pnpm/@babel+helper-replace-supers@7.27.1_@babel+core@7.28.4/node_modules/@babel/helper-replace-supers/lib/index.js");function p(m,y){return y?n.types.objectProperty(n.types.identifier(m),y):null}function i(m,y){return n.types.objectMethod("method",n.types.identifier(m),[],n.types.blockStatement(y))}function o(m){let y;return m.decorators&&m.decorators.length>0&&(y=n.types.arrayExpression(m.decorators.map(x=>x.expression))),m.decorators=void 0,y}function h(m){return m.computed?m.key:n.types.isIdentifier(m.key)?n.types.stringLiteral(m.key.name):n.types.stringLiteral(String(m.key.value))}function d(m,y,x,v){let E=v.isClassMethod();if(v.isPrivate())throw v.buildCodeFrameError(`Private ${E?"methods":"fields"} in decorated classes are not supported yet.`);if(v.node.type==="ClassAccessorProperty")throw v.buildCodeFrameError('Accessor properties are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.');if(v.node.type==="StaticBlock")throw v.buildCodeFrameError('Static blocks are not supported in 2018-09 decorator transform, please specify { "version": "2021-12" } instead.');let{node:S,scope:_}=v;v.isTSDeclareMethod()||new c.default({methodPath:v,objectRef:y,superRef:x,file:m,refToPreserve:y}).replace();let A=[p("kind",n.types.stringLiteral(n.types.isClassMethod(S)?S.kind:"field")),p("decorators",o(S)),p("static",S.static&&n.types.booleanLiteral(!0)),p("key",h(S))].filter(Boolean);return E?(v.ensureFunctionName!=null||(v.ensureFunctionName=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.ensureFunctionName),v.ensureFunctionName(!1),A.push(p("value",n.types.toExpression(v.node)))):n.types.isClassProperty(S)&&S.value?A.push(i("value",n.template.statements.ast`return ${S.value}`)):A.push(p("value",_.buildUndefinedNode())),v.remove(),n.types.objectExpression(A)}function f(m){return m.addHelper("decorate")}function b(m,y,x,v){let E,{node:S,scope:_}=y,A=_.generateUidIdentifier("initialize"),L=S.id&&y.isDeclaration(),j=y.isInStrictMode(),{superClass:F}=S;S.type="ClassDeclaration",S.id||(S.id=n.types.cloneNode(m)),F&&(E=_.generateUidIdentifierBasedOnNode(S.superClass,"super"),S.superClass=E);let k=o(S),U=n.types.arrayExpression(x.filter(G=>!G.node.abstract&&G.node.type!=="TSIndexSignature").map(G=>d(v,S.id,E,G))),z=n.template.expression.ast`
|
|
${f(v)}(
|
|
${k||n.types.nullLiteral()},
|
|
function (${A}, ${F?n.types.cloneNode(E):null}) {
|
|
${S}
|
|
return { F: ${n.types.cloneNode(S.id)}, d: ${U} };
|
|
},
|
|
${F}
|
|
)
|
|
`;j||z.arguments[1].body.directives.push(n.types.directive(n.types.directiveLiteral("use strict")));let C=z,R="arguments.1.body.body.0";return L&&(C=n.template.statement.ast`let ${m} = ${z}`,R="declarations.0.init."+R),{instanceNodes:[n.template.statement.ast`
|
|
${n.types.cloneNode(A)}(this)
|
|
`],wrapClass:G=>(G.replaceWith(C),G.get(R))}}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildNamedEvaluationVisitor=ft,e.default=ht,e.hasDecorators=d,e.hasOwnDecorators=h;var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js"),c=l("./node_modules/.pnpm/@babel+helper-replace-supers@7.27.1_@babel+core@7.28.4/node_modules/@babel/helper-replace-supers/lib/index.js"),p=l("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.27.1/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js"),i=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js"),o=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js");function h(De){var ze;return!!((ze=De.decorators)!=null&&ze.length)}function d(De){return h(De)||De.body.body.some(h)}function f(De,ze=De.length-1){if(ze===-1)return void De.unshift(65);let Ze=De[ze];Ze===90?De[ze]=97:Ze===122?(De[ze]=65,f(De,ze-1)):De[ze]=Ze+1}function b(De){let ze=[],Ze=new Set;return De.traverse({PrivateName(tt){Ze.add(tt.node.id.name)}}),()=>{let tt;do f(ze),tt=String.fromCharCode(...ze);while(Ze.has(tt));return n.types.privateName(n.types.identifier(tt))}}function m(De){let ze;return()=>(ze||(ze=b(De)),ze())}function y(De,ze){let Ze=De.node.id,tt=De.scope;if(De.type==="ClassDeclaration"){let ge=Ze.name,fe=tt.generateUidIdentifierBasedOnNode(Ze),ee=n.types.identifier(ge);return tt.rename(ge,fe.name),De.get("id").replaceWith(ee),{id:n.types.cloneNode(fe),path:De}}{let ge;Ze?(ze=Ze.name,ge=Pt(tt.parent,ze),tt.rename(ze,ge.name)):ge=Pt(tt.parent,typeof ze=="string"?ze:"decorated_class");let fe=n.types.classExpression(typeof ze=="string"?n.types.identifier(ze):null,De.node.superClass,De.node.body),[ee]=De.replaceWith(n.types.sequenceExpression([fe,ge]));return{id:n.types.cloneNode(ge),path:ee.get("expressions.0")}}}function x(De,ze,Ze){return De.type==="PrivateName"?n.types.classPrivateProperty(De,ze,void 0,Ze):n.types.classProperty(De,ze,void 0,void 0,Ze)}function v(De,ze){De.node.id||(De.node.id=typeof ze=="string"?n.types.identifier(ze):De.scope.generateUidIdentifier("Class"))}function E(De,ze,Ze,tt,ge,fe,ee,le){let Se,Ee,Be=(le==="2023-11"||le==="2023-05")&&ee?De:n.types.thisExpression(),Qe=n.types.blockStatement([n.types.returnStatement(n.types.memberExpression(n.types.cloneNode(Be),n.types.cloneNode(ge)))]),ce=n.types.blockStatement([n.types.expressionStatement(n.types.assignmentExpression("=",n.types.memberExpression(n.types.cloneNode(Be),n.types.cloneNode(ge)),n.types.identifier("v")))]);Ze.type==="PrivateName"?(Se=n.types.classPrivateMethod("get",Ze,[],Qe,ee),Ee=n.types.classPrivateMethod("set",tt,[n.types.identifier("v")],ce,ee)):(Se=n.types.classMethod("get",Ze,[],Qe,fe,ee),Ee=n.types.classMethod("set",tt,[n.types.identifier("v")],ce,fe,ee)),ze.insertAfter(Ee),ze.insertAfter(Se)}function S(De,ze){return ze!=="2023-11"&&ze!=="2023-05"&&ze!=="2023-01"?[n.template.expression.ast`
|
|
function () {
|
|
return this.${n.types.cloneNode(De)};
|
|
}
|
|
`,n.template.expression.ast`
|
|
function (value) {
|
|
this.${n.types.cloneNode(De)} = value;
|
|
}
|
|
`]:[n.template.expression.ast`
|
|
o => o.${n.types.cloneNode(De)}
|
|
`,n.template.expression.ast`
|
|
(o, v) => o.${n.types.cloneNode(De)} = v
|
|
`]}function _(De){if((De=(0,p.skipTransparentExprWrappers)(De)).isSequenceExpression()){let ze=De.get("expressions");return _(ze[ze.length-1])}return De}function A(De){let ze=_(De);if(ze.isConstantExpression()||ze.isIdentifier()&&De.scope.hasUid(ze.node.name))return n.types.cloneNode(De.node);if(ze.isAssignmentExpression()&&ze.get("left").isIdentifier())return n.types.cloneNode(ze.node.left);throw Error(`Internal Error: the computed key ${De.toString()} has not yet been memoised.`)}function L(De,ze){let Ze=ze.get("key");Ze.isSequenceExpression()?De.push(...Ze.node.expressions):De.push(Ze.node),Ze.replaceWith(Ne(De))}function j(De,ze){let Ze=ze.get("key"),tt=_(Ze);if(tt.isConstantExpression())L(De,ze);else{let ge=Ze.scope.parent,fe=(0,o.memoiseComputedKey)(tt.node,ge,ge.generateUid("computedKey"));if(fe){let ee=[...De,n.types.cloneNode(fe.left)],le=tt.parentPath;le.isSequenceExpression()?le.pushContainer("expressions",ee):tt.replaceWith(Ne([n.types.cloneNode(fe),...ee]))}else L(De,ze)}}function F(De,ze){let Ze=ze.get("value");Ze.node?De.push(Ze.node):De.length>0&&(De[De.length-1]=n.types.unaryExpression("void",De[De.length-1])),Ze.replaceWith(Ne(De))}function k(De,ze){ze.unshiftContainer("body",n.types.expressionStatement(Ne(De)))}function U(De,ze){ze.node.body.body.unshift(n.types.expressionStatement(Ne(De)))}function z(De,ze){return n.types.isCallExpression(De)&&n.types.isIdentifier(De.callee,{name:ze.name})}function C(De,ze){if(ze){if(De.length>=2&&z(De[1],ze)){let Ze=n.types.callExpression(n.types.cloneNode(ze),[De[0]]);De.splice(0,2,Ze)}De.length>=2&&n.types.isThisExpression(De[De.length-1])&&z(De[De.length-2],ze)&&De.splice(De.length-1,1)}return Ne(De)}function R(De,ze,Ze){ze.traverse({CallExpression:{exit(tt){if(!tt.get("callee").isSuper())return;let ge=[tt.node,...De.map(fe=>n.types.cloneNode(fe))];tt.isCompletionRecord()&&ge.push(n.types.thisExpression()),tt.replaceWith(C(ge,Ze)),tt.skip()}},ClassMethod(tt){tt.node.kind==="constructor"&&tt.skip()}})}function G(De,ze){let Ze=[n.types.expressionStatement(Ne(De))];return ze&&Ze.unshift(n.types.expressionStatement(n.types.callExpression(n.types.super(),[n.types.spreadElement(n.types.identifier("args"))]))),n.types.classMethod("constructor",n.types.identifier("constructor"),ze?[n.types.restElement(n.types.identifier("args"))]:[],n.types.blockStatement(Ze))}function V(De){return n.types.staticBlock([n.types.expressionStatement(Ne(De))])}function B(De){switch(De.node.type){case"ClassProperty":case"ClassPrivateProperty":return 0;case"ClassAccessorProperty":return 1;case"ClassMethod":case"ClassPrivateMethod":return De.node.kind==="get"?3:De.node.kind==="set"?4:2}}function q(De){return[...De.filter(ze=>ze.isStatic&&ze.kind>=1&&ze.kind<=4),...De.filter(ze=>!ze.isStatic&&ze.kind>=1&&ze.kind<=4),...De.filter(ze=>ze.isStatic&&ze.kind===0),...De.filter(ze=>!ze.isStatic&&ze.kind===0)]}function K(De,ze,Ze){let tt=De.length,ge=ze.some(Boolean),fe=[];for(let ee=0;ee<tt;ee++)(Ze==="2023-11"||Ze==="2023-05")&&ge&&fe.push(ze[ee]||n.types.unaryExpression("void",n.types.numericLiteral(0))),fe.push(De[ee].expression);return{haveThis:ge,decs:fe}}function $(De,ze){return n.types.arrayExpression(De.map(Ze=>{let tt=Ze.kind;return Ze.isStatic&&(tt+=ze==="2023-11"||ze==="2023-05"?8:5),Ze.decoratorsHaveThis&&(tt+=16),n.types.arrayExpression([Ze.decoratorsArray,n.types.numericLiteral(tt),Ze.name,...Ze.privateMethods||[]])}))}function W(De){let ze=[];for(let Ze of De){let{locals:tt}=Ze;Array.isArray(tt)?ze.push(...tt):tt!==void 0&&ze.push(tt)}return ze}function Z(De,ze,Ze,tt,ge,fe){ze.insertAfter(n.types.classPrivateMethod("get",n.types.cloneNode(Ze),[],n.types.blockStatement([n.types.returnStatement(n.types.callExpression(n.types.cloneNode(tt),De==="2023-11"&&fe?[]:[n.types.thisExpression()]))]),fe)),ze.insertAfter(n.types.classPrivateMethod("set",n.types.cloneNode(Ze),[n.types.identifier("v")],n.types.blockStatement([n.types.expressionStatement(n.types.callExpression(n.types.cloneNode(ge),De==="2023-11"&&fe?[n.types.identifier("v")]:[n.types.thisExpression(),n.types.identifier("v")]))]),fe))}function Q(De,ze,Ze,tt){let ge,fe;De.node.kind==="set"?(ge=[n.types.identifier("v")],fe=[n.types.expressionStatement(n.types.callExpression(Ze,[n.types.thisExpression(),n.types.identifier("v")]))]):(ge=[],fe=[n.types.returnStatement(n.types.callExpression(Ze,[n.types.thisExpression()]))]),De.replaceWith(n.types.classPrivateMethod(De.node.kind,n.types.cloneNode(ze),ge,n.types.blockStatement(fe),tt))}function X(De){let{type:ze}=De;return ze!=="TSDeclareMethod"&&ze!=="TSIndexSignature"&&ze!=="StaticBlock"}function ie(De){return n.types.callExpression(n.types.arrowFunctionExpression([],n.types.blockStatement(De.body)),[])}function oe(De){return n.types.functionExpression(null,[],n.types.blockStatement(De.body))}function be(De){return n.types.functionExpression(null,[],n.types.blockStatement([n.types.returnStatement(De)]))}function Ne(De){return De.length===0?n.types.unaryExpression("void",n.types.numericLiteral(0)):De.length===1?De[0]:n.types.sequenceExpression(De)}function Pe(De){let{params:ze,body:Ze,generator:tt,async:ge}=De;return n.types.functionExpression(void 0,ze,Ze,tt,ge)}function Ke(De,ze){return n.types.callExpression(De.addHelper("setFunctionName"),[n.types.thisExpression(),ze])}function We(De,ze){return n.types.callExpression(De.addHelper("toPropertyKey"),[ze])}function Oe(De){return n.types.arrowFunctionExpression([n.types.identifier("_")],n.types.binaryExpression("in",n.types.cloneNode(De),n.types.identifier("_")))}function de(De){try{return n.types.traverseFast(De,ze=>{if(n.types.isPrivateName(ze))throw null}),!1}catch{return!0}}function xe(De){let{node:ze}=De;ze.computed=!0,n.types.isIdentifier(ze.key)&&(ze.key=n.types.stringLiteral(ze.key.name))}function ye(De,ze){let Ze=!1;if(ze.length>0){let tt=(0,i.privateNameVisitorFactory)({PrivateName(fe,ee){ee.privateNamesMap.has(fe.node.id.name)&&(Ze=!0,fe.stop())}}),ge=new Map;for(let fe of ze)ge.set(fe,null);De.traverse(tt,{privateNamesMap:ge})}return Ze}function ve(De,ze){let Ze=(0,i.privateNameVisitorFactory)({PrivateName(ge,fe){if(!fe.privateNamesMap.has(ge.node.id.name))return;let ee=ge.parentPath,le=ee.parentPath;if(le.node.type==="AssignmentExpression"&&le.node.left===ee.node||le.node.type==="UpdateExpression"||le.node.type==="RestElement"||le.node.type==="ArrayPattern"||le.node.type==="ObjectProperty"&&le.node.value===ee.node&&le.parentPath.type==="ObjectPattern"||le.node.type==="ForOfStatement"&&le.node.left===ee.node)throw ge.buildCodeFrameError(`Decorated private methods are read-only, but "#${ge.node.id.name}" is updated via this expression.`)}}),tt=new Map;for(let ge of ze)tt.set(ge,null);De.traverse(Ze,{privateNamesMap:tt})}function he(De,ze,Ze,tt,ge,fe,ee){var le;let Se,Ee,Be,Qe,ce,$e,et,ut=De.get("body.body"),Je=De.node.decorators,Le=!1,at=!1,Et=!1,Rt=m(De),lr=[],xt=De.scope.parent,ar=(Sr,wr,gn)=>{let vn=Pt(xt,wr);return gn.push(n.types.assignmentExpression("=",vn,Sr)),n.types.cloneNode(vn)},yr=(le=De.node.id)==null?void 0:le.name,Pr=typeof ge=="object"?ge:void 0,Rr=Sr=>{try{return n.types.traverseFast(Sr,wr=>{if(n.types.isThisExpression(wr)||n.types.isSuper(wr)||n.types.isYieldExpression(wr)||n.types.isAwaitExpression(wr)||n.types.isIdentifier(wr,{name:"arguments"})||yr&&n.types.isIdentifier(wr,{name:yr})||n.types.isMetaProperty(wr)&&wr.meta.name!=="import")throw null}),!1}catch{return!0}},ln=[];for(let Sr of ut){if(!X(Sr))continue;let wr=Sr.node;if(!wr.static&&n.types.isPrivateName(wr.key)&&ln.push(wr.key.id.name),se(wr)){switch(wr.type){case"ClassProperty":fe.ClassProperty(Sr,ze);break;case"ClassPrivateProperty":fe.ClassPrivateProperty(Sr,ze);break;case"ClassAccessorProperty":if(fe.ClassAccessorProperty(Sr,ze),ee==="2023-11")break;default:wr.static?Ee!=null||(Ee=Pt(xt,"initStatic")):Se!=null||(Se=Pt(xt,"initProto"))}Le=!0,Et||(Et=wr.decorators.some(Rr))}else if(wr.type==="ClassAccessorProperty"){let gn,vn;fe.ClassAccessorProperty(Sr,ze);let{key:Gr,value:Rn,static:Yt,computed:Qt}=wr,kt=Rt(),vr=x(kt,Rn,Yt),_r=Sr.get("key"),[Xr]=Sr.replaceWith(vr);Qt&&!_r.isConstantExpression()?(gn=(0,o.memoiseComputedKey)(We(ze,Gr),xt,xt.generateUid("computedKey")),vn=n.types.cloneNode(gn.left)):(gn=n.types.cloneNode(Gr),vn=n.types.cloneNode(Gr)),v(De,ge),E(De.node.id,Xr,gn,vn,kt,Qt,Yt,ee)}"computed"in Sr.node&&Sr.node.computed&&(at||(at=!xt.isStatic(Sr.node.key)))}if(!Je&&!Le){De.node.id||typeof ge!="string"||(De.node.id=n.types.identifier(ge)),Pr&&De.node.body.body.unshift(V([Ke(ze,Pr)]));return}let Tn=[],Pn=new Set,er=null;function Yr(Sr){let wr=!1,gn=!1,vn=[];for(let Gr of Sr){let Rn,{expression:Yt}=Gr;(ee==="2023-11"||ee==="2023-05")&&n.types.isMemberExpression(Yt)&&(n.types.isSuper(Yt.object)?Rn=n.types.thisExpression():xt.isStatic(Yt.object)?Rn=n.types.cloneNode(Yt.object):(er!=null||(er=Pt(xt,"obj")),Rn=n.types.assignmentExpression("=",n.types.cloneNode(er),Yt.object),Yt.object=n.types.cloneNode(er))),vn.push(Rn),wr||(wr=!xt.isStatic(Yt)),gn||(gn=Rr(Gr))}return{hasSideEffects:wr,usesFnContext:gn,decoratorsThis:vn}}let gr=at||Et||ee!=="2023-11",An=!1,rt=0,At=[],Mt=[];if(Je){Qe=Pt(xt,"initClass"),An=De.isClassDeclaration(),{id:ce,path:De}=y(De,ge),De.node.decorators=null;let Sr=Je.some(de),{hasSideEffects:wr,usesFnContext:gn,decoratorsThis:vn}=Yr(Je),{haveThis:Gr,decs:Rn}=K(Je,vn,ee);if(rt=+!!Gr,At=Rn,(gn||wr&&gr||Sr)&&($e=ar(n.types.arrayExpression(At),"classDecs",lr)),!Le)for(let Yt of De.get("body.body")){let{node:Qt}=Yt;if("computed"in Qt&&Qt.computed)if(Yt.isClassProperty({static:!0})){if(!Yt.get("key").isConstantExpression()){let kt=Qt.key,vr=(0,o.memoiseComputedKey)(kt,xt,xt.generateUid("computedKey"));vr!=null&&(Qt.key=n.types.cloneNode(vr.left),Mt.push(vr))}}else Mt.length>0&&(L(Mt,Yt),Mt=[])}}else v(De,ge),ce=n.types.cloneNode(De.node.id);let $t=!1,zt=[],qt=[];if(Le){if(Se){let Sr=n.types.callExpression(n.types.cloneNode(Se),[n.types.thisExpression()]);zt.push(Sr)}for(let Sr of ut){let wr,gn,vn;if(!X(Sr)){qt.length>0&&Sr.isStaticBlock()&&(k(qt,Sr),qt=[]);continue}let{node:Gr}=Sr,Rn=Gr.decorators,Yt=!!(Rn!=null&&Rn.length),Qt="computed"in Gr&&Gr.computed,kt="computedKey";if(Gr.key.type==="PrivateName"?kt=Gr.key.id.name:Qt||Gr.key.type!=="Identifier"||(kt=Gr.key.name),Yt){let{hasSideEffects:jr,usesFnContext:tn,decoratorsThis:un}=Yr(Rn),{decs:xn,haveThis:fn}=K(Rn,un,ee);gn=fn,wr=xn.length===1?xn[0]:n.types.arrayExpression(xn),(tn||jr&&gr)&&(wr=ar(wr,kt+"Decs",Mt))}if(Qt&&!Sr.get("key").isConstantExpression()){let jr=Gr.key,tn=(0,o.memoiseComputedKey)(Yt?We(ze,jr):jr,xt,xt.generateUid("computedKey"));tn!=null&&(Je&&Sr.isClassProperty({static:!0})?(Gr.key=n.types.cloneNode(tn.left),Mt.push(tn)):Gr.key=tn)}let{key:vr,static:_r}=Gr,Xr=vr.type==="PrivateName",Xt=B(Sr);if(Xr&&!_r&&(Yt&&($t=!0),(n.types.isClassPrivateProperty(Gr)||!et)&&(et=vr)),Sr.isClassMethod({kind:"constructor"})&&(Be=Sr),Yt){let jr,tn;if(tn=Qt?A(Sr.get("key")):vr.type==="PrivateName"?n.types.stringLiteral(vr.id.name):vr.type==="Identifier"?n.types.stringLiteral(vr.name):n.types.cloneNode(vr),Xt===1){let{value:un}=Sr.node,xn=ee==="2023-11"&&_r?[]:[n.types.thisExpression()];un&&xn.push(n.types.cloneNode(un));let fn=Rt(),_n=Pt(xt,`init_${kt}`),Ti=x(fn,n.types.callExpression(n.types.cloneNode(_n),xn),_r),[di]=Sr.replaceWith(Ti);if(Xr){jr=S(fn,ee);let an=Pt(xt,`get_${kt}`),Qn=Pt(xt,`set_${kt}`);Z(ee,di,vr,an,Qn,_r),vn=[_n,an,Qn]}else v(De,ge),E(De.node.id,di,n.types.cloneNode(vr),n.types.isAssignmentExpression(vr)?n.types.cloneNode(vr.left):n.types.cloneNode(vr),fn,Qt,_r,ee),vn=[_n]}else if(Xt===0){let un=Pt(xt,`init_${kt}`),xn=Sr.get("value"),fn=ee==="2023-11"&&_r?[]:[n.types.thisExpression()];xn.node&&fn.push(xn.node),xn.replaceWith(n.types.callExpression(n.types.cloneNode(un),fn)),vn=[un],Xr&&(jr=S(vr,ee))}else if(Xr){let un=Pt(xt,`call_${kt}`);if(vn=[un],new c.default({constantSuper:Ze,methodPath:Sr,objectRef:ce,superRef:De.node.superClass,file:ze.file,refToPreserve:ce}).replace(),jr=[Pe(Sr.node)],Xt===3||Xt===4)Q(Sr,n.types.cloneNode(vr),n.types.cloneNode(un),_r);else{let xn=Sr.node;De.node.body.body.unshift(n.types.classPrivateProperty(vr,n.types.cloneNode(un),[],xn.static)),Pn.add(vr.id.name),Sr.remove()}}Tn.push({kind:Xt,decoratorsArray:wr,decoratorsHaveThis:gn,name:tn,isStatic:_r,privateMethods:jr,locals:vn}),Sr.node&&(Sr.node.decorators=null)}if(Qt&&Mt.length>0&&(Je&&Sr.isClassProperty({static:!0})||(L(Mt,Xt===1?Sr.getNextSibling():Sr),Mt=[])),zt.length>0&&!_r&&(Xt===0||Xt===1)&&(F(zt,Sr),zt=[]),qt.length>0&&_r&&(Xt===0||Xt===1)&&(F(qt,Sr),qt=[]),Yt&&ee==="2023-11"&&(Xt===0||Xt===1)){let jr=Pt(xt,`init_extra_${kt}`);vn.push(jr);let tn=n.types.callExpression(n.types.cloneNode(jr),_r?[]:[n.types.thisExpression()]);_r?qt.push(tn):zt.push(tn)}}}if(Mt.length>0){let Sr,wr=De.get("body.body");for(let gn=wr.length-1;gn>=0;gn--){let vn=wr[gn],Gr=vn.node;if(Gr.computed){if(Je&&n.types.isClassProperty(Gr,{static:!0}))continue;Sr=vn;break}}Sr!=null&&(j(Mt,Sr),Mt=[])}if(zt.length>0){let Sr=!!De.node.superClass;Be?Sr?R(zt,Be,Se):U(zt,Be):De.node.body.body.unshift(G(zt,Sr)),zt=[]}qt.length>0&&(De.node.body.body.push(V(qt)),qt=[]);let pr=q(Tn),xr=$(ee==="2023-11"?Tn:pr,ee),Hr=W(pr);Se&&Hr.push(Se),Ee&&Hr.push(Ee);let Qr=[],Fr=!1,Sn=Qe&&n.types.callExpression(n.types.cloneNode(Qe),[]),Nn=De,zn=De.node,Ni=[];if(Je){Qr.push(ce,Qe);let Sr=[];if(De.get("body.body").forEach(wr=>{if(wr.isStaticBlock()){if(ye(wr,ln)){let gn=ar(oe(wr.node),"staticBlock",Ni);qt.push(n.types.callExpression(n.types.memberExpression(gn,n.types.identifier("call")),[n.types.thisExpression()]))}else qt.push(ie(wr.node));wr.remove();return}if((wr.isClassProperty()||wr.isClassPrivateProperty())&&wr.node.static){let gn=wr.get("value");if(ye(gn,ln)){let vn=ar(be(gn.node),"fieldValue",Ni);gn.replaceWith(n.types.callExpression(n.types.memberExpression(vn,n.types.identifier("call")),[n.types.thisExpression()]))}qt.length>0&&(F(qt,wr),qt=[]),wr.node.static=!1,Sr.push(wr.node),wr.remove()}else if(wr.isClassPrivateMethod({static:!0})){if(ye(wr,ln)){new c.default({constantSuper:Ze,methodPath:wr,objectRef:ce,superRef:De.node.superClass,file:ze.file,refToPreserve:ce}).replace();let gn=ar(Pe(wr.node),wr.get("key.id").node.name,Ni);tt?(wr.node.params=[n.types.restElement(n.types.identifier("arg"))],wr.node.body=n.types.blockStatement([n.types.returnStatement(n.types.callExpression(n.types.memberExpression(gn,n.types.identifier("apply")),[n.types.thisExpression(),n.types.identifier("arg")]))])):(wr.node.params=wr.node.params.map((vn,Gr)=>n.types.isRestElement(vn)?n.types.restElement(n.types.identifier("arg")):n.types.identifier("_"+Gr)),wr.node.body=n.types.blockStatement([n.types.returnStatement(n.types.callExpression(n.types.memberExpression(gn,n.types.identifier("apply")),[n.types.thisExpression(),n.types.identifier("arguments")]))]))}wr.node.static=!1,Sr.push(wr.node),wr.remove()}}),Sr.length>0||qt.length>0){let wr=n.template.expression.ast`
|
|
class extends ${ze.addHelper("identity")} {}
|
|
`;wr.body.body=[n.types.classProperty(n.types.toExpression(zn),void 0,void 0,void 0,!0,!0),...Sr];let gn=[],vn=n.types.newExpression(wr,[]);qt.length>0&&gn.push(...qt),Sn&&(Fr=!0,gn.push(Sn)),gn.length>0?(gn.unshift(n.types.callExpression(n.types.super(),[n.types.cloneNode(ce)])),wr.body.body.push(G(gn,!1))):vn.arguments.push(n.types.cloneNode(ce));let[Gr]=De.replaceWith(vn);Nn=Gr.get("callee").get("body").get("body.0.key")}}!Fr&&Sn&&De.node.body.body.push(n.types.staticBlock([n.types.expressionStatement(Sn)]));let{superClass:Fi}=zn;if(Fi&&(ee==="2023-11"||ee==="2023-05")){let Sr=De.scope.maybeGenerateMemoised(Fi);Sr&&(zn.superClass=n.types.assignmentExpression("=",Sr,Fi),Fi=Sr)}let qi=n.types.staticBlock([]);zn.body.body.unshift(qi);let dr=qi.body;if(Mt.length>0){let Sr;for(let wr of Nn.get("body.body"))if((wr.isClassProperty()||wr.isClassMethod())&&wr.node.kind!=="constructor"){Sr=wr;break}Sr!=null?(xe(Sr),L(Mt,Sr)):(zn.body.body.unshift(n.types.classProperty(n.types.sequenceExpression([...Mt,n.types.stringLiteral("_")]),void 0,void 0,void 0,!0,!0)),dr.push(n.types.expressionStatement(n.types.unaryExpression("delete",n.types.memberExpression(n.types.thisExpression(),n.types.identifier("_")))))),Mt=[]}if(dr.push(n.types.expressionStatement(Te(Hr,Qr,xr,$e??n.types.arrayExpression(At),n.types.numericLiteral(rt),$t?et:null,Pr,n.types.cloneNode(Fi),ze,ee))),Ee&&dr.push(n.types.expressionStatement(n.types.callExpression(n.types.cloneNode(Ee),[n.types.thisExpression()]))),Ni.length>0&&dr.push(...Ni.map(Sr=>n.types.expressionStatement(Sr))),De.insertBefore(lr.map(Sr=>n.types.expressionStatement(Sr))),An)if(xt.getBinding(ce.name).constantViolations.length){let Sr=xt.generateUidIdentifier("t"+ce.name),wr=ce;De.replaceWithMultiple([n.types.variableDeclaration("let",[n.types.variableDeclarator(n.types.cloneNode(wr)),n.types.variableDeclarator(Sr)]),n.types.blockStatement([n.types.variableDeclaration("let",[n.types.variableDeclarator(n.types.cloneNode(ce))]),De.node,n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(Sr),n.types.cloneNode(ce)))]),n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(wr),n.types.cloneNode(Sr)))])}else De.insertBefore(n.types.variableDeclaration("let",[n.types.variableDeclarator(n.types.cloneNode(ce))]));return Pn.size>0&&ve(De,Pn),De.scope.crawl(),De}function Te(De,ze,Ze,tt,ge,fe,ee,le,Se,Ee){let Be,Qe,ce=[ee?Ke(Se,ee):n.types.thisExpression(),tt,Ze];return Ee!=="2023-11"&&ce.splice(1,2,Ze,tt),Ee!=="2021-12"&&(Ee!=="2022-03"||Se.availableHelper("applyDecs2203R"))?(Ee==="2022-03"?Qe=n.types.callExpression(Se.addHelper("applyDecs2203R"),ce):Ee==="2023-01"?(fe&&ce.push(Oe(fe)),Qe=n.types.callExpression(Se.addHelper("applyDecs2301"),ce)):Ee==="2023-05"&&((fe||le||ge.value!==0)&&ce.push(ge),fe?ce.push(Oe(fe)):le&&ce.push(n.types.unaryExpression("void",n.types.numericLiteral(0))),le&&ce.push(le),Qe=n.types.callExpression(Se.addHelper("applyDecs2305"),ce)),Ee==="2023-11"&&((fe||le||ge.value!==0)&&ce.push(ge),fe?ce.push(Oe(fe)):le&&ce.push(n.types.unaryExpression("void",n.types.numericLiteral(0))),le&&ce.push(le),Qe=n.types.callExpression(Se.addHelper("applyDecs2311"),ce)),De.length>0?ze.length>0?Be=n.types.objectPattern([n.types.objectProperty(n.types.identifier("e"),n.types.arrayPattern(De)),n.types.objectProperty(n.types.identifier("c"),n.types.arrayPattern(ze))]):(Be=n.types.arrayPattern(De),Qe=n.types.memberExpression(Qe,n.types.identifier("e"),!1,!1)):(Be=n.types.arrayPattern(ze),Qe=n.types.memberExpression(Qe,n.types.identifier("c"),!1,!1))):(Be=n.types.arrayPattern([...De,...ze]),Qe=n.types.callExpression(Se.addHelper(Ee==="2021-12"?"applyDecs":"applyDecs2203"),ce)),n.types.assignmentExpression("=",Be,Qe)}function Ce(De){return De.type==="Identifier"?De.name==="__proto__":De.value==="__proto__"}function se(De){return De.decorators&&De.decorators.length>0}function pe(De){switch(De.type){case"ClassAccessorProperty":return!0;case"ClassMethod":case"ClassProperty":case"ClassPrivateMethod":case"ClassPrivateProperty":return se(De);default:return!1}}function nt(De){return se(De)||De.body.body.some(pe)}function ft(De,ze){function Ze(tt,ge,fe){switch(ge.type){case"StringLiteral":return n.types.stringLiteral(ge.value);case"NumericLiteral":case"BigIntLiteral":{let ee=ge.value+"";return tt.get("key").replaceWith(n.types.stringLiteral(ee)),n.types.stringLiteral(ee)}default:{let ee=tt.scope.maybeGenerateMemoised(ge);return tt.get("key").replaceWith(n.types.assignmentExpression("=",ee,We(fe,ge))),n.types.cloneNode(ee)}}}return{VariableDeclarator(tt,ge){let fe=tt.node.id;if(fe.type==="Identifier"){let ee=(0,p.skipTransparentExprWrappers)(tt.get("init"));De(ee)&&ze(ee,ge,fe.name)}},AssignmentExpression(tt,ge){let fe=tt.node.left;if(fe.type==="Identifier"){let ee=(0,p.skipTransparentExprWrappers)(tt.get("right"));if(De(ee))switch(tt.node.operator){case"=":case"&&=":case"||=":case"??=":ze(ee,ge,fe.name)}}},AssignmentPattern(tt,ge){let fe=tt.node.left;if(fe.type==="Identifier"){let ee=(0,p.skipTransparentExprWrappers)(tt.get("right"));De(ee)&&ze(ee,ge,fe.name)}},ObjectExpression(tt,ge){for(let fe of tt.get("properties")){if(!fe.isObjectProperty())continue;let{node:ee}=fe,le=ee.key,Se=(0,p.skipTransparentExprWrappers)(fe.get("value"));if(De(Se))if(ee.computed){let Ee=Ze(fe,le,ge);ze(Se,ge,Ee)}else Ce(le)||(le.type==="Identifier"?ze(Se,ge,le.name):ze(Se,ge,n.types.stringLiteral(le.value+"")))}},ClassPrivateProperty(tt,ge){let{node:fe}=tt,ee=(0,p.skipTransparentExprWrappers)(tt.get("value"));De(ee)&&ze(ee,ge,n.types.stringLiteral("#"+fe.key.id.name))},ClassAccessorProperty(tt,ge){let{node:fe}=tt,ee=fe.key,le=(0,p.skipTransparentExprWrappers)(tt.get("value"));if(De(le))if(fe.computed){let Se=Ze(tt,ee,ge);ze(le,ge,Se)}else ee.type==="Identifier"?ze(le,ge,ee.name):ee.type==="PrivateName"?ze(le,ge,n.types.stringLiteral("#"+ee.id.name)):ze(le,ge,n.types.stringLiteral(ee.value+""))},ClassProperty(tt,ge){let{node:fe}=tt,ee=fe.key,le=(0,p.skipTransparentExprWrappers)(tt.get("value"));if(De(le))if(fe.computed){let Se=Ze(tt,ee,ge);ze(le,ge,Se)}else ee.type==="Identifier"?ze(le,ge,ee.name):ze(le,ge,n.types.stringLiteral(ee.value+""))}}}function _t(De){return De.isClassExpression({id:null})&&nt(De.node)}function Pt(De,ze){let Ze=De.generateUidIdentifier(ze);return De.push({id:Ze,kind:"let"}),n.types.cloneNode(Ze)}function ht({assertVersion:De,assumption:ze},{loose:Ze},tt,ge){var fe,ee;De(tt==="2023-11"||tt==="2023-05"||tt==="2023-01"?"^7.21.0":tt==="2021-12"?"^7.16.0":"^7.19.0");let le=new WeakSet,Se=(fe=ze("constantSuper"))!=null?fe:Ze,Ee=(ee=ze("ignoreFunctionLength"))!=null?ee:Ze,Be=ft(_t,Qe);function Qe(ce,$e,et){var ut;if(le.has(ce))return;let{node:Je}=ce;et!=null||(et=(ut=Je.id)==null?void 0:ut.name);let Le=he(ce,$e,Se,Ee,et,Be,tt);Le?le.add(Le):le.add(ce)}return{name:"proposal-decorators",inherits:ge,visitor:Object.assign({ExportDefaultDeclaration(ce,$e){let{declaration:et}=ce.node;if((et==null?void 0:et.type)==="ClassDeclaration"&&se(et)){let ut=!et.id;ce.splitExportDeclaration!=null||(ce.splitExportDeclaration=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.splitExportDeclaration);let Je=ce.splitExportDeclaration();ut&&Qe(Je,$e,n.types.stringLiteral("default"))}},ExportNamedDeclaration(ce){let{declaration:$e}=ce.node;($e==null?void 0:$e.type)==="ClassDeclaration"&&se($e)&&(ce.splitExportDeclaration!=null||(ce.splitExportDeclaration=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.splitExportDeclaration),ce.splitExportDeclaration())},Class(ce,$e){Qe(ce,$e,void 0)}},Be)}}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-create-class-features-plugin/lib/features.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.FEATURES=void 0,e.enableFeature=f,e.isLoose=y,e.shouldTransform=v;var n=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js");let c=e.FEATURES=Object.freeze({fields:2,privateMethods:4,decorators:8,privateIn:16,staticBlocks:32}),p=new Map([[c.fields,"@babel/plugin-transform-class-properties"],[c.privateMethods,"@babel/plugin-transform-private-methods"],[c.privateIn,"@babel/plugin-transform-private-property-in-object"]]),i="@babel/plugin-class-features/featuresKey",o="@babel/plugin-class-features/looseKey";var h="@babel/plugin-class-features/looseLowPriorityKey/#__internal__@babel/preset-env__please-overwrite-loose-instead-of-throwing",d=function(E,S){return!!(E.get(h)&S)};function f(E,S,_){let A;for(let[j,F]of((!m(E,S)||d(E,S))&&(E.set(i,E.get(i)|S),_==="#__internal__@babel/preset-env__prefer-true-but-false-is-ok-if-it-prevents-an-error"?(x(E,S,!0),E.set(h,E.get(h)|S)):_==="#__internal__@babel/preset-env__prefer-false-but-true-is-ok-if-it-prevents-an-error"?(x(E,S,!1),E.set(h,E.get(h)|S)):x(E,S,_)),p)){if(!m(E,j)||d(E,j))continue;let k=y(E,j);if(!k===A)throw 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).
|
|
|
|
`+b(E));A=k;var L=F}if(A!==void 0)for(let[j,F]of p)m(E,j)&&y(E,j)!==A&&(x(E,j,A),console.warn(`Though the "loose" option was set to "${!A}" in your @babel/preset-env config, it will not be used for ${F} since the "loose" mode option was set to "${A}" for ${L}.
|
|
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
|
|
["${F}", { "loose": ${A} }]
|
|
to the "plugins" section of your Babel config.
|
|
|
|
`+b(E)))}function b(E){let{filename:S}=E.opts;return S&&S!=="unknown"||(S="[name of the input file]"),`If you already set the same 'loose' mode for these plugins in your config, it's possible that they are enabled multiple times with different options.
|
|
You can re-run Babel with the BABEL_SHOW_CONFIG_FOR environment variable to show the loaded configuration:
|
|
npx cross-env BABEL_SHOW_CONFIG_FOR=${S} <your build command>
|
|
See https://babeljs.io/docs/configuration#print-effective-configs for more info.`}function m(E,S){return!!(E.get(i)&S)}function y(E,S){return!!(E.get(o)&S)}function x(E,S,_){_?E.set(o,E.get(o)|S):E.set(o,E.get(o)&~S),E.set(h,E.get(h)&~S)}function v(E,S){let _=null,A=null,L=null,j=null,F=null;for(let k of((0,n.hasOwnDecorators)(E.node)&&(_=E.get("decorators.0")),E.get("body.body")))!_&&(0,n.hasOwnDecorators)(k.node)&&(_=k.get("decorators.0")),!A&&k.isClassProperty()&&(A=k),!L&&k.isClassPrivateProperty()&&(L=k),!j&&k.isClassPrivateMethod!=null&&k.isClassPrivateMethod()&&(j=k),!F&&k.isStaticBlock!=null&&k.isStaticBlock()&&(F=k);if(_&&L)throw L.buildCodeFrameError("Private fields in decorated classes are not supported yet.");if(_&&j)throw j.buildCodeFrameError("Private methods in decorated classes are not supported yet.");if(_&&!m(S,c.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(j&&!m(S,c.privateMethods))throw j.buildCodeFrameError("Class private methods are not enabled. Please add `@babel/plugin-transform-private-methods` to your configuration.");if((A||L)&&!m(S,c.fields)&&!m(S,c.privateMethods))throw E.buildCodeFrameError("Class fields are not enabled. Please add `@babel/plugin-transform-class-properties` to your configuration.");if(F&&!m(S,c.staticBlocks))throw E.buildCodeFrameError("Static class blocks are not enabled. Please add `@babel/plugin-transform-class-static-block` to your configuration.");return!!(_||j||F||(A||L)&&m(S,c.fields))}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildCheckInRHS=S,e.buildFieldsInitNodes=We,e.buildPrivateNamesMap=m,e.buildPrivateNamesNodes=y,e.privateNameVisitorFactory=x,e.transformPrivateNamesUsage=z;var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js"),c=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/index.js"),p=l("./node_modules/.pnpm/@babel+helper-replace-supers@7.27.1_@babel+core@7.28.4/node_modules/@babel/helper-replace-supers/lib/index.js"),i=l("./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.27.1/node_modules/@babel/helper-member-expression-to-functions/lib/index.js"),o=l("./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.27.1/node_modules/@babel/helper-optimise-call-expression/lib/index.js"),h=l("./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.27.3/node_modules/@babel/helper-annotate-as-pure/lib/index.js"),d=l("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.27.1/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js"),f=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js"),b=Oe=>Oe.availableHelper("classPrivateFieldGet2");function m(Oe,de,xe,ye){let ve,he=new Map;for(let Te of xe)if(Te.isPrivate()){let{name:Ce}=Te.node.key.id,se=he.get(Ce);if(!se){let pe,nt=!Te.isProperty(),ft=Te.node.static,_t=!1;!de&&b(ye)&&nt&&!ft?(_t=!!ve,ve!=null||(ve=Te.scope.generateUidIdentifier(`${Oe}_brand`)),pe=ve):pe=Te.scope.generateUidIdentifier(Ce),se={id:pe,static:ft,method:nt,initAdded:_t},he.set(Ce,se)}if(Te.isClassPrivateMethod())if(Te.node.kind==="get"){let pe,{body:nt}=Te.node.body;nt.length===1&&n.types.isReturnStatement(pe=nt[0])&&n.types.isCallExpression(pe=pe.argument)&&pe.arguments.length===1&&n.types.isThisExpression(pe.arguments[0])&&n.types.isIdentifier(pe=pe.callee)?(se.getId=n.types.cloneNode(pe),se.getterDeclared=!0):se.getId=Te.scope.generateUidIdentifier(`get_${Ce}`)}else if(Te.node.kind==="set"){let pe,{params:nt}=Te.node,{body:ft}=Te.node.body;ft.length===1&&n.types.isExpressionStatement(pe=ft[0])&&n.types.isCallExpression(pe=pe.expression)&&pe.arguments.length===2&&n.types.isThisExpression(pe.arguments[0])&&n.types.isIdentifier(pe.arguments[1],{name:nt[0].name})&&n.types.isIdentifier(pe=pe.callee)?(se.setId=n.types.cloneNode(pe),se.setterDeclared=!0):se.setId=Te.scope.generateUidIdentifier(`set_${Ce}`)}else Te.node.kind==="method"&&(se.methodId=Te.scope.generateUidIdentifier(Ce));he.set(Ce,se)}return he}function y(Oe,de,xe,ye){let ve=[],he=new Set;for(let[Te,Ce]of Oe){let se,{static:pe,method:nt,getId:ft,setId:_t}=Ce,Pt=ft||_t,ht=n.types.cloneNode(Ce.id);if(de)se=n.types.callExpression(ye.addHelper("classPrivateFieldLooseKey"),[n.types.stringLiteral(Te)]);else if(xe)se=n.types.callExpression(n.types.identifier("Symbol"),[n.types.stringLiteral(Te)]);else if(!pe){if(he.has(ht.name))continue;he.add(ht.name),se=n.types.newExpression(n.types.identifier(nt&&(!Pt||b(ye))?"WeakSet":"WeakMap"),[])}se&&(xe||(0,h.default)(se),ve.push(n.template.statement.ast`var ${ht} = ${se}`))}return ve}function x(Oe){let de=c.visitors.environmentVisitor(Object.assign({},Oe)),xe=Object.assign({},Oe,{Class(ye){let{privateNamesMap:ve}=this,he=ye.get("body.body"),Te=new Map(ve),Ce=[];for(let se of he){if(!se.isPrivate())continue;let{name:pe}=se.node.key.id;Te.delete(pe),Ce.push(pe)}Ce.length&&(ye.get("body").traverse(de,Object.assign({},this,{redeclared:Ce})),ye.traverse(xe,Object.assign({},this,{privateNamesMap:Te})),ye.skipKey("body"))}});return xe}let v=x({PrivateName(Oe,{noDocumentAll:de}){let{privateNamesMap:xe,redeclared:ye}=this,{node:ve,parentPath:he}=Oe;if(!he.isMemberExpression({property:ve})&&!he.isOptionalMemberExpression({property:ve}))return;let{name:Te}=ve.id;!xe.has(Te)||ye!=null&&ye.includes(Te)||this.handle(he,de)}});function E(Oe,de,xe){for(;(ye=de)!=null&&ye.hasBinding(Oe)&&!de.bindingIdentifierEquals(Oe,xe);){var ye;de.rename(Oe),de=de.parent}}function S(Oe,de,xe){return xe||!(de.availableHelper!=null&&de.availableHelper("checkInRHS"))?Oe:n.types.callExpression(de.addHelper("checkInRHS"),[Oe])}let _=x({BinaryExpression(Oe,{file:de}){let{operator:xe,left:ye,right:ve}=Oe.node;if(xe!=="in"||!n.types.isPrivateName(ye))return;let{privateFieldsAsProperties:he,privateNamesMap:Te,redeclared:Ce}=this,{name:se}=ye.id;if(!Te.has(se)||Ce!=null&&Ce.includes(se))return;if(E(this.classRef.name,Oe.scope,this.innerBinding),he){let{id:ft}=Te.get(se);Oe.replaceWith(n.template.expression.ast`
|
|
Object.prototype.hasOwnProperty.call(${S(ve,de)}, ${n.types.cloneNode(ft)})
|
|
`);return}let{id:pe,static:nt}=Te.get(se);nt?Oe.replaceWith(n.template.expression.ast`${S(ve,de)} === ${n.types.cloneNode(this.classRef)}`):Oe.replaceWith(n.template.expression.ast`${n.types.cloneNode(pe)}.has(${S(ve,de)})`)}});function A(Oe,de){return n.types.callExpression(Oe.addHelper("readOnlyError"),[n.types.stringLiteral(`#${de}`)])}function L(Oe,de){return Oe.availableHelper("writeOnlyError")?n.types.callExpression(Oe.addHelper("writeOnlyError"),[n.types.stringLiteral(`#${de}`)]):(console.warn("@babel/helpers is outdated, update it to silence this warning."),n.types.buildUndefinedNode())}function j(Oe,de){return de?Oe:n.types.memberExpression(Oe,n.types.identifier("_"))}function F(Oe){return function(de){return n.types.inherits(Oe.apply(this,arguments),de.node)}}let k={memoise(Oe,de){let{scope:xe}=Oe,{object:ye}=Oe.node,ve=xe.maybeGenerateMemoised(ye);ve&&this.memoiser.set(ye,ve,de)},receiver(Oe){let{object:de}=Oe.node;return this.memoiser.has(de)?n.types.cloneNode(this.memoiser.get(de)):n.types.cloneNode(de)},get:F(function(Oe){let{classRef:de,privateNamesMap:xe,file:ye,innerBinding:ve,noUninitializedPrivateFieldAccess:he}=this,Te=Oe.node.property,{name:Ce}=Te.id,{id:se,static:pe,method:nt,methodId:ft,getId:_t,setId:Pt}=xe.get(Ce),ht=_t||Pt,De=ze=>n.types.inherits(n.types.cloneNode(ze),Te);if(pe){if(E(de.name,Oe.scope,ve),!b(ye))return n.types.callExpression(ye.addHelper(nt&&!ht?"classStaticPrivateMethodGet":"classStaticPrivateFieldSpecGet"),[this.receiver(Oe),n.types.cloneNode(de),De(se)]);let ze=this.receiver(Oe),Ze=n.types.isIdentifier(ze)&&ze.name===de.name;if(!nt)return j(Ze?De(se):n.types.callExpression(ye.addHelper("assertClassBrand"),[n.types.cloneNode(de),ze,De(se)]),he);if(_t)return Ze?n.types.callExpression(De(_t),[ze]):n.types.callExpression(ye.addHelper("classPrivateGetter"),[n.types.cloneNode(de),ze,De(_t)]);if(Pt){let tt=n.types.buildUndefinedNode();return Ze?tt:n.types.sequenceExpression([n.types.callExpression(ye.addHelper("assertClassBrand"),[n.types.cloneNode(de),ze]),tt])}return Ze?De(se):n.types.callExpression(ye.addHelper("assertClassBrand"),[n.types.cloneNode(de),ze,De(se)])}return nt?ht?_t?b(ye)?n.types.callExpression(ye.addHelper("classPrivateGetter"),[n.types.cloneNode(se),this.receiver(Oe),De(_t)]):n.types.callExpression(ye.addHelper("classPrivateFieldGet"),[this.receiver(Oe),De(se)]):n.types.sequenceExpression([this.receiver(Oe),L(ye,Ce)]):b(ye)?n.types.callExpression(ye.addHelper("assertClassBrand"),[n.types.cloneNode(se),this.receiver(Oe),De(ft)]):n.types.callExpression(ye.addHelper("classPrivateMethodGet"),[this.receiver(Oe),n.types.cloneNode(se),De(ft)]):b(ye)?n.types.callExpression(ye.addHelper("classPrivateFieldGet2"),[De(se),this.receiver(Oe)]):n.types.callExpression(ye.addHelper("classPrivateFieldGet"),[this.receiver(Oe),De(se)])}),boundGet(Oe){return this.memoise(Oe,1),n.types.callExpression(n.types.memberExpression(this.get(Oe),n.types.identifier("bind")),[this.receiver(Oe)])},set:F(function(Oe,de){let{classRef:xe,privateNamesMap:ye,file:ve,noUninitializedPrivateFieldAccess:he}=this,Te=Oe.node.property,{name:Ce}=Te.id,{id:se,static:pe,method:nt,setId:ft,getId:_t}=ye.get(Ce),Pt=_t||ft,ht=De=>n.types.inherits(n.types.cloneNode(De),Te);if(pe){if(!b(ve))return n.types.callExpression(ve.addHelper(nt&&!Pt?"classStaticPrivateMethodSet":"classStaticPrivateFieldSpecSet"),[this.receiver(Oe),n.types.cloneNode(xe),ht(se),de]);let De=this.receiver(Oe),ze=n.types.isIdentifier(De)&&De.name===xe.name;if(nt&&!ft){let Ze=A(ve,Ce);return ze?n.types.sequenceExpression([de,Ze]):n.types.sequenceExpression([de,n.types.callExpression(ve.addHelper("assertClassBrand"),[n.types.cloneNode(xe),De]),A(ve,Ce)])}return ft?ze?n.types.callExpression(n.types.cloneNode(ft),[De,de]):n.types.callExpression(ve.addHelper("classPrivateSetter"),[n.types.cloneNode(xe),ht(ft),De,de]):n.types.assignmentExpression("=",j(ht(se),he),ze?de:n.types.callExpression(ve.addHelper("assertClassBrand"),[n.types.cloneNode(xe),De,de]))}return nt?ft?b(ve)?n.types.callExpression(ve.addHelper("classPrivateSetter"),[n.types.cloneNode(se),ht(ft),this.receiver(Oe),de]):n.types.callExpression(ve.addHelper("classPrivateFieldSet"),[this.receiver(Oe),ht(se),de]):n.types.sequenceExpression([this.receiver(Oe),de,A(ve,Ce)]):b(ve)?n.types.callExpression(ve.addHelper("classPrivateFieldSet2"),[ht(se),this.receiver(Oe),de]):n.types.callExpression(ve.addHelper("classPrivateFieldSet"),[this.receiver(Oe),ht(se),de])}),destructureSet(Oe){let de,{classRef:xe,privateNamesMap:ye,file:ve,noUninitializedPrivateFieldAccess:he}=this,Te=Oe.node.property,{name:Ce}=Te.id,{id:se,static:pe,method:nt,setId:ft}=ye.get(Ce),_t=De=>n.types.inherits(n.types.cloneNode(De),Te);if(!b(ve)){if(pe){try{var Pt=ve.addHelper("classStaticPrivateFieldDestructureSet")}catch{throw Error("Babel can not transpile `[C.#p] = [0]` with @babel/helpers < 7.13.10, \nplease update @babel/helpers to the latest version.")}return n.types.memberExpression(n.types.callExpression(Pt,[this.receiver(Oe),n.types.cloneNode(xe),_t(se)]),n.types.identifier("value"))}return n.types.memberExpression(n.types.callExpression(ve.addHelper("classPrivateFieldDestructureSet"),[this.receiver(Oe),_t(se)]),n.types.identifier("value"))}if(nt&&!ft)return n.types.memberExpression(n.types.sequenceExpression([Oe.node.object,A(ve,Ce)]),n.types.identifier("_"));if(pe&&!nt){let De=this.get(Oe);if(!he||!n.types.isCallExpression(De))return De;let ze=De.arguments.pop();return De.arguments.push(n.template.expression.ast`(_) => ${ze} = _`),n.types.memberExpression(n.types.callExpression(ve.addHelper("toSetter"),[De]),n.types.identifier("_"))}let ht=this.set(Oe,n.types.identifier("_"));if(!n.types.isCallExpression(ht)||!n.types.isIdentifier(ht.arguments[ht.arguments.length-1],{name:"_"}))throw Oe.buildCodeFrameError("Internal Babel error while compiling this code. This is a Babel bug. Please report it at https://github.com/babel/babel/issues.");return de=n.types.isMemberExpression(ht.callee,{computed:!1})&&n.types.isIdentifier(ht.callee.property)&&ht.callee.property.name==="call"?[ht.callee.object,n.types.arrayExpression(ht.arguments.slice(1,-1)),ht.arguments[0]]:[ht.callee,n.types.arrayExpression(ht.arguments.slice(0,-1))],n.types.memberExpression(n.types.callExpression(ve.addHelper("toSetter"),de),n.types.identifier("_"))},call(Oe,de){return this.memoise(Oe,1),(0,o.default)(this.get(Oe),this.receiver(Oe),de,!1)},optionalCall(Oe,de){return this.memoise(Oe,1),(0,o.default)(this.get(Oe),this.receiver(Oe),de,!0)},delete(){throw Error("Internal Babel error: deleting private elements is a parsing error.")}},U={get(Oe){let{privateNamesMap:de,file:xe}=this,{object:ye}=Oe.node,{name:ve}=Oe.node.property.id;return n.template.expression`BASE(REF, PROP)[PROP]`({BASE:xe.addHelper("classPrivateFieldLooseBase"),REF:n.types.cloneNode(ye),PROP:n.types.cloneNode(de.get(ve).id)})},set(){throw Error("private name handler with loose = true don't need set()")},boundGet(Oe){return n.types.callExpression(n.types.memberExpression(this.get(Oe),n.types.identifier("bind")),[n.types.cloneNode(Oe.node.object)])},simpleSet(Oe){return this.get(Oe)},destructureSet(Oe){return this.get(Oe)},call(Oe,de){return n.types.callExpression(this.get(Oe),de)},optionalCall(Oe,de){return n.types.optionalCallExpression(this.get(Oe),de,!0)},delete(){throw Error("Internal Babel error: deleting private elements is a parsing error.")}};function z(Oe,de,xe,{privateFieldsAsProperties:ye,noUninitializedPrivateFieldAccess:ve,noDocumentAll:he,innerBinding:Te},Ce){if(!xe.size)return;let se=de.get("body");(0,i.default)(se,v,Object.assign({privateNamesMap:xe,classRef:Oe,file:Ce},ye?U:k,{noDocumentAll:he,noUninitializedPrivateFieldAccess:ve,innerBinding:Te})),se.traverse(_,{privateNamesMap:xe,classRef:Oe,file:Ce,privateFieldsAsProperties:ye,innerBinding:Te})}function C(Oe,de,xe){let{id:ye}=xe.get(de.node.key.id.name),ve=de.node.value||de.scope.buildUndefinedNode();return Pe(n.template.statement.ast`
|
|
Object.defineProperty(${Oe}, ${n.types.cloneNode(ye)}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
writable: true,
|
|
value: ${ve}
|
|
});
|
|
`,de)}function R(Oe,de,xe,ye){let{id:ve}=xe.get(de.node.key.id.name),he=de.node.value||de.scope.buildUndefinedNode();if(!ye.availableHelper("classPrivateFieldInitSpec"))return Pe(n.template.statement.ast`${n.types.cloneNode(ve)}.set(${Oe}, {
|
|
// configurable is always false for private elements
|
|
// enumerable is always false for private elements
|
|
writable: true,
|
|
value: ${he},
|
|
})`,de);let Te=ye.addHelper("classPrivateFieldInitSpec");return Ke(Pe(n.types.expressionStatement(n.types.callExpression(Te,[n.types.thisExpression(),Ke(n.types.cloneNode(ve),de.node.key),b(ye)?he:n.template.expression.ast`{ writable: true, value: ${he} }`])),de),de.node)}function G(Oe,de,xe){let ye=de.get(Oe.node.key.id.name),ve=xe?Oe.node.value:n.template.expression.ast`{
|
|
_: ${Oe.node.value||n.types.buildUndefinedNode()}
|
|
}`;return Pe(n.types.variableDeclaration("var",[n.types.variableDeclarator(n.types.cloneNode(ye.id),ve)]),Oe)}var V=function(Oe,de){let xe=de.get(Oe.node.key.id.name),{id:ye,getId:ve,setId:he,initAdded:Te}=xe,Ce=ve||he;if(!Oe.isProperty()&&(Te||!Ce))return;if(Ce)return de.set(Oe.node.key.id.name,Object.assign({},xe,{initAdded:!0})),Pe(n.template.statement.ast`
|
|
var ${n.types.cloneNode(ye)} = {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
get: ${ve?ve.name:Oe.scope.buildUndefinedNode()},
|
|
set: ${he?he.name:Oe.scope.buildUndefinedNode()}
|
|
}
|
|
`,Oe);let se=Oe.node.value||Oe.scope.buildUndefinedNode();return Pe(n.template.statement.ast`
|
|
var ${n.types.cloneNode(ye)} = {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
writable: true,
|
|
value: ${se}
|
|
};
|
|
`,Oe)};function B(Oe,de,xe){let ye=xe.get(de.node.key.id.name),{methodId:ve,id:he,getId:Te,setId:Ce,initAdded:se}=ye;return se?void 0:ve?Pe(n.template.statement.ast`
|
|
Object.defineProperty(${Oe}, ${he}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
value: ${ve.name}
|
|
});
|
|
`,de):Te||Ce?(xe.set(de.node.key.id.name,Object.assign({},ye,{initAdded:!0})),Pe(n.template.statement.ast`
|
|
Object.defineProperty(${Oe}, ${he}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
get: ${Te?Te.name:de.scope.buildUndefinedNode()},
|
|
set: ${Ce?Ce.name:de.scope.buildUndefinedNode()}
|
|
});
|
|
`,de)):void 0}function q(Oe,de,xe,ye){let ve=xe.get(de.node.key.id.name);if(!ve.initAdded)return!b(ye)&&(ve.getId||ve.setId)?K(Oe,de,xe,ye):$(Oe,de,xe,ye)}function K(Oe,de,xe,ye){let ve=xe.get(de.node.key.id.name),{id:he,getId:Te,setId:Ce}=ve;if(xe.set(de.node.key.id.name,Object.assign({},ve,{initAdded:!0})),!ye.availableHelper("classPrivateFieldInitSpec"))return Pe(n.template.statement.ast`
|
|
${he}.set(${Oe}, {
|
|
get: ${Te?Te.name:de.scope.buildUndefinedNode()},
|
|
set: ${Ce?Ce.name:de.scope.buildUndefinedNode()}
|
|
});
|
|
`,de);let se=ye.addHelper("classPrivateFieldInitSpec");return Ke(Pe(n.template.statement.ast`${se}(
|
|
${n.types.thisExpression()},
|
|
${n.types.cloneNode(he)},
|
|
{
|
|
get: ${Te?Te.name:de.scope.buildUndefinedNode()},
|
|
set: ${Ce?Ce.name:de.scope.buildUndefinedNode()}
|
|
},
|
|
)`,de),de.node)}function $(Oe,de,xe,ye){let{id:ve}=xe.get(de.node.key.id.name);if(!ye.availableHelper("classPrivateMethodInitSpec"))return Pe(n.template.statement.ast`${ve}.add(${Oe})`,de);let he=ye.addHelper("classPrivateMethodInitSpec");return Pe(n.template.statement.ast`${he}(
|
|
${n.types.thisExpression()},
|
|
${n.types.cloneNode(ve)}
|
|
)`,de)}function W(Oe,de){let{key:xe,computed:ye}=de.node,ve=de.node.value||de.scope.buildUndefinedNode();return Pe(n.types.expressionStatement(n.types.assignmentExpression("=",n.types.memberExpression(Oe,xe,ye||n.types.isLiteral(xe)),ve)),de)}function Z(Oe,de,xe){let{key:ye,computed:ve}=de.node,he=de.node.value||de.scope.buildUndefinedNode();return Pe(n.types.expressionStatement(n.types.callExpression(xe.addHelper("defineProperty"),[Oe,ve||n.types.isLiteral(ye)?ye:n.types.stringLiteral(ye.name),he])),de)}function Q(Oe,de,xe,ye){let ve=ye.get(de.node.key.id.name),{id:he,methodId:Te,getId:Ce,setId:se,initAdded:pe}=ve;return pe?void 0:Ce||se?(ye.set(de.node.key.id.name,Object.assign({},ve,{initAdded:!0})),Pe(n.template.statement.ast`
|
|
Object.defineProperty(${Oe}, ${he}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
get: ${Ce?Ce.name:de.scope.buildUndefinedNode()},
|
|
set: ${se?se.name:de.scope.buildUndefinedNode()}
|
|
})
|
|
`,de)):Pe(n.template.statement.ast`
|
|
Object.defineProperty(${Oe}, ${he}, {
|
|
// configurable is false by default
|
|
// enumerable is false by default
|
|
// writable is false by default
|
|
value: ${Te.name}
|
|
});
|
|
`,de)}function X(Oe,de,xe,ye=!1){let ve=xe.get(de.node.key.id.name),{id:he,methodId:Te,getId:Ce,setId:se,getterDeclared:pe,setterDeclared:nt,static:ft}=ve,{params:_t,body:Pt,generator:ht,async:De}=de.node,ze=Ce&&_t.length===0,Ze=se&&_t.length>0;if(ze&&pe||Ze&&nt)return xe.set(de.node.key.id.name,Object.assign({},ve,{initAdded:!0})),null;if(b(Oe)&&(ze||Ze)&&!ye){let ge=de.get("body").scope,fe=ge.generateUidIdentifier("this"),ee={thisRef:fe,argumentsPath:[]};if(de.traverse(ie,ee),ee.argumentsPath.length){let le=ge.generateUidIdentifier("arguments");for(let Se of(ge.push({id:le,init:n.template.expression.ast`[].slice.call(arguments, 1)`}),ee.argumentsPath))Se.replaceWith(n.types.cloneNode(le))}_t.unshift(n.types.cloneNode(fe))}let tt=Te;return ze?(xe.set(de.node.key.id.name,Object.assign({},ve,{getterDeclared:!0,initAdded:!0})),tt=Ce):Ze?(xe.set(de.node.key.id.name,Object.assign({},ve,{setterDeclared:!0,initAdded:!0})),tt=se):ft&&!ye&&(tt=he),Pe(n.types.functionDeclaration(n.types.cloneNode(tt),_t,Pt,ht,De),de)}let ie=c.visitors.environmentVisitor({Identifier(Oe,de){de.argumentsPath&&Oe.node.name==="arguments"&&de.argumentsPath.push(Oe)},UnaryExpression(Oe){let{node:de}=Oe;if(de.operator==="delete"){let xe=(0,d.skipTransparentExprWrapperNodes)(de.argument);n.types.isThisExpression(xe)&&Oe.replaceWith(n.types.booleanLiteral(!0))}},ThisExpression(Oe,de){de.needsClassRef=!0,Oe.replaceWith(n.types.cloneNode(de.thisRef))},MetaProperty(Oe){let{node:de,scope:xe}=Oe;de.meta.name==="new"&&de.property.name==="target"&&Oe.replaceWith(xe.buildUndefinedNode())}}),oe={ReferencedIdentifier(Oe,de){Oe.scope.bindingIdentifierEquals(Oe.node.name,de.innerBinding)&&(de.needsClassRef=!0,Oe.node.name=de.thisRef.name)}};function be(Oe,de,xe){var ye;let ve={thisRef:de,needsClassRef:!1,innerBinding:xe};return Oe.isMethod()||Oe.traverse(ie,ve),xe!=null&&(ye=ve.thisRef)!=null&&ye.name&&ve.thisRef.name!==xe.name&&Oe.traverse(oe,ve),ve.needsClassRef}function Ne({key:Oe,computed:de}){return Oe.type==="Identifier"?!de&&(Oe.name==="name"||Oe.name==="length"):Oe.type==="StringLiteral"&&(Oe.value==="name"||Oe.value==="length")}function Pe(Oe,de){return n.types.inheritLeadingComments(Oe,de.node),n.types.inheritInnerComments(Oe,de.node),Oe}function Ke(Oe,de){return Oe.start=de.start,Oe.end=de.end,Oe.loc=de.loc,Oe}function We(Oe,de,xe,ye,ve,he,Te,Ce,se,pe){let nt,ft=0,_t=[],Pt=[],ht=!1,De=[],ze=null,Ze=n.types.isIdentifier(de)?()=>de:()=>(nt!=null||(nt=xe[0].scope.generateUidIdentifierBasedOnNode(de)),nt),tt=Oe??xe[0].scope.generateUidIdentifier((pe==null?void 0:pe.name)||"Class");for(let ge of(Oe!=null||(Oe=n.types.cloneNode(pe)),xe)){ge.isClassProperty()&&f.assertFieldTransformed(ge);let fe=!(n.types.isStaticBlock!=null&&n.types.isStaticBlock(ge.node))&&ge.node.static,ee=!fe,le=ge.isPrivate(),Se=!le,Ee=ge.isProperty(),Be=!Ee,Qe=ge.isStaticBlock==null?void 0:ge.isStaticBlock();switch(fe&&(ft|=1),(fe||Be&&le||Qe)&&(new p.default({methodPath:ge,constantSuper:se,file:ve,refToPreserve:pe,getSuperRef:Ze,getObjectRef:()=>(ft|=2,fe||Qe?tt:n.types.memberExpression(tt,n.types.identifier("prototype")))}).replace(),be(ge,tt,pe)&&(ft|=2)),ht=!1,!0){case Qe:{let ce=ge.node.body;ce.length===1&&n.types.isExpressionStatement(ce[0])?_t.push(Pe(ce[0],ge)):_t.push(n.types.inheritsComments(n.template.statement.ast`(() => { ${ce} })()`,ge.node));break}case(fe&&le&&Ee&&Te):_t.push(C(n.types.cloneNode(Oe),ge,ye));break;case(fe&&le&&Ee&&!Te):b(ve)?_t.push(G(ge,ye,Ce)):_t.push(V(ge,ye));break;case(fe&&Se&&Ee&&he):if(!Ne(ge.node)){_t.push(W(n.types.cloneNode(Oe),ge));break}case(fe&&Se&&Ee&&!he):_t.push(Z(n.types.cloneNode(Oe),ge,ve));break;case(ee&&le&&Ee&&Te):Pt.push(C(n.types.thisExpression(),ge,ye));break;case(ee&&le&&Ee&&!Te):Pt.push(R(n.types.thisExpression(),ge,ye,ve));break;case(ee&&le&&Be&&Te):Pt.unshift(B(n.types.thisExpression(),ge,ye)),De.push(X(ve,ge,ye,Te));break;case(ee&&le&&Be&&!Te):Pt.unshift(q(n.types.thisExpression(),ge,ye,ve)),De.push(X(ve,ge,ye,Te));break;case(fe&&le&&Be&&!Te):b(ve)||_t.unshift(V(ge,ye)),De.push(X(ve,ge,ye,Te));break;case(fe&&le&&Be&&Te):_t.unshift(Q(n.types.cloneNode(Oe),ge,ve,ye)),De.push(X(ve,ge,ye,Te));break;case(ee&&Se&&Ee&&he):Pt.push(W(n.types.thisExpression(),ge));break;case(ee&&Se&&Ee&&!he):ht=!0,Pt.push(Z(n.types.thisExpression(),ge,ve));break;default:throw Error("Unreachable.")}}return 2&ft&&pe!=null&&(ze=n.types.expressionStatement(n.types.assignmentExpression("=",n.types.cloneNode(tt),n.types.cloneNode(pe)))),{staticNodes:_t.filter(Boolean),instanceNodes:Pt.filter(Boolean),lastInstanceNodeReturnsThis:ht,pureStaticNodes:De.filter(Boolean),classBindingNode:ze,wrapClass(ge){for(let fe of xe)fe.node.leadingComments=null,fe.remove();return nt&&(ge.scope.push({id:n.types.cloneNode(nt)}),ge.set("superClass",n.types.assignmentExpression("=",nt,ge.node.superClass))),ft!==0&&(ge.isClassExpression()?(ge.scope.push({id:Oe}),ge.replaceWith(n.types.assignmentExpression("=",n.types.cloneNode(Oe),ge.node))):(pe==null&&(ge.node.id=Oe),ze!=null&&ge.scope.push({id:tt}))),ge}}}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-create-class-features-plugin/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"FEATURES",{enumerable:!0,get:function(){return d.FEATURES}}),Object.defineProperty(e,"buildCheckInRHS",{enumerable:!0,get:function(){return p.buildCheckInRHS}}),Object.defineProperty(e,"buildNamedEvaluationVisitor",{enumerable:!0,get:function(){return i.buildNamedEvaluationVisitor}}),e.createClassFeaturePlugin=m,Object.defineProperty(e,"enableFeature",{enumerable:!0,get:function(){return d.enableFeature}}),Object.defineProperty(e,"injectInitialization",{enumerable:!0,get:function(){return h.injectInitialization}});var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js"),c=l("./node_modules/.pnpm/semver@6.3.1/node_modules/semver/semver.js"),p=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-create-class-features-plugin/lib/fields.js"),i=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-create-class-features-plugin/lib/decorators.js"),o=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-create-class-features-plugin/lib/decorators-2018-09.js"),h=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js"),d=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-create-class-features-plugin/lib/features.js"),f=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js");let b="@babel/plugin-class-features/version";function m({name:y,feature:x,loose:v,manipulateOptions:E,api:S,inherits:_,decoratorVersion:A}){var L;if(x&d.FEATURES.decorators&&(A==="2023-11"||A==="2023-05"||A==="2023-01"||A==="2022-03"||A==="2021-12"))return(0,i.default)(S,{loose:v},A,_);S!=null||(S={assumption:()=>{}});let j=S.assumption("setPublicClassFields"),F=S.assumption("privateFieldsAsSymbols"),k=S.assumption("privateFieldsAsProperties"),U=(L=S.assumption("noUninitializedPrivateFieldAccess"))!=null&&L,z=S.assumption("constantSuper"),C=S.assumption("noDocumentAll");if(k&&F)throw Error('Cannot enable both the "privateFieldsAsProperties" and "privateFieldsAsSymbols" assumptions as the same time.');let R=k||F;if(v===!0){let G=[];j!==void 0&&G.push('"setPublicClassFields"'),k!==void 0&&G.push('"privateFieldsAsProperties"'),F!==void 0&&G.push('"privateFieldsAsSymbols"'),G.length!==0&&console.warn(`[${y}]: You are using the "loose: true" option and you are explicitly setting a value for the ${G.join(" and ")} assumption${G.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:y,manipulateOptions:E,inherits:_,pre(G){(0,d.enableFeature)(G,x,v),(typeof G.get(b)=="number"||!G.get(b)||c.lt(G.get(b),"7.28.3"))&&G.set(b,"7.28.3")},visitor:{Class(G,{file:V}){let B,q,K,$,W,Z,Q,X,ie;if(V.get(b)!=="7.28.3"||!(0,d.shouldTransform)(G,V))return;let oe=G.isClassDeclaration();oe&&(0,f.assertFieldTransformed)(G);let be=(0,d.isLoose)(V,x),Ne=(0,i.hasDecorators)(G.node),Pe=[],Ke=[],We=[],Oe=new Set;for(let Te of G.get("body").get("body")){if((Te.isClassProperty()||Te.isClassMethod())&&Te.node.computed&&We.push(Te),Te.isPrivate()){let{name:Ce}=Te.node.key.id,se=`get ${Ce}`,pe=`set ${Ce}`;if(Te.isClassPrivateMethod()){if(Te.node.kind==="get"){if(Oe.has(se)||Oe.has(Ce)&&!Oe.has(pe))throw Te.buildCodeFrameError("Duplicate private field");Oe.add(se).add(Ce)}else if(Te.node.kind==="set"){if(Oe.has(pe)||Oe.has(Ce)&&!Oe.has(se))throw Te.buildCodeFrameError("Duplicate private field");Oe.add(pe).add(Ce)}}else{if(Oe.has(Ce)&&!Oe.has(se)&&!Oe.has(pe)||Oe.has(Ce)&&(Oe.has(se)||Oe.has(pe)))throw Te.buildCodeFrameError("Duplicate private field");Oe.add(Ce)}}Te.isClassMethod({kind:"constructor"})?B=Te:(Ke.push(Te),(Te.isProperty()||Te.isPrivate()||Te.isStaticBlock!=null&&Te.isStaticBlock())&&Pe.push(Te))}if(!Pe.length&&!Ne)return;let de=G.node.id;de&&oe||(G.ensureFunctionName!=null||(G.ensureFunctionName=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.ensureFunctionName),G.ensureFunctionName(!1),q=G.scope.generateUidIdentifier((de==null?void 0:de.name)||"Class"));let xe=q??n.types.cloneNode(de),ye=(0,p.buildPrivateNamesMap)(xe.name,R??be,Pe,V),ve=(0,p.buildPrivateNamesNodes)(ye,k??be,F!=null&&F,V);(0,p.transformPrivateNamesUsage)(xe,G,ye,{privateFieldsAsProperties:R??be,noUninitializedPrivateFieldAccess:U,noDocumentAll:C,innerBinding:de},V),Ne?($=Q=K=[],{instanceNodes:W,wrapClass:ie}=(0,o.buildDecoratedClass)(xe,G,Ke,V)):(K=(0,h.extractComputedKeys)(G,We,V),{staticNodes:$,pureStaticNodes:Q,instanceNodes:W,lastInstanceNodeReturnsThis:Z,classBindingNode:X,wrapClass:ie}=(0,p.buildFieldsInitNodes)(q,G.node.superClass,Pe,ye,V,j??be,R??be,U,z??be,de)),W.length>0&&(0,h.injectInitialization)(G,B,W,(Te,Ce)=>{if(!Ne)for(let se of Pe)n.types.isStaticBlock!=null&&n.types.isStaticBlock(se.node)||se.node.static||se.traverse(Te,Ce)},Z);let he=ie(G);he.insertBefore([...ve,...K]),$.length>0&&he.insertAfter($),Q.length>0&&he.find(Te=>Te.isStatement()||Te.isDeclaration()).insertAfter(Q),X!=null&&oe&&he.insertAfter(X)},ExportDefaultDeclaration(G,{file:V}){{if(V.get(b)!=="7.28.3")return;let B=G.get("declaration");B.isClassDeclaration()&&(0,i.hasDecorators)(B.node)&&(B.node.id?(G.splitExportDeclaration!=null||(G.splitExportDeclaration=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.splitExportDeclaration),G.splitExportDeclaration()):B.node.type="ClassExpression")}}}}}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-create-class-features-plugin/lib/misc.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.extractComputedKeys=f,e.injectInitialization=h,e.memoiseComputedKey=d;var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js");let c=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/index.js").visitors.environmentVisitor({Super(b){let{node:m,parentPath:y}=b;y.isCallExpression({callee:m})&&this.push(y)}}),p={"TSTypeAnnotation|TypeAnnotation"(b){b.skip()},ReferencedIdentifier(b,{scope:m}){m.hasOwnBinding(b.node.name)&&(m.rename(b.node.name),b.skip())}};function i(b,m){if(m.classBinding&&m.classBinding===b.scope.getBinding(b.node.name)){let y=m.file.addHelper("classNameTDZError"),x=n.types.callExpression(y,[n.types.stringLiteral(b.node.name)]);b.replaceWith(n.types.sequenceExpression([x,b.node])),b.skip()}}let o={ReferencedIdentifier:i,"TSTypeAnnotation|TypeAnnotation"(b){b.skip()}};function h(b,m,y,x,v){if(!y.length)return;let E=!!b.node.superClass;if(!m){let S=n.types.classMethod("constructor",n.types.identifier("constructor"),[],n.types.blockStatement([]));E&&(S.params=[n.types.restElement(n.types.identifier("args"))],S.body.body.push(n.template.statement.ast`super(...args)`)),[m]=b.get("body").unshiftContainer("body",S)}if(x&&x(p,{scope:m.scope}),E){let S=[];m.traverse(c,S);let _=!0;for(let A of S)if(_?_=!1:y=y.map(L=>n.types.cloneNode(L)),A.parentPath.isExpressionStatement())A.insertAfter(y);else{let L=[A.node,...y.map(j=>n.types.toExpression(j))];v||L.push(n.types.thisExpression()),A.replaceWith(n.types.sequenceExpression(L))}}else m.get("body").unshiftContainer("body",y)}function d(b,m,y){if(!(n.types.isIdentifier(b)&&m.hasUid(b.name))){if(n.types.isAssignmentExpression(b,{operator:"="})&&n.types.isIdentifier(b.left)&&m.hasUid(b.left.name))return n.types.cloneNode(b);{let x=n.types.identifier(y);return m.push({id:x,kind:"let"}),n.types.assignmentExpression("=",n.types.cloneNode(x),b)}}}function f(b,m,y){let{scope:x}=b,v=[],E={classBinding:b.node.id&&x.getBinding(b.node.id.name),file:y};for(let S of m){let _=S.get("key");_.isReferencedIdentifier()?i(_,E):_.traverse(o,E);let A=S.node;if(!_.isConstantExpression()){let L=d(_.node,x,x.generateUidBasedOnNode(_.node));L&&(v.push(n.types.expressionStatement(L)),A.key=n.types.cloneNode(L.left))}}return v}},"./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-create-class-features-plugin/lib/typescript.js":function(u,e){"use strict";function l(n){if(n.node.declare)throw n.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`)}Object.defineProperty(e,"__esModule",{value:!0}),e.assertFieldTransformed=l},"./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.27.1/node_modules/@babel/helper-member-expression-to-functions/lib/index.js":function(u,e,l){"use strict";function n(V){let{node:B,parentPath:q}=V;if(q.isLogicalExpression()){let{operator:K,right:$}=q.node;if(K==="&&"||K==="||"||K==="??"&&B===$)return n(q)}if(q.isSequenceExpression()){let{expressions:K}=q.node;return K[K.length-1]!==B||n(q)}return q.isConditional({test:B})||q.isUnaryExpression({operator:"!"})||q.isLoop({test:B})}Object.defineProperty(e,"__esModule",{value:!0});let{LOGICAL_OPERATORS:c,arrowFunctionExpression:p,assignmentExpression:i,binaryExpression:o,booleanLiteral:h,callExpression:d,cloneNode:f,conditionalExpression:b,identifier:m,isMemberExpression:y,isOptionalCallExpression:x,isOptionalMemberExpression:v,isUpdateExpression:E,logicalExpression:S,memberExpression:_,nullLiteral:A,optionalCallExpression:L,optionalMemberExpression:j,sequenceExpression:F,updateExpression:k}=(function(V){if(V&&V.__esModule)return V;var B=Object.create(null);return V&&Object.keys(V).forEach(function(q){if(q!=="default"){var K=Object.getOwnPropertyDescriptor(V,q);Object.defineProperty(B,q,K.get?K:{enumerable:!0,get:function(){return V[q]}})}}),B.default=V,Object.freeze(B)})(l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js")),U=class{constructor(){this._map=void 0,this._map=new WeakMap}has(B){return this._map.has(B)}get(B){if(!this.has(B))return;let q=this._map.get(B),{value:K}=q;return q.count--,q.count===0?i("=",K,B):K}set(B,q,K){return this._map.set(B,{count:K,value:q})}};function z(V,B){let{node:q}=V;if(v(q))return _(B,q.property,q.computed);if(V.isOptionalCallExpression()){let K=V.get("callee");if(V.node.optional&&K.isOptionalMemberExpression()){let $=K.node.object,W=V.scope.maybeGenerateMemoised($);return K.get("object").replaceWith(i("=",W,$)),d(_(B,m("call")),[W,...V.node.arguments])}return d(B,V.node.arguments)}return V.node}function C(V){for(;V&&!V.isProgram();){let{parentPath:B,container:q,listKey:K}=V,$=B.node;if(K){if(q!==$[K])return!0}else if(q!==$)return!0;V=B}return!1}let R={memoise(){},handle(V,B){let{node:q,parent:K,parentPath:$,scope:W}=V;if(V.isOptionalMemberExpression()){let Z;if(C(V))return;let Q=V.find(({node:Ce,parent:se})=>v(se)?se.optional||se.object!==Ce:!x(se)||Ce!==V.node&&se.optional||se.callee!==Ce);if(W.path.isPattern())return void Q.replaceWith(d(p([],Q.node),[]));let X=n(Q),ie=Q.parentPath;if(ie.isUpdateExpression({argument:q}))throw V.buildCodeFrameError("can't handle update expression");let oe=ie.isAssignmentExpression({left:Q.node}),be=ie.isUnaryExpression({operator:"delete"});if(be&&Q.isOptionalMemberExpression()&&Q.get("property").isPrivateName())throw V.buildCodeFrameError("can't delete a private class element");let Ne=V;for(;;){if(Ne.isOptionalMemberExpression()){if(Ne.node.optional)break;Ne=Ne.get("object");continue}if(Ne.isOptionalCallExpression()){if(Ne.node.optional)break;Ne=Ne.get("callee");continue}throw Error(`Internal error: unexpected ${Ne.node.type}`)}let Pe=Ne.isOptionalMemberExpression()?Ne.node.object:Ne.node.callee,Ke=W.maybeGenerateMemoised(Pe),We=Ke??Pe,Oe=$.isOptionalCallExpression({callee:q}),de=Ce=>Oe,xe=$.isCallExpression({callee:q});Ne.replaceWith(z(Ne,We)),de()?K.optional?$.replaceWith(this.optionalCall(V,K.arguments)):$.replaceWith(this.call(V,K.arguments)):xe?V.replaceWith(this.boundGet(V)):this.delete&&$.isUnaryExpression({operator:"delete"})?$.replaceWith(this.delete(V)):$.isAssignmentExpression()?G(this,V,$):V.replaceWith(this.get(V));let ye=V.node;for(let Ce=V;Ce!==Q;){let se=Ce.parentPath;if(se===Q&&de()&&K.optional){ye=se.node;break}ye=z(se,ye),Ce=se}let ve=Q.parentPath;if(y(ye)&&ve.isOptionalCallExpression({callee:Q.node,optional:!0})){let{object:Ce}=ye;(Z=V.scope.maybeGenerateMemoised(Ce))&&(ye.object=i("=",Z,Ce))}let he=Q;(be||oe)&&(he=ve,ye=ve.node);let Te=Ke?i("=",f(We),f(Pe)):f(We);if(X){let Ce;Ce=B?o("!=",Te,A()):S("&&",o("!==",Te,A()),o("!==",f(We),W.buildUndefinedNode())),he.replaceWith(S("&&",Ce,ye))}else{let Ce;Ce=B?o("==",Te,A()):S("||",o("===",Te,A()),o("===",f(We),W.buildUndefinedNode())),he.replaceWith(b(Ce,be?h(!0):W.buildUndefinedNode(),ye))}if(Z){let Ce=ve.node;ve.replaceWith(L(j(Ce.callee,m("call"),!1,!0),[f(Z),...Ce.arguments],!1))}return}if(E(K,{argument:q})){if(this.simpleSet)return void V.replaceWith(this.simpleSet(V));let{operator:Z,prefix:Q}=K;this.memoise(V,2);let X=W.generateUidIdentifierBasedOnNode(q);W.push({id:X});let ie=[i("=",f(X),this.get(V))];if(Q){ie.push(k(Z,f(X),Q));let oe=F(ie);$.replaceWith(this.set(V,oe));return}{let oe=W.generateUidIdentifierBasedOnNode(q);W.push({id:oe}),ie.push(i("=",f(oe),k(Z,f(X),Q)),f(X));let be=F(ie);$.replaceWith(F([this.set(V,be),f(oe)]));return}}$.isAssignmentExpression({left:q})?G(this,V,$):$.isCallExpression({callee:q})?$.replaceWith(this.call(V,$.node.arguments)):$.isOptionalCallExpression({callee:q})?W.path.isPattern()?$.replaceWith(d(p([],$.node),[])):$.replaceWith(this.optionalCall(V,$.node.arguments)):this.delete&&$.isUnaryExpression({operator:"delete"})?$.replaceWith(this.delete(V)):$.isForXStatement({left:q})||$.isObjectProperty({value:q})&&$.parentPath.isObjectPattern()||$.isAssignmentPattern({left:q})&&$.parentPath.isObjectProperty({value:K})&&$.parentPath.parentPath.isObjectPattern()||$.isArrayPattern()||$.isAssignmentPattern({left:q})&&$.parentPath.isArrayPattern()||$.isRestElement()?V.replaceWith(this.destructureSet(V)):$.isTaggedTemplateExpression()?V.replaceWith(this.boundGet(V)):V.replaceWith(this.get(V))}};function G(V,B,q){if(V.simpleSet)return void B.replaceWith(V.simpleSet(B));let{operator:K,right:$}=q.node;if(K==="=")q.replaceWith(V.set(B,$));else{let W=K.slice(0,-1);c.includes(W)?(V.memoise(B,1),q.replaceWith(S(W,V.get(B),V.set(B,$)))):(V.memoise(B,2),q.replaceWith(V.set(B,o(W,V.get(B),$))))}}e.default=function(V,B,q){V.traverse(B,Object.assign({},R,q,{memoiser:new U}))}},"./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/import-builder.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("assert");let{callExpression:c,cloneNode:p,expressionStatement:i,identifier:o,importDeclaration:h,importDefaultSpecifier:d,importNamespaceSpecifier:f,importSpecifier:b,memberExpression:m,stringLiteral:y,variableDeclaration:x,variableDeclarator:v}=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),E=class{constructor(_,A,L){this._statements=[],this._resultName=null,this._importedSource=void 0,this._scope=A,this._hub=L,this._importedSource=_}done(){return{statements:this._statements,resultName:this._resultName}}import(){return this._statements.push(h([],y(this._importedSource))),this}require(){return this._statements.push(i(c(o("require"),[y(this._importedSource)]))),this}namespace(_="namespace"){let A=this._scope.generateUidIdentifier(_),L=this._statements[this._statements.length-1];return n(L.type==="ImportDeclaration"),n(L.specifiers.length===0),L.specifiers=[f(A)],this._resultName=p(A),this}default(_){let A=this._scope.generateUidIdentifier(_),L=this._statements[this._statements.length-1];return n(L.type==="ImportDeclaration"),n(L.specifiers.length===0),L.specifiers=[d(A)],this._resultName=p(A),this}named(_,A){if(A==="default")return this.default(_);let L=this._scope.generateUidIdentifier(_),j=this._statements[this._statements.length-1];return n(j.type==="ImportDeclaration"),n(j.specifiers.length===0),j.specifiers=[b(L,o(A))],this._resultName=p(L),this}var(_){let A=this._scope.generateUidIdentifier(_),L=this._statements[this._statements.length-1];return L.type!=="ExpressionStatement"&&(n(this._resultName),L=i(this._resultName),this._statements.push(L)),this._statements[this._statements.length-1]=x("var",[v(A,L.expression)]),this._resultName=p(A),this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(_){let A=this._statements[this._statements.length-1];return A.type==="ExpressionStatement"?A.expression=c(_,[A.expression]):A.type==="VariableDeclaration"?(n(A.declarations.length===1),A.declarations[0].init=c(_,[A.declarations[0].init])):n.fail("Unexpected type."),this}prop(_){let A=this._statements[this._statements.length-1];return A.type==="ExpressionStatement"?A.expression=m(A.expression,o(_)):A.type==="VariableDeclaration"?(n(A.declarations.length===1),A.declarations[0].init=m(A.declarations[0].init,o(_))):n.fail("Unexpected type:"+A.type),this}read(_){this._resultName=m(this._resultName,o(_))}};e.default=E},"./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/import-injector.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("assert"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),p=l("./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/import-builder.js"),i=l("./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/is-module.js");let{identifier:o,importSpecifier:h,numericLiteral:d,sequenceExpression:f,isImportDeclaration:b}=c,m=class{constructor(_,A,L){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:!1,ensureNoContext:!1,importPosition:"before"};let j=_.find(F=>F.isProgram());this._programPath=j,this._programScope=j.scope,this._hub=j.hub,this._defaultOpts=this._applyDefaults(A,L,!0)}addDefault(_,A){return this.addNamed("default",_,A)}addNamed(_,A,L){return n(typeof _=="string"),this._generateImport(this._applyDefaults(A,L),_)}addNamespace(_,A){return this._generateImport(this._applyDefaults(_,A),null)}addSideEffect(_,A){return this._generateImport(this._applyDefaults(_,A),void 0)}_applyDefaults(_,A,L=!1){let j;return typeof _=="string"?j=Object.assign({},this._defaultOpts,{importedSource:_},A):(n(!A,"Unexpected secondary arguments."),j=Object.assign({},this._defaultOpts,_)),!L&&A&&(A.nameHint!==void 0&&(j.nameHint=A.nameHint),A.blockHoist!==void 0&&(j.blockHoist=A.blockHoist)),j}_generateImport(_,A){let L=A==="default",j=!!A&&!L,F=A===null,{importedSource:k,importedType:U,importedInterop:z,importingInterop:C,ensureLiveReference:R,ensureNoContext:G,nameHint:V,importPosition:B,blockHoist:q}=_,K=V||A,$=(0,i.default)(this._programPath),W=$&&C==="node",Z=$&&C==="babel";if(B==="after"&&!$)throw Error('"importPosition": "after" is only supported in modules');let Q=new p.default(k,this._programScope,this._hub);if(U==="es6"){if(!W&&!Z)throw Error("Cannot import an ES6 module from CommonJS");Q.import(),F?Q.namespace(V||k):(L||j)&&Q.named(K,A)}else{if(U!=="commonjs")throw Error(`Unexpected interopType "${U}"`);if(z==="babel")if(W){K=K!=="default"?K:k;let oe=`${k}$es6Default`;Q.import(),F?Q.default(oe).var(K||k).wildcardInterop():L?R?Q.default(oe).var(K||k).defaultInterop().read("default"):Q.default(oe).var(K).defaultInterop().prop(A):j&&Q.default(oe).read(A)}else Z?(Q.import(),F?Q.namespace(K||k):(L||j)&&Q.named(K,A)):(Q.require(),F?Q.var(K||k).wildcardInterop():(L||j)&&R?L?(K=K!=="default"?K:k,Q.var(K).read(A),Q.defaultInterop()):Q.var(k).read(A):L?Q.var(K).defaultInterop().prop(A):j&&Q.var(K).prop(A));else if(z==="compiled")W?(Q.import(),F?Q.default(K||k):(L||j)&&Q.default(k).read(K)):Z?(Q.import(),F?Q.namespace(K||k):(L||j)&&Q.named(K,A)):(Q.require(),F?Q.var(K||k):(L||j)&&(R?Q.var(k).read(K):Q.prop(A).var(K)));else if(z==="uncompiled"){if(L&&R)throw Error("No live reference for commonjs default");W?(Q.import(),F?Q.default(K||k):L?Q.default(K):j&&Q.default(k).read(K)):Z?(Q.import(),F?Q.default(K||k):L?Q.default(K):j&&Q.named(K,A)):(Q.require(),F?Q.var(K||k):L?Q.var(K):j&&(R?Q.var(k).read(K):Q.var(K).prop(A)))}else throw Error(`Unknown importedInterop "${z}".`)}let{statements:X,resultName:ie}=Q.done();return this._insertStatements(X,B,q),(L||j)&&G&&ie.type!=="Identifier"?f([d(0),ie]):ie}_insertStatements(_,A="before",L=3){if(A==="after"){if(this._insertStatementsAfter(_))return}else if(this._insertStatementsBefore(_,L))return;this._programPath.unshiftContainer("body",_)}_insertStatementsBefore(_,A){if(_.length===1&&b(_[0])&&y(_[0])){let j=this._programPath.get("body").find(F=>F.isImportDeclaration()&&y(F.node));if((j==null?void 0:j.node.source.value)===_[0].source.value&&E(j.node,_[0]))return!0}_.forEach(j=>{j._blockHoist=A});let L=this._programPath.get("body").find(j=>{let F=j.node._blockHoist;return Number.isFinite(F)&&F<4});return!!L&&(L.insertBefore(_),!0)}_insertStatementsAfter(_){let A=new Set(_),L=new Map;for(let F of _)if(b(F)&&y(F)){let k=F.source.value;L.has(k)||L.set(k,[]),L.get(k).push(F)}let j=null;for(let F of this._programPath.get("body"))if(F.isImportDeclaration()&&y(F.node)){j=F;let k=F.node.source.value,U=L.get(k);if(!U)continue;for(let z of U)A.has(z)&&E(F.node,z)&&A.delete(z)}return A.size===0||(j&&j.insertAfter(Array.from(A)),!!j)}};function y(S){return S.importKind!=="type"&&S.importKind!=="typeof"}function x(S){return S.specifiers.length===1&&S.specifiers[0].type==="ImportNamespaceSpecifier"||S.specifiers.length===2&&S.specifiers[1].type==="ImportNamespaceSpecifier"}function v(S){return S.specifiers.length>0&&S.specifiers[0].type==="ImportDefaultSpecifier"}function E(S,_){return S.specifiers.length?!_.specifiers.length||!(x(S)||x(_))&&(v(_)&&(v(S)?_.specifiers[0]=h(_.specifiers[0].local,o("default")):S.specifiers.unshift(_.specifiers.shift())),S.specifiers.push(..._.specifiers),!0):(S.specifiers=_.specifiers,!0)}e.default=m},"./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ImportInjector",{enumerable:!0,get:function(){return n.default}}),e.addDefault=p,e.addNamed=i,e.addNamespace=o,e.addSideEffect=h,Object.defineProperty(e,"isModule",{enumerable:!0,get:function(){return c.default}});var n=l("./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/import-injector.js"),c=l("./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/is-module.js");function p(d,f,b){return new n.default(d).addDefault(f,b)}function i(d,f,b,m){return new n.default(d).addNamed(f,b,m)}function o(d,f,b){return new n.default(d).addNamespace(f,b)}function h(d,f,b){return new n.default(d).addSideEffect(f,b)}},"./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/is-module.js":function(u,e){"use strict";function l(n){return n.node.sourceType==="module"}Object.defineProperty(e,"__esModule",{value:!0}),e.default=l},"./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildDynamicImport=c;var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js");function c(p,i,o,h){let d=n.types.isCallExpression(p)?p.arguments[0]:p.source;if(n.types.isStringLiteral(d)||n.types.isTemplateLiteral(d)&&d.quasis.length===0)return i?n.template.expression.ast`
|
|
Promise.resolve().then(() => ${h(d)})
|
|
`:h(d);let f=n.types.isTemplateLiteral(d)?n.types.identifier("specifier"):n.types.templateLiteral([n.types.templateElement({raw:""}),n.types.templateElement({raw:""})],[n.types.identifier("specifier")]);return i?n.template.expression.ast`
|
|
(specifier =>
|
|
new Promise(r => r(${f}))
|
|
.then(s => ${h(n.types.identifier("s"))})
|
|
)(${d})
|
|
`:o?n.template.expression.ast`
|
|
(specifier =>
|
|
new Promise(r => r(${h(f)}))
|
|
)(${d})
|
|
`:n.template.expression.ast`
|
|
(specifier => ${h(f)})(${d})
|
|
`}e.getDynamicImportSource=function(p){let[i]=p.arguments;return n.types.isStringLiteral(i)||n.types.isTemplateLiteral(i)?i:n.template.expression.ast`\`\${${i}}\``}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/get-module-name.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=l;{let n=l;e.default=l=function(c,p){var i,o,h,d;return n(c,{moduleId:(i=p.moduleId)!=null?i:c.moduleId,moduleIds:(o=p.moduleIds)!=null?o:c.moduleIds,getModuleId:(h=p.getModuleId)!=null?h:c.getModuleId,moduleRoot:(d=p.moduleRoot)!=null?d:c.moduleRoot})}}function l(n,c){let{filename:p,filenameRelative:i=p,sourceRoot:o=c.moduleRoot}=n,{moduleId:h,moduleIds:d=!!h,getModuleId:f,moduleRoot:b=o}=c;if(!d)return null;if(h!=null&&!f)return h;let m=b!=null?b+"/":"";if(i){let y=o!=null?RegExp("^"+o+"/?"):"";m+=i.replace(y,"").replace(/\.\w*$/,"")}return m=m.replace(/\\/g,"/"),f&&f(m)||m}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"buildDynamicImport",{enumerable:!0,get:function(){return f.buildDynamicImport}}),e.buildNamespaceInitStatements=v,e.ensureStatementsHoisted=y,Object.defineProperty(e,"getModuleName",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"hasExports",{enumerable:!0,get:function(){return h.hasExports}}),Object.defineProperty(e,"isModule",{enumerable:!0,get:function(){return p.isModule}}),Object.defineProperty(e,"isSideEffectImport",{enumerable:!0,get:function(){return h.isSideEffectImport}}),e.rewriteModuleStatementsAndPrepareHeader=m,Object.defineProperty(e,"rewriteThis",{enumerable:!0,get:function(){return i.default}}),e.wrapInterop=x;var n=l("assert"),c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js"),p=l("./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/index.js"),i=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js"),o=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js"),h=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js"),d=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js"),f=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js"),b=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/get-module-name.js");function m(F,{exportName:k,strict:U,allowTopLevelThis:z,strictMode:C,noInterop:R,importInterop:G=R?"none":"babel",lazy:V,getWrapperPayload:B=d.toGetWrapperPayload(V!=null&&V),wrapReference:q=d.wrapReference,esNamespaceOnly:K,filename:$,constantReexports:W=arguments[1].loose,enumerableModuleMeta:Z=arguments[1].loose,noIncompleteNsImportDetection:Q}){(0,h.validateImportInteropOption)(G),n((0,p.isModule)(F),"Cannot process module statements in a script"),F.node.sourceType="script";let X=(0,h.default)(F,k,{importInterop:G,initializeReexports:W,getWrapperPayload:B,esNamespaceOnly:K,filename:$});z||(0,i.default)(F),(0,o.default)(F,X,q),C!==!1&&(F.node.directives.some(be=>be.value.value==="use strict")||F.unshiftContainer("directives",c.types.directive(c.types.directiveLiteral("use strict"))));let ie=[];(0,h.hasExports)(X)&&!U&&ie.push(S(X,Z));let oe=A(F,X);return oe&&(X.exportNameListName=oe.name,ie.push(oe.statement)),ie.push(...L(F,X,q,W,Q)),{meta:X,headers:ie}}function y(F){F.forEach(k=>{k._blockHoist=3})}function x(F,k,U){let z;if(U==="none")return null;if(U==="node-namespace")return c.types.callExpression(F.hub.addHelper("interopRequireWildcard"),[k,c.types.booleanLiteral(!0)]);if(U==="node-default")return null;if(U==="default")z="interopRequireDefault";else if(U==="namespace")z="interopRequireWildcard";else throw Error(`Unknown interop: ${U}`);return c.types.callExpression(F.hub.addHelper(z),[k])}function v(F,k,U=!1,z=d.wrapReference){var C;let R=[],G=c.types.identifier(k.name);for(let B of k.importsNamespace)B!==k.name&&R.push(c.template.statement`var NAME = SOURCE;`({NAME:B,SOURCE:c.types.cloneNode(G)}));let V=(C=z(G,k.wrap))!=null?C:G;for(let B of(U&&R.push(...E(F,k,!0,z)),k.reexportNamespace))R.push((c.types.isIdentifier(V)?c.template.statement`EXPORTS.NAME = NAMESPACE;`:c.template.statement`
|
|
Object.defineProperty(EXPORTS, "NAME", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return NAMESPACE;
|
|
}
|
|
});
|
|
`)({EXPORTS:F.exportName,NAME:B,NAMESPACE:c.types.cloneNode(V)}));if(k.reexportAll){let B=_(F,c.types.cloneNode(V),U);B.loc=k.reexportAll.loc,R.push(B)}return R}e.getDynamicImportSource=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/dynamic-import.js").getDynamicImportSource;function E(F,k,U,z){var C;let R=c.types.identifier(k.name);R=(C=z(R,k.wrap))!=null?C:R;let{stringSpecifiers:G}=F;return Array.from(k.reexports,([V,B])=>{let q=c.types.cloneNode(R);B==="default"&&k.interop==="node-default"||(q=G.has(B)?c.types.memberExpression(q,c.types.stringLiteral(B),!0):c.types.memberExpression(q,c.types.identifier(B)));let K={exports:F.exportName,exportName:V,namespaceImport:q};return U||c.types.isIdentifier(q)?G.has(V)?(({exports:$,exportName:W,namespaceImport:Z})=>c.template.statement.ast`
|
|
${$}["${W}"] = ${Z};
|
|
`)(K):(({exports:$,exportName:W,namespaceImport:Z})=>c.template.statement.ast`
|
|
${$}.${W} = ${Z};
|
|
`)(K):(({exports:$,exportName:W,namespaceImport:Z})=>c.template.statement.ast`
|
|
Object.defineProperty(${$}, "${W}", {
|
|
enumerable: true,
|
|
get: function() {
|
|
return ${Z};
|
|
},
|
|
});
|
|
`)(K)})}function S(F,k=!1){return(k?c.template.statement`
|
|
EXPORTS.__esModule = true;
|
|
`:c.template.statement`
|
|
Object.defineProperty(EXPORTS, "__esModule", {
|
|
value: true,
|
|
});
|
|
`)({EXPORTS:F.exportName})}function _(F,k,U){return(U?c.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];
|
|
});
|
|
`:c.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:k,EXPORTS:F.exportName,VERIFY_NAME_LIST:F.exportNameListName?(0,c.template)`
|
|
if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return;
|
|
`({EXPORTS_LIST:F.exportNameListName}):null})}function A(F,k){let U=Object.create(null);for(let R of k.local.values())for(let G of R.names)U[G]=!0;let z=!1;for(let R of k.source.values()){for(let G of R.reexports.keys())U[G]=!0;for(let G of R.reexportNamespace)U[G]=!0;z=z||!!R.reexportAll}if(!z||Object.keys(U).length===0)return null;let C=F.scope.generateUidIdentifier("exportNames");return delete U.default,{name:C.name,statement:c.types.variableDeclaration("var",[c.types.variableDeclarator(C,c.types.valueToNode(U))])}}function L(F,k,U,z=!1,C=!1){let R=[];for(let[V,B]of k.local)if(B.kind!=="import"){if(B.kind==="hoisted")R.push([B.names[0],j(k,B.names,c.types.identifier(V))]);else if(!C)for(let q of B.names)R.push([q,null])}for(let V of k.source.values()){if(!z){let B=E(k,V,!1,U),q=[...V.reexports.keys()];for(let K=0;K<B.length;K++)R.push([q[K],B[K]])}if(!C)for(let B of V.reexportNamespace)R.push([B,null])}R.sort(([V],[B])=>V<B?-1:+(B<V));let G=[];if(C)for(let[,V]of R)G.push(V);else for(let V=0;V<R.length;V+=100){let B=[];for(let q=0;q<100&&V+q<R.length;q++){let[K,$]=R[V+q];$!==null?(B.length>0&&(G.push(j(k,B,F.scope.buildUndefinedNode())),B=[]),G.push($)):B.push(K)}B.length>0&&G.push(j(k,B,F.scope.buildUndefinedNode()))}return G}function j(F,k,U){let{stringSpecifiers:z,exportName:C}=F;return c.types.expressionStatement(k.reduce((R,G)=>{let V={exports:C,name:G,value:R};return G==="__proto__"?(({exports:B,name:q,value:K})=>c.template.expression.ast`
|
|
Object.defineProperty(${B}, "${q}", {
|
|
enumerable: true,
|
|
value: void 0,
|
|
writable: true
|
|
})["${q}"] = ${K}`)(V):z.has(G)?(({exports:B,name:q,value:K})=>c.template.expression.ast`${B}["${q}"] = ${K}`)(V):(({exports:B,name:q,value:K})=>c.template.expression.ast`${B}.${q} = ${K}`)(V)},U))}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/lazy-modules.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.toGetWrapperPayload=p,e.wrapReference=i;var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js"),c=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js");function p(o){return(h,d)=>{if(o===!1||(0,c.isSideEffectImport)(d)||d.reexportAll)return null;if(o===!0)return h.includes(".")?null:"lazy";if(Array.isArray(o))return o.includes(h)?"lazy":null;if(typeof o=="function")return o(h)?"lazy":null;throw Error(".lazy must be a boolean, string array, or function")}}function i(o,h){return h==="lazy"?n.types.callExpression(o,[]):null}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/normalize-and-load-metadata.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=d,e.hasExports=p,e.isSideEffectImport=i,e.validateImportInteropOption=o;var n=l("path"),c=l("./node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js");function p(E){return E.hasExports}function i(E){return E.imports.size===0&&E.importsNamespace.size===0&&E.reexports.size===0&&E.reexportNamespace.size===0&&!E.reexportAll}function o(E){if(typeof E!="function"&&E!=="none"&&E!=="babel"&&E!=="node")throw Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${E}).`);return E}function h(E,S,_){return typeof E=="function"?o(E(S,_)):E}function d(E,S,{importInterop:_,initializeReexports:A=!1,getWrapperPayload:L,esNamespaceOnly:j=!1,filename:F}){S||(S=E.scope.generateUidIdentifier("exports").name);let k=new Set;x(E);let{local:U,sources:z,hasExports:C}=m(E,{initializeReexports:A,getWrapperPayload:L},k);for(let[R,G]of(v(E),z)){let{importsNamespace:V,imports:B}=G;if(V.size>0&&B.size===0){let[K]=V;G.name=K}let q=h(_,R,F);q==="none"?G.interop="none":q==="node"&&G.interop==="namespace"?G.interop="node-namespace":q==="node"&&G.interop==="default"?G.interop="node-default":j&&G.interop==="namespace"&&(G.interop="default")}return{exportName:S,exportNameListName:null,hasExports:C,local:U,source:z,stringSpecifiers:k}}function f(E,S){if(E.isIdentifier())return E.node.name;if(E.isStringLiteral()){let _=E.node.value;return(0,c.isIdentifierName)(_)||S.add(_),_}throw Error(`Expected export specifier to be either Identifier or StringLiteral, got ${E.node.type}`)}function b(E){if(!E.isExportSpecifier())throw E.isExportNamespaceSpecifier()?E.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-transform-export-namespace-from`."):E.buildCodeFrameError("Unexpected export specifier type")}function m(E,{getWrapperPayload:S,initializeReexports:_},A){let L=y(E,_,A),j=new Map,F=new Map,k=(z,C)=>{let R=z.value,G=F.get(R);return G?j.get(R).push(C):(G={name:E.scope.generateUidIdentifier((0,n.basename)(R,(0,n.extname)(R))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,wrap:null,get lazy(){return this.wrap==="lazy"},referenced:!1},F.set(R,G),j.set(R,[C])),G},U=!1;for(let z of(E.get("body").forEach(C=>{if(C.isImportDeclaration()){let R=k(C.node.source,C.node);R.loc||(R.loc=C.node.loc),C.get("specifiers").forEach(G=>{if(G.isImportDefaultSpecifier()){let V=G.get("local").node.name;R.imports.set(V,"default");let B=L.get(V);B&&(L.delete(V),B.names.forEach(q=>{R.reexports.set(q,"default")}),R.referenced=!0)}else if(G.isImportNamespaceSpecifier()){let V=G.get("local").node.name;R.importsNamespace.add(V);let B=L.get(V);B&&(L.delete(V),B.names.forEach(q=>{R.reexportNamespace.add(q)}),R.referenced=!0)}else if(G.isImportSpecifier()){let V=f(G.get("imported"),A),B=G.get("local").node.name;R.imports.set(B,V);let q=L.get(B);q&&(L.delete(B),q.names.forEach(K=>{R.reexports.set(K,V)}),R.referenced=!0)}})}else if(C.isExportAllDeclaration()){U=!0;let R=k(C.node.source,C.node);R.loc||(R.loc=C.node.loc),R.reexportAll={loc:C.node.loc},R.referenced=!0}else if(C.isExportNamedDeclaration()&&C.node.source){U=!0;let R=k(C.node.source,C.node);R.loc||(R.loc=C.node.loc),C.get("specifiers").forEach(G=>{b(G);let V=f(G.get("local"),A),B=f(G.get("exported"),A);if(R.reexports.set(B,V),R.referenced=!0,B==="__esModule")throw G.get("exported").buildCodeFrameError('Illegal export "__esModule".')})}else(C.isExportNamedDeclaration()||C.isExportDefaultDeclaration())&&(U=!0)}),F.values())){let C=!1,R=!1;for(let G of(z.importsNamespace.size>0&&(C=!0,R=!0),z.reexportAll&&(R=!0),z.imports.values()))G==="default"?C=!0:R=!0;for(let G of z.reexports.values())G==="default"?C=!0:R=!0;C&&R?z.interop="namespace":C&&(z.interop="default")}if(S)for(let[z,C]of F)C.wrap=S(z,C,j.get(z));return{hasExports:U,local:L,sources:F}}function y(E,S,_){let A=new Map,L=E.scope,j=E.get("body");j.forEach(U=>{let z;if(U.isImportDeclaration())z="import";else{if(U.isExportDefaultDeclaration()&&(U=U.get("declaration")),U.isExportNamedDeclaration()){if(U.node.declaration)U=U.get("declaration");else if(S&&U.node.source&&U.get("source").isStringLiteral())return void U.get("specifiers").forEach(C=>{b(C),A.set(C.get("local").node.name,"block")})}if(U.isFunctionDeclaration())z="hoisted";else if(U.isClassDeclaration())z="block";else if(U.isVariableDeclaration({kind:"var"}))z="var";else{if(!U.isVariableDeclaration())return;z="block"}}Object.keys(U.getOuterBindingIdentifiers()).forEach(C=>{A.set(C,z)})});let F=new Map,k=U=>{let z=U.node.name,C=F.get(z);if(!C){var R,G;let V=(R=A.get(z))!=null?R:(G=L.getBinding(z))==null?void 0:G.kind;if(V===void 0)throw U.buildCodeFrameError(`Exporting local "${z}", which is not declared.`);C={names:[],kind:V},F.set(z,C)}return C};return j.forEach(U=>{if(U.isExportNamedDeclaration()&&(S||!U.node.source))if(U.node.declaration){let z=U.get("declaration"),C=z.getOuterBindingIdentifierPaths();Object.keys(C).forEach(R=>{if(R==="__esModule")throw z.buildCodeFrameError('Illegal export "__esModule".');k(C[R]).names.push(R)})}else U.get("specifiers").forEach(z=>{let C=z.get("local"),R=z.get("exported"),G=k(C),V=f(R,_);if(V==="__esModule")throw R.buildCodeFrameError('Illegal export "__esModule".');G.names.push(V)});else if(U.isExportDefaultDeclaration()){let z=U.get("declaration");if(z.isFunctionDeclaration()||z.isClassDeclaration())k(z.get("id")).names.push("default");else throw z.buildCodeFrameError("Unexpected default expression export.")}}),F}function x(E){E.get("body").forEach(S=>{S.isExportDefaultDeclaration()&&(S.splitExportDeclaration!=null||(S.splitExportDeclaration=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/index.js").NodePath.prototype.splitExportDeclaration),S.splitExportDeclaration())})}function v(E){E.get("body").forEach(S=>{if(S.isImportDeclaration())S.remove();else if(S.isExportNamedDeclaration())S.node.declaration?(S.node.declaration._blockHoist=S.node._blockHoist,S.replaceWith(S.node.declaration)):S.remove();else if(S.isExportDefaultDeclaration()){let _=S.get("declaration");if(_.isFunctionDeclaration()||_.isClassDeclaration())_._blockHoist=S.node._blockHoist,S.replaceWith(_);else throw _.buildCodeFrameError("Unexpected default expression export.")}else S.isExportAllDeclaration()&&S.remove()})}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/rewrite-live-references.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js");function c(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)}function p(f,b,m){let y=new Map,x=new Map,v=_=>{f.requeue(_)};for(let[_,A]of b.source){for(let[L,j]of A.imports)y.set(L,[_,j,null]);for(let L of A.importsNamespace)y.set(L,[_,null,L])}for(let[_,A]of b.local){let L=x.get(_);L||(L=[],x.set(_,L)),L.push(...A.names)}let E={metadata:b,requeueInParent:v,scope:f.scope,exported:x};f.traverse(i,E);let S={seen:new WeakSet,metadata:b,requeueInParent:v,scope:f.scope,imported:y,exported:x,buildImportReference([_,A,L],j){var F,k;let U=b.source.get(_);if(U.referenced=!0,L)return U.wrap&&(j=(F=m(j,U.wrap))!=null?F:j),j;let z=n.types.identifier(U.name);if(U.wrap&&(z=(k=m(z,U.wrap))!=null?k:z),A==="default"&&U.interop==="node-default")return z;let C=b.stringSpecifiers.has(A);return n.types.memberExpression(z,C?n.types.stringLiteral(A):n.types.identifier(A),C)}};f.traverse(d,S)}let i={Scope(f){f.skip()},ClassDeclaration(f){let{requeueInParent:b,exported:m,metadata:y}=this,{id:x}=f.node;if(!x)throw Error("Expected class to have a name");let v=x.name,E=m.get(v)||[];if(E.length>0){let S=n.types.expressionStatement(o(y,E,n.types.identifier(v),f.scope));S._blockHoist=f.node._blockHoist,b(f.insertAfter(S)[0])}},VariableDeclaration(f){let{requeueInParent:b,exported:m,metadata:y}=this,x=f.node.kind==="var";for(let v of f.get("declarations")){let{id:E}=v.node,{init:S}=v.node;if(n.types.isIdentifier(E)&&m.has(E.name)&&!n.types.isArrowFunctionExpression(S)&&(!n.types.isFunctionExpression(S)||S.id)&&(!n.types.isClassExpression(S)||S.id)){if(!S){if(x)continue;S=f.scope.buildUndefinedNode()}v.node.init=o(y,m.get(E.name),S,f.scope),b(v.get("init"))}else for(let _ of Object.keys(v.getOuterBindingIdentifiers()))if(m.has(_)){let A=n.types.expressionStatement(o(y,m.get(_),n.types.identifier(_),f.scope));A._blockHoist=f.node._blockHoist,b(f.insertAfter(A)[0])}}}},o=(f,b,m,y)=>{let x=f.exportName;for(let v=y;v!=null;v=v.parent)v.hasOwnBinding(x)&&v.rename(x);return(b||[]).reduce((v,E)=>{let{stringSpecifiers:S}=f,_=S.has(E);return n.types.assignmentExpression("=",n.types.memberExpression(n.types.identifier(x),_?n.types.stringLiteral(E):n.types.identifier(E),_),v)},m)},h=f=>n.template.expression.ast`
|
|
(function() {
|
|
throw new Error('"' + '${f}' + '" is read-only.');
|
|
})()
|
|
`,d={ReferencedIdentifier(f){let{seen:b,buildImportReference:m,scope:y,imported:x,requeueInParent:v}=this;if(b.has(f.node))return;b.add(f.node);let E=f.node.name,S=x.get(E);if(S){if(c(f))throw f.buildCodeFrameError(`Cannot transform the imported binding "${E}" since it's also used in a type annotation. Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`);let _=f.scope.getBinding(E);if(y.getBinding(E)!==_)return;let A=m(S,f.node);if(A.loc=f.node.loc,(f.parentPath.isCallExpression({callee:f.node})||f.parentPath.isOptionalCallExpression({callee:f.node})||f.parentPath.isTaggedTemplateExpression({tag:f.node}))&&n.types.isMemberExpression(A))f.replaceWith(n.types.sequenceExpression([n.types.numericLiteral(0),A]));else if(f.isJSXIdentifier()&&n.types.isMemberExpression(A)){let{object:L,property:j}=A;f.replaceWith(n.types.jsxMemberExpression(n.types.jsxIdentifier(L.name),n.types.jsxIdentifier(j.name)))}else f.replaceWith(A);v(f),f.skip()}},UpdateExpression(f){let{scope:b,seen:m,imported:y,exported:x,requeueInParent:v,buildImportReference:E}=this;if(m.has(f.node))return;m.add(f.node);let S=f.get("argument");if(S.isMemberExpression())return;let _=f.node;if(S.isIdentifier()){let A=S.node.name;if(b.getBinding(A)!==f.scope.getBinding(A))return;let L=x.get(A),j=y.get(A);if((L==null?void 0:L.length)>0||j)if(j)f.replaceWith(n.types.assignmentExpression(_.operator[0]+"=",E(j,S.node),h(A)));else if(_.prefix)f.replaceWith(o(this.metadata,L,n.types.cloneNode(_),f.scope));else{let F=b.generateDeclaredUidIdentifier(A);f.replaceWith(n.types.sequenceExpression([n.types.assignmentExpression("=",n.types.cloneNode(F),n.types.cloneNode(_)),o(this.metadata,L,n.types.identifier(A),f.scope),n.types.cloneNode(F)]))}}v(f),f.skip()},AssignmentExpression:{exit(f){let{scope:b,seen:m,imported:y,exported:x,requeueInParent:v,buildImportReference:E}=this;if(m.has(f.node))return;m.add(f.node);let S=f.get("left");if(!S.isMemberExpression())if(S.isIdentifier()){let _=S.node.name;if(b.getBinding(_)!==f.scope.getBinding(_))return;let A=x.get(_),L=y.get(_);if((A==null?void 0:A.length)>0||L){let j,F=f.node;L&&(F.left=E(L,S.node),F.right=n.types.sequenceExpression([F.right,h(_)]));let{operator:k}=F;j=k==="="?F:k==="&&="||k==="||="||k==="??="?n.types.assignmentExpression("=",F.left,n.types.logicalExpression(k.slice(0,-1),n.types.cloneNode(F.left),F.right)):n.types.assignmentExpression("=",F.left,n.types.binaryExpression(k.slice(0,-1),n.types.cloneNode(F.left),F.right)),f.replaceWith(o(this.metadata,A,j,f.scope)),v(f),f.skip()}}else{let _=Object.keys(S.getOuterBindingIdentifiers()).filter(j=>b.getBinding(j)===f.scope.getBinding(j)),A=_.find(j=>y.has(j));A&&(f.node.right=n.types.sequenceExpression([f.node.right,h(A)]));let L=[];if(_.forEach(j=>{let F=x.get(j)||[];F.length>0&&L.push(o(this.metadata,F,n.types.identifier(j),f.scope))}),L.length>0){let j=n.types.sequenceExpression(L);f.parentPath.isExpressionStatement()&&((j=n.types.expressionStatement(j))._blockHoist=f.parentPath.node._blockHoist),v(f.insertAfter(j)[0])}}}},ForXStatement(f){let{scope:b,node:m}=f,{left:y}=m,{exported:x,imported:v,scope:E}=this;if(!n.types.isVariableDeclaration(y)){let S=!1,_,A=f.get("body").scope;for(let F of Object.keys(n.types.getOuterBindingIdentifiers(y)))E.getBinding(F)===b.getBinding(F)&&(x.has(F)&&(S=!0,A.hasOwnBinding(F)&&A.rename(F)),v.has(F)&&!_&&(_=F));if(!S&&!_)return;f.ensureBlock();let L=f.get("body"),j=b.generateUidIdentifierBasedOnNode(y);f.get("left").replaceWith(n.types.variableDeclaration("let",[n.types.variableDeclarator(n.types.cloneNode(j))])),b.registerDeclaration(f.get("left")),S&&L.unshiftContainer("body",n.types.expressionStatement(n.types.assignmentExpression("=",y,j))),_&&L.unshiftContainer("body",n.types.expressionStatement(h(_)))}}}},"./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/rewrite-this.js":function(u,e,l){"use strict";let n;Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/index.js");function i(o){n||((n=p.visitors.environmentVisitor({ThisExpression(h){h.replaceWith(c.types.unaryExpression("void",c.types.numericLiteral(0),!0))}})).noScope=!0),(0,p.default)(o.node,n)}},"./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.27.1/node_modules/@babel/helper-optimise-call-expression/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=f;let{callExpression:n,identifier:c,isIdentifier:p,isSpreadElement:i,memberExpression:o,optionalCallExpression:h,optionalMemberExpression:d}=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");function f(b,m,y,x){return y.length===1&&i(y[0])&&p(y[0].argument,{name:"arguments"})?x?h(d(b,c("apply"),!1,!0),[m,y[0].argument],!1):n(o(b,c("apply")),[m,y[0].argument]):x?h(d(b,c("call"),!1,!0),[m,...y],!1):n(o(b,c("call")),[m,...y])}},"./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.declare=n,e.declarePreset=void 0;let l={assertVersion:i=>o=>{p(o,i.version)}};function n(i){return(o,h,d)=>{let f;for(let b of Object.keys(l))o[b]||(f!=null||(f=c(o)),f[b]=l[b](f));return i(f??o,h||{},d)}}function c(i){let o=null;return typeof i.version=="string"&&/^7\./.test(i.version)&&(!(o=Object.getPrototypeOf(i))||hasOwnProperty.call(o,"version")&&hasOwnProperty.call(o,"transform")&&hasOwnProperty.call(o,"template")&&hasOwnProperty.call(o,"types")||(o=null)),Object.assign({},o,i)}function p(i,o){let h;if(typeof i=="number"){if(!Number.isInteger(i))throw Error("Expected string or integer value.");i=`^${i}.0.0-0`}if(typeof i!="string")throw Error("Expected string or integer value.");let d=Error.stackTraceLimit;throw typeof d=="number"&&d<25&&(Error.stackTraceLimit=25),h=o.slice(0,2)==="7."?Error(`Requires Babel "^7.0.0-beta.41", but was loaded with "${o}". You'll need to update your @babel/core version.`):Error(`Requires Babel "${i}", but was loaded with "${o}". 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 d=="number"&&(Error.stackTraceLimit=d),Object.assign(h,{code:"BABEL_VERSION_UNSUPPORTED",version:o,range:i})}Object.assign(l,{targets:()=>()=>({}),assumption:()=>()=>{},addExternalDependency:()=>()=>{}}),e.declarePreset=n},"./node_modules/.pnpm/@babel+helper-replace-supers@7.27.1_@babel+core@7.28.4/node_modules/@babel/helper-replace-supers/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+helper-member-expression-to-functions@7.27.1/node_modules/@babel/helper-member-expression-to-functions/lib/index.js"),c=l("./node_modules/.pnpm/@babel+helper-optimise-call-expression@7.27.1/node_modules/@babel/helper-optimise-call-expression/lib/index.js"),p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js"),i=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/index.js");let{assignmentExpression:o,callExpression:h,cloneNode:d,identifier:f,memberExpression:b,sequenceExpression:m,stringLiteral:y,thisExpression:x}=p.types;e.environmentVisitor=i.visitors.environmentVisitor({}),e.skipAllButComputedKey=function(j){j.skip(),j.node.computed&&j.context.maybeQueue(j.get("key"))};let v=i.visitors.environmentVisitor({Super(j,F){let{node:k,parentPath:U}=j;U.isMemberExpression({object:k})&&F.handle(U)}}),E=i.visitors.environmentVisitor({Scopable(j,{refName:F}){let k=j.scope.getOwnBinding(F);k&&k.identifier.name===F&&j.scope.rename(F)}}),S={memoise(j,F){let{scope:k,node:U}=j,{computed:z,property:C}=U;if(!z)return;let R=k.maybeGenerateMemoised(C);R&&this.memoiser.set(C,R,F)},prop(j){let{computed:F,property:k}=j.node;return this.memoiser.has(k)?d(this.memoiser.get(k)):F?d(k):y(k.name)},_getPrototypeOfExpression(){let j=d(this.getObjectRef()),F=this.isStatic||this.isPrivateMethod?j:b(j,f("prototype"));return h(this.file.addHelper("getPrototypeOf"),[F])},get(j){let F=d(this.getObjectRef());return h(this.file.addHelper("superPropGet"),[this.isDerivedConstructor?m([x(),F]):F,this.prop(j),x(),...this.isStatic||this.isPrivateMethod?[]:[p.types.numericLiteral(1)]])},_call(j,F,k){let U,z=d(this.getObjectRef());U=F.length===1&&p.types.isSpreadElement(F[0])&&(p.types.isIdentifier(F[0].argument)||p.types.isArrayExpression(F[0].argument))?F[0].argument:p.types.arrayExpression(F);let C=p.types.callExpression(this.file.addHelper("superPropGet"),[this.isDerivedConstructor?m([x(),z]):z,this.prop(j),x(),p.types.numericLiteral(2|(this.isStatic||this.isPrivateMethod?0:1))]);return k?p.types.optionalCallExpression(C,[U],!0):h(C,[U])},set(j,F){let k=d(this.getObjectRef());return h(this.file.addHelper("superPropSet"),[this.isDerivedConstructor?m([x(),k]):k,this.prop(j),F,x(),p.types.numericLiteral(+!!j.isInStrictMode()),...this.isStatic||this.isPrivateMethod?[]:[p.types.numericLiteral(1)]])},destructureSet(j){throw j.buildCodeFrameError("Destructuring to a super field is not supported yet.")},call(j,F){return this._call(j,F,!1)},optionalCall(j,F){return this._call(j,F,!0)},delete(j){return j.node.computed?m([h(this.file.addHelper("toPropertyKey"),[d(j.node.property)]),p.template.expression.ast`
|
|
function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
|
|
`]):p.template.expression.ast`
|
|
function () { throw new ReferenceError("'delete super.prop' is invalid"); }()
|
|
`}},_={memoise(j,F){let{scope:k,node:U}=j,{computed:z,property:C}=U;if(!z)return;let R=k.maybeGenerateMemoised(C);R&&this.memoiser.set(C,R,F)},prop(j){let{computed:F,property:k}=j.node;return this.memoiser.has(k)?d(this.memoiser.get(k)):F?d(k):y(k.name)},_getPrototypeOfExpression(){let j=d(this.getObjectRef()),F=this.isStatic||this.isPrivateMethod?j:b(j,f("prototype"));return h(this.file.addHelper("getPrototypeOf"),[F])},get(j){return this._get(j)},_get(j){let F=this._getPrototypeOfExpression();return h(this.file.addHelper("get"),[this.isDerivedConstructor?m([x(),F]):F,this.prop(j),x()])},set(j,F){let k=this._getPrototypeOfExpression();return h(this.file.addHelper("set"),[this.isDerivedConstructor?m([x(),k]):k,this.prop(j),F,x(),p.types.booleanLiteral(j.isInStrictMode())])},destructureSet(j){throw j.buildCodeFrameError("Destructuring to a super field is not supported yet.")},call(j,F){return(0,c.default)(this._get(j),x(),F,!1)},optionalCall(j,F){return(0,c.default)(this._get(j),d(x()),F,!0)},delete(j){return j.node.computed?m([h(this.file.addHelper("toPropertyKey"),[d(j.node.property)]),p.template.expression.ast`
|
|
function () { throw new ReferenceError("'delete super[expr]' is invalid"); }()
|
|
`]):p.template.expression.ast`
|
|
function () { throw new ReferenceError("'delete super.prop' is invalid"); }()
|
|
`}},A=Object.assign({},S,{prop(j){let{property:F}=j.node;return this.memoiser.has(F)?d(this.memoiser.get(F)):d(F)},get(j){var F,k;let U,{isStatic:z,getSuperRef:C}=this,{computed:R}=j.node,G=this.prop(j);return U=z?(F=C())!=null?F:b(f("Function"),f("prototype")):b((k=C())!=null?k:f("Object"),f("prototype")),b(U,G,R)},set(j,F){let{computed:k}=j.node,U=this.prop(j);return o("=",b(x(),U,k),F)},destructureSet(j){let{computed:F}=j.node,k=this.prop(j);return b(x(),k,F)},call(j,F){return(0,c.default)(this.get(j),x(),F,!1)},optionalCall(j,F){return(0,c.default)(this.get(j),x(),F,!0)}}),L=class{constructor(F){var k;let U=F.methodPath;this.methodPath=U,this.isDerivedConstructor=U.isClassMethod({kind:"constructor"})&&!!F.superRef,this.isStatic=U.isObjectMethod()||U.node.static||(U.isStaticBlock==null?void 0:U.isStaticBlock()),this.isPrivateMethod=U.isPrivate()&&U.isMethod(),this.file=F.file,this.constantSuper=(k=F.constantSuper)!=null?k:F.isLoose,this.opts=F}getObjectRef(){return d(this.opts.objectRef||this.opts.getObjectRef())}getSuperRef(){return this.opts.superRef?d(this.opts.superRef):this.opts.getSuperRef?d(this.opts.getSuperRef()):void 0}replace(){let{methodPath:F}=this;this.opts.refToPreserve&&F.traverse(E,{refName:this.opts.refToPreserve.name});let k=this.constantSuper?A:this.file.availableHelper("superPropSet")?S:_;v.shouldSkip=U=>{if(U.parentPath===F&&(U.parentKey==="decorators"||U.parentKey==="key"))return!0},(0,n.default)(F,v,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:k.get},k))}};e.default=L},"./node_modules/.pnpm/@babel+helper-simple-access@7.27.1/node_modules/@babel/helper-simple-access/lib/index.js":function(u,e,l){"use strict";e.default=y;let{LOGICAL_OPERATORS:n,assignmentExpression:c,binaryExpression:p,cloneNode:i,identifier:o,logicalExpression:h,numericLiteral:d,sequenceExpression:f,unaryExpression:b}=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),m={AssignmentExpression:{exit(x){let{scope:v,seen:E,bindingNames:S}=this;if(x.node.operator==="="||E.has(x.node))return;E.add(x.node);let _=x.get("left");if(!_.isIdentifier())return;let A=_.node.name;if(!S.has(A)||v.getBinding(A)!==x.scope.getBinding(A))return;let L=x.node.operator.slice(0,-1);n.includes(L)?x.replaceWith(h(L,x.node.left,c("=",i(x.node.left),x.node.right))):(x.node.right=p(L,i(x.node.left),x.node.right),x.node.operator="=")}}};function y(x,v){var E;x.traverse(m,{scope:x.scope,bindingNames:v,seen:new WeakSet,includeUpdateExpression:(E=arguments[2])==null||E})}m.UpdateExpression={exit(x){if(!this.includeUpdateExpression)return;let{scope:v,bindingNames:E}=this,S=x.get("argument");if(!S.isIdentifier())return;let _=S.node.name;if(E.has(_)&&v.getBinding(_)===x.scope.getBinding(_))if(x.parentPath.isExpressionStatement()&&!x.isCompletionRecord()){let A=x.node.operator==="++"?"+=":"-=";x.replaceWith(c(A,S.node,d(1)))}else if(x.node.prefix)x.replaceWith(c("=",o(_),p(x.node.operator[0],b("+",S.node),d(1))));else{let A=x.scope.generateUidIdentifierBasedOnNode(S.node,"old"),L=A.name;x.scope.push({id:A});let j=p(x.node.operator[0],o(L),d(1));x.replaceWith(f([c("=",o(L),b("+",S.node)),c("=",i(S.node),j),o(L)]))}}}},"./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.27.1/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isTransparentExprWrapper=d,e.skipTransparentExprWrapperNodes=b,e.skipTransparentExprWrappers=f;let{isParenthesizedExpression:n,isTSAsExpression:c,isTSNonNullExpression:p,isTSSatisfiesExpression:i,isTSTypeAssertion:o,isTypeCastExpression:h}=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");function d(m){return c(m)||i(m)||o(m)||p(m)||h(m)||n(m)}function f(m){for(;d(m.node);)m=m.get("expression");return m}function b(m){for(;d(m);)m=m.expression;return m}},"./node_modules/.pnpm/@babel+helper-string-parser@7.27.1/node_modules/@babel/helper-string-parser/lib/index.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.readCodePoint=m,e.readInt=b,e.readStringContents=o;let l={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},n=y=>y===48||y===49,c=y=>y>=48&&y<=55,p=y=>y>=48&&y<=57,i=y=>y>=48&&y<=57||y>=65&&y<=70||y>=97&&y<=102;function o(y,x,v,E,S,_){let A=v,L=E,j=S,F="",k=null,U=v,{length:z}=x;for(;;){if(v>=z){_.unterminated(A,L,j),F+=x.slice(U,v);break}let C=x.charCodeAt(v);if(h(y,C,x,v)){F+=x.slice(U,v);break}if(C===92){F+=x.slice(U,v);let R=d(x,v,E,S,y==="template",_);R.ch!==null||k?F+=R.ch:k={pos:v,lineStart:E,curLine:S},{pos:v,lineStart:E,curLine:S}=R,U=v}else C===8232||C===8233?(++v,++S,E=v):C===10||C===13?y==="template"?(F+=x.slice(U,v)+`
|
|
`,++v,C===13&&x.charCodeAt(v)===10&&++v,++S,U=E=v):_.unterminated(A,L,j):++v}return{pos:v,str:F,firstInvalidLoc:k,lineStart:E,curLine:S,containsInvalid:!!k}}function h(y,x,v,E){return y==="template"?x===96||x===36&&v.charCodeAt(E+1)===123:x===(y==="double"?34:39)}function d(y,x,v,E,S,_){let A=!S;x++;let L=F=>({pos:x,ch:F,lineStart:v,curLine:E}),j=y.charCodeAt(x++);switch(j){case 110:return L(`
|
|
`);case 114:return L("\r");case 120:{let F;return{code:F,pos:x}=f(y,x,v,E,2,!1,A,_),L(F===null?null:String.fromCharCode(F))}case 117:{let F;return{code:F,pos:x}=m(y,x,v,E,A,_),L(F===null?null:String.fromCodePoint(F))}case 116:return L(" ");case 98:return L("\b");case 118:return L("\v");case 102:return L("\f");case 13:y.charCodeAt(x)===10&&++x;case 10:v=x,++E;case 8232:case 8233:return L("");case 56:case 57:if(S)return L(null);_.strictNumericEscape(x-1,v,E);default:if(j>=48&&j<=55){let F=x-1,k=/^[0-7]+/.exec(y.slice(F,x+2))[0],U=parseInt(k,8);U>255&&(U=parseInt(k=k.slice(0,-1),8)),x+=k.length-1;let z=y.charCodeAt(x);if(k!=="0"||z===56||z===57){if(S)return L(null);_.strictNumericEscape(F,v,E)}return L(String.fromCharCode(U))}return L(String.fromCharCode(j))}}function f(y,x,v,E,S,_,A,L){let j,F=x;return{n:j,pos:x}=b(y,x,v,E,16,S,_,!1,L,!A),j===null&&(A?L.invalidEscapeSequence(F,v,E):x=F-1),{code:j,pos:x}}function b(y,x,v,E,S,_,A,L,j,F){let k=x,U=S===16?l.hex:l.decBinOct,z=S===16?i:S===10?p:S===8?c:n,C=!1,R=0;for(let G=0,V=_??1/0;G<V;++G){let B,q=y.charCodeAt(x);if(q===95&&L!=="bail"){let K=y.charCodeAt(x-1),$=y.charCodeAt(x+1);if(L){if(Number.isNaN($)||!z($)||U.has(K)||U.has($)){if(F)return{n:null,pos:x};j.unexpectedNumericSeparator(x,v,E)}}else{if(F)return{n:null,pos:x};j.numericSeparatorInEscapeSequence(x,v,E)}++x;continue}if(q>=97?B=q-97+10:q>=65?B=q-65+10:B=q>=48&&q<=57?q-48:1/0,B>=S){if(B<=9&&F)return{n:null,pos:x};if(B<=9&&j.invalidDigit(x,v,E,S))B=0;else if(A)B=0,C=!0;else break}++x,R=R*S+B}return x===k||_!=null&&x-k!==_||C?{n:null,pos:x}:{n:R,pos:x}}function m(y,x,v,E,S,_){let A;if(y.charCodeAt(x)===123){if(++x,{code:A,pos:x}=f(y,x,v,E,y.indexOf("}",x)-x,!0,S,_),++x,A!==null&&A>1114111)if(S)_.invalidCodePoint(x,v,E);else return{code:null,pos:x}}else({code:A,pos:x}=f(y,x,v,E,4,!1,S,_));return{code:A,pos:x}}},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/identifier.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIdentifierChar=d,e.isIdentifierName=f,e.isIdentifierStart=h;let l="\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-\u1C8A\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-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\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",n=RegExp("["+l+"]"),c=RegExp("["+l+"\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\u0897-\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\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\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\uFF65]"),p=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,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,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,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,229,29,3,0,496,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,16,621,2467,541,1507,4938,6,4191],i=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function o(b,m){let y=65536;for(let x=0,v=m.length;x<v&&!((y+=m[x])>b);x+=2)if((y+=m[x+1])>=b)return!0;return!1}function h(b){return b<65?b===36:b<=90||(b<97?b===95:b<=122||(b<=65535?b>=170&&n.test(String.fromCharCode(b)):o(b,p)))}function d(b){return b<48?b===36:b<58||!(b<65)&&(b<=90||(b<97?b===95:b<=122||(b<=65535?b>=170&&c.test(String.fromCharCode(b)):o(b,p)||o(b,i))))}function f(b){let m=!0;for(let y=0;y<b.length;y++){let x=b.charCodeAt(y);if((64512&x)==55296&&y+1<b.length){let v=b.charCodeAt(++y);(64512&v)==56320&&(x=65536+((1023&x)<<10)+(1023&v))}if(m){if(m=!1,!h(x))return!1}else if(!d(x))return!1}return!m}},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"isIdentifierChar",{enumerable:!0,get:function(){return n.isIdentifierChar}}),Object.defineProperty(e,"isIdentifierName",{enumerable:!0,get:function(){return n.isIdentifierName}}),Object.defineProperty(e,"isIdentifierStart",{enumerable:!0,get:function(){return n.isIdentifierStart}}),Object.defineProperty(e,"isKeyword",{enumerable:!0,get:function(){return c.isKeyword}}),Object.defineProperty(e,"isReservedWord",{enumerable:!0,get:function(){return c.isReservedWord}}),Object.defineProperty(e,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return c.isStrictBindOnlyReservedWord}}),Object.defineProperty(e,"isStrictBindReservedWord",{enumerable:!0,get:function(){return c.isStrictBindReservedWord}}),Object.defineProperty(e,"isStrictReservedWord",{enumerable:!0,get:function(){return c.isStrictReservedWord}});var n=l("./node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/identifier.js"),c=l("./node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/keyword.js")},"./node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/keyword.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isKeyword=d,e.isReservedWord=p,e.isStrictBindOnlyReservedWord=o,e.isStrictBindReservedWord=h,e.isStrictReservedWord=i;let l=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"]),n=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),c=new Set(["eval","arguments"]);function p(f,b){return b&&f==="await"||f==="enum"}function i(f,b){return p(f,b)||n.has(f)}function o(f){return c.has(f)}function h(f,b){return i(f,b)||o(f)}function d(f){return l.has(f)}},"./node_modules/.pnpm/@babel+helper-validator-option@7.27.1/node_modules/@babel/helper-validator-option/lib/find-suggestion.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.findSuggestion=c;let{min:l}=Math;function n(p,i){let o=[],h=[],d,f,b=p.length,m=i.length;if(!b)return m;if(!m)return b;for(f=0;f<=m;f++)o[f]=f;for(d=1;d<=b;d++){for(h=[d],f=1;f<=m;f++)h[f]=p[d-1]===i[f-1]?o[f-1]:l(o[f-1],o[f],h[f-1])+1;o=h}return h[m]}function c(p,i){let o=i.map(h=>n(h,p));return i[o.indexOf(l(...o))]}},"./node_modules/.pnpm/@babel+helper-validator-option@7.27.1/node_modules/@babel/helper-validator-option/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"OptionValidator",{enumerable:!0,get:function(){return n.OptionValidator}}),Object.defineProperty(e,"findSuggestion",{enumerable:!0,get:function(){return c.findSuggestion}});var n=l("./node_modules/.pnpm/@babel+helper-validator-option@7.27.1/node_modules/@babel/helper-validator-option/lib/validator.js"),c=l("./node_modules/.pnpm/@babel+helper-validator-option@7.27.1/node_modules/@babel/helper-validator-option/lib/find-suggestion.js")},"./node_modules/.pnpm/@babel+helper-validator-option@7.27.1/node_modules/@babel/helper-validator-option/lib/validator.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.OptionValidator=void 0;var n=l("./node_modules/.pnpm/@babel+helper-validator-option@7.27.1/node_modules/@babel/helper-validator-option/lib/find-suggestion.js");let c=class{constructor(i){this.descriptor=i}validateTopLevelOptions(i,o){let h=Object.keys(o);for(let d of Object.keys(i))if(!h.includes(d))throw Error(this.formatMessage(`'${d}' is not a valid top-level option.
|
|
- Did you mean '${(0,n.findSuggestion)(d,h)}'?`))}validateBooleanOption(i,o,h){return o===void 0?h:(this.invariant(typeof o=="boolean",`'${i}' option must be a boolean.`),o)}validateStringOption(i,o,h){return o===void 0?h:(this.invariant(typeof o=="string",`'${i}' option must be a string.`),o)}invariant(i,o){if(!i)throw Error(this.formatMessage(o))}formatMessage(i){return`${this.descriptor}: ${i}`}};e.OptionValidator=c},"./node_modules/.pnpm/@babel+helpers@7.28.4/node_modules/@babel/helpers/lib/helpers-generated.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/index.js");function c(p,i,o){return Object.freeze({minVersion:p,ast:()=>n.default.program.ast(i,{preserveComments:!0}),metadata:o})}Object.assign(e.default={__proto__:null,OverloadYield:c("7.18.14","function _OverloadYield(e,d){this.v=e,this.k=d}",{globals:[],locals:{_OverloadYield:["body.0.id"]},exportBindingAssignments:[],exportName:"_OverloadYield",dependencies:{},internal:!1}),applyDecoratedDescriptor:c("7.0.0-beta.0",'function _applyDecoratedDescriptor(i,e,r,n,l){var a={};return Object.keys(n).forEach(function(i){a[i]=n[i]}),a.enumerable=!!a.enumerable,a.configurable=!!a.configurable,("value"in a||a.initializer)&&(a.writable=!0),a=r.slice().reverse().reduce(function(r,n){return n(i,e,r)||r},a),l&&void 0!==a.initializer&&(a.value=a.initializer?a.initializer.call(l):void 0,a.initializer=void 0),void 0===a.initializer?(Object.defineProperty(i,e,a),null):a}',{globals:["Object"],locals:{_applyDecoratedDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_applyDecoratedDescriptor",dependencies:{},internal:!1}),applyDecs2311:c("7.24.0",'function applyDecs2311(e,t,n,r,o,i){var a,c,u,s,f,l,p,d=Symbol.metadata||Symbol.for("Symbol.metadata"),m=Object.defineProperty,h=Object.create,y=[h(null),h(null)],v=t.length;function g(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function b(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function applyDec(e,t,n,r,o,i,u,s,f,l,p){function d(e){if(!p(e))throw new TypeError("Attempted to access private element on non-instance")}var h=[].concat(t[0]),v=t[3],w=!u,D=1===o,S=3===o,j=4===o,E=2===o;function I(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),P[t].call(o,i)}}if(!w){var P={},k=[],F=S?"get":j||D?"set":"value";if(f?(l||D?P={get:setFunctionName(function(){return v(this)},r,"get"),set:function(e){t[4](this,e)}}:P[F]=v,l||setFunctionName(P[F],r,E?"":F)):l||(P=Object.getOwnPropertyDescriptor(e,r)),!l&&!f){if((c=y[+s][r])&&7!==(c^o))throw Error("Decorating two elements with the same name ("+P[F].name+") is not supported yet");y[+s][r]=o<3?1:o}}for(var N=e,O=h.length-1;O>=0;O-=n?2:1){var T=b(h[O],"A decorator","be",!0),z=n?h[O-1]:void 0,A={},H={kind:["field","accessor","method","getter","setter","class"][o],name:r,metadata:a,addInitializer:function(e,t){if(e.v)throw new TypeError("attempted to call addInitializer after decoration was finished");b(t,"An initializer","be",!0),i.push(t)}.bind(null,A)};if(w)c=T.call(z,N,H),A.v=1,b(c,"class decorators","return")&&(N=c);else if(H.static=s,H.private=f,c=H.access={has:f?p.bind():function(e){return r in e}},j||(c.get=f?E?function(e){return d(e),P.value}:I("get",0,d):function(e){return e[r]}),E||S||(c.set=f?I("set",0,d):function(e,t){e[r]=t}),N=T.call(z,D?{get:P.get,set:P.set}:P[F],H),A.v=1,D){if("object"==typeof N&&N)(c=b(N.get,"accessor.get"))&&(P.get=c),(c=b(N.set,"accessor.set"))&&(P.set=c),(c=b(N.init,"accessor.init"))&&k.unshift(c);else if(void 0!==N)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else b(N,(l?"field":"method")+" decorators","return")&&(l?k.unshift(N):P[F]=N)}return o<2&&u.push(g(k,s,1),g(i,s,0)),l||w||(f?D?u.splice(-1,0,I("get",s),I("set",s)):u.push(E?P[F]:b.call.bind(P[F])):m(e,r,P)),N}function w(e){return m(e,d,{configurable:!0,enumerable:!0,value:a})}return void 0!==i&&(a=i[d]),a=h(null==a?null:a),f=[],l=function(e){e&&f.push(g(e))},p=function(t,r){for(var i=0;i<n.length;i++){var a=n[i],c=a[1],l=7&c;if((8&c)==t&&!l==r){var p=a[2],d=!!a[3],m=16&c;applyDec(t?e:e.prototype,a,m,d?"#"+p:toPropertyKey(p),l,l<2?[]:t?s=s||[]:u=u||[],f,!!t,d,r,t&&d?function(t){return checkInRHS(t)===e}:o)}}},p(8,0),p(0,0),p(8,1),p(0,1),l(u),l(s),c=f,v||w(e),{e:c,get c(){var n=[];return v&&[w(e=applyDec(e,[t],r,e.name,5,n)),g(n,1)]}}}',{globals:["Symbol","Object","TypeError","Error"],locals:{applyDecs2311:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2311",dependencies:{checkInRHS:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.10.consequent.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.3.consequent.body.1.test.expressions.0.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.5.argument.expressions.4.right.body.body.0.body.body.1.consequent.body.1.expression.arguments.3.alternate.callee"]},internal:!1}),arrayLikeToArray:c("7.9.0","function _arrayLikeToArray(r,a){(null==a||a>r.length)&&(a=r.length);for(var e=0,n=Array(a);e<a;e++)n[e]=r[e];return n}",{globals:["Array"],locals:{_arrayLikeToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayLikeToArray",dependencies:{},internal:!1}),arrayWithHoles:c("7.0.0-beta.0","function _arrayWithHoles(r){if(Array.isArray(r))return r}",{globals:["Array"],locals:{_arrayWithHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithHoles",dependencies:{},internal:!1}),arrayWithoutHoles:c("7.0.0-beta.0","function _arrayWithoutHoles(r){if(Array.isArray(r))return arrayLikeToArray(r)}",{globals:["Array"],locals:{_arrayWithoutHoles:["body.0.id"]},exportBindingAssignments:[],exportName:"_arrayWithoutHoles",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.argument.callee"]},internal:!1}),assertClassBrand:c("7.24.0",'function _assertClassBrand(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}',{globals:["TypeError"],locals:{_assertClassBrand:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertClassBrand",dependencies:{},internal:!1}),assertThisInitialized:c("7.0.0-beta.0",`function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}`,{globals:["ReferenceError"],locals:{_assertThisInitialized:["body.0.id"]},exportBindingAssignments:[],exportName:"_assertThisInitialized",dependencies:{},internal:!1}),asyncGeneratorDelegate:c("7.0.0-beta.0",'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}',{globals:["Promise","Symbol"],locals:{_asyncGeneratorDelegate:["body.0.id"]},exportBindingAssignments:[],exportName:"_asyncGeneratorDelegate",dependencies:{OverloadYield:["body.0.body.body.1.body.body.0.argument.expressions.2.properties.1.value.callee"]},internal:!1}),asyncIterator:c("7.15.9",'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)}',{globals:["Symbol","TypeError","Object","Promise"],locals:{_asyncIterator:["body.0.id"],AsyncFromSyncIterator:["body.1.id","body.0.body.body.1.body.body.1.consequent.argument.callee","body.1.body.body.1.argument.expressions.1.left.object","body.1.body.body.1.argument.expressions.2.callee","body.1.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:[],exportName:"_asyncIterator",dependencies:{},internal:!1}),asyncToGenerator:c("7.0.0-beta.0",'function asyncGeneratorStep(n,t,e,r,o,a,c){try{var i=n[a](c),u=i.value}catch(n){return void e(n)}i.done?t(u):Promise.resolve(u).then(r,o)}function _asyncToGenerator(n){return function(){var t=this,e=arguments;return new Promise(function(r,o){var a=n.apply(t,e);function _next(n){asyncGeneratorStep(a,r,o,_next,_throw,"next",n)}function _throw(n){asyncGeneratorStep(a,r,o,_next,_throw,"throw",n)}_next(void 0)})}}',{globals:["Promise"],locals:{asyncGeneratorStep:["body.0.id","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.1.body.body.0.expression.callee","body.1.body.body.0.argument.body.body.1.argument.arguments.0.body.body.2.body.body.0.expression.callee"],_asyncToGenerator:["body.1.id"]},exportBindingAssignments:[],exportName:"_asyncToGenerator",dependencies:{},internal:!1}),awaitAsyncGenerator:c("7.0.0-beta.0","function _awaitAsyncGenerator(e){return new OverloadYield(e,0)}",{globals:[],locals:{_awaitAsyncGenerator:["body.0.id"]},exportBindingAssignments:[],exportName:"_awaitAsyncGenerator",dependencies:{OverloadYield:["body.0.body.body.0.argument.callee"]},internal:!1}),callSuper:c("7.23.8","function _callSuper(t,o,e){return o=getPrototypeOf(o),possibleConstructorReturn(t,isNativeReflectConstruct()?Reflect.construct(o,e||[],getPrototypeOf(t).constructor):o.apply(t,e))}",{globals:["Reflect"],locals:{_callSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_callSuper",dependencies:{getPrototypeOf:["body.0.body.body.0.argument.expressions.0.right.callee","body.0.body.body.0.argument.expressions.1.arguments.1.consequent.arguments.2.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.argument.expressions.1.arguments.1.test.callee"],possibleConstructorReturn:["body.0.body.body.0.argument.expressions.1.callee"]},internal:!1}),checkInRHS:c("7.20.5",`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}`,{globals:["Object","TypeError"],locals:{_checkInRHS:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkInRHS",dependencies:{},internal:!1}),checkPrivateRedeclaration:c("7.14.1",'function _checkPrivateRedeclaration(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}',{globals:["TypeError"],locals:{_checkPrivateRedeclaration:["body.0.id"]},exportBindingAssignments:[],exportName:"_checkPrivateRedeclaration",dependencies:{},internal:!1}),classCallCheck:c("7.0.0-beta.0",'function _classCallCheck(a,n){if(!(a instanceof n))throw new TypeError("Cannot call a class as a function")}',{globals:["TypeError"],locals:{_classCallCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCallCheck",dependencies:{},internal:!1}),classNameTDZError:c("7.0.0-beta.0",`function _classNameTDZError(e){throw new ReferenceError('Class "'+e+'" cannot be referenced in computed property keys.')}`,{globals:["ReferenceError"],locals:{_classNameTDZError:["body.0.id"]},exportBindingAssignments:[],exportName:"_classNameTDZError",dependencies:{},internal:!1}),classPrivateFieldGet2:c("7.24.0","function _classPrivateFieldGet2(s,a){return s.get(assertClassBrand(s,a))}",{globals:[],locals:{_classPrivateFieldGet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]},internal:!1}),classPrivateFieldInitSpec:c("7.14.1","function _classPrivateFieldInitSpec(e,t,a){checkPrivateRedeclaration(e,t),t.set(e,a)}",{globals:[],locals:{_classPrivateFieldInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]},internal:!1}),classPrivateFieldLooseBase:c("7.0.0-beta.0",'function _classPrivateFieldBase(e,t){if(!{}.hasOwnProperty.call(e,t))throw new TypeError("attempted to use private field on non-instance");return e}',{globals:["TypeError"],locals:{_classPrivateFieldBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldBase",dependencies:{},internal:!1}),classPrivateFieldLooseKey:c("7.0.0-beta.0",'var id=0;function _classPrivateFieldKey(e){return"__private_"+id+++"_"+e}',{globals:[],locals:{id:["body.0.declarations.0.id","body.1.body.body.0.argument.left.left.right.argument","body.1.body.body.0.argument.left.left.right.argument"],_classPrivateFieldKey:["body.1.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldKey",dependencies:{},internal:!1}),classPrivateFieldSet2:c("7.24.0","function _classPrivateFieldSet2(s,a,r){return s.set(assertClassBrand(s,a),r),r}",{globals:[],locals:{_classPrivateFieldSet2:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet2",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]},internal:!1}),classPrivateGetter:c("7.24.0","function _classPrivateGetter(s,r,a){return a(assertClassBrand(s,r))}",{globals:[],locals:{_classPrivateGetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateGetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.arguments.0.callee"]},internal:!1}),classPrivateMethodInitSpec:c("7.14.1","function _classPrivateMethodInitSpec(e,a){checkPrivateRedeclaration(e,a),a.add(e)}",{globals:[],locals:{_classPrivateMethodInitSpec:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodInitSpec",dependencies:{checkPrivateRedeclaration:["body.0.body.body.0.expression.expressions.0.callee"]},internal:!1}),classPrivateSetter:c("7.24.0","function _classPrivateSetter(s,r,a,t){return r(assertClassBrand(s,a),t),t}",{globals:[],locals:{_classPrivateSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateSetter",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.arguments.0.callee"]},internal:!1}),classStaticPrivateMethodGet:c("7.3.2","function _classStaticPrivateMethodGet(s,a,t){return assertClassBrand(a,s),t}",{globals:[],locals:{_classStaticPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]},internal:!1}),construct:c("7.0.0-beta.0","function _construct(t,e,r){if(isNativeReflectConstruct())return Reflect.construct.apply(null,arguments);var o=[null];o.push.apply(o,e);var p=new(t.bind.apply(t,o));return r&&setPrototypeOf(p,r.prototype),p}",{globals:["Reflect"],locals:{_construct:["body.0.id"]},exportBindingAssignments:[],exportName:"_construct",dependencies:{isNativeReflectConstruct:["body.0.body.body.0.test.callee"],setPrototypeOf:["body.0.body.body.4.argument.expressions.0.right.callee"]},internal:!1}),createClass:c("7.0.0-beta.0",'function _defineProperties(e,r){for(var t=0;t<r.length;t++){var o=r[t];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,toPropertyKey(o.key),o)}}function _createClass(e,r,t){return r&&_defineProperties(e.prototype,r),t&&_defineProperties(e,t),Object.defineProperty(e,"prototype",{writable:!1}),e}',{globals:["Object"],locals:{_defineProperties:["body.0.id","body.1.body.body.0.argument.expressions.0.right.callee","body.1.body.body.0.argument.expressions.1.right.callee"],_createClass:["body.1.id"]},exportBindingAssignments:[],exportName:"_createClass",dependencies:{toPropertyKey:["body.0.body.body.0.body.body.1.expression.expressions.3.arguments.1.callee"]},internal:!1}),createForOfIteratorHelper:c("7.9.0",'function _createForOfIteratorHelper(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(!t){if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var n=0,F=function(){};return{s:F,n:function(){return n>=r.length?{done:!0}:{done:!1,value:r[n++]}},e:function(r){throw r},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 o,a=!0,u=!1;return{s:function(){t=t.call(r)},n:function(){var r=t.next();return a=r.done,r},e:function(r){u=!0,o=r},f:function(){try{a||null==t.return||t.return()}finally{if(u)throw o}}}}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelper",dependencies:{unsupportedIterableToArray:["body.0.body.body.1.consequent.body.0.test.left.right.right.callee"]},internal:!1}),createForOfIteratorHelperLoose:c("7.9.0",'function _createForOfIteratorHelperLoose(r,e){var t="undefined"!=typeof Symbol&&r[Symbol.iterator]||r["@@iterator"];if(t)return(t=t.call(r)).next.bind(t);if(Array.isArray(r)||(t=unsupportedIterableToArray(r))||e&&r&&"number"==typeof r.length){t&&(r=t);var o=0;return function(){return o>=r.length?{done:!0}:{done:!1,value:r[o++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}',{globals:["Symbol","Array","TypeError"],locals:{_createForOfIteratorHelperLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_createForOfIteratorHelperLoose",dependencies:{unsupportedIterableToArray:["body.0.body.body.2.test.left.right.right.callee"]},internal:!1}),createSuper:c("7.9.0","function _createSuper(t){var r=isNativeReflectConstruct();return function(){var e,o=getPrototypeOf(t);if(r){var s=getPrototypeOf(this).constructor;e=Reflect.construct(o,arguments,s)}else e=o.apply(this,arguments);return possibleConstructorReturn(this,e)}}",{globals:["Reflect"],locals:{_createSuper:["body.0.id"]},exportBindingAssignments:[],exportName:"_createSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.body.body.0.declarations.1.init.callee","body.0.body.body.1.argument.body.body.1.consequent.body.0.declarations.0.init.object.callee"],isNativeReflectConstruct:["body.0.body.body.0.declarations.0.init.callee"],possibleConstructorReturn:["body.0.body.body.1.argument.body.body.2.argument.callee"]},internal:!1}),decorate:c("7.1.5",`function _decorate(e,r,t,i){var o=_getDecoratorsApi();if(i)for(var n=0;n<i.length;n++)o=i[n](o);var s=r(function(e){o.initializeInstanceElements(e,a.elements)},t),a=o.decorateClass(_coalesceClassElements(s.d.map(_createElementDescriptor)),e);return o.initializeClassElements(s.F,a.elements),o.runClassFinishers(s.F,a.finishers)}function _getDecoratorsApi(){_getDecoratorsApi=function(){return e};var e={elementsDefinitionOrder:[["method"],["field"]],initializeInstanceElements:function(e,r){["method","field"].forEach(function(t){r.forEach(function(r){r.kind===t&&"own"===r.placement&&this.defineClassElement(e,r)},this)},this)},initializeClassElements:function(e,r){var t=e.prototype;["method","field"].forEach(function(i){r.forEach(function(r){var o=r.placement;if(r.kind===i&&("static"===o||"prototype"===o)){var n="static"===o?e:t;this.defineClassElement(n,r)}},this)},this)},defineClassElement:function(e,r){var t=r.descriptor;if("field"===r.kind){var i=r.initializer;t={enumerable:t.enumerable,writable:t.writable,configurable:t.configurable,value:void 0===i?void 0:i.call(e)}}Object.defineProperty(e,r.key,t)},decorateClass:function(e,r){var t=[],i=[],o={static:[],prototype:[],own:[]};if(e.forEach(function(e){this.addElementPlacement(e,o)},this),e.forEach(function(e){if(!_hasDecorators(e))return t.push(e);var r=this.decorateElement(e,o);t.push(r.element),t.push.apply(t,r.extras),i.push.apply(i,r.finishers)},this),!r)return{elements:t,finishers:i};var n=this.decorateConstructor(t,r);return i.push.apply(i,n.finishers),n.finishers=i,n},addElementPlacement:function(e,r,t){var i=r[e.placement];if(!t&&-1!==i.indexOf(e.key))throw new TypeError("Duplicated element ("+e.key+")");i.push(e.key)},decorateElement:function(e,r){for(var t=[],i=[],o=e.decorators,n=o.length-1;n>=0;n--){var s=r[e.placement];s.splice(s.indexOf(e.key),1);var a=this.fromElementDescriptor(e),l=this.toElementFinisherExtras((0,o[n])(a)||a);e=l.element,this.addElementPlacement(e,r),l.finisher&&i.push(l.finisher);var c=l.extras;if(c){for(var p=0;p<c.length;p++)this.addElementPlacement(c[p],r);t.push.apply(t,c)}}return{element:e,finishers:i,extras:t}},decorateConstructor:function(e,r){for(var t=[],i=r.length-1;i>=0;i--){var o=this.fromClassDescriptor(e),n=this.toClassDescriptor((0,r[i])(o)||o);if(void 0!==n.finisher&&t.push(n.finisher),void 0!==n.elements){e=n.elements;for(var s=0;s<e.length-1;s++)for(var a=s+1;a<e.length;a++)if(e[s].key===e[a].key&&e[s].placement===e[a].placement)throw new TypeError("Duplicated element ("+e[s].key+")")}}return{elements:e,finishers:t}},fromElementDescriptor:function(e){var r={kind:e.kind,key:e.key,placement:e.placement,descriptor:e.descriptor};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),"field"===e.kind&&(r.initializer=e.initializer),r},toElementDescriptors:function(e){if(void 0!==e)return toArray(e).map(function(e){var r=this.toElementDescriptor(e);return this.disallowProperty(e,"finisher","An element descriptor"),this.disallowProperty(e,"extras","An element descriptor"),r},this)},toElementDescriptor:function(e){var r=e.kind+"";if("method"!==r&&"field"!==r)throw new TypeError('An element descriptor\\'s .kind property must be either "method" or "field", but a decorator created an element descriptor with .kind "'+r+'"');var t=toPropertyKey(e.key),i=e.placement+"";if("static"!==i&&"prototype"!==i&&"own"!==i)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 "'+i+'"');var o=e.descriptor;this.disallowProperty(e,"elements","An element descriptor");var n={kind:r,key:t,placement:i,descriptor:Object.assign({},o)};return"field"!==r?this.disallowProperty(e,"initializer","A method descriptor"):(this.disallowProperty(o,"get","The property descriptor of a field descriptor"),this.disallowProperty(o,"set","The property descriptor of a field descriptor"),this.disallowProperty(o,"value","The property descriptor of a field descriptor"),n.initializer=e.initializer),n},toElementFinisherExtras:function(e){return{element:this.toElementDescriptor(e),finisher:_optionalCallableProperty(e,"finisher"),extras:this.toElementDescriptors(e.extras)}},fromClassDescriptor:function(e){var r={kind:"class",elements:e.map(this.fromElementDescriptor,this)};return Object.defineProperty(r,Symbol.toStringTag,{value:"Descriptor",configurable:!0}),r},toClassDescriptor:function(e){var r=e.kind+"";if("class"!==r)throw new TypeError('A class descriptor\\'s .kind property must be "class", but a decorator created a class descriptor with .kind "'+r+'"');this.disallowProperty(e,"key","A class descriptor"),this.disallowProperty(e,"placement","A class descriptor"),this.disallowProperty(e,"descriptor","A class descriptor"),this.disallowProperty(e,"initializer","A class descriptor"),this.disallowProperty(e,"extras","A class descriptor");var t=_optionalCallableProperty(e,"finisher");return{elements:this.toElementDescriptors(e.elements),finisher:t}},runClassFinishers:function(e,r){for(var t=0;t<r.length;t++){var i=(0,r[t])(e);if(void 0!==i){if("function"!=typeof i)throw new TypeError("Finishers must return a constructor.");e=i}}return e},disallowProperty:function(e,r,t){if(void 0!==e[r])throw new TypeError(t+" can't have a ."+r+" property.")}};return e}function _createElementDescriptor(e){var r,t=toPropertyKey(e.key);"method"===e.kind?r={value:e.value,writable:!0,configurable:!0,enumerable:!1}:"get"===e.kind?r={get:e.value,configurable:!0,enumerable:!1}:"set"===e.kind?r={set:e.value,configurable:!0,enumerable:!1}:"field"===e.kind&&(r={configurable:!0,writable:!0,enumerable:!0});var i={kind:"field"===e.kind?"field":"method",key:t,placement:e.static?"static":"field"===e.kind?"own":"prototype",descriptor:r};return e.decorators&&(i.decorators=e.decorators),"field"===e.kind&&(i.initializer=e.value),i}function _coalesceGetterSetter(e,r){void 0!==e.descriptor.get?r.descriptor.get=e.descriptor.get:r.descriptor.set=e.descriptor.set}function _coalesceClassElements(e){for(var r=[],isSameElement=function(e){return"method"===e.kind&&e.key===o.key&&e.placement===o.placement},t=0;t<e.length;t++){var i,o=e[t];if("method"===o.kind&&(i=r.find(isSameElement)))if(_isDataDescriptor(o.descriptor)||_isDataDescriptor(i.descriptor)){if(_hasDecorators(o)||_hasDecorators(i))throw new ReferenceError("Duplicated methods ("+o.key+") can't be decorated.");i.descriptor=o.descriptor}else{if(_hasDecorators(o)){if(_hasDecorators(i))throw new ReferenceError("Decorators can't be placed on different accessors with for the same property ("+o.key+").");i.decorators=o.decorators}_coalesceGetterSetter(o,i)}else r.push(o)}return r}function _hasDecorators(e){return e.decorators&&e.decorators.length}function _isDataDescriptor(e){return void 0!==e&&!(void 0===e.value&&void 0===e.writable)}function _optionalCallableProperty(e,r){var t=e[r];if(void 0!==t&&"function"!=typeof t)throw new TypeError("Expected '"+r+"' to be a function");return t}`,{globals:["Object","TypeError","Symbol","ReferenceError"],locals:{_decorate:["body.0.id"],_getDecoratorsApi:["body.1.id","body.0.body.body.0.declarations.0.init.callee","body.1.body.body.0.expression.left"],_createElementDescriptor:["body.2.id","body.0.body.body.2.declarations.1.init.arguments.0.arguments.0.arguments.0"],_coalesceGetterSetter:["body.3.id","body.4.body.body.0.body.body.1.consequent.alternate.body.1.expression.callee"],_coalesceClassElements:["body.4.id","body.0.body.body.2.declarations.1.init.arguments.0.callee"],_hasDecorators:["body.5.id","body.1.body.body.1.declarations.0.init.properties.4.value.body.body.1.test.expressions.1.arguments.0.body.body.0.test.argument.callee","body.4.body.body.0.body.body.1.consequent.consequent.body.0.test.left.callee","body.4.body.body.0.body.body.1.consequent.consequent.body.0.test.right.callee","body.4.body.body.0.body.body.1.consequent.alternate.body.0.test.callee","body.4.body.body.0.body.body.1.consequent.alternate.body.0.consequent.body.0.test.callee"],_isDataDescriptor:["body.6.id","body.4.body.body.0.body.body.1.consequent.test.left.callee","body.4.body.body.0.body.body.1.consequent.test.right.callee"],_optionalCallableProperty:["body.7.id","body.1.body.body.1.declarations.0.init.properties.11.value.body.body.0.argument.properties.1.value.callee","body.1.body.body.1.declarations.0.init.properties.13.value.body.body.3.declarations.0.init.callee"]},exportBindingAssignments:[],exportName:"_decorate",dependencies:{toArray:["body.1.body.body.1.declarations.0.init.properties.9.value.body.body.0.consequent.argument.callee.object.callee"],toPropertyKey:["body.1.body.body.1.declarations.0.init.properties.10.value.body.body.2.declarations.0.init.callee","body.2.body.body.0.declarations.1.init.callee"]},internal:!1}),defaults:c("7.0.0-beta.0","function _defaults(e,r){for(var t=Object.getOwnPropertyNames(r),o=0;o<t.length;o++){var n=t[o],a=Object.getOwnPropertyDescriptor(r,n);a&&a.configurable&&void 0===e[n]&&Object.defineProperty(e,n,a)}return e}",{globals:["Object"],locals:{_defaults:["body.0.id"]},exportBindingAssignments:[],exportName:"_defaults",dependencies:{},internal:!1}),defineAccessor:c("7.20.7","function _defineAccessor(e,r,n,t){var c={configurable:!0,enumerable:!0};return c[e]=t,Object.defineProperty(r,n,c)}",{globals:["Object"],locals:{_defineAccessor:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineAccessor",dependencies:{},internal:!1}),defineProperty:c("7.0.0-beta.0","function _defineProperty(e,r,t){return(r=toPropertyKey(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}",{globals:["Object"],locals:{_defineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineProperty",dependencies:{toPropertyKey:["body.0.body.body.0.argument.expressions.0.test.left.right.callee"]},internal:!1}),extends:c("7.0.0-beta.0","function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var e=1;e<arguments.length;e++){var t=arguments[e];for(var r in t)({}).hasOwnProperty.call(t,r)&&(n[r]=t[r])}return n},_extends.apply(null,arguments)}",{globals:["Object"],locals:{_extends:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_extends",dependencies:{},internal:!1}),get:c("7.0.0-beta.0",'function _get(){return _get="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,r){var p=superPropBase(e,t);if(p){var n=Object.getOwnPropertyDescriptor(p,t);return n.get?n.get.call(arguments.length<3?e:r):n.value}},_get.apply(null,arguments)}',{globals:["Reflect","Object"],locals:{_get:["body.0.id","body.0.body.body.0.argument.expressions.1.callee.object","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_get",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.0.init.callee"]},internal:!1}),getPrototypeOf:c("7.0.0-beta.0","function _getPrototypeOf(t){return _getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},_getPrototypeOf(t)}",{globals:["Object"],locals:{_getPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_getPrototypeOf",dependencies:{},internal:!1}),identity:c("7.17.0","function _identity(t){return t}",{globals:[],locals:{_identity:["body.0.id"]},exportBindingAssignments:[],exportName:"_identity",dependencies:{},internal:!1}),importDeferProxy:c("7.23.0","function _importDeferProxy(e){var t=null,constValue=function(e){return function(){return e}},proxy=function(r){return function(n,o,f){return null===t&&(t=e()),r(t,o,f)}};return new Proxy({},{defineProperty:constValue(!1),deleteProperty:constValue(!1),get:proxy(Reflect.get),getOwnPropertyDescriptor:proxy(Reflect.getOwnPropertyDescriptor),getPrototypeOf:constValue(null),isExtensible:constValue(!1),has:proxy(Reflect.has),ownKeys:proxy(Reflect.ownKeys),preventExtensions:constValue(!0),set:constValue(!1),setPrototypeOf:constValue(!1)})}",{globals:["Proxy","Reflect"],locals:{_importDeferProxy:["body.0.id"]},exportBindingAssignments:[],exportName:"_importDeferProxy",dependencies:{},internal:!1}),inherits:c("7.0.0-beta.0",'function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&setPrototypeOf(t,e)}',{globals:["TypeError","Object"],locals:{_inherits:["body.0.id"]},exportBindingAssignments:[],exportName:"_inherits",dependencies:{setPrototypeOf:["body.0.body.body.1.expression.expressions.2.right.callee"]},internal:!1}),inheritsLoose:c("7.0.0-beta.0","function _inheritsLoose(t,o){t.prototype=Object.create(o.prototype),t.prototype.constructor=t,setPrototypeOf(t,o)}",{globals:["Object"],locals:{_inheritsLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_inheritsLoose",dependencies:{setPrototypeOf:["body.0.body.body.0.expression.expressions.2.callee"]},internal:!1}),initializerDefineProperty:c("7.0.0-beta.0","function _initializerDefineProperty(e,i,r,l){r&&Object.defineProperty(e,i,{enumerable:r.enumerable,configurable:r.configurable,writable:r.writable,value:r.initializer?r.initializer.call(l):void 0})}",{globals:["Object"],locals:{_initializerDefineProperty:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerDefineProperty",dependencies:{},internal:!1}),initializerWarningHelper:c("7.0.0-beta.0",'function _initializerWarningHelper(r,e){throw Error("Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.")}',{globals:["Error"],locals:{_initializerWarningHelper:["body.0.id"]},exportBindingAssignments:[],exportName:"_initializerWarningHelper",dependencies:{},internal:!1}),instanceof:c("7.0.0-beta.0",'function _instanceof(n,e){return null!=e&&"undefined"!=typeof Symbol&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](n):n instanceof e}',{globals:["Symbol"],locals:{_instanceof:["body.0.id"]},exportBindingAssignments:[],exportName:"_instanceof",dependencies:{},internal:!1}),interopRequireDefault:c("7.0.0-beta.0","function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}",{globals:[],locals:{_interopRequireDefault:["body.0.id"]},exportBindingAssignments:[],exportName:"_interopRequireDefault",dependencies:{},internal:!1}),interopRequireWildcard:c("7.14.0",'function _interopRequireWildcard(e,t){if("function"==typeof WeakMap)var r=new WeakMap,n=new WeakMap;return(_interopRequireWildcard=function(e,t){if(!t&&e&&e.__esModule)return e;var o,i,f={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return f;if(o=t?n:r){if(o.has(e))return o.get(e);o.set(e,f)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(o=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?o(f,t,i):f[t]=e[t]);return f})(e,t)}',{globals:["WeakMap","Object"],locals:{_interopRequireWildcard:["body.0.id","body.0.body.body.1.argument.callee.left"]},exportBindingAssignments:["body.0.body.body.1.argument.callee"],exportName:"_interopRequireWildcard",dependencies:{},internal:!1}),isNativeFunction:c("7.0.0-beta.0",'function _isNativeFunction(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(n){return"function"==typeof t}}',{globals:["Function"],locals:{_isNativeFunction:["body.0.id"]},exportBindingAssignments:[],exportName:"_isNativeFunction",dependencies:{},internal:!1}),isNativeReflectConstruct:c("7.9.0","function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(_isNativeReflectConstruct=function(){return!!t})()}",{globals:["Boolean","Reflect"],locals:{_isNativeReflectConstruct:["body.0.id","body.0.body.body.1.argument.callee.left"]},exportBindingAssignments:["body.0.body.body.1.argument.callee"],exportName:"_isNativeReflectConstruct",dependencies:{},internal:!1}),iterableToArray:c("7.0.0-beta.0",'function _iterableToArray(r){if("undefined"!=typeof Symbol&&null!=r[Symbol.iterator]||null!=r["@@iterator"])return Array.from(r)}',{globals:["Symbol","Array"],locals:{_iterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArray",dependencies:{},internal:!1}),iterableToArrayLimit:c("7.0.0-beta.0",'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}}',{globals:["Symbol","Object"],locals:{_iterableToArrayLimit:["body.0.id"]},exportBindingAssignments:[],exportName:"_iterableToArrayLimit",dependencies:{},internal:!1}),jsx:c("7.0.0-beta.0",'var REACT_ELEMENT_TYPE;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=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}}',{globals:["Symbol","Array"],locals:{REACT_ELEMENT_TYPE:["body.0.declarations.0.id","body.1.body.body.0.expression.left","body.1.body.body.4.argument.properties.0.value","body.1.body.body.0.expression.right.left"],_createRawReactElement:["body.1.id"]},exportBindingAssignments:[],exportName:"_createRawReactElement",dependencies:{},internal:!1}),maybeArrayLike:c("7.9.0",'function _maybeArrayLike(r,a,e){if(a&&!Array.isArray(a)&&"number"==typeof a.length){var y=a.length;return arrayLikeToArray(a,void 0!==e&&e<y?e:y)}return r(a,e)}',{globals:["Array"],locals:{_maybeArrayLike:["body.0.id"]},exportBindingAssignments:[],exportName:"_maybeArrayLike",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.1.argument.callee"]},internal:!1}),newArrowCheck:c("7.0.0-beta.0",'function _newArrowCheck(n,r){if(n!==r)throw new TypeError("Cannot instantiate an arrow function")}',{globals:["TypeError"],locals:{_newArrowCheck:["body.0.id"]},exportBindingAssignments:[],exportName:"_newArrowCheck",dependencies:{},internal:!1}),nonIterableRest:c("7.0.0-beta.0",'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.")}',{globals:["TypeError"],locals:{_nonIterableRest:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableRest",dependencies:{},internal:!1}),nonIterableSpread:c("7.0.0-beta.0",'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.")}',{globals:["TypeError"],locals:{_nonIterableSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_nonIterableSpread",dependencies:{},internal:!1}),nullishReceiverError:c("7.22.6",'function _nullishReceiverError(r){throw new TypeError("Cannot set property of null or undefined.")}',{globals:["TypeError"],locals:{_nullishReceiverError:["body.0.id"]},exportBindingAssignments:[],exportName:"_nullishReceiverError",dependencies:{},internal:!1}),objectDestructuringEmpty:c("7.0.0-beta.0",'function _objectDestructuringEmpty(t){if(null==t)throw new TypeError("Cannot destructure "+t)}',{globals:["TypeError"],locals:{_objectDestructuringEmpty:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectDestructuringEmpty",dependencies:{},internal:!1}),objectSpread2:c("7.5.0","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}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}",{globals:["Object"],locals:{ownKeys:["body.0.id","body.1.body.body.0.body.body.1.expression.consequent.callee.object.callee","body.1.body.body.0.body.body.1.expression.alternate.alternate.callee.object.callee"],_objectSpread2:["body.1.id"]},exportBindingAssignments:[],exportName:"_objectSpread2",dependencies:{defineProperty:["body.1.body.body.0.body.body.1.expression.consequent.arguments.0.body.body.0.expression.callee"]},internal:!1}),objectWithoutProperties:c("7.0.0-beta.0","function _objectWithoutProperties(e,t){if(null==e)return{};var o,r,i=objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);for(r=0;r<n.length;r++)o=n[r],-1===t.indexOf(o)&&{}.propertyIsEnumerable.call(e,o)&&(i[o]=e[o])}return i}",{globals:["Object"],locals:{_objectWithoutProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutProperties",dependencies:{objectWithoutPropertiesLoose:["body.0.body.body.1.declarations.2.init.callee"]},internal:!1}),objectWithoutPropertiesLoose:c("7.0.0-beta.0","function _objectWithoutPropertiesLoose(r,e){if(null==r)return{};var t={};for(var n in r)if({}.hasOwnProperty.call(r,n)){if(-1!==e.indexOf(n))continue;t[n]=r[n]}return t}",{globals:[],locals:{_objectWithoutPropertiesLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectWithoutPropertiesLoose",dependencies:{},internal:!1}),possibleConstructorReturn:c("7.0.0-beta.0",'function _possibleConstructorReturn(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return assertThisInitialized(t)}',{globals:["TypeError"],locals:{_possibleConstructorReturn:["body.0.id"]},exportBindingAssignments:[],exportName:"_possibleConstructorReturn",dependencies:{assertThisInitialized:["body.0.body.body.2.argument.callee"]},internal:!1}),readOnlyError:c("7.0.0-beta.0",`function _readOnlyError(r){throw new TypeError('"'+r+'" is read-only')}`,{globals:["TypeError"],locals:{_readOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_readOnlyError",dependencies:{},internal:!1}),regenerator:c("7.27.0",`function _regenerator(){
|
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
var e,t,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",o=r.toStringTag||"@@toStringTag";function i(r,n,o,i){var c=n&&n.prototype instanceof Generator?n:Generator,u=Object.create(c.prototype);return define(u,"_invoke",function(r,n,o){var i,c,u,f=0,p=o||[],y=!1,G={p:0,n:0,v:e,a:d,f:d.bind(e,4),d:function(t,r){return i=t,c=0,u=e,G.n=r,a}};function d(r,n){for(c=r,u=n,t=0;!y&&f&&!o&&t<p.length;t++){var o,i=p[t],d=G.p,l=i[2];r>3?(o=l===n)&&(u=i[(c=i[4])?5:(c=3,3)],i[4]=i[5]=e):i[0]<=d&&((o=r<2&&d<i[1])?(c=0,G.v=n,G.n=i[1]):d<l&&(o=r<3||i[0]>n||n>l)&&(i[4]=r,i[5]=n,G.n=l,c=0))}if(o||r>1)return a;throw y=!0,n}return function(o,p,l){if(f>1)throw TypeError("Generator is already running");for(y&&1===p&&d(p,l),c=p,u=l;(t=c<2?e:u)||!y;){i||(c?c<3?(c>1&&(G.n=-1),d(c,u)):G.n=u:G.v=u);try{if(f=2,i){if(c||(o="next"),t=i[o]){if(!(t=t.call(i,u)))throw TypeError("iterator result is not an object");if(!t.done)return t;u=t.value,c<2&&(c=0)}else 1===c&&(t=i.return)&&t.call(i),c<2&&(u=TypeError("The iterator does not provide a '"+o+"' method"),c=1);i=e}else if((t=(y=G.n<0)?u:r.call(n,G))!==a)break}catch(t){i=e,c=1,u=t}finally{f=1}}return{value:t,done:y}}}(r,o,i),!0),u}var a={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}t=Object.getPrototypeOf;var c=[][n]?t(t([][n]())):(define(t={},n,function(){return this}),t),u=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(c);function f(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,GeneratorFunctionPrototype):(e.__proto__=GeneratorFunctionPrototype,define(e,o,"GeneratorFunction")),e.prototype=Object.create(u),e}return GeneratorFunction.prototype=GeneratorFunctionPrototype,define(u,"constructor",GeneratorFunctionPrototype),define(GeneratorFunctionPrototype,"constructor",GeneratorFunction),GeneratorFunction.displayName="GeneratorFunction",define(GeneratorFunctionPrototype,o,"GeneratorFunction"),define(u),define(u,o,"Generator"),define(u,n,function(){return this}),define(u,"toString",function(){return"[object Generator]"}),(_regenerator=function(){return{w:i,m:f}})()}`,{globals:["Symbol","Object","TypeError"],locals:{_regenerator:["body.0.id","body.0.body.body.9.argument.expressions.9.callee.left"]},exportBindingAssignments:["body.0.body.body.9.argument.expressions.9.callee"],exportName:"_regenerator",dependencies:{regeneratorDefine:["body.0.body.body.1.body.body.1.argument.expressions.0.callee","body.0.body.body.7.declarations.0.init.alternate.expressions.0.callee","body.0.body.body.8.body.body.0.argument.expressions.0.alternate.expressions.1.callee","body.0.body.body.9.argument.expressions.1.callee","body.0.body.body.9.argument.expressions.2.callee","body.0.body.body.9.argument.expressions.4.callee","body.0.body.body.9.argument.expressions.5.callee","body.0.body.body.9.argument.expressions.6.callee","body.0.body.body.9.argument.expressions.7.callee","body.0.body.body.9.argument.expressions.8.callee"]},internal:!1}),regeneratorAsync:c("7.27.0","function _regeneratorAsync(n,e,r,t,o){var a=asyncGen(n,e,r,t,o);return a.next().then(function(n){return n.done?n.value:a.next()})}",{globals:[],locals:{_regeneratorAsync:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorAsync",dependencies:{regeneratorAsyncGen:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),regeneratorAsyncGen:c("7.27.0","function _regeneratorAsyncGen(r,e,t,o,n){return new regeneratorAsyncIterator(regenerator().w(r,e,t,o),n||Promise)}",{globals:["Promise"],locals:{_regeneratorAsyncGen:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorAsyncGen",dependencies:{regenerator:["body.0.body.body.0.argument.arguments.0.callee.object.callee"],regeneratorAsyncIterator:["body.0.body.body.0.argument.callee"]},internal:!1}),regeneratorAsyncIterator:c("7.27.0",'function AsyncIterator(t,e){function n(r,o,i,f){try{var c=t[r](o),u=c.value;return u instanceof OverloadYield?e.resolve(u.v).then(function(t){n("next",t,i,f)},function(t){n("throw",t,i,f)}):e.resolve(u).then(function(t){c.value=t,i(c)},function(t){return n("throw",t,i,f)})}catch(t){f(t)}}var r;this.next||(define(AsyncIterator.prototype),define(AsyncIterator.prototype,"function"==typeof Symbol&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),define(this,"_invoke",function(t,o,i){function f(){return new e(function(e,r){n(t,i,e,r)})}return r=r?r.then(f,f):f()},!0)}',{globals:["Symbol"],locals:{AsyncIterator:["body.0.id","body.0.body.body.2.expression.expressions.0.right.expressions.0.arguments.0.object","body.0.body.body.2.expression.expressions.0.right.expressions.1.arguments.0.object"]},exportBindingAssignments:[],exportName:"AsyncIterator",dependencies:{OverloadYield:["body.0.body.body.0.body.body.0.block.body.1.argument.test.right"],regeneratorDefine:["body.0.body.body.2.expression.expressions.0.right.expressions.0.callee","body.0.body.body.2.expression.expressions.0.right.expressions.1.callee","body.0.body.body.2.expression.expressions.1.callee"]},internal:!0}),regeneratorDefine:c("7.27.0",'function regeneratorDefine(e,r,n,t){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}regeneratorDefine=function(e,r,n,t){function o(r,n){regeneratorDefine(e,r,function(e){return this._invoke(r,n,e)})}r?i?i(e,r,{value:n,enumerable:!t,configurable:!t,writable:!t}):e[r]=n:(o("next",0),o("throw",1),o("return",2))},regeneratorDefine(e,r,n,t)}',{globals:["Object"],locals:{regeneratorDefine:["body.0.id","body.0.body.body.2.expression.expressions.0.right.body.body.0.body.body.0.expression.callee","body.0.body.body.2.expression.expressions.1.callee","body.0.body.body.2.expression.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.2.expression.expressions.0"],exportName:"regeneratorDefine",dependencies:{},internal:!0}),regeneratorKeys:c("7.27.0","function _regeneratorKeys(e){var n=Object(e),r=[];for(var t in n)r.unshift(t);return function e(){for(;r.length;)if((t=r.pop())in n)return e.value=t,e.done=!1,e;return e.done=!0,e}}",{globals:["Object"],locals:{_regeneratorKeys:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorKeys",dependencies:{},internal:!1}),regeneratorValues:c("7.18.0",'function _regeneratorValues(e){if(null!=e){var t=e["function"==typeof Symbol&&Symbol.iterator||"@@iterator"],r=0;if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}throw new TypeError(typeof e+" is not iterable")}',{globals:["Symbol","isNaN","TypeError"],locals:{_regeneratorValues:["body.0.id"]},exportBindingAssignments:[],exportName:"_regeneratorValues",dependencies:{},internal:!1}),set:c("7.0.0-beta.0",'function set(e,r,t,o){return set="undefined"!=typeof Reflect&&Reflect.set?Reflect.set:function(e,r,t,o){var f,i=superPropBase(e,r);if(i){if((f=Object.getOwnPropertyDescriptor(i,r)).set)return f.set.call(o,t),!0;if(!f.writable)return!1}if(f=Object.getOwnPropertyDescriptor(o,r)){if(!f.writable)return!1;f.value=t,Object.defineProperty(o,r,f)}else defineProperty(o,r,t);return!0},set(e,r,t,o)}function _set(e,r,t,o,f){if(!set(e,r,t,o||e)&&f)throw new TypeError("failed to set property");return t}',{globals:["Reflect","Object","TypeError"],locals:{set:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.0.test.left.argument.callee","body.0.body.body.0.argument.expressions.0.left"],_set:["body.1.id"]},exportBindingAssignments:[],exportName:"_set",dependencies:{superPropBase:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.0.declarations.1.init.callee"],defineProperty:["body.0.body.body.0.argument.expressions.0.right.alternate.body.body.2.alternate.expression.callee"]},internal:!1}),setFunctionName:c("7.23.6",'function setFunctionName(e,t,n){"symbol"==typeof t&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}',{globals:["Object"],locals:{setFunctionName:["body.0.id"]},exportBindingAssignments:[],exportName:"setFunctionName",dependencies:{},internal:!1}),setPrototypeOf:c("7.0.0-beta.0","function _setPrototypeOf(t,e){return _setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},_setPrototypeOf(t,e)}",{globals:["Object"],locals:{_setPrototypeOf:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_setPrototypeOf",dependencies:{},internal:!1}),skipFirstGeneratorNext:c("7.0.0-beta.0","function _skipFirstGeneratorNext(t){return function(){var r=t.apply(this,arguments);return r.next(),r}}",{globals:[],locals:{_skipFirstGeneratorNext:["body.0.id"]},exportBindingAssignments:[],exportName:"_skipFirstGeneratorNext",dependencies:{},internal:!1}),slicedToArray:c("7.0.0-beta.0","function _slicedToArray(r,e){return arrayWithHoles(r)||iterableToArrayLimit(r,e)||unsupportedIterableToArray(r,e)||nonIterableRest()}",{globals:[],locals:{_slicedToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_slicedToArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArrayLimit:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]},internal:!1}),superPropBase:c("7.0.0-beta.0","function _superPropBase(t,o){for(;!{}.hasOwnProperty.call(t,o)&&null!==(t=getPrototypeOf(t)););return t}",{globals:[],locals:{_superPropBase:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropBase",dependencies:{getPrototypeOf:["body.0.body.body.0.test.right.right.right.callee"]},internal:!1}),superPropGet:c("7.25.0",'function _superPropGet(t,o,e,r){var p=get(getPrototypeOf(1&r?t.prototype:t),o,e);return 2&r&&"function"==typeof p?function(t){return p.apply(e,t)}:p}',{globals:[],locals:{_superPropGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropGet",dependencies:{get:["body.0.body.body.0.declarations.0.init.callee"],getPrototypeOf:["body.0.body.body.0.declarations.0.init.arguments.0.callee"]},internal:!1}),superPropSet:c("7.25.0","function _superPropSet(t,e,o,r,p,f){return set(getPrototypeOf(f?t.prototype:t),e,o,r,p)}",{globals:[],locals:{_superPropSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_superPropSet",dependencies:{set:["body.0.body.body.0.argument.callee"],getPrototypeOf:["body.0.body.body.0.argument.arguments.0.callee"]},internal:!1}),taggedTemplateLiteral:c("7.0.0-beta.0","function _taggedTemplateLiteral(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}",{globals:["Object"],locals:{_taggedTemplateLiteral:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteral",dependencies:{},internal:!1}),taggedTemplateLiteralLoose:c("7.0.0-beta.0","function _taggedTemplateLiteralLoose(e,t){return t||(t=e.slice(0)),e.raw=t,e}",{globals:[],locals:{_taggedTemplateLiteralLoose:["body.0.id"]},exportBindingAssignments:[],exportName:"_taggedTemplateLiteralLoose",dependencies:{},internal:!1}),tdz:c("7.5.5",'function _tdzError(e){throw new ReferenceError(e+" is not defined - temporal dead zone")}',{globals:["ReferenceError"],locals:{_tdzError:["body.0.id"]},exportBindingAssignments:[],exportName:"_tdzError",dependencies:{},internal:!1}),temporalRef:c("7.0.0-beta.0","function _temporalRef(r,e){return r===undef?err(e):r}",{globals:[],locals:{_temporalRef:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalRef",dependencies:{temporalUndefined:["body.0.body.body.0.argument.test.right"],tdz:["body.0.body.body.0.argument.consequent.callee"]},internal:!1}),temporalUndefined:c("7.0.0-beta.0","function _temporalUndefined(){}",{globals:[],locals:{_temporalUndefined:["body.0.id"]},exportBindingAssignments:[],exportName:"_temporalUndefined",dependencies:{},internal:!1}),toArray:c("7.0.0-beta.0","function _toArray(r){return arrayWithHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableRest()}",{globals:[],locals:{_toArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toArray",dependencies:{arrayWithHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableRest:["body.0.body.body.0.argument.right.callee"]},internal:!1}),toConsumableArray:c("7.0.0-beta.0","function _toConsumableArray(r){return arrayWithoutHoles(r)||iterableToArray(r)||unsupportedIterableToArray(r)||nonIterableSpread()}",{globals:[],locals:{_toConsumableArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_toConsumableArray",dependencies:{arrayWithoutHoles:["body.0.body.body.0.argument.left.left.left.callee"],iterableToArray:["body.0.body.body.0.argument.left.left.right.callee"],unsupportedIterableToArray:["body.0.body.body.0.argument.left.right.callee"],nonIterableSpread:["body.0.body.body.0.argument.right.callee"]},internal:!1}),toPrimitive:c("7.1.5",'function toPrimitive(t,r){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,r||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(t)}',{globals:["Symbol","TypeError","String","Number"],locals:{toPrimitive:["body.0.id"]},exportBindingAssignments:[],exportName:"toPrimitive",dependencies:{},internal:!1}),toPropertyKey:c("7.1.5",'function toPropertyKey(t){var i=toPrimitive(t,"string");return"symbol"==typeof i?i:i+""}',{globals:[],locals:{toPropertyKey:["body.0.id"]},exportBindingAssignments:[],exportName:"toPropertyKey",dependencies:{toPrimitive:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),toSetter:c("7.24.0",'function _toSetter(t,e,n){e||(e=[]);var r=e.length++;return Object.defineProperty({},"_",{set:function(o){e[r]=o,t.apply(n,e)}})}',{globals:["Object"],locals:{_toSetter:["body.0.id"]},exportBindingAssignments:[],exportName:"_toSetter",dependencies:{},internal:!1}),tsRewriteRelativeImportExtensions:c("7.27.0",'function tsRewriteRelativeImportExtensions(t,e){return"string"==typeof t&&/^\\.\\.?\\//.test(t)?t.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+)?)\\.([cm]?)ts$/i,function(t,s,r,n,o){return s?e?".jsx":".js":!r||n&&o?r+n+"."+o.toLowerCase()+"js":t}):t}',{globals:[],locals:{tsRewriteRelativeImportExtensions:["body.0.id"]},exportBindingAssignments:[],exportName:"tsRewriteRelativeImportExtensions",dependencies:{},internal:!1}),typeof:c("7.0.0-beta.0",'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)}',{globals:["Symbol"],locals:{_typeof:["body.0.id","body.0.body.body.0.argument.expressions.1.callee","body.0.body.body.0.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.0.argument.expressions.0"],exportName:"_typeof",dependencies:{},internal:!1}),unsupportedIterableToArray:c("7.9.0",'function _unsupportedIterableToArray(r,a){if(r){if("string"==typeof r)return arrayLikeToArray(r,a);var t={}.toString.call(r).slice(8,-1);return"Object"===t&&r.constructor&&(t=r.constructor.name),"Map"===t||"Set"===t?Array.from(r):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?arrayLikeToArray(r,a):void 0}}',{globals:["Array"],locals:{_unsupportedIterableToArray:["body.0.id"]},exportBindingAssignments:[],exportName:"_unsupportedIterableToArray",dependencies:{arrayLikeToArray:["body.0.body.body.0.consequent.body.0.consequent.argument.callee","body.0.body.body.0.consequent.body.2.argument.expressions.1.alternate.consequent.callee"]},internal:!1}),usingCtx:c("7.23.9",'function _usingCtx(){var r="function"==typeof SuppressedError?SuppressedError:function(r,e){var n=Error();return n.name="SuppressedError",n.error=r,n.suppressed=e,n},e={},n=[];function using(r,e){if(null!=e){if(Object(e)!==e)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(r)var o=e[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(void 0===o&&(o=e[Symbol.dispose||Symbol.for("Symbol.dispose")],r))var t=o;if("function"!=typeof o)throw new TypeError("Object is not disposable.");t&&(o=function(){try{t.call(e)}catch(r){return Promise.reject(r)}}),n.push({v:e,d:o,a:r})}else r&&n.push({d:e,a:r});return e}return{e:e,u:using.bind(null,!1),a:using.bind(null,!0),d:function(){var o,t=this.e,s=0;function next(){for(;o=n.pop();)try{if(!o.a&&1===s)return s=0,n.push(o),Promise.resolve().then(next);if(o.d){var r=o.d.call(o.v);if(o.a)return s|=2,Promise.resolve(r).then(next,err)}else s|=1}catch(r){return err(r)}if(1===s)return t!==e?Promise.reject(t):Promise.resolve();if(t!==e)throw t}function err(n){return t=t!==e?new r(n,t):n,next()}return next()}}}',{globals:["SuppressedError","Error","Object","TypeError","Symbol","Promise"],locals:{_usingCtx:["body.0.id"]},exportBindingAssignments:[],exportName:"_usingCtx",dependencies:{},internal:!1}),wrapAsyncGenerator:c("7.0.0-beta.0",'function _wrapAsyncGenerator(e){return function(){return new AsyncGenerator(e.apply(this,arguments))}}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)};',{globals:["Promise","Symbol"],locals:{_wrapAsyncGenerator:["body.0.id"],AsyncGenerator:["body.1.id","body.0.body.body.0.argument.body.body.0.argument.callee","body.2.expression.expressions.0.left.object.object","body.2.expression.expressions.1.left.object.object","body.2.expression.expressions.2.left.object.object","body.2.expression.expressions.3.left.object.object"]},exportBindingAssignments:[],exportName:"_wrapAsyncGenerator",dependencies:{OverloadYield:["body.1.body.body.1.body.body.0.block.body.0.declarations.2.init.right"]},internal:!1}),wrapNativeSuper:c("7.0.0-beta.0",'function _wrapNativeSuper(t){var r="function"==typeof Map?new Map:void 0;return _wrapNativeSuper=function(t){if(null===t||!isNativeFunction(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==r){if(r.has(t))return r.get(t);r.set(t,Wrapper)}function Wrapper(){return construct(t,arguments,getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(t.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),setPrototypeOf(Wrapper,t)},_wrapNativeSuper(t)}',{globals:["Map","TypeError","Object"],locals:{_wrapNativeSuper:["body.0.id","body.0.body.body.1.argument.expressions.1.callee","body.0.body.body.1.argument.expressions.0.left"]},exportBindingAssignments:["body.0.body.body.1.argument.expressions.0"],exportName:"_wrapNativeSuper",dependencies:{getPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.arguments.2.object.callee"],setPrototypeOf:["body.0.body.body.1.argument.expressions.0.right.body.body.4.argument.expressions.1.callee"],isNativeFunction:["body.0.body.body.1.argument.expressions.0.right.body.body.0.test.right.argument.callee"],construct:["body.0.body.body.1.argument.expressions.0.right.body.body.3.body.body.0.argument.callee"]},internal:!1}),wrapRegExp:c("7.19.0",'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=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,t){if(""===t)return e;var p=o[r];return Array.isArray(p)?"$"+p.join("$"):"number"==typeof p?"$"+p:""}))}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)}',{globals:["RegExp","WeakMap","Object","Symbol","Array"],locals:{_wrapRegExp:["body.0.id","body.0.body.body.4.argument.expressions.3.callee.object","body.0.body.body.0.expression.left"]},exportBindingAssignments:["body.0.body.body.0.expression"],exportName:"_wrapRegExp",dependencies:{setPrototypeOf:["body.0.body.body.2.body.body.1.argument.expressions.1.callee"],inherits:["body.0.body.body.4.argument.expressions.0.callee"]},internal:!1}),writeOnlyError:c("7.12.13",`function _writeOnlyError(r){throw new TypeError('"'+r+'" is write-only')}`,{globals:["TypeError"],locals:{_writeOnlyError:["body.0.id"]},exportBindingAssignments:[],exportName:"_writeOnlyError",dependencies:{},internal:!1})},{AwaitValue:c("7.0.0-beta.0","function _AwaitValue(t){this.wrapped=t}",{globals:[],locals:{_AwaitValue:["body.0.id"]},exportBindingAssignments:[],exportName:"_AwaitValue",dependencies:{},internal:!1}),applyDecs:c("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:toPropertyKey(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 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)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function old_getInit(e){var t;return null==(t=e.init)&&(t=e.initializer)&&void 0!==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,y,h=a[0];if(n?(0===o||1===o?(c={get:a[3],set:a[4]},u="get"):3===o?(c={get:a[3]},u="get"):4===o?(c={set:a[3]},u="set"):c={value:a[3]},0!==o&&(1===o&&setFunctionName(a[4],"#"+r,"set"),setFunctionName(a[3],"#"+r,u))):0!==o&&(c=Object.getOwnPropertyDescriptor(t,r)),1===o?f={get:c.get,set:c.set}:2===o?f=c.value:3===o?f=c.get:4===o&&(f=c.set),"function"==typeof h)void 0!==(p=old_memberDec(h,r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?d=p:1===o?(d=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p);else for(var m=h.length-1;m>=0;m--){var b;void 0!==(p=old_memberDec(h[m],r,c,l,s,o,i,n,f))&&(old_assertValidReturnValue(o,p),0===o?b=p:1===o?(b=old_getInit(p),v=p.get||f.get,y=p.set||f.set,f={get:v,set:y}):f=p,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 _=d;d=function(e,t){return _.call(e,t)}}e.push(d)}0!==o&&(1===o?(c.get=f.get,c.set=f.set):2===o?c.value=f:3===o?c.get=f:4===o&&(c.set=f),n?1===o?(e.push(function(e,t){return f.get.call(e,t)}),e.push(function(e,t){return f.set.call(e,t)})):2===o?e.push(f):e.push(function(e,t){return f.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],y=d[2],h=d.length>3,m=v>=5;if(m?(u=t,f=r,0!=(v-=5)&&(p=n=n||[])):(u=t.prototype,f=a,0!==v&&(p=i=i||[])),0!==v&&!h){var b=m?s:l,g=b.get(y)||0;if(!0===g||3===g&&4!==v||4===g&&3!==v)throw 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: "+y);!g&&v>2?b.set(y,v):b.set(y,!0)}old_applyMemberDec(e,u,d,y,v,m,h,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)})}}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}',{globals:["Object","Map","Symbol","Array","Error","TypeError","console"],locals:{old_createMetadataMethodsForProperty:["body.0.id","body.3.body.body.4.block.body.0.argument.arguments.1.arguments.1.callee","body.12.body.body.0.consequent.body.0.body.body.1.block.body.0.declarations.0.init.arguments.1.callee"],old_convertMetadataMapToFinal:["body.1.id","body.13.body.body.1.argument.expressions.1.callee","body.13.body.body.1.argument.expressions.3.callee"],old_createAddInitializerMethod:["body.2.id","body.3.body.body.3.test.expressions.0.right.right.callee","body.12.body.body.0.consequent.body.0.body.body.1.block.body.0.declarations.0.init.arguments.0.properties.2.value.callee"],old_memberDec:["body.3.id","body.9.body.body.1.consequent.expression.left.right.right.callee","body.9.body.body.1.alternate.body.body.1.expression.left.right.right.callee"],old_assertNotFinished:["body.4.id","body.0.body.body.0.argument.properties.0.value.body.body.0.expression.expressions.0.callee","body.0.body.body.0.argument.properties.1.value.body.body.0.expression.expressions.0.callee","body.2.body.body.0.argument.body.body.0.expression.expressions.0.callee"],old_assertMetadataKey:["body.5.id","body.0.body.body.0.argument.properties.0.value.body.body.0.expression.expressions.1.callee","body.0.body.body.0.argument.properties.1.value.body.body.0.expression.expressions.1.callee"],old_assertCallable:["body.6.id","body.2.body.body.0.argument.body.body.0.expression.expressions.1.callee","body.7.body.body.1.consequent.body.1.expression.expressions.0.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.1.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.2.right.callee","body.7.body.body.1.consequent.body.1.expression.expressions.3.right.callee"],old_assertValidReturnValue:["body.7.id","body.9.body.body.1.consequent.expression.right.expressions.0.callee","body.9.body.body.1.alternate.body.body.1.expression.right.expressions.0.callee","body.12.body.body.0.consequent.body.0.body.body.2.expression.right.expressions.0.callee"],old_getInit:["body.8.id","body.9.body.body.1.consequent.expression.right.expressions.1.alternate.consequent.expressions.0.right.callee","body.9.body.body.1.alternate.body.body.1.expression.right.expressions.1.alternate.consequent.expressions.0.right.callee"],old_applyMemberDec:["body.9.id","body.10.body.body.0.body.body.1.consequent.body.2.expression.callee"],old_applyMemberDecs:["body.10.id","body.13.body.body.1.argument.expressions.0.callee"],old_pushInitializers:["body.11.id","body.10.body.body.1.expression.expressions.0.callee","body.10.body.body.1.expression.expressions.1.callee"],old_applyClassDecs:["body.12.id","body.13.body.body.1.argument.expressions.2.callee"],applyDecs:["body.13.id"]},exportBindingAssignments:[],exportName:"applyDecs",dependencies:{setFunctionName:["body.9.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.9.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.3.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]},internal:!1}),applyDecs2203:c("7.19.0",'function applyDecs2203Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),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)throw new TypeError((0===e?"field":10===e?"class":"method")+" 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;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 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;function applyDecs2203(e,t,r){return(applyDecs2203Impl=applyDecs2203Impl||applyDecs2203Factory())(e,t,r)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2203Factory:["body.0.id","body.2.body.body.0.argument.callee.right.right.callee"],applyDecs2203Impl:["body.1.declarations.0.id","body.2.body.body.0.argument.callee.right.left","body.2.body.body.0.argument.callee.left"],applyDecs2203:["body.2.id"]},exportBindingAssignments:[],exportName:"applyDecs2203",dependencies:{},internal:!1}),applyDecs2203R:c("7.20.0",'function applyDecs2203RFactory(){function createAddInitializerMethod(e,t){return function(r){!function(e){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),assertCallable(r,"An initializer"),e.push(r)}}function memberDec(e,t,r,n,a,i,o,s){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:o?"#"+t:toPropertyKey(t),static:i,private:o},p={v:!1};0!==a&&(f.addInitializer=createAddInitializerMethod(n,p)),0===a?o?(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(s,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)throw new TypeError((0===e?"field":10===e?"class":"method")+" decorators must return a function or void 0")}function applyMemberDec(e,t,r,n,a,i,o,s){var c,l,u,f,p,d,h,v=r[0];if(o?(0===a||1===a?(c={get:r[3],set:r[4]},u="get"):3===a?(c={get:r[3]},u="get"):4===a?(c={set:r[3]},u="set"):c={value:r[3]},0!==a&&(1===a&&setFunctionName(r[4],"#"+n,"set"),setFunctionName(r[3],"#"+n,u))):0!==a&&(c=Object.getOwnPropertyDescriptor(t,n)),1===a?f={get:c.get,set:c.set}:2===a?f=c.value:3===a?f=c.get:4===a&&(f=c.set),"function"==typeof v)void 0!==(p=memberDec(v,n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?l=p:1===a?(l=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p);else for(var g=v.length-1;g>=0;g--){var y;void 0!==(p=memberDec(v[g],n,c,s,a,i,o,f))&&(assertValidReturnValue(a,p),0===a?y=p:1===a?(y=p.init,d=p.get||f.get,h=p.set||f.set,f={get:d,set:h}):f=p,void 0!==y&&(void 0===l?l=y:"function"==typeof l?l=[l,y]:l.push(y)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var m=l;l=function(e,t){for(var r=t,n=0;n<m.length;n++)r=m[n].call(e,r);return r}}else{var b=l;l=function(e,t){return b.call(e,t)}}e.push(l)}0!==a&&(1===a?(c.get=f.get,c.set=f.set):2===a?c.value=f:3===a?c.get=f:4===a&&(c.set=f),o?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,c))}function applyMemberDecs(e,t){for(var r,n,a=[],i=new Map,o=new Map,s=0;s<t.length;s++){var c=t[s];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?o:i,g=v.get(p)||0;if(!0===g||3===g&&4!==f||4===g&&3!==f)throw 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 o={v:!1};try{var s=t[i](n,{kind:"class",name:a,addInitializer:createAddInitializerMethod(r,o)})}finally{o.v=!0}void 0!==s&&(assertValidReturnValue(10,s),n=s)}return[n,function(){for(var e=0;e<r.length;e++)r[e].call(n)}]}}(e,r)}}}}function applyDecs2203R(e,t,r){return(applyDecs2203R=applyDecs2203RFactory())(e,t,r)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2203RFactory:["body.0.id","body.1.body.body.0.argument.callee.right.callee"],applyDecs2203R:["body.1.id","body.1.body.body.0.argument.callee.left"]},exportBindingAssignments:["body.1.body.body.0.argument.callee"],exportName:"applyDecs2203R",dependencies:{setFunctionName:["body.0.body.body.4.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.0.body.body.4.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.0.body.body.1.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]},internal:!1}),applyDecs2301:c("7.21.0",'function applyDecs2301Factory(){function createAddInitializerMethod(e,t){return function(r){!function(e){if(e.v)throw Error("attempted to call addInitializer after decoration was finished")}(t),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:toPropertyKey(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)throw new TypeError((0===e?"field":10===e?"class":"method")+" 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,y,g=r[0];if(s?(0===a||1===a?(u={get:(d=r[3],function(){return d(this)}),set:curryThis2(r[4])},f="get"):3===a?(u={get:r[3]},f="get"):4===a?(u={set:r[3]},f="set"):u={value:r[3]},0!==a&&(1===a&&setFunctionName(u.set,"#"+n,"set"),setFunctionName(u[f||"value"],"#"+n,f))):0!==a&&(u=Object.getOwnPropertyDescriptor(t,n)),1===a?p={get:u.get,set:u.set}:2===a?p=u.value:3===a?p=u.get:4===a&&(p=u.set),"function"==typeof g)void 0!==(h=memberDec(g,n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?l=h:1===a?(l=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h);else for(var m=g.length-1;m>=0;m--){var b;void 0!==(h=memberDec(g[m],n,u,o,a,i,s,p,c))&&(assertValidReturnValue(a,h),0===a?b=h:1===a?(b=h.init,v=h.get||p.get,y=h.set||p.set,p={get:v,set:y}):p=h,void 0!==b&&(void 0===l?l=b:"function"==typeof l?l=[l,b]:l.push(b)))}if(0===a||1===a){if(void 0===l)l=function(e,t){return t};else if("function"!=typeof l){var I=l;l=function(e,t){for(var r=t,n=0;n<I.length;n++)r=I[n].call(e,r);return r}}else{var w=l;l=function(e,t){return w.call(e,t)}}e.push(l)}0!==a&&(1===a?(u.get=p.get,u.set=p.set):2===a?u.value=p:3===a?u.get=p:4===a&&(u.set=p),s?1===a?(e.push(function(e,t){return p.get.call(e,t)}),e.push(function(e,t){return p.set.call(e,t)})):2===a?e.push(p):e.push(function(e,t){return p.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,y=d>=5,g=r;if(y?(f=e,0!=(d-=5)&&(p=a=a||[]),v&&!i&&(i=function(t){return checkInRHS(t)===e}),g=i):(f=e.prototype,0!==d&&(p=n=n||[])),0!==d&&!v){var m=y?c:o,b=m.get(h)||0;if(!0===b||3===b&&4!==d||4===b&&3!==d)throw 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,y,v,p,g)}}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)}}}}function applyDecs2301(e,t,r,n){return(applyDecs2301=applyDecs2301Factory())(e,t,r,n)}',{globals:["Error","TypeError","Object","Map","Array"],locals:{applyDecs2301Factory:["body.0.id","body.1.body.body.0.argument.callee.right.callee"],applyDecs2301:["body.1.id","body.1.body.body.0.argument.callee.left"]},exportBindingAssignments:["body.1.body.body.0.argument.callee"],exportName:"applyDecs2301",dependencies:{checkInRHS:["body.0.body.body.7.body.body.0.body.body.1.consequent.body.1.test.expressions.0.consequent.expressions.2.right.right.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.6.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.0.right.callee","body.0.body.body.6.body.body.1.test.expressions.0.consequent.expressions.1.right.expressions.1.callee"],toPropertyKey:["body.0.body.body.2.body.body.2.declarations.2.init.properties.1.value.alternate.callee"]},internal:!1}),applyDecs2305:c("7.21.0",'function applyDecs2305(e,t,r,n,o,a){function i(e,t,r){return function(n,o){return r&&r(n),e[t].call(n,o)}}function c(e,t){for(var r=0;r<e.length;r++)e[r].call(t);return t}function s(e,t,r,n){if("function"!=typeof e&&(n||void 0!==e))throw new TypeError(t+" must "+(r||"be")+" a function"+(n?"":" or undefined"));return e}function applyDec(e,t,r,n,o,a,c,u,l,f,p,d,h){function m(e){if(!h(e))throw new TypeError("Attempted to access private element on non-instance")}var y,v=t[0],g=t[3],b=!u;if(!b){r||Array.isArray(v)||(v=[v]);var w={},S=[],A=3===o?"get":4===o||d?"set":"value";f?(p||d?w={get:setFunctionName(function(){return g(this)},n,"get"),set:function(e){t[4](this,e)}}:w[A]=g,p||setFunctionName(w[A],n,2===o?"":A)):p||(w=Object.getOwnPropertyDescriptor(e,n))}for(var P=e,j=v.length-1;j>=0;j-=r?2:1){var D=v[j],E=r?v[j-1]:void 0,I={},O={kind:["field","accessor","method","getter","setter","class"][o],name:n,metadata:a,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");s(t,"An initializer","be",!0),c.push(t)}.bind(null,I)};try{if(b)(y=s(D.call(E,P,O),"class decorators","return"))&&(P=y);else{var k,F;O.static=l,O.private=f,f?2===o?k=function(e){return m(e),w.value}:(o<4&&(k=i(w,"get",m)),3!==o&&(F=i(w,"set",m))):(k=function(e){return e[n]},(o<2||4===o)&&(F=function(e,t){e[n]=t}));var N=O.access={has:f?h.bind():function(e){return n in e}};if(k&&(N.get=k),F&&(N.set=F),P=D.call(E,d?{get:w.get,set:w.set}:w[A],O),d){if("object"==typeof P&&P)(y=s(P.get,"accessor.get"))&&(w.get=y),(y=s(P.set,"accessor.set"))&&(w.set=y),(y=s(P.init,"accessor.init"))&&S.push(y);else if(void 0!==P)throw new TypeError("accessor decorators must return an object with get, set, or init properties or void 0")}else s(P,(p?"field":"method")+" decorators","return")&&(p?S.push(P):w[A]=P)}}finally{I.v=!0}}return(p||d)&&u.push(function(e,t){for(var r=S.length-1;r>=0;r--)t=S[r].call(e,t);return t}),p||b||(f?d?u.push(i(w,"get"),i(w,"set")):u.push(2===o?w[A]:i.call.bind(w[A])):Object.defineProperty(e,n,w)),P}function u(e,t){return Object.defineProperty(e,Symbol.metadata||Symbol.for("Symbol.metadata"),{configurable:!0,enumerable:!0,value:t})}if(arguments.length>=6)var l=a[Symbol.metadata||Symbol.for("Symbol.metadata")];var f=Object.create(null==l?null:l),p=function(e,t,r,n){var o,a,i=[],s=function(t){return checkInRHS(t)===e},u=new Map;function l(e){e&&i.push(c.bind(null,e))}for(var f=0;f<t.length;f++){var p=t[f];if(Array.isArray(p)){var d=p[1],h=p[2],m=p.length>3,y=16&d,v=!!(8&d),g=0==(d&=7),b=h+"/"+v;if(!g&&!m){var w=u.get(b);if(!0===w||3===w&&4!==d||4===w&&3!==d)throw 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);u.set(b,!(d>2)||d)}applyDec(v?e:e.prototype,p,y,m?"#"+h:toPropertyKey(h),d,n,v?a=a||[]:o=o||[],i,v,m,g,1===d,v&&m?s:r)}}return l(o),l(a),i}(e,t,o,f);return r.length||u(e,f),{e:p,get c(){var t=[];return r.length&&[u(applyDec(e,[r],n,e.name,5,f,t),f),c.bind(null,t,e)]}}}',{globals:["TypeError","Array","Object","Error","Symbol","Map"],locals:{applyDecs2305:["body.0.id"]},exportBindingAssignments:[],exportName:"applyDecs2305",dependencies:{checkInRHS:["body.0.body.body.6.declarations.1.init.callee.body.body.0.declarations.3.init.body.body.0.argument.left.callee"],setFunctionName:["body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.0.consequent.right.properties.0.value.callee","body.0.body.body.3.body.body.2.consequent.body.2.expression.consequent.expressions.1.right.callee"],toPropertyKey:["body.0.body.body.6.declarations.1.init.callee.body.body.2.body.body.1.consequent.body.2.expression.arguments.3.alternate.callee"]},internal:!1}),classApplyDescriptorDestructureSet:c("7.13.10",'function _classApplyDescriptorDestructureSet(e,t){if(t.set)return"__destrObj"in t||(t.__destrObj={set value(r){t.set.call(e,r)}}),t.__destrObj;if(!t.writable)throw new TypeError("attempted to set read only private field");return t}',{globals:["TypeError"],locals:{_classApplyDescriptorDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorDestructureSet",dependencies:{},internal:!1}),classApplyDescriptorGet:c("7.13.10","function _classApplyDescriptorGet(e,t){return t.get?t.get.call(e):t.value}",{globals:[],locals:{_classApplyDescriptorGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorGet",dependencies:{},internal:!1}),classApplyDescriptorSet:c("7.13.10",'function _classApplyDescriptorSet(e,t,l){if(t.set)t.set.call(e,l);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=l}}',{globals:["TypeError"],locals:{_classApplyDescriptorSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classApplyDescriptorSet",dependencies:{},internal:!1}),classCheckPrivateStaticAccess:c("7.13.10","function _classCheckPrivateStaticAccess(s,a,r){return assertClassBrand(a,s,r)}",{globals:[],locals:{_classCheckPrivateStaticAccess:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticAccess",dependencies:{assertClassBrand:["body.0.body.body.0.argument.callee"]},internal:!1}),classCheckPrivateStaticFieldDescriptor:c("7.13.10",'function _classCheckPrivateStaticFieldDescriptor(t,e){if(void 0===t)throw new TypeError("attempted to "+e+" private static field before its declaration")}',{globals:["TypeError"],locals:{_classCheckPrivateStaticFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classCheckPrivateStaticFieldDescriptor",dependencies:{},internal:!1}),classExtractFieldDescriptor:c("7.13.10","function _classExtractFieldDescriptor(e,t){return classPrivateFieldGet2(t,e)}",{globals:[],locals:{_classExtractFieldDescriptor:["body.0.id"]},exportBindingAssignments:[],exportName:"_classExtractFieldDescriptor",dependencies:{classPrivateFieldGet2:["body.0.body.body.0.argument.callee"]},internal:!1}),classPrivateFieldDestructureSet:c("7.4.4","function _classPrivateFieldDestructureSet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorDestructureSet(e,r)}",{globals:[],locals:{_classPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),classPrivateFieldGet:c("7.0.0-beta.0","function _classPrivateFieldGet(e,t){var r=classPrivateFieldGet2(t,e);return classApplyDescriptorGet(e,r)}",{globals:[],locals:{_classPrivateFieldGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.1.argument.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),classPrivateFieldSet:c("7.0.0-beta.0","function _classPrivateFieldSet(e,t,r){var s=classPrivateFieldGet2(t,e);return classApplyDescriptorSet(e,s,r),r}",{globals:[],locals:{_classPrivateFieldSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateFieldSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.1.argument.expressions.0.callee"],classPrivateFieldGet2:["body.0.body.body.0.declarations.0.init.callee"]},internal:!1}),classPrivateMethodGet:c("7.1.6","function _classPrivateMethodGet(s,a,r){return assertClassBrand(a,s),r}",{globals:[],locals:{_classPrivateMethodGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodGet",dependencies:{assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"]},internal:!1}),classPrivateMethodSet:c("7.1.6",'function _classPrivateMethodSet(){throw new TypeError("attempted to reassign private method")}',{globals:["TypeError"],locals:{_classPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classPrivateMethodSet",dependencies:{},internal:!1}),classStaticPrivateFieldDestructureSet:c("7.13.10",'function _classStaticPrivateFieldDestructureSet(t,r,s){return assertClassBrand(r,t),classCheckPrivateStaticFieldDescriptor(s,"set"),classApplyDescriptorDestructureSet(t,s)}',{globals:[],locals:{_classStaticPrivateFieldDestructureSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldDestructureSet",dependencies:{classApplyDescriptorDestructureSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]},internal:!1}),classStaticPrivateFieldSpecGet:c("7.0.2",'function _classStaticPrivateFieldSpecGet(t,s,r){return assertClassBrand(s,t),classCheckPrivateStaticFieldDescriptor(r,"get"),classApplyDescriptorGet(t,r)}',{globals:[],locals:{_classStaticPrivateFieldSpecGet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecGet",dependencies:{classApplyDescriptorGet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]},internal:!1}),classStaticPrivateFieldSpecSet:c("7.0.2",'function _classStaticPrivateFieldSpecSet(s,t,r,e){return assertClassBrand(t,s),classCheckPrivateStaticFieldDescriptor(r,"set"),classApplyDescriptorSet(s,r,e),e}',{globals:[],locals:{_classStaticPrivateFieldSpecSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateFieldSpecSet",dependencies:{classApplyDescriptorSet:["body.0.body.body.0.argument.expressions.2.callee"],assertClassBrand:["body.0.body.body.0.argument.expressions.0.callee"],classCheckPrivateStaticFieldDescriptor:["body.0.body.body.0.argument.expressions.1.callee"]},internal:!1}),classStaticPrivateMethodSet:c("7.3.2",'function _classStaticPrivateMethodSet(){throw new TypeError("attempted to set read only static private field")}',{globals:["TypeError"],locals:{_classStaticPrivateMethodSet:["body.0.id"]},exportBindingAssignments:[],exportName:"_classStaticPrivateMethodSet",dependencies:{},internal:!1}),defineEnumerableProperties:c("7.0.0-beta.0",'function _defineEnumerableProperties(e,r){for(var t in r){var n=r[t];n.configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,t,n)}if(Object.getOwnPropertySymbols)for(var a=Object.getOwnPropertySymbols(r),b=0;b<a.length;b++){var i=a[b];(n=r[i]).configurable=n.enumerable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,i,n)}return e}',{globals:["Object"],locals:{_defineEnumerableProperties:["body.0.id"]},exportBindingAssignments:[],exportName:"_defineEnumerableProperties",dependencies:{},internal:!1}),dispose:c("7.22.0",'function dispose_SuppressedError(r,e){return"undefined"!=typeof SuppressedError?dispose_SuppressedError=SuppressedError:(dispose_SuppressedError=function(r,e){this.suppressed=e,this.error=r,this.stack=Error().stack},dispose_SuppressedError.prototype=Object.create(Error.prototype,{constructor:{value:dispose_SuppressedError,writable:!0,configurable:!0}})),new dispose_SuppressedError(r,e)}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(e,r):r,s=!0,next()}return next()}',{globals:["SuppressedError","Error","Object","Promise"],locals:{dispose_SuppressedError:["body.0.id","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.left.object","body.0.body.body.0.argument.expressions.0.alternate.expressions.1.right.arguments.1.properties.0.value.properties.0.value","body.0.body.body.0.argument.expressions.1.callee","body.1.body.body.1.body.body.0.argument.expressions.0.right.consequent.callee","body.0.body.body.0.argument.expressions.0.consequent.left","body.0.body.body.0.argument.expressions.0.alternate.expressions.0.left"],_dispose:["body.1.id"]},exportBindingAssignments:[],exportName:"_dispose",dependencies:{},internal:!1}),objectSpread:c("7.0.0-beta.0",'function _objectSpread(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?Object(arguments[r]):{},o=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&o.push.apply(o,Object.getOwnPropertySymbols(t).filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),o.forEach(function(r){defineProperty(e,r,t[r])})}return e}',{globals:["Object"],locals:{_objectSpread:["body.0.id"]},exportBindingAssignments:[],exportName:"_objectSpread",dependencies:{defineProperty:["body.0.body.body.0.body.body.1.expression.expressions.1.arguments.0.body.body.0.expression.callee"]},internal:!1}),regeneratorRuntime:c("7.18.0",'function _regeneratorRuntime(){"use strict";var r=regenerator(),e=r.m(_regeneratorRuntime),t=(Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__).constructor;function n(r){var e="function"==typeof r&&r.constructor;return!!e&&(e===t||"GeneratorFunction"===(e.displayName||e.name))}var o={throw:1,return:2,break:3,continue:3};function a(r){var e,t;return function(n){e||(e={stop:function(){return t(n.a,2)},catch:function(){return n.v},abrupt:function(r,e){return t(n.a,o[r],e)},delegateYield:function(r,o,a){return e.resultName=o,t(n.d,values(r),a)},finish:function(r){return t(n.f,r)}},t=function(r,t,o){n.p=e.prev,n.n=e.next;try{return r(t,o)}finally{e.next=n.n}}),e.resultName&&(e[e.resultName]=n.v,e.resultName=void 0),e.sent=n.v,e.next=n.n;try{return r.call(this,e)}finally{n.p=e.prev,n.n=e.next}}}return(_regeneratorRuntime=function(){return{wrap:function(e,t,n,o){return r.w(a(e),t,n,o&&o.reverse())},isGeneratorFunction:n,mark:r.m,awrap:function(r,e){return new OverloadYield(r,e)},AsyncIterator:AsyncIterator,async:function(r,e,t,o,u){return(n(e)?asyncGen:async)(a(r),e,t,o,u)},keys:keys,values:values}})()}',{globals:["Object"],locals:{_regeneratorRuntime:["body.0.id","body.0.body.body.0.declarations.1.init.arguments.0","body.0.body.body.4.argument.callee.left"]},exportBindingAssignments:["body.0.body.body.4.argument.callee"],exportName:"_regeneratorRuntime",dependencies:{OverloadYield:["body.0.body.body.4.argument.callee.right.body.body.0.argument.properties.3.value.body.body.0.argument.callee"],regenerator:["body.0.body.body.0.declarations.0.init.callee"],regeneratorAsync:["body.0.body.body.4.argument.callee.right.body.body.0.argument.properties.5.value.body.body.0.argument.callee.alternate"],regeneratorAsyncGen:["body.0.body.body.4.argument.callee.right.body.body.0.argument.properties.5.value.body.body.0.argument.callee.consequent"],regeneratorAsyncIterator:["body.0.body.body.4.argument.callee.right.body.body.0.argument.properties.4.value"],regeneratorKeys:["body.0.body.body.4.argument.callee.right.body.body.0.argument.properties.6.value"],regeneratorValues:["body.0.body.body.3.body.body.1.argument.body.body.0.expression.expressions.0.right.expressions.0.right.properties.3.value.body.body.0.argument.expressions.1.arguments.1.callee","body.0.body.body.4.argument.callee.right.body.body.0.argument.properties.7.value"]},internal:!1}),using:c("7.22.0",'function _using(o,n,e){if(null==n)return n;if(Object(n)!==n)throw new TypeError("using declarations can only be used with objects, functions, null, or undefined.");if(e)var r=n[Symbol.asyncDispose||Symbol.for("Symbol.asyncDispose")];if(null==r&&(r=n[Symbol.dispose||Symbol.for("Symbol.dispose")]),"function"!=typeof r)throw new TypeError("Property [Symbol.dispose] is not a function.");return o.push({v:n,d:r,a:e}),n}',{globals:["Object","TypeError","Symbol"],locals:{_using:["body.0.id"]},exportBindingAssignments:[],exportName:"_using",dependencies:{},internal:!1})})},"./node_modules/.pnpm/@babel+helpers@7.28.4/node_modules/@babel/helpers/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.get=b,e.getDependencies=y,e.isInternal=x,e.list=void 0,e.minVersion=m;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+helpers@7.28.4/node_modules/@babel/helpers/lib/helpers-generated.js");let{cloneNode:p,identifier:i}=n;function o(v,E,S){try{let _=E.split("."),A=_.shift();for(;_.length>0;)v=v[A],A=_.shift();if(!(arguments.length>2))return v[A];v[A]=S}catch(_){throw _.message+=` (when accessing ${E})`,_}}function h(v,E,S,_,A,L){let{locals:j,dependencies:F,exportBindingAssignments:k,exportName:U}=E,z=new Set(_||[]);for(let[C,R]of(S&&z.add(S),(Object.entries||(G=>Object.keys(G).map(V=>[V,G[V]])))(j))){let G=C;if(S&&C===U)G=S;else for(;z.has(G);)G="_"+G;if(G!==C)for(let V of R)o(v,V,i(G))}for(let[C,R]of(Object.entries||(G=>Object.keys(G).map(V=>[V,G[V]])))(F)){let G=typeof A=="function"&&A(C)||i(C);for(let V of R)o(v,V,p(G))}L==null||L(v,U,C=>{k.forEach(R=>o(v,R,C(o(v,R))))})}let d=Object.create(null);function f(v){if(!d[v]){let E=c.default[v];if(!E)throw Object.assign(ReferenceError(`Unknown helper ${v}`),{code:"BABEL_HELPER_UNKNOWN",helper:v});d[v]={minVersion:E.minVersion,build(S,_,A,L){let j=E.ast();return h(j,E.metadata,_,A,S,L),{nodes:j.body,globals:E.metadata.globals}},getDependencies:()=>Object.keys(E.metadata.dependencies)}}return d[v]}function b(v,E,S,_,A){if(typeof S=="object"){let L=S;S=(L==null?void 0:L.type)==="Identifier"?L.name:void 0}return f(v).build(E,S,_,A)}function m(v){return f(v).minVersion}function y(v){return f(v).getDependencies()}function x(v){var E;return(E=c.default[v])==null?void 0:E.metadata.internal}e.ensure=v=>{f(v)},e.list=Object.keys(c.default).map(v=>v.replace(/^_/,"")),e.default=b},"./node_modules/.pnpm/@babel+parser@7.28.4/node_modules/@babel/parser/lib/index.js":function(u,e){"use strict";function l(Ue,g){if(Ue==null)return{};var P={};for(var J in Ue)if({}.hasOwnProperty.call(Ue,J)){if(g.indexOf(J)!==-1)continue;P[J]=Ue[J]}return P}Object.defineProperty(e,"__esModule",{value:!0});let n=class{constructor(g,P,J){this.line=void 0,this.column=void 0,this.index=void 0,this.line=g,this.column=P,this.index=J}},c=class{constructor(g,P){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=g,this.end=P}};function p(Ue,g){let{line:P,column:J,index:ne}=Ue;return new n(P,J+g,ne+g)}let i="BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED",o={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"},h=Ue=>Ue.type==="UpdateExpression"?o.UpdateExpression[`${Ue.prefix}`]:o[Ue.type],d=new Set(["ArrowFunctionExpression","AssignmentExpression","ConditionalExpression","YieldExpression"]);var f=Object.assign({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:Ue})=>`Invalid topic token ${Ue}. In order to use ${Ue} as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "${Ue}" }.`,PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:({type:Ue})=>`Hack-style pipe body cannot be an unparenthesized ${h({type:Ue})}; 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 b=["message"];function m(Ue,g,P){Object.defineProperty(Ue,g,{enumerable:!1,configurable:!0,value:P})}function y({toMessage:Ue,code:g,reasonCode:P,syntaxPlugin:J}){let ne=P==="MissingPlugin"||P==="MissingOneOfPlugins";{let Fe={AccessorCannotDeclareThisParameter:"AccesorCannotDeclareThisParameter",AccessorCannotHaveTypeParameters:"AccesorCannotHaveTypeParameters",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference",SetAccessorCannotHaveOptionalParameter:"SetAccesorCannotHaveOptionalParameter",SetAccessorCannotHaveRestParameter:"SetAccesorCannotHaveRestParameter",SetAccessorCannotHaveReturnType:"SetAccesorCannotHaveReturnType"};Fe[P]&&(P=Fe[P])}return function Fe(Xe,lt){let dt=SyntaxError();return dt.code=g,dt.reasonCode=P,dt.loc=Xe,dt.pos=Xe.index,dt.syntaxPlugin=J,ne&&(dt.missingPlugin=lt.missingPlugin),m(dt,"clone",function(bt={}){var Lt;let{line:ur,column:$r,index:Kr}=(Lt=bt.loc)!=null?Lt:Xe;return Fe(new n(ur,$r,Kr),Object.assign({},lt,bt.details))}),m(dt,"details",lt),Object.defineProperty(dt,"message",{configurable:!0,get(){let bt=`${Ue(lt)} (${Xe.line}:${Xe.column})`;return this.message=bt,bt},set(bt){Object.defineProperty(this,"message",{value:bt,writable:!0})}}),dt}}function x(Ue,g){if(Array.isArray(Ue))return J=>x(J,Ue[0]);let P={};for(let J of Object.keys(Ue)){let ne=Ue[J],Fe=typeof ne=="string"?{message:()=>ne}:typeof ne=="function"?{message:ne}:ne,{message:Xe}=Fe,lt=l(Fe,b),dt=typeof Xe=="string"?()=>Xe:Xe;P[J]=y(Object.assign({code:"BABEL_PARSER_SYNTAX_ERROR",reasonCode:J,toMessage:dt},g?{syntaxPlugin:g}:{},lt))}return P}let v=Object.assign({},x({ImportMetaOutsideModule:{message:`import.meta may appear only with 'sourceType: "module"'`,code:i},ImportOutsideModule:{message:`'import' and 'export' may appear only with 'sourceType: "module"'`,code:i}}),x({AccessorIsGenerator:({kind:Ue})=>`A ${Ue}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.",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:Ue})=>`Missing initializer in ${Ue} 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.",DeferImportRequiresNamespace:'Only `import defer * as x from "./module"` is valid.',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:Ue})=>`\`${Ue}\` 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:Ue,exportName:g})=>`A string literal cannot be used as an exported binding without \`from\`.
|
|
- Did you mean \`export { '${Ue}' as '${g}' } from 'some-module'\`?`,ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:({type:Ue})=>`'${Ue==="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:Ue})=>`Unsyntactic ${Ue==="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 `deprecatedImportAssert` parser plugin to suppress this error.",ImportBindingIsString:({importName:Ue})=>`A string literal cannot be used as an imported binding.
|
|
- Did you mean \`import { "${Ue}" as foo }\`?`,ImportCallArity:"`import()` requires exactly 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.",InvalidCoverDiscardElement:"'void' must be followed by an expression when not used in a binding position.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:({radix:Ue})=>`Expected number in radix ${Ue}.`,InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:({reservedWord:Ue})=>`Escape sequence in keyword ${Ue}.`,InvalidIdentifier:({identifierName:Ue})=>`Invalid identifier ${Ue}.`,InvalidLhs:({ancestor:Ue})=>`Invalid left-hand side in ${h(Ue)}.`,InvalidLhsBinding:({ancestor:Ue})=>`Binding invalid left-hand side in ${h(Ue)}.`,InvalidLhsOptionalChaining:({ancestor:Ue})=>`Invalid optional chaining in the left-hand side of ${h(Ue)}.`,InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:({unexpected:Ue})=>`Unexpected character '${Ue}'.`,InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:({identifierName:Ue})=>`Private name #${Ue} 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:Ue})=>`Label '${Ue}' 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:Ue})=>`This experimental syntax requires enabling the parser plugin: ${Ue.map(g=>JSON.stringify(g)).join(", ")}.`,MissingOneOfPlugins:({missingPlugin:Ue})=>`This experimental syntax requires enabling one of the following parser plugin(s): ${Ue.map(g=>JSON.stringify(g)).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:Ue})=>`Duplicate key "${Ue}" is not allowed in module attributes.`,ModuleExportNameHasLoneSurrogate:({surrogateCharCode:Ue})=>`An export name cannot include a lone surrogate, found '\\u${Ue.toString(16)}'.`,ModuleExportUndefined:({localName:Ue})=>`Export '${Ue}' 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:Ue})=>`Private names are only allowed in property accesses (\`obj.#${Ue}\`) or in \`in\` expressions (\`#${Ue} in obj\`).`,PrivateNameRedeclaration:({identifierName:Ue})=>`Duplicate private name #${Ue}.`,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.",SourcePhaseImportRequiresDefault:'Only `import source x from "./module"` is valid.',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:Ue})=>`Unexpected keyword '${Ue}'.`,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:Ue})=>`Unexpected reserved word '${Ue}'.`,UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:({expected:Ue,unexpected:g})=>`Unexpected token${g?` '${g}'.`:""}${Ue?`, expected "${Ue}"`:""}`,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` or in the bare case statement.",UnexpectedVoidPattern:"Unexpected void binding.",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:Ue,onlyValidPropertyName:g})=>`The only valid meta property for ${Ue} is ${Ue}.${g}.`,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.",UsingDeclarationExport:"Using declaration cannot be exported.",UsingDeclarationHasBindingPattern:"Using declaration cannot have destructuring patterns.",VarRedeclaration:({identifierName:Ue})=>`Identifier '${Ue}' has already been declared.`,VoidPatternCatchClauseParam:"A void binding can not be the catch clause parameter. Use `try { ... } catch { ... }` if you want to discard the caught error.",VoidPatternInitializer:"A void binding may not have an initializer.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",YieldNotInGeneratorFunction:"'yield' is only allowed within generator functions.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."}),x({StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:({referenceName:Ue})=>`Assigning to '${Ue}' in strict mode.`,StrictEvalArgumentsBinding:({bindingName:Ue})=>`Binding '${Ue}' 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."}),x({ParseExpressionEmptyInput:"Unexpected parseExpression() input: The input is empty or contains only comments.",ParseExpressionExpectsEOF:({unexpected:Ue})=>`Unexpected parseExpression() input: The input should contain exactly one expression, but the first expression is followed by the unexpected character \`${String.fromCodePoint(Ue)}\`.`}),x`pipelineOperator`(f));function E(){return{sourceType:"script",sourceFilename:void 0,startIndex:0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowNewTargetOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,allowYieldOutsideFunction:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createImportExpressions:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0,annexB:!0}}function S(Ue){let g=E();if(Ue==null)return g;if(Ue.annexB!=null&&Ue.annexB!==!1)throw Error("The `annexB` option can only be set to `false`.");for(let P of Object.keys(g))Ue[P]!=null&&(g[P]=Ue[P]);if(g.startLine===1)Ue.startIndex==null&&g.startColumn>0?g.startIndex=g.startColumn:Ue.startColumn==null&&g.startIndex>0&&(g.startColumn=g.startIndex);else if((Ue.startColumn==null||Ue.startIndex==null)&&Ue.startIndex!=null)throw Error("With a `startLine > 1` you must also specify `startIndex` and `startColumn`.");if(g.sourceType==="commonjs"){if(Ue.allowAwaitOutsideFunction!=null)throw Error("The `allowAwaitOutsideFunction` option cannot be used with `sourceType: 'commonjs'`.");if(Ue.allowReturnOutsideFunction!=null)throw Error("`sourceType: 'commonjs'` implies `allowReturnOutsideFunction: true`, please remove the `allowReturnOutsideFunction` option or use `sourceType: 'script'`.");if(Ue.allowNewTargetOutsideFunction!=null)throw Error("`sourceType: 'commonjs'` implies `allowNewTargetOutsideFunction: true`, please remove the `allowNewTargetOutsideFunction` option or use `sourceType: 'script'`.")}return g}let{defineProperty:_}=Object,A=(Ue,g)=>{Ue&&_(Ue,g,{enumerable:!1,value:Ue[g]})};function L(Ue){return A(Ue.loc.start,"index"),A(Ue.loc.end,"index"),Ue}let j=class{constructor(g,P){this.token=void 0,this.preserveSpace=void 0,this.token=g,this.preserveSpace=!!P}},F={brace:new j("{"),j_oTag:new j("<tag"),j_cTag:new j("</tag"),j_expr:new j("<tag>...</tag>",!0)};F.template=new j("`",!0);let k=class{constructor(g,P={}){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=g,this.keyword=P.keyword,this.beforeExpr=!!P.beforeExpr,this.startsExpr=!!P.startsExpr,this.rightAssociative=!!P.rightAssociative,this.isLoop=!!P.isLoop,this.isAssign=!!P.isAssign,this.prefix=!!P.prefix,this.postfix=!!P.postfix,this.binop=P.binop!=null?P.binop:null,this.updateContext=null}},U=new Map;function z(Ue,g={}){g.keyword=Ue;let P=W(Ue,g);return U.set(Ue,P),P}function C(Ue,g){return W(Ue,{beforeExpr:!0,binop:g})}let R=-1,G=[],V=[],B=[],q=[],K=[],$=[];function W(Ue,g={}){var P,J,ne,Fe;return++R,V.push(Ue),B.push((P=g.binop)!=null?P:-1),q.push((J=g.beforeExpr)!=null&&J),K.push((ne=g.startsExpr)!=null&&ne),$.push((Fe=g.prefix)!=null&&Fe),G.push(new k(Ue,g)),R}function Z(Ue,g={}){var P,J,ne,Fe;return++R,U.set(Ue,R),V.push(Ue),B.push((P=g.binop)!=null?P:-1),q.push((J=g.beforeExpr)!=null&&J),K.push((ne=g.startsExpr)!=null&&ne),$.push((Fe=g.prefix)!=null&&Fe),G.push(new k("name",g)),R}let Q={bracketL:W("[",{beforeExpr:!0,startsExpr:!0}),bracketHashL:W("#[",{beforeExpr:!0,startsExpr:!0}),bracketBarL:W("[|",{beforeExpr:!0,startsExpr:!0}),bracketR:W("]"),bracketBarR:W("|]"),braceL:W("{",{beforeExpr:!0,startsExpr:!0}),braceBarL:W("{|",{beforeExpr:!0,startsExpr:!0}),braceHashL:W("#{",{beforeExpr:!0,startsExpr:!0}),braceR:W("}"),braceBarR:W("|}"),parenL:W("(",{beforeExpr:!0,startsExpr:!0}),parenR:W(")"),comma:W(",",{beforeExpr:!0}),semi:W(";",{beforeExpr:!0}),colon:W(":",{beforeExpr:!0}),doubleColon:W("::",{beforeExpr:!0}),dot:W("."),question:W("?",{beforeExpr:!0}),questionDot:W("?."),arrow:W("=>",{beforeExpr:!0}),template:W("template"),ellipsis:W("...",{beforeExpr:!0}),backQuote:W("`",{startsExpr:!0}),dollarBraceL:W("${",{beforeExpr:!0,startsExpr:!0}),templateTail:W("...`",{startsExpr:!0}),templateNonTail:W("...${",{beforeExpr:!0,startsExpr:!0}),at:W("@"),hash:W("#",{startsExpr:!0}),interpreterDirective:W("#!..."),eq:W("=",{beforeExpr:!0,isAssign:!0}),assign:W("_=",{beforeExpr:!0,isAssign:!0}),slashAssign:W("_=",{beforeExpr:!0,isAssign:!0}),xorAssign:W("_=",{beforeExpr:!0,isAssign:!0}),moduloAssign:W("_=",{beforeExpr:!0,isAssign:!0}),incDec:W("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:W("!",{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:W("~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),doubleCaret:W("^^",{startsExpr:!0}),doubleAt:W("@@",{startsExpr:!0}),pipeline:C("|>",0),nullishCoalescing:C("??",1),logicalOR:C("||",1),logicalAND:C("&&",2),bitwiseOR:C("|",3),bitwiseXOR:C("^",4),bitwiseAND:C("&",5),equality:C("==/!=/===/!==",6),lt:C("</>/<=/>=",7),gt:C("</>/<=/>=",7),relational:C("</>/<=/>=",7),bitShift:C("<</>>/>>>",8),bitShiftL:C("<</>>/>>>",8),bitShiftR:C("<</>>/>>>",8),plusMin:W("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:W("%",{binop:10,startsExpr:!0}),star:W("*",{binop:10}),slash:C("/",10),exponent:W("**",{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:z("in",{beforeExpr:!0,binop:7}),_instanceof:z("instanceof",{beforeExpr:!0,binop:7}),_break:z("break"),_case:z("case",{beforeExpr:!0}),_catch:z("catch"),_continue:z("continue"),_debugger:z("debugger"),_default:z("default",{beforeExpr:!0}),_else:z("else",{beforeExpr:!0}),_finally:z("finally"),_function:z("function",{startsExpr:!0}),_if:z("if"),_return:z("return",{beforeExpr:!0}),_switch:z("switch"),_throw:z("throw",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:z("try"),_var:z("var"),_const:z("const"),_with:z("with"),_new:z("new",{beforeExpr:!0,startsExpr:!0}),_this:z("this",{startsExpr:!0}),_super:z("super",{startsExpr:!0}),_class:z("class",{startsExpr:!0}),_extends:z("extends",{beforeExpr:!0}),_export:z("export"),_import:z("import",{startsExpr:!0}),_null:z("null",{startsExpr:!0}),_true:z("true",{startsExpr:!0}),_false:z("false",{startsExpr:!0}),_typeof:z("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:z("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:z("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:z("do",{isLoop:!0,beforeExpr:!0}),_for:z("for",{isLoop:!0}),_while:z("while",{isLoop:!0}),_as:Z("as",{startsExpr:!0}),_assert:Z("assert",{startsExpr:!0}),_async:Z("async",{startsExpr:!0}),_await:Z("await",{startsExpr:!0}),_defer:Z("defer",{startsExpr:!0}),_from:Z("from",{startsExpr:!0}),_get:Z("get",{startsExpr:!0}),_let:Z("let",{startsExpr:!0}),_meta:Z("meta",{startsExpr:!0}),_of:Z("of",{startsExpr:!0}),_sent:Z("sent",{startsExpr:!0}),_set:Z("set",{startsExpr:!0}),_source:Z("source",{startsExpr:!0}),_static:Z("static",{startsExpr:!0}),_using:Z("using",{startsExpr:!0}),_yield:Z("yield",{startsExpr:!0}),_asserts:Z("asserts",{startsExpr:!0}),_checks:Z("checks",{startsExpr:!0}),_exports:Z("exports",{startsExpr:!0}),_global:Z("global",{startsExpr:!0}),_implements:Z("implements",{startsExpr:!0}),_intrinsic:Z("intrinsic",{startsExpr:!0}),_infer:Z("infer",{startsExpr:!0}),_is:Z("is",{startsExpr:!0}),_mixins:Z("mixins",{startsExpr:!0}),_proto:Z("proto",{startsExpr:!0}),_require:Z("require",{startsExpr:!0}),_satisfies:Z("satisfies",{startsExpr:!0}),_keyof:Z("keyof",{startsExpr:!0}),_readonly:Z("readonly",{startsExpr:!0}),_unique:Z("unique",{startsExpr:!0}),_abstract:Z("abstract",{startsExpr:!0}),_declare:Z("declare",{startsExpr:!0}),_enum:Z("enum",{startsExpr:!0}),_module:Z("module",{startsExpr:!0}),_namespace:Z("namespace",{startsExpr:!0}),_interface:Z("interface",{startsExpr:!0}),_type:Z("type",{startsExpr:!0}),_opaque:Z("opaque",{startsExpr:!0}),name:W("name",{startsExpr:!0}),placeholder:W("%%",{startsExpr:!0}),string:W("string",{startsExpr:!0}),num:W("num",{startsExpr:!0}),bigint:W("bigint",{startsExpr:!0}),decimal:W("decimal",{startsExpr:!0}),regexp:W("regexp",{startsExpr:!0}),privateName:W("#name",{startsExpr:!0}),eof:W("eof"),jsxName:W("jsxName"),jsxText:W("jsxText",{beforeExpr:!0}),jsxTagStart:W("jsxTagStart",{startsExpr:!0}),jsxTagEnd:W("jsxTagEnd")};function X(Ue){return Ue>=93&&Ue<=133}function ie(Ue){return Ue<=92}function oe(Ue){return Ue>=58&&Ue<=133}function be(Ue){return Ue>=58&&Ue<=137}function Ne(Ue){return q[Ue]}function Pe(Ue){return Ue>=29&&Ue<=33}function Ke(Ue){return Ue>=129&&Ue<=131}function We(Ue){return Ue>=90&&Ue<=92}function Oe(Ue){return Ue>=58&&Ue<=92}function de(Ue){return Ue>=39&&Ue<=59}function xe(Ue){return Ue===34}function ye(Ue){return $[Ue]}function ve(Ue){return Ue>=121&&Ue<=123}function he(Ue){return Ue>=124&&Ue<=130}function Te(Ue){return Ue===57}function Ce(Ue){return Ue>=24&&Ue<=25}G[8].updateContext=Ue=>{Ue.pop()},G[5].updateContext=G[7].updateContext=G[23].updateContext=Ue=>{Ue.push(F.brace)},G[22].updateContext=Ue=>{Ue[Ue.length-1]===F.template?Ue.pop():Ue.push(F.template)},G[143].updateContext=Ue=>{Ue.push(F.j_expr,F.j_oTag)};let se="\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-\u1C8A\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-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\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",pe="\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\u0897-\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\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\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\uFF65",nt=RegExp("["+se+"]"),ft=RegExp("["+se+pe+"]");se=pe=null;let _t=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,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,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,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,229,29,3,0,496,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,16,621,2467,541,1507,4938,6,4191],Pt=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239];function ht(Ue,g){let P=65536;for(let J=0,ne=g.length;J<ne&&!((P+=g[J])>Ue);J+=2)if((P+=g[J+1])>=Ue)return!0;return!1}function De(Ue){return Ue<65?Ue===36:Ue<=90||(Ue<97?Ue===95:Ue<=122||(Ue<=65535?Ue>=170&&nt.test(String.fromCharCode(Ue)):ht(Ue,_t)))}function ze(Ue){return Ue<48?Ue===36:Ue<58||!(Ue<65)&&(Ue<=90||(Ue<97?Ue===95:Ue<=122||(Ue<=65535?Ue>=170&&ft.test(String.fromCharCode(Ue)):ht(Ue,_t)||ht(Ue,Pt))))}let Ze=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"]),tt=new Set(["implements","interface","let","package","private","protected","public","static","yield"]),ge=new Set(["eval","arguments"]);function fe(Ue,g){return g&&Ue==="await"||Ue==="enum"}function ee(Ue,g){return fe(Ue,g)||tt.has(Ue)}function le(Ue,g){return ee(Ue,g)||ge.has(Ue)}function Se(Ue){return Ze.has(Ue)}function Ee(Ue,g,P){return Ue===64&&g===64&&De(P)}let Be=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"]);function Qe(Ue){return Be.has(Ue)}let ce=class{constructor(g){this.flags=0,this.names=new Map,this.firstLexicalName="",this.flags=g}},$e=class{constructor(g,P){this.parser=void 0,this.scopeStack=[],this.inModule=void 0,this.undefinedExports=new Map,this.parser=g,this.inModule=P}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 allowNewTarget(){return(512&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){let g=this.currentThisScopeFlags();return(64&g)>0&&(2&g)==0}get inStaticBlock(){for(let g=this.scopeStack.length-1;;g--){let{flags:P}=this.scopeStack[g];if(128&P)return!0;if(1731&P)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get inBareCaseStatement(){return(256&this.currentScope().flags)>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(g){return new ce(g)}enter(g){this.scopeStack.push(this.createScope(g))}exit(){return this.scopeStack.pop().flags}treatFunctionsAsVarInScope(g){return!!(130&g.flags||!this.parser.inModule&&1&g.flags)}declareName(g,P,J){let ne=this.currentScope();if(8&P||16&P){this.checkRedeclarationInScope(ne,g,P,J);let Fe=ne.names.get(g)||0;16&P?Fe|=4:(ne.firstLexicalName||(ne.firstLexicalName=g),Fe|=2),ne.names.set(g,Fe),8&P&&this.maybeExportDefined(ne,g)}else if(4&P)for(let Fe=this.scopeStack.length-1;Fe>=0&&(ne=this.scopeStack[Fe],this.checkRedeclarationInScope(ne,g,P,J),ne.names.set(g,1|(ne.names.get(g)||0)),this.maybeExportDefined(ne,g),!(1667&ne.flags));--Fe);this.parser.inModule&&1&ne.flags&&this.undefinedExports.delete(g)}maybeExportDefined(g,P){this.parser.inModule&&1&g.flags&&this.undefinedExports.delete(P)}checkRedeclarationInScope(g,P,J,ne){this.isRedeclaredInScope(g,P,J)&&this.parser.raise(v.VarRedeclaration,ne,{identifierName:P})}isRedeclaredInScope(g,P,J){if(!(1&J))return!1;if(8&J)return g.names.has(P);let ne=g.names.get(P);return 16&J?(2&ne)>0||!this.treatFunctionsAsVarInScope(g)&&(1&ne)>0:(2&ne)>0&&!(8&g.flags&&g.firstLexicalName===P)||!this.treatFunctionsAsVarInScope(g)&&(4&ne)>0}checkLocalExport(g){let{name:P}=g;this.scopeStack[0].names.has(P)||this.undefinedExports.set(P,g.loc.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let g=this.scopeStack.length-1;;g--){let{flags:P}=this.scopeStack[g];if(1667&P)return P}}currentThisScopeFlags(){for(let g=this.scopeStack.length-1;;g--){let{flags:P}=this.scopeStack[g];if(1731&P&&!(4&P))return P}}},et=class extends ce{constructor(...g){super(...g),this.declareFunctions=new Set}},ut=class extends $e{createScope(g){return new et(g)}declareName(g,P,J){let ne=this.currentScope();if(2048&P){this.checkRedeclarationInScope(ne,g,P,J),this.maybeExportDefined(ne,g),ne.declareFunctions.add(g);return}super.declareName(g,P,J)}isRedeclaredInScope(g,P,J){if(super.isRedeclaredInScope(g,P,J))return!0;if(2048&J&&!g.declareFunctions.has(P)){let ne=g.names.get(P);return(4&ne)>0||(2&ne)>0}return!1}checkLocalExport(g){this.scopeStack[0].declareFunctions.has(g.name)||super.checkLocalExport(g)}},Je=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Le=x`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:Ue})=>`Cannot overwrite reserved type ${Ue}.`,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:Ue,enumName:g})=>`Boolean enum members need to be initialized. Use either \`${Ue} = true,\` or \`${Ue} = false,\` in enum \`${g}\`.`,EnumDuplicateMemberName:({memberName:Ue,enumName:g})=>`Enum member names need to be unique, but the name \`${Ue}\` has already been used before in enum \`${g}\`.`,EnumInconsistentMemberValues:({enumName:Ue})=>`Enum \`${Ue}\` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.`,EnumInvalidExplicitType:({invalidEnumType:Ue,enumName:g})=>`Enum type \`${Ue}\` is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${g}\`.`,EnumInvalidExplicitTypeUnknownSupplied:({enumName:Ue})=>`Supplied enum type is not valid. Use one of \`boolean\`, \`number\`, \`string\`, or \`symbol\` in enum \`${Ue}\`.`,EnumInvalidMemberInitializerPrimaryType:({enumName:Ue,memberName:g,explicitType:P})=>`Enum \`${Ue}\` has type \`${P}\`, so the initializer of \`${g}\` needs to be a ${P} literal.`,EnumInvalidMemberInitializerSymbolType:({enumName:Ue,memberName:g})=>`Symbol enum members cannot be initialized. Use \`${g},\` in enum \`${Ue}\`.`,EnumInvalidMemberInitializerUnknownType:({enumName:Ue,memberName:g})=>`The enum member initializer for \`${g}\` needs to be a literal (either a boolean, number, or string) in enum \`${Ue}\`.`,EnumInvalidMemberName:({enumName:Ue,memberName:g,suggestion:P})=>`Enum member names cannot start with lowercase 'a' through 'z'. Instead of using \`${g}\`, consider using \`${P}\`, in enum \`${Ue}\`.`,EnumNumberMemberNotInitialized:({enumName:Ue,memberName:g})=>`Number enum members need to be initialized, e.g. \`${g} = 1\` in enum \`${Ue}\`.`,EnumStringMemberInconsistentlyInitialized:({enumName:Ue})=>`String enum members need to consistently either all use initializers, or use no initializers, in enum \`${Ue}\`.`,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:Ue})=>`Unexpected reserved type ${Ue}.`,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:Ue,suggestion:g})=>`\`declare export ${Ue}\` is not supported. Use \`${g}\` instead.`,UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."});function at(Ue){return Ue.type==="DeclareExportAllDeclaration"||Ue.type==="DeclareExportDeclaration"&&(!Ue.declaration||Ue.declaration.type!=="TypeAlias"&&Ue.declaration.type!=="InterfaceDeclaration")}function Et(Ue){return Ue.importKind==="type"||Ue.importKind==="typeof"}let Rt={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};function lr(Ue,g){let P=[],J=[];for(let ne=0;ne<Ue.length;ne++)(g(Ue[ne],ne,Ue)?P:J).push(Ue[ne]);return[P,J]}let xt=/\*?\s*@((?:no)?flow)\b/,ar={__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"},yr=RegExp(/\r\n|[\r\n\u2028\u2029]/.source,"g");function Pr(Ue){switch(Ue){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}function Rr(Ue,g,P){for(let J=g;J<P;J++)if(Pr(Ue.charCodeAt(J)))return!0;return!1}let ln=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Tn=/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/g;function Pn(Ue){switch(Ue){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}}let er=x`jsx`({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:({openingTagName:Ue})=>`Expected corresponding JSX closing tag for <${Ue}>.`,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:Ue,HTMLEntity:g})=>`Unexpected token \`${Ue}\`. Did you mean \`${g}\` or \`{'${Ue}'}\`?`,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 Yr(Ue){return!!Ue&&(Ue.type==="JSXOpeningFragment"||Ue.type==="JSXClosingFragment")}function gr(Ue){if(Ue.type==="JSXIdentifier")return Ue.name;if(Ue.type==="JSXNamespacedName")return Ue.namespace.name+":"+Ue.name.name;if(Ue.type==="JSXMemberExpression")return gr(Ue.object)+"."+gr(Ue.property);throw Error("Node had unexpected type: "+Ue.type)}let An=class extends ce{constructor(...g){super(...g),this.tsNames=new Map}},rt=class extends $e{constructor(...g){super(...g),this.importsStack=[]}createScope(g){return this.importsStack.push(new Set),new An(g)}enter(g){g===1024&&this.importsStack.push(new Set),super.enter(g)}exit(){let g=super.exit();return g===1024&&this.importsStack.pop(),g}hasImport(g,P){let J=this.importsStack.length;if(this.importsStack[J-1].has(g))return!0;if(!P&&J>1){for(let ne=0;ne<J-1;ne++)if(this.importsStack[ne].has(g))return!0}return!1}declareName(g,P,J){if(4096&P){this.hasImport(g,!0)&&this.parser.raise(v.VarRedeclaration,J,{identifierName:g}),this.importsStack[this.importsStack.length-1].add(g);return}let ne=this.currentScope(),Fe=ne.tsNames.get(g)||0;if(1024&P){this.maybeExportDefined(ne,g),ne.tsNames.set(g,16|Fe);return}super.declareName(g,P,J),2&P&&(1&P||(this.checkRedeclarationInScope(ne,g,P,J),this.maybeExportDefined(ne,g)),Fe|=1),256&P&&(Fe|=2),512&P&&(Fe|=4),128&P&&(Fe|=8),Fe&&ne.tsNames.set(g,Fe)}isRedeclaredInScope(g,P,J){let ne=g.tsNames.get(P);return(2&ne)>0?!(256&J)||!!(512&J)!=(4&ne)>0:128&J&&(8&ne)>0?2&g.names.get(P)?!!(1&J):!1:!!(2&J)&&(1&ne)>0||super.isRedeclaredInScope(g,P,J)}checkLocalExport(g){let{name:P}=g;if(this.hasImport(P))return;let J=this.scopeStack.length;for(let ne=J-1;ne>=0;ne--){let Fe=this.scopeStack[ne].tsNames.get(P);if((1&Fe)>0||(16&Fe)>0)return}super.checkLocalExport(g)}},At=class{constructor(){this.stacks=[]}enter(g){this.stacks.push(g)}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 Mt(Ue,g){return 2*!!Ue|!!g}let $t=class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}sourceToOffsetPos(g){return g+this.startIndex}offsetToSourcePos(g){return g-this.startIndex}hasPlugin(g){if(typeof g=="string")return this.plugins.has(g);{let[P,J]=g;if(!this.hasPlugin(P))return!1;let ne=this.plugins.get(P);for(let Fe of Object.keys(J))if((ne==null?void 0:ne[Fe])!==J[Fe])return!1;return!0}}getPluginOption(g,P){var J;return(J=this.plugins.get(g))==null?void 0:J[P]}};function zt(Ue,g){Ue.trailingComments===void 0?Ue.trailingComments=g:Ue.trailingComments.unshift(...g)}function qt(Ue,g){Ue.leadingComments===void 0?Ue.leadingComments=g:Ue.leadingComments.unshift(...g)}function pr(Ue,g){Ue.innerComments===void 0?Ue.innerComments=g:Ue.innerComments.unshift(...g)}function xr(Ue,g,P){let J=null,ne=g.length;for(;J===null&&ne>0;)J=g[--ne];J===null||J.start>P.start?pr(Ue,P.comments):zt(J,P.comments)}let Hr=class extends $t{addComment(g){this.filename&&(g.loc.filename=this.filename);let{commentsLen:P}=this.state;this.comments.length!==P&&(this.comments.length=P),this.comments.push(g),this.state.commentsLen++}processComment(g){let{commentStack:P}=this.state,J=P.length;if(J===0)return;let ne=J-1,Fe=P[ne];Fe.start===g.end&&(Fe.leadingNode=g,ne--);let{start:Xe}=g;for(;ne>=0;ne--){let lt=P[ne],dt=lt.end;if(dt>Xe)lt.containingNode=g,this.finalizeComment(lt),P.splice(ne,1);else{dt===Xe&&(lt.trailingNode=g);break}}}finalizeComment(g){var P;let{comments:J}=g;if(g.leadingNode!==null||g.trailingNode!==null)g.leadingNode!==null&&zt(g.leadingNode,J),g.trailingNode!==null&&qt(g.trailingNode,J);else{let{containingNode:ne,start:Fe}=g;if(this.input.charCodeAt(this.offsetToSourcePos(Fe)-1)===44)switch(ne.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":xr(ne,ne.properties,g);break;case"CallExpression":case"OptionalCallExpression":xr(ne,ne.arguments,g);break;case"ImportExpression":xr(ne,[ne.source,(P=ne.options)!=null?P:null],g);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":xr(ne,ne.params,g);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":xr(ne,ne.elements,g);break;case"ExportNamedDeclaration":case"ImportDeclaration":xr(ne,ne.specifiers,g);break;case"TSEnumDeclaration":case"TSEnumBody":xr(ne,ne.members,g);break;default:pr(ne,J)}else pr(ne,J)}}finalizeRemainingComments(){let{commentStack:g}=this.state;for(let P=g.length-1;P>=0;P--)this.finalizeComment(g[P]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(g){let{commentStack:P}=this.state,{length:J}=P;if(J===0)return;let ne=P[J-1];ne.leadingNode===g&&(ne.leadingNode=null)}takeSurroundingComments(g,P,J){let{commentStack:ne}=this.state,Fe=ne.length;if(Fe===0)return;let Xe=Fe-1;for(;Xe>=0;Xe--){let lt=ne[Xe],dt=lt.end;if(lt.start===J)lt.leadingNode=g;else if(dt===P)lt.trailingNode=g;else if(dt<P)break}}},Qr=class OR{constructor(){this.flags=1024,this.startIndex=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.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.labels=[],this.commentsLen=0,this.commentStack=[],this.pos=0,this.type=140,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.context=[F.brace],this.firstInvalidTemplateEscapePos=null,this.strictErrors=new Map,this.tokensLength=0}get strict(){return(1&this.flags)>0}set strict(g){g?this.flags|=1:this.flags&=-2}init({strictMode:g,sourceType:P,startIndex:J,startLine:ne,startColumn:Fe}){this.strict=g!==!1&&(g===!0||P==="module"),this.startIndex=J,this.curLine=ne,this.lineStart=-Fe,this.startLoc=this.endLoc=new n(ne,Fe,J)}get maybeInArrowParameters(){return(2&this.flags)>0}set maybeInArrowParameters(g){g?this.flags|=2:this.flags&=-3}get inType(){return(4&this.flags)>0}set inType(g){g?this.flags|=4:this.flags&=-5}get noAnonFunctionType(){return(8&this.flags)>0}set noAnonFunctionType(g){g?this.flags|=8:this.flags&=-9}get hasFlowComment(){return(16&this.flags)>0}set hasFlowComment(g){g?this.flags|=16:this.flags&=-17}get isAmbientContext(){return(32&this.flags)>0}set isAmbientContext(g){g?this.flags|=32:this.flags&=-33}get inAbstractClass(){return(64&this.flags)>0}set inAbstractClass(g){g?this.flags|=64:this.flags&=-65}get inDisallowConditionalTypesContext(){return(128&this.flags)>0}set inDisallowConditionalTypesContext(g){g?this.flags|=128:this.flags&=-129}get soloAwait(){return(256&this.flags)>0}set soloAwait(g){g?this.flags|=256:this.flags&=-257}get inFSharpPipelineDirectBody(){return(512&this.flags)>0}set inFSharpPipelineDirectBody(g){g?this.flags|=512:this.flags&=-513}get canStartJSXElement(){return(1024&this.flags)>0}set canStartJSXElement(g){g?this.flags|=1024:this.flags&=-1025}get containsEsc(){return(2048&this.flags)>0}set containsEsc(g){g?this.flags|=2048:this.flags&=-2049}get hasTopLevelAwait(){return(4096&this.flags)>0}set hasTopLevelAwait(g){g?this.flags|=4096:this.flags&=-4097}curPosition(){return new n(this.curLine,this.pos-this.lineStart,this.pos+this.startIndex)}clone(){let g=new OR;return g.flags=this.flags,g.startIndex=this.startIndex,g.curLine=this.curLine,g.lineStart=this.lineStart,g.startLoc=this.startLoc,g.endLoc=this.endLoc,g.errors=this.errors.slice(),g.potentialArrowAt=this.potentialArrowAt,g.noArrowAt=this.noArrowAt.slice(),g.noArrowParamsConversionAt=this.noArrowParamsConversionAt.slice(),g.topicContext=this.topicContext,g.labels=this.labels.slice(),g.commentsLen=this.commentsLen,g.commentStack=this.commentStack.slice(),g.pos=this.pos,g.type=this.type,g.value=this.value,g.start=this.start,g.end=this.end,g.lastTokEndLoc=this.lastTokEndLoc,g.lastTokStartLoc=this.lastTokStartLoc,g.context=this.context.slice(),g.firstInvalidTemplateEscapePos=this.firstInvalidTemplateEscapePos,g.strictErrors=this.strictErrors,g.tokensLength=this.tokensLength,g}},Fr={decBinOct:new Set([46,66,69,79,95,98,101,111]),hex:new Set([46,88,95,120])},Sn=Ue=>Ue===48||Ue===49,Nn=Ue=>Ue>=48&&Ue<=55,zn=Ue=>Ue>=48&&Ue<=57,Ni=Ue=>Ue>=48&&Ue<=57||Ue>=65&&Ue<=70||Ue>=97&&Ue<=102;function Fi(Ue,g,P,J,ne,Fe){let Xe=P,lt=J,dt=ne,bt="",Lt=null,ur=P,{length:$r}=g;for(;;){if(P>=$r){Fe.unterminated(Xe,lt,dt),bt+=g.slice(ur,P);break}let Kr=g.charCodeAt(P);if(qi(Ue,Kr,g,P)){bt+=g.slice(ur,P);break}if(Kr===92){bt+=g.slice(ur,P);let Dn=dr(g,P,J,ne,Ue==="template",Fe);Dn.ch!==null||Lt?bt+=Dn.ch:Lt={pos:P,lineStart:J,curLine:ne},{pos:P,lineStart:J,curLine:ne}=Dn,ur=P}else Kr===8232||Kr===8233?(++P,++ne,J=P):Kr===10||Kr===13?Ue==="template"?(bt+=g.slice(ur,P)+`
|
|
`,++P,Kr===13&&g.charCodeAt(P)===10&&++P,++ne,ur=J=P):Fe.unterminated(Xe,lt,dt):++P}return{pos:P,str:bt,firstInvalidLoc:Lt,lineStart:J,curLine:ne,containsInvalid:!!Lt}}function qi(Ue,g,P,J){return Ue==="template"?g===96||g===36&&P.charCodeAt(J+1)===123:g===(Ue==="double"?34:39)}function dr(Ue,g,P,J,ne,Fe){let Xe=!ne;g++;let lt=bt=>({pos:g,ch:bt,lineStart:P,curLine:J}),dt=Ue.charCodeAt(g++);switch(dt){case 110:return lt(`
|
|
`);case 114:return lt("\r");case 120:{let bt;return{code:bt,pos:g}=Sr(Ue,g,P,J,2,!1,Xe,Fe),lt(bt===null?null:String.fromCharCode(bt))}case 117:{let bt;return{code:bt,pos:g}=gn(Ue,g,P,J,Xe,Fe),lt(bt===null?null:String.fromCodePoint(bt))}case 116:return lt(" ");case 98:return lt("\b");case 118:return lt("\v");case 102:return lt("\f");case 13:Ue.charCodeAt(g)===10&&++g;case 10:P=g,++J;case 8232:case 8233:return lt("");case 56:case 57:if(ne)return lt(null);Fe.strictNumericEscape(g-1,P,J);default:if(dt>=48&&dt<=55){let bt=g-1,Lt=/^[0-7]+/.exec(Ue.slice(bt,g+2))[0],ur=parseInt(Lt,8);ur>255&&(ur=parseInt(Lt=Lt.slice(0,-1),8)),g+=Lt.length-1;let $r=Ue.charCodeAt(g);if(Lt!=="0"||$r===56||$r===57){if(ne)return lt(null);Fe.strictNumericEscape(bt,P,J)}return lt(String.fromCharCode(ur))}return lt(String.fromCharCode(dt))}}function Sr(Ue,g,P,J,ne,Fe,Xe,lt){let dt,bt=g;return{n:dt,pos:g}=wr(Ue,g,P,J,16,ne,Fe,!1,lt,!Xe),dt===null&&(Xe?lt.invalidEscapeSequence(bt,P,J):g=bt-1),{code:dt,pos:g}}function wr(Ue,g,P,J,ne,Fe,Xe,lt,dt,bt){let Lt=g,ur=ne===16?Fr.hex:Fr.decBinOct,$r=ne===16?Ni:ne===10?zn:ne===8?Nn:Sn,Kr=!1,Dn=0;for(let Zn=0,Di=Fe??1/0;Zn<Di;++Zn){let yi,as=Ue.charCodeAt(g);if(as===95&<!=="bail"){let xa=Ue.charCodeAt(g-1),ua=Ue.charCodeAt(g+1);if(lt){if(Number.isNaN(ua)||!$r(ua)||ur.has(xa)||ur.has(ua)){if(bt)return{n:null,pos:g};dt.unexpectedNumericSeparator(g,P,J)}}else{if(bt)return{n:null,pos:g};dt.numericSeparatorInEscapeSequence(g,P,J)}++g;continue}if(as>=97?yi=as-97+10:as>=65?yi=as-65+10:yi=as>=48&&as<=57?as-48:1/0,yi>=ne){if(yi<=9&&bt)return{n:null,pos:g};if(yi<=9&&dt.invalidDigit(g,P,J,ne))yi=0;else if(Xe)yi=0,Kr=!0;else break}++g,Dn=Dn*ne+yi}return g===Lt||Fe!=null&&g-Lt!==Fe||Kr?{n:null,pos:g}:{n:Dn,pos:g}}function gn(Ue,g,P,J,ne,Fe){let Xe;if(Ue.charCodeAt(g)===123){if(++g,{code:Xe,pos:g}=Sr(Ue,g,P,J,Ue.indexOf("}",g)-g,!0,ne,Fe),++g,Xe!==null&&Xe>1114111)if(ne)Fe.invalidCodePoint(g,P,J);else return{code:null,pos:g}}else({code:Xe,pos:g}=Sr(Ue,g,P,J,4,!1,ne,Fe));return{code:Xe,pos:g}}function vn(Ue,g,P){return new n(P,Ue-g,Ue)}let Gr=new Set([103,109,115,105,121,117,100,118]),Rn=class{constructor(g){let P=g.startIndex||0;this.type=g.type,this.value=g.value,this.start=P+g.start,this.end=P+g.end,this.loc=new c(g.startLoc,g.endLoc)}},Yt=class extends Hr{constructor(g,P){super(),this.isLookahead=void 0,this.tokens=[],this.errorHandlers_readInt={invalidDigit:(J,ne,Fe,Xe)=>!!(2048&this.optionFlags)&&(this.raise(v.InvalidDigit,vn(J,ne,Fe),{radix:Xe}),!0),numericSeparatorInEscapeSequence:this.errorBuilder(v.NumericSeparatorInEscapeSequence),unexpectedNumericSeparator:this.errorBuilder(v.UnexpectedNumericSeparator)},this.errorHandlers_readCodePoint=Object.assign({},this.errorHandlers_readInt,{invalidEscapeSequence:this.errorBuilder(v.InvalidEscapeSequence),invalidCodePoint:this.errorBuilder(v.InvalidCodePoint)}),this.errorHandlers_readStringContents_string=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:(J,ne,Fe)=>{this.recordStrictModeErrors(v.StrictNumericEscape,vn(J,ne,Fe))},unterminated:(J,ne,Fe)=>{throw this.raise(v.UnterminatedString,vn(J-1,ne,Fe))}}),this.errorHandlers_readStringContents_template=Object.assign({},this.errorHandlers_readCodePoint,{strictNumericEscape:this.errorBuilder(v.StrictNumericEscape),unterminated:(J,ne,Fe)=>{throw this.raise(v.UnterminatedTemplate,vn(J,ne,Fe))}}),this.state=new Qr,this.state.init(g),this.input=P,this.length=P.length,this.comments=[],this.isLookahead=!1}pushToken(g){this.tokens.length=this.state.tokensLength,this.tokens.push(g),++this.state.tokensLength}next(){this.checkKeywordEscapes(),256&this.optionFlags&&this.pushToken(new Rn(this.state)),this.state.lastTokEndLoc=this.state.endLoc,this.state.lastTokStartLoc=this.state.startLoc,this.nextToken()}eat(g){return!!this.match(g)&&(this.next(),!0)}match(g){return this.state.type===g}createLookaheadState(g){return{pos:g.pos,value:null,type:g.type,start:g.start,end:g.end,context:[this.curContext()],inType:g.inType,startLoc:g.startLoc,lastTokEndLoc:g.lastTokEndLoc,curLine:g.curLine,lineStart:g.lineStart,curPosition:g.curPosition}}lookahead(){let g=this.state;this.state=this.createLookaheadState(g),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;let P=this.state;return this.state=g,P}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(g){return ln.lastIndex=g,ln.test(this.input)?ln.lastIndex:g}lookaheadCharCode(){return this.lookaheadCharCodeSince(this.state.pos)}lookaheadCharCodeSince(g){return this.input.charCodeAt(this.nextTokenStartSince(g))}nextTokenInLineStart(){return this.nextTokenInLineStartSince(this.state.pos)}nextTokenInLineStartSince(g){return Tn.lastIndex=g,Tn.test(this.input)?Tn.lastIndex:g}lookaheadInLineCharCode(){return this.input.charCodeAt(this.nextTokenInLineStart())}codePointAtPos(g){let P=this.input.charCodeAt(g);if((64512&P)==55296&&++g<this.input.length){let J=this.input.charCodeAt(g);(64512&J)==56320&&(P=65536+((1023&P)<<10)+(1023&J))}return P}setStrict(g){this.state.strict=g,g&&(this.state.strictErrors.forEach(([P,J])=>this.raise(P,J)),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(140):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(g){let P;this.isLookahead||(P=this.state.curPosition());let J=this.state.pos,ne=this.input.indexOf(g,J+2);if(ne===-1)throw this.raise(v.UnterminatedComment,this.state.curPosition());for(this.state.pos=ne+g.length,yr.lastIndex=J+2;yr.test(this.input)&&yr.lastIndex<=ne;)++this.state.curLine,this.state.lineStart=yr.lastIndex;if(this.isLookahead)return;let Fe={type:"CommentBlock",value:this.input.slice(J+2,ne),start:this.sourceToOffsetPos(J),end:this.sourceToOffsetPos(ne+g.length),loc:new c(P,this.state.curPosition())};return 256&this.optionFlags&&this.pushToken(Fe),Fe}skipLineComment(g){let P,J=this.state.pos;this.isLookahead||(P=this.state.curPosition());let ne=this.input.charCodeAt(this.state.pos+=g);if(this.state.pos<this.length)for(;!Pr(ne)&&++this.state.pos<this.length;)ne=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;let Fe=this.state.pos,Xe={type:"CommentLine",value:this.input.slice(J+g,Fe),start:this.sourceToOffsetPos(J),end:this.sourceToOffsetPos(Fe),loc:new c(P,this.state.curPosition())};return 256&this.optionFlags&&this.pushToken(Xe),Xe}skipSpace(){let g=this.state.pos,P=4096&this.optionFlags?[]:null;e:for(;this.state.pos<this.length;){let J=this.input.charCodeAt(this.state.pos);switch(J){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 ne=this.skipBlockComment("*/");ne!==void 0&&(this.addComment(ne),P==null||P.push(ne));break}case 47:{let ne=this.skipLineComment(2);ne!==void 0&&(this.addComment(ne),P==null||P.push(ne));break}default:break e}break;default:if(Pn(J))++this.state.pos;else if(J===45&&!this.inModule&&8192&this.optionFlags){let ne=this.state.pos;if(this.input.charCodeAt(ne+1)===45&&this.input.charCodeAt(ne+2)===62&&(g===0||this.state.lineStart>g)){let Fe=this.skipLineComment(3);Fe!==void 0&&(this.addComment(Fe),P==null||P.push(Fe))}else break e}else if(J===60&&!this.inModule&&8192&this.optionFlags){let ne=this.state.pos;if(this.input.charCodeAt(ne+1)===33&&this.input.charCodeAt(ne+2)===45&&this.input.charCodeAt(ne+3)===45){let Fe=this.skipLineComment(4);Fe!==void 0&&(this.addComment(Fe),P==null||P.push(Fe))}else break e}else break e}}if((P==null?void 0:P.length)>0){let J=this.state.pos,ne={start:this.sourceToOffsetPos(g),end:this.sourceToOffsetPos(J),comments:P,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(ne)}}finishToken(g,P){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();let J=this.state.type;this.state.type=g,this.state.value=P,this.isLookahead||this.updateContext(J)}replaceToken(g){this.state.type=g,this.updateContext()}readToken_numberSign(){if(this.state.pos===0&&this.readToken_interpreter())return;let g=this.state.pos+1,P=this.codePointAtPos(g);if(P>=48&&P<=57)throw this.raise(v.UnexpectedDigitAfterHash,this.state.curPosition());if(P===123||P===91&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),this.getPluginOption("recordAndTuple","syntaxType")==="bar")throw this.raise(P===123?v.RecordExpressionHashIncorrectStartSyntaxType:v.TupleExpressionHashIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,P===123?this.finishToken(7):this.finishToken(1)}else De(P)?(++this.state.pos,this.finishToken(139,this.readWord1(P))):P===92?(++this.state.pos,this.finishToken(139,this.readWord1())):this.finishOp(27,1)}readToken_dot(){let g=this.input.charCodeAt(this.state.pos+1);g>=48&&g<=57?this.readNumber(!0):g===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 g=this.input.charCodeAt(this.state.pos+1);if(g!==33)return!1;let P=this.state.pos;for(this.state.pos+=1;!Pr(g)&&++this.state.pos<this.length;)g=this.input.charCodeAt(this.state.pos);let J=this.input.slice(P+2,this.state.pos);return this.finishToken(28,J),!0}readToken_mult_modulo(g){let P=g===42?55:54,J=1,ne=this.input.charCodeAt(this.state.pos+1);g===42&&ne===42&&(J++,ne=this.input.charCodeAt(this.state.pos+2),P=57),ne!==61||this.state.inType||(J++,P=g===37?33:30),this.finishOp(P,J)}readToken_pipe_amp(g){let P=this.input.charCodeAt(this.state.pos+1);if(P===g)return void(this.input.charCodeAt(this.state.pos+2)===61?this.finishOp(30,3):this.finishOp(g===124?41:42,2));if(g===124){if(P===62)return void this.finishOp(39,2);if(this.hasPlugin("recordAndTuple")&&P===125){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(v.RecordExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(9);return}if(this.hasPlugin("recordAndTuple")&&P===93){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(v.TupleExpressionBarIncorrectEndSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(4);return}}P===61?this.finishOp(30,2):this.finishOp(g===124?43:45,1)}readToken_caret(){let g=this.input.charCodeAt(this.state.pos+1);g!==61||this.state.inType?g===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(g){let P=this.input.charCodeAt(this.state.pos+1);P===g?this.finishOp(34,2):P===61?this.finishOp(30,2):this.finishOp(53,1)}readToken_lt(){let{pos:g}=this.state,P=this.input.charCodeAt(g+1);P===60?this.input.charCodeAt(g+2)===61?this.finishOp(30,3):this.finishOp(51,2):P===61?this.finishOp(49,2):this.finishOp(47,1)}readToken_gt(){let{pos:g}=this.state,P=this.input.charCodeAt(g+1);if(P===62){let J=this.input.charCodeAt(g+2)===62?3:2;return this.input.charCodeAt(g+J)===61?void this.finishOp(30,J+1):void this.finishOp(52,J)}P===61?this.finishOp(49,2):this.finishOp(48,1)}readToken_eq_excl(g){let P=this.input.charCodeAt(this.state.pos+1);if(P===61)return void this.finishOp(46,this.input.charCodeAt(this.state.pos+2)===61?3:2);if(g===61&&P===62){this.state.pos+=2,this.finishToken(19);return}this.finishOp(g===61?29:35,1)}readToken_question(){let g=this.input.charCodeAt(this.state.pos+1),P=this.input.charCodeAt(this.state.pos+2);g===63?P===61?this.finishOp(30,3):this.finishOp(40,2):g!==46||P>=48&&P<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(g){switch(g){case 46:this.readToken_dot();return;case 40:++this.state.pos,this.finishToken(10);return;case 41:++this.state.pos,this.finishToken(11);return;case 59:++this.state.pos,this.finishToken(13);return;case 44:++this.state.pos,this.finishToken(12);return;case 91:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(v.TupleExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:++this.state.pos,this.finishToken(3);return;case 123:if(this.hasPlugin("recordAndTuple")&&this.input.charCodeAt(this.state.pos+1)===124){if(this.getPluginOption("recordAndTuple","syntaxType")!=="bar")throw this.raise(v.RecordExpressionBarIncorrectStartSyntaxType,this.state.curPosition());this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:++this.state.pos,this.finishToken(8);return;case 58:this.hasPlugin("functionBind")&&this.input.charCodeAt(this.state.pos+1)===58?this.finishOp(15,2):(++this.state.pos,this.finishToken(14));return;case 63:this.readToken_question();return;case 96:this.readTemplateToken();return;case 48:{let P=this.input.charCodeAt(this.state.pos+1);if(P===120||P===88)return void this.readRadixNumber(16);if(P===111||P===79)return void this.readRadixNumber(8);if(P===98||P===66)return void this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:this.readNumber(!1);return;case 34:case 39:this.readString(g);return;case 47:this.readToken_slash();return;case 37:case 42:this.readToken_mult_modulo(g);return;case 124:case 38:this.readToken_pipe_amp(g);return;case 94:this.readToken_caret();return;case 43:case 45:this.readToken_plus_min(g);return;case 60:this.readToken_lt();return;case 62:this.readToken_gt();return;case 61:case 33:this.readToken_eq_excl(g);return;case 126:this.finishOp(36,1);return;case 64:this.readToken_atSign();return;case 35:this.readToken_numberSign();return;case 92:this.readWord();return;default:if(De(g))return void this.readWord(g)}throw this.raise(v.InvalidOrUnexpectedToken,this.state.curPosition(),{unexpected:String.fromCodePoint(g)})}finishOp(g,P){let J=this.input.slice(this.state.pos,this.state.pos+P);this.state.pos+=P,this.finishToken(g,J)}readRegexp(){let g,P,J=this.state.startLoc,ne=this.state.start+1,{pos:Fe}=this.state;for(;;++Fe){if(Fe>=this.length)throw this.raise(v.UnterminatedRegExp,p(J,1));let bt=this.input.charCodeAt(Fe);if(Pr(bt))throw this.raise(v.UnterminatedRegExp,p(J,1));if(g)g=!1;else{if(bt===91)P=!0;else if(bt===93&&P)P=!1;else if(bt===47&&!P)break;g=bt===92}}let Xe=this.input.slice(ne,Fe);++Fe;let lt="",dt=()=>p(J,Fe+2-ne);for(;Fe<this.length;){let bt=this.codePointAtPos(Fe),Lt=String.fromCharCode(bt);if(Gr.has(bt))bt===118?lt.includes("u")&&this.raise(v.IncompatibleRegExpUVFlags,dt()):bt===117&<.includes("v")&&this.raise(v.IncompatibleRegExpUVFlags,dt()),lt.includes(Lt)&&this.raise(v.DuplicateRegExpFlags,dt());else if(ze(bt)||bt===92)this.raise(v.MalformedRegExpFlags,dt());else break;++Fe,lt+=Lt}this.state.pos=Fe,this.finishToken(138,{pattern:Xe,flags:lt})}readInt(g,P,J=!1,ne=!0){let{n:Fe,pos:Xe}=wr(this.input,this.state.pos,this.state.lineStart,this.state.curLine,g,P,J,ne,this.errorHandlers_readInt,!1);return this.state.pos=Xe,Fe}readRadixNumber(g){let P=this.state.pos,J=this.state.curPosition(),ne=!1;this.state.pos+=2;let Fe=this.readInt(g);Fe==null&&this.raise(v.InvalidDigit,p(J,2),{radix:g});let Xe=this.input.charCodeAt(this.state.pos);if(Xe===110)++this.state.pos,ne=!0;else if(Xe===109)throw this.raise(v.InvalidDecimal,J);if(De(this.codePointAtPos(this.state.pos)))throw this.raise(v.NumberIdentifier,this.state.curPosition());if(ne){let lt=this.input.slice(P,this.state.pos).replace(/[_n]/g,"");this.finishToken(136,lt);return}this.finishToken(135,Fe)}readNumber(g){let P=this.state.pos,J=this.state.curPosition(),ne=!1,Fe=!1,Xe=!1,lt=!1;g||this.readInt(10)!==null||this.raise(v.InvalidNumber,this.state.curPosition());let dt=this.state.pos-P>=2&&this.input.charCodeAt(P)===48;if(dt){let Kr=this.input.slice(P,this.state.pos);if(this.recordStrictModeErrors(v.StrictOctalLiteral,J),!this.state.strict){let Dn=Kr.indexOf("_");Dn>0&&this.raise(v.ZeroDigitNumericSeparator,p(J,Dn))}lt=dt&&!/[89]/.test(Kr)}let bt=this.input.charCodeAt(this.state.pos);if(bt!==46||lt||(++this.state.pos,this.readInt(10),ne=!0,bt=this.input.charCodeAt(this.state.pos)),bt!==69&&bt!==101||lt||(((bt=this.input.charCodeAt(++this.state.pos))===43||bt===45)&&++this.state.pos,this.readInt(10)===null&&this.raise(v.InvalidOrMissingExponent,J),ne=!0,Xe=!0,bt=this.input.charCodeAt(this.state.pos)),bt===110&&((ne||dt)&&this.raise(v.InvalidBigIntLiteral,J),++this.state.pos,Fe=!0),bt===109){this.expectPlugin("decimal",this.state.curPosition()),(Xe||dt)&&this.raise(v.InvalidDecimal,J),++this.state.pos;var Lt=!0}if(De(this.codePointAtPos(this.state.pos)))throw this.raise(v.NumberIdentifier,this.state.curPosition());let ur=this.input.slice(P,this.state.pos).replace(/[_mn]/g,"");if(Fe)return void this.finishToken(136,ur);if(Lt)return void this.finishToken(137,ur);let $r=lt?parseInt(ur,8):parseFloat(ur);this.finishToken(135,$r)}readCodePoint(g){let{code:P,pos:J}=gn(this.input,this.state.pos,this.state.lineStart,this.state.curLine,g,this.errorHandlers_readCodePoint);return this.state.pos=J,P}readString(g){let{str:P,pos:J,curLine:ne,lineStart:Fe}=Fi(g===34?"double":"single",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_string);this.state.pos=J+1,this.state.lineStart=Fe,this.state.curLine=ne,this.finishToken(134,P)}readTemplateContinuation(){this.match(8)||this.unexpected(null,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let g=this.input[this.state.pos],{str:P,firstInvalidLoc:J,pos:ne,curLine:Fe,lineStart:Xe}=Fi("template",this.input,this.state.pos+1,this.state.lineStart,this.state.curLine,this.errorHandlers_readStringContents_template);this.state.pos=ne+1,this.state.lineStart=Xe,this.state.curLine=Fe,J&&(this.state.firstInvalidTemplateEscapePos=new n(J.curLine,J.pos-J.lineStart,this.sourceToOffsetPos(J.pos))),this.input.codePointAt(ne)===96?this.finishToken(24,J?null:g+P+"`"):(this.state.pos++,this.finishToken(25,J?null:g+P+"${"))}recordStrictModeErrors(g,P){let J=P.index;this.state.strict&&!this.state.strictErrors.has(J)?this.raise(g,P):this.state.strictErrors.set(J,[g,P])}readWord1(g){this.state.containsEsc=!1;let P="",J=this.state.pos,ne=this.state.pos;for(g!==void 0&&(this.state.pos+=g<=65535?1:2);this.state.pos<this.length;){let Fe=this.codePointAtPos(this.state.pos);if(ze(Fe))this.state.pos+=Fe<=65535?1:2;else if(Fe===92){this.state.containsEsc=!0,P+=this.input.slice(ne,this.state.pos);let Xe=this.state.curPosition(),lt=this.state.pos===J?De:ze;if(this.input.charCodeAt(++this.state.pos)!==117){this.raise(v.MissingUnicodeEscape,this.state.curPosition()),ne=this.state.pos-1;continue}++this.state.pos;let dt=this.readCodePoint(!0);dt!==null&&(lt(dt)||this.raise(v.EscapedCharNotAnIdentifier,Xe),P+=String.fromCodePoint(dt)),ne=this.state.pos}else break}return P+this.input.slice(ne,this.state.pos)}readWord(g){let P=this.readWord1(g),J=U.get(P);J!==void 0?this.finishToken(J,V[J]):this.finishToken(132,P)}checkKeywordEscapes(){let{type:g}=this.state;Oe(g)&&this.state.containsEsc&&this.raise(v.InvalidEscapedReservedWord,this.state.startLoc,{reservedWord:V[g]})}raise(g,P,J={}){let ne=g(P instanceof n?P:P.loc.start,J);if(!(2048&this.optionFlags))throw ne;return this.isLookahead||this.state.errors.push(ne),ne}raiseOverwrite(g,P,J={}){let ne=P instanceof n?P:P.loc.start,Fe=ne.index,Xe=this.state.errors;for(let lt=Xe.length-1;lt>=0;lt--){let dt=Xe[lt];if(dt.loc.index===Fe)return Xe[lt]=g(ne,J);if(dt.loc.index<Fe)break}return this.raise(g,P,J)}updateContext(g){}unexpected(g,P){throw this.raise(v.UnexpectedToken,g??this.state.startLoc,{expected:P?V[P]:null})}expectPlugin(g,P){if(this.hasPlugin(g))return!0;throw this.raise(v.MissingPlugin,P??this.state.startLoc,{missingPlugin:[g]})}expectOnePlugin(g){if(!g.some(P=>this.hasPlugin(P)))throw this.raise(v.MissingOneOfPlugins,this.state.startLoc,{missingPlugin:g})}errorBuilder(g){return(P,J,ne)=>{this.raise(g,vn(P,J,ne))}}},Qt=class{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}},kt=class{constructor(g){this.parser=void 0,this.stack=[],this.undefinedPrivateNames=new Map,this.parser=g}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Qt)}exit(){let g=this.stack.pop(),P=this.current();for(let[J,ne]of Array.from(g.undefinedPrivateNames))P?P.undefinedPrivateNames.has(J)||P.undefinedPrivateNames.set(J,ne):this.parser.raise(v.InvalidPrivateFieldResolution,ne,{identifierName:J})}declarePrivateName(g,P,J){let{privateNames:ne,loneAccessors:Fe,undefinedPrivateNames:Xe}=this.current(),lt=ne.has(g);if(3&P){let dt=lt&&Fe.get(g);if(dt){let bt=4&P;(lt=(3&dt)==(3&P)||(4&dt)!==bt)||Fe.delete(g)}else lt||Fe.set(g,P)}lt&&this.parser.raise(v.PrivateNameRedeclaration,J,{identifierName:g}),ne.add(g),Xe.delete(g)}usePrivateName(g,P){let J;for(J of this.stack)if(J.privateNames.has(g))return;J?J.undefinedPrivateNames.set(g,P):this.parser.raise(v.InvalidPrivateFieldResolution,P,{identifierName:g})}},vr=class{constructor(g=0){this.type=g}canBeArrowParameterDeclaration(){return this.type===2||this.type===1}isCertainlyParameterDeclaration(){return this.type===3}},_r=class extends vr{constructor(g){super(g),this.declarationErrors=new Map}recordDeclarationError(g,P){let J=P.index;this.declarationErrors.set(J,[g,P])}clearDeclarationError(g){this.declarationErrors.delete(g)}iterateErrors(g){this.declarationErrors.forEach(g)}},Xr=class{constructor(g){this.parser=void 0,this.stack=[new vr],this.parser=g}enter(g){this.stack.push(g)}exit(){this.stack.pop()}recordParameterInitializerError(g,P){let J=P.loc.start,{stack:ne}=this,Fe=ne.length-1,Xe=ne[Fe];for(;!Xe.isCertainlyParameterDeclaration();){if(!Xe.canBeArrowParameterDeclaration())return;Xe.recordDeclarationError(g,J),Xe=ne[--Fe]}this.parser.raise(g,J)}recordArrowParameterBindingError(g,P){let{stack:J}=this,ne=J[J.length-1],Fe=P.loc.start;if(ne.isCertainlyParameterDeclaration())this.parser.raise(g,Fe);else{if(!ne.canBeArrowParameterDeclaration())return;ne.recordDeclarationError(g,Fe)}}recordAsyncArrowParametersError(g){let{stack:P}=this,J=P.length-1,ne=P[J];for(;ne.canBeArrowParameterDeclaration();)ne.type===2&&ne.recordDeclarationError(v.AwaitBindingIdentifier,g),ne=P[--J]}validateAsPattern(){let{stack:g}=this,P=g[g.length-1];P.canBeArrowParameterDeclaration()&&P.iterateErrors(([J,ne])=>{this.parser.raise(J,ne);let Fe=g.length-2,Xe=g[Fe];for(;Xe.canBeArrowParameterDeclaration();)Xe.clearDeclarationError(ne.index),Xe=g[--Fe]})}};function Xt(){return new vr(3)}function jr(){return new _r(1)}function tn(){return new _r(2)}let un=class extends Yt{addExtra(g,P,J,ne=!0){if(!g)return;let{extra:Fe}=g;Fe==null&&(g.extra=Fe={}),ne?Fe[P]=J:Object.defineProperty(Fe,P,{enumerable:ne,value:J})}isContextual(g){return this.state.type===g&&!this.state.containsEsc}isUnparsedContextual(g,P){if(this.input.startsWith(P,g)){let J=this.input.charCodeAt(g+P.length);return!(ze(J)||(64512&J)==55296)}return!1}isLookaheadContextual(g){let P=this.nextTokenStart();return this.isUnparsedContextual(P,g)}eatContextual(g){return!!this.isContextual(g)&&(this.next(),!0)}expectContextual(g,P){if(!this.eatContextual(g)){if(P!=null)throw this.raise(P,this.state.startLoc);this.unexpected(null,g)}}canInsertSemicolon(){return this.match(140)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return Rr(this.input,this.offsetToSourcePos(this.state.lastTokEndLoc.index),this.state.start)}hasFollowingLineBreak(){return Rr(this.input,this.state.end,this.nextTokenStart())}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(g=!0){(g?this.isLineTerminator():this.eat(13))||this.raise(v.MissingSemicolon,this.state.lastTokEndLoc)}expect(g,P){this.eat(g)||this.unexpected(P,g)}tryParse(g,P=this.state.clone()){let J={node:null};try{let ne=g((Fe=null)=>{throw J.node=Fe,J});if(this.state.errors.length>P.errors.length){let Fe=this.state;return this.state=P,this.state.tokensLength=Fe.tokensLength,{node:ne,error:Fe.errors[P.errors.length],thrown:!1,aborted:!1,failState:Fe}}return{node:ne,error:null,thrown:!1,aborted:!1,failState:null}}catch(ne){let Fe=this.state;if(this.state=P,ne instanceof SyntaxError)return{node:null,error:ne,thrown:!0,aborted:!1,failState:Fe};if(ne===J)return{node:J.node,error:null,thrown:!1,aborted:!0,failState:Fe};throw ne}}checkExpressionErrors(g,P){if(!g)return!1;let{shorthandAssignLoc:J,doubleProtoLoc:ne,privateKeyLoc:Fe,optionalParametersLoc:Xe,voidPatternLoc:lt}=g,dt=!!J||!!ne||!!Xe||!!Fe||!!lt;if(!P)return dt;J!=null&&this.raise(v.InvalidCoverInitializedName,J),ne!=null&&this.raise(v.DuplicateProto,ne),Fe!=null&&this.raise(v.UnexpectedPrivateField,Fe),Xe!=null&&this.unexpected(Xe),lt!=null&&this.raise(v.InvalidCoverDiscardElement,lt)}isLiteralPropertyName(){return be(this.state.type)}isPrivateName(g){return g.type==="PrivateName"}getPrivateNameSV(g){return g.id.name}hasPropertyAsPrivateName(g){return(g.type==="MemberExpression"||g.type==="OptionalMemberExpression")&&this.isPrivateName(g.property)}isObjectProperty(g){return g.type==="ObjectProperty"}isObjectMethod(g){return g.type==="ObjectMethod"}initializeScopes(g=this.options.sourceType==="module"){let P=this.state.labels;this.state.labels=[];let J=this.exportedIdentifiers;this.exportedIdentifiers=new Set;let ne=this.inModule;this.inModule=g;let Fe=this.scope,Xe=this.getScopeHandler();this.scope=new Xe(this,g);let lt=this.prodParam;this.prodParam=new At;let dt=this.classScope;this.classScope=new kt(this);let bt=this.expressionScope;return this.expressionScope=new Xr(this),()=>{this.state.labels=P,this.exportedIdentifiers=J,this.inModule=ne,this.scope=Fe,this.prodParam=lt,this.classScope=dt,this.expressionScope=bt}}enterInitialScopes(){let g=0;(this.inModule||1&this.optionFlags)&&(g|=2),32&this.optionFlags&&(g|=1);let P=!this.inModule&&this.options.sourceType==="commonjs";(P||2&this.optionFlags)&&(g|=4),this.prodParam.enter(g);let J=P?514:1;4&this.optionFlags&&(J|=512),this.scope.enter(J)}checkDestructuringPrivate(g){let{privateKeyLoc:P}=g;P!==null&&this.expectPlugin("destructuringPrivate",P)}},xn=class{constructor(){this.shorthandAssignLoc=null,this.doubleProtoLoc=null,this.privateKeyLoc=null,this.optionalParametersLoc=null,this.voidPatternLoc=null}},fn=class{constructor(g,P,J){this.type="",this.start=P,this.end=0,this.loc=new c(J),(g==null?void 0:g.optionFlags)&128&&(this.range=[P,0]),g!=null&&g.filename&&(this.loc.filename=g.filename)}},_n=fn.prototype;_n.__clone=function(){let Ue=new fn(void 0,this.start,this.loc.start),g=Object.keys(this);for(let P=0,J=g.length;P<J;P++){let ne=g[P];ne!=="leadingComments"&&ne!=="trailingComments"&&ne!=="innerComments"&&(Ue[ne]=this[ne])}return Ue};let Ti=class extends un{startNode(){let g=this.state.startLoc;return new fn(this,g.index,g)}startNodeAt(g){return new fn(this,g.index,g)}startNodeAtNode(g){return this.startNodeAt(g.loc.start)}finishNode(g,P){return this.finishNodeAt(g,P,this.state.lastTokEndLoc)}finishNodeAt(g,P,J){return g.type=P,g.end=J.index,g.loc.end=J,128&this.optionFlags&&(g.range[1]=J.index),4096&this.optionFlags&&this.processComment(g),g}resetStartLocation(g,P){g.start=P.index,g.loc.start=P,128&this.optionFlags&&(g.range[0]=P.index)}resetEndLocation(g,P=this.state.lastTokEndLoc){g.end=P.index,g.loc.end=P,128&this.optionFlags&&(g.range[1]=P.index)}resetStartLocationFromNode(g,P){this.resetStartLocation(g,P.loc.start)}castNodeTo(g,P){return g.type=P,g}cloneIdentifier(g){let{type:P,start:J,end:ne,loc:Fe,range:Xe,name:lt}=g,dt=Object.create(_n);return dt.type=P,dt.start=J,dt.end=ne,dt.loc=Fe,dt.range=Xe,dt.name=lt,g.extra&&(dt.extra=g.extra),dt}cloneStringLiteral(g){let{type:P,start:J,end:ne,loc:Fe,range:Xe,extra:lt}=g,dt=Object.create(_n);return dt.type=P,dt.start=J,dt.end=ne,dt.loc=Fe,dt.range=Xe,dt.extra=lt,dt.value=g.value,dt}},di=Ue=>Ue.type==="ParenthesizedExpression"?di(Ue.expression):Ue,an=class extends Ti{toAssignable(g,P=!1){var J,ne,Fe;let Xe;switch((g.type==="ParenthesizedExpression"||(J=g.extra)!=null&&J.parenthesized)&&(Xe=di(g),P?Xe.type==="Identifier"?this.expressionScope.recordArrowParameterBindingError(v.InvalidParenthesizedAssignment,g):Xe.type!=="MemberExpression"&&!this.isOptionalMemberExpression(Xe)&&this.raise(v.InvalidParenthesizedAssignment,g):this.raise(v.InvalidParenthesizedAssignment,g)),g.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":break;case"ObjectExpression":this.castNodeTo(g,"ObjectPattern");for(let lt=0,dt=g.properties.length,bt=dt-1;lt<dt;lt++){let Lt=g.properties[lt],ur=lt===bt;this.toAssignableObjectExpressionProp(Lt,ur,P),ur&&Lt.type==="RestElement"&&(Fe=g.extra)!=null&&Fe.trailingCommaLoc&&this.raise(v.RestTrailingComma,g.extra.trailingCommaLoc)}break;case"ObjectProperty":{let{key:lt,value:dt}=g;this.isPrivateName(lt)&&this.classScope.usePrivateName(this.getPrivateNameSV(lt),lt.loc.start),this.toAssignable(dt,P);break}case"SpreadElement":throw Error("Internal @babel/parser error (this is a bug, please report it). SpreadElement should be converted by .toAssignable's caller.");case"ArrayExpression":this.castNodeTo(g,"ArrayPattern"),this.toAssignableList(g.elements,(ne=g.extra)==null?void 0:ne.trailingCommaLoc,P);break;case"AssignmentExpression":g.operator!=="="&&this.raise(v.MissingEqInAssignment,g.left.loc.end),this.castNodeTo(g,"AssignmentPattern"),delete g.operator,g.left.type==="VoidPattern"&&this.raise(v.VoidPatternInitializer,g.left),this.toAssignable(g.left,P);break;case"ParenthesizedExpression":this.toAssignable(Xe,P)}}toAssignableObjectExpressionProp(g,P,J){if(g.type==="ObjectMethod")this.raise(g.kind==="get"||g.kind==="set"?v.PatternHasAccessor:v.PatternHasMethod,g.key);else if(g.type==="SpreadElement"){this.castNodeTo(g,"RestElement");let ne=g.argument;this.checkToRestConversion(ne,!1),this.toAssignable(ne,J),P||this.raise(v.RestTrailingComma,g)}else this.toAssignable(g,J)}toAssignableList(g,P,J){let ne=g.length-1;for(let Fe=0;Fe<=ne;Fe++){let Xe=g[Fe];Xe&&(this.toAssignableListItem(g,Fe,J),Xe.type==="RestElement"&&(Fe<ne?this.raise(v.RestTrailingComma,Xe):P&&this.raise(v.RestTrailingComma,P)))}}toAssignableListItem(g,P,J){let ne=g[P];if(ne.type==="SpreadElement"){this.castNodeTo(ne,"RestElement");let Fe=ne.argument;this.checkToRestConversion(Fe,!0),this.toAssignable(Fe,J)}else this.toAssignable(ne,J)}isAssignable(g,P){switch(g.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":case"VoidPattern":return!0;case"ObjectExpression":{let J=g.properties.length-1;return g.properties.every((ne,Fe)=>ne.type!=="ObjectMethod"&&(Fe===J||ne.type!=="SpreadElement")&&this.isAssignable(ne))}case"ObjectProperty":return this.isAssignable(g.value);case"SpreadElement":return this.isAssignable(g.argument);case"ArrayExpression":return g.elements.every(J=>J===null||this.isAssignable(J));case"AssignmentExpression":return g.operator==="=";case"ParenthesizedExpression":return this.isAssignable(g.expression);case"MemberExpression":case"OptionalMemberExpression":return!P;default:return!1}}toReferencedList(g,P){return g}toReferencedListDeep(g,P){for(let J of(this.toReferencedList(g,P),g))(J==null?void 0:J.type)==="ArrayExpression"&&this.toReferencedListDeep(J.elements)}parseSpread(g){let P=this.startNode();return this.next(),P.argument=this.parseMaybeAssignAllowIn(g,void 0),this.finishNode(P,"SpreadElement")}parseRestBinding(){let g=this.startNode();this.next();let P=this.parseBindingAtom();return P.type==="VoidPattern"&&this.raise(v.UnexpectedVoidPattern,P),g.argument=P,this.finishNode(g,"RestElement")}parseBindingAtom(){switch(this.state.type){case 0:{let g=this.startNode();return this.next(),g.elements=this.parseBindingList(3,93,1),this.finishNode(g,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0);case 88:return this.parseVoidPattern(null)}return this.parseIdentifier()}parseBindingList(g,P,J){let ne=1&J,Fe=[],Xe=!0;for(;!this.eat(g);)if(Xe?Xe=!1:this.expect(12),ne&&this.match(12))Fe.push(null);else{if(this.eat(g))break;if(this.match(21)){let lt=this.parseRestBinding();if((this.hasPlugin("flow")||2&J)&&(lt=this.parseFunctionParamType(lt)),Fe.push(lt),!this.checkCommaAfterRest(P)){this.expect(g);break}}else{let lt=[];if(2&J)for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(v.UnsupportedParameterDecorator,this.state.startLoc);this.match(26);)lt.push(this.parseDecorator());Fe.push(this.parseBindingElement(J,lt))}}return Fe}parseBindingRestProperty(g){return this.next(),this.hasPlugin("discardBinding")&&this.match(88)?(g.argument=this.parseVoidPattern(null),this.raise(v.UnexpectedVoidPattern,g.argument)):g.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(g,"RestElement")}parseBindingProperty(){let{type:g,startLoc:P}=this.state;if(g===21)return this.parseBindingRestProperty(this.startNode());let J=this.startNode();return g===139?(this.expectPlugin("destructuringPrivate",P),this.classScope.usePrivateName(this.state.value,P),J.key=this.parsePrivateName()):this.parsePropertyName(J),J.method=!1,this.parseObjPropValue(J,P,!1,!1,!0,!1)}parseBindingElement(g,P){let J=this.parseMaybeDefault();return(this.hasPlugin("flow")||2&g)&&this.parseFunctionParamType(J),P.length&&(J.decorators=P,this.resetStartLocationFromNode(J,P[0])),this.parseMaybeDefault(J.loc.start,J)}parseFunctionParamType(g){return g}parseMaybeDefault(g,P){if(g!=null||(g=this.state.startLoc),P=P??this.parseBindingAtom(),!this.eat(29))return P;let J=this.startNodeAt(g);return P.type==="VoidPattern"&&this.raise(v.VoidPatternInitializer,P),J.left=P,J.right=this.parseMaybeAssignAllowIn(),this.finishNode(J,"AssignmentPattern")}isValidLVal(g,P,J){switch(g){case"AssignmentPattern":return"left";case"RestElement":return"argument";case"ObjectProperty":return"value";case"ParenthesizedExpression":return"expression";case"ArrayPattern":return"elements";case"ObjectPattern":return"properties";case"VoidPattern":return!0}return!1}isOptionalMemberExpression(g){return g.type==="OptionalMemberExpression"}checkLVal(g,P,J=64,ne=!1,Fe=!1,Xe=!1){var lt;let dt,bt,Lt=g.type;if(this.isObjectMethod(g))return;let ur=this.isOptionalMemberExpression(g);if(ur||Lt==="MemberExpression"){ur&&(this.expectPlugin("optionalChainingAssign",g.loc.start),P.type!=="AssignmentExpression"&&this.raise(v.InvalidLhsOptionalChaining,g,{ancestor:P})),J!==64&&this.raise(v.InvalidPropertyBindingPattern,g);return}if(Lt==="Identifier"){this.checkIdentifier(g,J,Fe);let{name:Zn}=g;ne&&(ne.has(Zn)?this.raise(v.ParamDupe,g):ne.add(Zn));return}Lt==="VoidPattern"&&P.type==="CatchClause"&&this.raise(v.VoidPatternCatchClauseParam,g);let $r=this.isValidLVal(Lt,!(Xe||(lt=g.extra)!=null&<.parenthesized)&&P.type==="AssignmentExpression",J);if($r===!0)return;if($r===!1){let Zn=J===64?v.InvalidLhs:v.InvalidLhsBinding;this.raise(Zn,g,{ancestor:P});return}typeof $r=="string"?(dt=$r,bt=Lt==="ParenthesizedExpression"):[dt,bt]=$r;let Kr=Lt==="ArrayPattern"||Lt==="ObjectPattern"?{type:Lt}:P,Dn=g[dt];if(Array.isArray(Dn))for(let Zn of Dn)Zn&&this.checkLVal(Zn,Kr,J,ne,Fe,bt);else Dn&&this.checkLVal(Dn,Kr,J,ne,Fe,bt)}checkIdentifier(g,P,J=!1){var ne;this.state.strict&&(J?le(g.name,this.inModule):(ne=g.name,ge.has(ne)))&&(P===64?this.raise(v.StrictEvalArguments,g,{referenceName:g.name}):this.raise(v.StrictEvalArgumentsBinding,g,{bindingName:g.name})),8192&P&&g.name==="let"&&this.raise(v.LetInLexicalBinding,g),64&P||this.declareNameFromIdentifier(g,P)}declareNameFromIdentifier(g,P){this.scope.declareName(g.name,P,g.loc.start)}checkToRestConversion(g,P){switch(g.type){case"ParenthesizedExpression":this.checkToRestConversion(g.expression,P);break;case"Identifier":case"MemberExpression":break;case"ArrayExpression":case"ObjectExpression":if(P)break;default:this.raise(v.InvalidRestAssignmentPattern,g)}}checkCommaAfterRest(g){return!!this.match(12)&&(this.raise(this.lookaheadCharCode()===g?v.RestTrailingComma:v.ElementAfterRest,this.state.startLoc),!0)}};function Qn(Ue){if(Ue==null)throw Error(`Unexpected ${Ue} value.`);return Ue}function Wi(Ue){if(!Ue)throw Error("Assert fail")}let kr=x`typescript`({AbstractMethodHasImplementation:({methodName:Ue})=>`Method '${Ue}' cannot have an implementation because it is marked abstract.`,AbstractPropertyHasInitializer:({propertyName:Ue})=>`Property '${Ue}' cannot have an initializer because it is marked abstract.`,AccessorCannotBeOptional:"An 'accessor' property cannot be declared optional.",AccessorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccessorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference:"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:Ue})=>`'declare' is not allowed in ${Ue}ters.`,DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:({modifier:Ue})=>`Accessibility modifier already seen: '${Ue}'.`,DuplicateModifier:({modifier:Ue})=>`Duplicate modifier: '${Ue}'.`,EmptyHeritageClauseType:({token:Ue})=>`'${Ue}' 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:Ue})=>`'${Ue[0]}' modifier cannot be used with '${Ue[1]}' modifier.`,IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:({modifier:Ue})=>`Index signatures cannot have an accessibility modifier ('${Ue}').`,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.",InvalidHeritageClauseType:({token:Ue})=>`'${Ue}' list can only include identifiers or qualified-names with optional type arguments.`,InvalidModifierOnAwaitUsingDeclaration:Ue=>`'${Ue}' modifier cannot appear on an await using declaration.`,InvalidModifierOnTypeMember:({modifier:Ue})=>`'${Ue}' modifier cannot appear on a type member.`,InvalidModifierOnTypeParameter:({modifier:Ue})=>`'${Ue}' modifier cannot appear on a type parameter.`,InvalidModifierOnTypeParameterPositions:({modifier:Ue})=>`'${Ue}' modifier can only appear on a type parameter of a class, interface or type alias.`,InvalidModifierOnUsingDeclaration:Ue=>`'${Ue}' modifier cannot appear on a using declaration.`,InvalidModifiersOrder:({orderedModifiers:Ue})=>`'${Ue[0]}' modifier must precede '${Ue[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.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifier:"'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:Ue})=>`Private elements cannot have an accessibility modifier ('${Ue}').`,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.",SetAccessorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccessorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccessorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:({typeParameterName:Ue})=>`Single type parameter ${Ue} should have a trailing comma. Example usage: <${Ue},>.`,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:Ue})=>`Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got ${Ue}.`,UsingDeclarationInAmbientContext:Ue=>`'${Ue}' declarations are not allowed in ambient contexts.`});function ss(Ue){switch(Ue){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}}function Vr(Ue){return Ue==="private"||Ue==="public"||Ue==="protected"}function Qi(Ue){return Ue==="in"||Ue==="out"}function $i(Ue){if(Ue.type!=="MemberExpression")return!1;let{computed:g,property:P}=Ue;return(!g||P.type==="StringLiteral"||P.type==="TemplateLiteral"&&!(P.expressions.length>0))&&Ur(Ue.object)}function Cn(Ue,g){var P;let{type:J}=Ue;if((P=Ue.extra)!=null&&P.parenthesized)return!1;if(g){if(J==="Literal"){let{value:ne}=Ue;if(typeof ne=="string"||typeof ne=="boolean")return!0}}else if(J==="StringLiteral"||J==="BooleanLiteral")return!0;return!!(Js(Ue,g)||Ns(Ue,g)||J==="TemplateLiteral"&&Ue.expressions.length===0||$i(Ue))}function Js(Ue,g){return g?Ue.type==="Literal"&&(typeof Ue.value=="number"||"bigint"in Ue):Ue.type==="NumericLiteral"||Ue.type==="BigIntLiteral"}function Ns(Ue,g){if(Ue.type==="UnaryExpression"){let{operator:P,argument:J}=Ue;if(P==="-"&&Js(J,g))return!0}return!1}function Ur(Ue){return Ue.type==="Identifier"||Ue.type==="MemberExpression"&&!Ue.computed&&Ur(Ue.object)}let Zi=x`placeholders`({ClassNameIsRequired:"A class name is required.",UnexpectedSpace:"Unexpected space in placeholder."}),He=["minimal","fsharp","hack","smart"],T=["^^","@@","^","%","#"];function I(Ue){if(Ue.has("decorators")){if(Ue.has("decorators-legacy"))throw Error("Cannot use the decorators and decorators-legacy plugin together");let J=Ue.get("decorators").decoratorsBeforeExport;if(J!=null&&typeof J!="boolean")throw Error("'decoratorsBeforeExport' must be a boolean, if specified.");let ne=Ue.get("decorators").allowCallParenthesized;if(ne!=null&&typeof ne!="boolean")throw Error("'allowCallParenthesized' must be a boolean.")}if(Ue.has("flow")&&Ue.has("typescript"))throw Error("Cannot combine flow and typescript plugins.");if(Ue.has("placeholders")&&Ue.has("v8intrinsic"))throw Error("Cannot combine placeholders and v8intrinsic plugins.");if(Ue.has("pipelineOperator")){var g,P;let J=Ue.get("pipelineOperator").proposal;if(!He.includes(J)){let ne=He.map(Fe=>`"${Fe}"`).join(", ");throw Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${ne}.`)}if(J==="hack"){if(Ue.has("placeholders"))throw Error("Cannot combine placeholders plugin and Hack-style pipes.");if(Ue.has("v8intrinsic"))throw Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");let ne=Ue.get("pipelineOperator").topicToken;if(!T.includes(ne)){let Fe=T.map(Xe=>`"${Xe}"`).join(", ");throw Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${Fe}.`)}if(ne==="#"&&((P=Ue.get("recordAndTuple"))==null?void 0:P.syntaxType)==="hash")throw Error(`Plugin conflict between \`["pipelineOperator", { proposal: "hack", topicToken: "#" }]\` and \`${JSON.stringify(["recordAndTuple",Ue.get("recordAndTuple")])}\`.`)}else if(J==="smart"&&((g=Ue.get("recordAndTuple"))==null?void 0:g.syntaxType)==="hash")throw Error(`Plugin conflict between \`["pipelineOperator", { proposal: "smart" }]\` and \`${JSON.stringify(["recordAndTuple",Ue.get("recordAndTuple")])}\`.`)}if(Ue.has("moduleAttributes")){if(Ue.has("deprecatedImportAssert")||Ue.has("importAssertions"))throw Error("Cannot combine importAssertions, deprecatedImportAssert and moduleAttributes plugins.");if(Ue.get("moduleAttributes").version!=="may-2020")throw Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(Ue.has("importAssertions")&&Ue.has("deprecatedImportAssert"))throw Error("Cannot combine importAssertions and deprecatedImportAssert plugins.");if(!Ue.has("deprecatedImportAssert")&&Ue.has("importAttributes")&&Ue.get("importAttributes").deprecatedAssertSyntax&&Ue.set("deprecatedImportAssert",{}),Ue.has("recordAndTuple")){let J=Ue.get("recordAndTuple").syntaxType;if(J!=null){let ne=["hash","bar"];if(!ne.includes(J))throw Error("The 'syntaxType' option of the 'recordAndTuple' plugin must be one of: "+ne.map(Fe=>`'${Fe}'`).join(", "))}}if(Ue.has("asyncDoExpressions")&&!Ue.has("doExpressions")){let J=Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw J.missingPlugins="doExpressions",J}if(Ue.has("optionalChainingAssign")&&Ue.get("optionalChainingAssign").version!=="2023-07")throw Error("The 'optionalChainingAssign' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is '2023-07'.");if(Ue.has("discardBinding")&&Ue.get("discardBinding").syntaxType!=="void")throw Error("The 'discardBinding' plugin requires a 'syntaxType' option. Currently the only supported value is 'void'.")}let H={estree:Ue=>class extends Ue{parse(){let g=L(super.parse());return 256&this.optionFlags&&(g.tokens=g.tokens.map(L)),g}parseRegExpLiteral({pattern:g,flags:P}){let J=null;try{J=new RegExp(g,P)}catch{}let ne=this.estreeParseLiteral(J);return ne.regex={pattern:g,flags:P},ne}parseBigIntLiteral(g){let P;try{P=BigInt(g)}catch{P=null}let J=this.estreeParseLiteral(P);return J.bigint=String(J.value||g),J}parseDecimalLiteral(g){let P=this.estreeParseLiteral(null);return P.decimal=String(P.value||g),P}estreeParseLiteral(g){return this.parseLiteral(g,"Literal")}parseStringLiteral(g){return this.estreeParseLiteral(g)}parseNumericLiteral(g){return this.estreeParseLiteral(g)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(g){return this.estreeParseLiteral(g)}estreeParseChainExpression(g,P){let J=this.startNodeAtNode(g);return J.expression=g,this.finishNodeAt(J,"ChainExpression",P)}directiveToStmt(g){let P=g.value;delete g.value,this.castNodeTo(P,"Literal"),P.raw=P.extra.raw,P.value=P.extra.expressionValue;let J=this.castNodeTo(g,"ExpressionStatement");return J.expression=P,J.directive=P.extra.rawValue,delete P.extra,J}fillOptionalPropertiesForTSESLint(g){}cloneEstreeStringLiteral(g){let{start:P,end:J,loc:ne,range:Fe,raw:Xe,value:lt}=g,dt=Object.create(g.constructor.prototype);return dt.type="Literal",dt.start=P,dt.end=J,dt.loc=ne,dt.range=Fe,dt.raw=Xe,dt.value=lt,dt}initFunction(g,P){super.initFunction(g,P),g.expression=!1}checkDeclaration(g){g!=null&&this.isObjectProperty(g)?this.checkDeclaration(g.value):super.checkDeclaration(g)}getObjectOrClassMethodParams(g){return g.value.params}isValidDirective(g){var P;return g.type==="ExpressionStatement"&&g.expression.type==="Literal"&&typeof g.expression.value=="string"&&!((P=g.expression.extra)!=null&&P.parenthesized)}parseBlockBody(g,P,J,ne,Fe){super.parseBlockBody(g,P,J,ne,Fe);let Xe=g.directives.map(lt=>this.directiveToStmt(lt));g.body=Xe.concat(g.body),delete g.directives}parsePrivateName(){let g=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(g):g}convertPrivateNameToPrivateIdentifier(g){let P=super.getPrivateNameSV(g);return delete g.id,g.name=P,this.castNodeTo(g,"PrivateIdentifier")}isPrivateName(g){return this.getPluginOption("estree","classFeatures")?g.type==="PrivateIdentifier":super.isPrivateName(g)}getPrivateNameSV(g){return this.getPluginOption("estree","classFeatures")?g.name:super.getPrivateNameSV(g)}parseLiteral(g,P){let J=super.parseLiteral(g,P);return J.raw=J.extra.raw,delete J.extra,J}parseFunctionBody(g,P,J=!1){super.parseFunctionBody(g,P,J),g.expression=g.body.type!=="BlockStatement"}parseMethod(g,P,J,ne,Fe,Xe,lt=!1){let dt=this.startNode();dt.kind=g.kind,dt=super.parseMethod(dt,P,J,ne,Fe,Xe,lt),delete dt.kind;let{typeParameters:bt}=g;return bt&&(delete g.typeParameters,dt.typeParameters=bt,this.resetStartLocationFromNode(dt,bt)),g.value=this.castNodeTo(dt,"FunctionExpression"),Xe==="ClassPrivateMethod"&&(g.computed=!1),Xe==="ObjectMethod"?(g.kind==="method"&&(g.kind="init"),g.shorthand=!1,this.finishNode(g,"Property")):this.finishNode(g,"MethodDefinition")}nameIsConstructor(g){return g.type==="Literal"?g.value==="constructor":super.nameIsConstructor(g)}parseClassProperty(...g){let P=super.parseClassProperty(...g);return this.getPluginOption("estree","classFeatures")&&this.castNodeTo(P,"PropertyDefinition"),P}parseClassPrivateProperty(...g){let P=super.parseClassPrivateProperty(...g);return this.getPluginOption("estree","classFeatures")&&(this.castNodeTo(P,"PropertyDefinition"),P.computed=!1),P}parseClassAccessorProperty(g){let P=super.parseClassAccessorProperty(g);return this.getPluginOption("estree","classFeatures")&&(P.abstract&&this.hasPlugin("typescript")?(delete P.abstract,this.castNodeTo(P,"TSAbstractAccessorProperty")):this.castNodeTo(P,"AccessorProperty")),P}parseObjectProperty(g,P,J,ne){let Fe=super.parseObjectProperty(g,P,J,ne);return Fe&&(Fe.kind="init",this.castNodeTo(Fe,"Property")),Fe}finishObjectProperty(g){return g.kind="init",this.finishNode(g,"Property")}isValidLVal(g,P,J){return g==="Property"?"value":super.isValidLVal(g,P,J)}isAssignable(g,P){return g!=null&&this.isObjectProperty(g)?this.isAssignable(g.value,P):super.isAssignable(g,P)}toAssignable(g,P=!1){if(g!=null&&this.isObjectProperty(g)){let{key:J,value:ne}=g;this.isPrivateName(J)&&this.classScope.usePrivateName(this.getPrivateNameSV(J),J.loc.start),this.toAssignable(ne,P)}else super.toAssignable(g,P)}toAssignableObjectExpressionProp(g,P,J){g.type==="Property"&&(g.kind==="get"||g.kind==="set")?this.raise(v.PatternHasAccessor,g.key):g.type==="Property"&&g.method?this.raise(v.PatternHasMethod,g.key):super.toAssignableObjectExpressionProp(g,P,J)}finishCallExpression(g,P){let J=super.finishCallExpression(g,P);if(J.callee.type==="Import"){var ne,Fe;this.castNodeTo(J,"ImportExpression"),J.source=J.arguments[0],J.options=(ne=J.arguments[1])!=null?ne:null,J.attributes=(Fe=J.arguments[1])!=null?Fe:null,delete J.arguments,delete J.callee}else J.type==="OptionalCallExpression"?this.castNodeTo(J,"CallExpression"):J.optional=!1;return J}toReferencedArguments(g){g.type!=="ImportExpression"&&super.toReferencedArguments(g)}parseExport(g,P){let J=this.state.lastTokStartLoc,ne=super.parseExport(g,P);switch(ne.type){case"ExportAllDeclaration":ne.exported=null;break;case"ExportNamedDeclaration":ne.specifiers.length===1&&ne.specifiers[0].type==="ExportNamespaceSpecifier"&&(this.castNodeTo(ne,"ExportAllDeclaration"),ne.exported=ne.specifiers[0].exported,delete ne.specifiers);case"ExportDefaultDeclaration":{var Fe;let{declaration:Xe}=ne;(Xe==null?void 0:Xe.type)==="ClassDeclaration"&&((Fe=Xe.decorators)==null?void 0:Fe.length)>0&&Xe.start===ne.start&&this.resetStartLocation(ne,J)}}return ne}stopParseSubscript(g,P){let J=super.stopParseSubscript(g,P);return P.optionalChainMember?this.estreeParseChainExpression(J,g.loc.end):J}parseMember(g,P,J,ne,Fe){let Xe=super.parseMember(g,P,J,ne,Fe);return Xe.type==="OptionalMemberExpression"?this.castNodeTo(Xe,"MemberExpression"):Xe.optional=!1,Xe}isOptionalMemberExpression(g){return g.type==="ChainExpression"?g.expression.type==="MemberExpression":super.isOptionalMemberExpression(g)}hasPropertyAsPrivateName(g){return g.type==="ChainExpression"&&(g=g.expression),super.hasPropertyAsPrivateName(g)}isObjectProperty(g){return g.type==="Property"&&g.kind==="init"&&!g.method}isObjectMethod(g){return g.type==="Property"&&(g.method||g.kind==="get"||g.kind==="set")}castNodeTo(g,P){let J=super.castNodeTo(g,P);return this.fillOptionalPropertiesForTSESLint(J),J}cloneIdentifier(g){let P=super.cloneIdentifier(g);return this.fillOptionalPropertiesForTSESLint(P),P}cloneStringLiteral(g){return g.type==="Literal"?this.cloneEstreeStringLiteral(g):super.cloneStringLiteral(g)}finishNodeAt(g,P,J){return L(super.finishNodeAt(g,P,J))}finishNode(g,P){let J=super.finishNode(g,P);return this.fillOptionalPropertiesForTSESLint(J),J}resetStartLocation(g,P){super.resetStartLocation(g,P),L(g)}resetEndLocation(g,P=this.state.lastTokEndLoc){super.resetEndLocation(g,P),L(g)}},jsx:Ue=>class extends Ue{jsxReadToken(){let g="",P=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(er.UnterminatedJsxContent,this.state.startLoc);let J=this.input.charCodeAt(this.state.pos);switch(J){case 60:case 123:if(this.state.pos===this.state.start)return void(J===60&&this.state.canStartJSXElement?(++this.state.pos,this.finishToken(143)):super.getTokenFromCode(J));g+=this.input.slice(P,this.state.pos),this.finishToken(142,g);return;case 38:g+=this.input.slice(P,this.state.pos),g+=this.jsxReadEntity(),P=this.state.pos;break;default:Pr(J)?(g+=this.input.slice(P,this.state.pos),g+=this.jsxReadNewLine(!0),P=this.state.pos):++this.state.pos}}}jsxReadNewLine(g){let P,J=this.input.charCodeAt(this.state.pos);return++this.state.pos,J===13&&this.input.charCodeAt(this.state.pos)===10?(++this.state.pos,P=g?`
|
|
`:`\r
|
|
`):P=String.fromCharCode(J),++this.state.curLine,this.state.lineStart=this.state.pos,P}jsxReadString(g){let P="",J=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(v.UnterminatedString,this.state.startLoc);let ne=this.input.charCodeAt(this.state.pos);if(ne===g)break;ne===38?(P+=this.input.slice(J,this.state.pos),P+=this.jsxReadEntity(),J=this.state.pos):Pr(ne)?(P+=this.input.slice(J,this.state.pos),P+=this.jsxReadNewLine(!1),J=this.state.pos):++this.state.pos}P+=this.input.slice(J,this.state.pos++),this.finishToken(134,P)}jsxReadEntity(){let g=++this.state.pos;if(this.codePointAtPos(this.state.pos)===35){++this.state.pos;let P=10;this.codePointAtPos(this.state.pos)===120&&(P=16,++this.state.pos);let J=this.readInt(P,void 0,!1,"bail");if(J!==null&&this.codePointAtPos(this.state.pos)===59)return++this.state.pos,String.fromCodePoint(J)}else{let P=0,J=!1;for(;P++<10&&this.state.pos<this.length&&!(J=this.codePointAtPos(this.state.pos)===59);)++this.state.pos;if(J){let ne=ar[this.input.slice(g,this.state.pos)];if(++this.state.pos,ne)return ne}}return this.state.pos=g,"&"}jsxReadWord(){let g,P=this.state.pos;do g=this.input.charCodeAt(++this.state.pos);while(ze(g)||g===45);this.finishToken(141,this.input.slice(P,this.state.pos))}jsxParseIdentifier(){let g=this.startNode();return this.match(141)?g.name=this.state.value:Oe(this.state.type)?g.name=V[this.state.type]:this.unexpected(),this.next(),this.finishNode(g,"JSXIdentifier")}jsxParseNamespacedName(){let g=this.state.startLoc,P=this.jsxParseIdentifier();if(!this.eat(14))return P;let J=this.startNodeAt(g);return J.namespace=P,J.name=this.jsxParseIdentifier(),this.finishNode(J,"JSXNamespacedName")}jsxParseElementName(){let g=this.state.startLoc,P=this.jsxParseNamespacedName();if(P.type==="JSXNamespacedName")return P;for(;this.eat(16);){let J=this.startNodeAt(g);J.object=P,J.property=this.jsxParseIdentifier(),P=this.finishNode(J,"JSXMemberExpression")}return P}jsxParseAttributeValue(){let g;switch(this.state.type){case 5:return g=this.startNode(),this.setContext(F.brace),this.next(),(g=this.jsxParseExpressionContainer(g,F.j_oTag)).expression.type==="JSXEmptyExpression"&&this.raise(er.AttributeIsEmpty,g),g;case 143:case 134:return this.parseExprAtom();default:throw this.raise(er.UnsupportedJsxValue,this.state.startLoc)}}jsxParseEmptyExpression(){let g=this.startNodeAt(this.state.lastTokEndLoc);return this.finishNodeAt(g,"JSXEmptyExpression",this.state.startLoc)}jsxParseSpreadChild(g){return this.next(),g.expression=this.parseExpression(),this.setContext(F.j_expr),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(g,"JSXSpreadChild")}jsxParseExpressionContainer(g,P){return this.match(8)?g.expression=this.jsxParseEmptyExpression():g.expression=this.parseExpression(),this.setContext(P),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(g,"JSXExpressionContainer")}jsxParseAttribute(){let g=this.startNode();return this.match(5)?(this.setContext(F.brace),this.next(),this.expect(21),g.argument=this.parseMaybeAssignAllowIn(),this.setContext(F.j_oTag),this.state.canStartJSXElement=!0,this.expect(8),this.finishNode(g,"JSXSpreadAttribute")):(g.name=this.jsxParseNamespacedName(),g.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(g,"JSXAttribute"))}jsxParseOpeningElementAt(g){let P=this.startNodeAt(g);return this.eat(144)?this.finishNode(P,"JSXOpeningFragment"):(P.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(P))}jsxParseOpeningElementAfterName(g){let P=[];for(;!this.match(56)&&!this.match(144);)P.push(this.jsxParseAttribute());return g.attributes=P,g.selfClosing=this.eat(56),this.expect(144),this.finishNode(g,"JSXOpeningElement")}jsxParseClosingElementAt(g){let P=this.startNodeAt(g);return this.eat(144)?this.finishNode(P,"JSXClosingFragment"):(P.name=this.jsxParseElementName(),this.expect(144),this.finishNode(P,"JSXClosingElement"))}jsxParseElementAt(g){let P=this.startNodeAt(g),J=[],ne=this.jsxParseOpeningElementAt(g),Fe=null;if(!ne.selfClosing){e:for(;;)switch(this.state.type){case 143:if(g=this.state.startLoc,this.next(),this.eat(56)){Fe=this.jsxParseClosingElementAt(g);break e}J.push(this.jsxParseElementAt(g));break;case 142:J.push(this.parseLiteral(this.state.value,"JSXText"));break;case 5:{let Xe=this.startNode();this.setContext(F.brace),this.next(),this.match(21)?J.push(this.jsxParseSpreadChild(Xe)):J.push(this.jsxParseExpressionContainer(Xe,F.j_expr));break}default:this.unexpected()}Yr(ne)&&!Yr(Fe)&&Fe!==null?this.raise(er.MissingClosingTagFragment,Fe):!Yr(ne)&&Yr(Fe)?this.raise(er.MissingClosingTagElement,Fe,{openingTagName:gr(ne.name)}):Yr(ne)||Yr(Fe)||gr(Fe.name)===gr(ne.name)||this.raise(er.MissingClosingTagElement,Fe,{openingTagName:gr(ne.name)})}if(Yr(ne)?(P.openingFragment=ne,P.closingFragment=Fe):(P.openingElement=ne,P.closingElement=Fe),P.children=J,this.match(47))throw this.raise(er.UnwrappedAdjacentJSXElements,this.state.startLoc);return Yr(ne)?this.finishNode(P,"JSXFragment"):this.finishNode(P,"JSXElement")}jsxParseElement(){let g=this.state.startLoc;return this.next(),this.jsxParseElementAt(g)}setContext(g){let{context:P}=this.state;P[P.length-1]=g}parseExprAtom(g){return this.match(143)?this.jsxParseElement():this.match(47)&&this.input.charCodeAt(this.state.pos)!==33?(this.replaceToken(143),this.jsxParseElement()):super.parseExprAtom(g)}skipSpace(){this.curContext().preserveSpace||super.skipSpace()}getTokenFromCode(g){let P=this.curContext();if(P===F.j_expr)return void this.jsxReadToken();if(P===F.j_oTag||P===F.j_cTag){if(De(g))return void this.jsxReadWord();if(g===62){++this.state.pos,this.finishToken(144);return}if((g===34||g===39)&&P===F.j_oTag)return void this.jsxReadString(g)}if(g===60&&this.state.canStartJSXElement&&this.input.charCodeAt(this.state.pos+1)!==33){++this.state.pos,this.finishToken(143);return}super.getTokenFromCode(g)}updateContext(g){let{context:P,type:J}=this.state;if(J===56&&g===143)P.splice(-2,2,F.j_cTag),this.state.canStartJSXElement=!1;else if(J===143)P.push(F.j_oTag);else if(J===144){let ne=P[P.length-1];ne===F.j_oTag&&g===56||ne===F.j_cTag?(P.pop(),this.state.canStartJSXElement=P[P.length-1]===F.j_expr):(this.setContext(F.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=Ne(J)}},flow:Ue=>class extends Ue{constructor(...g){super(...g),this.flowPragma=void 0}getScopeHandler(){return ut}shouldParseTypes(){return this.getPluginOption("flow","all")||this.flowPragma==="flow"}finishToken(g,P){g!==134&&g!==13&&g!==28&&this.flowPragma===void 0&&(this.flowPragma=null),super.finishToken(g,P)}addComment(g){if(this.flowPragma===void 0){let P=xt.exec(g.value);if(P)if(P[1]==="flow")this.flowPragma="flow";else if(P[1]==="noflow")this.flowPragma="noflow";else throw Error("Unexpected flow pragma")}super.addComment(g)}flowParseTypeInitialiser(g){let P=this.state.inType;this.state.inType=!0,this.expect(g||14);let J=this.flowParseType();return this.state.inType=P,J}flowParsePredicate(){let g=this.startNode(),P=this.state.startLoc;return this.next(),this.expectContextual(110),this.state.lastTokStartLoc.index>P.index+1&&this.raise(Le.UnexpectedSpaceBetweenModuloChecks,P),this.eat(10)?(g.value=super.parseExpression(),this.expect(11),this.finishNode(g,"DeclaredPredicate")):this.finishNode(g,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){let g=this.state.inType;this.state.inType=!0,this.expect(14);let P=null,J=null;return this.match(54)?(this.state.inType=g,J=this.flowParsePredicate()):(P=this.flowParseType(),this.state.inType=g,this.match(54)&&(J=this.flowParsePredicate())),[P,J]}flowParseDeclareClass(g){return this.next(),this.flowParseInterfaceish(g,!0),this.finishNode(g,"DeclareClass")}flowParseDeclareFunction(g){this.next();let P=g.id=this.parseIdentifier(),J=this.startNode(),ne=this.startNode();this.match(47)?J.typeParameters=this.flowParseTypeParameterDeclaration():J.typeParameters=null,this.expect(10);let Fe=this.flowParseFunctionTypeParams();return J.params=Fe.params,J.rest=Fe.rest,J.this=Fe._this,this.expect(11),[J.returnType,g.predicate]=this.flowParseTypeAndPredicateInitialiser(),ne.typeAnnotation=this.finishNode(J,"FunctionTypeAnnotation"),P.typeAnnotation=this.finishNode(ne,"TypeAnnotation"),this.resetEndLocation(P),this.semicolon(),this.scope.declareName(g.id.name,2048,g.id.loc.start),this.finishNode(g,"DeclareFunction")}flowParseDeclare(g,P){if(this.match(80))return this.flowParseDeclareClass(g);if(this.match(68))return this.flowParseDeclareFunction(g);if(this.match(74))return this.flowParseDeclareVariable(g);if(this.eatContextual(127))return this.match(16)?this.flowParseDeclareModuleExports(g):(P&&this.raise(Le.NestedDeclareModule,this.state.lastTokStartLoc),this.flowParseDeclareModule(g));if(this.isContextual(130))return this.flowParseDeclareTypeAlias(g);if(this.isContextual(131))return this.flowParseDeclareOpaqueType(g);if(this.isContextual(129))return this.flowParseDeclareInterface(g);if(this.match(82))return this.flowParseDeclareExportDeclaration(g,P);this.unexpected()}flowParseDeclareVariable(g){return this.next(),g.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(g.id.name,5,g.id.loc.start),this.semicolon(),this.finishNode(g,"DeclareVariable")}flowParseDeclareModule(g){this.scope.enter(0),this.match(134)?g.id=super.parseExprAtom():g.id=this.parseIdentifier();let P=g.body=this.startNode(),J=P.body=[];for(this.expect(5);!this.match(8);){let Xe=this.startNode();this.match(83)?(this.next(),this.isContextual(130)||this.match(87)||this.raise(Le.InvalidNonTypeImportInDeclareModule,this.state.lastTokStartLoc),super.parseImport(Xe)):(this.expectContextual(125,Le.UnsupportedStatementInDeclareModule),Xe=this.flowParseDeclare(Xe,!0)),J.push(Xe)}this.scope.exit(),this.expect(8),this.finishNode(P,"BlockStatement");let ne=null,Fe=!1;return J.forEach(Xe=>{at(Xe)?(ne==="CommonJS"&&this.raise(Le.AmbiguousDeclareModuleKind,Xe),ne="ES"):Xe.type==="DeclareModuleExports"&&(Fe&&this.raise(Le.DuplicateDeclareModuleExports,Xe),ne==="ES"&&this.raise(Le.AmbiguousDeclareModuleKind,Xe),ne="CommonJS",Fe=!0)}),g.kind=ne||"CommonJS",this.finishNode(g,"DeclareModule")}flowParseDeclareExportDeclaration(g,P){if(this.expect(82),this.eat(65))return this.match(68)||this.match(80)?g.declaration=this.flowParseDeclare(this.startNode()):(g.declaration=this.flowParseType(),this.semicolon()),g.default=!0,this.finishNode(g,"DeclareExportDeclaration");if(this.match(75)||this.isLet()||(this.isContextual(130)||this.isContextual(129))&&!P){let J=this.state.value;throw this.raise(Le.UnsupportedDeclareExportKind,this.state.startLoc,{unsupportedExportKind:J,suggestion:Rt[J]})}return this.match(74)||this.match(68)||this.match(80)||this.isContextual(131)?(g.declaration=this.flowParseDeclare(this.startNode()),g.default=!1,this.finishNode(g,"DeclareExportDeclaration")):this.match(55)||this.match(5)||this.isContextual(129)||this.isContextual(130)||this.isContextual(131)?(g=this.parseExport(g,null)).type==="ExportNamedDeclaration"?(g.default=!1,delete g.exportKind,this.castNodeTo(g,"DeclareExportDeclaration")):this.castNodeTo(g,"DeclareExportAllDeclaration"):void this.unexpected()}flowParseDeclareModuleExports(g){return this.next(),this.expectContextual(111),g.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(g,"DeclareModuleExports")}flowParseDeclareTypeAlias(g){this.next();let P=this.flowParseTypeAlias(g);return this.castNodeTo(P,"DeclareTypeAlias"),P}flowParseDeclareOpaqueType(g){this.next();let P=this.flowParseOpaqueType(g,!0);return this.castNodeTo(P,"DeclareOpaqueType"),P}flowParseDeclareInterface(g){return this.next(),this.flowParseInterfaceish(g,!1),this.finishNode(g,"DeclareInterface")}flowParseInterfaceish(g,P){if(g.id=this.flowParseRestrictedIdentifier(!P,!0),this.scope.declareName(g.id.name,P?17:8201,g.id.loc.start),this.match(47)?g.typeParameters=this.flowParseTypeParameterDeclaration():g.typeParameters=null,g.extends=[],this.eat(81))do g.extends.push(this.flowParseInterfaceExtends());while(!P&&this.eat(12));if(P){if(g.implements=[],g.mixins=[],this.eatContextual(117))do g.mixins.push(this.flowParseInterfaceExtends());while(this.eat(12));if(this.eatContextual(113))do g.implements.push(this.flowParseInterfaceExtends());while(this.eat(12))}g.body=this.flowParseObjectType({allowStatic:P,allowExact:!1,allowSpread:!1,allowProto:P,allowInexact:!1})}flowParseInterfaceExtends(){let g=this.startNode();return g.id=this.flowParseQualifiedTypeIdentifier(),this.match(47)?g.typeParameters=this.flowParseTypeParameterInstantiation():g.typeParameters=null,this.finishNode(g,"InterfaceExtends")}flowParseInterface(g){return this.flowParseInterfaceish(g,!1),this.finishNode(g,"InterfaceDeclaration")}checkNotUnderscore(g){g==="_"&&this.raise(Le.UnexpectedReservedUnderscore,this.state.startLoc)}checkReservedType(g,P,J){Je.has(g)&&this.raise(J?Le.AssignReservedType:Le.UnexpectedReservedType,P,{reservedType:g})}flowParseRestrictedIdentifier(g,P){return this.checkReservedType(this.state.value,this.state.startLoc,P),this.parseIdentifier(g)}flowParseTypeAlias(g){return g.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(g.id.name,8201,g.id.loc.start),this.match(47)?g.typeParameters=this.flowParseTypeParameterDeclaration():g.typeParameters=null,g.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(g,"TypeAlias")}flowParseOpaqueType(g,P){return this.expectContextual(130),g.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(g.id.name,8201,g.id.loc.start),this.match(47)?g.typeParameters=this.flowParseTypeParameterDeclaration():g.typeParameters=null,g.supertype=null,this.match(14)&&(g.supertype=this.flowParseTypeInitialiser(14)),g.impltype=null,P||(g.impltype=this.flowParseTypeInitialiser(29)),this.semicolon(),this.finishNode(g,"OpaqueType")}flowParseTypeParameter(g=!1){let P=this.state.startLoc,J=this.startNode(),ne=this.flowParseVariance(),Fe=this.flowParseTypeAnnotatableIdentifier();return J.name=Fe.name,J.variance=ne,J.bound=Fe.typeAnnotation,this.match(29)?(this.eat(29),J.default=this.flowParseType()):g&&this.raise(Le.MissingTypeParamDefault,P),this.finishNode(J,"TypeParameter")}flowParseTypeParameterDeclaration(){let g=this.state.inType,P=this.startNode();P.params=[],this.state.inType=!0,this.match(47)||this.match(143)?this.next():this.unexpected();let J=!1;do{let ne=this.flowParseTypeParameter(J);P.params.push(ne),ne.default&&(J=!0),this.match(48)||this.expect(12)}while(!this.match(48));return this.expect(48),this.state.inType=g,this.finishNode(P,"TypeParameterDeclaration")}flowInTopLevelContext(g){if(this.curContext()===F.brace)return g();{let P=this.state.context;this.state.context=[P[0]];try{return g()}finally{this.state.context=P}}}flowParseTypeParameterInstantiationInExpression(){if(this.reScan_lt()===47)return this.flowParseTypeParameterInstantiation()}flowParseTypeParameterInstantiation(){let g=this.startNode(),P=this.state.inType;return this.state.inType=!0,g.params=[],this.flowInTopLevelContext(()=>{this.expect(47);let J=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(48);)g.params.push(this.flowParseType()),this.match(48)||this.expect(12);this.state.noAnonFunctionType=J}),this.state.inType=P,this.state.inType||this.curContext()!==F.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(g,"TypeParameterInstantiation")}flowParseTypeParameterInstantiationCallOrNew(){if(this.reScan_lt()!==47)return;let g=this.startNode(),P=this.state.inType;for(g.params=[],this.state.inType=!0,this.expect(47);!this.match(48);)g.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(48)||this.expect(12);return this.expect(48),this.state.inType=P,this.finishNode(g,"TypeParameterInstantiation")}flowParseInterfaceType(){let g=this.startNode();if(this.expectContextual(129),g.extends=[],this.eat(81))do g.extends.push(this.flowParseInterfaceExtends());while(this.eat(12));return g.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(g,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(135)||this.match(134)?super.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(g,P,J){return g.static=P,this.lookahead().type===14?(g.id=this.flowParseObjectPropertyKey(),g.key=this.flowParseTypeInitialiser()):(g.id=null,g.key=this.flowParseType()),this.expect(3),g.value=this.flowParseTypeInitialiser(),g.variance=J,this.finishNode(g,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(g,P){return g.static=P,g.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(47)||this.match(10)?(g.method=!0,g.optional=!1,g.value=this.flowParseObjectTypeMethodish(this.startNodeAt(g.loc.start))):(g.method=!1,this.eat(17)&&(g.optional=!0),g.value=this.flowParseTypeInitialiser()),this.finishNode(g,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(g){for(g.params=[],g.rest=null,g.typeParameters=null,g.this=null,this.match(47)&&(g.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(78)&&(g.this=this.flowParseFunctionTypeParam(!0),g.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)g.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(g.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),g.returnType=this.flowParseTypeInitialiser(),this.finishNode(g,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(g,P){let J=this.startNode();return g.static=P,g.value=this.flowParseObjectTypeMethodish(J),this.finishNode(g,"ObjectTypeCallProperty")}flowParseObjectType({allowStatic:g,allowExact:P,allowSpread:J,allowProto:ne,allowInexact:Fe}){let Xe,lt,dt=this.state.inType;this.state.inType=!0;let bt=this.startNode();bt.callProperties=[],bt.properties=[],bt.indexers=[],bt.internalSlots=[];let Lt=!1;for(P&&this.match(6)?(this.expect(6),Xe=9,lt=!0):(this.expect(5),Xe=8,lt=!1),bt.exact=lt;!this.match(Xe);){let $r=!1,Kr=null,Dn=null,Zn=this.startNode();if(ne&&this.isContextual(118)){let yi=this.lookahead();yi.type!==14&&yi.type!==17&&(this.next(),Kr=this.state.startLoc,g=!1)}if(g&&this.isContextual(106)){let yi=this.lookahead();yi.type!==14&&yi.type!==17&&(this.next(),$r=!0)}let Di=this.flowParseVariance();if(this.eat(0))Kr!=null&&this.unexpected(Kr),this.eat(0)?(Di&&this.unexpected(Di.loc.start),bt.internalSlots.push(this.flowParseObjectTypeInternalSlot(Zn,$r))):bt.indexers.push(this.flowParseObjectTypeIndexer(Zn,$r,Di));else if(this.match(10)||this.match(47))Kr!=null&&this.unexpected(Kr),Di&&this.unexpected(Di.loc.start),bt.callProperties.push(this.flowParseObjectTypeCallProperty(Zn,$r));else{let yi="init";(this.isContextual(99)||this.isContextual(104))&&be(this.lookahead().type)&&(yi=this.state.value,this.next());let as=this.flowParseObjectTypeProperty(Zn,$r,Kr,Di,yi,J,Fe??!lt);as===null?(Lt=!0,Dn=this.state.lastTokStartLoc):bt.properties.push(as)}this.flowObjectTypeSemicolon(),!Dn||this.match(8)||this.match(9)||this.raise(Le.UnexpectedExplicitInexactInObject,Dn)}this.expect(Xe),J&&(bt.inexact=Lt);let ur=this.finishNode(bt,"ObjectTypeAnnotation");return this.state.inType=dt,ur}flowParseObjectTypeProperty(g,P,J,ne,Fe,Xe,lt){if(this.eat(21))return this.match(12)||this.match(13)||this.match(8)||this.match(9)?(Xe?lt||this.raise(Le.InexactInsideExact,this.state.lastTokStartLoc):this.raise(Le.InexactInsideNonObject,this.state.lastTokStartLoc),ne&&this.raise(Le.InexactVariance,ne),null):(Xe||this.raise(Le.UnexpectedSpreadType,this.state.lastTokStartLoc),J!=null&&this.unexpected(J),ne&&this.raise(Le.SpreadVariance,ne),g.argument=this.flowParseType(),this.finishNode(g,"ObjectTypeSpreadProperty"));{g.key=this.flowParseObjectPropertyKey(),g.static=P,g.proto=J!=null,g.kind=Fe;let dt=!1;return this.match(47)||this.match(10)?(g.method=!0,J!=null&&this.unexpected(J),ne&&this.unexpected(ne.loc.start),g.value=this.flowParseObjectTypeMethodish(this.startNodeAt(g.loc.start)),(Fe==="get"||Fe==="set")&&this.flowCheckGetterSetterParams(g),!Xe&&g.key.name==="constructor"&&g.value.this&&this.raise(Le.ThisParamBannedInConstructor,g.value.this)):(Fe!=="init"&&this.unexpected(),g.method=!1,this.eat(17)&&(dt=!0),g.value=this.flowParseTypeInitialiser(),g.variance=ne),g.optional=dt,this.finishNode(g,"ObjectTypeProperty")}}flowCheckGetterSetterParams(g){let P=+(g.kind!=="get"),J=g.value.params.length+ +!!g.value.rest;g.value.this&&this.raise(g.kind==="get"?Le.GetterMayNotHaveThisParam:Le.SetterMayNotHaveThisParam,g.value.this),J!==P&&this.raise(g.kind==="get"?v.BadGetterArity:v.BadSetterArity,g),g.kind==="set"&&g.value.rest&&this.raise(v.BadSetterRestParameter,g)}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(g,P){g!=null||(g=this.state.startLoc);let J=P||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){let ne=this.startNodeAt(g);ne.qualification=J,ne.id=this.flowParseRestrictedIdentifier(!0),J=this.finishNode(ne,"QualifiedTypeIdentifier")}return J}flowParseGenericType(g,P){let J=this.startNodeAt(g);return J.typeParameters=null,J.id=this.flowParseQualifiedTypeIdentifier(g,P),this.match(47)&&(J.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(J,"GenericTypeAnnotation")}flowParseTypeofType(){let g=this.startNode();return this.expect(87),g.argument=this.flowParsePrimaryType(),this.finishNode(g,"TypeofTypeAnnotation")}flowParseTupleType(){let g=this.startNode();for(g.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(g.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(g,"TupleTypeAnnotation")}flowParseFunctionTypeParam(g){let P=null,J=!1,ne=null,Fe=this.startNode(),Xe=this.lookahead(),lt=this.state.type===78;return Xe.type===14||Xe.type===17?(lt&&!g&&this.raise(Le.ThisParamMustBeFirst,Fe),P=this.parseIdentifier(lt),this.eat(17)&&(J=!0,lt&&this.raise(Le.ThisParamMayNotBeOptional,Fe)),ne=this.flowParseTypeInitialiser()):ne=this.flowParseType(),Fe.name=P,Fe.optional=J,Fe.typeAnnotation=ne,this.finishNode(Fe,"FunctionTypeParam")}reinterpretTypeAsFunctionTypeParam(g){let P=this.startNodeAt(g.loc.start);return P.name=null,P.optional=!1,P.typeAnnotation=g,this.finishNode(P,"FunctionTypeParam")}flowParseFunctionTypeParams(g=[]){let P=null,J=null;for(this.match(78)&&((J=this.flowParseFunctionTypeParam(!0)).name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)g.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(P=this.flowParseFunctionTypeParam(!1)),{params:g,rest:P,_this:J}}flowIdentToTypeAnnotation(g,P,J){switch(J.name){case"any":return this.finishNode(P,"AnyTypeAnnotation");case"bool":case"boolean":return this.finishNode(P,"BooleanTypeAnnotation");case"mixed":return this.finishNode(P,"MixedTypeAnnotation");case"empty":return this.finishNode(P,"EmptyTypeAnnotation");case"number":return this.finishNode(P,"NumberTypeAnnotation");case"string":return this.finishNode(P,"StringTypeAnnotation");case"symbol":return this.finishNode(P,"SymbolTypeAnnotation");default:return this.checkNotUnderscore(J.name),this.flowParseGenericType(g,J)}}flowParsePrimaryType(){let g,P,J=this.state.startLoc,ne=this.startNode(),Fe=!1,Xe=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,P=this.flowParseTupleType(),this.state.noAnonFunctionType=Xe,P;case 47:{let lt=this.startNode();return lt.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),lt.params=(g=this.flowParseFunctionTypeParams()).params,lt.rest=g.rest,lt.this=g._this,this.expect(11),this.expect(19),lt.returnType=this.flowParseType(),this.finishNode(lt,"FunctionTypeAnnotation")}case 10:{let lt=this.startNode();if(this.next(),!this.match(11)&&!this.match(21))if(X(this.state.type)||this.match(78)){let dt=this.lookahead().type;Fe=dt!==17&&dt!==14}else Fe=!0;if(Fe){if(this.state.noAnonFunctionType=!1,P=this.flowParseType(),this.state.noAnonFunctionType=Xe,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&this.lookahead().type===19))return this.expect(11),P;this.eat(12)}return lt.params=(g=P?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(P)]):this.flowParseFunctionTypeParams()).params,lt.rest=g.rest,lt.this=g._this,this.expect(11),this.expect(19),lt.returnType=this.flowParseType(),lt.typeParameters=null,this.finishNode(lt,"FunctionTypeAnnotation")}case 134:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 85:case 86:return ne.value=this.match(85),this.next(),this.finishNode(ne,"BooleanLiteralTypeAnnotation");case 53:if(this.state.value==="-"){if(this.next(),this.match(135))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",ne);if(this.match(136))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",ne);throw this.raise(Le.UnexpectedSubtractionOperand,this.state.startLoc)}this.unexpected();return;case 135:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 136:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 88:return this.next(),this.finishNode(ne,"VoidTypeAnnotation");case 84:return this.next(),this.finishNode(ne,"NullLiteralTypeAnnotation");case 78:return this.next(),this.finishNode(ne,"ThisTypeAnnotation");case 55:return this.next(),this.finishNode(ne,"ExistsTypeAnnotation");case 87:return this.flowParseTypeofType();default:if(Oe(this.state.type)){let lt=V[this.state.type];return this.next(),super.createIdentifier(ne,lt)}if(X(this.state.type))return this.isContextual(129)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(J,ne,this.parseIdentifier())}this.unexpected()}flowParsePostfixType(){let g=this.state.startLoc,P=this.flowParsePrimaryType(),J=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){let ne=this.startNodeAt(g),Fe=this.eat(18);J=J||Fe,this.expect(0),!Fe&&this.match(3)?(ne.elementType=P,this.next(),P=this.finishNode(ne,"ArrayTypeAnnotation")):(ne.objectType=P,ne.indexType=this.flowParseType(),this.expect(3),J?(ne.optional=Fe,P=this.finishNode(ne,"OptionalIndexedAccessType")):P=this.finishNode(ne,"IndexedAccessType"))}return P}flowParsePrefixType(){let g=this.startNode();return this.eat(17)?(g.typeAnnotation=this.flowParsePrefixType(),this.finishNode(g,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){let g=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){let P=this.startNodeAt(g.loc.start);return P.params=[this.reinterpretTypeAsFunctionTypeParam(g)],P.rest=null,P.this=null,P.returnType=this.flowParseType(),P.typeParameters=null,this.finishNode(P,"FunctionTypeAnnotation")}return g}flowParseIntersectionType(){let g=this.startNode();this.eat(45);let P=this.flowParseAnonFunctionWithoutParens();for(g.types=[P];this.eat(45);)g.types.push(this.flowParseAnonFunctionWithoutParens());return g.types.length===1?P:this.finishNode(g,"IntersectionTypeAnnotation")}flowParseUnionType(){let g=this.startNode();this.eat(43);let P=this.flowParseIntersectionType();for(g.types=[P];this.eat(43);)g.types.push(this.flowParseIntersectionType());return g.types.length===1?P:this.finishNode(g,"UnionTypeAnnotation")}flowParseType(){let g=this.state.inType;this.state.inType=!0;let P=this.flowParseUnionType();return this.state.inType=g,P}flowParseTypeOrImplicitInstantiation(){if(this.state.type!==132||this.state.value!=="_")return this.flowParseType();{let g=this.state.startLoc,P=this.parseIdentifier();return this.flowParseGenericType(g,P)}}flowParseTypeAnnotation(){let g=this.startNode();return g.typeAnnotation=this.flowParseTypeInitialiser(),this.finishNode(g,"TypeAnnotation")}flowParseTypeAnnotatableIdentifier(g){let P=g?this.parseIdentifier():this.flowParseRestrictedIdentifier();return this.match(14)&&(P.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(P)),P}typeCastToParameter(g){return g.expression.typeAnnotation=g.typeAnnotation,this.resetEndLocation(g.expression,g.typeAnnotation.loc.end),g.expression}flowParseVariance(){let g=null;return this.match(53)?(g=this.startNode(),this.state.value==="+"?g.kind="plus":g.kind="minus",this.next(),this.finishNode(g,"Variance")):g}parseFunctionBody(g,P,J=!1){P?this.forwardNoArrowParamsConversionAt(g,()=>super.parseFunctionBody(g,!0,J)):super.parseFunctionBody(g,!1,J)}parseFunctionBodyAndFinish(g,P,J=!1){if(this.match(14)){let ne=this.startNode();[ne.typeAnnotation,g.predicate]=this.flowParseTypeAndPredicateInitialiser(),g.returnType=ne.typeAnnotation?this.finishNode(ne,"TypeAnnotation"):null}return super.parseFunctionBodyAndFinish(g,P,J)}parseStatementLike(g){if(this.state.strict&&this.isContextual(129)){if(oe(this.lookahead().type)){let J=this.startNode();return this.next(),this.flowParseInterface(J)}}else if(this.isContextual(126)){let J=this.startNode();return this.next(),this.flowParseEnumDeclaration(J)}let P=super.parseStatementLike(g);return this.flowPragma!==void 0||this.isValidDirective(P)||(this.flowPragma=null),P}parseExpressionStatement(g,P,J){if(P.type==="Identifier"){if(P.name==="declare"){if(this.match(80)||X(this.state.type)||this.match(68)||this.match(74)||this.match(82))return this.flowParseDeclare(g)}else if(X(this.state.type)){if(P.name==="interface")return this.flowParseInterface(g);if(P.name==="type")return this.flowParseTypeAlias(g);if(P.name==="opaque")return this.flowParseOpaqueType(g,!1)}}return super.parseExpressionStatement(g,P,J)}shouldParseExportDeclaration(){let{type:g}=this.state;return g===126||Ke(g)?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){let{type:g}=this.state;return g===126||Ke(g)?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.isContextual(126)){let g=this.startNode();return this.next(),this.flowParseEnumDeclaration(g)}return super.parseExportDefaultExpression()}parseConditional(g,P,J){if(!this.match(17))return g;if(this.state.maybeInArrowParameters){let ur=this.lookaheadCharCode();if(ur===44||ur===61||ur===58||ur===41)return this.setOptionalParametersError(J),g}this.expect(17);let ne=this.state.clone(),Fe=this.state.noArrowAt,Xe=this.startNodeAt(P),{consequent:lt,failed:dt}=this.tryParseConditionalConsequent(),[bt,Lt]=this.getArrowLikeExpressions(lt);if(dt||Lt.length>0){let ur=[...Fe];if(Lt.length>0){this.state=ne,this.state.noArrowAt=ur;for(let $r=0;$r<Lt.length;$r++)ur.push(Lt[$r].start);({consequent:lt,failed:dt}=this.tryParseConditionalConsequent()),[bt,Lt]=this.getArrowLikeExpressions(lt)}dt&&bt.length>1&&this.raise(Le.AmbiguousConditionalArrow,ne.startLoc),dt&&bt.length===1&&(this.state=ne,ur.push(bt[0].start),this.state.noArrowAt=ur,{consequent:lt,failed:dt}=this.tryParseConditionalConsequent())}return this.getArrowLikeExpressions(lt,!0),this.state.noArrowAt=Fe,this.expect(14),Xe.test=g,Xe.consequent=lt,Xe.alternate=this.forwardNoArrowParamsConversionAt(Xe,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(Xe,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);let g=this.parseMaybeAssignAllowIn(),P=!this.match(14);return this.state.noArrowParamsConversionAt.pop(),{consequent:g,failed:P}}getArrowLikeExpressions(g,P){let J=[g],ne=[];for(;J.length!==0;){let Fe=J.pop();Fe.type==="ArrowFunctionExpression"&&Fe.body.type!=="BlockStatement"?(Fe.typeParameters||!Fe.returnType?this.finishArrowValidation(Fe):ne.push(Fe),J.push(Fe.body)):Fe.type==="ConditionalExpression"&&(J.push(Fe.consequent),J.push(Fe.alternate))}return P?(ne.forEach(Fe=>this.finishArrowValidation(Fe)),[ne,[]]):lr(ne,Fe=>Fe.params.every(Xe=>this.isAssignable(Xe,!0)))}finishArrowValidation(g){var P;this.toAssignableList(g.params,(P=g.extra)==null?void 0:P.trailingCommaLoc,!1),this.scope.enter(518),super.checkParams(g,!1,!0),this.scope.exit()}forwardNoArrowParamsConversionAt(g,P){let J;return this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(g.start))?(this.state.noArrowParamsConversionAt.push(this.state.start),J=P(),this.state.noArrowParamsConversionAt.pop()):J=P(),J}parseParenItem(g,P){let J=super.parseParenItem(g,P);if(this.eat(17)&&(J.optional=!0,this.resetEndLocation(g)),this.match(14)){let ne=this.startNodeAt(P);return ne.expression=J,ne.typeAnnotation=this.flowParseTypeAnnotation(),this.finishNode(ne,"TypeCastExpression")}return J}assertModuleNodeAllowed(g){(g.type!=="ImportDeclaration"||g.importKind!=="type"&&g.importKind!=="typeof")&&(g.type!=="ExportNamedDeclaration"||g.exportKind!=="type")&&(g.type!=="ExportAllDeclaration"||g.exportKind!=="type")&&super.assertModuleNodeAllowed(g)}parseExportDeclaration(g){if(this.isContextual(130)){g.exportKind="type";let P=this.startNode();return this.next(),this.match(5)?(g.specifiers=this.parseExportSpecifiers(!0),super.parseExportFrom(g),null):this.flowParseTypeAlias(P)}if(this.isContextual(131)){g.exportKind="type";let P=this.startNode();return this.next(),this.flowParseOpaqueType(P,!1)}if(this.isContextual(129)){g.exportKind="type";let P=this.startNode();return this.next(),this.flowParseInterface(P)}{if(!this.isContextual(126))return super.parseExportDeclaration(g);g.exportKind="value";let P=this.startNode();return this.next(),this.flowParseEnumDeclaration(P)}}eatExportStar(g){return!!super.eatExportStar(g)||!!this.isContextual(130)&&this.lookahead().type===55&&(g.exportKind="type",this.next(),this.next(),!0)}maybeParseExportNamespaceSpecifier(g){let{startLoc:P}=this.state,J=super.maybeParseExportNamespaceSpecifier(g);return J&&g.exportKind==="type"&&this.unexpected(P),J}parseClassId(g,P,J){super.parseClassId(g,P,J),this.match(47)&&(g.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(g,P,J){let{startLoc:ne}=this.state;if(this.isContextual(125)){if(super.parseClassMemberFromModifier(g,P))return;P.declare=!0}super.parseClassMember(g,P,J),P.declare&&(P.type!=="ClassProperty"&&P.type!=="ClassPrivateProperty"&&P.type!=="PropertyDefinition"?this.raise(Le.DeclareClassElement,ne):P.value&&this.raise(Le.DeclareClassFieldInitializer,P.value))}isIterator(g){return g==="iterator"||g==="asyncIterator"}readIterator(){let g=super.readWord1(),P="@@"+g;this.isIterator(g)&&this.state.inType||this.raise(v.InvalidIdentifier,this.state.curPosition(),{identifierName:P}),this.finishToken(132,P)}getTokenFromCode(g){let P=this.input.charCodeAt(this.state.pos+1);g===123&&P===124?this.finishOp(6,2):this.state.inType&&(g===62||g===60)?this.finishOp(g===62?48:47,1):this.state.inType&&g===63?P===46?this.finishOp(18,2):this.finishOp(17,1):Ee(g,P,this.input.charCodeAt(this.state.pos+2))?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(g)}isAssignable(g,P){return g.type==="TypeCastExpression"?this.isAssignable(g.expression,P):super.isAssignable(g,P)}toAssignable(g,P=!1){P||g.type!=="AssignmentExpression"||g.left.type!=="TypeCastExpression"||(g.left=this.typeCastToParameter(g.left)),super.toAssignable(g,P)}toAssignableList(g,P,J){for(let ne=0;ne<g.length;ne++){let Fe=g[ne];(Fe==null?void 0:Fe.type)==="TypeCastExpression"&&(g[ne]=this.typeCastToParameter(Fe))}super.toAssignableList(g,P,J)}toReferencedList(g,P){for(let ne=0;ne<g.length;ne++){var J;let Fe=g[ne];Fe&&Fe.type==="TypeCastExpression"&&!((J=Fe.extra)!=null&&J.parenthesized)&&(g.length>1||!P)&&this.raise(Le.TypeCastInPattern,Fe.typeAnnotation)}return g}parseArrayLike(g,P,J,ne){let Fe=super.parseArrayLike(g,P,J,ne);return P&&!this.state.maybeInArrowParameters&&this.toReferencedList(Fe.elements),Fe}isValidLVal(g,P,J){return g==="TypeCastExpression"||super.isValidLVal(g,P,J)}parseClassProperty(g){return this.match(14)&&(g.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(g)}parseClassPrivateProperty(g){return this.match(14)&&(g.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(g)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(g){return!this.match(14)&&super.isNonstaticConstructor(g)}pushClassMethod(g,P,J,ne,Fe,Xe){if(P.variance&&this.unexpected(P.variance.loc.start),delete P.variance,this.match(47)&&(P.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(g,P,J,ne,Fe,Xe),P.params&&Fe){let lt=P.params;lt.length>0&&this.isThisParam(lt[0])&&this.raise(Le.ThisParamBannedInConstructor,P)}else if(P.type==="MethodDefinition"&&Fe&&P.value.params){let lt=P.value.params;lt.length>0&&this.isThisParam(lt[0])&&this.raise(Le.ThisParamBannedInConstructor,P)}}pushClassPrivateMethod(g,P,J,ne){P.variance&&this.unexpected(P.variance.loc.start),delete P.variance,this.match(47)&&(P.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(g,P,J,ne)}parseClassSuper(g){if(super.parseClassSuper(g),g.superClass&&(this.match(47)||this.match(51))&&(g.superTypeParameters=this.flowParseTypeParameterInstantiationInExpression()),this.isContextual(113)){this.next();let P=g.implements=[];do{let J=this.startNode();J.id=this.flowParseRestrictedIdentifier(!0),this.match(47)?J.typeParameters=this.flowParseTypeParameterInstantiation():J.typeParameters=null,P.push(this.finishNode(J,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(g){super.checkGetterSetterParams(g);let P=this.getObjectOrClassMethodParams(g);if(P.length>0){let J=P[0];this.isThisParam(J)&&g.kind==="get"?this.raise(Le.GetterMayNotHaveThisParam,J):this.isThisParam(J)&&this.raise(Le.SetterMayNotHaveThisParam,J)}}parsePropertyNamePrefixOperator(g){g.variance=this.flowParseVariance()}parseObjPropValue(g,P,J,ne,Fe,Xe,lt){let dt;g.variance&&this.unexpected(g.variance.loc.start),delete g.variance,this.match(47)&&!Xe&&(dt=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected());let bt=super.parseObjPropValue(g,P,J,ne,Fe,Xe,lt);return dt&&((bt.value||bt).typeParameters=dt),bt}parseFunctionParamType(g){return this.eat(17)&&(g.type!=="Identifier"&&this.raise(Le.PatternIsOptional,g),this.isThisParam(g)&&this.raise(Le.ThisParamMayNotBeOptional,g),g.optional=!0),this.match(14)?g.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(g)&&this.raise(Le.ThisParamAnnotationRequired,g),this.match(29)&&this.isThisParam(g)&&this.raise(Le.ThisParamNoDefault,g),this.resetEndLocation(g),g}parseMaybeDefault(g,P){let J=super.parseMaybeDefault(g,P);return J.type==="AssignmentPattern"&&J.typeAnnotation&&J.right.start<J.typeAnnotation.start&&this.raise(Le.TypeBeforeInitializer,J.typeAnnotation),J}checkImportReflection(g){super.checkImportReflection(g),g.module&&g.importKind!=="value"&&this.raise(Le.ImportReflectionHasImportType,g.specifiers[0].loc.start)}parseImportSpecifierLocal(g,P,J){P.local=Et(g)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),g.specifiers.push(this.finishImportSpecifier(P,J))}isPotentialImportPhase(g){if(super.isPotentialImportPhase(g))return!0;if(this.isContextual(130)){if(!g)return!0;let P=this.lookaheadCharCode();return P===123||P===42}return!g&&this.isContextual(87)}applyImportPhase(g,P,J,ne){super.applyImportPhase(g,P,J,ne),P?!J&&this.match(65)||(g.exportKind=J==="type"?J:"value"):(J==="type"&&this.match(55)&&this.unexpected(),g.importKind=J==="type"||J==="typeof"?J:"value")}parseImportSpecifier(g,P,J,ne,Fe){let Xe=g.imported,lt=null;Xe.type==="Identifier"&&(Xe.name==="type"?lt="type":Xe.name==="typeof"&&(lt="typeof"));let dt=!1;if(this.isContextual(93)&&!this.isLookaheadContextual("as")){let Lt=this.parseIdentifier(!0);lt===null||oe(this.state.type)?(g.imported=Xe,g.importKind=null,g.local=this.parseIdentifier()):(g.imported=Lt,g.importKind=lt,g.local=this.cloneIdentifier(Lt))}else{if(lt!==null&&oe(this.state.type))g.imported=this.parseIdentifier(!0),g.importKind=lt;else{if(P)throw this.raise(v.ImportBindingIsString,g,{importName:Xe.value});g.imported=Xe,g.importKind=null}this.eatContextual(93)?g.local=this.parseIdentifier():(dt=!0,g.local=this.cloneIdentifier(g.imported))}let bt=Et(g);return J&&bt&&this.raise(Le.ImportTypeShorthandOnlyInPureImport,g),(J||bt)&&this.checkReservedType(g.local.name,g.local.loc.start,!0),!dt||J||bt||this.checkReservedWord(g.local.name,g.loc.start,!0,!0),this.finishImportSpecifier(g,"ImportSpecifier")}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseFunctionParams(g,P){let J=g.kind;J!=="get"&&J!=="set"&&this.match(47)&&(g.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(g,P)}parseVarId(g,P){super.parseVarId(g,P),this.match(14)&&(g.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(g.id))}parseAsyncArrowFromCallExpression(g,P){if(this.match(14)){let J=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0,g.returnType=this.flowParseTypeAnnotation(),this.state.noAnonFunctionType=J}return super.parseAsyncArrowFromCallExpression(g,P)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(g,P){var J,ne,Fe;let Xe,lt=null;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(lt=this.state.clone(),!(Xe=this.tryParse(()=>super.parseMaybeAssign(g,P),lt)).error)return Xe.node;let{context:dt}=this.state,bt=dt[dt.length-1];(bt===F.j_oTag||bt===F.j_expr)&&dt.pop()}if((J=Xe)!=null&&J.error||this.match(47)){let dt;lt=lt||this.state.clone();let bt=this.tryParse(ur=>{var $r;dt=this.flowParseTypeParameterDeclaration();let Kr=this.forwardNoArrowParamsConversionAt(dt,()=>{let Zn=super.parseMaybeAssign(g,P);return this.resetStartLocationFromNode(Zn,dt),Zn});($r=Kr.extra)!=null&&$r.parenthesized&&ur();let Dn=this.maybeUnwrapTypeCastExpression(Kr);return Dn.type!=="ArrowFunctionExpression"&&ur(),Dn.typeParameters=dt,this.resetStartLocationFromNode(Dn,dt),Kr},lt),Lt=null;if(bt.node&&this.maybeUnwrapTypeCastExpression(bt.node).type==="ArrowFunctionExpression"){if(!bt.error&&!bt.aborted)return bt.node.async&&this.raise(Le.UnexpectedTypeParameterBeforeAsyncArrowFunction,dt),bt.node;Lt=bt.node}if((ne=Xe)!=null&&ne.node)return this.state=Xe.failState,Xe.node;if(Lt)return this.state=bt.failState,Lt;throw(Fe=Xe)!=null&&Fe.thrown?Xe.error:bt.thrown?bt.error:this.raise(Le.UnexpectedTokenAfterTypeParameter,dt)}return super.parseMaybeAssign(g,P)}parseArrow(g){if(this.match(14)){let P=this.tryParse(()=>{let J=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;let ne=this.startNode();return[ne.typeAnnotation,g.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=J,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),ne});if(P.thrown)return null;P.error&&(this.state=P.failState),g.returnType=P.node.typeAnnotation?this.finishNode(P.node,"TypeAnnotation"):null}return super.parseArrow(g)}shouldParseArrow(g){return this.match(14)||super.shouldParseArrow(g)}setArrowFunctionParameters(g,P){this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(g.start))?g.params=P:super.setArrowFunctionParameters(g,P)}checkParams(g,P,J,ne=!0){if(!(J&&this.state.noArrowParamsConversionAt.includes(this.offsetToSourcePos(g.start)))){for(let Fe=0;Fe<g.params.length;Fe++)this.isThisParam(g.params[Fe])&&Fe>0&&this.raise(Le.ThisParamMustBeFirst,g.params[Fe]);super.checkParams(g,P,J,ne)}}parseParenAndDistinguishExpression(g){return super.parseParenAndDistinguishExpression(g&&!this.state.noArrowAt.includes(this.sourceToOffsetPos(this.state.start)))}parseSubscripts(g,P,J){if(g.type==="Identifier"&&g.name==="async"&&this.state.noArrowAt.includes(P.index)){this.next();let ne=this.startNodeAt(P);ne.callee=g,ne.arguments=super.parseCallExpressionArguments(),g=this.finishNode(ne,"CallExpression")}else if(g.type==="Identifier"&&g.name==="async"&&this.match(47)){let ne=this.state.clone(),Fe=this.tryParse(lt=>this.parseAsyncArrowWithTypeParameters(P)||lt(),ne);if(!Fe.error&&!Fe.aborted)return Fe.node;let Xe=this.tryParse(()=>super.parseSubscripts(g,P,J),ne);if(Xe.node&&!Xe.error)return Xe.node;if(Fe.node)return this.state=Fe.failState,Fe.node;if(Xe.node)return this.state=Xe.failState,Xe.node;throw Fe.error||Xe.error}return super.parseSubscripts(g,P,J)}parseSubscript(g,P,J,ne){if(this.match(18)&&this.isLookaheadToken_lt()){if(ne.optionalChainMember=!0,J)return ne.stop=!0,g;this.next();let Fe=this.startNodeAt(P);return Fe.callee=g,Fe.typeArguments=this.flowParseTypeParameterInstantiationInExpression(),this.expect(10),Fe.arguments=this.parseCallExpressionArguments(),Fe.optional=!0,this.finishCallExpression(Fe,!0)}if(!J&&this.shouldParseTypes()&&(this.match(47)||this.match(51))){let Fe=this.startNodeAt(P);Fe.callee=g;let Xe=this.tryParse(()=>(Fe.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),Fe.arguments=super.parseCallExpressionArguments(),ne.optionalChainMember&&(Fe.optional=!1),this.finishCallExpression(Fe,ne.optionalChainMember)));if(Xe.node)return Xe.error&&(this.state=Xe.failState),Xe.node}return super.parseSubscript(g,P,J,ne)}parseNewCallee(g){super.parseNewCallee(g);let P=null;this.shouldParseTypes()&&this.match(47)&&(P=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),g.typeArguments=P}parseAsyncArrowWithTypeParameters(g){let P=this.startNodeAt(g);if(this.parseFunctionParams(P,!1),this.parseArrow(P))return super.parseArrowExpression(P,void 0,!0)}readToken_mult_modulo(g){let P=this.input.charCodeAt(this.state.pos+1);if(g===42&&P===47&&this.state.hasFlowComment){this.state.hasFlowComment=!1,this.state.pos+=2,this.nextToken();return}super.readToken_mult_modulo(g)}readToken_pipe_amp(g){let P=this.input.charCodeAt(this.state.pos+1);g===124&&P===125?this.finishOp(9,2):super.readToken_pipe_amp(g)}parseTopLevel(g,P){let J=super.parseTopLevel(g,P);return this.state.hasFlowComment&&this.raise(Le.UnterminatedFlowComment,this.state.curPosition()),J}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment()){if(this.state.hasFlowComment)throw this.raise(Le.NestedFlowComment,this.state.startLoc);this.hasFlowCommentCompletion();let g=this.skipFlowComment();g&&(this.state.pos+=g,this.state.hasFlowComment=!0);return}return super.skipBlockComment(this.state.hasFlowComment?"*-/":"*/")}skipFlowComment(){let{pos:g}=this.state,P=2;for(;[32,9].includes(this.input.charCodeAt(g+P));)P++;let J=this.input.charCodeAt(P+g),ne=this.input.charCodeAt(P+g+1);return J===58&&ne===58?P+2:this.input.slice(P+g,P+g+12)==="flow-include"?P+12:J===58&&ne!==58&&P}hasFlowCommentCompletion(){if(this.input.indexOf("*/",this.state.pos)===-1)throw this.raise(v.UnterminatedComment,this.state.curPosition())}flowEnumErrorBooleanMemberNotInitialized(g,{enumName:P,memberName:J}){this.raise(Le.EnumBooleanMemberNotInitialized,g,{memberName:J,enumName:P})}flowEnumErrorInvalidMemberInitializer(g,P){return this.raise(P.explicitType?P.explicitType==="symbol"?Le.EnumInvalidMemberInitializerSymbolType:Le.EnumInvalidMemberInitializerPrimaryType:Le.EnumInvalidMemberInitializerUnknownType,g,P)}flowEnumErrorNumberMemberNotInitialized(g,P){this.raise(Le.EnumNumberMemberNotInitialized,g,P)}flowEnumErrorStringMemberInconsistentlyInitialized(g,P){this.raise(Le.EnumStringMemberInconsistentlyInitialized,g,P)}flowEnumMemberInit(){let g=this.state.startLoc,P=()=>this.match(12)||this.match(8);switch(this.state.type){case 135:{let J=this.parseNumericLiteral(this.state.value);return P()?{type:"number",loc:J.loc.start,value:J}:{type:"invalid",loc:g}}case 134:{let J=this.parseStringLiteral(this.state.value);return P()?{type:"string",loc:J.loc.start,value:J}:{type:"invalid",loc:g}}case 85:case 86:{let J=this.parseBooleanLiteral(this.match(85));return P()?{type:"boolean",loc:J.loc.start,value:J}:{type:"invalid",loc:g}}default:return{type:"invalid",loc:g}}}flowEnumMemberRaw(){let g=this.state.startLoc;return{id:this.parseIdentifier(!0),init:this.eat(29)?this.flowEnumMemberInit():{type:"none",loc:g}}}flowEnumCheckExplicitTypeMismatch(g,P,J){let{explicitType:ne}=P;ne!==null&&ne!==J&&this.flowEnumErrorInvalidMemberInitializer(g,P)}flowEnumMembers({enumName:g,explicitType:P}){let J=new Set,ne={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]},Fe=!1;for(;!this.match(8);){if(this.eat(21)){Fe=!0;break}let Xe=this.startNode(),{id:lt,init:dt}=this.flowEnumMemberRaw(),bt=lt.name;if(bt==="")continue;/^[a-z]/.test(bt)&&this.raise(Le.EnumInvalidMemberName,lt,{memberName:bt,suggestion:bt[0].toUpperCase()+bt.slice(1),enumName:g}),J.has(bt)&&this.raise(Le.EnumDuplicateMemberName,lt,{memberName:bt,enumName:g}),J.add(bt);let Lt={enumName:g,explicitType:P,memberName:bt};switch(Xe.id=lt,dt.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(dt.loc,Lt,"boolean"),Xe.init=dt.value,ne.booleanMembers.push(this.finishNode(Xe,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(dt.loc,Lt,"number"),Xe.init=dt.value,ne.numberMembers.push(this.finishNode(Xe,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(dt.loc,Lt,"string"),Xe.init=dt.value,ne.stringMembers.push(this.finishNode(Xe,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(dt.loc,Lt);case"none":switch(P){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(dt.loc,Lt);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(dt.loc,Lt);break;default:ne.defaultedMembers.push(this.finishNode(Xe,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:ne,hasUnknownMembers:Fe}}flowEnumStringMembers(g,P,{enumName:J}){if(g.length===0)return P;if(P.length===0)return g;if(P.length>g.length){for(let ne of g)this.flowEnumErrorStringMemberInconsistentlyInitialized(ne,{enumName:J});return P}for(let ne of P)this.flowEnumErrorStringMemberInconsistentlyInitialized(ne,{enumName:J});return g}flowEnumParseExplicitType({enumName:g}){if(!this.eatContextual(102))return null;if(!X(this.state.type))throw this.raise(Le.EnumInvalidExplicitTypeUnknownSupplied,this.state.startLoc,{enumName:g});let{value:P}=this.state;return this.next(),P!=="boolean"&&P!=="number"&&P!=="string"&&P!=="symbol"&&this.raise(Le.EnumInvalidExplicitType,this.state.startLoc,{enumName:g,invalidEnumType:P}),P}flowEnumBody(g,P){let J=P.name,ne=P.loc.start,Fe=this.flowEnumParseExplicitType({enumName:J});this.expect(5);let{members:Xe,hasUnknownMembers:lt}=this.flowEnumMembers({enumName:J,explicitType:Fe});switch(g.hasUnknownMembers=lt,Fe){case"boolean":return g.explicitType=!0,g.members=Xe.booleanMembers,this.expect(8),this.finishNode(g,"EnumBooleanBody");case"number":return g.explicitType=!0,g.members=Xe.numberMembers,this.expect(8),this.finishNode(g,"EnumNumberBody");case"string":return g.explicitType=!0,g.members=this.flowEnumStringMembers(Xe.stringMembers,Xe.defaultedMembers,{enumName:J}),this.expect(8),this.finishNode(g,"EnumStringBody");case"symbol":return g.members=Xe.defaultedMembers,this.expect(8),this.finishNode(g,"EnumSymbolBody");default:{let dt=()=>(g.members=[],this.expect(8),this.finishNode(g,"EnumStringBody"));g.explicitType=!1;let bt=Xe.booleanMembers.length,Lt=Xe.numberMembers.length,ur=Xe.stringMembers.length,$r=Xe.defaultedMembers.length;if(!bt&&!Lt&&!ur&&!$r)return dt();if(!bt&&!Lt)return g.members=this.flowEnumStringMembers(Xe.stringMembers,Xe.defaultedMembers,{enumName:J}),this.expect(8),this.finishNode(g,"EnumStringBody");if(Lt||ur||!(bt>=$r)){if(bt||ur||!(Lt>=$r))return this.raise(Le.EnumInconsistentMemberValues,ne,{enumName:J}),dt();for(let Kr of Xe.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(Kr.loc.start,{enumName:J,memberName:Kr.id.name});return g.members=Xe.numberMembers,this.expect(8),this.finishNode(g,"EnumNumberBody")}else{for(let Kr of Xe.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(Kr.loc.start,{enumName:J,memberName:Kr.id.name});return g.members=Xe.booleanMembers,this.expect(8),this.finishNode(g,"EnumBooleanBody")}}}}flowParseEnumDeclaration(g){let P=this.parseIdentifier();return g.id=P,g.body=this.flowEnumBody(this.startNode(),P),this.finishNode(g,"EnumDeclaration")}jsxParseOpeningElementAfterName(g){return this.shouldParseTypes()&&(this.match(47)||this.match(51))&&(g.typeArguments=this.flowParseTypeParameterInstantiationInExpression()),super.jsxParseOpeningElementAfterName(g)}isLookaheadToken_lt(){let g=this.nextTokenStart();if(this.input.charCodeAt(g)===60){let P=this.input.charCodeAt(g+1);return P!==60&&P!==61}return!1}reScan_lt_gt(){let{type:g}=this.state;g===47?(this.state.pos-=1,this.readToken_lt()):g===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:g}=this.state;return g===51?(this.state.pos-=2,this.finishOp(47,1),47):g}maybeUnwrapTypeCastExpression(g){return g.type==="TypeCastExpression"?g.expression:g}},typescript:Ue=>class extends Ue{constructor(...g){super(...g),this.tsParseInOutModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out"],disallowedModifiers:["const","public","private","protected","readonly","declare","abstract","override"],errorTemplate:kr.InvalidModifierOnTypeParameter}),this.tsParseConstModifier=this.tsParseModifiers.bind(this,{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:kr.InvalidModifierOnTypeParameterPositions}),this.tsParseInOutConstModifiers=this.tsParseModifiers.bind(this,{allowedModifiers:["in","out","const"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:kr.InvalidModifierOnTypeParameter})}getScopeHandler(){return rt}tsIsIdentifier(){return X(this.state.type)}tsTokenCanFollowModifier(){return this.match(0)||this.match(5)||this.match(55)||this.match(21)||this.match(139)||this.isLiteralPropertyName()}tsNextTokenOnSameLineAndCanFollowModifier(){return this.next(),!this.hasPrecedingLineBreak()&&this.tsTokenCanFollowModifier()}tsNextTokenCanFollowModifier(){return this.match(106)?(this.next(),this.tsTokenCanFollowModifier()):this.tsNextTokenOnSameLineAndCanFollowModifier()}tsParseModifier(g,P,J){if(!X(this.state.type)&&this.state.type!==58&&this.state.type!==75)return;let ne=this.state.value;if(g.includes(ne)){if(J&&this.match(106)||P&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return ne}}tsParseModifiers({allowedModifiers:g,disallowedModifiers:P,stopOnStartOfClassStaticBlock:J,errorTemplate:ne=kr.InvalidModifierOnTypeMember},Fe){let Xe=(dt,bt,Lt,ur)=>{bt===Lt&&Fe[ur]&&this.raise(kr.InvalidModifiersOrder,dt,{orderedModifiers:[Lt,ur]})},lt=(dt,bt,Lt,ur)=>{(Fe[Lt]&&bt===ur||Fe[ur]&&bt===Lt)&&this.raise(kr.IncompatibleModifiers,dt,{modifiers:[Lt,ur]})};for(;;){let{startLoc:dt}=this.state,bt=this.tsParseModifier(g.concat(P??[]),J,Fe.static);if(!bt)break;Vr(bt)?Fe.accessibility?this.raise(kr.DuplicateAccessibilityModifier,dt,{modifier:bt}):(Xe(dt,bt,bt,"override"),Xe(dt,bt,bt,"static"),Xe(dt,bt,bt,"readonly"),Fe.accessibility=bt):Qi(bt)?(Fe[bt]&&this.raise(kr.DuplicateModifier,dt,{modifier:bt}),Fe[bt]=!0,Xe(dt,bt,"in","out")):(hasOwnProperty.call(Fe,bt)?this.raise(kr.DuplicateModifier,dt,{modifier:bt}):(Xe(dt,bt,"static","readonly"),Xe(dt,bt,"static","override"),Xe(dt,bt,"override","readonly"),Xe(dt,bt,"abstract","override"),lt(dt,bt,"declare","override"),lt(dt,bt,"static","abstract")),Fe[bt]=!0),P!=null&&P.includes(bt)&&this.raise(ne,dt,{modifier:bt})}}tsIsListTerminator(g){switch(g){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(g,P){let J=[];for(;!this.tsIsListTerminator(g);)J.push(P());return J}tsParseDelimitedList(g,P,J){return Qn(this.tsParseDelimitedListWorker(g,P,!0,J))}tsParseDelimitedListWorker(g,P,J,ne){let Fe=[],Xe=-1;for(;!this.tsIsListTerminator(g);){Xe=-1;let lt=P();if(lt==null)return;if(Fe.push(lt),this.eat(12)){Xe=this.state.lastTokStartLoc.index;continue}if(this.tsIsListTerminator(g))break;J&&this.expect(12);return}return ne&&(ne.value=Xe),Fe}tsParseBracketedList(g,P,J,ne,Fe){ne||(J?this.expect(0):this.expect(47));let Xe=this.tsParseDelimitedList(g,P,Fe);return J?this.expect(3):this.expect(48),Xe}tsParseImportType(){let g=this.startNode();return this.expect(83),this.expect(10),this.match(134)?g.argument=this.parseStringLiteral(this.state.value):(this.raise(kr.UnsupportedImportTypeArgument,this.state.startLoc),g.argument=super.parseExprAtom()),this.eat(12)?g.options=this.tsParseImportTypeOptions():g.options=null,this.expect(11),this.eat(16)&&(g.qualifier=this.tsParseEntityName(3)),this.match(47)&&(g.typeParameters=this.tsParseTypeArguments()),this.finishNode(g,"TSImportType")}tsParseImportTypeOptions(){let g=this.startNode();this.expect(5);let P=this.startNode();return this.isContextual(76)?(P.method=!1,P.key=this.parseIdentifier(!0),P.computed=!1,P.shorthand=!1):this.unexpected(null,76),this.expect(14),P.value=this.tsParseImportTypeWithPropertyValue(),g.properties=[this.finishObjectProperty(P)],this.eat(12),this.expect(8),this.finishNode(g,"ObjectExpression")}tsParseImportTypeWithPropertyValue(){let g=this.startNode(),P=[];for(this.expect(5);!this.match(8);){let J=this.state.type;X(J)||J===134?P.push(super.parsePropertyDefinition(null)):this.unexpected(),this.eat(12)}return g.properties=P,this.next(),this.finishNode(g,"ObjectExpression")}tsParseEntityName(g){let P;if(1&g&&this.match(78))if(2&g)P=this.parseIdentifier(!0);else{let J=this.startNode();this.next(),P=this.finishNode(J,"ThisExpression")}else P=this.parseIdentifier(!!(1&g));for(;this.eat(16);){let J=this.startNodeAtNode(P);J.left=P,J.right=this.parseIdentifier(!!(1&g)),P=this.finishNode(J,"TSQualifiedName")}return P}tsParseTypeReference(){let g=this.startNode();return g.typeName=this.tsParseEntityName(1),!this.hasPrecedingLineBreak()&&this.match(47)&&(g.typeParameters=this.tsParseTypeArguments()),this.finishNode(g,"TSTypeReference")}tsParseThisTypePredicate(g){this.next();let P=this.startNodeAtNode(g);return P.parameterName=g,P.typeAnnotation=this.tsParseTypeAnnotation(!1),P.asserts=!1,this.finishNode(P,"TSTypePredicate")}tsParseThisTypeNode(){let g=this.startNode();return this.next(),this.finishNode(g,"TSThisType")}tsParseTypeQuery(){let g=this.startNode();return this.expect(87),this.match(83)?g.exprName=this.tsParseImportType():g.exprName=this.tsParseEntityName(3),!this.hasPrecedingLineBreak()&&this.match(47)&&(g.typeParameters=this.tsParseTypeArguments()),this.finishNode(g,"TSTypeQuery")}tsParseTypeParameter(g){let P=this.startNode();return g(P),P.name=this.tsParseTypeParameterName(),P.constraint=this.tsEatThenParseType(81),P.default=this.tsEatThenParseType(29),this.finishNode(P,"TSTypeParameter")}tsTryParseTypeParameters(g){if(this.match(47))return this.tsParseTypeParameters(g)}tsParseTypeParameters(g){let P=this.startNode();this.match(47)||this.match(143)?this.next():this.unexpected();let J={value:-1};return P.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,g),!1,!0,J),P.params.length===0&&this.raise(kr.EmptyTypeParameters,P),J.value!==-1&&this.addExtra(P,"trailingComma",J.value),this.finishNode(P,"TSTypeParameterDeclaration")}tsFillSignature(g,P){let J=g===19,ne="typeAnnotation";P.typeParameters=this.tsTryParseTypeParameters(this.tsParseConstModifier),this.expect(10),P.parameters=this.tsParseBindingListForSignature(),J?P[ne]=this.tsParseTypeOrTypePredicateAnnotation(g):this.match(g)&&(P[ne]=this.tsParseTypeOrTypePredicateAnnotation(g))}tsParseBindingListForSignature(){let g=super.parseBindingList(11,41,2);for(let P of g){let{type:J}=P;(J==="AssignmentPattern"||J==="TSParameterProperty")&&this.raise(kr.UnsupportedSignatureParameterKind,P,{type:J})}return g}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(g,P){return this.tsFillSignature(14,P),this.tsParseTypeMemberSemicolon(),this.finishNode(P,g)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!X(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(g){if(!(this.match(0)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))))return;this.expect(0);let P=this.parseIdentifier();P.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(P),this.expect(3),g.parameters=[P];let J=this.tsTryParseTypeAnnotation();return J&&(g.typeAnnotation=J),this.tsParseTypeMemberSemicolon(),this.finishNode(g,"TSIndexSignature")}tsParsePropertyOrMethodSignature(g,P){if(this.eat(17)&&(g.optional=!0),this.match(10)||this.match(47)){P&&this.raise(kr.ReadonlyForMethodSignature,g),g.kind&&this.match(47)&&this.raise(kr.AccessorCannotHaveTypeParameters,this.state.curPosition()),this.tsFillSignature(14,g),this.tsParseTypeMemberSemicolon();let J="parameters",ne="typeAnnotation";if(g.kind==="get")g[J].length>0&&(this.raise(v.BadGetterArity,this.state.curPosition()),this.isThisParam(g[J][0])&&this.raise(kr.AccessorCannotDeclareThisParameter,this.state.curPosition()));else if(g.kind==="set"){if(g[J].length!==1)this.raise(v.BadSetterArity,this.state.curPosition());else{let Fe=g[J][0];this.isThisParam(Fe)&&this.raise(kr.AccessorCannotDeclareThisParameter,this.state.curPosition()),Fe.type==="Identifier"&&Fe.optional&&this.raise(kr.SetAccessorCannotHaveOptionalParameter,this.state.curPosition()),Fe.type==="RestElement"&&this.raise(kr.SetAccessorCannotHaveRestParameter,this.state.curPosition())}g[ne]&&this.raise(kr.SetAccessorCannotHaveReturnType,g[ne])}else g.kind="method";return this.finishNode(g,"TSMethodSignature")}{P&&(g.readonly=!0);let J=this.tsTryParseTypeAnnotation();return J&&(g.typeAnnotation=J),this.tsParseTypeMemberSemicolon(),this.finishNode(g,"TSPropertySignature")}}tsParseTypeMember(){let g=this.startNode();if(this.match(10)||this.match(47))return this.tsParseSignatureMember("TSCallSignatureDeclaration",g);if(this.match(77)){let J=this.startNode();return this.next(),this.match(10)||this.match(47)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",g):(g.key=this.createIdentifier(J,"new"),this.tsParsePropertyOrMethodSignature(g,!1))}return this.tsParseModifiers({allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]},g),this.tsTryParseIndexSignature(g)||(super.parsePropertyName(g),!g.computed&&g.key.type==="Identifier"&&(g.key.name==="get"||g.key.name==="set")&&this.tsTokenCanFollowModifier()&&(g.kind=g.key.name,super.parsePropertyName(g),this.match(10)||this.match(47)||this.unexpected(null,10)),this.tsParsePropertyOrMethodSignature(g,!!g.readonly))}tsParseTypeLiteral(){let g=this.startNode();return g.members=this.tsParseObjectTypeMembers(),this.finishNode(g,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);let g=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),g}tsIsStartOfMappedType(){return this.next(),this.eat(53)?this.isContextual(122):(this.isContextual(122)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(58))))}tsParseMappedType(){let g=this.startNode();this.expect(5),this.match(53)?(g.readonly=this.state.value,this.next(),this.expectContextual(122)):this.eatContextual(122)&&(g.readonly=!0),this.expect(0);{let P=this.startNode();P.name=this.tsParseTypeParameterName(),P.constraint=this.tsExpectThenParseType(58),g.typeParameter=this.finishNode(P,"TSTypeParameter")}return g.nameType=this.eatContextual(93)?this.tsParseType():null,this.expect(3),this.match(53)?(g.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(g.optional=!0),g.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(g,"TSMappedType")}tsParseTupleType(){let g=this.startNode();g.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let P=!1;return g.elementTypes.forEach(J=>{let{type:ne}=J;P&&ne!=="TSRestType"&&ne!=="TSOptionalType"&&!(ne==="TSNamedTupleMember"&&J.optional)&&this.raise(kr.OptionalTypeBeforeRequired,J),P||(P=ne==="TSNamedTupleMember"&&J.optional||ne==="TSOptionalType")}),this.finishNode(g,"TSTupleType")}tsParseTupleElementType(){let g,P,J,ne,Fe=this.state.startLoc,Xe=this.eat(21),{startLoc:lt}=this.state,dt=oe(this.state.type)?this.lookaheadCharCode():null;if(dt===58)g=!0,J=!1,P=this.parseIdentifier(!0),this.expect(14),ne=this.tsParseType();else if(dt===63){J=!0;let bt=this.state.value,Lt=this.tsParseNonArrayType();this.lookaheadCharCode()===58?(g=!0,P=this.createIdentifier(this.startNodeAt(lt),bt),this.expect(17),this.expect(14),ne=this.tsParseType()):(g=!1,ne=Lt,this.expect(17))}else ne=this.tsParseType(),J=this.eat(17),g=this.eat(14);if(g){let bt;P?((bt=this.startNodeAt(lt)).optional=J,bt.label=P,bt.elementType=ne,this.eat(17)&&(bt.optional=!0,this.raise(kr.TupleOptionalAfterType,this.state.lastTokStartLoc))):((bt=this.startNodeAt(lt)).optional=J,this.raise(kr.InvalidTupleMemberLabel,ne),bt.label=ne,bt.elementType=this.tsParseType()),ne=this.finishNode(bt,"TSNamedTupleMember")}else if(J){let bt=this.startNodeAt(lt);bt.typeAnnotation=ne,ne=this.finishNode(bt,"TSOptionalType")}if(Xe){let bt=this.startNodeAt(Fe);bt.typeAnnotation=ne,ne=this.finishNode(bt,"TSRestType")}return ne}tsParseParenthesizedType(){let g=this.startNode();return this.expect(10),g.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(g,"TSParenthesizedType")}tsParseFunctionOrConstructorType(g,P){let J=this.startNode();return g==="TSConstructorType"&&(J.abstract=!!P,P&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(()=>this.tsFillSignature(19,J)),this.finishNode(J,g)}tsParseLiteralTypeNode(){let g=this.startNode();switch(this.state.type){case 135:case 136:case 134:case 85:case 86:g.literal=super.parseExprAtom();break;default:this.unexpected()}return this.finishNode(g,"TSLiteralType")}tsParseTemplateLiteralType(){{let g=this.startNode();return g.literal=super.parseTemplate(!1),this.finishNode(g,"TSLiteralType")}}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){let g=this.tsParseThisTypeNode();return this.isContextual(116)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(g):g}tsParseNonArrayType(){switch(this.state.type){case 134:case 135:case 136:case 85:case 86:return this.tsParseLiteralTypeNode();case 53:if(this.state.value==="-"){let g=this.startNode(),P=this.lookahead();return P.type!==135&&P.type!==136&&this.unexpected(),g.literal=this.parseMaybeUnary(),this.finishNode(g,"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:g}=this.state;if(X(g)||g===88||g===84){let P=g===88?"TSVoidKeyword":g===84?"TSNullKeyword":ss(this.state.value);if(P!==void 0&&this.lookaheadCharCode()!==46){let J=this.startNode();return this.next(),this.finishNode(J,P)}return this.tsParseTypeReference()}}}this.unexpected()}tsParseArrayTypeOrHigher(){let{startLoc:g}=this.state,P=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){let J=this.startNodeAt(g);J.elementType=P,this.expect(3),P=this.finishNode(J,"TSArrayType")}else{let J=this.startNodeAt(g);J.objectType=P,J.indexType=this.tsParseType(),this.expect(3),P=this.finishNode(J,"TSIndexedAccessType")}return P}tsParseTypeOperator(){let g=this.startNode(),P=this.state.value;return this.next(),g.operator=P,g.typeAnnotation=this.tsParseTypeOperatorOrHigher(),P==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(g),this.finishNode(g,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(g){switch(g.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(kr.UnexpectedReadonly,g)}}tsParseInferType(){let g=this.startNode();this.expectContextual(115);let P=this.startNode();return P.name=this.tsParseTypeParameterName(),P.constraint=this.tsTryParse(()=>this.tsParseConstraintForInferType()),g.typeParameter=this.finishNode(P,"TSTypeParameter"),this.finishNode(g,"TSInferType")}tsParseConstraintForInferType(){if(this.eat(81)){let g=this.tsInDisallowConditionalTypesContext(()=>this.tsParseType());if(this.state.inDisallowConditionalTypesContext||!this.match(17))return g}}tsParseTypeOperatorOrHigher(){return ve(this.state.type)&&!this.state.containsEsc?this.tsParseTypeOperator():this.isContextual(115)?this.tsParseInferType():this.tsInAllowConditionalTypesContext(()=>this.tsParseArrayTypeOrHigher())}tsParseUnionOrIntersectionType(g,P,J){let ne=this.startNode(),Fe=this.eat(J),Xe=[];do Xe.push(P());while(this.eat(J));return Xe.length!==1||Fe?(ne.types=Xe,this.finishNode(ne,g)):Xe[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(X(this.state.type)||this.match(78))return this.next(),!0;if(this.match(5)){let{errors:g}=this.state,P=g.length;try{return this.parseObjectLike(8,!0),g.length===P}catch{return!1}}if(this.match(0)){this.next();let{errors:g}=this.state,P=g.length;try{return super.parseBindingList(3,93,1),g.length===P}catch{}}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(g){return this.tsInType(()=>{let P=this.startNode();this.expect(g);let J=this.startNode(),ne=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(ne&&this.match(78)){let lt=this.tsParseThisTypeOrThisTypePredicate();return lt.type==="TSThisType"?(J.parameterName=lt,J.asserts=!0,J.typeAnnotation=null,lt=this.finishNode(J,"TSTypePredicate")):(this.resetStartLocationFromNode(lt,J),lt.asserts=!0),P.typeAnnotation=lt,this.finishNode(P,"TSTypeAnnotation")}let Fe=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!Fe)return ne?(J.parameterName=this.parseIdentifier(),J.asserts=ne,J.typeAnnotation=null,P.typeAnnotation=this.finishNode(J,"TSTypePredicate"),this.finishNode(P,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,P);let Xe=this.tsParseTypeAnnotation(!1);return J.parameterName=Fe,J.typeAnnotation=Xe,J.asserts=ne,P.typeAnnotation=this.finishNode(J,"TSTypePredicate"),this.finishNode(P,"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 g=this.parseIdentifier();if(this.isContextual(116)&&!this.hasPrecedingLineBreak())return this.next(),g}tsParseTypePredicateAsserts(){if(this.state.type!==109)return!1;let g=this.state.containsEsc;return this.next(),(!!X(this.state.type)||!!this.match(78))&&(g&&this.raise(v.InvalidEscapedReservedWord,this.state.lastTokStartLoc,{reservedWord:"asserts"}),!0)}tsParseTypeAnnotation(g=!0,P=this.startNode()){return this.tsInType(()=>{g&&this.expect(14),P.typeAnnotation=this.tsParseType()}),this.finishNode(P,"TSTypeAnnotation")}tsParseType(){Wi(this.state.inType);let g=this.tsParseNonConditionalType();if(this.state.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(81))return g;let P=this.startNodeAtNode(g);return P.checkType=g,P.extendsType=this.tsInDisallowConditionalTypesContext(()=>this.tsParseNonConditionalType()),this.expect(17),P.trueType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.expect(14),P.falseType=this.tsInAllowConditionalTypesContext(()=>this.tsParseType()),this.finishNode(P,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(124)&&this.isLookaheadContextual("new")}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(kr.ReservedTypeAssertion,this.state.startLoc);let g=this.startNode();return g.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?this.tsParseTypeReference():this.tsParseType())),this.expect(48),g.expression=this.parseMaybeUnary(),this.finishNode(g,"TSTypeAssertion")}tsParseHeritageClause(g){let P=this.state.startLoc,J=this.tsParseDelimitedList("HeritageClauseElement",()=>{{let ne=this.startNode();return ne.expression=this.tsParseEntityName(3),this.match(47)&&(ne.typeParameters=this.tsParseTypeArguments()),this.finishNode(ne,"TSExpressionWithTypeArguments")}});return J.length||this.raise(kr.EmptyHeritageClauseType,P,{token:g}),J}tsParseInterfaceDeclaration(g,P={}){if(this.hasFollowingLineBreak())return null;this.expectContextual(129),P.declare&&(g.declare=!0),X(this.state.type)?(g.id=this.parseIdentifier(),this.checkIdentifier(g.id,130)):(g.id=null,this.raise(kr.MissingInterfaceName,this.state.startLoc)),g.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers),this.eat(81)&&(g.extends=this.tsParseHeritageClause("extends"));let J=this.startNode();return J.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),g.body=this.finishNode(J,"TSInterfaceBody"),this.finishNode(g,"TSInterfaceDeclaration")}tsParseTypeAliasDeclaration(g){return g.id=this.parseIdentifier(),this.checkIdentifier(g.id,2),g.typeAnnotation=this.tsInType(()=>{if(g.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers),this.expect(29),this.isContextual(114)&&this.lookaheadCharCode()!==46){let P=this.startNode();return this.next(),this.finishNode(P,"TSIntrinsicKeyword")}return this.tsParseType()}),this.semicolon(),this.finishNode(g,"TSTypeAliasDeclaration")}tsInTopLevelContext(g){if(this.curContext()===F.brace)return g();{let P=this.state.context;this.state.context=[P[0]];try{return g()}finally{this.state.context=P}}}tsInType(g){let P=this.state.inType;this.state.inType=!0;try{return g()}finally{this.state.inType=P}}tsInDisallowConditionalTypesContext(g){let P=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!0;try{return g()}finally{this.state.inDisallowConditionalTypesContext=P}}tsInAllowConditionalTypesContext(g){let P=this.state.inDisallowConditionalTypesContext;this.state.inDisallowConditionalTypesContext=!1;try{return g()}finally{this.state.inDisallowConditionalTypesContext=P}}tsEatThenParseType(g){if(this.match(g))return this.tsNextThenParseType()}tsExpectThenParseType(g){return this.tsInType(()=>(this.expect(g),this.tsParseType()))}tsNextThenParseType(){return this.tsInType(()=>(this.next(),this.tsParseType()))}tsParseEnumMember(){let g=this.startNode();return g.id=this.match(134)?super.parseStringLiteral(this.state.value):this.parseIdentifier(!0),this.eat(29)&&(g.initializer=super.parseMaybeAssignAllowIn()),this.finishNode(g,"TSEnumMember")}tsParseEnumDeclaration(g,P={}){return P.const&&(g.const=!0),P.declare&&(g.declare=!0),this.expectContextual(126),g.id=this.parseIdentifier(),this.checkIdentifier(g.id,g.const?8971:8459),this.expect(5),g.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(g,"TSEnumDeclaration")}tsParseEnumBody(){let g=this.startNode();return this.expect(5),g.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(g,"TSEnumBody")}tsParseModuleBlock(){let g=this.startNode();return this.scope.enter(0),this.expect(5),super.parseBlockOrModuleBlockBody(g.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(g,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(g,P=!1){if(g.id=this.parseIdentifier(),P||this.checkIdentifier(g.id,1024),this.eat(16)){let J=this.startNode();this.tsParseModuleOrNamespaceDeclaration(J,!0),g.body=J}else this.scope.enter(1024),this.prodParam.enter(0),g.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(g,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(g){return this.isContextual(112)?(g.kind="global",g.global=!0,g.id=this.parseIdentifier()):this.match(134)?(g.kind="module",g.id=super.parseStringLiteral(this.state.value)):this.unexpected(),this.match(5)?(this.scope.enter(1024),this.prodParam.enter(0),g.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(g,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(g,P,J){g.isExport=J||!1,g.id=P||this.parseIdentifier(),this.checkIdentifier(g.id,4096),this.expect(29);let ne=this.tsParseModuleReference();return g.importKind==="type"&&ne.type!=="TSExternalModuleReference"&&this.raise(kr.ImportAliasHasImportType,ne),g.moduleReference=ne,this.semicolon(),this.finishNode(g,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(119)&&this.lookaheadCharCode()===40}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(0)}tsParseExternalModuleReference(){let g=this.startNode();return this.expectContextual(119),this.expect(10),this.match(134)||this.unexpected(),g.expression=super.parseExprAtom(),this.expect(11),this.sawUnambiguousESM=!0,this.finishNode(g,"TSExternalModuleReference")}tsLookAhead(g){let P=this.state.clone(),J=g();return this.state=P,J}tsTryParseAndCatch(g){let P=this.tryParse(J=>g()||J());if(!P.aborted&&P.node)return P.error&&(this.state=P.failState),P.node}tsTryParse(g){let P=this.state.clone(),J=g();if(J!==void 0&&J!==!1)return J;this.state=P}tsTryParseDeclare(g){if(this.isLineTerminator())return;let P=this.state.type;return this.tsInAmbientContext(()=>{switch(P){case 68:return g.declare=!0,super.parseFunctionStatement(g,!1,!1);case 80:return g.declare=!0,this.parseClass(g,!0,!1);case 126:return this.tsParseEnumDeclaration(g,{declare:!0});case 112:return this.tsParseAmbientExternalModuleDeclaration(g);case 100:if(this.state.containsEsc)return;case 75:case 74:return!this.match(75)||!this.isLookaheadContextual("enum")?(g.declare=!0,this.parseVarStatement(g,this.state.value,!0)):(this.expect(75),this.tsParseEnumDeclaration(g,{const:!0,declare:!0}));case 107:if(this.isUsing())return this.raise(kr.InvalidModifierOnUsingDeclaration,this.state.startLoc,"declare"),g.declare=!0,this.parseVarStatement(g,"using",!0);break;case 96:if(this.isAwaitUsing())return this.raise(kr.InvalidModifierOnAwaitUsingDeclaration,this.state.startLoc,"declare"),g.declare=!0,this.next(),this.parseVarStatement(g,"await using",!0);break;case 129:{let J=this.tsParseInterfaceDeclaration(g,{declare:!0});if(J)return J}default:if(X(P))return this.tsParseDeclaration(g,this.state.value,!0,null)}})}tsTryParseExportDeclaration(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0,null)}tsParseExpressionStatement(g,P,J){switch(P.name){case"declare":{let ne=this.tsTryParseDeclare(g);return ne&&(ne.declare=!0),ne}case"global":if(this.match(5))return this.scope.enter(1024),this.prodParam.enter(0),g.kind="global",g.global=!0,g.id=P,g.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(g,"TSModuleDeclaration");break;default:return this.tsParseDeclaration(g,P.name,!1,J)}}tsParseDeclaration(g,P,J,ne){switch(P){case"abstract":if(this.tsCheckLineTerminator(J)&&(this.match(80)||X(this.state.type)))return this.tsParseAbstractDeclaration(g,ne);break;case"module":if(this.tsCheckLineTerminator(J)){if(this.match(134))return this.tsParseAmbientExternalModuleDeclaration(g);if(X(this.state.type))return g.kind="module",this.tsParseModuleOrNamespaceDeclaration(g)}break;case"namespace":if(this.tsCheckLineTerminator(J)&&X(this.state.type))return g.kind="namespace",this.tsParseModuleOrNamespaceDeclaration(g);break;case"type":if(this.tsCheckLineTerminator(J)&&X(this.state.type))return this.tsParseTypeAliasDeclaration(g)}}tsCheckLineTerminator(g){return g?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(g){if(!this.match(47))return;let P=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;let J=this.tsTryParseAndCatch(()=>{let ne=this.startNodeAt(g);return ne.typeParameters=this.tsParseTypeParameters(this.tsParseConstModifier),super.parseFunctionParams(ne),ne.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),ne});if(this.state.maybeInArrowParameters=P,J)return super.parseArrowExpression(J,null,!0)}tsParseTypeArgumentsInExpression(){if(this.reScan_lt()===47)return this.tsParseTypeArguments()}tsParseTypeArguments(){let g=this.startNode();return g.params=this.tsInType(()=>this.tsInTopLevelContext(()=>(this.expect(47),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),g.params.length===0?this.raise(kr.EmptyTypeArguments,g):this.state.inType||this.curContext()!==F.brace||this.reScan_lt_gt(),this.expect(48),this.finishNode(g,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return he(this.state.type)}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseBindingElement(g,P){let J=P.length?P[0].loc.start:this.state.startLoc,ne={};this.tsParseModifiers({allowedModifiers:["public","private","protected","override","readonly"]},ne);let Fe=ne.accessibility,Xe=ne.override,lt=ne.readonly;!(4&g)&&(Fe||lt||Xe)&&this.raise(kr.UnexpectedParameterModifier,J);let dt=this.parseMaybeDefault();2&g&&this.parseFunctionParamType(dt);let bt=this.parseMaybeDefault(dt.loc.start,dt);if(Fe||lt||Xe){let Lt=this.startNodeAt(J);return P.length&&(Lt.decorators=P),Fe&&(Lt.accessibility=Fe),lt&&(Lt.readonly=lt),Xe&&(Lt.override=Xe),bt.type!=="Identifier"&&bt.type!=="AssignmentPattern"&&this.raise(kr.UnsupportedParameterPropertyKind,Lt),Lt.parameter=bt,this.finishNode(Lt,"TSParameterProperty")}return P.length&&(dt.decorators=P),bt}isSimpleParameter(g){return g.type==="TSParameterProperty"&&super.isSimpleParameter(g.parameter)||super.isSimpleParameter(g)}tsDisallowOptionalPattern(g){for(let P of g.params)P.type!=="Identifier"&&P.optional&&!this.state.isAmbientContext&&this.raise(kr.PatternIsOptional,P)}setArrowFunctionParameters(g,P,J){super.setArrowFunctionParameters(g,P,J),this.tsDisallowOptionalPattern(g)}parseFunctionBodyAndFinish(g,P,J=!1){this.match(14)&&(g.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));let ne=P==="FunctionDeclaration"?"TSDeclareFunction":P==="ClassMethod"||P==="ClassPrivateMethod"?"TSDeclareMethod":void 0;return ne&&!this.match(5)&&this.isLineTerminator()?this.finishNode(g,ne):ne==="TSDeclareFunction"&&this.state.isAmbientContext&&(this.raise(kr.DeclareFunctionHasImplementation,g),g.declare)?super.parseFunctionBodyAndFinish(g,ne,J):(this.tsDisallowOptionalPattern(g),super.parseFunctionBodyAndFinish(g,P,J))}registerFunctionStatementId(g){!g.body&&g.id?this.checkIdentifier(g.id,1024):super.registerFunctionStatementId(g)}tsCheckForInvalidTypeCasts(g){g.forEach(P=>{(P==null?void 0:P.type)==="TSTypeCastExpression"&&this.raise(kr.UnexpectedTypeAnnotation,P.typeAnnotation)})}toReferencedList(g,P){return this.tsCheckForInvalidTypeCasts(g),g}parseArrayLike(g,P,J,ne){let Fe=super.parseArrayLike(g,P,J,ne);return Fe.type==="ArrayExpression"&&this.tsCheckForInvalidTypeCasts(Fe.elements),Fe}parseSubscript(g,P,J,ne){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();let Xe=this.startNodeAt(P);return Xe.expression=g,this.finishNode(Xe,"TSNonNullExpression")}let Fe=!1;if(this.match(18)&&this.lookaheadCharCode()===60){if(J)return ne.stop=!0,g;ne.optionalChainMember=Fe=!0,this.next()}if(this.match(47)||this.match(51)){let Xe,lt=this.tsTryParseAndCatch(()=>{if(!J&&this.atPossibleAsyncArrow(g)){let ur=this.tsTryParseGenericAsyncArrowFunction(P);if(ur)return ne.stop=!0,ur}let dt=this.tsParseTypeArgumentsInExpression();if(!dt)return;if(Fe&&!this.match(10)){Xe=this.state.curPosition();return}if(Ce(this.state.type)){let ur=super.parseTaggedTemplateExpression(g,P,ne);return ur.typeParameters=dt,ur}if(!J&&this.eat(10)){let ur=this.startNodeAt(P);return ur.callee=g,ur.arguments=this.parseCallExpressionArguments(),this.tsCheckForInvalidTypeCasts(ur.arguments),ur.typeParameters=dt,ne.optionalChainMember&&(ur.optional=Fe),this.finishCallExpression(ur,ne.optionalChainMember)}let bt=this.state.type;if(bt===48||bt===52||bt!==10&&K[bt]&&!this.hasPrecedingLineBreak())return;let Lt=this.startNodeAt(P);return Lt.expression=g,Lt.typeParameters=dt,this.finishNode(Lt,"TSInstantiationExpression")});if(Xe&&this.unexpected(Xe,10),lt)return lt.type==="TSInstantiationExpression"&&((this.match(16)||this.match(18)&&this.lookaheadCharCode()!==40)&&this.raise(kr.InvalidPropertyAccessAfterInstantiationExpression,this.state.startLoc),this.match(16)||this.match(18)||(lt.expression=super.stopParseSubscript(g,ne))),lt}return super.parseSubscript(g,P,J,ne)}parseNewCallee(g){var P;super.parseNewCallee(g);let{callee:J}=g;J.type!=="TSInstantiationExpression"||(P=J.extra)!=null&&P.parenthesized||(g.typeParameters=J.typeParameters,g.callee=J.expression)}parseExprOp(g,P,J){let ne;if(B[58]>J&&!this.hasPrecedingLineBreak()&&(this.isContextual(93)||(ne=this.isContextual(120)))){let Fe=this.startNodeAt(P);return Fe.expression=g,Fe.typeAnnotation=this.tsInType(()=>(this.next(),this.match(75)?(ne&&this.raise(v.UnexpectedKeyword,this.state.startLoc,{keyword:"const"}),this.tsParseTypeReference()):this.tsParseType())),this.finishNode(Fe,ne?"TSSatisfiesExpression":"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(Fe,P,J)}return super.parseExprOp(g,P,J)}checkReservedWord(g,P,J,ne){this.state.isAmbientContext||super.checkReservedWord(g,P,J,ne)}checkImportReflection(g){super.checkImportReflection(g),g.module&&g.importKind!=="value"&&this.raise(kr.ImportReflectionHasImportType,g.specifiers[0].loc.start)}checkDuplicateExports(){}isPotentialImportPhase(g){if(super.isPotentialImportPhase(g))return!0;if(this.isContextual(130)){let P=this.lookaheadCharCode();return g?P===123||P===42:P!==61}return!g&&this.isContextual(87)}applyImportPhase(g,P,J,ne){super.applyImportPhase(g,P,J,ne),P?g.exportKind=J==="type"?"type":"value":g.importKind=J==="type"||J==="typeof"?J:"value"}parseImport(g){let P;if(this.match(134))return g.importKind="value",super.parseImport(g);if(X(this.state.type)&&this.lookaheadCharCode()===61)return g.importKind="value",this.tsParseImportEqualsDeclaration(g);if(this.isContextual(130)){let J=this.parseMaybeImportPhase(g,!1);if(this.lookaheadCharCode()===61)return this.tsParseImportEqualsDeclaration(g,J);P=super.parseImportSpecifiersAndAfter(g,J)}else P=super.parseImport(g);return P.importKind==="type"&&P.specifiers.length>1&&P.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(kr.TypeImportCannotSpecifyDefaultAndNamed,P),P}parseExport(g,P){if(this.match(83)){this.next();let J=null;return this.isContextual(130)&&this.isPotentialImportPhase(!1)?J=this.parseMaybeImportPhase(g,!1):g.importKind="value",this.tsParseImportEqualsDeclaration(g,J,!0)}return this.eat(29)?(g.expression=super.parseExpression(),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(g,"TSExportAssignment")):this.eatContextual(93)?(this.expectContextual(128),g.id=this.parseIdentifier(),this.semicolon(),this.finishNode(g,"TSNamespaceExportDeclaration")):super.parseExport(g,P)}isAbstractClass(){return this.isContextual(124)&&this.isLookaheadContextual("class")}parseExportDefaultExpression(){if(this.isAbstractClass()){let g=this.startNode();return this.next(),g.abstract=!0,this.parseClass(g,!0,!0)}if(this.match(129)){let g=this.tsParseInterfaceDeclaration(this.startNode());if(g)return g}return super.parseExportDefaultExpression()}parseVarStatement(g,P,J=!1){let{isAmbientContext:ne}=this.state,Fe=super.parseVarStatement(g,P,J||ne);if(!ne)return Fe;if(!g.declare&&(P==="using"||P==="await using"))return this.raiseOverwrite(kr.UsingDeclarationInAmbientContext,g,P),Fe;for(let{id:Xe,init:lt}of Fe.declarations)lt&&(P==="var"||P==="let"||Xe.typeAnnotation?this.raise(kr.InitializerNotAllowedInAmbientContext,lt):Cn(lt,this.hasPlugin("estree"))||this.raise(kr.ConstInitializerMustBeStringOrNumericLiteralOrLiteralEnumReference,lt));return Fe}parseStatementContent(g,P){if(this.match(75)&&this.isLookaheadContextual("enum")){let J=this.startNode();return this.expect(75),this.tsParseEnumDeclaration(J,{const:!0})}if(this.isContextual(126))return this.tsParseEnumDeclaration(this.startNode());if(this.isContextual(129)){let J=this.tsParseInterfaceDeclaration(this.startNode());if(J)return J}return super.parseStatementContent(g,P)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(g,P){return P.some(J=>Vr(J)?g.accessibility===J:!!g[J])}tsIsStartOfStaticBlocks(){return this.isContextual(106)&&this.lookaheadCharCode()===123}parseClassMember(g,P,J){let ne=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers({allowedModifiers:ne,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:kr.InvalidModifierOnTypeParameterPositions},P);let Fe=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(P,ne)&&this.raise(kr.StaticBlockCannotHaveModifier,this.state.curPosition()),super.parseClassStaticBlock(g,P)):this.parseClassMemberWithIsStatic(g,P,J,!!P.static)};P.declare?this.tsInAmbientContext(Fe):Fe()}parseClassMemberWithIsStatic(g,P,J,ne){let Fe=this.tsTryParseIndexSignature(P);if(Fe){g.body.push(Fe),P.abstract&&this.raise(kr.IndexSignatureHasAbstract,P),P.accessibility&&this.raise(kr.IndexSignatureHasAccessibility,P,{modifier:P.accessibility}),P.declare&&this.raise(kr.IndexSignatureHasDeclare,P),P.override&&this.raise(kr.IndexSignatureHasOverride,P);return}!this.state.inAbstractClass&&P.abstract&&this.raise(kr.NonAbstractClassHasAbstractMethod,P),P.override&&!J.hadSuperClass&&this.raise(kr.OverrideNotInSubClass,P),super.parseClassMemberWithIsStatic(g,P,J,ne)}parsePostMemberNameModifiers(g){this.eat(17)&&(g.optional=!0),g.readonly&&this.match(10)&&this.raise(kr.ClassMethodHasReadonly,g),g.declare&&this.match(10)&&this.raise(kr.ClassMethodHasDeclare,g)}parseExpressionStatement(g,P,J){return(P.type==="Identifier"?this.tsParseExpressionStatement(g,P,J):void 0)||super.parseExpressionStatement(g,P,J)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(g,P,J){if(!this.match(17))return g;if(this.state.maybeInArrowParameters){let ne=this.lookaheadCharCode();if(ne===44||ne===61||ne===58||ne===41)return this.setOptionalParametersError(J),g}return super.parseConditional(g,P,J)}parseParenItem(g,P){let J=super.parseParenItem(g,P);if(this.eat(17)&&(J.optional=!0,this.resetEndLocation(g)),this.match(14)){let ne=this.startNodeAt(P);return ne.expression=g,ne.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(ne,"TSTypeCastExpression")}return g}parseExportDeclaration(g){if(!this.state.isAmbientContext&&this.isContextual(125))return this.tsInAmbientContext(()=>this.parseExportDeclaration(g));let P=this.state.startLoc,J=this.eatContextual(125);if(J&&(this.isContextual(125)||!this.shouldParseExportDeclaration()))throw this.raise(kr.ExpectedAmbientAfterExportDeclare,this.state.startLoc);let ne=X(this.state.type)&&this.tsTryParseExportDeclaration()||super.parseExportDeclaration(g);return ne?((ne.type==="TSInterfaceDeclaration"||ne.type==="TSTypeAliasDeclaration"||J)&&(g.exportKind="type"),J&&ne.type!=="TSImportEqualsDeclaration"&&(this.resetStartLocation(ne,P),ne.declare=!0),ne):null}parseClassId(g,P,J,ne){if((!P||J)&&this.isContextual(113))return;super.parseClassId(g,P,J,g.declare?1024:8331);let Fe=this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers);Fe&&(g.typeParameters=Fe)}parseClassPropertyAnnotation(g){!g.optional&&(this.eat(35)?g.definite=!0:this.eat(17)&&(g.optional=!0));let P=this.tsTryParseTypeAnnotation();P&&(g.typeAnnotation=P)}parseClassProperty(g){if(this.parseClassPropertyAnnotation(g),this.state.isAmbientContext&&!(g.readonly&&!g.typeAnnotation)&&this.match(29)&&this.raise(kr.DeclareClassFieldHasInitializer,this.state.startLoc),g.abstract&&this.match(29)){let{key:P}=g;this.raise(kr.AbstractPropertyHasInitializer,this.state.startLoc,{propertyName:P.type!=="Identifier"||g.computed?`[${this.input.slice(this.offsetToSourcePos(P.start),this.offsetToSourcePos(P.end))}]`:P.name})}return super.parseClassProperty(g)}parseClassPrivateProperty(g){return g.abstract&&this.raise(kr.PrivateElementHasAbstract,g),g.accessibility&&this.raise(kr.PrivateElementHasAccessibility,g,{modifier:g.accessibility}),this.parseClassPropertyAnnotation(g),super.parseClassPrivateProperty(g)}parseClassAccessorProperty(g){return this.parseClassPropertyAnnotation(g),g.optional&&this.raise(kr.AccessorCannotBeOptional,g),super.parseClassAccessorProperty(g)}pushClassMethod(g,P,J,ne,Fe,Xe){let lt=this.tsTryParseTypeParameters(this.tsParseConstModifier);lt&&Fe&&this.raise(kr.ConstructorHasTypeParameters,lt);let{declare:dt=!1,kind:bt}=P;dt&&(bt==="get"||bt==="set")&&this.raise(kr.DeclareAccessor,P,{kind:bt}),lt&&(P.typeParameters=lt),super.pushClassMethod(g,P,J,ne,Fe,Xe)}pushClassPrivateMethod(g,P,J,ne){let Fe=this.tsTryParseTypeParameters(this.tsParseConstModifier);Fe&&(P.typeParameters=Fe),super.pushClassPrivateMethod(g,P,J,ne)}declareClassPrivateMethodInScope(g,P){g.type==="TSDeclareMethod"||(g.type!=="MethodDefinition"||g.value.body!=null)&&super.declareClassPrivateMethodInScope(g,P)}parseClassSuper(g){super.parseClassSuper(g),g.superClass&&(this.match(47)||this.match(51))&&(g.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual(113)&&(g.implements=this.tsParseHeritageClause("implements"))}parseObjPropValue(g,P,J,ne,Fe,Xe,lt){let dt=this.tsTryParseTypeParameters(this.tsParseConstModifier);return dt&&(g.typeParameters=dt),super.parseObjPropValue(g,P,J,ne,Fe,Xe,lt)}parseFunctionParams(g,P){let J=this.tsTryParseTypeParameters(this.tsParseConstModifier);J&&(g.typeParameters=J),super.parseFunctionParams(g,P)}parseVarId(g,P){super.parseVarId(g,P),g.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.eat(35)&&(g.definite=!0);let J=this.tsTryParseTypeAnnotation();J&&(g.id.typeAnnotation=J,this.resetEndLocation(g.id))}parseAsyncArrowFromCallExpression(g,P){return this.match(14)&&(g.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(g,P)}parseMaybeAssign(g,P){var J,ne,Fe,Xe,lt;let dt,bt,Lt,ur;if(this.hasPlugin("jsx")&&(this.match(143)||this.match(47))){if(dt=this.state.clone(),!(bt=this.tryParse(()=>super.parseMaybeAssign(g,P),dt)).error)return bt.node;let{context:Kr}=this.state,Dn=Kr[Kr.length-1];(Dn===F.j_oTag||Dn===F.j_expr)&&Kr.pop()}if(!((J=bt)!=null&&J.error)&&!this.match(47))return super.parseMaybeAssign(g,P);dt&&dt!==this.state||(dt=this.state.clone());let $r=this.tryParse(Kr=>{var Dn,Zn;ur=this.tsParseTypeParameters(this.tsParseConstModifier);let Di=super.parseMaybeAssign(g,P);return(Di.type!=="ArrowFunctionExpression"||(Dn=Di.extra)!=null&&Dn.parenthesized)&&Kr(),((Zn=ur)==null?void 0:Zn.params.length)!==0&&this.resetStartLocationFromNode(Di,ur),Di.typeParameters=ur,Di},dt);if(!$r.error&&!$r.aborted)return ur&&this.reportReservedArrowTypeParam(ur),$r.node;if(!bt&&(Wi(!this.hasPlugin("jsx")),!(Lt=this.tryParse(()=>super.parseMaybeAssign(g,P),dt)).error))return Lt.node;if((ne=bt)!=null&&ne.node)return this.state=bt.failState,bt.node;if($r.node)return this.state=$r.failState,ur&&this.reportReservedArrowTypeParam(ur),$r.node;if((Fe=Lt)!=null&&Fe.node)return this.state=Lt.failState,Lt.node;throw((Xe=bt)==null?void 0:Xe.error)||$r.error||((lt=Lt)==null?void 0:lt.error)}reportReservedArrowTypeParam(g){var P;g.params.length===1&&!g.params[0].constraint&&!((P=g.extra)!=null&&P.trailingComma)&&this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(kr.ReservedArrowTypeParam,g)}parseMaybeUnary(g,P){return!this.hasPlugin("jsx")&&this.match(47)?this.tsParseTypeAssertion():super.parseMaybeUnary(g,P)}parseArrow(g){if(this.match(14)){let P=this.tryParse(J=>{let ne=this.tsParseTypeOrTypePredicateAnnotation(14);return(this.canInsertSemicolon()||!this.match(19))&&J(),ne});if(P.aborted)return;P.thrown||(P.error&&(this.state=P.failState),g.returnType=P.node)}return super.parseArrow(g)}parseFunctionParamType(g){this.eat(17)&&(g.optional=!0);let P=this.tsTryParseTypeAnnotation();return P&&(g.typeAnnotation=P),this.resetEndLocation(g),g}isAssignable(g,P){switch(g.type){case"TSTypeCastExpression":return this.isAssignable(g.expression,P);case"TSParameterProperty":return!0;default:return super.isAssignable(g,P)}}toAssignable(g,P=!1){switch(g.type){case"ParenthesizedExpression":this.toAssignableParenthesizedExpression(g,P);break;case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":P?this.expressionScope.recordArrowParameterBindingError(kr.UnexpectedTypeCastInParameter,g):this.raise(kr.UnexpectedTypeCastInParameter,g),this.toAssignable(g.expression,P);break;case"AssignmentExpression":P||g.left.type!=="TSTypeCastExpression"||(g.left=this.typeCastToParameter(g.left));default:super.toAssignable(g,P)}}toAssignableParenthesizedExpression(g,P){switch(g.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":this.toAssignable(g.expression,P);break;default:super.toAssignable(g,P)}}checkToRestConversion(g,P){switch(g.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":this.checkToRestConversion(g.expression,!1);break;default:super.checkToRestConversion(g,P)}}isValidLVal(g,P,J){switch(g){case"TSTypeCastExpression":return!0;case"TSParameterProperty":return"parameter";case"TSNonNullExpression":return"expression";case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":return(J!==64||!P)&&["expression",!0];default:return super.isValidLVal(g,P,J)}}parseBindingAtom(){return this.state.type===78?this.parseIdentifier(!0):super.parseBindingAtom()}parseMaybeDecoratorArguments(g,P){if(this.match(47)||this.match(51)){let J=this.tsParseTypeArgumentsInExpression();if(this.match(10)){let ne=super.parseMaybeDecoratorArguments(g,P);return ne.typeParameters=J,ne}this.unexpected(null,10)}return super.parseMaybeDecoratorArguments(g,P)}checkCommaAfterRest(g){return this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===g?(this.next(),!1):super.checkCommaAfterRest(g)}isClassMethod(){return this.match(47)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||super.isClassProperty()}parseMaybeDefault(g,P){let J=super.parseMaybeDefault(g,P);return J.type==="AssignmentPattern"&&J.typeAnnotation&&J.right.start<J.typeAnnotation.start&&this.raise(kr.TypeAnnotationAfterAssign,J.typeAnnotation),J}getTokenFromCode(g){if(this.state.inType){if(g===62)return void this.finishOp(48,1);if(g===60)return void this.finishOp(47,1)}super.getTokenFromCode(g)}reScan_lt_gt(){let{type:g}=this.state;g===47?(this.state.pos-=1,this.readToken_lt()):g===48&&(this.state.pos-=1,this.readToken_gt())}reScan_lt(){let{type:g}=this.state;return g===51?(this.state.pos-=2,this.finishOp(47,1),47):g}toAssignableListItem(g,P,J){let ne=g[P];ne.type==="TSTypeCastExpression"&&(g[P]=this.typeCastToParameter(ne)),super.toAssignableListItem(g,P,J)}typeCastToParameter(g){return g.expression.typeAnnotation=g.typeAnnotation,this.resetEndLocation(g.expression,g.typeAnnotation.loc.end),g.expression}shouldParseArrow(g){return this.match(14)?g.every(P=>this.isAssignable(P,!0)):super.shouldParseArrow(g)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(g){if(this.match(47)||this.match(51)){let P=this.tsTryParseAndCatch(()=>this.tsParseTypeArgumentsInExpression());P&&(g.typeParameters=P)}return super.jsxParseOpeningElementAfterName(g)}getGetterSetterExpectedParamCount(g){let P=super.getGetterSetterExpectedParamCount(g),J=this.getObjectOrClassMethodParams(g)[0];return J&&this.isThisParam(J)?P+1:P}parseCatchClauseParam(){let g=super.parseCatchClauseParam(),P=this.tsTryParseTypeAnnotation();return P&&(g.typeAnnotation=P,this.resetEndLocation(g)),g}tsInAmbientContext(g){let{isAmbientContext:P,strict:J}=this.state;this.state.isAmbientContext=!0,this.state.strict=!1;try{return g()}finally{this.state.isAmbientContext=P,this.state.strict=J}}parseClass(g,P,J){let ne=this.state.inAbstractClass;this.state.inAbstractClass=!!g.abstract;try{return super.parseClass(g,P,J)}finally{this.state.inAbstractClass=ne}}tsParseAbstractDeclaration(g,P){if(this.match(80))return g.abstract=!0,this.maybeTakeDecorators(P,this.parseClass(g,!0,!1));if(this.isContextual(129)){if(!this.hasFollowingLineBreak())return g.abstract=!0,this.raise(kr.NonClassMethodPropertyHasAbstractModifier,g),this.tsParseInterfaceDeclaration(g)}else this.unexpected(null,80)}parseMethod(g,P,J,ne,Fe,Xe,lt){let dt=super.parseMethod(g,P,J,ne,Fe,Xe,lt);if((dt.abstract||dt.type==="TSAbstractMethodDefinition")&&(this.hasPlugin("estree")?dt.value:dt).body){let{key:bt}=dt;this.raise(kr.AbstractMethodHasImplementation,dt,{methodName:bt.type!=="Identifier"||dt.computed?`[${this.input.slice(this.offsetToSourcePos(bt.start),this.offsetToSourcePos(bt.end))}]`:bt.name})}return dt}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(g,P,J,ne){return!P&&ne?(this.parseTypeOnlyImportExportSpecifier(g,!1,J),this.finishNode(g,"ExportSpecifier")):(g.exportKind="value",super.parseExportSpecifier(g,P,J,ne))}parseImportSpecifier(g,P,J,ne,Fe){return!P&&ne?(this.parseTypeOnlyImportExportSpecifier(g,!0,J),this.finishNode(g,"ImportSpecifier")):(g.importKind="value",super.parseImportSpecifier(g,P,J,ne,J?4098:4096))}parseTypeOnlyImportExportSpecifier(g,P,J){let ne,Fe=P?"imported":"local",Xe=P?"local":"exported",lt=g[Fe],dt=!1,bt=!0,Lt=lt.loc.start;if(this.isContextual(93)){let ur=this.parseIdentifier();if(this.isContextual(93)){let $r=this.parseIdentifier();oe(this.state.type)?(dt=!0,lt=ur,ne=P?this.parseIdentifier():this.parseModuleExportName()):ne=$r,bt=!1}else oe(this.state.type)?(bt=!1,ne=P?this.parseIdentifier():this.parseModuleExportName()):(dt=!0,lt=ur)}else oe(this.state.type)&&(dt=!0,P?(lt=this.parseIdentifier(!0),this.isContextual(93)||this.checkReservedWord(lt.name,lt.loc.start,!0,!0)):lt=this.parseModuleExportName());dt&&J&&this.raise(P?kr.TypeModifierIsUsedInTypeImports:kr.TypeModifierIsUsedInTypeExports,Lt),g[Fe]=lt,g[Xe]=ne,g[P?"importKind":"exportKind"]=dt?"type":"value",bt&&this.eatContextual(93)&&(g[Xe]=P?this.parseIdentifier():this.parseModuleExportName()),g[Xe]||(g[Xe]=this.cloneIdentifier(g[Fe])),P&&this.checkIdentifier(g[Xe],dt?4098:4096)}fillOptionalPropertiesForTSESLint(g){switch(g.type){case"ExpressionStatement":g.directive!=null||(g.directive=void 0);return;case"RestElement":g.value=void 0;case"Identifier":case"ArrayPattern":case"AssignmentPattern":case"ObjectPattern":g.decorators!=null||(g.decorators=[]),g.optional!=null||(g.optional=!1),g.typeAnnotation!=null||(g.typeAnnotation=void 0);return;case"TSParameterProperty":g.accessibility!=null||(g.accessibility=void 0),g.decorators!=null||(g.decorators=[]),g.override!=null||(g.override=!1),g.readonly!=null||(g.readonly=!1),g.static!=null||(g.static=!1);return;case"TSEmptyBodyFunctionExpression":g.body=null;case"TSDeclareFunction":case"FunctionDeclaration":case"FunctionExpression":case"ClassMethod":case"ClassPrivateMethod":g.declare!=null||(g.declare=!1),g.returnType!=null||(g.returnType=void 0),g.typeParameters!=null||(g.typeParameters=void 0);return;case"Property":g.optional!=null||(g.optional=!1);return;case"TSMethodSignature":case"TSPropertySignature":g.optional!=null||(g.optional=!1);case"TSIndexSignature":g.accessibility!=null||(g.accessibility=void 0),g.readonly!=null||(g.readonly=!1),g.static!=null||(g.static=!1);return;case"TSAbstractPropertyDefinition":case"PropertyDefinition":case"TSAbstractAccessorProperty":case"AccessorProperty":g.declare!=null||(g.declare=!1),g.definite!=null||(g.definite=!1),g.readonly!=null||(g.readonly=!1),g.typeAnnotation!=null||(g.typeAnnotation=void 0);case"TSAbstractMethodDefinition":case"MethodDefinition":g.accessibility!=null||(g.accessibility=void 0),g.decorators!=null||(g.decorators=[]),g.override!=null||(g.override=!1),g.optional!=null||(g.optional=!1);return;case"ClassExpression":g.id!=null||(g.id=null);case"ClassDeclaration":g.abstract!=null||(g.abstract=!1),g.declare!=null||(g.declare=!1),g.decorators!=null||(g.decorators=[]),g.implements!=null||(g.implements=[]),g.superTypeArguments!=null||(g.superTypeArguments=void 0),g.typeParameters!=null||(g.typeParameters=void 0);return;case"TSTypeAliasDeclaration":case"VariableDeclaration":g.declare!=null||(g.declare=!1);return;case"VariableDeclarator":g.definite!=null||(g.definite=!1);return;case"TSEnumDeclaration":g.const!=null||(g.const=!1),g.declare!=null||(g.declare=!1);return;case"TSEnumMember":g.computed!=null||(g.computed=!1);return;case"TSImportType":g.qualifier!=null||(g.qualifier=null),g.options!=null||(g.options=null);return;case"TSInterfaceDeclaration":g.declare!=null||(g.declare=!1),g.extends!=null||(g.extends=[]);return;case"TSMappedType":g.optional!=null||(g.optional=!1),g.readonly!=null||(g.readonly=void 0);return;case"TSModuleDeclaration":g.declare!=null||(g.declare=!1),g.global!=null||(g.global=g.kind==="global");return;case"TSTypeParameter":g.const!=null||(g.const=!1),g.in!=null||(g.in=!1),g.out!=null||(g.out=!1);return}}},v8intrinsic:Ue=>class extends Ue{parseV8Intrinsic(){if(this.match(54)){let g=this.state.startLoc,P=this.startNode();if(this.next(),X(this.state.type)){let J=this.parseIdentifierName(),ne=this.createIdentifier(P,J);if(this.castNodeTo(ne,"V8IntrinsicIdentifier"),this.match(10))return ne}this.unexpected(g)}}parseExprAtom(g){return this.parseV8Intrinsic()||super.parseExprAtom(g)}},placeholders:Ue=>class extends Ue{parsePlaceholder(g){if(this.match(133)){let P=this.startNode();return this.next(),this.assertNoSpace(),P.name=super.parseIdentifier(!0),this.assertNoSpace(),this.expect(133),this.finishPlaceholder(P,g)}}finishPlaceholder(g,P){let J=g;return J.expectedNode&&J.type||(J=this.finishNode(J,"Placeholder")),J.expectedNode=P,J}getTokenFromCode(g){g===37&&this.input.charCodeAt(this.state.pos+1)===37?this.finishOp(133,2):super.getTokenFromCode(g)}parseExprAtom(g){return this.parsePlaceholder("Expression")||super.parseExprAtom(g)}parseIdentifier(g){return this.parsePlaceholder("Identifier")||super.parseIdentifier(g)}checkReservedWord(g,P,J,ne){g!==void 0&&super.checkReservedWord(g,P,J,ne)}cloneIdentifier(g){let P=super.cloneIdentifier(g);return P.type==="Placeholder"&&(P.expectedNode=g.expectedNode),P}cloneStringLiteral(g){return g.type==="Placeholder"?this.cloneIdentifier(g):super.cloneStringLiteral(g)}parseBindingAtom(){return this.parsePlaceholder("Pattern")||super.parseBindingAtom()}isValidLVal(g,P,J){return g==="Placeholder"||super.isValidLVal(g,P,J)}toAssignable(g,P){g&&g.type==="Placeholder"&&g.expectedNode==="Expression"?g.expectedNode="Pattern":super.toAssignable(g,P)}chStartsBindingIdentifier(g,P){if(super.chStartsBindingIdentifier(g,P))return!0;let J=this.nextTokenStart();return this.input.charCodeAt(J)===37&&this.input.charCodeAt(J+1)===37}verifyBreakContinue(g,P){g.label&&g.label.type==="Placeholder"||super.verifyBreakContinue(g,P)}parseExpressionStatement(g,P){var J;return P.type!=="Placeholder"||(J=P.extra)!=null&&J.parenthesized?super.parseExpressionStatement(g,P):this.match(14)?(g.label=this.finishPlaceholder(P,"Identifier"),this.next(),g.body=super.parseStatementOrSloppyAnnexBFunctionDeclaration(),this.finishNode(g,"LabeledStatement")):(this.semicolon(),g.name=P.name,this.finishPlaceholder(g,"Statement"))}parseBlock(g,P,J){return this.parsePlaceholder("BlockStatement")||super.parseBlock(g,P,J)}parseFunctionId(g){return this.parsePlaceholder("Identifier")||super.parseFunctionId(g)}parseClass(g,P,J){let ne=P?"ClassDeclaration":"ClassExpression";this.next();let Fe=this.state.strict,Xe=this.parsePlaceholder("Identifier");if(Xe)if(this.match(81)||this.match(133)||this.match(5))g.id=Xe;else{if(J||!P)return g.id=null,g.body=this.finishPlaceholder(Xe,"ClassBody"),this.finishNode(g,ne);throw this.raise(Zi.ClassNameIsRequired,this.state.startLoc)}else this.parseClassId(g,P,J);return super.parseClassSuper(g),g.body=this.parsePlaceholder("ClassBody")||super.parseClassBody(!!g.superClass,Fe),this.finishNode(g,ne)}parseExport(g,P){let J=this.parsePlaceholder("Identifier");if(!J)return super.parseExport(g,P);if(!this.isContextual(98)&&!this.match(12))return g.specifiers=[],g.source=null,g.declaration=this.finishPlaceholder(J,"Declaration"),this.finishNode(g,"ExportNamedDeclaration");this.expectPlugin("exportDefaultFrom");let ne=this.startNode();return ne.exported=J,g.specifiers=[this.finishNode(ne,"ExportDefaultSpecifier")],super.parseExport(g,P)}isExportDefaultSpecifier(){if(this.match(65)){let g=this.nextTokenStart();if(this.isUnparsedContextual(g,"from")&&this.input.startsWith(V[133],this.nextTokenStartSince(g+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(g,P){var J;return(J=g.specifiers)!=null&&!!J.length||super.maybeParseExportDefaultSpecifier(g,P)}checkExport(g){let{specifiers:P}=g;P!=null&&P.length&&(g.specifiers=P.filter(J=>J.exported.type==="Placeholder")),super.checkExport(g),g.specifiers=P}parseImport(g){let P=this.parsePlaceholder("Identifier");if(!P)return super.parseImport(g);if(g.specifiers=[],!this.isContextual(98)&&!this.match(12))return g.source=this.finishPlaceholder(P,"StringLiteral"),this.semicolon(),this.finishNode(g,"ImportDeclaration");let J=this.startNodeAtNode(P);return J.local=P,g.specifiers.push(this.finishNode(J,"ImportDefaultSpecifier")),this.eat(12)&&(this.maybeParseStarImportSpecifier(g)||this.parseNamedImportSpecifiers(g)),this.expectContextual(98),g.source=this.parseImportSource(),this.semicolon(),this.finishNode(g,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource()}assertNoSpace(){this.state.start>this.offsetToSourcePos(this.state.lastTokEndLoc.index)&&this.raise(Zi.UnexpectedSpace,this.state.lastTokEndLoc)}}},re=Object.keys(H),we=class extends an{checkProto(g,P,J,ne){if(g.type==="SpreadElement"||this.isObjectMethod(g)||g.computed||g.shorthand)return J;let Fe=g.key;return(Fe.type==="Identifier"?Fe.name:Fe.value)==="__proto__"?(P?this.raise(v.RecordNoProto,Fe):J&&(ne?ne.doubleProtoLoc===null&&(ne.doubleProtoLoc=Fe.loc.start):this.raise(v.DuplicateProto,Fe)),!0):J}shouldExitDescending(g,P){return g.type==="ArrowFunctionExpression"&&this.offsetToSourcePos(g.start)===P}getExpression(){if(this.enterInitialScopes(),this.nextToken(),this.match(140))throw this.raise(v.ParseExpressionEmptyInput,this.state.startLoc);let g=this.parseExpression();if(!this.match(140))throw this.raise(v.ParseExpressionExpectsEOF,this.state.startLoc,{unexpected:this.input.codePointAt(this.state.start)});return this.finalizeRemainingComments(),g.comments=this.comments,g.errors=this.state.errors,256&this.optionFlags&&(g.tokens=this.tokens),g}parseExpression(g,P){return g?this.disallowInAnd(()=>this.parseExpressionBase(P)):this.allowInAnd(()=>this.parseExpressionBase(P))}parseExpressionBase(g){let P=this.state.startLoc,J=this.parseMaybeAssign(g);if(this.match(12)){let ne=this.startNodeAt(P);for(ne.expressions=[J];this.eat(12);)ne.expressions.push(this.parseMaybeAssign(g));return this.toReferencedList(ne.expressions),this.finishNode(ne,"SequenceExpression")}return J}parseMaybeAssignDisallowIn(g,P){return this.disallowInAnd(()=>this.parseMaybeAssign(g,P))}parseMaybeAssignAllowIn(g,P){return this.allowInAnd(()=>this.parseMaybeAssign(g,P))}setOptionalParametersError(g){g.optionalParametersLoc=this.state.startLoc}parseMaybeAssign(g,P){let J,ne=this.state.startLoc,Fe=this.isContextual(108);if(Fe&&this.prodParam.hasYield){this.next();let dt=this.parseYield(ne);return P&&(dt=P.call(this,dt,ne)),dt}g?J=!1:(g=new xn,J=!0);let{type:Xe}=this.state;(Xe===10||X(Xe))&&(this.state.potentialArrowAt=this.state.start);let lt=this.parseMaybeConditional(g);if(P&&(lt=P.call(this,lt,ne)),Pe(this.state.type)){let dt=this.startNodeAt(ne);if(dt.operator=this.state.value,this.match(29)){this.toAssignable(lt,!0),dt.left=lt;let bt=ne.index;g.doubleProtoLoc!=null&&g.doubleProtoLoc.index>=bt&&(g.doubleProtoLoc=null),g.shorthandAssignLoc!=null&&g.shorthandAssignLoc.index>=bt&&(g.shorthandAssignLoc=null),g.privateKeyLoc!=null&&g.privateKeyLoc.index>=bt&&(this.checkDestructuringPrivate(g),g.privateKeyLoc=null),g.voidPatternLoc!=null&&g.voidPatternLoc.index>=bt&&(g.voidPatternLoc=null)}else dt.left=lt;return this.next(),dt.right=this.parseMaybeAssign(),this.checkLVal(lt,this.finishNode(dt,"AssignmentExpression")),dt}if(J&&this.checkExpressionErrors(g,!0),Fe){let{type:dt}=this.state;if((this.hasPlugin("v8intrinsic")?K[dt]:K[dt]&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(v.YieldNotInGeneratorFunction,ne),this.parseYield(ne)}return lt}parseMaybeConditional(g){let P=this.state.startLoc,J=this.state.potentialArrowAt,ne=this.parseExprOps(g);return this.shouldExitDescending(ne,J)?ne:this.parseConditional(ne,P,g)}parseConditional(g,P,J){if(this.eat(17)){let ne=this.startNodeAt(P);return ne.test=g,ne.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),ne.alternate=this.parseMaybeAssign(),this.finishNode(ne,"ConditionalExpression")}return g}parseMaybeUnaryOrPrivate(g){return this.match(139)?this.parsePrivateName():this.parseMaybeUnary(g)}parseExprOps(g){let P=this.state.startLoc,J=this.state.potentialArrowAt,ne=this.parseMaybeUnaryOrPrivate(g);return this.shouldExitDescending(ne,J)?ne:this.parseExprOp(ne,P,-1)}parseExprOp(g,P,J){if(this.isPrivateName(g)){let Fe=this.getPrivateNameSV(g);!(J>=B[58])&&this.prodParam.hasIn&&this.match(58)||this.raise(v.PrivateInExpectedIn,g,{identifierName:Fe}),this.classScope.usePrivateName(Fe,g.loc.start)}let ne=this.state.type;if(de(ne)&&(this.prodParam.hasIn||!this.match(58))){let Fe=B[ne];if(Fe>J){if(ne===39){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return g;this.checkPipelineAtInfixOperator(g,P)}let Xe=this.startNodeAt(P);Xe.left=g,Xe.operator=this.state.value;let lt=ne===41||ne===42,dt=ne===40;if(dt&&(Fe=B[42]),this.next(),ne===39&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&this.state.type===96&&this.prodParam.hasAwait)throw this.raise(v.UnexpectedAwaitAfterPipelineBody,this.state.startLoc);Xe.right=this.parseExprOpRightExpr(ne,Fe);let bt=this.finishNode(Xe,lt||dt?"LogicalExpression":"BinaryExpression"),Lt=this.state.type;if(dt&&(Lt===41||Lt===42)||lt&&Lt===40)throw this.raise(v.MixingCoalesceWithLogical,this.state.startLoc);return this.parseExprOp(bt,P,J)}}return g}parseExprOpRightExpr(g,P){let J=this.state.startLoc;if(g===39){switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(P))}if(this.getPluginOption("pipelineOperator","proposal")==="smart")return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(108))throw this.raise(v.PipeBodyIsTighter,this.state.startLoc);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(g,P),J)})}return this.parseExprOpBaseRightExpr(g,P)}parseExprOpBaseRightExpr(g,P){let J=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),J,Te(g)?P-1:P)}parseHackPipeBody(){var g;let{startLoc:P}=this.state,J=this.parseMaybeAssign();return d.has(J.type)&&!((g=J.extra)!=null&&g.parenthesized)&&this.raise(v.PipeUnparenthesizedBody,P,{type:J.type}),this.topicReferenceWasUsedInCurrentContext()||this.raise(v.PipeTopicUnused,P),J}checkExponentialAfterUnary(g){this.match(57)&&this.raise(v.UnexpectedTokenUnaryExponentiation,g.argument)}parseMaybeUnary(g,P){let J=this.state.startLoc,ne=this.isContextual(96);if(ne&&this.recordAwaitIfAllowed()){this.next();let dt=this.parseAwait(J);return P||this.checkExponentialAfterUnary(dt),dt}let Fe=this.match(34),Xe=this.startNode();if(ye(this.state.type)){Xe.operator=this.state.value,Xe.prefix=!0,this.match(72)&&this.expectPlugin("throwExpressions");let dt=this.match(89);if(this.next(),Xe.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(g,!0),this.state.strict&&dt){let bt=Xe.argument;bt.type==="Identifier"?this.raise(v.StrictDelete,Xe):this.hasPropertyAsPrivateName(bt)&&this.raise(v.DeletePrivateField,Xe)}if(!Fe)return P||this.checkExponentialAfterUnary(Xe),this.finishNode(Xe,"UnaryExpression")}let lt=this.parseUpdate(Xe,Fe,g);if(ne){let{type:dt}=this.state;if((this.hasPlugin("v8intrinsic")?K[dt]:K[dt]&&!this.match(54))&&!this.isAmbiguousPrefixOrIdentifier())return this.raiseOverwrite(v.AwaitNotInAsyncContext,J),this.parseAwait(J)}return lt}parseUpdate(g,P,J){if(P)return this.checkLVal(g.argument,this.finishNode(g,"UpdateExpression")),g;let ne=this.state.startLoc,Fe=this.parseExprSubscripts(J);if(this.checkExpressionErrors(J,!1))return Fe;for(;xe(this.state.type)&&!this.canInsertSemicolon();){let Xe=this.startNodeAt(ne);Xe.operator=this.state.value,Xe.prefix=!1,Xe.argument=Fe,this.next(),this.checkLVal(Fe,Fe=this.finishNode(Xe,"UpdateExpression"))}return Fe}parseExprSubscripts(g){let P=this.state.startLoc,J=this.state.potentialArrowAt,ne=this.parseExprAtom(g);return this.shouldExitDescending(ne,J)?ne:this.parseSubscripts(ne,P)}parseSubscripts(g,P,J){let ne={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(g),stop:!1};do g=this.parseSubscript(g,P,J,ne),ne.maybeAsyncArrow=!1;while(!ne.stop);return g}parseSubscript(g,P,J,ne){let{type:Fe}=this.state;if(!J&&Fe===15)return this.parseBind(g,P,J,ne);if(Ce(Fe))return this.parseTaggedTemplateExpression(g,P,ne);let Xe=!1;if(Fe===18){if(J&&(this.raise(v.OptionalChainingNoNew,this.state.startLoc),this.lookaheadCharCode()===40))return this.stopParseSubscript(g,ne);ne.optionalChainMember=Xe=!0,this.next()}if(!J&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(g,P,ne,Xe);{let lt=this.eat(0);return lt||Xe||this.eat(16)?this.parseMember(g,P,ne,lt,Xe):this.stopParseSubscript(g,ne)}}stopParseSubscript(g,P){return P.stop=!0,g}parseMember(g,P,J,ne,Fe){let Xe=this.startNodeAt(P);return Xe.object=g,Xe.computed=ne,ne?(Xe.property=this.parseExpression(),this.expect(3)):this.match(139)?(g.type==="Super"&&this.raise(v.SuperPrivateField,P),this.classScope.usePrivateName(this.state.value,this.state.startLoc),Xe.property=this.parsePrivateName()):Xe.property=this.parseIdentifier(!0),J.optionalChainMember?(Xe.optional=Fe,this.finishNode(Xe,"OptionalMemberExpression")):this.finishNode(Xe,"MemberExpression")}parseBind(g,P,J,ne){let Fe=this.startNodeAt(P);return Fe.object=g,this.next(),Fe.callee=this.parseNoCallExpr(),ne.stop=!0,this.parseSubscripts(this.finishNode(Fe,"BindExpression"),P,J)}parseCoverCallAndAsyncArrowHead(g,P,J,ne){let Fe=this.state.maybeInArrowParameters,Xe=null;this.state.maybeInArrowParameters=!0,this.next();let lt=this.startNodeAt(P);lt.callee=g;let{maybeAsyncArrow:dt,optionalChainMember:bt}=J;dt&&(this.expressionScope.enter(tn()),Xe=new xn),bt&&(lt.optional=ne),ne?lt.arguments=this.parseCallExpressionArguments():lt.arguments=this.parseCallExpressionArguments(g.type!=="Super",lt,Xe);let Lt=this.finishCallExpression(lt,bt);return dt&&this.shouldParseAsyncArrow()&&!ne?(J.stop=!0,this.checkDestructuringPrivate(Xe),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),Lt=this.parseAsyncArrowFromCallExpression(this.startNodeAt(P),Lt)):(dt&&(this.checkExpressionErrors(Xe,!0),this.expressionScope.exit()),this.toReferencedArguments(Lt)),this.state.maybeInArrowParameters=Fe,Lt}toReferencedArguments(g,P){this.toReferencedListDeep(g.arguments,P)}parseTaggedTemplateExpression(g,P,J){let ne=this.startNodeAt(P);return ne.tag=g,ne.quasi=this.parseTemplate(!0),J.optionalChainMember&&this.raise(v.OptionalChainingNoTemplate,P),this.finishNode(ne,"TaggedTemplateExpression")}atPossibleAsyncArrow(g){return g.type==="Identifier"&&g.name==="async"&&this.state.lastTokEndLoc.index===g.end&&!this.canInsertSemicolon()&&g.end-g.start==5&&this.offsetToSourcePos(g.start)===this.state.potentialArrowAt}finishCallExpression(g,P){if(g.callee.type==="Import")if(g.arguments.length===0||g.arguments.length>2)this.raise(v.ImportCallArity,g);else for(let J of g.arguments)J.type==="SpreadElement"&&this.raise(v.ImportCallSpreadArgument,J);return this.finishNode(g,P?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(g,P,J){let ne=[],Fe=!0,Xe=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(11);){if(Fe)Fe=!1;else if(this.expect(12),this.match(11)){P&&this.addTrailingCommaExtraToNode(P),this.next();break}ne.push(this.parseExprListItem(11,!1,J,g))}return this.state.inFSharpPipelineDirectBody=Xe,ne}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(g,P){var J;return this.resetPreviousNodeTrailingComments(P),this.expect(19),this.parseArrowExpression(g,P.arguments,!0,(J=P.extra)==null?void 0:J.trailingCommaLoc),P.innerComments&&pr(g,P.innerComments),P.callee.trailingComments&&pr(g,P.callee.trailingComments),g}parseNoCallExpr(){let g=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),g,!0)}parseExprAtom(g){let P,J=null,{type:ne}=this.state;switch(ne){case 79:return this.parseSuper();case 83:return P=this.startNode(),this.next(),this.match(16)?this.parseImportMetaPropertyOrPhaseCall(P):this.match(10)?512&this.optionFlags?this.parseImportCall(P):this.finishNode(P,"Import"):(this.raise(v.UnsupportedImport,this.state.lastTokStartLoc),this.finishNode(P,"Import"));case 78:return P=this.startNode(),this.next(),this.finishNode(P,"ThisExpression");case 90:return this.parseDo(this.startNode(),!1);case 56:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 135:return this.parseNumericLiteral(this.state.value);case 136:return this.parseBigIntLiteral(this.state.value);case 134: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 Fe=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(Fe)}case 0:return this.parseArrayLike(3,!0,!1,g);case 5:return this.parseObjectLike(8,!1,!1,g);case 68:return this.parseFunctionOrFunctionSent();case 26:J=this.parseDecorators();case 80:return this.parseClass(this.maybeTakeDecorators(J,this.startNode()),!1);case 77:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{P=this.startNode(),this.next(),P.object=null;let Fe=P.callee=this.parseNoCallExpr();if(Fe.type==="MemberExpression")return this.finishNode(P,"BindExpression");throw this.raise(v.UnsupportedBind,Fe)}case 139:return this.raise(v.PrivateInExpectedIn,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 Fe=this.getPluginOption("pipelineOperator","proposal");if(Fe)return this.parseTopicReference(Fe);this.unexpected();break}case 47:{let Fe=this.input.codePointAt(this.nextTokenStart());De(Fe)||Fe===62?this.expectOnePlugin(["jsx","flow","typescript"]):this.unexpected();break}default:if(ne===137)return this.parseDecimalLiteral(this.state.value);if(ne===2||ne===1)return this.parseArrayLike(this.state.type===2?4:3,!1,!0);if(ne===6||ne===7)return this.parseObjectLike(this.state.type===6?9:8,!1,!0);if(X(ne)){if(this.isContextual(127)&&this.lookaheadInLineCharCode()===123)return this.parseModuleExpression();let Fe=this.state.potentialArrowAt===this.state.start,Xe=this.state.containsEsc,lt=this.parseIdentifier();if(!Xe&<.name==="async"&&!this.canInsertSemicolon()){let{type:dt}=this.state;if(dt===68)return this.resetPreviousNodeTrailingComments(lt),this.next(),this.parseAsyncFunctionExpression(this.startNodeAtNode(lt));if(X(dt))return this.lookaheadCharCode()===61?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(lt)):lt;if(dt===90)return this.resetPreviousNodeTrailingComments(lt),this.parseDo(this.startNodeAtNode(lt),!0)}return Fe&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(lt),[lt],!1)):lt}this.unexpected()}}parseTopicReferenceThenEqualsSign(g,P){let J=this.getPluginOption("pipelineOperator","proposal");if(J)return this.state.type=g,this.state.value=P,this.state.pos--,this.state.end--,this.state.endLoc=p(this.state.endLoc,-1),this.parseTopicReference(J);this.unexpected()}parseTopicReference(g){let P=this.startNode(),J=this.state.startLoc,ne=this.state.type;return this.next(),this.finishTopicReference(P,J,g,ne)}finishTopicReference(g,P,J,ne){if(this.testTopicReferenceConfiguration(J,P,ne))return J==="hack"?(this.topicReferenceIsAllowedInCurrentContext()||this.raise(v.PipeTopicUnbound,P),this.registerTopicReference(),this.finishNode(g,"TopicReference")):(this.topicReferenceIsAllowedInCurrentContext()||this.raise(v.PrimaryTopicNotAllowed,P),this.registerTopicReference(),this.finishNode(g,"PipelinePrimaryTopicReference"));throw this.raise(v.PipeTopicUnconfiguredToken,P,{token:V[ne]})}testTopicReferenceConfiguration(g,P,J){switch(g){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:V[J]}]);case"smart":return J===27;default:throw this.raise(v.PipeTopicRequiresHackPipes,P)}}parseAsyncArrowUnaryFunction(g){this.prodParam.enter(Mt(!0,this.prodParam.hasYield));let P=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(v.LineTerminatorBeforeArrow,this.state.curPosition()),this.expect(19),this.parseArrowExpression(g,P,!0)}parseDo(g,P){this.expectPlugin("doExpressions"),P&&this.expectPlugin("asyncDoExpressions"),g.async=P,this.next();let J=this.state.labels;return this.state.labels=[],P?(this.prodParam.enter(2),g.body=this.parseBlock(),this.prodParam.exit()):g.body=this.parseBlock(),this.state.labels=J,this.finishNode(g,"DoExpression")}parseSuper(){let g=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||16&this.optionFlags?this.scope.allowSuper||16&this.optionFlags||this.raise(v.UnexpectedSuper,g):this.raise(v.SuperNotAllowed,g),this.match(10)||this.match(0)||this.match(16)||this.raise(v.UnsupportedSuper,g),this.finishNode(g,"Super")}parsePrivateName(){let g=this.startNode(),P=this.startNodeAt(p(this.state.startLoc,1)),J=this.state.value;return this.next(),g.id=this.createIdentifier(P,J),this.finishNode(g,"PrivateName")}parseFunctionOrFunctionSent(){let g=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){let P=this.createIdentifier(this.startNodeAtNode(g),"function");return this.next(),this.match(103)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(g,P,"sent")}return this.parseFunction(g)}parseMetaProperty(g,P,J){g.meta=P;let ne=this.state.containsEsc;return g.property=this.parseIdentifier(!0),(g.property.name!==J||ne)&&this.raise(v.UnsupportedMetaProperty,g.property,{target:P.name,onlyValidPropertyName:J}),this.finishNode(g,"MetaProperty")}parseImportMetaPropertyOrPhaseCall(g){if(this.next(),this.isContextual(105)||this.isContextual(97)){let P=this.isContextual(105);return this.expectPlugin(P?"sourcePhaseImports":"deferredImportEvaluation"),this.next(),g.phase=P?"source":"defer",this.parseImportCall(g)}{let P=this.createIdentifierAt(this.startNodeAtNode(g),"import",this.state.lastTokStartLoc);return this.isContextual(101)&&(this.inModule||this.raise(v.ImportMetaOutsideModule,P),this.sawUnambiguousESM=!0),this.parseMetaProperty(g,P,"meta")}}parseLiteralAtNode(g,P,J){return this.addExtra(J,"rawValue",g),this.addExtra(J,"raw",this.input.slice(this.offsetToSourcePos(J.start),this.state.end)),J.value=g,this.next(),this.finishNode(J,P)}parseLiteral(g,P){let J=this.startNode();return this.parseLiteralAtNode(g,P,J)}parseStringLiteral(g){return this.parseLiteral(g,"StringLiteral")}parseNumericLiteral(g){return this.parseLiteral(g,"NumericLiteral")}parseBigIntLiteral(g){return this.parseLiteral(g,"BigIntLiteral")}parseDecimalLiteral(g){return this.parseLiteral(g,"DecimalLiteral")}parseRegExpLiteral(g){let P=this.startNode();return this.addExtra(P,"raw",this.input.slice(this.offsetToSourcePos(P.start),this.state.end)),P.pattern=g.pattern,P.flags=g.flags,this.next(),this.finishNode(P,"RegExpLiteral")}parseBooleanLiteral(g){let P=this.startNode();return P.value=g,this.next(),this.finishNode(P,"BooleanLiteral")}parseNullLiteral(){let g=this.startNode();return this.next(),this.finishNode(g,"NullLiteral")}parseParenAndDistinguishExpression(g){let P,J,ne,Fe=this.state.startLoc;this.next(),this.expressionScope.enter(jr());let Xe=this.state.maybeInArrowParameters,lt=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;let dt=this.state.startLoc,bt=[],Lt=new xn,ur=!0;for(;!this.match(11);){if(ur)ur=!1;else if(this.expect(12,Lt.optionalParametersLoc===null?null:Lt.optionalParametersLoc),this.match(11)){ne=this.state.startLoc;break}if(this.match(21)){let Dn=this.state.startLoc;if(J=this.state.startLoc,bt.push(this.parseParenItem(this.parseRestBinding(),Dn)),!this.checkCommaAfterRest(41))break}else bt.push(this.parseMaybeAssignAllowInOrVoidPattern(11,Lt,this.parseParenItem))}let $r=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=Xe,this.state.inFSharpPipelineDirectBody=lt;let Kr=this.startNodeAt(Fe);return g&&this.shouldParseArrow(bt)&&(Kr=this.parseArrow(Kr))?(this.checkDestructuringPrivate(Lt),this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(Kr,bt,!1),Kr):(this.expressionScope.exit(),bt.length||this.unexpected(this.state.lastTokStartLoc),ne&&this.unexpected(ne),J&&this.unexpected(J),this.checkExpressionErrors(Lt,!0),this.toReferencedListDeep(bt,!0),bt.length>1?((P=this.startNodeAt(dt)).expressions=bt,this.finishNode(P,"SequenceExpression"),this.resetEndLocation(P,$r)):P=bt[0],this.wrapParenthesis(Fe,P))}wrapParenthesis(g,P){if(!(1024&this.optionFlags))return this.addExtra(P,"parenthesized",!0),this.addExtra(P,"parenStart",g.index),this.takeSurroundingComments(P,g.index,this.state.lastTokEndLoc.index),P;let J=this.startNodeAt(g);return J.expression=P,this.finishNode(J,"ParenthesizedExpression")}shouldParseArrow(g){return!this.canInsertSemicolon()}parseArrow(g){if(this.eat(19))return g}parseParenItem(g,P){return g}parseNewOrNewTarget(){let g=this.startNode();if(this.next(),this.match(16)){let P=this.createIdentifier(this.startNodeAtNode(g),"new");this.next();let J=this.parseMetaProperty(g,P,"target");return this.scope.allowNewTarget||this.raise(v.UnexpectedNewTarget,J),J}return this.parseNew(g)}parseNew(g){if(this.parseNewCallee(g),this.eat(10)){let P=this.parseExprList(11);this.toReferencedList(P),g.arguments=P}else g.arguments=[];return this.finishNode(g,"NewExpression")}parseNewCallee(g){let P=this.match(83),J=this.parseNoCallExpr();g.callee=J,P&&(J.type==="Import"||J.type==="ImportExpression")&&this.raise(v.ImportCallNotNewExpression,J)}parseTemplateElement(g){let{start:P,startLoc:J,end:ne,value:Fe}=this.state,Xe=this.startNodeAt(p(J,1));Fe!==null||g||this.raise(v.InvalidEscapeSequenceTemplate,p(this.state.firstInvalidTemplateEscapePos,1));let lt=this.match(24),dt=lt?-1:-2,bt=ne+dt;Xe.value={raw:this.input.slice(P+1,bt).replace(/\r\n?/g,`
|
|
`),cooked:Fe===null?null:Fe.slice(1,dt)},Xe.tail=lt,this.next();let Lt=this.finishNode(Xe,"TemplateElement");return this.resetEndLocation(Lt,p(this.state.lastTokEndLoc,dt)),Lt}parseTemplate(g){let P=this.startNode(),J=this.parseTemplateElement(g),ne=[J],Fe=[];for(;!J.tail;)Fe.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),ne.push(J=this.parseTemplateElement(g));return P.expressions=Fe,P.quasis=ne,this.finishNode(P,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(g,P,J,ne){J&&this.expectPlugin("recordAndTuple");let Fe=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let Xe=!1,lt=!0,dt=this.startNode();for(dt.properties=[],this.next();!this.match(g);){let Lt;if(lt)lt=!1;else if(this.expect(12),this.match(g)){this.addTrailingCommaExtraToNode(dt);break}P?Lt=this.parseBindingProperty():(Lt=this.parsePropertyDefinition(ne),Xe=this.checkProto(Lt,J,Xe,ne)),J&&!this.isObjectProperty(Lt)&&Lt.type!=="SpreadElement"&&this.raise(v.InvalidRecordProperty,Lt),Lt.shorthand&&this.addExtra(Lt,"shorthand",!0),dt.properties.push(Lt)}this.next(),this.state.inFSharpPipelineDirectBody=Fe;let bt="ObjectExpression";return P?bt="ObjectPattern":J&&(bt="RecordExpression"),this.finishNode(dt,bt)}addTrailingCommaExtraToNode(g){this.addExtra(g,"trailingComma",this.state.lastTokStartLoc.index),this.addExtra(g,"trailingCommaLoc",this.state.lastTokStartLoc,!1)}maybeAsyncOrAccessorProp(g){return!g.computed&&g.key.type==="Identifier"&&(this.isLiteralPropertyName()||this.match(0)||this.match(55))}parsePropertyDefinition(g){let P,J=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(v.UnsupportedPropertyDecorator,this.state.startLoc);this.match(26);)J.push(this.parseDecorator());let ne=this.startNode(),Fe=!1,Xe=!1;if(this.match(21))return J.length&&this.unexpected(),this.parseSpread();J.length&&(ne.decorators=J,J=[]),ne.method=!1,g&&(P=this.state.startLoc);let lt=this.eat(55);this.parsePropertyNamePrefixOperator(ne);let dt=this.state.containsEsc;if(this.parsePropertyName(ne,g),!lt&&!dt&&this.maybeAsyncOrAccessorProp(ne)){let{key:bt}=ne,Lt=bt.name;Lt!=="async"||this.hasPrecedingLineBreak()||(Fe=!0,this.resetPreviousNodeTrailingComments(bt),lt=this.eat(55),this.parsePropertyName(ne)),(Lt==="get"||Lt==="set")&&(Xe=!0,this.resetPreviousNodeTrailingComments(bt),ne.kind=Lt,this.match(55)&&(lt=!0,this.raise(v.AccessorIsGenerator,this.state.curPosition(),{kind:Lt}),this.next()),this.parsePropertyName(ne))}return this.parseObjPropValue(ne,P,lt,Fe,!1,Xe,g)}getGetterSetterExpectedParamCount(g){return+(g.kind!=="get")}getObjectOrClassMethodParams(g){return g.params}checkGetterSetterParams(g){var P;let J=this.getGetterSetterExpectedParamCount(g),ne=this.getObjectOrClassMethodParams(g);ne.length!==J&&this.raise(g.kind==="get"?v.BadGetterArity:v.BadSetterArity,g),g.kind==="set"&&((P=ne[ne.length-1])==null?void 0:P.type)==="RestElement"&&this.raise(v.BadSetterRestParameter,g)}parseObjectMethod(g,P,J,ne,Fe){if(Fe){let Xe=this.parseMethod(g,P,!1,!1,!1,"ObjectMethod");return this.checkGetterSetterParams(Xe),Xe}if(J||P||this.match(10))return ne&&this.unexpected(),g.kind="method",g.method=!0,this.parseMethod(g,P,J,!1,!1,"ObjectMethod")}parseObjectProperty(g,P,J,ne){if(g.shorthand=!1,this.eat(14))return g.value=J?this.parseMaybeDefault(this.state.startLoc):this.parseMaybeAssignAllowInOrVoidPattern(8,ne),this.finishObjectProperty(g);if(!g.computed&&g.key.type==="Identifier"){if(this.checkReservedWord(g.key.name,g.key.loc.start,!0,!1),J)g.value=this.parseMaybeDefault(P,this.cloneIdentifier(g.key));else if(this.match(29)){let Fe=this.state.startLoc;ne!=null?ne.shorthandAssignLoc===null&&(ne.shorthandAssignLoc=Fe):this.raise(v.InvalidCoverInitializedName,Fe),g.value=this.parseMaybeDefault(P,this.cloneIdentifier(g.key))}else g.value=this.cloneIdentifier(g.key);return g.shorthand=!0,this.finishObjectProperty(g)}}finishObjectProperty(g){return this.finishNode(g,"ObjectProperty")}parseObjPropValue(g,P,J,ne,Fe,Xe,lt){let dt=this.parseObjectMethod(g,J,ne,Fe,Xe)||this.parseObjectProperty(g,P,Fe,lt);return dt||this.unexpected(),dt}parsePropertyName(g,P){if(this.eat(0))g.computed=!0,g.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{let J,{type:ne,value:Fe}=this.state;if(oe(ne))J=this.parseIdentifier(!0);else switch(ne){case 135:J=this.parseNumericLiteral(Fe);break;case 134:J=this.parseStringLiteral(Fe);break;case 136:J=this.parseBigIntLiteral(Fe);break;case 139:{let Xe=this.state.startLoc;P!=null?P.privateKeyLoc===null&&(P.privateKeyLoc=Xe):this.raise(v.UnexpectedPrivateField,Xe),J=this.parsePrivateName();break}default:if(ne===137){J=this.parseDecimalLiteral(Fe);break}this.unexpected()}g.key=J,ne!==139&&(g.computed=!1)}}initFunction(g,P){g.id=null,g.generator=!1,g.async=P}parseMethod(g,P,J,ne,Fe,Xe,lt=!1){this.initFunction(g,J),g.generator=P,this.scope.enter(530|576*!!lt|32*!!Fe),this.prodParam.enter(Mt(J,g.generator)),this.parseFunctionParams(g,ne);let dt=this.parseFunctionBodyAndFinish(g,Xe,!0);return this.prodParam.exit(),this.scope.exit(),dt}parseArrayLike(g,P,J,ne){J&&this.expectPlugin("recordAndTuple");let Fe=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;let Xe=this.startNode();return this.next(),Xe.elements=this.parseExprList(g,!J,ne,Xe),this.state.inFSharpPipelineDirectBody=Fe,this.finishNode(Xe,J?"TupleExpression":"ArrayExpression")}parseArrowExpression(g,P,J,ne){this.scope.enter(518);let Fe=Mt(J,!1);!this.match(5)&&this.prodParam.hasIn&&(Fe|=8),this.prodParam.enter(Fe),this.initFunction(g,J);let Xe=this.state.maybeInArrowParameters;return P&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(g,P,ne)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(g,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=Xe,this.finishNode(g,"ArrowFunctionExpression")}setArrowFunctionParameters(g,P,J){this.toAssignableList(P,J,!1),g.params=P}parseFunctionBodyAndFinish(g,P,J=!1){return this.parseFunctionBody(g,!1,J),this.finishNode(g,P)}parseFunctionBody(g,P,J=!1){let ne=P&&!this.match(5);if(this.expressionScope.enter(new vr),ne)g.body=this.parseMaybeAssign(),this.checkParams(g,!1,P,!1);else{let Fe=this.state.strict,Xe=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),g.body=this.parseBlock(!0,!1,lt=>{let dt=!this.isSimpleParamList(g.params);lt&&dt&&this.raise(v.IllegalLanguageModeDirective,(g.kind==="method"||g.kind==="constructor")&&g.key?g.key.loc.end:g);let bt=!Fe&&this.state.strict;this.checkParams(g,!this.state.strict&&!P&&!J&&!dt,P,bt),this.state.strict&&g.id&&this.checkIdentifier(g.id,65,bt)}),this.prodParam.exit(),this.state.labels=Xe}this.expressionScope.exit()}isSimpleParameter(g){return g.type==="Identifier"}isSimpleParamList(g){for(let P=0,J=g.length;P<J;P++)if(!this.isSimpleParameter(g[P]))return!1;return!0}checkParams(g,P,J,ne=!0){let Fe=!P&&new Set,Xe={type:"FormalParameters"};for(let lt of g.params)this.checkLVal(lt,Xe,5,Fe,ne)}parseExprList(g,P,J,ne){let Fe=[],Xe=!0;for(;!this.eat(g);){if(Xe)Xe=!1;else if(this.expect(12),this.match(g)){ne&&this.addTrailingCommaExtraToNode(ne),this.next();break}Fe.push(this.parseExprListItem(g,P,J))}return Fe}parseExprListItem(g,P,J,ne){let Fe;if(this.match(12))P||this.raise(v.UnexpectedToken,this.state.curPosition(),{unexpected:","}),Fe=null;else if(this.match(21)){let Xe=this.state.startLoc;Fe=this.parseParenItem(this.parseSpread(J),Xe)}else if(this.match(17)){this.expectPlugin("partialApplication"),ne||this.raise(v.UnexpectedArgumentPlaceholder,this.state.startLoc);let Xe=this.startNode();this.next(),Fe=this.finishNode(Xe,"ArgumentPlaceholder")}else Fe=this.parseMaybeAssignAllowInOrVoidPattern(g,J,this.parseParenItem);return Fe}parseIdentifier(g){let P=this.startNode(),J=this.parseIdentifierName(g);return this.createIdentifier(P,J)}createIdentifier(g,P){return g.name=P,g.loc.identifierName=P,this.finishNode(g,"Identifier")}createIdentifierAt(g,P,J){return g.name=P,g.loc.identifierName=P,this.finishNodeAt(g,"Identifier",J)}parseIdentifierName(g){let P,{startLoc:J,type:ne}=this.state;oe(ne)?P=this.state.value:this.unexpected();let Fe=ie(ne);return g?Fe&&this.replaceToken(132):this.checkReservedWord(P,J,Fe,!1),this.next(),P}checkReservedWord(g,P,J,ne){if(!(g.length>10)&&Qe(g)){if(J&&Se(g))return void this.raise(v.UnexpectedKeyword,P,{keyword:g});if((this.state.strict?ne?le:ee:fe)(g,this.inModule))return void this.raise(v.UnexpectedReservedWord,P,{reservedWord:g});if(g==="yield"){if(this.prodParam.hasYield)return void this.raise(v.YieldBindingIdentifier,P)}else if(g==="await"){if(this.prodParam.hasAwait)return void this.raise(v.AwaitBindingIdentifier,P);if(this.scope.inStaticBlock)return void this.raise(v.AwaitBindingIdentifierInStaticBlock,P);this.expressionScope.recordAsyncArrowParametersError(P)}else if(g==="arguments"&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(v.ArgumentsInClass,P)}}recordAwaitIfAllowed(){let g=this.prodParam.hasAwait;return g&&!this.scope.inFunction&&(this.state.hasTopLevelAwait=!0),g}parseAwait(g){let P=this.startNodeAt(g);return this.expressionScope.recordParameterInitializerError(v.AwaitExpressionFormalParameter,P),this.eat(55)&&this.raise(v.ObsoleteAwaitStar,P),this.scope.inFunction||1&this.optionFlags||(this.isAmbiguousPrefixOrIdentifier()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(P.argument=this.parseMaybeUnary(null,!0)),this.finishNode(P,"AwaitExpression")}isAmbiguousPrefixOrIdentifier(){if(this.hasPrecedingLineBreak())return!0;let{type:g}=this.state;return g===53||g===10||g===0||Ce(g)||g===102&&!this.state.containsEsc||g===138||g===56||this.hasPlugin("v8intrinsic")&&g===54}parseYield(g){let P=this.startNodeAt(g);this.expressionScope.recordParameterInitializerError(v.YieldInParameter,P);let J=!1,ne=null;if(!this.hasPrecedingLineBreak())switch(J=this.eat(55),this.state.type){case 13:case 140:case 8:case 11:case 3:case 9:case 14:case 12:if(!J)break;default:ne=this.parseMaybeAssign()}return P.delegate=J,P.argument=ne,this.finishNode(P,"YieldExpression")}parseImportCall(g){if(this.next(),g.source=this.parseMaybeAssignAllowIn(),g.options=null,this.eat(12)){if(this.match(11))this.addTrailingCommaExtraToNode(g.source);else if(g.options=this.parseMaybeAssignAllowIn(),this.eat(12)&&(this.addTrailingCommaExtraToNode(g.options),!this.match(11))){do this.parseMaybeAssignAllowIn();while(this.eat(12)&&!this.match(11));this.raise(v.ImportCallArity,g)}}return this.expect(11),this.finishNode(g,"ImportExpression")}checkPipelineAtInfixOperator(g,P){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&g.type==="SequenceExpression"&&this.raise(v.PipelineHeadSequenceExpression,P)}parseSmartPipelineBodyInStyle(g,P){if(this.isSimpleReference(g)){let J=this.startNodeAt(P);return J.callee=g,this.finishNode(J,"PipelineBareFunction")}{let J=this.startNodeAt(P);return this.checkSmartPipeTopicBodyEarlyErrors(P),J.expression=g,this.finishNode(J,"PipelineTopicExpression")}}isSimpleReference(g){switch(g.type){case"MemberExpression":return!g.computed&&this.isSimpleReference(g.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(g){if(this.match(19))throw this.raise(v.PipelineBodyNoArrow,this.state.startLoc);this.topicReferenceWasUsedInCurrentContext()||this.raise(v.PipelineTopicUnused,g)}withTopicBindingContext(g){let P=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return g()}finally{this.state.topicContext=P}}withSmartMixTopicForbiddingContext(g){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return g();{let P=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null};try{return g()}finally{this.state.topicContext=P}}}withSoloAwaitPermittingContext(g){let P=this.state.soloAwait;this.state.soloAwait=!0;try{return g()}finally{this.state.soloAwait=P}}allowInAnd(g){let P=this.prodParam.currentFlags();if(8&~P){this.prodParam.enter(8|P);try{return g()}finally{this.prodParam.exit()}}return g()}disallowInAnd(g){let P=this.prodParam.currentFlags();if(8&P){this.prodParam.enter(-9&P);try{return g()}finally{this.prodParam.exit()}}return g()}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(g){let P=this.state.startLoc;this.state.potentialArrowAt=this.state.start;let J=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;let ne=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),P,g);return this.state.inFSharpPipelineDirectBody=J,ne}parseModuleExpression(){this.expectPlugin("moduleBlocks");let g=this.startNode();this.next(),this.match(5)||this.unexpected(null,5);let P=this.startNodeAt(this.state.endLoc);this.next();let J=this.initializeScopes(!0);this.enterInitialScopes();try{g.body=this.parseProgram(P,8,"module")}finally{J()}return this.finishNode(g,"ModuleExpression")}parseVoidPattern(g){this.expectPlugin("discardBinding");let P=this.startNode();return g!=null&&(g.voidPatternLoc=this.state.startLoc),this.next(),this.finishNode(P,"VoidPattern")}parseMaybeAssignAllowInOrVoidPattern(g,P,J){if(P!=null&&this.match(88)){let ne=this.lookaheadCharCode();if(ne===44||ne===(g===3?93:g===8?125:41)||ne===61)return this.parseMaybeDefault(this.state.startLoc,this.parseVoidPattern(P))}return this.parseMaybeAssignAllowIn(P,J)}parsePropertyNamePrefixOperator(g){}},qe={kind:1},it={kind:2},ot=/[\uD800-\uDFFF]/u,mt=/in(?:stanceof)?/y;function jt(Ue,g,P){for(let J=0;J<Ue.length;J++){let ne=Ue[J],{type:Fe}=ne;if(typeof Fe=="number"){if(Fe===139){let{loc:Xe,start:lt,value:dt,end:bt}=ne,Lt=lt+1,ur=p(Xe.start,1);Ue.splice(J,1,new Rn({type:G[27],value:"#",start:lt,end:Lt,startLoc:Xe.start,endLoc:ur}),new Rn({type:G[132],value:dt,start:Lt,end:bt,startLoc:ur,endLoc:Xe.end})),J++;continue}if(Ce(Fe)){let Xe,lt,dt,bt,Lt,{loc:ur,start:$r,value:Kr,end:Dn}=ne,Zn=$r+1,Di=p(ur.start,1);Xe=new Rn(g.charCodeAt($r-P)===96?{type:G[22],value:"`",start:$r,end:Zn,startLoc:ur.start,endLoc:Di}:{type:G[8],value:"}",start:$r,end:Zn,startLoc:ur.start,endLoc:Di}),Fe===24?(dt=Dn-1,bt=p(ur.end,-1),lt=Kr===null?null:Kr.slice(1,-1),Lt=new Rn({type:G[22],value:"`",start:dt,end:Dn,startLoc:bt,endLoc:ur.end})):(dt=Dn-2,bt=p(ur.end,-2),lt=Kr===null?null:Kr.slice(1,-2),Lt=new Rn({type:G[23],value:"${",start:dt,end:Dn,startLoc:bt,endLoc:ur.end})),Ue.splice(J,1,Xe,new Rn({type:G[20],value:lt,start:Zn,end:dt,startLoc:Di,endLoc:bt}),Lt),J+=2;continue}ne.type=G[Fe]}}return Ue}let Zt=class extends we{parseTopLevel(g,P){return g.program=this.parseProgram(P,140,this.options.sourceType==="module"?"module":"script"),g.comments=this.comments,256&this.optionFlags&&(g.tokens=jt(this.tokens,this.input,this.startIndex)),this.finishNode(g,"File")}parseProgram(g,P,J){if(g.sourceType=J,g.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(g,!0,!0,P),this.inModule){if(!(64&this.optionFlags)&&this.scope.undefinedExports.size>0)for(let[ne,Fe]of Array.from(this.scope.undefinedExports))this.raise(v.ModuleExportUndefined,Fe,{localName:ne});this.addExtra(g,"topLevelAwait",this.state.hasTopLevelAwait)}return P===140?this.finishNode(g,"Program"):this.finishNodeAt(g,"Program",p(this.state.startLoc,-1))}stmtToDirective(g){let P=this.castNodeTo(g,"Directive"),J=this.castNodeTo(g.expression,"DirectiveLiteral"),ne=J.value,Fe=this.input.slice(this.offsetToSourcePos(J.start),this.offsetToSourcePos(J.end)),Xe=J.value=Fe.slice(1,-1);return this.addExtra(J,"raw",Fe),this.addExtra(J,"rawValue",Xe),this.addExtra(J,"expressionValue",ne),P.value=J,delete g.expression,P}parseInterpreterDirective(){if(!this.match(28))return null;let g=this.startNode();return g.value=this.state.value,this.next(),this.finishNode(g,"InterpreterDirective")}isLet(){return!!this.isContextual(100)&&this.hasFollowingBindingAtom()}isUsing(){if(!this.isContextual(107))return!1;let g=this.nextTokenInLineStart(),P=this.codePointAtPos(g);return this.chStartsBindingIdentifier(P,g)}isForUsing(){if(!this.isContextual(107))return!1;let g=this.nextTokenInLineStart(),P=this.codePointAtPos(g);if(this.isUnparsedContextual(g,"of")){let J=this.lookaheadCharCodeSince(g+2);if(J!==61&&J!==58&&J!==59)return!1}return!!(this.chStartsBindingIdentifier(P,g)||this.isUnparsedContextual(g,"void"))}isAwaitUsing(){if(!this.isContextual(96))return!1;let g=this.nextTokenInLineStart();if(this.isUnparsedContextual(g,"using")){g=this.nextTokenInLineStartSince(g+5);let P=this.codePointAtPos(g);if(this.chStartsBindingIdentifier(P,g))return!0}return!1}chStartsBindingIdentifier(g,P){if(De(g)){if(mt.lastIndex=P,mt.test(this.input)){let J=this.codePointAtPos(mt.lastIndex);if(!ze(J)&&J!==92)return!1}return!0}return g===92||!1}chStartsBindingPattern(g){return g===91||g===123}hasFollowingBindingAtom(){let g=this.nextTokenStart(),P=this.codePointAtPos(g);return this.chStartsBindingPattern(P)||this.chStartsBindingIdentifier(P,g)}hasInLineFollowingBindingIdentifierOrBrace(){let g=this.nextTokenInLineStart(),P=this.codePointAtPos(g);return P===123||this.chStartsBindingIdentifier(P,g)}allowsUsing(){return(this.scope.inModule||!this.scope.inTopLevel)&&!this.scope.inBareCaseStatement}parseModuleItem(){return this.parseStatementLike(15)}parseStatementListItem(){return this.parseStatementLike(6|(!this.options.annexB||this.state.strict?0:8))}parseStatementOrSloppyAnnexBFunctionDeclaration(g=!1){let P=0;return this.options.annexB&&!this.state.strict&&(P|=4,g&&(P|=8)),this.parseStatementLike(P)}parseStatement(){return this.parseStatementLike(0)}parseStatementLike(g){let P=null;return this.match(26)&&(P=this.parseDecorators(!0)),this.parseStatementContent(g,P)}parseStatementContent(g,P){let J=this.state.type,ne=this.startNode(),Fe=!!(2&g),Xe=!!(4&g),lt=1&g;switch(J){case 60:return this.parseBreakContinueStatement(ne,!0);case 63:return this.parseBreakContinueStatement(ne,!1);case 64:return this.parseDebuggerStatement(ne);case 90:return this.parseDoWhileStatement(ne);case 91:return this.parseForStatement(ne);case 68:if(this.lookaheadCharCode()===46)break;return Xe||this.raise(this.state.strict?v.StrictFunction:this.options.annexB?v.SloppyFunctionAnnexB:v.SloppyFunction,this.state.startLoc),this.parseFunctionStatement(ne,!1,!Fe&&Xe);case 80:return Fe||this.unexpected(),this.parseClass(this.maybeTakeDecorators(P,ne),!0);case 69:return this.parseIfStatement(ne);case 70:return this.parseReturnStatement(ne);case 71:return this.parseSwitchStatement(ne);case 72:return this.parseThrowStatement(ne);case 73:return this.parseTryStatement(ne);case 96:if(this.isAwaitUsing())return this.allowsUsing()?Fe?this.recordAwaitIfAllowed()||this.raise(v.AwaitUsingNotInAsyncContext,ne):this.raise(v.UnexpectedLexicalDeclaration,ne):this.raise(v.UnexpectedUsingDeclaration,ne),this.next(),this.parseVarStatement(ne,"await using");break;case 107:if(this.state.containsEsc||!this.hasInLineFollowingBindingIdentifierOrBrace())break;return this.allowsUsing()?Fe||this.raise(v.UnexpectedLexicalDeclaration,this.state.startLoc):this.raise(v.UnexpectedUsingDeclaration,this.state.startLoc),this.parseVarStatement(ne,"using");case 100:{if(this.state.containsEsc)break;let Lt=this.nextTokenStart(),ur=this.codePointAtPos(Lt);if(ur!==91&&(!Fe&&this.hasFollowingLineBreak()||!this.chStartsBindingIdentifier(ur,Lt)&&ur!==123))break}case 75:Fe||this.raise(v.UnexpectedLexicalDeclaration,this.state.startLoc);case 74:{let Lt=this.state.value;return this.parseVarStatement(ne,Lt)}case 92:return this.parseWhileStatement(ne);case 76:return this.parseWithStatement(ne);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(ne);case 83:{let Lt=this.lookaheadCharCode();if(Lt===40||Lt===46)break}case 82:{let Lt;return 8&this.optionFlags||lt||this.raise(v.UnexpectedImportExport,this.state.startLoc),this.next(),Lt=J===83?this.parseImport(ne):this.parseExport(ne,P),this.assertModuleNodeAllowed(Lt),Lt}default:if(this.isAsyncFunction())return Fe||this.raise(v.AsyncFunctionInSingleStatementContext,this.state.startLoc),this.next(),this.parseFunctionStatement(ne,!0,!Fe&&Xe)}let dt=this.state.value,bt=this.parseExpression();return X(J)&&bt.type==="Identifier"&&this.eat(14)?this.parseLabeledStatement(ne,dt,bt,g):this.parseExpressionStatement(ne,bt,P)}assertModuleNodeAllowed(g){8&this.optionFlags||this.inModule||this.raise(v.ImportOutsideModule,g)}decoratorsEnabledBeforeExport(){return!!this.hasPlugin("decorators-legacy")||this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")!==!1}maybeTakeDecorators(g,P,J){if(g){var ne;(ne=P.decorators)!=null&&ne.length?(typeof this.getPluginOption("decorators","decoratorsBeforeExport")!="boolean"&&this.raise(v.DecoratorsBeforeAfterExport,P.decorators[0]),P.decorators.unshift(...g)):P.decorators=g,this.resetStartLocationFromNode(P,g[0]),J&&this.resetStartLocationFromNode(J,P)}return P}canHaveLeadingDecorator(){return this.match(80)}parseDecorators(g){let P=[];do P.push(this.parseDecorator());while(this.match(26));if(this.match(82))g||this.unexpected(),this.decoratorsEnabledBeforeExport()||this.raise(v.DecoratorExportClass,this.state.startLoc);else if(!this.canHaveLeadingDecorator())throw this.raise(v.UnexpectedLeadingDecorator,this.state.startLoc);return P}parseDecorator(){this.expectOnePlugin(["decorators","decorators-legacy"]);let g=this.startNode();if(this.next(),this.hasPlugin("decorators")){let P,J=this.state.startLoc;if(this.match(10)){let ne=this.state.startLoc;this.next(),P=this.parseExpression(),this.expect(11),P=this.wrapParenthesis(ne,P);let Fe=this.state.startLoc;g.expression=this.parseMaybeDecoratorArguments(P,ne),this.getPluginOption("decorators","allowCallParenthesized")===!1&&g.expression!==P&&this.raise(v.DecoratorArgumentsOutsideParentheses,Fe)}else{for(P=this.parseIdentifier(!1);this.eat(16);){let ne=this.startNodeAt(J);ne.object=P,this.match(139)?(this.classScope.usePrivateName(this.state.value,this.state.startLoc),ne.property=this.parsePrivateName()):ne.property=this.parseIdentifier(!0),ne.computed=!1,P=this.finishNode(ne,"MemberExpression")}g.expression=this.parseMaybeDecoratorArguments(P,J)}}else g.expression=this.parseExprSubscripts();return this.finishNode(g,"Decorator")}parseMaybeDecoratorArguments(g,P){if(this.eat(10)){let J=this.startNodeAt(P);return J.callee=g,J.arguments=this.parseCallExpressionArguments(),this.toReferencedList(J.arguments),this.finishNode(J,"CallExpression")}return g}parseBreakContinueStatement(g,P){return this.next(),this.isLineTerminator()?g.label=null:(g.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(g,P),this.finishNode(g,P?"BreakStatement":"ContinueStatement")}verifyBreakContinue(g,P){let J;for(J=0;J<this.state.labels.length;++J){let ne=this.state.labels[J];if((g.label==null||ne.name===g.label.name)&&(ne.kind!=null&&(P||ne.kind===1)||g.label&&P))break}J===this.state.labels.length&&this.raise(v.IllegalBreakContinue,g,{type:P?"BreakStatement":"ContinueStatement"})}parseDebuggerStatement(g){return this.next(),this.semicolon(),this.finishNode(g,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);let g=this.parseExpression();return this.expect(11),g}parseDoWhileStatement(g){return this.next(),this.state.labels.push(qe),g.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.expect(92),g.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(g,"DoWhileStatement")}parseForStatement(g){this.next(),this.state.labels.push(qe);let P=null;if(this.isContextual(96)&&this.recordAwaitIfAllowed()&&(P=this.state.startLoc,this.next()),this.scope.enter(0),this.expect(10),this.match(13))return P!==null&&this.unexpected(P),this.parseFor(g,null);let J=this.isContextual(100);{let dt=this.isAwaitUsing(),bt=dt||this.isForUsing(),Lt=J&&this.hasFollowingBindingAtom()||bt;if(this.match(74)||this.match(75)||Lt){let ur,$r=this.startNode();dt?(ur="await using",this.recordAwaitIfAllowed()||this.raise(v.AwaitUsingNotInAsyncContext,this.state.startLoc),this.next()):ur=this.state.value,this.next(),this.parseVar($r,!0,ur);let Kr=this.finishNode($r,"VariableDeclaration"),Dn=this.match(58);return Dn&&bt&&this.raise(v.ForInUsing,Kr),(Dn||this.isContextual(102))&&Kr.declarations.length===1?this.parseForIn(g,Kr,P):(P!==null&&this.unexpected(P),this.parseFor(g,Kr))}}let ne=this.isContextual(95),Fe=new xn,Xe=this.parseExpression(!0,Fe),lt=this.isContextual(102);return lt&&(J&&this.raise(v.ForOfLet,Xe),P===null&&ne&&Xe.type==="Identifier"&&this.raise(v.ForOfAsync,Xe)),lt||this.match(58)?(this.checkDestructuringPrivate(Fe),this.toAssignable(Xe,!0),this.checkLVal(Xe,{type:lt?"ForOfStatement":"ForInStatement"}),this.parseForIn(g,Xe,P)):(this.checkExpressionErrors(Fe,!0),P!==null&&this.unexpected(P),this.parseFor(g,Xe))}parseFunctionStatement(g,P,J){return this.next(),this.parseFunction(g,1|2*!!J|8*!!P)}parseIfStatement(g){return this.next(),g.test=this.parseHeaderExpression(),g.consequent=this.parseStatementOrSloppyAnnexBFunctionDeclaration(),g.alternate=this.eat(66)?this.parseStatementOrSloppyAnnexBFunctionDeclaration():null,this.finishNode(g,"IfStatement")}parseReturnStatement(g){return this.prodParam.hasReturn||this.raise(v.IllegalReturn,this.state.startLoc),this.next(),this.isLineTerminator()?g.argument=null:(g.argument=this.parseExpression(),this.semicolon()),this.finishNode(g,"ReturnStatement")}parseSwitchStatement(g){let P,J;this.next(),g.discriminant=this.parseHeaderExpression();let ne=g.cases=[];for(this.expect(5),this.state.labels.push(it),this.scope.enter(256);!this.match(8);)if(this.match(61)||this.match(65)){let Fe=this.match(61);P&&this.finishNode(P,"SwitchCase"),ne.push(P=this.startNode()),P.consequent=[],this.next(),Fe?P.test=this.parseExpression():(J&&this.raise(v.MultipleDefaultsInSwitch,this.state.lastTokStartLoc),J=!0,P.test=null),this.expect(14)}else P?P.consequent.push(this.parseStatementListItem()):this.unexpected();return this.scope.exit(),P&&this.finishNode(P,"SwitchCase"),this.next(),this.state.labels.pop(),this.finishNode(g,"SwitchStatement")}parseThrowStatement(g){return this.next(),this.hasPrecedingLineBreak()&&this.raise(v.NewlineAfterThrow,this.state.lastTokEndLoc),g.argument=this.parseExpression(),this.semicolon(),this.finishNode(g,"ThrowStatement")}parseCatchClauseParam(){let g=this.parseBindingAtom();return this.scope.enter(this.options.annexB&&g.type==="Identifier"?8:0),this.checkLVal(g,{type:"CatchClause"},9),g}parseTryStatement(g){if(this.next(),g.block=this.parseBlock(),g.handler=null,this.match(62)){let P=this.startNode();this.next(),this.match(10)?(this.expect(10),P.param=this.parseCatchClauseParam(),this.expect(11)):(P.param=null,this.scope.enter(0)),P.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),g.handler=this.finishNode(P,"CatchClause")}return g.finalizer=this.eat(67)?this.parseBlock():null,g.handler||g.finalizer||this.raise(v.NoCatchOrFinally,g),this.finishNode(g,"TryStatement")}parseVarStatement(g,P,J=!1){return this.next(),this.parseVar(g,!1,P,J),this.semicolon(),this.finishNode(g,"VariableDeclaration")}parseWhileStatement(g){return this.next(),g.test=this.parseHeaderExpression(),this.state.labels.push(qe),g.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.state.labels.pop(),this.finishNode(g,"WhileStatement")}parseWithStatement(g){return this.state.strict&&this.raise(v.StrictWith,this.state.startLoc),this.next(),g.object=this.parseHeaderExpression(),g.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.finishNode(g,"WithStatement")}parseEmptyStatement(g){return this.next(),this.finishNode(g,"EmptyStatement")}parseLabeledStatement(g,P,J,ne){for(let Xe of this.state.labels)Xe.name===P&&this.raise(v.LabelRedeclaration,J,{labelName:P});let Fe=We(this.state.type)?1:this.match(71)?2:null;for(let Xe=this.state.labels.length-1;Xe>=0;Xe--){let lt=this.state.labels[Xe];if(lt.statementStart===g.start)lt.statementStart=this.sourceToOffsetPos(this.state.start),lt.kind=Fe;else break}return this.state.labels.push({name:P,kind:Fe,statementStart:this.sourceToOffsetPos(this.state.start)}),g.body=8&ne?this.parseStatementOrSloppyAnnexBFunctionDeclaration(!0):this.parseStatement(),this.state.labels.pop(),g.label=J,this.finishNode(g,"LabeledStatement")}parseExpressionStatement(g,P,J){return g.expression=P,this.semicolon(),this.finishNode(g,"ExpressionStatement")}parseBlock(g=!1,P=!0,J){let ne=this.startNode();return g&&this.state.strictErrors.clear(),this.expect(5),P&&this.scope.enter(0),this.parseBlockBody(ne,g,!1,8,J),P&&this.scope.exit(),this.finishNode(ne,"BlockStatement")}isValidDirective(g){return g.type==="ExpressionStatement"&&g.expression.type==="StringLiteral"&&!g.expression.extra.parenthesized}parseBlockBody(g,P,J,ne,Fe){let Xe=g.body=[],lt=g.directives=[];this.parseBlockOrModuleBlockBody(Xe,P?lt:void 0,J,ne,Fe)}parseBlockOrModuleBlockBody(g,P,J,ne,Fe){let Xe=this.state.strict,lt=!1,dt=!1;for(;!this.match(ne);){let bt=J?this.parseModuleItem():this.parseStatementListItem();if(P&&!dt){if(this.isValidDirective(bt)){let Lt=this.stmtToDirective(bt);P.push(Lt),lt||Lt.value.value!=="use strict"||(lt=!0,this.setStrict(!0));continue}dt=!0,this.state.strictErrors.clear()}g.push(bt)}Fe==null||Fe.call(this,lt),Xe||this.setStrict(!1),this.next()}parseFor(g,P){return g.init=P,this.semicolon(!1),g.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),g.update=this.match(11)?null:this.parseExpression(),this.expect(11),g.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(g,"ForStatement")}parseForIn(g,P,J){let ne=this.match(58);return this.next(),ne?J!==null&&this.unexpected(J):g.await=J!==null,P.type!=="VariableDeclaration"||P.declarations[0].init==null||ne&&this.options.annexB&&!this.state.strict&&P.kind==="var"&&P.declarations[0].id.type==="Identifier"||this.raise(v.ForInOfLoopInitializer,P,{type:ne?"ForInStatement":"ForOfStatement"}),P.type==="AssignmentPattern"&&this.raise(v.InvalidLhs,P,{ancestor:{type:"ForStatement"}}),g.left=P,g.right=ne?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),g.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement()),this.scope.exit(),this.state.labels.pop(),this.finishNode(g,ne?"ForInStatement":"ForOfStatement")}parseVar(g,P,J,ne=!1){let Fe=g.declarations=[];for(g.kind=J;;){let Xe=this.startNode();if(this.parseVarId(Xe,J),Xe.init=this.eat(29)?P?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():null,Xe.init===null&&!ne&&(Xe.id.type==="Identifier"||P&&(this.match(58)||this.isContextual(102))?J!=="const"&&J!=="using"&&J!=="await using"||this.match(58)||this.isContextual(102)||this.raise(v.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:J}):this.raise(v.DeclarationMissingInitializer,this.state.lastTokEndLoc,{kind:"destructuring"})),Fe.push(this.finishNode(Xe,"VariableDeclarator")),!this.eat(12))break}return g}parseVarId(g,P){let J=this.parseBindingAtom();P==="using"||P==="await using"?(J.type==="ArrayPattern"||J.type==="ObjectPattern")&&this.raise(v.UsingDeclarationHasBindingPattern,J.loc.start):J.type==="VoidPattern"&&this.raise(v.UnexpectedVoidPattern,J.loc.start),this.checkLVal(J,{type:"VariableDeclarator"},P==="var"?5:8201),g.id=J}parseAsyncFunctionExpression(g){return this.parseFunction(g,8)}parseFunction(g,P=0){let J=2&P,ne=!!(1&P),Fe=!!(8&P);this.initFunction(g,Fe),this.match(55)&&(J&&this.raise(v.GeneratorInSingleStatementContext,this.state.startLoc),this.next(),g.generator=!0),ne&&(g.id=this.parseFunctionId(ne&&!(4&P)));let Xe=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(514),this.prodParam.enter(Mt(Fe,g.generator)),ne||(g.id=this.parseFunctionId()),this.parseFunctionParams(g,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(g,ne?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),ne&&!J&&this.registerFunctionStatementId(g),this.state.maybeInArrowParameters=Xe,g}parseFunctionId(g){return g||X(this.state.type)?this.parseIdentifier():null}parseFunctionParams(g,P){this.expect(10),this.expressionScope.enter(Xt()),g.params=this.parseBindingList(11,41,2|4*!!P),this.expressionScope.exit()}registerFunctionStatementId(g){g.id&&this.scope.declareName(g.id.name,!this.options.annexB||this.state.strict||g.generator||g.async?this.scope.treatFunctionsAsVar?5:8201:17,g.id.loc.start)}parseClass(g,P,J){this.next();let ne=this.state.strict;return this.state.strict=!0,this.parseClassId(g,P,J),this.parseClassSuper(g),g.body=this.parseClassBody(!!g.superClass,ne),this.finishNode(g,P?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}nameIsConstructor(g){return g.type==="Identifier"&&g.name==="constructor"||g.type==="StringLiteral"&&g.value==="constructor"}isNonstaticConstructor(g){return!g.computed&&!g.static&&this.nameIsConstructor(g.key)}parseClassBody(g,P){this.classScope.enter();let J={hadConstructor:!1,hadSuperClass:g},ne=[],Fe=this.startNode();if(Fe.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(ne.length>0)throw this.raise(v.DecoratorSemicolon,this.state.lastTokEndLoc);continue}if(this.match(26)){ne.push(this.parseDecorator());continue}let Xe=this.startNode();ne.length&&(Xe.decorators=ne,this.resetStartLocationFromNode(Xe,ne[0]),ne=[]),this.parseClassMember(Fe,Xe,J),Xe.kind==="constructor"&&Xe.decorators&&Xe.decorators.length>0&&this.raise(v.DecoratorConstructor,Xe)}}),this.state.strict=P,this.next(),ne.length)throw this.raise(v.TrailingDecorator,this.state.startLoc);return this.classScope.exit(),this.finishNode(Fe,"ClassBody")}parseClassMemberFromModifier(g,P){let J=this.parseIdentifier(!0);return this.isClassMethod()?(P.kind="method",P.computed=!1,P.key=J,P.static=!1,this.pushClassMethod(g,P,!1,!1,!1,!1),!0):this.isClassProperty()?(P.computed=!1,P.key=J,P.static=!1,g.body.push(this.parseClassProperty(P)),!0):(this.resetPreviousNodeTrailingComments(J),!1)}parseClassMember(g,P,J){let ne=this.isContextual(106);if(ne){if(this.parseClassMemberFromModifier(g,P))return;if(this.eat(5))return void this.parseClassStaticBlock(g,P)}this.parseClassMemberWithIsStatic(g,P,J,ne)}parseClassMemberWithIsStatic(g,P,J,ne){if(P.static=ne,this.parsePropertyNamePrefixOperator(P),this.eat(55)){P.kind="method";let Lt=this.match(139);return this.parseClassElementName(P),this.parsePostMemberNameModifiers(P),Lt?void this.pushClassPrivateMethod(g,P,!0,!1):(this.isNonstaticConstructor(P)&&this.raise(v.ConstructorIsGenerator,P.key),void this.pushClassMethod(g,P,!0,!1,!1,!1))}let Fe=!this.state.containsEsc&&X(this.state.type),Xe=this.parseClassElementName(P),lt=Fe?Xe.name:null,dt=this.isPrivateName(Xe),bt=this.state.startLoc;if(this.parsePostMemberNameModifiers(P),this.isClassMethod()){if(P.kind="method",dt)return void this.pushClassPrivateMethod(g,P,!1,!1);let Lt=this.isNonstaticConstructor(P),ur=!1;Lt&&(P.kind="constructor",J.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(v.DuplicateConstructor,Xe),Lt&&this.hasPlugin("typescript")&&P.override&&this.raise(v.OverrideOnConstructor,Xe),J.hadConstructor=!0,ur=J.hadSuperClass),this.pushClassMethod(g,P,!1,!1,Lt,ur)}else if(this.isClassProperty())dt?this.pushClassPrivateProperty(g,P):this.pushClassProperty(g,P);else if(lt!=="async"||this.isLineTerminator())if(lt!=="get"&<!=="set"||this.match(55)&&this.isLineTerminator())if(lt!=="accessor"||this.isLineTerminator())this.isLineTerminator()?dt?this.pushClassPrivateProperty(g,P):this.pushClassProperty(g,P):this.unexpected();else{this.expectPlugin("decoratorAutoAccessors"),this.resetPreviousNodeTrailingComments(Xe);let Lt=this.match(139);this.parseClassElementName(P),this.pushClassAccessorProperty(g,P,Lt)}else{this.resetPreviousNodeTrailingComments(Xe),P.kind=lt;let Lt=this.match(139);this.parseClassElementName(P),Lt?this.pushClassPrivateMethod(g,P,!1,!1):(this.isNonstaticConstructor(P)&&this.raise(v.ConstructorIsAccessor,P.key),this.pushClassMethod(g,P,!1,!1,!1,!1)),this.checkGetterSetterParams(P)}else{this.resetPreviousNodeTrailingComments(Xe);let Lt=this.eat(55);P.optional&&this.unexpected(bt),P.kind="method";let ur=this.match(139);this.parseClassElementName(P),this.parsePostMemberNameModifiers(P),ur?this.pushClassPrivateMethod(g,P,Lt,!0):(this.isNonstaticConstructor(P)&&this.raise(v.ConstructorIsAsync,P.key),this.pushClassMethod(g,P,Lt,!0,!1,!1))}}parseClassElementName(g){let{type:P,value:J}=this.state;if((P===132||P===134)&&g.static&&J==="prototype"&&this.raise(v.StaticPrototype,this.state.startLoc),P===139){J==="constructor"&&this.raise(v.ConstructorClassPrivateField,this.state.startLoc);let ne=this.parsePrivateName();return g.key=ne,ne}return this.parsePropertyName(g),g.key}parseClassStaticBlock(g,P){var J;this.scope.enter(720);let ne=this.state.labels;this.state.labels=[],this.prodParam.enter(0);let Fe=P.body=[];this.parseBlockOrModuleBlockBody(Fe,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=ne,g.body.push(this.finishNode(P,"StaticBlock")),(J=P.decorators)!=null&&J.length&&this.raise(v.DecoratorStaticBlock,P)}pushClassProperty(g,P){!P.computed&&this.nameIsConstructor(P.key)&&this.raise(v.ConstructorClassField,P.key),g.body.push(this.parseClassProperty(P))}pushClassPrivateProperty(g,P){let J=this.parseClassPrivateProperty(P);g.body.push(J),this.classScope.declarePrivateName(this.getPrivateNameSV(J.key),0,J.key.loc.start)}pushClassAccessorProperty(g,P,J){!J&&!P.computed&&this.nameIsConstructor(P.key)&&this.raise(v.ConstructorClassField,P.key);let ne=this.parseClassAccessorProperty(P);g.body.push(ne),J&&this.classScope.declarePrivateName(this.getPrivateNameSV(ne.key),0,ne.key.loc.start)}pushClassMethod(g,P,J,ne,Fe,Xe){g.body.push(this.parseMethod(P,J,ne,Fe,Xe,"ClassMethod",!0))}pushClassPrivateMethod(g,P,J,ne){let Fe=this.parseMethod(P,J,ne,!1,!1,"ClassPrivateMethod",!0);g.body.push(Fe);let Xe=Fe.kind==="get"?Fe.static?6:2:Fe.kind==="set"?Fe.static?5:1:0;this.declareClassPrivateMethodInScope(Fe,Xe)}declareClassPrivateMethodInScope(g,P){this.classScope.declarePrivateName(this.getPrivateNameSV(g.key),P,g.key.loc.start)}parsePostMemberNameModifiers(g){}parseClassPrivateProperty(g){return this.parseInitializer(g),this.semicolon(),this.finishNode(g,"ClassPrivateProperty")}parseClassProperty(g){return this.parseInitializer(g),this.semicolon(),this.finishNode(g,"ClassProperty")}parseClassAccessorProperty(g){return this.parseInitializer(g),this.semicolon(),this.finishNode(g,"ClassAccessorProperty")}parseInitializer(g){this.scope.enter(592),this.expressionScope.enter(new vr),this.prodParam.enter(0),g.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(g,P,J,ne=8331){if(X(this.state.type))g.id=this.parseIdentifier(),P&&this.declareNameFromIdentifier(g.id,ne);else if(J||!P)g.id=null;else throw this.raise(v.MissingClassName,this.state.startLoc)}parseClassSuper(g){g.superClass=this.eat(81)?this.parseExprSubscripts():null}parseExport(g,P){let J,ne=this.parseMaybeImportPhase(g,!0),Fe=this.maybeParseExportDefaultSpecifier(g,ne),Xe=!Fe||this.eat(12),lt=Xe&&this.eatExportStar(g),dt=lt&&this.maybeParseExportNamespaceSpecifier(g),bt=Xe&&(!dt||this.eat(12)),Lt=Fe||lt;if(lt&&!dt){if(Fe&&this.unexpected(),P)throw this.raise(v.UnsupportedDecoratorExport,g);return this.parseExportFrom(g,!0),this.sawUnambiguousESM=!0,this.finishNode(g,"ExportAllDeclaration")}let ur=this.maybeParseExportNamedSpecifiers(g);if(Fe&&Xe&&!lt&&!ur&&this.unexpected(null,5),dt&&bt&&this.unexpected(null,98),Lt||ur){if(J=!1,P)throw this.raise(v.UnsupportedDecoratorExport,g);this.parseExportFrom(g,Lt)}else J=this.maybeParseExportDeclaration(g);if(Lt||ur||J){var $r;if(this.checkExport(g,!0,!1,!!g.source),(($r=g.declaration)==null?void 0:$r.type)==="ClassDeclaration")this.maybeTakeDecorators(P,g.declaration,g);else if(P)throw this.raise(v.UnsupportedDecoratorExport,g);return this.sawUnambiguousESM=!0,this.finishNode(g,"ExportNamedDeclaration")}if(this.eat(65)){let Kr=this.parseExportDefaultExpression();if(g.declaration=Kr,Kr.type==="ClassDeclaration")this.maybeTakeDecorators(P,Kr,g);else if(P)throw this.raise(v.UnsupportedDecoratorExport,g);return this.checkExport(g,!0,!0),this.sawUnambiguousESM=!0,this.finishNode(g,"ExportDefaultDeclaration")}this.unexpected(null,5)}eatExportStar(g){return this.eat(55)}maybeParseExportDefaultSpecifier(g,P){if(P||this.isExportDefaultSpecifier()){this.expectPlugin("exportDefaultFrom",P==null?void 0:P.loc.start);let J=P||this.parseIdentifier(!0),ne=this.startNodeAtNode(J);return ne.exported=J,g.specifiers=[this.finishNode(ne,"ExportDefaultSpecifier")],!0}return!1}maybeParseExportNamespaceSpecifier(g){if(this.isContextual(93)){g.specifiers!=null||(g.specifiers=[]);let P=this.startNodeAt(this.state.lastTokStartLoc);return this.next(),P.exported=this.parseModuleExportName(),g.specifiers.push(this.finishNode(P,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(g){if(this.match(5)){g.specifiers||(g.specifiers=[]);let P=g.exportKind==="type";return g.specifiers.push(...this.parseExportSpecifiers(P)),g.source=null,this.hasPlugin("importAssertions")?g.assertions=[]:g.attributes=[],g.declaration=null,!0}return!1}maybeParseExportDeclaration(g){return!!this.shouldParseExportDeclaration()&&(g.specifiers=[],g.source=null,this.hasPlugin("importAssertions")?g.assertions=[]:g.attributes=[],g.declaration=this.parseExportDeclaration(g),!0)}isAsyncFunction(){if(!this.isContextual(95))return!1;let g=this.nextTokenInLineStart();return this.isUnparsedContextual(g,"function")}parseExportDefaultExpression(){let g=this.startNode();if(this.match(68))return this.next(),this.parseFunction(g,5);if(this.isAsyncFunction())return this.next(),this.next(),this.parseFunction(g,13);if(this.match(80))return this.parseClass(g,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(v.DecoratorBeforeExport,this.state.startLoc),this.parseClass(this.maybeTakeDecorators(this.parseDecorators(!1),this.startNode()),!0,!0);if(this.match(75)||this.match(74)||this.isLet()||this.isUsing()||this.isAwaitUsing())throw this.raise(v.UnsupportedDefaultExport,this.state.startLoc);let P=this.parseMaybeAssignAllowIn();return this.semicolon(),P}parseExportDeclaration(g){return this.match(80)?this.parseClass(this.startNode(),!0,!1):this.parseStatementListItem()}isExportDefaultSpecifier(){let{type:g}=this.state;if(X(g)){if(g===95&&!this.state.containsEsc||g===100)return!1;if((g===130||g===129)&&!this.state.containsEsc){let ne=this.nextTokenStart(),Fe=this.input.charCodeAt(ne);if(Fe===123||this.chStartsBindingIdentifier(Fe,ne)&&!this.input.startsWith("from",ne))return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(65))return!1;let P=this.nextTokenStart(),J=this.isUnparsedContextual(P,"from");if(this.input.charCodeAt(P)===44||X(this.state.type)&&J)return!0;if(this.match(65)&&J){let ne=this.input.charCodeAt(this.nextTokenStartSince(P+4));return ne===34||ne===39}return!1}parseExportFrom(g,P){this.eatContextual(98)?(g.source=this.parseImportSource(),this.checkExport(g),this.maybeParseImportAttributes(g),this.checkJSONModuleImport(g)):P&&this.unexpected(),this.semicolon()}shouldParseExportDeclaration(){let{type:g}=this.state;return g===26&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))?(this.getPluginOption("decorators","decoratorsBeforeExport")===!0&&this.raise(v.DecoratorBeforeExport,this.state.startLoc),!0):this.isUsing()||this.isAwaitUsing()?(this.raise(v.UsingDeclarationExport,this.state.startLoc),!0):g===74||g===75||g===68||g===80||this.isLet()||this.isAsyncFunction()}checkExport(g,P,J,ne){if(P){var Fe,Xe;if(J){if(this.checkDuplicateExports(g,"default"),this.hasPlugin("exportDefaultFrom")){let lt=g.declaration;lt.type!=="Identifier"||lt.name!=="from"||lt.end-lt.start!=4||(Xe=lt.extra)!=null&&Xe.parenthesized||this.raise(v.ExportDefaultFromAsIdentifier,lt)}}else if((Fe=g.specifiers)!=null&&Fe.length)for(let lt of g.specifiers){let{exported:dt}=lt,bt=dt.type==="Identifier"?dt.name:dt.value;if(this.checkDuplicateExports(lt,bt),!ne&<.local){let{local:Lt}=lt;Lt.type!=="Identifier"?this.raise(v.ExportBindingIsString,lt,{localName:Lt.value,exportName:bt}):(this.checkReservedWord(Lt.name,Lt.loc.start,!0,!1),this.scope.checkLocalExport(Lt))}}else if(g.declaration){let lt=g.declaration;if(lt.type==="FunctionDeclaration"||lt.type==="ClassDeclaration"){let{id:dt}=lt;if(!dt)throw Error("Assertion failure");this.checkDuplicateExports(g,dt.name)}else if(lt.type==="VariableDeclaration")for(let dt of lt.declarations)this.checkDeclaration(dt.id)}}}checkDeclaration(g){if(g.type==="Identifier")this.checkDuplicateExports(g,g.name);else if(g.type==="ObjectPattern")for(let P of g.properties)this.checkDeclaration(P);else if(g.type==="ArrayPattern")for(let P of g.elements)P&&this.checkDeclaration(P);else g.type==="ObjectProperty"?this.checkDeclaration(g.value):g.type==="RestElement"?this.checkDeclaration(g.argument):g.type==="AssignmentPattern"&&this.checkDeclaration(g.left)}checkDuplicateExports(g,P){this.exportedIdentifiers.has(P)&&(P==="default"?this.raise(v.DuplicateDefaultExport,g):this.raise(v.DuplicateExport,g,{exportName:P})),this.exportedIdentifiers.add(P)}parseExportSpecifiers(g){let P=[],J=!0;for(this.expect(5);!this.eat(8);){if(J)J=!1;else if(this.expect(12),this.eat(8))break;let ne=this.isContextual(130),Fe=this.match(134),Xe=this.startNode();Xe.local=this.parseModuleExportName(),P.push(this.parseExportSpecifier(Xe,Fe,g,ne))}return P}parseExportSpecifier(g,P,J,ne){return this.eatContextual(93)?g.exported=this.parseModuleExportName():P?g.exported=this.cloneStringLiteral(g.local):g.exported||(g.exported=this.cloneIdentifier(g.local)),this.finishNode(g,"ExportSpecifier")}parseModuleExportName(){if(this.match(134)){let g=this.parseStringLiteral(this.state.value),P=ot.exec(g.value);return P&&this.raise(v.ModuleExportNameHasLoneSurrogate,g,{surrogateCharCode:P[0].charCodeAt(0)}),g}return this.parseIdentifier(!0)}isJSONModuleImport(g){return g.assertions!=null&&g.assertions.some(({key:P,value:J})=>J.value==="json"&&(P.type==="Identifier"?P.name==="type":P.value==="type"))}checkImportReflection(g){let{specifiers:P}=g,J=P.length===1?P[0].type:null;if(g.phase==="source")J!=="ImportDefaultSpecifier"&&this.raise(v.SourcePhaseImportRequiresDefault,P[0].loc.start);else if(g.phase==="defer")J!=="ImportNamespaceSpecifier"&&this.raise(v.DeferImportRequiresNamespace,P[0].loc.start);else if(g.module){var ne;J!=="ImportDefaultSpecifier"&&this.raise(v.ImportReflectionNotBinding,P[0].loc.start),((ne=g.assertions)==null?void 0:ne.length)>0&&this.raise(v.ImportReflectionHasAssertion,P[0].loc.start)}}checkJSONModuleImport(g){if(this.isJSONModuleImport(g)&&g.type!=="ExportAllDeclaration"){let{specifiers:P}=g;if(P!=null){let J=P.find(ne=>{let Fe;if(ne.type==="ExportSpecifier"?Fe=ne.local:ne.type==="ImportSpecifier"&&(Fe=ne.imported),Fe!==void 0)return Fe.type==="Identifier"?Fe.name!=="default":Fe.value!=="default"});J!==void 0&&this.raise(v.ImportJSONBindingNotDefault,J.loc.start)}}}isPotentialImportPhase(g){return!g&&(this.isContextual(105)||this.isContextual(97)||this.isContextual(127))}applyImportPhase(g,P,J,ne){!P&&(J==="module"?(this.expectPlugin("importReflection",ne),g.module=!0):this.hasPlugin("importReflection")&&(g.module=!1),J==="source"?(this.expectPlugin("sourcePhaseImports",ne),g.phase="source"):J==="defer"?(this.expectPlugin("deferredImportEvaluation",ne),g.phase="defer"):this.hasPlugin("sourcePhaseImports")&&(g.phase=null))}parseMaybeImportPhase(g,P){if(!this.isPotentialImportPhase(P))return this.applyImportPhase(g,P,null),null;let J=this.startNode(),ne=this.parseIdentifierName(!0),{type:Fe}=this.state;return(oe(Fe)?Fe!==98||this.lookaheadCharCode()===102:Fe!==12)?(this.applyImportPhase(g,P,ne,J.loc.start),null):(this.applyImportPhase(g,P,null),this.createIdentifier(J,ne))}isPrecedingIdImportPhase(g){let{type:P}=this.state;return X(P)?P!==98||this.lookaheadCharCode()===102:P!==12}parseImport(g){return this.match(134)?this.parseImportSourceAndAttributes(g):this.parseImportSpecifiersAndAfter(g,this.parseMaybeImportPhase(g,!1))}parseImportSpecifiersAndAfter(g,P){g.specifiers=[];let J=!this.maybeParseDefaultImportSpecifier(g,P)||this.eat(12),ne=J&&this.maybeParseStarImportSpecifier(g);return J&&!ne&&this.parseNamedImportSpecifiers(g),this.expectContextual(98),this.parseImportSourceAndAttributes(g)}parseImportSourceAndAttributes(g){return g.specifiers!=null||(g.specifiers=[]),g.source=this.parseImportSource(),this.maybeParseImportAttributes(g),this.checkImportReflection(g),this.checkJSONModuleImport(g),this.semicolon(),this.sawUnambiguousESM=!0,this.finishNode(g,"ImportDeclaration")}parseImportSource(){return this.match(134)||this.unexpected(),this.parseExprAtom()}parseImportSpecifierLocal(g,P,J){P.local=this.parseIdentifier(),g.specifiers.push(this.finishImportSpecifier(P,J))}finishImportSpecifier(g,P,J=8201){return this.checkLVal(g.local,{type:P},J),this.finishNode(g,P)}parseImportAttributes(){this.expect(5);let g=[],P=new Set;do{if(this.match(8))break;let J=this.startNode(),ne=this.state.value;if(P.has(ne)&&this.raise(v.ModuleAttributesWithDuplicateKeys,this.state.startLoc,{key:ne}),P.add(ne),this.match(134)?J.key=this.parseStringLiteral(ne):J.key=this.parseIdentifier(!0),this.expect(14),!this.match(134))throw this.raise(v.ModuleAttributeInvalidValue,this.state.startLoc);J.value=this.parseStringLiteral(this.state.value),g.push(this.finishNode(J,"ImportAttribute"))}while(this.eat(12));return this.expect(8),g}parseModuleAttributes(){let g=[],P=new Set;do{let J=this.startNode();if(J.key=this.parseIdentifier(!0),J.key.name!=="type"&&this.raise(v.ModuleAttributeDifferentFromType,J.key),P.has(J.key.name)&&this.raise(v.ModuleAttributesWithDuplicateKeys,J.key,{key:J.key.name}),P.add(J.key.name),this.expect(14),!this.match(134))throw this.raise(v.ModuleAttributeInvalidValue,this.state.startLoc);J.value=this.parseStringLiteral(this.state.value),g.push(this.finishNode(J,"ImportAttribute"))}while(this.eat(12));return g}maybeParseImportAttributes(g){let P;var J=!1;if(this.match(76)){if(this.hasPrecedingLineBreak()&&this.lookaheadCharCode()===40)return;this.next(),this.hasPlugin("moduleAttributes")?(P=this.parseModuleAttributes(),this.addExtra(g,"deprecatedWithLegacySyntax",!0)):P=this.parseImportAttributes(),J=!0}else this.isContextual(94)&&!this.hasPrecedingLineBreak()?(this.hasPlugin("deprecatedImportAssert")||this.hasPlugin("importAssertions")||this.raise(v.ImportAttributesUseAssert,this.state.startLoc),this.hasPlugin("importAssertions")||this.addExtra(g,"deprecatedAssertSyntax",!0),this.next(),P=this.parseImportAttributes()):P=[];!J&&this.hasPlugin("importAssertions")?g.assertions=P:g.attributes=P}maybeParseDefaultImportSpecifier(g,P){if(P){let J=this.startNodeAtNode(P);return J.local=P,g.specifiers.push(this.finishImportSpecifier(J,"ImportDefaultSpecifier")),!0}return!!oe(this.state.type)&&(this.parseImportSpecifierLocal(g,this.startNode(),"ImportDefaultSpecifier"),!0)}maybeParseStarImportSpecifier(g){if(this.match(55)){let P=this.startNode();return this.next(),this.expectContextual(93),this.parseImportSpecifierLocal(g,P,"ImportNamespaceSpecifier"),!0}return!1}parseNamedImportSpecifiers(g){let P=!0;for(this.expect(5);!this.eat(8);){if(P)P=!1;else{if(this.eat(14))throw this.raise(v.DestructureNamedImport,this.state.startLoc);if(this.expect(12),this.eat(8))break}let J=this.startNode(),ne=this.match(134),Fe=this.isContextual(130);J.imported=this.parseModuleExportName();let Xe=this.parseImportSpecifier(J,ne,g.importKind==="type"||g.importKind==="typeof",Fe,void 0);g.specifiers.push(Xe)}}parseImportSpecifier(g,P,J,ne,Fe){if(this.eatContextual(93))g.local=this.parseIdentifier();else{let{imported:Xe}=g;if(P)throw this.raise(v.ImportBindingIsString,g,{importName:Xe.value});this.checkReservedWord(Xe.name,g.loc.start,!0,!0),g.local||(g.local=this.cloneIdentifier(Xe))}return this.finishImportSpecifier(g,"ImportSpecifier",Fe)}isThisParam(g){return g.type==="Identifier"&&g.name==="this"}},Br=class extends Zt{constructor(g,P,J){super(g=S(g),P),this.options=g,this.initializeScopes(),this.plugins=J,this.filename=g.sourceFilename,this.startIndex=g.startIndex;let ne=0;g.allowAwaitOutsideFunction&&(ne|=1),g.allowReturnOutsideFunction&&(ne|=2),g.allowImportExportEverywhere&&(ne|=8),g.allowSuperOutsideMethod&&(ne|=16),g.allowUndeclaredExports&&(ne|=64),g.allowNewTargetOutsideFunction&&(ne|=4),g.allowYieldOutsideFunction&&(ne|=32),g.ranges&&(ne|=128),g.tokens&&(ne|=256),g.createImportExpressions&&(ne|=512),g.createParenthesizedExpressions&&(ne|=1024),g.errorRecovery&&(ne|=2048),g.attachComment&&(ne|=4096),g.annexB&&(ne|=8192),this.optionFlags=ne}getScopeHandler(){return $e}parse(){this.enterInitialScopes();let g=this.startNode(),P=this.startNode();return this.nextToken(),g.errors=null,this.parseTopLevel(g,P),g.errors=this.state.errors,g.comments.length=this.state.commentsLen,g}};function Er(Ue,g){var P;if(((P=g)==null?void 0:P.sourceType)!=="unambiguous")return Un(g,Ue).parse();g=Object.assign({},g);try{g.sourceType="module";let J=Un(g,Ue),ne=J.parse();if(J.sawUnambiguousESM)return ne;if(J.ambiguousScriptDifferentAst)try{return g.sourceType="script",Un(g,Ue).parse()}catch{}else ne.program.sourceType="script";return ne}catch(J){try{return g.sourceType="script",Un(g,Ue).parse()}catch{}throw J}}function rn(Ue,g){let P=Un(g,Ue);return P.options.strictMode&&(P.state.strict=!0),P.getExpression()}let Wn=(function(Ue){let g={};for(let P of Object.keys(Ue))g[P]=G[Ue[P]];return g})(Q);function Un(Ue,g){let P=Br,J=new Map;if(Ue!=null&&Ue.plugins){for(let ne of Ue.plugins){let Fe,Xe;typeof ne=="string"?Fe=ne:[Fe,Xe]=ne,J.has(Fe)||J.set(Fe,Xe||{})}I(J),P=hi(J)}return new P(Ue,g,J)}let Fn=new Map;function hi(Ue){let g=[];for(let ne of re)Ue.has(ne)&&g.push(ne);let P=g.join("|"),J=Fn.get(P);if(!J){for(let ne of(J=Br,g))J=H[ne](J);Fn.set(P,J)}return J}e.parse=Er,e.parseExpression=rn,e.tokTypes=Wn},"./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.28.0_@babel+core@7.28.4/node_modules/@babel/plugin-proposal-decorators/lib/index.js":function(u,e,l){"use strict";e.default=void 0;var n=l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js"),c=l("./node_modules/.pnpm/@babel+plugin-syntax-decorators@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-syntax-decorators/lib/index.js"),p=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-create-class-features-plugin/lib/index.js"),i=l("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.28.0_@babel+core@7.28.4/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js");e.default=(0,n.declare)((o,h)=>{o.assertVersion(7);var{legacy:d}=h;let{version:f}=h;if(d||f==="legacy")return{name:"proposal-decorators",inherits:c.default,visitor:i.default};if(!f||f==="2018-09"||f==="2021-12"||f==="2022-03"||f==="2023-01"||f==="2023-05"||f==="2023-11")return o.assertVersion("^7.0.2"),(0,p.createClassFeaturePlugin)({name:"proposal-decorators",api:o,feature:p.FEATURES.decorators,inherits:c.default,decoratorVersion:f});throw Error("The '.version' option must be one of 'legacy', '2023-11', '2023-05', '2023-01', '2022-03', or '2021-12'.")})},"./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.28.0_@babel+core@7.28.4/node_modules/@babel/plugin-proposal-decorators/lib/transformer-legacy.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js");let c=n.template.statement(`
|
|
DECORATOR(CLASS_REF = INNER) || CLASS_REF;
|
|
`),p=(0,n.template)(`
|
|
CLASS_REF.prototype;
|
|
`),i=(0,n.template)(`
|
|
Object.getOwnPropertyDescriptor(TARGET, PROPERTY);
|
|
`),o=(0,n.template)(`
|
|
(TEMP = Object.getOwnPropertyDescriptor(TARGET, PROPERTY), (TEMP = TEMP ? TEMP.value : undefined), {
|
|
enumerable: true,
|
|
configurable: true,
|
|
writable: true,
|
|
initializer: function(){
|
|
return TEMP;
|
|
}
|
|
})
|
|
`),h=new WeakSet;function d(S){let _=(S.isClass()?[S,...S.get("body.body")]:S.get("properties")).reduce((A,L)=>A.concat(L.node.decorators||[]),[]).filter(A=>!n.types.isIdentifier(A.expression));if(_.length!==0)return n.types.sequenceExpression(_.map(A=>{let L=A.expression,j=A.expression=S.scope.generateDeclaredUidIdentifier("dec");return n.types.assignmentExpression("=",j,L)}).concat([S.node]))}function f(S){if(!b(S.node))return;let _=S.node.decorators||[];S.node.decorators=null;let A=S.scope.generateDeclaredUidIdentifier("class");return _.map(L=>L.expression).reverse().reduce(function(L,j){return c({CLASS_REF:n.types.cloneNode(A),DECORATOR:n.types.cloneNode(j),INNER:L}).expression},S.node)}function b(S){var _;return!!((_=S.decorators)!=null&&_.length)}function m(S,_){if(y(S.node.body.body))return v(S,_,S.node.body.body)}function y(S){return S.some(_=>{var A;return(A=_.decorators)==null?void 0:A.length})}function x(S,_){if(y(S.node.properties))return v(S,_,S.node.properties.filter(A=>A.type!=="SpreadElement"))}function v(S,_,A){let L=S.scope.generateDeclaredUidIdentifier(S.isClass()?"class":"obj"),j=A.reduce(function(F,k){let U=[];if(k.decorators!=null&&(U=k.decorators,k.decorators=null),U.length===0)return F;if(k.computed)throw S.buildCodeFrameError("Computed method/property decorators are not yet supported.");let z=n.types.isLiteral(k.key)?k.key:n.types.stringLiteral(k.key.name),C=S.isClass()&&!k.static?p({CLASS_REF:L}).expression:L;if(n.types.isClassProperty(k,{static:!1})){let R=S.scope.generateDeclaredUidIdentifier("descriptor"),G=k.value?n.types.functionExpression(null,[],n.types.blockStatement([n.types.returnStatement(k.value)])):n.types.nullLiteral();k.value=n.types.callExpression(_.addHelper("initializerWarningHelper"),[R,n.types.thisExpression()]),h.add(k.value),F.push(n.types.assignmentExpression("=",n.types.cloneNode(R),n.types.callExpression(_.addHelper("applyDecoratedDescriptor"),[n.types.cloneNode(C),n.types.cloneNode(z),n.types.arrayExpression(U.map(V=>n.types.cloneNode(V.expression))),n.types.objectExpression([n.types.objectProperty(n.types.identifier("configurable"),n.types.booleanLiteral(!0)),n.types.objectProperty(n.types.identifier("enumerable"),n.types.booleanLiteral(!0)),n.types.objectProperty(n.types.identifier("writable"),n.types.booleanLiteral(!0)),n.types.objectProperty(n.types.identifier("initializer"),G)])])))}else F.push(n.types.callExpression(_.addHelper("applyDecoratedDescriptor"),[n.types.cloneNode(C),n.types.cloneNode(z),n.types.arrayExpression(U.map(R=>n.types.cloneNode(R.expression))),n.types.isObjectProperty(k)||n.types.isClassProperty(k,{static:!0})?o({TEMP:S.scope.generateDeclaredUidIdentifier("init"),TARGET:n.types.cloneNode(C),PROPERTY:n.types.cloneNode(z)}).expression:i({TARGET:n.types.cloneNode(C),PROPERTY:n.types.cloneNode(z)}).expression,n.types.cloneNode(C)]));return F},[]);return n.types.sequenceExpression([n.types.assignmentExpression("=",n.types.cloneNode(L),S.node),n.types.sequenceExpression(j),n.types.cloneNode(L)])}function E({node:S,scope:_}){if(!b(S)&&!y(S.body.body))return;let A=S.id?n.types.cloneNode(S.id):_.generateUidIdentifier("class");return n.types.variableDeclaration("let",[n.types.variableDeclarator(A,n.types.toExpression(S))])}e.default={ExportDefaultDeclaration(S){let _=S.get("declaration");if(!_.isClassDeclaration())return;let A=E(_);if(A){let[L]=S.replaceWithMultiple([A,n.types.exportNamedDeclaration(null,[n.types.exportSpecifier(n.types.cloneNode(A.declarations[0].id),n.types.identifier("default"))])]);_.node.id||S.scope.registerDeclaration(L)}},ClassDeclaration(S){let _=E(S);if(_){let[A]=S.replaceWith(_),L=A.get("declarations.0"),j=L.node.id,F=S.scope.getOwnBinding(j.name);F.identifier=j,F.path=L}},ClassExpression(S,_){let A=d(S)||f(S)||m(S,_);A&&S.replaceWith(A)},ObjectExpression(S,_){let A=d(S)||x(S,_);A&&S.replaceWith(A)},AssignmentExpression(S,_){h.has(S.node.right)&&S.replaceWith(n.types.callExpression(_.addHelper("initializerDefineProperty"),[n.types.cloneNode(S.get("left.object").node),n.types.stringLiteral(S.get("left.property").node.name||S.get("left.property").node.value),n.types.cloneNode(S.get("right.arguments")[0].node),n.types.cloneNode(S.get("right.arguments")[1].node)]))},CallExpression(S,_){S.node.arguments.length===3&&h.has(S.node.arguments[2])&&S.node.callee.name===_.addHelper("defineProperty").name&&S.replaceWith(n.types.callExpression(_.addHelper("initializerDefineProperty"),[n.types.cloneNode(S.get("arguments")[0].node),n.types.cloneNode(S.get("arguments")[1].node),n.types.cloneNode(S.get("arguments.2.arguments")[0].node),n.types.cloneNode(S.get("arguments.2.arguments")[1].node)]))}}},"./node_modules/.pnpm/@babel+plugin-syntax-decorators@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-syntax-decorators/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=(0,l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)((n,c)=>{n.assertVersion("^7.0.0-0 || >8.0.0-alpha <8.0.0-beta");let{version:p}=c;{let{legacy:o}=c;if(o!==void 0){if(typeof o!="boolean")throw Error(".legacy must be a boolean.");if(p!==void 0)throw Error("You can either use the .legacy or the .version option, not both.")}if(p===void 0)p=o?"legacy":"2018-09";else if(p!=="2023-11"&&p!=="2023-05"&&p!=="2023-01"&&p!=="2022-03"&&p!=="2021-12"&&p!=="2018-09"&&p!=="legacy")throw Error("Unsupported decorators version: "+p);var{decoratorsBeforeExport:i}=c;if(i===void 0){if(p==="2021-12"||p==="2022-03")i=!1;else if(p==="2018-09")throw Error("The decorators plugin, when .version is '2018-09' or not specified, requires a 'decoratorsBeforeExport' option, whose value must be a boolean.")}else{if(p==="legacy"||p==="2022-03"||p==="2023-01")throw Error(`'decoratorsBeforeExport' can't be used with ${p} decorators.`);if(typeof i!="boolean")throw Error("'decoratorsBeforeExport' must be a boolean.")}}return{name:"syntax-decorators",manipulateOptions({generatorOpts:o},h){p==="legacy"?h.plugins.push("decorators-legacy"):p==="2023-01"||p==="2023-05"||p==="2023-11"?h.plugins.push(["decorators",{allowCallParenthesized:!1}],"decoratorAutoAccessors"):p==="2022-03"?h.plugins.push(["decorators",{decoratorsBeforeExport:!1,allowCallParenthesized:!1}],"decoratorAutoAccessors"):p==="2021-12"?(h.plugins.push(["decorators",{decoratorsBeforeExport:i}],"decoratorAutoAccessors"),o.decoratorsBeforeExport=i):p==="2018-09"&&(h.plugins.push(["decorators",{decoratorsBeforeExport:i}]),o.decoratorsBeforeExport=i)}}})},"./node_modules/.pnpm/@babel+plugin-syntax-import-assertions@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js":function(u,e,l){"use strict";e.default=void 0,e.default=(0,l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(n=>{n.assertVersion(7);let c=(i,o)=>o==="plugin"||Array.isArray(i)&&i[0]==="plugin",p=i=>Array.isArray(i)&&i.length>1?i[1]:{};return{name:"syntax-import-assertions",manipulateOptions(i,{plugins:o}){for(let h=0;h<o.length;h++){let d=o[h];if(c(d,"deprecatedImportAssert"))return;if(c(d,"importAttributes"))return void o.splice(h,1,"deprecatedImportAssert",["importAttributes",Object.assign({},p(d),{deprecatedAssertSyntax:!0})])}o.push("importAssertions")}}})},"./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-syntax-jsx/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=(0,l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js").declare)(n=>(n.assertVersion(7),{name:"syntax-jsx",manipulateOptions(c,p){p.plugins.some(i=>(Array.isArray(i)?i[0]:i)==="typescript")||p.plugins.push("jsx")}}))},"./node_modules/.pnpm/@babel+plugin-syntax-typescript@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-syntax-typescript/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js"),c=function(p,i){let o=[];for(let h of(p.forEach((d,f)=>{(Array.isArray(d)?d[0]:d)===i&&o.unshift(f)}),o))p.splice(h,1)};e.default=(0,n.declare)((p,i)=>{p.assertVersion(7);let{disallowAmbiguousJSXLike:o,dts:h}=i;var{isTSX:d}=i;return{name:"syntax-typescript",manipulateOptions(f,b){{let{plugins:m}=b;c(m,"flow"),c(m,"jsx"),m.push("objectRestSpread","classProperties"),d&&m.push("jsx")}b.plugins.push(["typescript",{disallowAmbiguousJSXLike:o,dts:h}])}}})},"./node_modules/.pnpm/@babel+plugin-transform-export-namespace-from@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-transform-export-namespace-from/lib/index.js":function(u,e,l){"use strict";e.default=void 0;var n=l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js"),c=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js");e.default=(0,n.declare)(p=>(p.assertVersion(7),{name:"transform-export-namespace-from",manipulateOptions:(i,o)=>o.plugins.push("exportNamespaceFrom"),visitor:{ExportNamedDeclaration(i){var o;let{node:h,scope:d}=i,{specifiers:f}=h,b=+!!c.types.isExportDefaultSpecifier(f[0]);if(!c.types.isExportNamespaceSpecifier(f[b]))return;let m=[];b===1&&m.push(c.types.exportNamedDeclaration(null,[f.shift()],h.source));let{exported:y}=f.shift(),x=d.generateUidIdentifier((o=y.name)!=null?o:y.value);m.push(c.types.importDeclaration([c.types.importNamespaceSpecifier(x)],c.types.cloneNode(h.source)),c.types.exportNamedDeclaration(null,[c.types.exportSpecifier(c.types.cloneNode(x),y)])),h.specifiers.length>=1&&m.push(h);let[v]=i.replaceWithMultiple(m);i.scope.registerDeclaration(v)}}}))},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-transform-modules-commonjs/lib/dynamic-import.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.transformDynamicImport=o;var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js"),c=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/index.js");let p=h=>n.template.expression.ast`require(${h})`,i=(h,d)=>n.types.callExpression(d.addHelper("interopRequireWildcard"),[p(h)]);function o(h,d,f){let b=d?p:i;h.replaceWith((0,c.buildDynamicImport)(h.node,!0,!1,m=>b(m,f)))}},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-transform-modules-commonjs/lib/hooks.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defineCommonJSHook=n,e.makeInvokers=p;let l="@babel/plugin-transform-modules-commonjs/customWrapperPlugin";function n(i,o){let h=i.get(l);h||i.set(l,h=[]),h.push(o)}function c(i,o){if(i)for(let h of i){let d=o(h);if(d!=null)return d}}function p(i){let o=i.get(l);return{getWrapperPayload:(...h)=>c(o,d=>d.getWrapperPayload==null?void 0:d.getWrapperPayload(...h)),wrapReference:(...h)=>c(o,d=>d.wrapReference==null?void 0:d.wrapReference(...h)),buildRequireWrapper:(...h)=>c(o,d=>d.buildRequireWrapper==null?void 0:d.buildRequireWrapper(...h))}}},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,Object.defineProperty(e,"defineCommonJSHook",{enumerable:!0,get:function(){return h.defineCommonJSHook}});var n=l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js"),c=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/index.js"),p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js"),i=l("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-transform-modules-commonjs/lib/dynamic-import.js"),o=l("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-transform-modules-commonjs/lib/lazy.js"),h=l("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-transform-modules-commonjs/lib/hooks.js");e.default=(0,n.declare)((d,f)=>{var b,m,y;d.assertVersion(7);let{strictNamespace:x=!1,mjsStrictNamespace:v=x,allowTopLevelThis:E,strict:S,strictMode:_,noInterop:A,importInterop:L,lazy:j=!1,allowCommonJSExports:F=!0,loose:k=!1}=f,U=(b=d.assumption("constantReexports"))!=null?b:k,z=(m=d.assumption("enumerableModuleMeta"))!=null?m:k,C=(y=d.assumption("noIncompleteNsImportDetection"))!=null&&y;if(typeof j!="boolean"&&typeof j!="function"&&(!Array.isArray(j)||!j.every(V=>typeof V=="string")))throw Error(".lazy must be a boolean, array of strings, or a function");if(typeof x!="boolean")throw Error(".strictNamespace must be a boolean, or undefined");if(typeof v!="boolean")throw Error(".mjsStrictNamespace must be a boolean, or undefined");let R=V=>p.template.expression.ast`
|
|
(function(){
|
|
throw new Error(
|
|
"The CommonJS '" + "${V}" + "' variable is not available in ES6 modules." +
|
|
"Consider setting setting sourceType:script or sourceType:unambiguous in your " +
|
|
"Babel config for this file.");
|
|
})()
|
|
`,G={ReferencedIdentifier(V){let B=V.node.name;if(B!=="module"&&B!=="exports")return;let q=V.scope.getBinding(B);this.scope.getBinding(B)!==q||V.parentPath.isObjectProperty({value:V.node})&&V.parentPath.parentPath.isObjectPattern()||V.parentPath.isAssignmentExpression({left:V.node})||V.isAssignmentExpression({left:V.node})||V.replaceWith(R(B))},UpdateExpression(V){let B=V.get("argument");if(!B.isIdentifier())return;let q=B.node.name;if(q!=="module"&&q!=="exports")return;let K=V.scope.getBinding(q);this.scope.getBinding(q)===K&&V.replaceWith(p.types.assignmentExpression(V.node.operator[0]+"=",B.node,R(q)))},AssignmentExpression(V){let B=V.get("left");if(B.isIdentifier()){let q=B.node.name;if(q!=="module"&&q!=="exports")return;let K=V.scope.getBinding(q);if(this.scope.getBinding(q)!==K)return;let $=V.get("right");$.replaceWith(p.types.sequenceExpression([$.node,R(q)]))}else if(B.isPattern()){let q=Object.keys(B.getOuterBindingIdentifiers()).find(K=>(K==="module"||K==="exports")&&this.scope.getBinding(K)===V.scope.getBinding(K));if(q){let K=V.get("right");K.replaceWith(p.types.sequenceExpression([K.node,R(q)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs"),j&&(0,h.defineCommonJSHook)(this.file,(0,o.lazyImportsHook)(j))},visitor:{["CallExpression"+(d.types.importExpression?"|ImportExpression":"")](V){if(!this.file.has("@babel/plugin-proposal-dynamic-import")||V.isCallExpression()&&!p.types.isImport(V.node.callee))return;let{scope:B}=V;do B.rename("require");while(B=B.parent);(0,i.transformDynamicImport)(V,A,this.file)},Program:{exit(V,B){if(!(0,c.isModule)(V))return;V.scope.rename("exports"),V.scope.rename("module"),V.scope.rename("require"),V.scope.rename("__filename"),V.scope.rename("__dirname"),F||V.traverse(G,{scope:V.scope});let q=(0,c.getModuleName)(this.file.opts,f);q&&(q=p.types.stringLiteral(q));let K=(0,h.makeInvokers)(this.file),{meta:$,headers:W}=(0,c.rewriteModuleStatementsAndPrepareHeader)(V,{exportName:"exports",constantReexports:U,enumerableModuleMeta:z,strict:S,strictMode:_,allowTopLevelThis:E,noInterop:A,importInterop:L,wrapReference:K.wrapReference,getWrapperPayload:K.getWrapperPayload,esNamespaceOnly:typeof B.filename=="string"&&/\.mjs$/.test(B.filename)?v:x,noIncompleteNsImportDetection:C,filename:this.file.opts.filename});for(let[Z,Q]of $.source){let X,ie=p.types.callExpression(p.types.identifier("require"),[p.types.stringLiteral(Z)]);if((0,c.isSideEffectImport)(Q)){if(j&&Q.wrap==="function")throw Error("Assertion failure");X=p.types.expressionStatement(ie)}else{let oe=(0,c.wrapInterop)(V,ie,Q.interop)||ie;if(Q.wrap){let be=K.buildRequireWrapper(Q.name,oe,Q.wrap,Q.referenced);if(be===!1)continue;X=be}X!=null||(X=p.template.statement.ast`
|
|
var ${Q.name} = ${oe};
|
|
`)}X.loc=Q.loc,W.push(X),W.push(...(0,c.buildNamespaceInitStatements)($,Q,U,K.wrapReference))}(0,c.ensureStatementsHoisted)(W),V.unshiftContainer("body",W),V.get("body").forEach(Z=>{W.includes(Z.node)&&Z.isVariableDeclaration()&&Z.scope.registerDeclaration(Z)})}}}}})},"./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-transform-modules-commonjs/lib/lazy.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.lazyImportsHook=void 0;var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js"),c=l("./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/index.js");e.lazyImportsHook=p=>({name:"@babel/plugin-transform-modules-commonjs/lazy",version:"7.27.1",getWrapperPayload:(i,o)=>(0,c.isSideEffectImport)(o)||o.reexportAll?null:p===!0?i.includes(".")?null:"lazy/function":Array.isArray(p)?p.includes(i)?"lazy/function":null:typeof p=="function"?p(i)?"lazy/function":null:void 0,buildRequireWrapper(i,o,h,d){if(h==="lazy/function")return!!d&&n.template.statement.ast`
|
|
function ${i}() {
|
|
const data = ${o};
|
|
${i} = function(){ return data; };
|
|
return data;
|
|
}
|
|
`},wrapReference(i,o){if(o==="lazy/function")return n.types.callExpression(i,[])}})},"./node_modules/.pnpm/@babel+plugin-transform-react-jsx@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-transform-react-jsx/lib/create-plugin.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=S;var n=l("./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-syntax-jsx/lib/index.js"),c=l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js"),p=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js"),i=l("./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/index.js"),o=l("./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.27.3/node_modules/@babel/helper-annotate-as-pure/lib/index.js");let h="react",d="React.createElement",f=/^\s*(?:\*\s*)?@jsxImportSource\s+(\S+)\s*$/m,b=/^\s*(?:\*\s*)?@jsxRuntime\s+(\S+)\s*$/m,m=/^\s*(?:\*\s*)?@jsx\s+(\S+)\s*$/m,y=/^\s*(?:\*\s*)?@jsxFrag\s+(\S+)\s*$/m,x=(F,k)=>F.get(`@babel/plugin-react-jsx/${k}`),v=(F,k,U)=>F.set(`@babel/plugin-react-jsx/${k}`,U);function E(F){return F.properties.some(k=>p.types.isObjectProperty(k,{computed:!1,shorthand:!1})&&(p.types.isIdentifier(k.key,{name:"__proto__"})||p.types.isStringLiteral(k.key,{value:"__proto__"})))}function S({name:F,development:k}){return(0,c.declare)((C,R)=>{let{pure:G,throwIfNamespace:V=!0,filter:B,runtime:q=k?"automatic":"classic",importSource:K=h,pragma:$=d,pragmaFrag:W="React.Fragment"}=R;var{useSpread:Z=!1,useBuiltIns:Q=!1}=R;if(q==="classic"){if(typeof Z!="boolean")throw Error("transform-react-jsx currently only accepts a boolean option for useSpread (defaults to false)");if(typeof Q!="boolean")throw Error("transform-react-jsx currently only accepts a boolean option for useBuiltIns (defaults to false)");if(Z&&Q)throw Error("transform-react-jsx currently only accepts useBuiltIns or useSpread but not both")}let X={JSXOpeningElement(se,pe){let nt=[];oe(se.scope)&&nt.push(p.types.jsxAttribute(p.types.jsxIdentifier("__self"),p.types.jsxExpressionContainer(p.types.thisExpression()))),nt.push(p.types.jsxAttribute(p.types.jsxIdentifier("__source"),p.types.jsxExpressionContainer(A(se,pe)))),se.pushContainer("attributes",nt)}};return{name:F,inherits:n.default,visitor:{JSXNamespacedName(se){if(V)throw se.buildCodeFrameError("Namespace tags are not supported by default. React's JSX doesn't support namespace tags. You can set `throwIfNamespace: false` to bypass this warning.")},JSXSpreadChild(se){throw se.buildCodeFrameError("Spread children are not supported in React.")},Program:{enter(se,pe){let{file:nt}=pe,ft=q,_t=K,Pt=$,ht=W,De=!!R.importSource,ze=!!R.pragma,Ze=!!R.pragmaFrag;if(nt.ast.comments)for(let tt of nt.ast.comments){let ge=f.exec(tt.value);ge&&(_t=ge[1],De=!0);let fe=b.exec(tt.value);fe&&(ft=fe[1]);let ee=m.exec(tt.value);ee&&(Pt=ee[1],ze=!0);let le=y.exec(tt.value);le&&(ht=le[1],Ze=!0)}if(v(pe,"runtime",ft),ft==="classic"){if(De)throw se.buildCodeFrameError("importSource cannot be set when runtime is classic.");let tt=_(Pt),ge=_(ht);v(pe,"id/createElement",()=>p.types.cloneNode(tt)),v(pe,"id/fragment",()=>p.types.cloneNode(ge)),v(pe,"defaultPure",Pt===d)}else if(ft==="automatic"){if(ze||Ze)throw se.buildCodeFrameError("pragma and pragmaFrag cannot be set when runtime is automatic.");let tt=(ge,fe)=>v(pe,ge,z(pe,se,fe,_t));tt("id/jsx",k?"jsxDEV":"jsx"),tt("id/jsxs",k?"jsxDEV":"jsxs"),tt("id/createElement","createElement"),tt("id/fragment","Fragment"),v(pe,"defaultPure",_t===h)}else throw se.buildCodeFrameError('Runtime must be either "classic" or "automatic".');k&&se.traverse(X,pe)}},JSXFragment:{exit(se,pe){let nt;nt=x(pe,"runtime")==="classic"?ve(se,pe):ye(se,pe),se.replaceWith(p.types.inherits(nt,se.node))}},JSXElement:{exit(se,pe){let nt;nt=x(pe,"runtime")==="classic"||Ne(se)?he(se,pe):de(se,pe),se.replaceWith(p.types.inherits(nt,se.node))}},JSXAttribute(se){p.types.isJSXElement(se.node.value)&&(se.node.value=p.types.jsxExpressionContainer(se.node.value))}}};function ie(se){return se.node.superClass!==null}function oe(se){do{let{path:pe}=se;if(pe.isFunctionParent()&&!pe.isArrowFunctionExpression())return!pe.isMethod()||pe.node.kind!=="constructor"?!0:!ie(pe.parentPath.parentPath);if(pe.isTSModuleBlock())return!1}while(se=se.parent);return!0}function be(se,pe,nt){let ft=p.types.callExpression(x(se,`id/${pe}`)(),nt);return(G??x(se,"defaultPure"))&&(0,o.default)(ft),ft}function Ne(se){let pe=se.get("openingElement").node.attributes,nt=!1;for(let ft=0;ft<pe.length;ft++){let _t=pe[ft];if(nt&&p.types.isJSXAttribute(_t)&&_t.name.name==="key")return!0;p.types.isJSXSpreadAttribute(_t)&&(nt=!0)}return!1}function Pe(se,pe){if(p.types.isJSXIdentifier(se)){if(se.name==="this"&&p.types.isReferenced(se,pe))return p.types.thisExpression();if(!p.types.isValidIdentifier(se.name,!1))return p.types.stringLiteral(se.name);se.type="Identifier"}else{if(p.types.isJSXMemberExpression(se))return p.types.memberExpression(Pe(se.object,se),Pe(se.property,se));if(p.types.isJSXNamespacedName(se))return p.types.stringLiteral(`${se.namespace.name}:${se.name.name}`)}return se}function Ke(se){return p.types.isJSXExpressionContainer(se)?se.expression:se}function We(se,pe){if(p.types.isJSXSpreadAttribute(pe.node)){let _t=pe.node.argument;return p.types.isObjectExpression(_t)&&!E(_t)?se.push(..._t.properties):se.push(p.types.spreadElement(_t)),se}let nt=Ke(pe.node.name.name!=="key"?pe.node.value||p.types.booleanLiteral(!0):pe.node.value);if(pe.node.name.name==="key"&&nt===null)throw pe.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.');if(p.types.isStringLiteral(nt)&&!p.types.isJSXExpressionContainer(pe.node.value)){var ft;nt.value=nt.value.replace(/\n\s+/g," "),(ft=nt.extra)==null||delete ft.raw}return p.types.isJSXNamespacedName(pe.node.name)?pe.node.name=p.types.stringLiteral(pe.node.name.namespace.name+":"+pe.node.name.name.name):p.types.isValidIdentifier(pe.node.name.name,!1)?pe.node.name.type="Identifier":pe.node.name=p.types.stringLiteral(pe.node.name.name),se.push(p.types.inherits(p.types.objectProperty(pe.node.name,nt),pe.node)),se}function Oe(se){let pe;if(se.length===1)pe=se[0];else{if(!(se.length>1))return;pe=p.types.arrayExpression(se)}return p.types.objectProperty(p.types.identifier("children"),pe)}function de(se,pe){let nt,ft=se.get("openingElement"),_t=[Te(ft)],Pt=[],ht=Object.create(null);for(let Ze of ft.get("attributes"))if(Ze.isJSXAttribute()&&p.types.isJSXIdentifier(Ze.node.name)){let{name:tt}=Ze.node.name;switch(tt){case"__source":case"__self":if(ht[tt])throw j(se,tt);case"key":{let ge=Ke(Ze.node.value);if(ge===null)throw Ze.buildCodeFrameError('Please provide an explicit key value. Using "key" as a shorthand for "key={true}" is not allowed.');ht[tt]=ge;break}default:Pt.push(Ze)}}else Pt.push(Ze);let De=p.types.react.buildChildren(se.node);if(nt=Pt.length||De.length?xe(Pt,De):p.types.objectExpression([]),_t.push(nt),k){var ze;_t.push((ze=ht.key)!=null?ze:se.scope.buildUndefinedNode(),p.types.booleanLiteral(De.length>1)),ht.__source?(_t.push(ht.__source),ht.__self&&_t.push(ht.__self)):ht.__self&&_t.push(se.scope.buildUndefinedNode(),ht.__self)}else ht.key!==void 0&&_t.push(ht.key);return be(pe,De.length>1?"jsxs":"jsx",_t)}function xe(se,pe){let nt=se.reduce(We,[]);return(pe==null?void 0:pe.length)>0&&nt.push(Oe(pe)),p.types.objectExpression(nt)}function ye(se,pe){let nt=[x(pe,"id/fragment")()],ft=p.types.react.buildChildren(se.node);return nt.push(p.types.objectExpression(ft.length>0?[Oe(ft)]:[])),k&&nt.push(se.scope.buildUndefinedNode(),p.types.booleanLiteral(ft.length>1)),be(pe,ft.length>1?"jsxs":"jsx",nt)}function ve(se,pe){if(!B||B(se.node,pe))return be(pe,"createElement",[x(pe,"id/fragment")(),p.types.nullLiteral(),...p.types.react.buildChildren(se.node)])}function he(se,pe){let nt=se.get("openingElement");return be(pe,"createElement",[Te(nt),Ce(pe,se,nt.get("attributes")),...p.types.react.buildChildren(se.node)])}function Te(se){let pe,nt=Pe(se.node.name,se.node);return p.types.isIdentifier(nt)?pe=nt.name:p.types.isStringLiteral(nt)&&(pe=nt.value),p.types.react.isCompatTag(pe)?p.types.stringLiteral(pe):nt}function Ce(se,pe,nt){let ft=x(se,"runtime");if(ft!=="automatic"){let ht=[],De=nt.reduce(We,[]);if(Z)De.length&&ht.push(p.types.objectExpression(De));else{let Ze=0;De.forEach((tt,ge)=>{p.types.isSpreadElement(tt)&&(ge>Ze&&ht.push(p.types.objectExpression(De.slice(Ze,ge))),ht.push(tt.argument),Ze=ge+1)}),De.length>Ze&&ht.push(p.types.objectExpression(De.slice(Ze)))}if(!ht.length)return p.types.nullLiteral();if(ht.length===1&&!(p.types.isSpreadElement(De[0])&&p.types.isObjectExpression(De[0].argument)))return ht[0];p.types.isObjectExpression(ht[0])||ht.unshift(p.types.objectExpression([]));let ze=Q?p.types.memberExpression(p.types.identifier("Object"),p.types.identifier("assign")):se.addHelper("extends");return p.types.callExpression(ze,ht)}let _t=[],Pt=Object.create(null);for(let ht of nt){let{node:De}=ht,ze=p.types.isJSXAttribute(De)&&p.types.isJSXIdentifier(De.name)&&De.name.name;if(ft==="automatic"&&(ze==="__source"||ze==="__self")){if(Pt[ze])throw j(pe,ze);Pt[ze]=!0}We(_t,ht)}return _t.length===1&&p.types.isSpreadElement(_t[0])&&!p.types.isObjectExpression(_t[0].argument)?_t[0].argument:_t.length>0?p.types.objectExpression(_t):p.types.nullLiteral()}});function U(C,R){switch(R){case"Fragment":return`${C}/${k?"jsx-dev-runtime":"jsx-runtime"}`;case"jsxDEV":return`${C}/jsx-dev-runtime`;case"jsx":case"jsxs":return`${C}/jsx-runtime`;case"createElement":return C}}function z(C,R,G,V){return()=>{let B=U(V,G);if((0,i.isModule)(R)){let q=x(C,`imports/${G}`);return q?p.types.cloneNode(q):(q=(0,i.addNamed)(R,G,B,{importedInterop:"uncompiled",importPosition:"after"}),v(C,`imports/${G}`,q),q)}{let q=x(C,`requires/${B}`);return q?q=p.types.cloneNode(q):(q=(0,i.addNamespace)(R,B,{importedInterop:"uncompiled"}),v(C,`requires/${B}`,q)),p.types.memberExpression(q,p.types.identifier(G))}}}}function _(F){return F.split(".").map(k=>p.types.identifier(k)).reduce((k,U)=>p.types.memberExpression(k,U))}function A(F,k){let U=F.node.loc;if(!U)return F.scope.buildUndefinedNode();if(!k.fileNameIdentifier){let{filename:z=""}=k,C=F.scope.generateUidIdentifier("_jsxFileName");F.scope.getProgramParent().push({id:C,init:p.types.stringLiteral(z)}),k.fileNameIdentifier=C}return L(p.types.cloneNode(k.fileNameIdentifier),U.start.line,U.start.column)}function L(F,k,U){let z=k!=null?p.types.numericLiteral(k):p.types.nullLiteral(),C=U!=null?p.types.numericLiteral(U+1):p.types.nullLiteral();return p.template.expression.ast`{
|
|
fileName: ${F},
|
|
lineNumber: ${z},
|
|
columnNumber: ${C},
|
|
}`}function j(F,k){let U=`transform-react-jsx-${k.slice(2)}`;return F.buildCodeFrameError(`Duplicate ${k} prop found. You are most likely using the deprecated ${U} Babel plugin. Both __source and __self are automatically set when using the automatic runtime. Please remove transform-react-jsx-source and transform-react-jsx-self from your Babel config.`)}},"./node_modules/.pnpm/@babel+plugin-transform-react-jsx@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-transform-react-jsx/lib/index.js":function(u,e,l){"use strict";e.default=void 0,e.default=(0,l("./node_modules/.pnpm/@babel+plugin-transform-react-jsx@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-transform-react-jsx/lib/create-plugin.js").default)({name:"transform-react-jsx",development:!1})},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.4/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EXPORTED_CONST_ENUMS_IN_NAMESPACE=void 0,e.default=p;var n=l("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.4/node_modules/@babel/plugin-transform-typescript/lib/enum.js");let c=e.EXPORTED_CONST_ENUMS_IN_NAMESPACE=new WeakSet;function p(i,o){let{name:h}=i.node.id,d=i.parentPath.isExportNamedDeclaration(),f=d;!f&&o.isProgram(i.parent)&&(f=i.parent.body.some(y=>o.isExportNamedDeclaration(y)&&y.exportKind!=="type"&&!y.source&&y.specifiers.some(x=>o.isExportSpecifier(x)&&x.exportKind!=="type"&&x.local.name===h)));let{enumValues:b}=(0,n.translateEnumValues)(i,o);if(f||c.has(i.node)){let y=o.objectExpression(b.map(([x,v])=>o.objectProperty(o.isValidIdentifier(x)?o.identifier(x):o.stringLiteral(x),v)));i.scope.hasOwnBinding(h)?(d?i.parentPath:i).replaceWith(o.expressionStatement(o.callExpression(o.memberExpression(o.identifier("Object"),o.identifier("assign")),[i.node.id,y]))):(i.replaceWith(o.variableDeclaration("var",[o.variableDeclarator(i.node.id,y)])),i.scope.registerDeclaration(i));return}let m=new Map(b);i.scope.path.traverse({Scope(y){y.scope.hasOwnBinding(h)&&y.skip()},MemberExpression(y){let x;if(o.isIdentifier(y.node.object,{name:h})){if(y.node.computed)if(o.isStringLiteral(y.node.property))x=y.node.property.value;else return;else{if(!o.isIdentifier(y.node.property))return;x=y.node.property.name}m.has(x)&&y.replaceWith(o.cloneNode(m.get(x)))}}}),i.remove()}},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.4/node_modules/@babel/plugin-transform-typescript/lib/enum.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=d,e.isSyntacticallyString=x,e.translateEnumValues=S;var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js"),c=l("assert"),p=l("./node_modules/.pnpm/@babel+helper-annotate-as-pure@7.27.3/node_modules/@babel/helper-annotate-as-pure/lib/index.js"),i=l("./node_modules/.pnpm/@babel+helper-skip-transparent-expression-wrappers@7.27.1/node_modules/@babel/helper-skip-transparent-expression-wrappers/lib/index.js");let o=new WeakMap,h=n.template.expression(`
|
|
(function (ID) {
|
|
ASSIGNMENTS;
|
|
return ID;
|
|
})(INIT)
|
|
`);function d(A,L){let{node:j,parentPath:F}=A;if(j.declare)return void A.remove();let k=j.id.name,{fill:U,data:z,isPure:C}=y(A,L,j.id);switch(F.type){case"BlockStatement":case"ExportNamedDeclaration":case"Program":{let G=L.isProgram(A.parent),V=R(F),B=L.objectExpression([]);(V||G)&&(B=L.logicalExpression("||",L.cloneNode(U.ID),B));let q=h(Object.assign({},U,{INIT:B}));C&&(0,p.default)(q),V?(F.isExportDeclaration()?F:A).replaceWith(L.expressionStatement(L.assignmentExpression("=",L.cloneNode(j.id),q))):A.scope.registerDeclaration(A.replaceWith(L.variableDeclaration(G?"var":"let",[L.variableDeclarator(j.id,q)]))[0]),o.set(A.scope.getBindingIdentifier(k),z);break}default:throw Error(`Unexpected enum parent '${A.parent.type}`)}function R(G){return G.isExportDeclaration()?R(G.parentPath):!!G.getData(k)||(G.setData(k,!0),!1)}}let f=n.template.statement(`
|
|
ENUM["NAME"] = VALUE;
|
|
`),b=n.template.statement(`
|
|
ENUM[ENUM["NAME"] = VALUE] = "NAME";
|
|
`),m=(A,L)=>(A?f:b)(L);function y(A,L,j){let{enumValues:F,data:k,isPure:U}=S(A,L),z=A.get("members"),C=[];for(let R=0;R<z.length;R++){let[G,V]=F[R];C.push(L.inheritsComments(m(x(V),{ENUM:L.cloneNode(j),NAME:G,VALUE:V}),z[R].node))}return{fill:{ID:L.cloneNode(j),ASSIGNMENTS:C},data:k,isPure:U}}function x(A){switch((A=(0,i.skipTransparentExprWrapperNodes)(A)).type){case"BinaryExpression":{let L=A.left,j=A.right;return A.operator==="+"&&(x(L)||x(j))}case"TemplateLiteral":case"StringLiteral":return!0}return!1}function v(A,L){let{seen:j,path:F,t:k}=L,U=A.node.name;if(j.has(U)){for(let z=A.scope;z!==F.scope;z=z.parent)if(z.hasOwnBinding(U))return;A.replaceWith(k.memberExpression(k.cloneNode(F.node.id),k.cloneNode(A.node))),A.skip()}}let E={ReferencedIdentifier:v};function S(A,L){var j;let F,k=A.scope.getBindingIdentifier(A.node.id.name),U=(j=o.get(k))!=null?j:new Map,z=-1,C=!0,R=A.get("members").map(G=>{let V,B=G.node,q=L.isIdentifier(B.id)?B.id.name:B.id.value,K=G.get("initializer");if(B.initializer)(z=_(K,U))!==void 0?(U.set(q,z),c(typeof z=="number"||typeof z=="string"),V=z===1/0||Number.isNaN(z)?L.identifier(String(z)):z===-1/0?L.unaryExpression("-",L.identifier("Infinity")):L.valueToNode(z)):(C&&(C=K.isPure()),K.isReferencedIdentifier()?v(K,{t:L,seen:U,path:A}):K.traverse(E,{t:L,seen:U,path:A}),V=K.node,U.set(q,void 0));else if(typeof z=="number")z+=1,V=L.numericLiteral(z),U.set(q,z);else{if(typeof z=="string")throw A.buildCodeFrameError("Enum member must have initializer.");{let $=L.memberExpression(L.cloneNode(A.node.id),L.stringLiteral(F),!0);V=L.binaryExpression("+",L.numericLiteral(1),$),U.set(q,void 0)}}return F=q,[q,V]});return{isPure:C,data:U,enumValues:R}}function _(A,L,j=new Set){return F(A);function F(C){let R=C.node;switch(R.type){case"MemberExpression":case"Identifier":return k(C,L,j);case"StringLiteral":case"NumericLiteral":return R.value;case"UnaryExpression":return U(C);case"BinaryExpression":return z(C);case"ParenthesizedExpression":return F(C.get("expression"));case"TemplateLiteral":{if(R.quasis.length===1)return R.quasis[0].value.cooked;let G=C.get("expressions"),V=R.quasis,B="";for(let q=0;q<V.length;q++)if(B+=V[q].value.cooked,q+1<V.length){let K=k(G[q],L,j);if(K===void 0)return;B+=K}return B}default:return}}function k(C,R,G){if(C.isMemberExpression()){let V=C.node,B=V.object,q=V.property;if(!n.types.isIdentifier(B)||(V.computed?!n.types.isStringLiteral(q):!n.types.isIdentifier(q)))return;let K=C.scope.getBindingIdentifier(B.name),$=o.get(K);if($)return $.get(q.computed?q.value:q.name)}else if(C.isIdentifier()){let V=C.node.name;if(["Infinity","NaN"].includes(V))return Number(V);let B=R==null?void 0:R.get(V);return B!==void 0?B:R!=null&&R.has(V)||G.has(C.node)?void 0:(G.add(C.node),B=_(C.resolve(),R,G))}}function U(C){let R=F(C.get("argument"));if(R!==void 0)switch(C.node.operator){case"+":return R;case"-":return-R;case"~":return~R;default:return}}function z(C){let R=F(C.get("left"));if(R===void 0)return;let G=F(C.get("right"));if(G!==void 0)switch(C.node.operator){case"|":return R|G;case"&":return R&G;case">>":return R>>G;case">>>":return R>>>G;case"<<":return R<<G;case"^":return R^G;case"*":return R*G;case"/":return R/G;case"+":return R+G;case"-":return R-G;case"%":return R%G;case"**":return Math.pow(R,G);default:return}}}},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.4/node_modules/@babel/plugin-transform-typescript/lib/global-types.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.GLOBAL_TYPES=void 0,e.isGlobalType=n,e.registerGlobalType=c;let l=e.GLOBAL_TYPES=new WeakMap;function n({scope:p},i){return!p.hasBinding(i)&&(!!l.get(p).has(i)||(console.warn(`The exported identifier "${i}" 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
|
|
"${i}" without registering it in the scope tracker. If you are the author
|
|
of that plugin, please use "scope.registerDeclaration(declarationPath)".`),!1))}function c(p,i){l.get(p).add(i)}},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.4/node_modules/@babel/plugin-transform-typescript/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js"),c=l("./node_modules/.pnpm/@babel+plugin-syntax-typescript@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-syntax-typescript/lib/index.js"),p=l("./node_modules/.pnpm/@babel+helper-create-class-features-plugin@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-create-class-features-plugin/lib/index.js"),i=l("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.4/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js"),o=l("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.4/node_modules/@babel/plugin-transform-typescript/lib/enum.js"),h=l("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.4/node_modules/@babel/plugin-transform-typescript/lib/global-types.js"),d=l("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.4/node_modules/@babel/plugin-transform-typescript/lib/namespace.js");function f(v){switch(v.parent.type){case"TSTypeReference":case"TSExpressionWithTypeArguments":case"TSExpressionWithTypeArguments":case"TSTypeQuery":return!0;case"TSQualifiedName":return v.parentPath.findParent(E=>E.type!=="TSQualifiedName").type!=="TSImportEqualsDeclaration";case"ExportSpecifier":return v.parent.exportKind==="type"||v.parentPath.parent.exportKind==="type";default:return!1}}let b=new WeakMap,m=new WeakSet;function y(v){let E=v.getBindingIdentifiers();for(let S of Object.keys(E)){let _=v.scope.getBinding(S);_&&_.identifier===E[S]&&_.scope.removeBinding(S)}v.opts.noScope=!0,v.remove(),v.opts.noScope=!1}function x(v,E,S,_,A=""){if(E.file.get("@babel/plugin-transform-modules-*")!=="commonjs")throw v.buildCodeFrameError(`\`${S}\` is only supported when compiling modules to CommonJS.
|
|
Please consider using \`${_}\`${A}, or add @babel/plugin-transform-modules-commonjs to your Babel config.`)}e.default=(0,n.declare)((v,E)=>{let{types:S,template:_}=v;v.assertVersion(7);let A=/\*?\s*@jsx((?:Frag)?)\s+(\S+)/,{allowNamespaces:L=!0,jsxPragma:j="React.createElement",jsxPragmaFrag:F="React.Fragment",onlyRemoveTypeImports:k=!1,optimizeConstEnums:U=!1}=E;var{allowDeclareFields:z=!1}=E;let C={field(B){let{node:q}=B;if(!z&&q.declare)throw B.buildCodeFrameError("The 'declare' modifier is only allowed when the 'allowDeclareFields' option of @babel/plugin-transform-typescript or @babel/preset-typescript is enabled.");if(q.declare){if(q.value)throw B.buildCodeFrameError("Fields with the 'declare' modifier cannot be initialized here, but only in the constructor");q.decorators||B.remove()}else if(q.definite){if(q.value)throw B.buildCodeFrameError("Definitely assigned fields cannot be initialized here, but only in the constructor");z||q.decorators||S.isClassPrivateProperty(q)||B.remove()}else q.abstract?B.remove():z||q.value||q.decorators||S.isClassPrivateProperty(q)||B.remove();q.accessibility&&(q.accessibility=null),q.abstract&&(q.abstract=null),q.readonly&&(q.readonly=null),q.optional&&(q.optional=null),q.typeAnnotation&&(q.typeAnnotation=null),q.definite&&(q.definite=null),q.declare&&(q.declare=null),q.override&&(q.override=null)},method({node:B}){B.accessibility&&(B.accessibility=null),B.abstract&&(B.abstract=null),B.optional&&(B.optional=null),B.override&&(B.override=null)},constructor(B,q){B.node.accessibility&&(B.node.accessibility=null);let K=[],{scope:$}=B;for(let W of B.get("params")){let Z=W.node;if(Z.type==="TSParameterProperty"){let Q,X=Z.parameter;if(m.has(X))continue;if(m.add(X),S.isIdentifier(X))Q=X;else if(S.isAssignmentPattern(X)&&S.isIdentifier(X.left))Q=X.left;else throw W.buildCodeFrameError("Parameter properties can not be destructuring patterns.");K.push(_.statement.ast`
|
|
this.${S.cloneNode(Q)} = ${S.cloneNode(Q)}
|
|
`),W.replaceWith(W.get("parameter")),$.registerBinding("param",W)}}(0,p.injectInitialization)(q,B,K)}};return{name:"transform-typescript",inherits:c.default,visitor:{Pattern:G,Identifier:G,RestElement:G,Program:{enter(B,q){let{file:K}=q,$=null,W=null,Z=B.scope;if(h.GLOBAL_TYPES.has(Z)||h.GLOBAL_TYPES.set(Z,new Set),K.ast.comments)for(let ie of K.ast.comments){let oe=A.exec(ie.value);oe&&(oe[1]?W=oe[2]:$=oe[2])}let Q=$||j;Q&&([Q]=Q.split("."));let X=W||F;for(let ie of(X&&([X]=X.split(".")),B.get("body"))){if(ie.isImportDeclaration()){if(b.has(q.file.ast.program)||b.set(q.file.ast.program,!0),ie.node.importKind==="type"){for(let Pe of ie.node.specifiers)(0,h.registerGlobalType)(Z,Pe.local.name);ie.remove();continue}let oe=new Set,be=ie.node.specifiers.length,Ne=()=>be>0&&be===oe.size;for(let Pe of ie.node.specifiers)if(Pe.type==="ImportSpecifier"&&Pe.importKind==="type"){(0,h.registerGlobalType)(Z,Pe.local.name);let Ke=ie.scope.getBinding(Pe.local.name);Ke&&oe.add(Ke.path)}if(k)b.set(B.node,!1);else{if(ie.node.specifiers.length===0){b.set(B.node,!1);continue}for(let Pe of ie.node.specifiers){let Ke=ie.scope.getBinding(Pe.local.name);Ke&&!oe.has(Ke.path)&&(V({binding:Ke,programPath:B,pragmaImportName:Q,pragmaFragImportName:X})?oe.add(Ke.path):b.set(B.node,!1))}}if(Ne()&&!k)ie.remove();else for(let Pe of oe)Pe.remove();continue}if(!k&&ie.isTSImportEqualsDeclaration()){let{id:oe}=ie.node,be=ie.scope.getBinding(oe.name);if(be&&!ie.node.isExport&&V({binding:be,programPath:B,pragmaImportName:Q,pragmaFragImportName:X})){ie.remove();continue}}if(ie.isExportDeclaration()&&(ie=ie.get("declaration")),ie.isVariableDeclaration({declare:!0}))for(let oe of Object.keys(ie.getBindingIdentifiers()))(0,h.registerGlobalType)(Z,oe);else(ie.isTSTypeAliasDeclaration()||ie.isTSDeclareFunction()&&ie.get("id").isIdentifier()||ie.isTSInterfaceDeclaration()||ie.isClassDeclaration({declare:!0})||ie.isTSEnumDeclaration({declare:!0})||ie.isTSModuleDeclaration({declare:!0})&&ie.get("id").isIdentifier())&&(0,h.registerGlobalType)(Z,ie.node.id.name)}},exit(B){B.node.sourceType==="module"&&b.get(B.node)&&B.pushContainer("body",S.exportNamedDeclaration())}},ExportNamedDeclaration(B,q){if(b.has(q.file.ast.program)||b.set(q.file.ast.program,!0),B.node.exportKind==="type"||B.node.source&&B.node.specifiers.length>0&&B.node.specifiers.every(K=>K.type==="ExportSpecifier"&&K.exportKind==="type")||!B.node.source&&B.node.specifiers.length>0&&B.node.specifiers.every(K=>S.isExportSpecifier(K)&&(0,h.isGlobalType)(B,K.local.name)))return void B.remove();if(S.isTSModuleDeclaration(B.node.declaration)){let K=B.node.declaration;if(!S.isStringLiteral(K.id)){let $=(0,d.getFirstIdentifier)(K.id);if(B.scope.hasOwnBinding($.name))B.replaceWith(K);else{let[W]=B.replaceWithMultiple([S.exportNamedDeclaration(S.variableDeclaration("let",[S.variableDeclarator(S.cloneNode($))])),K]);B.scope.registerDeclaration(W)}}}b.set(q.file.ast.program,!1)},ExportAllDeclaration(B){B.node.exportKind==="type"&&B.remove()},ExportSpecifier(B){(!B.parent.source&&(0,h.isGlobalType)(B,B.node.local.name)||B.node.exportKind==="type")&&B.remove()},ExportDefaultDeclaration(B,q){b.has(q.file.ast.program)||b.set(q.file.ast.program,!0),S.isIdentifier(B.node.declaration)&&(0,h.isGlobalType)(B,B.node.declaration.name)?B.remove():b.set(q.file.ast.program,!1)},TSDeclareFunction(B){y(B)},TSDeclareMethod(B){y(B)},VariableDeclaration(B){B.node.declare&&y(B)},VariableDeclarator({node:B}){B.definite&&(B.definite=null)},TSIndexSignature(B){B.remove()},ClassDeclaration(B){let{node:q}=B;q.declare&&y(B)},Class(B){let{node:q}=B;q.typeParameters&&(q.typeParameters=null),q.superTypeParameters&&(q.superTypeParameters=null),q.implements&&(q.implements=null),q.abstract&&(q.abstract=null),B.get("body.body").forEach(K=>{K.isClassMethod()||K.isClassPrivateMethod()?K.node.kind==="constructor"?C.constructor(K,B):C.method(K):(K.isClassProperty()||K.isClassPrivateProperty()||K.isClassAccessorProperty())&&C.field(K)})},Function(B){let{node:q}=B;q.typeParameters&&(q.typeParameters=null),q.returnType&&(q.returnType=null);let K=q.params;K.length>0&&S.isIdentifier(K[0],{name:"this"})&&K.shift()},TSModuleDeclaration(B){(0,d.default)(B,L)},TSInterfaceDeclaration(B){B.remove()},TSTypeAliasDeclaration(B){B.remove()},TSEnumDeclaration(B){U&&B.node.const?(0,i.default)(B,S):(0,o.default)(B,S)},TSImportEqualsDeclaration(B,q){let K,$,{id:W,moduleReference:Z}=B.node;S.isTSExternalModuleReference(Z)?(x(B,q,`import ${W.name} = require(...);`,`import ${W.name} from '...';`," alongside Typescript's --allowSyntheticDefaultImports option"),K=S.callExpression(S.identifier("require"),[Z.expression]),$="const"):(K=R(Z),$="var");let Q=S.variableDeclaration($,[S.variableDeclarator(W,K)]);B.replaceWith(B.node.isExport?S.exportNamedDeclaration(Q):Q),B.scope.registerDeclaration(B)},TSExportAssignment(B,q){x(B,q,"export = <value>;","export default <value>;"),B.replaceWith(_.statement.ast`module.exports = ${B.node.expression}`)},TSTypeAssertion(B){B.replaceWith(B.node.expression)},[`TSAsExpression${S.tsSatisfiesExpression?"|TSSatisfiesExpression":""}`](B){let{node:q}=B;do q=q.expression;while(S.isTSAsExpression(q)||S.isTSSatisfiesExpression!=null&&S.isTSSatisfiesExpression(q));B.replaceWith(q)},[v.types.tsInstantiationExpression?"TSNonNullExpression|TSInstantiationExpression":"TSNonNullExpression"](B){B.replaceWith(B.node.expression)},CallExpression(B){B.node.typeParameters=null},OptionalCallExpression(B){B.node.typeParameters=null},NewExpression(B){B.node.typeParameters=null},JSXOpeningElement(B){B.node.typeParameters=null},TaggedTemplateExpression(B){B.node.typeParameters=null}}};function R(B){return S.isTSQualifiedName(B)?S.memberExpression(R(B.left),B.right):B}function G({node:B}){B.typeAnnotation&&(B.typeAnnotation=null),S.isIdentifier(B)&&B.optional&&(B.optional=null)}function V({binding:B,programPath:q,pragmaImportName:K,pragmaFragImportName:$}){for(let Z of B.referencePaths)if(!f(Z))return!1;if(B.identifier.name!==K&&B.identifier.name!==$)return!0;let W=!1;return q.traverse({"JSXElement|JSXFragment"(Z){W=!0,Z.stop()}}),!W}})},"./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.4/node_modules/@babel/plugin-transform-typescript/lib/namespace.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=i,e.getFirstIdentifier=p;var n=l("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js"),c=l("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.4/node_modules/@babel/plugin-transform-typescript/lib/global-types.js");function p(f){return n.types.isIdentifier(f)?f:p(f.left)}function i(f,b){if(f.node.declare||f.node.id.type==="StringLiteral")return void f.remove();if(!b)throw f.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 m=p(f.node.id).name,y=d(f,f.node);if(y===null){let x=f.findParent(v=>v.isProgram());(0,c.registerGlobalType)(x.scope,m),f.remove()}else f.scope.hasOwnBinding(m)?f.replaceWith(y):f.scope.registerDeclaration(f.replaceWithMultiple([o(m),y])[0])}function o(f){return n.types.variableDeclaration("let",[n.types.variableDeclarator(n.types.identifier(f))])}function h(f,b){return f.hub.buildError(b,"Ambient modules cannot be nested in other modules or namespaces.",Error)}function d(f,b,m){let y,x=new Set,v=b.id,E=f.scope.generateUid(v.name),S=b.body;b.id,y=n.types.isTSModuleBlock(S)?S.body:[n.types.exportNamedDeclaration(S)];let _=!0;for(let L=0;L<y.length;L++){let j=y[L];switch(j.type){case"TSModuleDeclaration":{if(!n.types.isIdentifier(j.id))throw h(f,j);let F=d(f,j);if(F!==null){_=!1;let k=j.id.name;x.has(k)?y[L]=F:(x.add(k),y.splice(L++,1,o(k),F))}continue}case"TSEnumDeclaration":case"FunctionDeclaration":case"ClassDeclaration":_=!1,x.add(j.id.name);continue;case"VariableDeclaration":for(let F in _=!1,n.types.getBindingIdentifiers(j))x.add(F);continue;default:_&&(_=n.types.isTypeScript(j));continue;case"ExportNamedDeclaration":}}if(_)return null;let A=n.types.objectExpression([]);if(m){let L=n.types.memberExpression(m,v);A=n.template.expression.ast`
|
|
${n.types.cloneNode(L)} ||
|
|
(${n.types.cloneNode(L)} = ${A})
|
|
`}return n.template.statement.ast`
|
|
(function (${n.types.identifier(E)}) {
|
|
${y}
|
|
})(${v} || (${n.types.cloneNode(v)} = ${A}));
|
|
`}l("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.4/node_modules/@babel/plugin-transform-typescript/lib/const-enum.js")},"./node_modules/.pnpm/@babel+preset-typescript@7.27.1_@babel+core@7.28.4/node_modules/@babel/preset-typescript/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=l("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js"),c=l("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.4/node_modules/@babel/plugin-transform-typescript/lib/index.js");l("./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-syntax-jsx/lib/index.js");var p=l("./node_modules/.pnpm/@babel+plugin-transform-modules-commonjs@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-transform-modules-commonjs/lib/index.js"),i=l("./node_modules/.pnpm/@babel+helper-validator-option@7.27.1/node_modules/@babel/helper-validator-option/lib/index.js");function o(y){return y&&y.__esModule?y:{default:y}}var h=o(c),d=o(p);let f=new i.OptionValidator("@babel/preset-typescript");function b(y={}){let{allowNamespaces:x=!0,jsxPragma:v,onlyRemoveTypeImports:E}=y,S=f.validateStringOption("jsxPragmaFrag",y.jsxPragmaFrag,"React.Fragment");var _=f.validateBooleanOption("allExtensions",y.allExtensions,!1),A=f.validateBooleanOption("isTSX",y.isTSX,!1);A&&f.invariant(_,"isTSX:true requires allExtensions:true");let L=f.validateBooleanOption("ignoreExtensions",y.ignoreExtensions,!1),j=f.validateBooleanOption("disallowAmbiguousJSXLike",y.disallowAmbiguousJSXLike,!1);j&&f.invariant(_,"disallowAmbiguousJSXLike:true requires allExtensions:true");let F={ignoreExtensions:L,allowNamespaces:x,disallowAmbiguousJSXLike:j,jsxPragma:v,jsxPragmaFrag:S,onlyRemoveTypeImports:E,optimizeConstEnums:f.validateBooleanOption("optimizeConstEnums",y.optimizeConstEnums,!1),rewriteImportExtensions:f.validateBooleanOption("rewriteImportExtensions",y.rewriteImportExtensions,!1)};return F.allExtensions=_,F.isTSX=A,F}var m=n.declare(function({types:y,template:x}){function v(E,S,_){if(E){if(y.isStringLiteral(E)){/^\.\.?\//.test(E.value)&&(E.value=E.value.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+)?)\.([cm]?)ts$/i,function(A,L,j,F,k){return L?".js":!j||F&&k?j+F+"."+k.toLowerCase()+"js":A}));return}_.availableHelper("tsRewriteRelativeImportExtensions")?S.replaceWith(y.callExpression(_.addHelper("tsRewriteRelativeImportExtensions"),[E])):S.replaceWith(x.expression.ast`(${E} + "").replace(/([\\/].*\.[mc]?)tsx?$/, "$1js")`)}}return{name:"preset-typescript/plugin-rewrite-ts-imports",visitor:{"ImportDeclaration|ExportAllDeclaration|ExportNamedDeclaration"(E,S){let _=E.node;(y.isImportDeclaration(_)?_.importKind:_.exportKind)==="value"&&v(_.source,E.get("source"),S)},CallExpression(E,S){y.isImport(E.node.callee)&&v(E.node.arguments[0],E.get("arguments.0"),S)},ImportExpression(E,S){v(E.node.source,E.get("source"),S)}}}});e.default=n.declarePreset((y,x)=>{y.assertVersion(7);let{allExtensions:v,ignoreExtensions:E,allowNamespaces:S,disallowAmbiguousJSXLike:_,isTSX:A,jsxPragma:L,jsxPragmaFrag:j,onlyRemoveTypeImports:F,optimizeConstEnums:k,rewriteImportExtensions:U}=b(x),z=R=>({allowDeclareFields:x.allowDeclareFields,allowNamespaces:S,disallowAmbiguousJSXLike:R,jsxPragma:L,jsxPragmaFrag:j,onlyRemoveTypeImports:F,optimizeConstEnums:k}),C=(R,G)=>[[h.default,Object.assign({isTSX:R},z(G))]];return{plugins:U?[m]:[],overrides:v||E?[{plugins:C(A,_)}]:[{test:/\.ts$/,plugins:C(!1,!1)},{test:/\.mts$/,sourceType:"module",plugins:C(!1,!0)},{test:/\.cts$/,sourceType:"unambiguous",plugins:[[d.default,{allowTopLevelThis:!0}],[h.default,z(!0)]]},{test:/\.tsx$/,plugins:C(!0,!1)}]}})},"./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/builder.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var n=l("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/options.js"),c=l("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/string.js"),p=l("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/literal.js");let i=(0,n.validate)({placeholderPattern:!1});function o(d,f){let b=new WeakMap,m=new WeakMap,y=f||(0,n.validate)(null);return Object.assign((x,...v)=>{if(typeof x=="string"){if(v.length>1)throw Error("Unexpected extra params.");return h((0,c.default)(d,x,(0,n.merge)(y,(0,n.validate)(v[0]))))}if(Array.isArray(x)){let E=b.get(x);return E||(E=(0,p.default)(d,x,y),b.set(x,E)),h(E(v))}if(typeof x=="object"&&x){if(v.length>0)throw Error("Unexpected extra params.");return o(d,(0,n.merge)(y,(0,n.validate)(x)))}throw Error(`Unexpected template param ${typeof x}`)},{ast:(x,...v)=>{if(typeof x=="string"){if(v.length>1)throw Error("Unexpected extra params.");return(0,c.default)(d,x,(0,n.merge)((0,n.merge)(y,(0,n.validate)(v[0])),i))()}if(Array.isArray(x)){let E=m.get(x);return E||(E=(0,p.default)(d,x,(0,n.merge)(y,i)),m.set(x,E)),E(v)()}throw Error(`Unexpected template param ${typeof x}`)}})}function h(d){let f="";try{throw Error()}catch(b){b.stack&&(f=b.stack.split(`
|
|
`).slice(3).join(`
|
|
`))}return b=>{try{return d(b)}catch(m){throw m.stack+=`
|
|
=============
|
|
${f}`,m}}}},"./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/formatters.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.statements=e.statement=e.smart=e.program=e.expression=void 0;let{assertExpressionStatement:n}=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");function c(i){return{code:o=>`/* @babel/template */;
|
|
${o}`,validate:()=>{},unwrap:o=>i(o.program.body.slice(1))}}e.smart=c(i=>i.length>1?i:i[0]),e.statements=c(i=>i),e.statement=c(i=>{if(i.length===0)throw Error("Found nothing to return.");if(i.length>1)throw Error("Found multiple statements but wanted one");return i[0]});let p=e.expression={code:i=>`(
|
|
${i}
|
|
)`,validate:i=>{if(i.program.body.length>1)throw Error("Found multiple statements but wanted one");if(p.unwrap(i).start===0)throw Error("Parse result included parens.")},unwrap:({program:i})=>{let[o]=i.body;return n(o),o.expression}};e.program={code:i=>i,validate:()=>{},unwrap:i=>i.program}},"./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.statements=e.statement=e.smart=e.program=e.expression=e.default=void 0;var n=l("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/formatters.js"),c=l("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/builder.js");let p=e.smart=(0,c.default)(n.smart),i=e.statement=(0,c.default)(n.statement),o=e.statements=(0,c.default)(n.statements),h=e.expression=(0,c.default)(n.expression),d=e.program=(0,c.default)(n.program);e.default=Object.assign(p.bind(void 0),{smart:p,statement:i,statements:o,expression:h,program:d,ast:p.ast})},"./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/literal.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=l("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/options.js"),c=l("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/parse.js"),p=l("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/populate.js");function i(d,f,b){let{metadata:m,names:y}=o(d,f,b);return x=>{let v={};return x.forEach((E,S)=>{v[y[S]]=E}),E=>{let S=(0,n.normalizeReplacements)(E);return S&&Object.keys(S).forEach(_=>{if(hasOwnProperty.call(v,_))throw Error("Unexpected replacement overlap.")}),d.unwrap((0,p.default)(m,S?Object.assign(S,v):v))}}}function o(d,f,b){let m="BABEL_TPL$",y=f.join("");do m="$$"+m;while(y.includes(m));let{names:x,code:v}=h(f,m);return{metadata:(0,c.default)(d,d.code(v),{parser:b.parser,placeholderWhitelist:new Set(x.concat(b.placeholderWhitelist?Array.from(b.placeholderWhitelist):[])),placeholderPattern:b.placeholderPattern,preserveComments:b.preserveComments,syntacticPlaceholders:b.syntacticPlaceholders}),names:x}}function h(d,f){let b=[],m=d[0];for(let y=1;y<d.length;y++){let x=`${f}${y-1}`;b.push(x),m+=x+d[y]}return{names:b,code:m}}},"./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/options.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.merge=c,e.normalizeReplacements=i,e.validate=p;let l=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"];function n(o,h){if(o==null)return{};var d={};for(var f in o)if({}.hasOwnProperty.call(o,f)){if(h.indexOf(f)!==-1)continue;d[f]=o[f]}return d}function c(o,h){let{placeholderWhitelist:d=o.placeholderWhitelist,placeholderPattern:f=o.placeholderPattern,preserveComments:b=o.preserveComments,syntacticPlaceholders:m=o.syntacticPlaceholders}=h;return{parser:Object.assign({},o.parser,h.parser),placeholderWhitelist:d,placeholderPattern:f,preserveComments:b,syntacticPlaceholders:m}}function p(o){if(o!=null&&typeof o!="object")throw Error("Unknown template options.");let h=o||{},{placeholderWhitelist:d,placeholderPattern:f,preserveComments:b,syntacticPlaceholders:m}=h,y=n(h,l);if(d!=null&&!(d instanceof Set))throw Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(f!=null&&!(f instanceof RegExp)&&f!==!1)throw Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(b!=null&&typeof b!="boolean")throw Error("'.preserveComments' must be a boolean, null, or undefined");if(m!=null&&typeof m!="boolean")throw Error("'.syntacticPlaceholders' must be a boolean, null, or undefined");if(m===!0&&(d!=null||f!=null))throw Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:y,placeholderWhitelist:d||void 0,placeholderPattern:f??void 0,preserveComments:b??void 0,syntacticPlaceholders:m??void 0}}function i(o){if(Array.isArray(o))return o.reduce((h,d,f)=>(h["$"+f]=d,h),{});if(typeof o=="object"||o==null)return o||void 0;throw Error("Template replacements must be an array, object, null, or undefined")}},"./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/parse.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=_;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+parser@7.28.4/node_modules/@babel/parser/lib/index.js"),p=l("./stubs/babel-codeframe.mjs");let{isCallExpression:i,isExpressionStatement:o,isFunction:h,isIdentifier:d,isJSXIdentifier:f,isNewExpression:b,isPlaceholder:m,isStatement:y,isStringLiteral:x,removePropertiesDeep:v,traverse:E}=n,S=/^[_$A-Z0-9]+$/;function _(F,k,U){let{placeholderWhitelist:z,placeholderPattern:C,preserveComments:R,syntacticPlaceholders:G}=U,V=j(k,U.parser,G);v(V,{preserveComments:R}),F.validate(V);let B={syntactic:{placeholders:[],placeholderNames:new Set},legacy:{placeholders:[],placeholderNames:new Set},placeholderWhitelist:z,placeholderPattern:C,syntacticPlaceholders:G};return E(V,A,B),Object.assign({ast:V},B.syntactic.placeholders.length?B.syntactic:B.legacy)}function A(F,k,U){var z;let C,R,G=U.syntactic.placeholders.length>0;if(m(F)){if(U.syntacticPlaceholders===!1)throw Error("%%foo%%-style placeholders can't be used when '.syntacticPlaceholders' is false.");C=F.name.name,G=!0}else{if(G||U.syntacticPlaceholders)return;if(d(F)||f(F))C=F.name;else{if(!x(F))return;C=F.value}}if(G&&(U.placeholderPattern!=null||U.placeholderWhitelist!=null))throw Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");if(!G&&(U.placeholderPattern===!1||!(U.placeholderPattern||S).test(C))&&!((z=U.placeholderWhitelist)!=null&&z.has(C)))return;let{node:V,key:B}=(k=k.slice())[k.length-1];x(F)||m(F,{expectedNode:"StringLiteral"})?R="string":b(V)&&B==="arguments"||i(V)&&B==="arguments"||h(V)&&B==="params"?R="param":o(V)&&!m(F)?(R="statement",k=k.slice(0,-1)):R=y(F)&&m(F)?"statement":"other";let{placeholders:q,placeholderNames:K}=G?U.syntactic:U.legacy;q.push({name:C,type:R,resolve:$=>L($,k),isDuplicate:K.has(C)}),K.add(C)}function L(F,k){let U=F;for(let R=0;R<k.length-1;R++){let{key:G,index:V}=k[R];U=V===void 0?U[G]:U[G][V]}let{key:z,index:C}=k[k.length-1];return{parent:U,key:z,index:C}}function j(F,k,U){let z=(k.plugins||[]).slice();U!==!1&&z.push("placeholders"),k=Object.assign({allowAwaitOutsideFunction:!0,allowReturnOutsideFunction:!0,allowNewTargetOutsideFunction:!0,allowSuperOutsideMethod:!0,allowYieldOutsideFunction:!0,sourceType:"module"},k,{plugins:z});try{return(0,c.parse)(F,k)}catch(C){let R=C.loc;throw R&&(C.message+=`
|
|
`+(0,p.codeFrameColumns)(F,{start:R}),C.code="BABEL_TEMPLATE_PARSE_ERROR"),C}}},"./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/populate.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=m;let{blockStatement:n,cloneNode:c,emptyStatement:p,expressionStatement:i,identifier:o,isStatement:h,isStringLiteral:d,stringLiteral:f,validate:b}=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");function m(x,v){let E=c(x.ast);return v&&(x.placeholders.forEach(S=>{if(!hasOwnProperty.call(v,S.name)){let _=S.name;throw Error(`Error: No substitution given for "${_}". 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(['${_}'])}
|
|
- { placeholderPattern: /^${_}$/ }`)}}),Object.keys(v).forEach(S=>{if(!x.placeholderNames.has(S))throw Error(`Unknown substitution "${S}" given`)})),x.placeholders.slice().reverse().forEach(S=>{try{var _;y(S,E,(_=v&&v[S.name])!=null?_:null)}catch(A){throw A.message=`@babel/template placeholder "${S.name}": ${A.message}`,A}}),E}function y(x,v,E){x.isDuplicate&&(Array.isArray(E)?E=E.map(j=>c(j)):typeof E=="object"&&(E=c(E)));let{parent:S,key:_,index:A}=x.resolve(v);if(x.type==="string"){if(typeof E=="string"&&(E=f(E)),!E||!d(E))throw Error("Expected string substitution")}else if(x.type==="statement")A===void 0?E?Array.isArray(E)?E=n(E):typeof E=="string"?E=i(o(E)):h(E)||(E=i(E)):E=p():E&&!Array.isArray(E)&&(typeof E=="string"&&(E=o(E)),h(E)||(E=i(E)));else if(x.type==="param"){if(typeof E=="string"&&(E=o(E)),A===void 0)throw Error("Assertion failure.")}else if(typeof E=="string"&&(E=o(E)),Array.isArray(E))throw Error("Cannot replace single expression with an array.");function L(j,F,k){let U=j[F];j[F]=k,(U.type==="Identifier"||U.type==="Placeholder")&&(U.typeAnnotation&&(k.typeAnnotation=U.typeAnnotation),U.optional&&(k.optional=U.optional),U.decorators&&(k.decorators=U.decorators))}if(A===void 0)b(S,_,E),L(S,_,E);else{let j=S[_].slice();x.type==="statement"||x.type==="param"?E==null?j.splice(A,1):Array.isArray(E)?j.splice(A,1,...E):L(j,A,E):L(j,A,E),b(S,_,j),S[_]=j}}},"./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/string.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=l("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/options.js"),c=l("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/parse.js"),p=l("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/populate.js");function i(o,h,d){let f;return h=o.code(h),b=>{let m=(0,n.normalizeReplacements)(b);return f||(f=(0,c.default)(o,h,d)),o.unwrap((0,p.default)(f,m))}}},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/cache.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.clear=n,e.clearPath=c,e.clearScope=p,e.getCachedPaths=i,e.getOrCreateCachedPaths=o,e.scope=e.path=void 0;let l=e.path=new WeakMap;function n(){c(),p()}function c(){e.path=l=new WeakMap}function p(){e.scope=new WeakMap}function i(h){let{parent:d,parentPath:f}=h;return l.get(d)}function o(h,d){let f=l.get(h);return f||l.set(h,f=new Map),f}e.scope=new WeakMap},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/context.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/context.js");let{VISITOR_KEYS:i}=c,o=class{constructor(d,f,b,m){this.queue=null,this.priorityQueue=null,this.parentPath=m,this.scope=d,this.state=b,this.opts=f}shouldVisit(d){let f=this.opts;if(f.enter||f.exit||f[d.type])return!0;let b=i[d.type];if(!(b!=null&&b.length))return!1;for(let m of b)if(d[m])return!0;return!1}create(d,f,b,m){return n.default.get({parentPath:this.parentPath,parent:d,container:f,key:b,listKey:m})}maybeQueue(d,f){this.queue&&(f?this.queue.push(d):this.priorityQueue.push(d))}visitMultiple(d,f,b){if(d.length===0)return!1;let m=[];for(let y=0;y<d.length;y++){let x=d[y];x&&this.shouldVisit(x)&&m.push(this.create(f,d,y,b))}return this.visitQueue(m)}visitSingle(d,f){return!!this.shouldVisit(d[f])&&this.visitQueue([this.create(d,d,f)])}visitQueue(d){this.queue=d,this.priorityQueue=[];let f=new WeakSet,b=!1,m=0;for(;m<d.length;){let y=d[m];if(m++,p.resync.call(y),(y.contexts.length===0||y.contexts[y.contexts.length-1]!==this)&&p.pushContext.call(y,this),y.key===null)continue;let{node:x}=y;if(!f.has(x)){if(x&&f.add(x),y.visit()){b=!0;break}if(this.priorityQueue.length&&(b=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=d,b))break}}for(let y=0;y<m;y++)p.popContext.call(d[y]);return this.queue=null,b}visit(d,f){let b=d[f];return!!b&&(Array.isArray(b)?this.visitMultiple(b,d,f):this.visitSingle(d,f))}};e.default=o},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/hub.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;let l=class{getCode(){}getScope(){}addHelper(){throw Error("Helpers are not supported by the default hub.")}buildError(c,p,i=TypeError){return new i(p)}};e.default=l},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"Hub",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"NodePath",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return h.default}}),e.visitors=e.default=void 0,l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/context.js");var n=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/visitors.js");e.visitors=n;var c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/cache.js"),i=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/traverse-node.js"),o=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/index.js"),h=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/scope/index.js"),d=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/hub.js");let{VISITOR_KEYS:f,removeProperties:b,traverseFast:m}=c;function y(x,v={},E,S,_,A){if(x){if(!v.noScope&&!E&&x.type!=="Program"&&x.type!=="File")throw Error(`You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a ${x.type} node without passing scope and parentPath.`);if(!_&&A)throw Error("visitSelf can only be used when providing a NodePath.");f[x.type]&&(n.explode(v),(0,i.traverseNode)(x,v,E,S,_,null,A))}}e.default=y,y.visitors=n,y.verify=n.verify,y.explode=n.explode,y.cheap=function(x,v){m(x,v)},y.node=function(x,v,E,S,_,A){(0,i.traverseNode)(x,v,E,S,_,A)},y.clearNode=function(x,v){b(x,v)},y.removeProperties=function(x,v){return m(x,y.clearNode,v),x},y.hasType=function(x,v,E){return!(E!=null&&E.includes(x.type))&&(x.type===v||m(x,function(S){return E!=null&&E.includes(S.type)?m.skip:S.type===v?m.stop:void 0}))},y.cache=p},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/ancestry.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.find=p,e.findParent=c,e.getAncestry=f,e.getDeepestCommonAncestorFrom=d,e.getEarliestCommonAncestorFrom=h,e.getFunctionParent=i,e.getStatementParent=o,e.inType=y,e.isAncestor=b,e.isDescendant=m;let{VISITOR_KEYS:n}=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");function c(x){let v=this;for(;v=v.parentPath;)if(x(v))return v;return null}function p(x){let v=this;do if(x(v))return v;while(v=v.parentPath);return null}function i(){return this.findParent(x=>x.isFunction())}function o(){let x=this;do{if(!x.parentPath||Array.isArray(x.container)&&x.isStatement())break;x=x.parentPath}while(x);if(x&&(x.isProgram()||x.isFile()))throw Error("File/Program node, we can't possibly find a statement parent to this");return x}function h(x){return this.getDeepestCommonAncestorFrom(x,function(v,E,S){let _,A=n[v.type];for(let L of S){let j=L[E+1];if(!_||j.listKey&&_.listKey===j.listKey&&j.key<_.key){_=j;continue}A.indexOf(_.parentKey)>A.indexOf(j.parentKey)&&(_=j)}return _})}function d(x,v){let E,S;if(!x.length)return this;if(x.length===1)return x[0];let _=1/0,A=x.map(j=>{let F=[];do F.unshift(j);while((j=j.parentPath)&&j!==this);return F.length<_&&(_=F.length),F}),L=A[0];e:for(let j=0;j<_;j++){let F=L[j];for(let k of A)if(k[j]!==F)break e;E=j,S=F}if(S)return v?v(S,E,A):S;throw Error("Couldn't find intersection")}function f(){let x=this,v=[];do v.push(x);while(x=x.parentPath);return v}function b(x){return x.isDescendant(this)}function m(x){return!!this.findParent(v=>v===x)}function y(...x){let v=this;for(;v;){if(x.includes(v.node.type))return!0;v=v.parentPath}return!1}},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/comments.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.addComment=o,e.addComments=h,e.shareCommentsWithSiblings=p;let{addComment:n,addComments:c}=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");function p(){if(typeof this.key=="string")return;let d=this.node;if(!d)return;let f=d.trailingComments,b=d.leadingComments;if(!f&&!b)return;let m=this.getSibling(this.key-1),y=this.getSibling(this.key+1),x=!!m.node,v=!!y.node;x&&(b&&m.addComments("trailing",i(b,m.node.trailingComments)),f&&!v&&m.addComments("trailing",f)),v&&(f&&y.addComments("leading",i(f,y.node.leadingComments)),b&&!x&&y.addComments("leading",b))}function i(d,f){if(!(f!=null&&f.length))return d;let b=new Set(f);return d.filter(m=>!b.has(m))}function o(d,f,b){n(this.node,d,f,b)}function h(d,f){c(this.node,d,f)}},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/context.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._call=h,e._getQueueContexts=G,e._resyncKey=A,e._resyncList=L,e._resyncParent=_,e._resyncRemoved=j,e.call=o,e.isDenylisted=d,e.popContext=F,e.pushContext=k,e.requeue=C,e.requeueComputedKeyAndDecorators=R,e.resync=S,e.setContext=E,e.setKey=z,e.setScope=v,e.setup=U,e.skip=m,e.skipKey=y,e.stop=x,e.visit=b;var n=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/traverse-node.js"),c=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/index.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/removal.js"),i=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");function o(V){let B=this.opts;if(this.debug(V),this.node&&h.call(this,B[V]))return!0;if(this.node){var q;return h.call(this,(q=B[this.node.type])==null?void 0:q[V])}return!1}function h(V){if(!V)return!1;for(let B of V){if(!B)continue;let q=this.node;if(!q)return!0;let K=B.call(this.state,this,this.state);if(K&&typeof K=="object"&&typeof K.then=="function")throw 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(K)throw Error(`Unexpected return value from visitor method ${B}`);if(this.node!==q||this._traverseFlags>0)return!0}return!1}function d(){var V;let B=(V=this.opts.denylist)!=null?V:this.opts.blacklist;return B==null?void 0:B.includes(this.node.type)}function f(V,B){V.context!==B&&(V.context=B,V.state=B.state,V.opts=B.opts)}function b(){var V,B;if(!this.node||this.isDenylisted()||(V=(B=this.opts).shouldSkip)!=null&&V.call(B,this))return!1;let q=this.context;return this.shouldSkip||o.call(this,"enter")?this.debug("Skip..."):(f(this,q),this.debug("Recursing into..."),this.shouldStop=(0,n.traverseNode)(this.node,this.opts,this.scope,this.state,this,this.skipKeys),f(this,q),o.call(this,"exit")),this.shouldStop}function m(){this.shouldSkip=!0}function y(V){this.skipKeys==null&&(this.skipKeys={}),this.skipKeys[V]=!0}function x(){this._traverseFlags|=c.SHOULD_SKIP|c.SHOULD_STOP}function v(){var V,B,q;let K;if((V=this.opts)!=null&&V.noScope)return;let $=this.parentPath;for(((this.key==="key"||this.listKey==="decorators")&&$.isMethod()||this.key==="discriminant"&&$.isSwitchStatement())&&($=$.parentPath);$&&!K;){if((q=$.opts)!=null&&q.noScope)return;K=$.scope,$=$.parentPath}this.scope=this.getScope(K),(B=this.scope)==null||B.init()}function E(V){return this.skipKeys!=null&&(this.skipKeys={}),this._traverseFlags=0,V&&(this.context=V,this.state=V.state,this.opts=V.opts),v.call(this),this}function S(){this.removed||(_.call(this),L.call(this),A.call(this))}function _(){this.parentPath&&(this.parent=this.parentPath.node)}function A(){if(this.container&&this.node!==this.container[this.key]){if(Array.isArray(this.container)){for(let V=0;V<this.container.length;V++)if(this.container[V]===this.node)return void z.call(this,V)}else for(let V of Object.keys(this.container))if(this.container[V]===this.node)return void z.call(this,V);this.key=null}}function L(){if(!this.parent||!this.inList)return;let V=this.parent[this.listKey];this.container!==V&&(this.container=V||null)}function j(){this.key!=null&&this.container&&this.container[this.key]===this.node||p._markRemoved.call(this)}function F(){this.contexts.pop(),this.contexts.length>0?this.setContext(this.contexts[this.contexts.length-1]):this.setContext(void 0)}function k(V){this.contexts.push(V),this.setContext(V)}function U(V,B,q,K){this.listKey=q,this.container=B,this.parentPath=V||this.parentPath,z.call(this,K)}function z(V){var B;this.key=V,this.node=this.container[this.key],this.type=(B=this.node)==null?void 0:B.type}function C(V=this){if(!V.removed)for(let B of this.contexts)B.maybeQueue(V)}function R(){let{context:V,node:B}=this;if(!i.isPrivate(B)&&B.computed&&V.maybeQueue(this.get("key")),B.decorators)for(let q of this.get("decorators"))V.maybeQueue(q)}function G(){let V=this,B=this.contexts;for(;!B.length&&(V=V.parentPath);)B=V.contexts;return B}e.isBlacklisted=d},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/conversion.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.arrowFunctionToExpression=xe,e.ensureBlock=We,e.ensureFunctionName=Ze,e.splitExportDeclaration=De,e.toComputedKey=Ke,e.unwrapFunctionEnvironment=Oe;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/index.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/visitors.js"),i=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/context.js");let{arrowFunctionExpression:o,assignmentExpression:h,binaryExpression:d,blockStatement:f,callExpression:b,conditionalExpression:m,expressionStatement:y,identifier:x,isIdentifier:v,jsxIdentifier:E,logicalExpression:S,LOGICAL_OPERATORS:_,memberExpression:A,metaProperty:L,numericLiteral:j,objectExpression:F,restElement:k,returnStatement:U,sequenceExpression:z,spreadElement:C,stringLiteral:R,super:G,thisExpression:V,toExpression:B,unaryExpression:q,toBindingIdentifierName:K,isFunction:$,isAssignmentPattern:W,isRestElement:Z,getFunctionName:Q,cloneNode:X,variableDeclaration:ie,variableDeclarator:oe,exportNamedDeclaration:be,exportSpecifier:Ne,inherits:Pe}=n;function Ke(){let ge;if(this.isMemberExpression())ge=this.node.property;else if(this.isProperty()||this.isMethod())ge=this.node.key;else throw ReferenceError("todo");return!this.node.computed&&v(ge)&&(ge=R(ge.name)),ge}function We(){let ge,fe,ee=this.get("body"),le=ee.node;if(Array.isArray(ee))throw Error("Can't convert array path to a block statement");if(!le)throw Error("Can't convert node without a body");if(ee.isBlockStatement())return le;let Se=[],Ee="body";ee.isStatement()?(fe="body",ge=0,Se.push(ee.node)):(Ee+=".body.0",this.isFunction()?(ge="argument",Se.push(U(ee.node))):(ge="expression",Se.push(y(ee.node)))),this.node.body=f(Se);let Be=this.get(Ee);return i.setup.call(ee,Be,fe?Be.node[fe]:Be.node,fe,ge),this.node}function Oe(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");ve(this)}function de(ge,fe){ge.node.type=fe}function xe({allowInsertArrow:ge=!0,allowInsertArrowWithRest:fe=ge,noNewArrows:ee=!(le=>(le=arguments[0])==null?void 0:le.specCompliant)()}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");let le=this;if(!ee){var Se;le=(Se=le.ensureFunctionName(!1))!=null?Se:le}let{thisBinding:Ee,fnPath:Be}=ve(le,ee,ge,fe);if(Be.ensureBlock(),de(Be,"FunctionExpression"),!ee){let Qe=Ee?null:Be.scope.generateUidIdentifier("arrowCheckId");return Qe&&Be.parentPath.scope.push({id:Qe,init:F([])}),Be.get("body").unshiftContainer("body",y(b(this.hub.addHelper("newArrowCheck"),[V(),x(Qe?Qe.name:Ee)]))),Be.replaceWith(b(A(Be.node,x("bind")),[Qe?x(Qe.name):V()])),Be.get("callee.object")}return Be}e.arrowFunctionToShadowed=function(){this.isArrowFunctionExpression()&&this.arrowFunctionToExpression()};let ye=(0,p.environmentVisitor)({CallExpression(ge,{allSuperCalls:fe}){ge.get("callee").isSuper()&&fe.push(ge)}});function ve(ge,fe=!0,ee=!0,le=!0){let Se,Ee,Be=ge.findParent(Le=>Le.isArrowFunctionExpression()?(Se!=null||(Se=Le),!1):Le.isFunction()||Le.isProgram()||Le.isClassProperty({static:!1})||Le.isClassPrivateProperty({static:!1})),Qe=Be.isClassMethod({kind:"constructor"});if(Be.isClassProperty()||Be.isClassPrivateProperty())if(Se)Be=Se;else if(ee)ge.replaceWith(b(o([],B(ge.node)),[])),ge=(Be=ge.get("callee")).get("body");else throw ge.buildCodeFrameError("Unable to transform arrow inside class property");let{thisPaths:ce,argumentsPaths:$e,newTargetPaths:et,superProps:ut,superCalls:Je}=ht(ge);if(Qe&&Je.length>0){if(!ee)throw Je[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(!le)throw Je[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 Le=[];Be.traverse(ye,{allSuperCalls:Le});let at=nt(Be);Le.forEach(Et=>{let Rt=x(at);Rt.loc=Et.node.callee.loc,Et.get("callee").replaceWith(Rt)})}if($e.length>0){let Le=_t(Be,"arguments",()=>Be.scope.path.isProgram()?m(d("===",q("typeof",x("arguments")),R("undefined")),Be.scope.buildUndefinedNode(),x("arguments")):x("arguments"));$e.forEach(at=>{let Et=x(Le);Et.loc=at.node.loc,at.replaceWith(Et)})}if(et.length>0){let Le=_t(Be,"newtarget",()=>L(x("new"),x("target")));et.forEach(at=>{let Et=x(Le);Et.loc=at.node.loc,at.replaceWith(Et)})}if(ut.length>0){if(!ee)throw ut[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.");ut.reduce((Le,at)=>Le.concat(Te(at)),[]).forEach(Le=>{let at=Le.node.computed?"":Le.get("property").node.name,Et=Le.parentPath,Rt=Et.isAssignmentExpression({left:Le.node}),lr=Et.isCallExpression({callee:Le.node}),xt=Et.isTaggedTemplateExpression({tag:Le.node}),ar=ft(Be,Rt,at),yr=[];if(Le.node.computed&&yr.push(Le.get("property").node),Rt){let Rr=Et.node.right;yr.push(Rr)}let Pr=b(x(ar),yr);lr?(Et.unshiftContainer("arguments",V()),Le.replaceWith(A(Pr,x("call"))),ce.push(Et.get("arguments.0"))):Rt?Et.replaceWith(Pr):xt?(Le.replaceWith(b(A(Pr,x("bind"),!1),[V()])),ce.push(Le.get("arguments.0"))):Le.replaceWith(Pr)})}return(ce.length>0||!fe)&&(Ee=pe(Be,Qe),(fe||Qe&&Ce(Be))&&(ce.forEach(Le=>{let at=Le.isJSX()?E(Ee):x(Ee);at.loc=Le.node.loc,Le.replaceWith(at)}),fe||(Ee=null))),{thisBinding:Ee,fnPath:ge}}function he(ge){return _.includes(ge)}function Te(ge){if(ge.parentPath.isAssignmentExpression()&&ge.parentPath.node.operator!=="="){let ee=ge.parentPath,le=ee.node.operator.slice(0,-1),Se=ee.node.right,Ee=he(le);if(ge.node.computed){let Be=ge.scope.generateDeclaredUidIdentifier("tmp"),Qe=ge.node.object,ce=ge.node.property;ee.get("left").replaceWith(A(Qe,h("=",Be,ce),!0)),ee.get("right").replaceWith(fe(Ee?"=":le,A(Qe,x(Be.name),!0),Se))}else{let Be=ge.node.object,Qe=ge.node.property;ee.get("left").replaceWith(A(Be,Qe)),ee.get("right").replaceWith(fe(Ee?"=":le,A(Be,x(Qe.name)),Se))}return Ee?ee.replaceWith(S(le,ee.node.left,ee.node.right)):ee.node.operator="=",[ee.get("left"),ee.get("right").get("left")]}if(ge.parentPath.isUpdateExpression()){let ee=ge.parentPath,le=ge.scope.generateDeclaredUidIdentifier("tmp"),Se=ge.node.computed?ge.scope.generateDeclaredUidIdentifier("prop"):null,Ee=[h("=",le,A(ge.node.object,Se?h("=",Se,ge.node.property):ge.node.property,ge.node.computed)),h("=",A(ge.node.object,Se?x(Se.name):ge.node.property,ge.node.computed),d(ge.parentPath.node.operator[0],x(le.name),j(1)))];return ge.parentPath.node.prefix||Ee.push(x(le.name)),ee.replaceWith(z(Ee)),[ee.get("expressions.0.right"),ee.get("expressions.1.left")]}return[ge];function fe(ee,le,Se){return ee==="="?h("=",le,Se):d(ee,le,Se)}}function Ce(ge){return ge.isClassMethod()&&!!ge.parentPath.parentPath.node.superClass}let se=(0,p.environmentVisitor)({CallExpression(ge,{supers:fe,thisBinding:ee}){!ge.get("callee").isSuper()||fe.has(ge.node)||(fe.add(ge.node),ge.replaceWithMultiple([ge.node,h("=",x(ee),x("this"))]))}});function pe(ge,fe){return _t(ge,"this",ee=>{if(!fe||!Ce(ge))return V();ge.traverse(se,{supers:new WeakSet,thisBinding:ee})})}function nt(ge){return _t(ge,"supercall",()=>{let fe=ge.scope.generateUidIdentifier("args");return o([k(fe)],b(G(),[C(x(fe.name))]))})}function ft(ge,fe,ee){return _t(ge,`superprop_${fe?"set":"get"}:${ee||""}`,()=>{let le,Se=[];if(ee)le=A(G(),x(ee));else{let Ee=ge.scope.generateUidIdentifier("prop");Se.unshift(Ee),le=A(G(),x(Ee.name),!0)}if(fe){let Ee=ge.scope.generateUidIdentifier("value");Se.push(Ee),le=h("=",le,x(Ee.name))}return o(Se,le)})}function _t(ge,fe,ee){let le="binding:"+fe,Se=ge.getData(le);if(!Se){let Ee=ge.scope.generateUidIdentifier(fe);Se=Ee.name,ge.setData(le,Se),ge.scope.push({id:Ee,init:ee(Se)})}return Se}let Pt=(0,p.environmentVisitor)({ThisExpression(ge,{thisPaths:fe}){fe.push(ge)},JSXIdentifier(ge,{thisPaths:fe}){ge.node.name!=="this"||(ge.parentPath.isJSXMemberExpression({object:ge.node})||ge.parentPath.isJSXOpeningElement({name:ge.node}))&&fe.push(ge)},CallExpression(ge,{superCalls:fe}){ge.get("callee").isSuper()&&fe.push(ge)},MemberExpression(ge,{superProps:fe}){ge.get("object").isSuper()&&fe.push(ge)},Identifier(ge,{argumentsPaths:fe}){if(!ge.isReferencedIdentifier({name:"arguments"}))return;let ee=ge.scope;do{if(ee.hasOwnBinding("arguments"))return void ee.rename("arguments");if(ee.path.isFunction()&&!ee.path.isArrowFunctionExpression())break}while(ee=ee.parent);fe.push(ge)},MetaProperty(ge,{newTargetPaths:fe}){!ge.get("meta").isIdentifier({name:"new"})||ge.get("property").isIdentifier({name:"target"})&&fe.push(ge)}});function ht(ge){let fe=[],ee=[],le=[],Se=[],Ee=[];return ge.traverse(Pt,{thisPaths:fe,argumentsPaths:ee,newTargetPaths:le,superProps:Se,superCalls:Ee}),{thisPaths:fe,argumentsPaths:ee,newTargetPaths:le,superProps:Se,superCalls:Ee}}function De(){if(!this.isExportDeclaration()||this.isExportAllDeclaration())throw Error("Only default and named export declarations can be split.");if(this.isExportNamedDeclaration()&&this.get("specifiers").length>0)throw Error("It doesn't make sense to split exported specifiers.");let ge=this.get("declaration");if(this.isExportDefaultDeclaration()){let ee=ge.isFunctionDeclaration()||ge.isClassDeclaration(),le=ge.isFunctionExpression()||ge.isClassExpression(),Se=ge.isScope()?ge.scope.parent:ge.scope,Ee=ge.node.id,Be=!1;Ee?le&&Se.hasBinding(Ee.name)&&(Be=!0,Ee=Se.generateUidIdentifier(Ee.name)):(Be=!0,Ee=Se.generateUidIdentifier("default"),(ee||le)&&(ge.node.id=X(Ee)));let Qe=ee?ge.node:ie("var",[oe(X(Ee),ge.node)]),ce=be(null,[Ne(X(Ee),x("default"))]);return this.insertAfter(ce),this.replaceWith(Qe),Be&&Se.registerDeclaration(this),this}if(this.get("specifiers").length>0)throw Error("It doesn't make sense to split exported specifiers.");let fe=be(null,Object.keys(ge.getOuterBindingIdentifiers()).map(ee=>Ne(x(ee),x(ee))));return this.insertAfter(fe),this.replaceWith(ge.node),this}let ze={"ReferencedIdentifier|BindingIdentifier"(ge,fe){ge.node.name===fe.name&&(fe.needsRename=!0,ge.stop())},Scope(ge,fe){ge.scope.hasOwnBinding(fe.name)&&ge.skip()}};function Ze(ge){if(this.node.id)return this;let fe=Q(this.node,this.parent);if(fe==null)return this;let{name:ee}=fe;if(!ge&&/[\uD800-\uDFFF]/.test(ee)||ee.startsWith("get ")||ee.startsWith("set "))return null;let le=x(ee=K(ee.replace(/[/ ]/g,"_")));Pe(le,fe.originalNode);let Se={needsRename:!1,name:ee},{scope:Ee}=this,Be=Ee.getOwnBinding(ee);if(Be?Be.kind==="param"&&(Se.needsRename=!0):(Ee.parent.hasBinding(ee)||Ee.hasGlobal(ee))&&this.traverse(ze,Se),!Se.needsRename)return this.node.id=le,Ee.getProgramParent().references[le.name]=!0,this;if(Ee.hasBinding(le.name)&&!Ee.hasGlobal(le.name))return Ee.rename(le.name),this.node.id=le,Ee.getProgramParent().references[le.name]=!0,this;if(!$(this.node))return null;let Qe=Ee.generateUidIdentifier(le.name),ce=[];for(let et=0,ut=tt(this.node);et<ut;et++)ce.push(Ee.generateUidIdentifier("x"));let $e=c.default.expression.ast`
|
|
(function (${Qe}) {
|
|
function ${le}(${ce}) {
|
|
return ${X(Qe)}.apply(this, arguments);
|
|
}
|
|
|
|
${X(le)}.toString = function () {
|
|
return ${X(Qe)}.toString();
|
|
}
|
|
|
|
return ${X(le)};
|
|
})(${B(this.node)})
|
|
`;return this.replaceWith($e)[0].get("arguments.0")}function tt(ge){let fe=ge.params.findIndex(ee=>W(ee)||Z(ee));return fe===-1?ge.params.length:fe}},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/evaluation.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.evaluate=x,e.evaluateTruthy=h;let l=["Number","String","Math"],n=["isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent",null,null],c=["random"];function p(v){return l.includes(v)}function i(v){return n.includes(v)}function o(v){return c.includes(v)}function h(){let v=this.evaluate();if(v.confident)return!!v.value}function d(v,E){E.confident&&(E.deoptPath=v,E.confident=!1)}let f=new Map([["undefined",void 0],["Infinity",1/0],["NaN",NaN]]);function b(v,E){let{node:S}=v,{seen:_}=E;if(_.has(S)){let A=_.get(S);return A.resolved?A.value:void d(v,E)}{let A={resolved:!1};_.set(S,A);let L=m(v,E);return E.confident&&(A.resolved=!0,A.value=L),L}}function m(v,E){if(E.confident){if(v.isSequenceExpression()){let _=v.get("expressions");return b(_[_.length-1],E)}if(v.isStringLiteral()||v.isNumericLiteral()||v.isBooleanLiteral())return v.node.value;if(v.isNullLiteral())return null;if(v.isTemplateLiteral())return y(v,v.node.quasis,E);if(v.isTaggedTemplateExpression()&&v.get("tag").isMemberExpression()){let _=v.get("tag.object"),{node:{name:A}}=_,L=v.get("tag.property");if(_.isIdentifier()&&A==="String"&&!v.scope.getBinding(A)&&L.isIdentifier()&&L.node.name==="raw")return y(v,v.node.quasi.quasis,E,!0)}if(v.isConditionalExpression()){let _=b(v.get("test"),E);return E.confident?b(_?v.get("consequent"):v.get("alternate"),E):void 0}if(v.isExpressionWrapper())return b(v.get("expression"),E);if(v.isMemberExpression()&&!v.parentPath.isCallExpression({callee:v.node})){let _=v.get("property"),A=v.get("object");if(A.isLiteral()){let L=A.node.value,j=typeof L,F=null;if(v.node.computed){if(F=b(_,E),!E.confident)return}else _.isIdentifier()&&(F=_.node.name);if((j==="number"||j==="string")&&F!=null&&(typeof F=="number"||typeof F=="string"))return L[F]}}if(v.isReferencedIdentifier()){let _=v.scope.getBinding(v.node.name);if(_){if(_.constantViolations.length>0||v.node.start<_.path.node.end)return void d(_.path,E);let F=_.path.scope;if(_.kind==="var"&&F!==_.scope){let k=!F.path.parentPath.isBlockStatement();for(let U=F.parent;U;U=U.parent){var S;if(U===v.scope){if(k)return void d(_.path,E);break}(S=U.path.parentPath)!=null&&S.isBlockStatement()&&(k=!0)}}if(_.hasValue)return _.value}let A=v.node.name;if(f.has(A))return _?void d(_.path,E):f.get(A);let L=v.resolve();if(L===v)return void d(v,E);let j=b(L,E);return typeof j=="object"&&j!==null&&_.references>1?void d(L,E):j}if(v.isUnaryExpression({prefix:!0})){if(v.node.operator==="void")return;let _=v.get("argument");if(v.node.operator==="typeof"&&(_.isFunction()||_.isClass()))return"function";let A=b(_,E);if(!E.confident)return;switch(v.node.operator){case"!":return!A;case"+":return+A;case"-":return-A;case"~":return~A;case"typeof":return typeof A}}if(v.isArrayExpression()){let _=[];for(let A of v.get("elements")){let L=A.evaluate();if(!L.confident)return void d(L.deopt,E);_.push(L.value)}return _}if(v.isObjectExpression()){let _={};for(let A of v.get("properties")){let L;if(A.isObjectMethod()||A.isSpreadElement())return void d(A,E);let j=A.get("key");if(A.node.computed){if(!(L=j.evaluate()).confident)return void d(L.deopt,E);L=L.value}else L=j.isIdentifier()?j.node.name:j.node.value;let F=A.get("value").evaluate();if(!F.confident)return void d(F.deopt,E);F=F.value,_[L]=F}return _}if(v.isLogicalExpression()){let _=E.confident,A=b(v.get("left"),E),L=E.confident;E.confident=_;let j=b(v.get("right"),E),F=E.confident;switch(v.node.operator){case"||":return E.confident=L&&(!!A||F),E.confident?A||j:void 0;case"&&":return E.confident=L&&(!A||F),E.confident?A&&j:void 0;case"??":return E.confident=L&&(A!=null||F),E.confident?A??j:void 0}}if(v.isBinaryExpression()){let _=b(v.get("left"),E);if(!E.confident)return;let A=b(v.get("right"),E);if(!E.confident)return;switch(v.node.operator){case"-":return _-A;case"+":return _+A;case"/":return _/A;case"*":return _*A;case"%":return _%A;case"**":return Math.pow(_,A);case"<":return _<A;case">":return _>A;case"<=":return _<=A;case">=":return _>=A;case"==":return _==A;case"!=":return _!=A;case"===":return _===A;case"!==":return _!==A;case"|":return _|A;case"&":return _&A;case"^":return _^A;case"<<":return _<<A;case">>":return _>>A;case">>>":return _>>>A}}if(v.isCallExpression()){let _,A,L=v.get("callee");if(L.isIdentifier()&&!v.scope.getBinding(L.node.name)&&(p(L.node.name)||i(L.node.name))&&(A=global[L.node.name]),L.isMemberExpression()){let j=L.get("object"),F=L.get("property");if(j.isIdentifier()&&F.isIdentifier()&&p(j.node.name)&&!o(F.node.name)){_=global[j.node.name];let k=F.node.name;hasOwnProperty.call(_,k)&&(A=_[k])}if(j.isLiteral()&&F.isIdentifier()){let k=typeof j.node.value;(k==="string"||k==="number")&&(A=(_=j.node.value)[F.node.name])}}if(A){let j=v.get("arguments").map(F=>b(F,E));return E.confident?A.apply(_,j):void 0}}d(v,E)}}function y(v,E,S,_=!1){let A="",L=0,j=v.isTemplateLiteral()?v.get("expressions"):v.get("quasi.expressions");for(let F of E){if(!S.confident)break;A+=_?F.value.raw:F.value.cooked;let k=j[L++];k&&(A+=String(b(k,S)))}if(S.confident)return A}function x(){let v={confident:!0,deoptPath:null,seen:new Map},E=b(this,v);return v.confident||(E=void 0),{confident:v.confident,deopt:v.deoptPath,value:E}}},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/family.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._getKey=z,e._getPattern=C,e.get=U,e.getAllNextSiblings=F,e.getAllPrevSiblings=k,e.getAssignmentIdentifiers=R,e.getBindingIdentifierPaths=B,e.getBindingIdentifiers=G,e.getCompletionRecords=_,e.getNextSibling=j,e.getOpposite=b,e.getOuterBindingIdentifierPaths=q,e.getOuterBindingIdentifiers=V,e.getPrevSibling=L,e.getSibling=A;var n=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/index.js");let{getAssignmentIdentifiers:c,getBindingIdentifiers:p,getOuterBindingIdentifiers:i,numericLiteral:o,unaryExpression:h}=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");function d(K){return{type:0,path:K}}function f(K){return{type:1,path:K}}function b(){return this.key==="left"?this.getSibling("right"):this.key==="right"?this.getSibling("left"):null}function m(K,$,W){return K&&$.push(...S(K,W)),$}function y(K,$,W){let Z=[];for(let Q=0;Q<K.length;Q++){let X=S(K[Q],W),ie=[],oe=[];for(let be of X)be.type===0&&ie.push(be),be.type===1&&oe.push(be);ie.length&&(Z=ie),$.push(...oe)}return $.push(...Z),$}function x(K){K.forEach($=>{$.type=1})}function v(K,$){K.forEach(W=>{W.path.isBreakStatement({label:null})&&($?W.path.replaceWith(h("void",o(0))):W.path.remove())})}function E(K,$){let W=[];if($.canHaveBreak){let Z=[];for(let Q=0;Q<K.length;Q++){let X=K[Q],ie=Object.assign({},$,{inCaseClause:!1});X.isBlockStatement()&&($.inCaseClause||$.shouldPopulateBreak)?ie.shouldPopulateBreak=!0:ie.shouldPopulateBreak=!1;let oe=S(X,ie);if(oe.length>0&&oe.every(be=>be.type===1)){Z.length>0&&oe.every(be=>be.path.isBreakStatement({label:null}))?(x(Z),W.push(...Z),Z.some(be=>be.path.isDeclaration())&&(W.push(...oe),$.shouldPreserveBreak||v(oe,!0)),$.shouldPreserveBreak||v(oe,!1)):(W.push(...oe),$.shouldPopulateBreak||$.shouldPreserveBreak||v(oe,!0));break}if(Q===K.length-1)W.push(...oe);else{Z=[];for(let be=0;be<oe.length;be++){let Ne=oe[be];Ne.type===1&&W.push(Ne),Ne.type===0&&Z.push(Ne)}}}}else if(K.length)for(let Z=K.length-1;Z>=0;Z--){let Q=S(K[Z],$);if(Q.length>1||Q.length===1&&!Q[0].path.isVariableDeclaration()&&!Q[0].path.isEmptyStatement()){W.push(...Q);break}}return W}function S(K,$){let W=[];if(K.isIfStatement())W=m(K.get("consequent"),W,$),W=m(K.get("alternate"),W,$);else{if(K.isDoExpression()||K.isFor()||K.isWhile()||K.isLabeledStatement())return m(K.get("body"),W,$);if(K.isProgram()||K.isBlockStatement())return E(K.get("body"),$);if(K.isFunction())return S(K.get("body"),$);if(K.isTryStatement())W=m(K.get("block"),W,$),W=m(K.get("handler"),W,$);else{if(K.isCatchClause())return m(K.get("body"),W,$);if(K.isSwitchStatement())return y(K.get("cases"),W,$);if(K.isSwitchCase())return E(K.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0,shouldPreserveBreak:$.shouldPreserveBreak});K.isBreakStatement()?W.push(f(K)):W.push(d(K))}}return W}function _(K=!1){return S(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1,shouldPreserveBreak:K}).map($=>$.path)}function A(K){return n.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:K}).setContext(this.context)}function L(){return this.getSibling(this.key-1)}function j(){return this.getSibling(this.key+1)}function F(){let K=this.key,$=this.getSibling(++K),W=[];for(;$.node;)W.push($),$=this.getSibling(++K);return W}function k(){let K=this.key,$=this.getSibling(--K),W=[];for(;$.node;)W.push($),$=this.getSibling(--K);return W}function U(K,$=!0){$===!0&&($=this.context);let W=K.split(".");return W.length===1?z.call(this,K,$):C.call(this,W,$)}function z(K,$){let W=this.node,Z=W[K];return Array.isArray(Z)?Z.map((Q,X)=>n.default.get({listKey:K,parentPath:this,parent:W,container:Z,key:X}).setContext($)):n.default.get({parentPath:this,parent:W,container:W,key:K}).setContext($)}function C(K,$){let W=this;for(let Z of K)W=Z==="."?W.parentPath:Array.isArray(W)?W[Z]:W.get(Z,$);return W}function R(){return c(this.node)}function G(K){return p(this.node,K)}function V(K){return i(this.node,K)}function B(K=!1,$=!1){let W=[this],Z=Object.create(null);for(;W.length;){let Q=W.shift();if(!Q||!Q.node)continue;let X=p.keys[Q.node.type];if(Q.isIdentifier()){K?(Z[Q.node.name]=Z[Q.node.name]||[]).push(Q):Z[Q.node.name]=Q;continue}if(Q.isExportDeclaration()){let ie=Q.get("declaration");ie.isDeclaration()&&W.push(ie);continue}if($){if(Q.isFunctionDeclaration()){W.push(Q.get("id"));continue}if(Q.isFunctionExpression())continue}if(X)for(let ie=0;ie<X.length;ie++){let oe=X[ie],be=Q.get(oe);Array.isArray(be)?W.push(...be):be.node&&W.push(be)}}return Z}function q(K=!1){return this.getBindingIdentifierPaths(K,!0)}},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.SHOULD_STOP=e.SHOULD_SKIP=e.REMOVED=void 0;var n=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/lib/virtual-types.js"),c=l("./node_modules/.pnpm/debug@4.4.3/node_modules/debug/src/index.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/index.js"),i=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/scope/index.js"),o=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),h=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/cache.js"),d=l("./node_modules/.pnpm/@babel+generator@7.28.3/node_modules/@babel/generator/lib/index.js"),f=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/ancestry.js"),b=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/inference/index.js"),m=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/replacement.js"),y=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/evaluation.js"),x=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/conversion.js"),v=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/introspection.js"),E=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/context.js"),S=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/removal.js"),_=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/modification.js"),A=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/family.js"),L=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/comments.js"),j=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js");let{validate:F}=o,k=c("babel");e.REMOVED=1,e.SHOULD_STOP=2,e.SHOULD_SKIP=4;let U=e.default=class NR{constructor(R,G){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._store=null,this.parent=G,this.hub=R,this.data=null,this.context=null,this.scope=null}get removed(){return(1&this._traverseFlags)>0}set removed(R){R?this._traverseFlags|=1:this._traverseFlags&=-2}get shouldStop(){return(2&this._traverseFlags)>0}set shouldStop(R){R?this._traverseFlags|=2:this._traverseFlags&=-3}get shouldSkip(){return(4&this._traverseFlags)>0}set shouldSkip(R){R?this._traverseFlags|=4:this._traverseFlags&=-5}static get({hub:R,parentPath:G,parent:V,container:B,listKey:q,key:K}){if(!R&&G&&(R=G.hub),!V)throw Error("To get a node path the parent needs to exist");let $=B[K],W=h.getOrCreateCachedPaths(V,G),Z=W.get($);return!Z&&(Z=new NR(R,V),$&&W.set($,Z)),E.setup.call(Z,G,B,q,K),Z}getScope(R){return this.isScope()?new i.default(this):R}setData(R,G){return this.data==null&&(this.data=Object.create(null)),this.data[R]=G}getData(R,G){this.data==null&&(this.data=Object.create(null));let V=this.data[R];return V===void 0&&G!==void 0&&(V=this.data[R]=G),V}hasNode(){return this.node!=null}buildCodeFrameError(R,G=SyntaxError){return this.hub.buildError(this.node,R,G)}traverse(R,G){(0,p.default)(this.node,R,this.scope,G,this)}set(R,G){F(this.node,R,G),this.node[R]=G}getPathLocation(){let R=[],G=this;do{let V=G.key;G.inList&&(V=`${G.listKey}[${V}]`),R.unshift(V)}while(G=G.parentPath);return R.join(".")}debug(R){k.enabled&&k(`${this.getPathLocation()} ${this.type}: ${R}`)}toString(){return(0,d.default)(this.node).code}get inList(){return!!this.listKey}set inList(R){R||(this.listKey=null)}get parentKey(){return this.listKey||this.key}},z={findParent:f.findParent,find:f.find,getFunctionParent:f.getFunctionParent,getStatementParent:f.getStatementParent,getEarliestCommonAncestorFrom:f.getEarliestCommonAncestorFrom,getDeepestCommonAncestorFrom:f.getDeepestCommonAncestorFrom,getAncestry:f.getAncestry,isAncestor:f.isAncestor,isDescendant:f.isDescendant,inType:f.inType,getTypeAnnotation:b.getTypeAnnotation,isBaseType:b.isBaseType,couldBeBaseType:b.couldBeBaseType,baseTypeStrictlyMatches:b.baseTypeStrictlyMatches,isGenericType:b.isGenericType,replaceWithMultiple:m.replaceWithMultiple,replaceWithSourceString:m.replaceWithSourceString,replaceWith:m.replaceWith,replaceExpressionWithStatements:m.replaceExpressionWithStatements,replaceInline:m.replaceInline,evaluateTruthy:y.evaluateTruthy,evaluate:y.evaluate,toComputedKey:x.toComputedKey,ensureBlock:x.ensureBlock,unwrapFunctionEnvironment:x.unwrapFunctionEnvironment,arrowFunctionToExpression:x.arrowFunctionToExpression,splitExportDeclaration:x.splitExportDeclaration,ensureFunctionName:x.ensureFunctionName,matchesPattern:v.matchesPattern,isStatic:v.isStatic,isNodeType:v.isNodeType,canHaveVariableDeclarationOrExpression:v.canHaveVariableDeclarationOrExpression,canSwapBetweenExpressionAndStatement:v.canSwapBetweenExpressionAndStatement,isCompletionRecord:v.isCompletionRecord,isStatementOrBlock:v.isStatementOrBlock,referencesImport:v.referencesImport,getSource:v.getSource,willIMaybeExecuteBefore:v.willIMaybeExecuteBefore,_guessExecutionStatusRelativeTo:v._guessExecutionStatusRelativeTo,resolve:v.resolve,isConstantExpression:v.isConstantExpression,isInStrictMode:v.isInStrictMode,isDenylisted:E.isDenylisted,visit:E.visit,skip:E.skip,skipKey:E.skipKey,stop:E.stop,setContext:E.setContext,requeue:E.requeue,requeueComputedKeyAndDecorators:E.requeueComputedKeyAndDecorators,remove:S.remove,insertBefore:_.insertBefore,insertAfter:_.insertAfter,unshiftContainer:_.unshiftContainer,pushContainer:_.pushContainer,getOpposite:A.getOpposite,getCompletionRecords:A.getCompletionRecords,getSibling:A.getSibling,getPrevSibling:A.getPrevSibling,getNextSibling:A.getNextSibling,getAllNextSiblings:A.getAllNextSiblings,getAllPrevSiblings:A.getAllPrevSiblings,get:A.get,getAssignmentIdentifiers:A.getAssignmentIdentifiers,getBindingIdentifiers:A.getBindingIdentifiers,getOuterBindingIdentifiers:A.getOuterBindingIdentifiers,getBindingIdentifierPaths:A.getBindingIdentifierPaths,getOuterBindingIdentifierPaths:A.getOuterBindingIdentifierPaths,shareCommentsWithSiblings:L.shareCommentsWithSiblings,addComment:L.addComment,addComments:L.addComments};for(let C of(Object.assign(U.prototype,z),U.prototype.arrowFunctionToShadowed=x.arrowFunctionToShadowed,Object.assign(U.prototype,{has:v.has,is:v.is,isnt:v.isnt,equals:v.equals,hoist:_.hoist,updateSiblingKeys:_.updateSiblingKeys,call:E.call,isBlacklisted:E.isBlacklisted,setScope:E.setScope,resync:E.resync,popContext:E.popContext,pushContext:E.pushContext,setup:E.setup,setKey:E.setKey}),U.prototype._guessExecutionStatusRelativeToDifferentFunctions=v._guessExecutionStatusRelativeTo,U.prototype._guessExecutionStatusRelativeToDifferentFunctions=v._guessExecutionStatusRelativeTo,Object.assign(U.prototype,{_getTypeAnnotation:b._getTypeAnnotation,_replaceWith:m._replaceWith,_resolve:v._resolve,_call:E._call,_resyncParent:E._resyncParent,_resyncKey:E._resyncKey,_resyncList:E._resyncList,_resyncRemoved:E._resyncRemoved,_getQueueContexts:E._getQueueContexts,_removeFromScope:S._removeFromScope,_callRemovalHooks:S._callRemovalHooks,_remove:S._remove,_markRemoved:S._markRemoved,_assertUnremoved:S._assertUnremoved,_containerInsert:_._containerInsert,_containerInsertBefore:_._containerInsertBefore,_containerInsertAfter:_._containerInsertAfter,_verifyNodeList:_._verifyNodeList,_getKey:A._getKey,_getPattern:A._getPattern}),o.TYPES)){let R=`is${C}`,G=o[R];U.prototype[R]=function(V){return G(this.node,V)},U.prototype[`assert${C}`]=function(V){if(!G(this.node,V))throw TypeError(`Expected node path of type ${C}`)}}for(let C of(Object.assign(U.prototype,j),Object.keys(n)))C[0]!=="_"&&(o.TYPES.includes(C)||o.TYPES.push(C))},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/inference/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._getTypeAnnotation=C,e.baseTypeStrictlyMatches=B,e.couldBeBaseType=V,e.getTypeAnnotation=U,e.isBaseType=R,e.isGenericType=q;var n=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/inference/inferers.js");let{anyTypeAnnotation:c,isAnyTypeAnnotation:p,isArrayTypeAnnotation:i,isBooleanTypeAnnotation:o,isEmptyTypeAnnotation:h,isFlowBaseAnnotation:d,isGenericTypeAnnotation:f,isIdentifier:b,isMixedTypeAnnotation:m,isNumberTypeAnnotation:y,isStringTypeAnnotation:x,isTSArrayType:v,isTSTypeAnnotation:E,isTSTypeReference:S,isTupleTypeAnnotation:_,isTypeAnnotation:A,isUnionTypeAnnotation:L,isVoidTypeAnnotation:j,stringTypeAnnotation:F,voidTypeAnnotation:k}=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");function U(){let K=this.getData("typeAnnotation");return K!=null||((A(K=C.call(this)||c())||E(K))&&(K=K.typeAnnotation),this.setData("typeAnnotation",K)),K}let z=new WeakSet;function C(){let K=this.node;if(!K)if(this.key==="init"&&this.parentPath.isVariableDeclarator()){let W=this.parentPath.parentPath,Z=W.parentPath;return W.key==="left"&&Z.isForInStatement()?F():W.key==="left"&&Z.isForOfStatement()?c():k()}else return;if(K.typeAnnotation)return K.typeAnnotation;if(!z.has(K)){z.add(K);try{var $;let W=n[K.type];if(W)return W.call(this,K);if(W=n[this.parentPath.type],($=W)!=null&&$.validParent)return this.parentPath.getTypeAnnotation()}finally{z.delete(K)}}}function R(K,$){return G(K,this.getTypeAnnotation(),$)}function G(K,$,W){if(K==="string")return x($);if(K==="number")return y($);if(K==="boolean")return o($);if(K==="any")return p($);if(K==="mixed")return m($);if(K==="empty")return h($);if(K==="void")return j($);if(W)return!1;throw Error(`Unknown base type ${K}`)}function V(K){let $=this.getTypeAnnotation();if(p($))return!0;if(!L($))return G(K,$,!0);for(let W of $.types)if(p(W)||G(K,W,!0))return!0;return!1}function B(K){let $=this.getTypeAnnotation(),W=K.getTypeAnnotation();return!!(!p($)&&d($))&&W.type===$.type}function q(K){let $=this.getTypeAnnotation();return!!(K==="Array"&&(v($)||i($)||_($)))||f($)&&b($.id,{name:K})||S($)&&b($.typeName,{name:K})}},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=d;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/inference/util.js");let{BOOLEAN_NUMBER_BINARY_OPERATORS:p,createTypeAnnotationBasedOnTypeof:i,numberTypeAnnotation:o,voidTypeAnnotation:h}=n;function d(v){if(!this.isReferenced())return;let E=this.scope.getBinding(v.name);return E?E.identifier.typeAnnotation?E.identifier.typeAnnotation:f(E,this,v.name):v.name==="undefined"?h():v.name==="NaN"||v.name==="Infinity"?o():void v.name}function f(v,E,S){let _=[],A=[],L=b(v,E,A),j=x(v,E,S);if(j){let F=b(v,j.ifStatement);L=L.filter(k=>!F.includes(k)),_.push(j.typeAnnotation)}if(L.length)for(let F of(L.push(...A),L))_.push(F.getTypeAnnotation());if(_.length)return(0,c.createUnionType)(_)}function b(v,E,S){let _=v.constantViolations.slice();return _.unshift(v.path),_.filter(A=>{let L=(A=A.resolve())._guessExecutionStatusRelativeTo(E);return S&&L==="unknown"&&S.push(A),L==="before"})}function m(v,E){let S,_,A,L=E.node.operator,j=E.get("right").resolve(),F=E.get("left").resolve();if(F.isIdentifier({name:v})?S=j:j.isIdentifier({name:v})&&(S=F),S)return L==="==="?S.getTypeAnnotation():p.includes(L)?o():void 0;if(L!=="==="&&L!=="=="||(F.isUnaryExpression({operator:"typeof"})?(_=F,A=j):j.isUnaryExpression({operator:"typeof"})&&(_=j,A=F),!_||!_.get("argument").isIdentifier({name:v})||!(A=A.resolve()).isLiteral()))return;let k=A.node.value;if(typeof k=="string")return i(k)}function y(v,E,S){let _;for(;_=E.parentPath;){if(_.isIfStatement()||_.isConditionalExpression())return E.key==="test"?void 0:_;if(_.isFunction()&&_.parentPath.scope.getBinding(S)!==v)return;E=_}}function x(v,E,S){let _=y(v,E,S);if(!_)return;let A=[_.get("test")],L=[];for(let j=0;j<A.length;j++){let F=A[j];if(F.isLogicalExpression())F.node.operator==="&&"&&(A.push(F.get("left")),A.push(F.get("right")));else if(F.isBinaryExpression()){let k=m(S,F);k&&L.push(k)}}return L.length?{typeAnnotation:(0,c.createUnionType)(L),ifStatement:_}:x(v,_,S)}},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/inference/inferers.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.ArrayExpression=We,e.AssignmentExpression=Q,e.BinaryExpression=q,e.BooleanLiteral=be,e.CallExpression=Te,e.ConditionalExpression=$,e.ClassDeclaration=e.ClassExpression=e.FunctionDeclaration=e.ArrowFunctionExpression=e.FunctionExpression=de,Object.defineProperty(e,"Identifier",{enumerable:!0,get:function(){return c.default}}),e.LogicalExpression=K,e.NewExpression=G,e.NullLiteral=Ne,e.NumericLiteral=oe,e.ObjectExpression=Ke,e.ParenthesizedExpression=Z,e.RegExpLiteral=Pe,e.RestElement=Oe,e.SequenceExpression=W,e.StringLiteral=ie,e.TSAsExpression=C,e.TSNonNullExpression=R,e.TaggedTemplateExpression=Ce,e.TemplateLiteral=V,e.TypeCastExpression=z,e.UnaryExpression=B,e.UpdateExpression=X,e.VariableDeclarator=U;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/inference/inferer-reference.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/inference/util.js");let{BOOLEAN_BINARY_OPERATORS:i,BOOLEAN_UNARY_OPERATORS:o,NUMBER_BINARY_OPERATORS:h,NUMBER_UNARY_OPERATORS:d,STRING_UNARY_OPERATORS:f,anyTypeAnnotation:b,arrayTypeAnnotation:m,booleanTypeAnnotation:y,buildMatchMemberExpression:x,genericTypeAnnotation:v,identifier:E,nullLiteralTypeAnnotation:S,numberTypeAnnotation:_,stringTypeAnnotation:A,tupleTypeAnnotation:L,unionTypeAnnotation:j,voidTypeAnnotation:F,isIdentifier:k}=n;function U(){if(this.get("id").isIdentifier())return this.get("init").getTypeAnnotation()}function z(pe){return pe.typeAnnotation}function C(pe){return pe.typeAnnotation}function R(){return this.get("expression").getTypeAnnotation()}function G(pe){if(pe.callee.type==="Identifier")return v(pe.callee)}function V(){return A()}function B(pe){let nt=pe.operator;return nt==="void"?F():d.includes(nt)?_():f.includes(nt)?A():o.includes(nt)?y():void 0}function q(pe){let nt=pe.operator;if(h.includes(nt))return _();if(i.includes(nt))return y();if(nt==="+"){let ft=this.get("right"),_t=this.get("left");return _t.isBaseType("number")&&ft.isBaseType("number")?_():_t.isBaseType("string")||ft.isBaseType("string")?A():j([A(),_()])}}function K(){let pe=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];return(0,p.createUnionType)(pe)}function $(){let pe=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];return(0,p.createUnionType)(pe)}function W(){return this.get("expressions").pop().getTypeAnnotation()}function Z(){return this.get("expression").getTypeAnnotation()}function Q(){return this.get("right").getTypeAnnotation()}function X(pe){let nt=pe.operator;if(nt==="++"||nt==="--")return _()}function ie(){return A()}function oe(){return _()}function be(){return y()}function Ne(){return S()}function Pe(){return v(E("RegExp"))}function Ke(){return v(E("Object"))}function We(){return v(E("Array"))}function Oe(){return We()}function de(){return v(E("Function"))}z.validParent=!0,C.validParent=!0,Oe.validParent=!0;let xe=x("Array.from"),ye=x("Object.keys"),ve=x("Object.values"),he=x("Object.entries");function Te(){let{callee:pe}=this.node;return ye(pe)?m(A()):xe(pe)||ve(pe)||k(pe,{name:"Array"})?m(b()):he(pe)?m(L([A(),b()])):se(this.get("callee"))}function Ce(){return se(this.get("tag"))}function se(pe){if((pe=pe.resolve()).isFunction()){let{node:nt}=pe;if(nt.async)return nt.generator?v(E("AsyncIterator")):v(E("Promise"));if(nt.generator)return v(E("Iterator"));if(pe.node.returnType)return pe.node.returnType}}},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/inference/util.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createUnionType=h;let{createFlowUnionType:n,createTSUnionType:c,createUnionTypeAnnotation:p,isFlowType:i,isTSType:o}=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");function h(d){return d.every(f=>i(f))?n?n(d):p(d):d.every(f=>o(f))&&c?c(d):void 0}},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/introspection.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._guessExecutionStatusRelativeTo=C,e._resolve=q,e.canHaveVariableDeclarationOrExpression=v,e.canSwapBetweenExpressionAndStatement=E,e.getSource=L,e.isCompletionRecord=S,e.isConstantExpression=K,e.isInStrictMode=$,e.isNodeType=x,e.isStatementOrBlock=_,e.isStatic=y,e.matchesPattern=m,e.referencesImport=A,e.resolve=B,e.willIMaybeExecuteBefore=j;let{STATEMENT_OR_BLOCK_KEYS:n,VISITOR_KEYS:c,isBlockStatement:p,isExpression:i,isIdentifier:o,isLiteral:h,isStringLiteral:d,isType:f,matchesPattern:b}=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");function m(W,Z){return b(this.node,W,Z)}function y(){return this.scope.isStatic(this.node)}function x(W){return f(this.type,W)}function v(){return(this.key==="init"||this.key==="left")&&this.parentPath.isFor()}function E(W){return this.key==="body"&&!!this.parentPath.isArrowFunctionExpression()&&(this.isExpression()?p(W):!!this.isBlockStatement()&&i(W))}function S(W){let Z=this,Q=!0;do{let{type:X,container:ie}=Z;if(!Q&&(Z.isFunction()||X==="StaticBlock"))return!!W;if(Q=!1,Array.isArray(ie)&&Z.key!==ie.length-1)return!1}while((Z=Z.parentPath)&&!Z.isProgram()&&!Z.isDoExpression());return!0}function _(){return!(this.parentPath.isLabeledStatement()||p(this.container))&&n.includes(this.key)}function A(W,Z){if(!this.isReferencedIdentifier()){if(this.isJSXMemberExpression()&&this.node.property.name===Z||(this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?d(this.node.property,{value:Z}):this.node.property.name===Z)){let oe=this.get("object");return oe.isReferencedIdentifier()&&oe.referencesImport(W,"*")}return!1}let Q=this.scope.getBinding(this.node.name);if(!Q||Q.kind!=="module")return!1;let X=Q.path,ie=X.parentPath;return!!ie.isImportDeclaration()&&ie.node.source.value===W&&(!Z||!!(X.isImportDefaultSpecifier()&&Z==="default"||X.isImportNamespaceSpecifier()&&Z==="*"||X.isImportSpecifier()&&o(X.node.imported,{name:Z})))}function L(){let W=this.node;if(W.end){let Z=this.hub.getCode();if(Z)return Z.slice(W.start,W.end)}return""}function j(W){return this._guessExecutionStatusRelativeTo(W)!=="after"}function F(W){return W.isProgram()?W:(W.parentPath.scope.getFunctionParent()||W.parentPath.scope.getProgramParent()).path}function k(W,Z){switch(W){case"LogicalExpression":case"AssignmentPattern":return Z==="right";case"ConditionalExpression":case"IfStatement":return Z==="consequent"||Z==="alternate";case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return Z==="body";case"ForStatement":return Z==="body"||Z==="update";case"SwitchStatement":return Z==="cases";case"TryStatement":return Z==="handler";case"OptionalMemberExpression":return Z==="property";case"OptionalCallExpression":return Z==="arguments";default:return!1}}function U(W,Z){for(let Q=0;Q<Z;Q++){let X=W[Q];if(k(X.parent.type,X.parentKey))return!0}return!1}e.has=function(W){var Z;let Q=(Z=this.node)==null?void 0:Z[W];return Q&&Array.isArray(Q)?!!Q.length:!!Q},e.is=e.has,e.isnt=function(W){return!this.has(W)},e.equals=function(W,Z){return this.node[W]===Z};let z=Symbol();function C(W){return R(this,W,new Map)}function R(W,Z,Q){let X,ie={this:F(W),target:F(Z)};if(ie.target.node!==ie.this.node)return V(W,ie.target,Q);let oe={target:Z.getAncestry(),this:W.getAncestry()};if(oe.target.includes(W))return"after";if(oe.this.includes(Z))return"before";let be={target:0,this:0};for(;!X&&be.this<oe.this.length;){let We=oe.this[be.this];be.target=oe.target.indexOf(We),be.target>=0?X=We:be.this++}if(!X)throw Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(U(oe.this,be.this-1)||U(oe.target,be.target-1))return"unknown";let Ne={this:oe.this[be.this-1],target:oe.target[be.target-1]};if(Ne.target.listKey&&Ne.this.listKey&&Ne.target.container===Ne.this.container)return Ne.target.key>Ne.this.key?"before":"after";let Pe=c[X.type],Ke={this:Pe.indexOf(Ne.this.parentKey),target:Pe.indexOf(Ne.target.parentKey)};return Ke.target>Ke.this?"before":"after"}function G(W,Z,Q){let X;if(!Z.isFunctionDeclaration())return R(W,Z,Q)==="before"?"before":"unknown";if(Z.parentPath.isExportDeclaration())return"unknown";let ie=Z.scope.getBinding(Z.node.id.name);if(!ie.references)return"before";for(let oe of ie.referencePaths){if(oe.find(Ne=>Ne.node===Z.node))continue;if(oe.key!=="callee"||!oe.parentPath.isCallExpression())return"unknown";let be=R(W,oe,Q);if(X&&X!==be)return"unknown";X=be}return X}function V(W,Z,Q){let X,ie=Q.get(W.node);if(ie){if(X=ie.get(Z.node))return X===z?"unknown":X}else Q.set(W.node,ie=new Map);ie.set(Z.node,z);let oe=G(W,Z,Q);return ie.set(Z.node,oe),oe}function B(W,Z){return q.call(this,W,Z)||this}function q(W,Z){var Q;if(!((Q=Z)!=null&&Q.includes(this)))if((Z=Z||[]).push(this),this.isVariableDeclarator()){if(this.get("id").isIdentifier())return this.get("init").resolve(W,Z)}else if(this.isReferencedIdentifier()){let X=this.scope.getBinding(this.node.name);if(!X||!X.constant||X.kind==="module")return;if(X.path!==this){let ie=X.path.resolve(W,Z);return this.find(oe=>oe.node===ie.node)?void 0:ie}}else{if(this.isTypeCastExpression())return this.get("expression").resolve(W,Z);if(W&&this.isMemberExpression()){let X=this.toComputedKey();if(!h(X))return;let ie=X.value,oe=this.get("object").resolve(W,Z);if(oe.isObjectExpression())for(let be of oe.get("properties")){if(!be.isProperty())continue;let Ne=be.get("key"),Pe=be.isnt("computed")&&Ne.isIdentifier({name:ie});if(Pe=Pe||Ne.isLiteral({value:ie}))return be.get("value").resolve(W,Z)}else if(oe.isArrayExpression()&&!isNaN(+ie)){let be=oe.get("elements")[ie];if(be)return be.resolve(W,Z)}}}}function K(){if(this.isIdentifier()){let W=this.scope.getBinding(this.node.name);return!!W&&W.constant}if(this.isLiteral())return!this.isRegExpLiteral()&&(!this.isTemplateLiteral()||this.get("expressions").every(W=>W.isConstantExpression()));if(this.isUnaryExpression())return this.node.operator==="void"&&this.get("argument").isConstantExpression();if(this.isBinaryExpression()){let{operator:W}=this.node;return W!=="in"&&W!=="instanceof"&&this.get("left").isConstantExpression()&&this.get("right").isConstantExpression()}return this.isMemberExpression()?!this.node.computed&&this.get("object").isIdentifier({name:"Symbol"})&&!this.scope.hasBinding("Symbol",{noGlobals:!0}):!!this.isCallExpression()&&this.node.arguments.length===1&&this.get("callee").matchesPattern("Symbol.for")&&!this.scope.hasBinding("Symbol",{noGlobals:!0})&&this.get("arguments")[0].isStringLiteral()}function $(){return!!(this.isProgram()?this:this.parentPath).find(W=>{let Z;if(W.isProgram({sourceType:"module"})||W.isClass())return!0;if(W.isArrowFunctionExpression()&&!W.get("body").isBlockStatement())return!1;if(W.isFunction())Z=W.node.body;else{if(!W.isProgram())return!1;Z=W.node}for(let Q of Z.directives)if(Q.value.value==="use strict")return!0})}},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/lib/hoister.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");let{react:c}=n,{cloneNode:p,jsxExpressionContainer:i,variableDeclaration:o,variableDeclarator:h}=n,d={ReferencedIdentifier(b,m){if(b.isJSXIdentifier()&&c.isCompatTag(b.node.name)&&!b.parentPath.isJSXMemberExpression())return;if(b.node.name==="this"){let x=b.scope;do if(x.path.isFunction()&&!x.path.isArrowFunctionExpression())break;while(x=x.parent);x&&m.breakOnScopePaths.push(x.path)}let y=b.scope.getBinding(b.node.name);if(y){for(let x of y.constantViolations)if(x.scope!==y.path.scope){m.mutableBinding=!0,b.stop();return}y===m.scope.getBinding(b.node.name)&&(m.bindings[b.node.name]=y)}}},f=class{constructor(m,y){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=y,this.path=m,this.attachAfter=!1}isCompatibleScope(m){for(let y of Object.keys(this.bindings)){let x=this.bindings[y];if(!m.bindingIdentifierEquals(y,x.identifier))return!1}return!0}getCompatibleScopes(){let m=this.path.scope;do{if(this.isCompatibleScope(m))this.scopes.push(m);else break;if(this.breakOnScopePaths.includes(m.path))break}while(m=m.parent)}getAttachmentPath(){let m=this._getAttachmentPath();if(!m)return;let y=m.scope;if(y.path===m&&(y=m.scope.parent),y.path.isProgram()||y.path.isFunction())for(let x of Object.keys(this.bindings)){if(!y.hasOwnBinding(x))continue;let v=this.bindings[x];if(v.kind!=="param"&&v.path.parentKey!=="params"&&this.getAttachmentParentForPath(v.path).key>=m.key)for(let E of(this.attachAfter=!0,m=v.path,v.constantViolations))this.getAttachmentParentForPath(E).key>m.key&&(m=E)}return m}_getAttachmentPath(){let m=this.scopes.pop();if(m){if(m.path.isFunction())if(this.hasOwnParamBindings(m)){if(this.scope===m)return;let y=m.path.get("body").get("body");for(let x=0;x<y.length;x++)if(!y[x].node._blockHoist)return y[x]}else return this.getNextScopeAttachmentParent();else if(m.path.isProgram())return this.getNextScopeAttachmentParent()}}getNextScopeAttachmentParent(){let m=this.scopes.pop();if(m)return this.getAttachmentParentForPath(m.path)}getAttachmentParentForPath(m){do if(!m.parentPath||Array.isArray(m.container)&&m.isStatement())return m;while(m=m.parentPath)}hasOwnParamBindings(m){for(let y of Object.keys(this.bindings)){if(!m.hasOwnBinding(y))continue;let x=this.bindings[y];if(x.kind==="param"&&x.constant)return!0}return!1}run(){if(this.path.traverse(d,this),this.mutableBinding)return;this.getCompatibleScopes();let m=this.getAttachmentPath();if(!m||m.getFunctionParent()===this.path.getFunctionParent())return;let y=m.scope.generateUidIdentifier("ref"),x=h(y,this.path.node),[v]=m[this.attachAfter?"insertAfter":"insertBefore"]([m.isVariableDeclarator()?x:o("var",[x])]),E=this.path.parentPath;return E.isJSXElement()&&this.path.container===E.node.children&&(y=i(y)),this.path.replaceWith(p(y)),v.isVariableDeclarator()?v.get("init"):v.get("declarations.0.init")}};e.default=f},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.hooks=void 0,e.hooks=[function(l,n){if(l.key==="test"&&(n.isWhile()||n.isSwitchCase())||l.key==="declaration"&&n.isExportDeclaration()||l.key==="body"&&n.isLabeledStatement()||l.listKey==="declarations"&&n.isVariableDeclaration()&&n.node.declarations.length===1||l.key==="expression"&&n.isExpressionStatement())return n.remove(),!0},function(l,n){if(n.isSequenceExpression()&&n.node.expressions.length===1)return n.replaceWith(n.node.expressions[0]),!0},function(l,n){if(n.isBinary())return l.key==="left"?n.replaceWith(n.node.right):n.replaceWith(n.node.left),!0},function(l,n){if(n.isIfStatement()&&l.key==="consequent"||l.key==="body"&&(n.isLoop()||n.isArrowFunctionExpression()))return l.replaceWith({type:"BlockStatement",body:[]}),!0}]},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isBindingIdentifier=R,e.isBlockScoped=K,e.isExpression=V,e.isFlow=X,e.isForAwaitStatement=be,e.isGenerated=Z,e.isPure=Q,e.isReferenced=q,e.isReferencedIdentifier=z,e.isReferencedMemberExpression=C,e.isRestProperty=ie,e.isScope=B,e.isSpreadProperty=oe,e.isStatement=G,e.isUser=W,e.isVar=$;let{isBinding:n,isBlockScoped:c,isExportDeclaration:p,isExpression:i,isFlow:o,isForStatement:h,isForXStatement:d,isIdentifier:f,isImportDeclaration:b,isImportSpecifier:m,isJSXIdentifier:y,isJSXMemberExpression:x,isMemberExpression:v,isRestElement:E,isReferenced:S,isScope:_,isStatement:A,isVar:L,isVariableDeclaration:j,react:F,isForOfStatement:k}=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),{isCompatTag:U}=F;function z(Ne){let{node:Pe,parent:Ke}=this;if(!f(Pe,Ne)&&!x(Ke,Ne))if(y(Pe,Ne)){if(U(Pe.name))return!1}else return!1;return S(Pe,Ke,this.parentPath.parent)}function C(){let{node:Ne,parent:Pe}=this;return v(Ne)&&S(Ne,Pe)}function R(){let{node:Ne,parent:Pe}=this,Ke=this.parentPath.parent;return f(Ne)&&n(Ne,Pe,Ke)}function G(){let{node:Ne,parent:Pe}=this;return!(!A(Ne)||j(Ne)&&(d(Pe,{left:Ne})||h(Pe,{init:Ne})))&&!0}function V(){return this.isIdentifier()?this.isReferencedIdentifier():i(this.node)}function B(){return _(this.node,this.parent)}function q(){return S(this.node,this.parent)}function K(){return c(this.node)}function $(){return L(this.node)}function W(){return this.node&&!!this.node.loc}function Z(){return!this.isUser()}function Q(Ne){return this.scope.isPure(this.node,Ne)}function X(){let{node:Ne}=this;return!!o(Ne)||(b(Ne)?Ne.importKind==="type"||Ne.importKind==="typeof":p(Ne)?Ne.exportKind==="type":!!m(Ne)&&(Ne.importKind==="type"||Ne.importKind==="typeof"))}function ie(){var Ne;return E(this.node)&&((Ne=this.parentPath)==null?void 0:Ne.isObjectPattern())}function oe(){var Ne;return E(this.node)&&((Ne=this.parentPath)==null?void 0:Ne.isObjectExpression())}function be(){return k(this.node,{await:!0})}e.isExistentialTypeParam=function(){throw Error("`path.isExistentialTypeParam` has been renamed to `path.isExistsTypeAnnotation()` in Babel 7.")},e.isNumericLiteralTypeAnnotation=function(){throw Error("`path.isNumericLiteralTypeAnnotation()` has been renamed to `path.isNumberLiteralTypeAnnotation()` in Babel 7.")}},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/lib/virtual-types.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.Var=e.User=e.Statement=e.SpreadProperty=e.Scope=e.RestProperty=e.ReferencedMemberExpression=e.ReferencedIdentifier=e.Referenced=e.Pure=e.NumericLiteralTypeAnnotation=e.Generated=e.ForAwaitStatement=e.Flow=e.Expression=e.ExistentialTypeParam=e.BlockScoped=e.BindingIdentifier=void 0,e.ReferencedIdentifier=["Identifier","JSXIdentifier"],e.ReferencedMemberExpression=["MemberExpression"],e.BindingIdentifier=["Identifier"],e.Statement=["Statement"],e.Expression=["Expression"],e.Scope=["Scopable","Pattern"],e.Referenced=null,e.BlockScoped=null,e.Var=["VariableDeclaration"],e.User=null,e.Generated=null,e.Pure=null,e.Flow=["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],e.RestProperty=["RestElement"],e.SpreadProperty=["RestElement"],e.ExistentialTypeParam=["ExistsTypeAnnotation"],e.NumericLiteralTypeAnnotation=["NumberLiteralTypeAnnotation"],e.ForAwaitStatement=["ForOfStatement"]},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/modification.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._containerInsert=z,e._containerInsertAfter=R,e._containerInsertBefore=C,e._verifyNodeList=$,e.insertAfter=q,e.insertBefore=U,e.pushContainer=Z,e.unshiftContainer=W,e.updateSiblingKeys=K;var n=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/cache.js"),c=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/index.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/context.js"),i=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/removal.js"),o=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),h=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/lib/hoister.js");let{arrowFunctionExpression:d,assertExpression:f,assignmentExpression:b,blockStatement:m,callExpression:y,cloneNode:x,expressionStatement:v,isAssignmentExpression:E,isCallExpression:S,isExportNamedDeclaration:_,isExpression:A,isIdentifier:L,isSequenceExpression:j,isSuper:F,thisExpression:k}=o;function U(Q){i._assertUnremoved.call(this);let X=$.call(this,Q),{parentPath:ie,parent:oe}=this;if(ie.isExpressionStatement()||ie.isLabeledStatement()||_(oe)||ie.isExportDefaultDeclaration()&&this.isDeclaration())return ie.insertBefore(X);if(this.isNodeType("Expression")&&!this.isJSXElement()||ie.isForStatement()&&this.key==="init")return this.node&&X.push(this.node),this.replaceExpressionWithStatements(X);if(Array.isArray(this.container))return C.call(this,X);if(this.isStatementOrBlock()){let be=this.node,Ne=be&&(!this.isExpressionStatement()||be.expression!=null),[Pe]=this.replaceWith(m(Ne?[be]:[]));return Pe.unshiftContainer("body",X)}throw Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")}function z(Q,X){K.call(this,Q,X.length);let ie=[];this.container.splice(Q,0,...X);for(let Ne=0;Ne<X.length;Ne++){var oe;let Pe=Q+Ne,Ke=this.getSibling(Pe);ie.push(Ke),(oe=this.context)!=null&&oe.queue&&p.pushContext.call(Ke,this.context)}let be=p._getQueueContexts.call(this);for(let Ne of ie)for(let Pe of(p.setScope.call(Ne),Ne.debug("Inserted."),be))Pe.maybeQueue(Ne,!0);return ie}function C(Q){return z.call(this,this.key,Q)}function R(Q){return z.call(this,this.key+1,Q)}let G=Q=>Q[Q.length-1];function V(Q){return j(Q.parent)&&(G(Q.parent.expressions)!==Q.node||V(Q.parentPath))}function B(Q,X){if(!E(Q)||!L(Q.left))return!1;let ie=X.getBlockParent();return ie.hasOwnBinding(Q.left.name)&&ie.getOwnBinding(Q.left.name).constantViolations.length<=1}function q(Q){if(i._assertUnremoved.call(this),this.isSequenceExpression())return G(this.get("expressions")).insertAfter(Q);let X=$.call(this,Q),{parentPath:ie,parent:oe}=this;if(ie.isExpressionStatement()||ie.isLabeledStatement()||_(oe)||ie.isExportDefaultDeclaration()&&this.isDeclaration())return ie.insertAfter(X.map(be=>A(be)?v(be):be));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!ie.isJSXElement()||ie.isForStatement()&&this.key==="init"){if(this.node){let be=this.node,{scope:Ne}=this;if(Ne.path.isPattern())return f(be),this.replaceWith(y(d([],be),[])),this.get("callee.body").insertAfter(X),[this];if(V(this))X.unshift(be);else if(S(be)&&F(be.callee))X.unshift(be),X.push(k());else if(B(be,Ne))X.unshift(be),X.push(x(be.left));else if(Ne.isPure(be,!0))X.push(be);else{ie.isMethod({computed:!0,key:be})&&(Ne=Ne.parent);let Pe=Ne.generateDeclaredUidIdentifier();X.unshift(v(b("=",x(Pe),be))),X.push(v(x(Pe)))}}return this.replaceExpressionWithStatements(X)}if(Array.isArray(this.container))return R.call(this,X);if(this.isStatementOrBlock()){let be=this.node,Ne=be&&(!this.isExpressionStatement()||be.expression!=null),[Pe]=this.replaceWith(m(Ne?[be]:[]));return Pe.pushContainer("body",X)}throw Error("We don't know what to do with this node type. We were previously a Statement but we can't fit in here?")}function K(Q,X){if(!this.parent)return;let ie=(0,n.getCachedPaths)(this);if(ie)for(let[,oe]of ie)typeof oe.key=="number"&&oe.container===this.container&&oe.key>=Q&&(oe.key+=X)}function $(Q){if(!Q)return[];Array.isArray(Q)||(Q=[Q]);for(let X=0;X<Q.length;X++){let ie,oe=Q[X];if(oe?typeof oe!="object"?ie="contains a non-object node":oe.type?oe instanceof c.default&&(ie="has a NodePath when it expected a raw object"):ie="without a type":ie="has falsy node",ie){let be=Array.isArray(oe)?"array":typeof oe;throw Error(`Node list ${ie} with the index of ${X} and type of ${be}`)}}return Q}function W(Q,X){i._assertUnremoved.call(this);let ie=$.call(this,X),oe=this.node[Q],be=c.default.get({parentPath:this,parent:this.node,container:oe,listKey:Q,key:0}).setContext(this.context);return C.call(be,ie)}function Z(Q,X){i._assertUnremoved.call(this);let ie=$.call(this,X),oe=this.node[Q];return c.default.get({parentPath:this,parent:this.node,container:oe,listKey:Q,key:oe.length}).setContext(this.context).replaceWithMultiple(ie)}e.hoist=function(Q=this.scope){return new h.default(this,Q).run()}},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/removal.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._assertUnremoved=E,e._callRemovalHooks=y,e._markRemoved=v,e._remove=x,e._removeFromScope=m,e.remove=b;var n=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/lib/removal-hooks.js"),c=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/cache.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/replacement.js"),i=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/index.js"),o=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),h=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/modification.js"),d=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/context.js");let{getBindingIdentifiers:f}=o;function b(){var S;E.call(this),d.resync.call(this),y.call(this)||((S=this.opts)!=null&&S.noScope||m.call(this),this.shareCommentsWithSiblings(),x.call(this)),v.call(this)}function m(){Object.keys(f(this.node,!1,!1,!0)).forEach(S=>this.scope.removeBinding(S))}function y(){if(this.parentPath){for(let S of n.hooks)if(S(this,this.parentPath))return!0}}function x(){Array.isArray(this.container)?(this.container.splice(this.key,1),h.updateSiblingKeys.call(this,this.key,-1)):p._replaceWith.call(this,null)}function v(){if(this._traverseFlags|=i.SHOULD_SKIP|i.REMOVED,this.parent){var S;(S=(0,c.getCachedPaths)(this))==null||S.delete(this.node)}this.node=null}function E(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")}},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/replacement.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e._replaceWith=Pe,e.replaceExpressionWithStatements=Ke,e.replaceInline=Oe,e.replaceWith=Ne,e.replaceWithMultiple=oe,e.replaceWithSourceString=be;var n=l("./stubs/babel-codeframe.mjs"),c=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/index.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/index.js"),i=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/cache.js"),o=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/modification.js"),h=l("./node_modules/.pnpm/@babel+parser@7.28.4/node_modules/@babel/parser/lib/index.js"),d=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),f=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/context.js");let{FUNCTION_TYPES:b,arrowFunctionExpression:m,assignmentExpression:y,awaitExpression:x,blockStatement:v,buildUndefinedNode:E,callExpression:S,cloneNode:_,conditionalExpression:A,expressionStatement:L,getBindingIdentifiers:j,identifier:F,inheritLeadingComments:k,inheritTrailingComments:U,inheritsComments:z,isBlockStatement:C,isEmptyStatement:R,isExpression:G,isExpressionStatement:V,isIfStatement:B,isProgram:q,isStatement:K,isVariableDeclaration:$,removeComments:W,returnStatement:Z,sequenceExpression:Q,validate:X,yieldExpression:ie}=d;function oe(de){var xe;f.resync.call(this);let ye=o._verifyNodeList.call(this,de);k(ye[0],this.node),U(ye[ye.length-1],this.node),(xe=(0,i.getCachedPaths)(this))==null||xe.delete(this.node),this.node=this.container[this.key]=null;let ve=this.insertAfter(de);return this.node?this.requeue():this.remove(),ve}function be(de){let xe;f.resync.call(this);try{de=`(${de})`,xe=(0,h.parse)(de)}catch(ve){let he=ve.loc;throw he&&(ve.message+=` - make sure this is an expression.
|
|
`+(0,n.codeFrameColumns)(de,{start:{line:he.line,column:he.column+1}}),ve.code="BABEL_REPLACE_SOURCE_ERROR"),ve}let ye=xe.program.body[0].expression;return c.default.removeProperties(ye),this.replaceWith(ye)}function Ne(de){if(f.resync.call(this),this.removed)throw Error("You can't replace this node, we've already removed it");let xe=de instanceof p.default?de.node:de;if(!xe)throw Error("You passed `path.replaceWith()` a falsy node, use `path.remove()` instead");if(this.node===xe)return[this];if(this.isProgram()&&!q(xe))throw Error("You can only replace a Program root node with another Program node");if(Array.isArray(xe))throw Error("Don't use `path.replaceWith()` with an array of nodes, use `path.replaceWithMultiple()`");if(typeof xe=="string")throw Error("Don't use `path.replaceWith()` with a source string, use `path.replaceWithSourceString()`");let ye="";if(this.isNodeType("Statement")&&G(xe)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(xe)&&!this.parentPath.isExportDefaultDeclaration()&&(xe=L(xe),ye="expression"),this.isNodeType("Expression")&&K(xe)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(xe))return this.replaceExpressionWithStatements([xe]);let ve=this.node;return ve&&(z(xe,ve),W(ve)),Pe.call(this,xe),this.type=xe.type,f.setScope.call(this),this.requeue(),[ye?this.get(ye):this]}function Pe(de){var xe;if(!this.container)throw ReferenceError("Container is falsy");this.inList?X(this.parent,this.key,[de]):X(this.parent,this.key,de),this.debug(`Replace with ${de==null?void 0:de.type}`),(xe=(0,i.getCachedPaths)(this))==null||xe.set(de,this).delete(this.node),this.node=this.container[this.key]=de}function Ke(de){f.resync.call(this);let xe=[],ye=We(de,xe);if(ye){for(let ft of xe)this.scope.push({id:ft});return this.replaceWith(ye)[0].get("expressions")}let ve=this.getFunctionParent(),he=ve==null?void 0:ve.node.async,Te=ve==null?void 0:ve.node.generator,Ce=m([],v(de));this.replaceWith(S(Ce,[]));let se=this.get("callee");for(let ft of(se.get("body").scope.hoistVariables(_t=>this.scope.push({id:_t})),se.getCompletionRecords())){if(!ft.isExpressionStatement())continue;let _t=ft.findParent(Pt=>Pt.isLoop());if(_t){let Pt=_t.getData("expressionReplacementReturnUid");Pt?Pt=F(Pt.name):(Pt=se.scope.generateDeclaredUidIdentifier("ret"),se.get("body").pushContainer("body",Z(_(Pt))),_t.setData("expressionReplacementReturnUid",Pt)),ft.get("expression").replaceWith(y("=",_(Pt),ft.node.expression))}else ft.replaceWith(Z(ft.node.expression))}se.arrowFunctionToExpression();let pe=he&&c.default.hasType(this.get("callee.body").node,"AwaitExpression",b),nt=Te&&c.default.hasType(this.get("callee.body").node,"YieldExpression",b);return pe&&(se.set("async",!0),nt||this.replaceWith(x(this.node))),nt&&(se.set("generator",!0),this.replaceWith(ie(this.node,!0))),se.get("body.body")}function We(de,xe){let ye=[],ve=!0;for(let he of de)if(R(he)||(ve=!1),G(he))ye.push(he);else if(V(he))ye.push(he.expression);else if($(he)){if(he.kind!=="var")return;for(let Te of he.declarations){let Ce=j(Te);for(let se of Object.keys(Ce))xe.push(_(Ce[se]));Te.init&&ye.push(y("=",Te.id,Te.init))}ve=!0}else if(B(he)){let Te=he.consequent?We([he.consequent],xe):E(),Ce=he.alternate?We([he.alternate],xe):E();if(!Te||!Ce)return;ye.push(A(he.test,Te,Ce))}else if(C(he)){let Te=We(he.body,xe);if(!Te)return;ye.push(Te)}else{if(!R(he))return;de.indexOf(he)===0&&(ve=!0)}return ve&&ye.push(E()),ye.length===1?ye[0]:Q(ye)}function Oe(de){if(f.resync.call(this),!Array.isArray(de))return this.replaceWith(de);if(!Array.isArray(this.container))return this.replaceWithMultiple(de);{de=o._verifyNodeList.call(this,de);let xe=o._containerInsertAfter.call(this,de);return this.remove(),xe}}},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/scope/binding.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;let l=class{constructor({identifier:p,scope:i,path:o,kind:h}){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=p,this.scope=i,this.path=o,this.kind=h,(h==="var"||h==="hoisted")&&n(o)&&this.reassign(o),this.clearValue()}deoptValue(){this.clearValue(),this.hasDeoptedValue=!0}setValue(p){this.hasDeoptedValue||(this.hasValue=!0,this.value=p)}clearValue(){this.hasDeoptedValue=!1,this.hasValue=!1,this.value=null}reassign(p){this.constant=!1,this.constantViolations.includes(p)||this.constantViolations.push(p)}reference(p){this.referencePaths.includes(p)||(this.referenced=!0,this.references++,this.referencePaths.push(p))}dereference(){this.references--,this.referenced=!!this.references}};function n(c){let p=!c.isVariableDeclarator()||c.node.init;for(let{parentPath:i,key:o}=c;i&&!i.isFunctionParent();{parentPath:i,key:o}=i)if(o==="left"&&i.isForXStatement()||p&&o==="body"&&i.isLoop())return!0;return!1}e.default=l},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/scope/index.js":function(u,e,l){"use strict";let n;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var c=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/scope/lib/renamer.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/index.js"),i=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/scope/binding.js"),o=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),h=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/cache.js");let d=l("./node_modules/.pnpm/@babel+helper-globals@7.28.0/node_modules/@babel/helper-globals/data/builtin-lower.json"),f=l("./node_modules/.pnpm/@babel+helper-globals@7.28.0/node_modules/@babel/helper-globals/data/builtin-upper.json"),{assignmentExpression:b,callExpression:m,cloneNode:y,getBindingIdentifiers:x,identifier:v,isArrayExpression:E,isBinary:S,isCallExpression:_,isClass:A,isClassBody:L,isClassDeclaration:j,isExportAllDeclaration:F,isExportDefaultDeclaration:k,isExportNamedDeclaration:U,isFunctionDeclaration:z,isIdentifier:C,isImportDeclaration:R,isLiteral:G,isMemberExpression:V,isMethod:B,isModuleSpecifier:q,isNullLiteral:K,isObjectExpression:$,isProperty:W,isPureish:Z,isRegExpLiteral:Q,isSuper:X,isTaggedTemplateExpression:ie,isTemplateLiteral:oe,isThisExpression:be,isUnaryExpression:Ne,isVariableDeclaration:Pe,expressionStatement:Ke,matchesPattern:We,memberExpression:Oe,numericLiteral:de,toIdentifier:xe,variableDeclaration:ye,variableDeclarator:ve,isRecordExpression:he,isTupleExpression:Te,isObjectProperty:Ce,isTopicReference:se,isMetaProperty:pe,isPrivateName:nt,isExportDeclaration:ft,buildUndefinedNode:_t,sequenceExpression:Pt}=o;function ht(fe,ee){switch(fe==null?void 0:fe.type){default:if(R(fe)||ft(fe)){var le;if((F(fe)||U(fe)||R(fe))&&fe.source)ht(fe.source,ee);else if((U(fe)||R(fe))&&(le=fe.specifiers)!=null&&le.length)for(let Se of fe.specifiers)ht(Se,ee);else(k(fe)||U(fe))&&fe.declaration&&ht(fe.declaration,ee)}else q(fe)?ht(fe.local,ee):!G(fe)||K(fe)||Q(fe)||oe(fe)||ee.push(fe.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":ht(fe.object,ee),ht(fe.property,ee);break;case"Identifier":case"JSXIdentifier":ee.push(fe.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":ht(fe.callee,ee);break;case"ObjectExpression":case"ObjectPattern":for(let Se of fe.properties)ht(Se,ee);break;case"SpreadElement":case"RestElement":case"UnaryExpression":case"UpdateExpression":ht(fe.argument,ee);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":ht(fe.key,ee);break;case"ThisExpression":ee.push("this");break;case"Super":ee.push("super");break;case"Import":case"ImportExpression":ee.push("import");break;case"DoExpression":ee.push("do");break;case"YieldExpression":ee.push("yield"),ht(fe.argument,ee);break;case"AwaitExpression":ee.push("await"),ht(fe.argument,ee);break;case"AssignmentExpression":ht(fe.left,ee);break;case"VariableDeclarator":case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":ht(fe.id,ee);break;case"ParenthesizedExpression":ht(fe.expression,ee);break;case"MetaProperty":ht(fe.meta,ee),ht(fe.property,ee);break;case"JSXElement":ht(fe.openingElement,ee);break;case"JSXOpeningElement":ht(fe.name,ee);break;case"JSXFragment":ht(fe.openingFragment,ee);break;case"JSXOpeningFragment":ee.push("Fragment");break;case"JSXNamespacedName":ht(fe.namespace,ee),ht(fe.name,ee)}}function De(fe){fe.references=Object.create(null),fe.uids=Object.create(null),fe.bindings=Object.create(null),fe.globals=Object.create(null)}var ze=Symbol.for("should not be considered a local binding");let Ze={ForStatement(fe){let ee=fe.get("init");if(ee.isVar()){let{scope:le}=fe;(le.getFunctionParent()||le.getProgramParent()).registerBinding("var",ee)}},Declaration(fe){fe.isBlockScoped()||fe.isImportDeclaration()||fe.isExportDeclaration()||(fe.scope.getFunctionParent()||fe.scope.getProgramParent()).registerDeclaration(fe)},ImportDeclaration(fe){fe.scope.getBlockParent().registerDeclaration(fe)},TSImportEqualsDeclaration(fe){fe.scope.getBlockParent().registerDeclaration(fe)},ReferencedIdentifier(fe,ee){o.isTSQualifiedName(fe.parent)&&fe.parent.right===fe.node||fe.parentPath.isTSImportEqualsDeclaration()||ee.references.push(fe)},ForXStatement(fe,ee){let le=fe.get("left");if(le.isPattern()||le.isIdentifier())ee.constantViolations.push(fe);else if(le.isVar()){let{scope:Se}=fe;(Se.getFunctionParent()||Se.getProgramParent()).registerBinding("var",le)}},ExportDeclaration:{exit(fe){let{node:ee,scope:le}=fe;if(F(ee))return;let Se=ee.declaration;if(j(Se)||z(Se)){let Ee=Se.id;if(!Ee)return;let Be=le.getBinding(Ee.name);Be==null||Be.reference(fe)}else if(Pe(Se))for(let Ee of Se.declarations)for(let Be of Object.keys(x(Ee))){let Qe=le.getBinding(Be);Qe==null||Qe.reference(fe)}}},LabeledStatement(fe){fe.scope.getBlockParent().registerDeclaration(fe)},AssignmentExpression(fe,ee){ee.assignments.push(fe)},UpdateExpression(fe,ee){ee.constantViolations.push(fe)},UnaryExpression(fe,ee){fe.node.operator==="delete"&&ee.constantViolations.push(fe)},BlockScoped(fe){let ee=fe.scope;if(ee.path===fe&&(ee=ee.parent),ee.getBlockParent().registerDeclaration(fe),fe.isClassDeclaration()&&fe.node.id){let le=fe.node.id.name;fe.scope.bindings[le]=fe.scope.parent.getBinding(le)}},CatchClause(fe){fe.scope.registerBinding("let",fe)},Function(fe){for(let ee of fe.get("params"))fe.scope.registerBinding("param",ee);fe.isFunctionExpression()&&fe.node.id&&!fe.node.id[ze]&&fe.scope.registerBinding("local",fe.get("id"),fe)},ClassExpression(fe){fe.node.id&&!fe.node.id[ze]&&fe.scope.registerBinding("local",fe.get("id"),fe)},TSTypeAnnotation(fe){fe.skip()}},tt=0,ge=class WS{constructor(ee){this.uid=void 0,this.path=void 0,this.block=void 0,this.inited=void 0,this.labels=void 0,this.bindings=void 0,this.referencesSet=void 0,this.globals=void 0,this.uidsSet=void 0,this.data=void 0,this.crawling=void 0;let{node:le}=ee,Se=h.scope.get(le);if((Se==null?void 0:Se.path)===ee)return Se;h.scope.set(le,this),this.uid=tt++,this.block=le,this.path=ee,this.labels=new Map,this.inited=!1,Object.defineProperties(this,{references:{enumerable:!0,configurable:!0,writable:!0,value:Object.create(null)},uids:{enumerable:!0,configurable:!0,writable:!0,value:Object.create(null)}})}get parent(){var ee,le;let Se,Ee=this.path;do{let Be=Ee.key==="key"||Ee.listKey==="decorators";Ee=Ee.parentPath,Be&&Ee.isMethod()&&(Ee=Ee.parentPath),(le=Ee)!=null&&le.isScope()&&(Se=Ee)}while(Ee&&!Se);return(ee=Se)==null?void 0:ee.scope}get references(){throw Error("Scope#references is not available in Babel 8. Use Scope#referencesSet instead.")}get uids(){throw Error("Scope#uids is not available in Babel 8. Use Scope#uidsSet instead.")}generateDeclaredUidIdentifier(ee){let le=this.generateUidIdentifier(ee);return this.push({id:le}),y(le)}generateUidIdentifier(ee){return v(this.generateUid(ee))}generateUid(ee="temp"){let le;ee=xe(ee).replace(/^_+/,"").replace(/\d+$/g,"");let Se=0;do le=`_${ee}`,Se>=11?le+=Se-1:Se>=9?le+=Se-9:Se>=1&&(le+=Se+1),Se++;while(this.hasLabel(le)||this.hasBinding(le)||this.hasGlobal(le)||this.hasReference(le));let Ee=this.getProgramParent();return Ee.references[le]=!0,Ee.uids[le]=!0,le}generateUidBasedOnNode(ee,le){let Se=[];ht(ee,Se);let Ee=Se.join("$");return Ee=Ee.replace(/^_/,"")||le||"ref",this.generateUid(Ee.slice(0,20))}generateUidIdentifierBasedOnNode(ee,le){return v(this.generateUidBasedOnNode(ee,le))}isStatic(ee){if(be(ee)||X(ee)||se(ee))return!0;if(C(ee)){let le=this.getBinding(ee.name);return le?le.constant:this.hasBinding(ee.name)}return!1}maybeGenerateMemoised(ee,le){if(this.isStatic(ee))return null;{let Se=this.generateUidIdentifierBasedOnNode(ee);return le?Se:(this.push({id:Se}),y(Se))}}checkBlockScopedCollisions(ee,le,Se,Ee){if(le!=="param"&&ee.kind!=="local"&&(le==="let"||ee.kind==="let"||ee.kind==="const"||ee.kind==="module"||ee.kind==="param"&&le==="const"))throw this.path.hub.buildError(Ee,`Duplicate declaration "${Se}"`,TypeError)}rename(ee,le){let Se=this.getBinding(ee);Se&&(le||(le=this.generateUidIdentifier(ee).name),new c.default(Se,ee,le).rename(arguments[2]))}dump(){let ee="-".repeat(60);console.log(ee);let le=this;do for(let Se of(console.log("#",le.block.type),Object.keys(le.bindings))){let Ee=le.bindings[Se];console.log(" -",Se,{constant:Ee.constant,references:Ee.references,violations:Ee.constantViolations.length,kind:Ee.kind})}while(le=le.parent);console.log(ee)}hasLabel(ee){return!!this.getLabel(ee)}getLabel(ee){return this.labels.get(ee)}registerLabel(ee){this.labels.set(ee.node.label.name,ee)}registerDeclaration(ee){if(ee.isLabeledStatement())this.registerLabel(ee);else if(ee.isFunctionDeclaration())this.registerBinding("hoisted",ee.get("id"),ee);else if(ee.isVariableDeclaration()){let le=ee.get("declarations"),{kind:Se}=ee.node;for(let Ee of le)this.registerBinding(Se==="using"||Se==="await using"?"const":Se,Ee)}else if(ee.isClassDeclaration()){if(ee.node.declare)return;this.registerBinding("let",ee)}else if(ee.isImportDeclaration()){let le=ee.node.importKind==="type"||ee.node.importKind==="typeof";for(let Se of ee.get("specifiers")){let Ee=le||Se.isImportSpecifier()&&(Se.node.importKind==="type"||Se.node.importKind==="typeof");this.registerBinding(Ee?"unknown":"module",Se)}}else if(ee.isExportDeclaration()){let le=ee.get("declaration");(le.isClassDeclaration()||le.isFunctionDeclaration()||le.isVariableDeclaration())&&this.registerDeclaration(le)}else this.registerBinding("unknown",ee)}buildUndefinedNode(){return _t()}registerConstantViolation(ee){for(let Se of Object.keys(ee.getAssignmentIdentifiers())){var le;(le=this.getBinding(Se))==null||le.reassign(ee)}}registerBinding(ee,le,Se=le){if(!ee)throw ReferenceError("no `kind`");if(le.isVariableDeclaration()){for(let Qe of le.get("declarations"))this.registerBinding(ee,Qe);return}let Ee=this.getProgramParent(),Be=le.getOuterBindingIdentifiers(!0);for(let Qe of Object.keys(Be))for(let ce of(Ee.references[Qe]=!0,Be[Qe])){let $e=this.getOwnBinding(Qe);if($e){if($e.identifier===ce)continue;this.checkBlockScopedCollisions($e,ee,Qe,ce)}$e?$e.reassign(Se):this.bindings[Qe]=new i.default({identifier:ce,scope:this,path:Se,kind:ee})}}addGlobal(ee){this.globals[ee.name]=ee}hasUid(ee){{let le=this;do if(le.uids[ee])return!0;while(le=le.parent);return!1}}hasGlobal(ee){let le=this;do if(le.globals[ee])return!0;while(le=le.parent);return!1}hasReference(ee){return!!this.getProgramParent().references[ee]}isPure(ee,le){var Se,Ee,Be;if(C(ee)){let Qe=this.getBinding(ee.name);return!!Qe&&(!le||Qe.constant)}if(be(ee)||pe(ee)||se(ee)||nt(ee))return!0;if(A(ee))return(!ee.superClass||!!this.isPure(ee.superClass,le))&&!(((Se=ee.decorators)==null?void 0:Se.length)>0)&&this.isPure(ee.body,le);if(L(ee)){for(let Qe of ee.body)if(!this.isPure(Qe,le))return!1;return!0}if(S(ee))return this.isPure(ee.left,le)&&this.isPure(ee.right,le);if(E(ee)||Te(ee)){for(let Qe of ee.elements)if(Qe!==null&&!this.isPure(Qe,le))return!1;return!0}else if($(ee)||he(ee)){for(let Qe of ee.properties)if(!this.isPure(Qe,le))return!1;return!0}else{if(B(ee))return(!ee.computed||!!this.isPure(ee.key,le))&&!(((Ee=ee.decorators)==null?void 0:Ee.length)>0);if(W(ee))return!(ee.computed&&!this.isPure(ee.key,le)||((Be=ee.decorators)==null?void 0:Be.length)>0||(Ce(ee)||ee.static)&&ee.value!==null&&!this.isPure(ee.value,le));if(Ne(ee))return this.isPure(ee.argument,le);if(oe(ee)){for(let Qe of ee.expressions)if(!this.isPure(Qe,le))return!1;return!0}else return ie(ee)?We(ee.tag,"String.raw")&&!this.hasBinding("String",{noGlobals:!0})&&this.isPure(ee.quasi,le):V(ee)?!ee.computed&&C(ee.object)&&ee.object.name==="Symbol"&&C(ee.property)&&ee.property.name!=="for"&&!this.hasBinding("Symbol",{noGlobals:!0}):_(ee)?We(ee.callee,"Symbol.for")&&!this.hasBinding("Symbol",{noGlobals:!0})&&ee.arguments.length===1&&o.isStringLiteral(ee.arguments[0]):Z(ee)}}setData(ee,le){return this.data[ee]=le}getData(ee){let le=this;do{let Se=le.data[ee];if(Se!=null)return Se}while(le=le.parent)}removeData(ee){let le=this;do le.data[ee]!=null&&(le.data[ee]=null);while(le=le.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){let ee=this.path;De(this),this.data=Object.create(null);let le=this;do{if(le.crawling)return;if(le.path.isProgram())break}while(le=le.parent);let Se=le,Ee={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,n||(n=p.default.visitors.merge([{Scope(Be){De(Be.scope)}},Ze])),ee.type!=="Program"){for(let Qe of n.enter)Qe.call(Ee,ee,Ee);let Be=n[ee.type];if(Be)for(let Qe of Be.enter)Qe.call(Ee,ee,Ee)}for(let Be of(ee.traverse(n,Ee),this.crawling=!1,Ee.assignments)){let Qe=Be.getAssignmentIdentifiers();for(let ce of Object.keys(Qe))Be.scope.getBinding(ce)||Se.addGlobal(Qe[ce]);Be.scope.registerConstantViolation(Be)}for(let Be of Ee.references){let Qe=Be.scope.getBinding(Be.node.name);Qe?Qe.reference(Be):Se.addGlobal(Be.node)}for(let Be of Ee.constantViolations)Be.scope.registerConstantViolation(Be)}push(ee){let le=this.path;le.isPattern()?le=this.getPatternParent().path:le.isBlockStatement()||le.isProgram()||(le=this.getBlockParent().path),le.isSwitchStatement()&&(le=(this.getFunctionParent()||this.getProgramParent()).path);let{init:Se,unique:Ee,kind:Be="var",id:Qe}=ee;if(!Se&&!Ee&&(Be==="var"||Be==="let")&&le.isFunction()&&!le.node.name&&_(le.parent,{callee:le.node})&&le.parent.arguments.length<=le.node.params.length&&C(Qe)){le.pushContainer("params",Qe),le.scope.registerBinding("param",le.get("params")[le.node.params.length-1]);return}(le.isLoop()||le.isCatchClause()||le.isFunction())&&(le.ensureBlock(),le=le.get("body"));let ce=ee._blockHoist==null?2:ee._blockHoist,$e=`declaration:${Be}:${ce}`,et=!Ee&&le.getData($e);if(!et){let Le=ye(Be,[]);Le._blockHoist=ce,[et]=le.unshiftContainer("body",[Le]),Ee||le.setData($e,et)}let ut=ve(Qe,Se),Je=et.node.declarations.push(ut);le.scope.registerBinding(Be,et.get("declarations")[Je-1])}getProgramParent(){let ee=this;do if(ee.path.isProgram())return ee;while(ee=ee.parent);throw Error("Couldn't find a Program")}getFunctionParent(){let ee=this;do if(ee.path.isFunctionParent())return ee;while(ee=ee.parent);return null}getBlockParent(){let ee=this;do if(ee.path.isBlockParent())return ee;while(ee=ee.parent);throw Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getPatternParent(){let ee=this;do if(!ee.path.isPattern())return ee.getBlockParent();while(ee=ee.parent.parent);throw Error("We couldn't find a BlockStatement, For, Switch, Function, Loop or Program...")}getAllBindings(){let ee=Object.create(null),le=this;do{for(let Se of Object.keys(le.bindings))!(Se in ee)&&(ee[Se]=le.bindings[Se]);le=le.parent}while(le);return ee}bindingIdentifierEquals(ee,le){return this.getBindingIdentifier(ee)===le}getBinding(ee){let le,Se=this;do{let Be=Se.getOwnBinding(ee);if(Be){var Ee;if(!((Ee=le)!=null&&Ee.isPattern())||Be.kind==="param"||Be.kind==="local")return Be}else if(!Be&&ee==="arguments"&&Se.path.isFunction()&&!Se.path.isArrowFunctionExpression())break;le=Se.path}while(Se=Se.parent)}getOwnBinding(ee){return this.bindings[ee]}getBindingIdentifier(ee){var le;return(le=this.getBinding(ee))==null?void 0:le.identifier}getOwnBindingIdentifier(ee){let le=this.bindings[ee];return le==null?void 0:le.identifier}hasOwnBinding(ee){return!!this.getOwnBinding(ee)}hasBinding(ee,le){let Se,Ee,Be;if(!ee)return!1;typeof le=="object"?(Se=le.noGlobals,Ee=le.noUids,Be=le.upToScope):typeof le=="boolean"&&(Se=le);let Qe=this;do{if(Be===Qe)break;if(Qe.hasOwnBinding(ee))return!0}while(Qe=Qe.parent);return!!(!Ee&&this.hasUid(ee)||!Se&&WS.globals.includes(ee)||!Se&&WS.contextVariables.includes(ee))}parentHasBinding(ee,le){var Se;return(Se=this.parent)==null?void 0:Se.hasBinding(ee,le)}moveBindingTo(ee,le){let Se=this.getBinding(ee);Se&&(Se.scope.removeOwnBinding(ee),Se.scope=le,le.bindings[ee]=Se)}removeOwnBinding(ee){delete this.bindings[ee]}removeBinding(ee){var le;(le=this.getBinding(ee))==null||le.scope.removeOwnBinding(ee);{let Se=this;do Se.uids[ee]&&(Se.uids[ee]=!1);while(Se=Se.parent)}}hoistVariables(ee=le=>this.push({id:le})){this.crawl();let le=new Set;for(let Se of Object.keys(this.bindings)){let Ee,Be=this.bindings[Se];if(!Be)continue;let{path:Qe}=Be;if(!Qe.isVariableDeclarator())continue;let{parent:ce,parentPath:$e}=Qe;if(ce.kind!=="var"||le.has(ce))continue;le.add(Qe.parent);let et=[];for(let ut of ce.declarations)for(let Je of(Ee!=null||(Ee=ut.id),ut.init&&et.push(b("=",ut.id,ut.init)),Object.keys(x(ut,!1,!0,!0))))ee(v(Je),ut.init!=null);if($e.parentPath.isFor({left:ce}))$e.replaceWith(Ee);else if(et.length===0)$e.remove();else{let ut=et.length===1?et[0]:Pt(et);$e.parentPath.isForStatement({init:ce})?$e.replaceWith(ut):$e.replaceWith(Ke(ut))}}}};e.default=ge,ge.globals=[...d,...f],ge.contextVariables=["arguments","undefined","Infinity","NaN"],ge.prototype._renameFromMap=function(fe,ee,le,Se){fe[ee]&&(fe[le]=Se,fe[ee]=null)},ge.prototype.traverse=function(fe,ee,le){(0,p.default)(fe,ee,this,le,this.path)},ge.prototype._generateUid=function(fe,ee){let le=fe;return ee>1&&(le+=ee),`_${le}`},ge.prototype.toArray=function(fe,ee,le){let Se;if(C(fe)){let Be=this.getBinding(fe.name);if(Be!=null&&Be.constant&&Be.path.isGenericType("Array"))return fe}if(E(fe))return fe;if(C(fe,{name:"arguments"}))return m(Oe(Oe(Oe(v("Array"),v("prototype")),v("slice")),v("call")),[fe]);let Ee=[fe];return ee===!0?Se="toConsumableArray":typeof ee=="number"?(Ee.push(de(ee)),Se="slicedToArray"):Se="toArray",le&&(Ee.unshift(this.path.hub.addHelper(Se)),Se="maybeArrayLike"),m(this.path.hub.addHelper(Se),Ee)},ge.prototype.getAllBindingsOfKind=function(...fe){let ee=Object.create(null);for(let le of fe){let Se=this;do{for(let Ee of Object.keys(Se.bindings)){let Be=Se.bindings[Ee];Be.kind===le&&(ee[Ee]=Be)}Se=Se.parent}while(Se)}return ee},Object.defineProperties(ge.prototype,{parentBlock:{configurable:!0,enumerable:!0,get(){return this.path.parent}},hub:{configurable:!0,enumerable:!0,get(){return this.path.hub}}})},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/scope/lib/renamer.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),c=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/traverse-node.js"),p=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/visitors.js"),i=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/context.js");let{getAssignmentIdentifiers:o}=n,h={ReferencedIdentifier({node:f},b){f.name===b.oldName&&(f.name=b.newName)},Scope(f,b){!f.scope.bindingIdentifierEquals(b.oldName,b.binding.identifier)&&(f.skip(),f.isMethod()&&(f.requeueComputedKeyAndDecorators?f.requeueComputedKeyAndDecorators():i.requeueComputedKeyAndDecorators.call(f)))},ObjectProperty({node:f,scope:b},m){let{name:y}=f.key;if(f.shorthand&&(y===m.oldName||y===m.newName)&&b.getBindingIdentifier(y)===m.binding.identifier){var x;f.shorthand=!1,(x=f.extra)!=null&&x.shorthand&&(f.extra.shorthand=!1)}},"AssignmentExpression|Declaration|VariableDeclarator"(f,b){if(f.isVariableDeclaration())return;let m=f.isAssignmentExpression()?o(f.node):f.getOuterBindingIdentifiers();for(let y in m)y===b.oldName&&(m[y].name=b.newName)}},d=class{constructor(b,m,y){this.newName=y,this.oldName=m,this.binding=b}maybeConvertFromExportDeclaration(b){let m=b.parentPath;if(m.isExportDeclaration()){if(m.isExportDefaultDeclaration()){let{declaration:y}=m.node;if(n.isDeclaration(y)&&!y.id)return}m.isExportAllDeclaration()||m.splitExportDeclaration()}}maybeConvertFromClassFunctionDeclaration(b){return b}maybeConvertFromClassFunctionExpression(b){return b}rename(){let{binding:b,oldName:m,newName:y}=this,{scope:x,path:v}=b,E=v.find(A=>A.isDeclaration()||A.isFunctionExpression()||A.isClassExpression());E&&E.getOuterBindingIdentifiers()[m]===b.identifier&&this.maybeConvertFromExportDeclaration(E);let S=arguments[0]||x.block,_={discriminant:!0};n.isMethod(S)&&(S.computed&&(_.key=!0),n.isObjectMethod(S)||(_.decorators=!0)),(0,c.traverseNode)(S,(0,p.explode)(h),x,this,x.path,_),arguments[0]||(x.removeOwnBinding(m),x.bindings[y]=b,this.binding.identifier.name=y),E&&(this.maybeConvertFromClassFunctionDeclaration(v),this.maybeConvertFromClassFunctionExpression(v))}};e.default=d},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/traverse-node.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.traverseNode=i;var n=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/context.js");l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/index.js");var c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/context.js");let{VISITOR_KEYS:p}=c;function i(o,h,d,f,b,m,y){let x=p[o.type];if(!x)return!1;let v=new n.default(d,h,f,b);if(y)return(m==null||!m[b.parentKey])&&v.visitQueue([b]);for(let E of x)if((m==null||!m[E])&&v.visit(o,E))return!0;return!1}},"./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/visitors.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.environmentVisitor=z,e.explode=x,e.isExplodedVisitor=y,e.merge=S,e.verify=v;var n=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/lib/virtual-types.js"),c=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/lib/virtual-types-validator.js"),p=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js"),i=l("./node_modules/.pnpm/@babel+traverse@7.28.4/node_modules/@babel/traverse/lib/path/context.js");let{DEPRECATED_KEYS:o,DEPRECATED_ALIASES:h,FLIPPED_ALIAS_KEYS:d,TYPES:f,__internal__deprecationWarning:b}=p;function m(C){return C in n}function y(C){return C==null?void 0:C._exploded}function x(C){if(y(C))return C;for(let R of(C._exploded=!0,Object.keys(C))){if(F(R))continue;let G=R.split("|");if(G.length===1)continue;let V=C[R];for(let B of(delete C[R],G))C[B]=V}for(let R of(v(C),delete C.__esModule,A(C),L(C),Object.keys(C))){if(F(R)||!m(R))continue;let G=C[R];for(let B of Object.keys(G))G[B]=j(R,G[B]);delete C[R];let V=n[R];if(V!==null)for(let B of V)C[B]?k(C[B],G):C[B]=G;else k(C,G)}for(let R of Object.keys(C)){if(F(R))continue;let G=d[R];if(R in o){let B=o[R];b(R,B,"Visitor "),G=[B]}else if(R in h){let B=h[R];b(R,B,"Visitor "),G=d[B]}if(!G)continue;let V=C[R];for(let B of(delete C[R],G)){let q=C[B];q?k(q,V):C[B]=Object.assign({},V)}}for(let R of Object.keys(C))F(R)||L(C[R]);return C}function v(C){if(!C._verified){if(typeof C=="function")throw Error("You passed `traverse()` a function when it expected a visitor object, are you sure you didn't mean `{ enter: Function }`?");for(let R of Object.keys(C)){if((R==="enter"||R==="exit")&&E(R,C[R]),F(R))continue;if(!f.includes(R))throw Error(`You gave us a visitor for the node type ${R} but it's not a valid type in @babel/traverse 7.28.4`);let G=C[R];if(typeof G=="object")for(let V of Object.keys(G))if(V==="enter"||V==="exit")E(`${R}.${V}`,G[V]);else throw Error(`You passed \`traverse()\` a visitor object with the property ${R} that has the invalid property ${V}`)}C._verified=!0}}function E(C,R){for(let G of[].concat(R))if(typeof G!="function")throw TypeError(`Non-function found defined in ${C} with type ${typeof G}`)}function S(C,R=[],G){let V={_verified:!0,_exploded:!0};Object.defineProperty(V,"_exploded",{enumerable:!1}),Object.defineProperty(V,"_verified",{enumerable:!1});for(let B=0;B<C.length;B++){let q=x(C[B]),K=R[B],$=q;for(let W of((K||G)&&($=_($,K,G)),k(V,$),Object.keys(q))){if(F(W))continue;let Z=q[W];(K||G)&&(Z=_(Z,K,G)),k(V[W]||(V[W]={}),Z)}}return V}function _(C,R,G){let V={};for(let B of["enter","exit"]){let q=C[B];Array.isArray(q)&&(q=q.map(function(K){let $=K;return R&&($=function(W){K.call(R,W,R)}),G&&($=G(R==null?void 0:R.key,B,$)),$!==K&&($.toString=()=>K.toString()),$}),V[B]=q)}return V}function A(C){for(let R of Object.keys(C)){if(F(R))continue;let G=C[R];typeof G=="function"&&(C[R]={enter:G})}}function L(C){C.enter&&!Array.isArray(C.enter)&&(C.enter=[C.enter]),C.exit&&!Array.isArray(C.exit)&&(C.exit=[C.exit])}function j(C,R){let G=c[`is${C}`],V=function(B){if(G.call(B))return R.apply(this,arguments)};return V.toString=()=>R.toString(),V}function F(C){return C[0]==="_"||C==="enter"||C==="exit"||C==="shouldSkip"||C==="denylist"||C==="noScope"||C==="skipKeys"||C==="blacklist"||!1}function k(C,R){for(let G of["enter","exit"])R[G]&&(C[G]=[].concat(C[G]||[],R[G]))}let U={FunctionParent(C){!C.isArrowFunctionExpression()&&(C.skip(),C.isMethod()&&(C.requeueComputedKeyAndDecorators?C.requeueComputedKeyAndDecorators():i.requeueComputedKeyAndDecorators.call(C)))},Property(C){C.isObjectProperty()||(C.skip(),C.requeueComputedKeyAndDecorators?C.requeueComputedKeyAndDecorators():i.requeueComputedKeyAndDecorators.call(C))}};function z(C){return S([U,C])}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/asserts/assertNode.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isNode.js");function c(p){if(!(0,n.default)(p)){var i;let o=(i=p==null?void 0:p.type)!=null?i:JSON.stringify(p);throw TypeError(`Not a valid node of type "${o}"`)}}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/asserts/generated/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.assertAccessor=Up,e.assertAnyTypeAnnotation=At,e.assertArgumentPlaceholder=Kr,e.assertArrayExpression=i,e.assertArrayPattern=Pt,e.assertArrayTypeAnnotation=Mt,e.assertArrowFunctionExpression=ht,e.assertAssignmentExpression=o,e.assertAssignmentPattern=_t,e.assertAwaitExpression=xt,e.assertBigIntLiteral=yr,e.assertBinary=Xn,e.assertBinaryExpression=h,e.assertBindExpression=Dn,e.assertBlock=Pa,e.assertBlockParent=da,e.assertBlockStatement=m,e.assertBooleanLiteral=$,e.assertBooleanLiteralTypeAnnotation=zt,e.assertBooleanTypeAnnotation=$t,e.assertBreakStatement=y,e.assertCallExpression=x,e.assertCatchClause=v,e.assertClass=ic,e.assertClassAccessorProperty=Pn,e.assertClassBody=De,e.assertClassDeclaration=Ze,e.assertClassExpression=ze,e.assertClassImplements=pr,e.assertClassMethod=et,e.assertClassPrivateMethod=Yr,e.assertClassPrivateProperty=er,e.assertClassProperty=Tn,e.assertCompletionStatement=Ye,e.assertConditional=Ge,e.assertConditionalExpression=E,e.assertContinueStatement=S,e.assertDebuggerStatement=_,e.assertDecimalLiteral=ua,e.assertDeclaration=La,e.assertDeclareClass=xr,e.assertDeclareExportAllDeclaration=qi,e.assertDeclareExportDeclaration=Fi,e.assertDeclareFunction=Hr,e.assertDeclareInterface=Qr,e.assertDeclareModule=Fr,e.assertDeclareModuleExports=Sn,e.assertDeclareOpaqueType=zn,e.assertDeclareTypeAlias=Nn,e.assertDeclareVariable=Ni,e.assertDeclaredPredicate=dr,e.assertDecorator=Zn,e.assertDirective=f,e.assertDirectiveLiteral=b,e.assertDoExpression=Di,e.assertDoWhileStatement=A,e.assertEmptyStatement=L,e.assertEmptyTypeAnnotation=_r,e.assertEnumBody=pc,e.assertEnumBooleanBody=re,e.assertEnumBooleanMember=ot,e.assertEnumDeclaration=H,e.assertEnumDefaultedMember=Zt,e.assertEnumMember=dc,e.assertEnumNumberBody=we,e.assertEnumNumberMember=mt,e.assertEnumStringBody=qe,e.assertEnumStringMember=jt,e.assertEnumSymbolBody=it,e.assertExistsTypeAnnotation=Sr,e.assertExportAllDeclaration=tt,e.assertExportDeclaration=Eu,e.assertExportDefaultDeclaration=ge,e.assertExportDefaultSpecifier=yi,e.assertExportNamedDeclaration=fe,e.assertExportNamespaceSpecifier=Pr,e.assertExportSpecifier=ee,e.assertExpression=ui,e.assertExpressionStatement=j,e.assertExpressionWrapper=Ir,e.assertFile=F,e.assertFlow=ac,e.assertFlowBaseAnnotation=lc,e.assertFlowDeclaration=uc,e.assertFlowPredicate=cc,e.assertFlowType=oc,e.assertFor=ti,e.assertForInStatement=k,e.assertForOfStatement=le,e.assertForStatement=U,e.assertForXStatement=es,e.assertFunction=Ca,e.assertFunctionDeclaration=z,e.assertFunctionExpression=C,e.assertFunctionParameter=Bo,e.assertFunctionParent=Np,e.assertFunctionTypeAnnotation=wr,e.assertFunctionTypeParam=gn,e.assertGenericTypeAnnotation=vn,e.assertIdentifier=R,e.assertIfStatement=G,e.assertImmutable=nc,e.assertImport=ar,e.assertImportAttribute=rt,e.assertImportDeclaration=Se,e.assertImportDefaultSpecifier=Ee,e.assertImportExpression=ce,e.assertImportNamespaceSpecifier=Be,e.assertImportOrExportDeclaration=Tu,e.assertImportSpecifier=Qe,e.assertIndexedAccessType=Br,e.assertInferredPredicate=Gr,e.assertInterfaceDeclaration=Yt,e.assertInterfaceExtends=Rn,e.assertInterfaceTypeAnnotation=Qt,e.assertInterpreterDirective=d,e.assertIntersectionTypeAnnotation=kt,e.assertJSX=hc,e.assertJSXAttribute=rn,e.assertJSXClosingElement=Wn,e.assertJSXClosingFragment=bt,e.assertJSXElement=Un,e.assertJSXEmptyExpression=Fn,e.assertJSXExpressionContainer=hi,e.assertJSXFragment=lt,e.assertJSXIdentifier=g,e.assertJSXMemberExpression=P,e.assertJSXNamespacedName=J,e.assertJSXOpeningElement=ne,e.assertJSXOpeningFragment=dt,e.assertJSXSpreadAttribute=Fe,e.assertJSXSpreadChild=Ue,e.assertJSXText=Xe,e.assertLVal=rc,e.assertLabeledStatement=V,e.assertLiteral=vu,e.assertLogicalExpression=Z,e.assertLoop=yt,e.assertMemberExpression=Q,e.assertMetaProperty=$e,e.assertMethod=Lp,e.assertMiscellaneous=fc,e.assertMixedTypeAnnotation=vr,e.assertModuleDeclaration=M,e.assertModuleExpression=N,e.assertModuleSpecifier=Bp,e.assertNewExpression=X,e.assertNoop=Lt,e.assertNullLiteral=K,e.assertNullLiteralTypeAnnotation=qt,e.assertNullableTypeAnnotation=Xr,e.assertNumberLiteral=w,e.assertNumberLiteralTypeAnnotation=Xt,e.assertNumberTypeAnnotation=jr,e.assertNumericLiteral=q,e.assertObjectExpression=oe,e.assertObjectMember=xu,e.assertObjectMethod=be,e.assertObjectPattern=ut,e.assertObjectProperty=Ne,e.assertObjectTypeAnnotation=tn,e.assertObjectTypeCallProperty=xn,e.assertObjectTypeIndexer=fn,e.assertObjectTypeInternalSlot=un,e.assertObjectTypeProperty=_n,e.assertObjectTypeSpreadProperty=Ti,e.assertOpaqueType=di,e.assertOptionalCallExpression=ln,e.assertOptionalIndexedAccessType=Er,e.assertOptionalMemberExpression=Rr,e.assertParenthesizedExpression=Oe,e.assertPattern=Mp,e.assertPatternLike=tc,e.assertPipelineBareFunction=Ve,e.assertPipelinePrimaryTopicReference=pt,e.assertPipelineTopicExpression=Re,e.assertPlaceholder=ur,e.assertPrivate=sc,e.assertPrivateName=gr,e.assertProgram=ie,e.assertProperty=mo,e.assertPureish=Fp,e.assertQualifiedTypeIdentifier=an,e.assertRecordExpression=as,e.assertRegExpLiteral=W,e.assertRegexLiteral=Y,e.assertRestElement=Pe,e.assertRestProperty=me,e.assertReturnStatement=Ke,e.assertScopable=bs,e.assertSequenceExpression=We,e.assertSpreadElement=Je,e.assertSpreadProperty=Ie,e.assertStandardized=wn,e.assertStatement=ke,e.assertStaticBlock=An,e.assertStringLiteral=B,e.assertStringLiteralTypeAnnotation=Qn,e.assertStringTypeAnnotation=Wi,e.assertSuper=Le,e.assertSwitchCase=de,e.assertSwitchStatement=xe,e.assertSymbolTypeAnnotation=kr,e.assertTSAnyKeyword=ca,e.assertTSArrayType=al,e.assertTSAsExpression=vt,e.assertTSBaseType=bc,e.assertTSBigIntKeyword=Us,e.assertTSBooleanKeyword=Ki,e.assertTSCallSignatureDeclaration=kn,e.assertTSConditionalType=Lo,e.assertTSConstructSignatureDeclaration=ei,e.assertTSConstructorType=nl,e.assertTSDeclareFunction=nr,e.assertTSDeclareMethod=Dr,e.assertTSEntityName=fl,e.assertTSEnumBody=Jt,e.assertTSEnumDeclaration=fr,e.assertTSEnumMember=Kt,e.assertTSExportAssignment=Si,e.assertTSExpressionWithTypeArguments=D,e.assertTSExternalModuleReference=zi,e.assertTSFunctionType=Ja,e.assertTSImportEqualsDeclaration=fi,e.assertTSImportType=$n,e.assertTSIndexSignature=xs,e.assertTSIndexedAccessType=dl,e.assertTSInferType=cl,e.assertTSInstantiationExpression=st,e.assertTSInterfaceBody=_e,e.assertTSInterfaceDeclaration=te,e.assertTSIntersectionType=ul,e.assertTSIntrinsicKeyword=pn,e.assertTSLiteralType=Mo,e.assertTSMappedType=hl,e.assertTSMethodSignature=vs,e.assertTSModuleBlock=mn,e.assertTSModuleDeclaration=zr,e.assertTSNamedTupleMember=jo,e.assertTSNamespaceExportDeclaration=Ea,e.assertTSNeverKeyword=Gn,e.assertTSNonNullExpression=os,e.assertTSNullKeyword=Ei,e.assertTSNumberKeyword=Ii,e.assertTSObjectKeyword=Xs,e.assertTSOptionalType=Fo,e.assertTSParameterProperty=Bt,e.assertTSParenthesizedType=fo,e.assertTSPropertySignature=Mi,e.assertTSQualifiedName=Jr,e.assertTSRestType=ll,e.assertTSSatisfiesExpression=gt,e.assertTSStringKeyword=Ta,e.assertTSSymbolKeyword=Ys,e.assertTSTemplateLiteralType=Ro,e.assertTSThisType=Zs,e.assertTSTupleType=ol,e.assertTSType=Ml,e.assertTSTypeAliasDeclaration=Me,e.assertTSTypeAnnotation=qr,e.assertTSTypeAssertion=It,e.assertTSTypeElement=yc,e.assertTSTypeLiteral=No,e.assertTSTypeOperator=pl,e.assertTSTypeParameter=nn,e.assertTSTypeParameterDeclaration=Jn,e.assertTSTypeParameterInstantiation=Mn,e.assertTSTypePredicate=sl,e.assertTSTypeQuery=Oo,e.assertTSTypeReference=il,e.assertTSUndefinedKeyword=Fs,e.assertTSUnionType=ho,e.assertTSUnknownKeyword=pa,e.assertTSVoidKeyword=Qs,e.assertTaggedTemplateExpression=at,e.assertTemplateElement=Et,e.assertTemplateLiteral=Rt,e.assertTerminatorless=Ae,e.assertThisExpression=ye,e.assertThisTypeAnnotation=ss,e.assertThrowStatement=ve,e.assertTopicReference=ae,e.assertTryStatement=he,e.assertTupleExpression=xa,e.assertTupleTypeAnnotation=Vr,e.assertTypeAlias=$i,e.assertTypeAnnotation=Cn,e.assertTypeCastExpression=Js,e.assertTypeParameter=Ns,e.assertTypeParameterDeclaration=Ur,e.assertTypeParameterInstantiation=Zi,e.assertTypeScript=mc,e.assertTypeofTypeAnnotation=Qi,e.assertUnaryExpression=Te,e.assertUnaryLike=Rp,e.assertUnionTypeAnnotation=He,e.assertUpdateExpression=Ce,e.assertUserWhitespacable=jp,e.assertV8IntrinsicIdentifier=$r,e.assertVariableDeclaration=se,e.assertVariableDeclarator=pe,e.assertVariance=T,e.assertVoidPattern=Ct,e.assertVoidTypeAnnotation=I,e.assertWhile=Vt,e.assertWhileStatement=nt,e.assertWithStatement=ft,e.assertYieldExpression=lr;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/is.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/utils/deprecationWarning.js");function p(O,ue,Ot){if(!(0,n.default)(O,ue,Ot))throw Error(`Expected type "${O}" with option ${JSON.stringify(Ot)}, but instead got "${ue.type}".`)}function i(O,ue){p("ArrayExpression",O,ue)}function o(O,ue){p("AssignmentExpression",O,ue)}function h(O,ue){p("BinaryExpression",O,ue)}function d(O,ue){p("InterpreterDirective",O,ue)}function f(O,ue){p("Directive",O,ue)}function b(O,ue){p("DirectiveLiteral",O,ue)}function m(O,ue){p("BlockStatement",O,ue)}function y(O,ue){p("BreakStatement",O,ue)}function x(O,ue){p("CallExpression",O,ue)}function v(O,ue){p("CatchClause",O,ue)}function E(O,ue){p("ConditionalExpression",O,ue)}function S(O,ue){p("ContinueStatement",O,ue)}function _(O,ue){p("DebuggerStatement",O,ue)}function A(O,ue){p("DoWhileStatement",O,ue)}function L(O,ue){p("EmptyStatement",O,ue)}function j(O,ue){p("ExpressionStatement",O,ue)}function F(O,ue){p("File",O,ue)}function k(O,ue){p("ForInStatement",O,ue)}function U(O,ue){p("ForStatement",O,ue)}function z(O,ue){p("FunctionDeclaration",O,ue)}function C(O,ue){p("FunctionExpression",O,ue)}function R(O,ue){p("Identifier",O,ue)}function G(O,ue){p("IfStatement",O,ue)}function V(O,ue){p("LabeledStatement",O,ue)}function B(O,ue){p("StringLiteral",O,ue)}function q(O,ue){p("NumericLiteral",O,ue)}function K(O,ue){p("NullLiteral",O,ue)}function $(O,ue){p("BooleanLiteral",O,ue)}function W(O,ue){p("RegExpLiteral",O,ue)}function Z(O,ue){p("LogicalExpression",O,ue)}function Q(O,ue){p("MemberExpression",O,ue)}function X(O,ue){p("NewExpression",O,ue)}function ie(O,ue){p("Program",O,ue)}function oe(O,ue){p("ObjectExpression",O,ue)}function be(O,ue){p("ObjectMethod",O,ue)}function Ne(O,ue){p("ObjectProperty",O,ue)}function Pe(O,ue){p("RestElement",O,ue)}function Ke(O,ue){p("ReturnStatement",O,ue)}function We(O,ue){p("SequenceExpression",O,ue)}function Oe(O,ue){p("ParenthesizedExpression",O,ue)}function de(O,ue){p("SwitchCase",O,ue)}function xe(O,ue){p("SwitchStatement",O,ue)}function ye(O,ue){p("ThisExpression",O,ue)}function ve(O,ue){p("ThrowStatement",O,ue)}function he(O,ue){p("TryStatement",O,ue)}function Te(O,ue){p("UnaryExpression",O,ue)}function Ce(O,ue){p("UpdateExpression",O,ue)}function se(O,ue){p("VariableDeclaration",O,ue)}function pe(O,ue){p("VariableDeclarator",O,ue)}function nt(O,ue){p("WhileStatement",O,ue)}function ft(O,ue){p("WithStatement",O,ue)}function _t(O,ue){p("AssignmentPattern",O,ue)}function Pt(O,ue){p("ArrayPattern",O,ue)}function ht(O,ue){p("ArrowFunctionExpression",O,ue)}function De(O,ue){p("ClassBody",O,ue)}function ze(O,ue){p("ClassExpression",O,ue)}function Ze(O,ue){p("ClassDeclaration",O,ue)}function tt(O,ue){p("ExportAllDeclaration",O,ue)}function ge(O,ue){p("ExportDefaultDeclaration",O,ue)}function fe(O,ue){p("ExportNamedDeclaration",O,ue)}function ee(O,ue){p("ExportSpecifier",O,ue)}function le(O,ue){p("ForOfStatement",O,ue)}function Se(O,ue){p("ImportDeclaration",O,ue)}function Ee(O,ue){p("ImportDefaultSpecifier",O,ue)}function Be(O,ue){p("ImportNamespaceSpecifier",O,ue)}function Qe(O,ue){p("ImportSpecifier",O,ue)}function ce(O,ue){p("ImportExpression",O,ue)}function $e(O,ue){p("MetaProperty",O,ue)}function et(O,ue){p("ClassMethod",O,ue)}function ut(O,ue){p("ObjectPattern",O,ue)}function Je(O,ue){p("SpreadElement",O,ue)}function Le(O,ue){p("Super",O,ue)}function at(O,ue){p("TaggedTemplateExpression",O,ue)}function Et(O,ue){p("TemplateElement",O,ue)}function Rt(O,ue){p("TemplateLiteral",O,ue)}function lr(O,ue){p("YieldExpression",O,ue)}function xt(O,ue){p("AwaitExpression",O,ue)}function ar(O,ue){p("Import",O,ue)}function yr(O,ue){p("BigIntLiteral",O,ue)}function Pr(O,ue){p("ExportNamespaceSpecifier",O,ue)}function Rr(O,ue){p("OptionalMemberExpression",O,ue)}function ln(O,ue){p("OptionalCallExpression",O,ue)}function Tn(O,ue){p("ClassProperty",O,ue)}function Pn(O,ue){p("ClassAccessorProperty",O,ue)}function er(O,ue){p("ClassPrivateProperty",O,ue)}function Yr(O,ue){p("ClassPrivateMethod",O,ue)}function gr(O,ue){p("PrivateName",O,ue)}function An(O,ue){p("StaticBlock",O,ue)}function rt(O,ue){p("ImportAttribute",O,ue)}function At(O,ue){p("AnyTypeAnnotation",O,ue)}function Mt(O,ue){p("ArrayTypeAnnotation",O,ue)}function $t(O,ue){p("BooleanTypeAnnotation",O,ue)}function zt(O,ue){p("BooleanLiteralTypeAnnotation",O,ue)}function qt(O,ue){p("NullLiteralTypeAnnotation",O,ue)}function pr(O,ue){p("ClassImplements",O,ue)}function xr(O,ue){p("DeclareClass",O,ue)}function Hr(O,ue){p("DeclareFunction",O,ue)}function Qr(O,ue){p("DeclareInterface",O,ue)}function Fr(O,ue){p("DeclareModule",O,ue)}function Sn(O,ue){p("DeclareModuleExports",O,ue)}function Nn(O,ue){p("DeclareTypeAlias",O,ue)}function zn(O,ue){p("DeclareOpaqueType",O,ue)}function Ni(O,ue){p("DeclareVariable",O,ue)}function Fi(O,ue){p("DeclareExportDeclaration",O,ue)}function qi(O,ue){p("DeclareExportAllDeclaration",O,ue)}function dr(O,ue){p("DeclaredPredicate",O,ue)}function Sr(O,ue){p("ExistsTypeAnnotation",O,ue)}function wr(O,ue){p("FunctionTypeAnnotation",O,ue)}function gn(O,ue){p("FunctionTypeParam",O,ue)}function vn(O,ue){p("GenericTypeAnnotation",O,ue)}function Gr(O,ue){p("InferredPredicate",O,ue)}function Rn(O,ue){p("InterfaceExtends",O,ue)}function Yt(O,ue){p("InterfaceDeclaration",O,ue)}function Qt(O,ue){p("InterfaceTypeAnnotation",O,ue)}function kt(O,ue){p("IntersectionTypeAnnotation",O,ue)}function vr(O,ue){p("MixedTypeAnnotation",O,ue)}function _r(O,ue){p("EmptyTypeAnnotation",O,ue)}function Xr(O,ue){p("NullableTypeAnnotation",O,ue)}function Xt(O,ue){p("NumberLiteralTypeAnnotation",O,ue)}function jr(O,ue){p("NumberTypeAnnotation",O,ue)}function tn(O,ue){p("ObjectTypeAnnotation",O,ue)}function un(O,ue){p("ObjectTypeInternalSlot",O,ue)}function xn(O,ue){p("ObjectTypeCallProperty",O,ue)}function fn(O,ue){p("ObjectTypeIndexer",O,ue)}function _n(O,ue){p("ObjectTypeProperty",O,ue)}function Ti(O,ue){p("ObjectTypeSpreadProperty",O,ue)}function di(O,ue){p("OpaqueType",O,ue)}function an(O,ue){p("QualifiedTypeIdentifier",O,ue)}function Qn(O,ue){p("StringLiteralTypeAnnotation",O,ue)}function Wi(O,ue){p("StringTypeAnnotation",O,ue)}function kr(O,ue){p("SymbolTypeAnnotation",O,ue)}function ss(O,ue){p("ThisTypeAnnotation",O,ue)}function Vr(O,ue){p("TupleTypeAnnotation",O,ue)}function Qi(O,ue){p("TypeofTypeAnnotation",O,ue)}function $i(O,ue){p("TypeAlias",O,ue)}function Cn(O,ue){p("TypeAnnotation",O,ue)}function Js(O,ue){p("TypeCastExpression",O,ue)}function Ns(O,ue){p("TypeParameter",O,ue)}function Ur(O,ue){p("TypeParameterDeclaration",O,ue)}function Zi(O,ue){p("TypeParameterInstantiation",O,ue)}function He(O,ue){p("UnionTypeAnnotation",O,ue)}function T(O,ue){p("Variance",O,ue)}function I(O,ue){p("VoidTypeAnnotation",O,ue)}function H(O,ue){p("EnumDeclaration",O,ue)}function re(O,ue){p("EnumBooleanBody",O,ue)}function we(O,ue){p("EnumNumberBody",O,ue)}function qe(O,ue){p("EnumStringBody",O,ue)}function it(O,ue){p("EnumSymbolBody",O,ue)}function ot(O,ue){p("EnumBooleanMember",O,ue)}function mt(O,ue){p("EnumNumberMember",O,ue)}function jt(O,ue){p("EnumStringMember",O,ue)}function Zt(O,ue){p("EnumDefaultedMember",O,ue)}function Br(O,ue){p("IndexedAccessType",O,ue)}function Er(O,ue){p("OptionalIndexedAccessType",O,ue)}function rn(O,ue){p("JSXAttribute",O,ue)}function Wn(O,ue){p("JSXClosingElement",O,ue)}function Un(O,ue){p("JSXElement",O,ue)}function Fn(O,ue){p("JSXEmptyExpression",O,ue)}function hi(O,ue){p("JSXExpressionContainer",O,ue)}function Ue(O,ue){p("JSXSpreadChild",O,ue)}function g(O,ue){p("JSXIdentifier",O,ue)}function P(O,ue){p("JSXMemberExpression",O,ue)}function J(O,ue){p("JSXNamespacedName",O,ue)}function ne(O,ue){p("JSXOpeningElement",O,ue)}function Fe(O,ue){p("JSXSpreadAttribute",O,ue)}function Xe(O,ue){p("JSXText",O,ue)}function lt(O,ue){p("JSXFragment",O,ue)}function dt(O,ue){p("JSXOpeningFragment",O,ue)}function bt(O,ue){p("JSXClosingFragment",O,ue)}function Lt(O,ue){p("Noop",O,ue)}function ur(O,ue){p("Placeholder",O,ue)}function $r(O,ue){p("V8IntrinsicIdentifier",O,ue)}function Kr(O,ue){p("ArgumentPlaceholder",O,ue)}function Dn(O,ue){p("BindExpression",O,ue)}function Zn(O,ue){p("Decorator",O,ue)}function Di(O,ue){p("DoExpression",O,ue)}function yi(O,ue){p("ExportDefaultSpecifier",O,ue)}function as(O,ue){p("RecordExpression",O,ue)}function xa(O,ue){p("TupleExpression",O,ue)}function ua(O,ue){p("DecimalLiteral",O,ue)}function N(O,ue){p("ModuleExpression",O,ue)}function ae(O,ue){p("TopicReference",O,ue)}function Re(O,ue){p("PipelineTopicExpression",O,ue)}function Ve(O,ue){p("PipelineBareFunction",O,ue)}function pt(O,ue){p("PipelinePrimaryTopicReference",O,ue)}function Ct(O,ue){p("VoidPattern",O,ue)}function Bt(O,ue){p("TSParameterProperty",O,ue)}function nr(O,ue){p("TSDeclareFunction",O,ue)}function Dr(O,ue){p("TSDeclareMethod",O,ue)}function Jr(O,ue){p("TSQualifiedName",O,ue)}function kn(O,ue){p("TSCallSignatureDeclaration",O,ue)}function ei(O,ue){p("TSConstructSignatureDeclaration",O,ue)}function Mi(O,ue){p("TSPropertySignature",O,ue)}function vs(O,ue){p("TSMethodSignature",O,ue)}function xs(O,ue){p("TSIndexSignature",O,ue)}function ca(O,ue){p("TSAnyKeyword",O,ue)}function Ki(O,ue){p("TSBooleanKeyword",O,ue)}function Us(O,ue){p("TSBigIntKeyword",O,ue)}function pn(O,ue){p("TSIntrinsicKeyword",O,ue)}function Gn(O,ue){p("TSNeverKeyword",O,ue)}function Ei(O,ue){p("TSNullKeyword",O,ue)}function Ii(O,ue){p("TSNumberKeyword",O,ue)}function Xs(O,ue){p("TSObjectKeyword",O,ue)}function Ta(O,ue){p("TSStringKeyword",O,ue)}function Ys(O,ue){p("TSSymbolKeyword",O,ue)}function Fs(O,ue){p("TSUndefinedKeyword",O,ue)}function pa(O,ue){p("TSUnknownKeyword",O,ue)}function Qs(O,ue){p("TSVoidKeyword",O,ue)}function Zs(O,ue){p("TSThisType",O,ue)}function Ja(O,ue){p("TSFunctionType",O,ue)}function nl(O,ue){p("TSConstructorType",O,ue)}function il(O,ue){p("TSTypeReference",O,ue)}function sl(O,ue){p("TSTypePredicate",O,ue)}function Oo(O,ue){p("TSTypeQuery",O,ue)}function No(O,ue){p("TSTypeLiteral",O,ue)}function al(O,ue){p("TSArrayType",O,ue)}function ol(O,ue){p("TSTupleType",O,ue)}function Fo(O,ue){p("TSOptionalType",O,ue)}function ll(O,ue){p("TSRestType",O,ue)}function jo(O,ue){p("TSNamedTupleMember",O,ue)}function ho(O,ue){p("TSUnionType",O,ue)}function ul(O,ue){p("TSIntersectionType",O,ue)}function Lo(O,ue){p("TSConditionalType",O,ue)}function cl(O,ue){p("TSInferType",O,ue)}function fo(O,ue){p("TSParenthesizedType",O,ue)}function pl(O,ue){p("TSTypeOperator",O,ue)}function dl(O,ue){p("TSIndexedAccessType",O,ue)}function hl(O,ue){p("TSMappedType",O,ue)}function Ro(O,ue){p("TSTemplateLiteralType",O,ue)}function Mo(O,ue){p("TSLiteralType",O,ue)}function D(O,ue){p("TSExpressionWithTypeArguments",O,ue)}function te(O,ue){p("TSInterfaceDeclaration",O,ue)}function _e(O,ue){p("TSInterfaceBody",O,ue)}function Me(O,ue){p("TSTypeAliasDeclaration",O,ue)}function st(O,ue){p("TSInstantiationExpression",O,ue)}function vt(O,ue){p("TSAsExpression",O,ue)}function gt(O,ue){p("TSSatisfiesExpression",O,ue)}function It(O,ue){p("TSTypeAssertion",O,ue)}function Jt(O,ue){p("TSEnumBody",O,ue)}function fr(O,ue){p("TSEnumDeclaration",O,ue)}function Kt(O,ue){p("TSEnumMember",O,ue)}function zr(O,ue){p("TSModuleDeclaration",O,ue)}function mn(O,ue){p("TSModuleBlock",O,ue)}function $n(O,ue){p("TSImportType",O,ue)}function fi(O,ue){p("TSImportEqualsDeclaration",O,ue)}function zi(O,ue){p("TSExternalModuleReference",O,ue)}function os(O,ue){p("TSNonNullExpression",O,ue)}function Si(O,ue){p("TSExportAssignment",O,ue)}function Ea(O,ue){p("TSNamespaceExportDeclaration",O,ue)}function qr(O,ue){p("TSTypeAnnotation",O,ue)}function Mn(O,ue){p("TSTypeParameterInstantiation",O,ue)}function Jn(O,ue){p("TSTypeParameterDeclaration",O,ue)}function nn(O,ue){p("TSTypeParameter",O,ue)}function wn(O,ue){p("Standardized",O,ue)}function ui(O,ue){p("Expression",O,ue)}function Xn(O,ue){p("Binary",O,ue)}function bs(O,ue){p("Scopable",O,ue)}function da(O,ue){p("BlockParent",O,ue)}function Pa(O,ue){p("Block",O,ue)}function ke(O,ue){p("Statement",O,ue)}function Ae(O,ue){p("Terminatorless",O,ue)}function Ye(O,ue){p("CompletionStatement",O,ue)}function Ge(O,ue){p("Conditional",O,ue)}function yt(O,ue){p("Loop",O,ue)}function Vt(O,ue){p("While",O,ue)}function Ir(O,ue){p("ExpressionWrapper",O,ue)}function ti(O,ue){p("For",O,ue)}function es(O,ue){p("ForXStatement",O,ue)}function Ca(O,ue){p("Function",O,ue)}function Np(O,ue){p("FunctionParent",O,ue)}function Fp(O,ue){p("Pureish",O,ue)}function La(O,ue){p("Declaration",O,ue)}function Bo(O,ue){p("FunctionParameter",O,ue)}function tc(O,ue){p("PatternLike",O,ue)}function rc(O,ue){p("LVal",O,ue)}function fl(O,ue){p("TSEntityName",O,ue)}function vu(O,ue){p("Literal",O,ue)}function nc(O,ue){p("Immutable",O,ue)}function jp(O,ue){p("UserWhitespacable",O,ue)}function Lp(O,ue){p("Method",O,ue)}function xu(O,ue){p("ObjectMember",O,ue)}function mo(O,ue){p("Property",O,ue)}function Rp(O,ue){p("UnaryLike",O,ue)}function Mp(O,ue){p("Pattern",O,ue)}function ic(O,ue){p("Class",O,ue)}function Tu(O,ue){p("ImportOrExportDeclaration",O,ue)}function Eu(O,ue){p("ExportDeclaration",O,ue)}function Bp(O,ue){p("ModuleSpecifier",O,ue)}function Up(O,ue){p("Accessor",O,ue)}function sc(O,ue){p("Private",O,ue)}function ac(O,ue){p("Flow",O,ue)}function oc(O,ue){p("FlowType",O,ue)}function lc(O,ue){p("FlowBaseAnnotation",O,ue)}function uc(O,ue){p("FlowDeclaration",O,ue)}function cc(O,ue){p("FlowPredicate",O,ue)}function pc(O,ue){p("EnumBody",O,ue)}function dc(O,ue){p("EnumMember",O,ue)}function hc(O,ue){p("JSX",O,ue)}function fc(O,ue){p("Miscellaneous",O,ue)}function mc(O,ue){p("TypeScript",O,ue)}function yc(O,ue){p("TSTypeElement",O,ue)}function Ml(O,ue){p("TSType",O,ue)}function bc(O,ue){p("TSBaseType",O,ue)}function w(O,ue){(0,c.default)("assertNumberLiteral","assertNumericLiteral"),p("NumberLiteral",O,ue)}function Y(O,ue){(0,c.default)("assertRegexLiteral","assertRegExpLiteral"),p("RegexLiteral",O,ue)}function me(O,ue){(0,c.default)("assertRestProperty","assertRestElement"),p("RestProperty",O,ue)}function Ie(O,ue){(0,c.default)("assertSpreadProperty","assertSpreadElement"),p("SpreadProperty",O,ue)}function M(O,ue){(0,c.default)("assertModuleDeclaration","assertImportOrExportDeclaration"),p("ModuleDeclaration",O,ue)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js");function p(i){let o=(0,c.default)(i);return o.length===1?o[0]:(0,n.unionTypeAnnotation)(o)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/generated/index.js");e.default=function(p){switch(p){case"string":return(0,n.stringTypeAnnotation)();case"number":return(0,n.numberTypeAnnotation)();case"undefined":return(0,n.voidTypeAnnotation)();case"boolean":return(0,n.booleanTypeAnnotation)();case"function":return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"));case"object":return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"));case"symbol":return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"));case"bigint":return(0,n.anyTypeAnnotation)()}throw Error("Invalid typeof value: "+p)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/generated/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/generated/lowercase.js");Object.keys(n).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===n[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return n[p]}})});var c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/generated/uppercase.js");Object.keys(c).forEach(function(p){p==="default"||p==="__esModule"||p in e&&e[p]===c[p]||Object.defineProperty(e,p,{enumerable:!0,get:function(){return c[p]}})})},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/generated/lowercase.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.anyTypeAnnotation=$t,e.argumentPlaceholder=Zn,e.arrayExpression=d,e.arrayPattern=ze,e.arrayTypeAnnotation=zt,e.arrowFunctionExpression=Ze,e.assignmentExpression=f,e.assignmentPattern=De,e.awaitExpression=Pr,e.bigIntLiteral=h,e.binaryExpression=b,e.bindExpression=Di,e.blockStatement=v,e.booleanLiteral=Q,e.booleanLiteralTypeAnnotation=pr,e.booleanTypeAnnotation=qt,e.breakStatement=E,e.callExpression=S,e.catchClause=_,e.classAccessorProperty=Yr,e.classBody=tt,e.classDeclaration=fe,e.classExpression=ge,e.classImplements=Hr,e.classMethod=Le,e.classPrivateMethod=An,e.classPrivateProperty=gr,e.classProperty=er,e.conditionalExpression=A,e.continueStatement=L,e.debuggerStatement=j,e.decimalLiteral=ae,e.declareClass=Qr,e.declareExportAllDeclaration=Sr,e.declareExportDeclaration=dr,e.declareFunction=Fr,e.declareInterface=Sn,e.declareModule=Nn,e.declareModuleExports=zn,e.declareOpaqueType=Fi,e.declareTypeAlias=Ni,e.declareVariable=qi,e.declaredPredicate=wr,e.decorator=yi,e.directive=y,e.directiveLiteral=x,e.doExpression=as,e.doWhileStatement=F,e.emptyStatement=k,e.emptyTypeAnnotation=Xt,e.enumBooleanBody=qe,e.enumBooleanMember=jt,e.enumDeclaration=we,e.enumDefaultedMember=Er,e.enumNumberBody=it,e.enumNumberMember=Zt,e.enumStringBody=ot,e.enumStringMember=Br,e.enumSymbolBody=mt,e.existsTypeAnnotation=gn,e.exportAllDeclaration=ee,e.exportDefaultDeclaration=le,e.exportDefaultSpecifier=xa,e.exportNamedDeclaration=Se,e.exportNamespaceSpecifier=ln,e.exportSpecifier=Ee,e.expressionStatement=U,e.file=z,e.forInStatement=C,e.forOfStatement=Be,e.forStatement=R,e.functionDeclaration=G,e.functionExpression=V,e.functionTypeAnnotation=vn,e.functionTypeParam=Gr,e.genericTypeAnnotation=Rn,e.identifier=B,e.ifStatement=q,e.import=Rr,e.importAttribute=Mt,e.importDeclaration=Qe,e.importDefaultSpecifier=ce,e.importExpression=ut,e.importNamespaceSpecifier=$e,e.importSpecifier=et,e.indexedAccessType=rn,e.inferredPredicate=Yt,e.interfaceDeclaration=kt,e.interfaceExtends=Qt,e.interfaceTypeAnnotation=vr,e.interpreterDirective=m,e.intersectionTypeAnnotation=_r,e.jSXAttribute=e.jsxAttribute=Un,e.jSXClosingElement=e.jsxClosingElement=Fn,e.jSXClosingFragment=e.jsxClosingFragment=ur,e.jSXElement=e.jsxElement=hi,e.jSXEmptyExpression=e.jsxEmptyExpression=Ue,e.jSXExpressionContainer=e.jsxExpressionContainer=g,e.jSXFragment=e.jsxFragment=bt,e.jSXIdentifier=e.jsxIdentifier=J,e.jSXMemberExpression=e.jsxMemberExpression=ne,e.jSXNamespacedName=e.jsxNamespacedName=Fe,e.jSXOpeningElement=e.jsxOpeningElement=Xe,e.jSXOpeningFragment=e.jsxOpeningFragment=Lt,e.jSXSpreadAttribute=e.jsxSpreadAttribute=lt,e.jSXSpreadChild=e.jsxSpreadChild=P,e.jSXText=e.jsxText=dt,e.labeledStatement=K,e.logicalExpression=ie,e.memberExpression=oe,e.metaProperty=Je,e.mixedTypeAnnotation=Xr,e.moduleExpression=Re,e.newExpression=be,e.noop=$r,e.nullLiteral=Z,e.nullLiteralTypeAnnotation=xr,e.nullableTypeAnnotation=jr,e.numberLiteral=Xn,e.numberLiteralTypeAnnotation=tn,e.numberTypeAnnotation=un,e.numericLiteral=W,e.objectExpression=Pe,e.objectMethod=Ke,e.objectPattern=at,e.objectProperty=We,e.objectTypeAnnotation=xn,e.objectTypeCallProperty=_n,e.objectTypeIndexer=Ti,e.objectTypeInternalSlot=fn,e.objectTypeProperty=di,e.objectTypeSpreadProperty=an,e.opaqueType=Qn,e.optionalCallExpression=Pn,e.optionalIndexedAccessType=Wn,e.optionalMemberExpression=Tn,e.parenthesizedExpression=ye,e.pipelineBareFunction=Ct,e.pipelinePrimaryTopicReference=Bt,e.pipelineTopicExpression=pt,e.placeholder=Kr,e.privateName=rt,e.program=Ne,e.qualifiedTypeIdentifier=Wi,e.recordExpression=ua,e.regExpLiteral=X,e.regexLiteral=bs,e.restElement=Oe,e.restProperty=da,e.returnStatement=de,e.sequenceExpression=xe,e.spreadElement=Et,e.spreadProperty=Pa,e.staticBlock=At,e.stringLiteral=$,e.stringLiteralTypeAnnotation=kr,e.stringTypeAnnotation=ss,e.super=Rt,e.switchCase=ve,e.switchStatement=he,e.symbolTypeAnnotation=Vr,e.taggedTemplateExpression=lr,e.templateElement=xt,e.templateLiteral=ar,e.thisExpression=Te,e.thisTypeAnnotation=Qi,e.throwStatement=Ce,e.topicReference=Ve,e.tryStatement=se,e.tSAnyKeyword=e.tsAnyKeyword=Us,e.tSArrayType=e.tsArrayType=Fo,e.tSAsExpression=e.tsAsExpression=It,e.tSBigIntKeyword=e.tsBigIntKeyword=Gn,e.tSBooleanKeyword=e.tsBooleanKeyword=pn,e.tSCallSignatureDeclaration=e.tsCallSignatureDeclaration=Mi,e.tSConditionalType=e.tsConditionalType=fo,e.tSConstructSignatureDeclaration=e.tsConstructSignatureDeclaration=vs,e.tSConstructorType=e.tsConstructorType=sl,e.tSDeclareFunction=e.tsDeclareFunction=Jr,e.tSDeclareMethod=e.tsDeclareMethod=kn,e.tSEnumBody=e.tsEnumBody=Kt,e.tSEnumDeclaration=e.tsEnumDeclaration=zr,e.tSEnumMember=e.tsEnumMember=mn,e.tSExportAssignment=e.tsExportAssignment=qr,e.tSExpressionWithTypeArguments=e.tsExpressionWithTypeArguments=_e,e.tSExternalModuleReference=e.tsExternalModuleReference=Si,e.tSFunctionType=e.tsFunctionType=il,e.tSImportEqualsDeclaration=e.tsImportEqualsDeclaration=os,e.tSImportType=e.tsImportType=zi,e.tSIndexSignature=e.tsIndexSignature=Ki,e.tSIndexedAccessType=e.tsIndexedAccessType=Ro,e.tSInferType=e.tsInferType=pl,e.tSInstantiationExpression=e.tsInstantiationExpression=gt,e.tSInterfaceBody=e.tsInterfaceBody=st,e.tSInterfaceDeclaration=e.tsInterfaceDeclaration=Me,e.tSIntersectionType=e.tsIntersectionType=cl,e.tSIntrinsicKeyword=e.tsIntrinsicKeyword=Ei,e.tSLiteralType=e.tsLiteralType=te,e.tSMappedType=e.tsMappedType=Mo,e.tSMethodSignature=e.tsMethodSignature=ca,e.tSModuleBlock=e.tsModuleBlock=fi,e.tSModuleDeclaration=e.tsModuleDeclaration=$n,e.tSNamedTupleMember=e.tsNamedTupleMember=ul,e.tSNamespaceExportDeclaration=e.tsNamespaceExportDeclaration=Mn,e.tSNeverKeyword=e.tsNeverKeyword=Ii,e.tSNonNullExpression=e.tsNonNullExpression=Ea,e.tSNullKeyword=e.tsNullKeyword=Xs,e.tSNumberKeyword=e.tsNumberKeyword=Ta,e.tSObjectKeyword=e.tsObjectKeyword=Ys,e.tSOptionalType=e.tsOptionalType=jo,e.tSParameterProperty=e.tsParameterProperty=Dr,e.tSParenthesizedType=e.tsParenthesizedType=dl,e.tSPropertySignature=e.tsPropertySignature=xs,e.tSQualifiedName=e.tsQualifiedName=ei,e.tSRestType=e.tsRestType=ho,e.tSSatisfiesExpression=e.tsSatisfiesExpression=Jt,e.tSStringKeyword=e.tsStringKeyword=Fs,e.tSSymbolKeyword=e.tsSymbolKeyword=pa,e.tSTemplateLiteralType=e.tsTemplateLiteralType=D,e.tSThisType=e.tsThisType=nl,e.tSTupleType=e.tsTupleType=ll,e.tSTypeAliasDeclaration=e.tsTypeAliasDeclaration=vt,e.tSTypeAnnotation=e.tsTypeAnnotation=Jn,e.tSTypeAssertion=e.tsTypeAssertion=fr,e.tSTypeLiteral=e.tsTypeLiteral=ol,e.tSTypeOperator=e.tsTypeOperator=hl,e.tSTypeParameter=e.tsTypeParameter=ui,e.tSTypeParameterDeclaration=e.tsTypeParameterDeclaration=wn,e.tSTypeParameterInstantiation=e.tsTypeParameterInstantiation=nn,e.tSTypePredicate=e.tsTypePredicate=No,e.tSTypeQuery=e.tsTypeQuery=al,e.tSTypeReference=e.tsTypeReference=Oo,e.tSUndefinedKeyword=e.tsUndefinedKeyword=Qs,e.tSUnionType=e.tsUnionType=Lo,e.tSUnknownKeyword=e.tsUnknownKeyword=Zs,e.tSVoidKeyword=e.tsVoidKeyword=Ja,e.tupleExpression=N,e.tupleTypeAnnotation=$i,e.typeAlias=Js,e.typeAnnotation=Ns,e.typeCastExpression=Ur,e.typeParameter=Zi,e.typeParameterDeclaration=He,e.typeParameterInstantiation=T,e.typeofTypeAnnotation=Cn,e.unaryExpression=pe,e.unionTypeAnnotation=I,e.updateExpression=nt,e.v8IntrinsicIdentifier=Dn,e.variableDeclaration=ft,e.variableDeclarator=_t,e.variance=H,e.voidPattern=nr,e.voidTypeAnnotation=re,e.whileStatement=Pt,e.withStatement=ht,e.yieldExpression=yr;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/validate.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/utils/deprecationWarning.js"),p=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/utils.js");let{validateInternal:i}=n,{NODE_FIELDS:o}=p;function h(ke){typeof ke=="bigint"&&(ke=ke.toString());let Ae={type:"BigIntLiteral",value:ke};return i(o.BigIntLiteral.value,Ae,"value",ke),Ae}function d(ke=[]){let Ae={type:"ArrayExpression",elements:ke};return i(o.ArrayExpression.elements,Ae,"elements",ke,1),Ae}function f(ke,Ae,Ye){let Ge={type:"AssignmentExpression",operator:ke,left:Ae,right:Ye},yt=o.AssignmentExpression;return i(yt.operator,Ge,"operator",ke),i(yt.left,Ge,"left",Ae,1),i(yt.right,Ge,"right",Ye,1),Ge}function b(ke,Ae,Ye){let Ge={type:"BinaryExpression",operator:ke,left:Ae,right:Ye},yt=o.BinaryExpression;return i(yt.operator,Ge,"operator",ke),i(yt.left,Ge,"left",Ae,1),i(yt.right,Ge,"right",Ye,1),Ge}function m(ke){let Ae={type:"InterpreterDirective",value:ke};return i(o.InterpreterDirective.value,Ae,"value",ke),Ae}function y(ke){let Ae={type:"Directive",value:ke};return i(o.Directive.value,Ae,"value",ke,1),Ae}function x(ke){let Ae={type:"DirectiveLiteral",value:ke};return i(o.DirectiveLiteral.value,Ae,"value",ke),Ae}function v(ke,Ae=[]){let Ye={type:"BlockStatement",body:ke,directives:Ae},Ge=o.BlockStatement;return i(Ge.body,Ye,"body",ke,1),i(Ge.directives,Ye,"directives",Ae,1),Ye}function E(ke=null){let Ae={type:"BreakStatement",label:ke};return i(o.BreakStatement.label,Ae,"label",ke,1),Ae}function S(ke,Ae){let Ye={type:"CallExpression",callee:ke,arguments:Ae},Ge=o.CallExpression;return i(Ge.callee,Ye,"callee",ke,1),i(Ge.arguments,Ye,"arguments",Ae,1),Ye}function _(ke=null,Ae){let Ye={type:"CatchClause",param:ke,body:Ae},Ge=o.CatchClause;return i(Ge.param,Ye,"param",ke,1),i(Ge.body,Ye,"body",Ae,1),Ye}function A(ke,Ae,Ye){let Ge={type:"ConditionalExpression",test:ke,consequent:Ae,alternate:Ye},yt=o.ConditionalExpression;return i(yt.test,Ge,"test",ke,1),i(yt.consequent,Ge,"consequent",Ae,1),i(yt.alternate,Ge,"alternate",Ye,1),Ge}function L(ke=null){let Ae={type:"ContinueStatement",label:ke};return i(o.ContinueStatement.label,Ae,"label",ke,1),Ae}function j(){return{type:"DebuggerStatement"}}function F(ke,Ae){let Ye={type:"DoWhileStatement",test:ke,body:Ae},Ge=o.DoWhileStatement;return i(Ge.test,Ye,"test",ke,1),i(Ge.body,Ye,"body",Ae,1),Ye}function k(){return{type:"EmptyStatement"}}function U(ke){let Ae={type:"ExpressionStatement",expression:ke};return i(o.ExpressionStatement.expression,Ae,"expression",ke,1),Ae}function z(ke,Ae=null,Ye=null){let Ge={type:"File",program:ke,comments:Ae,tokens:Ye},yt=o.File;return i(yt.program,Ge,"program",ke,1),i(yt.comments,Ge,"comments",Ae,1),i(yt.tokens,Ge,"tokens",Ye),Ge}function C(ke,Ae,Ye){let Ge={type:"ForInStatement",left:ke,right:Ae,body:Ye},yt=o.ForInStatement;return i(yt.left,Ge,"left",ke,1),i(yt.right,Ge,"right",Ae,1),i(yt.body,Ge,"body",Ye,1),Ge}function R(ke=null,Ae=null,Ye=null,Ge){let yt={type:"ForStatement",init:ke,test:Ae,update:Ye,body:Ge},Vt=o.ForStatement;return i(Vt.init,yt,"init",ke,1),i(Vt.test,yt,"test",Ae,1),i(Vt.update,yt,"update",Ye,1),i(Vt.body,yt,"body",Ge,1),yt}function G(ke=null,Ae,Ye,Ge=!1,yt=!1){let Vt={type:"FunctionDeclaration",id:ke,params:Ae,body:Ye,generator:Ge,async:yt},Ir=o.FunctionDeclaration;return i(Ir.id,Vt,"id",ke,1),i(Ir.params,Vt,"params",Ae,1),i(Ir.body,Vt,"body",Ye,1),i(Ir.generator,Vt,"generator",Ge),i(Ir.async,Vt,"async",yt),Vt}function V(ke=null,Ae,Ye,Ge=!1,yt=!1){let Vt={type:"FunctionExpression",id:ke,params:Ae,body:Ye,generator:Ge,async:yt},Ir=o.FunctionExpression;return i(Ir.id,Vt,"id",ke,1),i(Ir.params,Vt,"params",Ae,1),i(Ir.body,Vt,"body",Ye,1),i(Ir.generator,Vt,"generator",Ge),i(Ir.async,Vt,"async",yt),Vt}function B(ke){let Ae={type:"Identifier",name:ke};return i(o.Identifier.name,Ae,"name",ke),Ae}function q(ke,Ae,Ye=null){let Ge={type:"IfStatement",test:ke,consequent:Ae,alternate:Ye},yt=o.IfStatement;return i(yt.test,Ge,"test",ke,1),i(yt.consequent,Ge,"consequent",Ae,1),i(yt.alternate,Ge,"alternate",Ye,1),Ge}function K(ke,Ae){let Ye={type:"LabeledStatement",label:ke,body:Ae},Ge=o.LabeledStatement;return i(Ge.label,Ye,"label",ke,1),i(Ge.body,Ye,"body",Ae,1),Ye}function $(ke){let Ae={type:"StringLiteral",value:ke};return i(o.StringLiteral.value,Ae,"value",ke),Ae}function W(ke){let Ae={type:"NumericLiteral",value:ke};return i(o.NumericLiteral.value,Ae,"value",ke),Ae}function Z(){return{type:"NullLiteral"}}function Q(ke){let Ae={type:"BooleanLiteral",value:ke};return i(o.BooleanLiteral.value,Ae,"value",ke),Ae}function X(ke,Ae=""){let Ye={type:"RegExpLiteral",pattern:ke,flags:Ae},Ge=o.RegExpLiteral;return i(Ge.pattern,Ye,"pattern",ke),i(Ge.flags,Ye,"flags",Ae),Ye}function ie(ke,Ae,Ye){let Ge={type:"LogicalExpression",operator:ke,left:Ae,right:Ye},yt=o.LogicalExpression;return i(yt.operator,Ge,"operator",ke),i(yt.left,Ge,"left",Ae,1),i(yt.right,Ge,"right",Ye,1),Ge}function oe(ke,Ae,Ye=!1,Ge=null){let yt={type:"MemberExpression",object:ke,property:Ae,computed:Ye,optional:Ge},Vt=o.MemberExpression;return i(Vt.object,yt,"object",ke,1),i(Vt.property,yt,"property",Ae,1),i(Vt.computed,yt,"computed",Ye),i(Vt.optional,yt,"optional",Ge),yt}function be(ke,Ae){let Ye={type:"NewExpression",callee:ke,arguments:Ae},Ge=o.NewExpression;return i(Ge.callee,Ye,"callee",ke,1),i(Ge.arguments,Ye,"arguments",Ae,1),Ye}function Ne(ke,Ae=[],Ye="script",Ge=null){let yt={type:"Program",body:ke,directives:Ae,sourceType:Ye,interpreter:Ge},Vt=o.Program;return i(Vt.body,yt,"body",ke,1),i(Vt.directives,yt,"directives",Ae,1),i(Vt.sourceType,yt,"sourceType",Ye),i(Vt.interpreter,yt,"interpreter",Ge,1),yt}function Pe(ke){let Ae={type:"ObjectExpression",properties:ke};return i(o.ObjectExpression.properties,Ae,"properties",ke,1),Ae}function Ke(ke="method",Ae,Ye,Ge,yt=!1,Vt=!1,Ir=!1){let ti={type:"ObjectMethod",kind:ke,key:Ae,params:Ye,body:Ge,computed:yt,generator:Vt,async:Ir},es=o.ObjectMethod;return i(es.kind,ti,"kind",ke),i(es.key,ti,"key",Ae,1),i(es.params,ti,"params",Ye,1),i(es.body,ti,"body",Ge,1),i(es.computed,ti,"computed",yt),i(es.generator,ti,"generator",Vt),i(es.async,ti,"async",Ir),ti}function We(ke,Ae,Ye=!1,Ge=!1,yt=null){let Vt={type:"ObjectProperty",key:ke,value:Ae,computed:Ye,shorthand:Ge,decorators:yt},Ir=o.ObjectProperty;return i(Ir.key,Vt,"key",ke,1),i(Ir.value,Vt,"value",Ae,1),i(Ir.computed,Vt,"computed",Ye),i(Ir.shorthand,Vt,"shorthand",Ge),i(Ir.decorators,Vt,"decorators",yt,1),Vt}function Oe(ke){let Ae={type:"RestElement",argument:ke};return i(o.RestElement.argument,Ae,"argument",ke,1),Ae}function de(ke=null){let Ae={type:"ReturnStatement",argument:ke};return i(o.ReturnStatement.argument,Ae,"argument",ke,1),Ae}function xe(ke){let Ae={type:"SequenceExpression",expressions:ke};return i(o.SequenceExpression.expressions,Ae,"expressions",ke,1),Ae}function ye(ke){let Ae={type:"ParenthesizedExpression",expression:ke};return i(o.ParenthesizedExpression.expression,Ae,"expression",ke,1),Ae}function ve(ke=null,Ae){let Ye={type:"SwitchCase",test:ke,consequent:Ae},Ge=o.SwitchCase;return i(Ge.test,Ye,"test",ke,1),i(Ge.consequent,Ye,"consequent",Ae,1),Ye}function he(ke,Ae){let Ye={type:"SwitchStatement",discriminant:ke,cases:Ae},Ge=o.SwitchStatement;return i(Ge.discriminant,Ye,"discriminant",ke,1),i(Ge.cases,Ye,"cases",Ae,1),Ye}function Te(){return{type:"ThisExpression"}}function Ce(ke){let Ae={type:"ThrowStatement",argument:ke};return i(o.ThrowStatement.argument,Ae,"argument",ke,1),Ae}function se(ke,Ae=null,Ye=null){let Ge={type:"TryStatement",block:ke,handler:Ae,finalizer:Ye},yt=o.TryStatement;return i(yt.block,Ge,"block",ke,1),i(yt.handler,Ge,"handler",Ae,1),i(yt.finalizer,Ge,"finalizer",Ye,1),Ge}function pe(ke,Ae,Ye=!0){let Ge={type:"UnaryExpression",operator:ke,argument:Ae,prefix:Ye},yt=o.UnaryExpression;return i(yt.operator,Ge,"operator",ke),i(yt.argument,Ge,"argument",Ae,1),i(yt.prefix,Ge,"prefix",Ye),Ge}function nt(ke,Ae,Ye=!1){let Ge={type:"UpdateExpression",operator:ke,argument:Ae,prefix:Ye},yt=o.UpdateExpression;return i(yt.operator,Ge,"operator",ke),i(yt.argument,Ge,"argument",Ae,1),i(yt.prefix,Ge,"prefix",Ye),Ge}function ft(ke,Ae){let Ye={type:"VariableDeclaration",kind:ke,declarations:Ae},Ge=o.VariableDeclaration;return i(Ge.kind,Ye,"kind",ke),i(Ge.declarations,Ye,"declarations",Ae,1),Ye}function _t(ke,Ae=null){let Ye={type:"VariableDeclarator",id:ke,init:Ae},Ge=o.VariableDeclarator;return i(Ge.id,Ye,"id",ke,1),i(Ge.init,Ye,"init",Ae,1),Ye}function Pt(ke,Ae){let Ye={type:"WhileStatement",test:ke,body:Ae},Ge=o.WhileStatement;return i(Ge.test,Ye,"test",ke,1),i(Ge.body,Ye,"body",Ae,1),Ye}function ht(ke,Ae){let Ye={type:"WithStatement",object:ke,body:Ae},Ge=o.WithStatement;return i(Ge.object,Ye,"object",ke,1),i(Ge.body,Ye,"body",Ae,1),Ye}function De(ke,Ae){let Ye={type:"AssignmentPattern",left:ke,right:Ae},Ge=o.AssignmentPattern;return i(Ge.left,Ye,"left",ke,1),i(Ge.right,Ye,"right",Ae,1),Ye}function ze(ke){let Ae={type:"ArrayPattern",elements:ke};return i(o.ArrayPattern.elements,Ae,"elements",ke,1),Ae}function Ze(ke,Ae,Ye=!1){let Ge={type:"ArrowFunctionExpression",params:ke,body:Ae,async:Ye,expression:null},yt=o.ArrowFunctionExpression;return i(yt.params,Ge,"params",ke,1),i(yt.body,Ge,"body",Ae,1),i(yt.async,Ge,"async",Ye),Ge}function tt(ke){let Ae={type:"ClassBody",body:ke};return i(o.ClassBody.body,Ae,"body",ke,1),Ae}function ge(ke=null,Ae=null,Ye,Ge=null){let yt={type:"ClassExpression",id:ke,superClass:Ae,body:Ye,decorators:Ge},Vt=o.ClassExpression;return i(Vt.id,yt,"id",ke,1),i(Vt.superClass,yt,"superClass",Ae,1),i(Vt.body,yt,"body",Ye,1),i(Vt.decorators,yt,"decorators",Ge,1),yt}function fe(ke=null,Ae=null,Ye,Ge=null){let yt={type:"ClassDeclaration",id:ke,superClass:Ae,body:Ye,decorators:Ge},Vt=o.ClassDeclaration;return i(Vt.id,yt,"id",ke,1),i(Vt.superClass,yt,"superClass",Ae,1),i(Vt.body,yt,"body",Ye,1),i(Vt.decorators,yt,"decorators",Ge,1),yt}function ee(ke){let Ae={type:"ExportAllDeclaration",source:ke};return i(o.ExportAllDeclaration.source,Ae,"source",ke,1),Ae}function le(ke){let Ae={type:"ExportDefaultDeclaration",declaration:ke};return i(o.ExportDefaultDeclaration.declaration,Ae,"declaration",ke,1),Ae}function Se(ke=null,Ae=[],Ye=null){let Ge={type:"ExportNamedDeclaration",declaration:ke,specifiers:Ae,source:Ye},yt=o.ExportNamedDeclaration;return i(yt.declaration,Ge,"declaration",ke,1),i(yt.specifiers,Ge,"specifiers",Ae,1),i(yt.source,Ge,"source",Ye,1),Ge}function Ee(ke,Ae){let Ye={type:"ExportSpecifier",local:ke,exported:Ae},Ge=o.ExportSpecifier;return i(Ge.local,Ye,"local",ke,1),i(Ge.exported,Ye,"exported",Ae,1),Ye}function Be(ke,Ae,Ye,Ge=!1){let yt={type:"ForOfStatement",left:ke,right:Ae,body:Ye,await:Ge},Vt=o.ForOfStatement;return i(Vt.left,yt,"left",ke,1),i(Vt.right,yt,"right",Ae,1),i(Vt.body,yt,"body",Ye,1),i(Vt.await,yt,"await",Ge),yt}function Qe(ke,Ae){let Ye={type:"ImportDeclaration",specifiers:ke,source:Ae},Ge=o.ImportDeclaration;return i(Ge.specifiers,Ye,"specifiers",ke,1),i(Ge.source,Ye,"source",Ae,1),Ye}function ce(ke){let Ae={type:"ImportDefaultSpecifier",local:ke};return i(o.ImportDefaultSpecifier.local,Ae,"local",ke,1),Ae}function $e(ke){let Ae={type:"ImportNamespaceSpecifier",local:ke};return i(o.ImportNamespaceSpecifier.local,Ae,"local",ke,1),Ae}function et(ke,Ae){let Ye={type:"ImportSpecifier",local:ke,imported:Ae},Ge=o.ImportSpecifier;return i(Ge.local,Ye,"local",ke,1),i(Ge.imported,Ye,"imported",Ae,1),Ye}function ut(ke,Ae=null){let Ye={type:"ImportExpression",source:ke,options:Ae},Ge=o.ImportExpression;return i(Ge.source,Ye,"source",ke,1),i(Ge.options,Ye,"options",Ae,1),Ye}function Je(ke,Ae){let Ye={type:"MetaProperty",meta:ke,property:Ae},Ge=o.MetaProperty;return i(Ge.meta,Ye,"meta",ke,1),i(Ge.property,Ye,"property",Ae,1),Ye}function Le(ke="method",Ae,Ye,Ge,yt=!1,Vt=!1,Ir=!1,ti=!1){let es={type:"ClassMethod",kind:ke,key:Ae,params:Ye,body:Ge,computed:yt,static:Vt,generator:Ir,async:ti},Ca=o.ClassMethod;return i(Ca.kind,es,"kind",ke),i(Ca.key,es,"key",Ae,1),i(Ca.params,es,"params",Ye,1),i(Ca.body,es,"body",Ge,1),i(Ca.computed,es,"computed",yt),i(Ca.static,es,"static",Vt),i(Ca.generator,es,"generator",Ir),i(Ca.async,es,"async",ti),es}function at(ke){let Ae={type:"ObjectPattern",properties:ke};return i(o.ObjectPattern.properties,Ae,"properties",ke,1),Ae}function Et(ke){let Ae={type:"SpreadElement",argument:ke};return i(o.SpreadElement.argument,Ae,"argument",ke,1),Ae}function Rt(){return{type:"Super"}}function lr(ke,Ae){let Ye={type:"TaggedTemplateExpression",tag:ke,quasi:Ae},Ge=o.TaggedTemplateExpression;return i(Ge.tag,Ye,"tag",ke,1),i(Ge.quasi,Ye,"quasi",Ae,1),Ye}function xt(ke,Ae=!1){let Ye={type:"TemplateElement",value:ke,tail:Ae},Ge=o.TemplateElement;return i(Ge.value,Ye,"value",ke),i(Ge.tail,Ye,"tail",Ae),Ye}function ar(ke,Ae){let Ye={type:"TemplateLiteral",quasis:ke,expressions:Ae},Ge=o.TemplateLiteral;return i(Ge.quasis,Ye,"quasis",ke,1),i(Ge.expressions,Ye,"expressions",Ae,1),Ye}function yr(ke=null,Ae=!1){let Ye={type:"YieldExpression",argument:ke,delegate:Ae},Ge=o.YieldExpression;return i(Ge.argument,Ye,"argument",ke,1),i(Ge.delegate,Ye,"delegate",Ae),Ye}function Pr(ke){let Ae={type:"AwaitExpression",argument:ke};return i(o.AwaitExpression.argument,Ae,"argument",ke,1),Ae}function Rr(){return{type:"Import"}}function ln(ke){let Ae={type:"ExportNamespaceSpecifier",exported:ke};return i(o.ExportNamespaceSpecifier.exported,Ae,"exported",ke,1),Ae}function Tn(ke,Ae,Ye=!1,Ge){let yt={type:"OptionalMemberExpression",object:ke,property:Ae,computed:Ye,optional:Ge},Vt=o.OptionalMemberExpression;return i(Vt.object,yt,"object",ke,1),i(Vt.property,yt,"property",Ae,1),i(Vt.computed,yt,"computed",Ye),i(Vt.optional,yt,"optional",Ge),yt}function Pn(ke,Ae,Ye){let Ge={type:"OptionalCallExpression",callee:ke,arguments:Ae,optional:Ye},yt=o.OptionalCallExpression;return i(yt.callee,Ge,"callee",ke,1),i(yt.arguments,Ge,"arguments",Ae,1),i(yt.optional,Ge,"optional",Ye),Ge}function er(ke,Ae=null,Ye=null,Ge=null,yt=!1,Vt=!1){let Ir={type:"ClassProperty",key:ke,value:Ae,typeAnnotation:Ye,decorators:Ge,computed:yt,static:Vt},ti=o.ClassProperty;return i(ti.key,Ir,"key",ke,1),i(ti.value,Ir,"value",Ae,1),i(ti.typeAnnotation,Ir,"typeAnnotation",Ye,1),i(ti.decorators,Ir,"decorators",Ge,1),i(ti.computed,Ir,"computed",yt),i(ti.static,Ir,"static",Vt),Ir}function Yr(ke,Ae=null,Ye=null,Ge=null,yt=!1,Vt=!1){let Ir={type:"ClassAccessorProperty",key:ke,value:Ae,typeAnnotation:Ye,decorators:Ge,computed:yt,static:Vt},ti=o.ClassAccessorProperty;return i(ti.key,Ir,"key",ke,1),i(ti.value,Ir,"value",Ae,1),i(ti.typeAnnotation,Ir,"typeAnnotation",Ye,1),i(ti.decorators,Ir,"decorators",Ge,1),i(ti.computed,Ir,"computed",yt),i(ti.static,Ir,"static",Vt),Ir}function gr(ke,Ae=null,Ye=null,Ge=!1){let yt={type:"ClassPrivateProperty",key:ke,value:Ae,decorators:Ye,static:Ge},Vt=o.ClassPrivateProperty;return i(Vt.key,yt,"key",ke,1),i(Vt.value,yt,"value",Ae,1),i(Vt.decorators,yt,"decorators",Ye,1),i(Vt.static,yt,"static",Ge),yt}function An(ke="method",Ae,Ye,Ge,yt=!1){let Vt={type:"ClassPrivateMethod",kind:ke,key:Ae,params:Ye,body:Ge,static:yt},Ir=o.ClassPrivateMethod;return i(Ir.kind,Vt,"kind",ke),i(Ir.key,Vt,"key",Ae,1),i(Ir.params,Vt,"params",Ye,1),i(Ir.body,Vt,"body",Ge,1),i(Ir.static,Vt,"static",yt),Vt}function rt(ke){let Ae={type:"PrivateName",id:ke};return i(o.PrivateName.id,Ae,"id",ke,1),Ae}function At(ke){let Ae={type:"StaticBlock",body:ke};return i(o.StaticBlock.body,Ae,"body",ke,1),Ae}function Mt(ke,Ae){let Ye={type:"ImportAttribute",key:ke,value:Ae},Ge=o.ImportAttribute;return i(Ge.key,Ye,"key",ke,1),i(Ge.value,Ye,"value",Ae,1),Ye}function $t(){return{type:"AnyTypeAnnotation"}}function zt(ke){let Ae={type:"ArrayTypeAnnotation",elementType:ke};return i(o.ArrayTypeAnnotation.elementType,Ae,"elementType",ke,1),Ae}function qt(){return{type:"BooleanTypeAnnotation"}}function pr(ke){let Ae={type:"BooleanLiteralTypeAnnotation",value:ke};return i(o.BooleanLiteralTypeAnnotation.value,Ae,"value",ke),Ae}function xr(){return{type:"NullLiteralTypeAnnotation"}}function Hr(ke,Ae=null){let Ye={type:"ClassImplements",id:ke,typeParameters:Ae},Ge=o.ClassImplements;return i(Ge.id,Ye,"id",ke,1),i(Ge.typeParameters,Ye,"typeParameters",Ae,1),Ye}function Qr(ke,Ae=null,Ye=null,Ge){let yt={type:"DeclareClass",id:ke,typeParameters:Ae,extends:Ye,body:Ge},Vt=o.DeclareClass;return i(Vt.id,yt,"id",ke,1),i(Vt.typeParameters,yt,"typeParameters",Ae,1),i(Vt.extends,yt,"extends",Ye,1),i(Vt.body,yt,"body",Ge,1),yt}function Fr(ke){let Ae={type:"DeclareFunction",id:ke};return i(o.DeclareFunction.id,Ae,"id",ke,1),Ae}function Sn(ke,Ae=null,Ye=null,Ge){let yt={type:"DeclareInterface",id:ke,typeParameters:Ae,extends:Ye,body:Ge},Vt=o.DeclareInterface;return i(Vt.id,yt,"id",ke,1),i(Vt.typeParameters,yt,"typeParameters",Ae,1),i(Vt.extends,yt,"extends",Ye,1),i(Vt.body,yt,"body",Ge,1),yt}function Nn(ke,Ae,Ye=null){let Ge={type:"DeclareModule",id:ke,body:Ae,kind:Ye},yt=o.DeclareModule;return i(yt.id,Ge,"id",ke,1),i(yt.body,Ge,"body",Ae,1),i(yt.kind,Ge,"kind",Ye),Ge}function zn(ke){let Ae={type:"DeclareModuleExports",typeAnnotation:ke};return i(o.DeclareModuleExports.typeAnnotation,Ae,"typeAnnotation",ke,1),Ae}function Ni(ke,Ae=null,Ye){let Ge={type:"DeclareTypeAlias",id:ke,typeParameters:Ae,right:Ye},yt=o.DeclareTypeAlias;return i(yt.id,Ge,"id",ke,1),i(yt.typeParameters,Ge,"typeParameters",Ae,1),i(yt.right,Ge,"right",Ye,1),Ge}function Fi(ke,Ae=null,Ye=null){let Ge={type:"DeclareOpaqueType",id:ke,typeParameters:Ae,supertype:Ye},yt=o.DeclareOpaqueType;return i(yt.id,Ge,"id",ke,1),i(yt.typeParameters,Ge,"typeParameters",Ae,1),i(yt.supertype,Ge,"supertype",Ye,1),Ge}function qi(ke){let Ae={type:"DeclareVariable",id:ke};return i(o.DeclareVariable.id,Ae,"id",ke,1),Ae}function dr(ke=null,Ae=null,Ye=null,Ge=null){let yt={type:"DeclareExportDeclaration",declaration:ke,specifiers:Ae,source:Ye,attributes:Ge},Vt=o.DeclareExportDeclaration;return i(Vt.declaration,yt,"declaration",ke,1),i(Vt.specifiers,yt,"specifiers",Ae,1),i(Vt.source,yt,"source",Ye,1),i(Vt.attributes,yt,"attributes",Ge,1),yt}function Sr(ke,Ae=null){let Ye={type:"DeclareExportAllDeclaration",source:ke,attributes:Ae},Ge=o.DeclareExportAllDeclaration;return i(Ge.source,Ye,"source",ke,1),i(Ge.attributes,Ye,"attributes",Ae,1),Ye}function wr(ke){let Ae={type:"DeclaredPredicate",value:ke};return i(o.DeclaredPredicate.value,Ae,"value",ke,1),Ae}function gn(){return{type:"ExistsTypeAnnotation"}}function vn(ke=null,Ae,Ye=null,Ge){let yt={type:"FunctionTypeAnnotation",typeParameters:ke,params:Ae,rest:Ye,returnType:Ge},Vt=o.FunctionTypeAnnotation;return i(Vt.typeParameters,yt,"typeParameters",ke,1),i(Vt.params,yt,"params",Ae,1),i(Vt.rest,yt,"rest",Ye,1),i(Vt.returnType,yt,"returnType",Ge,1),yt}function Gr(ke=null,Ae){let Ye={type:"FunctionTypeParam",name:ke,typeAnnotation:Ae},Ge=o.FunctionTypeParam;return i(Ge.name,Ye,"name",ke,1),i(Ge.typeAnnotation,Ye,"typeAnnotation",Ae,1),Ye}function Rn(ke,Ae=null){let Ye={type:"GenericTypeAnnotation",id:ke,typeParameters:Ae},Ge=o.GenericTypeAnnotation;return i(Ge.id,Ye,"id",ke,1),i(Ge.typeParameters,Ye,"typeParameters",Ae,1),Ye}function Yt(){return{type:"InferredPredicate"}}function Qt(ke,Ae=null){let Ye={type:"InterfaceExtends",id:ke,typeParameters:Ae},Ge=o.InterfaceExtends;return i(Ge.id,Ye,"id",ke,1),i(Ge.typeParameters,Ye,"typeParameters",Ae,1),Ye}function kt(ke,Ae=null,Ye=null,Ge){let yt={type:"InterfaceDeclaration",id:ke,typeParameters:Ae,extends:Ye,body:Ge},Vt=o.InterfaceDeclaration;return i(Vt.id,yt,"id",ke,1),i(Vt.typeParameters,yt,"typeParameters",Ae,1),i(Vt.extends,yt,"extends",Ye,1),i(Vt.body,yt,"body",Ge,1),yt}function vr(ke=null,Ae){let Ye={type:"InterfaceTypeAnnotation",extends:ke,body:Ae},Ge=o.InterfaceTypeAnnotation;return i(Ge.extends,Ye,"extends",ke,1),i(Ge.body,Ye,"body",Ae,1),Ye}function _r(ke){let Ae={type:"IntersectionTypeAnnotation",types:ke};return i(o.IntersectionTypeAnnotation.types,Ae,"types",ke,1),Ae}function Xr(){return{type:"MixedTypeAnnotation"}}function Xt(){return{type:"EmptyTypeAnnotation"}}function jr(ke){let Ae={type:"NullableTypeAnnotation",typeAnnotation:ke};return i(o.NullableTypeAnnotation.typeAnnotation,Ae,"typeAnnotation",ke,1),Ae}function tn(ke){let Ae={type:"NumberLiteralTypeAnnotation",value:ke};return i(o.NumberLiteralTypeAnnotation.value,Ae,"value",ke),Ae}function un(){return{type:"NumberTypeAnnotation"}}function xn(ke,Ae=[],Ye=[],Ge=[],yt=!1){let Vt={type:"ObjectTypeAnnotation",properties:ke,indexers:Ae,callProperties:Ye,internalSlots:Ge,exact:yt},Ir=o.ObjectTypeAnnotation;return i(Ir.properties,Vt,"properties",ke,1),i(Ir.indexers,Vt,"indexers",Ae,1),i(Ir.callProperties,Vt,"callProperties",Ye,1),i(Ir.internalSlots,Vt,"internalSlots",Ge,1),i(Ir.exact,Vt,"exact",yt),Vt}function fn(ke,Ae,Ye,Ge,yt){let Vt={type:"ObjectTypeInternalSlot",id:ke,value:Ae,optional:Ye,static:Ge,method:yt},Ir=o.ObjectTypeInternalSlot;return i(Ir.id,Vt,"id",ke,1),i(Ir.value,Vt,"value",Ae,1),i(Ir.optional,Vt,"optional",Ye),i(Ir.static,Vt,"static",Ge),i(Ir.method,Vt,"method",yt),Vt}function _n(ke){let Ae={type:"ObjectTypeCallProperty",value:ke,static:null};return i(o.ObjectTypeCallProperty.value,Ae,"value",ke,1),Ae}function Ti(ke=null,Ae,Ye,Ge=null){let yt={type:"ObjectTypeIndexer",id:ke,key:Ae,value:Ye,variance:Ge,static:null},Vt=o.ObjectTypeIndexer;return i(Vt.id,yt,"id",ke,1),i(Vt.key,yt,"key",Ae,1),i(Vt.value,yt,"value",Ye,1),i(Vt.variance,yt,"variance",Ge,1),yt}function di(ke,Ae,Ye=null){let Ge={type:"ObjectTypeProperty",key:ke,value:Ae,variance:Ye,kind:null,method:null,optional:null,proto:null,static:null},yt=o.ObjectTypeProperty;return i(yt.key,Ge,"key",ke,1),i(yt.value,Ge,"value",Ae,1),i(yt.variance,Ge,"variance",Ye,1),Ge}function an(ke){let Ae={type:"ObjectTypeSpreadProperty",argument:ke};return i(o.ObjectTypeSpreadProperty.argument,Ae,"argument",ke,1),Ae}function Qn(ke,Ae=null,Ye=null,Ge){let yt={type:"OpaqueType",id:ke,typeParameters:Ae,supertype:Ye,impltype:Ge},Vt=o.OpaqueType;return i(Vt.id,yt,"id",ke,1),i(Vt.typeParameters,yt,"typeParameters",Ae,1),i(Vt.supertype,yt,"supertype",Ye,1),i(Vt.impltype,yt,"impltype",Ge,1),yt}function Wi(ke,Ae){let Ye={type:"QualifiedTypeIdentifier",id:ke,qualification:Ae},Ge=o.QualifiedTypeIdentifier;return i(Ge.id,Ye,"id",ke,1),i(Ge.qualification,Ye,"qualification",Ae,1),Ye}function kr(ke){let Ae={type:"StringLiteralTypeAnnotation",value:ke};return i(o.StringLiteralTypeAnnotation.value,Ae,"value",ke),Ae}function ss(){return{type:"StringTypeAnnotation"}}function Vr(){return{type:"SymbolTypeAnnotation"}}function Qi(){return{type:"ThisTypeAnnotation"}}function $i(ke){let Ae={type:"TupleTypeAnnotation",types:ke};return i(o.TupleTypeAnnotation.types,Ae,"types",ke,1),Ae}function Cn(ke){let Ae={type:"TypeofTypeAnnotation",argument:ke};return i(o.TypeofTypeAnnotation.argument,Ae,"argument",ke,1),Ae}function Js(ke,Ae=null,Ye){let Ge={type:"TypeAlias",id:ke,typeParameters:Ae,right:Ye},yt=o.TypeAlias;return i(yt.id,Ge,"id",ke,1),i(yt.typeParameters,Ge,"typeParameters",Ae,1),i(yt.right,Ge,"right",Ye,1),Ge}function Ns(ke){let Ae={type:"TypeAnnotation",typeAnnotation:ke};return i(o.TypeAnnotation.typeAnnotation,Ae,"typeAnnotation",ke,1),Ae}function Ur(ke,Ae){let Ye={type:"TypeCastExpression",expression:ke,typeAnnotation:Ae},Ge=o.TypeCastExpression;return i(Ge.expression,Ye,"expression",ke,1),i(Ge.typeAnnotation,Ye,"typeAnnotation",Ae,1),Ye}function Zi(ke=null,Ae=null,Ye=null){let Ge={type:"TypeParameter",bound:ke,default:Ae,variance:Ye,name:null},yt=o.TypeParameter;return i(yt.bound,Ge,"bound",ke,1),i(yt.default,Ge,"default",Ae,1),i(yt.variance,Ge,"variance",Ye,1),Ge}function He(ke){let Ae={type:"TypeParameterDeclaration",params:ke};return i(o.TypeParameterDeclaration.params,Ae,"params",ke,1),Ae}function T(ke){let Ae={type:"TypeParameterInstantiation",params:ke};return i(o.TypeParameterInstantiation.params,Ae,"params",ke,1),Ae}function I(ke){let Ae={type:"UnionTypeAnnotation",types:ke};return i(o.UnionTypeAnnotation.types,Ae,"types",ke,1),Ae}function H(ke){let Ae={type:"Variance",kind:ke};return i(o.Variance.kind,Ae,"kind",ke),Ae}function re(){return{type:"VoidTypeAnnotation"}}function we(ke,Ae){let Ye={type:"EnumDeclaration",id:ke,body:Ae},Ge=o.EnumDeclaration;return i(Ge.id,Ye,"id",ke,1),i(Ge.body,Ye,"body",Ae,1),Ye}function qe(ke){let Ae={type:"EnumBooleanBody",members:ke,explicitType:null,hasUnknownMembers:null};return i(o.EnumBooleanBody.members,Ae,"members",ke,1),Ae}function it(ke){let Ae={type:"EnumNumberBody",members:ke,explicitType:null,hasUnknownMembers:null};return i(o.EnumNumberBody.members,Ae,"members",ke,1),Ae}function ot(ke){let Ae={type:"EnumStringBody",members:ke,explicitType:null,hasUnknownMembers:null};return i(o.EnumStringBody.members,Ae,"members",ke,1),Ae}function mt(ke){let Ae={type:"EnumSymbolBody",members:ke,hasUnknownMembers:null};return i(o.EnumSymbolBody.members,Ae,"members",ke,1),Ae}function jt(ke){let Ae={type:"EnumBooleanMember",id:ke,init:null};return i(o.EnumBooleanMember.id,Ae,"id",ke,1),Ae}function Zt(ke,Ae){let Ye={type:"EnumNumberMember",id:ke,init:Ae},Ge=o.EnumNumberMember;return i(Ge.id,Ye,"id",ke,1),i(Ge.init,Ye,"init",Ae,1),Ye}function Br(ke,Ae){let Ye={type:"EnumStringMember",id:ke,init:Ae},Ge=o.EnumStringMember;return i(Ge.id,Ye,"id",ke,1),i(Ge.init,Ye,"init",Ae,1),Ye}function Er(ke){let Ae={type:"EnumDefaultedMember",id:ke};return i(o.EnumDefaultedMember.id,Ae,"id",ke,1),Ae}function rn(ke,Ae){let Ye={type:"IndexedAccessType",objectType:ke,indexType:Ae},Ge=o.IndexedAccessType;return i(Ge.objectType,Ye,"objectType",ke,1),i(Ge.indexType,Ye,"indexType",Ae,1),Ye}function Wn(ke,Ae){let Ye={type:"OptionalIndexedAccessType",objectType:ke,indexType:Ae,optional:null},Ge=o.OptionalIndexedAccessType;return i(Ge.objectType,Ye,"objectType",ke,1),i(Ge.indexType,Ye,"indexType",Ae,1),Ye}function Un(ke,Ae=null){let Ye={type:"JSXAttribute",name:ke,value:Ae},Ge=o.JSXAttribute;return i(Ge.name,Ye,"name",ke,1),i(Ge.value,Ye,"value",Ae,1),Ye}function Fn(ke){let Ae={type:"JSXClosingElement",name:ke};return i(o.JSXClosingElement.name,Ae,"name",ke,1),Ae}function hi(ke,Ae=null,Ye,Ge=null){let yt={type:"JSXElement",openingElement:ke,closingElement:Ae,children:Ye,selfClosing:Ge},Vt=o.JSXElement;return i(Vt.openingElement,yt,"openingElement",ke,1),i(Vt.closingElement,yt,"closingElement",Ae,1),i(Vt.children,yt,"children",Ye,1),i(Vt.selfClosing,yt,"selfClosing",Ge),yt}function Ue(){return{type:"JSXEmptyExpression"}}function g(ke){let Ae={type:"JSXExpressionContainer",expression:ke};return i(o.JSXExpressionContainer.expression,Ae,"expression",ke,1),Ae}function P(ke){let Ae={type:"JSXSpreadChild",expression:ke};return i(o.JSXSpreadChild.expression,Ae,"expression",ke,1),Ae}function J(ke){let Ae={type:"JSXIdentifier",name:ke};return i(o.JSXIdentifier.name,Ae,"name",ke),Ae}function ne(ke,Ae){let Ye={type:"JSXMemberExpression",object:ke,property:Ae},Ge=o.JSXMemberExpression;return i(Ge.object,Ye,"object",ke,1),i(Ge.property,Ye,"property",Ae,1),Ye}function Fe(ke,Ae){let Ye={type:"JSXNamespacedName",namespace:ke,name:Ae},Ge=o.JSXNamespacedName;return i(Ge.namespace,Ye,"namespace",ke,1),i(Ge.name,Ye,"name",Ae,1),Ye}function Xe(ke,Ae,Ye=!1){let Ge={type:"JSXOpeningElement",name:ke,attributes:Ae,selfClosing:Ye},yt=o.JSXOpeningElement;return i(yt.name,Ge,"name",ke,1),i(yt.attributes,Ge,"attributes",Ae,1),i(yt.selfClosing,Ge,"selfClosing",Ye),Ge}function lt(ke){let Ae={type:"JSXSpreadAttribute",argument:ke};return i(o.JSXSpreadAttribute.argument,Ae,"argument",ke,1),Ae}function dt(ke){let Ae={type:"JSXText",value:ke};return i(o.JSXText.value,Ae,"value",ke),Ae}function bt(ke,Ae,Ye){let Ge={type:"JSXFragment",openingFragment:ke,closingFragment:Ae,children:Ye},yt=o.JSXFragment;return i(yt.openingFragment,Ge,"openingFragment",ke,1),i(yt.closingFragment,Ge,"closingFragment",Ae,1),i(yt.children,Ge,"children",Ye,1),Ge}function Lt(){return{type:"JSXOpeningFragment"}}function ur(){return{type:"JSXClosingFragment"}}function $r(){return{type:"Noop"}}function Kr(ke,Ae){let Ye={type:"Placeholder",expectedNode:ke,name:Ae},Ge=o.Placeholder;return i(Ge.expectedNode,Ye,"expectedNode",ke),i(Ge.name,Ye,"name",Ae,1),Ye}function Dn(ke){let Ae={type:"V8IntrinsicIdentifier",name:ke};return i(o.V8IntrinsicIdentifier.name,Ae,"name",ke),Ae}function Zn(){return{type:"ArgumentPlaceholder"}}function Di(ke,Ae){let Ye={type:"BindExpression",object:ke,callee:Ae},Ge=o.BindExpression;return i(Ge.object,Ye,"object",ke,1),i(Ge.callee,Ye,"callee",Ae,1),Ye}function yi(ke){let Ae={type:"Decorator",expression:ke};return i(o.Decorator.expression,Ae,"expression",ke,1),Ae}function as(ke,Ae=!1){let Ye={type:"DoExpression",body:ke,async:Ae},Ge=o.DoExpression;return i(Ge.body,Ye,"body",ke,1),i(Ge.async,Ye,"async",Ae),Ye}function xa(ke){let Ae={type:"ExportDefaultSpecifier",exported:ke};return i(o.ExportDefaultSpecifier.exported,Ae,"exported",ke,1),Ae}function ua(ke){let Ae={type:"RecordExpression",properties:ke};return i(o.RecordExpression.properties,Ae,"properties",ke,1),Ae}function N(ke=[]){let Ae={type:"TupleExpression",elements:ke};return i(o.TupleExpression.elements,Ae,"elements",ke,1),Ae}function ae(ke){let Ae={type:"DecimalLiteral",value:ke};return i(o.DecimalLiteral.value,Ae,"value",ke),Ae}function Re(ke){let Ae={type:"ModuleExpression",body:ke};return i(o.ModuleExpression.body,Ae,"body",ke,1),Ae}function Ve(){return{type:"TopicReference"}}function pt(ke){let Ae={type:"PipelineTopicExpression",expression:ke};return i(o.PipelineTopicExpression.expression,Ae,"expression",ke,1),Ae}function Ct(ke){let Ae={type:"PipelineBareFunction",callee:ke};return i(o.PipelineBareFunction.callee,Ae,"callee",ke,1),Ae}function Bt(){return{type:"PipelinePrimaryTopicReference"}}function nr(){return{type:"VoidPattern"}}function Dr(ke){let Ae={type:"TSParameterProperty",parameter:ke};return i(o.TSParameterProperty.parameter,Ae,"parameter",ke,1),Ae}function Jr(ke=null,Ae=null,Ye,Ge=null){let yt={type:"TSDeclareFunction",id:ke,typeParameters:Ae,params:Ye,returnType:Ge},Vt=o.TSDeclareFunction;return i(Vt.id,yt,"id",ke,1),i(Vt.typeParameters,yt,"typeParameters",Ae,1),i(Vt.params,yt,"params",Ye,1),i(Vt.returnType,yt,"returnType",Ge,1),yt}function kn(ke=null,Ae,Ye=null,Ge,yt=null){let Vt={type:"TSDeclareMethod",decorators:ke,key:Ae,typeParameters:Ye,params:Ge,returnType:yt},Ir=o.TSDeclareMethod;return i(Ir.decorators,Vt,"decorators",ke,1),i(Ir.key,Vt,"key",Ae,1),i(Ir.typeParameters,Vt,"typeParameters",Ye,1),i(Ir.params,Vt,"params",Ge,1),i(Ir.returnType,Vt,"returnType",yt,1),Vt}function ei(ke,Ae){let Ye={type:"TSQualifiedName",left:ke,right:Ae},Ge=o.TSQualifiedName;return i(Ge.left,Ye,"left",ke,1),i(Ge.right,Ye,"right",Ae,1),Ye}function Mi(ke=null,Ae,Ye=null){let Ge={type:"TSCallSignatureDeclaration",typeParameters:ke,parameters:Ae,typeAnnotation:Ye},yt=o.TSCallSignatureDeclaration;return i(yt.typeParameters,Ge,"typeParameters",ke,1),i(yt.parameters,Ge,"parameters",Ae,1),i(yt.typeAnnotation,Ge,"typeAnnotation",Ye,1),Ge}function vs(ke=null,Ae,Ye=null){let Ge={type:"TSConstructSignatureDeclaration",typeParameters:ke,parameters:Ae,typeAnnotation:Ye},yt=o.TSConstructSignatureDeclaration;return i(yt.typeParameters,Ge,"typeParameters",ke,1),i(yt.parameters,Ge,"parameters",Ae,1),i(yt.typeAnnotation,Ge,"typeAnnotation",Ye,1),Ge}function xs(ke,Ae=null){let Ye={type:"TSPropertySignature",key:ke,typeAnnotation:Ae},Ge=o.TSPropertySignature;return i(Ge.key,Ye,"key",ke,1),i(Ge.typeAnnotation,Ye,"typeAnnotation",Ae,1),Ye}function ca(ke,Ae=null,Ye,Ge=null){let yt={type:"TSMethodSignature",key:ke,typeParameters:Ae,parameters:Ye,typeAnnotation:Ge,kind:null},Vt=o.TSMethodSignature;return i(Vt.key,yt,"key",ke,1),i(Vt.typeParameters,yt,"typeParameters",Ae,1),i(Vt.parameters,yt,"parameters",Ye,1),i(Vt.typeAnnotation,yt,"typeAnnotation",Ge,1),yt}function Ki(ke,Ae=null){let Ye={type:"TSIndexSignature",parameters:ke,typeAnnotation:Ae},Ge=o.TSIndexSignature;return i(Ge.parameters,Ye,"parameters",ke,1),i(Ge.typeAnnotation,Ye,"typeAnnotation",Ae,1),Ye}function Us(){return{type:"TSAnyKeyword"}}function pn(){return{type:"TSBooleanKeyword"}}function Gn(){return{type:"TSBigIntKeyword"}}function Ei(){return{type:"TSIntrinsicKeyword"}}function Ii(){return{type:"TSNeverKeyword"}}function Xs(){return{type:"TSNullKeyword"}}function Ta(){return{type:"TSNumberKeyword"}}function Ys(){return{type:"TSObjectKeyword"}}function Fs(){return{type:"TSStringKeyword"}}function pa(){return{type:"TSSymbolKeyword"}}function Qs(){return{type:"TSUndefinedKeyword"}}function Zs(){return{type:"TSUnknownKeyword"}}function Ja(){return{type:"TSVoidKeyword"}}function nl(){return{type:"TSThisType"}}function il(ke=null,Ae,Ye=null){let Ge={type:"TSFunctionType",typeParameters:ke,parameters:Ae,typeAnnotation:Ye},yt=o.TSFunctionType;return i(yt.typeParameters,Ge,"typeParameters",ke,1),i(yt.parameters,Ge,"parameters",Ae,1),i(yt.typeAnnotation,Ge,"typeAnnotation",Ye,1),Ge}function sl(ke=null,Ae,Ye=null){let Ge={type:"TSConstructorType",typeParameters:ke,parameters:Ae,typeAnnotation:Ye},yt=o.TSConstructorType;return i(yt.typeParameters,Ge,"typeParameters",ke,1),i(yt.parameters,Ge,"parameters",Ae,1),i(yt.typeAnnotation,Ge,"typeAnnotation",Ye,1),Ge}function Oo(ke,Ae=null){let Ye={type:"TSTypeReference",typeName:ke,typeParameters:Ae},Ge=o.TSTypeReference;return i(Ge.typeName,Ye,"typeName",ke,1),i(Ge.typeParameters,Ye,"typeParameters",Ae,1),Ye}function No(ke,Ae=null,Ye=null){let Ge={type:"TSTypePredicate",parameterName:ke,typeAnnotation:Ae,asserts:Ye},yt=o.TSTypePredicate;return i(yt.parameterName,Ge,"parameterName",ke,1),i(yt.typeAnnotation,Ge,"typeAnnotation",Ae,1),i(yt.asserts,Ge,"asserts",Ye),Ge}function al(ke,Ae=null){let Ye={type:"TSTypeQuery",exprName:ke,typeParameters:Ae},Ge=o.TSTypeQuery;return i(Ge.exprName,Ye,"exprName",ke,1),i(Ge.typeParameters,Ye,"typeParameters",Ae,1),Ye}function ol(ke){let Ae={type:"TSTypeLiteral",members:ke};return i(o.TSTypeLiteral.members,Ae,"members",ke,1),Ae}function Fo(ke){let Ae={type:"TSArrayType",elementType:ke};return i(o.TSArrayType.elementType,Ae,"elementType",ke,1),Ae}function ll(ke){let Ae={type:"TSTupleType",elementTypes:ke};return i(o.TSTupleType.elementTypes,Ae,"elementTypes",ke,1),Ae}function jo(ke){let Ae={type:"TSOptionalType",typeAnnotation:ke};return i(o.TSOptionalType.typeAnnotation,Ae,"typeAnnotation",ke,1),Ae}function ho(ke){let Ae={type:"TSRestType",typeAnnotation:ke};return i(o.TSRestType.typeAnnotation,Ae,"typeAnnotation",ke,1),Ae}function ul(ke,Ae,Ye=!1){let Ge={type:"TSNamedTupleMember",label:ke,elementType:Ae,optional:Ye},yt=o.TSNamedTupleMember;return i(yt.label,Ge,"label",ke,1),i(yt.elementType,Ge,"elementType",Ae,1),i(yt.optional,Ge,"optional",Ye),Ge}function Lo(ke){let Ae={type:"TSUnionType",types:ke};return i(o.TSUnionType.types,Ae,"types",ke,1),Ae}function cl(ke){let Ae={type:"TSIntersectionType",types:ke};return i(o.TSIntersectionType.types,Ae,"types",ke,1),Ae}function fo(ke,Ae,Ye,Ge){let yt={type:"TSConditionalType",checkType:ke,extendsType:Ae,trueType:Ye,falseType:Ge},Vt=o.TSConditionalType;return i(Vt.checkType,yt,"checkType",ke,1),i(Vt.extendsType,yt,"extendsType",Ae,1),i(Vt.trueType,yt,"trueType",Ye,1),i(Vt.falseType,yt,"falseType",Ge,1),yt}function pl(ke){let Ae={type:"TSInferType",typeParameter:ke};return i(o.TSInferType.typeParameter,Ae,"typeParameter",ke,1),Ae}function dl(ke){let Ae={type:"TSParenthesizedType",typeAnnotation:ke};return i(o.TSParenthesizedType.typeAnnotation,Ae,"typeAnnotation",ke,1),Ae}function hl(ke,Ae="keyof"){let Ye={type:"TSTypeOperator",typeAnnotation:ke,operator:Ae},Ge=o.TSTypeOperator;return i(Ge.typeAnnotation,Ye,"typeAnnotation",ke,1),i(Ge.operator,Ye,"operator",Ae),Ye}function Ro(ke,Ae){let Ye={type:"TSIndexedAccessType",objectType:ke,indexType:Ae},Ge=o.TSIndexedAccessType;return i(Ge.objectType,Ye,"objectType",ke,1),i(Ge.indexType,Ye,"indexType",Ae,1),Ye}function Mo(ke,Ae=null,Ye=null){let Ge={type:"TSMappedType",typeParameter:ke,typeAnnotation:Ae,nameType:Ye},yt=o.TSMappedType;return i(yt.typeParameter,Ge,"typeParameter",ke,1),i(yt.typeAnnotation,Ge,"typeAnnotation",Ae,1),i(yt.nameType,Ge,"nameType",Ye,1),Ge}function D(ke,Ae){let Ye={type:"TSTemplateLiteralType",quasis:ke,types:Ae},Ge=o.TSTemplateLiteralType;return i(Ge.quasis,Ye,"quasis",ke,1),i(Ge.types,Ye,"types",Ae,1),Ye}function te(ke){let Ae={type:"TSLiteralType",literal:ke};return i(o.TSLiteralType.literal,Ae,"literal",ke,1),Ae}function _e(ke,Ae=null){let Ye={type:"TSExpressionWithTypeArguments",expression:ke,typeParameters:Ae},Ge=o.TSExpressionWithTypeArguments;return i(Ge.expression,Ye,"expression",ke,1),i(Ge.typeParameters,Ye,"typeParameters",Ae,1),Ye}function Me(ke,Ae=null,Ye=null,Ge){let yt={type:"TSInterfaceDeclaration",id:ke,typeParameters:Ae,extends:Ye,body:Ge},Vt=o.TSInterfaceDeclaration;return i(Vt.id,yt,"id",ke,1),i(Vt.typeParameters,yt,"typeParameters",Ae,1),i(Vt.extends,yt,"extends",Ye,1),i(Vt.body,yt,"body",Ge,1),yt}function st(ke){let Ae={type:"TSInterfaceBody",body:ke};return i(o.TSInterfaceBody.body,Ae,"body",ke,1),Ae}function vt(ke,Ae=null,Ye){let Ge={type:"TSTypeAliasDeclaration",id:ke,typeParameters:Ae,typeAnnotation:Ye},yt=o.TSTypeAliasDeclaration;return i(yt.id,Ge,"id",ke,1),i(yt.typeParameters,Ge,"typeParameters",Ae,1),i(yt.typeAnnotation,Ge,"typeAnnotation",Ye,1),Ge}function gt(ke,Ae=null){let Ye={type:"TSInstantiationExpression",expression:ke,typeParameters:Ae},Ge=o.TSInstantiationExpression;return i(Ge.expression,Ye,"expression",ke,1),i(Ge.typeParameters,Ye,"typeParameters",Ae,1),Ye}function It(ke,Ae){let Ye={type:"TSAsExpression",expression:ke,typeAnnotation:Ae},Ge=o.TSAsExpression;return i(Ge.expression,Ye,"expression",ke,1),i(Ge.typeAnnotation,Ye,"typeAnnotation",Ae,1),Ye}function Jt(ke,Ae){let Ye={type:"TSSatisfiesExpression",expression:ke,typeAnnotation:Ae},Ge=o.TSSatisfiesExpression;return i(Ge.expression,Ye,"expression",ke,1),i(Ge.typeAnnotation,Ye,"typeAnnotation",Ae,1),Ye}function fr(ke,Ae){let Ye={type:"TSTypeAssertion",typeAnnotation:ke,expression:Ae},Ge=o.TSTypeAssertion;return i(Ge.typeAnnotation,Ye,"typeAnnotation",ke,1),i(Ge.expression,Ye,"expression",Ae,1),Ye}function Kt(ke){let Ae={type:"TSEnumBody",members:ke};return i(o.TSEnumBody.members,Ae,"members",ke,1),Ae}function zr(ke,Ae){let Ye={type:"TSEnumDeclaration",id:ke,members:Ae},Ge=o.TSEnumDeclaration;return i(Ge.id,Ye,"id",ke,1),i(Ge.members,Ye,"members",Ae,1),Ye}function mn(ke,Ae=null){let Ye={type:"TSEnumMember",id:ke,initializer:Ae},Ge=o.TSEnumMember;return i(Ge.id,Ye,"id",ke,1),i(Ge.initializer,Ye,"initializer",Ae,1),Ye}function $n(ke,Ae){let Ye={type:"TSModuleDeclaration",id:ke,body:Ae,kind:null},Ge=o.TSModuleDeclaration;return i(Ge.id,Ye,"id",ke,1),i(Ge.body,Ye,"body",Ae,1),Ye}function fi(ke){let Ae={type:"TSModuleBlock",body:ke};return i(o.TSModuleBlock.body,Ae,"body",ke,1),Ae}function zi(ke,Ae=null,Ye=null){let Ge={type:"TSImportType",argument:ke,qualifier:Ae,typeParameters:Ye},yt=o.TSImportType;return i(yt.argument,Ge,"argument",ke,1),i(yt.qualifier,Ge,"qualifier",Ae,1),i(yt.typeParameters,Ge,"typeParameters",Ye,1),Ge}function os(ke,Ae){let Ye={type:"TSImportEqualsDeclaration",id:ke,moduleReference:Ae,isExport:null},Ge=o.TSImportEqualsDeclaration;return i(Ge.id,Ye,"id",ke,1),i(Ge.moduleReference,Ye,"moduleReference",Ae,1),Ye}function Si(ke){let Ae={type:"TSExternalModuleReference",expression:ke};return i(o.TSExternalModuleReference.expression,Ae,"expression",ke,1),Ae}function Ea(ke){let Ae={type:"TSNonNullExpression",expression:ke};return i(o.TSNonNullExpression.expression,Ae,"expression",ke,1),Ae}function qr(ke){let Ae={type:"TSExportAssignment",expression:ke};return i(o.TSExportAssignment.expression,Ae,"expression",ke,1),Ae}function Mn(ke){let Ae={type:"TSNamespaceExportDeclaration",id:ke};return i(o.TSNamespaceExportDeclaration.id,Ae,"id",ke,1),Ae}function Jn(ke){let Ae={type:"TSTypeAnnotation",typeAnnotation:ke};return i(o.TSTypeAnnotation.typeAnnotation,Ae,"typeAnnotation",ke,1),Ae}function nn(ke){let Ae={type:"TSTypeParameterInstantiation",params:ke};return i(o.TSTypeParameterInstantiation.params,Ae,"params",ke,1),Ae}function wn(ke){let Ae={type:"TSTypeParameterDeclaration",params:ke};return i(o.TSTypeParameterDeclaration.params,Ae,"params",ke,1),Ae}function ui(ke=null,Ae=null,Ye){let Ge={type:"TSTypeParameter",constraint:ke,default:Ae,name:Ye},yt=o.TSTypeParameter;return i(yt.constraint,Ge,"constraint",ke,1),i(yt.default,Ge,"default",Ae,1),i(yt.name,Ge,"name",Ye),Ge}function Xn(ke){return(0,c.default)("NumberLiteral","NumericLiteral","The node type "),W(ke)}function bs(ke,Ae=""){return(0,c.default)("RegexLiteral","RegExpLiteral","The node type "),X(ke,Ae)}function da(ke){return(0,c.default)("RestProperty","RestElement","The node type "),Oe(ke)}function Pa(ke){return(0,c.default)("SpreadProperty","SpreadElement","The node type "),Et(ke)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/generated/uppercase.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.JSXIdentifier=e.JSXFragment=e.JSXExpressionContainer=e.JSXEmptyExpression=e.JSXElement=e.JSXClosingFragment=e.JSXClosingElement=e.JSXAttribute=e.IntersectionTypeAnnotation=e.InterpreterDirective=e.InterfaceTypeAnnotation=e.InterfaceExtends=e.InterfaceDeclaration=e.InferredPredicate=e.IndexedAccessType=e.ImportSpecifier=e.ImportNamespaceSpecifier=e.ImportExpression=e.ImportDefaultSpecifier=e.ImportDeclaration=e.ImportAttribute=e.Import=e.IfStatement=e.Identifier=e.GenericTypeAnnotation=e.FunctionTypeParam=e.FunctionTypeAnnotation=e.FunctionExpression=e.FunctionDeclaration=e.ForStatement=e.ForOfStatement=e.ForInStatement=e.File=e.ExpressionStatement=e.ExportSpecifier=e.ExportNamespaceSpecifier=e.ExportNamedDeclaration=e.ExportDefaultSpecifier=e.ExportDefaultDeclaration=e.ExportAllDeclaration=e.ExistsTypeAnnotation=e.EnumSymbolBody=e.EnumStringMember=e.EnumStringBody=e.EnumNumberMember=e.EnumNumberBody=e.EnumDefaultedMember=e.EnumDeclaration=e.EnumBooleanMember=e.EnumBooleanBody=e.EmptyTypeAnnotation=e.EmptyStatement=e.DoWhileStatement=e.DoExpression=e.DirectiveLiteral=e.Directive=e.Decorator=e.DeclaredPredicate=e.DeclareVariable=e.DeclareTypeAlias=e.DeclareOpaqueType=e.DeclareModuleExports=e.DeclareModule=e.DeclareInterface=e.DeclareFunction=e.DeclareExportDeclaration=e.DeclareExportAllDeclaration=e.DeclareClass=e.DecimalLiteral=e.DebuggerStatement=e.ContinueStatement=e.ConditionalExpression=e.ClassProperty=e.ClassPrivateProperty=e.ClassPrivateMethod=e.ClassMethod=e.ClassImplements=e.ClassExpression=e.ClassDeclaration=e.ClassBody=e.ClassAccessorProperty=e.CatchClause=e.CallExpression=e.BreakStatement=e.BooleanTypeAnnotation=e.BooleanLiteralTypeAnnotation=e.BooleanLiteral=e.BlockStatement=e.BindExpression=e.BinaryExpression=e.BigIntLiteral=e.AwaitExpression=e.AssignmentPattern=e.AssignmentExpression=e.ArrowFunctionExpression=e.ArrayTypeAnnotation=e.ArrayPattern=e.ArrayExpression=e.ArgumentPlaceholder=e.AnyTypeAnnotation=void 0,e.TSNumberKeyword=e.TSNullKeyword=e.TSNonNullExpression=e.TSNeverKeyword=e.TSNamespaceExportDeclaration=e.TSNamedTupleMember=e.TSModuleDeclaration=e.TSModuleBlock=e.TSMethodSignature=e.TSMappedType=e.TSLiteralType=e.TSIntrinsicKeyword=e.TSIntersectionType=e.TSInterfaceDeclaration=e.TSInterfaceBody=e.TSInstantiationExpression=e.TSInferType=e.TSIndexedAccessType=e.TSIndexSignature=e.TSImportType=e.TSImportEqualsDeclaration=e.TSFunctionType=e.TSExternalModuleReference=e.TSExpressionWithTypeArguments=e.TSExportAssignment=e.TSEnumMember=e.TSEnumDeclaration=e.TSEnumBody=e.TSDeclareMethod=e.TSDeclareFunction=e.TSConstructorType=e.TSConstructSignatureDeclaration=e.TSConditionalType=e.TSCallSignatureDeclaration=e.TSBooleanKeyword=e.TSBigIntKeyword=e.TSAsExpression=e.TSArrayType=e.TSAnyKeyword=e.SymbolTypeAnnotation=e.SwitchStatement=e.SwitchCase=e.Super=e.StringTypeAnnotation=e.StringLiteralTypeAnnotation=e.StringLiteral=e.StaticBlock=e.SpreadProperty=e.SpreadElement=e.SequenceExpression=e.ReturnStatement=e.RestProperty=e.RestElement=e.RegexLiteral=e.RegExpLiteral=e.RecordExpression=e.QualifiedTypeIdentifier=e.Program=e.PrivateName=e.Placeholder=e.PipelineTopicExpression=e.PipelinePrimaryTopicReference=e.PipelineBareFunction=e.ParenthesizedExpression=e.OptionalMemberExpression=e.OptionalIndexedAccessType=e.OptionalCallExpression=e.OpaqueType=e.ObjectTypeSpreadProperty=e.ObjectTypeProperty=e.ObjectTypeInternalSlot=e.ObjectTypeIndexer=e.ObjectTypeCallProperty=e.ObjectTypeAnnotation=e.ObjectProperty=e.ObjectPattern=e.ObjectMethod=e.ObjectExpression=e.NumericLiteral=e.NumberTypeAnnotation=e.NumberLiteralTypeAnnotation=e.NumberLiteral=e.NullableTypeAnnotation=e.NullLiteralTypeAnnotation=e.NullLiteral=e.Noop=e.NewExpression=e.ModuleExpression=e.MixedTypeAnnotation=e.MetaProperty=e.MemberExpression=e.LogicalExpression=e.LabeledStatement=e.JSXText=e.JSXSpreadChild=e.JSXSpreadAttribute=e.JSXOpeningFragment=e.JSXOpeningElement=e.JSXNamespacedName=e.JSXMemberExpression=void 0,e.YieldExpression=e.WithStatement=e.WhileStatement=e.VoidTypeAnnotation=e.VoidPattern=e.Variance=e.VariableDeclarator=e.VariableDeclaration=e.V8IntrinsicIdentifier=e.UpdateExpression=e.UnionTypeAnnotation=e.UnaryExpression=e.TypeofTypeAnnotation=e.TypeParameterInstantiation=e.TypeParameterDeclaration=e.TypeParameter=e.TypeCastExpression=e.TypeAnnotation=e.TypeAlias=e.TupleTypeAnnotation=e.TupleExpression=e.TryStatement=e.TopicReference=e.ThrowStatement=e.ThisTypeAnnotation=e.ThisExpression=e.TemplateLiteral=e.TemplateElement=e.TaggedTemplateExpression=e.TSVoidKeyword=e.TSUnknownKeyword=e.TSUnionType=e.TSUndefinedKeyword=e.TSTypeReference=e.TSTypeQuery=e.TSTypePredicate=e.TSTypeParameterInstantiation=e.TSTypeParameterDeclaration=e.TSTypeParameter=e.TSTypeOperator=e.TSTypeLiteral=e.TSTypeAssertion=e.TSTypeAnnotation=e.TSTypeAliasDeclaration=e.TSTupleType=e.TSThisType=e.TSTemplateLiteralType=e.TSSymbolKeyword=e.TSStringKeyword=e.TSSatisfiesExpression=e.TSRestType=e.TSQualifiedName=e.TSPropertySignature=e.TSParenthesizedType=e.TSParameterProperty=e.TSOptionalType=e.TSObjectKeyword=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/generated/lowercase.js");l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/utils/deprecationWarning.js"),e.ArrayExpression=n.arrayExpression,e.AssignmentExpression=n.assignmentExpression,e.BinaryExpression=n.binaryExpression,e.InterpreterDirective=n.interpreterDirective,e.Directive=n.directive,e.DirectiveLiteral=n.directiveLiteral,e.BlockStatement=n.blockStatement,e.BreakStatement=n.breakStatement,e.CallExpression=n.callExpression,e.CatchClause=n.catchClause,e.ConditionalExpression=n.conditionalExpression,e.ContinueStatement=n.continueStatement,e.DebuggerStatement=n.debuggerStatement,e.DoWhileStatement=n.doWhileStatement,e.EmptyStatement=n.emptyStatement,e.ExpressionStatement=n.expressionStatement,e.File=n.file,e.ForInStatement=n.forInStatement,e.ForStatement=n.forStatement,e.FunctionDeclaration=n.functionDeclaration,e.FunctionExpression=n.functionExpression,e.Identifier=n.identifier,e.IfStatement=n.ifStatement,e.LabeledStatement=n.labeledStatement,e.StringLiteral=n.stringLiteral,e.NumericLiteral=n.numericLiteral,e.NullLiteral=n.nullLiteral,e.BooleanLiteral=n.booleanLiteral,e.RegExpLiteral=n.regExpLiteral,e.LogicalExpression=n.logicalExpression,e.MemberExpression=n.memberExpression,e.NewExpression=n.newExpression,e.Program=n.program,e.ObjectExpression=n.objectExpression,e.ObjectMethod=n.objectMethod,e.ObjectProperty=n.objectProperty,e.RestElement=n.restElement,e.ReturnStatement=n.returnStatement,e.SequenceExpression=n.sequenceExpression,e.ParenthesizedExpression=n.parenthesizedExpression,e.SwitchCase=n.switchCase,e.SwitchStatement=n.switchStatement,e.ThisExpression=n.thisExpression,e.ThrowStatement=n.throwStatement,e.TryStatement=n.tryStatement,e.UnaryExpression=n.unaryExpression,e.UpdateExpression=n.updateExpression,e.VariableDeclaration=n.variableDeclaration,e.VariableDeclarator=n.variableDeclarator,e.WhileStatement=n.whileStatement,e.WithStatement=n.withStatement,e.AssignmentPattern=n.assignmentPattern,e.ArrayPattern=n.arrayPattern,e.ArrowFunctionExpression=n.arrowFunctionExpression,e.ClassBody=n.classBody,e.ClassExpression=n.classExpression,e.ClassDeclaration=n.classDeclaration,e.ExportAllDeclaration=n.exportAllDeclaration,e.ExportDefaultDeclaration=n.exportDefaultDeclaration,e.ExportNamedDeclaration=n.exportNamedDeclaration,e.ExportSpecifier=n.exportSpecifier,e.ForOfStatement=n.forOfStatement,e.ImportDeclaration=n.importDeclaration,e.ImportDefaultSpecifier=n.importDefaultSpecifier,e.ImportNamespaceSpecifier=n.importNamespaceSpecifier,e.ImportSpecifier=n.importSpecifier,e.ImportExpression=n.importExpression,e.MetaProperty=n.metaProperty,e.ClassMethod=n.classMethod,e.ObjectPattern=n.objectPattern,e.SpreadElement=n.spreadElement,e.Super=n.super,e.TaggedTemplateExpression=n.taggedTemplateExpression,e.TemplateElement=n.templateElement,e.TemplateLiteral=n.templateLiteral,e.YieldExpression=n.yieldExpression,e.AwaitExpression=n.awaitExpression,e.Import=n.import,e.BigIntLiteral=n.bigIntLiteral,e.ExportNamespaceSpecifier=n.exportNamespaceSpecifier,e.OptionalMemberExpression=n.optionalMemberExpression,e.OptionalCallExpression=n.optionalCallExpression,e.ClassProperty=n.classProperty,e.ClassAccessorProperty=n.classAccessorProperty,e.ClassPrivateProperty=n.classPrivateProperty,e.ClassPrivateMethod=n.classPrivateMethod,e.PrivateName=n.privateName,e.StaticBlock=n.staticBlock,e.ImportAttribute=n.importAttribute,e.AnyTypeAnnotation=n.anyTypeAnnotation,e.ArrayTypeAnnotation=n.arrayTypeAnnotation,e.BooleanTypeAnnotation=n.booleanTypeAnnotation,e.BooleanLiteralTypeAnnotation=n.booleanLiteralTypeAnnotation,e.NullLiteralTypeAnnotation=n.nullLiteralTypeAnnotation,e.ClassImplements=n.classImplements,e.DeclareClass=n.declareClass,e.DeclareFunction=n.declareFunction,e.DeclareInterface=n.declareInterface,e.DeclareModule=n.declareModule,e.DeclareModuleExports=n.declareModuleExports,e.DeclareTypeAlias=n.declareTypeAlias,e.DeclareOpaqueType=n.declareOpaqueType,e.DeclareVariable=n.declareVariable,e.DeclareExportDeclaration=n.declareExportDeclaration,e.DeclareExportAllDeclaration=n.declareExportAllDeclaration,e.DeclaredPredicate=n.declaredPredicate,e.ExistsTypeAnnotation=n.existsTypeAnnotation,e.FunctionTypeAnnotation=n.functionTypeAnnotation,e.FunctionTypeParam=n.functionTypeParam,e.GenericTypeAnnotation=n.genericTypeAnnotation,e.InferredPredicate=n.inferredPredicate,e.InterfaceExtends=n.interfaceExtends,e.InterfaceDeclaration=n.interfaceDeclaration,e.InterfaceTypeAnnotation=n.interfaceTypeAnnotation,e.IntersectionTypeAnnotation=n.intersectionTypeAnnotation,e.MixedTypeAnnotation=n.mixedTypeAnnotation,e.EmptyTypeAnnotation=n.emptyTypeAnnotation,e.NullableTypeAnnotation=n.nullableTypeAnnotation,e.NumberLiteralTypeAnnotation=n.numberLiteralTypeAnnotation,e.NumberTypeAnnotation=n.numberTypeAnnotation,e.ObjectTypeAnnotation=n.objectTypeAnnotation,e.ObjectTypeInternalSlot=n.objectTypeInternalSlot,e.ObjectTypeCallProperty=n.objectTypeCallProperty,e.ObjectTypeIndexer=n.objectTypeIndexer,e.ObjectTypeProperty=n.objectTypeProperty,e.ObjectTypeSpreadProperty=n.objectTypeSpreadProperty,e.OpaqueType=n.opaqueType,e.QualifiedTypeIdentifier=n.qualifiedTypeIdentifier,e.StringLiteralTypeAnnotation=n.stringLiteralTypeAnnotation,e.StringTypeAnnotation=n.stringTypeAnnotation,e.SymbolTypeAnnotation=n.symbolTypeAnnotation,e.ThisTypeAnnotation=n.thisTypeAnnotation,e.TupleTypeAnnotation=n.tupleTypeAnnotation,e.TypeofTypeAnnotation=n.typeofTypeAnnotation,e.TypeAlias=n.typeAlias,e.TypeAnnotation=n.typeAnnotation,e.TypeCastExpression=n.typeCastExpression,e.TypeParameter=n.typeParameter,e.TypeParameterDeclaration=n.typeParameterDeclaration,e.TypeParameterInstantiation=n.typeParameterInstantiation,e.UnionTypeAnnotation=n.unionTypeAnnotation,e.Variance=n.variance,e.VoidTypeAnnotation=n.voidTypeAnnotation,e.EnumDeclaration=n.enumDeclaration,e.EnumBooleanBody=n.enumBooleanBody,e.EnumNumberBody=n.enumNumberBody,e.EnumStringBody=n.enumStringBody,e.EnumSymbolBody=n.enumSymbolBody,e.EnumBooleanMember=n.enumBooleanMember,e.EnumNumberMember=n.enumNumberMember,e.EnumStringMember=n.enumStringMember,e.EnumDefaultedMember=n.enumDefaultedMember,e.IndexedAccessType=n.indexedAccessType,e.OptionalIndexedAccessType=n.optionalIndexedAccessType,e.JSXAttribute=n.jsxAttribute,e.JSXClosingElement=n.jsxClosingElement,e.JSXElement=n.jsxElement,e.JSXEmptyExpression=n.jsxEmptyExpression,e.JSXExpressionContainer=n.jsxExpressionContainer,e.JSXSpreadChild=n.jsxSpreadChild,e.JSXIdentifier=n.jsxIdentifier,e.JSXMemberExpression=n.jsxMemberExpression,e.JSXNamespacedName=n.jsxNamespacedName,e.JSXOpeningElement=n.jsxOpeningElement,e.JSXSpreadAttribute=n.jsxSpreadAttribute,e.JSXText=n.jsxText,e.JSXFragment=n.jsxFragment,e.JSXOpeningFragment=n.jsxOpeningFragment,e.JSXClosingFragment=n.jsxClosingFragment,e.Noop=n.noop,e.Placeholder=n.placeholder,e.V8IntrinsicIdentifier=n.v8IntrinsicIdentifier,e.ArgumentPlaceholder=n.argumentPlaceholder,e.BindExpression=n.bindExpression,e.Decorator=n.decorator,e.DoExpression=n.doExpression,e.ExportDefaultSpecifier=n.exportDefaultSpecifier,e.RecordExpression=n.recordExpression,e.TupleExpression=n.tupleExpression,e.DecimalLiteral=n.decimalLiteral,e.ModuleExpression=n.moduleExpression,e.TopicReference=n.topicReference,e.PipelineTopicExpression=n.pipelineTopicExpression,e.PipelineBareFunction=n.pipelineBareFunction,e.PipelinePrimaryTopicReference=n.pipelinePrimaryTopicReference,e.VoidPattern=n.voidPattern,e.TSParameterProperty=n.tsParameterProperty,e.TSDeclareFunction=n.tsDeclareFunction,e.TSDeclareMethod=n.tsDeclareMethod,e.TSQualifiedName=n.tsQualifiedName,e.TSCallSignatureDeclaration=n.tsCallSignatureDeclaration,e.TSConstructSignatureDeclaration=n.tsConstructSignatureDeclaration,e.TSPropertySignature=n.tsPropertySignature,e.TSMethodSignature=n.tsMethodSignature,e.TSIndexSignature=n.tsIndexSignature,e.TSAnyKeyword=n.tsAnyKeyword,e.TSBooleanKeyword=n.tsBooleanKeyword,e.TSBigIntKeyword=n.tsBigIntKeyword,e.TSIntrinsicKeyword=n.tsIntrinsicKeyword,e.TSNeverKeyword=n.tsNeverKeyword,e.TSNullKeyword=n.tsNullKeyword,e.TSNumberKeyword=n.tsNumberKeyword,e.TSObjectKeyword=n.tsObjectKeyword,e.TSStringKeyword=n.tsStringKeyword,e.TSSymbolKeyword=n.tsSymbolKeyword,e.TSUndefinedKeyword=n.tsUndefinedKeyword,e.TSUnknownKeyword=n.tsUnknownKeyword,e.TSVoidKeyword=n.tsVoidKeyword,e.TSThisType=n.tsThisType,e.TSFunctionType=n.tsFunctionType,e.TSConstructorType=n.tsConstructorType,e.TSTypeReference=n.tsTypeReference,e.TSTypePredicate=n.tsTypePredicate,e.TSTypeQuery=n.tsTypeQuery,e.TSTypeLiteral=n.tsTypeLiteral,e.TSArrayType=n.tsArrayType,e.TSTupleType=n.tsTupleType,e.TSOptionalType=n.tsOptionalType,e.TSRestType=n.tsRestType,e.TSNamedTupleMember=n.tsNamedTupleMember,e.TSUnionType=n.tsUnionType,e.TSIntersectionType=n.tsIntersectionType,e.TSConditionalType=n.tsConditionalType,e.TSInferType=n.tsInferType,e.TSParenthesizedType=n.tsParenthesizedType,e.TSTypeOperator=n.tsTypeOperator,e.TSIndexedAccessType=n.tsIndexedAccessType,e.TSMappedType=n.tsMappedType,e.TSTemplateLiteralType=n.tsTemplateLiteralType,e.TSLiteralType=n.tsLiteralType,e.TSExpressionWithTypeArguments=n.tsExpressionWithTypeArguments,e.TSInterfaceDeclaration=n.tsInterfaceDeclaration,e.TSInterfaceBody=n.tsInterfaceBody,e.TSTypeAliasDeclaration=n.tsTypeAliasDeclaration,e.TSInstantiationExpression=n.tsInstantiationExpression,e.TSAsExpression=n.tsAsExpression,e.TSSatisfiesExpression=n.tsSatisfiesExpression,e.TSTypeAssertion=n.tsTypeAssertion,e.TSEnumBody=n.tsEnumBody,e.TSEnumDeclaration=n.tsEnumDeclaration,e.TSEnumMember=n.tsEnumMember,e.TSModuleDeclaration=n.tsModuleDeclaration,e.TSModuleBlock=n.tsModuleBlock,e.TSImportType=n.tsImportType,e.TSImportEqualsDeclaration=n.tsImportEqualsDeclaration,e.TSExternalModuleReference=n.tsExternalModuleReference,e.TSNonNullExpression=n.tsNonNullExpression,e.TSExportAssignment=n.tsExportAssignment,e.TSNamespaceExportDeclaration=n.tsNamespaceExportDeclaration,e.TSTypeAnnotation=n.tsTypeAnnotation,e.TSTypeParameterInstantiation=n.tsTypeParameterInstantiation,e.TSTypeParameterDeclaration=n.tsTypeParameterDeclaration,e.TSTypeParameter=n.tsTypeParameter,e.NumberLiteral=n.numberLiteral,e.RegexLiteral=n.regexLiteral,e.RestProperty=n.restProperty,e.SpreadProperty=n.spreadProperty},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/productions.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.buildUndefinedNode=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/generated/index.js");function c(){return(0,n.unaryExpression)("void",(0,n.numericLiteral)(0),!0)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/react/buildChildren.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js");function p(i){let o=[];for(let h=0;h<i.children.length;h++){let d=i.children[h];if((0,n.isJSXText)(d)){(0,c.default)(d,o);continue}(0,n.isJSXExpressionContainer)(d)&&(d=d.expression),(0,n.isJSXEmptyExpression)(d)||o.push(d)}return o}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js"),p=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js");function i(o){let h=o.map(f=>(0,p.isTSTypeAnnotation)(f)?f.typeAnnotation:f),d=(0,c.default)(h);return d.length===1?d[0]:(0,n.tsUnionType)(d)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/clone/clone.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/clone/cloneNode.js");function c(p){return(0,n.default)(p,!1)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/clone/cloneDeep.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/clone/cloneNode.js");function c(p){return(0,n.default)(p)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/clone/cloneNode.js");function c(p){return(0,n.default)(p,!0,!0)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/clone/cloneNode.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=h;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js");let{hasOwn:p}={hasOwn:Function.call.bind(Object.prototype.hasOwnProperty)};function i(b,m,y,x){return b&&typeof b.type=="string"?d(b,m,y,x):b}function o(b,m,y,x){return Array.isArray(b)?b.map(v=>i(v,m,y,x)):i(b,m,y,x)}function h(b,m=!0,y=!1){return d(b,m,y,new Map)}function d(b,m=!0,y=!1,x){if(!b)return b;let{type:v}=b,E={type:b.type};if((0,c.isIdentifier)(b))E.name=b.name,p(b,"optional")&&typeof b.optional=="boolean"&&(E.optional=b.optional),p(b,"typeAnnotation")&&(E.typeAnnotation=m?o(b.typeAnnotation,!0,y,x):b.typeAnnotation),p(b,"decorators")&&(E.decorators=m?o(b.decorators,!0,y,x):b.decorators);else if(p(n.NODE_FIELDS,v))for(let S of Object.keys(n.NODE_FIELDS[v]))p(b,S)&&(m?E[S]=(0,c.isFile)(b)&&S==="comments"?f(b.comments,m,y,x):o(b[S],!0,y,x):E[S]=b[S]);else throw Error(`Unknown node type: "${v}"`);return p(b,"loc")&&(y?E.loc=null:E.loc=b.loc),p(b,"leadingComments")&&(E.leadingComments=f(b.leadingComments,m,y,x)),p(b,"innerComments")&&(E.innerComments=f(b.innerComments,m,y,x)),p(b,"trailingComments")&&(E.trailingComments=f(b.trailingComments,m,y,x)),p(b,"extra")&&(E.extra=Object.assign({},b.extra)),E}function f(b,m,y,x){return b&&m?b.map(v=>{let E=x.get(v);if(E)return E;let{type:S,value:_,loc:A}=v,L={type:S,value:_,loc:A};return y&&(L.loc=null),x.set(v,L),L}):b}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/clone/cloneNode.js");function c(p){return(0,n.default)(p,!1,!0)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/comments/addComment.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/comments/addComments.js");function c(p,i,o,h){return(0,n.default)(p,i,[{type:h?"CommentLine":"CommentBlock",value:o}])}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/comments/addComments.js":function(u,e){"use strict";function l(n,c,p){if(!p||!n)return n;let i=`${c}Comments`;return n[i]?c==="leading"?n[i]=p.concat(n[i]):n[i].push(...p):n[i]=p,n}Object.defineProperty(e,"__esModule",{value:!0}),e.default=l},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/comments/inheritInnerComments.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/utils/inherit.js");function c(p,i){(0,n.default)("innerComments",p,i)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/comments/inheritLeadingComments.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/utils/inherit.js");function c(p,i){(0,n.default)("leadingComments",p,i)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/comments/inheritTrailingComments.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/utils/inherit.js");function c(p,i){(0,n.default)("trailingComments",p,i)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/comments/inheritsComments.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/comments/inheritTrailingComments.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/comments/inheritLeadingComments.js"),p=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/comments/inheritInnerComments.js");function i(o,h){return(0,n.default)(o,h),(0,c.default)(o,h),(0,p.default)(o,h),o}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/comments/removeComments.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/constants/index.js");function c(p){return n.COMMENT_KEYS.forEach(i=>{p[i]=null}),p}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/constants/generated/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.WHILE_TYPES=e.USERWHITESPACABLE_TYPES=e.UNARYLIKE_TYPES=e.TYPESCRIPT_TYPES=e.TSTYPE_TYPES=e.TSTYPEELEMENT_TYPES=e.TSENTITYNAME_TYPES=e.TSBASETYPE_TYPES=e.TERMINATORLESS_TYPES=e.STATEMENT_TYPES=e.STANDARDIZED_TYPES=e.SCOPABLE_TYPES=e.PUREISH_TYPES=e.PROPERTY_TYPES=e.PRIVATE_TYPES=e.PATTERN_TYPES=e.PATTERNLIKE_TYPES=e.OBJECTMEMBER_TYPES=e.MODULESPECIFIER_TYPES=e.MODULEDECLARATION_TYPES=e.MISCELLANEOUS_TYPES=e.METHOD_TYPES=e.LVAL_TYPES=e.LOOP_TYPES=e.LITERAL_TYPES=e.JSX_TYPES=e.IMPORTOREXPORTDECLARATION_TYPES=e.IMMUTABLE_TYPES=e.FUNCTION_TYPES=e.FUNCTIONPARENT_TYPES=e.FUNCTIONPARAMETER_TYPES=e.FOR_TYPES=e.FORXSTATEMENT_TYPES=e.FLOW_TYPES=e.FLOWTYPE_TYPES=e.FLOWPREDICATE_TYPES=e.FLOWDECLARATION_TYPES=e.FLOWBASEANNOTATION_TYPES=e.EXPRESSION_TYPES=e.EXPRESSIONWRAPPER_TYPES=e.EXPORTDECLARATION_TYPES=e.ENUMMEMBER_TYPES=e.ENUMBODY_TYPES=e.DECLARATION_TYPES=e.CONDITIONAL_TYPES=e.COMPLETIONSTATEMENT_TYPES=e.CLASS_TYPES=e.BLOCK_TYPES=e.BLOCKPARENT_TYPES=e.BINARY_TYPES=e.ACCESSOR_TYPES=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/index.js");e.STANDARDIZED_TYPES=n.FLIPPED_ALIAS_KEYS.Standardized,e.EXPRESSION_TYPES=n.FLIPPED_ALIAS_KEYS.Expression,e.BINARY_TYPES=n.FLIPPED_ALIAS_KEYS.Binary,e.SCOPABLE_TYPES=n.FLIPPED_ALIAS_KEYS.Scopable,e.BLOCKPARENT_TYPES=n.FLIPPED_ALIAS_KEYS.BlockParent,e.BLOCK_TYPES=n.FLIPPED_ALIAS_KEYS.Block,e.STATEMENT_TYPES=n.FLIPPED_ALIAS_KEYS.Statement,e.TERMINATORLESS_TYPES=n.FLIPPED_ALIAS_KEYS.Terminatorless,e.COMPLETIONSTATEMENT_TYPES=n.FLIPPED_ALIAS_KEYS.CompletionStatement,e.CONDITIONAL_TYPES=n.FLIPPED_ALIAS_KEYS.Conditional,e.LOOP_TYPES=n.FLIPPED_ALIAS_KEYS.Loop,e.WHILE_TYPES=n.FLIPPED_ALIAS_KEYS.While,e.EXPRESSIONWRAPPER_TYPES=n.FLIPPED_ALIAS_KEYS.ExpressionWrapper,e.FOR_TYPES=n.FLIPPED_ALIAS_KEYS.For,e.FORXSTATEMENT_TYPES=n.FLIPPED_ALIAS_KEYS.ForXStatement,e.FUNCTION_TYPES=n.FLIPPED_ALIAS_KEYS.Function,e.FUNCTIONPARENT_TYPES=n.FLIPPED_ALIAS_KEYS.FunctionParent,e.PUREISH_TYPES=n.FLIPPED_ALIAS_KEYS.Pureish,e.DECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS.Declaration,e.FUNCTIONPARAMETER_TYPES=n.FLIPPED_ALIAS_KEYS.FunctionParameter,e.PATTERNLIKE_TYPES=n.FLIPPED_ALIAS_KEYS.PatternLike,e.LVAL_TYPES=n.FLIPPED_ALIAS_KEYS.LVal,e.TSENTITYNAME_TYPES=n.FLIPPED_ALIAS_KEYS.TSEntityName,e.LITERAL_TYPES=n.FLIPPED_ALIAS_KEYS.Literal,e.IMMUTABLE_TYPES=n.FLIPPED_ALIAS_KEYS.Immutable,e.USERWHITESPACABLE_TYPES=n.FLIPPED_ALIAS_KEYS.UserWhitespacable,e.METHOD_TYPES=n.FLIPPED_ALIAS_KEYS.Method,e.OBJECTMEMBER_TYPES=n.FLIPPED_ALIAS_KEYS.ObjectMember,e.PROPERTY_TYPES=n.FLIPPED_ALIAS_KEYS.Property,e.UNARYLIKE_TYPES=n.FLIPPED_ALIAS_KEYS.UnaryLike,e.PATTERN_TYPES=n.FLIPPED_ALIAS_KEYS.Pattern,e.CLASS_TYPES=n.FLIPPED_ALIAS_KEYS.Class;let c=e.IMPORTOREXPORTDECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS.ImportOrExportDeclaration;e.EXPORTDECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS.ExportDeclaration,e.MODULESPECIFIER_TYPES=n.FLIPPED_ALIAS_KEYS.ModuleSpecifier,e.ACCESSOR_TYPES=n.FLIPPED_ALIAS_KEYS.Accessor,e.PRIVATE_TYPES=n.FLIPPED_ALIAS_KEYS.Private,e.FLOW_TYPES=n.FLIPPED_ALIAS_KEYS.Flow,e.FLOWTYPE_TYPES=n.FLIPPED_ALIAS_KEYS.FlowType,e.FLOWBASEANNOTATION_TYPES=n.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation,e.FLOWDECLARATION_TYPES=n.FLIPPED_ALIAS_KEYS.FlowDeclaration,e.FLOWPREDICATE_TYPES=n.FLIPPED_ALIAS_KEYS.FlowPredicate,e.ENUMBODY_TYPES=n.FLIPPED_ALIAS_KEYS.EnumBody,e.ENUMMEMBER_TYPES=n.FLIPPED_ALIAS_KEYS.EnumMember,e.JSX_TYPES=n.FLIPPED_ALIAS_KEYS.JSX,e.MISCELLANEOUS_TYPES=n.FLIPPED_ALIAS_KEYS.Miscellaneous,e.TYPESCRIPT_TYPES=n.FLIPPED_ALIAS_KEYS.TypeScript,e.TSTYPEELEMENT_TYPES=n.FLIPPED_ALIAS_KEYS.TSTypeElement,e.TSTYPE_TYPES=n.FLIPPED_ALIAS_KEYS.TSType,e.TSBASETYPE_TYPES=n.FLIPPED_ALIAS_KEYS.TSBaseType,e.MODULEDECLARATION_TYPES=c},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/constants/index.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.UPDATE_OPERATORS=e.UNARY_OPERATORS=e.STRING_UNARY_OPERATORS=e.STATEMENT_OR_BLOCK_KEYS=e.NUMBER_UNARY_OPERATORS=e.NUMBER_BINARY_OPERATORS=e.LOGICAL_OPERATORS=e.INHERIT_KEYS=e.FOR_INIT_KEYS=e.FLATTENABLE_KEYS=e.EQUALITY_BINARY_OPERATORS=e.COMPARISON_BINARY_OPERATORS=e.COMMENT_KEYS=e.BOOLEAN_UNARY_OPERATORS=e.BOOLEAN_NUMBER_BINARY_OPERATORS=e.BOOLEAN_BINARY_OPERATORS=e.BINARY_OPERATORS=e.ASSIGNMENT_OPERATORS=void 0,e.STATEMENT_OR_BLOCK_KEYS=["consequent","body","alternate"],e.FLATTENABLE_KEYS=["body","expressions"],e.FOR_INIT_KEYS=["left","init"],e.COMMENT_KEYS=["leadingComments","trailingComments","innerComments"];let l=e.LOGICAL_OPERATORS=["||","&&","??"];e.UPDATE_OPERATORS=["++","--"];let n=e.BOOLEAN_NUMBER_BINARY_OPERATORS=[">","<",">=","<="],c=e.EQUALITY_BINARY_OPERATORS=["==","===","!=","!=="],p=e.COMPARISON_BINARY_OPERATORS=[...c,"in","instanceof"],i=e.BOOLEAN_BINARY_OPERATORS=[...p,...n],o=e.NUMBER_BINARY_OPERATORS=["-","/","%","*","**","&","|",">>",">>>","<<","^"];e.BINARY_OPERATORS=["+",...o,...i,"|>"],e.ASSIGNMENT_OPERATORS=["=","+=",...o.map(b=>b+"="),...l.map(b=>b+"=")];let h=e.BOOLEAN_UNARY_OPERATORS=["delete","!"],d=e.NUMBER_UNARY_OPERATORS=["+","-","~"],f=e.STRING_UNARY_OPERATORS=["typeof"];e.UNARY_OPERATORS=["void","throw",...h,...d,...f],e.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},e.BLOCK_SCOPED_SYMBOL=Symbol.for("var used to be block scoped"),e.NOT_LOCAL_BINDING=Symbol.for("should not be considered a local binding")},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/ensureBlock.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/toBlock.js");function c(p,i="body"){let o=(0,n.default)(p[i],p);return p[i]=o,o}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=h;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js"),p=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/generated/index.js"),i=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/productions.js"),o=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/clone/cloneNode.js");function h(d,f){let b=[],m=!0;for(let y of d)if((0,c.isEmptyStatement)(y)||(m=!1),(0,c.isExpression)(y))b.push(y);else if((0,c.isExpressionStatement)(y))b.push(y.expression);else if((0,c.isVariableDeclaration)(y)){if(y.kind!=="var")return;for(let x of y.declarations){let v=(0,n.default)(x);for(let E of Object.keys(v))f.push({kind:y.kind,id:(0,o.default)(v[E])});x.init&&b.push((0,p.assignmentExpression)("=",x.id,x.init))}m=!0}else if((0,c.isIfStatement)(y)){let x=y.consequent?h([y.consequent],f):(0,i.buildUndefinedNode)(),v=y.alternate?h([y.alternate],f):(0,i.buildUndefinedNode)();if(!x||!v)return;b.push((0,p.conditionalExpression)(y.test,x,v))}else if((0,c.isBlockStatement)(y)){let x=h(y.body,f);if(!x)return;b.push(x)}else{if(!(0,c.isEmptyStatement)(y))return;d.indexOf(y)===0&&(m=!0)}return m&&b.push((0,i.buildUndefinedNode)()),b.length===1?b[0]:(0,p.sequenceExpression)(b)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/toIdentifier.js");function c(p){return((p=(0,n.default)(p))==="eval"||p==="arguments")&&(p="_"+p),p}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/toBlock.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/generated/index.js");function p(i,o){if((0,n.isBlockStatement)(i))return i;let h=[];return(0,n.isEmptyStatement)(i)?h=[]:((0,n.isStatement)(i)||(i=(0,n.isFunction)(o)?(0,c.returnStatement)(i):(0,c.expressionStatement)(i)),h=[i]),(0,c.blockStatement)(h)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/toComputedKey.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/generated/index.js");function p(i,o=i.key||i.property){return!i.computed&&(0,n.isIdentifier)(o)&&(o=(0,c.stringLiteral)(o.name)),o}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/toExpression.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js");e.default=function(p){if((0,n.isExpressionStatement)(p)&&(p=p.expression),(0,n.isExpression)(p))return p;if((0,n.isClass)(p)?(p.type="ClassExpression",p.abstract=!1):(0,n.isFunction)(p)&&(p.type="FunctionExpression"),!(0,n.isExpression)(p))throw Error(`cannot turn ${p.type} to an expression`);return p}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/toIdentifier.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),c=l("./node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js");function p(i){let o="";for(let h of i+="")o+=(0,c.isIdentifierChar)(h.codePointAt(0))?h:"-";return o=(o=o.replace(/^[-0-9]+/,"")).replace(/[-\s]+(.)?/g,function(h,d){return d?d.toUpperCase():""}),(0,n.default)(o)||(o=`_${o}`),o||"_"}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/toKeyAlias.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/clone/cloneNode.js"),p=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js");function i(o,h=o.key){let d;return o.kind==="method"?i.increment()+"":(d=(0,n.isIdentifier)(h)?h.name:(0,n.isStringLiteral)(h)?JSON.stringify(h.value):JSON.stringify((0,p.default)((0,c.default)(h))),o.computed&&(d=`[${d}]`),o.static&&(d=`static:${d}`),d)}i.uid=0,i.increment=function(){return i.uid>=Number.MAX_SAFE_INTEGER?i.uid=0:i.uid++}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/toSequenceExpression.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/gatherSequenceExpressions.js");function c(p,i){if(!(p!=null&&p.length))return;let o=[],h=(0,n.default)(p,o);if(h){for(let d of o)i.push(d);return h}}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/toStatement.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/generated/index.js");e.default=function(i,o){let h;if((0,n.isStatement)(i))return i;let d=!1;if((0,n.isClass)(i))d=!0,h="ClassDeclaration";else if((0,n.isFunction)(i))d=!0,h="FunctionDeclaration";else if((0,n.isAssignmentExpression)(i))return(0,c.expressionStatement)(i);if(d&&!i.id&&(h=!1),!h){if(o)return!1;throw Error(`cannot turn ${i.type} to a statement`)}return i.type=h,i}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/valueToNode.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/generated/index.js");e.default=h;let p=Function.call.bind(Object.prototype.toString);function i(d){return p(d)==="[object RegExp]"}function o(d){if(typeof d!="object"||d===null||Object.prototype.toString.call(d)!=="[object Object]")return!1;let f=Object.getPrototypeOf(d);return f===null||Object.getPrototypeOf(f)===null}function h(d){if(d===void 0)return(0,c.identifier)("undefined");if(d===!0||d===!1)return(0,c.booleanLiteral)(d);if(d===null)return(0,c.nullLiteral)();if(typeof d=="string")return(0,c.stringLiteral)(d);if(typeof d=="number"){let f;if(Number.isFinite(d))f=(0,c.numericLiteral)(Math.abs(d));else{let b;b=Number.isNaN(d)?(0,c.numericLiteral)(0):(0,c.numericLiteral)(1),f=(0,c.binaryExpression)("/",b,(0,c.numericLiteral)(0))}return(d<0||Object.is(d,-0))&&(f=(0,c.unaryExpression)("-",f)),f}if(typeof d=="bigint")return d<0?(0,c.unaryExpression)("-",(0,c.bigIntLiteral)(-d)):(0,c.bigIntLiteral)(d);if(i(d)){let f=d.source,b=/\/([a-z]*)$/.exec(d.toString())[1];return(0,c.regExpLiteral)(f,b)}if(Array.isArray(d))return(0,c.arrayExpression)(d.map(h));if(o(d)){let f=[];for(let b of Object.keys(d)){let m,y=!1;(0,n.default)(b)?b==="__proto__"?(y=!0,m=(0,c.stringLiteral)(b)):m=(0,c.identifier)(b):m=(0,c.stringLiteral)(b),f.push((0,c.objectProperty)(m,h(d[b]),y))}return(0,c.objectExpression)(f)}throw Error("don't know how to turn this value into a node")}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/core.js":function(u,e,l){"use strict";let n,c,p,i,o,h,d,f,b,m,y,x,v,E,S,_,A,L,j,F,k,U,z,C,R;Object.defineProperty(e,"__esModule",{value:!0}),e.patternLikeCommon=e.importAttributes=e.functionTypeAnnotationCommon=e.functionDeclarationCommon=e.functionCommon=e.classMethodOrPropertyCommon=e.classMethodOrDeclareMethodCommon=void 0;var G=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/is.js"),V=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),B=l("./node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js"),q=l("./node_modules/.pnpm/@babel+helper-string-parser@7.27.1/node_modules/@babel/helper-string-parser/lib/index.js"),K=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/constants/index.js"),$=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/utils.js");let W=(0,$.defineAliasedType)("Standardized");W("ArrayExpression",{fields:{elements:{validate:(0,$.arrayOf)((0,$.assertNodeOrValueType)("null","Expression","SpreadElement")),default:process.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]}),W("AssignmentExpression",{fields:{operator:{validate:process.env.BABEL_TYPES_8_BREAKING?Object.assign((n=(0,$.assertOneOf)(...K.ASSIGNMENT_OPERATORS),c=(0,$.assertOneOf)("="),function(Pe,Ke,We){((0,G.default)("Pattern",Pe.left)?c:n)(Pe,Ke,We)}),{oneOf:K.ASSIGNMENT_OPERATORS}):(0,$.assertValueType)("string")},left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,$.assertNodeType)("Identifier","MemberExpression","OptionalMemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,$.assertNodeType)("LVal","OptionalMemberExpression")},right:{validate:(0,$.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),W("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,$.assertOneOf)(...K.BINARY_OPERATORS)},left:{validate:(p=(0,$.assertNodeType)("Expression"),i=(0,$.assertNodeType)("Expression","PrivateName"),Object.assign(function(Pe,Ke,We){(Pe.operator==="in"?i:p)(Pe,Ke,We)},{oneOfNodeTypes:["Expression","PrivateName"]}))},right:{validate:(0,$.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),W("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,$.assertValueType)("string")}}}),W("Directive",{visitor:["value"],fields:{value:{validate:(0,$.assertNodeType)("DirectiveLiteral")}}}),W("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,$.assertValueType)("string")}}}),W("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,$.arrayOfType)("Directive"),default:[]},body:(0,$.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block","Statement"]}),W("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,$.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),W("CallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,$.assertNodeType)("Expression","Super","V8IntrinsicIdentifier")},arguments:(0,$.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),typeArguments:{validate:(0,$.assertNodeType)("TypeParameterInstantiation"),optional:!0}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,$.assertValueType)("boolean"),optional:!0},typeParameters:{validate:(0,$.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),W("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,$.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,$.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),W("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,$.assertNodeType)("Expression")},consequent:{validate:(0,$.assertNodeType)("Expression")},alternate:{validate:(0,$.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),W("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,$.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),W("DebuggerStatement",{aliases:["Statement"]}),W("DoWhileStatement",{builder:["test","body"],visitor:["body","test"],fields:{test:{validate:(0,$.assertNodeType)("Expression")},body:{validate:(0,$.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),W("EmptyStatement",{aliases:["Statement"]}),W("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,$.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),W("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,$.assertNodeType)("Program")},comments:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,$.assertEach)((0,$.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,$.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}}),W("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,$.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,$.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,$.assertNodeType)("Expression")},body:{validate:(0,$.assertNodeType)("Statement")}}}),W("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,$.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,$.assertNodeType)("Expression"),optional:!0},update:{validate:(0,$.assertNodeType)("Expression"),optional:!0},body:{validate:(0,$.assertNodeType)("Statement")}}});let Z=()=>({params:(0,$.validateArrayOfType)("FunctionParameter"),generator:{default:!1},async:{default:!1}});e.functionCommon=Z;let Q=()=>({returnType:{validate:(0,$.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,$.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}});e.functionTypeAnnotationCommon=Q;let X=()=>Object.assign({},Z(),{declare:{validate:(0,$.assertValueType)("boolean"),optional:!0},id:{validate:(0,$.assertNodeType)("Identifier"),optional:!0}});e.functionDeclarationCommon=X,W("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","typeParameters","params","predicate","returnType","body"],fields:Object.assign({},X(),Q(),{body:{validate:(0,$.assertNodeType)("BlockStatement")},predicate:{validate:(0,$.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:process.env.BABEL_TYPES_8_BREAKING?(o=(0,$.assertNodeType)("Identifier"),function(Pe,Ke,We){(0,G.default)("ExportDefaultDeclaration",Pe)||o(We,"id",We.id)}):void 0}),W("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},Z(),Q(),{id:{validate:(0,$.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,$.assertNodeType)("BlockStatement")},predicate:{validate:(0,$.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})});let ie=()=>({typeAnnotation:{validate:(0,$.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},optional:{validate:(0,$.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,$.arrayOfType)("Decorator"),optional:!0}});e.patternLikeCommon=ie,W("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","FunctionParameter","PatternLike","LVal","TSEntityName"],fields:Object.assign({},ie(),{name:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,$.chain)((0,$.assertValueType)("string"),Object.assign(function(Pe,Ke,We){if(!(0,V.default)(We,!1))throw TypeError(`"${We}" is not a valid identifier name`)},{type:"string"})):(0,$.assertValueType)("string")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(Pe,Ke,We){let Oe=/\.(\w+)$/.exec(Ke.toString());if(!Oe)return;let[,de]=Oe,xe={computed:!1};if(de==="property"){if((0,G.default)("MemberExpression",Pe,xe)||(0,G.default)("OptionalMemberExpression",Pe,xe))return}else if(de==="key"){if((0,G.default)("Property",Pe,xe)||(0,G.default)("Method",Pe,xe))return}else if(de==="exported"){if((0,G.default)("ExportSpecifier",Pe))return}else if(de==="imported"){if((0,G.default)("ImportSpecifier",Pe,{imported:We}))return}else if(de==="meta"&&(0,G.default)("MetaProperty",Pe,{meta:We}))return;if(((0,B.isKeyword)(We.name)||(0,B.isReservedWord)(We.name,!1))&&We.name!=="this")throw TypeError(`"${We.name}" is not a valid identifier`)}:void 0}),W("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,$.assertNodeType)("Expression")},consequent:{validate:(0,$.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,$.assertNodeType)("Statement")}}}),W("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,$.assertNodeType)("Identifier")},body:{validate:(0,$.assertNodeType)("Statement")}}}),W("StringLiteral",{builder:["value"],fields:{value:{validate:(0,$.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),W("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,$.chain)((0,$.assertValueType)("number"),Object.assign(function(Pe,Ke,We){(1/We<0||!Number.isFinite(We))&&Error(`NumericLiterals must be non-negative finite numbers. You can use t.valueToNode(${We}) instead.`)},{type:"number"}))}},aliases:["Expression","Pureish","Literal","Immutable"]}),W("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),W("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,$.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),W("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,$.assertValueType)("string")},flags:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,$.chain)((0,$.assertValueType)("string"),Object.assign(function(Pe,Ke,We){let Oe=/[^dgimsuvy]/.exec(We);if(Oe)throw TypeError(`"${Oe[0]}" is not a valid RegExp flag`)},{type:"string"})):(0,$.assertValueType)("string"),default:""}}}),W("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,$.assertOneOf)(...K.LOGICAL_OPERATORS)},left:{validate:(0,$.assertNodeType)("Expression")},right:{validate:(0,$.assertNodeType)("Expression")}}}),W("MemberExpression",{builder:["object","property","computed",...process.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal","PatternLike"],fields:Object.assign({object:{validate:(0,$.assertNodeType)("Expression","Super")},property:{validate:(h=(0,$.assertNodeType)("Identifier","PrivateName"),d=(0,$.assertNodeType)("Expression"),(f=function(Pe,Ke,We){(Pe.computed?d:h)(Pe,Ke,We)}).oneOfNodeTypes=["Expression","Identifier","PrivateName"],f)},computed:{default:!1}},process.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,$.assertValueType)("boolean"),optional:!0}})}),W("NewExpression",{inherits:"CallExpression"}),W("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceType:{validate:(0,$.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,$.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,$.arrayOfType)("Directive"),default:[]},body:(0,$.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","Block"]}),W("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,$.validateArrayOfType)("ObjectMethod","ObjectProperty","SpreadElement")}}),W("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},Z(),Q(),{kind:Object.assign({validate:(0,$.assertOneOf)("method","get","set")},process.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:(b=(0,$.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),m=(0,$.assertNodeType)("Expression"),(y=function(Pe,Ke,We){(Pe.computed?m:b)(Pe,Ke,We)}).oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral"],y)},decorators:{validate:(0,$.arrayOfType)("Decorator"),optional:!0},body:{validate:(0,$.assertNodeType)("BlockStatement")}}),aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),W("ObjectProperty",{builder:["key","value","computed","shorthand",...process.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:(x=(0,$.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"),v=(0,$.assertNodeType)("Expression"),Object.assign(function(Pe,Ke,We){(Pe.computed?v:x)(Pe,Ke,We)},{oneOfNodeTypes:["Expression","Identifier","StringLiteral","NumericLiteral","BigIntLiteral","DecimalLiteral","PrivateName"]}))},value:{validate:(0,$.assertNodeType)("Expression","PatternLike")},shorthand:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,$.chain)((0,$.assertValueType)("boolean"),Object.assign(function(Pe,Ke,We){if(We){if(Pe.computed)throw TypeError("Property shorthand of ObjectProperty cannot be true if computed is true");if(!(0,G.default)("Identifier",Pe.key))throw TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")}},{type:"boolean"})):(0,$.assertValueType)("boolean"),default:!1},decorators:{validate:(0,$.arrayOfType)("Decorator"),optional:!0}},visitor:["decorators","key","value"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:process.env.BABEL_TYPES_8_BREAKING?(E=(0,$.assertNodeType)("Identifier","Pattern","TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"),S=(0,$.assertNodeType)("Expression"),function(Pe,Ke,We){((0,G.default)("ObjectPattern",Pe)?E:S)(We,"value",We.value)}):void 0}),W("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["FunctionParameter","PatternLike","LVal"],deprecatedAlias:"RestProperty",fields:Object.assign({},ie(),{argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,$.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"):(0,$.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression","RestElement","AssignmentPattern")}}),validate:process.env.BABEL_TYPES_8_BREAKING?function(Pe,Ke){let We=/(\w+)\[(\d+)\]/.exec(Ke.toString());if(!We)throw Error("Internal Babel error: malformed key.");let[,Oe,de]=We;if(Pe[Oe].length>+de+1)throw TypeError(`RestElement must be last element of ${Oe}`)}:void 0}),W("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,$.assertNodeType)("Expression"),optional:!0}}}),W("SequenceExpression",{visitor:["expressions"],fields:{expressions:(0,$.validateArrayOfType)("Expression")},aliases:["Expression"]}),W("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,$.assertNodeType)("Expression")}}}),W("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,$.assertNodeType)("Expression"),optional:!0},consequent:(0,$.validateArrayOfType)("Statement")}}),W("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,$.assertNodeType)("Expression")},cases:(0,$.validateArrayOfType)("SwitchCase")}}),W("ThisExpression",{aliases:["Expression"]}),W("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,$.assertNodeType)("Expression")}}}),W("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,$.chain)((0,$.assertNodeType)("BlockStatement"),Object.assign(function(Pe){if(!Pe.handler&&!Pe.finalizer)throw TypeError("TryStatement expects either a handler or finalizer, or both")},{oneOfNodeTypes:["BlockStatement"]})):(0,$.assertNodeType)("BlockStatement")},handler:{optional:!0,validate:(0,$.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,$.assertNodeType)("BlockStatement")}}}),W("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,$.assertNodeType)("Expression")},operator:{validate:(0,$.assertOneOf)(...K.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),W("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,$.assertNodeType)("Identifier","MemberExpression"):(0,$.assertNodeType)("Expression")},operator:{validate:(0,$.assertOneOf)(...K.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),W("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,$.assertValueType)("boolean"),optional:!0},kind:{validate:(0,$.assertOneOf)("var","let","const","using","await using")},declarations:(0,$.validateArrayOfType)("VariableDeclarator")},validate:process.env.BABEL_TYPES_8_BREAKING?(_=(0,$.assertNodeType)("Identifier","Placeholder"),A=(0,$.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","Placeholder"),L=(0,$.assertNodeType)("Identifier","VoidPattern","Placeholder"),function(Pe,Ke,We){let{kind:Oe,declarations:de}=We,xe=(0,G.default)("ForXStatement",Pe,{left:We});if(xe&&de.length!==1)throw TypeError(`Exactly one VariableDeclarator is required in the VariableDeclaration of a ${Pe.type}`);for(let ye of de)Oe==="const"||Oe==="let"||Oe==="var"?xe||ye.init?A(ye,"id",ye.id):_(ye,"id",ye.id):L(ye,"id",ye.id)}):void 0}),W("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,$.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","VoidPattern"):(0,$.assertNodeType)("LVal","VoidPattern")},definite:{optional:!0,validate:(0,$.assertValueType)("boolean")},init:{optional:!0,validate:(0,$.assertNodeType)("Expression")}}}),W("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,$.assertNodeType)("Expression")},body:{validate:(0,$.assertNodeType)("Statement")}}}),W("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,$.assertNodeType)("Expression")},body:{validate:(0,$.assertNodeType)("Statement")}}}),W("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},ie(),{left:{validate:(0,$.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression")},right:{validate:(0,$.assertNodeType)("Expression")},decorators:{validate:(0,$.arrayOfType)("Decorator"),optional:!0}})}),W("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},ie(),{elements:{validate:(0,$.chain)((0,$.assertValueType)("array"),(0,$.assertEach)((0,$.assertNodeOrValueType)("null","PatternLike")))}})}),W("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["typeParameters","params","predicate","returnType","body"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},Z(),Q(),{expression:{validate:(0,$.assertValueType)("boolean")},body:{validate:(0,$.assertNodeType)("BlockStatement","Expression")},predicate:{validate:(0,$.assertNodeType)("DeclaredPredicate","InferredPredicate"),optional:!0}})}),W("ClassBody",{visitor:["body"],fields:{body:(0,$.validateArrayOfType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","ClassAccessorProperty","TSDeclareMethod","TSIndexSignature","StaticBlock")}}),W("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["decorators","id","typeParameters","superClass","superTypeParameters","mixins","implements","body"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,$.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,$.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,$.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,$.assertNodeType)("Expression")},superTypeParameters:{validate:(0,$.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,$.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,$.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,$.assertNodeType)("InterfaceExtends"),optional:!0}}}),W("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,$.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,$.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,$.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,$.assertNodeType)("Expression")},superTypeParameters:{validate:(0,$.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,$.arrayOfType)("TSExpressionWithTypeArguments","ClassImplements"),optional:!0},decorators:{validate:(0,$.arrayOfType)("Decorator"),optional:!0},mixins:{validate:(0,$.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,$.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,$.assertValueType)("boolean"),optional:!0}},validate:process.env.BABEL_TYPES_8_BREAKING?(j=(0,$.assertNodeType)("Identifier"),function(Pe,Ke,We){(0,G.default)("ExportDefaultDeclaration",Pe)||j(We,"id",We.id)}):void 0});let oe=e.importAttributes={attributes:{optional:!0,validate:(0,$.arrayOfType)("ImportAttribute")},assertions:{deprecated:!0,optional:!0,validate:(0,$.arrayOfType)("ImportAttribute")}};W("ExportAllDeclaration",{builder:["source"],visitor:["source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({source:{validate:(0,$.assertNodeType)("StringLiteral")},exportKind:(0,$.validateOptional)((0,$.assertOneOf)("type","value"))},oe)}),W("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:{declaration:(0,$.validateType)("TSDeclareFunction","FunctionDeclaration","ClassDeclaration","Expression"),exportKind:(0,$.validateOptional)((0,$.assertOneOf)("value"))}}),W("ExportNamedDeclaration",{builder:["declaration","specifiers","source"],visitor:["declaration","specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration","ExportDeclaration"],fields:Object.assign({declaration:{optional:!0,validate:process.env.BABEL_TYPES_8_BREAKING?(0,$.chain)((0,$.assertNodeType)("Declaration"),Object.assign(function(Pe,Ke,We){if(We&&Pe.specifiers.length)throw TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration");if(We&&Pe.source)throw TypeError("Cannot export a declaration from a source")},{oneOfNodeTypes:["Declaration"]})):(0,$.assertNodeType)("Declaration")}},oe,{specifiers:{default:[],validate:(0,$.arrayOf)((F=(0,$.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),k=(0,$.assertNodeType)("ExportSpecifier"),process.env.BABEL_TYPES_8_BREAKING?Object.assign(function(Pe,Ke,We){(Pe.source?F:k)(Pe,Ke,We)},{oneOfNodeTypes:["ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"]}):F))},source:{validate:(0,$.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,$.validateOptional)((0,$.assertOneOf)("type","value"))})}),W("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,$.assertNodeType)("Identifier")},exported:{validate:(0,$.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,$.assertOneOf)("type","value"),optional:!0}}}),W("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,$.assertNodeType)("VariableDeclaration","LVal");let Pe=(0,$.assertNodeType)("VariableDeclaration"),Ke=(0,$.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression");return Object.assign(function(We,Oe,de){(0,G.default)("VariableDeclaration",de)?Pe(We,Oe,de):Ke(We,Oe,de)},{oneOfNodeTypes:["VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern","TSAsExpression","TSSatisfiesExpression","TSTypeAssertion","TSNonNullExpression"]})})()},right:{validate:(0,$.assertNodeType)("Expression")},body:{validate:(0,$.assertNodeType)("Statement")},await:{default:!1}}}),W("ImportDeclaration",{builder:["specifiers","source"],visitor:["specifiers","source","attributes","assertions"],aliases:["Statement","Declaration","ImportOrExportDeclaration"],fields:Object.assign({},oe,{module:{optional:!0,validate:(0,$.assertValueType)("boolean")},phase:{default:null,validate:(0,$.assertOneOf)("source","defer")},specifiers:(0,$.validateArrayOfType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier"),source:{validate:(0,$.assertNodeType)("StringLiteral")},importKind:{validate:(0,$.assertOneOf)("type","typeof","value"),optional:!0}})}),W("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,$.assertNodeType)("Identifier")}}}),W("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,$.assertNodeType)("Identifier")}}}),W("ImportSpecifier",{visitor:["imported","local"],builder:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,$.assertNodeType)("Identifier")},imported:{validate:(0,$.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,$.assertOneOf)("type","typeof","value"),optional:!0}}}),W("ImportExpression",{visitor:["source","options"],aliases:["Expression"],fields:{phase:{default:null,validate:(0,$.assertOneOf)("source","defer")},source:{validate:(0,$.assertNodeType)("Expression")},options:{validate:(0,$.assertNodeType)("Expression"),optional:!0}}}),W("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,$.chain)((0,$.assertNodeType)("Identifier"),Object.assign(function(Pe,Ke,We){let Oe;switch(We.name){case"function":Oe="sent";break;case"new":Oe="target";break;case"import":Oe="meta"}if(!(0,G.default)("Identifier",Pe.property,{name:Oe}))throw TypeError("Unrecognised MetaProperty")},{oneOfNodeTypes:["Identifier"]})):(0,$.assertNodeType)("Identifier")},property:{validate:(0,$.assertNodeType)("Identifier")}}});let be=()=>{let Pe,Ke;return{abstract:{validate:(0,$.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,$.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,$.assertValueType)("boolean"),optional:!0},key:{validate:(0,$.chain)((Pe=(0,$.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral"),Ke=(0,$.assertNodeType)("Expression"),function(We,Oe,de){(We.computed?Ke:Pe)(We,Oe,de)}),(0,$.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression"))}}};e.classMethodOrPropertyCommon=be;let Ne=()=>Object.assign({},Z(),be(),{params:(0,$.validateArrayOfType)("FunctionParameter","TSParameterProperty"),kind:{validate:(0,$.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,$.chain)((0,$.assertValueType)("string"),(0,$.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,$.arrayOfType)("Decorator"),optional:!0}});e.classMethodOrDeclareMethodCommon=Ne,W("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["decorators","key","typeParameters","params","returnType","body"],fields:Object.assign({},Ne(),Q(),{body:{validate:(0,$.assertNodeType)("BlockStatement")}})}),W("ObjectPattern",{visitor:["decorators","properties","typeAnnotation"],builder:["properties"],aliases:["FunctionParameter","Pattern","PatternLike","LVal"],fields:Object.assign({},ie(),{properties:(0,$.validateArrayOfType)("RestElement","ObjectProperty")})}),W("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,$.assertNodeType)("Expression")}}}),W("Super",{aliases:["Expression"]}),W("TaggedTemplateExpression",{visitor:["tag","typeParameters","quasi"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,$.assertNodeType)("Expression")},quasi:{validate:(0,$.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,$.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),W("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,$.chain)((0,$.assertShape)({raw:{validate:(0,$.assertValueType)("string")},cooked:{validate:(0,$.assertValueType)("string"),optional:!0}}),function(Pe){let Ke=Pe.value.raw,We=!1,Oe=()=>{throw Error("Internal @babel/types error.")},{str:de,firstInvalidLoc:xe}=(0,q.readStringContents)("template",Ke,0,0,0,{unterminated(){We=!0},strictNumericEscape:Oe,invalidEscapeSequence:Oe,numericSeparatorInEscapeSequence:Oe,unexpectedNumericSeparator:Oe,invalidDigit:Oe,invalidCodePoint:Oe});if(!We)throw Error("Invalid raw");Pe.value.cooked=xe?null:de})},tail:{default:!1}}}),W("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:(0,$.validateArrayOfType)("TemplateElement"),expressions:{validate:(0,$.chain)((0,$.assertValueType)("array"),(0,$.assertEach)((0,$.assertNodeType)("Expression","TSType")),function(Pe,Ke,We){if(Pe.quasis.length!==We.length+1)throw TypeError(`Number of ${Pe.type} quasis should be exactly one more than the number of expressions.
|
|
Expected ${We.length+1} quasis but got ${Pe.quasis.length}`)})}}}),W("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,$.chain)((0,$.assertValueType)("boolean"),Object.assign(function(Pe,Ke,We){if(We&&!Pe.argument)throw TypeError("Property delegate of YieldExpression cannot be true if there is no argument")},{type:"boolean"})):(0,$.assertValueType)("boolean"),default:!1},argument:{optional:!0,validate:(0,$.assertNodeType)("Expression")}}}),W("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,$.assertNodeType)("Expression")}}}),W("Import",{aliases:["Expression"]}),W("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,$.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),W("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,$.assertNodeType)("Identifier")}}}),W("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,$.assertNodeType)("Expression")},property:{validate:(U=(0,$.assertNodeType)("Identifier"),z=(0,$.assertNodeType)("Expression"),Object.assign(function(Pe,Ke,We){(Pe.computed?z:U)(Pe,Ke,We)},{oneOfNodeTypes:["Expression","Identifier"]}))},computed:{default:!1},optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,$.chain)((0,$.assertValueType)("boolean"),(0,$.assertOptionalChainStart)()):(0,$.assertValueType)("boolean")}}}),W("OptionalCallExpression",{visitor:["callee","typeParameters","typeArguments","arguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,$.assertNodeType)("Expression")},arguments:(0,$.validateArrayOfType)("Expression","SpreadElement","ArgumentPlaceholder"),optional:{validate:process.env.BABEL_TYPES_8_BREAKING?(0,$.chain)((0,$.assertValueType)("boolean"),(0,$.assertOptionalChainStart)()):(0,$.assertValueType)("boolean")},typeArguments:{validate:(0,$.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,$.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),W("ClassProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},be(),{value:{validate:(0,$.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,$.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,$.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,$.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,$.assertValueType)("boolean"),optional:!0},declare:{validate:(0,$.assertValueType)("boolean"),optional:!0},variance:{validate:(0,$.assertNodeType)("Variance"),optional:!0}})}),W("ClassAccessorProperty",{visitor:["decorators","key","typeAnnotation","value"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property","Accessor"],fields:Object.assign({},be(),{key:{validate:(0,$.chain)((C=(0,$.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","PrivateName"),R=(0,$.assertNodeType)("Expression"),function(Pe,Ke,We){(Pe.computed?R:C)(Pe,Ke,We)}),(0,$.assertNodeType)("Identifier","StringLiteral","NumericLiteral","BigIntLiteral","Expression","PrivateName"))},value:{validate:(0,$.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,$.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,$.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,$.arrayOfType)("Decorator"),optional:!0},readonly:{validate:(0,$.assertValueType)("boolean"),optional:!0},declare:{validate:(0,$.assertValueType)("boolean"),optional:!0},variance:{validate:(0,$.assertNodeType)("Variance"),optional:!0}})}),W("ClassPrivateProperty",{visitor:["decorators","variance","key","typeAnnotation","value"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,$.assertNodeType)("PrivateName")},value:{validate:(0,$.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,$.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,$.arrayOfType)("Decorator"),optional:!0},static:{validate:(0,$.assertValueType)("boolean"),default:!1},readonly:{validate:(0,$.assertValueType)("boolean"),optional:!0},optional:{validate:(0,$.assertValueType)("boolean"),optional:!0},definite:{validate:(0,$.assertValueType)("boolean"),optional:!0},variance:{validate:(0,$.assertNodeType)("Variance"),optional:!0}}}),W("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["decorators","key","typeParameters","params","returnType","body"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},Ne(),Q(),{kind:{validate:(0,$.assertOneOf)("get","set","method"),default:"method"},key:{validate:(0,$.assertNodeType)("PrivateName")},body:{validate:(0,$.assertNodeType)("BlockStatement")}})}),W("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,$.assertNodeType)("Identifier")}}}),W("StaticBlock",{visitor:["body"],fields:{body:(0,$.validateArrayOfType)("Statement")},aliases:["Scopable","BlockParent","FunctionParent"]}),W("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,$.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,$.assertNodeType)("StringLiteral")}}})},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/deprecated-aliases.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEPRECATED_ALIASES=void 0,e.DEPRECATED_ALIASES={ModuleDeclaration:"ImportOrExportDeclaration"}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/experimental.js":function(u,e,l){"use strict";var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/utils.js");(0,n.default)("ArgumentPlaceholder",{}),(0,n.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:process.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,n.assertNodeType)("Expression")},callee:{validate:(0,n.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}}),(0,n.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),(0,n.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,n.assertNodeType)("BlockStatement")},async:{validate:(0,n.assertValueType)("boolean"),default:!1}}}),(0,n.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,n.assertNodeType)("Identifier")}}}),(0,n.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:(0,n.validateArrayOfType)("ObjectProperty","SpreadElement")}}),(0,n.default)("TupleExpression",{fields:{elements:{validate:(0,n.arrayOfType)("Expression","SpreadElement"),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,n.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,n.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,n.assertNodeType)("Program")}},aliases:["Expression"]}),(0,n.default)("TopicReference",{aliases:["Expression"]}),(0,n.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,n.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,n.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,n.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]}),(0,n.default)("VoidPattern",{aliases:["Pattern","PatternLike","FunctionParameter"]})},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/flow.js":function(u,e,l){"use strict";var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/core.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/utils.js");let p=(0,c.defineAliasedType)("Flow"),i=o=>{let h=o==="DeclareClass";p(o,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends",...h?["mixins","implements"]:[],"body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({id:(0,c.validateType)("Identifier"),typeParameters:(0,c.validateOptionalType)("TypeParameterDeclaration"),extends:(0,c.validateOptional)((0,c.arrayOfType)("InterfaceExtends"))},h?{mixins:(0,c.validateOptional)((0,c.arrayOfType)("InterfaceExtends")),implements:(0,c.validateOptional)((0,c.arrayOfType)("ClassImplements"))}:{},{body:(0,c.validateType)("ObjectTypeAnnotation")})})};p("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,c.validateType)("FlowType")}}),p("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,c.validate)((0,c.assertValueType)("boolean"))}}),p("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,c.validateType)("Identifier"),typeParameters:(0,c.validateOptionalType)("TypeParameterInstantiation")}}),i("DeclareClass"),p("DeclareFunction",{builder:["id"],visitor:["id","predicate"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,c.validateType)("Identifier"),predicate:(0,c.validateOptionalType)("DeclaredPredicate")}}),i("DeclareInterface"),p("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,c.validateType)("Identifier","StringLiteral"),body:(0,c.validateType)("BlockStatement"),kind:(0,c.validateOptional)((0,c.assertOneOf)("CommonJS","ES"))}}),p("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,c.validateType)("TypeAnnotation")}}),p("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,c.validateType)("Identifier"),typeParameters:(0,c.validateOptionalType)("TypeParameterDeclaration"),right:(0,c.validateType)("FlowType")}}),p("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,c.validateType)("Identifier"),typeParameters:(0,c.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,c.validateOptionalType)("FlowType"),impltype:(0,c.validateOptionalType)("FlowType")}}),p("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,c.validateType)("Identifier")}}),p("DeclareExportDeclaration",{visitor:["declaration","specifiers","source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({declaration:(0,c.validateOptionalType)("Flow"),specifiers:(0,c.validateOptional)((0,c.arrayOfType)("ExportSpecifier","ExportNamespaceSpecifier")),source:(0,c.validateOptionalType)("StringLiteral"),default:(0,c.validateOptional)((0,c.assertValueType)("boolean"))},n.importAttributes)}),p("DeclareExportAllDeclaration",{visitor:["source","attributes"],aliases:["FlowDeclaration","Statement","Declaration"],fields:Object.assign({source:(0,c.validateType)("StringLiteral"),exportKind:(0,c.validateOptional)((0,c.assertOneOf)("type","value"))},n.importAttributes)}),p("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,c.validateType)("Flow")}}),p("ExistsTypeAnnotation",{aliases:["FlowType"]}),p("FunctionTypeAnnotation",{builder:["typeParameters","params","rest","returnType"],visitor:["typeParameters","this","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,c.validateOptionalType)("TypeParameterDeclaration"),params:(0,c.validateArrayOfType)("FunctionTypeParam"),rest:(0,c.validateOptionalType)("FunctionTypeParam"),this:(0,c.validateOptionalType)("FunctionTypeParam"),returnType:(0,c.validateType)("FlowType")}}),p("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,c.validateOptionalType)("Identifier"),typeAnnotation:(0,c.validateType)("FlowType"),optional:(0,c.validateOptional)((0,c.assertValueType)("boolean"))}}),p("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,c.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,c.validateOptionalType)("TypeParameterInstantiation")}}),p("InferredPredicate",{aliases:["FlowPredicate"]}),p("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,c.validateType)("Identifier","QualifiedTypeIdentifier"),typeParameters:(0,c.validateOptionalType)("TypeParameterInstantiation")}}),i("InterfaceDeclaration"),p("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,c.validateOptional)((0,c.arrayOfType)("InterfaceExtends")),body:(0,c.validateType)("ObjectTypeAnnotation")}}),p("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,c.validate)((0,c.arrayOfType)("FlowType"))}}),p("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,c.validateType)("FlowType")}}),p("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,c.validate)((0,c.assertValueType)("number"))}}),p("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["FlowType"],builder:["properties","indexers","callProperties","internalSlots","exact"],fields:{properties:(0,c.validate)((0,c.arrayOfType)("ObjectTypeProperty","ObjectTypeSpreadProperty")),indexers:{validate:(0,c.arrayOfType)("ObjectTypeIndexer"),optional:!0,default:[]},callProperties:{validate:(0,c.arrayOfType)("ObjectTypeCallProperty"),optional:!0,default:[]},internalSlots:{validate:(0,c.arrayOfType)("ObjectTypeInternalSlot"),optional:!0,default:[]},exact:{validate:(0,c.assertValueType)("boolean"),default:!1},inexact:(0,c.validateOptional)((0,c.assertValueType)("boolean"))}}),p("ObjectTypeInternalSlot",{visitor:["id","value"],builder:["id","value","optional","static","method"],aliases:["UserWhitespacable"],fields:{id:(0,c.validateType)("Identifier"),value:(0,c.validateType)("FlowType"),optional:(0,c.validate)((0,c.assertValueType)("boolean")),static:(0,c.validate)((0,c.assertValueType)("boolean")),method:(0,c.validate)((0,c.assertValueType)("boolean"))}}),p("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,c.validateType)("FlowType"),static:(0,c.validate)((0,c.assertValueType)("boolean"))}}),p("ObjectTypeIndexer",{visitor:["variance","id","key","value"],builder:["id","key","value","variance"],aliases:["UserWhitespacable"],fields:{id:(0,c.validateOptionalType)("Identifier"),key:(0,c.validateType)("FlowType"),value:(0,c.validateType)("FlowType"),static:(0,c.validate)((0,c.assertValueType)("boolean")),variance:(0,c.validateOptionalType)("Variance")}}),p("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["UserWhitespacable"],fields:{key:(0,c.validateType)("Identifier","StringLiteral"),value:(0,c.validateType)("FlowType"),kind:(0,c.validate)((0,c.assertOneOf)("init","get","set")),static:(0,c.validate)((0,c.assertValueType)("boolean")),proto:(0,c.validate)((0,c.assertValueType)("boolean")),optional:(0,c.validate)((0,c.assertValueType)("boolean")),variance:(0,c.validateOptionalType)("Variance"),method:(0,c.validate)((0,c.assertValueType)("boolean"))}}),p("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,c.validateType)("FlowType")}}),p("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,c.validateType)("Identifier"),typeParameters:(0,c.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,c.validateOptionalType)("FlowType"),impltype:(0,c.validateType)("FlowType")}}),p("QualifiedTypeIdentifier",{visitor:["qualification","id"],builder:["id","qualification"],fields:{id:(0,c.validateType)("Identifier"),qualification:(0,c.validateType)("Identifier","QualifiedTypeIdentifier")}}),p("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,c.validate)((0,c.assertValueType)("string"))}}),p("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,c.validate)((0,c.arrayOfType)("FlowType"))}}),p("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,c.validateType)("FlowType")}}),p("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,c.validateType)("Identifier"),typeParameters:(0,c.validateOptionalType)("TypeParameterDeclaration"),right:(0,c.validateType)("FlowType")}}),p("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,c.validateType)("FlowType")}}),p("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,c.validateType)("Expression"),typeAnnotation:(0,c.validateType)("TypeAnnotation")}}),p("TypeParameter",{visitor:["bound","default","variance"],fields:{name:(0,c.validate)((0,c.assertValueType)("string")),bound:(0,c.validateOptionalType)("TypeAnnotation"),default:(0,c.validateOptionalType)("FlowType"),variance:(0,c.validateOptionalType)("Variance")}}),p("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,c.validate)((0,c.arrayOfType)("TypeParameter"))}}),p("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,c.validate)((0,c.arrayOfType)("FlowType"))}}),p("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,c.validate)((0,c.arrayOfType)("FlowType"))}}),p("Variance",{builder:["kind"],fields:{kind:(0,c.validate)((0,c.assertOneOf)("minus","plus"))}}),p("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),p("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,c.validateType)("Identifier"),body:(0,c.validateType)("EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody")}}),p("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,c.validate)((0,c.assertValueType)("boolean")),members:(0,c.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,c.validate)((0,c.assertValueType)("boolean"))}}),p("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,c.validate)((0,c.assertValueType)("boolean")),members:(0,c.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,c.validate)((0,c.assertValueType)("boolean"))}}),p("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,c.validate)((0,c.assertValueType)("boolean")),members:(0,c.validateArrayOfType)("EnumStringMember","EnumDefaultedMember"),hasUnknownMembers:(0,c.validate)((0,c.assertValueType)("boolean"))}}),p("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,c.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,c.validate)((0,c.assertValueType)("boolean"))}}),p("EnumBooleanMember",{aliases:["EnumMember"],builder:["id"],visitor:["id","init"],fields:{id:(0,c.validateType)("Identifier"),init:(0,c.validateType)("BooleanLiteral")}}),p("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,c.validateType)("Identifier"),init:(0,c.validateType)("NumericLiteral")}}),p("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,c.validateType)("Identifier"),init:(0,c.validateType)("StringLiteral")}}),p("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,c.validateType)("Identifier")}}),p("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,c.validateType)("FlowType"),indexType:(0,c.validateType)("FlowType")}}),p("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,c.validateType)("FlowType"),indexType:(0,c.validateType)("FlowType"),optional:(0,c.validate)((0,c.assertValueType)("boolean"))}})},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ALIAS_KEYS",{enumerable:!0,get:function(){return n.ALIAS_KEYS}}),Object.defineProperty(e,"BUILDER_KEYS",{enumerable:!0,get:function(){return n.BUILDER_KEYS}}),Object.defineProperty(e,"DEPRECATED_ALIASES",{enumerable:!0,get:function(){return p.DEPRECATED_ALIASES}}),Object.defineProperty(e,"DEPRECATED_KEYS",{enumerable:!0,get:function(){return n.DEPRECATED_KEYS}}),Object.defineProperty(e,"FLIPPED_ALIAS_KEYS",{enumerable:!0,get:function(){return n.FLIPPED_ALIAS_KEYS}}),Object.defineProperty(e,"NODE_FIELDS",{enumerable:!0,get:function(){return n.NODE_FIELDS}}),Object.defineProperty(e,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return n.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(e,"PLACEHOLDERS",{enumerable:!0,get:function(){return c.PLACEHOLDERS}}),Object.defineProperty(e,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return c.PLACEHOLDERS_ALIAS}}),Object.defineProperty(e,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return c.PLACEHOLDERS_FLIPPED_ALIAS}}),e.TYPES=void 0,Object.defineProperty(e,"VISITOR_KEYS",{enumerable:!0,get:function(){return n.VISITOR_KEYS}}),l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/core.js"),l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/flow.js"),l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/jsx.js"),l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/misc.js"),l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/experimental.js"),l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/typescript.js");var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/utils.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/placeholders.js"),p=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/deprecated-aliases.js");for(let{types:i,set:o}of(Object.keys(p.DEPRECATED_ALIASES).forEach(h=>{n.FLIPPED_ALIAS_KEYS[h]=n.FLIPPED_ALIAS_KEYS[p.DEPRECATED_ALIASES[h]]}),n.allExpandedTypes))for(let h of i){let d=n.FLIPPED_ALIAS_KEYS[h];d?d.forEach(o.add,o):o.add(h)}e.TYPES=[].concat(Object.keys(n.VISITOR_KEYS),Object.keys(n.FLIPPED_ALIAS_KEYS),Object.keys(n.DEPRECATED_KEYS))},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/jsx.js":function(u,e,l){"use strict";var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/utils.js");let c=(0,n.defineAliasedType)("JSX");c("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),c("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),c("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["Immutable","Expression"],fields:Object.assign({openingElement:{validate:(0,n.assertNodeType)("JSXOpeningElement")},closingElement:{optional:!0,validate:(0,n.assertNodeType)("JSXClosingElement")},children:(0,n.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")},{selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:!0}})}),c("JSXEmptyExpression",{}),c("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}}),c("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),c("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}}),c("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),c("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),c("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","typeParameters","typeArguments","attributes"],aliases:["Immutable"],fields:Object.assign({name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},attributes:(0,n.validateArrayOfType)("JSXAttribute","JSXSpreadAttribute"),typeArguments:{validate:(0,n.assertNodeType)("TypeParameterInstantiation"),optional:!0}},{typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),c("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}}),c("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}}),c("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["Immutable","Expression"],fields:{openingFragment:{validate:(0,n.assertNodeType)("JSXOpeningFragment")},closingFragment:{validate:(0,n.assertNodeType)("JSXClosingFragment")},children:(0,n.validateArrayOfType)("JSXText","JSXExpressionContainer","JSXSpreadChild","JSXElement","JSXFragment")}}),c("JSXOpeningFragment",{aliases:["Immutable"]}),c("JSXClosingFragment",{aliases:["Immutable"]})},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/misc.js":function(u,e,l){"use strict";var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/utils.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/placeholders.js"),p=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/core.js");let i=(0,n.defineAliasedType)("Miscellaneous");i("Noop",{visitor:[]}),i("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:Object.assign({name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...c.PLACEHOLDERS)}},(0,p.patternLikeCommon)())}),i("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/placeholders.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.PLACEHOLDERS_FLIPPED_ALIAS=e.PLACEHOLDERS_ALIAS=e.PLACEHOLDERS=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/utils.js");let c=e.PLACEHOLDERS=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"],p=e.PLACEHOLDERS_ALIAS={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};for(let o of c){let h=n.ALIAS_KEYS[o];h!=null&&h.length&&(p[o]=h)}let i=e.PLACEHOLDERS_FLIPPED_ALIAS={};Object.keys(p).forEach(o=>{p[o].forEach(h=>{hasOwnProperty.call(i,h)||(i[h]=[]),i[h].push(o)})})},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/typescript.js":function(u,e,l){"use strict";var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/utils.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/core.js"),p=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/is.js");let i=(0,n.defineAliasedType)("TypeScript"),o=(0,n.assertValueType)("boolean"),h=()=>({returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}});i("TSParameterProperty",{aliases:["LVal"],visitor:["parameter"],fields:{accessibility:{validate:(0,n.assertOneOf)("public","private","protected"),optional:!0},readonly:{validate:(0,n.assertValueType)("boolean"),optional:!0},parameter:{validate:(0,n.assertNodeType)("Identifier","AssignmentPattern")},override:{validate:(0,n.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,n.arrayOfType)("Decorator"),optional:!0}}}),i("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},(0,c.functionDeclarationCommon)(),h())}),i("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},(0,c.classMethodOrDeclareMethodCommon)(),h())}),i("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});let d=()=>({typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)("ArrayPattern","Identifier","ObjectPattern","RestElement"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}),f={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:d()};i("TSCallSignatureDeclaration",f),i("TSConstructSignatureDeclaration",f);let b=()=>({key:(0,n.validateType)("Expression"),computed:{default:!1},optional:(0,n.validateOptional)(o)});for(let v of(i("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation"],fields:Object.assign({},b(),{readonly:(0,n.validateOptional)(o),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),kind:{optional:!0,validate:(0,n.assertOneOf)("get","set")}})}),i("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},d(),b(),{kind:{validate:(0,n.assertOneOf)("method","get","set")}})}),i("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(o),static:(0,n.validateOptional)(o),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}}),["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"]))i(v,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});i("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});let m={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};i("TSFunctionType",Object.assign({},m,{fields:d()})),i("TSConstructorType",Object.assign({},m,{fields:Object.assign({},d(),{abstract:(0,n.validateOptional)(o)})})),i("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),i("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)("Identifier","TSThisType"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(o)}}),i("TSTypeQuery",{aliases:["TSType"],visitor:["exprName","typeParameters"],fields:{exprName:(0,n.validateType)("TSEntityName","TSImportType"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),i("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}}),i("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}}),i("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)("TSType","TSNamedTupleMember")}}),i("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),i("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),i("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:o,default:!1},elementType:(0,n.validateType)("TSType")}});let y={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};i("TSUnionType",y),i("TSIntersectionType",y),i("TSConditionalType",{aliases:["TSType"],visitor:["checkType","extendsType","trueType","falseType"],fields:{checkType:(0,n.validateType)("TSType"),extendsType:(0,n.validateType)("TSType"),trueType:(0,n.validateType)("TSType"),falseType:(0,n.validateType)("TSType")}}),i("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}}),i("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),i("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],builder:["typeAnnotation","operator"],fields:{operator:{validate:(0,n.assertValueType)("string"),default:"keyof"},typeAnnotation:(0,n.validateType)("TSType")}}),i("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}}),i("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","nameType","typeAnnotation"],builder:["typeParameter","typeAnnotation","nameType"],fields:Object.assign({},{typeParameter:(0,n.validateType)("TSTypeParameter")},{readonly:(0,n.validateOptional)((0,n.assertOneOf)(!0,!1,"+","-")),optional:(0,n.validateOptional)((0,n.assertOneOf)(!0,!1,"+","-")),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")})}),i("TSTemplateLiteralType",{aliases:["TSType","TSBaseType"],visitor:["quasis","types"],fields:{quasis:(0,n.validateArrayOfType)("TemplateElement"),types:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")),function(v,E,S){if(v.quasis.length!==S.length+1)throw TypeError(`Number of ${v.type} quasis should be exactly one more than the number of types.
|
|
Expected ${S.length+1} quasis but got ${v.quasis.length}`)})}}}),i("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:(function(){let v=(0,n.assertNodeType)("NumericLiteral","BigIntLiteral"),E=(0,n.assertOneOf)("-"),S=(0,n.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral");function _(A,L,j){(0,p.default)("UnaryExpression",j)?(E(j,"operator",j.operator),v(j,"argument",j.argument)):S(A,L,j)}return _.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","TemplateLiteral","UnaryExpression"],_})()}}}),i("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),i("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}}),i("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}}),i("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}}),i("TSInstantiationExpression",{aliases:["Expression"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("Expression"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}});let x={aliases:["Expression","LVal","PatternLike"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}};i("TSAsExpression",x),i("TSSatisfiesExpression",x),i("TSTypeAssertion",{aliases:["Expression","LVal","PatternLike"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}}),i("TSEnumBody",{visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSEnumMember")}}),i("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(o),const:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression"),body:(0,n.validateOptionalType)("TSEnumBody")}}),i("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)("Identifier","StringLiteral"),initializer:(0,n.validateOptionalType)("Expression")}}),i("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:Object.assign({kind:{validate:(0,n.assertOneOf)("global","module","namespace")},declare:(0,n.validateOptional)(o)},{global:(0,n.validateOptional)(o)},{id:(0,n.validateType)("Identifier","StringLiteral"),body:(0,n.validateType)("TSModuleBlock","TSModuleDeclaration")})}),i("TSModuleBlock",{aliases:["Scopable","Block","BlockParent","FunctionParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}}),i("TSImportType",{aliases:["TSType"],builder:["argument","qualifier","typeParameters"],visitor:["argument","options","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation"),options:{validate:(0,n.assertNodeType)("ObjectExpression"),optional:!0}}}),i("TSImportEqualsDeclaration",{aliases:["Statement","Declaration"],visitor:["id","moduleReference"],fields:Object.assign({},{isExport:(0,n.validate)(o)},{id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)("TSEntityName","TSExternalModuleReference"),importKind:{validate:(0,n.assertOneOf)("type","value"),optional:!0}})}),i("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}}),i("TSNonNullExpression",{aliases:["Expression","LVal","PatternLike"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}}),i("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}}),i("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}}),i("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}}),i("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:(0,n.validateArrayOfType)("TSType")}}),i("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:(0,n.validateArrayOfType)("TSTypeParameter")}}),i("TSTypeParameter",{builder:["constraint","default","name"],visitor:["constraint","default"],fields:{name:{validate:(0,n.assertValueType)("string")},in:{validate:(0,n.assertValueType)("boolean"),optional:!0},out:{validate:(0,n.assertValueType)("boolean"),optional:!0},const:{validate:(0,n.assertValueType)("boolean"),optional:!0},constraint:{validate:(0,n.assertNodeType)("TSType"),optional:!0},default:{validate:(0,n.assertNodeType)("TSType"),optional:!0}}})},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/utils.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.allExpandedTypes=e.VISITOR_KEYS=e.NODE_PARENT_VALIDATIONS=e.NODE_FIELDS=e.FLIPPED_ALIAS_KEYS=e.DEPRECATED_KEYS=e.BUILDER_KEYS=e.ALIAS_KEYS=void 0,e.arrayOf=S,e.arrayOfType=_,e.assertEach=L,e.assertNodeOrValueType=U,e.assertNodeType=k,e.assertOneOf=j,e.assertOptionalChainStart=R,e.assertShape=C,e.assertValueType=z,e.chain=G,e.default=$,e.defineAliasedType=K,e.validate=y,e.validateArrayOfType=A,e.validateOptional=v,e.validateOptionalType=E,e.validateType=x;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/is.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/validate.js");let p=e.VISITOR_KEYS={},i=e.ALIAS_KEYS={},o=e.FLIPPED_ALIAS_KEYS={},h=e.NODE_FIELDS={},d=e.BUILDER_KEYS={},f=e.DEPRECATED_KEYS={},b=e.NODE_PARENT_VALIDATIONS={};function m(W){return Array.isArray(W)?"array":W===null?"null":typeof W}function y(W){return{validate:W}}function x(...W){return y(k(...W))}function v(W){return{validate:W,optional:!0}}function E(...W){return{validate:k(...W),optional:!0}}function S(W){return G(z("array"),L(W))}function _(...W){return S(k(...W))}function A(...W){return y(_(...W))}function L(W){let Z=process.env.BABEL_TYPES_8_BREAKING?c.validateChild:()=>{};function Q(X,ie,oe){if(!Array.isArray(oe))return;let be=0,Ne={toString:()=>`${ie}[${be}]`};for(;be<oe.length;be++){let Pe=oe[be];W(X,Ne,Pe),Z(X,Ne,Pe)}}return Q.each=W,Q}function j(...W){function Z(Q,X,ie){if(!W.includes(ie))throw TypeError(`Property ${X} expected value to be one of ${JSON.stringify(W)} but got ${JSON.stringify(ie)}`)}return Z.oneOf=W,Z}let F=e.allExpandedTypes=[];function k(...W){let Z=new Set;function Q(X,ie,oe){let be=oe==null?void 0:oe.type;if(be!=null){if(Z.has(be))return void(0,c.validateChild)(X,ie,oe);if(be==="Placeholder"){for(let Ne of W)if((0,n.default)(Ne,oe))return void(0,c.validateChild)(X,ie,oe)}}throw TypeError(`Property ${ie} of ${X.type} expected node to be of a type ${JSON.stringify(W)} but instead got ${JSON.stringify(be)}`)}return F.push({types:W,set:Z}),Q.oneOfNodeTypes=W,Q}function U(...W){function Z(Q,X,ie){let oe=m(ie);for(let be of W)if(oe===be||(0,n.default)(be,ie))return void(0,c.validateChild)(Q,X,ie);throw TypeError(`Property ${X} of ${Q.type} expected node to be of a type ${JSON.stringify(W)} but instead got ${JSON.stringify(ie==null?void 0:ie.type)}`)}return Z.oneOfNodeOrValueTypes=W,Z}function z(W){function Z(Q,X,ie){if(m(ie)!==W)throw TypeError(`Property ${X} expected type of ${W} but got ${m(ie)}`)}return Z.type=W,Z}function C(W){let Z=Object.keys(W);function Q(X,ie,oe){let be=[];for(let Ne of Z)try{(0,c.validateField)(X,Ne,oe[Ne],W[Ne])}catch(Pe){if(Pe instanceof TypeError){be.push(Pe.message);continue}throw Pe}if(be.length)throw TypeError(`Property ${ie} of ${X.type} expected to have the following:
|
|
${be.join(`
|
|
`)}`)}return Q.shapeOf=W,Q}function R(){return function(W){var Z;let Q=W;for(;W;){let{type:X}=Q;if(X==="OptionalCallExpression"){if(Q.optional)return;Q=Q.callee;continue}if(X==="OptionalMemberExpression"){if(Q.optional)return;Q=Q.object;continue}break}throw TypeError(`Non-optional ${W.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${(Z=Q)==null?void 0:Z.type}`)}}function G(...W){function Z(...Q){for(let X of W)X(...Q)}if(Z.chainOf=W,W.length>=2&&"type"in W[0]&&W[0].type==="array"&&!("each"in W[1]))throw Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return Z}let V=new Set(["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"]),B=new Set(["default","optional","deprecated","validate"]),q={};function K(...W){return(Z,Q={})=>{let X=Q.aliases;if(!X){var ie;Q.inherits&&(X=(ie=q[Q.inherits].aliases)==null?void 0:ie.slice()),X!=null||(X=[]),Q.aliases=X}let oe=W.filter(be=>!X.includes(be));X.unshift(...oe),$(Z,Q)}}function $(W,Z={}){let Q=Z.inherits&&q[Z.inherits]||{},X=Z.fields;if(!X&&(X={},Q.fields))for(let Ne of Object.getOwnPropertyNames(Q.fields)){let Pe=Q.fields[Ne],Ke=Pe.default;if(Array.isArray(Ke)?Ke.length>0:Ke&&typeof Ke=="object")throw Error("field defaults can only be primitives or empty arrays currently");X[Ne]={default:Array.isArray(Ke)?[]:Ke,optional:Pe.optional,deprecated:Pe.deprecated,validate:Pe.validate}}let ie=Z.visitor||Q.visitor||[],oe=Z.aliases||Q.aliases||[],be=Z.builder||Q.builder||Z.visitor||[];for(let Ne of Object.keys(Z))if(!V.has(Ne))throw Error(`Unknown type option "${Ne}" on ${W}`);for(let Ne of(Z.deprecatedAlias&&(f[Z.deprecatedAlias]=W),ie.concat(be)))X[Ne]=X[Ne]||{};for(let Ne of Object.keys(X)){let Pe=X[Ne];for(let Ke of(Pe.default===void 0||be.includes(Ne)||(Pe.optional=!0),Pe.default===void 0?Pe.default=null:Pe.validate||Pe.default==null||(Pe.validate=z(m(Pe.default))),Object.keys(Pe)))if(!B.has(Ke))throw Error(`Unknown field key "${Ke}" on ${W}.${Ne}`)}p[W]=Z.visitor=ie,d[W]=Z.builder=be,h[W]=Z.fields=X,i[W]=Z.aliases=oe,oe.forEach(Ne=>{o[Ne]=o[Ne]||[],o[Ne].push(W)}),Z.validate&&(b[W]=Z.validate),q[W]=Z}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={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,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getAssignmentIdentifiers:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,getFunctionName:!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(e,"__internal__deprecationWarning",{enumerable:!0,get:function(){return Be.default}}),Object.defineProperty(e,"addComment",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(e,"addComments",{enumerable:!0,get:function(){return L.default}}),Object.defineProperty(e,"appendToMemberExpression",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(e,"assertNode",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"buildMatchMemberExpression",{enumerable:!0,get:function(){return Se.default}}),Object.defineProperty(e,"clone",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(e,"cloneDeep",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(e,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(e,"cloneNode",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(e,"cloneWithoutLoc",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(e,"createFlowUnionType",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"createTSUnionType",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(e,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(e,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(e,"ensureBlock",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(e,"getAssignmentIdentifiers",{enumerable:!0,get:function(){return We.default}}),Object.defineProperty(e,"getBindingIdentifiers",{enumerable:!0,get:function(){return Oe.default}}),Object.defineProperty(e,"getFunctionName",{enumerable:!0,get:function(){return xe.default}}),Object.defineProperty(e,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(e,"inheritInnerComments",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(e,"inheritLeadingComments",{enumerable:!0,get:function(){return F.default}}),Object.defineProperty(e,"inheritTrailingComments",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(e,"inherits",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(e,"inheritsComments",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(e,"is",{enumerable:!0,get:function(){return Te.default}}),Object.defineProperty(e,"isBinding",{enumerable:!0,get:function(){return Ce.default}}),Object.defineProperty(e,"isBlockScoped",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(e,"isImmutable",{enumerable:!0,get:function(){return pe.default}}),Object.defineProperty(e,"isLet",{enumerable:!0,get:function(){return nt.default}}),Object.defineProperty(e,"isNode",{enumerable:!0,get:function(){return ft.default}}),Object.defineProperty(e,"isNodesEquivalent",{enumerable:!0,get:function(){return _t.default}}),Object.defineProperty(e,"isPlaceholderType",{enumerable:!0,get:function(){return Pt.default}}),Object.defineProperty(e,"isReferenced",{enumerable:!0,get:function(){return ht.default}}),Object.defineProperty(e,"isScope",{enumerable:!0,get:function(){return De.default}}),Object.defineProperty(e,"isSpecifierDefault",{enumerable:!0,get:function(){return ze.default}}),Object.defineProperty(e,"isType",{enumerable:!0,get:function(){return Ze.default}}),Object.defineProperty(e,"isValidES3Identifier",{enumerable:!0,get:function(){return tt.default}}),Object.defineProperty(e,"isValidIdentifier",{enumerable:!0,get:function(){return ge.default}}),Object.defineProperty(e,"isVar",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(e,"matchesPattern",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(e,"prependToMemberExpression",{enumerable:!0,get:function(){return be.default}}),e.react=void 0,Object.defineProperty(e,"removeComments",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(e,"removeProperties",{enumerable:!0,get:function(){return Ne.default}}),Object.defineProperty(e,"removePropertiesDeep",{enumerable:!0,get:function(){return Pe.default}}),Object.defineProperty(e,"removeTypeDuplicates",{enumerable:!0,get:function(){return Ke.default}}),Object.defineProperty(e,"shallowEqual",{enumerable:!0,get:function(){return he.default}}),Object.defineProperty(e,"toBindingIdentifierName",{enumerable:!0,get:function(){return V.default}}),Object.defineProperty(e,"toBlock",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(e,"toComputedKey",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(e,"toExpression",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(e,"toIdentifier",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(e,"toKeyAlias",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(e,"toStatement",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(e,"traverse",{enumerable:!0,get:function(){return ye.default}}),Object.defineProperty(e,"traverseFast",{enumerable:!0,get:function(){return ve.default}}),Object.defineProperty(e,"validate",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(e,"valueToNode",{enumerable:!0,get:function(){return Q.default}});var c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/react/isReactComponent.js"),p=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/react/isCompatTag.js"),i=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/react/buildChildren.js"),o=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/asserts/assertNode.js"),h=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/asserts/generated/index.js");Object.keys(h).forEach(function(ce){ce==="default"||ce==="__esModule"||Object.prototype.hasOwnProperty.call(n,ce)||ce in e&&e[ce]===h[ce]||Object.defineProperty(e,ce,{enumerable:!0,get:function(){return h[ce]}})});var d=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/flow/createTypeAnnotationBasedOnTypeof.js"),f=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/flow/createFlowUnionType.js"),b=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/typescript/createTSUnionType.js"),m=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/productions.js");Object.keys(m).forEach(function(ce){ce==="default"||ce==="__esModule"||Object.prototype.hasOwnProperty.call(n,ce)||ce in e&&e[ce]===m[ce]||Object.defineProperty(e,ce,{enumerable:!0,get:function(){return m[ce]}})});var y=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/generated/index.js");Object.keys(y).forEach(function(ce){ce==="default"||ce==="__esModule"||Object.prototype.hasOwnProperty.call(n,ce)||ce in e&&e[ce]===y[ce]||Object.defineProperty(e,ce,{enumerable:!0,get:function(){return y[ce]}})});var x=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/clone/cloneNode.js"),v=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/clone/clone.js"),E=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/clone/cloneDeep.js"),S=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/clone/cloneDeepWithoutLoc.js"),_=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/clone/cloneWithoutLoc.js"),A=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/comments/addComment.js"),L=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/comments/addComments.js"),j=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/comments/inheritInnerComments.js"),F=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/comments/inheritLeadingComments.js"),k=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/comments/inheritsComments.js"),U=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/comments/inheritTrailingComments.js"),z=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/comments/removeComments.js"),C=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/constants/generated/index.js");Object.keys(C).forEach(function(ce){ce==="default"||ce==="__esModule"||Object.prototype.hasOwnProperty.call(n,ce)||ce in e&&e[ce]===C[ce]||Object.defineProperty(e,ce,{enumerable:!0,get:function(){return C[ce]}})});var R=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/constants/index.js");Object.keys(R).forEach(function(ce){ce==="default"||ce==="__esModule"||Object.prototype.hasOwnProperty.call(n,ce)||ce in e&&e[ce]===R[ce]||Object.defineProperty(e,ce,{enumerable:!0,get:function(){return R[ce]}})});var G=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/ensureBlock.js"),V=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/toBindingIdentifierName.js"),B=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/toBlock.js"),q=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/toComputedKey.js"),K=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/toExpression.js"),$=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/toIdentifier.js"),W=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/toKeyAlias.js"),Z=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/toStatement.js"),Q=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/valueToNode.js"),X=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/index.js");Object.keys(X).forEach(function(ce){ce==="default"||ce==="__esModule"||Object.prototype.hasOwnProperty.call(n,ce)||ce in e&&e[ce]===X[ce]||Object.defineProperty(e,ce,{enumerable:!0,get:function(){return X[ce]}})});var ie=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js"),oe=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/modifications/inherits.js"),be=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js"),Ne=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/modifications/removeProperties.js"),Pe=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js"),Ke=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js"),We=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js"),Oe=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js"),de=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js"),xe=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/retrievers/getFunctionName.js"),ye=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/traverse/traverse.js");Object.keys(ye).forEach(function(ce){ce==="default"||ce==="__esModule"||Object.prototype.hasOwnProperty.call(n,ce)||ce in e&&e[ce]===ye[ce]||Object.defineProperty(e,ce,{enumerable:!0,get:function(){return ye[ce]}})});var ve=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/traverse/traverseFast.js"),he=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/utils/shallowEqual.js"),Te=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/is.js"),Ce=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isBinding.js"),se=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isBlockScoped.js"),pe=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isImmutable.js"),nt=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isLet.js"),ft=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isNode.js"),_t=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isNodesEquivalent.js"),Pt=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isPlaceholderType.js"),ht=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isReferenced.js"),De=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isScope.js"),ze=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isSpecifierDefault.js"),Ze=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isType.js"),tt=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isValidES3Identifier.js"),ge=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isValidIdentifier.js"),fe=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isVar.js"),ee=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/matchesPattern.js"),le=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/validate.js"),Se=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js"),Ee=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js");Object.keys(Ee).forEach(function(ce){ce==="default"||ce==="__esModule"||Object.prototype.hasOwnProperty.call(n,ce)||ce in e&&e[ce]===Ee[ce]||Object.defineProperty(e,ce,{enumerable:!0,get:function(){return Ee[ce]}})});var Be=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/utils/deprecationWarning.js"),Qe=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/converters/toSequenceExpression.js");e.react={isReactComponent:c.default,isCompatTag:p.default,buildChildren:i.default},e.toSequenceExpression=Qe.default,process.env.BABEL_TYPES_8_BREAKING&&console.warn("BABEL_TYPES_8_BREAKING is not supported anymore. Use the latest Babel 8.0.0 pre-release instead!")},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/modifications/appendToMemberExpression.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/generated/index.js");function c(p,i,o=!1){return p.object=(0,n.memberExpression)(p.object,p.property,p.computed),p.property=i,p.computed=!!o,p}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/modifications/flow/removeTypeDuplicates.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js");function c(i){return(0,n.isIdentifier)(i)?i.name:`${i.id.name}.${c(i.qualification)}`}function p(i){let o=Array.from(i),h=new Map,d=new Map,f=new Set,b=[];for(let m=0;m<o.length;m++){let y=o[m];if(y&&!b.includes(y)){if((0,n.isAnyTypeAnnotation)(y))return[y];if((0,n.isFlowBaseAnnotation)(y)){d.set(y.type,y);continue}if((0,n.isUnionTypeAnnotation)(y)){f.has(y.types)||(o.push(...y.types),f.add(y.types));continue}if((0,n.isGenericTypeAnnotation)(y)){let x=c(y.id);if(h.has(x)){let v=h.get(x);v.typeParameters?y.typeParameters&&(v.typeParameters.params.push(...y.typeParameters.params),v.typeParameters.params=p(v.typeParameters.params)):v=y.typeParameters}else h.set(x,y);continue}b.push(y)}}for(let[,m]of d)b.push(m);for(let[,m]of h)b.push(m);return b}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/modifications/inherits.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/constants/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/comments/inheritsComments.js");function p(i,o){if(!i||!o)return i;for(let h of n.INHERIT_KEYS.optional)i[h]==null&&(i[h]=o[h]);for(let h of Object.keys(o))h[0]==="_"&&h!=="__clone"&&(i[h]=o[h]);for(let h of n.INHERIT_KEYS.force)i[h]=o[h];return(0,c.default)(i,o),i}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/modifications/prependToMemberExpression.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");function p(i,o){if((0,c.isSuper)(i.object))throw Error("Cannot prepend node to super property access (`super.foo`).");return i.object=(0,n.memberExpression)(o,i.object),i}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/modifications/removeProperties.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/constants/index.js");let c=["tokens","start","end","loc","raw","rawValue"],p=[...n.COMMENT_KEYS,"comments",...c];function i(o,h={}){for(let d of h.preserveComments?c:p)o[d]!=null&&(o[d]=void 0);for(let d of Object.keys(o))d[0]==="_"&&o[d]!=null&&(o[d]=void 0);for(let d of Object.getOwnPropertySymbols(o))o[d]=null}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/modifications/removePropertiesDeep.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/traverse/traverseFast.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/modifications/removeProperties.js");function p(i,o){return(0,n.default)(i,c.default,o),i}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/modifications/typescript/removeTypeDuplicates.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js");function c(i){return(0,n.isIdentifier)(i)?i.name:(0,n.isThisExpression)(i)?"this":`${i.right.name}.${c(i.left)}`}function p(i){let o=Array.from(i),h=new Map,d=new Map,f=new Set,b=[];for(let m=0;m<o.length;m++){let y=o[m];if(!y||b.includes(y))continue;if((0,n.isTSAnyKeyword)(y))return[y];if((0,n.isTSBaseType)(y)){d.set(y.type,y);continue}if((0,n.isTSUnionType)(y)){f.has(y.types)||(o.push(...y.types),f.add(y.types));continue}let x="typeParameters";if((0,n.isTSTypeReference)(y)&&y[x]){let v=y[x],E=c(y.typeName);if(h.has(E)){let S=h.get(E),_=S[x];_?(_.params.push(...v.params),_.params=p(_.params)):S=v}else h.set(E,y);continue}b.push(y)}for(let[,m]of d)b.push(m);for(let[,m]of h)b.push(m);return b}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/retrievers/getAssignmentIdentifiers.js":function(u,e){"use strict";function l(n){let c=[].concat(n),p=Object.create(null);for(;c.length;){let i=c.pop();if(i)switch(i.type){case"ArrayPattern":c.push(...i.elements);break;case"AssignmentExpression":case"AssignmentPattern":case"ForInStatement":case"ForOfStatement":c.push(i.left);break;case"ObjectPattern":c.push(...i.properties);break;case"ObjectProperty":c.push(i.value);break;case"RestElement":case"UpdateExpression":c.push(i.argument);break;case"UnaryExpression":i.operator==="delete"&&c.push(i.argument);break;case"Identifier":p[i.name]=i}}return p}Object.defineProperty(e,"__esModule",{value:!0}),e.default=l},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js");function c(p,i,o,h){let d=[].concat(p),f=Object.create(null);for(;d.length;){let b=d.shift();if(!b||h&&((0,n.isAssignmentExpression)(b)||(0,n.isUnaryExpression)(b)||(0,n.isUpdateExpression)(b)))continue;if((0,n.isIdentifier)(b)){i?(f[b.name]=f[b.name]||[]).push(b):f[b.name]=b;continue}if((0,n.isExportDeclaration)(b)&&!(0,n.isExportAllDeclaration)(b)){(0,n.isDeclaration)(b.declaration)&&d.push(b.declaration);continue}if(o){if((0,n.isFunctionDeclaration)(b)){d.push(b.id);continue}if((0,n.isFunctionExpression)(b))continue}let m=c.keys[b.type];if(m)for(let y=0;y<m.length;y++){let x=b[m[y]];x&&(Array.isArray(x)?d.push(...x):d.push(x))}}return f}c.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"],TSImportEqualsDeclaration:["id"],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.28.4/node_modules/@babel/types/lib/retrievers/getFunctionName.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js");function c(o){return(0,n.isNullLiteral)(o)?"null":(0,n.isRegExpLiteral)(o)?`/${o.pattern}/${o.flags}`:(0,n.isTemplateLiteral)(o)?o.quasis.map(h=>h.value.raw).join(""):o.value!==void 0?String(o.value):null}function p(o){if(!o.computed||(0,n.isLiteral)(o.key))return o.key}function i(o,h){let d;if("id"in o&&o.id)return{name:o.id.name,originalNode:o.id};let f="";if((0,n.isObjectProperty)(h,{value:o})?d=p(h):(0,n.isObjectMethod)(o)||(0,n.isClassMethod)(o)?(d=p(o),o.kind==="get"?f="get ":o.kind==="set"&&(f="set ")):(0,n.isVariableDeclarator)(h,{init:o})?d=h.id:(0,n.isAssignmentExpression)(h,{operator:"=",right:o})&&(d=h.left),!d)return null;let b=(0,n.isLiteral)(d)?c(d):(0,n.isIdentifier)(d)?d.name:(0,n.isPrivateName)(d)?d.id.name:null;return b==null?null:{name:f+b,originalNode:d}}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/retrievers/getOuterBindingIdentifiers.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js");e.default=function(p,i){return(0,n.default)(p,i,!0)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/traverse/traverse.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/index.js");function c(i,o,h){typeof o=="function"&&(o={enter:o});let{enter:d,exit:f}=o;p(i,d,f,h,[])}function p(i,o,h,d,f){let b=n.VISITOR_KEYS[i.type];if(b){for(let m of(o&&o(i,f,d),b)){let y=i[m];if(Array.isArray(y))for(let x=0;x<y.length;x++){let v=y[x];v&&(f.push({node:i,key:m,index:x}),p(v,o,h,d,f),f.pop())}else y&&(f.push({node:i,key:m}),p(y,o,h,d,f),f.pop())}h&&h(i,f,d)}}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/traverse/traverseFast.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/index.js");let c=Symbol(),p=Symbol();function i(o,h,d){if(!o)return!1;let f=n.VISITOR_KEYS[o.type];if(!f)return!1;let b=h(o,d=d||{});if(b!==void 0)switch(b){case c:return!1;case p:return!0}for(let m of f){let y=o[m];if(y){if(Array.isArray(y)){for(let x of y)if(i(x,h,d))return!0}else if(i(y,h,d))return!0}}return!1}i.skip=c,i.stop=p},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/utils/deprecationWarning.js":function(u,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=n;let l=new Set;function n(p,i,o="",h=p){if(l.has(h))return;l.add(h);let{internal:d,trace:f}=c(1,2);d||console.warn(`${o}\`${p}\` has been deprecated, please migrate to \`${i}\`
|
|
${f}`)}function c(p,i){let o,{stackTraceLimit:h,prepareStackTrace:d}=Error;if(Error.stackTraceLimit=1+p+i,Error.prepareStackTrace=function(b,m){o=m},Error().stack,Error.stackTraceLimit=h,Error.prepareStackTrace=d,!o)return{internal:!1,trace:""};let f=o.slice(1+p,1+p+i);return{internal:/[\\/]@babel[\\/]/.test(f[1].getFileName()),trace:f.map(b=>` at ${b}`).join(`
|
|
`)}}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/utils/inherit.js":function(u,e){"use strict";function l(n,c,p){c&&p&&(c[n]=Array.from(new Set([].concat(c[n],p[n]).filter(Boolean))))}Object.defineProperty(e,"__esModule",{value:!0}),e.default=l},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/utils/react/cleanJSXElementLiteralChild.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/builders/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/index.js");function p(i,o){let h=i.value.split(/\r\n|\n|\r/),d=0;for(let b=0;b<h.length;b++)/[^ \t]/.exec(h[b])&&(d=b);let f="";for(let b=0;b<h.length;b++){let m=h[b],y=b===0,x=b===h.length-1,v=b===d,E=m.replace(/\t/g," ");y||(E=E.replace(/^ +/,"")),x||(E=E.replace(/ +$/,"")),E&&(v||(E+=" "),f+=E)}f&&o.push((0,c.inherits)((0,n.stringLiteral)(f),i))}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/utils/shallowEqual.js":function(u,e){"use strict";function l(n,c){for(let p of Object.keys(c))if(n[p]!==c[p])return!1;return!0}Object.defineProperty(e,"__esModule",{value:!0}),e.default=l},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/matchesPattern.js");function c(p,i){let o=p.split(".");return h=>(0,n.default)(h,o,i)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isAccessor=Bp,e.isAnyTypeAnnotation=rt,e.isArgumentPlaceholder=$r,e.isArrayExpression=p,e.isArrayPattern=_t,e.isArrayTypeAnnotation=At,e.isArrowFunctionExpression=Pt,e.isAssignmentExpression=i,e.isAssignmentPattern=ft,e.isAwaitExpression=lr,e.isBigIntLiteral=ar,e.isBinary=ui,e.isBinaryExpression=o,e.isBindExpression=Kr,e.isBlock=da,e.isBlockParent=bs,e.isBlockStatement=b,e.isBooleanLiteral=K,e.isBooleanLiteralTypeAnnotation=$t,e.isBooleanTypeAnnotation=Mt,e.isBreakStatement=m,e.isCallExpression=y,e.isCatchClause=x,e.isClass=Mp,e.isClassAccessorProperty=Tn,e.isClassBody=ht,e.isClassDeclaration=ze,e.isClassExpression=De,e.isClassImplements=qt,e.isClassMethod=$e,e.isClassPrivateMethod=er,e.isClassPrivateProperty=Pn,e.isClassProperty=ln,e.isCompletionStatement=Ae,e.isConditional=Ye,e.isConditionalExpression=v,e.isContinueStatement=E,e.isDebuggerStatement=S,e.isDecimalLiteral=xa,e.isDeclaration=Fp,e.isDeclareClass=pr,e.isDeclareExportAllDeclaration=Fi,e.isDeclareExportDeclaration=Ni,e.isDeclareFunction=xr,e.isDeclareInterface=Hr,e.isDeclareModule=Qr,e.isDeclareModuleExports=Fr,e.isDeclareOpaqueType=Nn,e.isDeclareTypeAlias=Sn,e.isDeclareVariable=zn,e.isDeclaredPredicate=qi,e.isDecorator=Dn,e.isDirective=d,e.isDirectiveLiteral=f,e.isDoExpression=Zn,e.isDoWhileStatement=_,e.isEmptyStatement=A,e.isEmptyTypeAnnotation=vr,e.isEnumBody=cc,e.isEnumBooleanBody=H,e.isEnumBooleanMember=it,e.isEnumDeclaration=I,e.isEnumDefaultedMember=jt,e.isEnumMember=pc,e.isEnumNumberBody=re,e.isEnumNumberMember=ot,e.isEnumStringBody=we,e.isEnumStringMember=mt,e.isEnumSymbolBody=qe,e.isExistsTypeAnnotation=dr,e.isExportAllDeclaration=Ze,e.isExportDeclaration=Tu,e.isExportDefaultDeclaration=tt,e.isExportDefaultSpecifier=Di,e.isExportNamedDeclaration=ge,e.isExportNamespaceSpecifier=yr,e.isExportSpecifier=fe,e.isExpression=wn,e.isExpressionStatement=L,e.isExpressionWrapper=Vt,e.isFile=j,e.isFlow=sc,e.isFlowBaseAnnotation=oc,e.isFlowDeclaration=lc,e.isFlowPredicate=uc,e.isFlowType=ac,e.isFor=Ir,e.isForInStatement=F,e.isForOfStatement=ee,e.isForStatement=k,e.isForXStatement=ti,e.isFunction=es,e.isFunctionDeclaration=U,e.isFunctionExpression=z,e.isFunctionParameter=La,e.isFunctionParent=Ca,e.isFunctionTypeAnnotation=Sr,e.isFunctionTypeParam=wr,e.isGenericTypeAnnotation=gn,e.isIdentifier=C,e.isIfStatement=R,e.isImmutable=vu,e.isImport=xt,e.isImportAttribute=An,e.isImportDeclaration=le,e.isImportDefaultSpecifier=Se,e.isImportExpression=Qe,e.isImportNamespaceSpecifier=Ee,e.isImportOrExportDeclaration=ic,e.isImportSpecifier=Be,e.isIndexedAccessType=Zt,e.isInferredPredicate=vn,e.isInterfaceDeclaration=Rn,e.isInterfaceExtends=Gr,e.isInterfaceTypeAnnotation=Yt,e.isInterpreterDirective=h,e.isIntersectionTypeAnnotation=Qt,e.isJSX=dc,e.isJSXAttribute=Er,e.isJSXClosingElement=rn,e.isJSXClosingFragment=dt,e.isJSXElement=Wn,e.isJSXEmptyExpression=Un,e.isJSXExpressionContainer=Fn,e.isJSXFragment=Xe,e.isJSXIdentifier=Ue,e.isJSXMemberExpression=g,e.isJSXNamespacedName=P,e.isJSXOpeningElement=J,e.isJSXOpeningFragment=lt,e.isJSXSpreadAttribute=ne,e.isJSXSpreadChild=hi,e.isJSXText=Fe,e.isLVal=tc,e.isLabeledStatement=G,e.isLiteral=fl,e.isLogicalExpression=W,e.isLoop=Ge,e.isMemberExpression=Z,e.isMetaProperty=ce,e.isMethod=jp,e.isMiscellaneous=hc,e.isMixedTypeAnnotation=kt,e.isModuleDeclaration=Ie,e.isModuleExpression=ua,e.isModuleSpecifier=Eu,e.isNewExpression=Q,e.isNoop=bt,e.isNullLiteral=q,e.isNullLiteralTypeAnnotation=zt,e.isNullableTypeAnnotation=_r,e.isNumberLiteral=bc,e.isNumberLiteralTypeAnnotation=Xr,e.isNumberTypeAnnotation=Xt,e.isNumericLiteral=B,e.isObjectExpression=ie,e.isObjectMember=Lp,e.isObjectMethod=oe,e.isObjectPattern=et,e.isObjectProperty=be,e.isObjectTypeAnnotation=jr,e.isObjectTypeCallProperty=un,e.isObjectTypeIndexer=xn,e.isObjectTypeInternalSlot=tn,e.isObjectTypeProperty=fn,e.isObjectTypeSpreadProperty=_n,e.isOpaqueType=Ti,e.isOptionalCallExpression=Rr,e.isOptionalIndexedAccessType=Br,e.isOptionalMemberExpression=Pr,e.isParenthesizedExpression=We,e.isPattern=Rp,e.isPatternLike=Bo,e.isPipelineBareFunction=Re,e.isPipelinePrimaryTopicReference=Ve,e.isPipelineTopicExpression=ae,e.isPlaceholder=Lt,e.isPrivate=Up,e.isPrivateName=Yr,e.isProgram=X,e.isProperty=xu,e.isPureish=Np,e.isQualifiedTypeIdentifier=di,e.isRecordExpression=yi,e.isRegExpLiteral=$,e.isRegexLiteral=w,e.isRestElement=Ne,e.isRestProperty=Y,e.isReturnStatement=Pe,e.isScopable=Xn,e.isSequenceExpression=Ke,e.isSpreadElement=ut,e.isSpreadProperty=me,e.isStandardized=nn,e.isStatement=Pa,e.isStaticBlock=gr,e.isStringLiteral=V,e.isStringLiteralTypeAnnotation=an,e.isStringTypeAnnotation=Qn,e.isSuper=Je,e.isSwitchCase=Oe,e.isSwitchStatement=de,e.isSymbolTypeAnnotation=Wi,e.isTSAnyKeyword=xs,e.isTSArrayType=No,e.isTSAsExpression=st,e.isTSBaseType=Ml,e.isTSBigIntKeyword=Ki,e.isTSBooleanKeyword=ca,e.isTSCallSignatureDeclaration=Jr,e.isTSConditionalType=ul,e.isTSConstructSignatureDeclaration=kn,e.isTSConstructorType=Ja,e.isTSDeclareFunction=Bt,e.isTSDeclareMethod=nr,e.isTSEntityName=rc,e.isTSEnumBody=It,e.isTSEnumDeclaration=Jt,e.isTSEnumMember=fr,e.isTSExportAssignment=os,e.isTSExpressionWithTypeArguments=Mo,e.isTSExternalModuleReference=fi,e.isTSFunctionType=Zs,e.isTSImportEqualsDeclaration=$n,e.isTSImportType=mn,e.isTSIndexSignature=vs,e.isTSIndexedAccessType=pl,e.isTSInferType=Lo,e.isTSInstantiationExpression=Me,e.isTSInterfaceBody=te,e.isTSInterfaceDeclaration=D,e.isTSIntersectionType=ho,e.isTSIntrinsicKeyword=Us,e.isTSLiteralType=Ro,e.isTSMappedType=dl,e.isTSMethodSignature=Mi,e.isTSModuleBlock=zr,e.isTSModuleDeclaration=Kt,e.isTSNamedTupleMember=ll,e.isTSNamespaceExportDeclaration=Si,e.isTSNeverKeyword=pn,e.isTSNonNullExpression=zi,e.isTSNullKeyword=Gn,e.isTSNumberKeyword=Ei,e.isTSObjectKeyword=Ii,e.isTSOptionalType=ol,e.isTSParameterProperty=Ct,e.isTSParenthesizedType=cl,e.isTSPropertySignature=ei,e.isTSQualifiedName=Dr,e.isTSRestType=Fo,e.isTSSatisfiesExpression=vt,e.isTSStringKeyword=Xs,e.isTSSymbolKeyword=Ta,e.isTSTemplateLiteralType=hl,e.isTSThisType=Qs,e.isTSTupleType=al,e.isTSType=yc,e.isTSTypeAliasDeclaration=_e,e.isTSTypeAnnotation=Ea,e.isTSTypeAssertion=gt,e.isTSTypeElement=mc,e.isTSTypeLiteral=Oo,e.isTSTypeOperator=fo,e.isTSTypeParameter=Jn,e.isTSTypeParameterDeclaration=Mn,e.isTSTypeParameterInstantiation=qr,e.isTSTypePredicate=il,e.isTSTypeQuery=sl,e.isTSTypeReference=nl,e.isTSUndefinedKeyword=Ys,e.isTSUnionType=jo,e.isTSUnknownKeyword=Fs,e.isTSVoidKeyword=pa,e.isTaggedTemplateExpression=Le,e.isTemplateElement=at,e.isTemplateLiteral=Et,e.isTerminatorless=ke,e.isThisExpression=xe,e.isThisTypeAnnotation=kr,e.isThrowStatement=ye,e.isTopicReference=N,e.isTryStatement=ve,e.isTupleExpression=as,e.isTupleTypeAnnotation=ss,e.isTypeAlias=Qi,e.isTypeAnnotation=$i,e.isTypeCastExpression=Cn,e.isTypeParameter=Js,e.isTypeParameterDeclaration=Ns,e.isTypeParameterInstantiation=Ur,e.isTypeScript=fc,e.isTypeofTypeAnnotation=Vr,e.isUnaryExpression=he,e.isUnaryLike=mo,e.isUnionTypeAnnotation=Zi,e.isUpdateExpression=Te,e.isUserWhitespacable=nc,e.isV8IntrinsicIdentifier=ur,e.isVariableDeclaration=Ce,e.isVariableDeclarator=se,e.isVariance=He,e.isVoidPattern=pt,e.isVoidTypeAnnotation=T,e.isWhile=yt,e.isWhileStatement=pe,e.isWithStatement=nt,e.isYieldExpression=Rt;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/utils/shallowEqual.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/utils/deprecationWarning.js");function p(M,O){return!!M&&M.type==="ArrayExpression"&&(O==null||(0,n.default)(M,O))}function i(M,O){return!!M&&M.type==="AssignmentExpression"&&(O==null||(0,n.default)(M,O))}function o(M,O){return!!M&&M.type==="BinaryExpression"&&(O==null||(0,n.default)(M,O))}function h(M,O){return!!M&&M.type==="InterpreterDirective"&&(O==null||(0,n.default)(M,O))}function d(M,O){return!!M&&M.type==="Directive"&&(O==null||(0,n.default)(M,O))}function f(M,O){return!!M&&M.type==="DirectiveLiteral"&&(O==null||(0,n.default)(M,O))}function b(M,O){return!!M&&M.type==="BlockStatement"&&(O==null||(0,n.default)(M,O))}function m(M,O){return!!M&&M.type==="BreakStatement"&&(O==null||(0,n.default)(M,O))}function y(M,O){return!!M&&M.type==="CallExpression"&&(O==null||(0,n.default)(M,O))}function x(M,O){return!!M&&M.type==="CatchClause"&&(O==null||(0,n.default)(M,O))}function v(M,O){return!!M&&M.type==="ConditionalExpression"&&(O==null||(0,n.default)(M,O))}function E(M,O){return!!M&&M.type==="ContinueStatement"&&(O==null||(0,n.default)(M,O))}function S(M,O){return!!M&&M.type==="DebuggerStatement"&&(O==null||(0,n.default)(M,O))}function _(M,O){return!!M&&M.type==="DoWhileStatement"&&(O==null||(0,n.default)(M,O))}function A(M,O){return!!M&&M.type==="EmptyStatement"&&(O==null||(0,n.default)(M,O))}function L(M,O){return!!M&&M.type==="ExpressionStatement"&&(O==null||(0,n.default)(M,O))}function j(M,O){return!!M&&M.type==="File"&&(O==null||(0,n.default)(M,O))}function F(M,O){return!!M&&M.type==="ForInStatement"&&(O==null||(0,n.default)(M,O))}function k(M,O){return!!M&&M.type==="ForStatement"&&(O==null||(0,n.default)(M,O))}function U(M,O){return!!M&&M.type==="FunctionDeclaration"&&(O==null||(0,n.default)(M,O))}function z(M,O){return!!M&&M.type==="FunctionExpression"&&(O==null||(0,n.default)(M,O))}function C(M,O){return!!M&&M.type==="Identifier"&&(O==null||(0,n.default)(M,O))}function R(M,O){return!!M&&M.type==="IfStatement"&&(O==null||(0,n.default)(M,O))}function G(M,O){return!!M&&M.type==="LabeledStatement"&&(O==null||(0,n.default)(M,O))}function V(M,O){return!!M&&M.type==="StringLiteral"&&(O==null||(0,n.default)(M,O))}function B(M,O){return!!M&&M.type==="NumericLiteral"&&(O==null||(0,n.default)(M,O))}function q(M,O){return!!M&&M.type==="NullLiteral"&&(O==null||(0,n.default)(M,O))}function K(M,O){return!!M&&M.type==="BooleanLiteral"&&(O==null||(0,n.default)(M,O))}function $(M,O){return!!M&&M.type==="RegExpLiteral"&&(O==null||(0,n.default)(M,O))}function W(M,O){return!!M&&M.type==="LogicalExpression"&&(O==null||(0,n.default)(M,O))}function Z(M,O){return!!M&&M.type==="MemberExpression"&&(O==null||(0,n.default)(M,O))}function Q(M,O){return!!M&&M.type==="NewExpression"&&(O==null||(0,n.default)(M,O))}function X(M,O){return!!M&&M.type==="Program"&&(O==null||(0,n.default)(M,O))}function ie(M,O){return!!M&&M.type==="ObjectExpression"&&(O==null||(0,n.default)(M,O))}function oe(M,O){return!!M&&M.type==="ObjectMethod"&&(O==null||(0,n.default)(M,O))}function be(M,O){return!!M&&M.type==="ObjectProperty"&&(O==null||(0,n.default)(M,O))}function Ne(M,O){return!!M&&M.type==="RestElement"&&(O==null||(0,n.default)(M,O))}function Pe(M,O){return!!M&&M.type==="ReturnStatement"&&(O==null||(0,n.default)(M,O))}function Ke(M,O){return!!M&&M.type==="SequenceExpression"&&(O==null||(0,n.default)(M,O))}function We(M,O){return!!M&&M.type==="ParenthesizedExpression"&&(O==null||(0,n.default)(M,O))}function Oe(M,O){return!!M&&M.type==="SwitchCase"&&(O==null||(0,n.default)(M,O))}function de(M,O){return!!M&&M.type==="SwitchStatement"&&(O==null||(0,n.default)(M,O))}function xe(M,O){return!!M&&M.type==="ThisExpression"&&(O==null||(0,n.default)(M,O))}function ye(M,O){return!!M&&M.type==="ThrowStatement"&&(O==null||(0,n.default)(M,O))}function ve(M,O){return!!M&&M.type==="TryStatement"&&(O==null||(0,n.default)(M,O))}function he(M,O){return!!M&&M.type==="UnaryExpression"&&(O==null||(0,n.default)(M,O))}function Te(M,O){return!!M&&M.type==="UpdateExpression"&&(O==null||(0,n.default)(M,O))}function Ce(M,O){return!!M&&M.type==="VariableDeclaration"&&(O==null||(0,n.default)(M,O))}function se(M,O){return!!M&&M.type==="VariableDeclarator"&&(O==null||(0,n.default)(M,O))}function pe(M,O){return!!M&&M.type==="WhileStatement"&&(O==null||(0,n.default)(M,O))}function nt(M,O){return!!M&&M.type==="WithStatement"&&(O==null||(0,n.default)(M,O))}function ft(M,O){return!!M&&M.type==="AssignmentPattern"&&(O==null||(0,n.default)(M,O))}function _t(M,O){return!!M&&M.type==="ArrayPattern"&&(O==null||(0,n.default)(M,O))}function Pt(M,O){return!!M&&M.type==="ArrowFunctionExpression"&&(O==null||(0,n.default)(M,O))}function ht(M,O){return!!M&&M.type==="ClassBody"&&(O==null||(0,n.default)(M,O))}function De(M,O){return!!M&&M.type==="ClassExpression"&&(O==null||(0,n.default)(M,O))}function ze(M,O){return!!M&&M.type==="ClassDeclaration"&&(O==null||(0,n.default)(M,O))}function Ze(M,O){return!!M&&M.type==="ExportAllDeclaration"&&(O==null||(0,n.default)(M,O))}function tt(M,O){return!!M&&M.type==="ExportDefaultDeclaration"&&(O==null||(0,n.default)(M,O))}function ge(M,O){return!!M&&M.type==="ExportNamedDeclaration"&&(O==null||(0,n.default)(M,O))}function fe(M,O){return!!M&&M.type==="ExportSpecifier"&&(O==null||(0,n.default)(M,O))}function ee(M,O){return!!M&&M.type==="ForOfStatement"&&(O==null||(0,n.default)(M,O))}function le(M,O){return!!M&&M.type==="ImportDeclaration"&&(O==null||(0,n.default)(M,O))}function Se(M,O){return!!M&&M.type==="ImportDefaultSpecifier"&&(O==null||(0,n.default)(M,O))}function Ee(M,O){return!!M&&M.type==="ImportNamespaceSpecifier"&&(O==null||(0,n.default)(M,O))}function Be(M,O){return!!M&&M.type==="ImportSpecifier"&&(O==null||(0,n.default)(M,O))}function Qe(M,O){return!!M&&M.type==="ImportExpression"&&(O==null||(0,n.default)(M,O))}function ce(M,O){return!!M&&M.type==="MetaProperty"&&(O==null||(0,n.default)(M,O))}function $e(M,O){return!!M&&M.type==="ClassMethod"&&(O==null||(0,n.default)(M,O))}function et(M,O){return!!M&&M.type==="ObjectPattern"&&(O==null||(0,n.default)(M,O))}function ut(M,O){return!!M&&M.type==="SpreadElement"&&(O==null||(0,n.default)(M,O))}function Je(M,O){return!!M&&M.type==="Super"&&(O==null||(0,n.default)(M,O))}function Le(M,O){return!!M&&M.type==="TaggedTemplateExpression"&&(O==null||(0,n.default)(M,O))}function at(M,O){return!!M&&M.type==="TemplateElement"&&(O==null||(0,n.default)(M,O))}function Et(M,O){return!!M&&M.type==="TemplateLiteral"&&(O==null||(0,n.default)(M,O))}function Rt(M,O){return!!M&&M.type==="YieldExpression"&&(O==null||(0,n.default)(M,O))}function lr(M,O){return!!M&&M.type==="AwaitExpression"&&(O==null||(0,n.default)(M,O))}function xt(M,O){return!!M&&M.type==="Import"&&(O==null||(0,n.default)(M,O))}function ar(M,O){return!!M&&M.type==="BigIntLiteral"&&(O==null||(0,n.default)(M,O))}function yr(M,O){return!!M&&M.type==="ExportNamespaceSpecifier"&&(O==null||(0,n.default)(M,O))}function Pr(M,O){return!!M&&M.type==="OptionalMemberExpression"&&(O==null||(0,n.default)(M,O))}function Rr(M,O){return!!M&&M.type==="OptionalCallExpression"&&(O==null||(0,n.default)(M,O))}function ln(M,O){return!!M&&M.type==="ClassProperty"&&(O==null||(0,n.default)(M,O))}function Tn(M,O){return!!M&&M.type==="ClassAccessorProperty"&&(O==null||(0,n.default)(M,O))}function Pn(M,O){return!!M&&M.type==="ClassPrivateProperty"&&(O==null||(0,n.default)(M,O))}function er(M,O){return!!M&&M.type==="ClassPrivateMethod"&&(O==null||(0,n.default)(M,O))}function Yr(M,O){return!!M&&M.type==="PrivateName"&&(O==null||(0,n.default)(M,O))}function gr(M,O){return!!M&&M.type==="StaticBlock"&&(O==null||(0,n.default)(M,O))}function An(M,O){return!!M&&M.type==="ImportAttribute"&&(O==null||(0,n.default)(M,O))}function rt(M,O){return!!M&&M.type==="AnyTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function At(M,O){return!!M&&M.type==="ArrayTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function Mt(M,O){return!!M&&M.type==="BooleanTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function $t(M,O){return!!M&&M.type==="BooleanLiteralTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function zt(M,O){return!!M&&M.type==="NullLiteralTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function qt(M,O){return!!M&&M.type==="ClassImplements"&&(O==null||(0,n.default)(M,O))}function pr(M,O){return!!M&&M.type==="DeclareClass"&&(O==null||(0,n.default)(M,O))}function xr(M,O){return!!M&&M.type==="DeclareFunction"&&(O==null||(0,n.default)(M,O))}function Hr(M,O){return!!M&&M.type==="DeclareInterface"&&(O==null||(0,n.default)(M,O))}function Qr(M,O){return!!M&&M.type==="DeclareModule"&&(O==null||(0,n.default)(M,O))}function Fr(M,O){return!!M&&M.type==="DeclareModuleExports"&&(O==null||(0,n.default)(M,O))}function Sn(M,O){return!!M&&M.type==="DeclareTypeAlias"&&(O==null||(0,n.default)(M,O))}function Nn(M,O){return!!M&&M.type==="DeclareOpaqueType"&&(O==null||(0,n.default)(M,O))}function zn(M,O){return!!M&&M.type==="DeclareVariable"&&(O==null||(0,n.default)(M,O))}function Ni(M,O){return!!M&&M.type==="DeclareExportDeclaration"&&(O==null||(0,n.default)(M,O))}function Fi(M,O){return!!M&&M.type==="DeclareExportAllDeclaration"&&(O==null||(0,n.default)(M,O))}function qi(M,O){return!!M&&M.type==="DeclaredPredicate"&&(O==null||(0,n.default)(M,O))}function dr(M,O){return!!M&&M.type==="ExistsTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function Sr(M,O){return!!M&&M.type==="FunctionTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function wr(M,O){return!!M&&M.type==="FunctionTypeParam"&&(O==null||(0,n.default)(M,O))}function gn(M,O){return!!M&&M.type==="GenericTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function vn(M,O){return!!M&&M.type==="InferredPredicate"&&(O==null||(0,n.default)(M,O))}function Gr(M,O){return!!M&&M.type==="InterfaceExtends"&&(O==null||(0,n.default)(M,O))}function Rn(M,O){return!!M&&M.type==="InterfaceDeclaration"&&(O==null||(0,n.default)(M,O))}function Yt(M,O){return!!M&&M.type==="InterfaceTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function Qt(M,O){return!!M&&M.type==="IntersectionTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function kt(M,O){return!!M&&M.type==="MixedTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function vr(M,O){return!!M&&M.type==="EmptyTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function _r(M,O){return!!M&&M.type==="NullableTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function Xr(M,O){return!!M&&M.type==="NumberLiteralTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function Xt(M,O){return!!M&&M.type==="NumberTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function jr(M,O){return!!M&&M.type==="ObjectTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function tn(M,O){return!!M&&M.type==="ObjectTypeInternalSlot"&&(O==null||(0,n.default)(M,O))}function un(M,O){return!!M&&M.type==="ObjectTypeCallProperty"&&(O==null||(0,n.default)(M,O))}function xn(M,O){return!!M&&M.type==="ObjectTypeIndexer"&&(O==null||(0,n.default)(M,O))}function fn(M,O){return!!M&&M.type==="ObjectTypeProperty"&&(O==null||(0,n.default)(M,O))}function _n(M,O){return!!M&&M.type==="ObjectTypeSpreadProperty"&&(O==null||(0,n.default)(M,O))}function Ti(M,O){return!!M&&M.type==="OpaqueType"&&(O==null||(0,n.default)(M,O))}function di(M,O){return!!M&&M.type==="QualifiedTypeIdentifier"&&(O==null||(0,n.default)(M,O))}function an(M,O){return!!M&&M.type==="StringLiteralTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function Qn(M,O){return!!M&&M.type==="StringTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function Wi(M,O){return!!M&&M.type==="SymbolTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function kr(M,O){return!!M&&M.type==="ThisTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function ss(M,O){return!!M&&M.type==="TupleTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function Vr(M,O){return!!M&&M.type==="TypeofTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function Qi(M,O){return!!M&&M.type==="TypeAlias"&&(O==null||(0,n.default)(M,O))}function $i(M,O){return!!M&&M.type==="TypeAnnotation"&&(O==null||(0,n.default)(M,O))}function Cn(M,O){return!!M&&M.type==="TypeCastExpression"&&(O==null||(0,n.default)(M,O))}function Js(M,O){return!!M&&M.type==="TypeParameter"&&(O==null||(0,n.default)(M,O))}function Ns(M,O){return!!M&&M.type==="TypeParameterDeclaration"&&(O==null||(0,n.default)(M,O))}function Ur(M,O){return!!M&&M.type==="TypeParameterInstantiation"&&(O==null||(0,n.default)(M,O))}function Zi(M,O){return!!M&&M.type==="UnionTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function He(M,O){return!!M&&M.type==="Variance"&&(O==null||(0,n.default)(M,O))}function T(M,O){return!!M&&M.type==="VoidTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function I(M,O){return!!M&&M.type==="EnumDeclaration"&&(O==null||(0,n.default)(M,O))}function H(M,O){return!!M&&M.type==="EnumBooleanBody"&&(O==null||(0,n.default)(M,O))}function re(M,O){return!!M&&M.type==="EnumNumberBody"&&(O==null||(0,n.default)(M,O))}function we(M,O){return!!M&&M.type==="EnumStringBody"&&(O==null||(0,n.default)(M,O))}function qe(M,O){return!!M&&M.type==="EnumSymbolBody"&&(O==null||(0,n.default)(M,O))}function it(M,O){return!!M&&M.type==="EnumBooleanMember"&&(O==null||(0,n.default)(M,O))}function ot(M,O){return!!M&&M.type==="EnumNumberMember"&&(O==null||(0,n.default)(M,O))}function mt(M,O){return!!M&&M.type==="EnumStringMember"&&(O==null||(0,n.default)(M,O))}function jt(M,O){return!!M&&M.type==="EnumDefaultedMember"&&(O==null||(0,n.default)(M,O))}function Zt(M,O){return!!M&&M.type==="IndexedAccessType"&&(O==null||(0,n.default)(M,O))}function Br(M,O){return!!M&&M.type==="OptionalIndexedAccessType"&&(O==null||(0,n.default)(M,O))}function Er(M,O){return!!M&&M.type==="JSXAttribute"&&(O==null||(0,n.default)(M,O))}function rn(M,O){return!!M&&M.type==="JSXClosingElement"&&(O==null||(0,n.default)(M,O))}function Wn(M,O){return!!M&&M.type==="JSXElement"&&(O==null||(0,n.default)(M,O))}function Un(M,O){return!!M&&M.type==="JSXEmptyExpression"&&(O==null||(0,n.default)(M,O))}function Fn(M,O){return!!M&&M.type==="JSXExpressionContainer"&&(O==null||(0,n.default)(M,O))}function hi(M,O){return!!M&&M.type==="JSXSpreadChild"&&(O==null||(0,n.default)(M,O))}function Ue(M,O){return!!M&&M.type==="JSXIdentifier"&&(O==null||(0,n.default)(M,O))}function g(M,O){return!!M&&M.type==="JSXMemberExpression"&&(O==null||(0,n.default)(M,O))}function P(M,O){return!!M&&M.type==="JSXNamespacedName"&&(O==null||(0,n.default)(M,O))}function J(M,O){return!!M&&M.type==="JSXOpeningElement"&&(O==null||(0,n.default)(M,O))}function ne(M,O){return!!M&&M.type==="JSXSpreadAttribute"&&(O==null||(0,n.default)(M,O))}function Fe(M,O){return!!M&&M.type==="JSXText"&&(O==null||(0,n.default)(M,O))}function Xe(M,O){return!!M&&M.type==="JSXFragment"&&(O==null||(0,n.default)(M,O))}function lt(M,O){return!!M&&M.type==="JSXOpeningFragment"&&(O==null||(0,n.default)(M,O))}function dt(M,O){return!!M&&M.type==="JSXClosingFragment"&&(O==null||(0,n.default)(M,O))}function bt(M,O){return!!M&&M.type==="Noop"&&(O==null||(0,n.default)(M,O))}function Lt(M,O){return!!M&&M.type==="Placeholder"&&(O==null||(0,n.default)(M,O))}function ur(M,O){return!!M&&M.type==="V8IntrinsicIdentifier"&&(O==null||(0,n.default)(M,O))}function $r(M,O){return!!M&&M.type==="ArgumentPlaceholder"&&(O==null||(0,n.default)(M,O))}function Kr(M,O){return!!M&&M.type==="BindExpression"&&(O==null||(0,n.default)(M,O))}function Dn(M,O){return!!M&&M.type==="Decorator"&&(O==null||(0,n.default)(M,O))}function Zn(M,O){return!!M&&M.type==="DoExpression"&&(O==null||(0,n.default)(M,O))}function Di(M,O){return!!M&&M.type==="ExportDefaultSpecifier"&&(O==null||(0,n.default)(M,O))}function yi(M,O){return!!M&&M.type==="RecordExpression"&&(O==null||(0,n.default)(M,O))}function as(M,O){return!!M&&M.type==="TupleExpression"&&(O==null||(0,n.default)(M,O))}function xa(M,O){return!!M&&M.type==="DecimalLiteral"&&(O==null||(0,n.default)(M,O))}function ua(M,O){return!!M&&M.type==="ModuleExpression"&&(O==null||(0,n.default)(M,O))}function N(M,O){return!!M&&M.type==="TopicReference"&&(O==null||(0,n.default)(M,O))}function ae(M,O){return!!M&&M.type==="PipelineTopicExpression"&&(O==null||(0,n.default)(M,O))}function Re(M,O){return!!M&&M.type==="PipelineBareFunction"&&(O==null||(0,n.default)(M,O))}function Ve(M,O){return!!M&&M.type==="PipelinePrimaryTopicReference"&&(O==null||(0,n.default)(M,O))}function pt(M,O){return!!M&&M.type==="VoidPattern"&&(O==null||(0,n.default)(M,O))}function Ct(M,O){return!!M&&M.type==="TSParameterProperty"&&(O==null||(0,n.default)(M,O))}function Bt(M,O){return!!M&&M.type==="TSDeclareFunction"&&(O==null||(0,n.default)(M,O))}function nr(M,O){return!!M&&M.type==="TSDeclareMethod"&&(O==null||(0,n.default)(M,O))}function Dr(M,O){return!!M&&M.type==="TSQualifiedName"&&(O==null||(0,n.default)(M,O))}function Jr(M,O){return!!M&&M.type==="TSCallSignatureDeclaration"&&(O==null||(0,n.default)(M,O))}function kn(M,O){return!!M&&M.type==="TSConstructSignatureDeclaration"&&(O==null||(0,n.default)(M,O))}function ei(M,O){return!!M&&M.type==="TSPropertySignature"&&(O==null||(0,n.default)(M,O))}function Mi(M,O){return!!M&&M.type==="TSMethodSignature"&&(O==null||(0,n.default)(M,O))}function vs(M,O){return!!M&&M.type==="TSIndexSignature"&&(O==null||(0,n.default)(M,O))}function xs(M,O){return!!M&&M.type==="TSAnyKeyword"&&(O==null||(0,n.default)(M,O))}function ca(M,O){return!!M&&M.type==="TSBooleanKeyword"&&(O==null||(0,n.default)(M,O))}function Ki(M,O){return!!M&&M.type==="TSBigIntKeyword"&&(O==null||(0,n.default)(M,O))}function Us(M,O){return!!M&&M.type==="TSIntrinsicKeyword"&&(O==null||(0,n.default)(M,O))}function pn(M,O){return!!M&&M.type==="TSNeverKeyword"&&(O==null||(0,n.default)(M,O))}function Gn(M,O){return!!M&&M.type==="TSNullKeyword"&&(O==null||(0,n.default)(M,O))}function Ei(M,O){return!!M&&M.type==="TSNumberKeyword"&&(O==null||(0,n.default)(M,O))}function Ii(M,O){return!!M&&M.type==="TSObjectKeyword"&&(O==null||(0,n.default)(M,O))}function Xs(M,O){return!!M&&M.type==="TSStringKeyword"&&(O==null||(0,n.default)(M,O))}function Ta(M,O){return!!M&&M.type==="TSSymbolKeyword"&&(O==null||(0,n.default)(M,O))}function Ys(M,O){return!!M&&M.type==="TSUndefinedKeyword"&&(O==null||(0,n.default)(M,O))}function Fs(M,O){return!!M&&M.type==="TSUnknownKeyword"&&(O==null||(0,n.default)(M,O))}function pa(M,O){return!!M&&M.type==="TSVoidKeyword"&&(O==null||(0,n.default)(M,O))}function Qs(M,O){return!!M&&M.type==="TSThisType"&&(O==null||(0,n.default)(M,O))}function Zs(M,O){return!!M&&M.type==="TSFunctionType"&&(O==null||(0,n.default)(M,O))}function Ja(M,O){return!!M&&M.type==="TSConstructorType"&&(O==null||(0,n.default)(M,O))}function nl(M,O){return!!M&&M.type==="TSTypeReference"&&(O==null||(0,n.default)(M,O))}function il(M,O){return!!M&&M.type==="TSTypePredicate"&&(O==null||(0,n.default)(M,O))}function sl(M,O){return!!M&&M.type==="TSTypeQuery"&&(O==null||(0,n.default)(M,O))}function Oo(M,O){return!!M&&M.type==="TSTypeLiteral"&&(O==null||(0,n.default)(M,O))}function No(M,O){return!!M&&M.type==="TSArrayType"&&(O==null||(0,n.default)(M,O))}function al(M,O){return!!M&&M.type==="TSTupleType"&&(O==null||(0,n.default)(M,O))}function ol(M,O){return!!M&&M.type==="TSOptionalType"&&(O==null||(0,n.default)(M,O))}function Fo(M,O){return!!M&&M.type==="TSRestType"&&(O==null||(0,n.default)(M,O))}function ll(M,O){return!!M&&M.type==="TSNamedTupleMember"&&(O==null||(0,n.default)(M,O))}function jo(M,O){return!!M&&M.type==="TSUnionType"&&(O==null||(0,n.default)(M,O))}function ho(M,O){return!!M&&M.type==="TSIntersectionType"&&(O==null||(0,n.default)(M,O))}function ul(M,O){return!!M&&M.type==="TSConditionalType"&&(O==null||(0,n.default)(M,O))}function Lo(M,O){return!!M&&M.type==="TSInferType"&&(O==null||(0,n.default)(M,O))}function cl(M,O){return!!M&&M.type==="TSParenthesizedType"&&(O==null||(0,n.default)(M,O))}function fo(M,O){return!!M&&M.type==="TSTypeOperator"&&(O==null||(0,n.default)(M,O))}function pl(M,O){return!!M&&M.type==="TSIndexedAccessType"&&(O==null||(0,n.default)(M,O))}function dl(M,O){return!!M&&M.type==="TSMappedType"&&(O==null||(0,n.default)(M,O))}function hl(M,O){return!!M&&M.type==="TSTemplateLiteralType"&&(O==null||(0,n.default)(M,O))}function Ro(M,O){return!!M&&M.type==="TSLiteralType"&&(O==null||(0,n.default)(M,O))}function Mo(M,O){return!!M&&M.type==="TSExpressionWithTypeArguments"&&(O==null||(0,n.default)(M,O))}function D(M,O){return!!M&&M.type==="TSInterfaceDeclaration"&&(O==null||(0,n.default)(M,O))}function te(M,O){return!!M&&M.type==="TSInterfaceBody"&&(O==null||(0,n.default)(M,O))}function _e(M,O){return!!M&&M.type==="TSTypeAliasDeclaration"&&(O==null||(0,n.default)(M,O))}function Me(M,O){return!!M&&M.type==="TSInstantiationExpression"&&(O==null||(0,n.default)(M,O))}function st(M,O){return!!M&&M.type==="TSAsExpression"&&(O==null||(0,n.default)(M,O))}function vt(M,O){return!!M&&M.type==="TSSatisfiesExpression"&&(O==null||(0,n.default)(M,O))}function gt(M,O){return!!M&&M.type==="TSTypeAssertion"&&(O==null||(0,n.default)(M,O))}function It(M,O){return!!M&&M.type==="TSEnumBody"&&(O==null||(0,n.default)(M,O))}function Jt(M,O){return!!M&&M.type==="TSEnumDeclaration"&&(O==null||(0,n.default)(M,O))}function fr(M,O){return!!M&&M.type==="TSEnumMember"&&(O==null||(0,n.default)(M,O))}function Kt(M,O){return!!M&&M.type==="TSModuleDeclaration"&&(O==null||(0,n.default)(M,O))}function zr(M,O){return!!M&&M.type==="TSModuleBlock"&&(O==null||(0,n.default)(M,O))}function mn(M,O){return!!M&&M.type==="TSImportType"&&(O==null||(0,n.default)(M,O))}function $n(M,O){return!!M&&M.type==="TSImportEqualsDeclaration"&&(O==null||(0,n.default)(M,O))}function fi(M,O){return!!M&&M.type==="TSExternalModuleReference"&&(O==null||(0,n.default)(M,O))}function zi(M,O){return!!M&&M.type==="TSNonNullExpression"&&(O==null||(0,n.default)(M,O))}function os(M,O){return!!M&&M.type==="TSExportAssignment"&&(O==null||(0,n.default)(M,O))}function Si(M,O){return!!M&&M.type==="TSNamespaceExportDeclaration"&&(O==null||(0,n.default)(M,O))}function Ea(M,O){return!!M&&M.type==="TSTypeAnnotation"&&(O==null||(0,n.default)(M,O))}function qr(M,O){return!!M&&M.type==="TSTypeParameterInstantiation"&&(O==null||(0,n.default)(M,O))}function Mn(M,O){return!!M&&M.type==="TSTypeParameterDeclaration"&&(O==null||(0,n.default)(M,O))}function Jn(M,O){return!!M&&M.type==="TSTypeParameter"&&(O==null||(0,n.default)(M,O))}function nn(M,O){if(!M)return!1;switch(M.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"ImportExpression":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":case"ImportAttribute":break;case"Placeholder":switch(M.expectedNode){case"Identifier":case"StringLiteral":case"BlockStatement":case"ClassBody":break;default:return!1}break;default:return!1}return O==null||(0,n.default)(M,O)}function wn(M,O){if(!M)return!1;switch(M.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"ImportExpression":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(M.expectedNode){case"Expression":case"Identifier":case"StringLiteral":break;default:return!1}break;default:return!1}return O==null||(0,n.default)(M,O)}function ui(M,O){if(!M)return!1;switch(M.type){case"BinaryExpression":case"LogicalExpression":break;default:return!1}return O==null||(0,n.default)(M,O)}function Xn(M,O){if(!M)return!1;switch(M.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(M.expectedNode==="BlockStatement")break;default:return!1}return O==null||(0,n.default)(M,O)}function bs(M,O){if(!M)return!1;switch(M.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(M.expectedNode==="BlockStatement")break;default:return!1}return O==null||(0,n.default)(M,O)}function da(M,O){if(!M)return!1;switch(M.type){case"BlockStatement":case"Program":case"TSModuleBlock":break;case"Placeholder":if(M.expectedNode==="BlockStatement")break;default:return!1}return O==null||(0,n.default)(M,O)}function Pa(M,O){if(!M)return!1;switch(M.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(M.expectedNode){case"Statement":case"Declaration":case"BlockStatement":break;default:return!1}break;default:return!1}return O==null||(0,n.default)(M,O)}function ke(M,O){if(!M)return!1;switch(M.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":case"YieldExpression":case"AwaitExpression":break;default:return!1}return O==null||(0,n.default)(M,O)}function Ae(M,O){if(!M)return!1;switch(M.type){case"BreakStatement":case"ContinueStatement":case"ReturnStatement":case"ThrowStatement":break;default:return!1}return O==null||(0,n.default)(M,O)}function Ye(M,O){if(!M)return!1;switch(M.type){case"ConditionalExpression":case"IfStatement":break;default:return!1}return O==null||(0,n.default)(M,O)}function Ge(M,O){if(!M)return!1;switch(M.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":case"ForOfStatement":break;default:return!1}return O==null||(0,n.default)(M,O)}function yt(M,O){if(!M)return!1;switch(M.type){case"DoWhileStatement":case"WhileStatement":break;default:return!1}return O==null||(0,n.default)(M,O)}function Vt(M,O){if(!M)return!1;switch(M.type){case"ExpressionStatement":case"ParenthesizedExpression":case"TypeCastExpression":break;default:return!1}return O==null||(0,n.default)(M,O)}function Ir(M,O){if(!M)return!1;switch(M.type){case"ForInStatement":case"ForStatement":case"ForOfStatement":break;default:return!1}return O==null||(0,n.default)(M,O)}function ti(M,O){if(!M)return!1;switch(M.type){case"ForInStatement":case"ForOfStatement":break;default:return!1}return O==null||(0,n.default)(M,O)}function es(M,O){if(!M)return!1;switch(M.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return O==null||(0,n.default)(M,O)}function Ca(M,O){if(!M)return!1;switch(M.type){case"FunctionDeclaration":case"FunctionExpression":case"ObjectMethod":case"ArrowFunctionExpression":case"ClassMethod":case"ClassPrivateMethod":case"StaticBlock":case"TSModuleBlock":break;default:return!1}return O==null||(0,n.default)(M,O)}function Np(M,O){if(!M)return!1;switch(M.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(M.expectedNode==="StringLiteral")break;default:return!1}return O==null||(0,n.default)(M,O)}function Fp(M,O){if(!M)return!1;switch(M.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":case"TSImportEqualsDeclaration":break;case"Placeholder":if(M.expectedNode==="Declaration")break;default:return!1}return O==null||(0,n.default)(M,O)}function La(M,O){if(!M)return!1;switch(M.type){case"Identifier":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":break;case"Placeholder":if(M.expectedNode==="Identifier")break;default:return!1}return O==null||(0,n.default)(M,O)}function Bo(M,O){if(!M)return!1;switch(M.type){case"Identifier":case"MemberExpression":case"RestElement":case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSNonNullExpression":break;case"Placeholder":switch(M.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return O==null||(0,n.default)(M,O)}function tc(M,O){if(!M)return!1;switch(M.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(M.expectedNode){case"Pattern":case"Identifier":break;default:return!1}break;default:return!1}return O==null||(0,n.default)(M,O)}function rc(M,O){if(!M)return!1;switch(M.type){case"Identifier":case"TSQualifiedName":break;case"Placeholder":if(M.expectedNode==="Identifier")break;default:return!1}return O==null||(0,n.default)(M,O)}function fl(M,O){if(!M)return!1;switch(M.type){case"StringLiteral":case"NumericLiteral":case"NullLiteral":case"BooleanLiteral":case"RegExpLiteral":case"TemplateLiteral":case"BigIntLiteral":case"DecimalLiteral":break;case"Placeholder":if(M.expectedNode==="StringLiteral")break;default:return!1}return O==null||(0,n.default)(M,O)}function vu(M,O){if(!M)return!1;switch(M.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(M.expectedNode==="StringLiteral")break;default:return!1}return O==null||(0,n.default)(M,O)}function nc(M,O){if(!M)return!1;switch(M.type){case"ObjectMethod":case"ObjectProperty":case"ObjectTypeInternalSlot":case"ObjectTypeCallProperty":case"ObjectTypeIndexer":case"ObjectTypeProperty":case"ObjectTypeSpreadProperty":break;default:return!1}return O==null||(0,n.default)(M,O)}function jp(M,O){if(!M)return!1;switch(M.type){case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":break;default:return!1}return O==null||(0,n.default)(M,O)}function Lp(M,O){if(!M)return!1;switch(M.type){case"ObjectMethod":case"ObjectProperty":break;default:return!1}return O==null||(0,n.default)(M,O)}function xu(M,O){if(!M)return!1;switch(M.type){case"ObjectProperty":case"ClassProperty":case"ClassAccessorProperty":case"ClassPrivateProperty":break;default:return!1}return O==null||(0,n.default)(M,O)}function mo(M,O){if(!M)return!1;switch(M.type){case"UnaryExpression":case"SpreadElement":break;default:return!1}return O==null||(0,n.default)(M,O)}function Rp(M,O){if(!M)return!1;switch(M.type){case"AssignmentPattern":case"ArrayPattern":case"ObjectPattern":case"VoidPattern":break;case"Placeholder":if(M.expectedNode==="Pattern")break;default:return!1}return O==null||(0,n.default)(M,O)}function Mp(M,O){if(!M)return!1;switch(M.type){case"ClassExpression":case"ClassDeclaration":break;default:return!1}return O==null||(0,n.default)(M,O)}function ic(M,O){if(!M)return!1;switch(M.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ImportDeclaration":break;default:return!1}return O==null||(0,n.default)(M,O)}function Tu(M,O){if(!M)return!1;switch(M.type){case"ExportAllDeclaration":case"ExportDefaultDeclaration":case"ExportNamedDeclaration":break;default:return!1}return O==null||(0,n.default)(M,O)}function Eu(M,O){if(!M)return!1;switch(M.type){case"ExportSpecifier":case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ExportNamespaceSpecifier":case"ExportDefaultSpecifier":break;default:return!1}return O==null||(0,n.default)(M,O)}function Bp(M,O){return!!M&&M.type==="ClassAccessorProperty"&&(O==null||(0,n.default)(M,O))}function Up(M,O){if(!M)return!1;switch(M.type){case"ClassPrivateProperty":case"ClassPrivateMethod":case"PrivateName":break;default:return!1}return O==null||(0,n.default)(M,O)}function sc(M,O){if(!M)return!1;switch(M.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 O==null||(0,n.default)(M,O)}function ac(M,O){if(!M)return!1;switch(M.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 O==null||(0,n.default)(M,O)}function oc(M,O){if(!M)return!1;switch(M.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 O==null||(0,n.default)(M,O)}function lc(M,O){if(!M)return!1;switch(M.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 O==null||(0,n.default)(M,O)}function uc(M,O){if(!M)return!1;switch(M.type){case"DeclaredPredicate":case"InferredPredicate":break;default:return!1}return O==null||(0,n.default)(M,O)}function cc(M,O){if(!M)return!1;switch(M.type){case"EnumBooleanBody":case"EnumNumberBody":case"EnumStringBody":case"EnumSymbolBody":break;default:return!1}return O==null||(0,n.default)(M,O)}function pc(M,O){if(!M)return!1;switch(M.type){case"EnumBooleanMember":case"EnumNumberMember":case"EnumStringMember":case"EnumDefaultedMember":break;default:return!1}return O==null||(0,n.default)(M,O)}function dc(M,O){if(!M)return!1;switch(M.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 O==null||(0,n.default)(M,O)}function hc(M,O){if(!M)return!1;switch(M.type){case"Noop":case"Placeholder":case"V8IntrinsicIdentifier":break;default:return!1}return O==null||(0,n.default)(M,O)}function fc(M,O){if(!M)return!1;switch(M.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"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSInterfaceDeclaration":case"TSInterfaceBody":case"TSTypeAliasDeclaration":case"TSInstantiationExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"TSTypeAssertion":case"TSEnumBody":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 O==null||(0,n.default)(M,O)}function mc(M,O){if(!M)return!1;switch(M.type){case"TSCallSignatureDeclaration":case"TSConstructSignatureDeclaration":case"TSPropertySignature":case"TSMethodSignature":case"TSIndexSignature":break;default:return!1}return O==null||(0,n.default)(M,O)}function yc(M,O){if(!M)return!1;switch(M.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"TSTemplateLiteralType":case"TSLiteralType":case"TSExpressionWithTypeArguments":case"TSImportType":break;default:return!1}return O==null||(0,n.default)(M,O)}function Ml(M,O){if(!M)return!1;switch(M.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"TSTemplateLiteralType":case"TSLiteralType":break;default:return!1}return O==null||(0,n.default)(M,O)}function bc(M,O){return(0,c.default)("isNumberLiteral","isNumericLiteral"),!!M&&M.type==="NumberLiteral"&&(O==null||(0,n.default)(M,O))}function w(M,O){return(0,c.default)("isRegexLiteral","isRegExpLiteral"),!!M&&M.type==="RegexLiteral"&&(O==null||(0,n.default)(M,O))}function Y(M,O){return(0,c.default)("isRestProperty","isRestElement"),!!M&&M.type==="RestProperty"&&(O==null||(0,n.default)(M,O))}function me(M,O){return(0,c.default)("isSpreadProperty","isSpreadElement"),!!M&&M.type==="SpreadProperty"&&(O==null||(0,n.default)(M,O))}function Ie(M,O){return(0,c.default)("isModuleDeclaration","isImportOrExportDeclaration"),ic(M,O)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/is.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/utils/shallowEqual.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isType.js"),p=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isPlaceholderType.js"),i=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/index.js");function o(h,d,f){return!!d&&((0,c.default)(d.type,h)?f===void 0||(0,n.default)(d,f):!f&&d.type==="Placeholder"&&h in i.FLIPPED_ALIAS_KEYS&&(0,p.default)(d.expectedNode,h))}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isBinding.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/retrievers/getBindingIdentifiers.js");function c(p,i,o){if(o&&p.type==="Identifier"&&i.type==="ObjectProperty"&&o.type==="ObjectExpression")return!1;let h=n.default.keys[i.type];if(h)for(let d=0;d<h.length;d++){let f=i[h[d]];if(Array.isArray(f)){if(f.includes(p))return!0}else if(f===p)return!0}return!1}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isBlockScoped.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isLet.js");function p(i){return(0,n.isFunctionDeclaration)(i)||(0,n.isClassDeclaration)(i)||(0,c.default)(i)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isImmutable.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isType.js"),c=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js");function p(i){return!!((0,n.default)(i.type,"Immutable")||(0,c.isIdentifier)(i)&&i.name==="undefined")||!1}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isLet.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js"),c=Symbol.for("var used to be block scoped");function p(i){return(0,n.isVariableDeclaration)(i)&&(i.kind!=="var"||i[c])}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isNode.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/index.js");function c(p){return!!(p&&n.VISITOR_KEYS[p.type])}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isNodesEquivalent.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/index.js");function c(p,i){if(typeof p!="object"||typeof i!="object"||p==null||i==null)return p===i;if(p.type!==i.type)return!1;let o=Object.keys(n.NODE_FIELDS[p.type]||p.type),h=n.VISITOR_KEYS[p.type];for(let d of o){let f=p[d],b=i[d];if(typeof f!=typeof b)return!1;if(f!=null||b!=null){if(f==null||b==null)return!1;if(Array.isArray(f)){if(!Array.isArray(b)||f.length!==b.length)return!1;for(let m=0;m<f.length;m++)if(!c(f[m],b[m]))return!1;continue}if(typeof f=="object"&&!(h!=null&&h.includes(d))){for(let m of Object.keys(f))if(f[m]!==b[m])return!1;continue}if(!c(f,b))return!1}}return!0}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isPlaceholderType.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/index.js");function c(p,i){if(p===i)return!0;let o=n.PLACEHOLDERS_ALIAS[p];return!!(o!=null&&o.includes(i))}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isReferenced.js":function(u,e){"use strict";function l(n,c,p){switch(c.type){case"MemberExpression":case"OptionalMemberExpression":return c.property===n?!!c.computed:c.object===n;case"JSXMemberExpression":return c.object===n;case"VariableDeclarator":return c.init===n;case"ArrowFunctionExpression":return c.body===n;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 c.key===n?!!c.computed:!1;case"ObjectProperty":return c.key===n?!!c.computed:!p||p.type!=="ObjectPattern";case"ClassProperty":case"ClassAccessorProperty":case"TSPropertySignature":if(c.key===n)return!!c.computed;break;case"ClassPrivateProperty":case"ObjectTypeProperty":return c.key!==n;case"ClassDeclaration":case"ClassExpression":return c.superClass===n;case"AssignmentExpression":case"AssignmentPattern":return c.right===n;case"ExportSpecifier":return p!=null&&p.source?!1:c.local===n;case"TSEnumMember":return c.id!==n}return!0}Object.defineProperty(e,"__esModule",{value:!0}),e.default=l},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isScope.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js");function c(p,i){return!((0,n.isBlockStatement)(p)&&((0,n.isFunction)(i)||(0,n.isCatchClause)(i)))&&(!!((0,n.isPattern)(p)&&((0,n.isFunction)(i)||(0,n.isCatchClause)(i)))||(0,n.isScopable)(p))}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isSpecifierDefault.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js");function c(p){return(0,n.isImportDefaultSpecifier)(p)||(0,n.isIdentifier)(p.imported||p.exported,{name:"default"})}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isType.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/index.js");function c(p,i){if(p===i)return!0;if(p==null||n.ALIAS_KEYS[i])return!1;let o=n.FLIPPED_ALIAS_KEYS[i];return!!(o!=null&&o.includes(p))}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isValidES3Identifier.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isValidIdentifier.js");let c=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"]);function p(i){return(0,n.default)(i)&&!c.has(i)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isValidIdentifier.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c;var n=l("./node_modules/.pnpm/@babel+helper-validator-identifier@7.27.1/node_modules/@babel/helper-validator-identifier/lib/index.js");function c(p,i=!0){return!(typeof p!="string"||i&&((0,n.isKeyword)(p)||(0,n.isStrictReservedWord)(p,!0)))&&(0,n.isIdentifierName)(p)}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/isVar.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js"),c=Symbol.for("var used to be block scoped");function p(i){return(0,n.isVariableDeclaration)(i,{kind:"var"})&&!i[c]}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/matchesPattern.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=p;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/generated/index.js");function c(i){return(0,n.isMemberExpression)(i)||(0,n.isMetaProperty)(i)}function p(i,o,h){let d;if(!c(i))return!1;let f=Array.isArray(o)?o:o.split("."),b=[];for(d=i;c(d);d=(m=d.object)!=null?m:d.meta){var m;b.push(d.property)}if(b.push(d),b.length<f.length||!h&&b.length>f.length)return!1;for(let y=0,x=b.length-1;y<f.length;y++,x--){let v,E=b[x];if((0,n.isIdentifier)(E))v=E.name;else if((0,n.isStringLiteral)(E))v=E.value;else if((0,n.isThisExpression)(E))v="this";else if((0,n.isSuper)(E))v="super";else{if(!(0,n.isPrivateName)(E))return!1;v="#"+E.id.name}if(f[y]!==v)return!1}return!0}},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/react/isCompatTag.js":function(u,e){"use strict";function l(n){return!!n&&/^[a-z]/.test(n)}Object.defineProperty(e,"__esModule",{value:!0}),e.default=l},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/react/isReactComponent.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=(0,l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/buildMatchMemberExpression.js").default)("React.Component")},"./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/validators/validate.js":function(u,e,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=c,e.validateChild=o,e.validateField=i,e.validateInternal=p;var n=l("./node_modules/.pnpm/@babel+types@7.28.4/node_modules/@babel/types/lib/definitions/index.js");function c(h,d,f){if(!h)return;let b=n.NODE_FIELDS[h.type];if(!b)return;let m=b[d];i(h,d,f,m),o(h,d,f)}function p(h,d,f,b,m){if(h!=null&&h.validate&&(!h.optional||b!=null)&&(h.validate(d,f,b),m)){var y;let x=b.type;x!=null&&((y=n.NODE_PARENT_VALIDATIONS[x])==null||y.call(n.NODE_PARENT_VALIDATIONS,d,f,b))}}function i(h,d,f,b){!(b!=null&&b.validate)||b.optional&&f==null||b.validate(h,d,f)}function o(h,d,f){var b;let m=f==null?void 0:f.type;m!=null&&((b=n.NODE_PARENT_VALIDATIONS[m])==null||b.call(n.NODE_PARENT_VALIDATIONS,h,d,f))}},"./node_modules/.pnpm/json5@2.2.3/node_modules/json5/dist/index.mjs":function(u,e,l){"use strict";let n,c,p,i,o,h,d,f,b,m,y,x,v,E;l.r(e),l.d(e,{default:()=>Ke});var S=/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,_=/[\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]/,A=/[\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]/,L=We=>typeof We=="string"&&(We>="a"&&We<="z"||We>="A"&&We<="Z"||We==="$"||We==="_"||_.test(We)),j=We=>typeof We=="string"&&(We>="a"&&We<="z"||We>="A"&&We<="Z"||We>="0"&&We<="9"||We==="$"||We==="_"||We==="\u200C"||We==="\u200D"||A.test(We)),F=We=>typeof We=="string"&&/[0-9]/.test(We),k=We=>typeof We=="string"&&/[0-9A-Fa-f]/.test(We);function U(We,Oe,de){let xe=We[Oe];if(xe!=null&&typeof xe=="object")if(Array.isArray(xe))for(let ye=0;ye<xe.length;ye++){let ve=String(ye),he=U(xe,ve,de);he===void 0?delete xe[ve]:Object.defineProperty(xe,ve,{value:he,writable:!0,enumerable:!0,configurable:!0})}else for(let ye in xe){let ve=U(xe,ye,de);ve===void 0?delete xe[ye]:Object.defineProperty(xe,ye,{value:ve,writable:!0,enumerable:!0,configurable:!0})}return de.call(We,Oe,xe)}function z(){for(m="default",y="",x=!1,v=1;;){E=C();let We=G[m]();if(We)return We}}function C(){if(n[i])return String.fromCodePoint(n.codePointAt(i))}function R(){let We=C();return We===`
|
|
`?(o++,h=0):We?h+=We.length:h++,We&&(i+=We.length),We}let G={default(){let We;switch(E){case" ":case"\v":case"\f":case" ":case"\xA0":case"\uFEFF":case`
|
|
`:case"\r":case"\u2028":case"\u2029":R();return;case"/":R(),m="comment";return;case void 0:return R(),V("eof")}return typeof(We=E)=="string"&&S.test(We)?void R():G[c]()},comment(){switch(E){case"*":R(),m="multiLineComment";return;case"/":R(),m="singleLineComment";return}throw X(R())},multiLineComment(){switch(E){case"*":R(),m="multiLineCommentAsterisk";return;case void 0:throw X(R())}R()},multiLineCommentAsterisk(){switch(E){case"*":R();return;case"/":R(),m="default";return;case void 0:throw X(R())}R(),m="multiLineComment"},singleLineComment(){switch(E){case`
|
|
`:case"\r":case"\u2028":case"\u2029":R(),m="default";return;case void 0:return R(),V("eof")}R()},value(){switch(E){case"{":case"[":return V("punctuator",R());case"n":return R(),B("ull"),V("null",null);case"t":return R(),B("rue"),V("boolean",!0);case"f":return R(),B("alse"),V("boolean",!1);case"-":case"+":R()==="-"&&(v=-1),m="sign";return;case".":y=R(),m="decimalPointLeading";return;case"0":y=R(),m="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":y=R(),m="decimalInteger";return;case"I":return R(),B("nfinity"),V("numeric",1/0);case"N":return R(),B("aN"),V("numeric",NaN);case'"':case"'":x=R()==='"',y="",m="string";return}throw X(R())},identifierNameStartEscape(){if(E!=="u")throw X(R());R();let We=$();switch(We){case"$":case"_":break;default:if(!L(We))throw oe()}y+=We,m="identifierName"},identifierName(){switch(E){case"$":case"_":case"\u200C":case"\u200D":y+=R();return;case"\\":R(),m="identifierNameEscape";return}if(j(E)){y+=R();return}return V("identifier",y)},identifierNameEscape(){if(E!=="u")throw X(R());R();let We=$();switch(We){case"$":case"_":case"\u200C":case"\u200D":break;default:if(!j(We))throw oe()}y+=We,m="identifierName"},sign(){switch(E){case".":y=R(),m="decimalPointLeading";return;case"0":y=R(),m="zero";return;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":y=R(),m="decimalInteger";return;case"I":return R(),B("nfinity"),V("numeric",1/0*v);case"N":return R(),B("aN"),V("numeric",NaN)}throw X(R())},zero(){switch(E){case".":y+=R(),m="decimalPoint";return;case"e":case"E":y+=R(),m="decimalExponent";return;case"x":case"X":y+=R(),m="hexadecimal";return}return V("numeric",0*v)},decimalInteger(){switch(E){case".":y+=R(),m="decimalPoint";return;case"e":case"E":y+=R(),m="decimalExponent";return}if(F(E)){y+=R();return}return V("numeric",v*Number(y))},decimalPointLeading(){if(F(E)){y+=R(),m="decimalFraction";return}throw X(R())},decimalPoint(){switch(E){case"e":case"E":y+=R(),m="decimalExponent";return}if(F(E)){y+=R(),m="decimalFraction";return}return V("numeric",v*Number(y))},decimalFraction(){switch(E){case"e":case"E":y+=R(),m="decimalExponent";return}if(F(E)){y+=R();return}return V("numeric",v*Number(y))},decimalExponent(){switch(E){case"+":case"-":y+=R(),m="decimalExponentSign";return}if(F(E)){y+=R(),m="decimalExponentInteger";return}throw X(R())},decimalExponentSign(){if(F(E)){y+=R(),m="decimalExponentInteger";return}throw X(R())},decimalExponentInteger(){if(F(E)){y+=R();return}return V("numeric",v*Number(y))},hexadecimal(){if(k(E)){y+=R(),m="hexadecimalInteger";return}throw X(R())},hexadecimalInteger(){if(k(E)){y+=R();return}return V("numeric",v*Number(y))},string(){switch(E){case"\\":R(),y+=q();return;case'"':if(x)return R(),V("string",y);y+=R();return;case"'":if(!x)return R(),V("string",y);y+=R();return;case`
|
|
`:case"\r":case void 0:throw X(R());case"\u2028":case"\u2029":be(E)}y+=R()},start(){switch(E){case"{":case"[":return V("punctuator",R())}m="value"},beforePropertyName(){switch(E){case"$":case"_":y=R(),m="identifierName";return;case"\\":R(),m="identifierNameStartEscape";return;case"}":return V("punctuator",R());case'"':case"'":x=R()==='"',m="string";return}if(L(E)){y+=R(),m="identifierName";return}throw X(R())},afterPropertyName(){if(E===":")return V("punctuator",R());throw X(R())},beforePropertyValue(){m="value"},afterPropertyValue(){switch(E){case",":case"}":return V("punctuator",R())}throw X(R())},beforeArrayValue(){if(E==="]")return V("punctuator",R());m="value"},afterArrayValue(){switch(E){case",":case"]":return V("punctuator",R())}throw X(R())},end(){throw X(R())}};function V(We,Oe){return{type:We,value:Oe,line:o,column:h}}function B(We){for(let Oe of We){if(C()!==Oe)throw X(R());R()}}function q(){switch(C()){case"b":return R(),"\b";case"f":return R(),"\f";case"n":return R(),`
|
|
`;case"r":return R(),"\r";case"t":return R()," ";case"v":return R(),"\v";case"0":if(R(),F(C()))throw X(R());return"\0";case"x":return R(),K();case"u":return R(),$();case`
|
|
`:case"\u2028":case"\u2029":return R(),"";case"\r":return R(),C()===`
|
|
`&&R(),"";case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":case void 0:throw X(R())}return R()}function K(){let We="",Oe=C();if(!k(Oe)||(We+=R(),!k(Oe=C())))throw X(R());return String.fromCodePoint(parseInt(We+=R(),16))}function $(){let We="",Oe=4;for(;Oe-- >0;){if(!k(C()))throw X(R());We+=R()}return String.fromCodePoint(parseInt(We,16))}let W={start(){if(d.type==="eof")throw ie();Z()},beforePropertyName(){switch(d.type){case"identifier":case"string":f=d.value,c="afterPropertyName";return;case"punctuator":Q();return;case"eof":throw ie()}},afterPropertyName(){if(d.type==="eof")throw ie();c="beforePropertyValue"},beforePropertyValue(){if(d.type==="eof")throw ie();Z()},beforeArrayValue(){if(d.type==="eof")throw ie();d.type==="punctuator"&&d.value==="]"?Q():Z()},afterPropertyValue(){if(d.type==="eof")throw ie();switch(d.value){case",":c="beforePropertyName";return;case"}":Q()}},afterArrayValue(){if(d.type==="eof")throw ie();switch(d.value){case",":c="beforeArrayValue";return;case"]":Q()}},end(){}};function Z(){let We;switch(d.type){case"punctuator":switch(d.value){case"{":We={};break;case"[":We=[]}break;case"null":case"boolean":case"numeric":case"string":We=d.value}if(b===void 0)b=We;else{let Oe=p[p.length-1];Array.isArray(Oe)?Oe.push(We):Object.defineProperty(Oe,f,{value:We,writable:!0,enumerable:!0,configurable:!0})}if(We!==null&&typeof We=="object")p.push(We),c=Array.isArray(We)?"beforeArrayValue":"beforePropertyName";else{let Oe=p[p.length-1];c=Oe==null?"end":Array.isArray(Oe)?"afterArrayValue":"afterPropertyValue"}}function Q(){p.pop();let We=p[p.length-1];c=We==null?"end":Array.isArray(We)?"afterArrayValue":"afterPropertyValue"}function X(We){return Pe(We===void 0?`JSON5: invalid end of input at ${o}:${h}`:`JSON5: invalid character '${Ne(We)}' at ${o}:${h}`)}function ie(){return Pe(`JSON5: invalid end of input at ${o}:${h}`)}function oe(){return h-=5,Pe(`JSON5: invalid identifier character at ${o}:${h}`)}function be(We){console.warn(`JSON5: '${Ne(We)}' in strings is not valid ECMAScript; consider escaping`)}function Ne(We){let Oe={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(Oe[We])return Oe[We];if(We<" "){let de=We.charCodeAt(0).toString(16);return"\\x"+("00"+de).substring(de.length)}return We}function Pe(We){let Oe=SyntaxError(We);return Oe.lineNumber=o,Oe.columnNumber=h,Oe}let Ke={parse:function(We,Oe){n=String(We),c="start",p=[],i=0,o=1,h=0,d=void 0,f=void 0,b=void 0;do d=z(),W[c]();while(d.type!=="eof");return typeof Oe=="function"?U({"":b},"",Oe):b},stringify:function(We,Oe,de){let xe,ye,ve,he=[],Te="",Ce="";if(Oe==null||typeof Oe!="object"||Array.isArray(Oe)||(de=Oe.space,ve=Oe.quote,Oe=Oe.replacer),typeof Oe=="function")ye=Oe;else if(Array.isArray(Oe))for(let Pt of(xe=[],Oe)){let ht;typeof Pt=="string"?ht=Pt:(typeof Pt=="number"||Pt instanceof String||Pt instanceof Number)&&(ht=String(Pt)),ht!==void 0&&0>xe.indexOf(ht)&&xe.push(ht)}return de instanceof Number?de=Number(de):de instanceof String&&(de=String(de)),typeof de=="number"?de>0&&(de=Math.min(10,Math.floor(de)),Ce=" ".substr(0,de)):typeof de=="string"&&(Ce=de.substr(0,10)),se("",{"":We});function se(Pt,ht){let De=ht[Pt];switch(De!=null&&(typeof De.toJSON5=="function"?De=De.toJSON5(Pt):typeof De.toJSON=="function"&&(De=De.toJSON(Pt))),ye&&(De=ye.call(ht,Pt,De)),De instanceof Number?De=Number(De):De instanceof String?De=String(De):De instanceof Boolean&&(De=De.valueOf()),De){case null:return"null";case!0:return"true";case!1:return"false"}return typeof De=="string"?pe(De,!1):typeof De=="number"?String(De):typeof De=="object"?Array.isArray(De)?_t(De):nt(De):void 0}function pe(Pt){let ht={"'":.1,'"':.2},De={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},ze="";for(let tt=0;tt<Pt.length;tt++){let ge=Pt[tt];switch(ge){case"'":case'"':ht[ge]++,ze+=ge;continue;case"\0":if(F(Pt[tt+1])){ze+="\\x00";continue}}if(De[ge]){ze+=De[ge];continue}if(ge<" "){let fe=ge.charCodeAt(0).toString(16);ze+="\\x"+("00"+fe).substring(fe.length);continue}ze+=ge}let Ze=ve||Object.keys(ht).reduce((tt,ge)=>ht[tt]<ht[ge]?tt:ge);return ze=ze.replace(RegExp(Ze,"g"),De[Ze]),Ze+ze+Ze}function nt(Pt){let ht;if(he.indexOf(Pt)>=0)throw TypeError("Converting circular structure to JSON5");he.push(Pt);let De=Te;Te+=Ce;let ze=xe||Object.keys(Pt),Ze=[];for(let tt of ze){let ge=se(tt,Pt);if(ge!==void 0){let fe=ft(tt)+":";Ce!==""&&(fe+=" "),fe+=ge,Ze.push(fe)}}if(Ze.length===0)ht="{}";else{let tt;if(Ce==="")ht="{"+(tt=Ze.join(","))+"}";else{let ge=`,
|
|
`+Te;tt=Ze.join(ge),ht=`{
|
|
`+Te+tt+`,
|
|
`+De+"}"}}return he.pop(),Te=De,ht}function ft(Pt){if(Pt.length===0)return pe(Pt,!0);let ht=String.fromCodePoint(Pt.codePointAt(0));if(!L(ht))return pe(Pt,!0);for(let De=ht.length;De<Pt.length;De++)if(!j(String.fromCodePoint(Pt.codePointAt(De))))return pe(Pt,!0);return Pt}function _t(Pt){let ht;if(he.indexOf(Pt)>=0)throw TypeError("Converting circular structure to JSON5");he.push(Pt);let De=Te;Te+=Ce;let ze=[];for(let Ze=0;Ze<Pt.length;Ze++){let tt=se(String(Ze),Pt);ze.push(tt!==void 0?tt:"null")}if(ze.length===0)ht="[]";else if(Ce==="")ht="["+ze.join(",")+"]";else{let Ze=`,
|
|
`+Te,tt=ze.join(Ze);ht=`[
|
|
`+Te+tt+`,
|
|
`+De+"]"}return he.pop(),Te=De,ht}}}},"./stubs/babel-codeframe.mjs":function(u,e,l){"use strict";function n(){return""}l.r(e),l.d(e,{codeFrameColumns:()=>n})},"./stubs/helper-compilation-targets.mjs":function(u,e,l){"use strict";function n(){return{}}l.r(e),l.d(e,{default:()=>n})},"./node_modules/.pnpm/@babel+helper-globals@7.28.0/node_modules/@babel/helper-globals/data/builtin-lower.json":function(u){"use strict";u.exports=JSON.parse('["decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","globalThis","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"]')},"./node_modules/.pnpm/@babel+helper-globals@7.28.0/node_modules/@babel/helper-globals/data/builtin-upper.json":function(u){"use strict";u.exports=JSON.parse('["AggregateError","Array","ArrayBuffer","Atomics","BigInt","BigInt64Array","BigUint64Array","Boolean","DataView","Date","Error","EvalError","FinalizationRegistry","Float16Array","Float32Array","Float64Array","Function","Infinity","Int16Array","Int32Array","Int8Array","Intl","Iterator","JSON","Map","Math","NaN","Number","Object","Promise","Proxy","RangeError","ReferenceError","Reflect","RegExp","Set","SharedArrayBuffer","String","Symbol","SyntaxError","TypeError","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray","URIError","WeakMap","WeakRef","WeakSet"]')},"./node_modules/.pnpm/@babel+preset-typescript@7.27.1_@babel+core@7.28.4/node_modules/@babel/preset-typescript/package.json":function(u){"use strict";u.exports=JSON.parse('{"name":"@babel/preset-typescript","version":"7.27.1","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.27.1","@babel/helper-validator-option":"^7.27.1","@babel/plugin-syntax-jsx":"^7.27.1","@babel/plugin-transform-modules-commonjs":"^7.27.1","@babel/plugin-transform-typescript":"^7.27.1"},"peerDependencies":{"@babel/core":"^7.0.0-0"},"devDependencies":{"@babel/core":"^7.27.1","@babel/helper-plugin-test-runner":"^7.27.1"},"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"}')}},r={};function s(u){var e=r[u];if(e!==void 0)return e.exports;var l=r[u]={id:u,loaded:!1,exports:{}};return t[u].call(l.exports,l,l.exports,s),l.loaded=!0,l.exports}s.n=u=>{var e=u&&u.__esModule?()=>u.default:()=>u;return s.d(e,{a:e}),e},s.d=(u,e)=>{for(var l in e)s.o(e,l)&&!s.o(u,l)&&Object.defineProperty(u,l,{enumerable:!0,get:e[l]})},s.o=(u,e)=>Object.prototype.hasOwnProperty.call(u,e),s.r=u=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(u,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(u,"__esModule",{value:!0})},s.nmd=u=>(u.paths=[],u.children||(u.children=[]),u);var a={};(()=>{"use strict";let u,e;s.d(a,{default:()=>ua});var l,n=s("./node_modules/.pnpm/@babel+core@7.28.4/node_modules/@babel/core/lib/index.js"),c=s("./node_modules/.pnpm/@babel+plugin-proposal-decorators@7.28.0_@babel+core@7.28.4/node_modules/@babel/plugin-proposal-decorators/lib/index.js"),p=s("./node_modules/.pnpm/@babel+plugin-syntax-class-properties@7.12.13_@babel+core@7.28.4/node_modules/@babel/plugin-syntax-class-properties/lib/index.js"),i=s("./node_modules/.pnpm/@babel+plugin-syntax-import-assertions@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-syntax-import-assertions/lib/index.js"),o=s("./node_modules/.pnpm/@babel+plugin-syntax-jsx@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-syntax-jsx/lib/index.js"),h=s("./node_modules/.pnpm/@babel+plugin-transform-export-namespace-from@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-transform-export-namespace-from/lib/index.js"),d=s("./node_modules/.pnpm/@babel+plugin-transform-react-jsx@7.27.1_@babel+core@7.28.4/node_modules/@babel/plugin-transform-react-jsx/lib/index.js"),f=s("./node_modules/.pnpm/@babel+plugin-transform-typescript@7.28.0_@babel+core@7.28.4/node_modules/@babel/plugin-transform-typescript/lib/index.js"),b=s("./node_modules/.pnpm/babel-plugin-parameter-decorator@1.0.16/node_modules/babel-plugin-parameter-decorator/lib/index.js"),m=s.n(b),y=s("./node_modules/.pnpm/@babel+helper-plugin-utils@7.27.1/node_modules/@babel/helper-plugin-utils/lib/index.js");function x(N,ae,Re=!1){return n.types.decorator(n.types.functionExpression(null,[n.types.identifier("target"),n.types.identifier("key")],n.types.blockStatement([n.types.returnStatement(n.types.callExpression(ae,[n.types.identifier("target"),n.types.identifier(Re?"undefined":"key"),n.types.numericLiteral(N)]))])))}function v(N,ae){if(ae.type==="ClassMethod"&&ae.node.type==="ClassMethod"&&ae.node.key.type==="Identifier")for(let Re of ae.get("params")||[]){let Ve;if((Re.node.type==="Identifier"||Re.node.type==="ObjectPattern"?Re.node:Re.node.type==="TSParameterProperty"&&Re.node.parameter.type==="Identifier"?Re.node.parameter:null)!=null){for(let pt of Re.node.decorators||[])ae.node.kind==="constructor"?(Ve=x(Re.key,pt.expression,!0),N.node.decorators||(N.node.decorators=[]),N.node.decorators.push(Ve)):(Ve=x(Re.key,pt.expression,!1),ae.node.decorators||(ae.node.decorators=[]),ae.node.decorators.push(Ve));Ve&&(Re.node.decorators=null)}}}function E(){return n.types.unaryExpression("void",n.types.numericLiteral(0))}function S(N){return N==null?null:N.type==="ClassProperty"||N.type==="Identifier"||N.type==="ObjectPattern"?N:N.type==="AssignmentPattern"&&N.left.type==="Identifier"?N.left:N.type==="TSParameterProperty"?S(N.parameter):null}function _(N,ae){let Re=S(ae);if(Re==null||!Re.typeAnnotation||Re.typeAnnotation.type!=="TSTypeAnnotation")return E();let Ve=Re.typeAnnotation.typeAnnotation;return F(N.node.id?N.node.id.name:"",Ve)}function A(N,ae){let Re=j(ae.typeName);return L(N,Re)?n.types.identifier("Object"):n.types.conditionalExpression(n.types.binaryExpression("===",n.types.unaryExpression("typeof",Re),n.types.stringLiteral("undefined")),n.types.identifier("Object"),n.types.cloneDeep(Re))}function L(N,ae){switch(ae.type){case"Identifier":return ae.name===N;case"MemberExpression":return L(N,ae.object);default:throw Error(`The property expression at ${ae.start} is not valid as a Type to be used in Reflect.metadata`)}}function j(N){return N.type==="Identifier"?n.types.identifier(N.name):n.types.memberExpression(j(N.left),N.right)}function F(N,ae){if(ae===void 0)return n.types.identifier("Object");switch(ae.type){case"TSVoidKeyword":case"TSUndefinedKeyword":case"TSNullKeyword":case"TSNeverKeyword":return E();case"TSParenthesizedType":return F(N,ae.typeAnnotation);case"TSFunctionType":case"TSConstructorType":return n.types.identifier("Function");case"TSArrayType":case"TSTupleType":return n.types.identifier("Array");case"TSTypePredicate":case"TSBooleanKeyword":return n.types.identifier("Boolean");case"TSStringKeyword":return n.types.identifier("String");case"TSObjectKeyword":case"TSTypeQuery":case"TSTypeOperator":case"TSIndexedAccessType":case"TSMappedType":case"TSTypeLiteral":case"TSAnyKeyword":case"TSUnknownKeyword":case"TSThisType":break;case"TSLiteralType":switch(ae.literal.type){case"StringLiteral":return n.types.identifier("String");case"NumericLiteral":return n.types.identifier("Number");case"BooleanLiteral":return n.types.identifier("Boolean");default:throw Error("Bad type for decorator"+ae.literal)}case"TSNumberKeyword":case"TSBigIntKeyword":return n.types.identifier("Number");case"TSSymbolKeyword":return n.types.identifier("Symbol");case"TSTypeReference":return A(N,ae);case"TSIntersectionType":case"TSUnionType":return k(N,ae.types);case"TSConditionalType":return k(N,[ae.trueType,ae.falseType]);default:throw Error("Bad type for decorator")}return n.types.identifier("Object")}function k(N,ae){let Re;for(let Ve of ae){for(;Ve.type==="TSParenthesizedType";)Ve=Ve.typeAnnotation;if(Ve.type==="TSNeverKeyword"||Ve.type==="TSNullKeyword"||Ve.type==="TSUndefinedKeyword")continue;let pt=F(N,Ve);if(n.types.isIdentifier(pt)&&pt.name==="Object")return pt;if(Re){if(!n.types.isIdentifier(Re)||!n.types.isIdentifier(pt)||Re.name!==pt.name)return n.types.identifier("Object")}else Re=pt}return Re||E()}function U(N,ae){return n.types.decorator(n.types.logicalExpression("||",n.types.optionalCallExpression(n.types.memberExpression(n.types.identifier("Reflect"),n.types.identifier("metadata")),[n.types.stringLiteral(N),ae],!0),n.types.arrowFunctionExpression([n.types.identifier("t")],n.types.identifier("t"))))}function z(N,ae){let Re=ae.node,Ve=N.node;switch(Re.type){case"ClassMethod":{let pt=Re.kind==="constructor"?Ve.decorators:Re.decorators;if(!pt||pt.length===0)return;pt.push(U("design:type",n.types.identifier("Function"))),pt.push(U("design:paramtypes",n.types.arrayExpression(Re.params.map(Ct=>_(N,Ct)))));break}case"ClassProperty":if(!Re.decorators||Re.decorators.length===0||!Re.typeAnnotation||Re.typeAnnotation.type!=="TSTypeAnnotation")return;Re.decorators.push(U("design:type",_(N,Re)))}}let C=(0,y.declare)(N=>(N.assertVersion(7),{visitor:{Program(ae){ae.traverse({ClassDeclaration(Re){for(let Ve of Re.get("body").get("body"))(Ve.type==="ClassMethod"||Ve.type==="ClassProperty")&&(v(Re,Ve),z(Re,Ve));Re.parentPath.scope.crawl()}})}}}));function R({template:N,types:ae}){return{name:"@import-meta-env/babel",visitor:{Identifier(Re){if(!ae.isIdentifier(Re)||!ae.isMemberExpression(Re.parentPath)&&!ae.isOptionalMemberExpression(Re.parentPath)||!ae.isMemberExpression(Re.parentPath.node))return;let Ve=Re.parentPath.node;if(!ae.isMetaProperty(Ve.object))return;let pt=Ve.object;pt.meta.name==="import"&&pt.property.name==="meta"&&Ve.property.name==="env"&&Re.parentPath.replaceWith(N.expression.ast("process.env"))}}}}function G(N){return{name:"import-meta-resolve",visitor:{Program(ae){let Re=[];if(ae.traverse({MemberExpression(Ve){let{node:pt}=Ve;pt.object.type==="MetaProperty"&&pt.object.meta.name==="import"&&pt.object.property.name==="meta"&&pt.property.type==="Identifier"&&pt.property.name==="resolve"&&Re.push(Ve)}}),Re.length!==0)for(let Ve of Re)Ve.replaceWith({type:"ExpressionStatement",expression:{type:"Identifier",name:"jitiESMResolve"}})}}}}var V=s("./node_modules/.pnpm/@babel+template@7.27.2/node_modules/@babel/template/lib/index.js");let B=/^[A-Za-z]:\//;function q(N=""){return N&&N.replace(/\\/g,"/").replace(B,ae=>ae.toUpperCase())}let K=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,$=/^[A-Za-z]:$/,W=function(N){let ae=q(N).replace(/\/$/,"").split("/").slice(0,-1);return ae.length===1&&$.test(ae[0])&&(ae[0]+="/"),ae.join("/")||(K.test(N)?"/":".")};var Z=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],Q=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,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,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,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,229,29,3,0,496,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,16,621,2467,541,1507,4938,6,4191],X="\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-\u1C8A\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-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\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",ie={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"},oe="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",be={5:oe,"5module":oe+" export import",6:oe+" const class extends export import super"},Ne=/^in(stanceof)?$/,Pe=RegExp("["+X+"]"),Ke=RegExp("["+X+"\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\u0897-\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\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\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\uFF65]");function We(N,ae){for(var Re=65536,Ve=0;Ve<ae.length&&!((Re+=ae[Ve])>N);Ve+=2)if((Re+=ae[Ve+1])>=N)return!0;return!1}function Oe(N,ae){return N<65?N===36:N<91||(N<97?N===95:N<123||(N<=65535?N>=170&&Pe.test(String.fromCharCode(N)):ae!==!1&&We(N,Q)))}function de(N,ae){return N<48?N===36:N<58||!(N<65)&&(N<91||(N<97?N===95:N<123||(N<=65535?N>=170&&Ke.test(String.fromCharCode(N)):ae!==!1&&(We(N,Q)||We(N,Z)))))}var xe=function(N,ae){ae===void 0&&(ae={}),this.label=N,this.keyword=ae.keyword,this.beforeExpr=!!ae.beforeExpr,this.startsExpr=!!ae.startsExpr,this.isLoop=!!ae.isLoop,this.isAssign=!!ae.isAssign,this.prefix=!!ae.prefix,this.postfix=!!ae.postfix,this.binop=ae.binop||null,this.updateContext=null};function ye(N,ae){return new xe(N,{beforeExpr:!0,binop:ae})}var ve={beforeExpr:!0},he={startsExpr:!0},Te={};function Ce(N,ae){return ae===void 0&&(ae={}),ae.keyword=N,Te[N]=new xe(N,ae)}var se={num:new xe("num",he),regexp:new xe("regexp",he),string:new xe("string",he),name:new xe("name",he),privateId:new xe("privateId",he),eof:new xe("eof"),bracketL:new xe("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new xe("]"),braceL:new xe("{",{beforeExpr:!0,startsExpr:!0}),braceR:new xe("}"),parenL:new xe("(",{beforeExpr:!0,startsExpr:!0}),parenR:new xe(")"),comma:new xe(",",ve),semi:new xe(";",ve),colon:new xe(":",ve),dot:new xe("."),question:new xe("?",ve),questionDot:new xe("?."),arrow:new xe("=>",ve),template:new xe("template"),invalidTemplate:new xe("invalidTemplate"),ellipsis:new xe("...",ve),backQuote:new xe("`",he),dollarBraceL:new xe("${",{beforeExpr:!0,startsExpr:!0}),eq:new xe("=",{beforeExpr:!0,isAssign:!0}),assign:new xe("_=",{beforeExpr:!0,isAssign:!0}),incDec:new xe("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new xe("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:ye("||",1),logicalAND:ye("&&",2),bitwiseOR:ye("|",3),bitwiseXOR:ye("^",4),bitwiseAND:ye("&",5),equality:ye("==/!=/===/!==",6),relational:ye("</>/<=/>=",7),bitShift:ye("<</>>/>>>",8),plusMin:new xe("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:ye("%",10),star:ye("*",10),slash:ye("/",10),starstar:new xe("**",{beforeExpr:!0}),coalesce:ye("??",1),_break:Ce("break"),_case:Ce("case",ve),_catch:Ce("catch"),_continue:Ce("continue"),_debugger:Ce("debugger"),_default:Ce("default",ve),_do:Ce("do",{isLoop:!0,beforeExpr:!0}),_else:Ce("else",ve),_finally:Ce("finally"),_for:Ce("for",{isLoop:!0}),_function:Ce("function",he),_if:Ce("if"),_return:Ce("return",ve),_switch:Ce("switch"),_throw:Ce("throw",ve),_try:Ce("try"),_var:Ce("var"),_const:Ce("const"),_while:Ce("while",{isLoop:!0}),_with:Ce("with"),_new:Ce("new",{beforeExpr:!0,startsExpr:!0}),_this:Ce("this",he),_super:Ce("super",he),_class:Ce("class",he),_extends:Ce("extends",ve),_export:Ce("export"),_import:Ce("import",he),_null:Ce("null",he),_true:Ce("true",he),_false:Ce("false",he),_in:Ce("in",{beforeExpr:!0,binop:7}),_instanceof:Ce("instanceof",{beforeExpr:!0,binop:7}),_typeof:Ce("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:Ce("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:Ce("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},pe=/\r\n?|\n|\u2028|\u2029/,nt=RegExp(pe.source,"g");function ft(N){return N===10||N===13||N===8232||N===8233}function _t(N,ae,Re){Re===void 0&&(Re=N.length);for(var Ve=ae;Ve<Re;Ve++){var pt=N.charCodeAt(Ve);if(ft(pt))return Ve<Re-1&&pt===13&&N.charCodeAt(Ve+1)===10?Ve+2:Ve+1}return-1}var Pt=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,ht=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,De=Object.prototype,ze=De.hasOwnProperty,Ze=De.toString,tt=Object.hasOwn||function(N,ae){return ze.call(N,ae)},ge=Array.isArray||function(N){return Ze.call(N)==="[object Array]"},fe=Object.create(null);function ee(N){return fe[N]||(fe[N]=RegExp("^(?:"+N.replace(/ /g,"|")+")$"))}function le(N){return N<=65535?String.fromCharCode(N):String.fromCharCode(((N-=65536)>>10)+55296,(1023&N)+56320)}var Se=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Ee=function(N,ae){this.line=N,this.column=ae};Ee.prototype.offset=function(N){return new Ee(this.line,this.column+N)};var Be=function(N,ae,Re){this.start=ae,this.end=Re,N.sourceFile!==null&&(this.source=N.sourceFile)};function Qe(N,ae){for(var Re=1,Ve=0;;){var pt=_t(N,Ve,ae);if(pt<0)return new Ee(Re,ae-Ve);++Re,Ve=pt}}var ce={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},$e=!1;function et(N){var ae={};for(var Re in ce)ae[Re]=N&&tt(N,Re)?N[Re]:ce[Re];if(ae.ecmaVersion==="latest"?ae.ecmaVersion=1e8:ae.ecmaVersion==null?(!$e&&typeof console=="object"&&console.warn&&($e=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
Defaulting to 2020, but this will stop working in the future.`)),ae.ecmaVersion=11):ae.ecmaVersion>=2015&&(ae.ecmaVersion-=2009),ae.allowReserved==null&&(ae.allowReserved=ae.ecmaVersion<5),N&&N.allowHashBang!=null||(ae.allowHashBang=ae.ecmaVersion>=14),ge(ae.onToken)){var Ve=ae.onToken;ae.onToken=function(pt){return Ve.push(pt)}}return ge(ae.onComment)&&(ae.onComment=ut(ae,ae.onComment)),ae}function ut(N,ae){return function(Re,Ve,pt,Ct,Bt,nr){var Dr={type:Re?"Block":"Line",value:Ve,start:pt,end:Ct};N.locations&&(Dr.loc=new Be(this,Bt,nr)),N.ranges&&(Dr.range=[pt,Ct]),ae.push(Dr)}}function Je(N,ae){return 2|4*!!N|8*!!ae}var Le=function(N,ae,Re){this.options=N=et(N),this.sourceFile=N.sourceFile,this.keywords=ee(be[N.ecmaVersion>=6?6:N.sourceType==="module"?"5module":5]);var Ve="";N.allowReserved!==!0&&(Ve=ie[N.ecmaVersion>=6?6:N.ecmaVersion===5?5:3],N.sourceType==="module"&&(Ve+=" await")),this.reservedWords=ee(Ve);var pt=(Ve?Ve+" ":"")+ie.strict;this.reservedWordsStrict=ee(pt),this.reservedWordsStrictBind=ee(pt+" "+ie.strictBind),this.input=String(ae),this.containsEsc=!1,Re?(this.pos=Re,this.lineStart=this.input.lastIndexOf(`
|
|
`,Re-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(pe).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=se.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=N.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&&N.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},at={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}};Le.prototype.parse=function(){var N=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(N)},at.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},at.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},at.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},at.canAwait.get=function(){for(var N=this.scopeStack.length-1;N>=0;N--){var ae=this.scopeStack[N].flags;if(768&ae)return!1;if(2&ae)return(4&ae)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},at.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0||this.options.allowSuperOutsideMethod},at.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},at.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},at.allowNewDotTarget.get=function(){for(var N=this.scopeStack.length-1;N>=0;N--){var ae=this.scopeStack[N].flags;if(768&ae||2&ae&&!(16&ae))return!0}return!1},at.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},Le.extend=function(){for(var N=[],ae=arguments.length;ae--;)N[ae]=arguments[ae];for(var Re=this,Ve=0;Ve<N.length;Ve++)Re=N[Ve](Re);return Re},Le.parse=function(N,ae){return new this(ae,N).parse()},Le.parseExpressionAt=function(N,ae,Re){var Ve=new this(Re,N,ae);return Ve.nextToken(),Ve.parseExpression()},Le.tokenizer=function(N,ae){return new this(ae,N)},Object.defineProperties(Le.prototype,at);var Et=Le.prototype,Rt=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;Et.strictDirective=function(N){if(this.options.ecmaVersion<5)return!1;for(;;){ht.lastIndex=N,N+=ht.exec(this.input)[0].length;var ae=Rt.exec(this.input.slice(N));if(!ae)return!1;if((ae[1]||ae[2])==="use strict"){ht.lastIndex=N+ae[0].length;var Re=ht.exec(this.input),Ve=Re.index+Re[0].length,pt=this.input.charAt(Ve);return pt===";"||pt==="}"||pe.test(Re[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(pt)||pt==="!"&&this.input.charAt(Ve+1)==="=")}ht.lastIndex=N+=ae[0].length,N+=ht.exec(this.input)[0].length,this.input[N]===";"&&N++}},Et.eat=function(N){return this.type===N&&(this.next(),!0)},Et.isContextual=function(N){return this.type===se.name&&this.value===N&&!this.containsEsc},Et.eatContextual=function(N){return!!this.isContextual(N)&&(this.next(),!0)},Et.expectContextual=function(N){this.eatContextual(N)||this.unexpected()},Et.canInsertSemicolon=function(){return this.type===se.eof||this.type===se.braceR||pe.test(this.input.slice(this.lastTokEnd,this.start))},Et.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},Et.semicolon=function(){this.eat(se.semi)||this.insertSemicolon()||this.unexpected()},Et.afterTrailingComma=function(N,ae){if(this.type===N)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),ae||this.next(),!0},Et.expect=function(N){this.eat(N)||this.unexpected()},Et.unexpected=function(N){this.raise(N??this.start,"Unexpected token")};var lr=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};Et.checkPatternErrors=function(N,ae){if(N){N.trailingComma>-1&&this.raiseRecoverable(N.trailingComma,"Comma is not permitted after the rest element");var Re=ae?N.parenthesizedAssign:N.parenthesizedBind;Re>-1&&this.raiseRecoverable(Re,ae?"Assigning to rvalue":"Parenthesized pattern")}},Et.checkExpressionErrors=function(N,ae){if(!N)return!1;var Re=N.shorthandAssign,Ve=N.doubleProto;if(!ae)return Re>=0||Ve>=0;Re>=0&&this.raise(Re,"Shorthand property assignments are valid only in destructuring patterns"),Ve>=0&&this.raiseRecoverable(Ve,"Redefinition of __proto__ property")},Et.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")},Et.isSimpleAssignTarget=function(N){return N.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(N.expression):N.type==="Identifier"||N.type==="MemberExpression"};var xt=Le.prototype;xt.parseTopLevel=function(N){var ae=Object.create(null);for(N.body||(N.body=[]);this.type!==se.eof;){var Re=this.parseStatement(null,!0,ae);N.body.push(Re)}if(this.inModule)for(var Ve=0,pt=Object.keys(this.undefinedExports);Ve<pt.length;Ve+=1){var Ct=pt[Ve];this.raiseRecoverable(this.undefinedExports[Ct].start,"Export '"+Ct+"' is not defined")}return this.adaptDirectivePrologue(N.body),this.next(),N.sourceType=this.options.sourceType,this.finishNode(N,"Program")};var ar={kind:"loop"},yr={kind:"switch"};xt.isLet=function(N){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;ht.lastIndex=this.pos;var ae=ht.exec(this.input),Re=this.pos+ae[0].length,Ve=this.input.charCodeAt(Re);if(Ve===91||Ve===92)return!0;if(N)return!1;if(Ve===123||Ve>55295&&Ve<56320)return!0;if(Oe(Ve,!0)){for(var pt=Re+1;de(Ve=this.input.charCodeAt(pt),!0);)++pt;if(Ve===92||Ve>55295&&Ve<56320)return!0;var Ct=this.input.slice(Re,pt);if(!Ne.test(Ct))return!0}return!1},xt.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;ht.lastIndex=this.pos;var N,ae=ht.exec(this.input),Re=this.pos+ae[0].length;return!pe.test(this.input.slice(this.pos,Re))&&this.input.slice(Re,Re+8)==="function"&&(Re+8===this.input.length||!(de(N=this.input.charCodeAt(Re+8))||N>55295&&N<56320))},xt.isUsingKeyword=function(N,ae){if(this.options.ecmaVersion<17||!this.isContextual(N?"await":"using"))return!1;ht.lastIndex=this.pos;var Re=ht.exec(this.input),Ve=this.pos+Re[0].length;if(pe.test(this.input.slice(this.pos,Ve)))return!1;if(N){var pt,Ct=Ve+5;if(this.input.slice(Ve,Ct)!=="using"||Ct===this.input.length||de(pt=this.input.charCodeAt(Ct))||pt>55295&&pt<56320)return!1;ht.lastIndex=Ct;var Bt=ht.exec(this.input);if(Bt&&pe.test(this.input.slice(Ct,Ct+Bt[0].length)))return!1}if(ae){var nr,Dr=Ve+2;if(this.input.slice(Ve,Dr)==="of"&&(Dr===this.input.length||!de(nr=this.input.charCodeAt(Dr))&&!(nr>55295&&nr<56320)))return!1}var Jr=this.input.charCodeAt(Ve);return Oe(Jr,!0)||Jr===92},xt.isAwaitUsing=function(N){return this.isUsingKeyword(!0,N)},xt.isUsing=function(N){return this.isUsingKeyword(!1,N)},xt.parseStatement=function(N,ae,Re){var Ve,pt=this.type,Ct=this.startNode();switch(this.isLet(N)&&(pt=se._var,Ve="let"),pt){case se._break:case se._continue:return this.parseBreakContinueStatement(Ct,pt.keyword);case se._debugger:return this.parseDebuggerStatement(Ct);case se._do:return this.parseDoStatement(Ct);case se._for:return this.parseForStatement(Ct);case se._function:return N&&(this.strict||N!=="if"&&N!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(Ct,!1,!N);case se._class:return N&&this.unexpected(),this.parseClass(Ct,!0);case se._if:return this.parseIfStatement(Ct);case se._return:return this.parseReturnStatement(Ct);case se._switch:return this.parseSwitchStatement(Ct);case se._throw:return this.parseThrowStatement(Ct);case se._try:return this.parseTryStatement(Ct);case se._const:case se._var:return Ve=Ve||this.value,N&&Ve!=="var"&&this.unexpected(),this.parseVarStatement(Ct,Ve);case se._while:return this.parseWhileStatement(Ct);case se._with:return this.parseWithStatement(Ct);case se.braceL:return this.parseBlock(!0,Ct);case se.semi:return this.parseEmptyStatement(Ct);case se._export:case se._import:if(this.options.ecmaVersion>10&&pt===se._import){ht.lastIndex=this.pos;var Bt=ht.exec(this.input),nr=this.pos+Bt[0].length,Dr=this.input.charCodeAt(nr);if(Dr===40||Dr===46)return this.parseExpressionStatement(Ct,this.parseExpression())}return!this.options.allowImportExportEverywhere&&(ae||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'")),pt===se._import?this.parseImport(Ct):this.parseExport(Ct,Re);default:if(this.isAsyncFunction())return N&&this.unexpected(),this.next(),this.parseFunctionStatement(Ct,!0,!N);var Jr=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(Jr)return ae&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),Jr==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(Ct,!1,Jr),this.semicolon(),this.finishNode(Ct,"VariableDeclaration");var kn=this.value,ei=this.parseExpression();return pt===se.name&&ei.type==="Identifier"&&this.eat(se.colon)?this.parseLabeledStatement(Ct,kn,ei,N):this.parseExpressionStatement(Ct,ei)}},xt.parseBreakContinueStatement=function(N,ae){var Re=ae==="break";this.next(),this.eat(se.semi)||this.insertSemicolon()?N.label=null:this.type!==se.name?this.unexpected():(N.label=this.parseIdent(),this.semicolon());for(var Ve=0;Ve<this.labels.length;++Ve){var pt=this.labels[Ve];if((N.label==null||pt.name===N.label.name)&&(pt.kind!=null&&(Re||pt.kind==="loop")||N.label&&Re))break}return Ve===this.labels.length&&this.raise(N.start,"Unsyntactic "+ae),this.finishNode(N,Re?"BreakStatement":"ContinueStatement")},xt.parseDebuggerStatement=function(N){return this.next(),this.semicolon(),this.finishNode(N,"DebuggerStatement")},xt.parseDoStatement=function(N){return this.next(),this.labels.push(ar),N.body=this.parseStatement("do"),this.labels.pop(),this.expect(se._while),N.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(se.semi):this.semicolon(),this.finishNode(N,"DoWhileStatement")},xt.parseForStatement=function(N){this.next();var ae=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(ar),this.enterScope(0),this.expect(se.parenL),this.type===se.semi)return ae>-1&&this.unexpected(ae),this.parseFor(N,null);var Re=this.isLet();if(this.type===se._var||this.type===se._const||Re){var Ve=this.startNode(),pt=Re?"let":this.value;return this.next(),this.parseVar(Ve,!0,pt),this.finishNode(Ve,"VariableDeclaration"),this.parseForAfterInit(N,Ve,ae)}var Ct=this.isContextual("let"),Bt=!1,nr=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(nr){var Dr=this.startNode();return this.next(),nr==="await using"&&this.next(),this.parseVar(Dr,!0,nr),this.finishNode(Dr,"VariableDeclaration"),this.parseForAfterInit(N,Dr,ae)}var Jr=this.containsEsc,kn=new lr,ei=this.start,Mi=ae>-1?this.parseExprSubscripts(kn,"await"):this.parseExpression(!0,kn);return this.type===se._in||(Bt=this.options.ecmaVersion>=6&&this.isContextual("of"))?(ae>-1?(this.type===se._in&&this.unexpected(ae),N.await=!0):Bt&&this.options.ecmaVersion>=8&&(Mi.start!==ei||Jr||Mi.type!=="Identifier"||Mi.name!=="async"?this.options.ecmaVersion>=9&&(N.await=!1):this.unexpected()),Ct&&Bt&&this.raise(Mi.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(Mi,!1,kn),this.checkLValPattern(Mi),this.parseForIn(N,Mi)):(this.checkExpressionErrors(kn,!0),ae>-1&&this.unexpected(ae),this.parseFor(N,Mi))},xt.parseForAfterInit=function(N,ae,Re){return(this.type===se._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&ae.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===se._in?Re>-1&&this.unexpected(Re):N.await=Re>-1),this.parseForIn(N,ae)):(Re>-1&&this.unexpected(Re),this.parseFor(N,ae))},xt.parseFunctionStatement=function(N,ae,Re){return this.next(),this.parseFunction(N,Rr|(Re?0:ln),!1,ae)},xt.parseIfStatement=function(N){return this.next(),N.test=this.parseParenExpression(),N.consequent=this.parseStatement("if"),N.alternate=this.eat(se._else)?this.parseStatement("if"):null,this.finishNode(N,"IfStatement")},xt.parseReturnStatement=function(N){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(se.semi)||this.insertSemicolon()?N.argument=null:(N.argument=this.parseExpression(),this.semicolon()),this.finishNode(N,"ReturnStatement")},xt.parseSwitchStatement=function(N){this.next(),N.discriminant=this.parseParenExpression(),N.cases=[],this.expect(se.braceL),this.labels.push(yr),this.enterScope(0);for(var ae,Re=!1;this.type!==se.braceR;)if(this.type===se._case||this.type===se._default){var Ve=this.type===se._case;ae&&this.finishNode(ae,"SwitchCase"),N.cases.push(ae=this.startNode()),ae.consequent=[],this.next(),Ve?ae.test=this.parseExpression():(Re&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),Re=!0,ae.test=null),this.expect(se.colon)}else ae||this.unexpected(),ae.consequent.push(this.parseStatement(null));return this.exitScope(),ae&&this.finishNode(ae,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(N,"SwitchStatement")},xt.parseThrowStatement=function(N){return this.next(),pe.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),N.argument=this.parseExpression(),this.semicolon(),this.finishNode(N,"ThrowStatement")};var Pr=[];xt.parseCatchClauseParam=function(){var N=this.parseBindingAtom(),ae=N.type==="Identifier";return this.enterScope(32*!!ae),this.checkLValPattern(N,ae?4:2),this.expect(se.parenR),N},xt.parseTryStatement=function(N){if(this.next(),N.block=this.parseBlock(),N.handler=null,this.type===se._catch){var ae=this.startNode();this.next(),this.eat(se.parenL)?ae.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),ae.param=null,this.enterScope(0)),ae.body=this.parseBlock(!1),this.exitScope(),N.handler=this.finishNode(ae,"CatchClause")}return N.finalizer=this.eat(se._finally)?this.parseBlock():null,N.handler||N.finalizer||this.raise(N.start,"Missing catch or finally clause"),this.finishNode(N,"TryStatement")},xt.parseVarStatement=function(N,ae,Re){return this.next(),this.parseVar(N,!1,ae,Re),this.semicolon(),this.finishNode(N,"VariableDeclaration")},xt.parseWhileStatement=function(N){return this.next(),N.test=this.parseParenExpression(),this.labels.push(ar),N.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(N,"WhileStatement")},xt.parseWithStatement=function(N){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),N.object=this.parseParenExpression(),N.body=this.parseStatement("with"),this.finishNode(N,"WithStatement")},xt.parseEmptyStatement=function(N){return this.next(),this.finishNode(N,"EmptyStatement")},xt.parseLabeledStatement=function(N,ae,Re,Ve){for(var pt=0,Ct=this.labels;pt<Ct.length;pt+=1)Ct[pt].name===ae&&this.raise(Re.start,"Label '"+ae+"' is already declared");for(var Bt=this.type.isLoop?"loop":this.type===se._switch?"switch":null,nr=this.labels.length-1;nr>=0;nr--){var Dr=this.labels[nr];if(Dr.statementStart===N.start)Dr.statementStart=this.start,Dr.kind=Bt;else break}return this.labels.push({name:ae,kind:Bt,statementStart:this.start}),N.body=this.parseStatement(Ve?Ve.indexOf("label")===-1?Ve+"label":Ve:"label"),this.labels.pop(),N.label=Re,this.finishNode(N,"LabeledStatement")},xt.parseExpressionStatement=function(N,ae){return N.expression=ae,this.semicolon(),this.finishNode(N,"ExpressionStatement")},xt.parseBlock=function(N,ae,Re){for(N===void 0&&(N=!0),ae===void 0&&(ae=this.startNode()),ae.body=[],this.expect(se.braceL),N&&this.enterScope(0);this.type!==se.braceR;){var Ve=this.parseStatement(null);ae.body.push(Ve)}return Re&&(this.strict=!1),this.next(),N&&this.exitScope(),this.finishNode(ae,"BlockStatement")},xt.parseFor=function(N,ae){return N.init=ae,this.expect(se.semi),N.test=this.type===se.semi?null:this.parseExpression(),this.expect(se.semi),N.update=this.type===se.parenR?null:this.parseExpression(),this.expect(se.parenR),N.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(N,"ForStatement")},xt.parseForIn=function(N,ae){var Re=this.type===se._in;return this.next(),ae.type==="VariableDeclaration"&&ae.declarations[0].init!=null&&(!Re||this.options.ecmaVersion<8||this.strict||ae.kind!=="var"||ae.declarations[0].id.type!=="Identifier")&&this.raise(ae.start,(Re?"for-in":"for-of")+" loop variable declaration may not have an initializer"),N.left=ae,N.right=Re?this.parseExpression():this.parseMaybeAssign(),this.expect(se.parenR),N.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(N,Re?"ForInStatement":"ForOfStatement")},xt.parseVar=function(N,ae,Re,Ve){for(N.declarations=[],N.kind=Re;;){var pt=this.startNode();if(this.parseVarId(pt,Re),this.eat(se.eq)?pt.init=this.parseMaybeAssign(ae):Ve||Re!=="const"||this.type===se._in||this.options.ecmaVersion>=6&&this.isContextual("of")?Ve||Re!=="using"&&Re!=="await using"||!(this.options.ecmaVersion>=17)||this.type===se._in||this.isContextual("of")?Ve||pt.id.type==="Identifier"||ae&&(this.type===se._in||this.isContextual("of"))?pt.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.raise(this.lastTokEnd,"Missing initializer in "+Re+" declaration"):this.unexpected(),N.declarations.push(this.finishNode(pt,"VariableDeclarator")),!this.eat(se.comma))break}return N},xt.parseVarId=function(N,ae){N.id=ae==="using"||ae==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(N.id,ae==="var"?1:2,!1)};var Rr=1,ln=2;function Tn(N,ae){var Re=ae.key.name,Ve=N[Re],pt="true";return ae.type==="MethodDefinition"&&(ae.kind==="get"||ae.kind==="set")&&(pt=(ae.static?"s":"i")+ae.kind),Ve==="iget"&&pt==="iset"||Ve==="iset"&&pt==="iget"||Ve==="sget"&&pt==="sset"||Ve==="sset"&&pt==="sget"?(N[Re]="true",!1):!!Ve||(N[Re]=pt,!1)}function Pn(N,ae){var Re=N.computed,Ve=N.key;return!Re&&(Ve.type==="Identifier"&&Ve.name===ae||Ve.type==="Literal"&&Ve.value===ae)}xt.parseFunction=function(N,ae,Re,Ve,pt){this.initFunction(N),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!Ve)&&(this.type===se.star&&ae&ln&&this.unexpected(),N.generator=this.eat(se.star)),this.options.ecmaVersion>=8&&(N.async=!!Ve),ae&Rr&&(N.id=4&ae&&this.type!==se.name?null:this.parseIdent(),N.id&&!(ae&ln)&&this.checkLValSimple(N.id,this.strict||N.generator||N.async?this.treatFunctionsAsVar?1:2:3));var Ct=this.yieldPos,Bt=this.awaitPos,nr=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Je(N.async,N.generator)),ae&Rr||(N.id=this.type===se.name?this.parseIdent():null),this.parseFunctionParams(N),this.parseFunctionBody(N,Re,!1,pt),this.yieldPos=Ct,this.awaitPos=Bt,this.awaitIdentPos=nr,this.finishNode(N,ae&Rr?"FunctionDeclaration":"FunctionExpression")},xt.parseFunctionParams=function(N){this.expect(se.parenL),N.params=this.parseBindingList(se.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},xt.parseClass=function(N,ae){this.next();var Re=this.strict;this.strict=!0,this.parseClassId(N,ae),this.parseClassSuper(N);var Ve=this.enterClassBody(),pt=this.startNode(),Ct=!1;for(pt.body=[],this.expect(se.braceL);this.type!==se.braceR;){var Bt=this.parseClassElement(N.superClass!==null);Bt&&(pt.body.push(Bt),Bt.type==="MethodDefinition"&&Bt.kind==="constructor"?(Ct&&this.raiseRecoverable(Bt.start,"Duplicate constructor in the same class"),Ct=!0):Bt.key&&Bt.key.type==="PrivateIdentifier"&&Tn(Ve,Bt)&&this.raiseRecoverable(Bt.key.start,"Identifier '#"+Bt.key.name+"' has already been declared"))}return this.strict=Re,this.next(),N.body=this.finishNode(pt,"ClassBody"),this.exitClassBody(),this.finishNode(N,ae?"ClassDeclaration":"ClassExpression")},xt.parseClassElement=function(N){if(this.eat(se.semi))return null;var ae=this.options.ecmaVersion,Re=this.startNode(),Ve="",pt=!1,Ct=!1,Bt="method",nr=!1;if(this.eatContextual("static")){if(ae>=13&&this.eat(se.braceL))return this.parseClassStaticBlock(Re),Re;this.isClassElementNameStart()||this.type===se.star?nr=!0:Ve="static"}if(Re.static=nr,!Ve&&ae>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===se.star)&&!this.canInsertSemicolon()?Ct=!0:Ve="async"),!Ve&&(ae>=9||!Ct)&&this.eat(se.star)&&(pt=!0),!Ve&&!Ct&&!pt){var Dr=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?Bt=Dr:Ve=Dr)}if(Ve?(Re.computed=!1,Re.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),Re.key.name=Ve,this.finishNode(Re.key,"Identifier")):this.parseClassElementName(Re),ae<13||this.type===se.parenL||Bt!=="method"||pt||Ct){var Jr=!Re.static&&Pn(Re,"constructor");Jr&&Bt!=="method"&&this.raise(Re.key.start,"Constructor can't have get/set modifier"),Re.kind=Jr?"constructor":Bt,this.parseClassMethod(Re,pt,Ct,Jr&&N)}else this.parseClassField(Re);return Re},xt.isClassElementNameStart=function(){return this.type===se.name||this.type===se.privateId||this.type===se.num||this.type===se.string||this.type===se.bracketL||this.type.keyword},xt.parseClassElementName=function(N){this.type===se.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),N.computed=!1,N.key=this.parsePrivateIdent()):this.parsePropertyName(N)},xt.parseClassMethod=function(N,ae,Re,Ve){var pt=N.key;N.kind==="constructor"?(ae&&this.raise(pt.start,"Constructor can't be a generator"),Re&&this.raise(pt.start,"Constructor can't be an async method")):N.static&&Pn(N,"prototype")&&this.raise(pt.start,"Classes may not have a static property named prototype");var Ct=N.value=this.parseMethod(ae,Re,Ve);return N.kind==="get"&&Ct.params.length!==0&&this.raiseRecoverable(Ct.start,"getter should have no params"),N.kind==="set"&&Ct.params.length!==1&&this.raiseRecoverable(Ct.start,"setter should have exactly one param"),N.kind==="set"&&Ct.params[0].type==="RestElement"&&this.raiseRecoverable(Ct.params[0].start,"Setter cannot use rest params"),this.finishNode(N,"MethodDefinition")},xt.parseClassField=function(N){return Pn(N,"constructor")?this.raise(N.key.start,"Classes can't have a field named 'constructor'"):N.static&&Pn(N,"prototype")&&this.raise(N.key.start,"Classes can't have a static field named 'prototype'"),this.eat(se.eq)?(this.enterScope(576),N.value=this.parseMaybeAssign(),this.exitScope()):N.value=null,this.semicolon(),this.finishNode(N,"PropertyDefinition")},xt.parseClassStaticBlock=function(N){N.body=[];var ae=this.labels;for(this.labels=[],this.enterScope(320);this.type!==se.braceR;){var Re=this.parseStatement(null);N.body.push(Re)}return this.next(),this.exitScope(),this.labels=ae,this.finishNode(N,"StaticBlock")},xt.parseClassId=function(N,ae){this.type===se.name?(N.id=this.parseIdent(),ae&&this.checkLValSimple(N.id,2,!1)):(ae===!0&&this.unexpected(),N.id=null)},xt.parseClassSuper=function(N){N.superClass=this.eat(se._extends)?this.parseExprSubscripts(null,!1):null},xt.enterClassBody=function(){var N={declared:Object.create(null),used:[]};return this.privateNameStack.push(N),N.declared},xt.exitClassBody=function(){var N=this.privateNameStack.pop(),ae=N.declared,Re=N.used;if(this.options.checkPrivateFields)for(var Ve=this.privateNameStack.length,pt=Ve===0?null:this.privateNameStack[Ve-1],Ct=0;Ct<Re.length;++Ct){var Bt=Re[Ct];tt(ae,Bt.name)||(pt?pt.used.push(Bt):this.raiseRecoverable(Bt.start,"Private field '#"+Bt.name+"' must be declared in an enclosing class"))}},xt.parseExportAllDeclaration=function(N,ae){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(N.exported=this.parseModuleExportName(),this.checkExport(ae,N.exported,this.lastTokStart)):N.exported=null),this.expectContextual("from"),this.type!==se.string&&this.unexpected(),N.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(N.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(N,"ExportAllDeclaration")},xt.parseExport=function(N,ae){if(this.next(),this.eat(se.star))return this.parseExportAllDeclaration(N,ae);if(this.eat(se._default))return this.checkExport(ae,"default",this.lastTokStart),N.declaration=this.parseExportDefaultDeclaration(),this.finishNode(N,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())N.declaration=this.parseExportDeclaration(N),N.declaration.type==="VariableDeclaration"?this.checkVariableExport(ae,N.declaration.declarations):this.checkExport(ae,N.declaration.id,N.declaration.id.start),N.specifiers=[],N.source=null,this.options.ecmaVersion>=16&&(N.attributes=[]);else{if(N.declaration=null,N.specifiers=this.parseExportSpecifiers(ae),this.eatContextual("from"))this.type!==se.string&&this.unexpected(),N.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(N.attributes=this.parseWithClause());else{for(var Re=0,Ve=N.specifiers;Re<Ve.length;Re+=1){var pt=Ve[Re];this.checkUnreserved(pt.local),this.checkLocalExport(pt.local),pt.local.type==="Literal"&&this.raise(pt.local.start,"A string literal cannot be used as an exported binding without `from`.")}N.source=null,this.options.ecmaVersion>=16&&(N.attributes=[])}this.semicolon()}return this.finishNode(N,"ExportNamedDeclaration")},xt.parseExportDeclaration=function(N){return this.parseStatement(null)},xt.parseExportDefaultDeclaration=function(){if(this.type===se._function||(N=this.isAsyncFunction())){var N,ae=this.startNode();return this.next(),N&&this.next(),this.parseFunction(ae,4|Rr,!1,N)}if(this.type===se._class){var Re=this.startNode();return this.parseClass(Re,"nullableID")}var Ve=this.parseMaybeAssign();return this.semicolon(),Ve},xt.checkExport=function(N,ae,Re){N&&(typeof ae!="string"&&(ae=ae.type==="Identifier"?ae.name:ae.value),tt(N,ae)&&this.raiseRecoverable(Re,"Duplicate export '"+ae+"'"),N[ae]=!0)},xt.checkPatternExport=function(N,ae){var Re=ae.type;if(Re==="Identifier")this.checkExport(N,ae,ae.start);else if(Re==="ObjectPattern")for(var Ve=0,pt=ae.properties;Ve<pt.length;Ve+=1){var Ct=pt[Ve];this.checkPatternExport(N,Ct)}else if(Re==="ArrayPattern")for(var Bt=0,nr=ae.elements;Bt<nr.length;Bt+=1){var Dr=nr[Bt];Dr&&this.checkPatternExport(N,Dr)}else Re==="Property"?this.checkPatternExport(N,ae.value):Re==="AssignmentPattern"?this.checkPatternExport(N,ae.left):Re==="RestElement"&&this.checkPatternExport(N,ae.argument)},xt.checkVariableExport=function(N,ae){if(N)for(var Re=0;Re<ae.length;Re+=1){var Ve=ae[Re];this.checkPatternExport(N,Ve.id)}},xt.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},xt.parseExportSpecifier=function(N){var ae=this.startNode();return ae.local=this.parseModuleExportName(),ae.exported=this.eatContextual("as")?this.parseModuleExportName():ae.local,this.checkExport(N,ae.exported,ae.exported.start),this.finishNode(ae,"ExportSpecifier")},xt.parseExportSpecifiers=function(N){var ae=[],Re=!0;for(this.expect(se.braceL);!this.eat(se.braceR);){if(Re)Re=!1;else if(this.expect(se.comma),this.afterTrailingComma(se.braceR))break;ae.push(this.parseExportSpecifier(N))}return ae},xt.parseImport=function(N){return this.next(),this.type===se.string?(N.specifiers=Pr,N.source=this.parseExprAtom()):(N.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),N.source=this.type===se.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(N.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(N,"ImportDeclaration")},xt.parseImportSpecifier=function(){var N=this.startNode();return N.imported=this.parseModuleExportName(),this.eatContextual("as")?N.local=this.parseIdent():(this.checkUnreserved(N.imported),N.local=N.imported),this.checkLValSimple(N.local,2),this.finishNode(N,"ImportSpecifier")},xt.parseImportDefaultSpecifier=function(){var N=this.startNode();return N.local=this.parseIdent(),this.checkLValSimple(N.local,2),this.finishNode(N,"ImportDefaultSpecifier")},xt.parseImportNamespaceSpecifier=function(){var N=this.startNode();return this.next(),this.expectContextual("as"),N.local=this.parseIdent(),this.checkLValSimple(N.local,2),this.finishNode(N,"ImportNamespaceSpecifier")},xt.parseImportSpecifiers=function(){var N=[],ae=!0;if(this.type===se.name&&(N.push(this.parseImportDefaultSpecifier()),!this.eat(se.comma)))return N;if(this.type===se.star)return N.push(this.parseImportNamespaceSpecifier()),N;for(this.expect(se.braceL);!this.eat(se.braceR);){if(ae)ae=!1;else if(this.expect(se.comma),this.afterTrailingComma(se.braceR))break;N.push(this.parseImportSpecifier())}return N},xt.parseWithClause=function(){var N=[];if(!this.eat(se._with))return N;this.expect(se.braceL);for(var ae={},Re=!0;!this.eat(se.braceR);){if(Re)Re=!1;else if(this.expect(se.comma),this.afterTrailingComma(se.braceR))break;var Ve=this.parseImportAttribute(),pt=Ve.key.type==="Identifier"?Ve.key.name:Ve.key.value;tt(ae,pt)&&this.raiseRecoverable(Ve.key.start,"Duplicate attribute key '"+pt+"'"),ae[pt]=!0,N.push(Ve)}return N},xt.parseImportAttribute=function(){var N=this.startNode();return N.key=this.type===se.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(se.colon),this.type!==se.string&&this.unexpected(),N.value=this.parseExprAtom(),this.finishNode(N,"ImportAttribute")},xt.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===se.string){var N=this.parseLiteral(this.value);return Se.test(N.value)&&this.raise(N.start,"An export name cannot include a lone surrogate."),N}return this.parseIdent(!0)},xt.adaptDirectivePrologue=function(N){for(var ae=0;ae<N.length&&this.isDirectiveCandidate(N[ae]);++ae)N[ae].directive=N[ae].expression.raw.slice(1,-1)},xt.isDirectiveCandidate=function(N){return this.options.ecmaVersion>=5&&N.type==="ExpressionStatement"&&N.expression.type==="Literal"&&typeof N.expression.value=="string"&&(this.input[N.start]==='"'||this.input[N.start]==="'")};var er=Le.prototype;er.toAssignable=function(N,ae,Re){if(this.options.ecmaVersion>=6&&N)switch(N.type){case"Identifier":this.inAsync&&N.name==="await"&&this.raise(N.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":N.type="ObjectPattern",Re&&this.checkPatternErrors(Re,!0);for(var Ve=0,pt=N.properties;Ve<pt.length;Ve+=1){var Ct=pt[Ve];this.toAssignable(Ct,ae),Ct.type==="RestElement"&&(Ct.argument.type==="ArrayPattern"||Ct.argument.type==="ObjectPattern")&&this.raise(Ct.argument.start,"Unexpected token")}break;case"Property":N.kind!=="init"&&this.raise(N.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(N.value,ae);break;case"ArrayExpression":N.type="ArrayPattern",Re&&this.checkPatternErrors(Re,!0),this.toAssignableList(N.elements,ae);break;case"SpreadElement":N.type="RestElement",this.toAssignable(N.argument,ae),N.argument.type==="AssignmentPattern"&&this.raise(N.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":N.operator!=="="&&this.raise(N.left.end,"Only '=' operator can be used for specifying default value."),N.type="AssignmentPattern",delete N.operator,this.toAssignable(N.left,ae);break;case"ParenthesizedExpression":this.toAssignable(N.expression,ae,Re);break;case"ChainExpression":this.raiseRecoverable(N.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!ae)break;default:this.raise(N.start,"Assigning to rvalue")}else Re&&this.checkPatternErrors(Re,!0);return N},er.toAssignableList=function(N,ae){for(var Re=N.length,Ve=0;Ve<Re;Ve++){var pt=N[Ve];pt&&this.toAssignable(pt,ae)}if(Re){var Ct=N[Re-1];this.options.ecmaVersion===6&&ae&&Ct&&Ct.type==="RestElement"&&Ct.argument.type!=="Identifier"&&this.unexpected(Ct.argument.start)}return N},er.parseSpread=function(N){var ae=this.startNode();return this.next(),ae.argument=this.parseMaybeAssign(!1,N),this.finishNode(ae,"SpreadElement")},er.parseRestBinding=function(){var N=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==se.name&&this.unexpected(),N.argument=this.parseBindingAtom(),this.finishNode(N,"RestElement")},er.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case se.bracketL:var N=this.startNode();return this.next(),N.elements=this.parseBindingList(se.bracketR,!0,!0),this.finishNode(N,"ArrayPattern");case se.braceL:return this.parseObj(!0)}return this.parseIdent()},er.parseBindingList=function(N,ae,Re,Ve){for(var pt=[],Ct=!0;!this.eat(N);)if(Ct?Ct=!1:this.expect(se.comma),ae&&this.type===se.comma)pt.push(null);else{if(Re&&this.afterTrailingComma(N))break;if(this.type===se.ellipsis){var Bt=this.parseRestBinding();this.parseBindingListItem(Bt),pt.push(Bt),this.type===se.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(N);break}else pt.push(this.parseAssignableListItem(Ve))}return pt},er.parseAssignableListItem=function(N){var ae=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(ae),ae},er.parseBindingListItem=function(N){return N},er.parseMaybeDefault=function(N,ae,Re){if(Re=Re||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(se.eq))return Re;var Ve=this.startNodeAt(N,ae);return Ve.left=Re,Ve.right=this.parseMaybeAssign(),this.finishNode(Ve,"AssignmentPattern")},er.checkLValSimple=function(N,ae,Re){ae===void 0&&(ae=0);var Ve=ae!==0;switch(N.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(N.name)&&this.raiseRecoverable(N.start,(Ve?"Binding ":"Assigning to ")+N.name+" in strict mode"),Ve&&(ae===2&&N.name==="let"&&this.raiseRecoverable(N.start,"let is disallowed as a lexically bound name"),Re&&(tt(Re,N.name)&&this.raiseRecoverable(N.start,"Argument name clash"),Re[N.name]=!0),ae!==5&&this.declareName(N.name,ae,N.start));break;case"ChainExpression":this.raiseRecoverable(N.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":Ve&&this.raiseRecoverable(N.start,"Binding member expression");break;case"ParenthesizedExpression":return Ve&&this.raiseRecoverable(N.start,"Binding parenthesized expression"),this.checkLValSimple(N.expression,ae,Re);default:this.raise(N.start,(Ve?"Binding":"Assigning to")+" rvalue")}},er.checkLValPattern=function(N,ae,Re){switch(ae===void 0&&(ae=0),N.type){case"ObjectPattern":for(var Ve=0,pt=N.properties;Ve<pt.length;Ve+=1){var Ct=pt[Ve];this.checkLValInnerPattern(Ct,ae,Re)}break;case"ArrayPattern":for(var Bt=0,nr=N.elements;Bt<nr.length;Bt+=1){var Dr=nr[Bt];Dr&&this.checkLValInnerPattern(Dr,ae,Re)}break;default:this.checkLValSimple(N,ae,Re)}},er.checkLValInnerPattern=function(N,ae,Re){switch(ae===void 0&&(ae=0),N.type){case"Property":this.checkLValInnerPattern(N.value,ae,Re);break;case"AssignmentPattern":this.checkLValPattern(N.left,ae,Re);break;case"RestElement":this.checkLValPattern(N.argument,ae,Re);break;default:this.checkLValPattern(N,ae,Re)}};var Yr=function(N,ae,Re,Ve,pt){this.token=N,this.isExpr=!!ae,this.preserveSpace=!!Re,this.override=Ve,this.generator=!!pt},gr={b_stat:new Yr("{",!1),b_expr:new Yr("{",!0),b_tmpl:new Yr("${",!1),p_stat:new Yr("(",!1),p_expr:new Yr("(",!0),q_tmpl:new Yr("`",!0,!0,function(N){return N.tryReadTemplateToken()}),f_stat:new Yr("function",!1),f_expr:new Yr("function",!0),f_expr_gen:new Yr("function",!0,!1,null,!0),f_gen:new Yr("function",!1,!1,null,!0)},An=Le.prototype;An.initialContext=function(){return[gr.b_stat]},An.curContext=function(){return this.context[this.context.length-1]},An.braceIsBlock=function(N){var ae=this.curContext();return ae===gr.f_expr||ae===gr.f_stat||(N===se.colon&&(ae===gr.b_stat||ae===gr.b_expr)?!ae.isExpr:N===se._return||N===se.name&&this.exprAllowed?pe.test(this.input.slice(this.lastTokEnd,this.start)):N===se._else||N===se.semi||N===se.eof||N===se.parenR||N===se.arrow||(N===se.braceL?ae===gr.b_stat:N!==se._var&&N!==se._const&&N!==se.name&&!this.exprAllowed))},An.inGeneratorContext=function(){for(var N=this.context.length-1;N>=1;N--){var ae=this.context[N];if(ae.token==="function")return ae.generator}return!1},An.updateContext=function(N){var ae,Re=this.type;Re.keyword&&N===se.dot?this.exprAllowed=!1:(ae=Re.updateContext)?ae.call(this,N):this.exprAllowed=Re.beforeExpr},An.overrideContext=function(N){this.curContext()!==N&&(this.context[this.context.length-1]=N)},se.parenR.updateContext=se.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var N=this.context.pop();N===gr.b_stat&&this.curContext().token==="function"&&(N=this.context.pop()),this.exprAllowed=!N.isExpr},se.braceL.updateContext=function(N){this.context.push(this.braceIsBlock(N)?gr.b_stat:gr.b_expr),this.exprAllowed=!0},se.dollarBraceL.updateContext=function(){this.context.push(gr.b_tmpl),this.exprAllowed=!0},se.parenL.updateContext=function(N){var ae=N===se._if||N===se._for||N===se._with||N===se._while;this.context.push(ae?gr.p_stat:gr.p_expr),this.exprAllowed=!0},se.incDec.updateContext=function(){},se._function.updateContext=se._class.updateContext=function(N){N.beforeExpr&&N!==se._else&&(N!==se.semi||this.curContext()===gr.p_stat)&&!(N===se._return&&pe.test(this.input.slice(this.lastTokEnd,this.start)))&&(N!==se.colon&&N!==se.braceL||this.curContext()!==gr.b_stat)?this.context.push(gr.f_expr):this.context.push(gr.f_stat),this.exprAllowed=!1},se.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},se.backQuote.updateContext=function(){this.curContext()===gr.q_tmpl?this.context.pop():this.context.push(gr.q_tmpl),this.exprAllowed=!1},se.star.updateContext=function(N){if(N===se._function){var ae=this.context.length-1;this.context[ae]===gr.f_expr?this.context[ae]=gr.f_expr_gen:this.context[ae]=gr.f_gen}this.exprAllowed=!0},se.name.updateContext=function(N){var ae=!1;this.options.ecmaVersion>=6&&N!==se.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(ae=!0),this.exprAllowed=ae};var rt=Le.prototype;function At(N){return N.type==="Identifier"||N.type==="ParenthesizedExpression"&&At(N.expression)}function Mt(N){return N.type==="MemberExpression"&&N.property.type==="PrivateIdentifier"||N.type==="ChainExpression"&&Mt(N.expression)||N.type==="ParenthesizedExpression"&&Mt(N.expression)}rt.checkPropClash=function(N,ae,Re){if((!(this.options.ecmaVersion>=9)||N.type!=="SpreadElement")&&(!(this.options.ecmaVersion>=6)||!N.computed&&!N.method&&!N.shorthand)){var Ve,pt=N.key;switch(pt.type){case"Identifier":Ve=pt.name;break;case"Literal":Ve=String(pt.value);break;default:return}var Ct=N.kind;if(this.options.ecmaVersion>=6){Ve==="__proto__"&&Ct==="init"&&(ae.proto&&(Re?Re.doubleProto<0&&(Re.doubleProto=pt.start):this.raiseRecoverable(pt.start,"Redefinition of __proto__ property")),ae.proto=!0);return}var Bt=ae[Ve="$"+Ve];Bt?(Ct==="init"?this.strict&&Bt.init||Bt.get||Bt.set:Bt.init||Bt[Ct])&&this.raiseRecoverable(pt.start,"Redefinition of property"):Bt=ae[Ve]={init:!1,get:!1,set:!1},Bt[Ct]=!0}},rt.parseExpression=function(N,ae){var Re=this.start,Ve=this.startLoc,pt=this.parseMaybeAssign(N,ae);if(this.type===se.comma){var Ct=this.startNodeAt(Re,Ve);for(Ct.expressions=[pt];this.eat(se.comma);)Ct.expressions.push(this.parseMaybeAssign(N,ae));return this.finishNode(Ct,"SequenceExpression")}return pt},rt.parseMaybeAssign=function(N,ae,Re){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(N);this.exprAllowed=!1}var Ve=!1,pt=-1,Ct=-1,Bt=-1;ae?(pt=ae.parenthesizedAssign,Ct=ae.trailingComma,Bt=ae.doubleProto,ae.parenthesizedAssign=ae.trailingComma=-1):(ae=new lr,Ve=!0);var nr=this.start,Dr=this.startLoc;(this.type===se.parenL||this.type===se.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=N==="await");var Jr=this.parseMaybeConditional(N,ae);if(Re&&(Jr=Re.call(this,Jr,nr,Dr)),this.type.isAssign){var kn=this.startNodeAt(nr,Dr);return kn.operator=this.value,this.type===se.eq&&(Jr=this.toAssignable(Jr,!1,ae)),Ve||(ae.parenthesizedAssign=ae.trailingComma=ae.doubleProto=-1),ae.shorthandAssign>=Jr.start&&(ae.shorthandAssign=-1),this.type===se.eq?this.checkLValPattern(Jr):this.checkLValSimple(Jr),kn.left=Jr,this.next(),kn.right=this.parseMaybeAssign(N),Bt>-1&&(ae.doubleProto=Bt),this.finishNode(kn,"AssignmentExpression")}return Ve&&this.checkExpressionErrors(ae,!0),pt>-1&&(ae.parenthesizedAssign=pt),Ct>-1&&(ae.trailingComma=Ct),Jr},rt.parseMaybeConditional=function(N,ae){var Re=this.start,Ve=this.startLoc,pt=this.parseExprOps(N,ae);if(this.checkExpressionErrors(ae))return pt;if(this.eat(se.question)){var Ct=this.startNodeAt(Re,Ve);return Ct.test=pt,Ct.consequent=this.parseMaybeAssign(),this.expect(se.colon),Ct.alternate=this.parseMaybeAssign(N),this.finishNode(Ct,"ConditionalExpression")}return pt},rt.parseExprOps=function(N,ae){var Re=this.start,Ve=this.startLoc,pt=this.parseMaybeUnary(ae,!1,!1,N);return this.checkExpressionErrors(ae)||pt.start===Re&&pt.type==="ArrowFunctionExpression"?pt:this.parseExprOp(pt,Re,Ve,-1,N)},rt.parseExprOp=function(N,ae,Re,Ve,pt){var Ct=this.type.binop;if(Ct!=null&&(!pt||this.type!==se._in)&&Ct>Ve){var Bt=this.type===se.logicalOR||this.type===se.logicalAND,nr=this.type===se.coalesce;nr&&(Ct=se.logicalAND.binop);var Dr=this.value;this.next();var Jr=this.start,kn=this.startLoc,ei=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,pt),Jr,kn,Ct,pt),Mi=this.buildBinary(ae,Re,N,ei,Dr,Bt||nr);return(Bt&&this.type===se.coalesce||nr&&(this.type===se.logicalOR||this.type===se.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(Mi,ae,Re,Ve,pt)}return N},rt.buildBinary=function(N,ae,Re,Ve,pt,Ct){Ve.type==="PrivateIdentifier"&&this.raise(Ve.start,"Private identifier can only be left side of binary expression");var Bt=this.startNodeAt(N,ae);return Bt.left=Re,Bt.operator=pt,Bt.right=Ve,this.finishNode(Bt,Ct?"LogicalExpression":"BinaryExpression")},rt.parseMaybeUnary=function(N,ae,Re,Ve){var pt,Ct=this.start,Bt=this.startLoc;if(this.isContextual("await")&&this.canAwait)pt=this.parseAwait(Ve),ae=!0;else if(this.type.prefix){var nr=this.startNode(),Dr=this.type===se.incDec;nr.operator=this.value,nr.prefix=!0,this.next(),nr.argument=this.parseMaybeUnary(null,!0,Dr,Ve),this.checkExpressionErrors(N,!0),Dr?this.checkLValSimple(nr.argument):this.strict&&nr.operator==="delete"&&At(nr.argument)?this.raiseRecoverable(nr.start,"Deleting local variable in strict mode"):nr.operator==="delete"&&Mt(nr.argument)?this.raiseRecoverable(nr.start,"Private fields can not be deleted"):ae=!0,pt=this.finishNode(nr,Dr?"UpdateExpression":"UnaryExpression")}else if(ae||this.type!==se.privateId){if(pt=this.parseExprSubscripts(N,Ve),this.checkExpressionErrors(N))return pt;for(;this.type.postfix&&!this.canInsertSemicolon();){var Jr=this.startNodeAt(Ct,Bt);Jr.operator=this.value,Jr.prefix=!1,Jr.argument=pt,this.checkLValSimple(pt),this.next(),pt=this.finishNode(Jr,"UpdateExpression")}}else(Ve||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),pt=this.parsePrivateIdent(),this.type!==se._in&&this.unexpected();return!Re&&this.eat(se.starstar)?ae?void this.unexpected(this.lastTokStart):this.buildBinary(Ct,Bt,pt,this.parseMaybeUnary(null,!1,!1,Ve),"**",!1):pt},rt.parseExprSubscripts=function(N,ae){var Re=this.start,Ve=this.startLoc,pt=this.parseExprAtom(N,ae);if(pt.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return pt;var Ct=this.parseSubscripts(pt,Re,Ve,!1,ae);return N&&Ct.type==="MemberExpression"&&(N.parenthesizedAssign>=Ct.start&&(N.parenthesizedAssign=-1),N.parenthesizedBind>=Ct.start&&(N.parenthesizedBind=-1),N.trailingComma>=Ct.start&&(N.trailingComma=-1)),Ct},rt.parseSubscripts=function(N,ae,Re,Ve,pt){for(var Ct=this.options.ecmaVersion>=8&&N.type==="Identifier"&&N.name==="async"&&this.lastTokEnd===N.end&&!this.canInsertSemicolon()&&N.end-N.start==5&&this.potentialArrowAt===N.start,Bt=!1;;){var nr=this.parseSubscript(N,ae,Re,Ve,Ct,Bt,pt);if(nr.optional&&(Bt=!0),nr===N||nr.type==="ArrowFunctionExpression"){if(Bt){var Dr=this.startNodeAt(ae,Re);Dr.expression=nr,nr=this.finishNode(Dr,"ChainExpression")}return nr}N=nr}},rt.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(se.arrow)},rt.parseSubscriptAsyncArrow=function(N,ae,Re,Ve){return this.parseArrowExpression(this.startNodeAt(N,ae),Re,!0,Ve)},rt.parseSubscript=function(N,ae,Re,Ve,pt,Ct,Bt){var nr=this.options.ecmaVersion>=11,Dr=nr&&this.eat(se.questionDot);Ve&&Dr&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var Jr=this.eat(se.bracketL);if(Jr||Dr&&this.type!==se.parenL&&this.type!==se.backQuote||this.eat(se.dot)){var kn=this.startNodeAt(ae,Re);kn.object=N,Jr?(kn.property=this.parseExpression(),this.expect(se.bracketR)):this.type===se.privateId&&N.type!=="Super"?kn.property=this.parsePrivateIdent():kn.property=this.parseIdent(this.options.allowReserved!=="never"),kn.computed=!!Jr,nr&&(kn.optional=Dr),N=this.finishNode(kn,"MemberExpression")}else if(!Ve&&this.eat(se.parenL)){var ei=new lr,Mi=this.yieldPos,vs=this.awaitPos,xs=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var ca=this.parseExprList(se.parenR,this.options.ecmaVersion>=8,!1,ei);if(pt&&!Dr&&this.shouldParseAsyncArrow())return this.checkPatternErrors(ei,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Mi,this.awaitPos=vs,this.awaitIdentPos=xs,this.parseSubscriptAsyncArrow(ae,Re,ca,Bt);this.checkExpressionErrors(ei,!0),this.yieldPos=Mi||this.yieldPos,this.awaitPos=vs||this.awaitPos,this.awaitIdentPos=xs||this.awaitIdentPos;var Ki=this.startNodeAt(ae,Re);Ki.callee=N,Ki.arguments=ca,nr&&(Ki.optional=Dr),N=this.finishNode(Ki,"CallExpression")}else if(this.type===se.backQuote){(Dr||Ct)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Us=this.startNodeAt(ae,Re);Us.tag=N,Us.quasi=this.parseTemplate({isTagged:!0}),N=this.finishNode(Us,"TaggedTemplateExpression")}return N},rt.parseExprAtom=function(N,ae,Re){this.type===se.slash&&this.readRegexp();var Ve,pt=this.potentialArrowAt===this.start;switch(this.type){case se._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),Ve=this.startNode(),this.next(),this.type!==se.parenL||this.allowDirectSuper||this.raise(Ve.start,"super() call outside constructor of a subclass"),this.type!==se.dot&&this.type!==se.bracketL&&this.type!==se.parenL&&this.unexpected(),this.finishNode(Ve,"Super");case se._this:return Ve=this.startNode(),this.next(),this.finishNode(Ve,"ThisExpression");case se.name:var Ct=this.start,Bt=this.startLoc,nr=this.containsEsc,Dr=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!nr&&Dr.name==="async"&&!this.canInsertSemicolon()&&this.eat(se._function))return this.overrideContext(gr.f_expr),this.parseFunction(this.startNodeAt(Ct,Bt),0,!1,!0,ae);if(pt&&!this.canInsertSemicolon()){if(this.eat(se.arrow))return this.parseArrowExpression(this.startNodeAt(Ct,Bt),[Dr],!1,ae);if(this.options.ecmaVersion>=8&&Dr.name==="async"&&this.type===se.name&&!nr&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return Dr=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(se.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(Ct,Bt),[Dr],!0,ae)}return Dr;case se.regexp:var Jr=this.value;return(Ve=this.parseLiteral(Jr.value)).regex={pattern:Jr.pattern,flags:Jr.flags},Ve;case se.num:case se.string:return this.parseLiteral(this.value);case se._null:case se._true:case se._false:return(Ve=this.startNode()).value=this.type===se._null?null:this.type===se._true,Ve.raw=this.type.keyword,this.next(),this.finishNode(Ve,"Literal");case se.parenL:var kn=this.start,ei=this.parseParenAndDistinguishExpression(pt,ae);return N&&(N.parenthesizedAssign<0&&!this.isSimpleAssignTarget(ei)&&(N.parenthesizedAssign=kn),N.parenthesizedBind<0&&(N.parenthesizedBind=kn)),ei;case se.bracketL:return Ve=this.startNode(),this.next(),Ve.elements=this.parseExprList(se.bracketR,!0,!0,N),this.finishNode(Ve,"ArrayExpression");case se.braceL:return this.overrideContext(gr.b_expr),this.parseObj(!1,N);case se._function:return Ve=this.startNode(),this.next(),this.parseFunction(Ve,0);case se._class:return this.parseClass(this.startNode(),!1);case se._new:return this.parseNew();case se.backQuote:return this.parseTemplate();case se._import:return this.options.ecmaVersion>=11?this.parseExprImport(Re):this.unexpected();default:return this.parseExprAtomDefault()}},rt.parseExprAtomDefault=function(){this.unexpected()},rt.parseExprImport=function(N){var ae=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===se.parenL&&!N)return this.parseDynamicImport(ae);if(this.type===se.dot){var Re=this.startNodeAt(ae.start,ae.loc&&ae.loc.start);return Re.name="import",ae.meta=this.finishNode(Re,"Identifier"),this.parseImportMeta(ae)}this.unexpected()},rt.parseDynamicImport=function(N){if(this.next(),N.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(se.parenR)?N.options=null:(this.expect(se.comma),this.afterTrailingComma(se.parenR)?N.options=null:(N.options=this.parseMaybeAssign(),!this.eat(se.parenR)&&(this.expect(se.comma),this.afterTrailingComma(se.parenR)||this.unexpected())));else if(!this.eat(se.parenR)){var ae=this.start;this.eat(se.comma)&&this.eat(se.parenR)?this.raiseRecoverable(ae,"Trailing comma is not allowed in import()"):this.unexpected(ae)}return this.finishNode(N,"ImportExpression")},rt.parseImportMeta=function(N){this.next();var ae=this.containsEsc;return N.property=this.parseIdent(!0),N.property.name!=="meta"&&this.raiseRecoverable(N.property.start,"The only valid meta property for import is 'import.meta'"),ae&&this.raiseRecoverable(N.start,"'import.meta' must not contain escaped characters"),this.options.sourceType==="module"||this.options.allowImportExportEverywhere||this.raiseRecoverable(N.start,"Cannot use 'import.meta' outside a module"),this.finishNode(N,"MetaProperty")},rt.parseLiteral=function(N){var ae=this.startNode();return ae.value=N,ae.raw=this.input.slice(this.start,this.end),ae.raw.charCodeAt(ae.raw.length-1)===110&&(ae.bigint=ae.value!=null?ae.value.toString():ae.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(ae,"Literal")},rt.parseParenExpression=function(){this.expect(se.parenL);var N=this.parseExpression();return this.expect(se.parenR),N},rt.shouldParseArrow=function(N){return!this.canInsertSemicolon()},rt.parseParenAndDistinguishExpression=function(N,ae){var Re,Ve=this.start,pt=this.startLoc,Ct=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var Bt,nr=this.start,Dr=this.startLoc,Jr=[],kn=!0,ei=!1,Mi=new lr,vs=this.yieldPos,xs=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==se.parenR;){if(kn?kn=!1:this.expect(se.comma),Ct&&this.afterTrailingComma(se.parenR,!0)){ei=!0;break}if(this.type===se.ellipsis){Bt=this.start,Jr.push(this.parseParenItem(this.parseRestBinding())),this.type===se.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}Jr.push(this.parseMaybeAssign(!1,Mi,this.parseParenItem))}var ca=this.lastTokEnd,Ki=this.lastTokEndLoc;if(this.expect(se.parenR),N&&this.shouldParseArrow(Jr)&&this.eat(se.arrow))return this.checkPatternErrors(Mi,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=vs,this.awaitPos=xs,this.parseParenArrowList(Ve,pt,Jr,ae);(!Jr.length||ei)&&this.unexpected(this.lastTokStart),Bt&&this.unexpected(Bt),this.checkExpressionErrors(Mi,!0),this.yieldPos=vs||this.yieldPos,this.awaitPos=xs||this.awaitPos,Jr.length>1?((Re=this.startNodeAt(nr,Dr)).expressions=Jr,this.finishNodeAt(Re,"SequenceExpression",ca,Ki)):Re=Jr[0]}else Re=this.parseParenExpression();if(!this.options.preserveParens)return Re;var Us=this.startNodeAt(Ve,pt);return Us.expression=Re,this.finishNode(Us,"ParenthesizedExpression")},rt.parseParenItem=function(N){return N},rt.parseParenArrowList=function(N,ae,Re,Ve){return this.parseArrowExpression(this.startNodeAt(N,ae),Re,!1,Ve)};var $t=[];rt.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var N=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===se.dot){var ae=this.startNodeAt(N.start,N.loc&&N.loc.start);ae.name="new",N.meta=this.finishNode(ae,"Identifier"),this.next();var Re=this.containsEsc;return N.property=this.parseIdent(!0),N.property.name!=="target"&&this.raiseRecoverable(N.property.start,"The only valid meta property for new is 'new.target'"),Re&&this.raiseRecoverable(N.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(N.start,"'new.target' can only be used in functions and class static block"),this.finishNode(N,"MetaProperty")}var Ve=this.start,pt=this.startLoc;return N.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),Ve,pt,!0,!1),this.eat(se.parenL)?N.arguments=this.parseExprList(se.parenR,this.options.ecmaVersion>=8,!1):N.arguments=$t,this.finishNode(N,"NewExpression")},rt.parseTemplateElement=function(N){var ae=N.isTagged,Re=this.startNode();return this.type===se.invalidTemplate?(ae||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),Re.value={raw:this.value.replace(/\r\n?/g,`
|
|
`),cooked:null}):Re.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
`),cooked:this.value},this.next(),Re.tail=this.type===se.backQuote,this.finishNode(Re,"TemplateElement")},rt.parseTemplate=function(N){N===void 0&&(N={});var ae=N.isTagged;ae===void 0&&(ae=!1);var Re=this.startNode();this.next(),Re.expressions=[];var Ve=this.parseTemplateElement({isTagged:ae});for(Re.quasis=[Ve];!Ve.tail;)this.type===se.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(se.dollarBraceL),Re.expressions.push(this.parseExpression()),this.expect(se.braceR),Re.quasis.push(Ve=this.parseTemplateElement({isTagged:ae}));return this.next(),this.finishNode(Re,"TemplateLiteral")},rt.isAsyncProp=function(N){return!N.computed&&N.key.type==="Identifier"&&N.key.name==="async"&&(this.type===se.name||this.type===se.num||this.type===se.string||this.type===se.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===se.star)&&!pe.test(this.input.slice(this.lastTokEnd,this.start))},rt.parseObj=function(N,ae){var Re=this.startNode(),Ve=!0,pt={};for(Re.properties=[],this.next();!this.eat(se.braceR);){if(Ve)Ve=!1;else if(this.expect(se.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(se.braceR))break;var Ct=this.parseProperty(N,ae);N||this.checkPropClash(Ct,pt,ae),Re.properties.push(Ct)}return this.finishNode(Re,N?"ObjectPattern":"ObjectExpression")},rt.parseProperty=function(N,ae){var Re,Ve,pt,Ct,Bt=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(se.ellipsis))return N?(Bt.argument=this.parseIdent(!1),this.type===se.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(Bt,"RestElement")):(Bt.argument=this.parseMaybeAssign(!1,ae),this.type===se.comma&&ae&&ae.trailingComma<0&&(ae.trailingComma=this.start),this.finishNode(Bt,"SpreadElement"));this.options.ecmaVersion>=6&&(Bt.method=!1,Bt.shorthand=!1,(N||ae)&&(pt=this.start,Ct=this.startLoc),N||(Re=this.eat(se.star)));var nr=this.containsEsc;return this.parsePropertyName(Bt),!N&&!nr&&this.options.ecmaVersion>=8&&!Re&&this.isAsyncProp(Bt)?(Ve=!0,Re=this.options.ecmaVersion>=9&&this.eat(se.star),this.parsePropertyName(Bt)):Ve=!1,this.parsePropertyValue(Bt,N,Re,Ve,pt,Ct,ae,nr),this.finishNode(Bt,"Property")},rt.parseGetterSetter=function(N){var ae=N.key.name;this.parsePropertyName(N),N.value=this.parseMethod(!1),N.kind=ae;var Re=+(N.kind!=="get");if(N.value.params.length!==Re){var Ve=N.value.start;N.kind==="get"?this.raiseRecoverable(Ve,"getter should have no params"):this.raiseRecoverable(Ve,"setter should have exactly one param")}else N.kind==="set"&&N.value.params[0].type==="RestElement"&&this.raiseRecoverable(N.value.params[0].start,"Setter cannot use rest params")},rt.parsePropertyValue=function(N,ae,Re,Ve,pt,Ct,Bt,nr){(Re||Ve)&&this.type===se.colon&&this.unexpected(),this.eat(se.colon)?(N.value=ae?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,Bt),N.kind="init"):this.options.ecmaVersion>=6&&this.type===se.parenL?(ae&&this.unexpected(),N.method=!0,N.value=this.parseMethod(Re,Ve),N.kind="init"):ae||nr||!(this.options.ecmaVersion>=5)||N.computed||N.key.type!=="Identifier"||N.key.name!=="get"&&N.key.name!=="set"||this.type===se.comma||this.type===se.braceR||this.type===se.eq?this.options.ecmaVersion>=6&&!N.computed&&N.key.type==="Identifier"?((Re||Ve)&&this.unexpected(),this.checkUnreserved(N.key),N.key.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=pt),ae?N.value=this.parseMaybeDefault(pt,Ct,this.copyNode(N.key)):this.type===se.eq&&Bt?(Bt.shorthandAssign<0&&(Bt.shorthandAssign=this.start),N.value=this.parseMaybeDefault(pt,Ct,this.copyNode(N.key))):N.value=this.copyNode(N.key),N.kind="init",N.shorthand=!0):this.unexpected():((Re||Ve)&&this.unexpected(),this.parseGetterSetter(N))},rt.parsePropertyName=function(N){if(this.options.ecmaVersion>=6){if(this.eat(se.bracketL))return N.computed=!0,N.key=this.parseMaybeAssign(),this.expect(se.bracketR),N.key;N.computed=!1}return N.key=this.type===se.num||this.type===se.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},rt.initFunction=function(N){N.id=null,this.options.ecmaVersion>=6&&(N.generator=N.expression=!1),this.options.ecmaVersion>=8&&(N.async=!1)},rt.parseMethod=function(N,ae,Re){var Ve=this.startNode(),pt=this.yieldPos,Ct=this.awaitPos,Bt=this.awaitIdentPos;return this.initFunction(Ve),this.options.ecmaVersion>=6&&(Ve.generator=N),this.options.ecmaVersion>=8&&(Ve.async=!!ae),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|Je(ae,Ve.generator)|128*!!Re),this.expect(se.parenL),Ve.params=this.parseBindingList(se.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(Ve,!1,!0,!1),this.yieldPos=pt,this.awaitPos=Ct,this.awaitIdentPos=Bt,this.finishNode(Ve,"FunctionExpression")},rt.parseArrowExpression=function(N,ae,Re,Ve){var pt=this.yieldPos,Ct=this.awaitPos,Bt=this.awaitIdentPos;return this.enterScope(16|Je(Re,!1)),this.initFunction(N),this.options.ecmaVersion>=8&&(N.async=!!Re),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,N.params=this.toAssignableList(ae,!0),this.parseFunctionBody(N,!0,!1,Ve),this.yieldPos=pt,this.awaitPos=Ct,this.awaitIdentPos=Bt,this.finishNode(N,"ArrowFunctionExpression")},rt.parseFunctionBody=function(N,ae,Re,Ve){var pt=ae&&this.type!==se.braceL,Ct=this.strict,Bt=!1;if(pt)N.body=this.parseMaybeAssign(Ve),N.expression=!0,this.checkParams(N,!1);else{var nr=this.options.ecmaVersion>=7&&!this.isSimpleParamList(N.params);(!Ct||nr)&&(Bt=this.strictDirective(this.end))&&nr&&this.raiseRecoverable(N.start,"Illegal 'use strict' directive in function with non-simple parameter list");var Dr=this.labels;this.labels=[],Bt&&(this.strict=!0),this.checkParams(N,!Ct&&!Bt&&!ae&&!Re&&this.isSimpleParamList(N.params)),this.strict&&N.id&&this.checkLValSimple(N.id,5),N.body=this.parseBlock(!1,void 0,Bt&&!Ct),N.expression=!1,this.adaptDirectivePrologue(N.body.body),this.labels=Dr}this.exitScope()},rt.isSimpleParamList=function(N){for(var ae=0;ae<N.length;ae+=1)if(N[ae].type!=="Identifier")return!1;return!0},rt.checkParams=function(N,ae){for(var Re=Object.create(null),Ve=0,pt=N.params;Ve<pt.length;Ve+=1){var Ct=pt[Ve];this.checkLValInnerPattern(Ct,1,ae?null:Re)}},rt.parseExprList=function(N,ae,Re,Ve){for(var pt=[],Ct=!0;!this.eat(N);){if(Ct)Ct=!1;else if(this.expect(se.comma),ae&&this.afterTrailingComma(N))break;var Bt=void 0;Re&&this.type===se.comma?Bt=null:this.type===se.ellipsis?(Bt=this.parseSpread(Ve),Ve&&this.type===se.comma&&Ve.trailingComma<0&&(Ve.trailingComma=this.start)):Bt=this.parseMaybeAssign(!1,Ve),pt.push(Bt)}return pt},rt.checkUnreserved=function(N){var ae=N.start,Re=N.end,Ve=N.name;this.inGenerator&&Ve==="yield"&&this.raiseRecoverable(ae,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&Ve==="await"&&this.raiseRecoverable(ae,"Cannot use 'await' as identifier inside an async function"),259&this.currentThisScope().flags||Ve!=="arguments"||this.raiseRecoverable(ae,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(Ve==="arguments"||Ve==="await")&&this.raise(ae,"Cannot use "+Ve+" in class static initialization block"),this.keywords.test(Ve)&&this.raise(ae,"Unexpected keyword '"+Ve+"'"),(!(this.options.ecmaVersion<6)||this.input.slice(ae,Re).indexOf("\\")===-1)&&(this.strict?this.reservedWordsStrict:this.reservedWords).test(Ve)&&(this.inAsync||Ve!=="await"||this.raiseRecoverable(ae,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(ae,"The keyword '"+Ve+"' is reserved"))},rt.parseIdent=function(N){var ae=this.parseIdentNode();return this.next(!!N),this.finishNode(ae,"Identifier"),!N&&(this.checkUnreserved(ae),ae.name!=="await"||this.awaitIdentPos||(this.awaitIdentPos=ae.start)),ae},rt.parseIdentNode=function(){var N=this.startNode();return this.type===se.name?N.name=this.value:this.type.keyword?(N.name=this.type.keyword,(N.name==="class"||N.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=se.name):this.unexpected(),N},rt.parsePrivateIdent=function(){var N=this.startNode();return this.type===se.privateId?N.name=this.value:this.unexpected(),this.next(),this.finishNode(N,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(N.start,"Private field '#"+N.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(N)),N},rt.parseYield=function(N){this.yieldPos||(this.yieldPos=this.start);var ae=this.startNode();return this.next(),this.type===se.semi||this.canInsertSemicolon()||this.type!==se.star&&!this.type.startsExpr?(ae.delegate=!1,ae.argument=null):(ae.delegate=this.eat(se.star),ae.argument=this.parseMaybeAssign(N)),this.finishNode(ae,"YieldExpression")},rt.parseAwait=function(N){this.awaitPos||(this.awaitPos=this.start);var ae=this.startNode();return this.next(),ae.argument=this.parseMaybeUnary(null,!0,!1,N),this.finishNode(ae,"AwaitExpression")};var zt=Le.prototype;zt.raise=function(N,ae){var Re=Qe(this.input,N);ae+=" ("+Re.line+":"+Re.column+")",this.sourceFile&&(ae+=" in "+this.sourceFile);var Ve=SyntaxError(ae);throw Ve.pos=N,Ve.loc=Re,Ve.raisedAt=this.pos,Ve},zt.raiseRecoverable=zt.raise,zt.curPosition=function(){if(this.options.locations)return new Ee(this.curLine,this.pos-this.lineStart)};var qt=Le.prototype,pr=function(N){this.flags=N,this.var=[],this.lexical=[],this.functions=[]};qt.enterScope=function(N){this.scopeStack.push(new pr(N))},qt.exitScope=function(){this.scopeStack.pop()},qt.treatFunctionsAsVarInScope=function(N){return 2&N.flags||!this.inModule&&1&N.flags},qt.declareName=function(N,ae,Re){var Ve=!1;if(ae===2){var pt=this.currentScope();Ve=pt.lexical.indexOf(N)>-1||pt.functions.indexOf(N)>-1||pt.var.indexOf(N)>-1,pt.lexical.push(N),this.inModule&&1&pt.flags&&delete this.undefinedExports[N]}else if(ae===4)this.currentScope().lexical.push(N);else if(ae===3){var Ct=this.currentScope();Ve=this.treatFunctionsAsVar?Ct.lexical.indexOf(N)>-1:Ct.lexical.indexOf(N)>-1||Ct.var.indexOf(N)>-1,Ct.functions.push(N)}else for(var Bt=this.scopeStack.length-1;Bt>=0;--Bt){var nr=this.scopeStack[Bt];if(nr.lexical.indexOf(N)>-1&&!(32&nr.flags&&nr.lexical[0]===N)||!this.treatFunctionsAsVarInScope(nr)&&nr.functions.indexOf(N)>-1){Ve=!0;break}if(nr.var.push(N),this.inModule&&1&nr.flags&&delete this.undefinedExports[N],259&nr.flags)break}Ve&&this.raiseRecoverable(Re,"Identifier '"+N+"' has already been declared")},qt.checkLocalExport=function(N){this.scopeStack[0].lexical.indexOf(N.name)===-1&&this.scopeStack[0].var.indexOf(N.name)===-1&&(this.undefinedExports[N.name]=N)},qt.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},qt.currentVarScope=function(){for(var N=this.scopeStack.length-1;;N--){var ae=this.scopeStack[N];if(771&ae.flags)return ae}},qt.currentThisScope=function(){for(var N=this.scopeStack.length-1;;N--){var ae=this.scopeStack[N];if(771&ae.flags&&!(16&ae.flags))return ae}};var xr=function(N,ae,Re){this.type="",this.start=ae,this.end=0,N.options.locations&&(this.loc=new Be(N,Re)),N.options.directSourceFile&&(this.sourceFile=N.options.directSourceFile),N.options.ranges&&(this.range=[ae,0])},Hr=Le.prototype;function Qr(N,ae,Re,Ve){return N.type=ae,N.end=Re,this.options.locations&&(N.loc.end=Ve),this.options.ranges&&(N.range[1]=Re),N}Hr.startNode=function(){return new xr(this,this.start,this.startLoc)},Hr.startNodeAt=function(N,ae){return new xr(this,N,ae)},Hr.finishNode=function(N,ae){return Qr.call(this,N,ae,this.lastTokEnd,this.lastTokEndLoc)},Hr.finishNodeAt=function(N,ae,Re,Ve){return Qr.call(this,N,ae,Re,Ve)},Hr.copyNode=function(N){var ae=new xr(this,N.start,this.startLoc);for(var Re in N)ae[Re]=N[Re];return ae};var Fr="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",Sn=Fr+" Extended_Pictographic",Nn=Sn+" EBase EComp EMod EPres ExtPict",zn={9:Fr,10:Sn,11:Sn,12:Nn,13:Nn,14:Nn},Ni={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"},Fi="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",qi="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",dr=qi+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Sr=dr+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",wr=Sr+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",gn=wr+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",vn={9:qi,10:dr,11:Sr,12:wr,13:gn,14:gn+" Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz"},Gr={};function Rn(N){var ae=Gr[N]={binary:ee(zn[N]+" "+Fi),binaryOfStrings:ee(Ni[N]),nonBinary:{General_Category:ee(Fi),Script:ee(vn[N])}};ae.nonBinary.Script_Extensions=ae.nonBinary.Script,ae.nonBinary.gc=ae.nonBinary.General_Category,ae.nonBinary.sc=ae.nonBinary.Script,ae.nonBinary.scx=ae.nonBinary.Script_Extensions}for(var Yt=0,Qt=[9,10,11,12,13,14];Yt<Qt.length;Yt+=1)Rn(Qt[Yt]);var kt=Le.prototype,vr=function(N,ae){this.parent=N,this.base=ae||this};vr.prototype.separatedFrom=function(N){for(var ae=this;ae;ae=ae.parent)for(var Re=N;Re;Re=Re.parent)if(ae.base===Re.base&&ae!==Re)return!0;return!1},vr.prototype.sibling=function(){return new vr(this.parent,this.base)};var _r=function(N){this.parser=N,this.validFlags="gim"+(N.options.ecmaVersion>=6?"uy":"")+(N.options.ecmaVersion>=9?"s":"")+(N.options.ecmaVersion>=13?"d":"")+(N.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Gr[N.options.ecmaVersion>=14?14:N.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=Object.create(null),this.backReferenceNames=[],this.branchID=null};function Xr(N){for(var ae in N)return!0;return!1}function Xt(N){return N===105||N===109||N===115}function jr(N){return N===36||N>=40&&N<=43||N===46||N===63||N>=91&&N<=94||N>=123&&N<=125}function tn(N){return Oe(N,!0)||N===36||N===95}function un(N){return de(N,!0)||N===36||N===95||N===8204||N===8205}function xn(N){return N>=65&&N<=90||N>=97&&N<=122}function fn(N){return N>=0&&N<=1114111}function _n(N){return N===100||N===68||N===115||N===83||N===119||N===87}function Ti(N){return xn(N)||N===95}function di(N){return Ti(N)||kr(N)}function an(N){return N===33||N>=35&&N<=38||N>=42&&N<=44||N===46||N>=58&&N<=64||N===94||N===96||N===126}function Qn(N){return N===40||N===41||N===45||N===47||N>=91&&N<=93||N>=123&&N<=125}function Wi(N){return N===33||N===35||N===37||N===38||N===44||N===45||N>=58&&N<=62||N===64||N===96||N===126}function kr(N){return N>=48&&N<=57}function ss(N){return N>=48&&N<=57||N>=65&&N<=70||N>=97&&N<=102}function Vr(N){return N>=65&&N<=70?10+(N-65):N>=97&&N<=102?10+(N-97):N-48}function Qi(N){return N>=48&&N<=55}_r.prototype.reset=function(N,ae,Re){var Ve=Re.indexOf("v")!==-1,pt=Re.indexOf("u")!==-1;this.start=0|N,this.source=ae+"",this.flags=Re,Ve&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=pt&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=pt&&this.parser.options.ecmaVersion>=9)},_r.prototype.raise=function(N){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+N)},_r.prototype.at=function(N,ae){ae===void 0&&(ae=!1);var Re=this.source,Ve=Re.length;if(N>=Ve)return-1;var pt=Re.charCodeAt(N);if(!(ae||this.switchU)||pt<=55295||pt>=57344||N+1>=Ve)return pt;var Ct=Re.charCodeAt(N+1);return Ct>=56320&&Ct<=57343?(pt<<10)+Ct-56613888:pt},_r.prototype.nextIndex=function(N,ae){ae===void 0&&(ae=!1);var Re=this.source,Ve=Re.length;if(N>=Ve)return Ve;var pt,Ct=Re.charCodeAt(N);return!(ae||this.switchU)||Ct<=55295||Ct>=57344||N+1>=Ve||(pt=Re.charCodeAt(N+1))<56320||pt>57343?N+1:N+2},_r.prototype.current=function(N){return N===void 0&&(N=!1),this.at(this.pos,N)},_r.prototype.lookahead=function(N){return N===void 0&&(N=!1),this.at(this.nextIndex(this.pos,N),N)},_r.prototype.advance=function(N){N===void 0&&(N=!1),this.pos=this.nextIndex(this.pos,N)},_r.prototype.eat=function(N,ae){return ae===void 0&&(ae=!1),this.current(ae)===N&&(this.advance(ae),!0)},_r.prototype.eatChars=function(N,ae){ae===void 0&&(ae=!1);for(var Re=this.pos,Ve=0;Ve<N.length;Ve+=1){var pt=N[Ve],Ct=this.at(Re,ae);if(Ct===-1||Ct!==pt)return!1;Re=this.nextIndex(Re,ae)}return this.pos=Re,!0},kt.validateRegExpFlags=function(N){for(var ae=N.validFlags,Re=N.flags,Ve=!1,pt=!1,Ct=0;Ct<Re.length;Ct++){var Bt=Re.charAt(Ct);ae.indexOf(Bt)===-1&&this.raise(N.start,"Invalid regular expression flag"),Re.indexOf(Bt,Ct+1)>-1&&this.raise(N.start,"Duplicate regular expression flag"),Bt==="u"&&(Ve=!0),Bt==="v"&&(pt=!0)}this.options.ecmaVersion>=15&&Ve&&pt&&this.raise(N.start,"Invalid regular expression flag")},kt.validateRegExpPattern=function(N){this.regexp_pattern(N),!N.switchN&&this.options.ecmaVersion>=9&&Xr(N.groupNames)&&(N.switchN=!0,this.regexp_pattern(N))},kt.regexp_pattern=function(N){N.pos=0,N.lastIntValue=0,N.lastStringValue="",N.lastAssertionIsQuantifiable=!1,N.numCapturingParens=0,N.maxBackReference=0,N.groupNames=Object.create(null),N.backReferenceNames.length=0,N.branchID=null,this.regexp_disjunction(N),N.pos!==N.source.length&&(N.eat(41)&&N.raise("Unmatched ')'"),(N.eat(93)||N.eat(125))&&N.raise("Lone quantifier brackets")),N.maxBackReference>N.numCapturingParens&&N.raise("Invalid escape");for(var ae=0,Re=N.backReferenceNames;ae<Re.length;ae+=1){var Ve=Re[ae];N.groupNames[Ve]||N.raise("Invalid named capture referenced")}},kt.regexp_disjunction=function(N){var ae=this.options.ecmaVersion>=16;for(ae&&(N.branchID=new vr(N.branchID,null)),this.regexp_alternative(N);N.eat(124);)ae&&(N.branchID=N.branchID.sibling()),this.regexp_alternative(N);ae&&(N.branchID=N.branchID.parent),this.regexp_eatQuantifier(N,!0)&&N.raise("Nothing to repeat"),N.eat(123)&&N.raise("Lone quantifier brackets")},kt.regexp_alternative=function(N){for(;N.pos<N.source.length&&this.regexp_eatTerm(N););},kt.regexp_eatTerm=function(N){return this.regexp_eatAssertion(N)?(N.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(N)&&N.switchU&&N.raise("Invalid quantifier"),!0):(N.switchU?!!this.regexp_eatAtom(N):!!this.regexp_eatExtendedAtom(N))&&(this.regexp_eatQuantifier(N),!0)},kt.regexp_eatAssertion=function(N){var ae=N.pos;if(N.lastAssertionIsQuantifiable=!1,N.eat(94)||N.eat(36))return!0;if(N.eat(92)){if(N.eat(66)||N.eat(98))return!0;N.pos=ae}if(N.eat(40)&&N.eat(63)){var Re=!1;if(this.options.ecmaVersion>=9&&(Re=N.eat(60)),N.eat(61)||N.eat(33))return this.regexp_disjunction(N),N.eat(41)||N.raise("Unterminated group"),N.lastAssertionIsQuantifiable=!Re,!0}return N.pos=ae,!1},kt.regexp_eatQuantifier=function(N,ae){return ae===void 0&&(ae=!1),!!this.regexp_eatQuantifierPrefix(N,ae)&&(N.eat(63),!0)},kt.regexp_eatQuantifierPrefix=function(N,ae){return N.eat(42)||N.eat(43)||N.eat(63)||this.regexp_eatBracedQuantifier(N,ae)},kt.regexp_eatBracedQuantifier=function(N,ae){var Re=N.pos;if(N.eat(123)){var Ve=0,pt=-1;if(this.regexp_eatDecimalDigits(N)&&(Ve=N.lastIntValue,N.eat(44)&&this.regexp_eatDecimalDigits(N)&&(pt=N.lastIntValue),N.eat(125)))return pt!==-1&&pt<Ve&&!ae&&N.raise("numbers out of order in {} quantifier"),!0;N.switchU&&!ae&&N.raise("Incomplete quantifier"),N.pos=Re}return!1},kt.regexp_eatAtom=function(N){return this.regexp_eatPatternCharacters(N)||N.eat(46)||this.regexp_eatReverseSolidusAtomEscape(N)||this.regexp_eatCharacterClass(N)||this.regexp_eatUncapturingGroup(N)||this.regexp_eatCapturingGroup(N)},kt.regexp_eatReverseSolidusAtomEscape=function(N){var ae=N.pos;if(N.eat(92)){if(this.regexp_eatAtomEscape(N))return!0;N.pos=ae}return!1},kt.regexp_eatUncapturingGroup=function(N){var ae=N.pos;if(N.eat(40)){if(N.eat(63)){if(this.options.ecmaVersion>=16){var Re=this.regexp_eatModifiers(N),Ve=N.eat(45);if(Re||Ve){for(var pt=0;pt<Re.length;pt++){var Ct=Re.charAt(pt);Re.indexOf(Ct,pt+1)>-1&&N.raise("Duplicate regular expression modifiers")}if(Ve){var Bt=this.regexp_eatModifiers(N);Re||Bt||N.current()!==58||N.raise("Invalid regular expression modifiers");for(var nr=0;nr<Bt.length;nr++){var Dr=Bt.charAt(nr);(Bt.indexOf(Dr,nr+1)>-1||Re.indexOf(Dr)>-1)&&N.raise("Duplicate regular expression modifiers")}}}}if(N.eat(58)){if(this.regexp_disjunction(N),N.eat(41))return!0;N.raise("Unterminated group")}}N.pos=ae}return!1},kt.regexp_eatCapturingGroup=function(N){if(N.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(N):N.current()===63&&N.raise("Invalid group"),this.regexp_disjunction(N),N.eat(41))return N.numCapturingParens+=1,!0;N.raise("Unterminated group")}return!1},kt.regexp_eatModifiers=function(N){for(var ae="",Re=0;(Re=N.current())!==-1&&Xt(Re);)ae+=le(Re),N.advance();return ae},kt.regexp_eatExtendedAtom=function(N){return N.eat(46)||this.regexp_eatReverseSolidusAtomEscape(N)||this.regexp_eatCharacterClass(N)||this.regexp_eatUncapturingGroup(N)||this.regexp_eatCapturingGroup(N)||this.regexp_eatInvalidBracedQuantifier(N)||this.regexp_eatExtendedPatternCharacter(N)},kt.regexp_eatInvalidBracedQuantifier=function(N){return this.regexp_eatBracedQuantifier(N,!0)&&N.raise("Nothing to repeat"),!1},kt.regexp_eatSyntaxCharacter=function(N){var ae=N.current();return!!jr(ae)&&(N.lastIntValue=ae,N.advance(),!0)},kt.regexp_eatPatternCharacters=function(N){for(var ae=N.pos,Re=0;(Re=N.current())!==-1&&!jr(Re);)N.advance();return N.pos!==ae},kt.regexp_eatExtendedPatternCharacter=function(N){var ae=N.current();return ae!==-1&&ae!==36&&(!(ae>=40)||!(ae<=43))&&ae!==46&&ae!==63&&ae!==91&&ae!==94&&ae!==124&&(N.advance(),!0)},kt.regexp_groupSpecifier=function(N){if(N.eat(63)){this.regexp_eatGroupName(N)||N.raise("Invalid group");var ae=this.options.ecmaVersion>=16,Re=N.groupNames[N.lastStringValue];if(Re)if(ae)for(var Ve=0;Ve<Re.length;Ve+=1)Re[Ve].separatedFrom(N.branchID)||N.raise("Duplicate capture group name");else N.raise("Duplicate capture group name");ae?(Re||(N.groupNames[N.lastStringValue]=[])).push(N.branchID):N.groupNames[N.lastStringValue]=!0}},kt.regexp_eatGroupName=function(N){if(N.lastStringValue="",N.eat(60)){if(this.regexp_eatRegExpIdentifierName(N)&&N.eat(62))return!0;N.raise("Invalid capture group name")}return!1},kt.regexp_eatRegExpIdentifierName=function(N){if(N.lastStringValue="",this.regexp_eatRegExpIdentifierStart(N)){for(N.lastStringValue+=le(N.lastIntValue);this.regexp_eatRegExpIdentifierPart(N);)N.lastStringValue+=le(N.lastIntValue);return!0}return!1},kt.regexp_eatRegExpIdentifierStart=function(N){var ae=N.pos,Re=this.options.ecmaVersion>=11,Ve=N.current(Re);return N.advance(Re),Ve===92&&this.regexp_eatRegExpUnicodeEscapeSequence(N,Re)&&(Ve=N.lastIntValue),tn(Ve)?(N.lastIntValue=Ve,!0):(N.pos=ae,!1)},kt.regexp_eatRegExpIdentifierPart=function(N){var ae=N.pos,Re=this.options.ecmaVersion>=11,Ve=N.current(Re);return N.advance(Re),Ve===92&&this.regexp_eatRegExpUnicodeEscapeSequence(N,Re)&&(Ve=N.lastIntValue),un(Ve)?(N.lastIntValue=Ve,!0):(N.pos=ae,!1)},kt.regexp_eatAtomEscape=function(N){return!!(this.regexp_eatBackReference(N)||this.regexp_eatCharacterClassEscape(N)||this.regexp_eatCharacterEscape(N)||N.switchN&&this.regexp_eatKGroupName(N))||(N.switchU&&(N.current()===99&&N.raise("Invalid unicode escape"),N.raise("Invalid escape")),!1)},kt.regexp_eatBackReference=function(N){var ae=N.pos;if(this.regexp_eatDecimalEscape(N)){var Re=N.lastIntValue;if(N.switchU)return Re>N.maxBackReference&&(N.maxBackReference=Re),!0;if(Re<=N.numCapturingParens)return!0;N.pos=ae}return!1},kt.regexp_eatKGroupName=function(N){if(N.eat(107)){if(this.regexp_eatGroupName(N))return N.backReferenceNames.push(N.lastStringValue),!0;N.raise("Invalid named reference")}return!1},kt.regexp_eatCharacterEscape=function(N){return this.regexp_eatControlEscape(N)||this.regexp_eatCControlLetter(N)||this.regexp_eatZero(N)||this.regexp_eatHexEscapeSequence(N)||this.regexp_eatRegExpUnicodeEscapeSequence(N,!1)||!N.switchU&&this.regexp_eatLegacyOctalEscapeSequence(N)||this.regexp_eatIdentityEscape(N)},kt.regexp_eatCControlLetter=function(N){var ae=N.pos;if(N.eat(99)){if(this.regexp_eatControlLetter(N))return!0;N.pos=ae}return!1},kt.regexp_eatZero=function(N){return!(N.current()!==48||kr(N.lookahead()))&&(N.lastIntValue=0,N.advance(),!0)},kt.regexp_eatControlEscape=function(N){var ae=N.current();return ae===116?(N.lastIntValue=9,N.advance(),!0):ae===110?(N.lastIntValue=10,N.advance(),!0):ae===118?(N.lastIntValue=11,N.advance(),!0):ae===102?(N.lastIntValue=12,N.advance(),!0):ae===114&&(N.lastIntValue=13,N.advance(),!0)},kt.regexp_eatControlLetter=function(N){var ae=N.current();return!!xn(ae)&&(N.lastIntValue=ae%32,N.advance(),!0)},kt.regexp_eatRegExpUnicodeEscapeSequence=function(N,ae){ae===void 0&&(ae=!1);var Re=N.pos,Ve=ae||N.switchU;if(N.eat(117)){if(this.regexp_eatFixedHexDigits(N,4)){var pt=N.lastIntValue;if(Ve&&pt>=55296&&pt<=56319){var Ct=N.pos;if(N.eat(92)&&N.eat(117)&&this.regexp_eatFixedHexDigits(N,4)){var Bt=N.lastIntValue;if(Bt>=56320&&Bt<=57343)return N.lastIntValue=(pt-55296)*1024+(Bt-56320)+65536,!0}N.pos=Ct,N.lastIntValue=pt}return!0}if(Ve&&N.eat(123)&&this.regexp_eatHexDigits(N)&&N.eat(125)&&fn(N.lastIntValue))return!0;Ve&&N.raise("Invalid unicode escape"),N.pos=Re}return!1},kt.regexp_eatIdentityEscape=function(N){if(N.switchU)return!!this.regexp_eatSyntaxCharacter(N)||!!N.eat(47)&&(N.lastIntValue=47,!0);var ae=N.current();return ae!==99&&(!N.switchN||ae!==107)&&(N.lastIntValue=ae,N.advance(),!0)},kt.regexp_eatDecimalEscape=function(N){N.lastIntValue=0;var ae=N.current();if(ae>=49&&ae<=57){do N.lastIntValue=10*N.lastIntValue+(ae-48),N.advance();while((ae=N.current())>=48&&ae<=57);return!0}return!1},kt.regexp_eatCharacterClassEscape=function(N){var ae,Re=N.current();if(_n(Re))return N.lastIntValue=-1,N.advance(),1;var Ve=!1;if(N.switchU&&this.options.ecmaVersion>=9&&((Ve=Re===80)||Re===112)){if(N.lastIntValue=-1,N.advance(),N.eat(123)&&(ae=this.regexp_eatUnicodePropertyValueExpression(N))&&N.eat(125))return Ve&&ae===2&&N.raise("Invalid property name"),ae;N.raise("Invalid property name")}return 0},kt.regexp_eatUnicodePropertyValueExpression=function(N){var ae=N.pos;if(this.regexp_eatUnicodePropertyName(N)&&N.eat(61)){var Re=N.lastStringValue;if(this.regexp_eatUnicodePropertyValue(N)){var Ve=N.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(N,Re,Ve),1}}if(N.pos=ae,this.regexp_eatLoneUnicodePropertyNameOrValue(N)){var pt=N.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(N,pt)}return 0},kt.regexp_validateUnicodePropertyNameAndValue=function(N,ae,Re){tt(N.unicodeProperties.nonBinary,ae)||N.raise("Invalid property name"),N.unicodeProperties.nonBinary[ae].test(Re)||N.raise("Invalid property value")},kt.regexp_validateUnicodePropertyNameOrValue=function(N,ae){return N.unicodeProperties.binary.test(ae)?1:N.switchV&&N.unicodeProperties.binaryOfStrings.test(ae)?2:void N.raise("Invalid property name")},kt.regexp_eatUnicodePropertyName=function(N){var ae=0;for(N.lastStringValue="";Ti(ae=N.current());)N.lastStringValue+=le(ae),N.advance();return N.lastStringValue!==""},kt.regexp_eatUnicodePropertyValue=function(N){var ae=0;for(N.lastStringValue="";di(ae=N.current());)N.lastStringValue+=le(ae),N.advance();return N.lastStringValue!==""},kt.regexp_eatLoneUnicodePropertyNameOrValue=function(N){return this.regexp_eatUnicodePropertyValue(N)},kt.regexp_eatCharacterClass=function(N){if(N.eat(91)){var ae=N.eat(94),Re=this.regexp_classContents(N);return N.eat(93)||N.raise("Unterminated character class"),ae&&Re===2&&N.raise("Negated character class may contain strings"),!0}return!1},kt.regexp_classContents=function(N){return N.current()===93?1:N.switchV?this.regexp_classSetExpression(N):(this.regexp_nonEmptyClassRanges(N),1)},kt.regexp_nonEmptyClassRanges=function(N){for(;this.regexp_eatClassAtom(N);){var ae=N.lastIntValue;if(N.eat(45)&&this.regexp_eatClassAtom(N)){var Re=N.lastIntValue;N.switchU&&(ae===-1||Re===-1)&&N.raise("Invalid character class"),ae!==-1&&Re!==-1&&ae>Re&&N.raise("Range out of order in character class")}}},kt.regexp_eatClassAtom=function(N){var ae=N.pos;if(N.eat(92)){if(this.regexp_eatClassEscape(N))return!0;if(N.switchU){var Re=N.current();(Re===99||Qi(Re))&&N.raise("Invalid class escape"),N.raise("Invalid escape")}N.pos=ae}var Ve=N.current();return Ve!==93&&(N.lastIntValue=Ve,N.advance(),!0)},kt.regexp_eatClassEscape=function(N){var ae=N.pos;if(N.eat(98))return N.lastIntValue=8,!0;if(N.switchU&&N.eat(45))return N.lastIntValue=45,!0;if(!N.switchU&&N.eat(99)){if(this.regexp_eatClassControlLetter(N))return!0;N.pos=ae}return this.regexp_eatCharacterClassEscape(N)||this.regexp_eatCharacterEscape(N)},kt.regexp_classSetExpression=function(N){var ae,Re=1;if(!this.regexp_eatClassSetRange(N))if(ae=this.regexp_eatClassSetOperand(N)){ae===2&&(Re=2);for(var Ve=N.pos;N.eatChars([38,38]);){if(N.current()!==38&&(ae=this.regexp_eatClassSetOperand(N))){ae!==2&&(Re=1);continue}N.raise("Invalid character in character class")}if(Ve!==N.pos)return Re;for(;N.eatChars([45,45]);)this.regexp_eatClassSetOperand(N)||N.raise("Invalid character in character class");if(Ve!==N.pos)return Re}else N.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(N)){if(!(ae=this.regexp_eatClassSetOperand(N)))return Re;ae===2&&(Re=2)}},kt.regexp_eatClassSetRange=function(N){var ae=N.pos;if(this.regexp_eatClassSetCharacter(N)){var Re=N.lastIntValue;if(N.eat(45)&&this.regexp_eatClassSetCharacter(N)){var Ve=N.lastIntValue;return Re!==-1&&Ve!==-1&&Re>Ve&&N.raise("Range out of order in character class"),!0}N.pos=ae}return!1},kt.regexp_eatClassSetOperand=function(N){return this.regexp_eatClassSetCharacter(N)?1:this.regexp_eatClassStringDisjunction(N)||this.regexp_eatNestedClass(N)},kt.regexp_eatNestedClass=function(N){var ae=N.pos;if(N.eat(91)){var Re=N.eat(94),Ve=this.regexp_classContents(N);if(N.eat(93))return Re&&Ve===2&&N.raise("Negated character class may contain strings"),Ve;N.pos=ae}if(N.eat(92)){var pt=this.regexp_eatCharacterClassEscape(N);if(pt)return pt;N.pos=ae}return null},kt.regexp_eatClassStringDisjunction=function(N){var ae=N.pos;if(N.eatChars([92,113])){if(N.eat(123)){var Re=this.regexp_classStringDisjunctionContents(N);if(N.eat(125))return Re}else N.raise("Invalid escape");N.pos=ae}return null},kt.regexp_classStringDisjunctionContents=function(N){for(var ae=this.regexp_classString(N);N.eat(124);)this.regexp_classString(N)===2&&(ae=2);return ae},kt.regexp_classString=function(N){for(var ae=0;this.regexp_eatClassSetCharacter(N);)ae++;return ae===1?1:2},kt.regexp_eatClassSetCharacter=function(N){var ae=N.pos;if(N.eat(92))return!!(this.regexp_eatCharacterEscape(N)||this.regexp_eatClassSetReservedPunctuator(N))||(N.eat(98)?(N.lastIntValue=8,!0):(N.pos=ae,!1));var Re=N.current();return!(Re<0||Re===N.lookahead()&&an(Re)||Qn(Re))&&(N.advance(),N.lastIntValue=Re,!0)},kt.regexp_eatClassSetReservedPunctuator=function(N){var ae=N.current();return!!Wi(ae)&&(N.lastIntValue=ae,N.advance(),!0)},kt.regexp_eatClassControlLetter=function(N){var ae=N.current();return(!!kr(ae)||ae===95)&&(N.lastIntValue=ae%32,N.advance(),!0)},kt.regexp_eatHexEscapeSequence=function(N){var ae=N.pos;if(N.eat(120)){if(this.regexp_eatFixedHexDigits(N,2))return!0;N.switchU&&N.raise("Invalid escape"),N.pos=ae}return!1},kt.regexp_eatDecimalDigits=function(N){var ae=N.pos,Re=0;for(N.lastIntValue=0;kr(Re=N.current());)N.lastIntValue=10*N.lastIntValue+(Re-48),N.advance();return N.pos!==ae},kt.regexp_eatHexDigits=function(N){var ae=N.pos,Re=0;for(N.lastIntValue=0;ss(Re=N.current());)N.lastIntValue=16*N.lastIntValue+Vr(Re),N.advance();return N.pos!==ae},kt.regexp_eatLegacyOctalEscapeSequence=function(N){if(this.regexp_eatOctalDigit(N)){var ae=N.lastIntValue;if(this.regexp_eatOctalDigit(N)){var Re=N.lastIntValue;ae<=3&&this.regexp_eatOctalDigit(N)?N.lastIntValue=64*ae+8*Re+N.lastIntValue:N.lastIntValue=8*ae+Re}else N.lastIntValue=ae;return!0}return!1},kt.regexp_eatOctalDigit=function(N){var ae=N.current();return Qi(ae)?(N.lastIntValue=ae-48,N.advance(),!0):(N.lastIntValue=0,!1)},kt.regexp_eatFixedHexDigits=function(N,ae){var Re=N.pos;N.lastIntValue=0;for(var Ve=0;Ve<ae;++Ve){var pt=N.current();if(!ss(pt))return N.pos=Re,!1;N.lastIntValue=16*N.lastIntValue+Vr(pt),N.advance()}return!0};var $i=function(N){this.type=N.type,this.value=N.value,this.start=N.start,this.end=N.end,N.options.locations&&(this.loc=new Be(N,N.startLoc,N.endLoc)),N.options.ranges&&(this.range=[N.start,N.end])},Cn=Le.prototype;function Js(N,ae){return ae?parseInt(N,8):parseFloat(N.replace(/_/g,""))}function Ns(N){return typeof BigInt!="function"?null:BigInt(N.replace(/_/g,""))}Cn.next=function(N){!N&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new $i(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Cn.getToken=function(){return this.next(),new $i(this)},typeof Symbol<"u"&&(Cn[Symbol.iterator]=function(){var N=this;return{next:function(){var ae=N.getToken();return{done:ae.type===se.eof,value:ae}}}}),Cn.nextToken=function(){var N=this.curContext();return N&&N.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(se.eof):N.override?N.override(this):void this.readToken(this.fullCharCodeAtPos())},Cn.readToken=function(N){return Oe(N,this.options.ecmaVersion>=6)||N===92?this.readWord():this.getTokenFromCode(N)},Cn.fullCharCodeAtPos=function(){var N=this.input.charCodeAt(this.pos);if(N<=55295||N>=56320)return N;var ae=this.input.charCodeAt(this.pos+1);return ae<=56319||ae>=57344?N:(N<<10)+ae-56613888},Cn.skipBlockComment=function(){var N=this.options.onComment&&this.curPosition(),ae=this.pos,Re=this.input.indexOf("*/",this.pos+=2);if(Re===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=Re+2,this.options.locations)for(var Ve=void 0,pt=ae;(Ve=_t(this.input,pt,this.pos))>-1;)++this.curLine,pt=this.lineStart=Ve;this.options.onComment&&this.options.onComment(!0,this.input.slice(ae+2,Re),ae,this.pos,N,this.curPosition())},Cn.skipLineComment=function(N){for(var ae=this.pos,Re=this.options.onComment&&this.curPosition(),Ve=this.input.charCodeAt(this.pos+=N);this.pos<this.input.length&&!ft(Ve);)Ve=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(ae+N,this.pos),ae,this.pos,Re,this.curPosition())},Cn.skipSpace=function(){e:for(;this.pos<this.input.length;){var N=this.input.charCodeAt(this.pos);switch(N){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(N>8&&N<14||N>=5760&&Pt.test(String.fromCharCode(N)))++this.pos;else break e}}},Cn.finishToken=function(N,ae){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var Re=this.type;this.type=N,this.value=ae,this.updateContext(Re)},Cn.readToken_dot=function(){var N=this.input.charCodeAt(this.pos+1);if(N>=48&&N<=57)return this.readNumber(!0);var ae=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&N===46&&ae===46?(this.pos+=3,this.finishToken(se.ellipsis)):(++this.pos,this.finishToken(se.dot))},Cn.readToken_slash=function(){var N=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):N===61?this.finishOp(se.assign,2):this.finishOp(se.slash,1)},Cn.readToken_mult_modulo_exp=function(N){var ae=this.input.charCodeAt(this.pos+1),Re=1,Ve=N===42?se.star:se.modulo;return this.options.ecmaVersion>=7&&N===42&&ae===42&&(++Re,Ve=se.starstar,ae=this.input.charCodeAt(this.pos+2)),ae===61?this.finishOp(se.assign,Re+1):this.finishOp(Ve,Re)},Cn.readToken_pipe_amp=function(N){var ae=this.input.charCodeAt(this.pos+1);return ae===N?this.options.ecmaVersion>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(se.assign,3):this.finishOp(N===124?se.logicalOR:se.logicalAND,2):ae===61?this.finishOp(se.assign,2):this.finishOp(N===124?se.bitwiseOR:se.bitwiseAND,1)},Cn.readToken_caret=function(){return this.input.charCodeAt(this.pos+1)===61?this.finishOp(se.assign,2):this.finishOp(se.bitwiseXOR,1)},Cn.readToken_plus_min=function(N){var ae=this.input.charCodeAt(this.pos+1);return ae===N?ae===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||pe.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(se.incDec,2):ae===61?this.finishOp(se.assign,2):this.finishOp(se.plusMin,1)},Cn.readToken_lt_gt=function(N){var ae=this.input.charCodeAt(this.pos+1),Re=1;return ae===N?(Re=N===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+Re)===61?this.finishOp(se.assign,Re+1):this.finishOp(se.bitShift,Re)):ae!==33||N!==60||this.inModule||this.input.charCodeAt(this.pos+2)!==45||this.input.charCodeAt(this.pos+3)!==45?(ae===61&&(Re=2),this.finishOp(se.relational,Re)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Cn.readToken_eq_excl=function(N){var ae=this.input.charCodeAt(this.pos+1);return ae===61?this.finishOp(se.equality,this.input.charCodeAt(this.pos+2)===61?3:2):N===61&&ae===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(se.arrow)):this.finishOp(N===61?se.eq:se.prefix,1)},Cn.readToken_question=function(){var N=this.options.ecmaVersion;if(N>=11){var ae=this.input.charCodeAt(this.pos+1);if(ae===46){var Re=this.input.charCodeAt(this.pos+2);if(Re<48||Re>57)return this.finishOp(se.questionDot,2)}if(ae===63)return N>=12&&this.input.charCodeAt(this.pos+2)===61?this.finishOp(se.assign,3):this.finishOp(se.coalesce,2)}return this.finishOp(se.question,1)},Cn.readToken_numberSign=function(){var N=this.options.ecmaVersion,ae=35;if(N>=13&&(++this.pos,Oe(ae=this.fullCharCodeAtPos(),!0)||ae===92))return this.finishToken(se.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+le(ae)+"'")},Cn.getTokenFromCode=function(N){switch(N){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(se.parenL);case 41:return++this.pos,this.finishToken(se.parenR);case 59:return++this.pos,this.finishToken(se.semi);case 44:return++this.pos,this.finishToken(se.comma);case 91:return++this.pos,this.finishToken(se.bracketL);case 93:return++this.pos,this.finishToken(se.bracketR);case 123:return++this.pos,this.finishToken(se.braceL);case 125:return++this.pos,this.finishToken(se.braceR);case 58:return++this.pos,this.finishToken(se.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(se.backQuote);case 48:var ae=this.input.charCodeAt(this.pos+1);if(ae===120||ae===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(ae===111||ae===79)return this.readRadixNumber(8);if(ae===98||ae===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(N);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(N);case 124:case 38:return this.readToken_pipe_amp(N);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(N);case 60:case 62:return this.readToken_lt_gt(N);case 61:case 33:return this.readToken_eq_excl(N);case 63:return this.readToken_question();case 126:return this.finishOp(se.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+le(N)+"'")},Cn.finishOp=function(N,ae){var Re=this.input.slice(this.pos,this.pos+ae);return this.pos+=ae,this.finishToken(N,Re)},Cn.readRegexp=function(){for(var N,ae,Re=this.pos;;){this.pos>=this.input.length&&this.raise(Re,"Unterminated regular expression");var Ve=this.input.charAt(this.pos);if(pe.test(Ve)&&this.raise(Re,"Unterminated regular expression"),N)N=!1;else{if(Ve==="[")ae=!0;else if(Ve==="]"&&ae)ae=!1;else if(Ve==="/"&&!ae)break;N=Ve==="\\"}++this.pos}var pt=this.input.slice(Re,this.pos);++this.pos;var Ct=this.pos,Bt=this.readWord1();this.containsEsc&&this.unexpected(Ct);var nr=this.regexpState||(this.regexpState=new _r(this));nr.reset(Re,pt,Bt),this.validateRegExpFlags(nr),this.validateRegExpPattern(nr);var Dr=null;try{Dr=new RegExp(pt,Bt)}catch{}return this.finishToken(se.regexp,{pattern:pt,flags:Bt,value:Dr})},Cn.readInt=function(N,ae,Re){for(var Ve=this.options.ecmaVersion>=12&&ae===void 0,pt=Re&&this.input.charCodeAt(this.pos)===48,Ct=this.pos,Bt=0,nr=0,Dr=0,Jr=ae??1/0;Dr<Jr;++Dr,++this.pos){var kn=this.input.charCodeAt(this.pos),ei=void 0;if(Ve&&kn===95){pt&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),nr===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),Dr===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),nr=kn;continue}if((ei=kn>=97?kn-97+10:kn>=65?kn-65+10:kn>=48&&kn<=57?kn-48:1/0)>=N)break;nr=kn,Bt=Bt*N+ei}return Ve&&nr===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===Ct||ae!=null&&this.pos-Ct!==ae?null:Bt},Cn.readRadixNumber=function(N){var ae=this.pos;this.pos+=2;var Re=this.readInt(N);return Re==null&&this.raise(this.start+2,"Expected number in radix "+N),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(Re=Ns(this.input.slice(ae,this.pos)),++this.pos):Oe(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(se.num,Re)},Cn.readNumber=function(N){var ae=this.pos;N||this.readInt(10,void 0,!0)!==null||this.raise(ae,"Invalid number");var Re=this.pos-ae>=2&&this.input.charCodeAt(ae)===48;Re&&this.strict&&this.raise(ae,"Invalid number");var Ve=this.input.charCodeAt(this.pos);if(!Re&&!N&&this.options.ecmaVersion>=11&&Ve===110){var pt=Ns(this.input.slice(ae,this.pos));return++this.pos,Oe(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(se.num,pt)}Re&&/[89]/.test(this.input.slice(ae,this.pos))&&(Re=!1),Ve!==46||Re||(++this.pos,this.readInt(10),Ve=this.input.charCodeAt(this.pos)),Ve!==69&&Ve!==101||Re||(((Ve=this.input.charCodeAt(++this.pos))===43||Ve===45)&&++this.pos,this.readInt(10)===null&&this.raise(ae,"Invalid number")),Oe(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var Ct=Js(this.input.slice(ae,this.pos),Re);return this.finishToken(se.num,Ct)},Cn.readCodePoint=function(){var N;if(this.input.charCodeAt(this.pos)===123){this.options.ecmaVersion<6&&this.unexpected();var ae=++this.pos;N=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,N>1114111&&this.invalidStringToken(ae,"Code point out of bounds")}else N=this.readHexChar(4);return N},Cn.readString=function(N){for(var ae="",Re=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var Ve=this.input.charCodeAt(this.pos);if(Ve===N)break;Ve===92?(ae+=this.input.slice(Re,this.pos),ae+=this.readEscapedChar(!1),Re=this.pos):Ve===8232||Ve===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(ft(Ve)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return ae+=this.input.slice(Re,this.pos++),this.finishToken(se.string,ae)};var Ur={};Cn.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(N){if(N===Ur)this.readInvalidTemplateToken();else throw N}this.inTemplateElement=!1},Cn.invalidStringToken=function(N,ae){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Ur;this.raise(N,ae)},Cn.readTmplToken=function(){for(var N="",ae=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var Re=this.input.charCodeAt(this.pos);if(Re===96||Re===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===se.template||this.type===se.invalidTemplate)?Re===36?(this.pos+=2,this.finishToken(se.dollarBraceL)):(++this.pos,this.finishToken(se.backQuote)):(N+=this.input.slice(ae,this.pos),this.finishToken(se.template,N));if(Re===92)N+=this.input.slice(ae,this.pos),N+=this.readEscapedChar(!0),ae=this.pos;else if(ft(Re)){switch(N+=this.input.slice(ae,this.pos),++this.pos,Re){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:N+=`
|
|
`;break;default:N+=String.fromCharCode(Re)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),ae=this.pos}else++this.pos}},Cn.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(se.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]===`
|
|
`&&++this.pos;case`
|
|
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},Cn.readEscapedChar=function(N){var ae=this.input.charCodeAt(++this.pos);switch(++this.pos,ae){case 110:return`
|
|
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return le(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"),N){var Re=this.pos-1;this.invalidStringToken(Re,"Invalid escape sequence in template string")}default:if(ae>=48&&ae<=55){var Ve=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],pt=parseInt(Ve,8);return pt>255&&(pt=parseInt(Ve=Ve.slice(0,-1),8)),this.pos+=Ve.length-1,ae=this.input.charCodeAt(this.pos),(Ve!=="0"||ae===56||ae===57)&&(this.strict||N)&&this.invalidStringToken(this.pos-1-Ve.length,N?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(pt)}return ft(ae)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(ae)}},Cn.readHexChar=function(N){var ae=this.pos,Re=this.readInt(16,N);return Re===null&&this.invalidStringToken(ae,"Bad character escape sequence"),Re},Cn.readWord1=function(){this.containsEsc=!1;for(var N="",ae=!0,Re=this.pos,Ve=this.options.ecmaVersion>=6;this.pos<this.input.length;){var pt=this.fullCharCodeAtPos();if(de(pt,Ve))this.pos+=pt<=65535?1:2;else if(pt===92){this.containsEsc=!0,N+=this.input.slice(Re,this.pos);var Ct=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var Bt=this.readCodePoint();(ae?Oe:de)(Bt,Ve)||this.invalidStringToken(Ct,"Invalid Unicode escape"),N+=le(Bt),Re=this.pos}else break;ae=!1}return N+this.input.slice(Re,this.pos)},Cn.readWord=function(){var N=this.readWord1(),ae=se.name;return this.keywords.test(N)&&(ae=Te[N]),this.finishToken(ae,N)},Le.acorn={Parser:Le,version:"8.15.0",defaultOptions:ce,Position:Ee,SourceLocation:Be,getLineInfo:Qe,Node:xr,TokenType:xe,tokTypes:se,keywordTypes:Te,TokContext:Yr,tokContexts:gr,isIdentifierChar:de,isIdentifierStart:Oe,Token:$i,isNewLine:ft,lineBreak:pe,lineBreakG:nt,nonASCIIwhitespace:Pt};let Zi=hr("node:module");hr("node:fs");let He=hr("node:url"),T=hr("node:assert");hr("node:process"),hr("node:path");let I=hr("node:v8"),H=hr("node:util");function re(N){return N.replace(/\\/g,"/")}Zi.builtinModules;let we={}.hasOwnProperty,qe=/^([A-Z][a-z\d]*)+$/,it=new Set(["string","function","number","object","Function","Object","boolean","bigint","symbol"]),ot={};function mt(N,ae="and"){return N.length<3?N.join(` ${ae} `):`${N.slice(0,-1).join(", ")}, ${ae} ${N[N.length-1]}`}let jt=new Map;function Zt(N,ae,Re){return jt.set(N,ae),Br(Re,N)}function Br(N,ae){return Re;function Re(...Ve){let pt=Error.stackTraceLimit;Er()&&(Error.stackTraceLimit=0);let Ct=new N;Er()&&(Error.stackTraceLimit=pt);let Bt=Wn(ae,Ve,Ct);return Object.defineProperties(Ct,{message:{value:Bt,enumerable:!1,writable:!0,configurable:!0},toString:{value(){return`${this.name} [${ae}]: ${this.message}`},enumerable:!1,writable:!0,configurable:!0}}),rn(Ct),Ct.code=ae,Ct}}function Er(){try{if(I.startupSnapshot.isBuildingSnapshot())return!1}catch{}let N=Object.getOwnPropertyDescriptor(Error,"stackTraceLimit");return N===void 0?Object.isExtensible(Error):we.call(N,"writable")&&N.writable!==void 0?N.writable:N.set!==void 0}ot.ERR_INVALID_ARG_TYPE=Zt("ERR_INVALID_ARG_TYPE",(N,ae,Re)=>{T(typeof N=="string","'name' must be a string"),Array.isArray(ae)||(ae=[ae]);let Ve="The ";if(N.endsWith(" argument"))Ve+=`${N} `;else{let nr=N.includes(".")?"property":"argument";Ve+=`"${N}" ${nr} `}Ve+="must be ";let pt=[],Ct=[],Bt=[];for(let nr of ae)T(typeof nr=="string","All expected entries have to be of type string"),it.has(nr)?pt.push(nr.toLowerCase()):qe.exec(nr)===null?(T(nr!=="object",'The value "object" should be written as "Object"'),Bt.push(nr)):Ct.push(nr);if(Ct.length>0){let nr=pt.indexOf("object");nr!==-1&&(pt.slice(nr,1),Ct.push("Object"))}return pt.length>0&&(Ve+=`${pt.length>1?"one of type":"of type"} ${mt(pt,"or")}`,(Ct.length>0||Bt.length>0)&&(Ve+=" or ")),Ct.length>0&&(Ve+=`an instance of ${mt(Ct,"or")}`,Bt.length>0&&(Ve+=" or ")),Bt.length>0&&(Bt.length>1?Ve+=`one of ${mt(Bt,"or")}`:(Bt[0].toLowerCase()!==Bt[0]&&(Ve+="an "),Ve+=`${Bt[0]}`)),Ve+=`. Received ${Un(Re)}`},TypeError),ot.ERR_INVALID_MODULE_SPECIFIER=Zt("ERR_INVALID_MODULE_SPECIFIER",(N,ae,Re)=>`Invalid module "${N}" ${ae}${Re?` imported from ${Re}`:""}`,TypeError),ot.ERR_INVALID_PACKAGE_CONFIG=Zt("ERR_INVALID_PACKAGE_CONFIG",(N,ae,Re)=>`Invalid package config ${N}${ae?` while importing ${ae}`:""}${Re?`. ${Re}`:""}`,Error),ot.ERR_INVALID_PACKAGE_TARGET=Zt("ERR_INVALID_PACKAGE_TARGET",(N,ae,Re,Ve=!1,pt)=>{let Ct=typeof Re=="string"&&!Ve&&Re.length>0&&!Re.startsWith("./");return ae==="."?(T(Ve===!1),`Invalid "exports" main target ${JSON.stringify(Re)} defined in the package config ${N}package.json${pt?` imported from ${pt}`:""}${Ct?'; targets must start with "./"':""}`):`Invalid "${Ve?"imports":"exports"}" target ${JSON.stringify(Re)} defined for '${ae}' in the package config ${N}package.json${pt?` imported from ${pt}`:""}${Ct?'; targets must start with "./"':""}`},Error),ot.ERR_MODULE_NOT_FOUND=Zt("ERR_MODULE_NOT_FOUND",(N,ae,Re=!1)=>`Cannot find ${Re?"module":"package"} '${N}' imported from ${ae}`,Error),ot.ERR_NETWORK_IMPORT_DISALLOWED=Zt("ERR_NETWORK_IMPORT_DISALLOWED","import of '%s' by %s is not supported: %s",Error),ot.ERR_PACKAGE_IMPORT_NOT_DEFINED=Zt("ERR_PACKAGE_IMPORT_NOT_DEFINED",(N,ae,Re)=>`Package import specifier "${N}" is not defined${ae?` in package ${ae}package.json`:""} imported from ${Re}`,TypeError),ot.ERR_PACKAGE_PATH_NOT_EXPORTED=Zt("ERR_PACKAGE_PATH_NOT_EXPORTED",(N,ae,Re)=>ae==="."?`No "exports" main defined in ${N}package.json${Re?` imported from ${Re}`:""}`:`Package subpath '${ae}' is not defined by "exports" in ${N}package.json${Re?` imported from ${Re}`:""}`,Error),ot.ERR_UNSUPPORTED_DIR_IMPORT=Zt("ERR_UNSUPPORTED_DIR_IMPORT","Directory import '%s' is not supported resolving ES modules imported from %s",Error),ot.ERR_UNSUPPORTED_RESOLVE_REQUEST=Zt("ERR_UNSUPPORTED_RESOLVE_REQUEST",'Failed to resolve module specifier "%s" from "%s": Invalid relative URL or base scheme is not hierarchical.',TypeError),ot.ERR_UNKNOWN_FILE_EXTENSION=Zt("ERR_UNKNOWN_FILE_EXTENSION",(N,ae)=>`Unknown file extension "${N}" for ${ae}`,TypeError),ot.ERR_INVALID_ARG_VALUE=Zt("ERR_INVALID_ARG_VALUE",(N,ae,Re="is invalid")=>{let Ve=(0,H.inspect)(ae);return Ve.length>128&&(Ve=`${Ve.slice(0,128)}...`),`The ${N.includes(".")?"property":"argument"} '${N}' ${Re}. Received ${Ve}`},TypeError);let rn=(e="__node_internal_"+(l=function(N){let ae=Er();return ae&&(u=Error.stackTraceLimit,Error.stackTraceLimit=1/0),Error.captureStackTrace(N),ae&&(Error.stackTraceLimit=u),N}).name,Object.defineProperty(l,"name",{value:e}),l);function Wn(N,ae,Re){let Ve=jt.get(N);if(T(Ve!==void 0,"expected `message` to be found"),typeof Ve=="function")return T(Ve.length<=ae.length,`Code: ${N}; The provided arguments length (${ae.length}) does not match the required ones (${Ve.length}).`),Reflect.apply(Ve,Re,ae);let pt=/%[dfijoOs]/g,Ct=0;for(;pt.exec(Ve)!==null;)Ct++;return T(Ct===ae.length,`Code: ${N}; The provided arguments length (${ae.length}) does not match the required ones (${Ct}).`),ae.length===0?Ve:(ae.unshift(Ve),Reflect.apply(H.format,null,ae))}function Un(N){if(N==null)return String(N);if(typeof N=="function"&&N.name)return`function ${N.name}`;if(typeof N=="object")return N.constructor&&N.constructor.name?`an instance of ${N.constructor.name}`:`${(0,H.inspect)(N,{depth:-1})}`;let ae=(0,H.inspect)(N,{colors:!1});return ae.length>28&&(ae=`${ae.slice(0,25)}...`),`type ${typeof N} (${ae})`}let{ERR_INVALID_PACKAGE_CONFIG:Fn}=ot,{ERR_UNKNOWN_FILE_EXTENSION:hi}=ot;RegExp.prototype[Symbol.replace];let{ERR_INVALID_MODULE_SPECIFIER:Ue,ERR_INVALID_PACKAGE_CONFIG:g,ERR_INVALID_PACKAGE_TARGET:P,ERR_MODULE_NOT_FOUND:J,ERR_PACKAGE_IMPORT_NOT_DEFINED:ne,ERR_PACKAGE_PATH_NOT_EXPORTED:Fe,ERR_UNSUPPORTED_DIR_IMPORT:Xe,ERR_UNSUPPORTED_RESOLVE_REQUEST:lt}=ot;function dt(N){return typeof N!="string"||N.startsWith("file://")?re((0,He.fileURLToPath)(N)):re(N)}function bt(N){return(0,He.pathToFileURL)(dt(N)).toString()}function Lt(N,ae){return{name:"import-meta-paths",visitor:{Program(Re){let Ve=[],pt=[],Ct=[];for(let Bt of(Re.traverse({MemberExpression(nr){let{node:Dr}=nr;if(Dr.object.type==="MetaProperty"&&Dr.object.meta.name==="import"&&Dr.object.property.name==="meta"&&Dr.property.type==="Identifier")switch(Dr.property.name){case"url":Ve.push(nr);break;case"dirname":pt.push(nr);break;case"filename":Ct.push(nr)}}}),Ve))Bt.replaceWith(V.smart.ast`${ae.filename?JSON.stringify(bt(ae.filename)):"require('url').pathToFileURL(__filename).toString()"}`);for(let Bt of pt)Bt.replaceWith(V.smart.ast`${ae.filename?JSON.stringify(W(dt(bt(ae.filename)))):"__dirname"}`);for(let Bt of Ct)Bt.replaceWith(V.smart.ast`${ae.filename?JSON.stringify(dt(bt(ae.filename))):"__filename"}`)}}}}var ur=s("./node_modules/.pnpm/@babel+helper-module-imports@7.27.1/node_modules/@babel/helper-module-imports/lib/index.js"),$r=s("./node_modules/.pnpm/@babel+helper-module-transforms@7.28.3_@babel+core@7.28.4/node_modules/@babel/helper-module-transforms/lib/index.js"),Kr=s("./node_modules/.pnpm/@babel+helper-simple-access@7.27.1/node_modules/@babel/helper-simple-access/lib/index.js");function Dn(N,ae,Re){N.replaceWith((0,$r.buildDynamicImport)(N.node,!0,!1,Ve=>{let pt;return pt=n.template.expression.ast`jitiImport(${Ve})`,ae?pt:n.types.callExpression(n.types.memberExpression(pt,n.types.identifier("then")),[n.types.arrowFunctionExpression([n.types.identifier("m")],n.types.callExpression(Re.addHelper("interopRequireWildcard"),[n.types.identifier("m")]))])}))}let Zn="@babel/plugin-transform-modules-commonjs/customWrapperPlugin";function Di(N,ae){let Re=N.get(Zn);Re||N.set(Zn,Re=[]),Re.push(ae)}function yi(N,ae){if(N)for(let Re of N){let Ve=ae(Re);if(Ve!=null)return Ve}}function as(N){let ae=N.get(Zn);return{getWrapperPayload:(...Re)=>yi(ae,Ve=>{var pt;return(pt=Ve.getWrapperPayload)==null?void 0:pt.call(Ve,...Re)}),wrapReference:(...Re)=>yi(ae,Ve=>{var pt;return(pt=Ve.wrapReference)==null?void 0:pt.call(Ve,...Re)}),buildRequireWrapper:(...Re)=>yi(ae,Ve=>{var pt;return(pt=Ve.buildRequireWrapper)==null?void 0:pt.call(Ve,...Re)})}}let xa=(0,y.declare)((N,ae)=>{let{strictNamespace:Re=!1,mjsStrictNamespace:Ve=Re,allowTopLevelThis:pt,strict:Ct,strictMode:Bt,noInterop:nr,importInterop:Dr,lazy:Jr=!1,allowCommonJSExports:kn=!0,loose:ei=!1,async:Mi=!1}=ae,vs=N.assumption("constantReexports")??ei,xs=N.assumption("enumerableModuleMeta")??ei,ca=N.assumption("noIncompleteNsImportDetection")??!1;if(typeof Jr!="boolean"&&typeof Jr!="function"&&(!Array.isArray(Jr)||!Jr.every(pn=>typeof pn=="string")))throw Error(".lazy must be a boolean, array of strings, or a function");if(typeof Re!="boolean")throw TypeError(".strictNamespace must be a boolean, or undefined");if(typeof Ve!="boolean")throw TypeError(".mjsStrictNamespace must be a boolean, or undefined");let Ki=pn=>n.template.expression.ast`
|
|
(function(){
|
|
throw new Error(
|
|
"The CommonJS '" + "${pn}" + "' variable is not available in ES6 modules." +
|
|
"Consider setting setting sourceType:script or sourceType:unambiguous in your " +
|
|
"Babel config for this file.");
|
|
})()
|
|
`,Us={ReferencedIdentifier(pn){let Gn=pn.node.name;if(Gn!=="module"&&Gn!=="exports")return;let Ei=pn.scope.getBinding(Gn);this.scope.getBinding(Gn)!==Ei||pn.parentPath.isObjectProperty({value:pn.node})&&pn.parentPath.parentPath.isObjectPattern()||pn.parentPath.isAssignmentExpression({left:pn.node})||pn.isAssignmentExpression({left:pn.node})||pn.replaceWith(Ki(Gn))},UpdateExpression(pn){let Gn=pn.get("argument");if(!Gn.isIdentifier())return;let Ei=Gn.node.name;if(Ei!=="module"&&Ei!=="exports")return;let Ii=pn.scope.getBinding(Ei);this.scope.getBinding(Ei)===Ii&&pn.replaceWith(n.types.assignmentExpression(pn.node.operator[0]+"=",Gn.node,Ki(Ei)))},AssignmentExpression(pn){let Gn=pn.get("left");if(Gn.isIdentifier()){let Ei=Gn.node.name;if(Ei!=="module"&&Ei!=="exports")return;let Ii=pn.scope.getBinding(Ei);if(this.scope.getBinding(Ei)!==Ii)return;let Xs=pn.get("right");Xs.replaceWith(n.types.sequenceExpression([Xs.node,Ki(Ei)]))}else if(Gn.isPattern()){let Ei=Object.keys(Gn.getOuterBindingIdentifiers()).find(Ii=>(Ii==="module"||Ii==="exports")&&this.scope.getBinding(Ii)===pn.scope.getBinding(Ii));if(Ei){let Ii=pn.get("right");Ii.replaceWith(n.types.sequenceExpression([Ii.node,Ki(Ei)]))}}}};return{name:"transform-modules-commonjs",pre(){this.file.set("@babel/plugin-transform-modules-*","commonjs"),Jr&&Di(this.file,{name:"babel-plugin-transform-modules-commonjs/lazy",version:"7.24.7",getWrapperPayload:(pn,Gn)=>(0,$r.isSideEffectImport)(Gn)||Gn.reexportAll?null:Jr===!0?pn.includes(".")?null:"lazy/function":Array.isArray(Jr)?Jr.includes(pn)?"lazy/function":null:typeof Jr=="function"?Jr(pn)?"lazy/function":null:void 0,buildRequireWrapper(pn,Gn,Ei,Ii){if(Ei==="lazy/function")return!!Ii&&n.template.statement.ast`
|
|
function ${pn}() {
|
|
const data = ${Gn};
|
|
${pn} = function(){ return data; };
|
|
return data;
|
|
}
|
|
`},wrapReference(pn,Gn){if(Gn==="lazy/function")return n.types.callExpression(pn,[])}})},visitor:{["CallExpression"+(N.types.importExpression?"|ImportExpression":"")](pn){if(pn.isCallExpression()&&!n.types.isImport(pn.node.callee))return;let{scope:Gn}=pn;do Gn.rename("require");while(Gn=Gn.parent);Dn(pn,nr,this.file)},Program:{exit(pn,Gn){if(!(0,ur.isModule)(pn))return;pn.scope.rename("exports"),pn.scope.rename("module"),pn.scope.rename("require"),pn.scope.rename("__filename"),pn.scope.rename("__dirname"),kn||(process.env.BABEL_8_BREAKING?(0,Kr.default)(pn,new Set(["module","exports"])):(0,Kr.default)(pn,new Set(["module","exports"]),!1),pn.traverse(Us,{scope:pn.scope}));let Ei=(0,$r.getModuleName)(this.file.opts,ae);Ei&&(Ei=n.types.stringLiteral(Ei));let Ii=as(this.file),{meta:Xs,headers:Ta}=(0,$r.rewriteModuleStatementsAndPrepareHeader)(pn,{exportName:"exports",constantReexports:vs,enumerableModuleMeta:xs,strict:Ct,strictMode:Bt,allowTopLevelThis:pt,noInterop:nr,importInterop:Dr,wrapReference:Ii.wrapReference,getWrapperPayload:Ii.getWrapperPayload,esNamespaceOnly:typeof Gn.filename=="string"&&/\.mjs$/.test(Gn.filename)?Ve:Re,noIncompleteNsImportDetection:ca,filename:this.file.opts.filename});for(let[Ys,Fs]of Xs.source){let pa,Qs=Mi?n.types.awaitExpression(n.types.callExpression(n.types.identifier("jitiImport"),[n.types.stringLiteral(Ys)])):n.types.callExpression(n.types.identifier("require"),[n.types.stringLiteral(Ys)]);if((0,$r.isSideEffectImport)(Fs)){if(Jr&&Fs.wrap==="function")throw Error("Assertion failure");pa=n.types.expressionStatement(Qs)}else{let Zs=(0,$r.wrapInterop)(pn,Qs,Fs.interop)||Qs;if(Fs.wrap){let Ja=Ii.buildRequireWrapper(Fs.name,Zs,Fs.wrap,Fs.referenced);if(Ja===!1)continue;pa=Ja}pa??(pa=n.template.statement.ast`
|
|
var ${Fs.name} = ${Zs};
|
|
`)}pa.loc=Fs.loc,Ta.push(pa,...(0,$r.buildNamespaceInitStatements)(Xs,Fs,vs,Ii.wrapReference))}(0,$r.ensureStatementsHoisted)(Ta),pn.unshiftContainer("body",Ta),pn.get("body").forEach(Ys=>{Ta.includes(Ys.node)&&Ys.isVariableDeclaration()&&Ys.scope.registerDeclaration(Ys)})}}}}});function ua(N){var Re,Ve,pt,Ct,Bt,nr;let ae={babelrc:!1,configFile:!1,compact:!1,retainLines:typeof N.retainLines!="boolean"||N.retainLines,filename:"",cwd:"/",...N.babel,plugins:[[xa,{allowTopLevelThis:!0,noInterop:!N.interopDefault,async:N.async}],[Lt,{filename:N.filename}],[R],[G],[p.default],[h.default]]};N.jsx&&ae.plugins.push([o.default],[d.default,Object.assign({},N.jsx)]),N.ts&&(ae.plugins.push([f.default,{allowDeclareFields:!0,isTSX:N.jsx&&/\.[cm]?tsx$/.test(N.filename||"")}]),ae.plugins.unshift([C],[c.default,{legacy:!0}]),ae.plugins.push(m(),i.default)),N.babel&&Array.isArray(N.babel.plugins)&&((Re=ae.plugins)==null||Re.push(...N.babel.plugins));try{return{code:((Ve=(0,n.transformSync)(N.source,ae))==null?void 0:Ve.code)||""}}catch(Dr){return{error:Dr,code:"exports.__JITI_ERROR__ = "+JSON.stringify({filename:N.filename,line:((pt=Dr.loc)==null?void 0:pt.line)||0,column:((Ct=Dr.loc)==null?void 0:Ct.column)||0,code:(Bt=Dr.code)==null?void 0:Bt.replace("BABEL_","").replace("PARSE_ERROR","ParseError"),message:(nr=Dr.message)==null?void 0:nr.replace("/: ","").replace(/\(.+\)\s*$/,"")})}}}})(),FR.exports=a.default})()});var xB=yo(Uo(),1),TB=yo(Q_(),1),EB=yo(nA(),1),Kb=yo(dP(),1);import*as SB from"prettier/plugins/angular";import*as wB from"prettier/plugins/babel";import*as Ll from"node:path";import{pathToFileURL as Ooe}from"node:url";import{dirname as hP,resolve as fP}from"path";import{readdirSync as Y5,statSync as Q5}from"fs";function mP(t,r){let s=fP(".",t),a;for(Q5(s).isDirectory()||(s=hP(s));;){if(a=r(s,Y5(s)),a)return fP(s,a);if(s=hP(a=s),a===s)break}}import Noe from"prettier";var am=new Set;function o0(t,r,...s){am.has(t)||(am.add(t),console.warn(r,...s))}function Wl(t,r,...s){am.has(t)||(am.add(t),console.error(r,...s))}function Fc(t){let r=new Map;return{get(s){let a=r.get(s);if(a&&a.expiration>new Date)return a.value;r.delete(s)},remember(s,a){let u=r.get(s);if(u&&u.expiration>new Date)return u.value;r.delete(s);let e=a();return this.set(s,e),e},set(s,a){let u=new Date;u.setMilliseconds(u.getMilliseconds()+t),r.set(s,{value:a,expiration:u})}}}var $c=yo(bD(),1);import _U from"node:fs";import{fileURLToPath as AU}from"node:url";var J0=new $c.CachedInputFileSystem(_U,3e4),PU=$c.ResolverFactory.createResolver({fileSystem:J0,useSyncFileSystemCalls:!0,extensions:[".mjs",".js"],mainFields:["module"],conditionNames:["node","import"]}),CU=$c.ResolverFactory.createResolver({fileSystem:J0,useSyncFileSystemCalls:!0,extensions:[".js",".cjs"],mainFields:["main"],conditionNames:["node","require"]}),kU=$c.ResolverFactory.createResolver({fileSystem:J0,useSyncFileSystemCalls:!0,extensions:[".css"],mainFields:["style"],conditionNames:["style"]}),G0=Fc(3e4);function X0(t){let r=G0.get(t);if(r===void 0)try{r=Vc(AU(import.meta.url),t),G0.set(t,r)}catch{return G0.set(t,null),null}return r}async function gD(t){if(X0(t)){let s=await import(t);return s.default??s}return null}function Vc(t,r){try{return PU.resolveSync({},t,r)||r}catch{return CU.resolveSync({},t,r)||r}}function vD(t,r){return kU.resolveSync({},t,r)||r}var wR=yo(ND(),1),_R=yo(Xx(),1),AR=yo(fy(),1),PR=yo(rR(),1),CR=yo(ER(),1);import*as Uh from"node:path";function Ol(t,r){function s(e,l,n){if(typeof r=="function"){if(r(e,l,n)===!1)return}else if(e.type in r&&r[e.type](e,l,n)===!1)return;let c=Object.keys(e);for(let p=0;p<c.length;p++){let i=e[c[p]];if(Array.isArray(i)){for(let o=0;o<i.length;o++)if(i[o]!==null){let h={...n},d=[{node:i[o],parent:e,key:c[p],index:o,meta:h},...l];s(i[o],d,h)}}else if(typeof(i==null?void 0:i.type)=="string"){let o={...n},h=[{node:i,parent:e,key:c[p],index:p,meta:o},...l];s(i,h,o)}}}let a={};s(t,[{node:t,parent:null,key:null,index:null,meta:a}],a)}function hb(t,r){if(!r[0])return t;r.sort((u,e)=>u.end-e.end||u.start-e.start);let s="",a=r[0];s+=t.slice(0,a.start),s+=a.after;for(let u=1;u<r.length;++u){let e=r[u];s+=t.slice(a.end,e.start),s+=e.after,a=e}return s+=t.slice(a.end),s}function fb(t){return+(t>0n)-+(t<0n)}function SR(t,r){let s=t.tailwindConfig.prefix;return typeof s=="function"?s(r):s+r}async function qS(t,r){let s=AR.createContext,a=_R.generateRules,u=CR.default,e=PR.default,l={content:[]};try{t&&(u=hr(Uh.join(t,"resolveConfig")),s=hr(Uh.join(t,"lib/lib/setupContextUtils")).createContext,a=hr(Uh.join(t,"lib/lib/generateRules")).generateRules,e=hr(Uh.join(t,"loadConfig")))}catch{}try{if(r){(0,wR.default)(r);let p=e(r);l=p.default??p}}catch(p){throw console.error(`Unable to load your Tailwind CSS v3 config: ${r}`),p}l.content=["no-op"];let n=s(u(l));function c(p){var h;let i=new Set([SR(n,"group"),SR(n,"peer")]),o=[];for(let d of p){let f=((h=a(new Set([d]),n).sort(([b],[m])=>fb(m-b))[0])==null?void 0:h[0])??null;f===null&&i.has(d)&&(f=n.layerOrder.components),o.push([d,f])}return o}return n.getClassOrder??(n.getClassOrder=c),{getClassOrder:p=>n.getClassOrder?n.getClassOrder(p):c(p)}}import*as _w from"node:fs/promises";import*as Ip from"node:path";import{pathToFileURL as Ioe}from"node:url";var LR=yo(DR(),1);import{createRequire as xse}from"node:module";function Tse(t){throw t}var Ese=t=>import(t),KS;function Sse(...t){return KS||(KS=jR()),KS(...t)}function RR(t,r={}){return r.transform||(r={...r,transform:Sse}),(0,LR.default)(t,r,{onError:Tse,nativeImport:Ese,createRequire:xse})}var xw={};Ow(xw,{Features:()=>gw,Polyfills:()=>bw,__unstable__loadDesignSystem:()=>sB,compile:()=>iB,compileAst:()=>vw,default:()=>aB});var mb={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};var wse=new Set(["black","silver","gray","white","maroon","red","purple","fuchsia","green","lime","olive","yellow","navy","blue","teal","aqua","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen","transparent","currentcolor","canvas","canvastext","linktext","visitedtext","activetext","buttonface","buttontext","buttonborder","field","fieldtext","highlight","highlighttext","selecteditem","selecteditemtext","mark","marktext","graytext","accentcolor","accentcolortext"]),_se=/^(rgba?|hsla?|hwb|color|(ok)?(lab|lch)|light-dark|color-mix)\(/i;function Ase(t){return t.charCodeAt(0)===35||_se.test(t)||wse.has(t.toLowerCase())}var HS=["calc","min","max","clamp","mod","rem","sin","cos","tan","asin","acos","atan","atan2","pow","sqrt","hypot","log","exp","round"];function gb(t){return t.indexOf("(")!==-1&&HS.some(r=>t.includes(`${r}(`))}function UR(t){if(!HS.some(e=>t.includes(e)))return t;let r="",s=[],a=null,u=null;for(let e=0;e<t.length;e++){let l=t.charCodeAt(e);if(l>=48&&l<=57||a!==null&&(l===37||l>=97&&l<=122||l>=65&&l<=90)?a=e:(u=a,a=null),l===40){r+=t[e];let n=e;for(let p=e-1;p>=0;p--){let i=t.charCodeAt(p);if(i>=48&&i<=57)n=p;else if(i>=97&&i<=122)n=p;else break}let c=t.slice(n,e);if(HS.includes(c)){s.unshift(!0);continue}else if(s[0]&&c===""){s.unshift(!0);continue}s.unshift(!1);continue}else if(l===41)r+=t[e],s.shift();else if(l===44&&s[0]){r+=", ";continue}else{if(l===32&&s[0]&&r.charCodeAt(r.length-1)===32)continue;if((l===43||l===42||l===47||l===45)&&s[0]){let n=r.trimEnd(),c=n.charCodeAt(n.length-1),p=n.charCodeAt(n.length-2),i=t.charCodeAt(e+1);if((c===101||c===69)&&p>=48&&p<=57){r+=t[e];continue}else if(c===43||c===42||c===47||c===45){r+=t[e];continue}else if(c===40||c===44){r+=t[e];continue}else t.charCodeAt(e-1)===32?r+=`${t[e]} `:c>=48&&c<=57||i>=48&&i<=57||c===41||i===40||i===43||i===42||i===47||i===45||u!==null&&u===e-1?r+=` ${t[e]} `:r+=t[e]}else r+=t[e]}}return r}var yb=new Uint8Array(256);function Kn(t,r){let s=0,a=[],u=0,e=t.length,l=r.charCodeAt(0);for(let n=0;n<e;n++){let c=t.charCodeAt(n);if(s===0&&c===l){a.push(t.slice(u,n)),u=n+1;continue}switch(c){case 92:n+=1;break;case 39:case 34:for(;++n<e;){let p=t.charCodeAt(n);if(p===92){n+=1;continue}if(p===c)break}break;case 40:yb[s]=41,s++;break;case 91:yb[s]=93,s++;break;case 123:yb[s]=125,s++;break;case 93:case 125:case 41:s>0&&c===yb[s-1]&&s--;break}}return a.push(t.slice(u)),a}var zS={color:Ase,length:vb,percentage:GS,ratio:Bse,number:VR,integer:Nr,url:$R,position:Vse,"bg-size":qse,"line-width":Cse,image:Ise,"family-name":Nse,"generic-name":Ose,"absolute-size":Fse,"relative-size":jse,angle:zse,vector:Gse};function ys(t,r){var s;if(t.startsWith("var("))return null;for(let a of r)if((s=zS[a])!=null&&s.call(zS,t))return a;return null}var Pse=/^url\(.*\)$/;function $R(t){return Pse.test(t)}function Cse(t){return Kn(t," ").every(r=>vb(r)||VR(r)||r==="thin"||r==="medium"||r==="thick")}var kse=/^(?:element|image|cross-fade|image-set)\(/,Dse=/^(repeating-)?(conic|linear|radial)-gradient\(/;function Ise(t){let r=0;for(let s of Kn(t,","))if(!s.startsWith("var(")){if($R(s)){r+=1;continue}if(Dse.test(s)){r+=1;continue}if(kse.test(s)){r+=1;continue}return!1}return r>0}function Ose(t){return t==="serif"||t==="sans-serif"||t==="monospace"||t==="cursive"||t==="fantasy"||t==="system-ui"||t==="ui-serif"||t==="ui-sans-serif"||t==="ui-monospace"||t==="ui-rounded"||t==="math"||t==="emoji"||t==="fangsong"}function Nse(t){let r=0;for(let s of Kn(t,",")){let a=s.charCodeAt(0);if(a>=48&&a<=57)return!1;s.startsWith("var(")||(r+=1)}return r>0}function Fse(t){return t==="xx-small"||t==="x-small"||t==="small"||t==="medium"||t==="large"||t==="x-large"||t==="xx-large"||t==="xxx-large"}function jse(t){return t==="larger"||t==="smaller"}var Nl=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,Lse=new RegExp(`^${Nl.source}$`);function VR(t){return Lse.test(t)||gb(t)}var Rse=new RegExp(`^${Nl.source}%$`);function GS(t){return Rse.test(t)||gb(t)}var Mse=new RegExp(`^${Nl.source}s*/s*${Nl.source}$`);function Bse(t){return Mse.test(t)||gb(t)}var Use=["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"],$se=new RegExp(`^${Nl.source}(${Use.join("|")})$`);function vb(t){return $se.test(t)||gb(t)}function Vse(t){let r=0;for(let s of Kn(t," ")){if(s==="center"||s==="top"||s==="right"||s==="bottom"||s==="left"){r+=1;continue}if(!s.startsWith("var(")){if(vb(s)||GS(s)){r+=1;continue}return!1}}return r>0}function qse(t){let r=0;for(let s of Kn(t,",")){if(s==="cover"||s==="contain"){r+=1;continue}let a=Kn(s," ");if(a.length!==1&&a.length!==2)return!1;if(a.every(u=>u==="auto"||vb(u)||GS(u))){r+=1;continue}}return r>0}var Wse=["deg","rad","grad","turn"],Kse=new RegExp(`^${Nl.source}(${Wse.join("|")})$`);function zse(t){return Kse.test(t)}var Hse=new RegExp(`^${Nl.source} +${Nl.source} +${Nl.source}$`);function Gse(t){return Hse.test(t)}function Nr(t){let r=Number(t);return Number.isInteger(r)&&r>=0&&String(r)===String(t)}function JS(t){let r=Number(t);return Number.isInteger(r)&&r>0&&String(r)===String(t)}function Yu(t){return qR(t,.25)}function xb(t){return qR(t,.25)}function qR(t,r){let s=Number(t);return s>=0&&s%r===0&&String(s)===String(t)}function Qu(t){return{__BARE_VALUE__:t}}var Do=Qu(t=>{if(Nr(t.value))return t.value}),va=Qu(t=>{if(Nr(t.value))return`${t.value}%`}),yu=Qu(t=>{if(Nr(t.value))return`${t.value}px`}),MR=Qu(t=>{if(Nr(t.value))return`${t.value}ms`}),bb=Qu(t=>{if(Nr(t.value))return`${t.value}deg`}),Jse=Qu(t=>{if(t.fraction===null)return;let[r,s]=Kn(t.fraction,"/");if(!(!Nr(r)||!Nr(s)))return t.fraction}),BR=Qu(t=>{if(Nr(Number(t.value)))return`repeat(${t.value}, minmax(0, 1fr))`}),WR={accentColor:({theme:t})=>t("colors"),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",...Jse},backdropBlur:({theme:t})=>t("blur"),backdropBrightness:({theme:t})=>({...t("brightness"),...va}),backdropContrast:({theme:t})=>({...t("contrast"),...va}),backdropGrayscale:({theme:t})=>({...t("grayscale"),...va}),backdropHueRotate:({theme:t})=>({...t("hueRotate"),...bb}),backdropInvert:({theme:t})=>({...t("invert"),...va}),backdropOpacity:({theme:t})=>({...t("opacity"),...va}),backdropSaturate:({theme:t})=>({...t("saturate"),...va}),backdropSepia:({theme:t})=>({...t("sepia"),...va}),backgroundColor:({theme:t})=>t("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:t})=>t("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:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:t})=>({DEFAULT:"currentcolor",...t("colors")}),borderOpacity:({theme:t})=>t("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:t})=>t("spacing"),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px",...yu},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:t})=>t("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",...va},caretColor:({theme:t})=>t("colors"),colors:()=>({...mb}),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",...Do},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...va},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:t})=>t("borderColor"),divideOpacity:({theme:t})=>t("borderOpacity"),divideWidth:({theme:t})=>({...t("borderWidth"),...yu}),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:t})=>t("colors"),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:t})=>({auto:"auto","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%",...t("spacing")}),flexGrow:{0:"0",DEFAULT:"1",...Do},flexShrink:{0:"0",DEFAULT:"1",...Do},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:t})=>t("spacing"),gradientColorStops:({theme:t})=>t("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%",...va},grayscale:{0:"0",DEFAULT:"100%",...va},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",...Do},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",...Do},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",...Do},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",...Do},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))",...BR},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))",...BR},height:({theme:t})=>({auto:"auto","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",...t("spacing")}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg",...bb},inset:({theme:t})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...t("spacing")}),invert:{0:"0",DEFAULT:"100%",...va},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:t})=>({auto:"auto",...t("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",...Do},maxHeight:({theme:t})=>({none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...t("spacing")}),maxWidth:({theme:t})=>({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("spacing")}),minHeight:({theme:t})=>({full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...t("spacing")}),minWidth:({theme:t})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...t("spacing")}),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",...va},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",...Do},outlineColor:({theme:t})=>t("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...yu},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...yu},padding:({theme:t})=>t("spacing"),placeholderColor:({theme:t})=>t("colors"),placeholderOpacity:({theme:t})=>t("opacity"),ringColor:({theme:t})=>({DEFAULT:"currentcolor",...t("colors")}),ringOffsetColor:({theme:t})=>t("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...yu},ringOpacity:({theme:t})=>({DEFAULT:"0.5",...t("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...yu},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...bb},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...va},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",...va},screens:{sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},scrollMargin:({theme:t})=>t("spacing"),scrollPadding:({theme:t})=>t("spacing"),sepia:{0:"0",DEFAULT:"100%",...va},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...bb},space:({theme:t})=>t("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:t})=>({none:"none",...t("colors")}),strokeWidth:{0:"0",1:"1",2:"2",...Do},supports:{},data:{},textColor:({theme:t})=>t("colors"),textDecorationColor:({theme:t})=>t("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...yu},textIndent:({theme:t})=>t("spacing"),textOpacity:({theme:t})=>t("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...yu},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",...MR},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...MR},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, outline-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:t})=>({"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...t("spacing")}),size:({theme:t})=>({auto:"auto","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",...t("spacing")}),width:({theme:t})=>({auto:"auto","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",...t("spacing")}),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",...Do}};var Xse="4.1.14",qh=92,Tb=47,Eb=42,KR=34,zR=39,Yse=58,_b=59,Io=10,Pb=13,Wh=32,Sb=9,HR=123,XS=125,tw=40,GR=41,Qse=91,Zse=93,JR=45,YS=64,eae=33;function Fb(t,r){let s=r!=null&&r.from?{file:r.from,code:t}:null;t[0]==="\uFEFF"&&(t=" "+t.slice(1));let a=[],u=[],e=[],l=null,n=null,c="",p="",i=0,o;for(let h=0;h<t.length;h++){let d=t.charCodeAt(h);if(!(d===Pb&&(o=t.charCodeAt(h+1),o===Io)))if(d===qh)c===""&&(i=h),c+=t.slice(h,h+2),h+=1;else if(d===Tb&&t.charCodeAt(h+1)===Eb){let f=h;for(let m=h+2;m<t.length;m++)if(o=t.charCodeAt(m),o===qh)m+=1;else if(o===Eb&&t.charCodeAt(m+1)===Tb){h=m+1;break}let b=t.slice(f,h+1);if(b.charCodeAt(2)===eae){let m=$M(b.slice(2,-2));u.push(m),s&&(m.src=[s,f,h+1],m.dst=[s,f,h+1])}}else if(d===zR||d===KR){let f=XR(t,h,d);c+=t.slice(h,f+1),h=f}else{if((d===Wh||d===Io||d===Sb)&&(o=t.charCodeAt(h+1))&&(o===Wh||o===Io||o===Sb||o===Pb&&(o=t.charCodeAt(h+2))&&o==Io))continue;if(d===Io){if(c.length===0)continue;o=c.charCodeAt(c.length-1),o!==Wh&&o!==Io&&o!==Sb&&(c+=" ")}else if(d===JR&&t.charCodeAt(h+1)===JR&&c.length===0){let f="",b=h,m=-1;for(let x=h+2;x<t.length;x++)if(o=t.charCodeAt(x),o===qh)x+=1;else if(o===zR||o===KR)x=XR(t,x,o);else if(o===Tb&&t.charCodeAt(x+1)===Eb){for(let v=x+2;v<t.length;v++)if(o=t.charCodeAt(v),o===qh)v+=1;else if(o===Eb&&t.charCodeAt(v+1)===Tb){x=v+1;break}}else if(m===-1&&o===Yse)m=c.length+x-b;else if(o===_b&&f.length===0){c+=t.slice(b,x),h=x;break}else if(o===tw)f+=")";else if(o===Qse)f+="]";else if(o===HR)f+="}";else if((o===XS||t.length-1===x)&&f.length===0){h=x-1,c+=t.slice(b,x);break}else(o===GR||o===Zse||o===XS)&&f.length>0&&t[x]===f[f.length-1]&&(f=f.slice(0,-1));let y=QS(c,m);if(!y)throw new Error("Invalid custom property, expected a value");s&&(y.src=[s,b,h],y.dst=[s,b,h]),l?l.nodes.push(y):a.push(y),c=""}else if(d===_b&&c.charCodeAt(0)===YS)n=Ab(c),s&&(n.src=[s,i,h],n.dst=[s,i,h]),l?l.nodes.push(n):a.push(n),c="",n=null;else if(d===_b&&p[p.length-1]!==")"){let f=QS(c);if(!f){if(c.length===0)continue;throw new Error(`Invalid declaration: \`${c.trim()}\``)}s&&(f.src=[s,i,h],f.dst=[s,i,h]),l?l.nodes.push(f):a.push(f),c=""}else if(d===HR&&p[p.length-1]!==")")p+="}",n=Gs(c.trim()),s&&(n.src=[s,i,h],n.dst=[s,i,h]),l&&l.nodes.push(n),e.push(l),l=n,c="",n=null;else if(d===XS&&p[p.length-1]!==")"){if(p==="")throw new Error("Missing opening {");if(p=p.slice(0,-1),c.length>0)if(c.charCodeAt(0)===YS)n=Ab(c),s&&(n.src=[s,i,h],n.dst=[s,i,h]),l?l.nodes.push(n):a.push(n),c="",n=null;else{let b=c.indexOf(":");if(l){let m=QS(c,b);if(!m)throw new Error(`Invalid declaration: \`${c.trim()}\``);s&&(m.src=[s,i,h],m.dst=[s,i,h]),l.nodes.push(m)}}let f=e.pop()??null;f===null&&l&&a.push(l),l=f,c="",n=null}else if(d===tw)p+=")",c+="(";else if(d===GR){if(p[p.length-1]!==")")throw new Error("Missing opening (");p=p.slice(0,-1),c+=")"}else{if(c.length===0&&(d===Wh||d===Io||d===Sb))continue;c===""&&(i=h),c+=String.fromCharCode(d)}}}if(c.charCodeAt(0)===YS){let h=Ab(c);s&&(h.src=[s,i,t.length],h.dst=[s,i,t.length]),a.push(h)}if(p.length>0&&l){if(l.kind==="rule")throw new Error(`Missing closing } at ${l.selector}`);if(l.kind==="at-rule")throw new Error(`Missing closing } at ${l.name} ${l.params}`)}return u.length>0?u.concat(a):a}function Ab(t,r=[]){let s=t,a="";for(let u=5;u<t.length;u++){let e=t.charCodeAt(u);if(e===Wh||e===tw){s=t.slice(0,u),a=t.slice(u);break}}return ki(s.trim(),a.trim(),r)}function QS(t,r=t.indexOf(":")){if(r===-1)return null;let s=t.indexOf("!important",r+1);return je(t.slice(0,r).trim(),t.slice(r+1,s===-1?t.length:s).trim(),s!==-1)}function XR(t,r,s){let a;for(let u=r+1;u<t.length;u++)if(a=t.charCodeAt(u),a===qh)u+=1;else{if(a===s)return u;if(a===_b&&(t.charCodeAt(u+1)===Io||t.charCodeAt(u+1)===Pb&&t.charCodeAt(u+2)===Io))throw new Error(`Unterminated string: ${t.slice(r,u+1)+String.fromCharCode(s)}`);if(a===Io||a===Pb&&t.charCodeAt(u+1)===Io)throw new Error(`Unterminated string: ${t.slice(r,u)+String.fromCharCode(s)}`)}return r}function jb(t){if(arguments.length===0)throw new TypeError("`CSS.escape` requires an argument.");let r=String(t),s=r.length,a=-1,u,e="",l=r.charCodeAt(0);if(s===1&&l===45)return"\\"+r;for(;++a<s;){if(u=r.charCodeAt(a),u===0){e+="\uFFFD";continue}if(u>=1&&u<=31||u===127||a===0&&u>=48&&u<=57||a===1&&u>=48&&u<=57&&l===45){e+="\\"+u.toString(16)+" ";continue}if(u>=128||u===45||u===95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){e+=r.charAt(a);continue}e+="\\"+r.charAt(a)}return e}function Cb(t){return t.replace(/\\([\dA-Fa-f]{1,6}[\t\n\f\r ]?|[\S\s])/g,r=>r.length>2?String.fromCodePoint(Number.parseInt(r.slice(1).trim(),16)):r[1])}var BM=new Map([["--font",["--font-weight","--font-size"]],["--inset",["--inset-shadow","--inset-ring"]],["--text",["--text-color","--text-decoration-color","--text-decoration-thickness","--text-indent","--text-shadow","--text-underline-offset"]],["--grid-column",["--grid-column-start","--grid-column-end"]],["--grid-row",["--grid-row-start","--grid-row-end"]]]);function YR(t,r){return(BM.get(r)??[]).some(s=>t===s||t.startsWith(`${s}-`))}var tae=class{constructor(t=new Map,r=new Set([])){this.values=t,this.keyframes=r}prefix=null;get size(){return this.values.size}add(t,r,s=0,a){if(t.endsWith("-*")){if(r!=="initial")throw new Error(`Invalid theme value \`${r}\` for namespace \`${t}\``);t==="--*"?this.values.clear():this.clearNamespace(t.slice(0,-2),0)}if(s&4){let u=this.values.get(t);if(u&&!(u.options&4))return}r==="initial"?this.values.delete(t):this.values.set(t,{value:r,options:s,src:a})}keysInNamespaces(t){let r=[];for(let s of t){let a=`${s}-`;for(let u of this.values.keys())u.startsWith(a)&&u.indexOf("--",2)===-1&&(YR(u,s)||r.push(u.slice(a.length)))}return r}get(t){for(let r of t){let s=this.values.get(r);if(s)return s.value}return null}hasDefault(t){return(this.getOptions(t)&4)===4}getOptions(t){var r;return t=Cb(this.#r(t)),((r=this.values.get(t))==null?void 0:r.options)??0}entries(){return this.prefix?Array.from(this.values,t=>(t[0]=this.prefixKey(t[0]),t)):this.values.entries()}prefixKey(t){return this.prefix?`--${this.prefix}-${t.slice(2)}`:t}#r(t){return this.prefix?`--${t.slice(3+this.prefix.length)}`:t}clearNamespace(t,r){let s=BM.get(t)??[];e:for(let a of this.values.keys())if(a.startsWith(t)){if(r!==0&&(this.getOptions(a)&r)!==r)continue;for(let u of s)if(a.startsWith(u))continue e;this.values.delete(a)}}#e(t,r){for(let s of r){let a=t!==null?`${s}-${t}`:s;if(!this.values.has(a))if(t!==null&&t.includes(".")){if(a=`${s}-${t.replaceAll(".","_")}`,!this.values.has(a))continue}else continue;if(!YR(a,s))return a}return null}#t(t){let r=this.values.get(t);if(!r)return null;let s=null;return r.options&2&&(s=r.value),`var(${jb(this.prefixKey(t))}${s?`, ${s}`:""})`}markUsedVariable(t){let r=Cb(this.#r(t)),s=this.values.get(r);if(!s)return!1;let a=s.options&16;return s.options|=16,!a}resolve(t,r,s=0){let a=this.#e(t,r);if(!a)return null;let u=this.values.get(a);return(s|u.options)&1?u.value:this.#t(a)}resolveValue(t,r){let s=this.#e(t,r);return s?this.values.get(s).value:null}resolveWith(t,r,s=[]){let a=this.#e(t,r);if(!a)return null;let u={};for(let l of s){let n=`${a}${l}`,c=this.values.get(n);c&&(c.options&1?u[l]=c.value:u[l]=this.#t(n))}let e=this.values.get(a);return e.options&1?[e.value,u]:[this.#t(a),u]}namespace(t){let r=new Map,s=`${t}-`;for(let[a,u]of this.values)a===t?r.set(null,u.value):a.startsWith(`${s}-`)?r.set(a.slice(t.length),u.value):a.startsWith(s)&&r.set(a.slice(s.length),u.value);return r}addKeyframes(t){this.keyframes.add(t)}getKeyframes(){return Array.from(this.keyframes)}},As=class extends Map{constructor(t){super(),this.factory=t}get(t){let r=super.get(t);return r===void 0&&(r=this.factory(t,this),this.set(t,r)),r}};function ZS(t){return{kind:"word",value:t}}function rae(t,r){return{kind:"function",value:t,nodes:r}}function nae(t){return{kind:"separator",value:t}}function Ga(t,r,s=null){for(let a=0;a<t.length;a++){let u=t[a],e=!1,l=0,n=r(u,{parent:s,replaceWith(c){e||(e=!0,Array.isArray(c)?c.length===0?(t.splice(a,1),l=0):c.length===1?(t[a]=c[0],l=1):(t.splice(a,1,...c),l=c.length):t[a]=c)}})??0;if(e){n===0?a--:a+=l-1;continue}if(n===2||n!==1&&u.kind==="function"&&Ga(u.nodes,r,u)===2)return 2}}function la(t){let r="";for(let s of t)switch(s.kind){case"word":case"separator":{r+=s.value;break}case"function":r+=s.value+"("+la(s.nodes)+")"}return r}var QR=92,iae=41,ZR=58,eM=44,sae=34,tM=61,rM=62,nM=60,iM=10,aae=40,oae=39,sM=47,aM=32,oM=9;function Os(t){t=t.replaceAll(`\r
|
|
`,`
|
|
`);let r=[],s=[],a=null,u="",e;for(let l=0;l<t.length;l++){let n=t.charCodeAt(l);switch(n){case QR:{u+=t[l]+t[l+1],l++;break}case ZR:case eM:case tM:case rM:case nM:case iM:case sM:case aM:case oM:{if(u.length>0){let o=ZS(u);a?a.nodes.push(o):r.push(o),u=""}let c=l,p=l+1;for(;p<t.length&&(e=t.charCodeAt(p),!(e!==ZR&&e!==eM&&e!==tM&&e!==rM&&e!==nM&&e!==iM&&e!==sM&&e!==aM&&e!==oM));p++);l=p-1;let i=nae(t.slice(c,p));a?a.nodes.push(i):r.push(i);break}case oae:case sae:{let c=l;for(let p=l+1;p<t.length;p++)if(e=t.charCodeAt(p),e===QR)p+=1;else if(e===n){l=p;break}u+=t.slice(c,l+1);break}case aae:{let c=rae(u,[]);u="",a?a.nodes.push(c):r.push(c),s.push(c),a=c;break}case iae:{let c=s.pop();if(u.length>0){let p=ZS(u);c==null||c.nodes.push(p),u=""}s.length>0?a=s[s.length-1]:a=null;break}default:u+=String.fromCharCode(n)}}return u.length>0&&r.push(ZS(u)),r}function UM(t){let r=[];return Ga(Os(t),s=>{if(!(s.kind!=="function"||s.value!=="var"))return Ga(s.nodes,a=>{a.kind!=="word"||a.value[0]!=="-"||a.value[1]!=="-"||r.push(a.value)}),1}),r}var lae=64;function Ui(t,r=[]){return{kind:"rule",selector:t,nodes:r}}function ki(t,r="",s=[]){return{kind:"at-rule",name:t,params:r,nodes:s}}function Gs(t,r=[]){return t.charCodeAt(0)===lae?Ab(t,r):Ui(t,r)}function je(t,r,s=!1){return{kind:"declaration",property:t,value:r,important:s}}function $M(t){return{kind:"comment",value:t}}function Zu(t,r){return{kind:"context",context:t,nodes:r}}function Hn(t){return{kind:"at-root",nodes:t}}function ni(t,r,s=[],a={}){for(let u=0;u<t.length;u++){let e=t[u],l=s[s.length-1]??null;if(e.kind==="context"){if(ni(e.nodes,r,s,{...a,...e.context})===2)return 2;continue}s.push(e);let n=!1,c=0,p=r(e,{parent:l,context:a,path:s,replaceWith(i){n||(n=!0,Array.isArray(i)?i.length===0?(t.splice(u,1),c=0):i.length===1?(t[u]=i[0],c=1):(t.splice(u,1,...i),c=i.length):(t[u]=i,c=1))}})??0;if(s.pop(),n){p===0?u--:u+=c-1;continue}if(p===2)return 2;if(p!==1&&"nodes"in e){s.push(e);let i=ni(e.nodes,r,s,a);if(s.pop(),i===2)return 2}}}function rw(t,r,s=[],a={}){for(let u=0;u<t.length;u++){let e=t[u],l=s[s.length-1]??null;if(e.kind==="rule"||e.kind==="at-rule")s.push(e),rw(e.nodes,r,s,a),s.pop();else if(e.kind==="context"){rw(e.nodes,r,s,{...a,...e.context});continue}s.push(e),r(e,{parent:l,context:a,path:s,replaceWith(n){Array.isArray(n)?n.length===0?t.splice(u,1):n.length===1?t[u]=n[0]:t.splice(u,1,...n):t[u]=n,u+=n.length-1}}),s.pop()}}function Kh(t,r,s=3){let a=[],u=new Set,e=new As(()=>new Set),l=new As(()=>new Set),n=new Set,c=new Set,p=[],i=[],o=new As(()=>new Set);function h(f,b,m={},y=0){if(f.kind==="declaration"){if(f.property==="--tw-sort"||f.value===void 0||f.value===null)return;if(m.theme&&f.property[0]==="-"&&f.property[1]==="-"){if(f.value==="initial"){f.value=void 0;return}m.keyframes||e.get(b).add(f)}if(f.value.includes("var("))if(m.theme&&f.property[0]==="-"&&f.property[1]==="-")for(let x of UM(f.value))o.get(x).add(f.property);else r.trackUsedVariables(f.value);if(f.property==="animation")for(let x of lM(f.value))c.add(x);s&2&&f.value.includes("color-mix(")&&l.get(b).add(f),b.push(f)}else if(f.kind==="rule"){let x=[];for(let S of f.nodes)h(S,x,m,y+1);let v={},E=new Set;for(let S of x){if(S.kind!=="declaration")continue;let _=`${S.property}:${S.value}:${S.important}`;v[_]??(v[_]=[]),v[_].push(S)}for(let S in v)for(let _=0;_<v[S].length-1;++_)E.add(v[S][_]);if(E.size>0&&(x=x.filter(S=>!E.has(S))),x.length===0)return;f.selector==="&"?b.push(...x):b.push({...f,nodes:x})}else if(f.kind==="at-rule"&&f.name==="@property"&&y===0){if(u.has(f.params))return;if(s&1){let v=f.params,E=null,S=!1;for(let A of f.nodes)A.kind==="declaration"&&(A.property==="initial-value"?E=A.value:A.property==="inherits"&&(S=A.value==="true"));let _=je(v,E??"initial");_.src=f.src,S?p.push(_):i.push(_)}u.add(f.params);let x={...f,nodes:[]};for(let v of f.nodes)h(v,x.nodes,m,y+1);b.push(x)}else if(f.kind==="at-rule"){f.name==="@keyframes"&&(m={...m,keyframes:!0});let x={...f,nodes:[]};for(let v of f.nodes)h(v,x.nodes,m,y+1);f.name==="@keyframes"&&m.theme&&n.add(x),(x.nodes.length>0||x.name==="@layer"||x.name==="@charset"||x.name==="@custom-media"||x.name==="@namespace"||x.name==="@import")&&b.push(x)}else if(f.kind==="at-root")for(let x of f.nodes){let v=[];h(x,v,m,0);for(let E of v)a.push(E)}else if(f.kind==="context"){if(f.context.reference)return;for(let x of f.nodes)h(x,b,{...m,...f.context},y)}else f.kind==="comment"&&b.push(f)}let d=[];for(let f of t)h(f,d,{},0);e:for(let[f,b]of e)for(let m of b){if(VM(m.property,r.theme,o)){if(m.property.startsWith(r.theme.prefixKey("--animate-")))for(let x of lM(m.value))c.add(x);continue}let y=f.indexOf(m);if(f.splice(y,1),f.length===0){let x=uae(d,v=>v.kind==="rule"&&v.nodes===f);if(!x||x.length===0)continue e;x.unshift({kind:"at-root",nodes:d});do{let v=x.pop();if(!v)break;let E=x[x.length-1];if(!E||E.kind!=="at-root"&&E.kind!=="at-rule")break;let S=E.nodes.indexOf(v);if(S===-1)break;E.nodes.splice(S,1)}while(!0);continue e}}for(let f of n)if(!c.has(f.params)){let b=a.indexOf(f);a.splice(b,1)}if(d=d.concat(a),s&2)for(let[f,b]of l)for(let m of b){let y=f.indexOf(m);if(y===-1||m.value==null)continue;let x=Os(m.value),v=!1;if(Ga(x,(_,{replaceWith:A})=>{if(_.kind!=="function"||_.value!=="color-mix")return;let L=!1,j=!1;if(Ga(_.nodes,(F,{replaceWith:k})=>{if(F.kind=="word"&&F.value.toLowerCase()==="currentcolor"){j=!0,v=!0;return}let U=F,z=null,C=new Set;do{if(U.kind!=="function"||U.value!=="var")return;let R=U.nodes[0];if(!R||R.kind!=="word")return;let G=R.value;if(C.has(G)){L=!0;return}if(C.add(G),v=!0,z=r.theme.resolveValue(null,[R.value]),!z){L=!0;return}if(z.toLowerCase()==="currentcolor"){j=!0;return}z.startsWith("var(")?U=Os(z)[0]:U=null}while(U);k({kind:"word",value:z})}),L||j){let F=_.nodes.findIndex(U=>U.kind==="separator"&&U.value.trim().includes(","));if(F===-1)return;let k=_.nodes.length>F?_.nodes[F+1]:null;if(!k)return;A(k)}else if(v){let F=_.nodes[2];F.kind==="word"&&(F.value==="oklab"||F.value==="oklch"||F.value==="lab"||F.value==="lch")&&(F.value="srgb")}}),!v)continue;let E={...m,value:la(x)},S=Gs("@supports (color: color-mix(in lab, red, red))",[m]);S.src=m.src,f.splice(y,1,E,S)}if(s&1){let f=[];if(p.length>0){let b=Gs(":root, :host",p);b.src=p[0].src,f.push(b)}if(i.length>0){let b=Gs("*, ::before, ::after, ::backdrop",i);b.src=i[0].src,f.push(b)}if(f.length>0){let b=d.findIndex(x=>!(x.kind==="comment"||x.kind==="at-rule"&&(x.name==="@charset"||x.name==="@import"))),m=ki("@layer","properties",[]);m.src=f[0].src,d.splice(b<0?d.length:b,0,m);let y=Gs("@layer properties",[ki("@supports","((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",f)]);y.src=f[0].src,y.nodes[0].src=f[0].src,d.push(y)}}return d}function gu(t,r){let s=0,a={file:null,code:""};function u(l,n=0){var i;let c="",p=" ".repeat(n);if(l.kind==="declaration"){if(c+=`${p}${l.property}: ${l.value}${l.important?" !important":""};
|
|
`,r){s+=p.length;let o=s;s+=l.property.length,s+=2,s+=((i=l.value)==null?void 0:i.length)??0,l.important&&(s+=11);let h=s;s+=2,l.dst=[a,o,h]}}else if(l.kind==="rule"){if(c+=`${p}${l.selector} {
|
|
`,r){s+=p.length;let o=s;s+=l.selector.length,s+=1;let h=s;l.dst=[a,o,h],s+=2}for(let o of l.nodes)c+=u(o,n+1);c+=`${p}}
|
|
`,r&&(s+=p.length,s+=2)}else if(l.kind==="at-rule"){if(l.nodes.length===0){let o=`${p}${l.name} ${l.params};
|
|
`;if(r){s+=p.length;let h=s;s+=l.name.length,s+=1,s+=l.params.length;let d=s;s+=2,l.dst=[a,h,d]}return o}if(c+=`${p}${l.name}${l.params?` ${l.params} `:" "}{
|
|
`,r){s+=p.length;let o=s;s+=l.name.length,l.params&&(s+=1,s+=l.params.length),s+=1;let h=s;l.dst=[a,o,h],s+=2}for(let o of l.nodes)c+=u(o,n+1);c+=`${p}}
|
|
`,r&&(s+=p.length,s+=2)}else if(l.kind==="comment"){if(c+=`${p}/*${l.value}*/
|
|
`,r){s+=p.length;let o=s;s+=2+l.value.length+2;let h=s;l.dst=[a,o,h],s+=1}}else if(l.kind==="context"||l.kind==="at-root")return"";return c}let e="";for(let l of t)e+=u(l,0);return a.code=e,e}function uae(t,r){let s=[];return ni(t,(a,{path:u})=>{if(r(a))return s=[...u],2}),s}function VM(t,r,s,a=new Set){if(a.has(t)||(a.add(t),r.getOptions(t)&24))return!0;{let u=s.get(t)??[];for(let e of u)if(VM(e,r,s,a))return!0}return!1}function lM(t){return t.split(/[\s,]+/)}function ec(t){if(t.indexOf("(")===-1)return kp(t);let r=Os(t);return nw(r),t=la(r),t=UR(t),t}function kp(t,r=!1){let s="";for(let a=0;a<t.length;a++){let u=t[a];u==="\\"&&t[a+1]==="_"?(s+="_",a+=1):u==="_"&&!r?s+=" ":s+=u}return s}function nw(t){for(let r of t)switch(r.kind){case"function":{if(r.value==="url"||r.value.endsWith("_url")){r.value=kp(r.value);break}if(r.value==="var"||r.value.endsWith("_var")||r.value==="theme"||r.value.endsWith("_theme")){r.value=kp(r.value);for(let s=0;s<r.nodes.length;s++){if(s==0&&r.nodes[s].kind==="word"){r.nodes[s].value=kp(r.nodes[s].value,!0);continue}nw([r.nodes[s]])}break}r.value=kp(r.value),nw(r.nodes);break}case"separator":case"word":{r.value=kp(r.value);break}default:cae(r)}}function cae(t){throw new Error(`Unexpected value: ${t}`)}var ew=new Uint8Array(256);function bu(t){let r=0,s=t.length;for(let a=0;a<s;a++){let u=t.charCodeAt(a);switch(u){case 92:a+=1;break;case 39:case 34:for(;++a<s;){let e=t.charCodeAt(a);if(e===92){a+=1;continue}if(e===u)break}break;case 40:ew[r]=41,r++;break;case 91:ew[r]=93,r++;break;case 123:break;case 93:case 125:case 41:if(r===0)return!1;r>0&&u===ew[r-1]&&r--;break;case 59:if(r===0)return!1;break}}return!0}var pae=58,uM=45,cM=97,pM=122;function*dae(t,r){var o;let s=Kn(t,":");if(r.theme.prefix){if(s.length===1||s[0]!==r.theme.prefix)return null;s.shift()}let a=s.pop(),u=[];for(let h=s.length-1;h>=0;--h){let d=r.parseVariant(s[h]);if(d===null)return;u.push(d)}let e=!1;a[a.length-1]==="!"?(e=!0,a=a.slice(0,-1)):a[0]==="!"&&(e=!0,a=a.slice(1)),r.utilities.has(a,"static")&&!a.includes("[")&&(yield{kind:"static",root:a,variants:u,important:e,raw:t});let[l,n=null,c]=Kn(a,"/");if(c)return;let p=n===null?null:iw(n);if(n!==null&&p===null)return;if(l[0]==="["){if(l[l.length-1]!=="]")return;let h=l.charCodeAt(1);if(h!==uM&&!(h>=cM&&h<=pM))return;l=l.slice(1,-1);let d=l.indexOf(":");if(d===-1||d===0||d===l.length-1)return;let f=l.slice(0,d),b=ec(l.slice(d+1));if(!bu(b))return;yield{kind:"arbitrary",property:f,value:b,modifier:p,variants:u,important:e,raw:t};return}let i;if(l[l.length-1]==="]"){let h=l.indexOf("-[");if(h===-1)return;let d=l.slice(0,h);if(!r.utilities.has(d,"functional"))return;let f=l.slice(h+1);i=[[d,f]]}else if(l[l.length-1]===")"){let h=l.indexOf("-(");if(h===-1)return;let d=l.slice(0,h);if(!r.utilities.has(d,"functional"))return;let f=l.slice(h+2,-1),b=Kn(f,":"),m=null;if(b.length===2&&(m=b[0],f=b[1]),f[0]!=="-"||f[1]!=="-"||!bu(f))return;i=[[d,m===null?`[var(${f})]`:`[${m}:var(${f})]`]]}else i=qM(l,h=>r.utilities.has(h,"functional"));for(let[h,d]of i){let f={kind:"functional",root:h,modifier:p,value:null,variants:u,important:e,raw:t};if(d===null){yield f;continue}{let b=d.indexOf("[");if(b!==-1){if(d[d.length-1]!=="]")return;let m=ec(d.slice(b+1,-1));if(!bu(m))continue;let y="";for(let x=0;x<m.length;x++){let v=m.charCodeAt(x);if(v===pae){y=m.slice(0,x),m=m.slice(x+1);break}if(!(v===uM||v>=cM&&v<=pM))break}if(m.length===0||m.trim().length===0)continue;f.value={kind:"arbitrary",dataType:y||null,value:m}}else{let m=n===null||((o=f.modifier)==null?void 0:o.kind)==="arbitrary"?null:`${d}/${n}`;f.value={kind:"named",value:d,fraction:m}}}yield f}}function iw(t){if(t[0]==="["&&t[t.length-1]==="]"){let r=ec(t.slice(1,-1));return!bu(r)||r.length===0||r.trim().length===0?null:{kind:"arbitrary",value:r}}return t[0]==="("&&t[t.length-1]===")"?(t=t.slice(1,-1),t[0]!=="-"||t[1]!=="-"||!bu(t)?null:(t=`var(${t})`,{kind:"arbitrary",value:ec(t)})):{kind:"named",value:t}}function hae(t,r){if(t[0]==="["&&t[t.length-1]==="]"){if(t[1]==="@"&&t.includes("&"))return null;let s=ec(t.slice(1,-1));if(!bu(s)||s.length===0||s.trim().length===0)return null;let a=s[0]===">"||s[0]==="+"||s[0]==="~";return!a&&s[0]!=="@"&&!s.includes("&")&&(s=`&:is(${s})`),{kind:"arbitrary",selector:s,relative:a}}{let[s,a=null,u]=Kn(t,"/");if(u)return null;let e=qM(s,l=>r.variants.has(l));for(let[l,n]of e)switch(r.variants.kind(l)){case"static":return n!==null||a!==null?null:{kind:"static",root:l};case"functional":{let c=a===null?null:iw(a);if(a!==null&&c===null)return null;if(n===null)return{kind:"functional",root:l,modifier:c,value:null};if(n[n.length-1]==="]"){if(n[0]!=="[")continue;let p=ec(n.slice(1,-1));return!bu(p)||p.length===0||p.trim().length===0?null:{kind:"functional",root:l,modifier:c,value:{kind:"arbitrary",value:p}}}if(n[n.length-1]===")"){if(n[0]!=="(")continue;let p=ec(n.slice(1,-1));return!bu(p)||p.length===0||p.trim().length===0||p[0]!=="-"||p[1]!=="-"?null:{kind:"functional",root:l,modifier:c,value:{kind:"arbitrary",value:`var(${p})`}}}return{kind:"functional",root:l,modifier:c,value:{kind:"named",value:n}}}case"compound":{if(n===null)return null;let c=r.parseVariant(n);if(c===null||!r.variants.compoundsWith(l,c))return null;let p=a===null?null:iw(a);return a!==null&&p===null?null:{kind:"compound",root:l,modifier:p,variant:c}}}}return null}function*qM(t,r){r(t)&&(yield[t,null]);let s=t.lastIndexOf("-");for(;s>0;){let a=t.slice(0,s);if(r(a)){let u=[a,t.slice(s+1)];if(u[1]===""||u[0]==="@"&&r("@")&&t[s]==="-")break;yield u}s=t.lastIndexOf("-",s-1)}t[0]==="@"&&r("@")&&(yield["@",t.slice(1)])}function fae(t,r){let s=[];for(let u of r.variants)s.unshift(hw(u));t.theme.prefix&&s.unshift(t.theme.prefix);let a="";if(r.kind==="static"&&(a+=r.root),r.kind==="functional"&&(a+=r.root,r.value))if(r.value.kind==="arbitrary"){if(r.value!==null){let u=fw(r.value.value),e=u?r.value.value.slice(4,-1):r.value.value,[l,n]=u?["(",")"]:["[","]"];r.value.dataType?a+=`-${l}${r.value.dataType}:${Dp(e)}${n}`:a+=`-${l}${Dp(e)}${n}`}}else r.value.kind==="named"&&(a+=`-${r.value.value}`);return r.kind==="arbitrary"&&(a+=`[${r.property}:${Dp(r.value)}]`),(r.kind==="arbitrary"||r.kind==="functional")&&(a+=WM(r.modifier)),r.important&&(a+="!"),s.push(a),s.join(":")}function WM(t){if(t===null)return"";let r=fw(t.value),s=r?t.value.slice(4,-1):t.value,[a,u]=r?["(",")"]:["[","]"];return t.kind==="arbitrary"?`/${a}${Dp(s)}${u}`:t.kind==="named"?`/${t.value}`:""}function hw(t){if(t.kind==="static")return t.root;if(t.kind==="arbitrary")return`[${Dp(bae(t.selector))}]`;let r="";if(t.kind==="functional"){r+=t.root;let s=t.root!=="@";if(t.value)if(t.value.kind==="arbitrary"){let a=fw(t.value.value),u=a?t.value.value.slice(4,-1):t.value.value,[e,l]=a?["(",")"]:["[","]"];r+=`${s?"-":""}${e}${Dp(u)}${l}`}else t.value.kind==="named"&&(r+=`${s?"-":""}${t.value.value}`)}return t.kind==="compound"&&(r+=t.root,r+="-",r+=hw(t.variant)),(t.kind==="functional"||t.kind==="compound")&&(r+=WM(t.modifier)),r}var mae=new As(t=>{let r=Os(t),s=new Set;return Ga(r,(a,{parent:u})=>{let e=u===null?r:u.nodes??[];if(a.kind==="word"&&(a.value==="+"||a.value==="-"||a.value==="*"||a.value==="/")){let l=e.indexOf(a)??-1;if(l===-1)return;let n=e[l-1];if((n==null?void 0:n.kind)!=="separator"||n.value!==" ")return;let c=e[l+1];if((c==null?void 0:c.kind)!=="separator"||c.value!==" ")return;s.add(n),s.add(c)}else a.kind==="separator"&&a.value.trim()==="/"?a.value="/":a.kind==="separator"&&a.value.length>0&&a.value.trim()===""?(e[0]===a||e[e.length-1]===a)&&s.add(a):a.kind==="separator"&&a.value.trim()===","&&(a.value=",")}),s.size>0&&Ga(r,(a,{replaceWith:u})=>{s.has(a)&&(s.delete(a),u([]))}),sw(r),la(r)});function Dp(t){return mae.get(t)}var yae=new As(t=>{let r=Os(t);return r.length===3&&r[0].kind==="word"&&r[0].value==="&"&&r[1].kind==="separator"&&r[1].value===":"&&r[2].kind==="function"&&r[2].value==="is"?la(r[2].nodes):t});function bae(t){return yae.get(t)}function sw(t){for(let r of t)switch(r.kind){case"function":{if(r.value==="url"||r.value.endsWith("_url")){r.value=$h(r.value);break}if(r.value==="var"||r.value.endsWith("_var")||r.value==="theme"||r.value.endsWith("_theme")){r.value=$h(r.value);for(let s=0;s<r.nodes.length;s++)sw([r.nodes[s]]);break}r.value=$h(r.value),sw(r.nodes);break}case"separator":r.value=$h(r.value);break;case"word":{(r.value[0]!=="-"||r.value[1]!=="-")&&(r.value=$h(r.value));break}default:vae(r)}}var gae=new As(t=>{let r=Os(t);return r.length===1&&r[0].kind==="function"&&r[0].value==="var"});function fw(t){return gae.get(t)}function vae(t){throw new Error(`Unexpected value: ${t}`)}function $h(t){return t.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}function kb(t,r,s){if(t===r)return 0;let a=t.indexOf("("),u=r.indexOf("("),e=a===-1?t.replace(/[\d.]+/g,""):t.slice(0,a),l=u===-1?r.replace(/[\d.]+/g,""):r.slice(0,u),n=(e===l?0:e<l?-1:1)||(s==="asc"?parseInt(t)-parseInt(r):parseInt(r)-parseInt(t));return Number.isNaN(n)?t<r?-1:1:n}var xae=new Set(["inset","inherit","initial","revert","unset"]),dM=/^-?(\d+|\.\d+)(.*?)$/g;function Db(t,r){return Kn(t,",").map(s=>{s=s.trim();let a=Kn(s," ").filter(c=>c.trim()!==""),u=null,e=null,l=null;for(let c of a)xae.has(c)||(dM.test(c)?(e===null?e=c:l===null&&(l=c),dM.lastIndex=0):u===null&&(u=c));if(e===null||l===null)return s;let n=r(u??"currentcolor");return u!==null?s.replace(u,n):`${s} ${n}`}).join(", ")}var Tae=/^-?[a-z][a-zA-Z0-9/%._-]*$/,Eae=/^-?[a-z][a-zA-Z0-9/%._-]*-\*$/,Ib=["0","0.5","1","1.5","2","2.5","3","3.5","4","5","6","7","8","9","10","11","12","14","16","20","24","28","32","36","40","44","48","52","56","60","64","72","80","96"],Sae=class{utilities=new As(()=>[]);completions=new Map;static(t,r){this.utilities.get(t).push({kind:"static",compileFn:r})}functional(t,r,s){this.utilities.get(t).push({kind:"functional",compileFn:r,options:s})}has(t,r){return this.utilities.has(t)&&this.utilities.get(t).some(s=>s.kind===r)}get(t){return this.utilities.has(t)?this.utilities.get(t):[]}getCompletions(t){var r;return((r=this.completions.get(t))==null?void 0:r())??[]}suggest(t,r){let s=this.completions.get(t);s?this.completions.set(t,()=>[...s==null?void 0:s(),...r==null?void 0:r()]):this.completions.set(t,r)}keys(t){let r=[];for(let[s,a]of this.utilities.entries())for(let u of a)if(u.kind===t){r.push(s);break}return r}};function or(t,r,s){return ki("@property",t,[je("syntax",s?`"${s}"`:'"*"'),je("inherits","false"),...r?[je("initial-value",r)]:[]])}function oa(t,r){if(r===null)return t;let s=Number(r);return Number.isNaN(s)||(r=`${s*100}%`),r==="100%"?t:`color-mix(in oklab, ${t} ${r}, transparent)`}function KM(t,r){let s=Number(r);return Number.isNaN(s)||(r=`${s*100}%`),`oklab(from ${t} l a b / ${r})`}function qs(t,r,s){if(!r)return t;if(r.kind==="arbitrary")return oa(t,r.value);let a=s.resolve(r.value,["--opacity"]);return a?oa(t,a):xb(r.value)?oa(t,`${r.value}%`):null}function aa(t,r,s){let a=null;switch(t.value.value){case"inherit":{a="inherit";break}case"transparent":{a="transparent";break}case"current":{a="currentcolor";break}default:{a=r.resolve(t.value.value,s);break}}return a?qs(a,t.modifier,r):null}var zM=/(\d+)_(\d+)/g;function wae(t){let r=new Sae;function s(C,R){function*G(B){for(let q of t.keysInNamespaces(B))yield q.replace(zM,(K,$,W)=>`${$}.${W}`)}let V=["1/2","1/3","2/3","1/4","2/4","3/4","1/5","2/5","3/5","4/5","1/6","2/6","3/6","4/6","5/6","1/12","2/12","3/12","4/12","5/12","6/12","7/12","8/12","9/12","10/12","11/12"];r.suggest(C,()=>{let B=[];for(let q of R()){if(typeof q=="string"){B.push({values:[q],modifiers:[]});continue}let K=[...q.values??[],...G(q.valueThemeKeys??[])],$=[...q.modifiers??[],...G(q.modifierThemeKeys??[])];q.supportsFractions&&K.push(...V),q.hasDefaultValue&&K.unshift(null),B.push({supportsNegative:q.supportsNegative,values:K,modifiers:$})}return B})}function a(C,R){r.static(C,()=>R.map(G=>typeof G=="function"?G():je(G[0],G[1])))}function u(C,R){function G({negative:V}){return B=>{let q=null,K=null;if(B.value)if(B.value.kind==="arbitrary"){if(B.modifier)return;q=B.value.value,K=B.value.dataType}else{if(q=t.resolve(B.value.fraction??B.value.value,R.themeKeys??[]),q===null&&R.supportsFractions&&B.value.fraction){let[$,W]=Kn(B.value.fraction,"/");if(!Nr($)||!Nr(W))return;q=`calc(${B.value.fraction} * 100%)`}if(q===null&&V&&R.handleNegativeBareValue){if(q=R.handleNegativeBareValue(B.value),!(q!=null&&q.includes("/"))&&B.modifier)return;if(q!==null)return R.handle(q,null)}if(q===null&&R.handleBareValue&&(q=R.handleBareValue(B.value),!(q!=null&&q.includes("/"))&&B.modifier))return;if(q===null&&!V&&R.staticValues&&!B.modifier){let $=R.staticValues[B.value.value];if($)return $}}else{if(B.modifier)return;q=R.defaultValue!==void 0?R.defaultValue:t.resolve(null,R.themeKeys??[])}if(q!==null)return R.handle(V?`calc(${q} * -1)`:q,K)}}if(R.supportsNegative&&r.functional(`-${C}`,G({negative:!0})),r.functional(C,G({negative:!1})),s(C,()=>[{supportsNegative:R.supportsNegative,valueThemeKeys:R.themeKeys??[],hasDefaultValue:R.defaultValue!==void 0&&R.defaultValue!==null,supportsFractions:R.supportsFractions}]),R.staticValues&&Object.keys(R.staticValues).length>0){let V=Object.keys(R.staticValues);s(C,()=>[{values:V}])}}function e(C,R){r.functional(C,G=>{if(!G.value)return;let V=null;if(G.value.kind==="arbitrary"?(V=G.value.value,V=qs(V,G.modifier,t)):V=aa(G,t,R.themeKeys),V!==null)return R.handle(V)}),s(C,()=>[{values:["current","inherit","transparent"],valueThemeKeys:R.themeKeys,modifiers:Array.from({length:21},(G,V)=>`${V*5}`)}])}function l(C,R,G,{supportsNegative:V=!1,supportsFractions:B=!1,staticValues:q}={}){V&&r.static(`-${C}-px`,()=>G("-1px")),r.static(`${C}-px`,()=>G("1px")),u(C,{themeKeys:R,supportsFractions:B,supportsNegative:V,defaultValue:null,handleBareValue:({value:K})=>{let $=t.resolve(null,["--spacing"]);return!$||!Yu(K)?null:`calc(${$} * ${K})`},handleNegativeBareValue:({value:K})=>{let $=t.resolve(null,["--spacing"]);return!$||!Yu(K)?null:`calc(${$} * -${K})`},handle:G,staticValues:q}),s(C,()=>[{values:t.get(["--spacing"])?Ib:[],supportsNegative:V,supportsFractions:B,valueThemeKeys:R}])}a("sr-only",[["position","absolute"],["width","1px"],["height","1px"],["padding","0"],["margin","-1px"],["overflow","hidden"],["clip-path","inset(50%)"],["white-space","nowrap"],["border-width","0"]]),a("not-sr-only",[["position","static"],["width","auto"],["height","auto"],["padding","0"],["margin","0"],["overflow","visible"],["clip-path","none"],["white-space","normal"]]),a("pointer-events-none",[["pointer-events","none"]]),a("pointer-events-auto",[["pointer-events","auto"]]),a("visible",[["visibility","visible"]]),a("invisible",[["visibility","hidden"]]),a("collapse",[["visibility","collapse"]]),a("static",[["position","static"]]),a("fixed",[["position","fixed"]]),a("absolute",[["position","absolute"]]),a("relative",[["position","relative"]]),a("sticky",[["position","sticky"]]);for(let[C,R]of[["inset","inset"],["inset-x","inset-inline"],["inset-y","inset-block"],["start","inset-inline-start"],["end","inset-inline-end"],["top","top"],["right","right"],["bottom","bottom"],["left","left"]])a(`${C}-auto`,[[R,"auto"]]),a(`${C}-full`,[[R,"100%"]]),a(`-${C}-full`,[[R,"-100%"]]),l(C,["--inset","--spacing"],G=>[je(R,G)],{supportsNegative:!0,supportsFractions:!0});a("isolate",[["isolation","isolate"]]),a("isolation-auto",[["isolation","auto"]]),u("z",{supportsNegative:!0,handleBareValue:({value:C})=>Nr(C)?C:null,themeKeys:["--z-index"],handle:C=>[je("z-index",C)],staticValues:{auto:[je("z-index","auto")]}}),s("z",()=>[{supportsNegative:!0,values:["0","10","20","30","40","50"],valueThemeKeys:["--z-index"]}]),u("order",{supportsNegative:!0,handleBareValue:({value:C})=>Nr(C)?C:null,themeKeys:["--order"],handle:C=>[je("order",C)],staticValues:{first:[je("order","-9999")],last:[je("order","9999")]}}),s("order",()=>[{supportsNegative:!0,values:Array.from({length:12},(C,R)=>`${R+1}`),valueThemeKeys:["--order"]}]),u("col",{supportsNegative:!0,handleBareValue:({value:C})=>Nr(C)?C:null,themeKeys:["--grid-column"],handle:C=>[je("grid-column",C)],staticValues:{auto:[je("grid-column","auto")]}}),u("col-span",{handleBareValue:({value:C})=>Nr(C)?C:null,handle:C=>[je("grid-column",`span ${C} / span ${C}`)],staticValues:{full:[je("grid-column","1 / -1")]}}),u("col-start",{supportsNegative:!0,handleBareValue:({value:C})=>Nr(C)?C:null,themeKeys:["--grid-column-start"],handle:C=>[je("grid-column-start",C)],staticValues:{auto:[je("grid-column-start","auto")]}}),u("col-end",{supportsNegative:!0,handleBareValue:({value:C})=>Nr(C)?C:null,themeKeys:["--grid-column-end"],handle:C=>[je("grid-column-end",C)],staticValues:{auto:[je("grid-column-end","auto")]}}),s("col-span",()=>[{values:Array.from({length:12},(C,R)=>`${R+1}`),valueThemeKeys:[]}]),s("col-start",()=>[{supportsNegative:!0,values:Array.from({length:13},(C,R)=>`${R+1}`),valueThemeKeys:["--grid-column-start"]}]),s("col-end",()=>[{supportsNegative:!0,values:Array.from({length:13},(C,R)=>`${R+1}`),valueThemeKeys:["--grid-column-end"]}]),u("row",{supportsNegative:!0,handleBareValue:({value:C})=>Nr(C)?C:null,themeKeys:["--grid-row"],handle:C=>[je("grid-row",C)],staticValues:{auto:[je("grid-row","auto")]}}),u("row-span",{themeKeys:[],handleBareValue:({value:C})=>Nr(C)?C:null,handle:C=>[je("grid-row",`span ${C} / span ${C}`)],staticValues:{full:[je("grid-row","1 / -1")]}}),u("row-start",{supportsNegative:!0,handleBareValue:({value:C})=>Nr(C)?C:null,themeKeys:["--grid-row-start"],handle:C=>[je("grid-row-start",C)],staticValues:{auto:[je("grid-row-start","auto")]}}),u("row-end",{supportsNegative:!0,handleBareValue:({value:C})=>Nr(C)?C:null,themeKeys:["--grid-row-end"],handle:C=>[je("grid-row-end",C)],staticValues:{auto:[je("grid-row-end","auto")]}}),s("row-span",()=>[{values:Array.from({length:12},(C,R)=>`${R+1}`),valueThemeKeys:[]}]),s("row-start",()=>[{supportsNegative:!0,values:Array.from({length:13},(C,R)=>`${R+1}`),valueThemeKeys:["--grid-row-start"]}]),s("row-end",()=>[{supportsNegative:!0,values:Array.from({length:13},(C,R)=>`${R+1}`),valueThemeKeys:["--grid-row-end"]}]),a("float-start",[["float","inline-start"]]),a("float-end",[["float","inline-end"]]),a("float-right",[["float","right"]]),a("float-left",[["float","left"]]),a("float-none",[["float","none"]]),a("clear-start",[["clear","inline-start"]]),a("clear-end",[["clear","inline-end"]]),a("clear-right",[["clear","right"]]),a("clear-left",[["clear","left"]]),a("clear-both",[["clear","both"]]),a("clear-none",[["clear","none"]]);for(let[C,R]of[["m","margin"],["mx","margin-inline"],["my","margin-block"],["ms","margin-inline-start"],["me","margin-inline-end"],["mt","margin-top"],["mr","margin-right"],["mb","margin-bottom"],["ml","margin-left"]])a(`${C}-auto`,[[R,"auto"]]),l(C,["--margin","--spacing"],G=>[je(R,G)],{supportsNegative:!0});a("box-border",[["box-sizing","border-box"]]),a("box-content",[["box-sizing","content-box"]]),u("line-clamp",{themeKeys:["--line-clamp"],handleBareValue:({value:C})=>Nr(C)?C:null,handle:C=>[je("overflow","hidden"),je("display","-webkit-box"),je("-webkit-box-orient","vertical"),je("-webkit-line-clamp",C)],staticValues:{none:[je("overflow","visible"),je("display","block"),je("-webkit-box-orient","horizontal"),je("-webkit-line-clamp","unset")]}}),s("line-clamp",()=>[{values:["1","2","3","4","5","6"],valueThemeKeys:["--line-clamp"]}]),a("block",[["display","block"]]),a("inline-block",[["display","inline-block"]]),a("inline",[["display","inline"]]),a("hidden",[["display","none"]]),a("inline-flex",[["display","inline-flex"]]),a("table",[["display","table"]]),a("inline-table",[["display","inline-table"]]),a("table-caption",[["display","table-caption"]]),a("table-cell",[["display","table-cell"]]),a("table-column",[["display","table-column"]]),a("table-column-group",[["display","table-column-group"]]),a("table-footer-group",[["display","table-footer-group"]]),a("table-header-group",[["display","table-header-group"]]),a("table-row-group",[["display","table-row-group"]]),a("table-row",[["display","table-row"]]),a("flow-root",[["display","flow-root"]]),a("flex",[["display","flex"]]),a("grid",[["display","grid"]]),a("inline-grid",[["display","inline-grid"]]),a("contents",[["display","contents"]]),a("list-item",[["display","list-item"]]),a("field-sizing-content",[["field-sizing","content"]]),a("field-sizing-fixed",[["field-sizing","fixed"]]),u("aspect",{themeKeys:["--aspect"],handleBareValue:({fraction:C})=>{if(C===null)return null;let[R,G]=Kn(C,"/");return!Nr(R)||!Nr(G)?null:C},handle:C=>[je("aspect-ratio",C)],staticValues:{auto:[je("aspect-ratio","auto")],square:[je("aspect-ratio","1 / 1")]}});for(let[C,R]of[["full","100%"],["svw","100svw"],["lvw","100lvw"],["dvw","100dvw"],["svh","100svh"],["lvh","100lvh"],["dvh","100dvh"],["min","min-content"],["max","max-content"],["fit","fit-content"]])a(`size-${C}`,[["--tw-sort","size"],["width",R],["height",R]]),a(`w-${C}`,[["width",R]]),a(`h-${C}`,[["height",R]]),a(`min-w-${C}`,[["min-width",R]]),a(`min-h-${C}`,[["min-height",R]]),a(`max-w-${C}`,[["max-width",R]]),a(`max-h-${C}`,[["max-height",R]]);a("size-auto",[["--tw-sort","size"],["width","auto"],["height","auto"]]),a("w-auto",[["width","auto"]]),a("h-auto",[["height","auto"]]),a("min-w-auto",[["min-width","auto"]]),a("min-h-auto",[["min-height","auto"]]),a("h-lh",[["height","1lh"]]),a("min-h-lh",[["min-height","1lh"]]),a("max-h-lh",[["max-height","1lh"]]),a("w-screen",[["width","100vw"]]),a("min-w-screen",[["min-width","100vw"]]),a("max-w-screen",[["max-width","100vw"]]),a("h-screen",[["height","100vh"]]),a("min-h-screen",[["min-height","100vh"]]),a("max-h-screen",[["max-height","100vh"]]),a("max-w-none",[["max-width","none"]]),a("max-h-none",[["max-height","none"]]),l("size",["--size","--spacing"],C=>[je("--tw-sort","size"),je("width",C),je("height",C)],{supportsFractions:!0});for(let[C,R,G]of[["w",["--width","--spacing","--container"],"width"],["min-w",["--min-width","--spacing","--container"],"min-width"],["max-w",["--max-width","--spacing","--container"],"max-width"],["h",["--height","--spacing"],"height"],["min-h",["--min-height","--height","--spacing"],"min-height"],["max-h",["--max-height","--height","--spacing"],"max-height"]])l(C,R,V=>[je(G,V)],{supportsFractions:!0});r.static("container",()=>{let C=[...t.namespace("--breakpoint").values()];C.sort((G,V)=>kb(G,V,"asc"));let R=[je("--tw-sort","--tw-container-component"),je("width","100%")];for(let G of C)R.push(ki("@media",`(width >= ${G})`,[je("max-width",G)]));return R}),a("flex-auto",[["flex","auto"]]),a("flex-initial",[["flex","0 auto"]]),a("flex-none",[["flex","none"]]),r.functional("flex",C=>{if(C.value){if(C.value.kind==="arbitrary")return C.modifier?void 0:[je("flex",C.value.value)];if(C.value.fraction){let[R,G]=Kn(C.value.fraction,"/");return!Nr(R)||!Nr(G)?void 0:[je("flex",`calc(${C.value.fraction} * 100%)`)]}if(Nr(C.value.value))return C.modifier?void 0:[je("flex",C.value.value)]}}),s("flex",()=>[{supportsFractions:!0},{values:Array.from({length:12},(C,R)=>`${R+1}`)}]),u("shrink",{defaultValue:"1",handleBareValue:({value:C})=>Nr(C)?C:null,handle:C=>[je("flex-shrink",C)]}),u("grow",{defaultValue:"1",handleBareValue:({value:C})=>Nr(C)?C:null,handle:C=>[je("flex-grow",C)]}),s("shrink",()=>[{values:["0"],valueThemeKeys:[],hasDefaultValue:!0}]),s("grow",()=>[{values:["0"],valueThemeKeys:[],hasDefaultValue:!0}]),a("basis-auto",[["flex-basis","auto"]]),a("basis-full",[["flex-basis","100%"]]),l("basis",["--flex-basis","--spacing","--container"],C=>[je("flex-basis",C)],{supportsFractions:!0}),a("table-auto",[["table-layout","auto"]]),a("table-fixed",[["table-layout","fixed"]]),a("caption-top",[["caption-side","top"]]),a("caption-bottom",[["caption-side","bottom"]]),a("border-collapse",[["border-collapse","collapse"]]),a("border-separate",[["border-collapse","separate"]]);let n=()=>Hn([or("--tw-border-spacing-x","0","<length>"),or("--tw-border-spacing-y","0","<length>")]);l("border-spacing",["--border-spacing","--spacing"],C=>[n(),je("--tw-border-spacing-x",C),je("--tw-border-spacing-y",C),je("border-spacing","var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]),l("border-spacing-x",["--border-spacing","--spacing"],C=>[n(),je("--tw-border-spacing-x",C),je("border-spacing","var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]),l("border-spacing-y",["--border-spacing","--spacing"],C=>[n(),je("--tw-border-spacing-y",C),je("border-spacing","var(--tw-border-spacing-x) var(--tw-border-spacing-y)")]),u("origin",{themeKeys:["--transform-origin"],handle:C=>[je("transform-origin",C)],staticValues:{center:[je("transform-origin","center")],top:[je("transform-origin","top")],"top-right":[je("transform-origin","100% 0")],right:[je("transform-origin","100%")],"bottom-right":[je("transform-origin","100% 100%")],bottom:[je("transform-origin","bottom")],"bottom-left":[je("transform-origin","0 100%")],left:[je("transform-origin","0")],"top-left":[je("transform-origin","0 0")]}}),u("perspective-origin",{themeKeys:["--perspective-origin"],handle:C=>[je("perspective-origin",C)],staticValues:{center:[je("perspective-origin","center")],top:[je("perspective-origin","top")],"top-right":[je("perspective-origin","100% 0")],right:[je("perspective-origin","100%")],"bottom-right":[je("perspective-origin","100% 100%")],bottom:[je("perspective-origin","bottom")],"bottom-left":[je("perspective-origin","0 100%")],left:[je("perspective-origin","0")],"top-left":[je("perspective-origin","0 0")]}}),u("perspective",{themeKeys:["--perspective"],handle:C=>[je("perspective",C)],staticValues:{none:[je("perspective","none")]}});let c=()=>Hn([or("--tw-translate-x","0"),or("--tw-translate-y","0"),or("--tw-translate-z","0")]);a("translate-none",[["translate","none"]]),a("-translate-full",[c,["--tw-translate-x","-100%"],["--tw-translate-y","-100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),a("translate-full",[c,["--tw-translate-x","100%"],["--tw-translate-y","100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),l("translate",["--translate","--spacing"],C=>[c(),je("--tw-translate-x",C),je("--tw-translate-y",C),je("translate","var(--tw-translate-x) var(--tw-translate-y)")],{supportsNegative:!0,supportsFractions:!0});for(let C of["x","y"])a(`-translate-${C}-full`,[c,[`--tw-translate-${C}`,"-100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),a(`translate-${C}-full`,[c,[`--tw-translate-${C}`,"100%"],["translate","var(--tw-translate-x) var(--tw-translate-y)"]]),l(`translate-${C}`,["--translate","--spacing"],R=>[c(),je(`--tw-translate-${C}`,R),je("translate","var(--tw-translate-x) var(--tw-translate-y)")],{supportsNegative:!0,supportsFractions:!0});l("translate-z",["--translate","--spacing"],C=>[c(),je("--tw-translate-z",C),je("translate","var(--tw-translate-x) var(--tw-translate-y) var(--tw-translate-z)")],{supportsNegative:!0}),a("translate-3d",[c,["translate","var(--tw-translate-x) var(--tw-translate-y) var(--tw-translate-z)"]]);let p=()=>Hn([or("--tw-scale-x","1"),or("--tw-scale-y","1"),or("--tw-scale-z","1")]);a("scale-none",[["scale","none"]]);function i({negative:C}){return R=>{if(!R.value||R.modifier)return;let G;return R.value.kind==="arbitrary"?(G=R.value.value,G=C?`calc(${G} * -1)`:G,[je("scale",G)]):(G=t.resolve(R.value.value,["--scale"]),!G&&Nr(R.value.value)&&(G=`${R.value.value}%`),G?(G=C?`calc(${G} * -1)`:G,[p(),je("--tw-scale-x",G),je("--tw-scale-y",G),je("--tw-scale-z",G),je("scale","var(--tw-scale-x) var(--tw-scale-y)")]):void 0)}}r.functional("-scale",i({negative:!0})),r.functional("scale",i({negative:!1})),s("scale",()=>[{supportsNegative:!0,values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--scale"]}]);for(let C of["x","y","z"])u(`scale-${C}`,{supportsNegative:!0,themeKeys:["--scale"],handleBareValue:({value:R})=>Nr(R)?`${R}%`:null,handle:R=>[p(),je(`--tw-scale-${C}`,R),je("scale",`var(--tw-scale-x) var(--tw-scale-y)${C==="z"?" var(--tw-scale-z)":""}`)]}),s(`scale-${C}`,()=>[{supportsNegative:!0,values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--scale"]}]);a("scale-3d",[p,["scale","var(--tw-scale-x) var(--tw-scale-y) var(--tw-scale-z)"]]),a("rotate-none",[["rotate","none"]]);function o({negative:C}){return R=>{if(!R.value||R.modifier)return;let G;if(R.value.kind==="arbitrary"){G=R.value.value;let V=R.value.dataType??ys(G,["angle","vector"]);if(V==="vector")return[je("rotate",`${G} var(--tw-rotate)`)];if(V!=="angle")return[je("rotate",C?`calc(${G} * -1)`:G)]}else if(G=t.resolve(R.value.value,["--rotate"]),!G&&Nr(R.value.value)&&(G=`${R.value.value}deg`),!G)return;return[je("rotate",C?`calc(${G} * -1)`:G)]}}r.functional("-rotate",o({negative:!0})),r.functional("rotate",o({negative:!1})),s("rotate",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"],valueThemeKeys:["--rotate"]}]);{let C=["var(--tw-rotate-x,)","var(--tw-rotate-y,)","var(--tw-rotate-z,)","var(--tw-skew-x,)","var(--tw-skew-y,)"].join(" "),R=()=>Hn([or("--tw-rotate-x"),or("--tw-rotate-y"),or("--tw-rotate-z"),or("--tw-skew-x"),or("--tw-skew-y")]);for(let G of["x","y","z"])u(`rotate-${G}`,{supportsNegative:!0,themeKeys:["--rotate"],handleBareValue:({value:V})=>Nr(V)?`${V}deg`:null,handle:V=>[R(),je(`--tw-rotate-${G}`,`rotate${G.toUpperCase()}(${V})`),je("transform",C)]}),s(`rotate-${G}`,()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"],valueThemeKeys:["--rotate"]}]);u("skew",{supportsNegative:!0,themeKeys:["--skew"],handleBareValue:({value:G})=>Nr(G)?`${G}deg`:null,handle:G=>[R(),je("--tw-skew-x",`skewX(${G})`),je("--tw-skew-y",`skewY(${G})`),je("transform",C)]}),u("skew-x",{supportsNegative:!0,themeKeys:["--skew"],handleBareValue:({value:G})=>Nr(G)?`${G}deg`:null,handle:G=>[R(),je("--tw-skew-x",`skewX(${G})`),je("transform",C)]}),u("skew-y",{supportsNegative:!0,themeKeys:["--skew"],handleBareValue:({value:G})=>Nr(G)?`${G}deg`:null,handle:G=>[R(),je("--tw-skew-y",`skewY(${G})`),je("transform",C)]}),s("skew",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12"],valueThemeKeys:["--skew"]}]),s("skew-x",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12"],valueThemeKeys:["--skew"]}]),s("skew-y",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12"],valueThemeKeys:["--skew"]}]),r.functional("transform",G=>{if(G.modifier)return;let V=null;if(G.value?G.value.kind==="arbitrary"&&(V=G.value.value):V=C,V!==null)return[R(),je("transform",V)]}),s("transform",()=>[{hasDefaultValue:!0}]),a("transform-cpu",[["transform",C]]),a("transform-gpu",[["transform",`translateZ(0) ${C}`]]),a("transform-none",[["transform","none"]])}a("transform-flat",[["transform-style","flat"]]),a("transform-3d",[["transform-style","preserve-3d"]]),a("transform-content",[["transform-box","content-box"]]),a("transform-border",[["transform-box","border-box"]]),a("transform-fill",[["transform-box","fill-box"]]),a("transform-stroke",[["transform-box","stroke-box"]]),a("transform-view",[["transform-box","view-box"]]),a("backface-visible",[["backface-visibility","visible"]]),a("backface-hidden",[["backface-visibility","hidden"]]);for(let C of["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out"])a(`cursor-${C}`,[["cursor",C]]);u("cursor",{themeKeys:["--cursor"],handle:C=>[je("cursor",C)]});for(let C of["auto","none","manipulation"])a(`touch-${C}`,[["touch-action",C]]);let h=()=>Hn([or("--tw-pan-x"),or("--tw-pan-y"),or("--tw-pinch-zoom")]);for(let C of["x","left","right"])a(`touch-pan-${C}`,[h,["--tw-pan-x",`pan-${C}`],["touch-action","var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]);for(let C of["y","up","down"])a(`touch-pan-${C}`,[h,["--tw-pan-y",`pan-${C}`],["touch-action","var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]);a("touch-pinch-zoom",[h,["--tw-pinch-zoom","pinch-zoom"],["touch-action","var(--tw-pan-x,) var(--tw-pan-y,) var(--tw-pinch-zoom,)"]]);for(let C of["none","text","all","auto"])a(`select-${C}`,[["-webkit-user-select",C],["user-select",C]]);a("resize-none",[["resize","none"]]),a("resize-x",[["resize","horizontal"]]),a("resize-y",[["resize","vertical"]]),a("resize",[["resize","both"]]),a("snap-none",[["scroll-snap-type","none"]]);let d=()=>Hn([or("--tw-scroll-snap-strictness","proximity","*")]);for(let C of["x","y","both"])a(`snap-${C}`,[d,["scroll-snap-type",`${C} var(--tw-scroll-snap-strictness)`]]);a("snap-mandatory",[d,["--tw-scroll-snap-strictness","mandatory"]]),a("snap-proximity",[d,["--tw-scroll-snap-strictness","proximity"]]),a("snap-align-none",[["scroll-snap-align","none"]]),a("snap-start",[["scroll-snap-align","start"]]),a("snap-end",[["scroll-snap-align","end"]]),a("snap-center",[["scroll-snap-align","center"]]),a("snap-normal",[["scroll-snap-stop","normal"]]),a("snap-always",[["scroll-snap-stop","always"]]);for(let[C,R]of[["scroll-m","scroll-margin"],["scroll-mx","scroll-margin-inline"],["scroll-my","scroll-margin-block"],["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"]])l(C,["--scroll-margin","--spacing"],G=>[je(R,G)],{supportsNegative:!0});for(let[C,R]of[["scroll-p","scroll-padding"],["scroll-px","scroll-padding-inline"],["scroll-py","scroll-padding-block"],["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"]])l(C,["--scroll-padding","--spacing"],G=>[je(R,G)]);a("list-inside",[["list-style-position","inside"]]),a("list-outside",[["list-style-position","outside"]]),u("list",{themeKeys:["--list-style-type"],handle:C=>[je("list-style-type",C)],staticValues:{none:[je("list-style-type","none")],disc:[je("list-style-type","disc")],decimal:[je("list-style-type","decimal")]}}),u("list-image",{themeKeys:["--list-style-image"],handle:C=>[je("list-style-image",C)],staticValues:{none:[je("list-style-image","none")]}}),a("appearance-none",[["appearance","none"]]),a("appearance-auto",[["appearance","auto"]]),a("scheme-normal",[["color-scheme","normal"]]),a("scheme-dark",[["color-scheme","dark"]]),a("scheme-light",[["color-scheme","light"]]),a("scheme-light-dark",[["color-scheme","light dark"]]),a("scheme-only-dark",[["color-scheme","only dark"]]),a("scheme-only-light",[["color-scheme","only light"]]),u("columns",{themeKeys:["--columns","--container"],handleBareValue:({value:C})=>Nr(C)?C:null,handle:C=>[je("columns",C)],staticValues:{auto:[je("columns","auto")]}}),s("columns",()=>[{values:Array.from({length:12},(C,R)=>`${R+1}`),valueThemeKeys:["--columns","--container"]}]);for(let C of["auto","avoid","all","avoid-page","page","left","right","column"])a(`break-before-${C}`,[["break-before",C]]);for(let C of["auto","avoid","avoid-page","avoid-column"])a(`break-inside-${C}`,[["break-inside",C]]);for(let C of["auto","avoid","all","avoid-page","page","left","right","column"])a(`break-after-${C}`,[["break-after",C]]);a("grid-flow-row",[["grid-auto-flow","row"]]),a("grid-flow-col",[["grid-auto-flow","column"]]),a("grid-flow-dense",[["grid-auto-flow","dense"]]),a("grid-flow-row-dense",[["grid-auto-flow","row dense"]]),a("grid-flow-col-dense",[["grid-auto-flow","column dense"]]),u("auto-cols",{themeKeys:["--grid-auto-columns"],handle:C=>[je("grid-auto-columns",C)],staticValues:{auto:[je("grid-auto-columns","auto")],min:[je("grid-auto-columns","min-content")],max:[je("grid-auto-columns","max-content")],fr:[je("grid-auto-columns","minmax(0, 1fr)")]}}),u("auto-rows",{themeKeys:["--grid-auto-rows"],handle:C=>[je("grid-auto-rows",C)],staticValues:{auto:[je("grid-auto-rows","auto")],min:[je("grid-auto-rows","min-content")],max:[je("grid-auto-rows","max-content")],fr:[je("grid-auto-rows","minmax(0, 1fr)")]}}),u("grid-cols",{themeKeys:["--grid-template-columns"],handleBareValue:({value:C})=>JS(C)?`repeat(${C}, minmax(0, 1fr))`:null,handle:C=>[je("grid-template-columns",C)],staticValues:{none:[je("grid-template-columns","none")],subgrid:[je("grid-template-columns","subgrid")]}}),u("grid-rows",{themeKeys:["--grid-template-rows"],handleBareValue:({value:C})=>JS(C)?`repeat(${C}, minmax(0, 1fr))`:null,handle:C=>[je("grid-template-rows",C)],staticValues:{none:[je("grid-template-rows","none")],subgrid:[je("grid-template-rows","subgrid")]}}),s("grid-cols",()=>[{values:Array.from({length:12},(C,R)=>`${R+1}`),valueThemeKeys:["--grid-template-columns"]}]),s("grid-rows",()=>[{values:Array.from({length:12},(C,R)=>`${R+1}`),valueThemeKeys:["--grid-template-rows"]}]),a("flex-row",[["flex-direction","row"]]),a("flex-row-reverse",[["flex-direction","row-reverse"]]),a("flex-col",[["flex-direction","column"]]),a("flex-col-reverse",[["flex-direction","column-reverse"]]),a("flex-wrap",[["flex-wrap","wrap"]]),a("flex-nowrap",[["flex-wrap","nowrap"]]),a("flex-wrap-reverse",[["flex-wrap","wrap-reverse"]]),a("place-content-center",[["place-content","center"]]),a("place-content-start",[["place-content","start"]]),a("place-content-end",[["place-content","end"]]),a("place-content-center-safe",[["place-content","safe center"]]),a("place-content-end-safe",[["place-content","safe end"]]),a("place-content-between",[["place-content","space-between"]]),a("place-content-around",[["place-content","space-around"]]),a("place-content-evenly",[["place-content","space-evenly"]]),a("place-content-baseline",[["place-content","baseline"]]),a("place-content-stretch",[["place-content","stretch"]]),a("place-items-center",[["place-items","center"]]),a("place-items-start",[["place-items","start"]]),a("place-items-end",[["place-items","end"]]),a("place-items-center-safe",[["place-items","safe center"]]),a("place-items-end-safe",[["place-items","safe end"]]),a("place-items-baseline",[["place-items","baseline"]]),a("place-items-stretch",[["place-items","stretch"]]),a("content-normal",[["align-content","normal"]]),a("content-center",[["align-content","center"]]),a("content-start",[["align-content","flex-start"]]),a("content-end",[["align-content","flex-end"]]),a("content-center-safe",[["align-content","safe center"]]),a("content-end-safe",[["align-content","safe flex-end"]]),a("content-between",[["align-content","space-between"]]),a("content-around",[["align-content","space-around"]]),a("content-evenly",[["align-content","space-evenly"]]),a("content-baseline",[["align-content","baseline"]]),a("content-stretch",[["align-content","stretch"]]),a("items-center",[["align-items","center"]]),a("items-start",[["align-items","flex-start"]]),a("items-end",[["align-items","flex-end"]]),a("items-center-safe",[["align-items","safe center"]]),a("items-end-safe",[["align-items","safe flex-end"]]),a("items-baseline",[["align-items","baseline"]]),a("items-baseline-last",[["align-items","last baseline"]]),a("items-stretch",[["align-items","stretch"]]),a("justify-normal",[["justify-content","normal"]]),a("justify-center",[["justify-content","center"]]),a("justify-start",[["justify-content","flex-start"]]),a("justify-end",[["justify-content","flex-end"]]),a("justify-center-safe",[["justify-content","safe center"]]),a("justify-end-safe",[["justify-content","safe flex-end"]]),a("justify-between",[["justify-content","space-between"]]),a("justify-around",[["justify-content","space-around"]]),a("justify-evenly",[["justify-content","space-evenly"]]),a("justify-baseline",[["justify-content","baseline"]]),a("justify-stretch",[["justify-content","stretch"]]),a("justify-items-normal",[["justify-items","normal"]]),a("justify-items-center",[["justify-items","center"]]),a("justify-items-start",[["justify-items","start"]]),a("justify-items-end",[["justify-items","end"]]),a("justify-items-center-safe",[["justify-items","safe center"]]),a("justify-items-end-safe",[["justify-items","safe end"]]),a("justify-items-stretch",[["justify-items","stretch"]]),l("gap",["--gap","--spacing"],C=>[je("gap",C)]),l("gap-x",["--gap","--spacing"],C=>[je("column-gap",C)]),l("gap-y",["--gap","--spacing"],C=>[je("row-gap",C)]),l("space-x",["--space","--spacing"],C=>[Hn([or("--tw-space-x-reverse","0")]),Ui(":where(& > :not(:last-child))",[je("--tw-sort","row-gap"),je("--tw-space-x-reverse","0"),je("margin-inline-start",`calc(${C} * var(--tw-space-x-reverse))`),je("margin-inline-end",`calc(${C} * calc(1 - var(--tw-space-x-reverse)))`)])],{supportsNegative:!0}),l("space-y",["--space","--spacing"],C=>[Hn([or("--tw-space-y-reverse","0")]),Ui(":where(& > :not(:last-child))",[je("--tw-sort","column-gap"),je("--tw-space-y-reverse","0"),je("margin-block-start",`calc(${C} * var(--tw-space-y-reverse))`),je("margin-block-end",`calc(${C} * calc(1 - var(--tw-space-y-reverse)))`)])],{supportsNegative:!0}),a("space-x-reverse",[()=>Hn([or("--tw-space-x-reverse","0")]),()=>Ui(":where(& > :not(:last-child))",[je("--tw-sort","row-gap"),je("--tw-space-x-reverse","1")])]),a("space-y-reverse",[()=>Hn([or("--tw-space-y-reverse","0")]),()=>Ui(":where(& > :not(:last-child))",[je("--tw-sort","column-gap"),je("--tw-space-y-reverse","1")])]),a("accent-auto",[["accent-color","auto"]]),e("accent",{themeKeys:["--accent-color","--color"],handle:C=>[je("accent-color",C)]}),e("caret",{themeKeys:["--caret-color","--color"],handle:C=>[je("caret-color",C)]}),e("divide",{themeKeys:["--divide-color","--border-color","--color"],handle:C=>[Ui(":where(& > :not(:last-child))",[je("--tw-sort","divide-color"),je("border-color",C)])]}),a("place-self-auto",[["place-self","auto"]]),a("place-self-start",[["place-self","start"]]),a("place-self-end",[["place-self","end"]]),a("place-self-center",[["place-self","center"]]),a("place-self-end-safe",[["place-self","safe end"]]),a("place-self-center-safe",[["place-self","safe center"]]),a("place-self-stretch",[["place-self","stretch"]]),a("self-auto",[["align-self","auto"]]),a("self-start",[["align-self","flex-start"]]),a("self-end",[["align-self","flex-end"]]),a("self-center",[["align-self","center"]]),a("self-end-safe",[["align-self","safe flex-end"]]),a("self-center-safe",[["align-self","safe center"]]),a("self-stretch",[["align-self","stretch"]]),a("self-baseline",[["align-self","baseline"]]),a("self-baseline-last",[["align-self","last baseline"]]),a("justify-self-auto",[["justify-self","auto"]]),a("justify-self-start",[["justify-self","flex-start"]]),a("justify-self-end",[["justify-self","flex-end"]]),a("justify-self-center",[["justify-self","center"]]),a("justify-self-end-safe",[["justify-self","safe flex-end"]]),a("justify-self-center-safe",[["justify-self","safe center"]]),a("justify-self-stretch",[["justify-self","stretch"]]);for(let C of["auto","hidden","clip","visible","scroll"])a(`overflow-${C}`,[["overflow",C]]),a(`overflow-x-${C}`,[["overflow-x",C]]),a(`overflow-y-${C}`,[["overflow-y",C]]);for(let C of["auto","contain","none"])a(`overscroll-${C}`,[["overscroll-behavior",C]]),a(`overscroll-x-${C}`,[["overscroll-behavior-x",C]]),a(`overscroll-y-${C}`,[["overscroll-behavior-y",C]]);a("scroll-auto",[["scroll-behavior","auto"]]),a("scroll-smooth",[["scroll-behavior","smooth"]]),a("truncate",[["overflow","hidden"],["text-overflow","ellipsis"],["white-space","nowrap"]]),a("text-ellipsis",[["text-overflow","ellipsis"]]),a("text-clip",[["text-overflow","clip"]]),a("hyphens-none",[["-webkit-hyphens","none"],["hyphens","none"]]),a("hyphens-manual",[["-webkit-hyphens","manual"],["hyphens","manual"]]),a("hyphens-auto",[["-webkit-hyphens","auto"],["hyphens","auto"]]),a("whitespace-normal",[["white-space","normal"]]),a("whitespace-nowrap",[["white-space","nowrap"]]),a("whitespace-pre",[["white-space","pre"]]),a("whitespace-pre-line",[["white-space","pre-line"]]),a("whitespace-pre-wrap",[["white-space","pre-wrap"]]),a("whitespace-break-spaces",[["white-space","break-spaces"]]),a("text-wrap",[["text-wrap","wrap"]]),a("text-nowrap",[["text-wrap","nowrap"]]),a("text-balance",[["text-wrap","balance"]]),a("text-pretty",[["text-wrap","pretty"]]),a("break-normal",[["overflow-wrap","normal"],["word-break","normal"]]),a("break-words",[["overflow-wrap","break-word"]]),a("break-all",[["word-break","break-all"]]),a("break-keep",[["word-break","keep-all"]]),a("wrap-anywhere",[["overflow-wrap","anywhere"]]),a("wrap-break-word",[["overflow-wrap","break-word"]]),a("wrap-normal",[["overflow-wrap","normal"]]);for(let[C,R]of[["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"]]])u(C,{themeKeys:["--radius"],handle:G=>R.map(V=>je(V,G)),staticValues:{none:R.map(G=>je(G,"0")),full:R.map(G=>je(G,"calc(infinity * 1px)"))}});a("border-solid",[["--tw-border-style","solid"],["border-style","solid"]]),a("border-dashed",[["--tw-border-style","dashed"],["border-style","dashed"]]),a("border-dotted",[["--tw-border-style","dotted"],["border-style","dotted"]]),a("border-double",[["--tw-border-style","double"],["border-style","double"]]),a("border-hidden",[["--tw-border-style","hidden"],["border-style","hidden"]]),a("border-none",[["--tw-border-style","none"],["border-style","none"]]);{let C=function(G,V){r.functional(G,B=>{if(!B.value){if(B.modifier)return;let q=t.get(["--default-border-width"])??"1px",K=V.width(q);return K?[R(),...K]:void 0}if(B.value.kind==="arbitrary"){let q=B.value.value;switch(B.value.dataType??ys(q,["color","line-width","length"])){case"line-width":case"length":{if(B.modifier)return;let K=V.width(q);return K?[R(),...K]:void 0}default:return q=qs(q,B.modifier,t),q===null?void 0:V.color(q)}}{let q=aa(B,t,["--border-color","--color"]);if(q)return V.color(q)}{if(B.modifier)return;let q=t.resolve(B.value.value,["--border-width"]);if(q){let K=V.width(q);return K?[R(),...K]:void 0}if(Nr(B.value.value)){let K=V.width(`${B.value.value}px`);return K?[R(),...K]:void 0}}}),s(G,()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--border-color","--color"],modifiers:Array.from({length:21},(B,q)=>`${q*5}`),hasDefaultValue:!0},{values:["0","2","4","8"],valueThemeKeys:["--border-width"]}])};var f=C;let R=()=>Hn([or("--tw-border-style","solid")]);C("border",{width:G=>[je("border-style","var(--tw-border-style)"),je("border-width",G)],color:G=>[je("border-color",G)]}),C("border-x",{width:G=>[je("border-inline-style","var(--tw-border-style)"),je("border-inline-width",G)],color:G=>[je("border-inline-color",G)]}),C("border-y",{width:G=>[je("border-block-style","var(--tw-border-style)"),je("border-block-width",G)],color:G=>[je("border-block-color",G)]}),C("border-s",{width:G=>[je("border-inline-start-style","var(--tw-border-style)"),je("border-inline-start-width",G)],color:G=>[je("border-inline-start-color",G)]}),C("border-e",{width:G=>[je("border-inline-end-style","var(--tw-border-style)"),je("border-inline-end-width",G)],color:G=>[je("border-inline-end-color",G)]}),C("border-t",{width:G=>[je("border-top-style","var(--tw-border-style)"),je("border-top-width",G)],color:G=>[je("border-top-color",G)]}),C("border-r",{width:G=>[je("border-right-style","var(--tw-border-style)"),je("border-right-width",G)],color:G=>[je("border-right-color",G)]}),C("border-b",{width:G=>[je("border-bottom-style","var(--tw-border-style)"),je("border-bottom-width",G)],color:G=>[je("border-bottom-color",G)]}),C("border-l",{width:G=>[je("border-left-style","var(--tw-border-style)"),je("border-left-width",G)],color:G=>[je("border-left-color",G)]}),u("divide-x",{defaultValue:t.get(["--default-border-width"])??"1px",themeKeys:["--divide-width","--border-width"],handleBareValue:({value:G})=>Nr(G)?`${G}px`:null,handle:G=>[Hn([or("--tw-divide-x-reverse","0")]),Ui(":where(& > :not(:last-child))",[je("--tw-sort","divide-x-width"),R(),je("--tw-divide-x-reverse","0"),je("border-inline-style","var(--tw-border-style)"),je("border-inline-start-width",`calc(${G} * var(--tw-divide-x-reverse))`),je("border-inline-end-width",`calc(${G} * calc(1 - var(--tw-divide-x-reverse)))`)])]}),u("divide-y",{defaultValue:t.get(["--default-border-width"])??"1px",themeKeys:["--divide-width","--border-width"],handleBareValue:({value:G})=>Nr(G)?`${G}px`:null,handle:G=>[Hn([or("--tw-divide-y-reverse","0")]),Ui(":where(& > :not(:last-child))",[je("--tw-sort","divide-y-width"),R(),je("--tw-divide-y-reverse","0"),je("border-bottom-style","var(--tw-border-style)"),je("border-top-style","var(--tw-border-style)"),je("border-top-width",`calc(${G} * var(--tw-divide-y-reverse))`),je("border-bottom-width",`calc(${G} * calc(1 - var(--tw-divide-y-reverse)))`)])]}),s("divide-x",()=>[{values:["0","2","4","8"],valueThemeKeys:["--divide-width","--border-width"],hasDefaultValue:!0}]),s("divide-y",()=>[{values:["0","2","4","8"],valueThemeKeys:["--divide-width","--border-width"],hasDefaultValue:!0}]),a("divide-x-reverse",[()=>Hn([or("--tw-divide-x-reverse","0")]),()=>Ui(":where(& > :not(:last-child))",[je("--tw-divide-x-reverse","1")])]),a("divide-y-reverse",[()=>Hn([or("--tw-divide-y-reverse","0")]),()=>Ui(":where(& > :not(:last-child))",[je("--tw-divide-y-reverse","1")])]);for(let G of["solid","dashed","dotted","double","none"])a(`divide-${G}`,[()=>Ui(":where(& > :not(:last-child))",[je("--tw-sort","divide-style"),je("--tw-border-style",G),je("border-style",G)])])}a("bg-auto",[["background-size","auto"]]),a("bg-cover",[["background-size","cover"]]),a("bg-contain",[["background-size","contain"]]),u("bg-size",{handle(C){if(C)return[je("background-size",C)]}}),a("bg-fixed",[["background-attachment","fixed"]]),a("bg-local",[["background-attachment","local"]]),a("bg-scroll",[["background-attachment","scroll"]]),a("bg-top",[["background-position","top"]]),a("bg-top-left",[["background-position","left top"]]),a("bg-top-right",[["background-position","right top"]]),a("bg-bottom",[["background-position","bottom"]]),a("bg-bottom-left",[["background-position","left bottom"]]),a("bg-bottom-right",[["background-position","right bottom"]]),a("bg-left",[["background-position","left"]]),a("bg-right",[["background-position","right"]]),a("bg-center",[["background-position","center"]]),u("bg-position",{handle(C){if(C)return[je("background-position",C)]}}),a("bg-repeat",[["background-repeat","repeat"]]),a("bg-no-repeat",[["background-repeat","no-repeat"]]),a("bg-repeat-x",[["background-repeat","repeat-x"]]),a("bg-repeat-y",[["background-repeat","repeat-y"]]),a("bg-repeat-round",[["background-repeat","round"]]),a("bg-repeat-space",[["background-repeat","space"]]),a("bg-none",[["background-image","none"]]);{let C=function(q){let K="in oklab";if((q==null?void 0:q.kind)==="named")switch(q.value){case"longer":case"shorter":case"increasing":case"decreasing":K=`in oklch ${q.value} hue`;break;default:K=`in ${q.value}`}else(q==null?void 0:q.kind)==="arbitrary"&&(K=q.value);return K},R=function({negative:q}){return K=>{if(!K.value)return;if(K.value.kind==="arbitrary"){if(K.modifier)return;let Z=K.value.value;switch(K.value.dataType??ys(Z,["angle"])){case"angle":return Z=q?`calc(${Z} * -1)`:`${Z}`,[je("--tw-gradient-position",Z),je("background-image",`linear-gradient(var(--tw-gradient-stops,${Z}))`)];default:return q?void 0:[je("--tw-gradient-position",Z),je("background-image",`linear-gradient(var(--tw-gradient-stops,${Z}))`)]}}let $=K.value.value;if(!q&&B.has($))$=B.get($);else if(Nr($))$=q?`calc(${$}deg * -1)`:`${$}deg`;else return;let W=C(K.modifier);return[je("--tw-gradient-position",`${$}`),Gs("@supports (background-image: linear-gradient(in lab, red, red))",[je("--tw-gradient-position",`${$} ${W}`)]),je("background-image","linear-gradient(var(--tw-gradient-stops))")]}},G=function({negative:q}){return K=>{var Z;if(((Z=K.value)==null?void 0:Z.kind)==="arbitrary"){if(K.modifier)return;let Q=K.value.value;return[je("--tw-gradient-position",Q),je("background-image",`conic-gradient(var(--tw-gradient-stops,${Q}))`)]}let $=C(K.modifier);if(!K.value)return[je("--tw-gradient-position",$),je("background-image","conic-gradient(var(--tw-gradient-stops))")];let W=K.value.value;if(Nr(W))return W=q?`calc(${W}deg * -1)`:`${W}deg`,[je("--tw-gradient-position",`from ${W} ${$}`),je("background-image","conic-gradient(var(--tw-gradient-stops))")]}};var b=C,m=R,y=G;let V=["oklab","oklch","srgb","hsl","longer","shorter","increasing","decreasing"],B=new Map([["to-t","to top"],["to-tr","to top right"],["to-r","to right"],["to-br","to bottom right"],["to-b","to bottom"],["to-bl","to bottom left"],["to-l","to left"],["to-tl","to top left"]]);r.functional("-bg-linear",R({negative:!0})),r.functional("bg-linear",R({negative:!1})),s("bg-linear",()=>[{values:[...B.keys()],modifiers:V},{values:["0","30","60","90","120","150","180","210","240","270","300","330"],supportsNegative:!0,modifiers:V}]),r.functional("-bg-conic",G({negative:!0})),r.functional("bg-conic",G({negative:!1})),s("bg-conic",()=>[{hasDefaultValue:!0,modifiers:V},{values:["0","30","60","90","120","150","180","210","240","270","300","330"],supportsNegative:!0,modifiers:V}]),r.functional("bg-radial",q=>{if(!q.value){let K=C(q.modifier);return[je("--tw-gradient-position",K),je("background-image","radial-gradient(var(--tw-gradient-stops))")]}if(q.value.kind==="arbitrary"){if(q.modifier)return;let K=q.value.value;return[je("--tw-gradient-position",K),je("background-image",`radial-gradient(var(--tw-gradient-stops,${K}))`)]}}),s("bg-radial",()=>[{hasDefaultValue:!0,modifiers:V}])}r.functional("bg",C=>{if(C.value){if(C.value.kind==="arbitrary"){let R=C.value.value;switch(C.value.dataType??ys(R,["image","color","percentage","position","bg-size","length","url"])){case"percentage":case"position":return C.modifier?void 0:[je("background-position",R)];case"bg-size":case"length":case"size":return C.modifier?void 0:[je("background-size",R)];case"image":case"url":return C.modifier?void 0:[je("background-image",R)];default:return R=qs(R,C.modifier,t),R===null?void 0:[je("background-color",R)]}}{let R=aa(C,t,["--background-color","--color"]);if(R)return[je("background-color",R)]}{if(C.modifier)return;let R=t.resolve(C.value.value,["--background-image"]);if(R)return[je("background-image",R)]}}}),s("bg",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},(C,R)=>`${R*5}`)},{values:[],valueThemeKeys:["--background-image"]}]);let x=()=>Hn([or("--tw-gradient-position"),or("--tw-gradient-from","#0000","<color>"),or("--tw-gradient-via","#0000","<color>"),or("--tw-gradient-to","#0000","<color>"),or("--tw-gradient-stops"),or("--tw-gradient-via-stops"),or("--tw-gradient-from-position","0%","<length-percentage>"),or("--tw-gradient-via-position","50%","<length-percentage>"),or("--tw-gradient-to-position","100%","<length-percentage>")]);function v(C,R){r.functional(C,G=>{if(G.value){if(G.value.kind==="arbitrary"){let V=G.value.value;switch(G.value.dataType??ys(V,["color","length","percentage"])){case"length":case"percentage":return G.modifier?void 0:R.position(V);default:return V=qs(V,G.modifier,t),V===null?void 0:R.color(V)}}{let V=aa(G,t,["--background-color","--color"]);if(V)return R.color(V)}{if(G.modifier)return;let V=t.resolve(G.value.value,["--gradient-color-stop-positions"]);if(V)return R.position(V);if(G.value.value[G.value.value.length-1]==="%"&&Nr(G.value.value.slice(0,-1)))return R.position(G.value.value)}}}),s(C,()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},(G,V)=>`${V*5}`)},{values:Array.from({length:21},(G,V)=>`${V*5}%`),valueThemeKeys:["--gradient-color-stop-positions"]}])}v("from",{color:C=>[x(),je("--tw-sort","--tw-gradient-from"),je("--tw-gradient-from",C),je("--tw-gradient-stops","var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))")],position:C=>[x(),je("--tw-gradient-from-position",C)]}),a("via-none",[["--tw-gradient-via-stops","initial"]]),v("via",{color:C=>[x(),je("--tw-sort","--tw-gradient-via"),je("--tw-gradient-via",C),je("--tw-gradient-via-stops","var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-via) var(--tw-gradient-via-position), var(--tw-gradient-to) var(--tw-gradient-to-position)"),je("--tw-gradient-stops","var(--tw-gradient-via-stops)")],position:C=>[x(),je("--tw-gradient-via-position",C)]}),v("to",{color:C=>[x(),je("--tw-sort","--tw-gradient-to"),je("--tw-gradient-to",C),je("--tw-gradient-stops","var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))")],position:C=>[x(),je("--tw-gradient-to-position",C)]}),a("mask-none",[["mask-image","none"]]),r.functional("mask",C=>{if(!C.value||C.modifier||C.value.kind!=="arbitrary")return;let R=C.value.value;switch(C.value.dataType??ys(R,["image","percentage","position","bg-size","length","url"])){case"percentage":case"position":return C.modifier?void 0:[je("mask-position",R)];case"bg-size":case"length":case"size":return[je("mask-size",R)];case"image":case"url":default:return[je("mask-image",R)]}}),a("mask-add",[["mask-composite","add"]]),a("mask-subtract",[["mask-composite","subtract"]]),a("mask-intersect",[["mask-composite","intersect"]]),a("mask-exclude",[["mask-composite","exclude"]]),a("mask-alpha",[["mask-mode","alpha"]]),a("mask-luminance",[["mask-mode","luminance"]]),a("mask-match",[["mask-mode","match-source"]]),a("mask-type-alpha",[["mask-type","alpha"]]),a("mask-type-luminance",[["mask-type","luminance"]]),a("mask-auto",[["mask-size","auto"]]),a("mask-cover",[["mask-size","cover"]]),a("mask-contain",[["mask-size","contain"]]),u("mask-size",{handle(C){if(C)return[je("mask-size",C)]}}),a("mask-top",[["mask-position","top"]]),a("mask-top-left",[["mask-position","left top"]]),a("mask-top-right",[["mask-position","right top"]]),a("mask-bottom",[["mask-position","bottom"]]),a("mask-bottom-left",[["mask-position","left bottom"]]),a("mask-bottom-right",[["mask-position","right bottom"]]),a("mask-left",[["mask-position","left"]]),a("mask-right",[["mask-position","right"]]),a("mask-center",[["mask-position","center"]]),u("mask-position",{handle(C){if(C)return[je("mask-position",C)]}}),a("mask-repeat",[["mask-repeat","repeat"]]),a("mask-no-repeat",[["mask-repeat","no-repeat"]]),a("mask-repeat-x",[["mask-repeat","repeat-x"]]),a("mask-repeat-y",[["mask-repeat","repeat-y"]]),a("mask-repeat-round",[["mask-repeat","round"]]),a("mask-repeat-space",[["mask-repeat","space"]]),a("mask-clip-border",[["mask-clip","border-box"]]),a("mask-clip-padding",[["mask-clip","padding-box"]]),a("mask-clip-content",[["mask-clip","content-box"]]),a("mask-clip-fill",[["mask-clip","fill-box"]]),a("mask-clip-stroke",[["mask-clip","stroke-box"]]),a("mask-clip-view",[["mask-clip","view-box"]]),a("mask-no-clip",[["mask-clip","no-clip"]]),a("mask-origin-border",[["mask-origin","border-box"]]),a("mask-origin-padding",[["mask-origin","padding-box"]]),a("mask-origin-content",[["mask-origin","content-box"]]),a("mask-origin-fill",[["mask-origin","fill-box"]]),a("mask-origin-stroke",[["mask-origin","stroke-box"]]),a("mask-origin-view",[["mask-origin","view-box"]]);let E=()=>Hn([or("--tw-mask-linear","linear-gradient(#fff, #fff)"),or("--tw-mask-radial","linear-gradient(#fff, #fff)"),or("--tw-mask-conic","linear-gradient(#fff, #fff)")]);function S(C,R){r.functional(C,G=>{if(G.value){if(G.value.kind==="arbitrary"){let V=G.value.value;switch(G.value.dataType??ys(V,["length","percentage","color"])){case"color":return V=qs(V,G.modifier,t),V===null?void 0:R.color(V);case"percentage":return G.modifier||!Nr(V.slice(0,-1))?void 0:R.position(V);default:return G.modifier?void 0:R.position(V)}}{let V=aa(G,t,["--background-color","--color"]);if(V)return R.color(V)}{if(G.modifier)return;let V=ys(G.value.value,["number","percentage"]);if(!V)return;switch(V){case"number":{let B=t.resolve(null,["--spacing"]);return!B||!Yu(G.value.value)?void 0:R.position(`calc(${B} * ${G.value.value})`)}case"percentage":return Nr(G.value.value.slice(0,-1))?R.position(G.value.value):void 0;default:return}}}}),s(C,()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},(G,V)=>`${V*5}`)},{values:Array.from({length:21},(G,V)=>`${V*5}%`),valueThemeKeys:["--gradient-color-stop-positions"]}]),s(C,()=>[{values:Array.from({length:21},(G,V)=>`${V*5}%`)},{values:t.get(["--spacing"])?Ib:[]},{values:["current","inherit","transparent"],valueThemeKeys:["--background-color","--color"],modifiers:Array.from({length:21},(G,V)=>`${V*5}`)}])}let _=()=>Hn([or("--tw-mask-left","linear-gradient(#fff, #fff)"),or("--tw-mask-right","linear-gradient(#fff, #fff)"),or("--tw-mask-bottom","linear-gradient(#fff, #fff)"),or("--tw-mask-top","linear-gradient(#fff, #fff)")]);function A(C,R,G){S(C,{color(V){let B=[E(),_(),je("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),je("mask-composite","intersect"),je("--tw-mask-linear","var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top)")];for(let q of["top","right","bottom","left"])G[q]&&(B.push(je(`--tw-mask-${q}`,`linear-gradient(to ${q}, var(--tw-mask-${q}-from-color) var(--tw-mask-${q}-from-position), var(--tw-mask-${q}-to-color) var(--tw-mask-${q}-to-position))`)),B.push(Hn([or(`--tw-mask-${q}-from-position`,"0%"),or(`--tw-mask-${q}-to-position`,"100%"),or(`--tw-mask-${q}-from-color`,"black"),or(`--tw-mask-${q}-to-color`,"transparent")])),B.push(je(`--tw-mask-${q}-${R}-color`,V)));return B},position(V){let B=[E(),_(),je("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),je("mask-composite","intersect"),je("--tw-mask-linear","var(--tw-mask-left), var(--tw-mask-right), var(--tw-mask-bottom), var(--tw-mask-top)")];for(let q of["top","right","bottom","left"])G[q]&&(B.push(je(`--tw-mask-${q}`,`linear-gradient(to ${q}, var(--tw-mask-${q}-from-color) var(--tw-mask-${q}-from-position), var(--tw-mask-${q}-to-color) var(--tw-mask-${q}-to-position))`)),B.push(Hn([or(`--tw-mask-${q}-from-position`,"0%"),or(`--tw-mask-${q}-to-position`,"100%"),or(`--tw-mask-${q}-from-color`,"black"),or(`--tw-mask-${q}-to-color`,"transparent")])),B.push(je(`--tw-mask-${q}-${R}-position`,V)));return B}})}A("mask-x-from","from",{top:!1,right:!0,bottom:!1,left:!0}),A("mask-x-to","to",{top:!1,right:!0,bottom:!1,left:!0}),A("mask-y-from","from",{top:!0,right:!1,bottom:!0,left:!1}),A("mask-y-to","to",{top:!0,right:!1,bottom:!0,left:!1}),A("mask-t-from","from",{top:!0,right:!1,bottom:!1,left:!1}),A("mask-t-to","to",{top:!0,right:!1,bottom:!1,left:!1}),A("mask-r-from","from",{top:!1,right:!0,bottom:!1,left:!1}),A("mask-r-to","to",{top:!1,right:!0,bottom:!1,left:!1}),A("mask-b-from","from",{top:!1,right:!1,bottom:!0,left:!1}),A("mask-b-to","to",{top:!1,right:!1,bottom:!0,left:!1}),A("mask-l-from","from",{top:!1,right:!1,bottom:!1,left:!0}),A("mask-l-to","to",{top:!1,right:!1,bottom:!1,left:!0});let L=()=>Hn([or("--tw-mask-linear-position","0deg"),or("--tw-mask-linear-from-position","0%"),or("--tw-mask-linear-to-position","100%"),or("--tw-mask-linear-from-color","black"),or("--tw-mask-linear-to-color","transparent")]);u("mask-linear",{defaultValue:null,supportsNegative:!0,supportsFractions:!1,handleBareValue(C){return Nr(C.value)?`calc(1deg * ${C.value})`:null},handleNegativeBareValue(C){return Nr(C.value)?`calc(1deg * -${C.value})`:null},handle:C=>[E(),L(),je("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),je("mask-composite","intersect"),je("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops, var(--tw-mask-linear-position)))"),je("--tw-mask-linear-position",C)]}),s("mask-linear",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"]}]),S("mask-linear-from",{color:C=>[E(),L(),je("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),je("mask-composite","intersect"),je("--tw-mask-linear-stops","var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"),je("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops))"),je("--tw-mask-linear-from-color",C)],position:C=>[E(),L(),je("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),je("mask-composite","intersect"),je("--tw-mask-linear-stops","var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"),je("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops))"),je("--tw-mask-linear-from-position",C)]}),S("mask-linear-to",{color:C=>[E(),L(),je("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),je("mask-composite","intersect"),je("--tw-mask-linear-stops","var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"),je("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops))"),je("--tw-mask-linear-to-color",C)],position:C=>[E(),L(),je("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),je("mask-composite","intersect"),je("--tw-mask-linear-stops","var(--tw-mask-linear-position), var(--tw-mask-linear-from-color) var(--tw-mask-linear-from-position), var(--tw-mask-linear-to-color) var(--tw-mask-linear-to-position)"),je("--tw-mask-linear","linear-gradient(var(--tw-mask-linear-stops))"),je("--tw-mask-linear-to-position",C)]});let j=()=>Hn([or("--tw-mask-radial-from-position","0%"),or("--tw-mask-radial-to-position","100%"),or("--tw-mask-radial-from-color","black"),or("--tw-mask-radial-to-color","transparent"),or("--tw-mask-radial-shape","ellipse"),or("--tw-mask-radial-size","farthest-corner"),or("--tw-mask-radial-position","center")]);a("mask-circle",[["--tw-mask-radial-shape","circle"]]),a("mask-ellipse",[["--tw-mask-radial-shape","ellipse"]]),a("mask-radial-closest-side",[["--tw-mask-radial-size","closest-side"]]),a("mask-radial-farthest-side",[["--tw-mask-radial-size","farthest-side"]]),a("mask-radial-closest-corner",[["--tw-mask-radial-size","closest-corner"]]),a("mask-radial-farthest-corner",[["--tw-mask-radial-size","farthest-corner"]]),a("mask-radial-at-top",[["--tw-mask-radial-position","top"]]),a("mask-radial-at-top-left",[["--tw-mask-radial-position","top left"]]),a("mask-radial-at-top-right",[["--tw-mask-radial-position","top right"]]),a("mask-radial-at-bottom",[["--tw-mask-radial-position","bottom"]]),a("mask-radial-at-bottom-left",[["--tw-mask-radial-position","bottom left"]]),a("mask-radial-at-bottom-right",[["--tw-mask-radial-position","bottom right"]]),a("mask-radial-at-left",[["--tw-mask-radial-position","left"]]),a("mask-radial-at-right",[["--tw-mask-radial-position","right"]]),a("mask-radial-at-center",[["--tw-mask-radial-position","center"]]),u("mask-radial-at",{defaultValue:null,supportsNegative:!1,supportsFractions:!1,handle:C=>[je("--tw-mask-radial-position",C)]}),u("mask-radial",{defaultValue:null,supportsNegative:!1,supportsFractions:!1,handle:C=>[E(),j(),je("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),je("mask-composite","intersect"),je("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops, var(--tw-mask-radial-size)))"),je("--tw-mask-radial-size",C)]}),S("mask-radial-from",{color:C=>[E(),j(),je("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),je("mask-composite","intersect"),je("--tw-mask-radial-stops","var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"),je("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops))"),je("--tw-mask-radial-from-color",C)],position:C=>[E(),j(),je("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),je("mask-composite","intersect"),je("--tw-mask-radial-stops","var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"),je("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops))"),je("--tw-mask-radial-from-position",C)]}),S("mask-radial-to",{color:C=>[E(),j(),je("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),je("mask-composite","intersect"),je("--tw-mask-radial-stops","var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"),je("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops))"),je("--tw-mask-radial-to-color",C)],position:C=>[E(),j(),je("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),je("mask-composite","intersect"),je("--tw-mask-radial-stops","var(--tw-mask-radial-shape) var(--tw-mask-radial-size) at var(--tw-mask-radial-position), var(--tw-mask-radial-from-color) var(--tw-mask-radial-from-position), var(--tw-mask-radial-to-color) var(--tw-mask-radial-to-position)"),je("--tw-mask-radial","radial-gradient(var(--tw-mask-radial-stops))"),je("--tw-mask-radial-to-position",C)]});let F=()=>Hn([or("--tw-mask-conic-position","0deg"),or("--tw-mask-conic-from-position","0%"),or("--tw-mask-conic-to-position","100%"),or("--tw-mask-conic-from-color","black"),or("--tw-mask-conic-to-color","transparent")]);u("mask-conic",{defaultValue:null,supportsNegative:!0,supportsFractions:!1,handleBareValue(C){return Nr(C.value)?`calc(1deg * ${C.value})`:null},handleNegativeBareValue(C){return Nr(C.value)?`calc(1deg * -${C.value})`:null},handle:C=>[E(),F(),je("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),je("mask-composite","intersect"),je("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops, var(--tw-mask-conic-position)))"),je("--tw-mask-conic-position",C)]}),s("mask-conic",()=>[{supportsNegative:!0,values:["0","1","2","3","6","12","45","90","180"]}]),S("mask-conic-from",{color:C=>[E(),F(),je("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),je("mask-composite","intersect"),je("--tw-mask-conic-stops","from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"),je("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops))"),je("--tw-mask-conic-from-color",C)],position:C=>[E(),F(),je("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),je("mask-composite","intersect"),je("--tw-mask-conic-stops","from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"),je("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops))"),je("--tw-mask-conic-from-position",C)]}),S("mask-conic-to",{color:C=>[E(),F(),je("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),je("mask-composite","intersect"),je("--tw-mask-conic-stops","from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"),je("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops))"),je("--tw-mask-conic-to-color",C)],position:C=>[E(),F(),je("mask-image","var(--tw-mask-linear), var(--tw-mask-radial), var(--tw-mask-conic)"),je("mask-composite","intersect"),je("--tw-mask-conic-stops","from var(--tw-mask-conic-position), var(--tw-mask-conic-from-color) var(--tw-mask-conic-from-position), var(--tw-mask-conic-to-color) var(--tw-mask-conic-to-position)"),je("--tw-mask-conic","conic-gradient(var(--tw-mask-conic-stops))"),je("--tw-mask-conic-to-position",C)]}),a("box-decoration-slice",[["-webkit-box-decoration-break","slice"],["box-decoration-break","slice"]]),a("box-decoration-clone",[["-webkit-box-decoration-break","clone"],["box-decoration-break","clone"]]),a("bg-clip-text",[["background-clip","text"]]),a("bg-clip-border",[["background-clip","border-box"]]),a("bg-clip-padding",[["background-clip","padding-box"]]),a("bg-clip-content",[["background-clip","content-box"]]),a("bg-origin-border",[["background-origin","border-box"]]),a("bg-origin-padding",[["background-origin","padding-box"]]),a("bg-origin-content",[["background-origin","content-box"]]);for(let C of["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"])a(`bg-blend-${C}`,[["background-blend-mode",C]]),a(`mix-blend-${C}`,[["mix-blend-mode",C]]);a("mix-blend-plus-darker",[["mix-blend-mode","plus-darker"]]),a("mix-blend-plus-lighter",[["mix-blend-mode","plus-lighter"]]),a("fill-none",[["fill","none"]]),r.functional("fill",C=>{if(!C.value)return;if(C.value.kind==="arbitrary"){let G=qs(C.value.value,C.modifier,t);return G===null?void 0:[je("fill",G)]}let R=aa(C,t,["--fill","--color"]);if(R)return[je("fill",R)]}),s("fill",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--fill","--color"],modifiers:Array.from({length:21},(C,R)=>`${R*5}`)}]),a("stroke-none",[["stroke","none"]]),r.functional("stroke",C=>{if(C.value){if(C.value.kind==="arbitrary"){let R=C.value.value;switch(C.value.dataType??ys(R,["color","number","length","percentage"])){case"number":case"length":case"percentage":return C.modifier?void 0:[je("stroke-width",R)];default:return R=qs(C.value.value,C.modifier,t),R===null?void 0:[je("stroke",R)]}}{let R=aa(C,t,["--stroke","--color"]);if(R)return[je("stroke",R)]}{let R=t.resolve(C.value.value,["--stroke-width"]);if(R)return[je("stroke-width",R)];if(Nr(C.value.value))return[je("stroke-width",C.value.value)]}}}),s("stroke",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--stroke","--color"],modifiers:Array.from({length:21},(C,R)=>`${R*5}`)},{values:["0","1","2","3"],valueThemeKeys:["--stroke-width"]}]),a("object-contain",[["object-fit","contain"]]),a("object-cover",[["object-fit","cover"]]),a("object-fill",[["object-fit","fill"]]),a("object-none",[["object-fit","none"]]),a("object-scale-down",[["object-fit","scale-down"]]),u("object",{themeKeys:["--object-position"],handle:C=>[je("object-position",C)],staticValues:{top:[je("object-position","top")],"top-left":[je("object-position","left top")],"top-right":[je("object-position","right top")],bottom:[je("object-position","bottom")],"bottom-left":[je("object-position","left bottom")],"bottom-right":[je("object-position","right bottom")],left:[je("object-position","left")],right:[je("object-position","right")],center:[je("object-position","center")]}});for(let[C,R]of[["p","padding"],["px","padding-inline"],["py","padding-block"],["ps","padding-inline-start"],["pe","padding-inline-end"],["pt","padding-top"],["pr","padding-right"],["pb","padding-bottom"],["pl","padding-left"]])l(C,["--padding","--spacing"],G=>[je(R,G)]);a("text-left",[["text-align","left"]]),a("text-center",[["text-align","center"]]),a("text-right",[["text-align","right"]]),a("text-justify",[["text-align","justify"]]),a("text-start",[["text-align","start"]]),a("text-end",[["text-align","end"]]),l("indent",["--text-indent","--spacing"],C=>[je("text-indent",C)],{supportsNegative:!0}),a("align-baseline",[["vertical-align","baseline"]]),a("align-top",[["vertical-align","top"]]),a("align-middle",[["vertical-align","middle"]]),a("align-bottom",[["vertical-align","bottom"]]),a("align-text-top",[["vertical-align","text-top"]]),a("align-text-bottom",[["vertical-align","text-bottom"]]),a("align-sub",[["vertical-align","sub"]]),a("align-super",[["vertical-align","super"]]),u("align",{themeKeys:[],handle:C=>[je("vertical-align",C)]}),r.functional("font",C=>{if(!(!C.value||C.modifier)){if(C.value.kind==="arbitrary"){let R=C.value.value;switch(C.value.dataType??ys(R,["number","generic-name","family-name"])){case"generic-name":case"family-name":return[je("font-family",R)];default:return[Hn([or("--tw-font-weight")]),je("--tw-font-weight",R),je("font-weight",R)]}}{let R=t.resolveWith(C.value.value,["--font"],["--font-feature-settings","--font-variation-settings"]);if(R){let[G,V={}]=R;return[je("font-family",G),je("font-feature-settings",V["--font-feature-settings"]),je("font-variation-settings",V["--font-variation-settings"])]}}{let R=t.resolve(C.value.value,["--font-weight"]);if(R)return[Hn([or("--tw-font-weight")]),je("--tw-font-weight",R),je("font-weight",R)]}}}),s("font",()=>[{values:[],valueThemeKeys:["--font"]},{values:[],valueThemeKeys:["--font-weight"]}]),a("uppercase",[["text-transform","uppercase"]]),a("lowercase",[["text-transform","lowercase"]]),a("capitalize",[["text-transform","capitalize"]]),a("normal-case",[["text-transform","none"]]),a("italic",[["font-style","italic"]]),a("not-italic",[["font-style","normal"]]),a("underline",[["text-decoration-line","underline"]]),a("overline",[["text-decoration-line","overline"]]),a("line-through",[["text-decoration-line","line-through"]]),a("no-underline",[["text-decoration-line","none"]]),a("font-stretch-normal",[["font-stretch","normal"]]),a("font-stretch-ultra-condensed",[["font-stretch","ultra-condensed"]]),a("font-stretch-extra-condensed",[["font-stretch","extra-condensed"]]),a("font-stretch-condensed",[["font-stretch","condensed"]]),a("font-stretch-semi-condensed",[["font-stretch","semi-condensed"]]),a("font-stretch-semi-expanded",[["font-stretch","semi-expanded"]]),a("font-stretch-expanded",[["font-stretch","expanded"]]),a("font-stretch-extra-expanded",[["font-stretch","extra-expanded"]]),a("font-stretch-ultra-expanded",[["font-stretch","ultra-expanded"]]),u("font-stretch",{handleBareValue:({value:C})=>{if(!C.endsWith("%"))return null;let R=Number(C.slice(0,-1));return!Nr(R)||Number.isNaN(R)||R<50||R>200?null:C},handle:C=>[je("font-stretch",C)]}),s("font-stretch",()=>[{values:["50%","75%","90%","95%","100%","105%","110%","125%","150%","200%"]}]),e("placeholder",{themeKeys:["--background-color","--color"],handle:C=>[Ui("&::placeholder",[je("--tw-sort","placeholder-color"),je("color",C)])]}),a("decoration-solid",[["text-decoration-style","solid"]]),a("decoration-double",[["text-decoration-style","double"]]),a("decoration-dotted",[["text-decoration-style","dotted"]]),a("decoration-dashed",[["text-decoration-style","dashed"]]),a("decoration-wavy",[["text-decoration-style","wavy"]]),a("decoration-auto",[["text-decoration-thickness","auto"]]),a("decoration-from-font",[["text-decoration-thickness","from-font"]]),r.functional("decoration",C=>{if(C.value){if(C.value.kind==="arbitrary"){let R=C.value.value;switch(C.value.dataType??ys(R,["color","length","percentage"])){case"length":case"percentage":return C.modifier?void 0:[je("text-decoration-thickness",R)];default:return R=qs(R,C.modifier,t),R===null?void 0:[je("text-decoration-color",R)]}}{let R=t.resolve(C.value.value,["--text-decoration-thickness"]);if(R)return C.modifier?void 0:[je("text-decoration-thickness",R)];if(Nr(C.value.value))return C.modifier?void 0:[je("text-decoration-thickness",`${C.value.value}px`)]}{let R=aa(C,t,["--text-decoration-color","--color"]);if(R)return[je("text-decoration-color",R)]}}}),s("decoration",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--text-decoration-color","--color"],modifiers:Array.from({length:21},(C,R)=>`${R*5}`)},{values:["0","1","2"],valueThemeKeys:["--text-decoration-thickness"]}]),u("animate",{themeKeys:["--animate"],handle:C=>[je("animation",C)],staticValues:{none:[je("animation","none")]}});{let C=["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(" "),R=["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(" "),G=()=>Hn([or("--tw-blur"),or("--tw-brightness"),or("--tw-contrast"),or("--tw-grayscale"),or("--tw-hue-rotate"),or("--tw-invert"),or("--tw-opacity"),or("--tw-saturate"),or("--tw-sepia"),or("--tw-drop-shadow"),or("--tw-drop-shadow-color"),or("--tw-drop-shadow-alpha","100%","<percentage>"),or("--tw-drop-shadow-size")]),V=()=>Hn([or("--tw-backdrop-blur"),or("--tw-backdrop-brightness"),or("--tw-backdrop-contrast"),or("--tw-backdrop-grayscale"),or("--tw-backdrop-hue-rotate"),or("--tw-backdrop-invert"),or("--tw-backdrop-opacity"),or("--tw-backdrop-saturate"),or("--tw-backdrop-sepia")]);r.functional("filter",B=>{if(!B.modifier){if(B.value===null)return[G(),je("filter",C)];if(B.value.kind==="arbitrary")return[je("filter",B.value.value)];switch(B.value.value){case"none":return[je("filter","none")]}}}),r.functional("backdrop-filter",B=>{if(!B.modifier){if(B.value===null)return[V(),je("-webkit-backdrop-filter",R),je("backdrop-filter",R)];if(B.value.kind==="arbitrary")return[je("-webkit-backdrop-filter",B.value.value),je("backdrop-filter",B.value.value)];switch(B.value.value){case"none":return[je("-webkit-backdrop-filter","none"),je("backdrop-filter","none")]}}}),u("blur",{themeKeys:["--blur"],handle:B=>[G(),je("--tw-blur",`blur(${B})`),je("filter",C)],staticValues:{none:[G(),je("--tw-blur"," "),je("filter",C)]}}),u("backdrop-blur",{themeKeys:["--backdrop-blur","--blur"],handle:B=>[V(),je("--tw-backdrop-blur",`blur(${B})`),je("-webkit-backdrop-filter",R),je("backdrop-filter",R)],staticValues:{none:[V(),je("--tw-backdrop-blur"," "),je("-webkit-backdrop-filter",R),je("backdrop-filter",R)]}}),u("brightness",{themeKeys:["--brightness"],handleBareValue:({value:B})=>Nr(B)?`${B}%`:null,handle:B=>[G(),je("--tw-brightness",`brightness(${B})`),je("filter",C)]}),u("backdrop-brightness",{themeKeys:["--backdrop-brightness","--brightness"],handleBareValue:({value:B})=>Nr(B)?`${B}%`:null,handle:B=>[V(),je("--tw-backdrop-brightness",`brightness(${B})`),je("-webkit-backdrop-filter",R),je("backdrop-filter",R)]}),s("brightness",()=>[{values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--brightness"]}]),s("backdrop-brightness",()=>[{values:["0","50","75","90","95","100","105","110","125","150","200"],valueThemeKeys:["--backdrop-brightness","--brightness"]}]),u("contrast",{themeKeys:["--contrast"],handleBareValue:({value:B})=>Nr(B)?`${B}%`:null,handle:B=>[G(),je("--tw-contrast",`contrast(${B})`),je("filter",C)]}),u("backdrop-contrast",{themeKeys:["--backdrop-contrast","--contrast"],handleBareValue:({value:B})=>Nr(B)?`${B}%`:null,handle:B=>[V(),je("--tw-backdrop-contrast",`contrast(${B})`),je("-webkit-backdrop-filter",R),je("backdrop-filter",R)]}),s("contrast",()=>[{values:["0","50","75","100","125","150","200"],valueThemeKeys:["--contrast"]}]),s("backdrop-contrast",()=>[{values:["0","50","75","100","125","150","200"],valueThemeKeys:["--backdrop-contrast","--contrast"]}]),u("grayscale",{themeKeys:["--grayscale"],handleBareValue:({value:B})=>Nr(B)?`${B}%`:null,defaultValue:"100%",handle:B=>[G(),je("--tw-grayscale",`grayscale(${B})`),je("filter",C)]}),u("backdrop-grayscale",{themeKeys:["--backdrop-grayscale","--grayscale"],handleBareValue:({value:B})=>Nr(B)?`${B}%`:null,defaultValue:"100%",handle:B=>[V(),je("--tw-backdrop-grayscale",`grayscale(${B})`),je("-webkit-backdrop-filter",R),je("backdrop-filter",R)]}),s("grayscale",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--grayscale"],hasDefaultValue:!0}]),s("backdrop-grayscale",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--backdrop-grayscale","--grayscale"],hasDefaultValue:!0}]),u("hue-rotate",{supportsNegative:!0,themeKeys:["--hue-rotate"],handleBareValue:({value:B})=>Nr(B)?`${B}deg`:null,handle:B=>[G(),je("--tw-hue-rotate",`hue-rotate(${B})`),je("filter",C)]}),u("backdrop-hue-rotate",{supportsNegative:!0,themeKeys:["--backdrop-hue-rotate","--hue-rotate"],handleBareValue:({value:B})=>Nr(B)?`${B}deg`:null,handle:B=>[V(),je("--tw-backdrop-hue-rotate",`hue-rotate(${B})`),je("-webkit-backdrop-filter",R),je("backdrop-filter",R)]}),s("hue-rotate",()=>[{values:["0","15","30","60","90","180"],valueThemeKeys:["--hue-rotate"]}]),s("backdrop-hue-rotate",()=>[{values:["0","15","30","60","90","180"],valueThemeKeys:["--backdrop-hue-rotate","--hue-rotate"]}]),u("invert",{themeKeys:["--invert"],handleBareValue:({value:B})=>Nr(B)?`${B}%`:null,defaultValue:"100%",handle:B=>[G(),je("--tw-invert",`invert(${B})`),je("filter",C)]}),u("backdrop-invert",{themeKeys:["--backdrop-invert","--invert"],handleBareValue:({value:B})=>Nr(B)?`${B}%`:null,defaultValue:"100%",handle:B=>[V(),je("--tw-backdrop-invert",`invert(${B})`),je("-webkit-backdrop-filter",R),je("backdrop-filter",R)]}),s("invert",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--invert"],hasDefaultValue:!0}]),s("backdrop-invert",()=>[{values:["0","25","50","75","100"],valueThemeKeys:["--backdrop-invert","--invert"],hasDefaultValue:!0}]),u("saturate",{themeKeys:["--saturate"],handleBareValue:({value:B})=>Nr(B)?`${B}%`:null,handle:B=>[G(),je("--tw-saturate",`saturate(${B})`),je("filter",C)]}),u("backdrop-saturate",{themeKeys:["--backdrop-saturate","--saturate"],handleBareValue:({value:B})=>Nr(B)?`${B}%`:null,handle:B=>[V(),je("--tw-backdrop-saturate",`saturate(${B})`),je("-webkit-backdrop-filter",R),je("backdrop-filter",R)]}),s("saturate",()=>[{values:["0","50","100","150","200"],valueThemeKeys:["--saturate"]}]),s("backdrop-saturate",()=>[{values:["0","50","100","150","200"],valueThemeKeys:["--backdrop-saturate","--saturate"]}]),u("sepia",{themeKeys:["--sepia"],handleBareValue:({value:B})=>Nr(B)?`${B}%`:null,defaultValue:"100%",handle:B=>[G(),je("--tw-sepia",`sepia(${B})`),je("filter",C)]}),u("backdrop-sepia",{themeKeys:["--backdrop-sepia","--sepia"],handleBareValue:({value:B})=>Nr(B)?`${B}%`:null,defaultValue:"100%",handle:B=>[V(),je("--tw-backdrop-sepia",`sepia(${B})`),je("-webkit-backdrop-filter",R),je("backdrop-filter",R)]}),s("sepia",()=>[{values:["0","50","100"],valueThemeKeys:["--sepia"],hasDefaultValue:!0}]),s("backdrop-sepia",()=>[{values:["0","50","100"],valueThemeKeys:["--backdrop-sepia","--sepia"],hasDefaultValue:!0}]),a("drop-shadow-none",[G,["--tw-drop-shadow"," "],["filter",C]]),r.functional("drop-shadow",B=>{let q;if(B.modifier&&(B.modifier.kind==="arbitrary"?q=B.modifier.value:Nr(B.modifier.value)&&(q=`${B.modifier.value}%`)),!B.value){let K=t.get(["--drop-shadow"]),$=t.resolve(null,["--drop-shadow"]);return K===null||$===null?void 0:[G(),je("--tw-drop-shadow-alpha",q),...wb("--tw-drop-shadow-size",K,q,W=>`var(--tw-drop-shadow-color, ${W})`),je("--tw-drop-shadow",Kn($,",").map(W=>`drop-shadow(${W})`).join(" ")),je("filter",C)]}if(B.value.kind==="arbitrary"){let K=B.value.value;switch(B.value.dataType??ys(K,["color"])){case"color":return K=qs(K,B.modifier,t),K===null?void 0:[G(),je("--tw-drop-shadow-color",oa(K,"var(--tw-drop-shadow-alpha)")),je("--tw-drop-shadow","var(--tw-drop-shadow-size)")];default:return B.modifier&&!q?void 0:[G(),je("--tw-drop-shadow-alpha",q),...wb("--tw-drop-shadow-size",K,q,$=>`var(--tw-drop-shadow-color, ${$})`),je("--tw-drop-shadow","var(--tw-drop-shadow-size)"),je("filter",C)]}}{let K=t.get([`--drop-shadow-${B.value.value}`]),$=t.resolve(B.value.value,["--drop-shadow"]);if(K&&$)return B.modifier&&!q?void 0:q?[G(),je("--tw-drop-shadow-alpha",q),...wb("--tw-drop-shadow-size",K,q,W=>`var(--tw-drop-shadow-color, ${W})`),je("--tw-drop-shadow","var(--tw-drop-shadow-size)"),je("filter",C)]:[G(),je("--tw-drop-shadow-alpha",q),...wb("--tw-drop-shadow-size",K,q,W=>`var(--tw-drop-shadow-color, ${W})`),je("--tw-drop-shadow",Kn($,",").map(W=>`drop-shadow(${W})`).join(" ")),je("filter",C)]}{let K=aa(B,t,["--drop-shadow-color","--color"]);if(K)return K==="inherit"?[G(),je("--tw-drop-shadow-color","inherit"),je("--tw-drop-shadow","var(--tw-drop-shadow-size)")]:[G(),je("--tw-drop-shadow-color",oa(K,"var(--tw-drop-shadow-alpha)")),je("--tw-drop-shadow","var(--tw-drop-shadow-size)")]}}),s("drop-shadow",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--drop-shadow-color","--color"],modifiers:Array.from({length:21},(B,q)=>`${q*5}`)},{valueThemeKeys:["--drop-shadow"]}]),u("backdrop-opacity",{themeKeys:["--backdrop-opacity","--opacity"],handleBareValue:({value:B})=>xb(B)?`${B}%`:null,handle:B=>[V(),je("--tw-backdrop-opacity",`opacity(${B})`),je("-webkit-backdrop-filter",R),je("backdrop-filter",R)]}),s("backdrop-opacity",()=>[{values:Array.from({length:21},(B,q)=>`${q*5}`),valueThemeKeys:["--backdrop-opacity","--opacity"]}])}{let C=`var(--tw-ease, ${t.resolve(null,["--default-transition-timing-function"])??"ease"})`,R=`var(--tw-duration, ${t.resolve(null,["--default-transition-duration"])??"0s"})`;u("transition",{defaultValue:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events",themeKeys:["--transition-property"],handle:G=>[je("transition-property",G),je("transition-timing-function",C),je("transition-duration",R)],staticValues:{none:[je("transition-property","none")],all:[je("transition-property","all"),je("transition-timing-function",C),je("transition-duration",R)],colors:[je("transition-property","color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to"),je("transition-timing-function",C),je("transition-duration",R)],opacity:[je("transition-property","opacity"),je("transition-timing-function",C),je("transition-duration",R)],shadow:[je("transition-property","box-shadow"),je("transition-timing-function",C),je("transition-duration",R)],transform:[je("transition-property","transform, translate, scale, rotate"),je("transition-timing-function",C),je("transition-duration",R)]}}),a("transition-discrete",[["transition-behavior","allow-discrete"]]),a("transition-normal",[["transition-behavior","normal"]]),u("delay",{handleBareValue:({value:G})=>Nr(G)?`${G}ms`:null,themeKeys:["--transition-delay"],handle:G=>[je("transition-delay",G)]});{let G=()=>Hn([or("--tw-duration")]);a("duration-initial",[G,["--tw-duration","initial"]]),r.functional("duration",V=>{if(V.modifier||!V.value)return;let B=null;if(V.value.kind==="arbitrary"?B=V.value.value:(B=t.resolve(V.value.fraction??V.value.value,["--transition-duration"]),B===null&&Nr(V.value.value)&&(B=`${V.value.value}ms`)),B!==null)return[G(),je("--tw-duration",B),je("transition-duration",B)]})}s("delay",()=>[{values:["75","100","150","200","300","500","700","1000"],valueThemeKeys:["--transition-delay"]}]),s("duration",()=>[{values:["75","100","150","200","300","500","700","1000"],valueThemeKeys:["--transition-duration"]}])}{let C=()=>Hn([or("--tw-ease")]);u("ease",{themeKeys:["--ease"],handle:R=>[C(),je("--tw-ease",R),je("transition-timing-function",R)],staticValues:{initial:[C(),je("--tw-ease","initial")],linear:[C(),je("--tw-ease","linear"),je("transition-timing-function","linear")]}})}a("will-change-auto",[["will-change","auto"]]),a("will-change-scroll",[["will-change","scroll-position"]]),a("will-change-contents",[["will-change","contents"]]),a("will-change-transform",[["will-change","transform"]]),u("will-change",{themeKeys:[],handle:C=>[je("will-change",C)]}),a("content-none",[["--tw-content","none"],["content","none"]]),u("content",{themeKeys:[],handle:C=>[Hn([or("--tw-content",'""')]),je("--tw-content",C),je("content","var(--tw-content)")]});{let C="var(--tw-contain-size,) var(--tw-contain-layout,) var(--tw-contain-paint,) var(--tw-contain-style,)",R=()=>Hn([or("--tw-contain-size"),or("--tw-contain-layout"),or("--tw-contain-paint"),or("--tw-contain-style")]);a("contain-none",[["contain","none"]]),a("contain-content",[["contain","content"]]),a("contain-strict",[["contain","strict"]]),a("contain-size",[R,["--tw-contain-size","size"],["contain",C]]),a("contain-inline-size",[R,["--tw-contain-size","inline-size"],["contain",C]]),a("contain-layout",[R,["--tw-contain-layout","layout"],["contain",C]]),a("contain-paint",[R,["--tw-contain-paint","paint"],["contain",C]]),a("contain-style",[R,["--tw-contain-style","style"],["contain",C]]),u("contain",{themeKeys:[],handle:G=>[je("contain",G)]})}a("forced-color-adjust-none",[["forced-color-adjust","none"]]),a("forced-color-adjust-auto",[["forced-color-adjust","auto"]]),l("leading",["--leading","--spacing"],C=>[Hn([or("--tw-leading")]),je("--tw-leading",C),je("line-height",C)],{staticValues:{none:[Hn([or("--tw-leading")]),je("--tw-leading","1"),je("line-height","1")]}}),u("tracking",{supportsNegative:!0,themeKeys:["--tracking"],handle:C=>[Hn([or("--tw-tracking")]),je("--tw-tracking",C),je("letter-spacing",C)]}),a("antialiased",[["-webkit-font-smoothing","antialiased"],["-moz-osx-font-smoothing","grayscale"]]),a("subpixel-antialiased",[["-webkit-font-smoothing","auto"],["-moz-osx-font-smoothing","auto"]]);{let C="var(--tw-ordinal,) var(--tw-slashed-zero,) var(--tw-numeric-figure,) var(--tw-numeric-spacing,) var(--tw-numeric-fraction,)",R=()=>Hn([or("--tw-ordinal"),or("--tw-slashed-zero"),or("--tw-numeric-figure"),or("--tw-numeric-spacing"),or("--tw-numeric-fraction")]);a("normal-nums",[["font-variant-numeric","normal"]]),a("ordinal",[R,["--tw-ordinal","ordinal"],["font-variant-numeric",C]]),a("slashed-zero",[R,["--tw-slashed-zero","slashed-zero"],["font-variant-numeric",C]]),a("lining-nums",[R,["--tw-numeric-figure","lining-nums"],["font-variant-numeric",C]]),a("oldstyle-nums",[R,["--tw-numeric-figure","oldstyle-nums"],["font-variant-numeric",C]]),a("proportional-nums",[R,["--tw-numeric-spacing","proportional-nums"],["font-variant-numeric",C]]),a("tabular-nums",[R,["--tw-numeric-spacing","tabular-nums"],["font-variant-numeric",C]]),a("diagonal-fractions",[R,["--tw-numeric-fraction","diagonal-fractions"],["font-variant-numeric",C]]),a("stacked-fractions",[R,["--tw-numeric-fraction","stacked-fractions"],["font-variant-numeric",C]])}{let C=()=>Hn([or("--tw-outline-style","solid")]);r.static("outline-hidden",()=>[je("--tw-outline-style","none"),je("outline-style","none"),ki("@media","(forced-colors: active)",[je("outline","2px solid transparent"),je("outline-offset","2px")])]),a("outline-none",[["--tw-outline-style","none"],["outline-style","none"]]),a("outline-solid",[["--tw-outline-style","solid"],["outline-style","solid"]]),a("outline-dashed",[["--tw-outline-style","dashed"],["outline-style","dashed"]]),a("outline-dotted",[["--tw-outline-style","dotted"],["outline-style","dotted"]]),a("outline-double",[["--tw-outline-style","double"],["outline-style","double"]]),r.functional("outline",R=>{if(R.value===null){if(R.modifier)return;let G=t.get(["--default-outline-width"])??"1px";return[C(),je("outline-style","var(--tw-outline-style)"),je("outline-width",G)]}if(R.value.kind==="arbitrary"){let G=R.value.value;switch(R.value.dataType??ys(G,["color","length","number","percentage"])){case"length":case"number":case"percentage":return R.modifier?void 0:[C(),je("outline-style","var(--tw-outline-style)"),je("outline-width",G)];default:return G=qs(G,R.modifier,t),G===null?void 0:[je("outline-color",G)]}}{let G=aa(R,t,["--outline-color","--color"]);if(G)return[je("outline-color",G)]}{if(R.modifier)return;let G=t.resolve(R.value.value,["--outline-width"]);if(G)return[C(),je("outline-style","var(--tw-outline-style)"),je("outline-width",G)];if(Nr(R.value.value))return[C(),je("outline-style","var(--tw-outline-style)"),je("outline-width",`${R.value.value}px`)]}}),s("outline",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--outline-color","--color"],modifiers:Array.from({length:21},(R,G)=>`${G*5}`),hasDefaultValue:!0},{values:["0","1","2","4","8"],valueThemeKeys:["--outline-width"]}]),u("outline-offset",{supportsNegative:!0,themeKeys:["--outline-offset"],handleBareValue:({value:R})=>Nr(R)?`${R}px`:null,handle:R=>[je("outline-offset",R)]}),s("outline-offset",()=>[{supportsNegative:!0,values:["0","1","2","4","8"],valueThemeKeys:["--outline-offset"]}])}u("opacity",{themeKeys:["--opacity"],handleBareValue:({value:C})=>xb(C)?`${C}%`:null,handle:C=>[je("opacity",C)]}),s("opacity",()=>[{values:Array.from({length:21},(C,R)=>`${R*5}`),valueThemeKeys:["--opacity"]}]),u("underline-offset",{supportsNegative:!0,themeKeys:["--text-underline-offset"],handleBareValue:({value:C})=>Nr(C)?`${C}px`:null,handle:C=>[je("text-underline-offset",C)],staticValues:{auto:[je("text-underline-offset","auto")]}}),s("underline-offset",()=>[{supportsNegative:!0,values:["0","1","2","4","8"],valueThemeKeys:["--text-underline-offset"]}]),r.functional("text",C=>{if(C.value){if(C.value.kind==="arbitrary"){let R=C.value.value;switch(C.value.dataType??ys(R,["color","length","percentage","absolute-size","relative-size"])){case"size":case"length":case"percentage":case"absolute-size":case"relative-size":{if(C.modifier){let G=C.modifier.kind==="arbitrary"?C.modifier.value:t.resolve(C.modifier.value,["--leading"]);if(!G&&Yu(C.modifier.value)){let V=t.resolve(null,["--spacing"]);if(!V)return null;G=`calc(${V} * ${C.modifier.value})`}return!G&&C.modifier.value==="none"&&(G="1"),G?[je("font-size",R),je("line-height",G)]:null}return[je("font-size",R)]}default:return R=qs(R,C.modifier,t),R===null?void 0:[je("color",R)]}}{let R=aa(C,t,["--text-color","--color"]);if(R)return[je("color",R)]}{let R=t.resolveWith(C.value.value,["--text"],["--line-height","--letter-spacing","--font-weight"]);if(R){let[G,V={}]=Array.isArray(R)?R:[R];if(C.modifier){let B=C.modifier.kind==="arbitrary"?C.modifier.value:t.resolve(C.modifier.value,["--leading"]);if(!B&&Yu(C.modifier.value)){let K=t.resolve(null,["--spacing"]);if(!K)return null;B=`calc(${K} * ${C.modifier.value})`}if(!B&&C.modifier.value==="none"&&(B="1"),!B)return null;let q=[je("font-size",G)];return B&&q.push(je("line-height",B)),q}return typeof V=="string"?[je("font-size",G),je("line-height",V)]:[je("font-size",G),je("line-height",V["--line-height"]?`var(--tw-leading, ${V["--line-height"]})`:void 0),je("letter-spacing",V["--letter-spacing"]?`var(--tw-tracking, ${V["--letter-spacing"]})`:void 0),je("font-weight",V["--font-weight"]?`var(--tw-font-weight, ${V["--font-weight"]})`:void 0)]}}}}),s("text",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--text-color","--color"],modifiers:Array.from({length:21},(C,R)=>`${R*5}`)},{values:[],valueThemeKeys:["--text"],modifiers:[],modifierThemeKeys:["--leading"]}]);let k=()=>Hn([or("--tw-text-shadow-color"),or("--tw-text-shadow-alpha","100%","<percentage>")]);a("text-shadow-initial",[k,["--tw-text-shadow-color","initial"]]),r.functional("text-shadow",C=>{let R;if(C.modifier&&(C.modifier.kind==="arbitrary"?R=C.modifier.value:Nr(C.modifier.value)&&(R=`${C.modifier.value}%`)),!C.value){let G=t.get(["--text-shadow"]);return G===null?void 0:[k(),je("--tw-text-shadow-alpha",R),...Fl("text-shadow",G,R,V=>`var(--tw-text-shadow-color, ${V})`)]}if(C.value.kind==="arbitrary"){let G=C.value.value;switch(C.value.dataType??ys(G,["color"])){case"color":return G=qs(G,C.modifier,t),G===null?void 0:[k(),je("--tw-text-shadow-color",oa(G,"var(--tw-text-shadow-alpha)"))];default:return[k(),je("--tw-text-shadow-alpha",R),...Fl("text-shadow",G,R,V=>`var(--tw-text-shadow-color, ${V})`)]}}switch(C.value.value){case"none":return C.modifier?void 0:[k(),je("text-shadow","none")];case"inherit":return C.modifier?void 0:[k(),je("--tw-text-shadow-color","inherit")]}{let G=t.get([`--text-shadow-${C.value.value}`]);if(G)return[k(),je("--tw-text-shadow-alpha",R),...Fl("text-shadow",G,R,V=>`var(--tw-text-shadow-color, ${V})`)]}{let G=aa(C,t,["--text-shadow-color","--color"]);if(G)return[k(),je("--tw-text-shadow-color",oa(G,"var(--tw-text-shadow-alpha)"))]}}),s("text-shadow",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--text-shadow-color","--color"],modifiers:Array.from({length:21},(C,R)=>`${R*5}`)},{values:["none"]},{valueThemeKeys:["--text-shadow"],modifiers:Array.from({length:21},(C,R)=>`${R*5}`),hasDefaultValue:t.get(["--text-shadow"])!==null}]);{let C=function($){return`var(--tw-ring-inset,) 0 0 0 calc(${$} + var(--tw-ring-offset-width)) var(--tw-ring-color, ${q})`},R=function($){return`inset 0 0 0 ${$} var(--tw-inset-ring-color, currentcolor)`};var U=C,z=R;let G=["var(--tw-inset-shadow)","var(--tw-inset-ring-shadow)","var(--tw-ring-offset-shadow)","var(--tw-ring-shadow)","var(--tw-shadow)"].join(", "),V="0 0 #0000",B=()=>Hn([or("--tw-shadow",V),or("--tw-shadow-color"),or("--tw-shadow-alpha","100%","<percentage>"),or("--tw-inset-shadow",V),or("--tw-inset-shadow-color"),or("--tw-inset-shadow-alpha","100%","<percentage>"),or("--tw-ring-color"),or("--tw-ring-shadow",V),or("--tw-inset-ring-color"),or("--tw-inset-ring-shadow",V),or("--tw-ring-inset"),or("--tw-ring-offset-width","0px","<length>"),or("--tw-ring-offset-color","#fff"),or("--tw-ring-offset-shadow",V)]);a("shadow-initial",[B,["--tw-shadow-color","initial"]]),r.functional("shadow",$=>{let W;if($.modifier&&($.modifier.kind==="arbitrary"?W=$.modifier.value:Nr($.modifier.value)&&(W=`${$.modifier.value}%`)),!$.value){let Z=t.get(["--shadow"]);return Z===null?void 0:[B(),je("--tw-shadow-alpha",W),...Fl("--tw-shadow",Z,W,Q=>`var(--tw-shadow-color, ${Q})`),je("box-shadow",G)]}if($.value.kind==="arbitrary"){let Z=$.value.value;switch($.value.dataType??ys(Z,["color"])){case"color":return Z=qs(Z,$.modifier,t),Z===null?void 0:[B(),je("--tw-shadow-color",oa(Z,"var(--tw-shadow-alpha)"))];default:return[B(),je("--tw-shadow-alpha",W),...Fl("--tw-shadow",Z,W,Q=>`var(--tw-shadow-color, ${Q})`),je("box-shadow",G)]}}switch($.value.value){case"none":return $.modifier?void 0:[B(),je("--tw-shadow",V),je("box-shadow",G)];case"inherit":return $.modifier?void 0:[B(),je("--tw-shadow-color","inherit")]}{let Z=t.get([`--shadow-${$.value.value}`]);if(Z)return[B(),je("--tw-shadow-alpha",W),...Fl("--tw-shadow",Z,W,Q=>`var(--tw-shadow-color, ${Q})`),je("box-shadow",G)]}{let Z=aa($,t,["--box-shadow-color","--color"]);if(Z)return[B(),je("--tw-shadow-color",oa(Z,"var(--tw-shadow-alpha)"))]}}),s("shadow",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--box-shadow-color","--color"],modifiers:Array.from({length:21},($,W)=>`${W*5}`)},{values:["none"]},{valueThemeKeys:["--shadow"],modifiers:Array.from({length:21},($,W)=>`${W*5}`),hasDefaultValue:t.get(["--shadow"])!==null}]),a("inset-shadow-initial",[B,["--tw-inset-shadow-color","initial"]]),r.functional("inset-shadow",$=>{let W;if($.modifier&&($.modifier.kind==="arbitrary"?W=$.modifier.value:Nr($.modifier.value)&&(W=`${$.modifier.value}%`)),!$.value){let Z=t.get(["--inset-shadow"]);return Z===null?void 0:[B(),je("--tw-inset-shadow-alpha",W),...Fl("--tw-inset-shadow",Z,W,Q=>`var(--tw-inset-shadow-color, ${Q})`),je("box-shadow",G)]}if($.value.kind==="arbitrary"){let Z=$.value.value;switch($.value.dataType??ys(Z,["color"])){case"color":return Z=qs(Z,$.modifier,t),Z===null?void 0:[B(),je("--tw-inset-shadow-color",oa(Z,"var(--tw-inset-shadow-alpha)"))];default:return[B(),je("--tw-inset-shadow-alpha",W),...Fl("--tw-inset-shadow",Z,W,Q=>`var(--tw-inset-shadow-color, ${Q})`,"inset "),je("box-shadow",G)]}}switch($.value.value){case"none":return $.modifier?void 0:[B(),je("--tw-inset-shadow",V),je("box-shadow",G)];case"inherit":return $.modifier?void 0:[B(),je("--tw-inset-shadow-color","inherit")]}{let Z=t.get([`--inset-shadow-${$.value.value}`]);if(Z)return[B(),je("--tw-inset-shadow-alpha",W),...Fl("--tw-inset-shadow",Z,W,Q=>`var(--tw-inset-shadow-color, ${Q})`),je("box-shadow",G)]}{let Z=aa($,t,["--box-shadow-color","--color"]);if(Z)return[B(),je("--tw-inset-shadow-color",oa(Z,"var(--tw-inset-shadow-alpha)"))]}}),s("inset-shadow",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--box-shadow-color","--color"],modifiers:Array.from({length:21},($,W)=>`${W*5}`)},{values:["none"]},{valueThemeKeys:["--inset-shadow"],modifiers:Array.from({length:21},($,W)=>`${W*5}`),hasDefaultValue:t.get(["--inset-shadow"])!==null}]),a("ring-inset",[B,["--tw-ring-inset","inset"]]);let q=t.get(["--default-ring-color"])??"currentcolor";r.functional("ring",$=>{if(!$.value){if($.modifier)return;let W=t.get(["--default-ring-width"])??"1px";return[B(),je("--tw-ring-shadow",C(W)),je("box-shadow",G)]}if($.value.kind==="arbitrary"){let W=$.value.value;switch($.value.dataType??ys(W,["color","length"])){case"length":return $.modifier?void 0:[B(),je("--tw-ring-shadow",C(W)),je("box-shadow",G)];default:return W=qs(W,$.modifier,t),W===null?void 0:[je("--tw-ring-color",W)]}}{let W=aa($,t,["--ring-color","--color"]);if(W)return[je("--tw-ring-color",W)]}{if($.modifier)return;let W=t.resolve($.value.value,["--ring-width"]);if(W===null&&Nr($.value.value)&&(W=`${$.value.value}px`),W)return[B(),je("--tw-ring-shadow",C(W)),je("box-shadow",G)]}}),s("ring",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--ring-color","--color"],modifiers:Array.from({length:21},($,W)=>`${W*5}`)},{values:["0","1","2","4","8"],valueThemeKeys:["--ring-width"],hasDefaultValue:!0}]),r.functional("inset-ring",$=>{if(!$.value)return $.modifier?void 0:[B(),je("--tw-inset-ring-shadow",R("1px")),je("box-shadow",G)];if($.value.kind==="arbitrary"){let W=$.value.value;switch($.value.dataType??ys(W,["color","length"])){case"length":return $.modifier?void 0:[B(),je("--tw-inset-ring-shadow",R(W)),je("box-shadow",G)];default:return W=qs(W,$.modifier,t),W===null?void 0:[je("--tw-inset-ring-color",W)]}}{let W=aa($,t,["--ring-color","--color"]);if(W)return[je("--tw-inset-ring-color",W)]}{if($.modifier)return;let W=t.resolve($.value.value,["--ring-width"]);if(W===null&&Nr($.value.value)&&(W=`${$.value.value}px`),W)return[B(),je("--tw-inset-ring-shadow",R(W)),je("box-shadow",G)]}}),s("inset-ring",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--ring-color","--color"],modifiers:Array.from({length:21},($,W)=>`${W*5}`)},{values:["0","1","2","4","8"],valueThemeKeys:["--ring-width"],hasDefaultValue:!0}]);let K="var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)";r.functional("ring-offset",$=>{if($.value){if($.value.kind==="arbitrary"){let W=$.value.value;switch($.value.dataType??ys(W,["color","length"])){case"length":return $.modifier?void 0:[je("--tw-ring-offset-width",W),je("--tw-ring-offset-shadow",K)];default:return W=qs(W,$.modifier,t),W===null?void 0:[je("--tw-ring-offset-color",W)]}}{let W=t.resolve($.value.value,["--ring-offset-width"]);if(W)return $.modifier?void 0:[je("--tw-ring-offset-width",W),je("--tw-ring-offset-shadow",K)];if(Nr($.value.value))return $.modifier?void 0:[je("--tw-ring-offset-width",`${$.value.value}px`),je("--tw-ring-offset-shadow",K)]}{let W=aa($,t,["--ring-offset-color","--color"]);if(W)return[je("--tw-ring-offset-color",W)]}}})}return s("ring-offset",()=>[{values:["current","inherit","transparent"],valueThemeKeys:["--ring-offset-color","--color"],modifiers:Array.from({length:21},(C,R)=>`${R*5}`)},{values:["0","1","2","4","8"],valueThemeKeys:["--ring-offset-width"]}]),r.functional("@container",C=>{let R=null;if(C.value===null?R="inline-size":C.value.kind==="arbitrary"?R=C.value.value:C.value.kind==="named"&&C.value.value==="normal"&&(R="normal"),R!==null)return C.modifier?[je("container-type",R),je("container-name",C.modifier.value)]:[je("container-type",R)]}),s("@container",()=>[{values:["normal"],valueThemeKeys:[],hasDefaultValue:!0}]),r}var aw=["number","integer","ratio","percentage"];function _ae(t){let r=t.params;return Eae.test(r)?s=>{let a={"--value":{usedSpacingInteger:!1,usedSpacingNumber:!1,themeKeys:new Set,literals:new Set},"--modifier":{usedSpacingInteger:!1,usedSpacingNumber:!1,themeKeys:new Set,literals:new Set}};ni(t.nodes,u=>{if(u.kind!=="declaration"||!u.value||!u.value.includes("--value(")&&!u.value.includes("--modifier("))return;let e=Os(u.value);Ga(e,l=>{if(l.kind!=="function")return;if(l.value==="--spacing"&&!(a["--modifier"].usedSpacingNumber&&a["--value"].usedSpacingNumber))return Ga(l.nodes,c=>{var i,o;if(c.kind!=="function"||c.value!=="--value"&&c.value!=="--modifier")return;let p=c.value;for(let h of c.nodes)if(h.kind==="word"){if(h.value==="integer")(i=a[p]).usedSpacingInteger||(i.usedSpacingInteger=!0);else if(h.value==="number"&&((o=a[p]).usedSpacingNumber||(o.usedSpacingNumber=!0),a["--modifier"].usedSpacingNumber&&a["--value"].usedSpacingNumber))return 2}}),0;if(l.value!=="--value"&&l.value!=="--modifier")return;let n=Kn(la(l.nodes),",");for(let[c,p]of n.entries())p=p.replace(/\\\*/g,"*"),p=p.replace(/--(.*?)\s--(.*?)/g,"--$1-*--$2"),p=p.replace(/\s+/g,""),p=p.replace(/(-\*){2,}/g,"-*"),p[0]==="-"&&p[1]==="-"&&!p.includes("-*")&&(p+="-*"),n[c]=p;l.nodes=Os(n.join(","));for(let c of l.nodes)if(c.kind==="word"&&(c.value[0]==='"'||c.value[0]==="'")&&c.value[0]===c.value[c.value.length-1]){let p=c.value.slice(1,-1);a[l.value].literals.add(p)}else if(c.kind==="word"&&c.value[0]==="-"&&c.value[1]==="-"){let p=c.value.replace(/-\*.*$/g,"");a[l.value].themeKeys.add(p)}else if(c.kind==="word"&&!(c.value[0]==="["&&c.value[c.value.length-1]==="]")&&!aw.includes(c.value)){console.warn(`Unsupported bare value data type: "${c.value}".
|
|
Only valid data types are: ${aw.map(b=>`"${b}"`).join(", ")}.
|
|
`);let p=c.value,i=structuredClone(l),o="\xB6";Ga(i.nodes,(b,{replaceWith:m})=>{b.kind==="word"&&b.value===p&&m({kind:"word",value:o})});let h="^".repeat(la([c]).length),d=la([i]).indexOf(o),f=["```css",la([l])," ".repeat(d)+h,"```"].join(`
|
|
`);console.warn(f)}}),u.value=la(e)}),s.utilities.functional(r.slice(0,-2),u=>{let e=structuredClone(t),l=u.value,n=u.modifier;if(l===null)return;let c=!1,p=!1,i=!1,o=!1,h=new Map,d=!1;if(ni([e],(f,{parent:b,replaceWith:m})=>{if((b==null?void 0:b.kind)!=="rule"&&(b==null?void 0:b.kind)!=="at-rule"||f.kind!=="declaration"||!f.value)return;let y=Os(f.value);(Ga(y,(x,{replaceWith:v})=>{if(x.kind==="function"){if(x.value==="--value"){c=!0;let E=hM(l,x,s);return E?(p=!0,E.ratio?d=!0:h.set(f,b),v(E.nodes),1):(c||(c=!1),m([]),2)}else if(x.value==="--modifier"){if(n===null)return m([]),2;i=!0;let E=hM(n,x,s);return E?(o=!0,v(E.nodes),1):(i||(i=!1),m([]),2)}}})??0)===0&&(f.value=la(y))}),c&&!p||i&&!o||d&&o||n&&!d&&!o)return null;if(d)for(let[f,b]of h){let m=b.nodes.indexOf(f);m!==-1&&b.nodes.splice(m,1)}return e.nodes}),s.utilities.suggest(r.slice(0,-2),()=>{let u=[],e=[];for(let[l,{literals:n,usedSpacingNumber:c,usedSpacingInteger:p,themeKeys:i}]of[[u,a["--value"]],[e,a["--modifier"]]]){for(let o of n)l.push(o);if(c)l.push(...Ib);else if(p)for(let o of Ib)Nr(o)&&l.push(o);for(let o of s.theme.keysInNamespaces(i))l.push(o.replace(zM,(h,d,f)=>`${d}.${f}`))}return[{values:u,modifiers:e}]})}:Tae.test(r)?s=>{s.utilities.static(r,()=>structuredClone(t.nodes))}:null}function hM(t,r,s){for(let a of r.nodes){if(t.kind==="named"&&a.kind==="word"&&(a.value[0]==="'"||a.value[0]==='"')&&a.value[a.value.length-1]===a.value[0]&&a.value.slice(1,-1)===t.value)return{nodes:Os(t.value)};if(t.kind==="named"&&a.kind==="word"&&a.value[0]==="-"&&a.value[1]==="-"){let u=a.value;if(u.endsWith("-*")){u=u.slice(0,-2);let e=s.theme.resolve(t.value,[u]);if(e)return{nodes:Os(e)}}else{let e=u.split("-*");if(e.length<=1)continue;let l=[e.shift()],n=s.theme.resolveWith(t.value,l,e);if(n){let[,c={}]=n;{let p=c[e.pop()];if(p)return{nodes:Os(p)}}}}}else if(t.kind==="named"&&a.kind==="word"){if(!aw.includes(a.value))continue;let u=a.value==="ratio"&&"fraction"in t?t.fraction:t.value;if(!u)continue;let e=ys(u,[a.value]);if(e===null)continue;if(e==="ratio"){let[l,n]=Kn(u,"/");if(!Nr(l)||!Nr(n))continue}else if(e==="number"&&!Yu(u)||e==="percentage"&&!Nr(u.slice(0,-1)))continue;return{nodes:Os(u),ratio:e==="ratio"}}else if(t.kind==="arbitrary"&&a.kind==="word"&&a.value[0]==="["&&a.value[a.value.length-1]==="]"){let u=a.value.slice(1,-1);if(u==="*")return{nodes:Os(t.value)};if("dataType"in t&&t.dataType&&t.dataType!==u)continue;if("dataType"in t&&t.dataType)return{nodes:Os(t.value)};if(ys(t.value,[u])!==null)return{nodes:Os(t.value)}}}}function Fl(t,r,s,a,u=""){let e=!1,l=Db(r,c=>s==null?a(c):c.startsWith("current")?a(oa(c,s)):((c.startsWith("var(")||s.startsWith("var("))&&(e=!0),a(KM(c,s))));function n(c){return u?Kn(c,",").map(p=>u+p).join(","):c}return e?[je(t,n(Db(r,a))),Gs("@supports (color: lab(from red l a b))",[je(t,n(l))])]:[je(t,n(l))]}function wb(t,r,s,a,u=""){let e=!1,l=Kn(r,",").map(n=>Db(n,c=>s==null?a(c):c.startsWith("current")?a(oa(c,s)):((c.startsWith("var(")||s.startsWith("var("))&&(e=!0),a(KM(c,s))))).map(n=>`drop-shadow(${n})`).join(" ");return e?[je(t,u+Kn(r,",").map(n=>`drop-shadow(${Db(n,a)})`).join(" ")),Gs("@supports (color: lab(from red l a b))",[je(t,u+l)])]:[je(t,u+l)]}var ow={"--alpha":Aae,"--spacing":Pae,"--theme":Cae,theme:kae};function Aae(t,r,s,...a){let[u,e]=Kn(s,"/").map(l=>l.trim());if(!u||!e)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${u||"var(--my-color)"} / ${e||"50%"})\``);if(a.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${u||"var(--my-color)"} / ${e||"50%"})\``);return oa(u,e)}function Pae(t,r,s,...a){if(!s)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(a.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${a.length+1}.`);let u=t.theme.resolve(null,["--spacing"]);if(!u)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${u} * ${s})`}function Cae(t,r,s,...a){if(!s.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let u=!1;s.endsWith(" inline")&&(u=!0,s=s.slice(0,-7)),r.kind==="at-rule"&&(u=!0);let e=t.resolveThemeValue(s,u);if(!e){if(a.length>0)return a.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${s})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(a.length===0)return e;let l=a.join(", ");if(l==="initial")return e;if(e==="initial")return l;if(e.startsWith("var(")||e.startsWith("theme(")||e.startsWith("--theme(")){let n=Os(e);return Iae(n,l),la(n)}return e}function kae(t,r,s,...a){s=Dae(s);let u=t.resolveThemeValue(s);if(!u&&a.length>0)return a.join(", ");if(!u)throw new Error(`Could not resolve value for theme function: \`theme(${s})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return u}var fM=new RegExp(Object.keys(ow).map(t=>`${t}\\(`).join("|"));function mw(t,r){let s=0;return ni(t,a=>{if(a.kind==="declaration"&&a.value&&fM.test(a.value)){s|=8,a.value=mM(a.value,a,r);return}a.kind==="at-rule"&&(a.name==="@media"||a.name==="@custom-media"||a.name==="@container"||a.name==="@supports")&&fM.test(a.params)&&(s|=8,a.params=mM(a.params,a,r))}),s}function mM(t,r,s){let a=Os(t);return Ga(a,(u,{replaceWith:e})=>{if(u.kind==="function"&&u.value in ow){let l=Kn(la(u.nodes).trim(),",").map(c=>c.trim()),n=ow[u.value](s,r,...l);return e(Os(n))}}),la(a)}function Dae(t){if(t[0]!=="'"&&t[0]!=='"')return t;let r="",s=t[0];for(let a=1;a<t.length-1;a++){let u=t[a],e=t[a+1];u==="\\"&&(e===s||e==="\\")?(r+=e,a++):r+=u}return r}function Iae(t,r){Ga(t,s=>{if(s.kind==="function"&&!(s.value!=="var"&&s.value!=="theme"&&s.value!=="--theme"))if(s.nodes.length===1)s.nodes.push({kind:"word",value:`, ${r}`});else{let a=s.nodes[s.nodes.length-1];a.kind==="word"&&a.value==="initial"&&(a.value=r)}})}function HM(t,r){let s=t.length,a=r.length,u=s<a?s:a;for(let e=0;e<u;e++){let l=t.charCodeAt(e),n=r.charCodeAt(e);if(l>=48&&l<=57&&n>=48&&n<=57){let c=e,p=e+1,i=e,o=e+1;for(l=t.charCodeAt(p);l>=48&&l<=57;)l=t.charCodeAt(++p);for(n=r.charCodeAt(o);n>=48&&n<=57;)n=r.charCodeAt(++o);let h=t.slice(c,p),d=r.slice(i,o),f=Number(h)-Number(d);if(f)return f;if(h<d)return-1;if(h>d)return 1;continue}if(l!==n)return l-n}return t.length-r.length}var Oae=/^\d+\/\d+$/;function Nae(t){let r=new As(a=>({name:a,utility:a,fraction:!1,modifiers:[]}));for(let a of t.utilities.keys("static")){let u=r.get(a);u.fraction=!1,u.modifiers=[]}for(let a of t.utilities.keys("functional")){let u=t.utilities.getCompletions(a);for(let e of u)for(let l of e.values){let n=l!==null&&Oae.test(l),c=l===null?a:`${a}-${l}`,p=r.get(c);if(p.utility=a,p.fraction||(p.fraction=n),p.modifiers.push(...e.modifiers),e.supportsNegative){let i=r.get(`-${c}`);i.utility=`-${a}`,i.fraction||(i.fraction=n),i.modifiers.push(...e.modifiers)}p.modifiers=Array.from(new Set(p.modifiers))}}if(r.size===0)return[];let s=Array.from(r.values());return s.sort((a,u)=>HM(a.name,u.name)),Fae(s)}function Fae(t){let r=[],s=null,a=new Map,u=new As(()=>[]);for(let l of t){let{utility:n,fraction:c}=l;s||(s={utility:n,items:[]},a.set(n,s)),n!==s.utility&&(r.push(s),s={utility:n,items:[]},a.set(n,s)),c?u.get(n).push(l):s.items.push(l)}s&&r[r.length-1]!==s&&r.push(s);for(let[l,n]of u){let c=a.get(l);c&&c.items.push(...n)}let e=[];for(let l of r)for(let n of l.items)e.push([n.name,{modifiers:n.modifiers}]);return e}function jae(t){let r=[];for(let[a,u]of t.variants.entries()){let e=function({value:c,modifier:p}={}){let i=a;c&&(i+=l?`-${c}`:c),p&&(i+=`/${p}`);let o=t.parseVariant(i);if(!o)return[];let h=Ui(".__placeholder__",[]);if(Rb(h,o,t.variants)===null)return[];let d=[];return rw(h.nodes,(f,{path:b})=>{if(f.kind!=="rule"&&f.kind!=="at-rule"||f.nodes.length>0)return;b.sort((x,v)=>{let E=x.kind==="at-rule",S=v.kind==="at-rule";return E&&!S?-1:!E&&S?1:0});let m=b.flatMap(x=>x.kind==="rule"?x.selector==="&"?[]:[x.selector]:x.kind==="at-rule"?[`${x.name} ${x.params}`]:[]),y="";for(let x=m.length-1;x>=0;x--)y=y===""?m[x]:`${m[x]} { ${y} }`;d.push(y)}),d};var s=e;if(u.kind==="arbitrary")continue;let l=a!=="@",n=t.variants.getCompletions(a);switch(u.kind){case"static":{r.push({name:a,values:n,isArbitrary:!1,hasDash:l,selectors:e});break}case"functional":{r.push({name:a,values:n,isArbitrary:!0,hasDash:l,selectors:e});break}case"compound":{r.push({name:a,values:n,isArbitrary:!0,hasDash:l,selectors:e});break}}}return r}function Lae(t,r){var l;let{astNodes:s,nodeSorting:a}=Lb(Array.from(r),t),u=new Map(r.map(n=>[n,null])),e=0n;for(let n of s){let c=(l=a.get(n))==null?void 0:l.candidate;c&&u.set(c,u.get(c)??e++)}return r.map(n=>[n,u.get(n)??null])}var GM=/^@?[a-z0-9][a-zA-Z0-9_-]*(?<![_-])$/,Rae=class{compareFns=new Map;variants=new Map;completions=new Map;groupOrder=null;lastOrder=0;static(t,r,{compounds:s,order:a}={}){this.set(t,{kind:"static",applyFn:r,compoundsWith:0,compounds:s??2,order:a})}fromAst(t,r,s){let a=[],u=!1;ni(r,e=>{e.kind==="rule"?a.push(e.selector):e.kind==="at-rule"&&e.name==="@variant"?u=!0:e.kind==="at-rule"&&e.name!=="@slot"&&a.push(`${e.name} ${e.params}`)}),this.static(t,e=>{let l=structuredClone(r);u&&XM(l,s),JM(l,e.nodes),e.nodes=l},{compounds:Hh(a)})}functional(t,r,{compounds:s,order:a}={}){this.set(t,{kind:"functional",applyFn:r,compoundsWith:0,compounds:s??2,order:a})}compound(t,r,s,{compounds:a,order:u}={}){this.set(t,{kind:"compound",applyFn:s,compoundsWith:r,compounds:a??2,order:u})}group(t,r){this.groupOrder=this.nextOrder(),r&&this.compareFns.set(this.groupOrder,r),t(),this.groupOrder=null}has(t){return this.variants.has(t)}get(t){return this.variants.get(t)}kind(t){var r;return(r=this.variants.get(t))==null?void 0:r.kind}compoundsWith(t,r){let s=this.variants.get(t),a=typeof r=="string"?this.variants.get(r):r.kind==="arbitrary"?{compounds:Hh([r.selector])}:this.variants.get(r.root);return!(!s||!a||s.kind!=="compound"||a.compounds===0||s.compoundsWith===0||(s.compoundsWith&a.compounds)===0)}suggest(t,r){this.completions.set(t,r)}getCompletions(t){var r;return((r=this.completions.get(t))==null?void 0:r())??[]}compare(t,r){if(t===r)return 0;if(t===null)return-1;if(r===null)return 1;if(t.kind==="arbitrary"&&r.kind==="arbitrary")return t.selector<r.selector?-1:1;if(t.kind==="arbitrary")return 1;if(r.kind==="arbitrary")return-1;let s=this.variants.get(t.root).order,a=this.variants.get(r.root).order,u=s-a;if(u!==0)return u;if(t.kind==="compound"&&r.kind==="compound"){let c=this.compare(t.variant,r.variant);return c!==0?c:t.modifier&&r.modifier?t.modifier.value<r.modifier.value?-1:1:t.modifier?1:r.modifier?-1:0}let e=this.compareFns.get(s);if(e!==void 0)return e(t,r);if(t.root!==r.root)return t.root<r.root?-1:1;let l=t.value,n=r.value;return l===null?-1:n===null||l.kind==="arbitrary"&&n.kind!=="arbitrary"?1:l.kind!=="arbitrary"&&n.kind==="arbitrary"||l.value<n.value?-1:1}keys(){return this.variants.keys()}entries(){return this.variants.entries()}set(t,{kind:r,applyFn:s,compounds:a,compoundsWith:u,order:e}){let l=this.variants.get(t);l?Object.assign(l,{kind:r,applyFn:s,compounds:a}):(e===void 0&&(this.lastOrder=this.nextOrder(),e=this.lastOrder),this.variants.set(t,{kind:r,applyFn:s,order:e,compoundsWith:u,compounds:a}))}nextOrder(){return this.groupOrder??this.lastOrder+1}};function Hh(t){let r=0;for(let s of t){if(s[0]==="@"){if(!s.startsWith("@media")&&!s.startsWith("@supports")&&!s.startsWith("@container"))return 0;r|=1;continue}if(s.includes("::"))return 0;r|=2}return r}function Mae(t){let r=new Rae;function s(p,i,{compounds:o}={}){o=o??Hh(i),r.static(p,h=>{h.nodes=i.map(d=>Gs(d,h.nodes))},{compounds:o})}s("*",[":is(& > *)"],{compounds:0}),s("**",[":is(& *)"],{compounds:0});function a(p,i){return i.map(o=>{o=o.trim();let h=Kn(o," ");return h[0]==="not"?h.slice(1).join(" "):p==="@container"?h[0][0]==="("?`not ${o}`:h[1]==="not"?`${h[0]} ${h.slice(2).join(" ")}`:`${h[0]} not ${h.slice(1).join(" ")}`:`not ${o}`})}let u=["@media","@supports","@container"];function e(p){for(let i of u){if(i!==p.name)continue;let o=Kn(p.params,",");return o.length>1?null:(o=a(p.name,o),ki(p.name,o.join(", ")))}return null}function l(p){return p.includes("::")?null:`&:not(${Kn(p,",").map(i=>(i=i.replaceAll("&","*"),i)).join(", ")})`}r.compound("not",3,(p,i)=>{if(i.variant.kind==="arbitrary"&&i.variant.relative||i.modifier)return null;let o=!1;if(ni([p],(h,{path:d})=>{if(h.kind!=="rule"&&h.kind!=="at-rule"||h.nodes.length>0)return 0;let f=[],b=[];for(let y of d)y.kind==="at-rule"?f.push(y):y.kind==="rule"&&b.push(y);if(f.length>1||b.length>1)return 2;let m=[];for(let y of b){let x=l(y.selector);if(!x)return o=!1,2;m.push(Ui(x,[]))}for(let y of f){let x=e(y);if(!x)return o=!1,2;m.push(x)}return Object.assign(p,Ui("&",m)),o=!0,1}),p.kind==="rule"&&p.selector==="&"&&p.nodes.length===1&&Object.assign(p,p.nodes[0]),!o)return null}),r.suggest("not",()=>Array.from(r.keys()).filter(p=>r.compoundsWith("not",p))),r.compound("group",2,(p,i)=>{if(i.variant.kind==="arbitrary"&&i.variant.relative)return null;let o=i.modifier?`:where(.${t.prefix?`${t.prefix}\\:`:""}group\\/${i.modifier.value})`:`:where(.${t.prefix?`${t.prefix}\\:`:""}group)`,h=!1;if(ni([p],(d,{path:f})=>{if(d.kind!=="rule")return 0;for(let m of f.slice(0,-1))if(m.kind==="rule")return h=!1,2;let b=d.selector.replaceAll("&",o);Kn(b,",").length>1&&(b=`:is(${b})`),d.selector=`&:is(${b} *)`,h=!0}),!h)return null}),r.suggest("group",()=>Array.from(r.keys()).filter(p=>r.compoundsWith("group",p))),r.compound("peer",2,(p,i)=>{if(i.variant.kind==="arbitrary"&&i.variant.relative)return null;let o=i.modifier?`:where(.${t.prefix?`${t.prefix}\\:`:""}peer\\/${i.modifier.value})`:`:where(.${t.prefix?`${t.prefix}\\:`:""}peer)`,h=!1;if(ni([p],(d,{path:f})=>{if(d.kind!=="rule")return 0;for(let m of f.slice(0,-1))if(m.kind==="rule")return h=!1,2;let b=d.selector.replaceAll("&",o);Kn(b,",").length>1&&(b=`:is(${b})`),d.selector=`&:is(${b} ~ *)`,h=!0}),!h)return null}),r.suggest("peer",()=>Array.from(r.keys()).filter(p=>r.compoundsWith("peer",p))),s("first-letter",["&::first-letter"]),s("first-line",["&::first-line"]),s("marker",["& *::marker","&::marker","& *::-webkit-details-marker","&::-webkit-details-marker"]),s("selection",["& *::selection","&::selection"]),s("file",["&::file-selector-button"]),s("placeholder",["&::placeholder"]),s("backdrop",["&::backdrop"]),s("details-content",["&::details-content"]);{let p=function(){return Hn([ki("@property","--tw-content",[je("syntax",'"*"'),je("initial-value",'""'),je("inherits","false")])])};var n=p;r.static("before",i=>{i.nodes=[Ui("&::before",[p(),je("content","var(--tw-content)"),...i.nodes])]},{compounds:0}),r.static("after",i=>{i.nodes=[Ui("&::after",[p(),je("content","var(--tw-content)"),...i.nodes])]},{compounds:0})}s("first",["&:first-child"]),s("last",["&:last-child"]),s("only",["&:only-child"]),s("odd",["&:nth-child(odd)"]),s("even",["&:nth-child(even)"]),s("first-of-type",["&:first-of-type"]),s("last-of-type",["&:last-of-type"]),s("only-of-type",["&:only-of-type"]),s("visited",["&:visited"]),s("target",["&:target"]),s("open",["&:is([open], :popover-open, :open)"]),s("default",["&:default"]),s("checked",["&:checked"]),s("indeterminate",["&:indeterminate"]),s("placeholder-shown",["&:placeholder-shown"]),s("autofill",["&:autofill"]),s("optional",["&:optional"]),s("required",["&:required"]),s("valid",["&:valid"]),s("invalid",["&:invalid"]),s("user-valid",["&:user-valid"]),s("user-invalid",["&:user-invalid"]),s("in-range",["&:in-range"]),s("out-of-range",["&:out-of-range"]),s("read-only",["&:read-only"]),s("empty",["&:empty"]),s("focus-within",["&:focus-within"]),r.static("hover",p=>{p.nodes=[Ui("&:hover",[ki("@media","(hover: hover)",p.nodes)])]}),s("focus",["&:focus"]),s("focus-visible",["&:focus-visible"]),s("active",["&:active"]),s("enabled",["&:enabled"]),s("disabled",["&:disabled"]),s("inert",["&:is([inert], [inert] *)"]),r.compound("in",2,(p,i)=>{if(i.modifier)return null;let o=!1;if(ni([p],(h,{path:d})=>{if(h.kind!=="rule")return 0;for(let f of d.slice(0,-1))if(f.kind==="rule")return o=!1,2;h.selector=`:where(${h.selector.replaceAll("&","*")}) &`,o=!0}),!o)return null}),r.suggest("in",()=>Array.from(r.keys()).filter(p=>r.compoundsWith("in",p))),r.compound("has",2,(p,i)=>{if(i.modifier)return null;let o=!1;if(ni([p],(h,{path:d})=>{if(h.kind!=="rule")return 0;for(let f of d.slice(0,-1))if(f.kind==="rule")return o=!1,2;h.selector=`&:has(${h.selector.replaceAll("&","*")})`,o=!0}),!o)return null}),r.suggest("has",()=>Array.from(r.keys()).filter(p=>r.compoundsWith("has",p))),r.functional("aria",(p,i)=>{if(!i.value||i.modifier)return null;i.value.kind==="arbitrary"?p.nodes=[Ui(`&[aria-${yM(i.value.value)}]`,p.nodes)]:p.nodes=[Ui(`&[aria-${i.value.value}="true"]`,p.nodes)]}),r.suggest("aria",()=>["busy","checked","disabled","expanded","hidden","pressed","readonly","required","selected"]),r.functional("data",(p,i)=>{if(!i.value||i.modifier)return null;p.nodes=[Ui(`&[data-${yM(i.value.value)}]`,p.nodes)]}),r.functional("nth",(p,i)=>{if(!i.value||i.modifier||i.value.kind==="named"&&!Nr(i.value.value))return null;p.nodes=[Ui(`&:nth-child(${i.value.value})`,p.nodes)]}),r.functional("nth-last",(p,i)=>{if(!i.value||i.modifier||i.value.kind==="named"&&!Nr(i.value.value))return null;p.nodes=[Ui(`&:nth-last-child(${i.value.value})`,p.nodes)]}),r.functional("nth-of-type",(p,i)=>{if(!i.value||i.modifier||i.value.kind==="named"&&!Nr(i.value.value))return null;p.nodes=[Ui(`&:nth-of-type(${i.value.value})`,p.nodes)]}),r.functional("nth-last-of-type",(p,i)=>{if(!i.value||i.modifier||i.value.kind==="named"&&!Nr(i.value.value))return null;p.nodes=[Ui(`&:nth-last-of-type(${i.value.value})`,p.nodes)]}),r.functional("supports",(p,i)=>{if(!i.value||i.modifier)return null;let o=i.value.value;if(o===null)return null;if(/^[\w-]*\s*\(/.test(o)){let h=o.replace(/\b(and|or|not)\b/g," $1 ");p.nodes=[ki("@supports",h,p.nodes)];return}o.includes(":")||(o=`${o}: var(--tw)`),(o[0]!=="("||o[o.length-1]!==")")&&(o=`(${o})`),p.nodes=[ki("@supports",o,p.nodes)]},{compounds:1}),s("motion-safe",["@media (prefers-reduced-motion: no-preference)"]),s("motion-reduce",["@media (prefers-reduced-motion: reduce)"]),s("contrast-more",["@media (prefers-contrast: more)"]),s("contrast-less",["@media (prefers-contrast: less)"]);{let p=function(i,o,h,d){if(i===o)return 0;let f=d.get(i);if(f===null)return h==="asc"?-1:1;let b=d.get(o);return b===null?h==="asc"?1:-1:kb(f,b,h)};var c=p;{let i=t.namespace("--breakpoint"),o=new As(h=>{switch(h.kind){case"static":return t.resolveValue(h.root,["--breakpoint"])??null;case"functional":{if(!h.value||h.modifier)return null;let d=null;return h.value.kind==="arbitrary"?d=h.value.value:h.value.kind==="named"&&(d=t.resolveValue(h.value.value,["--breakpoint"])),!d||d.includes("var(")?null:d}case"arbitrary":case"compound":return null}});r.group(()=>{r.functional("max",(h,d)=>{if(d.modifier)return null;let f=o.get(d);if(f===null)return null;h.nodes=[ki("@media",`(width < ${f})`,h.nodes)]},{compounds:1})},(h,d)=>p(h,d,"desc",o)),r.suggest("max",()=>Array.from(i.keys()).filter(h=>h!==null)),r.group(()=>{for(let[h,d]of t.namespace("--breakpoint"))h!==null&&r.static(h,f=>{f.nodes=[ki("@media",`(width >= ${d})`,f.nodes)]},{compounds:1});r.functional("min",(h,d)=>{if(d.modifier)return null;let f=o.get(d);if(f===null)return null;h.nodes=[ki("@media",`(width >= ${f})`,h.nodes)]},{compounds:1})},(h,d)=>p(h,d,"asc",o)),r.suggest("min",()=>Array.from(i.keys()).filter(h=>h!==null))}{let i=t.namespace("--container"),o=new As(h=>{switch(h.kind){case"functional":{if(h.value===null)return null;let d=null;return h.value.kind==="arbitrary"?d=h.value.value:h.value.kind==="named"&&(d=t.resolveValue(h.value.value,["--container"])),!d||d.includes("var(")?null:d}case"static":case"arbitrary":case"compound":return null}});r.group(()=>{r.functional("@max",(h,d)=>{let f=o.get(d);if(f===null)return null;h.nodes=[ki("@container",d.modifier?`${d.modifier.value} (width < ${f})`:`(width < ${f})`,h.nodes)]},{compounds:1})},(h,d)=>p(h,d,"desc",o)),r.suggest("@max",()=>Array.from(i.keys()).filter(h=>h!==null)),r.group(()=>{r.functional("@",(h,d)=>{let f=o.get(d);if(f===null)return null;h.nodes=[ki("@container",d.modifier?`${d.modifier.value} (width >= ${f})`:`(width >= ${f})`,h.nodes)]},{compounds:1}),r.functional("@min",(h,d)=>{let f=o.get(d);if(f===null)return null;h.nodes=[ki("@container",d.modifier?`${d.modifier.value} (width >= ${f})`:`(width >= ${f})`,h.nodes)]},{compounds:1})},(h,d)=>p(h,d,"asc",o)),r.suggest("@min",()=>Array.from(i.keys()).filter(h=>h!==null)),r.suggest("@",()=>Array.from(i.keys()).filter(h=>h!==null))}}return s("portrait",["@media (orientation: portrait)"]),s("landscape",["@media (orientation: landscape)"]),s("ltr",['&:where(:dir(ltr), [dir="ltr"], [dir="ltr"] *)']),s("rtl",['&:where(:dir(rtl), [dir="rtl"], [dir="rtl"] *)']),s("dark",["@media (prefers-color-scheme: dark)"]),s("starting",["@starting-style"]),s("print",["@media print"]),s("forced-colors",["@media (forced-colors: active)"]),s("inverted-colors",["@media (inverted-colors: inverted)"]),s("pointer-none",["@media (pointer: none)"]),s("pointer-coarse",["@media (pointer: coarse)"]),s("pointer-fine",["@media (pointer: fine)"]),s("any-pointer-none",["@media (any-pointer: none)"]),s("any-pointer-coarse",["@media (any-pointer: coarse)"]),s("any-pointer-fine",["@media (any-pointer: fine)"]),s("noscript",["@media (scripting: none)"]),r}function yM(t){if(t.includes("=")){let[r,...s]=Kn(t,"="),a=s.join("=").trim();if(a[0]==="'"||a[0]==='"')return t;if(a.length>1){let u=a[a.length-1];if(a[a.length-2]===" "&&(u==="i"||u==="I"||u==="s"||u==="S"))return`${r}="${a.slice(0,-2)}" ${u}`}return`${r}="${a}"`}return t}function JM(t,r){ni(t,(s,{replaceWith:a})=>{if(s.kind==="at-rule"&&s.name==="@slot")a(r);else if(s.kind==="at-rule"&&(s.name==="@keyframes"||s.name==="@property"))return Object.assign(s,Hn([ki(s.name,s.params,s.nodes)])),1})}function XM(t,r){let s=0;return ni(t,(a,{replaceWith:u})=>{if(a.kind!=="at-rule"||a.name!=="@variant")return;let e=Ui("&",a.nodes),l=a.params,n=r.parseVariant(l);if(n===null)throw new Error(`Cannot use \`@variant\` with unknown variant: ${l}`);if(Rb(e,n,r.variants)===null)throw new Error(`Cannot use \`@variant\` with variant: ${l}`);u(e),s|=32}),s}function Bae(t){let r=wae(t),s=Mae(t),a=new As(c=>hae(c,n)),u=new As(c=>Array.from(dae(c,n))),e=new As(c=>new As(p=>{let i=Uae(p,n,c);try{mw(i.map(({node:o})=>o),n)}catch{return[]}return i})),l=new As(c=>{for(let p of UM(c))t.markUsedVariable(p)}),n={theme:t,utilities:r,variants:s,invalidCandidates:new Set,important:!1,candidatesToCss(c){let p=[];for(let i of c){let o=!1,{astNodes:h}=Lb([i],this,{onInvalidCandidate(){o=!0}});h=Kh(h,n,0),h.length===0||o?p.push(null):p.push(gu(h))}return p},getClassOrder(c){return Lae(this,c)},getClassList(){return Nae(this)},getVariants(){return jae(this)},parseCandidate(c){return u.get(c)},parseVariant(c){return a.get(c)},compileAstNodes(c,p=1){return e.get(p).get(c)},printCandidate(c){return fae(n,c)},printVariant(c){return hw(c)},getVariantOrder(){let c=Array.from(a.values());c.sort((h,d)=>this.variants.compare(h,d));let p=new Map,i,o=0;for(let h of c)h!==null&&(i!==void 0&&this.variants.compare(i,h)!==0&&o++,p.set(h,o),i=h);return p},resolveThemeValue(c,p=!0){let i=c.lastIndexOf("/"),o=null;i!==-1&&(o=c.slice(i+1).trim(),c=c.slice(0,i).trim());let h=t.resolve(null,[c],p?1:0)??void 0;return o&&h?oa(h,o):h},trackUsedVariables(c){l.get(c)}};return n}var bM=["container-type","pointer-events","visibility","position","inset","inset-inline","inset-block","inset-inline-start","inset-inline-end","top","right","bottom","left","isolation","z-index","order","grid-column","grid-column-start","grid-column-end","grid-row","grid-row-start","grid-row-end","float","clear","--tw-container-component","margin","margin-inline","margin-block","margin-inline-start","margin-inline-end","margin-top","margin-right","margin-bottom","margin-left","box-sizing","display","field-sizing","aspect-ratio","height","max-height","min-height","width","max-width","min-width","flex","flex-shrink","flex-grow","flex-basis","table-layout","caption-side","border-collapse","border-spacing","transform-origin","translate","--tw-translate-x","--tw-translate-y","--tw-translate-z","scale","--tw-scale-x","--tw-scale-y","--tw-scale-z","rotate","--tw-rotate-x","--tw-rotate-y","--tw-rotate-z","--tw-skew-x","--tw-skew-y","transform","animation","cursor","touch-action","--tw-pan-x","--tw-pan-y","--tw-pinch-zoom","resize","scroll-snap-type","--tw-scroll-snap-strictness","scroll-snap-align","scroll-snap-stop","scroll-margin","scroll-margin-inline","scroll-margin-block","scroll-margin-inline-start","scroll-margin-inline-end","scroll-margin-top","scroll-margin-right","scroll-margin-bottom","scroll-margin-left","scroll-padding","scroll-padding-inline","scroll-padding-block","scroll-padding-inline-start","scroll-padding-inline-end","scroll-padding-top","scroll-padding-right","scroll-padding-bottom","scroll-padding-left","list-style-position","list-style-type","list-style-image","appearance","columns","break-before","break-inside","break-after","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-template-columns","grid-template-rows","flex-direction","flex-wrap","place-content","place-items","align-content","align-items","justify-content","justify-items","gap","column-gap","row-gap","--tw-space-x-reverse","--tw-space-y-reverse","divide-x-width","divide-y-width","--tw-divide-y-reverse","divide-style","divide-color","place-self","align-self","justify-self","overflow","overflow-x","overflow-y","overscroll-behavior","overscroll-behavior-x","overscroll-behavior-y","scroll-behavior","border-radius","border-start-radius","border-end-radius","border-top-radius","border-right-radius","border-bottom-radius","border-left-radius","border-start-start-radius","border-start-end-radius","border-end-end-radius","border-end-start-radius","border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius","border-width","border-inline-width","border-block-width","border-inline-start-width","border-inline-end-width","border-top-width","border-right-width","border-bottom-width","border-left-width","border-style","border-inline-style","border-block-style","border-inline-start-style","border-inline-end-style","border-top-style","border-right-style","border-bottom-style","border-left-style","border-color","border-inline-color","border-block-color","border-inline-start-color","border-inline-end-color","border-top-color","border-right-color","border-bottom-color","border-left-color","background-color","background-image","--tw-gradient-position","--tw-gradient-stops","--tw-gradient-via-stops","--tw-gradient-from","--tw-gradient-from-position","--tw-gradient-via","--tw-gradient-via-position","--tw-gradient-to","--tw-gradient-to-position","mask-image","--tw-mask-top","--tw-mask-top-from-color","--tw-mask-top-from-position","--tw-mask-top-to-color","--tw-mask-top-to-position","--tw-mask-right","--tw-mask-right-from-color","--tw-mask-right-from-position","--tw-mask-right-to-color","--tw-mask-right-to-position","--tw-mask-bottom","--tw-mask-bottom-from-color","--tw-mask-bottom-from-position","--tw-mask-bottom-to-color","--tw-mask-bottom-to-position","--tw-mask-left","--tw-mask-left-from-color","--tw-mask-left-from-position","--tw-mask-left-to-color","--tw-mask-left-to-position","--tw-mask-linear","--tw-mask-linear-position","--tw-mask-linear-from-color","--tw-mask-linear-from-position","--tw-mask-linear-to-color","--tw-mask-linear-to-position","--tw-mask-radial","--tw-mask-radial-shape","--tw-mask-radial-size","--tw-mask-radial-position","--tw-mask-radial-from-color","--tw-mask-radial-from-position","--tw-mask-radial-to-color","--tw-mask-radial-to-position","--tw-mask-conic","--tw-mask-conic-position","--tw-mask-conic-from-color","--tw-mask-conic-from-position","--tw-mask-conic-to-color","--tw-mask-conic-to-position","box-decoration-break","background-size","background-attachment","background-clip","background-position","background-repeat","background-origin","mask-composite","mask-mode","mask-type","mask-size","mask-clip","mask-position","mask-repeat","mask-origin","fill","stroke","stroke-width","object-fit","object-position","padding","padding-inline","padding-block","padding-inline-start","padding-inline-end","padding-top","padding-right","padding-bottom","padding-left","text-align","text-indent","vertical-align","font-family","font-size","line-height","font-weight","letter-spacing","text-wrap","overflow-wrap","word-break","text-overflow","hyphens","white-space","color","text-transform","font-style","font-stretch","font-variant-numeric","text-decoration-line","text-decoration-color","text-decoration-style","text-decoration-thickness","text-underline-offset","-webkit-font-smoothing","placeholder-color","caret-color","accent-color","color-scheme","opacity","background-blend-mode","mix-blend-mode","box-shadow","--tw-shadow","--tw-shadow-color","--tw-ring-shadow","--tw-ring-color","--tw-inset-shadow","--tw-inset-shadow-color","--tw-inset-ring-shadow","--tw-inset-ring-color","--tw-ring-offset-width","--tw-ring-offset-color","outline","outline-width","outline-offset","outline-color","--tw-blur","--tw-brightness","--tw-contrast","--tw-drop-shadow","--tw-grayscale","--tw-hue-rotate","--tw-invert","--tw-saturate","--tw-sepia","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","backdrop-filter","transition-property","transition-behavior","transition-delay","transition-duration","transition-timing-function","will-change","contain","content","forced-color-adjust"];function Lb(t,r,{onInvalidCandidate:s,respectImportant:a}={}){let u=new Map,e=[],l=new Map;for(let p of t){if(r.invalidCandidates.has(p)){s==null||s(p);continue}let i=r.parseCandidate(p);if(i.length===0){s==null||s(p);continue}l.set(p,i)}let n=0;(a??!0)&&(n|=1);let c=r.getVariantOrder();for(let[p,i]of l){let o=!1;for(let h of i){let d=r.compileAstNodes(h,n);if(d.length!==0){o=!0;for(let{node:f,propertySort:b}of d){let m=0n;for(let y of h.variants)m|=1n<<BigInt(c.get(y));u.set(f,{properties:b,variants:m,candidate:p}),e.push(f)}}}o||(s==null||s(p))}return e.sort((p,i)=>{let o=u.get(p),h=u.get(i);if(o.variants-h.variants!==0n)return Number(o.variants-h.variants);let d=0;for(;d<o.properties.order.length&&d<h.properties.order.length&&o.properties.order[d]===h.properties.order[d];)d+=1;return(o.properties.order[d]??1/0)-(h.properties.order[d]??1/0)||h.properties.count-o.properties.count||HM(o.candidate,h.candidate)}),{astNodes:e,nodeSorting:u}}function Uae(t,r,s){let a=$ae(t,r);if(a.length===0)return[];let u=r.important&&!!(s&1),e=[],l=`.${jb(t.raw)}`;for(let n of a){let c=Vae(n);(t.important||u)&&YM(n);let p={kind:"rule",selector:l,nodes:n};for(let i of t.variants)if(Rb(p,i,r.variants)===null)return[];e.push({node:p,propertySort:c})}return e}function Rb(t,r,s,a=0){if(r.kind==="arbitrary"){if(r.relative&&a===0)return null;t.nodes=[Gs(r.selector,t.nodes)];return}let{applyFn:u}=s.get(r.root);if(r.kind==="compound"){let e=ki("@slot");if(Rb(e,r.variant,s,a+1)===null||r.root==="not"&&e.nodes.length>1)return null;for(let l of e.nodes)if(l.kind!=="rule"&&l.kind!=="at-rule"||u(l,r)===null)return null;ni(e.nodes,l=>{if((l.kind==="rule"||l.kind==="at-rule")&&l.nodes.length<=0)return l.nodes=t.nodes,1}),t.nodes=e.nodes;return}if(u(t,r)===null)return null}function gM(t){var s;let r=((s=t.options)==null?void 0:s.types)??[];return r.length>1&&r.includes("any")}function $ae(t,r){if(t.kind==="arbitrary"){let l=t.value;return t.modifier&&(l=qs(l,t.modifier,r.theme)),l===null?[]:[[je(t.property,l)]]}let s=r.utilities.get(t.root)??[],a=[],u=s.filter(l=>!gM(l));for(let l of u){if(l.kind!==t.kind)continue;let n=l.compileFn(t);if(n!==void 0){if(n===null)return a;a.push(n)}}if(a.length>0)return a;let e=s.filter(l=>gM(l));for(let l of e){if(l.kind!==t.kind)continue;let n=l.compileFn(t);if(n!==void 0){if(n===null)return a;a.push(n)}}return a}function YM(t){for(let r of t)r.kind!=="at-root"&&(r.kind==="declaration"?r.important=!0:(r.kind==="rule"||r.kind==="at-rule")&&YM(r.nodes))}function Vae(t){let r=new Set,s=0,a=t.slice(),u=!1;for(;a.length>0;){let e=a.shift();if(e.kind==="declaration"){if(e.value===void 0||(s++,u))continue;if(e.property==="--tw-sort"){let n=bM.indexOf(e.value??"");if(n!==-1){r.add(n),u=!0;continue}}let l=bM.indexOf(e.property);l!==-1&&r.add(l)}else if(e.kind==="rule"||e.kind==="at-rule")for(let l of e.nodes)a.push(l)}return{order:Array.from(r).sort((e,l)=>e-l),count:s}}function lw(t,r){let s=0,a=Gs("&",t),u=new Set,e=new As(()=>new Set),l=new As(()=>new Set);ni([a],(o,{parent:h,path:d})=>{if(o.kind==="at-rule"){if(o.name==="@keyframes")return ni(o.nodes,f=>{if(f.kind==="at-rule"&&f.name==="@apply")throw new Error("You cannot use `@apply` inside `@keyframes`.")}),1;if(o.name==="@utility"){let f=o.params.replace(/-\*$/,"");l.get(f).add(o),ni(o.nodes,b=>{if(!(b.kind!=="at-rule"||b.name!=="@apply")){u.add(o);for(let m of vM(b,r))e.get(o).add(m)}});return}if(o.name==="@apply"){if(h===null)return;s|=1,u.add(h);for(let f of vM(o,r))for(let b of d)b!==o&&u.has(b)&&e.get(b).add(f)}}});let n=new Set,c=[],p=new Set;function i(o,h=[]){if(!n.has(o)){if(p.has(o)){let d=h[(h.indexOf(o)+1)%h.length];throw o.kind==="at-rule"&&o.name==="@utility"&&d.kind==="at-rule"&&d.name==="@utility"&&ni(o.nodes,f=>{if(f.kind!=="at-rule"||f.name!=="@apply")return;let b=f.params.split(/\s+/g);for(let m of b)for(let y of r.parseCandidate(m))switch(y.kind){case"arbitrary":break;case"static":case"functional":if(d.params.replace(/-\*$/,"")===y.root)throw new Error(`You cannot \`@apply\` the \`${m}\` utility here because it creates a circular dependency.`);break;default:}}),new Error(`Circular dependency detected:
|
|
|
|
${gu([o])}
|
|
Relies on:
|
|
|
|
${gu([d])}`)}p.add(o);for(let d of e.get(o))for(let f of l.get(d))h.push(o),i(f,h),h.pop();n.add(o),p.delete(o),c.push(o)}}for(let o of u)i(o);for(let o of c)"nodes"in o&&ni(o.nodes,(h,{replaceWith:d})=>{if(h.kind!=="at-rule"||h.name!=="@apply")return;let f=h.params.split(/(\s+)/g),b={},m=0;for(let[y,x]of f.entries())y%2===0&&(b[x]=m),m+=x.length;{let y=Object.keys(b),x=Lb(y,r,{respectImportant:!1,onInvalidCandidate:_=>{if(r.theme.prefix&&!_.startsWith(r.theme.prefix))throw new Error(`Cannot apply unprefixed utility class \`${_}\`. Did you mean \`${r.theme.prefix}:${_}\`?`);if(r.invalidCandidates.has(_))throw new Error(`Cannot apply utility class \`${_}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`);let A=Kn(_,":");if(A.length>1){let L=A.pop();if(r.candidatesToCss([L])[0]){let j=r.candidatesToCss(A.map(k=>`${k}:[--tw-variant-check:1]`)),F=A.filter((k,U)=>j[U]===null);if(F.length>0){if(F.length===1)throw new Error(`Cannot apply utility class \`${_}\` because the ${F.map(k=>`\`${k}\``)} variant does not exist.`);{let k=new Intl.ListFormat("en",{style:"long",type:"conjunction"});throw new Error(`Cannot apply utility class \`${_}\` because the ${k.format(F.map(U=>`\`${U}\``))} variants do not exist.`)}}}}throw r.theme.size===0?new Error(`Cannot apply unknown utility class \`${_}\`. Are you using CSS modules or similar and missing \`@reference\`? https://tailwindcss.com/docs/functions-and-directives#reference-directive`):new Error(`Cannot apply unknown utility class \`${_}\``)}}),v=h.src,E=x.astNodes.map(_=>{var F;let A=(F=x.nodeSorting.get(_))==null?void 0:F.candidate,L=A?b[A]:void 0;if(_=structuredClone(_),!v||!A||L===void 0)return ni([_],k=>{k.src=v}),_;let j=[v[0],v[1],v[2]];return j[1]+=7+L,j[2]=j[1]+A.length,ni([_],k=>{k.src=j}),_}),S=[];for(let _ of E)if(_.kind==="rule")for(let A of _.nodes)S.push(A);else S.push(_);d(S)}});return s}function*vM(t,r){for(let s of t.params.split(/\s+/g))for(let a of r.parseCandidate(s))switch(a.kind){case"arbitrary":break;case"static":case"functional":yield a.root;break;default:}}async function QM(t,r,s,a=0,u=!1){let e=0,l=[];return ni(t,(n,{replaceWith:c})=>{if(n.kind==="at-rule"&&(n.name==="@import"||n.name==="@reference")){let p=qae(Os(n.params));if(p===null)return;n.name==="@reference"&&(p.media="reference"),e|=2;let{uri:i,layer:o,media:h,supports:d}=p;if(i.startsWith("data:")||i.startsWith("http://")||i.startsWith("https://"))return;let f=Zu({},[]);return l.push((async()=>{if(a>100)throw new Error(`Exceeded maximum recursion depth while resolving \`${i}\` in \`${r}\`)`);let b=await s(i,r),m=Fb(b.content,{from:u?b.path:void 0});await QM(m,b.base,s,a+1,u),f.nodes=Wae(n,[Zu({base:b.base},m)],o,h,d)})()),c(f),1}}),l.length>0&&await Promise.all(l),e}function qae(t){let r,s=null,a=null,u=null;for(let e=0;e<t.length;e++){let l=t[e];if(l.kind!=="separator"){if(l.kind==="word"&&!r){if(!l.value||l.value[0]!=='"'&&l.value[0]!=="'")return null;r=l.value.slice(1,-1);continue}if(l.kind==="function"&&l.value.toLowerCase()==="url"||!r)return null;if((l.kind==="word"||l.kind==="function")&&l.value.toLowerCase()==="layer"){if(s)return null;if(u)throw new Error("`layer(\u2026)` in an `@import` should come before any other functions or conditions");"nodes"in l?s=la(l.nodes):s="";continue}if(l.kind==="function"&&l.value.toLowerCase()==="supports"){if(u)return null;u=la(l.nodes);continue}a=la(t.slice(e));break}}return r?{uri:r,layer:s,media:a,supports:u}:null}function Wae(t,r,s,a,u){let e=r;if(s!==null){let l=ki("@layer",s,e);l.src=t.src,e=[l]}if(a!==null){let l=ki("@media",a,e);l.src=t.src,e=[l]}if(u!==null){let l=ki("@supports",u[0]==="("?u:`(${u})`,e);l.src=t.src,e=[l]}return e}function Cp(t,r=null){return Array.isArray(t)&&t.length===2&&typeof t[1]=="object"&&typeof t[1]!==null?r?t[1][r]??null:t[0]:Array.isArray(t)&&r===null?t.join(", "):typeof t=="string"&&r===null?t:null}function Kae(t,{theme:r},s){for(let a of s){let u=uw([a]);u&&t.theme.clearNamespace(`--${u}`,4)}for(let[a,u]of zae(r)){if(typeof u!="string"&&typeof u!="number")continue;if(typeof u=="string"&&(u=u.replace(/<alpha-value>/g,"1")),a[0]==="opacity"&&(typeof u=="number"||typeof u=="string")){let l=typeof u=="string"?parseFloat(u):u;l>=0&&l<=1&&(u=l*100+"%")}let e=uw(a);e&&t.theme.add(`--${e}`,""+u,7)}if(Object.hasOwn(r,"fontFamily")){let a=5;{let u=Cp(r.fontFamily.sans);u&&t.theme.hasDefault("--font-sans")&&(t.theme.add("--default-font-family",u,a),t.theme.add("--default-font-feature-settings",Cp(r.fontFamily.sans,"fontFeatureSettings")??"normal",a),t.theme.add("--default-font-variation-settings",Cp(r.fontFamily.sans,"fontVariationSettings")??"normal",a))}{let u=Cp(r.fontFamily.mono);u&&t.theme.hasDefault("--font-mono")&&(t.theme.add("--default-mono-font-family",u,a),t.theme.add("--default-mono-font-feature-settings",Cp(r.fontFamily.mono,"fontFeatureSettings")??"normal",a),t.theme.add("--default-mono-font-variation-settings",Cp(r.fontFamily.mono,"fontVariationSettings")??"normal",a))}}return r}function zae(t){let r=[];return ZM(t,[],(s,a)=>{if(Gae(s))return r.push([a,s]),1;if(Jae(s)){r.push([a,s[0]]);for(let u of Reflect.ownKeys(s[1]))r.push([[...a,`-${u}`],s[1][u]]);return 1}if(Array.isArray(s)&&s.every(u=>typeof u=="string"))return a[0]==="fontSize"?(r.push([a,s[0]]),s.length>=2&&r.push([[...a,"-line-height"],s[1]])):r.push([a,s.join(", ")]),1}),r}var Hae=/^[a-zA-Z0-9-_%/\.]+$/;function uw(t){if(t[0]==="container")return null;t=structuredClone(t),t[0]==="animation"&&(t[0]="animate"),t[0]==="aspectRatio"&&(t[0]="aspect"),t[0]==="borderRadius"&&(t[0]="radius"),t[0]==="boxShadow"&&(t[0]="shadow"),t[0]==="colors"&&(t[0]="color"),t[0]==="containers"&&(t[0]="container"),t[0]==="fontFamily"&&(t[0]="font"),t[0]==="fontSize"&&(t[0]="text"),t[0]==="letterSpacing"&&(t[0]="tracking"),t[0]==="lineHeight"&&(t[0]="leading"),t[0]==="maxWidth"&&(t[0]="container"),t[0]==="screens"&&(t[0]="breakpoint"),t[0]==="transitionTimingFunction"&&(t[0]="ease");for(let r of t)if(!Hae.test(r))return null;return t.map((r,s,a)=>r==="1"&&s!==a.length-1?"":r).map(r=>r.replaceAll(".","_").replace(/([a-z])([A-Z])/g,(s,a,u)=>`${a}-${u.toLowerCase()}`)).filter((r,s)=>r!=="DEFAULT"||s!==t.length-1).join("-")}function Gae(t){return typeof t=="number"||typeof t=="string"}function Jae(t){if(!Array.isArray(t)||t.length!==2||typeof t[0]!="string"&&typeof t[0]!="number"||t[1]===void 0||t[1]===null||typeof t[1]!="object")return!1;for(let r of Reflect.ownKeys(t[1]))if(typeof r!="string"||typeof t[1][r]!="string"&&typeof t[1][r]!="number")return!1;return!0}function ZM(t,r=[],s){for(let a of Reflect.ownKeys(t)){let u=t[a];if(u==null)continue;let e=[...r,a],l=s(u,e)??0;if(l!==1&&(l===2||!(!Array.isArray(u)&&typeof u!="object")&&ZM(u,e,s)===2))return 2}}function eB(t){let r=[];for(let s of Kn(t,".")){if(!s.includes("[")){r.push(s);continue}let a=0;for(;;){let u=s.indexOf("[",a),e=s.indexOf("]",u);if(u===-1||e===-1)break;u>a&&r.push(s.slice(a,u)),r.push(s.slice(u+1,e)),a=e+1}a<=s.length-1&&r.push(s.slice(a))}return r}function zh(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;let r=Object.getPrototypeOf(t);return r===null||Object.getPrototypeOf(r)===null}function yw(t,r,s,a=[]){for(let u of r)if(u!=null)for(let e of Reflect.ownKeys(u)){a.push(e);let l=s(t[e],u[e],a);l!==void 0?t[e]=l:!zh(t[e])||!zh(u[e])?t[e]=u[e]:t[e]=yw({},[t[e],u[e]],s,a),a.pop()}return t}function tB(t,r,s){return function(a,u){let e=a.lastIndexOf("/"),l=null;e!==-1&&(l=a.slice(e+1).trim(),a=a.slice(0,e).trim());let n=(()=>{var h;let c=eB(a),[p,i]=Xae(t.theme,c),o=s(xM(r()??{},c)??null);if(typeof o=="string"&&(o=o.replace("<alpha-value>","1")),typeof p!="object")return typeof i!="object"&&i&4?o??p:p;if(o!==null&&typeof o=="object"&&!Array.isArray(o)){let d=yw({},[o],(f,b)=>b);if(p===null&&Object.hasOwn(o,"__CSS_VALUES__")){let f={};for(let b in o.__CSS_VALUES__)f[b]=o[b],delete d[b];p=f}for(let f in p)f!=="__CSS_VALUES__"&&(((h=o==null?void 0:o.__CSS_VALUES__)==null?void 0:h[f])&4&&xM(d,f.split("-"))!==void 0||(d[Cb(f)]=p[f]));return d}if(Array.isArray(p)&&Array.isArray(i)&&Array.isArray(o)){let d=p[0],f=p[1];i[0]&4&&(d=o[0]??d);for(let b of Object.keys(f))i[1][b]&4&&(f[b]=o[1][b]??f[b]);return[d,f]}return p??o})();return l&&typeof n=="string"&&(n=oa(n,l)),n??u}}function Xae(t,r){if(r.length===1&&r[0].startsWith("--"))return[t.get([r[0]]),t.getOptions(r[0])];let s=uw(r),a=new Map,u=new As(()=>new Map),e=t.namespace(`--${s}`);if(e.size===0)return[null,0];let l=new Map;for(let[i,o]of e){if(!i||!i.includes("--")){a.set(i,o),l.set(i,t.getOptions(i?`--${s}-${i}`:`--${s}`));continue}let h=i.indexOf("--"),d=i.slice(0,h),f=i.slice(h+2);f=f.replace(/-([a-z])/g,(b,m)=>m.toUpperCase()),u.get(d===""?null:d).set(f,[o,t.getOptions(`--${s}${i}`)])}let n=t.getOptions(`--${s}`);for(let[i,o]of u){let h=a.get(i);if(typeof h!="string")continue;let d={},f={};for(let[b,[m,y]]of o)d[b]=m,f[b]=y;a.set(i,[h,d]),l.set(i,[n,f])}let c={},p={};for(let[i,o]of a)TM(c,[i??"DEFAULT"],o);for(let[i,o]of l)TM(p,[i??"DEFAULT"],o);return r[r.length-1]==="DEFAULT"?[(c==null?void 0:c.DEFAULT)??null,p.DEFAULT??0]:"DEFAULT"in c&&Object.keys(c).length===1?[c.DEFAULT,p.DEFAULT??0]:(c.__CSS_VALUES__=p,[c,p])}function xM(t,r){for(let s=0;s<r.length;++s){let a=r[s];if((t==null?void 0:t[a])===void 0){if(r[s+1]===void 0)return;r[s+1]=`${a}-${r[s+1]}`;continue}t=t[a]}return t}function TM(t,r,s){for(let a of r.slice(0,-1))t[a]===void 0&&(t[a]={}),t=t[a];t[r[r.length-1]]=s}function Yae(t){return{kind:"combinator",value:t}}function Qae(t,r){return{kind:"function",value:t,nodes:r}}function Vh(t){return{kind:"selector",value:t}}function Zae(t){return{kind:"separator",value:t}}function eoe(t){return{kind:"value",value:t}}function Ob(t,r,s=null){for(let a=0;a<t.length;a++){let u=t[a],e=!1,l=0,n=r(u,{parent:s,replaceWith(c){e||(e=!0,Array.isArray(c)?c.length===0?(t.splice(a,1),l=0):c.length===1?(t[a]=c[0],l=1):(t.splice(a,1,...c),l=c.length):(t[a]=c,l=1))}})??0;if(e){n===0?a--:a+=l-1;continue}if(n===2||n!==1&&u.kind==="function"&&Ob(u.nodes,r,u)===2)return 2}}function Nb(t){let r="";for(let s of t)switch(s.kind){case"combinator":case"selector":case"separator":case"value":{r+=s.value;break}case"function":r+=s.value+"("+Nb(s.nodes)+")"}return r}var EM=92,toe=93,SM=41,roe=58,wM=44,noe=34,ioe=46,_M=62,AM=10,soe=35,PM=91,CM=40,kM=43,aoe=39,DM=32,IM=9,OM=126;function cw(t){t=t.replaceAll(`\r
|
|
`,`
|
|
`);let r=[],s=[],a=null,u="",e;for(let l=0;l<t.length;l++){let n=t.charCodeAt(l);switch(n){case wM:case _M:case AM:case DM:case kM:case IM:case OM:{if(u.length>0){let h=Vh(u);a?a.nodes.push(h):r.push(h),u=""}let c=l,p=l+1;for(;p<t.length&&(e=t.charCodeAt(p),!(e!==wM&&e!==_M&&e!==AM&&e!==DM&&e!==kM&&e!==IM&&e!==OM));p++);l=p-1;let i=t.slice(c,p),o=i.trim()===","?Zae(i):Yae(i);a?a.nodes.push(o):r.push(o);break}case CM:{let c=Qae(u,[]);if(u="",c.value!==":not"&&c.value!==":where"&&c.value!==":has"&&c.value!==":is"){let p=l+1,i=0;for(let h=l+1;h<t.length;h++){if(e=t.charCodeAt(h),e===CM){i++;continue}if(e===SM){if(i===0){l=h;break}i--}}let o=l;c.nodes.push(eoe(t.slice(p,o))),u="",l=o,a?a.nodes.push(c):r.push(c);break}a?a.nodes.push(c):r.push(c),s.push(c),a=c;break}case SM:{let c=s.pop();if(u.length>0){let p=Vh(u);c.nodes.push(p),u=""}s.length>0?a=s[s.length-1]:a=null;break}case ioe:case roe:case soe:{if(u.length>0){let c=Vh(u);a?a.nodes.push(c):r.push(c)}u=String.fromCharCode(n);break}case PM:{if(u.length>0){let i=Vh(u);a?a.nodes.push(i):r.push(i)}u="";let c=l,p=0;for(let i=l+1;i<t.length;i++){if(e=t.charCodeAt(i),e===PM){p++;continue}if(e===toe){if(p===0){l=i;break}p--}}u+=t.slice(c,l+1);break}case aoe:case noe:{let c=l;for(let p=l+1;p<t.length;p++)if(e=t.charCodeAt(p),e===EM)p+=1;else if(e===n){l=p;break}u+=t.slice(c,l+1);break}case EM:{let c=t.charCodeAt(l+1);u+=String.fromCharCode(n)+String.fromCharCode(c),l+=1;break}default:u+=String.fromCharCode(n)}}return u.length>0&&r.push(Vh(u)),r}var NM=/^[a-z@][a-zA-Z0-9/%._-]*$/;function FM({designSystem:t,ast:r,resolvedConfig:s,featuresRef:a,referenceMode:u,src:e}){let l={addBase(n){if(u)return;let c=jl(n);a.current|=mw(c,t);let p=ki("@layer","base",c);ni([p],i=>{i.src=e}),r.push(p)},addVariant(n,c){if(!GM.test(n))throw new Error(`\`addVariant('${n}')\` defines an invalid variant name. Variants should only contain alphanumeric, dashes, or underscore characters and start with a lowercase letter or number.`);if(typeof c=="string"){if(c.includes(":merge("))return}else if(Array.isArray(c)){if(c.some(i=>i.includes(":merge(")))return}else if(typeof c=="object"){let i=function(o,h){return Object.entries(o).some(([d,f])=>d.includes(h)||typeof f=="object"&&i(f,h))};var p=i;if(i(c,":merge("))return}typeof c=="string"||Array.isArray(c)?t.variants.static(n,i=>{i.nodes=jM(c,i.nodes)},{compounds:Hh(typeof c=="string"?[c]:c)}):typeof c=="object"&&t.variants.fromAst(n,jl(c),t)},matchVariant(n,c,p){function i(h,d,f){let b=c(h,{modifier:(d==null?void 0:d.value)??null});return jM(b,f)}try{let h=c("a",{modifier:null});if(typeof h=="string"&&h.includes(":merge(")||Array.isArray(h)&&h.some(d=>d.includes(":merge(")))return}catch{}let o=Object.keys((p==null?void 0:p.values)??{});t.variants.group(()=>{t.variants.functional(n,(h,d)=>{if(!d.value){if(p!=null&&p.values&&"DEFAULT"in p.values){h.nodes=i(p.values.DEFAULT,d.modifier,h.nodes);return}return null}if(d.value.kind==="arbitrary")h.nodes=i(d.value.value,d.modifier,h.nodes);else if(d.value.kind==="named"&&(p!=null&&p.values)){let f=p.values[d.value.value];if(typeof f!="string")return null;h.nodes=i(f,d.modifier,h.nodes)}else return null})},(h,d)=>{var E,S,_,A;if(h.kind!=="functional"||d.kind!=="functional")return 0;let f=h.value?h.value.value:"DEFAULT",b=d.value?d.value.value:"DEFAULT",m=((E=p==null?void 0:p.values)==null?void 0:E[f])??f,y=((S=p==null?void 0:p.values)==null?void 0:S[b])??b;if(p&&typeof p.sort=="function")return p.sort({value:m,modifier:((_=h.modifier)==null?void 0:_.value)??null},{value:y,modifier:((A=d.modifier)==null?void 0:A.value)??null});let x=o.indexOf(f),v=o.indexOf(b);return x=x===-1?o.length:x,v=v===-1?o.length:v,x!==v?x-v:m<y?-1:1}),t.variants.suggest(n,()=>Object.keys((p==null?void 0:p.values)??{}).filter(h=>h!=="DEFAULT"))},addUtilities(n){n=Array.isArray(n)?n:[n];let c=n.flatMap(i=>Object.entries(i));c=c.flatMap(([i,o])=>Kn(i,",").map(h=>[h.trim(),o]));let p=new As(()=>[]);for(let[i,o]of c){if(i.startsWith("@keyframes ")){if(!u){let f=Gs(i,jl(o));ni([f],b=>{b.src=e}),r.push(f)}continue}let h=cw(i),d=!1;if(Ob(h,f=>{if(f.kind==="selector"&&f.value[0]==="."&&NM.test(f.value.slice(1))){let b=f.value;f.value="&";let m=Nb(h),y=b.slice(1),x=m==="&"?jl(o):[Gs(m,jl(o))];p.get(y).push(...x),d=!0,f.value=b;return}if(f.kind==="function"&&f.value===":not")return 1}),!d)throw new Error(`\`addUtilities({ '${i}' : \u2026 })\` defines an invalid utility selector. Utilities must be a single class name and start with a lowercase letter, eg. \`.scrollbar-none\`.`)}for(let[i,o]of p)t.theme.prefix&&ni(o,h=>{if(h.kind==="rule"){let d=cw(h.selector);Ob(d,f=>{f.kind==="selector"&&f.value[0]==="."&&(f.value=`.${t.theme.prefix}\\:${f.value.slice(1)}`)}),h.selector=Nb(d)}}),t.utilities.static(i,h=>{let d=structuredClone(o);return LM(d,i,h.raw),a.current|=lw(d,t),d})},matchUtilities(n,c){let p=c!=null&&c.type?Array.isArray(c==null?void 0:c.type)?c.type:[c.type]:["any"];for(let[o,h]of Object.entries(n)){let d=function({negative:f}){return b=>{var S,_;if(((S=b.value)==null?void 0:S.kind)==="arbitrary"&&p.length>0&&!p.includes("any")&&(b.value.dataType&&!p.includes(b.value.dataType)||!b.value.dataType&&!ys(b.value.value,p)))return;let m=p.includes("color"),y=null,x=!1;{let A=(c==null?void 0:c.values)??{};m&&(A=Object.assign({inherit:"inherit",transparent:"transparent",current:"currentcolor"},A)),b.value?b.value.kind==="arbitrary"?y=b.value.value:b.value.fraction&&A[b.value.fraction]?(y=A[b.value.fraction],x=!0):A[b.value.value]?y=A[b.value.value]:A.__BARE_VALUE__&&(y=A.__BARE_VALUE__(b.value)??null,x=(b.value.fraction!==null&&(y==null?void 0:y.includes("/")))??!1):y=A.DEFAULT??null}if(y===null)return;let v;{let A=(c==null?void 0:c.modifiers)??null;b.modifier?A==="any"||b.modifier.kind==="arbitrary"?v=b.modifier.value:A!=null&&A[b.modifier.value]?v=A[b.modifier.value]:m&&!Number.isNaN(Number(b.modifier.value))?v=`${b.modifier.value}%`:v=null:v=null}if(b.modifier&&v===null&&!x)return((_=b.value)==null?void 0:_.kind)==="arbitrary"?null:void 0;m&&v!==null&&(y=oa(y,v)),f&&(y=`calc(${y} * -1)`);let E=jl(h(y,{modifier:v}));return LM(E,o,b.raw),a.current|=lw(E,t),E}};var i=d;if(!NM.test(o))throw new Error(`\`matchUtilities({ '${o}' : \u2026 })\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter, eg. \`scrollbar\`.`);c!=null&&c.supportsNegativeValues&&t.utilities.functional(`-${o}`,d({negative:!0}),{types:p}),t.utilities.functional(o,d({negative:!1}),{types:p}),t.utilities.suggest(o,()=>{let f=(c==null?void 0:c.values)??{},b=new Set(Object.keys(f));b.delete("__BARE_VALUE__"),b.delete("__CSS_VALUES__"),b.has("DEFAULT")&&(b.delete("DEFAULT"),b.add(null));let m=(c==null?void 0:c.modifiers)??{},y=m==="any"?[]:Object.keys(m);return[{supportsNegative:(c==null?void 0:c.supportsNegativeValues)??!1,values:Array.from(b),modifiers:y}]})}},addComponents(n,c){this.addUtilities(n,c)},matchComponents(n,c){this.matchUtilities(n,c)},theme:tB(t,()=>s.theme??{},n=>n),prefix(n){return n},config(n,c){let p=s;if(!n)return p;let i=eB(n);for(let o=0;o<i.length;++o){let h=i[o];if(p[h]===void 0)return c;p=p[h]}return p??c}};return l.addComponents=l.addComponents.bind(l),l.matchComponents=l.matchComponents.bind(l),l}function jl(t){let r=[];t=Array.isArray(t)?t:[t];let s=t.flatMap(a=>Object.entries(a));for(let[a,u]of s)if(u!=null&&u!==!1)if(typeof u!="object"){if(!a.startsWith("--")){if(u==="@slot"){r.push(Gs(a,[ki("@slot")]));continue}a=a.replace(/([A-Z])/g,"-$1").toLowerCase()}r.push(je(a,String(u)))}else if(Array.isArray(u))for(let e of u)typeof e=="string"?r.push(je(a,e)):r.push(Gs(a,jl(e)));else r.push(Gs(a,jl(u)));return r}function jM(t,r){return(typeof t=="string"?[t]:t).flatMap(s=>{if(s.trim().endsWith("}")){let a=s.replace("}","{@slot}}"),u=Fb(a);return JM(u,r),u}else return Gs(s,r)})}function LM(t,r,s){ni(t,a=>{if(a.kind==="rule"){let u=cw(a.selector);Ob(u,e=>{e.kind==="selector"&&e.value===`.${r}`&&(e.value=`.${jb(s)}`)}),a.selector=Nb(u)}})}function ooe(t,r,s){for(let a of loe(r))t.theme.addKeyframes(a)}function loe(t){let r=[];if("keyframes"in t.theme)for(let[s,a]of Object.entries(t.theme.keyframes))r.push(ki("@keyframes",s,jl(a)));return r}function uoe(t){return{theme:{...WR,colors:({theme:r})=>r("color",{}),extend:{fontSize:({theme:r})=>({...r("text",{})}),boxShadow:({theme:r})=>({...r("shadow",{})}),animation:({theme:r})=>({...r("animate",{})}),aspectRatio:({theme:r})=>({...r("aspect",{})}),borderRadius:({theme:r})=>({...r("radius",{})}),screens:({theme:r})=>({...r("breakpoint",{})}),letterSpacing:({theme:r})=>({...r("tracking",{})}),lineHeight:({theme:r})=>({...r("leading",{})}),transitionDuration:{DEFAULT:t.get(["--default-transition-duration"])??null},transitionTimingFunction:{DEFAULT:t.get(["--default-transition-timing-function"])??null},maxWidth:({theme:r})=>({...r("container",{})})}}}}var coe={blocklist:[],future:{},prefix:"",important:!1,darkMode:null,theme:{},plugins:[],content:{files:[]}};function RM(t,r){let s={design:t,configs:[],plugins:[],content:{files:[]},theme:{},extend:{},result:structuredClone(coe)};for(let u of r)pw(s,u);for(let u of s.configs)"darkMode"in u&&u.darkMode!==void 0&&(s.result.darkMode=u.darkMode??null),"prefix"in u&&u.prefix!==void 0&&(s.result.prefix=u.prefix??""),"blocklist"in u&&u.blocklist!==void 0&&(s.result.blocklist=u.blocklist??[]),"important"in u&&u.important!==void 0&&(s.result.important=u.important??!1);let a=doe(s);return{resolvedConfig:{...s.result,content:s.content,theme:s.theme,plugins:s.plugins},replacedThemeKeys:a}}function poe(t,r){if(Array.isArray(t)&&zh(t[0]))return t.concat(r);if(Array.isArray(r)&&zh(r[0])&&zh(t))return[t,...r];if(Array.isArray(r))return r}function pw(t,{config:r,base:s,path:a,reference:u,src:e}){let l=[];for(let p of r.plugins??[])"__isOptionsFunction"in p?l.push({...p(),reference:u,src:e}):"handler"in p?l.push({...p,reference:u,src:e}):l.push({handler:p,reference:u,src:e});if(Array.isArray(r.presets)&&r.presets.length===0)throw new Error("Error in the config file/plugin/preset. An empty preset (`preset: []`) is not currently supported.");for(let p of r.presets??[])pw(t,{path:a,base:s,config:p,reference:u,src:e});for(let p of l)t.plugins.push(p),p.config&&pw(t,{path:a,base:s,config:p.config,reference:!!p.reference,src:p.src??e});let n=r.content??[],c=Array.isArray(n)?n:n.files;for(let p of c)t.content.files.push(typeof p=="object"?p:{base:s,pattern:p});t.configs.push(r)}function doe(t){var e;let r=new Set,s=tB(t.design,()=>t.theme,u),a=Object.assign(s,{theme:s,colors:mb});function u(l){return typeof l=="function"?l(a)??null:l??null}for(let l of t.configs){let n=l.theme??{},c=n.extend??{};for(let p in n)p!=="extend"&&r.add(p);Object.assign(t.theme,n);for(let p in c)(e=t.extend)[p]??(e[p]=[]),t.extend[p].push(c[p])}delete t.theme.extend;for(let l in t.extend){let n=[t.theme[l],...t.extend[l]];t.theme[l]=()=>{let c=n.map(u);return yw({},c,poe)}}for(let l in t.theme)t.theme[l]=u(t.theme[l]);if(t.theme.screens&&typeof t.theme.screens=="object")for(let l of Object.keys(t.theme.screens)){let n=t.theme.screens[l];n&&typeof n=="object"&&("raw"in n||"max"in n||"min"in n&&(t.theme.screens[l]=n.min))}return r}function hoe(t,r){let s=t.theme.container||{};if(typeof s!="object"||s===null)return;let a=foe(s,r);a.length!==0&&r.utilities.static("container",()=>structuredClone(a))}function foe({center:t,padding:r,screens:s},a){let u=[],e=null;if(t&&u.push(je("margin-inline","auto")),(typeof r=="string"||typeof r=="object"&&r!==null&&"DEFAULT"in r)&&u.push(je("padding-inline",typeof r=="string"?r:r.DEFAULT)),typeof s=="object"&&s!==null){e=new Map;let l=Array.from(a.theme.namespace("--breakpoint").entries());if(l.sort((n,c)=>kb(n[1],c[1],"asc")),l.length>0){let[n]=l[0];u.push(ki("@media",`(width >= --theme(--breakpoint-${n}))`,[je("max-width","none")]))}for(let[n,c]of Object.entries(s)){if(typeof c=="object")if("min"in c)c=c.min;else continue;e.set(n,ki("@media",`(width >= ${c})`,[je("max-width",c)]))}}if(typeof r=="object"&&r!==null){let l=Object.entries(r).filter(([n])=>n!=="DEFAULT").map(([n,c])=>[n,a.theme.resolveValue(n,["--breakpoint"]),c]).filter(Boolean);l.sort((n,c)=>kb(n[1],c[1],"asc"));for(let[n,,c]of l)if(e&&e.has(n))e.get(n).nodes.push(je("padding-inline",c));else{if(e)continue;u.push(ki("@media",`(width >= theme(--breakpoint-${n}))`,[je("padding-inline",c)]))}}if(e)for(let[,l]of e)u.push(l);return u}function moe({addVariant:t,config:r}){let s=r("darkMode",null),[a,u=".dark"]=Array.isArray(s)?s:[s];if(a==="variant"){let e;if(Array.isArray(u)||typeof u=="function"?e=u:typeof u=="string"&&(e=[u]),Array.isArray(e))for(let l of e)l===".dark"?(a=!1,console.warn('When using `variant` for `darkMode`, you must provide a selector.\nExample: `darkMode: ["variant", ".your-selector &"]`')):l.includes("&")||(a=!1,console.warn('When using `variant` for `darkMode`, your selector must contain `&`.\nExample `darkMode: ["variant", ".your-selector &"]`'));u=e}a===null||(a==="selector"?t("dark",`&:where(${u}, ${u} *)`):a==="media"?t("dark","@media (prefers-color-scheme: dark)"):a==="variant"?t("dark",u):a==="class"&&t("dark",`&:is(${u} *)`))}function yoe(t){for(let[r,s]of[["t","top"],["tr","top right"],["r","right"],["br","bottom right"],["b","bottom"],["bl","bottom left"],["l","left"],["tl","top left"]])t.utilities.static(`bg-gradient-to-${r}`,()=>[je("--tw-gradient-position",`to ${s} in oklab`),je("background-image","linear-gradient(var(--tw-gradient-stops))")]);t.utilities.static("bg-left-top",()=>[je("background-position","left top")]),t.utilities.static("bg-right-top",()=>[je("background-position","right top")]),t.utilities.static("bg-left-bottom",()=>[je("background-position","left bottom")]),t.utilities.static("bg-right-bottom",()=>[je("background-position","right bottom")]),t.utilities.static("object-left-top",()=>[je("object-position","left top")]),t.utilities.static("object-right-top",()=>[je("object-position","right top")]),t.utilities.static("object-left-bottom",()=>[je("object-position","left bottom")]),t.utilities.static("object-right-bottom",()=>[je("object-position","right bottom")]),t.utilities.functional("max-w-screen",r=>{if(!r.value||r.value.kind==="arbitrary")return;let s=t.theme.resolve(r.value.value,["--breakpoint"]);if(s)return[je("max-width",s)]}),t.utilities.static("overflow-ellipsis",()=>[je("text-overflow","ellipsis")]),t.utilities.static("decoration-slice",()=>[je("-webkit-box-decoration-break","slice"),je("box-decoration-break","slice")]),t.utilities.static("decoration-clone",()=>[je("-webkit-box-decoration-break","clone"),je("box-decoration-break","clone")]),t.utilities.functional("flex-shrink",r=>{if(!r.modifier){if(!r.value)return[je("flex-shrink","1")];if(r.value.kind==="arbitrary")return[je("flex-shrink",r.value.value)];if(Nr(r.value.value))return[je("flex-shrink",r.value.value)]}}),t.utilities.functional("flex-grow",r=>{if(!r.modifier){if(!r.value)return[je("flex-grow","1")];if(r.value.kind==="arbitrary")return[je("flex-grow",r.value.value)];if(Nr(r.value.value))return[je("flex-grow",r.value.value)]}}),t.utilities.static("order-none",()=>[je("order","0")])}function boe(t,r){var l;let s=t.theme.screens||{},a=((l=r.variants.get("min"))==null?void 0:l.order)??0,u=[];for(let[n,c]of Object.entries(s)){let p=function(f){r.variants.static(n,b=>{b.nodes=[ki("@media",d,b.nodes)]},{order:f})};var e=p;let i=r.variants.get(n),o=r.theme.resolveValue(n,["--breakpoint"]);if(i&&o&&!r.theme.hasDefault(`--breakpoint-${n}`))continue;let h=!0;typeof c=="string"&&(h=!1);let d=goe(c);h?u.push(p):p(a)}if(u.length!==0){for(let[,n]of r.variants.variants)n.order>a&&(n.order+=u.length);r.variants.compareFns=new Map(Array.from(r.variants.compareFns).map(([n,c])=>(n>a&&(n+=u.length),[n,c])));for(let[n,c]of u.entries())c(a+n+1)}}function goe(t){return(Array.isArray(t)?t:[t]).map(r=>typeof r=="string"?{min:r}:r&&typeof r=="object"?r:null).map(r=>{if(r===null)return null;if("raw"in r)return r.raw;let s="";return r.max!==void 0&&(s+=`${r.max} >= `),s+="width",r.min!==void 0&&(s+=` >= ${r.min}`),`(${s})`}).filter(Boolean).join(", ")}function voe(t,r){let s=t.theme.aria||{},a=t.theme.supports||{},u=t.theme.data||{};if(Object.keys(s).length>0){let e=r.variants.get("aria"),l=e==null?void 0:e.applyFn,n=e==null?void 0:e.compounds;r.variants.functional("aria",(c,p)=>{let i=p.value;return i&&i.kind==="named"&&i.value in s?l==null?void 0:l(c,{...p,value:{kind:"arbitrary",value:s[i.value]}}):l==null?void 0:l(c,p)},{compounds:n})}if(Object.keys(a).length>0){let e=r.variants.get("supports"),l=e==null?void 0:e.applyFn,n=e==null?void 0:e.compounds;r.variants.functional("supports",(c,p)=>{let i=p.value;return i&&i.kind==="named"&&i.value in a?l==null?void 0:l(c,{...p,value:{kind:"arbitrary",value:a[i.value]}}):l==null?void 0:l(c,p)},{compounds:n})}if(Object.keys(u).length>0){let e=r.variants.get("data"),l=e==null?void 0:e.applyFn,n=e==null?void 0:e.compounds;r.variants.functional("data",(c,p)=>{let i=p.value;return i&&i.kind==="named"&&i.value in u?l==null?void 0:l(c,{...p,value:{kind:"arbitrary",value:u[i.value]}}):l==null?void 0:l(c,p)},{compounds:n})}}var xoe=/^[a-z]+$/;async function Toe({designSystem:t,base:r,ast:s,loadModule:a,sources:u}){let e=0,l=[],n=[];ni(s,(o,{parent:h,replaceWith:d,context:f})=>{if(o.kind==="at-rule"){if(o.name==="@plugin"){if(h!==null)throw new Error("`@plugin` cannot be nested.");let b=o.params.slice(1,-1);if(b.length===0)throw new Error("`@plugin` must have a path.");let m={};for(let y of o.nodes??[]){if(y.kind!=="declaration")throw new Error(`Unexpected \`@plugin\` option:
|
|
|
|
${gu([y])}
|
|
|
|
\`@plugin\` options must be a flat list of declarations.`);if(y.value===void 0)continue;let x=y.value,v=Kn(x,",").map(E=>{if(E=E.trim(),E==="null")return null;if(E==="true")return!0;if(E==="false")return!1;if(Number.isNaN(Number(E))){if(E[0]==='"'&&E[E.length-1]==='"'||E[0]==="'"&&E[E.length-1]==="'")return E.slice(1,-1);if(E[0]==="{"&&E[E.length-1]==="}")throw new Error(`Unexpected \`@plugin\` option: Value of declaration \`${gu([y]).trim()}\` is not supported.
|
|
|
|
Using an object as a plugin option is currently only supported in JavaScript configuration files.`)}else return Number(E);return E});m[y.property]=v.length===1?v[0]:v}l.push([{id:b,base:f.base,reference:!!f.reference,src:o.src},Object.keys(m).length>0?m:null]),d([]),e|=4;return}if(o.name==="@config"){if(o.nodes.length>0)throw new Error("`@config` cannot have a body.");if(h!==null)throw new Error("`@config` cannot be nested.");n.push({id:o.params.slice(1,-1),base:f.base,reference:!!f.reference,src:o.src}),d([]),e|=4;return}}}),yoe(t);let c=t.resolveThemeValue;if(t.resolveThemeValue=function(o,h){return o.startsWith("--")?c(o,h):(e|=MM({designSystem:t,base:r,ast:s,sources:u,configs:[],pluginDetails:[]}),t.resolveThemeValue(o,h))},!l.length&&!n.length)return 0;let[p,i]=await Promise.all([Promise.all(n.map(async({id:o,base:h,reference:d,src:f})=>{let b=await a(o,h,"config");return{path:o,base:b.base,config:b.module,reference:d,src:f}})),Promise.all(l.map(async([{id:o,base:h,reference:d,src:f},b])=>{let m=await a(o,h,"plugin");return{path:o,base:m.base,plugin:m.module,options:b,reference:d,src:f}}))]);return e|=MM({designSystem:t,base:r,ast:s,sources:u,configs:p,pluginDetails:i}),e}function MM({designSystem:t,base:r,ast:s,sources:a,configs:u,pluginDetails:e}){let l=0,n=[...e.map(f=>{if(!f.options)return{config:{plugins:[f.plugin]},base:f.base,reference:f.reference,src:f.src};if("__isOptionsFunction"in f.plugin)return{config:{plugins:[f.plugin(f.options)]},base:f.base,reference:f.reference,src:f.src};throw new Error(`The plugin "${f.path}" does not accept options`)}),...u],{resolvedConfig:c}=RM(t,[{config:uoe(t.theme),base:r,reference:!0,src:void 0},...n,{config:{plugins:[moe]},base:r,reference:!0,src:void 0}]),{resolvedConfig:p,replacedThemeKeys:i}=RM(t,n),o={designSystem:t,ast:s,resolvedConfig:c,featuresRef:{set current(f){l|=f}}},h=FM({...o,referenceMode:!1,src:void 0}),d=t.resolveThemeValue;t.resolveThemeValue=function(f,b){if(f[0]==="-"&&f[1]==="-")return d(f,b);let m=h.theme(f,void 0);if(Array.isArray(m)&&m.length===2)return m[0];if(Array.isArray(m))return m.join(", ");if(typeof m=="string")return m};for(let{handler:f,reference:b,src:m}of c.plugins){let y=FM({...o,referenceMode:b??!1,src:m});f(y)}if(Kae(t,p,i),ooe(t,p,i),voe(p,t),boe(p,t),hoe(p,t),!t.theme.prefix&&c.prefix){if(c.prefix.endsWith("-")&&(c.prefix=c.prefix.slice(0,-1),console.warn(`The prefix "${c.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only and is written as a variant before all utilities. We have fixed up the prefix for you. Remove the trailing \`-\` to silence this warning.`)),!xoe.test(c.prefix))throw new Error(`The prefix "${c.prefix}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`);t.theme.prefix=c.prefix}if(!t.important&&c.important===!0&&(t.important=!0),typeof c.important=="string"){let f=c.important;ni(s,(b,{replaceWith:m,parent:y})=>{if(b.kind==="at-rule"&&!(b.name!=="@tailwind"||b.params!=="utilities"))return(y==null?void 0:y.kind)==="rule"&&y.selector===f||m(Ui(f,[b])),2})}for(let f of c.blocklist)t.invalidCandidates.add(f);for(let f of c.content.files){if("raw"in f)throw new Error(`Error in the config file/plugin/preset. The \`content\` key contains a \`raw\` entry:
|
|
|
|
${JSON.stringify(f,null,2)}
|
|
|
|
This feature is not currently supported.`);let b=!1;f.pattern[0]=="!"&&(b=!0,f.pattern=f.pattern.slice(1)),a.push({...f,negated:b})}return l}function Eoe(t){let r=[0];for(let u=0;u<t.length;u++)t.charCodeAt(u)===10&&r.push(u+1);function s(u){let e=0,l=r.length;for(;l>0;){let c=(l|0)>>1,p=e+c;r[p]<=u?(e=p+1,l=l-c-1):l=c}e-=1;let n=u-r[e];return{line:e+1,column:n}}function a({line:u,column:e}){u-=1,u=Math.min(Math.max(u,0),r.length-1);let l=r[u],n=r[u+1]??l;return Math.min(Math.max(l+e,0),n)}return{find:s,findOffset:a}}function Soe({ast:t}){let r=new As(u=>Eoe(u.code)),s=new As(u=>({url:u.file,content:u.code,ignore:!1})),a={file:null,sources:[],mappings:[]};ni(t,u=>{if(!u.src||!u.dst)return;let e=s.get(u.src[0]);if(!e.content)return;let l=r.get(u.src[0]),n=r.get(u.dst[0]),c=e.content.slice(u.src[1],u.src[2]),p=0;for(let h of c.split(`
|
|
`)){if(h.trim()!==""){let d=l.find(u.src[1]+p),f=n.find(u.dst[1]);a.mappings.push({name:null,originalPosition:{source:e,...d},generatedPosition:f})}p+=h.length,p+=1}let i=l.find(u.src[2]),o=n.find(u.dst[2]);a.mappings.push({name:null,originalPosition:{source:e,...i},generatedPosition:o})});for(let u of r.keys())a.sources.push(s.get(u));return a.mappings.sort((u,e)=>{var l,n,c,p;return u.generatedPosition.line-e.generatedPosition.line||u.generatedPosition.column-e.generatedPosition.column||(((l=u.originalPosition)==null?void 0:l.line)??0)-(((n=e.originalPosition)==null?void 0:n.line)??0)||(((c=u.originalPosition)==null?void 0:c.column)??0)-(((p=e.originalPosition)==null?void 0:p.column)??0)}),a}var rB=/^(-?\d+)\.\.(-?\d+)(?:\.\.(-?\d+))?$/;function dw(t){let r=t.indexOf("{");if(r===-1)return[t];let s=[],a=t.slice(0,r),u=t.slice(r),e=0,l=u.lastIndexOf("}");for(let o=0;o<u.length;o++){let h=u[o];if(h==="{")e++;else if(h==="}"&&(e--,e===0)){l=o;break}}if(l===-1)throw new Error(`The pattern \`${t}\` is not balanced.`);let n=u.slice(1,l),c=u.slice(l+1),p;woe(n)?p=_oe(n):p=Kn(n,","),p=p.flatMap(o=>dw(o));let i=dw(c);for(let o of i)for(let h of p)s.push(a+h+o);return s}function woe(t){return rB.test(t)}function _oe(t){let r=t.match(rB);if(!r)return[t];let[,s,a,u]=r,e=u?parseInt(u,10):void 0,l=[];if(/^-?\d+$/.test(s)&&/^-?\d+$/.test(a)){let n=parseInt(s,10),c=parseInt(a,10);if(e===void 0&&(e=n<=c?1:-1),e===0)throw new Error("Step cannot be zero in sequence expansion.");let p=n<c;p&&e<0&&(e=-e),!p&&e>0&&(e=-e);for(let i=n;p?i<=c:i>=c;i+=e)l.push(i.toString())}return l}function Aoe(t,r){let s=new Set,a=new Set,u=[];function e(l,n=[]){var c;if(t.has(l)&&!s.has(l)){a.has(l)&&((c=r.onCircularDependency)==null||c.call(r,n,l)),a.add(l);for(let p of t.get(l)??[])n.push(l),e(p,n),n.pop();s.add(l),a.delete(l),u.push(l)}}for(let l of t.keys())e(l);return u}var Poe=/^[a-z]+$/,bw=(t=>(t[t.None=0]="None",t[t.AtProperty=1]="AtProperty",t[t.ColorMix=2]="ColorMix",t[t.All=3]="All",t))(bw||{});function Coe(){throw new Error("No `loadModule` function provided to `compile`")}function koe(){throw new Error("No `loadStylesheet` function provided to `compile`")}function Doe(t){let r=0,s=null;for(let a of Kn(t," "))a==="reference"?r|=2:a==="inline"?r|=1:a==="default"?r|=4:a==="static"?r|=8:a.startsWith("prefix(")&&a.endsWith(")")&&(s=a.slice(7,-1));return[r,s]}var gw=(t=>(t[t.None=0]="None",t[t.AtApply=1]="AtApply",t[t.AtImport=2]="AtImport",t[t.JsPluginCompat=4]="JsPluginCompat",t[t.ThemeFunction=8]="ThemeFunction",t[t.Utilities=16]="Utilities",t[t.Variants=32]="Variants",t[t.AtTheme=64]="AtTheme",t))(gw||{});async function nB(t,{base:r="",from:s,loadModule:a=Coe,loadStylesheet:u=koe}={}){var v;let e=0;t=[Zu({base:r},t)],e|=await QM(t,r,u,0,s!==void 0);let l=null,n=new tae,c=new Map,p=new Map,i=[],o=null,h=null,d=[],f=[],b=[],m=[],y=null;ni(t,(E,{parent:S,replaceWith:_,context:A})=>{if(E.kind==="at-rule"){if(E.name==="@tailwind"&&(E.params==="utilities"||E.params.startsWith("utilities"))){if(h!==null){_([]);return}if(A.reference){_([]);return}let L=Kn(E.params," ");for(let j of L)if(j.startsWith("source(")){let F=j.slice(7,-1);if(F==="none"){y=F;continue}if(F[0]==='"'&&F[F.length-1]!=='"'||F[0]==="'"&&F[F.length-1]!=="'"||F[0]!=="'"&&F[0]!=='"')throw new Error("`source(\u2026)` paths must be quoted.");y={base:A.sourceBase??A.base,pattern:F.slice(1,-1)}}h=E,e|=16}if(E.name==="@utility"){if(S!==null)throw new Error("`@utility` cannot be nested.");if(E.nodes.length===0)throw new Error(`\`@utility ${E.params}\` is empty. Utilities should include at least one property.`);let L=_ae(E);if(L===null){if(!E.params.endsWith("-*")){if(E.params.endsWith("*"))throw new Error(`\`@utility ${E.params}\` defines an invalid utility name. A functional utility must end in \`-*\`.`);if(E.params.includes("*"))throw new Error(`\`@utility ${E.params}\` defines an invalid utility name. The dynamic portion marked by \`-*\` must appear once at the end.`)}throw new Error(`\`@utility ${E.params}\` defines an invalid utility name. Utilities should be alphanumeric and start with a lowercase letter.`)}i.push(L)}if(E.name==="@source"){if(E.nodes.length>0)throw new Error("`@source` cannot have a body.");if(S!==null)throw new Error("`@source` cannot be nested.");let L=!1,j=!1,F=E.params;if(F[0]==="n"&&F.startsWith("not ")&&(L=!0,F=F.slice(4)),F[0]==="i"&&F.startsWith("inline(")&&(j=!0,F=F.slice(7,-1)),F[0]==='"'&&F[F.length-1]!=='"'||F[0]==="'"&&F[F.length-1]!=="'"||F[0]!=="'"&&F[0]!=='"')throw new Error("`@source` paths must be quoted.");let k=F.slice(1,-1);if(j){let U=L?m:b,z=Kn(k," ");for(let C of z)for(let R of dw(C))U.push(R)}else f.push({base:A.base,pattern:k,negated:L});_([]);return}if(E.name==="@variant"&&(S===null?E.nodes.length===0?E.name="@custom-variant":(ni(E.nodes,L=>{if(L.kind==="at-rule"&&L.name==="@slot")return E.name="@custom-variant",2}),E.name==="@variant"&&d.push(E)):d.push(E)),E.name==="@custom-variant"){if(S!==null)throw new Error("`@custom-variant` cannot be nested.");_([]);let[L,j]=Kn(E.params," ");if(!GM.test(L))throw new Error(`\`@custom-variant ${L}\` defines an invalid variant name. Variants should only contain alphanumeric, dashes, or underscore characters and start with a lowercase letter or number.`);if(E.nodes.length>0&&j)throw new Error(`\`@custom-variant ${L}\` cannot have both a selector and a body.`);if(E.nodes.length===0){if(!j)throw new Error(`\`@custom-variant ${L}\` has no selector or body.`);let F=Kn(j.slice(1,-1),",");if(F.length===0||F.some(z=>z.trim()===""))throw new Error(`\`@custom-variant ${L} (${F.join(",")})\` selector is invalid.`);let k=[],U=[];for(let z of F)z=z.trim(),z[0]==="@"?k.push(z):U.push(z);c.set(L,z=>{z.variants.static(L,C=>{let R=[];U.length>0&&R.push(Ui(U.join(", "),C.nodes));for(let G of k)R.push(Gs(G,C.nodes));C.nodes=R},{compounds:Hh([...U,...k])})}),p.set(L,new Set);return}else{let F=new Set;ni(E.nodes,k=>{k.kind==="at-rule"&&k.name==="@variant"&&F.add(k.params)}),c.set(L,k=>{k.variants.fromAst(L,E.nodes,k)}),p.set(L,F);return}}if(E.name==="@media"){let L=Kn(E.params," "),j=[];for(let F of L)if(F.startsWith("source(")){let k=F.slice(7,-1);ni(E.nodes,(U,{replaceWith:z})=>{if(U.kind==="at-rule"&&U.name==="@tailwind"&&U.params==="utilities")return U.params+=` source(${k})`,z([Zu({sourceBase:A.base},[U])]),2})}else if(F.startsWith("theme(")){let k=F.slice(6,-1),U=k.includes("reference");ni(E.nodes,z=>{if(z.kind!=="at-rule"){if(U)throw new Error('Files imported with `@import "\u2026" theme(reference)` must only contain `@theme` blocks.\nUse `@reference "\u2026";` instead.');return 0}if(z.name==="@theme")return z.params+=" "+k,1})}else if(F.startsWith("prefix(")){let k=F.slice(7,-1);ni(E.nodes,U=>{if(U.kind==="at-rule"&&U.name==="@theme")return U.params+=` prefix(${k})`,1})}else F==="important"?l=!0:F==="reference"?E.nodes=[Zu({reference:!0},E.nodes)]:j.push(F);j.length>0?E.params=j.join(" "):L.length>0&&_(E.nodes)}if(E.name==="@theme"){let[L,j]=Doe(E.params);if(e|=64,A.reference&&(L|=2),j){if(!Poe.test(j))throw new Error(`The prefix "${j}" is invalid. Prefixes must be lowercase ASCII letters (a-z) only.`);n.prefix=j}return ni(E.nodes,F=>{if(F.kind==="at-rule"&&F.name==="@keyframes")return n.addKeyframes(F),1;if(F.kind==="comment")return;if(F.kind==="declaration"&&F.property.startsWith("--")){n.add(Cb(F.property),F.value??"",L,F.src);return}let k=gu([ki(E.name,E.params,[F])]).split(`
|
|
`).map((U,z,C)=>`${z===0||z>=C.length-2?" ":">"} ${U}`).join(`
|
|
`);throw new Error(`\`@theme\` blocks must only contain custom properties or \`@keyframes\`.
|
|
|
|
${k}`)}),o?_([]):(o=Ui(":root, :host",[]),o.src=E.src,_([o])),1}}});let x=Bae(n);if(l&&(x.important=l),m.length>0)for(let E of m)x.invalidCandidates.add(E);e|=await Toe({designSystem:x,base:r,ast:t,loadModule:a,sources:f});for(let E of c.keys())x.variants.static(E,()=>{});for(let E of Aoe(p,{onCircularDependency(S,_){let A=gu(S.map((L,j)=>ki("@custom-variant",L,[ki("@variant",S[j+1]??_,[])]))).replaceAll(";"," { \u2026 }").replace(`@custom-variant ${_} {`,`@custom-variant ${_} { /* \u2190 */`);throw new Error(`Circular dependency detected in custom variants:
|
|
|
|
${A}`)}}))(v=c.get(E))==null||v(x);for(let E of i)E(x);if(o){let E=[];for(let[_,A]of x.theme.entries()){if(A.options&2)continue;let L=je(jb(_),A.value);L.src=A.src,E.push(L)}let S=x.theme.getKeyframes();for(let _ of S)t.push(Zu({theme:!0},[Hn([_])]));o.nodes=[Zu({theme:!0},E)]}if(e|=XM(t,x),e|=mw(t,x),e|=lw(t,x),h){let E=h;E.kind="context",E.context={}}return ni(t,(E,{replaceWith:S})=>{if(E.kind==="at-rule")return E.name==="@utility"&&S([]),1}),{designSystem:x,ast:t,sources:f,root:y,utilitiesNode:h,features:e,inlineCandidates:b}}async function vw(t,r={}){let{designSystem:s,ast:a,sources:u,root:e,utilitiesNode:l,features:n,inlineCandidates:c}=await nB(t,r);a.unshift($M(`! tailwindcss v${Xse} | MIT License | https://tailwindcss.com `));function p(f){s.invalidCandidates.add(f)}let i=new Set,o=null,h=0,d=!1;for(let f of c)s.invalidCandidates.has(f)||(i.add(f),d=!0);return{sources:u,root:e,features:n,build(f){if(n===0)return t;if(!l)return o??(o=Kh(a,s,r.polyfills)),o;let b=d,m=!1;d=!1;let y=i.size;for(let v of f)if(!s.invalidCandidates.has(v))if(v[0]==="-"&&v[1]==="-"){let E=s.theme.markUsedVariable(v);b||(b=E),m||(m=E)}else i.add(v),b||(b=i.size!==y);if(!b)return o??(o=Kh(a,s,r.polyfills)),o;let x=Lb(i,s,{onInvalidCandidate:p}).astNodes;return r.from&&ni(x,v=>{v.src??(v.src=l.src)}),!m&&h===x.length?(o??(o=Kh(a,s,r.polyfills)),o):(h=x.length,l.nodes=x,o=Kh(a,s,r.polyfills),o)}}}async function iB(t,r={}){let s=Fb(t,{from:r.from}),a=await vw(s,r),u=s,e=t;return{...a,build(l){let n=a.build(l);return n===u||(e=gu(n,!!r.from),u=n),e},buildSourceMap(){return Soe({ast:u})}}}async function sB(t,r={}){return(await nB(Fb(t),r)).designSystem}function aB(){throw new Error("It looks like you're trying to use `tailwindcss` directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using Tailwind CSS with PostCSS you'll need to install `@tailwindcss/postcss` and update your PostCSS configuration.")}var Mb=`@layer theme, base, components, utilities;
|
|
|
|
@layer theme {
|
|
@theme default {
|
|
--font-sans:
|
|
ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
|
|
"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
|
|
--font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
|
|
--font-mono:
|
|
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
|
|
"Courier New", monospace;
|
|
|
|
--color-red-50: oklch(97.1% 0.013 17.38);
|
|
--color-red-100: oklch(93.6% 0.032 17.717);
|
|
--color-red-200: oklch(88.5% 0.062 18.334);
|
|
--color-red-300: oklch(80.8% 0.114 19.571);
|
|
--color-red-400: oklch(70.4% 0.191 22.216);
|
|
--color-red-500: oklch(63.7% 0.237 25.331);
|
|
--color-red-600: oklch(57.7% 0.245 27.325);
|
|
--color-red-700: oklch(50.5% 0.213 27.518);
|
|
--color-red-800: oklch(44.4% 0.177 26.899);
|
|
--color-red-900: oklch(39.6% 0.141 25.723);
|
|
--color-red-950: oklch(25.8% 0.092 26.042);
|
|
|
|
--color-orange-50: oklch(98% 0.016 73.684);
|
|
--color-orange-100: oklch(95.4% 0.038 75.164);
|
|
--color-orange-200: oklch(90.1% 0.076 70.697);
|
|
--color-orange-300: oklch(83.7% 0.128 66.29);
|
|
--color-orange-400: oklch(75% 0.183 55.934);
|
|
--color-orange-500: oklch(70.5% 0.213 47.604);
|
|
--color-orange-600: oklch(64.6% 0.222 41.116);
|
|
--color-orange-700: oklch(55.3% 0.195 38.402);
|
|
--color-orange-800: oklch(47% 0.157 37.304);
|
|
--color-orange-900: oklch(40.8% 0.123 38.172);
|
|
--color-orange-950: oklch(26.6% 0.079 36.259);
|
|
|
|
--color-amber-50: oklch(98.7% 0.022 95.277);
|
|
--color-amber-100: oklch(96.2% 0.059 95.617);
|
|
--color-amber-200: oklch(92.4% 0.12 95.746);
|
|
--color-amber-300: oklch(87.9% 0.169 91.605);
|
|
--color-amber-400: oklch(82.8% 0.189 84.429);
|
|
--color-amber-500: oklch(76.9% 0.188 70.08);
|
|
--color-amber-600: oklch(66.6% 0.179 58.318);
|
|
--color-amber-700: oklch(55.5% 0.163 48.998);
|
|
--color-amber-800: oklch(47.3% 0.137 46.201);
|
|
--color-amber-900: oklch(41.4% 0.112 45.904);
|
|
--color-amber-950: oklch(27.9% 0.077 45.635);
|
|
|
|
--color-yellow-50: oklch(98.7% 0.026 102.212);
|
|
--color-yellow-100: oklch(97.3% 0.071 103.193);
|
|
--color-yellow-200: oklch(94.5% 0.129 101.54);
|
|
--color-yellow-300: oklch(90.5% 0.182 98.111);
|
|
--color-yellow-400: oklch(85.2% 0.199 91.936);
|
|
--color-yellow-500: oklch(79.5% 0.184 86.047);
|
|
--color-yellow-600: oklch(68.1% 0.162 75.834);
|
|
--color-yellow-700: oklch(55.4% 0.135 66.442);
|
|
--color-yellow-800: oklch(47.6% 0.114 61.907);
|
|
--color-yellow-900: oklch(42.1% 0.095 57.708);
|
|
--color-yellow-950: oklch(28.6% 0.066 53.813);
|
|
|
|
--color-lime-50: oklch(98.6% 0.031 120.757);
|
|
--color-lime-100: oklch(96.7% 0.067 122.328);
|
|
--color-lime-200: oklch(93.8% 0.127 124.321);
|
|
--color-lime-300: oklch(89.7% 0.196 126.665);
|
|
--color-lime-400: oklch(84.1% 0.238 128.85);
|
|
--color-lime-500: oklch(76.8% 0.233 130.85);
|
|
--color-lime-600: oklch(64.8% 0.2 131.684);
|
|
--color-lime-700: oklch(53.2% 0.157 131.589);
|
|
--color-lime-800: oklch(45.3% 0.124 130.933);
|
|
--color-lime-900: oklch(40.5% 0.101 131.063);
|
|
--color-lime-950: oklch(27.4% 0.072 132.109);
|
|
|
|
--color-green-50: oklch(98.2% 0.018 155.826);
|
|
--color-green-100: oklch(96.2% 0.044 156.743);
|
|
--color-green-200: oklch(92.5% 0.084 155.995);
|
|
--color-green-300: oklch(87.1% 0.15 154.449);
|
|
--color-green-400: oklch(79.2% 0.209 151.711);
|
|
--color-green-500: oklch(72.3% 0.219 149.579);
|
|
--color-green-600: oklch(62.7% 0.194 149.214);
|
|
--color-green-700: oklch(52.7% 0.154 150.069);
|
|
--color-green-800: oklch(44.8% 0.119 151.328);
|
|
--color-green-900: oklch(39.3% 0.095 152.535);
|
|
--color-green-950: oklch(26.6% 0.065 152.934);
|
|
|
|
--color-emerald-50: oklch(97.9% 0.021 166.113);
|
|
--color-emerald-100: oklch(95% 0.052 163.051);
|
|
--color-emerald-200: oklch(90.5% 0.093 164.15);
|
|
--color-emerald-300: oklch(84.5% 0.143 164.978);
|
|
--color-emerald-400: oklch(76.5% 0.177 163.223);
|
|
--color-emerald-500: oklch(69.6% 0.17 162.48);
|
|
--color-emerald-600: oklch(59.6% 0.145 163.225);
|
|
--color-emerald-700: oklch(50.8% 0.118 165.612);
|
|
--color-emerald-800: oklch(43.2% 0.095 166.913);
|
|
--color-emerald-900: oklch(37.8% 0.077 168.94);
|
|
--color-emerald-950: oklch(26.2% 0.051 172.552);
|
|
|
|
--color-teal-50: oklch(98.4% 0.014 180.72);
|
|
--color-teal-100: oklch(95.3% 0.051 180.801);
|
|
--color-teal-200: oklch(91% 0.096 180.426);
|
|
--color-teal-300: oklch(85.5% 0.138 181.071);
|
|
--color-teal-400: oklch(77.7% 0.152 181.912);
|
|
--color-teal-500: oklch(70.4% 0.14 182.503);
|
|
--color-teal-600: oklch(60% 0.118 184.704);
|
|
--color-teal-700: oklch(51.1% 0.096 186.391);
|
|
--color-teal-800: oklch(43.7% 0.078 188.216);
|
|
--color-teal-900: oklch(38.6% 0.063 188.416);
|
|
--color-teal-950: oklch(27.7% 0.046 192.524);
|
|
|
|
--color-cyan-50: oklch(98.4% 0.019 200.873);
|
|
--color-cyan-100: oklch(95.6% 0.045 203.388);
|
|
--color-cyan-200: oklch(91.7% 0.08 205.041);
|
|
--color-cyan-300: oklch(86.5% 0.127 207.078);
|
|
--color-cyan-400: oklch(78.9% 0.154 211.53);
|
|
--color-cyan-500: oklch(71.5% 0.143 215.221);
|
|
--color-cyan-600: oklch(60.9% 0.126 221.723);
|
|
--color-cyan-700: oklch(52% 0.105 223.128);
|
|
--color-cyan-800: oklch(45% 0.085 224.283);
|
|
--color-cyan-900: oklch(39.8% 0.07 227.392);
|
|
--color-cyan-950: oklch(30.2% 0.056 229.695);
|
|
|
|
--color-sky-50: oklch(97.7% 0.013 236.62);
|
|
--color-sky-100: oklch(95.1% 0.026 236.824);
|
|
--color-sky-200: oklch(90.1% 0.058 230.902);
|
|
--color-sky-300: oklch(82.8% 0.111 230.318);
|
|
--color-sky-400: oklch(74.6% 0.16 232.661);
|
|
--color-sky-500: oklch(68.5% 0.169 237.323);
|
|
--color-sky-600: oklch(58.8% 0.158 241.966);
|
|
--color-sky-700: oklch(50% 0.134 242.749);
|
|
--color-sky-800: oklch(44.3% 0.11 240.79);
|
|
--color-sky-900: oklch(39.1% 0.09 240.876);
|
|
--color-sky-950: oklch(29.3% 0.066 243.157);
|
|
|
|
--color-blue-50: oklch(97% 0.014 254.604);
|
|
--color-blue-100: oklch(93.2% 0.032 255.585);
|
|
--color-blue-200: oklch(88.2% 0.059 254.128);
|
|
--color-blue-300: oklch(80.9% 0.105 251.813);
|
|
--color-blue-400: oklch(70.7% 0.165 254.624);
|
|
--color-blue-500: oklch(62.3% 0.214 259.815);
|
|
--color-blue-600: oklch(54.6% 0.245 262.881);
|
|
--color-blue-700: oklch(48.8% 0.243 264.376);
|
|
--color-blue-800: oklch(42.4% 0.199 265.638);
|
|
--color-blue-900: oklch(37.9% 0.146 265.522);
|
|
--color-blue-950: oklch(28.2% 0.091 267.935);
|
|
|
|
--color-indigo-50: oklch(96.2% 0.018 272.314);
|
|
--color-indigo-100: oklch(93% 0.034 272.788);
|
|
--color-indigo-200: oklch(87% 0.065 274.039);
|
|
--color-indigo-300: oklch(78.5% 0.115 274.713);
|
|
--color-indigo-400: oklch(67.3% 0.182 276.935);
|
|
--color-indigo-500: oklch(58.5% 0.233 277.117);
|
|
--color-indigo-600: oklch(51.1% 0.262 276.966);
|
|
--color-indigo-700: oklch(45.7% 0.24 277.023);
|
|
--color-indigo-800: oklch(39.8% 0.195 277.366);
|
|
--color-indigo-900: oklch(35.9% 0.144 278.697);
|
|
--color-indigo-950: oklch(25.7% 0.09 281.288);
|
|
|
|
--color-violet-50: oklch(96.9% 0.016 293.756);
|
|
--color-violet-100: oklch(94.3% 0.029 294.588);
|
|
--color-violet-200: oklch(89.4% 0.057 293.283);
|
|
--color-violet-300: oklch(81.1% 0.111 293.571);
|
|
--color-violet-400: oklch(70.2% 0.183 293.541);
|
|
--color-violet-500: oklch(60.6% 0.25 292.717);
|
|
--color-violet-600: oklch(54.1% 0.281 293.009);
|
|
--color-violet-700: oklch(49.1% 0.27 292.581);
|
|
--color-violet-800: oklch(43.2% 0.232 292.759);
|
|
--color-violet-900: oklch(38% 0.189 293.745);
|
|
--color-violet-950: oklch(28.3% 0.141 291.089);
|
|
|
|
--color-purple-50: oklch(97.7% 0.014 308.299);
|
|
--color-purple-100: oklch(94.6% 0.033 307.174);
|
|
--color-purple-200: oklch(90.2% 0.063 306.703);
|
|
--color-purple-300: oklch(82.7% 0.119 306.383);
|
|
--color-purple-400: oklch(71.4% 0.203 305.504);
|
|
--color-purple-500: oklch(62.7% 0.265 303.9);
|
|
--color-purple-600: oklch(55.8% 0.288 302.321);
|
|
--color-purple-700: oklch(49.6% 0.265 301.924);
|
|
--color-purple-800: oklch(43.8% 0.218 303.724);
|
|
--color-purple-900: oklch(38.1% 0.176 304.987);
|
|
--color-purple-950: oklch(29.1% 0.149 302.717);
|
|
|
|
--color-fuchsia-50: oklch(97.7% 0.017 320.058);
|
|
--color-fuchsia-100: oklch(95.2% 0.037 318.852);
|
|
--color-fuchsia-200: oklch(90.3% 0.076 319.62);
|
|
--color-fuchsia-300: oklch(83.3% 0.145 321.434);
|
|
--color-fuchsia-400: oklch(74% 0.238 322.16);
|
|
--color-fuchsia-500: oklch(66.7% 0.295 322.15);
|
|
--color-fuchsia-600: oklch(59.1% 0.293 322.896);
|
|
--color-fuchsia-700: oklch(51.8% 0.253 323.949);
|
|
--color-fuchsia-800: oklch(45.2% 0.211 324.591);
|
|
--color-fuchsia-900: oklch(40.1% 0.17 325.612);
|
|
--color-fuchsia-950: oklch(29.3% 0.136 325.661);
|
|
|
|
--color-pink-50: oklch(97.1% 0.014 343.198);
|
|
--color-pink-100: oklch(94.8% 0.028 342.258);
|
|
--color-pink-200: oklch(89.9% 0.061 343.231);
|
|
--color-pink-300: oklch(82.3% 0.12 346.018);
|
|
--color-pink-400: oklch(71.8% 0.202 349.761);
|
|
--color-pink-500: oklch(65.6% 0.241 354.308);
|
|
--color-pink-600: oklch(59.2% 0.249 0.584);
|
|
--color-pink-700: oklch(52.5% 0.223 3.958);
|
|
--color-pink-800: oklch(45.9% 0.187 3.815);
|
|
--color-pink-900: oklch(40.8% 0.153 2.432);
|
|
--color-pink-950: oklch(28.4% 0.109 3.907);
|
|
|
|
--color-rose-50: oklch(96.9% 0.015 12.422);
|
|
--color-rose-100: oklch(94.1% 0.03 12.58);
|
|
--color-rose-200: oklch(89.2% 0.058 10.001);
|
|
--color-rose-300: oklch(81% 0.117 11.638);
|
|
--color-rose-400: oklch(71.2% 0.194 13.428);
|
|
--color-rose-500: oklch(64.5% 0.246 16.439);
|
|
--color-rose-600: oklch(58.6% 0.253 17.585);
|
|
--color-rose-700: oklch(51.4% 0.222 16.935);
|
|
--color-rose-800: oklch(45.5% 0.188 13.697);
|
|
--color-rose-900: oklch(41% 0.159 10.272);
|
|
--color-rose-950: oklch(27.1% 0.105 12.094);
|
|
|
|
--color-slate-50: oklch(98.4% 0.003 247.858);
|
|
--color-slate-100: oklch(96.8% 0.007 247.896);
|
|
--color-slate-200: oklch(92.9% 0.013 255.508);
|
|
--color-slate-300: oklch(86.9% 0.022 252.894);
|
|
--color-slate-400: oklch(70.4% 0.04 256.788);
|
|
--color-slate-500: oklch(55.4% 0.046 257.417);
|
|
--color-slate-600: oklch(44.6% 0.043 257.281);
|
|
--color-slate-700: oklch(37.2% 0.044 257.287);
|
|
--color-slate-800: oklch(27.9% 0.041 260.031);
|
|
--color-slate-900: oklch(20.8% 0.042 265.755);
|
|
--color-slate-950: oklch(12.9% 0.042 264.695);
|
|
|
|
--color-gray-50: oklch(98.5% 0.002 247.839);
|
|
--color-gray-100: oklch(96.7% 0.003 264.542);
|
|
--color-gray-200: oklch(92.8% 0.006 264.531);
|
|
--color-gray-300: oklch(87.2% 0.01 258.338);
|
|
--color-gray-400: oklch(70.7% 0.022 261.325);
|
|
--color-gray-500: oklch(55.1% 0.027 264.364);
|
|
--color-gray-600: oklch(44.6% 0.03 256.802);
|
|
--color-gray-700: oklch(37.3% 0.034 259.733);
|
|
--color-gray-800: oklch(27.8% 0.033 256.848);
|
|
--color-gray-900: oklch(21% 0.034 264.665);
|
|
--color-gray-950: oklch(13% 0.028 261.692);
|
|
|
|
--color-zinc-50: oklch(98.5% 0 0);
|
|
--color-zinc-100: oklch(96.7% 0.001 286.375);
|
|
--color-zinc-200: oklch(92% 0.004 286.32);
|
|
--color-zinc-300: oklch(87.1% 0.006 286.286);
|
|
--color-zinc-400: oklch(70.5% 0.015 286.067);
|
|
--color-zinc-500: oklch(55.2% 0.016 285.938);
|
|
--color-zinc-600: oklch(44.2% 0.017 285.786);
|
|
--color-zinc-700: oklch(37% 0.013 285.805);
|
|
--color-zinc-800: oklch(27.4% 0.006 286.033);
|
|
--color-zinc-900: oklch(21% 0.006 285.885);
|
|
--color-zinc-950: oklch(14.1% 0.005 285.823);
|
|
|
|
--color-neutral-50: oklch(98.5% 0 0);
|
|
--color-neutral-100: oklch(97% 0 0);
|
|
--color-neutral-200: oklch(92.2% 0 0);
|
|
--color-neutral-300: oklch(87% 0 0);
|
|
--color-neutral-400: oklch(70.8% 0 0);
|
|
--color-neutral-500: oklch(55.6% 0 0);
|
|
--color-neutral-600: oklch(43.9% 0 0);
|
|
--color-neutral-700: oklch(37.1% 0 0);
|
|
--color-neutral-800: oklch(26.9% 0 0);
|
|
--color-neutral-900: oklch(20.5% 0 0);
|
|
--color-neutral-950: oklch(14.5% 0 0);
|
|
|
|
--color-stone-50: oklch(98.5% 0.001 106.423);
|
|
--color-stone-100: oklch(97% 0.001 106.424);
|
|
--color-stone-200: oklch(92.3% 0.003 48.717);
|
|
--color-stone-300: oklch(86.9% 0.005 56.366);
|
|
--color-stone-400: oklch(70.9% 0.01 56.259);
|
|
--color-stone-500: oklch(55.3% 0.013 58.071);
|
|
--color-stone-600: oklch(44.4% 0.011 73.639);
|
|
--color-stone-700: oklch(37.4% 0.01 67.558);
|
|
--color-stone-800: oklch(26.8% 0.007 34.298);
|
|
--color-stone-900: oklch(21.6% 0.006 56.043);
|
|
--color-stone-950: oklch(14.7% 0.004 49.25);
|
|
|
|
--color-black: #000;
|
|
--color-white: #fff;
|
|
|
|
--spacing: 0.25rem;
|
|
|
|
--breakpoint-sm: 40rem;
|
|
--breakpoint-md: 48rem;
|
|
--breakpoint-lg: 64rem;
|
|
--breakpoint-xl: 80rem;
|
|
--breakpoint-2xl: 96rem;
|
|
|
|
--container-3xs: 16rem;
|
|
--container-2xs: 18rem;
|
|
--container-xs: 20rem;
|
|
--container-sm: 24rem;
|
|
--container-md: 28rem;
|
|
--container-lg: 32rem;
|
|
--container-xl: 36rem;
|
|
--container-2xl: 42rem;
|
|
--container-3xl: 48rem;
|
|
--container-4xl: 56rem;
|
|
--container-5xl: 64rem;
|
|
--container-6xl: 72rem;
|
|
--container-7xl: 80rem;
|
|
|
|
--text-xs: 0.75rem;
|
|
--text-xs--line-height: calc(1 / 0.75);
|
|
--text-sm: 0.875rem;
|
|
--text-sm--line-height: calc(1.25 / 0.875);
|
|
--text-base: 1rem;
|
|
--text-base--line-height: calc(1.5 / 1);
|
|
--text-lg: 1.125rem;
|
|
--text-lg--line-height: calc(1.75 / 1.125);
|
|
--text-xl: 1.25rem;
|
|
--text-xl--line-height: calc(1.75 / 1.25);
|
|
--text-2xl: 1.5rem;
|
|
--text-2xl--line-height: calc(2 / 1.5);
|
|
--text-3xl: 1.875rem;
|
|
--text-3xl--line-height: calc(2.25 / 1.875);
|
|
--text-4xl: 2.25rem;
|
|
--text-4xl--line-height: calc(2.5 / 2.25);
|
|
--text-5xl: 3rem;
|
|
--text-5xl--line-height: 1;
|
|
--text-6xl: 3.75rem;
|
|
--text-6xl--line-height: 1;
|
|
--text-7xl: 4.5rem;
|
|
--text-7xl--line-height: 1;
|
|
--text-8xl: 6rem;
|
|
--text-8xl--line-height: 1;
|
|
--text-9xl: 8rem;
|
|
--text-9xl--line-height: 1;
|
|
|
|
--font-weight-thin: 100;
|
|
--font-weight-extralight: 200;
|
|
--font-weight-light: 300;
|
|
--font-weight-normal: 400;
|
|
--font-weight-medium: 500;
|
|
--font-weight-semibold: 600;
|
|
--font-weight-bold: 700;
|
|
--font-weight-extrabold: 800;
|
|
--font-weight-black: 900;
|
|
|
|
--tracking-tighter: -0.05em;
|
|
--tracking-tight: -0.025em;
|
|
--tracking-normal: 0em;
|
|
--tracking-wide: 0.025em;
|
|
--tracking-wider: 0.05em;
|
|
--tracking-widest: 0.1em;
|
|
|
|
--leading-tight: 1.25;
|
|
--leading-snug: 1.375;
|
|
--leading-normal: 1.5;
|
|
--leading-relaxed: 1.625;
|
|
--leading-loose: 2;
|
|
|
|
--radius-xs: 0.125rem;
|
|
--radius-sm: 0.25rem;
|
|
--radius-md: 0.375rem;
|
|
--radius-lg: 0.5rem;
|
|
--radius-xl: 0.75rem;
|
|
--radius-2xl: 1rem;
|
|
--radius-3xl: 1.5rem;
|
|
--radius-4xl: 2rem;
|
|
|
|
--shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
|
|
--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
--shadow-md:
|
|
0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
--shadow-lg:
|
|
0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
--shadow-xl:
|
|
0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
--shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
|
|
--inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);
|
|
--inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);
|
|
--inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);
|
|
|
|
--drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05);
|
|
--drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15);
|
|
--drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12);
|
|
--drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);
|
|
--drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);
|
|
--drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);
|
|
|
|
--text-shadow-2xs: 0px 1px 0px rgb(0 0 0 / 0.15);
|
|
--text-shadow-xs: 0px 1px 1px rgb(0 0 0 / 0.2);
|
|
--text-shadow-sm:
|
|
0px 1px 0px rgb(0 0 0 / 0.075), 0px 1px 1px rgb(0 0 0 / 0.075),
|
|
0px 2px 2px rgb(0 0 0 / 0.075);
|
|
--text-shadow-md:
|
|
0px 1px 1px rgb(0 0 0 / 0.1), 0px 1px 2px rgb(0 0 0 / 0.1),
|
|
0px 2px 4px rgb(0 0 0 / 0.1);
|
|
--text-shadow-lg:
|
|
0px 1px 2px rgb(0 0 0 / 0.1), 0px 3px 2px rgb(0 0 0 / 0.1),
|
|
0px 4px 8px rgb(0 0 0 / 0.1);
|
|
|
|
--ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
--animate-spin: spin 1s linear infinite;
|
|
--animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
|
|
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
--animate-bounce: bounce 1s infinite;
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes ping {
|
|
75%,
|
|
100% {
|
|
transform: scale(2);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes pulse {
|
|
50% {
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
@keyframes bounce {
|
|
0%,
|
|
100% {
|
|
transform: translateY(-25%);
|
|
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
}
|
|
|
|
50% {
|
|
transform: none;
|
|
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
}
|
|
}
|
|
|
|
--blur-xs: 4px;
|
|
--blur-sm: 8px;
|
|
--blur-md: 12px;
|
|
--blur-lg: 16px;
|
|
--blur-xl: 24px;
|
|
--blur-2xl: 40px;
|
|
--blur-3xl: 64px;
|
|
|
|
--perspective-dramatic: 100px;
|
|
--perspective-near: 300px;
|
|
--perspective-normal: 500px;
|
|
--perspective-midrange: 800px;
|
|
--perspective-distant: 1200px;
|
|
|
|
--aspect-video: 16 / 9;
|
|
|
|
--default-transition-duration: 150ms;
|
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
--default-font-family: --theme(--font-sans, initial);
|
|
--default-font-feature-settings: --theme(
|
|
--font-sans--font-feature-settings,
|
|
initial
|
|
);
|
|
--default-font-variation-settings: --theme(
|
|
--font-sans--font-variation-settings,
|
|
initial
|
|
);
|
|
--default-mono-font-family: --theme(--font-mono, initial);
|
|
--default-mono-font-feature-settings: --theme(
|
|
--font-mono--font-feature-settings,
|
|
initial
|
|
);
|
|
--default-mono-font-variation-settings: --theme(
|
|
--font-mono--font-variation-settings,
|
|
initial
|
|
);
|
|
}
|
|
|
|
/* Deprecated */
|
|
@theme default inline reference {
|
|
--blur: 8px;
|
|
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
--shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
|
|
--drop-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 1px 1px rgb(0 0 0 / 0.06);
|
|
--radius: 0.25rem;
|
|
--max-width-prose: 65ch;
|
|
}
|
|
}
|
|
|
|
@layer base {
|
|
/*
|
|
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
2. Remove default margins and padding
|
|
3. Reset all borders.
|
|
*/
|
|
|
|
*,
|
|
::after,
|
|
::before,
|
|
::backdrop,
|
|
::file-selector-button {
|
|
box-sizing: border-box; /* 1 */
|
|
margin: 0; /* 2 */
|
|
padding: 0; /* 2 */
|
|
border: 0 solid; /* 3 */
|
|
}
|
|
|
|
/*
|
|
1. Use a consistent sensible line-height in all browsers.
|
|
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
3. Use a more readable tab size.
|
|
4. Use the user's configured \`sans\` font-family by default.
|
|
5. Use the user's configured \`sans\` font-feature-settings by default.
|
|
6. Use the user's configured \`sans\` font-variation-settings by default.
|
|
7. Disable tap highlights on iOS.
|
|
*/
|
|
|
|
html,
|
|
:host {
|
|
line-height: 1.5; /* 1 */
|
|
-webkit-text-size-adjust: 100%; /* 2 */
|
|
tab-size: 4; /* 3 */
|
|
font-family: --theme(
|
|
--default-font-family,
|
|
ui-sans-serif,
|
|
system-ui,
|
|
sans-serif,
|
|
"Apple Color Emoji",
|
|
"Segoe UI Emoji",
|
|
"Segoe UI Symbol",
|
|
"Noto Color Emoji"
|
|
); /* 4 */
|
|
font-feature-settings: --theme(
|
|
--default-font-feature-settings,
|
|
normal
|
|
); /* 5 */
|
|
font-variation-settings: --theme(
|
|
--default-font-variation-settings,
|
|
normal
|
|
); /* 6 */
|
|
-webkit-tap-highlight-color: transparent; /* 7 */
|
|
}
|
|
|
|
/*
|
|
1. Add the correct height in Firefox.
|
|
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
3. Reset the default border style to a 1px solid border.
|
|
*/
|
|
|
|
hr {
|
|
height: 0; /* 1 */
|
|
color: inherit; /* 2 */
|
|
border-top-width: 1px; /* 3 */
|
|
}
|
|
|
|
/*
|
|
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
*/
|
|
|
|
abbr:where([title]) {
|
|
-webkit-text-decoration: underline dotted;
|
|
text-decoration: underline dotted;
|
|
}
|
|
|
|
/*
|
|
Remove the default font size and weight for headings.
|
|
*/
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-size: inherit;
|
|
font-weight: inherit;
|
|
}
|
|
|
|
/*
|
|
Reset links to optimize for opt-in styling instead of opt-out.
|
|
*/
|
|
|
|
a {
|
|
color: inherit;
|
|
-webkit-text-decoration: inherit;
|
|
text-decoration: inherit;
|
|
}
|
|
|
|
/*
|
|
Add the correct font weight in Edge and Safari.
|
|
*/
|
|
|
|
b,
|
|
strong {
|
|
font-weight: bolder;
|
|
}
|
|
|
|
/*
|
|
1. Use the user's configured \`mono\` font-family by default.
|
|
2. Use the user's configured \`mono\` font-feature-settings by default.
|
|
3. Use the user's configured \`mono\` font-variation-settings by default.
|
|
4. Correct the odd \`em\` font sizing in all browsers.
|
|
*/
|
|
|
|
code,
|
|
kbd,
|
|
samp,
|
|
pre {
|
|
font-family: --theme(
|
|
--default-mono-font-family,
|
|
ui-monospace,
|
|
SFMono-Regular,
|
|
Menlo,
|
|
Monaco,
|
|
Consolas,
|
|
"Liberation Mono",
|
|
"Courier New",
|
|
monospace
|
|
); /* 1 */
|
|
font-feature-settings: --theme(
|
|
--default-mono-font-feature-settings,
|
|
normal
|
|
); /* 2 */
|
|
font-variation-settings: --theme(
|
|
--default-mono-font-variation-settings,
|
|
normal
|
|
); /* 3 */
|
|
font-size: 1em; /* 4 */
|
|
}
|
|
|
|
/*
|
|
Add the correct font size in all browsers.
|
|
*/
|
|
|
|
small {
|
|
font-size: 80%;
|
|
}
|
|
|
|
/*
|
|
Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers.
|
|
*/
|
|
|
|
sub,
|
|
sup {
|
|
font-size: 75%;
|
|
line-height: 0;
|
|
position: relative;
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
sub {
|
|
bottom: -0.25em;
|
|
}
|
|
|
|
sup {
|
|
top: -0.5em;
|
|
}
|
|
|
|
/*
|
|
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
3. Remove gaps between table borders by default.
|
|
*/
|
|
|
|
table {
|
|
text-indent: 0; /* 1 */
|
|
border-color: inherit; /* 2 */
|
|
border-collapse: collapse; /* 3 */
|
|
}
|
|
|
|
/*
|
|
Use the modern Firefox focus style for all focusable elements.
|
|
*/
|
|
|
|
:-moz-focusring {
|
|
outline: auto;
|
|
}
|
|
|
|
/*
|
|
Add the correct vertical alignment in Chrome and Firefox.
|
|
*/
|
|
|
|
progress {
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
/*
|
|
Add the correct display in Chrome and Safari.
|
|
*/
|
|
|
|
summary {
|
|
display: list-item;
|
|
}
|
|
|
|
/*
|
|
Make lists unstyled by default.
|
|
*/
|
|
|
|
ol,
|
|
ul,
|
|
menu {
|
|
list-style: none;
|
|
}
|
|
|
|
/*
|
|
1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
*/
|
|
|
|
img,
|
|
svg,
|
|
video,
|
|
canvas,
|
|
audio,
|
|
iframe,
|
|
embed,
|
|
object {
|
|
display: block; /* 1 */
|
|
vertical-align: middle; /* 2 */
|
|
}
|
|
|
|
/*
|
|
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
*/
|
|
|
|
img,
|
|
video {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
/*
|
|
1. Inherit font styles in all browsers.
|
|
2. Remove border radius in all browsers.
|
|
3. Remove background color in all browsers.
|
|
4. Ensure consistent opacity for disabled states in all browsers.
|
|
*/
|
|
|
|
button,
|
|
input,
|
|
select,
|
|
optgroup,
|
|
textarea,
|
|
::file-selector-button {
|
|
font: inherit; /* 1 */
|
|
font-feature-settings: inherit; /* 1 */
|
|
font-variation-settings: inherit; /* 1 */
|
|
letter-spacing: inherit; /* 1 */
|
|
color: inherit; /* 1 */
|
|
border-radius: 0; /* 2 */
|
|
background-color: transparent; /* 3 */
|
|
opacity: 1; /* 4 */
|
|
}
|
|
|
|
/*
|
|
Restore default font weight.
|
|
*/
|
|
|
|
:where(select:is([multiple], [size])) optgroup {
|
|
font-weight: bolder;
|
|
}
|
|
|
|
/*
|
|
Restore indentation.
|
|
*/
|
|
|
|
:where(select:is([multiple], [size])) optgroup option {
|
|
padding-inline-start: 20px;
|
|
}
|
|
|
|
/*
|
|
Restore space after button.
|
|
*/
|
|
|
|
::file-selector-button {
|
|
margin-inline-end: 4px;
|
|
}
|
|
|
|
/*
|
|
Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
*/
|
|
|
|
::placeholder {
|
|
opacity: 1;
|
|
}
|
|
|
|
/*
|
|
Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
|
|
crash when using \`color-mix(\u2026)\` with \`currentcolor\`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
|
|
*/
|
|
|
|
@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
|
|
(contain-intrinsic-size: 1px) /* Safari 17+ */ {
|
|
::placeholder {
|
|
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
}
|
|
}
|
|
|
|
/*
|
|
Prevent resizing textareas horizontally by default.
|
|
*/
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
/*
|
|
Remove the inner padding in Chrome and Safari on macOS.
|
|
*/
|
|
|
|
::-webkit-search-decoration {
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
/*
|
|
1. Ensure date/time inputs have the same height when empty in iOS Safari.
|
|
2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
|
|
*/
|
|
|
|
::-webkit-date-and-time-value {
|
|
min-height: 1lh; /* 1 */
|
|
text-align: inherit; /* 2 */
|
|
}
|
|
|
|
/*
|
|
Prevent height from changing on date/time inputs in macOS Safari when the input is set to \`display: block\`.
|
|
*/
|
|
|
|
::-webkit-datetime-edit {
|
|
display: inline-flex;
|
|
}
|
|
|
|
/*
|
|
Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
|
|
*/
|
|
|
|
::-webkit-datetime-edit-fields-wrapper {
|
|
padding: 0;
|
|
}
|
|
|
|
::-webkit-datetime-edit,
|
|
::-webkit-datetime-edit-year-field,
|
|
::-webkit-datetime-edit-month-field,
|
|
::-webkit-datetime-edit-day-field,
|
|
::-webkit-datetime-edit-hour-field,
|
|
::-webkit-datetime-edit-minute-field,
|
|
::-webkit-datetime-edit-second-field,
|
|
::-webkit-datetime-edit-millisecond-field,
|
|
::-webkit-datetime-edit-meridiem-field {
|
|
padding-block: 0;
|
|
}
|
|
|
|
/*
|
|
Center dropdown marker shown on inputs with paired \`<datalist>\`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
|
|
*/
|
|
|
|
::-webkit-calendar-picker-indicator {
|
|
line-height: 1;
|
|
}
|
|
|
|
/*
|
|
Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
*/
|
|
|
|
:-moz-ui-invalid {
|
|
box-shadow: none;
|
|
}
|
|
|
|
/*
|
|
Correct the inability to style the border radius in iOS Safari.
|
|
*/
|
|
|
|
button,
|
|
input:where([type="button"], [type="reset"], [type="submit"]),
|
|
::file-selector-button {
|
|
appearance: button;
|
|
}
|
|
|
|
/*
|
|
Correct the cursor style of increment and decrement buttons in Safari.
|
|
*/
|
|
|
|
::-webkit-inner-spin-button,
|
|
::-webkit-outer-spin-button {
|
|
height: auto;
|
|
}
|
|
|
|
/*
|
|
Make elements with the HTML hidden attribute stay hidden by default.
|
|
*/
|
|
|
|
[hidden]:where(:not([hidden="until-found"])) {
|
|
display: none !important;
|
|
}
|
|
}
|
|
|
|
@layer utilities {
|
|
@tailwind utilities;
|
|
}
|
|
`;var Tw=`/*
|
|
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
|
2. Remove default margins and padding
|
|
3. Reset all borders.
|
|
*/
|
|
|
|
*,
|
|
::after,
|
|
::before,
|
|
::backdrop,
|
|
::file-selector-button {
|
|
box-sizing: border-box; /* 1 */
|
|
margin: 0; /* 2 */
|
|
padding: 0; /* 2 */
|
|
border: 0 solid; /* 3 */
|
|
}
|
|
|
|
/*
|
|
1. Use a consistent sensible line-height in all browsers.
|
|
2. Prevent adjustments of font size after orientation changes in iOS.
|
|
3. Use a more readable tab size.
|
|
4. Use the user's configured \`sans\` font-family by default.
|
|
5. Use the user's configured \`sans\` font-feature-settings by default.
|
|
6. Use the user's configured \`sans\` font-variation-settings by default.
|
|
7. Disable tap highlights on iOS.
|
|
*/
|
|
|
|
html,
|
|
:host {
|
|
line-height: 1.5; /* 1 */
|
|
-webkit-text-size-adjust: 100%; /* 2 */
|
|
tab-size: 4; /* 3 */
|
|
font-family: --theme(
|
|
--default-font-family,
|
|
ui-sans-serif,
|
|
system-ui,
|
|
sans-serif,
|
|
'Apple Color Emoji',
|
|
'Segoe UI Emoji',
|
|
'Segoe UI Symbol',
|
|
'Noto Color Emoji'
|
|
); /* 4 */
|
|
font-feature-settings: --theme(--default-font-feature-settings, normal); /* 5 */
|
|
font-variation-settings: --theme(--default-font-variation-settings, normal); /* 6 */
|
|
-webkit-tap-highlight-color: transparent; /* 7 */
|
|
}
|
|
|
|
/*
|
|
1. Add the correct height in Firefox.
|
|
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
|
3. Reset the default border style to a 1px solid border.
|
|
*/
|
|
|
|
hr {
|
|
height: 0; /* 1 */
|
|
color: inherit; /* 2 */
|
|
border-top-width: 1px; /* 3 */
|
|
}
|
|
|
|
/*
|
|
Add the correct text decoration in Chrome, Edge, and Safari.
|
|
*/
|
|
|
|
abbr:where([title]) {
|
|
-webkit-text-decoration: underline dotted;
|
|
text-decoration: underline dotted;
|
|
}
|
|
|
|
/*
|
|
Remove the default font size and weight for headings.
|
|
*/
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
h4,
|
|
h5,
|
|
h6 {
|
|
font-size: inherit;
|
|
font-weight: inherit;
|
|
}
|
|
|
|
/*
|
|
Reset links to optimize for opt-in styling instead of opt-out.
|
|
*/
|
|
|
|
a {
|
|
color: inherit;
|
|
-webkit-text-decoration: inherit;
|
|
text-decoration: inherit;
|
|
}
|
|
|
|
/*
|
|
Add the correct font weight in Edge and Safari.
|
|
*/
|
|
|
|
b,
|
|
strong {
|
|
font-weight: bolder;
|
|
}
|
|
|
|
/*
|
|
1. Use the user's configured \`mono\` font-family by default.
|
|
2. Use the user's configured \`mono\` font-feature-settings by default.
|
|
3. Use the user's configured \`mono\` font-variation-settings by default.
|
|
4. Correct the odd \`em\` font sizing in all browsers.
|
|
*/
|
|
|
|
code,
|
|
kbd,
|
|
samp,
|
|
pre {
|
|
font-family: --theme(
|
|
--default-mono-font-family,
|
|
ui-monospace,
|
|
SFMono-Regular,
|
|
Menlo,
|
|
Monaco,
|
|
Consolas,
|
|
'Liberation Mono',
|
|
'Courier New',
|
|
monospace
|
|
); /* 1 */
|
|
font-feature-settings: --theme(--default-mono-font-feature-settings, normal); /* 2 */
|
|
font-variation-settings: --theme(--default-mono-font-variation-settings, normal); /* 3 */
|
|
font-size: 1em; /* 4 */
|
|
}
|
|
|
|
/*
|
|
Add the correct font size in all browsers.
|
|
*/
|
|
|
|
small {
|
|
font-size: 80%;
|
|
}
|
|
|
|
/*
|
|
Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers.
|
|
*/
|
|
|
|
sub,
|
|
sup {
|
|
font-size: 75%;
|
|
line-height: 0;
|
|
position: relative;
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
sub {
|
|
bottom: -0.25em;
|
|
}
|
|
|
|
sup {
|
|
top: -0.5em;
|
|
}
|
|
|
|
/*
|
|
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
|
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
|
3. Remove gaps between table borders by default.
|
|
*/
|
|
|
|
table {
|
|
text-indent: 0; /* 1 */
|
|
border-color: inherit; /* 2 */
|
|
border-collapse: collapse; /* 3 */
|
|
}
|
|
|
|
/*
|
|
Use the modern Firefox focus style for all focusable elements.
|
|
*/
|
|
|
|
:-moz-focusring {
|
|
outline: auto;
|
|
}
|
|
|
|
/*
|
|
Add the correct vertical alignment in Chrome and Firefox.
|
|
*/
|
|
|
|
progress {
|
|
vertical-align: baseline;
|
|
}
|
|
|
|
/*
|
|
Add the correct display in Chrome and Safari.
|
|
*/
|
|
|
|
summary {
|
|
display: list-item;
|
|
}
|
|
|
|
/*
|
|
Make lists unstyled by default.
|
|
*/
|
|
|
|
ol,
|
|
ul,
|
|
menu {
|
|
list-style: none;
|
|
}
|
|
|
|
/*
|
|
1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
|
This can trigger a poorly considered lint error in some tools but is included by design.
|
|
*/
|
|
|
|
img,
|
|
svg,
|
|
video,
|
|
canvas,
|
|
audio,
|
|
iframe,
|
|
embed,
|
|
object {
|
|
display: block; /* 1 */
|
|
vertical-align: middle; /* 2 */
|
|
}
|
|
|
|
/*
|
|
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
|
*/
|
|
|
|
img,
|
|
video {
|
|
max-width: 100%;
|
|
height: auto;
|
|
}
|
|
|
|
/*
|
|
1. Inherit font styles in all browsers.
|
|
2. Remove border radius in all browsers.
|
|
3. Remove background color in all browsers.
|
|
4. Ensure consistent opacity for disabled states in all browsers.
|
|
*/
|
|
|
|
button,
|
|
input,
|
|
select,
|
|
optgroup,
|
|
textarea,
|
|
::file-selector-button {
|
|
font: inherit; /* 1 */
|
|
font-feature-settings: inherit; /* 1 */
|
|
font-variation-settings: inherit; /* 1 */
|
|
letter-spacing: inherit; /* 1 */
|
|
color: inherit; /* 1 */
|
|
border-radius: 0; /* 2 */
|
|
background-color: transparent; /* 3 */
|
|
opacity: 1; /* 4 */
|
|
}
|
|
|
|
/*
|
|
Restore default font weight.
|
|
*/
|
|
|
|
:where(select:is([multiple], [size])) optgroup {
|
|
font-weight: bolder;
|
|
}
|
|
|
|
/*
|
|
Restore indentation.
|
|
*/
|
|
|
|
:where(select:is([multiple], [size])) optgroup option {
|
|
padding-inline-start: 20px;
|
|
}
|
|
|
|
/*
|
|
Restore space after button.
|
|
*/
|
|
|
|
::file-selector-button {
|
|
margin-inline-end: 4px;
|
|
}
|
|
|
|
/*
|
|
Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
|
*/
|
|
|
|
::placeholder {
|
|
opacity: 1;
|
|
}
|
|
|
|
/*
|
|
Set the default placeholder color to a semi-transparent version of the current text color in browsers that do not
|
|
crash when using \`color-mix(\u2026)\` with \`currentcolor\`. (https://github.com/tailwindlabs/tailwindcss/issues/17194)
|
|
*/
|
|
|
|
@supports (not (-webkit-appearance: -apple-pay-button)) /* Not Safari */ or
|
|
(contain-intrinsic-size: 1px) /* Safari 17+ */ {
|
|
::placeholder {
|
|
color: color-mix(in oklab, currentcolor 50%, transparent);
|
|
}
|
|
}
|
|
|
|
/*
|
|
Prevent resizing textareas horizontally by default.
|
|
*/
|
|
|
|
textarea {
|
|
resize: vertical;
|
|
}
|
|
|
|
/*
|
|
Remove the inner padding in Chrome and Safari on macOS.
|
|
*/
|
|
|
|
::-webkit-search-decoration {
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
/*
|
|
1. Ensure date/time inputs have the same height when empty in iOS Safari.
|
|
2. Ensure text alignment can be changed on date/time inputs in iOS Safari.
|
|
*/
|
|
|
|
::-webkit-date-and-time-value {
|
|
min-height: 1lh; /* 1 */
|
|
text-align: inherit; /* 2 */
|
|
}
|
|
|
|
/*
|
|
Prevent height from changing on date/time inputs in macOS Safari when the input is set to \`display: block\`.
|
|
*/
|
|
|
|
::-webkit-datetime-edit {
|
|
display: inline-flex;
|
|
}
|
|
|
|
/*
|
|
Remove excess padding from pseudo-elements in date/time inputs to ensure consistent height across browsers.
|
|
*/
|
|
|
|
::-webkit-datetime-edit-fields-wrapper {
|
|
padding: 0;
|
|
}
|
|
|
|
::-webkit-datetime-edit,
|
|
::-webkit-datetime-edit-year-field,
|
|
::-webkit-datetime-edit-month-field,
|
|
::-webkit-datetime-edit-day-field,
|
|
::-webkit-datetime-edit-hour-field,
|
|
::-webkit-datetime-edit-minute-field,
|
|
::-webkit-datetime-edit-second-field,
|
|
::-webkit-datetime-edit-millisecond-field,
|
|
::-webkit-datetime-edit-meridiem-field {
|
|
padding-block: 0;
|
|
}
|
|
|
|
/*
|
|
Center dropdown marker shown on inputs with paired \`<datalist>\`s in Chrome. (https://github.com/tailwindlabs/tailwindcss/issues/18499)
|
|
*/
|
|
|
|
::-webkit-calendar-picker-indicator {
|
|
line-height: 1;
|
|
}
|
|
|
|
/*
|
|
Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
|
*/
|
|
|
|
:-moz-ui-invalid {
|
|
box-shadow: none;
|
|
}
|
|
|
|
/*
|
|
Correct the inability to style the border radius in iOS Safari.
|
|
*/
|
|
|
|
button,
|
|
input:where([type='button'], [type='reset'], [type='submit']),
|
|
::file-selector-button {
|
|
appearance: button;
|
|
}
|
|
|
|
/*
|
|
Correct the cursor style of increment and decrement buttons in Safari.
|
|
*/
|
|
|
|
::-webkit-inner-spin-button,
|
|
::-webkit-outer-spin-button {
|
|
height: auto;
|
|
}
|
|
|
|
/*
|
|
Make elements with the HTML hidden attribute stay hidden by default.
|
|
*/
|
|
|
|
[hidden]:where(:not([hidden='until-found'])) {
|
|
display: none !important;
|
|
}
|
|
`;var Ew=`@theme default {
|
|
--font-sans:
|
|
ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
'Noto Color Emoji';
|
|
--font-serif: ui-serif, Georgia, Cambria, 'Times New Roman', Times, serif;
|
|
--font-mono:
|
|
ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
|
|
monospace;
|
|
|
|
--color-red-50: oklch(97.1% 0.013 17.38);
|
|
--color-red-100: oklch(93.6% 0.032 17.717);
|
|
--color-red-200: oklch(88.5% 0.062 18.334);
|
|
--color-red-300: oklch(80.8% 0.114 19.571);
|
|
--color-red-400: oklch(70.4% 0.191 22.216);
|
|
--color-red-500: oklch(63.7% 0.237 25.331);
|
|
--color-red-600: oklch(57.7% 0.245 27.325);
|
|
--color-red-700: oklch(50.5% 0.213 27.518);
|
|
--color-red-800: oklch(44.4% 0.177 26.899);
|
|
--color-red-900: oklch(39.6% 0.141 25.723);
|
|
--color-red-950: oklch(25.8% 0.092 26.042);
|
|
|
|
--color-orange-50: oklch(98% 0.016 73.684);
|
|
--color-orange-100: oklch(95.4% 0.038 75.164);
|
|
--color-orange-200: oklch(90.1% 0.076 70.697);
|
|
--color-orange-300: oklch(83.7% 0.128 66.29);
|
|
--color-orange-400: oklch(75% 0.183 55.934);
|
|
--color-orange-500: oklch(70.5% 0.213 47.604);
|
|
--color-orange-600: oklch(64.6% 0.222 41.116);
|
|
--color-orange-700: oklch(55.3% 0.195 38.402);
|
|
--color-orange-800: oklch(47% 0.157 37.304);
|
|
--color-orange-900: oklch(40.8% 0.123 38.172);
|
|
--color-orange-950: oklch(26.6% 0.079 36.259);
|
|
|
|
--color-amber-50: oklch(98.7% 0.022 95.277);
|
|
--color-amber-100: oklch(96.2% 0.059 95.617);
|
|
--color-amber-200: oklch(92.4% 0.12 95.746);
|
|
--color-amber-300: oklch(87.9% 0.169 91.605);
|
|
--color-amber-400: oklch(82.8% 0.189 84.429);
|
|
--color-amber-500: oklch(76.9% 0.188 70.08);
|
|
--color-amber-600: oklch(66.6% 0.179 58.318);
|
|
--color-amber-700: oklch(55.5% 0.163 48.998);
|
|
--color-amber-800: oklch(47.3% 0.137 46.201);
|
|
--color-amber-900: oklch(41.4% 0.112 45.904);
|
|
--color-amber-950: oklch(27.9% 0.077 45.635);
|
|
|
|
--color-yellow-50: oklch(98.7% 0.026 102.212);
|
|
--color-yellow-100: oklch(97.3% 0.071 103.193);
|
|
--color-yellow-200: oklch(94.5% 0.129 101.54);
|
|
--color-yellow-300: oklch(90.5% 0.182 98.111);
|
|
--color-yellow-400: oklch(85.2% 0.199 91.936);
|
|
--color-yellow-500: oklch(79.5% 0.184 86.047);
|
|
--color-yellow-600: oklch(68.1% 0.162 75.834);
|
|
--color-yellow-700: oklch(55.4% 0.135 66.442);
|
|
--color-yellow-800: oklch(47.6% 0.114 61.907);
|
|
--color-yellow-900: oklch(42.1% 0.095 57.708);
|
|
--color-yellow-950: oklch(28.6% 0.066 53.813);
|
|
|
|
--color-lime-50: oklch(98.6% 0.031 120.757);
|
|
--color-lime-100: oklch(96.7% 0.067 122.328);
|
|
--color-lime-200: oklch(93.8% 0.127 124.321);
|
|
--color-lime-300: oklch(89.7% 0.196 126.665);
|
|
--color-lime-400: oklch(84.1% 0.238 128.85);
|
|
--color-lime-500: oklch(76.8% 0.233 130.85);
|
|
--color-lime-600: oklch(64.8% 0.2 131.684);
|
|
--color-lime-700: oklch(53.2% 0.157 131.589);
|
|
--color-lime-800: oklch(45.3% 0.124 130.933);
|
|
--color-lime-900: oklch(40.5% 0.101 131.063);
|
|
--color-lime-950: oklch(27.4% 0.072 132.109);
|
|
|
|
--color-green-50: oklch(98.2% 0.018 155.826);
|
|
--color-green-100: oklch(96.2% 0.044 156.743);
|
|
--color-green-200: oklch(92.5% 0.084 155.995);
|
|
--color-green-300: oklch(87.1% 0.15 154.449);
|
|
--color-green-400: oklch(79.2% 0.209 151.711);
|
|
--color-green-500: oklch(72.3% 0.219 149.579);
|
|
--color-green-600: oklch(62.7% 0.194 149.214);
|
|
--color-green-700: oklch(52.7% 0.154 150.069);
|
|
--color-green-800: oklch(44.8% 0.119 151.328);
|
|
--color-green-900: oklch(39.3% 0.095 152.535);
|
|
--color-green-950: oklch(26.6% 0.065 152.934);
|
|
|
|
--color-emerald-50: oklch(97.9% 0.021 166.113);
|
|
--color-emerald-100: oklch(95% 0.052 163.051);
|
|
--color-emerald-200: oklch(90.5% 0.093 164.15);
|
|
--color-emerald-300: oklch(84.5% 0.143 164.978);
|
|
--color-emerald-400: oklch(76.5% 0.177 163.223);
|
|
--color-emerald-500: oklch(69.6% 0.17 162.48);
|
|
--color-emerald-600: oklch(59.6% 0.145 163.225);
|
|
--color-emerald-700: oklch(50.8% 0.118 165.612);
|
|
--color-emerald-800: oklch(43.2% 0.095 166.913);
|
|
--color-emerald-900: oklch(37.8% 0.077 168.94);
|
|
--color-emerald-950: oklch(26.2% 0.051 172.552);
|
|
|
|
--color-teal-50: oklch(98.4% 0.014 180.72);
|
|
--color-teal-100: oklch(95.3% 0.051 180.801);
|
|
--color-teal-200: oklch(91% 0.096 180.426);
|
|
--color-teal-300: oklch(85.5% 0.138 181.071);
|
|
--color-teal-400: oklch(77.7% 0.152 181.912);
|
|
--color-teal-500: oklch(70.4% 0.14 182.503);
|
|
--color-teal-600: oklch(60% 0.118 184.704);
|
|
--color-teal-700: oklch(51.1% 0.096 186.391);
|
|
--color-teal-800: oklch(43.7% 0.078 188.216);
|
|
--color-teal-900: oklch(38.6% 0.063 188.416);
|
|
--color-teal-950: oklch(27.7% 0.046 192.524);
|
|
|
|
--color-cyan-50: oklch(98.4% 0.019 200.873);
|
|
--color-cyan-100: oklch(95.6% 0.045 203.388);
|
|
--color-cyan-200: oklch(91.7% 0.08 205.041);
|
|
--color-cyan-300: oklch(86.5% 0.127 207.078);
|
|
--color-cyan-400: oklch(78.9% 0.154 211.53);
|
|
--color-cyan-500: oklch(71.5% 0.143 215.221);
|
|
--color-cyan-600: oklch(60.9% 0.126 221.723);
|
|
--color-cyan-700: oklch(52% 0.105 223.128);
|
|
--color-cyan-800: oklch(45% 0.085 224.283);
|
|
--color-cyan-900: oklch(39.8% 0.07 227.392);
|
|
--color-cyan-950: oklch(30.2% 0.056 229.695);
|
|
|
|
--color-sky-50: oklch(97.7% 0.013 236.62);
|
|
--color-sky-100: oklch(95.1% 0.026 236.824);
|
|
--color-sky-200: oklch(90.1% 0.058 230.902);
|
|
--color-sky-300: oklch(82.8% 0.111 230.318);
|
|
--color-sky-400: oklch(74.6% 0.16 232.661);
|
|
--color-sky-500: oklch(68.5% 0.169 237.323);
|
|
--color-sky-600: oklch(58.8% 0.158 241.966);
|
|
--color-sky-700: oklch(50% 0.134 242.749);
|
|
--color-sky-800: oklch(44.3% 0.11 240.79);
|
|
--color-sky-900: oklch(39.1% 0.09 240.876);
|
|
--color-sky-950: oklch(29.3% 0.066 243.157);
|
|
|
|
--color-blue-50: oklch(97% 0.014 254.604);
|
|
--color-blue-100: oklch(93.2% 0.032 255.585);
|
|
--color-blue-200: oklch(88.2% 0.059 254.128);
|
|
--color-blue-300: oklch(80.9% 0.105 251.813);
|
|
--color-blue-400: oklch(70.7% 0.165 254.624);
|
|
--color-blue-500: oklch(62.3% 0.214 259.815);
|
|
--color-blue-600: oklch(54.6% 0.245 262.881);
|
|
--color-blue-700: oklch(48.8% 0.243 264.376);
|
|
--color-blue-800: oklch(42.4% 0.199 265.638);
|
|
--color-blue-900: oklch(37.9% 0.146 265.522);
|
|
--color-blue-950: oklch(28.2% 0.091 267.935);
|
|
|
|
--color-indigo-50: oklch(96.2% 0.018 272.314);
|
|
--color-indigo-100: oklch(93% 0.034 272.788);
|
|
--color-indigo-200: oklch(87% 0.065 274.039);
|
|
--color-indigo-300: oklch(78.5% 0.115 274.713);
|
|
--color-indigo-400: oklch(67.3% 0.182 276.935);
|
|
--color-indigo-500: oklch(58.5% 0.233 277.117);
|
|
--color-indigo-600: oklch(51.1% 0.262 276.966);
|
|
--color-indigo-700: oklch(45.7% 0.24 277.023);
|
|
--color-indigo-800: oklch(39.8% 0.195 277.366);
|
|
--color-indigo-900: oklch(35.9% 0.144 278.697);
|
|
--color-indigo-950: oklch(25.7% 0.09 281.288);
|
|
|
|
--color-violet-50: oklch(96.9% 0.016 293.756);
|
|
--color-violet-100: oklch(94.3% 0.029 294.588);
|
|
--color-violet-200: oklch(89.4% 0.057 293.283);
|
|
--color-violet-300: oklch(81.1% 0.111 293.571);
|
|
--color-violet-400: oklch(70.2% 0.183 293.541);
|
|
--color-violet-500: oklch(60.6% 0.25 292.717);
|
|
--color-violet-600: oklch(54.1% 0.281 293.009);
|
|
--color-violet-700: oklch(49.1% 0.27 292.581);
|
|
--color-violet-800: oklch(43.2% 0.232 292.759);
|
|
--color-violet-900: oklch(38% 0.189 293.745);
|
|
--color-violet-950: oklch(28.3% 0.141 291.089);
|
|
|
|
--color-purple-50: oklch(97.7% 0.014 308.299);
|
|
--color-purple-100: oklch(94.6% 0.033 307.174);
|
|
--color-purple-200: oklch(90.2% 0.063 306.703);
|
|
--color-purple-300: oklch(82.7% 0.119 306.383);
|
|
--color-purple-400: oklch(71.4% 0.203 305.504);
|
|
--color-purple-500: oklch(62.7% 0.265 303.9);
|
|
--color-purple-600: oklch(55.8% 0.288 302.321);
|
|
--color-purple-700: oklch(49.6% 0.265 301.924);
|
|
--color-purple-800: oklch(43.8% 0.218 303.724);
|
|
--color-purple-900: oklch(38.1% 0.176 304.987);
|
|
--color-purple-950: oklch(29.1% 0.149 302.717);
|
|
|
|
--color-fuchsia-50: oklch(97.7% 0.017 320.058);
|
|
--color-fuchsia-100: oklch(95.2% 0.037 318.852);
|
|
--color-fuchsia-200: oklch(90.3% 0.076 319.62);
|
|
--color-fuchsia-300: oklch(83.3% 0.145 321.434);
|
|
--color-fuchsia-400: oklch(74% 0.238 322.16);
|
|
--color-fuchsia-500: oklch(66.7% 0.295 322.15);
|
|
--color-fuchsia-600: oklch(59.1% 0.293 322.896);
|
|
--color-fuchsia-700: oklch(51.8% 0.253 323.949);
|
|
--color-fuchsia-800: oklch(45.2% 0.211 324.591);
|
|
--color-fuchsia-900: oklch(40.1% 0.17 325.612);
|
|
--color-fuchsia-950: oklch(29.3% 0.136 325.661);
|
|
|
|
--color-pink-50: oklch(97.1% 0.014 343.198);
|
|
--color-pink-100: oklch(94.8% 0.028 342.258);
|
|
--color-pink-200: oklch(89.9% 0.061 343.231);
|
|
--color-pink-300: oklch(82.3% 0.12 346.018);
|
|
--color-pink-400: oklch(71.8% 0.202 349.761);
|
|
--color-pink-500: oklch(65.6% 0.241 354.308);
|
|
--color-pink-600: oklch(59.2% 0.249 0.584);
|
|
--color-pink-700: oklch(52.5% 0.223 3.958);
|
|
--color-pink-800: oklch(45.9% 0.187 3.815);
|
|
--color-pink-900: oklch(40.8% 0.153 2.432);
|
|
--color-pink-950: oklch(28.4% 0.109 3.907);
|
|
|
|
--color-rose-50: oklch(96.9% 0.015 12.422);
|
|
--color-rose-100: oklch(94.1% 0.03 12.58);
|
|
--color-rose-200: oklch(89.2% 0.058 10.001);
|
|
--color-rose-300: oklch(81% 0.117 11.638);
|
|
--color-rose-400: oklch(71.2% 0.194 13.428);
|
|
--color-rose-500: oklch(64.5% 0.246 16.439);
|
|
--color-rose-600: oklch(58.6% 0.253 17.585);
|
|
--color-rose-700: oklch(51.4% 0.222 16.935);
|
|
--color-rose-800: oklch(45.5% 0.188 13.697);
|
|
--color-rose-900: oklch(41% 0.159 10.272);
|
|
--color-rose-950: oklch(27.1% 0.105 12.094);
|
|
|
|
--color-slate-50: oklch(98.4% 0.003 247.858);
|
|
--color-slate-100: oklch(96.8% 0.007 247.896);
|
|
--color-slate-200: oklch(92.9% 0.013 255.508);
|
|
--color-slate-300: oklch(86.9% 0.022 252.894);
|
|
--color-slate-400: oklch(70.4% 0.04 256.788);
|
|
--color-slate-500: oklch(55.4% 0.046 257.417);
|
|
--color-slate-600: oklch(44.6% 0.043 257.281);
|
|
--color-slate-700: oklch(37.2% 0.044 257.287);
|
|
--color-slate-800: oklch(27.9% 0.041 260.031);
|
|
--color-slate-900: oklch(20.8% 0.042 265.755);
|
|
--color-slate-950: oklch(12.9% 0.042 264.695);
|
|
|
|
--color-gray-50: oklch(98.5% 0.002 247.839);
|
|
--color-gray-100: oklch(96.7% 0.003 264.542);
|
|
--color-gray-200: oklch(92.8% 0.006 264.531);
|
|
--color-gray-300: oklch(87.2% 0.01 258.338);
|
|
--color-gray-400: oklch(70.7% 0.022 261.325);
|
|
--color-gray-500: oklch(55.1% 0.027 264.364);
|
|
--color-gray-600: oklch(44.6% 0.03 256.802);
|
|
--color-gray-700: oklch(37.3% 0.034 259.733);
|
|
--color-gray-800: oklch(27.8% 0.033 256.848);
|
|
--color-gray-900: oklch(21% 0.034 264.665);
|
|
--color-gray-950: oklch(13% 0.028 261.692);
|
|
|
|
--color-zinc-50: oklch(98.5% 0 0);
|
|
--color-zinc-100: oklch(96.7% 0.001 286.375);
|
|
--color-zinc-200: oklch(92% 0.004 286.32);
|
|
--color-zinc-300: oklch(87.1% 0.006 286.286);
|
|
--color-zinc-400: oklch(70.5% 0.015 286.067);
|
|
--color-zinc-500: oklch(55.2% 0.016 285.938);
|
|
--color-zinc-600: oklch(44.2% 0.017 285.786);
|
|
--color-zinc-700: oklch(37% 0.013 285.805);
|
|
--color-zinc-800: oklch(27.4% 0.006 286.033);
|
|
--color-zinc-900: oklch(21% 0.006 285.885);
|
|
--color-zinc-950: oklch(14.1% 0.005 285.823);
|
|
|
|
--color-neutral-50: oklch(98.5% 0 0);
|
|
--color-neutral-100: oklch(97% 0 0);
|
|
--color-neutral-200: oklch(92.2% 0 0);
|
|
--color-neutral-300: oklch(87% 0 0);
|
|
--color-neutral-400: oklch(70.8% 0 0);
|
|
--color-neutral-500: oklch(55.6% 0 0);
|
|
--color-neutral-600: oklch(43.9% 0 0);
|
|
--color-neutral-700: oklch(37.1% 0 0);
|
|
--color-neutral-800: oklch(26.9% 0 0);
|
|
--color-neutral-900: oklch(20.5% 0 0);
|
|
--color-neutral-950: oklch(14.5% 0 0);
|
|
|
|
--color-stone-50: oklch(98.5% 0.001 106.423);
|
|
--color-stone-100: oklch(97% 0.001 106.424);
|
|
--color-stone-200: oklch(92.3% 0.003 48.717);
|
|
--color-stone-300: oklch(86.9% 0.005 56.366);
|
|
--color-stone-400: oklch(70.9% 0.01 56.259);
|
|
--color-stone-500: oklch(55.3% 0.013 58.071);
|
|
--color-stone-600: oklch(44.4% 0.011 73.639);
|
|
--color-stone-700: oklch(37.4% 0.01 67.558);
|
|
--color-stone-800: oklch(26.8% 0.007 34.298);
|
|
--color-stone-900: oklch(21.6% 0.006 56.043);
|
|
--color-stone-950: oklch(14.7% 0.004 49.25);
|
|
|
|
--color-black: #000;
|
|
--color-white: #fff;
|
|
|
|
--spacing: 0.25rem;
|
|
|
|
--breakpoint-sm: 40rem;
|
|
--breakpoint-md: 48rem;
|
|
--breakpoint-lg: 64rem;
|
|
--breakpoint-xl: 80rem;
|
|
--breakpoint-2xl: 96rem;
|
|
|
|
--container-3xs: 16rem;
|
|
--container-2xs: 18rem;
|
|
--container-xs: 20rem;
|
|
--container-sm: 24rem;
|
|
--container-md: 28rem;
|
|
--container-lg: 32rem;
|
|
--container-xl: 36rem;
|
|
--container-2xl: 42rem;
|
|
--container-3xl: 48rem;
|
|
--container-4xl: 56rem;
|
|
--container-5xl: 64rem;
|
|
--container-6xl: 72rem;
|
|
--container-7xl: 80rem;
|
|
|
|
--text-xs: 0.75rem;
|
|
--text-xs--line-height: calc(1 / 0.75);
|
|
--text-sm: 0.875rem;
|
|
--text-sm--line-height: calc(1.25 / 0.875);
|
|
--text-base: 1rem;
|
|
--text-base--line-height: calc(1.5 / 1);
|
|
--text-lg: 1.125rem;
|
|
--text-lg--line-height: calc(1.75 / 1.125);
|
|
--text-xl: 1.25rem;
|
|
--text-xl--line-height: calc(1.75 / 1.25);
|
|
--text-2xl: 1.5rem;
|
|
--text-2xl--line-height: calc(2 / 1.5);
|
|
--text-3xl: 1.875rem;
|
|
--text-3xl--line-height: calc(2.25 / 1.875);
|
|
--text-4xl: 2.25rem;
|
|
--text-4xl--line-height: calc(2.5 / 2.25);
|
|
--text-5xl: 3rem;
|
|
--text-5xl--line-height: 1;
|
|
--text-6xl: 3.75rem;
|
|
--text-6xl--line-height: 1;
|
|
--text-7xl: 4.5rem;
|
|
--text-7xl--line-height: 1;
|
|
--text-8xl: 6rem;
|
|
--text-8xl--line-height: 1;
|
|
--text-9xl: 8rem;
|
|
--text-9xl--line-height: 1;
|
|
|
|
--font-weight-thin: 100;
|
|
--font-weight-extralight: 200;
|
|
--font-weight-light: 300;
|
|
--font-weight-normal: 400;
|
|
--font-weight-medium: 500;
|
|
--font-weight-semibold: 600;
|
|
--font-weight-bold: 700;
|
|
--font-weight-extrabold: 800;
|
|
--font-weight-black: 900;
|
|
|
|
--tracking-tighter: -0.05em;
|
|
--tracking-tight: -0.025em;
|
|
--tracking-normal: 0em;
|
|
--tracking-wide: 0.025em;
|
|
--tracking-wider: 0.05em;
|
|
--tracking-widest: 0.1em;
|
|
|
|
--leading-tight: 1.25;
|
|
--leading-snug: 1.375;
|
|
--leading-normal: 1.5;
|
|
--leading-relaxed: 1.625;
|
|
--leading-loose: 2;
|
|
|
|
--radius-xs: 0.125rem;
|
|
--radius-sm: 0.25rem;
|
|
--radius-md: 0.375rem;
|
|
--radius-lg: 0.5rem;
|
|
--radius-xl: 0.75rem;
|
|
--radius-2xl: 1rem;
|
|
--radius-3xl: 1.5rem;
|
|
--radius-4xl: 2rem;
|
|
|
|
--shadow-2xs: 0 1px rgb(0 0 0 / 0.05);
|
|
--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
--shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
|
|
--shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
|
|
|
|
--inset-shadow-2xs: inset 0 1px rgb(0 0 0 / 0.05);
|
|
--inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / 0.05);
|
|
--inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / 0.05);
|
|
|
|
--drop-shadow-xs: 0 1px 1px rgb(0 0 0 / 0.05);
|
|
--drop-shadow-sm: 0 1px 2px rgb(0 0 0 / 0.15);
|
|
--drop-shadow-md: 0 3px 3px rgb(0 0 0 / 0.12);
|
|
--drop-shadow-lg: 0 4px 4px rgb(0 0 0 / 0.15);
|
|
--drop-shadow-xl: 0 9px 7px rgb(0 0 0 / 0.1);
|
|
--drop-shadow-2xl: 0 25px 25px rgb(0 0 0 / 0.15);
|
|
|
|
--text-shadow-2xs: 0px 1px 0px rgb(0 0 0 / 0.15);
|
|
--text-shadow-xs: 0px 1px 1px rgb(0 0 0 / 0.2);
|
|
--text-shadow-sm:
|
|
0px 1px 0px rgb(0 0 0 / 0.075), 0px 1px 1px rgb(0 0 0 / 0.075), 0px 2px 2px rgb(0 0 0 / 0.075);
|
|
--text-shadow-md:
|
|
0px 1px 1px rgb(0 0 0 / 0.1), 0px 1px 2px rgb(0 0 0 / 0.1), 0px 2px 4px rgb(0 0 0 / 0.1);
|
|
--text-shadow-lg:
|
|
0px 1px 2px rgb(0 0 0 / 0.1), 0px 3px 2px rgb(0 0 0 / 0.1), 0px 4px 8px rgb(0 0 0 / 0.1);
|
|
|
|
--ease-in: cubic-bezier(0.4, 0, 1, 1);
|
|
--ease-out: cubic-bezier(0, 0, 0.2, 1);
|
|
--ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
|
|
|
|
--animate-spin: spin 1s linear infinite;
|
|
--animate-ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
|
|
--animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
|
|
--animate-bounce: bounce 1s infinite;
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@keyframes ping {
|
|
75%,
|
|
100% {
|
|
transform: scale(2);
|
|
opacity: 0;
|
|
}
|
|
}
|
|
|
|
@keyframes pulse {
|
|
50% {
|
|
opacity: 0.5;
|
|
}
|
|
}
|
|
|
|
@keyframes bounce {
|
|
0%,
|
|
100% {
|
|
transform: translateY(-25%);
|
|
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
}
|
|
|
|
50% {
|
|
transform: none;
|
|
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
}
|
|
}
|
|
|
|
--blur-xs: 4px;
|
|
--blur-sm: 8px;
|
|
--blur-md: 12px;
|
|
--blur-lg: 16px;
|
|
--blur-xl: 24px;
|
|
--blur-2xl: 40px;
|
|
--blur-3xl: 64px;
|
|
|
|
--perspective-dramatic: 100px;
|
|
--perspective-near: 300px;
|
|
--perspective-normal: 500px;
|
|
--perspective-midrange: 800px;
|
|
--perspective-distant: 1200px;
|
|
|
|
--aspect-video: 16 / 9;
|
|
|
|
--default-transition-duration: 150ms;
|
|
--default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
|
--default-font-family: --theme(--font-sans, initial);
|
|
--default-font-feature-settings: --theme(--font-sans--font-feature-settings, initial);
|
|
--default-font-variation-settings: --theme(--font-sans--font-variation-settings, initial);
|
|
--default-mono-font-family: --theme(--font-mono, initial);
|
|
--default-mono-font-feature-settings: --theme(--font-mono--font-feature-settings, initial);
|
|
--default-mono-font-variation-settings: --theme(--font-mono--font-variation-settings, initial);
|
|
}
|
|
|
|
/* Deprecated */
|
|
@theme default inline reference {
|
|
--blur: 8px;
|
|
--shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
|
--shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);
|
|
--drop-shadow: 0 1px 2px rgb(0 0 0 / 0.1), 0 1px 1px rgb(0 0 0 / 0.06);
|
|
--radius: 0.25rem;
|
|
--max-width-prose: 65ch;
|
|
}
|
|
`;var Sw=`@tailwind utilities;
|
|
`;var Bb={tailwindcss:Mb,"tailwindcss/index":Mb,"tailwindcss/index.css":Mb,"tailwindcss/preflight":Tw,"tailwindcss/preflight.css":Tw,"tailwindcss/theme":Ew,"tailwindcss/theme.css":Ew,"tailwindcss/utilities":Sw,"tailwindcss/utilities.css":Sw};async function oB(t,r){let s=!1;(!t||!t.__unstable__loadDesignSystem)&&(t=xw,s=!0);let a=RR(import.meta.url,{moduleCache:!1,fsCache:!1}),u,e;r?(u=await _w.readFile(r,"utf-8"),e=Ip.dirname(r)):(e=process.cwd(),r=Ip.join(e,"fake.css"),u=Bb["tailwindcss/theme.css"]);let l=await t.__unstable__loadDesignSystem(u,{base:e,loadModule:ww({legacy:!1,jiti:a,filepath:r,onError:(n,c,p)=>{if(console.error(`Unable to load ${p}: ${n}`,c),p==="config")return{};if(p==="plugin")return()=>{}}}),loadStylesheet:async(n,c)=>{try{let p=vD(c,n);return{base:Ip.dirname(p),content:await _w.readFile(p,"utf-8")}}catch(p){if(s&&n in Bb)return{base:c,content:Bb[n]};throw p}},loadPlugin:ww({legacy:!0,jiti:a,filepath:r,onError(n,c){return console.error(`Unable to load plugin: ${n}`,c),()=>{}}}),loadConfig:ww({legacy:!0,jiti:a,filepath:r,onError(n,c){return console.error(`Unable to load config: ${n}`,c),{}}})});return{getClassOrder:n=>l.getClassOrder(n)}}function ww({legacy:t,jiti:r,filepath:s,onError:a}){let u=`${+Date.now()}`;async function e(l,n,c){try{let p=Vc(n,l),i=Ioe(p);return i.searchParams.append("t",u),await r.import(i.href,{default:!0})}catch(p){return a(l,p,c)}}if(t){let l=Ip.dirname(s);return n=>e(n,l,"module")}return async(l,n,c)=>({base:n,module:await e(l,n,c)})}var Aw=Fc(1e4);async function uB(t){let r=process.cwd(),s=t.filepath?Ll.dirname(t.filepath):r,[a,u]=await joe(t.filepath),[e,l]=await Roe(t,s),n=Uoe(t,a,u),c=Moe(t,a);if(!n&&!(e!=null&&e.__unstable__loadDesignSystem)&&(c=c??Boe(s)),c){if(!n)return Aw.remember(`${l}:${c}`,()=>qS(l,c));Wl("explicit-stylesheet-and-config-together",u??"","You have specified a Tailwind CSS stylesheet and a Tailwind CSS config at the same time. Use tailwindStylesheet unless you are using v3. Preferring the stylesheet.")}if(e&&!e.__unstable__loadDesignSystem){if(!n)return Aw.remember(`${l}:${c}`,()=>qS(l,c));e=null,Wl("stylesheet-unsupported",u??"","You have specified a Tailwind CSS stylesheet but your installed version of Tailwind CSS does not support this feature.")}return e&&e.__unstable__loadDesignSystem&&l&&(n??(n=`${l}/theme.css`)),Aw.remember(`${l}:${n}`,()=>oB(e,n))}var Foe=Fc(1e4);async function joe(t){let r=await Foe.remember(t,async()=>{try{return await Noe.resolveConfigFile(t)}catch(s){return Wl("prettier-config-not-found","Failed to resolve Prettier Config"),Wl("prettier-config-not-found-err",s),null}});return r?[Ll.dirname(r),r]:[process.cwd(),null]}var Loe=Fc(1e4);async function Roe(t,r){let s=t.tailwindPackageName??"tailwindcss";return await Loe.remember(`${s}:${r}`,async()=>{let a=null,u=null;try{let e=Vc(r,s);u=await import(Ooe(e).toString());let l=Vc(r,`${s}/package.json`);a=Ll.dirname(l)}catch{}return[u,a]})}function Moe(t,r){return!t.tailwindConfig||t.tailwindConfig.endsWith(".css")?null:Ll.resolve(r,t.tailwindConfig)}var lB=new Map;function Boe(t){let r=lB.get(t);if(r===void 0){try{r=mP(t,(a,u)=>{if(u.includes("tailwind.config.js"))return"tailwind.config.js";if(u.includes("tailwind.config.cjs"))return"tailwind.config.cjs";if(u.includes("tailwind.config.mjs"))return"tailwind.config.mjs";if(u.includes("tailwind.config.ts"))return"tailwind.config.ts"})??null}catch{}r??(r=null),lB.set(t,r)}return r}function Uoe(t,r,s){return t.tailwindStylesheet?(t.tailwindStylesheet.endsWith(".js")||t.tailwindStylesheet.endsWith(".mjs")||t.tailwindStylesheet.endsWith(".cjs")||t.tailwindStylesheet.endsWith(".ts")||t.tailwindStylesheet.endsWith(".mts")||t.tailwindStylesheet.endsWith(".cts")?Wl("stylesheet-is-js-file",s??"","Your `tailwindStylesheet` option points to a JS/TS config file. You must point to your project's `.css` file for v4 projects."):t.tailwindStylesheet.endsWith(".sass")||t.tailwindStylesheet.endsWith(".scss")||t.tailwindStylesheet.endsWith(".less")||t.tailwindStylesheet.endsWith(".styl")?Wl("stylesheet-is-preprocessor-file",s??"","Your `tailwindStylesheet` option points to a preprocessor file. This is unsupported and you may get unexpected results."):t.tailwindStylesheet.endsWith(".css")||Wl("stylesheet-is-not-css-file",s??"","Your `tailwindStylesheet` option does not point to a CSS file. This is unsupported and you may get unexpected results."),Ll.resolve(r,t.tailwindStylesheet)):t.tailwindEntryPoint?(o0("entrypoint-is-deprecated",s??"","Deprecated: Use the `tailwindStylesheet` option for v4 projects instead of `tailwindEntryPoint`."),Ll.resolve(r,t.tailwindEntryPoint)):t.tailwindConfig&&t.tailwindConfig.endsWith(".css")?(o0("config-as-css-is-deprecated",s??"","Deprecated: Use the `tailwindStylesheet` option for v4 projects instead of `tailwindConfig`."),Ll.resolve(r,t.tailwindConfig)):null}var $oe={tailwindConfig:{type:"string",category:"Tailwind CSS",description:"Path to Tailwind configuration file"},tailwindEntryPoint:{type:"string",category:"Tailwind CSS",description:"Path to the CSS entrypoint in your Tailwind project (v4+)"},tailwindStylesheet:{type:"string",category:"Tailwind CSS",description:"Path to the CSS stylesheet in your Tailwind project (v4+)"},tailwindAttributes:{type:"string",array:!0,default:[{value:[]}],category:"Tailwind CSS",description:"List of attributes/props that contain sortable Tailwind classes"},tailwindFunctions:{type:"string",array:!0,default:[{value:[]}],category:"Tailwind CSS",description:"List of functions and tagged templates that contain sortable Tailwind classes"},tailwindPreserveWhitespace:{type:"boolean",default:!1,category:"Tailwind CSS",description:"Preserve whitespace around Tailwind classes when sorting"},tailwindPreserveDuplicates:{type:"boolean",default:!1,category:"Tailwind CSS",description:"Preserve duplicate classes inside a class list when sorting"},tailwindPackageName:{type:"string",default:"tailwindcss",category:"Tailwind CSS",description:"The package name to use when loading Tailwind CSS"}};function dB(t,r,s){let a=new Set(s.staticAttrs),u=new Set(s.dynamicAttrs),e=new Set(s.functions),l=[...s.staticAttrsRegex],n=[...s.functionsRegex];for(let c of t.tailwindAttributes??[]){let p=pB(c);p?l.push(p):r==="vue"&&c.startsWith(":")?a.add(c.slice(1)):r==="vue"&&c.startsWith("v-bind:")?a.add(c.slice(7)):r==="vue"&&c.startsWith("v-")?u.add(c):r==="angular"&&c.startsWith("[")&&c.endsWith("]")?a.add(c.slice(1,-1)):a.add(c)}for(let c of a)r==="vue"?(u.add(`:${c}`),u.add(`v-bind:${c}`)):r==="angular"&&u.add(`[${c}]`);for(let c of t.tailwindFunctions??[]){let p=pB(c);p?n.push(p):e.add(c)}return{hasStaticAttr:c=>cB(c,r)?!1:Ub(c,a,l),hasDynamicAttr:c=>{if(Ub(c,u,[]))return!0;let p=cB(c,r);return p?Ub(p,a,l):!1},hasFunction:c=>Ub(c,e,n)}}function cB(t,r){return r==="vue"?t.startsWith(":")?t.slice(1):t.startsWith("v-bind:")?t.slice(7):t.startsWith("v-")?t:null:r==="angular"&&t.startsWith("[")&&t.endsWith("]")?t.slice(1,-1):null}function Ub(t,r,s){if(r.has(t))return!0;for(let a of s)if(a.test(t))return!0;return!1}function pB(t){if(!t.startsWith("/"))return null;let r=t.lastIndexOf("/");if(r<=0)return null;try{let s=t.slice(1,r),a=t.slice(r+1);return new RegExp(s,a)}catch{return null}}import*as hB from"prettier/plugins/acorn";import*as Gh from"prettier/plugins/babel";import*as fB from"prettier/plugins/flow";import*as mB from"prettier/plugins/glimmer";import*as Jh from"prettier/plugins/html";import*as yB from"prettier/plugins/meriyah";import*as $b from"prettier/plugins/postcss";import*as bB from"prettier/plugins/typescript";async function Rl(t){let r=await gD(t);return r??(r={parsers:{},printers:{}}),r}async function gB(){let t=await Voe(),r=await qoe(),s=await Woe(),a={...t.parsers,...r.parsers},u={...t.printers,...r.printers};function e(l,n,c){let p=X0(n);for(let i of l.plugins){if(i instanceof URL){if(i.protocol!=="file:"||i.hostname!=="")continue;i=i.pathname}if(typeof i=="string"){if(i===n||i===p)return c;continue}if(i.name===n||i.name===p||i.parsers&&c.parsers&&i.parsers==c.parsers)return c}return null}return{parsers:a,printers:u,originalParser(l,n){if(!n.plugins)return a[l];let c={...a[l]};for(let{name:p,mod:i}of s){let o=e(n,p,i);o&&Object.assign(c,o.parsers[l])}return c}}}async function Voe(){return{parsers:{html:Jh.parsers.html,glimmer:mB.parsers.glimmer,lwc:Jh.parsers.lwc,angular:Jh.parsers.angular,vue:Jh.parsers.vue,css:$b.parsers.css,scss:$b.parsers.scss,less:$b.parsers.less,babel:Gh.parsers.babel,"babel-flow":Gh.parsers["babel-flow"],flow:fB.parsers.flow,typescript:bB.parsers.typescript,"babel-ts":Gh.parsers["babel-ts"],acorn:hB.parsers.acorn,meriyah:yB.parsers.meriyah,__js_expression:Gh.parsers.__js_expression},printers:{}}}async function qoe(){let[t,r,s,a,u,e,l,n]=await Promise.all([Rl("prettier-plugin-astro"),Rl("@shopify/prettier-plugin-liquid"),Rl("prettier-plugin-marko"),Rl("@zackad/prettier-plugin-twig"),Rl("@prettier/plugin-hermes"),Rl("@prettier/plugin-oxc"),Rl("@prettier/plugin-pug"),Rl("prettier-plugin-svelte")]);return{parsers:{...t.parsers,...r.parsers,...s.parsers,...a.parsers,...u.parsers,...e.parsers,...l.parsers,...n.parsers},printers:{...u.printers,...e.printers,...n.printers}}}async function Woe(){let t=["prettier-plugin-css-order","prettier-plugin-organize-attributes","prettier-plugin-multiline-arrays","@ianvs/prettier-plugin-sort-imports","@trivago/prettier-plugin-sort-imports","prettier-plugin-organize-imports","prettier-plugin-sort-imports","prettier-plugin-jsdoc"];return await Promise.all(t.map(async r=>{let s=await Rl(r);return{name:r,mod:s}}))}function Koe(t,{env:r}){return r.context.getClassOrder(t).sort(([a,u],[e,l])=>a==="..."||a==="\u2026"?1:e==="..."||e==="\u2026"?-1:u===l?0:u===null?-1:l===null?1:fb(u-l))}function Ws(t,{env:r,ignoreFirst:s=!1,ignoreLast:a=!1,removeDuplicates:u=!0,collapseWhitespace:e={start:!0,end:!0}}){if(typeof t!="string"||t===""||t.includes("{{"))return t;if(r.options.tailwindPreserveWhitespace&&(e=!1),/^[\t\r\f\n ]+$/.test(t)&&e)return" ";let l="",n=t.split(/([\t\r\f\n ]+)/),c=n.filter((f,b)=>b%2===0),p=n.filter((f,b)=>b%2!==0);c[c.length-1]===""&&c.pop(),e&&(p=p.map(()=>" "));let i="";s&&(i=`${c.shift()??""}${p.shift()??""}`);let o="";a&&(o=`${p.pop()??""}${c.pop()??""}`);let{classList:h,removedIndices:d}=Pw(c,{env:r,removeDuplicates:u});p=p.filter((f,b)=>!d.has(b+1));for(let f=0;f<h.length;f++)l+=`${h[f]}${p[f]??""}`;return e&&(i=i.replace(/\s+$/g," "),o=o.replace(/^\s+/g," "),l=l.replace(/^\s+/,e.start?"":" ").replace(/\s+$/,e.end?"":" ")),i+l+o}function Pw(t,{env:r,removeDuplicates:s}){let a=Koe(t,{env:r});r.options.tailwindPreserveDuplicates&&(s=!1);let u=new Set;if(s){let e=new Set;a=a.filter(([l,n],c)=>e.has(l)?(u.add(c),!1):(n!==null&&e.add(l),!0))}return{classList:a.map(([e])=>e),removedIndices:u}}var Aa=await gB(),zoe=/\\(['"\\nrtbfv0-7xuU])/g;function is(t,r,s={}){let a={staticAttrs:new Set(s.staticAttrs??[]),dynamicAttrs:new Set(s.dynamicAttrs??[]),functions:new Set(s.functions??[]),staticAttrsRegex:[],dynamicAttrsRegex:[],functionsRegex:[]};return{...Aa.parsers[t],preprocess(u,e){let l=Aa.originalParser(t,e);return l.preprocess?l.preprocess(u,e):u},async parse(u,e){let l=await uB(e),n=Aa.originalParser(t,e);n.astFormat in vB&&(e.printer=vB[n.astFormat]);let c=await n.parse(u,e,e),p=dB(e,t,a),i=[];return r(c,{env:{context:l,matcher:p,parsers:{},options:e},changes:i}),t==="svelte"&&(c.changes=i),c}}}function Hoe(t,r){let s=[SB.parsers.__ng_directive,{parse:r.parsers.__js_expression}],a=[];for(let u of s)try{return u.parse(t,r.parsers,r.options)}catch(e){a.push(e)}console.warn("prettier-plugin-tailwindcss: Unable to parse angular directive"),a.forEach(u=>console.warn(u))}function Goe(t,r){let s=Hoe(t.value,r);if(!s)return;let a=[];Ol(s,{StringLiteral(u,e){if(!u.value)return;let l=Wb(e);a.push({start:u.start+1,end:u.end-1,before:u.value,after:Ws(u.value,{env:r,collapseWhitespace:l})})},TemplateLiteral(u,e){if(!u.quasis.length)return;let l=Wb(e);for(let n=0;n<u.quasis.length;n++){let c=u.quasis[n];a.push({start:c.start,end:c.end,before:c.value.raw,after:Ws(c.value.raw,{env:r,ignoreFirst:n>0&&!/^\s/.test(c.value.raw),ignoreLast:n<u.expressions.length&&!/\s$/.test(c.value.raw),collapseWhitespace:{start:l.start&&n===0,end:l.end&&n>=u.expressions.length}})})}}}),t.value=hb(t.value,a)}function _B(t,r){let{matcher:s}=r,a=Kb.parse(`let __prettier_temp__ = ${t.value}`,{parser:wB.parsers["babel-ts"]});function*u(l){for(yield l;l.parentPath;)l=l.parentPath,yield l}let e=!1;xB.visit(a,{visitLiteral(l){let c=Array.from(u(l)).find(p=>p.parent&&p.parent.value&&p.parent.value.type==="BinaryExpression"&&p.parent.value.operator==="+");if(qb(l.node)&&Vb(l.node,{env:r,collapseWhitespace:{start:(c==null?void 0:c.name)!=="right",end:(c==null?void 0:c.name)!=="left"}})){e=!0;let i=l.node.extra.raw[0],o=(0,TB.default)(l.node.value,{quotes:i==="'"?"single":"double"});l.node.value=new String(i+o+i)}this.traverse(l)},visitTemplateLiteral(l){let c=Array.from(u(l)).find(i=>i.parent&&i.parent.value&&i.parent.value.type==="BinaryExpression"&&i.parent.value.operator==="+");Op(l.node,{env:r,collapseWhitespace:{start:(c==null?void 0:c.name)!=="right",end:(c==null?void 0:c.name)!=="left"}})&&(e=!0),this.traverse(l)},visitTaggedTemplateExpression(l){let c=Array.from(u(l)).find(p=>p.parent&&p.parent.value&&p.parent.value.type==="BinaryExpression"&&p.parent.value.operator==="+");kw(l.node,s)&&Op(l.node.quasi,{env:r,collapseWhitespace:{start:(c==null?void 0:c.name)!=="right",end:(c==null?void 0:c.name)!=="left"}})&&(e=!0),this.traverse(l)}}),e&&(t.value=Kb.print(a.program.body[0].declarations[0].init).code)}function Xh(t,{env:r,changes:s}){let{matcher:a}=r,{parser:u}=r.options;for(let e of t.attrs??[])if(a.hasStaticAttr(e.name))e.value=Ws(e.value,{env:r});else if(a.hasDynamicAttr(e.name)){if(!/[`'"]/.test(e.value))continue;u==="angular"?Goe(e,r):_B(e,r)}for(let e of t.children??[])Xh(e,{env:r,changes:s})}function Joe(t,{env:r}){let{matcher:s}=r;Ol(t,{AttrNode(a,u,e){s.hasStaticAttr(a.name)&&a.value&&(e.sortTextNodes=!0)},TextNode(a,u,e){if(!e.sortTextNodes)return;let l=u.find(c=>c.parent&&c.parent.type==="ConcatStatement"),n={prev:l==null?void 0:l.parent.parts[l.index-1],next:l==null?void 0:l.parent.parts[l.index+1]};a.chars=Ws(a.chars,{env:r,ignoreFirst:n.prev&&!/^\s/.test(a.chars),ignoreLast:n.next&&!/\s$/.test(a.chars),collapseWhitespace:{start:!n.prev,end:!n.next}})},StringLiteral(a,u,e){if(!e.sortTextNodes)return;let l=u.find(n=>n.parent&&n.parent.type==="SubExpression"&&n.parent.path.original==="concat");a.value=Ws(a.value,{env:r,ignoreLast:!!l&&!/[^\S\r\n]$/.test(a.value),collapseWhitespace:{start:!1,end:!l}})}})}function Xoe(t,{env:r}){let{matcher:s}=r;function a(c){return Array.isArray(c.name)?c.name.every(p=>p.type==="TextNode"&&s.hasStaticAttr(p.value)):s.hasStaticAttr(c.name)}function u(c){let p=c[0],i=c[c.length-1];return p===i&&(p==='"'||p==="'"||p==="`")}let e=[],l=[];function n(c){for(let p=0;p<c.value.length;p++){let i=c.value[p];if(i.type==="TextNode"){let o=Ws(i.value,{env:r,ignoreFirst:p>0&&!/^\s/.test(i.value),ignoreLast:p<c.value.length-1&&!/\s$/.test(i.value),removeDuplicates:!1,collapseWhitespace:!1});l.push({start:i.position.start,end:i.position.end,before:i.value,after:o})}else(i.type==="LiquidDrop"||i.type==="LiquidVariableOutput")&&typeof i.markup=="object"&&i.markup.type==="LiquidVariable"&&Ol(i.markup.expression,{String(o){let h={...o.position};u(o.source.slice(h.start,h.end))&&(h.start+=1,h.end-=1);let d=Ws(o.value,{env:r});l.push({start:h.start,end:h.end,before:o.value,after:d})}})}}Ol(t,{LiquidTag(c){e.push(c)},HtmlElement(c){e.push(c)},AttrSingleQuoted(c){a(c)&&(e.push(c),n(c))},AttrDoubleQuoted(c){a(c)&&(e.push(c),n(c))}});for(let c of e)c.source=hb(c.source,l)}function Vb(t,{env:r,removeDuplicates:s,collapseWhitespace:a={start:!0,end:!0}}){var i,o;let u=Ws(t.value,{env:r,removeDuplicates:s,collapseWhitespace:a});if(!(u!==t.value))return!1;t.value=u;let l=((i=t.extra)==null?void 0:i.raw)??t.raw,n=l[0],c=l.slice(1,-1),p=((o=t.extra)==null?void 0:o.rawValue)??t.value;return t.extra?(c!==p&&p.includes("\\")&&(u=u.replace(zoe,"\\\\$1")),t.extra={...t.extra,rawValue:u,raw:n+u+n}):t.raw=n+u+n,!0}function qb(t){return t.type==="StringLiteral"||t.type==="Literal"&&typeof t.value=="string"}function Op(t,{env:r,removeDuplicates:s,collapseWhitespace:a={start:!0,end:!0}}){let u=!1;for(let e=0;e<t.quasis.length;e++){let l=t.quasis[e],n=l.value.raw===l.value.cooked,c=l.value.raw,p=l.value.cooked;l.value.raw=Ws(l.value.raw,{env:r,removeDuplicates:s,ignoreFirst:e>0&&!/^\s/.test(l.value.raw),ignoreLast:e<t.expressions.length&&!/\s$/.test(l.value.raw),collapseWhitespace:a&&{start:a&&a.start&&e===0,end:a&&a.end&&e>=t.expressions.length}}),l.value.cooked=n?l.value.raw:Ws(l.value.cooked,{env:r,ignoreFirst:e>0&&!/^\s/.test(l.value.cooked),ignoreLast:e<t.expressions.length&&!/\s$/.test(l.value.cooked),removeDuplicates:s,collapseWhitespace:a&&{start:a&&a.start&&e===0,end:a&&a.end&&e>=t.expressions.length}}),(l.value.raw!==c||l.value.cooked!==p)&&(u=!0)}return u}function kw(t,r){return AB(t.tag,r)}function Yoe(t,r){var s;return(s=t.arguments)!=null&&s.length?AB(t.callee,r):!1}function AB(t,r){for(;t.type==="CallExpression"||t.type==="MemberExpression";)t.type==="CallExpression"?t=t.callee:t.type==="MemberExpression"&&(t=t.object);return t.type==="Identifier"?r.hasFunction(t.name):!1}function Wb(t){let r=!0,s=!0;for(let a of t)if(a.parent&&(a.parent.type==="BinaryExpression"&&a.parent.operator==="+"&&(r&&(r=a.key!=="right"),s&&(s=a.key!=="left")),a.parent.type==="TemplateLiteral")){let u=a.node.start??null,e=a.node.end??null;for(let l of a.parent.quasis){let n=l.end??null,c=l.end??null;u!==null&&c!==null&&u-c<=2&&r&&(r=/^\s/.test(l.value.raw)),e!==null&&n!==null&&e-n<=2&&s&&(s=/\s$/.test(l.value.raw))}}return{start:r,end:s}}function po(t,{env:r}){let{matcher:s}=r;function a(u){Ol(u,(e,l)=>{let n=Wb(l);qb(e)?Vb(e,{env:r,collapseWhitespace:n}):e.type==="TemplateLiteral"?Op(e,{env:r,collapseWhitespace:n}):e.type==="TaggedTemplateExpression"&&kw(e,s)&&Op(e.quasi,{env:r,collapseWhitespace:n})})}Ol(t,{JSXAttribute(u){u=u,u.value&&typeof u.name.name=="string"&&s.hasStaticAttr(u.name.name)&&(qb(u.value)?Vb(u.value,{env:r}):u.value.type==="JSXExpressionContainer"&&a(u.value))},CallExpression(u){u=u,Yoe(u,s)&&u.arguments.forEach(e=>a(e))},TaggedTemplateExpression(u,e){if(u=u,!kw(u,s))return;let l=Wb(e);Op(u.quasi,{env:r,collapseWhitespace:l})}})}function Cw(t,{env:r}){function s(a,u){if(typeof u!="string")return u;try{return Aa.parsers.css.parse(`@import ${u};`,{...r.options}).nodes[0].params}catch(e){console.warn("[prettier-plugin-tailwindcss] Unable to parse at rule"),console.warn({name:a,params:u}),console.warn(e)}return u}t.walk(a=>{if((a.name==="plugin"||a.name==="config"||a.name==="source")&&(a.params=s(a.name,a.params)),a.type==="css-atrule"&&a.name==="apply"){let u=/\s+(?:!important|#{(['"]*)!important\1})\s*$/.test(a.params),e=a.params,l="",n="";e.startsWith('~"')&&e.endsWith('"')?(l='~"',n='"',e=e.slice(2,-1),u=!1):e.startsWith("~'")&&e.endsWith("'")&&(l="~'",n="'",e=e.slice(2,-1),u=!1),e=Ws(e,{env:r,ignoreLast:u,collapseWhitespace:{start:!1,end:!u}}),a.params=`${l}${e}${n}`}})}function PB(t,{env:r,changes:s}){let{matcher:a}=r;if(t.type==="element"||t.type==="custom-element"||t.type==="component")for(let u of t.attributes??[])a.hasStaticAttr(u.name)&&u.type==="attribute"&&u.kind==="quoted"?u.value=Ws(u.value,{env:r}):a.hasDynamicAttr(u.name)&&u.type==="attribute"&&u.kind==="expression"&&typeof u.value=="string"&&_B(u,r);for(let u of t.children??[])PB(u,{env:r,changes:s})}function Qoe(t,{env:r}){let{matcher:s}=r,a=[t];for(;a.length>0;){let u=a.pop();switch(u.type){case"File":a.push(u.program);break;case"Program":a.push(...u.body);break;case"MarkoTag":a.push(...u.attributes),a.push(u.body);break;case"MarkoTagBody":a.push(...u.body);break;case"MarkoAttribute":if(!s.hasStaticAttr(u.name))break;switch(u.value.type){case"ArrayExpression":let e=u.value.elements;for(let l of e)l.type==="StringLiteral"&&(l.value=Ws(l.value,{env:r}));break;case"StringLiteral":u.value.value=Ws(u.value.value,{env:r});break}break}}}function CB(t,{env:r,changes:s}){let{matcher:a}=r;for(let u of t.expressions??[])CB(u,{env:r,changes:s});Ol(t,{Attribute(u,e,l){a.hasStaticAttr(u.name.name)&&(l.sortTextNodes=!0)},CallExpression(u,e,l){for(;u.type==="CallExpression"||u.type==="MemberExpression";)u.type==="CallExpression"?u=u.callee:u.type==="MemberExpression"&&(u=u.property);u.type==="Identifier"&&!a.hasFunction(u.name)||(l.sortTextNodes=!0)},StringLiteral(u,e,l){if(!l.sortTextNodes)return;let n=e.find(c=>c.parent&&(c.parent.type==="BinaryConcatExpression"||c.parent.type==="BinaryAddExpression"));u.value=Ws(u.value,{env:r,ignoreFirst:(n==null?void 0:n.key)==="right"&&!/^[^\S\r\n]/.test(u.value),ignoreLast:(n==null?void 0:n.key)==="left"&&!/[^\S\r\n]$/.test(u.value),collapseWhitespace:{start:(n==null?void 0:n.key)!=="right",end:(n==null?void 0:n.key)!=="left"}})}})}function Zoe(t,{env:r}){let{matcher:s}=r;for(let l of t.tokens)l.type==="attribute"&&s.hasStaticAttr(l.name)&&(l.val=[l.val.slice(0,1),Ws(l.val.slice(1,-1),{env:r}),l.val.slice(-1)].join(""));let a=-1,u=-1,e=[];for(let l=0;l<t.tokens.length;l++)t.tokens[l].type==="class"?(a=a===-1?l:a,u=l):a!==-1&&(e.push([a,u]),a=-1,u=-1);a!==-1&&(e.push([a,u]),a=-1,u=-1);for(let[l,n]of e){let c=t.tokens.slice(l,n+1).map(i=>i.val),{classList:p}=Pw(c,{env:r,removeDuplicates:!1});for(let i=l;i<=n;i++)t.tokens[i].val=p[i-l]}}function Yh(t,{env:r,changes:s}){var u;let{matcher:a}=r;for(let e of t.attributes??[])if(!(!a.hasStaticAttr(e.name)||e.type!=="Attribute"))for(let l=0;l<e.value.length;l++){let n=e.value[l];if(n.type==="Text"){let c=n.raw===n.data;n.raw=Ws(n.raw,{env:r,ignoreFirst:l>0&&!/^\s/.test(n.raw),ignoreLast:l<e.value.length-1&&!/\s$/.test(n.raw),removeDuplicates:!0,collapseWhitespace:!1}),n.data=c?n.raw:Ws(n.data,{env:r,ignoreFirst:l>0&&!/^\s/.test(n.data),ignoreLast:l<e.value.length-1&&!/\s$/.test(n.data),removeDuplicates:!0,collapseWhitespace:!1})}else n.type==="MustacheTag"&&Ol(n.expression,{Literal(c){if(qb(c)){let p=c.raw;Vb(c,{env:r,removeDuplicates:!1,collapseWhitespace:!1})&&s.push({before:p,after:c.raw,start:c.loc.start,end:c.loc.end})}},TemplateLiteral(c){let p=c.quasis.map(o=>o.value.raw);if(Op(c,{env:r,removeDuplicates:!1,collapseWhitespace:!1}))for(let[o,h]of c.quasis.entries())s.push({before:p[o],after:h.value.raw,start:h.loc.start,end:h.loc.end})}})}for(let e of t.children??[])Yh(e,{env:r,changes:s});if(t.type==="IfBlock")for(let e of((u=t.else)==null?void 0:u.children)??[])Yh(e,{env:r,changes:s});if(t.type==="AwaitBlock"){let e=[t.pending,t.then,t.catch];for(let l of e)Yh(l,{env:r,changes:s})}t.html&&Yh(t.html,{env:r,changes:s})}var vB=(function(){let t={};if(Aa.printers["svelte-ast"]){let s=function(u,e){if(e.__mutatedOriginalText)return;e.__mutatedOriginalText=!0;let l=u.stack[0].changes;if(l!=null&&l.length){let n=(0,EB.default)(e.originalText);l=l.map(c=>({...c,start:n.toIndex(c.start.line,c.start.column+1),end:n.toIndex(c.end.line,c.end.column+1)})),e.originalText=hb(e.originalText,l)}};var r=s;let a=Aa.printers["svelte-ast"];t["svelte-ast"]={...a,print:(u,e,l)=>(s(u,e),Aa.printers["svelte-ast"].print(u,e,l)),embed:(u,e)=>(s(u,e),Aa.printers["svelte-ast"].embed(u,e))}}return t})(),Aye={html:is("html",Xh,{staticAttrs:["class"]}),glimmer:is("glimmer",Joe,{staticAttrs:["class"]}),lwc:is("lwc",Xh,{staticAttrs:["class"]}),angular:is("angular",Xh,{staticAttrs:["class"],dynamicAttrs:["[ngClass]"]}),vue:is("vue",Xh,{staticAttrs:["class"],dynamicAttrs:[":class","v-bind:class"]}),css:is("css",Cw),scss:is("scss",Cw),less:is("less",Cw),babel:is("babel",po,{staticAttrs:["class","className"]}),"babel-flow":is("babel-flow",po,{staticAttrs:["class","className"]}),flow:is("flow",po,{staticAttrs:["class","className"]}),hermes:is("hermes",po,{staticAttrs:["class","className"]}),typescript:is("typescript",po,{staticAttrs:["class","className"]}),"babel-ts":is("babel-ts",po,{staticAttrs:["class","className"]}),oxc:is("oxc",po,{staticAttrs:["class","className"]}),"oxc-ts":is("oxc-ts",po,{staticAttrs:["class","className"]}),acorn:is("acorn",po,{staticAttrs:["class","className"]}),meriyah:is("meriyah",po,{staticAttrs:["class","className"]}),__js_expression:is("__js_expression",po,{staticAttrs:["class","className"]}),...Aa.parsers.svelte?{svelte:is("svelte",Yh,{staticAttrs:["class"]})}:{},...Aa.parsers.astro?{astro:is("astro",PB,{staticAttrs:["class","className"],dynamicAttrs:["class:list","className"]})}:{},...Aa.parsers.astroExpressionParser?{astroExpressionParser:is("astroExpressionParser",po,{staticAttrs:["class"],dynamicAttrs:["class:list"]})}:{},...Aa.parsers.marko?{marko:is("marko",Qoe,{staticAttrs:["class"]})}:{},...Aa.parsers.twig?{twig:is("twig",CB,{staticAttrs:["class"]})}:{},...Aa.parsers.pug?{pug:is("pug",Zoe,{staticAttrs:["class"]})}:{},...Aa.parsers["liquid-html"]?{"liquid-html":is("liquid-html",Xoe,{staticAttrs:["class"]})}:{}};export{$oe as options,Aye as parsers,vB 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 *)
|
|
*/
|