@nil-/xit 0.1.22 → 0.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/assets/bundler.js CHANGED
@@ -1,4 +1,4 @@
1
- var iI=Object.defineProperty;var eI=Bg=>{throw TypeError(Bg)};var II=(Bg,ag,Ig)=>ag in Bg?iI(Bg,ag,{enumerable:!0,configurable:!0,writable:!0,value:Ig}):Bg[ag]=Ig;var rg=(Bg,ag,Ig)=>II(Bg,typeof ag!="symbol"?ag+"":ag,Ig),Tg=(Bg,ag,Ig)=>ag.has(Bg)||eI("Cannot "+Ig);var ig=(Bg,ag,Ig)=>(Tg(Bg,ag,"read from private field"),Ig?Ig.call(Bg):ag.get(Bg)),Rg=(Bg,ag,Ig)=>ag.has(Bg)?eI("Cannot add the same private member more than once"):ag instanceof WeakSet?ag.add(Bg):ag.set(Bg,Ig),lg=(Bg,ag,Ig,mg)=>(Tg(Bg,ag,"write to private field"),mg?mg.call(Bg,Ig):ag.set(Bg,Ig),Ig),Og=(Bg,ag,Ig)=>(Tg(Bg,ag,"access private method"),Ig);(function(){"use strict";var Bg,Pg,Ig,mg,Ng,Sg,Gg,cg,jg,Jg,bg,Vg;let Service$1=(jg=class{constructor({host:AA,port:tA}){Rg(this,Bg);Rg(this,Ig);Rg(this,mg);Rg(this,Ng);Rg(this,Sg);Rg(this,Gg);Rg(this,cg);lg(this,Gg,`${AA??"localhost"}${tA!=null?`:${tA}`:""}`),lg(this,Ig,0),lg(this,mg,null),lg(this,Ng,null),lg(this,Sg,null),lg(this,cg,null)}on_message(AA){lg(this,Sg,AA)}on_connect(AA){lg(this,mg,AA)}on_disconnect(AA){lg(this,Ng,AA)}start(){ig(this,cg)==null&&ig(this,Ig)!==1&&ig(this,Ig)!==3&&(lg(this,cg,new WebSocket(`ws://${ig(this,Gg)}`)),ig(this,cg).binaryType="arraybuffer",ig(this,cg).onopen=()=>{lg(this,Ig,1),ig(this,mg)&&ig(this,mg).call(this,ig(this,Gg))},ig(this,cg).onclose=()=>{ig(this,Ig)===1&&(ig(this,Ng)&&ig(this,Ng).call(this,ig(this,Gg)),lg(this,Ig,2),Og(this,Bg,Pg).call(this))},ig(this,cg).onerror=()=>{ig(this,Ig)!==1&&ig(this,Ig)!==3&&(lg(this,Ig,2),Og(this,Bg,Pg).call(this))},ig(this,cg).onmessage=AA=>{ig(this,Sg)&&ig(this,Sg).call(this,ig(this,Gg),new Uint8Array(AA.data))})}stop(){lg(this,Ig,3),ig(this,cg)!=null&&(ig(this,cg).close(),lg(this,cg,null))}restart(){lg(this,Ig,0)}publish(AA){ig(this,cg)!=null&&ig(this,Ig)==1&&ig(this,cg).send(AA)}send(AA,tA){AA===ig(this,Gg)&&this.publish(tA)}},Bg=new WeakSet,Pg=function(){ig(this,cg)!=null&&(ig(this,cg).close(),lg(this,cg,null)),setTimeout(()=>this.start(),1e3)},Ig=new WeakMap,mg=new WeakMap,Ng=new WeakMap,Sg=new WeakMap,Gg=new WeakMap,cg=new WeakMap,jg);const header=eA=>{const AA=new Uint8Array(4);return new DataView(AA.buffer).setUint32(0,eA,!1),AA},concat=eA=>{const AA=new Uint8Array(eA.reduce((gA,iA)=>gA+iA.length,0));let tA=0;for(const gA of eA)AA.set(gA,tA),tA+=gA.length;return AA},service_fetch=async(eA,AA,tA)=>new Promise((gA,iA)=>{const IA=new Service$1(eA),BA=setTimeout(()=>{IA.stop(),iA("timed out, cancelled")},2500);IA.on_connect(()=>IA.publish(AA)),IA.on_message((sA,CA)=>{const oA=new DataView(CA.buffer).getUint32(0,!1),QA=CA.slice(4),EA=tA(oA,QA);EA!=null&&(clearTimeout(BA),IA.stop(),gA(EA))}),IA.start()});var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(eA){return eA&&eA.__esModule&&Object.prototype.hasOwnProperty.call(eA,"default")?eA.default:eA}var indexLight={exports:{}},indexMinimal={},minimal={},aspromise=asPromise$1;function asPromise$1(eA,AA){for(var tA=new Array(arguments.length-1),gA=0,iA=2,IA=!0;iA<arguments.length;)tA[gA++]=arguments[iA++];return new Promise(function(sA,CA){tA[gA]=function(QA){if(IA)if(IA=!1,QA)CA(QA);else{for(var EA=new Array(arguments.length-1),rA=0;rA<EA.length;)EA[rA++]=arguments[rA];sA.apply(null,EA)}};try{eA.apply(AA||null,tA)}catch(oA){IA&&(IA=!1,CA(oA))}})}var base64$1={};(function(eA){var AA=eA;AA.length=function(sA){var CA=sA.length;if(!CA)return 0;for(var oA=0;--CA%4>1&&sA.charAt(CA)==="=";)++oA;return Math.ceil(sA.length*3)/4-oA};for(var tA=new Array(64),gA=new Array(123),iA=0;iA<64;)gA[tA[iA]=iA<26?iA+65:iA<52?iA+71:iA<62?iA-4:iA-59|43]=iA++;AA.encode=function(sA,CA,oA){for(var QA=null,EA=[],rA=0,lA=0,uA;CA<oA;){var cA=sA[CA++];switch(lA){case 0:EA[rA++]=tA[cA>>2],uA=(cA&3)<<4,lA=1;break;case 1:EA[rA++]=tA[uA|cA>>4],uA=(cA&15)<<2,lA=2;break;case 2:EA[rA++]=tA[uA|cA>>6],EA[rA++]=tA[cA&63],lA=0;break}rA>8191&&((QA||(QA=[])).push(String.fromCharCode.apply(String,EA)),rA=0)}return lA&&(EA[rA++]=tA[uA],EA[rA++]=61,lA===1&&(EA[rA++]=61)),QA?(rA&&QA.push(String.fromCharCode.apply(String,EA.slice(0,rA))),QA.join("")):String.fromCharCode.apply(String,EA.slice(0,rA))};var IA="invalid encoding";AA.decode=function(sA,CA,oA){for(var QA=oA,EA=0,rA,lA=0;lA<sA.length;){var uA=sA.charCodeAt(lA++);if(uA===61&&EA>1)break;if((uA=gA[uA])===void 0)throw Error(IA);switch(EA){case 0:rA=uA,EA=1;break;case 1:CA[oA++]=rA<<2|(uA&48)>>4,rA=uA,EA=2;break;case 2:CA[oA++]=(rA&15)<<4|(uA&60)>>2,rA=uA,EA=3;break;case 3:CA[oA++]=(rA&3)<<6|uA,EA=0;break}}if(EA===1)throw Error(IA);return oA-QA},AA.test=function(sA){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(sA)}})(base64$1);var eventemitter=EventEmitter;function EventEmitter(){this._listeners={}}EventEmitter.prototype.on=function(AA,tA,gA){return(this._listeners[AA]||(this._listeners[AA]=[])).push({fn:tA,ctx:gA||this}),this},EventEmitter.prototype.off=function(AA,tA){if(AA===void 0)this._listeners={};else if(tA===void 0)this._listeners[AA]=[];else for(var gA=this._listeners[AA],iA=0;iA<gA.length;)gA[iA].fn===tA?gA.splice(iA,1):++iA;return this},EventEmitter.prototype.emit=function(AA){var tA=this._listeners[AA];if(tA){for(var gA=[],iA=1;iA<arguments.length;)gA.push(arguments[iA++]);for(iA=0;iA<tA.length;)tA[iA].fn.apply(tA[iA++].ctx,gA)}return this};var float=factory(factory);function factory(eA){return typeof Float32Array<"u"?function(){var AA=new Float32Array([-0]),tA=new Uint8Array(AA.buffer),gA=tA[3]===128;function iA(CA,oA,QA){AA[0]=CA,oA[QA]=tA[0],oA[QA+1]=tA[1],oA[QA+2]=tA[2],oA[QA+3]=tA[3]}function IA(CA,oA,QA){AA[0]=CA,oA[QA]=tA[3],oA[QA+1]=tA[2],oA[QA+2]=tA[1],oA[QA+3]=tA[0]}eA.writeFloatLE=gA?iA:IA,eA.writeFloatBE=gA?IA:iA;function BA(CA,oA){return tA[0]=CA[oA],tA[1]=CA[oA+1],tA[2]=CA[oA+2],tA[3]=CA[oA+3],AA[0]}function sA(CA,oA){return tA[3]=CA[oA],tA[2]=CA[oA+1],tA[1]=CA[oA+2],tA[0]=CA[oA+3],AA[0]}eA.readFloatLE=gA?BA:sA,eA.readFloatBE=gA?sA:BA}():function(){function AA(gA,iA,IA,BA){var sA=iA<0?1:0;if(sA&&(iA=-iA),iA===0)gA(1/iA>0?0:2147483648,IA,BA);else if(isNaN(iA))gA(2143289344,IA,BA);else if(iA>34028234663852886e22)gA((sA<<31|2139095040)>>>0,IA,BA);else if(iA<11754943508222875e-54)gA((sA<<31|Math.round(iA/1401298464324817e-60))>>>0,IA,BA);else{var CA=Math.floor(Math.log(iA)/Math.LN2),oA=Math.round(iA*Math.pow(2,-CA)*8388608)&8388607;gA((sA<<31|CA+127<<23|oA)>>>0,IA,BA)}}eA.writeFloatLE=AA.bind(null,writeUintLE),eA.writeFloatBE=AA.bind(null,writeUintBE);function tA(gA,iA,IA){var BA=gA(iA,IA),sA=(BA>>31)*2+1,CA=BA>>>23&255,oA=BA&8388607;return CA===255?oA?NaN:sA*(1/0):CA===0?sA*1401298464324817e-60*oA:sA*Math.pow(2,CA-150)*(oA+8388608)}eA.readFloatLE=tA.bind(null,readUintLE),eA.readFloatBE=tA.bind(null,readUintBE)}(),typeof Float64Array<"u"?function(){var AA=new Float64Array([-0]),tA=new Uint8Array(AA.buffer),gA=tA[7]===128;function iA(CA,oA,QA){AA[0]=CA,oA[QA]=tA[0],oA[QA+1]=tA[1],oA[QA+2]=tA[2],oA[QA+3]=tA[3],oA[QA+4]=tA[4],oA[QA+5]=tA[5],oA[QA+6]=tA[6],oA[QA+7]=tA[7]}function IA(CA,oA,QA){AA[0]=CA,oA[QA]=tA[7],oA[QA+1]=tA[6],oA[QA+2]=tA[5],oA[QA+3]=tA[4],oA[QA+4]=tA[3],oA[QA+5]=tA[2],oA[QA+6]=tA[1],oA[QA+7]=tA[0]}eA.writeDoubleLE=gA?iA:IA,eA.writeDoubleBE=gA?IA:iA;function BA(CA,oA){return tA[0]=CA[oA],tA[1]=CA[oA+1],tA[2]=CA[oA+2],tA[3]=CA[oA+3],tA[4]=CA[oA+4],tA[5]=CA[oA+5],tA[6]=CA[oA+6],tA[7]=CA[oA+7],AA[0]}function sA(CA,oA){return tA[7]=CA[oA],tA[6]=CA[oA+1],tA[5]=CA[oA+2],tA[4]=CA[oA+3],tA[3]=CA[oA+4],tA[2]=CA[oA+5],tA[1]=CA[oA+6],tA[0]=CA[oA+7],AA[0]}eA.readDoubleLE=gA?BA:sA,eA.readDoubleBE=gA?sA:BA}():function(){function AA(gA,iA,IA,BA,sA,CA){var oA=BA<0?1:0;if(oA&&(BA=-BA),BA===0)gA(0,sA,CA+iA),gA(1/BA>0?0:2147483648,sA,CA+IA);else if(isNaN(BA))gA(0,sA,CA+iA),gA(2146959360,sA,CA+IA);else if(BA>17976931348623157e292)gA(0,sA,CA+iA),gA((oA<<31|2146435072)>>>0,sA,CA+IA);else{var QA;if(BA<22250738585072014e-324)QA=BA/5e-324,gA(QA>>>0,sA,CA+iA),gA((oA<<31|QA/4294967296)>>>0,sA,CA+IA);else{var EA=Math.floor(Math.log(BA)/Math.LN2);EA===1024&&(EA=1023),QA=BA*Math.pow(2,-EA),gA(QA*4503599627370496>>>0,sA,CA+iA),gA((oA<<31|EA+1023<<20|QA*1048576&1048575)>>>0,sA,CA+IA)}}}eA.writeDoubleLE=AA.bind(null,writeUintLE,0,4),eA.writeDoubleBE=AA.bind(null,writeUintBE,4,0);function tA(gA,iA,IA,BA,sA){var CA=gA(BA,sA+iA),oA=gA(BA,sA+IA),QA=(oA>>31)*2+1,EA=oA>>>20&2047,rA=4294967296*(oA&1048575)+CA;return EA===2047?rA?NaN:QA*(1/0):EA===0?QA*5e-324*rA:QA*Math.pow(2,EA-1075)*(rA+4503599627370496)}eA.readDoubleLE=tA.bind(null,readUintLE,0,4),eA.readDoubleBE=tA.bind(null,readUintBE,4,0)}(),eA}function writeUintLE(eA,AA,tA){AA[tA]=eA&255,AA[tA+1]=eA>>>8&255,AA[tA+2]=eA>>>16&255,AA[tA+3]=eA>>>24}function writeUintBE(eA,AA,tA){AA[tA]=eA>>>24,AA[tA+1]=eA>>>16&255,AA[tA+2]=eA>>>8&255,AA[tA+3]=eA&255}function readUintLE(eA,AA){return(eA[AA]|eA[AA+1]<<8|eA[AA+2]<<16|eA[AA+3]<<24)>>>0}function readUintBE(eA,AA){return(eA[AA]<<24|eA[AA+1]<<16|eA[AA+2]<<8|eA[AA+3])>>>0}var inquire_1=inquire$1;function inquire$1(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(eA){}return null}var utf8$2={};(function(eA){var AA=eA;AA.length=function(gA){for(var iA=0,IA=0,BA=0;BA<gA.length;++BA)IA=gA.charCodeAt(BA),IA<128?iA+=1:IA<2048?iA+=2:(IA&64512)===55296&&(gA.charCodeAt(BA+1)&64512)===56320?(++BA,iA+=4):iA+=3;return iA},AA.read=function(gA,iA,IA){var BA=IA-iA;if(BA<1)return"";for(var sA=null,CA=[],oA=0,QA;iA<IA;)QA=gA[iA++],QA<128?CA[oA++]=QA:QA>191&&QA<224?CA[oA++]=(QA&31)<<6|gA[iA++]&63:QA>239&&QA<365?(QA=((QA&7)<<18|(gA[iA++]&63)<<12|(gA[iA++]&63)<<6|gA[iA++]&63)-65536,CA[oA++]=55296+(QA>>10),CA[oA++]=56320+(QA&1023)):CA[oA++]=(QA&15)<<12|(gA[iA++]&63)<<6|gA[iA++]&63,oA>8191&&((sA||(sA=[])).push(String.fromCharCode.apply(String,CA)),oA=0);return sA?(oA&&sA.push(String.fromCharCode.apply(String,CA.slice(0,oA))),sA.join("")):String.fromCharCode.apply(String,CA.slice(0,oA))},AA.write=function(gA,iA,IA){for(var BA=IA,sA,CA,oA=0;oA<gA.length;++oA)sA=gA.charCodeAt(oA),sA<128?iA[IA++]=sA:sA<2048?(iA[IA++]=sA>>6|192,iA[IA++]=sA&63|128):(sA&64512)===55296&&((CA=gA.charCodeAt(oA+1))&64512)===56320?(sA=65536+((sA&1023)<<10)+(CA&1023),++oA,iA[IA++]=sA>>18|240,iA[IA++]=sA>>12&63|128,iA[IA++]=sA>>6&63|128,iA[IA++]=sA&63|128):(iA[IA++]=sA>>12|224,iA[IA++]=sA>>6&63|128,iA[IA++]=sA&63|128);return IA-BA}})(utf8$2);var pool_1=pool;function pool(eA,AA,tA){var gA=tA||8192,iA=gA>>>1,IA=null,BA=gA;return function(CA){if(CA<1||CA>iA)return eA(CA);BA+CA>gA&&(IA=eA(gA),BA=0);var oA=AA.call(IA,BA,BA+=CA);return BA&7&&(BA=(BA|7)+1),oA}}var longbits,hasRequiredLongbits;function requireLongbits(){if(hasRequiredLongbits)return longbits;hasRequiredLongbits=1,longbits=AA;var eA=requireMinimal();function AA(IA,BA){this.lo=IA>>>0,this.hi=BA>>>0}var tA=AA.zero=new AA(0,0);tA.toNumber=function(){return 0},tA.zzEncode=tA.zzDecode=function(){return this},tA.length=function(){return 1};var gA=AA.zeroHash="\0\0\0\0\0\0\0\0";AA.fromNumber=function(BA){if(BA===0)return tA;var sA=BA<0;sA&&(BA=-BA);var CA=BA>>>0,oA=(BA-CA)/4294967296>>>0;return sA&&(oA=~oA>>>0,CA=~CA>>>0,++CA>4294967295&&(CA=0,++oA>4294967295&&(oA=0))),new AA(CA,oA)},AA.from=function(BA){if(typeof BA=="number")return AA.fromNumber(BA);if(eA.isString(BA))if(eA.Long)BA=eA.Long.fromString(BA);else return AA.fromNumber(parseInt(BA,10));return BA.low||BA.high?new AA(BA.low>>>0,BA.high>>>0):tA},AA.prototype.toNumber=function(BA){if(!BA&&this.hi>>>31){var sA=~this.lo+1>>>0,CA=~this.hi>>>0;return sA||(CA=CA+1>>>0),-(sA+CA*4294967296)}return this.lo+this.hi*4294967296},AA.prototype.toLong=function(BA){return eA.Long?new eA.Long(this.lo|0,this.hi|0,!!BA):{low:this.lo|0,high:this.hi|0,unsigned:!!BA}};var iA=String.prototype.charCodeAt;return AA.fromHash=function(BA){return BA===gA?tA:new AA((iA.call(BA,0)|iA.call(BA,1)<<8|iA.call(BA,2)<<16|iA.call(BA,3)<<24)>>>0,(iA.call(BA,4)|iA.call(BA,5)<<8|iA.call(BA,6)<<16|iA.call(BA,7)<<24)>>>0)},AA.prototype.toHash=function(){return String.fromCharCode(this.lo&255,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,this.hi&255,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},AA.prototype.zzEncode=function(){var BA=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^BA)>>>0,this.lo=(this.lo<<1^BA)>>>0,this},AA.prototype.zzDecode=function(){var BA=-(this.lo&1);return this.lo=((this.lo>>>1|this.hi<<31)^BA)>>>0,this.hi=(this.hi>>>1^BA)>>>0,this},AA.prototype.length=function(){var BA=this.lo,sA=(this.lo>>>28|this.hi<<4)>>>0,CA=this.hi>>>24;return CA===0?sA===0?BA<16384?BA<128?1:2:BA<2097152?3:4:sA<16384?sA<128?5:6:sA<2097152?7:8:CA<128?9:10},longbits}var hasRequiredMinimal;function requireMinimal(){return hasRequiredMinimal||(hasRequiredMinimal=1,function(eA){var AA=eA;AA.asPromise=aspromise,AA.base64=base64$1,AA.EventEmitter=eventemitter,AA.float=float,AA.inquire=inquire_1,AA.utf8=utf8$2,AA.pool=pool_1,AA.LongBits=requireLongbits(),AA.isNode=!!(typeof commonjsGlobal<"u"&&commonjsGlobal&&commonjsGlobal.process&&commonjsGlobal.process.versions&&commonjsGlobal.process.versions.node),AA.global=AA.isNode&&commonjsGlobal||typeof window<"u"&&window||typeof self<"u"&&self||commonjsGlobal,AA.emptyArray=Object.freeze?Object.freeze([]):[],AA.emptyObject=Object.freeze?Object.freeze({}):{},AA.isInteger=Number.isInteger||function(IA){return typeof IA=="number"&&isFinite(IA)&&Math.floor(IA)===IA},AA.isString=function(IA){return typeof IA=="string"||IA instanceof String},AA.isObject=function(IA){return IA&&typeof IA=="object"},AA.isset=AA.isSet=function(IA,BA){var sA=IA[BA];return sA!=null&&IA.hasOwnProperty(BA)?typeof sA!="object"||(Array.isArray(sA)?sA.length:Object.keys(sA).length)>0:!1},AA.Buffer=function(){try{var iA=AA.inquire("buffer").Buffer;return iA.prototype.utf8Write?iA:null}catch{return null}}(),AA._Buffer_from=null,AA._Buffer_allocUnsafe=null,AA.newBuffer=function(IA){return typeof IA=="number"?AA.Buffer?AA._Buffer_allocUnsafe(IA):new AA.Array(IA):AA.Buffer?AA._Buffer_from(IA):typeof Uint8Array>"u"?IA:new Uint8Array(IA)},AA.Array=typeof Uint8Array<"u"?Uint8Array:Array,AA.Long=AA.global.dcodeIO&&AA.global.dcodeIO.Long||AA.global.Long||AA.inquire("long"),AA.key2Re=/^true|false|0|1$/,AA.key32Re=/^-?(?:0|[1-9][0-9]*)$/,AA.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,AA.longToHash=function(IA){return IA?AA.LongBits.from(IA).toHash():AA.LongBits.zeroHash},AA.longFromHash=function(IA,BA){var sA=AA.LongBits.fromHash(IA);return AA.Long?AA.Long.fromBits(sA.lo,sA.hi,BA):sA.toNumber(!!BA)};function tA(iA,IA,BA){for(var sA=Object.keys(IA),CA=0;CA<sA.length;++CA)(iA[sA[CA]]===void 0||!BA)&&(iA[sA[CA]]=IA[sA[CA]]);return iA}AA.merge=tA,AA.lcFirst=function(IA){return IA.charAt(0).toLowerCase()+IA.substring(1)};function gA(iA){function IA(BA,sA){if(!(this instanceof IA))return new IA(BA,sA);Object.defineProperty(this,"message",{get:function(){return BA}}),Error.captureStackTrace?Error.captureStackTrace(this,IA):Object.defineProperty(this,"stack",{value:new Error().stack||""}),sA&&tA(this,sA)}return IA.prototype=Object.create(Error.prototype,{constructor:{value:IA,writable:!0,enumerable:!1,configurable:!0},name:{get:function(){return iA},set:void 0,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),IA}AA.newError=gA,AA.ProtocolError=gA("ProtocolError"),AA.oneOfGetter=function(IA){for(var BA={},sA=0;sA<IA.length;++sA)BA[IA[sA]]=1;return function(){for(var CA=Object.keys(this),oA=CA.length-1;oA>-1;--oA)if(BA[CA[oA]]===1&&this[CA[oA]]!==void 0&&this[CA[oA]]!==null)return CA[oA]}},AA.oneOfSetter=function(IA){return function(BA){for(var sA=0;sA<IA.length;++sA)IA[sA]!==BA&&delete this[IA[sA]]}},AA.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},AA._configure=function(){var iA=AA.Buffer;if(!iA){AA._Buffer_from=AA._Buffer_allocUnsafe=null;return}AA._Buffer_from=iA.from!==Uint8Array.from&&iA.from||function(BA,sA){return new iA(BA,sA)},AA._Buffer_allocUnsafe=iA.allocUnsafe||function(BA){return new iA(BA)}}}(minimal)),minimal}var writer=Writer$1,util$6=requireMinimal(),BufferWriter$1,LongBits$1=util$6.LongBits,base64=util$6.base64,utf8$1=util$6.utf8;function Op(eA,AA,tA){this.fn=eA,this.len=AA,this.next=void 0,this.val=tA}function noop(){}function State(eA){this.head=eA.head,this.tail=eA.tail,this.len=eA.len,this.next=eA.states}function Writer$1(){this.len=0,this.head=new Op(noop,0,0),this.tail=this.head,this.states=null}var create$1=function eA(){return util$6.Buffer?function(){return(Writer$1.create=function(){return new BufferWriter$1})()}:function(){return new Writer$1}};Writer$1.create=create$1(),Writer$1.alloc=function eA(AA){return new util$6.Array(AA)},util$6.Array!==Array&&(Writer$1.alloc=util$6.pool(Writer$1.alloc,util$6.Array.prototype.subarray)),Writer$1.prototype._push=function eA(AA,tA,gA){return this.tail=this.tail.next=new Op(AA,tA,gA),this.len+=tA,this};function writeByte(eA,AA,tA){AA[tA]=eA&255}function writeVarint32(eA,AA,tA){for(;eA>127;)AA[tA++]=eA&127|128,eA>>>=7;AA[tA]=eA}function VarintOp(eA,AA){this.len=eA,this.next=void 0,this.val=AA}VarintOp.prototype=Object.create(Op.prototype),VarintOp.prototype.fn=writeVarint32,Writer$1.prototype.uint32=function eA(AA){return this.len+=(this.tail=this.tail.next=new VarintOp((AA=AA>>>0)<128?1:AA<16384?2:AA<2097152?3:AA<268435456?4:5,AA)).len,this},Writer$1.prototype.int32=function eA(AA){return AA<0?this._push(writeVarint64,10,LongBits$1.fromNumber(AA)):this.uint32(AA)},Writer$1.prototype.sint32=function eA(AA){return this.uint32((AA<<1^AA>>31)>>>0)};function writeVarint64(eA,AA,tA){for(;eA.hi;)AA[tA++]=eA.lo&127|128,eA.lo=(eA.lo>>>7|eA.hi<<25)>>>0,eA.hi>>>=7;for(;eA.lo>127;)AA[tA++]=eA.lo&127|128,eA.lo=eA.lo>>>7;AA[tA++]=eA.lo}Writer$1.prototype.uint64=function eA(AA){var tA=LongBits$1.from(AA);return this._push(writeVarint64,tA.length(),tA)},Writer$1.prototype.int64=Writer$1.prototype.uint64,Writer$1.prototype.sint64=function eA(AA){var tA=LongBits$1.from(AA).zzEncode();return this._push(writeVarint64,tA.length(),tA)},Writer$1.prototype.bool=function eA(AA){return this._push(writeByte,1,AA?1:0)};function writeFixed32(eA,AA,tA){AA[tA]=eA&255,AA[tA+1]=eA>>>8&255,AA[tA+2]=eA>>>16&255,AA[tA+3]=eA>>>24}Writer$1.prototype.fixed32=function eA(AA){return this._push(writeFixed32,4,AA>>>0)},Writer$1.prototype.sfixed32=Writer$1.prototype.fixed32,Writer$1.prototype.fixed64=function eA(AA){var tA=LongBits$1.from(AA);return this._push(writeFixed32,4,tA.lo)._push(writeFixed32,4,tA.hi)},Writer$1.prototype.sfixed64=Writer$1.prototype.fixed64,Writer$1.prototype.float=function eA(AA){return this._push(util$6.float.writeFloatLE,4,AA)},Writer$1.prototype.double=function eA(AA){return this._push(util$6.float.writeDoubleLE,8,AA)};var writeBytes=util$6.Array.prototype.set?function eA(AA,tA,gA){tA.set(AA,gA)}:function eA(AA,tA,gA){for(var iA=0;iA<AA.length;++iA)tA[gA+iA]=AA[iA]};Writer$1.prototype.bytes=function eA(AA){var tA=AA.length>>>0;if(!tA)return this._push(writeByte,1,0);if(util$6.isString(AA)){var gA=Writer$1.alloc(tA=base64.length(AA));base64.decode(AA,gA,0),AA=gA}return this.uint32(tA)._push(writeBytes,tA,AA)},Writer$1.prototype.string=function eA(AA){var tA=utf8$1.length(AA);return tA?this.uint32(tA)._push(utf8$1.write,tA,AA):this._push(writeByte,1,0)},Writer$1.prototype.fork=function eA(){return this.states=new State(this),this.head=this.tail=new Op(noop,0,0),this.len=0,this},Writer$1.prototype.reset=function eA(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new Op(noop,0,0),this.len=0),this},Writer$1.prototype.ldelim=function eA(){var AA=this.head,tA=this.tail,gA=this.len;return this.reset().uint32(gA),gA&&(this.tail.next=AA.next,this.tail=tA,this.len+=gA),this},Writer$1.prototype.finish=function eA(){for(var AA=this.head.next,tA=this.constructor.alloc(this.len),gA=0;AA;)AA.fn(AA.val,tA,gA),gA+=AA.len,AA=AA.next;return tA},Writer$1._configure=function(eA){BufferWriter$1=eA,Writer$1.create=create$1(),BufferWriter$1._configure()};var writer_buffer=BufferWriter,Writer=writer;(BufferWriter.prototype=Object.create(Writer.prototype)).constructor=BufferWriter;var util$5=requireMinimal();function BufferWriter(){Writer.call(this)}BufferWriter._configure=function(){BufferWriter.alloc=util$5._Buffer_allocUnsafe,BufferWriter.writeBytesBuffer=util$5.Buffer&&util$5.Buffer.prototype instanceof Uint8Array&&util$5.Buffer.prototype.set.name==="set"?function(AA,tA,gA){tA.set(AA,gA)}:function(AA,tA,gA){if(AA.copy)AA.copy(tA,gA,0,AA.length);else for(var iA=0;iA<AA.length;)tA[gA++]=AA[iA++]}},BufferWriter.prototype.bytes=function eA(AA){util$5.isString(AA)&&(AA=util$5._Buffer_from(AA,"base64"));var tA=AA.length>>>0;return this.uint32(tA),tA&&this._push(BufferWriter.writeBytesBuffer,tA,AA),this};function writeStringBuffer(eA,AA,tA){eA.length<40?util$5.utf8.write(eA,AA,tA):AA.utf8Write?AA.utf8Write(eA,tA):AA.write(eA,tA)}BufferWriter.prototype.string=function eA(AA){var tA=util$5.Buffer.byteLength(AA);return this.uint32(tA),tA&&this._push(writeStringBuffer,tA,AA),this},BufferWriter._configure();var reader=Reader$1,util$4=requireMinimal(),BufferReader$1,LongBits=util$4.LongBits,utf8=util$4.utf8;function indexOutOfRange(eA,AA){return RangeError("index out of range: "+eA.pos+" + "+(AA||1)+" > "+eA.len)}function Reader$1(eA){this.buf=eA,this.pos=0,this.len=eA.length}var create_array=typeof Uint8Array<"u"?function eA(AA){if(AA instanceof Uint8Array||Array.isArray(AA))return new Reader$1(AA);throw Error("illegal buffer")}:function eA(AA){if(Array.isArray(AA))return new Reader$1(AA);throw Error("illegal buffer")},create=function eA(){return util$4.Buffer?function(tA){return(Reader$1.create=function(iA){return util$4.Buffer.isBuffer(iA)?new BufferReader$1(iA):create_array(iA)})(tA)}:create_array};Reader$1.create=create(),Reader$1.prototype._slice=util$4.Array.prototype.subarray||util$4.Array.prototype.slice,Reader$1.prototype.uint32=function eA(){var AA=4294967295;return function(){if(AA=(this.buf[this.pos]&127)>>>0,this.buf[this.pos++]<128||(AA=(AA|(this.buf[this.pos]&127)<<7)>>>0,this.buf[this.pos++]<128)||(AA=(AA|(this.buf[this.pos]&127)<<14)>>>0,this.buf[this.pos++]<128)||(AA=(AA|(this.buf[this.pos]&127)<<21)>>>0,this.buf[this.pos++]<128)||(AA=(AA|(this.buf[this.pos]&15)<<28)>>>0,this.buf[this.pos++]<128))return AA;if((this.pos+=5)>this.len)throw this.pos=this.len,indexOutOfRange(this,10);return AA}}(),Reader$1.prototype.int32=function eA(){return this.uint32()|0},Reader$1.prototype.sint32=function eA(){var AA=this.uint32();return AA>>>1^-(AA&1)|0};function readLongVarint(){var eA=new LongBits(0,0),AA=0;if(this.len-this.pos>4){for(;AA<4;++AA)if(eA.lo=(eA.lo|(this.buf[this.pos]&127)<<AA*7)>>>0,this.buf[this.pos++]<128)return eA;if(eA.lo=(eA.lo|(this.buf[this.pos]&127)<<28)>>>0,eA.hi=(eA.hi|(this.buf[this.pos]&127)>>4)>>>0,this.buf[this.pos++]<128)return eA;AA=0}else{for(;AA<3;++AA){if(this.pos>=this.len)throw indexOutOfRange(this);if(eA.lo=(eA.lo|(this.buf[this.pos]&127)<<AA*7)>>>0,this.buf[this.pos++]<128)return eA}return eA.lo=(eA.lo|(this.buf[this.pos++]&127)<<AA*7)>>>0,eA}if(this.len-this.pos>4){for(;AA<5;++AA)if(eA.hi=(eA.hi|(this.buf[this.pos]&127)<<AA*7+3)>>>0,this.buf[this.pos++]<128)return eA}else for(;AA<5;++AA){if(this.pos>=this.len)throw indexOutOfRange(this);if(eA.hi=(eA.hi|(this.buf[this.pos]&127)<<AA*7+3)>>>0,this.buf[this.pos++]<128)return eA}throw Error("invalid varint encoding")}Reader$1.prototype.bool=function eA(){return this.uint32()!==0};function readFixed32_end(eA,AA){return(eA[AA-4]|eA[AA-3]<<8|eA[AA-2]<<16|eA[AA-1]<<24)>>>0}Reader$1.prototype.fixed32=function eA(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);return readFixed32_end(this.buf,this.pos+=4)},Reader$1.prototype.sfixed32=function eA(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);return readFixed32_end(this.buf,this.pos+=4)|0};function readFixed64(){if(this.pos+8>this.len)throw indexOutOfRange(this,8);return new LongBits(readFixed32_end(this.buf,this.pos+=4),readFixed32_end(this.buf,this.pos+=4))}Reader$1.prototype.float=function eA(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);var AA=util$4.float.readFloatLE(this.buf,this.pos);return this.pos+=4,AA},Reader$1.prototype.double=function eA(){if(this.pos+8>this.len)throw indexOutOfRange(this,4);var AA=util$4.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,AA},Reader$1.prototype.bytes=function eA(){var AA=this.uint32(),tA=this.pos,gA=this.pos+AA;if(gA>this.len)throw indexOutOfRange(this,AA);if(this.pos+=AA,Array.isArray(this.buf))return this.buf.slice(tA,gA);if(tA===gA){var iA=util$4.Buffer;return iA?iA.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,tA,gA)},Reader$1.prototype.string=function eA(){var AA=this.bytes();return utf8.read(AA,0,AA.length)},Reader$1.prototype.skip=function eA(AA){if(typeof AA=="number"){if(this.pos+AA>this.len)throw indexOutOfRange(this,AA);this.pos+=AA}else do if(this.pos>=this.len)throw indexOutOfRange(this);while(this.buf[this.pos++]&128);return this},Reader$1.prototype.skipType=function(eA){switch(eA){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;(eA=this.uint32()&7)!==4;)this.skipType(eA);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+eA+" at offset "+this.pos)}return this},Reader$1._configure=function(eA){BufferReader$1=eA,Reader$1.create=create(),BufferReader$1._configure();var AA=util$4.Long?"toLong":"toNumber";util$4.merge(Reader$1.prototype,{int64:function(){return readLongVarint.call(this)[AA](!1)},uint64:function(){return readLongVarint.call(this)[AA](!0)},sint64:function(){return readLongVarint.call(this).zzDecode()[AA](!1)},fixed64:function(){return readFixed64.call(this)[AA](!0)},sfixed64:function(){return readFixed64.call(this)[AA](!1)}})};var reader_buffer=BufferReader,Reader=reader;(BufferReader.prototype=Object.create(Reader.prototype)).constructor=BufferReader;var util$3=requireMinimal();function BufferReader(eA){Reader.call(this,eA)}BufferReader._configure=function(){util$3.Buffer&&(BufferReader.prototype._slice=util$3.Buffer.prototype.slice)},BufferReader.prototype.string=function eA(){var AA=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+AA,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+AA,this.len))},BufferReader._configure();var rpc={},service$1=Service,util$2=requireMinimal();(Service.prototype=Object.create(util$2.EventEmitter.prototype)).constructor=Service;function Service(eA,AA,tA){if(typeof eA!="function")throw TypeError("rpcImpl must be a function");util$2.EventEmitter.call(this),this.rpcImpl=eA,this.requestDelimited=!!AA,this.responseDelimited=!!tA}Service.prototype.rpcCall=function eA(AA,tA,gA,iA,IA){if(!iA)throw TypeError("request must be specified");var BA=this;if(!IA)return util$2.asPromise(eA,BA,AA,tA,gA,iA);if(!BA.rpcImpl){setTimeout(function(){IA(Error("already ended"))},0);return}try{return BA.rpcImpl(AA,tA[BA.requestDelimited?"encodeDelimited":"encode"](iA).finish(),function(CA,oA){if(CA)return BA.emit("error",CA,AA),IA(CA);if(oA===null){BA.end(!0);return}if(!(oA instanceof gA))try{oA=gA[BA.responseDelimited?"decodeDelimited":"decode"](oA)}catch(QA){return BA.emit("error",QA,AA),IA(QA)}return BA.emit("data",oA,AA),IA(null,oA)})}catch(sA){BA.emit("error",sA,AA),setTimeout(function(){IA(sA)},0);return}},Service.prototype.end=function eA(AA){return this.rpcImpl&&(AA||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this},function(eA){var AA=eA;AA.Service=service$1}(rpc);var roots={};(function(eA){var AA=eA;AA.build="minimal",AA.Writer=writer,AA.BufferWriter=writer_buffer,AA.Reader=reader,AA.BufferReader=reader_buffer,AA.util=requireMinimal(),AA.rpc=rpc,AA.roots=roots,AA.configure=tA;function tA(){AA.util._configure(),AA.Writer._configure(AA.BufferWriter),AA.Reader._configure(AA.BufferReader)}tA()})(indexMinimal);var util$1={exports:{}},codegen_1=codegen;function codegen(eA,AA){typeof eA=="string"&&(AA=eA,eA=void 0);var tA=[];function gA(IA){if(typeof IA!="string"){var BA=iA();if(codegen.verbose&&console.log("codegen: "+BA),BA="return "+BA,IA){for(var sA=Object.keys(IA),CA=new Array(sA.length+1),oA=new Array(sA.length),QA=0;QA<sA.length;)CA[QA]=sA[QA],oA[QA]=IA[sA[QA++]];return CA[QA]=BA,Function.apply(null,CA).apply(null,oA)}return Function(BA)()}for(var EA=new Array(arguments.length-1),rA=0;rA<EA.length;)EA[rA]=arguments[++rA];if(rA=0,IA=IA.replace(/%([%dfijs])/g,function(uA,cA){var hA=EA[rA++];switch(cA){case"d":case"f":return String(Number(hA));case"i":return String(Math.floor(hA));case"j":return JSON.stringify(hA);case"s":return String(hA)}return"%"}),rA!==EA.length)throw Error("parameter count mismatch");return tA.push(IA),gA}function iA(IA){return"function "+(IA||AA||"")+"("+(eA&&eA.join(",")||"")+`){
1
+ var iI=Object.defineProperty;var eI=Bg=>{throw TypeError(Bg)};var II=(Bg,ag,Ig)=>ag in Bg?iI(Bg,ag,{enumerable:!0,configurable:!0,writable:!0,value:Ig}):Bg[ag]=Ig;var rg=(Bg,ag,Ig)=>II(Bg,typeof ag!="symbol"?ag+"":ag,Ig),Tg=(Bg,ag,Ig)=>ag.has(Bg)||eI("Cannot "+Ig);var tg=(Bg,ag,Ig)=>(Tg(Bg,ag,"read from private field"),Ig?Ig.call(Bg):ag.get(Bg)),Rg=(Bg,ag,Ig)=>ag.has(Bg)?eI("Cannot add the same private member more than once"):ag instanceof WeakSet?ag.add(Bg):ag.set(Bg,Ig),cg=(Bg,ag,Ig,mg)=>(Tg(Bg,ag,"write to private field"),mg?mg.call(Bg,Ig):ag.set(Bg,Ig),Ig),Og=(Bg,ag,Ig)=>(Tg(Bg,ag,"access private method"),Ig);(function(){"use strict";var Bg,Pg,Ig,mg,Ng,Sg,Gg,lg,jg,Jg,bg,Vg;let Service$1=(jg=class{constructor({host:AA,port:tA}){Rg(this,Bg);Rg(this,Ig);Rg(this,mg);Rg(this,Ng);Rg(this,Sg);Rg(this,Gg);Rg(this,lg);cg(this,Gg,`${AA??"localhost"}${tA!=null?`:${tA}`:""}`),cg(this,Ig,0),cg(this,mg,null),cg(this,Ng,null),cg(this,Sg,null),cg(this,lg,null)}on_message(AA){cg(this,Sg,AA)}on_connect(AA){cg(this,mg,AA)}on_disconnect(AA){cg(this,Ng,AA)}start(){tg(this,lg)==null&&tg(this,Ig)!==1&&tg(this,Ig)!==3&&(cg(this,lg,new WebSocket(`ws://${tg(this,Gg)}`)),tg(this,lg).binaryType="arraybuffer",tg(this,lg).onopen=()=>{tg(this,Ig)==3?this.stop():(cg(this,Ig,1),tg(this,mg)&&tg(this,mg).call(this,tg(this,Gg)))},tg(this,lg).onclose=()=>{tg(this,Ig)===1&&(tg(this,Ng)&&tg(this,Ng).call(this,tg(this,Gg)),cg(this,Ig,2),Og(this,Bg,Pg).call(this))},tg(this,lg).onerror=()=>{tg(this,Ig)!==1&&tg(this,Ig)!==3?(cg(this,Ig,2),Og(this,Bg,Pg).call(this)):tg(this,Ig)===3&&this.stop()},tg(this,lg).onmessage=AA=>{tg(this,Sg)&&tg(this,Sg).call(this,tg(this,Gg),new Uint8Array(AA.data))})}stop(){cg(this,Ig,3),tg(this,lg)!=null&&tg(this,lg).readyState!==WebSocket.CONNECTING&&(tg(this,lg).close(),cg(this,lg,null))}restart(){cg(this,Ig,0)}publish(AA){tg(this,lg)!=null&&tg(this,Ig)==1&&tg(this,lg).send(AA)}send(AA,tA){AA===tg(this,Gg)&&this.publish(tA)}},Bg=new WeakSet,Pg=function(){tg(this,lg)!=null&&(tg(this,lg).close(),cg(this,lg,null)),setTimeout(()=>this.start(),1e3)},Ig=new WeakMap,mg=new WeakMap,Ng=new WeakMap,Sg=new WeakMap,Gg=new WeakMap,lg=new WeakMap,jg);const header=eA=>{const AA=new Uint8Array(4);return new DataView(AA.buffer).setUint32(0,eA,!1),AA},concat=eA=>{const AA=new Uint8Array(eA.reduce((gA,iA)=>gA+iA.length,0));let tA=0;for(const gA of eA)AA.set(gA,tA),tA+=gA.length;return AA},service_fetch=async(eA,AA,tA)=>new Promise((gA,iA)=>{const IA=new Service$1(eA),BA=setTimeout(()=>{IA.stop(),iA("timed out, cancelled")},2500);IA.on_connect(()=>IA.publish(AA)),IA.on_message((sA,CA)=>{const oA=new DataView(CA.buffer).getUint32(0,!1),QA=CA.slice(4),EA=tA(oA,QA);EA!=null&&(clearTimeout(BA),IA.stop(),gA(EA))}),IA.start()});var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(eA){return eA&&eA.__esModule&&Object.prototype.hasOwnProperty.call(eA,"default")?eA.default:eA}var indexLight={exports:{}},indexMinimal={},minimal={},aspromise=asPromise$1;function asPromise$1(eA,AA){for(var tA=new Array(arguments.length-1),gA=0,iA=2,IA=!0;iA<arguments.length;)tA[gA++]=arguments[iA++];return new Promise(function(sA,CA){tA[gA]=function(QA){if(IA)if(IA=!1,QA)CA(QA);else{for(var EA=new Array(arguments.length-1),rA=0;rA<EA.length;)EA[rA++]=arguments[rA];sA.apply(null,EA)}};try{eA.apply(AA||null,tA)}catch(oA){IA&&(IA=!1,CA(oA))}})}var base64$1={};(function(eA){var AA=eA;AA.length=function(sA){var CA=sA.length;if(!CA)return 0;for(var oA=0;--CA%4>1&&sA.charAt(CA)==="=";)++oA;return Math.ceil(sA.length*3)/4-oA};for(var tA=new Array(64),gA=new Array(123),iA=0;iA<64;)gA[tA[iA]=iA<26?iA+65:iA<52?iA+71:iA<62?iA-4:iA-59|43]=iA++;AA.encode=function(sA,CA,oA){for(var QA=null,EA=[],rA=0,lA=0,uA;CA<oA;){var cA=sA[CA++];switch(lA){case 0:EA[rA++]=tA[cA>>2],uA=(cA&3)<<4,lA=1;break;case 1:EA[rA++]=tA[uA|cA>>4],uA=(cA&15)<<2,lA=2;break;case 2:EA[rA++]=tA[uA|cA>>6],EA[rA++]=tA[cA&63],lA=0;break}rA>8191&&((QA||(QA=[])).push(String.fromCharCode.apply(String,EA)),rA=0)}return lA&&(EA[rA++]=tA[uA],EA[rA++]=61,lA===1&&(EA[rA++]=61)),QA?(rA&&QA.push(String.fromCharCode.apply(String,EA.slice(0,rA))),QA.join("")):String.fromCharCode.apply(String,EA.slice(0,rA))};var IA="invalid encoding";AA.decode=function(sA,CA,oA){for(var QA=oA,EA=0,rA,lA=0;lA<sA.length;){var uA=sA.charCodeAt(lA++);if(uA===61&&EA>1)break;if((uA=gA[uA])===void 0)throw Error(IA);switch(EA){case 0:rA=uA,EA=1;break;case 1:CA[oA++]=rA<<2|(uA&48)>>4,rA=uA,EA=2;break;case 2:CA[oA++]=(rA&15)<<4|(uA&60)>>2,rA=uA,EA=3;break;case 3:CA[oA++]=(rA&3)<<6|uA,EA=0;break}}if(EA===1)throw Error(IA);return oA-QA},AA.test=function(sA){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(sA)}})(base64$1);var eventemitter=EventEmitter;function EventEmitter(){this._listeners={}}EventEmitter.prototype.on=function(AA,tA,gA){return(this._listeners[AA]||(this._listeners[AA]=[])).push({fn:tA,ctx:gA||this}),this},EventEmitter.prototype.off=function(AA,tA){if(AA===void 0)this._listeners={};else if(tA===void 0)this._listeners[AA]=[];else for(var gA=this._listeners[AA],iA=0;iA<gA.length;)gA[iA].fn===tA?gA.splice(iA,1):++iA;return this},EventEmitter.prototype.emit=function(AA){var tA=this._listeners[AA];if(tA){for(var gA=[],iA=1;iA<arguments.length;)gA.push(arguments[iA++]);for(iA=0;iA<tA.length;)tA[iA].fn.apply(tA[iA++].ctx,gA)}return this};var float=factory(factory);function factory(eA){return typeof Float32Array<"u"?function(){var AA=new Float32Array([-0]),tA=new Uint8Array(AA.buffer),gA=tA[3]===128;function iA(CA,oA,QA){AA[0]=CA,oA[QA]=tA[0],oA[QA+1]=tA[1],oA[QA+2]=tA[2],oA[QA+3]=tA[3]}function IA(CA,oA,QA){AA[0]=CA,oA[QA]=tA[3],oA[QA+1]=tA[2],oA[QA+2]=tA[1],oA[QA+3]=tA[0]}eA.writeFloatLE=gA?iA:IA,eA.writeFloatBE=gA?IA:iA;function BA(CA,oA){return tA[0]=CA[oA],tA[1]=CA[oA+1],tA[2]=CA[oA+2],tA[3]=CA[oA+3],AA[0]}function sA(CA,oA){return tA[3]=CA[oA],tA[2]=CA[oA+1],tA[1]=CA[oA+2],tA[0]=CA[oA+3],AA[0]}eA.readFloatLE=gA?BA:sA,eA.readFloatBE=gA?sA:BA}():function(){function AA(gA,iA,IA,BA){var sA=iA<0?1:0;if(sA&&(iA=-iA),iA===0)gA(1/iA>0?0:2147483648,IA,BA);else if(isNaN(iA))gA(2143289344,IA,BA);else if(iA>34028234663852886e22)gA((sA<<31|2139095040)>>>0,IA,BA);else if(iA<11754943508222875e-54)gA((sA<<31|Math.round(iA/1401298464324817e-60))>>>0,IA,BA);else{var CA=Math.floor(Math.log(iA)/Math.LN2),oA=Math.round(iA*Math.pow(2,-CA)*8388608)&8388607;gA((sA<<31|CA+127<<23|oA)>>>0,IA,BA)}}eA.writeFloatLE=AA.bind(null,writeUintLE),eA.writeFloatBE=AA.bind(null,writeUintBE);function tA(gA,iA,IA){var BA=gA(iA,IA),sA=(BA>>31)*2+1,CA=BA>>>23&255,oA=BA&8388607;return CA===255?oA?NaN:sA*(1/0):CA===0?sA*1401298464324817e-60*oA:sA*Math.pow(2,CA-150)*(oA+8388608)}eA.readFloatLE=tA.bind(null,readUintLE),eA.readFloatBE=tA.bind(null,readUintBE)}(),typeof Float64Array<"u"?function(){var AA=new Float64Array([-0]),tA=new Uint8Array(AA.buffer),gA=tA[7]===128;function iA(CA,oA,QA){AA[0]=CA,oA[QA]=tA[0],oA[QA+1]=tA[1],oA[QA+2]=tA[2],oA[QA+3]=tA[3],oA[QA+4]=tA[4],oA[QA+5]=tA[5],oA[QA+6]=tA[6],oA[QA+7]=tA[7]}function IA(CA,oA,QA){AA[0]=CA,oA[QA]=tA[7],oA[QA+1]=tA[6],oA[QA+2]=tA[5],oA[QA+3]=tA[4],oA[QA+4]=tA[3],oA[QA+5]=tA[2],oA[QA+6]=tA[1],oA[QA+7]=tA[0]}eA.writeDoubleLE=gA?iA:IA,eA.writeDoubleBE=gA?IA:iA;function BA(CA,oA){return tA[0]=CA[oA],tA[1]=CA[oA+1],tA[2]=CA[oA+2],tA[3]=CA[oA+3],tA[4]=CA[oA+4],tA[5]=CA[oA+5],tA[6]=CA[oA+6],tA[7]=CA[oA+7],AA[0]}function sA(CA,oA){return tA[7]=CA[oA],tA[6]=CA[oA+1],tA[5]=CA[oA+2],tA[4]=CA[oA+3],tA[3]=CA[oA+4],tA[2]=CA[oA+5],tA[1]=CA[oA+6],tA[0]=CA[oA+7],AA[0]}eA.readDoubleLE=gA?BA:sA,eA.readDoubleBE=gA?sA:BA}():function(){function AA(gA,iA,IA,BA,sA,CA){var oA=BA<0?1:0;if(oA&&(BA=-BA),BA===0)gA(0,sA,CA+iA),gA(1/BA>0?0:2147483648,sA,CA+IA);else if(isNaN(BA))gA(0,sA,CA+iA),gA(2146959360,sA,CA+IA);else if(BA>17976931348623157e292)gA(0,sA,CA+iA),gA((oA<<31|2146435072)>>>0,sA,CA+IA);else{var QA;if(BA<22250738585072014e-324)QA=BA/5e-324,gA(QA>>>0,sA,CA+iA),gA((oA<<31|QA/4294967296)>>>0,sA,CA+IA);else{var EA=Math.floor(Math.log(BA)/Math.LN2);EA===1024&&(EA=1023),QA=BA*Math.pow(2,-EA),gA(QA*4503599627370496>>>0,sA,CA+iA),gA((oA<<31|EA+1023<<20|QA*1048576&1048575)>>>0,sA,CA+IA)}}}eA.writeDoubleLE=AA.bind(null,writeUintLE,0,4),eA.writeDoubleBE=AA.bind(null,writeUintBE,4,0);function tA(gA,iA,IA,BA,sA){var CA=gA(BA,sA+iA),oA=gA(BA,sA+IA),QA=(oA>>31)*2+1,EA=oA>>>20&2047,rA=4294967296*(oA&1048575)+CA;return EA===2047?rA?NaN:QA*(1/0):EA===0?QA*5e-324*rA:QA*Math.pow(2,EA-1075)*(rA+4503599627370496)}eA.readDoubleLE=tA.bind(null,readUintLE,0,4),eA.readDoubleBE=tA.bind(null,readUintBE,4,0)}(),eA}function writeUintLE(eA,AA,tA){AA[tA]=eA&255,AA[tA+1]=eA>>>8&255,AA[tA+2]=eA>>>16&255,AA[tA+3]=eA>>>24}function writeUintBE(eA,AA,tA){AA[tA]=eA>>>24,AA[tA+1]=eA>>>16&255,AA[tA+2]=eA>>>8&255,AA[tA+3]=eA&255}function readUintLE(eA,AA){return(eA[AA]|eA[AA+1]<<8|eA[AA+2]<<16|eA[AA+3]<<24)>>>0}function readUintBE(eA,AA){return(eA[AA]<<24|eA[AA+1]<<16|eA[AA+2]<<8|eA[AA+3])>>>0}var inquire_1=inquire$1;function inquire$1(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(eA){}return null}var utf8$2={};(function(eA){var AA=eA;AA.length=function(gA){for(var iA=0,IA=0,BA=0;BA<gA.length;++BA)IA=gA.charCodeAt(BA),IA<128?iA+=1:IA<2048?iA+=2:(IA&64512)===55296&&(gA.charCodeAt(BA+1)&64512)===56320?(++BA,iA+=4):iA+=3;return iA},AA.read=function(gA,iA,IA){var BA=IA-iA;if(BA<1)return"";for(var sA=null,CA=[],oA=0,QA;iA<IA;)QA=gA[iA++],QA<128?CA[oA++]=QA:QA>191&&QA<224?CA[oA++]=(QA&31)<<6|gA[iA++]&63:QA>239&&QA<365?(QA=((QA&7)<<18|(gA[iA++]&63)<<12|(gA[iA++]&63)<<6|gA[iA++]&63)-65536,CA[oA++]=55296+(QA>>10),CA[oA++]=56320+(QA&1023)):CA[oA++]=(QA&15)<<12|(gA[iA++]&63)<<6|gA[iA++]&63,oA>8191&&((sA||(sA=[])).push(String.fromCharCode.apply(String,CA)),oA=0);return sA?(oA&&sA.push(String.fromCharCode.apply(String,CA.slice(0,oA))),sA.join("")):String.fromCharCode.apply(String,CA.slice(0,oA))},AA.write=function(gA,iA,IA){for(var BA=IA,sA,CA,oA=0;oA<gA.length;++oA)sA=gA.charCodeAt(oA),sA<128?iA[IA++]=sA:sA<2048?(iA[IA++]=sA>>6|192,iA[IA++]=sA&63|128):(sA&64512)===55296&&((CA=gA.charCodeAt(oA+1))&64512)===56320?(sA=65536+((sA&1023)<<10)+(CA&1023),++oA,iA[IA++]=sA>>18|240,iA[IA++]=sA>>12&63|128,iA[IA++]=sA>>6&63|128,iA[IA++]=sA&63|128):(iA[IA++]=sA>>12|224,iA[IA++]=sA>>6&63|128,iA[IA++]=sA&63|128);return IA-BA}})(utf8$2);var pool_1=pool;function pool(eA,AA,tA){var gA=tA||8192,iA=gA>>>1,IA=null,BA=gA;return function(CA){if(CA<1||CA>iA)return eA(CA);BA+CA>gA&&(IA=eA(gA),BA=0);var oA=AA.call(IA,BA,BA+=CA);return BA&7&&(BA=(BA|7)+1),oA}}var longbits,hasRequiredLongbits;function requireLongbits(){if(hasRequiredLongbits)return longbits;hasRequiredLongbits=1,longbits=AA;var eA=requireMinimal();function AA(IA,BA){this.lo=IA>>>0,this.hi=BA>>>0}var tA=AA.zero=new AA(0,0);tA.toNumber=function(){return 0},tA.zzEncode=tA.zzDecode=function(){return this},tA.length=function(){return 1};var gA=AA.zeroHash="\0\0\0\0\0\0\0\0";AA.fromNumber=function(BA){if(BA===0)return tA;var sA=BA<0;sA&&(BA=-BA);var CA=BA>>>0,oA=(BA-CA)/4294967296>>>0;return sA&&(oA=~oA>>>0,CA=~CA>>>0,++CA>4294967295&&(CA=0,++oA>4294967295&&(oA=0))),new AA(CA,oA)},AA.from=function(BA){if(typeof BA=="number")return AA.fromNumber(BA);if(eA.isString(BA))if(eA.Long)BA=eA.Long.fromString(BA);else return AA.fromNumber(parseInt(BA,10));return BA.low||BA.high?new AA(BA.low>>>0,BA.high>>>0):tA},AA.prototype.toNumber=function(BA){if(!BA&&this.hi>>>31){var sA=~this.lo+1>>>0,CA=~this.hi>>>0;return sA||(CA=CA+1>>>0),-(sA+CA*4294967296)}return this.lo+this.hi*4294967296},AA.prototype.toLong=function(BA){return eA.Long?new eA.Long(this.lo|0,this.hi|0,!!BA):{low:this.lo|0,high:this.hi|0,unsigned:!!BA}};var iA=String.prototype.charCodeAt;return AA.fromHash=function(BA){return BA===gA?tA:new AA((iA.call(BA,0)|iA.call(BA,1)<<8|iA.call(BA,2)<<16|iA.call(BA,3)<<24)>>>0,(iA.call(BA,4)|iA.call(BA,5)<<8|iA.call(BA,6)<<16|iA.call(BA,7)<<24)>>>0)},AA.prototype.toHash=function(){return String.fromCharCode(this.lo&255,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,this.hi&255,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},AA.prototype.zzEncode=function(){var BA=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^BA)>>>0,this.lo=(this.lo<<1^BA)>>>0,this},AA.prototype.zzDecode=function(){var BA=-(this.lo&1);return this.lo=((this.lo>>>1|this.hi<<31)^BA)>>>0,this.hi=(this.hi>>>1^BA)>>>0,this},AA.prototype.length=function(){var BA=this.lo,sA=(this.lo>>>28|this.hi<<4)>>>0,CA=this.hi>>>24;return CA===0?sA===0?BA<16384?BA<128?1:2:BA<2097152?3:4:sA<16384?sA<128?5:6:sA<2097152?7:8:CA<128?9:10},longbits}var hasRequiredMinimal;function requireMinimal(){return hasRequiredMinimal||(hasRequiredMinimal=1,function(eA){var AA=eA;AA.asPromise=aspromise,AA.base64=base64$1,AA.EventEmitter=eventemitter,AA.float=float,AA.inquire=inquire_1,AA.utf8=utf8$2,AA.pool=pool_1,AA.LongBits=requireLongbits(),AA.isNode=!!(typeof commonjsGlobal<"u"&&commonjsGlobal&&commonjsGlobal.process&&commonjsGlobal.process.versions&&commonjsGlobal.process.versions.node),AA.global=AA.isNode&&commonjsGlobal||typeof window<"u"&&window||typeof self<"u"&&self||commonjsGlobal,AA.emptyArray=Object.freeze?Object.freeze([]):[],AA.emptyObject=Object.freeze?Object.freeze({}):{},AA.isInteger=Number.isInteger||function(IA){return typeof IA=="number"&&isFinite(IA)&&Math.floor(IA)===IA},AA.isString=function(IA){return typeof IA=="string"||IA instanceof String},AA.isObject=function(IA){return IA&&typeof IA=="object"},AA.isset=AA.isSet=function(IA,BA){var sA=IA[BA];return sA!=null&&IA.hasOwnProperty(BA)?typeof sA!="object"||(Array.isArray(sA)?sA.length:Object.keys(sA).length)>0:!1},AA.Buffer=function(){try{var iA=AA.inquire("buffer").Buffer;return iA.prototype.utf8Write?iA:null}catch{return null}}(),AA._Buffer_from=null,AA._Buffer_allocUnsafe=null,AA.newBuffer=function(IA){return typeof IA=="number"?AA.Buffer?AA._Buffer_allocUnsafe(IA):new AA.Array(IA):AA.Buffer?AA._Buffer_from(IA):typeof Uint8Array>"u"?IA:new Uint8Array(IA)},AA.Array=typeof Uint8Array<"u"?Uint8Array:Array,AA.Long=AA.global.dcodeIO&&AA.global.dcodeIO.Long||AA.global.Long||AA.inquire("long"),AA.key2Re=/^true|false|0|1$/,AA.key32Re=/^-?(?:0|[1-9][0-9]*)$/,AA.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,AA.longToHash=function(IA){return IA?AA.LongBits.from(IA).toHash():AA.LongBits.zeroHash},AA.longFromHash=function(IA,BA){var sA=AA.LongBits.fromHash(IA);return AA.Long?AA.Long.fromBits(sA.lo,sA.hi,BA):sA.toNumber(!!BA)};function tA(iA,IA,BA){for(var sA=Object.keys(IA),CA=0;CA<sA.length;++CA)(iA[sA[CA]]===void 0||!BA)&&(iA[sA[CA]]=IA[sA[CA]]);return iA}AA.merge=tA,AA.lcFirst=function(IA){return IA.charAt(0).toLowerCase()+IA.substring(1)};function gA(iA){function IA(BA,sA){if(!(this instanceof IA))return new IA(BA,sA);Object.defineProperty(this,"message",{get:function(){return BA}}),Error.captureStackTrace?Error.captureStackTrace(this,IA):Object.defineProperty(this,"stack",{value:new Error().stack||""}),sA&&tA(this,sA)}return IA.prototype=Object.create(Error.prototype,{constructor:{value:IA,writable:!0,enumerable:!1,configurable:!0},name:{get:function(){return iA},set:void 0,enumerable:!1,configurable:!0},toString:{value:function(){return this.name+": "+this.message},writable:!0,enumerable:!1,configurable:!0}}),IA}AA.newError=gA,AA.ProtocolError=gA("ProtocolError"),AA.oneOfGetter=function(IA){for(var BA={},sA=0;sA<IA.length;++sA)BA[IA[sA]]=1;return function(){for(var CA=Object.keys(this),oA=CA.length-1;oA>-1;--oA)if(BA[CA[oA]]===1&&this[CA[oA]]!==void 0&&this[CA[oA]]!==null)return CA[oA]}},AA.oneOfSetter=function(IA){return function(BA){for(var sA=0;sA<IA.length;++sA)IA[sA]!==BA&&delete this[IA[sA]]}},AA.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},AA._configure=function(){var iA=AA.Buffer;if(!iA){AA._Buffer_from=AA._Buffer_allocUnsafe=null;return}AA._Buffer_from=iA.from!==Uint8Array.from&&iA.from||function(BA,sA){return new iA(BA,sA)},AA._Buffer_allocUnsafe=iA.allocUnsafe||function(BA){return new iA(BA)}}}(minimal)),minimal}var writer=Writer$1,util$6=requireMinimal(),BufferWriter$1,LongBits$1=util$6.LongBits,base64=util$6.base64,utf8$1=util$6.utf8;function Op(eA,AA,tA){this.fn=eA,this.len=AA,this.next=void 0,this.val=tA}function noop(){}function State(eA){this.head=eA.head,this.tail=eA.tail,this.len=eA.len,this.next=eA.states}function Writer$1(){this.len=0,this.head=new Op(noop,0,0),this.tail=this.head,this.states=null}var create$1=function eA(){return util$6.Buffer?function(){return(Writer$1.create=function(){return new BufferWriter$1})()}:function(){return new Writer$1}};Writer$1.create=create$1(),Writer$1.alloc=function eA(AA){return new util$6.Array(AA)},util$6.Array!==Array&&(Writer$1.alloc=util$6.pool(Writer$1.alloc,util$6.Array.prototype.subarray)),Writer$1.prototype._push=function eA(AA,tA,gA){return this.tail=this.tail.next=new Op(AA,tA,gA),this.len+=tA,this};function writeByte(eA,AA,tA){AA[tA]=eA&255}function writeVarint32(eA,AA,tA){for(;eA>127;)AA[tA++]=eA&127|128,eA>>>=7;AA[tA]=eA}function VarintOp(eA,AA){this.len=eA,this.next=void 0,this.val=AA}VarintOp.prototype=Object.create(Op.prototype),VarintOp.prototype.fn=writeVarint32,Writer$1.prototype.uint32=function eA(AA){return this.len+=(this.tail=this.tail.next=new VarintOp((AA=AA>>>0)<128?1:AA<16384?2:AA<2097152?3:AA<268435456?4:5,AA)).len,this},Writer$1.prototype.int32=function eA(AA){return AA<0?this._push(writeVarint64,10,LongBits$1.fromNumber(AA)):this.uint32(AA)},Writer$1.prototype.sint32=function eA(AA){return this.uint32((AA<<1^AA>>31)>>>0)};function writeVarint64(eA,AA,tA){for(;eA.hi;)AA[tA++]=eA.lo&127|128,eA.lo=(eA.lo>>>7|eA.hi<<25)>>>0,eA.hi>>>=7;for(;eA.lo>127;)AA[tA++]=eA.lo&127|128,eA.lo=eA.lo>>>7;AA[tA++]=eA.lo}Writer$1.prototype.uint64=function eA(AA){var tA=LongBits$1.from(AA);return this._push(writeVarint64,tA.length(),tA)},Writer$1.prototype.int64=Writer$1.prototype.uint64,Writer$1.prototype.sint64=function eA(AA){var tA=LongBits$1.from(AA).zzEncode();return this._push(writeVarint64,tA.length(),tA)},Writer$1.prototype.bool=function eA(AA){return this._push(writeByte,1,AA?1:0)};function writeFixed32(eA,AA,tA){AA[tA]=eA&255,AA[tA+1]=eA>>>8&255,AA[tA+2]=eA>>>16&255,AA[tA+3]=eA>>>24}Writer$1.prototype.fixed32=function eA(AA){return this._push(writeFixed32,4,AA>>>0)},Writer$1.prototype.sfixed32=Writer$1.prototype.fixed32,Writer$1.prototype.fixed64=function eA(AA){var tA=LongBits$1.from(AA);return this._push(writeFixed32,4,tA.lo)._push(writeFixed32,4,tA.hi)},Writer$1.prototype.sfixed64=Writer$1.prototype.fixed64,Writer$1.prototype.float=function eA(AA){return this._push(util$6.float.writeFloatLE,4,AA)},Writer$1.prototype.double=function eA(AA){return this._push(util$6.float.writeDoubleLE,8,AA)};var writeBytes=util$6.Array.prototype.set?function eA(AA,tA,gA){tA.set(AA,gA)}:function eA(AA,tA,gA){for(var iA=0;iA<AA.length;++iA)tA[gA+iA]=AA[iA]};Writer$1.prototype.bytes=function eA(AA){var tA=AA.length>>>0;if(!tA)return this._push(writeByte,1,0);if(util$6.isString(AA)){var gA=Writer$1.alloc(tA=base64.length(AA));base64.decode(AA,gA,0),AA=gA}return this.uint32(tA)._push(writeBytes,tA,AA)},Writer$1.prototype.string=function eA(AA){var tA=utf8$1.length(AA);return tA?this.uint32(tA)._push(utf8$1.write,tA,AA):this._push(writeByte,1,0)},Writer$1.prototype.fork=function eA(){return this.states=new State(this),this.head=this.tail=new Op(noop,0,0),this.len=0,this},Writer$1.prototype.reset=function eA(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new Op(noop,0,0),this.len=0),this},Writer$1.prototype.ldelim=function eA(){var AA=this.head,tA=this.tail,gA=this.len;return this.reset().uint32(gA),gA&&(this.tail.next=AA.next,this.tail=tA,this.len+=gA),this},Writer$1.prototype.finish=function eA(){for(var AA=this.head.next,tA=this.constructor.alloc(this.len),gA=0;AA;)AA.fn(AA.val,tA,gA),gA+=AA.len,AA=AA.next;return tA},Writer$1._configure=function(eA){BufferWriter$1=eA,Writer$1.create=create$1(),BufferWriter$1._configure()};var writer_buffer=BufferWriter,Writer=writer;(BufferWriter.prototype=Object.create(Writer.prototype)).constructor=BufferWriter;var util$5=requireMinimal();function BufferWriter(){Writer.call(this)}BufferWriter._configure=function(){BufferWriter.alloc=util$5._Buffer_allocUnsafe,BufferWriter.writeBytesBuffer=util$5.Buffer&&util$5.Buffer.prototype instanceof Uint8Array&&util$5.Buffer.prototype.set.name==="set"?function(AA,tA,gA){tA.set(AA,gA)}:function(AA,tA,gA){if(AA.copy)AA.copy(tA,gA,0,AA.length);else for(var iA=0;iA<AA.length;)tA[gA++]=AA[iA++]}},BufferWriter.prototype.bytes=function eA(AA){util$5.isString(AA)&&(AA=util$5._Buffer_from(AA,"base64"));var tA=AA.length>>>0;return this.uint32(tA),tA&&this._push(BufferWriter.writeBytesBuffer,tA,AA),this};function writeStringBuffer(eA,AA,tA){eA.length<40?util$5.utf8.write(eA,AA,tA):AA.utf8Write?AA.utf8Write(eA,tA):AA.write(eA,tA)}BufferWriter.prototype.string=function eA(AA){var tA=util$5.Buffer.byteLength(AA);return this.uint32(tA),tA&&this._push(writeStringBuffer,tA,AA),this},BufferWriter._configure();var reader=Reader$1,util$4=requireMinimal(),BufferReader$1,LongBits=util$4.LongBits,utf8=util$4.utf8;function indexOutOfRange(eA,AA){return RangeError("index out of range: "+eA.pos+" + "+(AA||1)+" > "+eA.len)}function Reader$1(eA){this.buf=eA,this.pos=0,this.len=eA.length}var create_array=typeof Uint8Array<"u"?function eA(AA){if(AA instanceof Uint8Array||Array.isArray(AA))return new Reader$1(AA);throw Error("illegal buffer")}:function eA(AA){if(Array.isArray(AA))return new Reader$1(AA);throw Error("illegal buffer")},create=function eA(){return util$4.Buffer?function(tA){return(Reader$1.create=function(iA){return util$4.Buffer.isBuffer(iA)?new BufferReader$1(iA):create_array(iA)})(tA)}:create_array};Reader$1.create=create(),Reader$1.prototype._slice=util$4.Array.prototype.subarray||util$4.Array.prototype.slice,Reader$1.prototype.uint32=function eA(){var AA=4294967295;return function(){if(AA=(this.buf[this.pos]&127)>>>0,this.buf[this.pos++]<128||(AA=(AA|(this.buf[this.pos]&127)<<7)>>>0,this.buf[this.pos++]<128)||(AA=(AA|(this.buf[this.pos]&127)<<14)>>>0,this.buf[this.pos++]<128)||(AA=(AA|(this.buf[this.pos]&127)<<21)>>>0,this.buf[this.pos++]<128)||(AA=(AA|(this.buf[this.pos]&15)<<28)>>>0,this.buf[this.pos++]<128))return AA;if((this.pos+=5)>this.len)throw this.pos=this.len,indexOutOfRange(this,10);return AA}}(),Reader$1.prototype.int32=function eA(){return this.uint32()|0},Reader$1.prototype.sint32=function eA(){var AA=this.uint32();return AA>>>1^-(AA&1)|0};function readLongVarint(){var eA=new LongBits(0,0),AA=0;if(this.len-this.pos>4){for(;AA<4;++AA)if(eA.lo=(eA.lo|(this.buf[this.pos]&127)<<AA*7)>>>0,this.buf[this.pos++]<128)return eA;if(eA.lo=(eA.lo|(this.buf[this.pos]&127)<<28)>>>0,eA.hi=(eA.hi|(this.buf[this.pos]&127)>>4)>>>0,this.buf[this.pos++]<128)return eA;AA=0}else{for(;AA<3;++AA){if(this.pos>=this.len)throw indexOutOfRange(this);if(eA.lo=(eA.lo|(this.buf[this.pos]&127)<<AA*7)>>>0,this.buf[this.pos++]<128)return eA}return eA.lo=(eA.lo|(this.buf[this.pos++]&127)<<AA*7)>>>0,eA}if(this.len-this.pos>4){for(;AA<5;++AA)if(eA.hi=(eA.hi|(this.buf[this.pos]&127)<<AA*7+3)>>>0,this.buf[this.pos++]<128)return eA}else for(;AA<5;++AA){if(this.pos>=this.len)throw indexOutOfRange(this);if(eA.hi=(eA.hi|(this.buf[this.pos]&127)<<AA*7+3)>>>0,this.buf[this.pos++]<128)return eA}throw Error("invalid varint encoding")}Reader$1.prototype.bool=function eA(){return this.uint32()!==0};function readFixed32_end(eA,AA){return(eA[AA-4]|eA[AA-3]<<8|eA[AA-2]<<16|eA[AA-1]<<24)>>>0}Reader$1.prototype.fixed32=function eA(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);return readFixed32_end(this.buf,this.pos+=4)},Reader$1.prototype.sfixed32=function eA(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);return readFixed32_end(this.buf,this.pos+=4)|0};function readFixed64(){if(this.pos+8>this.len)throw indexOutOfRange(this,8);return new LongBits(readFixed32_end(this.buf,this.pos+=4),readFixed32_end(this.buf,this.pos+=4))}Reader$1.prototype.float=function eA(){if(this.pos+4>this.len)throw indexOutOfRange(this,4);var AA=util$4.float.readFloatLE(this.buf,this.pos);return this.pos+=4,AA},Reader$1.prototype.double=function eA(){if(this.pos+8>this.len)throw indexOutOfRange(this,4);var AA=util$4.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,AA},Reader$1.prototype.bytes=function eA(){var AA=this.uint32(),tA=this.pos,gA=this.pos+AA;if(gA>this.len)throw indexOutOfRange(this,AA);if(this.pos+=AA,Array.isArray(this.buf))return this.buf.slice(tA,gA);if(tA===gA){var iA=util$4.Buffer;return iA?iA.alloc(0):new this.buf.constructor(0)}return this._slice.call(this.buf,tA,gA)},Reader$1.prototype.string=function eA(){var AA=this.bytes();return utf8.read(AA,0,AA.length)},Reader$1.prototype.skip=function eA(AA){if(typeof AA=="number"){if(this.pos+AA>this.len)throw indexOutOfRange(this,AA);this.pos+=AA}else do if(this.pos>=this.len)throw indexOutOfRange(this);while(this.buf[this.pos++]&128);return this},Reader$1.prototype.skipType=function(eA){switch(eA){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;(eA=this.uint32()&7)!==4;)this.skipType(eA);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+eA+" at offset "+this.pos)}return this},Reader$1._configure=function(eA){BufferReader$1=eA,Reader$1.create=create(),BufferReader$1._configure();var AA=util$4.Long?"toLong":"toNumber";util$4.merge(Reader$1.prototype,{int64:function(){return readLongVarint.call(this)[AA](!1)},uint64:function(){return readLongVarint.call(this)[AA](!0)},sint64:function(){return readLongVarint.call(this).zzDecode()[AA](!1)},fixed64:function(){return readFixed64.call(this)[AA](!0)},sfixed64:function(){return readFixed64.call(this)[AA](!1)}})};var reader_buffer=BufferReader,Reader=reader;(BufferReader.prototype=Object.create(Reader.prototype)).constructor=BufferReader;var util$3=requireMinimal();function BufferReader(eA){Reader.call(this,eA)}BufferReader._configure=function(){util$3.Buffer&&(BufferReader.prototype._slice=util$3.Buffer.prototype.slice)},BufferReader.prototype.string=function eA(){var AA=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+AA,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+AA,this.len))},BufferReader._configure();var rpc={},service$1=Service,util$2=requireMinimal();(Service.prototype=Object.create(util$2.EventEmitter.prototype)).constructor=Service;function Service(eA,AA,tA){if(typeof eA!="function")throw TypeError("rpcImpl must be a function");util$2.EventEmitter.call(this),this.rpcImpl=eA,this.requestDelimited=!!AA,this.responseDelimited=!!tA}Service.prototype.rpcCall=function eA(AA,tA,gA,iA,IA){if(!iA)throw TypeError("request must be specified");var BA=this;if(!IA)return util$2.asPromise(eA,BA,AA,tA,gA,iA);if(!BA.rpcImpl){setTimeout(function(){IA(Error("already ended"))},0);return}try{return BA.rpcImpl(AA,tA[BA.requestDelimited?"encodeDelimited":"encode"](iA).finish(),function(CA,oA){if(CA)return BA.emit("error",CA,AA),IA(CA);if(oA===null){BA.end(!0);return}if(!(oA instanceof gA))try{oA=gA[BA.responseDelimited?"decodeDelimited":"decode"](oA)}catch(QA){return BA.emit("error",QA,AA),IA(QA)}return BA.emit("data",oA,AA),IA(null,oA)})}catch(sA){BA.emit("error",sA,AA),setTimeout(function(){IA(sA)},0);return}},Service.prototype.end=function eA(AA){return this.rpcImpl&&(AA||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this},function(eA){var AA=eA;AA.Service=service$1}(rpc);var roots={};(function(eA){var AA=eA;AA.build="minimal",AA.Writer=writer,AA.BufferWriter=writer_buffer,AA.Reader=reader,AA.BufferReader=reader_buffer,AA.util=requireMinimal(),AA.rpc=rpc,AA.roots=roots,AA.configure=tA;function tA(){AA.util._configure(),AA.Writer._configure(AA.BufferWriter),AA.Reader._configure(AA.BufferReader)}tA()})(indexMinimal);var util$1={exports:{}},codegen_1=codegen;function codegen(eA,AA){typeof eA=="string"&&(AA=eA,eA=void 0);var tA=[];function gA(IA){if(typeof IA!="string"){var BA=iA();if(codegen.verbose&&console.log("codegen: "+BA),BA="return "+BA,IA){for(var sA=Object.keys(IA),CA=new Array(sA.length+1),oA=new Array(sA.length),QA=0;QA<sA.length;)CA[QA]=sA[QA],oA[QA]=IA[sA[QA++]];return CA[QA]=BA,Function.apply(null,CA).apply(null,oA)}return Function(BA)()}for(var EA=new Array(arguments.length-1),rA=0;rA<EA.length;)EA[rA]=arguments[++rA];if(rA=0,IA=IA.replace(/%([%dfijs])/g,function(uA,cA){var hA=EA[rA++];switch(cA){case"d":case"f":return String(Number(hA));case"i":return String(Math.floor(hA));case"j":return JSON.stringify(hA);case"s":return String(hA)}return"%"}),rA!==EA.length)throw Error("parameter count mismatch");return tA.push(IA),gA}function iA(IA){return"function "+(IA||AA||"")+"("+(eA&&eA.join(",")||"")+`){
2
2
  `+tA.join(`
3
3
  `)+`
4
4
  }`}return gA.toString=iA,gA}codegen.verbose=!1;var fetch_1=fetch$1,asPromise=aspromise,inquire=inquire_1,fs$1=inquire("fs");function fetch$1(eA,AA,tA){return typeof AA=="function"?(tA=AA,AA={}):AA||(AA={}),tA?!AA.xhr&&fs$1&&fs$1.readFile?fs$1.readFile(eA,function(iA,IA){return iA&&typeof XMLHttpRequest<"u"?fetch$1.xhr(eA,AA,tA):iA?tA(iA):tA(null,AA.binary?IA:IA.toString("utf8"))}):fetch$1.xhr(eA,AA,tA):asPromise(fetch$1,this,eA,AA)}fetch$1.xhr=function eA(AA,tA,gA){var iA=new XMLHttpRequest;iA.onreadystatechange=function(){if(iA.readyState===4){if(iA.status!==0&&iA.status!==200)return gA(Error("status "+iA.status));if(tA.binary){var BA=iA.response;if(!BA){BA=[];for(var sA=0;sA<iA.responseText.length;++sA)BA.push(iA.responseText.charCodeAt(sA)&255)}return gA(null,typeof Uint8Array<"u"?new Uint8Array(BA):BA)}return gA(null,iA.responseText)}},tA.binary&&("overrideMimeType"in iA&&iA.overrideMimeType("text/plain; charset=x-user-defined"),iA.responseType="arraybuffer"),iA.open("GET",AA),iA.send()};var path={};(function(eA){var AA=eA,tA=AA.isAbsolute=function(IA){return/^(?:\/|\w+:)/.test(IA)},gA=AA.normalize=function(IA){IA=IA.replace(/\\/g,"/").replace(/\/{2,}/g,"/");var BA=IA.split("/"),sA=tA(IA),CA="";sA&&(CA=BA.shift()+"/");for(var oA=0;oA<BA.length;)BA[oA]===".."?oA>0&&BA[oA-1]!==".."?BA.splice(--oA,2):sA?BA.splice(oA,1):++oA:BA[oA]==="."?BA.splice(oA,1):++oA;return CA+BA.join("/")};AA.resolve=function(IA,BA,sA){return sA||(BA=gA(BA)),tA(BA)?BA:(sA||(IA=gA(IA)),(IA=IA.replace(/(?:\/|^)[^/]+$/,"")).length?gA(IA+"/"+BA):BA)}})(path);var types$2={},hasRequiredTypes;function requireTypes(){return hasRequiredTypes||(hasRequiredTypes=1,function(eA){var AA=eA,tA=requireUtil(),gA=["double","float","int32","uint32","sint32","fixed32","sfixed32","int64","uint64","sint64","fixed64","sfixed64","bool","string","bytes"];function iA(IA,BA){var sA=0,CA={};for(BA|=0;sA<IA.length;)CA[gA[sA+BA]]=IA[sA++];return CA}AA.basic=iA([1,5,0,0,0,5,5,0,0,0,1,1,0,2,2]),AA.defaults=iA([0,0,0,0,0,0,0,0,0,0,0,0,!1,"",tA.emptyArray,null]),AA.long=iA([0,0,0,1,1],7),AA.mapKey=iA([0,0,0,5,5,0,0,0,1,1,0,2],2),AA.packed=iA([1,5,0,0,0,5,5,0,0,0,1,1,0])}(types$2)),types$2}var field,hasRequiredField;function requireField(){if(hasRequiredField)return field;hasRequiredField=1,field=BA;var eA=requireObject();((BA.prototype=Object.create(eA.prototype)).constructor=BA).className="Field";var AA=require_enum(),tA=requireTypes(),gA=requireUtil(),iA,IA=/^required|optional|repeated$/;BA.fromJSON=function(CA,oA){return new BA(CA,oA.id,oA.type,oA.rule,oA.extend,oA.options,oA.comment)};function BA(sA,CA,oA,QA,EA,rA,lA){if(gA.isObject(QA)?(lA=EA,rA=QA,QA=EA=void 0):gA.isObject(EA)&&(lA=rA,rA=EA,EA=void 0),eA.call(this,sA,rA),!gA.isInteger(CA)||CA<0)throw TypeError("id must be a non-negative integer");if(!gA.isString(oA))throw TypeError("type must be a string");if(QA!==void 0&&!IA.test(QA=QA.toString().toLowerCase()))throw TypeError("rule must be a string rule");if(EA!==void 0&&!gA.isString(EA))throw TypeError("extend must be a string");QA==="proto3_optional"&&(QA="optional"),this.rule=QA&&QA!=="optional"?QA:void 0,this.type=oA,this.id=CA,this.extend=EA||void 0,this.required=QA==="required",this.optional=!this.required,this.repeated=QA==="repeated",this.map=!1,this.message=null,this.partOf=null,this.typeDefault=null,this.defaultValue=null,this.long=gA.Long?tA.long[oA]!==void 0:!1,this.bytes=oA==="bytes",this.resolvedType=null,this.extensionField=null,this.declaringField=null,this._packed=null,this.comment=lA}return Object.defineProperty(BA.prototype,"packed",{get:function(){return this._packed===null&&(this._packed=this.getOption("packed")!==!1),this._packed}}),BA.prototype.setOption=function(CA,oA,QA){return CA==="packed"&&(this._packed=null),eA.prototype.setOption.call(this,CA,oA,QA)},BA.prototype.toJSON=function(CA){var oA=CA?!!CA.keepComments:!1;return gA.toObject(["rule",this.rule!=="optional"&&this.rule||void 0,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",oA?this.comment:void 0])},BA.prototype.resolve=function(){if(this.resolved)return this;if((this.typeDefault=tA.defaults[this.type])===void 0?(this.resolvedType=(this.declaringField?this.declaringField.parent:this.parent).lookupTypeOrEnum(this.type),this.resolvedType instanceof iA?this.typeDefault=null:this.typeDefault=this.resolvedType.values[Object.keys(this.resolvedType.values)[0]]):this.options&&this.options.proto3_optional&&(this.typeDefault=null),this.options&&this.options.default!=null&&(this.typeDefault=this.options.default,this.resolvedType instanceof AA&&typeof this.typeDefault=="string"&&(this.typeDefault=this.resolvedType.values[this.typeDefault])),this.options&&((this.options.packed===!0||this.options.packed!==void 0&&this.resolvedType&&!(this.resolvedType instanceof AA))&&delete this.options.packed,Object.keys(this.options).length||(this.options=void 0)),this.long)this.typeDefault=gA.Long.fromNumber(this.typeDefault,this.type.charAt(0)==="u"),Object.freeze&&Object.freeze(this.typeDefault);else if(this.bytes&&typeof this.typeDefault=="string"){var CA;gA.base64.test(this.typeDefault)?gA.base64.decode(this.typeDefault,CA=gA.newBuffer(gA.base64.length(this.typeDefault)),0):gA.utf8.write(this.typeDefault,CA=gA.newBuffer(gA.utf8.length(this.typeDefault)),0),this.typeDefault=CA}return this.map?this.defaultValue=gA.emptyObject:this.repeated?this.defaultValue=gA.emptyArray:this.defaultValue=this.typeDefault,this.parent instanceof iA&&(this.parent.ctor.prototype[this.name]=this.defaultValue),eA.prototype.resolve.call(this)},BA.d=function(CA,oA,QA,EA){return typeof oA=="function"?oA=gA.decorateType(oA).name:oA&&typeof oA=="object"&&(oA=gA.decorateEnum(oA).name),function(lA,uA){gA.decorateType(lA.constructor).add(new BA(uA,CA,oA,QA,{default:EA}))}},BA._configure=function(CA){iA=CA},field}var oneof,hasRequiredOneof;function requireOneof(){if(hasRequiredOneof)return oneof;hasRequiredOneof=1,oneof=gA;var eA=requireObject();((gA.prototype=Object.create(eA.prototype)).constructor=gA).className="OneOf";var AA=requireField(),tA=requireUtil();function gA(IA,BA,sA,CA){if(Array.isArray(BA)||(sA=BA,BA=void 0),eA.call(this,IA,sA),!(BA===void 0||Array.isArray(BA)))throw TypeError("fieldNames must be an Array");this.oneof=BA||[],this.fieldsArray=[],this.comment=CA}gA.fromJSON=function(BA,sA){return new gA(BA,sA.oneof,sA.options,sA.comment)},gA.prototype.toJSON=function(BA){var sA=BA?!!BA.keepComments:!1;return tA.toObject(["options",this.options,"oneof",this.oneof,"comment",sA?this.comment:void 0])};function iA(IA){if(IA.parent)for(var BA=0;BA<IA.fieldsArray.length;++BA)IA.fieldsArray[BA].parent||IA.parent.add(IA.fieldsArray[BA])}return gA.prototype.add=function(BA){if(!(BA instanceof AA))throw TypeError("field must be a Field");return BA.parent&&BA.parent!==this.parent&&BA.parent.remove(BA),this.oneof.push(BA.name),this.fieldsArray.push(BA),BA.partOf=this,iA(this),this},gA.prototype.remove=function(BA){if(!(BA instanceof AA))throw TypeError("field must be a Field");var sA=this.fieldsArray.indexOf(BA);if(sA<0)throw Error(BA+" is not a member of "+this);return this.fieldsArray.splice(sA,1),sA=this.oneof.indexOf(BA.name),sA>-1&&this.oneof.splice(sA,1),BA.partOf=null,this},gA.prototype.onAdd=function(BA){eA.prototype.onAdd.call(this,BA);for(var sA=this,CA=0;CA<this.oneof.length;++CA){var oA=BA.get(this.oneof[CA]);oA&&!oA.partOf&&(oA.partOf=sA,sA.fieldsArray.push(oA))}iA(this)},gA.prototype.onRemove=function(BA){for(var sA=0,CA;sA<this.fieldsArray.length;++sA)(CA=this.fieldsArray[sA]).parent&&CA.parent.remove(CA);eA.prototype.onRemove.call(this,BA)},gA.d=function(){for(var BA=new Array(arguments.length),sA=0;sA<arguments.length;)BA[sA]=arguments[sA++];return function(oA,QA){tA.decorateType(oA.constructor).add(new gA(QA,BA)),Object.defineProperty(oA,QA,{get:tA.oneOfGetter(BA),set:tA.oneOfSetter(BA)})}},oneof}var namespace,hasRequiredNamespace;function requireNamespace(){if(hasRequiredNamespace)return namespace;hasRequiredNamespace=1,namespace=CA;var eA=requireObject();((CA.prototype=Object.create(eA.prototype)).constructor=CA).className="Namespace";var AA=requireField(),tA=requireUtil(),gA=requireOneof(),iA,IA,BA;CA.fromJSON=function(EA,rA){return new CA(EA,rA.options).addJSON(rA.nested)};function sA(QA,EA){if(QA&&QA.length){for(var rA={},lA=0;lA<QA.length;++lA)rA[QA[lA].name]=QA[lA].toJSON(EA);return rA}}CA.arrayToJSON=sA,CA.isReservedId=function(EA,rA){if(EA){for(var lA=0;lA<EA.length;++lA)if(typeof EA[lA]!="string"&&EA[lA][0]<=rA&&EA[lA][1]>rA)return!0}return!1},CA.isReservedName=function(EA,rA){if(EA){for(var lA=0;lA<EA.length;++lA)if(EA[lA]===rA)return!0}return!1};function CA(QA,EA){eA.call(this,QA,EA),this.nested=void 0,this._nestedArray=null}function oA(QA){return QA._nestedArray=null,QA}return Object.defineProperty(CA.prototype,"nestedArray",{get:function(){return this._nestedArray||(this._nestedArray=tA.toArray(this.nested))}}),CA.prototype.toJSON=function(EA){return tA.toObject(["options",this.options,"nested",sA(this.nestedArray,EA)])},CA.prototype.addJSON=function(EA){var rA=this;if(EA)for(var lA=Object.keys(EA),uA=0,cA;uA<lA.length;++uA)cA=EA[lA[uA]],rA.add((cA.fields!==void 0?iA.fromJSON:cA.values!==void 0?BA.fromJSON:cA.methods!==void 0?IA.fromJSON:cA.id!==void 0?AA.fromJSON:CA.fromJSON)(lA[uA],cA));return this},CA.prototype.get=function(EA){return this.nested&&this.nested[EA]||null},CA.prototype.getEnum=function(EA){if(this.nested&&this.nested[EA]instanceof BA)return this.nested[EA].values;throw Error("no such enum: "+EA)},CA.prototype.add=function(EA){if(!(EA instanceof AA&&EA.extend!==void 0||EA instanceof iA||EA instanceof gA||EA instanceof BA||EA instanceof IA||EA instanceof CA))throw TypeError("object must be a valid nested object");if(!this.nested)this.nested={};else{var rA=this.get(EA.name);if(rA)if(rA instanceof CA&&EA instanceof CA&&!(rA instanceof iA||rA instanceof IA)){for(var lA=rA.nestedArray,uA=0;uA<lA.length;++uA)EA.add(lA[uA]);this.remove(rA),this.nested||(this.nested={}),EA.setOptions(rA.options,!0)}else throw Error("duplicate name '"+EA.name+"' in "+this)}return this.nested[EA.name]=EA,EA.onAdd(this),oA(this)},CA.prototype.remove=function(EA){if(!(EA instanceof eA))throw TypeError("object must be a ReflectionObject");if(EA.parent!==this)throw Error(EA+" is not a member of "+this);return delete this.nested[EA.name],Object.keys(this.nested).length||(this.nested=void 0),EA.onRemove(this),oA(this)},CA.prototype.define=function(EA,rA){if(tA.isString(EA))EA=EA.split(".");else if(!Array.isArray(EA))throw TypeError("illegal path");if(EA&&EA.length&&EA[0]==="")throw Error("path must be relative");for(var lA=this;EA.length>0;){var uA=EA.shift();if(lA.nested&&lA.nested[uA]){if(lA=lA.nested[uA],!(lA instanceof CA))throw Error("path conflicts with non-namespace objects")}else lA.add(lA=new CA(uA))}return rA&&lA.addJSON(rA),lA},CA.prototype.resolveAll=function(){for(var EA=this.nestedArray,rA=0;rA<EA.length;)EA[rA]instanceof CA?EA[rA++].resolveAll():EA[rA++].resolve();return this.resolve()},CA.prototype.lookup=function(EA,rA,lA){if(typeof rA=="boolean"?(lA=rA,rA=void 0):rA&&!Array.isArray(rA)&&(rA=[rA]),tA.isString(EA)&&EA.length){if(EA===".")return this.root;EA=EA.split(".")}else if(!EA.length)return this;if(EA[0]==="")return this.root.lookup(EA.slice(1),rA);var uA=this.get(EA[0]);if(uA){if(EA.length===1){if(!rA||rA.indexOf(uA.constructor)>-1)return uA}else if(uA instanceof CA&&(uA=uA.lookup(EA.slice(1),rA,!0)))return uA}else for(var cA=0;cA<this.nestedArray.length;++cA)if(this._nestedArray[cA]instanceof CA&&(uA=this._nestedArray[cA].lookup(EA,rA,!0)))return uA;return this.parent===null||lA?null:this.parent.lookup(EA,rA)},CA.prototype.lookupType=function(EA){var rA=this.lookup(EA,[iA]);if(!rA)throw Error("no such type: "+EA);return rA},CA.prototype.lookupEnum=function(EA){var rA=this.lookup(EA,[BA]);if(!rA)throw Error("no such Enum '"+EA+"' in "+this);return rA},CA.prototype.lookupTypeOrEnum=function(EA){var rA=this.lookup(EA,[iA,BA]);if(!rA)throw Error("no such Type or Enum '"+EA+"' in "+this);return rA},CA.prototype.lookupService=function(EA){var rA=this.lookup(EA,[IA]);if(!rA)throw Error("no such Service '"+EA+"' in "+this);return rA},CA._configure=function(QA,EA,rA){iA=QA,IA=EA,BA=rA},namespace}var mapfield,hasRequiredMapfield;function requireMapfield(){if(hasRequiredMapfield)return mapfield;hasRequiredMapfield=1,mapfield=gA;var eA=requireField();((gA.prototype=Object.create(eA.prototype)).constructor=gA).className="MapField";var AA=requireTypes(),tA=requireUtil();function gA(iA,IA,BA,sA,CA,oA){if(eA.call(this,iA,IA,sA,void 0,void 0,CA,oA),!tA.isString(BA))throw TypeError("keyType must be a string");this.keyType=BA,this.resolvedKeyType=null,this.map=!0}return gA.fromJSON=function(IA,BA){return new gA(IA,BA.id,BA.keyType,BA.type,BA.options,BA.comment)},gA.prototype.toJSON=function(IA){var BA=IA?!!IA.keepComments:!1;return tA.toObject(["keyType",this.keyType,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",BA?this.comment:void 0])},gA.prototype.resolve=function(){if(this.resolved)return this;if(AA.mapKey[this.keyType]===void 0)throw Error("invalid key type: "+this.keyType);return eA.prototype.resolve.call(this)},gA.d=function(IA,BA,sA){return typeof sA=="function"?sA=tA.decorateType(sA).name:sA&&typeof sA=="object"&&(sA=tA.decorateEnum(sA).name),function(oA,QA){tA.decorateType(oA.constructor).add(new gA(QA,IA,BA,sA))}},mapfield}var method$1,hasRequiredMethod;function requireMethod(){if(hasRequiredMethod)return method$1;hasRequiredMethod=1,method$1=tA;var eA=requireObject();((tA.prototype=Object.create(eA.prototype)).constructor=tA).className="Method";var AA=requireUtil();function tA(gA,iA,IA,BA,sA,CA,oA,QA,EA){if(AA.isObject(sA)?(oA=sA,sA=CA=void 0):AA.isObject(CA)&&(oA=CA,CA=void 0),!(iA===void 0||AA.isString(iA)))throw TypeError("type must be a string");if(!AA.isString(IA))throw TypeError("requestType must be a string");if(!AA.isString(BA))throw TypeError("responseType must be a string");eA.call(this,gA,oA),this.type=iA||"rpc",this.requestType=IA,this.requestStream=sA?!0:void 0,this.responseType=BA,this.responseStream=CA?!0:void 0,this.resolvedRequestType=null,this.resolvedResponseType=null,this.comment=QA,this.parsedOptions=EA}return tA.fromJSON=function(iA,IA){return new tA(iA,IA.type,IA.requestType,IA.responseType,IA.requestStream,IA.responseStream,IA.options,IA.comment,IA.parsedOptions)},tA.prototype.toJSON=function(iA){var IA=iA?!!iA.keepComments:!1;return AA.toObject(["type",this.type!=="rpc"&&this.type||void 0,"requestType",this.requestType,"requestStream",this.requestStream,"responseType",this.responseType,"responseStream",this.responseStream,"options",this.options,"comment",IA?this.comment:void 0,"parsedOptions",this.parsedOptions])},tA.prototype.resolve=function(){return this.resolved?this:(this.resolvedRequestType=this.parent.lookupType(this.requestType),this.resolvedResponseType=this.parent.lookupType(this.responseType),eA.prototype.resolve.call(this))},method$1}var service,hasRequiredService;function requireService(){if(hasRequiredService)return service;hasRequiredService=1,service=iA;var eA=requireNamespace();((iA.prototype=Object.create(eA.prototype)).constructor=iA).className="Service";var AA=requireMethod(),tA=requireUtil(),gA=rpc;function iA(BA,sA){eA.call(this,BA,sA),this.methods={},this._methodsArray=null}iA.fromJSON=function(sA,CA){var oA=new iA(sA,CA.options);if(CA.methods)for(var QA=Object.keys(CA.methods),EA=0;EA<QA.length;++EA)oA.add(AA.fromJSON(QA[EA],CA.methods[QA[EA]]));return CA.nested&&oA.addJSON(CA.nested),oA.comment=CA.comment,oA},iA.prototype.toJSON=function(sA){var CA=eA.prototype.toJSON.call(this,sA),oA=sA?!!sA.keepComments:!1;return tA.toObject(["options",CA&&CA.options||void 0,"methods",eA.arrayToJSON(this.methodsArray,sA)||{},"nested",CA&&CA.nested||void 0,"comment",oA?this.comment:void 0])},Object.defineProperty(iA.prototype,"methodsArray",{get:function(){return this._methodsArray||(this._methodsArray=tA.toArray(this.methods))}});function IA(BA){return BA._methodsArray=null,BA}return iA.prototype.get=function(sA){return this.methods[sA]||eA.prototype.get.call(this,sA)},iA.prototype.resolveAll=function(){for(var sA=this.methodsArray,CA=0;CA<sA.length;++CA)sA[CA].resolve();return eA.prototype.resolve.call(this)},iA.prototype.add=function(sA){if(this.get(sA.name))throw Error("duplicate name '"+sA.name+"' in "+this);return sA instanceof AA?(this.methods[sA.name]=sA,sA.parent=this,IA(this)):eA.prototype.add.call(this,sA)},iA.prototype.remove=function(sA){if(sA instanceof AA){if(this.methods[sA.name]!==sA)throw Error(sA+" is not a member of "+this);return delete this.methods[sA.name],sA.parent=null,IA(this)}return eA.prototype.remove.call(this,sA)},iA.prototype.create=function(sA,CA,oA){for(var QA=new gA.Service(sA,CA,oA),EA=0,rA;EA<this.methodsArray.length;++EA){var lA=tA.lcFirst((rA=this._methodsArray[EA]).resolve().name).replace(/[^$\w_]/g,"");QA[lA]=tA.codegen(["r","c"],tA.isReserved(lA)?lA+"_":lA)("return this.rpcCall(m,q,s,r,c)")({m:rA,q:rA.resolvedRequestType.ctor,s:rA.resolvedResponseType.ctor})}return QA},service}var message=Message,util=requireMinimal();function Message(eA){if(eA)for(var AA=Object.keys(eA),tA=0;tA<AA.length;++tA)this[AA[tA]]=eA[AA[tA]]}Message.create=function eA(AA){return this.$type.create(AA)},Message.encode=function eA(AA,tA){return this.$type.encode(AA,tA)},Message.encodeDelimited=function eA(AA,tA){return this.$type.encodeDelimited(AA,tA)},Message.decode=function eA(AA){return this.$type.decode(AA)},Message.decodeDelimited=function eA(AA){return this.$type.decodeDelimited(AA)},Message.verify=function eA(AA){return this.$type.verify(AA)},Message.fromObject=function eA(AA){return this.$type.fromObject(AA)},Message.toObject=function eA(AA,tA){return this.$type.toObject(AA,tA)},Message.prototype.toJSON=function eA(){return this.$type.toObject(this,util.toJSONOptions)};var decoder_1,hasRequiredDecoder;function requireDecoder(){if(hasRequiredDecoder)return decoder_1;hasRequiredDecoder=1,decoder_1=iA;var eA=require_enum(),AA=requireTypes(),tA=requireUtil();function gA(IA){return"missing required '"+IA.name+"'"}function iA(IA){var BA=tA.codegen(["r","l"],IA.name+"$decode")("if(!(r instanceof Reader))")("r=Reader.create(r)")("var c=l===undefined?r.len:r.pos+l,m=new this.ctor"+(IA.fieldsArray.filter(function(rA){return rA.map}).length?",k,value":""))("while(r.pos<c){")("var t=r.uint32()");IA.group&&BA("if((t&7)===4)")("break"),BA("switch(t>>>3){");for(var sA=0;sA<IA.fieldsArray.length;++sA){var CA=IA._fieldsArray[sA].resolve(),oA=CA.resolvedType instanceof eA?"int32":CA.type,QA="m"+tA.safeProp(CA.name);BA("case %i: {",CA.id),CA.map?(BA("if(%s===util.emptyObject)",QA)("%s={}",QA)("var c2 = r.uint32()+r.pos"),AA.defaults[CA.keyType]!==void 0?BA("k=%j",AA.defaults[CA.keyType]):BA("k=null"),AA.defaults[oA]!==void 0?BA("value=%j",AA.defaults[oA]):BA("value=null"),BA("while(r.pos<c2){")("var tag2=r.uint32()")("switch(tag2>>>3){")("case 1: k=r.%s(); break",CA.keyType)("case 2:"),AA.basic[oA]===void 0?BA("value=types[%i].decode(r,r.uint32())",sA):BA("value=r.%s()",oA),BA("break")("default:")("r.skipType(tag2&7)")("break")("}")("}"),AA.long[CA.keyType]!==void 0?BA('%s[typeof k==="object"?util.longToHash(k):k]=value',QA):BA("%s[k]=value",QA)):CA.repeated?(BA("if(!(%s&&%s.length))",QA,QA)("%s=[]",QA),AA.packed[oA]!==void 0&&BA("if((t&7)===2){")("var c2=r.uint32()+r.pos")("while(r.pos<c2)")("%s.push(r.%s())",QA,oA)("}else"),AA.basic[oA]===void 0?BA(CA.resolvedType.group?"%s.push(types[%i].decode(r))":"%s.push(types[%i].decode(r,r.uint32()))",QA,sA):BA("%s.push(r.%s())",QA,oA)):AA.basic[oA]===void 0?BA(CA.resolvedType.group?"%s=types[%i].decode(r)":"%s=types[%i].decode(r,r.uint32())",QA,sA):BA("%s=r.%s()",QA,oA),BA("break")("}")}for(BA("default:")("r.skipType(t&7)")("break")("}")("}"),sA=0;sA<IA._fieldsArray.length;++sA){var EA=IA._fieldsArray[sA];EA.required&&BA("if(!m.hasOwnProperty(%j))",EA.name)("throw util.ProtocolError(%j,{instance:m})",gA(EA))}return BA("return m")}return decoder_1}var verifier_1,hasRequiredVerifier;function requireVerifier(){if(hasRequiredVerifier)return verifier_1;hasRequiredVerifier=1,verifier_1=IA;var eA=require_enum(),AA=requireUtil();function tA(BA,sA){return BA.name+": "+sA+(BA.repeated&&sA!=="array"?"[]":BA.map&&sA!=="object"?"{k:"+BA.keyType+"}":"")+" expected"}function gA(BA,sA,CA,oA){if(sA.resolvedType)if(sA.resolvedType instanceof eA){BA("switch(%s){",oA)("default:")("return%j",tA(sA,"enum value"));for(var QA=Object.keys(sA.resolvedType.values),EA=0;EA<QA.length;++EA)BA("case %i:",sA.resolvedType.values[QA[EA]]);BA("break")("}")}else BA("{")("var e=types[%i].verify(%s);",CA,oA)("if(e)")("return%j+e",sA.name+".")("}");else switch(sA.type){case"int32":case"uint32":case"sint32":case"fixed32":case"sfixed32":BA("if(!util.isInteger(%s))",oA)("return%j",tA(sA,"integer"));break;case"int64":case"uint64":case"sint64":case"fixed64":case"sfixed64":BA("if(!util.isInteger(%s)&&!(%s&&util.isInteger(%s.low)&&util.isInteger(%s.high)))",oA,oA,oA,oA)("return%j",tA(sA,"integer|Long"));break;case"float":case"double":BA('if(typeof %s!=="number")',oA)("return%j",tA(sA,"number"));break;case"bool":BA('if(typeof %s!=="boolean")',oA)("return%j",tA(sA,"boolean"));break;case"string":BA("if(!util.isString(%s))",oA)("return%j",tA(sA,"string"));break;case"bytes":BA('if(!(%s&&typeof %s.length==="number"||util.isString(%s)))',oA,oA,oA)("return%j",tA(sA,"buffer"));break}return BA}function iA(BA,sA,CA){switch(sA.keyType){case"int32":case"uint32":case"sint32":case"fixed32":case"sfixed32":BA("if(!util.key32Re.test(%s))",CA)("return%j",tA(sA,"integer key"));break;case"int64":case"uint64":case"sint64":case"fixed64":case"sfixed64":BA("if(!util.key64Re.test(%s))",CA)("return%j",tA(sA,"integer|Long key"));break;case"bool":BA("if(!util.key2Re.test(%s))",CA)("return%j",tA(sA,"boolean key"));break}return BA}function IA(BA){var sA=AA.codegen(["m"],BA.name+"$verify")('if(typeof m!=="object"||m===null)')("return%j","object expected"),CA=BA.oneofsArray,oA={};CA.length&&sA("var p={}");for(var QA=0;QA<BA.fieldsArray.length;++QA){var EA=BA._fieldsArray[QA].resolve(),rA="m"+AA.safeProp(EA.name);if(EA.optional&&sA("if(%s!=null&&m.hasOwnProperty(%j)){",rA,EA.name),EA.map)sA("if(!util.isObject(%s))",rA)("return%j",tA(EA,"object"))("var k=Object.keys(%s)",rA)("for(var i=0;i<k.length;++i){"),iA(sA,EA,"k[i]"),gA(sA,EA,QA,rA+"[k[i]]")("}");else if(EA.repeated)sA("if(!Array.isArray(%s))",rA)("return%j",tA(EA,"array"))("for(var i=0;i<%s.length;++i){",rA),gA(sA,EA,QA,rA+"[i]")("}");else{if(EA.partOf){var lA=AA.safeProp(EA.partOf.name);oA[EA.partOf.name]===1&&sA("if(p%s===1)",lA)("return%j",EA.partOf.name+": multiple values"),oA[EA.partOf.name]=1,sA("p%s=1",lA)}gA(sA,EA,QA,rA)}EA.optional&&sA("}")}return sA("return null")}return verifier_1}var converter={},hasRequiredConverter;function requireConverter(){return hasRequiredConverter||(hasRequiredConverter=1,function(eA){var AA=eA,tA=require_enum(),gA=requireUtil();function iA(BA,sA,CA,oA){var QA=!1;if(sA.resolvedType)if(sA.resolvedType instanceof tA){BA("switch(d%s){",oA);for(var EA=sA.resolvedType.values,rA=Object.keys(EA),lA=0;lA<rA.length;++lA)EA[rA[lA]]===sA.typeDefault&&!QA&&(BA("default:")('if(typeof(d%s)==="number"){m%s=d%s;break}',oA,oA,oA),sA.repeated||BA("break"),QA=!0),BA("case%j:",rA[lA])("case %i:",EA[rA[lA]])("m%s=%j",oA,EA[rA[lA]])("break");BA("}")}else BA('if(typeof d%s!=="object")',oA)("throw TypeError(%j)",sA.fullName+": object expected")("m%s=types[%i].fromObject(d%s)",oA,CA,oA);else{var uA=!1;switch(sA.type){case"double":case"float":BA("m%s=Number(d%s)",oA,oA);break;case"uint32":case"fixed32":BA("m%s=d%s>>>0",oA,oA);break;case"int32":case"sint32":case"sfixed32":BA("m%s=d%s|0",oA,oA);break;case"uint64":uA=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":BA("if(util.Long)")("(m%s=util.Long.fromValue(d%s)).unsigned=%j",oA,oA,uA)('else if(typeof d%s==="string")',oA)("m%s=parseInt(d%s,10)",oA,oA)('else if(typeof d%s==="number")',oA)("m%s=d%s",oA,oA)('else if(typeof d%s==="object")',oA)("m%s=new util.LongBits(d%s.low>>>0,d%s.high>>>0).toNumber(%s)",oA,oA,oA,uA?"true":"");break;case"bytes":BA('if(typeof d%s==="string")',oA)("util.base64.decode(d%s,m%s=util.newBuffer(util.base64.length(d%s)),0)",oA,oA,oA)("else if(d%s.length >= 0)",oA)("m%s=d%s",oA,oA);break;case"string":BA("m%s=String(d%s)",oA,oA);break;case"bool":BA("m%s=Boolean(d%s)",oA,oA);break}}return BA}AA.fromObject=function(sA){var CA=sA.fieldsArray,oA=gA.codegen(["d"],sA.name+"$fromObject")("if(d instanceof this.ctor)")("return d");if(!CA.length)return oA("return new this.ctor");oA("var m=new this.ctor");for(var QA=0;QA<CA.length;++QA){var EA=CA[QA].resolve(),rA=gA.safeProp(EA.name);EA.map?(oA("if(d%s){",rA)('if(typeof d%s!=="object")',rA)("throw TypeError(%j)",EA.fullName+": object expected")("m%s={}",rA)("for(var ks=Object.keys(d%s),i=0;i<ks.length;++i){",rA),iA(oA,EA,QA,rA+"[ks[i]]")("}")("}")):EA.repeated?(oA("if(d%s){",rA)("if(!Array.isArray(d%s))",rA)("throw TypeError(%j)",EA.fullName+": array expected")("m%s=[]",rA)("for(var i=0;i<d%s.length;++i){",rA),iA(oA,EA,QA,rA+"[i]")("}")("}")):(EA.resolvedType instanceof tA||oA("if(d%s!=null){",rA),iA(oA,EA,QA,rA),EA.resolvedType instanceof tA||oA("}"))}return oA("return m")};function IA(BA,sA,CA,oA){if(sA.resolvedType)sA.resolvedType instanceof tA?BA("d%s=o.enums===String?(types[%i].values[m%s]===undefined?m%s:types[%i].values[m%s]):m%s",oA,CA,oA,oA,CA,oA,oA):BA("d%s=types[%i].toObject(m%s,o)",oA,CA,oA);else{var QA=!1;switch(sA.type){case"double":case"float":BA("d%s=o.json&&!isFinite(m%s)?String(m%s):m%s",oA,oA,oA,oA);break;case"uint64":QA=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":BA('if(typeof m%s==="number")',oA)("d%s=o.longs===String?String(m%s):m%s",oA,oA,oA)("else")("d%s=o.longs===String?util.Long.prototype.toString.call(m%s):o.longs===Number?new util.LongBits(m%s.low>>>0,m%s.high>>>0).toNumber(%s):m%s",oA,oA,oA,oA,QA?"true":"",oA);break;case"bytes":BA("d%s=o.bytes===String?util.base64.encode(m%s,0,m%s.length):o.bytes===Array?Array.prototype.slice.call(m%s):m%s",oA,oA,oA,oA,oA);break;default:BA("d%s=m%s",oA,oA);break}}return BA}AA.toObject=function(sA){var CA=sA.fieldsArray.slice().sort(gA.compareFieldsById);if(!CA.length)return gA.codegen()("return {}");for(var oA=gA.codegen(["m","o"],sA.name+"$toObject")("if(!o)")("o={}")("var d={}"),QA=[],EA=[],rA=[],lA=0;lA<CA.length;++lA)CA[lA].partOf||(CA[lA].resolve().repeated?QA:CA[lA].map?EA:rA).push(CA[lA]);if(QA.length){for(oA("if(o.arrays||o.defaults){"),lA=0;lA<QA.length;++lA)oA("d%s=[]",gA.safeProp(QA[lA].name));oA("}")}if(EA.length){for(oA("if(o.objects||o.defaults){"),lA=0;lA<EA.length;++lA)oA("d%s={}",gA.safeProp(EA[lA].name));oA("}")}if(rA.length){for(oA("if(o.defaults){"),lA=0;lA<rA.length;++lA){var uA=rA[lA],cA=gA.safeProp(uA.name);if(uA.resolvedType instanceof tA)oA("d%s=o.enums===String?%j:%j",cA,uA.resolvedType.valuesById[uA.typeDefault],uA.typeDefault);else if(uA.long)oA("if(util.Long){")("var n=new util.Long(%i,%i,%j)",uA.typeDefault.low,uA.typeDefault.high,uA.typeDefault.unsigned)("d%s=o.longs===String?n.toString():o.longs===Number?n.toNumber():n",cA)("}else")("d%s=o.longs===String?%j:%i",cA,uA.typeDefault.toString(),uA.typeDefault.toNumber());else if(uA.bytes){var hA="["+Array.prototype.slice.call(uA.typeDefault).join(",")+"]";oA("if(o.bytes===String)d%s=%j",cA,String.fromCharCode.apply(String,uA.typeDefault))("else{")("d%s=%s",cA,hA)("if(o.bytes!==Array)d%s=util.newBuffer(d%s)",cA,cA)("}")}else oA("d%s=%j",cA,uA.typeDefault)}oA("}")}var dA=!1;for(lA=0;lA<CA.length;++lA){var uA=CA[lA],pA=sA._fieldsArray.indexOf(uA),cA=gA.safeProp(uA.name);uA.map?(dA||(dA=!0,oA("var ks2")),oA("if(m%s&&(ks2=Object.keys(m%s)).length){",cA,cA)("d%s={}",cA)("for(var j=0;j<ks2.length;++j){"),IA(oA,uA,pA,cA+"[ks2[j]]")("}")):uA.repeated?(oA("if(m%s&&m%s.length){",cA,cA)("d%s=[]",cA)("for(var j=0;j<m%s.length;++j){",cA),IA(oA,uA,pA,cA+"[j]")("}")):(oA("if(m%s!=null&&m.hasOwnProperty(%j)){",cA,uA.name),IA(oA,uA,pA,cA),uA.partOf&&oA("if(o.oneofs)")("d%s=%j",gA.safeProp(uA.partOf.name),uA.name)),oA("}")}return oA("return d")}}(converter)),converter}var wrappers={};(function(eA){var AA=eA,tA=message;AA[".google.protobuf.Any"]={fromObject:function(gA){if(gA&&gA["@type"]){var iA=gA["@type"].substring(gA["@type"].lastIndexOf("/")+1),IA=this.lookup(iA);if(IA){var BA=gA["@type"].charAt(0)==="."?gA["@type"].slice(1):gA["@type"];return BA.indexOf("/")===-1&&(BA="/"+BA),this.create({type_url:BA,value:IA.encode(IA.fromObject(gA)).finish()})}}return this.fromObject(gA)},toObject:function(gA,iA){var IA="type.googleapis.com/",BA="",sA="";if(iA&&iA.json&&gA.type_url&&gA.value){sA=gA.type_url.substring(gA.type_url.lastIndexOf("/")+1),BA=gA.type_url.substring(0,gA.type_url.lastIndexOf("/")+1);var CA=this.lookup(sA);CA&&(gA=CA.decode(gA.value))}if(!(gA instanceof this.ctor)&&gA instanceof tA){var oA=gA.$type.toObject(gA,iA),QA=gA.$type.fullName[0]==="."?gA.$type.fullName.slice(1):gA.$type.fullName;return BA===""&&(BA=IA),sA=BA+QA,oA["@type"]=sA,oA}return this.toObject(gA,iA)}}})(wrappers);var type,hasRequiredType;function requireType(){if(hasRequiredType)return type;hasRequiredType=1,type=cA;var eA=requireNamespace();((cA.prototype=Object.create(eA.prototype)).constructor=cA).className="Type";var AA=require_enum(),tA=requireOneof(),gA=requireField(),iA=requireMapfield(),IA=requireService(),BA=message,sA=reader,CA=writer,oA=requireUtil(),QA=requireEncoder(),EA=requireDecoder(),rA=requireVerifier(),lA=requireConverter(),uA=wrappers;function cA(dA,pA){eA.call(this,dA,pA),this.fields={},this.oneofs=void 0,this.extensions=void 0,this.reserved=void 0,this.group=void 0,this._fieldsById=null,this._fieldsArray=null,this._oneofsArray=null,this._ctor=null}Object.defineProperties(cA.prototype,{fieldsById:{get:function(){if(this._fieldsById)return this._fieldsById;this._fieldsById={};for(var dA=Object.keys(this.fields),pA=0;pA<dA.length;++pA){var wA=this.fields[dA[pA]],mA=wA.id;if(this._fieldsById[mA])throw Error("duplicate id "+mA+" in "+this);this._fieldsById[mA]=wA}return this._fieldsById}},fieldsArray:{get:function(){return this._fieldsArray||(this._fieldsArray=oA.toArray(this.fields))}},oneofsArray:{get:function(){return this._oneofsArray||(this._oneofsArray=oA.toArray(this.oneofs))}},ctor:{get:function(){return this._ctor||(this.ctor=cA.generateConstructor(this)())},set:function(dA){var pA=dA.prototype;pA instanceof BA||((dA.prototype=new BA).constructor=dA,oA.merge(dA.prototype,pA)),dA.$type=dA.prototype.$type=this,oA.merge(dA,BA,!0),this._ctor=dA;for(var wA=0;wA<this.fieldsArray.length;++wA)this._fieldsArray[wA].resolve();var mA={};for(wA=0;wA<this.oneofsArray.length;++wA)mA[this._oneofsArray[wA].resolve().name]={get:oA.oneOfGetter(this._oneofsArray[wA].oneof),set:oA.oneOfSetter(this._oneofsArray[wA].oneof)};wA&&Object.defineProperties(dA.prototype,mA)}}}),cA.generateConstructor=function(pA){for(var wA=oA.codegen(["p"],pA.name),mA=0,MA;mA<pA.fieldsArray.length;++mA)(MA=pA._fieldsArray[mA]).map?wA("this%s={}",oA.safeProp(MA.name)):MA.repeated&&wA("this%s=[]",oA.safeProp(MA.name));return wA("if(p)for(var ks=Object.keys(p),i=0;i<ks.length;++i)if(p[ks[i]]!=null)")("this[ks[i]]=p[ks[i]]")};function hA(dA){return dA._fieldsById=dA._fieldsArray=dA._oneofsArray=null,delete dA.encode,delete dA.decode,delete dA.verify,dA}return cA.fromJSON=function(pA,wA){var mA=new cA(pA,wA.options);mA.extensions=wA.extensions,mA.reserved=wA.reserved;for(var MA=Object.keys(wA.fields),fA=0;fA<MA.length;++fA)mA.add((typeof wA.fields[MA[fA]].keyType<"u"?iA.fromJSON:gA.fromJSON)(MA[fA],wA.fields[MA[fA]]));if(wA.oneofs)for(MA=Object.keys(wA.oneofs),fA=0;fA<MA.length;++fA)mA.add(tA.fromJSON(MA[fA],wA.oneofs[MA[fA]]));if(wA.nested)for(MA=Object.keys(wA.nested),fA=0;fA<MA.length;++fA){var LA=wA.nested[MA[fA]];mA.add((LA.id!==void 0?gA.fromJSON:LA.fields!==void 0?cA.fromJSON:LA.values!==void 0?AA.fromJSON:LA.methods!==void 0?IA.fromJSON:eA.fromJSON)(MA[fA],LA))}return wA.extensions&&wA.extensions.length&&(mA.extensions=wA.extensions),wA.reserved&&wA.reserved.length&&(mA.reserved=wA.reserved),wA.group&&(mA.group=!0),wA.comment&&(mA.comment=wA.comment),mA},cA.prototype.toJSON=function(pA){var wA=eA.prototype.toJSON.call(this,pA),mA=pA?!!pA.keepComments:!1;return oA.toObject(["options",wA&&wA.options||void 0,"oneofs",eA.arrayToJSON(this.oneofsArray,pA),"fields",eA.arrayToJSON(this.fieldsArray.filter(function(MA){return!MA.declaringField}),pA)||{},"extensions",this.extensions&&this.extensions.length?this.extensions:void 0,"reserved",this.reserved&&this.reserved.length?this.reserved:void 0,"group",this.group||void 0,"nested",wA&&wA.nested||void 0,"comment",mA?this.comment:void 0])},cA.prototype.resolveAll=function(){for(var pA=this.fieldsArray,wA=0;wA<pA.length;)pA[wA++].resolve();var mA=this.oneofsArray;for(wA=0;wA<mA.length;)mA[wA++].resolve();return eA.prototype.resolveAll.call(this)},cA.prototype.get=function(pA){return this.fields[pA]||this.oneofs&&this.oneofs[pA]||this.nested&&this.nested[pA]||null},cA.prototype.add=function(pA){if(this.get(pA.name))throw Error("duplicate name '"+pA.name+"' in "+this);if(pA instanceof gA&&pA.extend===void 0){if(this._fieldsById?this._fieldsById[pA.id]:this.fieldsById[pA.id])throw Error("duplicate id "+pA.id+" in "+this);if(this.isReservedId(pA.id))throw Error("id "+pA.id+" is reserved in "+this);if(this.isReservedName(pA.name))throw Error("name '"+pA.name+"' is reserved in "+this);return pA.parent&&pA.parent.remove(pA),this.fields[pA.name]=pA,pA.message=this,pA.onAdd(this),hA(this)}return pA instanceof tA?(this.oneofs||(this.oneofs={}),this.oneofs[pA.name]=pA,pA.onAdd(this),hA(this)):eA.prototype.add.call(this,pA)},cA.prototype.remove=function(pA){if(pA instanceof gA&&pA.extend===void 0){if(!this.fields||this.fields[pA.name]!==pA)throw Error(pA+" is not a member of "+this);return delete this.fields[pA.name],pA.parent=null,pA.onRemove(this),hA(this)}if(pA instanceof tA){if(!this.oneofs||this.oneofs[pA.name]!==pA)throw Error(pA+" is not a member of "+this);return delete this.oneofs[pA.name],pA.parent=null,pA.onRemove(this),hA(this)}return eA.prototype.remove.call(this,pA)},cA.prototype.isReservedId=function(pA){return eA.isReservedId(this.reserved,pA)},cA.prototype.isReservedName=function(pA){return eA.isReservedName(this.reserved,pA)},cA.prototype.create=function(pA){return new this.ctor(pA)},cA.prototype.setup=function(){for(var pA=this.fullName,wA=[],mA=0;mA<this.fieldsArray.length;++mA)wA.push(this._fieldsArray[mA].resolve().resolvedType);this.encode=QA(this)({Writer:CA,types:wA,util:oA}),this.decode=EA(this)({Reader:sA,types:wA,util:oA}),this.verify=rA(this)({types:wA,util:oA}),this.fromObject=lA.fromObject(this)({types:wA,util:oA}),this.toObject=lA.toObject(this)({types:wA,util:oA});var MA=uA[pA];if(MA){var fA=Object.create(this);fA.fromObject=this.fromObject,this.fromObject=MA.fromObject.bind(fA),fA.toObject=this.toObject,this.toObject=MA.toObject.bind(fA)}return this},cA.prototype.encode=function(pA,wA){return this.setup().encode(pA,wA)},cA.prototype.encodeDelimited=function(pA,wA){return this.encode(pA,wA&&wA.len?wA.fork():wA).ldelim()},cA.prototype.decode=function(pA,wA){return this.setup().decode(pA,wA)},cA.prototype.decodeDelimited=function(pA){return pA instanceof sA||(pA=sA.create(pA)),this.decode(pA,pA.uint32())},cA.prototype.verify=function(pA){return this.setup().verify(pA)},cA.prototype.fromObject=function(pA){return this.setup().fromObject(pA)},cA.prototype.toObject=function(pA,wA){return this.setup().toObject(pA,wA)},cA.d=function(pA){return function(mA){oA.decorateType(mA,pA)}},type}var root,hasRequiredRoot;function requireRoot(){if(hasRequiredRoot)return root;hasRequiredRoot=1,root=CA;var eA=requireNamespace();((CA.prototype=Object.create(eA.prototype)).constructor=CA).className="Root";var AA=requireField(),tA=require_enum(),gA=requireOneof(),iA=requireUtil(),IA,BA,sA;function CA(rA){eA.call(this,"",rA),this.deferred=[],this.files=[]}CA.fromJSON=function(lA,uA){return uA||(uA=new CA),lA.options&&uA.setOptions(lA.options),uA.addJSON(lA.nested)},CA.prototype.resolvePath=iA.path.resolve,CA.prototype.fetch=iA.fetch;function oA(){}CA.prototype.load=function rA(lA,uA,cA){typeof uA=="function"&&(cA=uA,uA=void 0);var hA=this;if(!cA)return iA.asPromise(rA,hA,lA,uA);var dA=cA===oA;function pA(bA,JA){if(cA){if(dA)throw bA;var RA=cA;cA=null,RA(bA,JA)}}function wA(bA){var JA=bA.lastIndexOf("google/protobuf/");if(JA>-1){var RA=bA.substring(JA);if(RA in sA)return RA}return null}function mA(bA,JA){try{if(iA.isString(JA)&&JA.charAt(0)==="{"&&(JA=JSON.parse(JA)),!iA.isString(JA))hA.setOptions(JA.options).addJSON(JA.nested);else{BA.filename=bA;var RA=BA(JA,hA,uA),NA,FA=0;if(RA.imports)for(;FA<RA.imports.length;++FA)(NA=wA(RA.imports[FA])||hA.resolvePath(bA,RA.imports[FA]))&&MA(NA);if(RA.weakImports)for(FA=0;FA<RA.weakImports.length;++FA)(NA=wA(RA.weakImports[FA])||hA.resolvePath(bA,RA.weakImports[FA]))&&MA(NA,!0)}}catch(vA){pA(vA)}!dA&&!fA&&pA(null,hA)}function MA(bA,JA){if(bA=wA(bA)||bA,!(hA.files.indexOf(bA)>-1)){if(hA.files.push(bA),bA in sA){dA?mA(bA,sA[bA]):(++fA,setTimeout(function(){--fA,mA(bA,sA[bA])}));return}if(dA){var RA;try{RA=iA.fs.readFileSync(bA).toString("utf8")}catch(NA){JA||pA(NA);return}mA(bA,RA)}else++fA,hA.fetch(bA,function(NA,FA){if(--fA,!!cA){if(NA){JA?fA||pA(null,hA):pA(NA);return}mA(bA,FA)}})}}var fA=0;iA.isString(lA)&&(lA=[lA]);for(var LA=0,_A;LA<lA.length;++LA)(_A=hA.resolvePath("",lA[LA]))&&MA(_A);if(dA)return hA;fA||pA(null,hA)},CA.prototype.loadSync=function(lA,uA){if(!iA.isNode)throw Error("not supported");return this.load(lA,uA,oA)},CA.prototype.resolveAll=function(){if(this.deferred.length)throw Error("unresolvable extensions: "+this.deferred.map(function(lA){return"'extend "+lA.extend+"' in "+lA.parent.fullName}).join(", "));return eA.prototype.resolveAll.call(this)};var QA=/^[A-Z]/;function EA(rA,lA){var uA=lA.parent.lookup(lA.extend);if(uA){var cA=new AA(lA.fullName,lA.id,lA.type,lA.rule,void 0,lA.options);return uA.get(cA.name)||(cA.declaringField=lA,lA.extensionField=cA,uA.add(cA)),!0}return!1}return CA.prototype._handleAdd=function(lA){if(lA instanceof AA)lA.extend!==void 0&&!lA.extensionField&&(EA(this,lA)||this.deferred.push(lA));else if(lA instanceof tA)QA.test(lA.name)&&(lA.parent[lA.name]=lA.values);else if(!(lA instanceof gA)){if(lA instanceof IA)for(var uA=0;uA<this.deferred.length;)EA(this,this.deferred[uA])?this.deferred.splice(uA,1):++uA;for(var cA=0;cA<lA.nestedArray.length;++cA)this._handleAdd(lA._nestedArray[cA]);QA.test(lA.name)&&(lA.parent[lA.name]=lA)}},CA.prototype._handleRemove=function(lA){if(lA instanceof AA){if(lA.extend!==void 0)if(lA.extensionField)lA.extensionField.parent.remove(lA.extensionField),lA.extensionField=null;else{var uA=this.deferred.indexOf(lA);uA>-1&&this.deferred.splice(uA,1)}}else if(lA instanceof tA)QA.test(lA.name)&&delete lA.parent[lA.name];else if(lA instanceof eA){for(var cA=0;cA<lA.nestedArray.length;++cA)this._handleRemove(lA._nestedArray[cA]);QA.test(lA.name)&&delete lA.parent[lA.name]}},CA._configure=function(rA,lA,uA){IA=rA,BA=lA,sA=uA},root}var hasRequiredUtil;function requireUtil(){if(hasRequiredUtil)return util$1.exports;hasRequiredUtil=1;var eA=util$1.exports=requireMinimal(),AA=roots,tA,gA;eA.codegen=codegen_1,eA.fetch=fetch_1,eA.path=path,eA.fs=eA.inquire("fs"),eA.toArray=function(oA){if(oA){for(var QA=Object.keys(oA),EA=new Array(QA.length),rA=0;rA<QA.length;)EA[rA]=oA[QA[rA++]];return EA}return[]},eA.toObject=function(oA){for(var QA={},EA=0;EA<oA.length;){var rA=oA[EA++],lA=oA[EA++];lA!==void 0&&(QA[rA]=lA)}return QA};var iA=/\\/g,IA=/"/g;eA.isReserved=function(oA){return/^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/.test(oA)},eA.safeProp=function(oA){return!/^[$\w_]+$/.test(oA)||eA.isReserved(oA)?'["'+oA.replace(iA,"\\\\").replace(IA,'\\"')+'"]':"."+oA},eA.ucFirst=function(oA){return oA.charAt(0).toUpperCase()+oA.substring(1)};var BA=/_([a-z])/g;eA.camelCase=function(oA){return oA.substring(0,1)+oA.substring(1).replace(BA,function(QA,EA){return EA.toUpperCase()})},eA.compareFieldsById=function(oA,QA){return oA.id-QA.id},eA.decorateType=function(oA,QA){if(oA.$type)return QA&&oA.$type.name!==QA&&(eA.decorateRoot.remove(oA.$type),oA.$type.name=QA,eA.decorateRoot.add(oA.$type)),oA.$type;tA||(tA=requireType());var EA=new tA(QA||oA.name);return eA.decorateRoot.add(EA),EA.ctor=oA,Object.defineProperty(oA,"$type",{value:EA,enumerable:!1}),Object.defineProperty(oA.prototype,"$type",{value:EA,enumerable:!1}),EA};var sA=0;return eA.decorateEnum=function(oA){if(oA.$type)return oA.$type;gA||(gA=require_enum());var QA=new gA("Enum"+sA++,oA);return eA.decorateRoot.add(QA),Object.defineProperty(oA,"$type",{value:QA,enumerable:!1}),QA},eA.setProperty=function(oA,QA,EA){function rA(lA,uA,cA){var hA=uA.shift();if(hA==="__proto__"||hA==="prototype")return lA;if(uA.length>0)lA[hA]=rA(lA[hA]||{},uA,cA);else{var dA=lA[hA];dA&&(cA=[].concat(dA).concat(cA)),lA[hA]=cA}return lA}if(typeof oA!="object")throw TypeError("dst must be an object");if(!QA)throw TypeError("path must be specified");return QA=QA.split("."),rA(oA,QA,EA)},Object.defineProperty(eA,"decorateRoot",{get:function(){return AA.decorated||(AA.decorated=new(requireRoot()))}}),util$1.exports}var object$3,hasRequiredObject;function requireObject(){if(hasRequiredObject)return object$3;hasRequiredObject=1,object$3=tA,tA.className="ReflectionObject";var eA=requireUtil(),AA;function tA(gA,iA){if(!eA.isString(gA))throw TypeError("name must be a string");if(iA&&!eA.isObject(iA))throw TypeError("options must be an object");this.options=iA,this.parsedOptions=null,this.name=gA,this.parent=null,this.resolved=!1,this.comment=null,this.filename=null}return Object.defineProperties(tA.prototype,{root:{get:function(){for(var gA=this;gA.parent!==null;)gA=gA.parent;return gA}},fullName:{get:function(){for(var gA=[this.name],iA=this.parent;iA;)gA.unshift(iA.name),iA=iA.parent;return gA.join(".")}}}),tA.prototype.toJSON=function(){throw Error()},tA.prototype.onAdd=function(iA){this.parent&&this.parent!==iA&&this.parent.remove(this),this.parent=iA,this.resolved=!1;var IA=iA.root;IA instanceof AA&&IA._handleAdd(this)},tA.prototype.onRemove=function(iA){var IA=iA.root;IA instanceof AA&&IA._handleRemove(this),this.parent=null,this.resolved=!1},tA.prototype.resolve=function(){return this.resolved?this:(this.root instanceof AA&&(this.resolved=!0),this)},tA.prototype.getOption=function(iA){if(this.options)return this.options[iA]},tA.prototype.setOption=function(iA,IA,BA){return(!BA||!this.options||this.options[iA]===void 0)&&((this.options||(this.options={}))[iA]=IA),this},tA.prototype.setParsedOption=function(iA,IA,BA){this.parsedOptions||(this.parsedOptions=[]);var sA=this.parsedOptions;if(BA){var CA=sA.find(function(EA){return Object.prototype.hasOwnProperty.call(EA,iA)});if(CA){var oA=CA[iA];eA.setProperty(oA,BA,IA)}else CA={},CA[iA]=eA.setProperty({},BA,IA),sA.push(CA)}else{var QA={};QA[iA]=IA,sA.push(QA)}return this},tA.prototype.setOptions=function(iA,IA){if(iA)for(var BA=Object.keys(iA),sA=0;sA<BA.length;++sA)this.setOption(BA[sA],iA[BA[sA]],IA);return this},tA.prototype.toString=function(){var iA=this.constructor.className,IA=this.fullName;return IA.length?iA+" "+IA:iA},tA._configure=function(gA){AA=gA},object$3}var _enum,hasRequired_enum;function require_enum(){if(hasRequired_enum)return _enum;hasRequired_enum=1,_enum=gA;var eA=requireObject();((gA.prototype=Object.create(eA.prototype)).constructor=gA).className="Enum";var AA=requireNamespace(),tA=requireUtil();function gA(iA,IA,BA,sA,CA,oA){if(eA.call(this,iA,BA),IA&&typeof IA!="object")throw TypeError("values must be an object");if(this.valuesById={},this.values=Object.create(this.valuesById),this.comment=sA,this.comments=CA||{},this.valuesOptions=oA,this.reserved=void 0,IA)for(var QA=Object.keys(IA),EA=0;EA<QA.length;++EA)typeof IA[QA[EA]]=="number"&&(this.valuesById[this.values[QA[EA]]=IA[QA[EA]]]=QA[EA])}return gA.fromJSON=function(IA,BA){var sA=new gA(IA,BA.values,BA.options,BA.comment,BA.comments);return sA.reserved=BA.reserved,sA},gA.prototype.toJSON=function(IA){var BA=IA?!!IA.keepComments:!1;return tA.toObject(["options",this.options,"valuesOptions",this.valuesOptions,"values",this.values,"reserved",this.reserved&&this.reserved.length?this.reserved:void 0,"comment",BA?this.comment:void 0,"comments",BA?this.comments:void 0])},gA.prototype.add=function(IA,BA,sA,CA){if(!tA.isString(IA))throw TypeError("name must be a string");if(!tA.isInteger(BA))throw TypeError("id must be an integer");if(this.values[IA]!==void 0)throw Error("duplicate name '"+IA+"' in "+this);if(this.isReservedId(BA))throw Error("id "+BA+" is reserved in "+this);if(this.isReservedName(IA))throw Error("name '"+IA+"' is reserved in "+this);if(this.valuesById[BA]!==void 0){if(!(this.options&&this.options.allow_alias))throw Error("duplicate id "+BA+" in "+this);this.values[IA]=BA}else this.valuesById[this.values[IA]=BA]=IA;return CA&&(this.valuesOptions===void 0&&(this.valuesOptions={}),this.valuesOptions[IA]=CA||null),this.comments[IA]=sA||null,this},gA.prototype.remove=function(IA){if(!tA.isString(IA))throw TypeError("name must be a string");var BA=this.values[IA];if(BA==null)throw Error("name '"+IA+"' does not exist in "+this);return delete this.valuesById[BA],delete this.values[IA],delete this.comments[IA],this.valuesOptions&&delete this.valuesOptions[IA],this},gA.prototype.isReservedId=function(IA){return AA.isReservedId(this.reserved,IA)},gA.prototype.isReservedName=function(IA){return AA.isReservedName(this.reserved,IA)},_enum}var encoder_1,hasRequiredEncoder;function requireEncoder(){if(hasRequiredEncoder)return encoder_1;hasRequiredEncoder=1,encoder_1=iA;var eA=require_enum(),AA=requireTypes(),tA=requireUtil();function gA(IA,BA,sA,CA){return BA.resolvedType.group?IA("types[%i].encode(%s,w.uint32(%i)).uint32(%i)",sA,CA,(BA.id<<3|3)>>>0,(BA.id<<3|4)>>>0):IA("types[%i].encode(%s,w.uint32(%i).fork()).ldelim()",sA,CA,(BA.id<<3|2)>>>0)}function iA(IA){for(var BA=tA.codegen(["m","w"],IA.name+"$encode")("if(!w)")("w=Writer.create()"),sA,CA,oA=IA.fieldsArray.slice().sort(tA.compareFieldsById),sA=0;sA<oA.length;++sA){var QA=oA[sA].resolve(),EA=IA._fieldsArray.indexOf(QA),rA=QA.resolvedType instanceof eA?"int32":QA.type,lA=AA.basic[rA];CA="m"+tA.safeProp(QA.name),QA.map?(BA("if(%s!=null&&Object.hasOwnProperty.call(m,%j)){",CA,QA.name)("for(var ks=Object.keys(%s),i=0;i<ks.length;++i){",CA)("w.uint32(%i).fork().uint32(%i).%s(ks[i])",(QA.id<<3|2)>>>0,8|AA.mapKey[QA.keyType],QA.keyType),lA===void 0?BA("types[%i].encode(%s[ks[i]],w.uint32(18).fork()).ldelim().ldelim()",EA,CA):BA(".uint32(%i).%s(%s[ks[i]]).ldelim()",16|lA,rA,CA),BA("}")("}")):QA.repeated?(BA("if(%s!=null&&%s.length){",CA,CA),QA.packed&&AA.packed[rA]!==void 0?BA("w.uint32(%i).fork()",(QA.id<<3|2)>>>0)("for(var i=0;i<%s.length;++i)",CA)("w.%s(%s[i])",rA,CA)("w.ldelim()"):(BA("for(var i=0;i<%s.length;++i)",CA),lA===void 0?gA(BA,QA,EA,CA+"[i]"):BA("w.uint32(%i).%s(%s[i])",(QA.id<<3|lA)>>>0,rA,CA)),BA("}")):(QA.optional&&BA("if(%s!=null&&Object.hasOwnProperty.call(m,%j))",CA,QA.name),lA===void 0?gA(BA,QA,EA,CA):BA("w.uint32(%i).%s(%s)",(QA.id<<3|lA)>>>0,rA,CA))}return BA("return w")}return encoder_1}var protobuf=indexLight.exports=indexMinimal;protobuf.build="light";function load$1(eA,AA,tA){return typeof AA=="function"?(tA=AA,AA=new protobuf.Root):AA||(AA=new protobuf.Root),AA.load(eA,tA)}protobuf.load=load$1;function loadSync(eA,AA){return AA||(AA=new protobuf.Root),AA.loadSync(eA)}protobuf.loadSync=loadSync,protobuf.encoder=requireEncoder(),protobuf.decoder=requireDecoder(),protobuf.verifier=requireVerifier(),protobuf.converter=requireConverter(),protobuf.ReflectionObject=requireObject(),protobuf.Namespace=requireNamespace(),protobuf.Root=requireRoot(),protobuf.Enum=require_enum(),protobuf.Type=requireType(),protobuf.Field=requireField(),protobuf.OneOf=requireOneof(),protobuf.MapField=requireMapfield(),protobuf.Service=requireService(),protobuf.Method=requireMethod(),protobuf.Message=message,protobuf.wrappers=wrappers,protobuf.types=requireTypes(),protobuf.util=requireUtil(),protobuf.ReflectionObject._configure(protobuf.Root),protobuf.Namespace._configure(protobuf.Type,protobuf.Service,protobuf.Enum),protobuf.Root._configure(protobuf.Type),protobuf.Field._configure(protobuf.Type);var indexLightExports=indexLight.exports,light=indexLightExports,protobufjs=getDefaultExportFromCjs(light);const proto_data={options:{syntax:"proto3",optimize_for:"LITE_RUNTIME"},nested:{nil:{nested:{xit:{nested:{proto:{nested:{MessageType:{values:{MessageType_FrameRequest:0,MessageType_FrameResponse:1,MessageType_FrameCache:2,MessageType_FrameLoaded:3,MessageType_FrameSubscribe:4,MessageType_FrameUnsubscribe:5,MessageType_ValueRequest:6,MessageType_ValueResponse:7,MessageType_ValueUpdate:8,MessageType_SignalRequest:9,MessageType_SignalResponse:10,MessageType_SignalNotify:11,MessageType_FileRequest:12,MessageType_FileResponse:13}},FrameRequest:{fields:{id:{type:"string",id:1}}},FrameResponse:{oneofs:{value:{oneof:["file","content"]}},fields:{id:{type:"string",id:1},file:{type:"string",id:2},content:{type:"string",id:3}}},FrameCache:{fields:{id:{type:"string",id:1},content:{type:"string",id:2},files:{rule:"repeated",type:"FileInfo",id:3}}},FrameLoaded:{oneofs:{_tag:{oneof:["tag"]}},fields:{id:{type:"string",id:1},tag:{type:"string",id:2,options:{proto3_optional:!0}}}},FrameSubscribe:{oneofs:{_tag:{oneof:["tag"]}},fields:{id:{type:"string",id:1},tag:{type:"string",id:2,options:{proto3_optional:!0}}}},FrameUnsubscribe:{oneofs:{_tag:{oneof:["tag"]}},fields:{id:{type:"string",id:1},tag:{type:"string",id:2,options:{proto3_optional:!0}}}},Value:{oneofs:{value:{oneof:["value_boolean","value_number","value_double","value_string","value_buffer"]}},fields:{id:{type:"string",id:1},value_boolean:{type:"bool",id:2},value_number:{type:"int64",id:3},value_double:{type:"double",id:4},value_string:{type:"string",id:5},value_buffer:{type:"bytes",id:6}}},ValueRequest:{oneofs:{_tag:{oneof:["tag"]}},fields:{id:{type:"string",id:1},tag:{type:"string",id:2,options:{proto3_optional:!0}}}},ValueResponse:{oneofs:{_tag:{oneof:["tag"]}},fields:{id:{type:"string",id:1},tag:{type:"string",id:2,options:{proto3_optional:!0}},values:{rule:"repeated",type:"Value",id:3}}},ValueUpdate:{oneofs:{_tag:{oneof:["tag"]}},fields:{id:{type:"string",id:1},tag:{type:"string",id:2,options:{proto3_optional:!0}},value:{type:"Value",id:3}}},SignalRequest:{fields:{id:{type:"string",id:1}}},Signal:{oneofs:{_type:{oneof:["type"]}},fields:{id:{type:"string",id:1},type:{type:"string",id:2,options:{proto3_optional:!0}}}},SignalResponse:{oneofs:{_tag:{oneof:["tag"]}},fields:{id:{type:"string",id:1},tag:{type:"string",id:2,options:{proto3_optional:!0}},signals:{rule:"repeated",type:"Signal",id:3}}},SignalNotify:{oneofs:{_tag:{oneof:["tag"]},arg:{oneof:["arg_boolean","arg_number","arg_double","arg_string","arg_buffer"]}},fields:{frame_id:{type:"string",id:1},tag:{type:"string",id:2,options:{proto3_optional:!0}},signal_id:{type:"string",id:3},arg_boolean:{type:"bool",id:4},arg_number:{type:"int64",id:5},arg_double:{type:"double",id:6},arg_string:{type:"string",id:7},arg_buffer:{type:"bytes",id:8}}},FileRequest:{fields:{target:{type:"string",id:1}}},FileResponse:{fields:{target:{type:"string",id:1},content:{type:"string",id:2},metadata:{type:"bytes",id:3}}},FileInfo:{fields:{target:{type:"string",id:1},metadata:{type:"bytes",id:2}}}}}}}}}}},nil_xit_proto=protobufjs.Root.fromJSON(proto_data).lookup("nil.xit.proto");var astralIdentifierCodes=[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],astralIdentifierStartCodes=[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],nonASCIIidentifierChars="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",nonASCIIidentifierStartChars="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",reservedWords={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"},ecma5AndLessKeywords="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",keywords$1={5:ecma5AndLessKeywords,"5module":ecma5AndLessKeywords+" export import",6:ecma5AndLessKeywords+" const class extends export import super"},keywordRelationalOperator=/^in(stanceof)?$/,nonASCIIidentifierStart=new RegExp("["+nonASCIIidentifierStartChars+"]"),nonASCIIidentifier=new RegExp("["+nonASCIIidentifierStartChars+nonASCIIidentifierChars+"]");function isInAstralSet(eA,AA){for(var tA=65536,gA=0;gA<AA.length;gA+=2){if(tA+=AA[gA],tA>eA)return!1;if(tA+=AA[gA+1],tA>=eA)return!0}return!1}function isIdentifierStart(eA,AA){return eA<65?eA===36:eA<91?!0:eA<97?eA===95:eA<123?!0:eA<=65535?eA>=170&&nonASCIIidentifierStart.test(String.fromCharCode(eA)):AA===!1?!1:isInAstralSet(eA,astralIdentifierStartCodes)}function isIdentifierChar(eA,AA){return eA<48?eA===36:eA<58?!0:eA<65?!1:eA<91?!0:eA<97?eA===95:eA<123?!0:eA<=65535?eA>=170&&nonASCIIidentifier.test(String.fromCharCode(eA)):AA===!1?!1:isInAstralSet(eA,astralIdentifierStartCodes)||isInAstralSet(eA,astralIdentifierCodes)}var TokenType=function eA(AA,tA){tA===void 0&&(tA={}),this.label=AA,this.keyword=tA.keyword,this.beforeExpr=!!tA.beforeExpr,this.startsExpr=!!tA.startsExpr,this.isLoop=!!tA.isLoop,this.isAssign=!!tA.isAssign,this.prefix=!!tA.prefix,this.postfix=!!tA.postfix,this.binop=tA.binop||null,this.updateContext=null};function binop(eA,AA){return new TokenType(eA,{beforeExpr:!0,binop:AA})}var beforeExpr={beforeExpr:!0},startsExpr={startsExpr:!0},keywords={};function kw(eA,AA){return AA===void 0&&(AA={}),AA.keyword=eA,keywords[eA]=new TokenType(eA,AA)}var types$1={num:new TokenType("num",startsExpr),regexp:new TokenType("regexp",startsExpr),string:new TokenType("string",startsExpr),name:new TokenType("name",startsExpr),privateId:new TokenType("privateId",startsExpr),eof:new TokenType("eof"),bracketL:new TokenType("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new TokenType("]"),braceL:new TokenType("{",{beforeExpr:!0,startsExpr:!0}),braceR:new TokenType("}"),parenL:new TokenType("(",{beforeExpr:!0,startsExpr:!0}),parenR:new TokenType(")"),comma:new TokenType(",",beforeExpr),semi:new TokenType(";",beforeExpr),colon:new TokenType(":",beforeExpr),dot:new TokenType("."),question:new TokenType("?",beforeExpr),questionDot:new TokenType("?."),arrow:new TokenType("=>",beforeExpr),template:new TokenType("template"),invalidTemplate:new TokenType("invalidTemplate"),ellipsis:new TokenType("...",beforeExpr),backQuote:new TokenType("`",startsExpr),dollarBraceL:new TokenType("${",{beforeExpr:!0,startsExpr:!0}),eq:new TokenType("=",{beforeExpr:!0,isAssign:!0}),assign:new TokenType("_=",{beforeExpr:!0,isAssign:!0}),incDec:new TokenType("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new TokenType("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:binop("||",1),logicalAND:binop("&&",2),bitwiseOR:binop("|",3),bitwiseXOR:binop("^",4),bitwiseAND:binop("&",5),equality:binop("==/!=/===/!==",6),relational:binop("</>/<=/>=",7),bitShift:binop("<</>>/>>>",8),plusMin:new TokenType("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:binop("%",10),star:binop("*",10),slash:binop("/",10),starstar:new TokenType("**",{beforeExpr:!0}),coalesce:binop("??",1),_break:kw("break"),_case:kw("case",beforeExpr),_catch:kw("catch"),_continue:kw("continue"),_debugger:kw("debugger"),_default:kw("default",beforeExpr),_do:kw("do",{isLoop:!0,beforeExpr:!0}),_else:kw("else",beforeExpr),_finally:kw("finally"),_for:kw("for",{isLoop:!0}),_function:kw("function",startsExpr),_if:kw("if"),_return:kw("return",beforeExpr),_switch:kw("switch"),_throw:kw("throw",beforeExpr),_try:kw("try"),_var:kw("var"),_const:kw("const"),_while:kw("while",{isLoop:!0}),_with:kw("with"),_new:kw("new",{beforeExpr:!0,startsExpr:!0}),_this:kw("this",startsExpr),_super:kw("super",startsExpr),_class:kw("class",startsExpr),_extends:kw("extends",beforeExpr),_export:kw("export"),_import:kw("import",startsExpr),_null:kw("null",startsExpr),_true:kw("true",startsExpr),_false:kw("false",startsExpr),_in:kw("in",{beforeExpr:!0,binop:7}),_instanceof:kw("instanceof",{beforeExpr:!0,binop:7}),_typeof:kw("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:kw("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:kw("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},lineBreak=/\r\n?|\n|\u2028|\u2029/,lineBreakG=new RegExp(lineBreak.source,"g");function isNewLine(eA){return eA===10||eA===13||eA===8232||eA===8233}function nextLineBreak(eA,AA,tA){tA===void 0&&(tA=eA.length);for(var gA=AA;gA<tA;gA++){var iA=eA.charCodeAt(gA);if(isNewLine(iA))return gA<tA-1&&iA===13&&eA.charCodeAt(gA+1)===10?gA+2:gA+1}return-1}var nonASCIIwhitespace=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,skipWhiteSpace=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ref=Object.prototype,hasOwnProperty=ref.hasOwnProperty,toString$1=ref.toString,hasOwn=Object.hasOwn||function(eA,AA){return hasOwnProperty.call(eA,AA)},isArray=Array.isArray||function(eA){return toString$1.call(eA)==="[object Array]"},regexpCache=Object.create(null);function wordsRegexp(eA){return regexpCache[eA]||(regexpCache[eA]=new RegExp("^(?:"+eA.replace(/ /g,"|")+")$"))}function codePointToString(eA){return eA<=65535?String.fromCharCode(eA):(eA-=65536,String.fromCharCode((eA>>10)+55296,(eA&1023)+56320))}var loneSurrogate=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Position=function eA(AA,tA){this.line=AA,this.column=tA};Position.prototype.offset=function eA(AA){return new Position(this.line,this.column+AA)};var SourceLocation=function eA(AA,tA,gA){this.start=tA,this.end=gA,AA.sourceFile!==null&&(this.source=AA.sourceFile)};function getLineInfo(eA,AA){for(var tA=1,gA=0;;){var iA=nextLineBreak(eA,gA,AA);if(iA<0)return new Position(tA,AA-gA);++tA,gA=iA}}var defaultOptions={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},warnedAboutEcmaVersion=!1;function getOptions(eA){var AA={};for(var tA in defaultOptions)AA[tA]=eA&&hasOwn(eA,tA)?eA[tA]:defaultOptions[tA];if(AA.ecmaVersion==="latest"?AA.ecmaVersion=1e8:AA.ecmaVersion==null?(!warnedAboutEcmaVersion&&typeof console=="object"&&console.warn&&(warnedAboutEcmaVersion=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
@@ -16,7 +16,7 @@ Defaulting to 2020, but this will stop working in the future.`)),AA.ecmaVersion=
16
16
  import Component from "${USER_TAG}${eA.replace(/\\/g,"/")}";
17
17
  export const action = (target, context) => {
18
18
  let ref = mount(Component, { target, context });
19
- return () => unmount(ref);
19
+ return { destroy: () => unmount(ref) };
20
20
  };`,JSON_PKG_CACHE=new Map,SCOPED_PKG_REGEX=/^(@[^/]*\/[^/]*)(?:\/(.*))?$/s,PKG_REGEX=/^([^/]*)(?:\/(.*))?$/s,FILE_PREFIX="file:/",WIN_FILE_PREFIX="file:///",resolve_local=async(eA,AA)=>{if(AA!=null){const tA=new URL(`${FILE_PREFIX}${AA}`),gA=new URL(eA,tA).href;return gA.startsWith(WIN_FILE_PREFIX)?gA.slice(8):gA.slice(6)}return eA},resolve_remote=async(eA,AA)=>(await fetch(new URL(eA,AA),{method:"HEAD"})).url,fetch_json_remote=async eA=>{const AA=await fetch(eA);if(AA.ok)return JSON.parse(await AA.text())},fetch_package_json=async(eA,AA)=>{const[tA,gA,iA=""]=eA.split(eA.startsWith("@")?SCOPED_PKG_REGEX:PKG_REGEX),IA=`${AA}/${gA}`,BA=`${IA}/package.json`;if(JSON_PKG_CACHE.has(BA))return JSON_PKG_CACHE.get(BA);const sA=await fetch_json_remote(BA);if(sA!=null)return JSON_PKG_CACHE.set(BA,{base:IA,rest:iA,json:sA}),JSON_PKG_CACHE.get(BA)},resolve_id=eA=>({input:AA=>({resolved:AA}),hook:async(AA,tA)=>{if(AA.startsWith(INTERNAL_TAG)||AA.startsWith(USER_TAG))return AA;if(AA.startsWith(".")){if(tA!=null&&tA.startsWith(USER_TAG))return`${USER_TAG}${await resolve_local(AA,tA.slice(USER_TAG.length))}`;if(tA!=null&&tA.startsWith(RESOURCE_TAG))return`${RESOURCE_TAG}${await resolve_remote(AA,tA.slice(RESOURCE_TAG.length))}`}if(AA.startsWith("https://"))return null;const gA=await fetch_package_json(AA,eA.cdn_url);if(gA!=null){const iA=o$2(gA.json,gA.rest,{browser:!0,conditions:["svelte","production"]});if(iA!=null){if(Array.isArray(iA)&&iA.length>0)return`${RESOURCE_TAG}${await resolve_remote(`${gA.base}/${iA[0]}`)}`;if(typeof iA=="string")return`${RESOURCE_TAG}${await resolve_remote(`${gA.base}/${iA}`)}`}else{const IA=i$3(gA.json);if(IA!=null)return`${RESOURCE_TAG}${await resolve_remote(`${gA.base}/${IA}`)}`}}throw"unknown file, should be unreachable"}});function walk(eA,AA,tA){const gA=tA._;let iA=!1;function IA(sA,{next:CA,state:oA}){CA(oA)}function BA(sA,CA,oA){if(iA||!sA.type)return;let QA;const EA={},rA={path:CA,state:oA,next:(uA=oA)=>{CA.push(sA);for(const cA in sA){if(cA==="type")continue;const hA=sA[cA];if(hA&&typeof hA=="object")if(Array.isArray(hA)){const dA={};hA.forEach((pA,wA)=>{if(pA&&typeof pA=="object"){const mA=BA(pA,CA,uA);mA&&(dA[wA]=mA)}}),Object.keys(dA).length>0&&(EA[cA]=hA.map((pA,wA)=>dA[wA]??pA))}else{const dA=BA(hA,CA,uA);dA&&(EA[cA]=dA)}}if(CA.pop(),Object.keys(EA).length>0)return apply_mutations(sA,EA)},stop:()=>{iA=!0},visit:(uA,cA=oA)=>{CA.push(sA);const hA=BA(uA,CA,cA)??uA;return CA.pop(),hA}};let lA=tA[sA.type]??IA;if(gA){let uA;QA=gA(sA,{...rA,next:(cA=oA)=>(oA=cA,uA=lA(sA,{...rA,state:cA}),uA)}),!QA&&uA&&(QA=uA)}else QA=lA(sA,rA);if(QA||Object.keys(EA).length>0&&(QA=apply_mutations(sA,EA)),QA)return QA}return BA(eA,[],AA)??eA}function apply_mutations(eA,AA){const tA={},gA=Object.getOwnPropertyDescriptors(eA);for(const iA in gA)Object.defineProperty(tA,iA,gA[iA]);for(const iA in AA)tA[iA]=AA[iA];return tA}const regex_whitespace=/\s/,regex_whitespaces=/\s+/,regex_starts_with_newline=/^\r?\n/,regex_starts_with_whitespace=/^\s/,regex_starts_with_whitespaces=/^[ \t\r\n]+/,regex_ends_with_whitespace=/\s$/,regex_ends_with_whitespaces=/[ \t\r\n]+$/,regex_not_whitespace=/[^ \t\r\n]/,regex_whitespaces_strict=/[ \t\n\r\f]+/g,regex_only_whitespaces=/^[ \t\n\r\f]+$/,regex_not_newline_characters=/[^\n]/g,regex_is_valid_identifier=/^[a-zA-Z_$][a-zA-Z_$0-9]*$/,regex_invalid_identifier_chars=/(^[^a-zA-Z_$]|[^a-zA-Z0-9_$])/g,regex_starts_with_vowel=/^[aeiou]/,regex_heading_tags=/^h[1-6]$/,regex_illegal_attribute_character=/(^[0-9-.])|[\^$@%&#?!|()[\]{}^*+~;]/,EACH_ITEM_REACTIVE=1,EACH_INDEX_REACTIVE=2,EACH_IS_CONTROLLED=4,EACH_IS_ANIMATED=8,EACH_ITEM_IMMUTABLE=16,PROPS_IS_IMMUTABLE=1,PROPS_IS_RUNES=2,PROPS_IS_UPDATED=4,PROPS_IS_BINDABLE=8,PROPS_IS_LAZY_INITIAL=16,TRANSITION_IN=1,TRANSITION_OUT=2,TRANSITION_GLOBAL=4,TEMPLATE_FRAGMENT=1,TEMPLATE_USE_IMPORT_NODE=2,HYDRATION_START="[",HYDRATION_START_ELSE="[!",HYDRATION_END="]",ELEMENT_IS_NAMESPACED=1,ELEMENT_PRESERVE_ATTRIBUTE_CASE=2,NAMESPACE_SVG="http://www.w3.org/2000/svg",NAMESPACE_MATHML="http://www.w3.org/1998/Math/MathML",IGNORABLE_RUNTIME_WARNINGS=["state_snapshot_uncloneable","binding_property_non_reactive","hydration_attribute_changed","hydration_html_changed","ownership_invalid_binding","ownership_invalid_mutation"];function fuzzymatch(eA,AA){if(AA.length===0)return null;const gA=new FuzzySet(AA).get(eA);return gA&&gA[0][0]>.7?gA[0][1]:null}const GRAM_SIZE_LOWER=2,GRAM_SIZE_UPPER=3;function _distance(eA,AA){if(eA===null&&AA===null)throw"Trying to compare two null values";return eA===null||AA===null?0:(eA=String(eA),AA=String(AA),1-levenshtein(eA,AA)/Math.max(eA.length,AA.length))}function levenshtein(eA,AA){const tA=[];let gA=0,iA=0;for(let IA=0;IA<=AA.length;IA++)for(let BA=0;BA<=eA.length;BA++)IA&&BA?eA.charAt(BA-1)===AA.charAt(IA-1)?iA=gA:iA=Math.min(tA[BA],tA[BA-1],gA)+1:iA=IA+BA,gA=tA[BA],tA[BA]=iA;return tA.pop()}const non_word_regex=/[^\w, ]+/;function iterate_grams(eA,AA=2){const tA="-"+eA.toLowerCase().replace(non_word_regex,"")+"-",gA=AA-tA.length,iA=[];if(gA>0)for(let IA=0;IA<gA;++IA)eA+="-";for(let IA=0;IA<tA.length-AA+1;++IA)iA.push(tA.slice(IA,IA+AA));return iA}function gram_counter(eA,AA=2){const tA={},gA=iterate_grams(eA,AA);let iA=0;for(iA;iA<gA.length;++iA)gA[iA]in tA?tA[gA[iA]]+=1:tA[gA[iA]]=1;return tA}function sort_descending(eA,AA){return AA[0]-eA[0]}class FuzzySet{constructor(AA){rg(this,"exact_set",{});rg(this,"match_dict",{});rg(this,"items",{});for(let tA=GRAM_SIZE_LOWER;tA<GRAM_SIZE_UPPER+1;++tA)this.items[tA]=[];for(let tA=0;tA<AA.length;++tA)this.add(AA[tA])}add(AA){if(AA.toLowerCase()in this.exact_set)return!1;let gA=GRAM_SIZE_LOWER;for(gA;gA<GRAM_SIZE_UPPER+1;++gA)this._add(AA,gA)}_add(AA,tA){const gA=AA.toLowerCase(),iA=this.items[tA]||[],IA=iA.length;iA.push(0);const BA=gram_counter(gA,tA);let sA=0,CA,oA;for(CA in BA)oA=BA[CA],sA+=Math.pow(oA,2),CA in this.match_dict?this.match_dict[CA].push([IA,oA]):this.match_dict[CA]=[[IA,oA]];const QA=Math.sqrt(sA);iA[IA]=[QA,gA],this.items[tA]=iA,this.exact_set[gA]=AA}get(AA){const tA=AA.toLowerCase(),gA=this.exact_set[tA];if(gA)return[[1,gA]];for(let iA=GRAM_SIZE_UPPER;iA>=GRAM_SIZE_LOWER;--iA){const IA=this.__get(AA,iA);if(IA.length>0)return IA}return null}__get(AA,tA){const gA=AA.toLowerCase(),iA={},IA=gram_counter(gA,tA),BA=this.items[tA];let sA=0,CA,oA,QA,EA,rA;for(CA in IA)if(oA=IA[CA],sA+=Math.pow(oA,2),CA in this.match_dict)for(QA=0;QA<this.match_dict[CA].length;++QA)EA=this.match_dict[CA][QA][0],rA=this.match_dict[CA][QA][1],EA in iA?iA[EA]+=oA*rA:iA[EA]=oA*rA;const lA=Math.sqrt(sA);let uA=[],cA;for(const pA in iA)cA=iA[pA],uA.push([cA/(lA*BA[pA][0]),BA[pA][1]]);uA.sort(sort_descending);let hA=[];const dA=Math.min(50,uA.length);for(let pA=0;pA<dA;++pA)hA.push([_distance(uA[pA][1],gA),uA[pA][1]]);uA=hA,uA.sort(sort_descending),hA=[];for(let pA=0;pA<uA.length;++pA)uA[pA][0]===uA[0][0]&&hA.push([uA[pA][0],this.exact_set[uA[pA][1]]]);return hA}}function rangeContains(eA,AA){return eA.start<=AA&&AA<eA.end}function getLocator$1(eA,AA={}){const{offsetLine:tA=0,offsetColumn:gA=0}=AA;let iA=0;const IA=eA.split(`
21
21
  `).map((CA,oA)=>{const QA=iA+CA.length+1,EA={start:iA,end:QA,line:oA};return iA=QA,EA});let BA=0;function sA(CA,oA){if(typeof CA=="string"&&(CA=eA.indexOf(CA,oA??0)),CA===-1)return;let QA=IA[BA];const EA=CA>=QA.end?1:-1;for(;QA;){if(rangeContains(QA,CA))return{line:tA+QA.line,column:gA+CA-QA.start,character:CA};BA+=EA,QA=IA[BA]}}return sA}let warnings=[],filename,source,dev,locator=getLocator$1("",{offsetLine:1}),warning_filter,ignore_stack=[],ignore_map=new Map;function push_ignore(eA){const AA=new Set([...ignore_stack.at(-1)||[],...eA]);ignore_stack.push(AA)}function pop_ignore(){ignore_stack.pop()}function reset_warning_filter(eA=()=>!0){warning_filter=eA}function is_ignored(eA,AA){var tA;return dev&&!!((tA=ignore_map.get(eA))!=null&&tA.some(gA=>gA.has(AA)))}function reset(eA,AA){var gA;source=eA;const tA=(gA=AA.rootDir)==null?void 0:gA.replace(/\\/g,"/");filename=AA.filename.replace(/\\/g,"/"),dev=!!AA.dev,typeof tA=="string"&&filename.startsWith(tA)&&(filename=filename.replace(tA,"").replace(/^[/\\]/,"")),locator=getLocator$1(source,{offsetLine:1}),warnings=[],ignore_stack=[],ignore_map.clear()}const regex_tabs=/^\t+/;function tabs_to_spaces(eA){return eA.replace(regex_tabs,AA=>AA.split(" ").join(" "))}function get_code_frame(eA,AA,tA){const gA=eA.split(`
22
22
  `),iA=Math.max(0,AA-2),IA=Math.min(AA+3,gA.length),BA=String(IA+1).length;return gA.slice(iA,IA).map((sA,CA)=>{const oA=iA+CA===AA,QA=String(CA+iA+1).padStart(BA," ");if(oA){const EA=" ".repeat(BA+2+tabs_to_spaces(sA.slice(0,tA)).length)+"^";return`${QA}: ${tabs_to_spaces(sA)}
@@ -26,8 +26,8 @@ ${this.filename}`,this.start&&(AA+=`:${this.start.line}:${this.start.column}`)),
26
26
  ${this.frame}`),AA}toJSON(){return{code:this.code,message:this.message,filename:this.filename,start:this.start,end:this.end,position:this.position,frame:this.frame}}}class InternalCompileWarning extends CompileDiagnostic{constructor(tA,gA,iA){super(tA,gA,iA);rg(this,"name","CompileWarning")}}function w$2(eA,AA,tA){var IA;let gA=ignore_stack;if(eA&&(gA=ignore_map.get(eA)??ignore_stack),gA&&((IA=gA.at(-1))!=null&&IA.has(AA)))return;const iA=new InternalCompileWarning(AA,tA,eA&&eA.start!==void 0?[eA.start,eA.end??eA.start]:void 0);warning_filter(iA)&&warnings.push(iA)}const codes$1=["a11y_accesskey","a11y_aria_activedescendant_has_tabindex","a11y_aria_attributes","a11y_autocomplete_valid","a11y_autofocus","a11y_click_events_have_key_events","a11y_consider_explicit_label","a11y_distracting_elements","a11y_figcaption_index","a11y_figcaption_parent","a11y_hidden","a11y_img_redundant_alt","a11y_incorrect_aria_attribute_type","a11y_incorrect_aria_attribute_type_boolean","a11y_incorrect_aria_attribute_type_id","a11y_incorrect_aria_attribute_type_idlist","a11y_incorrect_aria_attribute_type_integer","a11y_incorrect_aria_attribute_type_token","a11y_incorrect_aria_attribute_type_tokenlist","a11y_incorrect_aria_attribute_type_tristate","a11y_interactive_supports_focus","a11y_invalid_attribute","a11y_label_has_associated_control","a11y_media_has_caption","a11y_misplaced_role","a11y_misplaced_scope","a11y_missing_attribute","a11y_missing_content","a11y_mouse_events_have_key_events","a11y_no_abstract_role","a11y_no_interactive_element_to_noninteractive_role","a11y_no_noninteractive_element_interactions","a11y_no_noninteractive_element_to_interactive_role","a11y_no_noninteractive_tabindex","a11y_no_redundant_roles","a11y_no_static_element_interactions","a11y_positive_tabindex","a11y_role_has_required_aria_props","a11y_role_supports_aria_props","a11y_role_supports_aria_props_implicit","a11y_unknown_aria_attribute","a11y_unknown_role","legacy_code","unknown_code","options_deprecated_accessors","options_deprecated_immutable","options_missing_custom_element","options_removed_enable_sourcemap","options_removed_hydratable","options_removed_loop_guard_timeout","options_renamed_ssr_dom","export_let_unused","legacy_component_creation","non_reactive_update","perf_avoid_inline_class","perf_avoid_nested_class","reactive_declaration_invalid_placement","reactive_declaration_module_script_dependency","reactive_declaration_non_reactive_property","state_referenced_locally","store_rune_conflict","css_unused_selector","attribute_avoid_is","attribute_global_event_reference","attribute_illegal_colon","attribute_invalid_property_name","attribute_quoted","bind_invalid_each_rest","block_empty","component_name_lowercase","element_invalid_self_closing_tag","event_directive_deprecated","node_invalid_placement_ssr","script_context_deprecated","script_unknown_attribute","slot_element_deprecated","svelte_component_deprecated","svelte_element_invalid_this","svelte_self_deprecated"];function a11y_accesskey(eA){w$2(eA,"a11y_accesskey","Avoid using accesskey")}function a11y_aria_activedescendant_has_tabindex(eA){w$2(eA,"a11y_aria_activedescendant_has_tabindex","An element with an aria-activedescendant attribute should have a tabindex value")}function a11y_aria_attributes(eA,AA){w$2(eA,"a11y_aria_attributes",`\`<${AA}>\` should not have aria-* attributes`)}function a11y_autocomplete_valid(eA,AA,tA){w$2(eA,"a11y_autocomplete_valid",`'${AA}' is an invalid value for 'autocomplete' on \`<input type="${tA}">\``)}function a11y_autofocus(eA){w$2(eA,"a11y_autofocus","Avoid using autofocus")}function a11y_click_events_have_key_events(eA){w$2(eA,"a11y_click_events_have_key_events",'Visible, non-interactive elements with a click event must be accompanied by a keyboard event handler. Consider whether an interactive element such as `<button type="button">` or `<a>` might be more appropriate. See https://svelte.dev/docs/accessibility-warnings#a11y-click-events-have-key-events for more details')}function a11y_consider_explicit_label(eA){w$2(eA,"a11y_consider_explicit_label","Buttons and links should either contain text or have an `aria-label` or `aria-labelledby` attribute")}function a11y_distracting_elements$1(eA,AA){w$2(eA,"a11y_distracting_elements",`Avoid \`<${AA}>\` elements`)}function a11y_figcaption_index(eA){w$2(eA,"a11y_figcaption_index","`<figcaption>` must be first or last child of `<figure>`")}function a11y_figcaption_parent(eA){w$2(eA,"a11y_figcaption_parent","`<figcaption>` must be an immediate child of `<figure>`")}function a11y_hidden(eA,AA){w$2(eA,"a11y_hidden",`\`<${AA}>\` element should not be hidden`)}function a11y_img_redundant_alt(eA){w$2(eA,"a11y_img_redundant_alt","Screenreaders already announce `<img>` elements as an image")}function a11y_incorrect_aria_attribute_type(eA,AA,tA){w$2(eA,"a11y_incorrect_aria_attribute_type",`The value of '${AA}' must be a ${tA}`)}function a11y_incorrect_aria_attribute_type_boolean(eA,AA){w$2(eA,"a11y_incorrect_aria_attribute_type_boolean",`The value of '${AA}' must be either 'true' or 'false'. It cannot be empty`)}function a11y_incorrect_aria_attribute_type_idlist(eA,AA){w$2(eA,"a11y_incorrect_aria_attribute_type_idlist",`The value of '${AA}' must be a space-separated list of strings that represent DOM element IDs`)}function a11y_incorrect_aria_attribute_type_integer(eA,AA){w$2(eA,"a11y_incorrect_aria_attribute_type_integer",`The value of '${AA}' must be an integer`)}function a11y_incorrect_aria_attribute_type_token(eA,AA,tA){w$2(eA,"a11y_incorrect_aria_attribute_type_token",`The value of '${AA}' must be exactly one of ${tA}`)}function a11y_incorrect_aria_attribute_type_tokenlist(eA,AA,tA){w$2(eA,"a11y_incorrect_aria_attribute_type_tokenlist",`The value of '${AA}' must be a space-separated list of one or more of ${tA}`)}function a11y_incorrect_aria_attribute_type_tristate(eA,AA){w$2(eA,"a11y_incorrect_aria_attribute_type_tristate",`The value of '${AA}' must be exactly one of true, false, or mixed`)}function a11y_interactive_supports_focus(eA,AA){w$2(eA,"a11y_interactive_supports_focus",`Elements with the '${AA}' interactive role must have a tabindex value`)}function a11y_invalid_attribute(eA,AA,tA){w$2(eA,"a11y_invalid_attribute",`'${AA}' is not a valid ${tA} attribute`)}function a11y_label_has_associated_control(eA){w$2(eA,"a11y_label_has_associated_control","A form label must be associated with a control")}function a11y_media_has_caption(eA){w$2(eA,"a11y_media_has_caption",'`<video>` elements must have a `<track kind="captions">`')}function a11y_misplaced_role(eA,AA){w$2(eA,"a11y_misplaced_role",`\`<${AA}>\` should not have role attribute`)}function a11y_misplaced_scope(eA){w$2(eA,"a11y_misplaced_scope","The scope attribute should only be used with `<th>` elements")}function a11y_missing_attribute(eA,AA,tA,gA){w$2(eA,"a11y_missing_attribute",`\`<${AA}>\` element should have ${tA} ${gA} attribute`)}function a11y_missing_content(eA,AA){w$2(eA,"a11y_missing_content",`\`<${AA}>\` element should contain text`)}function a11y_mouse_events_have_key_events(eA,AA,tA){w$2(eA,"a11y_mouse_events_have_key_events",`'${AA}' event must be accompanied by '${tA}' event`)}function a11y_no_abstract_role(eA,AA){w$2(eA,"a11y_no_abstract_role",`Abstract role '${AA}' is forbidden`)}function a11y_no_interactive_element_to_noninteractive_role(eA,AA,tA){w$2(eA,"a11y_no_interactive_element_to_noninteractive_role",`\`<${AA}>\` cannot have role '${tA}'`)}function a11y_no_noninteractive_element_interactions(eA,AA){w$2(eA,"a11y_no_noninteractive_element_interactions",`Non-interactive element \`<${AA}>\` should not be assigned mouse or keyboard event listeners`)}function a11y_no_noninteractive_element_to_interactive_role(eA,AA,tA){w$2(eA,"a11y_no_noninteractive_element_to_interactive_role",`Non-interactive element \`<${AA}>\` cannot have interactive role '${tA}'`)}function a11y_no_noninteractive_tabindex(eA){w$2(eA,"a11y_no_noninteractive_tabindex","noninteractive element cannot have nonnegative tabIndex value")}function a11y_no_redundant_roles(eA,AA){w$2(eA,"a11y_no_redundant_roles",`Redundant role '${AA}'`)}function a11y_no_static_element_interactions(eA,AA,tA){w$2(eA,"a11y_no_static_element_interactions",`\`<${AA}>\` with a ${tA} handler must have an ARIA role`)}function a11y_positive_tabindex(eA){w$2(eA,"a11y_positive_tabindex","Avoid tabindex values above zero")}function a11y_role_has_required_aria_props(eA,AA,tA){w$2(eA,"a11y_role_has_required_aria_props",`Elements with the ARIA role "${AA}" must have the following attributes defined: ${tA}`)}function a11y_role_supports_aria_props(eA,AA,tA){w$2(eA,"a11y_role_supports_aria_props",`The attribute '${AA}' is not supported by the role '${tA}'`)}function a11y_role_supports_aria_props_implicit(eA,AA,tA,gA){w$2(eA,"a11y_role_supports_aria_props_implicit",`The attribute '${AA}' is not supported by the role '${tA}'. This role is implicit on the element \`<${gA}>\``)}function a11y_unknown_aria_attribute(eA,AA,tA){w$2(eA,"a11y_unknown_aria_attribute",tA?`Unknown aria attribute 'aria-${AA}'. Did you mean '${tA}'?`:`Unknown aria attribute 'aria-${AA}'`)}function a11y_unknown_role(eA,AA,tA){w$2(eA,"a11y_unknown_role",tA?`Unknown role '${AA}'. Did you mean '${tA}'?`:`Unknown role '${AA}'`)}function legacy_code(eA,AA,tA){w$2(eA,"legacy_code",`\`${AA}\` is no longer valid — please use \`${tA}\` instead`)}function unknown_code(eA,AA,tA){w$2(eA,"unknown_code",tA?`\`${AA}\` is not a recognised code (did you mean \`${tA}\`?)`:`\`${AA}\` is not a recognised code`)}function options_deprecated_accessors(eA){w$2(eA,"options_deprecated_accessors","The `accessors` option has been deprecated. It will have no effect in runes mode")}function options_deprecated_immutable(eA){w$2(eA,"options_deprecated_immutable","The `immutable` option has been deprecated. It will have no effect in runes mode")}function options_missing_custom_element(eA){w$2(eA,"options_missing_custom_element","The `customElement` option is used when generating a custom element. Did you forget the `customElement: true` compile option?")}function options_removed_enable_sourcemap(eA){w$2(eA,"options_removed_enable_sourcemap","The `enableSourcemap` option has been removed. Source maps are always generated now, and tooling can choose to ignore them")}function options_removed_hydratable(eA){w$2(eA,"options_removed_hydratable","The `hydratable` option has been removed. Svelte components are always hydratable now")}function options_removed_loop_guard_timeout(eA){w$2(eA,"options_removed_loop_guard_timeout","The `loopGuardTimeout` option has been removed")}function options_renamed_ssr_dom(eA){w$2(eA,"options_renamed_ssr_dom",'`generate: "dom"` and `generate: "ssr"` options have been renamed to "client" and "server" respectively')}function export_let_unused(eA,AA){w$2(eA,"export_let_unused",`Component has unused export property '${AA}'. If it is for external reference only, please consider using \`export const ${AA}\``)}function legacy_component_creation(eA){w$2(eA,"legacy_component_creation","Svelte 5 components are no longer classes. Instantiate them using `mount` or `hydrate` (imported from 'svelte') instead.")}function non_reactive_update(eA,AA){w$2(eA,"non_reactive_update",`\`${AA}\` is updated, but is not declared with \`$state(...)\`. Changing its value will not correctly trigger updates`)}function perf_avoid_inline_class(eA){w$2(eA,"perf_avoid_inline_class","Avoid 'new class' — instead, declare the class at the top level scope")}function perf_avoid_nested_class(eA){w$2(eA,"perf_avoid_nested_class","Avoid declaring classes below the top level scope")}function reactive_declaration_invalid_placement(eA){w$2(eA,"reactive_declaration_invalid_placement","Reactive declarations only exist at the top level of the instance script")}function reactive_declaration_module_script_dependency(eA){w$2(eA,"reactive_declaration_module_script_dependency","Reassignments of module-level declarations will not cause reactive statements to update")}function reactive_declaration_non_reactive_property(eA){w$2(eA,"reactive_declaration_non_reactive_property","Properties of objects and arrays are not reactive unless in runes mode. Changes to this property will not cause the reactive statement to update")}function state_referenced_locally(eA){w$2(eA,"state_referenced_locally","State referenced in its own scope will never update. Did you mean to reference it inside a closure?")}function store_rune_conflict(eA,AA){w$2(eA,"store_rune_conflict",`It looks like you're using the \`$${AA}\` rune, but there is a local binding called \`${AA}\`. Referencing a local variable with a \`$\` prefix will create a store subscription. Please rename \`${AA}\` to avoid the ambiguity`)}function css_unused_selector(eA,AA){w$2(eA,"css_unused_selector",`Unused CSS selector "${AA}"`)}function attribute_avoid_is(eA){w$2(eA,"attribute_avoid_is",'The "is" attribute is not supported cross-browser and should be avoided')}function attribute_global_event_reference(eA,AA){w$2(eA,"attribute_global_event_reference",`You are referencing \`globalThis.${AA}\`. Did you forget to declare a variable with that name?`)}function attribute_illegal_colon(eA){w$2(eA,"attribute_illegal_colon","Attributes should not contain ':' characters to prevent ambiguity with Svelte directives")}function attribute_invalid_property_name(eA,AA,tA){w$2(eA,"attribute_invalid_property_name",`'${AA}' is not a valid HTML attribute. Did you mean '${tA}'?`)}function attribute_quoted(eA){w$2(eA,"attribute_quoted","Quoted attributes on components and custom elements will be stringified in a future version of Svelte. If this isn't what you want, remove the quotes")}function bind_invalid_each_rest(eA,AA){w$2(eA,"bind_invalid_each_rest",`The rest operator (...) will create a new object and binding '${AA}' with the original object will not work`)}function block_empty(eA){w$2(eA,"block_empty","Empty block")}function component_name_lowercase(eA,AA){w$2(eA,"component_name_lowercase",`\`<${AA}>\` will be treated as an HTML element unless it begins with a capital letter`)}function element_invalid_self_closing_tag(eA,AA){w$2(eA,"element_invalid_self_closing_tag",`Self-closing HTML tags for non-void elements are ambiguous — use \`<${AA} ...></${AA}>\` rather than \`<${AA} ... />\``)}function event_directive_deprecated(eA,AA){w$2(eA,"event_directive_deprecated",`Using \`on:${AA}\` to listen to the ${AA} event is deprecated. Use the event attribute \`on${AA}\` instead`)}function node_invalid_placement_ssr(eA,AA,tA){w$2(eA,"node_invalid_placement_ssr",`${AA} is invalid inside \`<${tA}>\`. When rendering this component on the server, the resulting HTML will be modified by the browser, likely resulting in a \`hydration_mismatch\` warning`)}function script_context_deprecated(eA){w$2(eA,"script_context_deprecated",'`context="module"` is deprecated, use the `module` attribute instead')}function script_unknown_attribute(eA){w$2(eA,"script_unknown_attribute","Unrecognized attribute — should be one of `generics`, `lang` or `module`. If this exists for a preprocessor, ensure that the preprocessor removes it")}function slot_element_deprecated(eA){w$2(eA,"slot_element_deprecated","Using `<slot>` to render parent content is deprecated. Use `{@render ...}` tags instead")}function svelte_component_deprecated(eA){w$2(eA,"svelte_component_deprecated","`<svelte:component>` is deprecated in runes mode — components are dynamic by default")}function svelte_element_invalid_this(eA){w$2(eA,"svelte_element_invalid_this","`this` should be an `{expression}`. Using a string attribute value will cause an error in future versions of Svelte")}function svelte_self_deprecated(eA,AA,tA){w$2(eA,"svelte_self_deprecated",`\`<svelte:self>\` is deprecated — use self-imports (e.g. \`import ${AA} from './${tA}'\`) instead`)}const regex_svelte_ignore=/^\s*svelte-ignore\s/,replacements={"non-top-level-reactive-declaration":"reactive_declaration_invalid_placement","module-script-reactive-declaration":"reactive_declaration_module_script","empty-block":"block_empty","avoid-is":"attribute_avoid_is","invalid-html-attribute":"attribute_invalid_property_name","a11y-structure":"a11y_figcaption_parent","illegal-attribute-character":"attribute_illegal_colon","invalid-rest-eachblock-binding":"bind_invalid_each_rest","unused-export-let":"export_let_unused"},codes=codes$1.concat(IGNORABLE_RUNTIME_WARNINGS);function extract_svelte_ignore(eA,AA,tA){const gA=regex_svelte_ignore.exec(AA);if(!gA)return[];let iA=gA[0].length;eA+=iA;const IA=[];if(tA)for(const BA of AA.slice(iA).matchAll(/([\w$-]+)(,)?/gm)){const sA=BA[1];if(codes.includes(sA))IA.push(sA);else{const CA=replacements[sA]??sA.replace(/-/g,"_"),oA=eA+BA.index,QA=oA+sA.length;if(codes.includes(CA))legacy_code({start:oA,end:QA},sA,CA);else{const EA=fuzzymatch(sA,codes);unknown_code({start:oA,end:QA},sA,EA)}}if(!BA[2])break}else for(const BA of AA.slice(iA).matchAll(/[\w$-]+/gm)){const sA=BA[0];if(IA.push(sA),!codes.includes(sA)){const CA=replacements[sA]??sA.replace(/-/g,"_");codes.includes(CA)&&IA.push(CA)}}return IA}function remove_surrounding_whitespace_nodes(eA){const AA=eA.at(0),tA=eA.at(-1);(AA==null?void 0:AA.type)==="Text"&&(regex_not_whitespace.test(AA.data)?AA.data=AA.data.replace(regex_starts_with_whitespaces,""):eA.shift()),(tA==null?void 0:tA.type)==="Text"&&(regex_not_whitespace.test(tA.data)?tA.data=tA.data.replace(regex_ends_with_whitespaces,""):eA.pop())}function convert(eA,AA){return walk(AA,null,{_(gA,{next:iA}){delete gA.parent,delete gA.metadata,iA()},Root(gA,{visit:iA}){const{instance:IA,module:BA,options:sA}=gA;if(sA!=null&&sA.__raw__){let QA=gA.fragment.nodes.findIndex(EA=>sA.end<=EA.start);QA===-1&&(QA=gA.fragment.nodes.length),delete sA.__raw__.parent,gA.fragment.nodes.splice(QA,0,sA.__raw__)}let CA=null,oA=null;if(gA.fragment.nodes.length>0){const QA=gA.fragment.nodes.at(0),EA=gA.fragment.nodes.at(-1);for(CA=QA.start,oA=EA.end;/\s/.test(eA[CA]);)CA+=1;for(;/\s/.test(eA[oA-1]);)oA-=1}return IA&&(delete IA.parent,delete IA.attributes),BA&&(delete BA.parent,delete BA.attributes),{html:{type:"Fragment",start:CA,end:oA,children:gA.fragment.nodes.map(QA=>iA(QA))},instance:IA,module:BA,css:AA.css?iA(AA.css):void 0}},AnimateDirective(gA){return{...gA,type:"Animation"}},AwaitBlock(gA,{visit:iA}){var CA,oA,QA;let IA={type:"PendingBlock",start:null,end:null,children:((CA=gA.pending)==null?void 0:CA.nodes.map(EA=>iA(EA)))??[],skip:!0},BA={type:"ThenBlock",start:null,end:null,children:((oA=gA.then)==null?void 0:oA.nodes.map(EA=>iA(EA)))??[],skip:!0},sA={type:"CatchBlock",start:null,end:null,children:((QA=gA.catch)==null?void 0:QA.nodes.map(EA=>iA(EA)))??[],skip:!0};if(gA.pending){const EA=gA.pending.nodes.at(0),rA=gA.pending.nodes.at(-1);IA.start=(EA==null?void 0:EA.start)??eA.indexOf("}",gA.expression.end)+1,IA.end=(rA==null?void 0:rA.end)??IA.start,IA.skip=!1}if(gA.then){const EA=gA.then.nodes.at(0),rA=gA.then.nodes.at(-1);BA.start=IA.end??(EA==null?void 0:EA.start)??eA.indexOf("}",gA.expression.end)+1,BA.end=(rA==null?void 0:rA.end)??eA.lastIndexOf("}",IA.end??gA.expression.end)+1,BA.skip=!1}if(gA.catch){const EA=gA.catch.nodes.at(0),rA=gA.catch.nodes.at(-1);sA.start=BA.end??IA.end??(EA==null?void 0:EA.start)??eA.indexOf("}",gA.expression.end)+1,sA.end=(rA==null?void 0:rA.end)??eA.lastIndexOf("}",BA.end??IA.end??gA.expression.end)+1,sA.skip=!1}return{type:"AwaitBlock",start:gA.start,end:gA.end,expression:gA.expression,value:gA.value,error:gA.error,pending:IA,then:BA,catch:sA}},BindDirective(gA){return{...gA,type:"Binding"}},ClassDirective(gA){return{...gA,type:"Class"}},Comment(gA){return{...gA,ignores:extract_svelte_ignore(gA.start,gA.data,!1)}},ComplexSelector(gA,{next:iA}){iA();const IA=[];for(const BA of gA.children)BA.combinator&&IA.push(BA.combinator),IA.push(...BA.selectors);return{type:"Selector",start:gA.start,end:gA.end,children:IA}},Component(gA,{visit:iA}){return{type:"InlineComponent",start:gA.start,end:gA.end,name:gA.name,attributes:gA.attributes.map(IA=>iA(IA)),children:gA.fragment.nodes.map(IA=>iA(IA))}},ConstTag(gA){if(gA.expression!==void 0)return gA;const iA=gA,{id:IA}={...iA.declaration.declarations[0]};return delete IA.typeAnnotation,{type:"ConstTag",start:iA.start,end:gA.end,expression:{type:"AssignmentExpression",start:(iA.declaration.start??0)+6,end:iA.declaration.end??0,operator:"=",left:IA,right:iA.declaration.declarations[0].init}}},KeyBlock(gA,{visit:iA}){return remove_surrounding_whitespace_nodes(gA.fragment.nodes),{type:"KeyBlock",start:gA.start,end:gA.end,expression:gA.expression,children:gA.fragment.nodes.map(IA=>iA(IA))}},EachBlock(gA,{visit:iA}){let IA;if(gA.fallback){const BA=gA.fallback.nodes.at(0),sA=eA.lastIndexOf("{",gA.end-1),CA=(BA==null?void 0:BA.start)??sA;remove_surrounding_whitespace_nodes(gA.fallback.nodes),IA={type:"ElseBlock",start:CA,end:sA,children:gA.fallback.nodes.map(oA=>iA(oA))}}return remove_surrounding_whitespace_nodes(gA.body.nodes),{type:"EachBlock",start:gA.start,end:gA.end,children:gA.body.nodes.map(BA=>iA(BA)),context:gA.context,expression:gA.expression,index:gA.index,key:gA.key,else:IA}},ExpressionTag(gA,{path:iA}){const IA=iA.at(-1);return(IA==null?void 0:IA.type)==="Attribute"&&eA[IA.start]==="{"?{type:"AttributeShorthand",start:gA.start,end:gA.end,expression:gA.expression}:{type:"MustacheTag",start:gA.start,end:gA.end,expression:gA.expression}},HtmlTag(gA){return{...gA,type:"RawMustacheTag"}},IfBlock(gA,{visit:iA}){var sA,CA;let IA;if(gA.alternate){let oA=gA.alternate.nodes;oA.length===1&&oA[0].type==="IfBlock"&&oA[0].elseif&&(oA=oA[0].consequent.nodes);const QA=eA.lastIndexOf("{",gA.end-1),EA=((sA=oA.at(0))==null?void 0:sA.start)??QA;remove_surrounding_whitespace_nodes(gA.alternate.nodes),IA={type:"ElseBlock",start:EA,end:QA,children:gA.alternate.nodes.map(rA=>iA(rA))}}const BA=gA.elseif?((CA=gA.consequent.nodes[0])==null?void 0:CA.start)??eA.lastIndexOf("{",gA.end-1):gA.start;return remove_surrounding_whitespace_nodes(gA.consequent.nodes),{type:"IfBlock",start:BA,end:gA.end,expression:gA.test,children:gA.consequent.nodes.map(oA=>iA(oA)),else:IA,elseif:gA.elseif?!0:void 0}},OnDirective(gA){return{...gA,type:"EventHandler"}},SnippetBlock(gA,{visit:iA}){return remove_surrounding_whitespace_nodes(gA.body.nodes),{type:"SnippetBlock",start:gA.start,end:gA.end,expression:gA.expression,parameters:gA.parameters,children:gA.body.nodes.map(IA=>iA(IA))}},RegularElement(gA,{visit:iA}){return{type:"Element",start:gA.start,end:gA.end,name:gA.name,attributes:gA.attributes.map(IA=>iA(IA)),children:gA.fragment.nodes.map(IA=>iA(IA))}},SlotElement(gA,{visit:iA}){return{type:"Slot",start:gA.start,end:gA.end,name:gA.name,attributes:gA.attributes.map(IA=>iA(IA)),children:gA.fragment.nodes.map(IA=>iA(IA))}},Attribute(gA,{visit:iA,next:IA,path:BA}){if(gA.value!==!0&&!Array.isArray(gA.value)){BA.push(gA);const sA=[iA(gA.value)];return BA.pop(),{...gA,value:sA}}else return IA()},StyleDirective(gA,{visit:iA,next:IA,path:BA}){if(gA.value!==!0&&!Array.isArray(gA.value)){BA.push(gA);const sA=[iA(gA.value)];return BA.pop(),{...gA,value:sA}}else return IA()},SpreadAttribute(gA){return{...gA,type:"Spread"}},StyleSheet(gA,iA){return{...gA,...iA.next(),type:"Style"}},SvelteBody(gA,{visit:iA}){return{type:"Body",name:"svelte:body",start:gA.start,end:gA.end,attributes:gA.attributes.map(IA=>iA(IA)),children:gA.fragment.nodes.map(IA=>iA(IA))}},SvelteComponent(gA,{visit:iA}){return{type:"InlineComponent",name:"svelte:component",start:gA.start,end:gA.end,expression:gA.expression,attributes:gA.attributes.map(IA=>iA(IA)),children:gA.fragment.nodes.map(IA=>iA(IA))}},SvelteDocument(gA,{visit:iA}){return{type:"Document",name:"svelte:document",start:gA.start,end:gA.end,attributes:gA.attributes.map(IA=>iA(IA)),children:gA.fragment.nodes.map(IA=>iA(IA))}},SvelteElement(gA,{visit:iA}){let IA=gA.tag;return IA.type==="Literal"&&typeof IA.value=="string"&&eA[gA.tag.start-1]!=="{"&&(IA=IA.value),{type:"Element",name:"svelte:element",start:gA.start,end:gA.end,tag:IA,attributes:gA.attributes.map(BA=>iA(BA)),children:gA.fragment.nodes.map(BA=>iA(BA))}},SvelteFragment(gA,{visit:iA}){return{type:"SlotTemplate",name:"svelte:fragment",start:gA.start,end:gA.end,attributes:gA.attributes.map(IA=>iA(IA)),children:gA.fragment.nodes.map(IA=>iA(IA))}},SvelteHead(gA,{visit:iA}){return{type:"Head",name:"svelte:head",start:gA.start,end:gA.end,attributes:gA.attributes.map(IA=>iA(IA)),children:gA.fragment.nodes.map(IA=>iA(IA))}},SvelteOptions(gA,{visit:iA}){return{type:"Options",name:"svelte:options",start:gA.start,end:gA.end,attributes:gA.attributes.map(IA=>iA(IA))}},SvelteSelf(gA,{visit:iA}){return{type:"InlineComponent",name:"svelte:self",start:gA.start,end:gA.end,attributes:gA.attributes.map(IA=>iA(IA)),children:gA.fragment.nodes.map(IA=>iA(IA))}},SvelteWindow(gA,{visit:iA}){return{type:"Window",name:"svelte:window",start:gA.start,end:gA.end,attributes:gA.attributes.map(IA=>iA(IA)),children:gA.fragment.nodes.map(IA=>iA(IA))}},Text(gA,{path:iA}){const IA=iA.at(-1);if((IA==null?void 0:IA.type)==="RegularElement"&&IA.name==="style")return{type:"Text",start:gA.start,end:gA.end,data:gA.data}},TitleElement(gA,{visit:iA}){return{type:"Title",name:"title",start:gA.start,end:gA.end,attributes:gA.attributes.map(IA=>iA(IA)),children:gA.fragment.nodes.map(IA=>iA(IA))}},TransitionDirective(gA){return{...gA,type:"Transition"}},UseDirective(gA){return{...gA,type:"Action"}},LetDirective(gA){return{...gA,type:"Let"}}})}function a$1(eA,AA){for(var tA=0;tA<AA.length;tA++){var gA=AA[tA];gA.enumerable=gA.enumerable||!1,gA.configurable=!0,"value"in gA&&(gA.writable=!0),Object.defineProperty(eA,typeof(iA=function(IA,BA){if(typeof IA!="object"||IA===null)return IA;var sA=IA[Symbol.toPrimitive];if(sA!==void 0){var CA=sA.call(IA,"string");if(typeof CA!="object")return CA;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(IA)}(gA.key))=="symbol"?iA:String(iA),gA)}var iA}function n$2(){return n$2=Object.assign?Object.assign.bind():function(eA){for(var AA=1;AA<arguments.length;AA++){var tA=arguments[AA];for(var gA in tA)Object.prototype.hasOwnProperty.call(tA,gA)&&(eA[gA]=tA[gA])}return eA},n$2.apply(this,arguments)}function o$1(eA,AA){eA.prototype=Object.create(AA.prototype),eA.prototype.constructor=eA,h$1(eA,AA)}function h$1(eA,AA){return h$1=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(tA,gA){return tA.__proto__=gA,tA},h$1(eA,AA)}function p$1(eA,AA){(AA==null||AA>eA.length)&&(AA=eA.length);for(var tA=0,gA=new Array(AA);tA<AA;tA++)gA[tA]=eA[tA];return gA}function c$2(eA,AA){var tA=typeof Symbol<"u"&&eA[Symbol.iterator]||eA["@@iterator"];if(tA)return(tA=tA.call(eA)).next.bind(tA);if(Array.isArray(eA)||(tA=function(iA,IA){if(iA){if(typeof iA=="string")return p$1(iA,IA);var BA=Object.prototype.toString.call(iA).slice(8,-1);return BA==="Object"&&iA.constructor&&(BA=iA.constructor.name),BA==="Map"||BA==="Set"?Array.from(iA):BA==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(BA)?p$1(iA,IA):void 0}}(eA))||AA){tA&&(eA=tA);var gA=0;return function(){return gA>=eA.length?{done:!0}:{done:!1,value:eA[gA++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
27
27
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var l$1=!0;function u$1(eA,AA){return AA===void 0&&(AA={}),new TokenType("name",AA)}var d$1=new WeakMap;function m$1(eA){var AA=d$1.get(eA.Parser.acorn||eA);if(!AA){var tA={assert:u$1(0,{startsExpr:l$1}),asserts:u$1(0,{startsExpr:l$1}),global:u$1(0,{startsExpr:l$1}),keyof:u$1(0,{startsExpr:l$1}),readonly:u$1(0,{startsExpr:l$1}),unique:u$1(0,{startsExpr:l$1}),abstract:u$1(0,{startsExpr:l$1}),declare:u$1(0,{startsExpr:l$1}),enum:u$1(0,{startsExpr:l$1}),module:u$1(0,{startsExpr:l$1}),namespace:u$1(0,{startsExpr:l$1}),interface:u$1(0,{startsExpr:l$1}),type:u$1(0,{startsExpr:l$1})},gA={at:new TokenType("@"),jsxName:new TokenType("jsxName"),jsxText:new TokenType("jsxText",{beforeExpr:!0}),jsxTagStart:new TokenType("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new TokenType("jsxTagEnd")},iA={tc_oTag:new TokContext("<tag",!1,!1),tc_cTag:new TokContext("</tag",!1,!1),tc_expr:new TokContext("<tag>...</tag>",!0,!0)},IA=new RegExp("^(?:"+Object.keys(tA).join("|")+")$");gA.jsxTagStart.updateContext=function(){this.context.push(iA.tc_expr),this.context.push(iA.tc_oTag),this.exprAllowed=!1},gA.jsxTagEnd.updateContext=function(BA){var sA=this.context.pop();sA===iA.tc_oTag&&BA===types$1.slash||sA===iA.tc_cTag?(this.context.pop(),this.exprAllowed=this.curContext()===iA.tc_expr):this.exprAllowed=!0},AA={tokTypes:n$2({},tA,gA),tokContexts:n$2({},iA),keywordsRegExp:IA,tokenIsLiteralPropertyName:function(BA){return[types$1.name,types$1.string,types$1.num].concat(Object.values(keywords),Object.values(tA)).includes(BA)},tokenIsKeywordOrIdentifier:function(BA){return[types$1.name].concat(Object.values(keywords),Object.values(tA)).includes(BA)},tokenIsIdentifier:function(BA){return[].concat(Object.values(tA),[types$1.name]).includes(BA)},tokenIsTSDeclarationStart:function(BA){return[tA.abstract,tA.declare,tA.enum,tA.module,tA.namespace,tA.interface,tA.type].includes(BA)},tokenIsTSTypeOperator:function(BA){return[tA.keyof,tA.readonly,tA.unique].includes(BA)},tokenIsTemplate:function(BA){return BA===types$1.invalidTemplate}}}return AA}var f$1=1024,y$1=new RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*","y"),x$1=new RegExp("(?=("+y$1.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y"),T$1=function(){this.shorthandAssign=void 0,this.trailingComma=void 0,this.parenthesizedAssign=void 0,this.parenthesizedBind=void 0,this.doubleProto=void 0,this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};function v$1(eA,AA){var tA=AA.key.name,gA=eA[tA],iA="true";return AA.type!=="MethodDefinition"||AA.kind!=="get"&&AA.kind!=="set"||(iA=(AA.static?"s":"i")+AA.kind),gA==="iget"&&iA==="iset"||gA==="iset"&&iA==="iget"||gA==="sget"&&iA==="sset"||gA==="sset"&&iA==="sget"?(eA[tA]="true",!1):!!gA||(eA[tA]=iA,!1)}function P$1(eA,AA){var tA=eA.key;return!eA.computed&&(tA.type==="Identifier"&&tA.name===AA||tA.type==="Literal"&&tA.value===AA)}var b$1={AbstractMethodHasImplementation:function(eA){return"Method '"+eA.methodName+"' cannot have an implementation because it is marked abstract."},AbstractPropertyHasInitializer:function(eA){return"Property '"+eA.propertyName+"' cannot have an initializer because it is marked abstract."},AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",CannotFindName:function(eA){return"Cannot find name '"+eA.name+"'."},ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference:"A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:function(eA){return"'declare' is not allowed in "+eA.kind+"ters."},DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:function(){return"Accessibility modifier already seen."},DuplicateModifier:function(eA){return"Duplicate modifier: '"+eA.modifier+"'."},EmptyHeritageClauseType:function(eA){return"'"+eA.token+"' 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'.",IncompatibleModifiers:function(eA){var AA=eA.modifiers;return"'"+AA[0]+"' modifier cannot be used with '"+AA[1]+"' modifier."},IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:function(eA){return"Index signatures cannot have an accessibility modifier ('"+eA.modifier+"')."},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:function(eA){return"'"+eA.modifier+"' modifier cannot appear on a type member."},InvalidModifierOnTypeParameter:function(eA){return"'"+eA.modifier+"' modifier cannot appear on a type parameter."},InvalidModifierOnTypeParameterPositions:function(eA){return"'"+eA.modifier+"' modifier can only appear on a type parameter of a class, interface or type alias."},InvalidModifiersOrder:function(eA){var AA=eA.orderedModifiers;return"'"+AA[0]+"' modifier must precede '"+AA[1]+"' modifier."},InvalidPropertyAccessAfterInstantiationExpression:"Invalid property access after an instantiation expression. You can either wrap the instantiation expression in parentheses, or delete the type arguments.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:function(eA){return"Private elements cannot have an accessibility modifier ('"+eA.modifier+"')."},PrivateMethodsHasAccessibility:function(eA){return"Private methods cannot have an accessibility modifier ('"+eA.modifier+"')."},ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",SingleTypeParameterWithoutTrailingComma:function(eA){var AA=eA.typeParameterName;return"Single type parameter "+AA+" should have a trailing comma. Example usage: <"+AA+",>."},StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",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.",GenericsEndWithComma:"Trailing comma is not allowed at the end of generics.",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:function(eA){return"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got "+eA.type+"."},LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations."},g$1={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},A$1=/^[\da-fA-F]+$/,S$1=/^\d+$/;function C$1(eA){return eA&&(eA.type==="JSXIdentifier"?eA.name:eA.type==="JSXNamespacedName"?eA.namespace.name+":"+eA.name.name:eA.type==="JSXMemberExpression"?C$1(eA.object)+"."+C$1(eA.property):void 0)}var E$1=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;function k$3(eA){if(!eA)throw new Error("Assert fail")}function I$1(eA){return eA==="accessor"}function N$1(eA){return eA==="in"||eA==="out"}function w$1(eA,AA){return 2|(eA?4:0)|(AA?8:0)}function L$1(eA){if(eA.type!=="MemberExpression")return!1;var AA=eA.property;return(!eA.computed||!(AA.type!=="TemplateLiteral"||AA.expressions.length>0))&&M$1(eA.object)}function M$1(eA){return eA.type==="Identifier"||eA.type==="MemberExpression"&&!eA.computed&&M$1(eA.object)}function O$1(eA){return eA==="private"||eA==="public"||eA==="protected"}function D$1(eA){var AA=eA||{},tA=AA.dts,gA=tA!==void 0&&tA,iA=AA.allowSatisfies,IA=iA!==void 0&&iA;return function(BA){var sA=BA.acorn||t$2,CA=m$1(sA),oA=sA.tokTypes,QA=sA.keywordTypes,EA=sA.isIdentifierStart,rA=sA.lineBreak,lA=sA.isNewLine,uA=sA.tokContexts,cA=sA.isIdentifierChar,hA=CA.tokTypes,dA=CA.tokContexts,pA=CA.keywordsRegExp,wA=CA.tokenIsLiteralPropertyName,mA=CA.tokenIsTemplate,MA=CA.tokenIsTSDeclarationStart,fA=CA.tokenIsIdentifier,LA=CA.tokenIsKeywordOrIdentifier,_A=CA.tokenIsTSTypeOperator;function bA(RA,NA,FA){FA===void 0&&(FA=RA.length);for(var vA=NA;vA<FA;vA++){var xA=RA.charCodeAt(vA);if(lA(xA))return vA<FA-1&&xA===13&&RA.charCodeAt(vA+1)===10?vA+2:vA+1}return-1}BA=function(RA,NA,FA){var vA=FA.tokTypes,xA=NA.tokTypes;return function(kA){function aA(){return kA.apply(this,arguments)||this}o$1(aA,kA);var nA=aA.prototype;return nA.takeDecorators=function(DA){var yA=this.decoratorStack[this.decoratorStack.length-1];yA.length&&(DA.decorators=yA,this.resetStartLocationFromNode(DA,yA[0]),this.decoratorStack[this.decoratorStack.length-1]=[])},nA.parseDecorators=function(DA){for(var yA=this.decoratorStack[this.decoratorStack.length-1];this.match(xA.at);){var GA=this.parseDecorator();yA.push(GA)}this.match(vA._export)?DA||this.unexpected():this.canHaveLeadingDecorator()||this.raise(this.start,"Leading decorators must be attached to a class declaration.")},nA.parseDecorator=function(){var DA=this.startNode();this.next(),this.decoratorStack.push([]);var yA,GA=this.start,SA=this.startLoc;if(this.match(vA.parenL)){var YA=this.start,UA=this.startLoc;if(this.next(),yA=this.parseExpression(),this.expect(vA.parenR),this.options.preserveParens){var KA=this.startNodeAt(YA,UA);KA.expression=yA,yA=this.finishNode(KA,"ParenthesizedExpression")}}else for(yA=this.parseIdent(!1);this.eat(vA.dot);){var qA=this.startNodeAt(GA,SA);qA.object=yA,qA.property=this.parseIdent(!0),qA.computed=!1,yA=this.finishNode(qA,"MemberExpression")}return DA.expression=this.parseMaybeDecoratorArguments(yA),this.decoratorStack.pop(),this.finishNode(DA,"Decorator")},nA.parseMaybeDecoratorArguments=function(DA){if(this.eat(vA.parenL)){var yA=this.startNodeAtNode(DA);return yA.callee=DA,yA.arguments=this.parseExprList(vA.parenR,!1),this.finishNode(yA,"CallExpression")}return DA},aA}(RA)}(BA,CA,sA),BA=function(RA,NA,FA,vA){var xA=RA.tokTypes,kA=NA.tokTypes,aA=RA.isNewLine,nA=RA.isIdentifierChar,DA=Object.assign({allowNamespaces:!0,allowNamespacedObjects:!0},vA||{});return function(yA){function GA(){return yA.apply(this,arguments)||this}o$1(GA,yA);var SA=GA.prototype;return SA.jsx_readToken=function(){for(var YA="",UA=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");var KA=this.input.charCodeAt(this.pos);switch(KA){case 60:case 123:return this.pos===this.start?KA===60&&this.exprAllowed?(++this.pos,this.finishToken(kA.jsxTagStart)):this.getTokenFromCode(KA):(YA+=this.input.slice(UA,this.pos),this.finishToken(kA.jsxText,YA));case 38:YA+=this.input.slice(UA,this.pos),YA+=this.jsx_readEntity(),UA=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(KA===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:aA(KA)?(YA+=this.input.slice(UA,this.pos),YA+=this.jsx_readNewLine(!0),UA=this.pos):++this.pos}}},SA.jsx_readNewLine=function(YA){var UA,KA=this.input.charCodeAt(this.pos);return++this.pos,KA===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,UA=YA?`
28
28
  `:`\r
29
- `):UA=String.fromCharCode(KA),this.options.locations&&(++this.curLine,this.lineStart=this.pos),UA},SA.jsx_readString=function(YA){for(var UA="",KA=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var qA=this.input.charCodeAt(this.pos);if(qA===YA)break;qA===38?(UA+=this.input.slice(KA,this.pos),UA+=this.jsx_readEntity(),KA=this.pos):aA(qA)?(UA+=this.input.slice(KA,this.pos),UA+=this.jsx_readNewLine(!1),KA=this.pos):++this.pos}return UA+=this.input.slice(KA,this.pos++),this.finishToken(xA.string,UA)},SA.jsx_readEntity=function(){var YA,UA="",KA=0,qA=this.input[this.pos];qA!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");for(var $A=++this.pos;this.pos<this.input.length&&KA++<10;){if((qA=this.input[this.pos++])===";"){UA[0]==="#"?UA[1]==="x"?(UA=UA.substr(2),A$1.test(UA)&&(YA=String.fromCharCode(parseInt(UA,16)))):(UA=UA.substr(1),S$1.test(UA)&&(YA=String.fromCharCode(parseInt(UA,10)))):YA=g$1[UA];break}UA+=qA}return YA||(this.pos=$A,"&")},SA.jsx_readWord=function(){var YA,UA=this.pos;do YA=this.input.charCodeAt(++this.pos);while(nA(YA)||YA===45);return this.finishToken(kA.jsxName,this.input.slice(UA,this.pos))},SA.jsx_parseIdentifier=function(){var YA=this.startNode();return this.type===kA.jsxName?YA.name=this.value:this.type.keyword?YA.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(YA,"JSXIdentifier")},SA.jsx_parseNamespacedName=function(){var YA=this.start,UA=this.startLoc,KA=this.jsx_parseIdentifier();if(!DA.allowNamespaces||!this.eat(xA.colon))return KA;var qA=this.startNodeAt(YA,UA);return qA.namespace=KA,qA.name=this.jsx_parseIdentifier(),this.finishNode(qA,"JSXNamespacedName")},SA.jsx_parseElementName=function(){if(this.type===kA.jsxTagEnd)return"";var YA=this.start,UA=this.startLoc,KA=this.jsx_parseNamespacedName();for(this.type!==xA.dot||KA.type!=="JSXNamespacedName"||DA.allowNamespacedObjects||this.unexpected();this.eat(xA.dot);){var qA=this.startNodeAt(YA,UA);qA.object=KA,qA.property=this.jsx_parseIdentifier(),KA=this.finishNode(qA,"JSXMemberExpression")}return KA},SA.jsx_parseAttributeValue=function(){switch(this.type){case xA.braceL:var YA=this.jsx_parseExpressionContainer();return YA.expression.type==="JSXEmptyExpression"&&this.raise(YA.start,"JSX attributes must only be assigned a non-empty expression"),YA;case kA.jsxTagStart:case xA.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}},SA.jsx_parseEmptyExpression=function(){var YA=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(YA,"JSXEmptyExpression",this.start,this.startLoc)},SA.jsx_parseExpressionContainer=function(){var YA=this.startNode();return this.next(),YA.expression=this.type===xA.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(xA.braceR),this.finishNode(YA,"JSXExpressionContainer")},SA.jsx_parseAttribute=function(){var YA=this.startNode();return this.eat(xA.braceL)?(this.expect(xA.ellipsis),YA.argument=this.parseMaybeAssign(),this.expect(xA.braceR),this.finishNode(YA,"JSXSpreadAttribute")):(YA.name=this.jsx_parseNamespacedName(),YA.value=this.eat(xA.eq)?this.jsx_parseAttributeValue():null,this.finishNode(YA,"JSXAttribute"))},SA.jsx_parseOpeningElementAt=function(YA,UA){var KA=this.startNodeAt(YA,UA);KA.attributes=[];var qA=this.jsx_parseElementName();for(qA&&(KA.name=qA);this.type!==xA.slash&&this.type!==kA.jsxTagEnd;)KA.attributes.push(this.jsx_parseAttribute());return KA.selfClosing=this.eat(xA.slash),this.expect(kA.jsxTagEnd),this.finishNode(KA,qA?"JSXOpeningElement":"JSXOpeningFragment")},SA.jsx_parseClosingElementAt=function(YA,UA){var KA=this.startNodeAt(YA,UA),qA=this.jsx_parseElementName();return qA&&(KA.name=qA),this.expect(kA.jsxTagEnd),this.finishNode(KA,qA?"JSXClosingElement":"JSXClosingFragment")},SA.jsx_parseElementAt=function(YA,UA){var KA=this.startNodeAt(YA,UA),qA=[],$A=this.jsx_parseOpeningElementAt(YA,UA),VA=null;if(!$A.selfClosing){A:for(;;)switch(this.type){case kA.jsxTagStart:if(YA=this.start,UA=this.startLoc,this.next(),this.eat(xA.slash)){VA=this.jsx_parseClosingElementAt(YA,UA);break A}qA.push(this.jsx_parseElementAt(YA,UA));break;case kA.jsxText:qA.push(this.parseExprAtom());break;case xA.braceL:qA.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}C$1(VA.name)!==C$1($A.name)&&this.raise(VA.start,"Expected corresponding JSX closing tag for <"+C$1($A.name)+">")}var PA=$A.name?"Element":"Fragment";return KA["opening"+PA]=$A,KA["closing"+PA]=VA,KA.children=qA,this.type===xA.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(KA,"JSX"+PA)},SA.jsx_parseText=function(){var YA=this.parseLiteral(this.value);return YA.type="JSXText",YA},SA.jsx_parseElement=function(){var YA=this.start,UA=this.startLoc;return this.next(),this.jsx_parseElementAt(YA,UA)},GA}(FA)}(sA,CA,BA,eA==null?void 0:eA.jsx),BA=function(RA,NA,FA){var vA=NA.tokTypes,xA=FA.tokTypes;return function(kA){function aA(){return kA.apply(this,arguments)||this}o$1(aA,kA);var nA=aA.prototype;return nA.parseMaybeImportAttributes=function(DA){if(this.type===xA._with||this.type===vA.assert){this.next();var yA=this.parseImportAttributes();yA&&(DA.attributes=yA)}},nA.parseImportAttributes=function(){this.expect(xA.braceL);var DA=this.parseWithEntries();return this.expect(xA.braceR),DA},nA.parseWithEntries=function(){var DA=[],yA=new Set;do{if(this.type===xA.braceR)break;var GA,SA=this.startNode();GA=this.type===xA.string?this.parseLiteral(this.value):this.parseIdent(!0),this.next(),SA.key=GA,yA.has(SA.key.name)&&this.raise(this.pos,"Duplicated key in attributes"),yA.add(SA.key.name),this.type!==xA.string&&this.raise(this.pos,"Only string is supported as an attribute value"),SA.value=this.parseLiteral(this.value),DA.push(this.finishNode(SA,"ImportAttribute"))}while(this.eat(xA.comma));return DA},aA}(RA)}(BA,CA,sA);var JA=function(RA){function NA(aA,nA,DA){var yA;return(yA=RA.call(this,aA,nA,DA)||this).preValue=null,yA.preToken=null,yA.isLookahead=!1,yA.isAmbientContext=!1,yA.inAbstractClass=!1,yA.inType=!1,yA.inDisallowConditionalTypesContext=!1,yA.maybeInArrowParameters=!1,yA.shouldParseArrowReturnType=void 0,yA.shouldParseAsyncArrowReturnType=void 0,yA.decoratorStack=[[]],yA.importsStack=[[]],yA.importOrExportOuterKind=void 0,yA.tsParseConstModifier=yA.tsParseModifiers.bind(function(GA){if(GA===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return GA}(yA),{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:b$1.InvalidModifierOnTypeParameterPositions}),yA}o$1(NA,RA);var FA,vA,xA,kA=NA.prototype;return kA.getTokenFromCodeInType=function(aA){return aA===62||aA===60?this.finishOp(oA.relational,1):RA.prototype.getTokenFromCode.call(this,aA)},kA.readToken=function(aA){if(!this.inType){var nA=this.curContext();if(nA===dA.tc_expr)return this.jsx_readToken();if(nA===dA.tc_oTag||nA===dA.tc_cTag){if(EA(aA))return this.jsx_readWord();if(aA==62)return++this.pos,this.finishToken(hA.jsxTagEnd);if((aA===34||aA===39)&&nA==dA.tc_oTag)return this.jsx_readString(aA)}if(aA===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33)return++this.pos,this.finishToken(hA.jsxTagStart)}return RA.prototype.readToken.call(this,aA)},kA.getTokenFromCode=function(aA){return this.inType?this.getTokenFromCodeInType(aA):aA===64?(++this.pos,this.finishToken(hA.at)):RA.prototype.getTokenFromCode.call(this,aA)},kA.isAbstractClass=function(){return this.ts_isContextual(hA.abstract)&&this.lookahead().type===oA._class},kA.finishNode=function(aA,nA){return aA.type!==""&&aA.end!==0?aA:RA.prototype.finishNode.call(this,aA,nA)},kA.tryParse=function(aA,nA){nA===void 0&&(nA=this.cloneCurLookaheadState());var DA={node:null};try{return{node:aA(function(GA){throw GA===void 0&&(GA=null),DA.node=GA,DA}),error:null,thrown:!1,aborted:!1,failState:null}}catch(GA){var yA=this.getCurLookaheadState();if(this.setLookaheadState(nA),GA instanceof SyntaxError)return{node:null,error:GA,thrown:!0,aborted:!1,failState:yA};if(GA===DA)return{node:DA.node,error:null,thrown:!1,aborted:!0,failState:yA};throw GA}},kA.setOptionalParametersError=function(aA,nA){var DA;aA.optionalParametersLoc=(DA=nA==null?void 0:nA.loc)!=null?DA:this.startLoc},kA.reScan_lt_gt=function(){this.type===oA.relational&&(this.pos-=1,this.readToken_lt_gt(this.fullCharCodeAtPos()))},kA.reScan_lt=function(){var aA=this.type;return aA===oA.bitShift?(this.pos-=2,this.finishOp(oA.relational,1),oA.relational):aA},kA.resetEndLocation=function(aA,nA){nA===void 0&&(nA=this.lastTokEndLoc),aA.end=nA.column,aA.loc.end=nA,this.options.ranges&&(aA.range[1]=nA.column)},kA.startNodeAtNode=function(aA){return RA.prototype.startNodeAt.call(this,aA.start,aA.loc.start)},kA.nextTokenStart=function(){return this.nextTokenStartSince(this.pos)},kA.tsHasSomeModifiers=function(aA,nA){return nA.some(function(DA){return O$1(DA)?aA.accessibility===DA:!!aA[DA]})},kA.tsIsStartOfStaticBlocks=function(){return this.isContextual("static")&&this.lookaheadCharCode()===123},kA.tsCheckForInvalidTypeCasts=function(aA){var nA=this;aA.forEach(function(DA){(DA==null?void 0:DA.type)==="TSTypeCastExpression"&&nA.raise(DA.typeAnnotation.start,b$1.UnexpectedTypeAnnotation)})},kA.atPossibleAsyncArrow=function(aA){return aA.type==="Identifier"&&aA.name==="async"&&this.lastTokEndLoc.column===aA.end&&!this.canInsertSemicolon()&&aA.end-aA.start==5&&aA.start===this.potentialArrowAt},kA.tsIsIdentifier=function(){return fA(this.type)},kA.tsTryParseTypeOrTypePredicateAnnotation=function(){return this.match(oA.colon)?this.tsParseTypeOrTypePredicateAnnotation(oA.colon):void 0},kA.tsTryParseGenericAsyncArrowFunction=function(aA,nA,DA){var yA=this;if(this.tsMatchLeftRelational()){var GA=this.maybeInArrowParameters;this.maybeInArrowParameters=!0;var SA=this.tsTryParseAndCatch(function(){var YA=yA.startNodeAt(aA,nA);return YA.typeParameters=yA.tsParseTypeParameters(),RA.prototype.parseFunctionParams.call(yA,YA),YA.returnType=yA.tsTryParseTypeOrTypePredicateAnnotation(),yA.expect(oA.arrow),YA});if(this.maybeInArrowParameters=GA,SA)return RA.prototype.parseArrowExpression.call(this,SA,null,!0,DA)}},kA.tsParseTypeArgumentsInExpression=function(){if(this.reScan_lt()===oA.relational)return this.tsParseTypeArguments()},kA.tsInNoContext=function(aA){var nA=this.context;this.context=[nA[0]];try{return aA()}finally{this.context=nA}},kA.tsTryParseTypeAnnotation=function(){return this.match(oA.colon)?this.tsParseTypeAnnotation():void 0},kA.isUnparsedContextual=function(aA,nA){var DA=aA+nA.length;if(this.input.slice(aA,DA)===nA){var yA=this.input.charCodeAt(DA);return!(cA(yA)||(64512&yA)==55296)}return!1},kA.isAbstractConstructorSignature=function(){return this.ts_isContextual(hA.abstract)&&this.lookahead().type===oA._new},kA.nextTokenStartSince=function(aA){return E$1.lastIndex=aA,E$1.test(this.input)?E$1.lastIndex:aA},kA.lookaheadCharCode=function(){return this.input.charCodeAt(this.nextTokenStart())},kA.compareLookaheadState=function(aA,nA){for(var DA=0,yA=Object.keys(aA);DA<yA.length;DA++){var GA=yA[DA];if(aA[GA]!==nA[GA])return!1}return!0},kA.createLookaheadState=function(){this.value=null,this.context=[this.curContext()]},kA.getCurLookaheadState=function(){return{endLoc:this.endLoc,lastTokEnd:this.lastTokEnd,lastTokStart:this.lastTokStart,lastTokStartLoc:this.lastTokStartLoc,pos:this.pos,value:this.value,type:this.type,start:this.start,end:this.end,context:this.context,startLoc:this.startLoc,lastTokEndLoc:this.lastTokEndLoc,curLine:this.curLine,lineStart:this.lineStart,curPosition:this.curPosition,containsEsc:this.containsEsc}},kA.cloneCurLookaheadState=function(){return{pos:this.pos,value:this.value,type:this.type,start:this.start,end:this.end,context:this.context&&this.context.slice(),startLoc:this.startLoc,lastTokEndLoc:this.lastTokEndLoc,endLoc:this.endLoc,lastTokEnd:this.lastTokEnd,lastTokStart:this.lastTokStart,lastTokStartLoc:this.lastTokStartLoc,curLine:this.curLine,lineStart:this.lineStart,curPosition:this.curPosition,containsEsc:this.containsEsc}},kA.setLookaheadState=function(aA){this.pos=aA.pos,this.value=aA.value,this.endLoc=aA.endLoc,this.lastTokEnd=aA.lastTokEnd,this.lastTokStart=aA.lastTokStart,this.lastTokStartLoc=aA.lastTokStartLoc,this.type=aA.type,this.start=aA.start,this.end=aA.end,this.context=aA.context,this.startLoc=aA.startLoc,this.lastTokEndLoc=aA.lastTokEndLoc,this.curLine=aA.curLine,this.lineStart=aA.lineStart,this.curPosition=aA.curPosition,this.containsEsc=aA.containsEsc},kA.tsLookAhead=function(aA){var nA=this.getCurLookaheadState(),DA=aA();return this.setLookaheadState(nA),DA},kA.lookahead=function(aA){var nA=this.getCurLookaheadState();if(this.createLookaheadState(),this.isLookahead=!0,aA!==void 0)for(var DA=0;DA<aA;DA++)this.nextToken();else this.nextToken();this.isLookahead=!1;var yA=this.getCurLookaheadState();return this.setLookaheadState(nA),yA},kA.readWord=function(){var aA=this.readWord1(),nA=oA.name;return this.keywords.test(aA)?nA=QA[aA]:new RegExp(pA).test(aA)&&(nA=hA[aA]),this.finishToken(nA,aA)},kA.skipBlockComment=function(){var aA;this.isLookahead||(aA=this.options.onComment&&this.curPosition());var nA=this.pos,DA=this.input.indexOf("*/",this.pos+=2);if(DA===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=DA+2,this.options.locations)for(var yA,GA=nA;(yA=bA(this.input,GA,this.pos))>-1;)++this.curLine,GA=this.lineStart=yA;this.isLookahead||this.options.onComment&&this.options.onComment(!0,this.input.slice(nA+2,DA),nA,this.pos,aA,this.curPosition())},kA.skipLineComment=function(aA){var nA,DA=this.pos;this.isLookahead||(nA=this.options.onComment&&this.curPosition());for(var yA=this.input.charCodeAt(this.pos+=aA);this.pos<this.input.length&&!lA(yA);)yA=this.input.charCodeAt(++this.pos);this.isLookahead||this.options.onComment&&this.options.onComment(!1,this.input.slice(DA+aA,this.pos),DA,this.pos,nA,this.curPosition())},kA.finishToken=function(aA,nA){this.preValue=this.value,this.preToken=this.type,this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var DA=this.type;this.type=aA,this.value=nA,this.isLookahead||this.updateContext(DA)},kA.resetStartLocation=function(aA,nA,DA){aA.start=nA,aA.loc.start=DA,this.options.ranges&&(aA.range[0]=nA)},kA.isLineTerminator=function(){return this.eat(oA.semi)||RA.prototype.canInsertSemicolon.call(this)},kA.hasFollowingLineBreak=function(){return x$1.lastIndex=this.end,x$1.test(this.input)},kA.addExtra=function(aA,nA,DA,yA){if(yA===void 0&&(yA=!0),aA){var GA=aA.extra=aA.extra||{};yA?GA[nA]=DA:Object.defineProperty(GA,nA,{enumerable:yA,value:DA})}},kA.isLiteralPropertyName=function(){return wA(this.type)},kA.hasPrecedingLineBreak=function(){return rA.test(this.input.slice(this.lastTokEndLoc.index,this.start))},kA.createIdentifier=function(aA,nA){return aA.name=nA,this.finishNode(aA,"Identifier")},kA.resetStartLocationFromNode=function(aA,nA){this.resetStartLocation(aA,nA.start,nA.loc.start)},kA.isThisParam=function(aA){return aA.type==="Identifier"&&aA.name==="this"},kA.isLookaheadContextual=function(aA){var nA=this.nextTokenStart();return this.isUnparsedContextual(nA,aA)},kA.ts_type_isContextual=function(aA,nA){return aA===nA&&!this.containsEsc},kA.ts_isContextual=function(aA){return this.type===aA&&!this.containsEsc},kA.ts_isContextualWithState=function(aA,nA){return aA.type===nA&&!aA.containsEsc},kA.isContextualWithState=function(aA,nA){return nA.type===oA.name&&nA.value===aA&&!nA.containsEsc},kA.tsIsStartOfMappedType=function(){return this.next(),this.eat(oA.plusMin)?this.ts_isContextual(hA.readonly):(this.ts_isContextual(hA.readonly)&&this.next(),!!this.match(oA.bracketL)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(oA._in))))},kA.tsInDisallowConditionalTypesContext=function(aA){var nA=this.inDisallowConditionalTypesContext;this.inDisallowConditionalTypesContext=!0;try{return aA()}finally{this.inDisallowConditionalTypesContext=nA}},kA.tsTryParseType=function(){return this.tsEatThenParseType(oA.colon)},kA.match=function(aA){return this.type===aA},kA.matchJsx=function(aA){return this.type===CA.tokTypes[aA]},kA.ts_eatWithState=function(aA,nA,DA){if(aA===DA.type){for(var yA=0;yA<nA;yA++)this.next();return!0}return!1},kA.ts_eatContextualWithState=function(aA,nA,DA){if(pA.test(aA)){if(this.ts_isContextualWithState(DA,hA[aA])){for(var yA=0;yA<nA;yA++)this.next();return!0}return!1}if(!this.isContextualWithState(aA,DA))return!1;for(var GA=0;GA<nA;GA++)this.next();return!0},kA.canHaveLeadingDecorator=function(){return this.match(oA._class)},kA.eatContextual=function(aA){return pA.test(aA)?!!this.ts_isContextual(hA[aA])&&(this.next(),!0):RA.prototype.eatContextual.call(this,aA)},kA.tsIsExternalModuleReference=function(){return this.isContextual("require")&&this.lookaheadCharCode()===40},kA.tsParseExternalModuleReference=function(){var aA=this.startNode();return this.expectContextual("require"),this.expect(oA.parenL),this.match(oA.string)||this.unexpected(),aA.expression=this.parseExprAtom(),this.expect(oA.parenR),this.finishNode(aA,"TSExternalModuleReference")},kA.tsParseEntityName=function(aA){aA===void 0&&(aA=!0);for(var nA=this.parseIdent(aA);this.eat(oA.dot);){var DA=this.startNodeAtNode(nA);DA.left=nA,DA.right=this.parseIdent(aA),nA=this.finishNode(DA,"TSQualifiedName")}return nA},kA.tsParseEnumMember=function(){var aA=this.startNode();return aA.id=this.match(oA.string)?this.parseLiteral(this.value):this.parseIdent(!0),this.eat(oA.eq)&&(aA.initializer=this.parseMaybeAssign()),this.finishNode(aA,"TSEnumMember")},kA.tsParseEnumDeclaration=function(aA,nA){return nA===void 0&&(nA={}),nA.const&&(aA.const=!0),nA.declare&&(aA.declare=!0),this.expectContextual("enum"),aA.id=this.parseIdent(),this.checkLValSimple(aA.id),this.expect(oA.braceL),aA.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(oA.braceR),this.finishNode(aA,"TSEnumDeclaration")},kA.tsParseModuleBlock=function(){var aA=this.startNode();for(RA.prototype.enterScope.call(this,512),this.expect(oA.braceL),aA.body=[];this.type!==oA.braceR;){var nA=this.parseStatement(null,!0);aA.body.push(nA)}return this.next(),RA.prototype.exitScope.call(this),this.finishNode(aA,"TSModuleBlock")},kA.tsParseAmbientExternalModuleDeclaration=function(aA){return this.ts_isContextual(hA.global)?(aA.global=!0,aA.id=this.parseIdent()):this.match(oA.string)?aA.id=this.parseLiteral(this.value):this.unexpected(),this.match(oA.braceL)?(RA.prototype.enterScope.call(this,f$1),aA.body=this.tsParseModuleBlock(),RA.prototype.exitScope.call(this)):RA.prototype.semicolon.call(this),this.finishNode(aA,"TSModuleDeclaration")},kA.tsTryParseDeclare=function(aA){var nA=this;if(!this.isLineTerminator()){var DA,yA=this.type;return this.isContextual("let")&&(yA=oA._var,DA="let"),this.tsInAmbientContext(function(){if(yA===oA._function)return aA.declare=!0,nA.parseFunctionStatement(aA,!1,!0);if(yA===oA._class)return aA.declare=!0,nA.parseClass(aA,!0);if(yA===hA.enum)return nA.tsParseEnumDeclaration(aA,{declare:!0});if(yA===hA.global)return nA.tsParseAmbientExternalModuleDeclaration(aA);if(yA===oA._const||yA===oA._var)return nA.match(oA._const)&&nA.isLookaheadContextual("enum")?(nA.expect(oA._const),nA.tsParseEnumDeclaration(aA,{const:!0,declare:!0})):(aA.declare=!0,nA.parseVarStatement(aA,DA||nA.value,!0));if(yA===hA.interface){var GA=nA.tsParseInterfaceDeclaration(aA,{declare:!0});if(GA)return GA}return fA(yA)?nA.tsParseDeclaration(aA,nA.value,!0):void 0})}},kA.tsIsListTerminator=function(aA){switch(aA){case"EnumMembers":case"TypeMembers":return this.match(oA.braceR);case"HeritageClauseElement":return this.match(oA.braceL);case"TupleElementTypes":return this.match(oA.bracketR);case"TypeParametersOrArguments":return this.tsMatchRightRelational()}},kA.tsParseDelimitedListWorker=function(aA,nA,DA,yA){for(var GA=[],SA=-1;!this.tsIsListTerminator(aA);){SA=-1;var YA=nA();if(YA==null)return;if(GA.push(YA),!this.eat(oA.comma)){if(this.tsIsListTerminator(aA))break;return void(DA&&this.expect(oA.comma))}SA=this.lastTokStart}return yA&&(yA.value=SA),GA},kA.tsParseDelimitedList=function(aA,nA,DA){return function(yA){if(yA==null)throw new Error("Unexpected "+yA+" value.");return yA}(this.tsParseDelimitedListWorker(aA,nA,!0,DA))},kA.tsParseBracketedList=function(aA,nA,DA,yA,GA){yA||this.expect(DA?oA.bracketL:oA.relational);var SA=this.tsParseDelimitedList(aA,nA,GA);return this.expect(DA?oA.bracketR:oA.relational),SA},kA.tsParseTypeParameterName=function(){return this.parseIdent().name},kA.tsEatThenParseType=function(aA){return this.match(aA)?this.tsNextThenParseType():void 0},kA.tsExpectThenParseType=function(aA){var nA=this;return this.tsDoThenParseType(function(){return nA.expect(aA)})},kA.tsNextThenParseType=function(){var aA=this;return this.tsDoThenParseType(function(){return aA.next()})},kA.tsDoThenParseType=function(aA){var nA=this;return this.tsInType(function(){return aA(),nA.tsParseType()})},kA.tsSkipParameterStart=function(){if(fA(this.type)||this.match(oA._this))return this.next(),!0;if(this.match(oA.braceL))try{return this.parseObj(!0),!0}catch{return!1}if(this.match(oA.bracketL)){this.next();try{return this.parseBindingList(oA.bracketR,!0,!0),!0}catch{return!1}}return!1},kA.tsIsUnambiguouslyStartOfFunctionType=function(){return this.next(),!!(this.match(oA.parenR)||this.match(oA.ellipsis)||this.tsSkipParameterStart()&&(this.match(oA.colon)||this.match(oA.comma)||this.match(oA.question)||this.match(oA.eq)||this.match(oA.parenR)&&(this.next(),this.match(oA.arrow))))},kA.tsIsStartOfFunctionType=function(){return!!this.tsMatchLeftRelational()||this.match(oA.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))},kA.tsInAllowConditionalTypesContext=function(aA){var nA=this.inDisallowConditionalTypesContext;this.inDisallowConditionalTypesContext=!1;try{return aA()}finally{this.inDisallowConditionalTypesContext=nA}},kA.tsParseBindingListForSignature=function(){var aA=this;return RA.prototype.parseBindingList.call(this,oA.parenR,!0,!0).map(function(nA){return nA.type!=="Identifier"&&nA.type!=="RestElement"&&nA.type!=="ObjectPattern"&&nA.type!=="ArrayPattern"&&aA.raise(nA.start,b$1.UnsupportedSignatureParameterKind(nA.type)),nA})},kA.tsParseTypePredicateAsserts=function(){if(this.type!==hA.asserts)return!1;var aA=this.containsEsc;return this.next(),!(!fA(this.type)&&!this.match(oA._this)||(aA&&this.raise(this.lastTokStart,"Escape sequence in keyword asserts"),0))},kA.tsParseThisTypeNode=function(){var aA=this.startNode();return this.next(),this.finishNode(aA,"TSThisType")},kA.tsParseTypeAnnotation=function(aA,nA){var DA=this;return aA===void 0&&(aA=!0),nA===void 0&&(nA=this.startNode()),this.tsInType(function(){aA&&DA.expect(oA.colon),nA.typeAnnotation=DA.tsParseType()}),this.finishNode(nA,"TSTypeAnnotation")},kA.tsParseThisTypePredicate=function(aA){this.next();var nA=this.startNodeAtNode(aA);return nA.parameterName=aA,nA.typeAnnotation=this.tsParseTypeAnnotation(!1),nA.asserts=!1,this.finishNode(nA,"TSTypePredicate")},kA.tsParseThisTypeOrThisTypePredicate=function(){var aA=this.tsParseThisTypeNode();return this.isContextual("is")&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(aA):aA},kA.tsParseTypePredicatePrefix=function(){var aA=this.parseIdent();if(this.isContextual("is")&&!this.hasPrecedingLineBreak())return this.next(),aA},kA.tsParseTypeOrTypePredicateAnnotation=function(aA){var nA=this;return this.tsInType(function(){var DA=nA.startNode();nA.expect(aA);var yA=nA.startNode(),GA=!!nA.tsTryParse(nA.tsParseTypePredicateAsserts.bind(nA));if(GA&&nA.match(oA._this)){var SA=nA.tsParseThisTypeOrThisTypePredicate();return SA.type==="TSThisType"?(yA.parameterName=SA,yA.asserts=!0,yA.typeAnnotation=null,SA=nA.finishNode(yA,"TSTypePredicate")):(nA.resetStartLocationFromNode(SA,yA),SA.asserts=!0),DA.typeAnnotation=SA,nA.finishNode(DA,"TSTypeAnnotation")}var YA=nA.tsIsIdentifier()&&nA.tsTryParse(nA.tsParseTypePredicatePrefix.bind(nA));if(!YA)return GA?(yA.parameterName=nA.parseIdent(),yA.asserts=GA,yA.typeAnnotation=null,DA.typeAnnotation=nA.finishNode(yA,"TSTypePredicate"),nA.finishNode(DA,"TSTypeAnnotation")):nA.tsParseTypeAnnotation(!1,DA);var UA=nA.tsParseTypeAnnotation(!1);return yA.parameterName=YA,yA.typeAnnotation=UA,yA.asserts=GA,DA.typeAnnotation=nA.finishNode(yA,"TSTypePredicate"),nA.finishNode(DA,"TSTypeAnnotation")})},kA.tsFillSignature=function(aA,nA){var DA=aA===oA.arrow;nA.typeParameters=this.tsTryParseTypeParameters(),this.expect(oA.parenL),nA.parameters=this.tsParseBindingListForSignature(),(DA||this.match(aA))&&(nA.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(aA))},kA.tsTryNextParseConstantContext=function(){if(this.lookahead().type!==oA._const)return null;this.next();var aA=this.tsParseTypeReference();return aA.typeParameters&&this.raise(aA.typeName.start,b$1.CannotFindName({name:"const"})),aA},kA.tsParseFunctionOrConstructorType=function(aA,nA){var DA=this,yA=this.startNode();return aA==="TSConstructorType"&&(yA.abstract=!!nA,nA&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(function(){return DA.tsFillSignature(oA.arrow,yA)}),this.finishNode(yA,aA)},kA.tsParseUnionOrIntersectionType=function(aA,nA,DA){var yA=this.startNode(),GA=this.eat(DA),SA=[];do SA.push(nA());while(this.eat(DA));return SA.length!==1||GA?(yA.types=SA,this.finishNode(yA,aA)):SA[0]},kA.tsCheckTypeAnnotationForReadOnly=function(aA){switch(aA.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(aA.start,b$1.UnexpectedReadonly)}},kA.tsParseTypeOperator=function(){var aA=this.startNode(),nA=this.value;return this.next(),aA.operator=nA,aA.typeAnnotation=this.tsParseTypeOperatorOrHigher(),nA==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(aA),this.finishNode(aA,"TSTypeOperator")},kA.tsParseConstraintForInferType=function(){var aA=this;if(this.eat(oA._extends)){var nA=this.tsInDisallowConditionalTypesContext(function(){return aA.tsParseType()});if(this.inDisallowConditionalTypesContext||!this.match(oA.question))return nA}},kA.tsParseInferType=function(){var aA=this,nA=this.startNode();this.expectContextual("infer");var DA=this.startNode();return DA.name=this.tsParseTypeParameterName(),DA.constraint=this.tsTryParse(function(){return aA.tsParseConstraintForInferType()}),nA.typeParameter=this.finishNode(DA,"TSTypeParameter"),this.finishNode(nA,"TSInferType")},kA.tsParseLiteralTypeNode=function(){var aA=this,nA=this.startNode();return nA.literal=function(){switch(aA.type){case oA.num:case oA.string:case oA._true:case oA._false:return aA.parseExprAtom();default:aA.unexpected()}}(),this.finishNode(nA,"TSLiteralType")},kA.tsParseImportType=function(){var aA=this.startNode();return this.expect(oA._import),this.expect(oA.parenL),this.match(oA.string)||this.raise(this.start,b$1.UnsupportedImportTypeArgument),aA.argument=this.parseExprAtom(),this.expect(oA.parenR),this.eat(oA.dot)&&(aA.qualifier=this.tsParseEntityName()),this.tsMatchLeftRelational()&&(aA.typeParameters=this.tsParseTypeArguments()),this.finishNode(aA,"TSImportType")},kA.tsParseTypeQuery=function(){var aA=this.startNode();return this.expect(oA._typeof),aA.exprName=this.match(oA._import)?this.tsParseImportType():this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.tsMatchLeftRelational()&&(aA.typeParameters=this.tsParseTypeArguments()),this.finishNode(aA,"TSTypeQuery")},kA.tsParseMappedTypeParameter=function(){var aA=this.startNode();return aA.name=this.tsParseTypeParameterName(),aA.constraint=this.tsExpectThenParseType(oA._in),this.finishNode(aA,"TSTypeParameter")},kA.tsParseMappedType=function(){var aA=this.startNode();return this.expect(oA.braceL),this.match(oA.plusMin)?(aA.readonly=this.value,this.next(),this.expectContextual("readonly")):this.eatContextual("readonly")&&(aA.readonly=!0),this.expect(oA.bracketL),aA.typeParameter=this.tsParseMappedTypeParameter(),aA.nameType=this.eatContextual("as")?this.tsParseType():null,this.expect(oA.bracketR),this.match(oA.plusMin)?(aA.optional=this.value,this.next(),this.expect(oA.question)):this.eat(oA.question)&&(aA.optional=!0),aA.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(oA.braceR),this.finishNode(aA,"TSMappedType")},kA.tsParseTypeLiteral=function(){var aA=this.startNode();return aA.members=this.tsParseObjectTypeMembers(),this.finishNode(aA,"TSTypeLiteral")},kA.tsParseTupleElementType=function(){var aA=this.startLoc,nA=this.start,DA=this.eat(oA.ellipsis),yA=this.tsParseType(),GA=this.eat(oA.question);if(this.eat(oA.colon)){var SA=this.startNodeAtNode(yA);SA.optional=GA,yA.type!=="TSTypeReference"||yA.typeParameters||yA.typeName.type!=="Identifier"?(this.raise(yA.start,b$1.InvalidTupleMemberLabel),SA.label=yA):SA.label=yA.typeName,SA.elementType=this.tsParseType(),yA=this.finishNode(SA,"TSNamedTupleMember")}else if(GA){var YA=this.startNodeAtNode(yA);YA.typeAnnotation=yA,yA=this.finishNode(YA,"TSOptionalType")}if(DA){var UA=this.startNodeAt(nA,aA);UA.typeAnnotation=yA,yA=this.finishNode(UA,"TSRestType")}return yA},kA.tsParseTupleType=function(){var aA=this,nA=this.startNode();nA.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);var DA=!1,yA=null;return nA.elementTypes.forEach(function(GA){var SA=GA.type;!DA||SA==="TSRestType"||SA==="TSOptionalType"||SA==="TSNamedTupleMember"&&GA.optional||aA.raise(GA.start,b$1.OptionalTypeBeforeRequired),DA||(DA=SA==="TSNamedTupleMember"&&GA.optional||SA==="TSOptionalType");var YA=SA;SA==="TSRestType"&&(YA=(GA=GA.typeAnnotation).type);var UA=YA==="TSNamedTupleMember";yA!=null||(yA=UA),yA!==UA&&aA.raise(GA.start,b$1.MixedLabeledAndUnlabeledElements)}),this.finishNode(nA,"TSTupleType")},kA.tsParseTemplateLiteralType=function(){var aA=this.startNode();return aA.literal=this.parseTemplate({isTagged:!1}),this.finishNode(aA,"TSLiteralType")},kA.tsParseTypeReference=function(){var aA=this.startNode();return aA.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.tsMatchLeftRelational()&&(aA.typeParameters=this.tsParseTypeArguments()),this.finishNode(aA,"TSTypeReference")},kA.tsMatchLeftRelational=function(){return this.match(oA.relational)&&this.value==="<"},kA.tsMatchRightRelational=function(){return this.match(oA.relational)&&this.value===">"},kA.tsParseParenthesizedType=function(){var aA=this.startNode();return this.expect(oA.parenL),aA.typeAnnotation=this.tsParseType(),this.expect(oA.parenR),this.finishNode(aA,"TSParenthesizedType")},kA.tsParseNonArrayType=function(){switch(this.type){case oA.string:case oA.num:case oA._true:case oA._false:return this.tsParseLiteralTypeNode();case oA.plusMin:if(this.value==="-"){var aA=this.startNode();return this.lookahead().type!==oA.num&&this.unexpected(),aA.literal=this.parseMaybeUnary(),this.finishNode(aA,"TSLiteralType")}break;case oA._this:return this.tsParseThisTypeOrThisTypePredicate();case oA._typeof:return this.tsParseTypeQuery();case oA._import:return this.tsParseImportType();case oA.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case oA.bracketL:return this.tsParseTupleType();case oA.parenL:return this.tsParseParenthesizedType();case oA.backQuote:case oA.dollarBraceL:return this.tsParseTemplateLiteralType();default:var nA=this.type;if(fA(nA)||nA===oA._void||nA===oA._null){var DA=nA===oA._void?"TSVoidKeyword":nA===oA._null?"TSNullKeyword":function(GA){switch(GA){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.value);if(DA!==void 0&&this.lookaheadCharCode()!==46){var yA=this.startNode();return this.next(),this.finishNode(yA,DA)}return this.tsParseTypeReference()}}this.unexpected()},kA.tsParseArrayTypeOrHigher=function(){for(var aA=this.tsParseNonArrayType();!this.hasPrecedingLineBreak()&&this.eat(oA.bracketL);)if(this.match(oA.bracketR)){var nA=this.startNodeAtNode(aA);nA.elementType=aA,this.expect(oA.bracketR),aA=this.finishNode(nA,"TSArrayType")}else{var DA=this.startNodeAtNode(aA);DA.objectType=aA,DA.indexType=this.tsParseType(),this.expect(oA.bracketR),aA=this.finishNode(DA,"TSIndexedAccessType")}return aA},kA.tsParseTypeOperatorOrHigher=function(){var aA=this;return _A(this.type)&&!this.containsEsc?this.tsParseTypeOperator():this.isContextual("infer")?this.tsParseInferType():this.tsInAllowConditionalTypesContext(function(){return aA.tsParseArrayTypeOrHigher()})},kA.tsParseIntersectionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),oA.bitwiseAND)},kA.tsParseUnionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),oA.bitwiseOR)},kA.tsParseNonConditionalType=function(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(oA._new)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()},kA.tsParseType=function(){var aA=this;k$3(this.inType);var nA=this.tsParseNonConditionalType();if(this.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(oA._extends))return nA;var DA=this.startNodeAtNode(nA);return DA.checkType=nA,DA.extendsType=this.tsInDisallowConditionalTypesContext(function(){return aA.tsParseNonConditionalType()}),this.expect(oA.question),DA.trueType=this.tsInAllowConditionalTypesContext(function(){return aA.tsParseType()}),this.expect(oA.colon),DA.falseType=this.tsInAllowConditionalTypesContext(function(){return aA.tsParseType()}),this.finishNode(DA,"TSConditionalType")},kA.tsIsUnambiguouslyIndexSignature=function(){return this.next(),!!fA(this.type)&&(this.next(),this.match(oA.colon))},kA.tsInType=function(aA){var nA=this.inType;this.inType=!0;try{return aA()}finally{this.inType=nA}},kA.tsTryParseIndexSignature=function(aA){if(this.match(oA.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))){this.expect(oA.bracketL);var nA=this.parseIdent();nA.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(nA),this.expect(oA.bracketR),aA.parameters=[nA];var DA=this.tsTryParseTypeAnnotation();return DA&&(aA.typeAnnotation=DA),this.tsParseTypeMemberSemicolon(),this.finishNode(aA,"TSIndexSignature")}},kA.tsParseNoneModifiers=function(aA){this.tsParseModifiers({modified:aA,allowedModifiers:[],disallowedModifiers:["in","out"],errorTemplate:b$1.InvalidModifierOnTypeParameterPositions})},kA.tsParseTypeParameter=function(aA){aA===void 0&&(aA=this.tsParseNoneModifiers.bind(this));var nA=this.startNode();return aA(nA),nA.name=this.tsParseTypeParameterName(),nA.constraint=this.tsEatThenParseType(oA._extends),nA.default=this.tsEatThenParseType(oA.eq),this.finishNode(nA,"TSTypeParameter")},kA.tsParseTypeParameters=function(aA){var nA=this.startNode();this.tsMatchLeftRelational()||this.matchJsx("jsxTagStart")?this.next():this.unexpected();var DA={value:-1};return nA.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,aA),!1,!0,DA),nA.params.length===0&&this.raise(this.start,b$1.EmptyTypeParameters),DA.value!==-1&&this.addExtra(nA,"trailingComma",DA.value),this.finishNode(nA,"TSTypeParameterDeclaration")},kA.tsTryParseTypeParameters=function(aA){if(this.tsMatchLeftRelational())return this.tsParseTypeParameters(aA)},kA.tsTryParse=function(aA){var nA=this.getCurLookaheadState(),DA=aA();return DA!==void 0&&DA!==!1?DA:void this.setLookaheadState(nA)},kA.tsTokenCanFollowModifier=function(){return(this.match(oA.bracketL)||this.match(oA.braceL)||this.match(oA.star)||this.match(oA.ellipsis)||this.match(oA.privateId)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()},kA.tsNextTokenCanFollowModifier=function(){return this.next(!0),this.tsTokenCanFollowModifier()},kA.tsParseModifier=function(aA,nA){if(fA(this.type)||this.type===oA._in){var DA=this.value;if(aA.indexOf(DA)!==-1&&!this.containsEsc){if(nA&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return DA}}},kA.tsParseModifiersByMap=function(aA){for(var nA=aA.modified,DA=aA.map,yA=0,GA=Object.keys(DA);yA<GA.length;yA++){var SA=GA[yA];nA[SA]=DA[SA]}},kA.tsParseModifiers=function(aA){for(var nA=this,DA=aA.modified,yA=aA.allowedModifiers,GA=aA.disallowedModifiers,SA=aA.stopOnStartOfClassStaticBlock,YA=aA.errorTemplate,UA=YA===void 0?b$1.InvalidModifierOnTypeMember:YA,KA={},qA=function(zA,WA,Ag,eg){WA===Ag&&DA[eg]&&nA.raise(zA.column,b$1.InvalidModifiersOrder({orderedModifiers:[Ag,eg]}))},$A=function(zA,WA,Ag,eg){(DA[Ag]&&WA===eg||DA[eg]&&WA===Ag)&&nA.raise(zA.column,b$1.IncompatibleModifiers({modifiers:[Ag,eg]}))};;){var VA=this.startLoc,PA=this.tsParseModifier(yA.concat(GA??[]),SA);if(!PA)break;O$1(PA)?DA.accessibility?this.raise(this.start,b$1.DuplicateAccessibilityModifier()):(qA(VA,PA,PA,"override"),qA(VA,PA,PA,"static"),qA(VA,PA,PA,"readonly"),qA(VA,PA,PA,"accessor"),KA.accessibility=PA,DA.accessibility=PA):N$1(PA)?DA[PA]?this.raise(this.start,b$1.DuplicateModifier({modifier:PA})):(qA(VA,PA,"in","out"),KA[PA]=PA,DA[PA]=!0):I$1(PA)?DA[PA]?this.raise(this.start,b$1.DuplicateModifier({modifier:PA})):($A(VA,PA,"accessor","readonly"),$A(VA,PA,"accessor","static"),$A(VA,PA,"accessor","override"),KA[PA]=PA,DA[PA]=!0):Object.hasOwnProperty.call(DA,PA)?this.raise(this.start,b$1.DuplicateModifier({modifier:PA})):(qA(VA,PA,"static","readonly"),qA(VA,PA,"static","override"),qA(VA,PA,"override","readonly"),qA(VA,PA,"abstract","override"),$A(VA,PA,"declare","override"),$A(VA,PA,"static","abstract"),KA[PA]=PA,DA[PA]=!0),GA!=null&&GA.includes(PA)&&this.raise(this.start,UA)}return KA},kA.tsParseInOutModifiers=function(aA){this.tsParseModifiers({modified:aA,allowedModifiers:["in","out"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:b$1.InvalidModifierOnTypeParameter})},kA.tsParseTypeArguments=function(){var aA=this,nA=this.startNode();return nA.params=this.tsInType(function(){return aA.tsInNoContext(function(){return aA.expect(oA.relational),aA.tsParseDelimitedList("TypeParametersOrArguments",aA.tsParseType.bind(aA))})}),nA.params.length===0&&this.raise(this.start,b$1.EmptyTypeArguments),this.exprAllowed=!1,this.expect(oA.relational),this.finishNode(nA,"TSTypeParameterInstantiation")},kA.tsParseHeritageClause=function(aA){var nA=this,DA=this.start,yA=this.tsParseDelimitedList("HeritageClauseElement",function(){var GA=nA.startNode();return GA.expression=nA.tsParseEntityName(),nA.tsMatchLeftRelational()&&(GA.typeParameters=nA.tsParseTypeArguments()),nA.finishNode(GA,"TSExpressionWithTypeArguments")});return yA.length||this.raise(DA,b$1.EmptyHeritageClauseType({token:aA})),yA},kA.tsParseTypeMemberSemicolon=function(){this.eat(oA.comma)||this.isLineTerminator()||this.expect(oA.semi)},kA.tsTryParseAndCatch=function(aA){var nA=this.tryParse(function(DA){return aA()||DA()});if(!nA.aborted&&nA.node)return nA.error&&this.setLookaheadState(nA.failState),nA.node},kA.tsParseSignatureMember=function(aA,nA){return this.tsFillSignature(oA.colon,nA),this.tsParseTypeMemberSemicolon(),this.finishNode(nA,aA)},kA.tsParsePropertyOrMethodSignature=function(aA,nA){this.eat(oA.question)&&(aA.optional=!0);var DA=aA;if(this.match(oA.parenL)||this.tsMatchLeftRelational()){nA&&this.raise(aA.start,b$1.ReadonlyForMethodSignature);var yA=DA;yA.kind&&this.tsMatchLeftRelational()&&this.raise(this.start,b$1.AccesorCannotHaveTypeParameters),this.tsFillSignature(oA.colon,yA),this.tsParseTypeMemberSemicolon();var GA="parameters",SA="typeAnnotation";if(yA.kind==="get")yA[GA].length>0&&(this.raise(this.start,"A 'get' accesor must not have any formal parameters."),this.isThisParam(yA[GA][0])&&this.raise(this.start,b$1.AccesorCannotDeclareThisParameter));else if(yA.kind==="set"){if(yA[GA].length!==1)this.raise(this.start,"A 'get' accesor must not have any formal parameters.");else{var YA=yA[GA][0];this.isThisParam(YA)&&this.raise(this.start,b$1.AccesorCannotDeclareThisParameter),YA.type==="Identifier"&&YA.optional&&this.raise(this.start,b$1.SetAccesorCannotHaveOptionalParameter),YA.type==="RestElement"&&this.raise(this.start,b$1.SetAccesorCannotHaveRestParameter)}yA[SA]&&this.raise(yA[SA].start,b$1.SetAccesorCannotHaveReturnType)}else yA.kind="method";return this.finishNode(yA,"TSMethodSignature")}var UA=DA;nA&&(UA.readonly=!0);var KA=this.tsTryParseTypeAnnotation();return KA&&(UA.typeAnnotation=KA),this.tsParseTypeMemberSemicolon(),this.finishNode(UA,"TSPropertySignature")},kA.tsParseTypeMember=function(){var aA=this.startNode();if(this.match(oA.parenL)||this.tsMatchLeftRelational())return this.tsParseSignatureMember("TSCallSignatureDeclaration",aA);if(this.match(oA._new)){var nA=this.startNode();return this.next(),this.match(oA.parenL)||this.tsMatchLeftRelational()?this.tsParseSignatureMember("TSConstructSignatureDeclaration",aA):(aA.key=this.createIdentifier(nA,"new"),this.tsParsePropertyOrMethodSignature(aA,!1))}return this.tsParseModifiers({modified:aA,allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]}),this.tsTryParseIndexSignature(aA)||(this.parsePropertyName(aA),aA.computed||aA.key.type!=="Identifier"||aA.key.name!=="get"&&aA.key.name!=="set"||!this.tsTokenCanFollowModifier()||(aA.kind=aA.key.name,this.parsePropertyName(aA)),this.tsParsePropertyOrMethodSignature(aA,!!aA.readonly))},kA.tsParseList=function(aA,nA){for(var DA=[];!this.tsIsListTerminator(aA);)DA.push(nA());return DA},kA.tsParseObjectTypeMembers=function(){this.expect(oA.braceL);var aA=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(oA.braceR),aA},kA.tsParseInterfaceDeclaration=function(aA,nA){if(nA===void 0&&(nA={}),this.hasFollowingLineBreak())return null;this.expectContextual("interface"),nA.declare&&(aA.declare=!0),fA(this.type)?(aA.id=this.parseIdent(),this.checkLValSimple(aA.id,7)):(aA.id=null,this.raise(this.start,b$1.MissingInterfaceName)),aA.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.eat(oA._extends)&&(aA.extends=this.tsParseHeritageClause("extends"));var DA=this.startNode();return DA.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),aA.body=this.finishNode(DA,"TSInterfaceBody"),this.finishNode(aA,"TSInterfaceDeclaration")},kA.tsParseAbstractDeclaration=function(aA){if(this.match(oA._class))return aA.abstract=!0,this.parseClass(aA,!0);if(this.ts_isContextual(hA.interface)){if(!this.hasFollowingLineBreak())return aA.abstract=!0,this.tsParseInterfaceDeclaration(aA)}else this.unexpected(aA.start)},kA.tsIsDeclarationStart=function(){return MA(this.type)},kA.tsParseExpressionStatement=function(aA,nA){switch(nA.name){case"declare":var DA=this.tsTryParseDeclare(aA);if(DA)return DA.declare=!0,DA;break;case"global":if(this.match(oA.braceL)){RA.prototype.enterScope.call(this,f$1);var yA=aA;return yA.global=!0,yA.id=nA,yA.body=this.tsParseModuleBlock(),RA.prototype.exitScope.call(this),this.finishNode(yA,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(aA,nA.name,!1)}},kA.tsParseModuleReference=function(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)},kA.tsIsExportDefaultSpecifier=function(){var aA=this.type,nA=this.isAsyncFunction(),DA=this.isLet();if(fA(aA)){if(nA&&!this.containsEsc||DA)return!1;if((aA===hA.type||aA===hA.interface)&&!this.containsEsc){var yA=this.lookahead();if(fA(yA.type)&&!this.isContextualWithState("from",yA)||yA.type===oA.braceL)return!1}}else if(!this.match(oA._default))return!1;var GA=this.nextTokenStart(),SA=this.isUnparsedContextual(GA,"from");if(this.input.charCodeAt(GA)===44||fA(this.type)&&SA)return!0;if(this.match(oA._default)&&SA){var YA=this.input.charCodeAt(this.nextTokenStartSince(GA+4));return YA===34||YA===39}return!1},kA.tsInAmbientContext=function(aA){var nA=this.isAmbientContext;this.isAmbientContext=!0;try{return aA()}finally{this.isAmbientContext=nA}},kA.tsCheckLineTerminator=function(aA){return aA?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()},kA.tsParseModuleOrNamespaceDeclaration=function(aA,nA){if(nA===void 0&&(nA=!1),aA.id=this.parseIdent(),nA||this.checkLValSimple(aA.id,8),this.eat(oA.dot)){var DA=this.startNode();this.tsParseModuleOrNamespaceDeclaration(DA,!0),aA.body=DA}else RA.prototype.enterScope.call(this,f$1),aA.body=this.tsParseModuleBlock(),RA.prototype.exitScope.call(this);return this.finishNode(aA,"TSModuleDeclaration")},kA.checkLValSimple=function(aA,nA,DA){return nA===void 0&&(nA=0),RA.prototype.checkLValSimple.call(this,aA,nA,DA)},kA.tsParseTypeAliasDeclaration=function(aA){var nA=this;return aA.id=this.parseIdent(),this.checkLValSimple(aA.id,6),aA.typeAnnotation=this.tsInType(function(){if(aA.typeParameters=nA.tsTryParseTypeParameters(nA.tsParseInOutModifiers.bind(nA)),nA.expect(oA.eq),nA.ts_isContextual(hA.interface)&&nA.lookahead().type!==oA.dot){var DA=nA.startNode();return nA.next(),nA.finishNode(DA,"TSIntrinsicKeyword")}return nA.tsParseType()}),this.semicolon(),this.finishNode(aA,"TSTypeAliasDeclaration")},kA.tsParseDeclaration=function(aA,nA,DA){switch(nA){case"abstract":if(this.tsCheckLineTerminator(DA)&&(this.match(oA._class)||fA(this.type)))return this.tsParseAbstractDeclaration(aA);break;case"module":if(this.tsCheckLineTerminator(DA)){if(this.match(oA.string))return this.tsParseAmbientExternalModuleDeclaration(aA);if(fA(this.type))return this.tsParseModuleOrNamespaceDeclaration(aA)}break;case"namespace":if(this.tsCheckLineTerminator(DA)&&fA(this.type))return this.tsParseModuleOrNamespaceDeclaration(aA);break;case"type":if(this.tsCheckLineTerminator(DA)&&fA(this.type))return this.tsParseTypeAliasDeclaration(aA)}},kA.tsTryParseExportDeclaration=function(){return this.tsParseDeclaration(this.startNode(),this.value,!0)},kA.tsParseImportEqualsDeclaration=function(aA,nA){aA.isExport=nA||!1,aA.id=this.parseIdent(),this.checkLValSimple(aA.id,2),RA.prototype.expect.call(this,oA.eq);var DA=this.tsParseModuleReference();return aA.importKind==="type"&&DA.type!=="TSExternalModuleReference"&&this.raise(DA.start,b$1.ImportAliasHasImportType),aA.moduleReference=DA,RA.prototype.semicolon.call(this),this.finishNode(aA,"TSImportEqualsDeclaration")},kA.isExportDefaultSpecifier=function(){if(this.tsIsDeclarationStart())return!1;var aA=this.type;if(fA(aA)){if(this.isContextual("async")||this.isContextual("let"))return!1;if((aA===hA.type||aA===hA.interface)&&!this.containsEsc){var nA=this.lookahead();if(fA(nA.type)&&!this.isContextualWithState("from",nA)||nA.type===oA.braceL)return!1}}else if(!this.match(oA._default))return!1;var DA=this.nextTokenStart(),yA=this.isUnparsedContextual(DA,"from");if(this.input.charCodeAt(DA)===44||fA(this.type)&&yA)return!0;if(this.match(oA._default)&&yA){var GA=this.input.charCodeAt(this.nextTokenStartSince(DA+4));return GA===34||GA===39}return!1},kA.parseTemplate=function(aA){var nA=(aA===void 0?{}:aA).isTagged,DA=nA!==void 0&&nA,yA=this.startNode();this.next(),yA.expressions=[];var GA=this.parseTemplateElement({isTagged:DA});for(yA.quasis=[GA];!GA.tail;)this.type===oA.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(oA.dollarBraceL),yA.expressions.push(this.inType?this.tsParseType():this.parseExpression()),this.expect(oA.braceR),yA.quasis.push(GA=this.parseTemplateElement({isTagged:DA}));return this.next(),this.finishNode(yA,"TemplateLiteral")},kA.parseFunction=function(aA,nA,DA,yA,GA){this.initFunction(aA),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!yA)&&(this.type===oA.star&&2&nA&&this.unexpected(),aA.generator=this.eat(oA.star)),this.options.ecmaVersion>=8&&(aA.async=!!yA),1&nA&&(aA.id=4&nA&&this.type!==oA.name?null:this.parseIdent());var SA=this.yieldPos,YA=this.awaitPos,UA=this.awaitIdentPos,KA=this.maybeInArrowParameters;this.maybeInArrowParameters=!1,this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(w$1(aA.async,aA.generator)),1&nA||(aA.id=this.type===oA.name?this.parseIdent():null),this.parseFunctionParams(aA);var qA=1&nA;return this.parseFunctionBody(aA,DA,!1,GA,{isFunctionDeclaration:qA}),this.yieldPos=SA,this.awaitPos=YA,this.awaitIdentPos=UA,1&nA&&aA.id&&!(2&nA)&&this.checkLValSimple(aA.id,aA.body?this.strict||aA.generator||aA.async?this.treatFunctionsAsVar?1:2:3:0),this.maybeInArrowParameters=KA,this.finishNode(aA,qA?"FunctionDeclaration":"FunctionExpression")},kA.parseFunctionBody=function(aA,nA,DA,yA,GA){nA===void 0&&(nA=!1),DA===void 0&&(DA=!1),yA===void 0&&(yA=!1),this.match(oA.colon)&&(aA.returnType=this.tsParseTypeOrTypePredicateAnnotation(oA.colon));var SA=GA!=null&&GA.isFunctionDeclaration?"TSDeclareFunction":GA!=null&&GA.isClassMethod?"TSDeclareMethod":void 0;return SA&&!this.match(oA.braceL)&&this.isLineTerminator()?this.finishNode(aA,SA):SA==="TSDeclareFunction"&&this.isAmbientContext&&(this.raise(aA.start,b$1.DeclareFunctionHasImplementation),aA.declare)?(RA.prototype.parseFunctionBody.call(this,aA,nA,DA,!1),this.finishNode(aA,SA)):(RA.prototype.parseFunctionBody.call(this,aA,nA,DA,yA),aA)},kA.parseNew=function(){var aA;this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var nA=this.startNode(),DA=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(oA.dot)){nA.meta=DA;var yA=this.containsEsc;return nA.property=this.parseIdent(!0),nA.property.name!=="target"&&this.raiseRecoverable(nA.property.start,"The only valid meta property for new is 'new.target'"),yA&&this.raiseRecoverable(nA.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(nA.start,"'new.target' can only be used in functions and class static block"),this.finishNode(nA,"MetaProperty")}var GA=this.start,SA=this.startLoc,YA=this.type===oA._import;nA.callee=this.parseSubscripts(this.parseExprAtom(),GA,SA,!0,!1),YA&&nA.callee.type==="ImportExpression"&&this.raise(GA,"Cannot use new with import()");var UA=nA.callee;return UA.type!=="TSInstantiationExpression"||(aA=UA.extra)!=null&&aA.parenthesized||(nA.typeParameters=UA.typeParameters,nA.callee=UA.expression),nA.arguments=this.eat(oA.parenL)?this.parseExprList(oA.parenR,this.options.ecmaVersion>=8,!1):[],this.finishNode(nA,"NewExpression")},kA.parseExprOp=function(aA,nA,DA,yA,GA){var SA;if(oA._in.binop>yA&&!this.hasPrecedingLineBreak()&&(this.isContextual("as")&&(SA="TSAsExpression"),IA&&this.isContextual("satisfies")&&(SA="TSSatisfiesExpression"),SA)){var YA=this.startNodeAt(nA,DA);YA.expression=aA;var UA=this.tsTryNextParseConstantContext();return YA.typeAnnotation=UA||this.tsNextThenParseType(),this.finishNode(YA,SA),this.reScan_lt_gt(),this.parseExprOp(YA,nA,DA,yA,GA)}return RA.prototype.parseExprOp.call(this,aA,nA,DA,yA,GA)},kA.parseImportSpecifiers=function(){var aA=[],nA=!0;if(CA.tokenIsIdentifier(this.type)&&(aA.push(this.parseImportDefaultSpecifier()),!this.eat(oA.comma)))return aA;if(this.type===oA.star)return aA.push(this.parseImportNamespaceSpecifier()),aA;for(this.expect(oA.braceL);!this.eat(oA.braceR);){if(nA)nA=!1;else if(this.expect(oA.comma),this.afterTrailingComma(oA.braceR))break;aA.push(this.parseImportSpecifier())}return aA},kA.parseImport=function(aA){var nA=this.lookahead();if(aA.importKind="value",this.importOrExportOuterKind="value",fA(nA.type)||this.match(oA.star)||this.match(oA.braceL)){var DA=this.lookahead(2);if(DA.type!==oA.comma&&!this.isContextualWithState("from",DA)&&DA.type!==oA.eq&&this.ts_eatContextualWithState("type",1,nA)&&(this.importOrExportOuterKind="type",aA.importKind="type",nA=this.lookahead(),DA=this.lookahead(2)),fA(nA.type)&&DA.type===oA.eq){this.next();var yA=this.tsParseImportEqualsDeclaration(aA);return this.importOrExportOuterKind="value",yA}}return this.next(),this.type===oA.string?(aA.specifiers=[],aA.source=this.parseExprAtom()):(aA.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),aA.source=this.type===oA.string?this.parseExprAtom():this.unexpected()),this.parseMaybeImportAttributes(aA),this.semicolon(),this.finishNode(aA,"ImportDeclaration"),this.importOrExportOuterKind="value",aA.importKind==="type"&&aA.specifiers.length>1&&aA.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(aA.start,b$1.TypeImportCannotSpecifyDefaultAndNamed),aA},kA.parseExportDefaultDeclaration=function(){if(this.isAbstractClass()){var aA=this.startNode();return this.next(),aA.abstract=!0,this.parseClass(aA,!0)}if(this.match(hA.interface)){var nA=this.tsParseInterfaceDeclaration(this.startNode());if(nA)return nA}return RA.prototype.parseExportDefaultDeclaration.call(this)},kA.parseExportAllDeclaration=function(aA,nA){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(aA.exported=this.parseModuleExportName(),this.checkExport(nA,aA.exported,this.lastTokStart)):aA.exported=null),this.expectContextual("from"),this.type!==oA.string&&this.unexpected(),aA.source=this.parseExprAtom(),this.parseMaybeImportAttributes(aA),this.semicolon(),this.finishNode(aA,"ExportAllDeclaration")},kA.parseDynamicImport=function(aA){if(this.next(),aA.source=this.parseMaybeAssign(),this.eat(oA.comma)){var nA=this.parseExpression();aA.arguments=[nA]}if(!this.eat(oA.parenR)){var DA=this.start;this.eat(oA.comma)&&this.eat(oA.parenR)?this.raiseRecoverable(DA,"Trailing comma is not allowed in import()"):this.unexpected(DA)}return this.finishNode(aA,"ImportExpression")},kA.parseExport=function(aA,nA){var DA=this.lookahead();if(this.ts_eatWithState(oA._import,2,DA)){this.ts_isContextual(hA.type)&&this.lookaheadCharCode()!==61?(aA.importKind="type",this.importOrExportOuterKind="type",this.next()):(aA.importKind="value",this.importOrExportOuterKind="value");var yA=this.tsParseImportEqualsDeclaration(aA,!0);return this.importOrExportOuterKind=void 0,yA}if(this.ts_eatWithState(oA.eq,2,DA)){var GA=aA;return GA.expression=this.parseExpression(),this.semicolon(),this.importOrExportOuterKind=void 0,this.finishNode(GA,"TSExportAssignment")}if(this.ts_eatContextualWithState("as",2,DA)){var SA=aA;return this.expectContextual("namespace"),SA.id=this.parseIdent(),this.semicolon(),this.importOrExportOuterKind=void 0,this.finishNode(SA,"TSNamespaceExportDeclaration")}if(this.ts_isContextualWithState(DA,hA.type)&&this.lookahead(2).type===oA.braceL?(this.next(),this.importOrExportOuterKind="type",aA.exportKind="type"):(this.importOrExportOuterKind="value",aA.exportKind="value"),this.next(),this.eat(oA.star))return this.parseExportAllDeclaration(aA,nA);if(this.eat(oA._default))return this.checkExport(nA,"default",this.lastTokStart),aA.declaration=this.parseExportDefaultDeclaration(),this.finishNode(aA,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())aA.declaration=this.parseExportDeclaration(aA),aA.declaration.type==="VariableDeclaration"?this.checkVariableExport(nA,aA.declaration.declarations):this.checkExport(nA,aA.declaration.id,aA.declaration.id.start),aA.specifiers=[],aA.source=null;else{if(aA.declaration=null,aA.specifiers=this.parseExportSpecifiers(nA),this.eatContextual("from"))this.type!==oA.string&&this.unexpected(),aA.source=this.parseExprAtom(),this.parseMaybeImportAttributes(aA);else{for(var YA,UA=c$2(aA.specifiers);!(YA=UA()).done;){var KA=YA.value;this.checkUnreserved(KA.local),this.checkLocalExport(KA.local),KA.local.type==="Literal"&&this.raise(KA.local.start,"A string literal cannot be used as an exported binding without `from`.")}aA.source=null}this.semicolon()}return this.finishNode(aA,"ExportNamedDeclaration")},kA.checkExport=function(aA,nA,DA){aA&&(typeof nA!="string"&&(nA=nA.type==="Identifier"?nA.name:nA.value),aA[nA]=!0)},kA.parseMaybeDefault=function(aA,nA,DA){var yA=RA.prototype.parseMaybeDefault.call(this,aA,nA,DA);return yA.type==="AssignmentPattern"&&yA.typeAnnotation&&yA.right.start<yA.typeAnnotation.start&&this.raise(yA.typeAnnotation.start,b$1.TypeAnnotationAfterAssign),yA},kA.typeCastToParameter=function(aA){return aA.expression.typeAnnotation=aA.typeAnnotation,this.resetEndLocation(aA.expression,aA.typeAnnotation.end),aA.expression},kA.toAssignableList=function(aA,nA){for(var DA=0;DA<aA.length;DA++){var yA=aA[DA];(yA==null?void 0:yA.type)==="TSTypeCastExpression"&&(aA[DA]=this.typeCastToParameter(yA))}return RA.prototype.toAssignableList.call(this,aA,nA)},kA.reportReservedArrowTypeParam=function(aA){},kA.parseExprAtom=function(aA,nA,DA){if(this.type===hA.jsxText)return this.jsx_parseText();if(this.type===hA.jsxTagStart)return this.jsx_parseElement();if(this.type===hA.at)return this.parseDecorators(),this.parseExprAtom();if(fA(this.type)){var yA=this.potentialArrowAt===this.start,GA=this.start,SA=this.startLoc,YA=this.containsEsc,UA=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!YA&&UA.name==="async"&&!this.canInsertSemicolon()&&this.eat(oA._function))return this.overrideContext(uA.f_expr),this.parseFunction(this.startNodeAt(GA,SA),0,!1,!0,nA);if(yA&&!this.canInsertSemicolon()){if(this.eat(oA.arrow))return this.parseArrowExpression(this.startNodeAt(GA,SA),[UA],!1,nA);if(this.options.ecmaVersion>=8&&UA.name==="async"&&this.type===oA.name&&!YA&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return UA=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(oA.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(GA,SA),[UA],!0,nA)}return UA}return RA.prototype.parseExprAtom.call(this,aA,nA,DA)},kA.parseExprAtomDefault=function(){if(fA(this.type)){var aA=this.potentialArrowAt===this.start,nA=this.containsEsc,DA=this.parseIdent();if(!nA&&DA.name==="async"&&!this.canInsertSemicolon()){var yA=this.type;if(yA===oA._function)return this.next(),this.parseFunction(this.startNodeAtNode(DA),void 0,!0,!0);if(fA(yA)){if(this.lookaheadCharCode()===61){var GA=this.parseIdent(!1);return!this.canInsertSemicolon()&&this.eat(oA.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAtNode(DA),[GA],!0)}return DA}}return aA&&this.match(oA.arrow)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(DA),[DA],!1)):DA}this.unexpected()},kA.parseIdentNode=function(){var aA=this.startNode();return LA(this.type)?(aA.name=this.value,aA):RA.prototype.parseIdentNode.call(this)},kA.parseVarStatement=function(aA,nA,DA){DA===void 0&&(DA=!1);var yA=this.isAmbientContext;this.next(),RA.prototype.parseVar.call(this,aA,!1,nA,DA||yA),this.semicolon();var GA=this.finishNode(aA,"VariableDeclaration");if(!yA)return GA;for(var SA,YA=c$2(GA.declarations);!(SA=YA()).done;){var UA=SA.value,KA=UA.init;KA&&(nA!=="const"||UA.id.typeAnnotation?this.raise(KA.start,b$1.InitializerNotAllowedInAmbientContext):KA.type!=="StringLiteral"&&KA.type!=="BooleanLiteral"&&KA.type!=="NumericLiteral"&&KA.type!=="BigIntLiteral"&&(KA.type!=="TemplateLiteral"||KA.expressions.length>0)&&!L$1(KA)&&this.raise(KA.start,b$1.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference))}return GA},kA.parseStatement=function(aA,nA,DA){if(this.match(hA.at)&&this.parseDecorators(!0),this.match(oA._const)&&this.isLookaheadContextual("enum")){var yA=this.startNode();return this.expect(oA._const),this.tsParseEnumDeclaration(yA,{const:!0})}if(this.ts_isContextual(hA.enum))return this.tsParseEnumDeclaration(this.startNode());if(this.ts_isContextual(hA.interface)){var GA=this.tsParseInterfaceDeclaration(this.startNode());if(GA)return GA}return RA.prototype.parseStatement.call(this,aA,nA,DA)},kA.parseAccessModifier=function(){return this.tsParseModifier(["public","protected","private"])},kA.parsePostMemberNameModifiers=function(aA){this.eat(oA.question)&&(aA.optional=!0),aA.readonly&&this.match(oA.parenL)&&this.raise(aA.start,b$1.ClassMethodHasReadonly),aA.declare&&this.match(oA.parenL)&&this.raise(aA.start,b$1.ClassMethodHasDeclare)},kA.parseExpressionStatement=function(aA,nA){return(nA.type==="Identifier"?this.tsParseExpressionStatement(aA,nA):void 0)||RA.prototype.parseExpressionStatement.call(this,aA,nA)},kA.shouldParseExportStatement=function(){return!!this.tsIsDeclarationStart()||!!this.match(hA.at)||RA.prototype.shouldParseExportStatement.call(this)},kA.parseConditional=function(aA,nA,DA,yA,GA){if(this.eat(oA.question)){var SA=this.startNodeAt(nA,DA);return SA.test=aA,SA.consequent=this.parseMaybeAssign(),this.expect(oA.colon),SA.alternate=this.parseMaybeAssign(yA),this.finishNode(SA,"ConditionalExpression")}return aA},kA.parseMaybeConditional=function(aA,nA){var DA=this,yA=this.start,GA=this.startLoc,SA=this.parseExprOps(aA,nA);if(this.checkExpressionErrors(nA))return SA;if(!this.maybeInArrowParameters||!this.match(oA.question))return this.parseConditional(SA,yA,GA,aA,nA);var YA=this.tryParse(function(){return DA.parseConditional(SA,yA,GA,aA,nA)});return YA.node?(YA.error&&this.setLookaheadState(YA.failState),YA.node):(YA.error&&this.setOptionalParametersError(nA,YA.error),SA)},kA.parseParenItem=function(aA){var nA=this.start,DA=this.startLoc;if(aA=RA.prototype.parseParenItem.call(this,aA),this.eat(oA.question)&&(aA.optional=!0,this.resetEndLocation(aA)),this.match(oA.colon)){var yA=this.startNodeAt(nA,DA);return yA.expression=aA,yA.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(yA,"TSTypeCastExpression")}return aA},kA.parseExportDeclaration=function(aA){var nA=this;if(!this.isAmbientContext&&this.ts_isContextual(hA.declare))return this.tsInAmbientContext(function(){return nA.parseExportDeclaration(aA)});var DA=this.start,yA=this.startLoc,GA=this.eatContextual("declare");!GA||!this.ts_isContextual(hA.declare)&&this.shouldParseExportStatement()||this.raise(this.start,b$1.ExpectedAmbientAfterExportDeclare);var SA=fA(this.type)&&this.tsTryParseExportDeclaration()||this.parseStatement(null);return SA?((SA.type==="TSInterfaceDeclaration"||SA.type==="TSTypeAliasDeclaration"||GA)&&(aA.exportKind="type"),GA&&(this.resetStartLocation(SA,DA,yA),SA.declare=!0),SA):null},kA.parseClassId=function(aA,nA){if(nA||!this.isContextual("implements")){RA.prototype.parseClassId.call(this,aA,nA);var DA=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));DA&&(aA.typeParameters=DA)}},kA.parseClassPropertyAnnotation=function(aA){aA.optional||(this.value==="!"&&this.eat(oA.prefix)?aA.definite=!0:this.eat(oA.question)&&(aA.optional=!0));var nA=this.tsTryParseTypeAnnotation();nA&&(aA.typeAnnotation=nA)},kA.parseClassField=function(aA){if(aA.key.type==="PrivateIdentifier")aA.abstract&&this.raise(aA.start,b$1.PrivateElementHasAbstract),aA.accessibility&&this.raise(aA.start,b$1.PrivateElementHasAccessibility({modifier:aA.accessibility})),this.parseClassPropertyAnnotation(aA);else if(this.parseClassPropertyAnnotation(aA),this.isAmbientContext&&(!aA.readonly||aA.typeAnnotation)&&this.match(oA.eq)&&this.raise(this.start,b$1.DeclareClassFieldHasInitializer),aA.abstract&&this.match(oA.eq)){var nA=aA.key;this.raise(this.start,b$1.AbstractPropertyHasInitializer({propertyName:nA.type!=="Identifier"||aA.computed?"["+this.input.slice(nA.start,nA.end)+"]":nA.name}))}return RA.prototype.parseClassField.call(this,aA)},kA.parseClassMethod=function(aA,nA,DA,yA){var GA=aA.kind==="constructor",SA=aA.key.type==="PrivateIdentifier",YA=this.tsTryParseTypeParameters();SA?(YA&&(aA.typeParameters=YA),aA.accessibility&&this.raise(aA.start,b$1.PrivateMethodsHasAccessibility({modifier:aA.accessibility}))):YA&&GA&&this.raise(YA.start,b$1.ConstructorHasTypeParameters);var UA=aA.declare,KA=aA.kind;!(UA!==void 0&&UA)||KA!=="get"&&KA!=="set"||this.raise(aA.start,b$1.DeclareAccessor({kind:KA})),YA&&(aA.typeParameters=YA);var qA=aA.key;aA.kind==="constructor"?(nA&&this.raise(qA.start,"Constructor can't be a generator"),DA&&this.raise(qA.start,"Constructor can't be an async method")):aA.static&&P$1(aA,"prototype")&&this.raise(qA.start,"Classes may not have a static property named prototype");var $A=aA.value=this.parseMethod(nA,DA,yA,!0,aA);return aA.kind==="get"&&$A.params.length!==0&&this.raiseRecoverable($A.start,"getter should have no params"),aA.kind==="set"&&$A.params.length!==1&&this.raiseRecoverable($A.start,"setter should have exactly one param"),aA.kind==="set"&&$A.params[0].type==="RestElement"&&this.raiseRecoverable($A.params[0].start,"Setter cannot use rest params"),this.finishNode(aA,"MethodDefinition")},kA.isClassMethod=function(){return this.match(oA.relational)},kA.parseClassElement=function(aA){var nA=this;if(this.eat(oA.semi))return null;var DA,yA=this.options.ecmaVersion,GA=this.startNode(),SA="",YA=!1,UA=!1,KA="method",qA=["declare","private","public","protected","accessor","override","abstract","readonly","static"],$A=this.tsParseModifiers({modified:GA,allowedModifiers:qA,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:b$1.InvalidModifierOnTypeParameterPositions});DA=!!$A.static;var VA=function(){if(!nA.tsIsStartOfStaticBlocks()){var PA=nA.tsTryParseIndexSignature(GA);if(PA)return GA.abstract&&nA.raise(GA.start,b$1.IndexSignatureHasAbstract),GA.accessibility&&nA.raise(GA.start,b$1.IndexSignatureHasAccessibility({modifier:GA.accessibility})),GA.declare&&nA.raise(GA.start,b$1.IndexSignatureHasDeclare),GA.override&&nA.raise(GA.start,b$1.IndexSignatureHasOverride),PA;if(!nA.inAbstractClass&&GA.abstract&&nA.raise(GA.start,b$1.NonAbstractClassHasAbstractMethod),GA.override&&aA&&nA.raise(GA.start,b$1.OverrideNotInSubClass),GA.static=DA,DA&&(nA.isClassElementNameStart()||nA.type===oA.star||(SA="static")),!SA&&yA>=8&&nA.eatContextual("async")&&(!nA.isClassElementNameStart()&&nA.type!==oA.star||nA.canInsertSemicolon()?SA="async":UA=!0),!SA&&(yA>=9||!UA)&&nA.eat(oA.star)&&(YA=!0),!SA&&!UA&&!YA){var zA=nA.value;(nA.eatContextual("get")||nA.eatContextual("set"))&&(nA.isClassElementNameStart()?KA=zA:SA=zA)}if(SA?(GA.computed=!1,GA.key=nA.startNodeAt(nA.lastTokStart,nA.lastTokStartLoc),GA.key.name=SA,nA.finishNode(GA.key,"Identifier")):nA.parseClassElementName(GA),nA.parsePostMemberNameModifiers(GA),nA.isClassMethod()||yA<13||nA.type===oA.parenL||KA!=="method"||YA||UA){var WA=!GA.static&&P$1(GA,"constructor"),Ag=WA&&aA;WA&&KA!=="method"&&nA.raise(GA.key.start,"Constructor can't have get/set modifier"),GA.kind=WA?"constructor":KA,nA.parseClassMethod(GA,YA,UA,Ag)}else nA.parseClassField(GA);return GA}if(nA.next(),nA.next(),nA.tsHasSomeModifiers(GA,qA)&&nA.raise(nA.start,b$1.StaticBlockCannotHaveModifier),yA>=13)return RA.prototype.parseClassStaticBlock.call(nA,GA),GA};return GA.declare?this.tsInAmbientContext(VA):VA(),GA},kA.isClassElementNameStart=function(){return!!this.tsIsIdentifier()||RA.prototype.isClassElementNameStart.call(this)},kA.parseClassSuper=function(aA){RA.prototype.parseClassSuper.call(this,aA),aA.superClass&&(this.tsMatchLeftRelational()||this.match(oA.bitShift))&&(aA.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual("implements")&&(aA.implements=this.tsParseHeritageClause("implements"))},kA.parseFunctionParams=function(aA){var nA=this.tsTryParseTypeParameters();nA&&(aA.typeParameters=nA),RA.prototype.parseFunctionParams.call(this,aA)},kA.parseVarId=function(aA,nA){RA.prototype.parseVarId.call(this,aA,nA),aA.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.value==="!"&&this.eat(oA.prefix)&&(aA.definite=!0);var DA=this.tsTryParseTypeAnnotation();DA&&(aA.id.typeAnnotation=DA,this.resetEndLocation(aA.id))},kA.parseArrowExpression=function(aA,nA,DA,yA){this.match(oA.colon)&&(aA.returnType=this.tsParseTypeAnnotation());var GA=this.yieldPos,SA=this.awaitPos,YA=this.awaitIdentPos;this.enterScope(16|w$1(DA,!1)),this.initFunction(aA);var UA=this.maybeInArrowParameters;return this.options.ecmaVersion>=8&&(aA.async=!!DA),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.maybeInArrowParameters=!0,aA.params=this.toAssignableList(nA,!0),this.maybeInArrowParameters=!1,this.parseFunctionBody(aA,!0,!1,yA),this.yieldPos=GA,this.awaitPos=SA,this.awaitIdentPos=YA,this.maybeInArrowParameters=UA,this.finishNode(aA,"ArrowFunctionExpression")},kA.parseMaybeAssignOrigin=function(aA,nA,DA){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(aA);this.exprAllowed=!1}var yA=!1,GA=-1,SA=-1,YA=-1;nA?(GA=nA.parenthesizedAssign,SA=nA.trailingComma,YA=nA.doubleProto,nA.parenthesizedAssign=nA.trailingComma=-1):(nA=new T$1,yA=!0);var UA=this.start,KA=this.startLoc;(this.type===oA.parenL||fA(this.type))&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=aA==="await");var qA=this.parseMaybeConditional(aA,nA);if(DA&&(qA=DA.call(this,qA,UA,KA)),this.type.isAssign){var $A=this.startNodeAt(UA,KA);return $A.operator=this.value,this.type===oA.eq&&(qA=this.toAssignable(qA,!0,nA)),yA||(nA.parenthesizedAssign=nA.trailingComma=nA.doubleProto=-1),nA.shorthandAssign>=qA.start&&(nA.shorthandAssign=-1),this.type===oA.eq?this.checkLValPattern(qA):this.checkLValSimple(qA),$A.left=qA,this.next(),$A.right=this.parseMaybeAssign(aA),YA>-1&&(nA.doubleProto=YA),this.finishNode($A,"AssignmentExpression")}return yA&&this.checkExpressionErrors(nA,!0),GA>-1&&(nA.parenthesizedAssign=GA),SA>-1&&(nA.trailingComma=SA),qA},kA.parseMaybeAssign=function(aA,nA,DA){var yA,GA,SA,YA,UA,KA,qA,$A,VA,PA,zA,WA=this;if(this.matchJsx("jsxTagStart")||this.tsMatchLeftRelational()){if($A=this.cloneCurLookaheadState(),!(VA=this.tryParse(function(){return WA.parseMaybeAssignOrigin(aA,nA,DA)},$A)).error)return VA.node;var Ag=this.context,eg=Ag[Ag.length-1];eg===CA.tokContexts.tc_oTag&&Ag[Ag.length-2]===CA.tokContexts.tc_expr?(Ag.pop(),Ag.pop()):eg!==CA.tokContexts.tc_oTag&&eg!==CA.tokContexts.tc_expr||Ag.pop()}if(!((yA=VA)!=null&&yA.error||this.tsMatchLeftRelational()))return this.parseMaybeAssignOrigin(aA,nA,DA);$A&&!this.compareLookaheadState($A,this.getCurLookaheadState())||($A=this.cloneCurLookaheadState());var sg=this.tryParse(function(ug){var yg,Dg;zA=WA.tsParseTypeParameters();var hg=WA.parseMaybeAssignOrigin(aA,nA,DA);return(hg.type!=="ArrowFunctionExpression"||(yg=hg.extra)!=null&&yg.parenthesized)&&ug(),((Dg=zA)==null?void 0:Dg.params.length)!==0&&WA.resetStartLocationFromNode(hg,zA),hg.typeParameters=zA,hg},$A);if(!sg.error&&!sg.aborted)return zA&&this.reportReservedArrowTypeParam(zA),sg.node;if(!VA&&(k$3(!0),!(PA=this.tryParse(function(){return WA.parseMaybeAssignOrigin(aA,nA,DA)},$A)).error))return PA.node;if((GA=VA)!=null&&GA.node)return this.setLookaheadState(VA.failState),VA.node;if(sg.node)return this.setLookaheadState(sg.failState),zA&&this.reportReservedArrowTypeParam(zA),sg.node;if((SA=PA)!=null&&SA.node)return this.setLookaheadState(PA.failState),PA.node;throw(YA=VA)!=null&&YA.thrown?VA.error:sg.thrown?sg.error:(UA=PA)!=null&&UA.thrown?PA.error:((KA=VA)==null?void 0:KA.error)||sg.error||((qA=PA)==null?void 0:qA.error)},kA.parseAssignableListItem=function(aA){for(var nA=[];this.match(hA.at);)nA.push(this.parseDecorator());var DA,yA=this.start,GA=this.startLoc,SA=!1,YA=!1;if(aA!==void 0){var UA={};this.tsParseModifiers({modified:UA,allowedModifiers:["public","private","protected","override","readonly"]}),DA=UA.accessibility,YA=UA.override,SA=UA.readonly,aA===!1&&(DA||SA||YA)&&this.raise(GA.start,b$1.UnexpectedParameterModifier)}var KA=this.parseMaybeDefault(yA,GA);this.parseBindingListItem(KA);var qA=this.parseMaybeDefault(KA.start,KA.loc,KA);if(nA.length&&(qA.decorators=nA),DA||SA||YA){var $A=this.startNodeAt(yA,GA);return DA&&($A.accessibility=DA),SA&&($A.readonly=SA),YA&&($A.override=YA),qA.type!=="Identifier"&&qA.type!=="AssignmentPattern"&&this.raise($A.start,b$1.UnsupportedParameterPropertyKind),$A.parameter=qA,this.finishNode($A,"TSParameterProperty")}return qA},kA.checkLValInnerPattern=function(aA,nA,DA){nA===void 0&&(nA=0),aA.type==="TSParameterProperty"?this.checkLValInnerPattern(aA.parameter,nA,DA):RA.prototype.checkLValInnerPattern.call(this,aA,nA,DA)},kA.parseBindingListItem=function(aA){this.eat(oA.question)&&(aA.type==="Identifier"||this.isAmbientContext||this.inType||this.raise(aA.start,b$1.PatternIsOptional),aA.optional=!0);var nA=this.tsTryParseTypeAnnotation();return nA&&(aA.typeAnnotation=nA),this.resetEndLocation(aA),aA},kA.isAssignable=function(aA,nA){var DA=this;switch(aA.type){case"TSTypeCastExpression":return this.isAssignable(aA.expression,nA);case"TSParameterProperty":case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":var yA=aA.properties.length-1;return aA.properties.every(function(GA,SA){return GA.type!=="ObjectMethod"&&(SA===yA||GA.type!=="SpreadElement")&&DA.isAssignable(GA)});case"Property":case"ObjectProperty":return this.isAssignable(aA.value);case"SpreadElement":return this.isAssignable(aA.argument);case"ArrayExpression":return aA.elements.every(function(GA){return GA===null||DA.isAssignable(GA)});case"AssignmentExpression":return aA.operator==="=";case"ParenthesizedExpression":return this.isAssignable(aA.expression);case"MemberExpression":case"OptionalMemberExpression":return!nA;default:return!1}},kA.toAssignable=function(aA,nA,DA){switch(nA===void 0&&(nA=!1),DA===void 0&&(DA=new T$1),aA.type){case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(aA,nA,DA);case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":return nA||this.raise(aA.start,b$1.UnexpectedTypeCastInParameter),this.toAssignable(aA.expression,nA,DA);case"MemberExpression":break;case"AssignmentExpression":return nA||aA.left.type!=="TSTypeCastExpression"||(aA.left=this.typeCastToParameter(aA.left)),RA.prototype.toAssignable.call(this,aA,nA,DA);case"TSTypeCastExpression":return this.typeCastToParameter(aA);default:return RA.prototype.toAssignable.call(this,aA,nA,DA)}return aA},kA.toAssignableParenthesizedExpression=function(aA,nA,DA){switch(aA.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":return this.toAssignable(aA.expression,nA,DA);default:return RA.prototype.toAssignable.call(this,aA,nA,DA)}},kA.curPosition=function(){if(this.options.locations){var aA=RA.prototype.curPosition.call(this);return Object.defineProperty(aA,"offset",{get:function(){return function(nA){var DA=new sA.Position(this.line,this.column+nA);return DA.index=this.index+nA,DA}}}),aA.index=this.pos,aA}},kA.parseBindingAtom=function(){return this.type===oA._this?this.parseIdent(!0):RA.prototype.parseBindingAtom.call(this)},kA.shouldParseArrow=function(aA){var nA,DA=this;if(nA=this.match(oA.colon)?aA.every(function(GA){return DA.isAssignable(GA,!0)}):!this.canInsertSemicolon()){if(this.match(oA.colon)){var yA=this.tryParse(function(GA){var SA=DA.tsParseTypeOrTypePredicateAnnotation(oA.colon);return!DA.canInsertSemicolon()&&DA.match(oA.arrow)||GA(),SA});if(yA.aborted)return this.shouldParseArrowReturnType=void 0,!1;yA.thrown||(yA.error&&this.setLookaheadState(yA.failState),this.shouldParseArrowReturnType=yA.node)}return!!this.match(oA.arrow)||(this.shouldParseArrowReturnType=void 0,!1)}return this.shouldParseArrowReturnType=void 0,nA},kA.parseParenArrowList=function(aA,nA,DA,yA){var GA=this.startNodeAt(aA,nA);return GA.returnType=this.shouldParseArrowReturnType,this.shouldParseArrowReturnType=void 0,this.parseArrowExpression(GA,DA,!1,yA)},kA.parseParenAndDistinguishExpression=function(aA,nA){var DA,yA=this.start,GA=this.startLoc,SA=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){var YA=this.maybeInArrowParameters;this.maybeInArrowParameters=!0,this.next();var UA,KA=this.start,qA=this.startLoc,$A=[],VA=!0,PA=!1,zA=new T$1,WA=this.yieldPos,Ag=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==oA.parenR;){if(VA?VA=!1:this.expect(oA.comma),SA&&this.afterTrailingComma(oA.parenR,!0)){PA=!0;break}if(this.type===oA.ellipsis){UA=this.start,$A.push(this.parseParenItem(this.parseRestBinding())),this.type===oA.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}$A.push(this.parseMaybeAssign(nA,zA,this.parseParenItem))}var eg=this.lastTokEnd,sg=this.lastTokEndLoc;if(this.expect(oA.parenR),this.maybeInArrowParameters=YA,aA&&this.shouldParseArrow($A)&&this.eat(oA.arrow))return this.checkPatternErrors(zA,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=WA,this.awaitPos=Ag,this.parseParenArrowList(yA,GA,$A,nA);$A.length&&!PA||this.unexpected(this.lastTokStart),UA&&this.unexpected(UA),this.checkExpressionErrors(zA,!0),this.yieldPos=WA||this.yieldPos,this.awaitPos=Ag||this.awaitPos,$A.length>1?((DA=this.startNodeAt(KA,qA)).expressions=$A,this.finishNodeAt(DA,"SequenceExpression",eg,sg)):DA=$A[0]}else DA=this.parseParenExpression();if(this.options.preserveParens){var ug=this.startNodeAt(yA,GA);return ug.expression=DA,this.finishNode(ug,"ParenthesizedExpression")}return DA},kA.parseTaggedTemplateExpression=function(aA,nA,DA,yA){var GA=this.startNodeAt(nA,DA);return GA.tag=aA,GA.quasi=this.parseTemplate({isTagged:!0}),yA&&this.raise(nA,"Tagged Template Literals are not allowed in optionalChain."),this.finishNode(GA,"TaggedTemplateExpression")},kA.shouldParseAsyncArrow=function(){var aA=this;if(!this.match(oA.colon))return!this.canInsertSemicolon()&&this.eat(oA.arrow);var nA=this.tryParse(function(DA){var yA=aA.tsParseTypeOrTypePredicateAnnotation(oA.colon);return!aA.canInsertSemicolon()&&aA.match(oA.arrow)||DA(),yA});return nA.aborted?(this.shouldParseAsyncArrowReturnType=void 0,!1):nA.thrown?void 0:(nA.error&&this.setLookaheadState(nA.failState),this.shouldParseAsyncArrowReturnType=nA.node,!this.canInsertSemicolon()&&this.eat(oA.arrow))},kA.parseSubscriptAsyncArrow=function(aA,nA,DA,yA){var GA=this.startNodeAt(aA,nA);return GA.returnType=this.shouldParseAsyncArrowReturnType,this.shouldParseAsyncArrowReturnType=void 0,this.parseArrowExpression(GA,DA,!0,yA)},kA.parseExprList=function(aA,nA,DA,yA){for(var GA=[],SA=!0;!this.eat(aA);){if(SA)SA=!1;else if(this.expect(oA.comma),nA&&this.afterTrailingComma(aA))break;var YA=void 0;DA&&this.type===oA.comma?YA=null:this.type===oA.ellipsis?(YA=this.parseSpread(yA),yA&&this.type===oA.comma&&yA.trailingComma<0&&(yA.trailingComma=this.start)):YA=this.parseMaybeAssign(!1,yA,this.parseParenItem),GA.push(YA)}return GA},kA.parseSubscript=function(aA,nA,DA,yA,GA,SA,YA){var UA=this,KA=SA;if(!this.hasPrecedingLineBreak()&&this.value==="!"&&this.match(oA.prefix)){this.exprAllowed=!1,this.next();var qA=this.startNodeAt(nA,DA);return qA.expression=aA,aA=this.finishNode(qA,"TSNonNullExpression")}var $A=!1;if(this.match(oA.questionDot)&&this.lookaheadCharCode()===60){if(yA)return aA;aA.optional=!0,KA=$A=!0,this.next()}if(this.tsMatchLeftRelational()||this.match(oA.bitShift)){var VA,PA=this.tsTryParseAndCatch(function(){if(!yA&&UA.atPossibleAsyncArrow(aA)){var Fg=UA.tsTryParseGenericAsyncArrowFunction(nA,DA,YA);if(Fg)return aA=Fg}var HA=UA.tsParseTypeArgumentsInExpression();if(!HA)return aA;if($A&&!UA.match(oA.parenL))return VA=UA.curPosition(),aA;if(mA(UA.type)||UA.type===oA.backQuote){var TA=UA.parseTaggedTemplateExpression(aA,nA,DA,KA);return TA.typeParameters=HA,TA}if(!yA&&UA.eat(oA.parenL)){var OA=new T$1,jA=UA.startNodeAt(nA,DA);return jA.callee=aA,jA.arguments=UA.parseExprList(oA.parenR,UA.options.ecmaVersion>=8,!1,OA),UA.tsCheckForInvalidTypeCasts(jA.arguments),jA.typeParameters=HA,KA&&(jA.optional=$A),UA.checkExpressionErrors(OA,!0),aA=UA.finishNode(jA,"CallExpression")}var XA=UA.type;if(!(UA.tsMatchRightRelational()||XA===oA.bitShift||XA!==oA.parenL&&(ZA=XA,!!ZA.startsExpr)&&!UA.hasPrecedingLineBreak())){var ZA,tg=UA.startNodeAt(nA,DA);return tg.expression=aA,tg.typeParameters=HA,UA.finishNode(tg,"TSInstantiationExpression")}});if(VA&&this.unexpected(VA),PA)return PA.type==="TSInstantiationExpression"&&(this.match(oA.dot)||this.match(oA.questionDot)&&this.lookaheadCharCode()!==40)&&this.raise(this.start,b$1.InvalidPropertyAccessAfterInstantiationExpression),aA=PA}var zA=this.options.ecmaVersion>=11,WA=zA&&this.eat(oA.questionDot);yA&&WA&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var Ag=this.eat(oA.bracketL);if(Ag||WA&&this.type!==oA.parenL&&this.type!==oA.backQuote||this.eat(oA.dot)){var eg=this.startNodeAt(nA,DA);eg.object=aA,Ag?(eg.property=this.parseExpression(),this.expect(oA.bracketR)):eg.property=this.type===oA.privateId&&aA.type!=="Super"?this.parsePrivateIdent():this.parseIdent(this.options.allowReserved!=="never"),eg.computed=!!Ag,zA&&(eg.optional=WA),aA=this.finishNode(eg,"MemberExpression")}else if(!yA&&this.eat(oA.parenL)){var sg=this.maybeInArrowParameters;this.maybeInArrowParameters=!0;var ug=new T$1,yg=this.yieldPos,Dg=this.awaitPos,hg=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var wg=this.parseExprList(oA.parenR,this.options.ecmaVersion>=8,!1,ug);if(GA&&!WA&&this.shouldParseAsyncArrow())this.checkPatternErrors(ug,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=yg,this.awaitPos=Dg,this.awaitIdentPos=hg,aA=this.parseSubscriptAsyncArrow(nA,DA,wg,YA);else{this.checkExpressionErrors(ug,!0),this.yieldPos=yg||this.yieldPos,this.awaitPos=Dg||this.awaitPos,this.awaitIdentPos=hg||this.awaitIdentPos;var Qg=this.startNodeAt(nA,DA);Qg.callee=aA,Qg.arguments=wg,zA&&(Qg.optional=WA),aA=this.finishNode(Qg,"CallExpression")}this.maybeInArrowParameters=sg}else if(this.type===oA.backQuote){(WA||KA)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Mg=this.startNodeAt(nA,DA);Mg.tag=aA,Mg.quasi=this.parseTemplate({isTagged:!0}),aA=this.finishNode(Mg,"TaggedTemplateExpression")}return aA},kA.parseGetterSetter=function(aA){aA.kind=aA.key.name,this.parsePropertyName(aA),aA.value=this.parseMethod(!1);var nA=aA.kind==="get"?0:1,DA=aA.value.params[0],yA=DA&&this.isThisParam(DA);aA.value.params.length!==(nA=yA?nA+1:nA)?this.raiseRecoverable(aA.value.start,aA.kind==="get"?"getter should have no params":"setter should have exactly one param"):aA.kind==="set"&&aA.value.params[0].type==="RestElement"&&this.raiseRecoverable(aA.value.params[0].start,"Setter cannot use rest params")},kA.parseProperty=function(aA,nA){if(!aA){var DA=[];if(this.match(hA.at))for(;this.match(hA.at);)DA.push(this.parseDecorator());var yA=RA.prototype.parseProperty.call(this,aA,nA);return yA.type==="SpreadElement"&&DA.length&&this.raise(yA.start,"Decorators can't be used with SpreadElement"),DA.length&&(yA.decorators=DA,DA=[]),yA}return RA.prototype.parseProperty.call(this,aA,nA)},kA.parseCatchClauseParam=function(){var aA=this.parseBindingAtom(),nA=aA.type==="Identifier";this.enterScope(nA?32:0),this.checkLValPattern(aA,nA?4:2);var DA=this.tsTryParseTypeAnnotation();return DA&&(aA.typeAnnotation=DA,this.resetEndLocation(aA)),this.expect(oA.parenR),aA},kA.parseClass=function(aA,nA){var DA=this.inAbstractClass;this.inAbstractClass=!!aA.abstract;try{this.next(),this.takeDecorators(aA);var yA=this.strict;this.strict=!0,this.parseClassId(aA,nA),this.parseClassSuper(aA);var GA=this.enterClassBody(),SA=this.startNode(),YA=!1;SA.body=[];var UA=[];for(this.expect(oA.braceL);this.type!==oA.braceR;)if(this.match(hA.at))UA.push(this.parseDecorator());else{var KA=this.parseClassElement(aA.superClass!==null);UA.length&&(KA.decorators=UA,this.resetStartLocationFromNode(KA,UA[0]),UA=[]),KA&&(SA.body.push(KA),KA.type==="MethodDefinition"&&KA.kind==="constructor"&&KA.value.type==="FunctionExpression"?(YA&&this.raiseRecoverable(KA.start,"Duplicate constructor in the same class"),YA=!0,KA.decorators&&KA.decorators.length>0&&this.raise(KA.start,"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?")):KA.key&&KA.key.type==="PrivateIdentifier"&&v$1(GA,KA)&&this.raiseRecoverable(KA.key.start,"Identifier '#"+KA.key.name+"' has already been declared"))}return this.strict=yA,this.next(),UA.length&&this.raise(this.start,"Decorators must be attached to a class element."),aA.body=this.finishNode(SA,"ClassBody"),this.exitClassBody(),this.finishNode(aA,nA?"ClassDeclaration":"ClassExpression")}finally{this.inAbstractClass=DA}},kA.parseClassFunctionParams=function(){var aA=this.tsTryParseTypeParameters(this.tsParseConstModifier),nA=this.parseBindingList(oA.parenR,!1,this.options.ecmaVersion>=8,!0);return aA&&(nA.typeParameters=aA),nA},kA.parseMethod=function(aA,nA,DA,yA,GA){var SA=this.startNode(),YA=this.yieldPos,UA=this.awaitPos,KA=this.awaitIdentPos;if(this.initFunction(SA),this.options.ecmaVersion>=6&&(SA.generator=aA),this.options.ecmaVersion>=8&&(SA.async=!!nA),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|w$1(nA,SA.generator)|(DA?128:0)),this.expect(oA.parenL),SA.params=this.parseClassFunctionParams(),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(SA,!1,!0,!1,{isClassMethod:yA}),this.yieldPos=YA,this.awaitPos=UA,this.awaitIdentPos=KA,GA&&GA.abstract&&SA.body){var qA=GA.key;this.raise(GA.start,b$1.AbstractMethodHasImplementation({methodName:qA.type!=="Identifier"||GA.computed?"["+this.input.slice(qA.start,qA.end)+"]":qA.name}))}return this.finishNode(SA,"FunctionExpression")},NA.parse=function(aA,nA){if(nA.locations===!1)throw new Error("You have to enable options.locations while using acorn-typescript");nA.locations=!0;var DA=new this(nA,aA);return gA&&(DA.isAmbientContext=!0),DA.parse()},NA.parseExpressionAt=function(aA,nA,DA){if(DA.locations===!1)throw new Error("You have to enable options.locations while using acorn-typescript");DA.locations=!0;var yA=new this(DA,aA,nA);return gA&&(yA.isAmbientContext=!0),yA.nextToken(),yA.parseExpression()},kA.parseImportSpecifier=function(){if(this.ts_isContextual(hA.type)){var aA=this.startNode();return aA.imported=this.parseModuleExportName(),this.parseTypeOnlyImportExportSpecifier(aA,!0,this.importOrExportOuterKind==="type"),this.finishNode(aA,"ImportSpecifier")}var nA=RA.prototype.parseImportSpecifier.call(this);return nA.importKind="value",nA},kA.parseExportSpecifier=function(aA){var nA=this.ts_isContextual(hA.type);if(!this.match(oA.string)&&nA){var DA=this.startNode();return DA.local=this.parseModuleExportName(),this.parseTypeOnlyImportExportSpecifier(DA,!1,this.importOrExportOuterKind==="type"),this.finishNode(DA,"ExportSpecifier"),this.checkExport(aA,DA.exported,DA.exported.start),DA}var yA=RA.prototype.parseExportSpecifier.call(this,aA);return yA.exportKind="value",yA},kA.parseTypeOnlyImportExportSpecifier=function(aA,nA,DA){var yA,GA=nA?"imported":"local",SA=nA?"local":"exported",YA=aA[GA],UA=!1,KA=!0,qA=YA.start;if(this.isContextual("as")){var $A=this.parseIdent();if(this.isContextual("as")){var VA=this.parseIdent();LA(this.type)?(UA=!0,YA=$A,yA=nA?this.parseIdent():this.parseModuleExportName(),KA=!1):(yA=VA,KA=!1)}else LA(this.type)?(KA=!1,yA=nA?this.parseIdent():this.parseModuleExportName()):(UA=!0,YA=$A)}else LA(this.type)&&(UA=!0,nA?(YA=RA.prototype.parseIdent.call(this,!0),this.isContextual("as")||this.checkUnreserved(YA)):YA=this.parseModuleExportName());UA&&DA&&this.raise(qA,nA?b$1.TypeModifierIsUsedInTypeImports:b$1.TypeModifierIsUsedInTypeExports),aA[GA]=YA,aA[SA]=yA,aA[nA?"importKind":"exportKind"]=UA?"type":"value",KA&&this.eatContextual("as")&&(aA[SA]=nA?this.parseIdent():this.parseModuleExportName()),aA[SA]||(aA[SA]=this.copyNode(aA[GA])),nA&&this.checkLValSimple(aA[SA],2)},kA.raiseCommonCheck=function(aA,nA,DA){return nA==="Comma is not permitted after the rest element"?this.isAmbientContext&&this.match(oA.comma)&&this.lookaheadCharCode()===41?void this.next():RA.prototype.raise.call(this,aA,nA):DA?RA.prototype.raiseRecoverable.call(this,aA,nA):RA.prototype.raise.call(this,aA,nA)},kA.raiseRecoverable=function(aA,nA){return this.raiseCommonCheck(aA,nA,!0)},kA.raise=function(aA,nA){return this.raiseCommonCheck(aA,nA,!0)},kA.updateContext=function(aA){var nA=this.type;if(nA==oA.braceL){var DA=this.curContext();DA==dA.tc_oTag?this.context.push(uA.b_expr):DA==dA.tc_expr?this.context.push(uA.b_tmpl):RA.prototype.updateContext.call(this,aA),this.exprAllowed=!0}else{if(nA!==oA.slash||aA!==hA.jsxTagStart)return RA.prototype.updateContext.call(this,aA);this.context.length-=2,this.context.push(dA.tc_cTag),this.exprAllowed=!1}},kA.jsx_parseOpeningElementAt=function(aA,nA){var DA=this,yA=this.startNodeAt(aA,nA),GA=this.jsx_parseElementName();if(GA&&(yA.name=GA),this.match(oA.relational)||this.match(oA.bitShift)){var SA=this.tsTryParseAndCatch(function(){return DA.tsParseTypeArgumentsInExpression()});SA&&(yA.typeParameters=SA)}for(yA.attributes=[];this.type!==oA.slash&&this.type!==hA.jsxTagEnd;)yA.attributes.push(this.jsx_parseAttribute());return yA.selfClosing=this.eat(oA.slash),this.expect(hA.jsxTagEnd),this.finishNode(yA,GA?"JSXOpeningElement":"JSXOpeningFragment")},kA.enterScope=function(aA){aA===f$1&&this.importsStack.push([]),RA.prototype.enterScope.call(this,aA);var nA=RA.prototype.currentScope.call(this);nA.types=[],nA.enums=[],nA.constEnums=[],nA.classes=[],nA.exportOnlyBindings=[]},kA.exitScope=function(){RA.prototype.currentScope.call(this).flags===f$1&&this.importsStack.pop(),RA.prototype.exitScope.call(this)},kA.hasImport=function(aA,nA){var DA=this.importsStack.length;if(this.importsStack[DA-1].indexOf(aA)>-1)return!0;if(!nA&&DA>1){for(var yA=0;yA<DA-1;yA++)if(this.importsStack[yA].indexOf(aA)>-1)return!0}return!1},kA.maybeExportDefined=function(aA,nA){this.inModule&&1&aA.flags&&this.undefinedExports.delete(nA)},kA.isRedeclaredInScope=function(aA,nA,DA){return!!(0&DA)&&(2&DA?aA.lexical.indexOf(nA)>-1||aA.functions.indexOf(nA)>-1||aA.var.indexOf(nA)>-1:3&DA?aA.lexical.indexOf(nA)>-1||!RA.prototype.treatFunctionsAsVarInScope.call(this,aA)&&aA.var.indexOf(nA)>-1:aA.lexical.indexOf(nA)>-1&&!(32&aA.flags&&aA.lexical[0]===nA)||!this.treatFunctionsAsVarInScope(aA)&&aA.functions.indexOf(nA)>-1)},kA.checkRedeclarationInScope=function(aA,nA,DA,yA){this.isRedeclaredInScope(aA,nA,DA)&&this.raise(yA,"Identifier '"+nA+"' has already been declared.")},kA.declareName=function(aA,nA,DA){if(4096&nA)return this.hasImport(aA,!0)&&this.raise(DA,"Identifier '"+aA+"' has already been declared."),void this.importsStack[this.importsStack.length-1].push(aA);var yA=this.currentScope();if(1024&nA)return this.maybeExportDefined(yA,aA),void yA.exportOnlyBindings.push(aA);RA.prototype.declareName.call(this,aA,nA,DA),0&nA&&(0&nA||(this.checkRedeclarationInScope(yA,aA,nA,DA),this.maybeExportDefined(yA,aA)),yA.types.push(aA)),256&nA&&yA.enums.push(aA),512&nA&&yA.constEnums.push(aA),128&nA&&yA.classes.push(aA)},kA.checkLocalExport=function(aA){var nA=aA.name;if(!this.hasImport(nA)){for(var DA=this.scopeStack.length-1;DA>=0;DA--){var yA=this.scopeStack[DA];if(yA.types.indexOf(nA)>-1||yA.exportOnlyBindings.indexOf(nA)>-1)return}RA.prototype.checkLocalExport.call(this,aA)}},FA=NA,xA=[{key:"acornTypeScript",get:function(){return CA}}],(vA=[{key:"acornTypeScript",get:function(){return CA}}])&&a$1(FA.prototype,vA),xA&&a$1(FA,xA),Object.defineProperty(FA,"prototype",{writable:!1}),NA}(BA);return JA}}const ParserWithTS=Parser$1.extend(D$1({allowSatisfies:!0}));function parse$1(eA,AA){const tA=AA?ParserWithTS:Parser$1,{onComment:gA,add_comments:iA}=get_comment_handlers(eA),IA=tA.parse(eA,{onComment:gA,sourceType:"module",ecmaVersion:13,locations:!0});return AA&&amend(eA,IA),iA(IA),IA}function parse_expression_at(eA,AA,tA){const gA=AA?ParserWithTS:Parser$1,{onComment:iA,add_comments:IA}=get_comment_handlers(eA),BA=gA.parseExpressionAt(eA,tA,{onComment:iA,sourceType:"module",ecmaVersion:13,locations:!0});return AA&&amend(eA,BA),IA(BA),BA}function get_comment_handlers(eA){const AA=[];return{onComment:(tA,gA,iA,IA)=>{if(tA&&/\n/.test(gA)){let BA=iA;for(;BA>0&&eA[BA-1]!==`
30
- `;)BA-=1;let sA=BA;for(;/[ \t]/.test(eA[sA]);)sA+=1;const CA=eA.slice(BA,sA);gA=gA.replace(new RegExp(`^${CA}`,"gm"),"")}AA.push({type:tA?"Block":"Line",value:gA,start:iA,end:IA})},add_comments(tA){AA.length!==0&&(walk(tA,null,{_(gA,{next:iA,path:IA}){let BA;for(;AA[0]&&AA[0].start<gA.start;)BA=AA.shift(),(gA.leadingComments||(gA.leadingComments=[])).push(BA);if(iA(),AA[0]){const sA=IA.at(-1);if(sA===void 0||gA.end!==sA.end){const CA=eA.slice(gA.end,AA[0].start);if(((sA==null?void 0:sA.type)==="BlockStatement"||(sA==null?void 0:sA.type)==="Program")&&sA.body.indexOf(gA)===sA.body.length-1||(sA==null?void 0:sA.type)==="ArrayExpression"&&sA.elements.indexOf(gA)===sA.elements.length-1||(sA==null?void 0:sA.type)==="ObjectExpression"&&sA.properties.indexOf(gA)===sA.properties.length-1)for(gA.end;AA.length;){const QA=AA[0];if(sA&&QA.start>=sA.end)break;(gA.trailingComments||(gA.trailingComments=[])).push(QA),AA.shift(),QA.end}else gA.end<=AA[0].start&&/^[,) \t]*$/.test(CA)&&(gA.trailingComments=[AA.shift()])}}}}),AA.length>0&&(AA[0].start>=tA.end||tA.type==="Program")&&(tA.trailingComments||(tA.trailingComments=[])).push(...AA.splice(0)))}}}function amend(eA,AA){return walk(AA,null,{_(tA,gA){var iA;if(delete tA.loc.start.index,delete tA.loc.end.index,typeof((iA=tA.loc)==null?void 0:iA.end)=="number"){const IA=locator(tA.loc.end);IA&&(tA.loc.end={line:IA.line,column:IA.column})}if(tA.typeAnnotation&&(tA.end===void 0||tA.end<tA.start)){let IA=tA.typeAnnotation.start;for(;/\s/.test(eA[IA-1]);)IA-=1;tA.end=IA}gA.next()}})}const regex_return_characters=/\r/g;function hash(eA){eA=eA.replace(regex_return_characters,"");let AA=5381,tA=eA.length;for(;tA--;)AA=(AA<<5)-AA^eA.charCodeAt(tA);return(AA>>>0).toString(36)}const VOID_ELEMENT_NAMES=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function is_void(eA){return VOID_ELEMENT_NAMES.includes(eA)||eA.toLowerCase()==="!doctype"}const RESERVED_WORDS=["arguments","await","break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","eval","export","extends","false","finally","for","function","if","implements","import","in","instanceof","interface","let","new","null","package","private","protected","public","return","static","super","switch","this","throw","true","try","typeof","var","void","while","with","yield"];function is_reserved(eA){return RESERVED_WORDS.includes(eA)}function is_capture_event(eA){return eA.endsWith("capture")&&eA!=="gotpointercapture"&&eA!=="lostpointercapture"}const DELEGATED_EVENTS=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function is_delegated(eA){return DELEGATED_EVENTS.includes(eA)}const DOM_BOOLEAN_ATTRIBUTES=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","webkitdirectory"];function is_boolean_attribute(eA){return DOM_BOOLEAN_ATTRIBUTES.includes(eA)}const ATTRIBUTE_ALIASES={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly"};function normalize_attribute(eA){return eA=eA.toLowerCase(),ATTRIBUTE_ALIASES[eA]??eA}const DOM_PROPERTIES=[...DOM_BOOLEAN_ATTRIBUTES,"formNoValidate","isMap","noModule","playsInline","readOnly","value","inert","volume"];function is_dom_property(eA){return DOM_PROPERTIES.includes(eA)}const PASSIVE_EVENTS=["touchstart","touchmove"];function is_passive_event(eA){return PASSIVE_EVENTS.includes(eA)}const CONTENT_EDITABLE_BINDINGS=["textContent","innerHTML","innerText"];function is_content_editable_binding(eA){return CONTENT_EDITABLE_BINDINGS.includes(eA)}const LOAD_ERROR_ELEMENTS=["body","embed","iframe","img","link","object","script","style","track"];function is_load_error_element(eA){return LOAD_ERROR_ELEMENTS.includes(eA)}const SVG_ELEMENTS=["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","discard","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hatch","hatchpath","hkern","image","line","linearGradient","marker","mask","mesh","meshgradient","meshpatch","meshrow","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","solidcolor","stop","svg","switch","symbol","text","textPath","tref","tspan","unknown","use","view","vkern"];function is_svg(eA){return SVG_ELEMENTS.includes(eA)}const MATHML_ELEMENTS=["annotation","annotation-xml","maction","math","merror","mfrac","mi","mmultiscripts","mn","mo","mover","mpadded","mphantom","mprescripts","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msubsup","msup","mtable","mtd","mtext","mtr","munder","munderover","semantics"];function is_mathml(eA){return MATHML_ELEMENTS.includes(eA)}const RUNES=["$state","$state.raw","$state.snapshot","$props","$bindable","$derived","$derived.by","$effect","$effect.pre","$effect.tracking","$effect.root","$inspect","$inspect().with","$host"];function is_rune(eA){return RUNES.includes(eA)}class InternalCompileError extends Error{constructor(tA,gA,iA){super(gA);rg(this,"message","");Rg(this,Jg);this.stack="",lg(this,Jg,new CompileDiagnostic(tA,gA,iA)),Object.assign(this,ig(this,Jg)),this.name="CompileError"}toString(){return ig(this,Jg).toString()}toJSON(){return ig(this,Jg).toJSON()}}Jg=new WeakMap;function e$1(eA,AA,tA){const gA=typeof eA=="number"?eA:eA==null?void 0:eA.start,iA=typeof eA=="number"?eA:eA==null?void 0:eA.end;throw new InternalCompileError(AA,tA,gA!==void 0?[gA,iA??gA]:void 0)}function options_invalid_value(eA,AA){e$1(eA,"options_invalid_value",`Invalid compiler option: ${AA}`)}function options_removed(eA,AA){e$1(eA,"options_removed",`Invalid compiler option: ${AA}`)}function options_unrecognised(eA,AA){e$1(eA,"options_unrecognised",`Unrecognised compiler option ${AA}`)}function bindable_invalid_location(eA){e$1(eA,"bindable_invalid_location","`$bindable()` can only be used inside a `$props()` declaration")}function constant_assignment(eA,AA){e$1(eA,"constant_assignment",`Cannot assign to ${AA}`)}function constant_binding(eA,AA){e$1(eA,"constant_binding",`Cannot bind to ${AA}`)}function declaration_duplicate(eA,AA){e$1(eA,"declaration_duplicate",`\`${AA}\` has already been declared`)}function declaration_duplicate_module_import(eA){e$1(eA,"declaration_duplicate_module_import","Cannot declare a variable with the same name as an import inside `<script module>`")}function derived_invalid_export(eA){e$1(eA,"derived_invalid_export","Cannot export derived state from a module. To expose the current derived value, export a function returning its value")}function dollar_binding_invalid(eA){e$1(eA,"dollar_binding_invalid","The $ name is reserved, and cannot be used for variables and imports")}function dollar_prefix_invalid(eA){e$1(eA,"dollar_prefix_invalid","The $ prefix is reserved, and cannot be used for variables and imports")}function each_item_invalid_assignment(eA){e$1(eA,"each_item_invalid_assignment","Cannot reassign or bind to each block argument in runes mode. Use the array and index variables instead (e.g. `array[i] = value` instead of `entry = value`)")}function effect_invalid_placement(eA){e$1(eA,"effect_invalid_placement","`$effect()` can only be used as an expression statement")}function global_reference_invalid(eA,AA){e$1(eA,"global_reference_invalid",`\`${AA}\` is an illegal variable name. To reference a global variable called \`${AA}\`, use \`globalThis.${AA}\``)}function host_invalid_placement(eA){e$1(eA,"host_invalid_placement","`$host()` can only be used inside custom element component instances")}function import_svelte_internal_forbidden(eA){e$1(eA,"import_svelte_internal_forbidden","Imports of `svelte/internal/*` are forbidden. It contains private runtime code which is subject to change without notice. If you're importing from `svelte/internal/*` to work around a limitation of Svelte, please open an issue at https://github.com/sveltejs/svelte and explain your use case")}function invalid_arguments_usage(eA){e$1(eA,"invalid_arguments_usage","The arguments keyword cannot be used within the template or at the top level of a component")}function legacy_export_invalid(eA){e$1(eA,"legacy_export_invalid","Cannot use `export let` in runes mode — use `$props()` instead")}function legacy_props_invalid(eA){e$1(eA,"legacy_props_invalid","Cannot use `$$props` in runes mode")}function legacy_reactive_statement_invalid(eA){e$1(eA,"legacy_reactive_statement_invalid","`$:` is not allowed in runes mode, use `$derived` or `$effect` instead")}function legacy_rest_props_invalid(eA){e$1(eA,"legacy_rest_props_invalid","Cannot use `$$restProps` in runes mode")}function module_illegal_default_export(eA){e$1(eA,"module_illegal_default_export","A component cannot have a default export")}function props_duplicate(eA){e$1(eA,"props_duplicate","Cannot use `$props()` more than once")}function props_illegal_name(eA){e$1(eA,"props_illegal_name","Declaring or accessing a prop starting with `$$` is illegal (they are reserved for Svelte internals)")}function props_invalid_identifier(eA){e$1(eA,"props_invalid_identifier","`$props()` can only be used with an object destructuring pattern")}function props_invalid_pattern(eA){e$1(eA,"props_invalid_pattern","`$props()` assignment must not contain nested properties or computed keys")}function props_invalid_placement(eA){e$1(eA,"props_invalid_placement","`$props()` can only be used at the top level of components as a variable declaration initializer")}function reactive_declaration_cycle(eA,AA){e$1(eA,"reactive_declaration_cycle",`Cyclical dependency detected: ${AA}`)}function rune_invalid_arguments(eA,AA){e$1(eA,"rune_invalid_arguments",`\`${AA}\` cannot be called with arguments`)}function rune_invalid_arguments_length(eA,AA,tA){e$1(eA,"rune_invalid_arguments_length",`\`${AA}\` must be called with ${tA}`)}function rune_invalid_computed_property(eA){e$1(eA,"rune_invalid_computed_property","Cannot access a computed property of a rune")}function rune_invalid_name(eA,AA){e$1(eA,"rune_invalid_name",`\`${AA}\` is not a valid rune`)}function rune_invalid_usage(eA,AA){e$1(eA,"rune_invalid_usage",`Cannot use \`${AA}\` rune in non-runes mode`)}function rune_missing_parentheses(eA){e$1(eA,"rune_missing_parentheses","Cannot use rune without parentheses")}function rune_removed(eA,AA){e$1(eA,"rune_removed",`The \`${AA}\` rune has been removed`)}function rune_renamed(eA,AA,tA){e$1(eA,"rune_renamed",`\`${AA}\` is now \`${tA}\``)}function runes_mode_invalid_import(eA,AA){e$1(eA,"runes_mode_invalid_import",`${AA} cannot be used in runes mode`)}function snippet_parameter_assignment(eA){e$1(eA,"snippet_parameter_assignment","Cannot reassign or bind to snippet parameter")}function state_invalid_export(eA){e$1(eA,"state_invalid_export","Cannot export state from a module if it is reassigned. Either export a function returning the state value or only mutate the state value's properties")}function state_invalid_placement(eA,AA){e$1(eA,"state_invalid_placement",`\`${AA}(...)\` can only be used as a variable declaration initializer or a class field`)}function store_invalid_scoped_subscription(eA){e$1(eA,"store_invalid_scoped_subscription","Cannot subscribe to stores that are not declared at the top level of the component")}function store_invalid_subscription(eA){e$1(eA,"store_invalid_subscription","Cannot reference store value inside `<script module>`")}function store_invalid_subscription_module(eA){e$1(eA,"store_invalid_subscription_module","Cannot reference store value outside a `.svelte` file")}function typescript_invalid_feature(eA,AA){e$1(eA,"typescript_invalid_feature",`TypeScript language features like ${AA} are not natively supported, and their use is generally discouraged. Outside of \`<script>\` tags, these features are not supported. For use within \`<script>\` tags, you will need to use a preprocessor to convert it to JavaScript before it gets passed to the Svelte compiler. If you are using \`vitePreprocess\`, make sure to specifically enable preprocessing script tags (\`vitePreprocess({ script: true })\`)`)}function css_empty_declaration(eA){e$1(eA,"css_empty_declaration","Declaration cannot be empty")}function css_expected_identifier(eA){e$1(eA,"css_expected_identifier","Expected a valid CSS identifier")}function css_global_block_invalid_combinator(eA,AA){e$1(eA,"css_global_block_invalid_combinator",`A \`:global\` selector cannot follow a \`${AA}\` combinator`)}function css_global_block_invalid_declaration(eA){e$1(eA,"css_global_block_invalid_declaration","A top-level `:global {...}` block can only contain rules, not declarations")}function css_global_block_invalid_list(eA){e$1(eA,"css_global_block_invalid_list","A `:global` selector cannot be part of a selector list with more than one item")}function css_global_block_invalid_modifier(eA){e$1(eA,"css_global_block_invalid_modifier","A `:global` selector cannot modify an existing selector")}function css_global_block_invalid_modifier_start(eA){e$1(eA,"css_global_block_invalid_modifier_start","A `:global` selector can only be modified if it is a descendant of other selectors")}function css_global_invalid_placement(eA){e$1(eA,"css_global_invalid_placement","`:global(...)` can be at the start or end of a selector sequence, but not in the middle")}function css_global_invalid_selector(eA){e$1(eA,"css_global_invalid_selector","`:global(...)` must contain exactly one selector")}function css_global_invalid_selector_list(eA){e$1(eA,"css_global_invalid_selector_list","`:global(...)` must not contain type or universal selectors when used in a compound selector")}function css_nesting_selector_invalid_placement(eA){e$1(eA,"css_nesting_selector_invalid_placement","Nesting selectors can only be used inside a rule or as the first selector inside a lone `:global(...)`")}function css_selector_invalid(eA){e$1(eA,"css_selector_invalid","Invalid selector")}function css_type_selector_invalid_placement(eA){e$1(eA,"css_type_selector_invalid_placement","`:global(...)` must not be followed by a type selector")}function animation_duplicate(eA){e$1(eA,"animation_duplicate","An element can only have one 'animate' directive")}function animation_invalid_placement(eA){e$1(eA,"animation_invalid_placement","An element that uses the `animate:` directive must be the only child of a keyed `{#each ...}` block")}function animation_missing_key(eA){e$1(eA,"animation_missing_key","An element that uses the `animate:` directive must be the only child of a keyed `{#each ...}` block. Did you forget to add a key to your each block?")}function attribute_contenteditable_dynamic(eA){e$1(eA,"attribute_contenteditable_dynamic","'contenteditable' attribute cannot be dynamic if element uses two-way binding")}function attribute_contenteditable_missing(eA){e$1(eA,"attribute_contenteditable_missing","'contenteditable' attribute is required for textContent, innerHTML and innerText two-way bindings")}function attribute_duplicate(eA){e$1(eA,"attribute_duplicate","Attributes need to be unique")}function attribute_empty_shorthand(eA){e$1(eA,"attribute_empty_shorthand","Attribute shorthand cannot be empty")}function attribute_invalid_event_handler(eA){e$1(eA,"attribute_invalid_event_handler","Event attribute must be a JavaScript expression, not a string")}function attribute_invalid_multiple(eA){e$1(eA,"attribute_invalid_multiple","'multiple' attribute must be static if select uses two-way binding")}function attribute_invalid_name(eA,AA){e$1(eA,"attribute_invalid_name",`'${AA}' is not a valid attribute name`)}function attribute_invalid_sequence_expression(eA){e$1(eA,"attribute_invalid_sequence_expression","Sequence expressions are not allowed as attribute/directive values in runes mode, unless wrapped in parentheses")}function attribute_invalid_type(eA){e$1(eA,"attribute_invalid_type","'type' attribute must be a static text value if input uses two-way binding")}function attribute_unquoted_sequence(eA){e$1(eA,"attribute_unquoted_sequence","Attribute values containing `{...}` must be enclosed in quote marks, unless the value only contains the expression")}function bind_invalid_expression(eA){e$1(eA,"bind_invalid_expression","Can only bind to an Identifier or MemberExpression")}function bind_invalid_name(eA,AA,tA){e$1(eA,"bind_invalid_name",tA?`\`bind:${AA}\` is not a valid binding. ${tA}`:`\`bind:${AA}\` is not a valid binding`)}function bind_invalid_target(eA,AA,tA){e$1(eA,"bind_invalid_target",`\`bind:${AA}\` can only be used with ${tA}`)}function bind_invalid_value(eA){e$1(eA,"bind_invalid_value","Can only bind to state or props")}function block_duplicate_clause(eA,AA){e$1(eA,"block_duplicate_clause",`${AA} cannot appear more than once within a block`)}function block_invalid_continuation_placement(eA){e$1(eA,"block_invalid_continuation_placement","{:...} block is invalid at this position (did you forget to close the preceding element or block?)")}function block_invalid_elseif(eA){e$1(eA,"block_invalid_elseif","'elseif' should be 'else if'")}function block_invalid_placement(eA,AA,tA){e$1(eA,"block_invalid_placement",`{#${AA} ...} block cannot be ${tA}`)}function block_unclosed(eA){e$1(eA,"block_unclosed","Block was left open")}function block_unexpected_character(eA,AA){e$1(eA,"block_unexpected_character",`Expected a \`${AA}\` character immediately following the opening bracket`)}function block_unexpected_close(eA){e$1(eA,"block_unexpected_close","Unexpected block closing tag")}function component_invalid_directive(eA){e$1(eA,"component_invalid_directive","This type of directive is not valid on components")}function const_tag_cycle(eA,AA){e$1(eA,"const_tag_cycle",`Cyclical dependency detected: ${AA}`)}function const_tag_invalid_expression(eA){e$1(eA,"const_tag_invalid_expression","{@const ...} must consist of a single variable declaration")}function const_tag_invalid_placement(eA){e$1(eA,"const_tag_invalid_placement","`{@const}` must be the immediate child of `{#snippet}`, `{#if}`, `{:else if}`, `{:else}`, `{#each}`, `{:then}`, `{:catch}`, `<svelte:fragment>` or `<Component>`")}function debug_tag_invalid_arguments(eA){e$1(eA,"debug_tag_invalid_arguments","{@debug ...} arguments must be identifiers, not arbitrary expressions")}function directive_invalid_value(eA){e$1(eA,"directive_invalid_value","Directive value must be a JavaScript expression enclosed in curly braces")}function directive_missing_name(eA,AA){e$1(eA,"directive_missing_name",`\`${AA}\` name cannot be empty`)}function element_invalid_closing_tag(eA,AA){e$1(eA,"element_invalid_closing_tag",`\`</${AA}>\` attempted to close an element that was not open`)}function element_invalid_closing_tag_autoclosed(eA,AA,tA){e$1(eA,"element_invalid_closing_tag_autoclosed",`\`</${AA}>\` attempted to close element that was already automatically closed by \`<${tA}>\` (cannot nest \`<${tA}>\` inside \`<${AA}>\`)`)}function element_unclosed(eA,AA){e$1(eA,"element_unclosed",`\`<${AA}>\` was left open`)}function event_handler_invalid_component_modifier(eA){e$1(eA,"event_handler_invalid_component_modifier","Event modifiers other than 'once' can only be used on DOM elements")}function event_handler_invalid_modifier(eA,AA){e$1(eA,"event_handler_invalid_modifier",`Valid event modifiers are ${AA}`)}function event_handler_invalid_modifier_combination(eA,AA,tA){e$1(eA,"event_handler_invalid_modifier_combination",`The '${AA}' and '${tA}' modifiers cannot be used together`)}function expected_attribute_value(eA){e$1(eA,"expected_attribute_value","Expected attribute value")}function expected_block_type(eA){e$1(eA,"expected_block_type","Expected 'if', 'each', 'await', 'key' or 'snippet'")}function expected_identifier(eA){e$1(eA,"expected_identifier","Expected an identifier")}function expected_pattern(eA){e$1(eA,"expected_pattern","Expected identifier or destructure pattern")}function expected_token(eA,AA){e$1(eA,"expected_token",`Expected token ${AA}`)}function expected_whitespace(eA){e$1(eA,"expected_whitespace","Expected whitespace")}function js_parse_error(eA,AA){e$1(eA,"js_parse_error",`${AA}`)}function let_directive_invalid_placement(eA){e$1(eA,"let_directive_invalid_placement","`let:` directive at invalid position")}function mixed_event_handler_syntaxes(eA,AA){e$1(eA,"mixed_event_handler_syntaxes",`Mixing old (on:${AA}) and new syntaxes for event handling is not allowed. Use only the on${AA} syntax`)}function node_invalid_placement(eA,AA,tA){e$1(eA,"node_invalid_placement",`${AA} is invalid inside \`<${tA}>\``)}function render_tag_invalid_call_expression(eA){e$1(eA,"render_tag_invalid_call_expression","Calling a snippet function using apply, bind or call is not allowed")}function render_tag_invalid_expression(eA){e$1(eA,"render_tag_invalid_expression","`{@render ...}` tags can only contain call expressions")}function render_tag_invalid_spread_argument(eA){e$1(eA,"render_tag_invalid_spread_argument","cannot use spread arguments in `{@render ...}` tags")}function script_duplicate(eA){e$1(eA,"script_duplicate","A component can have a single top-level `<script>` element and/or a single top-level `<script module>` element")}function script_invalid_attribute_value(eA,AA){e$1(eA,"script_invalid_attribute_value",`If the \`${AA}\` attribute is supplied, it must be a boolean attribute`)}function script_invalid_context(eA){e$1(eA,"script_invalid_context",'If the context attribute is supplied, its value must be "module"')}function script_reserved_attribute(eA,AA){e$1(eA,"script_reserved_attribute",`The \`${AA}\` attribute is reserved and cannot be used`)}function slot_attribute_duplicate(eA,AA,tA){e$1(eA,"slot_attribute_duplicate",`Duplicate slot name '${AA}' in <${tA}>`)}function slot_attribute_invalid(eA){e$1(eA,"slot_attribute_invalid","slot attribute must be a static value")}function slot_attribute_invalid_placement(eA){e$1(eA,"slot_attribute_invalid_placement","Element with a slot='...' attribute must be a child of a component or a descendant of a custom element")}function slot_default_duplicate(eA){e$1(eA,"slot_default_duplicate",'Found default slot content alongside an explicit slot="default"')}function slot_element_invalid_attribute(eA){e$1(eA,"slot_element_invalid_attribute","`<slot>` can only receive attributes and (optionally) let directives")}function slot_element_invalid_name(eA){e$1(eA,"slot_element_invalid_name","slot attribute must be a static value")}function slot_element_invalid_name_default(eA){e$1(eA,"slot_element_invalid_name_default","`default` is a reserved word — it cannot be used as a slot name")}function slot_snippet_conflict(eA){e$1(eA,"slot_snippet_conflict","Cannot use `<slot>` syntax and `{@render ...}` tags in the same component. Migrate towards `{@render ...}` tags completely")}function snippet_conflict(eA){e$1(eA,"snippet_conflict","Cannot use explicit children snippet at the same time as implicit children content. Remove either the non-whitespace content or the children snippet block")}function snippet_invalid_rest_parameter(eA){e$1(eA,"snippet_invalid_rest_parameter","Snippets do not support rest parameters; use an array instead")}function snippet_shadowing_prop(eA,AA){e$1(eA,"snippet_shadowing_prop",`This snippet is shadowing the prop \`${AA}\` with the same name`)}function style_directive_invalid_modifier(eA){e$1(eA,"style_directive_invalid_modifier","`style:` directive can only use the `important` modifier")}function style_duplicate(eA){e$1(eA,"style_duplicate","A component can have a single top-level `<style>` element")}function svelte_body_illegal_attribute(eA){e$1(eA,"svelte_body_illegal_attribute","`<svelte:body>` does not support non-event attributes or spread attributes")}function svelte_component_invalid_this(eA){e$1(eA,"svelte_component_invalid_this","Invalid component definition — must be an `{expression}`")}function svelte_component_missing_this(eA){e$1(eA,"svelte_component_missing_this","`<svelte:component>` must have a 'this' attribute")}function svelte_element_missing_this(eA){e$1(eA,"svelte_element_missing_this","`<svelte:element>` must have a 'this' attribute with a value")}function svelte_fragment_invalid_attribute(eA){e$1(eA,"svelte_fragment_invalid_attribute","`<svelte:fragment>` can only have a slot attribute and (optionally) a let: directive")}function svelte_fragment_invalid_placement(eA){e$1(eA,"svelte_fragment_invalid_placement","`<svelte:fragment>` must be the direct child of a component")}function svelte_head_illegal_attribute(eA){e$1(eA,"svelte_head_illegal_attribute","`<svelte:head>` cannot have attributes nor directives")}function svelte_meta_duplicate(eA,AA){e$1(eA,"svelte_meta_duplicate",`A component can only have one \`<${AA}>\` element`)}function svelte_meta_invalid_content(eA,AA){e$1(eA,"svelte_meta_invalid_content",`<${AA}> cannot have children`)}function svelte_meta_invalid_placement(eA,AA){e$1(eA,"svelte_meta_invalid_placement",`\`<${AA}>\` tags cannot be inside elements or blocks`)}function svelte_meta_invalid_tag(eA,AA){e$1(eA,"svelte_meta_invalid_tag",`Valid \`<svelte:...>\` tag names are ${AA}`)}function svelte_options_deprecated_tag(eA){e$1(eA,"svelte_options_deprecated_tag",'"tag" option is deprecated — use "customElement" instead')}function svelte_options_invalid_attribute(eA){e$1(eA,"svelte_options_invalid_attribute","`<svelte:options>` can only receive static attributes")}function svelte_options_invalid_attribute_value(eA,AA){e$1(eA,"svelte_options_invalid_attribute_value",`Value must be ${AA}, if specified`)}function svelte_options_invalid_customelement(eA){e$1(eA,"svelte_options_invalid_customelement",'"customElement" must be a string literal defining a valid custom element name or an object of the form { tag?: string; shadow?: "open" | "none"; props?: { [key: string]: { attribute?: string; reflect?: boolean; type: .. } } }')}function svelte_options_invalid_customelement_props(eA){e$1(eA,"svelte_options_invalid_customelement_props",'"props" must be a statically analyzable object literal of the form "{ [key: string]: { attribute?: string; reflect?: boolean; type?: "String" | "Boolean" | "Number" | "Array" | "Object" }"')}function svelte_options_invalid_customelement_shadow(eA){e$1(eA,"svelte_options_invalid_customelement_shadow",'"shadow" must be either "open" or "none"')}function svelte_options_invalid_tagname(eA){e$1(eA,"svelte_options_invalid_tagname","Tag name must be lowercase and hyphenated")}function svelte_options_reserved_tagname(eA){e$1(eA,"svelte_options_reserved_tagname","Tag name is reserved")}function svelte_options_unknown_attribute(eA,AA){e$1(eA,"svelte_options_unknown_attribute",`\`<svelte:options>\` unknown attribute '${AA}'`)}function svelte_self_invalid_placement(eA){e$1(eA,"svelte_self_invalid_placement","`<svelte:self>` components can only exist inside `{#if}` blocks, `{#each}` blocks, `{#snippet}` blocks or slots passed to components")}function tag_invalid_name(eA){e$1(eA,"tag_invalid_name","Expected a valid element or component name. Components must have a valid variable name or dot notation expression")}function tag_invalid_placement(eA,AA,tA){e$1(eA,"tag_invalid_placement",`{@${AA} ...} tag cannot be ${tA}`)}function textarea_invalid_content(eA){e$1(eA,"textarea_invalid_content","A `<textarea>` can have either a value attribute or (equivalently) child content, but not both")}function title_illegal_attribute(eA){e$1(eA,"title_illegal_attribute","`<title>` cannot have attributes nor directives")}function title_invalid_content(eA){e$1(eA,"title_invalid_content","`<title>` can only contain text and {tags}")}function transition_conflict(eA,AA,tA){e$1(eA,"transition_conflict",`Cannot use \`${AA}:\` alongside existing \`${tA}:\` directive`)}function transition_duplicate(eA,AA){e$1(eA,"transition_duplicate",`Cannot use multiple \`${AA}:\` directives on a single element`)}function unexpected_eof(eA){e$1(eA,"unexpected_eof","Unexpected end of input")}function unexpected_reserved_word(eA,AA){e$1(eA,"unexpected_reserved_word",`'${AA}' is a reserved word in JavaScript and cannot be used here`)}function void_element_invalid_content(eA){e$1(eA,"void_element_invalid_content","Void elements cannot have children or closing tags")}function read_expression(eA){try{const AA=parse_expression_at(eA.template,eA.ts,eA.index);let tA=0;for(let iA=eA.index;iA<AA.start;iA+=1)eA.template[iA]==="("&&(tA+=1);let gA=AA.end;for(AA.trailingComments!==void 0&&AA.trailingComments.length>0&&(gA=AA.trailingComments.at(-1).end);tA>0;){const iA=eA.template[gA];iA===")"?tA-=1:regex_whitespace.test(iA)||expected_token(gA,")"),gA+=1}return eA.index=gA,AA}catch(AA){eA.acorn_error(AA)}}function sanitize_template_string(eA){return eA.replace(/(`|\${|\\)/g,"\\$1")}function array(eA=[]){return{type:"ArrayExpression",elements:eA}}function array_pattern(eA){return{type:"ArrayPattern",elements:eA}}function assignment_pattern(eA,AA){return{type:"AssignmentPattern",left:eA,right:AA}}function arrow(eA,AA){return{type:"ArrowFunctionExpression",params:eA,body:AA,expression:AA.type!=="BlockStatement",generator:!1,async:!1,metadata:null}}function assignment(eA,AA,tA){return{type:"AssignmentExpression",operator:eA,left:AA,right:tA}}function async(eA){return{...eA,async:!0}}function await_builder(eA){return{type:"AwaitExpression",argument:eA}}function binary(eA,AA,tA){return{type:"BinaryExpression",operator:eA,left:AA,right:tA}}function block(eA){return{type:"BlockStatement",body:eA}}function labeled(eA,AA){return{type:"LabeledStatement",label:id$1(eA),body:AA}}function call(eA,...AA){typeof eA=="string"&&(eA=id$1(eA)),AA=AA.slice();let tA=AA.length,gA=!0;for(;tA--;)AA[tA]?gA=!1:gA?AA.pop():AA[tA]=id$1("undefined");return{type:"CallExpression",callee:eA,arguments:AA,optional:!1}}function maybe_call(eA,...AA){const tA=call(eA,...AA);return tA.optional=!0,{type:"ChainExpression",expression:tA}}function unary(eA,AA){return{type:"UnaryExpression",argument:AA,operator:eA,prefix:!0}}function conditional(eA,AA,tA){return{type:"ConditionalExpression",test:eA,consequent:AA,alternate:tA}}function logical(eA,AA,tA){return{type:"LogicalExpression",operator:eA,left:AA,right:tA}}function declaration(eA,AA){return{type:"VariableDeclaration",kind:eA,declarations:AA}}function declarator(eA,AA){return typeof eA=="string"&&(eA=id$1(eA)),{type:"VariableDeclarator",id:eA,init:AA}}const empty={type:"EmptyStatement"};function export_default(eA){return{type:"ExportDefaultDeclaration",declaration:eA}}function function_declaration(eA,AA,tA){return{type:"FunctionDeclaration",id:eA,params:AA,body:tA,generator:!1,async:!1,metadata:null}}function get(eA,AA){return prop("get",key$2(eA),function_builder(null,[],block(AA)))}function id$1(eA){return{type:"Identifier",name:eA}}function private_id(eA){return{type:"PrivateIdentifier",name:eA}}function import_namespace(eA){return{type:"ImportNamespaceSpecifier",local:id$1(eA)}}function init(eA,AA){return prop("init",key$2(eA),AA)}function literal(eA){return{type:"Literal",value:eA}}function member(eA,AA,tA=!1,gA=!1){return typeof AA=="string"&&(AA=id$1(AA)),{type:"MemberExpression",object:eA,property:AA,computed:tA,optional:gA}}function member_id(eA){const AA=eA.split(".");let tA=id$1(AA[0]);for(let gA=1;gA<AA.length;gA+=1)tA=member(tA,id$1(AA[gA]));return tA}function object$2(eA){return{type:"ObjectExpression",properties:eA}}function object_pattern(eA){return{type:"ObjectPattern",properties:eA}}function prop(eA,AA,tA,gA=!1){return{type:"Property",kind:eA,key:AA,value:tA,method:!1,shorthand:!1,computed:gA}}function prop_def(eA,AA,tA=!1,gA=!1){return{type:"PropertyDefinition",key:eA,value:AA,computed:tA,static:gA,decorators:[]}}function quasi(eA,AA=!1){return{type:"TemplateElement",value:{raw:sanitize_template_string(eA),cooked:eA},tail:AA}}function rest(eA){return{type:"RestElement",argument:eA}}function sequence$1(eA){return{type:"SequenceExpression",expressions:eA}}function set(eA,AA){return prop("set",key$2(eA),function_builder(null,[id$1("$$value")],block(AA)))}function spread(eA){return{type:"SpreadElement",argument:eA}}function stmt(eA){return{type:"ExpressionStatement",expression:eA}}function template(eA,AA){return{type:"TemplateLiteral",quasis:eA,expressions:AA}}function thunk(eA,AA=!1){const tA=arrow([],eA);return AA&&(tA.async=!0),unthunk(tA)}function unthunk(eA){return eA.type==="ArrowFunctionExpression"&&eA.async===!1&&eA.body.type==="CallExpression"&&eA.body.callee.type==="Identifier"&&eA.params.length===eA.body.arguments.length&&eA.params.every((AA,tA)=>{const gA=eA.body.arguments[tA];return AA.type==="Identifier"&&gA.type==="Identifier"&&AA.name===gA.name})?eA.body.callee:eA}function new_builder(eA,...AA){return typeof eA=="string"&&(eA=id$1(eA)),{callee:eA,arguments:AA,type:"NewExpression"}}function update(eA,AA,tA=!1){return{type:"UpdateExpression",operator:eA,argument:AA,prefix:tA}}function do_while(eA,AA){return{type:"DoWhileStatement",test:eA,body:AA}}const true_instance=literal(!0),false_instance=literal(!1),null_instane=literal(null),debugger_builder={type:"DebuggerStatement"},this_instance={type:"ThisExpression"};function let_builder(eA,AA){return declaration("let",[declarator(eA,AA)])}function const_builder(eA,AA){return declaration("const",[declarator(eA,AA)])}function var_builder(eA,AA){return declaration("var",[declarator(eA,AA)])}function for_builder(eA,AA,tA,gA){return{type:"ForStatement",init:eA,test:AA,update:tA,body:gA}}function method(eA,AA,tA,gA,iA=!1,IA=!1){return{type:"MethodDefinition",key:AA,kind:eA,value:function_builder(null,tA,block(gA)),computed:iA,static:IA,decorators:[]}}function function_builder(eA,AA,tA){return{type:"FunctionExpression",id:eA,params:AA,body:tA,generator:!1,async:!1,metadata:null}}function if_builder(eA,AA,tA){return{type:"IfStatement",test:eA,consequent:AA,alternate:tA}}function import_all(eA,AA){return{type:"ImportDeclaration",source:literal(AA),specifiers:[import_namespace(eA)]}}function imports(eA,AA){return{type:"ImportDeclaration",source:literal(AA),specifiers:eA.map(tA=>({type:"ImportSpecifier",imported:id$1(tA[0]),local:id$1(tA[1])}))}}function return_builder(eA=null){return{type:"ReturnStatement",argument:eA}}function throw_error$1(eA){return{type:"ThrowStatement",argument:new_builder("Error",literal(eA))}}function key$2(eA){return regex_is_valid_identifier.test(eA)?id$1(eA):literal(eA)}function object$1(eA){for(;eA.type==="MemberExpression";)eA=eA.object;return eA.type!=="Identifier"?null:eA}function is_text_attribute(eA){return Array.isArray(eA.value)&&eA.value.length===1&&eA.value[0].type==="Text"}function is_expression_attribute(eA){return eA.value!==!0&&!Array.isArray(eA.value)||Array.isArray(eA.value)&&eA.value.length===1&&eA.value[0].type==="ExpressionTag"}function get_attribute_expression(eA){return Array.isArray(eA.value)?eA.value[0].expression:eA.value.expression}function get_attribute_chunks(eA){return Array.isArray(eA)?eA:typeof eA=="boolean"?[]:[eA]}function is_event_attribute(eA){return is_expression_attribute(eA)&&eA.name.startsWith("on")}function unwrap_pattern(eA,AA=[]){switch(eA.type){case"Identifier":AA.push(eA);break;case"MemberExpression":AA.push(eA);break;case"ObjectPattern":for(const tA of eA.properties)tA.type==="RestElement"?unwrap_pattern(tA.argument,AA):unwrap_pattern(tA.value,AA);break;case"ArrayPattern":for(const tA of eA.elements)tA&&unwrap_pattern(tA,AA);break;case"RestElement":unwrap_pattern(eA.argument,AA);break;case"AssignmentPattern":unwrap_pattern(eA.left,AA);break}return AA}function extract_identifiers(eA){return unwrap_pattern(eA,[]).filter(AA=>AA.type==="Identifier")}function extract_all_identifiers_from_expression(eA){let AA=[],tA=[];return walk(eA,{},{Identifier(gA,{path:iA}){const IA=iA.at(-1);((IA==null?void 0:IA.type)!=="MemberExpression"||IA.property!==gA||IA.computed)&&AA.push(gA),(IA==null?void 0:IA.type)==="MemberExpression"&&IA.computed&&IA.property===gA?tA.push(`[${gA.name}]`):tA.push(gA.name)},Literal(gA,{path:iA}){const IA=typeof gA.value=="string"?`"${gA.value}"`:String(gA.value),BA=iA.at(-1);(BA==null?void 0:BA.type)==="MemberExpression"&&BA.computed&&BA.property===gA?tA.push(`[${IA}]`):tA.push(IA)},ThisExpression(gA,{next:iA}){tA.push("this"),iA()}}),[tA.join("."),AA]}function extract_identifiers_from_destructuring(eA,AA=[]){switch(eA.type){case"Identifier":AA.push(eA);break;case"ObjectExpression":for(const tA of eA.properties)tA.type==="Property"?extract_identifiers_from_destructuring(tA.value,AA):extract_identifiers_from_destructuring(tA.argument,AA);break;case"ArrayExpression":for(const tA of eA.elements)tA&&extract_identifiers_from_destructuring(tA,AA);break}return AA}function extract_paths(eA){return _extract_paths([],eA,AA=>AA,AA=>AA,!1)}function _extract_paths(eA=[],AA,tA,gA,iA){switch(AA.type){case"Identifier":case"MemberExpression":eA.push({node:AA,is_rest:!1,has_default_value:iA,expression:tA,update_expression:gA});break;case"ObjectPattern":for(const IA of AA.properties)if(IA.type==="RestElement"){const BA=sA=>{const CA=[];for(const oA of AA.properties)oA.type==="Property"&&oA.key.type!=="PrivateIdentifier"&&(oA.key.type==="Identifier"&&!oA.computed?CA.push(literal(oA.key.name)):oA.key.type==="Literal"?CA.push(literal(String(oA.key.value))):CA.push(call("String",oA.key)));return call("$.exclude_from_object",tA(sA),array(CA))};IA.argument.type==="Identifier"?eA.push({node:IA.argument,is_rest:!0,has_default_value:iA,expression:BA,update_expression:BA}):_extract_paths(eA,IA.argument,BA,BA,iA)}else{const BA=sA=>member(tA(sA),IA.key,IA.computed||IA.key.type!=="Identifier");_extract_paths(eA,IA.value,BA,BA,iA)}break;case"ArrayPattern":for(let IA=0;IA<AA.elements.length;IA+=1){const BA=AA.elements[IA];if(BA)if(BA.type==="RestElement"){const sA=CA=>call(member(tA(CA),"slice"),literal(IA));BA.argument.type==="Identifier"?eA.push({node:BA.argument,is_rest:!0,has_default_value:iA,expression:sA,update_expression:sA}):_extract_paths(eA,BA.argument,sA,sA,iA)}else{const sA=CA=>member(tA(CA),literal(IA),!0);_extract_paths(eA,BA,sA,sA,iA)}}break;case"AssignmentPattern":{const IA=BA=>build_fallback(tA(BA),AA.right);AA.left.type==="Identifier"?eA.push({node:AA.left,is_rest:!1,has_default_value:!0,expression:IA,update_expression:gA}):_extract_paths(eA,AA.left,IA,gA,!0);break}}return eA}function get_parent(eA,AA){let tA=eA.at(AA);return tA.type==="TSNonNullExpression"||tA.type==="TSAsExpression"?eA.at(AA-1):tA}function is_simple_expression(eA){return eA.type==="Literal"||eA.type==="Identifier"||eA.type==="ArrowFunctionExpression"||eA.type==="FunctionExpression"?!0:eA.type==="ConditionalExpression"?is_simple_expression(eA.test)&&is_simple_expression(eA.consequent)&&is_simple_expression(eA.alternate):eA.type==="BinaryExpression"||eA.type==="LogicalExpression"?is_simple_expression(eA.left)&&is_simple_expression(eA.right):!1}function unwrap_optional(eA){return eA.type==="ChainExpression"?eA.expression:eA}function is_expression_async(eA){switch(eA.type){case"AwaitExpression":return!0;case"ArrayPattern":return eA.elements.some(AA=>AA&&is_expression_async(AA));case"ArrayExpression":return eA.elements.some(AA=>AA?AA.type==="SpreadElement"?is_expression_async(AA.argument):is_expression_async(AA):!1);case"AssignmentPattern":case"AssignmentExpression":case"BinaryExpression":case"LogicalExpression":return is_expression_async(eA.left)||is_expression_async(eA.right);case"CallExpression":case"NewExpression":return eA.callee.type!=="Super"&&is_expression_async(eA.callee)||eA.arguments.some(AA=>AA.type==="SpreadElement"?is_expression_async(AA.argument):is_expression_async(AA));case"ChainExpression":return is_expression_async(eA.expression);case"ConditionalExpression":return is_expression_async(eA.test)||is_expression_async(eA.alternate)||is_expression_async(eA.consequent);case"ImportExpression":return is_expression_async(eA.source);case"MemberExpression":return eA.object.type!=="Super"&&is_expression_async(eA.object)||eA.property.type!=="PrivateIdentifier"&&is_expression_async(eA.property);case"ObjectPattern":case"ObjectExpression":return eA.properties.some(AA=>{if(AA.type==="SpreadElement")return is_expression_async(AA.argument);if(AA.type==="Property")return AA.key.type!=="PrivateIdentifier"&&is_expression_async(AA.key)||is_expression_async(AA.value)});case"RestElement":return is_expression_async(eA.argument);case"SequenceExpression":case"TemplateLiteral":return eA.expressions.some(AA=>is_expression_async(AA));case"TaggedTemplateExpression":return is_expression_async(eA.tag)||is_expression_async(eA.quasi);case"UnaryExpression":case"UpdateExpression":return is_expression_async(eA.argument);case"YieldExpression":return eA.argument?is_expression_async(eA.argument):!1;default:return!1}}function build_fallback(eA,AA){return is_simple_expression(AA)?call("$.fallback",eA,AA):AA.type==="AwaitExpression"&&is_simple_expression(AA.argument)?await_builder(call("$.fallback",eA,AA.argument)):is_expression_async(AA)?await_builder(call("$.fallback",eA,thunk(AA,!0),true_instance)):call("$.fallback",eA,thunk(AA),true_instance)}function build_assignment_value(eA,AA,tA){return eA==="="?tA:binary(eA.slice(0,-1),AA,tA)}const regex_closing_script_tag=/<\/script\s*>/,regex_starts_with_closing_script_tag=/^<\/script\s*>/,RESERVED_ATTRIBUTES=["server","client","worker","test","default"],ALLOWED_ATTRIBUTES=["context","generics","lang","module"];function read_script(eA,AA,tA){const gA=eA.index,iA=eA.read_until(regex_closing_script_tag);eA.index>=eA.template.length&&element_unclosed(eA.template.length,"script");const IA=eA.template.slice(0,gA).replace(regex_not_newline_characters," ")+iA;eA.read(regex_starts_with_closing_script_tag);let BA;try{BA=parse$1(IA,eA.ts)}catch(CA){eA.acorn_error(CA)}BA.start=gA;let sA="default";for(const CA of tA)RESERVED_ATTRIBUTES.includes(CA.name)&&script_reserved_attribute(CA,CA.name),ALLOWED_ATTRIBUTES.includes(CA.name)||script_unknown_attribute(CA),CA.name==="module"&&(CA.value!==!0&&script_invalid_attribute_value(CA,CA.name),sA="module"),CA.name==="context"&&((CA.value===!0||!is_text_attribute(CA))&&script_invalid_context(CA),CA.value[0].data!=="module"&&script_invalid_context(CA),sA="module");return{type:"Script",start:AA,end:eA.index,context:sA,content:BA,parent:null,attributes:tA}}const REGEX_MATCHER=/^[~^$*|]?=/,REGEX_CLOSING_BRACKET=/[\s\]]/,REGEX_ATTRIBUTE_FLAGS=/^[a-zA-Z]+/,REGEX_COMBINATOR=/^(\+|~|>|\|\|)/,REGEX_PERCENTAGE=/^\d+(\.\d+)?%/,REGEX_NTH_OF=/^(even|odd|\+?(\d+|\d*n(\s*[+-]\s*\d+)?)|-\d*n(\s*\+\s*\d+))((?=\s*[,)])|\s+of\s+)/,REGEX_WHITESPACE_OR_COLON=/[\s:]/,REGEX_LEADING_HYPHEN_OR_DIGIT=/-?\d/,REGEX_VALID_IDENTIFIER_CHAR=/[a-zA-Z0-9_-]/,REGEX_COMMENT_CLOSE=/\*\//,REGEX_HTML_COMMENT_CLOSE=/-->/;function read_style(eA,AA,tA){const gA=eA.index,iA=read_body(eA,"</style"),IA=eA.index;return eA.read(/^<\/style\s*>/),{type:"StyleSheet",start:AA,end:eA.index,attributes:tA,children:iA,content:{start:gA,end:IA,styles:eA.template.slice(gA,IA),comment:null}}}function read_body(eA,AA){const tA=[];for(;eA.index<eA.template.length;){if(allow_comment_or_whitespace(eA),eA.match(AA))return tA;eA.match("@")?tA.push(read_at_rule(eA)):tA.push(read_rule(eA))}expected_token(eA.template.length,AA)}function read_at_rule(eA){const AA=eA.index;eA.eat("@",!0);const tA=read_identifier(eA),gA=read_value(eA);let iA=null;return eA.match("{")?iA=read_block(eA):eA.eat(";",!0),{type:"Atrule",start:AA,end:eA.index,name:tA,prelude:gA,block:iA}}function read_rule(eA){const AA=eA.index;return{type:"Rule",prelude:read_selector_list(eA),block:read_block(eA),start:AA,end:eA.index,metadata:{parent_rule:null,has_local_selectors:!1,is_global_block:!1}}}function read_selector_list(eA,AA=!1){const tA=[];allow_comment_or_whitespace(eA);const gA=eA.index;for(;eA.index<eA.template.length;){tA.push(read_selector(eA,AA));const iA=eA.index;if(allow_comment_or_whitespace(eA),AA?eA.match(")"):eA.match("{"))return{type:"SelectorList",start:gA,end:iA,children:tA};eA.eat(",",!0),allow_comment_or_whitespace(eA)}unexpected_eof(eA.template.length)}function read_selector(eA,AA=!1){const tA=eA.index,gA=[];function iA(BA,sA){return{type:"RelativeSelector",combinator:BA,selectors:[],start:sA,end:-1,metadata:{is_global:!1,is_global_like:!1,scoped:!1}}}let IA=iA(null,eA.index);for(;eA.index<eA.template.length;){let BA=eA.index;if(eA.eat("&"))IA.selectors.push({type:"NestingSelector",name:"&",start:BA,end:eA.index});else if(eA.eat("*")){let oA="*";eA.eat("|")&&(oA=read_identifier(eA)),IA.selectors.push({type:"TypeSelector",name:oA,start:BA,end:eA.index})}else if(eA.eat("#"))IA.selectors.push({type:"IdSelector",name:read_identifier(eA),start:BA,end:eA.index});else if(eA.eat("."))IA.selectors.push({type:"ClassSelector",name:read_identifier(eA),start:BA,end:eA.index});else if(eA.eat("::"))IA.selectors.push({type:"PseudoElementSelector",name:read_identifier(eA),start:BA,end:eA.index}),eA.eat("(")&&(read_selector_list(eA,!0),eA.eat(")",!0));else if(eA.eat(":")){const oA=read_identifier(eA);let QA=null;eA.eat("(")&&(QA=read_selector_list(eA,!0),eA.eat(")",!0)),IA.selectors.push({type:"PseudoClassSelector",name:oA,args:QA,start:BA,end:eA.index})}else if(eA.eat("[")){eA.allow_whitespace();const oA=read_identifier(eA);eA.allow_whitespace();let QA=null;const EA=eA.read(REGEX_MATCHER);EA&&(eA.allow_whitespace(),QA=read_attribute_value$1(eA)),eA.allow_whitespace();const rA=eA.read(REGEX_ATTRIBUTE_FLAGS);eA.allow_whitespace(),eA.eat("]",!0),IA.selectors.push({type:"AttributeSelector",start:BA,end:eA.index,name:oA,matcher:EA,value:QA,flags:rA})}else if(AA&&eA.match_regex(REGEX_NTH_OF))IA.selectors.push({type:"Nth",value:eA.read(REGEX_NTH_OF),start:BA,end:eA.index});else if(eA.match_regex(REGEX_PERCENTAGE))IA.selectors.push({type:"Percentage",value:eA.read(REGEX_PERCENTAGE),start:BA,end:eA.index});else if(!eA.match_regex(REGEX_COMBINATOR)){let oA=read_identifier(eA);eA.eat("|")&&(oA=read_identifier(eA)),IA.selectors.push({type:"TypeSelector",name:oA,start:BA,end:eA.index})}const sA=eA.index;if(allow_comment_or_whitespace(eA),eA.match(",")||(AA?eA.match(")"):eA.match("{")))return eA.index=sA,IA.end=sA,gA.push(IA),{type:"ComplexSelector",start:tA,end:sA,children:gA,metadata:{rule:null,used:!1}};eA.index=sA;const CA=read_combinator(eA);CA&&(IA.selectors.length>0&&(IA.end=sA,gA.push(IA)),IA=iA(CA,CA.start),eA.allow_whitespace(),(eA.match(",")||(AA?eA.match(")"):eA.match("{")))&&css_selector_invalid(eA.index))}unexpected_eof(eA.template.length)}function read_combinator(eA){const AA=eA.index;eA.allow_whitespace();const tA=eA.index,gA=eA.read(REGEX_COMBINATOR);if(gA){const iA=eA.index;return eA.allow_whitespace(),{type:"Combinator",name:gA,start:tA,end:iA}}return eA.index!==AA?{type:"Combinator",name:" ",start:AA,end:eA.index}:null}function read_block(eA){const AA=eA.index;eA.eat("{",!0);const tA=[];for(;eA.index<eA.template.length&&(allow_comment_or_whitespace(eA),!eA.match("}"));)tA.push(read_block_item(eA));return eA.eat("}",!0),{type:"Block",start:AA,end:eA.index,children:tA}}function read_block_item(eA){if(eA.match("@"))return read_at_rule(eA);const AA=eA.index;read_value(eA);const tA=eA.template[eA.index];return eA.index=AA,tA==="{"?read_rule(eA):read_declaration(eA)}function read_declaration(eA){const AA=eA.index,tA=eA.read_until(REGEX_WHITESPACE_OR_COLON);eA.allow_whitespace(),eA.eat(":");let gA=eA.index;eA.allow_whitespace();const iA=read_value(eA);!iA&&!tA.startsWith("--")&&css_empty_declaration({start:AA,end:gA});const IA=eA.index;return eA.match("}")||eA.eat(";",!0),{type:"Declaration",start:AA,end:IA,property:tA,value:iA}}function read_value(eA){let AA="",tA=!1,gA=!1,iA=null;for(;eA.index<eA.template.length;){const IA=eA.template[eA.index];if(tA)AA+="\\"+IA,tA=!1;else if(IA==="\\")tA=!0;else if(IA===iA)iA=null;else if(IA===")")gA=!1;else if(iA===null&&(IA==='"'||IA==="'"))iA=IA;else if(IA==="("&&AA.slice(-3)==="url")gA=!0;else if((IA===";"||IA==="{"||IA==="}")&&!gA&&!iA)return AA.trim();AA+=IA,eA.index++}unexpected_eof(eA.template.length)}function read_attribute_value$1(eA){let AA="",tA=!1;const gA=eA.eat('"')?'"':eA.eat("'")?"'":null;for(;eA.index<eA.template.length;){const iA=eA.template[eA.index];if(tA)AA+="\\"+iA,tA=!1;else if(iA==="\\")tA=!0;else{if(gA?iA===gA:REGEX_CLOSING_BRACKET.test(iA))return gA&&eA.eat(gA,!0),AA.trim();AA+=iA}eA.index++}unexpected_eof(eA.template.length)}function read_identifier(eA){const AA=eA.index;let tA="";(eA.match("--")||eA.match_regex(REGEX_LEADING_HYPHEN_OR_DIGIT))&&css_expected_identifier(AA);let gA=!1;for(;eA.index<eA.template.length;){const iA=eA.template[eA.index];if(gA)tA+="\\"+iA,gA=!1;else if(iA==="\\")gA=!0;else if(iA.codePointAt(0)>=160||REGEX_VALID_IDENTIFIER_CHAR.test(iA))tA+=iA;else break;eA.index++}return tA===""&&css_expected_identifier(AA),tA}function allow_comment_or_whitespace(eA){for(eA.allow_whitespace();eA.match("/*")||eA.match("<!--");)eA.eat("/*")&&(eA.read_until(REGEX_COMMENT_CLOSE),eA.eat("*/",!0)),eA.eat("<!--")&&(eA.read_until(REGEX_HTML_COMMENT_CLOSE),eA.eat("-->",!0)),eA.allow_whitespace()}var entities={"CounterClockwiseContourIntegral;":8755,"ClockwiseContourIntegral;":8754,"DoubleLongLeftRightArrow;":10234,"NotNestedGreaterGreater;":10914,"DiacriticalDoubleAcute;":733,"NotSquareSupersetEqual;":8931,"CloseCurlyDoubleQuote;":8221,"DoubleContourIntegral;":8751,"FilledVerySmallSquare;":9642,"NegativeVeryThinSpace;":8203,"NotPrecedesSlantEqual;":8928,"NotRightTriangleEqual;":8941,"NotSucceedsSlantEqual;":8929,"CapitalDifferentialD;":8517,"DoubleLeftRightArrow;":8660,"DoubleLongRightArrow;":10233,"EmptyVerySmallSquare;":9643,"NestedGreaterGreater;":8811,"NotDoubleVerticalBar;":8742,"NotGreaterSlantEqual;":10878,"NotLeftTriangleEqual;":8940,"NotSquareSubsetEqual;":8930,"OpenCurlyDoubleQuote;":8220,"ReverseUpEquilibrium;":10607,"DoubleLongLeftArrow;":10232,"DownLeftRightVector;":10576,"LeftArrowRightArrow;":8646,"NegativeMediumSpace;":8203,"NotGreaterFullEqual;":8807,"NotRightTriangleBar;":10704,"RightArrowLeftArrow;":8644,"SquareSupersetEqual;":8850,"leftrightsquigarrow;":8621,"DownRightTeeVector;":10591,"DownRightVectorBar;":10583,"LongLeftRightArrow;":10231,"Longleftrightarrow;":10234,"NegativeThickSpace;":8203,"NotLeftTriangleBar;":10703,"PrecedesSlantEqual;":8828,"ReverseEquilibrium;":8651,"RightDoubleBracket;":10215,"RightDownTeeVector;":10589,"RightDownVectorBar;":10581,"RightTriangleEqual;":8885,"SquareIntersection;":8851,"SucceedsSlantEqual;":8829,"blacktriangleright;":9656,"longleftrightarrow;":10231,"DoubleUpDownArrow;":8661,"DoubleVerticalBar;":8741,"DownLeftTeeVector;":10590,"DownLeftVectorBar;":10582,"FilledSmallSquare;":9724,"GreaterSlantEqual;":10878,"LeftDoubleBracket;":10214,"LeftDownTeeVector;":10593,"LeftDownVectorBar;":10585,"LeftTriangleEqual;":8884,"NegativeThinSpace;":8203,"NotGreaterGreater;":8811,"NotLessSlantEqual;":10877,"NotNestedLessLess;":10913,"NotReverseElement;":8716,"NotSquareSuperset;":8848,"NotTildeFullEqual;":8775,"RightAngleBracket;":10217,"RightUpDownVector;":10575,"SquareSubsetEqual;":8849,"VerticalSeparator;":10072,"blacktriangledown;":9662,"blacktriangleleft;":9666,"leftrightharpoons;":8651,"rightleftharpoons;":8652,"twoheadrightarrow;":8608,"DiacriticalAcute;":180,"DiacriticalGrave;":96,"DiacriticalTilde;":732,"DoubleRightArrow;":8658,"DownArrowUpArrow;":8693,"EmptySmallSquare;":9723,"GreaterEqualLess;":8923,"GreaterFullEqual;":8807,"LeftAngleBracket;":10216,"LeftUpDownVector;":10577,"LessEqualGreater;":8922,"NonBreakingSpace;":160,"NotPrecedesEqual;":10927,"NotRightTriangle;":8939,"NotSucceedsEqual;":10928,"NotSucceedsTilde;":8831,"NotSupersetEqual;":8841,"RightTriangleBar;":10704,"RightUpTeeVector;":10588,"RightUpVectorBar;":10580,"UnderParenthesis;":9181,"UpArrowDownArrow;":8645,"circlearrowright;":8635,"downharpoonright;":8642,"ntrianglerighteq;":8941,"rightharpoondown;":8641,"rightrightarrows;":8649,"twoheadleftarrow;":8606,"vartriangleright;":8883,"CloseCurlyQuote;":8217,"ContourIntegral;":8750,"DoubleDownArrow;":8659,"DoubleLeftArrow;":8656,"DownRightVector;":8641,"LeftRightVector;":10574,"LeftTriangleBar;":10703,"LeftUpTeeVector;":10592,"LeftUpVectorBar;":10584,"LowerRightArrow;":8600,"NotGreaterEqual;":8817,"NotGreaterTilde;":8821,"NotHumpDownHump;":8782,"NotLeftTriangle;":8938,"NotSquareSubset;":8847,"OverParenthesis;":9180,"RightDownVector;":8642,"ShortRightArrow;":8594,"UpperRightArrow;":8599,"bigtriangledown;":9661,"circlearrowleft;":8634,"curvearrowright;":8631,"downharpoonleft;":8643,"leftharpoondown;":8637,"leftrightarrows;":8646,"nLeftrightarrow;":8654,"nleftrightarrow;":8622,"ntrianglelefteq;":8940,"rightleftarrows;":8644,"rightsquigarrow;":8605,"rightthreetimes;":8908,"straightepsilon;":1013,"trianglerighteq;":8885,"vartriangleleft;":8882,"DiacriticalDot;":729,"DoubleRightTee;":8872,"DownLeftVector;":8637,"GreaterGreater;":10914,"HorizontalLine;":9472,"InvisibleComma;":8291,"InvisibleTimes;":8290,"LeftDownVector;":8643,"LeftRightArrow;":8596,"Leftrightarrow;":8660,"LessSlantEqual;":10877,"LongRightArrow;":10230,"Longrightarrow;":10233,"LowerLeftArrow;":8601,"NestedLessLess;":8810,"NotGreaterLess;":8825,"NotLessGreater;":8824,"NotSubsetEqual;":8840,"NotVerticalBar;":8740,"OpenCurlyQuote;":8216,"ReverseElement;":8715,"RightTeeVector;":10587,"RightVectorBar;":10579,"ShortDownArrow;":8595,"ShortLeftArrow;":8592,"SquareSuperset;":8848,"TildeFullEqual;":8773,"UpperLeftArrow;":8598,"ZeroWidthSpace;":8203,"curvearrowleft;":8630,"doublebarwedge;":8966,"downdownarrows;":8650,"hookrightarrow;":8618,"leftleftarrows;":8647,"leftrightarrow;":8596,"leftthreetimes;":8907,"longrightarrow;":10230,"looparrowright;":8620,"nshortparallel;":8742,"ntriangleright;":8939,"rightarrowtail;":8611,"rightharpoonup;":8640,"trianglelefteq;":8884,"upharpoonright;":8638,"ApplyFunction;":8289,"DifferentialD;":8518,"DoubleLeftTee;":10980,"DoubleUpArrow;":8657,"LeftTeeVector;":10586,"LeftVectorBar;":10578,"LessFullEqual;":8806,"LongLeftArrow;":10229,"Longleftarrow;":10232,"NotEqualTilde;":8770,"NotTildeEqual;":8772,"NotTildeTilde;":8777,"Poincareplane;":8460,"PrecedesEqual;":10927,"PrecedesTilde;":8830,"RightArrowBar;":8677,"RightTeeArrow;":8614,"RightTriangle;":8883,"RightUpVector;":8638,"SucceedsEqual;":10928,"SucceedsTilde;":8831,"SupersetEqual;":8839,"UpEquilibrium;":10606,"VerticalTilde;":8768,"VeryThinSpace;":8202,"bigtriangleup;":9651,"blacktriangle;":9652,"divideontimes;":8903,"fallingdotseq;":8786,"hookleftarrow;":8617,"leftarrowtail;":8610,"leftharpoonup;":8636,"longleftarrow;":10229,"looparrowleft;":8619,"measuredangle;":8737,"ntriangleleft;":8938,"shortparallel;":8741,"smallsetminus;":8726,"triangleright;":9657,"upharpoonleft;":8639,"varsubsetneqq;":10955,"varsupsetneqq;":10956,"DownArrowBar;":10515,"DownTeeArrow;":8615,"ExponentialE;":8519,"GreaterEqual;":8805,"GreaterTilde;":8819,"HilbertSpace;":8459,"HumpDownHump;":8782,"Intersection;":8898,"LeftArrowBar;":8676,"LeftTeeArrow;":8612,"LeftTriangle;":8882,"LeftUpVector;":8639,"NotCongruent;":8802,"NotHumpEqual;":8783,"NotLessEqual;":8816,"NotLessTilde;":8820,"Proportional;":8733,"RightCeiling;":8969,"RoundImplies;":10608,"ShortUpArrow;":8593,"SquareSubset;":8847,"UnderBracket;":9141,"VerticalLine;":124,"blacklozenge;":10731,"exponentiale;":8519,"risingdotseq;":8787,"triangledown;":9663,"triangleleft;":9667,"varsubsetneq;":8842,"varsupsetneq;":8843,"CircleMinus;":8854,"CircleTimes;":8855,"Equilibrium;":8652,"GreaterLess;":8823,"LeftCeiling;":8968,"LessGreater;":8822,"MediumSpace;":8287,"NotLessLess;":8810,"NotPrecedes;":8832,"NotSucceeds;":8833,"NotSuperset;":8835,"OverBracket;":9140,"RightVector;":8640,"Rrightarrow;":8667,"RuleDelayed;":10740,"SmallCircle;":8728,"SquareUnion;":8852,"SubsetEqual;":8838,"UpDownArrow;":8597,"Updownarrow;":8661,"VerticalBar;":8739,"backepsilon;":1014,"blacksquare;":9642,"circledcirc;":8858,"circleddash;":8861,"curlyeqprec;":8926,"curlyeqsucc;":8927,"diamondsuit;":9830,"eqslantless;":10901,"expectation;":8496,"nRightarrow;":8655,"nrightarrow;":8603,"preccurlyeq;":8828,"precnapprox;":10937,"quaternions;":8461,"straightphi;":981,"succcurlyeq;":8829,"succnapprox;":10938,"thickapprox;":8776,"updownarrow;":8597,"Bernoullis;":8492,"CirclePlus;":8853,"EqualTilde;":8770,"Fouriertrf;":8497,"ImaginaryI;":8520,"Laplacetrf;":8466,"LeftVector;":8636,"Lleftarrow;":8666,"NotElement;":8713,"NotGreater;":8815,"Proportion;":8759,"RightArrow;":8594,"RightFloor;":8971,"Rightarrow;":8658,"ThickSpace;":8287,"TildeEqual;":8771,"TildeTilde;":8776,"UnderBrace;":9183,"UpArrowBar;":10514,"UpTeeArrow;":8613,"circledast;":8859,"complement;":8705,"curlywedge;":8911,"eqslantgtr;":10902,"gtreqqless;":10892,"lessapprox;":10885,"lesseqqgtr;":10891,"lmoustache;":9136,"longmapsto;":10236,"mapstodown;":8615,"mapstoleft;":8612,"nLeftarrow;":8653,"nleftarrow;":8602,"nsubseteqq;":10949,"nsupseteqq;":10950,"precapprox;":10935,"rightarrow;":8594,"rmoustache;":9137,"sqsubseteq;":8849,"sqsupseteq;":8850,"subsetneqq;":10955,"succapprox;":10936,"supsetneqq;":10956,"upuparrows;":8648,"varepsilon;":1013,"varnothing;":8709,"Backslash;":8726,"CenterDot;":183,"CircleDot;":8857,"Congruent;":8801,"Coproduct;":8720,"DoubleDot;":168,"DownArrow;":8595,"DownBreve;":785,"Downarrow;":8659,"HumpEqual;":8783,"LeftArrow;":8592,"LeftFloor;":8970,"Leftarrow;":8656,"LessTilde;":8818,"Mellintrf;":8499,"MinusPlus;":8723,"NotCupCap;":8813,"NotExists;":8708,"NotSubset;":8834,"OverBrace;":9182,"PlusMinus;":177,"Therefore;":8756,"ThinSpace;":8201,"TripleDot;":8411,"UnionPlus;":8846,"backprime;":8245,"backsimeq;":8909,"bigotimes;":10754,"centerdot;":183,"checkmark;":10003,"complexes;":8450,"dotsquare;":8865,"downarrow;":8595,"gtrapprox;":10886,"gtreqless;":8923,"gvertneqq;":8809,"heartsuit;":9829,"leftarrow;":8592,"lesseqgtr;":8922,"lvertneqq;":8808,"ngeqslant;":10878,"nleqslant;":10877,"nparallel;":8742,"nshortmid;":8740,"nsubseteq;":8840,"nsupseteq;":8841,"pitchfork;":8916,"rationals;":8474,"spadesuit;":9824,"subseteqq;":10949,"subsetneq;":8842,"supseteqq;":10950,"supsetneq;":8843,"therefore;":8756,"triangleq;":8796,"varpropto;":8733,"DDotrahd;":10513,"DotEqual;":8784,"Integral;":8747,"LessLess;":10913,"NotEqual;":8800,"NotTilde;":8769,"PartialD;":8706,"Precedes;":8826,"RightTee;":8866,"Succeeds;":8827,"SuchThat;":8715,"Superset;":8835,"Uarrocir;":10569,"UnderBar;":95,"andslope;":10840,"angmsdaa;":10664,"angmsdab;":10665,"angmsdac;":10666,"angmsdad;":10667,"angmsdae;":10668,"angmsdaf;":10669,"angmsdag;":10670,"angmsdah;":10671,"angrtvbd;":10653,"approxeq;":8778,"awconint;":8755,"backcong;":8780,"barwedge;":8965,"bbrktbrk;":9142,"bigoplus;":10753,"bigsqcup;":10758,"biguplus;":10756,"bigwedge;":8896,"boxminus;":8863,"boxtimes;":8864,"bsolhsub;":10184,"capbrcup;":10825,"circledR;":174,"circledS;":9416,"cirfnint;":10768,"clubsuit;":9827,"cupbrcap;":10824,"curlyvee;":8910,"cwconint;":8754,"doteqdot;":8785,"dotminus;":8760,"drbkarow;":10512,"dzigrarr;":10239,"elinters;":9191,"emptyset;":8709,"eqvparsl;":10725,"fpartint;":10765,"geqslant;":10878,"gesdotol;":10884,"gnapprox;":10890,"hksearow;":10533,"hkswarow;":10534,"imagline;":8464,"imagpart;":8465,"infintie;":10717,"integers;":8484,"intercal;":8890,"intlarhk;":10775,"laemptyv;":10676,"ldrushar;":10571,"leqslant;":10877,"lesdotor;":10883,"llcorner;":8990,"lnapprox;":10889,"lrcorner;":8991,"lurdshar;":10570,"mapstoup;":8613,"multimap;":8888,"naturals;":8469,"ncongdot;":10861,"notindot;":8949,"otimesas;":10806,"parallel;":8741,"plusacir;":10787,"pointint;":10773,"precneqq;":10933,"precnsim;":8936,"profalar;":9006,"profline;":8978,"profsurf;":8979,"raemptyv;":10675,"realpart;":8476,"rppolint;":10770,"rtriltri;":10702,"scpolint;":10771,"setminus;":8726,"shortmid;":8739,"smeparsl;":10724,"sqsubset;":8847,"sqsupset;":8848,"subseteq;":8838,"succneqq;":10934,"succnsim;":8937,"supseteq;":8839,"thetasym;":977,"thicksim;":8764,"timesbar;":10801,"triangle;":9653,"triminus;":10810,"trpezium;":9186,"ulcorner;":8988,"urcorner;":8989,"varkappa;":1008,"varsigma;":962,"vartheta;":977,"Because;":8757,"Cayleys;":8493,"Cconint;":8752,"Cedilla;":184,"Diamond;":8900,"DownTee;":8868,"Element;":8712,"Epsilon;":917,"Implies;":8658,"LeftTee;":8867,"NewLine;":10,"NoBreak;":8288,"NotLess;":8814,"Omicron;":927,"OverBar;":8254,"Product;":8719,"UpArrow;":8593,"Uparrow;":8657,"Upsilon;":933,"alefsym;":8501,"angrtvb;":8894,"angzarr;":9084,"asympeq;":8781,"backsim;":8765,"because;":8757,"bemptyv;":10672,"between;":8812,"bigcirc;":9711,"bigodot;":10752,"bigstar;":9733,"bnequiv;":8801,"boxplus;":8862,"ccupssm;":10832,"cemptyv;":10674,"cirscir;":10690,"coloneq;":8788,"congdot;":10861,"cudarrl;":10552,"cudarrr;":10549,"cularrp;":10557,"curarrm;":10556,"dbkarow;":10511,"ddagger;":8225,"ddotseq;":10871,"demptyv;":10673,"diamond;":8900,"digamma;":989,"dotplus;":8724,"dwangle;":10662,"epsilon;":949,"eqcolon;":8789,"equivDD;":10872,"gesdoto;":10882,"gtquest;":10876,"gtrless;":8823,"harrcir;":10568,"intprod;":10812,"isindot;":8949,"larrbfs;":10527,"larrsim;":10611,"lbrksld;":10639,"lbrkslu;":10637,"ldrdhar;":10599,"lesdoto;":10881,"lessdot;":8918,"lessgtr;":8822,"lesssim;":8818,"lotimes;":10804,"lozenge;":9674,"ltquest;":10875,"luruhar;":10598,"maltese;":10016,"minusdu;":10794,"napprox;":8777,"natural;":9838,"nearrow;":8599,"nexists;":8708,"notinva;":8713,"notinvb;":8951,"notinvc;":8950,"notniva;":8716,"notnivb;":8958,"notnivc;":8957,"npolint;":10772,"npreceq;":10927,"nsqsube;":8930,"nsqsupe;":8931,"nsubset;":8834,"nsucceq;":10928,"nsupset;":8835,"nvinfin;":10718,"nvltrie;":8884,"nvrtrie;":8885,"nwarrow;":8598,"olcross;":10683,"omicron;":959,"orderof;":8500,"orslope;":10839,"pertenk;":8241,"planckh;":8462,"pluscir;":10786,"plussim;":10790,"plustwo;":10791,"precsim;":8830,"quatint;":10774,"questeq;":8799,"rarrbfs;":10528,"rarrsim;":10612,"rbrksld;":10638,"rbrkslu;":10640,"rdldhar;":10601,"realine;":8475,"rotimes;":10805,"ruluhar;":10600,"searrow;":8600,"simplus;":10788,"simrarr;":10610,"subedot;":10947,"submult;":10945,"subplus;":10943,"subrarr;":10617,"succsim;":8831,"supdsub;":10968,"supedot;":10948,"suphsol;":10185,"suphsub;":10967,"suplarr;":10619,"supmult;":10946,"supplus;":10944,"swarrow;":8601,"topfork;":10970,"triplus;":10809,"tritime;":10811,"uparrow;":8593,"upsilon;":965,"uwangle;":10663,"vzigzag;":10650,"zigrarr;":8669,"Aacute;":193,"Abreve;":258,"Agrave;":192,"Assign;":8788,"Atilde;":195,"Barwed;":8966,"Bumpeq;":8782,"Cacute;":262,"Ccaron;":268,"Ccedil;":199,"Colone;":10868,"Conint;":8751,"CupCap;":8781,"Dagger;":8225,"Dcaron;":270,"DotDot;":8412,"Dstrok;":272,"Eacute;":201,"Ecaron;":282,"Egrave;":200,"Exists;":8707,"ForAll;":8704,"Gammad;":988,"Gbreve;":286,"Gcedil;":290,"HARDcy;":1066,"Hstrok;":294,"Iacute;":205,"Igrave;":204,"Itilde;":296,"Jsercy;":1032,"Kcedil;":310,"Lacute;":313,"Lambda;":923,"Lcaron;":317,"Lcedil;":315,"Lmidot;":319,"Lstrok;":321,"Nacute;":323,"Ncaron;":327,"Ncedil;":325,"Ntilde;":209,"Oacute;":211,"Odblac;":336,"Ograve;":210,"Oslash;":216,"Otilde;":213,"Otimes;":10807,"Racute;":340,"Rarrtl;":10518,"Rcaron;":344,"Rcedil;":342,"SHCHcy;":1065,"SOFTcy;":1068,"Sacute;":346,"Scaron;":352,"Scedil;":350,"Square;":9633,"Subset;":8912,"Supset;":8913,"Tcaron;":356,"Tcedil;":354,"Tstrok;":358,"Uacute;":218,"Ubreve;":364,"Udblac;":368,"Ugrave;":217,"Utilde;":360,"Vdashl;":10982,"Verbar;":8214,"Vvdash;":8874,"Yacute;":221,"Zacute;":377,"Zcaron;":381,"aacute;":225,"abreve;":259,"agrave;":224,"andand;":10837,"angmsd;":8737,"angsph;":8738,"apacir;":10863,"approx;":8776,"atilde;":227,"barvee;":8893,"barwed;":8965,"becaus;":8757,"bernou;":8492,"bigcap;":8898,"bigcup;":8899,"bigvee;":8897,"bkarow;":10509,"bottom;":8869,"bowtie;":8904,"boxbox;":10697,"bprime;":8245,"brvbar;":166,"bullet;":8226,"bumpeq;":8783,"cacute;":263,"capand;":10820,"capcap;":10827,"capcup;":10823,"capdot;":10816,"ccaron;":269,"ccedil;":231,"circeq;":8791,"cirmid;":10991,"colone;":8788,"commat;":64,"compfn;":8728,"conint;":8750,"coprod;":8720,"copysr;":8471,"cularr;":8630,"cupcap;":10822,"cupcup;":10826,"cupdot;":8845,"curarr;":8631,"curren;":164,"cylcty;":9005,"dagger;":8224,"daleth;":8504,"dcaron;":271,"dfisht;":10623,"divide;":247,"divonx;":8903,"dlcorn;":8990,"dlcrop;":8973,"dollar;":36,"drcorn;":8991,"drcrop;":8972,"dstrok;":273,"eacute;":233,"easter;":10862,"ecaron;":283,"ecolon;":8789,"egrave;":232,"egsdot;":10904,"elsdot;":10903,"emptyv;":8709,"emsp13;":8196,"emsp14;":8197,"eparsl;":10723,"eqcirc;":8790,"equals;":61,"equest;":8799,"female;":9792,"ffilig;":64259,"ffllig;":64260,"forall;":8704,"frac12;":189,"frac13;":8531,"frac14;":188,"frac15;":8533,"frac16;":8537,"frac18;":8539,"frac23;":8532,"frac25;":8534,"frac34;":190,"frac35;":8535,"frac38;":8540,"frac45;":8536,"frac56;":8538,"frac58;":8541,"frac78;":8542,"gacute;":501,"gammad;":989,"gbreve;":287,"gesdot;":10880,"gesles;":10900,"gtlPar;":10645,"gtrarr;":10616,"gtrdot;":8919,"gtrsim;":8819,"hairsp;":8202,"hamilt;":8459,"hardcy;":1098,"hearts;":9829,"hellip;":8230,"hercon;":8889,"homtht;":8763,"horbar;":8213,"hslash;":8463,"hstrok;":295,"hybull;":8259,"hyphen;":8208,"iacute;":237,"igrave;":236,"iiiint;":10764,"iinfin;":10716,"incare;":8453,"inodot;":305,"intcal;":8890,"iquest;":191,"isinsv;":8947,"itilde;":297,"jsercy;":1112,"kappav;":1008,"kcedil;":311,"kgreen;":312,"lAtail;":10523,"lacute;":314,"lagran;":8466,"lambda;":955,"langle;":10216,"larrfs;":10525,"larrhk;":8617,"larrlp;":8619,"larrpl;":10553,"larrtl;":8610,"latail;":10521,"lbrace;":123,"lbrack;":91,"lcaron;":318,"lcedil;":316,"ldquor;":8222,"lesdot;":10879,"lesges;":10899,"lfisht;":10620,"lfloor;":8970,"lharul;":10602,"llhard;":10603,"lmidot;":320,"lmoust;":9136,"loplus;":10797,"lowast;":8727,"lowbar;":95,"lparlt;":10643,"lrhard;":10605,"lsaquo;":8249,"lsquor;":8218,"lstrok;":322,"lthree;":8907,"ltimes;":8905,"ltlarr;":10614,"ltrPar;":10646,"mapsto;":8614,"marker;":9646,"mcomma;":10793,"midast;":42,"midcir;":10992,"middot;":183,"minusb;":8863,"minusd;":8760,"mnplus;":8723,"models;":8871,"mstpos;":8766,"nVDash;":8879,"nVdash;":8878,"nacute;":324,"nbumpe;":8783,"ncaron;":328,"ncedil;":326,"nearhk;":10532,"nequiv;":8802,"nesear;":10536,"nexist;":8708,"nltrie;":8940,"notinE;":8953,"nparsl;":11005,"nprcue;":8928,"nrarrc;":10547,"nrarrw;":8605,"nrtrie;":8941,"nsccue;":8929,"nsimeq;":8772,"ntilde;":241,"numero;":8470,"nvDash;":8877,"nvHarr;":10500,"nvdash;":8876,"nvlArr;":10498,"nvrArr;":10499,"nwarhk;":10531,"nwnear;":10535,"oacute;":243,"odblac;":337,"odsold;":10684,"ograve;":242,"ominus;":8854,"origof;":8886,"oslash;":248,"otilde;":245,"otimes;":8855,"parsim;":10995,"percnt;":37,"period;":46,"permil;":8240,"phmmat;":8499,"planck;":8463,"plankv;":8463,"plusdo;":8724,"plusdu;":10789,"plusmn;":177,"preceq;":10927,"primes;":8473,"prnsim;":8936,"propto;":8733,"prurel;":8880,"puncsp;":8200,"qprime;":8279,"rAtail;":10524,"racute;":341,"rangle;":10217,"rarrap;":10613,"rarrfs;":10526,"rarrhk;":8618,"rarrlp;":8620,"rarrpl;":10565,"rarrtl;":8611,"ratail;":10522,"rbrace;":125,"rbrack;":93,"rcaron;":345,"rcedil;":343,"rdquor;":8221,"rfisht;":10621,"rfloor;":8971,"rharul;":10604,"rmoust;":9137,"roplus;":10798,"rpargt;":10644,"rsaquo;":8250,"rsquor;":8217,"rthree;":8908,"rtimes;":8906,"sacute;":347,"scaron;":353,"scedil;":351,"scnsim;":8937,"searhk;":10533,"seswar;":10537,"sfrown;":8994,"shchcy;":1097,"sigmaf;":962,"sigmav;":962,"simdot;":10858,"smashp;":10803,"softcy;":1100,"solbar;":9023,"spades;":9824,"sqcaps;":8851,"sqcups;":8852,"sqsube;":8849,"sqsupe;":8850,"square;":9633,"squarf;":9642,"ssetmn;":8726,"ssmile;":8995,"sstarf;":8902,"subdot;":10941,"subset;":8834,"subsim;":10951,"subsub;":10965,"subsup;":10963,"succeq;":10928,"supdot;":10942,"supset;":8835,"supsim;":10952,"supsub;":10964,"supsup;":10966,"swarhk;":10534,"swnwar;":10538,"target;":8982,"tcaron;":357,"tcedil;":355,"telrec;":8981,"there4;":8756,"thetav;":977,"thinsp;":8201,"thksim;":8764,"timesb;":8864,"timesd;":10800,"topbot;":9014,"topcir;":10993,"tprime;":8244,"tridot;":9708,"tstrok;":359,"uacute;":250,"ubreve;":365,"udblac;":369,"ufisht;":10622,"ugrave;":249,"ulcorn;":8988,"ulcrop;":8975,"urcorn;":8989,"urcrop;":8974,"utilde;":361,"vangrt;":10652,"varphi;":981,"varrho;":1009,"veebar;":8891,"vellip;":8942,"verbar;":124,"vsubnE;":10955,"vsubne;":8842,"vsupnE;":10956,"vsupne;":8843,"wedbar;":10847,"wedgeq;":8793,"weierp;":8472,"wreath;":8768,"xoplus;":10753,"xotime;":10754,"xsqcup;":10758,"xuplus;":10756,"xwedge;":8896,"yacute;":253,"zacute;":378,"zcaron;":382,"zeetrf;":8488,"AElig;":198,Aacute:193,"Acirc;":194,Agrave:192,"Alpha;":913,"Amacr;":256,"Aogon;":260,"Aring;":197,Atilde:195,"Breve;":728,Ccedil:199,"Ccirc;":264,"Colon;":8759,"Cross;":10799,"Dashv;":10980,"Delta;":916,Eacute:201,"Ecirc;":202,Egrave:200,"Emacr;":274,"Eogon;":280,"Equal;":10869,"Gamma;":915,"Gcirc;":284,"Hacek;":711,"Hcirc;":292,"IJlig;":306,Iacute:205,"Icirc;":206,Igrave:204,"Imacr;":298,"Iogon;":302,"Iukcy;":1030,"Jcirc;":308,"Jukcy;":1028,"Kappa;":922,Ntilde:209,"OElig;":338,Oacute:211,"Ocirc;":212,Ograve:210,"Omacr;":332,"Omega;":937,Oslash:216,Otilde:213,"Prime;":8243,"RBarr;":10512,"Scirc;":348,"Sigma;":931,"THORN;":222,"TRADE;":8482,"TSHcy;":1035,"Theta;":920,"Tilde;":8764,Uacute:218,"Ubrcy;":1038,"Ucirc;":219,Ugrave:217,"Umacr;":362,"Union;":8899,"Uogon;":370,"UpTee;":8869,"Uring;":366,"VDash;":8875,"Vdash;":8873,"Wcirc;":372,"Wedge;":8896,Yacute:221,"Ycirc;":374,aacute:225,"acirc;":226,"acute;":180,"aelig;":230,agrave:224,"aleph;":8501,"alpha;":945,"amacr;":257,"amalg;":10815,"angle;":8736,"angrt;":8735,"angst;":197,"aogon;":261,"aring;":229,"asymp;":8776,atilde:227,"awint;":10769,"bcong;":8780,"bdquo;":8222,"bepsi;":1014,"blank;":9251,"blk12;":9618,"blk14;":9617,"blk34;":9619,"block;":9608,"boxDL;":9559,"boxDR;":9556,"boxDl;":9558,"boxDr;":9555,"boxHD;":9574,"boxHU;":9577,"boxHd;":9572,"boxHu;":9575,"boxUL;":9565,"boxUR;":9562,"boxUl;":9564,"boxUr;":9561,"boxVH;":9580,"boxVL;":9571,"boxVR;":9568,"boxVh;":9579,"boxVl;":9570,"boxVr;":9567,"boxdL;":9557,"boxdR;":9554,"boxdl;":9488,"boxdr;":9484,"boxhD;":9573,"boxhU;":9576,"boxhd;":9516,"boxhu;":9524,"boxuL;":9563,"boxuR;":9560,"boxul;":9496,"boxur;":9492,"boxvH;":9578,"boxvL;":9569,"boxvR;":9566,"boxvh;":9532,"boxvl;":9508,"boxvr;":9500,"breve;":728,brvbar:166,"bsemi;":8271,"bsime;":8909,"bsolb;":10693,"bumpE;":10926,"bumpe;":8783,"caret;":8257,"caron;":711,"ccaps;":10829,ccedil:231,"ccirc;":265,"ccups;":10828,"cedil;":184,"check;":10003,"clubs;":9827,"colon;":58,"comma;":44,"crarr;":8629,"cross;":10007,"csube;":10961,"csupe;":10962,"ctdot;":8943,"cuepr;":8926,"cuesc;":8927,"cupor;":10821,curren:164,"cuvee;":8910,"cuwed;":8911,"cwint;":8753,"dashv;":8867,"dblac;":733,"ddarr;":8650,"delta;":948,"dharl;":8643,"dharr;":8642,"diams;":9830,"disin;":8946,divide:247,"doteq;":8784,"dtdot;":8945,"dtrif;":9662,"duarr;":8693,"duhar;":10607,"eDDot;":10871,eacute:233,"ecirc;":234,"efDot;":8786,egrave:232,"emacr;":275,"empty;":8709,"eogon;":281,"eplus;":10865,"epsiv;":1013,"eqsim;":8770,"equiv;":8801,"erDot;":8787,"erarr;":10609,"esdot;":8784,"exist;":8707,"fflig;":64256,"filig;":64257,"fjlig;":102,"fllig;":64258,"fltns;":9649,"forkv;":10969,frac12:189,frac14:188,frac34:190,"frasl;":8260,"frown;":8994,"gamma;":947,"gcirc;":285,"gescc;":10921,"gimel;":8503,"gneqq;":8809,"gnsim;":8935,"grave;":96,"gsime;":10894,"gsiml;":10896,"gtcir;":10874,"gtdot;":8919,"harrw;":8621,"hcirc;":293,"hoarr;":8703,iacute:237,"icirc;":238,"iexcl;":161,igrave:236,"iiint;":8749,"iiota;":8489,"ijlig;":307,"imacr;":299,"image;":8465,"imath;":305,"imped;":437,"infin;":8734,"iogon;":303,"iprod;":10812,iquest:191,"isinE;":8953,"isins;":8948,"isinv;":8712,"iukcy;":1110,"jcirc;":309,"jmath;":567,"jukcy;":1108,"kappa;":954,"lAarr;":8666,"lBarr;":10510,"langd;":10641,"laquo;":171,"larrb;":8676,"lates;":10925,"lbarr;":10508,"lbbrk;":10098,"lbrke;":10635,"lceil;":8968,"ldquo;":8220,"lescc;":10920,"lhard;":8637,"lharu;":8636,"lhblk;":9604,"llarr;":8647,"lltri;":9722,"lneqq;":8808,"lnsim;":8934,"loang;":10220,"loarr;":8701,"lobrk;":10214,"lopar;":10629,"lrarr;":8646,"lrhar;":8651,"lrtri;":8895,"lsime;":10893,"lsimg;":10895,"lsquo;":8216,"ltcir;":10873,"ltdot;":8918,"ltrie;":8884,"ltrif;":9666,"mDDot;":8762,"mdash;":8212,"micro;":181,middot:183,"minus;":8722,"mumap;":8888,"nabla;":8711,"napid;":8779,"napos;":329,"natur;":9838,"nbump;":8782,"ncong;":8775,"ndash;":8211,"neArr;":8663,"nearr;":8599,"nedot;":8784,"nesim;":8770,"ngeqq;":8807,"ngsim;":8821,"nhArr;":8654,"nharr;":8622,"nhpar;":10994,"nlArr;":8653,"nlarr;":8602,"nleqq;":8806,"nless;":8814,"nlsim;":8820,"nltri;":8938,"notin;":8713,"notni;":8716,"npart;":8706,"nprec;":8832,"nrArr;":8655,"nrarr;":8603,"nrtri;":8939,"nsime;":8772,"nsmid;":8740,"nspar;":8742,"nsubE;":10949,"nsube;":8840,"nsucc;":8833,"nsupE;":10950,"nsupe;":8841,ntilde:241,"numsp;":8199,"nvsim;":8764,"nwArr;":8662,"nwarr;":8598,oacute:243,"ocirc;":244,"odash;":8861,"oelig;":339,"ofcir;":10687,ograve:242,"ohbar;":10677,"olarr;":8634,"olcir;":10686,"oline;":8254,"omacr;":333,"omega;":969,"operp;":10681,"oplus;":8853,"orarr;":8635,"order;":8500,oslash:248,otilde:245,"ovbar;":9021,"parsl;":11005,"phone;":9742,"plusb;":8862,"pluse;":10866,plusmn:177,"pound;":163,"prcue;":8828,"prime;":8242,"prnap;":10937,"prsim;":8830,"quest;":63,"rAarr;":8667,"rBarr;":10511,"radic;":8730,"rangd;":10642,"range;":10661,"raquo;":187,"rarrb;":8677,"rarrc;":10547,"rarrw;":8605,"ratio;":8758,"rbarr;":10509,"rbbrk;":10099,"rbrke;":10636,"rceil;":8969,"rdquo;":8221,"reals;":8477,"rhard;":8641,"rharu;":8640,"rlarr;":8644,"rlhar;":8652,"rnmid;":10990,"roang;":10221,"roarr;":8702,"robrk;":10215,"ropar;":10630,"rrarr;":8649,"rsquo;":8217,"rtrie;":8885,"rtrif;":9656,"sbquo;":8218,"sccue;":8829,"scirc;":349,"scnap;":10938,"scsim;":8831,"sdotb;":8865,"sdote;":10854,"seArr;":8664,"searr;":8600,"setmn;":8726,"sharp;":9839,"sigma;":963,"simeq;":8771,"simgE;":10912,"simlE;":10911,"simne;":8774,"slarr;":8592,"smile;":8995,"smtes;":10924,"sqcap;":8851,"sqcup;":8852,"sqsub;":8847,"sqsup;":8848,"srarr;":8594,"starf;":9733,"strns;":175,"subnE;":10955,"subne;":8842,"supnE;":10956,"supne;":8843,"swArr;":8665,"swarr;":8601,"szlig;":223,"theta;":952,"thkap;":8776,"thorn;":254,"tilde;":732,"times;":215,"trade;":8482,"trisb;":10701,"tshcy;":1115,"twixt;":8812,uacute:250,"ubrcy;":1118,"ucirc;":251,"udarr;":8645,"udhar;":10606,ugrave:249,"uharl;":8639,"uharr;":8638,"uhblk;":9600,"ultri;":9720,"umacr;":363,"uogon;":371,"uplus;":8846,"upsih;":978,"uring;":367,"urtri;":9721,"utdot;":8944,"utrif;":9652,"uuarr;":8648,"vBarv;":10985,"vDash;":8872,"varpi;":982,"vdash;":8866,"veeeq;":8794,"vltri;":8882,"vnsub;":8834,"vnsup;":8835,"vprop;":8733,"vrtri;":8883,"wcirc;":373,"wedge;":8743,"xcirc;":9711,"xdtri;":9661,"xhArr;":10234,"xharr;":10231,"xlArr;":10232,"xlarr;":10229,"xodot;":10752,"xrArr;":10233,"xrarr;":10230,"xutri;":9651,yacute:253,"ycirc;":375,AElig:198,Acirc:194,"Aopf;":120120,Aring:197,"Ascr;":119964,"Auml;":196,"Barv;":10983,"Beta;":914,"Bopf;":120121,"Bscr;":8492,"CHcy;":1063,"COPY;":169,"Cdot;":266,"Copf;":8450,"Cscr;":119966,"DJcy;":1026,"DScy;":1029,"DZcy;":1039,"Darr;":8609,"Dopf;":120123,"Dscr;":119967,Ecirc:202,"Edot;":278,"Eopf;":120124,"Escr;":8496,"Esim;":10867,"Euml;":203,"Fopf;":120125,"Fscr;":8497,"GJcy;":1027,"Gdot;":288,"Gopf;":120126,"Gscr;":119970,"Hopf;":8461,"Hscr;":8459,"IEcy;":1045,"IOcy;":1025,Icirc:206,"Idot;":304,"Iopf;":120128,"Iota;":921,"Iscr;":8464,"Iuml;":207,"Jopf;":120129,"Jscr;":119973,"KHcy;":1061,"KJcy;":1036,"Kopf;":120130,"Kscr;":119974,"LJcy;":1033,"Lang;":10218,"Larr;":8606,"Lopf;":120131,"Lscr;":8466,"Mopf;":120132,"Mscr;":8499,"NJcy;":1034,"Nopf;":8469,"Nscr;":119977,Ocirc:212,"Oopf;":120134,"Oscr;":119978,"Ouml;":214,"Popf;":8473,"Pscr;":119979,"QUOT;":34,"Qopf;":8474,"Qscr;":119980,"Rang;":10219,"Rarr;":8608,"Ropf;":8477,"Rscr;":8475,"SHcy;":1064,"Sopf;":120138,"Sqrt;":8730,"Sscr;":119982,"Star;":8902,THORN:222,"TScy;":1062,"Topf;":120139,"Tscr;":119983,"Uarr;":8607,Ucirc:219,"Uopf;":120140,"Upsi;":978,"Uscr;":119984,"Uuml;":220,"Vbar;":10987,"Vert;":8214,"Vopf;":120141,"Vscr;":119985,"Wopf;":120142,"Wscr;":119986,"Xopf;":120143,"Xscr;":119987,"YAcy;":1071,"YIcy;":1031,"YUcy;":1070,"Yopf;":120144,"Yscr;":119988,"Yuml;":376,"ZHcy;":1046,"Zdot;":379,"Zeta;":918,"Zopf;":8484,"Zscr;":119989,acirc:226,acute:180,aelig:230,"andd;":10844,"andv;":10842,"ange;":10660,"aopf;":120146,"apid;":8779,"apos;":39,aring:229,"ascr;":119990,"auml;":228,"bNot;":10989,"bbrk;":9141,"beta;":946,"beth;":8502,"bnot;":8976,"bopf;":120147,"boxH;":9552,"boxV;":9553,"boxh;":9472,"boxv;":9474,"bscr;":119991,"bsim;":8765,"bsol;":92,"bull;":8226,"bump;":8782,"caps;":8745,"cdot;":267,cedil:184,"cent;":162,"chcy;":1095,"cirE;":10691,"circ;":710,"cire;":8791,"comp;":8705,"cong;":8773,"copf;":120148,"copy;":169,"cscr;":119992,"csub;":10959,"csup;":10960,"cups;":8746,"dArr;":8659,"dHar;":10597,"darr;":8595,"dash;":8208,"diam;":8900,"djcy;":1106,"dopf;":120149,"dscr;":119993,"dscy;":1109,"dsol;":10742,"dtri;":9663,"dzcy;":1119,"eDot;":8785,"ecir;":8790,ecirc:234,"edot;":279,"emsp;":8195,"ensp;":8194,"eopf;":120150,"epar;":8917,"epsi;":949,"escr;":8495,"esim;":8770,"euml;":235,"euro;":8364,"excl;":33,"flat;":9837,"fnof;":402,"fopf;":120151,"fork;":8916,"fscr;":119995,"gdot;":289,"geqq;":8807,"gesl;":8923,"gjcy;":1107,"gnap;":10890,"gneq;":10888,"gopf;":120152,"gscr;":8458,"gsim;":8819,"gtcc;":10919,"gvnE;":8809,"hArr;":8660,"half;":189,"harr;":8596,"hbar;":8463,"hopf;":120153,"hscr;":119997,icirc:238,"iecy;":1077,iexcl:161,"imof;":8887,"iocy;":1105,"iopf;":120154,"iota;":953,"iscr;":119998,"isin;":8712,"iuml;":239,"jopf;":120155,"jscr;":119999,"khcy;":1093,"kjcy;":1116,"kopf;":120156,"kscr;":12e4,"lArr;":8656,"lHar;":10594,"lang;":10216,laquo:171,"larr;":8592,"late;":10925,"lcub;":123,"ldca;":10550,"ldsh;":8626,"leqq;":8806,"lesg;":8922,"ljcy;":1113,"lnap;":10889,"lneq;":10887,"lopf;":120157,"lozf;":10731,"lpar;":40,"lscr;":120001,"lsim;":8818,"lsqb;":91,"ltcc;":10918,"ltri;":9667,"lvnE;":8808,"macr;":175,"male;":9794,"malt;":10016,micro:181,"mlcp;":10971,"mldr;":8230,"mopf;":120158,"mscr;":120002,"nGtv;":8811,"nLtv;":8810,"nang;":8736,"napE;":10864,"nbsp;":160,"ncap;":10819,"ncup;":10818,"ngeq;":8817,"nges;":10878,"ngtr;":8815,"nisd;":8954,"njcy;":1114,"nldr;":8229,"nleq;":8816,"nles;":10877,"nmid;":8740,"nopf;":120159,"npar;":8742,"npre;":10927,"nsce;":10928,"nscr;":120003,"nsim;":8769,"nsub;":8836,"nsup;":8837,"ntgl;":8825,"ntlg;":8824,"nvap;":8781,"nvge;":8805,"nvgt;":62,"nvle;":8804,"nvlt;":60,"oast;":8859,"ocir;":8858,ocirc:244,"odiv;":10808,"odot;":8857,"ogon;":731,"oint;":8750,"omid;":10678,"oopf;":120160,"opar;":10679,"ordf;":170,"ordm;":186,"oror;":10838,"oscr;":8500,"osol;":8856,"ouml;":246,"para;":182,"part;":8706,"perp;":8869,"phiv;":981,"plus;":43,"popf;":120161,pound:163,"prap;":10935,"prec;":8826,"prnE;":10933,"prod;":8719,"prop;":8733,"pscr;":120005,"qint;":10764,"qopf;":120162,"qscr;":120006,"quot;":34,"rArr;":8658,"rHar;":10596,"race;":8765,"rang;":10217,raquo:187,"rarr;":8594,"rcub;":125,"rdca;":10551,"rdsh;":8627,"real;":8476,"rect;":9645,"rhov;":1009,"ring;":730,"ropf;":120163,"rpar;":41,"rscr;":120007,"rsqb;":93,"rtri;":9657,"scap;":10936,"scnE;":10934,"sdot;":8901,"sect;":167,"semi;":59,"sext;":10038,"shcy;":1096,"sime;":8771,"simg;":10910,"siml;":10909,"smid;":8739,"smte;":10924,"solb;":10692,"sopf;":120164,"spar;":8741,"squf;":9642,"sscr;":120008,"star;":9734,"subE;":10949,"sube;":8838,"succ;":8827,"sung;":9834,"sup1;":185,"sup2;":178,"sup3;":179,"supE;":10950,"supe;":8839,szlig:223,"tbrk;":9140,"tdot;":8411,thorn:254,times:215,"tint;":8749,"toea;":10536,"topf;":120165,"tosa;":10537,"trie;":8796,"tscr;":120009,"tscy;":1094,"uArr;":8657,"uHar;":10595,"uarr;":8593,ucirc:251,"uopf;":120166,"upsi;":965,"uscr;":120010,"utri;":9653,"uuml;":252,"vArr;":8661,"vBar;":10984,"varr;":8597,"vert;":124,"vopf;":120167,"vscr;":120011,"wopf;":120168,"wscr;":120012,"xcap;":8898,"xcup;":8899,"xmap;":10236,"xnis;":8955,"xopf;":120169,"xscr;":120013,"xvee;":8897,"yacy;":1103,"yicy;":1111,"yopf;":120170,"yscr;":120014,"yucy;":1102,"yuml;":255,"zdot;":380,"zeta;":950,"zhcy;":1078,"zopf;":120171,"zscr;":120015,"zwnj;":8204,"AMP;":38,"Acy;":1040,"Afr;":120068,"And;":10835,Auml:196,"Bcy;":1041,"Bfr;":120069,COPY:169,"Cap;":8914,"Cfr;":8493,"Chi;":935,"Cup;":8915,"Dcy;":1044,"Del;":8711,"Dfr;":120071,"Dot;":168,"ENG;":330,"ETH;":208,"Ecy;":1069,"Efr;":120072,"Eta;":919,Euml:203,"Fcy;":1060,"Ffr;":120073,"Gcy;":1043,"Gfr;":120074,"Hat;":94,"Hfr;":8460,"Icy;":1048,"Ifr;":8465,"Int;":8748,Iuml:207,"Jcy;":1049,"Jfr;":120077,"Kcy;":1050,"Kfr;":120078,"Lcy;":1051,"Lfr;":120079,"Lsh;":8624,"Map;":10501,"Mcy;":1052,"Mfr;":120080,"Ncy;":1053,"Nfr;":120081,"Not;":10988,"Ocy;":1054,"Ofr;":120082,Ouml:214,"Pcy;":1055,"Pfr;":120083,"Phi;":934,"Psi;":936,QUOT:34,"Qfr;":120084,"REG;":174,"Rcy;":1056,"Rfr;":8476,"Rho;":929,"Rsh;":8625,"Scy;":1057,"Sfr;":120086,"Sub;":8912,"Sum;":8721,"Sup;":8913,"Tab;":9,"Tau;":932,"Tcy;":1058,"Tfr;":120087,"Ucy;":1059,"Ufr;":120088,Uuml:220,"Vcy;":1042,"Vee;":8897,"Vfr;":120089,"Wfr;":120090,"Xfr;":120091,"Ycy;":1067,"Yfr;":120092,"Zcy;":1047,"Zfr;":8488,"acE;":8766,"acd;":8767,"acy;":1072,"afr;":120094,"amp;":38,"and;":8743,"ang;":8736,"apE;":10864,"ape;":8778,"ast;":42,auml:228,"bcy;":1073,"bfr;":120095,"bne;":61,"bot;":8869,"cap;":8745,cent:162,"cfr;":120096,"chi;":967,"cir;":9675,copy:169,"cup;":8746,"dcy;":1076,"deg;":176,"dfr;":120097,"die;":168,"div;":247,"dot;":729,"ecy;":1101,"efr;":120098,"egs;":10902,"ell;":8467,"els;":10901,"eng;":331,"eta;":951,"eth;":240,euml:235,"fcy;":1092,"ffr;":120099,"gEl;":10892,"gap;":10886,"gcy;":1075,"gel;":8923,"geq;":8805,"ges;":10878,"gfr;":120100,"ggg;":8921,"glE;":10898,"gla;":10917,"glj;":10916,"gnE;":8809,"gne;":10888,"hfr;":120101,"icy;":1080,"iff;":8660,"ifr;":120102,"int;":8747,iuml:239,"jcy;":1081,"jfr;":120103,"kcy;":1082,"kfr;":120104,"lEg;":10891,"lap;":10885,"lat;":10923,"lcy;":1083,"leg;":8922,"leq;":8804,"les;":10877,"lfr;":120105,"lgE;":10897,"lnE;":8808,"lne;":10887,"loz;":9674,"lrm;":8206,"lsh;":8624,macr:175,"map;":8614,"mcy;":1084,"mfr;":120106,"mho;":8487,"mid;":8739,"nGg;":8921,"nGt;":8811,"nLl;":8920,"nLt;":8810,"nap;":8777,nbsp:160,"ncy;":1085,"nfr;":120107,"ngE;":8807,"nge;":8817,"ngt;":8815,"nis;":8956,"niv;":8715,"nlE;":8806,"nle;":8816,"nlt;":8814,"not;":172,"npr;":8832,"nsc;":8833,"num;":35,"ocy;":1086,"ofr;":120108,"ogt;":10689,"ohm;":937,"olt;":10688,"ord;":10845,ordf:170,ordm:186,"orv;":10843,ouml:246,"par;":8741,para:182,"pcy;":1087,"pfr;":120109,"phi;":966,"piv;":982,"prE;":10931,"pre;":10927,"psi;":968,"qfr;":120110,quot:34,"rcy;":1088,"reg;":174,"rfr;":120111,"rho;":961,"rlm;":8207,"rsh;":8625,"scE;":10932,"sce;":10928,"scy;":1089,sect:167,"sfr;":120112,"shy;":173,"sim;":8764,"smt;":10922,"sol;":47,"squ;":9633,"sub;":8834,"sum;":8721,sup1:185,sup2:178,sup3:179,"sup;":8835,"tau;":964,"tcy;":1090,"tfr;":120113,"top;":8868,"ucy;":1091,"ufr;":120114,"uml;":168,uuml:252,"vcy;":1074,"vee;":8744,"vfr;":120115,"wfr;":120116,"xfr;":120117,"ycy;":1099,"yen;":165,"yfr;":120118,yuml:255,"zcy;":1079,"zfr;":120119,"zwj;":8205,AMP:38,"DD;":8517,ETH:208,"GT;":62,"Gg;":8921,"Gt;":8811,"Im;":8465,"LT;":60,"Ll;":8920,"Lt;":8810,"Mu;":924,"Nu;":925,"Or;":10836,"Pi;":928,"Pr;":10939,REG:174,"Re;":8476,"Sc;":10940,"Xi;":926,"ac;":8766,"af;":8289,amp:38,"ap;":8776,"dd;":8518,deg:176,"ee;":8519,"eg;":10906,"el;":10905,eth:240,"gE;":8807,"ge;":8805,"gg;":8811,"gl;":8823,"gt;":62,"ic;":8291,"ii;":8520,"in;":8712,"it;":8290,"lE;":8806,"le;":8804,"lg;":8822,"ll;":8810,"lt;":60,"mp;":8723,"mu;":956,"ne;":8800,"ni;":8715,not:172,"nu;":957,"oS;":9416,"or;":8744,"pi;":960,"pm;":177,"pr;":8826,reg:174,"rx;":8478,"sc;":8827,shy:173,uml:168,"wp;":8472,"wr;":8768,"xi;":958,yen:165,GT:62,LT:60,gt:62,lt:60};const windows_1252=[8364,129,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,141,381,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,157,382,376];function reg_exp_entity(eA,AA){return AA&&!eA.endsWith(";")?`${eA}\\b(?!=)`:eA}function get_entity_pattern(eA){const AA="#(?:x[a-fA-F\\d]+|\\d+)(?:;)?",tA=Object.keys(entities).map(iA=>reg_exp_entity(iA,eA));return new RegExp(`&(${AA}|${tA.join("|")})`,"g")}const entity_pattern_content=get_entity_pattern(!1),entity_pattern_attr_value=get_entity_pattern(!0);function decode_character_references(eA,AA){const tA=AA?entity_pattern_attr_value:entity_pattern_content;return eA.replace(tA,(gA,iA)=>{let IA;return iA[0]!=="#"?IA=entities[iA]:iA[1]==="x"?IA=parseInt(iA.substring(2),16):IA=parseInt(iA.substring(1),10),IA?String.fromCodePoint(validate_code(IA)):gA})}const NUL=0;function validate_code(eA){return eA===10?32:eA<128?eA:eA<=159?windows_1252[eA-128]:eA<55296?eA:eA<=57343?NUL:eA<=65535||eA>=65536&&eA<=131071||eA>=131072&&eA<=196607?eA:NUL}function create_fragment(eA=!1){return{type:"Fragment",nodes:[],metadata:{transparent:eA,dynamic:!1}}}const element_nodes=["SvelteElement","RegularElement","SvelteFragment","Component","SvelteComponent","SvelteSelf","SlotElement"];function is_element_node(eA){return element_nodes.includes(eA.type)}function is_custom_element_node(eA){return eA.type==="RegularElement"&&eA.name.includes("-")}function create_attribute(eA,AA,tA,gA){return{type:"Attribute",start:AA,end:tA,name:eA,value:gA,parent:null,metadata:{expression:create_expression_metadata(),delegated:null}}}function create_expression_metadata(){return{dependencies:new Set,has_state:!1,has_call:!1}}const autoclosing_children={li:{direct:["li"]},dt:{descendant:["dt","dd"],reset_by:["dl"]},dd:{descendant:["dt","dd"],reset_by:["dl"]},p:{descendant:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","menu","nav","ol","p","pre","section","table","ul"]},rt:{descendant:["rt","rp"]},rp:{descendant:["rt","rp"]},optgroup:{descendant:["optgroup"]},option:{descendant:["option","optgroup"]},thead:{direct:["tbody","tfoot"]},tbody:{direct:["tbody","tfoot"]},tfoot:{direct:["tbody"]},tr:{direct:["tr","tbody"]},td:{direct:["td","th","tr"]},th:{direct:["td","th","tr"]}};function closing_tag_omitted(eA,AA){const tA=autoclosing_children[eA];return!!(tA&&(!AA||("direct"in tA?tA.direct:tA.descendant).includes(AA)))}const disallowed_children={...autoclosing_children,optgroup:{only:["option","#text"]},option:{only:["#text"]},form:{descendant:["form"]},a:{descendant:["a"]},button:{descendant:["button"]},h1:{descendant:["h1","h2","h3","h4","h5","h6"]},h2:{descendant:["h1","h2","h3","h4","h5","h6"]},h3:{descendant:["h1","h2","h3","h4","h5","h6"]},h4:{descendant:["h1","h2","h3","h4","h5","h6"]},h5:{descendant:["h1","h2","h3","h4","h5","h6"]},h6:{descendant:["h1","h2","h3","h4","h5","h6"]},select:{only:["option","optgroup","#text","hr","script","template"]},tr:{only:["th","td","style","script","template"]},tbody:{only:["tr","style","script","template"]},thead:{only:["tr","style","script","template"]},tfoot:{only:["tr","style","script","template"]},colgroup:{only:["col","template"]},table:{only:["caption","colgroup","tbody","thead","tfoot","style","script","template"]},head:{only:["base","basefont","bgsound","link","meta","title","noscript","noframes","style","script","template"]},html:{only:["head","body","frameset"]},frameset:{only:["frame"]},"#document":{only:["html"]}};function is_tag_valid_with_ancestor(eA,AA){if(eA.includes("-"))return!0;const tA=AA[AA.length-1],gA=disallowed_children[tA];if(!gA)return!0;if("reset_by"in gA&&gA.reset_by){for(let iA=AA.length-2;iA>=0;iA--)if(AA[iA].includes("-")||gA.reset_by.includes(AA[iA]))return!0}return"descendant"in gA?!gA.descendant.includes(eA):!0}function is_tag_valid_with_parent(eA,AA){if(eA.includes("-")||AA!=null&&AA.includes("-"))return!0;if(AA!==null){const tA=disallowed_children[AA];if(tA){if("direct"in tA&&tA.direct.includes(eA)||"descendant"in tA&&tA.descendant.includes(eA))return!1;if("only"in tA&&tA.only)return tA.only.includes(eA)}}switch(eA){case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return!1}return!0}function list$1(eA,AA="or"){return eA.length===1?eA[0]:eA.length===2?`${eA[0]} ${AA} ${eA[1]}`:`${eA.slice(0,-1).join(", ")} ${AA} ${eA[eA.length-1]}`}const regex_invalid_unquoted_attribute_value=/^(\/>|[\s"'=<>`])/,regex_closing_textarea_tag=/^<\/textarea(\s[^>]*)?>/i,regex_closing_comment=/-->/,regex_whitespace_or_slash_or_closing_tag=/(\s|\/|>)/,regex_token_ending_character=/[\s=/>"']/,regex_starts_with_quote_characters=/^["']/,regex_attribute_value=/^(?:"([^"]*)"|'([^'])*'|([^>\s]+))/,regex_valid_element_name=/^(?:![a-zA-Z]+|[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?|[a-zA-Z][a-zA-Z0-9]*:[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9])$/,regex_valid_component_name=new RegExp("^(?:\\p{Lu}[$\\u200c\\u200d\\p{ID_Continue}.]*|\\p{ID_Start}[$\\u200c\\u200d\\p{ID_Continue}]*(?:\\.[$\\u200c\\u200d\\p{ID_Continue}]+)+)$","u"),root_only_meta_tags=new Map([["svelte:head","SvelteHead"],["svelte:options","SvelteOptions"],["svelte:window","SvelteWindow"],["svelte:document","SvelteDocument"],["svelte:body","SvelteBody"]]),meta_tags=new Map([...root_only_meta_tags,["svelte:element","SvelteElement"],["svelte:component","SvelteComponent"],["svelte:self","SvelteSelf"],["svelte:fragment","SvelteFragment"]]);function element(eA){const AA=eA.index++;let tA=eA.current();if(eA.eat("!--")){const lA=eA.read_until(regex_closing_comment);eA.eat("-->",!0),eA.append({type:"Comment",start:AA,end:eA.index,data:lA});return}const gA=eA.eat("/"),iA=eA.read_until(regex_whitespace_or_slash_or_closing_tag);if(gA){for(eA.allow_whitespace(),eA.eat(">",!0),is_void(iA)&&void_element_invalid_content(AA);tA.name!==iA;)tA.type!=="RegularElement"&&(eA.last_auto_closed_tag&&eA.last_auto_closed_tag.tag===iA?element_invalid_closing_tag_autoclosed(AA,iA,eA.last_auto_closed_tag.reason):element_invalid_closing_tag(AA,iA)),tA.end=AA,eA.pop(),tA=eA.current();tA.end=eA.index,eA.pop(),eA.last_auto_closed_tag&&eA.stack.length<eA.last_auto_closed_tag.depth&&(eA.last_auto_closed_tag=void 0);return}if(iA.startsWith("svelte:")&&!meta_tags.has(iA)){const lA={start:AA+1,end:AA+1+iA.length};svelte_meta_invalid_tag(lA,list$1(Array.from(meta_tags.keys())))}if(!regex_valid_element_name.test(iA)&&!regex_valid_component_name.test(iA)){const lA={start:AA+1,end:AA+1+iA.length};tag_invalid_name(lA)}root_only_meta_tags.has(iA)&&(iA in eA.meta_tags&&svelte_meta_duplicate(AA,iA),tA.type!=="Root"&&svelte_meta_invalid_placement(AA,iA),eA.meta_tags[iA]=!0);const IA=meta_tags.has(iA)?meta_tags.get(iA):regex_valid_component_name.test(iA)?"Component":iA==="title"&&parent_is_head(eA.stack)?"TitleElement":iA==="slot"&&!parent_is_shadowroot_template(eA.stack)?"SlotElement":"RegularElement",BA=IA==="RegularElement"?{type:IA,start:AA,end:-1,name:iA,attributes:[],fragment:create_fragment(!0),metadata:{svg:!1,mathml:!1,scoped:!1,has_spread:!1,path:[]},parent:null}:{type:IA,start:AA,end:-1,name:iA,attributes:[],fragment:create_fragment(!0),parent:null,metadata:{}};eA.allow_whitespace(),tA.type==="RegularElement"&&closing_tag_omitted(tA.name,iA)&&(tA.end=AA,eA.pop(),eA.last_auto_closed_tag={tag:tA.name,reason:iA,depth:eA.stack.length});const sA=[],CA=eA.current(),oA=(iA==="script"||iA==="style")&&CA.type==="Root",QA=oA?read_static_attribute:read_attribute;let EA;for(;EA=QA(eA);){if(EA.type==="Attribute"||EA.type==="BindDirective"||EA.type==="StyleDirective"||EA.type==="ClassDirective"){const lA=EA.type==="BindDirective"?"Attribute":EA.type;sA.includes(lA+EA.name)?attribute_duplicate(EA):EA.name!=="this"&&sA.push(lA+EA.name)}BA.attributes.push(EA),eA.allow_whitespace()}if(BA.type==="SvelteComponent"){const lA=BA.attributes.findIndex(cA=>cA.type==="Attribute"&&cA.name==="this");lA===-1&&svelte_component_missing_this(AA);const uA=BA.attributes.splice(lA,1)[0];is_expression_attribute(uA)||svelte_component_invalid_this(uA.start),BA.expression=get_attribute_expression(uA)}if(BA.type==="SvelteElement"){const lA=BA.attributes.findIndex(cA=>cA.type==="Attribute"&&cA.name==="this");lA===-1&&svelte_element_missing_this(AA);const uA=BA.attributes.splice(lA,1)[0];if(uA.value===!0&&svelte_element_missing_this(uA),is_expression_attribute(uA))BA.tag=get_attribute_expression(uA);else{svelte_element_invalid_this(uA);const cA=uA.value[0];BA.tag=cA.type==="Text"?{type:"Literal",value:cA.data,raw:`'${cA.raw}'`,start:cA.start,end:cA.end}:cA.expression}}if(oA){eA.eat(">",!0);let lA=null;for(let uA=CA.fragment.nodes.length-1;uA>=0;uA--){const cA=CA.fragment.nodes[uA];if(uA===CA.fragment.nodes.length-1&&cA.end!==AA)break;if(cA.type==="Comment"){lA=cA;break}else if(cA.type!=="Text"||cA.data.trim())break}if(iA==="script"){const uA=read_script(eA,AA,BA.attributes);lA&&(uA.content.leadingComments=[{type:"Line",value:lA.data}]),uA.context==="module"?(CA.module&&script_duplicate(AA),CA.module=uA):(CA.instance&&script_duplicate(AA),CA.instance=uA)}else{const uA=read_style(eA,AA,BA.attributes);uA.content.comment=lA,CA.css&&style_duplicate(AA),CA.css=uA}return}eA.append(BA);const rA=eA.eat("/")||is_void(iA);if(eA.eat(">",!0),rA)BA.end=eA.index;else if(iA==="textarea")BA.fragment.nodes=read_sequence(eA,()=>regex_closing_textarea_tag.test(eA.template.slice(eA.index)),"inside <textarea>"),eA.read(regex_closing_textarea_tag),BA.end=eA.index;else if(iA==="script"||iA==="style"){const lA=eA.index,uA=eA.read_until(new RegExp(`</${iA}>`)),cA=eA.index,hA={start:lA,end:cA,type:"Text",data:uA,raw:uA,parent:null};BA.fragment.nodes.push(hA),eA.eat(`</${iA}>`,!0),BA.end=eA.index}else eA.stack.push(BA),eA.fragments.push(BA.fragment)}function parent_is_head(eA){let AA=eA.length;for(;AA--;){const{type:tA}=eA[AA];if(tA==="SvelteHead")return!0;if(tA==="RegularElement"||tA==="Component")return!1}return!1}function parent_is_shadowroot_template(eA){let AA=eA.length;for(;AA--;)if(eA[AA].type==="RegularElement"&&eA[AA].attributes.some(tA=>tA.type==="Attribute"&&tA.name==="shadowrootmode"))return!0;return!1}function read_static_attribute(eA){const AA=eA.index,tA=eA.read_until(regex_token_ending_character);if(!tA)return null;let gA=!0;if(eA.eat("=")){eA.allow_whitespace();let iA=eA.match_regex(regex_attribute_value);iA||expected_attribute_value(eA.index),eA.index+=iA.length;const IA=iA[0]==='"'||iA[0]==="'";IA&&(iA=iA.slice(1,-1)),gA=[{start:eA.index-iA.length-(IA?1:0),end:IA?eA.index-1:eA.index,type:"Text",raw:iA,data:decode_character_references(iA,!0),parent:null}]}return eA.match_regex(regex_starts_with_quote_characters)&&expected_token(eA.index,"="),create_attribute(tA,AA,eA.index,gA)}function read_attribute(eA){const AA=eA.index;if(eA.eat("{"))if(eA.allow_whitespace(),eA.eat("...")){const sA=read_expression(eA);return eA.allow_whitespace(),eA.eat("}",!0),{type:"SpreadAttribute",start:AA,end:eA.index,expression:sA,parent:null,metadata:{expression:create_expression_metadata()}}}else{const sA=eA.index,CA=eA.read_identifier();CA===null&&attribute_empty_shorthand(AA),eA.allow_whitespace(),eA.eat("}",!0);const oA={type:"ExpressionTag",start:sA,end:sA+CA.length,expression:{start:sA,end:sA+CA.length,type:"Identifier",name:CA},parent:null,metadata:{expression:create_expression_metadata()}};return create_attribute(CA,AA,eA.index,oA)}const tA=eA.read_until(regex_token_ending_character);if(!tA)return null;let gA=eA.index;eA.allow_whitespace();const iA=tA.indexOf(":"),IA=iA!==-1&&get_directive_type(tA.slice(0,iA));let BA=!0;if(eA.eat("=")?(eA.allow_whitespace(),BA=read_attribute_value(eA),gA=eA.index):eA.match_regex(regex_starts_with_quote_characters)&&expected_token(eA.index,"="),IA){const[sA,...CA]=tA.slice(iA+1).split("|");if(sA===""&&directive_missing_name({start:AA,end:AA+iA+1},tA),IA==="StyleDirective")return{start:AA,end:gA,type:IA,name:sA,modifiers:CA,value:BA,parent:null,metadata:{expression:create_expression_metadata()}};const oA=BA===!0?void 0:Array.isArray(BA)?BA[0]:BA;let QA=null;oA&&(BA.length>1||oA.type==="Text"?directive_invalid_value(oA.start):QA=oA.expression);const EA={start:AA,end:gA,type:IA,name:sA,modifiers:CA,expression:QA,metadata:{expression:create_expression_metadata()}};if(EA.type==="TransitionDirective"){const rA=tA.slice(0,iA);EA.intro=rA==="in"||rA==="transition",EA.outro=rA==="out"||rA==="transition"}return(EA.type==="BindDirective"||EA.type==="ClassDirective")&&!EA.expression&&(EA.expression={start:AA+iA+1,end:gA,type:"Identifier",name:EA.name}),EA}return create_attribute(tA,AA,gA,BA)}function get_directive_type(eA){return eA==="use"?"UseDirective":eA==="animate"?"AnimateDirective":eA==="bind"?"BindDirective":eA==="class"?"ClassDirective":eA==="style"?"StyleDirective":eA==="on"?"OnDirective":eA==="let"?"LetDirective":eA==="in"||eA==="out"||eA==="transition"?"TransitionDirective":!1}function read_attribute_value(eA){var gA;const AA=eA.eat("'")?"'":eA.eat('"')?'"':null;if(AA&&eA.eat(AA))return[{start:eA.index-1,end:eA.index-1,type:"Text",raw:"",data:"",parent:null}];let tA;try{tA=read_sequence(eA,()=>AA?eA.match(AA):!!eA.match_regex(regex_invalid_unquoted_attribute_value),"in attribute value")}catch(iA){if(iA.code==="js_parse_error"){const IA=(gA=iA.position)==null?void 0:gA[0];IA!==void 0&&eA.template.slice(IA-1,IA+1)==="/>"&&(eA.index=IA,expected_token(IA,AA||"}"))}throw iA}return tA.length===0&&!AA&&expected_attribute_value(eA.index),AA&&(eA.index+=1),AA||tA.length>1||tA[0].type==="Text"?tA:tA[0]}function read_sequence(eA,AA,tA){let gA={start:eA.index,end:-1,type:"Text",raw:"",data:"",parent:null};const iA=[];function IA(BA){gA.raw&&(gA.data=decode_character_references(gA.raw,!0),gA.end=BA,iA.push(gA))}for(;eA.index<eA.template.length;){const BA=eA.index;if(AA())return IA(eA.index),iA;if(eA.eat("{")){if(eA.match("#")){const oA=eA.index-1;eA.eat("#");const QA=eA.read_until(/[^a-z]/);block_invalid_placement(oA,QA,tA)}else if(eA.match("@")){const oA=eA.index-1;eA.eat("@");const QA=eA.read_until(/[^a-z]/);tag_invalid_placement(oA,QA,tA)}IA(eA.index-1),eA.allow_whitespace();const sA=read_expression(eA);eA.allow_whitespace(),eA.eat("}",!0);const CA={type:"ExpressionTag",start:BA,end:eA.index,expression:sA,parent:null,metadata:{expression:create_expression_metadata()}};iA.push(CA),gA={start:eA.index,end:-1,type:"Text",raw:"",data:"",parent:null}}else gA.raw+=eA.template[eA.index++]}unexpected_eof(eA.template.length)}function full_char_code_at(eA,AA){const tA=eA.charCodeAt(AA);if(tA<=55295||tA>=57344)return tA;const gA=eA.charCodeAt(AA+1);return(tA<<10)+gA-56613888}const SQUARE_BRACKET_OPEN=91,SQUARE_BRACKET_CLOSE=93,CURLY_BRACKET_OPEN=123,CURLY_BRACKET_CLOSE=125;function is_bracket_open(eA){return eA===SQUARE_BRACKET_OPEN||eA===CURLY_BRACKET_OPEN}function is_bracket_close(eA){return eA===SQUARE_BRACKET_CLOSE||eA===CURLY_BRACKET_CLOSE}function is_bracket_pair(eA,AA){return eA===SQUARE_BRACKET_OPEN&&AA===SQUARE_BRACKET_CLOSE||eA===CURLY_BRACKET_OPEN&&AA===CURLY_BRACKET_CLOSE}function get_bracket_close(eA){if(eA===SQUARE_BRACKET_OPEN)return SQUARE_BRACKET_CLOSE;if(eA===CURLY_BRACKET_OPEN)return CURLY_BRACKET_CLOSE}function read_pattern(eA){const AA=eA.index;let tA=eA.index;const gA=full_char_code_at(eA.template,tA);if(isIdentifierStart(gA,!0)){const BA=eA.read_identifier(),sA=read_type_annotation(eA);return{type:"Identifier",name:BA,start:AA,loc:{start:locator(AA),end:locator(eA.index)},end:eA.index,typeAnnotation:sA}}is_bracket_open(gA)||expected_pattern(tA);const iA=[gA];for(tA+=gA<=65535?1:2;tA<eA.template.length;){const BA=full_char_code_at(eA.template,tA);if(is_bracket_open(BA))iA.push(BA);else if(is_bracket_close(BA)){const sA=iA.pop();if(is_bracket_pair(sA,BA)||expected_token(tA,String.fromCharCode(get_bracket_close(sA))),iA.length===0){tA+=BA<=65535?1:2;break}}tA+=BA<=65535?1:2}eA.index=tA;const IA=eA.template.slice(AA,tA);try{let BA=eA.template.slice(0,AA).replace(regex_not_newline_characters," ");const sA=BA.indexOf(" ");BA=BA.slice(0,sA)+BA.slice(sA+1);const CA=parse_expression_at(`${BA}(${IA} = 1)`,eA.ts,AA-1).left;return CA.typeAnnotation=read_type_annotation(eA),CA.typeAnnotation&&(CA.end=CA.typeAnnotation.end),CA}catch(BA){eA.acorn_error(BA)}}function read_type_annotation(eA){const AA=eA.index;if(eA.allow_whitespace(),!eA.eat(":")){eA.index=AA;return}const tA="_ as ";let gA=eA.index-tA.length;const iA=eA.template.slice(0,gA).replace(/[^\n]/g," ")+tA+eA.template.slice(eA.index).replace(/\?\s*:/g,":");let IA=parse_expression_at(iA,eA.ts,gA);if(IA.type==="AssignmentExpression"){let BA=IA.right.start;for(;iA[BA]!=="=";)BA-=1;IA=parse_expression_at(iA.slice(0,BA),eA.ts,gA)}return IA.type==="SequenceExpression"&&(IA=IA.expressions[0]),eA.index=IA.end,{type:"TSTypeAnnotation",start:AA,end:eA.index,typeAnnotation:IA.typeAnnotation}}const regex_whitespace_with_closing_curly_brace=/^\s*}/;function tag(eA){const AA=eA.index;if(eA.index+=1,eA.allow_whitespace(),eA.eat("#"))return open(eA);if(eA.eat(":"))return next(eA);if(eA.eat("@"))return special(eA);if(eA.match("/")&&!eA.match("/*")&&!eA.match("//"))return eA.eat("/"),close(eA);const tA=read_expression(eA);eA.allow_whitespace(),eA.eat("}",!0),eA.append({type:"ExpressionTag",start:AA,end:eA.index,expression:tA,metadata:{expression:create_expression_metadata()}})}function open(eA){let AA=eA.index-2;for(;eA.template[AA]!=="{";)AA-=1;if(eA.eat("if")){eA.require_whitespace();const tA=eA.append({type:"IfBlock",elseif:!1,start:AA,end:-1,test:read_expression(eA),consequent:create_fragment(),alternate:null});eA.allow_whitespace(),eA.eat("}",!0),eA.stack.push(tA),eA.fragments.push(tA.consequent);return}if(eA.eat("each")){eA.require_whitespace();const tA=eA.template;let gA=eA.template.length,iA;for(;!iA;)try{iA=read_expression(eA)}catch(oA){for(gA=oA.position[0]-2;gA>AA&&eA.template.slice(gA,gA+2)!=="as";)gA-=1;if(gA<=AA)throw oA;eA.template=tA.slice(0,gA)}if(eA.template=tA,eA.allow_whitespace(),!eA.match("as")){iA.type==="SequenceExpression"&&(iA=iA.expressions[0]);let oA=null,QA=iA.end;if(iA=walk(iA,null,{TSAsExpression(EA,rA){if(EA.end===iA.end)return oA=EA,QA=EA.expression.end,EA.expression;rA.next()}}),iA.end=QA,oA){let EA=oA.typeAnnotation.start-2;for(;eA.template.slice(EA,EA+2)!=="as";)EA-=1;eA.index=EA}}eA.eat("as",!0),eA.require_whitespace();const IA=read_pattern(eA);eA.allow_whitespace();let BA,sA;eA.eat(",")&&(eA.allow_whitespace(),BA=eA.read_identifier(),BA||expected_identifier(eA.index),eA.allow_whitespace()),eA.eat("(")&&(eA.allow_whitespace(),sA=read_expression(eA),eA.allow_whitespace(),eA.eat(")",!0),eA.allow_whitespace()),eA.eat("}",!0);const CA=eA.append({type:"EachBlock",start:AA,end:-1,expression:iA,body:create_fragment(),context:IA,index:BA,key:sA,metadata:null});eA.stack.push(CA),eA.fragments.push(CA.body);return}if(eA.eat("await")){eA.require_whitespace();const tA=read_expression(eA);eA.allow_whitespace();const gA=eA.append({type:"AwaitBlock",start:AA,end:-1,expression:tA,value:null,error:null,pending:null,then:null,catch:null});eA.eat("then")?(eA.match_regex(regex_whitespace_with_closing_curly_brace)||(eA.require_whitespace(),gA.value=read_pattern(eA)),eA.allow_whitespace(),gA.then=create_fragment(),eA.fragments.push(gA.then)):eA.eat("catch")?(eA.match_regex(regex_whitespace_with_closing_curly_brace)||(eA.require_whitespace(),gA.error=read_pattern(eA)),eA.allow_whitespace(),gA.catch=create_fragment(),eA.fragments.push(gA.catch)):(gA.pending=create_fragment(),eA.fragments.push(gA.pending)),eA.eat("}",!0),eA.stack.push(gA);return}if(eA.eat("key")){eA.require_whitespace();const tA=read_expression(eA);eA.allow_whitespace(),eA.eat("}",!0);const gA=eA.append({type:"KeyBlock",start:AA,end:-1,expression:tA,fragment:create_fragment()});eA.stack.push(gA),eA.fragments.push(gA.fragment);return}if(eA.eat("snippet")){eA.require_whitespace();const tA=eA.index,gA=eA.read_identifier(),iA=eA.index;gA===null&&expected_identifier(eA.index),eA.allow_whitespace();const IA=eA.index;eA.eat("(",!0);let BA=1;for(;eA.index<eA.template.length&&(!eA.match(")")||BA!==1);)eA.match("(")&&BA++,eA.match(")")&&BA--,eA.index+=1;eA.eat(")",!0);const sA=eA.template.slice(0,IA).replace(/\S/g," "),CA=eA.template.slice(IA,eA.index);let oA=parse_expression_at(sA+`${CA} => {}`,eA.ts,IA);eA.allow_whitespace(),eA.eat("}",!0);const QA=eA.append({type:"SnippetBlock",start:AA,end:-1,expression:{type:"Identifier",start:tA,end:iA,name:gA},parameters:oA.params,body:create_fragment()});eA.stack.push(QA),eA.fragments.push(QA.body);return}expected_block_type(eA.index)}function next(eA){const AA=eA.index-1,tA=eA.current();if(tA.type==="IfBlock"){if(eA.eat("else")||expected_token(AA,"{:else} or {:else if}"),eA.eat("if")&&block_invalid_elseif(AA),eA.allow_whitespace(),eA.fragments.pop(),tA.alternate=create_fragment(),eA.fragments.push(tA.alternate),eA.eat("if")){eA.require_whitespace();const gA=read_expression(eA);eA.allow_whitespace(),eA.eat("}",!0);let iA=AA-1;for(;eA.template[iA]!=="{";)iA-=1;const IA=eA.append({start:iA,end:-1,type:"IfBlock",elseif:!0,test:gA,consequent:create_fragment(),alternate:null});eA.stack.push(IA),eA.fragments.pop(),eA.fragments.push(IA.consequent)}else eA.allow_whitespace(),eA.eat("}",!0);return}if(tA.type==="EachBlock"){eA.eat("else")||expected_token(AA,"{:else}"),eA.allow_whitespace(),eA.eat("}",!0),tA.fallback=create_fragment(),eA.fragments.pop(),eA.fragments.push(tA.fallback);return}if(tA.type==="AwaitBlock"){if(eA.eat("then")){tA.then&&block_duplicate_clause(AA,"{:then}"),eA.eat("}")||(eA.require_whitespace(),tA.value=read_pattern(eA),eA.allow_whitespace(),eA.eat("}",!0)),tA.then=create_fragment(),eA.fragments.pop(),eA.fragments.push(tA.then);return}if(eA.eat("catch")){tA.catch&&block_duplicate_clause(AA,"{:catch}"),eA.eat("}")||(eA.require_whitespace(),tA.error=read_pattern(eA),eA.allow_whitespace(),eA.eat("}",!0)),tA.catch=create_fragment(),eA.fragments.pop(),eA.fragments.push(tA.catch);return}expected_token(AA,"{:then ...} or {:catch ...}")}block_invalid_continuation_placement(AA)}function close(eA){const AA=eA.index-1;let tA=eA.current();switch(tA.type){case"IfBlock":for(eA.eat("if",!0),eA.allow_whitespace(),eA.eat("}",!0);tA.elseif;)tA.end=eA.index,eA.stack.pop(),tA=eA.current();tA.end=eA.index,eA.pop();return;case"EachBlock":eA.eat("each",!0);break;case"KeyBlock":eA.eat("key",!0);break;case"AwaitBlock":eA.eat("await",!0);break;case"SnippetBlock":eA.eat("snippet",!0);break;case"RegularElement":block_unexpected_close(AA);break;default:block_unexpected_close(AA)}eA.allow_whitespace(),eA.eat("}",!0),tA.end=eA.index,eA.pop()}function special(eA){let AA=eA.index;for(;eA.template[AA]!=="{";)AA-=1;if(eA.eat("html")){eA.require_whitespace();const tA=read_expression(eA);eA.allow_whitespace(),eA.eat("}",!0),eA.append({type:"HtmlTag",start:AA,end:eA.index,expression:tA});return}if(eA.eat("debug")){let tA;if(eA.read(regex_whitespace_with_closing_curly_brace))tA=[];else{const gA=read_expression(eA);tA=gA.type==="SequenceExpression"?gA.expressions:[gA],tA.forEach(iA=>{iA.type!=="Identifier"&&debug_tag_invalid_arguments(iA.start)}),eA.allow_whitespace(),eA.eat("}",!0)}eA.append({type:"DebugTag",start:AA,end:eA.index,identifiers:tA});return}if(eA.eat("const")){eA.require_whitespace();const tA=read_pattern(eA);eA.allow_whitespace(),eA.eat("=",!0),eA.allow_whitespace();const gA=eA.index,iA=read_expression(eA);iA.type==="SequenceExpression"&&!eA.template.substring(gA,iA.start).includes("(")&&const_tag_invalid_expression(iA),eA.allow_whitespace(),eA.eat("}",!0),eA.append({type:"ConstTag",start:AA,end:eA.index,declaration:{type:"VariableDeclaration",kind:"const",declarations:[{type:"VariableDeclarator",id:tA,init:iA,start:tA.start,end:iA.end}],start:AA+2,end:eA.index-1}})}if(eA.eat("render")){eA.require_whitespace();const tA=read_expression(eA);tA.type!=="CallExpression"&&(tA.type!=="ChainExpression"||tA.expression.type!=="CallExpression")&&render_tag_invalid_expression(tA),eA.allow_whitespace(),eA.eat("}",!0),eA.append({type:"RenderTag",start:AA,end:eA.index,expression:tA,metadata:{dynamic:!1,args_with_call_expression:new Set}})}}function text(eA){const AA=eA.index;let tA="";for(;eA.index<eA.template.length&&!eA.match("<")&&!eA.match("{");)tA+=eA.template[eA.index++];eA.append({type:"Text",start:AA,end:eA.index,raw:tA,data:decode_character_references(tA,!1)})}function fragment(eA){return eA.match("<")?element:eA.match("{")?tag:text}function read_options(eA){var tA,gA,iA,IA;const AA={start:eA.start,end:eA.end,attributes:eA.attributes};if(!eA)return AA;for(const BA of eA.attributes){BA.type!=="Attribute"&&svelte_options_invalid_attribute(BA);const{name:sA}=BA;switch(sA){case"runes":{AA.runes=get_boolean_value(BA);break}case"tag":{svelte_options_deprecated_tag(BA);break}case"customElement":{const CA={},{value:oA}=BA,QA=oA===!0||Array.isArray(oA)?oA:[oA];if(QA===!0)svelte_options_invalid_customelement(BA);else if(QA[0].type==="Text"){const hA=get_static_value$1(BA);validate_tag(BA,hA),CA.tag=hA,AA.customElement=CA;break}else if(QA[0].expression.type!=="ObjectExpression"){if(QA[0].expression.type==="Literal"&&QA[0].expression.value===null)break;svelte_options_invalid_customelement(BA)}const EA=[];for(const hA of QA[0].expression.properties)(hA.type!=="Property"||hA.computed||hA.key.type!=="Identifier")&&svelte_options_invalid_customelement(BA),EA.push([hA.key.name,hA.value]);const rA=EA.find(([hA])=>hA==="tag");if(rA){const hA=(tA=rA[1])==null?void 0:tA.value;validate_tag(rA,hA),CA.tag=hA}const lA=(gA=EA.find(([hA])=>hA==="props"))==null?void 0:gA[1];if(lA){lA.type!=="ObjectExpression"&&svelte_options_invalid_customelement_props(BA),CA.props={};for(const hA of lA.properties){(hA.type!=="Property"||hA.computed||hA.key.type!=="Identifier"||hA.value.type!=="ObjectExpression")&&svelte_options_invalid_customelement_props(BA),CA.props[hA.key.name]={};for(const dA of hA.value.properties)(dA.type!=="Property"||dA.computed||dA.key.type!=="Identifier"||dA.value.type!=="Literal")&&svelte_options_invalid_customelement_props(BA),dA.key.name==="type"?(["String","Number","Boolean","Array","Object"].indexOf(dA.value.value)===-1&&svelte_options_invalid_customelement_props(BA),CA.props[hA.key.name].type=dA.value.value):dA.key.name==="reflect"?(typeof dA.value.value!="boolean"&&svelte_options_invalid_customelement_props(BA),CA.props[hA.key.name].reflect=dA.value.value):dA.key.name==="attribute"?(typeof dA.value.value!="string"&&svelte_options_invalid_customelement_props(BA),CA.props[hA.key.name].attribute=dA.value.value):svelte_options_invalid_customelement_props(BA)}}const uA=(iA=EA.find(([hA])=>hA==="shadow"))==null?void 0:iA[1];if(uA){const hA=uA==null?void 0:uA.value;hA!=="open"&&hA!=="none"&&svelte_options_invalid_customelement_shadow(uA),CA.shadow=hA}const cA=(IA=EA.find(([hA])=>hA==="extend"))==null?void 0:IA[1];cA&&(CA.extend=cA),AA.customElement=CA;break}case"namespace":{const CA=get_static_value$1(BA);CA===NAMESPACE_SVG?AA.namespace="svg":CA===NAMESPACE_MATHML?AA.namespace="mathml":CA==="html"||CA==="mathml"||CA==="svg"?AA.namespace=CA:svelte_options_invalid_attribute_value(BA,'"html", "mathml" or "svg"');break}case"css":{const CA=get_static_value$1(BA);CA==="injected"?AA.css=CA:svelte_options_invalid_attribute_value(BA,'"injected"');break}case"immutable":{AA.immutable=get_boolean_value(BA);break}case"preserveWhitespace":{AA.preserveWhitespace=get_boolean_value(BA);break}case"accessors":{AA.accessors=get_boolean_value(BA);break}default:svelte_options_unknown_attribute(BA,sA)}}return AA}function get_static_value$1(eA){const{value:AA}=eA;if(AA===!0)return!0;const tA=Array.isArray(AA)?AA[0]:AA;return tA?AA.length>1?null:tA.type==="Text"?tA.data:tA.expression.type!=="Literal"?null:tA.expression.value:!0}function get_boolean_value(eA){const AA=get_static_value$1(eA);return typeof AA!="boolean"&&svelte_options_invalid_attribute_value(eA,"true or false"),AA}const tag_name_char="[a-z0-9_.·À-ÖØ-öø-ͽͿ-῿‌-‍‿-⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿-]",regex_valid_tag_name=new RegExp(`^[a-z]${tag_name_char}*-${tag_name_char}*$`,"u"),reserved_tag_names=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"];function validate_tag(eA,AA){typeof AA!="string"&&svelte_options_invalid_tagname(eA),AA&&(regex_valid_tag_name.test(AA)?reserved_tag_names.includes(AA)&&svelte_options_reserved_tagname(eA):svelte_options_invalid_tagname(eA))}function disallow_children(eA){const{nodes:AA}=eA.fragment;if(AA.length>0){const tA=AA[0],gA=AA[AA.length-1];svelte_meta_invalid_content({start:tA.start,end:gA.end},eA.name)}}const regex_position_indicator=/ \(\d+:\d+\)$/,regex_lang_attribute=/<!--[^]*?-->|<script\s+(?:[^>]*|(?:[^=>'"/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)\s+)*)lang=(["'])?([^"' >]+)\1[^>]*>/g;class Parser{constructor(AA){rg(this,"template");rg(this,"index",0);rg(this,"ts",!1);rg(this,"stack",[]);rg(this,"fragments",[]);rg(this,"root");rg(this,"meta_tags",{});rg(this,"last_auto_closed_tag");if(typeof AA!="string")throw new TypeError("Template must be a string");this.template=AA.trimEnd();let tA;do tA=regex_lang_attribute.exec(AA);while(tA&&tA[0][1]!=="s");regex_lang_attribute.lastIndex=0,this.ts=(tA==null?void 0:tA[2])==="ts",this.root={css:null,js:[],start:null,end:null,type:"Root",fragment:create_fragment(),options:null,metadata:{ts:this.ts}},this.stack.push(this.root),this.fragments.push(this.root.fragment);let gA=fragment;for(;this.index<this.template.length;)gA=gA(this)||fragment;if(this.stack.length>1){const IA=this.current();IA.type==="RegularElement"?(IA.end=IA.start+1,element_unclosed(IA,IA.name)):(IA.end=IA.start+1,block_unclosed(IA))}if(gA!==fragment&&unexpected_eof(this.index),this.root.fragment.nodes.length){let IA=this.root.fragment.nodes[0].start;for(;regex_whitespace.test(AA[IA]);)IA+=1;let BA=this.root.fragment.nodes[this.root.fragment.nodes.length-1].end;for(;regex_whitespace.test(AA[BA-1]);)BA-=1;this.root.start=IA,this.root.end=BA}else this.root.start=this.root.end=null;const iA=this.root.fragment.nodes.findIndex(IA=>IA.type==="SvelteOptions");if(iA!==-1){const IA=this.root.fragment.nodes[iA];this.root.fragment.nodes.splice(iA,1),this.root.options=read_options(IA),disallow_children(IA),Object.defineProperty(this.root.options,"__raw__",{value:IA,enumerable:!1})}}current(){return this.stack[this.stack.length-1]}acorn_error(AA){js_parse_error(AA.pos,AA.message.replace(regex_position_indicator,""))}eat(AA,tA=!1){return this.match(AA)?(this.index+=AA.length,!0):(tA&&expected_token(this.index,AA),!1)}match(AA){const tA=AA.length;return tA===1?this.template[this.index]===AA:this.template.slice(this.index,this.index+tA)===AA}match_regex(AA){const tA=AA.exec(this.template.slice(this.index));return!tA||tA.index!==0?null:tA[0]}allow_whitespace(){for(;this.index<this.template.length&&regex_whitespace.test(this.template[this.index]);)this.index++}read(AA){const tA=this.match_regex(AA);return tA&&(this.index+=tA.length),tA}read_identifier(AA=!1){const tA=this.index;let gA=this.index;const iA=full_char_code_at(this.template,gA);if(!isIdentifierStart(iA,!0))return null;for(gA+=iA<=65535?1:2;gA<this.template.length;){const BA=full_char_code_at(this.template,gA);if(!isIdentifierChar(BA,!0))break;gA+=BA<=65535?1:2}const IA=this.template.slice(this.index,this.index=gA);return!AA&&is_reserved(IA)&&unexpected_reserved_word(tA,IA),IA}read_until(AA){this.index>=this.template.length&&unexpected_eof(this.template.length);const tA=this.index,gA=AA.exec(this.template.slice(tA));return gA?(this.index=tA+gA.index,this.template.slice(tA,this.index)):(this.index=this.template.length,this.template.slice(tA))}require_whitespace(){regex_whitespace.test(this.template[this.index])||expected_whitespace(this.index),this.allow_whitespace()}pop(){return this.fragments.pop(),this.stack.pop()}append(AA){const tA=this.current(),gA=this.fragments.at(-1);return Object.defineProperties(AA,{prev:{enumerable:!1,value:(gA==null?void 0:gA.nodes.at(-1))??null},parent:{enumerable:!1,configurable:!0,value:tA}}),gA.nodes.push(AA),AA}}function parse(eA){return new Parser(eA).root}function remove_this_param(eA,AA){var tA;return((tA=eA.params[0])==null?void 0:tA.type)==="Identifier"&&eA.params[0].name==="this"&&eA.params.shift(),AA.next()}const visitors$5={Decorator(eA){typescript_invalid_feature(eA,"decorators (related TSC proposal is not stage 4 yet)")},ImportDeclaration(eA){var AA;if(eA.importKind==="type")return empty;if(((AA=eA.specifiers)==null?void 0:AA.length)>0){const tA=eA.specifiers.filter(gA=>gA.importKind!=="type");return tA.length===0?empty:{...eA,specifiers:tA}}return eA},ExportNamedDeclaration(eA,AA){if(eA.exportKind==="type")return empty;if(eA.declaration)return AA.next();if(eA.specifiers){const tA=eA.specifiers.filter(gA=>gA.exportKind!=="type");return tA.length===0?empty:{...eA,specifiers:tA}}return eA},ExportDefaultDeclaration(eA){return eA.exportKind==="type"?empty:eA},ExportAllDeclaration(eA){return eA.exportKind==="type"?empty:eA},PropertyDefinition(eA,{next:AA}){return eA.accessor&&typescript_invalid_feature(eA,"accessor fields (related TSC proposal is not stage 4 yet)"),AA()},TSAsExpression(eA,AA){return AA.visit(eA.expression)},TSSatisfiesExpression(eA,AA){return AA.visit(eA.expression)},TSNonNullExpression(eA,AA){return AA.visit(eA.expression)},TSTypeAnnotation(){return empty},TSInterfaceDeclaration(){return empty},TSTypeAliasDeclaration(){return empty},TSTypeParameterDeclaration(){return empty},TSTypeParameterInstantiation(){return empty},TSEnumDeclaration(eA){typescript_invalid_feature(eA,"enums")},TSParameterProperty(eA,AA){var tA;return(eA.readonly||eA.accessibility)&&((tA=AA.path.at(-2))==null?void 0:tA.kind)==="constructor"&&typescript_invalid_feature(eA,"accessibility modifiers on constructor parameters"),AA.visit(eA.parameter)},FunctionExpression:remove_this_param,FunctionDeclaration:remove_this_param,TSDeclareFunction(){return empty},ClassDeclaration(eA,AA){return eA.declare?empty:AA.next()},VariableDeclaration(eA,AA){return eA.declare?empty:AA.next()},TSModuleDeclaration(eA,AA){return eA.body&&eA.body.body.map(gA=>AA.visit(gA)).some(gA=>gA!==empty)&&typescript_invalid_feature(eA,"namespaces with non-type nodes"),empty}};function remove_typescript_nodes(eA){return walk(eA,null,visitors$5)}function is_reference(eA,AA){if(eA.type==="MemberExpression")return!eA.computed&&is_reference(eA.object,eA);if(eA.type==="Identifier"){if(!AA)return!0;switch(AA.type){case"MemberExpression":return AA.computed||eA===AA.object;case"MethodDefinition":return AA.computed;case"PropertyDefinition":return AA.computed||eA===AA.value;case"Property":return AA.computed||eA===AA.value;case"ExportSpecifier":case"ImportSpecifier":return eA===AA.local;case"LabeledStatement":case"BreakStatement":case"ContinueStatement":return!1;default:return!0}}return!1}function determine_slot(eA){if(!is_element_node(eA))return null;for(const AA of eA.attributes)if(AA.type==="Attribute"&&AA.name==="slot"&&is_text_attribute(AA))return AA.value[0].data;return null}function validate_assignment(eA,AA,tA){if(validate_no_const_assignment(eA,AA,tA.scope,!1),AA.type==="Identifier"){const IA=tA.scope.get(AA.name);tA.analysis.runes&&((IA==null?void 0:IA.kind)==="derived"&&constant_assignment(eA,"derived state"),(IA==null?void 0:IA.kind)==="each"&&each_item_invalid_assignment(eA)),(IA==null?void 0:IA.kind)==="snippet"&&snippet_parameter_assignment(eA)}let gA=AA,iA=null;for(;gA.type==="MemberExpression";)iA=gA.property,gA=gA.object;gA.type==="ThisExpression"&&(iA==null?void 0:iA.type)==="PrivateIdentifier"&&tA.private_derived_state.includes(iA.name)&&constant_assignment(eA,"derived state")}function validate_no_const_assignment(eA,AA,tA,gA){if(AA.type==="ArrayPattern")for(const iA of AA.elements)iA&&validate_no_const_assignment(eA,iA,tA,gA);else if(AA.type==="ObjectPattern")for(const iA of AA.properties)iA.type==="Property"&&validate_no_const_assignment(eA,iA.value,tA,gA);else if(AA.type==="Identifier"){const iA=tA.get(AA.name);if((iA==null?void 0:iA.kind)==="derived"||(iA==null?void 0:iA.declaration_kind)==="import"||(iA==null?void 0:iA.declaration_kind)==="const"&&iA.kind!=="each"){const IA=iA.declaration_kind==="import"?"import":iA.kind==="derived"?"derived state":"constant";gA?constant_binding(eA,IA):constant_assignment(eA,IA)}}}function validate_opening_tag(eA,AA,tA){AA.analysis.source[eA.start+1]!==tA&&block_unexpected_character({start:eA.start,end:eA.start+5},tA)}function validate_block_not_empty(eA,AA){eA&&eA.nodes.length===1&&eA.nodes[0].type==="Text"&&!eA.nodes[0].raw.trim()&&block_empty(eA.nodes[0])}function ensure_no_module_import_conflict(eA,AA){var gA;const tA=extract_identifiers(eA.id);for(const iA of tA)AA.ast_type==="instance"&&AA.scope===AA.analysis.instance.scope&&((gA=AA.analysis.module.scope.get(iA.name))==null?void 0:gA.declaration_kind)==="import"&&declaration_duplicate_module_import(eA.id)}function is_safe_identifier(eA,AA){let tA=eA;for(;tA.type==="MemberExpression";)tA=tA.object;if(tA.type!=="Identifier")return!1;const gA=AA.get(tA.name);return gA?gA.kind==="store_sub"?is_safe_identifier({name:tA.name.slice(1),type:"Identifier"},AA):gA.declaration_kind!=="import"&&gA.kind!=="prop"&&gA.kind!=="bindable_prop"&&gA.kind!=="rest_prop":!0}function is_pure(eA,AA){if(eA.type!=="Identifier"&&eA.type!=="MemberExpression")return!1;const tA=object$1(eA);return tA?tA.type==="Identifier"&&AA.state.scope.get(tA.name)===null:!1}function validate_identifier_name(eA,AA){var gA;if(!eA)return;const tA=eA.declaration_kind;if(tA!=="synthetic"&&tA!=="param"&&tA!=="rest_param"&&(!AA||AA<=1)){const iA=eA.node;iA.name==="$"?dollar_binding_invalid(iA):iA.name.startsWith("$")&&!(((gA=eA.initial)==null?void 0:gA.type)==="ImportDeclaration"&&eA.initial.importKind==="type")&&dollar_prefix_invalid(iA)}}const _g=class _g{constructor(AA,tA,gA){rg(this,"root");rg(this,"parent");Rg(this,bg);rg(this,"declarations",new Map);rg(this,"declarators",new Map);rg(this,"references",new Map);rg(this,"function_depth",0);this.root=AA,this.parent=tA,lg(this,bg,gA),this.function_depth=tA?tA.function_depth+(gA?0:1):0}declare(AA,tA,gA,iA=null){if(this.parent){if(gA==="var"&&ig(this,bg))return this.parent.declare(AA,tA,gA);if(gA==="import")return this.parent.declare(AA,tA,gA,iA)}this.declarations.has(AA.name)&&declaration_duplicate(AA,AA.name);const IA={node:AA,references:[],legacy_dependencies:[],initial:iA,reassigned:!1,mutated:!1,updated:!1,scope:this,kind:tA,declaration_kind:gA,is_called:!1,prop_alias:null,metadata:null};return validate_identifier_name(IA,this.function_depth),this.declarations.set(AA.name,IA),this.root.conflicts.add(AA.name),IA}child(AA=!1){return new _g(this.root,this,AA)}generate(AA){if(ig(this,bg))return this.parent.generate(AA);AA=AA.replace(/[^a-zA-Z0-9_$]/g,"_").replace(/^[0-9]/,"_");let tA=AA,gA=1;for(;this.references.has(tA)||this.declarations.has(tA)||this.root.conflicts.has(tA)||is_reserved(tA);)tA=`${AA}_${gA++}`;return this.references.set(tA,[]),this.root.conflicts.add(tA),tA}get(AA){var tA;return this.declarations.get(AA)??((tA=this.parent)==null?void 0:tA.get(AA))??null}get_bindings(AA){const tA=this.declarators.get(AA);if(!tA)throw new Error("No binding found for declarator");return tA}owner(AA){return this.declarations.has(AA)?this:this.parent&&this.parent.owner(AA)}reference(AA,tA){tA=[...tA];let gA=this.references.get(AA.name);gA||this.references.set(AA.name,gA=[]),gA.push({node:AA,path:tA});const iA=this.declarations.get(AA.name);iA?iA.references.push({node:AA,path:tA}):this.parent?this.parent.reference(AA,tA):this.root.conflicts.add(AA.name)}};bg=new WeakMap;let Scope=_g;class ScopeRoot{constructor(){rg(this,"conflicts",new Set)}unique(AA){AA=AA.replace(/[^a-zA-Z0-9_$]/g,"_");let tA=AA,gA=1;for(;this.conflicts.has(tA);)tA=`${AA}_${gA++}`;return this.conflicts.add(tA),id$1(tA)}}function create_scopes(eA,AA,tA,gA){const iA=new Map,IA=new Scope(AA,gA,!1);iA.set(eA,IA);const BA={scope:IA},sA=[],CA=[],oA=[];function QA(cA,hA){for(const dA of hA)for(const pA of extract_identifiers(dA))cA.declare(pA,"normal",dA.type==="RestElement"?"rest_param":"param")}const EA=(cA,{state:hA,next:dA})=>{const pA=hA.scope.child(!0);iA.set(cA,pA),dA({scope:pA})},rA=(cA,{state:hA,next:dA})=>{const pA=hA.scope.child();iA.set(cA,pA),dA({scope:pA})},lA=(cA,hA)=>{cA.metadata.scopes={default:hA.state.scope.child()},cA.type==="SvelteComponent"&&hA.visit(cA.expression);const dA=determine_slot(cA)?hA.state:{scope:cA.metadata.scopes.default};for(const pA of cA.attributes)pA.type==="LetDirective"?hA.visit(pA,dA):hA.visit(pA);for(const pA of cA.fragment.nodes){let wA=dA;const mA=determine_slot(pA);mA!==null&&(cA.metadata.scopes[mA]=hA.state.scope.child(),wA={scope:cA.metadata.scopes[mA]}),hA.visit(pA,wA)}},uA=(cA,{state:hA,path:dA,visit:pA})=>{hA.scope.reference(id$1(cA.name.split(".")[0]),dA),cA.expression&&pA(cA.expression)};walk(eA,BA,{Identifier(cA,{path:hA,state:dA}){const pA=hA.at(-1);pA&&is_reference(cA,pA)&&!pA.type.startsWith("TS")&&sA.push([dA.scope,{node:cA,path:hA.slice()}])},LabeledStatement(cA,{path:hA,next:dA}){if(hA.length>1||!tA||cA.label.name!=="$")return dA();const pA=BA.scope.child();if(iA.set(cA,pA),cA.body.type==="ExpressionStatement"&&cA.body.expression.type==="AssignmentExpression")for(const wA of extract_identifiers(cA.body.expression.left))wA.name.startsWith("$")||oA.push(wA);dA({scope:pA})},SvelteFragment:rA,SlotElement:rA,SvelteElement:rA,RegularElement:rA,LetDirective(cA,hA){const dA=hA.state.scope,pA=[];if(dA.declarators.set(cA,pA),cA.expression)for(const wA of extract_identifiers_from_destructuring(cA.expression)){const mA=dA.declare(wA,"template","const");dA.reference(wA,[hA.path[hA.path.length-1],cA]),pA.push(mA)}else{const wA={name:cA.name,type:"Identifier",start:cA.start,end:cA.end},mA=dA.declare(wA,"template","const");dA.reference(wA,[hA.path[hA.path.length-1],cA]),pA.push(mA)}},Component:(cA,hA)=>{hA.state.scope.reference(id$1(cA.name),hA.path),lA(cA,hA)},SvelteSelf:lA,SvelteComponent:lA,AssignmentExpression(cA,{state:hA,next:dA}){CA.push([hA.scope,cA.left]),dA()},UpdateExpression(cA,{state:hA,next:dA}){CA.push([hA.scope,cA.argument]),dA()},ImportDeclaration(cA,{state:hA}){for(const dA of cA.specifiers)hA.scope.declare(dA.local,"normal","import",cA)},FunctionExpression(cA,{state:hA,next:dA}){const pA=hA.scope.child();iA.set(cA,pA),cA.id&&pA.declare(cA.id,"normal","function"),QA(pA,cA.params),dA({scope:pA})},FunctionDeclaration(cA,{state:hA,next:dA}){cA.id&&hA.scope.declare(cA.id,"normal","function",cA);const pA=hA.scope.child();iA.set(cA,pA),QA(pA,cA.params),dA({scope:pA})},ArrowFunctionExpression(cA,{state:hA,next:dA}){const pA=hA.scope.child();iA.set(cA,pA),QA(pA,cA.params),dA({scope:pA})},ForStatement:EA,ForInStatement:EA,ForOfStatement:EA,SwitchStatement:EA,BlockStatement(cA,hA){const dA=hA.path.at(-1);(dA==null?void 0:dA.type)==="FunctionDeclaration"||(dA==null?void 0:dA.type)==="FunctionExpression"||(dA==null?void 0:dA.type)==="ArrowFunctionExpression"?hA.next():EA(cA,hA)},ClassDeclaration(cA,{state:hA,next:dA}){cA.id&&hA.scope.declare(cA.id,"normal","let",cA),dA()},VariableDeclaration(cA,{state:hA,path:dA,next:pA}){var mA;const wA=((mA=dA.at(-1))==null?void 0:mA.type)==="ConstTag";for(const MA of cA.declarations){const fA=[];hA.scope.declarators.set(MA,fA);for(const LA of extract_identifiers(MA.id)){const _A=hA.scope.declare(LA,wA?"template":"normal",cA.kind,MA.init);fA.push(_A)}}pA()},CatchClause(cA,{state:hA,next:dA}){if(cA.param){const pA=hA.scope.child(!0);iA.set(cA,pA);for(const wA of extract_identifiers(cA.param))pA.declare(wA,"normal","let");dA({scope:pA})}else dA()},EachBlock(cA,{state:hA,visit:dA}){dA(cA.expression);const pA=hA.scope.child();iA.set(cA,pA);for(const mA of extract_identifiers(cA.context)){const MA=pA.declare(mA,"each","const");let fA=!1,LA=!1;walk(cA.context,null,{Identifier(_A){fA&&_A===mA&&(LA=!0)},RestElement(_A,{next:bA}){const JA=fA;fA=!0,bA(),fA=JA}}),MA.metadata={inside_rest:LA}}if(dA(cA.context,{scope:pA}),cA.index){const mA=cA.key&&(cA.key.type!=="Identifier"||!cA.index||cA.key.name!==cA.index);pA.declare(id$1(cA.index),mA?"template":"normal","const",cA)}cA.key&&dA(cA.key,{scope:pA});for(const mA of cA.body.nodes)dA(mA,{scope:pA});cA.fallback&&dA(cA.fallback,{scope:pA});let wA=!1;for(const[mA]of pA.declarations)hA.scope.get(mA)!==null&&(wA=!0);cA.metadata={expression:create_expression_metadata(),keyed:!1,contains_group_binding:!1,array_name:wA?hA.scope.root.unique("$$array"):null,index:pA.root.unique("$$index"),declarations:pA.declarations,is_controlled:!1}},AwaitBlock(cA,hA){if(hA.visit(cA.expression),cA.pending&&hA.visit(cA.pending),cA.then&&(hA.visit(cA.then),cA.value)){const dA=iA.get(cA.then),pA=hA.state.scope.child();iA.set(cA.value,pA),hA.visit(cA.value,{scope:pA});for(const wA of extract_identifiers(cA.value))dA.declare(wA,"template","const"),pA.declare(wA,"normal","const")}if(cA.catch&&(hA.visit(cA.catch),cA.error)){const dA=iA.get(cA.catch),pA=hA.state.scope.child();iA.set(cA.error,pA),hA.visit(cA.error,{scope:pA});for(const wA of extract_identifiers(cA.error))dA.declare(wA,"template","const"),pA.declare(wA,"normal","const")}},SnippetBlock(cA,hA){const dA=hA.state,pA=!hA.path.at(-2);let wA=dA.scope;pA&&(wA=gA),wA.declare(cA.expression,"normal","function",cA.expression);const mA=dA.scope.child();iA.set(cA,mA);for(const MA of cA.parameters)for(const fA of extract_identifiers(MA))mA.declare(fA,"snippet","let");hA.next({scope:mA})},Fragment:(cA,hA)=>{const dA=hA.state.scope.child(cA.metadata.transparent);iA.set(cA,dA),hA.next({scope:dA})},BindDirective(cA,hA){CA.push([hA.state.scope,cA.expression]),hA.next()},TransitionDirective:uA,AnimateDirective:uA,UseDirective:uA,StyleDirective(cA,{path:hA,state:dA,next:pA}){cA.value===!0&&dA.scope.reference(id$1(cA.name),hA.concat(cA)),pA()}});for(const cA of oA)IA.get(cA.name)||IA.declare(cA,"legacy_reactive","let");for(const[cA,{node:hA,path:dA}]of sA)cA.reference(hA,dA);for(const[cA,hA]of CA)for(const dA of unwrap_pattern(hA)){const pA=object$1(dA),wA=pA&&cA.get(pA.name);wA!==null&&pA!==wA.node&&(wA.updated=!0,pA===dA?wA.reassigned=!0:wA.mutated=!0)}return{scope:IA,scopes:iA}}function set_scope(eA,{next:AA,state:tA}){const gA=tA.scopes.get(eA);AA(gA!==void 0&&gA!==tA.scope?{...tA,scope:gA}:tA)}function get_rune(eA,AA){if(!eA||eA.type!=="CallExpression")return null;let tA=eA.callee,gA="";for(;tA.type==="MemberExpression";){if(tA.computed||tA.property.type!=="Identifier")return null;gA="."+tA.property.name+gA,tA=tA.object}return tA.type==="CallExpression"&&tA.callee.type==="Identifier"&&(gA="()"+gA,tA=tA.callee),tA.type!=="Identifier"||(gA=tA.name+gA,!is_rune(gA))||AA.get(tA.name)!==null?null:gA}function check_graph_for_cycles(eA){const AA=eA.reduce((BA,sA)=>{const[CA,oA]=sA;return BA.has(CA)||BA.set(CA,[]),BA.has(oA)||BA.set(oA,[]),BA.get(CA).push(oA),BA},new Map),tA=new Set,gA=new Set,iA=[];function IA(BA){var sA;tA.add(BA),gA.add(BA),(sA=AA.get(BA))==null||sA.forEach(CA=>{tA.has(CA)?gA.has(CA)&&iA.push([...gA,CA]):IA(CA)}),gA.delete(BA)}return AA.forEach((BA,sA)=>{tA.has(sA)||IA(sA)}),iA[0]}const regex_css_browser_prefix=/^-((webkit)|(moz)|(o)|(ms))-/,regex_css_name_boundary=/^[\s,;}]$/;function remove_css_prefix(eA){return eA.replace(regex_css_browser_prefix,"")}const is_keyframes_node=eA=>remove_css_prefix(eA.name)==="keyframes";function is_global$1(eA){const AA=eA.selectors[0];return AA.type==="PseudoClassSelector"&&AA.name==="global"&&(AA.args===null||eA.selectors.every(tA=>tA.type==="PseudoClassSelector"||tA.type==="PseudoElementSelector"))}function is_global_block_selector(eA){return eA.type==="PseudoClassSelector"&&eA.name==="global"&&eA.args===null}const css_visitors={Atrule(eA,AA){is_keyframes_node(eA)&&(eA.prelude.startsWith("-global-")||AA.state.keyframes.push(eA.prelude)),AA.next()},ComplexSelector(eA,AA){var tA,gA,iA,IA,BA,sA;AA.next();{const CA=eA.children.find(is_global$1);if(CA){const oA=eA.children.indexOf(CA);if(CA.selectors[0].args!==null&&oA!==0&&oA!==eA.children.length-1)for(let QA=oA+1;QA<eA.children.length;QA++)is_global$1(eA.children[QA])||css_global_invalid_placement(CA.selectors[0])}}for(const CA of eA.children)for(let oA=0;oA<CA.selectors.length;oA++){const QA=CA.selectors[oA];if(QA.type==="PseudoClassSelector"&&QA.name==="global"){const EA=(tA=QA.args)==null?void 0:tA.children[0].children[0];(EA==null?void 0:EA.selectors[0].type)==="TypeSelector"&&oA!==0&&css_global_invalid_selector_list(QA),((gA=CA.selectors[oA+1])==null?void 0:gA.type)==="TypeSelector"&&css_type_selector_invalid_placement(CA.selectors[oA+1]),QA.args!==null&&QA.args.children.length>1&&(eA.children.length>1||CA.selectors.length>1)&&css_global_invalid_selector(QA)}}eA.metadata.rule=AA.state.rule,(iA=eA.metadata).used||(iA.used=eA.children.every(({metadata:CA})=>CA.is_global||CA.is_global_like)),(IA=eA.metadata.rule)!=null&&IA.metadata.parent_rule&&((sA=(BA=eA.children[0])==null?void 0:BA.selectors[0])==null?void 0:sA.type)==="NestingSelector"&&eA.metadata.rule.metadata.parent_rule.prelude.children.some(oA=>oA.children.length===1&&oA.children[0].metadata.is_global)&&(eA.metadata.used=!0)},RelativeSelector(eA,AA){var gA,iA,IA,BA;const tA=AA.path.at(-1);if(eA.combinator!=null&&!((gA=AA.state.rule)!=null&&gA.metadata.parent_rule)&&tA.children[0]===eA&&((iA=AA.path.at(-3))==null?void 0:iA.type)!=="PseudoClassSelector"&&css_selector_invalid(eA.combinator),eA.metadata.is_global=eA.selectors.length>=1&&is_global$1(eA),eA.selectors.length===1){const sA=eA.selectors[0];(IA=eA.metadata).is_global_like||(IA.is_global_like=sA.type==="PseudoClassSelector"&&sA.name==="host"||sA.type==="PseudoElementSelector"&&["view-transition","view-transition-group","view-transition-old","view-transition-new","view-transition-image-pair"].includes(sA.name))}(BA=eA.metadata).is_global_like||(BA.is_global_like=!!eA.selectors.find(sA=>sA.type==="PseudoClassSelector"&&sA.name==="root")),AA.next()},Rule(eA,AA){if(eA.metadata.parent_rule=AA.state.rule,eA.metadata.is_global_block=eA.prelude.children.some(tA=>{let gA=!1;for(const iA of tA.children){const IA=iA.selectors.findIndex(is_global_block_selector);if(gA&&(iA.metadata.is_global_like=!0),IA!==-1){gA=!0;for(let BA=IA+1;BA<iA.selectors.length;BA++)walk(iA.selectors[BA],null,{ComplexSelector(sA){sA.metadata.used=!0}})}}return gA}),eA.metadata.is_global_block){eA.prelude.children.length>1&&css_global_block_invalid_list(eA.prelude);const gA=eA.prelude.children[0].children.find((IA,BA)=>{const sA=IA.selectors.findIndex(is_global_block_selector);if(sA===0)return IA.selectors.length>1&&BA===0&&eA.metadata.parent_rule===null&&css_global_block_invalid_modifier_start(IA.selectors[1]),!0;sA!==-1&&css_global_block_invalid_modifier(IA.selectors[sA])});if(!gA)throw new Error("Internal error: global block without :global selector");gA.combinator&&gA.combinator.name!==" "&&css_global_block_invalid_combinator(gA,gA.combinator.name);const iA=eA.block.children.find(IA=>IA.type==="Declaration");iA&&eA.prelude.children.length===1&&eA.prelude.children[0].children.length===1&&eA.prelude.children[0].children[0].selectors.length===1&&css_global_block_invalid_declaration(iA)}AA.next({...AA.state,rule:eA}),eA.metadata.has_local_selectors=eA.prelude.children.some(tA=>tA.children.some(({metadata:gA})=>!gA.is_global&&!gA.is_global_like))},NestingSelector(eA,AA){var iA,IA;const tA=AA.state.rule,gA=tA.metadata.parent_rule;if(gA)gA.metadata.is_global_block&&!gA.metadata.parent_rule&&gA.prelude.children[0].children.length===1&&gA.prelude.children[0].children[0].selectors.length===1&&css_global_block_invalid_modifier_start(eA);else{const BA=tA.prelude.children,sA=BA[0].children[0].selectors;(BA.length>1||sA.length>1||sA[0].type!=="PseudoClassSelector"||sA[0].name!=="global"||((IA=(iA=sA[0].args)==null?void 0:iA.children[0])==null?void 0:IA.children[0].selectors[0])!==eA)&&css_nesting_selector_invalid_placement(eA)}AA.next()}};function analyze_css(eA,AA){walk(eA,{keyframes:AA.css.keyframes,rule:null},css_visitors)}const UNKNOWN={};function gather_possible_values(eA,AA){eA.type==="Literal"?AA.add(String(eA.value)):eA.type==="ConditionalExpression"?(gather_possible_values(eA.consequent,AA),gather_possible_values(eA.alternate,AA)):AA.add(UNKNOWN)}function get_possible_values(eA){const AA=new Set;return eA.type==="Text"?AA.add(eA.data):gather_possible_values(eA.expression,AA),AA.has(UNKNOWN)?null:AA}const NODE_PROBABLY_EXISTS=0,NODE_DEFINITELY_EXISTS=1,whitelist_attribute_selector=new Map([["details",["open"]],["dialog",["open"]]]),descendant_combinator={type:"Combinator",name:" ",start:-1,end:-1},nesting_selector={type:"RelativeSelector",start:-1,end:-1,combinator:null,selectors:[{type:"NestingSelector",name:"&",start:-1,end:-1}],metadata:{is_global:!1,is_global_like:!1,scoped:!1}};function prune(eA,AA){if(AA.type==="RenderTag"){const tA=get_element_parent(AA);if(!tA)return;walk(eA,{stylesheet:eA,element:tA,from_render_tag:!0},visitors$4)}else walk(eA,{stylesheet:eA,element:AA,from_render_tag:!1},visitors$4)}const visitors$4={Rule(eA,AA){eA.metadata.is_global_block?AA.visit(eA.prelude):AA.next()},ComplexSelector(eA,AA){const tA=get_relative_selectors(eA),gA=tA[tA.length-1];if(AA.state.from_render_tag){let iA=AA.state.element;for(;iA;){const IA=tA.slice();for(;IA.length>0;)if(IA.pop(),apply_selector(IA,eA.metadata.rule,iA,AA.state)){mark(gA,iA),eA.metadata.used=!0;return}iA=get_element_parent(iA)}}else apply_selector(tA,eA.metadata.rule,AA.state.element,AA.state)&&(mark(gA,AA.state.element),eA.metadata.used=!0)}};function get_relative_selectors(eA){var tA;const AA=truncate(eA);if((tA=eA.metadata.rule)!=null&&tA.metadata.parent_rule&&AA.length>0){let gA=!1;for(let iA of AA)if(walk(iA,{},{NestingSelector(){gA=!0}}),gA)break;gA||(AA[0].combinator===null&&(AA[0]={...AA[0],combinator:descendant_combinator}),AA.unshift(nesting_selector))}return AA}function truncate(eA){const AA=eA.children.findLastIndex(({metadata:tA,selectors:gA})=>{const iA=gA[0];return!tA.is_global_like&&!(iA.type==="PseudoClassSelector"&&iA.name==="global"&&iA.args===null)&&(!tA.is_global||gA.some(IA=>IA.type==="PseudoClassSelector"&&IA.args!==null&&(IA.name==="has"||IA.name==="is"||IA.name==="where"||IA.name==="not")))});return eA.children.slice(0,AA+1)}function apply_selector(eA,AA,tA,gA){const iA=eA.slice(),IA=iA.pop();if(!IA||!relative_selector_might_apply_to_node(IA,AA,tA))return!1;if(IA.combinator)return apply_combinator(IA.combinator,IA,iA,AA,tA);const sA=iA[iA.length-1];return(!sA||is_global(sA,AA))&&mark(IA,tA),!0}function apply_combinator(eA,AA,tA,gA,iA,IA){const BA=eA.name;switch(BA){case" ":case">":{let sA=iA.parent,CA=!1,oA=!1;for(;sA;){if((sA.type==="Component"||sA.type==="SvelteComponent")&&(oA=!0),sA.type==="SnippetBlock")return!0;if((sA.type==="RegularElement"||sA.type==="SvelteElement")&&(apply_selector(tA,gA,sA)&&((BA===" "||oA)&&mark(tA[tA.length-1],sA),CA=!0),BA===">"))return CA;sA=sA.parent}return CA||tA.every(QA=>is_global(QA,gA))}case"+":case"~":{const sA=get_possible_element_siblings(iA,BA==="+");let CA=!1;for(const oA of sA.keys())oA.type==="RenderTag"||oA.type==="SlotElement"?tA.length===1&&tA[0].metadata.is_global&&(mark(AA,iA),CA=!0):apply_selector(tA,gA,oA)&&(mark(AA,iA),CA=!0);return CA||get_element_parent(iA)===null&&tA.every(oA=>is_global(oA,gA))}default:return!0}}function mark(eA,AA){eA.metadata.scoped=!0,AA.metadata.scoped=!0}function is_global(eA,AA){if(eA.metadata.is_global||eA.metadata.is_global_like)return!0;for(const tA of eA.selectors){let gA=null,iA=AA;if(tA.type==="PseudoClassSelector"&&(tA.name==="is"||tA.name==="where")&&tA.args&&(gA=tA.args),tA.type==="NestingSelector"&&(iA=AA.metadata.parent_rule,gA=iA.prelude),!(gA==null?void 0:gA.children.some(BA=>BA.children.every(sA=>is_global(sA,iA)))))return!1}return!0}const regex_backslash_and_following_character=/\\(.)/g;function relative_selector_might_apply_to_node(eA,AA,tA,gA){var BA,sA;const iA=[],IA=[];for(const CA of eA.selectors)CA.type==="PseudoClassSelector"&&CA.name==="has"&&CA.args?iA.push(CA):IA.push(CA);if(iA.length>0){const CA=[],oA=[];let QA;walk(tA.fragment,{is_child:!0},{_(EA,rA){EA.type==="RegularElement"||EA.type==="SvelteElement"?(oA.push(EA),rA.state.is_child?(CA.push(EA),rA.state.is_child=!1,rA.next(),rA.state.is_child=!0):rA.next()):rA.next()}});for(const EA of iA){const rA=EA.args.children;let lA=!1;for(const uA of rA){const cA=truncate(uA),hA=((BA=cA[0])==null?void 0:BA.combinator)??descendant_combinator;cA.length>0&&(cA[0]={...cA[0],combinator:null});const dA=hA.name==="+"||hA.name==="~"?QA??(QA=get_following_sibling_elements(tA)):hA.name===">"?CA:oA;let pA=!1;for(const wA of dA)(cA.length===0||wA.metadata.scoped&&pA||apply_selector(cA,AA,wA))&&(uA.metadata.used=!0,pA=lA=!0)}if(!lA)return eA.metadata.is_global&&!eA.metadata.is_global_like&&(rA[0].metadata.used=!0,rA[0].children.forEach(uA=>{uA.metadata.scoped=!0})),!1}}for(const CA of IA){if(CA.type==="Percentage"||CA.type==="Nth")continue;const oA=CA.name.replace(regex_backslash_and_following_character,"$1");switch(CA.type){case"PseudoClassSelector":{if(oA==="host"||oA==="root")return!1;if(oA==="global"&&CA.args!==null&&eA.selectors.length===1){const EA=CA.args.children[0];return apply_selector(EA.children,AA,tA)}if(oA==="global"&&CA.args===null)return!0;if(oA==="not"&&CA.args){for(const QA of CA.args.children){QA.metadata.used=!0;const EA=truncate(QA);if(QA.children.length>1){for(const lA of EA)lA.metadata.scoped=!0;let rA=tA;for(;rA;)rA.metadata.scoped=!0,rA=get_element_parent(rA)}}break}if((oA==="is"||oA==="where")&&CA.args){let QA=!1;for(const EA of CA.args.children){const rA=truncate(EA);if(rA.length===0)EA.metadata.used=!0,QA=!0;else if(apply_selector(rA,AA,tA))EA.metadata.used=!0,QA=!0;else if(EA.children.length>1&&(oA=="is"||oA=="where")){EA.metadata.used=!0,QA=!0;for(const uA of rA)uA.metadata.scoped=!0}}if(!QA)return eA.metadata.is_global&&!eA.metadata.is_global_like&&(CA.args.children[0].metadata.used=!0,CA.args.children[0].children.forEach(EA=>{EA.metadata.scoped=!0})),!1}break}case"PseudoElementSelector":break;case"AttributeSelector":{const QA=whitelist_attribute_selector.get(tA.name.toLowerCase());if(!(QA!=null&&QA.includes(CA.name.toLowerCase()))&&!attribute_matches(tA,CA.name,CA.value&&unquote(CA.value),CA.matcher,((sA=CA.flags)==null?void 0:sA.includes("i"))??!1))return!1;break}case"ClassSelector":{if(!attribute_matches(tA,"class",oA,"~=",!1)&&!tA.attributes.some(QA=>QA.type==="ClassDirective"&&QA.name===oA))return!1;break}case"IdSelector":{if(!attribute_matches(tA,"id",oA,"=",!1))return!1;break}case"TypeSelector":{if(tA.name.toLowerCase()!==oA.toLowerCase()&&oA!=="*"&&tA.type!=="SvelteElement")return!1;break}case"NestingSelector":{let QA=!1;const EA=AA.metadata.parent_rule;for(const rA of EA.prelude.children)apply_selector(get_relative_selectors(rA),EA,tA)&&(rA.metadata.used=!0,QA=!0);if(!QA)return!1;break}}}return!0}function get_following_sibling_elements(eA){let AA=get_element_parent(eA);if(!AA)for(AA=eA;(AA==null?void 0:AA.type)!=="Root";)AA=AA.parent;const tA=[];let gA=!1;for(const iA of AA.fragment.nodes)if(gA)walk(iA,{},{RegularElement(IA){tA.push(IA)},SvelteElement(IA){tA.push(IA)}});else{let IA=eA;for(;IA!==iA&&IA!==AA;)IA=IA.parent;IA===iA&&(gA=!0)}return tA}function test_attribute(eA,AA,tA,gA){switch(tA&&(AA=AA.toLowerCase(),gA=gA.toLowerCase()),eA){case"=":return gA===AA;case"~=":return gA.split(/\s/).includes(AA);case"|=":return`${gA}-`.startsWith(`${AA}-`);case"^=":return gA.startsWith(AA);case"$=":return gA.endsWith(AA);case"*=":return gA.includes(AA);default:throw new Error("this shouldn't happen")}}function attribute_matches(eA,AA,tA,gA,iA){for(const IA of eA.attributes){if(IA.type==="SpreadAttribute"||IA.type==="BindDirective"&&IA.name===AA)return!0;if(IA.type!=="Attribute"||IA.name.toLowerCase()!==AA.toLowerCase())continue;if(IA.value===!0)return gA===null;if(tA===null)return!0;if(is_text_attribute(IA))return test_attribute(gA,tA,iA,IA.value[0].data);const BA=get_attribute_chunks(IA.value),sA=new Set;let CA=[];for(const oA of BA){const QA=get_possible_values(oA);if(!QA)return!0;if(CA.length>0){const EA=[],rA=[];if(QA.forEach(lA=>{regex_starts_with_whitespace.test(lA)?EA.push(lA):rA.push(lA)}),rA.length>0){EA.length>0&&CA.forEach(uA=>sA.add(uA));const lA=[];CA.forEach(uA=>{rA.forEach(cA=>{lA.push(uA+cA)})}),CA=lA,EA.forEach(uA=>{regex_ends_with_whitespace.test(uA)?sA.add(uA):CA.push(uA)});continue}else CA.forEach(lA=>sA.add(lA)),CA=[]}if(QA.forEach(EA=>{regex_ends_with_whitespace.test(EA)?sA.add(EA):CA.push(EA)}),CA.length<QA.size&&CA.push(" "),CA.length>20)return!0}CA.forEach(oA=>sA.add(oA));for(const oA of sA)if(test_attribute(gA,tA,iA,oA))return!0}return!1}function unquote(eA){return eA[0]===eA[eA.length-1]&&eA[0]==="'"||eA[0]==='"'?eA.slice(1,eA.length-1):eA}function get_element_parent(eA){let AA=eA;for(;(AA=AA.parent)&&AA.type!=="RegularElement"&&AA.type!=="SvelteElement";);return AA??null}function find_previous_sibling(eA){var tA;let AA=eA;for(;!AA.prev&&((tA=AA.parent)==null?void 0:tA.type)==="SlotElement";)AA=AA.parent;for(AA=AA.prev;(AA==null?void 0:AA.type)==="SlotElement";){const gA=AA.fragment.nodes;if(gA.length>0)AA=gA.slice(-1)[0];else break}return AA}function get_possible_element_siblings(eA,AA){var iA;const tA=new Map;let gA=eA;for(;gA=find_previous_sibling(gA);)if(gA.type==="RegularElement"){if(gA.attributes.find(IA=>IA.type==="Attribute"&&IA.name.toLowerCase()==="slot")||tA.set(gA,NODE_DEFINITELY_EXISTS),AA)break}else if(gA.type==="EachBlock"||gA.type==="IfBlock"||gA.type==="AwaitBlock"){const IA=get_possible_last_child(gA,AA);if(add_to_map(IA,tA),AA&&has_definite_elements(IA))return tA}else(gA.type==="SlotElement"||gA.type==="RenderTag"||gA.type==="SvelteElement")&&tA.set(gA,NODE_PROBABLY_EXISTS);if(!gA||!AA){let IA=eA;for(;(IA=IA==null?void 0:IA.parent)&&(IA.type==="EachBlock"||IA.type==="IfBlock"||IA.type==="AwaitBlock");){const BA=get_possible_element_siblings(IA,AA);if(add_to_map(BA,tA),IA.type==="EachBlock"&&!((iA=IA.fallback)!=null&&iA.nodes.includes(eA))&&add_to_map(get_possible_last_child(IA,AA),tA),AA&&has_definite_elements(BA))break}}return tA}function get_possible_last_child(eA,AA){const tA=new Map;if(eA.type==="EachBlock"){const gA=loop_child(eA.body.nodes,AA),iA=eA.fallback?loop_child(eA.fallback.nodes,AA):new Map;!has_definite_elements(iA)&&(mark_as_probably(gA),mark_as_probably(iA)),add_to_map(gA,tA),add_to_map(iA,tA)}else if(eA.type==="IfBlock"){const gA=loop_child(eA.consequent.nodes,AA),iA=eA.alternate?loop_child(eA.alternate.nodes,AA):new Map;(!has_definite_elements(gA)||!has_definite_elements(iA))&&(mark_as_probably(gA),mark_as_probably(iA)),add_to_map(gA,tA),add_to_map(iA,tA)}else if(eA.type==="AwaitBlock"){const gA=eA.pending?loop_child(eA.pending.nodes,AA):new Map,iA=eA.then?loop_child(eA.then.nodes,AA):new Map,IA=eA.catch?loop_child(eA.catch.nodes,AA):new Map;(!has_definite_elements(gA)||!has_definite_elements(iA)||!has_definite_elements(IA))&&(mark_as_probably(gA),mark_as_probably(iA),mark_as_probably(IA)),add_to_map(gA,tA),add_to_map(iA,tA),add_to_map(IA,tA)}return tA}function has_definite_elements(eA){if(eA.size===0)return!1;for(const AA of eA.values())if(AA===NODE_DEFINITELY_EXISTS)return!0;return!1}function add_to_map(eA,AA){eA.forEach((tA,gA)=>{AA.set(gA,higher_existence(tA,AA.get(gA)))})}function higher_existence(eA,AA){return eA===void 0||AA===void 0?eA||AA:eA>AA?eA:AA}function mark_as_probably(eA){for(const AA of eA.keys())eA.set(AA,NODE_PROBABLY_EXISTS)}function loop_child(eA,AA){const tA=new Map;for(let gA=eA.length-1;gA>=0;gA--){const iA=eA[gA];if(iA.type==="RegularElement"){if(tA.set(iA,NODE_DEFINITELY_EXISTS),AA)break}else if(iA.type==="EachBlock"||iA.type==="IfBlock"||iA.type==="AwaitBlock"){const IA=get_possible_last_child(iA,AA);if(add_to_map(IA,tA),AA&&has_definite_elements(IA))break}}return tA}function warn_unused(eA){walk(eA,{stylesheet:eA},visitors$3)}const visitors$3={Atrule(eA,AA){is_keyframes_node(eA)||AA.next()},PseudoClassSelector(eA,AA){(eA.name==="is"||eA.name==="where")&&AA.next()},ComplexSelector(eA,AA){if(!eA.metadata.used){const tA=AA.state.stylesheet.content,gA=tA.styles.substring(eA.start-tA.start,eA.end-tA.start);css_unused_selector(eA,gA)}AA.next()},Rule(eA,AA){eA.metadata.is_global_block?AA.visit(eA.prelude):AA.next()}};function visit_function$1(eA,AA){eA.metadata={hoisted:!1,hoisted_params:[],scope:AA.state.scope},AA.next({...AA.state,function_depth:AA.state.function_depth+1})}function ArrowFunctionExpression$1(eA,AA){visit_function$1(eA,AA)}function AssignmentExpression$2(eA,AA){if(validate_assignment(eA,eA.left,AA.state),AA.state.reactive_statement&&(eA.left.type==="MemberExpression"?object$1(eA.left):eA.left)!==null)for(const gA of extract_identifiers(eA.left)){const iA=AA.state.scope.get(gA.name);iA&&AA.state.reactive_statement.assignments.add(iA)}AA.next()}function mark_subtree_dynamic(eA){let AA=eA.length;for(;AA--;){const tA=eA[AA];if(tA.type==="Fragment"){if(tA.metadata.dynamic)return;tA.metadata.dynamic=!0}}}function Attribute$1(eA,AA){var tA,gA;if(AA.next(),eA.name==="value"){const iA=AA.path.at(-1);iA.type==="RegularElement"&&iA.name==="option"&&mark_subtree_dynamic(AA.path)}if(eA.value!==!0){for(const iA of get_attribute_chunks(eA.value))iA.type==="ExpressionTag"&&(iA.expression.type==="FunctionExpression"||iA.expression.type==="ArrowFunctionExpression"||((tA=eA.metadata.expression).has_state||(tA.has_state=iA.metadata.expression.has_state),(gA=eA.metadata.expression).has_call||(gA.has_call=iA.metadata.expression.has_call)));if(is_event_attribute(eA)){const iA=AA.path.at(-1);((iA==null?void 0:iA.type)==="RegularElement"||(iA==null?void 0:iA.type)==="SvelteElement")&&(AA.state.analysis.uses_event_attributes=!0);const IA=get_attribute_expression(eA),BA=get_delegated_event(eA.name.slice(2),IA,AA);BA!==null&&(BA.hoisted&&(BA.function.metadata.hoisted=!0),eA.metadata.delegated=BA)}}}const unhoisted={hoisted:!1};function get_delegated_event(eA,AA,tA){var CA,oA;if(!AA||!is_delegated(eA))return null;const gA=tA.path.at(-1);if((gA==null?void 0:gA.type)!=="RegularElement")return null;let iA=null,IA=null;if(gA.metadata.has_spread)return unhoisted;if(AA.type==="ArrowFunctionExpression"||AA.type==="FunctionExpression")iA=AA;else if(AA.type==="Identifier"){if(IA=tA.state.scope.get(AA.name),tA.state.analysis.module.scope.references.has(AA.name))return unhoisted;if(IA!=null)for(const{path:QA}of IA.references){const EA=QA.at(-1);if(EA===void 0)return unhoisted;const rA=QA.at(-2);let lA=null,uA=null;if(EA.type==="OnDirective"?(lA=rA,uA=EA.name):EA.type==="ExpressionTag"&&(rA==null?void 0:rA.type)==="Attribute"&&is_event_attribute(rA)&&(lA=QA.at(-3),uA=get_attribute_event_name(rA.name)),lA&&uA){if(lA.type!=="RegularElement"||lA.metadata.has_spread||!is_delegated(uA))return unhoisted}else if(EA.type!=="FunctionDeclaration"&&EA.type!=="VariableDeclarator")return unhoisted}if(tA.state.analysis.exports.find(QA=>QA.name===AA.name))return unhoisted;if(IA!==null&&IA.initial!==null&&!IA.updated&&!IA.is_called){const QA=IA.initial.type;(QA==="ArrowFunctionExpression"||QA==="FunctionDeclaration"||QA==="FunctionExpression")&&(iA=IA.initial)}}if(iA==null||iA.params.length>1)return unhoisted;const BA=new Set,sA=iA.metadata.scope;for(const[QA]of sA.references){if(QA==="arguments"||QA==="$host"||((CA=sA.get(`$${QA}`))==null?void 0:CA.kind)==="store_sub")return unhoisted;const EA=sA.get(QA),rA=tA.state.scope.get(QA);if(rA!==null&&EA!==null&&rA.node!==EA.node||EA!==null&&EA.kind==="store_sub"&&BA.has(QA.slice(1))||EA!==null&&((oA=EA.initial)==null?void 0:oA.type)==="EachBlock"||EA!==null&&(EA.declaration_kind==="rest_param"||(!tA.state.analysis.runes&&EA.kind==="each"||EA.kind==="normal")&&EA.updated))return unhoisted;BA.add(QA)}return{hoisted:!0,function:iA}}function get_attribute_event_name(eA){return eA=eA.slice(2),is_capture_event(eA)&&(eA=eA.slice(0,-7)),eA}function AwaitBlock$2(eA,AA){if(validate_block_not_empty(eA.pending),validate_block_not_empty(eA.then),validate_block_not_empty(eA.catch),AA.state.analysis.runes){if(validate_opening_tag(eA,AA.state,"#"),eA.value){const tA=eA.value.start,gA=AA.state.analysis.source.substring(tA-10,tA).match(/{(\s*):then\s+$/);gA&&gA[1]!==""&&block_unexpected_character({start:tA-10,end:tA},":")}if(eA.error){const tA=eA.error.start,gA=AA.state.analysis.source.substring(tA-10,tA).match(/{(\s*):catch\s+$/);gA&&gA[1]!==""&&block_unexpected_character({start:tA-10,end:tA},":")}}mark_subtree_dynamic(AA.path),AA.next()}const binding_properties={currentTime:{valid_elements:["audio","video"],omit_in_ssr:!0,bidirectional:!0},duration:{valid_elements:["audio","video"],event:"durationchange",omit_in_ssr:!0},focused:{},paused:{valid_elements:["audio","video"],omit_in_ssr:!0,bidirectional:!0},buffered:{valid_elements:["audio","video"],omit_in_ssr:!0},seekable:{valid_elements:["audio","video"],omit_in_ssr:!0},played:{valid_elements:["audio","video"],omit_in_ssr:!0},volume:{valid_elements:["audio","video"],omit_in_ssr:!0,bidirectional:!0},muted:{valid_elements:["audio","video"],omit_in_ssr:!0,bidirectional:!0},playbackRate:{valid_elements:["audio","video"],omit_in_ssr:!0,bidirectional:!0},seeking:{valid_elements:["audio","video"],omit_in_ssr:!0},ended:{valid_elements:["audio","video"],omit_in_ssr:!0},readyState:{valid_elements:["audio","video"],omit_in_ssr:!0},videoHeight:{valid_elements:["video"],event:"resize",omit_in_ssr:!0},videoWidth:{valid_elements:["video"],event:"resize",omit_in_ssr:!0},naturalWidth:{valid_elements:["img"],event:"load",omit_in_ssr:!0},naturalHeight:{valid_elements:["img"],event:"load",omit_in_ssr:!0},activeElement:{valid_elements:["svelte:document"],omit_in_ssr:!0},fullscreenElement:{valid_elements:["svelte:document"],event:"fullscreenchange",omit_in_ssr:!0},pointerLockElement:{valid_elements:["svelte:document"],event:"pointerlockchange",omit_in_ssr:!0},visibilityState:{valid_elements:["svelte:document"],event:"visibilitychange",omit_in_ssr:!0},innerWidth:{valid_elements:["svelte:window"],omit_in_ssr:!0},innerHeight:{valid_elements:["svelte:window"],omit_in_ssr:!0},outerWidth:{valid_elements:["svelte:window"],omit_in_ssr:!0},outerHeight:{valid_elements:["svelte:window"],omit_in_ssr:!0},scrollX:{valid_elements:["svelte:window"],omit_in_ssr:!0,bidirectional:!0},scrollY:{valid_elements:["svelte:window"],omit_in_ssr:!0,bidirectional:!0},online:{valid_elements:["svelte:window"],omit_in_ssr:!0},devicePixelRatio:{valid_elements:["svelte:window"],event:"resize",omit_in_ssr:!0},clientWidth:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},clientHeight:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},offsetWidth:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},offsetHeight:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},contentRect:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},contentBoxSize:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},borderBoxSize:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},devicePixelContentBoxSize:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},indeterminate:{event:"change",bidirectional:!0,valid_elements:["input"],omit_in_ssr:!0},checked:{valid_elements:["input"],bidirectional:!0},group:{valid_elements:["input"],bidirectional:!0},this:{omit_in_ssr:!0},innerText:{invalid_elements:["svelte:window","svelte:document"],bidirectional:!0},innerHTML:{invalid_elements:["svelte:window","svelte:document"],bidirectional:!0},textContent:{invalid_elements:["svelte:window","svelte:document"],bidirectional:!0},open:{event:"toggle",bidirectional:!0,valid_elements:["details"]},value:{valid_elements:["input","textarea","select"],bidirectional:!0},files:{valid_elements:["input"],omit_in_ssr:!0,bidirectional:!0}};function BindDirective$1(eA,AA){var BA;validate_no_const_assignment(eA,eA.expression,AA.state.scope,!0);const tA=eA.expression,gA=object$1(tA);gA===null&&bind_invalid_expression(eA);const iA=AA.state.scope.get(gA.name);if(tA.type==="Identifier"&&(eA.name!=="this"&&(!iA||iA.kind!=="state"&&iA.kind!=="raw_state"&&iA.kind!=="prop"&&iA.kind!=="bindable_prop"&&iA.kind!=="each"&&iA.kind!=="store_sub"&&!iA.updated)&&bind_invalid_value(eA.expression),AA.state.analysis.runes&&(iA==null?void 0:iA.kind)==="each"&&each_item_invalid_assignment(eA),(iA==null?void 0:iA.kind)==="snippet"&&snippet_parameter_assignment(eA)),eA.name==="group"){if(!iA)throw new Error("Cannot find declaration for bind:group");const sA=[],[CA,oA]=extract_all_identifiers_from_expression(eA.expression);let QA=oA,EA=AA.path.length;for(;EA--;){const uA=AA.path[EA];if(uA.type==="EachBlock"){const cA=QA.filter(hA=>uA.metadata.declarations.has(hA.name));cA.length>0&&(uA.metadata.contains_group_binding=!0,sA.push(uA),QA=QA.filter(hA=>!cA.includes(hA)),QA.push(...extract_all_identifiers_from_expression(uA.expression)[1]))}}const rA=oA.map(uA=>AA.state.scope.get(uA.name));let lA;A:for(const[[uA,cA],hA]of AA.state.analysis.binding_groups)if(!(cA.length!==rA.length||uA!==CA)){for(let dA=0;dA<rA.length;dA++)if(rA[dA]!==cA[dA])continue A;lA=hA}lA||(lA=AA.state.scope.root.unique("binding_group"),AA.state.analysis.binding_groups.set([CA,rA],lA)),eA.metadata={binding_group_name:lA,parent_each_blocks:sA}}(iA==null?void 0:iA.kind)==="each"&&((BA=iA.metadata)!=null&&BA.inside_rest)&&bind_invalid_each_rest(iA.node,iA.node.name);const IA=AA.path.at(-1);if((IA==null?void 0:IA.type)==="RegularElement"||(IA==null?void 0:IA.type)==="SvelteElement"||(IA==null?void 0:IA.type)==="SvelteWindow"||(IA==null?void 0:IA.type)==="SvelteDocument"||(IA==null?void 0:IA.type)==="SvelteBody")if(eA.name in binding_properties){const sA=binding_properties[eA.name];if(sA.valid_elements&&!sA.valid_elements.includes(IA.name)&&bind_invalid_target(eA,eA.name,sA.valid_elements.map(CA=>`<${CA}>`).join(", ")),sA.invalid_elements&&sA.invalid_elements.includes(IA.name)){const CA=Object.entries(binding_properties).filter(([oA,QA])=>{var EA,rA;return((EA=QA.valid_elements)==null?void 0:EA.includes(IA.name))||!QA.valid_elements&&!((rA=QA.invalid_elements)!=null&&rA.includes(IA.name))}).map(([oA])=>oA).sort();bind_invalid_name(eA,eA.name,`Possible bindings for <${IA.name}> are ${CA.join(", ")}`)}if(IA.name==="input"&&eA.name!=="this"){const CA=IA.attributes.find(oA=>oA.type==="Attribute"&&oA.name==="type");CA&&!is_text_attribute(CA)?(eA.name!=="value"||CA.value===!0)&&attribute_invalid_type(CA):(eA.name==="checked"&&(CA==null?void 0:CA.value[0].data)!=="checkbox"&&bind_invalid_target(eA,eA.name,'<input type="checkbox">'),eA.name==="files"&&(CA==null?void 0:CA.value[0].data)!=="file"&&bind_invalid_target(eA,eA.name,'<input type="file">'))}if(IA.name==="select"&&eA.name!=="this"){const CA=IA.attributes.find(oA=>oA.type==="Attribute"&&oA.name==="multiple"&&!is_text_attribute(oA)&&oA.value!==!0);CA&&attribute_invalid_multiple(CA)}if(eA.name==="offsetWidth"&&is_svg(IA.name)&&bind_invalid_target(eA,eA.name,"non-<svg> elements. Use 'clientWidth' for <svg> instead"),is_content_editable_binding(eA.name)){const CA=IA.attributes.find(oA=>oA.type==="Attribute"&&oA.name==="contenteditable");CA?!is_text_attribute(CA)&&CA.value!==!0&&attribute_contenteditable_dynamic(CA):attribute_contenteditable_missing(eA)}}else{const sA=fuzzymatch(eA.name,Object.keys(binding_properties));if(sA){const CA=binding_properties[sA];(!CA.valid_elements||CA.valid_elements.includes(IA.name))&&bind_invalid_name(eA,eA.name,`Did you mean '${sA}'?`)}bind_invalid_name(eA,eA.name)}AA.next()}function CallExpression$2(eA,AA){var iA,IA;const tA=get_parent(AA.path,-1),gA=get_rune(eA,AA.state.scope);switch(gA){case null:is_safe_identifier(eA.callee,AA.state.scope)||(AA.state.analysis.needs_context=!0);break;case"$bindable":eA.arguments.length>1&&rune_invalid_arguments_length(eA,"$bindable","zero or one arguments"),(tA.type!=="AssignmentPattern"||((iA=AA.path.at(-3))==null?void 0:iA.type)!=="ObjectPattern"||((IA=AA.path.at(-4))==null?void 0:IA.type)!=="VariableDeclarator"||get_rune(AA.path.at(-4).init,AA.state.scope)!=="$props")&&bindable_invalid_location(eA);break;case"$host":eA.arguments.length>0?rune_invalid_arguments(eA,"$host"):(AA.state.ast_type==="module"||!AA.state.analysis.custom_element)&&host_invalid_placement(eA);break;case"$props":AA.state.has_props_rune&&props_duplicate(eA),AA.state.has_props_rune=!0,(tA.type!=="VariableDeclarator"||AA.state.ast_type!=="instance"||AA.state.scope!==AA.state.analysis.instance.scope)&&props_invalid_placement(eA),eA.arguments.length>0&&rune_invalid_arguments(eA,gA);break;case"$state":case"$state.raw":case"$derived":case"$derived.by":tA.type!=="VariableDeclarator"&&!(tA.type==="PropertyDefinition"&&!tA.static&&!tA.computed)&&state_invalid_placement(eA,gA),(gA==="$derived"||gA==="$derived.by")&&eA.arguments.length!==1?rune_invalid_arguments_length(eA,gA,"exactly one argument"):gA==="$state"&&eA.arguments.length>1&&rune_invalid_arguments_length(eA,gA,"zero or one arguments");break;case"$effect":case"$effect.pre":tA.type!=="ExpressionStatement"&&effect_invalid_placement(eA),eA.arguments.length!==1&&rune_invalid_arguments_length(eA,gA,"exactly one argument"),AA.state.analysis.needs_context=!0;break;case"$effect.tracking":eA.arguments.length!==0&&rune_invalid_arguments(eA,gA);break;case"$effect.root":eA.arguments.length!==1&&rune_invalid_arguments_length(eA,gA,"exactly one argument");break;case"$inspect":eA.arguments.length<1&&rune_invalid_arguments_length(eA,gA,"one or more arguments");break;case"$inspect().with":eA.arguments.length!==1&&rune_invalid_arguments_length(eA,gA,"exactly one argument");break;case"$state.snapshot":eA.arguments.length!==1&&rune_invalid_arguments_length(eA,gA,"exactly one argument");break}if(AA.state.render_tag){const BA=unwrap_optional(AA.state.render_tag.expression).arguments.findIndex(sA=>sA===eA||AA.path.includes(sA));BA!==-1&&AA.state.render_tag.metadata.args_with_call_expression.add(BA)}if(eA.callee.type==="Identifier"){const BA=AA.state.scope.get(eA.callee.name);BA!==null&&(BA.is_called=!0)}gA==="$inspect"||gA==="$derived"?AA.next({...AA.state,function_depth:AA.state.function_depth+1}):AA.next(),AA.state.expression&&(!is_pure(eA.callee,AA)||AA.state.expression.dependencies.size>0)&&(AA.state.expression.has_call=!0,AA.state.expression.has_state=!0)}function ClassBody$2(eA,AA){var gA;const tA=[];for(const iA of eA.body)if(iA.type==="PropertyDefinition"&&iA.key.type==="PrivateIdentifier"&&((gA=iA.value)==null?void 0:gA.type)==="CallExpression"){const IA=get_rune(iA.value,AA.state.scope);(IA==="$derived"||IA==="$derived.by")&&tA.push(iA.key.name)}AA.next({...AA.state,private_derived_state:tA})}function ClassDeclaration(eA,AA){AA.state.analysis.runes&&eA.id!==null&&validate_identifier_name(AA.state.scope.get(eA.id.name));const tA=AA.state.ast_type==="module"?0:1;AA.state.scope.function_depth>tA&&perf_avoid_nested_class(eA),AA.next()}function ClassDirective(eA,AA){mark_subtree_dynamic(AA.path),AA.next({...AA.state,expression:eA.metadata.expression})}function validate_attribute_name(eA){eA.name.includes(":")&&!eA.name.startsWith("xmlns:")&&!eA.name.startsWith("xlink:")&&!eA.name.startsWith("xml:")&&attribute_illegal_colon(eA)}function validate_attribute(eA,AA){var gA;if(Array.isArray(eA.value)&&eA.value.length===1&&eA.value[0].type==="ExpressionTag"&&(AA.type==="Component"||AA.type==="SvelteComponent"||AA.type==="SvelteSelf"||AA.type==="RegularElement"&&is_custom_element_node(AA))&&attribute_quoted(eA),eA.value===!0||!Array.isArray(eA.value)||eA.value.length===1)return;((gA=eA.value.at(-1))==null?void 0:gA.end)!==eA.end||attribute_unquoted_sequence(eA)}function validate_slot_attribute(eA,AA,tA=!1){const gA=eA.path.at(-2);let iA;if((gA==null?void 0:gA.type)==="SnippetBlock"){is_text_attribute(AA)||slot_attribute_invalid(AA);return}let IA=eA.path.length;for(;IA--;){const BA=eA.path[IA];!iA&&(BA.type==="Component"||BA.type==="SvelteComponent"||BA.type==="SvelteSelf"||BA.type==="SvelteElement"||BA.type==="RegularElement"&&is_custom_element_node(BA))&&(iA=BA)}if(iA){if(is_text_attribute(AA)||slot_attribute_invalid(AA),iA.type==="Component"||iA.type==="SvelteComponent"||iA.type==="SvelteSelf"){iA!==gA&&slot_attribute_invalid_placement(AA);const BA=AA.value[0].data;if(eA.state.component_slots.has(BA)&&slot_attribute_duplicate(AA,BA,iA.name),eA.state.component_slots.add(BA),BA==="default")for(const sA of iA.fragment.nodes)sA.type==="Text"&&regex_only_whitespaces.test(sA.data)||(sA.type==="RegularElement"||sA.type==="SvelteFragment")&&sA.attributes.some(CA=>CA.type==="Attribute"&&CA.name==="slot")||slot_default_duplicate(sA)}}else tA||slot_attribute_invalid_placement(AA)}function visit_component(eA,AA){mark_subtree_dynamic(AA.path);for(const BA of eA.attributes){if(BA.type!=="Attribute"&&BA.type!=="SpreadAttribute"&&BA.type!=="LetDirective"&&BA.type!=="OnDirective"&&BA.type!=="BindDirective"&&component_invalid_directive(BA),BA.type==="OnDirective"&&(BA.modifiers.length>1||BA.modifiers.some(sA=>sA!=="once"))&&event_handler_invalid_component_modifier(BA),BA.type==="Attribute"){if(AA.state.analysis.runes&&(validate_attribute(BA,eA),is_expression_attribute(BA))){const sA=get_attribute_expression(BA);if(sA.type==="SequenceExpression"){let CA=sA.start;for(;--CA>0;){const oA=AA.state.analysis.source[CA];if(oA==="(")break;oA==="{"&&attribute_invalid_sequence_expression(sA)}}}validate_attribute_name(BA),BA.name==="slot"&&validate_slot_attribute(AA,BA,!0)}BA.type==="BindDirective"&&BA.name!=="this"&&(AA.state.analysis.uses_component_bindings=!0)}const tA=determine_slot(eA)?AA.state:{...AA.state,scope:eA.metadata.scopes.default};for(const BA of eA.attributes)AA.visit(BA,BA.type==="LetDirective"?tA:AA.state);let gA=[];const iA={default:[]};for(const BA of eA.fragment.nodes){if(BA.type==="Comment"){gA.push(BA);continue}const sA=determine_slot(BA)??"default";(iA[sA]??(iA[sA]=[])).push(...gA,BA),sA!=="default"&&(gA=[])}const IA=new Set;for(const BA in iA){const sA={...AA.state,scope:eA.metadata.scopes[BA],parent_element:null,component_slots:IA};AA.visit({...eA.fragment,nodes:iA[BA]},sA)}}function Component$2(eA,AA){const tA=AA.state.scope.get(eA.name.includes(".")?eA.name.slice(0,eA.name.indexOf(".")):eA.name);eA.metadata.dynamic=AA.state.analysis.runes&&tA!==null&&(tA.kind!=="normal"||eA.name.includes(".")),visit_component(eA,AA)}function ConstTag$2(eA,AA){AA.state.analysis.runes&&validate_opening_tag(eA,AA.state,"@");const tA=AA.path.at(-1),gA=AA.path.at(-2);((tA==null?void 0:tA.type)!=="Fragment"||(gA==null?void 0:gA.type)!=="IfBlock"&&(gA==null?void 0:gA.type)!=="SvelteFragment"&&(gA==null?void 0:gA.type)!=="Component"&&(gA==null?void 0:gA.type)!=="SvelteComponent"&&(gA==null?void 0:gA.type)!=="EachBlock"&&(gA==null?void 0:gA.type)!=="AwaitBlock"&&(gA==null?void 0:gA.type)!=="SnippetBlock"&&((gA==null?void 0:gA.type)!=="RegularElement"&&(gA==null?void 0:gA.type)!=="SvelteElement"||!gA.attributes.some(iA=>iA.type==="Attribute"&&iA.name==="slot")))&&const_tag_invalid_placement(eA),AA.next()}function DebugTag$2(eA,AA){AA.state.analysis.runes&&validate_opening_tag(eA,AA.state,"@"),AA.next()}function EachBlock$2(eA,AA){validate_opening_tag(eA,AA.state,"#"),validate_block_not_empty(eA.body),validate_block_not_empty(eA.fallback);const tA=eA.context;tA.type==="Identifier"&&(tA.name==="$state"||tA.name==="$derived")&&state_invalid_placement(eA,tA.name),eA.key&&(eA.metadata.keyed=eA.key.type!=="Identifier"||!eA.index||eA.key.name!==eA.index),AA.visit(eA.expression,{...AA.state,expression:eA.metadata.expression,scope:AA.state.scope.parent}),AA.visit(eA.body),eA.key&&AA.visit(eA.key),eA.fallback&&AA.visit(eA.fallback),mark_subtree_dynamic(AA.path)}function ExportDefaultDeclaration(eA,AA){AA.state.ast_type==="instance"&&module_illegal_default_export(eA),AA.next()}function ExportNamedDeclaration$1(eA,AA){var tA;if(AA.next(),((tA=eA.declaration)==null?void 0:tA.type)==="VariableDeclaration"){AA.state.analysis.runes&&AA.state.ast_type==="instance"&&eA.declaration.kind==="let"&&legacy_export_invalid(eA);for(const gA of eA.declaration.declarations)for(const iA of extract_identifiers(gA.id)){const IA=AA.state.scope.get(iA.name);IA&&(IA.kind==="derived"&&derived_invalid_export(eA),(IA.kind==="state"||IA.kind==="raw_state")&&IA.reassigned&&state_invalid_export(eA))}}if(AA.state.analysis.runes){if(eA.declaration&&AA.state.ast_type==="instance"){if(eA.declaration.type==="FunctionDeclaration"||eA.declaration.type==="ClassDeclaration")AA.state.analysis.exports.push({name:eA.declaration.id.name,alias:null});else if(eA.declaration.kind==="const")for(const gA of eA.declaration.declarations)for(const iA of extract_identifiers(gA.id))AA.state.analysis.exports.push({name:iA.name,alias:null})}if(!AA.state.ast_type||AA.state.ast_type==="module")for(const gA of eA.specifiers){const iA=AA.state.scope.get(gA.local.name);iA&&(iA.kind==="derived"&&derived_invalid_export(eA),(iA.kind==="state"||iA.kind==="raw_state")&&iA.reassigned&&state_invalid_export(eA))}}}function ExportSpecifier(eA,AA){if(AA.state.ast_type==="instance"){if(AA.state.analysis.runes){AA.state.analysis.exports.push({name:eA.local.name,alias:eA.exported.name});const tA=AA.state.scope.get(eA.local.name);tA&&(tA.reassigned=tA.updated=!0)}}else validate_export(eA,AA.state.scope,eA.local.name)}function validate_export(eA,AA,tA){const gA=AA.get(tA);gA&&(gA.kind==="derived"&&derived_invalid_export(eA),(gA.kind==="state"||gA.kind==="raw_state")&&gA.reassigned&&state_invalid_export(eA))}function ExpressionStatement$2(eA,AA){if(eA.expression.type==="NewExpression"&&eA.expression.callee.type==="Identifier"&&eA.expression.arguments.length===1&&eA.expression.arguments[0].type==="ObjectExpression"&&eA.expression.arguments[0].properties.some(tA=>tA.type==="Property"&&tA.key.type==="Identifier"&&tA.key.name==="target")){const tA=AA.state.scope.get(eA.expression.callee.name);if((tA==null?void 0:tA.kind)==="normal"&&tA.declaration_kind==="import"){const gA=tA.initial;gA.source.value.endsWith(".svelte")&&gA.specifiers.find(iA=>iA.local.name===tA.node.name&&iA.type==="ImportDefaultSpecifier")&&legacy_component_creation(eA.expression)}}AA.next()}function ExpressionTag(eA,AA){eA.parent&&AA.state.parent_element&&(is_tag_valid_with_parent("#text",AA.state.parent_element)||node_invalid_placement(eA,"`{expression}`",AA.state.parent_element)),mark_subtree_dynamic(AA.path),AA.next({...AA.state,expression:eA.metadata.expression})}function FunctionDeclaration$1(eA,AA){AA.state.analysis.runes&&eA.id!==null&&validate_identifier_name(AA.state.scope.get(eA.id.name)),visit_function$1(eA,AA)}function FunctionExpression$1(eA,AA){visit_function$1(eA,AA)}function HtmlTag$2(eA,AA){AA.state.analysis.runes&&validate_opening_tag(eA,AA.state,"@"),mark_subtree_dynamic(AA.path),AA.next()}function get_value(eA){return call("$.get",eA)}function add_state_transformers(eA){for(const[AA,tA]of eA.state.scope.declarations)(is_state_source(tA,eA.state.analysis)||tA.kind==="derived"||tA.kind==="legacy_reactive")&&(eA.state.transform[AA]={read:tA.declaration_kind==="var"?gA=>call("$.safe_get",gA):get_value,assign:(gA,iA)=>{var BA;let IA=call("$.set",gA,iA);return((BA=eA.state.scope.get(`$${gA.name}`))==null?void 0:BA.kind)==="store_sub"&&(IA=call("$.store_unsub",IA,literal(`$${gA.name}`),id$1("$$stores"))),IA},mutate:(gA,iA)=>eA.state.analysis.runes?iA:call("$.mutate",gA,iA),update:gA=>call(gA.prefix?"$.update_pre":"$.update",gA.argument,gA.operator==="--"&&literal(-1))})}function is_state_source(eA,AA){return(eA.kind==="state"||eA.kind==="raw_state")&&(!AA.immutable||eA.reassigned||AA.accessors)}function build_getter$1(eA,AA){if(Object.hasOwn(AA.transform,eA.name)){const tA=AA.scope.get(eA.name);if(eA!==(tA==null?void 0:tA.node))return AA.transform[eA.name].read(eA)}return eA}function build_proxy_reassignment(eA,AA){return dev?call("$.proxy",eA,null_instane,AA):call("$.proxy",eA)}function get_hoisted_params(eA,AA){var IA;const tA=AA.state.scope,gA=[];function iA(BA){gA.find(sA=>sA.name===BA.name)||gA.push(BA)}for(const[BA]of tA.references){let sA=tA.get(BA);if(sA!==null&&!tA.declarations.has(BA)&&sA.initial!==eA){sA.kind==="store_sub"&&(iA(id$1(sA.node.name)),sA=tA.get(sA.node.name.slice(1)));let CA=(IA=AA.state.transform[BA])==null?void 0:IA.read(id$1(sA.node.name));CA!=null&&typeof CA!="function"&&CA.type==="MemberExpression"&&CA.object.type==="CallExpression"&&CA.object.callee.type==="Identifier"&&CA.object.callee.name==="$.get"&&CA.object.arguments[0].type==="Identifier"?iA(id$1(CA.object.arguments[0].name)):(sA.kind==="prop"||sA.kind==="bindable_prop")&&!is_prop_source(sA,AA.state)?iA(id$1("$$props")):sA.declaration_kind!=="import"&&(iA(id$1(sA.node.name)),sA.kind==="rest_prop"&&AA.state.analysis.runes&&iA(id$1("$$props")))}}return gA}function build_hoisted_params(eA,AA){const tA=get_hoisted_params(eA,AA);eA.metadata.hoisted_params=tA;const gA=[];if(eA.params.length===0)tA.length>0&&gA.push(id$1(AA.state.scope.generate("_")));else for(const iA of eA.params)gA.push(AA.visit(iA));return gA.push(...tA),gA}function get_prop_source(eA,AA,tA,gA){const iA=[id$1("$$props"),literal(tA)];let IA=0;eA.kind==="bindable_prop"&&(IA|=PROPS_IS_BINDABLE),AA.analysis.immutable&&(IA|=PROPS_IS_IMMUTABLE),AA.analysis.runes&&(IA|=PROPS_IS_RUNES),(AA.analysis.accessors||(AA.analysis.immutable?eA.reassigned||AA.analysis.runes&&eA.mutated:eA.updated))&&(IA|=PROPS_IS_UPDATED);let BA;return gA&&(is_simple_expression(gA)?BA=gA:(gA.type==="CallExpression"&&gA.callee.type==="Identifier"&&gA.arguments.length===0?BA=gA.callee:BA=thunk(gA),IA|=PROPS_IS_LAZY_INITIAL)),(IA||BA)&&(iA.push(literal(IA)),BA&&iA.push(BA)),call("$.prop",...iA)}function is_prop_source(eA,AA){return(eA.kind==="prop"||eA.kind==="bindable_prop")&&(!AA.analysis.runes||AA.analysis.accessors||eA.reassigned||eA.initial||eA.updated)}function should_proxy(eA,AA){if(!eA||eA.type==="Literal"||eA.type==="TemplateLiteral"||eA.type==="ArrowFunctionExpression"||eA.type==="FunctionExpression"||eA.type==="UnaryExpression"||eA.type==="BinaryExpression"||eA.type==="Identifier"&&eA.name==="undefined")return!1;if(eA.type==="Identifier"&&AA!==null){const tA=AA.get(eA.name);if(tA!==null&&!tA.reassigned&&tA.initial!==null&&tA.initial.type!=="FunctionDeclaration"&&tA.initial.type!=="ClassDeclaration"&&tA.initial.type!=="ImportDeclaration"&&tA.initial.type!=="EachBlock")return should_proxy(tA.initial,null)}return!0}function create_derived_block_argument(eA,AA){if(eA.type==="Identifier")return AA.state.transform[eA.name]={read:get_value},{id:eA,declarations:null};const tA=AA.visit(eA),gA=extract_identifiers(eA),iA=id$1("$$source"),IA=id$1("$$value"),BA=block([var_builder(tA,call("$.get",iA)),return_builder(object$2(gA.map(CA=>prop("init",CA,CA))))]),sA=[var_builder(IA,create_derived(AA.state,thunk(BA)))];for(const CA of gA)AA.state.transform[CA.name]={read:get_value},sA.push(var_builder(CA,create_derived(AA.state,thunk(member(call("$.get",IA),CA)))));return{id:iA,declarations:sA}}function create_derived(eA,AA){return call(eA.analysis.runes?"$.derived":"$.derived_safe_equal",AA)}function can_inline_variable(eA){var AA;return!!eA&&!eA.scope.parent&&((AA=eA.initial)==null?void 0:AA.type)==="Literal"}function Identifier$2(eA,AA){var IA,BA;let tA=AA.path.length,gA=AA.path[--tA];if(!is_reference(eA,gA))return;if(mark_subtree_dynamic(AA.path),eA.name==="arguments"&&!AA.path.some(sA=>sA.type==="FunctionDeclaration"||sA.type==="FunctionExpression")&&invalid_arguments_usage(eA),eA.name==="$$slots"&&(AA.state.analysis.uses_slots=!0),AA.state.analysis.runes&&is_rune(eA.name)&&AA.state.scope.get(eA.name)===null&&AA.state.scope.get(eA.name.slice(1))===null){let sA=eA,CA=eA.name;for(;gA.type==="MemberExpression";)gA.computed&&rune_invalid_computed_property(gA),CA+=`.${gA.property.name}`,sA=gA,gA=AA.path[--tA],is_rune(CA)||(CA==="$effect.active"&&rune_renamed(gA,"$effect.active","$effect.tracking"),CA==="$state.frozen"&&rune_renamed(gA,"$state.frozen","$state.raw"),CA==="$state.is"&&rune_removed(gA,"$state.is"),rune_invalid_name(gA,CA));gA.type!=="CallExpression"&&rune_missing_parentheses(sA)}let iA=AA.state.scope.get(eA.name);AA.state.analysis.runes||(eA.name==="$$props"&&(AA.state.analysis.uses_props=!0),eA.name==="$$restProps"&&(AA.state.analysis.uses_rest_props=!0)),iA&&(AA.state.expression&&(AA.state.expression.dependencies.add(iA),(IA=AA.state.expression).has_state||(IA.has_state=iA.kind!=="normal")),AA.state.analysis.runes&&eA!==iA.node&&AA.state.function_depth===iA.scope.function_depth&&(iA.kind==="state"&&(iA.reassigned||((BA=iA.initial)==null?void 0:BA.type)==="CallExpression"&&iA.initial.arguments.length===1&&iA.initial.arguments[0].type!=="SpreadElement"&&!should_proxy(iA.initial.arguments[0],AA.state.scope))||iA.kind==="raw_state"||iA.kind==="derived")&&(gA.type!=="AssignmentExpression"||gA.left!==eA)&&gA.type!=="UpdateExpression"&&state_referenced_locally(eA),AA.state.reactive_statement&&iA.scope===AA.state.analysis.module.scope&&iA.reassigned&&reactive_declaration_module_script_dependency(eA))}function IfBlock$2(eA,AA){validate_block_not_empty(eA.consequent),validate_block_not_empty(eA.alternate),AA.state.analysis.runes&&validate_opening_tag(eA,AA.state,eA.elseif?":":"#"),mark_subtree_dynamic(AA.path),AA.next()}function ImportDeclaration$1(eA,AA){if(AA.state.analysis.runes){const tA=eA.source.value;if(tA.startsWith("svelte/internal")&&import_svelte_internal_forbidden(eA),tA==="svelte")for(const gA of eA.specifiers)gA.type==="ImportSpecifier"&&(gA.imported.name==="beforeUpdate"||gA.imported.name==="afterUpdate")&&runes_mode_invalid_import(gA,gA.imported.name)}}function KeyBlock$2(eA,AA){validate_block_not_empty(eA.fragment),AA.state.analysis.runes&&validate_opening_tag(eA,AA.state,"#"),mark_subtree_dynamic(AA.path),AA.next()}function LabeledStatement$2(eA,AA){if(eA.label.name==="$"){const tA=AA.path.at(-1);if(AA.state.ast_type==="instance"&&tA.type==="Program"){AA.state.analysis.runes&&legacy_reactive_statement_invalid(eA);const iA={assignments:new Set,dependencies:[]};AA.next({...AA.state,reactive_statement:iA,function_depth:AA.state.scope.function_depth+1});for(const[IA,BA]of AA.state.scope.references){const sA=AA.state.scope.get(IA);if(sA!==null)for(const{node:CA,path:oA}of BA){let QA=CA,EA=oA.length-1,rA=oA.at(EA);for(;rA.type==="MemberExpression";)QA=rA,rA=oA.at(--EA);if(!(rA.type==="AssignmentExpression"&&rA.operator==="="&&rA.left===QA)){iA.dependencies.push(sA);break}}}if(AA.state.reactive_statements.set(eA,iA),eA.body.type==="ExpressionStatement"&&eA.body.expression.type==="AssignmentExpression"){let IA=extract_identifiers(eA.body.expression.left);if(eA.body.expression.left.type==="MemberExpression"){const BA=object$1(eA.body.expression.left);BA!==null&&(IA=[BA])}for(const BA of IA){const sA=AA.state.scope.get(BA.name);(sA==null?void 0:sA.kind)==="legacy_reactive"&&(sA.legacy_dependencies=Array.from(iA.dependencies))}}}else AA.state.analysis.runes||reactive_declaration_invalid_placement(eA)}AA.next()}function LetDirective$1(eA,AA){const tA=AA.path.at(-1);(tA===void 0||tA.type!=="Component"&&tA.type!=="RegularElement"&&tA.type!=="SlotElement"&&tA.type!=="SvelteElement"&&tA.type!=="SvelteComponent"&&tA.type!=="SvelteSelf"&&tA.type!=="SvelteFragment")&&let_directive_invalid_placement(eA)}function MemberExpression$2(eA,AA){if(eA.object.type==="Identifier"&&eA.property.type==="Identifier"){const tA=AA.state.scope.get(eA.object.name);(tA==null?void 0:tA.kind)==="rest_prop"&&eA.property.name.startsWith("$$")&&props_illegal_name(eA.property)}if(AA.state.expression&&!is_pure(eA,AA)&&(AA.state.expression.has_state=!0),is_safe_identifier(eA,AA.state.scope)||(AA.state.analysis.needs_context=!0),AA.state.reactive_statement){const tA=object$1(eA);if(tA!==null){const gA=AA.state.scope.get(tA.name);if(gA&&gA.kind==="normal"){const iA=AA.path.at(-1);(gA.scope===AA.state.analysis.module.scope||gA.declaration_kind==="import"||gA.initial&&gA.initial.type!=="ArrayExpression"&&gA.initial.type!=="ObjectExpression"&&gA.scope.function_depth<=1)&&iA.type!=="MemberExpression"&&iA.type!=="CallExpression"&&reactive_declaration_non_reactive_property(eA)}}}AA.next()}function NewExpression(eA,AA){eA.callee.type==="ClassExpression"&&AA.state.scope.function_depth>0&&perf_avoid_inline_class(eA),AA.state.analysis.needs_context=!0,AA.next()}function OnDirective$1(eA,AA){var gA,iA;if(AA.state.analysis.runes){const IA=(gA=AA.path.at(-1))==null?void 0:gA.type;(IA==="RegularElement"||IA==="SvelteElement")&&event_directive_deprecated(eA,eA.name)}const tA=AA.path.at(-1);((tA==null?void 0:tA.type)==="SvelteElement"||(tA==null?void 0:tA.type)==="RegularElement")&&((iA=AA.state.analysis).event_directive_node??(iA.event_directive_node=eA)),mark_subtree_dynamic(AA.path),AA.next({...AA.state,expression:eA.metadata.expression})}var lib$1={},ariaPropsMap$1={},iterationDecorator$3={},iteratorProxy$3={};Object.defineProperty(iteratorProxy$3,"__esModule",{value:!0}),iteratorProxy$3.default=void 0;function iteratorProxy$2(){var eA=this,AA=0,tA={"@@iterator":function(){return tA},next:function(){if(AA<eA.length){var iA=eA[AA];return AA=AA+1,{done:!1,value:iA}}else return{done:!0}}};return tA}iteratorProxy$3.default=iteratorProxy$2,Object.defineProperty(iterationDecorator$3,"__esModule",{value:!0}),iterationDecorator$3.default=iterationDecorator$2;var _iteratorProxy$1=_interopRequireDefault$g(iteratorProxy$3);function _interopRequireDefault$g(eA){return eA&&eA.__esModule?eA:{default:eA}}function _typeof$1(eA){"@babel/helpers - typeof";return _typeof$1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(AA){return typeof AA}:function(AA){return AA&&typeof Symbol=="function"&&AA.constructor===Symbol&&AA!==Symbol.prototype?"symbol":typeof AA},_typeof$1(eA)}function iterationDecorator$2(eA,AA){return typeof Symbol=="function"&&_typeof$1(Symbol.iterator)==="symbol"&&Object.defineProperty(eA,Symbol.iterator,{value:_iteratorProxy$1.default.bind(AA)}),eA}Object.defineProperty(ariaPropsMap$1,"__esModule",{value:!0}),ariaPropsMap$1.default=void 0;var _iterationDecorator$8=_interopRequireDefault$f(iterationDecorator$3);function _interopRequireDefault$f(eA){return eA&&eA.__esModule?eA:{default:eA}}function _slicedToArray$8(eA,AA){return _arrayWithHoles$8(eA)||_iterableToArrayLimit$8(eA,AA)||_unsupportedIterableToArray$8(eA,AA)||_nonIterableRest$8()}function _nonIterableRest$8(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
29
+ `):UA=String.fromCharCode(KA),this.options.locations&&(++this.curLine,this.lineStart=this.pos),UA},SA.jsx_readString=function(YA){for(var UA="",KA=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var qA=this.input.charCodeAt(this.pos);if(qA===YA)break;qA===38?(UA+=this.input.slice(KA,this.pos),UA+=this.jsx_readEntity(),KA=this.pos):aA(qA)?(UA+=this.input.slice(KA,this.pos),UA+=this.jsx_readNewLine(!1),KA=this.pos):++this.pos}return UA+=this.input.slice(KA,this.pos++),this.finishToken(xA.string,UA)},SA.jsx_readEntity=function(){var YA,UA="",KA=0,qA=this.input[this.pos];qA!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");for(var $A=++this.pos;this.pos<this.input.length&&KA++<10;){if((qA=this.input[this.pos++])===";"){UA[0]==="#"?UA[1]==="x"?(UA=UA.substr(2),A$1.test(UA)&&(YA=String.fromCharCode(parseInt(UA,16)))):(UA=UA.substr(1),S$1.test(UA)&&(YA=String.fromCharCode(parseInt(UA,10)))):YA=g$1[UA];break}UA+=qA}return YA||(this.pos=$A,"&")},SA.jsx_readWord=function(){var YA,UA=this.pos;do YA=this.input.charCodeAt(++this.pos);while(nA(YA)||YA===45);return this.finishToken(kA.jsxName,this.input.slice(UA,this.pos))},SA.jsx_parseIdentifier=function(){var YA=this.startNode();return this.type===kA.jsxName?YA.name=this.value:this.type.keyword?YA.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(YA,"JSXIdentifier")},SA.jsx_parseNamespacedName=function(){var YA=this.start,UA=this.startLoc,KA=this.jsx_parseIdentifier();if(!DA.allowNamespaces||!this.eat(xA.colon))return KA;var qA=this.startNodeAt(YA,UA);return qA.namespace=KA,qA.name=this.jsx_parseIdentifier(),this.finishNode(qA,"JSXNamespacedName")},SA.jsx_parseElementName=function(){if(this.type===kA.jsxTagEnd)return"";var YA=this.start,UA=this.startLoc,KA=this.jsx_parseNamespacedName();for(this.type!==xA.dot||KA.type!=="JSXNamespacedName"||DA.allowNamespacedObjects||this.unexpected();this.eat(xA.dot);){var qA=this.startNodeAt(YA,UA);qA.object=KA,qA.property=this.jsx_parseIdentifier(),KA=this.finishNode(qA,"JSXMemberExpression")}return KA},SA.jsx_parseAttributeValue=function(){switch(this.type){case xA.braceL:var YA=this.jsx_parseExpressionContainer();return YA.expression.type==="JSXEmptyExpression"&&this.raise(YA.start,"JSX attributes must only be assigned a non-empty expression"),YA;case kA.jsxTagStart:case xA.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}},SA.jsx_parseEmptyExpression=function(){var YA=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(YA,"JSXEmptyExpression",this.start,this.startLoc)},SA.jsx_parseExpressionContainer=function(){var YA=this.startNode();return this.next(),YA.expression=this.type===xA.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(xA.braceR),this.finishNode(YA,"JSXExpressionContainer")},SA.jsx_parseAttribute=function(){var YA=this.startNode();return this.eat(xA.braceL)?(this.expect(xA.ellipsis),YA.argument=this.parseMaybeAssign(),this.expect(xA.braceR),this.finishNode(YA,"JSXSpreadAttribute")):(YA.name=this.jsx_parseNamespacedName(),YA.value=this.eat(xA.eq)?this.jsx_parseAttributeValue():null,this.finishNode(YA,"JSXAttribute"))},SA.jsx_parseOpeningElementAt=function(YA,UA){var KA=this.startNodeAt(YA,UA);KA.attributes=[];var qA=this.jsx_parseElementName();for(qA&&(KA.name=qA);this.type!==xA.slash&&this.type!==kA.jsxTagEnd;)KA.attributes.push(this.jsx_parseAttribute());return KA.selfClosing=this.eat(xA.slash),this.expect(kA.jsxTagEnd),this.finishNode(KA,qA?"JSXOpeningElement":"JSXOpeningFragment")},SA.jsx_parseClosingElementAt=function(YA,UA){var KA=this.startNodeAt(YA,UA),qA=this.jsx_parseElementName();return qA&&(KA.name=qA),this.expect(kA.jsxTagEnd),this.finishNode(KA,qA?"JSXClosingElement":"JSXClosingFragment")},SA.jsx_parseElementAt=function(YA,UA){var KA=this.startNodeAt(YA,UA),qA=[],$A=this.jsx_parseOpeningElementAt(YA,UA),VA=null;if(!$A.selfClosing){A:for(;;)switch(this.type){case kA.jsxTagStart:if(YA=this.start,UA=this.startLoc,this.next(),this.eat(xA.slash)){VA=this.jsx_parseClosingElementAt(YA,UA);break A}qA.push(this.jsx_parseElementAt(YA,UA));break;case kA.jsxText:qA.push(this.parseExprAtom());break;case xA.braceL:qA.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}C$1(VA.name)!==C$1($A.name)&&this.raise(VA.start,"Expected corresponding JSX closing tag for <"+C$1($A.name)+">")}var PA=$A.name?"Element":"Fragment";return KA["opening"+PA]=$A,KA["closing"+PA]=VA,KA.children=qA,this.type===xA.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(KA,"JSX"+PA)},SA.jsx_parseText=function(){var YA=this.parseLiteral(this.value);return YA.type="JSXText",YA},SA.jsx_parseElement=function(){var YA=this.start,UA=this.startLoc;return this.next(),this.jsx_parseElementAt(YA,UA)},GA}(FA)}(sA,CA,BA,eA==null?void 0:eA.jsx),BA=function(RA,NA,FA){var vA=NA.tokTypes,xA=FA.tokTypes;return function(kA){function aA(){return kA.apply(this,arguments)||this}o$1(aA,kA);var nA=aA.prototype;return nA.parseMaybeImportAttributes=function(DA){if(this.type===xA._with||this.type===vA.assert){this.next();var yA=this.parseImportAttributes();yA&&(DA.attributes=yA)}},nA.parseImportAttributes=function(){this.expect(xA.braceL);var DA=this.parseWithEntries();return this.expect(xA.braceR),DA},nA.parseWithEntries=function(){var DA=[],yA=new Set;do{if(this.type===xA.braceR)break;var GA,SA=this.startNode();GA=this.type===xA.string?this.parseLiteral(this.value):this.parseIdent(!0),this.next(),SA.key=GA,yA.has(SA.key.name)&&this.raise(this.pos,"Duplicated key in attributes"),yA.add(SA.key.name),this.type!==xA.string&&this.raise(this.pos,"Only string is supported as an attribute value"),SA.value=this.parseLiteral(this.value),DA.push(this.finishNode(SA,"ImportAttribute"))}while(this.eat(xA.comma));return DA},aA}(RA)}(BA,CA,sA);var JA=function(RA){function NA(aA,nA,DA){var yA;return(yA=RA.call(this,aA,nA,DA)||this).preValue=null,yA.preToken=null,yA.isLookahead=!1,yA.isAmbientContext=!1,yA.inAbstractClass=!1,yA.inType=!1,yA.inDisallowConditionalTypesContext=!1,yA.maybeInArrowParameters=!1,yA.shouldParseArrowReturnType=void 0,yA.shouldParseAsyncArrowReturnType=void 0,yA.decoratorStack=[[]],yA.importsStack=[[]],yA.importOrExportOuterKind=void 0,yA.tsParseConstModifier=yA.tsParseModifiers.bind(function(GA){if(GA===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return GA}(yA),{allowedModifiers:["const"],disallowedModifiers:["in","out"],errorTemplate:b$1.InvalidModifierOnTypeParameterPositions}),yA}o$1(NA,RA);var FA,vA,xA,kA=NA.prototype;return kA.getTokenFromCodeInType=function(aA){return aA===62||aA===60?this.finishOp(oA.relational,1):RA.prototype.getTokenFromCode.call(this,aA)},kA.readToken=function(aA){if(!this.inType){var nA=this.curContext();if(nA===dA.tc_expr)return this.jsx_readToken();if(nA===dA.tc_oTag||nA===dA.tc_cTag){if(EA(aA))return this.jsx_readWord();if(aA==62)return++this.pos,this.finishToken(hA.jsxTagEnd);if((aA===34||aA===39)&&nA==dA.tc_oTag)return this.jsx_readString(aA)}if(aA===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33)return++this.pos,this.finishToken(hA.jsxTagStart)}return RA.prototype.readToken.call(this,aA)},kA.getTokenFromCode=function(aA){return this.inType?this.getTokenFromCodeInType(aA):aA===64?(++this.pos,this.finishToken(hA.at)):RA.prototype.getTokenFromCode.call(this,aA)},kA.isAbstractClass=function(){return this.ts_isContextual(hA.abstract)&&this.lookahead().type===oA._class},kA.finishNode=function(aA,nA){return aA.type!==""&&aA.end!==0?aA:RA.prototype.finishNode.call(this,aA,nA)},kA.tryParse=function(aA,nA){nA===void 0&&(nA=this.cloneCurLookaheadState());var DA={node:null};try{return{node:aA(function(GA){throw GA===void 0&&(GA=null),DA.node=GA,DA}),error:null,thrown:!1,aborted:!1,failState:null}}catch(GA){var yA=this.getCurLookaheadState();if(this.setLookaheadState(nA),GA instanceof SyntaxError)return{node:null,error:GA,thrown:!0,aborted:!1,failState:yA};if(GA===DA)return{node:DA.node,error:null,thrown:!1,aborted:!0,failState:yA};throw GA}},kA.setOptionalParametersError=function(aA,nA){var DA;aA.optionalParametersLoc=(DA=nA==null?void 0:nA.loc)!=null?DA:this.startLoc},kA.reScan_lt_gt=function(){this.type===oA.relational&&(this.pos-=1,this.readToken_lt_gt(this.fullCharCodeAtPos()))},kA.reScan_lt=function(){var aA=this.type;return aA===oA.bitShift?(this.pos-=2,this.finishOp(oA.relational,1),oA.relational):aA},kA.resetEndLocation=function(aA,nA){nA===void 0&&(nA=this.lastTokEndLoc),aA.end=nA.column,aA.loc.end=nA,this.options.ranges&&(aA.range[1]=nA.column)},kA.startNodeAtNode=function(aA){return RA.prototype.startNodeAt.call(this,aA.start,aA.loc.start)},kA.nextTokenStart=function(){return this.nextTokenStartSince(this.pos)},kA.tsHasSomeModifiers=function(aA,nA){return nA.some(function(DA){return O$1(DA)?aA.accessibility===DA:!!aA[DA]})},kA.tsIsStartOfStaticBlocks=function(){return this.isContextual("static")&&this.lookaheadCharCode()===123},kA.tsCheckForInvalidTypeCasts=function(aA){var nA=this;aA.forEach(function(DA){(DA==null?void 0:DA.type)==="TSTypeCastExpression"&&nA.raise(DA.typeAnnotation.start,b$1.UnexpectedTypeAnnotation)})},kA.atPossibleAsyncArrow=function(aA){return aA.type==="Identifier"&&aA.name==="async"&&this.lastTokEndLoc.column===aA.end&&!this.canInsertSemicolon()&&aA.end-aA.start==5&&aA.start===this.potentialArrowAt},kA.tsIsIdentifier=function(){return fA(this.type)},kA.tsTryParseTypeOrTypePredicateAnnotation=function(){return this.match(oA.colon)?this.tsParseTypeOrTypePredicateAnnotation(oA.colon):void 0},kA.tsTryParseGenericAsyncArrowFunction=function(aA,nA,DA){var yA=this;if(this.tsMatchLeftRelational()){var GA=this.maybeInArrowParameters;this.maybeInArrowParameters=!0;var SA=this.tsTryParseAndCatch(function(){var YA=yA.startNodeAt(aA,nA);return YA.typeParameters=yA.tsParseTypeParameters(),RA.prototype.parseFunctionParams.call(yA,YA),YA.returnType=yA.tsTryParseTypeOrTypePredicateAnnotation(),yA.expect(oA.arrow),YA});if(this.maybeInArrowParameters=GA,SA)return RA.prototype.parseArrowExpression.call(this,SA,null,!0,DA)}},kA.tsParseTypeArgumentsInExpression=function(){if(this.reScan_lt()===oA.relational)return this.tsParseTypeArguments()},kA.tsInNoContext=function(aA){var nA=this.context;this.context=[nA[0]];try{return aA()}finally{this.context=nA}},kA.tsTryParseTypeAnnotation=function(){return this.match(oA.colon)?this.tsParseTypeAnnotation():void 0},kA.isUnparsedContextual=function(aA,nA){var DA=aA+nA.length;if(this.input.slice(aA,DA)===nA){var yA=this.input.charCodeAt(DA);return!(cA(yA)||(64512&yA)==55296)}return!1},kA.isAbstractConstructorSignature=function(){return this.ts_isContextual(hA.abstract)&&this.lookahead().type===oA._new},kA.nextTokenStartSince=function(aA){return E$1.lastIndex=aA,E$1.test(this.input)?E$1.lastIndex:aA},kA.lookaheadCharCode=function(){return this.input.charCodeAt(this.nextTokenStart())},kA.compareLookaheadState=function(aA,nA){for(var DA=0,yA=Object.keys(aA);DA<yA.length;DA++){var GA=yA[DA];if(aA[GA]!==nA[GA])return!1}return!0},kA.createLookaheadState=function(){this.value=null,this.context=[this.curContext()]},kA.getCurLookaheadState=function(){return{endLoc:this.endLoc,lastTokEnd:this.lastTokEnd,lastTokStart:this.lastTokStart,lastTokStartLoc:this.lastTokStartLoc,pos:this.pos,value:this.value,type:this.type,start:this.start,end:this.end,context:this.context,startLoc:this.startLoc,lastTokEndLoc:this.lastTokEndLoc,curLine:this.curLine,lineStart:this.lineStart,curPosition:this.curPosition,containsEsc:this.containsEsc}},kA.cloneCurLookaheadState=function(){return{pos:this.pos,value:this.value,type:this.type,start:this.start,end:this.end,context:this.context&&this.context.slice(),startLoc:this.startLoc,lastTokEndLoc:this.lastTokEndLoc,endLoc:this.endLoc,lastTokEnd:this.lastTokEnd,lastTokStart:this.lastTokStart,lastTokStartLoc:this.lastTokStartLoc,curLine:this.curLine,lineStart:this.lineStart,curPosition:this.curPosition,containsEsc:this.containsEsc}},kA.setLookaheadState=function(aA){this.pos=aA.pos,this.value=aA.value,this.endLoc=aA.endLoc,this.lastTokEnd=aA.lastTokEnd,this.lastTokStart=aA.lastTokStart,this.lastTokStartLoc=aA.lastTokStartLoc,this.type=aA.type,this.start=aA.start,this.end=aA.end,this.context=aA.context,this.startLoc=aA.startLoc,this.lastTokEndLoc=aA.lastTokEndLoc,this.curLine=aA.curLine,this.lineStart=aA.lineStart,this.curPosition=aA.curPosition,this.containsEsc=aA.containsEsc},kA.tsLookAhead=function(aA){var nA=this.getCurLookaheadState(),DA=aA();return this.setLookaheadState(nA),DA},kA.lookahead=function(aA){var nA=this.getCurLookaheadState();if(this.createLookaheadState(),this.isLookahead=!0,aA!==void 0)for(var DA=0;DA<aA;DA++)this.nextToken();else this.nextToken();this.isLookahead=!1;var yA=this.getCurLookaheadState();return this.setLookaheadState(nA),yA},kA.readWord=function(){var aA=this.readWord1(),nA=oA.name;return this.keywords.test(aA)?nA=QA[aA]:new RegExp(pA).test(aA)&&(nA=hA[aA]),this.finishToken(nA,aA)},kA.skipBlockComment=function(){var aA;this.isLookahead||(aA=this.options.onComment&&this.curPosition());var nA=this.pos,DA=this.input.indexOf("*/",this.pos+=2);if(DA===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=DA+2,this.options.locations)for(var yA,GA=nA;(yA=bA(this.input,GA,this.pos))>-1;)++this.curLine,GA=this.lineStart=yA;this.isLookahead||this.options.onComment&&this.options.onComment(!0,this.input.slice(nA+2,DA),nA,this.pos,aA,this.curPosition())},kA.skipLineComment=function(aA){var nA,DA=this.pos;this.isLookahead||(nA=this.options.onComment&&this.curPosition());for(var yA=this.input.charCodeAt(this.pos+=aA);this.pos<this.input.length&&!lA(yA);)yA=this.input.charCodeAt(++this.pos);this.isLookahead||this.options.onComment&&this.options.onComment(!1,this.input.slice(DA+aA,this.pos),DA,this.pos,nA,this.curPosition())},kA.finishToken=function(aA,nA){this.preValue=this.value,this.preToken=this.type,this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var DA=this.type;this.type=aA,this.value=nA,this.isLookahead||this.updateContext(DA)},kA.resetStartLocation=function(aA,nA,DA){aA.start=nA,aA.loc.start=DA,this.options.ranges&&(aA.range[0]=nA)},kA.isLineTerminator=function(){return this.eat(oA.semi)||RA.prototype.canInsertSemicolon.call(this)},kA.hasFollowingLineBreak=function(){return x$1.lastIndex=this.end,x$1.test(this.input)},kA.addExtra=function(aA,nA,DA,yA){if(yA===void 0&&(yA=!0),aA){var GA=aA.extra=aA.extra||{};yA?GA[nA]=DA:Object.defineProperty(GA,nA,{enumerable:yA,value:DA})}},kA.isLiteralPropertyName=function(){return wA(this.type)},kA.hasPrecedingLineBreak=function(){return rA.test(this.input.slice(this.lastTokEndLoc.index,this.start))},kA.createIdentifier=function(aA,nA){return aA.name=nA,this.finishNode(aA,"Identifier")},kA.resetStartLocationFromNode=function(aA,nA){this.resetStartLocation(aA,nA.start,nA.loc.start)},kA.isThisParam=function(aA){return aA.type==="Identifier"&&aA.name==="this"},kA.isLookaheadContextual=function(aA){var nA=this.nextTokenStart();return this.isUnparsedContextual(nA,aA)},kA.ts_type_isContextual=function(aA,nA){return aA===nA&&!this.containsEsc},kA.ts_isContextual=function(aA){return this.type===aA&&!this.containsEsc},kA.ts_isContextualWithState=function(aA,nA){return aA.type===nA&&!aA.containsEsc},kA.isContextualWithState=function(aA,nA){return nA.type===oA.name&&nA.value===aA&&!nA.containsEsc},kA.tsIsStartOfMappedType=function(){return this.next(),this.eat(oA.plusMin)?this.ts_isContextual(hA.readonly):(this.ts_isContextual(hA.readonly)&&this.next(),!!this.match(oA.bracketL)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(oA._in))))},kA.tsInDisallowConditionalTypesContext=function(aA){var nA=this.inDisallowConditionalTypesContext;this.inDisallowConditionalTypesContext=!0;try{return aA()}finally{this.inDisallowConditionalTypesContext=nA}},kA.tsTryParseType=function(){return this.tsEatThenParseType(oA.colon)},kA.match=function(aA){return this.type===aA},kA.matchJsx=function(aA){return this.type===CA.tokTypes[aA]},kA.ts_eatWithState=function(aA,nA,DA){if(aA===DA.type){for(var yA=0;yA<nA;yA++)this.next();return!0}return!1},kA.ts_eatContextualWithState=function(aA,nA,DA){if(pA.test(aA)){if(this.ts_isContextualWithState(DA,hA[aA])){for(var yA=0;yA<nA;yA++)this.next();return!0}return!1}if(!this.isContextualWithState(aA,DA))return!1;for(var GA=0;GA<nA;GA++)this.next();return!0},kA.canHaveLeadingDecorator=function(){return this.match(oA._class)},kA.eatContextual=function(aA){return pA.test(aA)?!!this.ts_isContextual(hA[aA])&&(this.next(),!0):RA.prototype.eatContextual.call(this,aA)},kA.tsIsExternalModuleReference=function(){return this.isContextual("require")&&this.lookaheadCharCode()===40},kA.tsParseExternalModuleReference=function(){var aA=this.startNode();return this.expectContextual("require"),this.expect(oA.parenL),this.match(oA.string)||this.unexpected(),aA.expression=this.parseExprAtom(),this.expect(oA.parenR),this.finishNode(aA,"TSExternalModuleReference")},kA.tsParseEntityName=function(aA){aA===void 0&&(aA=!0);for(var nA=this.parseIdent(aA);this.eat(oA.dot);){var DA=this.startNodeAtNode(nA);DA.left=nA,DA.right=this.parseIdent(aA),nA=this.finishNode(DA,"TSQualifiedName")}return nA},kA.tsParseEnumMember=function(){var aA=this.startNode();return aA.id=this.match(oA.string)?this.parseLiteral(this.value):this.parseIdent(!0),this.eat(oA.eq)&&(aA.initializer=this.parseMaybeAssign()),this.finishNode(aA,"TSEnumMember")},kA.tsParseEnumDeclaration=function(aA,nA){return nA===void 0&&(nA={}),nA.const&&(aA.const=!0),nA.declare&&(aA.declare=!0),this.expectContextual("enum"),aA.id=this.parseIdent(),this.checkLValSimple(aA.id),this.expect(oA.braceL),aA.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(oA.braceR),this.finishNode(aA,"TSEnumDeclaration")},kA.tsParseModuleBlock=function(){var aA=this.startNode();for(RA.prototype.enterScope.call(this,512),this.expect(oA.braceL),aA.body=[];this.type!==oA.braceR;){var nA=this.parseStatement(null,!0);aA.body.push(nA)}return this.next(),RA.prototype.exitScope.call(this),this.finishNode(aA,"TSModuleBlock")},kA.tsParseAmbientExternalModuleDeclaration=function(aA){return this.ts_isContextual(hA.global)?(aA.global=!0,aA.id=this.parseIdent()):this.match(oA.string)?aA.id=this.parseLiteral(this.value):this.unexpected(),this.match(oA.braceL)?(RA.prototype.enterScope.call(this,f$1),aA.body=this.tsParseModuleBlock(),RA.prototype.exitScope.call(this)):RA.prototype.semicolon.call(this),this.finishNode(aA,"TSModuleDeclaration")},kA.tsTryParseDeclare=function(aA){var nA=this;if(!this.isLineTerminator()){var DA,yA=this.type;return this.isContextual("let")&&(yA=oA._var,DA="let"),this.tsInAmbientContext(function(){if(yA===oA._function)return aA.declare=!0,nA.parseFunctionStatement(aA,!1,!0);if(yA===oA._class)return aA.declare=!0,nA.parseClass(aA,!0);if(yA===hA.enum)return nA.tsParseEnumDeclaration(aA,{declare:!0});if(yA===hA.global)return nA.tsParseAmbientExternalModuleDeclaration(aA);if(yA===oA._const||yA===oA._var)return nA.match(oA._const)&&nA.isLookaheadContextual("enum")?(nA.expect(oA._const),nA.tsParseEnumDeclaration(aA,{const:!0,declare:!0})):(aA.declare=!0,nA.parseVarStatement(aA,DA||nA.value,!0));if(yA===hA.interface){var GA=nA.tsParseInterfaceDeclaration(aA,{declare:!0});if(GA)return GA}return fA(yA)?nA.tsParseDeclaration(aA,nA.value,!0):void 0})}},kA.tsIsListTerminator=function(aA){switch(aA){case"EnumMembers":case"TypeMembers":return this.match(oA.braceR);case"HeritageClauseElement":return this.match(oA.braceL);case"TupleElementTypes":return this.match(oA.bracketR);case"TypeParametersOrArguments":return this.tsMatchRightRelational()}},kA.tsParseDelimitedListWorker=function(aA,nA,DA,yA){for(var GA=[],SA=-1;!this.tsIsListTerminator(aA);){SA=-1;var YA=nA();if(YA==null)return;if(GA.push(YA),!this.eat(oA.comma)){if(this.tsIsListTerminator(aA))break;return void(DA&&this.expect(oA.comma))}SA=this.lastTokStart}return yA&&(yA.value=SA),GA},kA.tsParseDelimitedList=function(aA,nA,DA){return function(yA){if(yA==null)throw new Error("Unexpected "+yA+" value.");return yA}(this.tsParseDelimitedListWorker(aA,nA,!0,DA))},kA.tsParseBracketedList=function(aA,nA,DA,yA,GA){yA||this.expect(DA?oA.bracketL:oA.relational);var SA=this.tsParseDelimitedList(aA,nA,GA);return this.expect(DA?oA.bracketR:oA.relational),SA},kA.tsParseTypeParameterName=function(){return this.parseIdent().name},kA.tsEatThenParseType=function(aA){return this.match(aA)?this.tsNextThenParseType():void 0},kA.tsExpectThenParseType=function(aA){var nA=this;return this.tsDoThenParseType(function(){return nA.expect(aA)})},kA.tsNextThenParseType=function(){var aA=this;return this.tsDoThenParseType(function(){return aA.next()})},kA.tsDoThenParseType=function(aA){var nA=this;return this.tsInType(function(){return aA(),nA.tsParseType()})},kA.tsSkipParameterStart=function(){if(fA(this.type)||this.match(oA._this))return this.next(),!0;if(this.match(oA.braceL))try{return this.parseObj(!0),!0}catch{return!1}if(this.match(oA.bracketL)){this.next();try{return this.parseBindingList(oA.bracketR,!0,!0),!0}catch{return!1}}return!1},kA.tsIsUnambiguouslyStartOfFunctionType=function(){return this.next(),!!(this.match(oA.parenR)||this.match(oA.ellipsis)||this.tsSkipParameterStart()&&(this.match(oA.colon)||this.match(oA.comma)||this.match(oA.question)||this.match(oA.eq)||this.match(oA.parenR)&&(this.next(),this.match(oA.arrow))))},kA.tsIsStartOfFunctionType=function(){return!!this.tsMatchLeftRelational()||this.match(oA.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))},kA.tsInAllowConditionalTypesContext=function(aA){var nA=this.inDisallowConditionalTypesContext;this.inDisallowConditionalTypesContext=!1;try{return aA()}finally{this.inDisallowConditionalTypesContext=nA}},kA.tsParseBindingListForSignature=function(){var aA=this;return RA.prototype.parseBindingList.call(this,oA.parenR,!0,!0).map(function(nA){return nA.type!=="Identifier"&&nA.type!=="RestElement"&&nA.type!=="ObjectPattern"&&nA.type!=="ArrayPattern"&&aA.raise(nA.start,b$1.UnsupportedSignatureParameterKind(nA.type)),nA})},kA.tsParseTypePredicateAsserts=function(){if(this.type!==hA.asserts)return!1;var aA=this.containsEsc;return this.next(),!(!fA(this.type)&&!this.match(oA._this)||(aA&&this.raise(this.lastTokStart,"Escape sequence in keyword asserts"),0))},kA.tsParseThisTypeNode=function(){var aA=this.startNode();return this.next(),this.finishNode(aA,"TSThisType")},kA.tsParseTypeAnnotation=function(aA,nA){var DA=this;return aA===void 0&&(aA=!0),nA===void 0&&(nA=this.startNode()),this.tsInType(function(){aA&&DA.expect(oA.colon),nA.typeAnnotation=DA.tsParseType()}),this.finishNode(nA,"TSTypeAnnotation")},kA.tsParseThisTypePredicate=function(aA){this.next();var nA=this.startNodeAtNode(aA);return nA.parameterName=aA,nA.typeAnnotation=this.tsParseTypeAnnotation(!1),nA.asserts=!1,this.finishNode(nA,"TSTypePredicate")},kA.tsParseThisTypeOrThisTypePredicate=function(){var aA=this.tsParseThisTypeNode();return this.isContextual("is")&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(aA):aA},kA.tsParseTypePredicatePrefix=function(){var aA=this.parseIdent();if(this.isContextual("is")&&!this.hasPrecedingLineBreak())return this.next(),aA},kA.tsParseTypeOrTypePredicateAnnotation=function(aA){var nA=this;return this.tsInType(function(){var DA=nA.startNode();nA.expect(aA);var yA=nA.startNode(),GA=!!nA.tsTryParse(nA.tsParseTypePredicateAsserts.bind(nA));if(GA&&nA.match(oA._this)){var SA=nA.tsParseThisTypeOrThisTypePredicate();return SA.type==="TSThisType"?(yA.parameterName=SA,yA.asserts=!0,yA.typeAnnotation=null,SA=nA.finishNode(yA,"TSTypePredicate")):(nA.resetStartLocationFromNode(SA,yA),SA.asserts=!0),DA.typeAnnotation=SA,nA.finishNode(DA,"TSTypeAnnotation")}var YA=nA.tsIsIdentifier()&&nA.tsTryParse(nA.tsParseTypePredicatePrefix.bind(nA));if(!YA)return GA?(yA.parameterName=nA.parseIdent(),yA.asserts=GA,yA.typeAnnotation=null,DA.typeAnnotation=nA.finishNode(yA,"TSTypePredicate"),nA.finishNode(DA,"TSTypeAnnotation")):nA.tsParseTypeAnnotation(!1,DA);var UA=nA.tsParseTypeAnnotation(!1);return yA.parameterName=YA,yA.typeAnnotation=UA,yA.asserts=GA,DA.typeAnnotation=nA.finishNode(yA,"TSTypePredicate"),nA.finishNode(DA,"TSTypeAnnotation")})},kA.tsFillSignature=function(aA,nA){var DA=aA===oA.arrow;nA.typeParameters=this.tsTryParseTypeParameters(),this.expect(oA.parenL),nA.parameters=this.tsParseBindingListForSignature(),(DA||this.match(aA))&&(nA.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(aA))},kA.tsTryNextParseConstantContext=function(){if(this.lookahead().type!==oA._const)return null;this.next();var aA=this.tsParseTypeReference();return aA.typeParameters&&this.raise(aA.typeName.start,b$1.CannotFindName({name:"const"})),aA},kA.tsParseFunctionOrConstructorType=function(aA,nA){var DA=this,yA=this.startNode();return aA==="TSConstructorType"&&(yA.abstract=!!nA,nA&&this.next(),this.next()),this.tsInAllowConditionalTypesContext(function(){return DA.tsFillSignature(oA.arrow,yA)}),this.finishNode(yA,aA)},kA.tsParseUnionOrIntersectionType=function(aA,nA,DA){var yA=this.startNode(),GA=this.eat(DA),SA=[];do SA.push(nA());while(this.eat(DA));return SA.length!==1||GA?(yA.types=SA,this.finishNode(yA,aA)):SA[0]},kA.tsCheckTypeAnnotationForReadOnly=function(aA){switch(aA.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(aA.start,b$1.UnexpectedReadonly)}},kA.tsParseTypeOperator=function(){var aA=this.startNode(),nA=this.value;return this.next(),aA.operator=nA,aA.typeAnnotation=this.tsParseTypeOperatorOrHigher(),nA==="readonly"&&this.tsCheckTypeAnnotationForReadOnly(aA),this.finishNode(aA,"TSTypeOperator")},kA.tsParseConstraintForInferType=function(){var aA=this;if(this.eat(oA._extends)){var nA=this.tsInDisallowConditionalTypesContext(function(){return aA.tsParseType()});if(this.inDisallowConditionalTypesContext||!this.match(oA.question))return nA}},kA.tsParseInferType=function(){var aA=this,nA=this.startNode();this.expectContextual("infer");var DA=this.startNode();return DA.name=this.tsParseTypeParameterName(),DA.constraint=this.tsTryParse(function(){return aA.tsParseConstraintForInferType()}),nA.typeParameter=this.finishNode(DA,"TSTypeParameter"),this.finishNode(nA,"TSInferType")},kA.tsParseLiteralTypeNode=function(){var aA=this,nA=this.startNode();return nA.literal=function(){switch(aA.type){case oA.num:case oA.string:case oA._true:case oA._false:return aA.parseExprAtom();default:aA.unexpected()}}(),this.finishNode(nA,"TSLiteralType")},kA.tsParseImportType=function(){var aA=this.startNode();return this.expect(oA._import),this.expect(oA.parenL),this.match(oA.string)||this.raise(this.start,b$1.UnsupportedImportTypeArgument),aA.argument=this.parseExprAtom(),this.expect(oA.parenR),this.eat(oA.dot)&&(aA.qualifier=this.tsParseEntityName()),this.tsMatchLeftRelational()&&(aA.typeParameters=this.tsParseTypeArguments()),this.finishNode(aA,"TSImportType")},kA.tsParseTypeQuery=function(){var aA=this.startNode();return this.expect(oA._typeof),aA.exprName=this.match(oA._import)?this.tsParseImportType():this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.tsMatchLeftRelational()&&(aA.typeParameters=this.tsParseTypeArguments()),this.finishNode(aA,"TSTypeQuery")},kA.tsParseMappedTypeParameter=function(){var aA=this.startNode();return aA.name=this.tsParseTypeParameterName(),aA.constraint=this.tsExpectThenParseType(oA._in),this.finishNode(aA,"TSTypeParameter")},kA.tsParseMappedType=function(){var aA=this.startNode();return this.expect(oA.braceL),this.match(oA.plusMin)?(aA.readonly=this.value,this.next(),this.expectContextual("readonly")):this.eatContextual("readonly")&&(aA.readonly=!0),this.expect(oA.bracketL),aA.typeParameter=this.tsParseMappedTypeParameter(),aA.nameType=this.eatContextual("as")?this.tsParseType():null,this.expect(oA.bracketR),this.match(oA.plusMin)?(aA.optional=this.value,this.next(),this.expect(oA.question)):this.eat(oA.question)&&(aA.optional=!0),aA.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(oA.braceR),this.finishNode(aA,"TSMappedType")},kA.tsParseTypeLiteral=function(){var aA=this.startNode();return aA.members=this.tsParseObjectTypeMembers(),this.finishNode(aA,"TSTypeLiteral")},kA.tsParseTupleElementType=function(){var aA=this.startLoc,nA=this.start,DA=this.eat(oA.ellipsis),yA=this.tsParseType(),GA=this.eat(oA.question);if(this.eat(oA.colon)){var SA=this.startNodeAtNode(yA);SA.optional=GA,yA.type!=="TSTypeReference"||yA.typeParameters||yA.typeName.type!=="Identifier"?(this.raise(yA.start,b$1.InvalidTupleMemberLabel),SA.label=yA):SA.label=yA.typeName,SA.elementType=this.tsParseType(),yA=this.finishNode(SA,"TSNamedTupleMember")}else if(GA){var YA=this.startNodeAtNode(yA);YA.typeAnnotation=yA,yA=this.finishNode(YA,"TSOptionalType")}if(DA){var UA=this.startNodeAt(nA,aA);UA.typeAnnotation=yA,yA=this.finishNode(UA,"TSRestType")}return yA},kA.tsParseTupleType=function(){var aA=this,nA=this.startNode();nA.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);var DA=!1,yA=null;return nA.elementTypes.forEach(function(GA){var SA=GA.type;!DA||SA==="TSRestType"||SA==="TSOptionalType"||SA==="TSNamedTupleMember"&&GA.optional||aA.raise(GA.start,b$1.OptionalTypeBeforeRequired),DA||(DA=SA==="TSNamedTupleMember"&&GA.optional||SA==="TSOptionalType");var YA=SA;SA==="TSRestType"&&(YA=(GA=GA.typeAnnotation).type);var UA=YA==="TSNamedTupleMember";yA!=null||(yA=UA),yA!==UA&&aA.raise(GA.start,b$1.MixedLabeledAndUnlabeledElements)}),this.finishNode(nA,"TSTupleType")},kA.tsParseTemplateLiteralType=function(){var aA=this.startNode();return aA.literal=this.parseTemplate({isTagged:!1}),this.finishNode(aA,"TSLiteralType")},kA.tsParseTypeReference=function(){var aA=this.startNode();return aA.typeName=this.tsParseEntityName(),!this.hasPrecedingLineBreak()&&this.tsMatchLeftRelational()&&(aA.typeParameters=this.tsParseTypeArguments()),this.finishNode(aA,"TSTypeReference")},kA.tsMatchLeftRelational=function(){return this.match(oA.relational)&&this.value==="<"},kA.tsMatchRightRelational=function(){return this.match(oA.relational)&&this.value===">"},kA.tsParseParenthesizedType=function(){var aA=this.startNode();return this.expect(oA.parenL),aA.typeAnnotation=this.tsParseType(),this.expect(oA.parenR),this.finishNode(aA,"TSParenthesizedType")},kA.tsParseNonArrayType=function(){switch(this.type){case oA.string:case oA.num:case oA._true:case oA._false:return this.tsParseLiteralTypeNode();case oA.plusMin:if(this.value==="-"){var aA=this.startNode();return this.lookahead().type!==oA.num&&this.unexpected(),aA.literal=this.parseMaybeUnary(),this.finishNode(aA,"TSLiteralType")}break;case oA._this:return this.tsParseThisTypeOrThisTypePredicate();case oA._typeof:return this.tsParseTypeQuery();case oA._import:return this.tsParseImportType();case oA.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case oA.bracketL:return this.tsParseTupleType();case oA.parenL:return this.tsParseParenthesizedType();case oA.backQuote:case oA.dollarBraceL:return this.tsParseTemplateLiteralType();default:var nA=this.type;if(fA(nA)||nA===oA._void||nA===oA._null){var DA=nA===oA._void?"TSVoidKeyword":nA===oA._null?"TSNullKeyword":function(GA){switch(GA){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.value);if(DA!==void 0&&this.lookaheadCharCode()!==46){var yA=this.startNode();return this.next(),this.finishNode(yA,DA)}return this.tsParseTypeReference()}}this.unexpected()},kA.tsParseArrayTypeOrHigher=function(){for(var aA=this.tsParseNonArrayType();!this.hasPrecedingLineBreak()&&this.eat(oA.bracketL);)if(this.match(oA.bracketR)){var nA=this.startNodeAtNode(aA);nA.elementType=aA,this.expect(oA.bracketR),aA=this.finishNode(nA,"TSArrayType")}else{var DA=this.startNodeAtNode(aA);DA.objectType=aA,DA.indexType=this.tsParseType(),this.expect(oA.bracketR),aA=this.finishNode(DA,"TSIndexedAccessType")}return aA},kA.tsParseTypeOperatorOrHigher=function(){var aA=this;return _A(this.type)&&!this.containsEsc?this.tsParseTypeOperator():this.isContextual("infer")?this.tsParseInferType():this.tsInAllowConditionalTypesContext(function(){return aA.tsParseArrayTypeOrHigher()})},kA.tsParseIntersectionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),oA.bitwiseAND)},kA.tsParseUnionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),oA.bitwiseOR)},kA.tsParseNonConditionalType=function(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(oA._new)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()},kA.tsParseType=function(){var aA=this;k$3(this.inType);var nA=this.tsParseNonConditionalType();if(this.inDisallowConditionalTypesContext||this.hasPrecedingLineBreak()||!this.eat(oA._extends))return nA;var DA=this.startNodeAtNode(nA);return DA.checkType=nA,DA.extendsType=this.tsInDisallowConditionalTypesContext(function(){return aA.tsParseNonConditionalType()}),this.expect(oA.question),DA.trueType=this.tsInAllowConditionalTypesContext(function(){return aA.tsParseType()}),this.expect(oA.colon),DA.falseType=this.tsInAllowConditionalTypesContext(function(){return aA.tsParseType()}),this.finishNode(DA,"TSConditionalType")},kA.tsIsUnambiguouslyIndexSignature=function(){return this.next(),!!fA(this.type)&&(this.next(),this.match(oA.colon))},kA.tsInType=function(aA){var nA=this.inType;this.inType=!0;try{return aA()}finally{this.inType=nA}},kA.tsTryParseIndexSignature=function(aA){if(this.match(oA.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))){this.expect(oA.bracketL);var nA=this.parseIdent();nA.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(nA),this.expect(oA.bracketR),aA.parameters=[nA];var DA=this.tsTryParseTypeAnnotation();return DA&&(aA.typeAnnotation=DA),this.tsParseTypeMemberSemicolon(),this.finishNode(aA,"TSIndexSignature")}},kA.tsParseNoneModifiers=function(aA){this.tsParseModifiers({modified:aA,allowedModifiers:[],disallowedModifiers:["in","out"],errorTemplate:b$1.InvalidModifierOnTypeParameterPositions})},kA.tsParseTypeParameter=function(aA){aA===void 0&&(aA=this.tsParseNoneModifiers.bind(this));var nA=this.startNode();return aA(nA),nA.name=this.tsParseTypeParameterName(),nA.constraint=this.tsEatThenParseType(oA._extends),nA.default=this.tsEatThenParseType(oA.eq),this.finishNode(nA,"TSTypeParameter")},kA.tsParseTypeParameters=function(aA){var nA=this.startNode();this.tsMatchLeftRelational()||this.matchJsx("jsxTagStart")?this.next():this.unexpected();var DA={value:-1};return nA.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this,aA),!1,!0,DA),nA.params.length===0&&this.raise(this.start,b$1.EmptyTypeParameters),DA.value!==-1&&this.addExtra(nA,"trailingComma",DA.value),this.finishNode(nA,"TSTypeParameterDeclaration")},kA.tsTryParseTypeParameters=function(aA){if(this.tsMatchLeftRelational())return this.tsParseTypeParameters(aA)},kA.tsTryParse=function(aA){var nA=this.getCurLookaheadState(),DA=aA();return DA!==void 0&&DA!==!1?DA:void this.setLookaheadState(nA)},kA.tsTokenCanFollowModifier=function(){return(this.match(oA.bracketL)||this.match(oA.braceL)||this.match(oA.star)||this.match(oA.ellipsis)||this.match(oA.privateId)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()},kA.tsNextTokenCanFollowModifier=function(){return this.next(!0),this.tsTokenCanFollowModifier()},kA.tsParseModifier=function(aA,nA){if(fA(this.type)||this.type===oA._in){var DA=this.value;if(aA.indexOf(DA)!==-1&&!this.containsEsc){if(nA&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return DA}}},kA.tsParseModifiersByMap=function(aA){for(var nA=aA.modified,DA=aA.map,yA=0,GA=Object.keys(DA);yA<GA.length;yA++){var SA=GA[yA];nA[SA]=DA[SA]}},kA.tsParseModifiers=function(aA){for(var nA=this,DA=aA.modified,yA=aA.allowedModifiers,GA=aA.disallowedModifiers,SA=aA.stopOnStartOfClassStaticBlock,YA=aA.errorTemplate,UA=YA===void 0?b$1.InvalidModifierOnTypeMember:YA,KA={},qA=function(zA,WA,Ag,eg){WA===Ag&&DA[eg]&&nA.raise(zA.column,b$1.InvalidModifiersOrder({orderedModifiers:[Ag,eg]}))},$A=function(zA,WA,Ag,eg){(DA[Ag]&&WA===eg||DA[eg]&&WA===Ag)&&nA.raise(zA.column,b$1.IncompatibleModifiers({modifiers:[Ag,eg]}))};;){var VA=this.startLoc,PA=this.tsParseModifier(yA.concat(GA??[]),SA);if(!PA)break;O$1(PA)?DA.accessibility?this.raise(this.start,b$1.DuplicateAccessibilityModifier()):(qA(VA,PA,PA,"override"),qA(VA,PA,PA,"static"),qA(VA,PA,PA,"readonly"),qA(VA,PA,PA,"accessor"),KA.accessibility=PA,DA.accessibility=PA):N$1(PA)?DA[PA]?this.raise(this.start,b$1.DuplicateModifier({modifier:PA})):(qA(VA,PA,"in","out"),KA[PA]=PA,DA[PA]=!0):I$1(PA)?DA[PA]?this.raise(this.start,b$1.DuplicateModifier({modifier:PA})):($A(VA,PA,"accessor","readonly"),$A(VA,PA,"accessor","static"),$A(VA,PA,"accessor","override"),KA[PA]=PA,DA[PA]=!0):Object.hasOwnProperty.call(DA,PA)?this.raise(this.start,b$1.DuplicateModifier({modifier:PA})):(qA(VA,PA,"static","readonly"),qA(VA,PA,"static","override"),qA(VA,PA,"override","readonly"),qA(VA,PA,"abstract","override"),$A(VA,PA,"declare","override"),$A(VA,PA,"static","abstract"),KA[PA]=PA,DA[PA]=!0),GA!=null&&GA.includes(PA)&&this.raise(this.start,UA)}return KA},kA.tsParseInOutModifiers=function(aA){this.tsParseModifiers({modified:aA,allowedModifiers:["in","out"],disallowedModifiers:["public","private","protected","readonly","declare","abstract","override"],errorTemplate:b$1.InvalidModifierOnTypeParameter})},kA.tsParseTypeArguments=function(){var aA=this,nA=this.startNode();return nA.params=this.tsInType(function(){return aA.tsInNoContext(function(){return aA.expect(oA.relational),aA.tsParseDelimitedList("TypeParametersOrArguments",aA.tsParseType.bind(aA))})}),nA.params.length===0&&this.raise(this.start,b$1.EmptyTypeArguments),this.exprAllowed=!1,this.expect(oA.relational),this.finishNode(nA,"TSTypeParameterInstantiation")},kA.tsParseHeritageClause=function(aA){var nA=this,DA=this.start,yA=this.tsParseDelimitedList("HeritageClauseElement",function(){var GA=nA.startNode();return GA.expression=nA.tsParseEntityName(),nA.tsMatchLeftRelational()&&(GA.typeParameters=nA.tsParseTypeArguments()),nA.finishNode(GA,"TSExpressionWithTypeArguments")});return yA.length||this.raise(DA,b$1.EmptyHeritageClauseType({token:aA})),yA},kA.tsParseTypeMemberSemicolon=function(){this.eat(oA.comma)||this.isLineTerminator()||this.expect(oA.semi)},kA.tsTryParseAndCatch=function(aA){var nA=this.tryParse(function(DA){return aA()||DA()});if(!nA.aborted&&nA.node)return nA.error&&this.setLookaheadState(nA.failState),nA.node},kA.tsParseSignatureMember=function(aA,nA){return this.tsFillSignature(oA.colon,nA),this.tsParseTypeMemberSemicolon(),this.finishNode(nA,aA)},kA.tsParsePropertyOrMethodSignature=function(aA,nA){this.eat(oA.question)&&(aA.optional=!0);var DA=aA;if(this.match(oA.parenL)||this.tsMatchLeftRelational()){nA&&this.raise(aA.start,b$1.ReadonlyForMethodSignature);var yA=DA;yA.kind&&this.tsMatchLeftRelational()&&this.raise(this.start,b$1.AccesorCannotHaveTypeParameters),this.tsFillSignature(oA.colon,yA),this.tsParseTypeMemberSemicolon();var GA="parameters",SA="typeAnnotation";if(yA.kind==="get")yA[GA].length>0&&(this.raise(this.start,"A 'get' accesor must not have any formal parameters."),this.isThisParam(yA[GA][0])&&this.raise(this.start,b$1.AccesorCannotDeclareThisParameter));else if(yA.kind==="set"){if(yA[GA].length!==1)this.raise(this.start,"A 'get' accesor must not have any formal parameters.");else{var YA=yA[GA][0];this.isThisParam(YA)&&this.raise(this.start,b$1.AccesorCannotDeclareThisParameter),YA.type==="Identifier"&&YA.optional&&this.raise(this.start,b$1.SetAccesorCannotHaveOptionalParameter),YA.type==="RestElement"&&this.raise(this.start,b$1.SetAccesorCannotHaveRestParameter)}yA[SA]&&this.raise(yA[SA].start,b$1.SetAccesorCannotHaveReturnType)}else yA.kind="method";return this.finishNode(yA,"TSMethodSignature")}var UA=DA;nA&&(UA.readonly=!0);var KA=this.tsTryParseTypeAnnotation();return KA&&(UA.typeAnnotation=KA),this.tsParseTypeMemberSemicolon(),this.finishNode(UA,"TSPropertySignature")},kA.tsParseTypeMember=function(){var aA=this.startNode();if(this.match(oA.parenL)||this.tsMatchLeftRelational())return this.tsParseSignatureMember("TSCallSignatureDeclaration",aA);if(this.match(oA._new)){var nA=this.startNode();return this.next(),this.match(oA.parenL)||this.tsMatchLeftRelational()?this.tsParseSignatureMember("TSConstructSignatureDeclaration",aA):(aA.key=this.createIdentifier(nA,"new"),this.tsParsePropertyOrMethodSignature(aA,!1))}return this.tsParseModifiers({modified:aA,allowedModifiers:["readonly"],disallowedModifiers:["declare","abstract","private","protected","public","static","override"]}),this.tsTryParseIndexSignature(aA)||(this.parsePropertyName(aA),aA.computed||aA.key.type!=="Identifier"||aA.key.name!=="get"&&aA.key.name!=="set"||!this.tsTokenCanFollowModifier()||(aA.kind=aA.key.name,this.parsePropertyName(aA)),this.tsParsePropertyOrMethodSignature(aA,!!aA.readonly))},kA.tsParseList=function(aA,nA){for(var DA=[];!this.tsIsListTerminator(aA);)DA.push(nA());return DA},kA.tsParseObjectTypeMembers=function(){this.expect(oA.braceL);var aA=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(oA.braceR),aA},kA.tsParseInterfaceDeclaration=function(aA,nA){if(nA===void 0&&(nA={}),this.hasFollowingLineBreak())return null;this.expectContextual("interface"),nA.declare&&(aA.declare=!0),fA(this.type)?(aA.id=this.parseIdent(),this.checkLValSimple(aA.id,7)):(aA.id=null,this.raise(this.start,b$1.MissingInterfaceName)),aA.typeParameters=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)),this.eat(oA._extends)&&(aA.extends=this.tsParseHeritageClause("extends"));var DA=this.startNode();return DA.body=this.tsInType(this.tsParseObjectTypeMembers.bind(this)),aA.body=this.finishNode(DA,"TSInterfaceBody"),this.finishNode(aA,"TSInterfaceDeclaration")},kA.tsParseAbstractDeclaration=function(aA){if(this.match(oA._class))return aA.abstract=!0,this.parseClass(aA,!0);if(this.ts_isContextual(hA.interface)){if(!this.hasFollowingLineBreak())return aA.abstract=!0,this.tsParseInterfaceDeclaration(aA)}else this.unexpected(aA.start)},kA.tsIsDeclarationStart=function(){return MA(this.type)},kA.tsParseExpressionStatement=function(aA,nA){switch(nA.name){case"declare":var DA=this.tsTryParseDeclare(aA);if(DA)return DA.declare=!0,DA;break;case"global":if(this.match(oA.braceL)){RA.prototype.enterScope.call(this,f$1);var yA=aA;return yA.global=!0,yA.id=nA,yA.body=this.tsParseModuleBlock(),RA.prototype.exitScope.call(this),this.finishNode(yA,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(aA,nA.name,!1)}},kA.tsParseModuleReference=function(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)},kA.tsIsExportDefaultSpecifier=function(){var aA=this.type,nA=this.isAsyncFunction(),DA=this.isLet();if(fA(aA)){if(nA&&!this.containsEsc||DA)return!1;if((aA===hA.type||aA===hA.interface)&&!this.containsEsc){var yA=this.lookahead();if(fA(yA.type)&&!this.isContextualWithState("from",yA)||yA.type===oA.braceL)return!1}}else if(!this.match(oA._default))return!1;var GA=this.nextTokenStart(),SA=this.isUnparsedContextual(GA,"from");if(this.input.charCodeAt(GA)===44||fA(this.type)&&SA)return!0;if(this.match(oA._default)&&SA){var YA=this.input.charCodeAt(this.nextTokenStartSince(GA+4));return YA===34||YA===39}return!1},kA.tsInAmbientContext=function(aA){var nA=this.isAmbientContext;this.isAmbientContext=!0;try{return aA()}finally{this.isAmbientContext=nA}},kA.tsCheckLineTerminator=function(aA){return aA?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()},kA.tsParseModuleOrNamespaceDeclaration=function(aA,nA){if(nA===void 0&&(nA=!1),aA.id=this.parseIdent(),nA||this.checkLValSimple(aA.id,8),this.eat(oA.dot)){var DA=this.startNode();this.tsParseModuleOrNamespaceDeclaration(DA,!0),aA.body=DA}else RA.prototype.enterScope.call(this,f$1),aA.body=this.tsParseModuleBlock(),RA.prototype.exitScope.call(this);return this.finishNode(aA,"TSModuleDeclaration")},kA.checkLValSimple=function(aA,nA,DA){return nA===void 0&&(nA=0),RA.prototype.checkLValSimple.call(this,aA,nA,DA)},kA.tsParseTypeAliasDeclaration=function(aA){var nA=this;return aA.id=this.parseIdent(),this.checkLValSimple(aA.id,6),aA.typeAnnotation=this.tsInType(function(){if(aA.typeParameters=nA.tsTryParseTypeParameters(nA.tsParseInOutModifiers.bind(nA)),nA.expect(oA.eq),nA.ts_isContextual(hA.interface)&&nA.lookahead().type!==oA.dot){var DA=nA.startNode();return nA.next(),nA.finishNode(DA,"TSIntrinsicKeyword")}return nA.tsParseType()}),this.semicolon(),this.finishNode(aA,"TSTypeAliasDeclaration")},kA.tsParseDeclaration=function(aA,nA,DA){switch(nA){case"abstract":if(this.tsCheckLineTerminator(DA)&&(this.match(oA._class)||fA(this.type)))return this.tsParseAbstractDeclaration(aA);break;case"module":if(this.tsCheckLineTerminator(DA)){if(this.match(oA.string))return this.tsParseAmbientExternalModuleDeclaration(aA);if(fA(this.type))return this.tsParseModuleOrNamespaceDeclaration(aA)}break;case"namespace":if(this.tsCheckLineTerminator(DA)&&fA(this.type))return this.tsParseModuleOrNamespaceDeclaration(aA);break;case"type":if(this.tsCheckLineTerminator(DA)&&fA(this.type))return this.tsParseTypeAliasDeclaration(aA)}},kA.tsTryParseExportDeclaration=function(){return this.tsParseDeclaration(this.startNode(),this.value,!0)},kA.tsParseImportEqualsDeclaration=function(aA,nA){aA.isExport=nA||!1,aA.id=this.parseIdent(),this.checkLValSimple(aA.id,2),RA.prototype.expect.call(this,oA.eq);var DA=this.tsParseModuleReference();return aA.importKind==="type"&&DA.type!=="TSExternalModuleReference"&&this.raise(DA.start,b$1.ImportAliasHasImportType),aA.moduleReference=DA,RA.prototype.semicolon.call(this),this.finishNode(aA,"TSImportEqualsDeclaration")},kA.isExportDefaultSpecifier=function(){if(this.tsIsDeclarationStart())return!1;var aA=this.type;if(fA(aA)){if(this.isContextual("async")||this.isContextual("let"))return!1;if((aA===hA.type||aA===hA.interface)&&!this.containsEsc){var nA=this.lookahead();if(fA(nA.type)&&!this.isContextualWithState("from",nA)||nA.type===oA.braceL)return!1}}else if(!this.match(oA._default))return!1;var DA=this.nextTokenStart(),yA=this.isUnparsedContextual(DA,"from");if(this.input.charCodeAt(DA)===44||fA(this.type)&&yA)return!0;if(this.match(oA._default)&&yA){var GA=this.input.charCodeAt(this.nextTokenStartSince(DA+4));return GA===34||GA===39}return!1},kA.parseTemplate=function(aA){var nA=(aA===void 0?{}:aA).isTagged,DA=nA!==void 0&&nA,yA=this.startNode();this.next(),yA.expressions=[];var GA=this.parseTemplateElement({isTagged:DA});for(yA.quasis=[GA];!GA.tail;)this.type===oA.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(oA.dollarBraceL),yA.expressions.push(this.inType?this.tsParseType():this.parseExpression()),this.expect(oA.braceR),yA.quasis.push(GA=this.parseTemplateElement({isTagged:DA}));return this.next(),this.finishNode(yA,"TemplateLiteral")},kA.parseFunction=function(aA,nA,DA,yA,GA){this.initFunction(aA),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!yA)&&(this.type===oA.star&&2&nA&&this.unexpected(),aA.generator=this.eat(oA.star)),this.options.ecmaVersion>=8&&(aA.async=!!yA),1&nA&&(aA.id=4&nA&&this.type!==oA.name?null:this.parseIdent());var SA=this.yieldPos,YA=this.awaitPos,UA=this.awaitIdentPos,KA=this.maybeInArrowParameters;this.maybeInArrowParameters=!1,this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(w$1(aA.async,aA.generator)),1&nA||(aA.id=this.type===oA.name?this.parseIdent():null),this.parseFunctionParams(aA);var qA=1&nA;return this.parseFunctionBody(aA,DA,!1,GA,{isFunctionDeclaration:qA}),this.yieldPos=SA,this.awaitPos=YA,this.awaitIdentPos=UA,1&nA&&aA.id&&!(2&nA)&&this.checkLValSimple(aA.id,aA.body?this.strict||aA.generator||aA.async?this.treatFunctionsAsVar?1:2:3:0),this.maybeInArrowParameters=KA,this.finishNode(aA,qA?"FunctionDeclaration":"FunctionExpression")},kA.parseFunctionBody=function(aA,nA,DA,yA,GA){nA===void 0&&(nA=!1),DA===void 0&&(DA=!1),yA===void 0&&(yA=!1),this.match(oA.colon)&&(aA.returnType=this.tsParseTypeOrTypePredicateAnnotation(oA.colon));var SA=GA!=null&&GA.isFunctionDeclaration?"TSDeclareFunction":GA!=null&&GA.isClassMethod?"TSDeclareMethod":void 0;return SA&&!this.match(oA.braceL)&&this.isLineTerminator()?this.finishNode(aA,SA):SA==="TSDeclareFunction"&&this.isAmbientContext&&(this.raise(aA.start,b$1.DeclareFunctionHasImplementation),aA.declare)?(RA.prototype.parseFunctionBody.call(this,aA,nA,DA,!1),this.finishNode(aA,SA)):(RA.prototype.parseFunctionBody.call(this,aA,nA,DA,yA),aA)},kA.parseNew=function(){var aA;this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var nA=this.startNode(),DA=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(oA.dot)){nA.meta=DA;var yA=this.containsEsc;return nA.property=this.parseIdent(!0),nA.property.name!=="target"&&this.raiseRecoverable(nA.property.start,"The only valid meta property for new is 'new.target'"),yA&&this.raiseRecoverable(nA.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(nA.start,"'new.target' can only be used in functions and class static block"),this.finishNode(nA,"MetaProperty")}var GA=this.start,SA=this.startLoc,YA=this.type===oA._import;nA.callee=this.parseSubscripts(this.parseExprAtom(),GA,SA,!0,!1),YA&&nA.callee.type==="ImportExpression"&&this.raise(GA,"Cannot use new with import()");var UA=nA.callee;return UA.type!=="TSInstantiationExpression"||(aA=UA.extra)!=null&&aA.parenthesized||(nA.typeParameters=UA.typeParameters,nA.callee=UA.expression),nA.arguments=this.eat(oA.parenL)?this.parseExprList(oA.parenR,this.options.ecmaVersion>=8,!1):[],this.finishNode(nA,"NewExpression")},kA.parseExprOp=function(aA,nA,DA,yA,GA){var SA;if(oA._in.binop>yA&&!this.hasPrecedingLineBreak()&&(this.isContextual("as")&&(SA="TSAsExpression"),IA&&this.isContextual("satisfies")&&(SA="TSSatisfiesExpression"),SA)){var YA=this.startNodeAt(nA,DA);YA.expression=aA;var UA=this.tsTryNextParseConstantContext();return YA.typeAnnotation=UA||this.tsNextThenParseType(),this.finishNode(YA,SA),this.reScan_lt_gt(),this.parseExprOp(YA,nA,DA,yA,GA)}return RA.prototype.parseExprOp.call(this,aA,nA,DA,yA,GA)},kA.parseImportSpecifiers=function(){var aA=[],nA=!0;if(CA.tokenIsIdentifier(this.type)&&(aA.push(this.parseImportDefaultSpecifier()),!this.eat(oA.comma)))return aA;if(this.type===oA.star)return aA.push(this.parseImportNamespaceSpecifier()),aA;for(this.expect(oA.braceL);!this.eat(oA.braceR);){if(nA)nA=!1;else if(this.expect(oA.comma),this.afterTrailingComma(oA.braceR))break;aA.push(this.parseImportSpecifier())}return aA},kA.parseImport=function(aA){var nA=this.lookahead();if(aA.importKind="value",this.importOrExportOuterKind="value",fA(nA.type)||this.match(oA.star)||this.match(oA.braceL)){var DA=this.lookahead(2);if(DA.type!==oA.comma&&!this.isContextualWithState("from",DA)&&DA.type!==oA.eq&&this.ts_eatContextualWithState("type",1,nA)&&(this.importOrExportOuterKind="type",aA.importKind="type",nA=this.lookahead(),DA=this.lookahead(2)),fA(nA.type)&&DA.type===oA.eq){this.next();var yA=this.tsParseImportEqualsDeclaration(aA);return this.importOrExportOuterKind="value",yA}}return this.next(),this.type===oA.string?(aA.specifiers=[],aA.source=this.parseExprAtom()):(aA.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),aA.source=this.type===oA.string?this.parseExprAtom():this.unexpected()),this.parseMaybeImportAttributes(aA),this.semicolon(),this.finishNode(aA,"ImportDeclaration"),this.importOrExportOuterKind="value",aA.importKind==="type"&&aA.specifiers.length>1&&aA.specifiers[0].type==="ImportDefaultSpecifier"&&this.raise(aA.start,b$1.TypeImportCannotSpecifyDefaultAndNamed),aA},kA.parseExportDefaultDeclaration=function(){if(this.isAbstractClass()){var aA=this.startNode();return this.next(),aA.abstract=!0,this.parseClass(aA,!0)}if(this.match(hA.interface)){var nA=this.tsParseInterfaceDeclaration(this.startNode());if(nA)return nA}return RA.prototype.parseExportDefaultDeclaration.call(this)},kA.parseExportAllDeclaration=function(aA,nA){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(aA.exported=this.parseModuleExportName(),this.checkExport(nA,aA.exported,this.lastTokStart)):aA.exported=null),this.expectContextual("from"),this.type!==oA.string&&this.unexpected(),aA.source=this.parseExprAtom(),this.parseMaybeImportAttributes(aA),this.semicolon(),this.finishNode(aA,"ExportAllDeclaration")},kA.parseDynamicImport=function(aA){if(this.next(),aA.source=this.parseMaybeAssign(),this.eat(oA.comma)){var nA=this.parseExpression();aA.arguments=[nA]}if(!this.eat(oA.parenR)){var DA=this.start;this.eat(oA.comma)&&this.eat(oA.parenR)?this.raiseRecoverable(DA,"Trailing comma is not allowed in import()"):this.unexpected(DA)}return this.finishNode(aA,"ImportExpression")},kA.parseExport=function(aA,nA){var DA=this.lookahead();if(this.ts_eatWithState(oA._import,2,DA)){this.ts_isContextual(hA.type)&&this.lookaheadCharCode()!==61?(aA.importKind="type",this.importOrExportOuterKind="type",this.next()):(aA.importKind="value",this.importOrExportOuterKind="value");var yA=this.tsParseImportEqualsDeclaration(aA,!0);return this.importOrExportOuterKind=void 0,yA}if(this.ts_eatWithState(oA.eq,2,DA)){var GA=aA;return GA.expression=this.parseExpression(),this.semicolon(),this.importOrExportOuterKind=void 0,this.finishNode(GA,"TSExportAssignment")}if(this.ts_eatContextualWithState("as",2,DA)){var SA=aA;return this.expectContextual("namespace"),SA.id=this.parseIdent(),this.semicolon(),this.importOrExportOuterKind=void 0,this.finishNode(SA,"TSNamespaceExportDeclaration")}if(this.ts_isContextualWithState(DA,hA.type)&&this.lookahead(2).type===oA.braceL?(this.next(),this.importOrExportOuterKind="type",aA.exportKind="type"):(this.importOrExportOuterKind="value",aA.exportKind="value"),this.next(),this.eat(oA.star))return this.parseExportAllDeclaration(aA,nA);if(this.eat(oA._default))return this.checkExport(nA,"default",this.lastTokStart),aA.declaration=this.parseExportDefaultDeclaration(),this.finishNode(aA,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())aA.declaration=this.parseExportDeclaration(aA),aA.declaration.type==="VariableDeclaration"?this.checkVariableExport(nA,aA.declaration.declarations):this.checkExport(nA,aA.declaration.id,aA.declaration.id.start),aA.specifiers=[],aA.source=null;else{if(aA.declaration=null,aA.specifiers=this.parseExportSpecifiers(nA),this.eatContextual("from"))this.type!==oA.string&&this.unexpected(),aA.source=this.parseExprAtom(),this.parseMaybeImportAttributes(aA);else{for(var YA,UA=c$2(aA.specifiers);!(YA=UA()).done;){var KA=YA.value;this.checkUnreserved(KA.local),this.checkLocalExport(KA.local),KA.local.type==="Literal"&&this.raise(KA.local.start,"A string literal cannot be used as an exported binding without `from`.")}aA.source=null}this.semicolon()}return this.finishNode(aA,"ExportNamedDeclaration")},kA.checkExport=function(aA,nA,DA){aA&&(typeof nA!="string"&&(nA=nA.type==="Identifier"?nA.name:nA.value),aA[nA]=!0)},kA.parseMaybeDefault=function(aA,nA,DA){var yA=RA.prototype.parseMaybeDefault.call(this,aA,nA,DA);return yA.type==="AssignmentPattern"&&yA.typeAnnotation&&yA.right.start<yA.typeAnnotation.start&&this.raise(yA.typeAnnotation.start,b$1.TypeAnnotationAfterAssign),yA},kA.typeCastToParameter=function(aA){return aA.expression.typeAnnotation=aA.typeAnnotation,this.resetEndLocation(aA.expression,aA.typeAnnotation.end),aA.expression},kA.toAssignableList=function(aA,nA){for(var DA=0;DA<aA.length;DA++){var yA=aA[DA];(yA==null?void 0:yA.type)==="TSTypeCastExpression"&&(aA[DA]=this.typeCastToParameter(yA))}return RA.prototype.toAssignableList.call(this,aA,nA)},kA.reportReservedArrowTypeParam=function(aA){},kA.parseExprAtom=function(aA,nA,DA){if(this.type===hA.jsxText)return this.jsx_parseText();if(this.type===hA.jsxTagStart)return this.jsx_parseElement();if(this.type===hA.at)return this.parseDecorators(),this.parseExprAtom();if(fA(this.type)){var yA=this.potentialArrowAt===this.start,GA=this.start,SA=this.startLoc,YA=this.containsEsc,UA=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!YA&&UA.name==="async"&&!this.canInsertSemicolon()&&this.eat(oA._function))return this.overrideContext(uA.f_expr),this.parseFunction(this.startNodeAt(GA,SA),0,!1,!0,nA);if(yA&&!this.canInsertSemicolon()){if(this.eat(oA.arrow))return this.parseArrowExpression(this.startNodeAt(GA,SA),[UA],!1,nA);if(this.options.ecmaVersion>=8&&UA.name==="async"&&this.type===oA.name&&!YA&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return UA=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(oA.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(GA,SA),[UA],!0,nA)}return UA}return RA.prototype.parseExprAtom.call(this,aA,nA,DA)},kA.parseExprAtomDefault=function(){if(fA(this.type)){var aA=this.potentialArrowAt===this.start,nA=this.containsEsc,DA=this.parseIdent();if(!nA&&DA.name==="async"&&!this.canInsertSemicolon()){var yA=this.type;if(yA===oA._function)return this.next(),this.parseFunction(this.startNodeAtNode(DA),void 0,!0,!0);if(fA(yA)){if(this.lookaheadCharCode()===61){var GA=this.parseIdent(!1);return!this.canInsertSemicolon()&&this.eat(oA.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAtNode(DA),[GA],!0)}return DA}}return aA&&this.match(oA.arrow)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(DA),[DA],!1)):DA}this.unexpected()},kA.parseIdentNode=function(){var aA=this.startNode();return LA(this.type)?(aA.name=this.value,aA):RA.prototype.parseIdentNode.call(this)},kA.parseVarStatement=function(aA,nA,DA){DA===void 0&&(DA=!1);var yA=this.isAmbientContext;this.next(),RA.prototype.parseVar.call(this,aA,!1,nA,DA||yA),this.semicolon();var GA=this.finishNode(aA,"VariableDeclaration");if(!yA)return GA;for(var SA,YA=c$2(GA.declarations);!(SA=YA()).done;){var UA=SA.value,KA=UA.init;KA&&(nA!=="const"||UA.id.typeAnnotation?this.raise(KA.start,b$1.InitializerNotAllowedInAmbientContext):KA.type!=="StringLiteral"&&KA.type!=="BooleanLiteral"&&KA.type!=="NumericLiteral"&&KA.type!=="BigIntLiteral"&&(KA.type!=="TemplateLiteral"||KA.expressions.length>0)&&!L$1(KA)&&this.raise(KA.start,b$1.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference))}return GA},kA.parseStatement=function(aA,nA,DA){if(this.match(hA.at)&&this.parseDecorators(!0),this.match(oA._const)&&this.isLookaheadContextual("enum")){var yA=this.startNode();return this.expect(oA._const),this.tsParseEnumDeclaration(yA,{const:!0})}if(this.ts_isContextual(hA.enum))return this.tsParseEnumDeclaration(this.startNode());if(this.ts_isContextual(hA.interface)){var GA=this.tsParseInterfaceDeclaration(this.startNode());if(GA)return GA}return RA.prototype.parseStatement.call(this,aA,nA,DA)},kA.parseAccessModifier=function(){return this.tsParseModifier(["public","protected","private"])},kA.parsePostMemberNameModifiers=function(aA){this.eat(oA.question)&&(aA.optional=!0),aA.readonly&&this.match(oA.parenL)&&this.raise(aA.start,b$1.ClassMethodHasReadonly),aA.declare&&this.match(oA.parenL)&&this.raise(aA.start,b$1.ClassMethodHasDeclare)},kA.parseExpressionStatement=function(aA,nA){return(nA.type==="Identifier"?this.tsParseExpressionStatement(aA,nA):void 0)||RA.prototype.parseExpressionStatement.call(this,aA,nA)},kA.shouldParseExportStatement=function(){return!!this.tsIsDeclarationStart()||!!this.match(hA.at)||RA.prototype.shouldParseExportStatement.call(this)},kA.parseConditional=function(aA,nA,DA,yA,GA){if(this.eat(oA.question)){var SA=this.startNodeAt(nA,DA);return SA.test=aA,SA.consequent=this.parseMaybeAssign(),this.expect(oA.colon),SA.alternate=this.parseMaybeAssign(yA),this.finishNode(SA,"ConditionalExpression")}return aA},kA.parseMaybeConditional=function(aA,nA){var DA=this,yA=this.start,GA=this.startLoc,SA=this.parseExprOps(aA,nA);if(this.checkExpressionErrors(nA))return SA;if(!this.maybeInArrowParameters||!this.match(oA.question))return this.parseConditional(SA,yA,GA,aA,nA);var YA=this.tryParse(function(){return DA.parseConditional(SA,yA,GA,aA,nA)});return YA.node?(YA.error&&this.setLookaheadState(YA.failState),YA.node):(YA.error&&this.setOptionalParametersError(nA,YA.error),SA)},kA.parseParenItem=function(aA){var nA=this.start,DA=this.startLoc;if(aA=RA.prototype.parseParenItem.call(this,aA),this.eat(oA.question)&&(aA.optional=!0,this.resetEndLocation(aA)),this.match(oA.colon)){var yA=this.startNodeAt(nA,DA);return yA.expression=aA,yA.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(yA,"TSTypeCastExpression")}return aA},kA.parseExportDeclaration=function(aA){var nA=this;if(!this.isAmbientContext&&this.ts_isContextual(hA.declare))return this.tsInAmbientContext(function(){return nA.parseExportDeclaration(aA)});var DA=this.start,yA=this.startLoc,GA=this.eatContextual("declare");!GA||!this.ts_isContextual(hA.declare)&&this.shouldParseExportStatement()||this.raise(this.start,b$1.ExpectedAmbientAfterExportDeclare);var SA=fA(this.type)&&this.tsTryParseExportDeclaration()||this.parseStatement(null);return SA?((SA.type==="TSInterfaceDeclaration"||SA.type==="TSTypeAliasDeclaration"||GA)&&(aA.exportKind="type"),GA&&(this.resetStartLocation(SA,DA,yA),SA.declare=!0),SA):null},kA.parseClassId=function(aA,nA){if(nA||!this.isContextual("implements")){RA.prototype.parseClassId.call(this,aA,nA);var DA=this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));DA&&(aA.typeParameters=DA)}},kA.parseClassPropertyAnnotation=function(aA){aA.optional||(this.value==="!"&&this.eat(oA.prefix)?aA.definite=!0:this.eat(oA.question)&&(aA.optional=!0));var nA=this.tsTryParseTypeAnnotation();nA&&(aA.typeAnnotation=nA)},kA.parseClassField=function(aA){if(aA.key.type==="PrivateIdentifier")aA.abstract&&this.raise(aA.start,b$1.PrivateElementHasAbstract),aA.accessibility&&this.raise(aA.start,b$1.PrivateElementHasAccessibility({modifier:aA.accessibility})),this.parseClassPropertyAnnotation(aA);else if(this.parseClassPropertyAnnotation(aA),this.isAmbientContext&&(!aA.readonly||aA.typeAnnotation)&&this.match(oA.eq)&&this.raise(this.start,b$1.DeclareClassFieldHasInitializer),aA.abstract&&this.match(oA.eq)){var nA=aA.key;this.raise(this.start,b$1.AbstractPropertyHasInitializer({propertyName:nA.type!=="Identifier"||aA.computed?"["+this.input.slice(nA.start,nA.end)+"]":nA.name}))}return RA.prototype.parseClassField.call(this,aA)},kA.parseClassMethod=function(aA,nA,DA,yA){var GA=aA.kind==="constructor",SA=aA.key.type==="PrivateIdentifier",YA=this.tsTryParseTypeParameters();SA?(YA&&(aA.typeParameters=YA),aA.accessibility&&this.raise(aA.start,b$1.PrivateMethodsHasAccessibility({modifier:aA.accessibility}))):YA&&GA&&this.raise(YA.start,b$1.ConstructorHasTypeParameters);var UA=aA.declare,KA=aA.kind;!(UA!==void 0&&UA)||KA!=="get"&&KA!=="set"||this.raise(aA.start,b$1.DeclareAccessor({kind:KA})),YA&&(aA.typeParameters=YA);var qA=aA.key;aA.kind==="constructor"?(nA&&this.raise(qA.start,"Constructor can't be a generator"),DA&&this.raise(qA.start,"Constructor can't be an async method")):aA.static&&P$1(aA,"prototype")&&this.raise(qA.start,"Classes may not have a static property named prototype");var $A=aA.value=this.parseMethod(nA,DA,yA,!0,aA);return aA.kind==="get"&&$A.params.length!==0&&this.raiseRecoverable($A.start,"getter should have no params"),aA.kind==="set"&&$A.params.length!==1&&this.raiseRecoverable($A.start,"setter should have exactly one param"),aA.kind==="set"&&$A.params[0].type==="RestElement"&&this.raiseRecoverable($A.params[0].start,"Setter cannot use rest params"),this.finishNode(aA,"MethodDefinition")},kA.isClassMethod=function(){return this.match(oA.relational)},kA.parseClassElement=function(aA){var nA=this;if(this.eat(oA.semi))return null;var DA,yA=this.options.ecmaVersion,GA=this.startNode(),SA="",YA=!1,UA=!1,KA="method",qA=["declare","private","public","protected","accessor","override","abstract","readonly","static"],$A=this.tsParseModifiers({modified:GA,allowedModifiers:qA,disallowedModifiers:["in","out"],stopOnStartOfClassStaticBlock:!0,errorTemplate:b$1.InvalidModifierOnTypeParameterPositions});DA=!!$A.static;var VA=function(){if(!nA.tsIsStartOfStaticBlocks()){var PA=nA.tsTryParseIndexSignature(GA);if(PA)return GA.abstract&&nA.raise(GA.start,b$1.IndexSignatureHasAbstract),GA.accessibility&&nA.raise(GA.start,b$1.IndexSignatureHasAccessibility({modifier:GA.accessibility})),GA.declare&&nA.raise(GA.start,b$1.IndexSignatureHasDeclare),GA.override&&nA.raise(GA.start,b$1.IndexSignatureHasOverride),PA;if(!nA.inAbstractClass&&GA.abstract&&nA.raise(GA.start,b$1.NonAbstractClassHasAbstractMethod),GA.override&&aA&&nA.raise(GA.start,b$1.OverrideNotInSubClass),GA.static=DA,DA&&(nA.isClassElementNameStart()||nA.type===oA.star||(SA="static")),!SA&&yA>=8&&nA.eatContextual("async")&&(!nA.isClassElementNameStart()&&nA.type!==oA.star||nA.canInsertSemicolon()?SA="async":UA=!0),!SA&&(yA>=9||!UA)&&nA.eat(oA.star)&&(YA=!0),!SA&&!UA&&!YA){var zA=nA.value;(nA.eatContextual("get")||nA.eatContextual("set"))&&(nA.isClassElementNameStart()?KA=zA:SA=zA)}if(SA?(GA.computed=!1,GA.key=nA.startNodeAt(nA.lastTokStart,nA.lastTokStartLoc),GA.key.name=SA,nA.finishNode(GA.key,"Identifier")):nA.parseClassElementName(GA),nA.parsePostMemberNameModifiers(GA),nA.isClassMethod()||yA<13||nA.type===oA.parenL||KA!=="method"||YA||UA){var WA=!GA.static&&P$1(GA,"constructor"),Ag=WA&&aA;WA&&KA!=="method"&&nA.raise(GA.key.start,"Constructor can't have get/set modifier"),GA.kind=WA?"constructor":KA,nA.parseClassMethod(GA,YA,UA,Ag)}else nA.parseClassField(GA);return GA}if(nA.next(),nA.next(),nA.tsHasSomeModifiers(GA,qA)&&nA.raise(nA.start,b$1.StaticBlockCannotHaveModifier),yA>=13)return RA.prototype.parseClassStaticBlock.call(nA,GA),GA};return GA.declare?this.tsInAmbientContext(VA):VA(),GA},kA.isClassElementNameStart=function(){return!!this.tsIsIdentifier()||RA.prototype.isClassElementNameStart.call(this)},kA.parseClassSuper=function(aA){RA.prototype.parseClassSuper.call(this,aA),aA.superClass&&(this.tsMatchLeftRelational()||this.match(oA.bitShift))&&(aA.superTypeParameters=this.tsParseTypeArgumentsInExpression()),this.eatContextual("implements")&&(aA.implements=this.tsParseHeritageClause("implements"))},kA.parseFunctionParams=function(aA){var nA=this.tsTryParseTypeParameters();nA&&(aA.typeParameters=nA),RA.prototype.parseFunctionParams.call(this,aA)},kA.parseVarId=function(aA,nA){RA.prototype.parseVarId.call(this,aA,nA),aA.id.type==="Identifier"&&!this.hasPrecedingLineBreak()&&this.value==="!"&&this.eat(oA.prefix)&&(aA.definite=!0);var DA=this.tsTryParseTypeAnnotation();DA&&(aA.id.typeAnnotation=DA,this.resetEndLocation(aA.id))},kA.parseArrowExpression=function(aA,nA,DA,yA){this.match(oA.colon)&&(aA.returnType=this.tsParseTypeAnnotation());var GA=this.yieldPos,SA=this.awaitPos,YA=this.awaitIdentPos;this.enterScope(16|w$1(DA,!1)),this.initFunction(aA);var UA=this.maybeInArrowParameters;return this.options.ecmaVersion>=8&&(aA.async=!!DA),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.maybeInArrowParameters=!0,aA.params=this.toAssignableList(nA,!0),this.maybeInArrowParameters=!1,this.parseFunctionBody(aA,!0,!1,yA),this.yieldPos=GA,this.awaitPos=SA,this.awaitIdentPos=YA,this.maybeInArrowParameters=UA,this.finishNode(aA,"ArrowFunctionExpression")},kA.parseMaybeAssignOrigin=function(aA,nA,DA){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(aA);this.exprAllowed=!1}var yA=!1,GA=-1,SA=-1,YA=-1;nA?(GA=nA.parenthesizedAssign,SA=nA.trailingComma,YA=nA.doubleProto,nA.parenthesizedAssign=nA.trailingComma=-1):(nA=new T$1,yA=!0);var UA=this.start,KA=this.startLoc;(this.type===oA.parenL||fA(this.type))&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=aA==="await");var qA=this.parseMaybeConditional(aA,nA);if(DA&&(qA=DA.call(this,qA,UA,KA)),this.type.isAssign){var $A=this.startNodeAt(UA,KA);return $A.operator=this.value,this.type===oA.eq&&(qA=this.toAssignable(qA,!0,nA)),yA||(nA.parenthesizedAssign=nA.trailingComma=nA.doubleProto=-1),nA.shorthandAssign>=qA.start&&(nA.shorthandAssign=-1),this.type===oA.eq?this.checkLValPattern(qA):this.checkLValSimple(qA),$A.left=qA,this.next(),$A.right=this.parseMaybeAssign(aA),YA>-1&&(nA.doubleProto=YA),this.finishNode($A,"AssignmentExpression")}return yA&&this.checkExpressionErrors(nA,!0),GA>-1&&(nA.parenthesizedAssign=GA),SA>-1&&(nA.trailingComma=SA),qA},kA.parseMaybeAssign=function(aA,nA,DA){var yA,GA,SA,YA,UA,KA,qA,$A,VA,PA,zA,WA=this;if(this.matchJsx("jsxTagStart")||this.tsMatchLeftRelational()){if($A=this.cloneCurLookaheadState(),!(VA=this.tryParse(function(){return WA.parseMaybeAssignOrigin(aA,nA,DA)},$A)).error)return VA.node;var Ag=this.context,eg=Ag[Ag.length-1];eg===CA.tokContexts.tc_oTag&&Ag[Ag.length-2]===CA.tokContexts.tc_expr?(Ag.pop(),Ag.pop()):eg!==CA.tokContexts.tc_oTag&&eg!==CA.tokContexts.tc_expr||Ag.pop()}if(!((yA=VA)!=null&&yA.error||this.tsMatchLeftRelational()))return this.parseMaybeAssignOrigin(aA,nA,DA);$A&&!this.compareLookaheadState($A,this.getCurLookaheadState())||($A=this.cloneCurLookaheadState());var sg=this.tryParse(function(ug){var yg,Dg;zA=WA.tsParseTypeParameters();var hg=WA.parseMaybeAssignOrigin(aA,nA,DA);return(hg.type!=="ArrowFunctionExpression"||(yg=hg.extra)!=null&&yg.parenthesized)&&ug(),((Dg=zA)==null?void 0:Dg.params.length)!==0&&WA.resetStartLocationFromNode(hg,zA),hg.typeParameters=zA,hg},$A);if(!sg.error&&!sg.aborted)return zA&&this.reportReservedArrowTypeParam(zA),sg.node;if(!VA&&(k$3(!0),!(PA=this.tryParse(function(){return WA.parseMaybeAssignOrigin(aA,nA,DA)},$A)).error))return PA.node;if((GA=VA)!=null&&GA.node)return this.setLookaheadState(VA.failState),VA.node;if(sg.node)return this.setLookaheadState(sg.failState),zA&&this.reportReservedArrowTypeParam(zA),sg.node;if((SA=PA)!=null&&SA.node)return this.setLookaheadState(PA.failState),PA.node;throw(YA=VA)!=null&&YA.thrown?VA.error:sg.thrown?sg.error:(UA=PA)!=null&&UA.thrown?PA.error:((KA=VA)==null?void 0:KA.error)||sg.error||((qA=PA)==null?void 0:qA.error)},kA.parseAssignableListItem=function(aA){for(var nA=[];this.match(hA.at);)nA.push(this.parseDecorator());var DA,yA=this.start,GA=this.startLoc,SA=!1,YA=!1;if(aA!==void 0){var UA={};this.tsParseModifiers({modified:UA,allowedModifiers:["public","private","protected","override","readonly"]}),DA=UA.accessibility,YA=UA.override,SA=UA.readonly,aA===!1&&(DA||SA||YA)&&this.raise(GA.start,b$1.UnexpectedParameterModifier)}var KA=this.parseMaybeDefault(yA,GA);this.parseBindingListItem(KA);var qA=this.parseMaybeDefault(KA.start,KA.loc,KA);if(nA.length&&(qA.decorators=nA),DA||SA||YA){var $A=this.startNodeAt(yA,GA);return DA&&($A.accessibility=DA),SA&&($A.readonly=SA),YA&&($A.override=YA),qA.type!=="Identifier"&&qA.type!=="AssignmentPattern"&&this.raise($A.start,b$1.UnsupportedParameterPropertyKind),$A.parameter=qA,this.finishNode($A,"TSParameterProperty")}return qA},kA.checkLValInnerPattern=function(aA,nA,DA){nA===void 0&&(nA=0),aA.type==="TSParameterProperty"?this.checkLValInnerPattern(aA.parameter,nA,DA):RA.prototype.checkLValInnerPattern.call(this,aA,nA,DA)},kA.parseBindingListItem=function(aA){this.eat(oA.question)&&(aA.type==="Identifier"||this.isAmbientContext||this.inType||this.raise(aA.start,b$1.PatternIsOptional),aA.optional=!0);var nA=this.tsTryParseTypeAnnotation();return nA&&(aA.typeAnnotation=nA),this.resetEndLocation(aA),aA},kA.isAssignable=function(aA,nA){var DA=this;switch(aA.type){case"TSTypeCastExpression":return this.isAssignable(aA.expression,nA);case"TSParameterProperty":case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":var yA=aA.properties.length-1;return aA.properties.every(function(GA,SA){return GA.type!=="ObjectMethod"&&(SA===yA||GA.type!=="SpreadElement")&&DA.isAssignable(GA)});case"Property":case"ObjectProperty":return this.isAssignable(aA.value);case"SpreadElement":return this.isAssignable(aA.argument);case"ArrayExpression":return aA.elements.every(function(GA){return GA===null||DA.isAssignable(GA)});case"AssignmentExpression":return aA.operator==="=";case"ParenthesizedExpression":return this.isAssignable(aA.expression);case"MemberExpression":case"OptionalMemberExpression":return!nA;default:return!1}},kA.toAssignable=function(aA,nA,DA){switch(nA===void 0&&(nA=!1),DA===void 0&&(DA=new T$1),aA.type){case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(aA,nA,DA);case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":return nA||this.raise(aA.start,b$1.UnexpectedTypeCastInParameter),this.toAssignable(aA.expression,nA,DA);case"MemberExpression":break;case"AssignmentExpression":return nA||aA.left.type!=="TSTypeCastExpression"||(aA.left=this.typeCastToParameter(aA.left)),RA.prototype.toAssignable.call(this,aA,nA,DA);case"TSTypeCastExpression":return this.typeCastToParameter(aA);default:return RA.prototype.toAssignable.call(this,aA,nA,DA)}return aA},kA.toAssignableParenthesizedExpression=function(aA,nA,DA){switch(aA.expression.type){case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":return this.toAssignable(aA.expression,nA,DA);default:return RA.prototype.toAssignable.call(this,aA,nA,DA)}},kA.curPosition=function(){if(this.options.locations){var aA=RA.prototype.curPosition.call(this);return Object.defineProperty(aA,"offset",{get:function(){return function(nA){var DA=new sA.Position(this.line,this.column+nA);return DA.index=this.index+nA,DA}}}),aA.index=this.pos,aA}},kA.parseBindingAtom=function(){return this.type===oA._this?this.parseIdent(!0):RA.prototype.parseBindingAtom.call(this)},kA.shouldParseArrow=function(aA){var nA,DA=this;if(nA=this.match(oA.colon)?aA.every(function(GA){return DA.isAssignable(GA,!0)}):!this.canInsertSemicolon()){if(this.match(oA.colon)){var yA=this.tryParse(function(GA){var SA=DA.tsParseTypeOrTypePredicateAnnotation(oA.colon);return!DA.canInsertSemicolon()&&DA.match(oA.arrow)||GA(),SA});if(yA.aborted)return this.shouldParseArrowReturnType=void 0,!1;yA.thrown||(yA.error&&this.setLookaheadState(yA.failState),this.shouldParseArrowReturnType=yA.node)}return!!this.match(oA.arrow)||(this.shouldParseArrowReturnType=void 0,!1)}return this.shouldParseArrowReturnType=void 0,nA},kA.parseParenArrowList=function(aA,nA,DA,yA){var GA=this.startNodeAt(aA,nA);return GA.returnType=this.shouldParseArrowReturnType,this.shouldParseArrowReturnType=void 0,this.parseArrowExpression(GA,DA,!1,yA)},kA.parseParenAndDistinguishExpression=function(aA,nA){var DA,yA=this.start,GA=this.startLoc,SA=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){var YA=this.maybeInArrowParameters;this.maybeInArrowParameters=!0,this.next();var UA,KA=this.start,qA=this.startLoc,$A=[],VA=!0,PA=!1,zA=new T$1,WA=this.yieldPos,Ag=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==oA.parenR;){if(VA?VA=!1:this.expect(oA.comma),SA&&this.afterTrailingComma(oA.parenR,!0)){PA=!0;break}if(this.type===oA.ellipsis){UA=this.start,$A.push(this.parseParenItem(this.parseRestBinding())),this.type===oA.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}$A.push(this.parseMaybeAssign(nA,zA,this.parseParenItem))}var eg=this.lastTokEnd,sg=this.lastTokEndLoc;if(this.expect(oA.parenR),this.maybeInArrowParameters=YA,aA&&this.shouldParseArrow($A)&&this.eat(oA.arrow))return this.checkPatternErrors(zA,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=WA,this.awaitPos=Ag,this.parseParenArrowList(yA,GA,$A,nA);$A.length&&!PA||this.unexpected(this.lastTokStart),UA&&this.unexpected(UA),this.checkExpressionErrors(zA,!0),this.yieldPos=WA||this.yieldPos,this.awaitPos=Ag||this.awaitPos,$A.length>1?((DA=this.startNodeAt(KA,qA)).expressions=$A,this.finishNodeAt(DA,"SequenceExpression",eg,sg)):DA=$A[0]}else DA=this.parseParenExpression();if(this.options.preserveParens){var ug=this.startNodeAt(yA,GA);return ug.expression=DA,this.finishNode(ug,"ParenthesizedExpression")}return DA},kA.parseTaggedTemplateExpression=function(aA,nA,DA,yA){var GA=this.startNodeAt(nA,DA);return GA.tag=aA,GA.quasi=this.parseTemplate({isTagged:!0}),yA&&this.raise(nA,"Tagged Template Literals are not allowed in optionalChain."),this.finishNode(GA,"TaggedTemplateExpression")},kA.shouldParseAsyncArrow=function(){var aA=this;if(!this.match(oA.colon))return!this.canInsertSemicolon()&&this.eat(oA.arrow);var nA=this.tryParse(function(DA){var yA=aA.tsParseTypeOrTypePredicateAnnotation(oA.colon);return!aA.canInsertSemicolon()&&aA.match(oA.arrow)||DA(),yA});return nA.aborted?(this.shouldParseAsyncArrowReturnType=void 0,!1):nA.thrown?void 0:(nA.error&&this.setLookaheadState(nA.failState),this.shouldParseAsyncArrowReturnType=nA.node,!this.canInsertSemicolon()&&this.eat(oA.arrow))},kA.parseSubscriptAsyncArrow=function(aA,nA,DA,yA){var GA=this.startNodeAt(aA,nA);return GA.returnType=this.shouldParseAsyncArrowReturnType,this.shouldParseAsyncArrowReturnType=void 0,this.parseArrowExpression(GA,DA,!0,yA)},kA.parseExprList=function(aA,nA,DA,yA){for(var GA=[],SA=!0;!this.eat(aA);){if(SA)SA=!1;else if(this.expect(oA.comma),nA&&this.afterTrailingComma(aA))break;var YA=void 0;DA&&this.type===oA.comma?YA=null:this.type===oA.ellipsis?(YA=this.parseSpread(yA),yA&&this.type===oA.comma&&yA.trailingComma<0&&(yA.trailingComma=this.start)):YA=this.parseMaybeAssign(!1,yA,this.parseParenItem),GA.push(YA)}return GA},kA.parseSubscript=function(aA,nA,DA,yA,GA,SA,YA){var UA=this,KA=SA;if(!this.hasPrecedingLineBreak()&&this.value==="!"&&this.match(oA.prefix)){this.exprAllowed=!1,this.next();var qA=this.startNodeAt(nA,DA);return qA.expression=aA,aA=this.finishNode(qA,"TSNonNullExpression")}var $A=!1;if(this.match(oA.questionDot)&&this.lookaheadCharCode()===60){if(yA)return aA;aA.optional=!0,KA=$A=!0,this.next()}if(this.tsMatchLeftRelational()||this.match(oA.bitShift)){var VA,PA=this.tsTryParseAndCatch(function(){if(!yA&&UA.atPossibleAsyncArrow(aA)){var Fg=UA.tsTryParseGenericAsyncArrowFunction(nA,DA,YA);if(Fg)return aA=Fg}var HA=UA.tsParseTypeArgumentsInExpression();if(!HA)return aA;if($A&&!UA.match(oA.parenL))return VA=UA.curPosition(),aA;if(mA(UA.type)||UA.type===oA.backQuote){var TA=UA.parseTaggedTemplateExpression(aA,nA,DA,KA);return TA.typeParameters=HA,TA}if(!yA&&UA.eat(oA.parenL)){var OA=new T$1,jA=UA.startNodeAt(nA,DA);return jA.callee=aA,jA.arguments=UA.parseExprList(oA.parenR,UA.options.ecmaVersion>=8,!1,OA),UA.tsCheckForInvalidTypeCasts(jA.arguments),jA.typeParameters=HA,KA&&(jA.optional=$A),UA.checkExpressionErrors(OA,!0),aA=UA.finishNode(jA,"CallExpression")}var XA=UA.type;if(!(UA.tsMatchRightRelational()||XA===oA.bitShift||XA!==oA.parenL&&(ZA=XA,!!ZA.startsExpr)&&!UA.hasPrecedingLineBreak())){var ZA,gg=UA.startNodeAt(nA,DA);return gg.expression=aA,gg.typeParameters=HA,UA.finishNode(gg,"TSInstantiationExpression")}});if(VA&&this.unexpected(VA),PA)return PA.type==="TSInstantiationExpression"&&(this.match(oA.dot)||this.match(oA.questionDot)&&this.lookaheadCharCode()!==40)&&this.raise(this.start,b$1.InvalidPropertyAccessAfterInstantiationExpression),aA=PA}var zA=this.options.ecmaVersion>=11,WA=zA&&this.eat(oA.questionDot);yA&&WA&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var Ag=this.eat(oA.bracketL);if(Ag||WA&&this.type!==oA.parenL&&this.type!==oA.backQuote||this.eat(oA.dot)){var eg=this.startNodeAt(nA,DA);eg.object=aA,Ag?(eg.property=this.parseExpression(),this.expect(oA.bracketR)):eg.property=this.type===oA.privateId&&aA.type!=="Super"?this.parsePrivateIdent():this.parseIdent(this.options.allowReserved!=="never"),eg.computed=!!Ag,zA&&(eg.optional=WA),aA=this.finishNode(eg,"MemberExpression")}else if(!yA&&this.eat(oA.parenL)){var sg=this.maybeInArrowParameters;this.maybeInArrowParameters=!0;var ug=new T$1,yg=this.yieldPos,Dg=this.awaitPos,hg=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var wg=this.parseExprList(oA.parenR,this.options.ecmaVersion>=8,!1,ug);if(GA&&!WA&&this.shouldParseAsyncArrow())this.checkPatternErrors(ug,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=yg,this.awaitPos=Dg,this.awaitIdentPos=hg,aA=this.parseSubscriptAsyncArrow(nA,DA,wg,YA);else{this.checkExpressionErrors(ug,!0),this.yieldPos=yg||this.yieldPos,this.awaitPos=Dg||this.awaitPos,this.awaitIdentPos=hg||this.awaitIdentPos;var Qg=this.startNodeAt(nA,DA);Qg.callee=aA,Qg.arguments=wg,zA&&(Qg.optional=WA),aA=this.finishNode(Qg,"CallExpression")}this.maybeInArrowParameters=sg}else if(this.type===oA.backQuote){(WA||KA)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Mg=this.startNodeAt(nA,DA);Mg.tag=aA,Mg.quasi=this.parseTemplate({isTagged:!0}),aA=this.finishNode(Mg,"TaggedTemplateExpression")}return aA},kA.parseGetterSetter=function(aA){aA.kind=aA.key.name,this.parsePropertyName(aA),aA.value=this.parseMethod(!1);var nA=aA.kind==="get"?0:1,DA=aA.value.params[0],yA=DA&&this.isThisParam(DA);aA.value.params.length!==(nA=yA?nA+1:nA)?this.raiseRecoverable(aA.value.start,aA.kind==="get"?"getter should have no params":"setter should have exactly one param"):aA.kind==="set"&&aA.value.params[0].type==="RestElement"&&this.raiseRecoverable(aA.value.params[0].start,"Setter cannot use rest params")},kA.parseProperty=function(aA,nA){if(!aA){var DA=[];if(this.match(hA.at))for(;this.match(hA.at);)DA.push(this.parseDecorator());var yA=RA.prototype.parseProperty.call(this,aA,nA);return yA.type==="SpreadElement"&&DA.length&&this.raise(yA.start,"Decorators can't be used with SpreadElement"),DA.length&&(yA.decorators=DA,DA=[]),yA}return RA.prototype.parseProperty.call(this,aA,nA)},kA.parseCatchClauseParam=function(){var aA=this.parseBindingAtom(),nA=aA.type==="Identifier";this.enterScope(nA?32:0),this.checkLValPattern(aA,nA?4:2);var DA=this.tsTryParseTypeAnnotation();return DA&&(aA.typeAnnotation=DA,this.resetEndLocation(aA)),this.expect(oA.parenR),aA},kA.parseClass=function(aA,nA){var DA=this.inAbstractClass;this.inAbstractClass=!!aA.abstract;try{this.next(),this.takeDecorators(aA);var yA=this.strict;this.strict=!0,this.parseClassId(aA,nA),this.parseClassSuper(aA);var GA=this.enterClassBody(),SA=this.startNode(),YA=!1;SA.body=[];var UA=[];for(this.expect(oA.braceL);this.type!==oA.braceR;)if(this.match(hA.at))UA.push(this.parseDecorator());else{var KA=this.parseClassElement(aA.superClass!==null);UA.length&&(KA.decorators=UA,this.resetStartLocationFromNode(KA,UA[0]),UA=[]),KA&&(SA.body.push(KA),KA.type==="MethodDefinition"&&KA.kind==="constructor"&&KA.value.type==="FunctionExpression"?(YA&&this.raiseRecoverable(KA.start,"Duplicate constructor in the same class"),YA=!0,KA.decorators&&KA.decorators.length>0&&this.raise(KA.start,"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?")):KA.key&&KA.key.type==="PrivateIdentifier"&&v$1(GA,KA)&&this.raiseRecoverable(KA.key.start,"Identifier '#"+KA.key.name+"' has already been declared"))}return this.strict=yA,this.next(),UA.length&&this.raise(this.start,"Decorators must be attached to a class element."),aA.body=this.finishNode(SA,"ClassBody"),this.exitClassBody(),this.finishNode(aA,nA?"ClassDeclaration":"ClassExpression")}finally{this.inAbstractClass=DA}},kA.parseClassFunctionParams=function(){var aA=this.tsTryParseTypeParameters(this.tsParseConstModifier),nA=this.parseBindingList(oA.parenR,!1,this.options.ecmaVersion>=8,!0);return aA&&(nA.typeParameters=aA),nA},kA.parseMethod=function(aA,nA,DA,yA,GA){var SA=this.startNode(),YA=this.yieldPos,UA=this.awaitPos,KA=this.awaitIdentPos;if(this.initFunction(SA),this.options.ecmaVersion>=6&&(SA.generator=aA),this.options.ecmaVersion>=8&&(SA.async=!!nA),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|w$1(nA,SA.generator)|(DA?128:0)),this.expect(oA.parenL),SA.params=this.parseClassFunctionParams(),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(SA,!1,!0,!1,{isClassMethod:yA}),this.yieldPos=YA,this.awaitPos=UA,this.awaitIdentPos=KA,GA&&GA.abstract&&SA.body){var qA=GA.key;this.raise(GA.start,b$1.AbstractMethodHasImplementation({methodName:qA.type!=="Identifier"||GA.computed?"["+this.input.slice(qA.start,qA.end)+"]":qA.name}))}return this.finishNode(SA,"FunctionExpression")},NA.parse=function(aA,nA){if(nA.locations===!1)throw new Error("You have to enable options.locations while using acorn-typescript");nA.locations=!0;var DA=new this(nA,aA);return gA&&(DA.isAmbientContext=!0),DA.parse()},NA.parseExpressionAt=function(aA,nA,DA){if(DA.locations===!1)throw new Error("You have to enable options.locations while using acorn-typescript");DA.locations=!0;var yA=new this(DA,aA,nA);return gA&&(yA.isAmbientContext=!0),yA.nextToken(),yA.parseExpression()},kA.parseImportSpecifier=function(){if(this.ts_isContextual(hA.type)){var aA=this.startNode();return aA.imported=this.parseModuleExportName(),this.parseTypeOnlyImportExportSpecifier(aA,!0,this.importOrExportOuterKind==="type"),this.finishNode(aA,"ImportSpecifier")}var nA=RA.prototype.parseImportSpecifier.call(this);return nA.importKind="value",nA},kA.parseExportSpecifier=function(aA){var nA=this.ts_isContextual(hA.type);if(!this.match(oA.string)&&nA){var DA=this.startNode();return DA.local=this.parseModuleExportName(),this.parseTypeOnlyImportExportSpecifier(DA,!1,this.importOrExportOuterKind==="type"),this.finishNode(DA,"ExportSpecifier"),this.checkExport(aA,DA.exported,DA.exported.start),DA}var yA=RA.prototype.parseExportSpecifier.call(this,aA);return yA.exportKind="value",yA},kA.parseTypeOnlyImportExportSpecifier=function(aA,nA,DA){var yA,GA=nA?"imported":"local",SA=nA?"local":"exported",YA=aA[GA],UA=!1,KA=!0,qA=YA.start;if(this.isContextual("as")){var $A=this.parseIdent();if(this.isContextual("as")){var VA=this.parseIdent();LA(this.type)?(UA=!0,YA=$A,yA=nA?this.parseIdent():this.parseModuleExportName(),KA=!1):(yA=VA,KA=!1)}else LA(this.type)?(KA=!1,yA=nA?this.parseIdent():this.parseModuleExportName()):(UA=!0,YA=$A)}else LA(this.type)&&(UA=!0,nA?(YA=RA.prototype.parseIdent.call(this,!0),this.isContextual("as")||this.checkUnreserved(YA)):YA=this.parseModuleExportName());UA&&DA&&this.raise(qA,nA?b$1.TypeModifierIsUsedInTypeImports:b$1.TypeModifierIsUsedInTypeExports),aA[GA]=YA,aA[SA]=yA,aA[nA?"importKind":"exportKind"]=UA?"type":"value",KA&&this.eatContextual("as")&&(aA[SA]=nA?this.parseIdent():this.parseModuleExportName()),aA[SA]||(aA[SA]=this.copyNode(aA[GA])),nA&&this.checkLValSimple(aA[SA],2)},kA.raiseCommonCheck=function(aA,nA,DA){return nA==="Comma is not permitted after the rest element"?this.isAmbientContext&&this.match(oA.comma)&&this.lookaheadCharCode()===41?void this.next():RA.prototype.raise.call(this,aA,nA):DA?RA.prototype.raiseRecoverable.call(this,aA,nA):RA.prototype.raise.call(this,aA,nA)},kA.raiseRecoverable=function(aA,nA){return this.raiseCommonCheck(aA,nA,!0)},kA.raise=function(aA,nA){return this.raiseCommonCheck(aA,nA,!0)},kA.updateContext=function(aA){var nA=this.type;if(nA==oA.braceL){var DA=this.curContext();DA==dA.tc_oTag?this.context.push(uA.b_expr):DA==dA.tc_expr?this.context.push(uA.b_tmpl):RA.prototype.updateContext.call(this,aA),this.exprAllowed=!0}else{if(nA!==oA.slash||aA!==hA.jsxTagStart)return RA.prototype.updateContext.call(this,aA);this.context.length-=2,this.context.push(dA.tc_cTag),this.exprAllowed=!1}},kA.jsx_parseOpeningElementAt=function(aA,nA){var DA=this,yA=this.startNodeAt(aA,nA),GA=this.jsx_parseElementName();if(GA&&(yA.name=GA),this.match(oA.relational)||this.match(oA.bitShift)){var SA=this.tsTryParseAndCatch(function(){return DA.tsParseTypeArgumentsInExpression()});SA&&(yA.typeParameters=SA)}for(yA.attributes=[];this.type!==oA.slash&&this.type!==hA.jsxTagEnd;)yA.attributes.push(this.jsx_parseAttribute());return yA.selfClosing=this.eat(oA.slash),this.expect(hA.jsxTagEnd),this.finishNode(yA,GA?"JSXOpeningElement":"JSXOpeningFragment")},kA.enterScope=function(aA){aA===f$1&&this.importsStack.push([]),RA.prototype.enterScope.call(this,aA);var nA=RA.prototype.currentScope.call(this);nA.types=[],nA.enums=[],nA.constEnums=[],nA.classes=[],nA.exportOnlyBindings=[]},kA.exitScope=function(){RA.prototype.currentScope.call(this).flags===f$1&&this.importsStack.pop(),RA.prototype.exitScope.call(this)},kA.hasImport=function(aA,nA){var DA=this.importsStack.length;if(this.importsStack[DA-1].indexOf(aA)>-1)return!0;if(!nA&&DA>1){for(var yA=0;yA<DA-1;yA++)if(this.importsStack[yA].indexOf(aA)>-1)return!0}return!1},kA.maybeExportDefined=function(aA,nA){this.inModule&&1&aA.flags&&this.undefinedExports.delete(nA)},kA.isRedeclaredInScope=function(aA,nA,DA){return!!(0&DA)&&(2&DA?aA.lexical.indexOf(nA)>-1||aA.functions.indexOf(nA)>-1||aA.var.indexOf(nA)>-1:3&DA?aA.lexical.indexOf(nA)>-1||!RA.prototype.treatFunctionsAsVarInScope.call(this,aA)&&aA.var.indexOf(nA)>-1:aA.lexical.indexOf(nA)>-1&&!(32&aA.flags&&aA.lexical[0]===nA)||!this.treatFunctionsAsVarInScope(aA)&&aA.functions.indexOf(nA)>-1)},kA.checkRedeclarationInScope=function(aA,nA,DA,yA){this.isRedeclaredInScope(aA,nA,DA)&&this.raise(yA,"Identifier '"+nA+"' has already been declared.")},kA.declareName=function(aA,nA,DA){if(4096&nA)return this.hasImport(aA,!0)&&this.raise(DA,"Identifier '"+aA+"' has already been declared."),void this.importsStack[this.importsStack.length-1].push(aA);var yA=this.currentScope();if(1024&nA)return this.maybeExportDefined(yA,aA),void yA.exportOnlyBindings.push(aA);RA.prototype.declareName.call(this,aA,nA,DA),0&nA&&(0&nA||(this.checkRedeclarationInScope(yA,aA,nA,DA),this.maybeExportDefined(yA,aA)),yA.types.push(aA)),256&nA&&yA.enums.push(aA),512&nA&&yA.constEnums.push(aA),128&nA&&yA.classes.push(aA)},kA.checkLocalExport=function(aA){var nA=aA.name;if(!this.hasImport(nA)){for(var DA=this.scopeStack.length-1;DA>=0;DA--){var yA=this.scopeStack[DA];if(yA.types.indexOf(nA)>-1||yA.exportOnlyBindings.indexOf(nA)>-1)return}RA.prototype.checkLocalExport.call(this,aA)}},FA=NA,xA=[{key:"acornTypeScript",get:function(){return CA}}],(vA=[{key:"acornTypeScript",get:function(){return CA}}])&&a$1(FA.prototype,vA),xA&&a$1(FA,xA),Object.defineProperty(FA,"prototype",{writable:!1}),NA}(BA);return JA}}const ParserWithTS=Parser$1.extend(D$1({allowSatisfies:!0}));function parse$1(eA,AA){const tA=AA?ParserWithTS:Parser$1,{onComment:gA,add_comments:iA}=get_comment_handlers(eA),IA=tA.parse(eA,{onComment:gA,sourceType:"module",ecmaVersion:13,locations:!0});return AA&&amend(eA,IA),iA(IA),IA}function parse_expression_at(eA,AA,tA){const gA=AA?ParserWithTS:Parser$1,{onComment:iA,add_comments:IA}=get_comment_handlers(eA),BA=gA.parseExpressionAt(eA,tA,{onComment:iA,sourceType:"module",ecmaVersion:13,locations:!0});return AA&&amend(eA,BA),IA(BA),BA}function get_comment_handlers(eA){const AA=[];return{onComment:(tA,gA,iA,IA)=>{if(tA&&/\n/.test(gA)){let BA=iA;for(;BA>0&&eA[BA-1]!==`
30
+ `;)BA-=1;let sA=BA;for(;/[ \t]/.test(eA[sA]);)sA+=1;const CA=eA.slice(BA,sA);gA=gA.replace(new RegExp(`^${CA}`,"gm"),"")}AA.push({type:tA?"Block":"Line",value:gA,start:iA,end:IA})},add_comments(tA){AA.length!==0&&(walk(tA,null,{_(gA,{next:iA,path:IA}){let BA;for(;AA[0]&&AA[0].start<gA.start;)BA=AA.shift(),(gA.leadingComments||(gA.leadingComments=[])).push(BA);if(iA(),AA[0]){const sA=IA.at(-1);if(sA===void 0||gA.end!==sA.end){const CA=eA.slice(gA.end,AA[0].start);if(((sA==null?void 0:sA.type)==="BlockStatement"||(sA==null?void 0:sA.type)==="Program")&&sA.body.indexOf(gA)===sA.body.length-1||(sA==null?void 0:sA.type)==="ArrayExpression"&&sA.elements.indexOf(gA)===sA.elements.length-1||(sA==null?void 0:sA.type)==="ObjectExpression"&&sA.properties.indexOf(gA)===sA.properties.length-1)for(gA.end;AA.length;){const QA=AA[0];if(sA&&QA.start>=sA.end)break;(gA.trailingComments||(gA.trailingComments=[])).push(QA),AA.shift(),QA.end}else gA.end<=AA[0].start&&/^[,) \t]*$/.test(CA)&&(gA.trailingComments=[AA.shift()])}}}}),AA.length>0&&(AA[0].start>=tA.end||tA.type==="Program")&&(tA.trailingComments||(tA.trailingComments=[])).push(...AA.splice(0)))}}}function amend(eA,AA){return walk(AA,null,{_(tA,gA){var iA;if(delete tA.loc.start.index,delete tA.loc.end.index,typeof((iA=tA.loc)==null?void 0:iA.end)=="number"){const IA=locator(tA.loc.end);IA&&(tA.loc.end={line:IA.line,column:IA.column})}if(tA.typeAnnotation&&(tA.end===void 0||tA.end<tA.start)){let IA=tA.typeAnnotation.start;for(;/\s/.test(eA[IA-1]);)IA-=1;tA.end=IA}gA.next()}})}const regex_return_characters=/\r/g;function hash(eA){eA=eA.replace(regex_return_characters,"");let AA=5381,tA=eA.length;for(;tA--;)AA=(AA<<5)-AA^eA.charCodeAt(tA);return(AA>>>0).toString(36)}const VOID_ELEMENT_NAMES=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"];function is_void(eA){return VOID_ELEMENT_NAMES.includes(eA)||eA.toLowerCase()==="!doctype"}const RESERVED_WORDS=["arguments","await","break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","eval","export","extends","false","finally","for","function","if","implements","import","in","instanceof","interface","let","new","null","package","private","protected","public","return","static","super","switch","this","throw","true","try","typeof","var","void","while","with","yield"];function is_reserved(eA){return RESERVED_WORDS.includes(eA)}function is_capture_event(eA){return eA.endsWith("capture")&&eA!=="gotpointercapture"&&eA!=="lostpointercapture"}const DELEGATED_EVENTS=["beforeinput","click","change","dblclick","contextmenu","focusin","focusout","input","keydown","keyup","mousedown","mousemove","mouseout","mouseover","mouseup","pointerdown","pointermove","pointerout","pointerover","pointerup","touchend","touchmove","touchstart"];function is_delegated(eA){return DELEGATED_EVENTS.includes(eA)}const DOM_BOOLEAN_ATTRIBUTES=["allowfullscreen","async","autofocus","autoplay","checked","controls","default","disabled","formnovalidate","hidden","indeterminate","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","seamless","selected","webkitdirectory"];function is_boolean_attribute(eA){return DOM_BOOLEAN_ATTRIBUTES.includes(eA)}const ATTRIBUTE_ALIASES={formnovalidate:"formNoValidate",ismap:"isMap",nomodule:"noModule",playsinline:"playsInline",readonly:"readOnly"};function normalize_attribute(eA){return eA=eA.toLowerCase(),ATTRIBUTE_ALIASES[eA]??eA}const DOM_PROPERTIES=[...DOM_BOOLEAN_ATTRIBUTES,"formNoValidate","isMap","noModule","playsInline","readOnly","value","inert","volume"];function is_dom_property(eA){return DOM_PROPERTIES.includes(eA)}const PASSIVE_EVENTS=["touchstart","touchmove"];function is_passive_event(eA){return PASSIVE_EVENTS.includes(eA)}const CONTENT_EDITABLE_BINDINGS=["textContent","innerHTML","innerText"];function is_content_editable_binding(eA){return CONTENT_EDITABLE_BINDINGS.includes(eA)}const LOAD_ERROR_ELEMENTS=["body","embed","iframe","img","link","object","script","style","track"];function is_load_error_element(eA){return LOAD_ERROR_ELEMENTS.includes(eA)}const SVG_ELEMENTS=["altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","discard","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hatch","hatchpath","hkern","image","line","linearGradient","marker","mask","mesh","meshgradient","meshpatch","meshrow","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","set","solidcolor","stop","svg","switch","symbol","text","textPath","tref","tspan","unknown","use","view","vkern"];function is_svg(eA){return SVG_ELEMENTS.includes(eA)}const MATHML_ELEMENTS=["annotation","annotation-xml","maction","math","merror","mfrac","mi","mmultiscripts","mn","mo","mover","mpadded","mphantom","mprescripts","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msubsup","msup","mtable","mtd","mtext","mtr","munder","munderover","semantics"];function is_mathml(eA){return MATHML_ELEMENTS.includes(eA)}const RUNES=["$state","$state.raw","$state.snapshot","$props","$bindable","$derived","$derived.by","$effect","$effect.pre","$effect.tracking","$effect.root","$inspect","$inspect().with","$host"];function is_rune(eA){return RUNES.includes(eA)}class InternalCompileError extends Error{constructor(tA,gA,iA){super(gA);rg(this,"message","");Rg(this,Jg);this.stack="",cg(this,Jg,new CompileDiagnostic(tA,gA,iA)),Object.assign(this,tg(this,Jg)),this.name="CompileError"}toString(){return tg(this,Jg).toString()}toJSON(){return tg(this,Jg).toJSON()}}Jg=new WeakMap;function e$1(eA,AA,tA){const gA=typeof eA=="number"?eA:eA==null?void 0:eA.start,iA=typeof eA=="number"?eA:eA==null?void 0:eA.end;throw new InternalCompileError(AA,tA,gA!==void 0?[gA,iA??gA]:void 0)}function options_invalid_value(eA,AA){e$1(eA,"options_invalid_value",`Invalid compiler option: ${AA}`)}function options_removed(eA,AA){e$1(eA,"options_removed",`Invalid compiler option: ${AA}`)}function options_unrecognised(eA,AA){e$1(eA,"options_unrecognised",`Unrecognised compiler option ${AA}`)}function bindable_invalid_location(eA){e$1(eA,"bindable_invalid_location","`$bindable()` can only be used inside a `$props()` declaration")}function constant_assignment(eA,AA){e$1(eA,"constant_assignment",`Cannot assign to ${AA}`)}function constant_binding(eA,AA){e$1(eA,"constant_binding",`Cannot bind to ${AA}`)}function declaration_duplicate(eA,AA){e$1(eA,"declaration_duplicate",`\`${AA}\` has already been declared`)}function declaration_duplicate_module_import(eA){e$1(eA,"declaration_duplicate_module_import","Cannot declare a variable with the same name as an import inside `<script module>`")}function derived_invalid_export(eA){e$1(eA,"derived_invalid_export","Cannot export derived state from a module. To expose the current derived value, export a function returning its value")}function dollar_binding_invalid(eA){e$1(eA,"dollar_binding_invalid","The $ name is reserved, and cannot be used for variables and imports")}function dollar_prefix_invalid(eA){e$1(eA,"dollar_prefix_invalid","The $ prefix is reserved, and cannot be used for variables and imports")}function each_item_invalid_assignment(eA){e$1(eA,"each_item_invalid_assignment","Cannot reassign or bind to each block argument in runes mode. Use the array and index variables instead (e.g. `array[i] = value` instead of `entry = value`)")}function effect_invalid_placement(eA){e$1(eA,"effect_invalid_placement","`$effect()` can only be used as an expression statement")}function global_reference_invalid(eA,AA){e$1(eA,"global_reference_invalid",`\`${AA}\` is an illegal variable name. To reference a global variable called \`${AA}\`, use \`globalThis.${AA}\``)}function host_invalid_placement(eA){e$1(eA,"host_invalid_placement","`$host()` can only be used inside custom element component instances")}function import_svelte_internal_forbidden(eA){e$1(eA,"import_svelte_internal_forbidden","Imports of `svelte/internal/*` are forbidden. It contains private runtime code which is subject to change without notice. If you're importing from `svelte/internal/*` to work around a limitation of Svelte, please open an issue at https://github.com/sveltejs/svelte and explain your use case")}function invalid_arguments_usage(eA){e$1(eA,"invalid_arguments_usage","The arguments keyword cannot be used within the template or at the top level of a component")}function legacy_export_invalid(eA){e$1(eA,"legacy_export_invalid","Cannot use `export let` in runes mode — use `$props()` instead")}function legacy_props_invalid(eA){e$1(eA,"legacy_props_invalid","Cannot use `$$props` in runes mode")}function legacy_reactive_statement_invalid(eA){e$1(eA,"legacy_reactive_statement_invalid","`$:` is not allowed in runes mode, use `$derived` or `$effect` instead")}function legacy_rest_props_invalid(eA){e$1(eA,"legacy_rest_props_invalid","Cannot use `$$restProps` in runes mode")}function module_illegal_default_export(eA){e$1(eA,"module_illegal_default_export","A component cannot have a default export")}function props_duplicate(eA){e$1(eA,"props_duplicate","Cannot use `$props()` more than once")}function props_illegal_name(eA){e$1(eA,"props_illegal_name","Declaring or accessing a prop starting with `$$` is illegal (they are reserved for Svelte internals)")}function props_invalid_identifier(eA){e$1(eA,"props_invalid_identifier","`$props()` can only be used with an object destructuring pattern")}function props_invalid_pattern(eA){e$1(eA,"props_invalid_pattern","`$props()` assignment must not contain nested properties or computed keys")}function props_invalid_placement(eA){e$1(eA,"props_invalid_placement","`$props()` can only be used at the top level of components as a variable declaration initializer")}function reactive_declaration_cycle(eA,AA){e$1(eA,"reactive_declaration_cycle",`Cyclical dependency detected: ${AA}`)}function rune_invalid_arguments(eA,AA){e$1(eA,"rune_invalid_arguments",`\`${AA}\` cannot be called with arguments`)}function rune_invalid_arguments_length(eA,AA,tA){e$1(eA,"rune_invalid_arguments_length",`\`${AA}\` must be called with ${tA}`)}function rune_invalid_computed_property(eA){e$1(eA,"rune_invalid_computed_property","Cannot access a computed property of a rune")}function rune_invalid_name(eA,AA){e$1(eA,"rune_invalid_name",`\`${AA}\` is not a valid rune`)}function rune_invalid_usage(eA,AA){e$1(eA,"rune_invalid_usage",`Cannot use \`${AA}\` rune in non-runes mode`)}function rune_missing_parentheses(eA){e$1(eA,"rune_missing_parentheses","Cannot use rune without parentheses")}function rune_removed(eA,AA){e$1(eA,"rune_removed",`The \`${AA}\` rune has been removed`)}function rune_renamed(eA,AA,tA){e$1(eA,"rune_renamed",`\`${AA}\` is now \`${tA}\``)}function runes_mode_invalid_import(eA,AA){e$1(eA,"runes_mode_invalid_import",`${AA} cannot be used in runes mode`)}function snippet_parameter_assignment(eA){e$1(eA,"snippet_parameter_assignment","Cannot reassign or bind to snippet parameter")}function state_invalid_export(eA){e$1(eA,"state_invalid_export","Cannot export state from a module if it is reassigned. Either export a function returning the state value or only mutate the state value's properties")}function state_invalid_placement(eA,AA){e$1(eA,"state_invalid_placement",`\`${AA}(...)\` can only be used as a variable declaration initializer or a class field`)}function store_invalid_scoped_subscription(eA){e$1(eA,"store_invalid_scoped_subscription","Cannot subscribe to stores that are not declared at the top level of the component")}function store_invalid_subscription(eA){e$1(eA,"store_invalid_subscription","Cannot reference store value inside `<script module>`")}function store_invalid_subscription_module(eA){e$1(eA,"store_invalid_subscription_module","Cannot reference store value outside a `.svelte` file")}function typescript_invalid_feature(eA,AA){e$1(eA,"typescript_invalid_feature",`TypeScript language features like ${AA} are not natively supported, and their use is generally discouraged. Outside of \`<script>\` tags, these features are not supported. For use within \`<script>\` tags, you will need to use a preprocessor to convert it to JavaScript before it gets passed to the Svelte compiler. If you are using \`vitePreprocess\`, make sure to specifically enable preprocessing script tags (\`vitePreprocess({ script: true })\`)`)}function css_empty_declaration(eA){e$1(eA,"css_empty_declaration","Declaration cannot be empty")}function css_expected_identifier(eA){e$1(eA,"css_expected_identifier","Expected a valid CSS identifier")}function css_global_block_invalid_combinator(eA,AA){e$1(eA,"css_global_block_invalid_combinator",`A \`:global\` selector cannot follow a \`${AA}\` combinator`)}function css_global_block_invalid_declaration(eA){e$1(eA,"css_global_block_invalid_declaration","A top-level `:global {...}` block can only contain rules, not declarations")}function css_global_block_invalid_list(eA){e$1(eA,"css_global_block_invalid_list","A `:global` selector cannot be part of a selector list with more than one item")}function css_global_block_invalid_modifier(eA){e$1(eA,"css_global_block_invalid_modifier","A `:global` selector cannot modify an existing selector")}function css_global_block_invalid_modifier_start(eA){e$1(eA,"css_global_block_invalid_modifier_start","A `:global` selector can only be modified if it is a descendant of other selectors")}function css_global_invalid_placement(eA){e$1(eA,"css_global_invalid_placement","`:global(...)` can be at the start or end of a selector sequence, but not in the middle")}function css_global_invalid_selector(eA){e$1(eA,"css_global_invalid_selector","`:global(...)` must contain exactly one selector")}function css_global_invalid_selector_list(eA){e$1(eA,"css_global_invalid_selector_list","`:global(...)` must not contain type or universal selectors when used in a compound selector")}function css_nesting_selector_invalid_placement(eA){e$1(eA,"css_nesting_selector_invalid_placement","Nesting selectors can only be used inside a rule or as the first selector inside a lone `:global(...)`")}function css_selector_invalid(eA){e$1(eA,"css_selector_invalid","Invalid selector")}function css_type_selector_invalid_placement(eA){e$1(eA,"css_type_selector_invalid_placement","`:global(...)` must not be followed by a type selector")}function animation_duplicate(eA){e$1(eA,"animation_duplicate","An element can only have one 'animate' directive")}function animation_invalid_placement(eA){e$1(eA,"animation_invalid_placement","An element that uses the `animate:` directive must be the only child of a keyed `{#each ...}` block")}function animation_missing_key(eA){e$1(eA,"animation_missing_key","An element that uses the `animate:` directive must be the only child of a keyed `{#each ...}` block. Did you forget to add a key to your each block?")}function attribute_contenteditable_dynamic(eA){e$1(eA,"attribute_contenteditable_dynamic","'contenteditable' attribute cannot be dynamic if element uses two-way binding")}function attribute_contenteditable_missing(eA){e$1(eA,"attribute_contenteditable_missing","'contenteditable' attribute is required for textContent, innerHTML and innerText two-way bindings")}function attribute_duplicate(eA){e$1(eA,"attribute_duplicate","Attributes need to be unique")}function attribute_empty_shorthand(eA){e$1(eA,"attribute_empty_shorthand","Attribute shorthand cannot be empty")}function attribute_invalid_event_handler(eA){e$1(eA,"attribute_invalid_event_handler","Event attribute must be a JavaScript expression, not a string")}function attribute_invalid_multiple(eA){e$1(eA,"attribute_invalid_multiple","'multiple' attribute must be static if select uses two-way binding")}function attribute_invalid_name(eA,AA){e$1(eA,"attribute_invalid_name",`'${AA}' is not a valid attribute name`)}function attribute_invalid_sequence_expression(eA){e$1(eA,"attribute_invalid_sequence_expression","Sequence expressions are not allowed as attribute/directive values in runes mode, unless wrapped in parentheses")}function attribute_invalid_type(eA){e$1(eA,"attribute_invalid_type","'type' attribute must be a static text value if input uses two-way binding")}function attribute_unquoted_sequence(eA){e$1(eA,"attribute_unquoted_sequence","Attribute values containing `{...}` must be enclosed in quote marks, unless the value only contains the expression")}function bind_invalid_expression(eA){e$1(eA,"bind_invalid_expression","Can only bind to an Identifier or MemberExpression")}function bind_invalid_name(eA,AA,tA){e$1(eA,"bind_invalid_name",tA?`\`bind:${AA}\` is not a valid binding. ${tA}`:`\`bind:${AA}\` is not a valid binding`)}function bind_invalid_target(eA,AA,tA){e$1(eA,"bind_invalid_target",`\`bind:${AA}\` can only be used with ${tA}`)}function bind_invalid_value(eA){e$1(eA,"bind_invalid_value","Can only bind to state or props")}function block_duplicate_clause(eA,AA){e$1(eA,"block_duplicate_clause",`${AA} cannot appear more than once within a block`)}function block_invalid_continuation_placement(eA){e$1(eA,"block_invalid_continuation_placement","{:...} block is invalid at this position (did you forget to close the preceding element or block?)")}function block_invalid_elseif(eA){e$1(eA,"block_invalid_elseif","'elseif' should be 'else if'")}function block_invalid_placement(eA,AA,tA){e$1(eA,"block_invalid_placement",`{#${AA} ...} block cannot be ${tA}`)}function block_unclosed(eA){e$1(eA,"block_unclosed","Block was left open")}function block_unexpected_character(eA,AA){e$1(eA,"block_unexpected_character",`Expected a \`${AA}\` character immediately following the opening bracket`)}function block_unexpected_close(eA){e$1(eA,"block_unexpected_close","Unexpected block closing tag")}function component_invalid_directive(eA){e$1(eA,"component_invalid_directive","This type of directive is not valid on components")}function const_tag_cycle(eA,AA){e$1(eA,"const_tag_cycle",`Cyclical dependency detected: ${AA}`)}function const_tag_invalid_expression(eA){e$1(eA,"const_tag_invalid_expression","{@const ...} must consist of a single variable declaration")}function const_tag_invalid_placement(eA){e$1(eA,"const_tag_invalid_placement","`{@const}` must be the immediate child of `{#snippet}`, `{#if}`, `{:else if}`, `{:else}`, `{#each}`, `{:then}`, `{:catch}`, `<svelte:fragment>` or `<Component>`")}function debug_tag_invalid_arguments(eA){e$1(eA,"debug_tag_invalid_arguments","{@debug ...} arguments must be identifiers, not arbitrary expressions")}function directive_invalid_value(eA){e$1(eA,"directive_invalid_value","Directive value must be a JavaScript expression enclosed in curly braces")}function directive_missing_name(eA,AA){e$1(eA,"directive_missing_name",`\`${AA}\` name cannot be empty`)}function element_invalid_closing_tag(eA,AA){e$1(eA,"element_invalid_closing_tag",`\`</${AA}>\` attempted to close an element that was not open`)}function element_invalid_closing_tag_autoclosed(eA,AA,tA){e$1(eA,"element_invalid_closing_tag_autoclosed",`\`</${AA}>\` attempted to close element that was already automatically closed by \`<${tA}>\` (cannot nest \`<${tA}>\` inside \`<${AA}>\`)`)}function element_unclosed(eA,AA){e$1(eA,"element_unclosed",`\`<${AA}>\` was left open`)}function event_handler_invalid_component_modifier(eA){e$1(eA,"event_handler_invalid_component_modifier","Event modifiers other than 'once' can only be used on DOM elements")}function event_handler_invalid_modifier(eA,AA){e$1(eA,"event_handler_invalid_modifier",`Valid event modifiers are ${AA}`)}function event_handler_invalid_modifier_combination(eA,AA,tA){e$1(eA,"event_handler_invalid_modifier_combination",`The '${AA}' and '${tA}' modifiers cannot be used together`)}function expected_attribute_value(eA){e$1(eA,"expected_attribute_value","Expected attribute value")}function expected_block_type(eA){e$1(eA,"expected_block_type","Expected 'if', 'each', 'await', 'key' or 'snippet'")}function expected_identifier(eA){e$1(eA,"expected_identifier","Expected an identifier")}function expected_pattern(eA){e$1(eA,"expected_pattern","Expected identifier or destructure pattern")}function expected_token(eA,AA){e$1(eA,"expected_token",`Expected token ${AA}`)}function expected_whitespace(eA){e$1(eA,"expected_whitespace","Expected whitespace")}function js_parse_error(eA,AA){e$1(eA,"js_parse_error",`${AA}`)}function let_directive_invalid_placement(eA){e$1(eA,"let_directive_invalid_placement","`let:` directive at invalid position")}function mixed_event_handler_syntaxes(eA,AA){e$1(eA,"mixed_event_handler_syntaxes",`Mixing old (on:${AA}) and new syntaxes for event handling is not allowed. Use only the on${AA} syntax`)}function node_invalid_placement(eA,AA,tA){e$1(eA,"node_invalid_placement",`${AA} is invalid inside \`<${tA}>\``)}function render_tag_invalid_call_expression(eA){e$1(eA,"render_tag_invalid_call_expression","Calling a snippet function using apply, bind or call is not allowed")}function render_tag_invalid_expression(eA){e$1(eA,"render_tag_invalid_expression","`{@render ...}` tags can only contain call expressions")}function render_tag_invalid_spread_argument(eA){e$1(eA,"render_tag_invalid_spread_argument","cannot use spread arguments in `{@render ...}` tags")}function script_duplicate(eA){e$1(eA,"script_duplicate","A component can have a single top-level `<script>` element and/or a single top-level `<script module>` element")}function script_invalid_attribute_value(eA,AA){e$1(eA,"script_invalid_attribute_value",`If the \`${AA}\` attribute is supplied, it must be a boolean attribute`)}function script_invalid_context(eA){e$1(eA,"script_invalid_context",'If the context attribute is supplied, its value must be "module"')}function script_reserved_attribute(eA,AA){e$1(eA,"script_reserved_attribute",`The \`${AA}\` attribute is reserved and cannot be used`)}function slot_attribute_duplicate(eA,AA,tA){e$1(eA,"slot_attribute_duplicate",`Duplicate slot name '${AA}' in <${tA}>`)}function slot_attribute_invalid(eA){e$1(eA,"slot_attribute_invalid","slot attribute must be a static value")}function slot_attribute_invalid_placement(eA){e$1(eA,"slot_attribute_invalid_placement","Element with a slot='...' attribute must be a child of a component or a descendant of a custom element")}function slot_default_duplicate(eA){e$1(eA,"slot_default_duplicate",'Found default slot content alongside an explicit slot="default"')}function slot_element_invalid_attribute(eA){e$1(eA,"slot_element_invalid_attribute","`<slot>` can only receive attributes and (optionally) let directives")}function slot_element_invalid_name(eA){e$1(eA,"slot_element_invalid_name","slot attribute must be a static value")}function slot_element_invalid_name_default(eA){e$1(eA,"slot_element_invalid_name_default","`default` is a reserved word — it cannot be used as a slot name")}function slot_snippet_conflict(eA){e$1(eA,"slot_snippet_conflict","Cannot use `<slot>` syntax and `{@render ...}` tags in the same component. Migrate towards `{@render ...}` tags completely")}function snippet_conflict(eA){e$1(eA,"snippet_conflict","Cannot use explicit children snippet at the same time as implicit children content. Remove either the non-whitespace content or the children snippet block")}function snippet_invalid_rest_parameter(eA){e$1(eA,"snippet_invalid_rest_parameter","Snippets do not support rest parameters; use an array instead")}function snippet_shadowing_prop(eA,AA){e$1(eA,"snippet_shadowing_prop",`This snippet is shadowing the prop \`${AA}\` with the same name`)}function style_directive_invalid_modifier(eA){e$1(eA,"style_directive_invalid_modifier","`style:` directive can only use the `important` modifier")}function style_duplicate(eA){e$1(eA,"style_duplicate","A component can have a single top-level `<style>` element")}function svelte_body_illegal_attribute(eA){e$1(eA,"svelte_body_illegal_attribute","`<svelte:body>` does not support non-event attributes or spread attributes")}function svelte_component_invalid_this(eA){e$1(eA,"svelte_component_invalid_this","Invalid component definition — must be an `{expression}`")}function svelte_component_missing_this(eA){e$1(eA,"svelte_component_missing_this","`<svelte:component>` must have a 'this' attribute")}function svelte_element_missing_this(eA){e$1(eA,"svelte_element_missing_this","`<svelte:element>` must have a 'this' attribute with a value")}function svelte_fragment_invalid_attribute(eA){e$1(eA,"svelte_fragment_invalid_attribute","`<svelte:fragment>` can only have a slot attribute and (optionally) a let: directive")}function svelte_fragment_invalid_placement(eA){e$1(eA,"svelte_fragment_invalid_placement","`<svelte:fragment>` must be the direct child of a component")}function svelte_head_illegal_attribute(eA){e$1(eA,"svelte_head_illegal_attribute","`<svelte:head>` cannot have attributes nor directives")}function svelte_meta_duplicate(eA,AA){e$1(eA,"svelte_meta_duplicate",`A component can only have one \`<${AA}>\` element`)}function svelte_meta_invalid_content(eA,AA){e$1(eA,"svelte_meta_invalid_content",`<${AA}> cannot have children`)}function svelte_meta_invalid_placement(eA,AA){e$1(eA,"svelte_meta_invalid_placement",`\`<${AA}>\` tags cannot be inside elements or blocks`)}function svelte_meta_invalid_tag(eA,AA){e$1(eA,"svelte_meta_invalid_tag",`Valid \`<svelte:...>\` tag names are ${AA}`)}function svelte_options_deprecated_tag(eA){e$1(eA,"svelte_options_deprecated_tag",'"tag" option is deprecated — use "customElement" instead')}function svelte_options_invalid_attribute(eA){e$1(eA,"svelte_options_invalid_attribute","`<svelte:options>` can only receive static attributes")}function svelte_options_invalid_attribute_value(eA,AA){e$1(eA,"svelte_options_invalid_attribute_value",`Value must be ${AA}, if specified`)}function svelte_options_invalid_customelement(eA){e$1(eA,"svelte_options_invalid_customelement",'"customElement" must be a string literal defining a valid custom element name or an object of the form { tag?: string; shadow?: "open" | "none"; props?: { [key: string]: { attribute?: string; reflect?: boolean; type: .. } } }')}function svelte_options_invalid_customelement_props(eA){e$1(eA,"svelte_options_invalid_customelement_props",'"props" must be a statically analyzable object literal of the form "{ [key: string]: { attribute?: string; reflect?: boolean; type?: "String" | "Boolean" | "Number" | "Array" | "Object" }"')}function svelte_options_invalid_customelement_shadow(eA){e$1(eA,"svelte_options_invalid_customelement_shadow",'"shadow" must be either "open" or "none"')}function svelte_options_invalid_tagname(eA){e$1(eA,"svelte_options_invalid_tagname","Tag name must be lowercase and hyphenated")}function svelte_options_reserved_tagname(eA){e$1(eA,"svelte_options_reserved_tagname","Tag name is reserved")}function svelte_options_unknown_attribute(eA,AA){e$1(eA,"svelte_options_unknown_attribute",`\`<svelte:options>\` unknown attribute '${AA}'`)}function svelte_self_invalid_placement(eA){e$1(eA,"svelte_self_invalid_placement","`<svelte:self>` components can only exist inside `{#if}` blocks, `{#each}` blocks, `{#snippet}` blocks or slots passed to components")}function tag_invalid_name(eA){e$1(eA,"tag_invalid_name","Expected a valid element or component name. Components must have a valid variable name or dot notation expression")}function tag_invalid_placement(eA,AA,tA){e$1(eA,"tag_invalid_placement",`{@${AA} ...} tag cannot be ${tA}`)}function textarea_invalid_content(eA){e$1(eA,"textarea_invalid_content","A `<textarea>` can have either a value attribute or (equivalently) child content, but not both")}function title_illegal_attribute(eA){e$1(eA,"title_illegal_attribute","`<title>` cannot have attributes nor directives")}function title_invalid_content(eA){e$1(eA,"title_invalid_content","`<title>` can only contain text and {tags}")}function transition_conflict(eA,AA,tA){e$1(eA,"transition_conflict",`Cannot use \`${AA}:\` alongside existing \`${tA}:\` directive`)}function transition_duplicate(eA,AA){e$1(eA,"transition_duplicate",`Cannot use multiple \`${AA}:\` directives on a single element`)}function unexpected_eof(eA){e$1(eA,"unexpected_eof","Unexpected end of input")}function unexpected_reserved_word(eA,AA){e$1(eA,"unexpected_reserved_word",`'${AA}' is a reserved word in JavaScript and cannot be used here`)}function void_element_invalid_content(eA){e$1(eA,"void_element_invalid_content","Void elements cannot have children or closing tags")}function read_expression(eA){try{const AA=parse_expression_at(eA.template,eA.ts,eA.index);let tA=0;for(let iA=eA.index;iA<AA.start;iA+=1)eA.template[iA]==="("&&(tA+=1);let gA=AA.end;for(AA.trailingComments!==void 0&&AA.trailingComments.length>0&&(gA=AA.trailingComments.at(-1).end);tA>0;){const iA=eA.template[gA];iA===")"?tA-=1:regex_whitespace.test(iA)||expected_token(gA,")"),gA+=1}return eA.index=gA,AA}catch(AA){eA.acorn_error(AA)}}function sanitize_template_string(eA){return eA.replace(/(`|\${|\\)/g,"\\$1")}function array(eA=[]){return{type:"ArrayExpression",elements:eA}}function array_pattern(eA){return{type:"ArrayPattern",elements:eA}}function assignment_pattern(eA,AA){return{type:"AssignmentPattern",left:eA,right:AA}}function arrow(eA,AA){return{type:"ArrowFunctionExpression",params:eA,body:AA,expression:AA.type!=="BlockStatement",generator:!1,async:!1,metadata:null}}function assignment(eA,AA,tA){return{type:"AssignmentExpression",operator:eA,left:AA,right:tA}}function async(eA){return{...eA,async:!0}}function await_builder(eA){return{type:"AwaitExpression",argument:eA}}function binary(eA,AA,tA){return{type:"BinaryExpression",operator:eA,left:AA,right:tA}}function block(eA){return{type:"BlockStatement",body:eA}}function labeled(eA,AA){return{type:"LabeledStatement",label:id$1(eA),body:AA}}function call(eA,...AA){typeof eA=="string"&&(eA=id$1(eA)),AA=AA.slice();let tA=AA.length,gA=!0;for(;tA--;)AA[tA]?gA=!1:gA?AA.pop():AA[tA]=id$1("undefined");return{type:"CallExpression",callee:eA,arguments:AA,optional:!1}}function maybe_call(eA,...AA){const tA=call(eA,...AA);return tA.optional=!0,{type:"ChainExpression",expression:tA}}function unary(eA,AA){return{type:"UnaryExpression",argument:AA,operator:eA,prefix:!0}}function conditional(eA,AA,tA){return{type:"ConditionalExpression",test:eA,consequent:AA,alternate:tA}}function logical(eA,AA,tA){return{type:"LogicalExpression",operator:eA,left:AA,right:tA}}function declaration(eA,AA){return{type:"VariableDeclaration",kind:eA,declarations:AA}}function declarator(eA,AA){return typeof eA=="string"&&(eA=id$1(eA)),{type:"VariableDeclarator",id:eA,init:AA}}const empty={type:"EmptyStatement"};function export_default(eA){return{type:"ExportDefaultDeclaration",declaration:eA}}function function_declaration(eA,AA,tA){return{type:"FunctionDeclaration",id:eA,params:AA,body:tA,generator:!1,async:!1,metadata:null}}function get(eA,AA){return prop("get",key$2(eA),function_builder(null,[],block(AA)))}function id$1(eA){return{type:"Identifier",name:eA}}function private_id(eA){return{type:"PrivateIdentifier",name:eA}}function import_namespace(eA){return{type:"ImportNamespaceSpecifier",local:id$1(eA)}}function init(eA,AA){return prop("init",key$2(eA),AA)}function literal(eA){return{type:"Literal",value:eA}}function member(eA,AA,tA=!1,gA=!1){return typeof AA=="string"&&(AA=id$1(AA)),{type:"MemberExpression",object:eA,property:AA,computed:tA,optional:gA}}function member_id(eA){const AA=eA.split(".");let tA=id$1(AA[0]);for(let gA=1;gA<AA.length;gA+=1)tA=member(tA,id$1(AA[gA]));return tA}function object$2(eA){return{type:"ObjectExpression",properties:eA}}function object_pattern(eA){return{type:"ObjectPattern",properties:eA}}function prop(eA,AA,tA,gA=!1){return{type:"Property",kind:eA,key:AA,value:tA,method:!1,shorthand:!1,computed:gA}}function prop_def(eA,AA,tA=!1,gA=!1){return{type:"PropertyDefinition",key:eA,value:AA,computed:tA,static:gA,decorators:[]}}function quasi(eA,AA=!1){return{type:"TemplateElement",value:{raw:sanitize_template_string(eA),cooked:eA},tail:AA}}function rest(eA){return{type:"RestElement",argument:eA}}function sequence$1(eA){return{type:"SequenceExpression",expressions:eA}}function set(eA,AA){return prop("set",key$2(eA),function_builder(null,[id$1("$$value")],block(AA)))}function spread(eA){return{type:"SpreadElement",argument:eA}}function stmt(eA){return{type:"ExpressionStatement",expression:eA}}function template(eA,AA){return{type:"TemplateLiteral",quasis:eA,expressions:AA}}function thunk(eA,AA=!1){const tA=arrow([],eA);return AA&&(tA.async=!0),unthunk(tA)}function unthunk(eA){return eA.type==="ArrowFunctionExpression"&&eA.async===!1&&eA.body.type==="CallExpression"&&eA.body.callee.type==="Identifier"&&eA.params.length===eA.body.arguments.length&&eA.params.every((AA,tA)=>{const gA=eA.body.arguments[tA];return AA.type==="Identifier"&&gA.type==="Identifier"&&AA.name===gA.name})?eA.body.callee:eA}function new_builder(eA,...AA){return typeof eA=="string"&&(eA=id$1(eA)),{callee:eA,arguments:AA,type:"NewExpression"}}function update(eA,AA,tA=!1){return{type:"UpdateExpression",operator:eA,argument:AA,prefix:tA}}function do_while(eA,AA){return{type:"DoWhileStatement",test:eA,body:AA}}const true_instance=literal(!0),false_instance=literal(!1),null_instane=literal(null),debugger_builder={type:"DebuggerStatement"},this_instance={type:"ThisExpression"};function let_builder(eA,AA){return declaration("let",[declarator(eA,AA)])}function const_builder(eA,AA){return declaration("const",[declarator(eA,AA)])}function var_builder(eA,AA){return declaration("var",[declarator(eA,AA)])}function for_builder(eA,AA,tA,gA){return{type:"ForStatement",init:eA,test:AA,update:tA,body:gA}}function method(eA,AA,tA,gA,iA=!1,IA=!1){return{type:"MethodDefinition",key:AA,kind:eA,value:function_builder(null,tA,block(gA)),computed:iA,static:IA,decorators:[]}}function function_builder(eA,AA,tA){return{type:"FunctionExpression",id:eA,params:AA,body:tA,generator:!1,async:!1,metadata:null}}function if_builder(eA,AA,tA){return{type:"IfStatement",test:eA,consequent:AA,alternate:tA}}function import_all(eA,AA){return{type:"ImportDeclaration",source:literal(AA),specifiers:[import_namespace(eA)]}}function imports(eA,AA){return{type:"ImportDeclaration",source:literal(AA),specifiers:eA.map(tA=>({type:"ImportSpecifier",imported:id$1(tA[0]),local:id$1(tA[1])}))}}function return_builder(eA=null){return{type:"ReturnStatement",argument:eA}}function throw_error$1(eA){return{type:"ThrowStatement",argument:new_builder("Error",literal(eA))}}function key$2(eA){return regex_is_valid_identifier.test(eA)?id$1(eA):literal(eA)}function object$1(eA){for(;eA.type==="MemberExpression";)eA=eA.object;return eA.type!=="Identifier"?null:eA}function is_text_attribute(eA){return Array.isArray(eA.value)&&eA.value.length===1&&eA.value[0].type==="Text"}function is_expression_attribute(eA){return eA.value!==!0&&!Array.isArray(eA.value)||Array.isArray(eA.value)&&eA.value.length===1&&eA.value[0].type==="ExpressionTag"}function get_attribute_expression(eA){return Array.isArray(eA.value)?eA.value[0].expression:eA.value.expression}function get_attribute_chunks(eA){return Array.isArray(eA)?eA:typeof eA=="boolean"?[]:[eA]}function is_event_attribute(eA){return is_expression_attribute(eA)&&eA.name.startsWith("on")}function unwrap_pattern(eA,AA=[]){switch(eA.type){case"Identifier":AA.push(eA);break;case"MemberExpression":AA.push(eA);break;case"ObjectPattern":for(const tA of eA.properties)tA.type==="RestElement"?unwrap_pattern(tA.argument,AA):unwrap_pattern(tA.value,AA);break;case"ArrayPattern":for(const tA of eA.elements)tA&&unwrap_pattern(tA,AA);break;case"RestElement":unwrap_pattern(eA.argument,AA);break;case"AssignmentPattern":unwrap_pattern(eA.left,AA);break}return AA}function extract_identifiers(eA){return unwrap_pattern(eA,[]).filter(AA=>AA.type==="Identifier")}function extract_all_identifiers_from_expression(eA){let AA=[],tA=[];return walk(eA,{},{Identifier(gA,{path:iA}){const IA=iA.at(-1);((IA==null?void 0:IA.type)!=="MemberExpression"||IA.property!==gA||IA.computed)&&AA.push(gA),(IA==null?void 0:IA.type)==="MemberExpression"&&IA.computed&&IA.property===gA?tA.push(`[${gA.name}]`):tA.push(gA.name)},Literal(gA,{path:iA}){const IA=typeof gA.value=="string"?`"${gA.value}"`:String(gA.value),BA=iA.at(-1);(BA==null?void 0:BA.type)==="MemberExpression"&&BA.computed&&BA.property===gA?tA.push(`[${IA}]`):tA.push(IA)},ThisExpression(gA,{next:iA}){tA.push("this"),iA()}}),[tA.join("."),AA]}function extract_identifiers_from_destructuring(eA,AA=[]){switch(eA.type){case"Identifier":AA.push(eA);break;case"ObjectExpression":for(const tA of eA.properties)tA.type==="Property"?extract_identifiers_from_destructuring(tA.value,AA):extract_identifiers_from_destructuring(tA.argument,AA);break;case"ArrayExpression":for(const tA of eA.elements)tA&&extract_identifiers_from_destructuring(tA,AA);break}return AA}function extract_paths(eA){return _extract_paths([],eA,AA=>AA,AA=>AA,!1)}function _extract_paths(eA=[],AA,tA,gA,iA){switch(AA.type){case"Identifier":case"MemberExpression":eA.push({node:AA,is_rest:!1,has_default_value:iA,expression:tA,update_expression:gA});break;case"ObjectPattern":for(const IA of AA.properties)if(IA.type==="RestElement"){const BA=sA=>{const CA=[];for(const oA of AA.properties)oA.type==="Property"&&oA.key.type!=="PrivateIdentifier"&&(oA.key.type==="Identifier"&&!oA.computed?CA.push(literal(oA.key.name)):oA.key.type==="Literal"?CA.push(literal(String(oA.key.value))):CA.push(call("String",oA.key)));return call("$.exclude_from_object",tA(sA),array(CA))};IA.argument.type==="Identifier"?eA.push({node:IA.argument,is_rest:!0,has_default_value:iA,expression:BA,update_expression:BA}):_extract_paths(eA,IA.argument,BA,BA,iA)}else{const BA=sA=>member(tA(sA),IA.key,IA.computed||IA.key.type!=="Identifier");_extract_paths(eA,IA.value,BA,BA,iA)}break;case"ArrayPattern":for(let IA=0;IA<AA.elements.length;IA+=1){const BA=AA.elements[IA];if(BA)if(BA.type==="RestElement"){const sA=CA=>call(member(tA(CA),"slice"),literal(IA));BA.argument.type==="Identifier"?eA.push({node:BA.argument,is_rest:!0,has_default_value:iA,expression:sA,update_expression:sA}):_extract_paths(eA,BA.argument,sA,sA,iA)}else{const sA=CA=>member(tA(CA),literal(IA),!0);_extract_paths(eA,BA,sA,sA,iA)}}break;case"AssignmentPattern":{const IA=BA=>build_fallback(tA(BA),AA.right);AA.left.type==="Identifier"?eA.push({node:AA.left,is_rest:!1,has_default_value:!0,expression:IA,update_expression:gA}):_extract_paths(eA,AA.left,IA,gA,!0);break}}return eA}function get_parent(eA,AA){let tA=eA.at(AA);return tA.type==="TSNonNullExpression"||tA.type==="TSAsExpression"?eA.at(AA-1):tA}function is_simple_expression(eA){return eA.type==="Literal"||eA.type==="Identifier"||eA.type==="ArrowFunctionExpression"||eA.type==="FunctionExpression"?!0:eA.type==="ConditionalExpression"?is_simple_expression(eA.test)&&is_simple_expression(eA.consequent)&&is_simple_expression(eA.alternate):eA.type==="BinaryExpression"||eA.type==="LogicalExpression"?is_simple_expression(eA.left)&&is_simple_expression(eA.right):!1}function unwrap_optional(eA){return eA.type==="ChainExpression"?eA.expression:eA}function is_expression_async(eA){switch(eA.type){case"AwaitExpression":return!0;case"ArrayPattern":return eA.elements.some(AA=>AA&&is_expression_async(AA));case"ArrayExpression":return eA.elements.some(AA=>AA?AA.type==="SpreadElement"?is_expression_async(AA.argument):is_expression_async(AA):!1);case"AssignmentPattern":case"AssignmentExpression":case"BinaryExpression":case"LogicalExpression":return is_expression_async(eA.left)||is_expression_async(eA.right);case"CallExpression":case"NewExpression":return eA.callee.type!=="Super"&&is_expression_async(eA.callee)||eA.arguments.some(AA=>AA.type==="SpreadElement"?is_expression_async(AA.argument):is_expression_async(AA));case"ChainExpression":return is_expression_async(eA.expression);case"ConditionalExpression":return is_expression_async(eA.test)||is_expression_async(eA.alternate)||is_expression_async(eA.consequent);case"ImportExpression":return is_expression_async(eA.source);case"MemberExpression":return eA.object.type!=="Super"&&is_expression_async(eA.object)||eA.property.type!=="PrivateIdentifier"&&is_expression_async(eA.property);case"ObjectPattern":case"ObjectExpression":return eA.properties.some(AA=>{if(AA.type==="SpreadElement")return is_expression_async(AA.argument);if(AA.type==="Property")return AA.key.type!=="PrivateIdentifier"&&is_expression_async(AA.key)||is_expression_async(AA.value)});case"RestElement":return is_expression_async(eA.argument);case"SequenceExpression":case"TemplateLiteral":return eA.expressions.some(AA=>is_expression_async(AA));case"TaggedTemplateExpression":return is_expression_async(eA.tag)||is_expression_async(eA.quasi);case"UnaryExpression":case"UpdateExpression":return is_expression_async(eA.argument);case"YieldExpression":return eA.argument?is_expression_async(eA.argument):!1;default:return!1}}function build_fallback(eA,AA){return is_simple_expression(AA)?call("$.fallback",eA,AA):AA.type==="AwaitExpression"&&is_simple_expression(AA.argument)?await_builder(call("$.fallback",eA,AA.argument)):is_expression_async(AA)?await_builder(call("$.fallback",eA,thunk(AA,!0),true_instance)):call("$.fallback",eA,thunk(AA),true_instance)}function build_assignment_value(eA,AA,tA){return eA==="="?tA:binary(eA.slice(0,-1),AA,tA)}const regex_closing_script_tag=/<\/script\s*>/,regex_starts_with_closing_script_tag=/^<\/script\s*>/,RESERVED_ATTRIBUTES=["server","client","worker","test","default"],ALLOWED_ATTRIBUTES=["context","generics","lang","module"];function read_script(eA,AA,tA){const gA=eA.index,iA=eA.read_until(regex_closing_script_tag);eA.index>=eA.template.length&&element_unclosed(eA.template.length,"script");const IA=eA.template.slice(0,gA).replace(regex_not_newline_characters," ")+iA;eA.read(regex_starts_with_closing_script_tag);let BA;try{BA=parse$1(IA,eA.ts)}catch(CA){eA.acorn_error(CA)}BA.start=gA;let sA="default";for(const CA of tA)RESERVED_ATTRIBUTES.includes(CA.name)&&script_reserved_attribute(CA,CA.name),ALLOWED_ATTRIBUTES.includes(CA.name)||script_unknown_attribute(CA),CA.name==="module"&&(CA.value!==!0&&script_invalid_attribute_value(CA,CA.name),sA="module"),CA.name==="context"&&((CA.value===!0||!is_text_attribute(CA))&&script_invalid_context(CA),CA.value[0].data!=="module"&&script_invalid_context(CA),sA="module");return{type:"Script",start:AA,end:eA.index,context:sA,content:BA,parent:null,attributes:tA}}const REGEX_MATCHER=/^[~^$*|]?=/,REGEX_CLOSING_BRACKET=/[\s\]]/,REGEX_ATTRIBUTE_FLAGS=/^[a-zA-Z]+/,REGEX_COMBINATOR=/^(\+|~|>|\|\|)/,REGEX_PERCENTAGE=/^\d+(\.\d+)?%/,REGEX_NTH_OF=/^(even|odd|\+?(\d+|\d*n(\s*[+-]\s*\d+)?)|-\d*n(\s*\+\s*\d+))((?=\s*[,)])|\s+of\s+)/,REGEX_WHITESPACE_OR_COLON=/[\s:]/,REGEX_LEADING_HYPHEN_OR_DIGIT=/-?\d/,REGEX_VALID_IDENTIFIER_CHAR=/[a-zA-Z0-9_-]/,REGEX_COMMENT_CLOSE=/\*\//,REGEX_HTML_COMMENT_CLOSE=/-->/;function read_style(eA,AA,tA){const gA=eA.index,iA=read_body(eA,"</style"),IA=eA.index;return eA.read(/^<\/style\s*>/),{type:"StyleSheet",start:AA,end:eA.index,attributes:tA,children:iA,content:{start:gA,end:IA,styles:eA.template.slice(gA,IA),comment:null}}}function read_body(eA,AA){const tA=[];for(;eA.index<eA.template.length;){if(allow_comment_or_whitespace(eA),eA.match(AA))return tA;eA.match("@")?tA.push(read_at_rule(eA)):tA.push(read_rule(eA))}expected_token(eA.template.length,AA)}function read_at_rule(eA){const AA=eA.index;eA.eat("@",!0);const tA=read_identifier(eA),gA=read_value(eA);let iA=null;return eA.match("{")?iA=read_block(eA):eA.eat(";",!0),{type:"Atrule",start:AA,end:eA.index,name:tA,prelude:gA,block:iA}}function read_rule(eA){const AA=eA.index;return{type:"Rule",prelude:read_selector_list(eA),block:read_block(eA),start:AA,end:eA.index,metadata:{parent_rule:null,has_local_selectors:!1,is_global_block:!1}}}function read_selector_list(eA,AA=!1){const tA=[];allow_comment_or_whitespace(eA);const gA=eA.index;for(;eA.index<eA.template.length;){tA.push(read_selector(eA,AA));const iA=eA.index;if(allow_comment_or_whitespace(eA),AA?eA.match(")"):eA.match("{"))return{type:"SelectorList",start:gA,end:iA,children:tA};eA.eat(",",!0),allow_comment_or_whitespace(eA)}unexpected_eof(eA.template.length)}function read_selector(eA,AA=!1){const tA=eA.index,gA=[];function iA(BA,sA){return{type:"RelativeSelector",combinator:BA,selectors:[],start:sA,end:-1,metadata:{is_global:!1,is_global_like:!1,scoped:!1}}}let IA=iA(null,eA.index);for(;eA.index<eA.template.length;){let BA=eA.index;if(eA.eat("&"))IA.selectors.push({type:"NestingSelector",name:"&",start:BA,end:eA.index});else if(eA.eat("*")){let oA="*";eA.eat("|")&&(oA=read_identifier(eA)),IA.selectors.push({type:"TypeSelector",name:oA,start:BA,end:eA.index})}else if(eA.eat("#"))IA.selectors.push({type:"IdSelector",name:read_identifier(eA),start:BA,end:eA.index});else if(eA.eat("."))IA.selectors.push({type:"ClassSelector",name:read_identifier(eA),start:BA,end:eA.index});else if(eA.eat("::"))IA.selectors.push({type:"PseudoElementSelector",name:read_identifier(eA),start:BA,end:eA.index}),eA.eat("(")&&(read_selector_list(eA,!0),eA.eat(")",!0));else if(eA.eat(":")){const oA=read_identifier(eA);let QA=null;eA.eat("(")&&(QA=read_selector_list(eA,!0),eA.eat(")",!0)),IA.selectors.push({type:"PseudoClassSelector",name:oA,args:QA,start:BA,end:eA.index})}else if(eA.eat("[")){eA.allow_whitespace();const oA=read_identifier(eA);eA.allow_whitespace();let QA=null;const EA=eA.read(REGEX_MATCHER);EA&&(eA.allow_whitespace(),QA=read_attribute_value$1(eA)),eA.allow_whitespace();const rA=eA.read(REGEX_ATTRIBUTE_FLAGS);eA.allow_whitespace(),eA.eat("]",!0),IA.selectors.push({type:"AttributeSelector",start:BA,end:eA.index,name:oA,matcher:EA,value:QA,flags:rA})}else if(AA&&eA.match_regex(REGEX_NTH_OF))IA.selectors.push({type:"Nth",value:eA.read(REGEX_NTH_OF),start:BA,end:eA.index});else if(eA.match_regex(REGEX_PERCENTAGE))IA.selectors.push({type:"Percentage",value:eA.read(REGEX_PERCENTAGE),start:BA,end:eA.index});else if(!eA.match_regex(REGEX_COMBINATOR)){let oA=read_identifier(eA);eA.eat("|")&&(oA=read_identifier(eA)),IA.selectors.push({type:"TypeSelector",name:oA,start:BA,end:eA.index})}const sA=eA.index;if(allow_comment_or_whitespace(eA),eA.match(",")||(AA?eA.match(")"):eA.match("{")))return eA.index=sA,IA.end=sA,gA.push(IA),{type:"ComplexSelector",start:tA,end:sA,children:gA,metadata:{rule:null,used:!1}};eA.index=sA;const CA=read_combinator(eA);CA&&(IA.selectors.length>0&&(IA.end=sA,gA.push(IA)),IA=iA(CA,CA.start),eA.allow_whitespace(),(eA.match(",")||(AA?eA.match(")"):eA.match("{")))&&css_selector_invalid(eA.index))}unexpected_eof(eA.template.length)}function read_combinator(eA){const AA=eA.index;eA.allow_whitespace();const tA=eA.index,gA=eA.read(REGEX_COMBINATOR);if(gA){const iA=eA.index;return eA.allow_whitespace(),{type:"Combinator",name:gA,start:tA,end:iA}}return eA.index!==AA?{type:"Combinator",name:" ",start:AA,end:eA.index}:null}function read_block(eA){const AA=eA.index;eA.eat("{",!0);const tA=[];for(;eA.index<eA.template.length&&(allow_comment_or_whitespace(eA),!eA.match("}"));)tA.push(read_block_item(eA));return eA.eat("}",!0),{type:"Block",start:AA,end:eA.index,children:tA}}function read_block_item(eA){if(eA.match("@"))return read_at_rule(eA);const AA=eA.index;read_value(eA);const tA=eA.template[eA.index];return eA.index=AA,tA==="{"?read_rule(eA):read_declaration(eA)}function read_declaration(eA){const AA=eA.index,tA=eA.read_until(REGEX_WHITESPACE_OR_COLON);eA.allow_whitespace(),eA.eat(":");let gA=eA.index;eA.allow_whitespace();const iA=read_value(eA);!iA&&!tA.startsWith("--")&&css_empty_declaration({start:AA,end:gA});const IA=eA.index;return eA.match("}")||eA.eat(";",!0),{type:"Declaration",start:AA,end:IA,property:tA,value:iA}}function read_value(eA){let AA="",tA=!1,gA=!1,iA=null;for(;eA.index<eA.template.length;){const IA=eA.template[eA.index];if(tA)AA+="\\"+IA,tA=!1;else if(IA==="\\")tA=!0;else if(IA===iA)iA=null;else if(IA===")")gA=!1;else if(iA===null&&(IA==='"'||IA==="'"))iA=IA;else if(IA==="("&&AA.slice(-3)==="url")gA=!0;else if((IA===";"||IA==="{"||IA==="}")&&!gA&&!iA)return AA.trim();AA+=IA,eA.index++}unexpected_eof(eA.template.length)}function read_attribute_value$1(eA){let AA="",tA=!1;const gA=eA.eat('"')?'"':eA.eat("'")?"'":null;for(;eA.index<eA.template.length;){const iA=eA.template[eA.index];if(tA)AA+="\\"+iA,tA=!1;else if(iA==="\\")tA=!0;else{if(gA?iA===gA:REGEX_CLOSING_BRACKET.test(iA))return gA&&eA.eat(gA,!0),AA.trim();AA+=iA}eA.index++}unexpected_eof(eA.template.length)}function read_identifier(eA){const AA=eA.index;let tA="";(eA.match("--")||eA.match_regex(REGEX_LEADING_HYPHEN_OR_DIGIT))&&css_expected_identifier(AA);let gA=!1;for(;eA.index<eA.template.length;){const iA=eA.template[eA.index];if(gA)tA+="\\"+iA,gA=!1;else if(iA==="\\")gA=!0;else if(iA.codePointAt(0)>=160||REGEX_VALID_IDENTIFIER_CHAR.test(iA))tA+=iA;else break;eA.index++}return tA===""&&css_expected_identifier(AA),tA}function allow_comment_or_whitespace(eA){for(eA.allow_whitespace();eA.match("/*")||eA.match("<!--");)eA.eat("/*")&&(eA.read_until(REGEX_COMMENT_CLOSE),eA.eat("*/",!0)),eA.eat("<!--")&&(eA.read_until(REGEX_HTML_COMMENT_CLOSE),eA.eat("-->",!0)),eA.allow_whitespace()}var entities={"CounterClockwiseContourIntegral;":8755,"ClockwiseContourIntegral;":8754,"DoubleLongLeftRightArrow;":10234,"NotNestedGreaterGreater;":10914,"DiacriticalDoubleAcute;":733,"NotSquareSupersetEqual;":8931,"CloseCurlyDoubleQuote;":8221,"DoubleContourIntegral;":8751,"FilledVerySmallSquare;":9642,"NegativeVeryThinSpace;":8203,"NotPrecedesSlantEqual;":8928,"NotRightTriangleEqual;":8941,"NotSucceedsSlantEqual;":8929,"CapitalDifferentialD;":8517,"DoubleLeftRightArrow;":8660,"DoubleLongRightArrow;":10233,"EmptyVerySmallSquare;":9643,"NestedGreaterGreater;":8811,"NotDoubleVerticalBar;":8742,"NotGreaterSlantEqual;":10878,"NotLeftTriangleEqual;":8940,"NotSquareSubsetEqual;":8930,"OpenCurlyDoubleQuote;":8220,"ReverseUpEquilibrium;":10607,"DoubleLongLeftArrow;":10232,"DownLeftRightVector;":10576,"LeftArrowRightArrow;":8646,"NegativeMediumSpace;":8203,"NotGreaterFullEqual;":8807,"NotRightTriangleBar;":10704,"RightArrowLeftArrow;":8644,"SquareSupersetEqual;":8850,"leftrightsquigarrow;":8621,"DownRightTeeVector;":10591,"DownRightVectorBar;":10583,"LongLeftRightArrow;":10231,"Longleftrightarrow;":10234,"NegativeThickSpace;":8203,"NotLeftTriangleBar;":10703,"PrecedesSlantEqual;":8828,"ReverseEquilibrium;":8651,"RightDoubleBracket;":10215,"RightDownTeeVector;":10589,"RightDownVectorBar;":10581,"RightTriangleEqual;":8885,"SquareIntersection;":8851,"SucceedsSlantEqual;":8829,"blacktriangleright;":9656,"longleftrightarrow;":10231,"DoubleUpDownArrow;":8661,"DoubleVerticalBar;":8741,"DownLeftTeeVector;":10590,"DownLeftVectorBar;":10582,"FilledSmallSquare;":9724,"GreaterSlantEqual;":10878,"LeftDoubleBracket;":10214,"LeftDownTeeVector;":10593,"LeftDownVectorBar;":10585,"LeftTriangleEqual;":8884,"NegativeThinSpace;":8203,"NotGreaterGreater;":8811,"NotLessSlantEqual;":10877,"NotNestedLessLess;":10913,"NotReverseElement;":8716,"NotSquareSuperset;":8848,"NotTildeFullEqual;":8775,"RightAngleBracket;":10217,"RightUpDownVector;":10575,"SquareSubsetEqual;":8849,"VerticalSeparator;":10072,"blacktriangledown;":9662,"blacktriangleleft;":9666,"leftrightharpoons;":8651,"rightleftharpoons;":8652,"twoheadrightarrow;":8608,"DiacriticalAcute;":180,"DiacriticalGrave;":96,"DiacriticalTilde;":732,"DoubleRightArrow;":8658,"DownArrowUpArrow;":8693,"EmptySmallSquare;":9723,"GreaterEqualLess;":8923,"GreaterFullEqual;":8807,"LeftAngleBracket;":10216,"LeftUpDownVector;":10577,"LessEqualGreater;":8922,"NonBreakingSpace;":160,"NotPrecedesEqual;":10927,"NotRightTriangle;":8939,"NotSucceedsEqual;":10928,"NotSucceedsTilde;":8831,"NotSupersetEqual;":8841,"RightTriangleBar;":10704,"RightUpTeeVector;":10588,"RightUpVectorBar;":10580,"UnderParenthesis;":9181,"UpArrowDownArrow;":8645,"circlearrowright;":8635,"downharpoonright;":8642,"ntrianglerighteq;":8941,"rightharpoondown;":8641,"rightrightarrows;":8649,"twoheadleftarrow;":8606,"vartriangleright;":8883,"CloseCurlyQuote;":8217,"ContourIntegral;":8750,"DoubleDownArrow;":8659,"DoubleLeftArrow;":8656,"DownRightVector;":8641,"LeftRightVector;":10574,"LeftTriangleBar;":10703,"LeftUpTeeVector;":10592,"LeftUpVectorBar;":10584,"LowerRightArrow;":8600,"NotGreaterEqual;":8817,"NotGreaterTilde;":8821,"NotHumpDownHump;":8782,"NotLeftTriangle;":8938,"NotSquareSubset;":8847,"OverParenthesis;":9180,"RightDownVector;":8642,"ShortRightArrow;":8594,"UpperRightArrow;":8599,"bigtriangledown;":9661,"circlearrowleft;":8634,"curvearrowright;":8631,"downharpoonleft;":8643,"leftharpoondown;":8637,"leftrightarrows;":8646,"nLeftrightarrow;":8654,"nleftrightarrow;":8622,"ntrianglelefteq;":8940,"rightleftarrows;":8644,"rightsquigarrow;":8605,"rightthreetimes;":8908,"straightepsilon;":1013,"trianglerighteq;":8885,"vartriangleleft;":8882,"DiacriticalDot;":729,"DoubleRightTee;":8872,"DownLeftVector;":8637,"GreaterGreater;":10914,"HorizontalLine;":9472,"InvisibleComma;":8291,"InvisibleTimes;":8290,"LeftDownVector;":8643,"LeftRightArrow;":8596,"Leftrightarrow;":8660,"LessSlantEqual;":10877,"LongRightArrow;":10230,"Longrightarrow;":10233,"LowerLeftArrow;":8601,"NestedLessLess;":8810,"NotGreaterLess;":8825,"NotLessGreater;":8824,"NotSubsetEqual;":8840,"NotVerticalBar;":8740,"OpenCurlyQuote;":8216,"ReverseElement;":8715,"RightTeeVector;":10587,"RightVectorBar;":10579,"ShortDownArrow;":8595,"ShortLeftArrow;":8592,"SquareSuperset;":8848,"TildeFullEqual;":8773,"UpperLeftArrow;":8598,"ZeroWidthSpace;":8203,"curvearrowleft;":8630,"doublebarwedge;":8966,"downdownarrows;":8650,"hookrightarrow;":8618,"leftleftarrows;":8647,"leftrightarrow;":8596,"leftthreetimes;":8907,"longrightarrow;":10230,"looparrowright;":8620,"nshortparallel;":8742,"ntriangleright;":8939,"rightarrowtail;":8611,"rightharpoonup;":8640,"trianglelefteq;":8884,"upharpoonright;":8638,"ApplyFunction;":8289,"DifferentialD;":8518,"DoubleLeftTee;":10980,"DoubleUpArrow;":8657,"LeftTeeVector;":10586,"LeftVectorBar;":10578,"LessFullEqual;":8806,"LongLeftArrow;":10229,"Longleftarrow;":10232,"NotEqualTilde;":8770,"NotTildeEqual;":8772,"NotTildeTilde;":8777,"Poincareplane;":8460,"PrecedesEqual;":10927,"PrecedesTilde;":8830,"RightArrowBar;":8677,"RightTeeArrow;":8614,"RightTriangle;":8883,"RightUpVector;":8638,"SucceedsEqual;":10928,"SucceedsTilde;":8831,"SupersetEqual;":8839,"UpEquilibrium;":10606,"VerticalTilde;":8768,"VeryThinSpace;":8202,"bigtriangleup;":9651,"blacktriangle;":9652,"divideontimes;":8903,"fallingdotseq;":8786,"hookleftarrow;":8617,"leftarrowtail;":8610,"leftharpoonup;":8636,"longleftarrow;":10229,"looparrowleft;":8619,"measuredangle;":8737,"ntriangleleft;":8938,"shortparallel;":8741,"smallsetminus;":8726,"triangleright;":9657,"upharpoonleft;":8639,"varsubsetneqq;":10955,"varsupsetneqq;":10956,"DownArrowBar;":10515,"DownTeeArrow;":8615,"ExponentialE;":8519,"GreaterEqual;":8805,"GreaterTilde;":8819,"HilbertSpace;":8459,"HumpDownHump;":8782,"Intersection;":8898,"LeftArrowBar;":8676,"LeftTeeArrow;":8612,"LeftTriangle;":8882,"LeftUpVector;":8639,"NotCongruent;":8802,"NotHumpEqual;":8783,"NotLessEqual;":8816,"NotLessTilde;":8820,"Proportional;":8733,"RightCeiling;":8969,"RoundImplies;":10608,"ShortUpArrow;":8593,"SquareSubset;":8847,"UnderBracket;":9141,"VerticalLine;":124,"blacklozenge;":10731,"exponentiale;":8519,"risingdotseq;":8787,"triangledown;":9663,"triangleleft;":9667,"varsubsetneq;":8842,"varsupsetneq;":8843,"CircleMinus;":8854,"CircleTimes;":8855,"Equilibrium;":8652,"GreaterLess;":8823,"LeftCeiling;":8968,"LessGreater;":8822,"MediumSpace;":8287,"NotLessLess;":8810,"NotPrecedes;":8832,"NotSucceeds;":8833,"NotSuperset;":8835,"OverBracket;":9140,"RightVector;":8640,"Rrightarrow;":8667,"RuleDelayed;":10740,"SmallCircle;":8728,"SquareUnion;":8852,"SubsetEqual;":8838,"UpDownArrow;":8597,"Updownarrow;":8661,"VerticalBar;":8739,"backepsilon;":1014,"blacksquare;":9642,"circledcirc;":8858,"circleddash;":8861,"curlyeqprec;":8926,"curlyeqsucc;":8927,"diamondsuit;":9830,"eqslantless;":10901,"expectation;":8496,"nRightarrow;":8655,"nrightarrow;":8603,"preccurlyeq;":8828,"precnapprox;":10937,"quaternions;":8461,"straightphi;":981,"succcurlyeq;":8829,"succnapprox;":10938,"thickapprox;":8776,"updownarrow;":8597,"Bernoullis;":8492,"CirclePlus;":8853,"EqualTilde;":8770,"Fouriertrf;":8497,"ImaginaryI;":8520,"Laplacetrf;":8466,"LeftVector;":8636,"Lleftarrow;":8666,"NotElement;":8713,"NotGreater;":8815,"Proportion;":8759,"RightArrow;":8594,"RightFloor;":8971,"Rightarrow;":8658,"ThickSpace;":8287,"TildeEqual;":8771,"TildeTilde;":8776,"UnderBrace;":9183,"UpArrowBar;":10514,"UpTeeArrow;":8613,"circledast;":8859,"complement;":8705,"curlywedge;":8911,"eqslantgtr;":10902,"gtreqqless;":10892,"lessapprox;":10885,"lesseqqgtr;":10891,"lmoustache;":9136,"longmapsto;":10236,"mapstodown;":8615,"mapstoleft;":8612,"nLeftarrow;":8653,"nleftarrow;":8602,"nsubseteqq;":10949,"nsupseteqq;":10950,"precapprox;":10935,"rightarrow;":8594,"rmoustache;":9137,"sqsubseteq;":8849,"sqsupseteq;":8850,"subsetneqq;":10955,"succapprox;":10936,"supsetneqq;":10956,"upuparrows;":8648,"varepsilon;":1013,"varnothing;":8709,"Backslash;":8726,"CenterDot;":183,"CircleDot;":8857,"Congruent;":8801,"Coproduct;":8720,"DoubleDot;":168,"DownArrow;":8595,"DownBreve;":785,"Downarrow;":8659,"HumpEqual;":8783,"LeftArrow;":8592,"LeftFloor;":8970,"Leftarrow;":8656,"LessTilde;":8818,"Mellintrf;":8499,"MinusPlus;":8723,"NotCupCap;":8813,"NotExists;":8708,"NotSubset;":8834,"OverBrace;":9182,"PlusMinus;":177,"Therefore;":8756,"ThinSpace;":8201,"TripleDot;":8411,"UnionPlus;":8846,"backprime;":8245,"backsimeq;":8909,"bigotimes;":10754,"centerdot;":183,"checkmark;":10003,"complexes;":8450,"dotsquare;":8865,"downarrow;":8595,"gtrapprox;":10886,"gtreqless;":8923,"gvertneqq;":8809,"heartsuit;":9829,"leftarrow;":8592,"lesseqgtr;":8922,"lvertneqq;":8808,"ngeqslant;":10878,"nleqslant;":10877,"nparallel;":8742,"nshortmid;":8740,"nsubseteq;":8840,"nsupseteq;":8841,"pitchfork;":8916,"rationals;":8474,"spadesuit;":9824,"subseteqq;":10949,"subsetneq;":8842,"supseteqq;":10950,"supsetneq;":8843,"therefore;":8756,"triangleq;":8796,"varpropto;":8733,"DDotrahd;":10513,"DotEqual;":8784,"Integral;":8747,"LessLess;":10913,"NotEqual;":8800,"NotTilde;":8769,"PartialD;":8706,"Precedes;":8826,"RightTee;":8866,"Succeeds;":8827,"SuchThat;":8715,"Superset;":8835,"Uarrocir;":10569,"UnderBar;":95,"andslope;":10840,"angmsdaa;":10664,"angmsdab;":10665,"angmsdac;":10666,"angmsdad;":10667,"angmsdae;":10668,"angmsdaf;":10669,"angmsdag;":10670,"angmsdah;":10671,"angrtvbd;":10653,"approxeq;":8778,"awconint;":8755,"backcong;":8780,"barwedge;":8965,"bbrktbrk;":9142,"bigoplus;":10753,"bigsqcup;":10758,"biguplus;":10756,"bigwedge;":8896,"boxminus;":8863,"boxtimes;":8864,"bsolhsub;":10184,"capbrcup;":10825,"circledR;":174,"circledS;":9416,"cirfnint;":10768,"clubsuit;":9827,"cupbrcap;":10824,"curlyvee;":8910,"cwconint;":8754,"doteqdot;":8785,"dotminus;":8760,"drbkarow;":10512,"dzigrarr;":10239,"elinters;":9191,"emptyset;":8709,"eqvparsl;":10725,"fpartint;":10765,"geqslant;":10878,"gesdotol;":10884,"gnapprox;":10890,"hksearow;":10533,"hkswarow;":10534,"imagline;":8464,"imagpart;":8465,"infintie;":10717,"integers;":8484,"intercal;":8890,"intlarhk;":10775,"laemptyv;":10676,"ldrushar;":10571,"leqslant;":10877,"lesdotor;":10883,"llcorner;":8990,"lnapprox;":10889,"lrcorner;":8991,"lurdshar;":10570,"mapstoup;":8613,"multimap;":8888,"naturals;":8469,"ncongdot;":10861,"notindot;":8949,"otimesas;":10806,"parallel;":8741,"plusacir;":10787,"pointint;":10773,"precneqq;":10933,"precnsim;":8936,"profalar;":9006,"profline;":8978,"profsurf;":8979,"raemptyv;":10675,"realpart;":8476,"rppolint;":10770,"rtriltri;":10702,"scpolint;":10771,"setminus;":8726,"shortmid;":8739,"smeparsl;":10724,"sqsubset;":8847,"sqsupset;":8848,"subseteq;":8838,"succneqq;":10934,"succnsim;":8937,"supseteq;":8839,"thetasym;":977,"thicksim;":8764,"timesbar;":10801,"triangle;":9653,"triminus;":10810,"trpezium;":9186,"ulcorner;":8988,"urcorner;":8989,"varkappa;":1008,"varsigma;":962,"vartheta;":977,"Because;":8757,"Cayleys;":8493,"Cconint;":8752,"Cedilla;":184,"Diamond;":8900,"DownTee;":8868,"Element;":8712,"Epsilon;":917,"Implies;":8658,"LeftTee;":8867,"NewLine;":10,"NoBreak;":8288,"NotLess;":8814,"Omicron;":927,"OverBar;":8254,"Product;":8719,"UpArrow;":8593,"Uparrow;":8657,"Upsilon;":933,"alefsym;":8501,"angrtvb;":8894,"angzarr;":9084,"asympeq;":8781,"backsim;":8765,"because;":8757,"bemptyv;":10672,"between;":8812,"bigcirc;":9711,"bigodot;":10752,"bigstar;":9733,"bnequiv;":8801,"boxplus;":8862,"ccupssm;":10832,"cemptyv;":10674,"cirscir;":10690,"coloneq;":8788,"congdot;":10861,"cudarrl;":10552,"cudarrr;":10549,"cularrp;":10557,"curarrm;":10556,"dbkarow;":10511,"ddagger;":8225,"ddotseq;":10871,"demptyv;":10673,"diamond;":8900,"digamma;":989,"dotplus;":8724,"dwangle;":10662,"epsilon;":949,"eqcolon;":8789,"equivDD;":10872,"gesdoto;":10882,"gtquest;":10876,"gtrless;":8823,"harrcir;":10568,"intprod;":10812,"isindot;":8949,"larrbfs;":10527,"larrsim;":10611,"lbrksld;":10639,"lbrkslu;":10637,"ldrdhar;":10599,"lesdoto;":10881,"lessdot;":8918,"lessgtr;":8822,"lesssim;":8818,"lotimes;":10804,"lozenge;":9674,"ltquest;":10875,"luruhar;":10598,"maltese;":10016,"minusdu;":10794,"napprox;":8777,"natural;":9838,"nearrow;":8599,"nexists;":8708,"notinva;":8713,"notinvb;":8951,"notinvc;":8950,"notniva;":8716,"notnivb;":8958,"notnivc;":8957,"npolint;":10772,"npreceq;":10927,"nsqsube;":8930,"nsqsupe;":8931,"nsubset;":8834,"nsucceq;":10928,"nsupset;":8835,"nvinfin;":10718,"nvltrie;":8884,"nvrtrie;":8885,"nwarrow;":8598,"olcross;":10683,"omicron;":959,"orderof;":8500,"orslope;":10839,"pertenk;":8241,"planckh;":8462,"pluscir;":10786,"plussim;":10790,"plustwo;":10791,"precsim;":8830,"quatint;":10774,"questeq;":8799,"rarrbfs;":10528,"rarrsim;":10612,"rbrksld;":10638,"rbrkslu;":10640,"rdldhar;":10601,"realine;":8475,"rotimes;":10805,"ruluhar;":10600,"searrow;":8600,"simplus;":10788,"simrarr;":10610,"subedot;":10947,"submult;":10945,"subplus;":10943,"subrarr;":10617,"succsim;":8831,"supdsub;":10968,"supedot;":10948,"suphsol;":10185,"suphsub;":10967,"suplarr;":10619,"supmult;":10946,"supplus;":10944,"swarrow;":8601,"topfork;":10970,"triplus;":10809,"tritime;":10811,"uparrow;":8593,"upsilon;":965,"uwangle;":10663,"vzigzag;":10650,"zigrarr;":8669,"Aacute;":193,"Abreve;":258,"Agrave;":192,"Assign;":8788,"Atilde;":195,"Barwed;":8966,"Bumpeq;":8782,"Cacute;":262,"Ccaron;":268,"Ccedil;":199,"Colone;":10868,"Conint;":8751,"CupCap;":8781,"Dagger;":8225,"Dcaron;":270,"DotDot;":8412,"Dstrok;":272,"Eacute;":201,"Ecaron;":282,"Egrave;":200,"Exists;":8707,"ForAll;":8704,"Gammad;":988,"Gbreve;":286,"Gcedil;":290,"HARDcy;":1066,"Hstrok;":294,"Iacute;":205,"Igrave;":204,"Itilde;":296,"Jsercy;":1032,"Kcedil;":310,"Lacute;":313,"Lambda;":923,"Lcaron;":317,"Lcedil;":315,"Lmidot;":319,"Lstrok;":321,"Nacute;":323,"Ncaron;":327,"Ncedil;":325,"Ntilde;":209,"Oacute;":211,"Odblac;":336,"Ograve;":210,"Oslash;":216,"Otilde;":213,"Otimes;":10807,"Racute;":340,"Rarrtl;":10518,"Rcaron;":344,"Rcedil;":342,"SHCHcy;":1065,"SOFTcy;":1068,"Sacute;":346,"Scaron;":352,"Scedil;":350,"Square;":9633,"Subset;":8912,"Supset;":8913,"Tcaron;":356,"Tcedil;":354,"Tstrok;":358,"Uacute;":218,"Ubreve;":364,"Udblac;":368,"Ugrave;":217,"Utilde;":360,"Vdashl;":10982,"Verbar;":8214,"Vvdash;":8874,"Yacute;":221,"Zacute;":377,"Zcaron;":381,"aacute;":225,"abreve;":259,"agrave;":224,"andand;":10837,"angmsd;":8737,"angsph;":8738,"apacir;":10863,"approx;":8776,"atilde;":227,"barvee;":8893,"barwed;":8965,"becaus;":8757,"bernou;":8492,"bigcap;":8898,"bigcup;":8899,"bigvee;":8897,"bkarow;":10509,"bottom;":8869,"bowtie;":8904,"boxbox;":10697,"bprime;":8245,"brvbar;":166,"bullet;":8226,"bumpeq;":8783,"cacute;":263,"capand;":10820,"capcap;":10827,"capcup;":10823,"capdot;":10816,"ccaron;":269,"ccedil;":231,"circeq;":8791,"cirmid;":10991,"colone;":8788,"commat;":64,"compfn;":8728,"conint;":8750,"coprod;":8720,"copysr;":8471,"cularr;":8630,"cupcap;":10822,"cupcup;":10826,"cupdot;":8845,"curarr;":8631,"curren;":164,"cylcty;":9005,"dagger;":8224,"daleth;":8504,"dcaron;":271,"dfisht;":10623,"divide;":247,"divonx;":8903,"dlcorn;":8990,"dlcrop;":8973,"dollar;":36,"drcorn;":8991,"drcrop;":8972,"dstrok;":273,"eacute;":233,"easter;":10862,"ecaron;":283,"ecolon;":8789,"egrave;":232,"egsdot;":10904,"elsdot;":10903,"emptyv;":8709,"emsp13;":8196,"emsp14;":8197,"eparsl;":10723,"eqcirc;":8790,"equals;":61,"equest;":8799,"female;":9792,"ffilig;":64259,"ffllig;":64260,"forall;":8704,"frac12;":189,"frac13;":8531,"frac14;":188,"frac15;":8533,"frac16;":8537,"frac18;":8539,"frac23;":8532,"frac25;":8534,"frac34;":190,"frac35;":8535,"frac38;":8540,"frac45;":8536,"frac56;":8538,"frac58;":8541,"frac78;":8542,"gacute;":501,"gammad;":989,"gbreve;":287,"gesdot;":10880,"gesles;":10900,"gtlPar;":10645,"gtrarr;":10616,"gtrdot;":8919,"gtrsim;":8819,"hairsp;":8202,"hamilt;":8459,"hardcy;":1098,"hearts;":9829,"hellip;":8230,"hercon;":8889,"homtht;":8763,"horbar;":8213,"hslash;":8463,"hstrok;":295,"hybull;":8259,"hyphen;":8208,"iacute;":237,"igrave;":236,"iiiint;":10764,"iinfin;":10716,"incare;":8453,"inodot;":305,"intcal;":8890,"iquest;":191,"isinsv;":8947,"itilde;":297,"jsercy;":1112,"kappav;":1008,"kcedil;":311,"kgreen;":312,"lAtail;":10523,"lacute;":314,"lagran;":8466,"lambda;":955,"langle;":10216,"larrfs;":10525,"larrhk;":8617,"larrlp;":8619,"larrpl;":10553,"larrtl;":8610,"latail;":10521,"lbrace;":123,"lbrack;":91,"lcaron;":318,"lcedil;":316,"ldquor;":8222,"lesdot;":10879,"lesges;":10899,"lfisht;":10620,"lfloor;":8970,"lharul;":10602,"llhard;":10603,"lmidot;":320,"lmoust;":9136,"loplus;":10797,"lowast;":8727,"lowbar;":95,"lparlt;":10643,"lrhard;":10605,"lsaquo;":8249,"lsquor;":8218,"lstrok;":322,"lthree;":8907,"ltimes;":8905,"ltlarr;":10614,"ltrPar;":10646,"mapsto;":8614,"marker;":9646,"mcomma;":10793,"midast;":42,"midcir;":10992,"middot;":183,"minusb;":8863,"minusd;":8760,"mnplus;":8723,"models;":8871,"mstpos;":8766,"nVDash;":8879,"nVdash;":8878,"nacute;":324,"nbumpe;":8783,"ncaron;":328,"ncedil;":326,"nearhk;":10532,"nequiv;":8802,"nesear;":10536,"nexist;":8708,"nltrie;":8940,"notinE;":8953,"nparsl;":11005,"nprcue;":8928,"nrarrc;":10547,"nrarrw;":8605,"nrtrie;":8941,"nsccue;":8929,"nsimeq;":8772,"ntilde;":241,"numero;":8470,"nvDash;":8877,"nvHarr;":10500,"nvdash;":8876,"nvlArr;":10498,"nvrArr;":10499,"nwarhk;":10531,"nwnear;":10535,"oacute;":243,"odblac;":337,"odsold;":10684,"ograve;":242,"ominus;":8854,"origof;":8886,"oslash;":248,"otilde;":245,"otimes;":8855,"parsim;":10995,"percnt;":37,"period;":46,"permil;":8240,"phmmat;":8499,"planck;":8463,"plankv;":8463,"plusdo;":8724,"plusdu;":10789,"plusmn;":177,"preceq;":10927,"primes;":8473,"prnsim;":8936,"propto;":8733,"prurel;":8880,"puncsp;":8200,"qprime;":8279,"rAtail;":10524,"racute;":341,"rangle;":10217,"rarrap;":10613,"rarrfs;":10526,"rarrhk;":8618,"rarrlp;":8620,"rarrpl;":10565,"rarrtl;":8611,"ratail;":10522,"rbrace;":125,"rbrack;":93,"rcaron;":345,"rcedil;":343,"rdquor;":8221,"rfisht;":10621,"rfloor;":8971,"rharul;":10604,"rmoust;":9137,"roplus;":10798,"rpargt;":10644,"rsaquo;":8250,"rsquor;":8217,"rthree;":8908,"rtimes;":8906,"sacute;":347,"scaron;":353,"scedil;":351,"scnsim;":8937,"searhk;":10533,"seswar;":10537,"sfrown;":8994,"shchcy;":1097,"sigmaf;":962,"sigmav;":962,"simdot;":10858,"smashp;":10803,"softcy;":1100,"solbar;":9023,"spades;":9824,"sqcaps;":8851,"sqcups;":8852,"sqsube;":8849,"sqsupe;":8850,"square;":9633,"squarf;":9642,"ssetmn;":8726,"ssmile;":8995,"sstarf;":8902,"subdot;":10941,"subset;":8834,"subsim;":10951,"subsub;":10965,"subsup;":10963,"succeq;":10928,"supdot;":10942,"supset;":8835,"supsim;":10952,"supsub;":10964,"supsup;":10966,"swarhk;":10534,"swnwar;":10538,"target;":8982,"tcaron;":357,"tcedil;":355,"telrec;":8981,"there4;":8756,"thetav;":977,"thinsp;":8201,"thksim;":8764,"timesb;":8864,"timesd;":10800,"topbot;":9014,"topcir;":10993,"tprime;":8244,"tridot;":9708,"tstrok;":359,"uacute;":250,"ubreve;":365,"udblac;":369,"ufisht;":10622,"ugrave;":249,"ulcorn;":8988,"ulcrop;":8975,"urcorn;":8989,"urcrop;":8974,"utilde;":361,"vangrt;":10652,"varphi;":981,"varrho;":1009,"veebar;":8891,"vellip;":8942,"verbar;":124,"vsubnE;":10955,"vsubne;":8842,"vsupnE;":10956,"vsupne;":8843,"wedbar;":10847,"wedgeq;":8793,"weierp;":8472,"wreath;":8768,"xoplus;":10753,"xotime;":10754,"xsqcup;":10758,"xuplus;":10756,"xwedge;":8896,"yacute;":253,"zacute;":378,"zcaron;":382,"zeetrf;":8488,"AElig;":198,Aacute:193,"Acirc;":194,Agrave:192,"Alpha;":913,"Amacr;":256,"Aogon;":260,"Aring;":197,Atilde:195,"Breve;":728,Ccedil:199,"Ccirc;":264,"Colon;":8759,"Cross;":10799,"Dashv;":10980,"Delta;":916,Eacute:201,"Ecirc;":202,Egrave:200,"Emacr;":274,"Eogon;":280,"Equal;":10869,"Gamma;":915,"Gcirc;":284,"Hacek;":711,"Hcirc;":292,"IJlig;":306,Iacute:205,"Icirc;":206,Igrave:204,"Imacr;":298,"Iogon;":302,"Iukcy;":1030,"Jcirc;":308,"Jukcy;":1028,"Kappa;":922,Ntilde:209,"OElig;":338,Oacute:211,"Ocirc;":212,Ograve:210,"Omacr;":332,"Omega;":937,Oslash:216,Otilde:213,"Prime;":8243,"RBarr;":10512,"Scirc;":348,"Sigma;":931,"THORN;":222,"TRADE;":8482,"TSHcy;":1035,"Theta;":920,"Tilde;":8764,Uacute:218,"Ubrcy;":1038,"Ucirc;":219,Ugrave:217,"Umacr;":362,"Union;":8899,"Uogon;":370,"UpTee;":8869,"Uring;":366,"VDash;":8875,"Vdash;":8873,"Wcirc;":372,"Wedge;":8896,Yacute:221,"Ycirc;":374,aacute:225,"acirc;":226,"acute;":180,"aelig;":230,agrave:224,"aleph;":8501,"alpha;":945,"amacr;":257,"amalg;":10815,"angle;":8736,"angrt;":8735,"angst;":197,"aogon;":261,"aring;":229,"asymp;":8776,atilde:227,"awint;":10769,"bcong;":8780,"bdquo;":8222,"bepsi;":1014,"blank;":9251,"blk12;":9618,"blk14;":9617,"blk34;":9619,"block;":9608,"boxDL;":9559,"boxDR;":9556,"boxDl;":9558,"boxDr;":9555,"boxHD;":9574,"boxHU;":9577,"boxHd;":9572,"boxHu;":9575,"boxUL;":9565,"boxUR;":9562,"boxUl;":9564,"boxUr;":9561,"boxVH;":9580,"boxVL;":9571,"boxVR;":9568,"boxVh;":9579,"boxVl;":9570,"boxVr;":9567,"boxdL;":9557,"boxdR;":9554,"boxdl;":9488,"boxdr;":9484,"boxhD;":9573,"boxhU;":9576,"boxhd;":9516,"boxhu;":9524,"boxuL;":9563,"boxuR;":9560,"boxul;":9496,"boxur;":9492,"boxvH;":9578,"boxvL;":9569,"boxvR;":9566,"boxvh;":9532,"boxvl;":9508,"boxvr;":9500,"breve;":728,brvbar:166,"bsemi;":8271,"bsime;":8909,"bsolb;":10693,"bumpE;":10926,"bumpe;":8783,"caret;":8257,"caron;":711,"ccaps;":10829,ccedil:231,"ccirc;":265,"ccups;":10828,"cedil;":184,"check;":10003,"clubs;":9827,"colon;":58,"comma;":44,"crarr;":8629,"cross;":10007,"csube;":10961,"csupe;":10962,"ctdot;":8943,"cuepr;":8926,"cuesc;":8927,"cupor;":10821,curren:164,"cuvee;":8910,"cuwed;":8911,"cwint;":8753,"dashv;":8867,"dblac;":733,"ddarr;":8650,"delta;":948,"dharl;":8643,"dharr;":8642,"diams;":9830,"disin;":8946,divide:247,"doteq;":8784,"dtdot;":8945,"dtrif;":9662,"duarr;":8693,"duhar;":10607,"eDDot;":10871,eacute:233,"ecirc;":234,"efDot;":8786,egrave:232,"emacr;":275,"empty;":8709,"eogon;":281,"eplus;":10865,"epsiv;":1013,"eqsim;":8770,"equiv;":8801,"erDot;":8787,"erarr;":10609,"esdot;":8784,"exist;":8707,"fflig;":64256,"filig;":64257,"fjlig;":102,"fllig;":64258,"fltns;":9649,"forkv;":10969,frac12:189,frac14:188,frac34:190,"frasl;":8260,"frown;":8994,"gamma;":947,"gcirc;":285,"gescc;":10921,"gimel;":8503,"gneqq;":8809,"gnsim;":8935,"grave;":96,"gsime;":10894,"gsiml;":10896,"gtcir;":10874,"gtdot;":8919,"harrw;":8621,"hcirc;":293,"hoarr;":8703,iacute:237,"icirc;":238,"iexcl;":161,igrave:236,"iiint;":8749,"iiota;":8489,"ijlig;":307,"imacr;":299,"image;":8465,"imath;":305,"imped;":437,"infin;":8734,"iogon;":303,"iprod;":10812,iquest:191,"isinE;":8953,"isins;":8948,"isinv;":8712,"iukcy;":1110,"jcirc;":309,"jmath;":567,"jukcy;":1108,"kappa;":954,"lAarr;":8666,"lBarr;":10510,"langd;":10641,"laquo;":171,"larrb;":8676,"lates;":10925,"lbarr;":10508,"lbbrk;":10098,"lbrke;":10635,"lceil;":8968,"ldquo;":8220,"lescc;":10920,"lhard;":8637,"lharu;":8636,"lhblk;":9604,"llarr;":8647,"lltri;":9722,"lneqq;":8808,"lnsim;":8934,"loang;":10220,"loarr;":8701,"lobrk;":10214,"lopar;":10629,"lrarr;":8646,"lrhar;":8651,"lrtri;":8895,"lsime;":10893,"lsimg;":10895,"lsquo;":8216,"ltcir;":10873,"ltdot;":8918,"ltrie;":8884,"ltrif;":9666,"mDDot;":8762,"mdash;":8212,"micro;":181,middot:183,"minus;":8722,"mumap;":8888,"nabla;":8711,"napid;":8779,"napos;":329,"natur;":9838,"nbump;":8782,"ncong;":8775,"ndash;":8211,"neArr;":8663,"nearr;":8599,"nedot;":8784,"nesim;":8770,"ngeqq;":8807,"ngsim;":8821,"nhArr;":8654,"nharr;":8622,"nhpar;":10994,"nlArr;":8653,"nlarr;":8602,"nleqq;":8806,"nless;":8814,"nlsim;":8820,"nltri;":8938,"notin;":8713,"notni;":8716,"npart;":8706,"nprec;":8832,"nrArr;":8655,"nrarr;":8603,"nrtri;":8939,"nsime;":8772,"nsmid;":8740,"nspar;":8742,"nsubE;":10949,"nsube;":8840,"nsucc;":8833,"nsupE;":10950,"nsupe;":8841,ntilde:241,"numsp;":8199,"nvsim;":8764,"nwArr;":8662,"nwarr;":8598,oacute:243,"ocirc;":244,"odash;":8861,"oelig;":339,"ofcir;":10687,ograve:242,"ohbar;":10677,"olarr;":8634,"olcir;":10686,"oline;":8254,"omacr;":333,"omega;":969,"operp;":10681,"oplus;":8853,"orarr;":8635,"order;":8500,oslash:248,otilde:245,"ovbar;":9021,"parsl;":11005,"phone;":9742,"plusb;":8862,"pluse;":10866,plusmn:177,"pound;":163,"prcue;":8828,"prime;":8242,"prnap;":10937,"prsim;":8830,"quest;":63,"rAarr;":8667,"rBarr;":10511,"radic;":8730,"rangd;":10642,"range;":10661,"raquo;":187,"rarrb;":8677,"rarrc;":10547,"rarrw;":8605,"ratio;":8758,"rbarr;":10509,"rbbrk;":10099,"rbrke;":10636,"rceil;":8969,"rdquo;":8221,"reals;":8477,"rhard;":8641,"rharu;":8640,"rlarr;":8644,"rlhar;":8652,"rnmid;":10990,"roang;":10221,"roarr;":8702,"robrk;":10215,"ropar;":10630,"rrarr;":8649,"rsquo;":8217,"rtrie;":8885,"rtrif;":9656,"sbquo;":8218,"sccue;":8829,"scirc;":349,"scnap;":10938,"scsim;":8831,"sdotb;":8865,"sdote;":10854,"seArr;":8664,"searr;":8600,"setmn;":8726,"sharp;":9839,"sigma;":963,"simeq;":8771,"simgE;":10912,"simlE;":10911,"simne;":8774,"slarr;":8592,"smile;":8995,"smtes;":10924,"sqcap;":8851,"sqcup;":8852,"sqsub;":8847,"sqsup;":8848,"srarr;":8594,"starf;":9733,"strns;":175,"subnE;":10955,"subne;":8842,"supnE;":10956,"supne;":8843,"swArr;":8665,"swarr;":8601,"szlig;":223,"theta;":952,"thkap;":8776,"thorn;":254,"tilde;":732,"times;":215,"trade;":8482,"trisb;":10701,"tshcy;":1115,"twixt;":8812,uacute:250,"ubrcy;":1118,"ucirc;":251,"udarr;":8645,"udhar;":10606,ugrave:249,"uharl;":8639,"uharr;":8638,"uhblk;":9600,"ultri;":9720,"umacr;":363,"uogon;":371,"uplus;":8846,"upsih;":978,"uring;":367,"urtri;":9721,"utdot;":8944,"utrif;":9652,"uuarr;":8648,"vBarv;":10985,"vDash;":8872,"varpi;":982,"vdash;":8866,"veeeq;":8794,"vltri;":8882,"vnsub;":8834,"vnsup;":8835,"vprop;":8733,"vrtri;":8883,"wcirc;":373,"wedge;":8743,"xcirc;":9711,"xdtri;":9661,"xhArr;":10234,"xharr;":10231,"xlArr;":10232,"xlarr;":10229,"xodot;":10752,"xrArr;":10233,"xrarr;":10230,"xutri;":9651,yacute:253,"ycirc;":375,AElig:198,Acirc:194,"Aopf;":120120,Aring:197,"Ascr;":119964,"Auml;":196,"Barv;":10983,"Beta;":914,"Bopf;":120121,"Bscr;":8492,"CHcy;":1063,"COPY;":169,"Cdot;":266,"Copf;":8450,"Cscr;":119966,"DJcy;":1026,"DScy;":1029,"DZcy;":1039,"Darr;":8609,"Dopf;":120123,"Dscr;":119967,Ecirc:202,"Edot;":278,"Eopf;":120124,"Escr;":8496,"Esim;":10867,"Euml;":203,"Fopf;":120125,"Fscr;":8497,"GJcy;":1027,"Gdot;":288,"Gopf;":120126,"Gscr;":119970,"Hopf;":8461,"Hscr;":8459,"IEcy;":1045,"IOcy;":1025,Icirc:206,"Idot;":304,"Iopf;":120128,"Iota;":921,"Iscr;":8464,"Iuml;":207,"Jopf;":120129,"Jscr;":119973,"KHcy;":1061,"KJcy;":1036,"Kopf;":120130,"Kscr;":119974,"LJcy;":1033,"Lang;":10218,"Larr;":8606,"Lopf;":120131,"Lscr;":8466,"Mopf;":120132,"Mscr;":8499,"NJcy;":1034,"Nopf;":8469,"Nscr;":119977,Ocirc:212,"Oopf;":120134,"Oscr;":119978,"Ouml;":214,"Popf;":8473,"Pscr;":119979,"QUOT;":34,"Qopf;":8474,"Qscr;":119980,"Rang;":10219,"Rarr;":8608,"Ropf;":8477,"Rscr;":8475,"SHcy;":1064,"Sopf;":120138,"Sqrt;":8730,"Sscr;":119982,"Star;":8902,THORN:222,"TScy;":1062,"Topf;":120139,"Tscr;":119983,"Uarr;":8607,Ucirc:219,"Uopf;":120140,"Upsi;":978,"Uscr;":119984,"Uuml;":220,"Vbar;":10987,"Vert;":8214,"Vopf;":120141,"Vscr;":119985,"Wopf;":120142,"Wscr;":119986,"Xopf;":120143,"Xscr;":119987,"YAcy;":1071,"YIcy;":1031,"YUcy;":1070,"Yopf;":120144,"Yscr;":119988,"Yuml;":376,"ZHcy;":1046,"Zdot;":379,"Zeta;":918,"Zopf;":8484,"Zscr;":119989,acirc:226,acute:180,aelig:230,"andd;":10844,"andv;":10842,"ange;":10660,"aopf;":120146,"apid;":8779,"apos;":39,aring:229,"ascr;":119990,"auml;":228,"bNot;":10989,"bbrk;":9141,"beta;":946,"beth;":8502,"bnot;":8976,"bopf;":120147,"boxH;":9552,"boxV;":9553,"boxh;":9472,"boxv;":9474,"bscr;":119991,"bsim;":8765,"bsol;":92,"bull;":8226,"bump;":8782,"caps;":8745,"cdot;":267,cedil:184,"cent;":162,"chcy;":1095,"cirE;":10691,"circ;":710,"cire;":8791,"comp;":8705,"cong;":8773,"copf;":120148,"copy;":169,"cscr;":119992,"csub;":10959,"csup;":10960,"cups;":8746,"dArr;":8659,"dHar;":10597,"darr;":8595,"dash;":8208,"diam;":8900,"djcy;":1106,"dopf;":120149,"dscr;":119993,"dscy;":1109,"dsol;":10742,"dtri;":9663,"dzcy;":1119,"eDot;":8785,"ecir;":8790,ecirc:234,"edot;":279,"emsp;":8195,"ensp;":8194,"eopf;":120150,"epar;":8917,"epsi;":949,"escr;":8495,"esim;":8770,"euml;":235,"euro;":8364,"excl;":33,"flat;":9837,"fnof;":402,"fopf;":120151,"fork;":8916,"fscr;":119995,"gdot;":289,"geqq;":8807,"gesl;":8923,"gjcy;":1107,"gnap;":10890,"gneq;":10888,"gopf;":120152,"gscr;":8458,"gsim;":8819,"gtcc;":10919,"gvnE;":8809,"hArr;":8660,"half;":189,"harr;":8596,"hbar;":8463,"hopf;":120153,"hscr;":119997,icirc:238,"iecy;":1077,iexcl:161,"imof;":8887,"iocy;":1105,"iopf;":120154,"iota;":953,"iscr;":119998,"isin;":8712,"iuml;":239,"jopf;":120155,"jscr;":119999,"khcy;":1093,"kjcy;":1116,"kopf;":120156,"kscr;":12e4,"lArr;":8656,"lHar;":10594,"lang;":10216,laquo:171,"larr;":8592,"late;":10925,"lcub;":123,"ldca;":10550,"ldsh;":8626,"leqq;":8806,"lesg;":8922,"ljcy;":1113,"lnap;":10889,"lneq;":10887,"lopf;":120157,"lozf;":10731,"lpar;":40,"lscr;":120001,"lsim;":8818,"lsqb;":91,"ltcc;":10918,"ltri;":9667,"lvnE;":8808,"macr;":175,"male;":9794,"malt;":10016,micro:181,"mlcp;":10971,"mldr;":8230,"mopf;":120158,"mscr;":120002,"nGtv;":8811,"nLtv;":8810,"nang;":8736,"napE;":10864,"nbsp;":160,"ncap;":10819,"ncup;":10818,"ngeq;":8817,"nges;":10878,"ngtr;":8815,"nisd;":8954,"njcy;":1114,"nldr;":8229,"nleq;":8816,"nles;":10877,"nmid;":8740,"nopf;":120159,"npar;":8742,"npre;":10927,"nsce;":10928,"nscr;":120003,"nsim;":8769,"nsub;":8836,"nsup;":8837,"ntgl;":8825,"ntlg;":8824,"nvap;":8781,"nvge;":8805,"nvgt;":62,"nvle;":8804,"nvlt;":60,"oast;":8859,"ocir;":8858,ocirc:244,"odiv;":10808,"odot;":8857,"ogon;":731,"oint;":8750,"omid;":10678,"oopf;":120160,"opar;":10679,"ordf;":170,"ordm;":186,"oror;":10838,"oscr;":8500,"osol;":8856,"ouml;":246,"para;":182,"part;":8706,"perp;":8869,"phiv;":981,"plus;":43,"popf;":120161,pound:163,"prap;":10935,"prec;":8826,"prnE;":10933,"prod;":8719,"prop;":8733,"pscr;":120005,"qint;":10764,"qopf;":120162,"qscr;":120006,"quot;":34,"rArr;":8658,"rHar;":10596,"race;":8765,"rang;":10217,raquo:187,"rarr;":8594,"rcub;":125,"rdca;":10551,"rdsh;":8627,"real;":8476,"rect;":9645,"rhov;":1009,"ring;":730,"ropf;":120163,"rpar;":41,"rscr;":120007,"rsqb;":93,"rtri;":9657,"scap;":10936,"scnE;":10934,"sdot;":8901,"sect;":167,"semi;":59,"sext;":10038,"shcy;":1096,"sime;":8771,"simg;":10910,"siml;":10909,"smid;":8739,"smte;":10924,"solb;":10692,"sopf;":120164,"spar;":8741,"squf;":9642,"sscr;":120008,"star;":9734,"subE;":10949,"sube;":8838,"succ;":8827,"sung;":9834,"sup1;":185,"sup2;":178,"sup3;":179,"supE;":10950,"supe;":8839,szlig:223,"tbrk;":9140,"tdot;":8411,thorn:254,times:215,"tint;":8749,"toea;":10536,"topf;":120165,"tosa;":10537,"trie;":8796,"tscr;":120009,"tscy;":1094,"uArr;":8657,"uHar;":10595,"uarr;":8593,ucirc:251,"uopf;":120166,"upsi;":965,"uscr;":120010,"utri;":9653,"uuml;":252,"vArr;":8661,"vBar;":10984,"varr;":8597,"vert;":124,"vopf;":120167,"vscr;":120011,"wopf;":120168,"wscr;":120012,"xcap;":8898,"xcup;":8899,"xmap;":10236,"xnis;":8955,"xopf;":120169,"xscr;":120013,"xvee;":8897,"yacy;":1103,"yicy;":1111,"yopf;":120170,"yscr;":120014,"yucy;":1102,"yuml;":255,"zdot;":380,"zeta;":950,"zhcy;":1078,"zopf;":120171,"zscr;":120015,"zwnj;":8204,"AMP;":38,"Acy;":1040,"Afr;":120068,"And;":10835,Auml:196,"Bcy;":1041,"Bfr;":120069,COPY:169,"Cap;":8914,"Cfr;":8493,"Chi;":935,"Cup;":8915,"Dcy;":1044,"Del;":8711,"Dfr;":120071,"Dot;":168,"ENG;":330,"ETH;":208,"Ecy;":1069,"Efr;":120072,"Eta;":919,Euml:203,"Fcy;":1060,"Ffr;":120073,"Gcy;":1043,"Gfr;":120074,"Hat;":94,"Hfr;":8460,"Icy;":1048,"Ifr;":8465,"Int;":8748,Iuml:207,"Jcy;":1049,"Jfr;":120077,"Kcy;":1050,"Kfr;":120078,"Lcy;":1051,"Lfr;":120079,"Lsh;":8624,"Map;":10501,"Mcy;":1052,"Mfr;":120080,"Ncy;":1053,"Nfr;":120081,"Not;":10988,"Ocy;":1054,"Ofr;":120082,Ouml:214,"Pcy;":1055,"Pfr;":120083,"Phi;":934,"Psi;":936,QUOT:34,"Qfr;":120084,"REG;":174,"Rcy;":1056,"Rfr;":8476,"Rho;":929,"Rsh;":8625,"Scy;":1057,"Sfr;":120086,"Sub;":8912,"Sum;":8721,"Sup;":8913,"Tab;":9,"Tau;":932,"Tcy;":1058,"Tfr;":120087,"Ucy;":1059,"Ufr;":120088,Uuml:220,"Vcy;":1042,"Vee;":8897,"Vfr;":120089,"Wfr;":120090,"Xfr;":120091,"Ycy;":1067,"Yfr;":120092,"Zcy;":1047,"Zfr;":8488,"acE;":8766,"acd;":8767,"acy;":1072,"afr;":120094,"amp;":38,"and;":8743,"ang;":8736,"apE;":10864,"ape;":8778,"ast;":42,auml:228,"bcy;":1073,"bfr;":120095,"bne;":61,"bot;":8869,"cap;":8745,cent:162,"cfr;":120096,"chi;":967,"cir;":9675,copy:169,"cup;":8746,"dcy;":1076,"deg;":176,"dfr;":120097,"die;":168,"div;":247,"dot;":729,"ecy;":1101,"efr;":120098,"egs;":10902,"ell;":8467,"els;":10901,"eng;":331,"eta;":951,"eth;":240,euml:235,"fcy;":1092,"ffr;":120099,"gEl;":10892,"gap;":10886,"gcy;":1075,"gel;":8923,"geq;":8805,"ges;":10878,"gfr;":120100,"ggg;":8921,"glE;":10898,"gla;":10917,"glj;":10916,"gnE;":8809,"gne;":10888,"hfr;":120101,"icy;":1080,"iff;":8660,"ifr;":120102,"int;":8747,iuml:239,"jcy;":1081,"jfr;":120103,"kcy;":1082,"kfr;":120104,"lEg;":10891,"lap;":10885,"lat;":10923,"lcy;":1083,"leg;":8922,"leq;":8804,"les;":10877,"lfr;":120105,"lgE;":10897,"lnE;":8808,"lne;":10887,"loz;":9674,"lrm;":8206,"lsh;":8624,macr:175,"map;":8614,"mcy;":1084,"mfr;":120106,"mho;":8487,"mid;":8739,"nGg;":8921,"nGt;":8811,"nLl;":8920,"nLt;":8810,"nap;":8777,nbsp:160,"ncy;":1085,"nfr;":120107,"ngE;":8807,"nge;":8817,"ngt;":8815,"nis;":8956,"niv;":8715,"nlE;":8806,"nle;":8816,"nlt;":8814,"not;":172,"npr;":8832,"nsc;":8833,"num;":35,"ocy;":1086,"ofr;":120108,"ogt;":10689,"ohm;":937,"olt;":10688,"ord;":10845,ordf:170,ordm:186,"orv;":10843,ouml:246,"par;":8741,para:182,"pcy;":1087,"pfr;":120109,"phi;":966,"piv;":982,"prE;":10931,"pre;":10927,"psi;":968,"qfr;":120110,quot:34,"rcy;":1088,"reg;":174,"rfr;":120111,"rho;":961,"rlm;":8207,"rsh;":8625,"scE;":10932,"sce;":10928,"scy;":1089,sect:167,"sfr;":120112,"shy;":173,"sim;":8764,"smt;":10922,"sol;":47,"squ;":9633,"sub;":8834,"sum;":8721,sup1:185,sup2:178,sup3:179,"sup;":8835,"tau;":964,"tcy;":1090,"tfr;":120113,"top;":8868,"ucy;":1091,"ufr;":120114,"uml;":168,uuml:252,"vcy;":1074,"vee;":8744,"vfr;":120115,"wfr;":120116,"xfr;":120117,"ycy;":1099,"yen;":165,"yfr;":120118,yuml:255,"zcy;":1079,"zfr;":120119,"zwj;":8205,AMP:38,"DD;":8517,ETH:208,"GT;":62,"Gg;":8921,"Gt;":8811,"Im;":8465,"LT;":60,"Ll;":8920,"Lt;":8810,"Mu;":924,"Nu;":925,"Or;":10836,"Pi;":928,"Pr;":10939,REG:174,"Re;":8476,"Sc;":10940,"Xi;":926,"ac;":8766,"af;":8289,amp:38,"ap;":8776,"dd;":8518,deg:176,"ee;":8519,"eg;":10906,"el;":10905,eth:240,"gE;":8807,"ge;":8805,"gg;":8811,"gl;":8823,"gt;":62,"ic;":8291,"ii;":8520,"in;":8712,"it;":8290,"lE;":8806,"le;":8804,"lg;":8822,"ll;":8810,"lt;":60,"mp;":8723,"mu;":956,"ne;":8800,"ni;":8715,not:172,"nu;":957,"oS;":9416,"or;":8744,"pi;":960,"pm;":177,"pr;":8826,reg:174,"rx;":8478,"sc;":8827,shy:173,uml:168,"wp;":8472,"wr;":8768,"xi;":958,yen:165,GT:62,LT:60,gt:62,lt:60};const windows_1252=[8364,129,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,141,381,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,157,382,376];function reg_exp_entity(eA,AA){return AA&&!eA.endsWith(";")?`${eA}\\b(?!=)`:eA}function get_entity_pattern(eA){const AA="#(?:x[a-fA-F\\d]+|\\d+)(?:;)?",tA=Object.keys(entities).map(iA=>reg_exp_entity(iA,eA));return new RegExp(`&(${AA}|${tA.join("|")})`,"g")}const entity_pattern_content=get_entity_pattern(!1),entity_pattern_attr_value=get_entity_pattern(!0);function decode_character_references(eA,AA){const tA=AA?entity_pattern_attr_value:entity_pattern_content;return eA.replace(tA,(gA,iA)=>{let IA;return iA[0]!=="#"?IA=entities[iA]:iA[1]==="x"?IA=parseInt(iA.substring(2),16):IA=parseInt(iA.substring(1),10),IA?String.fromCodePoint(validate_code(IA)):gA})}const NUL=0;function validate_code(eA){return eA===10?32:eA<128?eA:eA<=159?windows_1252[eA-128]:eA<55296?eA:eA<=57343?NUL:eA<=65535||eA>=65536&&eA<=131071||eA>=131072&&eA<=196607?eA:NUL}function create_fragment(eA=!1){return{type:"Fragment",nodes:[],metadata:{transparent:eA,dynamic:!1}}}const element_nodes=["SvelteElement","RegularElement","SvelteFragment","Component","SvelteComponent","SvelteSelf","SlotElement"];function is_element_node(eA){return element_nodes.includes(eA.type)}function is_custom_element_node(eA){return eA.type==="RegularElement"&&eA.name.includes("-")}function create_attribute(eA,AA,tA,gA){return{type:"Attribute",start:AA,end:tA,name:eA,value:gA,parent:null,metadata:{expression:create_expression_metadata(),delegated:null}}}function create_expression_metadata(){return{dependencies:new Set,has_state:!1,has_call:!1}}const autoclosing_children={li:{direct:["li"]},dt:{descendant:["dt","dd"],reset_by:["dl"]},dd:{descendant:["dt","dd"],reset_by:["dl"]},p:{descendant:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","menu","nav","ol","p","pre","section","table","ul"]},rt:{descendant:["rt","rp"]},rp:{descendant:["rt","rp"]},optgroup:{descendant:["optgroup"]},option:{descendant:["option","optgroup"]},thead:{direct:["tbody","tfoot"]},tbody:{direct:["tbody","tfoot"]},tfoot:{direct:["tbody"]},tr:{direct:["tr","tbody"]},td:{direct:["td","th","tr"]},th:{direct:["td","th","tr"]}};function closing_tag_omitted(eA,AA){const tA=autoclosing_children[eA];return!!(tA&&(!AA||("direct"in tA?tA.direct:tA.descendant).includes(AA)))}const disallowed_children={...autoclosing_children,optgroup:{only:["option","#text"]},option:{only:["#text"]},form:{descendant:["form"]},a:{descendant:["a"]},button:{descendant:["button"]},h1:{descendant:["h1","h2","h3","h4","h5","h6"]},h2:{descendant:["h1","h2","h3","h4","h5","h6"]},h3:{descendant:["h1","h2","h3","h4","h5","h6"]},h4:{descendant:["h1","h2","h3","h4","h5","h6"]},h5:{descendant:["h1","h2","h3","h4","h5","h6"]},h6:{descendant:["h1","h2","h3","h4","h5","h6"]},select:{only:["option","optgroup","#text","hr","script","template"]},tr:{only:["th","td","style","script","template"]},tbody:{only:["tr","style","script","template"]},thead:{only:["tr","style","script","template"]},tfoot:{only:["tr","style","script","template"]},colgroup:{only:["col","template"]},table:{only:["caption","colgroup","tbody","thead","tfoot","style","script","template"]},head:{only:["base","basefont","bgsound","link","meta","title","noscript","noframes","style","script","template"]},html:{only:["head","body","frameset"]},frameset:{only:["frame"]},"#document":{only:["html"]}};function is_tag_valid_with_ancestor(eA,AA){if(eA.includes("-"))return!0;const tA=AA[AA.length-1],gA=disallowed_children[tA];if(!gA)return!0;if("reset_by"in gA&&gA.reset_by){for(let iA=AA.length-2;iA>=0;iA--)if(AA[iA].includes("-")||gA.reset_by.includes(AA[iA]))return!0}return"descendant"in gA?!gA.descendant.includes(eA):!0}function is_tag_valid_with_parent(eA,AA){if(eA.includes("-")||AA!=null&&AA.includes("-"))return!0;if(AA!==null){const tA=disallowed_children[AA];if(tA){if("direct"in tA&&tA.direct.includes(eA)||"descendant"in tA&&tA.descendant.includes(eA))return!1;if("only"in tA&&tA.only)return tA.only.includes(eA)}}switch(eA){case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return!1}return!0}function list$1(eA,AA="or"){return eA.length===1?eA[0]:eA.length===2?`${eA[0]} ${AA} ${eA[1]}`:`${eA.slice(0,-1).join(", ")} ${AA} ${eA[eA.length-1]}`}const regex_invalid_unquoted_attribute_value=/^(\/>|[\s"'=<>`])/,regex_closing_textarea_tag=/^<\/textarea(\s[^>]*)?>/i,regex_closing_comment=/-->/,regex_whitespace_or_slash_or_closing_tag=/(\s|\/|>)/,regex_token_ending_character=/[\s=/>"']/,regex_starts_with_quote_characters=/^["']/,regex_attribute_value=/^(?:"([^"]*)"|'([^'])*'|([^>\s]+))/,regex_valid_element_name=/^(?:![a-zA-Z]+|[a-zA-Z](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?|[a-zA-Z][a-zA-Z0-9]*:[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9])$/,regex_valid_component_name=new RegExp("^(?:\\p{Lu}[$\\u200c\\u200d\\p{ID_Continue}.]*|\\p{ID_Start}[$\\u200c\\u200d\\p{ID_Continue}]*(?:\\.[$\\u200c\\u200d\\p{ID_Continue}]+)+)$","u"),root_only_meta_tags=new Map([["svelte:head","SvelteHead"],["svelte:options","SvelteOptions"],["svelte:window","SvelteWindow"],["svelte:document","SvelteDocument"],["svelte:body","SvelteBody"]]),meta_tags=new Map([...root_only_meta_tags,["svelte:element","SvelteElement"],["svelte:component","SvelteComponent"],["svelte:self","SvelteSelf"],["svelte:fragment","SvelteFragment"]]);function element(eA){const AA=eA.index++;let tA=eA.current();if(eA.eat("!--")){const lA=eA.read_until(regex_closing_comment);eA.eat("-->",!0),eA.append({type:"Comment",start:AA,end:eA.index,data:lA});return}const gA=eA.eat("/"),iA=eA.read_until(regex_whitespace_or_slash_or_closing_tag);if(gA){for(eA.allow_whitespace(),eA.eat(">",!0),is_void(iA)&&void_element_invalid_content(AA);tA.name!==iA;)tA.type!=="RegularElement"&&(eA.last_auto_closed_tag&&eA.last_auto_closed_tag.tag===iA?element_invalid_closing_tag_autoclosed(AA,iA,eA.last_auto_closed_tag.reason):element_invalid_closing_tag(AA,iA)),tA.end=AA,eA.pop(),tA=eA.current();tA.end=eA.index,eA.pop(),eA.last_auto_closed_tag&&eA.stack.length<eA.last_auto_closed_tag.depth&&(eA.last_auto_closed_tag=void 0);return}if(iA.startsWith("svelte:")&&!meta_tags.has(iA)){const lA={start:AA+1,end:AA+1+iA.length};svelte_meta_invalid_tag(lA,list$1(Array.from(meta_tags.keys())))}if(!regex_valid_element_name.test(iA)&&!regex_valid_component_name.test(iA)){const lA={start:AA+1,end:AA+1+iA.length};tag_invalid_name(lA)}root_only_meta_tags.has(iA)&&(iA in eA.meta_tags&&svelte_meta_duplicate(AA,iA),tA.type!=="Root"&&svelte_meta_invalid_placement(AA,iA),eA.meta_tags[iA]=!0);const IA=meta_tags.has(iA)?meta_tags.get(iA):regex_valid_component_name.test(iA)?"Component":iA==="title"&&parent_is_head(eA.stack)?"TitleElement":iA==="slot"&&!parent_is_shadowroot_template(eA.stack)?"SlotElement":"RegularElement",BA=IA==="RegularElement"?{type:IA,start:AA,end:-1,name:iA,attributes:[],fragment:create_fragment(!0),metadata:{svg:!1,mathml:!1,scoped:!1,has_spread:!1,path:[]},parent:null}:{type:IA,start:AA,end:-1,name:iA,attributes:[],fragment:create_fragment(!0),parent:null,metadata:{}};eA.allow_whitespace(),tA.type==="RegularElement"&&closing_tag_omitted(tA.name,iA)&&(tA.end=AA,eA.pop(),eA.last_auto_closed_tag={tag:tA.name,reason:iA,depth:eA.stack.length});const sA=[],CA=eA.current(),oA=(iA==="script"||iA==="style")&&CA.type==="Root",QA=oA?read_static_attribute:read_attribute;let EA;for(;EA=QA(eA);){if(EA.type==="Attribute"||EA.type==="BindDirective"||EA.type==="StyleDirective"||EA.type==="ClassDirective"){const lA=EA.type==="BindDirective"?"Attribute":EA.type;sA.includes(lA+EA.name)?attribute_duplicate(EA):EA.name!=="this"&&sA.push(lA+EA.name)}BA.attributes.push(EA),eA.allow_whitespace()}if(BA.type==="SvelteComponent"){const lA=BA.attributes.findIndex(cA=>cA.type==="Attribute"&&cA.name==="this");lA===-1&&svelte_component_missing_this(AA);const uA=BA.attributes.splice(lA,1)[0];is_expression_attribute(uA)||svelte_component_invalid_this(uA.start),BA.expression=get_attribute_expression(uA)}if(BA.type==="SvelteElement"){const lA=BA.attributes.findIndex(cA=>cA.type==="Attribute"&&cA.name==="this");lA===-1&&svelte_element_missing_this(AA);const uA=BA.attributes.splice(lA,1)[0];if(uA.value===!0&&svelte_element_missing_this(uA),is_expression_attribute(uA))BA.tag=get_attribute_expression(uA);else{svelte_element_invalid_this(uA);const cA=uA.value[0];BA.tag=cA.type==="Text"?{type:"Literal",value:cA.data,raw:`'${cA.raw}'`,start:cA.start,end:cA.end}:cA.expression}}if(oA){eA.eat(">",!0);let lA=null;for(let uA=CA.fragment.nodes.length-1;uA>=0;uA--){const cA=CA.fragment.nodes[uA];if(uA===CA.fragment.nodes.length-1&&cA.end!==AA)break;if(cA.type==="Comment"){lA=cA;break}else if(cA.type!=="Text"||cA.data.trim())break}if(iA==="script"){const uA=read_script(eA,AA,BA.attributes);lA&&(uA.content.leadingComments=[{type:"Line",value:lA.data}]),uA.context==="module"?(CA.module&&script_duplicate(AA),CA.module=uA):(CA.instance&&script_duplicate(AA),CA.instance=uA)}else{const uA=read_style(eA,AA,BA.attributes);uA.content.comment=lA,CA.css&&style_duplicate(AA),CA.css=uA}return}eA.append(BA);const rA=eA.eat("/")||is_void(iA);if(eA.eat(">",!0),rA)BA.end=eA.index;else if(iA==="textarea")BA.fragment.nodes=read_sequence(eA,()=>regex_closing_textarea_tag.test(eA.template.slice(eA.index)),"inside <textarea>"),eA.read(regex_closing_textarea_tag),BA.end=eA.index;else if(iA==="script"||iA==="style"){const lA=eA.index,uA=eA.read_until(new RegExp(`</${iA}>`)),cA=eA.index,hA={start:lA,end:cA,type:"Text",data:uA,raw:uA,parent:null};BA.fragment.nodes.push(hA),eA.eat(`</${iA}>`,!0),BA.end=eA.index}else eA.stack.push(BA),eA.fragments.push(BA.fragment)}function parent_is_head(eA){let AA=eA.length;for(;AA--;){const{type:tA}=eA[AA];if(tA==="SvelteHead")return!0;if(tA==="RegularElement"||tA==="Component")return!1}return!1}function parent_is_shadowroot_template(eA){let AA=eA.length;for(;AA--;)if(eA[AA].type==="RegularElement"&&eA[AA].attributes.some(tA=>tA.type==="Attribute"&&tA.name==="shadowrootmode"))return!0;return!1}function read_static_attribute(eA){const AA=eA.index,tA=eA.read_until(regex_token_ending_character);if(!tA)return null;let gA=!0;if(eA.eat("=")){eA.allow_whitespace();let iA=eA.match_regex(regex_attribute_value);iA||expected_attribute_value(eA.index),eA.index+=iA.length;const IA=iA[0]==='"'||iA[0]==="'";IA&&(iA=iA.slice(1,-1)),gA=[{start:eA.index-iA.length-(IA?1:0),end:IA?eA.index-1:eA.index,type:"Text",raw:iA,data:decode_character_references(iA,!0),parent:null}]}return eA.match_regex(regex_starts_with_quote_characters)&&expected_token(eA.index,"="),create_attribute(tA,AA,eA.index,gA)}function read_attribute(eA){const AA=eA.index;if(eA.eat("{"))if(eA.allow_whitespace(),eA.eat("...")){const sA=read_expression(eA);return eA.allow_whitespace(),eA.eat("}",!0),{type:"SpreadAttribute",start:AA,end:eA.index,expression:sA,parent:null,metadata:{expression:create_expression_metadata()}}}else{const sA=eA.index,CA=eA.read_identifier();CA===null&&attribute_empty_shorthand(AA),eA.allow_whitespace(),eA.eat("}",!0);const oA={type:"ExpressionTag",start:sA,end:sA+CA.length,expression:{start:sA,end:sA+CA.length,type:"Identifier",name:CA},parent:null,metadata:{expression:create_expression_metadata()}};return create_attribute(CA,AA,eA.index,oA)}const tA=eA.read_until(regex_token_ending_character);if(!tA)return null;let gA=eA.index;eA.allow_whitespace();const iA=tA.indexOf(":"),IA=iA!==-1&&get_directive_type(tA.slice(0,iA));let BA=!0;if(eA.eat("=")?(eA.allow_whitespace(),BA=read_attribute_value(eA),gA=eA.index):eA.match_regex(regex_starts_with_quote_characters)&&expected_token(eA.index,"="),IA){const[sA,...CA]=tA.slice(iA+1).split("|");if(sA===""&&directive_missing_name({start:AA,end:AA+iA+1},tA),IA==="StyleDirective")return{start:AA,end:gA,type:IA,name:sA,modifiers:CA,value:BA,parent:null,metadata:{expression:create_expression_metadata()}};const oA=BA===!0?void 0:Array.isArray(BA)?BA[0]:BA;let QA=null;oA&&(BA.length>1||oA.type==="Text"?directive_invalid_value(oA.start):QA=oA.expression);const EA={start:AA,end:gA,type:IA,name:sA,modifiers:CA,expression:QA,metadata:{expression:create_expression_metadata()}};if(EA.type==="TransitionDirective"){const rA=tA.slice(0,iA);EA.intro=rA==="in"||rA==="transition",EA.outro=rA==="out"||rA==="transition"}return(EA.type==="BindDirective"||EA.type==="ClassDirective")&&!EA.expression&&(EA.expression={start:AA+iA+1,end:gA,type:"Identifier",name:EA.name}),EA}return create_attribute(tA,AA,gA,BA)}function get_directive_type(eA){return eA==="use"?"UseDirective":eA==="animate"?"AnimateDirective":eA==="bind"?"BindDirective":eA==="class"?"ClassDirective":eA==="style"?"StyleDirective":eA==="on"?"OnDirective":eA==="let"?"LetDirective":eA==="in"||eA==="out"||eA==="transition"?"TransitionDirective":!1}function read_attribute_value(eA){var gA;const AA=eA.eat("'")?"'":eA.eat('"')?'"':null;if(AA&&eA.eat(AA))return[{start:eA.index-1,end:eA.index-1,type:"Text",raw:"",data:"",parent:null}];let tA;try{tA=read_sequence(eA,()=>AA?eA.match(AA):!!eA.match_regex(regex_invalid_unquoted_attribute_value),"in attribute value")}catch(iA){if(iA.code==="js_parse_error"){const IA=(gA=iA.position)==null?void 0:gA[0];IA!==void 0&&eA.template.slice(IA-1,IA+1)==="/>"&&(eA.index=IA,expected_token(IA,AA||"}"))}throw iA}return tA.length===0&&!AA&&expected_attribute_value(eA.index),AA&&(eA.index+=1),AA||tA.length>1||tA[0].type==="Text"?tA:tA[0]}function read_sequence(eA,AA,tA){let gA={start:eA.index,end:-1,type:"Text",raw:"",data:"",parent:null};const iA=[];function IA(BA){gA.raw&&(gA.data=decode_character_references(gA.raw,!0),gA.end=BA,iA.push(gA))}for(;eA.index<eA.template.length;){const BA=eA.index;if(AA())return IA(eA.index),iA;if(eA.eat("{")){if(eA.match("#")){const oA=eA.index-1;eA.eat("#");const QA=eA.read_until(/[^a-z]/);block_invalid_placement(oA,QA,tA)}else if(eA.match("@")){const oA=eA.index-1;eA.eat("@");const QA=eA.read_until(/[^a-z]/);tag_invalid_placement(oA,QA,tA)}IA(eA.index-1),eA.allow_whitespace();const sA=read_expression(eA);eA.allow_whitespace(),eA.eat("}",!0);const CA={type:"ExpressionTag",start:BA,end:eA.index,expression:sA,parent:null,metadata:{expression:create_expression_metadata()}};iA.push(CA),gA={start:eA.index,end:-1,type:"Text",raw:"",data:"",parent:null}}else gA.raw+=eA.template[eA.index++]}unexpected_eof(eA.template.length)}function full_char_code_at(eA,AA){const tA=eA.charCodeAt(AA);if(tA<=55295||tA>=57344)return tA;const gA=eA.charCodeAt(AA+1);return(tA<<10)+gA-56613888}const SQUARE_BRACKET_OPEN=91,SQUARE_BRACKET_CLOSE=93,CURLY_BRACKET_OPEN=123,CURLY_BRACKET_CLOSE=125;function is_bracket_open(eA){return eA===SQUARE_BRACKET_OPEN||eA===CURLY_BRACKET_OPEN}function is_bracket_close(eA){return eA===SQUARE_BRACKET_CLOSE||eA===CURLY_BRACKET_CLOSE}function is_bracket_pair(eA,AA){return eA===SQUARE_BRACKET_OPEN&&AA===SQUARE_BRACKET_CLOSE||eA===CURLY_BRACKET_OPEN&&AA===CURLY_BRACKET_CLOSE}function get_bracket_close(eA){if(eA===SQUARE_BRACKET_OPEN)return SQUARE_BRACKET_CLOSE;if(eA===CURLY_BRACKET_OPEN)return CURLY_BRACKET_CLOSE}function read_pattern(eA){const AA=eA.index;let tA=eA.index;const gA=full_char_code_at(eA.template,tA);if(isIdentifierStart(gA,!0)){const BA=eA.read_identifier(),sA=read_type_annotation(eA);return{type:"Identifier",name:BA,start:AA,loc:{start:locator(AA),end:locator(eA.index)},end:eA.index,typeAnnotation:sA}}is_bracket_open(gA)||expected_pattern(tA);const iA=[gA];for(tA+=gA<=65535?1:2;tA<eA.template.length;){const BA=full_char_code_at(eA.template,tA);if(is_bracket_open(BA))iA.push(BA);else if(is_bracket_close(BA)){const sA=iA.pop();if(is_bracket_pair(sA,BA)||expected_token(tA,String.fromCharCode(get_bracket_close(sA))),iA.length===0){tA+=BA<=65535?1:2;break}}tA+=BA<=65535?1:2}eA.index=tA;const IA=eA.template.slice(AA,tA);try{let BA=eA.template.slice(0,AA).replace(regex_not_newline_characters," ");const sA=BA.indexOf(" ");BA=BA.slice(0,sA)+BA.slice(sA+1);const CA=parse_expression_at(`${BA}(${IA} = 1)`,eA.ts,AA-1).left;return CA.typeAnnotation=read_type_annotation(eA),CA.typeAnnotation&&(CA.end=CA.typeAnnotation.end),CA}catch(BA){eA.acorn_error(BA)}}function read_type_annotation(eA){const AA=eA.index;if(eA.allow_whitespace(),!eA.eat(":")){eA.index=AA;return}const tA="_ as ";let gA=eA.index-tA.length;const iA=eA.template.slice(0,gA).replace(/[^\n]/g," ")+tA+eA.template.slice(eA.index).replace(/\?\s*:/g,":");let IA=parse_expression_at(iA,eA.ts,gA);if(IA.type==="AssignmentExpression"){let BA=IA.right.start;for(;iA[BA]!=="=";)BA-=1;IA=parse_expression_at(iA.slice(0,BA),eA.ts,gA)}return IA.type==="SequenceExpression"&&(IA=IA.expressions[0]),eA.index=IA.end,{type:"TSTypeAnnotation",start:AA,end:eA.index,typeAnnotation:IA.typeAnnotation}}const regex_whitespace_with_closing_curly_brace=/^\s*}/;function tag(eA){const AA=eA.index;if(eA.index+=1,eA.allow_whitespace(),eA.eat("#"))return open(eA);if(eA.eat(":"))return next(eA);if(eA.eat("@"))return special(eA);if(eA.match("/")&&!eA.match("/*")&&!eA.match("//"))return eA.eat("/"),close(eA);const tA=read_expression(eA);eA.allow_whitespace(),eA.eat("}",!0),eA.append({type:"ExpressionTag",start:AA,end:eA.index,expression:tA,metadata:{expression:create_expression_metadata()}})}function open(eA){let AA=eA.index-2;for(;eA.template[AA]!=="{";)AA-=1;if(eA.eat("if")){eA.require_whitespace();const tA=eA.append({type:"IfBlock",elseif:!1,start:AA,end:-1,test:read_expression(eA),consequent:create_fragment(),alternate:null});eA.allow_whitespace(),eA.eat("}",!0),eA.stack.push(tA),eA.fragments.push(tA.consequent);return}if(eA.eat("each")){eA.require_whitespace();const tA=eA.template;let gA=eA.template.length,iA;for(;!iA;)try{iA=read_expression(eA)}catch(oA){for(gA=oA.position[0]-2;gA>AA&&eA.template.slice(gA,gA+2)!=="as";)gA-=1;if(gA<=AA)throw oA;eA.template=tA.slice(0,gA)}if(eA.template=tA,eA.allow_whitespace(),!eA.match("as")){iA.type==="SequenceExpression"&&(iA=iA.expressions[0]);let oA=null,QA=iA.end;if(iA=walk(iA,null,{TSAsExpression(EA,rA){if(EA.end===iA.end)return oA=EA,QA=EA.expression.end,EA.expression;rA.next()}}),iA.end=QA,oA){let EA=oA.typeAnnotation.start-2;for(;eA.template.slice(EA,EA+2)!=="as";)EA-=1;eA.index=EA}}eA.eat("as",!0),eA.require_whitespace();const IA=read_pattern(eA);eA.allow_whitespace();let BA,sA;eA.eat(",")&&(eA.allow_whitespace(),BA=eA.read_identifier(),BA||expected_identifier(eA.index),eA.allow_whitespace()),eA.eat("(")&&(eA.allow_whitespace(),sA=read_expression(eA),eA.allow_whitespace(),eA.eat(")",!0),eA.allow_whitespace()),eA.eat("}",!0);const CA=eA.append({type:"EachBlock",start:AA,end:-1,expression:iA,body:create_fragment(),context:IA,index:BA,key:sA,metadata:null});eA.stack.push(CA),eA.fragments.push(CA.body);return}if(eA.eat("await")){eA.require_whitespace();const tA=read_expression(eA);eA.allow_whitespace();const gA=eA.append({type:"AwaitBlock",start:AA,end:-1,expression:tA,value:null,error:null,pending:null,then:null,catch:null});eA.eat("then")?(eA.match_regex(regex_whitespace_with_closing_curly_brace)||(eA.require_whitespace(),gA.value=read_pattern(eA)),eA.allow_whitespace(),gA.then=create_fragment(),eA.fragments.push(gA.then)):eA.eat("catch")?(eA.match_regex(regex_whitespace_with_closing_curly_brace)||(eA.require_whitespace(),gA.error=read_pattern(eA)),eA.allow_whitespace(),gA.catch=create_fragment(),eA.fragments.push(gA.catch)):(gA.pending=create_fragment(),eA.fragments.push(gA.pending)),eA.eat("}",!0),eA.stack.push(gA);return}if(eA.eat("key")){eA.require_whitespace();const tA=read_expression(eA);eA.allow_whitespace(),eA.eat("}",!0);const gA=eA.append({type:"KeyBlock",start:AA,end:-1,expression:tA,fragment:create_fragment()});eA.stack.push(gA),eA.fragments.push(gA.fragment);return}if(eA.eat("snippet")){eA.require_whitespace();const tA=eA.index,gA=eA.read_identifier(),iA=eA.index;gA===null&&expected_identifier(eA.index),eA.allow_whitespace();const IA=eA.index;eA.eat("(",!0);let BA=1;for(;eA.index<eA.template.length&&(!eA.match(")")||BA!==1);)eA.match("(")&&BA++,eA.match(")")&&BA--,eA.index+=1;eA.eat(")",!0);const sA=eA.template.slice(0,IA).replace(/\S/g," "),CA=eA.template.slice(IA,eA.index);let oA=parse_expression_at(sA+`${CA} => {}`,eA.ts,IA);eA.allow_whitespace(),eA.eat("}",!0);const QA=eA.append({type:"SnippetBlock",start:AA,end:-1,expression:{type:"Identifier",start:tA,end:iA,name:gA},parameters:oA.params,body:create_fragment()});eA.stack.push(QA),eA.fragments.push(QA.body);return}expected_block_type(eA.index)}function next(eA){const AA=eA.index-1,tA=eA.current();if(tA.type==="IfBlock"){if(eA.eat("else")||expected_token(AA,"{:else} or {:else if}"),eA.eat("if")&&block_invalid_elseif(AA),eA.allow_whitespace(),eA.fragments.pop(),tA.alternate=create_fragment(),eA.fragments.push(tA.alternate),eA.eat("if")){eA.require_whitespace();const gA=read_expression(eA);eA.allow_whitespace(),eA.eat("}",!0);let iA=AA-1;for(;eA.template[iA]!=="{";)iA-=1;const IA=eA.append({start:iA,end:-1,type:"IfBlock",elseif:!0,test:gA,consequent:create_fragment(),alternate:null});eA.stack.push(IA),eA.fragments.pop(),eA.fragments.push(IA.consequent)}else eA.allow_whitespace(),eA.eat("}",!0);return}if(tA.type==="EachBlock"){eA.eat("else")||expected_token(AA,"{:else}"),eA.allow_whitespace(),eA.eat("}",!0),tA.fallback=create_fragment(),eA.fragments.pop(),eA.fragments.push(tA.fallback);return}if(tA.type==="AwaitBlock"){if(eA.eat("then")){tA.then&&block_duplicate_clause(AA,"{:then}"),eA.eat("}")||(eA.require_whitespace(),tA.value=read_pattern(eA),eA.allow_whitespace(),eA.eat("}",!0)),tA.then=create_fragment(),eA.fragments.pop(),eA.fragments.push(tA.then);return}if(eA.eat("catch")){tA.catch&&block_duplicate_clause(AA,"{:catch}"),eA.eat("}")||(eA.require_whitespace(),tA.error=read_pattern(eA),eA.allow_whitespace(),eA.eat("}",!0)),tA.catch=create_fragment(),eA.fragments.pop(),eA.fragments.push(tA.catch);return}expected_token(AA,"{:then ...} or {:catch ...}")}block_invalid_continuation_placement(AA)}function close(eA){const AA=eA.index-1;let tA=eA.current();switch(tA.type){case"IfBlock":for(eA.eat("if",!0),eA.allow_whitespace(),eA.eat("}",!0);tA.elseif;)tA.end=eA.index,eA.stack.pop(),tA=eA.current();tA.end=eA.index,eA.pop();return;case"EachBlock":eA.eat("each",!0);break;case"KeyBlock":eA.eat("key",!0);break;case"AwaitBlock":eA.eat("await",!0);break;case"SnippetBlock":eA.eat("snippet",!0);break;case"RegularElement":block_unexpected_close(AA);break;default:block_unexpected_close(AA)}eA.allow_whitespace(),eA.eat("}",!0),tA.end=eA.index,eA.pop()}function special(eA){let AA=eA.index;for(;eA.template[AA]!=="{";)AA-=1;if(eA.eat("html")){eA.require_whitespace();const tA=read_expression(eA);eA.allow_whitespace(),eA.eat("}",!0),eA.append({type:"HtmlTag",start:AA,end:eA.index,expression:tA});return}if(eA.eat("debug")){let tA;if(eA.read(regex_whitespace_with_closing_curly_brace))tA=[];else{const gA=read_expression(eA);tA=gA.type==="SequenceExpression"?gA.expressions:[gA],tA.forEach(iA=>{iA.type!=="Identifier"&&debug_tag_invalid_arguments(iA.start)}),eA.allow_whitespace(),eA.eat("}",!0)}eA.append({type:"DebugTag",start:AA,end:eA.index,identifiers:tA});return}if(eA.eat("const")){eA.require_whitespace();const tA=read_pattern(eA);eA.allow_whitespace(),eA.eat("=",!0),eA.allow_whitespace();const gA=eA.index,iA=read_expression(eA);iA.type==="SequenceExpression"&&!eA.template.substring(gA,iA.start).includes("(")&&const_tag_invalid_expression(iA),eA.allow_whitespace(),eA.eat("}",!0),eA.append({type:"ConstTag",start:AA,end:eA.index,declaration:{type:"VariableDeclaration",kind:"const",declarations:[{type:"VariableDeclarator",id:tA,init:iA,start:tA.start,end:iA.end}],start:AA+2,end:eA.index-1}})}if(eA.eat("render")){eA.require_whitespace();const tA=read_expression(eA);tA.type!=="CallExpression"&&(tA.type!=="ChainExpression"||tA.expression.type!=="CallExpression")&&render_tag_invalid_expression(tA),eA.allow_whitespace(),eA.eat("}",!0),eA.append({type:"RenderTag",start:AA,end:eA.index,expression:tA,metadata:{dynamic:!1,args_with_call_expression:new Set}})}}function text(eA){const AA=eA.index;let tA="";for(;eA.index<eA.template.length&&!eA.match("<")&&!eA.match("{");)tA+=eA.template[eA.index++];eA.append({type:"Text",start:AA,end:eA.index,raw:tA,data:decode_character_references(tA,!1)})}function fragment(eA){return eA.match("<")?element:eA.match("{")?tag:text}function read_options(eA){var tA,gA,iA,IA;const AA={start:eA.start,end:eA.end,attributes:eA.attributes};if(!eA)return AA;for(const BA of eA.attributes){BA.type!=="Attribute"&&svelte_options_invalid_attribute(BA);const{name:sA}=BA;switch(sA){case"runes":{AA.runes=get_boolean_value(BA);break}case"tag":{svelte_options_deprecated_tag(BA);break}case"customElement":{const CA={},{value:oA}=BA,QA=oA===!0||Array.isArray(oA)?oA:[oA];if(QA===!0)svelte_options_invalid_customelement(BA);else if(QA[0].type==="Text"){const hA=get_static_value$1(BA);validate_tag(BA,hA),CA.tag=hA,AA.customElement=CA;break}else if(QA[0].expression.type!=="ObjectExpression"){if(QA[0].expression.type==="Literal"&&QA[0].expression.value===null)break;svelte_options_invalid_customelement(BA)}const EA=[];for(const hA of QA[0].expression.properties)(hA.type!=="Property"||hA.computed||hA.key.type!=="Identifier")&&svelte_options_invalid_customelement(BA),EA.push([hA.key.name,hA.value]);const rA=EA.find(([hA])=>hA==="tag");if(rA){const hA=(tA=rA[1])==null?void 0:tA.value;validate_tag(rA,hA),CA.tag=hA}const lA=(gA=EA.find(([hA])=>hA==="props"))==null?void 0:gA[1];if(lA){lA.type!=="ObjectExpression"&&svelte_options_invalid_customelement_props(BA),CA.props={};for(const hA of lA.properties){(hA.type!=="Property"||hA.computed||hA.key.type!=="Identifier"||hA.value.type!=="ObjectExpression")&&svelte_options_invalid_customelement_props(BA),CA.props[hA.key.name]={};for(const dA of hA.value.properties)(dA.type!=="Property"||dA.computed||dA.key.type!=="Identifier"||dA.value.type!=="Literal")&&svelte_options_invalid_customelement_props(BA),dA.key.name==="type"?(["String","Number","Boolean","Array","Object"].indexOf(dA.value.value)===-1&&svelte_options_invalid_customelement_props(BA),CA.props[hA.key.name].type=dA.value.value):dA.key.name==="reflect"?(typeof dA.value.value!="boolean"&&svelte_options_invalid_customelement_props(BA),CA.props[hA.key.name].reflect=dA.value.value):dA.key.name==="attribute"?(typeof dA.value.value!="string"&&svelte_options_invalid_customelement_props(BA),CA.props[hA.key.name].attribute=dA.value.value):svelte_options_invalid_customelement_props(BA)}}const uA=(iA=EA.find(([hA])=>hA==="shadow"))==null?void 0:iA[1];if(uA){const hA=uA==null?void 0:uA.value;hA!=="open"&&hA!=="none"&&svelte_options_invalid_customelement_shadow(uA),CA.shadow=hA}const cA=(IA=EA.find(([hA])=>hA==="extend"))==null?void 0:IA[1];cA&&(CA.extend=cA),AA.customElement=CA;break}case"namespace":{const CA=get_static_value$1(BA);CA===NAMESPACE_SVG?AA.namespace="svg":CA===NAMESPACE_MATHML?AA.namespace="mathml":CA==="html"||CA==="mathml"||CA==="svg"?AA.namespace=CA:svelte_options_invalid_attribute_value(BA,'"html", "mathml" or "svg"');break}case"css":{const CA=get_static_value$1(BA);CA==="injected"?AA.css=CA:svelte_options_invalid_attribute_value(BA,'"injected"');break}case"immutable":{AA.immutable=get_boolean_value(BA);break}case"preserveWhitespace":{AA.preserveWhitespace=get_boolean_value(BA);break}case"accessors":{AA.accessors=get_boolean_value(BA);break}default:svelte_options_unknown_attribute(BA,sA)}}return AA}function get_static_value$1(eA){const{value:AA}=eA;if(AA===!0)return!0;const tA=Array.isArray(AA)?AA[0]:AA;return tA?AA.length>1?null:tA.type==="Text"?tA.data:tA.expression.type!=="Literal"?null:tA.expression.value:!0}function get_boolean_value(eA){const AA=get_static_value$1(eA);return typeof AA!="boolean"&&svelte_options_invalid_attribute_value(eA,"true or false"),AA}const tag_name_char="[a-z0-9_.·À-ÖØ-öø-ͽͿ-῿‌-‍‿-⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿-]",regex_valid_tag_name=new RegExp(`^[a-z]${tag_name_char}*-${tag_name_char}*$`,"u"),reserved_tag_names=["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"];function validate_tag(eA,AA){typeof AA!="string"&&svelte_options_invalid_tagname(eA),AA&&(regex_valid_tag_name.test(AA)?reserved_tag_names.includes(AA)&&svelte_options_reserved_tagname(eA):svelte_options_invalid_tagname(eA))}function disallow_children(eA){const{nodes:AA}=eA.fragment;if(AA.length>0){const tA=AA[0],gA=AA[AA.length-1];svelte_meta_invalid_content({start:tA.start,end:gA.end},eA.name)}}const regex_position_indicator=/ \(\d+:\d+\)$/,regex_lang_attribute=/<!--[^]*?-->|<script\s+(?:[^>]*|(?:[^=>'"/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)\s+)*)lang=(["'])?([^"' >]+)\1[^>]*>/g;class Parser{constructor(AA){rg(this,"template");rg(this,"index",0);rg(this,"ts",!1);rg(this,"stack",[]);rg(this,"fragments",[]);rg(this,"root");rg(this,"meta_tags",{});rg(this,"last_auto_closed_tag");if(typeof AA!="string")throw new TypeError("Template must be a string");this.template=AA.trimEnd();let tA;do tA=regex_lang_attribute.exec(AA);while(tA&&tA[0][1]!=="s");regex_lang_attribute.lastIndex=0,this.ts=(tA==null?void 0:tA[2])==="ts",this.root={css:null,js:[],start:null,end:null,type:"Root",fragment:create_fragment(),options:null,metadata:{ts:this.ts}},this.stack.push(this.root),this.fragments.push(this.root.fragment);let gA=fragment;for(;this.index<this.template.length;)gA=gA(this)||fragment;if(this.stack.length>1){const IA=this.current();IA.type==="RegularElement"?(IA.end=IA.start+1,element_unclosed(IA,IA.name)):(IA.end=IA.start+1,block_unclosed(IA))}if(gA!==fragment&&unexpected_eof(this.index),this.root.fragment.nodes.length){let IA=this.root.fragment.nodes[0].start;for(;regex_whitespace.test(AA[IA]);)IA+=1;let BA=this.root.fragment.nodes[this.root.fragment.nodes.length-1].end;for(;regex_whitespace.test(AA[BA-1]);)BA-=1;this.root.start=IA,this.root.end=BA}else this.root.start=this.root.end=null;const iA=this.root.fragment.nodes.findIndex(IA=>IA.type==="SvelteOptions");if(iA!==-1){const IA=this.root.fragment.nodes[iA];this.root.fragment.nodes.splice(iA,1),this.root.options=read_options(IA),disallow_children(IA),Object.defineProperty(this.root.options,"__raw__",{value:IA,enumerable:!1})}}current(){return this.stack[this.stack.length-1]}acorn_error(AA){js_parse_error(AA.pos,AA.message.replace(regex_position_indicator,""))}eat(AA,tA=!1){return this.match(AA)?(this.index+=AA.length,!0):(tA&&expected_token(this.index,AA),!1)}match(AA){const tA=AA.length;return tA===1?this.template[this.index]===AA:this.template.slice(this.index,this.index+tA)===AA}match_regex(AA){const tA=AA.exec(this.template.slice(this.index));return!tA||tA.index!==0?null:tA[0]}allow_whitespace(){for(;this.index<this.template.length&&regex_whitespace.test(this.template[this.index]);)this.index++}read(AA){const tA=this.match_regex(AA);return tA&&(this.index+=tA.length),tA}read_identifier(AA=!1){const tA=this.index;let gA=this.index;const iA=full_char_code_at(this.template,gA);if(!isIdentifierStart(iA,!0))return null;for(gA+=iA<=65535?1:2;gA<this.template.length;){const BA=full_char_code_at(this.template,gA);if(!isIdentifierChar(BA,!0))break;gA+=BA<=65535?1:2}const IA=this.template.slice(this.index,this.index=gA);return!AA&&is_reserved(IA)&&unexpected_reserved_word(tA,IA),IA}read_until(AA){this.index>=this.template.length&&unexpected_eof(this.template.length);const tA=this.index,gA=AA.exec(this.template.slice(tA));return gA?(this.index=tA+gA.index,this.template.slice(tA,this.index)):(this.index=this.template.length,this.template.slice(tA))}require_whitespace(){regex_whitespace.test(this.template[this.index])||expected_whitespace(this.index),this.allow_whitespace()}pop(){return this.fragments.pop(),this.stack.pop()}append(AA){const tA=this.current(),gA=this.fragments.at(-1);return Object.defineProperties(AA,{prev:{enumerable:!1,value:(gA==null?void 0:gA.nodes.at(-1))??null},parent:{enumerable:!1,configurable:!0,value:tA}}),gA.nodes.push(AA),AA}}function parse(eA){return new Parser(eA).root}function remove_this_param(eA,AA){var tA;return((tA=eA.params[0])==null?void 0:tA.type)==="Identifier"&&eA.params[0].name==="this"&&eA.params.shift(),AA.next()}const visitors$5={Decorator(eA){typescript_invalid_feature(eA,"decorators (related TSC proposal is not stage 4 yet)")},ImportDeclaration(eA){var AA;if(eA.importKind==="type")return empty;if(((AA=eA.specifiers)==null?void 0:AA.length)>0){const tA=eA.specifiers.filter(gA=>gA.importKind!=="type");return tA.length===0?empty:{...eA,specifiers:tA}}return eA},ExportNamedDeclaration(eA,AA){if(eA.exportKind==="type")return empty;if(eA.declaration)return AA.next();if(eA.specifiers){const tA=eA.specifiers.filter(gA=>gA.exportKind!=="type");return tA.length===0?empty:{...eA,specifiers:tA}}return eA},ExportDefaultDeclaration(eA){return eA.exportKind==="type"?empty:eA},ExportAllDeclaration(eA){return eA.exportKind==="type"?empty:eA},PropertyDefinition(eA,{next:AA}){return eA.accessor&&typescript_invalid_feature(eA,"accessor fields (related TSC proposal is not stage 4 yet)"),AA()},TSAsExpression(eA,AA){return AA.visit(eA.expression)},TSSatisfiesExpression(eA,AA){return AA.visit(eA.expression)},TSNonNullExpression(eA,AA){return AA.visit(eA.expression)},TSTypeAnnotation(){return empty},TSInterfaceDeclaration(){return empty},TSTypeAliasDeclaration(){return empty},TSTypeParameterDeclaration(){return empty},TSTypeParameterInstantiation(){return empty},TSEnumDeclaration(eA){typescript_invalid_feature(eA,"enums")},TSParameterProperty(eA,AA){var tA;return(eA.readonly||eA.accessibility)&&((tA=AA.path.at(-2))==null?void 0:tA.kind)==="constructor"&&typescript_invalid_feature(eA,"accessibility modifiers on constructor parameters"),AA.visit(eA.parameter)},FunctionExpression:remove_this_param,FunctionDeclaration:remove_this_param,TSDeclareFunction(){return empty},ClassDeclaration(eA,AA){return eA.declare?empty:AA.next()},VariableDeclaration(eA,AA){return eA.declare?empty:AA.next()},TSModuleDeclaration(eA,AA){return eA.body&&eA.body.body.map(gA=>AA.visit(gA)).some(gA=>gA!==empty)&&typescript_invalid_feature(eA,"namespaces with non-type nodes"),empty}};function remove_typescript_nodes(eA){return walk(eA,null,visitors$5)}function is_reference(eA,AA){if(eA.type==="MemberExpression")return!eA.computed&&is_reference(eA.object,eA);if(eA.type==="Identifier"){if(!AA)return!0;switch(AA.type){case"MemberExpression":return AA.computed||eA===AA.object;case"MethodDefinition":return AA.computed;case"PropertyDefinition":return AA.computed||eA===AA.value;case"Property":return AA.computed||eA===AA.value;case"ExportSpecifier":case"ImportSpecifier":return eA===AA.local;case"LabeledStatement":case"BreakStatement":case"ContinueStatement":return!1;default:return!0}}return!1}function determine_slot(eA){if(!is_element_node(eA))return null;for(const AA of eA.attributes)if(AA.type==="Attribute"&&AA.name==="slot"&&is_text_attribute(AA))return AA.value[0].data;return null}function validate_assignment(eA,AA,tA){if(validate_no_const_assignment(eA,AA,tA.scope,!1),AA.type==="Identifier"){const IA=tA.scope.get(AA.name);tA.analysis.runes&&((IA==null?void 0:IA.kind)==="derived"&&constant_assignment(eA,"derived state"),(IA==null?void 0:IA.kind)==="each"&&each_item_invalid_assignment(eA)),(IA==null?void 0:IA.kind)==="snippet"&&snippet_parameter_assignment(eA)}let gA=AA,iA=null;for(;gA.type==="MemberExpression";)iA=gA.property,gA=gA.object;gA.type==="ThisExpression"&&(iA==null?void 0:iA.type)==="PrivateIdentifier"&&tA.private_derived_state.includes(iA.name)&&constant_assignment(eA,"derived state")}function validate_no_const_assignment(eA,AA,tA,gA){if(AA.type==="ArrayPattern")for(const iA of AA.elements)iA&&validate_no_const_assignment(eA,iA,tA,gA);else if(AA.type==="ObjectPattern")for(const iA of AA.properties)iA.type==="Property"&&validate_no_const_assignment(eA,iA.value,tA,gA);else if(AA.type==="Identifier"){const iA=tA.get(AA.name);if((iA==null?void 0:iA.kind)==="derived"||(iA==null?void 0:iA.declaration_kind)==="import"||(iA==null?void 0:iA.declaration_kind)==="const"&&iA.kind!=="each"){const IA=iA.declaration_kind==="import"?"import":iA.kind==="derived"?"derived state":"constant";gA?constant_binding(eA,IA):constant_assignment(eA,IA)}}}function validate_opening_tag(eA,AA,tA){AA.analysis.source[eA.start+1]!==tA&&block_unexpected_character({start:eA.start,end:eA.start+5},tA)}function validate_block_not_empty(eA,AA){eA&&eA.nodes.length===1&&eA.nodes[0].type==="Text"&&!eA.nodes[0].raw.trim()&&block_empty(eA.nodes[0])}function ensure_no_module_import_conflict(eA,AA){var gA;const tA=extract_identifiers(eA.id);for(const iA of tA)AA.ast_type==="instance"&&AA.scope===AA.analysis.instance.scope&&((gA=AA.analysis.module.scope.get(iA.name))==null?void 0:gA.declaration_kind)==="import"&&declaration_duplicate_module_import(eA.id)}function is_safe_identifier(eA,AA){let tA=eA;for(;tA.type==="MemberExpression";)tA=tA.object;if(tA.type!=="Identifier")return!1;const gA=AA.get(tA.name);return gA?gA.kind==="store_sub"?is_safe_identifier({name:tA.name.slice(1),type:"Identifier"},AA):gA.declaration_kind!=="import"&&gA.kind!=="prop"&&gA.kind!=="bindable_prop"&&gA.kind!=="rest_prop":!0}function is_pure(eA,AA){if(eA.type!=="Identifier"&&eA.type!=="MemberExpression")return!1;const tA=object$1(eA);return tA?tA.type==="Identifier"&&AA.state.scope.get(tA.name)===null:!1}function validate_identifier_name(eA,AA){var gA;if(!eA)return;const tA=eA.declaration_kind;if(tA!=="synthetic"&&tA!=="param"&&tA!=="rest_param"&&(!AA||AA<=1)){const iA=eA.node;iA.name==="$"?dollar_binding_invalid(iA):iA.name.startsWith("$")&&!(((gA=eA.initial)==null?void 0:gA.type)==="ImportDeclaration"&&eA.initial.importKind==="type")&&dollar_prefix_invalid(iA)}}const _g=class _g{constructor(AA,tA,gA){rg(this,"root");rg(this,"parent");Rg(this,bg);rg(this,"declarations",new Map);rg(this,"declarators",new Map);rg(this,"references",new Map);rg(this,"function_depth",0);this.root=AA,this.parent=tA,cg(this,bg,gA),this.function_depth=tA?tA.function_depth+(gA?0:1):0}declare(AA,tA,gA,iA=null){if(this.parent){if(gA==="var"&&tg(this,bg))return this.parent.declare(AA,tA,gA);if(gA==="import")return this.parent.declare(AA,tA,gA,iA)}this.declarations.has(AA.name)&&declaration_duplicate(AA,AA.name);const IA={node:AA,references:[],legacy_dependencies:[],initial:iA,reassigned:!1,mutated:!1,updated:!1,scope:this,kind:tA,declaration_kind:gA,is_called:!1,prop_alias:null,metadata:null};return validate_identifier_name(IA,this.function_depth),this.declarations.set(AA.name,IA),this.root.conflicts.add(AA.name),IA}child(AA=!1){return new _g(this.root,this,AA)}generate(AA){if(tg(this,bg))return this.parent.generate(AA);AA=AA.replace(/[^a-zA-Z0-9_$]/g,"_").replace(/^[0-9]/,"_");let tA=AA,gA=1;for(;this.references.has(tA)||this.declarations.has(tA)||this.root.conflicts.has(tA)||is_reserved(tA);)tA=`${AA}_${gA++}`;return this.references.set(tA,[]),this.root.conflicts.add(tA),tA}get(AA){var tA;return this.declarations.get(AA)??((tA=this.parent)==null?void 0:tA.get(AA))??null}get_bindings(AA){const tA=this.declarators.get(AA);if(!tA)throw new Error("No binding found for declarator");return tA}owner(AA){return this.declarations.has(AA)?this:this.parent&&this.parent.owner(AA)}reference(AA,tA){tA=[...tA];let gA=this.references.get(AA.name);gA||this.references.set(AA.name,gA=[]),gA.push({node:AA,path:tA});const iA=this.declarations.get(AA.name);iA?iA.references.push({node:AA,path:tA}):this.parent?this.parent.reference(AA,tA):this.root.conflicts.add(AA.name)}};bg=new WeakMap;let Scope=_g;class ScopeRoot{constructor(){rg(this,"conflicts",new Set)}unique(AA){AA=AA.replace(/[^a-zA-Z0-9_$]/g,"_");let tA=AA,gA=1;for(;this.conflicts.has(tA);)tA=`${AA}_${gA++}`;return this.conflicts.add(tA),id$1(tA)}}function create_scopes(eA,AA,tA,gA){const iA=new Map,IA=new Scope(AA,gA,!1);iA.set(eA,IA);const BA={scope:IA},sA=[],CA=[],oA=[];function QA(cA,hA){for(const dA of hA)for(const pA of extract_identifiers(dA))cA.declare(pA,"normal",dA.type==="RestElement"?"rest_param":"param")}const EA=(cA,{state:hA,next:dA})=>{const pA=hA.scope.child(!0);iA.set(cA,pA),dA({scope:pA})},rA=(cA,{state:hA,next:dA})=>{const pA=hA.scope.child();iA.set(cA,pA),dA({scope:pA})},lA=(cA,hA)=>{cA.metadata.scopes={default:hA.state.scope.child()},cA.type==="SvelteComponent"&&hA.visit(cA.expression);const dA=determine_slot(cA)?hA.state:{scope:cA.metadata.scopes.default};for(const pA of cA.attributes)pA.type==="LetDirective"?hA.visit(pA,dA):hA.visit(pA);for(const pA of cA.fragment.nodes){let wA=dA;const mA=determine_slot(pA);mA!==null&&(cA.metadata.scopes[mA]=hA.state.scope.child(),wA={scope:cA.metadata.scopes[mA]}),hA.visit(pA,wA)}},uA=(cA,{state:hA,path:dA,visit:pA})=>{hA.scope.reference(id$1(cA.name.split(".")[0]),dA),cA.expression&&pA(cA.expression)};walk(eA,BA,{Identifier(cA,{path:hA,state:dA}){const pA=hA.at(-1);pA&&is_reference(cA,pA)&&!pA.type.startsWith("TS")&&sA.push([dA.scope,{node:cA,path:hA.slice()}])},LabeledStatement(cA,{path:hA,next:dA}){if(hA.length>1||!tA||cA.label.name!=="$")return dA();const pA=BA.scope.child();if(iA.set(cA,pA),cA.body.type==="ExpressionStatement"&&cA.body.expression.type==="AssignmentExpression")for(const wA of extract_identifiers(cA.body.expression.left))wA.name.startsWith("$")||oA.push(wA);dA({scope:pA})},SvelteFragment:rA,SlotElement:rA,SvelteElement:rA,RegularElement:rA,LetDirective(cA,hA){const dA=hA.state.scope,pA=[];if(dA.declarators.set(cA,pA),cA.expression)for(const wA of extract_identifiers_from_destructuring(cA.expression)){const mA=dA.declare(wA,"template","const");dA.reference(wA,[hA.path[hA.path.length-1],cA]),pA.push(mA)}else{const wA={name:cA.name,type:"Identifier",start:cA.start,end:cA.end},mA=dA.declare(wA,"template","const");dA.reference(wA,[hA.path[hA.path.length-1],cA]),pA.push(mA)}},Component:(cA,hA)=>{hA.state.scope.reference(id$1(cA.name),hA.path),lA(cA,hA)},SvelteSelf:lA,SvelteComponent:lA,AssignmentExpression(cA,{state:hA,next:dA}){CA.push([hA.scope,cA.left]),dA()},UpdateExpression(cA,{state:hA,next:dA}){CA.push([hA.scope,cA.argument]),dA()},ImportDeclaration(cA,{state:hA}){for(const dA of cA.specifiers)hA.scope.declare(dA.local,"normal","import",cA)},FunctionExpression(cA,{state:hA,next:dA}){const pA=hA.scope.child();iA.set(cA,pA),cA.id&&pA.declare(cA.id,"normal","function"),QA(pA,cA.params),dA({scope:pA})},FunctionDeclaration(cA,{state:hA,next:dA}){cA.id&&hA.scope.declare(cA.id,"normal","function",cA);const pA=hA.scope.child();iA.set(cA,pA),QA(pA,cA.params),dA({scope:pA})},ArrowFunctionExpression(cA,{state:hA,next:dA}){const pA=hA.scope.child();iA.set(cA,pA),QA(pA,cA.params),dA({scope:pA})},ForStatement:EA,ForInStatement:EA,ForOfStatement:EA,SwitchStatement:EA,BlockStatement(cA,hA){const dA=hA.path.at(-1);(dA==null?void 0:dA.type)==="FunctionDeclaration"||(dA==null?void 0:dA.type)==="FunctionExpression"||(dA==null?void 0:dA.type)==="ArrowFunctionExpression"?hA.next():EA(cA,hA)},ClassDeclaration(cA,{state:hA,next:dA}){cA.id&&hA.scope.declare(cA.id,"normal","let",cA),dA()},VariableDeclaration(cA,{state:hA,path:dA,next:pA}){var mA;const wA=((mA=dA.at(-1))==null?void 0:mA.type)==="ConstTag";for(const MA of cA.declarations){const fA=[];hA.scope.declarators.set(MA,fA);for(const LA of extract_identifiers(MA.id)){const _A=hA.scope.declare(LA,wA?"template":"normal",cA.kind,MA.init);fA.push(_A)}}pA()},CatchClause(cA,{state:hA,next:dA}){if(cA.param){const pA=hA.scope.child(!0);iA.set(cA,pA);for(const wA of extract_identifiers(cA.param))pA.declare(wA,"normal","let");dA({scope:pA})}else dA()},EachBlock(cA,{state:hA,visit:dA}){dA(cA.expression);const pA=hA.scope.child();iA.set(cA,pA);for(const mA of extract_identifiers(cA.context)){const MA=pA.declare(mA,"each","const");let fA=!1,LA=!1;walk(cA.context,null,{Identifier(_A){fA&&_A===mA&&(LA=!0)},RestElement(_A,{next:bA}){const JA=fA;fA=!0,bA(),fA=JA}}),MA.metadata={inside_rest:LA}}if(dA(cA.context,{scope:pA}),cA.index){const mA=cA.key&&(cA.key.type!=="Identifier"||!cA.index||cA.key.name!==cA.index);pA.declare(id$1(cA.index),mA?"template":"normal","const",cA)}cA.key&&dA(cA.key,{scope:pA});for(const mA of cA.body.nodes)dA(mA,{scope:pA});cA.fallback&&dA(cA.fallback,{scope:pA});let wA=!1;for(const[mA]of pA.declarations)hA.scope.get(mA)!==null&&(wA=!0);cA.metadata={expression:create_expression_metadata(),keyed:!1,contains_group_binding:!1,array_name:wA?hA.scope.root.unique("$$array"):null,index:pA.root.unique("$$index"),declarations:pA.declarations,is_controlled:!1}},AwaitBlock(cA,hA){if(hA.visit(cA.expression),cA.pending&&hA.visit(cA.pending),cA.then&&(hA.visit(cA.then),cA.value)){const dA=iA.get(cA.then),pA=hA.state.scope.child();iA.set(cA.value,pA),hA.visit(cA.value,{scope:pA});for(const wA of extract_identifiers(cA.value))dA.declare(wA,"template","const"),pA.declare(wA,"normal","const")}if(cA.catch&&(hA.visit(cA.catch),cA.error)){const dA=iA.get(cA.catch),pA=hA.state.scope.child();iA.set(cA.error,pA),hA.visit(cA.error,{scope:pA});for(const wA of extract_identifiers(cA.error))dA.declare(wA,"template","const"),pA.declare(wA,"normal","const")}},SnippetBlock(cA,hA){const dA=hA.state,pA=!hA.path.at(-2);let wA=dA.scope;pA&&(wA=gA),wA.declare(cA.expression,"normal","function",cA.expression);const mA=dA.scope.child();iA.set(cA,mA);for(const MA of cA.parameters)for(const fA of extract_identifiers(MA))mA.declare(fA,"snippet","let");hA.next({scope:mA})},Fragment:(cA,hA)=>{const dA=hA.state.scope.child(cA.metadata.transparent);iA.set(cA,dA),hA.next({scope:dA})},BindDirective(cA,hA){CA.push([hA.state.scope,cA.expression]),hA.next()},TransitionDirective:uA,AnimateDirective:uA,UseDirective:uA,StyleDirective(cA,{path:hA,state:dA,next:pA}){cA.value===!0&&dA.scope.reference(id$1(cA.name),hA.concat(cA)),pA()}});for(const cA of oA)IA.get(cA.name)||IA.declare(cA,"legacy_reactive","let");for(const[cA,{node:hA,path:dA}]of sA)cA.reference(hA,dA);for(const[cA,hA]of CA)for(const dA of unwrap_pattern(hA)){const pA=object$1(dA),wA=pA&&cA.get(pA.name);wA!==null&&pA!==wA.node&&(wA.updated=!0,pA===dA?wA.reassigned=!0:wA.mutated=!0)}return{scope:IA,scopes:iA}}function set_scope(eA,{next:AA,state:tA}){const gA=tA.scopes.get(eA);AA(gA!==void 0&&gA!==tA.scope?{...tA,scope:gA}:tA)}function get_rune(eA,AA){if(!eA||eA.type!=="CallExpression")return null;let tA=eA.callee,gA="";for(;tA.type==="MemberExpression";){if(tA.computed||tA.property.type!=="Identifier")return null;gA="."+tA.property.name+gA,tA=tA.object}return tA.type==="CallExpression"&&tA.callee.type==="Identifier"&&(gA="()"+gA,tA=tA.callee),tA.type!=="Identifier"||(gA=tA.name+gA,!is_rune(gA))||AA.get(tA.name)!==null?null:gA}function check_graph_for_cycles(eA){const AA=eA.reduce((BA,sA)=>{const[CA,oA]=sA;return BA.has(CA)||BA.set(CA,[]),BA.has(oA)||BA.set(oA,[]),BA.get(CA).push(oA),BA},new Map),tA=new Set,gA=new Set,iA=[];function IA(BA){var sA;tA.add(BA),gA.add(BA),(sA=AA.get(BA))==null||sA.forEach(CA=>{tA.has(CA)?gA.has(CA)&&iA.push([...gA,CA]):IA(CA)}),gA.delete(BA)}return AA.forEach((BA,sA)=>{tA.has(sA)||IA(sA)}),iA[0]}const regex_css_browser_prefix=/^-((webkit)|(moz)|(o)|(ms))-/,regex_css_name_boundary=/^[\s,;}]$/;function remove_css_prefix(eA){return eA.replace(regex_css_browser_prefix,"")}const is_keyframes_node=eA=>remove_css_prefix(eA.name)==="keyframes";function is_global$1(eA){const AA=eA.selectors[0];return AA.type==="PseudoClassSelector"&&AA.name==="global"&&(AA.args===null||eA.selectors.every(tA=>tA.type==="PseudoClassSelector"||tA.type==="PseudoElementSelector"))}function is_global_block_selector(eA){return eA.type==="PseudoClassSelector"&&eA.name==="global"&&eA.args===null}const css_visitors={Atrule(eA,AA){is_keyframes_node(eA)&&(eA.prelude.startsWith("-global-")||AA.state.keyframes.push(eA.prelude)),AA.next()},ComplexSelector(eA,AA){var tA,gA,iA,IA,BA,sA;AA.next();{const CA=eA.children.find(is_global$1);if(CA){const oA=eA.children.indexOf(CA);if(CA.selectors[0].args!==null&&oA!==0&&oA!==eA.children.length-1)for(let QA=oA+1;QA<eA.children.length;QA++)is_global$1(eA.children[QA])||css_global_invalid_placement(CA.selectors[0])}}for(const CA of eA.children)for(let oA=0;oA<CA.selectors.length;oA++){const QA=CA.selectors[oA];if(QA.type==="PseudoClassSelector"&&QA.name==="global"){const EA=(tA=QA.args)==null?void 0:tA.children[0].children[0];(EA==null?void 0:EA.selectors[0].type)==="TypeSelector"&&oA!==0&&css_global_invalid_selector_list(QA),((gA=CA.selectors[oA+1])==null?void 0:gA.type)==="TypeSelector"&&css_type_selector_invalid_placement(CA.selectors[oA+1]),QA.args!==null&&QA.args.children.length>1&&(eA.children.length>1||CA.selectors.length>1)&&css_global_invalid_selector(QA)}}eA.metadata.rule=AA.state.rule,(iA=eA.metadata).used||(iA.used=eA.children.every(({metadata:CA})=>CA.is_global||CA.is_global_like)),(IA=eA.metadata.rule)!=null&&IA.metadata.parent_rule&&((sA=(BA=eA.children[0])==null?void 0:BA.selectors[0])==null?void 0:sA.type)==="NestingSelector"&&eA.metadata.rule.metadata.parent_rule.prelude.children.some(oA=>oA.children.length===1&&oA.children[0].metadata.is_global)&&(eA.metadata.used=!0)},RelativeSelector(eA,AA){var gA,iA,IA,BA;const tA=AA.path.at(-1);if(eA.combinator!=null&&!((gA=AA.state.rule)!=null&&gA.metadata.parent_rule)&&tA.children[0]===eA&&((iA=AA.path.at(-3))==null?void 0:iA.type)!=="PseudoClassSelector"&&css_selector_invalid(eA.combinator),eA.metadata.is_global=eA.selectors.length>=1&&is_global$1(eA),eA.selectors.length===1){const sA=eA.selectors[0];(IA=eA.metadata).is_global_like||(IA.is_global_like=sA.type==="PseudoClassSelector"&&sA.name==="host"||sA.type==="PseudoElementSelector"&&["view-transition","view-transition-group","view-transition-old","view-transition-new","view-transition-image-pair"].includes(sA.name))}(BA=eA.metadata).is_global_like||(BA.is_global_like=!!eA.selectors.find(sA=>sA.type==="PseudoClassSelector"&&sA.name==="root")),AA.next()},Rule(eA,AA){if(eA.metadata.parent_rule=AA.state.rule,eA.metadata.is_global_block=eA.prelude.children.some(tA=>{let gA=!1;for(const iA of tA.children){const IA=iA.selectors.findIndex(is_global_block_selector);if(gA&&(iA.metadata.is_global_like=!0),IA!==-1){gA=!0;for(let BA=IA+1;BA<iA.selectors.length;BA++)walk(iA.selectors[BA],null,{ComplexSelector(sA){sA.metadata.used=!0}})}}return gA}),eA.metadata.is_global_block){eA.prelude.children.length>1&&css_global_block_invalid_list(eA.prelude);const gA=eA.prelude.children[0].children.find((IA,BA)=>{const sA=IA.selectors.findIndex(is_global_block_selector);if(sA===0)return IA.selectors.length>1&&BA===0&&eA.metadata.parent_rule===null&&css_global_block_invalid_modifier_start(IA.selectors[1]),!0;sA!==-1&&css_global_block_invalid_modifier(IA.selectors[sA])});if(!gA)throw new Error("Internal error: global block without :global selector");gA.combinator&&gA.combinator.name!==" "&&css_global_block_invalid_combinator(gA,gA.combinator.name);const iA=eA.block.children.find(IA=>IA.type==="Declaration");iA&&eA.prelude.children.length===1&&eA.prelude.children[0].children.length===1&&eA.prelude.children[0].children[0].selectors.length===1&&css_global_block_invalid_declaration(iA)}AA.next({...AA.state,rule:eA}),eA.metadata.has_local_selectors=eA.prelude.children.some(tA=>tA.children.some(({metadata:gA})=>!gA.is_global&&!gA.is_global_like))},NestingSelector(eA,AA){var iA,IA;const tA=AA.state.rule,gA=tA.metadata.parent_rule;if(gA)gA.metadata.is_global_block&&!gA.metadata.parent_rule&&gA.prelude.children[0].children.length===1&&gA.prelude.children[0].children[0].selectors.length===1&&css_global_block_invalid_modifier_start(eA);else{const BA=tA.prelude.children,sA=BA[0].children[0].selectors;(BA.length>1||sA.length>1||sA[0].type!=="PseudoClassSelector"||sA[0].name!=="global"||((IA=(iA=sA[0].args)==null?void 0:iA.children[0])==null?void 0:IA.children[0].selectors[0])!==eA)&&css_nesting_selector_invalid_placement(eA)}AA.next()}};function analyze_css(eA,AA){walk(eA,{keyframes:AA.css.keyframes,rule:null},css_visitors)}const UNKNOWN={};function gather_possible_values(eA,AA){eA.type==="Literal"?AA.add(String(eA.value)):eA.type==="ConditionalExpression"?(gather_possible_values(eA.consequent,AA),gather_possible_values(eA.alternate,AA)):AA.add(UNKNOWN)}function get_possible_values(eA){const AA=new Set;return eA.type==="Text"?AA.add(eA.data):gather_possible_values(eA.expression,AA),AA.has(UNKNOWN)?null:AA}const NODE_PROBABLY_EXISTS=0,NODE_DEFINITELY_EXISTS=1,whitelist_attribute_selector=new Map([["details",["open"]],["dialog",["open"]]]),descendant_combinator={type:"Combinator",name:" ",start:-1,end:-1},nesting_selector={type:"RelativeSelector",start:-1,end:-1,combinator:null,selectors:[{type:"NestingSelector",name:"&",start:-1,end:-1}],metadata:{is_global:!1,is_global_like:!1,scoped:!1}};function prune(eA,AA){if(AA.type==="RenderTag"){const tA=get_element_parent(AA);if(!tA)return;walk(eA,{stylesheet:eA,element:tA,from_render_tag:!0},visitors$4)}else walk(eA,{stylesheet:eA,element:AA,from_render_tag:!1},visitors$4)}const visitors$4={Rule(eA,AA){eA.metadata.is_global_block?AA.visit(eA.prelude):AA.next()},ComplexSelector(eA,AA){const tA=get_relative_selectors(eA),gA=tA[tA.length-1];if(AA.state.from_render_tag){let iA=AA.state.element;for(;iA;){const IA=tA.slice();for(;IA.length>0;)if(IA.pop(),apply_selector(IA,eA.metadata.rule,iA,AA.state)){mark(gA,iA),eA.metadata.used=!0;return}iA=get_element_parent(iA)}}else apply_selector(tA,eA.metadata.rule,AA.state.element,AA.state)&&(mark(gA,AA.state.element),eA.metadata.used=!0)}};function get_relative_selectors(eA){var tA;const AA=truncate(eA);if((tA=eA.metadata.rule)!=null&&tA.metadata.parent_rule&&AA.length>0){let gA=!1;for(let iA of AA)if(walk(iA,{},{NestingSelector(){gA=!0}}),gA)break;gA||(AA[0].combinator===null&&(AA[0]={...AA[0],combinator:descendant_combinator}),AA.unshift(nesting_selector))}return AA}function truncate(eA){const AA=eA.children.findLastIndex(({metadata:tA,selectors:gA})=>{const iA=gA[0];return!tA.is_global_like&&!(iA.type==="PseudoClassSelector"&&iA.name==="global"&&iA.args===null)&&(!tA.is_global||gA.some(IA=>IA.type==="PseudoClassSelector"&&IA.args!==null&&(IA.name==="has"||IA.name==="is"||IA.name==="where"||IA.name==="not")))});return eA.children.slice(0,AA+1)}function apply_selector(eA,AA,tA,gA){const iA=eA.slice(),IA=iA.pop();if(!IA||!relative_selector_might_apply_to_node(IA,AA,tA))return!1;if(IA.combinator)return apply_combinator(IA.combinator,IA,iA,AA,tA);const sA=iA[iA.length-1];return(!sA||is_global(sA,AA))&&mark(IA,tA),!0}function apply_combinator(eA,AA,tA,gA,iA,IA){const BA=eA.name;switch(BA){case" ":case">":{let sA=iA.parent,CA=!1,oA=!1;for(;sA;){if((sA.type==="Component"||sA.type==="SvelteComponent")&&(oA=!0),sA.type==="SnippetBlock")return!0;if((sA.type==="RegularElement"||sA.type==="SvelteElement")&&(apply_selector(tA,gA,sA)&&((BA===" "||oA)&&mark(tA[tA.length-1],sA),CA=!0),BA===">"))return CA;sA=sA.parent}return CA||tA.every(QA=>is_global(QA,gA))}case"+":case"~":{const sA=get_possible_element_siblings(iA,BA==="+");let CA=!1;for(const oA of sA.keys())oA.type==="RenderTag"||oA.type==="SlotElement"?tA.length===1&&tA[0].metadata.is_global&&(mark(AA,iA),CA=!0):apply_selector(tA,gA,oA)&&(mark(AA,iA),CA=!0);return CA||get_element_parent(iA)===null&&tA.every(oA=>is_global(oA,gA))}default:return!0}}function mark(eA,AA){eA.metadata.scoped=!0,AA.metadata.scoped=!0}function is_global(eA,AA){if(eA.metadata.is_global||eA.metadata.is_global_like)return!0;for(const tA of eA.selectors){let gA=null,iA=AA;if(tA.type==="PseudoClassSelector"&&(tA.name==="is"||tA.name==="where")&&tA.args&&(gA=tA.args),tA.type==="NestingSelector"&&(iA=AA.metadata.parent_rule,gA=iA.prelude),!(gA==null?void 0:gA.children.some(BA=>BA.children.every(sA=>is_global(sA,iA)))))return!1}return!0}const regex_backslash_and_following_character=/\\(.)/g;function relative_selector_might_apply_to_node(eA,AA,tA,gA){var BA,sA;const iA=[],IA=[];for(const CA of eA.selectors)CA.type==="PseudoClassSelector"&&CA.name==="has"&&CA.args?iA.push(CA):IA.push(CA);if(iA.length>0){const CA=[],oA=[];let QA;walk(tA.fragment,{is_child:!0},{_(EA,rA){EA.type==="RegularElement"||EA.type==="SvelteElement"?(oA.push(EA),rA.state.is_child?(CA.push(EA),rA.state.is_child=!1,rA.next(),rA.state.is_child=!0):rA.next()):rA.next()}});for(const EA of iA){const rA=EA.args.children;let lA=!1;for(const uA of rA){const cA=truncate(uA),hA=((BA=cA[0])==null?void 0:BA.combinator)??descendant_combinator;cA.length>0&&(cA[0]={...cA[0],combinator:null});const dA=hA.name==="+"||hA.name==="~"?QA??(QA=get_following_sibling_elements(tA)):hA.name===">"?CA:oA;let pA=!1;for(const wA of dA)(cA.length===0||wA.metadata.scoped&&pA||apply_selector(cA,AA,wA))&&(uA.metadata.used=!0,pA=lA=!0)}if(!lA)return eA.metadata.is_global&&!eA.metadata.is_global_like&&(rA[0].metadata.used=!0,rA[0].children.forEach(uA=>{uA.metadata.scoped=!0})),!1}}for(const CA of IA){if(CA.type==="Percentage"||CA.type==="Nth")continue;const oA=CA.name.replace(regex_backslash_and_following_character,"$1");switch(CA.type){case"PseudoClassSelector":{if(oA==="host"||oA==="root")return!1;if(oA==="global"&&CA.args!==null&&eA.selectors.length===1){const EA=CA.args.children[0];return apply_selector(EA.children,AA,tA)}if(oA==="global"&&CA.args===null)return!0;if(oA==="not"&&CA.args){for(const QA of CA.args.children){QA.metadata.used=!0;const EA=truncate(QA);if(QA.children.length>1){for(const lA of EA)lA.metadata.scoped=!0;let rA=tA;for(;rA;)rA.metadata.scoped=!0,rA=get_element_parent(rA)}}break}if((oA==="is"||oA==="where")&&CA.args){let QA=!1;for(const EA of CA.args.children){const rA=truncate(EA);if(rA.length===0)EA.metadata.used=!0,QA=!0;else if(apply_selector(rA,AA,tA))EA.metadata.used=!0,QA=!0;else if(EA.children.length>1&&(oA=="is"||oA=="where")){EA.metadata.used=!0,QA=!0;for(const uA of rA)uA.metadata.scoped=!0}}if(!QA)return eA.metadata.is_global&&!eA.metadata.is_global_like&&(CA.args.children[0].metadata.used=!0,CA.args.children[0].children.forEach(EA=>{EA.metadata.scoped=!0})),!1}break}case"PseudoElementSelector":break;case"AttributeSelector":{const QA=whitelist_attribute_selector.get(tA.name.toLowerCase());if(!(QA!=null&&QA.includes(CA.name.toLowerCase()))&&!attribute_matches(tA,CA.name,CA.value&&unquote(CA.value),CA.matcher,((sA=CA.flags)==null?void 0:sA.includes("i"))??!1))return!1;break}case"ClassSelector":{if(!attribute_matches(tA,"class",oA,"~=",!1)&&!tA.attributes.some(QA=>QA.type==="ClassDirective"&&QA.name===oA))return!1;break}case"IdSelector":{if(!attribute_matches(tA,"id",oA,"=",!1))return!1;break}case"TypeSelector":{if(tA.name.toLowerCase()!==oA.toLowerCase()&&oA!=="*"&&tA.type!=="SvelteElement")return!1;break}case"NestingSelector":{let QA=!1;const EA=AA.metadata.parent_rule;for(const rA of EA.prelude.children)apply_selector(get_relative_selectors(rA),EA,tA)&&(rA.metadata.used=!0,QA=!0);if(!QA)return!1;break}}}return!0}function get_following_sibling_elements(eA){let AA=get_element_parent(eA);if(!AA)for(AA=eA;(AA==null?void 0:AA.type)!=="Root";)AA=AA.parent;const tA=[];let gA=!1;for(const iA of AA.fragment.nodes)if(gA)walk(iA,{},{RegularElement(IA){tA.push(IA)},SvelteElement(IA){tA.push(IA)}});else{let IA=eA;for(;IA!==iA&&IA!==AA;)IA=IA.parent;IA===iA&&(gA=!0)}return tA}function test_attribute(eA,AA,tA,gA){switch(tA&&(AA=AA.toLowerCase(),gA=gA.toLowerCase()),eA){case"=":return gA===AA;case"~=":return gA.split(/\s/).includes(AA);case"|=":return`${gA}-`.startsWith(`${AA}-`);case"^=":return gA.startsWith(AA);case"$=":return gA.endsWith(AA);case"*=":return gA.includes(AA);default:throw new Error("this shouldn't happen")}}function attribute_matches(eA,AA,tA,gA,iA){for(const IA of eA.attributes){if(IA.type==="SpreadAttribute"||IA.type==="BindDirective"&&IA.name===AA)return!0;if(IA.type!=="Attribute"||IA.name.toLowerCase()!==AA.toLowerCase())continue;if(IA.value===!0)return gA===null;if(tA===null)return!0;if(is_text_attribute(IA))return test_attribute(gA,tA,iA,IA.value[0].data);const BA=get_attribute_chunks(IA.value),sA=new Set;let CA=[];for(const oA of BA){const QA=get_possible_values(oA);if(!QA)return!0;if(CA.length>0){const EA=[],rA=[];if(QA.forEach(lA=>{regex_starts_with_whitespace.test(lA)?EA.push(lA):rA.push(lA)}),rA.length>0){EA.length>0&&CA.forEach(uA=>sA.add(uA));const lA=[];CA.forEach(uA=>{rA.forEach(cA=>{lA.push(uA+cA)})}),CA=lA,EA.forEach(uA=>{regex_ends_with_whitespace.test(uA)?sA.add(uA):CA.push(uA)});continue}else CA.forEach(lA=>sA.add(lA)),CA=[]}if(QA.forEach(EA=>{regex_ends_with_whitespace.test(EA)?sA.add(EA):CA.push(EA)}),CA.length<QA.size&&CA.push(" "),CA.length>20)return!0}CA.forEach(oA=>sA.add(oA));for(const oA of sA)if(test_attribute(gA,tA,iA,oA))return!0}return!1}function unquote(eA){return eA[0]===eA[eA.length-1]&&eA[0]==="'"||eA[0]==='"'?eA.slice(1,eA.length-1):eA}function get_element_parent(eA){let AA=eA;for(;(AA=AA.parent)&&AA.type!=="RegularElement"&&AA.type!=="SvelteElement";);return AA??null}function find_previous_sibling(eA){var tA;let AA=eA;for(;!AA.prev&&((tA=AA.parent)==null?void 0:tA.type)==="SlotElement";)AA=AA.parent;for(AA=AA.prev;(AA==null?void 0:AA.type)==="SlotElement";){const gA=AA.fragment.nodes;if(gA.length>0)AA=gA.slice(-1)[0];else break}return AA}function get_possible_element_siblings(eA,AA){var iA;const tA=new Map;let gA=eA;for(;gA=find_previous_sibling(gA);)if(gA.type==="RegularElement"){if(gA.attributes.find(IA=>IA.type==="Attribute"&&IA.name.toLowerCase()==="slot")||tA.set(gA,NODE_DEFINITELY_EXISTS),AA)break}else if(gA.type==="EachBlock"||gA.type==="IfBlock"||gA.type==="AwaitBlock"){const IA=get_possible_last_child(gA,AA);if(add_to_map(IA,tA),AA&&has_definite_elements(IA))return tA}else(gA.type==="SlotElement"||gA.type==="RenderTag"||gA.type==="SvelteElement")&&tA.set(gA,NODE_PROBABLY_EXISTS);if(!gA||!AA){let IA=eA;for(;(IA=IA==null?void 0:IA.parent)&&(IA.type==="EachBlock"||IA.type==="IfBlock"||IA.type==="AwaitBlock");){const BA=get_possible_element_siblings(IA,AA);if(add_to_map(BA,tA),IA.type==="EachBlock"&&!((iA=IA.fallback)!=null&&iA.nodes.includes(eA))&&add_to_map(get_possible_last_child(IA,AA),tA),AA&&has_definite_elements(BA))break}}return tA}function get_possible_last_child(eA,AA){const tA=new Map;if(eA.type==="EachBlock"){const gA=loop_child(eA.body.nodes,AA),iA=eA.fallback?loop_child(eA.fallback.nodes,AA):new Map;!has_definite_elements(iA)&&(mark_as_probably(gA),mark_as_probably(iA)),add_to_map(gA,tA),add_to_map(iA,tA)}else if(eA.type==="IfBlock"){const gA=loop_child(eA.consequent.nodes,AA),iA=eA.alternate?loop_child(eA.alternate.nodes,AA):new Map;(!has_definite_elements(gA)||!has_definite_elements(iA))&&(mark_as_probably(gA),mark_as_probably(iA)),add_to_map(gA,tA),add_to_map(iA,tA)}else if(eA.type==="AwaitBlock"){const gA=eA.pending?loop_child(eA.pending.nodes,AA):new Map,iA=eA.then?loop_child(eA.then.nodes,AA):new Map,IA=eA.catch?loop_child(eA.catch.nodes,AA):new Map;(!has_definite_elements(gA)||!has_definite_elements(iA)||!has_definite_elements(IA))&&(mark_as_probably(gA),mark_as_probably(iA),mark_as_probably(IA)),add_to_map(gA,tA),add_to_map(iA,tA),add_to_map(IA,tA)}return tA}function has_definite_elements(eA){if(eA.size===0)return!1;for(const AA of eA.values())if(AA===NODE_DEFINITELY_EXISTS)return!0;return!1}function add_to_map(eA,AA){eA.forEach((tA,gA)=>{AA.set(gA,higher_existence(tA,AA.get(gA)))})}function higher_existence(eA,AA){return eA===void 0||AA===void 0?eA||AA:eA>AA?eA:AA}function mark_as_probably(eA){for(const AA of eA.keys())eA.set(AA,NODE_PROBABLY_EXISTS)}function loop_child(eA,AA){const tA=new Map;for(let gA=eA.length-1;gA>=0;gA--){const iA=eA[gA];if(iA.type==="RegularElement"){if(tA.set(iA,NODE_DEFINITELY_EXISTS),AA)break}else if(iA.type==="EachBlock"||iA.type==="IfBlock"||iA.type==="AwaitBlock"){const IA=get_possible_last_child(iA,AA);if(add_to_map(IA,tA),AA&&has_definite_elements(IA))break}}return tA}function warn_unused(eA){walk(eA,{stylesheet:eA},visitors$3)}const visitors$3={Atrule(eA,AA){is_keyframes_node(eA)||AA.next()},PseudoClassSelector(eA,AA){(eA.name==="is"||eA.name==="where")&&AA.next()},ComplexSelector(eA,AA){if(!eA.metadata.used){const tA=AA.state.stylesheet.content,gA=tA.styles.substring(eA.start-tA.start,eA.end-tA.start);css_unused_selector(eA,gA)}AA.next()},Rule(eA,AA){eA.metadata.is_global_block?AA.visit(eA.prelude):AA.next()}};function visit_function$1(eA,AA){eA.metadata={hoisted:!1,hoisted_params:[],scope:AA.state.scope},AA.next({...AA.state,function_depth:AA.state.function_depth+1})}function ArrowFunctionExpression$1(eA,AA){visit_function$1(eA,AA)}function AssignmentExpression$2(eA,AA){if(validate_assignment(eA,eA.left,AA.state),AA.state.reactive_statement&&(eA.left.type==="MemberExpression"?object$1(eA.left):eA.left)!==null)for(const gA of extract_identifiers(eA.left)){const iA=AA.state.scope.get(gA.name);iA&&AA.state.reactive_statement.assignments.add(iA)}AA.next()}function mark_subtree_dynamic(eA){let AA=eA.length;for(;AA--;){const tA=eA[AA];if(tA.type==="Fragment"){if(tA.metadata.dynamic)return;tA.metadata.dynamic=!0}}}function Attribute$1(eA,AA){var tA,gA;if(AA.next(),eA.name==="value"){const iA=AA.path.at(-1);iA.type==="RegularElement"&&iA.name==="option"&&mark_subtree_dynamic(AA.path)}if(eA.value!==!0){for(const iA of get_attribute_chunks(eA.value))iA.type==="ExpressionTag"&&(iA.expression.type==="FunctionExpression"||iA.expression.type==="ArrowFunctionExpression"||((tA=eA.metadata.expression).has_state||(tA.has_state=iA.metadata.expression.has_state),(gA=eA.metadata.expression).has_call||(gA.has_call=iA.metadata.expression.has_call)));if(is_event_attribute(eA)){const iA=AA.path.at(-1);((iA==null?void 0:iA.type)==="RegularElement"||(iA==null?void 0:iA.type)==="SvelteElement")&&(AA.state.analysis.uses_event_attributes=!0);const IA=get_attribute_expression(eA),BA=get_delegated_event(eA.name.slice(2),IA,AA);BA!==null&&(BA.hoisted&&(BA.function.metadata.hoisted=!0),eA.metadata.delegated=BA)}}}const unhoisted={hoisted:!1};function get_delegated_event(eA,AA,tA){var CA,oA;if(!AA||!is_delegated(eA))return null;const gA=tA.path.at(-1);if((gA==null?void 0:gA.type)!=="RegularElement")return null;let iA=null,IA=null;if(gA.metadata.has_spread)return unhoisted;if(AA.type==="ArrowFunctionExpression"||AA.type==="FunctionExpression")iA=AA;else if(AA.type==="Identifier"){if(IA=tA.state.scope.get(AA.name),tA.state.analysis.module.scope.references.has(AA.name))return unhoisted;if(IA!=null)for(const{path:QA}of IA.references){const EA=QA.at(-1);if(EA===void 0)return unhoisted;const rA=QA.at(-2);let lA=null,uA=null;if(EA.type==="OnDirective"?(lA=rA,uA=EA.name):EA.type==="ExpressionTag"&&(rA==null?void 0:rA.type)==="Attribute"&&is_event_attribute(rA)&&(lA=QA.at(-3),uA=get_attribute_event_name(rA.name)),lA&&uA){if(lA.type!=="RegularElement"||lA.metadata.has_spread||!is_delegated(uA))return unhoisted}else if(EA.type!=="FunctionDeclaration"&&EA.type!=="VariableDeclarator")return unhoisted}if(tA.state.analysis.exports.find(QA=>QA.name===AA.name))return unhoisted;if(IA!==null&&IA.initial!==null&&!IA.updated&&!IA.is_called){const QA=IA.initial.type;(QA==="ArrowFunctionExpression"||QA==="FunctionDeclaration"||QA==="FunctionExpression")&&(iA=IA.initial)}}if(iA==null||iA.params.length>1)return unhoisted;const BA=new Set,sA=iA.metadata.scope;for(const[QA]of sA.references){if(QA==="arguments"||QA==="$host"||((CA=sA.get(`$${QA}`))==null?void 0:CA.kind)==="store_sub")return unhoisted;const EA=sA.get(QA),rA=tA.state.scope.get(QA);if(rA!==null&&EA!==null&&rA.node!==EA.node||EA!==null&&EA.kind==="store_sub"&&BA.has(QA.slice(1))||EA!==null&&((oA=EA.initial)==null?void 0:oA.type)==="EachBlock"||EA!==null&&(EA.declaration_kind==="rest_param"||(!tA.state.analysis.runes&&EA.kind==="each"||EA.kind==="normal")&&EA.updated))return unhoisted;BA.add(QA)}return{hoisted:!0,function:iA}}function get_attribute_event_name(eA){return eA=eA.slice(2),is_capture_event(eA)&&(eA=eA.slice(0,-7)),eA}function AwaitBlock$2(eA,AA){if(validate_block_not_empty(eA.pending),validate_block_not_empty(eA.then),validate_block_not_empty(eA.catch),AA.state.analysis.runes){if(validate_opening_tag(eA,AA.state,"#"),eA.value){const tA=eA.value.start,gA=AA.state.analysis.source.substring(tA-10,tA).match(/{(\s*):then\s+$/);gA&&gA[1]!==""&&block_unexpected_character({start:tA-10,end:tA},":")}if(eA.error){const tA=eA.error.start,gA=AA.state.analysis.source.substring(tA-10,tA).match(/{(\s*):catch\s+$/);gA&&gA[1]!==""&&block_unexpected_character({start:tA-10,end:tA},":")}}mark_subtree_dynamic(AA.path),AA.next()}const binding_properties={currentTime:{valid_elements:["audio","video"],omit_in_ssr:!0,bidirectional:!0},duration:{valid_elements:["audio","video"],event:"durationchange",omit_in_ssr:!0},focused:{},paused:{valid_elements:["audio","video"],omit_in_ssr:!0,bidirectional:!0},buffered:{valid_elements:["audio","video"],omit_in_ssr:!0},seekable:{valid_elements:["audio","video"],omit_in_ssr:!0},played:{valid_elements:["audio","video"],omit_in_ssr:!0},volume:{valid_elements:["audio","video"],omit_in_ssr:!0,bidirectional:!0},muted:{valid_elements:["audio","video"],omit_in_ssr:!0,bidirectional:!0},playbackRate:{valid_elements:["audio","video"],omit_in_ssr:!0,bidirectional:!0},seeking:{valid_elements:["audio","video"],omit_in_ssr:!0},ended:{valid_elements:["audio","video"],omit_in_ssr:!0},readyState:{valid_elements:["audio","video"],omit_in_ssr:!0},videoHeight:{valid_elements:["video"],event:"resize",omit_in_ssr:!0},videoWidth:{valid_elements:["video"],event:"resize",omit_in_ssr:!0},naturalWidth:{valid_elements:["img"],event:"load",omit_in_ssr:!0},naturalHeight:{valid_elements:["img"],event:"load",omit_in_ssr:!0},activeElement:{valid_elements:["svelte:document"],omit_in_ssr:!0},fullscreenElement:{valid_elements:["svelte:document"],event:"fullscreenchange",omit_in_ssr:!0},pointerLockElement:{valid_elements:["svelte:document"],event:"pointerlockchange",omit_in_ssr:!0},visibilityState:{valid_elements:["svelte:document"],event:"visibilitychange",omit_in_ssr:!0},innerWidth:{valid_elements:["svelte:window"],omit_in_ssr:!0},innerHeight:{valid_elements:["svelte:window"],omit_in_ssr:!0},outerWidth:{valid_elements:["svelte:window"],omit_in_ssr:!0},outerHeight:{valid_elements:["svelte:window"],omit_in_ssr:!0},scrollX:{valid_elements:["svelte:window"],omit_in_ssr:!0,bidirectional:!0},scrollY:{valid_elements:["svelte:window"],omit_in_ssr:!0,bidirectional:!0},online:{valid_elements:["svelte:window"],omit_in_ssr:!0},devicePixelRatio:{valid_elements:["svelte:window"],event:"resize",omit_in_ssr:!0},clientWidth:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},clientHeight:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},offsetWidth:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},offsetHeight:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},contentRect:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},contentBoxSize:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},borderBoxSize:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},devicePixelContentBoxSize:{omit_in_ssr:!0,invalid_elements:["svelte:window","svelte:document"]},indeterminate:{event:"change",bidirectional:!0,valid_elements:["input"],omit_in_ssr:!0},checked:{valid_elements:["input"],bidirectional:!0},group:{valid_elements:["input"],bidirectional:!0},this:{omit_in_ssr:!0},innerText:{invalid_elements:["svelte:window","svelte:document"],bidirectional:!0},innerHTML:{invalid_elements:["svelte:window","svelte:document"],bidirectional:!0},textContent:{invalid_elements:["svelte:window","svelte:document"],bidirectional:!0},open:{event:"toggle",bidirectional:!0,valid_elements:["details"]},value:{valid_elements:["input","textarea","select"],bidirectional:!0},files:{valid_elements:["input"],omit_in_ssr:!0,bidirectional:!0}};function BindDirective$1(eA,AA){var BA;validate_no_const_assignment(eA,eA.expression,AA.state.scope,!0);const tA=eA.expression,gA=object$1(tA);gA===null&&bind_invalid_expression(eA);const iA=AA.state.scope.get(gA.name);if(tA.type==="Identifier"&&(eA.name!=="this"&&(!iA||iA.kind!=="state"&&iA.kind!=="raw_state"&&iA.kind!=="prop"&&iA.kind!=="bindable_prop"&&iA.kind!=="each"&&iA.kind!=="store_sub"&&!iA.updated)&&bind_invalid_value(eA.expression),AA.state.analysis.runes&&(iA==null?void 0:iA.kind)==="each"&&each_item_invalid_assignment(eA),(iA==null?void 0:iA.kind)==="snippet"&&snippet_parameter_assignment(eA)),eA.name==="group"){if(!iA)throw new Error("Cannot find declaration for bind:group");const sA=[],[CA,oA]=extract_all_identifiers_from_expression(eA.expression);let QA=oA,EA=AA.path.length;for(;EA--;){const uA=AA.path[EA];if(uA.type==="EachBlock"){const cA=QA.filter(hA=>uA.metadata.declarations.has(hA.name));cA.length>0&&(uA.metadata.contains_group_binding=!0,sA.push(uA),QA=QA.filter(hA=>!cA.includes(hA)),QA.push(...extract_all_identifiers_from_expression(uA.expression)[1]))}}const rA=oA.map(uA=>AA.state.scope.get(uA.name));let lA;A:for(const[[uA,cA],hA]of AA.state.analysis.binding_groups)if(!(cA.length!==rA.length||uA!==CA)){for(let dA=0;dA<rA.length;dA++)if(rA[dA]!==cA[dA])continue A;lA=hA}lA||(lA=AA.state.scope.root.unique("binding_group"),AA.state.analysis.binding_groups.set([CA,rA],lA)),eA.metadata={binding_group_name:lA,parent_each_blocks:sA}}(iA==null?void 0:iA.kind)==="each"&&((BA=iA.metadata)!=null&&BA.inside_rest)&&bind_invalid_each_rest(iA.node,iA.node.name);const IA=AA.path.at(-1);if((IA==null?void 0:IA.type)==="RegularElement"||(IA==null?void 0:IA.type)==="SvelteElement"||(IA==null?void 0:IA.type)==="SvelteWindow"||(IA==null?void 0:IA.type)==="SvelteDocument"||(IA==null?void 0:IA.type)==="SvelteBody")if(eA.name in binding_properties){const sA=binding_properties[eA.name];if(sA.valid_elements&&!sA.valid_elements.includes(IA.name)&&bind_invalid_target(eA,eA.name,sA.valid_elements.map(CA=>`<${CA}>`).join(", ")),sA.invalid_elements&&sA.invalid_elements.includes(IA.name)){const CA=Object.entries(binding_properties).filter(([oA,QA])=>{var EA,rA;return((EA=QA.valid_elements)==null?void 0:EA.includes(IA.name))||!QA.valid_elements&&!((rA=QA.invalid_elements)!=null&&rA.includes(IA.name))}).map(([oA])=>oA).sort();bind_invalid_name(eA,eA.name,`Possible bindings for <${IA.name}> are ${CA.join(", ")}`)}if(IA.name==="input"&&eA.name!=="this"){const CA=IA.attributes.find(oA=>oA.type==="Attribute"&&oA.name==="type");CA&&!is_text_attribute(CA)?(eA.name!=="value"||CA.value===!0)&&attribute_invalid_type(CA):(eA.name==="checked"&&(CA==null?void 0:CA.value[0].data)!=="checkbox"&&bind_invalid_target(eA,eA.name,'<input type="checkbox">'),eA.name==="files"&&(CA==null?void 0:CA.value[0].data)!=="file"&&bind_invalid_target(eA,eA.name,'<input type="file">'))}if(IA.name==="select"&&eA.name!=="this"){const CA=IA.attributes.find(oA=>oA.type==="Attribute"&&oA.name==="multiple"&&!is_text_attribute(oA)&&oA.value!==!0);CA&&attribute_invalid_multiple(CA)}if(eA.name==="offsetWidth"&&is_svg(IA.name)&&bind_invalid_target(eA,eA.name,"non-<svg> elements. Use 'clientWidth' for <svg> instead"),is_content_editable_binding(eA.name)){const CA=IA.attributes.find(oA=>oA.type==="Attribute"&&oA.name==="contenteditable");CA?!is_text_attribute(CA)&&CA.value!==!0&&attribute_contenteditable_dynamic(CA):attribute_contenteditable_missing(eA)}}else{const sA=fuzzymatch(eA.name,Object.keys(binding_properties));if(sA){const CA=binding_properties[sA];(!CA.valid_elements||CA.valid_elements.includes(IA.name))&&bind_invalid_name(eA,eA.name,`Did you mean '${sA}'?`)}bind_invalid_name(eA,eA.name)}AA.next()}function CallExpression$2(eA,AA){var iA,IA;const tA=get_parent(AA.path,-1),gA=get_rune(eA,AA.state.scope);switch(gA){case null:is_safe_identifier(eA.callee,AA.state.scope)||(AA.state.analysis.needs_context=!0);break;case"$bindable":eA.arguments.length>1&&rune_invalid_arguments_length(eA,"$bindable","zero or one arguments"),(tA.type!=="AssignmentPattern"||((iA=AA.path.at(-3))==null?void 0:iA.type)!=="ObjectPattern"||((IA=AA.path.at(-4))==null?void 0:IA.type)!=="VariableDeclarator"||get_rune(AA.path.at(-4).init,AA.state.scope)!=="$props")&&bindable_invalid_location(eA);break;case"$host":eA.arguments.length>0?rune_invalid_arguments(eA,"$host"):(AA.state.ast_type==="module"||!AA.state.analysis.custom_element)&&host_invalid_placement(eA);break;case"$props":AA.state.has_props_rune&&props_duplicate(eA),AA.state.has_props_rune=!0,(tA.type!=="VariableDeclarator"||AA.state.ast_type!=="instance"||AA.state.scope!==AA.state.analysis.instance.scope)&&props_invalid_placement(eA),eA.arguments.length>0&&rune_invalid_arguments(eA,gA);break;case"$state":case"$state.raw":case"$derived":case"$derived.by":tA.type!=="VariableDeclarator"&&!(tA.type==="PropertyDefinition"&&!tA.static&&!tA.computed)&&state_invalid_placement(eA,gA),(gA==="$derived"||gA==="$derived.by")&&eA.arguments.length!==1?rune_invalid_arguments_length(eA,gA,"exactly one argument"):gA==="$state"&&eA.arguments.length>1&&rune_invalid_arguments_length(eA,gA,"zero or one arguments");break;case"$effect":case"$effect.pre":tA.type!=="ExpressionStatement"&&effect_invalid_placement(eA),eA.arguments.length!==1&&rune_invalid_arguments_length(eA,gA,"exactly one argument"),AA.state.analysis.needs_context=!0;break;case"$effect.tracking":eA.arguments.length!==0&&rune_invalid_arguments(eA,gA);break;case"$effect.root":eA.arguments.length!==1&&rune_invalid_arguments_length(eA,gA,"exactly one argument");break;case"$inspect":eA.arguments.length<1&&rune_invalid_arguments_length(eA,gA,"one or more arguments");break;case"$inspect().with":eA.arguments.length!==1&&rune_invalid_arguments_length(eA,gA,"exactly one argument");break;case"$state.snapshot":eA.arguments.length!==1&&rune_invalid_arguments_length(eA,gA,"exactly one argument");break}if(AA.state.render_tag){const BA=unwrap_optional(AA.state.render_tag.expression).arguments.findIndex(sA=>sA===eA||AA.path.includes(sA));BA!==-1&&AA.state.render_tag.metadata.args_with_call_expression.add(BA)}if(eA.callee.type==="Identifier"){const BA=AA.state.scope.get(eA.callee.name);BA!==null&&(BA.is_called=!0)}gA==="$inspect"||gA==="$derived"?AA.next({...AA.state,function_depth:AA.state.function_depth+1}):AA.next(),AA.state.expression&&(!is_pure(eA.callee,AA)||AA.state.expression.dependencies.size>0)&&(AA.state.expression.has_call=!0,AA.state.expression.has_state=!0)}function ClassBody$2(eA,AA){var gA;const tA=[];for(const iA of eA.body)if(iA.type==="PropertyDefinition"&&iA.key.type==="PrivateIdentifier"&&((gA=iA.value)==null?void 0:gA.type)==="CallExpression"){const IA=get_rune(iA.value,AA.state.scope);(IA==="$derived"||IA==="$derived.by")&&tA.push(iA.key.name)}AA.next({...AA.state,private_derived_state:tA})}function ClassDeclaration(eA,AA){AA.state.analysis.runes&&eA.id!==null&&validate_identifier_name(AA.state.scope.get(eA.id.name));const tA=AA.state.ast_type==="module"?0:1;AA.state.scope.function_depth>tA&&perf_avoid_nested_class(eA),AA.next()}function ClassDirective(eA,AA){mark_subtree_dynamic(AA.path),AA.next({...AA.state,expression:eA.metadata.expression})}function validate_attribute_name(eA){eA.name.includes(":")&&!eA.name.startsWith("xmlns:")&&!eA.name.startsWith("xlink:")&&!eA.name.startsWith("xml:")&&attribute_illegal_colon(eA)}function validate_attribute(eA,AA){var gA;if(Array.isArray(eA.value)&&eA.value.length===1&&eA.value[0].type==="ExpressionTag"&&(AA.type==="Component"||AA.type==="SvelteComponent"||AA.type==="SvelteSelf"||AA.type==="RegularElement"&&is_custom_element_node(AA))&&attribute_quoted(eA),eA.value===!0||!Array.isArray(eA.value)||eA.value.length===1)return;((gA=eA.value.at(-1))==null?void 0:gA.end)!==eA.end||attribute_unquoted_sequence(eA)}function validate_slot_attribute(eA,AA,tA=!1){const gA=eA.path.at(-2);let iA;if((gA==null?void 0:gA.type)==="SnippetBlock"){is_text_attribute(AA)||slot_attribute_invalid(AA);return}let IA=eA.path.length;for(;IA--;){const BA=eA.path[IA];!iA&&(BA.type==="Component"||BA.type==="SvelteComponent"||BA.type==="SvelteSelf"||BA.type==="SvelteElement"||BA.type==="RegularElement"&&is_custom_element_node(BA))&&(iA=BA)}if(iA){if(is_text_attribute(AA)||slot_attribute_invalid(AA),iA.type==="Component"||iA.type==="SvelteComponent"||iA.type==="SvelteSelf"){iA!==gA&&slot_attribute_invalid_placement(AA);const BA=AA.value[0].data;if(eA.state.component_slots.has(BA)&&slot_attribute_duplicate(AA,BA,iA.name),eA.state.component_slots.add(BA),BA==="default")for(const sA of iA.fragment.nodes)sA.type==="Text"&&regex_only_whitespaces.test(sA.data)||(sA.type==="RegularElement"||sA.type==="SvelteFragment")&&sA.attributes.some(CA=>CA.type==="Attribute"&&CA.name==="slot")||slot_default_duplicate(sA)}}else tA||slot_attribute_invalid_placement(AA)}function visit_component(eA,AA){mark_subtree_dynamic(AA.path);for(const BA of eA.attributes){if(BA.type!=="Attribute"&&BA.type!=="SpreadAttribute"&&BA.type!=="LetDirective"&&BA.type!=="OnDirective"&&BA.type!=="BindDirective"&&component_invalid_directive(BA),BA.type==="OnDirective"&&(BA.modifiers.length>1||BA.modifiers.some(sA=>sA!=="once"))&&event_handler_invalid_component_modifier(BA),BA.type==="Attribute"){if(AA.state.analysis.runes&&(validate_attribute(BA,eA),is_expression_attribute(BA))){const sA=get_attribute_expression(BA);if(sA.type==="SequenceExpression"){let CA=sA.start;for(;--CA>0;){const oA=AA.state.analysis.source[CA];if(oA==="(")break;oA==="{"&&attribute_invalid_sequence_expression(sA)}}}validate_attribute_name(BA),BA.name==="slot"&&validate_slot_attribute(AA,BA,!0)}BA.type==="BindDirective"&&BA.name!=="this"&&(AA.state.analysis.uses_component_bindings=!0)}const tA=determine_slot(eA)?AA.state:{...AA.state,scope:eA.metadata.scopes.default};for(const BA of eA.attributes)AA.visit(BA,BA.type==="LetDirective"?tA:AA.state);let gA=[];const iA={default:[]};for(const BA of eA.fragment.nodes){if(BA.type==="Comment"){gA.push(BA);continue}const sA=determine_slot(BA)??"default";(iA[sA]??(iA[sA]=[])).push(...gA,BA),sA!=="default"&&(gA=[])}const IA=new Set;for(const BA in iA){const sA={...AA.state,scope:eA.metadata.scopes[BA],parent_element:null,component_slots:IA};AA.visit({...eA.fragment,nodes:iA[BA]},sA)}}function Component$2(eA,AA){const tA=AA.state.scope.get(eA.name.includes(".")?eA.name.slice(0,eA.name.indexOf(".")):eA.name);eA.metadata.dynamic=AA.state.analysis.runes&&tA!==null&&(tA.kind!=="normal"||eA.name.includes(".")),visit_component(eA,AA)}function ConstTag$2(eA,AA){AA.state.analysis.runes&&validate_opening_tag(eA,AA.state,"@");const tA=AA.path.at(-1),gA=AA.path.at(-2);((tA==null?void 0:tA.type)!=="Fragment"||(gA==null?void 0:gA.type)!=="IfBlock"&&(gA==null?void 0:gA.type)!=="SvelteFragment"&&(gA==null?void 0:gA.type)!=="Component"&&(gA==null?void 0:gA.type)!=="SvelteComponent"&&(gA==null?void 0:gA.type)!=="EachBlock"&&(gA==null?void 0:gA.type)!=="AwaitBlock"&&(gA==null?void 0:gA.type)!=="SnippetBlock"&&((gA==null?void 0:gA.type)!=="RegularElement"&&(gA==null?void 0:gA.type)!=="SvelteElement"||!gA.attributes.some(iA=>iA.type==="Attribute"&&iA.name==="slot")))&&const_tag_invalid_placement(eA),AA.next()}function DebugTag$2(eA,AA){AA.state.analysis.runes&&validate_opening_tag(eA,AA.state,"@"),AA.next()}function EachBlock$2(eA,AA){validate_opening_tag(eA,AA.state,"#"),validate_block_not_empty(eA.body),validate_block_not_empty(eA.fallback);const tA=eA.context;tA.type==="Identifier"&&(tA.name==="$state"||tA.name==="$derived")&&state_invalid_placement(eA,tA.name),eA.key&&(eA.metadata.keyed=eA.key.type!=="Identifier"||!eA.index||eA.key.name!==eA.index),AA.visit(eA.expression,{...AA.state,expression:eA.metadata.expression,scope:AA.state.scope.parent}),AA.visit(eA.body),eA.key&&AA.visit(eA.key),eA.fallback&&AA.visit(eA.fallback),mark_subtree_dynamic(AA.path)}function ExportDefaultDeclaration(eA,AA){AA.state.ast_type==="instance"&&module_illegal_default_export(eA),AA.next()}function ExportNamedDeclaration$1(eA,AA){var tA;if(AA.next(),((tA=eA.declaration)==null?void 0:tA.type)==="VariableDeclaration"){AA.state.analysis.runes&&AA.state.ast_type==="instance"&&eA.declaration.kind==="let"&&legacy_export_invalid(eA);for(const gA of eA.declaration.declarations)for(const iA of extract_identifiers(gA.id)){const IA=AA.state.scope.get(iA.name);IA&&(IA.kind==="derived"&&derived_invalid_export(eA),(IA.kind==="state"||IA.kind==="raw_state")&&IA.reassigned&&state_invalid_export(eA))}}if(AA.state.analysis.runes){if(eA.declaration&&AA.state.ast_type==="instance"){if(eA.declaration.type==="FunctionDeclaration"||eA.declaration.type==="ClassDeclaration")AA.state.analysis.exports.push({name:eA.declaration.id.name,alias:null});else if(eA.declaration.kind==="const")for(const gA of eA.declaration.declarations)for(const iA of extract_identifiers(gA.id))AA.state.analysis.exports.push({name:iA.name,alias:null})}if(!AA.state.ast_type||AA.state.ast_type==="module")for(const gA of eA.specifiers){const iA=AA.state.scope.get(gA.local.name);iA&&(iA.kind==="derived"&&derived_invalid_export(eA),(iA.kind==="state"||iA.kind==="raw_state")&&iA.reassigned&&state_invalid_export(eA))}}}function ExportSpecifier(eA,AA){if(AA.state.ast_type==="instance"){if(AA.state.analysis.runes){AA.state.analysis.exports.push({name:eA.local.name,alias:eA.exported.name});const tA=AA.state.scope.get(eA.local.name);tA&&(tA.reassigned=tA.updated=!0)}}else validate_export(eA,AA.state.scope,eA.local.name)}function validate_export(eA,AA,tA){const gA=AA.get(tA);gA&&(gA.kind==="derived"&&derived_invalid_export(eA),(gA.kind==="state"||gA.kind==="raw_state")&&gA.reassigned&&state_invalid_export(eA))}function ExpressionStatement$2(eA,AA){if(eA.expression.type==="NewExpression"&&eA.expression.callee.type==="Identifier"&&eA.expression.arguments.length===1&&eA.expression.arguments[0].type==="ObjectExpression"&&eA.expression.arguments[0].properties.some(tA=>tA.type==="Property"&&tA.key.type==="Identifier"&&tA.key.name==="target")){const tA=AA.state.scope.get(eA.expression.callee.name);if((tA==null?void 0:tA.kind)==="normal"&&tA.declaration_kind==="import"){const gA=tA.initial;gA.source.value.endsWith(".svelte")&&gA.specifiers.find(iA=>iA.local.name===tA.node.name&&iA.type==="ImportDefaultSpecifier")&&legacy_component_creation(eA.expression)}}AA.next()}function ExpressionTag(eA,AA){eA.parent&&AA.state.parent_element&&(is_tag_valid_with_parent("#text",AA.state.parent_element)||node_invalid_placement(eA,"`{expression}`",AA.state.parent_element)),mark_subtree_dynamic(AA.path),AA.next({...AA.state,expression:eA.metadata.expression})}function FunctionDeclaration$1(eA,AA){AA.state.analysis.runes&&eA.id!==null&&validate_identifier_name(AA.state.scope.get(eA.id.name)),visit_function$1(eA,AA)}function FunctionExpression$1(eA,AA){visit_function$1(eA,AA)}function HtmlTag$2(eA,AA){AA.state.analysis.runes&&validate_opening_tag(eA,AA.state,"@"),mark_subtree_dynamic(AA.path),AA.next()}function get_value(eA){return call("$.get",eA)}function add_state_transformers(eA){for(const[AA,tA]of eA.state.scope.declarations)(is_state_source(tA,eA.state.analysis)||tA.kind==="derived"||tA.kind==="legacy_reactive")&&(eA.state.transform[AA]={read:tA.declaration_kind==="var"?gA=>call("$.safe_get",gA):get_value,assign:(gA,iA)=>{var BA;let IA=call("$.set",gA,iA);return((BA=eA.state.scope.get(`$${gA.name}`))==null?void 0:BA.kind)==="store_sub"&&(IA=call("$.store_unsub",IA,literal(`$${gA.name}`),id$1("$$stores"))),IA},mutate:(gA,iA)=>eA.state.analysis.runes?iA:call("$.mutate",gA,iA),update:gA=>call(gA.prefix?"$.update_pre":"$.update",gA.argument,gA.operator==="--"&&literal(-1))})}function is_state_source(eA,AA){return(eA.kind==="state"||eA.kind==="raw_state")&&(!AA.immutable||eA.reassigned||AA.accessors)}function build_getter$1(eA,AA){if(Object.hasOwn(AA.transform,eA.name)){const tA=AA.scope.get(eA.name);if(eA!==(tA==null?void 0:tA.node))return AA.transform[eA.name].read(eA)}return eA}function build_proxy_reassignment(eA,AA){return dev?call("$.proxy",eA,null_instane,AA):call("$.proxy",eA)}function get_hoisted_params(eA,AA){var IA;const tA=AA.state.scope,gA=[];function iA(BA){gA.find(sA=>sA.name===BA.name)||gA.push(BA)}for(const[BA]of tA.references){let sA=tA.get(BA);if(sA!==null&&!tA.declarations.has(BA)&&sA.initial!==eA){sA.kind==="store_sub"&&(iA(id$1(sA.node.name)),sA=tA.get(sA.node.name.slice(1)));let CA=(IA=AA.state.transform[BA])==null?void 0:IA.read(id$1(sA.node.name));CA!=null&&typeof CA!="function"&&CA.type==="MemberExpression"&&CA.object.type==="CallExpression"&&CA.object.callee.type==="Identifier"&&CA.object.callee.name==="$.get"&&CA.object.arguments[0].type==="Identifier"?iA(id$1(CA.object.arguments[0].name)):(sA.kind==="prop"||sA.kind==="bindable_prop")&&!is_prop_source(sA,AA.state)?iA(id$1("$$props")):sA.declaration_kind!=="import"&&(iA(id$1(sA.node.name)),sA.kind==="rest_prop"&&AA.state.analysis.runes&&iA(id$1("$$props")))}}return gA}function build_hoisted_params(eA,AA){const tA=get_hoisted_params(eA,AA);eA.metadata.hoisted_params=tA;const gA=[];if(eA.params.length===0)tA.length>0&&gA.push(id$1(AA.state.scope.generate("_")));else for(const iA of eA.params)gA.push(AA.visit(iA));return gA.push(...tA),gA}function get_prop_source(eA,AA,tA,gA){const iA=[id$1("$$props"),literal(tA)];let IA=0;eA.kind==="bindable_prop"&&(IA|=PROPS_IS_BINDABLE),AA.analysis.immutable&&(IA|=PROPS_IS_IMMUTABLE),AA.analysis.runes&&(IA|=PROPS_IS_RUNES),(AA.analysis.accessors||(AA.analysis.immutable?eA.reassigned||AA.analysis.runes&&eA.mutated:eA.updated))&&(IA|=PROPS_IS_UPDATED);let BA;return gA&&(is_simple_expression(gA)?BA=gA:(gA.type==="CallExpression"&&gA.callee.type==="Identifier"&&gA.arguments.length===0?BA=gA.callee:BA=thunk(gA),IA|=PROPS_IS_LAZY_INITIAL)),(IA||BA)&&(iA.push(literal(IA)),BA&&iA.push(BA)),call("$.prop",...iA)}function is_prop_source(eA,AA){return(eA.kind==="prop"||eA.kind==="bindable_prop")&&(!AA.analysis.runes||AA.analysis.accessors||eA.reassigned||eA.initial||eA.updated)}function should_proxy(eA,AA){if(!eA||eA.type==="Literal"||eA.type==="TemplateLiteral"||eA.type==="ArrowFunctionExpression"||eA.type==="FunctionExpression"||eA.type==="UnaryExpression"||eA.type==="BinaryExpression"||eA.type==="Identifier"&&eA.name==="undefined")return!1;if(eA.type==="Identifier"&&AA!==null){const tA=AA.get(eA.name);if(tA!==null&&!tA.reassigned&&tA.initial!==null&&tA.initial.type!=="FunctionDeclaration"&&tA.initial.type!=="ClassDeclaration"&&tA.initial.type!=="ImportDeclaration"&&tA.initial.type!=="EachBlock")return should_proxy(tA.initial,null)}return!0}function create_derived_block_argument(eA,AA){if(eA.type==="Identifier")return AA.state.transform[eA.name]={read:get_value},{id:eA,declarations:null};const tA=AA.visit(eA),gA=extract_identifiers(eA),iA=id$1("$$source"),IA=id$1("$$value"),BA=block([var_builder(tA,call("$.get",iA)),return_builder(object$2(gA.map(CA=>prop("init",CA,CA))))]),sA=[var_builder(IA,create_derived(AA.state,thunk(BA)))];for(const CA of gA)AA.state.transform[CA.name]={read:get_value},sA.push(var_builder(CA,create_derived(AA.state,thunk(member(call("$.get",IA),CA)))));return{id:iA,declarations:sA}}function create_derived(eA,AA){return call(eA.analysis.runes?"$.derived":"$.derived_safe_equal",AA)}function can_inline_variable(eA){var AA;return!!eA&&!eA.scope.parent&&((AA=eA.initial)==null?void 0:AA.type)==="Literal"}function Identifier$2(eA,AA){var IA,BA;let tA=AA.path.length,gA=AA.path[--tA];if(!is_reference(eA,gA))return;if(mark_subtree_dynamic(AA.path),eA.name==="arguments"&&!AA.path.some(sA=>sA.type==="FunctionDeclaration"||sA.type==="FunctionExpression")&&invalid_arguments_usage(eA),eA.name==="$$slots"&&(AA.state.analysis.uses_slots=!0),AA.state.analysis.runes&&is_rune(eA.name)&&AA.state.scope.get(eA.name)===null&&AA.state.scope.get(eA.name.slice(1))===null){let sA=eA,CA=eA.name;for(;gA.type==="MemberExpression";)gA.computed&&rune_invalid_computed_property(gA),CA+=`.${gA.property.name}`,sA=gA,gA=AA.path[--tA],is_rune(CA)||(CA==="$effect.active"&&rune_renamed(gA,"$effect.active","$effect.tracking"),CA==="$state.frozen"&&rune_renamed(gA,"$state.frozen","$state.raw"),CA==="$state.is"&&rune_removed(gA,"$state.is"),rune_invalid_name(gA,CA));gA.type!=="CallExpression"&&rune_missing_parentheses(sA)}let iA=AA.state.scope.get(eA.name);AA.state.analysis.runes||(eA.name==="$$props"&&(AA.state.analysis.uses_props=!0),eA.name==="$$restProps"&&(AA.state.analysis.uses_rest_props=!0)),iA&&(AA.state.expression&&(AA.state.expression.dependencies.add(iA),(IA=AA.state.expression).has_state||(IA.has_state=iA.kind!=="normal")),AA.state.analysis.runes&&eA!==iA.node&&AA.state.function_depth===iA.scope.function_depth&&(iA.kind==="state"&&(iA.reassigned||((BA=iA.initial)==null?void 0:BA.type)==="CallExpression"&&iA.initial.arguments.length===1&&iA.initial.arguments[0].type!=="SpreadElement"&&!should_proxy(iA.initial.arguments[0],AA.state.scope))||iA.kind==="raw_state"||iA.kind==="derived")&&(gA.type!=="AssignmentExpression"||gA.left!==eA)&&gA.type!=="UpdateExpression"&&state_referenced_locally(eA),AA.state.reactive_statement&&iA.scope===AA.state.analysis.module.scope&&iA.reassigned&&reactive_declaration_module_script_dependency(eA))}function IfBlock$2(eA,AA){validate_block_not_empty(eA.consequent),validate_block_not_empty(eA.alternate),AA.state.analysis.runes&&validate_opening_tag(eA,AA.state,eA.elseif?":":"#"),mark_subtree_dynamic(AA.path),AA.next()}function ImportDeclaration$1(eA,AA){if(AA.state.analysis.runes){const tA=eA.source.value;if(tA.startsWith("svelte/internal")&&import_svelte_internal_forbidden(eA),tA==="svelte")for(const gA of eA.specifiers)gA.type==="ImportSpecifier"&&(gA.imported.name==="beforeUpdate"||gA.imported.name==="afterUpdate")&&runes_mode_invalid_import(gA,gA.imported.name)}}function KeyBlock$2(eA,AA){validate_block_not_empty(eA.fragment),AA.state.analysis.runes&&validate_opening_tag(eA,AA.state,"#"),mark_subtree_dynamic(AA.path),AA.next()}function LabeledStatement$2(eA,AA){if(eA.label.name==="$"){const tA=AA.path.at(-1);if(AA.state.ast_type==="instance"&&tA.type==="Program"){AA.state.analysis.runes&&legacy_reactive_statement_invalid(eA);const iA={assignments:new Set,dependencies:[]};AA.next({...AA.state,reactive_statement:iA,function_depth:AA.state.scope.function_depth+1});for(const[IA,BA]of AA.state.scope.references){const sA=AA.state.scope.get(IA);if(sA!==null)for(const{node:CA,path:oA}of BA){let QA=CA,EA=oA.length-1,rA=oA.at(EA);for(;rA.type==="MemberExpression";)QA=rA,rA=oA.at(--EA);if(!(rA.type==="AssignmentExpression"&&rA.operator==="="&&rA.left===QA)){iA.dependencies.push(sA);break}}}if(AA.state.reactive_statements.set(eA,iA),eA.body.type==="ExpressionStatement"&&eA.body.expression.type==="AssignmentExpression"){let IA=extract_identifiers(eA.body.expression.left);if(eA.body.expression.left.type==="MemberExpression"){const BA=object$1(eA.body.expression.left);BA!==null&&(IA=[BA])}for(const BA of IA){const sA=AA.state.scope.get(BA.name);(sA==null?void 0:sA.kind)==="legacy_reactive"&&(sA.legacy_dependencies=Array.from(iA.dependencies))}}}else AA.state.analysis.runes||reactive_declaration_invalid_placement(eA)}AA.next()}function LetDirective$1(eA,AA){const tA=AA.path.at(-1);(tA===void 0||tA.type!=="Component"&&tA.type!=="RegularElement"&&tA.type!=="SlotElement"&&tA.type!=="SvelteElement"&&tA.type!=="SvelteComponent"&&tA.type!=="SvelteSelf"&&tA.type!=="SvelteFragment")&&let_directive_invalid_placement(eA)}function MemberExpression$2(eA,AA){if(eA.object.type==="Identifier"&&eA.property.type==="Identifier"){const tA=AA.state.scope.get(eA.object.name);(tA==null?void 0:tA.kind)==="rest_prop"&&eA.property.name.startsWith("$$")&&props_illegal_name(eA.property)}if(AA.state.expression&&!is_pure(eA,AA)&&(AA.state.expression.has_state=!0),is_safe_identifier(eA,AA.state.scope)||(AA.state.analysis.needs_context=!0),AA.state.reactive_statement){const tA=object$1(eA);if(tA!==null){const gA=AA.state.scope.get(tA.name);if(gA&&gA.kind==="normal"){const iA=AA.path.at(-1);(gA.scope===AA.state.analysis.module.scope||gA.declaration_kind==="import"||gA.initial&&gA.initial.type!=="ArrayExpression"&&gA.initial.type!=="ObjectExpression"&&gA.scope.function_depth<=1)&&iA.type!=="MemberExpression"&&iA.type!=="CallExpression"&&reactive_declaration_non_reactive_property(eA)}}}AA.next()}function NewExpression(eA,AA){eA.callee.type==="ClassExpression"&&AA.state.scope.function_depth>0&&perf_avoid_inline_class(eA),AA.state.analysis.needs_context=!0,AA.next()}function OnDirective$1(eA,AA){var gA,iA;if(AA.state.analysis.runes){const IA=(gA=AA.path.at(-1))==null?void 0:gA.type;(IA==="RegularElement"||IA==="SvelteElement")&&event_directive_deprecated(eA,eA.name)}const tA=AA.path.at(-1);((tA==null?void 0:tA.type)==="SvelteElement"||(tA==null?void 0:tA.type)==="RegularElement")&&((iA=AA.state.analysis).event_directive_node??(iA.event_directive_node=eA)),mark_subtree_dynamic(AA.path),AA.next({...AA.state,expression:eA.metadata.expression})}var lib$1={},ariaPropsMap$1={},iterationDecorator$3={},iteratorProxy$3={};Object.defineProperty(iteratorProxy$3,"__esModule",{value:!0}),iteratorProxy$3.default=void 0;function iteratorProxy$2(){var eA=this,AA=0,tA={"@@iterator":function(){return tA},next:function(){if(AA<eA.length){var iA=eA[AA];return AA=AA+1,{done:!1,value:iA}}else return{done:!0}}};return tA}iteratorProxy$3.default=iteratorProxy$2,Object.defineProperty(iterationDecorator$3,"__esModule",{value:!0}),iterationDecorator$3.default=iterationDecorator$2;var _iteratorProxy$1=_interopRequireDefault$g(iteratorProxy$3);function _interopRequireDefault$g(eA){return eA&&eA.__esModule?eA:{default:eA}}function _typeof$1(eA){"@babel/helpers - typeof";return _typeof$1=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(AA){return typeof AA}:function(AA){return AA&&typeof Symbol=="function"&&AA.constructor===Symbol&&AA!==Symbol.prototype?"symbol":typeof AA},_typeof$1(eA)}function iterationDecorator$2(eA,AA){return typeof Symbol=="function"&&_typeof$1(Symbol.iterator)==="symbol"&&Object.defineProperty(eA,Symbol.iterator,{value:_iteratorProxy$1.default.bind(AA)}),eA}Object.defineProperty(ariaPropsMap$1,"__esModule",{value:!0}),ariaPropsMap$1.default=void 0;var _iterationDecorator$8=_interopRequireDefault$f(iterationDecorator$3);function _interopRequireDefault$f(eA){return eA&&eA.__esModule?eA:{default:eA}}function _slicedToArray$8(eA,AA){return _arrayWithHoles$8(eA)||_iterableToArrayLimit$8(eA,AA)||_unsupportedIterableToArray$8(eA,AA)||_nonIterableRest$8()}function _nonIterableRest$8(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
31
31
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$8(eA,AA){if(eA){if(typeof eA=="string")return _arrayLikeToArray$8(eA,AA);var tA={}.toString.call(eA).slice(8,-1);return tA==="Object"&&eA.constructor&&(tA=eA.constructor.name),tA==="Map"||tA==="Set"?Array.from(eA):tA==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(tA)?_arrayLikeToArray$8(eA,AA):void 0}}function _arrayLikeToArray$8(eA,AA){(AA==null||AA>eA.length)&&(AA=eA.length);for(var tA=0,gA=Array(AA);tA<AA;tA++)gA[tA]=eA[tA];return gA}function _iterableToArrayLimit$8(eA,AA){var tA=eA==null?null:typeof Symbol<"u"&&eA[Symbol.iterator]||eA["@@iterator"];if(tA!=null){var gA,iA,IA,BA,sA=[],CA=!0,oA=!1;try{if(IA=(tA=tA.call(eA)).next,AA===0){if(Object(tA)!==tA)return;CA=!1}else for(;!(CA=(gA=IA.call(tA)).done)&&(sA.push(gA.value),sA.length!==AA);CA=!0);}catch(QA){oA=!0,iA=QA}finally{try{if(!CA&&tA.return!=null&&(BA=tA.return(),Object(BA)!==BA))return}finally{if(oA)throw iA}}return sA}}function _arrayWithHoles$8(eA){if(Array.isArray(eA))return eA}var properties=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],ariaPropsMap={entries:function eA(){return properties},forEach:function eA(AA){for(var tA=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,gA=0,iA=properties;gA<iA.length;gA++){var IA=_slicedToArray$8(iA[gA],2),BA=IA[0],sA=IA[1];AA.call(tA,sA,BA,properties)}},get:function eA(AA){var tA=properties.filter(function(gA){return gA[0]===AA})[0];return tA&&tA[1]},has:function eA(AA){return!!ariaPropsMap.get(AA)},keys:function eA(){return properties.map(function(AA){var tA=_slicedToArray$8(AA,1),gA=tA[0];return gA})},values:function eA(){return properties.map(function(AA){var tA=_slicedToArray$8(AA,2),gA=tA[1];return gA})}};ariaPropsMap$1.default=(0,_iterationDecorator$8.default)(ariaPropsMap,ariaPropsMap.entries());var domMap$1={};Object.defineProperty(domMap$1,"__esModule",{value:!0}),domMap$1.default=void 0;var _iterationDecorator$7=_interopRequireDefault$e(iterationDecorator$3);function _interopRequireDefault$e(eA){return eA&&eA.__esModule?eA:{default:eA}}function _slicedToArray$7(eA,AA){return _arrayWithHoles$7(eA)||_iterableToArrayLimit$7(eA,AA)||_unsupportedIterableToArray$7(eA,AA)||_nonIterableRest$7()}function _nonIterableRest$7(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
32
32
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _unsupportedIterableToArray$7(eA,AA){if(eA){if(typeof eA=="string")return _arrayLikeToArray$7(eA,AA);var tA={}.toString.call(eA).slice(8,-1);return tA==="Object"&&eA.constructor&&(tA=eA.constructor.name),tA==="Map"||tA==="Set"?Array.from(eA):tA==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(tA)?_arrayLikeToArray$7(eA,AA):void 0}}function _arrayLikeToArray$7(eA,AA){(AA==null||AA>eA.length)&&(AA=eA.length);for(var tA=0,gA=Array(AA);tA<AA;tA++)gA[tA]=eA[tA];return gA}function _iterableToArrayLimit$7(eA,AA){var tA=eA==null?null:typeof Symbol<"u"&&eA[Symbol.iterator]||eA["@@iterator"];if(tA!=null){var gA,iA,IA,BA,sA=[],CA=!0,oA=!1;try{if(IA=(tA=tA.call(eA)).next,AA===0){if(Object(tA)!==tA)return;CA=!1}else for(;!(CA=(gA=IA.call(tA)).done)&&(sA.push(gA.value),sA.length!==AA);CA=!0);}catch(QA){oA=!0,iA=QA}finally{try{if(!CA&&tA.return!=null&&(BA=tA.return(),Object(BA)!==BA))return}finally{if(oA)throw iA}}return sA}}function _arrayWithHoles$7(eA){if(Array.isArray(eA))return eA}var dom=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],domMap={entries:function eA(){return dom},forEach:function eA(AA){for(var tA=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,gA=0,iA=dom;gA<iA.length;gA++){var IA=_slicedToArray$7(iA[gA],2),BA=IA[0],sA=IA[1];AA.call(tA,sA,BA,dom)}},get:function eA(AA){var tA=dom.filter(function(gA){return gA[0]===AA})[0];return tA&&tA[1]},has:function eA(AA){return!!domMap.get(AA)},keys:function eA(){return dom.map(function(AA){var tA=_slicedToArray$7(AA,1),gA=tA[0];return gA})},values:function eA(){return dom.map(function(AA){var tA=_slicedToArray$7(AA,2),gA=tA[1];return gA})}};domMap$1.default=(0,_iterationDecorator$7.default)(domMap,domMap.entries());var rolesMap$1={},ariaAbstractRoles$1={},commandRole$1={};Object.defineProperty(commandRole$1,"__esModule",{value:!0}),commandRole$1.default=void 0;var commandRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};commandRole$1.default=commandRole;var compositeRole$1={};Object.defineProperty(compositeRole$1,"__esModule",{value:!0}),compositeRole$1.default=void 0;var compositeRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};compositeRole$1.default=compositeRole;var inputRole$1={};Object.defineProperty(inputRole$1,"__esModule",{value:!0}),inputRole$1.default=void 0;var inputRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]};inputRole$1.default=inputRole;var landmarkRole$1={};Object.defineProperty(landmarkRole$1,"__esModule",{value:!0}),landmarkRole$1.default=void 0;var landmarkRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};landmarkRole$1.default=landmarkRole;var rangeRole$1={};Object.defineProperty(rangeRole$1,"__esModule",{value:!0}),rangeRole$1.default=void 0;var rangeRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};rangeRole$1.default=rangeRole;var roletypeRole$1={};Object.defineProperty(roletypeRole$1,"__esModule",{value:!0}),roletypeRole$1.default=void 0;var roletypeRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};roletypeRole$1.default=roletypeRole;var sectionRole$1={};Object.defineProperty(sectionRole$1,"__esModule",{value:!0}),sectionRole$1.default=void 0;var sectionRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};sectionRole$1.default=sectionRole;var sectionheadRole$1={};Object.defineProperty(sectionheadRole$1,"__esModule",{value:!0}),sectionheadRole$1.default=void 0;var sectionheadRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};sectionheadRole$1.default=sectionheadRole;var selectRole$1={};Object.defineProperty(selectRole$1,"__esModule",{value:!0}),selectRole$1.default=void 0;var selectRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]};selectRole$1.default=selectRole;var structureRole$1={};Object.defineProperty(structureRole$1,"__esModule",{value:!0}),structureRole$1.default=void 0;var structureRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};structureRole$1.default=structureRole;var widgetRole$1={};Object.defineProperty(widgetRole$1,"__esModule",{value:!0}),widgetRole$1.default=void 0;var widgetRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};widgetRole$1.default=widgetRole;var windowRole$1={};Object.defineProperty(windowRole$1,"__esModule",{value:!0}),windowRole$1.default=void 0;var windowRole={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]};windowRole$1.default=windowRole,Object.defineProperty(ariaAbstractRoles$1,"__esModule",{value:!0}),ariaAbstractRoles$1.default=void 0;var _commandRole=_interopRequireDefault$d(commandRole$1),_compositeRole=_interopRequireDefault$d(compositeRole$1),_inputRole=_interopRequireDefault$d(inputRole$1),_landmarkRole=_interopRequireDefault$d(landmarkRole$1),_rangeRole=_interopRequireDefault$d(rangeRole$1),_roletypeRole=_interopRequireDefault$d(roletypeRole$1),_sectionRole=_interopRequireDefault$d(sectionRole$1),_sectionheadRole=_interopRequireDefault$d(sectionheadRole$1),_selectRole=_interopRequireDefault$d(selectRole$1),_structureRole=_interopRequireDefault$d(structureRole$1),_widgetRole=_interopRequireDefault$d(widgetRole$1),_windowRole=_interopRequireDefault$d(windowRole$1);function _interopRequireDefault$d(eA){return eA&&eA.__esModule?eA:{default:eA}}var ariaAbstractRoles=[["command",_commandRole.default],["composite",_compositeRole.default],["input",_inputRole.default],["landmark",_landmarkRole.default],["range",_rangeRole.default],["roletype",_roletypeRole.default],["section",_sectionRole.default],["sectionhead",_sectionheadRole.default],["select",_selectRole.default],["structure",_structureRole.default],["widget",_widgetRole.default],["window",_windowRole.default]];ariaAbstractRoles$1.default=ariaAbstractRoles;var ariaLiteralRoles$1={},alertRole$1={};Object.defineProperty(alertRole$1,"__esModule",{value:!0}),alertRole$1.default=void 0;var alertRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};alertRole$1.default=alertRole;var alertdialogRole$1={};Object.defineProperty(alertdialogRole$1,"__esModule",{value:!0}),alertdialogRole$1.default=void 0;var alertdialogRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]};alertdialogRole$1.default=alertdialogRole;var applicationRole$1={};Object.defineProperty(applicationRole$1,"__esModule",{value:!0}),applicationRole$1.default=void 0;var applicationRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};applicationRole$1.default=applicationRole;var articleRole$1={};Object.defineProperty(articleRole$1,"__esModule",{value:!0}),articleRole$1.default=void 0;var articleRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};articleRole$1.default=articleRole;var bannerRole$1={};Object.defineProperty(bannerRole$1,"__esModule",{value:!0}),bannerRole$1.default=void 0;var bannerRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};bannerRole$1.default=bannerRole;var blockquoteRole$1={};Object.defineProperty(blockquoteRole$1,"__esModule",{value:!0}),blockquoteRole$1.default=void 0;var blockquoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};blockquoteRole$1.default=blockquoteRole;var buttonRole$1={};Object.defineProperty(buttonRole$1,"__esModule",{value:!0}),buttonRole$1.default=void 0;var buttonRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};buttonRole$1.default=buttonRole;var captionRole$1={};Object.defineProperty(captionRole$1,"__esModule",{value:!0}),captionRole$1.default=void 0;var captionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};captionRole$1.default=captionRole;var cellRole$1={};Object.defineProperty(cellRole$1,"__esModule",{value:!0}),cellRole$1.default=void 0;var cellRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};cellRole$1.default=cellRole;var checkboxRole$1={};Object.defineProperty(checkboxRole$1,"__esModule",{value:!0}),checkboxRole$1.default=void 0;var checkboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};checkboxRole$1.default=checkboxRole;var codeRole$1={};Object.defineProperty(codeRole$1,"__esModule",{value:!0}),codeRole$1.default=void 0;var codeRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};codeRole$1.default=codeRole;var columnheaderRole$1={};Object.defineProperty(columnheaderRole$1,"__esModule",{value:!0}),columnheaderRole$1.default=void 0;var columnheaderRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};columnheaderRole$1.default=columnheaderRole;var comboboxRole$1={};Object.defineProperty(comboboxRole$1,"__esModule",{value:!0}),comboboxRole$1.default=void 0;var comboboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]};comboboxRole$1.default=comboboxRole;var complementaryRole$1={};Object.defineProperty(complementaryRole$1,"__esModule",{value:!0}),complementaryRole$1.default=void 0;var complementaryRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element","scoped to the main element"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};complementaryRole$1.default=complementaryRole;var contentinfoRole$1={};Object.defineProperty(contentinfoRole$1,"__esModule",{value:!0}),contentinfoRole$1.default=void 0;var contentinfoRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};contentinfoRole$1.default=contentinfoRole;var definitionRole$1={};Object.defineProperty(definitionRole$1,"__esModule",{value:!0}),definitionRole$1.default=void 0;var definitionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};definitionRole$1.default=definitionRole;var deletionRole$1={};Object.defineProperty(deletionRole$1,"__esModule",{value:!0}),deletionRole$1.default=void 0;var deletionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};deletionRole$1.default=deletionRole;var dialogRole$1={};Object.defineProperty(dialogRole$1,"__esModule",{value:!0}),dialogRole$1.default=void 0;var dialogRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]};dialogRole$1.default=dialogRole;var directoryRole$1={};Object.defineProperty(directoryRole$1,"__esModule",{value:!0}),directoryRole$1.default=void 0;var directoryRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]};directoryRole$1.default=directoryRole;var documentRole$1={};Object.defineProperty(documentRole$1,"__esModule",{value:!0}),documentRole$1.default=void 0;var documentRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};documentRole$1.default=documentRole;var emphasisRole$1={};Object.defineProperty(emphasisRole$1,"__esModule",{value:!0}),emphasisRole$1.default=void 0;var emphasisRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};emphasisRole$1.default=emphasisRole;var feedRole$1={};Object.defineProperty(feedRole$1,"__esModule",{value:!0}),feedRole$1.default=void 0;var feedRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]};feedRole$1.default=feedRole;var figureRole$1={};Object.defineProperty(figureRole$1,"__esModule",{value:!0}),figureRole$1.default=void 0;var figureRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};figureRole$1.default=figureRole;var formRole$1={};Object.defineProperty(formRole$1,"__esModule",{value:!0}),formRole$1.default=void 0;var formRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};formRole$1.default=formRole;var genericRole$1={};Object.defineProperty(genericRole$1,"__esModule",{value:!0}),genericRole$1.default=void 0;var genericRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};genericRole$1.default=genericRole;var gridRole$1={};Object.defineProperty(gridRole$1,"__esModule",{value:!0}),gridRole$1.default=void 0;var gridRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]};gridRole$1.default=gridRole;var gridcellRole$1={};Object.defineProperty(gridcellRole$1,"__esModule",{value:!0}),gridcellRole$1.default=void 0;var gridcellRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]};gridcellRole$1.default=gridcellRole;var groupRole$1={};Object.defineProperty(groupRole$1,"__esModule",{value:!0}),groupRole$1.default=void 0;var groupRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};groupRole$1.default=groupRole;var headingRole$1={};Object.defineProperty(headingRole$1,"__esModule",{value:!0}),headingRole$1.default=void 0;var headingRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]};headingRole$1.default=headingRole;var imgRole$1={};Object.defineProperty(imgRole$1,"__esModule",{value:!0}),imgRole$1.default=void 0;var imgRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};imgRole$1.default=imgRole;var insertionRole$1={};Object.defineProperty(insertionRole$1,"__esModule",{value:!0}),insertionRole$1.default=void 0;var insertionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};insertionRole$1.default=insertionRole;var linkRole$1={};Object.defineProperty(linkRole$1,"__esModule",{value:!0}),linkRole$1.default=void 0;var linkRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};linkRole$1.default=linkRole;var listRole$1={};Object.defineProperty(listRole$1,"__esModule",{value:!0}),listRole$1.default=void 0;var listRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]};listRole$1.default=listRole;var listboxRole$1={};Object.defineProperty(listboxRole$1,"__esModule",{value:!0}),listboxRole$1.default=void 0;var listboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};listboxRole$1.default=listboxRole;var listitemRole$1={};Object.defineProperty(listitemRole$1,"__esModule",{value:!0}),listitemRole$1.default=void 0;var listitemRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};listitemRole$1.default=listitemRole;var logRole$1={};Object.defineProperty(logRole$1,"__esModule",{value:!0}),logRole$1.default=void 0;var logRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};logRole$1.default=logRole;var mainRole$1={};Object.defineProperty(mainRole$1,"__esModule",{value:!0}),mainRole$1.default=void 0;var mainRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};mainRole$1.default=mainRole;var markRole$1={};Object.defineProperty(markRole$1,"__esModule",{value:!0}),markRole$1.default=void 0;var markRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};markRole$1.default=markRole;var marqueeRole$1={};Object.defineProperty(marqueeRole$1,"__esModule",{value:!0}),marqueeRole$1.default=void 0;var marqueeRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};marqueeRole$1.default=marqueeRole;var mathRole$1={};Object.defineProperty(mathRole$1,"__esModule",{value:!0}),mathRole$1.default=void 0;var mathRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};mathRole$1.default=mathRole;var menuRole$1={};Object.defineProperty(menuRole$1,"__esModule",{value:!0}),menuRole$1.default=void 0;var menuRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};menuRole$1.default=menuRole;var menubarRole$1={};Object.defineProperty(menubarRole$1,"__esModule",{value:!0}),menubarRole$1.default=void 0;var menubarRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]};menubarRole$1.default=menubarRole;var menuitemRole$1={};Object.defineProperty(menuitemRole$1,"__esModule",{value:!0}),menuitemRole$1.default=void 0;var menuitemRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]};menuitemRole$1.default=menuitemRole;var menuitemcheckboxRole$1={};Object.defineProperty(menuitemcheckboxRole$1,"__esModule",{value:!0}),menuitemcheckboxRole$1.default=void 0;var menuitemcheckboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]};menuitemcheckboxRole$1.default=menuitemcheckboxRole;var menuitemradioRole$1={};Object.defineProperty(menuitemradioRole$1,"__esModule",{value:!0}),menuitemradioRole$1.default=void 0;var menuitemradioRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]};menuitemradioRole$1.default=menuitemradioRole;var meterRole$1={};Object.defineProperty(meterRole$1,"__esModule",{value:!0}),meterRole$1.default=void 0;var meterRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]};meterRole$1.default=meterRole;var navigationRole$1={};Object.defineProperty(navigationRole$1,"__esModule",{value:!0}),navigationRole$1.default=void 0;var navigationRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};navigationRole$1.default=navigationRole;var noneRole$1={};Object.defineProperty(noneRole$1,"__esModule",{value:!0}),noneRole$1.default=void 0;var noneRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]};noneRole$1.default=noneRole;var noteRole$1={};Object.defineProperty(noteRole$1,"__esModule",{value:!0}),noteRole$1.default=void 0;var noteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};noteRole$1.default=noteRole;var optionRole$1={};Object.defineProperty(optionRole$1,"__esModule",{value:!0}),optionRole$1.default=void 0;var optionRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]};optionRole$1.default=optionRole;var paragraphRole$1={};Object.defineProperty(paragraphRole$1,"__esModule",{value:!0}),paragraphRole$1.default=void 0;var paragraphRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};paragraphRole$1.default=paragraphRole;var presentationRole$1={};Object.defineProperty(presentationRole$1,"__esModule",{value:!0}),presentationRole$1.default=void 0;var presentationRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};presentationRole$1.default=presentationRole;var progressbarRole$1={};Object.defineProperty(progressbarRole$1,"__esModule",{value:!0}),progressbarRole$1.default=void 0;var progressbarRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]};progressbarRole$1.default=progressbarRole;var radioRole$1={};Object.defineProperty(radioRole$1,"__esModule",{value:!0}),radioRole$1.default=void 0;var radioRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]};radioRole$1.default=radioRole;var radiogroupRole$1={};Object.defineProperty(radiogroupRole$1,"__esModule",{value:!0}),radiogroupRole$1.default=void 0;var radiogroupRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};radiogroupRole$1.default=radiogroupRole;var regionRole$1={};Object.defineProperty(regionRole$1,"__esModule",{value:!0}),regionRole$1.default=void 0;var regionRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};regionRole$1.default=regionRole;var rowRole$1={};Object.defineProperty(rowRole$1,"__esModule",{value:!0}),rowRole$1.default=void 0;var rowRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]};rowRole$1.default=rowRole;var rowgroupRole$1={};Object.defineProperty(rowgroupRole$1,"__esModule",{value:!0}),rowgroupRole$1.default=void 0;var rowgroupRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]};rowgroupRole$1.default=rowgroupRole;var rowheaderRole$1={};Object.defineProperty(rowheaderRole$1,"__esModule",{value:!0}),rowheaderRole$1.default=void 0;var rowheaderRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]};rowheaderRole$1.default=rowheaderRole;var scrollbarRole$1={};Object.defineProperty(scrollbarRole$1,"__esModule",{value:!0}),scrollbarRole$1.default=void 0;var scrollbarRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]};scrollbarRole$1.default=scrollbarRole;var searchRole$1={};Object.defineProperty(searchRole$1,"__esModule",{value:!0}),searchRole$1.default=void 0;var searchRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};searchRole$1.default=searchRole;var searchboxRole$1={};Object.defineProperty(searchboxRole$1,"__esModule",{value:!0}),searchboxRole$1.default=void 0;var searchboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]};searchboxRole$1.default=searchboxRole;var separatorRole$1={};Object.defineProperty(separatorRole$1,"__esModule",{value:!0}),separatorRole$1.default=void 0;var separatorRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]};separatorRole$1.default=separatorRole;var sliderRole$1={};Object.defineProperty(sliderRole$1,"__esModule",{value:!0}),sliderRole$1.default=void 0;var sliderRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]};sliderRole$1.default=sliderRole;var spinbuttonRole$1={};Object.defineProperty(spinbuttonRole$1,"__esModule",{value:!0}),spinbuttonRole$1.default=void 0;var spinbuttonRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]};spinbuttonRole$1.default=spinbuttonRole;var statusRole$1={};Object.defineProperty(statusRole$1,"__esModule",{value:!0}),statusRole$1.default=void 0;var statusRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};statusRole$1.default=statusRole;var strongRole$1={};Object.defineProperty(strongRole$1,"__esModule",{value:!0}),strongRole$1.default=void 0;var strongRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};strongRole$1.default=strongRole;var subscriptRole$1={};Object.defineProperty(subscriptRole$1,"__esModule",{value:!0}),subscriptRole$1.default=void 0;var subscriptRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};subscriptRole$1.default=subscriptRole;var superscriptRole$1={};Object.defineProperty(superscriptRole$1,"__esModule",{value:!0}),superscriptRole$1.default=void 0;var superscriptRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};superscriptRole$1.default=superscriptRole;var switchRole$1={};Object.defineProperty(switchRole$1,"__esModule",{value:!0}),switchRole$1.default=void 0;var switchRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]};switchRole$1.default=switchRole;var tabRole$1={};Object.defineProperty(tabRole$1,"__esModule",{value:!0}),tabRole$1.default=void 0;var tabRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]};tabRole$1.default=tabRole;var tableRole$1={};Object.defineProperty(tableRole$1,"__esModule",{value:!0}),tableRole$1.default=void 0;var tableRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]};tableRole$1.default=tableRole;var tablistRole$1={};Object.defineProperty(tablistRole$1,"__esModule",{value:!0}),tablistRole$1.default=void 0;var tablistRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]};tablistRole$1.default=tablistRole;var tabpanelRole$1={};Object.defineProperty(tabpanelRole$1,"__esModule",{value:!0}),tabpanelRole$1.default=void 0;var tabpanelRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};tabpanelRole$1.default=tabpanelRole;var termRole$1={};Object.defineProperty(termRole$1,"__esModule",{value:!0}),termRole$1.default=void 0;var termRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};termRole$1.default=termRole;var textboxRole$1={};Object.defineProperty(textboxRole$1,"__esModule",{value:!0}),textboxRole$1.default=void 0;var textboxRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]};textboxRole$1.default=textboxRole;var timeRole$1={};Object.defineProperty(timeRole$1,"__esModule",{value:!0}),timeRole$1.default=void 0;var timeRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};timeRole$1.default=timeRole;var timerRole$1={};Object.defineProperty(timerRole$1,"__esModule",{value:!0}),timerRole$1.default=void 0;var timerRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]};timerRole$1.default=timerRole;var toolbarRole$1={};Object.defineProperty(toolbarRole$1,"__esModule",{value:!0}),toolbarRole$1.default=void 0;var toolbarRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};toolbarRole$1.default=toolbarRole;var tooltipRole$1={};Object.defineProperty(tooltipRole$1,"__esModule",{value:!0}),tooltipRole$1.default=void 0;var tooltipRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};tooltipRole$1.default=tooltipRole;var treeRole$1={};Object.defineProperty(treeRole$1,"__esModule",{value:!0}),treeRole$1.default=void 0;var treeRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]};treeRole$1.default=treeRole;var treegridRole$1={};Object.defineProperty(treegridRole$1,"__esModule",{value:!0}),treegridRole$1.default=void 0;var treegridRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]};treegridRole$1.default=treegridRole;var treeitemRole$1={};Object.defineProperty(treeitemRole$1,"__esModule",{value:!0}),treeitemRole$1.default=void 0;var treeitemRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]};treeitemRole$1.default=treeitemRole,Object.defineProperty(ariaLiteralRoles$1,"__esModule",{value:!0}),ariaLiteralRoles$1.default=void 0;var _alertRole=_interopRequireDefault$c(alertRole$1),_alertdialogRole=_interopRequireDefault$c(alertdialogRole$1),_applicationRole=_interopRequireDefault$c(applicationRole$1),_articleRole=_interopRequireDefault$c(articleRole$1),_bannerRole=_interopRequireDefault$c(bannerRole$1),_blockquoteRole=_interopRequireDefault$c(blockquoteRole$1),_buttonRole=_interopRequireDefault$c(buttonRole$1),_captionRole=_interopRequireDefault$c(captionRole$1),_cellRole=_interopRequireDefault$c(cellRole$1),_checkboxRole=_interopRequireDefault$c(checkboxRole$1),_codeRole=_interopRequireDefault$c(codeRole$1),_columnheaderRole=_interopRequireDefault$c(columnheaderRole$1),_comboboxRole=_interopRequireDefault$c(comboboxRole$1),_complementaryRole=_interopRequireDefault$c(complementaryRole$1),_contentinfoRole=_interopRequireDefault$c(contentinfoRole$1),_definitionRole=_interopRequireDefault$c(definitionRole$1),_deletionRole=_interopRequireDefault$c(deletionRole$1),_dialogRole=_interopRequireDefault$c(dialogRole$1),_directoryRole=_interopRequireDefault$c(directoryRole$1),_documentRole=_interopRequireDefault$c(documentRole$1),_emphasisRole=_interopRequireDefault$c(emphasisRole$1),_feedRole=_interopRequireDefault$c(feedRole$1),_figureRole=_interopRequireDefault$c(figureRole$1),_formRole=_interopRequireDefault$c(formRole$1),_genericRole=_interopRequireDefault$c(genericRole$1),_gridRole=_interopRequireDefault$c(gridRole$1),_gridcellRole=_interopRequireDefault$c(gridcellRole$1),_groupRole=_interopRequireDefault$c(groupRole$1),_headingRole=_interopRequireDefault$c(headingRole$1),_imgRole=_interopRequireDefault$c(imgRole$1),_insertionRole=_interopRequireDefault$c(insertionRole$1),_linkRole=_interopRequireDefault$c(linkRole$1),_listRole=_interopRequireDefault$c(listRole$1),_listboxRole=_interopRequireDefault$c(listboxRole$1),_listitemRole=_interopRequireDefault$c(listitemRole$1),_logRole=_interopRequireDefault$c(logRole$1),_mainRole=_interopRequireDefault$c(mainRole$1),_markRole=_interopRequireDefault$c(markRole$1),_marqueeRole=_interopRequireDefault$c(marqueeRole$1),_mathRole=_interopRequireDefault$c(mathRole$1),_menuRole=_interopRequireDefault$c(menuRole$1),_menubarRole=_interopRequireDefault$c(menubarRole$1),_menuitemRole=_interopRequireDefault$c(menuitemRole$1),_menuitemcheckboxRole=_interopRequireDefault$c(menuitemcheckboxRole$1),_menuitemradioRole=_interopRequireDefault$c(menuitemradioRole$1),_meterRole=_interopRequireDefault$c(meterRole$1),_navigationRole=_interopRequireDefault$c(navigationRole$1),_noneRole=_interopRequireDefault$c(noneRole$1),_noteRole=_interopRequireDefault$c(noteRole$1),_optionRole=_interopRequireDefault$c(optionRole$1),_paragraphRole=_interopRequireDefault$c(paragraphRole$1),_presentationRole=_interopRequireDefault$c(presentationRole$1),_progressbarRole=_interopRequireDefault$c(progressbarRole$1),_radioRole=_interopRequireDefault$c(radioRole$1),_radiogroupRole=_interopRequireDefault$c(radiogroupRole$1),_regionRole=_interopRequireDefault$c(regionRole$1),_rowRole=_interopRequireDefault$c(rowRole$1),_rowgroupRole=_interopRequireDefault$c(rowgroupRole$1),_rowheaderRole=_interopRequireDefault$c(rowheaderRole$1),_scrollbarRole=_interopRequireDefault$c(scrollbarRole$1),_searchRole=_interopRequireDefault$c(searchRole$1),_searchboxRole=_interopRequireDefault$c(searchboxRole$1),_separatorRole=_interopRequireDefault$c(separatorRole$1),_sliderRole=_interopRequireDefault$c(sliderRole$1),_spinbuttonRole=_interopRequireDefault$c(spinbuttonRole$1),_statusRole=_interopRequireDefault$c(statusRole$1),_strongRole=_interopRequireDefault$c(strongRole$1),_subscriptRole=_interopRequireDefault$c(subscriptRole$1),_superscriptRole=_interopRequireDefault$c(superscriptRole$1),_switchRole=_interopRequireDefault$c(switchRole$1),_tabRole=_interopRequireDefault$c(tabRole$1),_tableRole=_interopRequireDefault$c(tableRole$1),_tablistRole=_interopRequireDefault$c(tablistRole$1),_tabpanelRole=_interopRequireDefault$c(tabpanelRole$1),_termRole=_interopRequireDefault$c(termRole$1),_textboxRole=_interopRequireDefault$c(textboxRole$1),_timeRole=_interopRequireDefault$c(timeRole$1),_timerRole=_interopRequireDefault$c(timerRole$1),_toolbarRole=_interopRequireDefault$c(toolbarRole$1),_tooltipRole=_interopRequireDefault$c(tooltipRole$1),_treeRole=_interopRequireDefault$c(treeRole$1),_treegridRole=_interopRequireDefault$c(treegridRole$1),_treeitemRole=_interopRequireDefault$c(treeitemRole$1);function _interopRequireDefault$c(eA){return eA&&eA.__esModule?eA:{default:eA}}var ariaLiteralRoles=[["alert",_alertRole.default],["alertdialog",_alertdialogRole.default],["application",_applicationRole.default],["article",_articleRole.default],["banner",_bannerRole.default],["blockquote",_blockquoteRole.default],["button",_buttonRole.default],["caption",_captionRole.default],["cell",_cellRole.default],["checkbox",_checkboxRole.default],["code",_codeRole.default],["columnheader",_columnheaderRole.default],["combobox",_comboboxRole.default],["complementary",_complementaryRole.default],["contentinfo",_contentinfoRole.default],["definition",_definitionRole.default],["deletion",_deletionRole.default],["dialog",_dialogRole.default],["directory",_directoryRole.default],["document",_documentRole.default],["emphasis",_emphasisRole.default],["feed",_feedRole.default],["figure",_figureRole.default],["form",_formRole.default],["generic",_genericRole.default],["grid",_gridRole.default],["gridcell",_gridcellRole.default],["group",_groupRole.default],["heading",_headingRole.default],["img",_imgRole.default],["insertion",_insertionRole.default],["link",_linkRole.default],["list",_listRole.default],["listbox",_listboxRole.default],["listitem",_listitemRole.default],["log",_logRole.default],["main",_mainRole.default],["mark",_markRole.default],["marquee",_marqueeRole.default],["math",_mathRole.default],["menu",_menuRole.default],["menubar",_menubarRole.default],["menuitem",_menuitemRole.default],["menuitemcheckbox",_menuitemcheckboxRole.default],["menuitemradio",_menuitemradioRole.default],["meter",_meterRole.default],["navigation",_navigationRole.default],["none",_noneRole.default],["note",_noteRole.default],["option",_optionRole.default],["paragraph",_paragraphRole.default],["presentation",_presentationRole.default],["progressbar",_progressbarRole.default],["radio",_radioRole.default],["radiogroup",_radiogroupRole.default],["region",_regionRole.default],["row",_rowRole.default],["rowgroup",_rowgroupRole.default],["rowheader",_rowheaderRole.default],["scrollbar",_scrollbarRole.default],["search",_searchRole.default],["searchbox",_searchboxRole.default],["separator",_separatorRole.default],["slider",_sliderRole.default],["spinbutton",_spinbuttonRole.default],["status",_statusRole.default],["strong",_strongRole.default],["subscript",_subscriptRole.default],["superscript",_superscriptRole.default],["switch",_switchRole.default],["tab",_tabRole.default],["table",_tableRole.default],["tablist",_tablistRole.default],["tabpanel",_tabpanelRole.default],["term",_termRole.default],["textbox",_textboxRole.default],["time",_timeRole.default],["timer",_timerRole.default],["toolbar",_toolbarRole.default],["tooltip",_tooltipRole.default],["tree",_treeRole.default],["treegrid",_treegridRole.default],["treeitem",_treeitemRole.default]];ariaLiteralRoles$1.default=ariaLiteralRoles;var ariaDpubRoles$1={},docAbstractRole$1={};Object.defineProperty(docAbstractRole$1,"__esModule",{value:!0}),docAbstractRole$1.default=void 0;var docAbstractRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};docAbstractRole$1.default=docAbstractRole;var docAcknowledgmentsRole$1={};Object.defineProperty(docAcknowledgmentsRole$1,"__esModule",{value:!0}),docAcknowledgmentsRole$1.default=void 0;var docAcknowledgmentsRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};docAcknowledgmentsRole$1.default=docAcknowledgmentsRole;var docAfterwordRole$1={};Object.defineProperty(docAfterwordRole$1,"__esModule",{value:!0}),docAfterwordRole$1.default=void 0;var docAfterwordRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};docAfterwordRole$1.default=docAfterwordRole;var docAppendixRole$1={};Object.defineProperty(docAppendixRole$1,"__esModule",{value:!0}),docAppendixRole$1.default=void 0;var docAppendixRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};docAppendixRole$1.default=docAppendixRole;var docBacklinkRole$1={};Object.defineProperty(docBacklinkRole$1,"__esModule",{value:!0}),docBacklinkRole$1.default=void 0;var docBacklinkRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};docBacklinkRole$1.default=docBacklinkRole;var docBiblioentryRole$1={};Object.defineProperty(docBiblioentryRole$1,"__esModule",{value:!0}),docBiblioentryRole$1.default=void 0;var docBiblioentryRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};docBiblioentryRole$1.default=docBiblioentryRole;var docBibliographyRole$1={};Object.defineProperty(docBibliographyRole$1,"__esModule",{value:!0}),docBibliographyRole$1.default=void 0;var docBibliographyRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};docBibliographyRole$1.default=docBibliographyRole;var docBibliorefRole$1={};Object.defineProperty(docBibliorefRole$1,"__esModule",{value:!0}),docBibliorefRole$1.default=void 0;var docBibliorefRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};docBibliorefRole$1.default=docBibliorefRole;var docChapterRole$1={};Object.defineProperty(docChapterRole$1,"__esModule",{value:!0}),docChapterRole$1.default=void 0;var docChapterRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};docChapterRole$1.default=docChapterRole;var docColophonRole$1={};Object.defineProperty(docColophonRole$1,"__esModule",{value:!0}),docColophonRole$1.default=void 0;var docColophonRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};docColophonRole$1.default=docColophonRole;var docConclusionRole$1={};Object.defineProperty(docConclusionRole$1,"__esModule",{value:!0}),docConclusionRole$1.default=void 0;var docConclusionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};docConclusionRole$1.default=docConclusionRole;var docCoverRole$1={};Object.defineProperty(docCoverRole$1,"__esModule",{value:!0}),docCoverRole$1.default=void 0;var docCoverRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};docCoverRole$1.default=docCoverRole;var docCreditRole$1={};Object.defineProperty(docCreditRole$1,"__esModule",{value:!0}),docCreditRole$1.default=void 0;var docCreditRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};docCreditRole$1.default=docCreditRole;var docCreditsRole$1={};Object.defineProperty(docCreditsRole$1,"__esModule",{value:!0}),docCreditsRole$1.default=void 0;var docCreditsRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};docCreditsRole$1.default=docCreditsRole;var docDedicationRole$1={};Object.defineProperty(docDedicationRole$1,"__esModule",{value:!0}),docDedicationRole$1.default=void 0;var docDedicationRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};docDedicationRole$1.default=docDedicationRole;var docEndnoteRole$1={};Object.defineProperty(docEndnoteRole$1,"__esModule",{value:!0}),docEndnoteRole$1.default=void 0;var docEndnoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]};docEndnoteRole$1.default=docEndnoteRole;var docEndnotesRole$1={};Object.defineProperty(docEndnotesRole$1,"__esModule",{value:!0}),docEndnotesRole$1.default=void 0;var docEndnotesRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};docEndnotesRole$1.default=docEndnotesRole;var docEpigraphRole$1={};Object.defineProperty(docEpigraphRole$1,"__esModule",{value:!0}),docEpigraphRole$1.default=void 0;var docEpigraphRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};docEpigraphRole$1.default=docEpigraphRole;var docEpilogueRole$1={};Object.defineProperty(docEpilogueRole$1,"__esModule",{value:!0}),docEpilogueRole$1.default=void 0;var docEpilogueRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};docEpilogueRole$1.default=docEpilogueRole;var docErrataRole$1={};Object.defineProperty(docErrataRole$1,"__esModule",{value:!0}),docErrataRole$1.default=void 0;var docErrataRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};docErrataRole$1.default=docErrataRole;var docExampleRole$1={};Object.defineProperty(docExampleRole$1,"__esModule",{value:!0}),docExampleRole$1.default=void 0;var docExampleRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};docExampleRole$1.default=docExampleRole;var docFootnoteRole$1={};Object.defineProperty(docFootnoteRole$1,"__esModule",{value:!0}),docFootnoteRole$1.default=void 0;var docFootnoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};docFootnoteRole$1.default=docFootnoteRole;var docForewordRole$1={};Object.defineProperty(docForewordRole$1,"__esModule",{value:!0}),docForewordRole$1.default=void 0;var docForewordRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};docForewordRole$1.default=docForewordRole;var docGlossaryRole$1={};Object.defineProperty(docGlossaryRole$1,"__esModule",{value:!0}),docGlossaryRole$1.default=void 0;var docGlossaryRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};docGlossaryRole$1.default=docGlossaryRole;var docGlossrefRole$1={};Object.defineProperty(docGlossrefRole$1,"__esModule",{value:!0}),docGlossrefRole$1.default=void 0;var docGlossrefRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};docGlossrefRole$1.default=docGlossrefRole;var docIndexRole$1={};Object.defineProperty(docIndexRole$1,"__esModule",{value:!0}),docIndexRole$1.default=void 0;var docIndexRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};docIndexRole$1.default=docIndexRole;var docIntroductionRole$1={};Object.defineProperty(docIntroductionRole$1,"__esModule",{value:!0}),docIntroductionRole$1.default=void 0;var docIntroductionRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};docIntroductionRole$1.default=docIntroductionRole;var docNoterefRole$1={};Object.defineProperty(docNoterefRole$1,"__esModule",{value:!0}),docNoterefRole$1.default=void 0;var docNoterefRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]};docNoterefRole$1.default=docNoterefRole;var docNoticeRole$1={};Object.defineProperty(docNoticeRole$1,"__esModule",{value:!0}),docNoticeRole$1.default=void 0;var docNoticeRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};docNoticeRole$1.default=docNoticeRole;var docPagebreakRole$1={};Object.defineProperty(docPagebreakRole$1,"__esModule",{value:!0}),docPagebreakRole$1.default=void 0;var docPagebreakRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]};docPagebreakRole$1.default=docPagebreakRole;var docPagefooterRole$1={};Object.defineProperty(docPagefooterRole$1,"__esModule",{value:!0}),docPagefooterRole$1.default=void 0;var docPagefooterRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};docPagefooterRole$1.default=docPagefooterRole;var docPageheaderRole$1={};Object.defineProperty(docPageheaderRole$1,"__esModule",{value:!0}),docPageheaderRole$1.default=void 0;var docPageheaderRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};docPageheaderRole$1.default=docPageheaderRole;var docPagelistRole$1={};Object.defineProperty(docPagelistRole$1,"__esModule",{value:!0}),docPagelistRole$1.default=void 0;var docPagelistRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};docPagelistRole$1.default=docPagelistRole;var docPartRole$1={};Object.defineProperty(docPartRole$1,"__esModule",{value:!0}),docPartRole$1.default=void 0;var docPartRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};docPartRole$1.default=docPartRole;var docPrefaceRole$1={};Object.defineProperty(docPrefaceRole$1,"__esModule",{value:!0}),docPrefaceRole$1.default=void 0;var docPrefaceRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};docPrefaceRole$1.default=docPrefaceRole;var docPrologueRole$1={};Object.defineProperty(docPrologueRole$1,"__esModule",{value:!0}),docPrologueRole$1.default=void 0;var docPrologueRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]};docPrologueRole$1.default=docPrologueRole;var docPullquoteRole$1={};Object.defineProperty(docPullquoteRole$1,"__esModule",{value:!0}),docPullquoteRole$1.default=void 0;var docPullquoteRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]};docPullquoteRole$1.default=docPullquoteRole;var docQnaRole$1={};Object.defineProperty(docQnaRole$1,"__esModule",{value:!0}),docQnaRole$1.default=void 0;var docQnaRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};docQnaRole$1.default=docQnaRole;var docSubtitleRole$1={};Object.defineProperty(docSubtitleRole$1,"__esModule",{value:!0}),docSubtitleRole$1.default=void 0;var docSubtitleRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]};docSubtitleRole$1.default=docSubtitleRole;var docTipRole$1={};Object.defineProperty(docTipRole$1,"__esModule",{value:!0}),docTipRole$1.default=void 0;var docTipRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]};docTipRole$1.default=docTipRole;var docTocRole$1={};Object.defineProperty(docTocRole$1,"__esModule",{value:!0}),docTocRole$1.default=void 0;var docTocRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]};docTocRole$1.default=docTocRole,Object.defineProperty(ariaDpubRoles$1,"__esModule",{value:!0}),ariaDpubRoles$1.default=void 0;var _docAbstractRole=_interopRequireDefault$b(docAbstractRole$1),_docAcknowledgmentsRole=_interopRequireDefault$b(docAcknowledgmentsRole$1),_docAfterwordRole=_interopRequireDefault$b(docAfterwordRole$1),_docAppendixRole=_interopRequireDefault$b(docAppendixRole$1),_docBacklinkRole=_interopRequireDefault$b(docBacklinkRole$1),_docBiblioentryRole=_interopRequireDefault$b(docBiblioentryRole$1),_docBibliographyRole=_interopRequireDefault$b(docBibliographyRole$1),_docBibliorefRole=_interopRequireDefault$b(docBibliorefRole$1),_docChapterRole=_interopRequireDefault$b(docChapterRole$1),_docColophonRole=_interopRequireDefault$b(docColophonRole$1),_docConclusionRole=_interopRequireDefault$b(docConclusionRole$1),_docCoverRole=_interopRequireDefault$b(docCoverRole$1),_docCreditRole=_interopRequireDefault$b(docCreditRole$1),_docCreditsRole=_interopRequireDefault$b(docCreditsRole$1),_docDedicationRole=_interopRequireDefault$b(docDedicationRole$1),_docEndnoteRole=_interopRequireDefault$b(docEndnoteRole$1),_docEndnotesRole=_interopRequireDefault$b(docEndnotesRole$1),_docEpigraphRole=_interopRequireDefault$b(docEpigraphRole$1),_docEpilogueRole=_interopRequireDefault$b(docEpilogueRole$1),_docErrataRole=_interopRequireDefault$b(docErrataRole$1),_docExampleRole=_interopRequireDefault$b(docExampleRole$1),_docFootnoteRole=_interopRequireDefault$b(docFootnoteRole$1),_docForewordRole=_interopRequireDefault$b(docForewordRole$1),_docGlossaryRole=_interopRequireDefault$b(docGlossaryRole$1),_docGlossrefRole=_interopRequireDefault$b(docGlossrefRole$1),_docIndexRole=_interopRequireDefault$b(docIndexRole$1),_docIntroductionRole=_interopRequireDefault$b(docIntroductionRole$1),_docNoterefRole=_interopRequireDefault$b(docNoterefRole$1),_docNoticeRole=_interopRequireDefault$b(docNoticeRole$1),_docPagebreakRole=_interopRequireDefault$b(docPagebreakRole$1),_docPagefooterRole=_interopRequireDefault$b(docPagefooterRole$1),_docPageheaderRole=_interopRequireDefault$b(docPageheaderRole$1),_docPagelistRole=_interopRequireDefault$b(docPagelistRole$1),_docPartRole=_interopRequireDefault$b(docPartRole$1),_docPrefaceRole=_interopRequireDefault$b(docPrefaceRole$1),_docPrologueRole=_interopRequireDefault$b(docPrologueRole$1),_docPullquoteRole=_interopRequireDefault$b(docPullquoteRole$1),_docQnaRole=_interopRequireDefault$b(docQnaRole$1),_docSubtitleRole=_interopRequireDefault$b(docSubtitleRole$1),_docTipRole=_interopRequireDefault$b(docTipRole$1),_docTocRole=_interopRequireDefault$b(docTocRole$1);function _interopRequireDefault$b(eA){return eA&&eA.__esModule?eA:{default:eA}}var ariaDpubRoles=[["doc-abstract",_docAbstractRole.default],["doc-acknowledgments",_docAcknowledgmentsRole.default],["doc-afterword",_docAfterwordRole.default],["doc-appendix",_docAppendixRole.default],["doc-backlink",_docBacklinkRole.default],["doc-biblioentry",_docBiblioentryRole.default],["doc-bibliography",_docBibliographyRole.default],["doc-biblioref",_docBibliorefRole.default],["doc-chapter",_docChapterRole.default],["doc-colophon",_docColophonRole.default],["doc-conclusion",_docConclusionRole.default],["doc-cover",_docCoverRole.default],["doc-credit",_docCreditRole.default],["doc-credits",_docCreditsRole.default],["doc-dedication",_docDedicationRole.default],["doc-endnote",_docEndnoteRole.default],["doc-endnotes",_docEndnotesRole.default],["doc-epigraph",_docEpigraphRole.default],["doc-epilogue",_docEpilogueRole.default],["doc-errata",_docErrataRole.default],["doc-example",_docExampleRole.default],["doc-footnote",_docFootnoteRole.default],["doc-foreword",_docForewordRole.default],["doc-glossary",_docGlossaryRole.default],["doc-glossref",_docGlossrefRole.default],["doc-index",_docIndexRole.default],["doc-introduction",_docIntroductionRole.default],["doc-noteref",_docNoterefRole.default],["doc-notice",_docNoticeRole.default],["doc-pagebreak",_docPagebreakRole.default],["doc-pagefooter",_docPagefooterRole.default],["doc-pageheader",_docPageheaderRole.default],["doc-pagelist",_docPagelistRole.default],["doc-part",_docPartRole.default],["doc-preface",_docPrefaceRole.default],["doc-prologue",_docPrologueRole.default],["doc-pullquote",_docPullquoteRole.default],["doc-qna",_docQnaRole.default],["doc-subtitle",_docSubtitleRole.default],["doc-tip",_docTipRole.default],["doc-toc",_docTocRole.default]];ariaDpubRoles$1.default=ariaDpubRoles;var ariaGraphicsRoles$1={},graphicsDocumentRole$1={};Object.defineProperty(graphicsDocumentRole$1,"__esModule",{value:!0}),graphicsDocumentRole$1.default=void 0;var graphicsDocumentRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]};graphicsDocumentRole$1.default=graphicsDocumentRole;var graphicsObjectRole$1={};Object.defineProperty(graphicsObjectRole$1,"__esModule",{value:!0}),graphicsObjectRole$1.default=void 0;var graphicsObjectRole={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]};graphicsObjectRole$1.default=graphicsObjectRole;var graphicsSymbolRole$1={};Object.defineProperty(graphicsSymbolRole$1,"__esModule",{value:!0}),graphicsSymbolRole$1.default=void 0;var graphicsSymbolRole={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]};graphicsSymbolRole$1.default=graphicsSymbolRole,Object.defineProperty(ariaGraphicsRoles$1,"__esModule",{value:!0}),ariaGraphicsRoles$1.default=void 0;var _graphicsDocumentRole=_interopRequireDefault$a(graphicsDocumentRole$1),_graphicsObjectRole=_interopRequireDefault$a(graphicsObjectRole$1),_graphicsSymbolRole=_interopRequireDefault$a(graphicsSymbolRole$1);function _interopRequireDefault$a(eA){return eA&&eA.__esModule?eA:{default:eA}}var ariaGraphicsRoles=[["graphics-document",_graphicsDocumentRole.default],["graphics-object",_graphicsObjectRole.default],["graphics-symbol",_graphicsSymbolRole.default]];ariaGraphicsRoles$1.default=ariaGraphicsRoles,Object.defineProperty(rolesMap$1,"__esModule",{value:!0}),rolesMap$1.default=void 0;var _ariaAbstractRoles=_interopRequireDefault$9(ariaAbstractRoles$1),_ariaLiteralRoles=_interopRequireDefault$9(ariaLiteralRoles$1),_ariaDpubRoles=_interopRequireDefault$9(ariaDpubRoles$1),_ariaGraphicsRoles=_interopRequireDefault$9(ariaGraphicsRoles$1),_iterationDecorator$6=_interopRequireDefault$9(iterationDecorator$3);function _interopRequireDefault$9(eA){return eA&&eA.__esModule?eA:{default:eA}}function _createForOfIteratorHelper$3(eA,AA){var tA=typeof Symbol<"u"&&eA[Symbol.iterator]||eA["@@iterator"];if(!tA){if(Array.isArray(eA)||(tA=_unsupportedIterableToArray$6(eA))||AA){tA&&(eA=tA);var gA=0,iA=function(){};return{s:iA,n:function(){return gA>=eA.length?{done:!0}:{done:!1,value:eA[gA++]}},e:function(oA){throw oA},f:iA}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
33
33
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var IA,BA=!0,sA=!1;return{s:function(){tA=tA.call(eA)},n:function(){var oA=tA.next();return BA=oA.done,oA},e:function(oA){sA=!0,IA=oA},f:function(){try{BA||tA.return==null||tA.return()}finally{if(sA)throw IA}}}}function _slicedToArray$6(eA,AA){return _arrayWithHoles$6(eA)||_iterableToArrayLimit$6(eA,AA)||_unsupportedIterableToArray$6(eA,AA)||_nonIterableRest$6()}function _nonIterableRest$6(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
@@ -53,7 +53,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
53
53
  `);if(tA.length>1){for(let gA=0;gA<tA.length-1;gA++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=tA[tA.length-1].length}}const n$1=`
54
54
  `,warned$1={insertLeft:!1,insertRight:!1,storeName:!1};class MagicString{constructor(AA,tA={}){const gA=new Chunk(0,AA.length,AA);Object.defineProperties(this,{original:{writable:!0,value:AA},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:gA},lastChunk:{writable:!0,value:gA},lastSearchedChunk:{writable:!0,value:gA},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:tA.filename},indentExclusionRanges:{writable:!0,value:tA.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new BitSet},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:void 0},ignoreList:{writable:!0,value:tA.ignoreList}}),this.byStart[0]=gA,this.byEnd[AA.length]=gA}addSourcemapLocation(AA){this.sourcemapLocations.add(AA)}append(AA){if(typeof AA!="string")throw new TypeError("outro content must be a string");return this.outro+=AA,this}appendLeft(AA,tA){if(typeof tA!="string")throw new TypeError("inserted content must be a string");this._split(AA);const gA=this.byEnd[AA];return gA?gA.appendLeft(tA):this.intro+=tA,this}appendRight(AA,tA){if(typeof tA!="string")throw new TypeError("inserted content must be a string");this._split(AA);const gA=this.byStart[AA];return gA?gA.appendRight(tA):this.outro+=tA,this}clone(){const AA=new MagicString(this.original,{filename:this.filename});let tA=this.firstChunk,gA=AA.firstChunk=AA.lastSearchedChunk=tA.clone();for(;tA;){AA.byStart[gA.start]=gA,AA.byEnd[gA.end]=gA;const iA=tA.next,IA=iA&&iA.clone();IA&&(gA.next=IA,IA.previous=gA,gA=IA),tA=iA}return AA.lastChunk=gA,this.indentExclusionRanges&&(AA.indentExclusionRanges=this.indentExclusionRanges.slice()),AA.sourcemapLocations=new BitSet(this.sourcemapLocations),AA.intro=this.intro,AA.outro=this.outro,AA}generateDecodedMap(AA){AA=AA||{};const tA=0,gA=Object.keys(this.storedNames),iA=new Mappings(AA.hires),IA=getLocator(this.original);return this.intro&&iA.advance(this.intro),this.firstChunk.eachNext(BA=>{const sA=IA(BA.start);BA.intro.length&&iA.advance(BA.intro),BA.edited?iA.addEdit(tA,BA.content,sA,BA.storeName?gA.indexOf(BA.original):-1):iA.addUneditedChunk(tA,BA,this.original,sA,this.sourcemapLocations),BA.outro.length&&iA.advance(BA.outro)}),{file:AA.file?AA.file.split(/[/\\]/).pop():void 0,sources:[AA.source?getRelativePath(AA.file||"",AA.source):AA.file||""],sourcesContent:AA.includeContent?[this.original]:void 0,names:gA,mappings:iA.raw,x_google_ignoreList:this.ignoreList?[tA]:void 0}}generateMap(AA){return new SourceMap(this.generateDecodedMap(AA))}_ensureindentStr(){this.indentStr===void 0&&(this.indentStr=guessIndent(this.original))}_getRawIndentString(){return this._ensureindentStr(),this.indentStr}getIndentString(){return this._ensureindentStr(),this.indentStr===null?" ":this.indentStr}indent(AA,tA){const gA=/^[^\r\n]/gm;if(isObject(AA)&&(tA=AA,AA=void 0),AA===void 0&&(this._ensureindentStr(),AA=this.indentStr||" "),AA==="")return this;tA=tA||{};const iA={};tA.exclude&&(typeof tA.exclude[0]=="number"?[tA.exclude]:tA.exclude).forEach(QA=>{for(let EA=QA[0];EA<QA[1];EA+=1)iA[EA]=!0});let IA=tA.indentStart!==!1;const BA=oA=>IA?`${AA}${oA}`:(IA=!0,oA);this.intro=this.intro.replace(gA,BA);let sA=0,CA=this.firstChunk;for(;CA;){const oA=CA.end;if(CA.edited)iA[sA]||(CA.content=CA.content.replace(gA,BA),CA.content.length&&(IA=CA.content[CA.content.length-1]===`
55
55
  `));else for(sA=CA.start;sA<oA;){if(!iA[sA]){const QA=this.original[sA];QA===`
56
- `?IA=!0:QA!=="\r"&&IA&&(IA=!1,sA===CA.start||(this._splitChunk(CA,sA),CA=CA.next),CA.prependRight(AA))}sA+=1}sA=CA.end,CA=CA.next}return this.outro=this.outro.replace(gA,BA),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(AA,tA){return warned$1.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),warned$1.insertLeft=!0),this.appendLeft(AA,tA)}insertRight(AA,tA){return warned$1.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),warned$1.insertRight=!0),this.prependRight(AA,tA)}move(AA,tA,gA){if(gA>=AA&&gA<=tA)throw new Error("Cannot move a selection inside itself");this._split(AA),this._split(tA),this._split(gA);const iA=this.byStart[AA],IA=this.byEnd[tA],BA=iA.previous,sA=IA.next,CA=this.byStart[gA];if(!CA&&IA===this.lastChunk)return this;const oA=CA?CA.previous:this.lastChunk;return BA&&(BA.next=sA),sA&&(sA.previous=BA),oA&&(oA.next=iA),CA&&(CA.previous=IA),iA.previous||(this.firstChunk=IA.next),IA.next||(this.lastChunk=iA.previous,this.lastChunk.next=null),iA.previous=oA,IA.next=CA||null,oA||(this.firstChunk=iA),CA||(this.lastChunk=IA),this}overwrite(AA,tA,gA,iA){return iA=iA||{},this.update(AA,tA,gA,{...iA,overwrite:!iA.contentOnly})}update(AA,tA,gA,iA){if(typeof gA!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;AA<0;)AA+=this.original.length;for(;tA<0;)tA+=this.original.length}if(tA>this.original.length)throw new Error("end is out of bounds");if(AA===tA)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(AA),this._split(tA),iA===!0&&(warned$1.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),warned$1.storeName=!0),iA={storeName:!0});const IA=iA!==void 0?iA.storeName:!1,BA=iA!==void 0?iA.overwrite:!1;if(IA){const oA=this.original.slice(AA,tA);Object.defineProperty(this.storedNames,oA,{writable:!0,value:!0,enumerable:!0})}const sA=this.byStart[AA],CA=this.byEnd[tA];if(sA){let oA=sA;for(;oA!==CA;){if(oA.next!==this.byStart[oA.end])throw new Error("Cannot overwrite across a split point");oA=oA.next,oA.edit("",!1)}sA.edit(gA,IA,!BA)}else{const oA=new Chunk(AA,tA,"").edit(gA,IA);CA.next=oA,oA.previous=CA}return this}prepend(AA){if(typeof AA!="string")throw new TypeError("outro content must be a string");return this.intro=AA+this.intro,this}prependLeft(AA,tA){if(typeof tA!="string")throw new TypeError("inserted content must be a string");this._split(AA);const gA=this.byEnd[AA];return gA?gA.prependLeft(tA):this.intro=tA+this.intro,this}prependRight(AA,tA){if(typeof tA!="string")throw new TypeError("inserted content must be a string");this._split(AA);const gA=this.byStart[AA];return gA?gA.prependRight(tA):this.outro=tA+this.outro,this}remove(AA,tA){if(this.original.length!==0){for(;AA<0;)AA+=this.original.length;for(;tA<0;)tA+=this.original.length}if(AA===tA)return this;if(AA<0||tA>this.original.length)throw new Error("Character is out of bounds");if(AA>tA)throw new Error("end must be greater than start");this._split(AA),this._split(tA);let gA=this.byStart[AA];for(;gA;)gA.intro="",gA.outro="",gA.edit(""),gA=tA>gA.end?this.byStart[gA.end]:null;return this}reset(AA,tA){if(this.original.length!==0){for(;AA<0;)AA+=this.original.length;for(;tA<0;)tA+=this.original.length}if(AA===tA)return this;if(AA<0||tA>this.original.length)throw new Error("Character is out of bounds");if(AA>tA)throw new Error("end must be greater than start");this._split(AA),this._split(tA);let gA=this.byStart[AA];for(;gA;)gA.reset(),gA=tA>gA.end?this.byStart[gA.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let AA=this.lastChunk;do{if(AA.outro.length)return AA.outro[AA.outro.length-1];if(AA.content.length)return AA.content[AA.content.length-1];if(AA.intro.length)return AA.intro[AA.intro.length-1]}while(AA=AA.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let AA=this.outro.lastIndexOf(n$1);if(AA!==-1)return this.outro.substr(AA+1);let tA=this.outro,gA=this.lastChunk;do{if(gA.outro.length>0){if(AA=gA.outro.lastIndexOf(n$1),AA!==-1)return gA.outro.substr(AA+1)+tA;tA=gA.outro+tA}if(gA.content.length>0){if(AA=gA.content.lastIndexOf(n$1),AA!==-1)return gA.content.substr(AA+1)+tA;tA=gA.content+tA}if(gA.intro.length>0){if(AA=gA.intro.lastIndexOf(n$1),AA!==-1)return gA.intro.substr(AA+1)+tA;tA=gA.intro+tA}}while(gA=gA.previous);return AA=this.intro.lastIndexOf(n$1),AA!==-1?this.intro.substr(AA+1)+tA:this.intro+tA}slice(AA=0,tA=this.original.length){if(this.original.length!==0){for(;AA<0;)AA+=this.original.length;for(;tA<0;)tA+=this.original.length}let gA="",iA=this.firstChunk;for(;iA&&(iA.start>AA||iA.end<=AA);){if(iA.start<tA&&iA.end>=tA)return gA;iA=iA.next}if(iA&&iA.edited&&iA.start!==AA)throw new Error(`Cannot use replaced character ${AA} as slice start anchor.`);const IA=iA;for(;iA;){iA.intro&&(IA!==iA||iA.start===AA)&&(gA+=iA.intro);const BA=iA.start<tA&&iA.end>=tA;if(BA&&iA.edited&&iA.end!==tA)throw new Error(`Cannot use replaced character ${tA} as slice end anchor.`);const sA=IA===iA?AA-iA.start:0,CA=BA?iA.content.length+tA-iA.end:iA.content.length;if(gA+=iA.content.slice(sA,CA),iA.outro&&(!BA||iA.end===tA)&&(gA+=iA.outro),BA)break;iA=iA.next}return gA}snip(AA,tA){const gA=this.clone();return gA.remove(0,AA),gA.remove(tA,gA.original.length),gA}_split(AA){if(this.byStart[AA]||this.byEnd[AA])return;let tA=this.lastSearchedChunk;const gA=AA>tA.end;for(;tA;){if(tA.contains(AA))return this._splitChunk(tA,AA);tA=gA?this.byStart[tA.end]:this.byEnd[tA.start]}}_splitChunk(AA,tA){if(AA.edited&&AA.content.length){const iA=getLocator(this.original)(tA);throw new Error(`Cannot split a chunk that has already been edited (${iA.line}:${iA.column} – "${AA.original}")`)}const gA=AA.split(tA);return this.byEnd[tA]=AA,this.byStart[tA]=gA,this.byEnd[gA.end]=gA,AA===this.lastChunk&&(this.lastChunk=gA),this.lastSearchedChunk=AA,!0}toString(){let AA=this.intro,tA=this.firstChunk;for(;tA;)AA+=tA.toString(),tA=tA.next;return AA+this.outro}isEmpty(){let AA=this.firstChunk;do if(AA.intro.length&&AA.intro.trim()||AA.content.length&&AA.content.trim()||AA.outro.length&&AA.outro.trim())return!1;while(AA=AA.next);return!0}length(){let AA=this.firstChunk,tA=0;do tA+=AA.intro.length+AA.content.length+AA.outro.length;while(AA=AA.next);return tA}trimLines(){return this.trim("[\\r\\n]")}trim(AA){return this.trimStart(AA).trimEnd(AA)}trimEndAborted(AA){const tA=new RegExp((AA||"\\s")+"+$");if(this.outro=this.outro.replace(tA,""),this.outro.length)return!0;let gA=this.lastChunk;do{const iA=gA.end,IA=gA.trimEnd(tA);if(gA.end!==iA&&(this.lastChunk===gA&&(this.lastChunk=gA.next),this.byEnd[gA.end]=gA,this.byStart[gA.next.start]=gA.next,this.byEnd[gA.next.end]=gA.next),IA)return!0;gA=gA.previous}while(gA);return!1}trimEnd(AA){return this.trimEndAborted(AA),this}trimStartAborted(AA){const tA=new RegExp("^"+(AA||"\\s")+"+");if(this.intro=this.intro.replace(tA,""),this.intro.length)return!0;let gA=this.firstChunk;do{const iA=gA.end,IA=gA.trimStart(tA);if(gA.end!==iA&&(gA===this.lastChunk&&(this.lastChunk=gA.next),this.byEnd[gA.end]=gA,this.byStart[gA.next.start]=gA.next,this.byEnd[gA.next.end]=gA.next),IA)return!0;gA=gA.next}while(gA);return!1}trimStart(AA){return this.trimStartAborted(AA),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(AA,tA){function gA(IA,BA){return typeof tA=="string"?tA.replace(/\$(\$|&|\d+)/g,(sA,CA)=>CA==="$"?"$":CA==="&"?IA[0]:+CA<IA.length?IA[+CA]:`$${CA}`):tA(...IA,IA.index,BA,IA.groups)}function iA(IA,BA){let sA;const CA=[];for(;sA=IA.exec(BA);)CA.push(sA);return CA}if(AA.global)iA(AA,this.original).forEach(BA=>{if(BA.index!=null){const sA=gA(BA,this.original);sA!==BA[0]&&this.overwrite(BA.index,BA.index+BA[0].length,sA)}});else{const IA=this.original.match(AA);if(IA&&IA.index!=null){const BA=gA(IA,this.original);BA!==IA[0]&&this.overwrite(IA.index,IA.index+IA[0].length,BA)}}return this}_replaceString(AA,tA){const{original:gA}=this,iA=gA.indexOf(AA);return iA!==-1&&this.overwrite(iA,iA+AA.length,tA),this}replace(AA,tA){return typeof AA=="string"?this._replaceString(AA,tA):this._replaceRegexp(AA,tA)}_replaceAllString(AA,tA){const{original:gA}=this,iA=AA.length;for(let IA=gA.indexOf(AA);IA!==-1;IA=gA.indexOf(AA,IA+iA))gA.slice(IA,IA+iA)!==tA&&this.overwrite(IA,IA+iA,tA);return this}replaceAll(AA,tA){if(typeof AA=="string")return this._replaceAllString(AA,tA);if(!AA.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(AA,tA)}}var remapping_umd={exports:{}},traceMapping_umd={exports:{}},resolveUri_umd={exports:{}},hasRequiredResolveUri_umd;function requireResolveUri_umd(){return hasRequiredResolveUri_umd||(hasRequiredResolveUri_umd=1,function(eA,AA){(function(tA,gA){eA.exports=gA()})(commonjsGlobal,function(){const tA=/^[\w+.-]+:\/\//,gA=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,iA=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function IA(pA){return tA.test(pA)}function BA(pA){return pA.startsWith("//")}function sA(pA){return pA.startsWith("/")}function CA(pA){return pA.startsWith("file:")}function oA(pA){return/^[.?#]/.test(pA)}function QA(pA){const wA=gA.exec(pA);return rA(wA[1],wA[2]||"",wA[3],wA[4]||"",wA[5]||"/",wA[6]||"",wA[7]||"")}function EA(pA){const wA=iA.exec(pA),mA=wA[2];return rA("file:","",wA[1]||"","",sA(mA)?mA:"/"+mA,wA[3]||"",wA[4]||"")}function rA(pA,wA,mA,MA,fA,LA,_A){return{scheme:pA,user:wA,host:mA,port:MA,path:fA,query:LA,hash:_A,type:7}}function lA(pA){if(BA(pA)){const mA=QA("http:"+pA);return mA.scheme="",mA.type=6,mA}if(sA(pA)){const mA=QA("http://foo.com"+pA);return mA.scheme="",mA.host="",mA.type=5,mA}if(CA(pA))return EA(pA);if(IA(pA))return QA(pA);const wA=QA("http://foo.com/"+pA);return wA.scheme="",wA.host="",wA.type=pA?pA.startsWith("?")?3:pA.startsWith("#")?2:4:1,wA}function uA(pA){if(pA.endsWith("/.."))return pA;const wA=pA.lastIndexOf("/");return pA.slice(0,wA+1)}function cA(pA,wA){hA(wA,wA.type),pA.path==="/"?pA.path=wA.path:pA.path=uA(wA.path)+pA.path}function hA(pA,wA){const mA=wA<=4,MA=pA.path.split("/");let fA=1,LA=0,_A=!1;for(let JA=1;JA<MA.length;JA++){const RA=MA[JA];if(!RA){_A=!0;continue}if(_A=!1,RA!=="."){if(RA===".."){LA?(_A=!0,LA--,fA--):mA&&(MA[fA++]=RA);continue}MA[fA++]=RA,LA++}}let bA="";for(let JA=1;JA<fA;JA++)bA+="/"+MA[JA];(!bA||_A&&!bA.endsWith("/.."))&&(bA+="/"),pA.path=bA}function dA(pA,wA){if(!pA&&!wA)return"";const mA=lA(pA);let MA=mA.type;if(wA&&MA!==7){const LA=lA(wA),_A=LA.type;switch(MA){case 1:mA.hash=LA.hash;case 2:mA.query=LA.query;case 3:case 4:cA(mA,LA);case 5:mA.user=LA.user,mA.host=LA.host,mA.port=LA.port;case 6:mA.scheme=LA.scheme}_A>MA&&(MA=_A)}hA(mA,MA);const fA=mA.query+mA.hash;switch(MA){case 2:case 3:return fA;case 4:{const LA=mA.path.slice(1);return LA?oA(wA||pA)&&!oA(LA)?"./"+LA+fA:LA+fA:fA||"."}case 5:return mA.path+fA;default:return mA.scheme+"//"+mA.user+mA.host+mA.port+mA.path+fA}}return dA})}(resolveUri_umd)),resolveUri_umd.exports}var hasRequiredTraceMapping_umd;function requireTraceMapping_umd(){return hasRequiredTraceMapping_umd||(hasRequiredTraceMapping_umd=1,function(eA,AA){(function(tA,gA){gA(AA,sourcemapCodec_umdExports,requireResolveUri_umd())})(commonjsGlobal,function(tA,gA,iA){function IA(HA,TA){return TA&&!TA.endsWith("/")&&(TA+="/"),iA(HA,TA)}function BA(HA){if(!HA)return"";const TA=HA.lastIndexOf("/");return HA.slice(0,TA+1)}const sA=0,CA=1,oA=2,QA=3,EA=4,rA=1,lA=2;function uA(HA,TA){const OA=cA(HA,0);if(OA===HA.length)return HA;TA||(HA=HA.slice());for(let jA=OA;jA<HA.length;jA=cA(HA,jA+1))HA[jA]=dA(HA[jA],TA);return HA}function cA(HA,TA){for(let OA=TA;OA<HA.length;OA++)if(!hA(HA[OA]))return OA;return HA.length}function hA(HA){for(let TA=1;TA<HA.length;TA++)if(HA[TA][sA]<HA[TA-1][sA])return!1;return!0}function dA(HA,TA){return TA||(HA=HA.slice()),HA.sort(pA)}function pA(HA,TA){return HA[sA]-TA[sA]}let wA=!1;function mA(HA,TA,OA,jA){for(;OA<=jA;){const XA=OA+(jA-OA>>1),ZA=HA[XA][sA]-TA;if(ZA===0)return wA=!0,XA;ZA<0?OA=XA+1:jA=XA-1}return wA=!1,OA-1}function MA(HA,TA,OA){for(let jA=OA+1;jA<HA.length&&HA[jA][sA]===TA;OA=jA++);return OA}function fA(HA,TA,OA){for(let jA=OA-1;jA>=0&&HA[jA][sA]===TA;OA=jA--);return OA}function LA(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function _A(HA,TA,OA,jA){const{lastKey:XA,lastNeedle:ZA,lastIndex:tg}=OA;let og=0,gg=HA.length-1;if(jA===XA){if(TA===ZA)return wA=tg!==-1&&HA[tg][sA]===TA,tg;TA>=ZA?og=tg===-1?0:tg:gg=tg}return OA.lastKey=jA,OA.lastNeedle=TA,OA.lastIndex=mA(HA,TA,og,gg)}function bA(HA,TA){const OA=TA.map(RA);for(let jA=0;jA<HA.length;jA++){const XA=HA[jA];for(let ZA=0;ZA<XA.length;ZA++){const tg=XA[ZA];if(tg.length===1)continue;const og=tg[CA],gg=tg[oA],Cg=tg[QA],pg=OA[og],ng=pg[gg]||(pg[gg]=[]),Eg=TA[og];let dg=MA(ng,Cg,_A(ng,Cg,Eg,gg));Eg.lastIndex=++dg,JA(ng,dg,[Cg,jA,tg[sA]])}}return OA}function JA(HA,TA,OA){for(let jA=HA.length;jA>TA;jA--)HA[jA]=HA[jA-1];HA[TA]=OA}function RA(){return{__proto__:null}}const NA=function(HA,TA){const OA=FA(HA);if(!("sections"in OA))return new SA(OA,TA);const jA=[],XA=[],ZA=[],tg=[],og=[];vA(OA,TA,jA,XA,ZA,tg,og,0,0,1/0,1/0);const gg={version:3,file:OA.file,names:tg,sources:XA,sourcesContent:ZA,mappings:jA,ignoreList:og};return sg(gg)};function FA(HA){return typeof HA=="string"?JSON.parse(HA):HA}function vA(HA,TA,OA,jA,XA,ZA,tg,og,gg,Cg,pg){const{sections:ng}=HA;for(let Eg=0;Eg<ng.length;Eg++){const{map:dg,offset:kg}=ng[Eg];let Lg=Cg,Ug=pg;if(Eg+1<ng.length){const xg=ng[Eg+1].offset;Lg=Math.min(Cg,og+xg.line),Lg===Cg?Ug=Math.min(pg,gg+xg.column):Lg<Cg&&(Ug=gg+xg.column)}xA(dg,TA,OA,jA,XA,ZA,tg,og+kg.line,gg+kg.column,Lg,Ug)}}function xA(HA,TA,OA,jA,XA,ZA,tg,og,gg,Cg,pg){const ng=FA(HA);if("sections"in ng)return vA(...arguments);const Eg=new SA(ng,TA),dg=jA.length,kg=ZA.length,Lg=KA(Eg),{resolvedSources:Ug,sourcesContent:xg,ignoreList:Kg}=Eg;if(kA(jA,Ug),kA(ZA,Eg.names),xg)kA(XA,xg);else for(let fg=0;fg<Ug.length;fg++)XA.push(null);if(Kg)for(let fg=0;fg<Kg.length;fg++)tg.push(Kg[fg]+dg);for(let fg=0;fg<Lg.length;fg++){const Hg=og+fg;if(Hg>Cg)return;const Zg=aA(OA,Hg),gI=fg===0?gg:0,Wg=Lg[fg];for(let qg=0;qg<Wg.length;qg++){const Yg=Wg[qg],vg=gI+Yg[sA];if(Hg===Cg&&vg>=pg)return;if(Yg.length===1){Zg.push([vg]);continue}const zg=dg+Yg[CA],Xg=Yg[oA],AI=Yg[QA];Zg.push(Yg.length===4?[vg,zg,Xg,AI]:[vg,zg,Xg,AI,kg+Yg[EA]])}}}function kA(HA,TA){for(let OA=0;OA<TA.length;OA++)HA.push(TA[OA])}function aA(HA,TA){for(let OA=HA.length;OA<=TA;OA++)HA[OA]=[];return HA[TA]}const nA="`line` must be greater than 0 (lines start at line 1)",DA="`column` must be greater than or equal to 0 (columns start at column 0)",yA=-1,GA=1;class SA{constructor(TA,OA){const jA=typeof TA=="string";if(!jA&&TA._decodedMemo)return TA;const XA=jA?JSON.parse(TA):TA,{version:ZA,file:tg,names:og,sourceRoot:gg,sources:Cg,sourcesContent:pg}=XA;this.version=ZA,this.file=tg,this.names=og||[],this.sourceRoot=gg,this.sources=Cg,this.sourcesContent=pg,this.ignoreList=XA.ignoreList||XA.x_google_ignoreList||void 0;const ng=IA(gg||"",BA(OA));this.resolvedSources=Cg.map(dg=>IA(dg||"",ng));const{mappings:Eg}=XA;typeof Eg=="string"?(this._encoded=Eg,this._decoded=void 0):(this._encoded=void 0,this._decoded=uA(Eg,jA)),this._decodedMemo=LA(),this._bySources=void 0,this._bySourceMemos=void 0}}function YA(HA){return HA}function UA(HA){var TA,OA;return(TA=(OA=HA)._encoded)!==null&&TA!==void 0?TA:OA._encoded=gA.encode(HA._decoded)}function KA(HA){var TA;return(TA=HA)._decoded||(TA._decoded=gA.decode(HA._encoded))}function qA(HA,TA,OA){const jA=KA(HA);if(TA>=jA.length)return null;const XA=jA[TA],ZA=Qg(XA,HA._decodedMemo,TA,OA,GA);return ZA===-1?null:XA[ZA]}function $A(HA,TA){let{line:OA,column:jA,bias:XA}=TA;if(OA--,OA<0)throw new Error(nA);if(jA<0)throw new Error(DA);const ZA=KA(HA);if(OA>=ZA.length)return hg(null,null,null,null);const tg=ZA[OA],og=Qg(tg,HA._decodedMemo,OA,jA,XA||GA);if(og===-1)return hg(null,null,null,null);const gg=tg[og];if(gg.length===1)return hg(null,null,null,null);const{names:Cg,resolvedSources:pg}=HA;return hg(pg[gg[CA]],gg[oA]+1,gg[QA],gg.length===5?Cg[gg[EA]]:null)}function VA(HA,TA){const{source:OA,line:jA,column:XA,bias:ZA}=TA;return Fg(HA,OA,jA,XA,ZA||GA,!1)}function PA(HA,TA){const{source:OA,line:jA,column:XA,bias:ZA}=TA;return Fg(HA,OA,jA,XA,ZA||yA,!0)}function zA(HA,TA){const OA=KA(HA),{names:jA,resolvedSources:XA}=HA;for(let ZA=0;ZA<OA.length;ZA++){const tg=OA[ZA];for(let og=0;og<tg.length;og++){const gg=tg[og],Cg=ZA+1,pg=gg[0];let ng=null,Eg=null,dg=null,kg=null;gg.length!==1&&(ng=XA[gg[1]],Eg=gg[2]+1,dg=gg[3]),gg.length===5&&(kg=jA[gg[4]]),TA({generatedLine:Cg,generatedColumn:pg,source:ng,originalLine:Eg,originalColumn:dg,name:kg})}}}function WA(HA,TA){const{sources:OA,resolvedSources:jA}=HA;let XA=OA.indexOf(TA);return XA===-1&&(XA=jA.indexOf(TA)),XA}function Ag(HA,TA){const{sourcesContent:OA}=HA;if(OA==null)return null;const jA=WA(HA,TA);return jA===-1?null:OA[jA]}function eg(HA,TA){const{ignoreList:OA}=HA;if(OA==null)return!1;const jA=WA(HA,TA);return jA===-1?!1:OA.includes(jA)}function sg(HA,TA){const OA=new SA(Dg(HA,[]),TA);return OA._decoded=HA.mappings,OA}function ug(HA){return Dg(HA,KA(HA))}function yg(HA){return Dg(HA,UA(HA))}function Dg(HA,TA){return{version:HA.version,file:HA.file,names:HA.names,sourceRoot:HA.sourceRoot,sources:HA.sources,sourcesContent:HA.sourcesContent,mappings:TA,ignoreList:HA.ignoreList||HA.x_google_ignoreList}}function hg(HA,TA,OA,jA){return{source:HA,line:TA,column:OA,name:jA}}function wg(HA,TA){return{line:HA,column:TA}}function Qg(HA,TA,OA,jA,XA){let ZA=_A(HA,jA,TA,OA);return wA?ZA=(XA===yA?MA:fA)(HA,jA,ZA):XA===yA&&ZA++,ZA===-1||ZA===HA.length?-1:ZA}function Mg(HA,TA,OA,jA,XA){let ZA=Qg(HA,TA,OA,jA,GA);if(!wA&&XA===yA&&ZA++,ZA===-1||ZA===HA.length)return[];const tg=wA?jA:HA[ZA][sA];wA||(ZA=fA(HA,tg,ZA));const og=MA(HA,tg,ZA),gg=[];for(;ZA<=og;ZA++){const Cg=HA[ZA];gg.push(wg(Cg[rA]+1,Cg[lA]))}return gg}function Fg(HA,TA,OA,jA,XA,ZA){var tg;if(OA--,OA<0)throw new Error(nA);if(jA<0)throw new Error(DA);const{sources:og,resolvedSources:gg}=HA;let Cg=og.indexOf(TA);if(Cg===-1&&(Cg=gg.indexOf(TA)),Cg===-1)return ZA?[]:wg(null,null);const ng=((tg=HA)._bySources||(tg._bySources=bA(KA(HA),HA._bySourceMemos=og.map(LA))))[Cg][OA];if(ng==null)return ZA?[]:wg(null,null);const Eg=HA._bySourceMemos[Cg];if(ZA)return Mg(ng,Eg,OA,jA,XA);const dg=Qg(ng,Eg,OA,jA,XA);if(dg===-1)return wg(null,null);const kg=ng[dg];return wg(kg[rA]+1,kg[lA])}tA.AnyMap=NA,tA.GREATEST_LOWER_BOUND=GA,tA.LEAST_UPPER_BOUND=yA,tA.TraceMap=SA,tA.allGeneratedPositionsFor=PA,tA.decodedMap=ug,tA.decodedMappings=KA,tA.eachMapping=zA,tA.encodedMap=yg,tA.encodedMappings=UA,tA.generatedPositionFor=VA,tA.isIgnored=eg,tA.originalPositionFor=$A,tA.presortedDecodedMap=sg,tA.sourceContentFor=Ag,tA.traceSegment=qA})}(traceMapping_umd,traceMapping_umd.exports)),traceMapping_umd.exports}var genMapping_umd={exports:{}},setArray_umd={exports:{}},hasRequiredSetArray_umd;function requireSetArray_umd(){return hasRequiredSetArray_umd||(hasRequiredSetArray_umd=1,function(eA,AA){(function(tA,gA){gA(AA)})(commonjsGlobal,function(tA){class gA{constructor(){this._indexes={__proto__:null},this.array=[]}}function iA(oA){return oA}function IA(oA,QA){return oA._indexes[QA]}function BA(oA,QA){const EA=IA(oA,QA);if(EA!==void 0)return EA;const{array:rA,_indexes:lA}=oA,uA=rA.push(QA);return lA[QA]=uA-1}function sA(oA){const{array:QA,_indexes:EA}=oA;if(QA.length===0)return;const rA=QA.pop();EA[rA]=void 0}function CA(oA,QA){const EA=IA(oA,QA);if(EA===void 0)return;const{array:rA,_indexes:lA}=oA;for(let uA=EA+1;uA<rA.length;uA++){const cA=rA[uA];rA[uA-1]=cA,lA[cA]--}lA[QA]=void 0,rA.pop()}tA.SetArray=gA,tA.get=IA,tA.pop=sA,tA.put=BA,tA.remove=CA,Object.defineProperty(tA,"__esModule",{value:!0})})}(setArray_umd,setArray_umd.exports)),setArray_umd.exports}var hasRequiredGenMapping_umd;function requireGenMapping_umd(){return hasRequiredGenMapping_umd||(hasRequiredGenMapping_umd=1,function(eA,AA){(function(tA,gA){gA(AA,requireSetArray_umd(),sourcemapCodec_umdExports,requireTraceMapping_umd())})(commonjsGlobal,function(tA,gA,iA,IA){class rA{constructor({file:nA,sourceRoot:DA}={}){this._names=new gA.SetArray,this._sources=new gA.SetArray,this._sourcesContent=[],this._mappings=[],this.file=nA,this.sourceRoot=DA,this._ignoreList=new gA.SetArray}}function lA(aA){return aA}function uA(aA,nA,DA,yA,GA,SA,YA,UA){return _A(!1,aA,nA,DA,yA,GA,SA,YA,UA)}function cA(aA,nA){return kA(!1,aA,nA)}const hA=(aA,nA,DA,yA,GA,SA,YA,UA)=>_A(!0,aA,nA,DA,yA,GA,SA,YA,UA),dA=(aA,nA)=>kA(!0,aA,nA);function pA(aA,nA,DA){const{_sources:yA,_sourcesContent:GA}=aA,SA=gA.put(yA,nA);GA[SA]=DA}function wA(aA,nA,DA=!0){const{_sources:yA,_sourcesContent:GA,_ignoreList:SA}=aA,YA=gA.put(yA,nA);YA===GA.length&&(GA[YA]=null),DA?gA.put(SA,YA):gA.remove(SA,YA)}function mA(aA){const{_mappings:nA,_sources:DA,_sourcesContent:yA,_names:GA,_ignoreList:SA}=aA;return NA(nA),{version:3,file:aA.file||void 0,names:GA.array,sourceRoot:aA.sourceRoot||void 0,sources:DA.array,sourcesContent:yA,mappings:nA,ignoreList:SA.array}}function MA(aA){const nA=mA(aA);return Object.assign(Object.assign({},nA),{mappings:iA.encode(nA.mappings)})}function fA(aA){const nA=new IA.TraceMap(aA),DA=new rA({file:nA.file,sourceRoot:nA.sourceRoot});return FA(DA._names,nA.names),FA(DA._sources,nA.sources),DA._sourcesContent=nA.sourcesContent||nA.sources.map(()=>null),DA._mappings=IA.decodedMappings(nA),nA.ignoreList&&FA(DA._ignoreList,nA.ignoreList),DA}function LA(aA){const nA=[],{_mappings:DA,_sources:yA,_names:GA}=aA;for(let SA=0;SA<DA.length;SA++){const YA=DA[SA];for(let UA=0;UA<YA.length;UA++){const KA=YA[UA],qA={line:SA+1,column:KA[0]};let $A,VA,PA;KA.length!==1&&($A=yA.array[KA[1]],VA={line:KA[2]+1,column:KA[3]},KA.length===5&&(PA=GA.array[KA[4]])),nA.push({generated:qA,source:$A,original:VA,name:PA})}}return nA}function _A(aA,nA,DA,yA,GA,SA,YA,UA,KA){const{_mappings:qA,_sources:$A,_sourcesContent:VA,_names:PA}=nA,zA=bA(qA,DA),WA=JA(zA,yA);if(!GA)return aA&&vA(zA,WA)?void 0:RA(zA,WA,[yA]);const Ag=gA.put($A,GA),eg=UA?gA.put(PA,UA):-1;if(Ag===VA.length&&(VA[Ag]=KA??null),!(aA&&xA(zA,WA,Ag,SA,YA,eg)))return RA(zA,WA,UA?[yA,Ag,SA,YA,eg]:[yA,Ag,SA,YA])}function bA(aA,nA){for(let DA=aA.length;DA<=nA;DA++)aA[DA]=[];return aA[nA]}function JA(aA,nA){let DA=aA.length;for(let yA=DA-1;yA>=0;DA=yA--){const GA=aA[yA];if(nA>=GA[0])break}return DA}function RA(aA,nA,DA){for(let yA=aA.length;yA>nA;yA--)aA[yA]=aA[yA-1];aA[nA]=DA}function NA(aA){const{length:nA}=aA;let DA=nA;for(let yA=DA-1;yA>=0&&!(aA[yA].length>0);DA=yA,yA--);DA<nA&&(aA.length=DA)}function FA(aA,nA){for(let DA=0;DA<nA.length;DA++)gA.put(aA,nA[DA])}function vA(aA,nA){return nA===0?!0:aA[nA-1].length===1}function xA(aA,nA,DA,yA,GA,SA){if(nA===0)return!1;const YA=aA[nA-1];return YA.length===1?!1:DA===YA[1]&&yA===YA[2]&&GA===YA[3]&&SA===(YA.length===5?YA[4]:-1)}function kA(aA,nA,DA){const{generated:yA,source:GA,original:SA,name:YA,content:UA}=DA;return GA?_A(aA,nA,yA.line-1,yA.column,GA,SA.line-1,SA.column,YA,UA):_A(aA,nA,yA.line-1,yA.column,null,null,null,null,null)}tA.GenMapping=rA,tA.addMapping=cA,tA.addSegment=uA,tA.allMappings=LA,tA.fromMap=fA,tA.maybeAddMapping=dA,tA.maybeAddSegment=hA,tA.setIgnore=wA,tA.setSourceContent=pA,tA.toDecodedMap=mA,tA.toEncodedMap=MA,Object.defineProperty(tA,"__esModule",{value:!0})})}(genMapping_umd,genMapping_umd.exports)),genMapping_umd.exports}(function(eA,AA){(function(tA,gA){eA.exports=gA(requireTraceMapping_umd(),requireGenMapping_umd())})(commonjsGlobal,function(tA,gA){const iA=BA("",-1,-1,"",null,!1),IA=[];function BA(dA,pA,wA,mA,MA,fA){return{source:dA,line:pA,column:wA,name:mA,content:MA,ignore:fA}}function sA(dA,pA,wA,mA,MA){return{map:dA,sources:pA,source:wA,content:mA,ignore:MA}}function CA(dA,pA){return sA(dA,pA,"",null,!1)}function oA(dA,pA,wA){return sA(null,IA,dA,pA,wA)}function QA(dA){const pA=new gA.GenMapping({file:dA.map.file}),{sources:wA,map:mA}=dA,MA=mA.names,fA=tA.decodedMappings(mA);for(let LA=0;LA<fA.length;LA++){const _A=fA[LA];for(let bA=0;bA<_A.length;bA++){const JA=_A[bA],RA=JA[0];let NA=iA;if(JA.length!==1){const DA=wA[JA[1]];if(NA=EA(DA,JA[2],JA[3],JA.length===5?MA[JA[4]]:""),NA==null)continue}const{column:FA,line:vA,name:xA,content:kA,source:aA,ignore:nA}=NA;gA.maybeAddSegment(pA,LA,RA,aA,vA,FA,xA),aA&&kA!=null&&gA.setSourceContent(pA,aA,kA),nA&&gA.setIgnore(pA,aA,!0)}}return pA}function EA(dA,pA,wA,mA){if(!dA.map)return BA(dA.source,pA,wA,mA,dA.content,dA.ignore);const MA=tA.traceSegment(dA.map,pA,wA);return MA==null?null:MA.length===1?iA:EA(dA.sources[MA[1]],MA[2],MA[3],MA.length===5?dA.map.names[MA[4]]:mA)}function rA(dA){return Array.isArray(dA)?dA:[dA]}function lA(dA,pA){const wA=rA(dA).map(fA=>new tA.TraceMap(fA,"")),mA=wA.pop();for(let fA=0;fA<wA.length;fA++)if(wA[fA].sources.length>1)throw new Error(`Transformation map ${fA} must have exactly one source file.
56
+ `?IA=!0:QA!=="\r"&&IA&&(IA=!1,sA===CA.start||(this._splitChunk(CA,sA),CA=CA.next),CA.prependRight(AA))}sA+=1}sA=CA.end,CA=CA.next}return this.outro=this.outro.replace(gA,BA),this}insert(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")}insertLeft(AA,tA){return warned$1.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),warned$1.insertLeft=!0),this.appendLeft(AA,tA)}insertRight(AA,tA){return warned$1.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),warned$1.insertRight=!0),this.prependRight(AA,tA)}move(AA,tA,gA){if(gA>=AA&&gA<=tA)throw new Error("Cannot move a selection inside itself");this._split(AA),this._split(tA),this._split(gA);const iA=this.byStart[AA],IA=this.byEnd[tA],BA=iA.previous,sA=IA.next,CA=this.byStart[gA];if(!CA&&IA===this.lastChunk)return this;const oA=CA?CA.previous:this.lastChunk;return BA&&(BA.next=sA),sA&&(sA.previous=BA),oA&&(oA.next=iA),CA&&(CA.previous=IA),iA.previous||(this.firstChunk=IA.next),IA.next||(this.lastChunk=iA.previous,this.lastChunk.next=null),iA.previous=oA,IA.next=CA||null,oA||(this.firstChunk=iA),CA||(this.lastChunk=IA),this}overwrite(AA,tA,gA,iA){return iA=iA||{},this.update(AA,tA,gA,{...iA,overwrite:!iA.contentOnly})}update(AA,tA,gA,iA){if(typeof gA!="string")throw new TypeError("replacement content must be a string");if(this.original.length!==0){for(;AA<0;)AA+=this.original.length;for(;tA<0;)tA+=this.original.length}if(tA>this.original.length)throw new Error("end is out of bounds");if(AA===tA)throw new Error("Cannot overwrite a zero-length range – use appendLeft or prependRight instead");this._split(AA),this._split(tA),iA===!0&&(warned$1.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),warned$1.storeName=!0),iA={storeName:!0});const IA=iA!==void 0?iA.storeName:!1,BA=iA!==void 0?iA.overwrite:!1;if(IA){const oA=this.original.slice(AA,tA);Object.defineProperty(this.storedNames,oA,{writable:!0,value:!0,enumerable:!0})}const sA=this.byStart[AA],CA=this.byEnd[tA];if(sA){let oA=sA;for(;oA!==CA;){if(oA.next!==this.byStart[oA.end])throw new Error("Cannot overwrite across a split point");oA=oA.next,oA.edit("",!1)}sA.edit(gA,IA,!BA)}else{const oA=new Chunk(AA,tA,"").edit(gA,IA);CA.next=oA,oA.previous=CA}return this}prepend(AA){if(typeof AA!="string")throw new TypeError("outro content must be a string");return this.intro=AA+this.intro,this}prependLeft(AA,tA){if(typeof tA!="string")throw new TypeError("inserted content must be a string");this._split(AA);const gA=this.byEnd[AA];return gA?gA.prependLeft(tA):this.intro=tA+this.intro,this}prependRight(AA,tA){if(typeof tA!="string")throw new TypeError("inserted content must be a string");this._split(AA);const gA=this.byStart[AA];return gA?gA.prependRight(tA):this.outro=tA+this.outro,this}remove(AA,tA){if(this.original.length!==0){for(;AA<0;)AA+=this.original.length;for(;tA<0;)tA+=this.original.length}if(AA===tA)return this;if(AA<0||tA>this.original.length)throw new Error("Character is out of bounds");if(AA>tA)throw new Error("end must be greater than start");this._split(AA),this._split(tA);let gA=this.byStart[AA];for(;gA;)gA.intro="",gA.outro="",gA.edit(""),gA=tA>gA.end?this.byStart[gA.end]:null;return this}reset(AA,tA){if(this.original.length!==0){for(;AA<0;)AA+=this.original.length;for(;tA<0;)tA+=this.original.length}if(AA===tA)return this;if(AA<0||tA>this.original.length)throw new Error("Character is out of bounds");if(AA>tA)throw new Error("end must be greater than start");this._split(AA),this._split(tA);let gA=this.byStart[AA];for(;gA;)gA.reset(),gA=tA>gA.end?this.byStart[gA.end]:null;return this}lastChar(){if(this.outro.length)return this.outro[this.outro.length-1];let AA=this.lastChunk;do{if(AA.outro.length)return AA.outro[AA.outro.length-1];if(AA.content.length)return AA.content[AA.content.length-1];if(AA.intro.length)return AA.intro[AA.intro.length-1]}while(AA=AA.previous);return this.intro.length?this.intro[this.intro.length-1]:""}lastLine(){let AA=this.outro.lastIndexOf(n$1);if(AA!==-1)return this.outro.substr(AA+1);let tA=this.outro,gA=this.lastChunk;do{if(gA.outro.length>0){if(AA=gA.outro.lastIndexOf(n$1),AA!==-1)return gA.outro.substr(AA+1)+tA;tA=gA.outro+tA}if(gA.content.length>0){if(AA=gA.content.lastIndexOf(n$1),AA!==-1)return gA.content.substr(AA+1)+tA;tA=gA.content+tA}if(gA.intro.length>0){if(AA=gA.intro.lastIndexOf(n$1),AA!==-1)return gA.intro.substr(AA+1)+tA;tA=gA.intro+tA}}while(gA=gA.previous);return AA=this.intro.lastIndexOf(n$1),AA!==-1?this.intro.substr(AA+1)+tA:this.intro+tA}slice(AA=0,tA=this.original.length){if(this.original.length!==0){for(;AA<0;)AA+=this.original.length;for(;tA<0;)tA+=this.original.length}let gA="",iA=this.firstChunk;for(;iA&&(iA.start>AA||iA.end<=AA);){if(iA.start<tA&&iA.end>=tA)return gA;iA=iA.next}if(iA&&iA.edited&&iA.start!==AA)throw new Error(`Cannot use replaced character ${AA} as slice start anchor.`);const IA=iA;for(;iA;){iA.intro&&(IA!==iA||iA.start===AA)&&(gA+=iA.intro);const BA=iA.start<tA&&iA.end>=tA;if(BA&&iA.edited&&iA.end!==tA)throw new Error(`Cannot use replaced character ${tA} as slice end anchor.`);const sA=IA===iA?AA-iA.start:0,CA=BA?iA.content.length+tA-iA.end:iA.content.length;if(gA+=iA.content.slice(sA,CA),iA.outro&&(!BA||iA.end===tA)&&(gA+=iA.outro),BA)break;iA=iA.next}return gA}snip(AA,tA){const gA=this.clone();return gA.remove(0,AA),gA.remove(tA,gA.original.length),gA}_split(AA){if(this.byStart[AA]||this.byEnd[AA])return;let tA=this.lastSearchedChunk;const gA=AA>tA.end;for(;tA;){if(tA.contains(AA))return this._splitChunk(tA,AA);tA=gA?this.byStart[tA.end]:this.byEnd[tA.start]}}_splitChunk(AA,tA){if(AA.edited&&AA.content.length){const iA=getLocator(this.original)(tA);throw new Error(`Cannot split a chunk that has already been edited (${iA.line}:${iA.column} – "${AA.original}")`)}const gA=AA.split(tA);return this.byEnd[tA]=AA,this.byStart[tA]=gA,this.byEnd[gA.end]=gA,AA===this.lastChunk&&(this.lastChunk=gA),this.lastSearchedChunk=AA,!0}toString(){let AA=this.intro,tA=this.firstChunk;for(;tA;)AA+=tA.toString(),tA=tA.next;return AA+this.outro}isEmpty(){let AA=this.firstChunk;do if(AA.intro.length&&AA.intro.trim()||AA.content.length&&AA.content.trim()||AA.outro.length&&AA.outro.trim())return!1;while(AA=AA.next);return!0}length(){let AA=this.firstChunk,tA=0;do tA+=AA.intro.length+AA.content.length+AA.outro.length;while(AA=AA.next);return tA}trimLines(){return this.trim("[\\r\\n]")}trim(AA){return this.trimStart(AA).trimEnd(AA)}trimEndAborted(AA){const tA=new RegExp((AA||"\\s")+"+$");if(this.outro=this.outro.replace(tA,""),this.outro.length)return!0;let gA=this.lastChunk;do{const iA=gA.end,IA=gA.trimEnd(tA);if(gA.end!==iA&&(this.lastChunk===gA&&(this.lastChunk=gA.next),this.byEnd[gA.end]=gA,this.byStart[gA.next.start]=gA.next,this.byEnd[gA.next.end]=gA.next),IA)return!0;gA=gA.previous}while(gA);return!1}trimEnd(AA){return this.trimEndAborted(AA),this}trimStartAborted(AA){const tA=new RegExp("^"+(AA||"\\s")+"+");if(this.intro=this.intro.replace(tA,""),this.intro.length)return!0;let gA=this.firstChunk;do{const iA=gA.end,IA=gA.trimStart(tA);if(gA.end!==iA&&(gA===this.lastChunk&&(this.lastChunk=gA.next),this.byEnd[gA.end]=gA,this.byStart[gA.next.start]=gA.next,this.byEnd[gA.next.end]=gA.next),IA)return!0;gA=gA.next}while(gA);return!1}trimStart(AA){return this.trimStartAborted(AA),this}hasChanged(){return this.original!==this.toString()}_replaceRegexp(AA,tA){function gA(IA,BA){return typeof tA=="string"?tA.replace(/\$(\$|&|\d+)/g,(sA,CA)=>CA==="$"?"$":CA==="&"?IA[0]:+CA<IA.length?IA[+CA]:`$${CA}`):tA(...IA,IA.index,BA,IA.groups)}function iA(IA,BA){let sA;const CA=[];for(;sA=IA.exec(BA);)CA.push(sA);return CA}if(AA.global)iA(AA,this.original).forEach(BA=>{if(BA.index!=null){const sA=gA(BA,this.original);sA!==BA[0]&&this.overwrite(BA.index,BA.index+BA[0].length,sA)}});else{const IA=this.original.match(AA);if(IA&&IA.index!=null){const BA=gA(IA,this.original);BA!==IA[0]&&this.overwrite(IA.index,IA.index+IA[0].length,BA)}}return this}_replaceString(AA,tA){const{original:gA}=this,iA=gA.indexOf(AA);return iA!==-1&&this.overwrite(iA,iA+AA.length,tA),this}replace(AA,tA){return typeof AA=="string"?this._replaceString(AA,tA):this._replaceRegexp(AA,tA)}_replaceAllString(AA,tA){const{original:gA}=this,iA=AA.length;for(let IA=gA.indexOf(AA);IA!==-1;IA=gA.indexOf(AA,IA+iA))gA.slice(IA,IA+iA)!==tA&&this.overwrite(IA,IA+iA,tA);return this}replaceAll(AA,tA){if(typeof AA=="string")return this._replaceAllString(AA,tA);if(!AA.global)throw new TypeError("MagicString.prototype.replaceAll called with a non-global RegExp argument");return this._replaceRegexp(AA,tA)}}var remapping_umd={exports:{}},traceMapping_umd={exports:{}},resolveUri_umd={exports:{}},hasRequiredResolveUri_umd;function requireResolveUri_umd(){return hasRequiredResolveUri_umd||(hasRequiredResolveUri_umd=1,function(eA,AA){(function(tA,gA){eA.exports=gA()})(commonjsGlobal,function(){const tA=/^[\w+.-]+:\/\//,gA=/^([\w+.-]+:)\/\/([^@/#?]*@)?([^:/#?]*)(:\d+)?(\/[^#?]*)?(\?[^#]*)?(#.*)?/,iA=/^file:(?:\/\/((?![a-z]:)[^/#?]*)?)?(\/?[^#?]*)(\?[^#]*)?(#.*)?/i;function IA(pA){return tA.test(pA)}function BA(pA){return pA.startsWith("//")}function sA(pA){return pA.startsWith("/")}function CA(pA){return pA.startsWith("file:")}function oA(pA){return/^[.?#]/.test(pA)}function QA(pA){const wA=gA.exec(pA);return rA(wA[1],wA[2]||"",wA[3],wA[4]||"",wA[5]||"/",wA[6]||"",wA[7]||"")}function EA(pA){const wA=iA.exec(pA),mA=wA[2];return rA("file:","",wA[1]||"","",sA(mA)?mA:"/"+mA,wA[3]||"",wA[4]||"")}function rA(pA,wA,mA,MA,fA,LA,_A){return{scheme:pA,user:wA,host:mA,port:MA,path:fA,query:LA,hash:_A,type:7}}function lA(pA){if(BA(pA)){const mA=QA("http:"+pA);return mA.scheme="",mA.type=6,mA}if(sA(pA)){const mA=QA("http://foo.com"+pA);return mA.scheme="",mA.host="",mA.type=5,mA}if(CA(pA))return EA(pA);if(IA(pA))return QA(pA);const wA=QA("http://foo.com/"+pA);return wA.scheme="",wA.host="",wA.type=pA?pA.startsWith("?")?3:pA.startsWith("#")?2:4:1,wA}function uA(pA){if(pA.endsWith("/.."))return pA;const wA=pA.lastIndexOf("/");return pA.slice(0,wA+1)}function cA(pA,wA){hA(wA,wA.type),pA.path==="/"?pA.path=wA.path:pA.path=uA(wA.path)+pA.path}function hA(pA,wA){const mA=wA<=4,MA=pA.path.split("/");let fA=1,LA=0,_A=!1;for(let JA=1;JA<MA.length;JA++){const RA=MA[JA];if(!RA){_A=!0;continue}if(_A=!1,RA!=="."){if(RA===".."){LA?(_A=!0,LA--,fA--):mA&&(MA[fA++]=RA);continue}MA[fA++]=RA,LA++}}let bA="";for(let JA=1;JA<fA;JA++)bA+="/"+MA[JA];(!bA||_A&&!bA.endsWith("/.."))&&(bA+="/"),pA.path=bA}function dA(pA,wA){if(!pA&&!wA)return"";const mA=lA(pA);let MA=mA.type;if(wA&&MA!==7){const LA=lA(wA),_A=LA.type;switch(MA){case 1:mA.hash=LA.hash;case 2:mA.query=LA.query;case 3:case 4:cA(mA,LA);case 5:mA.user=LA.user,mA.host=LA.host,mA.port=LA.port;case 6:mA.scheme=LA.scheme}_A>MA&&(MA=_A)}hA(mA,MA);const fA=mA.query+mA.hash;switch(MA){case 2:case 3:return fA;case 4:{const LA=mA.path.slice(1);return LA?oA(wA||pA)&&!oA(LA)?"./"+LA+fA:LA+fA:fA||"."}case 5:return mA.path+fA;default:return mA.scheme+"//"+mA.user+mA.host+mA.port+mA.path+fA}}return dA})}(resolveUri_umd)),resolveUri_umd.exports}var hasRequiredTraceMapping_umd;function requireTraceMapping_umd(){return hasRequiredTraceMapping_umd||(hasRequiredTraceMapping_umd=1,function(eA,AA){(function(tA,gA){gA(AA,sourcemapCodec_umdExports,requireResolveUri_umd())})(commonjsGlobal,function(tA,gA,iA){function IA(HA,TA){return TA&&!TA.endsWith("/")&&(TA+="/"),iA(HA,TA)}function BA(HA){if(!HA)return"";const TA=HA.lastIndexOf("/");return HA.slice(0,TA+1)}const sA=0,CA=1,oA=2,QA=3,EA=4,rA=1,lA=2;function uA(HA,TA){const OA=cA(HA,0);if(OA===HA.length)return HA;TA||(HA=HA.slice());for(let jA=OA;jA<HA.length;jA=cA(HA,jA+1))HA[jA]=dA(HA[jA],TA);return HA}function cA(HA,TA){for(let OA=TA;OA<HA.length;OA++)if(!hA(HA[OA]))return OA;return HA.length}function hA(HA){for(let TA=1;TA<HA.length;TA++)if(HA[TA][sA]<HA[TA-1][sA])return!1;return!0}function dA(HA,TA){return TA||(HA=HA.slice()),HA.sort(pA)}function pA(HA,TA){return HA[sA]-TA[sA]}let wA=!1;function mA(HA,TA,OA,jA){for(;OA<=jA;){const XA=OA+(jA-OA>>1),ZA=HA[XA][sA]-TA;if(ZA===0)return wA=!0,XA;ZA<0?OA=XA+1:jA=XA-1}return wA=!1,OA-1}function MA(HA,TA,OA){for(let jA=OA+1;jA<HA.length&&HA[jA][sA]===TA;OA=jA++);return OA}function fA(HA,TA,OA){for(let jA=OA-1;jA>=0&&HA[jA][sA]===TA;OA=jA--);return OA}function LA(){return{lastKey:-1,lastNeedle:-1,lastIndex:-1}}function _A(HA,TA,OA,jA){const{lastKey:XA,lastNeedle:ZA,lastIndex:gg}=OA;let og=0,ig=HA.length-1;if(jA===XA){if(TA===ZA)return wA=gg!==-1&&HA[gg][sA]===TA,gg;TA>=ZA?og=gg===-1?0:gg:ig=gg}return OA.lastKey=jA,OA.lastNeedle=TA,OA.lastIndex=mA(HA,TA,og,ig)}function bA(HA,TA){const OA=TA.map(RA);for(let jA=0;jA<HA.length;jA++){const XA=HA[jA];for(let ZA=0;ZA<XA.length;ZA++){const gg=XA[ZA];if(gg.length===1)continue;const og=gg[CA],ig=gg[oA],Cg=gg[QA],pg=OA[og],ng=pg[ig]||(pg[ig]=[]),Eg=TA[og];let dg=MA(ng,Cg,_A(ng,Cg,Eg,ig));Eg.lastIndex=++dg,JA(ng,dg,[Cg,jA,gg[sA]])}}return OA}function JA(HA,TA,OA){for(let jA=HA.length;jA>TA;jA--)HA[jA]=HA[jA-1];HA[TA]=OA}function RA(){return{__proto__:null}}const NA=function(HA,TA){const OA=FA(HA);if(!("sections"in OA))return new SA(OA,TA);const jA=[],XA=[],ZA=[],gg=[],og=[];vA(OA,TA,jA,XA,ZA,gg,og,0,0,1/0,1/0);const ig={version:3,file:OA.file,names:gg,sources:XA,sourcesContent:ZA,mappings:jA,ignoreList:og};return sg(ig)};function FA(HA){return typeof HA=="string"?JSON.parse(HA):HA}function vA(HA,TA,OA,jA,XA,ZA,gg,og,ig,Cg,pg){const{sections:ng}=HA;for(let Eg=0;Eg<ng.length;Eg++){const{map:dg,offset:kg}=ng[Eg];let Lg=Cg,Ug=pg;if(Eg+1<ng.length){const xg=ng[Eg+1].offset;Lg=Math.min(Cg,og+xg.line),Lg===Cg?Ug=Math.min(pg,ig+xg.column):Lg<Cg&&(Ug=ig+xg.column)}xA(dg,TA,OA,jA,XA,ZA,gg,og+kg.line,ig+kg.column,Lg,Ug)}}function xA(HA,TA,OA,jA,XA,ZA,gg,og,ig,Cg,pg){const ng=FA(HA);if("sections"in ng)return vA(...arguments);const Eg=new SA(ng,TA),dg=jA.length,kg=ZA.length,Lg=KA(Eg),{resolvedSources:Ug,sourcesContent:xg,ignoreList:Kg}=Eg;if(kA(jA,Ug),kA(ZA,Eg.names),xg)kA(XA,xg);else for(let fg=0;fg<Ug.length;fg++)XA.push(null);if(Kg)for(let fg=0;fg<Kg.length;fg++)gg.push(Kg[fg]+dg);for(let fg=0;fg<Lg.length;fg++){const Hg=og+fg;if(Hg>Cg)return;const Zg=aA(OA,Hg),gI=fg===0?ig:0,Wg=Lg[fg];for(let qg=0;qg<Wg.length;qg++){const Yg=Wg[qg],vg=gI+Yg[sA];if(Hg===Cg&&vg>=pg)return;if(Yg.length===1){Zg.push([vg]);continue}const zg=dg+Yg[CA],Xg=Yg[oA],AI=Yg[QA];Zg.push(Yg.length===4?[vg,zg,Xg,AI]:[vg,zg,Xg,AI,kg+Yg[EA]])}}}function kA(HA,TA){for(let OA=0;OA<TA.length;OA++)HA.push(TA[OA])}function aA(HA,TA){for(let OA=HA.length;OA<=TA;OA++)HA[OA]=[];return HA[TA]}const nA="`line` must be greater than 0 (lines start at line 1)",DA="`column` must be greater than or equal to 0 (columns start at column 0)",yA=-1,GA=1;class SA{constructor(TA,OA){const jA=typeof TA=="string";if(!jA&&TA._decodedMemo)return TA;const XA=jA?JSON.parse(TA):TA,{version:ZA,file:gg,names:og,sourceRoot:ig,sources:Cg,sourcesContent:pg}=XA;this.version=ZA,this.file=gg,this.names=og||[],this.sourceRoot=ig,this.sources=Cg,this.sourcesContent=pg,this.ignoreList=XA.ignoreList||XA.x_google_ignoreList||void 0;const ng=IA(ig||"",BA(OA));this.resolvedSources=Cg.map(dg=>IA(dg||"",ng));const{mappings:Eg}=XA;typeof Eg=="string"?(this._encoded=Eg,this._decoded=void 0):(this._encoded=void 0,this._decoded=uA(Eg,jA)),this._decodedMemo=LA(),this._bySources=void 0,this._bySourceMemos=void 0}}function YA(HA){return HA}function UA(HA){var TA,OA;return(TA=(OA=HA)._encoded)!==null&&TA!==void 0?TA:OA._encoded=gA.encode(HA._decoded)}function KA(HA){var TA;return(TA=HA)._decoded||(TA._decoded=gA.decode(HA._encoded))}function qA(HA,TA,OA){const jA=KA(HA);if(TA>=jA.length)return null;const XA=jA[TA],ZA=Qg(XA,HA._decodedMemo,TA,OA,GA);return ZA===-1?null:XA[ZA]}function $A(HA,TA){let{line:OA,column:jA,bias:XA}=TA;if(OA--,OA<0)throw new Error(nA);if(jA<0)throw new Error(DA);const ZA=KA(HA);if(OA>=ZA.length)return hg(null,null,null,null);const gg=ZA[OA],og=Qg(gg,HA._decodedMemo,OA,jA,XA||GA);if(og===-1)return hg(null,null,null,null);const ig=gg[og];if(ig.length===1)return hg(null,null,null,null);const{names:Cg,resolvedSources:pg}=HA;return hg(pg[ig[CA]],ig[oA]+1,ig[QA],ig.length===5?Cg[ig[EA]]:null)}function VA(HA,TA){const{source:OA,line:jA,column:XA,bias:ZA}=TA;return Fg(HA,OA,jA,XA,ZA||GA,!1)}function PA(HA,TA){const{source:OA,line:jA,column:XA,bias:ZA}=TA;return Fg(HA,OA,jA,XA,ZA||yA,!0)}function zA(HA,TA){const OA=KA(HA),{names:jA,resolvedSources:XA}=HA;for(let ZA=0;ZA<OA.length;ZA++){const gg=OA[ZA];for(let og=0;og<gg.length;og++){const ig=gg[og],Cg=ZA+1,pg=ig[0];let ng=null,Eg=null,dg=null,kg=null;ig.length!==1&&(ng=XA[ig[1]],Eg=ig[2]+1,dg=ig[3]),ig.length===5&&(kg=jA[ig[4]]),TA({generatedLine:Cg,generatedColumn:pg,source:ng,originalLine:Eg,originalColumn:dg,name:kg})}}}function WA(HA,TA){const{sources:OA,resolvedSources:jA}=HA;let XA=OA.indexOf(TA);return XA===-1&&(XA=jA.indexOf(TA)),XA}function Ag(HA,TA){const{sourcesContent:OA}=HA;if(OA==null)return null;const jA=WA(HA,TA);return jA===-1?null:OA[jA]}function eg(HA,TA){const{ignoreList:OA}=HA;if(OA==null)return!1;const jA=WA(HA,TA);return jA===-1?!1:OA.includes(jA)}function sg(HA,TA){const OA=new SA(Dg(HA,[]),TA);return OA._decoded=HA.mappings,OA}function ug(HA){return Dg(HA,KA(HA))}function yg(HA){return Dg(HA,UA(HA))}function Dg(HA,TA){return{version:HA.version,file:HA.file,names:HA.names,sourceRoot:HA.sourceRoot,sources:HA.sources,sourcesContent:HA.sourcesContent,mappings:TA,ignoreList:HA.ignoreList||HA.x_google_ignoreList}}function hg(HA,TA,OA,jA){return{source:HA,line:TA,column:OA,name:jA}}function wg(HA,TA){return{line:HA,column:TA}}function Qg(HA,TA,OA,jA,XA){let ZA=_A(HA,jA,TA,OA);return wA?ZA=(XA===yA?MA:fA)(HA,jA,ZA):XA===yA&&ZA++,ZA===-1||ZA===HA.length?-1:ZA}function Mg(HA,TA,OA,jA,XA){let ZA=Qg(HA,TA,OA,jA,GA);if(!wA&&XA===yA&&ZA++,ZA===-1||ZA===HA.length)return[];const gg=wA?jA:HA[ZA][sA];wA||(ZA=fA(HA,gg,ZA));const og=MA(HA,gg,ZA),ig=[];for(;ZA<=og;ZA++){const Cg=HA[ZA];ig.push(wg(Cg[rA]+1,Cg[lA]))}return ig}function Fg(HA,TA,OA,jA,XA,ZA){var gg;if(OA--,OA<0)throw new Error(nA);if(jA<0)throw new Error(DA);const{sources:og,resolvedSources:ig}=HA;let Cg=og.indexOf(TA);if(Cg===-1&&(Cg=ig.indexOf(TA)),Cg===-1)return ZA?[]:wg(null,null);const ng=((gg=HA)._bySources||(gg._bySources=bA(KA(HA),HA._bySourceMemos=og.map(LA))))[Cg][OA];if(ng==null)return ZA?[]:wg(null,null);const Eg=HA._bySourceMemos[Cg];if(ZA)return Mg(ng,Eg,OA,jA,XA);const dg=Qg(ng,Eg,OA,jA,XA);if(dg===-1)return wg(null,null);const kg=ng[dg];return wg(kg[rA]+1,kg[lA])}tA.AnyMap=NA,tA.GREATEST_LOWER_BOUND=GA,tA.LEAST_UPPER_BOUND=yA,tA.TraceMap=SA,tA.allGeneratedPositionsFor=PA,tA.decodedMap=ug,tA.decodedMappings=KA,tA.eachMapping=zA,tA.encodedMap=yg,tA.encodedMappings=UA,tA.generatedPositionFor=VA,tA.isIgnored=eg,tA.originalPositionFor=$A,tA.presortedDecodedMap=sg,tA.sourceContentFor=Ag,tA.traceSegment=qA})}(traceMapping_umd,traceMapping_umd.exports)),traceMapping_umd.exports}var genMapping_umd={exports:{}},setArray_umd={exports:{}},hasRequiredSetArray_umd;function requireSetArray_umd(){return hasRequiredSetArray_umd||(hasRequiredSetArray_umd=1,function(eA,AA){(function(tA,gA){gA(AA)})(commonjsGlobal,function(tA){class gA{constructor(){this._indexes={__proto__:null},this.array=[]}}function iA(oA){return oA}function IA(oA,QA){return oA._indexes[QA]}function BA(oA,QA){const EA=IA(oA,QA);if(EA!==void 0)return EA;const{array:rA,_indexes:lA}=oA,uA=rA.push(QA);return lA[QA]=uA-1}function sA(oA){const{array:QA,_indexes:EA}=oA;if(QA.length===0)return;const rA=QA.pop();EA[rA]=void 0}function CA(oA,QA){const EA=IA(oA,QA);if(EA===void 0)return;const{array:rA,_indexes:lA}=oA;for(let uA=EA+1;uA<rA.length;uA++){const cA=rA[uA];rA[uA-1]=cA,lA[cA]--}lA[QA]=void 0,rA.pop()}tA.SetArray=gA,tA.get=IA,tA.pop=sA,tA.put=BA,tA.remove=CA,Object.defineProperty(tA,"__esModule",{value:!0})})}(setArray_umd,setArray_umd.exports)),setArray_umd.exports}var hasRequiredGenMapping_umd;function requireGenMapping_umd(){return hasRequiredGenMapping_umd||(hasRequiredGenMapping_umd=1,function(eA,AA){(function(tA,gA){gA(AA,requireSetArray_umd(),sourcemapCodec_umdExports,requireTraceMapping_umd())})(commonjsGlobal,function(tA,gA,iA,IA){class rA{constructor({file:nA,sourceRoot:DA}={}){this._names=new gA.SetArray,this._sources=new gA.SetArray,this._sourcesContent=[],this._mappings=[],this.file=nA,this.sourceRoot=DA,this._ignoreList=new gA.SetArray}}function lA(aA){return aA}function uA(aA,nA,DA,yA,GA,SA,YA,UA){return _A(!1,aA,nA,DA,yA,GA,SA,YA,UA)}function cA(aA,nA){return kA(!1,aA,nA)}const hA=(aA,nA,DA,yA,GA,SA,YA,UA)=>_A(!0,aA,nA,DA,yA,GA,SA,YA,UA),dA=(aA,nA)=>kA(!0,aA,nA);function pA(aA,nA,DA){const{_sources:yA,_sourcesContent:GA}=aA,SA=gA.put(yA,nA);GA[SA]=DA}function wA(aA,nA,DA=!0){const{_sources:yA,_sourcesContent:GA,_ignoreList:SA}=aA,YA=gA.put(yA,nA);YA===GA.length&&(GA[YA]=null),DA?gA.put(SA,YA):gA.remove(SA,YA)}function mA(aA){const{_mappings:nA,_sources:DA,_sourcesContent:yA,_names:GA,_ignoreList:SA}=aA;return NA(nA),{version:3,file:aA.file||void 0,names:GA.array,sourceRoot:aA.sourceRoot||void 0,sources:DA.array,sourcesContent:yA,mappings:nA,ignoreList:SA.array}}function MA(aA){const nA=mA(aA);return Object.assign(Object.assign({},nA),{mappings:iA.encode(nA.mappings)})}function fA(aA){const nA=new IA.TraceMap(aA),DA=new rA({file:nA.file,sourceRoot:nA.sourceRoot});return FA(DA._names,nA.names),FA(DA._sources,nA.sources),DA._sourcesContent=nA.sourcesContent||nA.sources.map(()=>null),DA._mappings=IA.decodedMappings(nA),nA.ignoreList&&FA(DA._ignoreList,nA.ignoreList),DA}function LA(aA){const nA=[],{_mappings:DA,_sources:yA,_names:GA}=aA;for(let SA=0;SA<DA.length;SA++){const YA=DA[SA];for(let UA=0;UA<YA.length;UA++){const KA=YA[UA],qA={line:SA+1,column:KA[0]};let $A,VA,PA;KA.length!==1&&($A=yA.array[KA[1]],VA={line:KA[2]+1,column:KA[3]},KA.length===5&&(PA=GA.array[KA[4]])),nA.push({generated:qA,source:$A,original:VA,name:PA})}}return nA}function _A(aA,nA,DA,yA,GA,SA,YA,UA,KA){const{_mappings:qA,_sources:$A,_sourcesContent:VA,_names:PA}=nA,zA=bA(qA,DA),WA=JA(zA,yA);if(!GA)return aA&&vA(zA,WA)?void 0:RA(zA,WA,[yA]);const Ag=gA.put($A,GA),eg=UA?gA.put(PA,UA):-1;if(Ag===VA.length&&(VA[Ag]=KA??null),!(aA&&xA(zA,WA,Ag,SA,YA,eg)))return RA(zA,WA,UA?[yA,Ag,SA,YA,eg]:[yA,Ag,SA,YA])}function bA(aA,nA){for(let DA=aA.length;DA<=nA;DA++)aA[DA]=[];return aA[nA]}function JA(aA,nA){let DA=aA.length;for(let yA=DA-1;yA>=0;DA=yA--){const GA=aA[yA];if(nA>=GA[0])break}return DA}function RA(aA,nA,DA){for(let yA=aA.length;yA>nA;yA--)aA[yA]=aA[yA-1];aA[nA]=DA}function NA(aA){const{length:nA}=aA;let DA=nA;for(let yA=DA-1;yA>=0&&!(aA[yA].length>0);DA=yA,yA--);DA<nA&&(aA.length=DA)}function FA(aA,nA){for(let DA=0;DA<nA.length;DA++)gA.put(aA,nA[DA])}function vA(aA,nA){return nA===0?!0:aA[nA-1].length===1}function xA(aA,nA,DA,yA,GA,SA){if(nA===0)return!1;const YA=aA[nA-1];return YA.length===1?!1:DA===YA[1]&&yA===YA[2]&&GA===YA[3]&&SA===(YA.length===5?YA[4]:-1)}function kA(aA,nA,DA){const{generated:yA,source:GA,original:SA,name:YA,content:UA}=DA;return GA?_A(aA,nA,yA.line-1,yA.column,GA,SA.line-1,SA.column,YA,UA):_A(aA,nA,yA.line-1,yA.column,null,null,null,null,null)}tA.GenMapping=rA,tA.addMapping=cA,tA.addSegment=uA,tA.allMappings=LA,tA.fromMap=fA,tA.maybeAddMapping=dA,tA.maybeAddSegment=hA,tA.setIgnore=wA,tA.setSourceContent=pA,tA.toDecodedMap=mA,tA.toEncodedMap=MA,Object.defineProperty(tA,"__esModule",{value:!0})})}(genMapping_umd,genMapping_umd.exports)),genMapping_umd.exports}(function(eA,AA){(function(tA,gA){eA.exports=gA(requireTraceMapping_umd(),requireGenMapping_umd())})(commonjsGlobal,function(tA,gA){const iA=BA("",-1,-1,"",null,!1),IA=[];function BA(dA,pA,wA,mA,MA,fA){return{source:dA,line:pA,column:wA,name:mA,content:MA,ignore:fA}}function sA(dA,pA,wA,mA,MA){return{map:dA,sources:pA,source:wA,content:mA,ignore:MA}}function CA(dA,pA){return sA(dA,pA,"",null,!1)}function oA(dA,pA,wA){return sA(null,IA,dA,pA,wA)}function QA(dA){const pA=new gA.GenMapping({file:dA.map.file}),{sources:wA,map:mA}=dA,MA=mA.names,fA=tA.decodedMappings(mA);for(let LA=0;LA<fA.length;LA++){const _A=fA[LA];for(let bA=0;bA<_A.length;bA++){const JA=_A[bA],RA=JA[0];let NA=iA;if(JA.length!==1){const DA=wA[JA[1]];if(NA=EA(DA,JA[2],JA[3],JA.length===5?MA[JA[4]]:""),NA==null)continue}const{column:FA,line:vA,name:xA,content:kA,source:aA,ignore:nA}=NA;gA.maybeAddSegment(pA,LA,RA,aA,vA,FA,xA),aA&&kA!=null&&gA.setSourceContent(pA,aA,kA),nA&&gA.setIgnore(pA,aA,!0)}}return pA}function EA(dA,pA,wA,mA){if(!dA.map)return BA(dA.source,pA,wA,mA,dA.content,dA.ignore);const MA=tA.traceSegment(dA.map,pA,wA);return MA==null?null:MA.length===1?iA:EA(dA.sources[MA[1]],MA[2],MA[3],MA.length===5?dA.map.names[MA[4]]:mA)}function rA(dA){return Array.isArray(dA)?dA:[dA]}function lA(dA,pA){const wA=rA(dA).map(fA=>new tA.TraceMap(fA,"")),mA=wA.pop();for(let fA=0;fA<wA.length;fA++)if(wA[fA].sources.length>1)throw new Error(`Transformation map ${fA} must have exactly one source file.
57
57
  Did you specify these with the most recent transformation maps first?`);let MA=uA(mA,pA,"",0);for(let fA=wA.length-1;fA>=0;fA--)MA=CA(wA[fA],[MA]);return MA}function uA(dA,pA,wA,mA){const{resolvedSources:MA,sourcesContent:fA,ignoreList:LA}=dA,_A=mA+1,bA=MA.map((JA,RA)=>{const NA={importer:wA,depth:_A,source:JA||"",content:void 0,ignore:void 0},FA=pA(NA.source,NA),{source:vA,content:xA,ignore:kA}=NA;if(FA)return uA(new tA.TraceMap(FA,vA),pA,vA,_A);const aA=xA!==void 0?xA:fA?fA[RA]:null,nA=kA!==void 0?kA:LA?LA.includes(RA):!1;return oA(vA,aA,nA)});return CA(dA,bA)}class cA{constructor(pA,wA){const mA=wA.decodedMappings?gA.toDecodedMap(pA):gA.toEncodedMap(pA);this.version=mA.version,this.file=mA.file,this.mappings=mA.mappings,this.names=mA.names,this.ignoreList=mA.ignoreList,this.sourceRoot=mA.sourceRoot,this.sources=mA.sources,wA.excludeContent||(this.sourcesContent=mA.sourcesContent)}toString(){return JSON.stringify(this)}}function hA(dA,pA,wA){const mA=typeof wA=="object"?wA:{excludeContent:!!wA,decodedMappings:!1},MA=lA(dA,pA);return new cA(QA(MA),mA)}return hA})})(remapping_umd);var remapping_umdExports=remapping_umd.exports,remapping=getDefaultExportFromCjs(remapping_umdExports);const b64enc=typeof window<"u"&&typeof btoa=="function"?eA=>btoa(unescape(encodeURIComponent(eA))):eA=>Buffer.from(eA).toString("base64");function combine_sourcemaps(eA,AA){if(AA.length==0)return null;let tA=1;const gA=AA.slice(0,-1).find(iA=>iA.sources.length!==1)===void 0?remapping(AA,()=>null,!0):remapping(AA[0],iA=>iA===eA&&AA[tA]?AA[tA++]:null,!0);return gA.file||delete gA.file,gA.sources.length||(gA.sources=[eA]),gA}function apply_preprocessor_sourcemap(eA,AA,tA){if(!AA||!tA)return AA;const gA=typeof tA=="string"?JSON.parse(tA):tA,iA=combine_sourcemaps(eA,[AA,gA]);return Object.defineProperties(iA,{toString:{enumerable:!1,value:function(){return JSON.stringify(this)}},toUrl:{enumerable:!1,value:function(){return"data:application/json;charset=utf-8;base64,"+b64enc(this.toString())}}}),iA}function merge_with_preprocessor_map(eA,AA,tA){if(AA.sourcemap){const gA=get_basename(AA.filename);eA.map.sources=[gA],eA.map=apply_preprocessor_sourcemap(gA,eA.map,AA.sourcemap),gA!==tA&&(eA.map.sources=eA.map.sources.map(iA=>get_relative_path(tA,iA)))}}function get_relative_path(eA,AA){const tA=eA.split(/[/\\]/),gA=AA.split(/[/\\]/);for(tA.pop();tA[0]===gA[0];)tA.shift(),gA.shift();if(tA.length){let iA=tA.length;for(;iA--;)tA[iA]=".."}return tA.concat(gA).join("/")}function get_basename(eA){return eA.split(/[/\\]/).pop()}function get_source_name(eA,AA,tA){return AA?get_relative_path(AA,eA):get_basename(eA)}function render_stylesheet(eA,AA,tA){const gA=new MagicString(eA),iA={code:gA,hash:AA.css.hash,minify:AA.inject_styles&&!tA.dev,selector:`.${AA.css.hash}`,keyframes:AA.css.keyframes,specificity:{bumped:!1}},IA=AA.css.ast;walk(IA,iA,visitors$1),gA.remove(0,IA.content.start),gA.remove(IA.content.end,eA.length),iA.minify&&remove_preceding_whitespace(IA.content.end,iA);const BA={code:gA.toString(),map:gA.generateMap({includeContent:!0,source:tA.filename,file:tA.cssOutputFilename||tA.filename})};return merge_with_preprocessor_map(BA,tA,BA.map.sources[0]),dev&&tA.css==="injected"&&BA.code&&(BA.code+=`
58
58
  /*# sourceMappingURL=${BA.map.toUrl()} */`),BA}const visitors$1={_:(eA,AA)=>{AA.state.code.addSourcemapLocation(eA.start),AA.state.code.addSourcemapLocation(eA.end),AA.next()},Atrule(eA,{state:AA,next:tA}){if(is_keyframes_node(eA)){let gA=eA.start+eA.name.length+1;for(;AA.code.original[gA]===" ";)gA+=1;let iA=gA;for(;AA.code.original[iA]!=="{"&&AA.code.original[iA]!==" ";)iA+=1;eA.prelude.startsWith("-global-")?AA.code.remove(gA,gA+8):AA.code.prependRight(gA,`${AA.hash}-`);return}tA()},Declaration(eA,{state:AA}){const tA=eA.property&&remove_css_prefix(eA.property.toLowerCase());if(tA==="animation"||tA==="animation-name"){let gA=eA.start+eA.property.length+1,iA="";for(;gA<AA.code.original.length;){const IA=AA.code.original[gA];if(regex_css_name_boundary.test(IA)){if(AA.keyframes.includes(iA)&&AA.code.prependRight(gA-iA.length,`${AA.hash}-`),IA===";"||IA==="}")break;iA=""}else iA+=IA;gA++}}else if(AA.minify&&(remove_preceding_whitespace(eA.start,AA),!eA.property.startsWith("--"))){let gA=eA.start+eA.property.length+1,iA=gA;for(;/\s/.test(AA.code.original[iA]);)iA++;iA>gA&&AA.code.remove(gA,iA)}},Rule(eA,{state:AA,next:tA,visit:gA}){if(AA.minify&&(remove_preceding_whitespace(eA.start,AA),remove_preceding_whitespace(eA.block.end-1,AA)),!dev&&is_empty(eA)){AA.minify?AA.code.remove(eA.start,eA.end):(AA.code.prependRight(eA.start,"/* (empty) "),AA.code.appendLeft(eA.end,"*/"),escape_comment_close(eA,AA.code));return}if(!is_used(eA)){AA.minify?AA.code.remove(eA.start,eA.end):(AA.code.prependRight(eA.start,"/* (unused) "),AA.code.appendLeft(eA.end,"*/"),escape_comment_close(eA,AA.code));return}if(eA.metadata.is_global_block){const iA=eA.prelude.children[0];if(iA.children.length===1&&iA.children[0].selectors.length===1){AA.minify?(AA.code.remove(eA.start,eA.block.start+1),AA.code.remove(eA.block.end-1,eA.end)):(AA.code.prependRight(eA.start,"/* "),AA.code.appendLeft(eA.block.start+1,"*/"),AA.code.prependRight(eA.block.end-1,"/*"),AA.code.appendLeft(eA.block.end,"*/"));return}gA(eA.prelude);return}tA()},SelectorList(eA,{state:AA,next:tA,path:gA}){if(!gA.find(BA=>BA.type==="ComplexSelector"&&!BA.metadata.used)){const BA=eA.children;let sA=!1,CA=BA[0].start,oA=CA;for(let QA=0;QA<BA.length;QA+=1){const EA=BA[QA];if(EA.metadata.used===sA){if(sA){let rA=EA.start;for(;AA.code.original[rA]!==",";)rA--;AA.minify?AA.code.remove(CA,rA+1):AA.code.overwrite(rA,rA+1,"*/")}else if(QA===0)AA.minify?CA=EA.start:AA.code.prependRight(EA.start,"/* (unused) ");else{const rA=QA!==BA.length-1?",":"";if(AA.minify){if(CA=oA,rA){for(;AA.code.original[CA-1]!==",";)CA++;AA.code.update(oA,CA,rA)}}else AA.code.overwrite(oA,EA.start,`${rA} /* (unused) `)}sA=!sA}oA=EA.end}sA&&(AA.minify?AA.code.remove(CA,oA):AA.code.appendLeft(oA,"*/"))}let iA=AA.specificity,IA=gA.at(-1);if((IA==null?void 0:IA.type)==="Rule"){iA={bumped:!1};let BA=IA.metadata.parent_rule;for(;BA;){if(BA.metadata.has_local_selectors){iA={bumped:!0};break}BA=BA.metadata.parent_rule}}tA({...AA,specificity:iA})},ComplexSelector(eA,AA){var gA;const tA=AA.state.specificity.bumped;for(const iA of eA.children){if(iA.metadata.is_global){const IA=iA.selectors[0];remove_global_pseudo_class(IA,iA.combinator,AA.state),(gA=eA.metadata.rule)!=null&&gA.metadata.parent_rule&&IA.args===null&&iA.combinator===null&&AA.state.code.prependRight(IA.start,"&");continue}if(iA.metadata.scoped){if(iA.selectors.length===1){const sA=iA.selectors[0];if(sA.type==="PseudoClassSelector"&&(sA.name==="is"||sA.name==="where"))continue}for(const sA of iA.selectors)sA.type==="PseudoClassSelector"&&sA.name==="global"&&remove_global_pseudo_class(sA,null,AA.state);if(iA.selectors.some(sA=>sA.type==="NestingSelector"))continue;let IA=AA.state.selector;AA.state.specificity.bumped&&(IA=`:where(${IA})`),AA.state.specificity.bumped=!0;let BA=iA.selectors.length;for(;BA--;){const sA=iA.selectors[BA];if(sA.type==="PseudoElementSelector"||sA.type==="PseudoClassSelector"){sA.name!=="root"&&sA.name!=="host"&&BA===0&&AA.state.code.prependRight(sA.start,IA);continue}sA.type==="TypeSelector"&&sA.name==="*"?AA.state.code.update(sA.start,sA.end,IA):AA.state.code.appendLeft(sA.end,IA);break}}}AA.next(),AA.state.specificity.bumped=tA},PseudoClassSelector(eA,AA){(eA.name==="is"||eA.name==="where"||eA.name==="has"||eA.name==="not")&&AA.next()}};function remove_global_pseudo_class(eA,AA,tA){if(eA.args===null){let gA=eA.start;if((AA==null?void 0:AA.name)===" ")for(;/\s/.test(tA.code.original[gA-1]);)gA--;tA.code.remove(gA,eA.start+7)}else tA.code.remove(eA.start,eA.start+8).remove(eA.end-1,eA.end)}function remove_preceding_whitespace(eA,AA){let tA=eA;for(;/\s/.test(AA.code.original[tA-1]);)tA--;tA<eA&&AA.code.remove(tA,eA)}function is_empty(eA){if(eA.metadata.is_global_block)return eA.block.children.length===0;for(const AA of eA.block.children)if(AA.type==="Declaration"||AA.type==="Rule"&&is_used(AA)&&!is_empty(AA)||AA.type==="Atrule"&&(AA.block===null||AA.block.children.length>0))return!1;return!0}function is_used(eA){return eA.prelude.children.some(AA=>AA.metadata.used)}function escape_comment_close(eA,AA){let tA=!1,gA=!1;for(let iA=eA.start;iA<eA.end;iA++)if(tA)tA=!1;else{const IA=AA.original[iA];gA?IA==="*"&&AA.original[iA+1]==="/"&&(AA.prependRight(++iA,"\\"),gA=!1):IA==="\\"?tA=!0:IA==="/"&&AA.original[++iA]==="*"&&(gA=!0)}}function visit_assignment_expression(eA,AA,tA){if(eA.left.type==="ArrayPattern"||eA.left.type==="ObjectPattern"||eA.left.type==="RestElement"){const gA=AA.visit(eA.right),iA=gA.type!=="Identifier",IA=iA?id$1("$$value"):gA;let BA=!1;const sA=extract_paths(eA.left).map(QA=>{var lA;const EA=(lA=QA.expression)==null?void 0:lA.call(QA,IA);let rA=tA("=",QA.node,EA,AA);return rA!==null&&(BA=!0),rA??assignment("=",AA.visit(QA.node),AA.visit(EA))});if(!BA)return null;const CA=AA.path.at(-1).type.endsWith("Statement"),oA=sequence$1(sA);if(CA||oA.expressions.push(IA),iA){const QA=arrow([IA],oA);return is_expression_async(gA)||sA.some(rA=>is_expression_async(rA))?await_builder(call(async(QA),gA)):call(QA,gA)}return oA}if(eA.left.type!=="Identifier"&&eA.left.type!=="MemberExpression")throw new Error(`Unexpected assignment type ${eA.left.type}`);return tA(eA.operator,eA.left,eA.right,AA)}function AssignmentExpression$1(eA,AA){return visit_assignment_expression(eA,AA,build_assignment$1)??AA.next()}function build_assignment$1(eA,AA,tA,gA){let iA=AA;for(;iA.type==="MemberExpression";)iA=iA.object;if(iA.type!=="Identifier"||!is_store_name(iA.name))return null;const IA=iA.name.slice(1);if(!gA.state.scope.get(IA))return null;if(iA===AA){let BA=gA.visit(build_assignment_value(eA,AA,tA));return call("$.store_set",id$1(IA),BA)}return call("$.store_mutate",assignment("??=",id$1("$$store_subs"),object$2([])),literal(iA.name),id$1(IA),assignment(eA,gA.visit(AA),gA.visit(tA)))}function is_store_name(eA){return eA[0]==="$"&&/[A-Za-z_]/.test(eA[1])}const ATTR_REGEX=/[&"<]/g,CONTENT_REGEX=/[&<]/g;function escape_html(eA,AA){const tA=String(eA??""),gA=AA?ATTR_REGEX:CONTENT_REGEX;gA.lastIndex=0;let iA="",IA=0;for(;gA.test(tA);){const BA=gA.lastIndex-1,sA=tA[BA];iA+=tA.substring(IA,BA)+(sA==="&"?"&amp;":sA==='"'?"&quot;":"&lt;"),IA=BA+1}return iA+tA.substring(IA)}const BLOCK_OPEN=`<!--${HYDRATION_START}-->`,BLOCK_OPEN_ELSE=`<!--${HYDRATION_START_ELSE}-->`,BLOCK_CLOSE=`<!--${HYDRATION_END}-->`,EMPTY_COMMENT="<!---->",block_open=literal(BLOCK_OPEN),block_close=literal(BLOCK_CLOSE),empty_comment=literal(EMPTY_COMMENT);function process_children$1(eA,{visit:AA,state:tA}){let gA=[];function iA(){let IA=quasi("",!1);const BA=[IA],sA=[];for(let CA=0;CA<gA.length;CA++){const oA=gA[CA];oA.type==="Text"||oA.type==="Comment"?IA.value.cooked+=oA.type==="Comment"?`<!--${oA.data}-->`:escape_html(oA.data):oA.type==="ExpressionTag"&&oA.expression.type==="Literal"?oA.expression.value!=null&&(IA.value.cooked+=escape_html(oA.expression.value+"")):(sA.push(call("$.escape",AA(oA.expression))),IA=quasi("",CA+1===gA.length),BA.push(IA))}for(const CA of BA)CA.value.raw=sanitize_template_string(CA.value.cooked);tA.template.push(template(BA,sA))}for(let IA=0;IA<eA.length;IA+=1){const BA=eA[IA];BA.type==="Text"||BA.type==="Comment"||BA.type==="ExpressionTag"?gA.push(BA):(gA.length>0&&(iA(),gA=[]),AA(BA,{...tA}))}gA.length>0&&iA()}function is_statement(eA){return eA.type.endsWith("Statement")||eA.type.endsWith("Declaration")}function build_template(eA,AA=id$1("$$payload.out"),tA="+="){let gA=[],iA=[];const IA=[],BA=()=>{IA.push(stmt(assignment(tA,AA,template(gA.map((sA,CA)=>quasi(sA,CA===gA.length-1)),iA)))),gA=[],iA=[]};for(let sA=0;sA<eA.length;sA++){const CA=eA[sA];is_statement(CA)?(gA.length!==0&&BA(),IA.push(CA)):(gA.length===0&&gA.push(""),CA.type==="Literal"?gA[gA.length-1]+=CA.value:CA.type==="TemplateLiteral"?(gA[gA.length-1]+=CA.quasis[0].value.cooked,gA.push(...CA.quasis.slice(1).map(oA=>oA.value.cooked)),iA.push(...CA.expressions)):(iA.push(CA),gA.push("")))}return gA.length!==0&&BA(),IA}function build_attribute_value$1(eA,AA,tA=!1,gA=!1){if(eA===!0)return true_instance;if(!Array.isArray(eA)||eA.length===1){const sA=Array.isArray(eA)?eA[0]:eA;if(sA.type==="Text"){const CA=tA?sA.data.replace(regex_whitespaces_strict," ").trim():sA.data;return literal(gA?CA:escape_html(CA,!0))}return AA.visit(sA.expression)}let iA=quasi("",!1);const IA=[iA],BA=[];for(let sA=0;sA<eA.length;sA++){const CA=eA[sA];CA.type==="Text"?iA.value.raw+=tA?CA.data.replace(regex_whitespaces_strict," "):CA.data:(BA.push(call("$.stringify",AA.visit(CA.expression))),iA=quasi("",sA+1===eA.length),IA.push(iA))}return template(IA,BA)}function build_getter(eA,AA){const tA=AA.scope.get(eA.name);if(tA===null||eA===tA.node)return eA;if(tA.kind==="store_sub"){const gA=id$1(eA.name.slice(1));return call("$.store_get",assignment("??=",id$1("$$store_subs"),object$2([])),literal(eA.name),build_getter(gA,AA))}return eA}function AwaitBlock$1(eA,AA){AA.state.template.push(empty_comment,stmt(call("$.await",AA.visit(eA.expression),thunk(eA.pending?AA.visit(eA.pending):block([])),arrow(eA.value?[AA.visit(eA.value)]:[],eA.then?AA.visit(eA.then):block([])),arrow(eA.error?[AA.visit(eA.error)]:[],eA.catch?AA.visit(eA.catch):block([])))),empty_comment)}function is_hoisted_function(eA){var AA;return eA.type==="ArrowFunctionExpression"||eA.type==="FunctionExpression"||eA.type==="FunctionDeclaration"?((AA=eA.metadata)==null?void 0:AA.hoisted)===!0:!1}function sort_const_tags(eA,AA){const tA=[],gA=new Map;for(const CA of eA)if(CA.type==="ConstTag"){const oA=CA.declaration.declarations[0],QA=extract_identifiers(oA.id).map(rA=>AA.scope.get(rA.name)),EA=new Set;walk(oA.init,AA,{_:set_scope,Identifier(rA,lA){const uA=lA.path.at(-1);if(is_reference(rA,uA)){const cA=lA.state.scope.get(rA.name);cA&&EA.add(cA)}}});for(const rA of QA)gA.set(rA,{node:CA,deps:EA})}else tA.push(CA);if(gA.size===0)return eA;const iA=[];for(const[CA,oA]of gA)for(const QA of oA.deps)gA.has(QA)&&iA.push([CA,QA]);const IA=check_graph_for_cycles(iA);if(IA!=null&&IA.length){const CA=gA.get(IA[0]);const_tag_cycle(CA.node,IA.map(oA=>oA.node.name).join(" → "))}const BA=[];function sA(CA){if(!BA.includes(CA.node)){for(const oA of CA.deps){const QA=gA.get(oA);QA&&sA(QA)}BA.push(CA.node)}}for(const CA of gA.values())sA(CA);return[...BA,...tA]}function clean_nodes(eA,AA,tA,gA="html",iA,IA,BA){iA.analysis.runes||(AA=sort_const_tags(AA,iA));const sA=[],CA=[];for(const EA of AA)EA.type==="Comment"&&!BA||(EA.type==="ConstTag"||EA.type==="DebugTag"||EA.type==="SvelteBody"||EA.type==="SvelteWindow"||EA.type==="SvelteDocument"||EA.type==="SvelteHead"||EA.type==="TitleElement"||EA.type==="SnippetBlock"?sA.push(EA):CA.push(EA));let oA=CA;if(!IA){oA=[];let EA,rA;for(;(EA=CA[0])&&EA.type==="Text"&&!regex_not_whitespace.test(EA.data);)CA.shift();for((EA==null?void 0:EA.type)==="Text"&&(EA.raw=EA.raw.replace(regex_starts_with_whitespaces,""),EA.data=EA.data.replace(regex_starts_with_whitespaces,""));(rA=CA.at(-1))&&rA.type==="Text"&&!regex_not_whitespace.test(rA.data);)CA.pop();(rA==null?void 0:rA.type)==="Text"&&(rA.raw=rA.raw.replace(regex_ends_with_whitespaces,""),rA.data=rA.data.replace(regex_ends_with_whitespaces,""));const lA=gA==="svg"&&(eA.type!=="RegularElement"||eA.name!=="text")&&!tA.some(uA=>uA.type==="RegularElement"&&uA.name==="text")||eA.type==="RegularElement"&&(eA.name==="select"||eA.name==="tr"||eA.name==="table"||eA.name==="tbody"||eA.name==="thead"||eA.name==="tfoot"||eA.name==="colgroup"||eA.name==="datalist");for(let uA=0;uA<CA.length;uA++){const cA=CA[uA-1],hA=CA[uA],dA=CA[uA+1];if(hA.type==="Text"){if((cA==null?void 0:cA.type)!=="ExpressionTag"){const pA=(cA==null?void 0:cA.type)==="Text"&&regex_ends_with_whitespaces.test(cA.data);hA.data=hA.data.replace(regex_starts_with_whitespaces,pA?"":" "),hA.raw=hA.raw.replace(regex_starts_with_whitespaces,pA?"":" ")}(dA==null?void 0:dA.type)!=="ExpressionTag"&&(hA.data=hA.data.replace(regex_ends_with_whitespaces," "),hA.raw=hA.raw.replace(regex_ends_with_whitespaces," ")),hA.data&&(hA.data!==" "||!lA)&&oA.push(hA)}else oA.push(hA)}}var QA=oA[0];return oA.length===1&&QA.type==="RegularElement"&&QA.name==="script"&&oA.push({type:"Comment",data:"",parent:QA.parent,start:-1,end:-1}),{hoisted:sA,trimmed:oA,is_standalone:oA.length===1&&(QA.type==="RenderTag"&&!QA.metadata.dynamic||QA.type==="Component"&&!iA.options.hmr&&!QA.metadata.dynamic&&!QA.attributes.some(EA=>EA.type==="Attribute"&&EA.name.startsWith("--"))),is_text_first:(eA.type==="Fragment"||eA.type==="SnippetBlock"||eA.type==="EachBlock"||eA.type==="SvelteComponent"||eA.type==="Component"||eA.type==="SvelteSelf")&&QA&&((QA==null?void 0:QA.type)==="Text"||(QA==null?void 0:QA.type)==="ExpressionTag")}}function infer_namespace(eA,AA,tA){if(AA.type==="RegularElement"&&AA.name==="foreignObject")return"html";if(AA.type==="RegularElement"||AA.type==="SvelteElement")return AA.metadata.svg?"svg":AA.metadata.mathml?"mathml":"html";if(AA.type==="Fragment"||AA.type==="Root"||AA.type==="Component"||AA.type==="SvelteComponent"||AA.type==="SvelteFragment"||AA.type==="SnippetBlock"||AA.type==="SlotElement"){const gA=check_nodes_for_namespace(tA,"keep");if(gA!=="keep"&&gA!=="maybe_html")return gA}return eA}function check_nodes_for_namespace(eA,AA){const tA=(gA,{stop:iA})=>{!gA.metadata.svg&&!gA.metadata.mathml?(AA="html",iA()):AA==="keep"&&(AA=gA.metadata.svg?"svg":"mathml")};for(const gA of eA)if(walk(gA,{},{_(iA,{next:IA}){(iA.type==="EachBlock"||iA.type==="IfBlock"||iA.type==="AwaitBlock"||iA.type==="Fragment"||iA.type==="KeyBlock"||iA.type==="RegularElement"||iA.type==="SvelteElement"||iA.type==="Text")&&IA()},SvelteElement:tA,RegularElement:tA,Text(iA){iA.data.trim()!==""&&(AA="maybe_html")}}),AA==="html")return AA;return AA}function determine_namespace_for_children(eA,AA){return eA.name==="foreignObject"?"html":eA.metadata.svg?"svg":eA.metadata.mathml?"mathml":"html"}function transform_inspect_rune(eA,AA){const{state:tA,visit:gA}=AA,iA=tA.options.generate==="client";if(!dev)return empty;if(eA.callee.type==="MemberExpression"){const BA=eA.callee.object.arguments.map(CA=>gA(CA)),sA=gA(eA.arguments[0]);return call("$.inspect",iA?thunk(array(BA)):array(BA),sA)}else{const IA=eA.arguments.map(BA=>gA(BA));return call("$.inspect",iA?thunk(array(IA)):array(IA))}}function CallExpression$1(eA,AA){const tA=get_rune(eA,AA.state.scope);if(tA==="$host")return id$1("undefined");if(tA==="$effect.tracking")return literal(!1);if(tA==="$effect.root")return arrow([],block([]));if(tA==="$state.snapshot")return call("$.snapshot",AA.visit(eA.arguments[0]),is_ignored(eA,"state_snapshot_uncloneable")&&true_instance);if(tA==="$inspect"||tA==="$inspect().with")return transform_inspect_rune(eA,AA);AA.next()}function ClassBody$1(eA,AA){var sA,CA;if(!AA.state.analysis.runes){AA.next();return}const tA=new Map,gA=new Map,iA=[];for(const oA of eA.body)if(oA.type==="PropertyDefinition"&&(oA.key.type==="Identifier"||oA.key.type==="PrivateIdentifier")){const{type:QA,name:EA}=oA.key,rA=QA==="PrivateIdentifier";if(rA&&iA.push(EA),((sA=oA.value)==null?void 0:sA.type)==="CallExpression"){const lA=get_rune(oA.value,AA.state.scope);if(lA==="$derived"||lA==="$derived.by"){const uA={kind:lA==="$derived.by"?"derived_by":"derived",id:rA?oA.key:null};rA?gA.set(EA,uA):tA.set(EA,uA)}}}for(const[oA,QA]of tA){let EA=oA;for(;iA.includes(EA);)EA="_"+EA;iA.push(EA),QA.id=private_id(EA)}const IA=[],BA={...AA.state,private_derived:gA};for(const oA of eA.body){if(oA.type==="PropertyDefinition"&&(oA.key.type==="Identifier"||oA.key.type==="PrivateIdentifier")){const QA=oA.key.name,EA=oA.key.type==="PrivateIdentifier",rA=(EA?gA:tA).get(QA);if(((CA=oA.value)==null?void 0:CA.type)==="CallExpression"&&rA!==void 0){const lA=AA.visit(oA.value.arguments[0],BA),uA=rA.kind==="derived_by"?call("$.once",lA):call("$.once",thunk(lA));if(EA)IA.push(prop_def(rA.id,uA));else{const cA=member(this_instance,rA.id);IA.push(prop_def(rA.id,uA)),IA.push(method("get",oA.key,[],[return_builder(call(cA))])),dev&&(rA.kind==="derived"||rA.kind==="derived_by")&&IA.push(method("set",oA.key,[id$1("_")],[throw_error$1(`Cannot update a derived property ('${QA}')`)]))}continue}}IA.push(AA.visit(oA,BA))}return{...eA,body:IA}}function build_inline_component(eA,AA,tA){const gA=[],iA=[],IA={default:[]},BA={...tA.state,scope:eA.metadata.scopes.default},sA={},CA=eA.attributes.some(hA=>hA.type==="Attribute"&&hA.name==="slot");let oA=!1;function QA(hA){const dA=gA.at(-1),pA=Array.isArray(dA),wA=pA?dA:[];wA.push(hA),pA||gA.push(wA)}for(const hA of eA.attributes)if(hA.type==="LetDirective")CA||IA.default.push(hA);else if(hA.type==="SpreadAttribute")gA.push(tA.visit(hA));else if(hA.type==="Attribute"){if(hA.name.startsWith("--")){const pA=build_attribute_value$1(hA.value,tA,!1,!0);iA.push(init(hA.name,pA));continue}hA.name==="children"&&(oA=!0);const dA=build_attribute_value$1(hA.value,tA,!1,!0);QA(prop("init",key$2(hA.name),dA))}else hA.type==="BindDirective"&&hA.name!=="this"&&(QA(get(hA.name,[return_builder(tA.visit(hA.expression))])),QA(set(hA.name,[stmt(tA.visit(assignment("=",hA.expression,id$1("$$value")))),stmt(assignment("=",id$1("$$settled"),false_instance))])));const EA=[],rA=[];for(const hA of eA.fragment.nodes){if(hA.type==="SnippetBlock"){tA.visit(hA,{...tA.state,init:EA}),QA(prop("init",hA.expression,hA.expression)),rA.push(init(hA.expression.name==="children"?"default":hA.expression.name,true_instance));continue}let dA="default";if(is_element_node(hA)){const pA=hA.attributes.find(wA=>wA.type==="Attribute"&&wA.name==="slot");pA!==void 0?(dA=pA.value[0].data,IA[dA]=hA.attributes.filter(wA=>wA.type==="LetDirective")):hA.type==="SvelteFragment"&&IA.default.push(...hA.attributes.filter(wA=>wA.type==="LetDirective"))}sA[dA]=sA[dA]||[],sA[dA].push(hA)}for(const hA of Object.keys(sA)){const dA=tA.visit({...eA.fragment,nodes:sA[hA]},hA==="default"?BA:{...tA.state,scope:eA.metadata.scopes[hA]});if(dA.body.length===0)continue;const pA=[id$1("$$payload")];if(IA[hA].length>0){const mA=object_pattern(IA[hA].map(MA=>MA.expression===null?init(MA.name,id$1(MA.name)):MA.expression.type==="ObjectExpression"?init(MA.name,object_pattern(MA.expression.properties)):MA.expression.type==="ArrayExpression"?init(MA.name,array_pattern(MA.expression.elements)):init(MA.name,MA.expression)));pA.push(mA)}const wA=arrow(pA,block(dA.body));hA==="default"&&!oA?IA.default.length===0&&sA.default.every(mA=>mA.type!=="SvelteFragment"||!mA.attributes.some(MA=>MA.type==="LetDirective"))?(QA(prop("init",id$1("children"),wA)),rA.push(init(hA,true_instance))):(rA.push(init(hA,wA)),QA(init("children",id$1("$.invalid_default_snippet")))):rA.push(init(hA,wA))}rA.length>0&&QA(prop("init",id$1("$$slots"),object$2(rA)));const lA=gA.length===0||gA.length===1&&Array.isArray(gA[0])?object$2(gA[0]||[]):call("$.spread_props",array(gA.map(hA=>Array.isArray(hA)?object$2(hA):hA)));let uA=stmt((eA.type==="SvelteComponent"?maybe_call:call)(AA,id$1("$$payload"),lA));EA.length>0&&(uA=block([...EA,uA]));const cA=eA.type==="SvelteComponent"||eA.type==="Component"&&eA.metadata.dynamic;iA.length>0?tA.state.template.push(stmt(call("$.css_props",id$1("$$payload"),literal(tA.state.namespace!=="svg"),object$2(iA),thunk(block([uA])),cA&&true_instance))):(cA&&tA.state.template.push(empty_comment),tA.state.template.push(uA),tA.state.skip_hydration_boundaries||tA.state.template.push(empty_comment))}function Component$1(eA,AA){build_inline_component(eA,id$1(eA.name),AA)}function ConstTag$1(eA,AA){const tA=eA.declaration.declarations[0],gA=AA.visit(tA.id),iA=AA.visit(tA.init);AA.state.init.push(const_builder(gA,iA))}function DebugTag$1(eA,AA){AA.state.template.push(stmt(call("console.log",object$2(eA.identifiers.map(tA=>prop("init",tA,AA.visit(tA)))))),debugger_builder)}function EachBlock$1(eA,AA){const tA=AA.state,gA=eA.metadata,iA=AA.visit(eA.expression),IA=gA.contains_group_binding||!eA.index?gA.index:id$1(eA.index),BA=tA.scope.root.unique("each_array");tA.init.push(const_builder(BA,call("$.ensure_array_like",iA)));const sA=[let_builder(eA.context,member(BA,IA,!0))];IA.name!==eA.index&&eA.index!=null&&sA.push(let_builder(eA.index,IA)),sA.push(...AA.visit(eA.body).body);const CA=for_builder(declaration("let",[declarator(IA,literal(0)),declarator("$$length",member(BA,"length"))]),binary("<",IA,id$1("$$length")),update("++",IA,!1),block(sA));if(eA.fallback){const oA=stmt(assignment("+=",id$1("$$payload.out"),block_open)),QA=AA.visit(eA.fallback);QA.body.unshift(stmt(assignment("+=",id$1("$$payload.out"),literal(BLOCK_OPEN_ELSE)))),tA.template.push(if_builder(binary("!==",member(BA,"length"),literal(0)),block([oA,CA]),QA),block_close)}else tA.template.push(block_open,CA,block_close)}function ExpressionStatement$1(eA,AA){const tA=get_rune(eA.expression,AA.state.scope);if(tA==="$effect"||tA==="$effect.pre"||tA==="$effect.root")return empty;AA.next()}function Fragment$1(eA,AA){const tA=AA.path.at(-1)??eA,gA=infer_namespace(AA.state.namespace,tA,eA.nodes),{hoisted:iA,trimmed:IA,is_standalone:BA,is_text_first:sA}=clean_nodes(tA,eA.nodes,AA.path,gA,AA.state,AA.state.preserve_whitespace,AA.state.options.preserveComments),CA={...AA.state,init:[],template:[],namespace:gA,skip_hydration_boundaries:BA};for(const oA of iA)AA.visit(oA,CA);return sA&&CA.template.push(empty_comment),process_children$1(IA,{...AA,state:CA}),block([...CA.init,...build_template(CA.template)])}function HtmlTag$1(eA,AA){const tA=AA.visit(eA.expression);AA.state.template.push(call("$.html",tA))}function Identifier$1(eA,AA){if(is_reference(eA,AA.path.at(-1)))return eA.name==="$$props"?id$1("$$sanitized_props"):build_getter(eA,AA.state)}function IfBlock$1(eA,AA){const tA=AA.visit(eA.test),gA=AA.visit(eA.consequent),iA=eA.alternate?AA.visit(eA.alternate):block([]);gA.body.unshift(stmt(assignment("+=",id$1("$$payload.out"),block_open))),iA.body.unshift(stmt(assignment("+=",id$1("$$payload.out"),literal(BLOCK_OPEN_ELSE)))),AA.state.template.push(if_builder(tA,gA,iA),block_close)}function KeyBlock$1(eA,AA){AA.state.template.push(empty_comment,AA.visit(eA.fragment),empty_comment)}function LabeledStatement$1(eA,AA){if(!(AA.state.analysis.runes||AA.path.length>1||eA.label.name!=="$"))return AA.state.legacy_reactive_statements.set(eA,labeled("$",AA.visit(eA.body))),empty}function MemberExpression$1(eA,AA){if(AA.state.analysis.runes&&eA.object.type==="ThisExpression"&&eA.property.type==="PrivateIdentifier"&&AA.state.private_derived.get(eA.property.name))return call(eA);AA.next()}function PropertyDefinition(eA,AA){if(AA.state.analysis.runes&&eA.value!=null&&eA.value.type==="CallExpression"){const tA=get_rune(eA.value,AA.state.scope);if(tA==="$state"||tA==="$state.raw"||tA==="$derived")return{...eA,value:eA.value.arguments.length===0?null:AA.visit(eA.value.arguments[0])};if(tA==="$derived.by")return{...eA,value:eA.value.arguments.length===0?null:call(AA.visit(eA.value.arguments[0]))}}AA.next()}const WHITESPACE_INSENSITIVE_ATTRIBUTES=["class","style"];function build_element_attributes(eA,AA){const tA=[],gA=[],iA=[];let IA=null,BA=!1,sA=-1,CA=-1,oA=new Set;for(const QA of eA.attributes)if(QA.type==="Attribute")QA.name==="value"?eA.name==="textarea"?(QA.value!==!0&&Array.isArray(QA.value)&&QA.value[0].type==="Text"&&regex_starts_with_newline.test(QA.value[0].data)&&(QA.value[0].data=`
59
59
  `+QA.value[0].data),IA=call("$.escape",build_attribute_value$1(QA.value,AA))):eA.name!=="select"&&tA.push(QA):is_event_attribute(QA)?(QA.name==="onload"||QA.name==="onerror")&&is_load_error_element(eA.name)&&oA.add(QA.name):(QA.name==="class"?sA=tA.length:QA.name==="style"&&(CA=tA.length),tA.push(QA));else if(QA.type==="BindDirective"){if(QA.name==="value"&&eA.name==="select"||QA.name==="value"&&tA.some(rA=>rA.type==="Attribute"&&rA.name==="type"&&is_text_attribute(rA)&&rA.value[0].data==="file")||QA.name==="this")continue;const EA=binding_properties[QA.name];if(EA!=null&&EA.omit_in_ssr)continue;if(is_content_editable_binding(QA.name))IA=AA.visit(QA.expression);else if(QA.name==="value"&&eA.name==="textarea")IA=call("$.escape",AA.visit(QA.expression));else if(QA.name==="group"){const rA=eA.attributes.find(uA=>uA.type==="Attribute"&&uA.name==="value");if(!rA)continue;const lA=eA.attributes.some(uA=>uA.type==="Attribute"&&uA.name==="type"&&is_text_attribute(uA)&&uA.value[0].data==="checkbox");tA.push(create_attribute("checked",-1,-1,[{type:"ExpressionTag",start:-1,end:-1,parent:QA,expression:lA?call(member(QA.expression,"includes"),build_attribute_value$1(rA.value,AA)):binary("===",QA.expression,build_attribute_value$1(rA.value,AA)),metadata:{expression:create_expression_metadata()}}]))}else tA.push(create_attribute(QA.name,-1,-1,[{type:"ExpressionTag",start:-1,end:-1,parent:QA,expression:QA.expression,metadata:{expression:create_expression_metadata()}}]))}else QA.type==="SpreadAttribute"?(tA.push(QA),BA=!0,is_load_error_element(eA.name)&&(oA.add("onload"),oA.add("onerror"))):QA.type==="UseDirective"?is_load_error_element(eA.name)&&(oA.add("onload"),oA.add("onerror")):QA.type==="ClassDirective"?gA.push(QA):QA.type==="StyleDirective"?iA.push(QA):QA.type==="LetDirective"||AA.visit(QA);if(gA.length>0&&!BA){const QA=build_class_directives$1(gA,tA[sA]??null);sA===-1&&tA.push(QA)}if(iA.length>0&&!BA&&(build_style_directives$1(iA,tA[CA]??null,AA),CA>-1&&tA.splice(CA,1)),BA)build_element_spread_attributes(eA,tA,iA,gA,AA);else for(const QA of tA){if(QA.value===!0||is_text_attribute(QA)){const lA=get_attribute_name$1(eA,QA),uA=build_attribute_value$1(QA.value,AA,WHITESPACE_INSENSITIVE_ATTRIBUTES.includes(lA)).value;(lA!=="class"||uA)&&AA.state.template.push(literal(` ${QA.name}${is_boolean_attribute(lA)&&uA===!0?"":`="${uA===!0?"":String(uA)}"`}`));continue}const EA=get_attribute_name$1(eA,QA),rA=build_attribute_value$1(QA.value,AA,WHITESPACE_INSENSITIVE_ATTRIBUTES.includes(EA));AA.state.template.push(call("$.attr",literal(EA),rA,is_boolean_attribute(EA)&&true_instance))}if(oA.size!==0)for(const QA of oA)AA.state.template.push(literal(` ${QA}="this.__e=event"`));return IA}function get_attribute_name$1(eA,AA){let tA=AA.name;return!eA.metadata.svg&&!eA.metadata.mathml&&(tA=tA.toLowerCase()),tA}function build_element_spread_attributes(eA,AA,tA,gA,iA){let IA,BA,sA=0;if(gA.length>0||iA.state.analysis.css.hash){const QA=gA.map(EA=>init(EA.name,EA.expression.type==="Identifier"&&EA.expression.name===EA.name?id$1(EA.name):iA.visit(EA.expression)));iA.state.analysis.css.hash&&QA.unshift(init(iA.state.analysis.css.hash,literal(!0))),IA=object$2(QA)}if(tA.length>0){const QA=tA.map(EA=>init(EA.name,EA.value===!0?id$1(EA.name):build_attribute_value$1(EA.value,iA,!0)));BA=object$2(QA)}eA.metadata.svg||eA.metadata.mathml?sA|=ELEMENT_IS_NAMESPACED|ELEMENT_PRESERVE_ATTRIBUTE_CASE:is_custom_element_node(eA)&&(sA|=ELEMENT_PRESERVE_ATTRIBUTE_CASE);const oA=[object$2(AA.map(QA=>{if(QA.type==="Attribute"){const EA=get_attribute_name$1(eA,QA),rA=build_attribute_value$1(QA.value,iA,WHITESPACE_INSENSITIVE_ATTRIBUTES.includes(EA));return prop("init",key$2(EA),rA)}return spread(iA.visit(QA))})),IA,BA,sA?literal(sA):void 0];iA.state.template.push(call("$.spread_attributes",...oA))}function build_class_directives$1(eA,AA){const tA=eA.map(IA=>conditional(IA.expression,literal(IA.name),literal("")));AA===null&&(AA=create_attribute("class",-1,-1,[]));const gA=get_attribute_chunks(AA.value),iA=gA.at(-1);return(iA==null?void 0:iA.type)==="Text"?(iA.data+=" ",iA.raw+=" "):iA&&gA.push({type:"Text",start:-1,end:-1,parent:AA,data:" ",raw:" "}),gA.push({type:"ExpressionTag",start:-1,end:-1,parent:AA,expression:call(member(call(member(array(tA),"filter"),id$1("Boolean")),id$1("join")),literal(" ")),metadata:{expression:create_expression_metadata()}}),AA.value=gA,AA}function build_style_directives$1(eA,AA,tA){const gA=eA.map(IA=>{let BA=IA.value===!0?id$1(IA.name):build_attribute_value$1(IA.value,tA,!0);return IA.modifiers.includes("important")&&(BA=binary("+",BA,literal(" !important"))),init(IA.name,BA)}),iA=AA===null?object$2(gA):call("$.merge_styles",build_attribute_value$1(AA.value,tA,!0),object$2(gA));tA.state.template.push(call("$.add_styles",iA))}function RegularElement$1(eA,AA){const tA=determine_namespace_for_children(eA,AA.state.namespace),gA={...AA.state,namespace:tA,preserve_whitespace:AA.state.preserve_whitespace||eA.name==="pre"||eA.name==="textarea"};AA.state.template.push(literal(`<${eA.name}`));const iA=build_element_attributes(eA,{...AA,state:gA});if(AA.state.template.push(literal(">")),(eA.name==="script"||eA.name==="style")&&eA.fragment.nodes.length===1){AA.state.template.push(literal(eA.fragment.nodes[0].data),literal(`</${eA.name}>`));return}const{hoisted:IA,trimmed:BA}=clean_nodes(eA,eA.fragment.nodes,AA.path,tA,{...gA,scope:gA.scopes.get(eA.fragment)},gA.preserve_whitespace,gA.options.preserveComments);for(const sA of IA)AA.visit(sA,gA);if(dev){const sA=locator(eA.start);gA.template.push(stmt(call("$.push_element",id$1("$$payload"),literal(eA.name),literal(sA.line),literal(sA.column))))}if(iA===null)process_children$1(BA,{...AA,state:gA});else{let sA=iA;iA.type!=="Identifier"&&(sA=id$1(gA.scope.generate("$$body")),gA.template.push(const_builder(sA,iA)));const CA={...gA,template:[],init:[]};process_children$1(BA,{...AA,state:CA}),gA.template.push(if_builder(sA,block(build_template([sA])),block([...CA.init,...build_template(CA.template)])))}is_void(eA.name)||gA.template.push(literal(`</${eA.name}>`)),dev&&gA.template.push(stmt(call("$.pop_element")))}function RenderTag$1(eA,AA){const tA=unwrap_optional(eA.expression).callee,gA=unwrap_optional(eA.expression).arguments,iA=AA.visit(tA),IA=gA.map(BA=>AA.visit(BA));AA.state.template.push(stmt((eA.expression.type==="CallExpression"?call:maybe_call)(iA,id$1("$$payload"),...IA))),AA.state.skip_hydration_boundaries||AA.state.template.push(empty_comment)}function SlotElement$1(eA,AA){const tA=[],gA=[];let iA=literal("default");for(const CA of eA.attributes)if(CA.type==="SpreadAttribute")gA.push(AA.visit(CA));else if(CA.type==="Attribute"){const oA=build_attribute_value$1(CA.value,AA,!1,!0);CA.name==="name"?iA=oA:CA.name!=="slot"&&tA.push(init(CA.name,oA))}const IA=gA.length===0?object$2(tA):call("$.spread_props",array([object$2(tA),...gA])),BA=eA.fragment.nodes.length===0?literal(null):thunk(AA.visit(eA.fragment)),sA=call("$.slot",id$1("$$payload"),id$1("$$props"),iA,IA,BA);AA.state.template.push(empty_comment,stmt(sA),empty_comment)}function SnippetBlock$1(eA,AA){const tA=function_declaration(eA.expression,[id$1("$$payload"),...eA.parameters],AA.visit(eA.body));tA.___snippet=!0,AA.state.init.push(tA)}function SpreadAttribute$1(eA,AA){return AA.visit(eA.expression)}function SvelteComponent$1(eA,AA){build_inline_component(eA,AA.visit(eA.expression),AA)}function SvelteElement$1(eA,AA){let tA=AA.visit(eA.tag);if(tA.type!=="Identifier"){const BA=AA.state.scope.generate("$$tag");AA.state.init.push(const_builder(BA,tA)),tA=id$1(BA)}dev&&(eA.fragment.nodes.length>0&&AA.state.init.push(stmt(call("$.validate_void_dynamic_element",thunk(tA)))),AA.state.init.push(stmt(call("$.validate_dynamic_element_tag",thunk(tA)))));const gA={...AA.state,namespace:determine_namespace_for_children(eA,AA.state.namespace),template:[],init:[]};if(build_element_attributes(eA,{...AA,state:gA}),dev){const BA=locator(eA.start);AA.state.template.push(stmt(call("$.push_element",id$1("$$payload"),tA,literal(BA.line),literal(BA.column))))}const iA=block([...gA.init,...build_template(gA.template)]),IA=AA.visit(eA.fragment,gA);AA.state.template.push(stmt(call("$.element",id$1("$$payload"),tA,iA.body.length>0&&thunk(iA),IA.body.length>0&&thunk(IA)))),dev&&AA.state.template.push(stmt(call("$.pop_element")))}function SvelteFragment$1(eA,AA){AA.state.template.push(AA.visit(eA.fragment))}function SvelteHead$1(eA,AA){const tA=AA.visit(eA.fragment);AA.state.template.push(stmt(call("$.head",id$1("$$payload"),arrow([id$1("$$payload")],tA))))}function SvelteSelf$1(eA,AA){build_inline_component(eA,id$1(AA.state.analysis.name),AA)}function TitleElement$1(eA,AA){const tA=[literal("<title>")];process_children$1(eA.fragment.nodes,{...AA,state:{...AA.state,template:tA}}),tA.push(literal("</title>")),AA.state.init.push(...build_template(tA,id$1("$$payload.title"),"="))}function UpdateExpression$1(eA,AA){var gA;const tA=eA.argument;return tA.type==="Identifier"&&((gA=AA.state.scope.get(tA.name))==null?void 0:gA.kind)==="store_sub"?call(eA.prefix?"$.update_store_pre":"$.update_store",assignment("??=",id$1("$$store_subs"),object$2([])),literal(tA.name),id$1(tA.name.slice(1)),eA.operator==="--"&&literal(-1)):AA.next()}function VariableDeclaration$1(eA,AA){var gA;const tA=[];if(AA.state.analysis.runes)for(const iA of eA.declarations){const IA=iA.init,BA=get_rune(IA,AA.state.scope);if(!BA||BA==="$effect.tracking"||BA==="$inspect"||BA==="$effect.root"){tA.push(AA.visit(iA));continue}if(BA==="$props"){let oA=!1,QA=walk(iA.id,null,{RestElement(EA,rA){rA.path.at(-1)===iA.id&&(oA=!0)},AssignmentPattern(EA){if(EA.right.type==="CallExpression"&&get_rune(EA.right,AA.state.scope)==="$bindable"){const rA=EA.right.arguments.length?AA.visit(EA.right.arguments[0]):id$1("undefined");return assignment_pattern(EA.left,rA)}}});QA.type==="ObjectPattern"&&oA?QA.properties.splice(QA.properties.length-1,0,prop("init",id$1("$$slots"),id$1("$$slots")),prop("init",id$1("$$events"),id$1("$$events"))):QA.type==="Identifier"&&(QA=object_pattern([prop("init",id$1("$$slots"),id$1("$$slots")),prop("init",id$1("$$events"),id$1("$$events")),rest(id$1(QA.name))])),tA.push(declarator(AA.visit(QA),id$1("$$props")));continue}const sA=IA.arguments,CA=sA.length===0?id$1("undefined"):AA.visit(sA[0]);if(BA==="$derived.by"){tA.push(declarator(AA.visit(iA.id),call(CA)));continue}if(iA.id.type==="Identifier"){tA.push(declarator(iA.id,CA));continue}if(BA==="$derived"){tA.push(declarator(AA.visit(iA.id),CA));continue}tA.push(...create_state_declarators$1(iA,AA.state.scope,CA))}else for(const iA of eA.declarations){const IA=AA.state.scope.get_bindings(iA),BA=IA.some(CA=>CA.kind==="state"),sA=IA.some(CA=>CA.kind==="bindable_prop");if(!BA&&!sA){tA.push(AA.visit(iA));continue}if(sA){if(iA.id.type!=="Identifier"){const EA=AA.state.scope.generate("tmp"),rA=extract_paths(iA.id);tA.push(declarator(id$1(EA),AA.visit(iA.init)));for(const lA of rA){const uA=(gA=lA.expression)==null?void 0:gA.call(lA,id$1(EA)),cA=lA.node.name,hA=AA.state.scope.get(cA),dA=member(id$1("$$props"),literal(hA.prop_alias??cA),!0);tA.push(declarator(lA.node,build_fallback(dA,uA)))}continue}const CA=AA.state.scope.get(iA.id.name),oA=member(id$1("$$props"),literal(CA.prop_alias??iA.id.name),!0);let QA=oA;if(iA.init){const EA=AA.visit(iA.init);QA=build_fallback(oA,EA)}tA.push(declarator(iA.id,QA));continue}tA.push(...create_state_declarators$1(iA,AA.state.scope,iA.init&&AA.visit(iA.init)))}return{...eA,declarations:tA}}function create_state_declarators$1(eA,AA,tA){if(eA.id.type==="Identifier")return[declarator(eA.id,tA)];const gA=AA.generate("tmp"),iA=extract_paths(eA.id);return[declarator(id$1(gA),tA),...iA.map(IA=>{var sA;const BA=(sA=IA.expression)==null?void 0:sA.call(IA,id$1(gA));return declarator(IA.node,BA)})]}const global_visitors={_:set_scope,AssignmentExpression:AssignmentExpression$1,CallExpression:CallExpression$1,ClassBody:ClassBody$1,ExpressionStatement:ExpressionStatement$1,Identifier:Identifier$1,LabeledStatement:LabeledStatement$1,MemberExpression:MemberExpression$1,PropertyDefinition,UpdateExpression:UpdateExpression$1,VariableDeclaration:VariableDeclaration$1},template_visitors={AwaitBlock:AwaitBlock$1,Component:Component$1,ConstTag:ConstTag$1,DebugTag:DebugTag$1,EachBlock:EachBlock$1,Fragment:Fragment$1,HtmlTag:HtmlTag$1,IfBlock:IfBlock$1,KeyBlock:KeyBlock$1,RegularElement:RegularElement$1,RenderTag:RenderTag$1,SlotElement:SlotElement$1,SnippetBlock:SnippetBlock$1,SpreadAttribute:SpreadAttribute$1,SvelteComponent:SvelteComponent$1,SvelteElement:SvelteElement$1,SvelteFragment:SvelteFragment$1,SvelteHead:SvelteHead$1,SvelteSelf:SvelteSelf$1,TitleElement:TitleElement$1};function server_component(eA,AA){const tA={analysis:eA,options:AA,scope:eA.module.scope,scopes:eA.module.scopes,hoisted:[import_all("$","svelte/internal/server")],legacy_reactive_statements:new Map,init:null,template:null,namespace:AA.namespace,preserve_whitespace:AA.preserveWhitespace,private_derived:new Map,skip_hydration_boundaries:!1},gA=walk(eA.module.ast,tA,global_visitors),iA=walk(eA.instance.ast,{...tA,scopes:eA.instance.scopes},{...global_visitors,ImportDeclaration(lA){return tA.hoisted.push(lA),empty},ExportNamedDeclaration(lA,uA){return lA.declaration?uA.visit(lA.declaration):empty}}),IA=walk(eA.template.ast,{...tA,scopes:eA.template.scopes},{...global_visitors,...template_visitors}),BA=[];for(const[lA]of eA.reactive_statements){const uA=[...tA.legacy_reactive_statements].find(([cA])=>cA===lA);if(uA===void 0)throw new Error("Could not find reactive statement");if(lA.body.type==="ExpressionStatement"&&lA.body.expression.type==="AssignmentExpression")for(const cA of extract_identifiers(lA.body.expression.left)){const hA=eA.instance.scope.get(cA.name);(hA==null?void 0:hA.kind)==="legacy_reactive"&&BA.push(declarator(cA))}iA.body.push(uA[1])}if(BA.length>0&&iA.body.unshift({type:"VariableDeclaration",kind:"let",declarations:BA}),eA.uses_component_bindings){const lA=IA.body.filter(cA=>cA.type==="FunctionDeclaration"&&cA.___snippet),uA=IA.body.filter(cA=>cA.type!=="FunctionDeclaration"||!cA.___snippet);IA.body=[...lA,let_builder("$$settled",true_instance),let_builder("$$inner_payload"),stmt(function_builder(id$1("$$render_inner"),[id$1("$$payload")],block(uA))),do_while(unary("!",id$1("$$settled")),block([stmt(assignment("=",id$1("$$settled"),true_instance)),stmt(assignment("=",id$1("$$inner_payload"),call("$.copy_payload",id$1("$$payload")))),stmt(call("$$render_inner",id$1("$$inner_payload")))])),stmt(call("$.assign_payload",id$1("$$payload"),id$1("$$inner_payload")))]}[...eA.instance.scope.declarations.values()].some(lA=>lA.kind==="store_sub")&&(iA.body.unshift(var_builder("$$store_subs")),IA.body.push(if_builder(id$1("$$store_subs"),stmt(call("$.unsubscribe_stores",id$1("$$store_subs"))))));const sA=[];for(const[lA,uA]of eA.instance.scope.declarations)uA.kind==="bindable_prop"&&!lA.startsWith("$$")&&sA.push(init(uA.prop_alias??lA,id$1(lA)));for(const{name:lA,alias:uA}of eA.exports)sA.push(init(uA??lA,id$1(lA)));sA.length>0&&IA.body.push(stmt(call("$.bind_props",id$1("$$props"),object$2(sA))));const CA=block([...iA.body,...IA.body]);let oA=dev||eA.needs_context;if(oA&&(CA.body.unshift(stmt(call("$.push",dev&&id$1(eA.name)))),CA.body.push(stmt(call("$.pop")))),eA.uses_rest_props){const lA=eA.exports.map(({name:uA,alias:cA})=>cA??uA);for(const[uA,cA]of eA.instance.scope.declarations)cA.kind==="bindable_prop"&&lA.push(cA.prop_alias??uA);CA.body.unshift(const_builder("$$restProps",call("$.rest_props",id$1("$$sanitized_props"),array(lA.map(uA=>literal(uA))))))}(eA.uses_props||eA.uses_rest_props)&&CA.body.unshift(const_builder("$$sanitized_props",call("$.sanitize_props",id$1("$$props")))),eA.uses_slots&&CA.body.unshift(const_builder("$$slots",call("$.sanitize_slots",id$1("$$props"))));const QA=[...tA.hoisted,...gA.body];if(eA.css.ast!==null&&AA.css==="injected"&&!AA.customElement){const lA=literal(eA.css.hash),uA=literal(render_stylesheet(eA.source,eA,AA).code);QA.push(const_builder("$$css",object$2([init("hash",lA),init("code",uA)]))),CA.body.unshift(stmt(call("$$payload.css.add",id$1("$$css"))))}let EA=oA||sA.length>0||eA.needs_props||eA.uses_props||eA.uses_rest_props||eA.uses_slots||eA.slot_names.size>0;const rA=function_declaration(id$1(eA.name),EA?[id$1("$$payload"),id$1("$$props")]:[id$1("$$payload")],CA);return AA.compatibility.componentApi===4?(QA.unshift(imports([["render","$$_render"]],"svelte/server")),QA.push(rA,stmt(assignment("=",member_id(`${eA.name}.render`),function_builder(null,[id$1("$$props"),id$1("$$opts")],block([return_builder(call("$$_render",id$1(eA.name),object$2([init("props",id$1("$$props")),init("context",member(id$1("$$opts"),"context",!1,!0))])))])))),export_default(id$1(eA.name)))):dev?QA.push(rA,stmt(assignment("=",member_id(`${eA.name}.render`),function_builder(null,[],block([throw_error$1("Component.render(...) is no longer valid in Svelte 5. See https://svelte.dev/docs/svelte/v5-migration-guide#Components-are-no-longer-classes for more information")])))),export_default(id$1(eA.name))):QA.push(export_default(rA)),dev&&QA.unshift(stmt(assignment("=",member(id$1(eA.name),"$.FILENAME",!0),literal(filename)))),{type:"Program",sourceType:"module",body:QA}}function server_module(eA,AA){const tA={analysis:eA,options:AA,scope:eA.module.scope,scopes:eA.module.scopes,legacy_reactive_statements:new Map,private_derived:new Map},gA=walk(eA.module.ast,tA,global_visitors);return{type:"Program",sourceType:"module",body:[import_all("$","svelte/internal/server"),...gA.body]}}function get_states_and_calls(eA){let AA=0,tA=0;for(let gA=0;gA<eA.length;gA++){const iA=eA[gA];iA.type==="ExpressionTag"&&(iA.metadata.expression.has_call&&tA++,iA.metadata.expression.has_state&&AA++)}return{states:AA,calls:tA}}function build_template_literal(eA,AA,tA){const gA=[];let iA=quasi("");const IA=[iA],{states:BA,calls:sA}=get_states_and_calls(eA);let CA=sA>0,oA=BA>0,QA=sA>1;for(let rA=0;rA<eA.length;rA++){const lA=eA[rA];if(lA.type==="Text")iA.value.cooked+=lA.data;else if(lA.type==="ExpressionTag"&&lA.expression.type==="Literal")lA.expression.value!=null&&(iA.value.cooked+=lA.expression.value+"");else{if(QA){const uA=id$1(tA.scope.generate("stringified_text"));tA.init.push(const_builder(uA,create_derived(tA,thunk(logical("??",AA(lA.expression,tA),literal("")))))),gA.push(call("$.get",uA))}else{if(eA.length===1)return{value:AA(lA.expression,tA),has_state:oA,has_call:CA};gA.push(logical("??",AA(lA.expression,tA),literal("")))}iA=quasi("",rA+1===eA.length),IA.push(iA)}}for(const rA of IA)rA.value.raw=sanitize_template_string(rA.value.cooked);return{value:template(IA,gA),has_state:oA,has_call:CA}}function build_update(eA){const AA=eA.type==="ExpressionStatement"?eA.expression:block([eA]);return stmt(call("$.template_effect",thunk(AA)))}function build_render_statement(eA){return eA.length===1?build_update(eA[0]):stmt(call("$.template_effect",thunk(block(eA))))}function parse_directive_name(eA){const AA=eA.split(".");let tA=AA.shift(),gA=id$1(tA);for(;tA=AA.shift();){const iA=!regex_is_valid_identifier.test(tA);gA=member(gA,iA?literal(tA):id$1(tA),iA)}return gA}function build_update_assignment(eA,AA,tA,gA,iA){eA.init.push(var_builder(AA,tA)),eA.update.push(if_builder(binary("!==",id$1(AA),assignment("=",id$1(AA),gA)),block([iA])))}function build_bind_this(eA,AA,{state:tA,visit:gA}){const iA=[],IA=[],BA=[],sA={...tA.transform};walk(eA,null,{Identifier(rA,{path:lA}){if(BA.includes(rA.name))return;BA.push(rA.name);const uA=lA.at(-1);if(!is_reference(rA,uA))return;const cA=tA.scope.get(rA.name);if(cA){for(const[hA,dA]of tA.scopes)if(hA.type==="EachBlock"&&dA===cA.scope){iA.push(rA),IA.push(gA(rA)),sA[rA.name]&&(sA[rA.name]={...sA[rA.name],read:pA=>pA});break}}}});const CA={...tA,transform:sA},oA=gA(eA,CA),QA=gA(assignment("=",eA,id$1("$$value")),CA);let EA=oA;for(;EA.type==="MemberExpression";)EA.optional=!0,EA=EA.object;return call("$.bind_this",AA,arrow([id$1("$$value"),...iA],QA),arrow([...iA],oA),IA.length>0&&thunk(array(IA)))}function validate_binding(eA,AA,tA){const gA=object$1(AA.expression),iA=gA&&eA.scope.get(gA.name);if((iA==null?void 0:iA.kind)==="store_sub")return;const IA=locator(AA.start);eA.init.push(stmt(call("$.validate_binding",literal(eA.analysis.source.slice(AA.start,AA.end)),thunk(tA.object),thunk(tA.computed?tA.property:literal(tA.property.name)),IA&&literal(IA.line),IA&&literal(IA.column))))}function AnimateDirective(eA,AA){const tA=eA.expression===null?literal(null):thunk(AA.visit(eA.expression));AA.state.after_update.push(stmt(call("$.animation",AA.state.node,thunk(AA.visit(parse_directive_name(eA.name))),tA)))}const visit_function=(eA,AA)=>{const tA=eA.metadata;let gA={...AA.state,in_constructor:!1};if(eA.type==="FunctionExpression"){const iA=AA.path.at(-1);gA.in_constructor=iA.type==="MethodDefinition"&&iA.kind==="constructor"}if((tA==null?void 0:tA.hoisted)===!0){const iA=build_hoisted_params(eA,AA);return{...eA,params:iA,body:AA.visit(eA.body,gA)}}AA.next(gA)};function ArrowFunctionExpression(eA,AA){return visit_function(eA,AA)}function AssignmentExpression(eA,AA){const tA=visit_assignment_expression(eA,AA,build_assignment)??AA.next();return is_ignored(eA,"ownership_invalid_mutation")?call("$.skip_ownership_validation",thunk(tA)):tA}function build_assignment(eA,AA,tA,gA){if(gA.state.analysis.runes&&AA.type==="MemberExpression"&&AA.object.type==="ThisExpression"&&AA.property.type==="PrivateIdentifier"){const sA=gA.state.private_state.get(AA.property.name);if(sA!==void 0){let CA=!1,oA=gA.visit(build_assignment_value(eA,AA,tA));if(should_proxy(oA,gA.state.scope)&&(CA=!0,oA=sA.kind==="raw_state"?oA:build_proxy_reassignment(oA,member(this_instance,sA.id))),gA.state.in_constructor){if(CA)return assignment(eA,gA.visit(AA),oA)}else return call("$.set",AA,oA)}}let iA=AA;for(;iA.type==="MemberExpression";)iA=iA.object;if(iA.type!=="Identifier")return null;const IA=gA.state.scope.get(iA.name);if(!IA)return null;const BA=Object.hasOwn(gA.state.transform,iA.name)?gA.state.transform[iA.name]:null;if(iA===AA&&(BA!=null&&BA.assign)){let sA=gA.visit(build_assignment_value(eA,AA,tA));const CA=gA.path.map(QA=>QA.type);return!(CA.at(-1)==="BindDirective"&&CA.at(-2)==="RegularElement")&&IA.kind!=="prop"&&IA.kind!=="bindable_prop"&&gA.state.analysis.runes&&should_proxy(sA,gA.state.scope)&&(sA=IA.kind==="raw_state"?sA:build_proxy_reassignment(sA,iA)),BA.assign(iA,sA)}return BA!=null&&BA.mutate?BA.mutate(iA,assignment(eA,gA.visit(AA),gA.visit(tA))):null}function visit_event_attribute(eA,AA){let tA=!1,gA=eA.name.slice(2);is_capture_event(gA)&&(gA=gA.slice(0,-7),tA=!0);const iA=Array.isArray(eA.value)?eA.value[0]:eA.value;let IA=build_event_handler(iA.expression,iA.metadata.expression,AA);if(eA.metadata.delegated){let BA;if(AA.state.events.has(gA)||AA.state.events.add(gA),eA.metadata.delegated.hoisted){if(eA.metadata.delegated.function===iA.expression){const oA=AA.state.scope.root.unique("on_"+gA);AA.state.hoisted.push(var_builder(oA,IA)),IA=oA}const sA=eA.metadata.delegated.function.metadata.hoisted_params,CA=[IA,...sA];BA=array(CA)}else BA=IA;AA.state.init.push(stmt(assignment("=",member(AA.state.node,"__"+gA),BA)))}else{const BA=stmt(build_event(gA,AA.state.node,IA,tA,is_passive_event(gA)?!0:void 0)),sA=AA.path.at(-1).type;sA==="SvelteDocument"||sA==="SvelteWindow"||sA==="SvelteBody"?AA.state.init.push(BA):AA.state.after_update.push(BA)}}function build_event(eA,AA,tA,gA,iA){return call("$.event",literal(eA),AA,tA,gA&&true_instance,iA===void 0?void 0:literal(iA))}function build_event_handler(eA,AA,tA){var IA;if(eA===null)return function_builder(null,[id$1("$$arg")],block([stmt(call("$.bubble_event.call",this_instance,id$1("$$props"),id$1("$$arg")))]));let gA=tA.visit(eA);if(gA.type==="ArrowFunctionExpression"||gA.type==="FunctionExpression"||gA.type==="Identifier"&&((IA=tA.state.scope.get(gA.name))==null?void 0:IA.declaration_kind)!=="import")return gA;if(AA.has_call){const BA=id$1(tA.state.scope.generate("event_handler"));tA.state.init.push(var_builder(BA,call("$.derived",thunk(gA)))),gA=call("$.get",BA)}let iA=call(member(gA,"apply",!1,!0),this_instance,id$1("$$args"));if(dev){const BA=locator(eA.start),sA=eA.type==="CallExpression"&&eA.arguments.length===0&&eA.callee.type==="Identifier";iA=call("$.apply",thunk(gA),this_instance,id$1("$$args"),id$1(tA.state.analysis.name),BA&&array([literal(BA.line),literal(BA.column)]),has_side_effects(eA)&&true_instance,sA&&true_instance)}return function_builder(null,[rest(id$1("$$args"))],block([stmt(iA)]))}function has_side_effects(eA){return eA.type==="CallExpression"||eA.type==="NewExpression"||eA.type==="AssignmentExpression"||eA.type==="UpdateExpression"?!0:eA.type==="SequenceExpression"?eA.expressions.some(has_side_effects):!1}function Attribute(eA,AA){is_event_attribute(eA)&&visit_event_attribute(eA,AA)}function AwaitBlock(eA,AA){AA.state.template.push("<!>");const tA=thunk(AA.visit(eA.expression));let gA,iA;if(eA.then){const IA={...AA,state:{...AA.state,transform:{...AA.state.transform}}},BA=eA.value&&create_derived_block_argument(eA.value,IA),sA=[id$1("$$anchor")];BA&&sA.push(BA.id);const CA=(BA==null?void 0:BA.declarations)??[],oA=IA.visit(eA.then,IA.state);gA=arrow(sA,block([...CA,...oA.body]))}if(eA.catch){const IA={...AA,state:{...AA.state}},BA=eA.error&&create_derived_block_argument(eA.error,IA),sA=[id$1("$$anchor")];BA&&sA.push(BA.id);const CA=(BA==null?void 0:BA.declarations)??[],oA=IA.visit(eA.catch,IA.state);iA=arrow(sA,block([...CA,...oA.body]))}AA.state.init.push(stmt(call("$.await",AA.state.node,tA,eA.pending?arrow([id$1("$$anchor")],AA.visit(eA.pending)):literal(null),gA,iA)))}function BinaryExpression(eA,AA){if(dev){const tA=eA.operator;if(tA==="==="||tA==="!==")return call("$.strict_equals",AA.visit(eA.left),AA.visit(eA.right),tA==="!=="&&literal(!1));if(tA==="=="||tA==="!=")return call("$.equals",AA.visit(eA.left),AA.visit(eA.right),tA==="!="&&literal(!1))}AA.next()}function build_set_attributes(eA,AA,tA,gA,iA,IA,BA,sA){let CA=!1;const oA=[];for(const EA of eA)if(EA.type==="Attribute"){const{value:rA}=build_attribute_value(EA.value,AA);if(is_event_attribute(EA)&&(rA.type==="ArrowFunctionExpression"||rA.type==="FunctionExpression")){const lA=AA.state.scope.generate("event_handler");AA.state.init.push(var_builder(lA,rA)),oA.push(init(EA.name,id$1(lA)))}else oA.push(init(EA.name,rA));CA||(CA=EA.metadata.expression.has_state)}else{CA=!0;let rA=AA.visit(EA);if(EA.metadata.expression.has_call){const lA=id$1(sA.scope.generate("spread_with_call"));sA.init.push(const_builder(lA,create_derived(sA,thunk(rA)))),rA=call("$.get",lA)}oA.push(spread(rA))}const QA=call("$.set_attributes",gA,CA?iA:literal(null),object$2(oA),AA.state.analysis.css.hash!==""&&literal(AA.state.analysis.css.hash),IA,BA,is_ignored(tA,"hydration_attribute_changed")&&true_instance);if(CA){AA.state.init.push(let_builder(iA));const EA=stmt(assignment("=",iA,QA));return AA.state.update.push(EA),!0}return AA.state.init.push(stmt(QA)),!1}function build_style_directives(eA,AA,tA,gA){const iA=tA.state;for(const IA of eA){const{has_state:BA,has_call:sA}=IA.metadata.expression;let CA=IA.value===!0?build_getter$1({name:IA.name,type:"Identifier"},tA.state):build_attribute_value(IA.value,tA).value;if(sA){const QA=id$1(iA.scope.generate("style_directive"));iA.init.push(const_builder(QA,create_derived(iA,thunk(CA)))),CA=call("$.get",QA)}const oA=stmt(call("$.set_style",AA,literal(IA.name),CA,IA.modifiers.includes("important")?true_instance:void 0));!gA&&sA?iA.init.push(build_update(oA)):gA||BA||sA?iA.update.push(oA):iA.init.push(oA)}}function build_class_directives(eA,AA,tA,gA){const iA=tA.state;for(const IA of eA){const{has_state:BA,has_call:sA}=IA.metadata.expression;let CA=tA.visit(IA.expression);if(sA){const QA=id$1(iA.scope.generate("class_directive"));iA.init.push(const_builder(QA,create_derived(iA,thunk(CA)))),CA=call("$.get",QA)}const oA=stmt(call("$.toggle_class",AA,literal(IA.name),CA));!gA&&sA?iA.init.push(build_update(oA)):gA||BA||sA?iA.update.push(oA):iA.init.push(oA)}}function build_attribute_value(eA,AA){if(eA===!0)return{has_state:!1,has_call:!1,value:literal(!0)};if(!Array.isArray(eA)||eA.length===1){const tA=Array.isArray(eA)?eA[0]:eA;return tA.type==="Text"?{has_state:!1,has_call:!1,value:literal(tA.data)}:{has_state:tA.metadata.expression.has_state,has_call:tA.metadata.expression.has_call,value:AA.visit(tA.expression)}}return build_template_literal(eA,AA.visit,AA.state)}function get_attribute_name(eA,AA){return!eA.metadata.svg&&!eA.metadata.mathml?normalize_attribute(AA.name):AA.name}function BindDirective(eA,AA){var CA;const tA=eA.expression,gA=binding_properties[eA.name],iA=AA.path.at(-1);dev&&AA.state.analysis.runes&&tA.type==="MemberExpression"&&(eA.name!=="this"||AA.path.some(({type:oA})=>oA==="IfBlock"||oA==="EachBlock"||oA==="AwaitBlock"||oA==="KeyBlock"))&&!is_ignored(eA,"binding_property_non_reactive")&&validate_binding(AA.state,eA,AA.visit(tA));const IA=thunk(AA.visit(tA));let BA=unthunk(arrow([id$1("$$value")],AA.visit(assignment("=",tA,id$1("$$value")))));IA===BA&&(BA=void 0);let sA;if(gA!=null&&gA.event)sA=call("$.bind_property",literal(eA.name),literal(gA.event),AA.state.node,BA??IA,gA.bidirectional&&IA);else switch(eA.name){case"online":sA=call("$.bind_online",BA??IA);break;case"scrollX":case"scrollY":sA=call("$.bind_window_scroll",literal(eA.name==="scrollX"?"x":"y"),IA,BA);break;case"innerWidth":case"innerHeight":case"outerWidth":case"outerHeight":sA=call("$.bind_window_size",literal(eA.name),BA??IA);break;case"activeElement":sA=call("$.bind_active_element",BA??IA);break;case"muted":sA=call("$.bind_muted",AA.state.node,IA,BA);break;case"paused":sA=call("$.bind_paused",AA.state.node,IA,BA);break;case"volume":sA=call("$.bind_volume",AA.state.node,IA,BA);break;case"playbackRate":sA=call("$.bind_playback_rate",AA.state.node,IA,BA);break;case"currentTime":sA=call("$.bind_current_time",AA.state.node,IA,BA);break;case"buffered":sA=call("$.bind_buffered",AA.state.node,BA??IA);break;case"played":sA=call("$.bind_played",AA.state.node,BA??IA);break;case"seekable":sA=call("$.bind_seekable",AA.state.node,BA??IA);break;case"seeking":sA=call("$.bind_seeking",AA.state.node,BA??IA);break;case"ended":sA=call("$.bind_ended",AA.state.node,BA??IA);break;case"readyState":sA=call("$.bind_ready_state",AA.state.node,BA??IA);break;case"contentRect":case"contentBoxSize":case"borderBoxSize":case"devicePixelContentBoxSize":sA=call("$.bind_resize_observer",AA.state.node,literal(eA.name),BA??IA);break;case"clientWidth":case"clientHeight":case"offsetWidth":case"offsetHeight":sA=call("$.bind_element_size",AA.state.node,literal(eA.name),BA??IA);break;case"value":{(iA==null?void 0:iA.type)==="RegularElement"&&iA.name==="select"?sA=call("$.bind_select_value",AA.state.node,IA,BA):sA=call("$.bind_value",AA.state.node,IA,BA);break}case"files":sA=call("$.bind_files",AA.state.node,IA,BA);break;case"this":sA=build_bind_this(tA,AA.state.node,AA);break;case"textContent":case"innerHTML":case"innerText":sA=call("$.bind_content_editable",literal(eA.name),AA.state.node,IA,BA);break;case"checked":sA=call("$.bind_checked",AA.state.node,IA,BA);break;case"focused":sA=call("$.bind_focused",AA.state.node,BA??IA);break;case"group":{const oA=eA.metadata.parent_each_blocks.map(EA=>EA.metadata.keyed&&EA.index?call("$.get",EA.metadata.index):EA.metadata.index);let QA=IA;if((iA==null?void 0:iA.type)==="RegularElement"){const EA=(CA=iA.attributes.find(rA=>rA.type==="Attribute"&&rA.name==="value"&&!is_text_attribute(rA)&&rA.value!==!0))==null?void 0:CA.value;EA!==void 0&&(QA=thunk(block([stmt(build_attribute_value(EA,AA).value),return_builder(AA.visit(tA))])))}sA=call("$.bind_group",eA.metadata.binding_group_name,array(oA),AA.state.node,QA,BA??IA);break}default:throw new Error("unknown binding "+eA.name)}eA.name==="this"?AA.state.init.push(stmt(sA)):iA.type==="RegularElement"&&iA.attributes.find(QA=>QA.type==="UseDirective")?AA.state.init.push(stmt(call("$.effect",thunk(sA)))):AA.state.after_update.push(stmt(sA))}function BlockStatement(eA,AA){add_state_transformers(AA),AA.next()}function BreakStatement(eA,AA){if(AA.state.analysis.runes||!eA.label||eA.label.name!=="$")return;if(AA.path[1].type==="LabeledStatement"&&AA.path[1].label.name==="$")return return_builder()}function CallExpression(eA,AA){switch(get_rune(eA,AA.state.scope)){case"$host":return id$1("$$props.$$host");case"$effect.tracking":return call("$.effect_tracking");case"$state.snapshot":return call("$.snapshot",AA.visit(eA.arguments[0]),is_ignored(eA,"state_snapshot_uncloneable")&&true_instance);case"$effect.root":return call("$.effect_root",...eA.arguments.map(tA=>AA.visit(tA)));case"$inspect":case"$inspect().with":return transform_inspect_rune(eA,AA)}if(dev&&eA.callee.type==="MemberExpression"&&eA.callee.object.type==="Identifier"&&eA.callee.object.name==="console"&&AA.state.scope.get("console")===null&&eA.callee.property.type==="Identifier"&&["debug","dir","error","group","groupCollapsed","info","log","trace","warn"].includes(eA.callee.property.name))return call(eA.callee,spread(call("$.log_if_contains_state",literal(eA.callee.property.name),...eA.arguments.map(tA=>AA.visit(tA)))));AA.next()}function ClassBody(eA,AA){var sA,CA;if(!AA.state.analysis.runes){AA.next();return}const tA=new Map,gA=new Map,iA=[];for(const oA of eA.body)if(oA.type==="PropertyDefinition"&&(oA.key.type==="Identifier"||oA.key.type==="PrivateIdentifier"||oA.key.type==="Literal")){const QA=oA.key.type,EA=get_name(oA.key);if(!EA)continue;const rA=QA==="PrivateIdentifier";if(rA&&iA.push(EA),((sA=oA.value)==null?void 0:sA.type)==="CallExpression"){const lA=get_rune(oA.value,AA.state.scope);if(lA==="$state"||lA==="$state.raw"||lA==="$derived"||lA==="$derived.by"){const uA={kind:lA==="$state"?"state":lA==="$state.raw"?"raw_state":lA==="$derived.by"?"derived_by":"derived",id:rA?oA.key:null};rA?gA.set(EA,uA):tA.set(EA,uA)}}}for(const[oA,QA]of tA){let EA=oA;for(;iA.includes(EA);)EA="_"+EA;iA.push(EA),QA.id=private_id(EA)}const IA=[],BA={...AA.state,public_state:tA,private_state:gA};for(const oA of eA.body){if(oA.type==="PropertyDefinition"&&(oA.key.type==="Identifier"||oA.key.type==="PrivateIdentifier"||oA.key.type==="Literal")){const QA=get_name(oA.key);if(!QA)continue;const EA=oA.key.type==="PrivateIdentifier",rA=(EA?gA:tA).get(QA);if(((CA=oA.value)==null?void 0:CA.type)==="CallExpression"&&rA!==void 0){let lA=null;if(oA.value.arguments.length>0){const uA=AA.visit(oA.value.arguments[0],BA);lA=rA.kind==="state"?call("$.state",should_proxy(uA,AA.state.scope)?call("$.proxy",uA):uA):rA.kind==="raw_state"?call("$.state",uA):rA.kind==="derived_by"?call("$.derived",uA):call("$.derived",thunk(uA))}else lA=call("$.state");if(EA)IA.push(prop_def(rA.id,lA));else{const uA=member(this_instance,rA.id);if(IA.push(prop_def(rA.id,lA)),IA.push(method("get",oA.key,[],[return_builder(call("$.get",uA))])),rA.kind==="state"){const cA=id$1("value"),hA=member(this_instance,rA.id);IA.push(method("set",oA.key,[cA],[stmt(call("$.set",uA,build_proxy_reassignment(cA,hA)))]))}if(rA.kind==="raw_state"){const cA=id$1("value");IA.push(method("set",oA.key,[cA],[stmt(call("$.set",uA,cA))]))}dev&&(rA.kind==="derived"||rA.kind==="derived_by")&&IA.push(method("set",oA.key,[id$1("_")],[throw_error$1(`Cannot update a derived property ('${QA}')`)]))}continue}}IA.push(AA.visit(oA,BA))}return dev&&tA.size>0&&IA.push(method("method",id$1("$.ADD_OWNER"),[id$1("owner")],Array.from(tA.keys()).map(oA=>stmt(call("$.add_owner",call("$.get",member(this_instance,private_id(oA))),id$1("owner"),literal(!1),is_ignored(eA,"ownership_invalid_binding")&&true_instance))),!0)),{...eA,body:IA}}function get_name(eA){var AA;return eA.type==="Literal"?(AA=eA.value)==null?void 0:AA.toString().replace(regex_invalid_identifier_chars,"_"):eA.name}function Comment(eA,AA){AA.state.template.push(`<!--${eA.data}-->`)}function build_component(eA,AA,tA,gA=tA.state.node){var mA,MA;const iA=[],IA=[],BA={default:{...tA.state,scope:eA.metadata.scopes.default,transform:{...tA.state.transform}}},sA={},CA={},oA=[];let QA=null;const EA=[];let rA=!!determine_slot(eA),lA=!1;function uA(fA){const LA=iA.at(-1),_A=Array.isArray(LA),bA=_A?LA:[];bA.push(fA),_A||iA.push(bA)}if(rA)for(const fA of eA.attributes)fA.type==="LetDirective"&&IA.push(tA.visit(fA));for(const fA of eA.attributes)if(fA.type==="LetDirective")rA||IA.push(tA.visit(fA,BA.default));else if(fA.type==="OnDirective"){fA.expression||(tA.state.analysis.needs_props=!0);let LA=build_event_handler(fA.expression,fA.metadata.expression,tA);fA.modifiers.includes("once")&&(LA=call("$.once",LA)),(CA[mA=fA.name]||(CA[mA]=[])).push(LA)}else if(fA.type==="SpreadAttribute"){const LA=tA.visit(fA);if(fA.metadata.expression.has_state){let _A=LA;if(fA.metadata.expression.has_call){const bA=id$1(tA.state.scope.generate("spread_element"));tA.state.init.push(var_builder(bA,call("$.derived",thunk(_A)))),_A=call("$.get",bA)}iA.push(thunk(_A))}else iA.push(LA)}else if(fA.type==="Attribute"){if(fA.name.startsWith("--")){oA.push(init(fA.name,build_attribute_value(fA.value,tA).value));continue}fA.name==="slot"&&(rA=!0),fA.name==="children"&&(lA=!0);const{value:LA}=build_attribute_value(fA.value,tA);if(fA.metadata.expression.has_state){let _A=LA;if(get_attribute_chunks(fA.value).some(JA=>JA.type==="ExpressionTag"&&JA.expression.type!=="Identifier"&&JA.expression.type!=="MemberExpression")){const JA=id$1(tA.state.scope.generate(fA.name));tA.state.init.push(var_builder(JA,create_derived(tA.state,thunk(LA)))),_A=call("$.get",JA)}uA(get(fA.name,[return_builder(_A)]))}else uA(init(fA.name,LA))}else if(fA.type==="BindDirective"){const LA=tA.visit(fA.expression);if(dev&&LA.type==="MemberExpression"&&tA.state.analysis.runes&&!is_ignored(eA,"binding_property_non_reactive")&&validate_binding(tA.state,fA,LA),fA.name==="this")QA=fA.expression;else{dev&&EA.push(stmt(call(id$1("$.add_owner_effect"),thunk(LA),id$1(AA),is_ignored(eA,"ownership_invalid_binding")&&true_instance)));const _A=fA.expression.type==="Identifier"&&((MA=tA.state.scope.get(fA.expression.name))==null?void 0:MA.kind)==="store_sub";uA(_A?get(fA.name,[stmt(call("$.mark_store_binding")),return_builder(LA)]):get(fA.name,[return_builder(LA)]));const bA=assignment("=",fA.expression,id$1("$$value"));uA(set(fA.name,[stmt(tA.visit(bA))]))}}if(rA&&tA.state.init.push(...IA),Object.keys(CA).length>0){const fA=object$2(Object.keys(CA).map(LA=>init(LA,CA[LA].length>1?array(CA[LA]):CA[LA][0])));uA(init("$$events",fA))}const cA=[],hA=[];for(const fA of eA.fragment.nodes){if(fA.type==="SnippetBlock"){tA.visit(fA,{...tA.state,init:cA}),uA(prop("init",fA.expression,fA.expression)),hA.push(init(fA.expression.name==="children"?"default":fA.expression.name,true_instance));continue}let LA=determine_slot(fA)??"default";(sA[LA]||(sA[LA]=[])).push(fA)}for(const fA of Object.keys(sA)){const LA=tA.visit({...eA.fragment,nodes:sA[fA]},fA==="default"?rA?tA.state:BA.default:{...tA.state,scope:eA.metadata.scopes[fA],transform:{...tA.state.transform}});if(LA.body.length===0)continue;const _A=arrow([id$1("$$anchor"),id$1("$$slotProps")],block([...fA==="default"&&!rA?IA:[],...LA.body]));fA==="default"&&!lA?IA.length===0&&sA.default.every(bA=>bA.type!=="SvelteFragment"||!bA.attributes.some(JA=>JA.type==="LetDirective"))?(uA(init("children",dev?call("$.wrap_snippet",id$1(tA.state.analysis.name),_A):_A)),hA.push(init(fA,true_instance))):(hA.push(init(fA,_A)),uA(init("children",id$1("$.invalid_default_snippet")))):hA.push(init(fA,_A))}hA.length>0&&uA(init("$$slots",object$2(hA))),!tA.state.analysis.runes&&eA.attributes.some(fA=>fA.type==="BindDirective")&&uA(init("$$legacy",true_instance));const dA=iA.length===0||iA.length===1&&Array.isArray(iA[0])?object$2(iA[0]||[]):call("$.spread_props",...iA.map(fA=>Array.isArray(fA)?object$2(fA):fA));let pA=fA=>call(eA.type==="SvelteComponent"?AA:tA.visit(member_id(AA)),fA,dA);if(QA!==null){const fA=pA;pA=LA=>build_bind_this(QA,fA(LA),tA)}const wA=[...cA];if(eA.type==="SvelteComponent"){const fA=pA;pA=LA=>call("$.component",LA,thunk(tA.visit(eA.expression)),arrow([id$1("$$anchor"),id$1(AA)],block([...EA,stmt(fA(id$1("$$anchor")))])))}else wA.push(...EA);return Object.keys(oA).length>0?(tA.state.template.push(tA.state.metadata.namespace==="svg"?"<g><!></g>":'<svelte-css-wrapper style="display: contents"><!></svelte-css-wrapper>'),wA.push(stmt(call("$.css_props",gA,thunk(object$2(oA)))),stmt(pA(member(gA,"lastChild"))),stmt(call("$.reset",gA)))):(tA.state.template.push("<!>"),wA.push(stmt(pA(gA)))),wA.length>1?block(wA):wA[0]}function Component(eA,AA){if(eA.metadata.dynamic){const gA=build_component(eA,"$$component",AA,id$1("$$anchor"));AA.state.init.push(stmt(call("$.component",AA.state.node,thunk(AA.visit(member_id(eA.name))),arrow([id$1("$$anchor"),id$1("$$component")],block([gA])))));return}const tA=build_component(eA,eA.name,AA);AA.state.init.push(tA)}function ConstTag(eA,AA){const tA=eA.declaration.declarations[0];if(tA.id.type==="Identifier")AA.state.init.push(const_builder(tA.id,create_derived(AA.state,thunk(AA.visit(tA.init))))),AA.state.transform[tA.id.name]={read:get_value},dev&&AA.state.init.push(stmt(call("$.get",tA.id)));else{const gA=extract_identifiers(tA.id),iA=id$1(AA.state.scope.generate("computed_const")),IA={...AA.state.transform};for(const CA of gA)delete IA[CA.name];const BA={...AA.state,transform:IA},sA=arrow([],block([const_builder(AA.visit(tA.id,BA),AA.visit(tA.init,BA)),return_builder(object$2(gA.map(CA=>prop("init",CA,CA))))]));AA.state.init.push(const_builder(iA,create_derived(AA.state,sA))),dev&&AA.state.init.push(stmt(call("$.get",iA)));for(const CA of gA)AA.state.transform[CA.name]={read:oA=>member(call("$.get",iA),oA)}}}function DebugTag(eA,AA){const tA=object$2(eA.identifiers.map(iA=>{const IA=call("$.snapshot",AA.visit(iA));return prop("init",iA,AA.state.analysis.runes?IA:call("$.untrack",thunk(IA)))})),gA=call("console.log",tA);AA.state.init.push(stmt(call("$.template_effect",thunk(block([stmt(gA),debugger_builder])))))}function EachBlock(eA,AA){var fA,LA;const tA=eA.metadata,gA=AA.visit(eA.expression,{...AA.state,scope:AA.state.scope.parent});tA.is_controlled||AA.state.template.push("<!>"),tA.array_name!==null&&AA.state.init.push(const_builder(tA.array_name,thunk(gA)));let iA=0;eA.metadata.keyed&&eA.index&&(iA|=EACH_INDEX_REACTIVE);const IA=((fA=eA.key)==null?void 0:fA.type)==="Identifier"&&eA.context.type==="Identifier"&&eA.context.name===eA.key.name;let BA;for(const _A of eA.metadata.expression.dependencies)if(_A.kind==="store_sub"){BA=!0;break}for(const _A of eA.metadata.expression.dependencies)if(!(_A.scope.function_depth>=AA.state.scope.function_depth)&&(!AA.state.analysis.runes||!IA||BA)){iA|=EACH_ITEM_REACTIVE;break}AA.state.analysis.runes&&!BA&&(iA|=EACH_ITEM_IMMUTABLE),eA.key&&eA.body.nodes.some(_A=>_A.type!=="RegularElement"&&_A.type!=="SvelteElement"?!1:_A.attributes.some(bA=>bA.type==="AnimateDirective"))&&(iA|=EACH_IS_ANIMATED),tA.is_controlled&&(iA|=EACH_IS_CONTROLLED);let sA="";if(eA.expression.type==="Identifier"||eA.expression.type==="MemberExpression"){const _A=object$1(eA.expression);if(_A){const bA=AA.state.scope.get(_A.name);(bA==null?void 0:bA.kind)==="store_sub"&&(sA=_A.name)}}const CA=collect_parent_each_blocks(AA).flatMap(_A=>{const bA=AA.visit(_A.expression),JA=build_transitive_dependencies(_A.metadata.expression.dependencies,AA);return[bA,...JA]});if(tA.array_name)CA.push(call(tA.array_name));else{CA.push(gA);const _A=build_transitive_dependencies(tA.expression.dependencies,AA);CA.push(..._A)}const oA={...AA.state,transform:{...AA.state.transform}},QA={...AA.state,transform:{...AA.state.transform}},EA=tA.contains_group_binding||!eA.index?tA.index:id$1(eA.index),rA=eA.context.type==="Identifier"?eA.context:id$1("$$item");let lA=tA.contains_group_binding,uA=!1;eA.index&&(oA.transform[eA.index]={read:_A=>(lA=!0,iA&EACH_INDEX_REACTIVE?get_value(_A):_A)},QA.transform[eA.index]={read:_A=>(uA=!0,_A)});const cA=[],hA=call("$.invalidate_inner_signals",thunk(sequence$1(CA))),dA=sA?call("$.invalidate_store",id$1("$$stores"),literal(sA)):void 0,pA=[];if(AA.state.analysis.runes||pA.push(hA),dA&&pA.push(dA),eA.context.type==="Identifier"){const _A=AA.state.scope.get(eA.context.name);oA.transform[eA.context.name]={read:bA=>_A.reassigned?member(tA.array_name?call(tA.array_name):gA,iA&EACH_INDEX_REACTIVE?get_value(EA):EA,!0):iA&EACH_ITEM_REACTIVE?get_value(bA):bA,assign:(bA,JA)=>{lA=!0;const RA=member(tA.array_name?call(tA.array_name):gA,iA&EACH_INDEX_REACTIVE?get_value(EA):EA,!0);return sequence$1([assignment("=",RA,JA),...pA])},mutate:(bA,JA)=>sequence$1([JA,...pA])},delete QA.transform[eA.context.name]}else{const _A=iA&EACH_ITEM_REACTIVE?call("$.get",rA):rA;for(const bA of extract_paths(eA.context)){const JA=bA.node.name,RA=bA.has_default_value,NA=thunk(AA.visit((LA=bA.expression)==null?void 0:LA.call(bA,_A),oA));cA.push(let_builder(bA.node,RA?call("$.derived_safe_equal",NA):NA));const FA=RA?get_value:call;oA.transform[JA]={read:FA,assign:(vA,xA)=>{const kA=bA.update_expression(_A);return sequence$1([assignment("=",kA,xA),...pA])},mutate:(vA,xA)=>sequence$1([xA,...pA])},dev&&cA.push(stmt(FA(id$1(JA)))),delete QA.transform[JA]}}const wA=AA.visit(eA.body,oA);let mA=id$1("$.index");if(eA.metadata.keyed){const _A=AA.visit(eA.key,QA);mA=arrow(uA?[eA.context,EA]:[eA.context],_A)}eA.index&&tA.contains_group_binding&&cA.push(let_builder(eA.index,EA)),dev&&eA.metadata.keyed&&AA.state.init.push(stmt(call("$.validate_each_keys",thunk(gA),mA)));const MA=[AA.state.node,literal(iA),tA.array_name?tA.array_name:thunk(gA),mA,arrow(lA?[id$1("$$anchor"),rA,EA]:[id$1("$$anchor"),rA],block(cA.concat(wA.body)))];eA.fallback&&MA.push(arrow([id$1("$$anchor")],AA.visit(eA.fallback))),AA.state.init.push(stmt(call("$.each",...MA)))}function collect_parent_each_blocks(eA){return eA.path.filter(AA=>AA.type==="EachBlock")}function build_transitive_dependencies(eA,AA){const tA=new Set;for(const gA of eA){const iA=collect_transitive_dependencies(gA);for(const IA of iA)tA.add(IA)}return[...tA].map(gA=>build_getter$1({...gA.node},AA.state))}function collect_transitive_dependencies(eA,AA=new Set){if(eA.kind!=="legacy_reactive")return[];for(const tA of eA.legacy_dependencies)if(!AA.has(tA)){AA.add(tA);for(const gA of collect_transitive_dependencies(tA,AA))AA.add(gA)}return[...AA]}function ExportNamedDeclaration(eA,AA){return AA.state.is_instance?eA.declaration?AA.visit(eA.declaration):empty:AA.next()}function ExpressionStatement(eA,AA){if(eA.expression.type==="CallExpression"){const tA=get_rune(eA.expression,AA.state.scope);if(tA==="$effect"||tA==="$effect.pre"){const gA=tA==="$effect"?"$.user_effect":"$.user_pre_effect",iA=AA.visit(eA.expression.arguments[0]),IA=call(gA,iA);return IA.callee.loc=eA.expression.callee.loc,stmt(IA)}}AA.next()}function process_children(eA,AA,tA,{visit:gA,state:iA}){const IA=iA.metadata.bound_contenteditable;let BA=AA,sA=0,CA=[];function oA(rA){return sA===0?BA(rA):call("$.sibling",BA(!1),(rA||sA!==1)&&literal(sA),rA&&true_instance)}function QA(rA,lA){const uA=oA(rA);let cA=uA;return cA.type!=="Identifier"&&(cA=id$1(iA.scope.generate(lA)),iA.init.push(var_builder(cA,uA))),BA=()=>cA,sA=1,cA}function EA(rA){if(rA.every(wA=>wA.type==="Text")){sA+=1,iA.template.push(rA.map(wA=>wA.raw).join(""));return}iA.template.push(" ");const{has_state:lA,has_call:uA,value:cA}=build_template_literal(rA,gA,iA),hA=rA.length===1,dA=QA(hA,"text"),pA=stmt(call("$.set_text",dA,cA));uA&&!IA?iA.init.push(build_update(pA)):lA&&!IA?iA.update.push(pA):iA.init.push(stmt(assignment("=",member(dA,"nodeValue"),cA)))}for(const rA of eA)if(rA.type==="Text"||rA.type==="ExpressionTag")CA.push(rA);else{CA.length>0&&(EA(CA),CA=[]);let lA=iA;if(is_static_element(rA))sA+=1;else if(rA.type==="EachBlock"&&eA.length===1&&tA)rA.metadata.is_controlled=!0;else{const uA=QA(!1,rA.type==="RegularElement"?rA.name:"node");lA={...iA,node:uA}}gA(rA,lA)}CA.length>0&&EA(CA),sA>1&&(sA-=1,iA.init.push(stmt(call("$.next",sA!==1&&literal(sA)))))}function is_static_element(eA){if(eA.type!=="RegularElement"||eA.fragment.metadata.dynamic)return!1;for(const AA of eA.attributes)if(AA.type!=="Attribute"||is_event_attribute(AA)||AA.value!==!0&&!is_text_attribute(AA)||AA.name==="autofocus"||AA.name==="muted"||eA.name==="option"&&AA.name==="value"||eA.name.includes("-"))return!1;return!0}function Fragment(eA,AA){const tA=AA.path.at(-1)??eA,gA=infer_namespace(AA.state.metadata.namespace,tA,eA.nodes),{hoisted:iA,trimmed:IA,is_standalone:BA,is_text_first:sA}=clean_nodes(tA,eA.nodes,AA.path,gA,AA.state,AA.state.preserve_whitespace,AA.state.options.preserveComments);if(iA.length===0&&IA.length===0)return block([]);const CA=IA.length===1&&IA[0].type==="RegularElement",oA=IA.length===1&&(IA[0].type==="SvelteFragment"||IA[0].type==="TitleElement"),QA=AA.state.scope.root.unique("root"),EA=[];let rA;const lA={...AA.state,before_init:[],init:[],update:[],after_update:[],template:[],locations:[],transform:{...AA.state.transform},metadata:{context:{template_needs_import_node:!1,template_contains_script_tag:!1},namespace:gA,bound_contenteditable:AA.state.metadata.bound_contenteditable}};for(const cA of iA)AA.visit(cA,lA);sA&&EA.push(stmt(call("$.next")));const uA=(cA,hA)=>{let dA=call(get_template_function(gA,lA),...hA);dev&&(dA=call("$.add_locations",dA,member(id$1(AA.state.analysis.name),"$.FILENAME",!0),build_locations(lA.locations))),AA.state.hoisted.push(var_builder(cA,dA))};if(CA){const cA=IA[0],hA=id$1(AA.state.scope.generate(cA.name));AA.visit(cA,{...lA,node:hA});const dA=[join_template(lA.template)];lA.metadata.context.template_needs_import_node&&dA.push(literal(TEMPLATE_USE_IMPORT_NODE)),uA(QA,dA),EA.push(var_builder(hA,call(QA)),...lA.before_init,...lA.init),rA=stmt(call("$.append",id$1("$$anchor"),hA))}else if(oA)AA.visit(IA[0],lA),EA.push(...lA.before_init,...lA.init);else if(IA.length===1&&IA[0].type==="Text"){const cA=id$1(AA.state.scope.generate("text"));EA.push(var_builder(cA,call("$.text",literal(IA[0].data))),...lA.before_init,...lA.init),rA=stmt(call("$.append",id$1("$$anchor"),cA))}else if(IA.length>0){const cA=id$1(AA.state.scope.generate("fragment"));if(IA.some(dA=>dA.type==="ExpressionTag")&&IA.every(dA=>dA.type==="Text"||dA.type==="ExpressionTag")){const dA=id$1(AA.state.scope.generate("text"));process_children(IA,()=>dA,!1,{...AA,state:lA}),EA.push(var_builder(dA,call("$.text")),...lA.before_init,...lA.init),rA=stmt(call("$.append",id$1("$$anchor"),dA))}else{if(BA)process_children(IA,()=>id$1("$$anchor"),!1,{...AA,state:lA});else{process_children(IA,wA=>call("$.first_child",cA,wA&&true_instance),!1,{...AA,state:lA});let pA=TEMPLATE_FRAGMENT;lA.metadata.context.template_needs_import_node&&(pA|=TEMPLATE_USE_IMPORT_NODE),lA.template.length===1&&lA.template[0]==="<!>"?EA.push(var_builder(cA,call("$.comment"))):(uA(QA,[join_template(lA.template),literal(pA)]),EA.push(var_builder(cA,call(QA)))),rA=stmt(call("$.append",id$1("$$anchor"),cA))}EA.push(...lA.before_init,...lA.init)}}else EA.push(...lA.before_init,...lA.init);return lA.update.length>0&&EA.push(build_render_statement(lA.update)),EA.push(...lA.after_update),rA!==void 0&&EA.push(rA),block(EA)}function join_template(eA){let AA=quasi("");const tA=template([AA],[]);for(const gA of eA)typeof gA=="string"?AA.value.cooked+=gA:(tA.expressions.push(gA),tA.quasis.push(AA=quasi("")));for(const gA of tA.quasis)gA.value.raw=sanitize_template_string(gA.value.cooked);return AA.tail=!0,tA}function get_template_function(eA,AA){const tA=AA.metadata.context.template_contains_script_tag;return eA==="svg"?tA?"$.svg_template_with_script":"$.ns_template":eA==="mathml"?"$.mathml_template":tA?"$.template_with_script":"$.template"}function build_locations(eA){return array(eA.map(AA=>{const tA=array([literal(AA[0]),literal(AA[1])]);return AA.length===3&&tA.elements.push(build_locations(AA[2])),tA}))}function FunctionDeclaration(eA,AA){var gA;const tA={...AA.state,in_constructor:!1};if(((gA=eA.metadata)==null?void 0:gA.hoisted)===!0){const iA=build_hoisted_params(eA,AA),IA=AA.visit(eA.body,tA);return AA.state.hoisted.push({...eA,params:iA,body:IA}),empty}AA.next(tA)}function FunctionExpression(eA,AA){return visit_function(eA,AA)}function HtmlTag(eA,AA){AA.state.template.push("<!>"),AA.state.init.push(stmt(call("$.html",AA.state.node,thunk(AA.visit(eA.expression)),literal(AA.state.metadata.namespace==="svg"),literal(AA.state.metadata.namespace==="mathml"),is_ignored(eA,"hydration_html_changed")&&true_instance)))}function Identifier(eA,AA){const tA=AA.path.at(-1);if(is_reference(eA,tA)){if(eA.name==="$$props")return id$1("$$sanitized_props");const gA=AA.state.scope.get(eA.name);if(AA.state.analysis.runes&&gA!==null&&eA!==gA.node&&gA.kind==="rest_prop"){const iA=AA.path.at(-2);if((tA==null?void 0:tA.type)==="MemberExpression"&&!tA.computed&&(iA==null?void 0:iA.type)!=="AssignmentExpression"&&(iA==null?void 0:iA.type)!=="UpdateExpression")return id$1("$$props")}return build_getter$1(eA,AA.state)}}function IfBlock(eA,AA){AA.state.template.push("<!>");const tA=AA.visit(eA.consequent),gA=[AA.state.node,thunk(AA.visit(eA.test)),arrow([id$1("$$anchor")],tA)];(eA.alternate||eA.elseif)&&gA.push(eA.alternate?arrow([id$1("$$anchor")],AA.visit(eA.alternate)):literal(null)),eA.elseif&&gA.push(literal(!0)),AA.state.init.push(stmt(call("$.if",...gA)))}function ImportDeclaration(eA,AA){if("hoisted"in AA.state)return AA.state.hoisted.push(eA),empty;AA.next()}function KeyBlock(eA,AA){AA.state.template.push("<!>");const tA=AA.visit(eA.expression),gA=AA.visit(eA.fragment);AA.state.init.push(stmt(call("$.key",AA.state.node,thunk(tA),arrow([id$1("$$anchor")],gA))))}function LabeledStatement(eA,AA){if(AA.state.analysis.runes||AA.path.length>1||eA.label.name!=="$"){AA.next();return}const tA=AA.state.analysis.reactive_statements.get(eA);if(!tA)return;let gA=AA.visit(eA.body);gA.type!=="BlockStatement"&&(gA=block([gA]));const iA=gA.body,IA=[];for(const BA of tA.dependencies){if(BA.kind==="normal"&&BA.declaration_kind!=="import")continue;const sA=BA.node.name;let CA=build_getter$1(id$1(sA),AA.state);(sA==="$$props"||sA==="$$restProps"||BA.kind==="bindable_prop")&&(CA=call("$.deep_read_state",CA)),IA.push(CA)}return AA.state.legacy_reactive_statements.set(eA,stmt(call("$.legacy_pre_effect",IA.length>0?thunk(sequence$1(IA)):thunk(block([])),thunk(block(iA))))),empty}function LetDirective(eA,AA){if(eA.expression&&eA.expression.type!=="Identifier"){const tA=AA.state.scope.generate(eA.name),gA=AA.state.scope.get_bindings(eA);for(const iA of gA)AA.state.transform[iA.node.name]={read:IA=>member(call("$.get",id$1(tA)),IA)};return const_builder(tA,call("$.derived",thunk(block([let_builder(eA.expression.type==="ObjectExpression"?object_pattern(eA.expression.properties):array_pattern(eA.expression.elements),member(id$1("$$slotProps"),eA.name)),return_builder(object$2(gA.map(iA=>init(iA.node.name,iA.node))))]))))}else{const tA=eA.expression===null?eA.name:eA.expression.name;return AA.state.transform[tA]={read:gA=>call("$.get",gA)},const_builder(tA,create_derived(AA.state,thunk(member(id$1("$$slotProps"),eA.name))))}}function MemberExpression(eA,AA){if(eA.property.type==="PrivateIdentifier"&&AA.state.private_state.get(eA.property.name))return AA.state.in_constructor?member(eA,"v"):call("$.get",eA);AA.next()}const modifiers=["stopPropagation","stopImmediatePropagation","preventDefault","self","trusted","once"];function OnDirective(eA,AA){eA.expression||(AA.state.analysis.needs_props=!0);let tA=build_event_handler(eA.expression,eA.metadata.expression,AA);for(const IA of modifiers)eA.modifiers.includes(IA)&&(tA=call("$."+IA,tA));const gA=eA.modifiers.includes("capture"),iA=eA.modifiers.includes("passive")||(eA.modifiers.includes("nonpassive")?!1:void 0);return build_event(eA.name,AA.state.node,tA,gA,iA)}function Program(eA,AA){if(!AA.state.analysis.runes){AA.state.transform.$$props={read:tA=>({...tA,name:"$$sanitized_props"})};for(const[tA,gA]of AA.state.scope.declarations)if(gA.declaration_kind==="import"&&gA.mutated){const{start:iA,end:IA}=AA.state.analysis.instance.ast,BA=gA.initial;if(BA.start>iA&&BA.end<IA){const CA=id$1("$$_import_"+tA);AA.state.transform[tA]={read:oA=>call(CA),mutate:(oA,QA)=>call(CA,QA)},AA.state.legacy_reactive_imports.push(var_builder(CA,call("$.reactive_import",thunk(id$1(tA)))))}}}for(const[tA,gA]of AA.state.scope.declarations){if(gA.kind==="store_sub"){let iA;const IA=()=>iA??(iA=AA.visit(id$1(tA.slice(1))));AA.state.transform[tA]={read:call,assign:(BA,sA)=>call("$.store_set",IA(),sA),mutate:(BA,sA)=>{const CA=call("$.untrack",BA);function oA(QA){return QA.type==="MemberExpression"?{...QA,object:oA(QA.object),property:QA.property}:CA}return call("$.store_mutate",IA(),assignment(sA.operator,oA(sA.left),sA.right),CA)},update:BA=>call(BA.prefix?"$.update_pre_store":"$.update_store",build_getter$1(id$1(tA.slice(1)),AA.state),call(BA.argument),BA.operator==="--"&&literal(-1))}}if(gA.kind==="prop"||gA.kind==="bindable_prop")if(is_prop_source(gA,AA.state))AA.state.transform[tA]={read:call,assign:(iA,IA)=>call(iA,IA),mutate:(iA,IA)=>gA.kind==="bindable_prop"?call(iA,IA,true_instance):IA,update:iA=>call(iA.prefix?"$.update_pre_prop":"$.update_prop",iA.argument,iA.operator==="--"&&literal(-1))};else if(gA.prop_alias){const iA=key$2(gA.prop_alias);AA.state.transform[tA]={read:IA=>member(id$1("$$props"),iA,iA.type==="Literal")}}else AA.state.transform[tA]={read:iA=>member(id$1("$$props"),iA)}}add_state_transformers(AA),AA.next()}function RegularElement(eA,AA){let tA=[-1,-1];if(dev){const fA=locator(eA.start);fA&&(tA[0]=fA.line,tA[1]=fA.column,AA.state.locations.push(tA))}if(eA.name==="noscript"){AA.state.template.push("<noscript></noscript>");return}const gA=is_custom_element_node(eA);(eA.name==="video"||gA)&&(AA.state.metadata.context.template_needs_import_node=!0),eA.name==="script"&&(AA.state.metadata.context.template_contains_script_tag=!0),AA.state.template.push(`<${eA.name}`);const iA=[],IA=[],BA=[],sA=[],CA=[],oA=new Map,QA=new Map;let EA=eA.metadata.has_spread,rA=!1;for(const fA of eA.attributes)switch(fA.type){case"AnimateDirective":sA.push(fA);break;case"Attribute":if(fA.name==="is"&&AA.state.metadata.namespace==="html"){const{value:LA}=build_attribute_value(fA.value,AA);if(LA.type==="Literal"&&typeof LA.value=="string"){AA.state.template.push(` is="${escape_html(LA.value,!0)}"`);continue}}iA.push(fA),oA.set(fA.name,fA);break;case"BindDirective":QA.set(fA.name,fA),sA.push(fA);break;case"ClassDirective":IA.push(fA);break;case"LetDirective":CA.push(AA.visit(fA));break;case"OnDirective":sA.push(fA);break;case"SpreadAttribute":iA.push(fA);break;case"StyleDirective":BA.push(fA);break;case"TransitionDirective":sA.push(fA);break;case"UseDirective":rA=!0,sA.push(fA);break}const lA={...AA.state,init:[],after_update:[]};for(const fA of sA)if(fA.type==="OnDirective"){const LA=AA.visit(fA);rA?lA.init.push(stmt(call("$.effect",thunk(LA)))):lA.after_update.push(stmt(LA))}else AA.visit(fA,lA);if(eA.name==="input"&&(EA||QA.has("value")||QA.has("checked")||QA.has("group")||iA.some(fA=>fA.type==="Attribute"&&(fA.name==="value"||fA.name==="checked")&&!is_text_attribute(fA)))&&AA.state.init.push(stmt(call("$.remove_input_defaults",AA.state.node))),eA.name==="textarea"){const fA=oA.get("value")??oA.get("checked"),LA=fA&&!is_text_attribute(fA);(EA||QA.has("value")||LA)&&AA.state.init.push(stmt(call("$.remove_textarea_child",AA.state.node)))}eA.name==="select"&&QA.has("value")&&setup_select_synchronization(QA.get("value"),AA),AA.state.init.push(...CA);const uA=AA.state.node;let cA=EA;if(EA){const fA=id$1(AA.state.scope.generate("attributes"));build_set_attributes(iA,AA,eA,uA,fA,(eA.metadata.svg||eA.metadata.mathml||is_custom_element_node(eA))&&true_instance,eA.name.includes("-")&&true_instance,AA.state),eA.name==="select"&&!QA.has("value")&&(AA.state.init.push(stmt(call("$.init_select",uA,thunk(member(fA,"value"))))),AA.state.update.push(if_builder(binary("in",literal("value"),fA),block([stmt(call("$.select_option",uA,member(fA,"value")))]))))}else{const fA=eA.name==="option"||eA.name==="select"||QA.has("group")||QA.has("checked");for(const LA of iA){if(is_event_attribute(LA)){visit_event_attribute(LA,AA);continue}if(fA&&LA.name==="value"){build_element_special_value_attribute(eA.name,uA,LA,AA);continue}if(!gA&&LA.name!=="autofocus"&&LA.name!=="muted"&&(LA.value===!0||is_text_attribute(LA))){const bA=get_attribute_name(eA,LA),JA=is_text_attribute(LA)?LA.value[0].data:!0;(bA!=="class"||JA)&&AA.state.template.push(` ${LA.name}${is_boolean_attribute(bA)&&JA===!0?"":`="${JA===!0?"":escape_html(JA,!0)}"`}`);continue}(gA?build_custom_element_attribute_update_assignment(uA,LA,AA):build_element_attribute_update_assignment(eA,uA,LA,AA))&&(cA=!0)}}build_class_directives(IA,uA,AA,cA),build_style_directives(BA,uA,AA,cA),eA.name==="img"&&(EA||oA.has("loading"))&&AA.state.after_update.push(stmt(call("$.handle_lazy_img",uA))),is_load_error_element(eA.name)&&(EA||rA||oA.has("onload")||oA.has("onerror"))&&AA.state.after_update.push(stmt(call("$.replay_events",uA))),AA.state.template.push(">");const hA={...AA.state.metadata,namespace:determine_namespace_for_children(eA,AA.state.metadata.namespace)};if(QA.has("innerHTML")||QA.has("innerText")||QA.has("textContent")){const fA=oA.get("contenteditable");fA&&(fA.value===!0||is_text_attribute(fA)&&fA.value[0].data==="true")&&(hA.bound_contenteditable=!0)}const dA={...AA.state,metadata:hA,locations:[],scope:AA.state.scopes.get(eA.fragment),preserve_whitespace:AA.state.preserve_whitespace||eA.name==="pre"||eA.name==="textarea"},{hoisted:pA,trimmed:wA}=clean_nodes(eA,eA.fragment.nodes,AA.path,dA.metadata.namespace,dA,eA.name==="script"||dA.preserve_whitespace,dA.options.preserveComments),mA={...dA,init:[],update:[],after_update:[]};for(const fA of pA)AA.visit(fA,mA);const MA=wA.every(fA=>fA.type==="Text"||fA.type==="ExpressionTag")&&wA.some(fA=>fA.type==="ExpressionTag")&&get_states_and_calls(wA);if(MA&&MA.states===0)mA.init.push(stmt(assignment("=",member(AA.state.node,"textContent"),build_template_literal(wA,AA.visit,mA).value)));else{let fA=AA.state.node,LA=wA.some(_A=>_A.type!=="Text");eA.name==="template"&&(LA=!0,mA.init.push(stmt(call("$.hydrate_template",fA))),fA=member(fA,"content")),process_children(wA,_A=>call("$.child",fA,_A&&true_instance),!0,{...AA,state:mA}),LA&&mA.init.push(stmt(call("$.reset",AA.state.node)))}if(eA.fragment.nodes.some(fA=>fA.type==="SnippetBlock")?AA.state.init.push(block([...mA.init,...lA.init,mA.update.length>0?build_render_statement(mA.update):empty,...mA.after_update,...lA.after_update])):eA.fragment.metadata.dynamic?(AA.state.init.push(...mA.init,...lA.init),AA.state.update.push(...mA.update),AA.state.after_update.push(...mA.after_update,...lA.after_update)):(AA.state.init.push(...lA.init),AA.state.after_update.push(...lA.after_update)),oA.has("dir")){const fA=member(uA,"dir");AA.state.update.push(stmt(assignment("=",fA,fA)))}dA.locations.length>0&&tA.push(dA.locations),is_void(eA.name)||AA.state.template.push(`</${eA.name}>`)}function setup_select_synchronization(eA,AA){if(AA.state.analysis.runes)return;let tA=eA.expression;for(;tA.type==="MemberExpression";)tA=tA.object;const gA=[];for(const[IA,BA]of AA.state.scope.references)BA.length>0&&IA!==tA.name&&gA.push(IA);const iA=call("$.invalidate_inner_signals",thunk(block(gA.map(IA=>{const BA=build_getter$1(id$1(IA),AA.state);return stmt(BA)}))));AA.state.init.push(stmt(call("$.template_effect",thunk(block([stmt(AA.visit(eA.expression)),stmt(iA)])))))}function build_element_attribute_update_assignment(eA,AA,tA,gA){const iA=gA.state,IA=get_attribute_name(eA,tA),BA=gA.state.metadata.namespace==="svg"||eA.name==="svg",sA=gA.state.metadata.namespace==="mathml";let{has_call:CA,value:oA}=build_attribute_value(tA.value,gA);if(IA==="autofocus")return iA.init.push(stmt(call("$.autofocus",AA,oA))),!1;if(IA==="muted")return iA.init.push(stmt(assignment("=",member(AA,id$1("muted")),oA))),!1;let QA;if(IA==="class"){if(tA.metadata.expression.has_state&&CA){const rA=id$1(iA.scope.generate("class_derived"));iA.init.push(const_builder(rA,create_derived(iA,thunk(oA)))),oA=call("$.get",rA),CA=!1}QA=stmt(call(BA?"$.set_svg_class":sA?"$.set_mathml_class":"$.set_class",AA,oA))}else if(IA==="value")QA=stmt(call("$.set_value",AA,oA));else if(IA==="checked")QA=stmt(call("$.set_checked",AA,oA));else if(is_dom_property(IA))QA=stmt(assignment("=",member(AA,IA),oA));else{if(IA==="style"&&tA.metadata.expression.has_state&&CA){const lA=id$1(iA.scope.generate("style_derived"));iA.init.push(const_builder(lA,create_derived(iA,thunk(oA)))),oA=call("$.get",lA),CA=!1}const rA=IA.startsWith("xlink")?"$.set_xlink_attribute":"$.set_attribute";QA=stmt(call(rA,AA,literal(IA),oA,is_ignored(eA,"hydration_attribute_changed")&&true_instance))}const EA=tA.value===!0?!1:is_inlinable_expression(Array.isArray(tA.value)?tA.value:[tA.value],gA.state);return tA.metadata.expression.has_state?(CA?iA.init.push(build_update(QA)):iA.update.push(QA),!0):(EA?gA.state.template.push(` ${IA}="`,oA,'"'):iA.init.push(QA),!1)}function is_inlinable_expression(eA,AA){var gA;let tA=!1;for(let iA of eA)if(iA.type==="ExpressionTag"){if(iA.expression.type==="Identifier"){const IA=(gA=AA.scope.owner(iA.expression.name))==null?void 0:gA.declarations.get(iA.expression.name);if(!can_inline_variable(IA))return!1}else return!1;tA=!0}return tA}function build_custom_element_attribute_update_assignment(eA,AA,tA){const gA=tA.state,iA=AA.name;let{has_call:IA,value:BA}=build_attribute_value(AA.value,tA);const sA=stmt(call("$.set_custom_element_data",eA,literal(iA),BA));return AA.metadata.expression.has_state?(IA?gA.init.push(build_update(sA)):gA.update.push(sA),!0):(gA.init.push(sA),!1)}function build_element_special_value_attribute(eA,AA,tA,gA){const iA=gA.state,{value:IA}=build_attribute_value(tA.value,gA),BA=assignment("=",member(AA,"value"),conditional(binary("==",literal(null),assignment("=",member(AA,"__value"),IA)),literal(""),IA)),sA=eA==="select"&&tA.value!==!0&&!is_text_attribute(tA),CA=stmt(sA?sequence$1([BA,call("$.select_option",AA,IA)]):BA);if(sA&&iA.init.push(stmt(call("$.init_select",AA,thunk(IA)))),tA.metadata.expression.has_state){const oA=iA.scope.generate(`${AA.name}_value`);return build_update_assignment(iA,oA,eA==="option"?object$2([]):void 0,IA,CA),!0}else return iA.init.push(CA),!1}function RenderTag(eA,AA){AA.state.template.push("<!>");const tA=unwrap_optional(eA.expression).callee,gA=unwrap_optional(eA.expression).arguments;let iA=[];for(let BA=0;BA<gA.length;BA++){const sA=gA[BA],CA=AA.visit(sA);if(eA.metadata.args_with_call_expression.has(BA)){const oA=id$1(AA.state.scope.generate("render_arg"));AA.state.init.push(var_builder(oA,call("$.derived_safe_equal",thunk(CA)))),iA.push(thunk(call("$.get",oA)))}else iA.push(thunk(CA))}let IA=AA.visit(tA);eA.metadata.dynamic?(eA.expression.type==="ChainExpression"&&(IA=logical("??",IA,id$1("$.noop"))),AA.state.init.push(stmt(call("$.snippet",AA.state.node,thunk(IA),...iA)))):AA.state.init.push(stmt((eA.expression.type==="CallExpression"?call:maybe_call)(IA,AA.state.node,...iA)))}function SlotElement(eA,AA){AA.state.template.push("<!>");const tA=[],gA=[],iA=[];let IA=literal("default");for(const oA of eA.attributes)if(oA.type==="SpreadAttribute")gA.push(thunk(AA.visit(oA)));else if(oA.type==="Attribute"){const{value:QA}=build_attribute_value(oA.value,AA);oA.name==="name"?IA=QA:oA.name!=="slot"&&(oA.metadata.expression.has_state?tA.push(get(oA.name,[return_builder(QA)])):tA.push(init(oA.name,QA)))}else oA.type==="LetDirective"&&iA.push(AA.visit(oA));AA.state.init.push(...iA);const BA=gA.length===0?object$2(tA):call("$.spread_props",object$2(tA),...gA),sA=eA.fragment.nodes.length===0?literal(null):arrow([id$1("$$anchor")],AA.visit(eA.fragment)),CA=call("$.slot",AA.state.node,id$1("$$props"),IA,BA,sA);AA.state.init.push(stmt(CA))}function SnippetBlock(eA,AA){var oA;const tA=[id$1("$$anchor")];let gA;const iA=[],IA={...AA.state.transform},BA={...AA.state,transform:IA};for(let QA=0;QA<eA.parameters.length;QA++){const EA=eA.parameters[QA];if(!EA)continue;if(EA.type==="Identifier"){tA.push({type:"AssignmentPattern",left:EA,right:id$1("$.noop")}),IA[EA.name]={read:call};continue}let rA=`$$arg${QA}`;tA.push(id$1(rA));const lA=extract_paths(EA);for(const uA of lA){const cA=uA.node.name,hA=uA.has_default_value,dA=thunk(AA.visit((oA=uA.expression)==null?void 0:oA.call(uA,maybe_call(id$1(rA)))));iA.push(let_builder(uA.node,hA?call("$.derived_safe_equal",dA):dA)),IA[cA]={read:hA?get_value:call},dev&&iA.push(stmt(IA[cA].read(id$1(cA))))}}gA=block([...iA,...AA.visit(eA.body,BA).body]);let sA=arrow(tA,gA);dev&&(sA=call("$.wrap_snippet",id$1(AA.state.analysis.name),sA));const CA=const_builder(eA.expression,sA);AA.path.length===1&&AA.path[0].type==="Fragment"?AA.state.analysis.top_level_snippets.push(CA):AA.state.init.push(CA)}function SpreadAttribute(eA,AA){return AA.visit(eA.expression)}function visit_special_element(eA,AA,tA){const gA={...tA.state,node:id$1(AA)};for(const iA of eA.attributes)iA.type==="OnDirective"?tA.state.init.push(stmt(tA.visit(iA,gA))):tA.visit(iA,gA)}function SvelteBody(eA,AA){visit_special_element(eA,"$.document.body",AA)}function SvelteComponent(eA,AA){const tA=build_component(eA,"$$component",AA);AA.state.init.push(tA)}function SvelteDocument(eA,AA){visit_special_element(eA,"$.document",AA)}function SvelteElement(eA,AA){AA.state.template.push("<!>");const tA=[];let gA;const iA=[],IA=[],BA=[],sA=id$1(AA.state.scope.generate("$$element")),CA={...AA,state:{...AA.state,node:sA,before_init:[],init:[],update:[],after_update:[]}};for(const lA of eA.attributes)if(lA.type==="Attribute")lA.name==="xmlns"&&!is_text_attribute(lA)&&(gA=lA.value),tA.push(lA);else if(lA.type==="SpreadAttribute")tA.push(lA);else if(lA.type==="ClassDirective")iA.push(lA);else if(lA.type==="StyleDirective")IA.push(lA);else if(lA.type==="LetDirective")BA.push(AA.visit(lA));else if(lA.type==="OnDirective"){const uA=AA.visit(lA,CA.state);CA.state.after_update.push(stmt(uA))}else AA.visit(lA,CA.state);AA.state.init.push(...BA);let oA=!1;if(tA.length===0)AA.state.analysis.css.hash&&CA.state.init.push(stmt(call("$.set_class",sA,literal(AA.state.analysis.css.hash))));else{const lA=id$1(AA.state.scope.generate("attributes"));oA=build_set_attributes(tA,CA,eA,sA,lA,binary("===",member(sA,"namespaceURI"),id$1("$.NAMESPACE_SVG")),call(member(member(sA,"nodeName"),"includes"),literal("-")),AA.state)}build_class_directives(iA,sA,CA,oA),build_style_directives(IA,sA,CA,oA);const QA=thunk(AA.visit(eA.tag));dev&&(eA.fragment.nodes.length>0&&AA.state.init.push(stmt(call("$.validate_void_dynamic_element",QA))),AA.state.init.push(stmt(call("$.validate_dynamic_element_tag",QA))));const EA=CA.state.init;CA.state.update.length>0&&EA.push(build_render_statement(CA.state.update)),EA.push(...CA.state.after_update),EA.push(...AA.visit(eA.fragment,{...AA.state,metadata:{...AA.state.metadata,namespace:determine_namespace_for_children(eA,AA.state.metadata.namespace)}}).body);const rA=dev&&locator(eA.start);AA.state.init.push(stmt(call("$.element",AA.state.node,QA,eA.metadata.svg||eA.metadata.mathml?true_instance:false_instance,EA.length>0&&arrow([sA,id$1("$$anchor")],block(EA)),gA&&thunk(build_attribute_value(gA,AA).value),rA&&array([literal(rA.line),literal(rA.column)]))))}function SvelteFragment(eA,AA){for(const tA of eA.attributes)tA.type==="LetDirective"&&AA.state.init.push(AA.visit(tA));AA.state.init.push(...AA.visit(eA.fragment).body)}function SvelteHead(eA,AA){AA.state.init.push(stmt(call("$.head",arrow([id$1("$$anchor")],AA.visit(eA.fragment)))))}function SvelteSelf(eA,AA){const tA=build_component(eA,AA.state.analysis.name,AA);AA.state.init.push(tA)}function SvelteWindow(eA,AA){visit_special_element(eA,"$.window",AA)}function TitleElement(eA,AA){const{has_state:tA,value:gA}=build_template_literal(eA.fragment.nodes,AA.visit,AA.state),iA=stmt(assignment("=",id$1("$.document.title"),gA));tA?AA.state.update.push(iA):AA.state.init.push(iA)}function TransitionDirective(eA,AA){let tA=eA.modifiers.includes("global")?TRANSITION_GLOBAL:0;eA.intro&&(tA|=TRANSITION_IN),eA.outro&&(tA|=TRANSITION_OUT);const gA=[literal(tA),AA.state.node,thunk(AA.visit(parse_directive_name(eA.name)))];eA.expression&&gA.push(thunk(AA.visit(eA.expression))),AA.state.after_update.push(stmt(call("$.transition",...gA)))}function UpdateExpression(eA,AA){var CA;const tA=eA.argument;if(tA.type==="MemberExpression"&&tA.object.type==="ThisExpression"&&tA.property.type==="PrivateIdentifier"&&AA.state.private_state.has(tA.property.name)){let oA="$.update";eA.prefix&&(oA+="_pre");const QA=[tA];return eA.operator==="--"&&QA.push(literal(-1)),call(oA,...QA)}if(tA.type!=="Identifier"&&tA.type!=="MemberExpression")throw new Error("An impossible state was reached");const gA=object$1(tA);if(gA===null)return AA.next();if(gA===tA){const oA=AA.state.transform,QA=(CA=oA[gA.name])==null?void 0:CA.update;if(QA&&Object.hasOwn(oA,gA.name))return QA(eA)}const iA=AA.visit(assignment(eA.operator==="++"?"+=":"-=",tA,literal(1))),BA=AA.path.at(-1).type==="ExpressionStatement",sA=eA.prefix||BA?iA:binary(eA.operator==="++"?"-":"+",iA,literal(1));return is_ignored(eA,"ownership_invalid_mutation")?call("$.skip_ownership_validation",thunk(sA)):sA}function UseDirective(eA,AA){const tA=[id$1("$$node")];eA.expression&&tA.push(id$1("$$action_arg"));const gA=[AA.state.node,arrow(tA,call(AA.visit(parse_directive_name(eA.name)),...tA))];eA.expression&&gA.push(thunk(AA.visit(eA.expression))),AA.state.init.push(stmt(call("$.action",...gA))),AA.next()}function VariableDeclaration(eA,AA){var gA;const tA=[];if(AA.state.analysis.runes)for(const iA of eA.declarations){const IA=iA.init,BA=get_rune(IA,AA.state.scope);if(!BA||BA==="$effect.tracking"||BA==="$effect.root"||BA==="$inspect"||BA==="$state.snapshot"||BA==="$host"){if(IA!=null&&is_hoisted_function(IA)){AA.state.hoisted.push(const_builder(iA.id,AA.visit(IA)));continue}tA.push(AA.visit(iA));continue}if(BA==="$props"){const oA=["$$slots","$$events","$$legacy"];if(AA.state.analysis.custom_element&&oA.push("$$host"),iA.id.type==="Identifier"){const QA=[id$1("$$props"),array(oA.map(EA=>literal(EA)))];dev&&QA.push(literal(iA.id.name)),tA.push(declarator(iA.id,call("$.rest_props",...QA)))}else{equal(iA.id.type,"ObjectPattern");for(const QA of iA.id.properties)if(QA.type==="Property"){const EA=QA.key,rA=EA.type==="Identifier"?EA.name:EA.value;oA.push(rA);let lA=QA.value.type==="AssignmentPattern"?QA.value.left:QA.value;equal(lA.type,"Identifier");const uA=AA.state.scope.get(lA.name);let cA=uA.initial&&AA.visit(uA.initial);cA&&uA.kind==="bindable_prop"&&should_proxy(cA,AA.state.scope)&&(cA=call("$.proxy",cA)),is_prop_source(uA,AA.state)&&tA.push(declarator(lA,get_prop_source(uA,AA.state,rA,cA)))}else{const EA=[id$1("$$props"),array(oA.map(rA=>literal(rA)))];dev&&EA.push(literal(QA.argument.name)),tA.push(declarator(QA.argument,call("$.rest_props",...EA)))}}continue}const sA=IA.arguments,CA=sA.length===0?id$1("undefined"):AA.visit(sA[0]);if(BA==="$state"||BA==="$state.raw"){const oA=(QA,EA)=>{const rA=AA.state.scope.get(QA.name);return BA==="$state"&&should_proxy(EA,AA.state.scope)&&(EA=call("$.proxy",EA)),is_state_source(rA,AA.state.analysis)&&(EA=call("$.state",EA)),EA};if(iA.id.type==="Identifier")tA.push(declarator(iA.id,oA(iA.id,CA)));else{const QA=AA.state.scope.generate("tmp"),EA=extract_paths(iA.id);tA.push(declarator(id$1(QA),CA),...EA.map(rA=>{var cA;const lA=(cA=rA.expression)==null?void 0:cA.call(rA,id$1(QA)),uA=AA.state.scope.get(rA.node.name);return declarator(rA.node,(uA==null?void 0:uA.kind)==="state"||(uA==null?void 0:uA.kind)==="raw_state"?oA(uA.node,lA):lA)}))}continue}if(BA==="$derived"||BA==="$derived.by"){if(iA.id.type==="Identifier")tA.push(declarator(iA.id,call("$.derived",BA==="$derived.by"?CA:thunk(CA))));else{const oA=extract_paths(iA.id),QA=iA.init;let EA,rA=CA;BA==="$derived"&&QA.arguments[0].type==="Identifier"?EA=QA.arguments[0]:(EA=id$1(AA.state.scope.generate("$$d")),rA=call("$.get",EA),tA.push(declarator(EA,call("$.derived",BA==="$derived.by"?CA:thunk(CA)))));for(let lA=0;lA<oA.length;lA++){const uA=oA[lA];tA.push(declarator(uA.node,call("$.derived",thunk(uA.expression(rA)))))}}continue}}else for(const iA of eA.declarations){const IA=AA.state.scope.get_bindings(iA),BA=IA.some(CA=>CA.kind==="state"),sA=IA.some(CA=>CA.kind==="bindable_prop");if(!BA&&!sA){const CA=iA.init;if(CA!=null&&is_hoisted_function(CA)){AA.state.hoisted.push(const_builder(iA.id,AA.visit(CA)));continue}tA.push(AA.visit(iA));continue}if(sA){if(iA.id.type!=="Identifier"){const oA=AA.state.scope.generate("tmp"),QA=extract_paths(iA.id);tA.push(declarator(id$1(oA),AA.visit(iA.init)));for(const EA of QA){const rA=EA.node.name,lA=AA.state.scope.get(rA),uA=(gA=EA.expression)==null?void 0:gA.call(EA,id$1(oA));tA.push(declarator(EA.node,lA.kind==="bindable_prop"?get_prop_source(lA,AA.state,lA.prop_alias??rA,uA):uA))}continue}const CA=AA.state.scope.get(iA.id.name);tA.push(declarator(iA.id,get_prop_source(CA,AA.state,CA.prop_alias??iA.id.name,iA.init&&AA.visit(iA.init))));continue}tA.push(...create_state_declarators(iA,AA.state,iA.init&&AA.visit(iA.init)))}return tA.length===0?empty:{...eA,declarations:tA}}function create_state_declarators(eA,{scope:AA,analysis:tA},gA){if(eA.id.type==="Identifier")return[declarator(eA.id,call("$.mutable_state",gA,tA.immutable?true_instance:void 0))];const iA=AA.generate("tmp"),IA=extract_paths(eA.id);return[declarator(id$1(iA),gA),...IA.map(BA=>{var oA;const sA=(oA=BA.expression)==null?void 0:oA.call(BA,id$1(iA)),CA=AA.get(BA.node.name);return declarator(BA.node,(CA==null?void 0:CA.kind)==="state"?call("$.mutable_state",sA,tA.immutable?true_instance:void 0):sA)})]}const visitors={_:function eA(AA,{next:tA,state:gA}){const iA=gA.scopes.get(AA);if(iA&&iA!==gA.scope){const IA={...gA.transform};for(const[BA,sA]of iA.declarations)(sA.kind==="normal"||sA.kind==="state"&&!is_state_source(sA,gA.analysis))&&delete IA[BA];tA({...gA,transform:IA,scope:iA})}else tA()},AnimateDirective,ArrowFunctionExpression,AssignmentExpression,Attribute,AwaitBlock,BinaryExpression,BindDirective,BlockStatement,BreakStatement,CallExpression,ClassBody,Comment,Component,ConstTag,DebugTag,EachBlock,ExportNamedDeclaration,ExpressionStatement,Fragment,FunctionDeclaration,FunctionExpression,HtmlTag,Identifier,IfBlock,ImportDeclaration,KeyBlock,LabeledStatement,LetDirective,MemberExpression,OnDirective,Program,RegularElement,RenderTag,SlotElement,SnippetBlock,SpreadAttribute,SvelteBody,SvelteComponent,SvelteDocument,SvelteElement,SvelteFragment,SvelteHead,SvelteSelf,SvelteWindow,TitleElement,TransitionDirective,UpdateExpression,UseDirective,VariableDeclaration};function client_component(eA,AA){var wA;const tA={analysis:eA,options:AA,scope:eA.module.scope,scopes:eA.module.scopes,is_instance:!1,hoisted:[import_all("$","svelte/internal/client")],node:null,legacy_reactive_imports:[],legacy_reactive_statements:new Map,metadata:{context:{template_needs_import_node:!1,template_contains_script_tag:!1},namespace:AA.namespace,bound_contenteditable:!1},events:new Set,preserve_whitespace:AA.preserveWhitespace,public_state:new Map,private_state:new Map,transform:{},in_constructor:!1,before_init:null,init:null,update:null,after_update:null,template:null,locations:null},gA=walk(eA.module.ast,tA,visitors),iA={...tA,transform:{...tA.transform},scope:eA.instance.scope,scopes:eA.instance.scopes,is_instance:!0},IA=walk(eA.instance.ast,iA,visitors),BA=walk(eA.template.ast,{...tA,transform:iA.transform,scope:eA.instance.scope,scopes:eA.template.scopes},visitors);gA.body.unshift(...tA.legacy_reactive_imports);const sA=[],CA=[];for(const[mA,MA]of eA.instance.scope.declarations)if(MA.kind==="legacy_reactive"&&CA.push(const_builder(mA,call("$.mutable_state",void 0,eA.immutable?true_instance:void 0))),MA.kind==="store_sub"){sA.length===0&&sA.push(const_builder("$$stores",call("$.setup_stores")));const fA=build_getter$1(id$1(mA.slice(1)),iA),LA=call("$.store_get",fA,literal(mA),id$1("$$stores"));sA.push(const_builder(MA.node,thunk(dev?sequence$1([call("$.validate_store",fA,literal(mA.slice(1))),LA]):LA)))}for(const[mA]of eA.reactive_statements){const MA=[...tA.legacy_reactive_statements].find(([fA])=>fA===mA);if(MA===void 0)throw new Error("Could not find reactive statement");IA.body.push(MA[1])}eA.reactive_statements.size>0&&IA.body.push(stmt(call("$.legacy_pre_effect_reset")));const oA=[];for(const mA of eA.binding_groups.values())oA.push(const_builder(mA.name,array([])));const QA=eA.exports.flatMap(({name:mA,alias:MA})=>{const fA=iA.scope.get(mA),LA=build_getter$1(id$1(mA),iA),_A=get(MA??mA,[return_builder(LA)]);if(LA.type==="Identifier"){if((fA==null?void 0:fA.declaration_kind)==="let"||(fA==null?void 0:fA.declaration_kind)==="var")return[_A,set(MA??mA,[stmt(assignment("=",LA,id$1("$$value")))])];if(!dev)return init(MA??mA,LA)}if((fA==null?void 0:fA.kind)==="prop"||(fA==null?void 0:fA.kind)==="bindable_prop")return[_A,set(MA??mA,[stmt(call(mA,id$1("$$value")))])];if((fA==null?void 0:fA.kind)==="state"||(fA==null?void 0:fA.kind)==="raw_state"){const bA=fA.kind==="state"?call("$.proxy",id$1("$$value")):id$1("$$value");return[_A,set(MA??mA,[stmt(call("$.set",id$1(mA),bA))])]}return _A}),EA=[...eA.instance.scope.declarations].filter(([mA,MA])=>(MA.kind==="prop"||MA.kind==="bindable_prop")&&!mA.startsWith("$$"));if(dev&&eA.runes){const mA=eA.exports.map(({name:fA,alias:LA})=>literal(LA??fA)),MA=[];for(const[fA,LA]of EA)LA.kind==="bindable_prop"&&MA.push(literal(LA.prop_alias??fA));IA.body.unshift(stmt(call("$.validate_prop_bindings",id$1("$$props"),array(MA),array(mA),id$1(`${eA.name}`))))}if(eA.accessors)for(const[mA,MA]of EA){const fA=MA.prop_alias??mA,LA=get(fA,[return_builder(call(id$1(mA)))]),_A=set(fA,[stmt(call(id$1(mA),id$1("$$value"))),stmt(call("$.flush_sync"))]);eA.runes&&MA.initial&&(_A.value.params[0]={type:"AssignmentPattern",left:id$1("$$value"),right:MA.initial}),QA.push(LA,_A)}AA.compatibility.componentApi===4?QA.push(init("$set",id$1("$.update_legacy_props")),init("$on",arrow([id$1("$$event_name"),id$1("$$event_cb")],call("$.add_legacy_event_listener",id$1("$$props"),id$1("$$event_name"),id$1("$$event_cb"))))):dev&&QA.push(spread(call(id$1("$.legacy_api"))));const rA=[id$1("$$props"),literal(eA.runes)];dev&&rA.push(id$1(eA.name));const lA=block([...sA,...CA,...oA,...eA.top_level_snippets,...IA.body,eA.runes||!eA.needs_context?empty:stmt(call("$.init",eA.immutable?true_instance:void 0)),...BA.body]);if(!eA.runes)for(const{name:mA,alias:MA}of eA.exports)lA.body.push(stmt(call("$.bind_prop",id$1("$$props"),literal(MA??mA),build_getter$1(id$1(mA),iA))));if(eA.css.ast!==null&&eA.inject_styles){const mA=literal(eA.css.hash),MA=literal(render_stylesheet(eA.source,eA,AA).code);tA.hoisted.push(const_builder("$$css",object$2([init("hash",mA),init("code",MA)]))),lA.body.unshift(stmt(call("$.append_styles",id$1("$$anchor"),id$1("$$css"))))}const uA=dev||eA.needs_context||eA.reactive_statements.size>0||QA.length>0;if(uA&&(lA.body.unshift(stmt(call("$.push",...rA))),lA.body.push(QA.length>0?return_builder(call("$.pop",object$2(QA))):stmt(call("$.pop")))),eA.uses_rest_props){const mA=eA.exports.map(({name:MA,alias:fA})=>fA??MA);for(const[MA,fA]of eA.instance.scope.declarations)fA.kind==="bindable_prop"&&mA.push(fA.prop_alias??MA);lA.body.unshift(const_builder("$$restProps",call("$.legacy_rest_props",id$1("$$sanitized_props"),array(mA.map(MA=>literal(MA))))))}if(eA.uses_props||eA.uses_rest_props){const mA=[literal("children"),literal("$$slots"),literal("$$events"),literal("$$legacy")];eA.custom_element&&mA.push(literal("$$host")),lA.body.unshift(const_builder("$$sanitized_props",call("$.legacy_rest_props",id$1("$$props"),array(mA))))}eA.uses_slots&&lA.body.unshift(const_builder("$$slots",call("$.sanitize_slots",id$1("$$props"))));let cA=uA||eA.needs_props||eA.uses_props||eA.uses_rest_props||eA.uses_slots||eA.slot_names.size>0;const hA=[];let dA=[];for(const mA of[...gA.body,...tA.hoisted])mA.type==="ImportDeclaration"?hA.push(mA):dA.push(mA);dA=[...hA,...dA];const pA=function_declaration(id$1(eA.name),cA?[id$1("$$anchor"),id$1("$$props")]:[id$1("$$anchor")],lA);if(AA.hmr){const mA=id$1(eA.name),MA=id$1("$.HMR"),fA=member(mA,MA,!0),LA=member(id$1("module.default"),MA,!0),_A=[stmt(assignment("=",member(LA,"source"),member(fA,"source"))),stmt(call("$.set",member(fA,"source"),member(LA,"original")))];eA.css.hash&&_A.unshift(stmt(call("$.cleanup_styles",literal(eA.css.hash))));const bA=block([stmt(assignment("=",mA,call("$.hmr",mA,thunk(member(fA,"source"))))),stmt(call("import.meta.hot.accept",arrow([id$1("module")],block(_A))))]);dA.push(pA,if_builder(id$1("import.meta.hot"),bA),export_default(id$1(eA.name)))}else dA.push(export_default(pA));if(dev&&(dA.unshift(stmt(assignment("=",member(id$1(eA.name),"$.FILENAME",!0),literal(filename)))),dA.unshift(stmt(call(id$1("$.mark_module_start")))),dA.push(stmt(call(id$1("$.mark_module_end"),id$1(eA.name))))),eA.runes||dA.unshift(imports([],"svelte/internal/flags/legacy")),AA.discloseVersion&&dA.unshift(imports([],"svelte/internal/disclose-version")),AA.compatibility.componentApi===4?(dA.unshift(imports([["createClassComponent","$$_createClassComponent"]],"svelte/legacy")),lA.body.unshift(if_builder(id$1("new.target"),return_builder(call("$$_createClassComponent",object$2([init("component",id$1(eA.name)),spread(id$1("$$anchor"))])))))):dev&&lA.body.unshift(stmt(call("$.check_target",id$1("new.target")))),tA.events.size>0&&dA.push(stmt(call("$.delegate",array(Array.from(tA.events).map(mA=>literal(mA)))))),eA.custom_element){const mA=eA.custom_element,MA=typeof mA=="boolean"?{}:mA.props||{},fA=[];for(const[RA,NA]of Object.entries(MA)){const FA=eA.instance.scope.get(RA),vA=(FA==null?void 0:FA.prop_alias)??RA;!NA.type&&((wA=FA==null?void 0:FA.initial)==null?void 0:wA.type)==="Literal"&&typeof(FA==null?void 0:FA.initial.value)=="boolean"&&(NA.type="Boolean");const xA=object$2([NA.attribute?init("attribute",literal(NA.attribute)):void 0,NA.reflect?init("reflect",literal(!0)):void 0,NA.type?init("type",literal(NA.type)):void 0].filter(Boolean));fA.push(init(vA,xA))}for(const[RA,NA]of EA){const FA=NA.prop_alias??RA;MA[FA]||fA.push(init(FA,object$2([])))}const LA=array([...eA.slot_names.keys()].map(RA=>literal(RA))),_A=array(eA.exports.map(({name:RA,alias:NA})=>literal(NA??RA))),bA=typeof mA=="boolean"||mA.shadow!=="none",JA=call("$.create_custom_element",id$1(eA.name),object$2(fA),LA,_A,literal(bA),typeof mA!="boolean"?mA.extend:void 0);if(typeof mA!="boolean"&&typeof mA.tag=="string"){const RA=stmt(call("customElements.define",literal(mA.tag),JA));AA.hmr?dA.push(if_builder(binary("==",call("customElements.get",literal(mA.tag)),null_instane),RA)):dA.push(RA)}else dA.push(stmt(JA))}return{type:"Program",sourceType:"module",body:dA}}function client_module(eA,AA){const tA={analysis:eA,options:AA,scope:eA.module.scope,scopes:eA.module.scopes,public_state:new Map,private_state:new Map,transform:{},in_constructor:!1},gA=walk(eA.module.ast,tA,visitors);return{type:"Program",sourceType:"module",body:[import_all("$","svelte/internal/client"),...gA.body]}}function transform_component(eA,AA,tA){if(tA.generate===!1)return{js:null,css:null,warnings,metadata:{runes:eA.runes},ast:null};const gA=tA.generate==="server"?server_component(eA,tA):client_component(eA,tA),iA=get_source_name(tA.filename,tA.outputFilename),IA=print(gA,{sourceMapContent:AA,sourceMapSource:iA});merge_with_preprocessor_map(IA,tA,iA);const BA=eA.css.ast&&!eA.inject_styles?render_stylesheet(AA,eA,tA):null;return{js:IA,css:BA,warnings,metadata:{runes:eA.runes},ast:null}}function transform_module(eA,AA,tA){if(tA.generate===!1)return{js:null,css:null,warnings,metadata:{runes:!0},ast:null};const gA=tA.generate==="server"?server_module(eA,tA):client_module(eA,tA),iA=tA.filename.split(/[/\\]/).at(-1);return gA.body.length>0&&(gA.body[0].leadingComments=[{type:"Block",value:` ${iA} generated by Svelte v${VERSION} `}]),{js:print(gA,{sourceMapContent:AA,sourceMapSource:get_source_name(tA.filename,void 0)}),css:null,metadata:{runes:!0},warnings,ast:null}}var process={};const common={filename:string("(unknown)"),rootDir:string(typeof process<"u"?(Vg=process.cwd)==null?void 0:Vg.call(process):void 0),dev:boolean(!1),generate:validator("client",(eA,AA)=>eA==="dom"||eA==="ssr"?(warn_once(options_renamed_ssr_dom),eA==="dom"?"client":"server"):(eA!=="client"&&eA!=="server"&&eA!==!1&&throw_error(`${AA} must be "client", "server" or false`),eA)),warningFilter:fun(()=>!0)},validate_module_options=object({...common}),validate_component_options=object({...common,accessors:deprecate(options_deprecated_accessors,boolean(!1)),css:validator("external",eA=>((eA===!0||eA===!1)&&throw_error('The boolean options have been removed from the css option. Use "external" instead of false and "injected" instead of true'),eA==="none"&&throw_error('css: "none" is no longer a valid option. If this was crucial for you, please open an issue on GitHub with your use case.'),eA!=="external"&&eA!=="injected"&&throw_error('css should be either "external" (default, recommended) or "injected"'),eA)),cssHash:fun(({css:eA,hash:AA})=>`svelte-${AA(eA)}`),cssOutputFilename:string(void 0),customElement:boolean(!1),discloseVersion:boolean(!0),immutable:deprecate(options_deprecated_immutable,boolean(!1)),legacy:removed("The legacy option has been removed. If you are using this because of legacy.componentApi, use compatibility.componentApi instead"),compatibility:object({componentApi:list([4,5],5)}),loopGuardTimeout:warn_removed(options_removed_loop_guard_timeout),name:string(void 0),namespace:list(["html","mathml","svg"]),modernAst:boolean(!1),outputFilename:string(void 0),preserveComments:boolean(!1),preserveWhitespace:boolean(!1),runes:boolean(void 0),hmr:boolean(!1),sourcemap:validator(void 0,eA=>eA),enableSourcemap:warn_removed(options_removed_enable_sourcemap),hydratable:warn_removed(options_removed_hydratable),format:removed('The format option has been removed in Svelte 4, the compiler only outputs ESM now. Remove "format" from your compiler options. If you did not set this yourself, bump the version of your bundler plugin (vite-plugin-svelte/rollup-plugin-svelte/svelte-loader)'),tag:removed('The tag option has been removed in Svelte 5. Use `<svelte:options customElement="tag-name" />` inside the component instead. If that does not solve your use case, please open an issue on GitHub with details.'),sveltePath:removed("The sveltePath option has been removed in Svelte 5. If this option was crucial for you, please open an issue on GitHub with your use case."),errorMode:removed("The errorMode option has been removed. If you are using this through svelte-preprocess with TypeScript, use the https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax setting instead"),varsReport:removed("The vars option has been removed. If you are using this through svelte-preprocess with TypeScript, use the https://www.typescriptlang.org/tsconfig#verbatimModuleSyntax setting instead")});function removed(eA){return AA=>{AA!==void 0&&options_removed(null,eA)}}const warned=new Set;function warn_once(eA){warned.has(eA)||(warned.add(eA),eA(null))}function warn_removed(eA){return AA=>{AA!==void 0&&warn_once(eA)}}function deprecate(eA,AA){return(tA,gA)=>(tA!==void 0&&warn_once(eA),AA(tA,gA))}function object(eA,AA=!1){return(tA,gA)=>{const iA={};(tA&&typeof tA!="object"||Array.isArray(tA))&&throw_error(`${gA} should be an object`);for(const IA in tA)IA in eA||(AA?iA[IA]=tA[IA]:options_unrecognised(null,`${gA?`${gA}.${IA}`:IA}`));for(const IA in eA){const BA=eA[IA];iA[IA]=BA(tA&&tA[IA],gA?`${gA}.${IA}`:IA)}return iA}}function validator(eA,AA){return(tA,gA)=>tA===void 0?eA:AA(tA,gA)}function string(eA,AA=!0){return validator(eA,(tA,gA)=>(typeof tA!="string"&&throw_error(`${gA} should be a string, if specified`),!AA&&tA===""&&throw_error(`${gA} cannot be empty`),tA))}function boolean(eA){return validator(eA,(AA,tA)=>(typeof AA!="boolean"&&throw_error(`${tA} should be true or false, if specified`),AA))}function list(eA,AA=eA[0]){return validator(AA,(tA,gA)=>{if(!eA.includes(tA)){const iA=eA.length>2?`${gA} should be one of ${eA.slice(0,-1).map(IA=>`"${IA}"`).join(", ")} or "${eA[eA.length-1]}"`:`${gA} should be either "${eA[0]}" or "${eA[1]}"`;throw_error(iA)}return tA})}function fun(eA){return validator(eA,(AA,tA)=>(typeof AA!="function"&&throw_error(`${tA} should be a function, if specified`),AA))}function throw_error(eA){options_invalid_value(null,eA)}function compile(eA,AA){eA=remove_bom(eA),reset_warning_filter(AA.warningFilter);const tA=validate_component_options(AA,"");reset(eA,tA);let gA=parse(eA);const{customElement:iA,...IA}=gA.options||{},BA={...tA,...IA,customElementOptions:iA};gA.metadata.ts&&(gA={...gA,fragment:gA.fragment&&remove_typescript_nodes(gA.fragment),instance:gA.instance&&remove_typescript_nodes(gA.instance),module:gA.module&&remove_typescript_nodes(gA.module)});const sA=analyze_component(gA,eA,BA),CA=transform_component(sA,eA,BA);return CA.ast=to_public_ast(eA,gA,AA.modernAst),CA}function compileModule(eA,AA){eA=remove_bom(eA),reset_warning_filter(AA.warningFilter);const tA=validate_module_options(AA,"");reset(eA,tA);const gA=analyze_module(parse$1(eA,!1),tA);return transform_module(gA,eA,tA)}function to_public_ast(eA,AA,tA){var gA;if(tA){const iA=IA=>{delete IA.metadata,delete IA.parent};return(gA=AA.options)==null||gA.attributes.forEach(IA=>{iA(IA),iA(IA.value),Array.isArray(IA.value)&&IA.value.forEach(iA)}),walk(AA,null,{_(IA,{next:BA}){iA(IA),BA()}})}return convert(eA,AA)}function remove_bom(eA){return eA.charCodeAt(0)===65279?eA.slice(1):eA}const transform=()=>{const eA=new Set;return{input:(AA,tA)=>({code:AA,id:tA}),hook:(AA,tA)=>{if(!eA.has(tA))eA.add(tA);else return null;return tA.endsWith(".svelte")?{code:compile(AA,{generate:"dom",dev:!1,filename:tA,css:"injected",runes:!0}).js.code,map:null}:tA.endsWith(".svelte.js")?{code:compileModule(AA,{generate:"client",dev:!1,filename:tA}).js.code,map:null}:tA.endsWith(".json")?{code:`export default ${AA};`,map:null}:null}}},load=(eA,AA,tA)=>{const gA=new Set;return{input:iA=>({resolved:iA}),hook:async iA=>{if(!gA.has(iA))gA.add(iA);else return null;if(iA==="<nil_xit_internal>/index.js")return AA;if(iA.startsWith(USER_TAG)){const IA=iA.substring(USER_TAG.length),BA=concat([header(nil_xit_proto.MessageType.MessageType_FileRequest),nil_xit_proto.FileRequest.encode({target:IA}).finish()]),{content:sA,metadata:CA}=await service_fetch(eA,BA,(oA,QA)=>{if(oA===nil_xit_proto.MessageType.MessageType_FileResponse){const EA=nil_xit_proto.FileResponse.decode(QA);if(EA.target===IA)return EA}});return tA&&tA(IA,CA),sA}if(iA.startsWith(RESOURCE_TAG))return await(await fetch(iA.slice(RESOURCE_TAG.length))).text();throw`unknown file: ${iA}`}}},debug_verbose=!1,hook_up=(eA,{hook:AA,input:tA})=>AA,warning=eA=>debug_verbose,encode=eA=>{const AA=new TextEncoder().encode(eA),gA=new Uint8Array(AA).reduce((iA,IA)=>iA+String.fromCharCode(IA),"");return btoa(gA)},transform_import=eA=>{const AA=eA.map(iA=>iA.split(" ")),tA=AA.map(iA=>{const IA=iA.slice(1,iA.length-2).join(" ");return IA.startsWith("* as ")?IA.slice(5):IA}),gA=AA.map(iA=>`import_map(${iA.pop()})`);return`const [${tA.join(", ")}] = await Promise.all([${gA.join(", ")}]);`},wrap_fe=eA=>{const AA=eA.code.replace("export {","return {"),tA=AA.indexOf(`;