@live-codes/browser-compilers 0.19.1 → 0.20.0

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.
@@ -0,0 +1,551 @@
1
+ (()=>{var w_=Object.create;var pl=Object.defineProperty;var y_=Object.getOwnPropertyDescriptor;var x_=Object.getOwnPropertyNames;var S_=Object.getPrototypeOf,__=Object.prototype.hasOwnProperty;var _g=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var It=(t,e)=>()=>(t&&(e=t(t=0)),e);var V=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ml=(t,e)=>{for(var r in e)pl(t,r,{get:e[r],enumerable:!0})},Cg=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of x_(e))!__.call(t,i)&&i!==r&&pl(t,i,{get:()=>e[i],enumerable:!(n=y_(e,i))||n.enumerable});return t};var be=(t,e,r)=>(r=t!=null?w_(S_(t)):{},Cg(e||!t||!t.__esModule?pl(r,"default",{value:t,enumerable:!0}):r,t)),Wt=t=>Cg(pl({},"__esModule",{value:!0}),t);var d=It(()=>{});var C={};ml(C,{_debugEnd:()=>h2,_debugProcess:()=>f2,_events:()=>L2,_eventsCount:()=>R2,_exiting:()=>Hg,_fatalExceptions:()=>a2,_getActiveHandles:()=>Yg,_getActiveRequests:()=>Qg,_kill:()=>Zg,_linkedBinding:()=>Vg,_maxListeners:()=>A2,_preload_modules:()=>C2,_rawDebug:()=>zg,_startProfilerIdleNotifier:()=>d2,_stopProfilerIdleNotifier:()=>p2,_tickCallback:()=>c2,abort:()=>v2,addListener:()=>T2,allowedNodeEnvironmentFlags:()=>i2,arch:()=>Rg,argv:()=>Mg,argv0:()=>_2,assert:()=>s2,binding:()=>Fg,chdir:()=>Bg,config:()=>Gg,cpuUsage:()=>vl,cwd:()=>Ug,debugPort:()=>S2,default:()=>U2,dlopen:()=>Xg,domain:()=>Wg,emit:()=>I2,emitWarning:()=>Dg,env:()=>Ng,execArgv:()=>Og,execPath:()=>x2,exit:()=>r2,features:()=>o2,hasUncaughtExceptionCaptureCallback:()=>u2,hrtime:()=>bl,kill:()=>t2,listeners:()=>$2,memoryUsage:()=>e2,moduleLoadList:()=>jg,nextTick:()=>kg,off:()=>M2,on:()=>Wr,once:()=>N2,openStdin:()=>n2,pid:()=>w2,platform:()=>Tg,ppid:()=>y2,prependListener:()=>D2,prependOnceListener:()=>F2,reallyExit:()=>Jg,release:()=>qg,removeAllListeners:()=>P2,removeListener:()=>O2,resourceUsage:()=>Kg,setSourceMapsEnabled:()=>E2,setUncaughtExceptionCaptureCallback:()=>l2,stderr:()=>g2,stdin:()=>b2,stdout:()=>m2,title:()=>Lg,umask:()=>$g,uptime:()=>k2,version:()=>Pg,versions:()=>Ig});function qf(t){throw new Error("Node.js process "+t+" is not supported by JSPM core outside of Node.js")}function C_(){!Ri||!Xn||(Ri=!1,Xn.length?Vr=Xn.concat(Vr):gl=-1,Vr.length&&Eg())}function Eg(){if(!Ri){var t=setTimeout(C_,0);Ri=!0;for(var e=Vr.length;e;){for(Xn=Vr,Vr=[];++gl<e;)Xn&&Xn[gl].run();gl=-1,e=Vr.length}Xn=null,Ri=!1,clearTimeout(t)}}function kg(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];Vr.push(new Ag(t,e)),Vr.length===1&&!Ri&&setTimeout(Eg,0)}function Ag(t,e){this.fun=t,this.array=e}function xt(){}function Vg(t){qf("_linkedBinding")}function Xg(t){qf("dlopen")}function Qg(){return[]}function Yg(){return[]}function s2(t,e){if(!t)throw new Error(e||"assertion error")}function u2(){return!1}function k2(){return cn.now()/1e3}function bl(t){var e=Math.floor((Date.now()-cn.now())*.001),r=cn.now()*.001,n=Math.floor(r)+e,i=Math.floor(r%1*1e9);return t&&(n=n-t[0],i=i-t[1],i<0&&(n--,i+=Bf)),[n,i]}function Wr(){return U2}function $2(t){return[]}var Vr,Ri,Xn,gl,Lg,Rg,Tg,Ng,Mg,Og,Pg,Ig,Dg,Fg,$g,Ug,Bg,qg,zg,jg,Wg,Hg,Gg,Jg,Zg,vl,Kg,e2,t2,r2,n2,i2,o2,a2,l2,c2,f2,h2,d2,p2,m2,g2,b2,v2,w2,y2,x2,S2,_2,C2,E2,cn,Uf,Bf,A2,L2,R2,T2,N2,M2,O2,P2,I2,D2,F2,U2,B2=It(()=>{d();m();p();Vr=[],Ri=!1,gl=-1;Ag.prototype.run=function(){this.fun.apply(null,this.array)};Lg="browser",Rg="x64",Tg="browser",Ng={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},Mg=["/usr/bin/node"],Og=[],Pg="v16.8.0",Ig={},Dg=function(t,e){console.warn((e?e+": ":"")+t)},Fg=function(t){qf("binding")},$g=function(t){return 0},Ug=function(){return"/"},Bg=function(t){},qg={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};zg=xt,jg=[];Wg={},Hg=!1,Gg={};Jg=xt,Zg=xt,vl=function(){return{}},Kg=vl,e2=vl,t2=xt,r2=xt,n2=xt,i2={};o2={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},a2=xt,l2=xt;c2=xt,f2=xt,h2=xt,d2=xt,p2=xt,m2=void 0,g2=void 0,b2=void 0,v2=xt,w2=2,y2=1,x2="/bin/usr/node",S2=9229,_2="node",C2=[],E2=xt,cn={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};cn.now===void 0&&(Uf=Date.now(),cn.timing&&cn.timing.navigationStart&&(Uf=cn.timing.navigationStart),cn.now=()=>Date.now()-Uf);Bf=1e9;bl.bigint=function(t){var e=bl(t);return typeof BigInt>"u"?e[0]*Bf+e[1]:BigInt(e[0]*Bf)+BigInt(e[1])};A2=10,L2={},R2=0;T2=Wr,N2=Wr,M2=Wr,O2=Wr,P2=Wr,I2=xt,D2=Wr,F2=Wr;U2={version:Pg,versions:Ig,arch:Rg,platform:Tg,release:qg,_rawDebug:zg,moduleLoadList:jg,binding:Fg,_linkedBinding:Vg,_events:L2,_eventsCount:R2,_maxListeners:A2,on:Wr,addListener:T2,once:N2,off:M2,removeListener:O2,removeAllListeners:P2,emit:I2,prependListener:D2,prependOnceListener:F2,listeners:$2,domain:Wg,_exiting:Hg,config:Gg,dlopen:Xg,uptime:k2,_getActiveRequests:Qg,_getActiveHandles:Yg,reallyExit:Jg,_kill:Zg,cpuUsage:vl,resourceUsage:Kg,memoryUsage:e2,kill:t2,exit:r2,openStdin:n2,allowedNodeEnvironmentFlags:i2,assert:s2,features:o2,_fatalExceptions:a2,setUncaughtExceptionCaptureCallback:l2,hasUncaughtExceptionCaptureCallback:u2,emitWarning:Dg,nextTick:kg,_tickCallback:c2,_debugProcess:f2,_debugEnd:h2,_startProfilerIdleNotifier:d2,_stopProfilerIdleNotifier:p2,stdout:m2,stdin:b2,stderr:g2,abort:v2,umask:$g,chdir:Bg,cwd:Ug,env:Ng,title:Lg,argv:Mg,execArgv:Og,pid:w2,ppid:y2,execPath:x2,debugPort:S2,hrtime:bl,argv0:_2,_preload_modules:C2,setSourceMapsEnabled:E2}});var p=It(()=>{B2()});function E_(){if(q2)return zs;q2=!0,zs.byteLength=a,zs.toByteArray=u,zs.fromByteArray=h;for(var t=[],e=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=0,s=n.length;i<s;++i)t[i]=n[i],e[n.charCodeAt(i)]=i;e[45]=62,e[95]=63;function o(g){var y=g.length;if(y%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var S=g.indexOf("=");S===-1&&(S=y);var x=S===y?0:4-S%4;return[S,x]}function a(g){var y=o(g),S=y[0],x=y[1];return(S+x)*3/4-x}function l(g,y,S){return(y+S)*3/4-S}function u(g){var y,S=o(g),x=S[0],_=S[1],k=new r(l(g,x,_)),T=0,N=_>0?x-4:x,L;for(L=0;L<N;L+=4)y=e[g.charCodeAt(L)]<<18|e[g.charCodeAt(L+1)]<<12|e[g.charCodeAt(L+2)]<<6|e[g.charCodeAt(L+3)],k[T++]=y>>16&255,k[T++]=y>>8&255,k[T++]=y&255;return _===2&&(y=e[g.charCodeAt(L)]<<2|e[g.charCodeAt(L+1)]>>4,k[T++]=y&255),_===1&&(y=e[g.charCodeAt(L)]<<10|e[g.charCodeAt(L+1)]<<4|e[g.charCodeAt(L+2)]>>2,k[T++]=y>>8&255,k[T++]=y&255),k}function c(g){return t[g>>18&63]+t[g>>12&63]+t[g>>6&63]+t[g&63]}function f(g,y,S){for(var x,_=[],k=y;k<S;k+=3)x=(g[k]<<16&16711680)+(g[k+1]<<8&65280)+(g[k+2]&255),_.push(c(x));return _.join("")}function h(g){for(var y,S=g.length,x=S%3,_=[],k=16383,T=0,N=S-x;T<N;T+=k)_.push(f(g,T,T+k>N?N:T+k));return x===1?(y=g[S-1],_.push(t[y>>2]+t[y<<4&63]+"==")):x===2&&(y=(g[S-2]<<8)+g[S-1],_.push(t[y>>10]+t[y>>4&63]+t[y<<2&63]+"=")),_.join("")}return zs}function k_(){if(z2)return wl;z2=!0;return wl.read=function(t,e,r,n,i){var s,o,a=i*8-n-1,l=(1<<a)-1,u=l>>1,c=-7,f=r?i-1:0,h=r?-1:1,g=t[e+f];for(f+=h,s=g&(1<<-c)-1,g>>=-c,c+=a;c>0;s=s*256+t[e+f],f+=h,c-=8);for(o=s&(1<<-c)-1,s>>=-c,c+=n;c>0;o=o*256+t[e+f],f+=h,c-=8);if(s===0)s=1-u;else{if(s===l)return o?NaN:(g?-1:1)*(1/0);o=o+Math.pow(2,n),s=s-u}return(g?-1:1)*o*Math.pow(2,s-n)},wl.write=function(t,e,r,n,i,s){var o,a,l,u=s*8-i-1,c=(1<<u)-1,f=c>>1,h=i===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=n?0:s-1,y=n?1:-1,S=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=c):(o=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-o))<1&&(o--,l*=2),o+f>=1?e+=h/l:e+=h*Math.pow(2,1-f),e*l>=2&&(o++,l/=2),o+f>=c?(a=0,o=c):o+f>=1?(a=(e*l-1)*Math.pow(2,i),o=o+f):(a=e*Math.pow(2,f-1)*Math.pow(2,i),o=0));i>=8;t[r+g]=a&255,g+=y,a/=256,i-=8);for(o=o<<i|a,u+=i;u>0;t[r+g]=o&255,g+=y,o/=256,u-=8);t[r+g-y]|=S*128},wl}function A_(){if(j2)return Qn;j2=!0;let t=E_(),e=k_(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Qn.Buffer=o,Qn.SlowBuffer=_,Qn.INSPECT_MAX_BYTES=50;let n=2147483647;Qn.kMaxLength=n,o.TYPED_ARRAY_SUPPORT=i(),!o.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function i(){try{let R=new Uint8Array(1),v={foo:function(){return 42}};return Object.setPrototypeOf(v,Uint8Array.prototype),Object.setPrototypeOf(R,v),R.foo()===42}catch{return!1}}Object.defineProperty(o.prototype,"parent",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.buffer}}),Object.defineProperty(o.prototype,"offset",{enumerable:!0,get:function(){if(o.isBuffer(this))return this.byteOffset}});function s(R){if(R>n)throw new RangeError('The value "'+R+'" is invalid for option "size"');let v=new Uint8Array(R);return Object.setPrototypeOf(v,o.prototype),v}function o(R,v,w){if(typeof R=="number"){if(typeof v=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return c(R)}return a(R,v,w)}o.poolSize=8192;function a(R,v,w){if(typeof R=="string")return f(R,v);if(ArrayBuffer.isView(R))return g(R);if(R==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof R);if(yr(R,ArrayBuffer)||R&&yr(R.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(yr(R,SharedArrayBuffer)||R&&yr(R.buffer,SharedArrayBuffer)))return y(R,v,w);if(typeof R=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let M=R.valueOf&&R.valueOf();if(M!=null&&M!==R)return o.from(M,v,w);let F=S(R);if(F)return F;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof R[Symbol.toPrimitive]=="function")return o.from(R[Symbol.toPrimitive]("string"),v,w);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof R)}o.from=function(R,v,w){return a(R,v,w)},Object.setPrototypeOf(o.prototype,Uint8Array.prototype),Object.setPrototypeOf(o,Uint8Array);function l(R){if(typeof R!="number")throw new TypeError('"size" argument must be of type number');if(R<0)throw new RangeError('The value "'+R+'" is invalid for option "size"')}function u(R,v,w){return l(R),R<=0?s(R):v!==void 0?typeof w=="string"?s(R).fill(v,w):s(R).fill(v):s(R)}o.alloc=function(R,v,w){return u(R,v,w)};function c(R){return l(R),s(R<0?0:x(R)|0)}o.allocUnsafe=function(R){return c(R)},o.allocUnsafeSlow=function(R){return c(R)};function f(R,v){if((typeof v!="string"||v==="")&&(v="utf8"),!o.isEncoding(v))throw new TypeError("Unknown encoding: "+v);let w=k(R,v)|0,M=s(w),F=M.write(R,v);return F!==w&&(M=M.slice(0,F)),M}function h(R){let v=R.length<0?0:x(R.length)|0,w=s(v);for(let M=0;M<v;M+=1)w[M]=R[M]&255;return w}function g(R){if(yr(R,Uint8Array)){let v=new Uint8Array(R);return y(v.buffer,v.byteOffset,v.byteLength)}return h(R)}function y(R,v,w){if(v<0||R.byteLength<v)throw new RangeError('"offset" is outside of buffer bounds');if(R.byteLength<v+(w||0))throw new RangeError('"length" is outside of buffer bounds');let M;return v===void 0&&w===void 0?M=new Uint8Array(R):w===void 0?M=new Uint8Array(R,v):M=new Uint8Array(R,v,w),Object.setPrototypeOf(M,o.prototype),M}function S(R){if(o.isBuffer(R)){let v=x(R.length)|0,w=s(v);return w.length===0||R.copy(w,0,0,v),w}if(R.length!==void 0)return typeof R.length!="number"||$f(R.length)?s(0):h(R);if(R.type==="Buffer"&&Array.isArray(R.data))return h(R.data)}function x(R){if(R>=n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+" bytes");return R|0}function _(R){return+R!=R&&(R=0),o.alloc(+R)}o.isBuffer=function(v){return v!=null&&v._isBuffer===!0&&v!==o.prototype},o.compare=function(v,w){if(yr(v,Uint8Array)&&(v=o.from(v,v.offset,v.byteLength)),yr(w,Uint8Array)&&(w=o.from(w,w.offset,w.byteLength)),!o.isBuffer(v)||!o.isBuffer(w))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(v===w)return 0;let M=v.length,F=w.length;for(let q=0,X=Math.min(M,F);q<X;++q)if(v[q]!==w[q]){M=v[q],F=w[q];break}return M<F?-1:F<M?1:0},o.isEncoding=function(v){switch(String(v).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},o.concat=function(v,w){if(!Array.isArray(v))throw new TypeError('"list" argument must be an Array of Buffers');if(v.length===0)return o.alloc(0);let M;if(w===void 0)for(w=0,M=0;M<v.length;++M)w+=v[M].length;let F=o.allocUnsafe(w),q=0;for(M=0;M<v.length;++M){let X=v[M];if(yr(X,Uint8Array))q+X.length>F.length?(o.isBuffer(X)||(X=o.from(X)),X.copy(F,q)):Uint8Array.prototype.set.call(F,X,q);else if(o.isBuffer(X))X.copy(F,q);else throw new TypeError('"list" argument must be an Array of Buffers');q+=X.length}return F};function k(R,v){if(o.isBuffer(R))return R.length;if(ArrayBuffer.isView(R)||yr(R,ArrayBuffer))return R.byteLength;if(typeof R!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof R);let w=R.length,M=arguments.length>2&&arguments[2]===!0;if(!M&&w===0)return 0;let F=!1;for(;;)switch(v){case"ascii":case"latin1":case"binary":return w;case"utf8":case"utf-8":return Ff(R).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w*2;case"hex":return w>>>1;case"base64":return Sg(R).length;default:if(F)return M?-1:Ff(R).length;v=(""+v).toLowerCase(),F=!0}}o.byteLength=k;function T(R,v,w){let M=!1;if((v===void 0||v<0)&&(v=0),v>this.length||((w===void 0||w>this.length)&&(w=this.length),w<=0)||(w>>>=0,v>>>=0,w<=v))return"";for(R||(R="utf8");;)switch(R){case"hex":return Y(this,v,w);case"utf8":case"utf-8":return G(this,v,w);case"ascii":return W(this,v,w);case"latin1":case"binary":return H(this,v,w);case"base64":return z(this,v,w);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return te(this,v,w);default:if(M)throw new TypeError("Unknown encoding: "+R);R=(R+"").toLowerCase(),M=!0}}o.prototype._isBuffer=!0;function N(R,v,w){let M=R[v];R[v]=R[w],R[w]=M}o.prototype.swap16=function(){let v=this.length;if(v%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let w=0;w<v;w+=2)N(this,w,w+1);return this},o.prototype.swap32=function(){let v=this.length;if(v%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let w=0;w<v;w+=4)N(this,w,w+3),N(this,w+1,w+2);return this},o.prototype.swap64=function(){let v=this.length;if(v%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let w=0;w<v;w+=8)N(this,w,w+7),N(this,w+1,w+6),N(this,w+2,w+5),N(this,w+3,w+4);return this},o.prototype.toString=function(){let v=this.length;return v===0?"":arguments.length===0?G(this,0,v):T.apply(this,arguments)},o.prototype.toLocaleString=o.prototype.toString,o.prototype.equals=function(v){if(!o.isBuffer(v))throw new TypeError("Argument must be a Buffer");return this===v?!0:o.compare(this,v)===0},o.prototype.inspect=function(){let v="",w=Qn.INSPECT_MAX_BYTES;return v=this.toString("hex",0,w).replace(/(.{2})/g,"$1 ").trim(),this.length>w&&(v+=" ... "),"<Buffer "+v+">"},r&&(o.prototype[r]=o.prototype.inspect),o.prototype.compare=function(v,w,M,F,q){if(yr(v,Uint8Array)&&(v=o.from(v,v.offset,v.byteLength)),!o.isBuffer(v))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof v);if(w===void 0&&(w=0),M===void 0&&(M=v?v.length:0),F===void 0&&(F=0),q===void 0&&(q=this.length),w<0||M>v.length||F<0||q>this.length)throw new RangeError("out of range index");if(F>=q&&w>=M)return 0;if(F>=q)return-1;if(w>=M)return 1;if(w>>>=0,M>>>=0,F>>>=0,q>>>=0,this===v)return 0;let X=q-F,we=M-w,Ze=Math.min(X,we),je=this.slice(F,q),Ke=v.slice(w,M);for(let Oe=0;Oe<Ze;++Oe)if(je[Oe]!==Ke[Oe]){X=je[Oe],we=Ke[Oe];break}return X<we?-1:we<X?1:0};function L(R,v,w,M,F){if(R.length===0)return-1;if(typeof w=="string"?(M=w,w=0):w>2147483647?w=2147483647:w<-2147483648&&(w=-2147483648),w=+w,$f(w)&&(w=F?0:R.length-1),w<0&&(w=R.length+w),w>=R.length){if(F)return-1;w=R.length-1}else if(w<0)if(F)w=0;else return-1;if(typeof v=="string"&&(v=o.from(v,M)),o.isBuffer(v))return v.length===0?-1:P(R,v,w,M,F);if(typeof v=="number")return v=v&255,typeof Uint8Array.prototype.indexOf=="function"?F?Uint8Array.prototype.indexOf.call(R,v,w):Uint8Array.prototype.lastIndexOf.call(R,v,w):P(R,[v],w,M,F);throw new TypeError("val must be string, number or Buffer")}function P(R,v,w,M,F){let q=1,X=R.length,we=v.length;if(M!==void 0&&(M=String(M).toLowerCase(),M==="ucs2"||M==="ucs-2"||M==="utf16le"||M==="utf-16le")){if(R.length<2||v.length<2)return-1;q=2,X/=2,we/=2,w/=2}function Ze(Ke,Oe){return q===1?Ke[Oe]:Ke.readUInt16BE(Oe*q)}let je;if(F){let Ke=-1;for(je=w;je<X;je++)if(Ze(R,je)===Ze(v,Ke===-1?0:je-Ke)){if(Ke===-1&&(Ke=je),je-Ke+1===we)return Ke*q}else Ke!==-1&&(je-=je-Ke),Ke=-1}else for(w+we>X&&(w=X-we),je=w;je>=0;je--){let Ke=!0;for(let Oe=0;Oe<we;Oe++)if(Ze(R,je+Oe)!==Ze(v,Oe)){Ke=!1;break}if(Ke)return je}return-1}o.prototype.includes=function(v,w,M){return this.indexOf(v,w,M)!==-1},o.prototype.indexOf=function(v,w,M){return L(this,v,w,M,!0)},o.prototype.lastIndexOf=function(v,w,M){return L(this,v,w,M,!1)};function D(R,v,w,M){w=Number(w)||0;let F=R.length-w;M?(M=Number(M),M>F&&(M=F)):M=F;let q=v.length;M>q/2&&(M=q/2);let X;for(X=0;X<M;++X){let we=parseInt(v.substr(X*2,2),16);if($f(we))return X;R[w+X]=we}return X}function $(R,v,w,M){return dl(Ff(v,R.length-w),R,w,M)}function Q(R,v,w,M){return dl(m_(v),R,w,M)}function O(R,v,w,M){return dl(Sg(v),R,w,M)}function I(R,v,w,M){return dl(g_(v,R.length-w),R,w,M)}o.prototype.write=function(v,w,M,F){if(w===void 0)F="utf8",M=this.length,w=0;else if(M===void 0&&typeof w=="string")F=w,M=this.length,w=0;else if(isFinite(w))w=w>>>0,isFinite(M)?(M=M>>>0,F===void 0&&(F="utf8")):(F=M,M=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let q=this.length-w;if((M===void 0||M>q)&&(M=q),v.length>0&&(M<0||w<0)||w>this.length)throw new RangeError("Attempt to write outside buffer bounds");F||(F="utf8");let X=!1;for(;;)switch(F){case"hex":return D(this,v,w,M);case"utf8":case"utf-8":return $(this,v,w,M);case"ascii":case"latin1":case"binary":return Q(this,v,w,M);case"base64":return O(this,v,w,M);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I(this,v,w,M);default:if(X)throw new TypeError("Unknown encoding: "+F);F=(""+F).toLowerCase(),X=!0}},o.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function z(R,v,w){return v===0&&w===R.length?t.fromByteArray(R):t.fromByteArray(R.slice(v,w))}function G(R,v,w){w=Math.min(R.length,w);let M=[],F=v;for(;F<w;){let q=R[F],X=null,we=q>239?4:q>223?3:q>191?2:1;if(F+we<=w){let Ze,je,Ke,Oe;switch(we){case 1:q<128&&(X=q);break;case 2:Ze=R[F+1],(Ze&192)===128&&(Oe=(q&31)<<6|Ze&63,Oe>127&&(X=Oe));break;case 3:Ze=R[F+1],je=R[F+2],(Ze&192)===128&&(je&192)===128&&(Oe=(q&15)<<12|(Ze&63)<<6|je&63,Oe>2047&&(Oe<55296||Oe>57343)&&(X=Oe));break;case 4:Ze=R[F+1],je=R[F+2],Ke=R[F+3],(Ze&192)===128&&(je&192)===128&&(Ke&192)===128&&(Oe=(q&15)<<18|(Ze&63)<<12|(je&63)<<6|Ke&63,Oe>65535&&Oe<1114112&&(X=Oe))}}X===null?(X=65533,we=1):X>65535&&(X-=65536,M.push(X>>>10&1023|55296),X=56320|X&1023),M.push(X),F+=we}return U(M)}let j=4096;function U(R){let v=R.length;if(v<=j)return String.fromCharCode.apply(String,R);let w="",M=0;for(;M<v;)w+=String.fromCharCode.apply(String,R.slice(M,M+=j));return w}function W(R,v,w){let M="";w=Math.min(R.length,w);for(let F=v;F<w;++F)M+=String.fromCharCode(R[F]&127);return M}function H(R,v,w){let M="";w=Math.min(R.length,w);for(let F=v;F<w;++F)M+=String.fromCharCode(R[F]);return M}function Y(R,v,w){let M=R.length;(!v||v<0)&&(v=0),(!w||w<0||w>M)&&(w=M);let F="";for(let q=v;q<w;++q)F+=b_[R[q]];return F}function te(R,v,w){let M=R.slice(v,w),F="";for(let q=0;q<M.length-1;q+=2)F+=String.fromCharCode(M[q]+M[q+1]*256);return F}o.prototype.slice=function(v,w){let M=this.length;v=~~v,w=w===void 0?M:~~w,v<0?(v+=M,v<0&&(v=0)):v>M&&(v=M),w<0?(w+=M,w<0&&(w=0)):w>M&&(w=M),w<v&&(w=v);let F=this.subarray(v,w);return Object.setPrototypeOf(F,o.prototype),F};function ne(R,v,w){if(R%1!==0||R<0)throw new RangeError("offset is not uint");if(R+v>w)throw new RangeError("Trying to access beyond buffer length")}o.prototype.readUintLE=o.prototype.readUIntLE=function(v,w,M){v=v>>>0,w=w>>>0,M||ne(v,w,this.length);let F=this[v],q=1,X=0;for(;++X<w&&(q*=256);)F+=this[v+X]*q;return F},o.prototype.readUintBE=o.prototype.readUIntBE=function(v,w,M){v=v>>>0,w=w>>>0,M||ne(v,w,this.length);let F=this[v+--w],q=1;for(;w>0&&(q*=256);)F+=this[v+--w]*q;return F},o.prototype.readUint8=o.prototype.readUInt8=function(v,w){return v=v>>>0,w||ne(v,1,this.length),this[v]},o.prototype.readUint16LE=o.prototype.readUInt16LE=function(v,w){return v=v>>>0,w||ne(v,2,this.length),this[v]|this[v+1]<<8},o.prototype.readUint16BE=o.prototype.readUInt16BE=function(v,w){return v=v>>>0,w||ne(v,2,this.length),this[v]<<8|this[v+1]},o.prototype.readUint32LE=o.prototype.readUInt32LE=function(v,w){return v=v>>>0,w||ne(v,4,this.length),(this[v]|this[v+1]<<8|this[v+2]<<16)+this[v+3]*16777216},o.prototype.readUint32BE=o.prototype.readUInt32BE=function(v,w){return v=v>>>0,w||ne(v,4,this.length),this[v]*16777216+(this[v+1]<<16|this[v+2]<<8|this[v+3])},o.prototype.readBigUInt64LE=un(function(v){v=v>>>0,Li(v,"offset");let w=this[v],M=this[v+7];(w===void 0||M===void 0)&&qs(v,this.length-8);let F=w+this[++v]*2**8+this[++v]*2**16+this[++v]*2**24,q=this[++v]+this[++v]*2**8+this[++v]*2**16+M*2**24;return BigInt(F)+(BigInt(q)<<BigInt(32))}),o.prototype.readBigUInt64BE=un(function(v){v=v>>>0,Li(v,"offset");let w=this[v],M=this[v+7];(w===void 0||M===void 0)&&qs(v,this.length-8);let F=w*2**24+this[++v]*2**16+this[++v]*2**8+this[++v],q=this[++v]*2**24+this[++v]*2**16+this[++v]*2**8+M;return(BigInt(F)<<BigInt(32))+BigInt(q)}),o.prototype.readIntLE=function(v,w,M){v=v>>>0,w=w>>>0,M||ne(v,w,this.length);let F=this[v],q=1,X=0;for(;++X<w&&(q*=256);)F+=this[v+X]*q;return q*=128,F>=q&&(F-=Math.pow(2,8*w)),F},o.prototype.readIntBE=function(v,w,M){v=v>>>0,w=w>>>0,M||ne(v,w,this.length);let F=w,q=1,X=this[v+--F];for(;F>0&&(q*=256);)X+=this[v+--F]*q;return q*=128,X>=q&&(X-=Math.pow(2,8*w)),X},o.prototype.readInt8=function(v,w){return v=v>>>0,w||ne(v,1,this.length),this[v]&128?(255-this[v]+1)*-1:this[v]},o.prototype.readInt16LE=function(v,w){v=v>>>0,w||ne(v,2,this.length);let M=this[v]|this[v+1]<<8;return M&32768?M|4294901760:M},o.prototype.readInt16BE=function(v,w){v=v>>>0,w||ne(v,2,this.length);let M=this[v+1]|this[v]<<8;return M&32768?M|4294901760:M},o.prototype.readInt32LE=function(v,w){return v=v>>>0,w||ne(v,4,this.length),this[v]|this[v+1]<<8|this[v+2]<<16|this[v+3]<<24},o.prototype.readInt32BE=function(v,w){return v=v>>>0,w||ne(v,4,this.length),this[v]<<24|this[v+1]<<16|this[v+2]<<8|this[v+3]},o.prototype.readBigInt64LE=un(function(v){v=v>>>0,Li(v,"offset");let w=this[v],M=this[v+7];(w===void 0||M===void 0)&&qs(v,this.length-8);let F=this[v+4]+this[v+5]*2**8+this[v+6]*2**16+(M<<24);return(BigInt(F)<<BigInt(32))+BigInt(w+this[++v]*2**8+this[++v]*2**16+this[++v]*2**24)}),o.prototype.readBigInt64BE=un(function(v){v=v>>>0,Li(v,"offset");let w=this[v],M=this[v+7];(w===void 0||M===void 0)&&qs(v,this.length-8);let F=(w<<24)+this[++v]*2**16+this[++v]*2**8+this[++v];return(BigInt(F)<<BigInt(32))+BigInt(this[++v]*2**24+this[++v]*2**16+this[++v]*2**8+M)}),o.prototype.readFloatLE=function(v,w){return v=v>>>0,w||ne(v,4,this.length),e.read(this,v,!0,23,4)},o.prototype.readFloatBE=function(v,w){return v=v>>>0,w||ne(v,4,this.length),e.read(this,v,!1,23,4)},o.prototype.readDoubleLE=function(v,w){return v=v>>>0,w||ne(v,8,this.length),e.read(this,v,!0,52,8)},o.prototype.readDoubleBE=function(v,w){return v=v>>>0,w||ne(v,8,this.length),e.read(this,v,!1,52,8)};function he(R,v,w,M,F,q){if(!o.isBuffer(R))throw new TypeError('"buffer" argument must be a Buffer instance');if(v>F||v<q)throw new RangeError('"value" argument is out of bounds');if(w+M>R.length)throw new RangeError("Index out of range")}o.prototype.writeUintLE=o.prototype.writeUIntLE=function(v,w,M,F){if(v=+v,w=w>>>0,M=M>>>0,!F){let we=Math.pow(2,8*M)-1;he(this,v,w,M,we,0)}let q=1,X=0;for(this[w]=v&255;++X<M&&(q*=256);)this[w+X]=v/q&255;return w+M},o.prototype.writeUintBE=o.prototype.writeUIntBE=function(v,w,M,F){if(v=+v,w=w>>>0,M=M>>>0,!F){let we=Math.pow(2,8*M)-1;he(this,v,w,M,we,0)}let q=M-1,X=1;for(this[w+q]=v&255;--q>=0&&(X*=256);)this[w+q]=v/X&255;return w+M},o.prototype.writeUint8=o.prototype.writeUInt8=function(v,w,M){return v=+v,w=w>>>0,M||he(this,v,w,1,255,0),this[w]=v&255,w+1},o.prototype.writeUint16LE=o.prototype.writeUInt16LE=function(v,w,M){return v=+v,w=w>>>0,M||he(this,v,w,2,65535,0),this[w]=v&255,this[w+1]=v>>>8,w+2},o.prototype.writeUint16BE=o.prototype.writeUInt16BE=function(v,w,M){return v=+v,w=w>>>0,M||he(this,v,w,2,65535,0),this[w]=v>>>8,this[w+1]=v&255,w+2},o.prototype.writeUint32LE=o.prototype.writeUInt32LE=function(v,w,M){return v=+v,w=w>>>0,M||he(this,v,w,4,4294967295,0),this[w+3]=v>>>24,this[w+2]=v>>>16,this[w+1]=v>>>8,this[w]=v&255,w+4},o.prototype.writeUint32BE=o.prototype.writeUInt32BE=function(v,w,M){return v=+v,w=w>>>0,M||he(this,v,w,4,4294967295,0),this[w]=v>>>24,this[w+1]=v>>>16,this[w+2]=v>>>8,this[w+3]=v&255,w+4};function ke(R,v,w,M,F){xg(v,M,F,R,w,7);let q=Number(v&BigInt(4294967295));R[w++]=q,q=q>>8,R[w++]=q,q=q>>8,R[w++]=q,q=q>>8,R[w++]=q;let X=Number(v>>BigInt(32)&BigInt(4294967295));return R[w++]=X,X=X>>8,R[w++]=X,X=X>>8,R[w++]=X,X=X>>8,R[w++]=X,w}function st(R,v,w,M,F){xg(v,M,F,R,w,7);let q=Number(v&BigInt(4294967295));R[w+7]=q,q=q>>8,R[w+6]=q,q=q>>8,R[w+5]=q,q=q>>8,R[w+4]=q;let X=Number(v>>BigInt(32)&BigInt(4294967295));return R[w+3]=X,X=X>>8,R[w+2]=X,X=X>>8,R[w+1]=X,X=X>>8,R[w]=X,w+8}o.prototype.writeBigUInt64LE=un(function(v,w=0){return ke(this,v,w,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeBigUInt64BE=un(function(v,w=0){return st(this,v,w,BigInt(0),BigInt("0xffffffffffffffff"))}),o.prototype.writeIntLE=function(v,w,M,F){if(v=+v,w=w>>>0,!F){let Ze=Math.pow(2,8*M-1);he(this,v,w,M,Ze-1,-Ze)}let q=0,X=1,we=0;for(this[w]=v&255;++q<M&&(X*=256);)v<0&&we===0&&this[w+q-1]!==0&&(we=1),this[w+q]=(v/X>>0)-we&255;return w+M},o.prototype.writeIntBE=function(v,w,M,F){if(v=+v,w=w>>>0,!F){let Ze=Math.pow(2,8*M-1);he(this,v,w,M,Ze-1,-Ze)}let q=M-1,X=1,we=0;for(this[w+q]=v&255;--q>=0&&(X*=256);)v<0&&we===0&&this[w+q+1]!==0&&(we=1),this[w+q]=(v/X>>0)-we&255;return w+M},o.prototype.writeInt8=function(v,w,M){return v=+v,w=w>>>0,M||he(this,v,w,1,127,-128),v<0&&(v=255+v+1),this[w]=v&255,w+1},o.prototype.writeInt16LE=function(v,w,M){return v=+v,w=w>>>0,M||he(this,v,w,2,32767,-32768),this[w]=v&255,this[w+1]=v>>>8,w+2},o.prototype.writeInt16BE=function(v,w,M){return v=+v,w=w>>>0,M||he(this,v,w,2,32767,-32768),this[w]=v>>>8,this[w+1]=v&255,w+2},o.prototype.writeInt32LE=function(v,w,M){return v=+v,w=w>>>0,M||he(this,v,w,4,2147483647,-2147483648),this[w]=v&255,this[w+1]=v>>>8,this[w+2]=v>>>16,this[w+3]=v>>>24,w+4},o.prototype.writeInt32BE=function(v,w,M){return v=+v,w=w>>>0,M||he(this,v,w,4,2147483647,-2147483648),v<0&&(v=4294967295+v+1),this[w]=v>>>24,this[w+1]=v>>>16,this[w+2]=v>>>8,this[w+3]=v&255,w+4},o.prototype.writeBigInt64LE=un(function(v,w=0){return ke(this,v,w,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),o.prototype.writeBigInt64BE=un(function(v,w=0){return st(this,v,w,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function ht(R,v,w,M,F,q){if(w+M>R.length)throw new RangeError("Index out of range");if(w<0)throw new RangeError("Index out of range")}function Ye(R,v,w,M,F){return v=+v,w=w>>>0,F||ht(R,v,w,4),e.write(R,v,w,M,23,4),w+4}o.prototype.writeFloatLE=function(v,w,M){return Ye(this,v,w,!0,M)},o.prototype.writeFloatBE=function(v,w,M){return Ye(this,v,w,!1,M)};function Ct(R,v,w,M,F){return v=+v,w=w>>>0,F||ht(R,v,w,8),e.write(R,v,w,M,52,8),w+8}o.prototype.writeDoubleLE=function(v,w,M){return Ct(this,v,w,!0,M)},o.prototype.writeDoubleBE=function(v,w,M){return Ct(this,v,w,!1,M)},o.prototype.copy=function(v,w,M,F){if(!o.isBuffer(v))throw new TypeError("argument should be a Buffer");if(M||(M=0),!F&&F!==0&&(F=this.length),w>=v.length&&(w=v.length),w||(w=0),F>0&&F<M&&(F=M),F===M||v.length===0||this.length===0)return 0;if(w<0)throw new RangeError("targetStart out of bounds");if(M<0||M>=this.length)throw new RangeError("Index out of range");if(F<0)throw new RangeError("sourceEnd out of bounds");F>this.length&&(F=this.length),v.length-w<F-M&&(F=v.length-w+M);let q=F-M;return this===v&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(w,M,F):Uint8Array.prototype.set.call(v,this.subarray(M,F),w),q},o.prototype.fill=function(v,w,M,F){if(typeof v=="string"){if(typeof w=="string"?(F=w,w=0,M=this.length):typeof M=="string"&&(F=M,M=this.length),F!==void 0&&typeof F!="string")throw new TypeError("encoding must be a string");if(typeof F=="string"&&!o.isEncoding(F))throw new TypeError("Unknown encoding: "+F);if(v.length===1){let X=v.charCodeAt(0);(F==="utf8"&&X<128||F==="latin1")&&(v=X)}}else typeof v=="number"?v=v&255:typeof v=="boolean"&&(v=Number(v));if(w<0||this.length<w||this.length<M)throw new RangeError("Out of range index");if(M<=w)return this;w=w>>>0,M=M===void 0?this.length:M>>>0,v||(v=0);let q;if(typeof v=="number")for(q=w;q<M;++q)this[q]=v;else{let X=o.isBuffer(v)?v:o.from(v,F),we=X.length;if(we===0)throw new TypeError('The value "'+v+'" is invalid for argument "value"');for(q=0;q<M-w;++q)this[q+w]=X[q%we]}return this};let Je={};function or(R,v,w){Je[R]=class extends w{constructor(){super(),Object.defineProperty(this,"message",{value:v.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${R}]`,this.stack,delete this.name}get code(){return R}set code(F){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:F,writable:!0})}toString(){return`${this.name} [${R}]: ${this.message}`}}}or("ERR_BUFFER_OUT_OF_BOUNDS",function(R){return R?`${R} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),or("ERR_INVALID_ARG_TYPE",function(R,v){return`The "${R}" argument must be of type number. Received type ${typeof v}`},TypeError),or("ERR_OUT_OF_RANGE",function(R,v,w){let M=`The value of "${R}" is out of range.`,F=w;return Number.isInteger(w)&&Math.abs(w)>2**32?F=jr(String(w)):typeof w=="bigint"&&(F=String(w),(w>BigInt(2)**BigInt(32)||w<-(BigInt(2)**BigInt(32)))&&(F=jr(F)),F+="n"),M+=` It must be ${v}. Received ${F}`,M},RangeError);function jr(R){let v="",w=R.length,M=R[0]==="-"?1:0;for(;w>=M+4;w-=3)v=`_${R.slice(w-3,w)}${v}`;return`${R.slice(0,w)}${v}`}function Df(R,v,w){Li(v,"offset"),(R[v]===void 0||R[v+w]===void 0)&&qs(v,R.length-(w+1))}function xg(R,v,w,M,F,q){if(R>w||R<v){let X=typeof v=="bigint"?"n":"",we;throw q>3?v===0||v===BigInt(0)?we=`>= 0${X} and < 2${X} ** ${(q+1)*8}${X}`:we=`>= -(2${X} ** ${(q+1)*8-1}${X}) and < 2 ** ${(q+1)*8-1}${X}`:we=`>= ${v}${X} and <= ${w}${X}`,new Je.ERR_OUT_OF_RANGE("value",we,R)}Df(M,F,q)}function Li(R,v){if(typeof R!="number")throw new Je.ERR_INVALID_ARG_TYPE(v,"number",R)}function qs(R,v,w){throw Math.floor(R)!==R?(Li(R,w),new Je.ERR_OUT_OF_RANGE(w||"offset","an integer",R)):v<0?new Je.ERR_BUFFER_OUT_OF_BOUNDS:new Je.ERR_OUT_OF_RANGE(w||"offset",`>= ${w?1:0} and <= ${v}`,R)}let d_=/[^+/0-9A-Za-z-_]/g;function p_(R){if(R=R.split("=")[0],R=R.trim().replace(d_,""),R.length<2)return"";for(;R.length%4!==0;)R=R+"=";return R}function Ff(R,v){v=v||1/0;let w,M=R.length,F=null,q=[];for(let X=0;X<M;++X){if(w=R.charCodeAt(X),w>55295&&w<57344){if(!F){if(w>56319){(v-=3)>-1&&q.push(239,191,189);continue}else if(X+1===M){(v-=3)>-1&&q.push(239,191,189);continue}F=w;continue}if(w<56320){(v-=3)>-1&&q.push(239,191,189),F=w;continue}w=(F-55296<<10|w-56320)+65536}else F&&(v-=3)>-1&&q.push(239,191,189);if(F=null,w<128){if((v-=1)<0)break;q.push(w)}else if(w<2048){if((v-=2)<0)break;q.push(w>>6|192,w&63|128)}else if(w<65536){if((v-=3)<0)break;q.push(w>>12|224,w>>6&63|128,w&63|128)}else if(w<1114112){if((v-=4)<0)break;q.push(w>>18|240,w>>12&63|128,w>>6&63|128,w&63|128)}else throw new Error("Invalid code point")}return q}function m_(R){let v=[];for(let w=0;w<R.length;++w)v.push(R.charCodeAt(w)&255);return v}function g_(R,v){let w,M,F,q=[];for(let X=0;X<R.length&&!((v-=2)<0);++X)w=R.charCodeAt(X),M=w>>8,F=w%256,q.push(F),q.push(M);return q}function Sg(R){return t.toByteArray(p_(R))}function dl(R,v,w,M){let F;for(F=0;F<M&&!(F+w>=v.length||F>=R.length);++F)v[F+w]=R[F];return F}function yr(R,v){return R instanceof v||R!=null&&R.constructor!=null&&R.constructor.name!=null&&R.constructor.name===v.name}function $f(R){return R!==R}let b_=function(){let R="0123456789abcdef",v=new Array(256);for(let w=0;w<16;++w){let M=w*16;for(let F=0;F<16;++F)v[M+F]=R[w]+R[F]}return v}();function un(R){return typeof BigInt>"u"?v_:R}function v_(){throw new Error("BigInt not supported")}return Qn}var zs,q2,wl,z2,Qn,j2,Yn,E,hz,dz,V2=It(()=>{d();m();p();zs={},q2=!1;wl={},z2=!1;Qn={},j2=!1;Yn=A_();Yn.Buffer;Yn.SlowBuffer;Yn.INSPECT_MAX_BYTES;Yn.kMaxLength;E=Yn.Buffer,hz=Yn.INSPECT_MAX_BYTES,dz=Yn.kMaxLength});var m=It(()=>{V2()});var Et=V((rh,nh)=>{d();m();p();(function(t,e){typeof rh=="object"&&typeof nh<"u"?nh.exports=function(r,n,i,s,o){for(n=n.split?n.split("."):n,s=0;s<n.length;s++)r=r?r[n[s]]:o;return r===o?i:r}:typeof define=="function"&&define.amd?define(function(){return function(r,n,i,s,o){for(n=n.split?n.split("."):n,s=0;s<n.length;s++)r=r?r[n[s]]:o;return r===o?i:r}}):t.dlv=function(r,n,i,s,o){for(n=n.split?n.split("."):n,s=0;s<n.length;s++)r=r?r[n[s]]:o;return r===o?i:r}})(rh)});var D1=V((vse,I1)=>{d();m();p();var pe=String,qb=function(){return{isColorSupported:!1,reset:pe,bold:pe,dim:pe,italic:pe,underline:pe,inverse:pe,hidden:pe,strikethrough:pe,black:pe,red:pe,green:pe,yellow:pe,blue:pe,magenta:pe,cyan:pe,white:pe,gray:pe,bgBlack:pe,bgRed:pe,bgGreen:pe,bgYellow:pe,bgBlue:pe,bgMagenta:pe,bgCyan:pe,bgWhite:pe,blackBright:pe,redBright:pe,greenBright:pe,yellowBright:pe,blueBright:pe,magentaBright:pe,cyanBright:pe,whiteBright:pe,bgBlackBright:pe,bgRedBright:pe,bgGreenBright:pe,bgYellowBright:pe,bgBlueBright:pe,bgMagentaBright:pe,bgCyanBright:pe,bgWhiteBright:pe}};I1.exports=qb();I1.exports.createColors=qb});var F1=V(()=>{d();m();p()});var du=V((Ase,Vb)=>{"use strict";d();m();p();var zb=D1(),jb=F1(),bo=class t extends Error{constructor(e,r,n,i,s,o){super(e),this.name="CssSyntaxError",this.reason=e,s&&(this.file=s),i&&(this.source=i),o&&(this.plugin=o),typeof r<"u"&&typeof n<"u"&&(typeof r=="number"?(this.line=r,this.column=n):(this.line=r.line,this.column=r.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,t)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let r=this.source;e==null&&(e=zb.isColorSupported);let n=c=>c,i=c=>c,s=c=>c;if(e){let{bold:c,gray:f,red:h}=zb.createColors(!0);i=g=>c(h(g)),n=g=>f(g),jb&&(s=g=>jb(g))}let o=r.split(/\r?\n/),a=Math.max(this.line-3,0),l=Math.min(this.line+2,o.length),u=String(l).length;return o.slice(a,l).map((c,f)=>{let h=a+1+f,g=" "+(" "+h).slice(-u)+" | ";if(h===this.line){if(c.length>160){let S=20,x=Math.max(0,this.column-S),_=Math.max(this.column+S,this.endColumn+S),k=c.slice(x,_),T=n(g.replace(/\d/g," "))+c.slice(0,Math.min(this.column-1,S-1)).replace(/[^\t]/g," ");return i(">")+n(g)+s(k)+`
2
+ `+T+i("^")}let y=n(g.replace(/\d/g," "))+c.slice(0,this.column-1).replace(/[^\t]/g," ");return i(">")+n(g)+s(c)+`
3
+ `+y+i("^")}return" "+n(g)+s(c)}).join(`
4
+ `)}toString(){let e=this.showSourceCode();return e&&(e=`
5
+
6
+ `+e+`
7
+ `),this.name+": "+this.message+e}};Vb.exports=bo;bo.default=bo});var $1=V((Nse,Hb)=>{"use strict";d();m();p();var Wb={after:`
8
+ `,beforeClose:`
9
+ `,beforeComment:`
10
+ `,beforeDecl:`
11
+ `,beforeOpen:" ",beforeRule:`
12
+ `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function pA(t){return t[0].toUpperCase()+t.slice(1)}var vo=class{constructor(e){this.builder=e}atrule(e,r){let n="@"+e.name,i=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?n+=e.raws.afterName:i&&(n+=" "),e.nodes)this.block(e,n+i);else{let s=(e.raws.between||"")+(r?";":"");this.builder(n+i+s,e)}}beforeAfter(e,r){let n;e.type==="decl"?n=this.raw(e,null,"beforeDecl"):e.type==="comment"?n=this.raw(e,null,"beforeComment"):r==="before"?n=this.raw(e,null,"beforeRule"):n=this.raw(e,null,"beforeClose");let i=e.parent,s=0;for(;i&&i.type!=="root";)s+=1,i=i.parent;if(n.includes(`
13
+ `)){let o=this.raw(e,null,"indent");if(o.length)for(let a=0;a<s;a++)n+=o}return n}block(e,r){let n=this.raw(e,"between","beforeOpen");this.builder(r+n+"{",e,"start");let i;e.nodes&&e.nodes.length?(this.body(e),i=this.raw(e,"after")):i=this.raw(e,"after","emptyBody"),i&&this.builder(i),this.builder("}",e,"end")}body(e){let r=e.nodes.length-1;for(;r>0&&e.nodes[r].type==="comment";)r-=1;let n=this.raw(e,"semicolon");for(let i=0;i<e.nodes.length;i++){let s=e.nodes[i],o=this.raw(s,"before");o&&this.builder(o),this.stringify(s,r!==i||n)}}comment(e){let r=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+r+e.text+n+"*/",e)}decl(e,r){let n=this.raw(e,"between","colon"),i=e.prop+n+this.rawValue(e,"value");e.important&&(i+=e.raws.important||" !important"),r&&(i+=";"),this.builder(i,e)}document(e){this.body(e)}raw(e,r,n){let i;if(n||(n=r),r&&(i=e.raws[r],typeof i<"u"))return i;let s=e.parent;if(n==="before"&&(!s||s.type==="root"&&s.first===e||s&&s.type==="document"))return"";if(!s)return Wb[n];let o=e.root();if(o.rawCache||(o.rawCache={}),typeof o.rawCache[n]<"u")return o.rawCache[n];if(n==="before"||n==="after")return this.beforeAfter(e,n);{let a="raw"+pA(n);this[a]?i=this[a](o,e):o.walk(l=>{if(i=l.raws[r],typeof i<"u")return!1})}return typeof i>"u"&&(i=Wb[n]),o.rawCache[n]=i,i}rawBeforeClose(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length>0&&typeof n.raws.after<"u")return r=n.raws.after,r.includes(`
14
+ `)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawBeforeComment(e,r){let n;return e.walkComments(i=>{if(typeof i.raws.before<"u")return n=i.raws.before,n.includes(`
15
+ `)&&(n=n.replace(/[^\n]+$/,"")),!1}),typeof n>"u"?n=this.raw(r,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,r){let n;return e.walkDecls(i=>{if(typeof i.raws.before<"u")return n=i.raws.before,n.includes(`
16
+ `)&&(n=n.replace(/[^\n]+$/,"")),!1}),typeof n>"u"?n=this.raw(r,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeOpen(e){let r;return e.walk(n=>{if(n.type!=="decl"&&(r=n.raws.between,typeof r<"u"))return!1}),r}rawBeforeRule(e){let r;return e.walk(n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&typeof n.raws.before<"u")return r=n.raws.before,r.includes(`
17
+ `)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawColon(e){let r;return e.walkDecls(n=>{if(typeof n.raws.between<"u")return r=n.raws.between.replace(/[^\s:]/g,""),!1}),r}rawEmptyBody(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length===0&&(r=n.raws.after,typeof r<"u"))return!1}),r}rawIndent(e){if(e.raws.indent)return e.raws.indent;let r;return e.walk(n=>{let i=n.parent;if(i&&i!==e&&i.parent&&i.parent===e&&typeof n.raws.before<"u"){let s=n.raws.before.split(`
18
+ `);return r=s[s.length-1],r=r.replace(/\S/g,""),!1}}),r}rawSemicolon(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length&&n.last.type==="decl"&&(r=n.raws.semicolon,typeof r<"u"))return!1}),r}rawValue(e,r){let n=e[r],i=e.raws[r];return i&&i.value===n?i.raw:n}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,r){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,r)}};Hb.exports=vo;vo.default=vo});var wo=V((Ise,Gb)=>{"use strict";d();m();p();var mA=$1();function U1(t,e){new mA(e).stringify(t)}Gb.exports=U1;U1.default=U1});var pu=V((Use,B1)=>{"use strict";d();m();p();B1.exports.isClean=Symbol("isClean");B1.exports.my=Symbol("my")});var _o=V((jse,Xb)=>{"use strict";d();m();p();var gA=du(),bA=$1(),vA=wo(),{isClean:yo,my:wA}=pu();function q1(t,e){let r=new t.constructor;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n)||n==="proxyCache")continue;let i=t[n],s=typeof i;n==="parent"&&s==="object"?e&&(r[n]=e):n==="source"?r[n]=i:Array.isArray(i)?r[n]=i.map(o=>q1(o,r)):(s==="object"&&i!==null&&(i=q1(i)),r[n]=i)}return r}function xo(t,e){if(e&&typeof e.offset<"u")return e.offset;let r=1,n=1,i=0;for(let s=0;s<t.length;s++){if(n===e.line&&r===e.column){i=s;break}t[s]===`
19
+ `?(r=1,n+=1):r+=1}return i}var So=class{constructor(e={}){this.raws={},this[yo]=!1,this[wA]=!0;for(let r in e)if(r==="nodes"){this.nodes=[];for(let n of e[r])typeof n.clone=="function"?this.append(n.clone()):this.append(n)}else this[r]=e[r]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let r=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${r.input.from}:${r.start.line}:${r.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let r in e)this[r]=e[r];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let r=q1(this);for(let n in e)r[n]=e[n];return r}cloneAfter(e={}){let r=this.clone(e);return this.parent.insertAfter(this,r),r}cloneBefore(e={}){let r=this.clone(e);return this.parent.insertBefore(this,r),r}error(e,r={}){if(this.source){let{end:n,start:i}=this.rangeBy(r);return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},r)}return new gA(e)}getProxyProcessor(){return{get(e,r){return r==="proxyOf"?e:r==="root"?()=>e.root().toProxy():e[r]},set(e,r,n){return e[r]===n||(e[r]=n,(r==="prop"||r==="value"||r==="name"||r==="params"||r==="important"||r==="text")&&e.markDirty()),!0}}}markClean(){this[yo]=!0}markDirty(){if(this[yo]){this[yo]=!1;let e=this;for(;e=e.parent;)e[yo]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e){let r=this.source.start;if(e.index)r=this.positionInside(e.index);else if(e.word){let n="document"in this.source.input?this.source.input.document:this.source.input.css,s=n.slice(xo(n,this.source.start),xo(n,this.source.end)).indexOf(e.word);s!==-1&&(r=this.positionInside(s))}return r}positionInside(e){let r=this.source.start.column,n=this.source.start.line,i="document"in this.source.input?this.source.input.document:this.source.input.css,s=xo(i,this.source.start),o=s+e;for(let a=s;a<o;a++)i[a]===`
20
+ `?(r=1,n+=1):r+=1;return{column:r,line:n}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let r={column:this.source.start.column,line:this.source.start.line},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:r.column+1,line:r.line};if(e.word){let i="document"in this.source.input?this.source.input.document:this.source.input.css,o=i.slice(xo(i,this.source.start),xo(i,this.source.end)).indexOf(e.word);o!==-1&&(r=this.positionInside(o),n=this.positionInside(o+e.word.length))}else e.start?r={column:e.start.column,line:e.start.line}:e.index&&(r=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line}:typeof e.endIndex=="number"?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<r.line||n.line===r.line&&n.column<=r.column)&&(n={column:r.column+1,line:r.line}),{end:n,start:r}}raw(e,r){return new bA().raw(this,e,r)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let r=this,n=!1;for(let i of e)i===this?n=!0:n?(this.parent.insertAfter(r,i),r=i):this.parent.insertBefore(r,i);n||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,r){let n={},i=r==null;r=r||new Map;let s=0;for(let o in this){if(!Object.prototype.hasOwnProperty.call(this,o)||o==="parent"||o==="proxyCache")continue;let a=this[o];if(Array.isArray(a))n[o]=a.map(l=>typeof l=="object"&&l.toJSON?l.toJSON(null,r):l);else if(typeof a=="object"&&a.toJSON)n[o]=a.toJSON(null,r);else if(o==="source"){let l=r.get(a.input);l==null&&(l=s,r.set(a.input,s),s++),n[o]={end:a.end,inputId:l,start:a.start}}else n[o]=a}return i&&(n.inputs=[...r.keys()].map(o=>o.toJSON())),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=vA){e.stringify&&(e=e.stringify);let r="";return e(this,n=>{r+=n}),r}warn(e,r,n){let i={node:this};for(let s in n)i[s]=n[s];return e.warn(r,i)}get proxyOf(){return this}};Xb.exports=So;So.default=So});var Eo=V((Gse,Qb)=>{"use strict";d();m();p();var yA=_o(),Co=class extends yA{constructor(e){super(e),this.type="comment"}};Qb.exports=Co;Co.default=Co});var Ao=V((Jse,Yb)=>{"use strict";d();m();p();var xA=_o(),ko=class extends xA{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};Yb.exports=ko;ko.default=ko});var Sn=V((toe,sv)=>{"use strict";d();m();p();var Jb=Eo(),Zb=Ao(),SA=_o(),{isClean:Kb,my:ev}=pu(),z1,tv,rv,j1;function nv(t){return t.map(e=>(e.nodes&&(e.nodes=nv(e.nodes)),delete e.source,e))}function iv(t){if(t[Kb]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)iv(e)}var hr=class t extends SA{append(...e){for(let r of e){let n=this.normalize(r,this.last);for(let i of n)this.proxyOf.nodes.push(i)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let r of this.nodes)r.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let r=this.getIterator(),n,i;for(;this.indexes[r]<this.proxyOf.nodes.length&&(n=this.indexes[r],i=e(this.proxyOf.nodes[n],n),i!==!1);)this.indexes[r]+=1;return delete this.indexes[r],i}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,r){return r==="proxyOf"?e:e[r]?r==="each"||typeof r=="string"&&r.startsWith("walk")?(...n)=>e[r](...n.map(i=>typeof i=="function"?(s,o)=>i(s.toProxy(),o):i)):r==="every"||r==="some"?n=>e[r]((i,...s)=>n(i.toProxy(),...s)):r==="root"?()=>e.root().toProxy():r==="nodes"?e.nodes.map(n=>n.toProxy()):r==="first"||r==="last"?e[r].toProxy():e[r]:e[r]},set(e,r,n){return e[r]===n||(e[r]=n,(r==="name"||r==="params"||r==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,r){let n=this.index(e),i=this.normalize(r,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let o of i)this.proxyOf.nodes.splice(n+1,0,o);let s;for(let o in this.indexes)s=this.indexes[o],n<s&&(this.indexes[o]=s+i.length);return this.markDirty(),this}insertBefore(e,r){let n=this.index(e),i=n===0?"prepend":!1,s=this.normalize(r,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(let a of s)this.proxyOf.nodes.splice(n,0,a);let o;for(let a in this.indexes)o=this.indexes[a],n<=o&&(this.indexes[a]=o+s.length);return this.markDirty(),this}normalize(e,r){if(typeof e=="string")e=nv(tv(e).nodes);else if(typeof e>"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new Zb(e)]}else if(e.selector||e.selectors)e=[new j1(e)];else if(e.name)e=[new z1(e)];else if(e.text)e=[new Jb(e)];else throw new Error("Unknown node type in node creation");return e.map(i=>(i[ev]||t.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[Kb]&&iv(i),i.raws||(i.raws={}),typeof i.raws.before>"u"&&r&&typeof r.raws.before<"u"&&(i.raws.before=r.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}prepend(...e){e=e.reverse();for(let r of e){let n=this.normalize(r,this.first,"prepend").reverse();for(let i of n)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+n.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let r;for(let n in this.indexes)r=this.indexes[n],r>=e&&(this.indexes[n]=r-1);return this.markDirty(),this}replaceValues(e,r,n){return n||(n=r,r={}),this.walkDecls(i=>{r.props&&!r.props.includes(i.prop)||r.fast&&!i.value.includes(r.fast)||(i.value=i.value.replace(e,n))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((r,n)=>{let i;try{i=e(r,n)}catch(s){throw r.addToError(s)}return i!==!1&&r.walk&&(i=r.walk(e)),i})}walkAtRules(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="atrule"&&e.test(n.name))return r(n,i)}):this.walk((n,i)=>{if(n.type==="atrule"&&n.name===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="atrule")return r(n,i)}))}walkComments(e){return this.walk((r,n)=>{if(r.type==="comment")return e(r,n)})}walkDecls(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="decl"&&e.test(n.prop))return r(n,i)}):this.walk((n,i)=>{if(n.type==="decl"&&n.prop===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="decl")return r(n,i)}))}walkRules(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="rule"&&e.test(n.selector))return r(n,i)}):this.walk((n,i)=>{if(n.type==="rule"&&n.selector===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="rule")return r(n,i)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};hr.registerParse=t=>{tv=t};hr.registerRule=t=>{j1=t};hr.registerAtRule=t=>{z1=t};hr.registerRoot=t=>{rv=t};sv.exports=hr;hr.default=hr;hr.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,z1.prototype):t.type==="rule"?Object.setPrototypeOf(t,j1.prototype):t.type==="decl"?Object.setPrototypeOf(t,Zb.prototype):t.type==="comment"?Object.setPrototypeOf(t,Jb.prototype):t.type==="root"&&Object.setPrototypeOf(t,rv.prototype),t[ev]=!0,t.nodes&&t.nodes.forEach(e=>{hr.rebuild(e)})}});var mu=V((soe,av)=>{"use strict";d();m();p();var ov=Sn(),Zi=class extends ov{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};av.exports=Zi;Zi.default=Zi;ov.registerAtRule(Zi)});var gu=V((uoe,cv)=>{"use strict";d();m();p();var _A=Sn(),lv,uv,si=class extends _A{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new lv(new uv,this,e).stringify()}};si.registerLazyResult=t=>{lv=t};si.registerProcessor=t=>{uv=t};cv.exports=si;si.default=si});var V1=V((doe,fv)=>{d();m();p();var CA="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",EA=(t,e=21)=>(r=e)=>{let n="",i=r|0;for(;i--;)n+=t[Math.random()*t.length|0];return n},kA=(t=21)=>{let e="",r=t|0;for(;r--;)e+=CA[Math.random()*64|0];return e};fv.exports={nanoid:kA,customAlphabet:EA}});function AA(){if(hv)return W1;hv=!0;var t=W1={},e,r;function n(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?e=setTimeout:e=n}catch{e=n}try{typeof clearTimeout=="function"?r=clearTimeout:r=i}catch{r=i}})();function s(S){if(e===setTimeout)return setTimeout(S,0);if((e===n||!e)&&setTimeout)return e=setTimeout,setTimeout(S,0);try{return e(S,0)}catch{try{return e.call(null,S,0)}catch{return e.call(this||Ki,S,0)}}}function o(S){if(r===clearTimeout)return clearTimeout(S);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(S);try{return r(S)}catch{try{return r.call(null,S)}catch{return r.call(this||Ki,S)}}}var a=[],l=!1,u,c=-1;function f(){!l||!u||(l=!1,u.length?a=u.concat(a):c=-1,a.length&&h())}function h(){if(!l){var S=s(f);l=!0;for(var x=a.length;x;){for(u=a,a=[];++c<x;)u&&u[c].run();c=-1,x=a.length}u=null,l=!1,o(S)}}t.nextTick=function(S){var x=new Array(arguments.length-1);if(arguments.length>1)for(var _=1;_<arguments.length;_++)x[_-1]=arguments[_];a.push(new g(S,x)),a.length===1&&!l&&s(h)};function g(S,x){(this||Ki).fun=S,(this||Ki).array=x}g.prototype.run=function(){(this||Ki).fun.apply(null,(this||Ki).array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={};function y(){}return t.on=y,t.addListener=y,t.once=y,t.off=y,t.removeListener=y,t.removeAllListeners=y,t.emit=y,t.prependListener=y,t.prependOnceListener=y,t.listeners=function(S){return[]},t.binding=function(S){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(S){throw new Error("process.chdir is not supported")},t.umask=function(){return 0},W1}var W1,hv,Ki,We,bu=It(()=>{d();m();p();W1={},hv=!1,Ki=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;We=AA();We.platform="browser";We.addListener;We.argv;We.binding;We.browser;We.chdir;We.cwd;We.emit;We.env;We.listeners;We.nextTick;We.off;We.on;We.once;We.prependListener;We.prependOnceListener;We.removeAllListeners;We.removeListener;We.title;We.umask;We.version;We.versions});function LA(){if(dv)return H1;dv=!0;var t=We;function e(s){if(typeof s!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(s))}function r(s,o){for(var a="",l=0,u=-1,c=0,f,h=0;h<=s.length;++h){if(h<s.length)f=s.charCodeAt(h);else{if(f===47)break;f=47}if(f===47){if(!(u===h-1||c===1))if(u!==h-1&&c===2){if(a.length<2||l!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var g=a.lastIndexOf("/");if(g!==a.length-1){g===-1?(a="",l=0):(a=a.slice(0,g),l=a.length-1-a.lastIndexOf("/")),u=h,c=0;continue}}else if(a.length===2||a.length===1){a="",l=0,u=h,c=0;continue}}o&&(a.length>0?a+="/..":a="..",l=2)}else a.length>0?a+="/"+s.slice(u+1,h):a=s.slice(u+1,h),l=h-u-1;u=h,c=0}else f===46&&c!==-1?++c:c=-1}return a}function n(s,o){var a=o.dir||o.root,l=o.base||(o.name||"")+(o.ext||"");return a?a===o.root?a+l:a+s+l:l}var i={resolve:function(){for(var o="",a=!1,l,u=arguments.length-1;u>=-1&&!a;u--){var c;u>=0?c=arguments[u]:(l===void 0&&(l=t.cwd()),c=l),e(c),c.length!==0&&(o=c+"/"+o,a=c.charCodeAt(0)===47)}return o=r(o,!a),a?o.length>0?"/"+o:"/":o.length>0?o:"."},normalize:function(o){if(e(o),o.length===0)return".";var a=o.charCodeAt(0)===47,l=o.charCodeAt(o.length-1)===47;return o=r(o,!a),o.length===0&&!a&&(o="."),o.length>0&&l&&(o+="/"),a?"/"+o:o},isAbsolute:function(o){return e(o),o.length>0&&o.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var o,a=0;a<arguments.length;++a){var l=arguments[a];e(l),l.length>0&&(o===void 0?o=l:o+="/"+l)}return o===void 0?".":i.normalize(o)},relative:function(o,a){if(e(o),e(a),o===a||(o=i.resolve(o),a=i.resolve(a),o===a))return"";for(var l=1;l<o.length&&o.charCodeAt(l)===47;++l);for(var u=o.length,c=u-l,f=1;f<a.length&&a.charCodeAt(f)===47;++f);for(var h=a.length,g=h-f,y=c<g?c:g,S=-1,x=0;x<=y;++x){if(x===y){if(g>y){if(a.charCodeAt(f+x)===47)return a.slice(f+x+1);if(x===0)return a.slice(f+x)}else c>y&&(o.charCodeAt(l+x)===47?S=x:x===0&&(S=0));break}var _=o.charCodeAt(l+x),k=a.charCodeAt(f+x);if(_!==k)break;_===47&&(S=x)}var T="";for(x=l+S+1;x<=u;++x)(x===u||o.charCodeAt(x)===47)&&(T.length===0?T+="..":T+="/..");return T.length>0?T+a.slice(f+S):(f+=S,a.charCodeAt(f)===47&&++f,a.slice(f))},_makeLong:function(o){return o},dirname:function(o){if(e(o),o.length===0)return".";for(var a=o.charCodeAt(0),l=a===47,u=-1,c=!0,f=o.length-1;f>=1;--f)if(a=o.charCodeAt(f),a===47){if(!c){u=f;break}}else c=!1;return u===-1?l?"/":".":l&&u===1?"//":o.slice(0,u)},basename:function(o,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(o);var l=0,u=-1,c=!0,f;if(a!==void 0&&a.length>0&&a.length<=o.length){if(a.length===o.length&&a===o)return"";var h=a.length-1,g=-1;for(f=o.length-1;f>=0;--f){var y=o.charCodeAt(f);if(y===47){if(!c){l=f+1;break}}else g===-1&&(c=!1,g=f+1),h>=0&&(y===a.charCodeAt(h)?--h===-1&&(u=f):(h=-1,u=g))}return l===u?u=g:u===-1&&(u=o.length),o.slice(l,u)}else{for(f=o.length-1;f>=0;--f)if(o.charCodeAt(f)===47){if(!c){l=f+1;break}}else u===-1&&(c=!1,u=f+1);return u===-1?"":o.slice(l,u)}},extname:function(o){e(o);for(var a=-1,l=0,u=-1,c=!0,f=0,h=o.length-1;h>=0;--h){var g=o.charCodeAt(h);if(g===47){if(!c){l=h+1;break}continue}u===-1&&(c=!1,u=h+1),g===46?a===-1?a=h:f!==1&&(f=1):a!==-1&&(f=-1)}return a===-1||u===-1||f===0||f===1&&a===u-1&&a===l+1?"":o.slice(a,u)},format:function(o){if(o===null||typeof o!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof o);return n("/",o)},parse:function(o){e(o);var a={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return a;var l=o.charCodeAt(0),u=l===47,c;u?(a.root="/",c=1):c=0;for(var f=-1,h=0,g=-1,y=!0,S=o.length-1,x=0;S>=c;--S){if(l=o.charCodeAt(S),l===47){if(!y){h=S+1;break}continue}g===-1&&(y=!1,g=S+1),l===46?f===-1?f=S:x!==1&&(x=1):f!==-1&&(x=-1)}return f===-1||g===-1||x===0||x===1&&f===g-1&&f===h+1?g!==-1&&(h===0&&u?a.base=a.name=o.slice(1,g):a.base=a.name=o.slice(h,g)):(h===0&&u?(a.name=o.slice(1,f),a.base=o.slice(1,g)):(a.name=o.slice(h,f),a.base=o.slice(h,g)),a.ext=o.slice(f,g)),h>0?a.dir=o.slice(0,h-1):u&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return i.posix=i,H1=i,H1}var H1,dv,rt,vu=It(()=>{d();m();p();bu();H1={},dv=!1;rt=LA()});var oi={};ml(oi,{_makeLong:()=>RA,basename:()=>TA,default:()=>rt,delimiter:()=>NA,dirname:()=>MA,extname:()=>OA,format:()=>PA,isAbsolute:()=>IA,join:()=>DA,normalize:()=>FA,parse:()=>$A,posix:()=>UA,relative:()=>BA,resolve:()=>qA,sep:()=>zA,win32:()=>jA});var RA,TA,NA,MA,OA,PA,IA,DA,FA,$A,UA,BA,qA,zA,jA,ai=It(()=>{d();m();p();vu();vu();bu();RA=rt._makeLong,TA=rt.basename,NA=rt.delimiter,MA=rt.dirname,OA=rt.extname,PA=rt.format,IA=rt.isAbsolute,DA=rt.join,FA=rt.normalize,$A=rt.parse,UA=rt.posix,BA=rt.relative,qA=rt.resolve,zA=rt.sep,jA=rt.win32});var li=V(()=>{d();m();p()});function ui(t){throw new RangeError(GA[t])}function pv(t,e){let r=t.split("@"),n="";r.length>1&&(n=r[0]+"@",t=r[1]);let i=function(s,o){let a=[],l=s.length;for(;l--;)a[l]=o(s[l]);return a}((t=t.replace(HA,".")).split("."),e).join(".");return n+i}function vv(t){let e=[],r=0,n=t.length;for(;r<n;){let i=t.charCodeAt(r++);if(i>=55296&&i<=56319&&r<n){let s=t.charCodeAt(r++);(64512&s)==56320?e.push(((1023&i)<<10)+(1023&s)+65536):(e.push(i),r--)}else e.push(i)}return e}var VA,WA,HA,GA,Ar,G1,mv,wv,gv,bv,_n,yv=It(()=>{d();m();p();VA=/^xn--/,WA=/[^\0-\x7E]/,HA=/[\x2E\u3002\uFF0E\uFF61]/g,GA={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Ar=Math.floor,G1=String.fromCharCode;mv=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},wv=function(t,e,r){let n=0;for(t=r?Ar(t/700):t>>1,t+=Ar(t/e);t>455;n+=36)t=Ar(t/35);return Ar(n+36*t/(t+38))},gv=function(t){let e=[],r=t.length,n=0,i=128,s=72,o=t.lastIndexOf("-");o<0&&(o=0);for(let l=0;l<o;++l)t.charCodeAt(l)>=128&&ui("not-basic"),e.push(t.charCodeAt(l));for(let l=o>0?o+1:0;l<r;){let u=n;for(let f=1,h=36;;h+=36){l>=r&&ui("invalid-input");let g=(a=t.charCodeAt(l++))-48<10?a-22:a-65<26?a-65:a-97<26?a-97:36;(g>=36||g>Ar((2147483647-n)/f))&&ui("overflow"),n+=g*f;let y=h<=s?1:h>=s+26?26:h-s;if(g<y)break;let S=36-y;f>Ar(2147483647/S)&&ui("overflow"),f*=S}let c=e.length+1;s=wv(n-u,c,u==0),Ar(n/c)>2147483647-i&&ui("overflow"),i+=Ar(n/c),n%=c,e.splice(n++,0,i)}var a;return String.fromCodePoint(...e)},bv=function(t){let e=[],r=(t=vv(t)).length,n=128,i=0,s=72;for(let l of t)l<128&&e.push(G1(l));let o=e.length,a=o;for(o&&e.push("-");a<r;){let l=2147483647;for(let c of t)c>=n&&c<l&&(l=c);let u=a+1;l-n>Ar((2147483647-i)/u)&&ui("overflow"),i+=(l-n)*u,n=l;for(let c of t)if(c<n&&++i>2147483647&&ui("overflow"),c==n){let f=i;for(let h=36;;h+=36){let g=h<=s?1:h>=s+26?26:h-s;if(f<g)break;let y=f-g,S=36-g;e.push(G1(mv(g+y%S,0))),f=Ar(y/S)}e.push(G1(mv(f,0))),s=wv(i,u,a==o),i=0,++a}++i,++n}return e.join("")},_n={version:"2.1.0",ucs2:{decode:vv,encode:t=>String.fromCodePoint(...t)},decode:gv,encode:bv,toASCII:function(t){return pv(t,function(e){return WA.test(e)?"xn--"+bv(e):e})},toUnicode:function(t){return pv(t,function(e){return VA.test(e)?gv(e.slice(4).toLowerCase()):e})}};_n.decode;_n.encode;_n.toASCII;_n.toUnicode;_n.ucs2;_n.version});function XA(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var QA,Lo,YA,Lr,xv=It(()=>{d();m();p();QA=function(t,e,r,n){e=e||"&",r=r||"=";var i={};if(typeof t!="string"||t.length===0)return i;var s=/\+/g;t=t.split(e);var o=1e3;n&&typeof n.maxKeys=="number"&&(o=n.maxKeys);var a=t.length;o>0&&a>o&&(a=o);for(var l=0;l<a;++l){var u,c,f,h,g=t[l].replace(s,"%20"),y=g.indexOf(r);y>=0?(u=g.substr(0,y),c=g.substr(y+1)):(u=g,c=""),f=decodeURIComponent(u),h=decodeURIComponent(c),XA(i,f)?Array.isArray(i[f])?i[f].push(h):i[f]=[i[f],h]:i[f]=h}return i},Lo=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}},YA=function(t,e,r,n){return e=e||"&",r=r||"=",t===null&&(t=void 0),typeof t=="object"?Object.keys(t).map(function(i){var s=encodeURIComponent(Lo(i))+r;return Array.isArray(t[i])?t[i].map(function(o){return s+encodeURIComponent(Lo(o))}).join(e):s+encodeURIComponent(Lo(t[i]))}).join(e):n?encodeURIComponent(Lo(n))+r+encodeURIComponent(Lo(t)):""},Lr={};Lr.decode=Lr.parse=QA,Lr.encode=Lr.stringify=YA;Lr.decode;Lr.encode;Lr.parse;Lr.stringify});function X1(){throw new Error("setTimeout has not been defined")}function Q1(){throw new Error("clearTimeout has not been defined")}function Cv(t){if(Yr===setTimeout)return setTimeout(t,0);if((Yr===X1||!Yr)&&setTimeout)return Yr=setTimeout,setTimeout(t,0);try{return Yr(t,0)}catch{try{return Yr.call(null,t,0)}catch{return Yr.call(this||ts,t,0)}}}function JA(){es&&ci&&(es=!1,ci.length?Zr=ci.concat(Zr):wu=-1,Zr.length&&Ev())}function Ev(){if(!es){var t=Cv(JA);es=!0;for(var e=Zr.length;e;){for(ci=Zr,Zr=[];++wu<e;)ci&&ci[wu].run();wu=-1,e=Zr.length}ci=null,es=!1,function(r){if(Jr===clearTimeout)return clearTimeout(r);if((Jr===Q1||!Jr)&&clearTimeout)return Jr=clearTimeout,clearTimeout(r);try{Jr(r)}catch{try{return Jr.call(null,r)}catch{return Jr.call(this||ts,r)}}}(t)}}function Sv(t,e){(this||ts).fun=t,(this||ts).array=e}function Qr(){}var _v,Yr,Jr,ts,nt,ci,Zr,es,wu,Xe,kv=It(()=>{d();m();p();ts=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window,nt=_v={};(function(){try{Yr=typeof setTimeout=="function"?setTimeout:X1}catch{Yr=X1}try{Jr=typeof clearTimeout=="function"?clearTimeout:Q1}catch{Jr=Q1}})();Zr=[],es=!1,wu=-1;nt.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];Zr.push(new Sv(t,e)),Zr.length!==1||es||Cv(Ev)},Sv.prototype.run=function(){(this||ts).fun.apply(null,(this||ts).array)},nt.title="browser",nt.browser=!0,nt.env={},nt.argv=[],nt.version="",nt.versions={},nt.on=Qr,nt.addListener=Qr,nt.once=Qr,nt.off=Qr,nt.removeListener=Qr,nt.removeAllListeners=Qr,nt.emit=Qr,nt.prependListener=Qr,nt.prependOnceListener=Qr,nt.listeners=function(t){return[]},nt.binding=function(t){throw new Error("process.binding is not supported")},nt.cwd=function(){return"/"},nt.chdir=function(t){throw new Error("process.chdir is not supported")},nt.umask=function(){return 0};Xe=_v;Xe.addListener;Xe.argv;Xe.binding;Xe.browser;Xe.chdir;Xe.cwd;Xe.emit;Xe.env;Xe.listeners;Xe.nextTick;Xe.off;Xe.on;Xe.once;Xe.prependListener;Xe.prependOnceListener;Xe.removeAllListeners;Xe.removeListener;Xe.title;Xe.umask;Xe.version;Xe.versions});var To={};ml(To,{URL:()=>AL,Url:()=>SL,default:()=>Pe,fileURLToPath:()=>Mv,format:()=>_L,parse:()=>kL,pathToFileURL:()=>Ov,resolve:()=>CL,resolveObject:()=>EL});function Yt(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function Ro(t,e,r){if(t&&Rr.isObject(t)&&t instanceof Yt)return t;var n=new Yt;return n.parse(t,e,r),n}function sL(){if(Tv)return Z1;Tv=!0;var t=Xe;function e(s){if(typeof s!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(s))}function r(s,o){for(var a="",l=0,u=-1,c=0,f,h=0;h<=s.length;++h){if(h<s.length)f=s.charCodeAt(h);else{if(f===47)break;f=47}if(f===47){if(!(u===h-1||c===1))if(u!==h-1&&c===2){if(a.length<2||l!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var g=a.lastIndexOf("/");if(g!==a.length-1){g===-1?(a="",l=0):(a=a.slice(0,g),l=a.length-1-a.lastIndexOf("/")),u=h,c=0;continue}}else if(a.length===2||a.length===1){a="",l=0,u=h,c=0;continue}}o&&(a.length>0?a+="/..":a="..",l=2)}else a.length>0?a+="/"+s.slice(u+1,h):a=s.slice(u+1,h),l=h-u-1;u=h,c=0}else f===46&&c!==-1?++c:c=-1}return a}function n(s,o){var a=o.dir||o.root,l=o.base||(o.name||"")+(o.ext||"");return a?a===o.root?a+l:a+s+l:l}var i={resolve:function(){for(var o="",a=!1,l,u=arguments.length-1;u>=-1&&!a;u--){var c;u>=0?c=arguments[u]:(l===void 0&&(l=t.cwd()),c=l),e(c),c.length!==0&&(o=c+"/"+o,a=c.charCodeAt(0)===47)}return o=r(o,!a),a?o.length>0?"/"+o:"/":o.length>0?o:"."},normalize:function(o){if(e(o),o.length===0)return".";var a=o.charCodeAt(0)===47,l=o.charCodeAt(o.length-1)===47;return o=r(o,!a),o.length===0&&!a&&(o="."),o.length>0&&l&&(o+="/"),a?"/"+o:o},isAbsolute:function(o){return e(o),o.length>0&&o.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var o,a=0;a<arguments.length;++a){var l=arguments[a];e(l),l.length>0&&(o===void 0?o=l:o+="/"+l)}return o===void 0?".":i.normalize(o)},relative:function(o,a){if(e(o),e(a),o===a||(o=i.resolve(o),a=i.resolve(a),o===a))return"";for(var l=1;l<o.length&&o.charCodeAt(l)===47;++l);for(var u=o.length,c=u-l,f=1;f<a.length&&a.charCodeAt(f)===47;++f);for(var h=a.length,g=h-f,y=c<g?c:g,S=-1,x=0;x<=y;++x){if(x===y){if(g>y){if(a.charCodeAt(f+x)===47)return a.slice(f+x+1);if(x===0)return a.slice(f+x)}else c>y&&(o.charCodeAt(l+x)===47?S=x:x===0&&(S=0));break}var _=o.charCodeAt(l+x),k=a.charCodeAt(f+x);if(_!==k)break;_===47&&(S=x)}var T="";for(x=l+S+1;x<=u;++x)(x===u||o.charCodeAt(x)===47)&&(T.length===0?T+="..":T+="/..");return T.length>0?T+a.slice(f+S):(f+=S,a.charCodeAt(f)===47&&++f,a.slice(f))},_makeLong:function(o){return o},dirname:function(o){if(e(o),o.length===0)return".";for(var a=o.charCodeAt(0),l=a===47,u=-1,c=!0,f=o.length-1;f>=1;--f)if(a=o.charCodeAt(f),a===47){if(!c){u=f;break}}else c=!1;return u===-1?l?"/":".":l&&u===1?"//":o.slice(0,u)},basename:function(o,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(o);var l=0,u=-1,c=!0,f;if(a!==void 0&&a.length>0&&a.length<=o.length){if(a.length===o.length&&a===o)return"";var h=a.length-1,g=-1;for(f=o.length-1;f>=0;--f){var y=o.charCodeAt(f);if(y===47){if(!c){l=f+1;break}}else g===-1&&(c=!1,g=f+1),h>=0&&(y===a.charCodeAt(h)?--h===-1&&(u=f):(h=-1,u=g))}return l===u?u=g:u===-1&&(u=o.length),o.slice(l,u)}else{for(f=o.length-1;f>=0;--f)if(o.charCodeAt(f)===47){if(!c){l=f+1;break}}else u===-1&&(c=!1,u=f+1);return u===-1?"":o.slice(l,u)}},extname:function(o){e(o);for(var a=-1,l=0,u=-1,c=!0,f=0,h=o.length-1;h>=0;--h){var g=o.charCodeAt(h);if(g===47){if(!c){l=h+1;break}continue}u===-1&&(c=!1,u=h+1),g===46?a===-1?a=h:f!==1&&(f=1):a!==-1&&(f=-1)}return a===-1||u===-1||f===0||f===1&&a===u-1&&a===l+1?"":o.slice(a,u)},format:function(o){if(o===null||typeof o!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof o);return n("/",o)},parse:function(o){e(o);var a={root:"",dir:"",base:"",ext:"",name:""};if(o.length===0)return a;var l=o.charCodeAt(0),u=l===47,c;u?(a.root="/",c=1):c=0;for(var f=-1,h=0,g=-1,y=!0,S=o.length-1,x=0;S>=c;--S){if(l=o.charCodeAt(S),l===47){if(!y){h=S+1;break}continue}g===-1&&(y=!1,g=S+1),l===46?f===-1?f=S:x!==1&&(x=1):f!==-1&&(x=-1)}return f===-1||g===-1||x===0||x===1&&f===g-1&&f===h+1?g!==-1&&(h===0&&u?a.base=a.name=o.slice(1,g):a.base=a.name=o.slice(h,g)):(h===0&&u?(a.name=o.slice(1,f),a.base=o.slice(1,g)):(a.name=o.slice(h,f),a.base=o.slice(h,g)),a.ext=o.slice(f,g)),h>0?a.dir=o.slice(0,h-1):u&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return i.posix=i,Z1=i,Z1}function bL(t){if(typeof t=="string")t=new URL(t);else if(!(t instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(t.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return ed?vL(t):wL(t)}function vL(t){let e=t.hostname,r=t.pathname;for(let n=0;n<r.length;n++)if(r[n]==="%"){let i=r.codePointAt(n+2)||32;if(r[n+1]==="2"&&i===102||r[n+1]==="5"&&i===99)throw new Deno.errors.InvalidData("must not include encoded \\ or / characters")}if(r=r.replace(fL,"\\"),r=decodeURIComponent(r),e!=="")return`\\\\${e}${r}`;{let n=r.codePointAt(1)|32,i=r[2];if(n<uL||n>cL||i!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}function wL(t){if(t.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let e=t.pathname;for(let r=0;r<e.length;r++)if(e[r]==="%"){let n=e.codePointAt(r+2)||32;if(e[r+1]==="2"&&n===102)throw new Deno.errors.InvalidData("must not include encoded / characters")}return decodeURIComponent(e)}function yL(t){let e=Nv.resolve(t),r=t.charCodeAt(t.length-1);(r===lL||ed&&r===aL)&&e[e.length-1]!==Nv.sep&&(e+="/");let n=new URL("file://");return e.includes("%")&&(e=e.replace(hL,"%25")),!ed&&e.includes("\\")&&(e=e.replace(dL,"%5C")),e.includes(`
21
+ `)&&(e=e.replace(pL,"%0A")),e.includes("\r")&&(e=e.replace(mL,"%0D")),e.includes(" ")&&(e=e.replace(gL,"%09")),n.pathname=e,n}function Mv(t){if(typeof t=="string")t=new URL(t);else if(!(t instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(t.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return td?$L(t):UL(t)}function $L(t){let e=t.hostname,r=t.pathname;for(let n=0;n<r.length;n++)if(r[n]==="%"){let i=r.codePointAt(n+2)||32;if(r[n+1]==="2"&&i===102||r[n+1]==="5"&&i===99)throw new Deno.errors.InvalidData("must not include encoded \\ or / characters")}if(r=r.replace(ML,"\\"),r=decodeURIComponent(r),e!=="")return`\\\\${e}${r}`;{let n=r.codePointAt(1)|32,i=r[2];if(n<TL||n>NL||i!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}function UL(t){if(t.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let e=t.pathname;for(let r=0;r<e.length;r++)if(e[r]==="%"){let n=e.codePointAt(r+2)||32;if(e[r+1]==="2"&&n===102)throw new Deno.errors.InvalidData("must not include encoded / characters")}return decodeURIComponent(e)}function Ov(t){let e=rt.resolve(t),r=t.charCodeAt(t.length-1);(r===RL||td&&r===LL)&&e[e.length-1]!==rt.sep&&(e+="/");let n=new URL("file://");return e.includes("%")&&(e=e.replace(OL,"%25")),!td&&e.includes("\\")&&(e=e.replace(PL,"%5C")),e.includes(`
22
+ `)&&(e=e.replace(IL,"%0A")),e.includes("\r")&&(e=e.replace(DL,"%0D")),e.includes(" ")&&(e=e.replace(FL,"%09")),n.pathname=e,n}var Pe,ZA,Rr,KA,eL,tL,rL,K1,Av,Lv,Rv,nL,iL,Y1,rs,J1,Z1,Tv,Nv,oL,aL,lL,uL,cL,ed,fL,hL,dL,pL,mL,gL,xL,SL,_L,CL,EL,kL,AL,LL,RL,TL,NL,td,ML,OL,PL,IL,DL,FL,No=It(()=>{d();m();p();yv();xv();kv();vu();bu();Pe={},ZA=_n,Rr={isString:function(t){return typeof t=="string"},isObject:function(t){return typeof t=="object"&&t!==null},isNull:function(t){return t===null},isNullOrUndefined:function(t){return t==null}};Pe.parse=Ro,Pe.resolve=function(t,e){return Ro(t,!1,!0).resolve(e)},Pe.resolveObject=function(t,e){return t?Ro(t,!1,!0).resolveObject(e):e},Pe.format=function(t){return Rr.isString(t)&&(t=Ro(t)),t instanceof Yt?t.format():Yt.prototype.format.call(t)},Pe.Url=Yt;KA=/^([a-z0-9.+-]+:)/i,eL=/:[0-9]*$/,tL=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,rL=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",`
23
+ `," "]),K1=["'"].concat(rL),Av=["%","/","?",";","#"].concat(K1),Lv=["/","?","#"],Rv=/^[+a-z0-9A-Z_-]{0,63}$/,nL=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,iL={javascript:!0,"javascript:":!0},Y1={javascript:!0,"javascript:":!0},rs={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},J1=Lr;Yt.prototype.parse=function(t,e,r){if(!Rr.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t.indexOf("?"),i=n!==-1&&n<t.indexOf("#")?"?":"#",s=t.split(i);s[0]=s[0].replace(/\\/g,"/");var o=t=s.join(i);if(o=o.trim(),!r&&t.split("#").length===1){var a=tL.exec(o);if(a)return this.path=o,this.href=o,this.pathname=a[1],a[2]?(this.search=a[2],this.query=e?J1.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var l=KA.exec(o);if(l){var u=(l=l[0]).toLowerCase();this.protocol=u,o=o.substr(l.length)}if(r||l||o.match(/^\/\/[^@\/]+@[^@\/]+/)){var c=o.substr(0,2)==="//";!c||l&&Y1[l]||(o=o.substr(2),this.slashes=!0)}if(!Y1[l]&&(c||l&&!rs[l])){for(var f,h,g=-1,y=0;y<Lv.length;y++)(S=o.indexOf(Lv[y]))!==-1&&(g===-1||S<g)&&(g=S);for((h=g===-1?o.lastIndexOf("@"):o.lastIndexOf("@",g))!==-1&&(f=o.slice(0,h),o=o.slice(h+1),this.auth=decodeURIComponent(f)),g=-1,y=0;y<Av.length;y++){var S;(S=o.indexOf(Av[y]))!==-1&&(g===-1||S<g)&&(g=S)}g===-1&&(g=o.length),this.host=o.slice(0,g),o=o.slice(g),this.parseHost(),this.hostname=this.hostname||"";var x=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!x)for(var _=this.hostname.split(/\./),k=(y=0,_.length);y<k;y++){var T=_[y];if(T&&!T.match(Rv)){for(var N="",L=0,P=T.length;L<P;L++)T.charCodeAt(L)>127?N+="x":N+=T[L];if(!N.match(Rv)){var D=_.slice(0,y),$=_.slice(y+1),Q=T.match(nL);Q&&(D.push(Q[1]),$.unshift(Q[2])),$.length&&(o="/"+$.join(".")+o),this.hostname=D.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),x||(this.hostname=ZA.toASCII(this.hostname));var O=this.port?":"+this.port:"",I=this.hostname||"";this.host=I+O,this.href+=this.host,x&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),o[0]!=="/"&&(o="/"+o))}if(!iL[u])for(y=0,k=K1.length;y<k;y++){var z=K1[y];if(o.indexOf(z)!==-1){var G=encodeURIComponent(z);G===z&&(G=escape(z)),o=o.split(z).join(G)}}var j=o.indexOf("#");j!==-1&&(this.hash=o.substr(j),o=o.slice(0,j));var U=o.indexOf("?");if(U!==-1?(this.search=o.substr(U),this.query=o.substr(U+1),e&&(this.query=J1.parse(this.query)),o=o.slice(0,U)):e&&(this.search="",this.query={}),o&&(this.pathname=o),rs[u]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){O=this.pathname||"";var W=this.search||"";this.path=O+W}return this.href=this.format(),this},Yt.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",i=!1,s="";this.host?i=t+this.host:this.hostname&&(i=t+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&Rr.isObject(this.query)&&Object.keys(this.query).length&&(s=J1.stringify(this.query));var o=this.search||s&&"?"+s||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||rs[e])&&i!==!1?(i="//"+(i||""),r&&r.charAt(0)!=="/"&&(r="/"+r)):i||(i=""),n&&n.charAt(0)!=="#"&&(n="#"+n),o&&o.charAt(0)!=="?"&&(o="?"+o),e+i+(r=r.replace(/[?#]/g,function(a){return encodeURIComponent(a)}))+(o=o.replace("#","%23"))+n},Yt.prototype.resolve=function(t){return this.resolveObject(Ro(t,!1,!0)).format()},Yt.prototype.resolveObject=function(t){if(Rr.isString(t)){var e=new Yt;e.parse(t,!1,!0),t=e}for(var r=new Yt,n=Object.keys(this),i=0;i<n.length;i++){var s=n[i];r[s]=this[s]}if(r.hash=t.hash,t.href==="")return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var o=Object.keys(t),a=0;a<o.length;a++){var l=o[a];l!=="protocol"&&(r[l]=t[l])}return rs[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!rs[t.protocol]){for(var u=Object.keys(t),c=0;c<u.length;c++){var f=u[c];r[f]=t[f]}return r.href=r.format(),r}if(r.protocol=t.protocol,t.host||Y1[t.protocol])r.pathname=t.pathname;else{for(var h=(t.pathname||"").split("/");h.length&&!(t.host=h.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),h[0]!==""&&h.unshift(""),h.length<2&&h.unshift(""),r.pathname=h.join("/")}if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var g=r.pathname||"",y=r.search||"";r.path=g+y}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var S=r.pathname&&r.pathname.charAt(0)==="/",x=t.host||t.pathname&&t.pathname.charAt(0)==="/",_=x||S||r.host&&t.pathname,k=_,T=r.pathname&&r.pathname.split("/")||[],N=(h=t.pathname&&t.pathname.split("/")||[],r.protocol&&!rs[r.protocol]);if(N&&(r.hostname="",r.port=null,r.host&&(T[0]===""?T[0]=r.host:T.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(h[0]===""?h[0]=t.host:h.unshift(t.host)),t.host=null),_=_&&(h[0]===""||T[0]==="")),x)r.host=t.host||t.host===""?t.host:r.host,r.hostname=t.hostname||t.hostname===""?t.hostname:r.hostname,r.search=t.search,r.query=t.query,T=h;else if(h.length)T||(T=[]),T.pop(),T=T.concat(h),r.search=t.search,r.query=t.query;else if(!Rr.isNullOrUndefined(t.search))return N&&(r.hostname=r.host=T.shift(),(Q=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=Q.shift(),r.host=r.hostname=Q.shift())),r.search=t.search,r.query=t.query,Rr.isNull(r.pathname)&&Rr.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!T.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var L=T.slice(-1)[0],P=(r.host||t.host||T.length>1)&&(L==="."||L==="..")||L==="",D=0,$=T.length;$>=0;$--)(L=T[$])==="."?T.splice($,1):L===".."?(T.splice($,1),D++):D&&(T.splice($,1),D--);if(!_&&!k)for(;D--;D)T.unshift("..");!_||T[0]===""||T[0]&&T[0].charAt(0)==="/"||T.unshift(""),P&&T.join("/").substr(-1)!=="/"&&T.push("");var Q,O=T[0]===""||T[0]&&T[0].charAt(0)==="/";return N&&(r.hostname=r.host=O?"":T.length?T.shift():"",(Q=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=Q.shift(),r.host=r.hostname=Q.shift())),(_=_||r.host&&T.length)&&!O&&T.unshift(""),T.length?r.pathname=T.join("/"):(r.pathname=null,r.path=null),Rr.isNull(r.pathname)&&Rr.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},Yt.prototype.parseHost=function(){var t=this.host,e=eL.exec(t);e&&((e=e[0])!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};Pe.Url;Pe.format;Pe.resolve;Pe.resolveObject;Z1={},Tv=!1;Nv=sL(),oL=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0;Pe.URL=typeof URL<"u"?URL:null;Pe.pathToFileURL=yL;Pe.fileURLToPath=bL;Pe.Url;Pe.format;Pe.resolve;Pe.resolveObject;Pe.URL;aL=92,lL=47,uL=97,cL=122,ed=oL==="win32",fL=/\//g,hL=/%/g,dL=/\\/g,pL=/\n/g,mL=/\r/g,gL=/\t/g;xL=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0;Pe.URL=typeof URL<"u"?URL:null;Pe.pathToFileURL=Ov;Pe.fileURLToPath=Mv;SL=Pe.Url,_L=Pe.format,CL=Pe.resolve,EL=Pe.resolveObject,kL=Pe.parse,AL=Pe.URL,LL=92,RL=47,TL=97,NL=122,td=xL==="win32",ML=/\//g,OL=/%/g,PL=/\\/g,IL=/\n/g,DL=/\r/g,FL=/\t/g});var rd={};ml(rd,{default:()=>BL});var BL,nd=It(()=>{d();m();p();BL={}});var sd=V((oae,Dv)=>{"use strict";d();m();p();var{existsSync:qL,readFileSync:zL}=(nd(),Wt(rd)),{dirname:id,join:jL}=(ai(),Wt(oi)),{SourceMapConsumer:Pv,SourceMapGenerator:Iv}=li();function VL(t){return E?E.from(t,"base64").toString():window.atob(t)}var Mo=class{constructor(e,r){if(r.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=r.map?r.map.prev:void 0,i=this.loadMap(r.from,n);!this.mapFile&&r.from&&(this.mapFile=r.from),this.mapFile&&(this.root=id(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new Pv(this.text)),this.consumerCache}decodeInline(e){let r=/^data:application\/json;charset=utf-?8;base64,/,n=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,s=/^data:application\/json,/,o=e.match(i)||e.match(s);if(o)return decodeURIComponent(e.substr(o[0].length));let a=e.match(r)||e.match(n);if(a)return VL(e.substr(a[0].length));let l=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+l)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}loadAnnotation(e){let r=e.match(/\/\*\s*# sourceMappingURL=/g);if(!r)return;let n=e.lastIndexOf(r.pop()),i=e.indexOf("*/",n);n>-1&&i>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,i)))}loadFile(e){if(this.root=id(e),qL(e))return this.mapFile=e,zL(e,"utf-8").toString().trim()}loadMap(e,r){if(r===!1)return!1;if(r){if(typeof r=="string")return r;if(typeof r=="function"){let n=r(e);if(n){let i=this.loadFile(n);if(!i)throw new Error("Unable to load previous source map: "+n.toString());return i}}else{if(r instanceof Pv)return Iv.fromSourceMap(r).toString();if(r instanceof Iv)return r.toString();if(this.isMap(r))return JSON.stringify(r);throw new Error("Unsupported previous source map format: "+r.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let n=this.annotation;return e&&(n=jL(id(e),n)),this.loadFile(n)}}}startWith(e,r){return e?e.substr(0,r.length)===r:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};Dv.exports=Mo;Mo.default=Mo});var Oo=V((cae,Bv)=>{"use strict";d();m();p();var{nanoid:WL}=V1(),{isAbsolute:ld,resolve:ud}=(ai(),Wt(oi)),{SourceMapConsumer:HL,SourceMapGenerator:GL}=li(),{fileURLToPath:Fv,pathToFileURL:yu}=(No(),Wt(To)),$v=du(),XL=sd(),od=F1(),ad=Symbol("fromOffsetCache"),QL=!!(HL&&GL),Uv=!!(ud&&ld),ns=class{constructor(e,r={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,this.document=this.css,r.document&&(this.document=r.document.toString()),r.from&&(!Uv||/^\w+:\/\//.test(r.from)||ld(r.from)?this.file=r.from:this.file=ud(r.from)),Uv&&QL){let n=new XL(this.css,r);if(n.text){this.map=n;let i=n.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}}this.file||(this.id="<input css "+WL(6)+">"),this.map&&(this.map.file=this.from)}error(e,r,n,i={}){let s,o,a;if(r&&typeof r=="object"){let u=r,c=n;if(typeof u.offset=="number"){let f=this.fromOffset(u.offset);r=f.line,n=f.col}else r=u.line,n=u.column;if(typeof c.offset=="number"){let f=this.fromOffset(c.offset);o=f.line,s=f.col}else o=c.line,s=c.column}else if(!n){let u=this.fromOffset(r);r=u.line,n=u.col}let l=this.origin(r,n,o,s);return l?a=new $v(e,l.endLine===void 0?l.line:{column:l.column,line:l.line},l.endLine===void 0?l.column:{column:l.endColumn,line:l.endLine},l.source,l.file,i.plugin):a=new $v(e,o===void 0?r:{column:n,line:r},o===void 0?n:{column:s,line:o},this.css,this.file,i.plugin),a.input={column:n,endColumn:s,endLine:o,line:r,source:this.css},this.file&&(yu&&(a.input.url=yu(this.file).toString()),a.input.file=this.file),a}fromOffset(e){let r,n;if(this[ad])n=this[ad];else{let s=this.css.split(`
24
+ `);n=new Array(s.length);let o=0;for(let a=0,l=s.length;a<l;a++)n[a]=o,o+=s[a].length+1;this[ad]=n}r=n[n.length-1];let i=0;if(e>=r)i=n.length-1;else{let s=n.length-2,o;for(;i<s;)if(o=i+(s-i>>1),e<n[o])s=o-1;else if(e>=n[o+1])i=o+1;else{i=o;break}}return{col:e-n[i]+1,line:i+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:ud(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,r,n,i){if(!this.map)return!1;let s=this.map.consumer(),o=s.originalPositionFor({column:r,line:e});if(!o.source)return!1;let a;typeof n=="number"&&(a=s.originalPositionFor({column:i,line:n}));let l;ld(o.source)?l=yu(o.source):l=new URL(o.source,this.map.consumer().sourceRoot||yu(this.map.mapFile));let u={column:o.column,endColumn:a&&a.column,endLine:a&&a.line,line:o.line,url:l.toString()};if(l.protocol==="file:")if(Fv)u.file=Fv(l);else throw new Error("file: protocol is not available in this PostCSS build");let c=s.sourceContentFor(o.source);return c&&(u.source=c),u}toJSON(){let e={};for(let r of["hasBOM","css","file","id"])this[r]!=null&&(e[r]=this[r]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}};Bv.exports=ns;ns.default=ns;od&&od.registerInput&&od.registerInput(ns)});var is=V((pae,Vv)=>{"use strict";d();m();p();var qv=Sn(),zv,jv,Cn=class extends qv{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,r,n){let i=super.normalize(e);if(r){if(n==="prepend")this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(let s of i)s.raws.before=r.raws.before}return i}removeChild(e,r){let n=this.index(e);return!r&&n===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(e={}){return new zv(new jv,this,e).stringify()}};Cn.registerLazyResult=t=>{zv=t};Cn.registerProcessor=t=>{jv=t};Vv.exports=Cn;Cn.default=Cn;qv.registerRoot(Cn)});var cd=V((vae,Wv)=>{"use strict";d();m();p();var Po={comma(t){return Po.split(t,[","],!0)},space(t){let e=[" ",`
25
+ `," "];return Po.split(t,e)},split(t,e,r){let n=[],i="",s=!1,o=0,a=!1,l="",u=!1;for(let c of t)u?u=!1:c==="\\"?u=!0:a?c===l&&(a=!1):c==='"'||c==="'"?(a=!0,l=c):c==="("?o+=1:c===")"?o>0&&(o-=1):o===0&&e.includes(c)&&(s=!0),s?(i!==""&&n.push(i.trim()),i="",s=!1):i+=c;return(r||i!=="")&&n.push(i.trim()),n}};Wv.exports=Po;Po.default=Po});var xu=V((Sae,Gv)=>{"use strict";d();m();p();var Hv=Sn(),YL=cd(),ss=class extends Hv{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return YL.comma(this.selector)}set selectors(e){let r=this.selector?this.selector.match(/,\s*/):null,n=r?r[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}};Gv.exports=ss;ss.default=ss;Hv.registerRule(ss)});var Qv=V((kae,Xv)=>{"use strict";d();m();p();var JL=mu(),ZL=Eo(),KL=Ao(),eR=Oo(),tR=sd(),rR=is(),nR=xu();function Io(t,e){if(Array.isArray(t))return t.map(i=>Io(i));let{inputs:r,...n}=t;if(r){e=[];for(let i of r){let s={...i,__proto__:eR.prototype};s.map&&(s.map={...s.map,__proto__:tR.prototype}),e.push(s)}}if(n.nodes&&(n.nodes=t.nodes.map(i=>Io(i,e))),n.source){let{inputId:i,...s}=n.source;n.source=s,i!=null&&(n.source.input=e[i])}if(n.type==="root")return new rR(n);if(n.type==="decl")return new KL(n);if(n.type==="rule")return new nR(n);if(n.type==="comment")return new ZL(n);if(n.type==="atrule")return new JL(n);throw new Error("Unknown node type: "+t.type)}Xv.exports=Io;Io.default=Io});var hd=V((Tae,t9)=>{"use strict";d();m();p();var{dirname:Su,relative:Jv,resolve:Zv,sep:Kv}=(ai(),Wt(oi)),{SourceMapConsumer:e9,SourceMapGenerator:_u}=li(),{pathToFileURL:Yv}=(No(),Wt(To)),iR=Oo(),sR=!!(e9&&_u),oR=!!(Su&&Zv&&Jv&&Kv),fd=class{constructor(e,r,n,i){this.stringify=e,this.mapOpts=n.map||{},this.root=r,this.opts=n,this.css=i,this.originalCSS=i,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";let r=`
26
+ `;this.css.includes(`\r
27
+ `)&&(r=`\r
28
+ `),this.css+=r+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let r=this.toUrl(this.path(e.file)),n=e.root||Su(e.file),i;this.mapOpts.sourcesContent===!1?(i=new e9(e.text),i.sourcesContent&&(i.sourcesContent=null)):i=e.consumer(),this.map.applySourceMap(i,r,this.toUrl(this.path(n)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let e;for(let r=this.root.nodes.length-1;r>=0;r--)e=this.root.nodes[r],e.type==="comment"&&e.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(r)}else this.css&&(this.css=this.css.replace(/\n*\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),oR&&sR&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,r=>{e+=r}),[e]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=_u.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new _u({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new _u({file:this.outputFile(),ignoreInvalidMapping:!0});let e=1,r=1,n="<no source>",i={generated:{column:0,line:0},original:{column:0,line:0},source:""},s,o;this.stringify(this.root,(a,l,u)=>{if(this.css+=a,l&&u!=="end"&&(i.generated.line=e,i.generated.column=r-1,l.source&&l.source.start?(i.source=this.sourcePath(l),i.original.line=l.source.start.line,i.original.column=l.source.start.column-1,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,this.map.addMapping(i))),o=a.match(/\n/g),o?(e+=o.length,s=a.lastIndexOf(`
29
+ `),r=a.length-s):r+=a.length,l&&u!=="start"){let c=l.parent||{raws:{}};(!(l.type==="decl"||l.type==="atrule"&&!l.nodes)||l!==c.last||c.raws.semicolon)&&(l.source&&l.source.end?(i.source=this.sourcePath(l),i.original.line=l.source.end.line,i.original.column=l.source.end.column-1,i.generated.line=e,i.generated.column=r-2,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,i.generated.line=e,i.generated.column=r-1,this.map.addMapping(i)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(r=>r.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let r=this.memoizedPaths.get(e);if(r)return r;let n=this.opts.to?Su(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(n=Su(Zv(n,this.mapOpts.annotation)));let i=Jv(n,e);return this.memoizedPaths.set(e,i),i}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let r=e.source.input.map;this.previousMaps.includes(r)||this.previousMaps.push(r)}});else{let e=new iR(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(r=>{if(r.source){let n=r.source.input.from;if(n&&!e[n]){e[n]=!0;let i=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(i,r.source.input.css)}}});else if(this.css){let r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return E?E.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let r=this.memoizedFileURLs.get(e);if(r)return r;if(Yv){let n=Yv(e).toString();return this.memoizedFileURLs.set(e,n),n}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let r=this.memoizedURLs.get(e);if(r)return r;Kv==="\\"&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}};t9.exports=fd});var i9=V((Pae,n9)=>{"use strict";d();m();p();var Cu=/[\t\n\f\r "#'()/;[\\\]{}]/g,Eu=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,aR=/.[\r\n"'(/\\]/,r9=/[\da-f]/i;n9.exports=function(e,r={}){let n=e.css.valueOf(),i=r.ignoreErrors,s,o,a,l,u,c,f,h,g,y,S=n.length,x=0,_=[],k=[];function T(){return x}function N($){throw e.error("Unclosed "+$,x)}function L(){return k.length===0&&x>=S}function P($){if(k.length)return k.pop();if(x>=S)return;let Q=$?$.ignoreUnclosed:!1;switch(s=n.charCodeAt(x),s){case 10:case 32:case 9:case 13:case 12:{l=x;do l+=1,s=n.charCodeAt(l);while(s===32||s===10||s===9||s===13||s===12);c=["space",n.slice(x,l)],x=l-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let O=String.fromCharCode(s);c=[O,O,x];break}case 40:{if(y=_.length?_.pop()[1]:"",g=n.charCodeAt(x+1),y==="url"&&g!==39&&g!==34&&g!==32&&g!==10&&g!==9&&g!==12&&g!==13){l=x;do{if(f=!1,l=n.indexOf(")",l+1),l===-1)if(i||Q){l=x;break}else N("bracket");for(h=l;n.charCodeAt(h-1)===92;)h-=1,f=!f}while(f);c=["brackets",n.slice(x,l+1),x,l],x=l}else l=n.indexOf(")",x+1),o=n.slice(x,l+1),l===-1||aR.test(o)?c=["(","(",x]:(c=["brackets",o,x,l],x=l);break}case 39:case 34:{u=s===39?"'":'"',l=x;do{if(f=!1,l=n.indexOf(u,l+1),l===-1)if(i||Q){l=x+1;break}else N("string");for(h=l;n.charCodeAt(h-1)===92;)h-=1,f=!f}while(f);c=["string",n.slice(x,l+1),x,l],x=l;break}case 64:{Cu.lastIndex=x+1,Cu.test(n),Cu.lastIndex===0?l=n.length-1:l=Cu.lastIndex-2,c=["at-word",n.slice(x,l+1),x,l],x=l;break}case 92:{for(l=x,a=!0;n.charCodeAt(l+1)===92;)l+=1,a=!a;if(s=n.charCodeAt(l+1),a&&s!==47&&s!==32&&s!==10&&s!==9&&s!==13&&s!==12&&(l+=1,r9.test(n.charAt(l)))){for(;r9.test(n.charAt(l+1));)l+=1;n.charCodeAt(l+1)===32&&(l+=1)}c=["word",n.slice(x,l+1),x,l],x=l;break}default:{s===47&&n.charCodeAt(x+1)===42?(l=n.indexOf("*/",x+2)+1,l===0&&(i||Q?l=n.length:N("comment")),c=["comment",n.slice(x,l+1),x,l],x=l):(Eu.lastIndex=x+1,Eu.test(n),Eu.lastIndex===0?l=n.length-1:l=Eu.lastIndex-2,c=["word",n.slice(x,l+1),x,l],_.push(c),x=l);break}}return x++,c}function D($){k.push($)}return{back:D,endOfFile:L,nextToken:P,position:T}}});var l9=V(($ae,a9)=>{"use strict";d();m();p();var lR=mu(),uR=Eo(),cR=Ao(),fR=is(),s9=xu(),hR=i9(),o9={empty:!0,space:!0};function dR(t){for(let e=t.length-1;e>=0;e--){let r=t[e],n=r[3]||r[2];if(n)return n}}var dd=class{constructor(e){this.input=e,this.root=new fR,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let r=new lR;r.name=e[1].slice(1),r.name===""&&this.unnamedAtrule(r,e),this.init(r,e[2]);let n,i,s,o=!1,a=!1,l=[],u=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),n=e[0],n==="("||n==="["?u.push(n==="("?")":"]"):n==="{"&&u.length>0?u.push("}"):n===u[u.length-1]&&u.pop(),u.length===0)if(n===";"){r.source.end=this.getPosition(e[2]),r.source.end.offset++,this.semicolon=!0;break}else if(n==="{"){a=!0;break}else if(n==="}"){if(l.length>0){for(s=l.length-1,i=l[s];i&&i[0]==="space";)i=l[--s];i&&(r.source.end=this.getPosition(i[3]||i[2]),r.source.end.offset++)}this.end(e);break}else l.push(e);else l.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}r.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(r.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(r,"params",l),o&&(e=l[l.length-1],r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++,this.spaces=r.raws.between,r.raws.between="")):(r.raws.afterName="",r.params=""),a&&(r.nodes=[],this.current=r)}checkMissedSemicolon(e){let r=this.colon(e);if(r===!1)return;let n=0,i;for(let s=r-1;s>=0&&(i=e[s],!(i[0]!=="space"&&(n+=1,n===2)));s--);throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}colon(e){let r=0,n,i,s;for(let[o,a]of e.entries()){if(i=a,s=i[0],s==="("&&(r+=1),s===")"&&(r-=1),r===0&&s===":")if(!n)this.doubleColon(i);else{if(n[0]==="word"&&n[1]==="progid")continue;return o}n=i}return!1}comment(e){let r=new uR;this.init(r,e[2]),r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n))r.text="",r.raws.left=n,r.raws.right="";else{let i=n.match(/^(\s*)([^]*\S)(\s*)$/);r.text=i[2],r.raws.left=i[1],r.raws.right=i[3]}}createTokenizer(){this.tokenizer=hR(this.input)}decl(e,r){let n=new cR;this.init(n,e[0][2]);let i=e[e.length-1];for(i[0]===";"&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(i[3]||i[2]||dR(e)),n.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let u=e[0][0];if(u===":"||u==="space"||u==="comment")break;n.prop+=e.shift()[1]}n.raws.between="";let s;for(;e.length;)if(s=e.shift(),s[0]===":"){n.raws.between+=s[1];break}else s[0]==="word"&&/\w/.test(s[1])&&this.unknownWord([s]),n.raws.between+=s[1];(n.prop[0]==="_"||n.prop[0]==="*")&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let o=[],a;for(;e.length&&(a=e[0][0],!(a!=="space"&&a!=="comment"));)o.push(e.shift());this.precheckMissedSemicolon(e);for(let u=e.length-1;u>=0;u--){if(s=e[u],s[1].toLowerCase()==="!important"){n.important=!0;let c=this.stringFrom(e,u);c=this.spacesFromEnd(e)+c,c!==" !important"&&(n.raws.important=c);break}else if(s[1].toLowerCase()==="important"){let c=e.slice(0),f="";for(let h=u;h>0;h--){let g=c[h][0];if(f.trim().startsWith("!")&&g!=="space")break;f=c.pop()[1]+f}f.trim().startsWith("!")&&(n.important=!0,n.raws.important=f,e=c)}if(s[0]!=="space"&&s[0]!=="comment")break}e.some(u=>u[0]!=="space"&&u[0]!=="comment")&&(n.raws.between+=o.map(u=>u[1]).join(""),o=[]),this.raw(n,"value",o.concat(e),r),n.value.includes(":")&&!r&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let r=new s9;this.init(r,e[2]),r.selector="",r.raws.between="",this.current=r}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let r=this.current.nodes[this.current.nodes.length-1];r&&r.type==="rule"&&!r.raws.ownSemicolon&&(r.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let r=this.input.fromOffset(e);return{column:r.col,line:r.line,offset:e}}init(e,r){this.current.push(e),e.source={input:this.input,start:this.getPosition(r)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let r=!1,n=null,i=!1,s=null,o=[],a=e[1].startsWith("--"),l=[],u=e;for(;u;){if(n=u[0],l.push(u),n==="("||n==="[")s||(s=u),o.push(n==="("?")":"]");else if(a&&i&&n==="{")s||(s=u),o.push("}");else if(o.length===0)if(n===";")if(i){this.decl(l,a);return}else break;else if(n==="{"){this.rule(l);return}else if(n==="}"){this.tokenizer.back(l.pop()),r=!0;break}else n===":"&&(i=!0);else n===o[o.length-1]&&(o.pop(),o.length===0&&(s=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(r=!0),o.length>0&&this.unclosedBracket(s),r&&i){if(!a)for(;l.length&&(u=l[l.length-1][0],!(u!=="space"&&u!=="comment"));)this.tokenizer.back(l.pop());this.decl(l,a)}else this.unknownWord(l)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,r,n,i){let s,o,a=n.length,l="",u=!0,c,f;for(let h=0;h<a;h+=1)s=n[h],o=s[0],o==="space"&&h===a-1&&!i?u=!1:o==="comment"?(f=n[h-1]?n[h-1][0]:"empty",c=n[h+1]?n[h+1][0]:"empty",!o9[f]&&!o9[c]?l.slice(-1)===","?u=!1:l+=s[1]:u=!1):l+=s[1];if(!u){let h=n.reduce((g,y)=>g+y[1],"");e.raws[r]={raw:h,value:l}}e[r]=l}rule(e){e.pop();let r=new s9;this.init(r,e[0][2]),r.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(r,"selector",e),this.current=r}spacesAndCommentsFromEnd(e){let r,n="";for(;e.length&&(r=e[e.length-1][0],!(r!=="space"&&r!=="comment"));)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let r,n="";for(;e.length&&(r=e[0][0],!(r!=="space"&&r!=="comment"));)n+=e.shift()[1];return n}spacesFromEnd(e){let r,n="";for(;e.length&&(r=e[e.length-1][0],r==="space");)n=e.pop()[1]+n;return n}stringFrom(e,r){let n="";for(let i=r;i<e.length;i++)n+=e[i][1];return e.splice(r,e.length-r),n}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,r){throw this.input.error("At-rule without name",{offset:r[2]},{offset:r[2]+r[1].length})}};a9.exports=dd});var Au=V((zae,u9)=>{"use strict";d();m();p();var pR=Sn(),mR=Oo(),gR=l9();function ku(t,e){let r=new mR(t,e),n=new gR(r);try{n.parse()}catch(i){throw i}return n.root}u9.exports=ku;ku.default=ku;pR.registerParse(ku)});var pd=V((Hae,c9)=>{"use strict";d();m();p();var Do=class{constructor(e,r={}){if(this.type="warning",this.text=e,r.node&&r.node.source){let n=r.node.rangeBy(r);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(let n in r)this[n]=r[n]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};c9.exports=Do;Do.default=Do});var Lu=V((Yae,f9)=>{"use strict";d();m();p();var bR=pd(),Fo=class{constructor(e,r,n){this.processor=e,this.messages=[],this.root=r,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,r={}){r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);let n=new bR(e,r);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};f9.exports=Fo;Fo.default=Fo});var md=V((ele,d9)=>{"use strict";d();m();p();var h9={};d9.exports=function(e){h9[e]||(h9[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var vd=V((sle,b9)=>{"use strict";d();m();p();var vR=Sn(),wR=gu(),yR=hd(),xR=Au(),p9=Lu(),SR=is(),_R=wo(),{isClean:Tr,my:CR}=pu(),ile=md(),ER={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},kR={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},AR={Once:!0,postcssPlugin:!0,prepare:!0},os=0;function $o(t){return typeof t=="object"&&typeof t.then=="function"}function g9(t){let e=!1,r=ER[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[r,r+"-"+e,os,r+"Exit",r+"Exit-"+e]:e?[r,r+"-"+e,r+"Exit",r+"Exit-"+e]:t.append?[r,os,r+"Exit"]:[r,r+"Exit"]}function m9(t){let e;return t.type==="document"?e=["Document",os,"DocumentExit"]:t.type==="root"?e=["Root",os,"RootExit"]:e=g9(t),{eventIndex:0,events:e,iterator:0,node:t,visitorIndex:0,visitors:[]}}function gd(t){return t[Tr]=!1,t.nodes&&t.nodes.forEach(e=>gd(e)),t}var bd={},En=class t{constructor(e,r,n){this.stringified=!1,this.processed=!1;let i;if(typeof r=="object"&&r!==null&&(r.type==="root"||r.type==="document"))i=gd(r);else if(r instanceof t||r instanceof p9)i=gd(r.root),r.map&&(typeof n.map>"u"&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{let s=xR;n.syntax&&(s=n.syntax.parse),n.parser&&(s=n.parser),s.parse&&(s=s.parse);try{i=s(r,n)}catch(o){this.processed=!0,this.error=o}i&&!i[CR]&&vR.rebuild(i)}this.result=new p9(e,i,n),this.helpers={...bd,postcss:bd,result:this.result},this.plugins=this.processor.plugins.map(s=>typeof s=="object"&&s.prepare?{...s,...s.prepare(this.result)}:s)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,r){let n=this.result.lastPlugin;try{r&&r.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=n.postcssPlugin,e.setMessage()):n.postcssVersion}catch(i){console&&console.error&&console.error(i)}return e}prepareVisitors(){this.listeners={};let e=(r,n,i)=>{this.listeners[n]||(this.listeners[n]=[]),this.listeners[n].push([r,i])};for(let r of this.plugins)if(typeof r=="object")for(let n in r){if(!kR[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${r.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!AR[n])if(typeof r[n]=="object")for(let i in r[n])i==="*"?e(r,n,r[n][i]):e(r,n+"-"+i.toLowerCase(),r[n][i]);else typeof r[n]=="function"&&e(r,n,r[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let r=this.plugins[e],n=this.runOnRoot(r);if($o(n))try{await n}catch(i){throw this.handleError(i)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Tr];){e[Tr]=!0;let r=[m9(e)];for(;r.length>0;){let n=this.visitTick(r);if($o(n))try{await n}catch(i){let s=r[r.length-1].node;throw this.handleError(i,s)}}}if(this.listeners.OnceExit)for(let[r,n]of this.listeners.OnceExit){this.result.lastPlugin=r;try{if(e.type==="document"){let i=e.nodes.map(s=>n(s,this.helpers));await Promise.all(i)}else await n(e,this.helpers)}catch(i){throw this.handleError(i)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let r=this.result.root.nodes.map(n=>e.Once(n,this.helpers));return $o(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(r){throw this.handleError(r)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,r=_R;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);let i=new yR(r,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let r=this.runOnRoot(e);if($o(r))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Tr];)e[Tr]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let r of e.nodes)this.visitSync(this.listeners.OnceExit,r);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,r){return this.async().then(e,r)}toString(){return this.css}visitSync(e,r){for(let[n,i]of e){this.result.lastPlugin=n;let s;try{s=i(r,this.helpers)}catch(o){throw this.handleError(o,r.proxyOf)}if(r.type!=="root"&&r.type!=="document"&&!r.parent)return!0;if($o(s))throw this.getAsyncError()}}visitTick(e){let r=e[e.length-1],{node:n,visitors:i}=r;if(n.type!=="root"&&n.type!=="document"&&!n.parent){e.pop();return}if(i.length>0&&r.visitorIndex<i.length){let[o,a]=i[r.visitorIndex];r.visitorIndex+=1,r.visitorIndex===i.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=o;try{return a(n.toProxy(),this.helpers)}catch(l){throw this.handleError(l,n)}}if(r.iterator!==0){let o=r.iterator,a;for(;a=n.nodes[n.indexes[o]];)if(n.indexes[o]+=1,!a[Tr]){a[Tr]=!0,e.push(m9(a));return}r.iterator=0,delete n.indexes[o]}let s=r.events;for(;r.eventIndex<s.length;){let o=s[r.eventIndex];if(r.eventIndex+=1,o===os){n.nodes&&n.nodes.length&&(n[Tr]=!0,r.iterator=n.getIterator());return}else if(this.listeners[o]){r.visitors=this.listeners[o];return}}e.pop()}walkSync(e){e[Tr]=!0;let r=g9(e);for(let n of r)if(n===os)e.nodes&&e.each(i=>{i[Tr]||this.walkSync(i)});else{let i=this.listeners[n];if(i&&this.visitSync(i,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};En.registerPostcss=t=>{bd=t};b9.exports=En;En.default=En;SR.registerLazyResult(En);wR.registerLazyResult(En)});var w9=V((cle,v9)=>{"use strict";d();m();p();var LR=hd(),RR=Au(),TR=Lu(),NR=wo(),ule=md(),Uo=class{constructor(e,r,n){r=r.toString(),this.stringified=!1,this._processor=e,this._css=r,this._opts=n,this._map=void 0;let i,s=NR;this.result=new TR(this._processor,i,this._opts),this.result.css=r;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let a=new LR(s,i,this._opts,r);if(a.isMap()){let[l,u]=a.generate();l&&(this.result.css=l),u&&(this.result.map=u)}else a.clearAnnotation(),this.result.css=a.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,r){return this.async().then(e,r)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,r=RR;try{e=r(this._css,this._opts)}catch(n){this.error=n}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}};v9.exports=Uo;Uo.default=Uo});var x9=V((ple,y9)=>{"use strict";d();m();p();var MR=gu(),OR=vd(),PR=w9(),IR=is(),fi=class{constructor(e=[]){this.version="8.5.1",this.plugins=this.normalize(e)}normalize(e){let r=[];for(let n of e)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n=="object"&&Array.isArray(n.plugins))r=r.concat(n.plugins);else if(typeof n=="object"&&n.postcssPlugin)r.push(n);else if(typeof n=="function")r.push(n);else if(!(typeof n=="object"&&(n.parse||n.stringify)))throw new Error(n+" is not a PostCSS plugin");return r}process(e,r={}){return!this.plugins.length&&!r.parser&&!r.stringifier&&!r.syntax?new PR(this,e,r):new OR(this,e,r)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};y9.exports=fi;fi.default=fi;IR.registerProcessor(fi);MR.registerProcessor(fi)});var R9=V((vle,L9)=>{"use strict";d();m();p();var S9=mu(),_9=Eo(),DR=Sn(),FR=du(),C9=Ao(),E9=gu(),$R=Qv(),UR=Oo(),BR=vd(),qR=cd(),zR=_o(),jR=Au(),wd=x9(),VR=Lu(),k9=is(),A9=xu(),WR=wo(),HR=pd();function Re(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new wd(t)}Re.plugin=function(e,r){let n=!1;function i(...o){console&&console.warn&&!n&&(n=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
30
+ https://evilmartians.com/chronicles/postcss-8-plugin-migration`),C.env.LANG&&C.env.LANG.startsWith("cn")&&console.warn(e+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
31
+ https://www.w3ctech.com/topic/2226`));let a=r(...o);return a.postcssPlugin=e,a.postcssVersion=new wd().version,a}let s;return Object.defineProperty(i,"postcss",{get(){return s||(s=i()),s}}),i.process=function(o,a,l){return Re([i(l)]).process(o,a)},i};Re.stringify=WR;Re.parse=jR;Re.fromJSON=$R;Re.list=qR;Re.comment=t=>new _9(t);Re.atRule=t=>new S9(t);Re.decl=t=>new C9(t);Re.rule=t=>new A9(t);Re.root=t=>new k9(t);Re.document=t=>new E9(t);Re.CssSyntaxError=FR;Re.Declaration=C9;Re.Container=DR;Re.Processor=wd;Re.Document=E9;Re.Comment=_9;Re.Warning=HR;Re.AtRule=S9;Re.Result=VR;Re.Input=UR;Re.Rule=A9;Re.Root=k9;Re.Node=zR;BR.registerPostcss(Re);L9.exports=Re;Re.default=Re});var xd=V((Jle,M9)=>{d();m();p();var XR={}.toString;M9.exports=Array.isArray||function(t){return XR.call(t)=="[object Array]"}});var P9=V((tue,O9)=>{"use strict";d();m();p();var QR=xd();O9.exports=function(e){return e!=null&&typeof e=="object"&&QR(e)===!1}});var Sd=V((oue,I9)=>{"use strict";d();m();p();var YR=xd(),JR=P9(),sue=Array.prototype.slice;I9.exports=as;function as(t,e){if(!(this instanceof as))return typeof e=="number"?new as(t).fromIndex(e):new as(t,e);this.str=t||"",this.lineToIndex=ZR(this.str),e=e||{},this.origin=typeof e.origin>"u"?1:e.origin}as.prototype.fromIndex=function(t){if(t<0||t>=this.str.length||isNaN(t))return null;var e=KR(t,this.lineToIndex);return{line:e+this.origin,col:t-this.lineToIndex[e]+this.origin}};as.prototype.toIndex=function(t,e){if(typeof e>"u")return YR(t)&&t.length>=2?this.toIndex(t[0],t[1]):JR(t)&&"line"in t&&("col"in t||"column"in t)?this.toIndex(t.line,"col"in t?t.col:t.column):-1;if(isNaN(t)||isNaN(e))return-1;if(t-=this.origin,e-=this.origin,t>=0&&e>=0&&t<this.lineToIndex.length){var r=this.lineToIndex[t],n=t===this.lineToIndex.length-1?this.str.length:this.lineToIndex[t+1];if(e<n-r)return r+e}return-1};function ZR(t){for(var e=t.split(`
32
+ `),r=new Array(e.length),n=0,i=0,s=e.length;i<s;i++)r[i]=n,n+=e[i].length+1;return r}function KR(t,e){if(t>=e[e.length-1])return e.length-1;for(var r=0,n=e.length-2,i;r<n;)if(i=r+(n-r>>1),t<e[i])n=i-1;else if(t>=e[i+1])r=i+1;else{r=i;break}return r}});var Tu=V((D9,Ru)=>{d();m();p();(function(t,e){typeof define=="function"&&define.amd?define([],e):typeof Ru=="object"&&Ru.exports?Ru.exports=e():t.moo=e()})(D9,function(){"use strict";var t=Object.prototype.hasOwnProperty,e=Object.prototype.toString,r=typeof new RegExp().sticky=="boolean";function n(O){return O&&e.call(O)==="[object RegExp]"}function i(O){return O&&typeof O=="object"&&!n(O)&&!Array.isArray(O)}function s(O){return O.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function o(O){var I=new RegExp("|"+O);return I.exec("").length-1}function a(O){return"("+O+")"}function l(O){if(!O.length)return"(?!)";var I=O.map(function(z){return"(?:"+z+")"}).join("|");return"(?:"+I+")"}function u(O){if(typeof O=="string")return"(?:"+s(O)+")";if(n(O)){if(O.ignoreCase)throw new Error("RegExp /i flag not allowed");if(O.global)throw new Error("RegExp /g flag is implied");if(O.sticky)throw new Error("RegExp /y flag is implied");if(O.multiline)throw new Error("RegExp /m flag is implied");return O.source}else throw new Error("Not a pattern: "+O)}function c(O,I){return O.length>I?O:Array(I-O.length+1).join(" ")+O}function f(O,I){for(var z=O.length,G=0;;){var j=O.lastIndexOf(`
33
+ `,z-1);if(j===-1||(G++,z=j,G===I)||z===0)break}var U=G<I?0:z+1;return O.substring(U).split(`
34
+ `)}function h(O){for(var I=Object.getOwnPropertyNames(O),z=[],G=0;G<I.length;G++){var j=I[G],U=O[j],W=[].concat(U);if(j==="include"){for(var H=0;H<W.length;H++)z.push({include:W[H]});continue}var Y=[];W.forEach(function(te){i(te)?(Y.length&&z.push(y(j,Y)),z.push(y(j,te)),Y=[]):Y.push(te)}),Y.length&&z.push(y(j,Y))}return z}function g(O){for(var I=[],z=0;z<O.length;z++){var G=O[z];if(G.include){for(var j=[].concat(G.include),U=0;U<j.length;U++)I.push({include:j[U]});continue}if(!G.type)throw new Error("Rule has no type: "+JSON.stringify(G));I.push(y(G.type,G))}return I}function y(O,I){if(i(I)||(I={match:I}),I.include)throw new Error("Matching rules cannot also include states");var z={defaultType:O,lineBreaks:!!I.error||!!I.fallback,pop:!1,next:null,push:null,error:!1,fallback:!1,value:null,type:null,shouldThrow:!1};for(var G in I)t.call(I,G)&&(z[G]=I[G]);if(typeof z.type=="string"&&O!==z.type)throw new Error("Type transform cannot be a string (type '"+z.type+"' for token '"+O+"')");var j=z.match;return z.match=Array.isArray(j)?j:j?[j]:[],z.match.sort(function(U,W){return n(U)&&n(W)?0:n(W)?-1:n(U)?1:W.length-U.length}),z}function S(O){return Array.isArray(O)?g(O):h(O)}var x=y("error",{lineBreaks:!0,shouldThrow:!0});function _(O,I){for(var z=null,G=Object.create(null),j=!0,U=null,W=[],H=[],Y=0;Y<O.length;Y++)O[Y].fallback&&(j=!1);for(var Y=0;Y<O.length;Y++){var te=O[Y];if(te.include)throw new Error("Inheritance is not allowed in stateless lexers");if(te.error||te.fallback){if(z)throw!te.fallback==!z.fallback?new Error("Multiple "+(te.fallback?"fallback":"error")+" rules not allowed (for token '"+te.defaultType+"')"):new Error("fallback and error are mutually exclusive (for token '"+te.defaultType+"')");z=te}var ne=te.match.slice();if(j)for(;ne.length&&typeof ne[0]=="string"&&ne[0].length===1;){var he=ne.shift();G[he.charCodeAt(0)]=te}if(te.pop||te.push||te.next){if(!I)throw new Error("State-switching options are not allowed in stateless lexers (for token '"+te.defaultType+"')");if(te.fallback)throw new Error("State-switching options are not allowed on fallback tokens (for token '"+te.defaultType+"')")}if(ne.length!==0){j=!1,W.push(te);for(var ke=0;ke<ne.length;ke++){var st=ne[ke];if(n(st)){if(U===null)U=st.unicode;else if(U!==st.unicode&&te.fallback===!1)throw new Error("If one rule is /u then all must be")}}var ht=l(ne.map(u)),Ye=new RegExp(ht);if(Ye.test(""))throw new Error("RegExp matches empty string: "+Ye);var Ct=o(ht);if(Ct>0)throw new Error("RegExp has capture groups: "+Ye+`
35
+ Use (?: \u2026 ) instead`);if(!te.lineBreaks&&Ye.test(`
36
+ `))throw new Error("Rule should declare lineBreaks: "+Ye);H.push(a(ht))}}var Je=z&&z.fallback,or=r&&!Je?"ym":"gm",jr=r||Je?"":"|";U===!0&&(or+="u");var Df=new RegExp(l(H)+jr,or);return{regexp:Df,groups:W,fast:G,error:z||x}}function k(O){var I=_(S(O));return new P({start:I},"start")}function T(O,I,z){var G=O&&(O.push||O.next);if(G&&!z[G])throw new Error("Missing state '"+G+"' (in token '"+O.defaultType+"' of state '"+I+"')");if(O&&O.pop&&+O.pop!=1)throw new Error("pop must be 1 (in token '"+O.defaultType+"' of state '"+I+"')")}function N(O,I){var z=O.$all?S(O.$all):[];delete O.$all;var G=Object.getOwnPropertyNames(O);I||(I=G[0]);for(var j=Object.create(null),U=0;U<G.length;U++){var W=G[U];j[W]=S(O[W]).concat(z)}for(var U=0;U<G.length;U++)for(var W=G[U],H=j[W],Y=Object.create(null),te=0;te<H.length;te++){var ne=H[te];if(ne.include){var he=[te,1];if(ne.include!==W&&!Y[ne.include]){Y[ne.include]=!0;var ke=j[ne.include];if(!ke)throw new Error("Cannot include nonexistent state '"+ne.include+"' (in state '"+W+"')");for(var st=0;st<ke.length;st++){var ht=ke[st];H.indexOf(ht)===-1&&he.push(ht)}}H.splice.apply(H,he),te--}}for(var Ye=Object.create(null),U=0;U<G.length;U++){var W=G[U];Ye[W]=_(j[W],!0)}for(var U=0;U<G.length;U++){for(var Ct=G[U],Je=Ye[Ct],or=Je.groups,te=0;te<or.length;te++)T(or[te],Ct,Ye);for(var jr=Object.getOwnPropertyNames(Je.fast),te=0;te<jr.length;te++)T(Je.fast[jr[te]],Ct,Ye)}return new P(Ye,I)}function L(O){for(var I=typeof Map<"u",z=I?new Map:Object.create(null),G=Object.getOwnPropertyNames(O),j=0;j<G.length;j++){var U=G[j],W=O[U],H=Array.isArray(W)?W:[W];H.forEach(function(Y){if(typeof Y!="string")throw new Error("keyword must be string (in keyword '"+U+"')");I?z.set(Y,U):z[Y]=U})}return function(Y){return I?z.get(Y):z[Y]}}var P=function(O,I){this.startState=I,this.states=O,this.buffer="",this.stack=[],this.reset()};P.prototype.reset=function(O,I){return this.buffer=O||"",this.index=0,this.line=I?I.line:1,this.col=I?I.col:1,this.queuedToken=I?I.queuedToken:null,this.queuedText=I?I.queuedText:"",this.queuedThrow=I?I.queuedThrow:null,this.setState(I?I.state:this.startState),this.stack=I&&I.stack?I.stack.slice():[],this},P.prototype.save=function(){return{line:this.line,col:this.col,state:this.state,stack:this.stack.slice(),queuedToken:this.queuedToken,queuedText:this.queuedText,queuedThrow:this.queuedThrow}},P.prototype.setState=function(O){if(!(!O||this.state===O)){this.state=O;var I=this.states[O];this.groups=I.groups,this.error=I.error,this.re=I.regexp,this.fast=I.fast}},P.prototype.popState=function(){this.setState(this.stack.pop())},P.prototype.pushState=function(O){this.stack.push(this.state),this.setState(O)};var D=r?function(O,I){return O.exec(I)}:function(O,I){var z=O.exec(I);return z[0].length===0?null:z};P.prototype._getGroup=function(O){for(var I=this.groups.length,z=0;z<I;z++)if(O[z+1]!==void 0)return this.groups[z];throw new Error("Cannot find token type for matched text")};function $(){return this.value}if(P.prototype.next=function(){var O=this.index;if(this.queuedGroup){var I=this._token(this.queuedGroup,this.queuedText,O);return this.queuedGroup=null,this.queuedText="",I}var z=this.buffer;if(O!==z.length){var W=this.fast[z.charCodeAt(O)];if(W)return this._token(W,z.charAt(O),O);var G=this.re;G.lastIndex=O;var j=D(G,z),U=this.error;if(j==null)return this._token(U,z.slice(O,z.length),O);var W=this._getGroup(j),H=j[0];return U.fallback&&j.index!==O?(this.queuedGroup=W,this.queuedText=H,this._token(U,z.slice(O,j.index),O)):this._token(W,H,O)}},P.prototype._token=function(O,I,z){var G=0;if(O.lineBreaks){var j=/\n/g,U=1;if(I===`
37
+ `)G=1;else for(;j.exec(I);)G++,U=j.lastIndex}var W={type:typeof O.type=="function"&&O.type(I)||O.defaultType,value:typeof O.value=="function"?O.value(I):I,text:I,toString:$,offset:z,lineBreaks:G,line:this.line,col:this.col},H=I.length;if(this.index+=H,this.line+=G,G!==0?this.col=H-U+1:this.col+=H,O.shouldThrow){var Y=new Error(this.formatError(W,"invalid syntax"));throw Y}return O.pop?this.popState():O.push?this.pushState(O.push):O.next&&this.setState(O.next),W},typeof Symbol<"u"&&Symbol.iterator){var Q=function(O){this.lexer=O};Q.prototype.next=function(){var O=this.lexer.next();return{value:O,done:!O}},Q.prototype[Symbol.iterator]=function(){return this},P.prototype[Symbol.iterator]=function(){return new Q(this)}}return P.prototype.formatError=function(O,I){if(O==null)var z=this.buffer.slice(this.index),O={text:z,offset:this.index,lineBreaks:z.indexOf(`
38
+ `)===-1?0:1,line:this.line,col:this.col};var G=2,j=Math.max(O.line-G,1),U=O.line+G,W=String(U).length,H=f(this.buffer,this.line-O.line+G+1).slice(0,5),Y=[];Y.push(I+" at line "+O.line+" col "+O.col+":"),Y.push("");for(var te=0;te<H.length;te++){var ne=H[te],he=j+te;Y.push(c(String(he),W)+" "+ne),he===O.line&&Y.push(c("",W+O.col+1)+"^")}return Y.join(`
39
+ `)},P.prototype.clone=function(){return new P(this.states,this.state)},P.prototype.has=function(O){return!0},{compile:k,states:N,error:Object.freeze({error:!0}),fallback:Object.freeze({fallback:!0}),keywords:L}})});var $9=V((due,F9)=>{d();m();p();var _d=class extends Map{constructor(e={}){super(),typeof e=="number"&&(e={max:e});let{max:r,maxAge:n}=e;this.max=r>0&&r||1/0,this.maxAge=n!==void 0?n:-1,this.stale=!!e.stale}peek(e){return this.get(e,!1)}set(e,r,n=this.maxAge){this.has(e)&&this.delete(e),this.size+1>this.max&&this.delete(this.keys().next().value);let i=n>-1&&n+Date.now();return super.set(e,{expires:i,content:r})}get(e,r=!0){let n=super.get(e);if(n===void 0)return n;let{expires:i,content:s}=n;return i!==!1&&Date.now()>=i?(this.delete(e),this.stale?s:void 0):(r&&this.set(e,s),s)}};F9.exports=_d});var B9=V((Cd,U9)=>{d();m();p();(function(t,e){typeof Cd=="object"?U9.exports=e(t):typeof define=="function"&&define.amd?define([],e.bind(t,t)):e(t)})(typeof window<"u"?window:Cd,function(t){if(t.CSS&&t.CSS.escape)return t.CSS.escape;var e=function(r){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var n=String(r),i=n.length,s=-1,o,a="",l=n.charCodeAt(0);++s<i;){if(o=n.charCodeAt(s),o==0){a+="\uFFFD";continue}if(o>=1&&o<=31||o==127||s==0&&o>=48&&o<=57||s==1&&o>=48&&o<=57&&l==45){a+="\\"+o.toString(16)+" ";continue}if(s==0&&i==1&&o==45){a+="\\"+n.charAt(s);continue}if(o>=128||o==45||o==95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122){a+=n.charAt(s);continue}a+="\\"+n.charAt(s)}return a};return t.CSS||(t.CSS={}),t.CSS.escape=e,e})});var Rd=V((Uue,q9)=>{d();m();p();var rT=typeof C=="object"&&C.env&&C.env.NODE_DEBUG&&/\bsemver\b/i.test(C.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};q9.exports=rT});var Td=V((jue,z9)=>{d();m();p();var nT="2.0.0",iT=Number.MAX_SAFE_INTEGER||9007199254740991,sT=16,oT=["major","premajor","minor","preminor","patch","prepatch","prerelease"];z9.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:sT,MAX_SAFE_INTEGER:iT,RELEASE_TYPES:oT,SEMVER_SPEC_VERSION:nT,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var V9=V((kn,j9)=>{d();m();p();var{MAX_SAFE_COMPONENT_LENGTH:Nd}=Td(),aT=Rd();kn=j9.exports={};var lT=kn.re=[],ae=kn.src=[],le=kn.t={},uT=0,ge=(t,e,r)=>{let n=uT++;aT(t,n,e),le[t]=n,ae[n]=e,lT[n]=new RegExp(e,r?"g":void 0)};ge("NUMERICIDENTIFIER","0|[1-9]\\d*");ge("NUMERICIDENTIFIERLOOSE","[0-9]+");ge("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*");ge("MAINVERSION",`(${ae[le.NUMERICIDENTIFIER]})\\.(${ae[le.NUMERICIDENTIFIER]})\\.(${ae[le.NUMERICIDENTIFIER]})`);ge("MAINVERSIONLOOSE",`(${ae[le.NUMERICIDENTIFIERLOOSE]})\\.(${ae[le.NUMERICIDENTIFIERLOOSE]})\\.(${ae[le.NUMERICIDENTIFIERLOOSE]})`);ge("PRERELEASEIDENTIFIER",`(?:${ae[le.NUMERICIDENTIFIER]}|${ae[le.NONNUMERICIDENTIFIER]})`);ge("PRERELEASEIDENTIFIERLOOSE",`(?:${ae[le.NUMERICIDENTIFIERLOOSE]}|${ae[le.NONNUMERICIDENTIFIER]})`);ge("PRERELEASE",`(?:-(${ae[le.PRERELEASEIDENTIFIER]}(?:\\.${ae[le.PRERELEASEIDENTIFIER]})*))`);ge("PRERELEASELOOSE",`(?:-?(${ae[le.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ae[le.PRERELEASEIDENTIFIERLOOSE]})*))`);ge("BUILDIDENTIFIER","[0-9A-Za-z-]+");ge("BUILD",`(?:\\+(${ae[le.BUILDIDENTIFIER]}(?:\\.${ae[le.BUILDIDENTIFIER]})*))`);ge("FULLPLAIN",`v?${ae[le.MAINVERSION]}${ae[le.PRERELEASE]}?${ae[le.BUILD]}?`);ge("FULL",`^${ae[le.FULLPLAIN]}$`);ge("LOOSEPLAIN",`[v=\\s]*${ae[le.MAINVERSIONLOOSE]}${ae[le.PRERELEASELOOSE]}?${ae[le.BUILD]}?`);ge("LOOSE",`^${ae[le.LOOSEPLAIN]}$`);ge("GTLT","((?:<|>)?=?)");ge("XRANGEIDENTIFIERLOOSE",`${ae[le.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ge("XRANGEIDENTIFIER",`${ae[le.NUMERICIDENTIFIER]}|x|X|\\*`);ge("XRANGEPLAIN",`[v=\\s]*(${ae[le.XRANGEIDENTIFIER]})(?:\\.(${ae[le.XRANGEIDENTIFIER]})(?:\\.(${ae[le.XRANGEIDENTIFIER]})(?:${ae[le.PRERELEASE]})?${ae[le.BUILD]}?)?)?`);ge("XRANGEPLAINLOOSE",`[v=\\s]*(${ae[le.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ae[le.XRANGEIDENTIFIERLOOSE]})(?:\\.(${ae[le.XRANGEIDENTIFIERLOOSE]})(?:${ae[le.PRERELEASELOOSE]})?${ae[le.BUILD]}?)?)?`);ge("XRANGE",`^${ae[le.GTLT]}\\s*${ae[le.XRANGEPLAIN]}$`);ge("XRANGELOOSE",`^${ae[le.GTLT]}\\s*${ae[le.XRANGEPLAINLOOSE]}$`);ge("COERCE",`(^|[^\\d])(\\d{1,${Nd}})(?:\\.(\\d{1,${Nd}}))?(?:\\.(\\d{1,${Nd}}))?(?:$|[^\\d])`);ge("COERCERTL",ae[le.COERCE],!0);ge("LONETILDE","(?:~>?)");ge("TILDETRIM",`(\\s*)${ae[le.LONETILDE]}\\s+`,!0);kn.tildeTrimReplace="$1~";ge("TILDE",`^${ae[le.LONETILDE]}${ae[le.XRANGEPLAIN]}$`);ge("TILDELOOSE",`^${ae[le.LONETILDE]}${ae[le.XRANGEPLAINLOOSE]}$`);ge("LONECARET","(?:\\^)");ge("CARETTRIM",`(\\s*)${ae[le.LONECARET]}\\s+`,!0);kn.caretTrimReplace="$1^";ge("CARET",`^${ae[le.LONECARET]}${ae[le.XRANGEPLAIN]}$`);ge("CARETLOOSE",`^${ae[le.LONECARET]}${ae[le.XRANGEPLAINLOOSE]}$`);ge("COMPARATORLOOSE",`^${ae[le.GTLT]}\\s*(${ae[le.LOOSEPLAIN]})$|^$`);ge("COMPARATOR",`^${ae[le.GTLT]}\\s*(${ae[le.FULLPLAIN]})$|^$`);ge("COMPARATORTRIM",`(\\s*)${ae[le.GTLT]}\\s*(${ae[le.LOOSEPLAIN]}|${ae[le.XRANGEPLAIN]})`,!0);kn.comparatorTrimReplace="$1$2$3";ge("HYPHENRANGE",`^\\s*(${ae[le.XRANGEPLAIN]})\\s+-\\s+(${ae[le.XRANGEPLAIN]})\\s*$`);ge("HYPHENRANGELOOSE",`^\\s*(${ae[le.XRANGEPLAINLOOSE]})\\s+-\\s+(${ae[le.XRANGEPLAINLOOSE]})\\s*$`);ge("STAR","(<|>)?=?\\s*\\*");ge("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ge("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var H9=V((Yue,W9)=>{d();m();p();var cT=Object.freeze({loose:!0}),fT=Object.freeze({}),hT=t=>t?typeof t!="object"?cT:t:fT;W9.exports=hT});var Y9=V((ece,Q9)=>{d();m();p();var G9=/^[0-9]+$/,X9=(t,e)=>{let r=G9.test(t),n=G9.test(e);return r&&n&&(t=+t,e=+e),t===e?0:r&&!n?-1:n&&!r?1:t<e?-1:1},dT=(t,e)=>X9(e,t);Q9.exports={compareIdentifiers:X9,rcompareIdentifiers:dT}});var t7=V((ice,e7)=>{d();m();p();var Nu=Rd(),{MAX_LENGTH:J9,MAX_SAFE_INTEGER:Mu}=Td(),{re:Z9,t:K9}=V9(),pT=H9(),{compareIdentifiers:ls}=Y9(),Md=class t{constructor(e,r){if(r=pT(r),e instanceof t){if(e.loose===!!r.loose&&e.includePrerelease===!!r.includePrerelease)return e;e=e.version}else if(typeof e!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>J9)throw new TypeError(`version is longer than ${J9} characters`);Nu("SemVer",e,r),this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease;let n=e.trim().match(r.loose?Z9[K9.LOOSE]:Z9[K9.FULL]);if(!n)throw new TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>Mu||this.major<0)throw new TypeError("Invalid major version");if(this.minor>Mu||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>Mu||this.patch<0)throw new TypeError("Invalid patch version");n[4]?this.prerelease=n[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let s=+i;if(s>=0&&s<Mu)return s}return i}):this.prerelease=[],this.build=n[5]?n[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+=`-${this.prerelease.join(".")}`),this.version}toString(){return this.version}compare(e){if(Nu("SemVer.compare",this.version,this.options,e),!(e instanceof t)){if(typeof e=="string"&&e===this.version)return 0;e=new t(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof t||(e=new t(e,this.options)),ls(this.major,e.major)||ls(this.minor,e.minor)||ls(this.patch,e.patch)}comparePre(e){if(e instanceof t||(e=new t(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let r=0;do{let n=this.prerelease[r],i=e.prerelease[r];if(Nu("prerelease compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return ls(n,i)}while(++r)}compareBuild(e){e instanceof t||(e=new t(e,this.options));let r=0;do{let n=this.build[r],i=e.build[r];if(Nu("prerelease compare",r,n,i),n===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(n===void 0)return-1;if(n===i)continue;return ls(n,i)}while(++r)}inc(e,r,n){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",r,n);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",r,n);break;case"prepatch":this.prerelease.length=0,this.inc("patch",r,n),this.inc("pre",r,n);break;case"prerelease":this.prerelease.length===0&&this.inc("patch",r,n),this.inc("pre",r,n);break;case"major":(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case"patch":this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case"pre":{let i=Number(n)?1:0;if(!r&&n===!1)throw new Error("invalid increment argument: identifier is empty");if(this.prerelease.length===0)this.prerelease=[i];else{let s=this.prerelease.length;for(;--s>=0;)typeof this.prerelease[s]=="number"&&(this.prerelease[s]++,s=-2);if(s===-1){if(r===this.prerelease.join(".")&&n===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(r){let s=[r,i];n===!1&&(s=[r]),ls(this.prerelease[0],r)===0?isNaN(this.prerelease[1])&&(this.prerelease=s):this.prerelease=s}break}default:throw new Error(`invalid increment argument: ${e}`)}return this.format(),this.raw=this.version,this}};e7.exports=Md});var Od=V((lce,n7)=>{d();m();p();var r7=t7(),mT=(t,e,r)=>new r7(t,r).compare(new r7(e,r));n7.exports=mT});var s7=V((hce,i7)=>{d();m();p();var gT=Od(),bT=(t,e,r)=>gT(t,e,r)>=0;i7.exports=bT});var a7=V((gce,o7)=>{d();m();p();var vT=Od(),wT=(t,e,r)=>vT(t,e,r)<=0;o7.exports=wT});var u7=V((yce,l7)=>{d();m();p();l7.exports=function(e,r){if(e==null||e.length===0)return r==null||r.length===0?0:r.length;if(r==null||r.length===0)return e.length;for(var n=0,i=0,s=0,o=0,a=5;n+i<e.length&&n+s<r.length;){if(e.charAt(n+i)==r.charAt(n+s))o++;else{i=0,s=0;for(var l=0;l<a;l++){if(n+l<e.length&&e.charAt(n+l)==r.charAt(n)){i=l;break}if(n+l<r.length&&e.charAt(n)==r.charAt(n+l)){s=l;break}}}n++}return(e.length+r.length)/2-o}});var Pu=V((Ou,c7)=>{"use strict";d();m();p();Ou.__esModule=!0;Ou.default=ST;function yT(t){for(var e=t.toLowerCase(),r="",n=!1,i=0;i<6&&e[i]!==void 0;i++){var s=e.charCodeAt(i),o=s>=97&&s<=102||s>=48&&s<=57;if(n=s===32,!o)break;r+=e[i]}if(r.length!==0){var a=parseInt(r,16),l=a>=55296&&a<=57343;return l||a===0||a>1114111?["\uFFFD",r.length+(n?1:0)]:[String.fromCodePoint(a),r.length+(n?1:0)]}}var xT=/\\/;function ST(t){var e=xT.test(t);if(!e)return t;for(var r="",n=0;n<t.length;n++){if(t[n]==="\\"){var i=yT(t.slice(n+1,n+7));if(i!==void 0){r+=i[0],n+=i[1];continue}if(t[n+1]==="\\"){r+="\\",n++;continue}t.length===n+1&&(r+=t[n]);continue}r+=t[n]}return r}c7.exports=Ou.default});var h7=V((Iu,f7)=>{"use strict";d();m();p();Iu.__esModule=!0;Iu.default=_T;function _T(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];for(;r.length>0;){var i=r.shift();if(!t[i])return;t=t[i]}return t}f7.exports=Iu.default});var p7=V((Du,d7)=>{"use strict";d();m();p();Du.__esModule=!0;Du.default=CT;function CT(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];for(;r.length>0;){var i=r.shift();t[i]||(t[i]={}),t=t[i]}}d7.exports=Du.default});var g7=V((Fu,m7)=>{"use strict";d();m();p();Fu.__esModule=!0;Fu.default=ET;function ET(t){for(var e="",r=t.indexOf("/*"),n=0;r>=0;){e=e+t.slice(n,r);var i=t.indexOf("*/",r+2);if(i<0)return e;n=i+2,r=t.indexOf("/*",n)}return e=e+t.slice(n),e}m7.exports=Fu.default});var Bo=V(Nr=>{"use strict";d();m();p();Nr.__esModule=!0;Nr.unesc=Nr.stripComments=Nr.getProp=Nr.ensureObject=void 0;var kT=$u(Pu());Nr.unesc=kT.default;var AT=$u(h7());Nr.getProp=AT.default;var LT=$u(p7());Nr.ensureObject=LT.default;var RT=$u(g7());Nr.stripComments=RT.default;function $u(t){return t&&t.__esModule?t:{default:t}}});var Kr=V((qo,w7)=>{"use strict";d();m();p();qo.__esModule=!0;qo.default=void 0;var b7=Bo();function v7(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function TT(t,e,r){return e&&v7(t.prototype,e),r&&v7(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var NT=function t(e,r){if(typeof e!="object"||e===null)return e;var n=new e.constructor;for(var i in e)if(e.hasOwnProperty(i)){var s=e[i],o=typeof s;i==="parent"&&o==="object"?r&&(n[i]=r):s instanceof Array?n[i]=s.map(function(a){return t(a,n)}):n[i]=t(s,n)}return n},MT=function(){function t(r){r===void 0&&(r={}),Object.assign(this,r),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var e=t.prototype;return e.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},e.replaceWith=function(){if(this.parent){for(var n in arguments)this.parent.insertBefore(this,arguments[n]);this.remove()}return this},e.next=function(){return this.parent.at(this.parent.index(this)+1)},e.prev=function(){return this.parent.at(this.parent.index(this)-1)},e.clone=function(n){n===void 0&&(n={});var i=NT(this);for(var s in n)i[s]=n[s];return i},e.appendToPropertyAndEscape=function(n,i,s){this.raws||(this.raws={});var o=this[n],a=this.raws[n];this[n]=o+i,a||s!==i?this.raws[n]=(a||o)+s:delete this.raws[n]},e.setPropertyAndEscape=function(n,i,s){this.raws||(this.raws={}),this[n]=i,this.raws[n]=s},e.setPropertyWithoutEscape=function(n,i){this[n]=i,this.raws&&delete this.raws[n]},e.isAtPosition=function(n,i){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>n||this.source.end.line<n||this.source.start.line===n&&this.source.start.column>i||this.source.end.line===n&&this.source.end.column<i)},e.stringifyProperty=function(n){return this.raws&&this.raws[n]||this[n]},e.valueToString=function(){return String(this.stringifyProperty("value"))},e.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},TT(t,[{key:"rawSpaceBefore",get:function(){var n=this.raws&&this.raws.spaces&&this.raws.spaces.before;return n===void 0&&(n=this.spaces&&this.spaces.before),n||""},set:function(n){(0,b7.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=n}},{key:"rawSpaceAfter",get:function(){var n=this.raws&&this.raws.spaces&&this.raws.spaces.after;return n===void 0&&(n=this.spaces.after),n||""},set:function(n){(0,b7.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=n}}]),t}();qo.default=MT;w7.exports=qo.default});var vt=V(Ue=>{"use strict";d();m();p();Ue.__esModule=!0;Ue.UNIVERSAL=Ue.TAG=Ue.STRING=Ue.SELECTOR=Ue.ROOT=Ue.PSEUDO=Ue.NESTING=Ue.ID=Ue.COMMENT=Ue.COMBINATOR=Ue.CLASS=Ue.ATTRIBUTE=void 0;var OT="tag";Ue.TAG=OT;var PT="string";Ue.STRING=PT;var IT="selector";Ue.SELECTOR=IT;var DT="root";Ue.ROOT=DT;var FT="pseudo";Ue.PSEUDO=FT;var $T="nesting";Ue.NESTING=$T;var UT="id";Ue.ID=UT;var BT="comment";Ue.COMMENT=BT;var qT="combinator";Ue.COMBINATOR=qT;var zT="class";Ue.CLASS=zT;var jT="attribute";Ue.ATTRIBUTE=jT;var VT="universal";Ue.UNIVERSAL=VT});var Uu=V((zo,_7)=>{"use strict";d();m();p();zo.__esModule=!0;zo.default=void 0;var WT=GT(Kr()),en=HT(vt());function S7(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(S7=function(i){return i?r:e})(t)}function HT(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=S7(e);if(r&&r.has(t))return r.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var o=i?Object.getOwnPropertyDescriptor(t,s):null;o&&(o.get||o.set)?Object.defineProperty(n,s,o):n[s]=t[s]}return n.default=t,r&&r.set(t,n),n}function GT(t){return t&&t.__esModule?t:{default:t}}function XT(t,e){var r=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=QT(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
40
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function QT(t,e){if(t){if(typeof t=="string")return y7(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return y7(t,e)}}function y7(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function x7(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function YT(t,e,r){return e&&x7(t.prototype,e),r&&x7(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function JT(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Pd(t,e)}function Pd(t,e){return Pd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Pd(t,e)}var ZT=function(t){JT(e,t);function e(n){var i;return i=t.call(this,n)||this,i.nodes||(i.nodes=[]),i}var r=e.prototype;return r.append=function(i){return i.parent=this,this.nodes.push(i),this},r.prepend=function(i){return i.parent=this,this.nodes.unshift(i),this},r.at=function(i){return this.nodes[i]},r.index=function(i){return typeof i=="number"?i:this.nodes.indexOf(i)},r.removeChild=function(i){i=this.index(i),this.at(i).parent=void 0,this.nodes.splice(i,1);var s;for(var o in this.indexes)s=this.indexes[o],s>=i&&(this.indexes[o]=s-1);return this},r.removeAll=function(){for(var i=XT(this.nodes),s;!(s=i()).done;){var o=s.value;o.parent=void 0}return this.nodes=[],this},r.empty=function(){return this.removeAll()},r.insertAfter=function(i,s){s.parent=this;var o=this.index(i);this.nodes.splice(o+1,0,s),s.parent=this;var a;for(var l in this.indexes)a=this.indexes[l],o<=a&&(this.indexes[l]=a+1);return this},r.insertBefore=function(i,s){s.parent=this;var o=this.index(i);this.nodes.splice(o,0,s),s.parent=this;var a;for(var l in this.indexes)a=this.indexes[l],a<=o&&(this.indexes[l]=a+1);return this},r._findChildAtPosition=function(i,s){var o=void 0;return this.each(function(a){if(a.atPosition){var l=a.atPosition(i,s);if(l)return o=l,!1}else if(a.isAtPosition(i,s))return o=a,!1}),o},r.atPosition=function(i,s){if(this.isAtPosition(i,s))return this._findChildAtPosition(i,s)||this},r._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},r.each=function(i){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var s=this.lastEach;if(this.indexes[s]=0,!!this.length){for(var o,a;this.indexes[s]<this.length&&(o=this.indexes[s],a=i(this.at(o),o),a!==!1);)this.indexes[s]+=1;if(delete this.indexes[s],a===!1)return!1}},r.walk=function(i){return this.each(function(s,o){var a=i(s,o);if(a!==!1&&s.length&&(a=s.walk(i)),a===!1)return!1})},r.walkAttributes=function(i){var s=this;return this.walk(function(o){if(o.type===en.ATTRIBUTE)return i.call(s,o)})},r.walkClasses=function(i){var s=this;return this.walk(function(o){if(o.type===en.CLASS)return i.call(s,o)})},r.walkCombinators=function(i){var s=this;return this.walk(function(o){if(o.type===en.COMBINATOR)return i.call(s,o)})},r.walkComments=function(i){var s=this;return this.walk(function(o){if(o.type===en.COMMENT)return i.call(s,o)})},r.walkIds=function(i){var s=this;return this.walk(function(o){if(o.type===en.ID)return i.call(s,o)})},r.walkNesting=function(i){var s=this;return this.walk(function(o){if(o.type===en.NESTING)return i.call(s,o)})},r.walkPseudos=function(i){var s=this;return this.walk(function(o){if(o.type===en.PSEUDO)return i.call(s,o)})},r.walkTags=function(i){var s=this;return this.walk(function(o){if(o.type===en.TAG)return i.call(s,o)})},r.walkUniversals=function(i){var s=this;return this.walk(function(o){if(o.type===en.UNIVERSAL)return i.call(s,o)})},r.split=function(i){var s=this,o=[];return this.reduce(function(a,l,u){var c=i.call(s,l);return o.push(l),c?(a.push(o),o=[]):u===s.length-1&&a.push(o),a},[])},r.map=function(i){return this.nodes.map(i)},r.reduce=function(i,s){return this.nodes.reduce(i,s)},r.every=function(i){return this.nodes.every(i)},r.some=function(i){return this.nodes.some(i)},r.filter=function(i){return this.nodes.filter(i)},r.sort=function(i){return this.nodes.sort(i)},r.toString=function(){return this.map(String).join("")},YT(e,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),e}(WT.default);zo.default=ZT;_7.exports=zo.default});var Dd=V((jo,E7)=>{"use strict";d();m();p();jo.__esModule=!0;jo.default=void 0;var KT=tN(Uu()),eN=vt();function tN(t){return t&&t.__esModule?t:{default:t}}function C7(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function rN(t,e,r){return e&&C7(t.prototype,e),r&&C7(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function nN(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Id(t,e)}function Id(t,e){return Id=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Id(t,e)}var iN=function(t){nN(e,t);function e(n){var i;return i=t.call(this,n)||this,i.type=eN.ROOT,i}var r=e.prototype;return r.toString=function(){var i=this.reduce(function(s,o){return s.push(String(o)),s},[]).join(",");return this.trailingComma?i+",":i},r.error=function(i,s){return this._error?this._error(i,s):new Error(i)},rN(e,[{key:"errorGenerator",set:function(i){this._error=i}}]),e}(KT.default);jo.default=iN;E7.exports=jo.default});var $d=V((Vo,k7)=>{"use strict";d();m();p();Vo.__esModule=!0;Vo.default=void 0;var sN=aN(Uu()),oN=vt();function aN(t){return t&&t.__esModule?t:{default:t}}function lN(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Fd(t,e)}function Fd(t,e){return Fd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Fd(t,e)}var uN=function(t){lN(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=oN.SELECTOR,n}return e}(sN.default);Vo.default=uN;k7.exports=Vo.default});var Bu=V((rfe,A7)=>{"use strict";d();m();p();var cN={},fN=cN.hasOwnProperty,hN=function(e,r){if(!e)return r;var n={};for(var i in r)n[i]=fN.call(e,i)?e[i]:r[i];return n},dN=/[ -,\.\/:-@\[-\^`\{-~]/,pN=/[ -,\.\/:-@\[\]\^`\{-~]/,mN=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Ud=function t(e,r){r=hN(r,t.options),r.quotes!="single"&&r.quotes!="double"&&(r.quotes="single");for(var n=r.quotes=="double"?'"':"'",i=r.isIdentifier,s=e.charAt(0),o="",a=0,l=e.length;a<l;){var u=e.charAt(a++),c=u.charCodeAt(),f=void 0;if(c<32||c>126){if(c>=55296&&c<=56319&&a<l){var h=e.charCodeAt(a++);(h&64512)==56320?c=((c&1023)<<10)+(h&1023)+65536:a--}f="\\"+c.toString(16).toUpperCase()+" "}else r.escapeEverything?dN.test(u)?f="\\"+u:f="\\"+c.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(u)?f="\\"+c.toString(16).toUpperCase()+" ":u=="\\"||!i&&(u=='"'&&n==u||u=="'"&&n==u)||i&&pN.test(u)?f="\\"+u:f=u;o+=f}return i&&(/^-[-\d]/.test(o)?o="\\-"+o.slice(1):/\d/.test(s)&&(o="\\3"+s+" "+o.slice(1))),o=o.replace(mN,function(g,y,S){return y&&y.length%2?g:(y||"")+S}),!i&&r.wrap?n+o+n:o};Ud.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};Ud.version="3.0.0";A7.exports=Ud});var qd=V((Wo,T7)=>{"use strict";d();m();p();Wo.__esModule=!0;Wo.default=void 0;var gN=R7(Bu()),bN=Bo(),vN=R7(Kr()),wN=vt();function R7(t){return t&&t.__esModule?t:{default:t}}function L7(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function yN(t,e,r){return e&&L7(t.prototype,e),r&&L7(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function xN(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Bd(t,e)}function Bd(t,e){return Bd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Bd(t,e)}var SN=function(t){xN(e,t);function e(n){var i;return i=t.call(this,n)||this,i.type=wN.CLASS,i._constructed=!0,i}var r=e.prototype;return r.valueToString=function(){return"."+t.prototype.valueToString.call(this)},yN(e,[{key:"value",get:function(){return this._value},set:function(i){if(this._constructed){var s=(0,gN.default)(i,{isIdentifier:!0});s!==i?((0,bN.ensureObject)(this,"raws"),this.raws.value=s):this.raws&&delete this.raws.value}this._value=i}}]),e}(vN.default);Wo.default=SN;T7.exports=Wo.default});var jd=V((Ho,N7)=>{"use strict";d();m();p();Ho.__esModule=!0;Ho.default=void 0;var _N=EN(Kr()),CN=vt();function EN(t){return t&&t.__esModule?t:{default:t}}function kN(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,zd(t,e)}function zd(t,e){return zd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},zd(t,e)}var AN=function(t){kN(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=CN.COMMENT,n}return e}(_N.default);Ho.default=AN;N7.exports=Ho.default});var Wd=V((Go,M7)=>{"use strict";d();m();p();Go.__esModule=!0;Go.default=void 0;var LN=TN(Kr()),RN=vt();function TN(t){return t&&t.__esModule?t:{default:t}}function NN(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Vd(t,e)}function Vd(t,e){return Vd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Vd(t,e)}var MN=function(t){NN(e,t);function e(n){var i;return i=t.call(this,n)||this,i.type=RN.ID,i}var r=e.prototype;return r.valueToString=function(){return"#"+t.prototype.valueToString.call(this)},e}(LN.default);Go.default=MN;M7.exports=Go.default});var qu=V((Xo,I7)=>{"use strict";d();m();p();Xo.__esModule=!0;Xo.default=void 0;var ON=P7(Bu()),PN=Bo(),IN=P7(Kr());function P7(t){return t&&t.__esModule?t:{default:t}}function O7(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function DN(t,e,r){return e&&O7(t.prototype,e),r&&O7(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function FN(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Hd(t,e)}function Hd(t,e){return Hd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Hd(t,e)}var $N=function(t){FN(e,t);function e(){return t.apply(this,arguments)||this}var r=e.prototype;return r.qualifiedName=function(i){return this.namespace?this.namespaceString+"|"+i:i},r.valueToString=function(){return this.qualifiedName(t.prototype.valueToString.call(this))},DN(e,[{key:"namespace",get:function(){return this._namespace},set:function(i){if(i===!0||i==="*"||i==="&"){this._namespace=i,this.raws&&delete this.raws.namespace;return}var s=(0,ON.default)(i,{isIdentifier:!0});this._namespace=i,s!==i?((0,PN.ensureObject)(this,"raws"),this.raws.namespace=s):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(i){this.namespace=i}},{key:"namespaceString",get:function(){if(this.namespace){var i=this.stringifyProperty("namespace");return i===!0?"":i}else return""}}]),e}(IN.default);Xo.default=$N;I7.exports=Xo.default});var Xd=V((Qo,D7)=>{"use strict";d();m();p();Qo.__esModule=!0;Qo.default=void 0;var UN=qN(qu()),BN=vt();function qN(t){return t&&t.__esModule?t:{default:t}}function zN(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Gd(t,e)}function Gd(t,e){return Gd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Gd(t,e)}var jN=function(t){zN(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=BN.TAG,n}return e}(UN.default);Qo.default=jN;D7.exports=Qo.default});var Yd=V((Yo,F7)=>{"use strict";d();m();p();Yo.__esModule=!0;Yo.default=void 0;var VN=HN(Kr()),WN=vt();function HN(t){return t&&t.__esModule?t:{default:t}}function GN(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Qd(t,e)}function Qd(t,e){return Qd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Qd(t,e)}var XN=function(t){GN(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=WN.STRING,n}return e}(VN.default);Yo.default=XN;F7.exports=Yo.default});var Zd=V((Jo,$7)=>{"use strict";d();m();p();Jo.__esModule=!0;Jo.default=void 0;var QN=JN(Uu()),YN=vt();function JN(t){return t&&t.__esModule?t:{default:t}}function ZN(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Jd(t,e)}function Jd(t,e){return Jd=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},Jd(t,e)}var KN=function(t){ZN(e,t);function e(n){var i;return i=t.call(this,n)||this,i.type=YN.PSEUDO,i}var r=e.prototype;return r.toString=function(){var i=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),i,this.rawSpaceAfter].join("")},e}(QN.default);Jo.default=KN;$7.exports=Jo.default});var B7=V((Afe,U7)=>{d();m();p();U7.exports=eM;function eM(t,e){if(Kd("noDeprecation"))return t;var r=!1;function n(){if(!r){if(Kd("throwDeprecation"))throw new Error(e);Kd("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}return n}function Kd(t){try{if(!window.localStorage)return!1}catch{return!1}var e=window.localStorage[t];return e==null?!1:String(e).toLowerCase()==="true"}});var sp=V(ea=>{"use strict";d();m();p();ea.__esModule=!0;ea.default=void 0;ea.unescapeValue=ip;var Zo=np(Bu()),tM=np(Pu()),rM=np(qu()),nM=vt(),ep;function np(t){return t&&t.__esModule?t:{default:t}}function q7(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function iM(t,e,r){return e&&q7(t.prototype,e),r&&q7(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function sM(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,rp(t,e)}function rp(t,e){return rp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},rp(t,e)}var Ko=B7(),oM=/^('|")([^]*)\1$/,aM=Ko(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),lM=Ko(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),uM=Ko(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function ip(t){var e=!1,r=null,n=t,i=n.match(oM);return i&&(r=i[1],n=i[2]),n=(0,tM.default)(n),n!==t&&(e=!0),{deprecatedUsage:e,unescaped:n,quoteMark:r}}function cM(t){if(t.quoteMark!==void 0||t.value===void 0)return t;uM();var e=ip(t.value),r=e.quoteMark,n=e.unescaped;return t.raws||(t.raws={}),t.raws.value===void 0&&(t.raws.value=t.value),t.value=n,t.quoteMark=r,t}var zu=function(t){sM(e,t);function e(n){var i;return n===void 0&&(n={}),i=t.call(this,cM(n))||this,i.type=nM.ATTRIBUTE,i.raws=i.raws||{},Object.defineProperty(i.raws,"unquoted",{get:Ko(function(){return i.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Ko(function(){return i.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),i._constructed=!0,i}var r=e.prototype;return r.getQuotedValue=function(i){i===void 0&&(i={});var s=this._determineQuoteMark(i),o=tp[s],a=(0,Zo.default)(this._value,o);return a},r._determineQuoteMark=function(i){return i.smart?this.smartQuoteMark(i):this.preferredQuoteMark(i)},r.setValue=function(i,s){s===void 0&&(s={}),this._value=i,this._quoteMark=this._determineQuoteMark(s),this._syncRawValue()},r.smartQuoteMark=function(i){var s=this.value,o=s.replace(/[^']/g,"").length,a=s.replace(/[^"]/g,"").length;if(o+a===0){var l=(0,Zo.default)(s,{isIdentifier:!0});if(l===s)return e.NO_QUOTE;var u=this.preferredQuoteMark(i);if(u===e.NO_QUOTE){var c=this.quoteMark||i.quoteMark||e.DOUBLE_QUOTE,f=tp[c],h=(0,Zo.default)(s,f);if(h.length<l.length)return c}return u}else return a===o?this.preferredQuoteMark(i):a<o?e.DOUBLE_QUOTE:e.SINGLE_QUOTE},r.preferredQuoteMark=function(i){var s=i.preferCurrentQuoteMark?this.quoteMark:i.quoteMark;return s===void 0&&(s=i.preferCurrentQuoteMark?i.quoteMark:this.quoteMark),s===void 0&&(s=e.DOUBLE_QUOTE),s},r._syncRawValue=function(){var i=(0,Zo.default)(this._value,tp[this.quoteMark]);i===this._value?this.raws&&delete this.raws.value:this.raws.value=i},r._handleEscapes=function(i,s){if(this._constructed){var o=(0,Zo.default)(s,{isIdentifier:!0});o!==s?this.raws[i]=o:delete this.raws[i]}},r._spacesFor=function(i){var s={before:"",after:""},o=this.spaces[i]||{},a=this.raws.spaces&&this.raws.spaces[i]||{};return Object.assign(s,o,a)},r._stringFor=function(i,s,o){s===void 0&&(s=i),o===void 0&&(o=z7);var a=this._spacesFor(s);return o(this.stringifyProperty(i),a)},r.offsetOf=function(i){var s=1,o=this._spacesFor("attribute");if(s+=o.before.length,i==="namespace"||i==="ns")return this.namespace?s:-1;if(i==="attributeNS"||(s+=this.namespaceString.length,this.namespace&&(s+=1),i==="attribute"))return s;s+=this.stringifyProperty("attribute").length,s+=o.after.length;var a=this._spacesFor("operator");s+=a.before.length;var l=this.stringifyProperty("operator");if(i==="operator")return l?s:-1;s+=l.length,s+=a.after.length;var u=this._spacesFor("value");s+=u.before.length;var c=this.stringifyProperty("value");if(i==="value")return c?s:-1;s+=c.length,s+=u.after.length;var f=this._spacesFor("insensitive");return s+=f.before.length,i==="insensitive"&&this.insensitive?s:-1},r.toString=function(){var i=this,s=[this.rawSpaceBefore,"["];return s.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(s.push(this._stringFor("operator")),s.push(this._stringFor("value")),s.push(this._stringFor("insensitiveFlag","insensitive",function(o,a){return o.length>0&&!i.quoted&&a.before.length===0&&!(i.spaces.value&&i.spaces.value.after)&&(a.before=" "),z7(o,a)}))),s.push("]"),s.push(this.rawSpaceAfter),s.join("")},iM(e,[{key:"quoted",get:function(){var i=this.quoteMark;return i==="'"||i==='"'},set:function(i){lM()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(i){if(!this._constructed){this._quoteMark=i;return}this._quoteMark!==i&&(this._quoteMark=i,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(i){if(this._constructed){var s=ip(i),o=s.deprecatedUsage,a=s.unescaped,l=s.quoteMark;if(o&&aM(),a===this._value&&l===this._quoteMark)return;this._value=a,this._quoteMark=l,this._syncRawValue()}else this._value=i}},{key:"insensitive",get:function(){return this._insensitive},set:function(i){i||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=i}},{key:"attribute",get:function(){return this._attribute},set:function(i){this._handleEscapes("attribute",i),this._attribute=i}}]),e}(rM.default);ea.default=zu;zu.NO_QUOTE=null;zu.SINGLE_QUOTE="'";zu.DOUBLE_QUOTE='"';var tp=(ep={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},ep[null]={isIdentifier:!0},ep);function z7(t,e){return""+e.before+t+e.after}});var ap=V((ta,j7)=>{"use strict";d();m();p();ta.__esModule=!0;ta.default=void 0;var fM=dM(qu()),hM=vt();function dM(t){return t&&t.__esModule?t:{default:t}}function pM(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,op(t,e)}function op(t,e){return op=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},op(t,e)}var mM=function(t){pM(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=hM.UNIVERSAL,n.value="*",n}return e}(fM.default);ta.default=mM;j7.exports=ta.default});var up=V((ra,V7)=>{"use strict";d();m();p();ra.__esModule=!0;ra.default=void 0;var gM=vM(Kr()),bM=vt();function vM(t){return t&&t.__esModule?t:{default:t}}function wM(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,lp(t,e)}function lp(t,e){return lp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},lp(t,e)}var yM=function(t){wM(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=bM.COMBINATOR,n}return e}(gM.default);ra.default=yM;V7.exports=ra.default});var fp=V((na,W7)=>{"use strict";d();m();p();na.__esModule=!0;na.default=void 0;var xM=_M(Kr()),SM=vt();function _M(t){return t&&t.__esModule?t:{default:t}}function CM(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,cp(t,e)}function cp(t,e){return cp=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,i){return n.__proto__=i,n},cp(t,e)}var EM=function(t){CM(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=SM.NESTING,n.value="&",n}return e}(xM.default);na.default=EM;W7.exports=na.default});var G7=V((ju,H7)=>{"use strict";d();m();p();ju.__esModule=!0;ju.default=kM;function kM(t){return t.sort(function(e,r){return e-r})}H7.exports=ju.default});var hp=V(se=>{"use strict";d();m();p();se.__esModule=!0;se.word=se.tilde=se.tab=se.str=se.space=se.slash=se.singleQuote=se.semicolon=se.plus=se.pipe=se.openSquare=se.openParenthesis=se.newline=se.greaterThan=se.feed=se.equals=se.doubleQuote=se.dollar=se.cr=se.comment=se.comma=se.combinator=se.colon=se.closeSquare=se.closeParenthesis=se.caret=se.bang=se.backslash=se.at=se.asterisk=se.ampersand=void 0;var AM=38;se.ampersand=AM;var LM=42;se.asterisk=LM;var RM=64;se.at=RM;var TM=44;se.comma=TM;var NM=58;se.colon=NM;var MM=59;se.semicolon=MM;var OM=40;se.openParenthesis=OM;var PM=41;se.closeParenthesis=PM;var IM=91;se.openSquare=IM;var DM=93;se.closeSquare=DM;var FM=36;se.dollar=FM;var $M=126;se.tilde=$M;var UM=94;se.caret=UM;var BM=43;se.plus=BM;var qM=61;se.equals=qM;var zM=124;se.pipe=zM;var jM=62;se.greaterThan=jM;var VM=32;se.space=VM;var X7=39;se.singleQuote=X7;var WM=34;se.doubleQuote=WM;var HM=47;se.slash=HM;var GM=33;se.bang=GM;var XM=92;se.backslash=XM;var QM=13;se.cr=QM;var YM=12;se.feed=YM;var JM=10;se.newline=JM;var ZM=9;se.tab=ZM;var KM=X7;se.str=KM;var eO=-1;se.comment=eO;var tO=-2;se.word=tO;var rO=-3;se.combinator=rO});var J7=V(ia=>{"use strict";d();m();p();ia.__esModule=!0;ia.FIELDS=void 0;ia.default=uO;var re=nO(hp()),us,Ie;function Y7(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(Y7=function(i){return i?r:e})(t)}function nO(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=Y7(e);if(r&&r.has(t))return r.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var o=i?Object.getOwnPropertyDescriptor(t,s):null;o&&(o.get||o.set)?Object.defineProperty(n,s,o):n[s]=t[s]}return n.default=t,r&&r.set(t,n),n}var iO=(us={},us[re.tab]=!0,us[re.newline]=!0,us[re.cr]=!0,us[re.feed]=!0,us),sO=(Ie={},Ie[re.space]=!0,Ie[re.tab]=!0,Ie[re.newline]=!0,Ie[re.cr]=!0,Ie[re.feed]=!0,Ie[re.ampersand]=!0,Ie[re.asterisk]=!0,Ie[re.bang]=!0,Ie[re.comma]=!0,Ie[re.colon]=!0,Ie[re.semicolon]=!0,Ie[re.openParenthesis]=!0,Ie[re.closeParenthesis]=!0,Ie[re.openSquare]=!0,Ie[re.closeSquare]=!0,Ie[re.singleQuote]=!0,Ie[re.doubleQuote]=!0,Ie[re.plus]=!0,Ie[re.pipe]=!0,Ie[re.tilde]=!0,Ie[re.greaterThan]=!0,Ie[re.equals]=!0,Ie[re.dollar]=!0,Ie[re.caret]=!0,Ie[re.slash]=!0,Ie),dp={},Q7="0123456789abcdefABCDEF";for(Vu=0;Vu<Q7.length;Vu++)dp[Q7.charCodeAt(Vu)]=!0;var Vu;function oO(t,e){var r=e,n;do{if(n=t.charCodeAt(r),sO[n])return r-1;n===re.backslash?r=aO(t,r)+1:r++}while(r<t.length);return r-1}function aO(t,e){var r=e,n=t.charCodeAt(r+1);if(!iO[n])if(dp[n]){var i=0;do r++,i++,n=t.charCodeAt(r+1);while(dp[n]&&i<6);i<6&&n===re.space&&r++}else r++;return r}var lO={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};ia.FIELDS=lO;function uO(t){var e=[],r=t.css.valueOf(),n=r,i=n.length,s=-1,o=1,a=0,l=0,u,c,f,h,g,y,S,x,_,k,T,N,L;function P(D,$){if(t.safe)r+=$,_=r.length-1;else throw t.error("Unclosed "+D,o,a-s,a)}for(;a<i;){switch(u=r.charCodeAt(a),u===re.newline&&(s=a,o+=1),u){case re.space:case re.tab:case re.newline:case re.cr:case re.feed:_=a;do _+=1,u=r.charCodeAt(_),u===re.newline&&(s=_,o+=1);while(u===re.space||u===re.newline||u===re.tab||u===re.cr||u===re.feed);L=re.space,h=o,f=_-s-1,l=_;break;case re.plus:case re.greaterThan:case re.tilde:case re.pipe:_=a;do _+=1,u=r.charCodeAt(_);while(u===re.plus||u===re.greaterThan||u===re.tilde||u===re.pipe);L=re.combinator,h=o,f=a-s,l=_;break;case re.asterisk:case re.ampersand:case re.bang:case re.comma:case re.equals:case re.dollar:case re.caret:case re.openSquare:case re.closeSquare:case re.colon:case re.semicolon:case re.openParenthesis:case re.closeParenthesis:_=a,L=u,h=o,f=a-s,l=_+1;break;case re.singleQuote:case re.doubleQuote:N=u===re.singleQuote?"'":'"',_=a;do for(g=!1,_=r.indexOf(N,_+1),_===-1&&P("quote",N),y=_;r.charCodeAt(y-1)===re.backslash;)y-=1,g=!g;while(g);L=re.str,h=o,f=a-s,l=_+1;break;default:u===re.slash&&r.charCodeAt(a+1)===re.asterisk?(_=r.indexOf("*/",a+2)+1,_===0&&P("comment","*/"),c=r.slice(a,_+1),x=c.split(`
41
+ `),S=x.length-1,S>0?(k=o+S,T=_-x[S].length):(k=o,T=s),L=re.comment,o=k,h=k,f=_-T):u===re.slash?(_=a,L=u,h=o,f=a-s,l=_+1):(_=oO(r,a),L=re.word,h=o,f=_-s),l=_+1;break}e.push([L,o,a-s,h,f,a,l]),T&&(s=T,T=null),a=l}return e}});var sw=V((sa,iw)=>{"use strict";d();m();p();sa.__esModule=!0;sa.default=void 0;var cO=Jt(Dd()),pp=Jt($d()),fO=Jt(qd()),Z7=Jt(jd()),hO=Jt(Wd()),dO=Jt(Xd()),mp=Jt(Yd()),pO=Jt(Zd()),K7=Wu(sp()),mO=Jt(ap()),gp=Jt(up()),gO=Jt(fp()),bO=Jt(G7()),ee=Wu(J7()),ie=Wu(hp()),vO=Wu(vt()),He=Bo(),hi,bp;function nw(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(nw=function(i){return i?r:e})(t)}function Wu(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=nw(e);if(r&&r.has(t))return r.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var o=i?Object.getOwnPropertyDescriptor(t,s):null;o&&(o.get||o.set)?Object.defineProperty(n,s,o):n[s]=t[s]}return n.default=t,r&&r.set(t,n),n}function Jt(t){return t&&t.__esModule?t:{default:t}}function ew(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function wO(t,e,r){return e&&ew(t.prototype,e),r&&ew(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var yp=(hi={},hi[ie.space]=!0,hi[ie.cr]=!0,hi[ie.feed]=!0,hi[ie.newline]=!0,hi[ie.tab]=!0,hi),yO=Object.assign({},yp,(bp={},bp[ie.comment]=!0,bp));function tw(t){return{line:t[ee.FIELDS.START_LINE],column:t[ee.FIELDS.START_COL]}}function rw(t){return{line:t[ee.FIELDS.END_LINE],column:t[ee.FIELDS.END_COL]}}function di(t,e,r,n){return{start:{line:t,column:e},end:{line:r,column:n}}}function cs(t){return di(t[ee.FIELDS.START_LINE],t[ee.FIELDS.START_COL],t[ee.FIELDS.END_LINE],t[ee.FIELDS.END_COL])}function vp(t,e){if(t)return di(t[ee.FIELDS.START_LINE],t[ee.FIELDS.START_COL],e[ee.FIELDS.END_LINE],e[ee.FIELDS.END_COL])}function fs(t,e){var r=t[e];if(typeof r=="string")return r.indexOf("\\")!==-1&&((0,He.ensureObject)(t,"raws"),t[e]=(0,He.unesc)(r),t.raws[e]===void 0&&(t.raws[e]=r)),t}function wp(t,e){for(var r=-1,n=[];(r=t.indexOf(e,r+1))!==-1;)n.push(r);return n}function xO(){var t=Array.prototype.concat.apply([],arguments);return t.filter(function(e,r){return r===t.indexOf(e)})}var SO=function(){function t(r,n){n===void 0&&(n={}),this.rule=r,this.options=Object.assign({lossy:!1,safe:!1},n),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,ee.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var i=vp(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new cO.default({source:i}),this.root.errorGenerator=this._errorGenerator();var s=new pp.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(s),this.current=s,this.loop()}var e=t.prototype;return e._errorGenerator=function(){var n=this;return function(i,s){return typeof n.rule=="string"?new Error(i):n.rule.error(i,s)}},e.attribute=function(){var n=[],i=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[ee.FIELDS.TYPE]!==ie.closeSquare;)n.push(this.currToken),this.position++;if(this.currToken[ee.FIELDS.TYPE]!==ie.closeSquare)return this.expected("closing square bracket",this.currToken[ee.FIELDS.START_POS]);var s=n.length,o={source:di(i[1],i[2],this.currToken[3],this.currToken[4]),sourceIndex:i[ee.FIELDS.START_POS]};if(s===1&&!~[ie.word].indexOf(n[0][ee.FIELDS.TYPE]))return this.expected("attribute",n[0][ee.FIELDS.START_POS]);for(var a=0,l="",u="",c=null,f=!1;a<s;){var h=n[a],g=this.content(h),y=n[a+1];switch(h[ee.FIELDS.TYPE]){case ie.space:if(f=!0,this.options.lossy)break;if(c){(0,He.ensureObject)(o,"spaces",c);var S=o.spaces[c].after||"";o.spaces[c].after=S+g;var x=(0,He.getProp)(o,"raws","spaces",c,"after")||null;x&&(o.raws.spaces[c].after=x+g)}else l=l+g,u=u+g;break;case ie.asterisk:if(y[ee.FIELDS.TYPE]===ie.equals)o.operator=g,c="operator";else if((!o.namespace||c==="namespace"&&!f)&&y){l&&((0,He.ensureObject)(o,"spaces","attribute"),o.spaces.attribute.before=l,l=""),u&&((0,He.ensureObject)(o,"raws","spaces","attribute"),o.raws.spaces.attribute.before=l,u=""),o.namespace=(o.namespace||"")+g;var _=(0,He.getProp)(o,"raws","namespace")||null;_&&(o.raws.namespace+=g),c="namespace"}f=!1;break;case ie.dollar:if(c==="value"){var k=(0,He.getProp)(o,"raws","value");o.value+="$",k&&(o.raws.value=k+"$");break}case ie.caret:y[ee.FIELDS.TYPE]===ie.equals&&(o.operator=g,c="operator"),f=!1;break;case ie.combinator:if(g==="~"&&y[ee.FIELDS.TYPE]===ie.equals&&(o.operator=g,c="operator"),g!=="|"){f=!1;break}y[ee.FIELDS.TYPE]===ie.equals?(o.operator=g,c="operator"):!o.namespace&&!o.attribute&&(o.namespace=!0),f=!1;break;case ie.word:if(y&&this.content(y)==="|"&&n[a+2]&&n[a+2][ee.FIELDS.TYPE]!==ie.equals&&!o.operator&&!o.namespace)o.namespace=g,c="namespace";else if(!o.attribute||c==="attribute"&&!f){l&&((0,He.ensureObject)(o,"spaces","attribute"),o.spaces.attribute.before=l,l=""),u&&((0,He.ensureObject)(o,"raws","spaces","attribute"),o.raws.spaces.attribute.before=u,u=""),o.attribute=(o.attribute||"")+g;var T=(0,He.getProp)(o,"raws","attribute")||null;T&&(o.raws.attribute+=g),c="attribute"}else if(!o.value&&o.value!==""||c==="value"&&!(f||o.quoteMark)){var N=(0,He.unesc)(g),L=(0,He.getProp)(o,"raws","value")||"",P=o.value||"";o.value=P+N,o.quoteMark=null,(N!==g||L)&&((0,He.ensureObject)(o,"raws"),o.raws.value=(L||P)+g),c="value"}else{var D=g==="i"||g==="I";(o.value||o.value==="")&&(o.quoteMark||f)?(o.insensitive=D,(!D||g==="I")&&((0,He.ensureObject)(o,"raws"),o.raws.insensitiveFlag=g),c="insensitive",l&&((0,He.ensureObject)(o,"spaces","insensitive"),o.spaces.insensitive.before=l,l=""),u&&((0,He.ensureObject)(o,"raws","spaces","insensitive"),o.raws.spaces.insensitive.before=u,u="")):(o.value||o.value==="")&&(c="value",o.value+=g,o.raws.value&&(o.raws.value+=g))}f=!1;break;case ie.str:if(!o.attribute||!o.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:h[ee.FIELDS.START_POS]});var $=(0,K7.unescapeValue)(g),Q=$.unescaped,O=$.quoteMark;o.value=Q,o.quoteMark=O,c="value",(0,He.ensureObject)(o,"raws"),o.raws.value=g,f=!1;break;case ie.equals:if(!o.attribute)return this.expected("attribute",h[ee.FIELDS.START_POS],g);if(o.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:h[ee.FIELDS.START_POS]});o.operator=o.operator?o.operator+g:g,c="operator",f=!1;break;case ie.comment:if(c)if(f||y&&y[ee.FIELDS.TYPE]===ie.space||c==="insensitive"){var I=(0,He.getProp)(o,"spaces",c,"after")||"",z=(0,He.getProp)(o,"raws","spaces",c,"after")||I;(0,He.ensureObject)(o,"raws","spaces",c),o.raws.spaces[c].after=z+g}else{var G=o[c]||"",j=(0,He.getProp)(o,"raws",c)||G;(0,He.ensureObject)(o,"raws"),o.raws[c]=j+g}else u=u+g;break;default:return this.error('Unexpected "'+g+'" found.',{index:h[ee.FIELDS.START_POS]})}a++}fs(o,"attribute"),fs(o,"namespace"),this.newNode(new K7.default(o)),this.position++},e.parseWhitespaceEquivalentTokens=function(n){n<0&&(n=this.tokens.length);var i=this.position,s=[],o="",a=void 0;do if(yp[this.currToken[ee.FIELDS.TYPE]])this.options.lossy||(o+=this.content());else if(this.currToken[ee.FIELDS.TYPE]===ie.comment){var l={};o&&(l.before=o,o=""),a=new Z7.default({value:this.content(),source:cs(this.currToken),sourceIndex:this.currToken[ee.FIELDS.START_POS],spaces:l}),s.push(a)}while(++this.position<n);if(o){if(a)a.spaces.after=o;else if(!this.options.lossy){var u=this.tokens[i],c=this.tokens[this.position-1];s.push(new mp.default({value:"",source:di(u[ee.FIELDS.START_LINE],u[ee.FIELDS.START_COL],c[ee.FIELDS.END_LINE],c[ee.FIELDS.END_COL]),sourceIndex:u[ee.FIELDS.START_POS],spaces:{before:o,after:""}}))}}return s},e.convertWhitespaceNodesToSpace=function(n,i){var s=this;i===void 0&&(i=!1);var o="",a="";n.forEach(function(u){var c=s.lossySpace(u.spaces.before,i),f=s.lossySpace(u.rawSpaceBefore,i);o+=c+s.lossySpace(u.spaces.after,i&&c.length===0),a+=c+u.value+s.lossySpace(u.rawSpaceAfter,i&&f.length===0)}),a===o&&(a=void 0);var l={space:o,rawSpace:a};return l},e.isNamedCombinator=function(n){return n===void 0&&(n=this.position),this.tokens[n+0]&&this.tokens[n+0][ee.FIELDS.TYPE]===ie.slash&&this.tokens[n+1]&&this.tokens[n+1][ee.FIELDS.TYPE]===ie.word&&this.tokens[n+2]&&this.tokens[n+2][ee.FIELDS.TYPE]===ie.slash},e.namedCombinator=function(){if(this.isNamedCombinator()){var n=this.content(this.tokens[this.position+1]),i=(0,He.unesc)(n).toLowerCase(),s={};i!==n&&(s.value="/"+n+"/");var o=new gp.default({value:"/"+i+"/",source:di(this.currToken[ee.FIELDS.START_LINE],this.currToken[ee.FIELDS.START_COL],this.tokens[this.position+2][ee.FIELDS.END_LINE],this.tokens[this.position+2][ee.FIELDS.END_COL]),sourceIndex:this.currToken[ee.FIELDS.START_POS],raws:s});return this.position=this.position+3,o}else this.unexpected()},e.combinator=function(){var n=this;if(this.content()==="|")return this.namespace();var i=this.locateNextMeaningfulToken(this.position);if(i<0||this.tokens[i][ee.FIELDS.TYPE]===ie.comma||this.tokens[i][ee.FIELDS.TYPE]===ie.closeParenthesis){var s=this.parseWhitespaceEquivalentTokens(i);if(s.length>0){var o=this.current.last;if(o){var a=this.convertWhitespaceNodesToSpace(s),l=a.space,u=a.rawSpace;u!==void 0&&(o.rawSpaceAfter+=u),o.spaces.after+=l}else s.forEach(function(L){return n.newNode(L)})}return}var c=this.currToken,f=void 0;i>this.position&&(f=this.parseWhitespaceEquivalentTokens(i));var h;if(this.isNamedCombinator()?h=this.namedCombinator():this.currToken[ee.FIELDS.TYPE]===ie.combinator?(h=new gp.default({value:this.content(),source:cs(this.currToken),sourceIndex:this.currToken[ee.FIELDS.START_POS]}),this.position++):yp[this.currToken[ee.FIELDS.TYPE]]||f||this.unexpected(),h){if(f){var g=this.convertWhitespaceNodesToSpace(f),y=g.space,S=g.rawSpace;h.spaces.before=y,h.rawSpaceBefore=S}}else{var x=this.convertWhitespaceNodesToSpace(f,!0),_=x.space,k=x.rawSpace;k||(k=_);var T={},N={spaces:{}};_.endsWith(" ")&&k.endsWith(" ")?(T.before=_.slice(0,_.length-1),N.spaces.before=k.slice(0,k.length-1)):_.startsWith(" ")&&k.startsWith(" ")?(T.after=_.slice(1),N.spaces.after=k.slice(1)):N.value=k,h=new gp.default({value:" ",source:vp(c,this.tokens[this.position-1]),sourceIndex:c[ee.FIELDS.START_POS],spaces:T,raws:N})}return this.currToken&&this.currToken[ee.FIELDS.TYPE]===ie.space&&(h.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(h)},e.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var n=new pp.default({source:{start:tw(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][ee.FIELDS.START_POS]});this.current.parent.append(n),this.current=n,this.position++},e.comment=function(){var n=this.currToken;this.newNode(new Z7.default({value:this.content(),source:cs(n),sourceIndex:n[ee.FIELDS.START_POS]})),this.position++},e.error=function(n,i){throw this.root.error(n,i)},e.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[ee.FIELDS.START_POS]})},e.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[ee.FIELDS.START_POS])},e.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[ee.FIELDS.START_POS])},e.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[ee.FIELDS.START_POS])},e.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[ee.FIELDS.START_POS])},e.namespace=function(){var n=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[ee.FIELDS.TYPE]===ie.word)return this.position++,this.word(n);if(this.nextToken[ee.FIELDS.TYPE]===ie.asterisk)return this.position++,this.universal(n);this.unexpectedPipe()},e.nesting=function(){if(this.nextToken){var n=this.content(this.nextToken);if(n==="|"){this.position++;return}}var i=this.currToken;this.newNode(new gO.default({value:this.content(),source:cs(i),sourceIndex:i[ee.FIELDS.START_POS]})),this.position++},e.parentheses=function(){var n=this.current.last,i=1;if(this.position++,n&&n.type===vO.PSEUDO){var s=new pp.default({source:{start:tw(this.tokens[this.position])},sourceIndex:this.tokens[this.position][ee.FIELDS.START_POS]}),o=this.current;for(n.append(s),this.current=s;this.position<this.tokens.length&&i;)this.currToken[ee.FIELDS.TYPE]===ie.openParenthesis&&i++,this.currToken[ee.FIELDS.TYPE]===ie.closeParenthesis&&i--,i?this.parse():(this.current.source.end=rw(this.currToken),this.current.parent.source.end=rw(this.currToken),this.position++);this.current=o}else{for(var a=this.currToken,l="(",u;this.position<this.tokens.length&&i;)this.currToken[ee.FIELDS.TYPE]===ie.openParenthesis&&i++,this.currToken[ee.FIELDS.TYPE]===ie.closeParenthesis&&i--,u=this.currToken,l+=this.parseParenthesisToken(this.currToken),this.position++;n?n.appendToPropertyAndEscape("value",l,l):this.newNode(new mp.default({value:l,source:di(a[ee.FIELDS.START_LINE],a[ee.FIELDS.START_COL],u[ee.FIELDS.END_LINE],u[ee.FIELDS.END_COL]),sourceIndex:a[ee.FIELDS.START_POS]}))}if(i)return this.expected("closing parenthesis",this.currToken[ee.FIELDS.START_POS])},e.pseudo=function(){for(var n=this,i="",s=this.currToken;this.currToken&&this.currToken[ee.FIELDS.TYPE]===ie.colon;)i+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[ee.FIELDS.TYPE]===ie.word)this.splitWord(!1,function(o,a){i+=o,n.newNode(new pO.default({value:i,source:vp(s,n.currToken),sourceIndex:s[ee.FIELDS.START_POS]})),a>1&&n.nextToken&&n.nextToken[ee.FIELDS.TYPE]===ie.openParenthesis&&n.error("Misplaced parenthesis.",{index:n.nextToken[ee.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[ee.FIELDS.START_POS])},e.space=function(){var n=this.content();this.position===0||this.prevToken[ee.FIELDS.TYPE]===ie.comma||this.prevToken[ee.FIELDS.TYPE]===ie.openParenthesis||this.current.nodes.every(function(i){return i.type==="comment"})?(this.spaces=this.optionalSpace(n),this.position++):this.position===this.tokens.length-1||this.nextToken[ee.FIELDS.TYPE]===ie.comma||this.nextToken[ee.FIELDS.TYPE]===ie.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(n),this.position++):this.combinator()},e.string=function(){var n=this.currToken;this.newNode(new mp.default({value:this.content(),source:cs(n),sourceIndex:n[ee.FIELDS.START_POS]})),this.position++},e.universal=function(n){var i=this.nextToken;if(i&&this.content(i)==="|")return this.position++,this.namespace();var s=this.currToken;this.newNode(new mO.default({value:this.content(),source:cs(s),sourceIndex:s[ee.FIELDS.START_POS]}),n),this.position++},e.splitWord=function(n,i){for(var s=this,o=this.nextToken,a=this.content();o&&~[ie.dollar,ie.caret,ie.equals,ie.word].indexOf(o[ee.FIELDS.TYPE]);){this.position++;var l=this.content();if(a+=l,l.lastIndexOf("\\")===l.length-1){var u=this.nextToken;u&&u[ee.FIELDS.TYPE]===ie.space&&(a+=this.requiredSpace(this.content(u)),this.position++)}o=this.nextToken}var c=wp(a,".").filter(function(y){var S=a[y-1]==="\\",x=/^\d+\.\d+%$/.test(a);return!S&&!x}),f=wp(a,"#").filter(function(y){return a[y-1]!=="\\"}),h=wp(a,"#{");h.length&&(f=f.filter(function(y){return!~h.indexOf(y)}));var g=(0,bO.default)(xO([0].concat(c,f)));g.forEach(function(y,S){var x=g[S+1]||a.length,_=a.slice(y,x);if(S===0&&i)return i.call(s,_,g.length);var k,T=s.currToken,N=T[ee.FIELDS.START_POS]+g[S],L=di(T[1],T[2]+y,T[3],T[2]+(x-1));if(~c.indexOf(y)){var P={value:_.slice(1),source:L,sourceIndex:N};k=new fO.default(fs(P,"value"))}else if(~f.indexOf(y)){var D={value:_.slice(1),source:L,sourceIndex:N};k=new hO.default(fs(D,"value"))}else{var $={value:_,source:L,sourceIndex:N};fs($,"value"),k=new dO.default($)}s.newNode(k,n),n=null}),this.position++},e.word=function(n){var i=this.nextToken;return i&&this.content(i)==="|"?(this.position++,this.namespace()):this.splitWord(n)},e.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},e.parse=function(n){switch(this.currToken[ee.FIELDS.TYPE]){case ie.space:this.space();break;case ie.comment:this.comment();break;case ie.openParenthesis:this.parentheses();break;case ie.closeParenthesis:n&&this.missingParenthesis();break;case ie.openSquare:this.attribute();break;case ie.dollar:case ie.caret:case ie.equals:case ie.word:this.word();break;case ie.colon:this.pseudo();break;case ie.comma:this.comma();break;case ie.asterisk:this.universal();break;case ie.ampersand:this.nesting();break;case ie.slash:case ie.combinator:this.combinator();break;case ie.str:this.string();break;case ie.closeSquare:this.missingSquareBracket();case ie.semicolon:this.missingBackslash();default:this.unexpected()}},e.expected=function(n,i,s){if(Array.isArray(n)){var o=n.pop();n=n.join(", ")+" or "+o}var a=/^[aeiou]/.test(n[0])?"an":"a";return s?this.error("Expected "+a+" "+n+', found "'+s+'" instead.',{index:i}):this.error("Expected "+a+" "+n+".",{index:i})},e.requiredSpace=function(n){return this.options.lossy?" ":n},e.optionalSpace=function(n){return this.options.lossy?"":n},e.lossySpace=function(n,i){return this.options.lossy?i?" ":"":n},e.parseParenthesisToken=function(n){var i=this.content(n);return n[ee.FIELDS.TYPE]===ie.space?this.requiredSpace(i):i},e.newNode=function(n,i){return i&&(/^ +$/.test(i)&&(this.options.lossy||(this.spaces=(this.spaces||"")+i),i=!0),n.namespace=i,fs(n,"namespace")),this.spaces&&(n.spaces.before=this.spaces,this.spaces=""),this.current.append(n)},e.content=function(n){return n===void 0&&(n=this.currToken),this.css.slice(n[ee.FIELDS.START_POS],n[ee.FIELDS.END_POS])},e.locateNextMeaningfulToken=function(n){n===void 0&&(n=this.position+1);for(var i=n;i<this.tokens.length;)if(yO[this.tokens[i][ee.FIELDS.TYPE]]){i++;continue}else return i;return-1},wO(t,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),t}();sa.default=SO;iw.exports=sa.default});var aw=V((oa,ow)=>{"use strict";d();m();p();oa.__esModule=!0;oa.default=void 0;var _O=CO(sw());function CO(t){return t&&t.__esModule?t:{default:t}}var EO=function(){function t(r,n){this.func=r||function(){},this.funcRes=null,this.options=n}var e=t.prototype;return e._shouldUpdateSelector=function(n,i){i===void 0&&(i={});var s=Object.assign({},this.options,i);return s.updateSelector===!1?!1:typeof n!="string"},e._isLossy=function(n){n===void 0&&(n={});var i=Object.assign({},this.options,n);return i.lossless===!1},e._root=function(n,i){i===void 0&&(i={});var s=new _O.default(n,this._parseOptions(i));return s.root},e._parseOptions=function(n){return{lossy:this._isLossy(n)}},e._run=function(n,i){var s=this;return i===void 0&&(i={}),new Promise(function(o,a){try{var l=s._root(n,i);Promise.resolve(s.func(l)).then(function(u){var c=void 0;return s._shouldUpdateSelector(n,i)&&(c=l.toString(),n.selector=c),{transform:u,root:l,string:c}}).then(o,a)}catch(u){a(u);return}})},e._runSync=function(n,i){i===void 0&&(i={});var s=this._root(n,i),o=this.func(s);if(o&&typeof o.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var a=void 0;return i.updateSelector&&typeof n!="string"&&(a=s.toString(),n.selector=a),{transform:o,root:s,string:a}},e.ast=function(n,i){return this._run(n,i).then(function(s){return s.root})},e.astSync=function(n,i){return this._runSync(n,i).root},e.transform=function(n,i){return this._run(n,i).then(function(s){return s.transform})},e.transformSync=function(n,i){return this._runSync(n,i).transform},e.process=function(n,i){return this._run(n,i).then(function(s){return s.string||s.root.toString()})},e.processSync=function(n,i){var s=this._runSync(n,i);return s.string||s.root.toString()},t}();oa.default=EO;ow.exports=oa.default});var lw=V(Be=>{"use strict";d();m();p();Be.__esModule=!0;Be.universal=Be.tag=Be.string=Be.selector=Be.root=Be.pseudo=Be.nesting=Be.id=Be.comment=Be.combinator=Be.className=Be.attribute=void 0;var kO=Zt(sp()),AO=Zt(qd()),LO=Zt(up()),RO=Zt(jd()),TO=Zt(Wd()),NO=Zt(fp()),MO=Zt(Zd()),OO=Zt(Dd()),PO=Zt($d()),IO=Zt(Yd()),DO=Zt(Xd()),FO=Zt(ap());function Zt(t){return t&&t.__esModule?t:{default:t}}var $O=function(e){return new kO.default(e)};Be.attribute=$O;var UO=function(e){return new AO.default(e)};Be.className=UO;var BO=function(e){return new LO.default(e)};Be.combinator=BO;var qO=function(e){return new RO.default(e)};Be.comment=qO;var zO=function(e){return new TO.default(e)};Be.id=zO;var jO=function(e){return new NO.default(e)};Be.nesting=jO;var VO=function(e){return new MO.default(e)};Be.pseudo=VO;var WO=function(e){return new OO.default(e)};Be.root=WO;var HO=function(e){return new PO.default(e)};Be.selector=HO;var GO=function(e){return new IO.default(e)};Be.string=GO;var XO=function(e){return new DO.default(e)};Be.tag=XO;var QO=function(e){return new FO.default(e)};Be.universal=QO});var hw=V(Le=>{"use strict";d();m();p();Le.__esModule=!0;Le.isComment=Le.isCombinator=Le.isClassName=Le.isAttribute=void 0;Le.isContainer=aP;Le.isIdentifier=void 0;Le.isNamespace=lP;Le.isNesting=void 0;Le.isNode=xp;Le.isPseudo=void 0;Le.isPseudoClass=oP;Le.isPseudoElement=fw;Le.isUniversal=Le.isTag=Le.isString=Le.isSelector=Le.isRoot=void 0;var Ge=vt(),Lt,YO=(Lt={},Lt[Ge.ATTRIBUTE]=!0,Lt[Ge.CLASS]=!0,Lt[Ge.COMBINATOR]=!0,Lt[Ge.COMMENT]=!0,Lt[Ge.ID]=!0,Lt[Ge.NESTING]=!0,Lt[Ge.PSEUDO]=!0,Lt[Ge.ROOT]=!0,Lt[Ge.SELECTOR]=!0,Lt[Ge.STRING]=!0,Lt[Ge.TAG]=!0,Lt[Ge.UNIVERSAL]=!0,Lt);function xp(t){return typeof t=="object"&&YO[t.type]}function Kt(t,e){return xp(e)&&e.type===t}var uw=Kt.bind(null,Ge.ATTRIBUTE);Le.isAttribute=uw;var JO=Kt.bind(null,Ge.CLASS);Le.isClassName=JO;var ZO=Kt.bind(null,Ge.COMBINATOR);Le.isCombinator=ZO;var KO=Kt.bind(null,Ge.COMMENT);Le.isComment=KO;var eP=Kt.bind(null,Ge.ID);Le.isIdentifier=eP;var tP=Kt.bind(null,Ge.NESTING);Le.isNesting=tP;var Sp=Kt.bind(null,Ge.PSEUDO);Le.isPseudo=Sp;var rP=Kt.bind(null,Ge.ROOT);Le.isRoot=rP;var nP=Kt.bind(null,Ge.SELECTOR);Le.isSelector=nP;var iP=Kt.bind(null,Ge.STRING);Le.isString=iP;var cw=Kt.bind(null,Ge.TAG);Le.isTag=cw;var sP=Kt.bind(null,Ge.UNIVERSAL);Le.isUniversal=sP;function fw(t){return Sp(t)&&t.value&&(t.value.startsWith("::")||t.value.toLowerCase()===":before"||t.value.toLowerCase()===":after"||t.value.toLowerCase()===":first-letter"||t.value.toLowerCase()===":first-line")}function oP(t){return Sp(t)&&!fw(t)}function aP(t){return!!(xp(t)&&t.walk)}function lP(t){return uw(t)||cw(t)}});var dw=V(dr=>{"use strict";d();m();p();dr.__esModule=!0;var _p=vt();Object.keys(_p).forEach(function(t){t==="default"||t==="__esModule"||t in dr&&dr[t]===_p[t]||(dr[t]=_p[t])});var Cp=lw();Object.keys(Cp).forEach(function(t){t==="default"||t==="__esModule"||t in dr&&dr[t]===Cp[t]||(dr[t]=Cp[t])});var Ep=hw();Object.keys(Ep).forEach(function(t){t==="default"||t==="__esModule"||t in dr&&dr[t]===Ep[t]||(dr[t]=Ep[t])})});var er=V((aa,mw)=>{"use strict";d();m();p();aa.__esModule=!0;aa.default=void 0;var uP=hP(aw()),cP=fP(dw());function pw(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(pw=function(i){return i?r:e})(t)}function fP(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=pw(e);if(r&&r.has(t))return r.get(t);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if(s!=="default"&&Object.prototype.hasOwnProperty.call(t,s)){var o=i?Object.getOwnPropertyDescriptor(t,s):null;o&&(o.get||o.set)?Object.defineProperty(n,s,o):n[s]=t[s]}return n.default=t,r&&r.set(t,n),n}function hP(t){return t&&t.__esModule?t:{default:t}}var kp=function(e){return new uP.default(e)};Object.assign(kp,cP);delete kp.__esModule;var dP=kp;aa.default=dP;mw.exports=aa.default});var U0=V(()=>{d();m();p()});var Ic=V((V4e,Kx)=>{"use strict";d();m();p();var Jx=D1(),Zx=U0(),Pa=class t extends Error{constructor(e,r,n,i,s,o){super(e),this.name="CssSyntaxError",this.reason=e,s&&(this.file=s),i&&(this.source=i),o&&(this.plugin=o),typeof r<"u"&&typeof n<"u"&&(typeof r=="number"?(this.line=r,this.column=n):(this.line=r.line,this.column=r.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,t)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let r=this.source;e==null&&(e=Jx.isColorSupported),Zx&&e&&(r=Zx(r));let n=r.split(/\r?\n/),i=Math.max(this.line-3,0),s=Math.min(this.line+2,n.length),o=String(s).length,a,l;if(e){let{bold:u,gray:c,red:f}=Jx.createColors(!0);a=h=>u(f(h)),l=h=>c(h)}else a=l=u=>u;return n.slice(i,s).map((u,c)=>{let f=i+1+c,h=" "+(" "+f).slice(-o)+" | ";if(f===this.line){let g=l(h.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+l(h)+u+`
42
+ `+g+a("^")}return" "+l(h)+u}).join(`
43
+ `)}toString(){let e=this.showSourceCode();return e&&(e=`
44
+
45
+ `+e+`
46
+ `),this.name+": "+this.message+e}};Kx.exports=Pa;Pa.default=Pa});var Dc=V((X4e,B0)=>{"use strict";d();m();p();B0.exports.isClean=Symbol("isClean");B0.exports.my=Symbol("my")});var q0=V((Z4e,t6)=>{"use strict";d();m();p();var e6={after:`
47
+ `,beforeClose:`
48
+ `,beforeComment:`
49
+ `,beforeDecl:`
50
+ `,beforeOpen:" ",beforeRule:`
51
+ `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function YI(t){return t[0].toUpperCase()+t.slice(1)}var Ia=class{constructor(e){this.builder=e}atrule(e,r){let n="@"+e.name,i=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?n+=e.raws.afterName:i&&(n+=" "),e.nodes)this.block(e,n+i);else{let s=(e.raws.between||"")+(r?";":"");this.builder(n+i+s,e)}}beforeAfter(e,r){let n;e.type==="decl"?n=this.raw(e,null,"beforeDecl"):e.type==="comment"?n=this.raw(e,null,"beforeComment"):r==="before"?n=this.raw(e,null,"beforeRule"):n=this.raw(e,null,"beforeClose");let i=e.parent,s=0;for(;i&&i.type!=="root";)s+=1,i=i.parent;if(n.includes(`
52
+ `)){let o=this.raw(e,null,"indent");if(o.length)for(let a=0;a<s;a++)n+=o}return n}block(e,r){let n=this.raw(e,"between","beforeOpen");this.builder(r+n+"{",e,"start");let i;e.nodes&&e.nodes.length?(this.body(e),i=this.raw(e,"after")):i=this.raw(e,"after","emptyBody"),i&&this.builder(i),this.builder("}",e,"end")}body(e){let r=e.nodes.length-1;for(;r>0&&e.nodes[r].type==="comment";)r-=1;let n=this.raw(e,"semicolon");for(let i=0;i<e.nodes.length;i++){let s=e.nodes[i],o=this.raw(s,"before");o&&this.builder(o),this.stringify(s,r!==i||n)}}comment(e){let r=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+r+e.text+n+"*/",e)}decl(e,r){let n=this.raw(e,"between","colon"),i=e.prop+n+this.rawValue(e,"value");e.important&&(i+=e.raws.important||" !important"),r&&(i+=";"),this.builder(i,e)}document(e){this.body(e)}raw(e,r,n){let i;if(n||(n=r),r&&(i=e.raws[r],typeof i<"u"))return i;let s=e.parent;if(n==="before"&&(!s||s.type==="root"&&s.first===e||s&&s.type==="document"))return"";if(!s)return e6[n];let o=e.root();if(o.rawCache||(o.rawCache={}),typeof o.rawCache[n]<"u")return o.rawCache[n];if(n==="before"||n==="after")return this.beforeAfter(e,n);{let a="raw"+YI(n);this[a]?i=this[a](o,e):o.walk(l=>{if(i=l.raws[r],typeof i<"u")return!1})}return typeof i>"u"&&(i=e6[n]),o.rawCache[n]=i,i}rawBeforeClose(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length>0&&typeof n.raws.after<"u")return r=n.raws.after,r.includes(`
53
+ `)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawBeforeComment(e,r){let n;return e.walkComments(i=>{if(typeof i.raws.before<"u")return n=i.raws.before,n.includes(`
54
+ `)&&(n=n.replace(/[^\n]+$/,"")),!1}),typeof n>"u"?n=this.raw(r,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,r){let n;return e.walkDecls(i=>{if(typeof i.raws.before<"u")return n=i.raws.before,n.includes(`
55
+ `)&&(n=n.replace(/[^\n]+$/,"")),!1}),typeof n>"u"?n=this.raw(r,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeOpen(e){let r;return e.walk(n=>{if(n.type!=="decl"&&(r=n.raws.between,typeof r<"u"))return!1}),r}rawBeforeRule(e){let r;return e.walk(n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&typeof n.raws.before<"u")return r=n.raws.before,r.includes(`
56
+ `)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawColon(e){let r;return e.walkDecls(n=>{if(typeof n.raws.between<"u")return r=n.raws.between.replace(/[^\s:]/g,""),!1}),r}rawEmptyBody(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length===0&&(r=n.raws.after,typeof r<"u"))return!1}),r}rawIndent(e){if(e.raws.indent)return e.raws.indent;let r;return e.walk(n=>{let i=n.parent;if(i&&i!==e&&i.parent&&i.parent===e&&typeof n.raws.before<"u"){let s=n.raws.before.split(`
57
+ `);return r=s[s.length-1],r=r.replace(/\S/g,""),!1}}),r}rawSemicolon(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length&&n.last.type==="decl"&&(r=n.raws.semicolon,typeof r<"u"))return!1}),r}rawValue(e,r){let n=e[r],i=e.raws[r];return i&&i.value===n?i.raw:n}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,r){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,r)}};t6.exports=Ia;Ia.default=Ia});var Da=V((rbe,r6)=>{"use strict";d();m();p();var JI=q0();function z0(t,e){new JI(e).stringify(t)}r6.exports=z0;z0.default=z0});var $a=V((obe,n6)=>{"use strict";d();m();p();var{isClean:Fc,my:ZI}=Dc(),KI=Ic(),eD=q0(),tD=Da();function j0(t,e){let r=new t.constructor;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n)||n==="proxyCache")continue;let i=t[n],s=typeof i;n==="parent"&&s==="object"?e&&(r[n]=e):n==="source"?r[n]=i:Array.isArray(i)?r[n]=i.map(o=>j0(o,r)):(s==="object"&&i!==null&&(i=j0(i)),r[n]=i)}return r}var Fa=class{constructor(e={}){this.raws={},this[Fc]=!1,this[ZI]=!0;for(let r in e)if(r==="nodes"){this.nodes=[];for(let n of e[r])typeof n.clone=="function"?this.append(n.clone()):this.append(n)}else this[r]=e[r]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let r=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${r.input.from}:${r.start.line}:${r.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let r in e)this[r]=e[r];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let r=j0(this);for(let n in e)r[n]=e[n];return r}cloneAfter(e={}){let r=this.clone(e);return this.parent.insertAfter(this,r),r}cloneBefore(e={}){let r=this.clone(e);return this.parent.insertBefore(this,r),r}error(e,r={}){if(this.source){let{end:n,start:i}=this.rangeBy(r);return this.source.input.error(e,{column:i.column,line:i.line},{column:n.column,line:n.line},r)}return new KI(e)}getProxyProcessor(){return{get(e,r){return r==="proxyOf"?e:r==="root"?()=>e.root().toProxy():e[r]},set(e,r,n){return e[r]===n||(e[r]=n,(r==="prop"||r==="value"||r==="name"||r==="params"||r==="important"||r==="text")&&e.markDirty()),!0}}}markDirty(){if(this[Fc]){this[Fc]=!1;let e=this;for(;e=e.parent;)e[Fc]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,r){let n=this.source.start;if(e.index)n=this.positionInside(e.index,r);else if(e.word){r=this.toString();let i=r.indexOf(e.word);i!==-1&&(n=this.positionInside(i,r))}return n}positionInside(e,r){let n=r||this.toString(),i=this.source.start.column,s=this.source.start.line;for(let o=0;o<e;o++)n[o]===`
58
+ `?(i=1,s+=1):i+=1;return{column:i,line:s}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let r={column:this.source.start.column,line:this.source.start.line},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:r.column+1,line:r.line};if(e.word){let i=this.toString(),s=i.indexOf(e.word);s!==-1&&(r=this.positionInside(s,i),n=this.positionInside(s+e.word.length,i))}else e.start?r={column:e.start.column,line:e.start.line}:e.index&&(r=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line}:typeof e.endIndex=="number"?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<r.line||n.line===r.line&&n.column<=r.column)&&(n={column:r.column+1,line:r.line}),{end:n,start:r}}raw(e,r){return new eD().raw(this,e,r)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let r=this,n=!1;for(let i of e)i===this?n=!0:n?(this.parent.insertAfter(r,i),r=i):this.parent.insertBefore(r,i);n||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,r){let n={},i=r==null;r=r||new Map;let s=0;for(let o in this){if(!Object.prototype.hasOwnProperty.call(this,o)||o==="parent"||o==="proxyCache")continue;let a=this[o];if(Array.isArray(a))n[o]=a.map(l=>typeof l=="object"&&l.toJSON?l.toJSON(null,r):l);else if(typeof a=="object"&&a.toJSON)n[o]=a.toJSON(null,r);else if(o==="source"){let l=r.get(a.input);l==null&&(l=s,r.set(a.input,s),s++),n[o]={end:a.end,inputId:l,start:a.start}}else n[o]=a}return i&&(n.inputs=[...r.keys()].map(o=>o.toJSON())),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=tD){e.stringify&&(e=e.stringify);let r="";return e(this,n=>{r+=n}),r}warn(e,r,n){let i={node:this};for(let s in n)i[s]=n[s];return e.warn(r,i)}get proxyOf(){return this}};n6.exports=Fa;Fa.default=Fa});var Ba=V((cbe,i6)=>{"use strict";d();m();p();var rD=$a(),Ua=class extends rD{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};i6.exports=Ua;Ua.default=Ua});var W0=V((pbe,a6)=>{"use strict";d();m();p();var{SourceMapConsumer:s6,SourceMapGenerator:o6}=li(),{existsSync:nD,readFileSync:iD}=(nd(),Wt(rd)),{dirname:V0,join:sD}=(ai(),Wt(oi));function oD(t){return E?E.from(t,"base64").toString():window.atob(t)}var qa=class{constructor(e,r){if(r.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=r.map?r.map.prev:void 0,i=this.loadMap(r.from,n);!this.mapFile&&r.from&&(this.mapFile=r.from),this.mapFile&&(this.root=V0(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new s6(this.text)),this.consumerCache}decodeInline(e){let r=/^data:application\/json;charset=utf-?8;base64,/,n=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,s=/^data:application\/json,/;if(i.test(e)||s.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(r.test(e)||n.test(e))return oD(e.substr(RegExp.lastMatch.length));let o=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+o)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}loadAnnotation(e){let r=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!r)return;let n=e.lastIndexOf(r.pop()),i=e.indexOf("*/",n);n>-1&&i>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,i)))}loadFile(e){if(this.root=V0(e),nD(e))return this.mapFile=e,iD(e,"utf-8").toString().trim()}loadMap(e,r){if(r===!1)return!1;if(r){if(typeof r=="string")return r;if(typeof r=="function"){let n=r(e);if(n){let i=this.loadFile(n);if(!i)throw new Error("Unable to load previous source map: "+n.toString());return i}}else{if(r instanceof s6)return o6.fromSourceMap(r).toString();if(r instanceof o6)return r.toString();if(this.isMap(r))return JSON.stringify(r);throw new Error("Unsupported previous source map format: "+r.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let n=this.annotation;return e&&(n=sD(V0(e),n)),this.loadFile(n)}}}startWith(e,r){return e?e.substr(0,r.length)===r:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};a6.exports=qa;qa.default=qa});var za=V((vbe,f6)=>{"use strict";d();m();p();var{SourceMapConsumer:aD,SourceMapGenerator:lD}=li(),{fileURLToPath:l6,pathToFileURL:$c}=(No(),Wt(To)),{isAbsolute:X0,resolve:Q0}=(ai(),Wt(oi)),{nanoid:uD}=V1(),H0=U0(),u6=Ic(),cD=W0(),G0=Symbol("fromOffsetCache"),fD=!!(aD&&lD),c6=!!(Q0&&X0),Ls=class{constructor(e,r={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,r.from&&(!c6||/^\w+:\/\//.test(r.from)||X0(r.from)?this.file=r.from:this.file=Q0(r.from)),c6&&fD){let n=new cD(this.css,r);if(n.text){this.map=n;let i=n.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}}this.file||(this.id="<input css "+uD(6)+">"),this.map&&(this.map.file=this.from)}error(e,r,n,i={}){let s,o,a;if(r&&typeof r=="object"){let u=r,c=n;if(typeof u.offset=="number"){let f=this.fromOffset(u.offset);r=f.line,n=f.col}else r=u.line,n=u.column;if(typeof c.offset=="number"){let f=this.fromOffset(c.offset);o=f.line,a=f.col}else o=c.line,a=c.column}else if(!n){let u=this.fromOffset(r);r=u.line,n=u.col}let l=this.origin(r,n,o,a);return l?s=new u6(e,l.endLine===void 0?l.line:{column:l.column,line:l.line},l.endLine===void 0?l.column:{column:l.endColumn,line:l.endLine},l.source,l.file,i.plugin):s=new u6(e,o===void 0?r:{column:n,line:r},o===void 0?n:{column:a,line:o},this.css,this.file,i.plugin),s.input={column:n,endColumn:a,endLine:o,line:r,source:this.css},this.file&&($c&&(s.input.url=$c(this.file).toString()),s.input.file=this.file),s}fromOffset(e){let r,n;if(this[G0])n=this[G0];else{let s=this.css.split(`
59
+ `);n=new Array(s.length);let o=0;for(let a=0,l=s.length;a<l;a++)n[a]=o,o+=s[a].length+1;this[G0]=n}r=n[n.length-1];let i=0;if(e>=r)i=n.length-1;else{let s=n.length-2,o;for(;i<s;)if(o=i+(s-i>>1),e<n[o])s=o-1;else if(e>=n[o+1])i=o+1;else{i=o;break}}return{col:e-n[i]+1,line:i+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:Q0(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,r,n,i){if(!this.map)return!1;let s=this.map.consumer(),o=s.originalPositionFor({column:r,line:e});if(!o.source)return!1;let a;typeof n=="number"&&(a=s.originalPositionFor({column:i,line:n}));let l;X0(o.source)?l=$c(o.source):l=new URL(o.source,this.map.consumer().sourceRoot||$c(this.map.mapFile));let u={column:o.column,endColumn:a&&a.column,endLine:a&&a.line,line:o.line,url:l.toString()};if(l.protocol==="file:")if(l6)u.file=l6(l);else throw new Error("file: protocol is not available in this PostCSS build");let c=s.sourceContentFor(o.source);return c&&(u.source=c),u}toJSON(){let e={};for(let r of["hasBOM","css","file","id"])this[r]!=null&&(e[r]=this[r]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}};f6.exports=Ls;Ls.default=Ls;H0&&H0.registerInput&&H0.registerInput(Ls)});var J0=V((Sbe,b6)=>{"use strict";d();m();p();var{SourceMapConsumer:d6,SourceMapGenerator:Uc}=li(),{dirname:Bc,relative:p6,resolve:m6,sep:g6}=(ai(),Wt(oi)),{pathToFileURL:h6}=(No(),Wt(To)),hD=za(),dD=!!(d6&&Uc),pD=!!(Bc&&m6&&p6&&g6),Y0=class{constructor(e,r,n,i){this.stringify=e,this.mapOpts=n.map||{},this.root=r,this.opts=n,this.css=i,this.originalCSS=i,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";let r=`
60
+ `;this.css.includes(`\r
61
+ `)&&(r=`\r
62
+ `),this.css+=r+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let r=this.toUrl(this.path(e.file)),n=e.root||Bc(e.file),i;this.mapOpts.sourcesContent===!1?(i=new d6(e.text),i.sourcesContent&&(i.sourcesContent=null)):i=e.consumer(),this.map.applySourceMap(i,r,this.toUrl(this.path(n)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let e;for(let r=this.root.nodes.length-1;r>=0;r--)e=this.root.nodes[r],e.type==="comment"&&e.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(r)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),pD&&dD&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,r=>{e+=r}),[e]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=Uc.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new Uc({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new Uc({file:this.outputFile(),ignoreInvalidMapping:!0});let e=1,r=1,n="<no source>",i={generated:{column:0,line:0},original:{column:0,line:0},source:""},s,o;this.stringify(this.root,(a,l,u)=>{if(this.css+=a,l&&u!=="end"&&(i.generated.line=e,i.generated.column=r-1,l.source&&l.source.start?(i.source=this.sourcePath(l),i.original.line=l.source.start.line,i.original.column=l.source.start.column-1,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,this.map.addMapping(i))),s=a.match(/\n/g),s?(e+=s.length,o=a.lastIndexOf(`
63
+ `),r=a.length-o):r+=a.length,l&&u!=="start"){let c=l.parent||{raws:{}};(!(l.type==="decl"||l.type==="atrule"&&!l.nodes)||l!==c.last||c.raws.semicolon)&&(l.source&&l.source.end?(i.source=this.sourcePath(l),i.original.line=l.source.end.line,i.original.column=l.source.end.column-1,i.generated.line=e,i.generated.column=r-2,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,i.generated.line=e,i.generated.column=r-1,this.map.addMapping(i)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(r=>r.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let r=this.memoizedPaths.get(e);if(r)return r;let n=this.opts.to?Bc(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(n=Bc(m6(n,this.mapOpts.annotation)));let i=p6(n,e);return this.memoizedPaths.set(e,i),i}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let r=e.source.input.map;this.previousMaps.includes(r)||this.previousMaps.push(r)}});else{let e=new hD(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(r=>{if(r.source){let n=r.source.input.from;if(n&&!e[n]){e[n]=!0;let i=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(i,r.source.input.css)}}});else if(this.css){let r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return E?E.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let r=this.memoizedFileURLs.get(e);if(r)return r;if(h6){let n=h6(e).toString();return this.memoizedFileURLs.set(e,n),n}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let r=this.memoizedURLs.get(e);if(r)return r;g6==="\\"&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}};b6.exports=Y0});var Va=V((kbe,v6)=>{"use strict";d();m();p();var mD=$a(),ja=class extends mD{constructor(e){super(e),this.type="comment"}};v6.exports=ja;ja.default=ja});var Un=V((Tbe,A6)=>{"use strict";d();m();p();var{isClean:w6,my:y6}=Dc(),x6=Ba(),S6=Va(),gD=$a(),_6,Z0,K0,C6;function E6(t){return t.map(e=>(e.nodes&&(e.nodes=E6(e.nodes)),delete e.source,e))}function k6(t){if(t[w6]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)k6(e)}var gr=class t extends gD{append(...e){for(let r of e){let n=this.normalize(r,this.last);for(let i of n)this.proxyOf.nodes.push(i)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let r of this.nodes)r.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let r=this.getIterator(),n,i;for(;this.indexes[r]<this.proxyOf.nodes.length&&(n=this.indexes[r],i=e(this.proxyOf.nodes[n],n),i!==!1);)this.indexes[r]+=1;return delete this.indexes[r],i}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,r){return r==="proxyOf"?e:e[r]?r==="each"||typeof r=="string"&&r.startsWith("walk")?(...n)=>e[r](...n.map(i=>typeof i=="function"?(s,o)=>i(s.toProxy(),o):i)):r==="every"||r==="some"?n=>e[r]((i,...s)=>n(i.toProxy(),...s)):r==="root"?()=>e.root().toProxy():r==="nodes"?e.nodes.map(n=>n.toProxy()):r==="first"||r==="last"?e[r].toProxy():e[r]:e[r]},set(e,r,n){return e[r]===n||(e[r]=n,(r==="name"||r==="params"||r==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,r){let n=this.index(e),i=this.normalize(r,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let o of i)this.proxyOf.nodes.splice(n+1,0,o);let s;for(let o in this.indexes)s=this.indexes[o],n<s&&(this.indexes[o]=s+i.length);return this.markDirty(),this}insertBefore(e,r){let n=this.index(e),i=n===0?"prepend":!1,s=this.normalize(r,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(let a of s)this.proxyOf.nodes.splice(n,0,a);let o;for(let a in this.indexes)o=this.indexes[a],n<=o&&(this.indexes[a]=o+s.length);return this.markDirty(),this}normalize(e,r){if(typeof e=="string")e=E6(_6(e).nodes);else if(typeof e>"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new x6(e)]}else if(e.selector)e=[new Z0(e)];else if(e.name)e=[new K0(e)];else if(e.text)e=[new S6(e)];else throw new Error("Unknown node type in node creation");return e.map(i=>(i[y6]||t.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[w6]&&k6(i),typeof i.raws.before>"u"&&r&&typeof r.raws.before<"u"&&(i.raws.before=r.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}prepend(...e){e=e.reverse();for(let r of e){let n=this.normalize(r,this.first,"prepend").reverse();for(let i of n)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+n.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let r;for(let n in this.indexes)r=this.indexes[n],r>=e&&(this.indexes[n]=r-1);return this.markDirty(),this}replaceValues(e,r,n){return n||(n=r,r={}),this.walkDecls(i=>{r.props&&!r.props.includes(i.prop)||r.fast&&!i.value.includes(r.fast)||(i.value=i.value.replace(e,n))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((r,n)=>{let i;try{i=e(r,n)}catch(s){throw r.addToError(s)}return i!==!1&&r.walk&&(i=r.walk(e)),i})}walkAtRules(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="atrule"&&e.test(n.name))return r(n,i)}):this.walk((n,i)=>{if(n.type==="atrule"&&n.name===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="atrule")return r(n,i)}))}walkComments(e){return this.walk((r,n)=>{if(r.type==="comment")return e(r,n)})}walkDecls(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="decl"&&e.test(n.prop))return r(n,i)}):this.walk((n,i)=>{if(n.type==="decl"&&n.prop===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="decl")return r(n,i)}))}walkRules(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="rule"&&e.test(n.selector))return r(n,i)}):this.walk((n,i)=>{if(n.type==="rule"&&n.selector===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="rule")return r(n,i)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};gr.registerParse=t=>{_6=t};gr.registerRule=t=>{Z0=t};gr.registerAtRule=t=>{K0=t};gr.registerRoot=t=>{C6=t};A6.exports=gr;gr.default=gr;gr.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,K0.prototype):t.type==="rule"?Object.setPrototypeOf(t,Z0.prototype):t.type==="decl"?Object.setPrototypeOf(t,x6.prototype):t.type==="comment"?Object.setPrototypeOf(t,S6.prototype):t.type==="root"&&Object.setPrototypeOf(t,C6.prototype),t[y6]=!0,t.nodes&&t.nodes.forEach(e=>{gr.rebuild(e)})}});var qc=V((Pbe,T6)=>{"use strict";d();m();p();var bD=Un(),L6,R6,Si=class extends bD{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new L6(new R6,this,e).stringify()}};Si.registerLazyResult=t=>{L6=t};Si.registerProcessor=t=>{R6=t};T6.exports=Si;Si.default=Si});var em=V(($be,M6)=>{"use strict";d();m();p();var N6={};M6.exports=function(e){N6[e]||(N6[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var tm=V((zbe,O6)=>{"use strict";d();m();p();var Wa=class{constructor(e,r={}){if(this.type="warning",this.text=e,r.node&&r.node.source){let n=r.node.rangeBy(r);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(let n in r)this[n]=r[n]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};O6.exports=Wa;Wa.default=Wa});var zc=V((Hbe,P6)=>{"use strict";d();m();p();var vD=tm(),Ha=class{constructor(e,r,n){this.processor=e,this.messages=[],this.root=r,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,r={}){r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);let n=new vD(e,r);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};P6.exports=Ha;Ha.default=Ha});var F6=V((Ybe,D6)=>{"use strict";d();m();p();var jc=/[\t\n\f\r "#'()/;[\\\]{}]/g,Vc=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,wD=/.[\r\n"'(/\\]/,I6=/[\da-f]/i;D6.exports=function(e,r={}){let n=e.css.valueOf(),i=r.ignoreErrors,s,o,a,l,u,c,f,h,g,y,S=n.length,x=0,_=[],k=[];function T(){return x}function N($){throw e.error("Unclosed "+$,x)}function L(){return k.length===0&&x>=S}function P($){if(k.length)return k.pop();if(x>=S)return;let Q=$?$.ignoreUnclosed:!1;switch(s=n.charCodeAt(x),s){case 10:case 32:case 9:case 13:case 12:{o=x;do o+=1,s=n.charCodeAt(o);while(s===32||s===10||s===9||s===13||s===12);y=["space",n.slice(x,o)],x=o-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let O=String.fromCharCode(s);y=[O,O,x];break}case 40:{if(h=_.length?_.pop()[1]:"",g=n.charCodeAt(x+1),h==="url"&&g!==39&&g!==34&&g!==32&&g!==10&&g!==9&&g!==12&&g!==13){o=x;do{if(c=!1,o=n.indexOf(")",o+1),o===-1)if(i||Q){o=x;break}else N("bracket");for(f=o;n.charCodeAt(f-1)===92;)f-=1,c=!c}while(c);y=["brackets",n.slice(x,o+1),x,o],x=o}else o=n.indexOf(")",x+1),l=n.slice(x,o+1),o===-1||wD.test(l)?y=["(","(",x]:(y=["brackets",l,x,o],x=o);break}case 39:case 34:{a=s===39?"'":'"',o=x;do{if(c=!1,o=n.indexOf(a,o+1),o===-1)if(i||Q){o=x+1;break}else N("string");for(f=o;n.charCodeAt(f-1)===92;)f-=1,c=!c}while(c);y=["string",n.slice(x,o+1),x,o],x=o;break}case 64:{jc.lastIndex=x+1,jc.test(n),jc.lastIndex===0?o=n.length-1:o=jc.lastIndex-2,y=["at-word",n.slice(x,o+1),x,o],x=o;break}case 92:{for(o=x,u=!0;n.charCodeAt(o+1)===92;)o+=1,u=!u;if(s=n.charCodeAt(o+1),u&&s!==47&&s!==32&&s!==10&&s!==9&&s!==13&&s!==12&&(o+=1,I6.test(n.charAt(o)))){for(;I6.test(n.charAt(o+1));)o+=1;n.charCodeAt(o+1)===32&&(o+=1)}y=["word",n.slice(x,o+1),x,o],x=o;break}default:{s===47&&n.charCodeAt(x+1)===42?(o=n.indexOf("*/",x+2)+1,o===0&&(i||Q?o=n.length:N("comment")),y=["comment",n.slice(x,o+1),x,o],x=o):(Vc.lastIndex=x+1,Vc.test(n),Vc.lastIndex===0?o=n.length-1:o=Vc.lastIndex-2,y=["word",n.slice(x,o+1),x,o],_.push(y),x=o);break}}return x++,y}function D($){k.push($)}return{back:D,endOfFile:L,nextToken:P,position:T}}});var Wc=V((eve,U6)=>{"use strict";d();m();p();var $6=Un(),Rs=class extends $6{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};U6.exports=Rs;Rs.default=Rs;$6.registerAtRule(Rs)});var Ts=V((ive,j6)=>{"use strict";d();m();p();var B6=Un(),q6,z6,Bn=class extends B6{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,r,n){let i=super.normalize(e);if(r){if(n==="prepend")this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(let s of i)s.raws.before=r.raws.before}return i}removeChild(e,r){let n=this.index(e);return!r&&n===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(e={}){return new q6(new z6,this,e).stringify()}};Bn.registerLazyResult=t=>{q6=t};Bn.registerProcessor=t=>{z6=t};j6.exports=Bn;Bn.default=Bn;B6.registerRoot(Bn)});var rm=V((lve,V6)=>{"use strict";d();m();p();var Ga={comma(t){return Ga.split(t,[","],!0)},space(t){let e=[" ",`
64
+ `," "];return Ga.split(t,e)},split(t,e,r){let n=[],i="",s=!1,o=0,a=!1,l="",u=!1;for(let c of t)u?u=!1:c==="\\"?u=!0:a?c===l&&(a=!1):c==='"'||c==="'"?(a=!0,l=c):c==="("?o+=1:c===")"?o>0&&(o-=1):o===0&&e.includes(c)&&(s=!0),s?(i!==""&&n.push(i.trim()),i="",s=!1):i+=c;return(r||i!=="")&&n.push(i.trim()),n}};V6.exports=Ga;Ga.default=Ga});var Hc=V((hve,H6)=>{"use strict";d();m();p();var W6=Un(),yD=rm(),Ns=class extends W6{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return yD.comma(this.selector)}set selectors(e){let r=this.selector?this.selector.match(/,\s*/):null,n=r?r[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}};H6.exports=Ns;Ns.default=Ns;W6.registerRule(Ns)});var Y6=V((gve,Q6)=>{"use strict";d();m();p();var xD=Ba(),SD=F6(),_D=Va(),CD=Wc(),ED=Ts(),G6=Hc(),X6={empty:!0,space:!0};function kD(t){for(let e=t.length-1;e>=0;e--){let r=t[e],n=r[3]||r[2];if(n)return n}}var nm=class{constructor(e){this.input=e,this.root=new ED,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let r=new CD;r.name=e[1].slice(1),r.name===""&&this.unnamedAtrule(r,e),this.init(r,e[2]);let n,i,s,o=!1,a=!1,l=[],u=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),n=e[0],n==="("||n==="["?u.push(n==="("?")":"]"):n==="{"&&u.length>0?u.push("}"):n===u[u.length-1]&&u.pop(),u.length===0)if(n===";"){r.source.end=this.getPosition(e[2]),r.source.end.offset++,this.semicolon=!0;break}else if(n==="{"){a=!0;break}else if(n==="}"){if(l.length>0){for(s=l.length-1,i=l[s];i&&i[0]==="space";)i=l[--s];i&&(r.source.end=this.getPosition(i[3]||i[2]),r.source.end.offset++)}this.end(e);break}else l.push(e);else l.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}r.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(r.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(r,"params",l),o&&(e=l[l.length-1],r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++,this.spaces=r.raws.between,r.raws.between="")):(r.raws.afterName="",r.params=""),a&&(r.nodes=[],this.current=r)}checkMissedSemicolon(e){let r=this.colon(e);if(r===!1)return;let n=0,i;for(let s=r-1;s>=0&&(i=e[s],!(i[0]!=="space"&&(n+=1,n===2)));s--);throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}colon(e){let r=0,n,i,s;for(let[o,a]of e.entries()){if(n=a,i=n[0],i==="("&&(r+=1),i===")"&&(r-=1),r===0&&i===":")if(!s)this.doubleColon(n);else{if(s[0]==="word"&&s[1]==="progid")continue;return o}s=n}return!1}comment(e){let r=new _D;this.init(r,e[2]),r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n))r.text="",r.raws.left=n,r.raws.right="";else{let i=n.match(/^(\s*)([^]*\S)(\s*)$/);r.text=i[2],r.raws.left=i[1],r.raws.right=i[3]}}createTokenizer(){this.tokenizer=SD(this.input)}decl(e,r){let n=new xD;this.init(n,e[0][2]);let i=e[e.length-1];for(i[0]===";"&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(i[3]||i[2]||kD(e)),n.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let u=e[0][0];if(u===":"||u==="space"||u==="comment")break;n.prop+=e.shift()[1]}n.raws.between="";let s;for(;e.length;)if(s=e.shift(),s[0]===":"){n.raws.between+=s[1];break}else s[0]==="word"&&/\w/.test(s[1])&&this.unknownWord([s]),n.raws.between+=s[1];(n.prop[0]==="_"||n.prop[0]==="*")&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let o=[],a;for(;e.length&&(a=e[0][0],!(a!=="space"&&a!=="comment"));)o.push(e.shift());this.precheckMissedSemicolon(e);for(let u=e.length-1;u>=0;u--){if(s=e[u],s[1].toLowerCase()==="!important"){n.important=!0;let c=this.stringFrom(e,u);c=this.spacesFromEnd(e)+c,c!==" !important"&&(n.raws.important=c);break}else if(s[1].toLowerCase()==="important"){let c=e.slice(0),f="";for(let h=u;h>0;h--){let g=c[h][0];if(f.trim().indexOf("!")===0&&g!=="space")break;f=c.pop()[1]+f}f.trim().indexOf("!")===0&&(n.important=!0,n.raws.important=f,e=c)}if(s[0]!=="space"&&s[0]!=="comment")break}e.some(u=>u[0]!=="space"&&u[0]!=="comment")&&(n.raws.between+=o.map(u=>u[1]).join(""),o=[]),this.raw(n,"value",o.concat(e),r),n.value.includes(":")&&!r&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let r=new G6;this.init(r,e[2]),r.selector="",r.raws.between="",this.current=r}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let r=this.current.nodes[this.current.nodes.length-1];r&&r.type==="rule"&&!r.raws.ownSemicolon&&(r.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let r=this.input.fromOffset(e);return{column:r.col,line:r.line,offset:e}}init(e,r){this.current.push(e),e.source={input:this.input,start:this.getPosition(r)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let r=!1,n=null,i=!1,s=null,o=[],a=e[1].startsWith("--"),l=[],u=e;for(;u;){if(n=u[0],l.push(u),n==="("||n==="[")s||(s=u),o.push(n==="("?")":"]");else if(a&&i&&n==="{")s||(s=u),o.push("}");else if(o.length===0)if(n===";")if(i){this.decl(l,a);return}else break;else if(n==="{"){this.rule(l);return}else if(n==="}"){this.tokenizer.back(l.pop()),r=!0;break}else n===":"&&(i=!0);else n===o[o.length-1]&&(o.pop(),o.length===0&&(s=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(r=!0),o.length>0&&this.unclosedBracket(s),r&&i){if(!a)for(;l.length&&(u=l[l.length-1][0],!(u!=="space"&&u!=="comment"));)this.tokenizer.back(l.pop());this.decl(l,a)}else this.unknownWord(l)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,r,n,i){let s,o,a=n.length,l="",u=!0,c,f;for(let h=0;h<a;h+=1)s=n[h],o=s[0],o==="space"&&h===a-1&&!i?u=!1:o==="comment"?(f=n[h-1]?n[h-1][0]:"empty",c=n[h+1]?n[h+1][0]:"empty",!X6[f]&&!X6[c]?l.slice(-1)===","?u=!1:l+=s[1]:u=!1):l+=s[1];if(!u){let h=n.reduce((g,y)=>g+y[1],"");e.raws[r]={raw:h,value:l}}e[r]=l}rule(e){e.pop();let r=new G6;this.init(r,e[0][2]),r.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(r,"selector",e),this.current=r}spacesAndCommentsFromEnd(e){let r,n="";for(;e.length&&(r=e[e.length-1][0],!(r!=="space"&&r!=="comment"));)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let r,n="";for(;e.length&&(r=e[0][0],!(r!=="space"&&r!=="comment"));)n+=e.shift()[1];return n}spacesFromEnd(e){let r,n="";for(;e.length&&(r=e[e.length-1][0],r==="space");)n=e.pop()[1]+n;return n}stringFrom(e,r){let n="";for(let i=r;i<e.length;i++)n+=e[i][1];return e.splice(r,e.length-r),n}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,r){throw this.input.error("At-rule without name",{offset:r[2]},{offset:r[2]+r[1].length})}};Q6.exports=nm});var Xc=V((yve,J6)=>{"use strict";d();m();p();var AD=Un(),LD=Y6(),RD=za();function Gc(t,e){let r=new RD(t,e),n=new LD(r);try{n.parse()}catch(i){throw i}return n.root}J6.exports=Gc;Gc.default=Gc;AD.registerParse(Gc)});var om=V((Eve,t8)=>{"use strict";d();m();p();var{isClean:Fr,my:TD}=Dc(),ND=J0(),MD=Da(),OD=Un(),PD=qc(),Cve=em(),Z6=zc(),ID=Xc(),DD=Ts(),FD={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},$D={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},UD={Once:!0,postcssPlugin:!0,prepare:!0},Ms=0;function Xa(t){return typeof t=="object"&&typeof t.then=="function"}function e8(t){let e=!1,r=FD[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[r,r+"-"+e,Ms,r+"Exit",r+"Exit-"+e]:e?[r,r+"-"+e,r+"Exit",r+"Exit-"+e]:t.append?[r,Ms,r+"Exit"]:[r,r+"Exit"]}function K6(t){let e;return t.type==="document"?e=["Document",Ms,"DocumentExit"]:t.type==="root"?e=["Root",Ms,"RootExit"]:e=e8(t),{eventIndex:0,events:e,iterator:0,node:t,visitorIndex:0,visitors:[]}}function im(t){return t[Fr]=!1,t.nodes&&t.nodes.forEach(e=>im(e)),t}var sm={},qn=class t{constructor(e,r,n){this.stringified=!1,this.processed=!1;let i;if(typeof r=="object"&&r!==null&&(r.type==="root"||r.type==="document"))i=im(r);else if(r instanceof t||r instanceof Z6)i=im(r.root),r.map&&(typeof n.map>"u"&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{let s=ID;n.syntax&&(s=n.syntax.parse),n.parser&&(s=n.parser),s.parse&&(s=s.parse);try{i=s(r,n)}catch(o){this.processed=!0,this.error=o}i&&!i[TD]&&OD.rebuild(i)}this.result=new Z6(e,i,n),this.helpers={...sm,postcss:sm,result:this.result},this.plugins=this.processor.plugins.map(s=>typeof s=="object"&&s.prepare?{...s,...s.prepare(this.result)}:s)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,r){let n=this.result.lastPlugin;try{r&&r.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=n.postcssPlugin,e.setMessage()):n.postcssVersion}catch(i){console&&console.error&&console.error(i)}return e}prepareVisitors(){this.listeners={};let e=(r,n,i)=>{this.listeners[n]||(this.listeners[n]=[]),this.listeners[n].push([r,i])};for(let r of this.plugins)if(typeof r=="object")for(let n in r){if(!$D[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${r.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!UD[n])if(typeof r[n]=="object")for(let i in r[n])i==="*"?e(r,n,r[n][i]):e(r,n+"-"+i.toLowerCase(),r[n][i]);else typeof r[n]=="function"&&e(r,n,r[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let r=this.plugins[e],n=this.runOnRoot(r);if(Xa(n))try{await n}catch(i){throw this.handleError(i)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Fr];){e[Fr]=!0;let r=[K6(e)];for(;r.length>0;){let n=this.visitTick(r);if(Xa(n))try{await n}catch(i){let s=r[r.length-1].node;throw this.handleError(i,s)}}}if(this.listeners.OnceExit)for(let[r,n]of this.listeners.OnceExit){this.result.lastPlugin=r;try{if(e.type==="document"){let i=e.nodes.map(s=>n(s,this.helpers));await Promise.all(i)}else await n(e,this.helpers)}catch(i){throw this.handleError(i)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let r=this.result.root.nodes.map(n=>e.Once(n,this.helpers));return Xa(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(r){throw this.handleError(r)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,r=MD;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);let i=new ND(r,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let r=this.runOnRoot(e);if(Xa(r))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Fr];)e[Fr]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let r of e.nodes)this.visitSync(this.listeners.OnceExit,r);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,r){return this.async().then(e,r)}toString(){return this.css}visitSync(e,r){for(let[n,i]of e){this.result.lastPlugin=n;let s;try{s=i(r,this.helpers)}catch(o){throw this.handleError(o,r.proxyOf)}if(r.type!=="root"&&r.type!=="document"&&!r.parent)return!0;if(Xa(s))throw this.getAsyncError()}}visitTick(e){let r=e[e.length-1],{node:n,visitors:i}=r;if(n.type!=="root"&&n.type!=="document"&&!n.parent){e.pop();return}if(i.length>0&&r.visitorIndex<i.length){let[o,a]=i[r.visitorIndex];r.visitorIndex+=1,r.visitorIndex===i.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=o;try{return a(n.toProxy(),this.helpers)}catch(l){throw this.handleError(l,n)}}if(r.iterator!==0){let o=r.iterator,a;for(;a=n.nodes[n.indexes[o]];)if(n.indexes[o]+=1,!a[Fr]){a[Fr]=!0,e.push(K6(a));return}r.iterator=0,delete n.indexes[o]}let s=r.events;for(;r.eventIndex<s.length;){let o=s[r.eventIndex];if(r.eventIndex+=1,o===Ms){n.nodes&&n.nodes.length&&(n[Fr]=!0,r.iterator=n.getIterator());return}else if(this.listeners[o]){r.visitors=this.listeners[o];return}}e.pop()}walkSync(e){e[Fr]=!0;let r=e8(e);for(let n of r)if(n===Ms)e.nodes&&e.each(i=>{i[Fr]||this.walkSync(i)});else{let i=this.listeners[n];if(i&&this.visitSync(i,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};qn.registerPostcss=t=>{sm=t};t8.exports=qn;qn.default=qn;DD.registerLazyResult(qn);PD.registerLazyResult(qn)});var n8=V((Tve,r8)=>{"use strict";d();m();p();var BD=J0(),qD=Da(),Rve=em(),zD=Xc(),jD=zc(),Qa=class{constructor(e,r,n){r=r.toString(),this.stringified=!1,this._processor=e,this._css=r,this._opts=n,this._map=void 0;let i,s=qD;this.result=new jD(this._processor,i,this._opts),this.result.css=r;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let a=new BD(s,i,this._opts,r);if(a.isMap()){let[l,u]=a.generate();l&&(this.result.css=l),u&&(this.result.map=u)}else a.clearAnnotation(),this.result.css=a.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,r){return this.async().then(e,r)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,r=zD;try{e=r(this._css,this._opts)}catch(n){this.error=n}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}};r8.exports=Qa;Qa.default=Qa});var s8=V((Pve,i8)=>{"use strict";d();m();p();var VD=n8(),WD=om(),HD=qc(),GD=Ts(),_i=class{constructor(e=[]){this.version="8.4.39",this.plugins=this.normalize(e)}normalize(e){let r=[];for(let n of e)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n=="object"&&Array.isArray(n.plugins))r=r.concat(n.plugins);else if(typeof n=="object"&&n.postcssPlugin)r.push(n);else if(typeof n=="function")r.push(n);else if(!(typeof n=="object"&&(n.parse||n.stringify)))throw new Error(n+" is not a PostCSS plugin");return r}process(e,r={}){return!this.plugins.length&&!r.parser&&!r.stringifier&&!r.syntax?new VD(this,e,r):new WD(this,e,r)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};i8.exports=_i;_i.default=_i;GD.registerProcessor(_i);HD.registerProcessor(_i)});var a8=V(($ve,o8)=>{"use strict";d();m();p();var XD=Ba(),QD=W0(),YD=Va(),JD=Wc(),ZD=za(),KD=Ts(),eF=Hc();function Ya(t,e){if(Array.isArray(t))return t.map(i=>Ya(i));let{inputs:r,...n}=t;if(r){e=[];for(let i of r){let s={...i,__proto__:ZD.prototype};s.map&&(s.map={...s.map,__proto__:QD.prototype}),e.push(s)}}if(n.nodes&&(n.nodes=t.nodes.map(i=>Ya(i,e))),n.source){let{inputId:i,...s}=n.source;n.source=s,i!=null&&(n.source.input=e[i])}if(n.type==="root")return new KD(n);if(n.type==="decl")return new XD(n);if(n.type==="rule")return new eF(n);if(n.type==="comment")return new YD(n);if(n.type==="atrule")return new JD(n);throw new Error("Unknown node type: "+t.type)}o8.exports=Ya;Ya.default=Ya});var Ja=V((zve,p8)=>{"use strict";d();m();p();var tF=Ic(),l8=Ba(),rF=om(),nF=Un(),am=s8(),iF=Da(),sF=a8(),u8=qc(),oF=tm(),c8=Va(),f8=Wc(),aF=zc(),lF=za(),uF=Xc(),cF=rm(),h8=Hc(),d8=Ts(),fF=$a();function Te(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new am(t)}Te.plugin=function(e,r){let n=!1;function i(...o){console&&console.warn&&!n&&(n=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
65
+ https://evilmartians.com/chronicles/postcss-8-plugin-migration`),C.env.LANG&&C.env.LANG.startsWith("cn")&&console.warn(e+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
66
+ https://www.w3ctech.com/topic/2226`));let a=r(...o);return a.postcssPlugin=e,a.postcssVersion=new am().version,a}let s;return Object.defineProperty(i,"postcss",{get(){return s||(s=i()),s}}),i.process=function(o,a,l){return Te([i(l)]).process(o,a)},i};Te.stringify=iF;Te.parse=uF;Te.fromJSON=sF;Te.list=cF;Te.comment=t=>new c8(t);Te.atRule=t=>new f8(t);Te.decl=t=>new l8(t);Te.rule=t=>new h8(t);Te.root=t=>new d8(t);Te.document=t=>new u8(t);Te.CssSyntaxError=tF;Te.Declaration=l8;Te.Container=nF;Te.Processor=am;Te.Document=u8;Te.Comment=c8;Te.Warning=oF;Te.AtRule=f8;Te.Result=aF;Te.Input=lF;Te.Rule=h8;Te.Root=d8;Te.Node=fF;rF.registerPostcss(Te);p8.exports=Te;Te.default=Te});var x8=V((Hve,hm)=>{d();m();p();var{AtRule:hF,Rule:g8}=Ja(),b8=er();function cm(t,e){let r;try{b8(n=>{r=n}).processSync(t)}catch(n){throw t.includes(":")?e?e.error("Missed semicolon"):n:e?e.error(n.message):n}return r.at(0)}function v8(t,e){let r=!1;return t.each(n=>{if(n.type==="nesting"){let i=e.clone({});n.value!=="&"?n.replaceWith(cm(n.value.replace("&",i.toString()))):n.replaceWith(i),r=!0}else"nodes"in n&&n.nodes&&v8(n,e)&&(r=!0)}),r}function w8(t,e){let r=[];return t.selectors.forEach(n=>{let i=cm(n,t);e.selectors.forEach(s=>{if(!s)return;let o=cm(s,e);v8(o,i)||(o.prepend(b8.combinator({value:" "})),o.prepend(i.clone({}))),r.push(o.toString())})}),r}function Qc(t,e){let r=t.prev();for(e.after(t);r&&r.type==="comment";){let n=r.prev();e.after(r),r=n}return t}function dF(t){return function e(r,n,i,s=i){let o=[];if(n.each(a=>{a.type==="rule"&&i?s&&(a.selectors=w8(r,a)):a.type==="atrule"&&a.nodes?t[a.name]?e(r,a,s):n[fm]!==!1&&o.push(a):o.push(a)}),i&&o.length){let a=r.clone({nodes:[]});for(let l of o)a.append(l);n.prepend(a)}}}function lm(t,e,r){let n=new g8({nodes:[],selector:t});return n.append(e),r.after(n),n}function m8(t,e){let r={};for(let n of t)r[n]=!0;if(e)for(let n of e)r[n.replace(/^@/,"")]=!0;return r}function pF(t){t=t.trim();let e=t.match(/^\((.*)\)$/);if(!e)return{selector:t,type:"basic"};let r=e[1].match(/^(with(?:out)?):(.+)$/);if(r){let n=r[1]==="with",i=Object.fromEntries(r[2].trim().split(/\s+/).map(o=>[o,!0]));if(n&&i.all)return{type:"noop"};let s=o=>!!i[o];return i.all?s=()=>!0:n&&(s=o=>o==="all"?!1:!i[o]),{escapes:s,type:"withrules"}}return{type:"unknown"}}function mF(t){let e=[],r=t.parent;for(;r&&r instanceof hF;)e.push(r),r=r.parent;return e}function gF(t){let e=t[y8];if(!e)t.after(t.nodes);else{let r=t.nodes,n,i=-1,s,o,a,l=mF(t);if(l.forEach((u,c)=>{if(e(u.name))n=u,i=c,o=a;else{let f=a;a=u.clone({nodes:[]}),f&&a.append(f),s=s||a}}),n?o?(s.append(r),n.after(o)):n.after(r):t.after(r),t.next()&&n){let u;l.slice(0,i+1).forEach((c,f,h)=>{let g=u;u=c.clone({nodes:[]}),g&&u.append(g);let y=[],x=(h[f-1]||t).next();for(;x;)y.push(x),x=x.next();u.append(y)}),u&&(o||r[r.length-1]).after(u)}}t.remove()}var fm=Symbol("rootRuleMergeSel"),y8=Symbol("rootRuleEscapes");function bF(t){let{params:e}=t,{escapes:r,selector:n,type:i}=pF(e);if(i==="unknown")throw t.error(`Unknown @${t.name} parameter ${JSON.stringify(e)}`);if(i==="basic"&&n){let s=new g8({nodes:t.nodes,selector:n});t.removeAll(),t.append(s)}t[y8]=r,t[fm]=r?!r("all"):i==="noop"}var um=Symbol("hasRootRule");hm.exports=(t={})=>{let e=m8(["media","supports","layer","container","starting-style"],t.bubble),r=dF(e),n=m8(["document","font-face","keyframes","-webkit-keyframes","-moz-keyframes"],t.unwrap),i=(t.rootRuleName||"at-root").replace(/^@/,""),s=t.preserveEmpty;return{Once(o){o.walkAtRules(i,a=>{bF(a),o[um]=!0})},postcssPlugin:"postcss-nested",RootExit(o){o[um]&&(o.walkAtRules(i,gF),o[um]=!1)},Rule(o){let a=!1,l=o,u=!1,c=[];o.each(f=>{f.type==="rule"?(c.length&&(l=lm(o.selector,c,l),c=[]),u=!0,a=!0,f.selectors=w8(o,f),l=Qc(f,l)):f.type==="atrule"?(c.length&&(l=lm(o.selector,c,l),c=[]),f.name===i?(a=!0,r(o,f,!0,f[fm]),l=Qc(f,l)):e[f.name]?(u=!0,a=!0,r(o,f,!0),l=Qc(f,l)):n[f.name]?(u=!0,a=!0,r(o,f,!1),l=Qc(f,l)):u&&c.push(f)):f.type==="decl"&&u&&c.push(f)}),c.length&&(l=lm(o.selector,c,l)),a&&s!==!0&&(o.raws.semicolon=!0,o.nodes.length===0&&o.remove())}}};hm.exports.postcss=!0});var E8=V((Yve,C8)=>{"use strict";d();m();p();var S8=/-(\w|$)/g,_8=function(e,r){return r.toUpperCase()},vF=function(e){return e=e.toLowerCase(),e==="float"?"cssFloat":e.charCodeAt(0)===45&&e.charCodeAt(1)===109&&e.charCodeAt(2)===115&&e.charCodeAt(3)===45?e.substr(1).replace(S8,_8):e.replace(S8,_8)};C8.exports=vF});var mm=V((e9e,k8)=>{d();m();p();var wF=E8(),yF={boxFlex:!0,boxFlexGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};function dm(t){return typeof t.nodes>"u"?!0:pm(t)}function pm(t){let e,r={};return t.each(n=>{if(n.type==="atrule")e="@"+n.name,n.params&&(e+=" "+n.params),typeof r[e]>"u"?r[e]=dm(n):Array.isArray(r[e])?r[e].push(dm(n)):r[e]=[r[e],dm(n)];else if(n.type==="rule"){let i=pm(n);if(r[n.selector])for(let s in i)r[n.selector][s]=i[s];else r[n.selector]=i}else if(n.type==="decl"){n.prop[0]==="-"&&n.prop[1]==="-"||n.parent&&n.parent.selector===":export"?e=n.prop:e=wF(n.prop);let i=n.value;!isNaN(n.value)&&yF[e]&&(i=parseFloat(n.value)),n.important&&(i+=" !important"),typeof r[e]>"u"?r[e]=i:Array.isArray(r[e])?r[e].push(i):r[e]=[r[e],i]}}),r}k8.exports=pm});var Yc=V((i9e,T8)=>{d();m();p();var Za=Ja(),A8=/\s*!important\s*$/i,xF={"box-flex":!0,"box-flex-group":!0,"column-count":!0,flex:!0,"flex-grow":!0,"flex-positive":!0,"flex-shrink":!0,"flex-negative":!0,"font-weight":!0,"line-clamp":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"tab-size":!0,widows:!0,"z-index":!0,zoom:!0,"fill-opacity":!0,"stroke-dashoffset":!0,"stroke-opacity":!0,"stroke-width":!0};function SF(t){return t.replace(/([A-Z])/g,"-$1").replace(/^ms-/,"-ms-").toLowerCase()}function L8(t,e,r){r===!1||r===null||(e.startsWith("--")||(e=SF(e)),typeof r=="number"&&(r===0||xF[e]?r=r.toString():r+="px"),e==="css-float"&&(e="float"),A8.test(r)?(r=r.replace(A8,""),t.push(Za.decl({prop:e,value:r,important:!0}))):t.push(Za.decl({prop:e,value:r})))}function R8(t,e,r){let n=Za.atRule({name:e[1],params:e[3]||""});typeof r=="object"&&(n.nodes=[],gm(r,n)),t.push(n)}function gm(t,e){let r,n,i;for(r in t)if(n=t[r],!(n===null||typeof n>"u"))if(r[0]==="@"){let s=r.match(/@(\S+)(\s+([\W\w]*)\s*)?/);if(Array.isArray(n))for(let o of n)R8(e,s,o);else R8(e,s,n)}else if(Array.isArray(n))for(let s of n)L8(e,r,s);else typeof n=="object"?(i=Za.rule({selector:r}),gm(n,i),e.push(i)):L8(e,r,n)}T8.exports=function(t){let e=Za.root();return gm(t,e),e}});var bm=V((l9e,N8)=>{d();m();p();var _F=mm();N8.exports=function(e){return console&&console.warn&&e.warnings().forEach(r=>{let n=r.plugin||"PostCSS";console.warn(n+": "+r.text)}),_F(e.root)}});var O8=V((h9e,M8)=>{d();m();p();var CF=Ja(),EF=bm(),kF=Yc();M8.exports=function(e){let r=CF(e);return async n=>{let i=await r.process(n,{parser:kF,from:void 0});return EF(i)}}});var I8=V((g9e,P8)=>{d();m();p();var AF=Ja(),LF=bm(),RF=Yc();P8.exports=function(t){let e=AF(t);return r=>{let n=e.process(r,{parser:RF,from:void 0});return LF(n)}}});var F8=V((y9e,D8)=>{d();m();p();var TF=mm(),NF=Yc(),MF=O8(),OF=I8();D8.exports={objectify:TF,parse:NF,async:MF,sync:OF}});var B8=V((M9e,U8)=>{"use strict";d();m();p();var vm=class{constructor(e={}){if(!(e.maxSize&&e.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");if(typeof e.maxAge=="number"&&e.maxAge===0)throw new TypeError("`maxAge` must be a number greater than 0");this.maxSize=e.maxSize,this.maxAge=e.maxAge||1/0,this.onEviction=e.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_emitEvictions(e){if(typeof this.onEviction=="function")for(let[r,n]of e)this.onEviction(r,n.value)}_deleteIfExpired(e,r){return typeof r.expiry=="number"&&r.expiry<=Date.now()?(typeof this.onEviction=="function"&&this.onEviction(e,r.value),this.delete(e)):!1}_getOrDeleteIfExpired(e,r){if(this._deleteIfExpired(e,r)===!1)return r.value}_getItemValue(e,r){return r.expiry?this._getOrDeleteIfExpired(e,r):r.value}_peek(e,r){let n=r.get(e);return this._getItemValue(e,n)}_set(e,r){this.cache.set(e,r),this._size++,this._size>=this.maxSize&&(this._size=0,this._emitEvictions(this.oldCache),this.oldCache=this.cache,this.cache=new Map)}_moveToRecent(e,r){this.oldCache.delete(e),this._set(e,r)}*_entriesAscending(){for(let e of this.oldCache){let[r,n]=e;this.cache.has(r)||this._deleteIfExpired(r,n)===!1&&(yield e)}for(let e of this.cache){let[r,n]=e;this._deleteIfExpired(r,n)===!1&&(yield e)}}get(e){if(this.cache.has(e)){let r=this.cache.get(e);return this._getItemValue(e,r)}if(this.oldCache.has(e)){let r=this.oldCache.get(e);if(this._deleteIfExpired(e,r)===!1)return this._moveToRecent(e,r),r.value}}set(e,r,{maxAge:n=this.maxAge===1/0?void 0:Date.now()+this.maxAge}={}){this.cache.has(e)?this.cache.set(e,{value:r,maxAge:n}):this._set(e,{value:r,expiry:n})}has(e){return this.cache.has(e)?!this._deleteIfExpired(e,this.cache.get(e)):this.oldCache.has(e)?!this._deleteIfExpired(e,this.oldCache.get(e)):!1}peek(e){if(this.cache.has(e))return this._peek(e,this.cache);if(this.oldCache.has(e))return this._peek(e,this.oldCache)}delete(e){let r=this.cache.delete(e);return r&&this._size--,this.oldCache.delete(e)||r}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}resize(e){if(!(e&&e>0))throw new TypeError("`maxSize` must be a number greater than 0");let r=[...this._entriesAscending()],n=r.length-e;n<0?(this.cache=new Map(r),this.oldCache=new Map,this._size=r.length):(n>0&&this._emitEvictions(r.slice(0,n)),this.oldCache=new Map(r.slice(n)),this.cache=new Map,this._size=0),this.maxSize=e}*keys(){for(let[e]of this)yield e}*values(){for(let[,e]of this)yield e}*[Symbol.iterator](){for(let e of this.cache){let[r,n]=e;this._deleteIfExpired(r,n)===!1&&(yield[r,n.value])}for(let e of this.oldCache){let[r,n]=e;this.cache.has(r)||this._deleteIfExpired(r,n)===!1&&(yield[r,n.value])}}*entriesDescending(){let e=[...this.cache];for(let r=e.length-1;r>=0;--r){let n=e[r],[i,s]=n;this._deleteIfExpired(i,s)===!1&&(yield[i,s.value])}e=[...this.oldCache];for(let r=e.length-1;r>=0;--r){let n=e[r],[i,s]=n;this.cache.has(i)||this._deleteIfExpired(i,s)===!1&&(yield[i,s.value])}}*entriesAscending(){for(let[e,r]of this._entriesAscending())yield[e,r.value]}get size(){if(!this._size)return this.oldCache.size;let e=0;for(let r of this.oldCache.keys())this.cache.has(r)||e++;return Math.min(this._size+e,this.maxSize)}};U8.exports=vm});var q8=V((D9e,Jc)=>{d();m();p();(function(){"use strict";function t(n,i,s){if(!n)return null;t.caseSensitive||(n=n.toLowerCase());var o=t.threshold===null?null:t.threshold*n.length,a=t.thresholdAbsolute,l;o!==null&&a!==null?l=Math.min(o,a):o!==null?l=o:a!==null?l=a:l=null;var u,c,f,h,g,y=i.length;for(g=0;g<y;g++)if(c=i[g],s&&(c=c[s]),!!c&&(t.caseSensitive?f=c:f=c.toLowerCase(),h=r(n,f,l),(l===null||h<l)&&(l=h,s&&t.returnWinningObject?u=i[g]:u=c,t.returnFirstMatch)))return u;return u||t.nullResultValue}t.threshold=.4,t.thresholdAbsolute=20,t.caseSensitive=!1,t.nullResultValue=null,t.returnWinningObject=null,t.returnFirstMatch=!1,typeof Jc<"u"&&Jc.exports?Jc.exports=t:window.didYouMean=t;var e=Math.pow(2,32)-1;function r(n,i,s){s=s||s===0?s:e;var o=n.length,a=i.length;if(o===0)return Math.min(s+1,a);if(a===0)return Math.min(s+1,o);if(Math.abs(o-a)>s)return s+1;var l=[],u,c,f,h,g;for(u=0;u<=a;u++)l[u]=[u];for(c=0;c<=o;c++)l[0][c]=c;for(u=1;u<=a;u++){for(f=e,h=1,u>s&&(h=u-s),g=a+1,g>s+u&&(g=s+u),c=1;c<=o;c++)c<h||c>g?l[u][c]=s+1:i.charAt(u-1)===n.charAt(c-1)?l[u][c]=l[u-1][c-1]:l[u][c]=Math.min(l[u-1][c-1]+1,Math.min(l[u][c-1]+1,l[u-1][c]+1)),l[u][c]<f&&(f=l[u][c]);if(f>s)return s+1}return l[a][o]}})()});d();m();p();d();m();p();var W2;(function(t){function e(r){return typeof r=="string"}t.is=e})(W2||(W2={}));var zf;(function(t){function e(r){return typeof r=="string"}t.is=e})(zf||(zf={}));var H2;(function(t){t.MIN_VALUE=-2147483648,t.MAX_VALUE=2147483647;function e(r){return typeof r=="number"&&t.MIN_VALUE<=r&&r<=t.MAX_VALUE}t.is=e})(H2||(H2={}));var yl;(function(t){t.MIN_VALUE=0,t.MAX_VALUE=2147483647;function e(r){return typeof r=="number"&&t.MIN_VALUE<=r&&r<=t.MAX_VALUE}t.is=e})(yl||(yl={}));var ar;(function(t){function e(n,i){return n===Number.MAX_VALUE&&(n=yl.MAX_VALUE),i===Number.MAX_VALUE&&(i=yl.MAX_VALUE),{line:n,character:i}}t.create=e;function r(n){let i=n;return B.objectLiteral(i)&&B.uinteger(i.line)&&B.uinteger(i.character)}t.is=r})(ar||(ar={}));var tt;(function(t){function e(n,i,s,o){if(B.uinteger(n)&&B.uinteger(i)&&B.uinteger(s)&&B.uinteger(o))return{start:ar.create(n,i),end:ar.create(s,o)};if(ar.is(n)&&ar.is(i))return{start:n,end:i};throw new Error(`Range#create called with invalid arguments[${n}, ${i}, ${s}, ${o}]`)}t.create=e;function r(n){let i=n;return B.objectLiteral(i)&&ar.is(i.start)&&ar.is(i.end)}t.is=r})(tt||(tt={}));var xl;(function(t){function e(n,i){return{uri:n,range:i}}t.create=e;function r(n){let i=n;return B.objectLiteral(i)&&tt.is(i.range)&&(B.string(i.uri)||B.undefined(i.uri))}t.is=r})(xl||(xl={}));var G2;(function(t){function e(n,i,s,o){return{targetUri:n,targetRange:i,targetSelectionRange:s,originSelectionRange:o}}t.create=e;function r(n){let i=n;return B.objectLiteral(i)&&tt.is(i.targetRange)&&B.string(i.targetUri)&&tt.is(i.targetSelectionRange)&&(tt.is(i.originSelectionRange)||B.undefined(i.originSelectionRange))}t.is=r})(G2||(G2={}));var jf;(function(t){function e(n,i,s,o){return{red:n,green:i,blue:s,alpha:o}}t.create=e;function r(n){let i=n;return B.objectLiteral(i)&&B.numberRange(i.red,0,1)&&B.numberRange(i.green,0,1)&&B.numberRange(i.blue,0,1)&&B.numberRange(i.alpha,0,1)}t.is=r})(jf||(jf={}));var X2;(function(t){function e(n,i){return{range:n,color:i}}t.create=e;function r(n){let i=n;return B.objectLiteral(i)&&tt.is(i.range)&&jf.is(i.color)}t.is=r})(X2||(X2={}));var Q2;(function(t){function e(n,i,s){return{label:n,textEdit:i,additionalTextEdits:s}}t.create=e;function r(n){let i=n;return B.objectLiteral(i)&&B.string(i.label)&&(B.undefined(i.textEdit)||Ni.is(i))&&(B.undefined(i.additionalTextEdits)||B.typedArray(i.additionalTextEdits,Ni.is))}t.is=r})(Q2||(Q2={}));var Y2;(function(t){t.Comment="comment",t.Imports="imports",t.Region="region"})(Y2||(Y2={}));var J2;(function(t){function e(n,i,s,o,a,l){let u={startLine:n,endLine:i};return B.defined(s)&&(u.startCharacter=s),B.defined(o)&&(u.endCharacter=o),B.defined(a)&&(u.kind=a),B.defined(l)&&(u.collapsedText=l),u}t.create=e;function r(n){let i=n;return B.objectLiteral(i)&&B.uinteger(i.startLine)&&B.uinteger(i.startLine)&&(B.undefined(i.startCharacter)||B.uinteger(i.startCharacter))&&(B.undefined(i.endCharacter)||B.uinteger(i.endCharacter))&&(B.undefined(i.kind)||B.string(i.kind))}t.is=r})(J2||(J2={}));var Vf;(function(t){function e(n,i){return{location:n,message:i}}t.create=e;function r(n){let i=n;return B.defined(i)&&xl.is(i.location)&&B.string(i.message)}t.is=r})(Vf||(Vf={}));var Z2;(function(t){t.Error=1,t.Warning=2,t.Information=3,t.Hint=4})(Z2||(Z2={}));var K2;(function(t){t.Unnecessary=1,t.Deprecated=2})(K2||(K2={}));var e5;(function(t){function e(r){let n=r;return B.objectLiteral(n)&&B.string(n.href)}t.is=e})(e5||(e5={}));var Sl;(function(t){function e(n,i,s,o,a,l){let u={range:n,message:i};return B.defined(s)&&(u.severity=s),B.defined(o)&&(u.code=o),B.defined(a)&&(u.source=a),B.defined(l)&&(u.relatedInformation=l),u}t.create=e;function r(n){var i;let s=n;return B.defined(s)&&tt.is(s.range)&&B.string(s.message)&&(B.number(s.severity)||B.undefined(s.severity))&&(B.integer(s.code)||B.string(s.code)||B.undefined(s.code))&&(B.undefined(s.codeDescription)||B.string((i=s.codeDescription)===null||i===void 0?void 0:i.href))&&(B.string(s.source)||B.undefined(s.source))&&(B.undefined(s.relatedInformation)||B.typedArray(s.relatedInformation,Vf.is))}t.is=r})(Sl||(Sl={}));var Ti;(function(t){function e(n,i,...s){let o={title:n,command:i};return B.defined(s)&&s.length>0&&(o.arguments=s),o}t.create=e;function r(n){let i=n;return B.defined(i)&&B.string(i.title)&&B.string(i.command)}t.is=r})(Ti||(Ti={}));var Ni;(function(t){function e(s,o){return{range:s,newText:o}}t.replace=e;function r(s,o){return{range:{start:s,end:s},newText:o}}t.insert=r;function n(s){return{range:s,newText:""}}t.del=n;function i(s){let o=s;return B.objectLiteral(o)&&B.string(o.newText)&&tt.is(o.range)}t.is=i})(Ni||(Ni={}));var Wf;(function(t){function e(n,i,s){let o={label:n};return i!==void 0&&(o.needsConfirmation=i),s!==void 0&&(o.description=s),o}t.create=e;function r(n){let i=n;return B.objectLiteral(i)&&B.string(i.label)&&(B.boolean(i.needsConfirmation)||i.needsConfirmation===void 0)&&(B.string(i.description)||i.description===void 0)}t.is=r})(Wf||(Wf={}));var Mi;(function(t){function e(r){let n=r;return B.string(n)}t.is=e})(Mi||(Mi={}));var t5;(function(t){function e(s,o,a){return{range:s,newText:o,annotationId:a}}t.replace=e;function r(s,o,a){return{range:{start:s,end:s},newText:o,annotationId:a}}t.insert=r;function n(s,o){return{range:s,newText:"",annotationId:o}}t.del=n;function i(s){let o=s;return Ni.is(o)&&(Wf.is(o.annotationId)||Mi.is(o.annotationId))}t.is=i})(t5||(t5={}));var Hf;(function(t){function e(n,i){return{textDocument:n,edits:i}}t.create=e;function r(n){let i=n;return B.defined(i)&&Jf.is(i.textDocument)&&Array.isArray(i.edits)}t.is=r})(Hf||(Hf={}));var Gf;(function(t){function e(n,i,s){let o={kind:"create",uri:n};return i!==void 0&&(i.overwrite!==void 0||i.ignoreIfExists!==void 0)&&(o.options=i),s!==void 0&&(o.annotationId=s),o}t.create=e;function r(n){let i=n;return i&&i.kind==="create"&&B.string(i.uri)&&(i.options===void 0||(i.options.overwrite===void 0||B.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||B.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Mi.is(i.annotationId))}t.is=r})(Gf||(Gf={}));var Xf;(function(t){function e(n,i,s,o){let a={kind:"rename",oldUri:n,newUri:i};return s!==void 0&&(s.overwrite!==void 0||s.ignoreIfExists!==void 0)&&(a.options=s),o!==void 0&&(a.annotationId=o),a}t.create=e;function r(n){let i=n;return i&&i.kind==="rename"&&B.string(i.oldUri)&&B.string(i.newUri)&&(i.options===void 0||(i.options.overwrite===void 0||B.boolean(i.options.overwrite))&&(i.options.ignoreIfExists===void 0||B.boolean(i.options.ignoreIfExists)))&&(i.annotationId===void 0||Mi.is(i.annotationId))}t.is=r})(Xf||(Xf={}));var Qf;(function(t){function e(n,i,s){let o={kind:"delete",uri:n};return i!==void 0&&(i.recursive!==void 0||i.ignoreIfNotExists!==void 0)&&(o.options=i),s!==void 0&&(o.annotationId=s),o}t.create=e;function r(n){let i=n;return i&&i.kind==="delete"&&B.string(i.uri)&&(i.options===void 0||(i.options.recursive===void 0||B.boolean(i.options.recursive))&&(i.options.ignoreIfNotExists===void 0||B.boolean(i.options.ignoreIfNotExists)))&&(i.annotationId===void 0||Mi.is(i.annotationId))}t.is=r})(Qf||(Qf={}));var Yf;(function(t){function e(r){let n=r;return n&&(n.changes!==void 0||n.documentChanges!==void 0)&&(n.documentChanges===void 0||n.documentChanges.every(i=>B.string(i.kind)?Gf.is(i)||Xf.is(i)||Qf.is(i):Hf.is(i)))}t.is=e})(Yf||(Yf={}));var r5;(function(t){function e(n){return{uri:n}}t.create=e;function r(n){let i=n;return B.defined(i)&&B.string(i.uri)}t.is=r})(r5||(r5={}));var n5;(function(t){function e(n,i){return{uri:n,version:i}}t.create=e;function r(n){let i=n;return B.defined(i)&&B.string(i.uri)&&B.integer(i.version)}t.is=r})(n5||(n5={}));var Jf;(function(t){function e(n,i){return{uri:n,version:i}}t.create=e;function r(n){let i=n;return B.defined(i)&&B.string(i.uri)&&(i.version===null||B.integer(i.version))}t.is=r})(Jf||(Jf={}));var i5;(function(t){function e(n,i,s,o){return{uri:n,languageId:i,version:s,text:o}}t.create=e;function r(n){let i=n;return B.defined(i)&&B.string(i.uri)&&B.string(i.languageId)&&B.integer(i.version)&&B.string(i.text)}t.is=r})(i5||(i5={}));var Zf;(function(t){t.PlainText="plaintext",t.Markdown="markdown";function e(r){let n=r;return n===t.PlainText||n===t.Markdown}t.is=e})(Zf||(Zf={}));var js;(function(t){function e(r){let n=r;return B.objectLiteral(r)&&Zf.is(n.kind)&&B.string(n.value)}t.is=e})(js||(js={}));var bt;(function(t){t.Text=1,t.Method=2,t.Function=3,t.Constructor=4,t.Field=5,t.Variable=6,t.Class=7,t.Interface=8,t.Module=9,t.Property=10,t.Unit=11,t.Value=12,t.Enum=13,t.Keyword=14,t.Snippet=15,t.Color=16,t.File=17,t.Reference=18,t.Folder=19,t.EnumMember=20,t.Constant=21,t.Struct=22,t.Event=23,t.Operator=24,t.TypeParameter=25})(bt||(bt={}));var s5;(function(t){t.PlainText=1,t.Snippet=2})(s5||(s5={}));var o5;(function(t){t.Deprecated=1})(o5||(o5={}));var a5;(function(t){function e(n,i,s){return{newText:n,insert:i,replace:s}}t.create=e;function r(n){let i=n;return i&&B.string(i.newText)&&tt.is(i.insert)&&tt.is(i.replace)}t.is=r})(a5||(a5={}));var l5;(function(t){t.asIs=1,t.adjustIndentation=2})(l5||(l5={}));var u5;(function(t){function e(r){let n=r;return n&&(B.string(n.detail)||n.detail===void 0)&&(B.string(n.description)||n.description===void 0)}t.is=e})(u5||(u5={}));var c5;(function(t){function e(r){return{label:r}}t.create=e})(c5||(c5={}));var f5;(function(t){function e(r,n){return{items:r||[],isIncomplete:!!n}}t.create=e})(f5||(f5={}));var _l;(function(t){function e(n){return n.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}t.fromPlainText=e;function r(n){let i=n;return B.string(i)||B.objectLiteral(i)&&B.string(i.language)&&B.string(i.value)}t.is=r})(_l||(_l={}));var h5;(function(t){function e(r){let n=r;return!!n&&B.objectLiteral(n)&&(js.is(n.contents)||_l.is(n.contents)||B.typedArray(n.contents,_l.is))&&(r.range===void 0||tt.is(r.range))}t.is=e})(h5||(h5={}));var d5;(function(t){function e(r,n){return n?{label:r,documentation:n}:{label:r}}t.create=e})(d5||(d5={}));var p5;(function(t){function e(r,n,...i){let s={label:r};return B.defined(n)&&(s.documentation=n),B.defined(i)?s.parameters=i:s.parameters=[],s}t.create=e})(p5||(p5={}));var m5;(function(t){t.Text=1,t.Read=2,t.Write=3})(m5||(m5={}));var g5;(function(t){function e(r,n){let i={range:r};return B.number(n)&&(i.kind=n),i}t.create=e})(g5||(g5={}));var b5;(function(t){t.File=1,t.Module=2,t.Namespace=3,t.Package=4,t.Class=5,t.Method=6,t.Property=7,t.Field=8,t.Constructor=9,t.Enum=10,t.Interface=11,t.Function=12,t.Variable=13,t.Constant=14,t.String=15,t.Number=16,t.Boolean=17,t.Array=18,t.Object=19,t.Key=20,t.Null=21,t.EnumMember=22,t.Struct=23,t.Event=24,t.Operator=25,t.TypeParameter=26})(b5||(b5={}));var v5;(function(t){t.Deprecated=1})(v5||(v5={}));var w5;(function(t){function e(r,n,i,s,o){let a={name:r,kind:n,location:{uri:s,range:i}};return o&&(a.containerName=o),a}t.create=e})(w5||(w5={}));var y5;(function(t){function e(r,n,i,s){return s!==void 0?{name:r,kind:n,location:{uri:i,range:s}}:{name:r,kind:n,location:{uri:i}}}t.create=e})(y5||(y5={}));var x5;(function(t){function e(n,i,s,o,a,l){let u={name:n,detail:i,kind:s,range:o,selectionRange:a};return l!==void 0&&(u.children=l),u}t.create=e;function r(n){let i=n;return i&&B.string(i.name)&&B.number(i.kind)&&tt.is(i.range)&&tt.is(i.selectionRange)&&(i.detail===void 0||B.string(i.detail))&&(i.deprecated===void 0||B.boolean(i.deprecated))&&(i.children===void 0||Array.isArray(i.children))&&(i.tags===void 0||Array.isArray(i.tags))}t.is=r})(x5||(x5={}));var S5;(function(t){t.Empty="",t.QuickFix="quickfix",t.Refactor="refactor",t.RefactorExtract="refactor.extract",t.RefactorInline="refactor.inline",t.RefactorRewrite="refactor.rewrite",t.Source="source",t.SourceOrganizeImports="source.organizeImports",t.SourceFixAll="source.fixAll"})(S5||(S5={}));var Cl;(function(t){t.Invoked=1,t.Automatic=2})(Cl||(Cl={}));var _5;(function(t){function e(n,i,s){let o={diagnostics:n};return i!=null&&(o.only=i),s!=null&&(o.triggerKind=s),o}t.create=e;function r(n){let i=n;return B.defined(i)&&B.typedArray(i.diagnostics,Sl.is)&&(i.only===void 0||B.typedArray(i.only,B.string))&&(i.triggerKind===void 0||i.triggerKind===Cl.Invoked||i.triggerKind===Cl.Automatic)}t.is=r})(_5||(_5={}));var C5;(function(t){function e(n,i,s){let o={title:n},a=!0;return typeof i=="string"?(a=!1,o.kind=i):Ti.is(i)?o.command=i:o.edit=i,a&&s!==void 0&&(o.kind=s),o}t.create=e;function r(n){let i=n;return i&&B.string(i.title)&&(i.diagnostics===void 0||B.typedArray(i.diagnostics,Sl.is))&&(i.kind===void 0||B.string(i.kind))&&(i.edit!==void 0||i.command!==void 0)&&(i.command===void 0||Ti.is(i.command))&&(i.isPreferred===void 0||B.boolean(i.isPreferred))&&(i.edit===void 0||Yf.is(i.edit))}t.is=r})(C5||(C5={}));var E5;(function(t){function e(n,i){let s={range:n};return B.defined(i)&&(s.data=i),s}t.create=e;function r(n){let i=n;return B.defined(i)&&tt.is(i.range)&&(B.undefined(i.command)||Ti.is(i.command))}t.is=r})(E5||(E5={}));var k5;(function(t){function e(n,i){return{tabSize:n,insertSpaces:i}}t.create=e;function r(n){let i=n;return B.defined(i)&&B.uinteger(i.tabSize)&&B.boolean(i.insertSpaces)}t.is=r})(k5||(k5={}));var A5;(function(t){function e(n,i,s){return{range:n,target:i,data:s}}t.create=e;function r(n){let i=n;return B.defined(i)&&tt.is(i.range)&&(B.undefined(i.target)||B.string(i.target))}t.is=r})(A5||(A5={}));var L5;(function(t){function e(n,i){return{range:n,parent:i}}t.create=e;function r(n){let i=n;return B.objectLiteral(i)&&tt.is(i.range)&&(i.parent===void 0||t.is(i.parent))}t.is=r})(L5||(L5={}));var R5;(function(t){t.namespace="namespace",t.type="type",t.class="class",t.enum="enum",t.interface="interface",t.struct="struct",t.typeParameter="typeParameter",t.parameter="parameter",t.variable="variable",t.property="property",t.enumMember="enumMember",t.event="event",t.function="function",t.method="method",t.macro="macro",t.keyword="keyword",t.modifier="modifier",t.comment="comment",t.string="string",t.number="number",t.regexp="regexp",t.operator="operator",t.decorator="decorator"})(R5||(R5={}));var T5;(function(t){t.declaration="declaration",t.definition="definition",t.readonly="readonly",t.static="static",t.deprecated="deprecated",t.abstract="abstract",t.async="async",t.modification="modification",t.documentation="documentation",t.defaultLibrary="defaultLibrary"})(T5||(T5={}));var N5;(function(t){function e(r){let n=r;return B.objectLiteral(n)&&(n.resultId===void 0||typeof n.resultId=="string")&&Array.isArray(n.data)&&(n.data.length===0||typeof n.data[0]=="number")}t.is=e})(N5||(N5={}));var M5;(function(t){function e(n,i){return{range:n,text:i}}t.create=e;function r(n){let i=n;return i!=null&&tt.is(i.range)&&B.string(i.text)}t.is=r})(M5||(M5={}));var O5;(function(t){function e(n,i,s){return{range:n,variableName:i,caseSensitiveLookup:s}}t.create=e;function r(n){let i=n;return i!=null&&tt.is(i.range)&&B.boolean(i.caseSensitiveLookup)&&(B.string(i.variableName)||i.variableName===void 0)}t.is=r})(O5||(O5={}));var P5;(function(t){function e(n,i){return{range:n,expression:i}}t.create=e;function r(n){let i=n;return i!=null&&tt.is(i.range)&&(B.string(i.expression)||i.expression===void 0)}t.is=r})(P5||(P5={}));var I5;(function(t){function e(n,i){return{frameId:n,stoppedLocation:i}}t.create=e;function r(n){let i=n;return B.defined(i)&&tt.is(n.stoppedLocation)}t.is=r})(I5||(I5={}));var Kf;(function(t){t.Type=1,t.Parameter=2;function e(r){return r===1||r===2}t.is=e})(Kf||(Kf={}));var eh;(function(t){function e(n){return{value:n}}t.create=e;function r(n){let i=n;return B.objectLiteral(i)&&(i.tooltip===void 0||B.string(i.tooltip)||js.is(i.tooltip))&&(i.location===void 0||xl.is(i.location))&&(i.command===void 0||Ti.is(i.command))}t.is=r})(eh||(eh={}));var D5;(function(t){function e(n,i,s){let o={position:n,label:i};return s!==void 0&&(o.kind=s),o}t.create=e;function r(n){let i=n;return B.objectLiteral(i)&&ar.is(i.position)&&(B.string(i.label)||B.typedArray(i.label,eh.is))&&(i.kind===void 0||Kf.is(i.kind))&&i.textEdits===void 0||B.typedArray(i.textEdits,Ni.is)&&(i.tooltip===void 0||B.string(i.tooltip)||js.is(i.tooltip))&&(i.paddingLeft===void 0||B.boolean(i.paddingLeft))&&(i.paddingRight===void 0||B.boolean(i.paddingRight))}t.is=r})(D5||(D5={}));var F5;(function(t){function e(r){return{kind:"snippet",value:r}}t.createSnippet=e})(F5||(F5={}));var $5;(function(t){function e(r,n,i,s){return{insertText:r,filterText:n,range:i,command:s}}t.create=e})($5||($5={}));var U5;(function(t){function e(r){return{items:r}}t.create=e})(U5||(U5={}));var B5;(function(t){t.Invoked=0,t.Automatic=1})(B5||(B5={}));var q5;(function(t){function e(r,n){return{range:r,text:n}}t.create=e})(q5||(q5={}));var z5;(function(t){function e(r,n){return{triggerKind:r,selectedCompletionInfo:n}}t.create=e})(z5||(z5={}));var j5;(function(t){function e(r){let n=r;return B.objectLiteral(n)&&zf.is(n.uri)&&B.string(n.name)}t.is=e})(j5||(j5={}));var V5;(function(t){function e(s,o,a,l){return new th(s,o,a,l)}t.create=e;function r(s){let o=s;return!!(B.defined(o)&&B.string(o.uri)&&(B.undefined(o.languageId)||B.string(o.languageId))&&B.uinteger(o.lineCount)&&B.func(o.getText)&&B.func(o.positionAt)&&B.func(o.offsetAt))}t.is=r;function n(s,o){let a=s.getText(),l=i(o,(c,f)=>{let h=c.range.start.line-f.range.start.line;return h===0?c.range.start.character-f.range.start.character:h}),u=a.length;for(let c=l.length-1;c>=0;c--){let f=l[c],h=s.offsetAt(f.range.start),g=s.offsetAt(f.range.end);if(g<=u)a=a.substring(0,h)+f.newText+a.substring(g,a.length);else throw new Error("Overlapping edit");u=h}return a}t.applyEdits=n;function i(s,o){if(s.length<=1)return s;let a=s.length/2|0,l=s.slice(0,a),u=s.slice(a);i(l,o),i(u,o);let c=0,f=0,h=0;for(;c<l.length&&f<u.length;)o(l[c],u[f])<=0?s[h++]=l[c++]:s[h++]=u[f++];for(;c<l.length;)s[h++]=l[c++];for(;f<u.length;)s[h++]=u[f++];return s}})(V5||(V5={}));var th=class{constructor(e,r,n,i){this._uri=e,this._languageId=r,this._version=n,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let r=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(r,n)}return this._content}update(e,r){this._content=e.text,this._version=r,this._lineOffsets=void 0}getLineOffsets(){if(this._lineOffsets===void 0){let e=[],r=this._content,n=!0;for(let i=0;i<r.length;i++){n&&(e.push(i),n=!1);let s=r.charAt(i);n=s==="\r"||s===`
67
+ `,s==="\r"&&i+1<r.length&&r.charAt(i+1)===`
68
+ `&&i++}n&&r.length>0&&e.push(r.length),this._lineOffsets=e}return this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let r=this.getLineOffsets(),n=0,i=r.length;if(i===0)return ar.create(0,e);for(;n<i;){let o=Math.floor((n+i)/2);r[o]>e?i=o:n=o+1}let s=n-1;return ar.create(s,e-r[s])}offsetAt(e){let r=this.getLineOffsets();if(e.line>=r.length)return this._content.length;if(e.line<0)return 0;let n=r[e.line],i=e.line+1<r.length?r[e.line+1]:this._content.length;return Math.max(Math.min(n+e.character,i),n)}get lineCount(){return this.getLineOffsets().length}},B;(function(t){let e=Object.prototype.toString;function r(g){return typeof g<"u"}t.defined=r;function n(g){return typeof g>"u"}t.undefined=n;function i(g){return g===!0||g===!1}t.boolean=i;function s(g){return e.call(g)==="[object String]"}t.string=s;function o(g){return e.call(g)==="[object Number]"}t.number=o;function a(g,y,S){return e.call(g)==="[object Number]"&&y<=g&&g<=S}t.numberRange=a;function l(g){return e.call(g)==="[object Number]"&&-2147483648<=g&&g<=2147483647}t.integer=l;function u(g){return e.call(g)==="[object Number]"&&0<=g&&g<=2147483647}t.uinteger=u;function c(g){return e.call(g)==="[object Function]"}t.func=c;function f(g){return g!==null&&typeof g=="object"}t.objectLiteral=f;function h(g,y){return Array.isArray(g)&&g.every(y)}t.typedArray=h})(B||(B={}));var Vt=be(Et(),1),Lm=be(Et(),1),rl=be(Et(),1);d();m();p();d();m();p();d();m();p();var Zn=class extends Error{sourceStart;sourceEnd;parserState;constructor(e,r,n,i){super(e),this.name="ParseError",this.sourceStart=r,this.sourceEnd=n,this.parserState=i}},xr=class extends Zn{token;constructor(e,r,n,i,s){super(e,r,n,i),this.token=s}},Hr={UnexpectedNewLineInString:"Unexpected newline while consuming a string token.",UnexpectedEOFInString:"Unexpected EOF while consuming a string token.",UnexpectedEOFInComment:"Unexpected EOF while consuming a comment.",UnexpectedEOFInURL:"Unexpected EOF while consuming a url token.",UnexpectedEOFInEscapedCodePoint:"Unexpected EOF while consuming an escaped code point.",UnexpectedCharacterInURL:"Unexpected character while consuming a url token.",InvalidEscapeSequenceInURL:"Invalid escape sequence while consuming a url token.",InvalidEscapeSequenceAfterBackslash:'Invalid escape sequence after "\\"'},lh=class{cursor=0;source="";codePointSource=[];representationIndices=[-1];length=0;representationStart=0;representationEnd=-1;constructor(e){this.source=e;{let r=-1,n="";for(n of e)r+=n.length,this.codePointSource.push(n.codePointAt(0)),this.representationIndices.push(r)}this.length=this.codePointSource.length}advanceCodePoint(e=1){this.cursor=this.cursor+e,this.representationEnd=this.representationIndices[this.cursor]}readCodePoint(e=1){let r=this.codePointSource[this.cursor];return r!==void 0&&(this.cursor=this.cursor+e,this.representationEnd=this.representationIndices[this.cursor],r)}unreadCodePoint(e=1){this.cursor=this.cursor-e,this.representationEnd=this.representationIndices[this.cursor]}resetRepresentation(){this.representationStart=this.representationIndices[this.cursor]+1,this.representationEnd=-1}},Az=typeof globalThis<"u"&&"structuredClone"in globalThis;function xe(...t){let e="";for(let r=0;r<t.length;r++)e+=t[r][1];return e}var uh=39,H5=42,L_=8,Ws=13,G5=9,R_=58,T_=44,N_=64,M_=127,O_=33,ch=12,El=46,P_=62,Ft=45,I_=31,D_=69,F_=101,$_=123,fh=40,U_=91,X5=60,Hs=10,B_=11,q_=95,z_=1114111,j_=0,V_=35,W_=37,Pi=43,hh=34,ih=65533,Gs=92,H_=125,kl=41,G_=93,X_=59,Q_=14,dh=47,Q5=32,ph=117,mh=85,Y_=114,J_=82,Z_=108,K_=76,Y5=63,eC=48,tC=70;function rC(t){return t.codePointSource[t.cursor]===X5&&t.codePointSource[t.cursor+1]===O_&&t.codePointSource[t.cursor+2]===Ft&&t.codePointSource[t.cursor+3]===Ft}function Dt(t){return t>=48&&t<=57}function nC(t){return t>=65&&t<=90}function iC(t){return t>=97&&t<=122}function Oi(t){return Dt(t)||t>=97&&t<=102||t>=65&&t<=70}function sC(t){return iC(t)||nC(t)}function Al(t){return sC(t)||oC(t)||t===q_}function J5(t){return Al(t)||Dt(t)||t===Ft}function oC(t){return t===183||t===8204||t===8205||t===8255||t===8256||t===8204||192<=t&&t<=214||216<=t&&t<=246||248<=t&&t<=893||895<=t&&t<=8191||8304<=t&&t<=8591||11264<=t&&t<=12271||12289<=t&&t<=55295||63744<=t&&t<=64975||65008<=t&&t<=65533||t>=65536}function Ll(t){return t===Hs||t===Ws||t===ch}function Jn(t){return t===Q5||t===Hs||t===G5||t===Ws||t===ch}function Ii(t){return t.codePointSource[t.cursor]===Gs&&!Ll(t.codePointSource[t.cursor+1])}function Rl(t,e){return e.codePointSource[e.cursor]===Ft?e.codePointSource[e.cursor+1]===Ft||!!Al(e.codePointSource[e.cursor+1])||e.codePointSource[e.cursor+1]===Gs&&!Ll(e.codePointSource[e.cursor+2]):!!Al(e.codePointSource[e.cursor])||Ii(e)}function W5(t){return t.codePointSource[t.cursor]===Pi||t.codePointSource[t.cursor]===Ft?!!Dt(t.codePointSource[t.cursor+1])||t.codePointSource[t.cursor+1]===El&&Dt(t.codePointSource[t.cursor+2]):t.codePointSource[t.cursor]===El?Dt(t.codePointSource[t.cursor+1]):Dt(t.codePointSource[t.cursor])}function aC(t){return t.codePointSource[t.cursor]===dh&&t.codePointSource[t.cursor+1]===H5}function lC(t){return t.codePointSource[t.cursor]===Ft&&t.codePointSource[t.cursor+1]===Ft&&t.codePointSource[t.cursor+2]===P_}var J,Vs,Tl;function Z5(t){switch(t){case J.OpenParen:return J.CloseParen;case J.CloseParen:return J.OpenParen;case J.OpenCurly:return J.CloseCurly;case J.CloseCurly:return J.OpenCurly;case J.OpenSquare:return J.CloseSquare;case J.CloseSquare:return J.OpenSquare;default:return null}}function K5(t){switch(t[0]){case J.OpenParen:return[J.CloseParen,")",-1,-1,void 0];case J.CloseParen:return[J.OpenParen,"(",-1,-1,void 0];case J.OpenCurly:return[J.CloseCurly,"}",-1,-1,void 0];case J.CloseCurly:return[J.OpenCurly,"{",-1,-1,void 0];case J.OpenSquare:return[J.CloseSquare,"]",-1,-1,void 0];case J.CloseSquare:return[J.OpenSquare,"[",-1,-1,void 0];default:return null}}function uC(t,e){for(e.advanceCodePoint(2);;){let r=e.readCodePoint();if(r===!1){let n=[J.Comment,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new xr(Hr.UnexpectedEOFInComment,e.representationStart,e.representationEnd,["4.3.2. Consume comments","Unexpected EOF"],n)),n}if(r===H5&&e.codePointSource[e.cursor]!==void 0&&e.codePointSource[e.cursor]===dh){e.advanceCodePoint();break}}return[J.Comment,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0]}function Nl(t,e){let r=e.readCodePoint();if(r===!1)return t.onParseError(new Zn(Hr.UnexpectedEOFInEscapedCodePoint,e.representationStart,e.representationEnd,["4.3.7. Consume an escaped code point","Unexpected EOF"])),ih;if(Oi(r)){let i=[r];for(;e.codePointSource[e.cursor]!==void 0&&Oi(e.codePointSource[e.cursor])&&i.length<6;)i.push(e.codePointSource[e.cursor]),e.advanceCodePoint();Jn(e.codePointSource[e.cursor])&&e.advanceCodePoint();let s=parseInt(String.fromCodePoint(...i),16);return s===0||(n=s)>=55296&&n<=57343||s>z_?ih:s}var n;return r}function Ml(t,e){let r=[];for(;;)if(J5(e.codePointSource[e.cursor]))r.push(e.codePointSource[e.cursor]),e.advanceCodePoint();else{if(!Ii(e))return r;e.advanceCodePoint(),r.push(Nl(t,e))}}function cC(t,e){if(e.advanceCodePoint(),e.codePointSource[e.cursor]!==void 0&&(J5(e.codePointSource[e.cursor])||Ii(e))){let r=Tl.Unrestricted;Rl(0,e)&&(r=Tl.ID);let n=Ml(t,e);return[J.Hash,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...n),type:r}]}return[J.Delim,"#",e.representationStart,e.representationEnd,{value:"#"}]}function fC(t,e){let r=Vs.Integer;for(e.codePointSource[e.cursor]!==Pi&&e.codePointSource[e.cursor]!==Ft||e.advanceCodePoint();Dt(e.codePointSource[e.cursor]);)e.advanceCodePoint();if(e.codePointSource[e.cursor]===El&&Dt(e.codePointSource[e.cursor+1]))for(e.advanceCodePoint(2),r=Vs.Number;Dt(e.codePointSource[e.cursor]);)e.advanceCodePoint();if(e.codePointSource[e.cursor]===F_||e.codePointSource[e.cursor]===D_){if(Dt(e.codePointSource[e.cursor+1]))e.advanceCodePoint(2);else{if(e.codePointSource[e.cursor+1]!==Ft&&e.codePointSource[e.cursor+1]!==Pi||!Dt(e.codePointSource[e.cursor+2]))return r;e.advanceCodePoint(3)}for(r=Vs.Number;Dt(e.codePointSource[e.cursor]);)e.advanceCodePoint()}return r}function sh(t,e){let r;{let s=e.codePointSource[e.cursor];s===Ft?r="-":s===Pi&&(r="+")}let n=fC(0,e),i=parseFloat(e.source.slice(e.representationStart,e.representationEnd+1));if(Rl(0,e)){let s=Ml(t,e);return[J.Dimension,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:i,signCharacter:r,type:n,unit:String.fromCodePoint(...s)}]}return e.codePointSource[e.cursor]===W_?(e.advanceCodePoint(),[J.Percentage,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:i,signCharacter:r}]):[J.Number,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:i,signCharacter:r,type:n}]}function hC(t){for(;Jn(t.codePointSource[t.cursor]);)t.advanceCodePoint();return[J.Whitespace,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0]}function dC(t,e){let r="",n=e.readCodePoint();for(;;){let i=e.readCodePoint();if(i===!1){let s=[J.String,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];return t.onParseError(new xr(Hr.UnexpectedEOFInString,e.representationStart,e.representationEnd,["4.3.5. Consume a string token","Unexpected EOF"],s)),s}if(Ll(i)){e.unreadCodePoint();let s=[J.BadString,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new xr(Hr.UnexpectedNewLineInString,e.representationStart,e.codePointSource[e.cursor]===Ws&&e.codePointSource[e.cursor+1]===Hs?e.representationEnd+2:e.representationEnd+1,["4.3.5. Consume a string token","Unexpected newline"],s)),s}if(i===n)return[J.String,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];if(i!==Gs)r+=String.fromCodePoint(i);else{if(e.codePointSource[e.cursor]===void 0)continue;if(Ll(e.codePointSource[e.cursor])){e.codePointSource[e.cursor]===Ws&&e.codePointSource[e.cursor+1]===Hs&&e.advanceCodePoint(),e.advanceCodePoint();continue}r+=String.fromCodePoint(Nl(t,e))}}}function pC(t){return!(t.length!==3||t[0]!==ph&&t[0]!==mh||t[1]!==Y_&&t[1]!==J_||t[2]!==Z_&&t[2]!==K_)}function oh(t,e){for(;;){if(e.codePointSource[e.cursor]===void 0)return;if(e.codePointSource[e.cursor]===kl)return void e.advanceCodePoint();Ii(e)?(e.advanceCodePoint(),Nl(t,e)):e.advanceCodePoint()}}function mC(t,e){for(;Jn(e.codePointSource[e.cursor]);)e.advanceCodePoint();let r="";for(;;){if(e.codePointSource[e.cursor]===void 0){let i=[J.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];return t.onParseError(new xr(Hr.UnexpectedEOFInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token","Unexpected EOF"],i)),i}if(e.codePointSource[e.cursor]===kl)return e.advanceCodePoint(),[J.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];if(Jn(e.codePointSource[e.cursor])){for(e.advanceCodePoint();Jn(e.codePointSource[e.cursor]);)e.advanceCodePoint();if(e.codePointSource[e.cursor]===void 0){let i=[J.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];return t.onParseError(new xr(Hr.UnexpectedEOFInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token","Consume as much whitespace as possible","Unexpected EOF"],i)),i}return e.codePointSource[e.cursor]===kl?(e.advanceCodePoint(),[J.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}]):(oh(t,e),[J.BadURL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0])}if(e.codePointSource[e.cursor]===hh||e.codePointSource[e.cursor]===uh||e.codePointSource[e.cursor]===fh||(n=e.codePointSource[e.cursor])===B_||n===M_||j_<=n&&n<=L_||Q_<=n&&n<=I_){oh(t,e);let i=[J.BadURL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new xr(Hr.UnexpectedCharacterInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token",`Unexpected U+0022 QUOTATION MARK ("), U+0027 APOSTROPHE ('), U+0028 LEFT PARENTHESIS (() or non-printable code point`],i)),i}if(e.codePointSource[e.cursor]===Gs){if(Ii(e)){e.advanceCodePoint(),r+=String.fromCodePoint(Nl(t,e));continue}oh(t,e);let i=[J.BadURL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new xr(Hr.InvalidEscapeSequenceInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],i)),i}r+=String.fromCodePoint(e.codePointSource[e.cursor]),e.advanceCodePoint()}var n}function ah(t,e){let r=Ml(t,e);if(e.codePointSource[e.cursor]!==fh)return[J.Ident,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...r)}];if(pC(r)){e.advanceCodePoint();let n=0;for(;;){let i=Jn(e.codePointSource[e.cursor]),s=Jn(e.codePointSource[e.cursor+1]);if(i&&s){n+=1,e.advanceCodePoint(1);continue}let o=i?e.codePointSource[e.cursor+1]:e.codePointSource[e.cursor];if(o===hh||o===uh)return n>0&&e.unreadCodePoint(n),[J.Function,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...r)}];break}return mC(t,e)}return e.advanceCodePoint(),[J.Function,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...r)}]}function gC(t){return!(t.codePointSource[t.cursor]!==ph&&t.codePointSource[t.cursor]!==mh||t.codePointSource[t.cursor+1]!==Pi||t.codePointSource[t.cursor+2]!==Y5&&!Oi(t.codePointSource[t.cursor+2]))}function bC(t,e){e.advanceCodePoint(2);let r=[],n=[];for(;e.codePointSource[e.cursor]!==void 0&&r.length<6&&Oi(e.codePointSource[e.cursor]);)r.push(e.codePointSource[e.cursor]),e.advanceCodePoint();for(;e.codePointSource[e.cursor]!==void 0&&r.length<6&&e.codePointSource[e.cursor]===Y5;)n.length===0&&n.push(...r),r.push(eC),n.push(tC),e.advanceCodePoint();if(!n.length&&e.codePointSource[e.cursor]===Ft&&Oi(e.codePointSource[e.cursor+1]))for(e.advanceCodePoint();e.codePointSource[e.cursor]!==void 0&&n.length<6&&Oi(e.codePointSource[e.cursor]);)n.push(e.codePointSource[e.cursor]),e.advanceCodePoint();if(!n.length){let o=parseInt(String.fromCodePoint(...r),16);return[J.UnicodeRange,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{startOfRange:o,endOfRange:o}]}let i=parseInt(String.fromCodePoint(...r),16),s=parseInt(String.fromCodePoint(...n),16);return[J.UnicodeRange,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{startOfRange:i,endOfRange:s}]}function e4(t,e){let r=t.css.valueOf(),n=t.unicodeRangesAllowed??!1,i=new lh(r),s={onParseError:e?.onParseError??vC};return{nextToken:function(){i.resetRepresentation();let a=i.codePointSource[i.cursor];if(a===void 0)return[J.EOF,"",-1,-1,void 0];if(a===dh&&aC(i))return uC(s,i);if(n&&(a===ph||a===mh)&&gC(i))return bC(0,i);if(Al(a))return ah(s,i);if(Dt(a))return sh(s,i);switch(a){case T_:return i.advanceCodePoint(),[J.Comma,",",i.representationStart,i.representationEnd,void 0];case R_:return i.advanceCodePoint(),[J.Colon,":",i.representationStart,i.representationEnd,void 0];case X_:return i.advanceCodePoint(),[J.Semicolon,";",i.representationStart,i.representationEnd,void 0];case fh:return i.advanceCodePoint(),[J.OpenParen,"(",i.representationStart,i.representationEnd,void 0];case kl:return i.advanceCodePoint(),[J.CloseParen,")",i.representationStart,i.representationEnd,void 0];case U_:return i.advanceCodePoint(),[J.OpenSquare,"[",i.representationStart,i.representationEnd,void 0];case G_:return i.advanceCodePoint(),[J.CloseSquare,"]",i.representationStart,i.representationEnd,void 0];case $_:return i.advanceCodePoint(),[J.OpenCurly,"{",i.representationStart,i.representationEnd,void 0];case H_:return i.advanceCodePoint(),[J.CloseCurly,"}",i.representationStart,i.representationEnd,void 0];case uh:case hh:return dC(s,i);case V_:return cC(s,i);case Pi:case El:return W5(i)?sh(s,i):(i.advanceCodePoint(),[J.Delim,i.source[i.representationStart],i.representationStart,i.representationEnd,{value:i.source[i.representationStart]}]);case Hs:case Ws:case ch:case G5:case Q5:return hC(i);case Ft:return W5(i)?sh(s,i):lC(i)?(i.advanceCodePoint(3),[J.CDC,"-->",i.representationStart,i.representationEnd,void 0]):Rl(0,i)?ah(s,i):(i.advanceCodePoint(),[J.Delim,"-",i.representationStart,i.representationEnd,{value:"-"}]);case X5:return rC(i)?(i.advanceCodePoint(4),[J.CDO,"<!--",i.representationStart,i.representationEnd,void 0]):(i.advanceCodePoint(),[J.Delim,"<",i.representationStart,i.representationEnd,{value:"<"}]);case N_:if(i.advanceCodePoint(),Rl(0,i)){let l=Ml(s,i);return[J.AtKeyword,i.source.slice(i.representationStart,i.representationEnd+1),i.representationStart,i.representationEnd,{value:String.fromCodePoint(...l)}]}return[J.Delim,"@",i.representationStart,i.representationEnd,{value:"@"}];case Gs:{if(Ii(i))return ah(s,i);i.advanceCodePoint();let l=[J.Delim,"\\",i.representationStart,i.representationEnd,{value:"\\"}];return s.onParseError(new xr(Hr.InvalidEscapeSequenceAfterBackslash,i.representationStart,i.representationEnd,["4.3.1. Consume a token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],l)),l}}return i.advanceCodePoint(),[J.Delim,i.source[i.representationStart],i.representationStart,i.representationEnd,{value:i.source[i.representationStart]}]},endOfFile:function(){return i.codePointSource[i.cursor]===void 0}}}function vC(){}(function(t){t.Comment="comment",t.AtKeyword="at-keyword-token",t.BadString="bad-string-token",t.BadURL="bad-url-token",t.CDC="CDC-token",t.CDO="CDO-token",t.Colon="colon-token",t.Comma="comma-token",t.Delim="delim-token",t.Dimension="dimension-token",t.EOF="EOF-token",t.Function="function-token",t.Hash="hash-token",t.Ident="ident-token",t.Number="number-token",t.Percentage="percentage-token",t.Semicolon="semicolon-token",t.String="string-token",t.URL="url-token",t.Whitespace="whitespace-token",t.OpenParen="(-token",t.CloseParen=")-token",t.OpenSquare="[-token",t.CloseSquare="]-token",t.OpenCurly="{-token",t.CloseCurly="}-token",t.UnicodeRange="unicode-range-token"})(J||(J={})),function(t){t.Integer="integer",t.Number="number"}(Vs||(Vs={})),function(t){t.Unrestricted="unrestricted",t.ID="id"}(Tl||(Tl={}));var wC=Object.values(J);function gh(t){return!!Array.isArray(t)&&!(t.length<4)&&!!wC.includes(t[0])&&typeof t[1]=="string"&&typeof t[2]=="number"&&typeof t[3]=="number"}function Ol(t){switch(t[0]){case J.Whitespace:case J.Comment:return!0;default:return!1}}function t4(t){return!!t&&t[0]===J.Colon}function r4(t){return!!t&&t[0]===J.Comma}function bh(t){return!!t&&t[0]===J.Comment}function Di(t){return!!t&&t[0]===J.Delim}function n4(t){return!!t&&t[0]===J.Dimension}function Sr(t){return!!t&&t[0]===J.EOF}function i4(t){return!!t&&t[0]===J.Function}function _r(t){return!!t&&t[0]===J.Ident}function s4(t){return!!t&&t[0]===J.Number}function Pl(t){return!!t&&t[0]===J.Whitespace}function Fi(t){return!!t&&t[0]===J.OpenParen}function o4(t){return!!t&&t[0]===J.CloseParen}function a4(t){return!!t&&t[0]===J.OpenSquare}function l4(t){return!!t&&t[0]===J.OpenCurly}var Ee;function $i(t){let e=t.slice();return(r,n,i)=>{let s=-1;for(let o=e.indexOf(n);o<e.length&&(s=r.indexOf(e[o]),s===-1||s<i);o++);return s===-1||s===i&&n===r[i]&&(s++,s>=r.length)?-1:(e=r.slice(),s)}}function vh(t,e){let r=e[0];if(Fi(r)||l4(r)||a4(r)){let n=xC(t,e);return{advance:n.advance,node:n.node}}if(i4(r)){let n=yC(t,e);return{advance:n.advance,node:n.node}}if(Pl(r)){let n=u4(t,e);return{advance:n.advance,node:n.node}}if(bh(r)){let n=SC(t,e);return{advance:n.advance,node:n.node}}return{advance:1,node:new Js(r)}}(function(t){t.Function="function",t.SimpleBlock="simple-block",t.Whitespace="whitespace",t.Comment="comment",t.Token="token"})(Ee||(Ee={}));var Il=class{value=[];indexOf(e){return this.value.indexOf(e)}at(e){if(typeof e=="number")return e<0&&(e=this.value.length+e),this.value[e]}forEach(e,r){if(this.value.length===0)return;let n=$i(this.value),i=0;for(;i<this.value.length;){let s=this.value[i],o;if(r&&(o={...r}),e({node:s,parent:this,state:o},i)===!1)return!1;if(i=n(this.value,s,i),i===-1)break}}walk(e,r){this.value.length!==0&&this.forEach((n,i)=>e(n,i)!==!1&&(!("walk"in n.node)||!this.value.includes(n.node)||n.node.walk(e,n.state)!==!1)&&void 0,r)}},Xs=class t extends Il{type=Ee.Function;name;endToken;constructor(e,r,n){super(),this.name=e,this.endToken=r,this.value=n}getName(){return this.name[4].value}normalize(){Sr(this.endToken)&&(this.endToken=[J.CloseParen,")",-1,-1,void 0])}tokens(){return Sr(this.endToken)?[this.name,...this.value.flatMap(e=>e.tokens())]:[this.name,...this.value.flatMap(e=>e.tokens()),this.endToken]}toString(){let e=this.value.map(r=>gh(r)?xe(r):r.toString()).join("");return xe(this.name)+e+xe(this.endToken)}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens(),value:this.value.map(e=>e.toJSON())}}isFunctionNode(){return t.isFunctionNode(this)}static isFunctionNode(e){return!!e&&e instanceof t&&e.type===Ee.Function}};function yC(t,e){let r=[],n=1;for(;;){let i=e[n];if(!i||Sr(i))return t.onParseError(new Zn("Unexpected EOF while consuming a function.",e[0][2],e[e.length-1][3],["5.4.9. Consume a function","Unexpected EOF"])),{advance:e.length,node:new Xs(e[0],i,r)};if(o4(i))return{advance:n+1,node:new Xs(e[0],i,r)};if(Ol(i)){let o=c4(t,e.slice(n));n+=o.advance,r.push(...o.nodes);continue}let s=vh(t,e.slice(n));n+=s.advance,r.push(s.node)}}var Qs=class t extends Il{type=Ee.SimpleBlock;startToken;endToken;constructor(e,r,n){super(),this.startToken=e,this.endToken=r,this.value=n}normalize(){if(Sr(this.endToken)){let e=K5(this.startToken);e&&(this.endToken=e)}}tokens(){return Sr(this.endToken)?[this.startToken,...this.value.flatMap(e=>e.tokens())]:[this.startToken,...this.value.flatMap(e=>e.tokens()),this.endToken]}toString(){let e=this.value.map(r=>gh(r)?xe(r):r.toString()).join("");return xe(this.startToken)+e+xe(this.endToken)}toJSON(){return{type:this.type,startToken:this.startToken,tokens:this.tokens(),value:this.value.map(e=>e.toJSON())}}isSimpleBlockNode(){return t.isSimpleBlockNode(this)}static isSimpleBlockNode(e){return!!e&&e instanceof t&&e.type===Ee.SimpleBlock}};function xC(t,e){let r=Z5(e[0][0]);if(!r)throw new Error("Failed to parse, a mirror variant must exist for all block open tokens.");let n=[],i=1;for(;;){let s=e[i];if(!s||Sr(s))return t.onParseError(new Zn("Unexpected EOF while consuming a simple block.",e[0][2],e[e.length-1][3],["5.4.8. Consume a simple block","Unexpected EOF"])),{advance:e.length,node:new Qs(e[0],s,n)};if(s[0]===r)return{advance:i+1,node:new Qs(e[0],s,n)};if(Ol(s)){let a=c4(t,e.slice(i));i+=a.advance,n.push(...a.nodes);continue}let o=vh(t,e.slice(i));i+=o.advance,n.push(o.node)}}var Dl=class t{type=Ee.Whitespace;value;constructor(e){this.value=e}tokens(){return this.value}toString(){return xe(...this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isWhitespaceNode(){return t.isWhitespaceNode(this)}static isWhitespaceNode(e){return!!e&&e instanceof t&&e.type===Ee.Whitespace}};function u4(t,e){let r=0;for(;;){let n=e[r];if(!Pl(n))return{advance:r,node:new Dl(e.slice(0,r))};r++}}var Ys=class t{type=Ee.Comment;value;constructor(e){this.value=e}tokens(){return[this.value]}toString(){return xe(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isCommentNode(){return t.isCommentNode(this)}static isCommentNode(e){return!!e&&e instanceof t&&e.type===Ee.Comment}};function SC(t,e){return{advance:1,node:new Ys(e[0])}}function c4(t,e){let r=[],n=0;for(;;)if(Pl(e[n])){let i=u4(0,e.slice(n));n+=i.advance,r.push(i.node)}else{if(!bh(e[n]))return{advance:n,nodes:r};r.push(new Ys(e[n])),n++}}var Js=class t{type=Ee.Token;value;constructor(e){this.value=e}tokens(){return[this.value]}toString(){return this.value[1]}toJSON(){return{type:this.type,tokens:this.tokens()}}isTokenNod(){return t.isTokenNode(this)}static isTokenNode(e){return!!e&&e instanceof t&&e.type===Ee.Token}};function f4(t,e){let r={onParseError:e?.onParseError??(()=>{})},n=[...t];if(t.length===0)return[];Sr(n[n.length-1])&&n.push([J.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);let i=[],s=[],o=0;for(;;){if(!n[o]||Sr(n[o]))return s.length&&i.push(s),i;if(r4(n[o])){i.push(s),s=[],o++;continue}let a=vh(r,t.slice(o));s.push(a.node),o+=a.advance}}function Kn(t){return Qs.isSimpleBlockNode(t)}function wh(t){return Xs.isFunctionNode(t)}function yh(t){return Dl.isWhitespaceNode(t)}function xh(t){return Ys.isCommentNode(t)}function Sh(t){return yh(t)||xh(t)}function fn(t){return Js.isTokenNode(t)}var de;(function(t){t.CustomMedia="custom-media",t.GeneralEnclosed="general-enclosed",t.MediaAnd="media-and",t.MediaCondition="media-condition",t.MediaConditionListWithAnd="media-condition-list-and",t.MediaConditionListWithOr="media-condition-list-or",t.MediaFeature="media-feature",t.MediaFeatureBoolean="mf-boolean",t.MediaFeatureName="mf-name",t.MediaFeaturePlain="mf-plain",t.MediaFeatureRangeNameValue="mf-range-name-value",t.MediaFeatureRangeValueName="mf-range-value-name",t.MediaFeatureRangeValueNameValue="mf-range-value-name-value",t.MediaFeatureValue="mf-value",t.MediaInParens="media-in-parens",t.MediaNot="media-not",t.MediaOr="media-or",t.MediaQueryWithType="media-query-with-type",t.MediaQueryWithoutType="media-query-without-type",t.MediaQueryInvalid="media-query-invalid"})(de||(de={}));var lr=class t{type=de.MediaCondition;media;constructor(e){this.media=e}tokens(){return this.media.tokens()}toString(){return this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,media:this.media.toJSON()}}isMediaCondition(){return t.isMediaCondition(this)}static isMediaCondition(e){return!!e&&e instanceof t&&e.type===de.MediaCondition}},Gr=class t{type=de.MediaInParens;media;before;after;constructor(e,r=[],n=[]){this.media=e,this.before=r,this.after=n}tokens(){return[...this.before,...this.media.tokens(),...this.after]}toString(){return xe(...this.before)+this.media.toString()+xe(...this.after)}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&("walk"in this.media?this.media.walk(e,n):void 0)}toJSON(){return{type:this.type,media:this.media.toJSON(),before:this.before,after:this.after}}isMediaInParens(){return t.isMediaInParens(this)}static isMediaInParens(e){return!!e&&e instanceof t&&e.type===de.MediaInParens}},to=class t{type=de.MediaQueryWithType;modifier;mediaType;and=void 0;media=void 0;constructor(e,r,n,i){this.modifier=e,this.mediaType=r,n&&i&&(this.and=n,this.media=i)}getModifier(){if(!this.modifier.length)return"";for(let e=0;e<this.modifier.length;e++){let r=this.modifier[e];if(_r(r))return r[4].value}return""}negateQuery(){let e=new t([...this.modifier],[...this.mediaType],this.and,this.media);if(e.modifier.length===0)return e.modifier=[[J.Ident,"not",-1,-1,{value:"not"}],[J.Whitespace," ",-1,-1,void 0]],e;for(let r=0;r<e.modifier.length;r++){let n=e.modifier[r];if(_r(n)&&n[4].value.toLowerCase()==="not"){e.modifier.splice(r,1);break}if(_r(n)&&n[4].value.toLowerCase()==="only"){n[1]="not",n[4].value="not";break}}return e}getMediaType(){if(!this.mediaType.length)return"";for(let e=0;e<this.mediaType.length;e++){let r=this.mediaType[e];if(_r(r))return r[4].value}return""}tokens(){return this.and&&this.media?[...this.modifier,...this.mediaType,...this.and,...this.media.tokens()]:[...this.modifier,...this.mediaType]}toString(){return this.and&&this.media?xe(...this.modifier)+xe(...this.mediaType)+xe(...this.and)+this.media.toString():xe(...this.modifier)+xe(...this.mediaType)}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;if(r&&(n={...r}),this.media)return e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,string:this.toString(),modifier:this.modifier,mediaType:this.mediaType,and:this.and,media:this.media}}isMediaQueryWithType(){return t.isMediaQueryWithType(this)}static isMediaQueryWithType(e){return!!e&&e instanceof t&&e.type===de.MediaQueryWithType}},_h=class t{type=de.MediaQueryWithoutType;media;constructor(e){this.media=e}negateQuery(){let e=this.media;return e.media.type===de.MediaNot?new t(new lr(e.media.media)):(e.media.type===de.MediaConditionListWithOr&&(e=new lr(new Gr(e,[[J.Whitespace," ",0,0,void 0],[J.OpenParen,"(",0,0,void 0]],[[J.CloseParen,")",0,0,void 0]]))),new to([[J.Ident,"not",0,0,{value:"not"}],[J.Whitespace," ",0,0,void 0]],[[J.Ident,"all",0,0,{value:"all"}],[J.Whitespace," ",0,0,void 0]],[[J.Ident,"and",0,0,{value:"and"}]],e))}tokens(){return this.media.tokens()}toString(){return this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryWithoutType(){return t.isMediaQueryWithoutType(this)}static isMediaQueryWithoutType(e){return!!e&&e instanceof t&&e.type===de.MediaQueryWithoutType}},Ch=class t{type=de.MediaQueryInvalid;media;constructor(e){this.media=e}negateQuery(){return new t(this.media)}tokens(){return this.media.flatMap(e=>e.tokens())}toString(){return this.media.map(e=>e.toString()).join("")}walk(e,r){if(this.media.length===0)return;let n=$i(this.media),i=0;for(;i<this.media.length;){let s=this.media[i],o;if(r&&(o={...r}),e({node:s,parent:this,state:o},i)===!1||"walk"in s&&this.media.includes(s)&&s.walk(e,o)===!1)return!1;if(i=n(this.media,s,i),i===-1)break}}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryInvalid(){return t.isMediaQueryInvalid(this)}static isMediaQueryInvalid(e){return!!e&&e instanceof t&&e.type===de.MediaQueryInvalid}},Fl=class t{type=de.GeneralEnclosed;value;constructor(e){this.value=e}tokens(){return this.value.tokens()}toString(){return this.value.toString()}indexOf(e){return e===this.value?"value":-1}at(e){if(e==="value")return this.value}walk(e,r){let n;return r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(e,n):void 0)}toJSON(){return{type:this.type,tokens:this.tokens()}}isGeneralEnclosed(){return t.isGeneralEnclosed(this)}static isGeneralEnclosed(e){return!!e&&e instanceof t&&e.type===de.GeneralEnclosed}},Eh=class t{type=de.MediaAnd;modifier;media;constructor(e,r){this.modifier=e,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return xe(...this.modifier)+this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){return e==="media"?this.media:null}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaAnd(){return t.isMediaAnd(this)}static isMediaAnd(e){return!!e&&e instanceof t&&e.type===de.MediaAnd}},kh=class t{type=de.MediaConditionListWithAnd;leading;list;before;after;constructor(e,r,n=[],i=[]){this.leading=e,this.list=r,this.before=n,this.after=i}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(e=>e.tokens()),...this.after]}toString(){return xe(...this.before)+this.leading.toString()+this.list.map(e=>e.toString()).join("")+xe(...this.after)}indexOf(e){return e===this.leading?"leading":e.type===de.MediaAnd?this.list.indexOf(e):-1}at(e){return e==="leading"?this.leading:typeof e=="number"?(e<0&&(e=this.list.length+e),this.list[e]):void 0}walk(e,r){let n;if(r&&(n={...r}),e({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(e,n)===!1)return!1;if(this.list.length===0)return;let i=$i(this.list),s=0;for(;s<this.list.length;){let o=this.list[s];if(r&&(n={...r}),e({node:o,parent:this,state:n},s)===!1||"walk"in o&&this.list.includes(o)&&o.walk(e,n)===!1)return!1;if(s=i(this.list,o,s),s===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(e=>e.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithAnd(){return t.isMediaConditionListWithAnd(this)}static isMediaConditionListWithAnd(e){return!!e&&e instanceof t&&e.type===de.MediaConditionListWithAnd}},Ah=class t{type=de.MediaConditionListWithOr;leading;list;before;after;constructor(e,r,n=[],i=[]){this.leading=e,this.list=r,this.before=n,this.after=i}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(e=>e.tokens()),...this.after]}toString(){return xe(...this.before)+this.leading.toString()+this.list.map(e=>e.toString()).join("")+xe(...this.after)}indexOf(e){return e===this.leading?"leading":e.type===de.MediaOr?this.list.indexOf(e):-1}at(e){return e==="leading"?this.leading:typeof e=="number"?(e<0&&(e=this.list.length+e),this.list[e]):void 0}walk(e,r){let n;if(r&&(n={...r}),e({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(e,n)===!1)return!1;if(this.list.length===0)return;let i=$i(this.list),s=0;for(;s<this.list.length;){let o=this.list[s];if(r&&(n={...r}),e({node:o,parent:this,state:n},s)===!1||"walk"in o&&this.list.includes(o)&&o.walk(e,n)===!1)return!1;if(s=i(this.list,o,s),s===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(e=>e.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithOr(){return t.isMediaConditionListWithOr(this)}static isMediaConditionListWithOr(e){return!!e&&e instanceof t&&e.type===de.MediaConditionListWithOr}};function m4(t){return!!(fn(t)&&s4(t.value)||wh(t)&&_C.has(t.getName().toLowerCase()))}var _C=new Set(["abs","acos","asin","atan","atan2","calc","clamp","cos","exp","hypot","log","max","min","mod","pow","rem","round","sign","sin","sqrt","tan"]);function CC(t){return fn(t)&&n4(t.value)}function ro(t){return fn(t)&&_r(t.value)}function EC(t){return wh(t)&&t.getName().toLowerCase()==="env"}var Lh=class t{type=de.MediaFeatureName;name;before;after;constructor(e,r=[],n=[]){this.name=e,this.before=r,this.after=n}getName(){return this.name.value[4].value}getNameToken(){return this.name.value}tokens(){return[...this.before,...this.name.tokens(),...this.after]}toString(){return xe(...this.before)+this.name.toString()+xe(...this.after)}indexOf(e){return e===this.name?"name":-1}at(e){if(e==="name")return this.name}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens()}}isMediaFeatureName(){return t.isMediaFeatureName(this)}static isMediaFeatureName(e){return!!e&&e instanceof t&&e.type===de.MediaFeatureName}};function Ks(t){let e=-1;for(let r=0;r<t.length;r++){let n=t[r];if(n.type!==Ee.Whitespace&&n.type!==Ee.Comment){if(!ro(n)||e!==-1)return!1;e=r}}return e!==-1&&new Lh(t[e],t.slice(0,e).flatMap(r=>r.tokens()),t.slice(e+1).flatMap(r=>r.tokens()))}var Rh=class t{type=de.MediaFeatureBoolean;name;constructor(e){this.name=e}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return this.name.tokens()}toString(){return this.name.toString()}indexOf(e){return e===this.name?"name":-1}at(e){if(e==="name")return this.name}toJSON(){return{type:this.type,name:this.name.toJSON(),tokens:this.tokens()}}isMediaFeatureBoolean(){return t.isMediaFeatureBoolean(this)}static isMediaFeatureBoolean(e){return!!e&&e instanceof t&&e.type===de.MediaFeatureBoolean}};function kC(t){let e=Ks(t);return e===!1?e:new Rh(e)}var Th=class t{type=de.MediaFeatureValue;value;before;after;constructor(e,r=[],n=[]){Array.isArray(e)&&e.length===1?this.value=e[0]:this.value=e,this.before=r,this.after=n}tokens(){return Array.isArray(this.value)?[...this.before,...this.value.flatMap(e=>e.tokens()),...this.after]:[...this.before,...this.value.tokens(),...this.after]}toString(){return Array.isArray(this.value)?xe(...this.before)+this.value.map(e=>e.toString()).join("")+xe(...this.after):xe(...this.before)+this.value.toString()+xe(...this.after)}indexOf(e){return e===this.value?"value":-1}at(e){return e==="value"?this.value:Array.isArray(this.value)&&typeof e=="number"?(e<0&&(e=this.value.length+e),this.value[e]):void 0}walk(e,r){if(Array.isArray(this.value)){if(this.value.length===0)return;let n=$i(this.value),i=0;for(;i<this.value.length;){let s=this.value[i],o;if(r&&(o={...r}),e({node:s,parent:this,state:o},i)===!1||"walk"in s&&this.value.includes(s)&&s.walk(e,o)===!1)return!1;if(i=n(this.value,s,i),i===-1)break}}else{let n;if(r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")===!1)return!1;if("walk"in this.value)return this.value.walk(e,n)}}toJSON(){return Array.isArray(this.value)?{type:this.type,value:this.value.map(e=>e.toJSON()),tokens:this.tokens()}:{type:this.type,value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureValue(){return t.isMediaFeatureValue(this)}static isMediaFeatureValue(e){return!!e&&e instanceof t&&e.type===de.MediaFeatureValue}};function Zs(t,e=!1){let r=-1,n=-1;for(let i=0;i<t.length;i++){let s=t[i];if(s.type!==Ee.Whitespace&&s.type!==Ee.Comment){if(r!==-1)return!1;if(m4(s)){let o=AC(t.slice(i));if(o!==-1){r=o[0]+i,n=o[1]+i,i+=o[1]-o[0];continue}r=i,n=i}else if(EC(s))r=i,n=i;else if(CC(s))r=i,n=i;else{if(e||!ro(s))return!1;r=i,n=i}}}return r!==-1&&new Th(t.slice(r,n+1),t.slice(0,r).flatMap(i=>i.tokens()),t.slice(n+1).flatMap(i=>i.tokens()))}function AC(t){let e=-1,r=-1,n=LC(t);if(n===-1)return-1;e=n[0],r=n[1];for(let i=r+1;i<t.length;i++){let s=t[i];if(!Sh(s))return-1}return[e,r]}function LC(t){let e=-1,r=-1;for(let n=0;n<t.length;n++){let i=t[n];if(!Sh(i)){if(fn(i)){let s=i.value;if(Di(s)&&s[4].value==="/"){if(e===-1||r!==-1)return-1;r=n;continue}}if(!m4(i))return-1;if(r!==-1)return[e,n];if(e!==-1)return-1;e=n}}return-1}var Nh=class t{type=de.MediaFeaturePlain;name;colon;value;constructor(e,r,n){this.name=e,this.colon=r,this.value=n}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),this.colon,...this.value.tokens()]}toString(){return this.name.toString()+xe(this.colon)+this.value.toString()}indexOf(e){return e===this.name?"name":e===this.value?"value":-1}at(e){return e==="name"?this.name:e==="value"?this.value:void 0}walk(e,r){let n;return r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")!==!1&&this.value.walk(e,n)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeaturePlain(){return t.isMediaFeaturePlain(this)}static isMediaFeaturePlain(e){return!!e&&e instanceof t&&e.type===de.MediaFeaturePlain}};function RC(t){let e=[],r=[],n=null;for(let o=0;o<t.length;o++){let a=t[o];if(a.type===Ee.Token){let l=a.value;if(t4(l)){e=t.slice(0,o),r=t.slice(o+1),n=l;break}}}if(!e.length||!r.length||!n)return!1;let i=Ks(e);if(i===!1)return!1;let s=Zs(r);return s!==!1&&new Nh(i,n,s)}var ur,cr,hn,Ui;function TC(t){let e=-1;for(let r=0;r<t.length;r++){let n=t[r];if(n.type===Ee.Token){let i=n.value;if(Di(i)){if(i[4].value===hn.EQ)return e!==-1?[e,r]:[r,r];if(i[4].value===ur.LT){e=r;continue}if(i[4].value===cr.GT){e=r;continue}}}break}return e!==-1&&[e,e]}function Bi(t){if(t.length!==1&&t.length!==2||!Di(t[0]))return!1;if(t.length===1)switch(t[0][4].value){case hn.EQ:return hn.EQ;case ur.LT:return ur.LT;case cr.GT:return cr.GT;default:return!1}if(!Di(t[1])||t[1][4].value!==hn.EQ)return!1;switch(t[0][4].value){case ur.LT:return ur.LT_OR_EQ;case cr.GT:return cr.GT_OR_EQ;default:return!1}}(function(t){t.LT="<",t.LT_OR_EQ="<="})(ur||(ur={})),function(t){t.GT=">",t.GT_OR_EQ=">="}(cr||(cr={})),function(t){t.EQ="="}(hn||(hn={}));var Mh=class t{type=de.MediaFeatureRangeNameValue;name;operator;value;constructor(e,r,n){this.name=e,this.operator=r,this.value=n}operatorKind(){return Bi(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),...this.operator,...this.value.tokens()]}toString(){return this.name.toString()+xe(...this.operator)+this.value.toString()}indexOf(e){return e===this.name?"name":e===this.value?"value":-1}at(e){return e==="name"?this.name:e==="value"?this.value:void 0}walk(e,r){let n;return r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(e,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeNameValue(){return t.isMediaFeatureRangeNameValue(this)}static isMediaFeatureRangeNameValue(e){return!!e&&e instanceof t&&e.type===de.MediaFeatureRangeNameValue}},Oh=class t{type=de.MediaFeatureRangeValueName;name;operator;value;constructor(e,r,n){this.name=e,this.operator=r,this.value=n}operatorKind(){return Bi(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.value.tokens(),...this.operator,...this.name.tokens()]}toString(){return this.value.toString()+xe(...this.operator)+this.name.toString()}indexOf(e){return e===this.name?"name":e===this.value?"value":-1}at(e){return e==="name"?this.name:e==="value"?this.value:void 0}walk(e,r){let n;return r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(e,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueName(){return t.isMediaFeatureRangeValueName(this)}static isMediaFeatureRangeValueName(e){return!!e&&e instanceof t&&e.type===de.MediaFeatureRangeValueName}},Ph=class t{type=de.MediaFeatureRangeValueNameValue;name;valueOne;valueOneOperator;valueTwo;valueTwoOperator;constructor(e,r,n,i,s){this.name=e,this.valueOne=r,this.valueOneOperator=n,this.valueTwo=i,this.valueTwoOperator=s}valueOneOperatorKind(){return Bi(this.valueOneOperator)}valueTwoOperatorKind(){return Bi(this.valueTwoOperator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.valueOne.tokens(),...this.valueOneOperator,...this.name.tokens(),...this.valueTwoOperator,...this.valueTwo.tokens()]}toString(){return this.valueOne.toString()+xe(...this.valueOneOperator)+this.name.toString()+xe(...this.valueTwoOperator)+this.valueTwo.toString()}indexOf(e){return e===this.name?"name":e===this.valueOne?"valueOne":e===this.valueTwo?"valueTwo":-1}at(e){return e==="name"?this.name:e==="valueOne"?this.valueOne:e==="valueTwo"?this.valueTwo:void 0}walk(e,r){let n;return r&&(n={...r}),e({node:this.valueOne,parent:this,state:n},"valueOne")!==!1&&(!("walk"in this.valueOne)||this.valueOne.walk(e,n)!==!1)&&(r&&(n={...r}),e({node:this.valueTwo,parent:this,state:n},"valueTwo")!==!1&&(!("walk"in this.valueTwo)||this.valueTwo.walk(e,n)!==!1)&&void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),valueOne:this.valueOne.toJSON(),valueTwo:this.valueTwo.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueNameValue(){return t.isMediaFeatureRangeValueNameValue(this)}static isMediaFeatureRangeValueNameValue(e){return!!e&&e instanceof t&&e.type===de.MediaFeatureRangeValueNameValue}};function NC(t){let e=!1,r=!1;for(let f=0;f<t.length;f++){let h=t[f];if(h.type===Ee.Token){let g=h.value;if(Di(g)){let y=TC(t.slice(f));if(y!==!1){if(e!==!1){r=[y[0]+f,y[1]+f];break}e=[y[0]+f,y[1]+f],f+=y[1]}}}}if(e===!1)return!1;let n=[t[e[0]].value];if(e[0]!==e[1]&&n.push(t[e[1]].value),r===!1){let f=t.slice(0,e[0]),h=t.slice(e[1]+1),g=Ks(f);if(g){let S=Zs(h,!0);return!!S&&new Mh(g,n,S)}let y=Ks(h);if(y){let S=Zs(f,!0);return!!S&&new Oh(y,n,S)}return!1}let i=[t[r[0]].value];r[0]!==r[1]&&i.push(t[r[1]].value);let s=t.slice(0,e[0]),o=t.slice(e[1]+1,r[0]),a=t.slice(r[1]+1),l=Zs(s,!0),u=Ks(o),c=Zs(a,!0);if(!l||!u||!c)return!1;{let f=Bi(n);if(f===!1||f===hn.EQ)return!1;let h=Bi(i);if(h===!1||h===hn.EQ||!(f!==ur.LT&&f!==ur.LT_OR_EQ||h!==cr.GT&&h!==cr.GT_OR_EQ)||!(f!==cr.GT&&f!==cr.GT_OR_EQ||h!==ur.LT&&h!==ur.LT_OR_EQ))return!1}return new Ph(u,l,n,c,i)}var eo=class t{type=de.MediaFeature;feature;before;after;constructor(e,r=[],n=[]){this.feature=e,this.before=r,this.after=n}getName(){return this.feature.getName()}getNameToken(){return this.feature.getNameToken()}tokens(){return[...this.before,...this.feature.tokens(),...this.after]}toString(){return xe(...this.before)+this.feature.toString()+xe(...this.after)}indexOf(e){return e===this.feature?"feature":-1}at(e){if(e==="feature")return this.feature}walk(e,r){let n;return r&&(n={...r}),e({node:this.feature,parent:this,state:n},"feature")!==!1&&("walk"in this.feature?this.feature.walk(e,n):void 0)}toJSON(){return{type:this.type,feature:this.feature.toJSON(),before:this.before,after:this.after}}isMediaFeature(){return t.isMediaFeature(this)}static isMediaFeature(e){return!!e&&e instanceof t&&e.type===de.MediaFeature}};function g4(t,e=[],r=[]){if(!Fi(t.startToken))return!1;let n=kC(t.value);if(n!==!1)return new eo(n,e,r);let i=RC(t.value);if(i!==!1)return new eo(i,e,r);let s=NC(t.value);return s!==!1&&new eo(s,e,r)}var Ih=class t{type=de.MediaNot;modifier;media;constructor(e,r){this.modifier=e,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return xe(...this.modifier)+this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaNot(){return t.isMediaNot(this)}static isMediaNot(e){return!!e&&e instanceof t&&e.type===de.MediaNot}},Dh=class t{type=de.MediaOr;modifier;media;constructor(e,r){this.modifier=e,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return xe(...this.modifier)+this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaOr(){return t.isMediaOr(this)}static isMediaOr(e){return!!e&&e instanceof t&&e.type===de.MediaOr}};function h4(t){if(!_r(t))return!1;switch(t[4].value.toLowerCase()){case Ui.Not:return Ui.Not;case Ui.Only:return Ui.Only;default:return!1}}function MC(t){{let e=Fh(t);if(e!==!1)return new _h(e)}{let e=-1,r=-1,n=-1;for(let a=0;a<t.length;a++){let l=t[a];if(!yh(l)&&!xh(l)){if(fn(l)){let u=l.value;if(e===-1&&_r(u)&&h4(u)){e=a;continue}if(r===-1&&_r(u)&&!h4(u)){r=a;continue}if(n===-1&&_r(u)&&y4.test(u[4].value)){if(n=a,d4(t.slice(a+1))===!1)return!1;break}return!1}return!1}}let i=[],s=[];e!==-1?(i=t.slice(0,e+1).flatMap(a=>a.tokens()),r!==-1&&(s=t.slice(e+1,r+1).flatMap(a=>a.tokens()))):r!==-1&&(s=t.slice(0,r+1).flatMap(a=>a.tokens()));let o=d4(t.slice(Math.max(e,r,n)+1));return o===!1?new to(i,[...s,...t.slice(r+1).flatMap(a=>a.tokens())]):new to(i,s,t.slice(r+1,n+1).flatMap(a=>a.tokens()),o)}}function OC(t){let e=!1,r=[],n=-1,i=-1;for(let s=0;s<t.length;s++){if(e){let a=DC(t.slice(s));if(a!==!1){s+=a.advance,r.push(a.node),i=s;continue}}let o=t[s];if(o.type!==Ee.Whitespace&&o.type!==Ee.Comment){if(e||e!==!1||!Kn(o)||(o.normalize(),e=no(o),e===!1))return!1;n=s}}return!(!e||!r.length)&&new Ah(e,r,t.slice(0,n).flatMap(s=>s.tokens()),t.slice(i+1).flatMap(s=>s.tokens()))}function b4(t){let e=!1,r=[],n=-1,i=-1;for(let s=0;s<t.length;s++){if(e){let a=FC(t.slice(s));if(a!==!1){s+=a.advance,r.push(a.node),i=s;continue}}let o=t[s];if(o.type!==Ee.Whitespace&&o.type!==Ee.Comment){if(e||e!==!1||!Kn(o)||(o.normalize(),e=no(o),e===!1))return!1;n=s}}return!(!e||!r.length)&&new kh(e,r,t.slice(0,n).flatMap(s=>s.tokens()),t.slice(i+1).flatMap(s=>s.tokens()))}function Fh(t){let e=w4(t);if(e!==!1)return new lr(e);let r=b4(t);if(r!==!1)return new lr(r);let n=OC(t);if(n!==!1)return new lr(n);let i=v4(t);return i!==!1&&new lr(i)}function d4(t){let e=w4(t);if(e!==!1)return new lr(e);let r=b4(t);if(r!==!1)return new lr(r);let n=v4(t);return n!==!1&&new lr(n)}function v4(t){let e=-1;for(let a=0;a<t.length;a++){let l=t[a];if(l.type!==Ee.Whitespace&&l.type!==Ee.Comment){if(!Kn(l)||e!==-1)return!1;e=a}}if(e===-1)return!1;let r=t[e];if(!Fi(r.startToken))return!1;r.normalize();let n=[...t.slice(0,e).flatMap(a=>a.tokens()),r.startToken],i=[r.endToken,...t.slice(e+1).flatMap(a=>a.tokens())],s=g4(r,n,i);if(s!==!1)return new Gr(s);let o=Fh(r.value);return o!==!1?new Gr(o,n,i):new Gr(new Fl(r),t.slice(0,e).flatMap(a=>a.tokens()),t.slice(e+1).flatMap(a=>a.tokens()))}function no(t){if(!Fi(t.startToken))return!1;let e=g4(t,[t.startToken],[t.endToken]);if(e!==!1)return new Gr(e);let r=Fh(t.value);return r!==!1?new Gr(r,[t.startToken],[t.endToken]):new Gr(new Fl(t))}(function(t){t.Not="not",t.Only="only"})(Ui||(Ui={}));var PC=/^not$/i;function w4(t){let e=!1,r=null;for(let n=0;n<t.length;n++){let i=t[n];if(i.type!==Ee.Whitespace&&i.type!==Ee.Comment){if(ro(i)){let s=i.value;if(PC.test(s[4].value)){if(e)return!1;e=!0;continue}return!1}if(!e||!Kn(i))return!1;{i.normalize();let s=no(i);if(s===!1)return!1;r=new Ih(t.slice(0,n).flatMap(o=>o.tokens()),s)}}}return r||!1}var IC=/^or$/i;function DC(t){let e=!1;for(let r=0;r<t.length;r++){let n=t[r];if(n.type!==Ee.Whitespace&&n.type!==Ee.Comment){if(ro(n)){let i=n.value;if(IC.test(i[4].value)){if(e)return!1;e=!0;continue}return!1}if(e&&Kn(n)){n.normalize();let i=no(n);return i!==!1&&{advance:r,node:new Dh(t.slice(0,r).flatMap(s=>s.tokens()),i)}}return!1}}return!1}var y4=/^and$/i;function FC(t){let e=!1;for(let r=0;r<t.length;r++){let n=t[r];if(n.type!==Ee.Whitespace&&n.type!==Ee.Comment){if(ro(n)){let i=n.value;if(y4.test(i[4].value)){if(e)return!1;e=!0;continue}return!1}if(e&&Kn(n)){n.normalize();let i=no(n);return i!==!1&&{advance:r,node:new Eh(t.slice(0,r).flatMap(s=>s.tokens()),i)}}return!1}}return!1}function $C(t,e){let r=f4(t,{onParseError:e?.onParseError});return r.map((n,i)=>{let s=MC(n);return s===!1&&e?.preserveInvalidMediaQueries===!0?new Ch(r[i]):s}).filter(n=>!!n)}function x4(t,e){let r=e4({css:t},{onParseError:e?.onParseError}),n=[];for(;!r.endOfFile();)n.push(r.nextToken());return n.push(r.nextToken()),$C(n,e)}var p4;(function(t){t.All="all",t.Print="print",t.Screen="screen",t.Tty="tty",t.Tv="tv",t.Projection="projection",t.Handheld="handheld",t.Braille="braille",t.Embossed="embossed",t.Aural="aural",t.Speech="speech"})(p4||(p4={}));d();m();p();d();m();p();d();m();p();d();m();p();d();m();p();var UC=(t,e)=>{if(typeof t=="number"){if(e===3)return{mode:"rgb",r:(t>>8&15|t>>4&240)/255,g:(t>>4&15|t&240)/255,b:(t&15|t<<4&240)/255};if(e===4)return{mode:"rgb",r:(t>>12&15|t>>8&240)/255,g:(t>>8&15|t>>4&240)/255,b:(t>>4&15|t&240)/255,alpha:(t&15|t<<4&240)/255};if(e===6)return{mode:"rgb",r:(t>>16&255)/255,g:(t>>8&255)/255,b:(t&255)/255};if(e===8)return{mode:"rgb",r:(t>>24&255)/255,g:(t>>16&255)/255,b:(t>>8&255)/255,alpha:(t&255)/255}}},$l=UC;d();m();p();var BC={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},S4=BC;var qC=t=>$l(S4[t.toLowerCase()],6),_4=qC;d();m();p();var zC=/^#?([0-9a-f]{8}|[0-9a-f]{6}|[0-9a-f]{4}|[0-9a-f]{3})$/i,jC=t=>{let e;return(e=t.match(zC))?$l(parseInt(e[1],16),e[1].length):void 0},C4=jC;d();m();p();d();m();p();var _t="([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)",fj=`(?:${_t}|none)`,ei=`${_t}%`,hj=`(?:${_t}%|none)`,io=`(?:${_t}%|${_t})`,VC=`(?:${_t}%|${_t}|none)`,E4=`(?:${_t}(deg|grad|rad|turn)|${_t})`,dj=`(?:${_t}(deg|grad|rad|turn)|${_t}|none)`,dn="\\s*,\\s*";var pj=new RegExp("^"+VC+"$");var WC=new RegExp(`^rgba?\\(\\s*${_t}${dn}${_t}${dn}${_t}\\s*(?:,\\s*${io}\\s*)?\\)$`),HC=new RegExp(`^rgba?\\(\\s*${ei}${dn}${ei}${dn}${ei}\\s*(?:,\\s*${io}\\s*)?\\)$`),GC=t=>{let e={mode:"rgb"},r;if(r=t.match(WC))r[1]!==void 0&&(e.r=r[1]/255),r[2]!==void 0&&(e.g=r[2]/255),r[3]!==void 0&&(e.b=r[3]/255);else if(r=t.match(HC))r[1]!==void 0&&(e.r=r[1]/100),r[2]!==void 0&&(e.g=r[2]/100),r[3]!==void 0&&(e.b=r[3]/100);else return;return r[4]!==void 0?e.alpha=Math.max(0,Math.min(1,r[4]/100)):r[5]!==void 0&&(e.alpha=Math.max(0,Math.min(1,+r[5]))),e},k4=GC;d();m();p();d();m();p();d();m();p();d();m();p();d();m();p();var XC=(t,e)=>t===void 0?void 0:typeof t!="object"?ti(t):t.mode!==void 0?t:e?{...t,mode:e}:void 0,Ul=XC;var QC=(t="rgb")=>e=>(e=Ul(e,t))!==void 0?e.mode===t?e:fr[e.mode][t]?fr[e.mode][t](e):t==="rgb"?fr[e.mode].rgb(e):fr.rgb[t](fr[e.mode].rgb(e)):void 0,Ht=QC;var fr={},A4={},so=[],$h={},YC=t=>t,Ae=t=>(fr[t.mode]={...fr[t.mode],...t.toMode},Object.keys(t.fromMode||{}).forEach(e=>{fr[e]||(fr[e]={}),fr[e][t.mode]=t.fromMode[e]}),t.ranges||(t.ranges={}),t.difference||(t.difference={}),t.channels.forEach(e=>{if(t.ranges[e]===void 0&&(t.ranges[e]=[0,1]),!t.interpolate[e])throw new Error(`Missing interpolator for: ${e}`);typeof t.interpolate[e]=="function"&&(t.interpolate[e]={use:t.interpolate[e]}),t.interpolate[e].fixup||(t.interpolate[e].fixup=YC)}),A4[t.mode]=t,(t.parse||[]).forEach(e=>{JC(e,t.mode)}),Ht(t.mode)),Bl=t=>A4[t],JC=(t,e)=>{if(typeof t=="string"){if(!e)throw new Error("'mode' required when 'parser' is a string");$h[t]=e}else typeof t=="function"&&so.indexOf(t)<0&&so.push(t)};var Uh=/[^\x00-\x7F]|[a-zA-Z_]/,ZC=/[^\x00-\x7F]|[-\w]/,Z={Function:"function",Ident:"ident",Number:"number",Percentage:"percentage",ParenClose:")",None:"none",Hue:"hue",Alpha:"alpha"},fe=0;function ql(t){let e=t[fe],r=t[fe+1];return e==="-"||e==="+"?/\d/.test(r)||r==="."&&/\d/.test(t[fe+2]):e==="."?/\d/.test(r):/\d/.test(e)}function Bh(t){if(fe>=t.length)return!1;let e=t[fe];if(Uh.test(e))return!0;if(e==="-"){if(t.length-fe<2)return!1;let r=t[fe+1];return!!(r==="-"||Uh.test(r))}return!1}var KC={deg:1,rad:180/Math.PI,grad:9/10,turn:360};function oo(t){let e="";if((t[fe]==="-"||t[fe]==="+")&&(e+=t[fe++]),e+=zl(t),t[fe]==="."&&/\d/.test(t[fe+1])&&(e+=t[fe++]+zl(t)),(t[fe]==="e"||t[fe]==="E")&&((t[fe+1]==="-"||t[fe+1]==="+")&&/\d/.test(t[fe+2])?e+=t[fe++]+t[fe++]+zl(t):/\d/.test(t[fe+1])&&(e+=t[fe++]+zl(t))),Bh(t)){let r=jl(t);return r==="deg"||r==="rad"||r==="turn"||r==="grad"?{type:Z.Hue,value:e*KC[r]}:void 0}return t[fe]==="%"?(fe++,{type:Z.Percentage,value:+e}):{type:Z.Number,value:+e}}function zl(t){let e="";for(;/\d/.test(t[fe]);)e+=t[fe++];return e}function jl(t){let e="";for(;fe<t.length&&ZC.test(t[fe]);)e+=t[fe++];return e}function eE(t){let e=jl(t);return t[fe]==="("?(fe++,{type:Z.Function,value:e}):e==="none"?{type:Z.None,value:void 0}:{type:Z.Ident,value:e}}function tE(t=""){let e=t.trim(),r=[],n;for(fe=0;fe<e.length;){if(n=e[fe++],n===`
69
+ `||n===" "||n===" "){for(;fe<e.length&&(e[fe]===`
70
+ `||e[fe]===" "||e[fe]===" ");)fe++;continue}if(n===",")return;if(n===")"){r.push({type:Z.ParenClose});continue}if(n==="+"){if(fe--,ql(e)){r.push(oo(e));continue}return}if(n==="-"){if(fe--,ql(e)){r.push(oo(e));continue}if(Bh(e)){r.push({type:Z.Ident,value:jl(e)});continue}return}if(n==="."){if(fe--,ql(e)){r.push(oo(e));continue}return}if(n==="/"){for(;fe<e.length&&(e[fe]===`
71
+ `||e[fe]===" "||e[fe]===" ");)fe++;let i;if(ql(e)&&(i=oo(e),i.type!==Z.Hue)){r.push({type:Z.Alpha,value:i});continue}if(Bh(e)&&jl(e)==="none"){r.push({type:Z.Alpha,value:{type:Z.None,value:void 0}});continue}return}if(/\d/.test(n)){fe--,r.push(oo(e));continue}if(Uh.test(n)){fe--,r.push(eE(e));continue}return}return r}function rE(t){t._i=0;let e=t[t._i++];if(!e||e.type!==Z.Function||e.value!=="color"||(e=t[t._i++],e.type!==Z.Ident))return;let r=$h[e.value];if(!r)return;let n={mode:r},i=L4(t,!1);if(!i)return;let s=Bl(r).channels;for(let o=0,a,l;o<s.length;o++)a=i[o],l=s[o],a.type!==Z.None&&(n[l]=a.type===Z.Number?a.value:a.value/100,l==="alpha"&&(n[l]=Math.max(0,Math.min(1,n[l]))));return n}function L4(t,e){let r=[],n;for(;t._i<t.length;){if(n=t[t._i++],n.type===Z.None||n.type===Z.Number||n.type===Z.Alpha||n.type===Z.Percentage||e&&n.type===Z.Hue){r.push(n);continue}if(n.type===Z.ParenClose){if(t._i<t.length)return;continue}return}if(!(r.length<3||r.length>4)){if(r.length===4){if(r[3].type!==Z.Alpha)return;r[3]=r[3].value}return r.length===3&&r.push({type:Z.None,value:void 0}),r.every(i=>i.type!==Z.Alpha)?r:void 0}}function nE(t,e){t._i=0;let r=t[t._i++];if(!r||r.type!==Z.Function)return;let n=L4(t,e);if(n)return n.unshift(r.value),n}var iE=t=>{if(typeof t!="string")return;let e=tE(t),r=e?nE(e,!0):void 0,n,i=0,s=so.length;for(;i<s;)if((n=so[i++](t,r))!==void 0)return n;return e?rE(e):void 0},ti=iE;function sE(t,e){if(!e||e[0]!=="rgb"&&e[0]!=="rgba")return;let r={mode:"rgb"},[,n,i,s,o]=e;if(!(n.type===Z.Hue||i.type===Z.Hue||s.type===Z.Hue))return n.type!==Z.None&&(r.r=n.type===Z.Number?n.value/255:n.value/100),i.type!==Z.None&&(r.g=i.type===Z.Number?i.value/255:i.value/100),s.type!==Z.None&&(r.b=s.type===Z.Number?s.value/255:s.value/100),o.type!==Z.None&&(r.alpha=Math.min(1,Math.max(0,o.type===Z.Number?o.value:o.value/100))),r}var R4=sE;d();m();p();var oE=t=>t==="transparent"?{mode:"rgb",r:0,g:0,b:0,alpha:0}:void 0,T4=oE;d();m();p();d();m();p();var N4=(t,e,r)=>t+r*(e-t);d();m();p();var aE=t=>{let e=[];for(let r=0;r<t.length-1;r++){let n=t[r],i=t[r+1];n===void 0&&i===void 0?e.push(void 0):n!==void 0&&i!==void 0?e.push([n,i]):e.push(n!==void 0?[n,n]:[i,i])}return e},M4=t=>e=>{let r=aE(e);return n=>{let i=n*r.length,s=n>=1?r.length-1:Math.max(Math.floor(i),0),o=r[s];return o===void 0?void 0:t(o[0],o[1],i-s)}};var K=M4(N4);d();m();p();var ye=t=>{let e=!1,r=t.map(n=>n!==void 0?(e=!0,n):1);return e?r:t};var lE={mode:"rgb",channels:["r","g","b","alpha"],parse:[R4,C4,k4,_4,T4,"srgb"],serialize:"srgb",interpolate:{r:K,g:K,b:K,alpha:{use:K,fixup:ye}},gamut:!0,white:{r:1,g:1,b:1},black:{r:0,g:0,b:0}},Gt=lE;d();m();p();var qh=(t=0)=>Math.pow(Math.abs(t),2.19921875)*Math.sign(t),uE=t=>{let e=qh(t.r),r=qh(t.g),n=qh(t.b),i={mode:"xyz65",x:.5766690429101305*e+.1855582379065463*r+.1882286462349947*n,y:.297344975250536*e+.6273635662554661*r+.0752914584939979*n,z:.0270313613864123*e+.0706888525358272*r+.9913375368376386*n};return t.alpha!==void 0&&(i.alpha=t.alpha),i},zh=uE;d();m();p();var jh=t=>Math.pow(Math.abs(t),.4547069271758437)*Math.sign(t),cE=({x:t,y:e,z:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i={mode:"a98",r:jh(t*2.0415879038107465-e*.5650069742788597-.3447313507783297*r),g:jh(t*-.9692436362808798+e*1.8759675015077206+.0415550574071756*r),b:jh(t*.0134442806320312-e*.1183623922310184+1.0151749943912058*r)};return n!==void 0&&(i.alpha=n),i},Vh=cE;d();m();p();d();m();p();var Wh=(t=0)=>{let e=Math.abs(t);return e<=.04045?t/12.92:(Math.sign(t)||1)*Math.pow((e+.055)/1.055,2.4)},fE=({r:t,g:e,b:r,alpha:n})=>{let i={mode:"lrgb",r:Wh(t),g:Wh(e),b:Wh(r)};return n!==void 0&&(i.alpha=n),i},Xt=fE;var hE=t=>{let{r:e,g:r,b:n,alpha:i}=Xt(t),s={mode:"xyz65",x:.4123907992659593*e+.357584339383878*r+.1804807884018343*n,y:.2126390058715102*e+.715168678767756*r+.0721923153607337*n,z:.0193308187155918*e+.119194779794626*r+.9505321522496607*n};return i!==void 0&&(s.alpha=i),s},kt=hE;d();m();p();d();m();p();var Hh=(t=0)=>{let e=Math.abs(t);return e>.0031308?(Math.sign(t)||1)*(1.055*Math.pow(e,.4166666666666667)-.055):t*12.92},dE=({r:t,g:e,b:r,alpha:n},i="rgb")=>{let s={mode:i,r:Hh(t),g:Hh(e),b:Hh(r)};return n!==void 0&&(s.alpha=n),s},Qt=dE;var pE=({x:t,y:e,z:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i=Qt({r:t*3.2409699419045226-e*1.537383177570094-.4986107602930034*r,g:t*-.9692436362808796+e*1.8759675015077204+.0415550574071756*r,b:t*.0556300796969936-e*.2039769588889765+1.0569715142428784*r});return n!==void 0&&(i.alpha=n),i},At=pE;var mE={...Gt,mode:"a98",parse:["a98-rgb"],serialize:"a98-rgb",fromMode:{rgb:t=>Vh(kt(t)),xyz65:Vh},toMode:{rgb:t=>At(zh(t)),xyz65:zh}},O4=mE;d();m();p();d();m();p();d();m();p();var gE=t=>(t=t%360)<0?t+360:t,Ne=gE;var bE=(t,e)=>t.map((r,n,i)=>{if(r===void 0)return r;let s=Ne(r);return n===0||t[n-1]===void 0?s:e(s-Ne(i[n-1]))}).reduce((r,n)=>!r.length||n===void 0||r[r.length-1]===void 0?(r.push(n),r):(r.push(n+r[r.length-1]),r),[]),dt=t=>bE(t,e=>Math.abs(e)<=180?e:e-360*Math.sign(e));d();m();p();d();m();p();var ot=[-.14861,1.78277,-.29227,-.90649,1.97294,0],P4=Math.PI/180,I4=180/Math.PI;var D4=ot[3]*ot[4],F4=ot[1]*ot[4],$4=ot[1]*ot[2]-ot[0]*ot[3],vE=({r:t,g:e,b:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i=($4*r+t*D4-e*F4)/($4+D4-F4),s=r-i,o=(ot[4]*(e-i)-ot[2]*s)/ot[3],a={mode:"cubehelix",l:i,s:i===0||i===1?void 0:Math.sqrt(s*s+o*o)/(ot[4]*i*(1-i))};return a.s&&(a.h=Math.atan2(o,s)*I4-120),n!==void 0&&(a.alpha=n),a},U4=vE;d();m();p();var wE=({h:t,s:e,l:r,alpha:n})=>{let i={mode:"rgb"};t=(t===void 0?0:t+120)*P4,r===void 0&&(r=0);let s=e===void 0?0:e*r*(1-r),o=Math.cos(t),a=Math.sin(t);return i.r=r+s*(ot[0]*o+ot[1]*a),i.g=r+s*(ot[2]*o+ot[3]*a),i.b=r+s*(ot[4]*o+ot[5]*a),n!==void 0&&(i.alpha=n),i},B4=wE;d();m();p();var pn=(t,e)=>{if(t.h===void 0||e.h===void 0||!t.s||!e.s)return 0;let r=Ne(t.h),n=Ne(e.h),i=Math.sin((n-r+360)/2*Math.PI/180);return 2*Math.sqrt(t.s*e.s)*i},q4=(t,e)=>{if(t.h===void 0||e.h===void 0)return 0;let r=Ne(t.h),n=Ne(e.h);return Math.abs(n-r)>180?r-(n-360*Math.sign(n-r)):n-r},mn=(t,e)=>{if(t.h===void 0||e.h===void 0||!t.c||!e.c)return 0;let r=Ne(t.h),n=Ne(e.h),i=Math.sin((n-r+360)/2*Math.PI/180);return 2*Math.sqrt(t.c*e.c)*i};d();m();p();var pt=t=>{let e=t.reduce((n,i)=>{if(i!==void 0){let s=i*Math.PI/180;n.sin+=Math.sin(s),n.cos+=Math.cos(s)}return n},{sin:0,cos:0}),r=Math.atan2(e.sin,e.cos)*180/Math.PI;return r<0?360+r:r};var yE={mode:"cubehelix",channels:["h","s","l","alpha"],parse:["--cubehelix"],serialize:"--cubehelix",ranges:{h:[0,360],s:[0,4.614],l:[0,1]},fromMode:{rgb:U4},toMode:{rgb:B4},interpolate:{h:{use:K,fixup:dt},s:K,l:K,alpha:{use:K,fixup:ye}},difference:{h:pn},average:{h:pt}},z4=yE;d();m();p();d();m();p();var xE=({l:t,a:e,b:r,alpha:n},i="lch")=>{e===void 0&&(e=0),r===void 0&&(r=0);let s=Math.sqrt(e*e+r*r),o={mode:i,l:t,c:s};return s&&(o.h=Ne(Math.atan2(r,e)*180/Math.PI)),n!==void 0&&(o.alpha=n),o},$t=xE;d();m();p();var SE=({l:t,c:e,h:r,alpha:n},i="lab")=>{r===void 0&&(r=0);let s={mode:i,l:t,a:e?e*Math.cos(r/180*Math.PI):0,b:e?e*Math.sin(r/180*Math.PI):0};return n!==void 0&&(s.alpha=n),s},Ut=SE;d();m();p();d();m();p();d();m();p();var Vl=Math.pow(29,3)/Math.pow(3,3),Wl=Math.pow(6,3)/Math.pow(29,3);d();m();p();var Ve={X:.9642956764295677,Y:1,Z:.8251046025104602},gn={X:.3127/.329,Y:1,Z:(1-.3127-.329)/.329},hH=Math.pow(29,3)/Math.pow(3,3),dH=Math.pow(6,3)/Math.pow(29,3);var Gh=t=>Math.pow(t,3)>Wl?Math.pow(t,3):(116*t-16)/Vl,_E=({l:t,a:e,b:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i=(t+16)/116,s=e/500+i,o=i-r/200,a={mode:"xyz65",x:Gh(s)*gn.X,y:Gh(i)*gn.Y,z:Gh(o)*gn.Z};return n!==void 0&&(a.alpha=n),a},Hl=_E;var CE=t=>At(Hl(t)),bn=CE;d();m();p();d();m();p();var Xh=t=>t>Wl?Math.cbrt(t):(Vl*t+16)/116,EE=({x:t,y:e,z:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i=Xh(t/gn.X),s=Xh(e/gn.Y),o=Xh(r/gn.Z),a={mode:"lab65",l:116*s-16,a:500*(i-s),b:200*(s-o)};return n!==void 0&&(a.alpha=n),a},Gl=EE;var kE=t=>{let e=Gl(kt(t));return t.r===t.b&&t.b===t.g&&(e.a=e.b=0),e},vn=kE;d();m();p();d();m();p();var ri=.14444444444444443*Math.PI,qi=Math.cos(ri),zi=Math.sin(ri),Xl=100/Math.log(139/100);var AE=({l:t,c:e,h:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i={mode:"lab65",l:(Math.exp(t*1/Xl)-1)/.0039},s=(Math.exp(.0435*e*1*1)-1)/.075,o=s*Math.cos(r/180*Math.PI-ri),a=s*Math.sin(r/180*Math.PI-ri);return i.a=o*qi-a/.83*zi,i.b=o*zi+a/.83*qi,n!==void 0&&(i.alpha=n),i},lo=AE;d();m();p();var LE=({l:t,a:e,b:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i=e*qi+r*zi,s=.83*(r*qi-e*zi),o=Math.sqrt(i*i+s*s),a={mode:"dlch",l:Xl/1*Math.log(1+.0039*t),c:Math.log(1+.075*o)/(.0435*1*1)};return a.c&&(a.h=Ne((Math.atan2(s,i)+ri)/Math.PI*180)),n!==void 0&&(a.alpha=n),a},uo=LE;var j4=t=>lo($t(t,"dlch")),V4=t=>Ut(uo(t),"dlab"),RE={mode:"dlab",parse:["--din99o-lab"],serialize:"--din99o-lab",toMode:{lab65:j4,rgb:t=>bn(j4(t))},fromMode:{lab65:V4,rgb:t=>V4(vn(t))},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-40.09,45.501],b:[-40.469,44.344]},interpolate:{l:K,a:K,b:K,alpha:{use:K,fixup:ye}}},W4=RE;d();m();p();var TE={mode:"dlch",parse:["--din99o-lch"],serialize:"--din99o-lch",toMode:{lab65:lo,dlab:t=>Ut(t,"dlab"),rgb:t=>bn(lo(t))},fromMode:{lab65:uo,dlab:t=>$t(t,"dlch"),rgb:t=>uo(vn(t))},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,51.484],h:[0,360]},interpolate:{l:K,c:K,h:{use:K,fixup:dt},alpha:{use:K,fixup:ye}},difference:{h:mn},average:{h:pt}},H4=TE;d();m();p();d();m();p();function Yh({h:t,s:e,i:r,alpha:n}){t=Ne(t!==void 0?t:0),e===void 0&&(e=0),r===void 0&&(r=0);let i=Math.abs(t/60%2-1),s;switch(Math.floor(t/60)){case 0:s={r:r*(1+e*(3/(2-i)-1)),g:r*(1+e*(3*(1-i)/(2-i)-1)),b:r*(1-e)};break;case 1:s={r:r*(1+e*(3*(1-i)/(2-i)-1)),g:r*(1+e*(3/(2-i)-1)),b:r*(1-e)};break;case 2:s={r:r*(1-e),g:r*(1+e*(3/(2-i)-1)),b:r*(1+e*(3*(1-i)/(2-i)-1))};break;case 3:s={r:r*(1-e),g:r*(1+e*(3*(1-i)/(2-i)-1)),b:r*(1+e*(3/(2-i)-1))};break;case 4:s={r:r*(1+e*(3*(1-i)/(2-i)-1)),g:r*(1-e),b:r*(1+e*(3/(2-i)-1))};break;case 5:s={r:r*(1+e*(3/(2-i)-1)),g:r*(1-e),b:r*(1+e*(3*(1-i)/(2-i)-1))};break;default:s={r:r*(1-e),g:r*(1-e),b:r*(1-e)}}return s.mode="rgb",n!==void 0&&(s.alpha=n),s}d();m();p();function Jh({r:t,g:e,b:r,alpha:n}){t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i=Math.max(t,e,r),s=Math.min(t,e,r),o={mode:"hsi",s:t+e+r===0?0:1-3*s/(t+e+r),i:(t+e+r)/3};return i-s!==0&&(o.h=(i===t?(e-r)/(i-s)+(e<r)*6:i===e?(r-t)/(i-s)+2:(t-e)/(i-s)+4)*60),n!==void 0&&(o.alpha=n),o}var NE={mode:"hsi",toMode:{rgb:Yh},parse:["--hsi"],serialize:"--hsi",fromMode:{rgb:Jh},channels:["h","s","i","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:K,fixup:dt},s:K,i:K,alpha:{use:K,fixup:ye}},difference:{h:pn},average:{h:pt}},G4=NE;d();m();p();d();m();p();function Zh({h:t,s:e,l:r,alpha:n}){t=Ne(t!==void 0?t:0),e===void 0&&(e=0),r===void 0&&(r=0);let i=r+e*(r<.5?r:1-r),s=i-(i-r)*2*Math.abs(t/60%2-1),o;switch(Math.floor(t/60)){case 0:o={r:i,g:s,b:2*r-i};break;case 1:o={r:s,g:i,b:2*r-i};break;case 2:o={r:2*r-i,g:i,b:s};break;case 3:o={r:2*r-i,g:s,b:i};break;case 4:o={r:s,g:2*r-i,b:i};break;case 5:o={r:i,g:2*r-i,b:s};break;default:o={r:2*r-i,g:2*r-i,b:2*r-i}}return o.mode="rgb",n!==void 0&&(o.alpha=n),o}d();m();p();function Kh({r:t,g:e,b:r,alpha:n}){t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i=Math.max(t,e,r),s=Math.min(t,e,r),o={mode:"hsl",s:i===s?0:(i-s)/(1-Math.abs(i+s-1)),l:.5*(i+s)};return i-s!==0&&(o.h=(i===t?(e-r)/(i-s)+(e<r)*6:i===e?(r-t)/(i-s)+2:(t-e)/(i-s)+4)*60),n!==void 0&&(o.alpha=n),o}d();m();p();d();m();p();var ME=(t,e)=>{switch(e){case"deg":return+t;case"rad":return t/Math.PI*180;case"grad":return t/10*9;case"turn":return t*360}},X4=ME;var OE=new RegExp(`^hsla?\\(\\s*${E4}${dn}${ei}${dn}${ei}\\s*(?:,\\s*${io}\\s*)?\\)$`),PE=t=>{let e=t.match(OE);if(!e)return;let r={mode:"hsl"};return e[3]!==void 0?r.h=+e[3]:e[1]!==void 0&&e[2]!==void 0&&(r.h=X4(e[1],e[2])),e[4]!==void 0&&(r.s=Math.min(Math.max(0,e[4]/100),1)),e[5]!==void 0&&(r.l=Math.min(Math.max(0,e[5]/100),1)),e[6]!==void 0?r.alpha=Math.max(0,Math.min(1,e[6]/100)):e[7]!==void 0&&(r.alpha=Math.max(0,Math.min(1,+e[7]))),r},Q4=PE;d();m();p();function IE(t,e){if(!e||e[0]!=="hsl"&&e[0]!=="hsla")return;let r={mode:"hsl"},[,n,i,s,o]=e;if(n.type!==Z.None){if(n.type===Z.Percentage)return;r.h=n.value}if(i.type!==Z.None){if(i.type===Z.Hue)return;r.s=i.value/100}if(s.type!==Z.None){if(s.type===Z.Hue)return;r.l=s.value/100}return o.type!==Z.None&&(r.alpha=Math.min(1,Math.max(0,o.type===Z.Number?o.value:o.value/100))),r}var Y4=IE;var DE={mode:"hsl",toMode:{rgb:Zh},fromMode:{rgb:Kh},channels:["h","s","l","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[Y4,Q4],serialize:t=>`hsl(${t.h!==void 0?t.h:"none"} ${t.s!==void 0?t.s*100+"%":"none"} ${t.l!==void 0?t.l*100+"%":"none"}${t.alpha<1?` / ${t.alpha}`:""})`,interpolate:{h:{use:K,fixup:dt},s:K,l:K,alpha:{use:K,fixup:ye}},difference:{h:pn},average:{h:pt}},Ql=DE;d();m();p();d();m();p();function co({h:t,s:e,v:r,alpha:n}){t=Ne(t!==void 0?t:0),e===void 0&&(e=0),r===void 0&&(r=0);let i=Math.abs(t/60%2-1),s;switch(Math.floor(t/60)){case 0:s={r,g:r*(1-e*i),b:r*(1-e)};break;case 1:s={r:r*(1-e*i),g:r,b:r*(1-e)};break;case 2:s={r:r*(1-e),g:r,b:r*(1-e*i)};break;case 3:s={r:r*(1-e),g:r*(1-e*i),b:r};break;case 4:s={r:r*(1-e*i),g:r*(1-e),b:r};break;case 5:s={r,g:r*(1-e),b:r*(1-e*i)};break;default:s={r:r*(1-e),g:r*(1-e),b:r*(1-e)}}return s.mode="rgb",n!==void 0&&(s.alpha=n),s}d();m();p();function fo({r:t,g:e,b:r,alpha:n}){t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i=Math.max(t,e,r),s=Math.min(t,e,r),o={mode:"hsv",s:i===0?0:1-s/i,v:i};return i-s!==0&&(o.h=(i===t?(e-r)/(i-s)+(e<r)*6:i===e?(r-t)/(i-s)+2:(t-e)/(i-s)+4)*60),n!==void 0&&(o.alpha=n),o}var FE={mode:"hsv",toMode:{rgb:co},parse:["--hsv"],serialize:"--hsv",fromMode:{rgb:fo},channels:["h","s","v","alpha"],ranges:{h:[0,360]},gamut:"rgb",interpolate:{h:{use:K,fixup:dt},s:K,v:K,alpha:{use:K,fixup:ye}},difference:{h:pn},average:{h:pt}},Yl=FE;d();m();p();d();m();p();function e1({h:t,w:e,b:r,alpha:n}){if(e===void 0&&(e=0),r===void 0&&(r=0),e+r>1){let i=e+r;e/=i,r/=i}return co({h:t,s:r===1?1:1-e/(1-r),v:1-r,alpha:n})}d();m();p();function t1(t){let e=fo(t);if(e===void 0)return;let r=e.s!==void 0?e.s:0,n=e.v!==void 0?e.v:0,i={mode:"hwb",w:(1-r)*n,b:1-n};return e.h!==void 0&&(i.h=e.h),e.alpha!==void 0&&(i.alpha=e.alpha),i}d();m();p();function $E(t,e){if(!e||e[0]!=="hwb")return;let r={mode:"hwb"},[,n,i,s,o]=e;if(n.type!==Z.None){if(n.type===Z.Percentage)return;r.h=n.value}if(i.type!==Z.None){if(i.type===Z.Hue)return;r.w=i.value/100}if(s.type!==Z.None){if(s.type===Z.Hue)return;r.b=s.value/100}return o.type!==Z.None&&(r.alpha=Math.min(1,Math.max(0,o.type===Z.Number?o.value:o.value/100))),r}var J4=$E;var UE={mode:"hwb",toMode:{rgb:e1},fromMode:{rgb:t1},channels:["h","w","b","alpha"],ranges:{h:[0,360]},gamut:"rgb",parse:[J4],serialize:t=>`hwb(${t.h!==void 0?t.h:"none"} ${t.w!==void 0?t.w*100+"%":"none"} ${t.b!==void 0?t.b*100+"%":"none"}${t.alpha<1?` / ${t.alpha}`:""})`,interpolate:{h:{use:K,fixup:dt},w:K,b:K,alpha:{use:K,fixup:ye}},difference:{h:q4},average:{h:pt}},Z4=UE;d();m();p();d();m();p();d();m();p();var ji=.1593017578125,K4=78.84375,Vi=.8359375,Wi=18.8515625,Hi=18.6875;function Jl(t){if(t<0)return 0;let e=Math.pow(t,1/K4);return 1e4*Math.pow(Math.max(0,e-Vi)/(Wi-Hi*e),1/ji)}function Zl(t){if(t<0)return 0;let e=Math.pow(t/1e4,ji);return Math.pow((Vi+Wi*e)/(1+Hi*e),K4)}var r1=t=>Math.max(t/203,0),qE=({i:t,t:e,p:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i=Jl(t+.008609037037932761*e+.11102962500302593*r),s=Jl(t-.00860903703793275*e-.11102962500302599*r),o=Jl(t+.5600313357106791*e-.32062717498731885*r),a={mode:"xyz65",x:r1(2.070152218389422*i-1.3263473389671556*s+.2066510476294051*o),y:r1(.3647385209748074*i+.680566024947227*s-.0453045459220346*o),z:r1(-.049747207535812*i-.0492609666966138*s+1.1880659249923042*o)};return n!==void 0&&(a.alpha=n),a},n1=qE;d();m();p();var i1=(t=0)=>Math.max(t*203,0),zE=({x:t,y:e,z:r,alpha:n})=>{let i=i1(t),s=i1(e),o=i1(r),a=Zl(.3592832590121217*i+.6976051147779502*s-.0358915932320289*o),l=Zl(-.1920808463704995*i+1.1004767970374323*s+.0753748658519118*o),u=Zl(.0070797844607477*i+.0748396662186366*s+.8433265453898765*o),c=.5*a+.5*l,f=1.61376953125*a-3.323486328125*l+1.709716796875*u,h=4.378173828125*a-4.24560546875*l-.132568359375*u,g={mode:"itp",i:c,t:f,p:h};return n!==void 0&&(g.alpha=n),g},s1=zE;var jE={mode:"itp",channels:["i","t","p","alpha"],parse:["--ictcp"],serialize:"--ictcp",toMode:{xyz65:n1,rgb:t=>At(n1(t))},fromMode:{xyz65:s1,rgb:t=>s1(kt(t))},ranges:{i:[0,.581],t:[-.369,.272],p:[-.164,.331]},interpolate:{i:K,t:K,p:K,alpha:{use:K,fixup:ye}}},eb=jE;d();m();p();d();m();p();var VE=134.03437499999998,WE=16295499532821565e-27,o1=t=>{if(t<0)return 0;let e=Math.pow(t/1e4,ji);return Math.pow((Vi+Wi*e)/(1+Hi*e),VE)},a1=(t=0)=>Math.max(t*203,0),HE=({x:t,y:e,z:r,alpha:n})=>{t=a1(t),e=a1(e),r=a1(r);let i=1.15*t-.15*r,s=.66*e+.34*t,o=o1(.41478972*i+.579999*s+.014648*r),a=o1(-.20151*i+1.120649*s+.0531008*r),l=o1(-.0166008*i+.2648*s+.6684799*r),u=(o+a)/2,c={mode:"jab",j:.44*u/(1-.56*u)-WE,a:3.524*o-4.066708*a+.542708*l,b:.199076*o+1.096799*a-1.295875*l};return n!==void 0&&(c.alpha=n),c},Kl=HE;d();m();p();var GE=134.03437499999998,tb=16295499532821565e-27,l1=t=>{if(t<0)return 0;let e=Math.pow(t,1/GE);return 1e4*Math.pow((Vi-e)/(Hi*e-Wi),1/ji)},u1=t=>t/203,XE=({j:t,a:e,b:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i=(t+tb)/(.44+.56*(t+tb)),s=l1(i+.13860504*e+.058047316*r),o=l1(i-.13860504*e-.058047316*r),a=l1(i-.096019242*e-.8118919*r),l={mode:"xyz65",x:u1(1.661373024652174*s-.914523081304348*o+.23136208173913045*a),y:u1(-.3250758611844533*s+1.571847026732543*o-.21825383453227928*a),z:u1(-.090982811*s-.31272829*o+1.5227666*a)};return n!==void 0&&(l.alpha=n),l},eu=XE;d();m();p();var QE=t=>{let e=Kl(kt(t));return t.r===t.b&&t.b===t.g&&(e.a=e.b=0),e},tu=QE;d();m();p();var YE=t=>At(eu(t)),ru=YE;var JE={mode:"jab",channels:["j","a","b","alpha"],parse:["--jzazbz"],serialize:"--jzazbz",fromMode:{rgb:tu,xyz65:Kl},toMode:{rgb:ru,xyz65:eu},ranges:{j:[0,.222],a:[-.109,.129],b:[-.185,.134]},interpolate:{j:K,a:K,b:K,alpha:{use:K,fixup:ye}}},rb=JE;d();m();p();d();m();p();var ZE=({j:t,a:e,b:r,alpha:n})=>{e===void 0&&(e=0),r===void 0&&(r=0);let i=Math.sqrt(e*e+r*r),s={mode:"jch",j:t,c:i};return i&&(s.h=Ne(Math.atan2(r,e)*180/Math.PI)),n!==void 0&&(s.alpha=n),s},c1=ZE;d();m();p();var KE=({j:t,c:e,h:r,alpha:n})=>{r===void 0&&(r=0);let i={mode:"jab",j:t,a:e?e*Math.cos(r/180*Math.PI):0,b:e?e*Math.sin(r/180*Math.PI):0};return n!==void 0&&(i.alpha=n),i},f1=KE;var ek={mode:"jch",parse:["--jzczhz"],serialize:"--jzczhz",toMode:{jab:f1,rgb:t=>ru(f1(t))},fromMode:{rgb:t=>c1(tu(t)),jab:c1},channels:["j","c","h","alpha"],ranges:{j:[0,.221],c:[0,.19],h:[0,360]},interpolate:{h:{use:K,fixup:dt},c:K,j:K,alpha:{use:K,fixup:ye}},difference:{h:mn},average:{h:pt}},nb=ek;d();m();p();d();m();p();d();m();p();d();m();p();var wn=Math.pow(29,3)/Math.pow(3,3),Gi=Math.pow(6,3)/Math.pow(29,3);var h1=t=>Math.pow(t,3)>Gi?Math.pow(t,3):(116*t-16)/wn,tk=({l:t,a:e,b:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i=(t+16)/116,s=e/500+i,o=i-r/200,a={mode:"xyz50",x:h1(s)*Ve.X,y:h1(i)*Ve.Y,z:h1(o)*Ve.Z};return n!==void 0&&(a.alpha=n),a},Xi=tk;d();m();p();var rk=({x:t,y:e,z:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i=Qt({r:t*3.1341359569958707-e*1.6173863321612538-.4906619460083532*r,g:t*-.978795502912089+e*1.916254567259524+.03344273116131949*r,b:t*.07195537988411677-e*.2289768264158322+1.405386058324125*r});return n!==void 0&&(i.alpha=n),i},Cr=rk;var nk=t=>Cr(Xi(t)),nu=nk;d();m();p();d();m();p();var ik=t=>{let{r:e,g:r,b:n,alpha:i}=Xt(t),s={mode:"xyz50",x:.436065742824811*e+.3851514688337912*r+.14307845442264197*n,y:.22249319175623702*e+.7168870538238823*r+.06061979053616537*n,z:.013923904500943465*e+.09708128566574634*r+.7140993584005155*n};return i!==void 0&&(s.alpha=i),s},Er=ik;d();m();p();var d1=t=>t>Gi?Math.cbrt(t):(wn*t+16)/116,sk=({x:t,y:e,z:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i=d1(t/Ve.X),s=d1(e/Ve.Y),o=d1(r/Ve.Z),a={mode:"lab",l:116*s-16,a:500*(i-s),b:200*(s-o)};return n!==void 0&&(a.alpha=n),a},Qi=sk;var ok=t=>{let e=Qi(Er(t));return t.r===t.b&&t.b===t.g&&(e.a=e.b=0),e},iu=ok;d();m();p();function ak(t,e){if(!e||e[0]!=="lab")return;let r={mode:"lab"},[,n,i,s,o]=e;if(!(n.type===Z.Hue||i.type===Z.Hue||s.type===Z.Hue))return n.type!==Z.None&&(r.l=Math.min(Math.max(0,n.value),100)),i.type!==Z.None&&(r.a=i.type===Z.Number?i.value:i.value*125/100),s.type!==Z.None&&(r.b=s.type===Z.Number?s.value:s.value*125/100),o.type!==Z.None&&(r.alpha=Math.min(1,Math.max(0,o.type===Z.Number?o.value:o.value/100))),r}var ib=ak;var lk={mode:"lab",toMode:{xyz50:Xi,rgb:nu},fromMode:{xyz50:Qi,rgb:iu},channels:["l","a","b","alpha"],ranges:{l:[0,100],a:[-100,100],b:[-100,100]},parse:[ib],serialize:t=>`lab(${t.l!==void 0?t.l:"none"} ${t.a!==void 0?t.a:"none"} ${t.b!==void 0?t.b:"none"}${t.alpha<1?` / ${t.alpha}`:""})`,interpolate:{l:K,a:K,b:K,alpha:{use:K,fixup:ye}}},Yi=lk;d();m();p();var uk={...Yi,mode:"lab65",parse:["--lab-d65"],serialize:"--lab-d65",toMode:{xyz65:Hl,rgb:bn},fromMode:{xyz65:Gl,rgb:vn},ranges:{l:[0,100],a:[-86.182,98.234],b:[-107.86,94.477]}},sb=uk;d();m();p();d();m();p();function ck(t,e){if(!e||e[0]!=="lch")return;let r={mode:"lch"},[,n,i,s,o]=e;if(n.type!==Z.None){if(n.type===Z.Hue)return;r.l=Math.min(Math.max(0,n.value),100)}if(i.type!==Z.None&&(r.c=Math.max(0,i.type===Z.Number?i.value:i.value*150/100)),s.type!==Z.None){if(s.type===Z.Percentage)return;r.h=s.value}return o.type!==Z.None&&(r.alpha=Math.min(1,Math.max(0,o.type===Z.Number?o.value:o.value/100))),r}var ob=ck;var fk={mode:"lch",toMode:{lab:Ut,rgb:t=>nu(Ut(t))},fromMode:{rgb:t=>$t(iu(t)),lab:$t},channels:["l","c","h","alpha"],ranges:{l:[0,100],c:[0,150],h:[0,360]},parse:[ob],serialize:t=>`lch(${t.l!==void 0?t.l:"none"} ${t.c!==void 0?t.c:"none"} ${t.h!==void 0?t.h:"none"}${t.alpha<1?` / ${t.alpha}`:""})`,interpolate:{h:{use:K,fixup:dt},c:K,l:K,alpha:{use:K,fixup:ye}},difference:{h:mn},average:{h:pt}},Ji=fk;d();m();p();var hk={...Ji,mode:"lch65",parse:["--lch-d65"],serialize:"--lch-d65",toMode:{lab65:t=>Ut(t,"lab65"),rgb:t=>bn(Ut(t,"lab65"))},fromMode:{rgb:t=>$t(vn(t),"lch65"),lab65:t=>$t(t,"lch65")},ranges:{l:[0,100],c:[0,133.807],h:[0,360]}},ab=hk;d();m();p();d();m();p();var dk=({l:t,u:e,v:r,alpha:n})=>{e===void 0&&(e=0),r===void 0&&(r=0);let i=Math.sqrt(e*e+r*r),s={mode:"lchuv",l:t,c:i};return i&&(s.h=Ne(Math.atan2(r,e)*180/Math.PI)),n!==void 0&&(s.alpha=n),s},p1=dk;d();m();p();var pk=({l:t,c:e,h:r,alpha:n})=>{r===void 0&&(r=0);let i={mode:"luv",l:t,u:e?e*Math.cos(r/180*Math.PI):0,v:e?e*Math.sin(r/180*Math.PI):0};return n!==void 0&&(i.alpha=n),i},m1=pk;d();m();p();var lb=(t,e,r)=>4*t/(t+15*e+3*r),ub=(t,e,r)=>9*e/(t+15*e+3*r),mk=lb(Ve.X,Ve.Y,Ve.Z),gk=ub(Ve.X,Ve.Y,Ve.Z),bk=t=>t<=Gi?wn*t:116*Math.cbrt(t)-16,vk=({x:t,y:e,z:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i=bk(e/Ve.Y),s=lb(t,e,r),o=ub(t,e,r);!isFinite(s)||!isFinite(o)?i=s=o=0:(s=13*i*(s-mk),o=13*i*(o-gk));let a={mode:"luv",l:i,u:s,v:o};return n!==void 0&&(a.alpha=n),a},ho=vk;d();m();p();var wk=(t,e,r)=>4*t/(t+15*e+3*r),yk=(t,e,r)=>9*e/(t+15*e+3*r),xk=wk(Ve.X,Ve.Y,Ve.Z),Sk=yk(Ve.X,Ve.Y,Ve.Z),_k=({l:t,u:e,v:r,alpha:n})=>{if(t===void 0&&(t=0),t===0)return{mode:"xyz50",x:0,y:0,z:0};e===void 0&&(e=0),r===void 0&&(r=0);let i=e/(13*t)+xk,s=r/(13*t)+Sk,o=Ve.Y*(t<=8?t/wn:Math.pow((t+16)/116,3)),a=o*(9*i)/(4*s),l=o*(12-3*i-20*s)/(4*s),u={mode:"xyz50",x:a,y:o,z:l};return n!==void 0&&(u.alpha=n),u},po=_k;var Ck=t=>p1(ho(Er(t))),Ek=t=>Cr(po(m1(t))),kk={mode:"lchuv",toMode:{luv:m1,rgb:Ek},fromMode:{rgb:Ck,luv:p1},channels:["l","c","h","alpha"],parse:["--lchuv"],serialize:"--lchuv",ranges:{l:[0,100],c:[0,176.956],h:[0,360]},interpolate:{h:{use:K,fixup:dt},c:K,l:K,alpha:{use:K,fixup:ye}},difference:{h:mn},average:{h:pt}},cb=kk;d();m();p();var Ak={...Gt,mode:"lrgb",toMode:{rgb:Qt},fromMode:{rgb:Xt},parse:["srgb-linear"],serialize:"srgb-linear"},fb=Ak;d();m();p();var Lk={mode:"luv",toMode:{xyz50:po,rgb:t=>Cr(po(t))},fromMode:{xyz50:ho,rgb:t=>ho(Er(t))},channels:["l","u","v","alpha"],parse:["--luv"],serialize:"--luv",ranges:{l:[0,100],u:[-84.936,175.042],v:[-125.882,87.243]},interpolate:{l:K,u:K,v:K,alpha:{use:K,fixup:ye}}},hb=Lk;d();m();p();d();m();p();d();m();p();var Rk=({r:t,g:e,b:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i=Math.cbrt(.41222147079999993*t+.5363325363*e+.0514459929*r),s=Math.cbrt(.2119034981999999*t+.6806995450999999*e+.1073969566*r),o=Math.cbrt(.08830246189999998*t+.2817188376*e+.6299787005000002*r),a={mode:"oklab",l:.2104542553*i+.793617785*s-.0040720468*o,a:1.9779984951*i-2.428592205*s+.4505937099*o,b:.0259040371*i+.7827717662*s-.808675766*o};return n!==void 0&&(a.alpha=n),a},su=Rk;var Tk=t=>{let e=su(Xt(t));return t.r===t.b&&t.b===t.g&&(e.a=e.b=0),e},yn=Tk;d();m();p();d();m();p();var Nk=({l:t,a:e,b:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i=Math.pow(t*.9999999984505198+.39633779217376786*e+.2158037580607588*r,3),s=Math.pow(t*1.0000000088817609-.10556134232365635*e-.06385417477170591*r,3),o=Math.pow(t*1.0000000546724108-.08948418209496575*e-1.2914855378640917*r,3),a={mode:"lrgb",r:4.076741661347994*i-3.307711590408193*s+.230969928729428*o,g:-1.2684380040921763*i+2.6097574006633715*s-.3413193963102197*o,b:-.004196086541837188*i-.7034186144594493*s+1.7076147009309444*o};return n!==void 0&&(a.alpha=n),a},kr=Nk;var Mk=t=>Qt(kr(t)),xn=Mk;d();m();p();d();m();p();function mo(t){let n=1.170873786407767;return .5*(n*t-.206+Math.sqrt((n*t-.206)*(n*t-.206)+4*.03*n*t))}function ni(t){return(t*t+.206*t)/(1.170873786407767*(t+.03))}function Ok(t,e){let r,n,i,s,o,a,l,u;-1.88170328*t-.80936493*e>1?(r=1.19086277,n=1.76576728,i=.59662641,s=.75515197,o=.56771245,a=4.0767416621,l=-3.3077115913,u=.2309699292):1.81444104*t-1.19445276*e>1?(r=.73956515,n=-.45954404,i=.08285427,s=.1254107,o=.14503204,a=-1.2684380046,l=2.6097574011,u=-.3413193965):(r=1.35733652,n=-.00915799,i=-1.1513021,s=-.50559606,o=.00692167,a=-.0041960863,l=-.7034186147,u=1.707614701);let c=r+n*t+i*e+s*t*t+o*t*e,f=.3963377774*t+.2158037573*e,h=-.1055613458*t-.0638541728*e,g=-.0894841775*t-1.291485548*e;{let y=1+c*f,S=1+c*h,x=1+c*g,_=y*y*y,k=S*S*S,T=x*x*x,N=3*f*y*y,L=3*h*S*S,P=3*g*x*x,D=6*f*f*y,$=6*h*h*S,Q=6*g*g*x,O=a*_+l*k+u*T,I=a*N+l*L+u*P,z=a*D+l*$+u*Q;c=c-O*I/(I*I-.5*O*z)}return c}function g1(t,e){let r=Ok(t,e),n=kr({l:1,a:r*t,b:r*e}),i=Math.cbrt(1/Math.max(n.r,n.g,n.b)),s=i*r;return[i,s]}function Pk(t,e,r,n,i,s=null){s||(s=g1(t,e));let o;if((r-i)*s[1]-(s[0]-i)*n<=0)o=s[1]*i/(n*s[0]+s[1]*(i-r));else{o=s[1]*(i-1)/(n*(s[0]-1)+s[1]*(i-r));{let a=r-i,l=n,u=.3963377774*t+.2158037573*e,c=-.1055613458*t-.0638541728*e,f=-.0894841775*t-1.291485548*e,h=a+l*u,g=a+l*c,y=a+l*f;{let S=i*(1-o)+o*r,x=o*n,_=S+x*u,k=S+x*c,T=S+x*f,N=_*_*_,L=k*k*k,P=T*T*T,D=3*h*_*_,$=3*g*k*k,Q=3*y*T*T,O=6*h*h*_,I=6*g*g*k,z=6*y*y*T,G=4.0767416621*N-3.3077115913*L+.2309699292*P-1,j=4.0767416621*D-3.3077115913*$+.2309699292*Q,U=4.0767416621*O-3.3077115913*I+.2309699292*z,W=j/(j*j-.5*G*U),H=-G*W,Y=-1.2684380046*N+2.6097574011*L-.3413193965*P-1,te=-1.2684380046*D+2.6097574011*$-.3413193965*Q,ne=-1.2684380046*O+2.6097574011*I-.3413193965*z,he=te/(te*te-.5*Y*ne),ke=-Y*he,st=-.0041960863*N-.7034186147*L+1.707614701*P-1,ht=-.0041960863*D-.7034186147*$+1.707614701*Q,Ye=-.0041960863*O-.7034186147*I+1.707614701*z,Ct=ht/(ht*ht-.5*st*Ye),Je=-st*Ct;H=W>=0?H:1e6,ke=he>=0?ke:1e6,Je=Ct>=0?Je:1e6,o+=Math.min(H,Math.min(ke,Je))}}}return o}function go(t,e,r=null){r||(r=g1(t,e));let n=r[0],i=r[1];return[i/n,i/(1-n)]}function ou(t,e,r){let n=g1(e,r),i=Pk(e,r,t,1,t,n),s=go(e,r,n),o=.11516993+1/(7.4477897+4.1590124*r+e*(-2.19557347+1.75198401*r+e*(-2.13704948-10.02301043*r+e*(-4.24894561+5.38770819*r+4.69891013*e)))),a=.11239642+1/(1.6132032-.68124379*r+e*(.40370612+.90148123*r+e*(-.27087943+.6122399*r+e*(.00299215-.45399568*r-.14661872*e)))),l=i/Math.min(t*s[0],(1-t)*s[1]),u=t*o,c=(1-t)*a,f=.9*l*Math.sqrt(Math.sqrt(1/(1/(u*u*u*u)+1/(c*c*c*c))));return u=t*.4,c=(1-t)*.8,[Math.sqrt(1/(1/(u*u)+1/(c*c))),f,i]}function au(t){let e=t.l!==void 0?t.l:0,r=t.a!==void 0?t.a:0,n=t.b!==void 0?t.b:0,i={mode:"okhsl",l:mo(e)};t.alpha!==void 0&&(i.alpha=t.alpha);let s=Math.sqrt(r*r+n*n);if(!s)return i.s=0,i;let[o,a,l]=ou(e,r/s,n/s),u;if(s<a){let c=0,f=.8*o,h=1-f/a;u=(s-c)/(f+h*(s-c))*.8}else{let c=a,f=.2*a*a*1.25*1.25/o,h=1-f/(l-a);u=.8+.2*((s-c)/(f+h*(s-c)))}return u&&(i.s=u,i.h=Ne(Math.atan2(n,r)*180/Math.PI)),i}d();m();p();function lu(t){let e=t.h!==void 0?t.h:0,r=t.s!==void 0?t.s:0,n=t.l!==void 0?t.l:0,i={mode:"oklab",l:ni(n)};if(t.alpha!==void 0&&(i.alpha=t.alpha),!r||n===1)return i.a=i.b=0,i;let s=Math.cos(e/180*Math.PI),o=Math.sin(e/180*Math.PI),[a,l,u]=ou(i.l,s,o),c,f,h,g;r<.8?(c=1.25*r,f=0,h=.8*a,g=1-h/l):(c=5*(r-.8),f=l,h=.2*l*l*1.25*1.25/a,g=1-h/(u-l));let y=f+c*h/(1-g*c);return i.a=y*s,i.b=y*o,i}var Ik={...Ql,mode:"okhsl",channels:["h","s","l","alpha"],parse:["--okhsl"],serialize:"--okhsl",fromMode:{oklab:au,rgb:t=>au(yn(t))},toMode:{oklab:lu,rgb:t=>xn(lu(t))}},db=Ik;d();m();p();d();m();p();function uu(t){let e=t.l!==void 0?t.l:0,r=t.a!==void 0?t.a:0,n=t.b!==void 0?t.b:0,i=Math.sqrt(r*r+n*n),s=i?r/i:1,o=i?n/i:1,[a,l]=go(s,o),u=.5,c=1-u/a,f=l/(i+e*l),h=f*e,g=f*i,y=ni(h),S=g*y/h,x=kr({l:y,a:s*S,b:o*S}),_=Math.cbrt(1/Math.max(x.r,x.g,x.b,0));e=e/_,i=i/_*mo(e)/e,e=mo(e);let k={mode:"okhsv",s:i?(u+l)*g/(l*u+l*c*g):0,v:e?e/h:0};return k.s&&(k.h=Ne(Math.atan2(n,r)*180/Math.PI)),t.alpha!==void 0&&(k.alpha=t.alpha),k}d();m();p();function cu(t){let e={mode:"oklab"};t.alpha!==void 0&&(e.alpha=t.alpha);let r=t.h!==void 0?t.h:0,n=t.s!==void 0?t.s:0,i=t.v!==void 0?t.v:0,s=Math.cos(r/180*Math.PI),o=Math.sin(r/180*Math.PI),[a,l]=go(s,o),u=.5,c=1-u/a,f=1-n*u/(u+l-l*c*n),h=n*l*u/(u+l-l*c*n),g=ni(f),y=h*g/f,S=kr({l:g,a:s*y,b:o*y}),x=Math.cbrt(1/Math.max(S.r,S.g,S.b,0)),_=ni(i*f),k=h*_/f;return e.l=_*x,e.a=k*s*x,e.b=k*o*x,e}var Dk={...Yl,mode:"okhsv",channels:["h","s","v","alpha"],parse:["--okhsv"],serialize:"--okhsv",fromMode:{oklab:uu,rgb:t=>uu(yn(t))},toMode:{oklab:cu,rgb:t=>xn(cu(t))}},pb=Dk;d();m();p();d();m();p();function Fk(t,e){if(!e||e[0]!=="oklab")return;let r={mode:"oklab"},[,n,i,s,o]=e;if(!(n.type===Z.Hue||i.type===Z.Hue||s.type===Z.Hue))return n.type!==Z.None&&(r.l=Math.min(Math.max(0,n.type===Z.Number?n.value:n.value/100),1)),i.type!==Z.None&&(r.a=i.type===Z.Number?i.value:i.value*.4/100),s.type!==Z.None&&(r.b=s.type===Z.Number?s.value:s.value*.4/100),o.type!==Z.None&&(r.alpha=Math.min(1,Math.max(0,o.type===Z.Number?o.value:o.value/100))),r}var mb=Fk;var $k={...Yi,mode:"oklab",toMode:{lrgb:kr,rgb:xn},fromMode:{lrgb:su,rgb:yn},ranges:{l:[0,1],a:[-.4,.4],b:[-.4,.4]},parse:[mb],serialize:t=>`oklab(${t.l!==void 0?t.l:"none"} ${t.a!==void 0?t.a:"none"} ${t.b!==void 0?t.b:"none"}${t.alpha<1?` / ${t.alpha}`:""})`},gb=$k;d();m();p();d();m();p();function Uk(t,e){if(!e||e[0]!=="oklch")return;let r={mode:"oklch"},[,n,i,s,o]=e;if(n.type!==Z.None){if(n.type===Z.Hue)return;r.l=Math.min(Math.max(0,n.type===Z.Number?n.value:n.value/100),1)}if(i.type!==Z.None&&(r.c=Math.max(0,i.type===Z.Number?i.value:i.value*.4/100)),s.type!==Z.None){if(s.type===Z.Percentage)return;r.h=s.value}return o.type!==Z.None&&(r.alpha=Math.min(1,Math.max(0,o.type===Z.Number?o.value:o.value/100))),r}var bb=Uk;var Bk={...Ji,mode:"oklch",toMode:{oklab:t=>Ut(t,"oklab"),rgb:t=>xn(Ut(t,"oklab"))},fromMode:{rgb:t=>$t(yn(t),"oklch"),oklab:t=>$t(t,"oklch")},parse:[bb],serialize:t=>`oklch(${t.l!==void 0?t.l:"none"} ${t.c!==void 0?t.c:"none"} ${t.h!==void 0?t.h:"none"}${t.alpha<1?` / ${t.alpha}`:""})`,ranges:{l:[0,1],c:[0,.4],h:[0,360]}},vb=Bk;d();m();p();d();m();p();var qk=t=>{let{r:e,g:r,b:n,alpha:i}=Xt(t),s={mode:"xyz65",x:.486570948648216*e+.265667693169093*r+.1982172852343625*n,y:.2289745640697487*e+.6917385218365062*r+.079286914093745*n,z:0*e+.0451133818589026*r+1.043944368900976*n};return i!==void 0&&(s.alpha=i),s},b1=qk;d();m();p();var zk=({x:t,y:e,z:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i=Qt({r:t*2.4934969119414263-e*.9313836179191242-.402710784450717*r,g:t*-.8294889695615749+e*1.7626640603183465+.0236246858419436*r,b:t*.0358458302437845-e*.0761723892680418+.9568845240076871*r},"p3");return n!==void 0&&(i.alpha=n),i},v1=zk;var jk={...Gt,mode:"p3",parse:["display-p3"],serialize:"display-p3",fromMode:{rgb:t=>v1(kt(t)),xyz65:v1},toMode:{rgb:t=>At(b1(t)),xyz65:b1}},wb=jk;d();m();p();d();m();p();var w1=t=>{let e=Math.abs(t);return e>=.001953125?Math.sign(t)*Math.pow(e,.5555555555555556):16*t},Vk=({x:t,y:e,z:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i={mode:"prophoto",r:w1(t*1.3457868816471585-e*.2555720873797946-.0511018649755453*r),g:w1(t*-.5446307051249019+e*1.5082477428451466+.0205274474364214*r),b:w1(t*0+e*0+1.2119675456389452*r)};return n!==void 0&&(i.alpha=n),i},y1=Vk;d();m();p();var x1=(t=0)=>{let e=Math.abs(t);return e>=.03125?Math.sign(t)*Math.pow(e,1.8):t/16},Wk=t=>{let e=x1(t.r),r=x1(t.g),n=x1(t.b),i={mode:"xyz50",x:.7977666449006423*e+.1351812974005331*r+.0313477341283922*n,y:.2880748288194013*e+.7118352342418731*r+899369387256e-16*n,z:0*e+0*r+.8251046025104602*n};return t.alpha!==void 0&&(i.alpha=t.alpha),i},S1=Wk;var Hk={...Gt,mode:"prophoto",parse:["prophoto-rgb"],serialize:"prophoto-rgb",fromMode:{xyz50:y1,rgb:t=>y1(Er(t))},toMode:{xyz50:S1,rgb:t=>Cr(S1(t))}},yb=Hk;d();m();p();d();m();p();var xb=1.09929682680944,Gk=.018053968510807,_1=t=>{let e=Math.abs(t);return e>Gk?(Math.sign(t)||1)*(xb*Math.pow(e,.45)-(xb-1)):4.5*t},Xk=({x:t,y:e,z:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i={mode:"rec2020",r:_1(t*1.7166511879712683-e*.3556707837763925-.2533662813736599*r),g:_1(t*-.6666843518324893+e*1.6164812366349395+.0157685458139111*r),b:_1(t*.0176398574453108-e*.0427706132578085+.9421031212354739*r)};return n!==void 0&&(i.alpha=n),i},C1=Xk;d();m();p();var Sb=1.09929682680944,Qk=.018053968510807,E1=(t=0)=>{let e=Math.abs(t);return e<Qk*4.5?t/4.5:(Math.sign(t)||1)*Math.pow((e+Sb-1)/Sb,1/.45)},Yk=t=>{let e=E1(t.r),r=E1(t.g),n=E1(t.b),i={mode:"xyz65",x:.6369580483012911*e+.1446169035862083*r+.1688809751641721*n,y:.262700212011267*e+.6779980715188708*r+.059301716469862*n,z:0*e+.0280726930490874*r+1.0609850577107909*n};return t.alpha!==void 0&&(i.alpha=t.alpha),i},k1=Yk;var Jk={...Gt,mode:"rec2020",fromMode:{xyz65:C1,rgb:t=>C1(kt(t))},toMode:{xyz65:k1,rgb:t=>At(k1(t))},parse:["rec2020"],serialize:"rec2020"},_b=Jk;d();m();p();d();m();p();d();m();p();var Xr=.0037930732552754493,fu=Math.cbrt(Xr);var A1=t=>Math.cbrt(t)-fu,Zk=t=>{let{r:e,g:r,b:n,alpha:i}=Xt(t),s=A1(.3*e+.622*r+.078*n+Xr),o=A1(.23*e+.692*r+.078*n+Xr),a=A1(.2434226892454782*e+.2047674442449682*r+.5518098665095535*n+Xr),l={mode:"xyb",x:(s-o)/2,y:(s+o)/2,b:a-(s+o)/2};return i!==void 0&&(l.alpha=i),l},Cb=Zk;d();m();p();var L1=t=>Math.pow(t+fu,3),Kk=({x:t,y:e,b:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i=L1(t+e)-Xr,s=L1(e-t)-Xr,o=L1(r+e)-Xr,a=Qt({r:11.031566904639861*i-9.866943908131562*s-.16462299650829934*o,g:-3.2541473810744237*i+4.418770377582723*s-.16462299650829934*o,b:-3.6588512867136815*i+2.7129230459360922*s+1.9459282407775895*o});return n!==void 0&&(a.alpha=n),a},Eb=Kk;var eA={mode:"xyb",channels:["x","y","b","alpha"],parse:["--xyb"],serialize:"--xyb",toMode:{rgb:Eb},fromMode:{rgb:Cb},ranges:{x:[-.0154,.0281],y:[0,.8453],b:[-.2778,.388]},interpolate:{x:K,y:K,b:K,alpha:{use:K,fixup:ye}}},kb=eA;d();m();p();var tA={mode:"xyz50",parse:["xyz-d50"],serialize:"xyz-d50",toMode:{rgb:Cr,lab:Qi},fromMode:{rgb:Er,lab:Xi},channels:["x","y","z","alpha"],ranges:{x:[0,.964],y:[0,.999],z:[0,.825]},interpolate:{x:K,y:K,z:K,alpha:{use:K,fixup:ye}}},Ab=tA;d();m();p();d();m();p();var rA=t=>{let{x:e,y:r,z:n,alpha:i}=t;e===void 0&&(e=0),r===void 0&&(r=0),n===void 0&&(n=0);let s={mode:"xyz50",x:1.0479298208405488*e+.0229467933410191*r-.0501922295431356*n,y:.0296278156881593*e+.990434484573249*r-.0170738250293851*n,z:-.0092430581525912*e+.0150551448965779*r+.7518742899580008*n};return i!==void 0&&(s.alpha=i),s},Lb=rA;d();m();p();var nA=t=>{let{x:e,y:r,z:n,alpha:i}=t;e===void 0&&(e=0),r===void 0&&(r=0),n===void 0&&(n=0);let s={mode:"xyz65",x:.9554734527042182*e-.0230985368742614*r+.0632593086610217*n,y:-.0283697069632081*e+1.0099954580058226*r+.021041398966943*n,z:.0123140016883199*e-.0205076964334779*r+1.3303659366080753*n};return i!==void 0&&(s.alpha=i),s},Rb=nA;var iA={mode:"xyz65",toMode:{rgb:At,xyz50:Lb},fromMode:{rgb:kt,xyz50:Rb},ranges:{x:[0,.95],y:[0,1],z:[0,1.088]},channels:["x","y","z","alpha"],parse:["xyz","xyz-d65"],serialize:"xyz-d65",interpolate:{x:K,y:K,z:K,alpha:{use:K,fixup:ye}}},Tb=iA;d();m();p();d();m();p();var sA=({r:t,g:e,b:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i={mode:"yiq",y:.29889531*t+.58662247*e+.11448223*r,i:.59597799*t-.2741761*e-.32180189*r,q:.21147017*t-.52261711*e+.31114694*r};return n!==void 0&&(i.alpha=n),i},Nb=sA;d();m();p();var oA=({y:t,i:e,q:r,alpha:n})=>{t===void 0&&(t=0),e===void 0&&(e=0),r===void 0&&(r=0);let i={mode:"rgb",r:t+.95608445*e+.6208885*r,g:t-.27137664*e-.6486059*r,b:t-1.10561724*e+1.70250126*r};return n!==void 0&&(i.alpha=n),i},Mb=oA;var aA={mode:"yiq",toMode:{rgb:Mb},fromMode:{rgb:Nb},channels:["y","i","q","alpha"],parse:["--yiq"],serialize:"--yiq",ranges:{i:[-.595,.595],q:[-.522,.522]},interpolate:{y:K,i:K,q:K,alpha:{use:K,fixup:ye}}},Ob=aA;d();m();p();d();m();p();var lA=(t,e)=>Math.round(t*(e=Math.pow(10,e)))/e,uA=(t=4)=>e=>typeof e=="number"?lA(e,t):e,Pb=uA;var cA=Pb(2),Ib=t=>Math.max(0,Math.min(1,t||0)),ii=t=>Math.round(Ib(t)*255),R1=Ht("rgb"),Bne=Ht("hsl"),T1=t=>{if(t===void 0)return;let e=ii(t.r),r=ii(t.g),n=ii(t.b);return"#"+(1<<24|e<<16|r<<8|n).toString(16).slice(1)},Db=t=>{if(t===void 0)return;let e=ii(t.alpha!==void 0?t.alpha:1);return T1(t)+(256|e).toString(16).slice(1)},Fb=t=>{if(t===void 0)return;let e=ii(t.r),r=ii(t.g),n=ii(t.b);return t.alpha===void 0||t.alpha===1?`rgb(${e}, ${r}, ${n})`:`rgba(${e}, ${r}, ${n}, ${cA(Ib(t.alpha))})`};var N1=t=>T1(R1(t)),M1=t=>Db(R1(t)),hu=t=>Fb(R1(t));d();m();p();var $b=Ht("rgb"),fA=t=>{let e={mode:t.mode,r:Math.max(0,Math.min(t.r!==void 0?t.r:0,1)),g:Math.max(0,Math.min(t.g!==void 0?t.g:0,1)),b:Math.max(0,Math.min(t.b!==void 0?t.b:0,1))};return t.alpha!==void 0&&(e.alpha=t.alpha),e},hA=t=>fA($b(t)),Ub=t=>t!==void 0&&(t.r===void 0||t.r>=0&&t.r<=1)&&(t.g===void 0||t.g>=0&&t.g<=1)&&(t.b===void 0||t.b>=0&&t.b<=1);function Bb(t){return Ub($b(t))}function O1(t="rgb"){let{gamut:e}=Bl(t);if(!e)return n=>!0;let r=Ht(typeof e=="string"?e:t);return n=>Ub(r(n))}function P1(t){return t=Ul(t),t===void 0||Bb(t)?t:Ht(t.mode)(hA(t))}var Iie=Ae(O4),Die=Ae(z4),Fie=Ae(W4),$ie=Ae(H4),Uie=Ae(G4),Bie=Ae(Ql),qie=Ae(Yl),zie=Ae(Z4),jie=Ae(eb),Vie=Ae(rb),Wie=Ae(nb),Hie=Ae(Yi),Gie=Ae(sb),Xie=Ae(Ji),Qie=Ae(ab),Yie=Ae(cb),Jie=Ae(fb),Zie=Ae(hb),Kie=Ae(db),ese=Ae(pb),tse=Ae(gb),rse=Ae(vb),nse=Ae(wb),ise=Ae(yb),sse=Ae(_b),ose=Ae(Gt),ase=Ae(kb),lse=Ae(Ab),use=Ae(Tb),cse=Ae(Ob);d();m();p();var $e=be(R9(),1),_e=$e.default,Sle=$e.default.stringify,_le=$e.default.fromJSON,Cle=$e.default.plugin,Ele=$e.default.parse,kle=$e.default.list,Ale=$e.default.document,Lle=$e.default.comment,Rle=$e.default.atRule,T9=$e.default.rule,Tle=$e.default.decl,N9=$e.default.root,Nle=$e.default.CssSyntaxError,Mle=$e.default.Declaration,Ole=$e.default.Container,Ple=$e.default.Processor,Ile=$e.default.Document,Dle=$e.default.Comment,Fle=$e.default.Warning,$le=$e.default.AtRule,Ule=$e.default.Result,Ble=$e.default.Input,qle=$e.default.Rule,zle=$e.default.Root,jle=$e.default.Node;d();m();p();var yd={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};var F3=be(Sd(),1),al=be(Tu(),1),$3=be(Tu(),1),Zm=be(Tu(),1),U3=be($9(),1),B3=be(Et(),1),q3=be(B9(),1);d();m();p();d();m();p();var{toString:eT}=Object.prototype;function Ed(t){return eT.call(t)==="[object RegExp]"}d();m();p();function kd(t){let e=typeof t;return t!==null&&(e==="object"||e==="function")}d();m();p();var{propertyIsEnumerable:tT}=Object.prototype;function Ad(t){return[...Object.keys(t),...Object.getOwnPropertySymbols(t).filter(e=>tT.call(t,e))]}function Ld(t,e,r){let n=[];return function i(s,o={},a=""){let l=o.indent||" ",u;o.inlineCharacterLimit===void 0?u={newline:`
72
+ `,newlineOrSpace:`
73
+ `,pad:a,indent:a+l}:u={newline:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",newlineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"};let c=f=>{if(o.inlineCharacterLimit===void 0)return f;let h=f.replace(new RegExp(u.newline,"g"),"").replace(new RegExp(u.newlineOrSpace,"g")," ").replace(new RegExp(u.pad+"|"+u.indent,"g"),"");return h.length<=o.inlineCharacterLimit?h:f.replace(new RegExp(u.newline+"|"+u.newlineOrSpace,"g"),`
74
+ `).replace(new RegExp(u.pad,"g"),a).replace(new RegExp(u.indent,"g"),a+l)};if(n.includes(s))return'"[Circular]"';if(s==null||typeof s=="number"||typeof s=="boolean"||typeof s=="function"||typeof s=="symbol"||Ed(s))return String(s);if(s instanceof Date)return`new Date('${s.toISOString()}')`;if(Array.isArray(s)){if(s.length===0)return"[]";n.push(s);let f="["+u.newline+s.map((h,g)=>{let y=s.length-1===g?u.newline:","+u.newlineOrSpace,S=i(h,o,a+l);return o.transform&&(S=o.transform(s,g,S)),u.indent+S+y}).join("")+u.pad+"]";return n.pop(),c(f)}if(kd(s)){let f=Ad(s);if(o.filter&&(f=f.filter(g=>o.filter(s,g))),f.length===0)return"{}";n.push(s);let h="{"+u.newline+f.map((g,y)=>{let S=f.length-1===y?u.newline:","+u.newlineOrSpace,x=typeof g=="symbol",_=!x&&/^[a-z$_][$\w]*$/i.test(g),k=x||_?g:i(g,o),T=i(s[g],o,a+l);return o.transform&&(T=o.transform(s,g,T)),u.indent+String(k)+": "+T+S}).join("")+u.pad+"}";return n.pop(),c(h)}return s=s.replace(/\\/g,"\\\\"),s=String(s).replace(/[\r\n]/g,f=>f===`
75
+ `?"\\n":"\\r"),o.singleQuotes===!1?(s=s.replace(/"/g,'\\"'),`"${s}"`):(s=s.replace(/'/g,"\\'"),`'${s}'`)}(t,e,r)}var z3=be(s7(),1),Z9e=be(a7(),1),j3=be(Et(),1),Rm=be(Et(),1);var V3=be(Et(),1),Tm=be(u7(),1),sf=be(Et(),1),W3=be(Et(),1),H3=be(Sd(),1),G3=be(Et(),1),Nm=be(er(),1),X3=be(Et(),1);d();m();p();d();m();p();d();m();p();d();m();p();var Ap=class{constructor(){this.listeners=[],this.unexpectedErrorHandler=function(e){setTimeout(()=>{throw e.stack?la.isErrorNoTelemetry(e)?new la(e.message+`
76
+
77
+ `+e.stack):new Error(e.message+`
78
+
79
+ `+e.stack):e},0)}}emit(e){this.listeners.forEach(r=>{r(e)})}onUnexpectedError(e){this.unexpectedErrorHandler(e),this.emit(e)}onUnexpectedExternalError(e){this.unexpectedErrorHandler(e)}},pP=new Ap;function tn(t){mP(t)||pP.onUnexpectedError(t)}function Rp(t){if(t instanceof Error){let{name:e,message:r}=t,n=t.stacktrace||t.stack;return{$isError:!0,name:e,message:r,stack:n,noTelemetry:la.isErrorNoTelemetry(t)}}return t}var Lp="Canceled";function mP(t){return t instanceof Hu?!0:t instanceof Error&&t.name===Lp&&t.message===Lp}var Hu=class extends Error{constructor(){super(Lp),this.name=this.message}};var la=class t extends Error{constructor(e){super(e),this.name="CodeExpectedError"}static fromError(e){if(e instanceof t)return e;let r=new t;return r.message=e.message,r.stack=e.stack,r}static isErrorNoTelemetry(e){return e.name==="CodeExpectedError"}},at=class t extends Error{constructor(e){super(e||"An unexpected bug occurred."),Object.setPrototypeOf(this,t.prototype)}};d();m();p();d();m();p();function Tp(t,e){let r=this,n=!1,i;return function(){if(n)return i;if(n=!0,e)try{i=t.apply(r,arguments)}finally{e()}else i=t.apply(r,arguments);return i}}d();m();p();d();m();p();var hs;(function(t){function e(N){return N&&typeof N=="object"&&typeof N[Symbol.iterator]=="function"}t.is=e;let r=Object.freeze([]);function n(){return r}t.empty=n;function*i(N){yield N}t.single=i;function s(N){return e(N)?N:i(N)}t.wrap=s;function o(N){return N||r}t.from=o;function*a(N){for(let L=N.length-1;L>=0;L--)yield N[L]}t.reverse=a;function l(N){return!N||N[Symbol.iterator]().next().done===!0}t.isEmpty=l;function u(N){return N[Symbol.iterator]().next().value}t.first=u;function c(N,L){let P=0;for(let D of N)if(L(D,P++))return!0;return!1}t.some=c;function f(N,L){for(let P of N)if(L(P))return P}t.find=f;function*h(N,L){for(let P of N)L(P)&&(yield P)}t.filter=h;function*g(N,L){let P=0;for(let D of N)yield L(D,P++)}t.map=g;function*y(N,L){let P=0;for(let D of N)yield*L(D,P++)}t.flatMap=y;function*S(...N){for(let L of N)yield*L}t.concat=S;function x(N,L,P){let D=P;for(let $ of N)D=L(D,$);return D}t.reduce=x;function*_(N,L,P=N.length){for(L<0&&(L+=N.length),P<0?P+=N.length:P>N.length&&(P=N.length);L<P;L++)yield N[L]}t.slice=_;function k(N,L=Number.POSITIVE_INFINITY){let P=[];if(L===0)return[P,N];let D=N[Symbol.iterator]();for(let $=0;$<L;$++){let Q=D.next();if(Q.done)return[P,t.empty()];P.push(Q.value)}return[P,{[Symbol.iterator](){return D}}]}t.consume=k;async function T(N){let L=[];for await(let P of N)L.push(P);return Promise.resolve(L)}t.asyncToArray=T})(hs||(hs={}));var bP=!1,ds=null;function vP(t){ds=t}if(bP){let t="__is_disposable_tracked__";vP(new class{trackDisposable(e){let r=new Error("Potentially leaked disposable").stack;setTimeout(()=>{e[t]||console.log(r)},3e3)}setParent(e,r){if(e&&e!==tr.None)try{e[t]=!0}catch{}}markAsDisposed(e){if(e&&e!==tr.None)try{e[t]=!0}catch{}}markAsSingleton(e){}})}function Mp(t){return ds?.trackDisposable(t),t}function Op(t){ds?.markAsDisposed(t)}function Np(t,e){ds?.setParent(t,e)}function wP(t,e){if(ds)for(let r of t)ds.setParent(r,e)}function Pp(t){if(hs.is(t)){let e=[];for(let r of t)if(r)try{r.dispose()}catch(n){e.push(n)}if(e.length===1)throw e[0];if(e.length>1)throw new AggregateError(e,"Encountered errors while disposing of store");return Array.isArray(t)?[]:t}else if(t)return t.dispose(),t}function gw(...t){let e=An(()=>Pp(t));return wP(t,e),e}function An(t){let e=Mp({dispose:Tp(()=>{Op(e),t()})});return e}var pi=class t{static{this.DISABLE_DISPOSED_WARNING=!1}constructor(){this._toDispose=new Set,this._isDisposed=!1,Mp(this)}dispose(){this._isDisposed||(Op(this),this._isDisposed=!0,this.clear())}get isDisposed(){return this._isDisposed}clear(){if(this._toDispose.size!==0)try{Pp(this._toDispose)}finally{this._toDispose.clear()}}add(e){if(!e)return e;if(e===this)throw new Error("Cannot register a disposable on itself!");return Np(e,this),this._isDisposed?t.DISABLE_DISPOSED_WARNING||console.warn(new Error("Trying to add a disposable to a DisposableStore that has already been disposed of. The added object will be leaked!").stack):this._toDispose.add(e),e}deleteAndLeak(e){e&&this._toDispose.has(e)&&(this._toDispose.delete(e),Np(e,null))}},tr=class{static{this.None=Object.freeze({dispose(){}})}constructor(){this._store=new pi,Mp(this),Np(this._store,this)}dispose(){Op(this),this._store.dispose()}_register(e){if(e===this)throw new Error("Cannot register a disposable on itself!");return this._store.add(e)}};d();m();p();var ze=class t{static{this.Undefined=new t(void 0)}constructor(e){this.element=e,this.next=t.Undefined,this.prev=t.Undefined}},ua=class{constructor(){this._first=ze.Undefined,this._last=ze.Undefined,this._size=0}get size(){return this._size}isEmpty(){return this._first===ze.Undefined}clear(){let e=this._first;for(;e!==ze.Undefined;){let r=e.next;e.prev=ze.Undefined,e.next=ze.Undefined,e=r}this._first=ze.Undefined,this._last=ze.Undefined,this._size=0}unshift(e){return this._insert(e,!1)}push(e){return this._insert(e,!0)}_insert(e,r){let n=new ze(e);if(this._first===ze.Undefined)this._first=n,this._last=n;else if(r){let s=this._last;this._last=n,n.prev=s,s.next=n}else{let s=this._first;this._first=n,n.next=s,s.prev=n}this._size+=1;let i=!1;return()=>{i||(i=!0,this._remove(n))}}shift(){if(this._first!==ze.Undefined){let e=this._first.element;return this._remove(this._first),e}}pop(){if(this._last!==ze.Undefined){let e=this._last.element;return this._remove(this._last),e}}_remove(e){if(e.prev!==ze.Undefined&&e.next!==ze.Undefined){let r=e.prev;r.next=e.next,e.next.prev=r}else e.prev===ze.Undefined&&e.next===ze.Undefined?(this._first=ze.Undefined,this._last=ze.Undefined):e.next===ze.Undefined?(this._last=this._last.prev,this._last.next=ze.Undefined):e.prev===ze.Undefined&&(this._first=this._first.next,this._first.prev=ze.Undefined);this._size-=1}*[Symbol.iterator](){let e=this._first;for(;e!==ze.Undefined;)yield e.element,e=e.next}};d();m();p();var yP=globalThis.performance&&typeof globalThis.performance.now=="function",ps=class t{static create(e){return new t(e)}constructor(e){this._now=yP&&e===!1?Date.now:globalThis.performance.now.bind(globalThis.performance),this._startTime=this._now(),this._stopTime=-1}stop(){this._stopTime=this._now()}reset(){this._startTime=this._now(),this._stopTime=-1}elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:this._now()-this._startTime}};var xP=!1,bw=!1,SP=!1,gs;(function(t){t.None=()=>tr.None;function e(j){if(SP){let{onDidAddListener:U}=j,W=ca.create(),H=0;j.onDidAddListener=()=>{++H===2&&(console.warn("snapshotted emitter LIKELY used public and SHOULD HAVE BEEN created with DisposableStore. snapshotted here"),W.print()),U?.()}}}function r(j,U){return g(j,()=>{},0,void 0,!0,void 0,U)}t.defer=r;function n(j){return(U,W=null,H)=>{let Y=!1,te;return te=j(ne=>{if(!Y)return te?te.dispose():Y=!0,U.call(W,ne)},null,H),Y&&te.dispose(),te}}t.once=n;function i(j,U){return t.once(t.filter(j,U))}t.onceIf=i;function s(j,U,W){return f((H,Y=null,te)=>j(ne=>H.call(Y,U(ne)),null,te),W)}t.map=s;function o(j,U,W){return f((H,Y=null,te)=>j(ne=>{U(ne),H.call(Y,ne)},null,te),W)}t.forEach=o;function a(j,U,W){return f((H,Y=null,te)=>j(ne=>U(ne)&&H.call(Y,ne),null,te),W)}t.filter=a;function l(j){return j}t.signal=l;function u(...j){return(U,W=null,H)=>{let Y=gw(...j.map(te=>te(ne=>U.call(W,ne))));return h(Y,H)}}t.any=u;function c(j,U,W,H){let Y=W;return s(j,te=>(Y=U(Y,te),Y),H)}t.reduce=c;function f(j,U){let W,H={onWillAddFirstListener(){W=j(Y.fire,Y)},onDidRemoveLastListener(){W?.dispose()}};U||e(H);let Y=new lt(H);return U?.add(Y),Y.event}function h(j,U){return U instanceof Array?U.push(j):U&&U.add(j),j}function g(j,U,W=100,H=!1,Y=!1,te,ne){let he,ke,st,ht=0,Ye,Ct={leakWarningThreshold:te,onWillAddFirstListener(){he=j(or=>{ht++,ke=U(ke,or),H&&!st&&(Je.fire(ke),ke=void 0),Ye=()=>{let jr=ke;ke=void 0,st=void 0,(!H||ht>1)&&Je.fire(jr),ht=0},typeof W=="number"?(clearTimeout(st),st=setTimeout(Ye,W)):st===void 0&&(st=0,queueMicrotask(Ye))})},onWillRemoveListener(){Y&&ht>0&&Ye?.()},onDidRemoveLastListener(){Ye=void 0,he.dispose()}};ne||e(Ct);let Je=new lt(Ct);return ne?.add(Je),Je.event}t.debounce=g;function y(j,U=0,W){return t.debounce(j,(H,Y)=>H?(H.push(Y),H):[Y],U,void 0,!0,void 0,W)}t.accumulate=y;function S(j,U=(H,Y)=>H===Y,W){let H=!0,Y;return a(j,te=>{let ne=H||!U(te,Y);return H=!1,Y=te,ne},W)}t.latch=S;function x(j,U,W){return[t.filter(j,U,W),t.filter(j,H=>!U(H),W)]}t.split=x;function _(j,U=!1,W=[],H){let Y=W.slice(),te=j(ke=>{Y?Y.push(ke):he.fire(ke)});H&&H.add(te);let ne=()=>{Y?.forEach(ke=>he.fire(ke)),Y=null},he=new lt({onWillAddFirstListener(){te||(te=j(ke=>he.fire(ke)),H&&H.add(te))},onDidAddFirstListener(){Y&&(U?setTimeout(ne):ne())},onDidRemoveLastListener(){te&&te.dispose(),te=null}});return H&&H.add(he),he.event}t.buffer=_;function k(j,U){return(H,Y,te)=>{let ne=U(new N);return j(function(he){let ke=ne.evaluate(he);ke!==T&&H.call(Y,ke)},void 0,te)}}t.chain=k;let T=Symbol("HaltChainable");class N{constructor(){this.steps=[]}map(U){return this.steps.push(U),this}forEach(U){return this.steps.push(W=>(U(W),W)),this}filter(U){return this.steps.push(W=>U(W)?W:T),this}reduce(U,W){let H=W;return this.steps.push(Y=>(H=U(H,Y),H)),this}latch(U=(W,H)=>W===H){let W=!0,H;return this.steps.push(Y=>{let te=W||!U(Y,H);return W=!1,H=Y,te?Y:T}),this}evaluate(U){for(let W of this.steps)if(U=W(U),U===T)break;return U}}function L(j,U,W=H=>H){let H=(...he)=>ne.fire(W(...he)),Y=()=>j.on(U,H),te=()=>j.removeListener(U,H),ne=new lt({onWillAddFirstListener:Y,onDidRemoveLastListener:te});return ne.event}t.fromNodeEventEmitter=L;function P(j,U,W=H=>H){let H=(...he)=>ne.fire(W(...he)),Y=()=>j.addEventListener(U,H),te=()=>j.removeEventListener(U,H),ne=new lt({onWillAddFirstListener:Y,onDidRemoveLastListener:te});return ne.event}t.fromDOMEventEmitter=P;function D(j){return new Promise(U=>n(j)(U))}t.toPromise=D;function $(j){let U=new lt;return j.then(W=>{U.fire(W)},()=>{U.fire(void 0)}).finally(()=>{U.dispose()}),U.event}t.fromPromise=$;function Q(j,U){return j(W=>U.fire(W))}t.forward=Q;function O(j,U,W){return U(W),j(H=>U(H))}t.runAndSubscribe=O;class I{constructor(U,W){this._observable=U,this._counter=0,this._hasChanged=!1;let H={onWillAddFirstListener:()=>{U.addObserver(this),this._observable.reportChanges()},onDidRemoveLastListener:()=>{U.removeObserver(this)}};W||e(H),this.emitter=new lt(H),W&&W.add(this.emitter)}beginUpdate(U){this._counter++}handlePossibleChange(U){}handleChange(U,W){this._hasChanged=!0}endUpdate(U){this._counter--,this._counter===0&&(this._observable.reportChanges(),this._hasChanged&&(this._hasChanged=!1,this.emitter.fire(this._observable.get())))}}function z(j,U){return new I(j,U).emitter.event}t.fromObservable=z;function G(j){return(U,W,H)=>{let Y=0,te=!1,ne={beginUpdate(){Y++},endUpdate(){Y--,Y===0&&(j.reportChanges(),te&&(te=!1,U.call(W)))},handlePossibleChange(){},handleChange(){te=!0}};j.addObserver(ne),j.reportChanges();let he={dispose(){j.removeObserver(ne)}};return H instanceof pi?H.add(he):Array.isArray(H)&&H.push(he),he}}t.fromObservableLight=G})(gs||(gs={}));var Ip=class t{static{this.all=new Set}static{this._idPool=0}constructor(e){this.listenerCount=0,this.invocationCount=0,this.elapsedOverall=0,this.durations=[],this.name=`${e}_${t._idPool++}`,t.all.add(this)}start(e){this._stopWatch=new ps,this.listenerCount=e}stop(){if(this._stopWatch){let e=this._stopWatch.elapsed();this.durations.push(e),this.elapsedOverall+=e,this.invocationCount+=1,this._stopWatch=void 0}}},vw=-1,Dp=class t{static{this._idPool=1}constructor(e,r,n=(t._idPool++).toString(16).padStart(3,"0")){this._errorHandler=e,this.threshold=r,this.name=n,this._warnCountdown=0}dispose(){this._stacks?.clear()}check(e,r){let n=this.threshold;if(n<=0||r<n)return;this._stacks||(this._stacks=new Map);let i=this._stacks.get(e.value)||0;if(this._stacks.set(e.value,i+1),this._warnCountdown-=1,this._warnCountdown<=0){this._warnCountdown=n*.5;let[s,o]=this.getMostFrequentStack(),a=`[${this.name}] potential listener LEAK detected, having ${r} listeners already. MOST frequent listener (${o}):`;console.warn(a),console.warn(s);let l=new Fp(a,s);this._errorHandler(l)}return()=>{let s=this._stacks.get(e.value)||0;this._stacks.set(e.value,s-1)}}getMostFrequentStack(){if(!this._stacks)return;let e,r=0;for(let[n,i]of this._stacks)(!e||r<i)&&(e=[n,i],r=i);return e}},ca=class t{static create(){let e=new Error;return new t(e.stack??"")}constructor(e){this.value=e}print(){console.warn(this.value.split(`
80
+ `).slice(2).join(`
81
+ `))}},Fp=class extends Error{constructor(e,r){super(e),this.name="ListenerLeakError",this.stack=r}},$p=class extends Error{constructor(e,r){super(e),this.name="ListenerRefusalError",this.stack=r}},ms=class{constructor(e){this.value=e}},_P=2,CP=(t,e)=>{if(t instanceof ms)e(t);else for(let r=0;r<t.length;r++){let n=t[r];n&&e(n)}},Gu;if(xP){let t=[];setInterval(()=>{t.length!==0&&(console.warn("[LEAKING LISTENERS] GC'ed these listeners that were NOT yet disposed:"),console.warn(t.join(`
82
+ `)),t.length=0)},3e3),Gu=new FinalizationRegistry(e=>{typeof e=="string"&&t.push(e)})}var lt=class{constructor(e){this._size=0,this._options=e,this._leakageMon=vw>0||this._options?.leakWarningThreshold?new Dp(e?.onListenerError??tn,this._options?.leakWarningThreshold??vw):void 0,this._perfMon=this._options?._profName?new Ip(this._options._profName):void 0,this._deliveryQueue=this._options?.deliveryQueue}dispose(){if(!this._disposed){if(this._disposed=!0,this._deliveryQueue?.current===this&&this._deliveryQueue.reset(),this._listeners){if(bw){let e=this._listeners;queueMicrotask(()=>{CP(e,r=>r.stack?.print())})}this._listeners=void 0,this._size=0}this._options?.onDidRemoveLastListener?.(),this._leakageMon?.dispose()}}get event(){return this._event??=(e,r,n)=>{if(this._leakageMon&&this._size>this._leakageMon.threshold**2){let l=`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;console.warn(l);let u=this._leakageMon.getMostFrequentStack()??["UNKNOWN stack",-1],c=new $p(`${l}. HINT: Stack shows most frequent listener (${u[1]}-times)`,u[0]);return(this._options?.onListenerError||tn)(c),tr.None}if(this._disposed)return tr.None;r&&(e=e.bind(r));let i=new ms(e),s,o;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(i.stack=ca.create(),s=this._leakageMon.check(i.stack,this._size+1)),bw&&(i.stack=o??ca.create()),this._listeners?this._listeners instanceof ms?(this._deliveryQueue??=new Up,this._listeners=[this._listeners,i]):this._listeners.push(i):(this._options?.onWillAddFirstListener?.(this),this._listeners=i,this._options?.onDidAddFirstListener?.(this)),this._size++;let a=An(()=>{Gu?.unregister(a),s?.(),this._removeListener(i)});if(n instanceof pi?n.add(a):Array.isArray(n)&&n.push(a),Gu){let l=new Error().stack.split(`
83
+ `).slice(2,3).join(`
84
+ `).trim(),u=/(file:|vscode-file:\/\/vscode-app)?(\/[^:]*:\d+:\d+)/.exec(l);Gu.register(a,u?.[2]??l,a)}return a},this._event}_removeListener(e){if(this._options?.onWillRemoveListener?.(this),!this._listeners)return;if(this._size===1){this._listeners=void 0,this._options?.onDidRemoveLastListener?.(this),this._size=0;return}let r=this._listeners,n=r.indexOf(e);if(n===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,r[n]=void 0;let i=this._deliveryQueue.current===this;if(this._size*_P<=r.length){let s=0;for(let o=0;o<r.length;o++)r[o]?r[s++]=r[o]:i&&(this._deliveryQueue.end--,s<this._deliveryQueue.i&&this._deliveryQueue.i--);r.length=s}}_deliver(e,r){if(!e)return;let n=this._options?.onListenerError||tn;if(!n){e.value(r);return}try{e.value(r)}catch(i){n(i)}}_deliverQueue(e){let r=e.current._listeners;for(;e.i<e.end;)this._deliver(r[e.i++],e.value);e.reset()}fire(e){if(this._deliveryQueue?.current&&(this._deliverQueue(this._deliveryQueue),this._perfMon?.stop()),this._perfMon?.start(this._size),this._listeners)if(this._listeners instanceof ms)this._deliver(this._listeners,e);else{let r=this._deliveryQueue;r.enqueue(this,e,this._listeners.length),this._deliverQueue(r)}this._perfMon?.stop()}hasListeners(){return this._size>0}};var Up=class{constructor(){this.i=-1,this.end=0}enqueue(e,r,n){this.i=0,this.end=n,this.current=e,this.value=r}reset(){this.i=this.end,this.current=void 0,this.value=void 0}};d();m();p();d();m();p();d();m();p();d();m();p();function Bp(){return globalThis._VSCODE_NLS_MESSAGES}function fa(){return globalThis._VSCODE_NLS_LANGUAGE}var EP=fa()==="pseudo"||typeof document<"u"&&document.location&&document.location.hash.indexOf("pseudo=true")>=0;function ww(t,e){let r;return e.length===0?r=t:r=t.replace(/\{(\d+)\}/g,(n,i)=>{let s=i[0],o=e[s],a=n;return typeof o=="string"?a=o:(typeof o=="number"||typeof o=="boolean"||o===void 0||o===null)&&(a=String(o)),a}),EP&&(r="\uFF3B"+r.replace(/[aouei]/g,"$&$&")+"\uFF3D"),r}function De(t,e,...r){return ww(typeof t=="number"?kP(t,e):e,r)}function kP(t,e){let r=Bp()?.[t];if(typeof r!="string"){if(typeof e=="string")return e;throw new Error(`!!! NLS MISSING: ${t} !!!`)}return r}var bs="en",Yu=!1,Ju=!1,Qu=!1,LP=!1,xw=!1,jp=!1,RP=!1,TP=!1,NP=!1,MP=!1,Xu,qp=bs,yw=bs,OP,rn,nn=globalThis,Bt;typeof nn.vscode<"u"&&typeof nn.vscode.process<"u"?Bt=nn.vscode.process:typeof C<"u"&&typeof C?.versions?.node=="string"&&(Bt=C);var Sw=typeof Bt?.versions?.electron=="string",PP=Sw&&Bt?.type==="renderer";if(typeof Bt=="object"){Yu=Bt.platform==="win32",Ju=Bt.platform==="darwin",Qu=Bt.platform==="linux",LP=Qu&&!!Bt.env.SNAP&&!!Bt.env.SNAP_REVISION,RP=Sw,NP=!!Bt.env.CI||!!Bt.env.BUILD_ARTIFACTSTAGINGDIRECTORY,Xu=bs,qp=bs;let t=Bt.env.VSCODE_NLS_CONFIG;if(t)try{let e=JSON.parse(t);Xu=e.userLocale,yw=e.osLocale,qp=e.resolvedLanguage||bs,OP=e.languagePack?.translationsConfigFile}catch{}xw=!0}else typeof navigator=="object"&&!PP?(rn=navigator.userAgent,Yu=rn.indexOf("Windows")>=0,Ju=rn.indexOf("Macintosh")>=0,TP=(rn.indexOf("Macintosh")>=0||rn.indexOf("iPad")>=0||rn.indexOf("iPhone")>=0)&&!!navigator.maxTouchPoints&&navigator.maxTouchPoints>0,Qu=rn.indexOf("Linux")>=0,MP=rn?.indexOf("Mobi")>=0,jp=!0,qp=fa()||bs,Xu=navigator.language.toLowerCase(),yw=Xu):console.error("Unable to resolve platform.");var zp=0;Ju?zp=1:Yu?zp=3:Qu&&(zp=2);var mi=Yu,_w=Ju;var Cw=xw,Vp=jp,IP=jp&&typeof nn.importScripts=="function",Ew=IP?nn.origin:void 0;var Mr=rn;var DP=typeof nn.postMessage=="function"&&!nn.importScripts,kw=(()=>{if(DP){let t=[];nn.addEventListener("message",r=>{if(r.data&&r.data.vscodeScheduleAsyncWork)for(let n=0,i=t.length;n<i;n++){let s=t[n];if(s.id===r.data.vscodeScheduleAsyncWork){t.splice(n,1),s.callback();return}}});let e=0;return r=>{let n=++e;t.push({id:n,callback:r}),nn.postMessage({vscodeScheduleAsyncWork:n},"*")}}return t=>setTimeout(t)})();var FP=!!(Mr&&Mr.indexOf("Chrome")>=0),h1e=!!(Mr&&Mr.indexOf("Firefox")>=0),d1e=!!(!FP&&Mr&&Mr.indexOf("Safari")>=0),p1e=!!(Mr&&Mr.indexOf("Edg/")>=0),m1e=!!(Mr&&Mr.indexOf("Android")>=0);d();m();p();d();m();p();function UP(t){return t}var Zu=class{constructor(e,r){this.lastCache=void 0,this.lastArgKey=void 0,typeof e=="function"?(this._fn=e,this._computeKey=UP):(this._fn=r,this._computeKey=e.getCacheKey)}get(e){let r=this._computeKey(e);return this.lastArgKey!==r&&(this.lastArgKey=r,this.lastCache=this._fn(e)),this.lastCache}};d();m();p();var ha=class{constructor(e){this.executor=e,this._didRun=!1}get value(){if(!this._didRun)try{this._value=this.executor()}catch(e){this._error=e}finally{this._didRun=!0}if(this._error)throw this._error;return this._value}get rawValue(){return this._value}};function Lw(t){return t.replace(/[\\\{\}\*\+\?\|\^\$\.\[\]\(\)]/g,"\\$&")}function Rw(t){return t.split(/\r\n|\r|\n/)}function Tw(t){for(let e=0,r=t.length;e<r;e++){let n=t.charCodeAt(e);if(n!==32&&n!==9)return e}return-1}function Nw(t,e=t.length-1){for(let r=e;r>=0;r--){let n=t.charCodeAt(r);if(n!==32&&n!==9)return r}return-1}function Wp(t){return t>=65&&t<=90}function ys(t){return 55296<=t&&t<=56319}function Ku(t){return 56320<=t&&t<=57343}function Hp(t,e){return(t-55296<<10)+(e-56320)+65536}function Mw(t,e,r){let n=t.charCodeAt(r);if(ys(n)&&r+1<e){let i=t.charCodeAt(r+1);if(Ku(i))return Hp(n,i)}return n}var BP=/^[\t\n\r\x20-\x7E]*$/;function Ow(t){return BP.test(t)}var Aw=class t{static{this._INSTANCE=null}static getInstance(){return t._INSTANCE||(t._INSTANCE=new t),t._INSTANCE}constructor(){this._data=qP()}getGraphemeBreakType(e){if(e<32)return e===10?3:e===13?2:4;if(e<127)return 0;let r=this._data,n=r.length/3,i=1;for(;i<=n;)if(e<r[3*i])i=2*i;else if(e>r[3*i+1])i=2*i+1;else return r[3*i+2];return 0}};function qP(){return JSON.parse("[0,0,0,51229,51255,12,44061,44087,12,127462,127487,6,7083,7085,5,47645,47671,12,54813,54839,12,128678,128678,14,3270,3270,5,9919,9923,14,45853,45879,12,49437,49463,12,53021,53047,12,71216,71218,7,128398,128399,14,129360,129374,14,2519,2519,5,4448,4519,9,9742,9742,14,12336,12336,14,44957,44983,12,46749,46775,12,48541,48567,12,50333,50359,12,52125,52151,12,53917,53943,12,69888,69890,5,73018,73018,5,127990,127990,14,128558,128559,14,128759,128760,14,129653,129655,14,2027,2035,5,2891,2892,7,3761,3761,5,6683,6683,5,8293,8293,4,9825,9826,14,9999,9999,14,43452,43453,5,44509,44535,12,45405,45431,12,46301,46327,12,47197,47223,12,48093,48119,12,48989,49015,12,49885,49911,12,50781,50807,12,51677,51703,12,52573,52599,12,53469,53495,12,54365,54391,12,65279,65279,4,70471,70472,7,72145,72147,7,119173,119179,5,127799,127818,14,128240,128244,14,128512,128512,14,128652,128652,14,128721,128722,14,129292,129292,14,129445,129450,14,129734,129743,14,1476,1477,5,2366,2368,7,2750,2752,7,3076,3076,5,3415,3415,5,4141,4144,5,6109,6109,5,6964,6964,5,7394,7400,5,9197,9198,14,9770,9770,14,9877,9877,14,9968,9969,14,10084,10084,14,43052,43052,5,43713,43713,5,44285,44311,12,44733,44759,12,45181,45207,12,45629,45655,12,46077,46103,12,46525,46551,12,46973,46999,12,47421,47447,12,47869,47895,12,48317,48343,12,48765,48791,12,49213,49239,12,49661,49687,12,50109,50135,12,50557,50583,12,51005,51031,12,51453,51479,12,51901,51927,12,52349,52375,12,52797,52823,12,53245,53271,12,53693,53719,12,54141,54167,12,54589,54615,12,55037,55063,12,69506,69509,5,70191,70193,5,70841,70841,7,71463,71467,5,72330,72342,5,94031,94031,5,123628,123631,5,127763,127765,14,127941,127941,14,128043,128062,14,128302,128317,14,128465,128467,14,128539,128539,14,128640,128640,14,128662,128662,14,128703,128703,14,128745,128745,14,129004,129007,14,129329,129330,14,129402,129402,14,129483,129483,14,129686,129704,14,130048,131069,14,173,173,4,1757,1757,1,2200,2207,5,2434,2435,7,2631,2632,5,2817,2817,5,3008,3008,5,3201,3201,5,3387,3388,5,3542,3542,5,3902,3903,7,4190,4192,5,6002,6003,5,6439,6440,5,6765,6770,7,7019,7027,5,7154,7155,7,8205,8205,13,8505,8505,14,9654,9654,14,9757,9757,14,9792,9792,14,9852,9853,14,9890,9894,14,9937,9937,14,9981,9981,14,10035,10036,14,11035,11036,14,42654,42655,5,43346,43347,7,43587,43587,5,44006,44007,7,44173,44199,12,44397,44423,12,44621,44647,12,44845,44871,12,45069,45095,12,45293,45319,12,45517,45543,12,45741,45767,12,45965,45991,12,46189,46215,12,46413,46439,12,46637,46663,12,46861,46887,12,47085,47111,12,47309,47335,12,47533,47559,12,47757,47783,12,47981,48007,12,48205,48231,12,48429,48455,12,48653,48679,12,48877,48903,12,49101,49127,12,49325,49351,12,49549,49575,12,49773,49799,12,49997,50023,12,50221,50247,12,50445,50471,12,50669,50695,12,50893,50919,12,51117,51143,12,51341,51367,12,51565,51591,12,51789,51815,12,52013,52039,12,52237,52263,12,52461,52487,12,52685,52711,12,52909,52935,12,53133,53159,12,53357,53383,12,53581,53607,12,53805,53831,12,54029,54055,12,54253,54279,12,54477,54503,12,54701,54727,12,54925,54951,12,55149,55175,12,68101,68102,5,69762,69762,7,70067,70069,7,70371,70378,5,70720,70721,7,71087,71087,5,71341,71341,5,71995,71996,5,72249,72249,7,72850,72871,5,73109,73109,5,118576,118598,5,121505,121519,5,127245,127247,14,127568,127569,14,127777,127777,14,127872,127891,14,127956,127967,14,128015,128016,14,128110,128172,14,128259,128259,14,128367,128368,14,128424,128424,14,128488,128488,14,128530,128532,14,128550,128551,14,128566,128566,14,128647,128647,14,128656,128656,14,128667,128673,14,128691,128693,14,128715,128715,14,128728,128732,14,128752,128752,14,128765,128767,14,129096,129103,14,129311,129311,14,129344,129349,14,129394,129394,14,129413,129425,14,129466,129471,14,129511,129535,14,129664,129666,14,129719,129722,14,129760,129767,14,917536,917631,5,13,13,2,1160,1161,5,1564,1564,4,1807,1807,1,2085,2087,5,2307,2307,7,2382,2383,7,2497,2500,5,2563,2563,7,2677,2677,5,2763,2764,7,2879,2879,5,2914,2915,5,3021,3021,5,3142,3144,5,3263,3263,5,3285,3286,5,3398,3400,7,3530,3530,5,3633,3633,5,3864,3865,5,3974,3975,5,4155,4156,7,4229,4230,5,5909,5909,7,6078,6085,7,6277,6278,5,6451,6456,7,6744,6750,5,6846,6846,5,6972,6972,5,7074,7077,5,7146,7148,7,7222,7223,5,7416,7417,5,8234,8238,4,8417,8417,5,9000,9000,14,9203,9203,14,9730,9731,14,9748,9749,14,9762,9763,14,9776,9783,14,9800,9811,14,9831,9831,14,9872,9873,14,9882,9882,14,9900,9903,14,9929,9933,14,9941,9960,14,9974,9974,14,9989,9989,14,10006,10006,14,10062,10062,14,10160,10160,14,11647,11647,5,12953,12953,14,43019,43019,5,43232,43249,5,43443,43443,5,43567,43568,7,43696,43696,5,43765,43765,7,44013,44013,5,44117,44143,12,44229,44255,12,44341,44367,12,44453,44479,12,44565,44591,12,44677,44703,12,44789,44815,12,44901,44927,12,45013,45039,12,45125,45151,12,45237,45263,12,45349,45375,12,45461,45487,12,45573,45599,12,45685,45711,12,45797,45823,12,45909,45935,12,46021,46047,12,46133,46159,12,46245,46271,12,46357,46383,12,46469,46495,12,46581,46607,12,46693,46719,12,46805,46831,12,46917,46943,12,47029,47055,12,47141,47167,12,47253,47279,12,47365,47391,12,47477,47503,12,47589,47615,12,47701,47727,12,47813,47839,12,47925,47951,12,48037,48063,12,48149,48175,12,48261,48287,12,48373,48399,12,48485,48511,12,48597,48623,12,48709,48735,12,48821,48847,12,48933,48959,12,49045,49071,12,49157,49183,12,49269,49295,12,49381,49407,12,49493,49519,12,49605,49631,12,49717,49743,12,49829,49855,12,49941,49967,12,50053,50079,12,50165,50191,12,50277,50303,12,50389,50415,12,50501,50527,12,50613,50639,12,50725,50751,12,50837,50863,12,50949,50975,12,51061,51087,12,51173,51199,12,51285,51311,12,51397,51423,12,51509,51535,12,51621,51647,12,51733,51759,12,51845,51871,12,51957,51983,12,52069,52095,12,52181,52207,12,52293,52319,12,52405,52431,12,52517,52543,12,52629,52655,12,52741,52767,12,52853,52879,12,52965,52991,12,53077,53103,12,53189,53215,12,53301,53327,12,53413,53439,12,53525,53551,12,53637,53663,12,53749,53775,12,53861,53887,12,53973,53999,12,54085,54111,12,54197,54223,12,54309,54335,12,54421,54447,12,54533,54559,12,54645,54671,12,54757,54783,12,54869,54895,12,54981,55007,12,55093,55119,12,55243,55291,10,66045,66045,5,68325,68326,5,69688,69702,5,69817,69818,5,69957,69958,7,70089,70092,5,70198,70199,5,70462,70462,5,70502,70508,5,70750,70750,5,70846,70846,7,71100,71101,5,71230,71230,7,71351,71351,5,71737,71738,5,72000,72000,7,72160,72160,5,72273,72278,5,72752,72758,5,72882,72883,5,73031,73031,5,73461,73462,7,94192,94193,7,119149,119149,7,121403,121452,5,122915,122916,5,126980,126980,14,127358,127359,14,127535,127535,14,127759,127759,14,127771,127771,14,127792,127793,14,127825,127867,14,127897,127899,14,127945,127945,14,127985,127986,14,128000,128007,14,128021,128021,14,128066,128100,14,128184,128235,14,128249,128252,14,128266,128276,14,128335,128335,14,128379,128390,14,128407,128419,14,128444,128444,14,128481,128481,14,128499,128499,14,128526,128526,14,128536,128536,14,128543,128543,14,128556,128556,14,128564,128564,14,128577,128580,14,128643,128645,14,128649,128649,14,128654,128654,14,128660,128660,14,128664,128664,14,128675,128675,14,128686,128689,14,128695,128696,14,128705,128709,14,128717,128719,14,128725,128725,14,128736,128741,14,128747,128748,14,128755,128755,14,128762,128762,14,128981,128991,14,129009,129023,14,129160,129167,14,129296,129304,14,129320,129327,14,129340,129342,14,129356,129356,14,129388,129392,14,129399,129400,14,129404,129407,14,129432,129442,14,129454,129455,14,129473,129474,14,129485,129487,14,129648,129651,14,129659,129660,14,129671,129679,14,129709,129711,14,129728,129730,14,129751,129753,14,129776,129782,14,917505,917505,4,917760,917999,5,10,10,3,127,159,4,768,879,5,1471,1471,5,1536,1541,1,1648,1648,5,1767,1768,5,1840,1866,5,2070,2073,5,2137,2139,5,2274,2274,1,2363,2363,7,2377,2380,7,2402,2403,5,2494,2494,5,2507,2508,7,2558,2558,5,2622,2624,7,2641,2641,5,2691,2691,7,2759,2760,5,2786,2787,5,2876,2876,5,2881,2884,5,2901,2902,5,3006,3006,5,3014,3016,7,3072,3072,5,3134,3136,5,3157,3158,5,3260,3260,5,3266,3266,5,3274,3275,7,3328,3329,5,3391,3392,7,3405,3405,5,3457,3457,5,3536,3537,7,3551,3551,5,3636,3642,5,3764,3772,5,3895,3895,5,3967,3967,7,3993,4028,5,4146,4151,5,4182,4183,7,4226,4226,5,4253,4253,5,4957,4959,5,5940,5940,7,6070,6070,7,6087,6088,7,6158,6158,4,6432,6434,5,6448,6449,7,6679,6680,5,6742,6742,5,6754,6754,5,6783,6783,5,6912,6915,5,6966,6970,5,6978,6978,5,7042,7042,7,7080,7081,5,7143,7143,7,7150,7150,7,7212,7219,5,7380,7392,5,7412,7412,5,8203,8203,4,8232,8232,4,8265,8265,14,8400,8412,5,8421,8432,5,8617,8618,14,9167,9167,14,9200,9200,14,9410,9410,14,9723,9726,14,9733,9733,14,9745,9745,14,9752,9752,14,9760,9760,14,9766,9766,14,9774,9774,14,9786,9786,14,9794,9794,14,9823,9823,14,9828,9828,14,9833,9850,14,9855,9855,14,9875,9875,14,9880,9880,14,9885,9887,14,9896,9897,14,9906,9916,14,9926,9927,14,9935,9935,14,9939,9939,14,9962,9962,14,9972,9972,14,9978,9978,14,9986,9986,14,9997,9997,14,10002,10002,14,10017,10017,14,10055,10055,14,10071,10071,14,10133,10135,14,10548,10549,14,11093,11093,14,12330,12333,5,12441,12442,5,42608,42610,5,43010,43010,5,43045,43046,5,43188,43203,7,43302,43309,5,43392,43394,5,43446,43449,5,43493,43493,5,43571,43572,7,43597,43597,7,43703,43704,5,43756,43757,5,44003,44004,7,44009,44010,7,44033,44059,12,44089,44115,12,44145,44171,12,44201,44227,12,44257,44283,12,44313,44339,12,44369,44395,12,44425,44451,12,44481,44507,12,44537,44563,12,44593,44619,12,44649,44675,12,44705,44731,12,44761,44787,12,44817,44843,12,44873,44899,12,44929,44955,12,44985,45011,12,45041,45067,12,45097,45123,12,45153,45179,12,45209,45235,12,45265,45291,12,45321,45347,12,45377,45403,12,45433,45459,12,45489,45515,12,45545,45571,12,45601,45627,12,45657,45683,12,45713,45739,12,45769,45795,12,45825,45851,12,45881,45907,12,45937,45963,12,45993,46019,12,46049,46075,12,46105,46131,12,46161,46187,12,46217,46243,12,46273,46299,12,46329,46355,12,46385,46411,12,46441,46467,12,46497,46523,12,46553,46579,12,46609,46635,12,46665,46691,12,46721,46747,12,46777,46803,12,46833,46859,12,46889,46915,12,46945,46971,12,47001,47027,12,47057,47083,12,47113,47139,12,47169,47195,12,47225,47251,12,47281,47307,12,47337,47363,12,47393,47419,12,47449,47475,12,47505,47531,12,47561,47587,12,47617,47643,12,47673,47699,12,47729,47755,12,47785,47811,12,47841,47867,12,47897,47923,12,47953,47979,12,48009,48035,12,48065,48091,12,48121,48147,12,48177,48203,12,48233,48259,12,48289,48315,12,48345,48371,12,48401,48427,12,48457,48483,12,48513,48539,12,48569,48595,12,48625,48651,12,48681,48707,12,48737,48763,12,48793,48819,12,48849,48875,12,48905,48931,12,48961,48987,12,49017,49043,12,49073,49099,12,49129,49155,12,49185,49211,12,49241,49267,12,49297,49323,12,49353,49379,12,49409,49435,12,49465,49491,12,49521,49547,12,49577,49603,12,49633,49659,12,49689,49715,12,49745,49771,12,49801,49827,12,49857,49883,12,49913,49939,12,49969,49995,12,50025,50051,12,50081,50107,12,50137,50163,12,50193,50219,12,50249,50275,12,50305,50331,12,50361,50387,12,50417,50443,12,50473,50499,12,50529,50555,12,50585,50611,12,50641,50667,12,50697,50723,12,50753,50779,12,50809,50835,12,50865,50891,12,50921,50947,12,50977,51003,12,51033,51059,12,51089,51115,12,51145,51171,12,51201,51227,12,51257,51283,12,51313,51339,12,51369,51395,12,51425,51451,12,51481,51507,12,51537,51563,12,51593,51619,12,51649,51675,12,51705,51731,12,51761,51787,12,51817,51843,12,51873,51899,12,51929,51955,12,51985,52011,12,52041,52067,12,52097,52123,12,52153,52179,12,52209,52235,12,52265,52291,12,52321,52347,12,52377,52403,12,52433,52459,12,52489,52515,12,52545,52571,12,52601,52627,12,52657,52683,12,52713,52739,12,52769,52795,12,52825,52851,12,52881,52907,12,52937,52963,12,52993,53019,12,53049,53075,12,53105,53131,12,53161,53187,12,53217,53243,12,53273,53299,12,53329,53355,12,53385,53411,12,53441,53467,12,53497,53523,12,53553,53579,12,53609,53635,12,53665,53691,12,53721,53747,12,53777,53803,12,53833,53859,12,53889,53915,12,53945,53971,12,54001,54027,12,54057,54083,12,54113,54139,12,54169,54195,12,54225,54251,12,54281,54307,12,54337,54363,12,54393,54419,12,54449,54475,12,54505,54531,12,54561,54587,12,54617,54643,12,54673,54699,12,54729,54755,12,54785,54811,12,54841,54867,12,54897,54923,12,54953,54979,12,55009,55035,12,55065,55091,12,55121,55147,12,55177,55203,12,65024,65039,5,65520,65528,4,66422,66426,5,68152,68154,5,69291,69292,5,69633,69633,5,69747,69748,5,69811,69814,5,69826,69826,5,69932,69932,7,70016,70017,5,70079,70080,7,70095,70095,5,70196,70196,5,70367,70367,5,70402,70403,7,70464,70464,5,70487,70487,5,70709,70711,7,70725,70725,7,70833,70834,7,70843,70844,7,70849,70849,7,71090,71093,5,71103,71104,5,71227,71228,7,71339,71339,5,71344,71349,5,71458,71461,5,71727,71735,5,71985,71989,7,71998,71998,5,72002,72002,7,72154,72155,5,72193,72202,5,72251,72254,5,72281,72283,5,72344,72345,5,72766,72766,7,72874,72880,5,72885,72886,5,73023,73029,5,73104,73105,5,73111,73111,5,92912,92916,5,94095,94098,5,113824,113827,4,119142,119142,7,119155,119162,4,119362,119364,5,121476,121476,5,122888,122904,5,123184,123190,5,125252,125258,5,127183,127183,14,127340,127343,14,127377,127386,14,127491,127503,14,127548,127551,14,127744,127756,14,127761,127761,14,127769,127769,14,127773,127774,14,127780,127788,14,127796,127797,14,127820,127823,14,127869,127869,14,127894,127895,14,127902,127903,14,127943,127943,14,127947,127950,14,127972,127972,14,127988,127988,14,127992,127994,14,128009,128011,14,128019,128019,14,128023,128041,14,128064,128064,14,128102,128107,14,128174,128181,14,128238,128238,14,128246,128247,14,128254,128254,14,128264,128264,14,128278,128299,14,128329,128330,14,128348,128359,14,128371,128377,14,128392,128393,14,128401,128404,14,128421,128421,14,128433,128434,14,128450,128452,14,128476,128478,14,128483,128483,14,128495,128495,14,128506,128506,14,128519,128520,14,128528,128528,14,128534,128534,14,128538,128538,14,128540,128542,14,128544,128549,14,128552,128555,14,128557,128557,14,128560,128563,14,128565,128565,14,128567,128576,14,128581,128591,14,128641,128642,14,128646,128646,14,128648,128648,14,128650,128651,14,128653,128653,14,128655,128655,14,128657,128659,14,128661,128661,14,128663,128663,14,128665,128666,14,128674,128674,14,128676,128677,14,128679,128685,14,128690,128690,14,128694,128694,14,128697,128702,14,128704,128704,14,128710,128714,14,128716,128716,14,128720,128720,14,128723,128724,14,128726,128727,14,128733,128735,14,128742,128744,14,128746,128746,14,128749,128751,14,128753,128754,14,128756,128758,14,128761,128761,14,128763,128764,14,128884,128895,14,128992,129003,14,129008,129008,14,129036,129039,14,129114,129119,14,129198,129279,14,129293,129295,14,129305,129310,14,129312,129319,14,129328,129328,14,129331,129338,14,129343,129343,14,129351,129355,14,129357,129359,14,129375,129387,14,129393,129393,14,129395,129398,14,129401,129401,14,129403,129403,14,129408,129412,14,129426,129431,14,129443,129444,14,129451,129453,14,129456,129465,14,129472,129472,14,129475,129482,14,129484,129484,14,129488,129510,14,129536,129647,14,129652,129652,14,129656,129658,14,129661,129663,14,129667,129670,14,129680,129685,14,129705,129708,14,129712,129718,14,129723,129727,14,129731,129733,14,129744,129750,14,129754,129759,14,129768,129775,14,129783,129791,14,917504,917504,4,917506,917535,4,917632,917759,4,918000,921599,4,0,9,4,11,12,4,14,31,4,169,169,14,174,174,14,1155,1159,5,1425,1469,5,1473,1474,5,1479,1479,5,1552,1562,5,1611,1631,5,1750,1756,5,1759,1764,5,1770,1773,5,1809,1809,5,1958,1968,5,2045,2045,5,2075,2083,5,2089,2093,5,2192,2193,1,2250,2273,5,2275,2306,5,2362,2362,5,2364,2364,5,2369,2376,5,2381,2381,5,2385,2391,5,2433,2433,5,2492,2492,5,2495,2496,7,2503,2504,7,2509,2509,5,2530,2531,5,2561,2562,5,2620,2620,5,2625,2626,5,2635,2637,5,2672,2673,5,2689,2690,5,2748,2748,5,2753,2757,5,2761,2761,7,2765,2765,5,2810,2815,5,2818,2819,7,2878,2878,5,2880,2880,7,2887,2888,7,2893,2893,5,2903,2903,5,2946,2946,5,3007,3007,7,3009,3010,7,3018,3020,7,3031,3031,5,3073,3075,7,3132,3132,5,3137,3140,7,3146,3149,5,3170,3171,5,3202,3203,7,3262,3262,7,3264,3265,7,3267,3268,7,3271,3272,7,3276,3277,5,3298,3299,5,3330,3331,7,3390,3390,5,3393,3396,5,3402,3404,7,3406,3406,1,3426,3427,5,3458,3459,7,3535,3535,5,3538,3540,5,3544,3550,7,3570,3571,7,3635,3635,7,3655,3662,5,3763,3763,7,3784,3789,5,3893,3893,5,3897,3897,5,3953,3966,5,3968,3972,5,3981,3991,5,4038,4038,5,4145,4145,7,4153,4154,5,4157,4158,5,4184,4185,5,4209,4212,5,4228,4228,7,4237,4237,5,4352,4447,8,4520,4607,10,5906,5908,5,5938,5939,5,5970,5971,5,6068,6069,5,6071,6077,5,6086,6086,5,6089,6099,5,6155,6157,5,6159,6159,5,6313,6313,5,6435,6438,7,6441,6443,7,6450,6450,5,6457,6459,5,6681,6682,7,6741,6741,7,6743,6743,7,6752,6752,5,6757,6764,5,6771,6780,5,6832,6845,5,6847,6862,5,6916,6916,7,6965,6965,5,6971,6971,7,6973,6977,7,6979,6980,7,7040,7041,5,7073,7073,7,7078,7079,7,7082,7082,7,7142,7142,5,7144,7145,5,7149,7149,5,7151,7153,5,7204,7211,7,7220,7221,7,7376,7378,5,7393,7393,7,7405,7405,5,7415,7415,7,7616,7679,5,8204,8204,5,8206,8207,4,8233,8233,4,8252,8252,14,8288,8292,4,8294,8303,4,8413,8416,5,8418,8420,5,8482,8482,14,8596,8601,14,8986,8987,14,9096,9096,14,9193,9196,14,9199,9199,14,9201,9202,14,9208,9210,14,9642,9643,14,9664,9664,14,9728,9729,14,9732,9732,14,9735,9741,14,9743,9744,14,9746,9746,14,9750,9751,14,9753,9756,14,9758,9759,14,9761,9761,14,9764,9765,14,9767,9769,14,9771,9773,14,9775,9775,14,9784,9785,14,9787,9791,14,9793,9793,14,9795,9799,14,9812,9822,14,9824,9824,14,9827,9827,14,9829,9830,14,9832,9832,14,9851,9851,14,9854,9854,14,9856,9861,14,9874,9874,14,9876,9876,14,9878,9879,14,9881,9881,14,9883,9884,14,9888,9889,14,9895,9895,14,9898,9899,14,9904,9905,14,9917,9918,14,9924,9925,14,9928,9928,14,9934,9934,14,9936,9936,14,9938,9938,14,9940,9940,14,9961,9961,14,9963,9967,14,9970,9971,14,9973,9973,14,9975,9977,14,9979,9980,14,9982,9985,14,9987,9988,14,9992,9996,14,9998,9998,14,10000,10001,14,10004,10004,14,10013,10013,14,10024,10024,14,10052,10052,14,10060,10060,14,10067,10069,14,10083,10083,14,10085,10087,14,10145,10145,14,10175,10175,14,11013,11015,14,11088,11088,14,11503,11505,5,11744,11775,5,12334,12335,5,12349,12349,14,12951,12951,14,42607,42607,5,42612,42621,5,42736,42737,5,43014,43014,5,43043,43044,7,43047,43047,7,43136,43137,7,43204,43205,5,43263,43263,5,43335,43345,5,43360,43388,8,43395,43395,7,43444,43445,7,43450,43451,7,43454,43456,7,43561,43566,5,43569,43570,5,43573,43574,5,43596,43596,5,43644,43644,5,43698,43700,5,43710,43711,5,43755,43755,7,43758,43759,7,43766,43766,5,44005,44005,5,44008,44008,5,44012,44012,7,44032,44032,11,44060,44060,11,44088,44088,11,44116,44116,11,44144,44144,11,44172,44172,11,44200,44200,11,44228,44228,11,44256,44256,11,44284,44284,11,44312,44312,11,44340,44340,11,44368,44368,11,44396,44396,11,44424,44424,11,44452,44452,11,44480,44480,11,44508,44508,11,44536,44536,11,44564,44564,11,44592,44592,11,44620,44620,11,44648,44648,11,44676,44676,11,44704,44704,11,44732,44732,11,44760,44760,11,44788,44788,11,44816,44816,11,44844,44844,11,44872,44872,11,44900,44900,11,44928,44928,11,44956,44956,11,44984,44984,11,45012,45012,11,45040,45040,11,45068,45068,11,45096,45096,11,45124,45124,11,45152,45152,11,45180,45180,11,45208,45208,11,45236,45236,11,45264,45264,11,45292,45292,11,45320,45320,11,45348,45348,11,45376,45376,11,45404,45404,11,45432,45432,11,45460,45460,11,45488,45488,11,45516,45516,11,45544,45544,11,45572,45572,11,45600,45600,11,45628,45628,11,45656,45656,11,45684,45684,11,45712,45712,11,45740,45740,11,45768,45768,11,45796,45796,11,45824,45824,11,45852,45852,11,45880,45880,11,45908,45908,11,45936,45936,11,45964,45964,11,45992,45992,11,46020,46020,11,46048,46048,11,46076,46076,11,46104,46104,11,46132,46132,11,46160,46160,11,46188,46188,11,46216,46216,11,46244,46244,11,46272,46272,11,46300,46300,11,46328,46328,11,46356,46356,11,46384,46384,11,46412,46412,11,46440,46440,11,46468,46468,11,46496,46496,11,46524,46524,11,46552,46552,11,46580,46580,11,46608,46608,11,46636,46636,11,46664,46664,11,46692,46692,11,46720,46720,11,46748,46748,11,46776,46776,11,46804,46804,11,46832,46832,11,46860,46860,11,46888,46888,11,46916,46916,11,46944,46944,11,46972,46972,11,47000,47000,11,47028,47028,11,47056,47056,11,47084,47084,11,47112,47112,11,47140,47140,11,47168,47168,11,47196,47196,11,47224,47224,11,47252,47252,11,47280,47280,11,47308,47308,11,47336,47336,11,47364,47364,11,47392,47392,11,47420,47420,11,47448,47448,11,47476,47476,11,47504,47504,11,47532,47532,11,47560,47560,11,47588,47588,11,47616,47616,11,47644,47644,11,47672,47672,11,47700,47700,11,47728,47728,11,47756,47756,11,47784,47784,11,47812,47812,11,47840,47840,11,47868,47868,11,47896,47896,11,47924,47924,11,47952,47952,11,47980,47980,11,48008,48008,11,48036,48036,11,48064,48064,11,48092,48092,11,48120,48120,11,48148,48148,11,48176,48176,11,48204,48204,11,48232,48232,11,48260,48260,11,48288,48288,11,48316,48316,11,48344,48344,11,48372,48372,11,48400,48400,11,48428,48428,11,48456,48456,11,48484,48484,11,48512,48512,11,48540,48540,11,48568,48568,11,48596,48596,11,48624,48624,11,48652,48652,11,48680,48680,11,48708,48708,11,48736,48736,11,48764,48764,11,48792,48792,11,48820,48820,11,48848,48848,11,48876,48876,11,48904,48904,11,48932,48932,11,48960,48960,11,48988,48988,11,49016,49016,11,49044,49044,11,49072,49072,11,49100,49100,11,49128,49128,11,49156,49156,11,49184,49184,11,49212,49212,11,49240,49240,11,49268,49268,11,49296,49296,11,49324,49324,11,49352,49352,11,49380,49380,11,49408,49408,11,49436,49436,11,49464,49464,11,49492,49492,11,49520,49520,11,49548,49548,11,49576,49576,11,49604,49604,11,49632,49632,11,49660,49660,11,49688,49688,11,49716,49716,11,49744,49744,11,49772,49772,11,49800,49800,11,49828,49828,11,49856,49856,11,49884,49884,11,49912,49912,11,49940,49940,11,49968,49968,11,49996,49996,11,50024,50024,11,50052,50052,11,50080,50080,11,50108,50108,11,50136,50136,11,50164,50164,11,50192,50192,11,50220,50220,11,50248,50248,11,50276,50276,11,50304,50304,11,50332,50332,11,50360,50360,11,50388,50388,11,50416,50416,11,50444,50444,11,50472,50472,11,50500,50500,11,50528,50528,11,50556,50556,11,50584,50584,11,50612,50612,11,50640,50640,11,50668,50668,11,50696,50696,11,50724,50724,11,50752,50752,11,50780,50780,11,50808,50808,11,50836,50836,11,50864,50864,11,50892,50892,11,50920,50920,11,50948,50948,11,50976,50976,11,51004,51004,11,51032,51032,11,51060,51060,11,51088,51088,11,51116,51116,11,51144,51144,11,51172,51172,11,51200,51200,11,51228,51228,11,51256,51256,11,51284,51284,11,51312,51312,11,51340,51340,11,51368,51368,11,51396,51396,11,51424,51424,11,51452,51452,11,51480,51480,11,51508,51508,11,51536,51536,11,51564,51564,11,51592,51592,11,51620,51620,11,51648,51648,11,51676,51676,11,51704,51704,11,51732,51732,11,51760,51760,11,51788,51788,11,51816,51816,11,51844,51844,11,51872,51872,11,51900,51900,11,51928,51928,11,51956,51956,11,51984,51984,11,52012,52012,11,52040,52040,11,52068,52068,11,52096,52096,11,52124,52124,11,52152,52152,11,52180,52180,11,52208,52208,11,52236,52236,11,52264,52264,11,52292,52292,11,52320,52320,11,52348,52348,11,52376,52376,11,52404,52404,11,52432,52432,11,52460,52460,11,52488,52488,11,52516,52516,11,52544,52544,11,52572,52572,11,52600,52600,11,52628,52628,11,52656,52656,11,52684,52684,11,52712,52712,11,52740,52740,11,52768,52768,11,52796,52796,11,52824,52824,11,52852,52852,11,52880,52880,11,52908,52908,11,52936,52936,11,52964,52964,11,52992,52992,11,53020,53020,11,53048,53048,11,53076,53076,11,53104,53104,11,53132,53132,11,53160,53160,11,53188,53188,11,53216,53216,11,53244,53244,11,53272,53272,11,53300,53300,11,53328,53328,11,53356,53356,11,53384,53384,11,53412,53412,11,53440,53440,11,53468,53468,11,53496,53496,11,53524,53524,11,53552,53552,11,53580,53580,11,53608,53608,11,53636,53636,11,53664,53664,11,53692,53692,11,53720,53720,11,53748,53748,11,53776,53776,11,53804,53804,11,53832,53832,11,53860,53860,11,53888,53888,11,53916,53916,11,53944,53944,11,53972,53972,11,54000,54000,11,54028,54028,11,54056,54056,11,54084,54084,11,54112,54112,11,54140,54140,11,54168,54168,11,54196,54196,11,54224,54224,11,54252,54252,11,54280,54280,11,54308,54308,11,54336,54336,11,54364,54364,11,54392,54392,11,54420,54420,11,54448,54448,11,54476,54476,11,54504,54504,11,54532,54532,11,54560,54560,11,54588,54588,11,54616,54616,11,54644,54644,11,54672,54672,11,54700,54700,11,54728,54728,11,54756,54756,11,54784,54784,11,54812,54812,11,54840,54840,11,54868,54868,11,54896,54896,11,54924,54924,11,54952,54952,11,54980,54980,11,55008,55008,11,55036,55036,11,55064,55064,11,55092,55092,11,55120,55120,11,55148,55148,11,55176,55176,11,55216,55238,9,64286,64286,5,65056,65071,5,65438,65439,5,65529,65531,4,66272,66272,5,68097,68099,5,68108,68111,5,68159,68159,5,68900,68903,5,69446,69456,5,69632,69632,7,69634,69634,7,69744,69744,5,69759,69761,5,69808,69810,7,69815,69816,7,69821,69821,1,69837,69837,1,69927,69931,5,69933,69940,5,70003,70003,5,70018,70018,7,70070,70078,5,70082,70083,1,70094,70094,7,70188,70190,7,70194,70195,7,70197,70197,7,70206,70206,5,70368,70370,7,70400,70401,5,70459,70460,5,70463,70463,7,70465,70468,7,70475,70477,7,70498,70499,7,70512,70516,5,70712,70719,5,70722,70724,5,70726,70726,5,70832,70832,5,70835,70840,5,70842,70842,5,70845,70845,5,70847,70848,5,70850,70851,5,71088,71089,7,71096,71099,7,71102,71102,7,71132,71133,5,71219,71226,5,71229,71229,5,71231,71232,5,71340,71340,7,71342,71343,7,71350,71350,7,71453,71455,5,71462,71462,7,71724,71726,7,71736,71736,7,71984,71984,5,71991,71992,7,71997,71997,7,71999,71999,1,72001,72001,1,72003,72003,5,72148,72151,5,72156,72159,7,72164,72164,7,72243,72248,5,72250,72250,1,72263,72263,5,72279,72280,7,72324,72329,1,72343,72343,7,72751,72751,7,72760,72765,5,72767,72767,5,72873,72873,7,72881,72881,7,72884,72884,7,73009,73014,5,73020,73021,5,73030,73030,1,73098,73102,7,73107,73108,7,73110,73110,7,73459,73460,5,78896,78904,4,92976,92982,5,94033,94087,7,94180,94180,5,113821,113822,5,118528,118573,5,119141,119141,5,119143,119145,5,119150,119154,5,119163,119170,5,119210,119213,5,121344,121398,5,121461,121461,5,121499,121503,5,122880,122886,5,122907,122913,5,122918,122922,5,123566,123566,5,125136,125142,5,126976,126979,14,126981,127182,14,127184,127231,14,127279,127279,14,127344,127345,14,127374,127374,14,127405,127461,14,127489,127490,14,127514,127514,14,127538,127546,14,127561,127567,14,127570,127743,14,127757,127758,14,127760,127760,14,127762,127762,14,127766,127768,14,127770,127770,14,127772,127772,14,127775,127776,14,127778,127779,14,127789,127791,14,127794,127795,14,127798,127798,14,127819,127819,14,127824,127824,14,127868,127868,14,127870,127871,14,127892,127893,14,127896,127896,14,127900,127901,14,127904,127940,14,127942,127942,14,127944,127944,14,127946,127946,14,127951,127955,14,127968,127971,14,127973,127984,14,127987,127987,14,127989,127989,14,127991,127991,14,127995,127999,5,128008,128008,14,128012,128014,14,128017,128018,14,128020,128020,14,128022,128022,14,128042,128042,14,128063,128063,14,128065,128065,14,128101,128101,14,128108,128109,14,128173,128173,14,128182,128183,14,128236,128237,14,128239,128239,14,128245,128245,14,128248,128248,14,128253,128253,14,128255,128258,14,128260,128263,14,128265,128265,14,128277,128277,14,128300,128301,14,128326,128328,14,128331,128334,14,128336,128347,14,128360,128366,14,128369,128370,14,128378,128378,14,128391,128391,14,128394,128397,14,128400,128400,14,128405,128406,14,128420,128420,14,128422,128423,14,128425,128432,14,128435,128443,14,128445,128449,14,128453,128464,14,128468,128475,14,128479,128480,14,128482,128482,14,128484,128487,14,128489,128494,14,128496,128498,14,128500,128505,14,128507,128511,14,128513,128518,14,128521,128525,14,128527,128527,14,128529,128529,14,128533,128533,14,128535,128535,14,128537,128537,14]")}var vs=class t{static{this.ambiguousCharacterData=new ha(()=>JSON.parse('{"_common":[8232,32,8233,32,5760,32,8192,32,8193,32,8194,32,8195,32,8196,32,8197,32,8198,32,8200,32,8201,32,8202,32,8287,32,8199,32,8239,32,2042,95,65101,95,65102,95,65103,95,8208,45,8209,45,8210,45,65112,45,1748,45,8259,45,727,45,8722,45,10134,45,11450,45,1549,44,1643,44,8218,44,184,44,42233,44,894,59,2307,58,2691,58,1417,58,1795,58,1796,58,5868,58,65072,58,6147,58,6153,58,8282,58,1475,58,760,58,42889,58,8758,58,720,58,42237,58,451,33,11601,33,660,63,577,63,2429,63,5038,63,42731,63,119149,46,8228,46,1793,46,1794,46,42510,46,68176,46,1632,46,1776,46,42232,46,1373,96,65287,96,8219,96,8242,96,1370,96,1523,96,8175,96,65344,96,900,96,8189,96,8125,96,8127,96,8190,96,697,96,884,96,712,96,714,96,715,96,756,96,699,96,701,96,700,96,702,96,42892,96,1497,96,2036,96,2037,96,5194,96,5836,96,94033,96,94034,96,65339,91,10088,40,10098,40,12308,40,64830,40,65341,93,10089,41,10099,41,12309,41,64831,41,10100,123,119060,123,10101,125,65342,94,8270,42,1645,42,8727,42,66335,42,5941,47,8257,47,8725,47,8260,47,9585,47,10187,47,10744,47,119354,47,12755,47,12339,47,11462,47,20031,47,12035,47,65340,92,65128,92,8726,92,10189,92,10741,92,10745,92,119311,92,119355,92,12756,92,20022,92,12034,92,42872,38,708,94,710,94,5869,43,10133,43,66203,43,8249,60,10094,60,706,60,119350,60,5176,60,5810,60,5120,61,11840,61,12448,61,42239,61,8250,62,10095,62,707,62,119351,62,5171,62,94015,62,8275,126,732,126,8128,126,8764,126,65372,124,65293,45,120784,50,120794,50,120804,50,120814,50,120824,50,130034,50,42842,50,423,50,1000,50,42564,50,5311,50,42735,50,119302,51,120785,51,120795,51,120805,51,120815,51,120825,51,130035,51,42923,51,540,51,439,51,42858,51,11468,51,1248,51,94011,51,71882,51,120786,52,120796,52,120806,52,120816,52,120826,52,130036,52,5070,52,71855,52,120787,53,120797,53,120807,53,120817,53,120827,53,130037,53,444,53,71867,53,120788,54,120798,54,120808,54,120818,54,120828,54,130038,54,11474,54,5102,54,71893,54,119314,55,120789,55,120799,55,120809,55,120819,55,120829,55,130039,55,66770,55,71878,55,2819,56,2538,56,2666,56,125131,56,120790,56,120800,56,120810,56,120820,56,120830,56,130040,56,547,56,546,56,66330,56,2663,57,2920,57,2541,57,3437,57,120791,57,120801,57,120811,57,120821,57,120831,57,130041,57,42862,57,11466,57,71884,57,71852,57,71894,57,9082,97,65345,97,119834,97,119886,97,119938,97,119990,97,120042,97,120094,97,120146,97,120198,97,120250,97,120302,97,120354,97,120406,97,120458,97,593,97,945,97,120514,97,120572,97,120630,97,120688,97,120746,97,65313,65,119808,65,119860,65,119912,65,119964,65,120016,65,120068,65,120120,65,120172,65,120224,65,120276,65,120328,65,120380,65,120432,65,913,65,120488,65,120546,65,120604,65,120662,65,120720,65,5034,65,5573,65,42222,65,94016,65,66208,65,119835,98,119887,98,119939,98,119991,98,120043,98,120095,98,120147,98,120199,98,120251,98,120303,98,120355,98,120407,98,120459,98,388,98,5071,98,5234,98,5551,98,65314,66,8492,66,119809,66,119861,66,119913,66,120017,66,120069,66,120121,66,120173,66,120225,66,120277,66,120329,66,120381,66,120433,66,42932,66,914,66,120489,66,120547,66,120605,66,120663,66,120721,66,5108,66,5623,66,42192,66,66178,66,66209,66,66305,66,65347,99,8573,99,119836,99,119888,99,119940,99,119992,99,120044,99,120096,99,120148,99,120200,99,120252,99,120304,99,120356,99,120408,99,120460,99,7428,99,1010,99,11429,99,43951,99,66621,99,128844,67,71922,67,71913,67,65315,67,8557,67,8450,67,8493,67,119810,67,119862,67,119914,67,119966,67,120018,67,120174,67,120226,67,120278,67,120330,67,120382,67,120434,67,1017,67,11428,67,5087,67,42202,67,66210,67,66306,67,66581,67,66844,67,8574,100,8518,100,119837,100,119889,100,119941,100,119993,100,120045,100,120097,100,120149,100,120201,100,120253,100,120305,100,120357,100,120409,100,120461,100,1281,100,5095,100,5231,100,42194,100,8558,68,8517,68,119811,68,119863,68,119915,68,119967,68,120019,68,120071,68,120123,68,120175,68,120227,68,120279,68,120331,68,120383,68,120435,68,5024,68,5598,68,5610,68,42195,68,8494,101,65349,101,8495,101,8519,101,119838,101,119890,101,119942,101,120046,101,120098,101,120150,101,120202,101,120254,101,120306,101,120358,101,120410,101,120462,101,43826,101,1213,101,8959,69,65317,69,8496,69,119812,69,119864,69,119916,69,120020,69,120072,69,120124,69,120176,69,120228,69,120280,69,120332,69,120384,69,120436,69,917,69,120492,69,120550,69,120608,69,120666,69,120724,69,11577,69,5036,69,42224,69,71846,69,71854,69,66182,69,119839,102,119891,102,119943,102,119995,102,120047,102,120099,102,120151,102,120203,102,120255,102,120307,102,120359,102,120411,102,120463,102,43829,102,42905,102,383,102,7837,102,1412,102,119315,70,8497,70,119813,70,119865,70,119917,70,120021,70,120073,70,120125,70,120177,70,120229,70,120281,70,120333,70,120385,70,120437,70,42904,70,988,70,120778,70,5556,70,42205,70,71874,70,71842,70,66183,70,66213,70,66853,70,65351,103,8458,103,119840,103,119892,103,119944,103,120048,103,120100,103,120152,103,120204,103,120256,103,120308,103,120360,103,120412,103,120464,103,609,103,7555,103,397,103,1409,103,119814,71,119866,71,119918,71,119970,71,120022,71,120074,71,120126,71,120178,71,120230,71,120282,71,120334,71,120386,71,120438,71,1292,71,5056,71,5107,71,42198,71,65352,104,8462,104,119841,104,119945,104,119997,104,120049,104,120101,104,120153,104,120205,104,120257,104,120309,104,120361,104,120413,104,120465,104,1211,104,1392,104,5058,104,65320,72,8459,72,8460,72,8461,72,119815,72,119867,72,119919,72,120023,72,120179,72,120231,72,120283,72,120335,72,120387,72,120439,72,919,72,120494,72,120552,72,120610,72,120668,72,120726,72,11406,72,5051,72,5500,72,42215,72,66255,72,731,105,9075,105,65353,105,8560,105,8505,105,8520,105,119842,105,119894,105,119946,105,119998,105,120050,105,120102,105,120154,105,120206,105,120258,105,120310,105,120362,105,120414,105,120466,105,120484,105,618,105,617,105,953,105,8126,105,890,105,120522,105,120580,105,120638,105,120696,105,120754,105,1110,105,42567,105,1231,105,43893,105,5029,105,71875,105,65354,106,8521,106,119843,106,119895,106,119947,106,119999,106,120051,106,120103,106,120155,106,120207,106,120259,106,120311,106,120363,106,120415,106,120467,106,1011,106,1112,106,65322,74,119817,74,119869,74,119921,74,119973,74,120025,74,120077,74,120129,74,120181,74,120233,74,120285,74,120337,74,120389,74,120441,74,42930,74,895,74,1032,74,5035,74,5261,74,42201,74,119844,107,119896,107,119948,107,120000,107,120052,107,120104,107,120156,107,120208,107,120260,107,120312,107,120364,107,120416,107,120468,107,8490,75,65323,75,119818,75,119870,75,119922,75,119974,75,120026,75,120078,75,120130,75,120182,75,120234,75,120286,75,120338,75,120390,75,120442,75,922,75,120497,75,120555,75,120613,75,120671,75,120729,75,11412,75,5094,75,5845,75,42199,75,66840,75,1472,108,8739,73,9213,73,65512,73,1633,108,1777,73,66336,108,125127,108,120783,73,120793,73,120803,73,120813,73,120823,73,130033,73,65321,73,8544,73,8464,73,8465,73,119816,73,119868,73,119920,73,120024,73,120128,73,120180,73,120232,73,120284,73,120336,73,120388,73,120440,73,65356,108,8572,73,8467,108,119845,108,119897,108,119949,108,120001,108,120053,108,120105,73,120157,73,120209,73,120261,73,120313,73,120365,73,120417,73,120469,73,448,73,120496,73,120554,73,120612,73,120670,73,120728,73,11410,73,1030,73,1216,73,1493,108,1503,108,1575,108,126464,108,126592,108,65166,108,65165,108,1994,108,11599,73,5825,73,42226,73,93992,73,66186,124,66313,124,119338,76,8556,76,8466,76,119819,76,119871,76,119923,76,120027,76,120079,76,120131,76,120183,76,120235,76,120287,76,120339,76,120391,76,120443,76,11472,76,5086,76,5290,76,42209,76,93974,76,71843,76,71858,76,66587,76,66854,76,65325,77,8559,77,8499,77,119820,77,119872,77,119924,77,120028,77,120080,77,120132,77,120184,77,120236,77,120288,77,120340,77,120392,77,120444,77,924,77,120499,77,120557,77,120615,77,120673,77,120731,77,1018,77,11416,77,5047,77,5616,77,5846,77,42207,77,66224,77,66321,77,119847,110,119899,110,119951,110,120003,110,120055,110,120107,110,120159,110,120211,110,120263,110,120315,110,120367,110,120419,110,120471,110,1400,110,1404,110,65326,78,8469,78,119821,78,119873,78,119925,78,119977,78,120029,78,120081,78,120185,78,120237,78,120289,78,120341,78,120393,78,120445,78,925,78,120500,78,120558,78,120616,78,120674,78,120732,78,11418,78,42208,78,66835,78,3074,111,3202,111,3330,111,3458,111,2406,111,2662,111,2790,111,3046,111,3174,111,3302,111,3430,111,3664,111,3792,111,4160,111,1637,111,1781,111,65359,111,8500,111,119848,111,119900,111,119952,111,120056,111,120108,111,120160,111,120212,111,120264,111,120316,111,120368,111,120420,111,120472,111,7439,111,7441,111,43837,111,959,111,120528,111,120586,111,120644,111,120702,111,120760,111,963,111,120532,111,120590,111,120648,111,120706,111,120764,111,11423,111,4351,111,1413,111,1505,111,1607,111,126500,111,126564,111,126596,111,65259,111,65260,111,65258,111,65257,111,1726,111,64428,111,64429,111,64427,111,64426,111,1729,111,64424,111,64425,111,64423,111,64422,111,1749,111,3360,111,4125,111,66794,111,71880,111,71895,111,66604,111,1984,79,2534,79,2918,79,12295,79,70864,79,71904,79,120782,79,120792,79,120802,79,120812,79,120822,79,130032,79,65327,79,119822,79,119874,79,119926,79,119978,79,120030,79,120082,79,120134,79,120186,79,120238,79,120290,79,120342,79,120394,79,120446,79,927,79,120502,79,120560,79,120618,79,120676,79,120734,79,11422,79,1365,79,11604,79,4816,79,2848,79,66754,79,42227,79,71861,79,66194,79,66219,79,66564,79,66838,79,9076,112,65360,112,119849,112,119901,112,119953,112,120005,112,120057,112,120109,112,120161,112,120213,112,120265,112,120317,112,120369,112,120421,112,120473,112,961,112,120530,112,120544,112,120588,112,120602,112,120646,112,120660,112,120704,112,120718,112,120762,112,120776,112,11427,112,65328,80,8473,80,119823,80,119875,80,119927,80,119979,80,120031,80,120083,80,120187,80,120239,80,120291,80,120343,80,120395,80,120447,80,929,80,120504,80,120562,80,120620,80,120678,80,120736,80,11426,80,5090,80,5229,80,42193,80,66197,80,119850,113,119902,113,119954,113,120006,113,120058,113,120110,113,120162,113,120214,113,120266,113,120318,113,120370,113,120422,113,120474,113,1307,113,1379,113,1382,113,8474,81,119824,81,119876,81,119928,81,119980,81,120032,81,120084,81,120188,81,120240,81,120292,81,120344,81,120396,81,120448,81,11605,81,119851,114,119903,114,119955,114,120007,114,120059,114,120111,114,120163,114,120215,114,120267,114,120319,114,120371,114,120423,114,120475,114,43847,114,43848,114,7462,114,11397,114,43905,114,119318,82,8475,82,8476,82,8477,82,119825,82,119877,82,119929,82,120033,82,120189,82,120241,82,120293,82,120345,82,120397,82,120449,82,422,82,5025,82,5074,82,66740,82,5511,82,42211,82,94005,82,65363,115,119852,115,119904,115,119956,115,120008,115,120060,115,120112,115,120164,115,120216,115,120268,115,120320,115,120372,115,120424,115,120476,115,42801,115,445,115,1109,115,43946,115,71873,115,66632,115,65331,83,119826,83,119878,83,119930,83,119982,83,120034,83,120086,83,120138,83,120190,83,120242,83,120294,83,120346,83,120398,83,120450,83,1029,83,1359,83,5077,83,5082,83,42210,83,94010,83,66198,83,66592,83,119853,116,119905,116,119957,116,120009,116,120061,116,120113,116,120165,116,120217,116,120269,116,120321,116,120373,116,120425,116,120477,116,8868,84,10201,84,128872,84,65332,84,119827,84,119879,84,119931,84,119983,84,120035,84,120087,84,120139,84,120191,84,120243,84,120295,84,120347,84,120399,84,120451,84,932,84,120507,84,120565,84,120623,84,120681,84,120739,84,11430,84,5026,84,42196,84,93962,84,71868,84,66199,84,66225,84,66325,84,119854,117,119906,117,119958,117,120010,117,120062,117,120114,117,120166,117,120218,117,120270,117,120322,117,120374,117,120426,117,120478,117,42911,117,7452,117,43854,117,43858,117,651,117,965,117,120534,117,120592,117,120650,117,120708,117,120766,117,1405,117,66806,117,71896,117,8746,85,8899,85,119828,85,119880,85,119932,85,119984,85,120036,85,120088,85,120140,85,120192,85,120244,85,120296,85,120348,85,120400,85,120452,85,1357,85,4608,85,66766,85,5196,85,42228,85,94018,85,71864,85,8744,118,8897,118,65366,118,8564,118,119855,118,119907,118,119959,118,120011,118,120063,118,120115,118,120167,118,120219,118,120271,118,120323,118,120375,118,120427,118,120479,118,7456,118,957,118,120526,118,120584,118,120642,118,120700,118,120758,118,1141,118,1496,118,71430,118,43945,118,71872,118,119309,86,1639,86,1783,86,8548,86,119829,86,119881,86,119933,86,119985,86,120037,86,120089,86,120141,86,120193,86,120245,86,120297,86,120349,86,120401,86,120453,86,1140,86,11576,86,5081,86,5167,86,42719,86,42214,86,93960,86,71840,86,66845,86,623,119,119856,119,119908,119,119960,119,120012,119,120064,119,120116,119,120168,119,120220,119,120272,119,120324,119,120376,119,120428,119,120480,119,7457,119,1121,119,1309,119,1377,119,71434,119,71438,119,71439,119,43907,119,71919,87,71910,87,119830,87,119882,87,119934,87,119986,87,120038,87,120090,87,120142,87,120194,87,120246,87,120298,87,120350,87,120402,87,120454,87,1308,87,5043,87,5076,87,42218,87,5742,120,10539,120,10540,120,10799,120,65368,120,8569,120,119857,120,119909,120,119961,120,120013,120,120065,120,120117,120,120169,120,120221,120,120273,120,120325,120,120377,120,120429,120,120481,120,5441,120,5501,120,5741,88,9587,88,66338,88,71916,88,65336,88,8553,88,119831,88,119883,88,119935,88,119987,88,120039,88,120091,88,120143,88,120195,88,120247,88,120299,88,120351,88,120403,88,120455,88,42931,88,935,88,120510,88,120568,88,120626,88,120684,88,120742,88,11436,88,11613,88,5815,88,42219,88,66192,88,66228,88,66327,88,66855,88,611,121,7564,121,65369,121,119858,121,119910,121,119962,121,120014,121,120066,121,120118,121,120170,121,120222,121,120274,121,120326,121,120378,121,120430,121,120482,121,655,121,7935,121,43866,121,947,121,8509,121,120516,121,120574,121,120632,121,120690,121,120748,121,1199,121,4327,121,71900,121,65337,89,119832,89,119884,89,119936,89,119988,89,120040,89,120092,89,120144,89,120196,89,120248,89,120300,89,120352,89,120404,89,120456,89,933,89,978,89,120508,89,120566,89,120624,89,120682,89,120740,89,11432,89,1198,89,5033,89,5053,89,42220,89,94019,89,71844,89,66226,89,119859,122,119911,122,119963,122,120015,122,120067,122,120119,122,120171,122,120223,122,120275,122,120327,122,120379,122,120431,122,120483,122,7458,122,43923,122,71876,122,66293,90,71909,90,65338,90,8484,90,8488,90,119833,90,119885,90,119937,90,119989,90,120041,90,120197,90,120249,90,120301,90,120353,90,120405,90,120457,90,918,90,120493,90,120551,90,120609,90,120667,90,120725,90,5059,90,42204,90,71849,90,65282,34,65284,36,65285,37,65286,38,65290,42,65291,43,65294,46,65295,47,65296,48,65297,49,65298,50,65299,51,65300,52,65301,53,65302,54,65303,55,65304,56,65305,57,65308,60,65309,61,65310,62,65312,64,65316,68,65318,70,65319,71,65324,76,65329,81,65330,82,65333,85,65334,86,65335,87,65343,95,65346,98,65348,100,65350,102,65355,107,65357,109,65358,110,65361,113,65362,114,65364,116,65365,117,65367,119,65370,122,65371,123,65373,125,119846,109],"_default":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"cs":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"de":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"es":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"fr":[65374,126,65306,58,65281,33,8216,96,8245,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"it":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ja":[8211,45,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65292,44,65307,59],"ko":[8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pl":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"pt-BR":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"qps-ploc":[160,32,8211,45,65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"ru":[65374,126,65306,58,65281,33,8216,96,8217,96,8245,96,180,96,12494,47,305,105,921,73,1009,112,215,120,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"tr":[160,32,8211,45,65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65288,40,65289,41,65292,44,65307,59,65311,63],"zh-hans":[65374,126,65306,58,65281,33,8245,96,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65288,40,65289,41],"zh-hant":[8211,45,65374,126,180,96,12494,47,1047,51,1073,54,1072,97,1040,65,1068,98,1042,66,1089,99,1057,67,1077,101,1045,69,1053,72,305,105,1050,75,921,73,1052,77,1086,111,1054,79,1009,112,1088,112,1056,80,1075,114,1058,84,215,120,1093,120,1061,88,1091,121,1059,89,65283,35,65307,59]}'))}static{this.cache=new Zu({getCacheKey:JSON.stringify},e=>{function r(c){let f=new Map;for(let h=0;h<c.length;h+=2)f.set(c[h],c[h+1]);return f}function n(c,f){let h=new Map(c);for(let[g,y]of f)h.set(g,y);return h}function i(c,f){if(!c)return f;let h=new Map;for(let[g,y]of c)f.has(g)&&h.set(g,y);return h}let s=this.ambiguousCharacterData.value,o=e.filter(c=>!c.startsWith("_")&&c in s);o.length===0&&(o=["_default"]);let a;for(let c of o){let f=r(s[c]);a=i(a,f)}let l=r(s._common),u=n(l,a);return new t(u)})}static getInstance(e){return t.cache.get(Array.from(e))}static{this._locales=new ha(()=>Object.keys(t.ambiguousCharacterData.value).filter(e=>!e.startsWith("_")))}static getLocales(){return t._locales.value}constructor(e){this.confusableDictionary=e}isAmbiguous(e){return this.confusableDictionary.has(e)}getPrimaryConfusable(e){return this.confusableDictionary.get(e)}getConfusableCodePoints(){return new Set(this.confusableDictionary.keys())}},ws=class t{static getRawData(){return JSON.parse("[9,10,11,12,13,32,127,160,173,847,1564,4447,4448,6068,6069,6155,6156,6157,6158,7355,7356,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8203,8204,8205,8206,8207,8234,8235,8236,8237,8238,8239,8287,8288,8289,8290,8291,8292,8293,8294,8295,8296,8297,8298,8299,8300,8301,8302,8303,10240,12288,12644,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65279,65440,65520,65521,65522,65523,65524,65525,65526,65527,65528,65532,78844,119155,119156,119157,119158,119159,119160,119161,119162,917504,917505,917506,917507,917508,917509,917510,917511,917512,917513,917514,917515,917516,917517,917518,917519,917520,917521,917522,917523,917524,917525,917526,917527,917528,917529,917530,917531,917532,917533,917534,917535,917536,917537,917538,917539,917540,917541,917542,917543,917544,917545,917546,917547,917548,917549,917550,917551,917552,917553,917554,917555,917556,917557,917558,917559,917560,917561,917562,917563,917564,917565,917566,917567,917568,917569,917570,917571,917572,917573,917574,917575,917576,917577,917578,917579,917580,917581,917582,917583,917584,917585,917586,917587,917588,917589,917590,917591,917592,917593,917594,917595,917596,917597,917598,917599,917600,917601,917602,917603,917604,917605,917606,917607,917608,917609,917610,917611,917612,917613,917614,917615,917616,917617,917618,917619,917620,917621,917622,917623,917624,917625,917626,917627,917628,917629,917630,917631,917760,917761,917762,917763,917764,917765,917766,917767,917768,917769,917770,917771,917772,917773,917774,917775,917776,917777,917778,917779,917780,917781,917782,917783,917784,917785,917786,917787,917788,917789,917790,917791,917792,917793,917794,917795,917796,917797,917798,917799,917800,917801,917802,917803,917804,917805,917806,917807,917808,917809,917810,917811,917812,917813,917814,917815,917816,917817,917818,917819,917820,917821,917822,917823,917824,917825,917826,917827,917828,917829,917830,917831,917832,917833,917834,917835,917836,917837,917838,917839,917840,917841,917842,917843,917844,917845,917846,917847,917848,917849,917850,917851,917852,917853,917854,917855,917856,917857,917858,917859,917860,917861,917862,917863,917864,917865,917866,917867,917868,917869,917870,917871,917872,917873,917874,917875,917876,917877,917878,917879,917880,917881,917882,917883,917884,917885,917886,917887,917888,917889,917890,917891,917892,917893,917894,917895,917896,917897,917898,917899,917900,917901,917902,917903,917904,917905,917906,917907,917908,917909,917910,917911,917912,917913,917914,917915,917916,917917,917918,917919,917920,917921,917922,917923,917924,917925,917926,917927,917928,917929,917930,917931,917932,917933,917934,917935,917936,917937,917938,917939,917940,917941,917942,917943,917944,917945,917946,917947,917948,917949,917950,917951,917952,917953,917954,917955,917956,917957,917958,917959,917960,917961,917962,917963,917964,917965,917966,917967,917968,917969,917970,917971,917972,917973,917974,917975,917976,917977,917978,917979,917980,917981,917982,917983,917984,917985,917986,917987,917988,917989,917990,917991,917992,917993,917994,917995,917996,917997,917998,917999]")}static{this._data=void 0}static getData(){return this._data||(this._data=new Set(t.getRawData())),this._data}static isInvisibleCharacter(e){return t.getData().has(e)}static get codePoints(){return t.getData()}};d();m();p();d();m();p();d();m();p();var xs,Gp=globalThis.vscode;if(typeof Gp<"u"&&typeof Gp.process<"u"){let t=Gp.process;xs={get platform(){return t.platform},get arch(){return t.arch},get env(){return t.env},cwd(){return t.cwd()}}}else typeof C<"u"&&typeof C?.versions?.node=="string"?xs={get platform(){return C.platform},get arch(){return C.arch},get env(){return C.env},cwd(){return C.env.VSCODE_CWD||C.cwd()}}:xs={get platform(){return mi?"win32":_w?"darwin":"linux"},get arch(){},get env(){return{}},cwd(){return"/"}};var pa=xs.cwd,Pw=xs.env,Iw=xs.platform;var jP=65,VP=97,WP=90,HP=122,Tn=46,mt=47,Rt=92,Ln=58,GP=63,ec=class extends Error{constructor(e,r,n){let i;typeof r=="string"&&r.indexOf("not ")===0?(i="must not be",r=r.replace(/^not /,"")):i="must be";let s=e.indexOf(".")!==-1?"property":"argument",o=`The "${e}" ${s} ${i} of type ${r}`;o+=`. Received type ${typeof n}`,super(o),this.code="ERR_INVALID_ARG_TYPE"}};function XP(t,e){if(t===null||typeof t!="object")throw new ec(e,"Object",t)}function et(t,e){if(typeof t!="string")throw new ec(e,"string",t)}var sn=Iw==="win32";function me(t){return t===mt||t===Rt}function Xp(t){return t===mt}function Rn(t){return t>=jP&&t<=WP||t>=VP&&t<=HP}function tc(t,e,r,n){let i="",s=0,o=-1,a=0,l=0;for(let u=0;u<=t.length;++u){if(u<t.length)l=t.charCodeAt(u);else{if(n(l))break;l=mt}if(n(l)){if(!(o===u-1||a===1))if(a===2){if(i.length<2||s!==2||i.charCodeAt(i.length-1)!==Tn||i.charCodeAt(i.length-2)!==Tn){if(i.length>2){let c=i.lastIndexOf(r);c===-1?(i="",s=0):(i=i.slice(0,c),s=i.length-1-i.lastIndexOf(r)),o=u,a=0;continue}else if(i.length!==0){i="",s=0,o=u,a=0;continue}}e&&(i+=i.length>0?`${r}..`:"..",s=2)}else i.length>0?i+=`${r}${t.slice(o+1,u)}`:i=t.slice(o+1,u),s=u-o-1;o=u,a=0}else l===Tn&&a!==-1?++a:a=-1}return i}function QP(t){return t?`${t[0]==="."?"":"."}${t}`:""}function Dw(t,e){XP(e,"pathObject");let r=e.dir||e.root,n=e.base||`${e.name||""}${QP(e.ext)}`;return r?r===e.root?`${r}${n}`:`${r}${t}${n}`:n}var wt={resolve(...t){let e="",r="",n=!1;for(let i=t.length-1;i>=-1;i--){let s;if(i>=0){if(s=t[i],et(s,`paths[${i}]`),s.length===0)continue}else e.length===0?s=pa():(s=Pw[`=${e}`]||pa(),(s===void 0||s.slice(0,2).toLowerCase()!==e.toLowerCase()&&s.charCodeAt(2)===Rt)&&(s=`${e}\\`));let o=s.length,a=0,l="",u=!1,c=s.charCodeAt(0);if(o===1)me(c)&&(a=1,u=!0);else if(me(c))if(u=!0,me(s.charCodeAt(1))){let f=2,h=f;for(;f<o&&!me(s.charCodeAt(f));)f++;if(f<o&&f!==h){let g=s.slice(h,f);for(h=f;f<o&&me(s.charCodeAt(f));)f++;if(f<o&&f!==h){for(h=f;f<o&&!me(s.charCodeAt(f));)f++;(f===o||f!==h)&&(l=`\\\\${g}\\${s.slice(h,f)}`,a=f)}}}else a=1;else Rn(c)&&s.charCodeAt(1)===Ln&&(l=s.slice(0,2),a=2,o>2&&me(s.charCodeAt(2))&&(u=!0,a=3));if(l.length>0)if(e.length>0){if(l.toLowerCase()!==e.toLowerCase())continue}else e=l;if(n){if(e.length>0)break}else if(r=`${s.slice(a)}\\${r}`,n=u,u&&e.length>0)break}return r=tc(r,!n,"\\",me),n?`${e}\\${r}`:`${e}${r}`||"."},normalize(t){et(t,"path");let e=t.length;if(e===0)return".";let r=0,n,i=!1,s=t.charCodeAt(0);if(e===1)return Xp(s)?"\\":t;if(me(s))if(i=!0,me(t.charCodeAt(1))){let a=2,l=a;for(;a<e&&!me(t.charCodeAt(a));)a++;if(a<e&&a!==l){let u=t.slice(l,a);for(l=a;a<e&&me(t.charCodeAt(a));)a++;if(a<e&&a!==l){for(l=a;a<e&&!me(t.charCodeAt(a));)a++;if(a===e)return`\\\\${u}\\${t.slice(l)}\\`;a!==l&&(n=`\\\\${u}\\${t.slice(l,a)}`,r=a)}}}else r=1;else Rn(s)&&t.charCodeAt(1)===Ln&&(n=t.slice(0,2),r=2,e>2&&me(t.charCodeAt(2))&&(i=!0,r=3));let o=r<e?tc(t.slice(r),!i,"\\",me):"";return o.length===0&&!i&&(o="."),o.length>0&&me(t.charCodeAt(e-1))&&(o+="\\"),n===void 0?i?`\\${o}`:o:i?`${n}\\${o}`:`${n}${o}`},isAbsolute(t){et(t,"path");let e=t.length;if(e===0)return!1;let r=t.charCodeAt(0);return me(r)||e>2&&Rn(r)&&t.charCodeAt(1)===Ln&&me(t.charCodeAt(2))},join(...t){if(t.length===0)return".";let e,r;for(let s=0;s<t.length;++s){let o=t[s];et(o,"path"),o.length>0&&(e===void 0?e=r=o:e+=`\\${o}`)}if(e===void 0)return".";let n=!0,i=0;if(typeof r=="string"&&me(r.charCodeAt(0))){++i;let s=r.length;s>1&&me(r.charCodeAt(1))&&(++i,s>2&&(me(r.charCodeAt(2))?++i:n=!1))}if(n){for(;i<e.length&&me(e.charCodeAt(i));)i++;i>=2&&(e=`\\${e.slice(i)}`)}return wt.normalize(e)},relative(t,e){if(et(t,"from"),et(e,"to"),t===e)return"";let r=wt.resolve(t),n=wt.resolve(e);if(r===n||(t=r.toLowerCase(),e=n.toLowerCase(),t===e))return"";let i=0;for(;i<t.length&&t.charCodeAt(i)===Rt;)i++;let s=t.length;for(;s-1>i&&t.charCodeAt(s-1)===Rt;)s--;let o=s-i,a=0;for(;a<e.length&&e.charCodeAt(a)===Rt;)a++;let l=e.length;for(;l-1>a&&e.charCodeAt(l-1)===Rt;)l--;let u=l-a,c=o<u?o:u,f=-1,h=0;for(;h<c;h++){let y=t.charCodeAt(i+h);if(y!==e.charCodeAt(a+h))break;y===Rt&&(f=h)}if(h!==c){if(f===-1)return n}else{if(u>c){if(e.charCodeAt(a+h)===Rt)return n.slice(a+h+1);if(h===2)return n.slice(a+h)}o>c&&(t.charCodeAt(i+h)===Rt?f=h:h===2&&(f=3)),f===-1&&(f=0)}let g="";for(h=i+f+1;h<=s;++h)(h===s||t.charCodeAt(h)===Rt)&&(g+=g.length===0?"..":"\\..");return a+=f,g.length>0?`${g}${n.slice(a,l)}`:(n.charCodeAt(a)===Rt&&++a,n.slice(a,l))},toNamespacedPath(t){if(typeof t!="string"||t.length===0)return t;let e=wt.resolve(t);if(e.length<=2)return t;if(e.charCodeAt(0)===Rt){if(e.charCodeAt(1)===Rt){let r=e.charCodeAt(2);if(r!==GP&&r!==Tn)return`\\\\?\\UNC\\${e.slice(2)}`}}else if(Rn(e.charCodeAt(0))&&e.charCodeAt(1)===Ln&&e.charCodeAt(2)===Rt)return`\\\\?\\${e}`;return t},dirname(t){et(t,"path");let e=t.length;if(e===0)return".";let r=-1,n=0,i=t.charCodeAt(0);if(e===1)return me(i)?t:".";if(me(i)){if(r=n=1,me(t.charCodeAt(1))){let a=2,l=a;for(;a<e&&!me(t.charCodeAt(a));)a++;if(a<e&&a!==l){for(l=a;a<e&&me(t.charCodeAt(a));)a++;if(a<e&&a!==l){for(l=a;a<e&&!me(t.charCodeAt(a));)a++;if(a===e)return t;a!==l&&(r=n=a+1)}}}}else Rn(i)&&t.charCodeAt(1)===Ln&&(r=e>2&&me(t.charCodeAt(2))?3:2,n=r);let s=-1,o=!0;for(let a=e-1;a>=n;--a)if(me(t.charCodeAt(a))){if(!o){s=a;break}}else o=!1;if(s===-1){if(r===-1)return".";s=r}return t.slice(0,s)},basename(t,e){e!==void 0&&et(e,"suffix"),et(t,"path");let r=0,n=-1,i=!0,s;if(t.length>=2&&Rn(t.charCodeAt(0))&&t.charCodeAt(1)===Ln&&(r=2),e!==void 0&&e.length>0&&e.length<=t.length){if(e===t)return"";let o=e.length-1,a=-1;for(s=t.length-1;s>=r;--s){let l=t.charCodeAt(s);if(me(l)){if(!i){r=s+1;break}}else a===-1&&(i=!1,a=s+1),o>=0&&(l===e.charCodeAt(o)?--o===-1&&(n=s):(o=-1,n=a))}return r===n?n=a:n===-1&&(n=t.length),t.slice(r,n)}for(s=t.length-1;s>=r;--s)if(me(t.charCodeAt(s))){if(!i){r=s+1;break}}else n===-1&&(i=!1,n=s+1);return n===-1?"":t.slice(r,n)},extname(t){et(t,"path");let e=0,r=-1,n=0,i=-1,s=!0,o=0;t.length>=2&&t.charCodeAt(1)===Ln&&Rn(t.charCodeAt(0))&&(e=n=2);for(let a=t.length-1;a>=e;--a){let l=t.charCodeAt(a);if(me(l)){if(!s){n=a+1;break}continue}i===-1&&(s=!1,i=a+1),l===Tn?r===-1?r=a:o!==1&&(o=1):r!==-1&&(o=-1)}return r===-1||i===-1||o===0||o===1&&r===i-1&&r===n+1?"":t.slice(r,i)},format:Dw.bind(null,"\\"),parse(t){et(t,"path");let e={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return e;let r=t.length,n=0,i=t.charCodeAt(0);if(r===1)return me(i)?(e.root=e.dir=t,e):(e.base=e.name=t,e);if(me(i)){if(n=1,me(t.charCodeAt(1))){let f=2,h=f;for(;f<r&&!me(t.charCodeAt(f));)f++;if(f<r&&f!==h){for(h=f;f<r&&me(t.charCodeAt(f));)f++;if(f<r&&f!==h){for(h=f;f<r&&!me(t.charCodeAt(f));)f++;f===r?n=f:f!==h&&(n=f+1)}}}}else if(Rn(i)&&t.charCodeAt(1)===Ln){if(r<=2)return e.root=e.dir=t,e;if(n=2,me(t.charCodeAt(2))){if(r===3)return e.root=e.dir=t,e;n=3}}n>0&&(e.root=t.slice(0,n));let s=-1,o=n,a=-1,l=!0,u=t.length-1,c=0;for(;u>=n;--u){if(i=t.charCodeAt(u),me(i)){if(!l){o=u+1;break}continue}a===-1&&(l=!1,a=u+1),i===Tn?s===-1?s=u:c!==1&&(c=1):s!==-1&&(c=-1)}return a!==-1&&(s===-1||c===0||c===1&&s===a-1&&s===o+1?e.base=e.name=t.slice(o,a):(e.name=t.slice(o,s),e.base=t.slice(o,a),e.ext=t.slice(s,a))),o>0&&o!==n?e.dir=t.slice(0,o-1):e.dir=e.root,e},sep:"\\",delimiter:";",win32:null,posix:null},YP=(()=>{if(sn){let t=/\\/g;return()=>{let e=pa().replace(t,"/");return e.slice(e.indexOf("/"))}}return()=>pa()})(),gt={resolve(...t){let e="",r=!1;for(let n=t.length-1;n>=-1&&!r;n--){let i=n>=0?t[n]:YP();et(i,`paths[${n}]`),i.length!==0&&(e=`${i}/${e}`,r=i.charCodeAt(0)===mt)}return e=tc(e,!r,"/",Xp),r?`/${e}`:e.length>0?e:"."},normalize(t){if(et(t,"path"),t.length===0)return".";let e=t.charCodeAt(0)===mt,r=t.charCodeAt(t.length-1)===mt;return t=tc(t,!e,"/",Xp),t.length===0?e?"/":r?"./":".":(r&&(t+="/"),e?`/${t}`:t)},isAbsolute(t){return et(t,"path"),t.length>0&&t.charCodeAt(0)===mt},join(...t){if(t.length===0)return".";let e;for(let r=0;r<t.length;++r){let n=t[r];et(n,"path"),n.length>0&&(e===void 0?e=n:e+=`/${n}`)}return e===void 0?".":gt.normalize(e)},relative(t,e){if(et(t,"from"),et(e,"to"),t===e||(t=gt.resolve(t),e=gt.resolve(e),t===e))return"";let r=1,n=t.length,i=n-r,s=1,o=e.length-s,a=i<o?i:o,l=-1,u=0;for(;u<a;u++){let f=t.charCodeAt(r+u);if(f!==e.charCodeAt(s+u))break;f===mt&&(l=u)}if(u===a)if(o>a){if(e.charCodeAt(s+u)===mt)return e.slice(s+u+1);if(u===0)return e.slice(s+u)}else i>a&&(t.charCodeAt(r+u)===mt?l=u:u===0&&(l=0));let c="";for(u=r+l+1;u<=n;++u)(u===n||t.charCodeAt(u)===mt)&&(c+=c.length===0?"..":"/..");return`${c}${e.slice(s+l)}`},toNamespacedPath(t){return t},dirname(t){if(et(t,"path"),t.length===0)return".";let e=t.charCodeAt(0)===mt,r=-1,n=!0;for(let i=t.length-1;i>=1;--i)if(t.charCodeAt(i)===mt){if(!n){r=i;break}}else n=!1;return r===-1?e?"/":".":e&&r===1?"//":t.slice(0,r)},basename(t,e){e!==void 0&&et(e,"ext"),et(t,"path");let r=0,n=-1,i=!0,s;if(e!==void 0&&e.length>0&&e.length<=t.length){if(e===t)return"";let o=e.length-1,a=-1;for(s=t.length-1;s>=0;--s){let l=t.charCodeAt(s);if(l===mt){if(!i){r=s+1;break}}else a===-1&&(i=!1,a=s+1),o>=0&&(l===e.charCodeAt(o)?--o===-1&&(n=s):(o=-1,n=a))}return r===n?n=a:n===-1&&(n=t.length),t.slice(r,n)}for(s=t.length-1;s>=0;--s)if(t.charCodeAt(s)===mt){if(!i){r=s+1;break}}else n===-1&&(i=!1,n=s+1);return n===-1?"":t.slice(r,n)},extname(t){et(t,"path");let e=-1,r=0,n=-1,i=!0,s=0;for(let o=t.length-1;o>=0;--o){let a=t.charCodeAt(o);if(a===mt){if(!i){r=o+1;break}continue}n===-1&&(i=!1,n=o+1),a===Tn?e===-1?e=o:s!==1&&(s=1):e!==-1&&(s=-1)}return e===-1||n===-1||s===0||s===1&&e===n-1&&e===r+1?"":t.slice(e,n)},format:Dw.bind(null,"/"),parse(t){et(t,"path");let e={root:"",dir:"",base:"",ext:"",name:""};if(t.length===0)return e;let r=t.charCodeAt(0)===mt,n;r?(e.root="/",n=1):n=0;let i=-1,s=0,o=-1,a=!0,l=t.length-1,u=0;for(;l>=n;--l){let c=t.charCodeAt(l);if(c===mt){if(!a){s=l+1;break}continue}o===-1&&(a=!1,o=l+1),c===Tn?i===-1?i=l:u!==1&&(u=1):i!==-1&&(u=-1)}if(o!==-1){let c=s===0&&r?1:s;i===-1||u===0||u===1&&i===o-1&&i===s+1?e.base=e.name=t.slice(c,o):(e.name=t.slice(c,i),e.base=t.slice(c,o),e.ext=t.slice(i,o))}return s>0?e.dir=t.slice(0,s-1):r&&(e.dir="/"),e},sep:"/",delimiter:":",win32:null,posix:null};gt.win32=wt.win32=wt;gt.posix=wt.posix=gt;var D1e=sn?wt.normalize:gt.normalize,Fw=sn?wt.join:gt.join,F1e=sn?wt.resolve:gt.resolve,$1e=sn?wt.relative:gt.relative,U1e=sn?wt.dirname:gt.dirname,B1e=sn?wt.basename:gt.basename,q1e=sn?wt.extname:gt.extname,z1e=sn?wt.sep:gt.sep;var JP=/^\w[\w\d+.-]*$/,ZP=/^\//,KP=/^\/\//;function eI(t,e){if(!t.scheme&&e)throw new Error(`[UriError]: Scheme is missing: {scheme: "", authority: "${t.authority}", path: "${t.path}", query: "${t.query}", fragment: "${t.fragment}"}`);if(t.scheme&&!JP.test(t.scheme))throw new Error("[UriError]: Scheme contains illegal characters.");if(t.path){if(t.authority){if(!ZP.test(t.path))throw new Error('[UriError]: If a URI contains an authority component, then the path component must either be empty or begin with a slash ("/") character')}else if(KP.test(t.path))throw new Error('[UriError]: If a URI does not contain an authority component, then the path cannot begin with two slash characters ("//")')}}function tI(t,e){return!t&&!e?"file":t}function rI(t,e){switch(t){case"https":case"http":case"file":e?e[0]!==pr&&(e=pr+e):e=pr;break}return e}var Fe="",pr="/",nI=/^(([^:/?#]+?):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?/,St=class t{static isUri(e){return e instanceof t?!0:e?typeof e.authority=="string"&&typeof e.fragment=="string"&&typeof e.path=="string"&&typeof e.query=="string"&&typeof e.scheme=="string"&&typeof e.fsPath=="string"&&typeof e.with=="function"&&typeof e.toString=="function":!1}constructor(e,r,n,i,s,o=!1){typeof e=="object"?(this.scheme=e.scheme||Fe,this.authority=e.authority||Fe,this.path=e.path||Fe,this.query=e.query||Fe,this.fragment=e.fragment||Fe):(this.scheme=tI(e,o),this.authority=r||Fe,this.path=rI(this.scheme,n||Fe),this.query=i||Fe,this.fragment=s||Fe,eI(this,o))}get fsPath(){return Qp(this,!1)}with(e){if(!e)return this;let{scheme:r,authority:n,path:i,query:s,fragment:o}=e;return r===void 0?r=this.scheme:r===null&&(r=Fe),n===void 0?n=this.authority:n===null&&(n=Fe),i===void 0?i=this.path:i===null&&(i=Fe),s===void 0?s=this.query:s===null&&(s=Fe),o===void 0?o=this.fragment:o===null&&(o=Fe),r===this.scheme&&n===this.authority&&i===this.path&&s===this.query&&o===this.fragment?this:new Nn(r,n,i,s,o)}static parse(e,r=!1){let n=nI.exec(e);return n?new Nn(n[2]||Fe,rc(n[4]||Fe),rc(n[5]||Fe),rc(n[7]||Fe),rc(n[9]||Fe),r):new Nn(Fe,Fe,Fe,Fe,Fe)}static file(e){let r=Fe;if(mi&&(e=e.replace(/\\/g,pr)),e[0]===pr&&e[1]===pr){let n=e.indexOf(pr,2);n===-1?(r=e.substring(2),e=pr):(r=e.substring(2,n),e=e.substring(n)||pr)}return new Nn("file",r,e,Fe,Fe)}static from(e,r){return new Nn(e.scheme,e.authority,e.path,e.query,e.fragment,r)}static joinPath(e,...r){if(!e.path)throw new Error("[UriError]: cannot call joinPath on URI without path");let n;return mi&&e.scheme==="file"?n=t.file(wt.join(Qp(e,!0),...r)).path:n=gt.join(e.path,...r),e.with({path:n})}toString(e=!1){return Yp(this,e)}toJSON(){return this}static revive(e){if(e){if(e instanceof t)return e;{let r=new Nn(e);return r._formatted=e.external??null,r._fsPath=e._sep===qw?e.fsPath??null:null,r}}else return e}},qw=mi?1:void 0,Nn=class extends St{constructor(){super(...arguments),this._formatted=null,this._fsPath=null}get fsPath(){return this._fsPath||(this._fsPath=Qp(this,!1)),this._fsPath}toString(e=!1){return e?Yp(this,!0):(this._formatted||(this._formatted=Yp(this,!1)),this._formatted)}toJSON(){let e={$mid:1};return this._fsPath&&(e.fsPath=this._fsPath,e._sep=qw),this._formatted&&(e.external=this._formatted),this.path&&(e.path=this.path),this.scheme&&(e.scheme=this.scheme),this.authority&&(e.authority=this.authority),this.query&&(e.query=this.query),this.fragment&&(e.fragment=this.fragment),e}},zw={58:"%3A",47:"%2F",63:"%3F",35:"%23",91:"%5B",93:"%5D",64:"%40",33:"%21",36:"%24",38:"%26",39:"%27",40:"%28",41:"%29",42:"%2A",43:"%2B",44:"%2C",59:"%3B",61:"%3D",32:"%20"};function Uw(t,e,r){let n,i=-1;for(let s=0;s<t.length;s++){let o=t.charCodeAt(s);if(o>=97&&o<=122||o>=65&&o<=90||o>=48&&o<=57||o===45||o===46||o===95||o===126||e&&o===47||r&&o===91||r&&o===93||r&&o===58)i!==-1&&(n+=encodeURIComponent(t.substring(i,s)),i=-1),n!==void 0&&(n+=t.charAt(s));else{n===void 0&&(n=t.substr(0,s));let a=zw[o];a!==void 0?(i!==-1&&(n+=encodeURIComponent(t.substring(i,s)),i=-1),n+=a):i===-1&&(i=s)}}return i!==-1&&(n+=encodeURIComponent(t.substring(i))),n!==void 0?n:t}function iI(t){let e;for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);n===35||n===63?(e===void 0&&(e=t.substr(0,r)),e+=zw[n]):e!==void 0&&(e+=t[r])}return e!==void 0?e:t}function Qp(t,e){let r;return t.authority&&t.path.length>1&&t.scheme==="file"?r=`//${t.authority}${t.path}`:t.path.charCodeAt(0)===47&&(t.path.charCodeAt(1)>=65&&t.path.charCodeAt(1)<=90||t.path.charCodeAt(1)>=97&&t.path.charCodeAt(1)<=122)&&t.path.charCodeAt(2)===58?e?r=t.path.substr(1):r=t.path[1].toLowerCase()+t.path.substr(2):r=t.path,mi&&(r=r.replace(/\//g,"\\")),r}function Yp(t,e){let r=e?iI:Uw,n="",{scheme:i,authority:s,path:o,query:a,fragment:l}=t;if(i&&(n+=i,n+=":"),(s||i==="file")&&(n+=pr,n+=pr),s){let u=s.indexOf("@");if(u!==-1){let c=s.substr(0,u);s=s.substr(u+1),u=c.lastIndexOf(":"),u===-1?n+=r(c,!1,!1):(n+=r(c.substr(0,u),!1,!1),n+=":",n+=r(c.substr(u+1),!1,!0)),n+="@"}s=s.toLowerCase(),u=s.lastIndexOf(":"),u===-1?n+=r(s,!1,!0):(n+=r(s.substr(0,u),!1,!0),n+=s.substr(u))}if(o){if(o.length>=3&&o.charCodeAt(0)===47&&o.charCodeAt(2)===58){let u=o.charCodeAt(1);u>=65&&u<=90&&(o=`/${String.fromCharCode(u+32)}:${o.substr(3)}`)}else if(o.length>=2&&o.charCodeAt(1)===58){let u=o.charCodeAt(0);u>=65&&u<=90&&(o=`${String.fromCharCode(u+32)}:${o.substr(2)}`)}n+=r(o,!0,!1)}return a&&(n+="?",n+=r(a,!1,!1)),l&&(n+="#",n+=e?l:Uw(l,!1,!1)),n}function jw(t){try{return decodeURIComponent(t)}catch{return t.length>3?t.substr(0,3)+jw(t.substr(3)):t}}var Bw=/(%[0-9A-Za-z][0-9A-Za-z])+/g;function rc(t){return t.match(Bw)?t.replace(Bw,e=>jw(e)):t}var Mn;(function(t){t.inMemory="inmemory",t.vscode="vscode",t.internal="private",t.walkThrough="walkThrough",t.walkThroughSnippet="walkThroughSnippet",t.http="http",t.https="https",t.file="file",t.mailto="mailto",t.untitled="untitled",t.data="data",t.command="command",t.vscodeRemote="vscode-remote",t.vscodeRemoteResource="vscode-remote-resource",t.vscodeManagedRemoteResource="vscode-managed-remote-resource",t.vscodeUserData="vscode-userdata",t.vscodeCustomEditor="vscode-custom-editor",t.vscodeNotebookCell="vscode-notebook-cell",t.vscodeNotebookCellMetadata="vscode-notebook-cell-metadata",t.vscodeNotebookCellMetadataDiff="vscode-notebook-cell-metadata-diff",t.vscodeNotebookCellOutput="vscode-notebook-cell-output",t.vscodeNotebookCellOutputDiff="vscode-notebook-cell-output-diff",t.vscodeNotebookMetadata="vscode-notebook-metadata",t.vscodeInteractiveInput="vscode-interactive-input",t.vscodeSettings="vscode-settings",t.vscodeWorkspaceTrust="vscode-workspace-trust",t.vscodeTerminal="vscode-terminal",t.vscodeChatCodeBlock="vscode-chat-code-block",t.vscodeChatCodeCompareBlock="vscode-chat-code-compare-block",t.vscodeChatSesssion="vscode-chat-editor",t.webviewPanel="webview-panel",t.vscodeWebview="vscode-webview",t.extension="extension",t.vscodeFileResource="vscode-file",t.tmp="tmp",t.vsls="vsls",t.vscodeSourceControl="vscode-scm",t.commentsInput="comment",t.codeSetting="code-setting",t.outputChannel="output"})(Mn||(Mn={}));var sI="tkn",Jp=class{constructor(){this._hosts=Object.create(null),this._ports=Object.create(null),this._connectionTokens=Object.create(null),this._preferredWebSchema="http",this._delegate=null,this._serverRootPath="/"}setPreferredWebSchema(e){this._preferredWebSchema=e}get _remoteResourcesPath(){return gt.join(this._serverRootPath,Mn.vscodeRemoteResource)}rewrite(e){if(this._delegate)try{return this._delegate(e)}catch(a){return tn(a),e}let r=e.authority,n=this._hosts[r];n&&n.indexOf(":")!==-1&&n.indexOf("[")===-1&&(n=`[${n}]`);let i=this._ports[r],s=this._connectionTokens[r],o=`path=${encodeURIComponent(e.path)}`;return typeof s=="string"&&(o+=`&${sI}=${encodeURIComponent(s)}`),St.from({scheme:Vp?this._preferredWebSchema:Mn.vscodeRemoteResource,authority:`${n}:${i}`,path:this._remoteResourcesPath,query:o})}},oI=new Jp,aI="vscode-app",Zp=class t{static{this.FALLBACK_AUTHORITY=aI}asBrowserUri(e){let r=this.toUri(e);return this.uriToBrowserUri(r)}uriToBrowserUri(e){return e.scheme===Mn.vscodeRemote?oI.rewrite(e):e.scheme===Mn.file&&(Cw||Ew===`${Mn.vscodeFileResource}://${t.FALLBACK_AUTHORITY}`)?e.with({scheme:Mn.vscodeFileResource,authority:e.authority||t.FALLBACK_AUTHORITY,query:null,fragment:null}):e}toUri(e,r){if(St.isUri(e))return e;if(globalThis._VSCODE_FILE_ROOT){let n=globalThis._VSCODE_FILE_ROOT;if(/^\w[\w\d+.-]*:\/\//.test(n))return St.joinPath(St.parse(n,!0),e);let i=Fw(n,e);return St.file(i)}return St.parse(r.toUrl(e))}},nc=new Zp,Vw;(function(t){let e=new Map([["1",{"Cross-Origin-Opener-Policy":"same-origin"}],["2",{"Cross-Origin-Embedder-Policy":"require-corp"}],["3",{"Cross-Origin-Opener-Policy":"same-origin","Cross-Origin-Embedder-Policy":"require-corp"}]]);t.CoopAndCoep=Object.freeze(e.get("3"));let r="vscode-coi";function n(s){let o;typeof s=="string"?o=new URL(s).searchParams:s instanceof URL?o=s.searchParams:St.isUri(s)&&(o=new URL(s.toString(!0)).searchParams);let a=o?.get(r);if(a)return e.get(a)}t.getHeadersFromQuery=n;function i(s,o,a){if(!globalThis.crossOriginIsolated)return;let l=o&&a?"3":a?"2":"1";s instanceof URLSearchParams?s.set(r,l):s[r]=l}t.addSearchParam=i})(Vw||(Vw={}));var lI=!0,Kp="default",uI="$initialize";var e0=class{constructor(e,r,n,i,s){this.vsWorker=e,this.req=r,this.channel=n,this.method=i,this.args=s,this.type=0}},ic=class{constructor(e,r,n,i){this.vsWorker=e,this.seq=r,this.res=n,this.err=i,this.type=1}},t0=class{constructor(e,r,n,i,s){this.vsWorker=e,this.req=r,this.channel=n,this.eventName=i,this.arg=s,this.type=2}},r0=class{constructor(e,r,n){this.vsWorker=e,this.req=r,this.event=n,this.type=3}},n0=class{constructor(e,r){this.vsWorker=e,this.req=r,this.type=4}},i0=class{constructor(e){this._workerId=-1,this._handler=e,this._lastSentReq=0,this._pendingReplies=Object.create(null),this._pendingEmitters=new Map,this._pendingEvents=new Map}setWorkerId(e){this._workerId=e}sendMessage(e,r,n){let i=String(++this._lastSentReq);return new Promise((s,o)=>{this._pendingReplies[i]={resolve:s,reject:o},this._send(new e0(this._workerId,i,e,r,n))})}listen(e,r,n){let i=null,s=new lt({onWillAddFirstListener:()=>{i=String(++this._lastSentReq),this._pendingEmitters.set(i,s),this._send(new t0(this._workerId,i,e,r,n))},onDidRemoveLastListener:()=>{this._pendingEmitters.delete(i),this._send(new n0(this._workerId,i)),i=null}});return s.event}handleMessage(e){!e||!e.vsWorker||this._workerId!==-1&&e.vsWorker!==this._workerId||this._handleMessage(e)}createProxyToRemoteChannel(e,r){let n={get:(i,s)=>(typeof s=="string"&&!i[s]&&(Hw(s)?i[s]=o=>this.listen(e,s,o):Ww(s)?i[s]=this.listen(e,s,void 0):s.charCodeAt(0)===36&&(i[s]=async(...o)=>(await r?.(),this.sendMessage(e,s,o)))),i[s])};return new Proxy(Object.create(null),n)}_handleMessage(e){switch(e.type){case 1:return this._handleReplyMessage(e);case 0:return this._handleRequestMessage(e);case 2:return this._handleSubscribeEventMessage(e);case 3:return this._handleEventMessage(e);case 4:return this._handleUnsubscribeEventMessage(e)}}_handleReplyMessage(e){if(!this._pendingReplies[e.seq]){console.warn("Got reply to unknown seq");return}let r=this._pendingReplies[e.seq];if(delete this._pendingReplies[e.seq],e.err){let n=e.err;e.err.$isError&&(n=new Error,n.name=e.err.name,n.message=e.err.message,n.stack=e.err.stack),r.reject(n);return}r.resolve(e.res)}_handleRequestMessage(e){let r=e.req;this._handler.handleMessage(e.channel,e.method,e.args).then(i=>{this._send(new ic(this._workerId,r,i,void 0))},i=>{i.detail instanceof Error&&(i.detail=Rp(i.detail)),this._send(new ic(this._workerId,r,void 0,Rp(i)))})}_handleSubscribeEventMessage(e){let r=e.req,n=this._handler.handleEvent(e.channel,e.eventName,e.arg)(i=>{this._send(new r0(this._workerId,r,i))});this._pendingEvents.set(r,n)}_handleEventMessage(e){if(!this._pendingEmitters.has(e.req)){console.warn("Got event for unknown req");return}this._pendingEmitters.get(e.req).fire(e.event)}_handleUnsubscribeEventMessage(e){if(!this._pendingEvents.has(e.req)){console.warn("Got unsubscribe for unknown req");return}this._pendingEvents.get(e.req).dispose(),this._pendingEvents.delete(e.req)}_send(e){let r=[];if(e.type===0)for(let n=0;n<e.args.length;n++)e.args[n]instanceof ArrayBuffer&&r.push(e.args[n]);else e.type===1&&e.res instanceof ArrayBuffer&&r.push(e.res);this._handler.sendMessage(e,r)}};function Ww(t){return t[0]==="o"&&t[1]==="n"&&Wp(t.charCodeAt(2))}function Hw(t){return/^onDynamic/.test(t)&&Wp(t.charCodeAt(9))}var sc=class{constructor(e,r){this._localChannels=new Map,this._remoteChannels=new Map,this._requestHandlerFactory=r,this._requestHandler=null,this._protocol=new i0({sendMessage:(n,i)=>{e(n,i)},handleMessage:(n,i,s)=>this._handleMessage(n,i,s),handleEvent:(n,i,s)=>this._handleEvent(n,i,s)})}onmessage(e){this._protocol.handleMessage(e)}_handleMessage(e,r,n){if(e===Kp&&r===uI)return this.initialize(n[0],n[1],n[2]);let i=e===Kp?this._requestHandler:this._localChannels.get(e);if(!i)return Promise.reject(new Error(`Missing channel ${e} on worker thread`));if(typeof i[r]!="function")return Promise.reject(new Error(`Missing method ${r} on worker thread channel ${e}`));try{return Promise.resolve(i[r].apply(i,n))}catch(s){return Promise.reject(s)}}_handleEvent(e,r,n){let i=e===Kp?this._requestHandler:this._localChannels.get(e);if(!i)throw new Error(`Missing channel ${e} on worker thread`);if(Hw(r)){let s=i[r].call(i,n);if(typeof s!="function")throw new Error(`Missing dynamic event ${r} on request handler.`);return s}if(Ww(r)){let s=i[r];if(typeof s!="function")throw new Error(`Missing event ${r} on request handler.`);return s}throw new Error(`Malformed event name ${r}`)}getChannel(e){if(!this._remoteChannels.has(e)){let r=this._protocol.createProxyToRemoteChannel(e);this._remoteChannels.set(e,r)}return this._remoteChannels.get(e)}async initialize(e,r,n){if(this._protocol.setWorkerId(e),this._requestHandlerFactory){this._requestHandler=this._requestHandlerFactory(this);return}return r&&(typeof r.baseUrl<"u"&&delete r.baseUrl,typeof r.paths<"u"&&typeof r.paths.vs<"u"&&delete r.paths.vs,typeof r.trustedTypesPolicy<"u"&&delete r.trustedTypesPolicy,r.catchError=!0,globalThis.require.config(r)),lI?import(`${nc.asBrowserUri(`${n}.js`).toString(!0)}`).then(s=>{if(this._requestHandler=s.create(this),!this._requestHandler)throw new Error("No RequestHandler!")}):new Promise((i,s)=>{let o=globalThis.require;o([n],a=>{if(this._requestHandler=a.create(this),!this._requestHandler){s(new Error("No RequestHandler!"));return}i()},s)})}};d();m();p();d();m();p();d();m();p();var mr=class{constructor(e,r,n,i){this.originalStart=e,this.originalLength=r,this.modifiedStart=n,this.modifiedLength=i}getOriginalEnd(){return this.originalStart+this.originalLength}getModifiedEnd(){return this.modifiedStart+this.modifiedLength}};d();m();p();function Gw(t,e){return(e<<5)-e+t|0}function Yw(t,e){e=Gw(149417,e);for(let r=0,n=t.length;r<n;r++)e=Gw(t.charCodeAt(r),e);return e}function s0(t,e,r=32){let n=r-e,i=~((1<<n)-1);return(t<<e|(i&t)>>>n)>>>0}function Xw(t,e=0,r=t.byteLength,n=0){for(let i=0;i<r;i++)t[e+i]=n}function cI(t,e,r="0"){for(;t.length<e;)t=r+t;return t}function ma(t,e=32){return t instanceof ArrayBuffer?Array.from(new Uint8Array(t)).map(r=>r.toString(16).padStart(2,"0")).join(""):cI((t>>>0).toString(16),e/4)}var Qw=class t{static{this._bigBlock32=new DataView(new ArrayBuffer(320))}constructor(){this._h0=1732584193,this._h1=4023233417,this._h2=2562383102,this._h3=271733878,this._h4=3285377520,this._buff=new Uint8Array(67),this._buffDV=new DataView(this._buff.buffer),this._buffLen=0,this._totalLen=0,this._leftoverHighSurrogate=0,this._finished=!1}update(e){let r=e.length;if(r===0)return;let n=this._buff,i=this._buffLen,s=this._leftoverHighSurrogate,o,a;for(s!==0?(o=s,a=-1,s=0):(o=e.charCodeAt(0),a=0);;){let l=o;if(ys(o))if(a+1<r){let u=e.charCodeAt(a+1);Ku(u)?(a++,l=Hp(o,u)):l=65533}else{s=o;break}else Ku(o)&&(l=65533);if(i=this._push(n,i,l),a++,a<r)o=e.charCodeAt(a);else break}this._buffLen=i,this._leftoverHighSurrogate=s}_push(e,r,n){return n<128?e[r++]=n:n<2048?(e[r++]=192|(n&1984)>>>6,e[r++]=128|(n&63)>>>0):n<65536?(e[r++]=224|(n&61440)>>>12,e[r++]=128|(n&4032)>>>6,e[r++]=128|(n&63)>>>0):(e[r++]=240|(n&1835008)>>>18,e[r++]=128|(n&258048)>>>12,e[r++]=128|(n&4032)>>>6,e[r++]=128|(n&63)>>>0),r>=64&&(this._step(),r-=64,this._totalLen+=64,e[0]=e[64],e[1]=e[65],e[2]=e[66]),r}digest(){return this._finished||(this._finished=!0,this._leftoverHighSurrogate&&(this._leftoverHighSurrogate=0,this._buffLen=this._push(this._buff,this._buffLen,65533)),this._totalLen+=this._buffLen,this._wrapUp()),ma(this._h0)+ma(this._h1)+ma(this._h2)+ma(this._h3)+ma(this._h4)}_wrapUp(){this._buff[this._buffLen++]=128,Xw(this._buff,this._buffLen),this._buffLen>56&&(this._step(),Xw(this._buff));let e=8*this._totalLen;this._buffDV.setUint32(56,Math.floor(e/4294967296),!1),this._buffDV.setUint32(60,e%4294967296,!1),this._step()}_step(){let e=t._bigBlock32,r=this._buffDV;for(let f=0;f<64;f+=4)e.setUint32(f,r.getUint32(f,!1),!1);for(let f=64;f<320;f+=4)e.setUint32(f,s0(e.getUint32(f-12,!1)^e.getUint32(f-32,!1)^e.getUint32(f-56,!1)^e.getUint32(f-64,!1),1),!1);let n=this._h0,i=this._h1,s=this._h2,o=this._h3,a=this._h4,l,u,c;for(let f=0;f<80;f++)f<20?(l=i&s|~i&o,u=1518500249):f<40?(l=i^s^o,u=1859775393):f<60?(l=i&s|i&o|s&o,u=2400959708):(l=i^s^o,u=3395469782),c=s0(n,5)+l+a+u+e.getUint32(f*4,!1)&4294967295,a=o,o=s,s=s0(i,30),i=n,n=c;this._h0=this._h0+n&4294967295,this._h1=this._h1+i&4294967295,this._h2=this._h2+s&4294967295,this._h3=this._h3+o&4294967295,this._h4=this._h4+a&4294967295}};var oc=class{constructor(e){this.source=e}getElements(){let e=this.source,r=new Int32Array(e.length);for(let n=0,i=e.length;n<i;n++)r[n]=e.charCodeAt(n);return r}};function Jw(t,e,r){return new ga(new oc(t),new oc(e)).ComputeDiff(r).changes}var On=class{static Assert(e,r){if(!e)throw new Error(r)}},Pn=class{static Copy(e,r,n,i,s){for(let o=0;o<s;o++)n[i+o]=e[r+o]}static Copy2(e,r,n,i,s){for(let o=0;o<s;o++)n[i+o]=e[r+o]}},ac=class{constructor(){this.m_changes=[],this.m_originalStart=1073741824,this.m_modifiedStart=1073741824,this.m_originalCount=0,this.m_modifiedCount=0}MarkNextChange(){(this.m_originalCount>0||this.m_modifiedCount>0)&&this.m_changes.push(new mr(this.m_originalStart,this.m_originalCount,this.m_modifiedStart,this.m_modifiedCount)),this.m_originalCount=0,this.m_modifiedCount=0,this.m_originalStart=1073741824,this.m_modifiedStart=1073741824}AddOriginalElement(e,r){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,r),this.m_originalCount++}AddModifiedElement(e,r){this.m_originalStart=Math.min(this.m_originalStart,e),this.m_modifiedStart=Math.min(this.m_modifiedStart,r),this.m_modifiedCount++}getChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes}getReverseChanges(){return(this.m_originalCount>0||this.m_modifiedCount>0)&&this.MarkNextChange(),this.m_changes.reverse(),this.m_changes}},ga=class t{constructor(e,r,n=null){this.ContinueProcessingPredicate=n,this._originalSequence=e,this._modifiedSequence=r;let[i,s,o]=t._getElements(e),[a,l,u]=t._getElements(r);this._hasStrings=o&&u,this._originalStringElements=i,this._originalElementsOrHash=s,this._modifiedStringElements=a,this._modifiedElementsOrHash=l,this.m_forwardHistory=[],this.m_reverseHistory=[]}static _isStringArray(e){return e.length>0&&typeof e[0]=="string"}static _getElements(e){let r=e.getElements();if(t._isStringArray(r)){let n=new Int32Array(r.length);for(let i=0,s=r.length;i<s;i++)n[i]=Yw(r[i],0);return[r,n,!0]}return r instanceof Int32Array?[[],r,!1]:[[],new Int32Array(r),!1]}ElementsAreEqual(e,r){return this._originalElementsOrHash[e]!==this._modifiedElementsOrHash[r]?!1:this._hasStrings?this._originalStringElements[e]===this._modifiedStringElements[r]:!0}ElementsAreStrictEqual(e,r){if(!this.ElementsAreEqual(e,r))return!1;let n=t._getStrictElement(this._originalSequence,e),i=t._getStrictElement(this._modifiedSequence,r);return n===i}static _getStrictElement(e,r){return typeof e.getStrictElement=="function"?e.getStrictElement(r):null}OriginalElementsAreEqual(e,r){return this._originalElementsOrHash[e]!==this._originalElementsOrHash[r]?!1:this._hasStrings?this._originalStringElements[e]===this._originalStringElements[r]:!0}ModifiedElementsAreEqual(e,r){return this._modifiedElementsOrHash[e]!==this._modifiedElementsOrHash[r]?!1:this._hasStrings?this._modifiedStringElements[e]===this._modifiedStringElements[r]:!0}ComputeDiff(e){return this._ComputeDiff(0,this._originalElementsOrHash.length-1,0,this._modifiedElementsOrHash.length-1,e)}_ComputeDiff(e,r,n,i,s){let o=[!1],a=this.ComputeDiffRecursive(e,r,n,i,o);return s&&(a=this.PrettifyChanges(a)),{quitEarly:o[0],changes:a}}ComputeDiffRecursive(e,r,n,i,s){for(s[0]=!1;e<=r&&n<=i&&this.ElementsAreEqual(e,n);)e++,n++;for(;r>=e&&i>=n&&this.ElementsAreEqual(r,i);)r--,i--;if(e>r||n>i){let f;return n<=i?(On.Assert(e===r+1,"originalStart should only be one more than originalEnd"),f=[new mr(e,0,n,i-n+1)]):e<=r?(On.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),f=[new mr(e,r-e+1,n,0)]):(On.Assert(e===r+1,"originalStart should only be one more than originalEnd"),On.Assert(n===i+1,"modifiedStart should only be one more than modifiedEnd"),f=[]),f}let o=[0],a=[0],l=this.ComputeRecursionPoint(e,r,n,i,o,a,s),u=o[0],c=a[0];if(l!==null)return l;if(!s[0]){let f=this.ComputeDiffRecursive(e,u,n,c,s),h=[];return s[0]?h=[new mr(u+1,r-(u+1)+1,c+1,i-(c+1)+1)]:h=this.ComputeDiffRecursive(u+1,r,c+1,i,s),this.ConcatenateChanges(f,h)}return[new mr(e,r-e+1,n,i-n+1)]}WALKTRACE(e,r,n,i,s,o,a,l,u,c,f,h,g,y,S,x,_,k){let T=null,N=null,L=new ac,P=r,D=n,$=g[0]-x[0]-i,Q=-1073741824,O=this.m_forwardHistory.length-1;do{let I=$+e;I===P||I<D&&u[I-1]<u[I+1]?(f=u[I+1],y=f-$-i,f<Q&&L.MarkNextChange(),Q=f,L.AddModifiedElement(f+1,y),$=I+1-e):(f=u[I-1]+1,y=f-$-i,f<Q&&L.MarkNextChange(),Q=f-1,L.AddOriginalElement(f,y+1),$=I-1-e),O>=0&&(u=this.m_forwardHistory[O],e=u[0],P=1,D=u.length-1)}while(--O>=-1);if(T=L.getReverseChanges(),k[0]){let I=g[0]+1,z=x[0]+1;if(T!==null&&T.length>0){let G=T[T.length-1];I=Math.max(I,G.getOriginalEnd()),z=Math.max(z,G.getModifiedEnd())}N=[new mr(I,h-I+1,z,S-z+1)]}else{L=new ac,P=o,D=a,$=g[0]-x[0]-l,Q=1073741824,O=_?this.m_reverseHistory.length-1:this.m_reverseHistory.length-2;do{let I=$+s;I===P||I<D&&c[I-1]>=c[I+1]?(f=c[I+1]-1,y=f-$-l,f>Q&&L.MarkNextChange(),Q=f+1,L.AddOriginalElement(f+1,y+1),$=I+1-s):(f=c[I-1],y=f-$-l,f>Q&&L.MarkNextChange(),Q=f,L.AddModifiedElement(f+1,y+1),$=I-1-s),O>=0&&(c=this.m_reverseHistory[O],s=c[0],P=1,D=c.length-1)}while(--O>=-1);N=L.getChanges()}return this.ConcatenateChanges(T,N)}ComputeRecursionPoint(e,r,n,i,s,o,a){let l=0,u=0,c=0,f=0,h=0,g=0;e--,n--,s[0]=0,o[0]=0,this.m_forwardHistory=[],this.m_reverseHistory=[];let y=r-e+(i-n),S=y+1,x=new Int32Array(S),_=new Int32Array(S),k=i-n,T=r-e,N=e-n,L=r-i,D=(T-k)%2===0;x[k]=e,_[T]=r,a[0]=!1;for(let $=1;$<=y/2+1;$++){let Q=0,O=0;c=this.ClipDiagonalBound(k-$,$,k,S),f=this.ClipDiagonalBound(k+$,$,k,S);for(let z=c;z<=f;z+=2){z===c||z<f&&x[z-1]<x[z+1]?l=x[z+1]:l=x[z-1]+1,u=l-(z-k)-N;let G=l;for(;l<r&&u<i&&this.ElementsAreEqual(l+1,u+1);)l++,u++;if(x[z]=l,l+u>Q+O&&(Q=l,O=u),!D&&Math.abs(z-T)<=$-1&&l>=_[z])return s[0]=l,o[0]=u,G<=_[z]&&$<=1448?this.WALKTRACE(k,c,f,N,T,h,g,L,x,_,l,r,s,u,i,o,D,a):null}let I=(Q-e+(O-n)-$)/2;if(this.ContinueProcessingPredicate!==null&&!this.ContinueProcessingPredicate(Q,I))return a[0]=!0,s[0]=Q,o[0]=O,I>0&&$<=1448?this.WALKTRACE(k,c,f,N,T,h,g,L,x,_,l,r,s,u,i,o,D,a):(e++,n++,[new mr(e,r-e+1,n,i-n+1)]);h=this.ClipDiagonalBound(T-$,$,T,S),g=this.ClipDiagonalBound(T+$,$,T,S);for(let z=h;z<=g;z+=2){z===h||z<g&&_[z-1]>=_[z+1]?l=_[z+1]-1:l=_[z-1],u=l-(z-T)-L;let G=l;for(;l>e&&u>n&&this.ElementsAreEqual(l,u);)l--,u--;if(_[z]=l,D&&Math.abs(z-k)<=$&&l<=x[z])return s[0]=l,o[0]=u,G>=x[z]&&$<=1448?this.WALKTRACE(k,c,f,N,T,h,g,L,x,_,l,r,s,u,i,o,D,a):null}if($<=1447){let z=new Int32Array(f-c+2);z[0]=k-c+1,Pn.Copy2(x,c,z,1,f-c+1),this.m_forwardHistory.push(z),z=new Int32Array(g-h+2),z[0]=T-h+1,Pn.Copy2(_,h,z,1,g-h+1),this.m_reverseHistory.push(z)}}return this.WALKTRACE(k,c,f,N,T,h,g,L,x,_,l,r,s,u,i,o,D,a)}PrettifyChanges(e){for(let r=0;r<e.length;r++){let n=e[r],i=r<e.length-1?e[r+1].originalStart:this._originalElementsOrHash.length,s=r<e.length-1?e[r+1].modifiedStart:this._modifiedElementsOrHash.length,o=n.originalLength>0,a=n.modifiedLength>0;for(;n.originalStart+n.originalLength<i&&n.modifiedStart+n.modifiedLength<s&&(!o||this.OriginalElementsAreEqual(n.originalStart,n.originalStart+n.originalLength))&&(!a||this.ModifiedElementsAreEqual(n.modifiedStart,n.modifiedStart+n.modifiedLength));){let u=this.ElementsAreStrictEqual(n.originalStart,n.modifiedStart);if(this.ElementsAreStrictEqual(n.originalStart+n.originalLength,n.modifiedStart+n.modifiedLength)&&!u)break;n.originalStart++,n.modifiedStart++}let l=[null];if(r<e.length-1&&this.ChangesOverlap(e[r],e[r+1],l)){e[r]=l[0],e.splice(r+1,1),r--;continue}}for(let r=e.length-1;r>=0;r--){let n=e[r],i=0,s=0;if(r>0){let f=e[r-1];i=f.originalStart+f.originalLength,s=f.modifiedStart+f.modifiedLength}let o=n.originalLength>0,a=n.modifiedLength>0,l=0,u=this._boundaryScore(n.originalStart,n.originalLength,n.modifiedStart,n.modifiedLength);for(let f=1;;f++){let h=n.originalStart-f,g=n.modifiedStart-f;if(h<i||g<s||o&&!this.OriginalElementsAreEqual(h,h+n.originalLength)||a&&!this.ModifiedElementsAreEqual(g,g+n.modifiedLength))break;let S=(h===i&&g===s?5:0)+this._boundaryScore(h,n.originalLength,g,n.modifiedLength);S>u&&(u=S,l=f)}n.originalStart-=l,n.modifiedStart-=l;let c=[null];if(r>0&&this.ChangesOverlap(e[r-1],e[r],c)){e[r-1]=c[0],e.splice(r,1),r++;continue}}if(this._hasStrings)for(let r=1,n=e.length;r<n;r++){let i=e[r-1],s=e[r],o=s.originalStart-i.originalStart-i.originalLength,a=i.originalStart,l=s.originalStart+s.originalLength,u=l-a,c=i.modifiedStart,f=s.modifiedStart+s.modifiedLength,h=f-c;if(o<5&&u<20&&h<20){let g=this._findBetterContiguousSequence(a,u,c,h,o);if(g){let[y,S]=g;(y!==i.originalStart+i.originalLength||S!==i.modifiedStart+i.modifiedLength)&&(i.originalLength=y-i.originalStart,i.modifiedLength=S-i.modifiedStart,s.originalStart=y+o,s.modifiedStart=S+o,s.originalLength=l-s.originalStart,s.modifiedLength=f-s.modifiedStart)}}}return e}_findBetterContiguousSequence(e,r,n,i,s){if(r<s||i<s)return null;let o=e+r-s+1,a=n+i-s+1,l=0,u=0,c=0;for(let f=e;f<o;f++)for(let h=n;h<a;h++){let g=this._contiguousSequenceScore(f,h,s);g>0&&g>l&&(l=g,u=f,c=h)}return l>0?[u,c]:null}_contiguousSequenceScore(e,r,n){let i=0;for(let s=0;s<n;s++){if(!this.ElementsAreEqual(e+s,r+s))return 0;i+=this._originalStringElements[e+s].length}return i}_OriginalIsBoundary(e){return e<=0||e>=this._originalElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._originalStringElements[e])}_OriginalRegionIsBoundary(e,r){if(this._OriginalIsBoundary(e)||this._OriginalIsBoundary(e-1))return!0;if(r>0){let n=e+r;if(this._OriginalIsBoundary(n-1)||this._OriginalIsBoundary(n))return!0}return!1}_ModifiedIsBoundary(e){return e<=0||e>=this._modifiedElementsOrHash.length-1?!0:this._hasStrings&&/^\s*$/.test(this._modifiedStringElements[e])}_ModifiedRegionIsBoundary(e,r){if(this._ModifiedIsBoundary(e)||this._ModifiedIsBoundary(e-1))return!0;if(r>0){let n=e+r;if(this._ModifiedIsBoundary(n-1)||this._ModifiedIsBoundary(n))return!0}return!1}_boundaryScore(e,r,n,i){let s=this._OriginalRegionIsBoundary(e,r)?1:0,o=this._ModifiedRegionIsBoundary(n,i)?1:0;return s+o}ConcatenateChanges(e,r){let n=[];if(e.length===0||r.length===0)return r.length>0?r:e;if(this.ChangesOverlap(e[e.length-1],r[0],n)){let i=new Array(e.length+r.length-1);return Pn.Copy(e,0,i,0,e.length-1),i[e.length-1]=n[0],Pn.Copy(r,1,i,e.length,r.length-1),i}else{let i=new Array(e.length+r.length);return Pn.Copy(e,0,i,0,e.length),Pn.Copy(r,0,i,e.length,r.length),i}}ChangesOverlap(e,r,n){if(On.Assert(e.originalStart<=r.originalStart,"Left change is not less than or equal to right change"),On.Assert(e.modifiedStart<=r.modifiedStart,"Left change is not less than or equal to right change"),e.originalStart+e.originalLength>=r.originalStart||e.modifiedStart+e.modifiedLength>=r.modifiedStart){let i=e.originalStart,s=e.originalLength,o=e.modifiedStart,a=e.modifiedLength;return e.originalStart+e.originalLength>=r.originalStart&&(s=r.originalStart+r.originalLength-e.originalStart),e.modifiedStart+e.modifiedLength>=r.modifiedStart&&(a=r.modifiedStart+r.modifiedLength-e.modifiedStart),n[0]=new mr(i,s,o,a),!0}else return n[0]=null,!1}ClipDiagonalBound(e,r,n,i){if(e>=0&&e<i)return e;let s=n,o=i-n-1,a=r%2===0;if(e<0){let l=s%2===0;return a===l?0:1}else{let l=o%2===0;return a===l?i-1:i-2}}};d();m();p();d();m();p();var Ce=class t{constructor(e,r){this.lineNumber=e,this.column=r}with(e=this.lineNumber,r=this.column){return e===this.lineNumber&&r===this.column?this:new t(e,r)}delta(e=0,r=0){return this.with(this.lineNumber+e,this.column+r)}equals(e){return t.equals(this,e)}static equals(e,r){return!e&&!r?!0:!!e&&!!r&&e.lineNumber===r.lineNumber&&e.column===r.column}isBefore(e){return t.isBefore(this,e)}static isBefore(e,r){return e.lineNumber<r.lineNumber?!0:r.lineNumber<e.lineNumber?!1:e.column<r.column}isBeforeOrEqual(e){return t.isBeforeOrEqual(this,e)}static isBeforeOrEqual(e,r){return e.lineNumber<r.lineNumber?!0:r.lineNumber<e.lineNumber?!1:e.column<=r.column}static compare(e,r){let n=e.lineNumber|0,i=r.lineNumber|0;if(n===i){let s=e.column|0,o=r.column|0;return s-o}return n-i}clone(){return new t(this.lineNumber,this.column)}toString(){return"("+this.lineNumber+","+this.column+")"}static lift(e){return new t(e.lineNumber,e.column)}static isIPosition(e){return e&&typeof e.lineNumber=="number"&&typeof e.column=="number"}toJSON(){return{lineNumber:this.lineNumber,column:this.column}}};var ce=class t{constructor(e,r,n,i){e>n||e===n&&r>i?(this.startLineNumber=n,this.startColumn=i,this.endLineNumber=e,this.endColumn=r):(this.startLineNumber=e,this.startColumn=r,this.endLineNumber=n,this.endColumn=i)}isEmpty(){return t.isEmpty(this)}static isEmpty(e){return e.startLineNumber===e.endLineNumber&&e.startColumn===e.endColumn}containsPosition(e){return t.containsPosition(this,e)}static containsPosition(e,r){return!(r.lineNumber<e.startLineNumber||r.lineNumber>e.endLineNumber||r.lineNumber===e.startLineNumber&&r.column<e.startColumn||r.lineNumber===e.endLineNumber&&r.column>e.endColumn)}static strictContainsPosition(e,r){return!(r.lineNumber<e.startLineNumber||r.lineNumber>e.endLineNumber||r.lineNumber===e.startLineNumber&&r.column<=e.startColumn||r.lineNumber===e.endLineNumber&&r.column>=e.endColumn)}containsRange(e){return t.containsRange(this,e)}static containsRange(e,r){return!(r.startLineNumber<e.startLineNumber||r.endLineNumber<e.startLineNumber||r.startLineNumber>e.endLineNumber||r.endLineNumber>e.endLineNumber||r.startLineNumber===e.startLineNumber&&r.startColumn<e.startColumn||r.endLineNumber===e.endLineNumber&&r.endColumn>e.endColumn)}strictContainsRange(e){return t.strictContainsRange(this,e)}static strictContainsRange(e,r){return!(r.startLineNumber<e.startLineNumber||r.endLineNumber<e.startLineNumber||r.startLineNumber>e.endLineNumber||r.endLineNumber>e.endLineNumber||r.startLineNumber===e.startLineNumber&&r.startColumn<=e.startColumn||r.endLineNumber===e.endLineNumber&&r.endColumn>=e.endColumn)}plusRange(e){return t.plusRange(this,e)}static plusRange(e,r){let n,i,s,o;return r.startLineNumber<e.startLineNumber?(n=r.startLineNumber,i=r.startColumn):r.startLineNumber===e.startLineNumber?(n=r.startLineNumber,i=Math.min(r.startColumn,e.startColumn)):(n=e.startLineNumber,i=e.startColumn),r.endLineNumber>e.endLineNumber?(s=r.endLineNumber,o=r.endColumn):r.endLineNumber===e.endLineNumber?(s=r.endLineNumber,o=Math.max(r.endColumn,e.endColumn)):(s=e.endLineNumber,o=e.endColumn),new t(n,i,s,o)}intersectRanges(e){return t.intersectRanges(this,e)}static intersectRanges(e,r){let n=e.startLineNumber,i=e.startColumn,s=e.endLineNumber,o=e.endColumn,a=r.startLineNumber,l=r.startColumn,u=r.endLineNumber,c=r.endColumn;return n<a?(n=a,i=l):n===a&&(i=Math.max(i,l)),s>u?(s=u,o=c):s===u&&(o=Math.min(o,c)),n>s||n===s&&i>o?null:new t(n,i,s,o)}equalsRange(e){return t.equalsRange(this,e)}static equalsRange(e,r){return!e&&!r?!0:!!e&&!!r&&e.startLineNumber===r.startLineNumber&&e.startColumn===r.startColumn&&e.endLineNumber===r.endLineNumber&&e.endColumn===r.endColumn}getEndPosition(){return t.getEndPosition(this)}static getEndPosition(e){return new Ce(e.endLineNumber,e.endColumn)}getStartPosition(){return t.getStartPosition(this)}static getStartPosition(e){return new Ce(e.startLineNumber,e.startColumn)}toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+this.endLineNumber+","+this.endColumn+"]"}setEndPosition(e,r){return new t(this.startLineNumber,this.startColumn,e,r)}setStartPosition(e,r){return new t(e,r,this.endLineNumber,this.endColumn)}collapseToStart(){return t.collapseToStart(this)}static collapseToStart(e){return new t(e.startLineNumber,e.startColumn,e.startLineNumber,e.startColumn)}collapseToEnd(){return t.collapseToEnd(this)}static collapseToEnd(e){return new t(e.endLineNumber,e.endColumn,e.endLineNumber,e.endColumn)}delta(e){return new t(this.startLineNumber+e,this.startColumn,this.endLineNumber+e,this.endColumn)}static fromPositions(e,r=e){return new t(e.lineNumber,e.column,r.lineNumber,r.column)}static lift(e){return e?new t(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):null}static isIRange(e){return e&&typeof e.startLineNumber=="number"&&typeof e.startColumn=="number"&&typeof e.endLineNumber=="number"&&typeof e.endColumn=="number"}static areIntersectingOrTouching(e,r){return!(e.endLineNumber<r.startLineNumber||e.endLineNumber===r.startLineNumber&&e.endColumn<r.startColumn||r.endLineNumber<e.startLineNumber||r.endLineNumber===e.startLineNumber&&r.endColumn<e.startColumn)}static areIntersecting(e,r){return!(e.endLineNumber<r.startLineNumber||e.endLineNumber===r.startLineNumber&&e.endColumn<=r.startColumn||r.endLineNumber<e.startLineNumber||r.endLineNumber===e.startLineNumber&&r.endColumn<=e.startColumn)}static compareRangesUsingStarts(e,r){if(e&&r){let s=e.startLineNumber|0,o=r.startLineNumber|0;if(s===o){let a=e.startColumn|0,l=r.startColumn|0;if(a===l){let u=e.endLineNumber|0,c=r.endLineNumber|0;if(u===c){let f=e.endColumn|0,h=r.endColumn|0;return f-h}return u-c}return a-l}return s-o}return(e?1:0)-(r?1:0)}static compareRangesUsingEnds(e,r){return e.endLineNumber===r.endLineNumber?e.endColumn===r.endColumn?e.startLineNumber===r.startLineNumber?e.startColumn-r.startColumn:e.startLineNumber-r.startLineNumber:e.endColumn-r.endColumn:e.endLineNumber-r.endLineNumber}static spansMultipleLines(e){return e.endLineNumber>e.startLineNumber}toJSON(){return this}};d();m();p();d();m();p();d();m();p();function o0(t){return t<0?0:t>255?255:t|0}function gi(t){return t<0?0:t>4294967295?4294967295:t|0}var ba=class t{constructor(e){let r=o0(e);this._defaultValue=r,this._asciiMap=t._createAsciiMap(r),this._map=new Map}static _createAsciiMap(e){let r=new Uint8Array(256);return r.fill(e),r}set(e,r){let n=o0(r);e>=0&&e<256?this._asciiMap[e]=n:this._map.set(e,n)}get(e){return e>=0&&e<256?this._asciiMap[e]:this._map.get(e)||this._defaultValue}clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}};var l0=class{constructor(e,r,n){let i=new Uint8Array(e*r);for(let s=0,o=e*r;s<o;s++)i[s]=n;this._data=i,this.rows=e,this.cols=r}get(e,r){return this._data[e*this.cols+r]}set(e,r,n){this._data[e*this.cols+r]=n}},u0=class{constructor(e){let r=0,n=0;for(let s=0,o=e.length;s<o;s++){let[a,l,u]=e[s];l>r&&(r=l),a>n&&(n=a),u>n&&(n=u)}r++,n++;let i=new l0(n,r,0);for(let s=0,o=e.length;s<o;s++){let[a,l,u]=e[s];i.set(a,l,u)}this._states=i,this._maxCharCode=r}nextState(e,r){return r<0||r>=this._maxCharCode?0:this._states.get(e,r)}},a0=null;function fI(){return a0===null&&(a0=new u0([[1,104,2],[1,72,2],[1,102,6],[1,70,6],[2,116,3],[2,84,3],[3,116,4],[3,84,4],[4,112,5],[4,80,5],[5,115,9],[5,83,9],[5,58,10],[6,105,7],[6,73,7],[7,108,8],[7,76,8],[8,101,9],[8,69,9],[9,58,10],[10,47,11],[11,47,12]])),a0}var va=null;function hI(){if(va===null){va=new ba(0);let t=` <>'"\u3001\u3002\uFF61\uFF64\uFF0C\uFF0E\uFF1A\uFF1B\u2018\u3008\u300C\u300E\u3014\uFF08\uFF3B\uFF5B\uFF62\uFF63\uFF5D\uFF3D\uFF09\u3015\u300F\u300D\u3009\u2019\uFF40\uFF5E\u2026`;for(let r=0;r<t.length;r++)va.set(t.charCodeAt(r),1);let e=".,;:";for(let r=0;r<e.length;r++)va.set(e.charCodeAt(r),2)}return va}var c0=class t{static _createLink(e,r,n,i,s){let o=s-1;do{let a=r.charCodeAt(o);if(e.get(a)!==2)break;o--}while(o>i);if(i>0){let a=r.charCodeAt(i-1),l=r.charCodeAt(o);(a===40&&l===41||a===91&&l===93||a===123&&l===125)&&o--}return{range:{startLineNumber:n,startColumn:i+1,endLineNumber:n,endColumn:o+2},url:r.substring(i,o+1)}}static computeLinks(e,r=fI()){let n=hI(),i=[];for(let s=1,o=e.getLineCount();s<=o;s++){let a=e.getLineContent(s),l=a.length,u=0,c=0,f=0,h=1,g=!1,y=!1,S=!1,x=!1;for(;u<l;){let _=!1,k=a.charCodeAt(u);if(h===13){let T;switch(k){case 40:g=!0,T=0;break;case 41:T=g?0:1;break;case 91:S=!0,y=!0,T=0;break;case 93:S=!1,T=y?0:1;break;case 123:x=!0,T=0;break;case 125:T=x?0:1;break;case 39:case 34:case 96:f===k?T=1:f===39||f===34||f===96?T=0:T=1;break;case 42:T=f===42?1:0;break;case 124:T=f===124?1:0;break;case 32:T=S?0:1;break;default:T=n.get(k)}T===1&&(i.push(t._createLink(n,a,s,c,u)),_=!0)}else if(h===12){let T;k===91?(y=!0,T=0):T=n.get(k),T===1?_=!0:h=13}else h=r.nextState(h,k),h===0&&(_=!0);_&&(h=1,g=!1,y=!1,x=!1,c=u+1,f=k),u++}h===13&&i.push(t._createLink(n,a,s,c,l))}return i}};function Zw(t){return!t||typeof t.getLineCount!="function"||typeof t.getLineContent!="function"?[]:c0.computeLinks(t)}d();m();p();var lc=class t{constructor(){this._defaultValueSet=[["true","false"],["True","False"],["Private","Public","Friend","ReadOnly","Partial","Protected","WriteOnly"],["public","protected","private"]]}static{this.INSTANCE=new t}navigateValueSet(e,r,n,i,s){if(e&&r){let o=this.doNavigateValueSet(r,s);if(o)return{range:e,value:o}}if(n&&i){let o=this.doNavigateValueSet(i,s);if(o)return{range:n,value:o}}return null}doNavigateValueSet(e,r){let n=this.numberReplace(e,r);return n!==null?n:this.textReplace(e,r)}numberReplace(e,r){let n=Math.pow(10,e.length-(e.lastIndexOf(".")+1)),i=Number(e),s=parseFloat(e);return!isNaN(i)&&!isNaN(s)&&i===s?i===0&&!r?null:(i=Math.floor(i*n),i+=r?n:-n,String(i/n)):null}textReplace(e,r){return this.valueSetsReplace(this._defaultValueSet,e,r)}valueSetsReplace(e,r,n){let i=null;for(let s=0,o=e.length;i===null&&s<o;s++)i=this.valueSetReplace(e[s],r,n);return i}valueSetReplace(e,r,n){let i=e.indexOf(r);return i>=0?(i+=n?1:-1,i<0?i=e.length-1:i%=e.length,e[i]):null}};d();m();p();d();m();p();var Kw=Object.freeze(function(t,e){let r=setTimeout(t.bind(e),0);return{dispose(){clearTimeout(r)}}}),uc;(function(t){function e(r){return r===t.None||r===t.Cancelled||r instanceof Ss?!0:!r||typeof r!="object"?!1:typeof r.isCancellationRequested=="boolean"&&typeof r.onCancellationRequested=="function"}t.isCancellationToken=e,t.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:gs.None}),t.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:Kw})})(uc||(uc={}));var Ss=class{constructor(){this._isCancelled=!1,this._emitter=null}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?Kw:(this._emitter||(this._emitter=new lt),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}},wa=class{constructor(e){this._token=void 0,this._parentListener=void 0,this._parentListener=e&&e.onCancellationRequested(this.cancel,this)}get token(){return this._token||(this._token=new Ss),this._token}cancel(){this._token?this._token instanceof Ss&&this._token.cancel():this._token=uc.Cancelled}dispose(e=!1){e&&this.cancel(),this._parentListener?.dispose(),this._token?this._token instanceof Ss&&this._token.dispose():this._token=uc.None}};d();m();p();var ya=class{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(e,r){this._keyCodeToStr[e]=r,this._strToKeyCode[r.toLowerCase()]=e}keyCodeToStr(e){return this._keyCodeToStr[e]}strToKeyCode(e){return this._strToKeyCode[e.toLowerCase()]||0}},cc=new ya,f0=new ya,h0=new ya,dI=new Array(230),pI={},mI=[],gI=Object.create(null),bI=Object.create(null),ty=[],d0=[];for(let t=0;t<=193;t++)ty[t]=-1;for(let t=0;t<=132;t++)d0[t]=-1;(function(){let t="",e=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN",t,t],[1,1,"Hyper",0,t,0,t,t,t],[1,2,"Super",0,t,0,t,t,t],[1,3,"Fn",0,t,0,t,t,t],[1,4,"FnLock",0,t,0,t,t,t],[1,5,"Suspend",0,t,0,t,t,t],[1,6,"Resume",0,t,0,t,t,t],[1,7,"Turbo",0,t,0,t,t,t],[1,8,"Sleep",0,t,0,"VK_SLEEP",t,t],[1,9,"WakeUp",0,t,0,t,t,t],[0,10,"KeyA",31,"A",65,"VK_A",t,t],[0,11,"KeyB",32,"B",66,"VK_B",t,t],[0,12,"KeyC",33,"C",67,"VK_C",t,t],[0,13,"KeyD",34,"D",68,"VK_D",t,t],[0,14,"KeyE",35,"E",69,"VK_E",t,t],[0,15,"KeyF",36,"F",70,"VK_F",t,t],[0,16,"KeyG",37,"G",71,"VK_G",t,t],[0,17,"KeyH",38,"H",72,"VK_H",t,t],[0,18,"KeyI",39,"I",73,"VK_I",t,t],[0,19,"KeyJ",40,"J",74,"VK_J",t,t],[0,20,"KeyK",41,"K",75,"VK_K",t,t],[0,21,"KeyL",42,"L",76,"VK_L",t,t],[0,22,"KeyM",43,"M",77,"VK_M",t,t],[0,23,"KeyN",44,"N",78,"VK_N",t,t],[0,24,"KeyO",45,"O",79,"VK_O",t,t],[0,25,"KeyP",46,"P",80,"VK_P",t,t],[0,26,"KeyQ",47,"Q",81,"VK_Q",t,t],[0,27,"KeyR",48,"R",82,"VK_R",t,t],[0,28,"KeyS",49,"S",83,"VK_S",t,t],[0,29,"KeyT",50,"T",84,"VK_T",t,t],[0,30,"KeyU",51,"U",85,"VK_U",t,t],[0,31,"KeyV",52,"V",86,"VK_V",t,t],[0,32,"KeyW",53,"W",87,"VK_W",t,t],[0,33,"KeyX",54,"X",88,"VK_X",t,t],[0,34,"KeyY",55,"Y",89,"VK_Y",t,t],[0,35,"KeyZ",56,"Z",90,"VK_Z",t,t],[0,36,"Digit1",22,"1",49,"VK_1",t,t],[0,37,"Digit2",23,"2",50,"VK_2",t,t],[0,38,"Digit3",24,"3",51,"VK_3",t,t],[0,39,"Digit4",25,"4",52,"VK_4",t,t],[0,40,"Digit5",26,"5",53,"VK_5",t,t],[0,41,"Digit6",27,"6",54,"VK_6",t,t],[0,42,"Digit7",28,"7",55,"VK_7",t,t],[0,43,"Digit8",29,"8",56,"VK_8",t,t],[0,44,"Digit9",30,"9",57,"VK_9",t,t],[0,45,"Digit0",21,"0",48,"VK_0",t,t],[1,46,"Enter",3,"Enter",13,"VK_RETURN",t,t],[1,47,"Escape",9,"Escape",27,"VK_ESCAPE",t,t],[1,48,"Backspace",1,"Backspace",8,"VK_BACK",t,t],[1,49,"Tab",2,"Tab",9,"VK_TAB",t,t],[1,50,"Space",10,"Space",32,"VK_SPACE",t,t],[0,51,"Minus",88,"-",189,"VK_OEM_MINUS","-","OEM_MINUS"],[0,52,"Equal",86,"=",187,"VK_OEM_PLUS","=","OEM_PLUS"],[0,53,"BracketLeft",92,"[",219,"VK_OEM_4","[","OEM_4"],[0,54,"BracketRight",94,"]",221,"VK_OEM_6","]","OEM_6"],[0,55,"Backslash",93,"\\",220,"VK_OEM_5","\\","OEM_5"],[0,56,"IntlHash",0,t,0,t,t,t],[0,57,"Semicolon",85,";",186,"VK_OEM_1",";","OEM_1"],[0,58,"Quote",95,"'",222,"VK_OEM_7","'","OEM_7"],[0,59,"Backquote",91,"`",192,"VK_OEM_3","`","OEM_3"],[0,60,"Comma",87,",",188,"VK_OEM_COMMA",",","OEM_COMMA"],[0,61,"Period",89,".",190,"VK_OEM_PERIOD",".","OEM_PERIOD"],[0,62,"Slash",90,"/",191,"VK_OEM_2","/","OEM_2"],[1,63,"CapsLock",8,"CapsLock",20,"VK_CAPITAL",t,t],[1,64,"F1",59,"F1",112,"VK_F1",t,t],[1,65,"F2",60,"F2",113,"VK_F2",t,t],[1,66,"F3",61,"F3",114,"VK_F3",t,t],[1,67,"F4",62,"F4",115,"VK_F4",t,t],[1,68,"F5",63,"F5",116,"VK_F5",t,t],[1,69,"F6",64,"F6",117,"VK_F6",t,t],[1,70,"F7",65,"F7",118,"VK_F7",t,t],[1,71,"F8",66,"F8",119,"VK_F8",t,t],[1,72,"F9",67,"F9",120,"VK_F9",t,t],[1,73,"F10",68,"F10",121,"VK_F10",t,t],[1,74,"F11",69,"F11",122,"VK_F11",t,t],[1,75,"F12",70,"F12",123,"VK_F12",t,t],[1,76,"PrintScreen",0,t,0,t,t,t],[1,77,"ScrollLock",84,"ScrollLock",145,"VK_SCROLL",t,t],[1,78,"Pause",7,"PauseBreak",19,"VK_PAUSE",t,t],[1,79,"Insert",19,"Insert",45,"VK_INSERT",t,t],[1,80,"Home",14,"Home",36,"VK_HOME",t,t],[1,81,"PageUp",11,"PageUp",33,"VK_PRIOR",t,t],[1,82,"Delete",20,"Delete",46,"VK_DELETE",t,t],[1,83,"End",13,"End",35,"VK_END",t,t],[1,84,"PageDown",12,"PageDown",34,"VK_NEXT",t,t],[1,85,"ArrowRight",17,"RightArrow",39,"VK_RIGHT","Right",t],[1,86,"ArrowLeft",15,"LeftArrow",37,"VK_LEFT","Left",t],[1,87,"ArrowDown",18,"DownArrow",40,"VK_DOWN","Down",t],[1,88,"ArrowUp",16,"UpArrow",38,"VK_UP","Up",t],[1,89,"NumLock",83,"NumLock",144,"VK_NUMLOCK",t,t],[1,90,"NumpadDivide",113,"NumPad_Divide",111,"VK_DIVIDE",t,t],[1,91,"NumpadMultiply",108,"NumPad_Multiply",106,"VK_MULTIPLY",t,t],[1,92,"NumpadSubtract",111,"NumPad_Subtract",109,"VK_SUBTRACT",t,t],[1,93,"NumpadAdd",109,"NumPad_Add",107,"VK_ADD",t,t],[1,94,"NumpadEnter",3,t,0,t,t,t],[1,95,"Numpad1",99,"NumPad1",97,"VK_NUMPAD1",t,t],[1,96,"Numpad2",100,"NumPad2",98,"VK_NUMPAD2",t,t],[1,97,"Numpad3",101,"NumPad3",99,"VK_NUMPAD3",t,t],[1,98,"Numpad4",102,"NumPad4",100,"VK_NUMPAD4",t,t],[1,99,"Numpad5",103,"NumPad5",101,"VK_NUMPAD5",t,t],[1,100,"Numpad6",104,"NumPad6",102,"VK_NUMPAD6",t,t],[1,101,"Numpad7",105,"NumPad7",103,"VK_NUMPAD7",t,t],[1,102,"Numpad8",106,"NumPad8",104,"VK_NUMPAD8",t,t],[1,103,"Numpad9",107,"NumPad9",105,"VK_NUMPAD9",t,t],[1,104,"Numpad0",98,"NumPad0",96,"VK_NUMPAD0",t,t],[1,105,"NumpadDecimal",112,"NumPad_Decimal",110,"VK_DECIMAL",t,t],[0,106,"IntlBackslash",97,"OEM_102",226,"VK_OEM_102",t,t],[1,107,"ContextMenu",58,"ContextMenu",93,t,t,t],[1,108,"Power",0,t,0,t,t,t],[1,109,"NumpadEqual",0,t,0,t,t,t],[1,110,"F13",71,"F13",124,"VK_F13",t,t],[1,111,"F14",72,"F14",125,"VK_F14",t,t],[1,112,"F15",73,"F15",126,"VK_F15",t,t],[1,113,"F16",74,"F16",127,"VK_F16",t,t],[1,114,"F17",75,"F17",128,"VK_F17",t,t],[1,115,"F18",76,"F18",129,"VK_F18",t,t],[1,116,"F19",77,"F19",130,"VK_F19",t,t],[1,117,"F20",78,"F20",131,"VK_F20",t,t],[1,118,"F21",79,"F21",132,"VK_F21",t,t],[1,119,"F22",80,"F22",133,"VK_F22",t,t],[1,120,"F23",81,"F23",134,"VK_F23",t,t],[1,121,"F24",82,"F24",135,"VK_F24",t,t],[1,122,"Open",0,t,0,t,t,t],[1,123,"Help",0,t,0,t,t,t],[1,124,"Select",0,t,0,t,t,t],[1,125,"Again",0,t,0,t,t,t],[1,126,"Undo",0,t,0,t,t,t],[1,127,"Cut",0,t,0,t,t,t],[1,128,"Copy",0,t,0,t,t,t],[1,129,"Paste",0,t,0,t,t,t],[1,130,"Find",0,t,0,t,t,t],[1,131,"AudioVolumeMute",117,"AudioVolumeMute",173,"VK_VOLUME_MUTE",t,t],[1,132,"AudioVolumeUp",118,"AudioVolumeUp",175,"VK_VOLUME_UP",t,t],[1,133,"AudioVolumeDown",119,"AudioVolumeDown",174,"VK_VOLUME_DOWN",t,t],[1,134,"NumpadComma",110,"NumPad_Separator",108,"VK_SEPARATOR",t,t],[0,135,"IntlRo",115,"ABNT_C1",193,"VK_ABNT_C1",t,t],[1,136,"KanaMode",0,t,0,t,t,t],[0,137,"IntlYen",0,t,0,t,t,t],[1,138,"Convert",0,t,0,t,t,t],[1,139,"NonConvert",0,t,0,t,t,t],[1,140,"Lang1",0,t,0,t,t,t],[1,141,"Lang2",0,t,0,t,t,t],[1,142,"Lang3",0,t,0,t,t,t],[1,143,"Lang4",0,t,0,t,t,t],[1,144,"Lang5",0,t,0,t,t,t],[1,145,"Abort",0,t,0,t,t,t],[1,146,"Props",0,t,0,t,t,t],[1,147,"NumpadParenLeft",0,t,0,t,t,t],[1,148,"NumpadParenRight",0,t,0,t,t,t],[1,149,"NumpadBackspace",0,t,0,t,t,t],[1,150,"NumpadMemoryStore",0,t,0,t,t,t],[1,151,"NumpadMemoryRecall",0,t,0,t,t,t],[1,152,"NumpadMemoryClear",0,t,0,t,t,t],[1,153,"NumpadMemoryAdd",0,t,0,t,t,t],[1,154,"NumpadMemorySubtract",0,t,0,t,t,t],[1,155,"NumpadClear",131,"Clear",12,"VK_CLEAR",t,t],[1,156,"NumpadClearEntry",0,t,0,t,t,t],[1,0,t,5,"Ctrl",17,"VK_CONTROL",t,t],[1,0,t,4,"Shift",16,"VK_SHIFT",t,t],[1,0,t,6,"Alt",18,"VK_MENU",t,t],[1,0,t,57,"Meta",91,"VK_COMMAND",t,t],[1,157,"ControlLeft",5,t,0,"VK_LCONTROL",t,t],[1,158,"ShiftLeft",4,t,0,"VK_LSHIFT",t,t],[1,159,"AltLeft",6,t,0,"VK_LMENU",t,t],[1,160,"MetaLeft",57,t,0,"VK_LWIN",t,t],[1,161,"ControlRight",5,t,0,"VK_RCONTROL",t,t],[1,162,"ShiftRight",4,t,0,"VK_RSHIFT",t,t],[1,163,"AltRight",6,t,0,"VK_RMENU",t,t],[1,164,"MetaRight",57,t,0,"VK_RWIN",t,t],[1,165,"BrightnessUp",0,t,0,t,t,t],[1,166,"BrightnessDown",0,t,0,t,t,t],[1,167,"MediaPlay",0,t,0,t,t,t],[1,168,"MediaRecord",0,t,0,t,t,t],[1,169,"MediaFastForward",0,t,0,t,t,t],[1,170,"MediaRewind",0,t,0,t,t,t],[1,171,"MediaTrackNext",124,"MediaTrackNext",176,"VK_MEDIA_NEXT_TRACK",t,t],[1,172,"MediaTrackPrevious",125,"MediaTrackPrevious",177,"VK_MEDIA_PREV_TRACK",t,t],[1,173,"MediaStop",126,"MediaStop",178,"VK_MEDIA_STOP",t,t],[1,174,"Eject",0,t,0,t,t,t],[1,175,"MediaPlayPause",127,"MediaPlayPause",179,"VK_MEDIA_PLAY_PAUSE",t,t],[1,176,"MediaSelect",128,"LaunchMediaPlayer",181,"VK_MEDIA_LAUNCH_MEDIA_SELECT",t,t],[1,177,"LaunchMail",129,"LaunchMail",180,"VK_MEDIA_LAUNCH_MAIL",t,t],[1,178,"LaunchApp2",130,"LaunchApp2",183,"VK_MEDIA_LAUNCH_APP2",t,t],[1,179,"LaunchApp1",0,t,0,"VK_MEDIA_LAUNCH_APP1",t,t],[1,180,"SelectTask",0,t,0,t,t,t],[1,181,"LaunchScreenSaver",0,t,0,t,t,t],[1,182,"BrowserSearch",120,"BrowserSearch",170,"VK_BROWSER_SEARCH",t,t],[1,183,"BrowserHome",121,"BrowserHome",172,"VK_BROWSER_HOME",t,t],[1,184,"BrowserBack",122,"BrowserBack",166,"VK_BROWSER_BACK",t,t],[1,185,"BrowserForward",123,"BrowserForward",167,"VK_BROWSER_FORWARD",t,t],[1,186,"BrowserStop",0,t,0,"VK_BROWSER_STOP",t,t],[1,187,"BrowserRefresh",0,t,0,"VK_BROWSER_REFRESH",t,t],[1,188,"BrowserFavorites",0,t,0,"VK_BROWSER_FAVORITES",t,t],[1,189,"ZoomToggle",0,t,0,t,t,t],[1,190,"MailReply",0,t,0,t,t,t],[1,191,"MailForward",0,t,0,t,t,t],[1,192,"MailSend",0,t,0,t,t,t],[1,0,t,114,"KeyInComposition",229,t,t,t],[1,0,t,116,"ABNT_C2",194,"VK_ABNT_C2",t,t],[1,0,t,96,"OEM_8",223,"VK_OEM_8",t,t],[1,0,t,0,t,0,"VK_KANA",t,t],[1,0,t,0,t,0,"VK_HANGUL",t,t],[1,0,t,0,t,0,"VK_JUNJA",t,t],[1,0,t,0,t,0,"VK_FINAL",t,t],[1,0,t,0,t,0,"VK_HANJA",t,t],[1,0,t,0,t,0,"VK_KANJI",t,t],[1,0,t,0,t,0,"VK_CONVERT",t,t],[1,0,t,0,t,0,"VK_NONCONVERT",t,t],[1,0,t,0,t,0,"VK_ACCEPT",t,t],[1,0,t,0,t,0,"VK_MODECHANGE",t,t],[1,0,t,0,t,0,"VK_SELECT",t,t],[1,0,t,0,t,0,"VK_PRINT",t,t],[1,0,t,0,t,0,"VK_EXECUTE",t,t],[1,0,t,0,t,0,"VK_SNAPSHOT",t,t],[1,0,t,0,t,0,"VK_HELP",t,t],[1,0,t,0,t,0,"VK_APPS",t,t],[1,0,t,0,t,0,"VK_PROCESSKEY",t,t],[1,0,t,0,t,0,"VK_PACKET",t,t],[1,0,t,0,t,0,"VK_DBE_SBCSCHAR",t,t],[1,0,t,0,t,0,"VK_DBE_DBCSCHAR",t,t],[1,0,t,0,t,0,"VK_ATTN",t,t],[1,0,t,0,t,0,"VK_CRSEL",t,t],[1,0,t,0,t,0,"VK_EXSEL",t,t],[1,0,t,0,t,0,"VK_EREOF",t,t],[1,0,t,0,t,0,"VK_PLAY",t,t],[1,0,t,0,t,0,"VK_ZOOM",t,t],[1,0,t,0,t,0,"VK_NONAME",t,t],[1,0,t,0,t,0,"VK_PA1",t,t],[1,0,t,0,t,0,"VK_OEM_CLEAR",t,t]],r=[],n=[];for(let i of e){let[s,o,a,l,u,c,f,h,g]=i;if(n[o]||(n[o]=!0,mI[o]=a,gI[a]=o,bI[a.toLowerCase()]=o,s&&(ty[o]=l,l!==0&&l!==3&&l!==5&&l!==4&&l!==6&&l!==57&&(d0[l]=o))),!r[l]){if(r[l]=!0,!u)throw new Error(`String representation missing for key code ${l} around scan code ${a}`);cc.define(l,u),f0.define(l,h||u),h0.define(l,g||h||u)}c&&(dI[c]=l),f&&(pI[f]=l)}d0[3]=46})();var ey;(function(t){function e(a){return cc.keyCodeToStr(a)}t.toString=e;function r(a){return cc.strToKeyCode(a)}t.fromString=r;function n(a){return f0.keyCodeToStr(a)}t.toUserSettingsUS=n;function i(a){return h0.keyCodeToStr(a)}t.toUserSettingsGeneral=i;function s(a){return f0.strToKeyCode(a)||h0.strToKeyCode(a)}t.fromUserSettings=s;function o(a){if(a>=98&&a<=113)return null;switch(a){case 16:return"Up";case 18:return"Down";case 15:return"Left";case 17:return"Right"}return cc.keyCodeToStr(a)}t.toElectronAccelerator=o})(ey||(ey={}));function ry(t,e){let r=(e&65535)<<16>>>0;return(t|r)>>>0}d();m();p();var fc=class t extends ce{constructor(e,r,n,i){super(e,r,n,i),this.selectionStartLineNumber=e,this.selectionStartColumn=r,this.positionLineNumber=n,this.positionColumn=i}toString(){return"["+this.selectionStartLineNumber+","+this.selectionStartColumn+" -> "+this.positionLineNumber+","+this.positionColumn+"]"}equalsSelection(e){return t.selectionsEqual(this,e)}static selectionsEqual(e,r){return e.selectionStartLineNumber===r.selectionStartLineNumber&&e.selectionStartColumn===r.selectionStartColumn&&e.positionLineNumber===r.positionLineNumber&&e.positionColumn===r.positionColumn}getDirection(){return this.selectionStartLineNumber===this.startLineNumber&&this.selectionStartColumn===this.startColumn?0:1}setEndPosition(e,r){return this.getDirection()===0?new t(this.startLineNumber,this.startColumn,e,r):new t(e,r,this.startLineNumber,this.startColumn)}getPosition(){return new Ce(this.positionLineNumber,this.positionColumn)}getSelectionStart(){return new Ce(this.selectionStartLineNumber,this.selectionStartColumn)}setStartPosition(e,r){return this.getDirection()===0?new t(e,r,this.endLineNumber,this.endColumn):new t(this.endLineNumber,this.endColumn,e,r)}static fromPositions(e,r=e){return new t(e.lineNumber,e.column,r.lineNumber,r.column)}static fromRange(e,r){return r===0?new t(e.startLineNumber,e.startColumn,e.endLineNumber,e.endColumn):new t(e.endLineNumber,e.endColumn,e.startLineNumber,e.startColumn)}static liftSelection(e){return new t(e.selectionStartLineNumber,e.selectionStartColumn,e.positionLineNumber,e.positionColumn)}static selectionsArrEqual(e,r){if(e&&!r||!e&&r)return!1;if(!e&&!r)return!0;if(e.length!==r.length)return!1;for(let n=0,i=e.length;n<i;n++)if(!this.selectionsEqual(e[n],r[n]))return!1;return!0}static isISelection(e){return e&&typeof e.selectionStartLineNumber=="number"&&typeof e.selectionStartColumn=="number"&&typeof e.positionLineNumber=="number"&&typeof e.positionColumn=="number"}static createWithDirection(e,r,n,i,s){return s===0?new t(e,r,n,i):new t(n,i,e,r)}};d();m();p();d();m();p();d();m();p();d();m();p();function ny(t){return typeof t=="string"}var iy=Object.create(null);function b(t,e){if(ny(e)){let r=iy[e];if(r===void 0)throw new Error(`${t} references an unknown codicon: ${e}`);e=r}return iy[t]=e,{id:t}}d();m();p();var sy={add:b("add",6e4),plus:b("plus",6e4),gistNew:b("gist-new",6e4),repoCreate:b("repo-create",6e4),lightbulb:b("lightbulb",60001),lightBulb:b("light-bulb",60001),repo:b("repo",60002),repoDelete:b("repo-delete",60002),gistFork:b("gist-fork",60003),repoForked:b("repo-forked",60003),gitPullRequest:b("git-pull-request",60004),gitPullRequestAbandoned:b("git-pull-request-abandoned",60004),recordKeys:b("record-keys",60005),keyboard:b("keyboard",60005),tag:b("tag",60006),gitPullRequestLabel:b("git-pull-request-label",60006),tagAdd:b("tag-add",60006),tagRemove:b("tag-remove",60006),person:b("person",60007),personFollow:b("person-follow",60007),personOutline:b("person-outline",60007),personFilled:b("person-filled",60007),gitBranch:b("git-branch",60008),gitBranchCreate:b("git-branch-create",60008),gitBranchDelete:b("git-branch-delete",60008),sourceControl:b("source-control",60008),mirror:b("mirror",60009),mirrorPublic:b("mirror-public",60009),star:b("star",60010),starAdd:b("star-add",60010),starDelete:b("star-delete",60010),starEmpty:b("star-empty",60010),comment:b("comment",60011),commentAdd:b("comment-add",60011),alert:b("alert",60012),warning:b("warning",60012),search:b("search",60013),searchSave:b("search-save",60013),logOut:b("log-out",60014),signOut:b("sign-out",60014),logIn:b("log-in",60015),signIn:b("sign-in",60015),eye:b("eye",60016),eyeUnwatch:b("eye-unwatch",60016),eyeWatch:b("eye-watch",60016),circleFilled:b("circle-filled",60017),primitiveDot:b("primitive-dot",60017),closeDirty:b("close-dirty",60017),debugBreakpoint:b("debug-breakpoint",60017),debugBreakpointDisabled:b("debug-breakpoint-disabled",60017),debugHint:b("debug-hint",60017),terminalDecorationSuccess:b("terminal-decoration-success",60017),primitiveSquare:b("primitive-square",60018),edit:b("edit",60019),pencil:b("pencil",60019),info:b("info",60020),issueOpened:b("issue-opened",60020),gistPrivate:b("gist-private",60021),gitForkPrivate:b("git-fork-private",60021),lock:b("lock",60021),mirrorPrivate:b("mirror-private",60021),close:b("close",60022),removeClose:b("remove-close",60022),x:b("x",60022),repoSync:b("repo-sync",60023),sync:b("sync",60023),clone:b("clone",60024),desktopDownload:b("desktop-download",60024),beaker:b("beaker",60025),microscope:b("microscope",60025),vm:b("vm",60026),deviceDesktop:b("device-desktop",60026),file:b("file",60027),fileText:b("file-text",60027),more:b("more",60028),ellipsis:b("ellipsis",60028),kebabHorizontal:b("kebab-horizontal",60028),mailReply:b("mail-reply",60029),reply:b("reply",60029),organization:b("organization",60030),organizationFilled:b("organization-filled",60030),organizationOutline:b("organization-outline",60030),newFile:b("new-file",60031),fileAdd:b("file-add",60031),newFolder:b("new-folder",60032),fileDirectoryCreate:b("file-directory-create",60032),trash:b("trash",60033),trashcan:b("trashcan",60033),history:b("history",60034),clock:b("clock",60034),folder:b("folder",60035),fileDirectory:b("file-directory",60035),symbolFolder:b("symbol-folder",60035),logoGithub:b("logo-github",60036),markGithub:b("mark-github",60036),github:b("github",60036),terminal:b("terminal",60037),console:b("console",60037),repl:b("repl",60037),zap:b("zap",60038),symbolEvent:b("symbol-event",60038),error:b("error",60039),stop:b("stop",60039),variable:b("variable",60040),symbolVariable:b("symbol-variable",60040),array:b("array",60042),symbolArray:b("symbol-array",60042),symbolModule:b("symbol-module",60043),symbolPackage:b("symbol-package",60043),symbolNamespace:b("symbol-namespace",60043),symbolObject:b("symbol-object",60043),symbolMethod:b("symbol-method",60044),symbolFunction:b("symbol-function",60044),symbolConstructor:b("symbol-constructor",60044),symbolBoolean:b("symbol-boolean",60047),symbolNull:b("symbol-null",60047),symbolNumeric:b("symbol-numeric",60048),symbolNumber:b("symbol-number",60048),symbolStructure:b("symbol-structure",60049),symbolStruct:b("symbol-struct",60049),symbolParameter:b("symbol-parameter",60050),symbolTypeParameter:b("symbol-type-parameter",60050),symbolKey:b("symbol-key",60051),symbolText:b("symbol-text",60051),symbolReference:b("symbol-reference",60052),goToFile:b("go-to-file",60052),symbolEnum:b("symbol-enum",60053),symbolValue:b("symbol-value",60053),symbolRuler:b("symbol-ruler",60054),symbolUnit:b("symbol-unit",60054),activateBreakpoints:b("activate-breakpoints",60055),archive:b("archive",60056),arrowBoth:b("arrow-both",60057),arrowDown:b("arrow-down",60058),arrowLeft:b("arrow-left",60059),arrowRight:b("arrow-right",60060),arrowSmallDown:b("arrow-small-down",60061),arrowSmallLeft:b("arrow-small-left",60062),arrowSmallRight:b("arrow-small-right",60063),arrowSmallUp:b("arrow-small-up",60064),arrowUp:b("arrow-up",60065),bell:b("bell",60066),bold:b("bold",60067),book:b("book",60068),bookmark:b("bookmark",60069),debugBreakpointConditionalUnverified:b("debug-breakpoint-conditional-unverified",60070),debugBreakpointConditional:b("debug-breakpoint-conditional",60071),debugBreakpointConditionalDisabled:b("debug-breakpoint-conditional-disabled",60071),debugBreakpointDataUnverified:b("debug-breakpoint-data-unverified",60072),debugBreakpointData:b("debug-breakpoint-data",60073),debugBreakpointDataDisabled:b("debug-breakpoint-data-disabled",60073),debugBreakpointLogUnverified:b("debug-breakpoint-log-unverified",60074),debugBreakpointLog:b("debug-breakpoint-log",60075),debugBreakpointLogDisabled:b("debug-breakpoint-log-disabled",60075),briefcase:b("briefcase",60076),broadcast:b("broadcast",60077),browser:b("browser",60078),bug:b("bug",60079),calendar:b("calendar",60080),caseSensitive:b("case-sensitive",60081),check:b("check",60082),checklist:b("checklist",60083),chevronDown:b("chevron-down",60084),chevronLeft:b("chevron-left",60085),chevronRight:b("chevron-right",60086),chevronUp:b("chevron-up",60087),chromeClose:b("chrome-close",60088),chromeMaximize:b("chrome-maximize",60089),chromeMinimize:b("chrome-minimize",60090),chromeRestore:b("chrome-restore",60091),circleOutline:b("circle-outline",60092),circle:b("circle",60092),debugBreakpointUnverified:b("debug-breakpoint-unverified",60092),terminalDecorationIncomplete:b("terminal-decoration-incomplete",60092),circleSlash:b("circle-slash",60093),circuitBoard:b("circuit-board",60094),clearAll:b("clear-all",60095),clippy:b("clippy",60096),closeAll:b("close-all",60097),cloudDownload:b("cloud-download",60098),cloudUpload:b("cloud-upload",60099),code:b("code",60100),collapseAll:b("collapse-all",60101),colorMode:b("color-mode",60102),commentDiscussion:b("comment-discussion",60103),creditCard:b("credit-card",60105),dash:b("dash",60108),dashboard:b("dashboard",60109),database:b("database",60110),debugContinue:b("debug-continue",60111),debugDisconnect:b("debug-disconnect",60112),debugPause:b("debug-pause",60113),debugRestart:b("debug-restart",60114),debugStart:b("debug-start",60115),debugStepInto:b("debug-step-into",60116),debugStepOut:b("debug-step-out",60117),debugStepOver:b("debug-step-over",60118),debugStop:b("debug-stop",60119),debug:b("debug",60120),deviceCameraVideo:b("device-camera-video",60121),deviceCamera:b("device-camera",60122),deviceMobile:b("device-mobile",60123),diffAdded:b("diff-added",60124),diffIgnored:b("diff-ignored",60125),diffModified:b("diff-modified",60126),diffRemoved:b("diff-removed",60127),diffRenamed:b("diff-renamed",60128),diff:b("diff",60129),diffSidebyside:b("diff-sidebyside",60129),discard:b("discard",60130),editorLayout:b("editor-layout",60131),emptyWindow:b("empty-window",60132),exclude:b("exclude",60133),extensions:b("extensions",60134),eyeClosed:b("eye-closed",60135),fileBinary:b("file-binary",60136),fileCode:b("file-code",60137),fileMedia:b("file-media",60138),filePdf:b("file-pdf",60139),fileSubmodule:b("file-submodule",60140),fileSymlinkDirectory:b("file-symlink-directory",60141),fileSymlinkFile:b("file-symlink-file",60142),fileZip:b("file-zip",60143),files:b("files",60144),filter:b("filter",60145),flame:b("flame",60146),foldDown:b("fold-down",60147),foldUp:b("fold-up",60148),fold:b("fold",60149),folderActive:b("folder-active",60150),folderOpened:b("folder-opened",60151),gear:b("gear",60152),gift:b("gift",60153),gistSecret:b("gist-secret",60154),gist:b("gist",60155),gitCommit:b("git-commit",60156),gitCompare:b("git-compare",60157),compareChanges:b("compare-changes",60157),gitMerge:b("git-merge",60158),githubAction:b("github-action",60159),githubAlt:b("github-alt",60160),globe:b("globe",60161),grabber:b("grabber",60162),graph:b("graph",60163),gripper:b("gripper",60164),heart:b("heart",60165),home:b("home",60166),horizontalRule:b("horizontal-rule",60167),hubot:b("hubot",60168),inbox:b("inbox",60169),issueReopened:b("issue-reopened",60171),issues:b("issues",60172),italic:b("italic",60173),jersey:b("jersey",60174),json:b("json",60175),kebabVertical:b("kebab-vertical",60176),key:b("key",60177),law:b("law",60178),lightbulbAutofix:b("lightbulb-autofix",60179),linkExternal:b("link-external",60180),link:b("link",60181),listOrdered:b("list-ordered",60182),listUnordered:b("list-unordered",60183),liveShare:b("live-share",60184),loading:b("loading",60185),location:b("location",60186),mailRead:b("mail-read",60187),mail:b("mail",60188),markdown:b("markdown",60189),megaphone:b("megaphone",60190),mention:b("mention",60191),milestone:b("milestone",60192),gitPullRequestMilestone:b("git-pull-request-milestone",60192),mortarBoard:b("mortar-board",60193),move:b("move",60194),multipleWindows:b("multiple-windows",60195),mute:b("mute",60196),noNewline:b("no-newline",60197),note:b("note",60198),octoface:b("octoface",60199),openPreview:b("open-preview",60200),package:b("package",60201),paintcan:b("paintcan",60202),pin:b("pin",60203),play:b("play",60204),run:b("run",60204),plug:b("plug",60205),preserveCase:b("preserve-case",60206),preview:b("preview",60207),project:b("project",60208),pulse:b("pulse",60209),question:b("question",60210),quote:b("quote",60211),radioTower:b("radio-tower",60212),reactions:b("reactions",60213),references:b("references",60214),refresh:b("refresh",60215),regex:b("regex",60216),remoteExplorer:b("remote-explorer",60217),remote:b("remote",60218),remove:b("remove",60219),replaceAll:b("replace-all",60220),replace:b("replace",60221),repoClone:b("repo-clone",60222),repoForcePush:b("repo-force-push",60223),repoPull:b("repo-pull",60224),repoPush:b("repo-push",60225),report:b("report",60226),requestChanges:b("request-changes",60227),rocket:b("rocket",60228),rootFolderOpened:b("root-folder-opened",60229),rootFolder:b("root-folder",60230),rss:b("rss",60231),ruby:b("ruby",60232),saveAll:b("save-all",60233),saveAs:b("save-as",60234),save:b("save",60235),screenFull:b("screen-full",60236),screenNormal:b("screen-normal",60237),searchStop:b("search-stop",60238),server:b("server",60240),settingsGear:b("settings-gear",60241),settings:b("settings",60242),shield:b("shield",60243),smiley:b("smiley",60244),sortPrecedence:b("sort-precedence",60245),splitHorizontal:b("split-horizontal",60246),splitVertical:b("split-vertical",60247),squirrel:b("squirrel",60248),starFull:b("star-full",60249),starHalf:b("star-half",60250),symbolClass:b("symbol-class",60251),symbolColor:b("symbol-color",60252),symbolConstant:b("symbol-constant",60253),symbolEnumMember:b("symbol-enum-member",60254),symbolField:b("symbol-field",60255),symbolFile:b("symbol-file",60256),symbolInterface:b("symbol-interface",60257),symbolKeyword:b("symbol-keyword",60258),symbolMisc:b("symbol-misc",60259),symbolOperator:b("symbol-operator",60260),symbolProperty:b("symbol-property",60261),wrench:b("wrench",60261),wrenchSubaction:b("wrench-subaction",60261),symbolSnippet:b("symbol-snippet",60262),tasklist:b("tasklist",60263),telescope:b("telescope",60264),textSize:b("text-size",60265),threeBars:b("three-bars",60266),thumbsdown:b("thumbsdown",60267),thumbsup:b("thumbsup",60268),tools:b("tools",60269),triangleDown:b("triangle-down",60270),triangleLeft:b("triangle-left",60271),triangleRight:b("triangle-right",60272),triangleUp:b("triangle-up",60273),twitter:b("twitter",60274),unfold:b("unfold",60275),unlock:b("unlock",60276),unmute:b("unmute",60277),unverified:b("unverified",60278),verified:b("verified",60279),versions:b("versions",60280),vmActive:b("vm-active",60281),vmOutline:b("vm-outline",60282),vmRunning:b("vm-running",60283),watch:b("watch",60284),whitespace:b("whitespace",60285),wholeWord:b("whole-word",60286),window:b("window",60287),wordWrap:b("word-wrap",60288),zoomIn:b("zoom-in",60289),zoomOut:b("zoom-out",60290),listFilter:b("list-filter",60291),listFlat:b("list-flat",60292),listSelection:b("list-selection",60293),selection:b("selection",60293),listTree:b("list-tree",60294),debugBreakpointFunctionUnverified:b("debug-breakpoint-function-unverified",60295),debugBreakpointFunction:b("debug-breakpoint-function",60296),debugBreakpointFunctionDisabled:b("debug-breakpoint-function-disabled",60296),debugStackframeActive:b("debug-stackframe-active",60297),circleSmallFilled:b("circle-small-filled",60298),debugStackframeDot:b("debug-stackframe-dot",60298),terminalDecorationMark:b("terminal-decoration-mark",60298),debugStackframe:b("debug-stackframe",60299),debugStackframeFocused:b("debug-stackframe-focused",60299),debugBreakpointUnsupported:b("debug-breakpoint-unsupported",60300),symbolString:b("symbol-string",60301),debugReverseContinue:b("debug-reverse-continue",60302),debugStepBack:b("debug-step-back",60303),debugRestartFrame:b("debug-restart-frame",60304),debugAlt:b("debug-alt",60305),callIncoming:b("call-incoming",60306),callOutgoing:b("call-outgoing",60307),menu:b("menu",60308),expandAll:b("expand-all",60309),feedback:b("feedback",60310),gitPullRequestReviewer:b("git-pull-request-reviewer",60310),groupByRefType:b("group-by-ref-type",60311),ungroupByRefType:b("ungroup-by-ref-type",60312),account:b("account",60313),gitPullRequestAssignee:b("git-pull-request-assignee",60313),bellDot:b("bell-dot",60314),debugConsole:b("debug-console",60315),library:b("library",60316),output:b("output",60317),runAll:b("run-all",60318),syncIgnored:b("sync-ignored",60319),pinned:b("pinned",60320),githubInverted:b("github-inverted",60321),serverProcess:b("server-process",60322),serverEnvironment:b("server-environment",60323),pass:b("pass",60324),issueClosed:b("issue-closed",60324),stopCircle:b("stop-circle",60325),playCircle:b("play-circle",60326),record:b("record",60327),debugAltSmall:b("debug-alt-small",60328),vmConnect:b("vm-connect",60329),cloud:b("cloud",60330),merge:b("merge",60331),export:b("export",60332),graphLeft:b("graph-left",60333),magnet:b("magnet",60334),notebook:b("notebook",60335),redo:b("redo",60336),checkAll:b("check-all",60337),pinnedDirty:b("pinned-dirty",60338),passFilled:b("pass-filled",60339),circleLargeFilled:b("circle-large-filled",60340),circleLarge:b("circle-large",60341),circleLargeOutline:b("circle-large-outline",60341),combine:b("combine",60342),gather:b("gather",60342),table:b("table",60343),variableGroup:b("variable-group",60344),typeHierarchy:b("type-hierarchy",60345),typeHierarchySub:b("type-hierarchy-sub",60346),typeHierarchySuper:b("type-hierarchy-super",60347),gitPullRequestCreate:b("git-pull-request-create",60348),runAbove:b("run-above",60349),runBelow:b("run-below",60350),notebookTemplate:b("notebook-template",60351),debugRerun:b("debug-rerun",60352),workspaceTrusted:b("workspace-trusted",60353),workspaceUntrusted:b("workspace-untrusted",60354),workspaceUnknown:b("workspace-unknown",60355),terminalCmd:b("terminal-cmd",60356),terminalDebian:b("terminal-debian",60357),terminalLinux:b("terminal-linux",60358),terminalPowershell:b("terminal-powershell",60359),terminalTmux:b("terminal-tmux",60360),terminalUbuntu:b("terminal-ubuntu",60361),terminalBash:b("terminal-bash",60362),arrowSwap:b("arrow-swap",60363),copy:b("copy",60364),personAdd:b("person-add",60365),filterFilled:b("filter-filled",60366),wand:b("wand",60367),debugLineByLine:b("debug-line-by-line",60368),inspect:b("inspect",60369),layers:b("layers",60370),layersDot:b("layers-dot",60371),layersActive:b("layers-active",60372),compass:b("compass",60373),compassDot:b("compass-dot",60374),compassActive:b("compass-active",60375),azure:b("azure",60376),issueDraft:b("issue-draft",60377),gitPullRequestClosed:b("git-pull-request-closed",60378),gitPullRequestDraft:b("git-pull-request-draft",60379),debugAll:b("debug-all",60380),debugCoverage:b("debug-coverage",60381),runErrors:b("run-errors",60382),folderLibrary:b("folder-library",60383),debugContinueSmall:b("debug-continue-small",60384),beakerStop:b("beaker-stop",60385),graphLine:b("graph-line",60386),graphScatter:b("graph-scatter",60387),pieChart:b("pie-chart",60388),bracket:b("bracket",60175),bracketDot:b("bracket-dot",60389),bracketError:b("bracket-error",60390),lockSmall:b("lock-small",60391),azureDevops:b("azure-devops",60392),verifiedFilled:b("verified-filled",60393),newline:b("newline",60394),layout:b("layout",60395),layoutActivitybarLeft:b("layout-activitybar-left",60396),layoutActivitybarRight:b("layout-activitybar-right",60397),layoutPanelLeft:b("layout-panel-left",60398),layoutPanelCenter:b("layout-panel-center",60399),layoutPanelJustify:b("layout-panel-justify",60400),layoutPanelRight:b("layout-panel-right",60401),layoutPanel:b("layout-panel",60402),layoutSidebarLeft:b("layout-sidebar-left",60403),layoutSidebarRight:b("layout-sidebar-right",60404),layoutStatusbar:b("layout-statusbar",60405),layoutMenubar:b("layout-menubar",60406),layoutCentered:b("layout-centered",60407),target:b("target",60408),indent:b("indent",60409),recordSmall:b("record-small",60410),errorSmall:b("error-small",60411),terminalDecorationError:b("terminal-decoration-error",60411),arrowCircleDown:b("arrow-circle-down",60412),arrowCircleLeft:b("arrow-circle-left",60413),arrowCircleRight:b("arrow-circle-right",60414),arrowCircleUp:b("arrow-circle-up",60415),layoutSidebarRightOff:b("layout-sidebar-right-off",60416),layoutPanelOff:b("layout-panel-off",60417),layoutSidebarLeftOff:b("layout-sidebar-left-off",60418),blank:b("blank",60419),heartFilled:b("heart-filled",60420),map:b("map",60421),mapHorizontal:b("map-horizontal",60421),foldHorizontal:b("fold-horizontal",60421),mapFilled:b("map-filled",60422),mapHorizontalFilled:b("map-horizontal-filled",60422),foldHorizontalFilled:b("fold-horizontal-filled",60422),circleSmall:b("circle-small",60423),bellSlash:b("bell-slash",60424),bellSlashDot:b("bell-slash-dot",60425),commentUnresolved:b("comment-unresolved",60426),gitPullRequestGoToChanges:b("git-pull-request-go-to-changes",60427),gitPullRequestNewChanges:b("git-pull-request-new-changes",60428),searchFuzzy:b("search-fuzzy",60429),commentDraft:b("comment-draft",60430),send:b("send",60431),sparkle:b("sparkle",60432),insert:b("insert",60433),mic:b("mic",60434),thumbsdownFilled:b("thumbsdown-filled",60435),thumbsupFilled:b("thumbsup-filled",60436),coffee:b("coffee",60437),snake:b("snake",60438),game:b("game",60439),vr:b("vr",60440),chip:b("chip",60441),piano:b("piano",60442),music:b("music",60443),micFilled:b("mic-filled",60444),repoFetch:b("repo-fetch",60445),copilot:b("copilot",60446),lightbulbSparkle:b("lightbulb-sparkle",60447),robot:b("robot",60448),sparkleFilled:b("sparkle-filled",60449),diffSingle:b("diff-single",60450),diffMultiple:b("diff-multiple",60451),surroundWith:b("surround-with",60452),share:b("share",60453),gitStash:b("git-stash",60454),gitStashApply:b("git-stash-apply",60455),gitStashPop:b("git-stash-pop",60456),vscode:b("vscode",60457),vscodeInsiders:b("vscode-insiders",60458),codeOss:b("code-oss",60459),runCoverage:b("run-coverage",60460),runAllCoverage:b("run-all-coverage",60461),coverage:b("coverage",60462),githubProject:b("github-project",60463),mapVertical:b("map-vertical",60464),foldVertical:b("fold-vertical",60464),mapVerticalFilled:b("map-vertical-filled",60465),foldVerticalFilled:b("fold-vertical-filled",60465),goToSearch:b("go-to-search",60466),percentage:b("percentage",60467),sortPercentage:b("sort-percentage",60467),attach:b("attach",60468)};var vI={dialogError:b("dialog-error","error"),dialogWarning:b("dialog-warning","warning"),dialogInfo:b("dialog-info","info"),dialogClose:b("dialog-close","close"),treeItemExpanded:b("tree-item-expanded","chevron-down"),treeFilterOnTypeOn:b("tree-filter-on-type-on","list-filter"),treeFilterOnTypeOff:b("tree-filter-on-type-off","list-selection"),treeFilterClear:b("tree-filter-clear","close"),treeItemLoading:b("tree-item-loading","loading"),menuSelection:b("menu-selection","check"),menuSubmenu:b("menu-submenu","chevron-right"),menuBarMore:b("menubar-more","more"),scrollbarButtonLeft:b("scrollbar-button-left","triangle-left"),scrollbarButtonRight:b("scrollbar-button-right","triangle-right"),scrollbarButtonUp:b("scrollbar-button-up","triangle-up"),scrollbarButtonDown:b("scrollbar-button-down","triangle-down"),toolBarMore:b("toolbar-more","more"),quickInputBack:b("quick-input-back","arrow-left"),dropDownButton:b("drop-down-button",60084),symbolCustomColor:b("symbol-customcolor",60252),exportIcon:b("export",60332),workspaceUnspecified:b("workspace-unspecified",60355),newLine:b("newline",60394),thumbsDownFilled:b("thumbsdown-filled",60435),thumbsUpFilled:b("thumbsup-filled",60436),gitFetch:b("git-fetch",60445),lightbulbSparkleAutofix:b("lightbulb-sparkle-autofix",60447),debugBreakpointPending:b("debug-breakpoint-pending",60377)},ue={...sy,...vI};d();m();p();var xa=class{constructor(){this._tokenizationSupports=new Map,this._factories=new Map,this._onDidChange=new lt,this.onDidChange=this._onDidChange.event,this._colorMap=null}handleChange(e){this._onDidChange.fire({changedLanguages:e,changedColorMap:!1})}register(e,r){return this._tokenizationSupports.set(e,r),this.handleChange([e]),An(()=>{this._tokenizationSupports.get(e)===r&&(this._tokenizationSupports.delete(e),this.handleChange([e]))})}get(e){return this._tokenizationSupports.get(e)||null}registerFactory(e,r){this._factories.get(e)?.dispose();let n=new p0(this,e,r);return this._factories.set(e,n),An(()=>{let i=this._factories.get(e);!i||i!==n||(this._factories.delete(e),i.dispose())})}async getOrCreate(e){let r=this.get(e);if(r)return r;let n=this._factories.get(e);return!n||n.isResolved?null:(await n.resolve(),this.get(e))}isResolved(e){if(this.get(e))return!0;let n=this._factories.get(e);return!!(!n||n.isResolved)}setColorMap(e){this._colorMap=e,this._onDidChange.fire({changedLanguages:Array.from(this._tokenizationSupports.keys()),changedColorMap:!0})}getColorMap(){return this._colorMap}getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?this._colorMap[2]:null}},p0=class extends tr{get isResolved(){return this._isResolved}constructor(e,r,n){super(),this._registry=e,this._languageId=r,this._factory=n,this._isDisposed=!1,this._resolvePromise=null,this._isResolved=!1}dispose(){this._isDisposed=!0,super.dispose()}async resolve(){return this._resolvePromise||(this._resolvePromise=this._create()),this._resolvePromise}async _create(){let e=await this._factory.tokenizationSupport;this._isResolved=!0,e&&!this._isDisposed&&this._register(this._registry.register(this._languageId,e))}};var hc=class{constructor(e,r,n){this.offset=e,this.type=r,this.language=n,this._tokenBrand=void 0}toString(){return"("+this.offset+", "+this.type+")"}};var oy;(function(t){t[t.Increase=0]="Increase",t[t.Decrease=1]="Decrease"})(oy||(oy={}));var ay;(function(t){let e=new Map;e.set(0,ue.symbolMethod),e.set(1,ue.symbolFunction),e.set(2,ue.symbolConstructor),e.set(3,ue.symbolField),e.set(4,ue.symbolVariable),e.set(5,ue.symbolClass),e.set(6,ue.symbolStruct),e.set(7,ue.symbolInterface),e.set(8,ue.symbolModule),e.set(9,ue.symbolProperty),e.set(10,ue.symbolEvent),e.set(11,ue.symbolOperator),e.set(12,ue.symbolUnit),e.set(13,ue.symbolValue),e.set(15,ue.symbolEnum),e.set(14,ue.symbolConstant),e.set(15,ue.symbolEnum),e.set(16,ue.symbolEnumMember),e.set(17,ue.symbolKeyword),e.set(27,ue.symbolSnippet),e.set(18,ue.symbolText),e.set(19,ue.symbolColor),e.set(20,ue.symbolFile),e.set(21,ue.symbolReference),e.set(22,ue.symbolCustomColor),e.set(23,ue.symbolFolder),e.set(24,ue.symbolTypeParameter),e.set(25,ue.account),e.set(26,ue.issues);function r(s){let o=e.get(s);return o||(console.info("No codicon found for CompletionItemKind "+s),o=ue.symbolProperty),o}t.toIcon=r;let n=new Map;n.set("method",0),n.set("function",1),n.set("constructor",2),n.set("field",3),n.set("variable",4),n.set("class",5),n.set("struct",6),n.set("interface",7),n.set("module",8),n.set("property",9),n.set("event",10),n.set("operator",11),n.set("unit",12),n.set("value",13),n.set("constant",14),n.set("enum",15),n.set("enum-member",16),n.set("enumMember",16),n.set("keyword",17),n.set("snippet",27),n.set("text",18),n.set("color",19),n.set("file",20),n.set("reference",21),n.set("customcolor",22),n.set("folder",23),n.set("type-parameter",24),n.set("typeParameter",24),n.set("account",25),n.set("issue",26);function i(s,o){let a=n.get(s);return typeof a>"u"&&!o&&(a=9),a}t.fromString=i})(ay||(ay={}));var ly;(function(t){t[t.Automatic=0]="Automatic",t[t.Explicit=1]="Explicit"})(ly||(ly={}));var uy;(function(t){t[t.Automatic=0]="Automatic",t[t.PasteAs=1]="PasteAs"})(uy||(uy={}));var cy;(function(t){t[t.Invoke=1]="Invoke",t[t.TriggerCharacter=2]="TriggerCharacter",t[t.ContentChange=3]="ContentChange"})(cy||(cy={}));var fy;(function(t){t[t.Text=0]="Text",t[t.Read=1]="Read",t[t.Write=2]="Write"})(fy||(fy={}));var Gpe={17:De("Array","array"),16:De("Boolean","boolean"),4:De("Class","class"),13:De("Constant","constant"),8:De("Constructor","constructor"),9:De("Enum","enumeration"),21:De("EnumMember","enumeration member"),23:De("Event","event"),7:De("Field","field"),0:De("File","file"),11:De("Function","function"),10:De("Interface","interface"),19:De("Key","key"),5:De("Method","method"),1:De("Module","module"),2:De("Namespace","namespace"),20:De("Null","null"),15:De("Number","number"),18:De("Object","object"),24:De("Operator","operator"),3:De("Package","package"),6:De("Property","property"),14:De("String","string"),22:De("Struct","struct"),25:De("TypeParameter","type parameter"),12:De("Variable","variable")};var hy;(function(t){let e=new Map;e.set(0,ue.symbolFile),e.set(1,ue.symbolModule),e.set(2,ue.symbolNamespace),e.set(3,ue.symbolPackage),e.set(4,ue.symbolClass),e.set(5,ue.symbolMethod),e.set(6,ue.symbolProperty),e.set(7,ue.symbolField),e.set(8,ue.symbolConstructor),e.set(9,ue.symbolEnum),e.set(10,ue.symbolInterface),e.set(11,ue.symbolFunction),e.set(12,ue.symbolVariable),e.set(13,ue.symbolConstant),e.set(14,ue.symbolString),e.set(15,ue.symbolNumber),e.set(16,ue.symbolBoolean),e.set(17,ue.symbolArray),e.set(18,ue.symbolObject),e.set(19,ue.symbolKey),e.set(20,ue.symbolNull),e.set(21,ue.symbolEnumMember),e.set(22,ue.symbolStruct),e.set(23,ue.symbolEvent),e.set(24,ue.symbolOperator),e.set(25,ue.symbolTypeParameter);function r(n){let i=e.get(n);return i||(console.info("No codicon found for SymbolKind "+n),i=ue.symbolProperty),i}t.toIcon=r})(hy||(hy={}));var dy=class t{static{this.Comment=new t("comment")}static{this.Imports=new t("imports")}static{this.Region=new t("region")}static fromValue(e){switch(e){case"comment":return t.Comment;case"imports":return t.Imports;case"region":return t.Region}return new t(e)}constructor(e){this.value=e}},py;(function(t){t[t.AIGenerated=1]="AIGenerated"})(py||(py={}));var my;(function(t){t[t.Invoke=0]="Invoke",t[t.Automatic=1]="Automatic"})(my||(my={}));var gy;(function(t){function e(r){return!r||typeof r!="object"?!1:typeof r.id=="string"&&typeof r.title=="string"}t.is=e})(gy||(gy={}));var by;(function(t){t[t.Type=1]="Type",t[t.Parameter=2]="Parameter"})(by||(by={}));var Xpe=new xa,Qpe=new xa,vy;(function(t){t[t.Invoke=0]="Invoke",t[t.Automatic=1]="Automatic"})(vy||(vy={}));d();m();p();var wy;(function(t){t[t.Unknown=0]="Unknown",t[t.Disabled=1]="Disabled",t[t.Enabled=2]="Enabled"})(wy||(wy={}));var yy;(function(t){t[t.Invoke=1]="Invoke",t[t.Auto=2]="Auto"})(yy||(yy={}));var xy;(function(t){t[t.None=0]="None",t[t.KeepWhitespace=1]="KeepWhitespace",t[t.InsertAsSnippet=4]="InsertAsSnippet"})(xy||(xy={}));var Sy;(function(t){t[t.Method=0]="Method",t[t.Function=1]="Function",t[t.Constructor=2]="Constructor",t[t.Field=3]="Field",t[t.Variable=4]="Variable",t[t.Class=5]="Class",t[t.Struct=6]="Struct",t[t.Interface=7]="Interface",t[t.Module=8]="Module",t[t.Property=9]="Property",t[t.Event=10]="Event",t[t.Operator=11]="Operator",t[t.Unit=12]="Unit",t[t.Value=13]="Value",t[t.Constant=14]="Constant",t[t.Enum=15]="Enum",t[t.EnumMember=16]="EnumMember",t[t.Keyword=17]="Keyword",t[t.Text=18]="Text",t[t.Color=19]="Color",t[t.File=20]="File",t[t.Reference=21]="Reference",t[t.Customcolor=22]="Customcolor",t[t.Folder=23]="Folder",t[t.TypeParameter=24]="TypeParameter",t[t.User=25]="User",t[t.Issue=26]="Issue",t[t.Snippet=27]="Snippet"})(Sy||(Sy={}));var _y;(function(t){t[t.Deprecated=1]="Deprecated"})(_y||(_y={}));var Cy;(function(t){t[t.Invoke=0]="Invoke",t[t.TriggerCharacter=1]="TriggerCharacter",t[t.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(Cy||(Cy={}));var Ey;(function(t){t[t.EXACT=0]="EXACT",t[t.ABOVE=1]="ABOVE",t[t.BELOW=2]="BELOW"})(Ey||(Ey={}));var ky;(function(t){t[t.NotSet=0]="NotSet",t[t.ContentFlush=1]="ContentFlush",t[t.RecoverFromMarkers=2]="RecoverFromMarkers",t[t.Explicit=3]="Explicit",t[t.Paste=4]="Paste",t[t.Undo=5]="Undo",t[t.Redo=6]="Redo"})(ky||(ky={}));var Ay;(function(t){t[t.LF=1]="LF",t[t.CRLF=2]="CRLF"})(Ay||(Ay={}));var Ly;(function(t){t[t.Text=0]="Text",t[t.Read=1]="Read",t[t.Write=2]="Write"})(Ly||(Ly={}));var Ry;(function(t){t[t.None=0]="None",t[t.Keep=1]="Keep",t[t.Brackets=2]="Brackets",t[t.Advanced=3]="Advanced",t[t.Full=4]="Full"})(Ry||(Ry={}));var Ty;(function(t){t[t.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",t[t.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",t[t.accessibilitySupport=2]="accessibilitySupport",t[t.accessibilityPageSize=3]="accessibilityPageSize",t[t.ariaLabel=4]="ariaLabel",t[t.ariaRequired=5]="ariaRequired",t[t.autoClosingBrackets=6]="autoClosingBrackets",t[t.autoClosingComments=7]="autoClosingComments",t[t.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",t[t.autoClosingDelete=9]="autoClosingDelete",t[t.autoClosingOvertype=10]="autoClosingOvertype",t[t.autoClosingQuotes=11]="autoClosingQuotes",t[t.autoIndent=12]="autoIndent",t[t.automaticLayout=13]="automaticLayout",t[t.autoSurround=14]="autoSurround",t[t.bracketPairColorization=15]="bracketPairColorization",t[t.guides=16]="guides",t[t.codeLens=17]="codeLens",t[t.codeLensFontFamily=18]="codeLensFontFamily",t[t.codeLensFontSize=19]="codeLensFontSize",t[t.colorDecorators=20]="colorDecorators",t[t.colorDecoratorsLimit=21]="colorDecoratorsLimit",t[t.columnSelection=22]="columnSelection",t[t.comments=23]="comments",t[t.contextmenu=24]="contextmenu",t[t.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",t[t.cursorBlinking=26]="cursorBlinking",t[t.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",t[t.cursorStyle=28]="cursorStyle",t[t.cursorSurroundingLines=29]="cursorSurroundingLines",t[t.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",t[t.cursorWidth=31]="cursorWidth",t[t.disableLayerHinting=32]="disableLayerHinting",t[t.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",t[t.domReadOnly=34]="domReadOnly",t[t.dragAndDrop=35]="dragAndDrop",t[t.dropIntoEditor=36]="dropIntoEditor",t[t.emptySelectionClipboard=37]="emptySelectionClipboard",t[t.experimentalWhitespaceRendering=38]="experimentalWhitespaceRendering",t[t.extraEditorClassName=39]="extraEditorClassName",t[t.fastScrollSensitivity=40]="fastScrollSensitivity",t[t.find=41]="find",t[t.fixedOverflowWidgets=42]="fixedOverflowWidgets",t[t.folding=43]="folding",t[t.foldingStrategy=44]="foldingStrategy",t[t.foldingHighlight=45]="foldingHighlight",t[t.foldingImportsByDefault=46]="foldingImportsByDefault",t[t.foldingMaximumRegions=47]="foldingMaximumRegions",t[t.unfoldOnClickAfterEndOfLine=48]="unfoldOnClickAfterEndOfLine",t[t.fontFamily=49]="fontFamily",t[t.fontInfo=50]="fontInfo",t[t.fontLigatures=51]="fontLigatures",t[t.fontSize=52]="fontSize",t[t.fontWeight=53]="fontWeight",t[t.fontVariations=54]="fontVariations",t[t.formatOnPaste=55]="formatOnPaste",t[t.formatOnType=56]="formatOnType",t[t.glyphMargin=57]="glyphMargin",t[t.gotoLocation=58]="gotoLocation",t[t.hideCursorInOverviewRuler=59]="hideCursorInOverviewRuler",t[t.hover=60]="hover",t[t.inDiffEditor=61]="inDiffEditor",t[t.inlineSuggest=62]="inlineSuggest",t[t.inlineEdit=63]="inlineEdit",t[t.letterSpacing=64]="letterSpacing",t[t.lightbulb=65]="lightbulb",t[t.lineDecorationsWidth=66]="lineDecorationsWidth",t[t.lineHeight=67]="lineHeight",t[t.lineNumbers=68]="lineNumbers",t[t.lineNumbersMinChars=69]="lineNumbersMinChars",t[t.linkedEditing=70]="linkedEditing",t[t.links=71]="links",t[t.matchBrackets=72]="matchBrackets",t[t.minimap=73]="minimap",t[t.mouseStyle=74]="mouseStyle",t[t.mouseWheelScrollSensitivity=75]="mouseWheelScrollSensitivity",t[t.mouseWheelZoom=76]="mouseWheelZoom",t[t.multiCursorMergeOverlapping=77]="multiCursorMergeOverlapping",t[t.multiCursorModifier=78]="multiCursorModifier",t[t.multiCursorPaste=79]="multiCursorPaste",t[t.multiCursorLimit=80]="multiCursorLimit",t[t.occurrencesHighlight=81]="occurrencesHighlight",t[t.overviewRulerBorder=82]="overviewRulerBorder",t[t.overviewRulerLanes=83]="overviewRulerLanes",t[t.padding=84]="padding",t[t.pasteAs=85]="pasteAs",t[t.parameterHints=86]="parameterHints",t[t.peekWidgetDefaultFocus=87]="peekWidgetDefaultFocus",t[t.placeholder=88]="placeholder",t[t.definitionLinkOpensInPeek=89]="definitionLinkOpensInPeek",t[t.quickSuggestions=90]="quickSuggestions",t[t.quickSuggestionsDelay=91]="quickSuggestionsDelay",t[t.readOnly=92]="readOnly",t[t.readOnlyMessage=93]="readOnlyMessage",t[t.renameOnType=94]="renameOnType",t[t.renderControlCharacters=95]="renderControlCharacters",t[t.renderFinalNewline=96]="renderFinalNewline",t[t.renderLineHighlight=97]="renderLineHighlight",t[t.renderLineHighlightOnlyWhenFocus=98]="renderLineHighlightOnlyWhenFocus",t[t.renderValidationDecorations=99]="renderValidationDecorations",t[t.renderWhitespace=100]="renderWhitespace",t[t.revealHorizontalRightPadding=101]="revealHorizontalRightPadding",t[t.roundedSelection=102]="roundedSelection",t[t.rulers=103]="rulers",t[t.scrollbar=104]="scrollbar",t[t.scrollBeyondLastColumn=105]="scrollBeyondLastColumn",t[t.scrollBeyondLastLine=106]="scrollBeyondLastLine",t[t.scrollPredominantAxis=107]="scrollPredominantAxis",t[t.selectionClipboard=108]="selectionClipboard",t[t.selectionHighlight=109]="selectionHighlight",t[t.selectOnLineNumbers=110]="selectOnLineNumbers",t[t.showFoldingControls=111]="showFoldingControls",t[t.showUnused=112]="showUnused",t[t.snippetSuggestions=113]="snippetSuggestions",t[t.smartSelect=114]="smartSelect",t[t.smoothScrolling=115]="smoothScrolling",t[t.stickyScroll=116]="stickyScroll",t[t.stickyTabStops=117]="stickyTabStops",t[t.stopRenderingLineAfter=118]="stopRenderingLineAfter",t[t.suggest=119]="suggest",t[t.suggestFontSize=120]="suggestFontSize",t[t.suggestLineHeight=121]="suggestLineHeight",t[t.suggestOnTriggerCharacters=122]="suggestOnTriggerCharacters",t[t.suggestSelection=123]="suggestSelection",t[t.tabCompletion=124]="tabCompletion",t[t.tabIndex=125]="tabIndex",t[t.unicodeHighlighting=126]="unicodeHighlighting",t[t.unusualLineTerminators=127]="unusualLineTerminators",t[t.useShadowDOM=128]="useShadowDOM",t[t.useTabStops=129]="useTabStops",t[t.wordBreak=130]="wordBreak",t[t.wordSegmenterLocales=131]="wordSegmenterLocales",t[t.wordSeparators=132]="wordSeparators",t[t.wordWrap=133]="wordWrap",t[t.wordWrapBreakAfterCharacters=134]="wordWrapBreakAfterCharacters",t[t.wordWrapBreakBeforeCharacters=135]="wordWrapBreakBeforeCharacters",t[t.wordWrapColumn=136]="wordWrapColumn",t[t.wordWrapOverride1=137]="wordWrapOverride1",t[t.wordWrapOverride2=138]="wordWrapOverride2",t[t.wrappingIndent=139]="wrappingIndent",t[t.wrappingStrategy=140]="wrappingStrategy",t[t.showDeprecated=141]="showDeprecated",t[t.inlayHints=142]="inlayHints",t[t.editorClassName=143]="editorClassName",t[t.pixelRatio=144]="pixelRatio",t[t.tabFocusMode=145]="tabFocusMode",t[t.layoutInfo=146]="layoutInfo",t[t.wrappingInfo=147]="wrappingInfo",t[t.defaultColorDecorators=148]="defaultColorDecorators",t[t.colorDecoratorsActivatedOn=149]="colorDecoratorsActivatedOn",t[t.inlineCompletionsAccessibilityVerbose=150]="inlineCompletionsAccessibilityVerbose"})(Ty||(Ty={}));var Ny;(function(t){t[t.TextDefined=0]="TextDefined",t[t.LF=1]="LF",t[t.CRLF=2]="CRLF"})(Ny||(Ny={}));var My;(function(t){t[t.LF=0]="LF",t[t.CRLF=1]="CRLF"})(My||(My={}));var Oy;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=3]="Right"})(Oy||(Oy={}));var Py;(function(t){t[t.Increase=0]="Increase",t[t.Decrease=1]="Decrease"})(Py||(Py={}));var Iy;(function(t){t[t.None=0]="None",t[t.Indent=1]="Indent",t[t.IndentOutdent=2]="IndentOutdent",t[t.Outdent=3]="Outdent"})(Iy||(Iy={}));var Dy;(function(t){t[t.Both=0]="Both",t[t.Right=1]="Right",t[t.Left=2]="Left",t[t.None=3]="None"})(Dy||(Dy={}));var Fy;(function(t){t[t.Type=1]="Type",t[t.Parameter=2]="Parameter"})(Fy||(Fy={}));var $y;(function(t){t[t.Automatic=0]="Automatic",t[t.Explicit=1]="Explicit"})($y||($y={}));var Uy;(function(t){t[t.Invoke=0]="Invoke",t[t.Automatic=1]="Automatic"})(Uy||(Uy={}));var dc;(function(t){t[t.DependsOnKbLayout=-1]="DependsOnKbLayout",t[t.Unknown=0]="Unknown",t[t.Backspace=1]="Backspace",t[t.Tab=2]="Tab",t[t.Enter=3]="Enter",t[t.Shift=4]="Shift",t[t.Ctrl=5]="Ctrl",t[t.Alt=6]="Alt",t[t.PauseBreak=7]="PauseBreak",t[t.CapsLock=8]="CapsLock",t[t.Escape=9]="Escape",t[t.Space=10]="Space",t[t.PageUp=11]="PageUp",t[t.PageDown=12]="PageDown",t[t.End=13]="End",t[t.Home=14]="Home",t[t.LeftArrow=15]="LeftArrow",t[t.UpArrow=16]="UpArrow",t[t.RightArrow=17]="RightArrow",t[t.DownArrow=18]="DownArrow",t[t.Insert=19]="Insert",t[t.Delete=20]="Delete",t[t.Digit0=21]="Digit0",t[t.Digit1=22]="Digit1",t[t.Digit2=23]="Digit2",t[t.Digit3=24]="Digit3",t[t.Digit4=25]="Digit4",t[t.Digit5=26]="Digit5",t[t.Digit6=27]="Digit6",t[t.Digit7=28]="Digit7",t[t.Digit8=29]="Digit8",t[t.Digit9=30]="Digit9",t[t.KeyA=31]="KeyA",t[t.KeyB=32]="KeyB",t[t.KeyC=33]="KeyC",t[t.KeyD=34]="KeyD",t[t.KeyE=35]="KeyE",t[t.KeyF=36]="KeyF",t[t.KeyG=37]="KeyG",t[t.KeyH=38]="KeyH",t[t.KeyI=39]="KeyI",t[t.KeyJ=40]="KeyJ",t[t.KeyK=41]="KeyK",t[t.KeyL=42]="KeyL",t[t.KeyM=43]="KeyM",t[t.KeyN=44]="KeyN",t[t.KeyO=45]="KeyO",t[t.KeyP=46]="KeyP",t[t.KeyQ=47]="KeyQ",t[t.KeyR=48]="KeyR",t[t.KeyS=49]="KeyS",t[t.KeyT=50]="KeyT",t[t.KeyU=51]="KeyU",t[t.KeyV=52]="KeyV",t[t.KeyW=53]="KeyW",t[t.KeyX=54]="KeyX",t[t.KeyY=55]="KeyY",t[t.KeyZ=56]="KeyZ",t[t.Meta=57]="Meta",t[t.ContextMenu=58]="ContextMenu",t[t.F1=59]="F1",t[t.F2=60]="F2",t[t.F3=61]="F3",t[t.F4=62]="F4",t[t.F5=63]="F5",t[t.F6=64]="F6",t[t.F7=65]="F7",t[t.F8=66]="F8",t[t.F9=67]="F9",t[t.F10=68]="F10",t[t.F11=69]="F11",t[t.F12=70]="F12",t[t.F13=71]="F13",t[t.F14=72]="F14",t[t.F15=73]="F15",t[t.F16=74]="F16",t[t.F17=75]="F17",t[t.F18=76]="F18",t[t.F19=77]="F19",t[t.F20=78]="F20",t[t.F21=79]="F21",t[t.F22=80]="F22",t[t.F23=81]="F23",t[t.F24=82]="F24",t[t.NumLock=83]="NumLock",t[t.ScrollLock=84]="ScrollLock",t[t.Semicolon=85]="Semicolon",t[t.Equal=86]="Equal",t[t.Comma=87]="Comma",t[t.Minus=88]="Minus",t[t.Period=89]="Period",t[t.Slash=90]="Slash",t[t.Backquote=91]="Backquote",t[t.BracketLeft=92]="BracketLeft",t[t.Backslash=93]="Backslash",t[t.BracketRight=94]="BracketRight",t[t.Quote=95]="Quote",t[t.OEM_8=96]="OEM_8",t[t.IntlBackslash=97]="IntlBackslash",t[t.Numpad0=98]="Numpad0",t[t.Numpad1=99]="Numpad1",t[t.Numpad2=100]="Numpad2",t[t.Numpad3=101]="Numpad3",t[t.Numpad4=102]="Numpad4",t[t.Numpad5=103]="Numpad5",t[t.Numpad6=104]="Numpad6",t[t.Numpad7=105]="Numpad7",t[t.Numpad8=106]="Numpad8",t[t.Numpad9=107]="Numpad9",t[t.NumpadMultiply=108]="NumpadMultiply",t[t.NumpadAdd=109]="NumpadAdd",t[t.NUMPAD_SEPARATOR=110]="NUMPAD_SEPARATOR",t[t.NumpadSubtract=111]="NumpadSubtract",t[t.NumpadDecimal=112]="NumpadDecimal",t[t.NumpadDivide=113]="NumpadDivide",t[t.KEY_IN_COMPOSITION=114]="KEY_IN_COMPOSITION",t[t.ABNT_C1=115]="ABNT_C1",t[t.ABNT_C2=116]="ABNT_C2",t[t.AudioVolumeMute=117]="AudioVolumeMute",t[t.AudioVolumeUp=118]="AudioVolumeUp",t[t.AudioVolumeDown=119]="AudioVolumeDown",t[t.BrowserSearch=120]="BrowserSearch",t[t.BrowserHome=121]="BrowserHome",t[t.BrowserBack=122]="BrowserBack",t[t.BrowserForward=123]="BrowserForward",t[t.MediaTrackNext=124]="MediaTrackNext",t[t.MediaTrackPrevious=125]="MediaTrackPrevious",t[t.MediaStop=126]="MediaStop",t[t.MediaPlayPause=127]="MediaPlayPause",t[t.LaunchMediaPlayer=128]="LaunchMediaPlayer",t[t.LaunchMail=129]="LaunchMail",t[t.LaunchApp2=130]="LaunchApp2",t[t.Clear=131]="Clear",t[t.MAX_VALUE=132]="MAX_VALUE"})(dc||(dc={}));var pc;(function(t){t[t.Hint=1]="Hint",t[t.Info=2]="Info",t[t.Warning=4]="Warning",t[t.Error=8]="Error"})(pc||(pc={}));var mc;(function(t){t[t.Unnecessary=1]="Unnecessary",t[t.Deprecated=2]="Deprecated"})(mc||(mc={}));var By;(function(t){t[t.Inline=1]="Inline",t[t.Gutter=2]="Gutter"})(By||(By={}));var qy;(function(t){t[t.Normal=1]="Normal",t[t.Underlined=2]="Underlined"})(qy||(qy={}));var zy;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.TEXTAREA=1]="TEXTAREA",t[t.GUTTER_GLYPH_MARGIN=2]="GUTTER_GLYPH_MARGIN",t[t.GUTTER_LINE_NUMBERS=3]="GUTTER_LINE_NUMBERS",t[t.GUTTER_LINE_DECORATIONS=4]="GUTTER_LINE_DECORATIONS",t[t.GUTTER_VIEW_ZONE=5]="GUTTER_VIEW_ZONE",t[t.CONTENT_TEXT=6]="CONTENT_TEXT",t[t.CONTENT_EMPTY=7]="CONTENT_EMPTY",t[t.CONTENT_VIEW_ZONE=8]="CONTENT_VIEW_ZONE",t[t.CONTENT_WIDGET=9]="CONTENT_WIDGET",t[t.OVERVIEW_RULER=10]="OVERVIEW_RULER",t[t.SCROLLBAR=11]="SCROLLBAR",t[t.OVERLAY_WIDGET=12]="OVERLAY_WIDGET",t[t.OUTSIDE_EDITOR=13]="OUTSIDE_EDITOR"})(zy||(zy={}));var jy;(function(t){t[t.AIGenerated=1]="AIGenerated"})(jy||(jy={}));var Vy;(function(t){t[t.Invoke=0]="Invoke",t[t.Automatic=1]="Automatic"})(Vy||(Vy={}));var Wy;(function(t){t[t.TOP_RIGHT_CORNER=0]="TOP_RIGHT_CORNER",t[t.BOTTOM_RIGHT_CORNER=1]="BOTTOM_RIGHT_CORNER",t[t.TOP_CENTER=2]="TOP_CENTER"})(Wy||(Wy={}));var Hy;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=4]="Right",t[t.Full=7]="Full"})(Hy||(Hy={}));var Gy;(function(t){t[t.Word=0]="Word",t[t.Line=1]="Line",t[t.Suggest=2]="Suggest"})(Gy||(Gy={}));var Xy;(function(t){t[t.Left=0]="Left",t[t.Right=1]="Right",t[t.None=2]="None",t[t.LeftOfInjectedText=3]="LeftOfInjectedText",t[t.RightOfInjectedText=4]="RightOfInjectedText"})(Xy||(Xy={}));var Qy;(function(t){t[t.Off=0]="Off",t[t.On=1]="On",t[t.Relative=2]="Relative",t[t.Interval=3]="Interval",t[t.Custom=4]="Custom"})(Qy||(Qy={}));var Yy;(function(t){t[t.None=0]="None",t[t.Text=1]="Text",t[t.Blocks=2]="Blocks"})(Yy||(Yy={}));var Jy;(function(t){t[t.Smooth=0]="Smooth",t[t.Immediate=1]="Immediate"})(Jy||(Jy={}));var Zy;(function(t){t[t.Auto=1]="Auto",t[t.Hidden=2]="Hidden",t[t.Visible=3]="Visible"})(Zy||(Zy={}));var gc;(function(t){t[t.LTR=0]="LTR",t[t.RTL=1]="RTL"})(gc||(gc={}));var Ky;(function(t){t.Off="off",t.OnCode="onCode",t.On="on"})(Ky||(Ky={}));var ex;(function(t){t[t.Invoke=1]="Invoke",t[t.TriggerCharacter=2]="TriggerCharacter",t[t.ContentChange=3]="ContentChange"})(ex||(ex={}));var tx;(function(t){t[t.File=0]="File",t[t.Module=1]="Module",t[t.Namespace=2]="Namespace",t[t.Package=3]="Package",t[t.Class=4]="Class",t[t.Method=5]="Method",t[t.Property=6]="Property",t[t.Field=7]="Field",t[t.Constructor=8]="Constructor",t[t.Enum=9]="Enum",t[t.Interface=10]="Interface",t[t.Function=11]="Function",t[t.Variable=12]="Variable",t[t.Constant=13]="Constant",t[t.String=14]="String",t[t.Number=15]="Number",t[t.Boolean=16]="Boolean",t[t.Array=17]="Array",t[t.Object=18]="Object",t[t.Key=19]="Key",t[t.Null=20]="Null",t[t.EnumMember=21]="EnumMember",t[t.Struct=22]="Struct",t[t.Event=23]="Event",t[t.Operator=24]="Operator",t[t.TypeParameter=25]="TypeParameter"})(tx||(tx={}));var rx;(function(t){t[t.Deprecated=1]="Deprecated"})(rx||(rx={}));var nx;(function(t){t[t.Hidden=0]="Hidden",t[t.Blink=1]="Blink",t[t.Smooth=2]="Smooth",t[t.Phase=3]="Phase",t[t.Expand=4]="Expand",t[t.Solid=5]="Solid"})(nx||(nx={}));var ix;(function(t){t[t.Line=1]="Line",t[t.Block=2]="Block",t[t.Underline=3]="Underline",t[t.LineThin=4]="LineThin",t[t.BlockOutline=5]="BlockOutline",t[t.UnderlineThin=6]="UnderlineThin"})(ix||(ix={}));var sx;(function(t){t[t.AlwaysGrowsWhenTypingAtEdges=0]="AlwaysGrowsWhenTypingAtEdges",t[t.NeverGrowsWhenTypingAtEdges=1]="NeverGrowsWhenTypingAtEdges",t[t.GrowsOnlyWhenTypingBefore=2]="GrowsOnlyWhenTypingBefore",t[t.GrowsOnlyWhenTypingAfter=3]="GrowsOnlyWhenTypingAfter"})(sx||(sx={}));var ox;(function(t){t[t.None=0]="None",t[t.Same=1]="Same",t[t.Indent=2]="Indent",t[t.DeepIndent=3]="DeepIndent"})(ox||(ox={}));var m0=class{static{this.CtrlCmd=2048}static{this.Shift=1024}static{this.Alt=512}static{this.WinCtrl=256}static chord(e,r){return ry(e,r)}};function ax(){return{editor:void 0,languages:void 0,CancellationTokenSource:wa,Emitter:lt,KeyCode:dc,KeyMod:m0,Position:Ce,Range:ce,Selection:fc,SelectionDirection:gc,MarkerSeverity:pc,MarkerTag:mc,Uri:St,Token:hc}}d();m();p();var Sa=class t{static{this.CHANNEL_NAME="editorWorkerHost"}static getChannel(e){return e.getChannel(t.CHANNEL_NAME)}static setChannel(e,r){e.setChannel(t.CHANNEL_NAME,r)}};d();m();p();d();m();p();d();m();p();d();m();p();var lx,ux,g0=class{constructor(e,r){this.uri=e,this.value=r}};function yI(t){return Array.isArray(t)}var cx=class t{static{this.defaultToKey=e=>e.toString()}constructor(e,r){if(this[lx]="ResourceMap",e instanceof t)this.map=new Map(e.map),this.toKey=r??t.defaultToKey;else if(yI(e)){this.map=new Map,this.toKey=r??t.defaultToKey;for(let[n,i]of e)this.set(n,i)}else this.map=new Map,this.toKey=e??t.defaultToKey}set(e,r){return this.map.set(this.toKey(e),new g0(e,r)),this}get(e){return this.map.get(this.toKey(e))?.value}has(e){return this.map.has(this.toKey(e))}get size(){return this.map.size}clear(){this.map.clear()}delete(e){return this.map.delete(this.toKey(e))}forEach(e,r){typeof r<"u"&&(e=e.bind(r));for(let[n,i]of this.map)e(i.value,i.uri,this)}*values(){for(let e of this.map.values())yield e.value}*keys(){for(let e of this.map.values())yield e.uri}*entries(){for(let e of this.map.values())yield[e.uri,e.value]}*[(lx=Symbol.toStringTag,Symbol.iterator)](){for(let[,e]of this.map)yield[e.uri,e.value]}},b0=class{constructor(){this[ux]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){return this._head?.value}get last(){return this._tail?.value}has(e){return this._map.has(e)}get(e,r=0){let n=this._map.get(e);if(n)return r!==0&&this.touch(n,r),n.value}set(e,r,n=0){let i=this._map.get(e);if(i)i.value=r,n!==0&&this.touch(i,n);else{switch(i={key:e,value:r,next:void 0,previous:void 0},n){case 0:this.addItemLast(i);break;case 1:this.addItemFirst(i);break;case 2:this.addItemLast(i);break;default:this.addItemLast(i);break}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let r=this._map.get(e);if(r)return this._map.delete(e),this.removeItem(r),this._size--,r.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,r){let n=this._state,i=this._head;for(;i;){if(r?e.bind(r)(i.value,i.key,this):e(i.value,i.key,this),this._state!==n)throw new Error("LinkedMap got modified during iteration.");i=i.next}}keys(){let e=this,r=this._state,n=this._head,i={[Symbol.iterator](){return i},next(){if(e._state!==r)throw new Error("LinkedMap got modified during iteration.");if(n){let s={value:n.key,done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return i}values(){let e=this,r=this._state,n=this._head,i={[Symbol.iterator](){return i},next(){if(e._state!==r)throw new Error("LinkedMap got modified during iteration.");if(n){let s={value:n.value,done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return i}entries(){let e=this,r=this._state,n=this._head,i={[Symbol.iterator](){return i},next(){if(e._state!==r)throw new Error("LinkedMap got modified during iteration.");if(n){let s={value:[n.key,n.value],done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return i}[(ux=Symbol.toStringTag,Symbol.iterator)](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let r=this._head,n=this.size;for(;r&&n>e;)this._map.delete(r.key),r=r.next,n--;this._head=r,this._size=n,r&&(r.previous=void 0),this._state++}trimNew(e){if(e>=this.size)return;if(e===0){this.clear();return}let r=this._tail,n=this.size;for(;r&&n>e;)this._map.delete(r.key),r=r.previous,n--;this._tail=r,this._size=n,r&&(r.next=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw new Error("Invalid list");this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw new Error("Invalid list");this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{let r=e.next,n=e.previous;if(!r||!n)throw new Error("Invalid list");r.previous=n,n.next=r}e.next=void 0,e.previous=void 0,this._state++}touch(e,r){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(r!==1&&r!==2)){if(r===1){if(e===this._head)return;let n=e.next,i=e.previous;e===this._tail?(i.next=void 0,this._tail=i):(n.previous=i,i.next=n),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(r===2){if(e===this._tail)return;let n=e.next,i=e.previous;e===this._head?(n.previous=void 0,this._head=n):(n.previous=i,i.next=n),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((r,n)=>{e.push([n,r])}),e}fromJSON(e){this.clear();for(let[r,n]of e)this.set(r,n)}},v0=class extends b0{constructor(e,r=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,r),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get(e,r=2){return super.get(e,r)}peek(e){return super.get(e,0)}set(e,r){return super.set(e,r,2),this}checkTrim(){this.size>this._limit&&this.trim(Math.round(this._limit*this._ratio))}},bc=class extends v0{constructor(e,r=1){super(e,r)}trim(e){this.trimOld(e)}set(e,r){return super.set(e,r),this.checkTrim(),this}};var vc=class{constructor(){this.map=new Map}add(e,r){let n=this.map.get(e);n||(n=new Set,this.map.set(e,n)),n.add(r)}delete(e,r){let n=this.map.get(e);n&&(n.delete(r),n.size===0&&this.map.delete(e))}forEach(e,r){let n=this.map.get(e);n&&n.forEach(r)}get(e){let r=this.map.get(e);return r||new Set}};var E0e=new bc(10);d();m();p();d();m();p();function xI(t){let e=[];for(;Object.prototype!==t;)e=e.concat(Object.getOwnPropertyNames(t)),t=Object.getPrototypeOf(t);return e}function w0(t){let e=[];for(let r of xI(t))typeof t[r]=="function"&&e.push(r);return e}function fx(t,e){let r=i=>function(){let s=Array.prototype.slice.call(arguments,0);return e(i,s)},n={};for(let i of t)n[i]=r(i);return n}var hx;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=4]="Right",t[t.Full=7]="Full"})(hx||(hx={}));var dx;(function(t){t[t.Left=1]="Left",t[t.Center=2]="Center",t[t.Right=3]="Right"})(dx||(dx={}));var px;(function(t){t[t.Both=0]="Both",t[t.Right=1]="Right",t[t.Left=2]="Left",t[t.None=3]="None"})(px||(px={}));function SI(t,e,r,n,i){if(n===0)return!0;let s=e.charCodeAt(n-1);if(t.get(s)!==0||s===13||s===10)return!0;if(i>0){let o=e.charCodeAt(n);if(t.get(o)!==0)return!0}return!1}function _I(t,e,r,n,i){if(n+i===r)return!0;let s=e.charCodeAt(n+i);if(t.get(s)!==0||s===13||s===10)return!0;if(i>0){let o=e.charCodeAt(n+i-1);if(t.get(o)!==0)return!0}return!1}function CI(t,e,r,n,i){return SI(t,e,r,n,i)&&_I(t,e,r,n,i)}var wc=class{constructor(e,r){this._wordSeparators=e,this._searchRegex=r,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(e){this._searchRegex.lastIndex=e,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(e){let r=e.length,n;do{if(this._prevMatchStartIndex+this._prevMatchLength===r||(n=this._searchRegex.exec(e),!n))return null;let i=n.index,s=n[0].length;if(i===this._prevMatchStartIndex&&s===this._prevMatchLength){if(s===0){Mw(e,r,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=i,this._prevMatchLength=s,!this._wordSeparators||CI(this._wordSeparators,e,r,i,s))return n}while(n);return null}};d();m();p();function mx(t,e="Unreachable"){throw new Error(e)}function bi(t){if(!t()){debugger;t(),tn(new at("Assertion Failed"))}}function _a(t,e){let r=0;for(;r<t.length-1;){let n=t[r],i=t[r+1];if(!e(n,i))return!1;r++}return!0}d();m();p();var EI="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function kI(t=""){let e="(-?\\d*\\.\\d\\w*)|([^";for(let r of EI)t.indexOf(r)>=0||(e+="\\"+r);return e+="\\s]+)",new RegExp(e,"g")}var y0=kI();function x0(t){let e=y0;if(t&&t instanceof RegExp)if(t.global)e=t;else{let r="g";t.ignoreCase&&(r+="i"),t.multiline&&(r+="m"),t.unicode&&(r+="u"),e=new RegExp(t.source,r)}return e.lastIndex=0,e}var gx=new ua;gx.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function Ca(t,e,r,n,i){if(e=x0(e),i||(i=hs.first(gx)),r.length>i.maxLen){let u=t-i.maxLen/2;return u<0?u=0:n+=u,r=r.substring(u,t+i.maxLen/2),Ca(t,e,r,n,i)}let s=Date.now(),o=t-1-n,a=-1,l=null;for(let u=1;!(Date.now()-s>=i.timeBudget);u++){let c=o-i.windowSize*u;e.lastIndex=Math.max(0,c);let f=AI(e,r,o,a);if(!f&&l||(l=f,c<=0))break;a=c}if(l){let u={word:l[0],startColumn:n+1+l.index,endColumn:n+1+l.index+l[0].length};return e.lastIndex=0,u}return null}function AI(t,e,r,n){let i;for(;i=t.exec(e);){let s=i.index||0;if(s<=r&&t.lastIndex>=r)return i;if(n>0&&s>n)return null}return null}var yc=class{static computeUnicodeHighlights(e,r,n){let i=n?n.startLineNumber:1,s=n?n.endLineNumber:e.getLineCount(),o=new xc(r),a=o.getCandidateCodePoints(),l;a==="allNonBasicAscii"?l=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):l=new RegExp(`${LI(Array.from(a))}`,"g");let u=new wc(null,l),c=[],f=!1,h,g=0,y=0,S=0;e:for(let x=i,_=s;x<=_;x++){let k=e.getLineContent(x),T=k.length;u.reset(0);do if(h=u.next(k),h){let N=h.index,L=h.index+h[0].length;if(N>0){let Q=k.charCodeAt(N-1);ys(Q)&&N--}if(L+1<T){let Q=k.charCodeAt(L-1);ys(Q)&&L++}let P=k.substring(N,L),D=Ca(N+1,y0,k,0);D&&D.endColumn<=N+1&&(D=null);let $=o.shouldHighlightNonBasicASCII(P,D?D.word:null);if($!==0){if($===3?g++:$===2?y++:$===1?S++:mx($),c.length>=1e3){f=!0;break e}c.push(new ce(x,N+1,x,L+1))}}while(h)}return{ranges:c,hasMore:f,ambiguousCharacterCount:g,invisibleCharacterCount:y,nonBasicAsciiCharacterCount:S}}static computeUnicodeHighlightReason(e,r){let n=new xc(r);switch(n.shouldHighlightNonBasicASCII(e,null)){case 0:return null;case 2:return{kind:1};case 3:{let s=e.codePointAt(0),o=n.ambiguousCharacters.getPrimaryConfusable(s),a=vs.getLocales().filter(l=>!vs.getInstance(new Set([...r.allowedLocales,l])).isAmbiguous(s));return{kind:0,confusableWith:String.fromCodePoint(o),notAmbiguousInLocales:a}}case 1:return{kind:2}}}};function LI(t,e){return`[${Lw(t.map(n=>String.fromCodePoint(n)).join(""))}]`}var xc=class{constructor(e){this.options=e,this.allowedCodePoints=new Set(e.allowedCodePoints),this.ambiguousCharacters=vs.getInstance(new Set(e.allowedLocales))}getCandidateCodePoints(){if(this.options.nonBasicASCII)return"allNonBasicAscii";let e=new Set;if(this.options.invisibleCharacters)for(let r of ws.codePoints)bx(String.fromCodePoint(r))||e.add(r);if(this.options.ambiguousCharacters)for(let r of this.ambiguousCharacters.getConfusableCodePoints())e.add(r);for(let r of this.allowedCodePoints)e.delete(r);return e}shouldHighlightNonBasicASCII(e,r){let n=e.codePointAt(0);if(this.allowedCodePoints.has(n))return 0;if(this.options.nonBasicASCII)return 1;let i=!1,s=!1;if(r)for(let o of r){let a=o.codePointAt(0),l=Ow(o);i=i||l,!l&&!this.ambiguousCharacters.isAmbiguous(a)&&!ws.isInvisibleCharacter(a)&&(s=!0)}return!i&&s?0:this.options.invisibleCharacters&&!bx(e)&&ws.isInvisibleCharacter(n)?2:this.options.ambiguousCharacters&&this.ambiguousCharacters.isAmbiguous(n)?3:0}};function bx(t){return t===" "||t===`
85
+ `||t===" "}d();m();p();d();m();p();d();m();p();var In=class{constructor(e,r,n){this.changes=e,this.moves=r,this.hitTimeout=n}},Sc=class{constructor(e,r){this.lineRangeMapping=e,this.changes=r}};d();m();p();d();m();p();d();m();p();var Se=class t{static addRange(e,r){let n=0;for(;n<r.length&&r[n].endExclusive<e.start;)n++;let i=n;for(;i<r.length&&r[i].start<=e.endExclusive;)i++;if(n===i)r.splice(n,0,e);else{let s=Math.min(e.start,r[n].start),o=Math.max(e.endExclusive,r[i-1].endExclusive);r.splice(n,i-n,new t(s,o))}}static tryCreate(e,r){if(!(e>r))return new t(e,r)}static ofLength(e){return new t(0,e)}static ofStartAndLength(e,r){return new t(e,e+r)}constructor(e,r){if(this.start=e,this.endExclusive=r,e>r)throw new at(`Invalid range: ${this.toString()}`)}get isEmpty(){return this.start===this.endExclusive}delta(e){return new t(this.start+e,this.endExclusive+e)}deltaStart(e){return new t(this.start+e,this.endExclusive)}deltaEnd(e){return new t(this.start,this.endExclusive+e)}get length(){return this.endExclusive-this.start}toString(){return`[${this.start}, ${this.endExclusive})`}contains(e){return this.start<=e&&e<this.endExclusive}join(e){return new t(Math.min(this.start,e.start),Math.max(this.endExclusive,e.endExclusive))}intersect(e){let r=Math.max(this.start,e.start),n=Math.min(this.endExclusive,e.endExclusive);if(r<=n)return new t(r,n)}intersects(e){let r=Math.max(this.start,e.start),n=Math.min(this.endExclusive,e.endExclusive);return r<n}isBefore(e){return this.endExclusive<=e.start}isAfter(e){return this.start>=e.endExclusive}slice(e){return e.slice(this.start,this.endExclusive)}substring(e){return e.substring(this.start,this.endExclusive)}clip(e){if(this.isEmpty)throw new at(`Invalid clipping range: ${this.toString()}`);return Math.max(this.start,Math.min(this.endExclusive-1,e))}clipCyclic(e){if(this.isEmpty)throw new at(`Invalid clipping range: ${this.toString()}`);return e<this.start?this.endExclusive-(this.start-e)%this.length:e>=this.endExclusive?this.start+(e-this.start)%this.length:e}forEach(e){for(let r=this.start;r<this.endExclusive;r++)e(r)}};d();m();p();function on(t,e){let r=vi(t,e);return r===-1?void 0:t[r]}function vi(t,e,r=0,n=t.length){let i=r,s=n;for(;i<s;){let o=Math.floor((i+s)/2);e(t[o])?i=o+1:s=o}return i-1}function vx(t,e){let r=_c(t,e);return r===t.length?void 0:t[r]}function _c(t,e,r=0,n=t.length){let i=r,s=n;for(;i<s;){let o=Math.floor((i+s)/2);e(t[o])?s=o:i=o+1}return i}var Ea=class t{static{this.assertInvariants=!1}constructor(e){this._array=e,this._findLastMonotonousLastIdx=0}findLastMonotonous(e){if(t.assertInvariants){if(this._prevFindLastPredicate){for(let n of this._array)if(this._prevFindLastPredicate(n)&&!e(n))throw new Error("MonotonousArray: current predicate must be weaker than (or equal to) the previous predicate.")}this._prevFindLastPredicate=e}let r=vi(this._array,e,this._findLastMonotonousLastIdx);return this._findLastMonotonousLastIdx=r+1,r===-1?void 0:this._array[r]}};var ve=class t{static fromRangeInclusive(e){return new t(e.startLineNumber,e.endLineNumber+1)}static joinMany(e){if(e.length===0)return[];let r=new wi(e[0].slice());for(let n=1;n<e.length;n++)r=r.getUnion(new wi(e[n].slice()));return r.ranges}static join(e){if(e.length===0)throw new at("lineRanges cannot be empty");let r=e[0].startLineNumber,n=e[0].endLineNumberExclusive;for(let i=1;i<e.length;i++)r=Math.min(r,e[i].startLineNumber),n=Math.max(n,e[i].endLineNumberExclusive);return new t(r,n)}static ofLength(e,r){return new t(e,e+r)}static deserialize(e){return new t(e[0],e[1])}constructor(e,r){if(e>r)throw new at(`startLineNumber ${e} cannot be after endLineNumberExclusive ${r}`);this.startLineNumber=e,this.endLineNumberExclusive=r}contains(e){return this.startLineNumber<=e&&e<this.endLineNumberExclusive}get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}delta(e){return new t(this.startLineNumber+e,this.endLineNumberExclusive+e)}deltaLength(e){return new t(this.startLineNumber,this.endLineNumberExclusive+e)}get length(){return this.endLineNumberExclusive-this.startLineNumber}join(e){return new t(Math.min(this.startLineNumber,e.startLineNumber),Math.max(this.endLineNumberExclusive,e.endLineNumberExclusive))}toString(){return`[${this.startLineNumber},${this.endLineNumberExclusive})`}intersect(e){let r=Math.max(this.startLineNumber,e.startLineNumber),n=Math.min(this.endLineNumberExclusive,e.endLineNumberExclusive);if(r<=n)return new t(r,n)}intersectsStrict(e){return this.startLineNumber<e.endLineNumberExclusive&&e.startLineNumber<this.endLineNumberExclusive}overlapOrTouch(e){return this.startLineNumber<=e.endLineNumberExclusive&&e.startLineNumber<=this.endLineNumberExclusive}equals(e){return this.startLineNumber===e.startLineNumber&&this.endLineNumberExclusive===e.endLineNumberExclusive}toInclusiveRange(){return this.isEmpty?null:new ce(this.startLineNumber,1,this.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER)}toExclusiveRange(){return new ce(this.startLineNumber,1,this.endLineNumberExclusive,1)}mapToLineArray(e){let r=[];for(let n=this.startLineNumber;n<this.endLineNumberExclusive;n++)r.push(e(n));return r}forEach(e){for(let r=this.startLineNumber;r<this.endLineNumberExclusive;r++)e(r)}serialize(){return[this.startLineNumber,this.endLineNumberExclusive]}includes(e){return this.startLineNumber<=e&&e<this.endLineNumberExclusive}toOffsetRange(){return new Se(this.startLineNumber-1,this.endLineNumberExclusive-1)}},wi=class t{constructor(e=[]){this._normalizedRanges=e}get ranges(){return this._normalizedRanges}addRange(e){if(e.length===0)return;let r=_c(this._normalizedRanges,i=>i.endLineNumberExclusive>=e.startLineNumber),n=vi(this._normalizedRanges,i=>i.startLineNumber<=e.endLineNumberExclusive)+1;if(r===n)this._normalizedRanges.splice(r,0,e);else if(r===n-1){let i=this._normalizedRanges[r];this._normalizedRanges[r]=i.join(e)}else{let i=this._normalizedRanges[r].join(this._normalizedRanges[n-1]).join(e);this._normalizedRanges.splice(r,n-r,i)}}contains(e){let r=on(this._normalizedRanges,n=>n.startLineNumber<=e);return!!r&&r.endLineNumberExclusive>e}intersects(e){let r=on(this._normalizedRanges,n=>n.startLineNumber<e.endLineNumberExclusive);return!!r&&r.endLineNumberExclusive>e.startLineNumber}getUnion(e){if(this._normalizedRanges.length===0)return e;if(e._normalizedRanges.length===0)return this;let r=[],n=0,i=0,s=null;for(;n<this._normalizedRanges.length||i<e._normalizedRanges.length;){let o=null;if(n<this._normalizedRanges.length&&i<e._normalizedRanges.length){let a=this._normalizedRanges[n],l=e._normalizedRanges[i];a.startLineNumber<l.startLineNumber?(o=a,n++):(o=l,i++)}else n<this._normalizedRanges.length?(o=this._normalizedRanges[n],n++):(o=e._normalizedRanges[i],i++);s===null?s=o:s.endLineNumberExclusive>=o.startLineNumber?s=new ve(s.startLineNumber,Math.max(s.endLineNumberExclusive,o.endLineNumberExclusive)):(r.push(s),s=o)}return s!==null&&r.push(s),new t(r)}subtractFrom(e){let r=_c(this._normalizedRanges,o=>o.endLineNumberExclusive>=e.startLineNumber),n=vi(this._normalizedRanges,o=>o.startLineNumber<=e.endLineNumberExclusive)+1;if(r===n)return new t([e]);let i=[],s=e.startLineNumber;for(let o=r;o<n;o++){let a=this._normalizedRanges[o];a.startLineNumber>s&&i.push(new ve(s,a.startLineNumber)),s=a.endLineNumberExclusive}return s<e.endLineNumberExclusive&&i.push(new ve(s,e.endLineNumberExclusive)),new t(i)}toString(){return this._normalizedRanges.map(e=>e.toString()).join(", ")}getIntersection(e){let r=[],n=0,i=0;for(;n<this._normalizedRanges.length&&i<e._normalizedRanges.length;){let s=this._normalizedRanges[n],o=e._normalizedRanges[i],a=s.intersect(o);a&&!a.isEmpty&&r.push(a),s.endLineNumberExclusive<o.endLineNumberExclusive?n++:i++}return new t(r)}getWithDelta(e){return new t(this._normalizedRanges.map(r=>r.delta(e)))}};d();m();p();d();m();p();d();m();p();var Cc=class t{static{this.zero=new t(0,0)}static betweenPositions(e,r){return e.lineNumber===r.lineNumber?new t(0,r.column-e.column):new t(r.lineNumber-e.lineNumber,r.column-1)}static ofRange(e){return t.betweenPositions(e.getStartPosition(),e.getEndPosition())}static ofText(e){let r=0,n=0;for(let i of e)i===`
86
+ `?(r++,n=0):n++;return new t(r,n)}constructor(e,r){this.lineCount=e,this.columnCount=r}isGreaterThanOrEqualTo(e){return this.lineCount!==e.lineCount?this.lineCount>e.lineCount:this.columnCount>=e.columnCount}createRange(e){return this.lineCount===0?new ce(e.lineNumber,e.column,e.lineNumber,e.column+this.columnCount):new ce(e.lineNumber,e.column,e.lineNumber+this.lineCount,this.columnCount+1)}addToPosition(e){return this.lineCount===0?new Ce(e.lineNumber,e.column+this.columnCount):new Ce(e.lineNumber+this.lineCount,this.columnCount+1)}toString(){return`${this.lineCount},${this.columnCount}`}};var Ec=class{constructor(e,r){this.range=e,this.text=r}toSingleEditOperation(){return{range:this.range,text:this.text}}};var Or=class t{static inverse(e,r,n){let i=[],s=1,o=1;for(let l of e){let u=new t(new ve(s,l.original.startLineNumber),new ve(o,l.modified.startLineNumber));u.modified.isEmpty||i.push(u),s=l.original.endLineNumberExclusive,o=l.modified.endLineNumberExclusive}let a=new t(new ve(s,r+1),new ve(o,n+1));return a.modified.isEmpty||i.push(a),i}static clip(e,r,n){let i=[];for(let s of e){let o=s.original.intersect(r),a=s.modified.intersect(n);o&&!o.isEmpty&&a&&!a.isEmpty&&i.push(new t(o,a))}return i}constructor(e,r){this.original=e,this.modified=r}toString(){return`{${this.original.toString()}->${this.modified.toString()}}`}flip(){return new t(this.modified,this.original)}join(e){return new t(this.original.join(e.original),this.modified.join(e.modified))}toRangeMapping(){let e=this.original.toInclusiveRange(),r=this.modified.toInclusiveRange();if(e&&r)return new Tt(e,r);if(this.original.startLineNumber===1||this.modified.startLineNumber===1){if(!(this.modified.startLineNumber===1&&this.original.startLineNumber===1))throw new at("not a valid diff");return new Tt(new ce(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new ce(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1))}else return new Tt(new ce(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),new ce(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER,this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER))}toRangeMapping2(e,r){if(wx(this.original.endLineNumberExclusive,e)&&wx(this.modified.endLineNumberExclusive,r))return new Tt(new ce(this.original.startLineNumber,1,this.original.endLineNumberExclusive,1),new ce(this.modified.startLineNumber,1,this.modified.endLineNumberExclusive,1));if(!this.original.isEmpty&&!this.modified.isEmpty)return new Tt(ce.fromPositions(new Ce(this.original.startLineNumber,1),_s(new Ce(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),e)),ce.fromPositions(new Ce(this.modified.startLineNumber,1),_s(new Ce(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),r)));if(this.original.startLineNumber>1&&this.modified.startLineNumber>1)return new Tt(ce.fromPositions(_s(new Ce(this.original.startLineNumber-1,Number.MAX_SAFE_INTEGER),e),_s(new Ce(this.original.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),e)),ce.fromPositions(_s(new Ce(this.modified.startLineNumber-1,Number.MAX_SAFE_INTEGER),r),_s(new Ce(this.modified.endLineNumberExclusive-1,Number.MAX_SAFE_INTEGER),r)));throw new at}};function _s(t,e){if(t.lineNumber<1)return new Ce(1,1);if(t.lineNumber>e.length)return new Ce(e.length,e[e.length-1].length+1);let r=e[t.lineNumber-1];return t.column>r.length+1?new Ce(t.lineNumber,r.length+1):t}function wx(t,e){return t>=1&&t<=e.length}var an=class t extends Or{static fromRangeMappings(e){let r=ve.join(e.map(i=>ve.fromRangeInclusive(i.originalRange))),n=ve.join(e.map(i=>ve.fromRangeInclusive(i.modifiedRange)));return new t(r,n,e)}constructor(e,r,n){super(e,r),this.innerChanges=n}flip(){return new t(this.modified,this.original,this.innerChanges?.map(e=>e.flip()))}withInnerChangesFromLineRanges(){return new t(this.original,this.modified,[this.toRangeMapping()])}},Tt=class t{static assertSorted(e){for(let r=1;r<e.length;r++){let n=e[r-1],i=e[r];if(!(n.originalRange.getEndPosition().isBeforeOrEqual(i.originalRange.getStartPosition())&&n.modifiedRange.getEndPosition().isBeforeOrEqual(i.modifiedRange.getStartPosition())))throw new at("Range mappings must be sorted")}}constructor(e,r){this.originalRange=e,this.modifiedRange=r}toString(){return`{${this.originalRange.toString()}->${this.modifiedRange.toString()}}`}flip(){return new t(this.modifiedRange,this.originalRange)}toTextEdit(e){let r=e.getValueOfRange(this.modifiedRange);return new Ec(this.originalRange,r)}};var RI=3,kc=class{computeDiff(e,r,n){let s=new _0(e,r,{maxComputationTime:n.maxComputationTimeMs,shouldIgnoreTrimWhitespace:n.ignoreTrimWhitespace,shouldComputeCharChanges:!0,shouldMakePrettyDiff:!0,shouldPostProcessCharChanges:!0}).computeDiff(),o=[],a=null;for(let l of s.changes){let u;l.originalEndLineNumber===0?u=new ve(l.originalStartLineNumber+1,l.originalStartLineNumber+1):u=new ve(l.originalStartLineNumber,l.originalEndLineNumber+1);let c;l.modifiedEndLineNumber===0?c=new ve(l.modifiedStartLineNumber+1,l.modifiedStartLineNumber+1):c=new ve(l.modifiedStartLineNumber,l.modifiedEndLineNumber+1);let f=new an(u,c,l.charChanges?.map(h=>new Tt(new ce(h.originalStartLineNumber,h.originalStartColumn,h.originalEndLineNumber,h.originalEndColumn),new ce(h.modifiedStartLineNumber,h.modifiedStartColumn,h.modifiedEndLineNumber,h.modifiedEndColumn))));a&&(a.modified.endLineNumberExclusive===f.modified.startLineNumber||a.original.endLineNumberExclusive===f.original.startLineNumber)&&(f=new an(a.original.join(f.original),a.modified.join(f.modified),a.innerChanges&&f.innerChanges?a.innerChanges.concat(f.innerChanges):void 0),o.pop()),o.push(f),a=f}return bi(()=>_a(o,(l,u)=>u.original.startLineNumber-l.original.endLineNumberExclusive===u.modified.startLineNumber-l.modified.endLineNumberExclusive&&l.original.endLineNumberExclusive<u.original.startLineNumber&&l.modified.endLineNumberExclusive<u.modified.startLineNumber)),new In(o,[],s.quitEarly)}};function xx(t,e,r,n){return new ga(t,e,r).ComputeDiff(n)}var Ac=class{constructor(e){let r=[],n=[];for(let i=0,s=e.length;i<s;i++)r[i]=C0(e[i],1),n[i]=E0(e[i],1);this.lines=e,this._startColumns=r,this._endColumns=n}getElements(){let e=[];for(let r=0,n=this.lines.length;r<n;r++)e[r]=this.lines[r].substring(this._startColumns[r]-1,this._endColumns[r]-1);return e}getStrictElement(e){return this.lines[e]}getStartLineNumber(e){return e+1}getEndLineNumber(e){return e+1}createCharSequence(e,r,n){let i=[],s=[],o=[],a=0;for(let l=r;l<=n;l++){let u=this.lines[l],c=e?this._startColumns[l]:1,f=e?this._endColumns[l]:u.length+1;for(let h=c;h<f;h++)i[a]=u.charCodeAt(h-1),s[a]=l+1,o[a]=h,a++;!e&&l<n&&(i[a]=10,s[a]=l+1,o[a]=u.length+1,a++)}return new S0(i,s,o)}},S0=class{constructor(e,r,n){this._charCodes=e,this._lineNumbers=r,this._columns=n}toString(){return"["+this._charCodes.map((e,r)=>(e===10?"\\n":String.fromCharCode(e))+`-(${this._lineNumbers[r]},${this._columns[r]})`).join(", ")+"]"}_assertIndex(e,r){if(e<0||e>=r.length)throw new Error("Illegal index")}getElements(){return this._charCodes}getStartLineNumber(e){return e>0&&e===this._lineNumbers.length?this.getEndLineNumber(e-1):(this._assertIndex(e,this._lineNumbers),this._lineNumbers[e])}getEndLineNumber(e){return e===-1?this.getStartLineNumber(e+1):(this._assertIndex(e,this._lineNumbers),this._charCodes[e]===10?this._lineNumbers[e]+1:this._lineNumbers[e])}getStartColumn(e){return e>0&&e===this._columns.length?this.getEndColumn(e-1):(this._assertIndex(e,this._columns),this._columns[e])}getEndColumn(e){return e===-1?this.getStartColumn(e+1):(this._assertIndex(e,this._columns),this._charCodes[e]===10?1:this._columns[e]+1)}},Cs=class t{constructor(e,r,n,i,s,o,a,l){this.originalStartLineNumber=e,this.originalStartColumn=r,this.originalEndLineNumber=n,this.originalEndColumn=i,this.modifiedStartLineNumber=s,this.modifiedStartColumn=o,this.modifiedEndLineNumber=a,this.modifiedEndColumn=l}static createFromDiffChange(e,r,n){let i=r.getStartLineNumber(e.originalStart),s=r.getStartColumn(e.originalStart),o=r.getEndLineNumber(e.originalStart+e.originalLength-1),a=r.getEndColumn(e.originalStart+e.originalLength-1),l=n.getStartLineNumber(e.modifiedStart),u=n.getStartColumn(e.modifiedStart),c=n.getEndLineNumber(e.modifiedStart+e.modifiedLength-1),f=n.getEndColumn(e.modifiedStart+e.modifiedLength-1);return new t(i,s,o,a,l,u,c,f)}};function TI(t){if(t.length<=1)return t;let e=[t[0]],r=e[0];for(let n=1,i=t.length;n<i;n++){let s=t[n],o=s.originalStart-(r.originalStart+r.originalLength),a=s.modifiedStart-(r.modifiedStart+r.modifiedLength);Math.min(o,a)<RI?(r.originalLength=s.originalStart+s.originalLength-r.originalStart,r.modifiedLength=s.modifiedStart+s.modifiedLength-r.modifiedStart):(e.push(s),r=s)}return e}var ka=class t{constructor(e,r,n,i,s){this.originalStartLineNumber=e,this.originalEndLineNumber=r,this.modifiedStartLineNumber=n,this.modifiedEndLineNumber=i,this.charChanges=s}static createFromDiffResult(e,r,n,i,s,o,a){let l,u,c,f,h;if(r.originalLength===0?(l=n.getStartLineNumber(r.originalStart)-1,u=0):(l=n.getStartLineNumber(r.originalStart),u=n.getEndLineNumber(r.originalStart+r.originalLength-1)),r.modifiedLength===0?(c=i.getStartLineNumber(r.modifiedStart)-1,f=0):(c=i.getStartLineNumber(r.modifiedStart),f=i.getEndLineNumber(r.modifiedStart+r.modifiedLength-1)),o&&r.originalLength>0&&r.originalLength<20&&r.modifiedLength>0&&r.modifiedLength<20&&s()){let g=n.createCharSequence(e,r.originalStart,r.originalStart+r.originalLength-1),y=i.createCharSequence(e,r.modifiedStart,r.modifiedStart+r.modifiedLength-1);if(g.getElements().length>0&&y.getElements().length>0){let S=xx(g,y,s,!0).changes;a&&(S=TI(S)),h=[];for(let x=0,_=S.length;x<_;x++)h.push(Cs.createFromDiffChange(S[x],g,y))}}return new t(l,u,c,f,h)}},_0=class{constructor(e,r,n){this.shouldComputeCharChanges=n.shouldComputeCharChanges,this.shouldPostProcessCharChanges=n.shouldPostProcessCharChanges,this.shouldIgnoreTrimWhitespace=n.shouldIgnoreTrimWhitespace,this.shouldMakePrettyDiff=n.shouldMakePrettyDiff,this.originalLines=e,this.modifiedLines=r,this.original=new Ac(e),this.modified=new Ac(r),this.continueLineDiff=yx(n.maxComputationTime),this.continueCharDiff=yx(n.maxComputationTime===0?0:Math.min(n.maxComputationTime,5e3))}computeDiff(){if(this.original.lines.length===1&&this.original.lines[0].length===0)return this.modified.lines.length===1&&this.modified.lines[0].length===0?{quitEarly:!1,changes:[]}:{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:1,modifiedStartLineNumber:1,modifiedEndLineNumber:this.modified.lines.length,charChanges:void 0}]};if(this.modified.lines.length===1&&this.modified.lines[0].length===0)return{quitEarly:!1,changes:[{originalStartLineNumber:1,originalEndLineNumber:this.original.lines.length,modifiedStartLineNumber:1,modifiedEndLineNumber:1,charChanges:void 0}]};let e=xx(this.original,this.modified,this.continueLineDiff,this.shouldMakePrettyDiff),r=e.changes,n=e.quitEarly;if(this.shouldIgnoreTrimWhitespace){let a=[];for(let l=0,u=r.length;l<u;l++)a.push(ka.createFromDiffResult(this.shouldIgnoreTrimWhitespace,r[l],this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges));return{quitEarly:n,changes:a}}let i=[],s=0,o=0;for(let a=-1,l=r.length;a<l;a++){let u=a+1<l?r[a+1]:null,c=u?u.originalStart:this.originalLines.length,f=u?u.modifiedStart:this.modifiedLines.length;for(;s<c&&o<f;){let h=this.originalLines[s],g=this.modifiedLines[o];if(h!==g){{let y=C0(h,1),S=C0(g,1);for(;y>1&&S>1;){let x=h.charCodeAt(y-2),_=g.charCodeAt(S-2);if(x!==_)break;y--,S--}(y>1||S>1)&&this._pushTrimWhitespaceCharChange(i,s+1,1,y,o+1,1,S)}{let y=E0(h,1),S=E0(g,1),x=h.length+1,_=g.length+1;for(;y<x&&S<_;){let k=h.charCodeAt(y-1),T=h.charCodeAt(S-1);if(k!==T)break;y++,S++}(y<x||S<_)&&this._pushTrimWhitespaceCharChange(i,s+1,y,x,o+1,S,_)}}s++,o++}u&&(i.push(ka.createFromDiffResult(this.shouldIgnoreTrimWhitespace,u,this.original,this.modified,this.continueCharDiff,this.shouldComputeCharChanges,this.shouldPostProcessCharChanges)),s+=u.originalLength,o+=u.modifiedLength)}return{quitEarly:n,changes:i}}_pushTrimWhitespaceCharChange(e,r,n,i,s,o,a){if(this._mergeTrimWhitespaceCharChange(e,r,n,i,s,o,a))return;let l;this.shouldComputeCharChanges&&(l=[new Cs(r,n,r,i,s,o,s,a)]),e.push(new ka(r,r,s,s,l))}_mergeTrimWhitespaceCharChange(e,r,n,i,s,o,a){let l=e.length;if(l===0)return!1;let u=e[l-1];return u.originalEndLineNumber===0||u.modifiedEndLineNumber===0?!1:u.originalEndLineNumber===r&&u.modifiedEndLineNumber===s?(this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new Cs(r,n,r,i,s,o,s,a)),!0):u.originalEndLineNumber+1===r&&u.modifiedEndLineNumber+1===s?(u.originalEndLineNumber=r,u.modifiedEndLineNumber=s,this.shouldComputeCharChanges&&u.charChanges&&u.charChanges.push(new Cs(r,n,r,i,s,o,s,a)),!0):!1}};function C0(t,e){let r=Tw(t);return r===-1?e:r+1}function E0(t,e){let r=Nw(t);return r===-1?e:r+2}function yx(t){if(t===0)return()=>!0;let e=Date.now();return()=>Date.now()-e<t}d();m();p();d();m();p();function _x(t,e,r=(n,i)=>n===i){if(t===e)return!0;if(!t||!e||t.length!==e.length)return!1;for(let n=0,i=t.length;n<i;n++)if(!r(t[n],e[n]))return!1;return!0}function*Cx(t,e){let r,n;for(let i of t)n!==void 0&&e(n,i)?r.push(i):(r&&(yield r),r=[i]),n=i;r&&(yield r)}function Ex(t,e){for(let r=0;r<=t.length;r++)e(r===0?void 0:t[r-1],r===t.length?void 0:t[r])}function kx(t,e){for(let r=0;r<t.length;r++)e(r===0?void 0:t[r-1],t[r],r+1===t.length?void 0:t[r+1])}function Ax(t,e){for(let r of e)t.push(r)}var k0;(function(t){function e(s){return s<0}t.isLessThan=e;function r(s){return s<=0}t.isLessThanOrEqual=r;function n(s){return s>0}t.isGreaterThan=n;function i(s){return s===0}t.isNeitherLessOrGreaterThan=i,t.greaterThan=1,t.lessThan=-1,t.neitherLessOrGreaterThan=0})(k0||(k0={}));function Aa(t,e){return(r,n)=>e(t(r),t(n))}var La=(t,e)=>t-e;function Lx(t){return(e,r)=>-t(e,r)}var Sx=class t{static{this.empty=new t(e=>{})}constructor(e){this.iterate=e}toArray(){let e=[];return this.iterate(r=>(e.push(r),!0)),e}filter(e){return new t(r=>this.iterate(n=>e(n)?r(n):!0))}map(e){return new t(r=>this.iterate(n=>r(e(n))))}findLast(e){let r;return this.iterate(n=>(e(n)&&(r=n),!0)),r}findLastMaxBy(e){let r,n=!0;return this.iterate(i=>((n||k0.isGreaterThan(e(i,r)))&&(n=!1,r=i),!0)),r}};d();m();p();var Ir=class t{static trivial(e,r){return new t([new qe(Se.ofLength(e.length),Se.ofLength(r.length))],!1)}static trivialTimedOut(e,r){return new t([new qe(Se.ofLength(e.length),Se.ofLength(r.length))],!0)}constructor(e,r){this.diffs=e,this.hitTimeout=r}},qe=class t{static invert(e,r){let n=[];return Ex(e,(i,s)=>{n.push(t.fromOffsetPairs(i?i.getEndExclusives():Pr.zero,s?s.getStarts():new Pr(r,(i?i.seq2Range.endExclusive-i.seq1Range.endExclusive:0)+r)))}),n}static fromOffsetPairs(e,r){return new t(new Se(e.offset1,r.offset1),new Se(e.offset2,r.offset2))}static assertSorted(e){let r;for(let n of e){if(r&&!(r.seq1Range.endExclusive<=n.seq1Range.start&&r.seq2Range.endExclusive<=n.seq2Range.start))throw new at("Sequence diffs must be sorted");r=n}}constructor(e,r){this.seq1Range=e,this.seq2Range=r}swap(){return new t(this.seq2Range,this.seq1Range)}toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}join(e){return new t(this.seq1Range.join(e.seq1Range),this.seq2Range.join(e.seq2Range))}delta(e){return e===0?this:new t(this.seq1Range.delta(e),this.seq2Range.delta(e))}deltaStart(e){return e===0?this:new t(this.seq1Range.deltaStart(e),this.seq2Range.deltaStart(e))}deltaEnd(e){return e===0?this:new t(this.seq1Range.deltaEnd(e),this.seq2Range.deltaEnd(e))}intersect(e){let r=this.seq1Range.intersect(e.seq1Range),n=this.seq2Range.intersect(e.seq2Range);if(!(!r||!n))return new t(r,n)}getStarts(){return new Pr(this.seq1Range.start,this.seq2Range.start)}getEndExclusives(){return new Pr(this.seq1Range.endExclusive,this.seq2Range.endExclusive)}},Pr=class t{static{this.zero=new t(0,0)}static{this.max=new t(Number.MAX_SAFE_INTEGER,Number.MAX_SAFE_INTEGER)}constructor(e,r){this.offset1=e,this.offset2=r}toString(){return`${this.offset1} <-> ${this.offset2}`}delta(e){return e===0?this:new t(this.offset1+e,this.offset2+e)}equals(e){return this.offset1===e.offset1&&this.offset2===e.offset2}},Dn=class t{static{this.instance=new t}isValid(){return!0}},Lc=class{constructor(e){if(this.timeout=e,this.startTime=Date.now(),this.valid=!0,e<=0)throw new at("timeout must be positive")}isValid(){if(!(Date.now()-this.startTime<this.timeout)&&this.valid){this.valid=!1;debugger}return this.valid}};d();m();p();d();m();p();var Es=class{constructor(e,r){this.width=e,this.height=r,this.array=[],this.array=new Array(e*r)}get(e,r){return this.array[e+r*this.width]}set(e,r,n){this.array[e+r*this.width]=n}};function Ta(t){return t===32||t===9}var Ra=class t{static{this.chrKeys=new Map}static getKey(e){let r=this.chrKeys.get(e);return r===void 0&&(r=this.chrKeys.size,this.chrKeys.set(e,r)),r}constructor(e,r,n){this.range=e,this.lines=r,this.source=n,this.histogram=[];let i=0;for(let s=e.startLineNumber-1;s<e.endLineNumberExclusive-1;s++){let o=r[s];for(let l=0;l<o.length;l++){i++;let u=o[l],c=t.getKey(u);this.histogram[c]=(this.histogram[c]||0)+1}i++;let a=t.getKey(`
87
+ `);this.histogram[a]=(this.histogram[a]||0)+1}this.totalCount=i}computeSimilarity(e){let r=0,n=Math.max(this.histogram.length,e.histogram.length);for(let i=0;i<n;i++)r+=Math.abs((this.histogram[i]??0)-(e.histogram[i]??0));return 1-r/(this.totalCount+e.totalCount)}};var Rc=class{compute(e,r,n=Dn.instance,i){if(e.length===0||r.length===0)return Ir.trivial(e,r);let s=new Es(e.length,r.length),o=new Es(e.length,r.length),a=new Es(e.length,r.length);for(let y=0;y<e.length;y++)for(let S=0;S<r.length;S++){if(!n.isValid())return Ir.trivialTimedOut(e,r);let x=y===0?0:s.get(y-1,S),_=S===0?0:s.get(y,S-1),k;e.getElement(y)===r.getElement(S)?(y===0||S===0?k=0:k=s.get(y-1,S-1),y>0&&S>0&&o.get(y-1,S-1)===3&&(k+=a.get(y-1,S-1)),k+=i?i(y,S):1):k=-1;let T=Math.max(x,_,k);if(T===k){let N=y>0&&S>0?a.get(y-1,S-1):0;a.set(y,S,N+1),o.set(y,S,3)}else T===x?(a.set(y,S,0),o.set(y,S,1)):T===_&&(a.set(y,S,0),o.set(y,S,2));s.set(y,S,T)}let l=[],u=e.length,c=r.length;function f(y,S){(y+1!==u||S+1!==c)&&l.push(new qe(new Se(y+1,u),new Se(S+1,c))),u=y,c=S}let h=e.length-1,g=r.length-1;for(;h>=0&&g>=0;)o.get(h,g)===3?(f(h,g),h--,g--):o.get(h,g)===1?h--:g--;return f(-1,-1),l.reverse(),new Ir(l,!1)}};d();m();p();var ks=class{compute(e,r,n=Dn.instance){if(e.length===0||r.length===0)return Ir.trivial(e,r);let i=e,s=r;function o(S,x){for(;S<i.length&&x<s.length&&i.getElement(S)===s.getElement(x);)S++,x++;return S}let a=0,l=new A0;l.set(0,o(0,0));let u=new L0;u.set(0,l.get(0)===0?null:new Tc(null,0,0,l.get(0)));let c=0;e:for(;;){if(a++,!n.isValid())return Ir.trivialTimedOut(i,s);let S=-Math.min(a,s.length+a%2),x=Math.min(a,i.length+a%2);for(c=S;c<=x;c+=2){let _=0,k=c===x?-1:l.get(c+1),T=c===S?-1:l.get(c-1)+1;_++;let N=Math.min(Math.max(k,T),i.length),L=N-c;if(_++,N>i.length||L>s.length)continue;let P=o(N,L);l.set(c,P);let D=N===k?u.get(c+1):u.get(c-1);if(u.set(c,P!==N?new Tc(D,N,L,P-N):D),l.get(c)===i.length&&l.get(c)-c===s.length)break e}}let f=u.get(c),h=[],g=i.length,y=s.length;for(;;){let S=f?f.x+f.length:0,x=f?f.y+f.length:0;if((S!==g||x!==y)&&h.push(new qe(new Se(S,g),new Se(x,y))),!f)break;g=f.x,y=f.y,f=f.prev}return h.reverse(),new Ir(h,!1)}},Tc=class{constructor(e,r,n,i){this.prev=e,this.x=r,this.y=n,this.length=i}},A0=class{constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new Int32Array(10)}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,r){if(e<0){if(e=-e-1,e>=this.negativeArr.length){let n=this.negativeArr;this.negativeArr=new Int32Array(n.length*2),this.negativeArr.set(n)}this.negativeArr[e]=r}else{if(e>=this.positiveArr.length){let n=this.positiveArr;this.positiveArr=new Int32Array(n.length*2),this.positiveArr.set(n)}this.positiveArr[e]=r}}},L0=class{constructor(){this.positiveArr=[],this.negativeArr=[]}get(e){return e<0?(e=-e-1,this.negativeArr[e]):this.positiveArr[e]}set(e,r){e<0?(e=-e-1,this.negativeArr[e]=r):this.positiveArr[e]=r}};d();m();p();d();m();p();var Fn=class{constructor(e,r,n){this.lines=e,this.range=r,this.considerWhitespaceChanges=n,this.elements=[],this.firstElementOffsetByLineIdx=[],this.lineStartOffsets=[],this.trimmedWsLengthsByLineIdx=[],this.firstElementOffsetByLineIdx.push(0);for(let i=this.range.startLineNumber;i<=this.range.endLineNumber;i++){let s=e[i-1],o=0;i===this.range.startLineNumber&&this.range.startColumn>1&&(o=this.range.startColumn-1,s=s.substring(o)),this.lineStartOffsets.push(o);let a=0;if(!n){let u=s.trimStart();a=s.length-u.length,s=u.trimEnd()}this.trimmedWsLengthsByLineIdx.push(a);let l=i===this.range.endLineNumber?Math.min(this.range.endColumn-1-o-a,s.length):s.length;for(let u=0;u<l;u++)this.elements.push(s.charCodeAt(u));i<this.range.endLineNumber&&(this.elements.push(10),this.firstElementOffsetByLineIdx.push(this.elements.length))}}toString(){return`Slice: "${this.text}"`}get text(){return this.getText(new Se(0,this.length))}getText(e){return this.elements.slice(e.start,e.endExclusive).map(r=>String.fromCharCode(r)).join("")}getElement(e){return this.elements[e]}get length(){return this.elements.length}getBoundaryScore(e){let r=Tx(e>0?this.elements[e-1]:-1),n=Tx(e<this.elements.length?this.elements[e]:-1);if(r===7&&n===8)return 0;if(r===8)return 150;let i=0;return r!==n&&(i+=10,r===0&&n===1&&(i+=1)),i+=Rx(r),i+=Rx(n),i}translateOffset(e,r="right"){let n=vi(this.firstElementOffsetByLineIdx,s=>s<=e),i=e-this.firstElementOffsetByLineIdx[n];return new Ce(this.range.startLineNumber+n,1+this.lineStartOffsets[n]+i+(i===0&&r==="left"?0:this.trimmedWsLengthsByLineIdx[n]))}translateRange(e){let r=this.translateOffset(e.start,"right"),n=this.translateOffset(e.endExclusive,"left");return n.isBefore(r)?ce.fromPositions(n,n):ce.fromPositions(r,n)}findWordContaining(e){if(e<0||e>=this.elements.length||!R0(this.elements[e]))return;let r=e;for(;r>0&&R0(this.elements[r-1]);)r--;let n=e;for(;n<this.elements.length&&R0(this.elements[n]);)n++;return new Se(r,n)}countLinesIn(e){return this.translateOffset(e.endExclusive).lineNumber-this.translateOffset(e.start).lineNumber}isStronglyEqual(e,r){return this.elements[e]===this.elements[r]}extendToFullLines(e){let r=on(this.firstElementOffsetByLineIdx,i=>i<=e.start)??0,n=vx(this.firstElementOffsetByLineIdx,i=>e.endExclusive<=i)??this.elements.length;return new Se(r,n)}};function R0(t){return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57}var NI={0:0,1:0,2:0,3:10,4:2,5:30,6:3,7:10,8:10};function Rx(t){return NI[t]}function Tx(t){return t===10?8:t===13?7:Ta(t)?6:t>=97&&t<=122?0:t>=65&&t<=90?1:t>=48&&t<=57?2:t===-1?3:t===44||t===59?5:4}function Mx(t,e,r,n,i,s){let{moves:o,excludedChanges:a}=OI(t,e,r,s);if(!s.isValid())return[];let l=t.filter(c=>!a.has(c)),u=PI(l,n,i,e,r,s);return Ax(o,u),o=II(o),o=o.filter(c=>{let f=c.original.toOffsetRange().slice(e).map(g=>g.trim());return f.join(`
88
+ `).length>=15&&MI(f,g=>g.length>=2)>=2}),o=DI(t,o),o}function MI(t,e){let r=0;for(let n of t)e(n)&&r++;return r}function OI(t,e,r,n){let i=[],s=t.filter(l=>l.modified.isEmpty&&l.original.length>=3).map(l=>new Ra(l.original,e,l)),o=new Set(t.filter(l=>l.original.isEmpty&&l.modified.length>=3).map(l=>new Ra(l.modified,r,l))),a=new Set;for(let l of s){let u=-1,c;for(let f of o){let h=l.computeSimilarity(f);h>u&&(u=h,c=f)}if(u>.9&&c&&(o.delete(c),i.push(new Or(l.range,c.range)),a.add(l.source),a.add(c.source)),!n.isValid())return{moves:i,excludedChanges:a}}return{moves:i,excludedChanges:a}}function PI(t,e,r,n,i,s){let o=[],a=new vc;for(let h of t)for(let g=h.original.startLineNumber;g<h.original.endLineNumberExclusive-2;g++){let y=`${e[g-1]}:${e[g+1-1]}:${e[g+2-1]}`;a.add(y,{range:new ve(g,g+3)})}let l=[];t.sort(Aa(h=>h.modified.startLineNumber,La));for(let h of t){let g=[];for(let y=h.modified.startLineNumber;y<h.modified.endLineNumberExclusive-2;y++){let S=`${r[y-1]}:${r[y+1-1]}:${r[y+2-1]}`,x=new ve(y,y+3),_=[];a.forEach(S,({range:k})=>{for(let N of g)if(N.originalLineRange.endLineNumberExclusive+1===k.endLineNumberExclusive&&N.modifiedLineRange.endLineNumberExclusive+1===x.endLineNumberExclusive){N.originalLineRange=new ve(N.originalLineRange.startLineNumber,k.endLineNumberExclusive),N.modifiedLineRange=new ve(N.modifiedLineRange.startLineNumber,x.endLineNumberExclusive),_.push(N);return}let T={modifiedLineRange:x,originalLineRange:k};l.push(T),_.push(T)}),g=_}if(!s.isValid())return[]}l.sort(Lx(Aa(h=>h.modifiedLineRange.length,La)));let u=new wi,c=new wi;for(let h of l){let g=h.modifiedLineRange.startLineNumber-h.originalLineRange.startLineNumber,y=u.subtractFrom(h.modifiedLineRange),S=c.subtractFrom(h.originalLineRange).getWithDelta(g),x=y.getIntersection(S);for(let _ of x.ranges){if(_.length<3)continue;let k=_,T=_.delta(-g);o.push(new Or(T,k)),u.addRange(k),c.addRange(T)}}o.sort(Aa(h=>h.original.startLineNumber,La));let f=new Ea(t);for(let h=0;h<o.length;h++){let g=o[h],y=f.findLastMonotonous(P=>P.original.startLineNumber<=g.original.startLineNumber),S=on(t,P=>P.modified.startLineNumber<=g.modified.startLineNumber),x=Math.max(g.original.startLineNumber-y.original.startLineNumber,g.modified.startLineNumber-S.modified.startLineNumber),_=f.findLastMonotonous(P=>P.original.startLineNumber<g.original.endLineNumberExclusive),k=on(t,P=>P.modified.startLineNumber<g.modified.endLineNumberExclusive),T=Math.max(_.original.endLineNumberExclusive-g.original.endLineNumberExclusive,k.modified.endLineNumberExclusive-g.modified.endLineNumberExclusive),N;for(N=0;N<x;N++){let P=g.original.startLineNumber-N-1,D=g.modified.startLineNumber-N-1;if(P>n.length||D>i.length||u.contains(D)||c.contains(P)||!Nx(n[P-1],i[D-1],s))break}N>0&&(c.addRange(new ve(g.original.startLineNumber-N,g.original.startLineNumber)),u.addRange(new ve(g.modified.startLineNumber-N,g.modified.startLineNumber)));let L;for(L=0;L<T;L++){let P=g.original.endLineNumberExclusive+L,D=g.modified.endLineNumberExclusive+L;if(P>n.length||D>i.length||u.contains(D)||c.contains(P)||!Nx(n[P-1],i[D-1],s))break}L>0&&(c.addRange(new ve(g.original.endLineNumberExclusive,g.original.endLineNumberExclusive+L)),u.addRange(new ve(g.modified.endLineNumberExclusive,g.modified.endLineNumberExclusive+L))),(N>0||L>0)&&(o[h]=new Or(new ve(g.original.startLineNumber-N,g.original.endLineNumberExclusive+L),new ve(g.modified.startLineNumber-N,g.modified.endLineNumberExclusive+L)))}return o}function Nx(t,e,r){if(t.trim()===e.trim())return!0;if(t.length>300&&e.length>300)return!1;let i=new ks().compute(new Fn([t],new ce(1,1,1,t.length),!1),new Fn([e],new ce(1,1,1,e.length),!1),r),s=0,o=qe.invert(i.diffs,t.length);for(let c of o)c.seq1Range.forEach(f=>{Ta(t.charCodeAt(f))||s++});function a(c){let f=0;for(let h=0;h<t.length;h++)Ta(c.charCodeAt(h))||f++;return f}let l=a(t.length>e.length?t:e);return s/l>.6&&l>10}function II(t){if(t.length===0)return t;t.sort(Aa(r=>r.original.startLineNumber,La));let e=[t[0]];for(let r=1;r<t.length;r++){let n=e[e.length-1],i=t[r],s=i.original.startLineNumber-n.original.endLineNumberExclusive,o=i.modified.startLineNumber-n.modified.endLineNumberExclusive;if(s>=0&&o>=0&&s+o<=2){e[e.length-1]=n.join(i);continue}e.push(i)}return e}function DI(t,e){let r=new Ea(t);return e=e.filter(n=>{let i=r.findLastMonotonous(a=>a.original.startLineNumber<n.original.endLineNumberExclusive)||new Or(new ve(1,1),new ve(1,1)),s=on(t,a=>a.modified.startLineNumber<n.modified.endLineNumberExclusive);return i!==s}),e}d();m();p();function T0(t,e,r){let n=r;return n=Ox(t,e,n),n=Ox(t,e,n),n=FI(t,e,n),n}function Ox(t,e,r){if(r.length===0)return r;let n=[];n.push(r[0]);for(let s=1;s<r.length;s++){let o=n[n.length-1],a=r[s];if(a.seq1Range.isEmpty||a.seq2Range.isEmpty){let l=a.seq1Range.start-o.seq1Range.endExclusive,u;for(u=1;u<=l&&!(t.getElement(a.seq1Range.start-u)!==t.getElement(a.seq1Range.endExclusive-u)||e.getElement(a.seq2Range.start-u)!==e.getElement(a.seq2Range.endExclusive-u));u++);if(u--,u===l){n[n.length-1]=new qe(new Se(o.seq1Range.start,a.seq1Range.endExclusive-l),new Se(o.seq2Range.start,a.seq2Range.endExclusive-l));continue}a=a.delta(-u)}n.push(a)}let i=[];for(let s=0;s<n.length-1;s++){let o=n[s+1],a=n[s];if(a.seq1Range.isEmpty||a.seq2Range.isEmpty){let l=o.seq1Range.start-a.seq1Range.endExclusive,u;for(u=0;u<l&&!(!t.isStronglyEqual(a.seq1Range.start+u,a.seq1Range.endExclusive+u)||!e.isStronglyEqual(a.seq2Range.start+u,a.seq2Range.endExclusive+u));u++);if(u===l){n[s+1]=new qe(new Se(a.seq1Range.start+l,o.seq1Range.endExclusive),new Se(a.seq2Range.start+l,o.seq2Range.endExclusive));continue}u>0&&(a=a.delta(u))}i.push(a)}return n.length>0&&i.push(n[n.length-1]),i}function FI(t,e,r){if(!t.getBoundaryScore||!e.getBoundaryScore)return r;for(let n=0;n<r.length;n++){let i=n>0?r[n-1]:void 0,s=r[n],o=n+1<r.length?r[n+1]:void 0,a=new Se(i?i.seq1Range.endExclusive+1:0,o?o.seq1Range.start-1:t.length),l=new Se(i?i.seq2Range.endExclusive+1:0,o?o.seq2Range.start-1:e.length);s.seq1Range.isEmpty?r[n]=Px(s,t,e,a,l):s.seq2Range.isEmpty&&(r[n]=Px(s.swap(),e,t,l,a).swap())}return r}function Px(t,e,r,n,i){let o=1;for(;t.seq1Range.start-o>=n.start&&t.seq2Range.start-o>=i.start&&r.isStronglyEqual(t.seq2Range.start-o,t.seq2Range.endExclusive-o)&&o<100;)o++;o--;let a=0;for(;t.seq1Range.start+a<n.endExclusive&&t.seq2Range.endExclusive+a<i.endExclusive&&r.isStronglyEqual(t.seq2Range.start+a,t.seq2Range.endExclusive+a)&&a<100;)a++;if(o===0&&a===0)return t;let l=0,u=-1;for(let c=-o;c<=a;c++){let f=t.seq2Range.start+c,h=t.seq2Range.endExclusive+c,g=t.seq1Range.start+c,y=e.getBoundaryScore(g)+r.getBoundaryScore(f)+r.getBoundaryScore(h);y>u&&(u=y,l=c)}return t.delta(l)}function Ix(t,e,r){let n=[];for(let i of r){let s=n[n.length-1];if(!s){n.push(i);continue}i.seq1Range.start-s.seq1Range.endExclusive<=2||i.seq2Range.start-s.seq2Range.endExclusive<=2?n[n.length-1]=new qe(s.seq1Range.join(i.seq1Range),s.seq2Range.join(i.seq2Range)):n.push(i)}return n}function Dx(t,e,r){let n=qe.invert(r,t.length),i=[],s=new Pr(0,0);function o(l,u){if(l.offset1<s.offset1||l.offset2<s.offset2)return;let c=t.findWordContaining(l.offset1),f=e.findWordContaining(l.offset2);if(!c||!f)return;let h=new qe(c,f),g=h.intersect(u),y=g.seq1Range.length,S=g.seq2Range.length;for(;n.length>0;){let x=n[0];if(!(x.seq1Range.intersects(h.seq1Range)||x.seq2Range.intersects(h.seq2Range)))break;let k=t.findWordContaining(x.seq1Range.start),T=e.findWordContaining(x.seq2Range.start),N=new qe(k,T),L=N.intersect(x);if(y+=L.seq1Range.length,S+=L.seq2Range.length,h=h.join(N),h.seq1Range.endExclusive>=x.seq1Range.endExclusive)n.shift();else break}y+S<(h.seq1Range.length+h.seq2Range.length)*2/3&&i.push(h),s=h.getEndExclusives()}for(;n.length>0;){let l=n.shift();l.seq1Range.isEmpty||(o(l.getStarts(),l),o(l.getEndExclusives().delta(-1),l))}return $I(r,i)}function $I(t,e){let r=[];for(;t.length>0||e.length>0;){let n=t[0],i=e[0],s;n&&(!i||n.seq1Range.start<i.seq1Range.start)?s=t.shift():s=e.shift(),r.length>0&&r[r.length-1].seq1Range.endExclusive>=s.seq1Range.start?r[r.length-1]=r[r.length-1].join(s):r.push(s)}return r}function Fx(t,e,r){let n=r;if(n.length===0)return n;let i=0,s;do{s=!1;let o=[n[0]];for(let a=1;a<n.length;a++){let c=function(h,g){let y=new Se(u.seq1Range.endExclusive,l.seq1Range.start);return t.getText(y).replace(/\s/g,"").length<=4&&(h.seq1Range.length+h.seq2Range.length>5||g.seq1Range.length+g.seq2Range.length>5)},l=n[a],u=o[o.length-1];c(u,l)?(s=!0,o[o.length-1]=o[o.length-1].join(l)):o.push(l)}n=o}while(i++<10&&s);return n}function $x(t,e,r){let n=r;if(n.length===0)return n;let i=0,s;do{s=!1;let a=[n[0]];for(let l=1;l<n.length;l++){let f=function(g,y){let S=new Se(c.seq1Range.endExclusive,u.seq1Range.start);if(t.countLinesIn(S)>5||S.length>500)return!1;let _=t.getText(S).trim();if(_.length>20||_.split(/\r\n|\r|\n/).length>1)return!1;let k=t.countLinesIn(g.seq1Range),T=g.seq1Range.length,N=e.countLinesIn(g.seq2Range),L=g.seq2Range.length,P=t.countLinesIn(y.seq1Range),D=y.seq1Range.length,$=e.countLinesIn(y.seq2Range),Q=y.seq2Range.length,O=2*40+50;function I(z){return Math.min(z,O)}return Math.pow(Math.pow(I(k*40+T),1.5)+Math.pow(I(N*40+L),1.5),1.5)+Math.pow(Math.pow(I(P*40+D),1.5)+Math.pow(I($*40+Q),1.5),1.5)>(O**1.5)**1.5*1.3},u=n[l],c=a[a.length-1];f(c,u)?(s=!0,a[a.length-1]=a[a.length-1].join(u)):a.push(u)}n=a}while(i++<10&&s);let o=[];return kx(n,(a,l,u)=>{let c=l;function f(_){return _.length>0&&_.trim().length<=3&&l.seq1Range.length+l.seq2Range.length>100}let h=t.extendToFullLines(l.seq1Range),g=t.getText(new Se(h.start,l.seq1Range.start));f(g)&&(c=c.deltaStart(-g.length));let y=t.getText(new Se(l.seq1Range.endExclusive,h.endExclusive));f(y)&&(c=c.deltaEnd(y.length));let S=qe.fromOffsetPairs(a?a.getEndExclusives():Pr.zero,u?u.getStarts():Pr.max),x=c.intersect(S);o.length>0&&x.getStarts().equals(o[o.length-1].getEndExclusives())?o[o.length-1]=o[o.length-1].join(x):o.push(x)}),o}d();m();p();var Na=class{constructor(e,r){this.trimmedHash=e,this.lines=r}getElement(e){return this.trimmedHash[e]}get length(){return this.trimmedHash.length}getBoundaryScore(e){let r=e===0?0:Ux(this.lines[e-1]),n=e===this.lines.length?0:Ux(this.lines[e]);return 1e3-(r+n)}getText(e){return this.lines.slice(e.start,e.endExclusive).join(`
89
+ `)}isStronglyEqual(e,r){return this.lines[e]===this.lines[r]}};function Ux(t){let e=0;for(;e<t.length&&(t.charCodeAt(e)===32||t.charCodeAt(e)===9);)e++;return e}var Nc=class{constructor(){this.dynamicProgrammingDiffing=new Rc,this.myersDiffingAlgorithm=new ks}computeDiff(e,r,n){if(e.length<=1&&_x(e,r,(L,P)=>L===P))return new In([],[],!1);if(e.length===1&&e[0].length===0||r.length===1&&r[0].length===0)return new In([new an(new ve(1,e.length+1),new ve(1,r.length+1),[new Tt(new ce(1,1,e.length,e[e.length-1].length+1),new ce(1,1,r.length,r[r.length-1].length+1))])],[],!1);let i=n.maxComputationTimeMs===0?Dn.instance:new Lc(n.maxComputationTimeMs),s=!n.ignoreTrimWhitespace,o=new Map;function a(L){let P=o.get(L);return P===void 0&&(P=o.size,o.set(L,P)),P}let l=e.map(L=>a(L.trim())),u=r.map(L=>a(L.trim())),c=new Na(l,e),f=new Na(u,r),h=c.length+f.length<1700?this.dynamicProgrammingDiffing.compute(c,f,i,(L,P)=>e[L]===r[P]?r[P].length===0?.1:1+Math.log(1+r[P].length):.99):this.myersDiffingAlgorithm.compute(c,f,i),g=h.diffs,y=h.hitTimeout;g=T0(c,f,g),g=Fx(c,f,g);let S=[],x=L=>{if(s)for(let P=0;P<L;P++){let D=_+P,$=k+P;if(e[D]!==r[$]){let Q=this.refineDiff(e,r,new qe(new Se(D,D+1),new Se($,$+1)),i,s);for(let O of Q.mappings)S.push(O);Q.hitTimeout&&(y=!0)}}},_=0,k=0;for(let L of g){bi(()=>L.seq1Range.start-_===L.seq2Range.start-k);let P=L.seq1Range.start-_;x(P),_=L.seq1Range.endExclusive,k=L.seq2Range.endExclusive;let D=this.refineDiff(e,r,L,i,s);D.hitTimeout&&(y=!0);for(let $ of D.mappings)S.push($)}x(e.length-_);let T=Bx(S,e,r),N=[];return n.computeMoves&&(N=this.computeMoves(T,e,r,l,u,i,s)),bi(()=>{function L(D,$){if(D.lineNumber<1||D.lineNumber>$.length)return!1;let Q=$[D.lineNumber-1];return!(D.column<1||D.column>Q.length+1)}function P(D,$){return!(D.startLineNumber<1||D.startLineNumber>$.length+1||D.endLineNumberExclusive<1||D.endLineNumberExclusive>$.length+1)}for(let D of T){if(!D.innerChanges)return!1;for(let $ of D.innerChanges)if(!(L($.modifiedRange.getStartPosition(),r)&&L($.modifiedRange.getEndPosition(),r)&&L($.originalRange.getStartPosition(),e)&&L($.originalRange.getEndPosition(),e)))return!1;if(!P(D.modified,r)||!P(D.original,e))return!1}return!0}),new In(T,N,y)}computeMoves(e,r,n,i,s,o,a){return Mx(e,r,n,i,s,o).map(c=>{let f=this.refineDiff(r,n,new qe(c.original.toOffsetRange(),c.modified.toOffsetRange()),o,a),h=Bx(f.mappings,r,n,!0);return new Sc(c,h)})}refineDiff(e,r,n,i,s){let a=BI(n).toRangeMapping2(e,r),l=new Fn(e,a.originalRange,s),u=new Fn(r,a.modifiedRange,s),c=l.length+u.length<500?this.dynamicProgrammingDiffing.compute(l,u,i):this.myersDiffingAlgorithm.compute(l,u,i),f=!1,h=c.diffs;f&&qe.assertSorted(h),h=T0(l,u,h),f&&qe.assertSorted(h),h=Dx(l,u,h),f&&qe.assertSorted(h),h=Ix(l,u,h),f&&qe.assertSorted(h),h=$x(l,u,h),f&&qe.assertSorted(h);let g=h.map(y=>new Tt(l.translateRange(y.seq1Range),u.translateRange(y.seq2Range)));return f&&Tt.assertSorted(g),{mappings:g,hitTimeout:c.hitTimeout}}};function Bx(t,e,r,n=!1){let i=[];for(let s of Cx(t.map(o=>UI(o,e,r)),(o,a)=>o.original.overlapOrTouch(a.original)||o.modified.overlapOrTouch(a.modified))){let o=s[0],a=s[s.length-1];i.push(new an(o.original.join(a.original),o.modified.join(a.modified),s.map(l=>l.innerChanges[0])))}return bi(()=>!n&&i.length>0&&(i[0].modified.startLineNumber!==i[0].original.startLineNumber||r.length-i[i.length-1].modified.endLineNumberExclusive!==e.length-i[i.length-1].original.endLineNumberExclusive)?!1:_a(i,(s,o)=>o.original.startLineNumber-s.original.endLineNumberExclusive===o.modified.startLineNumber-s.modified.endLineNumberExclusive&&s.original.endLineNumberExclusive<o.original.startLineNumber&&s.modified.endLineNumberExclusive<o.modified.startLineNumber)),i}function UI(t,e,r){let n=0,i=0;t.modifiedRange.endColumn===1&&t.originalRange.endColumn===1&&t.originalRange.startLineNumber+n<=t.originalRange.endLineNumber&&t.modifiedRange.startLineNumber+n<=t.modifiedRange.endLineNumber&&(i=-1),t.modifiedRange.startColumn-1>=r[t.modifiedRange.startLineNumber-1].length&&t.originalRange.startColumn-1>=e[t.originalRange.startLineNumber-1].length&&t.originalRange.startLineNumber<=t.originalRange.endLineNumber+i&&t.modifiedRange.startLineNumber<=t.modifiedRange.endLineNumber+i&&(n=1);let s=new ve(t.originalRange.startLineNumber+n,t.originalRange.endLineNumber+1+i),o=new ve(t.modifiedRange.startLineNumber+n,t.modifiedRange.endLineNumber+1+i);return new an(s,o,[t])}function BI(t){return new Or(new ve(t.seq1Range.start+1,t.seq1Range.endExclusive+1),new ve(t.seq2Range.start+1,t.seq2Range.endExclusive+1))}var N0={getLegacy:()=>new kc,getDefault:()=>new Nc};d();m();p();d();m();p();function $n(t,e){let r=Math.pow(10,e);return Math.round(t*r)/r}var it=class{constructor(e,r,n,i=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math.max(0,e))|0,this.g=Math.min(255,Math.max(0,r))|0,this.b=Math.min(255,Math.max(0,n))|0,this.a=$n(Math.max(Math.min(1,i),0),3)}static equals(e,r){return e.r===r.r&&e.g===r.g&&e.b===r.b&&e.a===r.a}},Dr=class t{constructor(e,r,n,i){this._hslaBrand=void 0,this.h=Math.max(Math.min(360,e),0)|0,this.s=$n(Math.max(Math.min(1,r),0),3),this.l=$n(Math.max(Math.min(1,n),0),3),this.a=$n(Math.max(Math.min(1,i),0),3)}static equals(e,r){return e.h===r.h&&e.s===r.s&&e.l===r.l&&e.a===r.a}static fromRGBA(e){let r=e.r/255,n=e.g/255,i=e.b/255,s=e.a,o=Math.max(r,n,i),a=Math.min(r,n,i),l=0,u=0,c=(a+o)/2,f=o-a;if(f>0){switch(u=Math.min(c<=.5?f/(2*c):f/(2-2*c),1),o){case r:l=(n-i)/f+(n<i?6:0);break;case n:l=(i-r)/f+2;break;case i:l=(r-n)/f+4;break}l*=60,l=Math.round(l)}return new t(l,u,c,s)}static _hue2rgb(e,r,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(r-e)*6*n:n<1/2?r:n<2/3?e+(r-e)*(2/3-n)*6:e}static toRGBA(e){let r=e.h/360,{s:n,l:i,a:s}=e,o,a,l;if(n===0)o=a=l=i;else{let u=i<.5?i*(1+n):i+n-i*n,c=2*i-u;o=t._hue2rgb(c,u,r+1/3),a=t._hue2rgb(c,u,r),l=t._hue2rgb(c,u,r-1/3)}return new it(Math.round(o*255),Math.round(a*255),Math.round(l*255),s)}},As=class t{constructor(e,r,n,i){this._hsvaBrand=void 0,this.h=Math.max(Math.min(360,e),0)|0,this.s=$n(Math.max(Math.min(1,r),0),3),this.v=$n(Math.max(Math.min(1,n),0),3),this.a=$n(Math.max(Math.min(1,i),0),3)}static equals(e,r){return e.h===r.h&&e.s===r.s&&e.v===r.v&&e.a===r.a}static fromRGBA(e){let r=e.r/255,n=e.g/255,i=e.b/255,s=Math.max(r,n,i),o=Math.min(r,n,i),a=s-o,l=s===0?0:a/s,u;return a===0?u=0:s===r?u=((n-i)/a%6+6)%6:s===n?u=(i-r)/a+2:u=(r-n)/a+4,new t(Math.round(u*60),l,s,e.a)}static toRGBA(e){let{h:r,s:n,v:i,a:s}=e,o=i*n,a=o*(1-Math.abs(r/60%2-1)),l=i-o,[u,c,f]=[0,0,0];return r<60?(u=o,c=a):r<120?(u=a,c=o):r<180?(c=o,f=a):r<240?(c=a,f=o):r<300?(u=a,f=o):r<=360&&(u=o,f=a),u=Math.round((u+l)*255),c=Math.round((c+l)*255),f=Math.round((f+l)*255),new it(u,c,f,s)}},yi=class t{static fromHex(e){return t.Format.CSS.parseHex(e)||t.red}static equals(e,r){return!e&&!r?!0:!e||!r?!1:e.equals(r)}get hsla(){return this._hsla?this._hsla:Dr.fromRGBA(this.rgba)}get hsva(){return this._hsva?this._hsva:As.fromRGBA(this.rgba)}constructor(e){if(e)if(e instanceof it)this.rgba=e;else if(e instanceof Dr)this._hsla=e,this.rgba=Dr.toRGBA(e);else if(e instanceof As)this._hsva=e,this.rgba=As.toRGBA(e);else throw new Error("Invalid color ctor argument");else throw new Error("Color needs a value")}equals(e){return!!e&&it.equals(this.rgba,e.rgba)&&Dr.equals(this.hsla,e.hsla)&&As.equals(this.hsva,e.hsva)}getRelativeLuminance(){let e=t._relativeLuminanceForComponent(this.rgba.r),r=t._relativeLuminanceForComponent(this.rgba.g),n=t._relativeLuminanceForComponent(this.rgba.b),i=.2126*e+.7152*r+.0722*n;return $n(i,4)}static _relativeLuminanceForComponent(e){let r=e/255;return r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4)}isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e3>=128}isLighterThan(e){let r=this.getRelativeLuminance(),n=e.getRelativeLuminance();return r>n}isDarkerThan(e){let r=this.getRelativeLuminance(),n=e.getRelativeLuminance();return r<n}lighten(e){return new t(new Dr(this.hsla.h,this.hsla.s,this.hsla.l+this.hsla.l*e,this.hsla.a))}darken(e){return new t(new Dr(this.hsla.h,this.hsla.s,this.hsla.l-this.hsla.l*e,this.hsla.a))}transparent(e){let{r,g:n,b:i,a:s}=this.rgba;return new t(new it(r,n,i,s*e))}isTransparent(){return this.rgba.a===0}isOpaque(){return this.rgba.a===1}opposite(){return new t(new it(255-this.rgba.r,255-this.rgba.g,255-this.rgba.b,this.rgba.a))}makeOpaque(e){if(this.isOpaque()||e.rgba.a!==1)return this;let{r,g:n,b:i,a:s}=this.rgba;return new t(new it(e.rgba.r-s*(e.rgba.r-r),e.rgba.g-s*(e.rgba.g-n),e.rgba.b-s*(e.rgba.b-i),1))}toString(){return this._toString||(this._toString=t.Format.CSS.format(this)),this._toString}static getLighterColor(e,r,n){if(e.isLighterThan(r))return e;n=n||.5;let i=e.getRelativeLuminance(),s=r.getRelativeLuminance();return n=n*(s-i)/s,e.lighten(n)}static getDarkerColor(e,r,n){if(e.isDarkerThan(r))return e;n=n||.5;let i=e.getRelativeLuminance(),s=r.getRelativeLuminance();return n=n*(i-s)/i,e.darken(n)}static{this.white=new t(new it(255,255,255,1))}static{this.black=new t(new it(0,0,0,1))}static{this.red=new t(new it(255,0,0,1))}static{this.blue=new t(new it(0,0,255,1))}static{this.green=new t(new it(0,255,0,1))}static{this.cyan=new t(new it(0,255,255,1))}static{this.lightgrey=new t(new it(211,211,211,1))}static{this.transparent=new t(new it(0,0,0,0))}};(function(t){let e;(function(r){let n;(function(i){function s(S){return S.rgba.a===1?`rgb(${S.rgba.r}, ${S.rgba.g}, ${S.rgba.b})`:t.Format.CSS.formatRGBA(S)}i.formatRGB=s;function o(S){return`rgba(${S.rgba.r}, ${S.rgba.g}, ${S.rgba.b}, ${+S.rgba.a.toFixed(2)})`}i.formatRGBA=o;function a(S){return S.hsla.a===1?`hsl(${S.hsla.h}, ${(S.hsla.s*100).toFixed(2)}%, ${(S.hsla.l*100).toFixed(2)}%)`:t.Format.CSS.formatHSLA(S)}i.formatHSL=a;function l(S){return`hsla(${S.hsla.h}, ${(S.hsla.s*100).toFixed(2)}%, ${(S.hsla.l*100).toFixed(2)}%, ${S.hsla.a.toFixed(2)})`}i.formatHSLA=l;function u(S){let x=S.toString(16);return x.length!==2?"0"+x:x}function c(S){return`#${u(S.rgba.r)}${u(S.rgba.g)}${u(S.rgba.b)}`}i.formatHex=c;function f(S,x=!1){return x&&S.rgba.a===1?t.Format.CSS.formatHex(S):`#${u(S.rgba.r)}${u(S.rgba.g)}${u(S.rgba.b)}${u(Math.round(S.rgba.a*255))}`}i.formatHexA=f;function h(S){return S.isOpaque()?t.Format.CSS.formatHex(S):t.Format.CSS.formatRGBA(S)}i.format=h;function g(S){let x=S.length;if(x===0||S.charCodeAt(0)!==35)return null;if(x===7){let _=16*y(S.charCodeAt(1))+y(S.charCodeAt(2)),k=16*y(S.charCodeAt(3))+y(S.charCodeAt(4)),T=16*y(S.charCodeAt(5))+y(S.charCodeAt(6));return new t(new it(_,k,T,1))}if(x===9){let _=16*y(S.charCodeAt(1))+y(S.charCodeAt(2)),k=16*y(S.charCodeAt(3))+y(S.charCodeAt(4)),T=16*y(S.charCodeAt(5))+y(S.charCodeAt(6)),N=16*y(S.charCodeAt(7))+y(S.charCodeAt(8));return new t(new it(_,k,T,N/255))}if(x===4){let _=y(S.charCodeAt(1)),k=y(S.charCodeAt(2)),T=y(S.charCodeAt(3));return new t(new it(16*_+_,16*k+k,16*T+T))}if(x===5){let _=y(S.charCodeAt(1)),k=y(S.charCodeAt(2)),T=y(S.charCodeAt(3)),N=y(S.charCodeAt(4));return new t(new it(16*_+_,16*k+k,16*T+T,(16*N+N)/255))}return null}i.parseHex=g;function y(S){switch(S){case 48:return 0;case 49:return 1;case 50:return 2;case 51:return 3;case 52:return 4;case 53:return 5;case 54:return 6;case 55:return 7;case 56:return 8;case 57:return 9;case 97:return 10;case 65:return 10;case 98:return 11;case 66:return 11;case 99:return 12;case 67:return 12;case 100:return 13;case 68:return 13;case 101:return 14;case 69:return 14;case 102:return 15;case 70:return 15}return 0}})(n=r.CSS||(r.CSS={}))})(e=t.Format||(t.Format={}))})(yi||(yi={}));function jx(t){let e=[];for(let r of t){let n=Number(r);(n||n===0&&r.replace(/\s/g,"")!=="")&&e.push(n)}return e}function M0(t,e,r,n){return{red:t/255,blue:r/255,green:e/255,alpha:n}}function Ma(t,e){let r=e.index,n=e[0].length;if(!r)return;let i=t.positionAt(r);return{startLineNumber:i.lineNumber,startColumn:i.column,endLineNumber:i.lineNumber,endColumn:i.column+n}}function qI(t,e){if(!t)return;let r=yi.Format.CSS.parseHex(e);if(r)return{range:t,color:M0(r.rgba.r,r.rgba.g,r.rgba.b,r.rgba.a)}}function qx(t,e,r){if(!t||e.length!==1)return;let i=e[0].values(),s=jx(i);return{range:t,color:M0(s[0],s[1],s[2],r?s[3]:1)}}function zx(t,e,r){if(!t||e.length!==1)return;let i=e[0].values(),s=jx(i),o=new yi(new Dr(s[0],s[1]/100,s[2]/100,r?s[3]:1));return{range:t,color:M0(o.rgba.r,o.rgba.g,o.rgba.b,o.rgba.a)}}function Oa(t,e){return typeof t=="string"?[...t.matchAll(e)]:t.findMatches(e)}function zI(t){let e=[],n=Oa(t,/\b(rgb|rgba|hsl|hsla)(\([0-9\s,.\%]*\))|(#)([A-Fa-f0-9]{3})\b|(#)([A-Fa-f0-9]{4})\b|(#)([A-Fa-f0-9]{6})\b|(#)([A-Fa-f0-9]{8})\b/gm);if(n.length>0)for(let i of n){let s=i.filter(u=>u!==void 0),o=s[1],a=s[2];if(!a)continue;let l;if(o==="rgb"){let u=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*\)$/gm;l=qx(Ma(t,i),Oa(a,u),!1)}else if(o==="rgba"){let u=/^\(\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;l=qx(Ma(t,i),Oa(a,u),!0)}else if(o==="hsl"){let u=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*\)$/gm;l=zx(Ma(t,i),Oa(a,u),!1)}else if(o==="hsla"){let u=/^\(\s*(36[0]|3[0-5][0-9]|[12][0-9][0-9]|[1-9]?[0-9])\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(100|\d{1,2}[.]\d*|\d{1,2})%\s*,\s*(0[.][0-9]+|[.][0-9]+|[01][.]|[01])\s*\)$/gm;l=zx(Ma(t,i),Oa(a,u),!0)}else o==="#"&&(l=qI(Ma(t,i),o+a));l&&e.push(l)}return e}function Vx(t){return!t||typeof t.getValue!="function"||typeof t.positionAt!="function"?[]:zI(t)}d();m();p();var Wx=new RegExp("\\bMARK:\\s*(.*)$","d"),jI=/^-+|-+$/g;function Hx(t,e){let r=[];if(e.findRegionSectionHeaders&&e.foldingRules?.markers){let n=VI(t,e);r=r.concat(n)}if(e.findMarkSectionHeaders){let n=WI(t);r=r.concat(n)}return r}function VI(t,e){let r=[],n=t.getLineCount();for(let i=1;i<=n;i++){let s=t.getLineContent(i),o=s.match(e.foldingRules.markers.start);if(o){let a={startLineNumber:i,startColumn:o[0].length+1,endLineNumber:i,endColumn:s.length+1};if(a.endColumn>a.startColumn){let l={range:a,...Gx(s.substring(o[0].length)),shouldBeInComments:!1};(l.text||l.hasSeparatorLine)&&r.push(l)}}}return r}function WI(t){let e=[],r=t.getLineCount();for(let n=1;n<=r;n++){let i=t.getLineContent(n);HI(i,n,e)}return e}function HI(t,e,r){Wx.lastIndex=0;let n=Wx.exec(t);if(n){let i=n.indices[1][0]+1,s=n.indices[1][1]+1,o={startLineNumber:e,startColumn:i,endLineNumber:e,endColumn:s};if(o.endColumn>o.startColumn){let a={range:o,...Gx(n[1]),shouldBeInComments:!0};(a.text||a.hasSeparatorLine)&&r.push(a)}}}function Gx(t){t=t.trim();let e=t.startsWith("-");return t=t.replace(jI,""),{text:t,hasSeparatorLine:e}}d();m();p();d();m();p();d();m();p();var GI=Symbol("MicrotaskDelay");var XI,O0;(function(){typeof globalThis.requestIdleCallback!="function"||typeof globalThis.cancelIdleCallback!="function"?O0=(t,e)=>{kw(()=>{if(r)return;let n=Date.now()+15;e(Object.freeze({didTimeout:!0,timeRemaining(){return Math.max(0,n-Date.now())}}))});let r=!1;return{dispose(){r||(r=!0)}}}:O0=(t,e,r)=>{let n=t.requestIdleCallback(e,typeof r=="number"?{timeout:r}:void 0),i=!1;return{dispose(){i||(i=!0,t.cancelIdleCallback(n))}}},XI=t=>O0(globalThis,t)})();var Xx;(function(t){async function e(n){let i,s=await Promise.all(n.map(o=>o.then(a=>a,a=>{i||(i=a)})));if(typeof i<"u")throw i;return s}t.settled=e;function r(n){return new Promise(async(i,s)=>{try{await n(i,s)}catch(o){s(o)}})}t.withAsyncBody=r})(Xx||(Xx={}));var Qx=class t{static fromArray(e){return new t(r=>{r.emitMany(e)})}static fromPromise(e){return new t(async r=>{r.emitMany(await e)})}static fromPromises(e){return new t(async r=>{await Promise.all(e.map(async n=>r.emitOne(await n)))})}static merge(e){return new t(async r=>{await Promise.all(e.map(async n=>{for await(let i of n)r.emitOne(i)}))})}static{this.EMPTY=t.fromArray([])}constructor(e,r){this._state=0,this._results=[],this._error=null,this._onReturn=r,this._onStateChanged=new lt,queueMicrotask(async()=>{let n={emitOne:i=>this.emitOne(i),emitMany:i=>this.emitMany(i),reject:i=>this.reject(i)};try{await Promise.resolve(e(n)),this.resolve()}catch(i){this.reject(i)}finally{n.emitOne=void 0,n.emitMany=void 0,n.reject=void 0}})}[Symbol.asyncIterator](){let e=0;return{next:async()=>{do{if(this._state===2)throw this._error;if(e<this._results.length)return{done:!1,value:this._results[e++]};if(this._state===1)return{done:!0,value:void 0};await gs.toPromise(this._onStateChanged.event)}while(!0)},return:async()=>(this._onReturn?.(),{done:!0,value:void 0})}}static map(e,r){return new t(async n=>{for await(let i of e)n.emitOne(r(i))})}map(e){return t.map(this,e)}static filter(e,r){return new t(async n=>{for await(let i of e)r(i)&&n.emitOne(i)})}filter(e){return t.filter(this,e)}static coalesce(e){return t.filter(e,r=>!!r)}coalesce(){return t.coalesce(this)}static async toPromise(e){let r=[];for await(let n of e)r.push(n);return r}toPromise(){return t.toPromise(this)}emitOne(e){this._state===0&&(this._results.push(e),this._onStateChanged.fire())}emitMany(e){this._state===0&&(this._results=this._results.concat(e),this._onStateChanged.fire())}resolve(){this._state===0&&(this._state=1,this._onStateChanged.fire())}reject(e){this._state===0&&(this._state=2,this._error=e,this._onStateChanged.fire())}};d();m();p();d();m();p();var Mc=class{constructor(e){this.values=e,this.prefixSum=new Uint32Array(e.length),this.prefixSumValidIndex=new Int32Array(1),this.prefixSumValidIndex[0]=-1}insertValues(e,r){e=gi(e);let n=this.values,i=this.prefixSum,s=r.length;return s===0?!1:(this.values=new Uint32Array(n.length+s),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e),e+s),this.values.set(r,e),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSum=new Uint32Array(this.values.length),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}setValue(e,r){return e=gi(e),r=gi(r),this.values[e]===r?!1:(this.values[e]=r,e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),!0)}removeValues(e,r){e=gi(e),r=gi(r);let n=this.values,i=this.prefixSum;if(e>=n.length)return!1;let s=n.length-e;return r>=s&&(r=s),r===0?!1:(this.values=new Uint32Array(n.length-r),this.values.set(n.subarray(0,e),0),this.values.set(n.subarray(e+r),e),this.prefixSum=new Uint32Array(this.values.length),e-1<this.prefixSumValidIndex[0]&&(this.prefixSumValidIndex[0]=e-1),this.prefixSumValidIndex[0]>=0&&this.prefixSum.set(i.subarray(0,this.prefixSumValidIndex[0]+1)),!0)}getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this.values.length-1)}getPrefixSum(e){return e<0?0:(e=gi(e),this._getPrefixSum(e))}_getPrefixSum(e){if(e<=this.prefixSumValidIndex[0])return this.prefixSum[e];let r=this.prefixSumValidIndex[0]+1;r===0&&(this.prefixSum[0]=this.values[0],r++),e>=this.values.length&&(e=this.values.length-1);for(let n=r;n<=e;n++)this.prefixSum[n]=this.prefixSum[n-1]+this.values[n];return this.prefixSumValidIndex[0]=Math.max(this.prefixSumValidIndex[0],e),this.prefixSum[e]}getIndexOf(e){e=Math.floor(e),this.getTotalSum();let r=0,n=this.values.length-1,i=0,s=0,o=0;for(;r<=n;)if(i=r+(n-r)/2|0,s=this.prefixSum[i],o=s-this.values[i],e<o)n=i-1;else if(e>=s)r=i+1;else break;return new P0(i,e-o)}};var P0=class{constructor(e,r){this.index=e,this.remainder=r,this._prefixSumIndexOfResultBrand=void 0,this.index=e,this.remainder=r}};var Oc=class{constructor(e,r,n,i){this._uri=e,this._lines=r,this._eol=n,this._versionId=i,this._lineStarts=null,this._cachedTextValue=null}dispose(){this._lines.length=0}get version(){return this._versionId}getText(){return this._cachedTextValue===null&&(this._cachedTextValue=this._lines.join(this._eol)),this._cachedTextValue}onEvents(e){e.eol&&e.eol!==this._eol&&(this._eol=e.eol,this._lineStarts=null);let r=e.changes;for(let n of r)this._acceptDeleteRange(n.range),this._acceptInsertText(new Ce(n.range.startLineNumber,n.range.startColumn),n.text);this._versionId=e.versionId,this._cachedTextValue=null}_ensureLineStarts(){if(!this._lineStarts){let e=this._eol.length,r=this._lines.length,n=new Uint32Array(r);for(let i=0;i<r;i++)n[i]=this._lines[i].length+e;this._lineStarts=new Mc(n)}}_setLineText(e,r){this._lines[e]=r,this._lineStarts&&this._lineStarts.setValue(e,this._lines[e].length+this._eol.length)}_acceptDeleteRange(e){if(e.startLineNumber===e.endLineNumber){if(e.startColumn===e.endColumn)return;this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.startLineNumber-1].substring(e.endColumn-1));return}this._setLineText(e.startLineNumber-1,this._lines[e.startLineNumber-1].substring(0,e.startColumn-1)+this._lines[e.endLineNumber-1].substring(e.endColumn-1)),this._lines.splice(e.startLineNumber,e.endLineNumber-e.startLineNumber),this._lineStarts&&this._lineStarts.removeValues(e.startLineNumber,e.endLineNumber-e.startLineNumber)}_acceptInsertText(e,r){if(r.length===0)return;let n=Rw(r);if(n.length===1){this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]+this._lines[e.lineNumber-1].substring(e.column-1));return}n[n.length-1]+=this._lines[e.lineNumber-1].substring(e.column-1),this._setLineText(e.lineNumber-1,this._lines[e.lineNumber-1].substring(0,e.column-1)+n[0]);let i=new Uint32Array(n.length-1);for(let s=1;s<n.length;s++)this._lines.splice(e.lineNumber+s-1,0,n[s]),i[s-1]=n[s].length+this._eol.length;this._lineStarts&&this._lineStarts.insertValues(e.lineNumber,i)}};var n4e=60*1e3;var Pc=class{constructor(){this._models=Object.create(null)}getModel(e){return this._models[e]}getModels(){let e=[];return Object.keys(this._models).forEach(r=>e.push(this._models[r])),e}$acceptNewModel(e){this._models[e.url]=new I0(St.parse(e.url),e.lines,e.EOL,e.versionId)}$acceptModelChanged(e,r){if(!this._models[e])return;this._models[e].onEvents(r)}$acceptRemovedModel(e){this._models[e]&&delete this._models[e]}},I0=class extends Oc{get uri(){return this._uri}get eol(){return this._eol}getValue(){return this.getText()}findMatches(e){let r=[];for(let n=0;n<this._lines.length;n++){let i=this._lines[n],s=this.offsetAt(new Ce(n+1,1)),o=i.matchAll(e);for(let a of o)(a.index||a.index===0)&&(a.index=a.index+s),r.push(a)}return r}getLinesContent(){return this._lines.slice(0)}getLineCount(){return this._lines.length}getLineContent(e){return this._lines[e-1]}getWordAtPosition(e,r){let n=Ca(e.column,x0(r),this._lines[e.lineNumber-1],0);return n?new ce(e.lineNumber,n.startColumn,e.lineNumber,n.endColumn):null}words(e){let r=this._lines,n=this._wordenize.bind(this),i=0,s="",o=0,a=[];return{*[Symbol.iterator](){for(;;)if(o<a.length){let l=s.substring(a[o].start,a[o].end);o+=1,yield l}else if(i<r.length)s=r[i],a=n(s,e),o=0,i+=1;else break}}}getLineWords(e,r){let n=this._lines[e-1],i=this._wordenize(n,r),s=[];for(let o of i)s.push({word:n.substring(o.start,o.end),startColumn:o.start+1,endColumn:o.end+1});return s}_wordenize(e,r){let n=[],i;for(r.lastIndex=0;(i=r.exec(e))&&i[0].length!==0;)n.push({start:i.index,end:i.index+i[0].length});return n}getValueInRange(e){if(e=this._validateRange(e),e.startLineNumber===e.endLineNumber)return this._lines[e.startLineNumber-1].substring(e.startColumn-1,e.endColumn-1);let r=this._eol,n=e.startLineNumber-1,i=e.endLineNumber-1,s=[];s.push(this._lines[n].substring(e.startColumn-1));for(let o=n+1;o<i;o++)s.push(this._lines[o]);return s.push(this._lines[i].substring(0,e.endColumn-1)),s.join(r)}offsetAt(e){return e=this._validatePosition(e),this._ensureLineStarts(),this._lineStarts.getPrefixSum(e.lineNumber-2)+(e.column-1)}positionAt(e){e=Math.floor(e),e=Math.max(0,e),this._ensureLineStarts();let r=this._lineStarts.getIndexOf(e),n=this._lines[r.index].length;return{lineNumber:1+r.index,column:1+Math.min(r.remainder,n)}}_validateRange(e){let r=this._validatePosition({lineNumber:e.startLineNumber,column:e.startColumn}),n=this._validatePosition({lineNumber:e.endLineNumber,column:e.endColumn});return r.lineNumber!==e.startLineNumber||r.column!==e.startColumn||n.lineNumber!==e.endLineNumber||n.column!==e.endColumn?{startLineNumber:r.lineNumber,startColumn:r.column,endLineNumber:n.lineNumber,endColumn:n.column}:e}_validatePosition(e){if(!Ce.isIPosition(e))throw new Error("bad position");let{lineNumber:r,column:n}=e,i=!1;if(r<1)r=1,n=1,i=!0;else if(r>this._lines.length)r=this._lines.length,n=this._lines[r-1].length+1,i=!0;else{let s=this._lines[r-1].length+1;n<1?(n=1,i=!0):n>s&&(n=s,i=!0)}return i?{lineNumber:r,column:n}:e}};var QI=!0,D0=class{constructor(){this._workerTextModelSyncServer=new Pc}dispose(){}_getModel(e){return this._workerTextModelSyncServer.getModel(e)}_getModels(){return this._workerTextModelSyncServer.getModels()}$acceptNewModel(e){this._workerTextModelSyncServer.$acceptNewModel(e)}$acceptModelChanged(e,r){this._workerTextModelSyncServer.$acceptModelChanged(e,r)}$acceptRemovedModel(e){this._workerTextModelSyncServer.$acceptRemovedModel(e)}async $computeUnicodeHighlights(e,r,n){let i=this._getModel(e);return i?yc.computeUnicodeHighlights(i,r,n):{ranges:[],hasMore:!1,ambiguousCharacterCount:0,invisibleCharacterCount:0,nonBasicAsciiCharacterCount:0}}async $findSectionHeaders(e,r){let n=this._getModel(e);return n?Hx(n,r):[]}async $computeDiff(e,r,n,i){let s=this._getModel(e),o=this._getModel(r);return!s||!o?null:xi.computeDiff(s,o,n,i)}static computeDiff(e,r,n,i){let s=i==="advanced"?N0.getDefault():N0.getLegacy(),o=e.getLinesContent(),a=r.getLinesContent(),l=s.computeDiff(o,a,n),u=l.changes.length>0?!1:this._modelsAreIdentical(e,r);function c(f){return f.map(h=>[h.original.startLineNumber,h.original.endLineNumberExclusive,h.modified.startLineNumber,h.modified.endLineNumberExclusive,h.innerChanges?.map(g=>[g.originalRange.startLineNumber,g.originalRange.startColumn,g.originalRange.endLineNumber,g.originalRange.endColumn,g.modifiedRange.startLineNumber,g.modifiedRange.startColumn,g.modifiedRange.endLineNumber,g.modifiedRange.endColumn])])}return{identical:u,quitEarly:l.hitTimeout,changes:c(l.changes),moves:l.moves.map(f=>[f.lineRangeMapping.original.startLineNumber,f.lineRangeMapping.original.endLineNumberExclusive,f.lineRangeMapping.modified.startLineNumber,f.lineRangeMapping.modified.endLineNumberExclusive,c(f.changes)])}}static _modelsAreIdentical(e,r){let n=e.getLineCount(),i=r.getLineCount();if(n!==i)return!1;for(let s=1;s<=n;s++){let o=e.getLineContent(s),a=r.getLineContent(s);if(o!==a)return!1}return!0}static{this._diffLimit=1e5}async $computeMoreMinimalEdits(e,r,n){let i=this._getModel(e);if(!i)return r;let s=[],o;r=r.slice(0).sort((l,u)=>{if(l.range&&u.range)return ce.compareRangesUsingStarts(l.range,u.range);let c=l.range?0:1,f=u.range?0:1;return c-f});let a=0;for(let l=1;l<r.length;l++)ce.getEndPosition(r[a].range).equals(ce.getStartPosition(r[l].range))?(r[a].range=ce.fromPositions(ce.getStartPosition(r[a].range),ce.getEndPosition(r[l].range)),r[a].text+=r[l].text):(a++,r[a]=r[l]);r.length=a+1;for(let{range:l,text:u,eol:c}of r){if(typeof c=="number"&&(o=c),ce.isEmpty(l)&&!u)continue;let f=i.getValueInRange(l);if(u=u.replace(/\r\n|\n|\r/g,i.eol),f===u)continue;if(Math.max(u.length,f.length)>xi._diffLimit){s.push({range:l,text:u});continue}let h=Jw(f,u,n),g=i.offsetAt(ce.lift(l).getStartPosition());for(let y of h){let S=i.positionAt(g+y.originalStart),x=i.positionAt(g+y.originalStart+y.originalLength),_={text:u.substr(y.modifiedStart,y.modifiedLength),range:{startLineNumber:S.lineNumber,startColumn:S.column,endLineNumber:x.lineNumber,endColumn:x.column}};i.getValueInRange(_.range)!==_.text&&s.push(_)}}return typeof o=="number"&&s.push({eol:o,text:"",range:{startLineNumber:0,startColumn:0,endLineNumber:0,endColumn:0}}),s}async $computeLinks(e){let r=this._getModel(e);return r?Zw(r):null}async $computeDefaultDocumentColors(e){let r=this._getModel(e);return r?Vx(r):null}static{this._suggestionsLimit=1e4}async $textualSuggest(e,r,n,i){let s=new ps,o=new RegExp(n,i),a=new Set;e:for(let l of e){let u=this._getModel(l);if(u){for(let c of u.words(o))if(!(c===r||!isNaN(Number(c)))&&(a.add(c),a.size>xi._suggestionsLimit))break e}}return{words:Array.from(a),duration:s.elapsed()}}async $computeWordRanges(e,r,n,i){let s=this._getModel(e);if(!s)return Object.create(null);let o=new RegExp(n,i),a=Object.create(null);for(let l=r.startLineNumber;l<r.endLineNumber;l++){let u=s.getLineWords(l,o);for(let c of u){if(!isNaN(Number(c.word)))continue;let f=a[c.word];f||(f=[],a[c.word]=f),f.push({startLineNumber:l,startColumn:c.startColumn,endLineNumber:l,endColumn:c.endColumn})}}return a}async $navigateValueSet(e,r,n,i,s){let o=this._getModel(e);if(!o)return null;let a=new RegExp(i,s);r.startColumn===r.endColumn&&(r={startLineNumber:r.startLineNumber,startColumn:r.startColumn,endLineNumber:r.endLineNumber,endColumn:r.endColumn+1});let l=o.getValueInRange(r),u=o.getWordAtPosition({lineNumber:r.startLineNumber,column:r.startColumn},a);if(!u)return null;let c=o.getValueInRange(u);return lc.INSTANCE.navigateValueSet(r,l,u,c,n)}},xi=class extends D0{constructor(e,r){super(),this._host=e,this._foreignModuleFactory=r,this._foreignModule=null}async $ping(){return"pong"}$loadForeignModule(e,r,n){let o={host:fx(n,(a,l)=>this._host.$fhr(a,l)),getMirrorModels:()=>this._getModels()};return this._foreignModuleFactory?(this._foreignModule=this._foreignModuleFactory(o,r),Promise.resolve(w0(this._foreignModule))):new Promise((a,l)=>{let u=c=>{this._foreignModule=c.create(o,r),a(w0(this._foreignModule))};QI?import(`${nc.asBrowserUri(`${e}.js`).toString(!0)}`).then(u).catch(l):_g([`${e}`],u,l)})}$fmr(e,r){if(!this._foreignModule||typeof this._foreignModule[e]!="function")return Promise.reject(new Error("Missing requestHandler or method: "+e));try{return Promise.resolve(this._foreignModule[e].apply(this._foreignModule,r))}catch(n){return Promise.reject(n)}}};typeof importScripts=="function"&&(globalThis.monaco=ax());var F0=!1;function $0(t){if(F0)return;F0=!0;let e=new sc(r=>{globalThis.postMessage(r)},r=>new xi(Sa.getChannel(r),t));globalThis.onmessage=r=>{e.onmessage(r.data)}}globalThis.onmessage=t=>{F0||$0(null)};function Yx(t){self.onmessage=()=>{$0((e,r)=>Object.create(t(e,r)))}}var _S=be(er(),1);var Nf=be(er(),1);var Mf=be(er(),1);var CS=be(x8(),1);d();m();p();var Os=be(F8(),1),$8=Os.default,C9e=Os.default.objectify,E9e=Os.default.parse,k9e=Os.default.async,A9e=Os.default.sync;var ES=be(er(),1),Br=be(er(),1),DS=be(Pu(),1),FS=be(er(),1);var VS=be(Et(),1),bg=be(er(),1);var Hm=be(er(),1),n_=be(B8(),1),sl=be(Et(),1),s_=be(q8(),1);var If=be(er(),1);d();m();p();var Zc=class t{constructor(e,r,n,i){this._uri=e,this._languageId=r,this._version=n,this._content=i,this._lineOffsets=void 0}get uri(){return this._uri}get languageId(){return this._languageId}get version(){return this._version}getText(e){if(e){let r=this.offsetAt(e.start),n=this.offsetAt(e.end);return this._content.substring(r,n)}return this._content}update(e,r){for(let n of e)if(t.isIncremental(n)){let i=V8(n.range),s=this.offsetAt(i.start),o=this.offsetAt(i.end);this._content=this._content.substring(0,s)+n.text+this._content.substring(o,this._content.length);let a=Math.max(i.start.line,0),l=Math.max(i.end.line,0),u=this._lineOffsets,c=z8(n.text,!1,s);if(l-a===c.length)for(let h=0,g=c.length;h<g;h++)u[h+a+1]=c[h];else c.length<1e4?u.splice(a+1,l-a,...c):this._lineOffsets=u=u.slice(0,a+1).concat(c,u.slice(l+1));let f=n.text.length-(o-s);if(f!==0)for(let h=a+1+c.length,g=u.length;h<g;h++)u[h]=u[h]+f}else if(t.isFull(n))this._content=n.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received");this._version=r}getLineOffsets(){return this._lineOffsets===void 0&&(this._lineOffsets=z8(this._content,!0)),this._lineOffsets}positionAt(e){e=Math.max(Math.min(e,this._content.length),0);let r=this.getLineOffsets(),n=0,i=r.length;if(i===0)return{line:0,character:e};for(;n<i;){let o=Math.floor((n+i)/2);r[o]>e?i=o:n=o+1}let s=n-1;return e=this.ensureBeforeEOL(e,r[s]),{line:s,character:e-r[s]}}offsetAt(e){let r=this.getLineOffsets();if(e.line>=r.length)return this._content.length;if(e.line<0)return 0;let n=r[e.line];if(e.character<=0)return n;let i=e.line+1<r.length?r[e.line+1]:this._content.length,s=Math.min(n+e.character,i);return this.ensureBeforeEOL(s,n)}ensureBeforeEOL(e,r){for(;e>r&&j8(this._content.charCodeAt(e-1));)e--;return e}get lineCount(){return this.getLineOffsets().length}static isIncremental(e){let r=e;return r!=null&&typeof r.text=="string"&&r.range!==void 0&&(r.rangeLength===void 0||typeof r.rangeLength=="number")}static isFull(e){let r=e;return r!=null&&typeof r.text=="string"&&r.range===void 0&&r.rangeLength===void 0}},Kc;(function(t){function e(i,s,o,a){return new Zc(i,s,o,a)}t.create=e;function r(i,s,o){if(i instanceof Zc)return i.update(s,o),i;throw new Error("TextDocument.update: document must be created by TextDocument.create")}t.update=r;function n(i,s){let o=i.getText(),a=wm(s.map(PF),(c,f)=>{let h=c.range.start.line-f.range.start.line;return h===0?c.range.start.character-f.range.start.character:h}),l=0,u=[];for(let c of a){let f=i.offsetAt(c.range.start);if(f<l)throw new Error("Overlapping edit");f>l&&u.push(o.substring(l,f)),c.newText.length&&u.push(c.newText),l=i.offsetAt(c.range.end)}return u.push(o.substr(l)),u.join("")}t.applyEdits=n})(Kc||(Kc={}));function wm(t,e){if(t.length<=1)return t;let r=t.length/2|0,n=t.slice(0,r),i=t.slice(r);wm(n,e),wm(i,e);let s=0,o=0,a=0;for(;s<n.length&&o<i.length;)e(n[s],i[o])<=0?t[a++]=n[s++]:t[a++]=i[o++];for(;s<n.length;)t[a++]=n[s++];for(;o<i.length;)t[a++]=i[o++];return t}function z8(t,e,r=0){let n=e?[r]:[];for(let i=0;i<t.length;i++){let s=t.charCodeAt(i);j8(s)&&(s===13&&i+1<t.length&&t.charCodeAt(i+1)===10&&i++,n.push(r+i+1))}return n}function j8(t){return t===13||t===10}function V8(t){let e=t.start,r=t.end;return e.line>r.line||e.line===r.line&&e.character>r.character?{start:r,end:e}:t}function PF(t){let e=V8(t.range);return e!==t.range?{newText:t.newText,range:e}:t}var IF=Object.create,I3=Object.defineProperty,DF=Object.getOwnPropertyDescriptor,D3=Object.getOwnPropertyNames,FF=Object.getPrototypeOf,$F=Object.prototype.hasOwnProperty,Us=(t,e)=>function(){return e||(0,t[D3(t)[0]])((e={exports:{}}).exports,e),e.exports},UF=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of D3(e))!$F.call(t,i)&&i!==r&&I3(t,i,{get:()=>e[i],enumerable:!(n=DF(e,i))||n.enumerable});return t},Ef=(t,e,r)=>(r=t!=null?IF(FF(t)):{},UF(e||!t||!t.__esModule?I3(r,"default",{value:t,enumerable:!0}):r,t)),BF=Us({"node_modules/tailwindcss/src/value-parser/parse.js"(t,e){var r=40,n=41,i=39,s=34,o=92,a=47,l=44,u=58,c=42,f=117,h=85,g=43,y=/^[a-f0-9?-]+$/i;e.exports=function(S){for(var x=[],_=S,k,T,N,L,P,D,$,Q,O=0,I=_.charCodeAt(O),z=_.length,G=[{nodes:x}],j=0,U,W="",H="",Y="";O<z;)if(I<=32){k=O;do k+=1,I=_.charCodeAt(k);while(I<=32);L=_.slice(O,k),N=x[x.length-1],I===n&&j?Y=L:N&&N.type==="div"?(N.after=L,N.sourceEndIndex+=L.length):I===l||I===u||I===a&&_.charCodeAt(k+1)!==c&&(!U||U&&U.type==="function"&&!1)?H=L:x.push({type:"space",sourceIndex:O,sourceEndIndex:k,value:L}),O=k}else if(I===i||I===s){k=O,T=I===i?"'":'"',L={type:"string",sourceIndex:O,quote:T};do if(P=!1,k=_.indexOf(T,k+1),~k)for(D=k;_.charCodeAt(D-1)===o;)D-=1,P=!P;else _+=T,k=_.length-1,L.unclosed=!0;while(P);L.value=_.slice(O+1,k),L.sourceEndIndex=L.unclosed?k:k+1,x.push(L),O=k+1,I=_.charCodeAt(O)}else if(I===a&&_.charCodeAt(O+1)===c)k=_.indexOf("*/",O),L={type:"comment",sourceIndex:O,sourceEndIndex:k+2},k===-1&&(L.unclosed=!0,k=_.length,L.sourceEndIndex=k),L.value=_.slice(O+2,k),x.push(L),O=k+2,I=_.charCodeAt(O);else if((I===a||I===c)&&U&&U.type==="function")L=_[O],x.push({type:"word",sourceIndex:O-H.length,sourceEndIndex:O+L.length,value:L}),O+=1,I=_.charCodeAt(O);else if(I===a||I===l||I===u)L=_[O],x.push({type:"div",sourceIndex:O-H.length,sourceEndIndex:O+L.length,value:L,before:H,after:""}),H="",O+=1,I=_.charCodeAt(O);else if(r===I){k=O;do k+=1,I=_.charCodeAt(k);while(I<=32);if(Q=O,L={type:"function",sourceIndex:O-W.length,value:W,before:_.slice(Q+1,k)},O=k,W==="url"&&I!==i&&I!==s){k-=1;do if(P=!1,k=_.indexOf(")",k+1),~k)for(D=k;_.charCodeAt(D-1)===o;)D-=1,P=!P;else _+=")",k=_.length-1,L.unclosed=!0;while(P);$=k;do $-=1,I=_.charCodeAt($);while(I<=32);Q<$?(O!==$+1?L.nodes=[{type:"word",sourceIndex:O,sourceEndIndex:$+1,value:_.slice(O,$+1)}]:L.nodes=[],L.unclosed&&$+1!==k?(L.after="",L.nodes.push({type:"space",sourceIndex:$+1,sourceEndIndex:k,value:_.slice($+1,k)})):(L.after=_.slice($+1,k),L.sourceEndIndex=k)):(L.after="",L.nodes=[]),O=k+1,L.sourceEndIndex=L.unclosed?k:O,I=_.charCodeAt(O),x.push(L)}else j+=1,L.after="",L.sourceEndIndex=O+1,x.push(L),G.push(L),x=L.nodes=[],U=L;W=""}else if(n===I&&j)O+=1,I=_.charCodeAt(O),U.after=Y,U.sourceEndIndex+=Y.length,Y="",j-=1,G[G.length-1].sourceEndIndex=O,G.pop(),U=G[j],x=U.nodes;else{k=O;do I===o&&(k+=1),k+=1,I=_.charCodeAt(k);while(k<z&&!(I<=32||I===i||I===s||I===l||I===u||I===a||I===r||I===c&&U&&U.type==="function"||I===a&&U.type==="function"||I===n&&j));L=_.slice(O,k),r===I?W=L:(f===L.charCodeAt(0)||h===L.charCodeAt(0))&&g===L.charCodeAt(1)&&y.test(L.slice(2))?x.push({type:"unicode-range",sourceIndex:O,sourceEndIndex:k,value:L}):x.push({type:"word",sourceIndex:O,sourceEndIndex:k,value:L}),O=k}for(O=G.length-1;O;O-=1)G[O].unclosed=!0,G[O].sourceEndIndex=_.length;return G[0].nodes}}}),qF=Us({"node_modules/tailwindcss/src/value-parser/walk.js"(t,e){e.exports=function r(n,i,s){var o,a,l,u;for(o=0,a=n.length;o<a;o+=1)l=n[o],s||(u=i(l,o,n)),u!==!1&&l.type==="function"&&Array.isArray(l.nodes)&&r(l.nodes,i,s),s&&i(l,o,n)}}}),zF=Us({"node_modules/tailwindcss/src/value-parser/stringify.js"(t,e){function r(i,s){var o=i.type,a=i.value,l,u;return s&&(u=s(i))!==void 0?u:o==="word"||o==="space"?a:o==="string"?(l=i.quote||"",l+a+(i.unclosed?"":l)):o==="comment"?"/*"+a+(i.unclosed?"":"*/"):o==="div"?(i.before||"")+a+(i.after||""):Array.isArray(i.nodes)?(l=n(i.nodes,s),o!=="function"?l:a+"("+(i.before||"")+l+(i.after||"")+(i.unclosed?"":")")):a}function n(i,s){var o,a;if(Array.isArray(i)){for(o="",a=i.length-1;~a;a-=1)o=r(i[a],s)+o;return o}return r(i,s)}e.exports=n}}),jF=Us({"node_modules/tailwindcss/src/value-parser/unit.js"(t,e){var r=45,n=43,i=46,s=101,o=69;function a(l){var u=l.charCodeAt(0),c;if(u===n||u===r){if(c=l.charCodeAt(1),c>=48&&c<=57)return!0;var f=l.charCodeAt(2);return c===i&&f>=48&&f<=57}return u===i?(c=l.charCodeAt(1),c>=48&&c<=57):u>=48&&u<=57}e.exports=function(l){var u=0,c=l.length,f,h,g;if(c===0||!a(l))return!1;for(f=l.charCodeAt(u),(f===n||f===r)&&u++;u<c&&(f=l.charCodeAt(u),!(f<48||f>57));)u+=1;if(f=l.charCodeAt(u),h=l.charCodeAt(u+1),f===i&&h>=48&&h<=57)for(u+=2;u<c&&(f=l.charCodeAt(u),!(f<48||f>57));)u+=1;if(f=l.charCodeAt(u),h=l.charCodeAt(u+1),g=l.charCodeAt(u+2),(f===s||f===o)&&(h>=48&&h<=57||(h===n||h===r)&&g>=48&&g<=57))for(u+=h===n||h===r?3:2;u<c&&(f=l.charCodeAt(u),!(f<48||f>57));)u+=1;return{number:l.slice(0,u),unit:l.slice(u)}}}}),Jm=Us({"node_modules/tailwindcss/src/value-parser/index.js"(t,e){var r=BF(),n=qF(),i=zF();function s(o){return this instanceof s?(this.nodes=r(o),this):new s(o)}s.prototype.toString=function(){return Array.isArray(this.nodes)?i(this.nodes):""},s.prototype.walk=function(o,a){return n(this.nodes,o,a),this},s.unit=jF(),s.walk=n,s.stringify=i,e.exports=s}}),VF=Us({"node_modules/tailwindcss/stubs/config.full.js"(t,e){e.exports={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:r})=>({...r("colors"),auto:"auto"}),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:r})=>r("blur"),backdropBrightness:({theme:r})=>r("brightness"),backdropContrast:({theme:r})=>r("contrast"),backdropGrayscale:({theme:r})=>r("grayscale"),backdropHueRotate:({theme:r})=>r("hueRotate"),backdropInvert:({theme:r})=>r("invert"),backdropOpacity:({theme:r})=>r("opacity"),backdropSaturate:({theme:r})=>r("saturate"),backdropSepia:({theme:r})=>r("sepia"),backgroundColor:({theme:r})=>r("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:r})=>r("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:r})=>({...r("colors"),DEFAULT:r("colors.gray.200","currentColor")}),borderOpacity:({theme:r})=>r("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:r})=>({...r("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:r})=>r("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:r})=>r("colors"),colors:({colors:r})=>({inherit:r.inherit,current:r.current,transparent:r.transparent,black:r.black,white:r.white,slate:r.slate,gray:r.gray,zinc:r.zinc,neutral:r.neutral,stone:r.stone,red:r.red,orange:r.orange,amber:r.amber,yellow:r.yellow,lime:r.lime,green:r.green,emerald:r.emerald,teal:r.teal,cyan:r.cyan,sky:r.sky,blue:r.blue,indigo:r.indigo,violet:r.violet,purple:r.purple,fuchsia:r.fuchsia,pink:r.pink,rose:r.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:r})=>r("borderColor"),divideOpacity:({theme:r})=>r("borderOpacity"),divideWidth:({theme:r})=>r("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:r})=>({none:"none",...r("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:r})=>({auto:"auto",...r("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"',"Arial",'"Noto Sans"',"sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:r})=>r("spacing"),gradientColorStops:({theme:r})=>r("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridTemplateColumns:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))"},height:({theme:r})=>({auto:"auto",...r("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:r})=>({auto:"auto",...r("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:r})=>({auto:"auto",...r("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:r})=>({...r("spacing"),none:"none",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:r,breakpoints:n})=>({none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...n(r("screens"))}),minHeight:{0:"0px",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"},objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",20:"0.2",25:"0.25",30:"0.3",40:"0.4",50:"0.5",60:"0.6",70:"0.7",75:"0.75",80:"0.8",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:r})=>r("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:r})=>r("spacing"),placeholderColor:({theme:r})=>r("colors"),placeholderOpacity:({theme:r})=>r("opacity"),ringColor:({theme:r})=>({DEFAULT:r("colors.blue.500","#3b82f6"),...r("colors")}),ringOffsetColor:({theme:r})=>r("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:r})=>({DEFAULT:"0.5",...r("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:r})=>({...r("spacing")}),scrollPadding:({theme:r})=>r("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:r})=>({...r("spacing")}),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:r})=>({none:"none",...r("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:r})=>r("colors"),textDecorationColor:({theme:r})=>r("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:r})=>({...r("spacing")}),textOpacity:({theme:r})=>r("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:r})=>({...r("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),width:({theme:r})=>({auto:"auto",...r("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]}}}),df=Ef(Jm()),WF=Ef(Jm()),HF=null,GF=null,XF=null,QF=null;function W8(t,e,r){e.split&&(e=e.split("."));for(var n=0,i=e.length,s=t,o,a;n<i&&(a=e[n++],!(a==="__proto__"||a==="constructor"||a==="prototype"));)s=s[a]=n===i?r:typeof(o=s[a])==typeof e?o:e[n]*0!==0||~(""+e[n]).indexOf(".")?{}:[]}function Pt(t){return Object.prototype.toString.call(t)==="[object Object]"}function Ei(t){let e={};for(let r in t)r.substr(0,2)!=="__"&&(Pt(t[r])?e[r]=Ei(t[r]):e[r]=t[r]);return e}function Q3(t,e){return t.start.line===e.start.line&&t.start.character===e.start.character&&t.end.line===e.end.line&&t.end.character===e.end.character}function H8(t){return t.filter((e,r,n)=>n.indexOf(e)===r)}function YF(t,e){return t.filter((r,n,i)=>i.map(e).indexOf(e(r))===n)}function kf(t){return t.filter((e,r)=>r===t.findIndex(n=>Q3(n.range,e.range)))}function Af(t){return Array.isArray(t)?t:[t]}function Bs(t){return[].concat.apply([],t)}function Ci(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;let r=t.concat().sort(),n=e.concat().sort();for(let i=0;i<r.length;++i)if(r[i]!==n[i])return!1;return!0}function JF(t,e){if(t===e)return!0;if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(t[r]!==e[r])return!1;return!0}function Y3(t){let e=function(r,n,i){if(!(!r&&!n))return n?(e(r+n[0],n.slice(1),i),e(r,n.slice(1),i)):i.push(r),i};return e("",t,[])}function cl(t,e){let r=t.separator;e=e.replace(/^\./,"");let n=e.split(r);if(n.length===1)return(0,rl.default)(t.classNames.classNames,[e,"__info","__rule"])===!0||Array.isArray((0,rl.default)(t.classNames.classNames,[e,"__info"]))?[e]:null;let i=Y3("123456789".substr(0,n.length-1)).map(o=>o.split("").map(a=>parseInt(a,10)));return[[e],...i.map(o=>{let a=[],l=0;return o.forEach(u=>{a.push(n.slice(l,u).join("-")),l=u}),a.push(n.slice(l).join("-")),a})].find(o=>!!((0,rl.default)(t.classNames.classNames,[...o,"__info","__rule"])===!0||Array.isArray((0,rl.default)(t.classNames.classNames,[...o,"__info"]))))}function J3(t,e){let r=0;for(let n of e){let i=n.index+r,s=` /* ${n.value} */`;t=t.slice(0,i)+s+t.slice(i),r+=s.length}return t}function Km(t,e){return t.includes("rem")&&(0,df.default)(t).walk(r=>{if(r.type!=="word")return!0;let n=df.default.unit(r.value);if(!n||n.unit!=="rem")return!1;let i=` /* ${parseFloat(n.number)*e}px */`;return t=t.slice(0,r.sourceEndIndex)+i+t.slice(r.sourceEndIndex),!1}),t}function Z3(t,e){let r=[];try{x4(t).forEach(n=>{n.walk(({node:i})=>{fn(i)&&i.type==="token"&&i.value[0]==="dimension-token"&&(i.value[4].type==="integer"||i.value[4].type==="number")&&(i.value[4].unit==="rem"||i.value[4].unit==="em")&&r.push({index:t.length-(t.length-i.value[3]-1),value:`${i.value[4].value*e}px`})})})}catch{}return r}function G8(t,e){return t.replace(/(?<=^\s*@media\s*).*?$/,r=>{let n=Z3(r,e);return J3(r,n)})}function K3({comments:t,rootFontSize:e}){return{postcssPlugin:"plugin",AtRule:{media(r){r.params.includes("em")&&t.push(...Z3(r.params,e).map(({index:n,value:i})=>({index:n+r.source.start.offset+`@media${r.raws.afterName}`.length,value:i})))}},Declaration(r){r.value.includes("rem")&&(0,df.default)(r.value).walk(n=>{if(n.type!=="word")return!0;let i=df.default.unit(n.value);return!i||i.unit!=="rem"||t.push({index:r.source.start.offset+`${r.prop}${r.raws.between}`.length+n.sourceEndIndex,value:`${parseFloat(i.number)*e}px`}),!1})}}}K3.postcss=!0;var X8=["rgb","rgba","hsl","hsla","lch","lab","oklch","oklab"];function eS({comments:t}){return{postcssPlugin:"plugin",Declaration(e){X8.some(r=>e.value.includes(r))&&(0,WF.default)(e.value).walk(r=>{if(r.type!=="function")return!0;if(!X8.includes(r.value))return!1;let n=r.nodes.filter(s=>s.type==="word").map(s=>s.value);if(n.length<3)return!1;let i=eg(`${r.value}(${n.join(" ")})`);return!O1("rgb")(i)||!i||typeof i=="string"||t.push({index:e.source.start.offset+`${e.prop}${e.raws.between}`.length+r.sourceEndIndex,value:zn(i)}),!1})}}}eS.postcss=!0;function tS(t,e){let r=[],n=[];e.showPixelEquivalents&&n.push(K3({comments:r,rootFontSize:e.rootFontSize})),n.push(eS({comments:r}));try{_e(n).process(t,{from:void 0}).css}catch{return t}return J3(t,r)}function rS(t){return(t>0n)-(t<0n)}function Wn(t,e,r=()=>!0){let n=t.modules.jit.generateRules.module(new Set(e),t.jitContext).sort(([o],[a])=>rS(o-a)),i=t.modules.postcss.module.root({nodes:n.map(([,o])=>o)});t.modules.jit.expandApplyAtRules.module(t.jitContext)(i),t.modules.jit.evaluateTailwindFunctions?.module?.(t.jitContext)(i);let s=[];return i.walkRules(o=>{r(o)&&s.push(o)}),{root:i,rules:s}}async function pf(t,e,r){let n=await t.editor.getConfiguration(r),i=e.clone();i.walkAtRules("defaults",l=>{l.remove()});let s=i.toString();s=tS(s,n.tailwindCSS);let o=t.v4?2:4,a=t.v4?/^(?: )+/gm:/^(?: )+/gm;return s.replace(/([^;{}\s])(\n\s*})/g,(l,u,c)=>`${u};${c}`).replace(a,l=>" ".repeat(l.length/o*n.editor.tabSize))}async function Q8(t,e,r){let n=await t.editor.getConfiguration(r),i=[];return e.walkDecls(({prop:s,value:o})=>{n.tailwindCSS.showPixelEquivalents&&(o=Km(o,n.tailwindCSS.rootFontSize)),i.push(`${s}: ${o};`)}),i.join(" ")}function ZF(t,e,r,n){let i=s=>{s.walkClasses(o=>{o.value===r&&(o.value=n)})};return t.modules.postcssSelectorParser.module(i).processSync(e)}function KF(t){return t.type==="atrule"}function Y8(t,e,r){let n=[ZF(t,e.selector,r,"__placeholder__")],i=e;for(;i.parent&&i.parent.type!=="root";)i=i.parent,KF(i)&&n.unshift(`@${i.name} ${i.params}`);return n}var e$=["accent-color","caret-color","color","column-rule-color","background-color","border-color","border-top-color","border-right-color","border-bottom-color","border-left-color","fill","outline-color","stop-color","stroke","text-decoration-color"];function nS(t){if(typeof t!="string")return null;let e=t.toLowerCase();return e==="transparent"?"transparent":e==="currentcolor"?"currentColor":null}var t$=new RegExp(`(?:^|\\s|\\(|,)(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgba?|hsla?|(?:ok)?(?:lab|lch))\\(\\s*(-?[\\d.]+%?(\\s*[,/]\\s*|\\s+)+){2,3}\\s*([\\d.]+%?|var\\([^)]+\\))?\\)|transparent|currentColor|${Object.keys(yd).join("|")})(?:$|\\s|\\)|,)`,"gi");function r$(t){return t.replace(/((?:rgba?|hsla?|(?:ok)?(?:lab|lch))\(\s*)var\([^,]+,\s*([^)]+)\)/gi,"$1$2")}function n$(t){return t.replace(/var\([^,]+,\s*(#[^)]+)\)/gi,"$1")}function i$(t){if(/(?:box|drop)-shadow/.test(t))return[];function e(n){let i=n[1].replace(/var\([^)]+\)/,"1");return nS(i)??ti(i)}t=n$(t),t=r$(t),t=l$(t);let r=t.matchAll(t$);return Array.from(r,e).filter(Boolean)}function of(t){let e=Object.keys(t).filter(c=>!(c==="content"&&(t[c]==='""'||t[c]==="''"||t[c]==="var(--tw-content)")));if(e.length===0)return null;let r=e.filter(c=>!c.startsWith("--")),n=r.length===0;if(!n&&r.some(c=>!e$.includes(c)))return null;let s=(n?e:r).flatMap(c=>Af(t[c]).flatMap(i$)),o=H8(s.map(c=>typeof c=="string"?c:hu({...c,alpha:void 0})));if(o.length!==1)return null;let a=nS(o[0]);if(a)return a;let l=s.filter(c=>typeof c!="string"),u=H8(l.map(c=>c.alpha??1));return u.length===1?l[0]:u.length===2&&u.includes(0)?l.find(c=>(c.alpha??1)!==0):null}function s$(t,e){e=e.clone(),e.walkAtRules(i=>{i.name==="property"&&i.remove(),i.name==="supports"&&i.params==="(-moz-orient: inline)"&&i.remove()});let r={},n=_e.rule({selector:".x",nodes:[]});return e.walkDecls(i=>{n.append(i.clone())}),e.walkDecls(i=>{var s;r[s=i.prop]??(r[s]=[]),r[i.prop].push(i.value)}),of(r)}function Is(t,e){if(t.v4){let i=t.designSystem.compile([e])[0];return s$(t,i)}if(t.jit){if(t.classNames){let l=(0,Lm.default)(t.classNames.classNames,[e,"__info"]);if(l&&l.__rule)return of(Ei(l))}let i;try{i=Wn(t,[e])}catch(l){return console.error(`Error generating rules for className: ${e}`),console.error(l),null}let{root:s,rules:o}=i;if(o.length===0)return null;let a={};return s.walkDecls(l=>{let u=a[l.prop];u?Array.isArray(u)?u.push(l.value):a[l.prop]=[u,l.value]:a[l.prop]=l.value}),of(a)}let r=cl(t,e);if(!r)return null;let n=(0,Lm.default)(t.classNames.classNames,[...r,"__info"]);return n.__rule?of(Ei(n)):null}function eg(t){if(typeof t!="string")return null;let e=t.trim();return e.toLowerCase()==="transparent"?"transparent":e.toLowerCase()==="currentcolor"?"currentColor":!/^\s*(?:rgba?|hsla?|(?:ok)?(?:lab|lch))\s*\([^)]+\)\s*$/.test(e)&&!/^\s*#[0-9a-f]+\s*$/i.test(e)&&!Object.keys(yd).includes(e)?null:ti(e)??null}var o$=Ht("rgb");function J8(t){let e=P1(o$(t));return{red:e.r,green:e.g,blue:e.b,alpha:e.alpha??1}}function zn(t){return t.alpha===void 0||t.alpha===1?N1(t):M1(t)}var a$=/color-mix\(in srgb, (.*?) (\d+|\.\d+|\d+\.\d+)%, transparent\)/g;function l$(t){return t.replace(a$,(e,r,n)=>{if(r.startsWith("var("))return e;let i=ti(r);if(!i)return e;let s=Number(n)/100;return Number.isNaN(s)?e:hu({...i,alpha:s})})}var Mm=["aspnetcorerazor","astro","astro-markdown","blade","django-html","edge","ejs","erb","gohtml","GoHTML","gohtmltmpl","haml","handlebars","hbs","html","HTML (Eex)","HTML (EEx)","html-eex","htmldjango","jade","leaf","liquid","markdown","mdx","mustache","njk","nunjucks","phoenix-heex","php","razor","slim","surface","twig"],Om=["css","less","postcss","sass","scss","stylus","sugarss","tailwindcss"],Pm=["javascript","javascriptreact","reason","rescript","typescript","typescriptreact","glimmer-js","glimmer-ts"],u$=["vue","svelte"],e7e=[...Om,...Mm,...Pm,...u$],Z8=["sass","sugarss","stylus"];function iS(t,e={}){return Z8.includes(t)||Z8.includes(e[t])}function mf(t,e){let r=Object.keys(t.editor.userLanguages).filter(n=>Pm.includes(t.editor.userLanguages[n]));return[...Pm,...r].indexOf(e.languageId)!==-1}function tg(t,e,r){let n=e.getText({start:{line:0,character:0},end:r}),i=zr(t,e,n);return i?["jsx","tsx"].includes(i[i.length-1].type):!1}function c$(t){let e=Object.keys(t.editor.userLanguages).filter(r=>Om.includes(t.editor.userLanguages[r]));return[...Om,...e]}function sS(t,e){return c$(t).indexOf(e)!==-1}function ki(t,e){return sS(t,e.languageId)}function sr(t,e,r){if(ki(t,e))return!0;if(mS(t,e)||ng(e)||gS(e)||mf(t,e)){let n=e.getText({start:{line:0,character:0},end:r}),i=zr(t,e,n);return i?i[i.length-1].type==="css":!1}return!1}function gf(t,e){return t.line===e.start.line&&t.character>=e.start.character?!(t.line===e.end.line&&t.character>e.end.character):t.line===e.end.line&&t.character<=e.end.character?!(t.line===e.start.line&&t.character<e.end.character):t.line>e.start.line&&t.line<e.end.line}var oS=t=>{let e=!1,r=null,n=function(){return e||(r=t.apply(this,arguments),e=!0),r};return n.isLazy=!0,n},aS=()=>({doubleClassList:{arb:{match:new RegExp("(?<!\\\\)\\["),push:"arbitrary"},lbrace:{match:new RegExp("(?<!\\\\)\\{"),push:"interpBrace"},rbrace:{match:new RegExp("(?<!\\\\)\\}"),pop:1},end:{match:new RegExp('(?<!\\\\)"'),pop:1},classlist:{match:new RegExp("[\\s\\S]"),lineBreaks:!0}},singleClassList:{lbrace:{match:new RegExp("(?<!\\\\)\\{"),push:"interpBrace"},rbrace:{match:new RegExp("(?<!\\\\)\\}"),pop:1},end:{match:new RegExp("(?<!\\\\)'"),pop:1},classlist:{match:new RegExp("[\\s\\S]"),lineBreaks:!0}},tickClassList:{lbrace:{match:new RegExp("(?<=(?<!\\\\)\\$)\\{"),push:"interpBrace"},rbrace:{match:new RegExp("(?<!\\\\)\\}"),pop:1},end:{match:new RegExp("(?<!\\\\)`"),pop:1},classlist:{match:new RegExp("[\\s\\S]"),lineBreaks:!0}},interpBrace:{startSingle:{match:new RegExp("(?<!\\\\)'"),push:"singleClassList"},startDouble:{match:new RegExp('(?<!\\\\)"'),push:"doubleClassList"},startTick:{match:new RegExp("(?<!\\\\)`"),push:"tickClassList"},lbrace:{match:new RegExp("(?<!\\\\)\\{"),push:"interpBrace"},rbrace:{match:new RegExp("(?<!\\\\)\\}"),pop:1},text:{match:new RegExp("[\\s\\S]"),lineBreaks:!0}},interpSingle:{startDouble:{match:new RegExp('(?<!\\\\)"'),push:"doubleClassList"},startTick:{match:new RegExp("(?<!\\\\)`"),push:"tickClassList"},single:{match:new RegExp("(?<!\\\\)'"),pop:1},text:{match:new RegExp("[\\s\\S]"),lineBreaks:!0}},interpDouble:{startSingle:{match:new RegExp("(?<!\\\\)'"),push:"singleClassList"},startTick:{match:new RegExp("(?<!\\\\)`"),push:"tickClassList"},double:{match:new RegExp('(?<!\\\\)"'),pop:1},text:{match:new RegExp("[\\s\\S]"),lineBreaks:!0}},arbitrary:{arb:{match:new RegExp("(?<!\\\\)\\]"),pop:1},space:{match:/\s/,pop:1,lineBreaks:!0},arb2:{match:new RegExp("[\\s\\S]"),lineBreaks:!0}}}),lS={main:{start:{match:'"',push:"doubleClassList"}},doubleClassList:{end:{match:'"',pop:1},classlist:{match:/[\s\S]/,lineBreaks:!0}}},uS=oS(()=>{let t=!0;try{new RegExp("(?<!)")}catch{t=!1}return t?al.default.states({main:{start1:{match:'"',push:"doubleClassList"},start2:{match:"'",push:"singleClassList"},start3:{match:"{",push:"interpBrace"}},...aS()}):al.default.states(lS)}),cS=oS(()=>{let t=!0;try{new RegExp("(?<!)")}catch{t=!1}return t?al.default.states({main:{lbrace:{match:"{",push:"interpBrace"},single:{match:"'",push:"interpSingle"},double:{match:'"',push:"interpDouble"}},...aS()}):al.default.states(lS)});function K8(t,e){return{start:{line:(e?.start.line||0)+t.start.line,character:(t.end.line===0&&e?.start.character||0)+t.start.character},end:{line:(e?.start.line||0)+t.end.line,character:(t.end.line===0&&e?.start.character||0)+t.end.character}}}function qr(t,e,r){let n=typeof t=="string"?t:t.getText(r);return e==="js"||e==="jsx"?f$(n):e==="css"?n.replace(/\/\*.*?\*\//gs,e3):n.replace(/<!--.*?-->/gs,e3)}function e3(t){return t.replace(/./gs,e=>e===`
90
+ `?`
91
+ `:" ")}var ef;function f$(t){ef||(ef=$3.default.states({main:{commentLine:/\/\/.*?$/,commentBlock:{match:/\/\*[^]*?\*\//,lineBreaks:!0},stringDouble:/"(?:[^"\\]|\\.)*"/,stringSingle:/'(?:[^'\\]|\\.)*'/,stringBacktick:/`(?:[^`\\]|\\.)*`/,other:{match:/[^]/,lineBreaks:!0}}}));let e="";ef.reset(t);for(let r of ef)r.type==="commentLine"?e+=" ".repeat(r.value.length):r.type==="commentBlock"?e+=r.value.replace(/./g," "):e+=r.value;return e}function*fS({text:t,filters:e,cursor:r=null}){for(let n of e){let[i,s]=Array.isArray(n)?n:[n],o=new RegExp(i,"gd"),a=s?new RegExp(s,"gd"):void 0;for(let l of h$(t,o,a,r))yield l}}function*h$(t,e,r,n){for(let i of t.matchAll(e)){if(i[1]===void 0){console.warn(`Regex /${e.source}/ must have exactly one capture group`);continue}let s=i.indices[1][0],o=s+i[1].length;if(!(n!==null&&(n<s||n>o))){if(!r){yield{classList:n!==null?i[1].slice(0,n-s):i[1],range:[s,o]};continue}for(let a of i[1].matchAll(r)){if(a[1]===void 0){console.warn(`Regex /${r.source}/ must have exactly one capture group`);continue}let l=s+a.indices[1][0],u=l+a[1].length;n!==null&&(n<l||n>u)||(yield{classList:n!==null?a[1].slice(0,n-l):a[1],range:[l,u]})}}}}function Ai(t,e){let r,n=[];for(;(r=t.exec(e))!==null;)n.push({...r});return n}function d$(t,e){let r=Ai(t,e);return r.length===0?null:r[r.length-1]}function fl({classList:t,range:e,important:r},n){let i=t.split(/(\s+)/),s=[],o=0;for(let a=0;a<i.length;a++){if(a%2===0&&!n.includes(i[a])){let l=ct(t,o),u=ct(t,o+i[a].length);s.push({className:i[a],classList:{classList:t,range:e,important:r},relativeRange:{start:l,end:u},range:{start:{line:e.start.line+l.line,character:(u.line===0?e.start.character:0)+l.character},end:{line:e.start.line+u.line,character:(u.line===0?e.start.character:0)+u.character}}})}o+=i[a].length}return s}async function nl(t,e,r,n,i=!0){let s=await p$(t,e,r,n,i);return Bs(s.map(o=>fl(o,t.blocklist)))}function bf(t,e,r,n){let i=qr(e,"css",r),s=iS(n??e.languageId,t.editor?.userLanguages)?/(@apply\s+)(?<classList>[^}\r\n]+?)(?<important>\s*!important)?(?:\r|\n|}|$)/g:/(@apply\s+)(?<classList>[^;}]+?)(?<important>\s*!important)?\s*[;}]/g,o=Ai(s,i),a=r?r.start:{line:0,character:0};return o.map(l=>{let u=ct(i,l.index+l[1].length),c=ct(i,l.index+l[1].length+l.groups.classList.length);return{classList:l.groups.classList,important:!!l.groups.important,range:{start:{line:a.line+u.line,character:(c.line===0?a.character:0)+u.character},end:{line:a.line+c.line,character:(c.line===0?a.character:0)+c.character}}}})}async function hS(t,e,r){let i=(await t.editor.getConfiguration(e.uri)).tailwindCSS.experimental.classRegex;if(!Array.isArray(i)||i.length===0)return[];let s=e.getText(r?{...r,start:e.positionAt(0)}:void 0),o=[];try{for(let a of fS({text:s,filters:i}))o.push({classList:a.classList,range:{start:e.positionAt(a.range[0]),end:e.positionAt(a.range[1])}})}catch{throw console.log(JSON.stringify({text:s,filters:i})),new Error("Failed to parse custom class regex")}return o}function dS(t,e){let r=e.filter(i=>typeof i=="string").flatMap(i=>[i,`\\[${i}\\]`]),n=/(?:\s|:|\()(ATTRS)\s*=\s*['"`{]/;return Ai(new RegExp(n.source.replace("ATTRS",r.join("|")),"gi"),t)}async function vf(t,e,r,n){let i=qr(e,r,n),s=dS(i,(await t.editor.getConfiguration(e.uri)).tailwindCSS.classAttributes),o=[];return s.forEach(a=>{let l=i.substr(a.index+a[0].length-1),u=a[0][0]===":"||a[1].startsWith("[")&&a[1].endsWith("]")?cS():uS();u.reset(l);let c=[],f,h;try{for(let g of u)g.type==="classlist"||g.type.startsWith("arb")?h?h.value+=g.value:h={value:g.value,offset:g.offset}:(h&&c.push({value:h.value,offset:h.offset}),h=void 0)}catch{}h&&c.push({value:h.value,offset:h.offset}),o.push(...c.map(({value:g,offset:y})=>{if(g.trim()==="")return null;let S=g.match(/^\s*/),x=S===null?0:S[0].length,_=g.match(/\s*$/),k=_===null?0:-_[0].length,T=ct(i,a.index+a[0].length-1+y+x),N=ct(i,a.index+a[0].length-1+y+g.length+k);return{classList:g.substr(x,g.length+k),range:{start:{line:(n?.start.line||0)+T.line,character:(N.line===0&&n?.start.character||0)+T.character},end:{line:(n?.start.line||0)+N.line,character:(N.line===0&&n?.start.character||0)+N.character}}}}).filter(g=>g!==null))}),o}async function p$(t,e,r,n,i=!0){let s=[];return n==="css"?s=bf(t,e,r):(n==="html"||n==="jsx")&&(s=await vf(t,e,n,r)),kf([...s,...i?await hS(t,e,r):[]])}async function rg(t,e){if(ki(t,e))return bf(t,e);let r=zr(t,e);return r?kf(Bs([...await Promise.all(r.filter(n=>n.type==="html"||n.type==="jsx").map(({type:n,range:i})=>vf(t,e,n==="html"?"html":"jsx",i))),...r.filter(n=>n.type==="css").map(({range:n,lang:i})=>bf(t,e,n,i)),await hS(t,e)])):[]}function pS(t,e){if(ki(t,e))return Im(e);let r=zr(t,e);return r?Bs(r.filter(n=>n.type==="css").map(({range:n})=>Im(e,n))):[]}function m$(t){let e;for(let r=0;r<t.length;r++){let n=t[r];if(n===","&&!e)return r;!e&&(n==='"'||n==="'")?e=n:n===e&&(e=void 0)}return null}function Im(t,e){let r=qr(t,"css",e);return Ai(/(?<prefix>[\s:;/*(){}])(?<helper>config|theme)(?<innerPrefix>\(\s*)(?<path>[^)]*?)\s*\)/g,r).map(i=>{let s="",o=i.groups.path,a=m$(o);a!==null&&(o=o.slice(0,a).trimEnd()),o=o.replace(/['"]+$/,"").replace(/^['"]+/,c=>(s=c,""));let l=o.match(/^([^\s]+)(?![^\[]*\])(?:\s*\/\s*([^\/\s]+))$/);l&&(o=l[1]),o=o.replace(/['"]*\s*$/,"");let u=i.index+i.groups.prefix.length+i.groups.helper.length+i.groups.innerPrefix.length;return{helper:i.groups.helper==="theme"?"theme":"config",path:o,ranges:{full:K8({start:ct(r,u),end:ct(r,u+i.groups.path.length)},e),path:K8({start:ct(r,u+s.length),end:ct(r,u+s.length+o.length)},e)}}})}function ct(t,e){let{line:r,col:n}=(0,F3.default)(t+`
92
+ `).fromIndex(e)??{line:1,col:1};return{line:r-1,character:n-1}}async function g$(t,e,r){let n=[],i=e.offsetAt(r),s={start:e.positionAt(Math.max(0,i-2e3)),end:e.positionAt(i+2e3)};if(ng(e)){let a=zr(t,e),l=await Promise.all(a.map(async({type:u,range:c,lang:f})=>u==="css"?bf(t,e,c,f):u==="html"?await vf(t,e,"html",c):u==="jsx"?await vf(t,e,"jsx",c):[]));n=kf(Bs(l)).flatMap(u=>fl(u,t.blocklist))}else sr(t,e,r)?n=await nl(t,e,s,"css"):ig(t,e,r)?n=await nl(t,e,s,"html"):tg(t,e,r)?n=await nl(t,e,s,"jsx"):n=await nl(t,e,s);if(n.length===0)return null;let o=n.find(({range:a})=>gf(r,a));return o||null}var b$=["text/html","text/x-template","text/x-handlebars-template"],v$=["text/babel"],nr={text:{match:/[^]/,lineBreaks:!0}},af={main:{cssBlockStart:{match:/<style(?=[>\s])/,push:"cssBlock"},jsBlockStart:{match:"<script",push:"jsBlock"},...nr},cssBlock:{styleStart:{match:">",next:"style"},cssBlockEnd:{match:"/>",pop:1},attrStartDouble:{match:'"',push:"attrDouble"},attrStartSingle:{match:"'",push:"attrSingle"},interp:{match:"{",push:"interp"},...nr},jsBlock:{scriptStart:{match:">",next:"script"},jsBlockEnd:{match:"/>",pop:1},langAttrStartDouble:{match:'lang="',push:"langAttrDouble"},langAttrStartSingle:{match:"lang='",push:"langAttrSingle"},typeAttrStartDouble:{match:'type="',push:"typeAttrDouble"},typeAttrStartSingle:{match:"type='",push:"typeAttrSingle"},attrStartDouble:{match:'"',push:"attrDouble"},attrStartSingle:{match:"'",push:"attrSingle"},interp:{match:"{",push:"interp"},...nr},interp:{interp:{match:"{",push:"interp"},end:{match:"}",pop:1},...nr},langAttrDouble:{langAttrEnd:{match:'"',pop:1},lang:{match:/[^"]+/,lineBreaks:!0}},langAttrSingle:{langAttrEnd:{match:"'",pop:1},lang:{match:/[^']+/,lineBreaks:!0}},typeAttrDouble:{langAttrEnd:{match:'"',pop:1},type:{match:/[^"]+/,lineBreaks:!0}},typeAttrSingle:{langAttrEnd:{match:"'",pop:1},type:{match:/[^']+/,lineBreaks:!0}},attrDouble:{attrEnd:{match:'"',pop:1},...nr},attrSingle:{attrEnd:{match:"'",pop:1},...nr},style:{cssBlockEnd:{match:/<\/style\s*>/,pop:1},...nr},script:{jsBlockEnd:{match:/<\/script\s*>/,pop:1},...nr}},w$={...af,main:{htmlBlockStart:{match:"<template",push:"htmlBlock"},...af.main},cssBlock:{langAttrStartDouble:{match:'lang="',push:"langAttrDouble"},langAttrStartSingle:{match:"lang='",push:"langAttrSingle"},...af.cssBlock},htmlBlock:{htmlStart:{match:">",next:"html"},htmlBlockEnd:{match:"/>",pop:1},attrStartDouble:{match:'"',push:"attrDouble"},attrStartSingle:{match:"'",push:"attrSingle"},interp:{match:"{",push:"interp"},...nr},html:{htmlBlockEnd:{match:"</template>",pop:1},nestedBlockStart:{match:"<template",push:"nestedBlock"},...nr},nestedBlock:{nestedStart:{match:">",next:"nested"},nestedBlockEnd:{match:"/>",pop:1},...nr},nested:{nestedBlockEnd:{match:"</template>",pop:1},nestedBlockStart:{match:"<template",push:"nestedBlock"},...nr}},y$=Zm.default.states(af),x$=Zm.default.states(w$),tf=new U3.default({max:25,maxAge:1e3});function zr(t,e,r=e.getText()){let n=`${e.languageId}:${r}`,i=tf.get(n);if(i!==void 0)return i;let s=mf(t,e),o=ng(e)?"none":mS(t,e)||gS(e)?"html":s?"jsx":null;if(o===null)return tf.set(n,null),null;r=qr(r,s?"js":"html");let a=o==="none"?x$:y$;a.reset(r);let l=o,u=[{type:o,range:{start:{line:0,character:0},end:void 0}}],c=0;try{for(let f of a){if(!f.type.startsWith("nested"))if(f.type.endsWith("BlockStart")){let h=ct(r,c);u[u.length-1].range.end||(u[u.length-1].range.end=h),l=f.type.replace(/BlockStart$/,""),u.push({type:l,range:{start:h,end:void 0}})}else if(f.type.endsWith("BlockEnd")){let h=ct(r,c);u[u.length-1].range.end=h,u.push({type:o,range:{start:h,end:void 0}})}else f.type==="lang"?u[u.length-1].type=f.text:f.type==="type"&&b$.includes(f.text)?u[u.length-1].type="html":f.type==="type"&&v$.includes(f.text)&&(u[u.length-1].type="jsx");c+=f.text.length}}catch{return tf.set(n,null),null}u[u.length-1].range.end||(u[u.length-1].range.end=ct(r,c)),tf.set(n,u);for(let f of u)f.type!=="css"&&sS(t,f.type)&&(f.lang=f.type,f.type="css");return u}function mS(t,e){let r=Object.keys(t.editor.userLanguages).filter(n=>Mm.includes(t.editor.userLanguages[n]));return[...Mm,...r].indexOf(e.languageId)!==-1}function ng(t){return t.languageId==="vue"}function gS(t){return t.languageId==="svelte"}function ig(t,e,r){let n=e.getText({start:{line:0,character:0},end:r}),i=zr(t,e,n);return i?i[i.length-1].type==="html":!1}function bS(t){return Pt(t)?`${Object.keys(t).length} values`:typeof t=="function"?"\u0192":typeof t=="string"?t:Ld(t,{inlineCharacterLimit:1/0,singleQuotes:!1,transform:(e,r,n)=>typeof e[r]=="function"?"\u0192":n})}function sg(t,e,r){if(e.__rule!==!0&&!Array.isArray(e))return null;if(Array.isArray(e)){let u=e.map(c=>sg(t,c,r)).filter(Boolean);return u.length===0?null:u.join(`
93
+
94
+ `)}let n="",i=" ".repeat(r.editor.tabSize),s=(0,B3.default)(e,"__context",[]),o=Object.keys(Ei(e));if(o.length===0)return null;for(let u=0;u<s.length;u++)n+=`${i.repeat(u)}${s[u]} {
95
+ `;let a=i.repeat(s.length),l=o.reduce((u,c,f)=>{let h=Af(e[c]).map(g=>`${a+i}${c}: ${g};`).join(`
96
+ `);return`${u}${f===0?"":`
97
+ `}${h}`},"");n+=`${a}${S$(t,e)} {
98
+ ${l}
99
+ ${a}}`;for(let u=s.length-1;u>=0;u--)n+=`${i.repeat(u)}
100
+ }`;return n=tS(n,r.tailwindCSS),n}function S$(t,e){let r=e.__pseudo.join("");return`${e.__scope?`${e.__scope} `:""}.${(0,q3.default)(t)}${r}`}function _$(t){return Pt(t)&&t.raw!==void 0}function C$(t){if(!t)return;if(typeof t=="string")return`@media (min-width: ${t})`;if(_$(t))return`@media ${t.raw}`;let e=(Array.isArray(t)?t:[t]).map(r=>[typeof r.min=="string"?`(min-width: ${r.min})`:null,typeof r.max=="string"?`(max-width: ${r.max})`:null].filter(Boolean).join(" and ")).join(", ");return e?`@media ${e}`:void 0}function E$(t){let e=0;for(let r=t.length-1;r>=0;r--){let n=t.charCodeAt(r);e+=+(n===123)-+(n===125)}return e}function k$(t,e){let r="<",n=">",i="\\",s="?",o={line:0,character:0},a=t.getText({start:{line:o.line,character:o.character},end:{line:e.start.line,character:e.start.character}});if(a.length>500&&(a=a.substr(a.length-500)),!a.trim())return!0;let l=!0,u=!1,c=a.length-1;if(a[c]===r)return!1;for(;c>=0;){let f=a[c];if(c--,!u&&/\s/.test(f)){u=!0;continue}if(f===s&&a[c]===r){c--;continue}if(/\s/.test(f)&&a[c]===r){c--;continue}if(!(f!==r&&f!==n)){if(c>=0&&a[c]===i){c--;continue}if(f===n){if(c>=0&&a[c]==="=")continue;break}if(f===r){l=!u;break}}}return l}function jt(t,e){let r=typeof e=="number"?e.toString().length:8;return("0".repeat(r)+t).slice(-r)}function ut(t,e){return t.startsWith("0.0.0-insiders")?!0:(0,z3.default)(t,e)}function Mt(t,e){let r=0,n="https://tailwindcss-v0.netlify.app/docs/";ut(t,"0.99.0")&&(r=1,n="https://v1.tailwindcss.com/docs/"),ut(t,"1.99.0")&&(r=2,n="https://tailwindcss.com/docs/");let i=Array.isArray(e)?e[r]||e[e.length-1]:e;return`${n}${i}`}function wf(t,e){let r=Array.isArray(e)?e:cl(t,e);if(!r)return null;let n=(0,j3.default)(t.classNames.classNames,[...r,"__info"]);return Array.isArray(n)?n.map(i=>({source:i.__source,pseudo:i.__pseudo,scope:i.__scope,context:i.__context})):{source:n.__source,pseudo:n.__pseudo,scope:n.__scope,context:n.__context}}function vS(t,e){return t.featureFlags.future.includes(e)?t.config.future==="all"||(0,Rm.default)(t.config,["future",e],!1):t.featureFlags.experimental.includes(e)?t.config.experimental==="all"||(0,Rm.default)(t.config,["experimental",e],!1):!1}function Lf(t,e){if(t.jit)return{isApplyable:!0};let r=wf(t,e);if(!r)return null;if(ut(t.version,"2.0.0-alpha.1")||vS(t,"applyComplexClasses"))return{isApplyable:!0};let n=Array.isArray(e)?e.join(t.separator):e,i;return Array.isArray(r)?i=`'@apply' cannot be used with '${n}' because it is included in multiple rulesets.`:r.source!=="utilities"?i=`'@apply' cannot be used with '${n}' because it is not a utility.`:r.context&&r.context.length>0?r.context.length===1?i=`'@apply' cannot be used with '${n}' because it is nested inside of an at-rule ('${r.context[0]}').`:i=`'@apply' cannot be used with '${n}' because it is nested inside of at-rules (${r.context.map(s=>`'${s}'`).join(", ")}).`:r.pseudo&&r.pseudo.length>0&&(r.pseudo.length===1?i=`'@apply' cannot be used with '${n}' because its definition includes a pseudo-selector ('${r.pseudo[0]}')`:i=`'@apply' cannot be used with '${n}' because its definition includes pseudo-selectors (${r.pseudo.map(s=>`'${s}'`).join(", ")}).`),i?{isApplyable:!1,reason:i}:{isApplyable:!0}}function Dm(t,e){let r=t.variants.flatMap(o=>o.values.length?o.values.map(a=>a==="DEFAULT"?o.name:`${o.name}${o.hasDash?"-":""}${a}`):[o.name]),n=new Set,i=0,s=A$(e,t.separator);if(s.length<2)return{variants:Array.from(n),offset:i};s=s.filter(Boolean);for(let o of s){if(r.includes(o)||t.jit&&(o.includes("[")&&o.endsWith("]")||o.includes("/"))&&Wn(t,[`${o}${t.separator}[color:red]`]).rules.length>0){n.add(o),i+=o.length+t.separator.length;continue}break}return{variants:Array.from(n),offset:i}}function A$(t,e){let r=[],n=[],i=0;for(let s=0;s<t.length;s++){let o=t[s];r.length===0&&o===e[0]&&(e.length===1||t.slice(s,s+e.length)===e)&&(n.push(t.slice(i,s)),i=s+e.length),o==="("||o==="["||o==="{"?r.push(o):(o===")"&&r[r.length-1]==="("||o==="]"&&r[r.length-1]==="["||o==="}"&&r[r.length-1]==="{")&&r.pop()}return n.push(t.slice(i)),n}var L$=t=>Array.isArray(t.__info)?t.__info.some(e=>e.__source==="utilities"):t.__info.__source==="utilities";function Rf(t,e,r,n,i,s){let o=e.split(/[\s+]/),a=o[o.length-1],l=t.separator,u=a.split(l),c,f=[],h=!1,g={...r,start:{...r.start,character:r.end.character-a.length}};if(t.v4){let y=function(L){return{kind:9,data:{...t.completionItemData??{},_type:"variant"},command:L.insertTextFormat===2?void 0:{title:"",command:"editor.action.triggerSuggest"},sortText:"-"+jt(N++),...L}},{variants:S,offset:x}=Dm(t,a);if(s&&(s.triggerKind===1||s.triggerKind===2&&s.triggerCharacter==="/")&&a.includes("/")){let L,P=a.split("/").slice(0,-1).join("/"),D=P.slice(x);if(L=t.classList.find($=>Array.isArray($)&&$[0]===D)?.[1]?.modifiers,L)return Ot({isIncomplete:!1,items:L.map(($,Q)=>{let O=`${P}/${$}`,I=bt.Constant,z,G=Is(t,O);return G!==null&&(I=bt.Color,typeof G!="string"&&(G.alpha??1)!==0&&(z=zn(G))),{label:O,...z?{documentation:z}:{},kind:I,sortText:jt(Q)}})},{range:g,data:t.completionItemData},t.editor.capabilities.itemDefaults)}g.start.character+=x;let _=a.substr(x).endsWith("!");_&&(g.end.character-=1);let k=[],T=new Set,N=0;for(let L of t.variants)if(!S.includes(L.name)&&!T.has(L.name)){if(T.add(L.name),L.isArbitrary)k.push(y({label:`${L.name}${L.hasDash?"-":""}[]${l}`,insertTextFormat:2,textEditText:`${L.name}${L.hasDash?"-":""}[\${1}]${l}\${0}`}));else{let P=!ut(t.version,"2.99.0"),D=[...S,L.name];if(P){let Q=t.variants.map(({name:O})=>O);D=D.sort((O,I)=>Q.indexOf(I)-Q.indexOf(O))}let $=[];try{$=L.selectors()}catch(Q){console.log("Error while trying to get selectors for variant"),console.log({variant:L,err:Q})}if($.length===0)continue;k.push(y({label:`${L.name}${l}`,detail:$.map(Q=>G8(Q,n)).join(", "),textEditText:D[D.length-1]+l,additionalTextEdits:P&&D.length>1?[{newText:D.slice(0,D.length-1).join(l)+l,range:{start:{...r.start,character:r.end.character-a.length},end:{...g.start,character:g.start.character}}}]:[]}))}for(let P of L.values??[]){if(S.includes(`${L.name}-${P}`)||T.has(`${L.name}-${P}`))continue;T.add(`${L.name}-${P}`);let D=[];try{D=L.selectors({value:P})}catch($){console.log("Error while trying to get selectors for variant"),console.log({variant:L,err:$})}D.length!==0&&k.push(y({label:P==="DEFAULT"?`${L.name}${l}`:`${L.name}${L.hasDash?"-":""}${P}${l}`,detail:D.join(", ")}))}}return Ot({isIncomplete:!1,items:k.concat(t.classList.reduce((L,[P,{color:D}],$)=>{if(t.blocklist?.includes([...S,P].join(t.separator)))return L;let Q=D?bt.Color:bt.Constant,O;return D&&typeof D!="string"&&(O=zn(D)),L.push({label:P,kind:Q,...O?{documentation:O}:{},sortText:jt($,t.classList.length)}),L},[]))},{data:{...t.completionItemData??{},..._?{important:_}:{},variants:S},range:g},t.editor.capabilities.itemDefaults)}if(t.jit){let{variants:y,offset:S}=Dm(t,a);if(s&&(s.triggerKind===1||s.triggerKind===2&&s.triggerCharacter==="/")&&a.includes("/")){let T,N=a.split("/").slice(0,-1).join("/");if(t.classListContainsMetadata){let L=N.slice(S);T=t.classList.find(P=>Array.isArray(P)&&P[0]===L)?.[1]?.modifiers}else{let L=N+"/[0]",{rules:P}=Wn(t,[L]);if(P.length>0){let D=(0,Vt.default)(t.config,"theme.opacity",{});Pt(D)||(D={}),T=Object.keys(D)}}if(T)return Ot({isIncomplete:!1,items:T.map((L,P)=>{let D=`${N}/${L}`,$=bt.Constant,Q,O=Is(t,D);return O!==null&&($=bt.Color,typeof O!="string"&&(O.alpha??1)!==0&&(Q=zn(O))),{label:D,...Q?{documentation:Q}:{},kind:$,sortText:jt(P)}})},{range:g,data:t.completionItemData},t.editor.capabilities.itemDefaults)}g.start.character+=S;let x=a.substr(S).startsWith("!");x&&(g.start.character+=1);let _=[],k=new Set;if(!x){let T=function(L){return{kind:9,data:{...t.completionItemData??{},_type:"variant"},command:L.insertTextFormat===2?void 0:{title:"",command:"editor.action.triggerSuggest"},sortText:"-"+jt(N++),...L}},N=0;for(let L of t.variants)if(!y.includes(L.name)&&!k.has(L.name)){if(k.add(L.name),L.isArbitrary)_.push(T({label:`${L.name}${L.hasDash?"-":""}[]${l}`,insertTextFormat:2,textEditText:`${L.name}${L.hasDash?"-":""}[\${1}]${l}\${0}`}));else{let P=!ut(t.version,"2.99.0"),D=[...y,L.name];if(P){let $=t.variants.map(({name:Q})=>Q);D=D.sort((Q,O)=>$.indexOf(O)-$.indexOf(Q))}_.push(T({label:`${L.name}${l}`,detail:L.selectors().map($=>G8($,n)).join(", "),textEditText:D[D.length-1]+l,additionalTextEdits:P&&D.length>1?[{newText:D.slice(0,D.length-1).join(l)+l,range:{start:{...r.start,character:r.end.character-a.length},end:{...g.start,character:g.start.character}}}]:[]}))}for(let P of L.values??[])y.includes(`${L.name}-${P}`)||k.has(`${L.name}-${P}`)||(k.add(`${L.name}-${P}`),_.push(T({label:P==="DEFAULT"?`${L.name}${l}`:`${L.name}${L.hasDash?"-":""}${P}${l}`,detail:L.selectors({value:P}).join(", ")})))}}return t.classList?Ot({isIncomplete:!1,items:_.concat(t.classList.reduce((T,[N,{color:L}],P)=>{if(t.blocklist?.includes([...y,N].join(t.separator)))return T;let D=L?bt.Color:bt.Constant,$;return L&&typeof L!="string"&&($=zn(L)),T.push({label:N,kind:D,...$?{documentation:$}:{},sortText:jt(P,t.classList.length)}),T},[]))},{data:{...t.completionItemData??{},...x?{important:x}:{},variants:y},range:g},t.editor.capabilities.itemDefaults):Ot({isIncomplete:!1,items:_.concat(Object.keys(t.classNames.classNames).filter(T=>{let N=t.classNames.classNames[T];return y.length===0?N.__info:N.__info&&L$(N)}).map((T,N,L)=>{let P=bt.Constant,D,$=Is(t,T);return $!==null&&(P=bt.Color,typeof $!="string"&&($.alpha??1)!==0&&(D=zn($))),{label:T,kind:P,...D?{documentation:D}:{},sortText:jt(N,L.length)}})).filter(T=>!(T===null||i&&!i(T)))},{range:g,data:{...t.completionItemData??{},variants:y,...x?{important:x}:{}}},t.editor.capabilities.itemDefaults)}for(let y=u.length-1;y>0;y--){let S=u.slice(0,y).filter(Boolean);if(c=(0,Vt.default)(t.classNames.classNames,S),typeof c<"u"&&typeof(0,Vt.default)(c,["__info","__rule"])>"u"){h=!0,f=S,g={...g,start:{...g.start,character:g.start.character+S.join(l).length+l.length}};break}}return Ot({isIncomplete:!1,items:Object.keys(h?c:t.classNames.classNames).filter(y=>y!=="__info").filter(y=>W$(t,[...f,y])).map((y,S,x)=>({label:y+l,kind:9,command:{title:"",command:"editor.action.triggerSuggest"},sortText:"-"+jt(S,x.length),data:{...t.completionItemData??{},className:y,variants:f}})).concat(Object.keys(h?c:t.classNames.classNames).filter(y=>(0,Vt.default)(t.classNames.classNames,[...f,y,"__info"])).map((y,S,x)=>{let _=bt.Constant,k,T=Is(t,y);return T!==null&&(_=bt.Color,typeof T!="string"&&(T.alpha??1)!==0&&(k=zn(T))),{label:y,kind:_,...k?{documentation:k}:{},sortText:jt(S,x.length)}})).filter(y=>!(y===null||i&&!i(y)))},{range:g,data:{...t.completionItemData??{},variants:f}},t.editor.capabilities.itemDefaults)}async function R$(t,e,r,n){let i=e.getText({start:e.positionAt(Math.max(0,e.offsetAt(r)-2e3)),end:r}),s=(await t.editor.getConfiguration(e.uri)).tailwindCSS,o=dS(i,s.classAttributes);if(o.length===0)return null;let a=o[o.length-1],l=a[0][0]===":"||a[1].startsWith("[")&&a[1].endsWith("]")?cS():uS();l.reset(i.substr(a.index+a[0].length-1));try{let u=Array.from(l),c=u[u.length-1];if(c.type.startsWith("start")||c.type==="classlist"||c.type.startsWith("arb")){let f="";for(let h=u.length-1;h>=0&&(u[h].type==="classlist"||u[h].type.startsWith("arb"));h--)f=u[h].value+f;return Rf(t,f,{start:{line:r.line,character:r.character-f.length},end:r},s.rootFontSize,void 0,n)}}catch{}return null}async function T$(t,e,r,n){let i=await t.editor.getConfiguration(e.uri),s=i.tailwindCSS.experimental.classRegex;if(s.length===0)return null;let o=e.offsetAt(r),a=e.getText({start:e.positionAt(0),end:e.positionAt(o+2e3)});for(let l of fS({text:a,cursor:o,filters:s}))return Rf(t,l.classList,{start:{line:r.line,character:r.character-l.classList.length},end:r},i.tailwindCSS.rootFontSize,void 0,n);return null}function N$(t,e,r,n){if(!sr(t,e,r))return null;let i=qr(e,"css",{start:{line:0,character:0},end:r});if(!i.endsWith("-"))return null;let s=i.lastIndexOf("@theme");if(s===-1||E$(i.slice(s))!==1)return null;function o(l){return{label:l,kind:bt.Variable}}function a(l){return{label:`${l}-`,kind:bt.Variable}}return Ot({isIncomplete:!1,items:[o("--default-transition-duration"),o("--default-transition-timing-function"),o("--default-font-family"),o("--default-font-feature-settings"),o("--default-font-variation-settings"),o("--default-mono-font-family"),o("--default-mono-font-feature-settings"),o("--default-mono-font-variation-settings"),a("--breakpoint"),a("--color"),a("--animate"),a("--blur"),a("--radius"),a("--shadow"),a("--inset-shadow"),a("--drop-shadow"),a("--spacing"),a("--width"),a("--font-family"),a("--font-size"),a("--letter-spacing"),a("--line-height"),a("--transition-timing-function")]},{data:{...t.completionItemData??{}}},t.editor.capabilities.itemDefaults)}async function M$(t,e,r,n){let i=(await t.editor.getConfiguration(e.uri)).tailwindCSS,s=e.getText({start:{line:Math.max(r.line-30,0),character:0},end:r}),o=d$(/@apply\s+(?<classList>[^;}]*)$/gi,s);if(o===null)return null;let a=o.groups.classList;return Rf(t,a,{start:{line:r.line,character:r.character-a.length},end:r},i.rootFontSize,l=>{if(l.kind===9)return ut(t.version,"2.0.0-alpha.1")||vS(t,"applyComplexClasses");let u=l.data?.variants??[],c=l.data?.className??l.label,f=Lf(t,[...u,c]);return f!==null&&f.isApplyable===!0},n)}var O$=/^(\d+\.?|\d*\.\d+)$/;function t3(t){return O$.test(t)}async function P$(t,e,r,n){return sr(t,e,r)?M$(t,e,r,n):ig(t,e,r)||tg(t,e,r)?R$(t,e,r,n):null}function I$(t,e,r){if(!sr(t,e,r))return null;let n=e.getText({start:{line:r.line,character:0},end:{line:r.line,character:r.character+1}}),i=n.substr(0,n.length-1).match(/[\s:;/*(){}](?<helper>config|theme)\(\s*['"]?(?<path>[^)'"]*)$/);if(i===null)return null;let s,o=i.groups.path.replace(/^['"]+/g,""),a=o.match(/^([^\s]+)(?![^\[]*\])(?:\s*\/\s*([^\/\s]*))$/);if(a&&(o=a[1],s=a[2]),s!==void 0)return null;let l=i.groups.helper==="config"?t.config:(0,Vt.default)(t.config,"theme",{}),u=o.split(/([\[\].]+)/),c=u.filter((_,k)=>k%2===0),f=u.filter((_,k)=>k%2!==0);function h(_){return _.reduce((k,T)=>k+T.length,0)}let g,y=c[c.length-1].length,S=f.length?f[f.length-1]:null;if(c.length===1)g=l;else for(let _=c.length-1;_>0;_--){let k=(0,Vt.default)(l,c.slice(0,_));if(Pt(k)){g=k,y=h(u.slice(_*2)),S=f[_-1];break}}if(!g)return null;let x={start:{line:r.line,character:r.character-y},end:r};return Ot({isIncomplete:!1,items:Object.keys(g).sort((_,k)=>{let T=t3(_),N=t3(k);return T&&!N?-1:!T&&N?1:T&&N?parseFloat(_)-parseFloat(k):0}).map((_,k,T)=>{let N=eg(g[_]),L=_.indexOf(".")!==-1&&S&&S.endsWith("."),P=n.charAt(n.length-1)!=="]"&&(L||S&&S.endsWith("[")),D=bS(g[_]);return{label:_,sortText:jt(k,T.length),commitCharacters:[!_.includes(".")&&".",!_.includes("[")&&"["].filter(Boolean),kind:N?16:Pt(g[_])?9:10,detail:D==="0"||D==="transparent"?`${D} `:D,...N&&typeof N!="string"&&(N.alpha??1)!==0?{documentation:zn(N)}:{},...P?{textEditText:`${_}]`}:{},additionalTextEdits:L?[{newText:"[",range:{start:{...x.start,character:x.start.character-1},end:x.start}}]:[]}})},{range:x,data:{...t.completionItemData??{},_type:"helper"}},t.editor.capabilities.itemDefaults)}function D$(t,e,r){if(!sr(t,e,r))return null;let i=e.getText({start:{line:r.line,character:0},end:r}).match(/^\s*@tailwind\s+(?<partial>[^\s]*)$/i);if(i===null)return null;let s=[ut(t.version,"1.0.0-beta.1")?{label:"base",documentation:{kind:"markdown",value:`This injects Tailwind\u2019s base styles and any base styles registered by plugins.
101
+
102
+ [Tailwind CSS Documentation](${Mt(t.version,"functions-and-directives/#tailwind")})`}}:{label:"preflight",documentation:{kind:"markdown",value:`This injects Tailwind\u2019s base styles, which is a combination of Normalize.css and some additional base styles.
103
+
104
+ [Tailwind CSS Documentation](${Mt(t.version,"functions-and-directives/#tailwind")})`}},{label:"components",documentation:{kind:"markdown",value:`This injects Tailwind\u2019s component classes and any component classes registered by plugins.
105
+
106
+ [Tailwind CSS Documentation](${Mt(t.version,"functions-and-directives/#tailwind")})`}},{label:"utilities",documentation:{kind:"markdown",value:`This injects Tailwind\u2019s utility classes and any utility classes registered by plugins.
107
+
108
+ [Tailwind CSS Documentation](${Mt(t.version,"functions-and-directives/#tailwind")})`}},t.jit&&ut(t.version,"2.1.99")?{label:"variants",documentation:{kind:"markdown",value:`Use this directive to control where Tailwind injects the utility variants.
109
+
110
+ This directive is considered an advanced escape hatch and it is recommended to omit it whenever possible. If omitted, Tailwind will append these classes to the very end of your stylesheet by default.
111
+
112
+ [Tailwind CSS Documentation](${Mt(t.version,"just-in-time-mode#variants-are-inserted-at-tailwind-variants")})`}}:{label:"screens",documentation:{kind:"markdown",value:`Use this directive to control where Tailwind injects the responsive variations of each utility.
113
+
114
+ If omitted, Tailwind will append these classes to the very end of your stylesheet by default.
115
+
116
+ [Tailwind CSS Documentation](${Mt(t.version,"functions-and-directives/#tailwind")})`}}];return Ot({isIncomplete:!1,items:s.map(o=>({...o,kind:21}))},{data:{...t.completionItemData??{},_type:"@tailwind"},range:{start:{line:r.line,character:r.character-i.groups.partial.length},end:r}},t.editor.capabilities.itemDefaults)}function F$(t,e,r){if(!sr(t,e,r)||ut(t.version,"2.99.0"))return null;let i=e.getText({start:{line:r.line,character:0},end:r}).match(/^\s*@variants\s+(?<partial>[^}]*)$/i);if(i===null)return null;let s=i.groups.partial.split(/\s*,\s*/);if(/\s+/.test(s[s.length-1]))return null;let o=t.variants.flatMap(l=>l.values.length?l.values.map(u=>u==="DEFAULT"?l.name:`${l.name}${l.hasDash?"-":""}${u}`):[l.name]),a=s.slice(0,s.length-1);return t.jit&&(o.unshift("responsive"),o=o.filter(l=>!t.screens.includes(l))),Ot({isIncomplete:!1,items:o.filter(l=>a.indexOf(l)===-1).map((l,u,c)=>({label:l,kind:21,sortText:jt(u,c.length)}))},{data:{...t.completionItemData??{},_type:"variant"},range:{start:{line:r.line,character:r.character-s[s.length-1].length},end:r}},t.editor.capabilities.itemDefaults)}function $$(t,e,r){if(!sr(t,e,r))return null;let i=e.getText({start:{line:r.line,character:0},end:r}).match(/^\s*@layer\s+(?<partial>[^\s]*)$/i);return i===null?null:Ot({isIncomplete:!1,items:["base","components","utilities"].map((s,o,a)=>({label:s,kind:21,sortText:jt(o,a.length)}))},{data:{...t.completionItemData??{},_type:"layer"},range:{start:{line:r.line,character:r.character-i.groups.partial.length},end:r}},t.editor.capabilities.itemDefaults)}function Ot(t,e,r){let n=r.includes("data"),i=r.includes("editRange");return{...t,...n||i?{itemDefaults:{...n&&e.data?{data:e.data}:{},...i&&e.range?{editRange:e.range}:{}}}:{},items:n&&i?t.items:t.items.map(({textEditText:s,...o})=>({...o,...n||!e.data||o.data?{}:{data:e.data},...i||!e.range?s?{textEditText:s}:{}:{textEdit:{newText:s??o.label,range:e.range}}}))}}function U$(t,e,r){if(!sr(t,e,r))return null;let i=e.getText({start:{line:r.line,character:0},end:r}).match(/^\s*@screen\s+(?<partial>[^\s]*)$/i);if(i===null)return null;let s=(0,Vt.default)(t.config,["screens"],(0,Vt.default)(t.config,["theme","screens"],{}));return Pt(s)?Ot({isIncomplete:!1,items:Object.keys(s).map((o,a)=>({label:o,kind:21,sortText:jt(a)}))},{data:{...t.completionItemData??{},_type:"screen"},range:{start:{line:r.line,character:r.character-i.groups.partial.length},end:r}},t.editor.capabilities.itemDefaults):null}function B$(t,e,r){if(!sr(t,e,r))return null;let i=e.getText({start:{line:r.line,character:0},end:r}).match(/^\s*@(?<partial>[a-z]*)$/i);if(i===null)return null;let s=[{label:"@tailwind",documentation:{kind:"markdown",value:`Use the \`@tailwind\` directive to insert Tailwind\u2019s \`base\`, \`components\`, \`utilities\` and \`${t.jit&&ut(t.version,"2.1.99")?"variants":"screens"}\` styles into your CSS.
117
+
118
+ [Tailwind CSS Documentation](${Mt(t.version,"functions-and-directives/#tailwind")})`}},{label:"@screen",documentation:{kind:"markdown",value:`The \`@screen\` directive allows you to create media queries that reference your breakpoints by name instead of duplicating their values in your own CSS.
119
+
120
+ [Tailwind CSS Documentation](${Mt(t.version,"functions-and-directives/#screen")})`}},{label:"@apply",documentation:{kind:"markdown",value:`Use \`@apply\` to inline any existing utility classes into your own custom CSS.
121
+
122
+ [Tailwind CSS Documentation](${Mt(t.version,"functions-and-directives/#apply")})`}},...ut(t.version,"1.8.0")?[{label:"@layer",documentation:{kind:"markdown",value:`Use the \`@layer\` directive to tell Tailwind which "bucket" a set of custom styles belong to. Valid layers are \`base\`, \`components\`, and \`utilities\`.
123
+
124
+ [Tailwind CSS Documentation](${Mt(t.version,"functions-and-directives/#layer")})`}}]:[],...ut(t.version,"2.99.0")?[]:[{label:"@variants",documentation:{kind:"markdown",value:`You can generate \`responsive\`, \`hover\`, \`focus\`, \`active\`, and other variants of your own utilities by wrapping their definitions in the \`@variants\` directive.
125
+
126
+ [Tailwind CSS Documentation](${Mt(t.version,"functions-and-directives/#variants")})`}},{label:"@responsive",documentation:{kind:"markdown",value:`You can generate responsive variants of your own classes by wrapping their definitions in the \`@responsive\` directive.
127
+
128
+ [Tailwind CSS Documentation](${Mt(t.version,"functions-and-directives/#responsive")})`}}],...ut(t.version,"3.2.0")?[{label:"@config",documentation:{kind:"markdown",value:`Use the \`@config\` directive to specify which config file Tailwind should use when compiling that CSS file.
129
+
130
+ [Tailwind CSS Documentation](${Mt(t.version,"functions-and-directives/#config")})`}}]:[],...ut(t.version,"4.0.0")?[{label:"@theme",documentation:{kind:"markdown",value:`Use the \`@theme\` directive to specify which config file Tailwind should use when compiling that CSS file.
131
+
132
+ [Tailwind CSS Documentation](${Mt(t.version,"functions-and-directives/#config")})`}}]:[]];return Ot({isIncomplete:!1,items:s.map(o=>({...o,kind:14}))},{data:{...t.completionItemData??{},_type:"directive"},range:{start:{line:r.line,character:r.character-i.groups.partial.length-1},end:r}},t.editor.capabilities.itemDefaults)}async function q$(t,e,r){if(!sr(t,e,r)||!ut(t.version,"3.2.0"))return null;let i=e.getText({start:{line:r.line,character:0},end:r}).match(/@config\s*(?<partial>'[^']*|"[^"]*)$/);if(!i)return null;let s=i.groups.partial.slice(1),o=s.substring(0,s.lastIndexOf("/")),a=s.substring(s.lastIndexOf("/")+1);return Ot({isIncomplete:!1,items:(await t.editor.readDirectory(e,o||".")).filter(([l,u])=>u.isDirectory||/\.c?js$/.test(l)).map(([l,u])=>({label:u.isDirectory?l+"/":l,kind:u.isDirectory?19:17,command:u.isDirectory?{command:"editor.action.triggerSuggest",title:""}:void 0}))},{data:{...t.completionItemData??{},_type:"filesystem"},range:{start:{line:r.line,character:r.character-a.length},end:r}},t.editor.capabilities.itemDefaults)}async function z$(t,e,r){let n=await t.editor.getConfiguration(e.uri);if(n.tailwindCSS.emmetCompletions!==!0)return null;let i=!mf(t,e)&&ig(t,e,r),s=mf(t,e)||tg(t,e,r),o=i?"html":s?"jsx":null;if(o===null)return null;let a=GF(e,r,!0);if(!a||!XF(o,a.abbreviation)||!k$(e,a.abbreviationRange))return null;if(s){let c=a.abbreviation;if(c.startsWith("this."))return null;let f=await t.editor.getDocumentSymbols(e.uri);if(f&&f.find(h=>c===h.name||c.startsWith(h.name+".")&&!/>|\*|\+/.test(c)))return null}let l=HF(e,r,o,{});if(!l||!l.items||l.items.length!==1||l.items[0].label==="widows: ;")return null;let u=l.items[0].label.split(".");return u.length<2?null:Rf(t,u[u.length-1],{start:{line:r.line,character:r.character-u[u.length-1].length},end:r},n.tailwindCSS.rootFontSize)}async function j$(t,e,r,n){if(t===null)return{items:[],isIncomplete:!1};let i=await P$(t,e,r,n)||I$(t,e,r)||B$(t,e,r)||U$(t,e,r)||F$(t,e,r)||D$(t,e,r)||$$(t,e,r)||await q$(t,e,r)||await T$(t,e,r,n)||N$(t,e,r,n);return i||z$(t,e,r)}async function V$(t,e){if(["helper","directive","variant","layer","@tailwind","filesystem"].includes(e.data?._type))return e;if(e.data?._type==="screen"){let s=(0,Vt.default)(t.config,["theme","screens"],(0,Vt.default)(t.config,["screens"],{}));return Pt(s)||(s={}),e.detail=C$(s[e.label]),e}let r=e.data?.className??e.label;e.data?.important&&(r=`!${r}`);let n=e.data?.variants??[];if(t.v4){if(e.kind===9||e.detail&&e.documentation)return e;let s=t.designSystem.compile([[...n,r].join(t.separator)])[0],o=s.nodes.filter(a=>a.type==="rule");if(o.length===0)return e;if(!e.detail)if(o.length===1){let a=[];s.walkDecls(l=>{a.push(l)}),e.detail=await Q8(t,T9({nodes:a}))}else e.detail=`${o.length} rules`;return e.documentation||(e.documentation={kind:"markdown",value:["```css",await pf(t,N9({nodes:o})),"```"].join(`
133
+ `)}),e}if(t.jit){if(e.kind===9||e.detail&&e.documentation)return e;let{root:s,rules:o}=Wn(t,[[...n,r].join(t.separator)]);return o.length===0||(e.detail||(o.length===1?e.detail=await Q8(t,o[0]):e.detail=`${o.length} rules`),e.documentation||(e.documentation={kind:"markdown",value:["```css",await pf(t,s),"```"].join(`
134
+ `)})),e}let i=(0,Vt.default)(t.classNames.classNames,[...n,r,"__info"]);if(e.kind===9)e.detail=t.classNames.context[r].join(", ");else if(e.detail=await G$(t,i),!e.documentation){let s=await t.editor.getConfiguration(),o=sg([...n,r].join(":"),i,s);o&&(e.documentation={kind:"markdown",value:["```css",o,"```"].join(`
135
+ `)})}return e}function W$(t,e){let r=(0,Vt.default)(t.classNames.classNames,e);return!Pt(r)||!t.classNames.context[e[e.length-1]]?!1:Object.keys(r).filter(n=>n!=="__info").length>0?!0:Pt(r.__info)&&!r.__info.__rule}function H$(t,e){let r=Object.keys(t),n=r.filter(i=>!i.startsWith("--"));return r.length!==n.length&&n.length!==0&&(r=n),r.map(i=>Af(t[i]).map(s=>(e.tailwindCSS.showPixelEquivalents&&(s=Km(s,e.tailwindCSS.rootFontSize)),`${i}: ${s};`)).join(" ")).join(" ")}async function G$(t,e){if(Array.isArray(e))return`${e.length} rules`;if(e.__rule===!0){let r=await t.editor.getConfiguration();return H$(Ei(e),r)}return null}function X$(t){return t.code==="cssConflict"}function Q$(t){return t.code==="invalidApply"}function Y$(t){return t.code==="invalidScreen"}function J$(t){return t.code==="invalidVariant"}function Z$(t){return t.code==="invalidConfigPath"}function K$(t){return t.code==="invalidTailwindDirective"}function eU(t){return t.code==="recommendedVariantOrder"}function lf(t){return t.reduce((e,r,n)=>n===0?r:t.length>1&&n===t.length-1?`${e} and ${r}`:`${e}, ${r}`,"")}function r3(t,e){let r=cl(t,e);if(!r)return null;let n=(0,V3.default)(t.classNames.classNames,[...r,"__info"]);return Array.isArray(n)?n.map(Ei):Ei(n)}function tU(t){return t.type==="atrule"}function n3(t){let e=t.parent;return e?!!(tU(e)&&e.name==="keyframes"):!1}function i3(t){let e=[];return t.walkDecls(({prop:r})=>{e.push(r)}),e}async function rU(t,e,r){let n=r.tailwindCSS.lint.cssConflict;if(n==="ignore")return[];let i=[];return(await rg(t,e)).forEach(o=>{let a=fl(o,t.blocklist);if(t.v4){let l=nU(t,a);for(let[u,c]of iU(a,l))i.push({code:"cssConflict",className:u,otherClassNames:c,range:u.range,severity:n==="error"?1:2,message:`'${u.className}' applies the same CSS properties as ${lf(c.map(f=>`'${f.className}'`))}.`,relatedInformation:c.map(f=>({message:f.className,location:{uri:e.uri,range:f.range}}))});return}a.forEach((l,u)=>{if(t.jit){let{rules:S}=Wn(t,[l.className],T=>!n3(T));if(S.length===0)return;let x=S.map(T=>{let N=i3(T);return{context:Y8(t,T,l.className),properties:N}}),k=a.filter((T,N)=>N!==u).filter(T=>{let{rules:N}=Wn(t,[T.className],P=>!n3(P));if(N.length!==S.length)return!1;let L=!1;for(let P=0;P<N.length;P++){let D=N[P],$=i3(D);if(x[P].properties.length>0&&$.length>0&&(L=!0),!Ci(x[P].properties,$))return!1;let Q=Y8(t,D,T.className);if(!Ci(x[P].context,Q))return!1}return!!L});if(k.length===0)return;i.push({code:"cssConflict",className:l,otherClassNames:k,range:l.range,severity:n==="error"?1:2,message:`'${l.className}' applies the same CSS properties as ${lf(k.map(T=>`'${T.className}'`))}.`,relatedInformation:k.map(T=>({message:T.className,location:{uri:e.uri,range:T.range}}))});return}let c=r3(t,l.className);if(!c)return;let f=Object.keys(c),h=wf(t,l.className),y=a.filter((S,x)=>x!==u).filter(S=>{let x=r3(t,S.className);if(!x)return!1;let _=wf(t,S.className);return Ci(f,Object.keys(x))&&!Array.isArray(h)&&!Array.isArray(_)&&Ci(h.context,_.context)&&Ci(h.pseudo,_.pseudo)&&h.scope===_.scope});y.length!==0&&i.push({code:"cssConflict",className:l,otherClassNames:y,range:l.range,severity:n==="error"?1:2,message:`'${l.className}' applies the same CSS ${f.length===1?"property":"properties"} as ${lf(y.map(S=>`'${S.className}'`))}.`,relatedInformation:y.map(S=>({message:S.className,location:{uri:e.uri,range:S.range}}))})})}),i}function wS(t,e,r=[]){for(let n of t)r=[...r,n],e(n,r),"nodes"in n&&n.nodes&&n.nodes.length>0&&wS(n.nodes,e,r)}function nU(t,e){let r={},n=t.designSystem.compile(e.map(i=>i.className));for(let[i,s]of n.entries()){let{className:o}=e[i];wS([s],(a,l)=>{if(a.type!=="rule"&&a.type!=="atrule")return;let u=[];for(let c of a.nodes??[])c.type==="decl"&&u.push(c.prop);u.length!==0&&(r[o]??(r[o]=[]),r[o].push({properties:u,context:l.map(c=>c.type==="rule"?c.selector:c.type==="atrule"?`@${c.name} ${c.params}`:"").filter(Boolean).slice(1)}))})}return r}function*iU(t,e){for(let r of t){let n=e[r.className]??[],i=[];for(let s of t){if(r===s)continue;let o=e[s.className]??[];if(n.length!==o.length)continue;let a=!1;for(let l=0;l<n.length;l++){let u=n[l],c=o[l];if(u.properties.length!==c.properties.length){a=!1;break}if(u.context.length!==c.context.length){a=!1;break}if(!Ci(u.properties,c.properties)){a=!1;break}if(!Ci(u.context,c.context)){a=!1;break}u.properties.length===0&&c.properties.length===0||(a=!0)}a&&i.push(s)}if(i.length===0)return;yield[r,i]}}async function sU(t,e,r){let n=r.tailwindCSS.lint.invalidApply;return n==="ignore"?[]:(await nl(t,e,void 0,"css",!1)).map(o=>{let a=Lf(t,o.className);return a===null||a.isApplyable===!0?null:{code:"invalidApply",severity:n==="error"?1:2,range:o.range,message:a.reason,className:o}}).filter(Boolean)}function Tf(t,e){return e.concat([]).sort((r,n)=>(0,Tm.default)(t,r)-(0,Tm.default)(t,n))[0]}function ll(t,e){return{start:{line:(e?.start.line||0)+t.start.line,character:(t.end.line===0&&e?.start.character||0)+t.start.character},end:{line:(e?.start.line||0)+t.end.line,character:(t.end.line===0&&e?.start.character||0)+t.end.character}}}function oU(t,e,r){let n=r.tailwindCSS.lint.invalidScreen;if(n==="ignore")return[];let i=[],s=[];if(ki(t,e))s.push(void 0);else{let o=zr(t,e);if(!o)return[];s.push(...o.filter(a=>a.type==="css").map(({range:a})=>a))}return s.forEach(o=>{let a=qr(e,"css",o);Ai(/(?:\s|^)@screen\s+(?<screen>[^\s{]+)/g,a).forEach(u=>{if(t.screens.includes(u.groups.screen))return null;let c=`The screen '${u.groups.screen}' does not exist in your theme config.`,f=[],h=Tf(u.groups.screen,t.screens);h&&(f.push(h),c+=` Did you mean '${h}'?`),i.push({code:"invalidScreen",range:ll({start:ct(a,u.index+u[0].length-u.groups.screen.length),end:ct(a,u.index+u[0].length)},o),severity:n==="error"?1:2,message:c,suggestions:f})})}),i}function aU(t,e,r){let n=r.tailwindCSS.lint.invalidVariant;if(n==="ignore")return[];if(ut(t.version,"2.99.0"))return[];let i=[],s=[];if(ki(t,e))s.push(void 0);else{let a=zr(t,e);if(!a)return[];s.push(...a.filter(l=>l.type==="css").map(({range:l})=>l))}let o=t.variants.flatMap(a=>a.values.length?a.values.map(l=>l==="DEFAULT"?a.name:`${a.name}${a.hasDash?"-":""}${l}`):[a.name]);return t.jit&&(o.unshift("responsive"),o=o.filter(a=>!t.screens.includes(a))),s.forEach(a=>{let l=qr(e,"css",a);Ai(/(?:\s|^)@variants\s+(?<variants>[^{]+)/g,l).forEach(c=>{let f=c.groups.variants.split(/(\s*,\s*)/),h=c.index+c[0].length-c.groups.variants.length;for(let g=0;g<f.length;g+=2){let y=f[g].trim();if(o.includes(y))continue;let S=`The variant '${y}' does not exist.`,x=[],_=Tf(y,o);_&&(x.push(_),S+=` Did you mean '${_}'?`);let k=h+f.slice(0,g).join("").length;i.push({code:"invalidVariant",range:ll({start:ct(l,k),end:ct(l,k+y.length)},a),severity:n==="error"?1:2,message:S,suggestions:x})}})}),i}var lU=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,uU=/\\(\\)?/g;function yS(t){let e=[];return t.charCodeAt(0)===46&&e.push(""),t.replace(lU,(r,n,i,s)=>{e.push(i?s.replace(uU,"$1"):n||r)}),e}function ln(t){return typeof t=="string"?t:t.reduce((e,r,n)=>n===0?r:r.includes(".")?`${e}[${r}]`:`${e}.${r}`,"")}function il(t,e,r=[]){let n=Array.isArray(e)?e:yS(e),i=[...r,...n],s=(0,sf.default)(t.config,i),o=[],a=t.modules?.transformThemeValue?.module??(c=>f=>f);i[0]==="theme"&&i[1]&&(s=a(i[1])(s));function l(){return Y3("123456789".substr(0,n.length-1)).map(h=>h.split("").map(g=>parseInt(g,10))).map(h=>{let g=[],y=0;return h.forEach(S=>{g.push(n.slice(y,S).join(".")),y=S}),g.push(n.slice(y).join(".")),g}).slice(1).find(h=>il(t,h,r).isValid)}if(typeof s>"u"){let c=`'${ln(e)}' does not exist in your theme config.`,f=[...r,...n.slice(0,n.length-1)],h=(0,sf.default)(t.config,f);if(Pt(h)){let g=Tf(n[n.length-1],Object.keys(h).filter(y=>il(t,[...f,y]).isValid));g&&(o.push(ln([...n.slice(0,n.length-1),g])),c+=` Did you mean '${o[0]}'?`)}else{let g=l();if(g)return{isValid:!1,reason:`${c} Did you mean '${ln(g)}'?`,suggestions:[ln(g)]}}return{isValid:!1,reason:c,suggestions:o}}if(!(typeof s=="string"||typeof s=="number"||s instanceof String||s instanceof Number||Array.isArray(s)||typeof s=="function")){let c=`'${ln(e)}' was found but does not resolve to a valid theme value.`;if(Pt(s)){let f=Object.keys(s).filter(h=>il(t,[...n,h],r).isValid);f.length&&(o.push(...f.map(h=>ln([...n,h]))),c+=` Did you mean something like '${o[0]}'?`)}return{isValid:!1,reason:c,suggestions:o}}let u=!0;for(let c=n.length-1;c>=0;c--){let f=n[c],h=(0,sf.default)(t.config,[...r,...n.slice(0,c)]);if(/^[0-9]+$/.test(f)){if(!Pt(h)&&!Array.isArray(h)){u=!1;break}}else if(!Pt(h)){u=!1;break}}if(!u){let c=`'${ln(e)}' does not exist in your theme config.`,f=l();return f?{isValid:!1,reason:`${c} Did you mean '${ln(f)}'?`,suggestions:[ln(f)]}:{isValid:!1,reason:c,suggestions:[]}}return{isValid:!0,value:s}}function cU(t,e,r){let n=r.tailwindCSS.lint.invalidConfigPath;if(n==="ignore")return[];let i=[];return pS(t,e).forEach(s=>{let o=s.helper==="theme"?["theme"]:[],a=il(t,s.path,o);a.isValid!==!0&&i.push({code:"invalidConfigPath",range:s.ranges.path,severity:n==="error"?1:2,message:a.reason,suggestions:a.suggestions})}),i}function fU(t,e,r){let n=r.tailwindCSS.lint.invalidTailwindDirective;if(n==="ignore")return[];let i=[],s=[];if(ki(t,e))s.push(void 0);else{let l=zr(t,e);if(!l)return[];s.push(...l.filter(u=>u.type==="css").map(({range:u})=>u))}let o;iS(e.languageId,t.editor?.userLanguages)?o=/(?:\s|^)@tailwind\s+(?<value>[^\r\n]+)/g:o=/(?:\s|^)@tailwind\s+(?<value>[^;]+)/g;let a=t.jit&&ut(t.version,"2.1.99");return s.forEach(l=>{let u=qr(e,"css",l),c=Ai(o,u),f=["utilities","components","screens",ut(t.version,"1.0.0-beta.1")?"base":"preflight",a&&"variants"].filter(Boolean),h=f;a&&(h=h.filter(g=>g!=="screens")),c.forEach(g=>{if(f.includes(g.groups.value))return null;let y=`'${g.groups.value}' is not a valid value.`,S=[];if(g.groups.value==="preflight")S.push("base"),y+=" Did you mean 'base'?";else{let x=Tf(g.groups.value,h);x&&(S.push(x),y+=` Did you mean '${x}'?`)}i.push({code:"invalidTailwindDirective",range:ll({start:ct(u,g.index+g[0].length-g.groups.value.length),end:ct(u,g.index+g[0].length)},l),severity:n==="error"?1:2,message:y,suggestions:S})})}),i}async function hU(t,e,r){if(t.v4)return[];if(!t.jit)return[];if(ut(t.version,"2.99.0"))return[];let n=r.tailwindCSS.lint.recommendedVariantOrder;if(n==="ignore")return[];let i=[];return(await rg(t,e)).forEach(o=>{fl(o,t.blocklist).forEach(l=>{let{rules:u}=Wn(t,[l.className]);if(u.length===0)return;let c=t.jitContext.variantOrder??t.jitContext.offsets.variantOffsets,{variants:f,offset:h}=Dm(t,l.className),g=[...f].sort((y,S)=>rS(c.get(S)-c.get(y)));JF(f,g)||i.push({code:"recommendedVariantOrder",suggestions:[[...g,l.className.substr(h)].join(t.separator)],range:l.range,severity:n==="error"?1:2,message:"Variants are not in the recommended order, which may cause unexpected CSS output."})})}),i}async function xS(t,e,r=["cssConflict","invalidApply","invalidScreen","invalidVariant","invalidConfigPath","invalidTailwindDirective","recommendedVariantOrder"]){let n=await t.editor.getConfiguration(e.uri);return n.tailwindCSS.validate?[...r.includes("cssConflict")?await rU(t,e,n):[],...r.includes("invalidApply")?await sU(t,e,n):[],...r.includes("invalidScreen")?oU(t,e,n):[],...r.includes("invalidVariant")?aU(t,e,n):[],...r.includes("invalidConfigPath")?cU(t,e,n):[],...r.includes("invalidTailwindDirective")?fU(t,e,n):[],...r.includes("recommendedVariantOrder")?await hU(t,e,n):[]]:[]}async function dU(t,e,r){return await mU(t,e,r)||await pU(t,e,r)}async function pU(t,e,r){if(!sr(t,e,r))return null;let n=await t.editor.getConfiguration(e.uri),i=Im(e,{start:{line:r.line,character:0},end:{line:r.line+1,character:0}});for(let s of i){if(!gf(r,s.ranges.path))continue;let o=il(t,s.path,s.helper==="theme"?["theme"]:[]),a=o.isValid?bS(o.value):null;return a===null?null:(n.tailwindCSS.showPixelEquivalents&&(a=Km(a,n.tailwindCSS.rootFontSize)),{contents:{kind:"markdown",value:["```plaintext",a,"```"].join(`
136
+ `)},range:s.ranges.path})}return null}async function mU(t,e,r){let n=await g$(t,e,r);if(n===null)return null;if(t.v4){let a=t.designSystem.compile([n.className])[0];return a.nodes.length===0?null:{contents:{language:"css",value:await pf(t,a,e.uri)},range:n.range}}if(t.jit){let{root:a,rules:l}=Wn(t,[n.className]);return l.length===0?null:{contents:{language:"css",value:await pf(t,a,e.uri)},range:n.range}}let i=cl(t,n.className);if(!i)return null;if(sr(t,e,r)){let a=Lf(t,i);if(a===null||a.isApplyable===!1)return null}let s=await t.editor.getConfiguration(e.uri),o=sg(n.className,(0,W3.default)(t.classNames.classNames,[...i,"__info"]),s);return o?{contents:{language:"css",value:o},range:n.range}:null}function SS(t,e){let r=Af(e),n=(0,H3.default)(t+`
137
+ `,{origin:0}),i=[];r.forEach(a=>{let l=n.toIndex(a.start.line,a.start.character),u=n.toIndex(a.end.line,a.end.character);for(let c=l-1;c>=0&&/\s/.test(t.charAt(c));c--)l=c;i.push({start:l,end:u})}),i.sort((a,l)=>a.start-l.start);let s="",o=0;return i.forEach(a=>{s+=t.substring(o,a.start),o=a.end}),s+=t.substring(o),s.trim()}async function gU(t,e,r){return[{title:`Delete ${lf(r.otherClassNames.map(n=>`'${n.className}'`))}`,kind:"quickfix",diagnostics:[r],edit:{changes:{[e.textDocument.uri]:[{range:r.className.classList.range,newText:SS(r.className.classList.classList,r.otherClassNames.map(n=>n.relativeRange))}]}}}]}var s3=/\s*!important\s*$/i,bU={"box-flex":!0,"box-flex-group":!0,"column-count":!0,flex:!0,"flex-grow":!0,"flex-positive":!0,"flex-shrink":!0,"flex-negative":!0,"font-weight":!0,"line-clamp":!0,"line-height":!0,opacity:!0,order:!0,orphans:!0,"tab-size":!0,widows:!0,"z-index":!0,zoom:!0,"fill-opacity":!0,"stroke-dashoffset":!0,"stroke-opacity":!0,"stroke-width":!0};function vU(t){return t.replace(/([A-Z])/g,"-$1").replace(/^ms-/,"-ms-").toLowerCase()}function o3(t,e,r,n){r===!1||r===null||(e=vU(e),typeof r=="number"&&(r===0||bU[e]?r=r.toString():r=r.toString()+"px"),e==="css-float"&&(e="float"),s3.test(r)?(r=r.replace(s3,""),t.push(n.decl({prop:e,value:r,important:!0}))):t.push(n.decl({prop:e,value:r})))}function a3(t,e,r,n){var i=n.atRule({name:e[1],params:e[3]||""});typeof r=="object"&&(i.nodes=[],og(r,i,n)),t.push(i)}function og(t,e,r){var n,i,s,o;for(n in t)if(t.hasOwnProperty(n)){if(i=t[n],i===null||typeof i>"u")continue;if(n[0]==="@"){var a=n.match(/@([^\s]+)(\s+([\w\W]*)\s*)?/);if(Array.isArray(i))for(o=0;o<i.length;o++)a3(e,a,i[o],r);else a3(e,a,i,r)}else if(Array.isArray(i))for(o=0;o<i.length;o++)o3(e,n,i[o],r);else typeof i=="object"?(s=r.rule({selector:n}),og(i,s,r),e.push(s)):o3(e,n,i,r)}}function wU(t,e){var r=e.root();return og(t,r,e),r}async function yU(t,e,r){if(!e)return[];let n=qr(e,"css"),i,s=n,{postcss:o}=t.modules,a=[],l=r.className.classList.classList.split(/\s+/).length,u=r.className.className,c=cl(t,u),f=(0,G3.default)(t.classNames.classNames,c);if(Array.isArray(f))return[];if(!ki(t,e)){let h=zr(t,e);if(!h)return[];if(i=h.filter(g=>g.type==="css").find(({range:g})=>gf(r.range.start,g))?.range,!i)return[];s=qr(e,"css",i)}try{await o.module([o.module.plugin("",(h={})=>g=>{g.walkRules(y=>{if(a.length)return!1;y.walkAtRules("apply",S=>{let x=l3(S.source);if(i&&(x=ll(x,i)),!gf(r.range.start,x))return;let _=xU(t,c,y.selector,r.className.classList.important);if(!_)return!1;y.after(_.nodes);let k=y.next();if(!k)return!1;l===1?S.remove():a.push({range:r.className.classList.range,newText:SS(r.className.classList.classList,r.className.relativeRange)});let T=l3(y.source);i&&(T=ll(T,i));let N,L=QF(s);return a.push({range:T,newText:y.toString()+(k.raws.before||`
138
+
139
+ `)+k.toString().replace(/\n\s*\n/g,`
140
+ `).replace(/(@apply [^;\n]+)$/gm,"$1;").replace(/([^\s^]){$/gm,"$1 {").replace(/^\s+/gm,P=>(typeof N>"u"&&(N=P),P.replace(new RegExp(N,"g"),L.indent))).replace(/^(\s+)(.*?[^{}]\n)([^\s}])/gm,"$1$2$1$3")}),!1})})})]).process(s,{from:void 0})}catch{return[]}return a.length?[{title:"Extract to new rule",kind:"quickfix",diagnostics:[r],edit:{changes:{[e.uri]:a}}}]:[]}function l3(t){return{start:{line:t.start.line-1,character:t.start.column-1},end:{line:t.end.line-1,character:t.end.column}}}function xU(t,e,r,n=!1){let i=e[e.length-1],s=Lf(t,[i]);if(s===null||s.isApplyable===!1)return null;let o=wf(t,e);if(Array.isArray(o))return null;let a=o.context,l=o.pseudo,u=t.classNames.context,c=[];for(let g=0;g<e.length-1;g++){let y=e[g],S=u[y];if(!S)return null;t.screens.includes(y)&&(c.push(`@screen ${y}`),a=a.filter(x=>!S.includes(x)))}c.push(...a);let f={};for(let g=1;g<=c.length;g++)W8(f,c.slice(0,g),{});if(r=SU(r,l),r===null)return null;let h={[r]:{[`@apply ${i}${n?" !important":""}`]:""}};return c.length?W8(f,c,h):f=h,wU(f,t.modules.postcss)}function SU(t,e){if(e.length===0)return t;let r=!0,n=(0,Nm.default)(i=>{Bs(i.split(s=>!0)).forEach(s=>{for(let o=s.nodes.length-1;o>=0&&s.nodes[o].type==="pseudo";o--)if(e.includes(s.nodes[o].value)){r=!1;break}r&&e.forEach(o=>{s.append(Nm.default.pseudo({value:o}))})})}).processSync(t);return r?n:null}function _U(t,e,r){return r.suggestions.map(n=>({title:`Replace with '${n}'`,kind:"quickfix",diagnostics:[r],edit:{changes:{[e.textDocument.uri]:[{range:r.range,newText:n}]}}}))}async function CU(t,e,r,n){if(!r)return[];let i=await xS(t,r,n);return e.context.diagnostics.map(s=>i.find(o=>o.code===s.code&&o.message===s.message&&Q3(o.range,s.range))).filter(Boolean)}async function EU(t,e,r){if(!t.enabled)return[];let n=await CU(t,e,r,e.context.diagnostics.map(i=>i.code).filter(Boolean));return Promise.all(n.map(i=>Q$(i)?yU(t,r,i):X$(i)?gU(t,e,i):Z$(i)||K$(i)||Y$(i)||J$(i)||eU(i)?_U(t,e,i):[])).then(Bs).then(i=>YF(i,s=>JSON.stringify(s.edit)))}async function kU(t,e){let r=[];return!t.enabled||(await t.editor.getConfiguration(e.uri)).tailwindCSS.colorDecorators===!1?r:((await rg(t,e)).forEach(o=>{fl(o,t.blocklist).forEach(l=>{let u=Is(t,l.className);u===null||typeof u=="string"||(u.alpha??1)===0||r.push({range:l.range,color:J8(u)})})}),pS(t,e).forEach(o=>{let a=yS(o.path),l=o.helper==="theme"?["theme"]:[],u=(0,X3.default)(t.config,[...l,...a]),c=eg(u);c&&typeof c!="string"&&(c.alpha??1)!==0&&r.push({range:o.ranges.path,color:J8(c)})}),kf(r))}function ag(t){return Array.isArray(t)?t.flatMap(e=>_e([(0,CS.default)({bubble:["screen"]})]).process(e,{parser:$8}).root.nodes):ag([t])}function vr(t){if(Object.prototype.toString.call(t)!=="[object Object]")return!1;let e=Object.getPrototypeOf(t);return e===null||Object.getPrototypeOf(e)===null}function lg(t,e,r=!1){if(t==="")return e;let n=typeof e=="string"?(0,ES.default)().astSync(e):e;return n.walkClasses(i=>{let s=i.value,o=r&&s.startsWith("-");i.value=o?`-${t}${s.slice(1)}`:`${t}${s}`}),typeof e=="string"?n.toString():n}function ug(t){return t.replace(/\\,/g,"\\2c ")}var u3={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},AU=/^#([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})?$/i,LU=/^#([a-f\d])([a-f\d])([a-f\d])([a-f\d])?$/i,jn=/(?:\d+|\d*\.\d+)%?/,yf=/(?:\s*,\s*|\s+)/,kS=/\s*[,/]\s*/,Vn=/var\(--(?:[^ )]*?)(?:,(?:[^ )]*?|var\(--[^ )]*?\)))?\)/,RU=new RegExp(`^(rgba?)\\(\\s*(${jn.source}|${Vn.source})(?:${yf.source}(${jn.source}|${Vn.source}))?(?:${yf.source}(${jn.source}|${Vn.source}))?(?:${kS.source}(${jn.source}|${Vn.source}))?\\s*\\)$`),TU=new RegExp(`^(hsla?)\\(\\s*((?:${jn.source})(?:deg|rad|grad|turn)?|${Vn.source})(?:${yf.source}(${jn.source}|${Vn.source}))?(?:${yf.source}(${jn.source}|${Vn.source}))?(?:${kS.source}(${jn.source}|${Vn.source}))?\\s*\\)$`);function cg(t,{loose:e=!1}={}){if(typeof t!="string")return null;if(t=t.trim(),t==="transparent")return{mode:"rgb",color:["0","0","0"],alpha:"0"};if(t in u3)return{mode:"rgb",color:u3[t].map(s=>s.toString())};let r=t.replace(LU,(s,o,a,l,u)=>["#",o,o,a,a,l,l,u?u+u:""].join("")).match(AU);if(r!==null)return{mode:"rgb",color:[parseInt(r[1],16),parseInt(r[2],16),parseInt(r[3],16)].map(s=>s.toString()),alpha:r[4]?(parseInt(r[4],16)/255).toString():void 0};let n=t.match(RU)??t.match(TU);if(n===null)return null;let i=[n[2],n[3],n[4]].filter(Boolean).map(s=>s.toString());return i.length===2&&i[0].startsWith("var(")?{mode:n[1],color:[i[0]],alpha:i[1]}:!e&&i.length!==3||i.length<3&&!i.some(s=>/^var\(.*?\)$/.test(s))?null:{mode:n[1],color:i,alpha:n[5]?.toString?.()}}function AS({mode:t,color:e,alpha:r}){let n=r!==void 0;return t==="rgba"||t==="hsla"?`${t}(${e.join(", ")}${n?`, ${r}`:""})`:`${t}(${e.join(" ")}${n?` / ${r}`:""})`}function Ds(t,e,r){if(typeof t=="function")return t({opacityValue:e});let n=cg(t,{loose:!0});return n===null?r:AS({...n,alpha:e})}function Nt({color:t,property:e,variable:r}){let n=[].concat(e);if(typeof t=="function")return{[r]:"1",...Object.fromEntries(n.map(s=>[s,t({opacityVariable:r,opacityValue:`var(${r})`})]))};let i=cg(t);return i===null?Object.fromEntries(n.map(s=>[s,t])):i.alpha!==void 0?Object.fromEntries(n.map(s=>[s,t])):{[r]:"1",...Object.fromEntries(n.map(s=>[s,AS({...i,alpha:`var(${r})`})]))}}function wr(t,e){let r=[],n=[],i=0,s=!1;for(let o=0;o<t.length;o++){let a=t[o];r.length===0&&a===e[0]&&!s&&(e.length===1||t.slice(o,o+e.length)===e)&&(n.push(t.slice(i,o)),i=o+e.length),s?s=!1:a==="\\"&&(s=!0),a==="("||a==="["||a==="{"?r.push(a):(a===")"&&r[r.length-1]==="("||a==="]"&&r[r.length-1]==="["||a==="}"&&r[r.length-1]==="{")&&r.pop()}return n.push(t.slice(i)),n}var NU=new Set(["inset","inherit","initial","revert","unset"]),MU=/\ +(?![^(]*\))/g,c3=/^-?(\d+|\.\d+)(.*?)$/g;function LS(t){return wr(t,",").map(r=>{let n=r.trim(),i={raw:n},s=n.split(MU),o=new Set;for(let a of s)c3.lastIndex=0,!o.has("KEYWORD")&&NU.has(a)?(i.keyword=a,o.add("KEYWORD")):c3.test(a)?o.has("X")?o.has("Y")?o.has("BLUR")?o.has("SPREAD")||(i.spread=a,o.add("SPREAD")):(i.blur=a,o.add("BLUR")):(i.y=a,o.add("Y")):(i.x=a,o.add("X")):i.color?(i.unknown||(i.unknown=[]),i.unknown.push(a)):i.color=a;return i.valid=i.x!==void 0&&i.y!==void 0,i})}function OU(t){return t.map(e=>e.valid?[e.keyword,e.x,e.y,e.blur,e.spread,e.color].filter(Boolean).join(" "):e.raw).join(", ")}var PU=["min","max","clamp","calc"];function fg(t){return PU.some(e=>new RegExp(`^${e}\\(.*\\)`).test(t))}var IU=new Set(["scroll-timeline-name","timeline-scope","view-timeline-name","font-palette","scroll-timeline","animation-timeline","view-timeline"]);function Qe(t,e=null,r=!0){let n=e&&IU.has(e.property);return t.startsWith("--")&&!n?`var(${t})`:t.includes("url(")?t.split(/(url\(.*?\))/g).filter(Boolean).map(i=>/^url\(.*?\)$/.test(i)?i:Qe(i,e,!1)).join(""):(t=t.replace(/([^\\])_+/g,(i,s)=>s+" ".repeat(i.length-1)).replace(/^_/g," ").replace(/\\_/g,"_"),r&&(t=t.trim()),t=DU(t),t)}function DU(t){let e=["theme"],r=["min-content","max-content","fit-content","safe-area-inset-top","safe-area-inset-right","safe-area-inset-bottom","safe-area-inset-left","titlebar-area-x","titlebar-area-y","titlebar-area-width","titlebar-area-height","keyboard-inset-top","keyboard-inset-right","keyboard-inset-bottom","keyboard-inset-left","keyboard-inset-width","keyboard-inset-height"];return t.replace(/(calc|min|max|clamp)\(.+\)/g,n=>{let i="";function s(){let o=i.trimEnd();return o[o.length-1]}for(let o=0;o<n.length;o++){let a=function(c){return c.split("").every((f,h)=>n[o+h]===f)},l=function(c){let f=1/0;for(let g of c){let y=n.indexOf(g,o);y!==-1&&y<f&&(f=y)}let h=n.slice(o,f);return o+=h.length-1,h},u=n[o];if(a("var"))i+=l([")",","]);else if(r.some(c=>a(c))){let c=r.find(f=>a(f));i+=c,o+=c.length-1}else e.some(c=>a(c))?i+=l([")"]):["+","-","*","/"].includes(u)&&!["(","+","-","*","/"].includes(s())?i+=` ${u} `:i+=u}return i.replace(/\s+/g," ")})}function RS(t){return t.startsWith("url(")}function TS(t){return!isNaN(Number(t))||fg(t)}function hg(t){return t.endsWith("%")&&TS(t.slice(0,-1))||fg(t)}var FU=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"],$U=`(?:${FU.join("|")})`;function dg(t){return t==="0"||new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${$U}$`).test(t)||fg(t)}var UU=new Set(["thin","medium","thick"]);function BU(t){return UU.has(t)}function qU(t){let e=LS(Qe(t));for(let r of e)if(!r.valid)return!1;return!0}function zU(t){let e=0;return wr(t,"_").every(n=>(n=Qe(n),n.startsWith("var(")?!0:cg(n,{loose:!0})!==null?(e++,!0):!1))?e>0:!1}function jU(t){let e=0;return wr(t,",").every(n=>(n=Qe(n),n.startsWith("var(")?!0:RS(n)||WU(n)||["element(","image(","cross-fade(","image-set("].some(i=>n.startsWith(i))?(e++,!0):!1))?e>0:!1}var VU=new Set(["conic-gradient","linear-gradient","radial-gradient","repeating-conic-gradient","repeating-linear-gradient","repeating-radial-gradient"]);function WU(t){t=Qe(t);for(let e of VU)if(t.startsWith(`${e}(`))return!0;return!1}var HU=new Set(["center","top","right","bottom","left"]);function GU(t){let e=0;return wr(t,"_").every(n=>(n=Qe(n),n.startsWith("var(")?!0:HU.has(n)||dg(n)||hg(n)?(e++,!0):!1))?e>0:!1}function XU(t){let e=0;return wr(t,",").every(n=>(n=Qe(n),n.startsWith("var(")?!0:n.includes(" ")&&!/(['"])([^"']+)\1/g.test(n)||/^\d/g.test(n)?!1:(e++,!0)))?e>0:!1}var QU=new Set(["serif","sans-serif","monospace","cursive","fantasy","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded","math","emoji","fangsong"]);function YU(t){return QU.has(t)}var JU=new Set(["xx-small","x-small","small","medium","large","x-large","x-large","xxx-large"]);function ZU(t){return JU.has(t)}var KU=new Set(["larger","smaller"]);function eB(t){return KU.has(t)}function xf(t){if(t=`${t}`,t==="0")return"0";if(/^[+-]?(\d+|\d*\.\d+)(e[+-]?\d+)?(%|\w+)?$/.test(t))return t.replace(/^[+-]?/,r=>r==="-"?"":"-");let e=["var","calc","min","max","clamp"];for(let r of e)if(t.includes(`${r}(`))return`calc(${t} * -1)`}function tB(t){let e=["cover","contain"];return wr(t,",").every(r=>{let n=wr(r,"_").filter(Boolean);return n.length===1&&e.includes(n[0])?!0:n.length!==1&&n.length!==2?!1:n.every(i=>dg(i)||hg(i)||i==="auto")})}function ym(){}var ft={info:ym,warn:ym,risk:ym},f3={optimizeUniversalDefaults:!1,generalizedModifiers:!0,get disableColorOpacityUtilitiesByDefault(){},get relativeContentPathsByDefault(){}},h3={future:["hoverOnlyWhenSupported","respectDefaultRingColorOpacity","disableColorOpacityUtilitiesByDefault","relativeContentPathsByDefault"],experimental:["optimizeUniversalDefaults","generalizedModifiers"]};function ir(t,e){return h3.future.includes(e)?t.future==="all"||(t?.future?.[e]??f3[e]??!1):h3.experimental.includes(e)?t.experimental==="all"||(t?.experimental?.[e]??f3[e]??!1):!1}function rB(t,e){t.walkClasses(r=>{r.value=e(r.value),r.raws&&r.raws.value&&(r.raws.value=ug(r.raws.value))})}function NS(t,e){if(!Hn(t))return;let r=t.slice(1,-1);if(e(r))return Qe(r)}function nB(t,e={},r){let n=e[t];if(n!==void 0)return xf(n);if(Hn(t)){let i=NS(t,r);return i===void 0?void 0:xf(i)}}function Of(t,e={},{validate:r=()=>!0}={}){let n=e.values?.[t];return n!==void 0?n:e.supportsNegativeValues&&t.startsWith("-")?nB(t.slice(1),e.values,r):NS(t,r)}function Hn(t){return t.startsWith("[")&&t.endsWith("]")}function MS(t){let e=t.lastIndexOf("/");return e===-1||e===t.length-1?[t,void 0]:Hn(t)&&!t.includes("]/[")?[t,void 0]:[t.slice(0,e),t.slice(e+1)]}function Sf(t){if(typeof t=="string"&&t.includes("<alpha-value>")){let e=t;return({opacityValue:r=1})=>e.replace("<alpha-value>",r)}return t}function OS(t){return Qe(t.slice(1,-1))}function iB(t,e={},{tailwindConfig:r={}}={}){if(e.values?.[t]!==void 0)return Sf(e.values?.[t]);let[n,i]=MS(t);if(i!==void 0){let s=e.values?.[n]??(Hn(n)?n.slice(1,-1):void 0);return s===void 0?void 0:(s=Sf(s),Hn(i)?Ds(s,OS(i)):r.theme?.opacity?.[i]===void 0?void 0:Ds(s,r.theme.opacity[i]))}return Of(t,e,{validate:zU})}function sB(t,e={}){return e.values?.[t]}function qt(t){return(e,r)=>Of(e,r,{validate:t})}var pg={any:Of,color:iB,url:qt(RS),image:qt(jU),length:qt(dg),percentage:qt(hg),position:qt(GU),lookup:sB,"generic-name":qt(YU),"family-name":qt(XU),number:qt(TS),"line-width":qt(BU),"absolute-size":qt(ZU),"relative-size":qt(eB),shadow:qt(qU),size:qt(tB)},d3=Object.keys(pg);function oB(t,e){let r=t.indexOf(e);return r===-1?[void 0,t]:[t.slice(0,r),t.slice(r+1)]}function p3(t,e,r,n){if(r.values&&e in r.values)for(let{type:s}of t??[]){let o=pg[s](e,r,{tailwindConfig:n});if(o!==void 0)return[o,s,null]}if(Hn(e)){let s=e.slice(1,-1),[o,a]=oB(s,":");if(!/^[\w-_]+$/g.test(o))a=s;else if(o!==void 0&&!d3.includes(o))return[];if(a.length>0&&d3.includes(o))return[Of(`[${a}]`,r),o,null]}let i=PS(t,e,r,n);for(let s of i)return s;return[]}function*PS(t,e,r,n){let i=ir(n,"generalizedModifiers"),[s,o]=MS(e);if(i&&r.modifiers!=null&&(r.modifiers==="any"||typeof r.modifiers=="object"&&(o&&Hn(o)||o in r.modifiers))||(s=e,o=void 0),o!==void 0&&s===""&&(s="DEFAULT"),o!==void 0&&typeof r.modifiers=="object"){let l=r.modifiers?.[o]??null;l!==null?o=l:Hn(o)&&(o=OS(o))}for(let{type:l}of t??[]){let u=pg[l](s,r,{tailwindConfig:n});u!==void 0&&(yield[u,l,o??null])}}var IS="3.3.5",m3={name:"tailwindcss",version:IS,description:"A utility-first CSS framework for rapidly building custom user interfaces.",license:"MIT",main:"lib/index.js",types:"types/index.d.ts",repository:"https://github.com/tailwindlabs/tailwindcss.git",bugs:"https://github.com/tailwindlabs/tailwindcss/issues",homepage:"https://tailwindcss.com",bin:{tailwind:"lib/cli.js",tailwindcss:"lib/cli.js"},tailwindcss:{engine:"stable"},scripts:{prebuild:"npm run generate && rimraf lib",build:`swc src --out-dir lib --copy-files --config jsc.transform.optimizer.globals.vars.__OXIDE__='"false"'`,postbuild:"esbuild lib/cli-peer-dependencies.js --bundle --platform=node --outfile=peers/index.js --define:process.env.CSS_TRANSFORMER_WASM=false","rebuild-fixtures":"npm run build && node -r @swc/register scripts/rebuildFixtures.js",style:"eslint .",pretest:"npm run generate",test:"jest","test:integrations":"npm run test --prefix ./integrations","install:integrations":"node scripts/install-integrations.js","generate:plugin-list":"node -r @swc/register scripts/create-plugin-list.js","generate:types":"node -r @swc/register scripts/generate-types.js",generate:"npm run generate:plugin-list && npm run generate:types","release-channel":"node ./scripts/release-channel.js","release-notes":"node ./scripts/release-notes.js",prepublishOnly:"npm install --force && npm run build"},files:["src/*","cli/*","lib/*","peers/*","scripts/*.js","stubs/*","nesting/*","types/**/*","*.d.ts","*.css","*.js"],devDependencies:{"@swc/cli":"^0.1.62","@swc/core":"^1.3.55","@swc/jest":"^0.2.26","@swc/register":"^0.1.10",autoprefixer:"^10.4.14",browserslist:"^4.21.5",concurrently:"^8.0.1",cssnano:"^6.0.0",esbuild:"^0.17.18",eslint:"^8.39.0","eslint-config-prettier":"^8.8.0","eslint-plugin-prettier":"^4.2.1",jest:"^29.6.0","jest-diff":"^29.6.0",lightningcss:"1.18.0",prettier:"^2.8.8",rimraf:"^5.0.0","source-map-js":"^1.0.2",turbo:"^1.9.3"},dependencies:{"@alloc/quick-lru":"^5.2.0",arg:"^5.0.2",chokidar:"^3.5.3",didyoumean:"^1.2.2",dlv:"^1.1.3","fast-glob":"^3.3.0","glob-parent":"^6.0.2","is-glob":"^4.0.3",jiti:"^1.19.1",lilconfig:"^2.1.0",micromatch:"^4.0.5","normalize-path":"^3.0.0","object-hash":"^3.0.0",picocolors:"^1.0.0",postcss:"^8.4.23","postcss-import":"^15.1.0","postcss-js":"^4.0.1","postcss-load-config":"^4.0.1","postcss-nested":"^6.0.1","postcss-selector-parser":"^6.0.11",resolve:"^1.22.2",sucrase:"^3.32.0"},browserslist:["> 1%","not edge <= 18","not ie 11","not op_mini all"],jest:{testTimeout:3e4,setupFilesAfterEnv:["<rootDir>/jest/customMatchers.js"],testPathIgnorePatterns:["/node_modules/","/integrations/","/standalone-cli/","\\.test\\.skip\\.js$"],transformIgnorePatterns:["node_modules/(?!lightningcss)"],transform:{"\\.js$":"@swc/jest","\\.ts$":"@swc/jest"}},engines:{node:">=14.0.0"}},a7e=typeof C<"u"?{NODE_ENV:"production",DEBUG:aB(void 0),ENGINE:m3.tailwindcss.engine}:{NODE_ENV:"production",DEBUG:!1,ENGINE:m3.tailwindcss.engine},Fs=new String("*"),Fm=Symbol("__NONE__");function aB(t){if(t===void 0)return!1;if(t==="true"||t==="1")return!0;if(t==="false"||t==="0")return!1;if(t==="*")return!0;let e=t.split(",").map(r=>r.split(":")[0]);return e.includes("-tailwindcss")?!1:!!e.includes("tailwindcss")}function Gn(t){let e=FS.default.className();return e.value=t,ug(e?.raws?.value??e.value)}var $m={"::after":["terminal","jumpable"],"::backdrop":["terminal","jumpable"],"::before":["terminal","jumpable"],"::cue":["terminal"],"::cue-region":["terminal"],"::first-letter":["terminal","jumpable"],"::first-line":["terminal","jumpable"],"::grammar-error":["terminal"],"::marker":["terminal","jumpable"],"::part":["terminal","actionable"],"::placeholder":["terminal","jumpable"],"::selection":["terminal","jumpable"],"::slotted":["terminal"],"::spelling-error":["terminal"],"::target-text":["terminal"],"::file-selector-button":["terminal","actionable"],"::deep":["actionable"],"::v-deep":["actionable"],"::ng-deep":["actionable"],":after":["terminal","jumpable"],":before":["terminal","jumpable"],":first-letter":["terminal","jumpable"],":first-line":["terminal","jumpable"],__default__:["terminal","actionable"]};function mg(t){let[e]=$S(t);return e.forEach(([r,n])=>r.removeChild(n)),t.nodes.push(...e.map(([,r])=>r)),t}function $S(t){let e=[],r=null;for(let n of t.nodes)if(n.type==="combinator")e=e.filter(([,i])=>gg(i).includes("jumpable")),r=null;else if(n.type==="pseudo"){lB(n)?(r=n,e.push([t,n,null])):r&&uB(n,r)?e.push([t,n,r]):r=null;for(let i of n.nodes??[]){let[s,o]=$S(i);r=o||r,e.push(...s)}}return[e,r]}function US(t){return t.value.startsWith("::")||$m[t.value]!==void 0}function lB(t){return US(t)&&gg(t).includes("terminal")}function uB(t,e){return t.type!=="pseudo"||US(t)?!1:gg(e).includes("actionable")}function gg(t){return $m[t.value]??$m.__default__}var Um=":merge";function _f(t,{context:e,candidate:r}){let n=e?.tailwindConfig.prefix??"",i=t.map(o=>{let a=(0,Br.default)().astSync(o.format);return{...o,ast:o.respectPrefix?lg(n,a):a}}),s=Br.default.root({nodes:[Br.default.selector({nodes:[Br.default.className({value:Gn(r)})]})]});for(let{ast:o}of i)[s,o]=fB(s,o),o.walkNesting(a=>a.replaceWith(...s.nodes[0].nodes)),s=o;return s}function g3(t){let e=[];for(;t.prev()&&t.prev().type!=="combinator";)t=t.prev();for(;t&&t.type!=="combinator";)e.push(t),t=t.next();return e}function cB(t){return t.sort((e,r)=>e.type==="tag"&&r.type==="class"?-1:e.type==="class"&&r.type==="tag"?1:e.type==="class"&&r.type==="pseudo"&&r.value.startsWith("::")?-1:e.type==="pseudo"&&e.value.startsWith("::")&&r.type==="class"?1:t.index(e)-t.index(r)),t}function BS(t,e){let r=!1;t.walk(n=>{if(n.type==="class"&&n.value===e)return r=!0,!1}),r||t.remove()}function qS(t,e,{context:r,candidate:n,base:i}){let s=r?.tailwindConfig?.separator??":";i=i??wr(n,s).pop();let o=(0,Br.default)().astSync(t);if(o.walkClasses(c=>{c.raws&&c.value.includes(i)&&(c.raws.value=Gn((0,DS.default)(c.raws.value)))}),o.each(c=>BS(c,i)),o.length===0)return null;let a=Array.isArray(e)?_f(e,{context:r,candidate:n}):e;if(a===null)return o.toString();let l=Br.default.comment({value:"/*__simple__*/"}),u=Br.default.comment({value:"/*__simple__*/"});return o.walkClasses(c=>{if(c.value!==i)return;let f=c.parent,h=a.nodes[0].nodes;if(f.nodes.length===1){c.replaceWith(...h);return}let g=g3(c);f.insertBefore(g[0],l),f.insertAfter(g[g.length-1],u);for(let S of h)f.insertBefore(g[0],S.clone());c.remove(),g=g3(l);let y=f.index(l);f.nodes.splice(y,g.length,...cB(Br.default.selector({nodes:g})).nodes),l.remove(),u.remove()}),o.walkPseudos(c=>{c.value===Um&&c.replaceWith(c.nodes)}),o.each(c=>mg(c)),o.toString()}function fB(t,e){let r=[];return t.walkPseudos(n=>{n.value===Um&&r.push({pseudo:n,value:n.nodes[0].toString()})}),e.walkPseudos(n=>{if(n.value!==Um)return;let i=n.nodes[0].toString(),s=r.find(u=>u.value===i);if(!s)return;let o=[],a=n.next();for(;a&&a.type!=="combinator";)o.push(a),a=a.next();let l=a;s.pseudo.parent.insertAfter(s.pseudo,Br.default.selector({nodes:o.map(u=>u.clone())})),n.remove(),o.forEach(u=>u.remove()),l&&l.type==="combinator"&&l.remove()}),[t,e]}function zS(t){return ug(`.${Gn(t)}`)}function b3(t,e){return zS(uf(t,e))}function uf(t,e){return e==="DEFAULT"?t:e==="-"||e==="-DEFAULT"?`-${t}`:e.startsWith("-")?`-${t}${e}`:e.startsWith("/")?`${t}${e}`:`${t}-${e}`}var hB=`/*
141
+ 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
142
+ 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
143
+ */
144
+
145
+ *,
146
+ ::before,
147
+ ::after {
148
+ box-sizing: border-box; /* 1 */
149
+ border-width: 0; /* 2 */
150
+ border-style: solid; /* 2 */
151
+ border-color: theme('borderColor.DEFAULT', currentColor); /* 2 */
152
+ }
153
+
154
+ ::before,
155
+ ::after {
156
+ --tw-content: '';
157
+ }
158
+
159
+ /*
160
+ 1. Use a consistent sensible line-height in all browsers.
161
+ 2. Prevent adjustments of font size after orientation changes in iOS.
162
+ 3. Use a more readable tab size.
163
+ 4. Use the user's configured \`sans\` font-family by default.
164
+ 5. Use the user's configured \`sans\` font-feature-settings by default.
165
+ 6. Use the user's configured \`sans\` font-variation-settings by default.
166
+ */
167
+
168
+ html {
169
+ line-height: 1.5; /* 1 */
170
+ -webkit-text-size-adjust: 100%; /* 2 */
171
+ -moz-tab-size: 4; /* 3 */
172
+ tab-size: 4; /* 3 */
173
+ font-family: theme('fontFamily.sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"); /* 4 */
174
+ font-feature-settings: theme('fontFamily.sans[1].fontFeatureSettings', normal); /* 5 */
175
+ font-variation-settings: theme('fontFamily.sans[1].fontVariationSettings', normal); /* 6 */
176
+ }
177
+
178
+ /*
179
+ 1. Remove the margin in all browsers.
180
+ 2. Inherit line-height from \`html\` so users can set them as a class directly on the \`html\` element.
181
+ */
182
+
183
+ body {
184
+ margin: 0; /* 1 */
185
+ line-height: inherit; /* 2 */
186
+ }
187
+
188
+ /*
189
+ 1. Add the correct height in Firefox.
190
+ 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
191
+ 3. Ensure horizontal rules are visible by default.
192
+ */
193
+
194
+ hr {
195
+ height: 0; /* 1 */
196
+ color: inherit; /* 2 */
197
+ border-top-width: 1px; /* 3 */
198
+ }
199
+
200
+ /*
201
+ Add the correct text decoration in Chrome, Edge, and Safari.
202
+ */
203
+
204
+ abbr:where([title]) {
205
+ text-decoration: underline dotted;
206
+ }
207
+
208
+ /*
209
+ Remove the default font size and weight for headings.
210
+ */
211
+
212
+ h1,
213
+ h2,
214
+ h3,
215
+ h4,
216
+ h5,
217
+ h6 {
218
+ font-size: inherit;
219
+ font-weight: inherit;
220
+ }
221
+
222
+ /*
223
+ Reset links to optimize for opt-in styling instead of opt-out.
224
+ */
225
+
226
+ a {
227
+ color: inherit;
228
+ text-decoration: inherit;
229
+ }
230
+
231
+ /*
232
+ Add the correct font weight in Edge and Safari.
233
+ */
234
+
235
+ b,
236
+ strong {
237
+ font-weight: bolder;
238
+ }
239
+
240
+ /*
241
+ 1. Use the user's configured \`mono\` font family by default.
242
+ 2. Correct the odd \`em\` font sizing in all browsers.
243
+ */
244
+
245
+ code,
246
+ kbd,
247
+ samp,
248
+ pre {
249
+ font-family: theme('fontFamily.mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace); /* 1 */
250
+ font-size: 1em; /* 2 */
251
+ }
252
+
253
+ /*
254
+ Add the correct font size in all browsers.
255
+ */
256
+
257
+ small {
258
+ font-size: 80%;
259
+ }
260
+
261
+ /*
262
+ Prevent \`sub\` and \`sup\` elements from affecting the line height in all browsers.
263
+ */
264
+
265
+ sub,
266
+ sup {
267
+ font-size: 75%;
268
+ line-height: 0;
269
+ position: relative;
270
+ vertical-align: baseline;
271
+ }
272
+
273
+ sub {
274
+ bottom: -0.25em;
275
+ }
276
+
277
+ sup {
278
+ top: -0.5em;
279
+ }
280
+
281
+ /*
282
+ 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
283
+ 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
284
+ 3. Remove gaps between table borders by default.
285
+ */
286
+
287
+ table {
288
+ text-indent: 0; /* 1 */
289
+ border-color: inherit; /* 2 */
290
+ border-collapse: collapse; /* 3 */
291
+ }
292
+
293
+ /*
294
+ 1. Change the font styles in all browsers.
295
+ 2. Remove the margin in Firefox and Safari.
296
+ 3. Remove default padding in all browsers.
297
+ */
298
+
299
+ button,
300
+ input,
301
+ optgroup,
302
+ select,
303
+ textarea {
304
+ font-family: inherit; /* 1 */
305
+ font-feature-settings: inherit; /* 1 */
306
+ font-variation-settings: inherit; /* 1 */
307
+ font-size: 100%; /* 1 */
308
+ font-weight: inherit; /* 1 */
309
+ line-height: inherit; /* 1 */
310
+ color: inherit; /* 1 */
311
+ margin: 0; /* 2 */
312
+ padding: 0; /* 3 */
313
+ }
314
+
315
+ /*
316
+ Remove the inheritance of text transform in Edge and Firefox.
317
+ */
318
+
319
+ button,
320
+ select {
321
+ text-transform: none;
322
+ }
323
+
324
+ /*
325
+ 1. Correct the inability to style clickable types in iOS and Safari.
326
+ 2. Remove default button styles.
327
+ */
328
+
329
+ button,
330
+ [type='button'],
331
+ [type='reset'],
332
+ [type='submit'] {
333
+ -webkit-appearance: button; /* 1 */
334
+ background-color: transparent; /* 2 */
335
+ background-image: none; /* 2 */
336
+ }
337
+
338
+ /*
339
+ Use the modern Firefox focus style for all focusable elements.
340
+ */
341
+
342
+ :-moz-focusring {
343
+ outline: auto;
344
+ }
345
+
346
+ /*
347
+ Remove the additional \`:invalid\` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
348
+ */
349
+
350
+ :-moz-ui-invalid {
351
+ box-shadow: none;
352
+ }
353
+
354
+ /*
355
+ Add the correct vertical alignment in Chrome and Firefox.
356
+ */
357
+
358
+ progress {
359
+ vertical-align: baseline;
360
+ }
361
+
362
+ /*
363
+ Correct the cursor style of increment and decrement buttons in Safari.
364
+ */
365
+
366
+ ::-webkit-inner-spin-button,
367
+ ::-webkit-outer-spin-button {
368
+ height: auto;
369
+ }
370
+
371
+ /*
372
+ 1. Correct the odd appearance in Chrome and Safari.
373
+ 2. Correct the outline style in Safari.
374
+ */
375
+
376
+ [type='search'] {
377
+ -webkit-appearance: textfield; /* 1 */
378
+ outline-offset: -2px; /* 2 */
379
+ }
380
+
381
+ /*
382
+ Remove the inner padding in Chrome and Safari on macOS.
383
+ */
384
+
385
+ ::-webkit-search-decoration {
386
+ -webkit-appearance: none;
387
+ }
388
+
389
+ /*
390
+ 1. Correct the inability to style clickable types in iOS and Safari.
391
+ 2. Change font properties to \`inherit\` in Safari.
392
+ */
393
+
394
+ ::-webkit-file-upload-button {
395
+ -webkit-appearance: button; /* 1 */
396
+ font: inherit; /* 2 */
397
+ }
398
+
399
+ /*
400
+ Add the correct display in Chrome and Safari.
401
+ */
402
+
403
+ summary {
404
+ display: list-item;
405
+ }
406
+
407
+ /*
408
+ Removes the default spacing and border for appropriate elements.
409
+ */
410
+
411
+ blockquote,
412
+ dl,
413
+ dd,
414
+ h1,
415
+ h2,
416
+ h3,
417
+ h4,
418
+ h5,
419
+ h6,
420
+ hr,
421
+ figure,
422
+ p,
423
+ pre {
424
+ margin: 0;
425
+ }
426
+
427
+ fieldset {
428
+ margin: 0;
429
+ padding: 0;
430
+ }
431
+
432
+ legend {
433
+ padding: 0;
434
+ }
435
+
436
+ ol,
437
+ ul,
438
+ menu {
439
+ list-style: none;
440
+ margin: 0;
441
+ padding: 0;
442
+ }
443
+
444
+ /*
445
+ Reset default styling for dialogs.
446
+ */
447
+ dialog {
448
+ padding: 0;
449
+ }
450
+
451
+ /*
452
+ Prevent resizing textareas horizontally by default.
453
+ */
454
+
455
+ textarea {
456
+ resize: vertical;
457
+ }
458
+
459
+ /*
460
+ 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
461
+ 2. Set the default placeholder color to the user's configured gray 400 color.
462
+ */
463
+
464
+ input::placeholder,
465
+ textarea::placeholder {
466
+ opacity: 1; /* 1 */
467
+ color: theme('colors.gray.400', #9ca3af); /* 2 */
468
+ }
469
+
470
+ /*
471
+ Set the default cursor for buttons.
472
+ */
473
+
474
+ button,
475
+ [role="button"] {
476
+ cursor: pointer;
477
+ }
478
+
479
+ /*
480
+ Make sure disabled buttons don't get the pointer cursor.
481
+ */
482
+ :disabled {
483
+ cursor: default;
484
+ }
485
+
486
+ /*
487
+ 1. Make replaced elements \`display: block\` by default. (https://github.com/mozdevs/cssremedy/issues/14)
488
+ 2. Add \`vertical-align: middle\` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
489
+ This can trigger a poorly considered lint error in some tools but is included by design.
490
+ */
491
+
492
+ img,
493
+ svg,
494
+ video,
495
+ canvas,
496
+ audio,
497
+ iframe,
498
+ embed,
499
+ object {
500
+ display: block; /* 1 */
501
+ vertical-align: middle; /* 2 */
502
+ }
503
+
504
+ /*
505
+ Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
506
+ */
507
+
508
+ img,
509
+ video {
510
+ max-width: 100%;
511
+ height: auto;
512
+ }
513
+
514
+ /* Make elements with the HTML hidden attribute stay hidden by default */
515
+ [hidden] {
516
+ display: none;
517
+ }
518
+ `,jS={readFileSync:()=>hB};function Pf(t){return["fontSize","outline"].includes(t)?e=>(typeof e=="function"&&(e=e({})),Array.isArray(e)&&(e=e[0]),e):t==="fontFamily"?e=>{typeof e=="function"&&(e=e({}));let r=Array.isArray(e)&&vr(e[1])?e[0]:e;return Array.isArray(r)?r.join(", "):r}:["boxShadow","transitionProperty","transitionDuration","transitionDelay","transitionTimingFunction","backgroundImage","backgroundSize","backgroundColor","cursor","animation"].includes(t)?e=>(typeof e=="function"&&(e=e({})),Array.isArray(e)&&(e=e.join(", ")),e):["gridTemplateColumns","gridTemplateRows","objectPosition"].includes(t)?e=>(typeof e=="function"&&(e=e({})),typeof e=="string"&&(e=_e.list.comma(e).join(" ")),e):(e,r={})=>(typeof e=="function"&&(e=e(r)),e)}var dB=()=>"";function oe(t,e=[[t,[t]]],{filterDefault:r=!1,...n}={}){let i=Pf(t);return function({matchUtilities:s,theme:o}){for(let a of e){let l=Array.isArray(a[0])?a:[a];s(l.reduce((u,[c,f])=>Object.assign(u,{[c]:h=>f.reduce((g,y)=>Array.isArray(y)?Object.assign(g,{[y[0]]:y[1]}):Object.assign(g,{[y]:i(h)}),{})}),{}),{...n,values:r?Object.fromEntries(Object.entries(o(t)??{}).filter(([u])=>u!=="DEFAULT")):o(t)})}}}function Cf(t){return t=Array.isArray(t)?t:[t],t.map(e=>{let r=e.values.map(n=>n.raw!==void 0?n.raw:[n.min&&`(min-width: ${n.min})`,n.max&&`(max-width: ${n.max})`].filter(Boolean).join(" and "));return e.not?`not all and ${r}`:r}).join(", ")}var pB=new Set(["normal","reverse","alternate","alternate-reverse"]),mB=new Set(["running","paused"]),gB=new Set(["none","forwards","backwards","both"]),bB=new Set(["infinite"]),vB=new Set(["linear","ease","ease-in","ease-out","ease-in-out","step-start","step-end"]),wB=["cubic-bezier","steps"],yB=/\,(?![^(]*\))/g,xB=/\ +(?![^(]*\))/g,v3=/^(-?[\d.]+m?s)$/,SB=/^(\d+)$/;function _B(t){return t.split(yB).map(r=>{let n=r.trim(),i={value:n},s=n.split(xB),o=new Set;for(let a of s)!o.has("DIRECTIONS")&&pB.has(a)?(i.direction=a,o.add("DIRECTIONS")):!o.has("PLAY_STATES")&&mB.has(a)?(i.playState=a,o.add("PLAY_STATES")):!o.has("FILL_MODES")&&gB.has(a)?(i.fillMode=a,o.add("FILL_MODES")):!o.has("ITERATION_COUNTS")&&(bB.has(a)||SB.test(a))?(i.iterationCount=a,o.add("ITERATION_COUNTS")):!o.has("TIMING_FUNCTION")&&vB.has(a)||!o.has("TIMING_FUNCTION")&&wB.some(l=>a.startsWith(`${l}(`))?(i.timingFunction=a,o.add("TIMING_FUNCTION")):!o.has("DURATION")&&v3.test(a)?(i.duration=a,o.add("DURATION")):!o.has("DELAY")&&v3.test(a)?(i.delay=a,o.add("DELAY")):o.has("NAME")?(i.unknown||(i.unknown=[]),i.unknown.push(a)):(i.name=a,o.add("NAME"));return i})}var WS=t=>Object.assign({},...Object.entries(t??{}).flatMap(([e,r])=>typeof r=="object"?Object.entries(WS(r)).map(([n,i])=>({[e+(n==="DEFAULT"?"":`-${n}`)]:i})):[{[`${e}`]:r}])),yt=WS;function Me(t){return typeof t=="function"?t({}):t}function hl(t,e=!0){return Array.isArray(t)?t.map(r=>{if(e&&Array.isArray(r))throw new Error("The tuple syntax is not supported for `screens`.");if(typeof r=="string")return{name:r.toString(),not:!1,values:[{min:r,max:void 0}]};let[n,i]=r;return n=n.toString(),typeof i=="string"?{name:n,not:!1,values:[{min:i,max:void 0}]}:Array.isArray(i)?{name:n,not:!1,values:i.map(s=>w3(s))}:{name:n,not:!1,values:[w3(i)]}}):hl(Object.entries(t??{}),!1)}function Bm(t){return t.values.length!==1?{result:!1,reason:"multiple-values"}:t.values[0].raw!==void 0?{result:!1,reason:"raw-values"}:t.values[0].min!==void 0&&t.values[0].max!==void 0?{result:!1,reason:"min-and-max"}:{result:!0,reason:null}}function CB(t,e,r){let n=qm(e,t),i=qm(r,t),s=Bm(n),o=Bm(i);if(s.reason==="multiple-values"||o.reason==="multiple-values")throw new Error("Attempted to sort a screen with multiple values. This should never happen. Please open a bug report.");if(s.reason==="raw-values"||o.reason==="raw-values")throw new Error("Attempted to sort a screen with raw values. This should never happen. Please open a bug report.");if(s.reason==="min-and-max"||o.reason==="min-and-max")throw new Error("Attempted to sort a screen with both min and max values. This should never happen. Please open a bug report.");let{min:a,max:l}=n.values[0],{min:u,max:c}=i.values[0];e.not&&([a,l]=[l,a]),r.not&&([u,c]=[c,u]),a=a===void 0?a:parseFloat(a),l=l===void 0?l:parseFloat(l),u=u===void 0?u:parseFloat(u),c=c===void 0?c:parseFloat(c);let[f,h]=t==="min"?[a,u]:[c,l];return f-h}function qm(t,e){return typeof t=="object"?t:{name:"arbitrary-screen",values:[{[e]:t}]}}function w3({"min-width":t,min:e=t,max:r,raw:n}={}){return{min:e,max:r,raw:n}}function xm(t,e){t.walkDecls(r=>{if(e.includes(r.prop)){r.remove();return}for(let n of e)r.value.includes(`/ var(${n})`)&&(r.value=r.value.replace(`/ var(${n})`,""))})}var zt={pseudoElementVariants:({addVariant:t})=>{t("first-letter","&::first-letter"),t("first-line","&::first-line"),t("marker",[({container:e})=>(xm(e,["--tw-text-opacity"]),"& *::marker"),({container:e})=>(xm(e,["--tw-text-opacity"]),"&::marker")]),t("selection",["& *::selection","&::selection"]),t("file","&::file-selector-button"),t("placeholder","&::placeholder"),t("backdrop","&::backdrop"),t("before",({container:e})=>(e.walkRules(r=>{let n=!1;r.walkDecls("content",()=>{n=!0}),n||r.prepend(_e.decl({prop:"content",value:"var(--tw-content)"}))}),"&::before")),t("after",({container:e})=>(e.walkRules(r=>{let n=!1;r.walkDecls("content",()=>{n=!0}),n||r.prepend(_e.decl({prop:"content",value:"var(--tw-content)"}))}),"&::after"))},pseudoClassVariants:({addVariant:t,matchVariant:e,config:r,prefix:n})=>{let i=[["first","&:first-child"],["last","&:last-child"],["only","&:only-child"],["odd","&:nth-child(odd)"],["even","&:nth-child(even)"],"first-of-type","last-of-type","only-of-type",["visited",({container:o})=>(xm(o,["--tw-text-opacity","--tw-border-opacity","--tw-bg-opacity"]),"&:visited")],"target",["open","&[open]"],"default","checked","indeterminate","placeholder-shown","autofill","optional","required","valid","invalid","in-range","out-of-range","read-only","empty","focus-within",["hover",ir(r(),"hoverOnlyWhenSupported")?"@media (hover: hover) and (pointer: fine) { &:hover }":"&:hover"],"focus","focus-visible","active","enabled","disabled"].map(o=>Array.isArray(o)?o:[o,`&:${o}`]);for(let[o,a]of i)t(o,l=>typeof a=="function"?a(l):a);let s={group:(o,{modifier:a})=>a?[`:merge(${n(".group")}\\/${Gn(a)})`," &"]:[`:merge(${n(".group")})`," &"],peer:(o,{modifier:a})=>a?[`:merge(${n(".peer")}\\/${Gn(a)})`," ~ &"]:[`:merge(${n(".peer")})`," ~ &"]};for(let[o,a]of Object.entries(s))e(o,(l="",u)=>{let c=Qe(typeof l=="function"?l(u):l);c.includes("&")||(c="&"+c);let[f,h]=a("",u),g=null,y=null,S=0;for(let x=0;x<c.length;++x){let _=c[x];_==="&"?g=x:_==="'"||_==='"'?S+=1:g!==null&&_===" "&&!S&&(y=x)}return g!==null&&y===null&&(y=c.length),c.slice(0,g)+f+c.slice(g+1,y)+h+c.slice(y)},{values:Object.fromEntries(i),[vg]:{respectPrefix:!1}})},directionVariants:({addVariant:t})=>{t("ltr",':is([dir="ltr"] &)'),t("rtl",':is([dir="rtl"] &)')},reducedMotionVariants:({addVariant:t})=>{t("motion-safe","@media (prefers-reduced-motion: no-preference)"),t("motion-reduce","@media (prefers-reduced-motion: reduce)")},darkVariants:({config:t,addVariant:e})=>{let[r,n=".dark"]=[].concat(t("darkMode","media"));r===!1&&(r="media",ft.warn("darkmode-false",["The `darkMode` option in your Tailwind CSS configuration is set to `false`, which now behaves the same as `media`.","Change `darkMode` to `media` or remove it entirely.","https://tailwindcss.com/docs/upgrade-guide#remove-dark-mode-configuration"])),r==="class"?e("dark",`:is(${n} &)`):r==="media"&&e("dark","@media (prefers-color-scheme: dark)")},printVariant:({addVariant:t})=>{t("print","@media print")},screenVariants:({theme:t,addVariant:e,matchVariant:r})=>{let n=t("screens")??{},i=Object.values(n).every(_=>typeof _=="string"),s=hl(t("screens")),o=new Set([]);function a(_){return _.match(/(\D+)$/)?.[1]??"(none)"}function l(_){_!==void 0&&o.add(a(_))}function u(_){return l(_),o.size===1}for(let _ of s)for(let k of _.values)l(k.min),l(k.max);let c=o.size<=1;function f(_){return Object.fromEntries(s.filter(k=>Bm(k).result).map(k=>{let{min:T,max:N}=k.values[0];if(_==="min"&&T!==void 0)return k;if(_==="min"&&N!==void 0)return{...k,not:!k.not};if(_==="max"&&N!==void 0)return k;if(_==="max"&&T!==void 0)return{...k,not:!k.not}}).map(k=>[k.name,k]))}function h(_){return(k,T)=>CB(_,k.value,T.value)}let g=h("max"),y=h("min");function S(_){return k=>{if(i)if(c){if(typeof k=="string"&&!u(k))return ft.warn("minmax-have-mixed-units",["The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units."]),[]}else return ft.warn("mixed-screen-units",["The `min-*` and `max-*` variants are not supported with a `screens` configuration containing mixed units."]),[];else return ft.warn("complex-screen-config",["The `min-*` and `max-*` variants are not supported with a `screens` configuration containing objects."]),[];return[`@media ${Cf(qm(k,_))}`]}}r("max",S("max"),{sort:g,values:i?f("max"):{}});let x="min-screens";for(let _ of s)e(_.name,`@media ${Cf(_)}`,{id:x,sort:i&&c?y:void 0,value:_});r("min",S("min"),{id:x,sort:y})},supportsVariants:({matchVariant:t,theme:e})=>{t("supports",(r="")=>{let n=Qe(r),i=/^\w*\s*\(/.test(n);return n=i?n.replace(/\b(and|or|not)\b/g," $1 "):n,i?`@supports ${n}`:(n.includes(":")||(n=`${n}: var(--tw)`),n.startsWith("(")&&n.endsWith(")")||(n=`(${n})`),`@supports ${n}`)},{values:e("supports")??{}})},ariaVariants:({matchVariant:t,theme:e})=>{t("aria",r=>`&[aria-${Qe(r)}]`,{values:e("aria")??{}}),t("group-aria",(r,{modifier:n})=>n?`:merge(.group\\/${n})[aria-${Qe(r)}] &`:`:merge(.group)[aria-${Qe(r)}] &`,{values:e("aria")??{}}),t("peer-aria",(r,{modifier:n})=>n?`:merge(.peer\\/${n})[aria-${Qe(r)}] ~ &`:`:merge(.peer)[aria-${Qe(r)}] ~ &`,{values:e("aria")??{}})},dataVariants:({matchVariant:t,theme:e})=>{t("data",r=>`&[data-${Qe(r)}]`,{values:e("data")??{}}),t("group-data",(r,{modifier:n})=>n?`:merge(.group\\/${n})[data-${Qe(r)}] &`:`:merge(.group)[data-${Qe(r)}] &`,{values:e("data")??{}}),t("peer-data",(r,{modifier:n})=>n?`:merge(.peer\\/${n})[data-${Qe(r)}] ~ &`:`:merge(.peer)[data-${Qe(r)}] ~ &`,{values:e("data")??{}})},orientationVariants:({addVariant:t})=>{t("portrait","@media (orientation: portrait)"),t("landscape","@media (orientation: landscape)")},prefersContrastVariants:({addVariant:t})=>{t("contrast-more","@media (prefers-contrast: more)"),t("contrast-less","@media (prefers-contrast: less)")}},br=["translate(var(--tw-translate-x), var(--tw-translate-y))","rotate(var(--tw-rotate))","skewX(var(--tw-skew-x))","skewY(var(--tw-skew-y))","scaleX(var(--tw-scale-x))","scaleY(var(--tw-scale-y))"].join(" "),$r=["var(--tw-blur)","var(--tw-brightness)","var(--tw-contrast)","var(--tw-grayscale)","var(--tw-hue-rotate)","var(--tw-invert)","var(--tw-saturate)","var(--tw-sepia)","var(--tw-drop-shadow)"].join(" "),Ur=["var(--tw-backdrop-blur)","var(--tw-backdrop-brightness)","var(--tw-backdrop-contrast)","var(--tw-backdrop-grayscale)","var(--tw-backdrop-hue-rotate)","var(--tw-backdrop-invert)","var(--tw-backdrop-opacity)","var(--tw-backdrop-saturate)","var(--tw-backdrop-sepia)"].join(" "),EB={preflight:({addBase:t})=>{let e=_e.parse(jS.readFileSync(dB("/","./css/preflight.css"),"utf8"));t([_e.comment({text:`! tailwindcss v${IS} | MIT License | https://tailwindcss.com`}),...e.nodes])},container:(()=>{function t(r=[]){return r.flatMap(n=>n.values.map(i=>i.min)).filter(n=>n!==void 0)}function e(r,n,i){if(typeof i>"u")return[];if(!(typeof i=="object"&&i!==null))return[{screen:"DEFAULT",minWidth:0,padding:i}];let s=[];i.DEFAULT&&s.push({screen:"DEFAULT",minWidth:0,padding:i.DEFAULT});for(let o of r)for(let a of n)for(let{min:l}of a.values)l===o&&s.push({minWidth:o,padding:i[a.name]});return s}return function({addComponents:r,theme:n}){let i=hl(n("container.screens",n("screens"))),s=t(i),o=e(s,i,n("container.padding")),a=u=>{let c=o.find(f=>f.minWidth===u);return c?{paddingRight:c.padding,paddingLeft:c.padding}:{}},l=Array.from(new Set(s.slice().sort((u,c)=>parseInt(u)-parseInt(c)))).map(u=>({[`@media (min-width: ${u})`]:{".container":{"max-width":u,...a(u)}}}));r([{".container":Object.assign({width:"100%"},n("container.center",!1)?{marginRight:"auto",marginLeft:"auto"}:{},a(0))},...l])}})(),accessibility:({addUtilities:t})=>{t({".sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0"},".not-sr-only":{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",clip:"auto",whiteSpace:"normal"}})},pointerEvents:({addUtilities:t})=>{t({".pointer-events-none":{"pointer-events":"none"},".pointer-events-auto":{"pointer-events":"auto"}})},visibility:({addUtilities:t})=>{t({".visible":{visibility:"visible"},".invisible":{visibility:"hidden"},".collapse":{visibility:"collapse"}})},position:({addUtilities:t})=>{t({".static":{position:"static"},".fixed":{position:"fixed"},".absolute":{position:"absolute"},".relative":{position:"relative"},".sticky":{position:"sticky"}})},inset:oe("inset",[["inset",["inset"]],[["inset-x",["left","right"]],["inset-y",["top","bottom"]]],[["start",["inset-inline-start"]],["end",["inset-inline-end"]],["top",["top"]],["right",["right"]],["bottom",["bottom"]],["left",["left"]]]],{supportsNegativeValues:!0}),isolation:({addUtilities:t})=>{t({".isolate":{isolation:"isolate"},".isolation-auto":{isolation:"auto"}})},zIndex:oe("zIndex",[["z",["zIndex"]]],{supportsNegativeValues:!0}),order:oe("order",void 0,{supportsNegativeValues:!0}),gridColumn:oe("gridColumn",[["col",["gridColumn"]]]),gridColumnStart:oe("gridColumnStart",[["col-start",["gridColumnStart"]]]),gridColumnEnd:oe("gridColumnEnd",[["col-end",["gridColumnEnd"]]]),gridRow:oe("gridRow",[["row",["gridRow"]]]),gridRowStart:oe("gridRowStart",[["row-start",["gridRowStart"]]]),gridRowEnd:oe("gridRowEnd",[["row-end",["gridRowEnd"]]]),float:({addUtilities:t})=>{t({".float-right":{float:"right"},".float-left":{float:"left"},".float-none":{float:"none"}})},clear:({addUtilities:t})=>{t({".clear-left":{clear:"left"},".clear-right":{clear:"right"},".clear-both":{clear:"both"},".clear-none":{clear:"none"}})},margin:oe("margin",[["m",["margin"]],[["mx",["margin-left","margin-right"]],["my",["margin-top","margin-bottom"]]],[["ms",["margin-inline-start"]],["me",["margin-inline-end"]],["mt",["margin-top"]],["mr",["margin-right"]],["mb",["margin-bottom"]],["ml",["margin-left"]]]],{supportsNegativeValues:!0}),boxSizing:({addUtilities:t})=>{t({".box-border":{"box-sizing":"border-box"},".box-content":{"box-sizing":"content-box"}})},lineClamp:({matchUtilities:t,addUtilities:e,theme:r})=>{t({"line-clamp":n=>({overflow:"hidden",display:"-webkit-box","-webkit-box-orient":"vertical","-webkit-line-clamp":`${n}`})},{values:r("lineClamp")}),e({".line-clamp-none":{overflow:"visible",display:"block","-webkit-box-orient":"horizontal","-webkit-line-clamp":"none"}})},display:({addUtilities:t})=>{t({".block":{display:"block"},".inline-block":{display:"inline-block"},".inline":{display:"inline"},".flex":{display:"flex"},".inline-flex":{display:"inline-flex"},".table":{display:"table"},".inline-table":{display:"inline-table"},".table-caption":{display:"table-caption"},".table-cell":{display:"table-cell"},".table-column":{display:"table-column"},".table-column-group":{display:"table-column-group"},".table-footer-group":{display:"table-footer-group"},".table-header-group":{display:"table-header-group"},".table-row-group":{display:"table-row-group"},".table-row":{display:"table-row"},".flow-root":{display:"flow-root"},".grid":{display:"grid"},".inline-grid":{display:"inline-grid"},".contents":{display:"contents"},".list-item":{display:"list-item"},".hidden":{display:"none"}})},aspectRatio:oe("aspectRatio",[["aspect",["aspect-ratio"]]]),height:oe("height",[["h",["height"]]]),maxHeight:oe("maxHeight",[["max-h",["maxHeight"]]]),minHeight:oe("minHeight",[["min-h",["minHeight"]]]),width:oe("width",[["w",["width"]]]),minWidth:oe("minWidth",[["min-w",["minWidth"]]]),maxWidth:oe("maxWidth",[["max-w",["maxWidth"]]]),flex:oe("flex"),flexShrink:oe("flexShrink",[["flex-shrink",["flex-shrink"]],["shrink",["flex-shrink"]]]),flexGrow:oe("flexGrow",[["flex-grow",["flex-grow"]],["grow",["flex-grow"]]]),flexBasis:oe("flexBasis",[["basis",["flex-basis"]]]),tableLayout:({addUtilities:t})=>{t({".table-auto":{"table-layout":"auto"},".table-fixed":{"table-layout":"fixed"}})},captionSide:({addUtilities:t})=>{t({".caption-top":{"caption-side":"top"},".caption-bottom":{"caption-side":"bottom"}})},borderCollapse:({addUtilities:t})=>{t({".border-collapse":{"border-collapse":"collapse"},".border-separate":{"border-collapse":"separate"}})},borderSpacing:({addDefaults:t,matchUtilities:e,theme:r})=>{t("border-spacing",{"--tw-border-spacing-x":0,"--tw-border-spacing-y":0}),e({"border-spacing":n=>({"--tw-border-spacing-x":n,"--tw-border-spacing-y":n,"@defaults border-spacing":{},"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"}),"border-spacing-x":n=>({"--tw-border-spacing-x":n,"@defaults border-spacing":{},"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"}),"border-spacing-y":n=>({"--tw-border-spacing-y":n,"@defaults border-spacing":{},"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"})},{values:r("borderSpacing")})},transformOrigin:oe("transformOrigin",[["origin",["transformOrigin"]]]),translate:oe("translate",[[["translate-x",[["@defaults transform",{}],"--tw-translate-x",["transform",br]]],["translate-y",[["@defaults transform",{}],"--tw-translate-y",["transform",br]]]]],{supportsNegativeValues:!0}),rotate:oe("rotate",[["rotate",[["@defaults transform",{}],"--tw-rotate",["transform",br]]]],{supportsNegativeValues:!0}),skew:oe("skew",[[["skew-x",[["@defaults transform",{}],"--tw-skew-x",["transform",br]]],["skew-y",[["@defaults transform",{}],"--tw-skew-y",["transform",br]]]]],{supportsNegativeValues:!0}),scale:oe("scale",[["scale",[["@defaults transform",{}],"--tw-scale-x","--tw-scale-y",["transform",br]]],[["scale-x",[["@defaults transform",{}],"--tw-scale-x",["transform",br]]],["scale-y",[["@defaults transform",{}],"--tw-scale-y",["transform",br]]]]],{supportsNegativeValues:!0}),transform:({addDefaults:t,addUtilities:e})=>{t("transform",{"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1"}),e({".transform":{"@defaults transform":{},transform:br},".transform-cpu":{transform:br},".transform-gpu":{transform:br.replace("translate(var(--tw-translate-x), var(--tw-translate-y))","translate3d(var(--tw-translate-x), var(--tw-translate-y), 0)")},".transform-none":{transform:"none"}})},animation:({matchUtilities:t,theme:e,config:r})=>{let n=s=>Gn(r("prefix")+s),i=Object.fromEntries(Object.entries(e("keyframes")??{}).map(([s,o])=>[s,{[`@keyframes ${n(s)}`]:o}]));t({animate:s=>{let o=_B(s);return[...o.flatMap(a=>i[a.name]),{animation:o.map(({name:a,value:l})=>a===void 0||i[a]===void 0?l:l.replace(a,n(a))).join(", ")}]}},{values:e("animation")})},cursor:oe("cursor"),touchAction:({addDefaults:t,addUtilities:e})=>{t("touch-action",{"--tw-pan-x":" ","--tw-pan-y":" ","--tw-pinch-zoom":" "});let r="var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)";e({".touch-auto":{"touch-action":"auto"},".touch-none":{"touch-action":"none"},".touch-pan-x":{"@defaults touch-action":{},"--tw-pan-x":"pan-x","touch-action":r},".touch-pan-left":{"@defaults touch-action":{},"--tw-pan-x":"pan-left","touch-action":r},".touch-pan-right":{"@defaults touch-action":{},"--tw-pan-x":"pan-right","touch-action":r},".touch-pan-y":{"@defaults touch-action":{},"--tw-pan-y":"pan-y","touch-action":r},".touch-pan-up":{"@defaults touch-action":{},"--tw-pan-y":"pan-up","touch-action":r},".touch-pan-down":{"@defaults touch-action":{},"--tw-pan-y":"pan-down","touch-action":r},".touch-pinch-zoom":{"@defaults touch-action":{},"--tw-pinch-zoom":"pinch-zoom","touch-action":r},".touch-manipulation":{"touch-action":"manipulation"}})},userSelect:({addUtilities:t})=>{t({".select-none":{"user-select":"none"},".select-text":{"user-select":"text"},".select-all":{"user-select":"all"},".select-auto":{"user-select":"auto"}})},resize:({addUtilities:t})=>{t({".resize-none":{resize:"none"},".resize-y":{resize:"vertical"},".resize-x":{resize:"horizontal"},".resize":{resize:"both"}})},scrollSnapType:({addDefaults:t,addUtilities:e})=>{t("scroll-snap-type",{"--tw-scroll-snap-strictness":"proximity"}),e({".snap-none":{"scroll-snap-type":"none"},".snap-x":{"@defaults scroll-snap-type":{},"scroll-snap-type":"x var(--tw-scroll-snap-strictness)"},".snap-y":{"@defaults scroll-snap-type":{},"scroll-snap-type":"y var(--tw-scroll-snap-strictness)"},".snap-both":{"@defaults scroll-snap-type":{},"scroll-snap-type":"both var(--tw-scroll-snap-strictness)"},".snap-mandatory":{"--tw-scroll-snap-strictness":"mandatory"},".snap-proximity":{"--tw-scroll-snap-strictness":"proximity"}})},scrollSnapAlign:({addUtilities:t})=>{t({".snap-start":{"scroll-snap-align":"start"},".snap-end":{"scroll-snap-align":"end"},".snap-center":{"scroll-snap-align":"center"},".snap-align-none":{"scroll-snap-align":"none"}})},scrollSnapStop:({addUtilities:t})=>{t({".snap-normal":{"scroll-snap-stop":"normal"},".snap-always":{"scroll-snap-stop":"always"}})},scrollMargin:oe("scrollMargin",[["scroll-m",["scroll-margin"]],[["scroll-mx",["scroll-margin-left","scroll-margin-right"]],["scroll-my",["scroll-margin-top","scroll-margin-bottom"]]],[["scroll-ms",["scroll-margin-inline-start"]],["scroll-me",["scroll-margin-inline-end"]],["scroll-mt",["scroll-margin-top"]],["scroll-mr",["scroll-margin-right"]],["scroll-mb",["scroll-margin-bottom"]],["scroll-ml",["scroll-margin-left"]]]],{supportsNegativeValues:!0}),scrollPadding:oe("scrollPadding",[["scroll-p",["scroll-padding"]],[["scroll-px",["scroll-padding-left","scroll-padding-right"]],["scroll-py",["scroll-padding-top","scroll-padding-bottom"]]],[["scroll-ps",["scroll-padding-inline-start"]],["scroll-pe",["scroll-padding-inline-end"]],["scroll-pt",["scroll-padding-top"]],["scroll-pr",["scroll-padding-right"]],["scroll-pb",["scroll-padding-bottom"]],["scroll-pl",["scroll-padding-left"]]]]),listStylePosition:({addUtilities:t})=>{t({".list-inside":{"list-style-position":"inside"},".list-outside":{"list-style-position":"outside"}})},listStyleType:oe("listStyleType",[["list",["listStyleType"]]]),listStyleImage:oe("listStyleImage",[["list-image",["listStyleImage"]]]),appearance:({addUtilities:t})=>{t({".appearance-none":{appearance:"none"}})},columns:oe("columns",[["columns",["columns"]]]),breakBefore:({addUtilities:t})=>{t({".break-before-auto":{"break-before":"auto"},".break-before-avoid":{"break-before":"avoid"},".break-before-all":{"break-before":"all"},".break-before-avoid-page":{"break-before":"avoid-page"},".break-before-page":{"break-before":"page"},".break-before-left":{"break-before":"left"},".break-before-right":{"break-before":"right"},".break-before-column":{"break-before":"column"}})},breakInside:({addUtilities:t})=>{t({".break-inside-auto":{"break-inside":"auto"},".break-inside-avoid":{"break-inside":"avoid"},".break-inside-avoid-page":{"break-inside":"avoid-page"},".break-inside-avoid-column":{"break-inside":"avoid-column"}})},breakAfter:({addUtilities:t})=>{t({".break-after-auto":{"break-after":"auto"},".break-after-avoid":{"break-after":"avoid"},".break-after-all":{"break-after":"all"},".break-after-avoid-page":{"break-after":"avoid-page"},".break-after-page":{"break-after":"page"},".break-after-left":{"break-after":"left"},".break-after-right":{"break-after":"right"},".break-after-column":{"break-after":"column"}})},gridAutoColumns:oe("gridAutoColumns",[["auto-cols",["gridAutoColumns"]]]),gridAutoFlow:({addUtilities:t})=>{t({".grid-flow-row":{gridAutoFlow:"row"},".grid-flow-col":{gridAutoFlow:"column"},".grid-flow-dense":{gridAutoFlow:"dense"},".grid-flow-row-dense":{gridAutoFlow:"row dense"},".grid-flow-col-dense":{gridAutoFlow:"column dense"}})},gridAutoRows:oe("gridAutoRows",[["auto-rows",["gridAutoRows"]]]),gridTemplateColumns:oe("gridTemplateColumns",[["grid-cols",["gridTemplateColumns"]]]),gridTemplateRows:oe("gridTemplateRows",[["grid-rows",["gridTemplateRows"]]]),flexDirection:({addUtilities:t})=>{t({".flex-row":{"flex-direction":"row"},".flex-row-reverse":{"flex-direction":"row-reverse"},".flex-col":{"flex-direction":"column"},".flex-col-reverse":{"flex-direction":"column-reverse"}})},flexWrap:({addUtilities:t})=>{t({".flex-wrap":{"flex-wrap":"wrap"},".flex-wrap-reverse":{"flex-wrap":"wrap-reverse"},".flex-nowrap":{"flex-wrap":"nowrap"}})},placeContent:({addUtilities:t})=>{t({".place-content-center":{"place-content":"center"},".place-content-start":{"place-content":"start"},".place-content-end":{"place-content":"end"},".place-content-between":{"place-content":"space-between"},".place-content-around":{"place-content":"space-around"},".place-content-evenly":{"place-content":"space-evenly"},".place-content-baseline":{"place-content":"baseline"},".place-content-stretch":{"place-content":"stretch"}})},placeItems:({addUtilities:t})=>{t({".place-items-start":{"place-items":"start"},".place-items-end":{"place-items":"end"},".place-items-center":{"place-items":"center"},".place-items-baseline":{"place-items":"baseline"},".place-items-stretch":{"place-items":"stretch"}})},alignContent:({addUtilities:t})=>{t({".content-normal":{"align-content":"normal"},".content-center":{"align-content":"center"},".content-start":{"align-content":"flex-start"},".content-end":{"align-content":"flex-end"},".content-between":{"align-content":"space-between"},".content-around":{"align-content":"space-around"},".content-evenly":{"align-content":"space-evenly"},".content-baseline":{"align-content":"baseline"},".content-stretch":{"align-content":"stretch"}})},alignItems:({addUtilities:t})=>{t({".items-start":{"align-items":"flex-start"},".items-end":{"align-items":"flex-end"},".items-center":{"align-items":"center"},".items-baseline":{"align-items":"baseline"},".items-stretch":{"align-items":"stretch"}})},justifyContent:({addUtilities:t})=>{t({".justify-normal":{"justify-content":"normal"},".justify-start":{"justify-content":"flex-start"},".justify-end":{"justify-content":"flex-end"},".justify-center":{"justify-content":"center"},".justify-between":{"justify-content":"space-between"},".justify-around":{"justify-content":"space-around"},".justify-evenly":{"justify-content":"space-evenly"},".justify-stretch":{"justify-content":"stretch"}})},justifyItems:({addUtilities:t})=>{t({".justify-items-start":{"justify-items":"start"},".justify-items-end":{"justify-items":"end"},".justify-items-center":{"justify-items":"center"},".justify-items-stretch":{"justify-items":"stretch"}})},gap:oe("gap",[["gap",["gap"]],[["gap-x",["columnGap"]],["gap-y",["rowGap"]]]]),space:({matchUtilities:t,addUtilities:e,theme:r})=>{t({"space-x":n=>(n=n==="0"?"0px":n,{"& > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"0","margin-right":`calc(${n} * var(--tw-space-x-reverse))`,"margin-left":`calc(${n} * calc(1 - var(--tw-space-x-reverse)))`}}),"space-y":n=>(n=n==="0"?"0px":n,{"& > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"0","margin-top":`calc(${n} * calc(1 - var(--tw-space-y-reverse)))`,"margin-bottom":`calc(${n} * var(--tw-space-y-reverse))`}})},{values:r("space"),supportsNegativeValues:!0}),e({".space-y-reverse > :not([hidden]) ~ :not([hidden])":{"--tw-space-y-reverse":"1"},".space-x-reverse > :not([hidden]) ~ :not([hidden])":{"--tw-space-x-reverse":"1"}})},divideWidth:({matchUtilities:t,addUtilities:e,theme:r})=>{t({"divide-x":n=>(n=n==="0"?"0px":n,{"& > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-x-reverse":"0","border-right-width":`calc(${n} * var(--tw-divide-x-reverse))`,"border-left-width":`calc(${n} * calc(1 - var(--tw-divide-x-reverse)))`}}),"divide-y":n=>(n=n==="0"?"0px":n,{"& > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-y-reverse":"0","border-top-width":`calc(${n} * calc(1 - var(--tw-divide-y-reverse)))`,"border-bottom-width":`calc(${n} * var(--tw-divide-y-reverse))`}})},{values:r("divideWidth"),type:["line-width","length","any"]}),e({".divide-y-reverse > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-y-reverse":"1"},".divide-x-reverse > :not([hidden]) ~ :not([hidden])":{"@defaults border-width":{},"--tw-divide-x-reverse":"1"}})},divideStyle:({addUtilities:t})=>{t({".divide-solid > :not([hidden]) ~ :not([hidden])":{"border-style":"solid"},".divide-dashed > :not([hidden]) ~ :not([hidden])":{"border-style":"dashed"},".divide-dotted > :not([hidden]) ~ :not([hidden])":{"border-style":"dotted"},".divide-double > :not([hidden]) ~ :not([hidden])":{"border-style":"double"},".divide-none > :not([hidden]) ~ :not([hidden])":{"border-style":"none"}})},divideColor:({matchUtilities:t,theme:e,corePlugins:r})=>{t({divide:n=>r("divideOpacity")?{"& > :not([hidden]) ~ :not([hidden])":Nt({color:n,property:"border-color",variable:"--tw-divide-opacity"})}:{"& > :not([hidden]) ~ :not([hidden])":{"border-color":Me(n)}}},{values:(({DEFAULT:n,...i})=>i)(yt(e("divideColor"))),type:["color","any"]})},divideOpacity:({matchUtilities:t,theme:e})=>{t({"divide-opacity":r=>({"& > :not([hidden]) ~ :not([hidden])":{"--tw-divide-opacity":r}})},{values:e("divideOpacity")})},placeSelf:({addUtilities:t})=>{t({".place-self-auto":{"place-self":"auto"},".place-self-start":{"place-self":"start"},".place-self-end":{"place-self":"end"},".place-self-center":{"place-self":"center"},".place-self-stretch":{"place-self":"stretch"}})},alignSelf:({addUtilities:t})=>{t({".self-auto":{"align-self":"auto"},".self-start":{"align-self":"flex-start"},".self-end":{"align-self":"flex-end"},".self-center":{"align-self":"center"},".self-stretch":{"align-self":"stretch"},".self-baseline":{"align-self":"baseline"}})},justifySelf:({addUtilities:t})=>{t({".justify-self-auto":{"justify-self":"auto"},".justify-self-start":{"justify-self":"start"},".justify-self-end":{"justify-self":"end"},".justify-self-center":{"justify-self":"center"},".justify-self-stretch":{"justify-self":"stretch"}})},overflow:({addUtilities:t})=>{t({".overflow-auto":{overflow:"auto"},".overflow-hidden":{overflow:"hidden"},".overflow-clip":{overflow:"clip"},".overflow-visible":{overflow:"visible"},".overflow-scroll":{overflow:"scroll"},".overflow-x-auto":{"overflow-x":"auto"},".overflow-y-auto":{"overflow-y":"auto"},".overflow-x-hidden":{"overflow-x":"hidden"},".overflow-y-hidden":{"overflow-y":"hidden"},".overflow-x-clip":{"overflow-x":"clip"},".overflow-y-clip":{"overflow-y":"clip"},".overflow-x-visible":{"overflow-x":"visible"},".overflow-y-visible":{"overflow-y":"visible"},".overflow-x-scroll":{"overflow-x":"scroll"},".overflow-y-scroll":{"overflow-y":"scroll"}})},overscrollBehavior:({addUtilities:t})=>{t({".overscroll-auto":{"overscroll-behavior":"auto"},".overscroll-contain":{"overscroll-behavior":"contain"},".overscroll-none":{"overscroll-behavior":"none"},".overscroll-y-auto":{"overscroll-behavior-y":"auto"},".overscroll-y-contain":{"overscroll-behavior-y":"contain"},".overscroll-y-none":{"overscroll-behavior-y":"none"},".overscroll-x-auto":{"overscroll-behavior-x":"auto"},".overscroll-x-contain":{"overscroll-behavior-x":"contain"},".overscroll-x-none":{"overscroll-behavior-x":"none"}})},scrollBehavior:({addUtilities:t})=>{t({".scroll-auto":{"scroll-behavior":"auto"},".scroll-smooth":{"scroll-behavior":"smooth"}})},textOverflow:({addUtilities:t})=>{t({".truncate":{overflow:"hidden","text-overflow":"ellipsis","white-space":"nowrap"},".overflow-ellipsis":{"text-overflow":"ellipsis"},".text-ellipsis":{"text-overflow":"ellipsis"},".text-clip":{"text-overflow":"clip"}})},hyphens:({addUtilities:t})=>{t({".hyphens-none":{hyphens:"none"},".hyphens-manual":{hyphens:"manual"},".hyphens-auto":{hyphens:"auto"}})},whitespace:({addUtilities:t})=>{t({".whitespace-normal":{"white-space":"normal"},".whitespace-nowrap":{"white-space":"nowrap"},".whitespace-pre":{"white-space":"pre"},".whitespace-pre-line":{"white-space":"pre-line"},".whitespace-pre-wrap":{"white-space":"pre-wrap"},".whitespace-break-spaces":{"white-space":"break-spaces"}})},wordBreak:({addUtilities:t})=>{t({".break-normal":{"overflow-wrap":"normal","word-break":"normal"},".break-words":{"overflow-wrap":"break-word"},".break-all":{"word-break":"break-all"},".break-keep":{"word-break":"keep-all"}})},borderRadius:oe("borderRadius",[["rounded",["border-radius"]],[["rounded-s",["border-start-start-radius","border-end-start-radius"]],["rounded-e",["border-start-end-radius","border-end-end-radius"]],["rounded-t",["border-top-left-radius","border-top-right-radius"]],["rounded-r",["border-top-right-radius","border-bottom-right-radius"]],["rounded-b",["border-bottom-right-radius","border-bottom-left-radius"]],["rounded-l",["border-top-left-radius","border-bottom-left-radius"]]],[["rounded-ss",["border-start-start-radius"]],["rounded-se",["border-start-end-radius"]],["rounded-ee",["border-end-end-radius"]],["rounded-es",["border-end-start-radius"]],["rounded-tl",["border-top-left-radius"]],["rounded-tr",["border-top-right-radius"]],["rounded-br",["border-bottom-right-radius"]],["rounded-bl",["border-bottom-left-radius"]]]]),borderWidth:oe("borderWidth",[["border",[["@defaults border-width",{}],"border-width"]],[["border-x",[["@defaults border-width",{}],"border-left-width","border-right-width"]],["border-y",[["@defaults border-width",{}],"border-top-width","border-bottom-width"]]],[["border-s",[["@defaults border-width",{}],"border-inline-start-width"]],["border-e",[["@defaults border-width",{}],"border-inline-end-width"]],["border-t",[["@defaults border-width",{}],"border-top-width"]],["border-r",[["@defaults border-width",{}],"border-right-width"]],["border-b",[["@defaults border-width",{}],"border-bottom-width"]],["border-l",[["@defaults border-width",{}],"border-left-width"]]]],{type:["line-width","length"]}),borderStyle:({addUtilities:t})=>{t({".border-solid":{"border-style":"solid"},".border-dashed":{"border-style":"dashed"},".border-dotted":{"border-style":"dotted"},".border-double":{"border-style":"double"},".border-hidden":{"border-style":"hidden"},".border-none":{"border-style":"none"}})},borderColor:({matchUtilities:t,theme:e,corePlugins:r})=>{t({border:n=>r("borderOpacity")?Nt({color:n,property:"border-color",variable:"--tw-border-opacity"}):{"border-color":Me(n)}},{values:(({DEFAULT:n,...i})=>i)(yt(e("borderColor"))),type:["color","any"]}),t({"border-x":n=>r("borderOpacity")?Nt({color:n,property:["border-left-color","border-right-color"],variable:"--tw-border-opacity"}):{"border-left-color":Me(n),"border-right-color":Me(n)},"border-y":n=>r("borderOpacity")?Nt({color:n,property:["border-top-color","border-bottom-color"],variable:"--tw-border-opacity"}):{"border-top-color":Me(n),"border-bottom-color":Me(n)}},{values:(({DEFAULT:n,...i})=>i)(yt(e("borderColor"))),type:["color","any"]}),t({"border-s":n=>r("borderOpacity")?Nt({color:n,property:"border-inline-start-color",variable:"--tw-border-opacity"}):{"border-inline-start-color":Me(n)},"border-e":n=>r("borderOpacity")?Nt({color:n,property:"border-inline-end-color",variable:"--tw-border-opacity"}):{"border-inline-end-color":Me(n)},"border-t":n=>r("borderOpacity")?Nt({color:n,property:"border-top-color",variable:"--tw-border-opacity"}):{"border-top-color":Me(n)},"border-r":n=>r("borderOpacity")?Nt({color:n,property:"border-right-color",variable:"--tw-border-opacity"}):{"border-right-color":Me(n)},"border-b":n=>r("borderOpacity")?Nt({color:n,property:"border-bottom-color",variable:"--tw-border-opacity"}):{"border-bottom-color":Me(n)},"border-l":n=>r("borderOpacity")?Nt({color:n,property:"border-left-color",variable:"--tw-border-opacity"}):{"border-left-color":Me(n)}},{values:(({DEFAULT:n,...i})=>i)(yt(e("borderColor"))),type:["color","any"]})},borderOpacity:oe("borderOpacity",[["border-opacity",["--tw-border-opacity"]]]),backgroundColor:({matchUtilities:t,theme:e,corePlugins:r})=>{t({bg:n=>r("backgroundOpacity")?Nt({color:n,property:"background-color",variable:"--tw-bg-opacity"}):{"background-color":Me(n)}},{values:yt(e("backgroundColor")),type:["color","any"]})},backgroundOpacity:oe("backgroundOpacity",[["bg-opacity",["--tw-bg-opacity"]]]),backgroundImage:oe("backgroundImage",[["bg",["background-image"]]],{type:["lookup","image","url"]}),gradientColorStops:(()=>{function t(e){return Ds(e,0,"rgb(255 255 255 / 0)")}return function({matchUtilities:e,theme:r,addDefaults:n}){n("gradient-color-stops",{"--tw-gradient-from-position":" ","--tw-gradient-via-position":" ","--tw-gradient-to-position":" "});let i={values:yt(r("gradientColorStops")),type:["color","any"]},s={values:r("gradientColorStopPositions"),type:["length","percentage"]};e({from:o=>{let a=t(o);return{"@defaults gradient-color-stops":{},"--tw-gradient-from":`${Me(o)} var(--tw-gradient-from-position)`,"--tw-gradient-to":`${a} var(--tw-gradient-to-position)`,"--tw-gradient-stops":"var(--tw-gradient-from), var(--tw-gradient-to)"}}},i),e({from:o=>({"--tw-gradient-from-position":o})},s),e({via:o=>{let a=t(o);return{"@defaults gradient-color-stops":{},"--tw-gradient-to":`${a} var(--tw-gradient-to-position)`,"--tw-gradient-stops":`var(--tw-gradient-from), ${Me(o)} var(--tw-gradient-via-position), var(--tw-gradient-to)`}}},i),e({via:o=>({"--tw-gradient-via-position":o})},s),e({to:o=>({"@defaults gradient-color-stops":{},"--tw-gradient-to":`${Me(o)} var(--tw-gradient-to-position)`})},i),e({to:o=>({"--tw-gradient-to-position":o})},s)}})(),boxDecorationBreak:({addUtilities:t})=>{t({".decoration-slice":{"box-decoration-break":"slice"},".decoration-clone":{"box-decoration-break":"clone"},".box-decoration-slice":{"box-decoration-break":"slice"},".box-decoration-clone":{"box-decoration-break":"clone"}})},backgroundSize:oe("backgroundSize",[["bg",["background-size"]]],{type:["lookup","length","percentage","size"]}),backgroundAttachment:({addUtilities:t})=>{t({".bg-fixed":{"background-attachment":"fixed"},".bg-local":{"background-attachment":"local"},".bg-scroll":{"background-attachment":"scroll"}})},backgroundClip:({addUtilities:t})=>{t({".bg-clip-border":{"background-clip":"border-box"},".bg-clip-padding":{"background-clip":"padding-box"},".bg-clip-content":{"background-clip":"content-box"},".bg-clip-text":{"background-clip":"text"}})},backgroundPosition:oe("backgroundPosition",[["bg",["background-position"]]],{type:["lookup",["position",{preferOnConflict:!0}]]}),backgroundRepeat:({addUtilities:t})=>{t({".bg-repeat":{"background-repeat":"repeat"},".bg-no-repeat":{"background-repeat":"no-repeat"},".bg-repeat-x":{"background-repeat":"repeat-x"},".bg-repeat-y":{"background-repeat":"repeat-y"},".bg-repeat-round":{"background-repeat":"round"},".bg-repeat-space":{"background-repeat":"space"}})},backgroundOrigin:({addUtilities:t})=>{t({".bg-origin-border":{"background-origin":"border-box"},".bg-origin-padding":{"background-origin":"padding-box"},".bg-origin-content":{"background-origin":"content-box"}})},fill:({matchUtilities:t,theme:e})=>{t({fill:r=>({fill:Me(r)})},{values:yt(e("fill")),type:["color","any"]})},stroke:({matchUtilities:t,theme:e})=>{t({stroke:r=>({stroke:Me(r)})},{values:yt(e("stroke")),type:["color","url","any"]})},strokeWidth:oe("strokeWidth",[["stroke",["stroke-width"]]],{type:["length","number","percentage"]}),objectFit:({addUtilities:t})=>{t({".object-contain":{"object-fit":"contain"},".object-cover":{"object-fit":"cover"},".object-fill":{"object-fit":"fill"},".object-none":{"object-fit":"none"},".object-scale-down":{"object-fit":"scale-down"}})},objectPosition:oe("objectPosition",[["object",["object-position"]]]),padding:oe("padding",[["p",["padding"]],[["px",["padding-left","padding-right"]],["py",["padding-top","padding-bottom"]]],[["ps",["padding-inline-start"]],["pe",["padding-inline-end"]],["pt",["padding-top"]],["pr",["padding-right"]],["pb",["padding-bottom"]],["pl",["padding-left"]]]]),textAlign:({addUtilities:t})=>{t({".text-left":{"text-align":"left"},".text-center":{"text-align":"center"},".text-right":{"text-align":"right"},".text-justify":{"text-align":"justify"},".text-start":{"text-align":"start"},".text-end":{"text-align":"end"}})},textIndent:oe("textIndent",[["indent",["text-indent"]]],{supportsNegativeValues:!0}),verticalAlign:({addUtilities:t,matchUtilities:e})=>{t({".align-baseline":{"vertical-align":"baseline"},".align-top":{"vertical-align":"top"},".align-middle":{"vertical-align":"middle"},".align-bottom":{"vertical-align":"bottom"},".align-text-top":{"vertical-align":"text-top"},".align-text-bottom":{"vertical-align":"text-bottom"},".align-sub":{"vertical-align":"sub"},".align-super":{"vertical-align":"super"}}),e({align:r=>({"vertical-align":r})})},fontFamily:({matchUtilities:t,theme:e})=>{t({font:r=>{let[n,i={}]=Array.isArray(r)&&vr(r[1])?r:[r],{fontFeatureSettings:s,fontVariationSettings:o}=i;return{"font-family":Array.isArray(n)?n.join(", "):n,...s===void 0?{}:{"font-feature-settings":s},...o===void 0?{}:{"font-variation-settings":o}}}},{values:e("fontFamily"),type:["lookup","generic-name","family-name"]})},fontSize:({matchUtilities:t,theme:e})=>{t({text:(r,{modifier:n})=>{let[i,s]=Array.isArray(r)?r:[r];if(n)return{"font-size":i,"line-height":n};let{lineHeight:o,letterSpacing:a,fontWeight:l}=vr(s)?s:{lineHeight:s};return{"font-size":i,...o===void 0?{}:{"line-height":o},...a===void 0?{}:{"letter-spacing":a},...l===void 0?{}:{"font-weight":l}}}},{values:e("fontSize"),modifiers:e("lineHeight"),type:["absolute-size","relative-size","length","percentage"]})},fontWeight:oe("fontWeight",[["font",["fontWeight"]]],{type:["lookup","number","any"]}),textTransform:({addUtilities:t})=>{t({".uppercase":{"text-transform":"uppercase"},".lowercase":{"text-transform":"lowercase"},".capitalize":{"text-transform":"capitalize"},".normal-case":{"text-transform":"none"}})},fontStyle:({addUtilities:t})=>{t({".italic":{"font-style":"italic"},".not-italic":{"font-style":"normal"}})},fontVariantNumeric:({addDefaults:t,addUtilities:e})=>{let r="var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)";t("font-variant-numeric",{"--tw-ordinal":" ","--tw-slashed-zero":" ","--tw-numeric-figure":" ","--tw-numeric-spacing":" ","--tw-numeric-fraction":" "}),e({".normal-nums":{"font-variant-numeric":"normal"},".ordinal":{"@defaults font-variant-numeric":{},"--tw-ordinal":"ordinal","font-variant-numeric":r},".slashed-zero":{"@defaults font-variant-numeric":{},"--tw-slashed-zero":"slashed-zero","font-variant-numeric":r},".lining-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-figure":"lining-nums","font-variant-numeric":r},".oldstyle-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-figure":"oldstyle-nums","font-variant-numeric":r},".proportional-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-spacing":"proportional-nums","font-variant-numeric":r},".tabular-nums":{"@defaults font-variant-numeric":{},"--tw-numeric-spacing":"tabular-nums","font-variant-numeric":r},".diagonal-fractions":{"@defaults font-variant-numeric":{},"--tw-numeric-fraction":"diagonal-fractions","font-variant-numeric":r},".stacked-fractions":{"@defaults font-variant-numeric":{},"--tw-numeric-fraction":"stacked-fractions","font-variant-numeric":r}})},lineHeight:oe("lineHeight",[["leading",["lineHeight"]]]),letterSpacing:oe("letterSpacing",[["tracking",["letterSpacing"]]],{supportsNegativeValues:!0}),textColor:({matchUtilities:t,theme:e,corePlugins:r})=>{t({text:n=>r("textOpacity")?Nt({color:n,property:"color",variable:"--tw-text-opacity"}):{color:Me(n)}},{values:yt(e("textColor")),type:["color","any"]})},textOpacity:oe("textOpacity",[["text-opacity",["--tw-text-opacity"]]]),textDecoration:({addUtilities:t})=>{t({".underline":{"text-decoration-line":"underline"},".overline":{"text-decoration-line":"overline"},".line-through":{"text-decoration-line":"line-through"},".no-underline":{"text-decoration-line":"none"}})},textDecorationColor:({matchUtilities:t,theme:e})=>{t({decoration:r=>({"text-decoration-color":Me(r)})},{values:yt(e("textDecorationColor")),type:["color","any"]})},textDecorationStyle:({addUtilities:t})=>{t({".decoration-solid":{"text-decoration-style":"solid"},".decoration-double":{"text-decoration-style":"double"},".decoration-dotted":{"text-decoration-style":"dotted"},".decoration-dashed":{"text-decoration-style":"dashed"},".decoration-wavy":{"text-decoration-style":"wavy"}})},textDecorationThickness:oe("textDecorationThickness",[["decoration",["text-decoration-thickness"]]],{type:["length","percentage"]}),textUnderlineOffset:oe("textUnderlineOffset",[["underline-offset",["text-underline-offset"]]],{type:["length","percentage","any"]}),fontSmoothing:({addUtilities:t})=>{t({".antialiased":{"-webkit-font-smoothing":"antialiased","-moz-osx-font-smoothing":"grayscale"},".subpixel-antialiased":{"-webkit-font-smoothing":"auto","-moz-osx-font-smoothing":"auto"}})},placeholderColor:({matchUtilities:t,theme:e,corePlugins:r})=>{t({placeholder:n=>r("placeholderOpacity")?{"&::placeholder":Nt({color:n,property:"color",variable:"--tw-placeholder-opacity"})}:{"&::placeholder":{color:Me(n)}}},{values:yt(e("placeholderColor")),type:["color","any"]})},placeholderOpacity:({matchUtilities:t,theme:e})=>{t({"placeholder-opacity":r=>({"&::placeholder":{"--tw-placeholder-opacity":r}})},{values:e("placeholderOpacity")})},caretColor:({matchUtilities:t,theme:e})=>{t({caret:r=>({"caret-color":Me(r)})},{values:yt(e("caretColor")),type:["color","any"]})},accentColor:({matchUtilities:t,theme:e})=>{t({accent:r=>({"accent-color":Me(r)})},{values:yt(e("accentColor")),type:["color","any"]})},opacity:oe("opacity",[["opacity",["opacity"]]]),backgroundBlendMode:({addUtilities:t})=>{t({".bg-blend-normal":{"background-blend-mode":"normal"},".bg-blend-multiply":{"background-blend-mode":"multiply"},".bg-blend-screen":{"background-blend-mode":"screen"},".bg-blend-overlay":{"background-blend-mode":"overlay"},".bg-blend-darken":{"background-blend-mode":"darken"},".bg-blend-lighten":{"background-blend-mode":"lighten"},".bg-blend-color-dodge":{"background-blend-mode":"color-dodge"},".bg-blend-color-burn":{"background-blend-mode":"color-burn"},".bg-blend-hard-light":{"background-blend-mode":"hard-light"},".bg-blend-soft-light":{"background-blend-mode":"soft-light"},".bg-blend-difference":{"background-blend-mode":"difference"},".bg-blend-exclusion":{"background-blend-mode":"exclusion"},".bg-blend-hue":{"background-blend-mode":"hue"},".bg-blend-saturation":{"background-blend-mode":"saturation"},".bg-blend-color":{"background-blend-mode":"color"},".bg-blend-luminosity":{"background-blend-mode":"luminosity"}})},mixBlendMode:({addUtilities:t})=>{t({".mix-blend-normal":{"mix-blend-mode":"normal"},".mix-blend-multiply":{"mix-blend-mode":"multiply"},".mix-blend-screen":{"mix-blend-mode":"screen"},".mix-blend-overlay":{"mix-blend-mode":"overlay"},".mix-blend-darken":{"mix-blend-mode":"darken"},".mix-blend-lighten":{"mix-blend-mode":"lighten"},".mix-blend-color-dodge":{"mix-blend-mode":"color-dodge"},".mix-blend-color-burn":{"mix-blend-mode":"color-burn"},".mix-blend-hard-light":{"mix-blend-mode":"hard-light"},".mix-blend-soft-light":{"mix-blend-mode":"soft-light"},".mix-blend-difference":{"mix-blend-mode":"difference"},".mix-blend-exclusion":{"mix-blend-mode":"exclusion"},".mix-blend-hue":{"mix-blend-mode":"hue"},".mix-blend-saturation":{"mix-blend-mode":"saturation"},".mix-blend-color":{"mix-blend-mode":"color"},".mix-blend-luminosity":{"mix-blend-mode":"luminosity"},".mix-blend-plus-lighter":{"mix-blend-mode":"plus-lighter"}})},boxShadow:(()=>{let t=Pf("boxShadow"),e=["var(--tw-ring-offset-shadow, 0 0 #0000)","var(--tw-ring-shadow, 0 0 #0000)","var(--tw-shadow)"].join(", ");return function({matchUtilities:r,addDefaults:n,theme:i}){n(" box-shadow",{"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000"}),r({shadow:s=>{s=t(s);let o=LS(s);for(let a of o)a.valid&&(a.color="var(--tw-shadow-color)");return{"@defaults box-shadow":{},"--tw-shadow":s==="none"?"0 0 #0000":s,"--tw-shadow-colored":s==="none"?"0 0 #0000":OU(o),"box-shadow":e}}},{values:i("boxShadow"),type:["shadow"]})}})(),boxShadowColor:({matchUtilities:t,theme:e})=>{t({shadow:r=>({"--tw-shadow-color":Me(r),"--tw-shadow":"var(--tw-shadow-colored)"})},{values:yt(e("boxShadowColor")),type:["color","any"]})},outlineStyle:({addUtilities:t})=>{t({".outline-none":{outline:"2px solid transparent","outline-offset":"2px"},".outline":{"outline-style":"solid"},".outline-dashed":{"outline-style":"dashed"},".outline-dotted":{"outline-style":"dotted"},".outline-double":{"outline-style":"double"}})},outlineWidth:oe("outlineWidth",[["outline",["outline-width"]]],{type:["length","number","percentage"]}),outlineOffset:oe("outlineOffset",[["outline-offset",["outline-offset"]]],{type:["length","number","percentage","any"],supportsNegativeValues:!0}),outlineColor:({matchUtilities:t,theme:e})=>{t({outline:r=>({"outline-color":Me(r)})},{values:yt(e("outlineColor")),type:["color","any"]})},ringWidth:({matchUtilities:t,addDefaults:e,addUtilities:r,theme:n,config:i})=>{let s=(()=>{if(ir(i(),"respectDefaultRingColorOpacity"))return n("ringColor.DEFAULT");let o=n("ringOpacity.DEFAULT","0.5");return n("ringColor")?.DEFAULT?Ds(n("ringColor")?.DEFAULT,o,`rgb(147 197 253 / ${o})`):`rgb(147 197 253 / ${o})`})();e("ring-width",{"--tw-ring-inset":" ","--tw-ring-offset-width":n("ringOffsetWidth.DEFAULT","0px"),"--tw-ring-offset-color":n("ringOffsetColor.DEFAULT","#fff"),"--tw-ring-color":s,"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000"}),t({ring:o=>({"@defaults ring-width":{},"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${o} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,"box-shadow":["var(--tw-ring-offset-shadow)","var(--tw-ring-shadow)","var(--tw-shadow, 0 0 #0000)"].join(", ")})},{values:n("ringWidth"),type:"length"}),r({".ring-inset":{"@defaults ring-width":{},"--tw-ring-inset":"inset"}})},ringColor:({matchUtilities:t,theme:e,corePlugins:r})=>{t({ring:n=>r("ringOpacity")?Nt({color:n,property:"--tw-ring-color",variable:"--tw-ring-opacity"}):{"--tw-ring-color":Me(n)}},{values:Object.fromEntries(Object.entries(yt(e("ringColor"))).filter(([n])=>n!=="DEFAULT")),type:["color","any"]})},ringOpacity:t=>{let{config:e}=t;return oe("ringOpacity",[["ring-opacity",["--tw-ring-opacity"]]],{filterDefault:!ir(e(),"respectDefaultRingColorOpacity")})(t)},ringOffsetWidth:oe("ringOffsetWidth",[["ring-offset",["--tw-ring-offset-width"]]],{type:"length"}),ringOffsetColor:({matchUtilities:t,theme:e})=>{t({"ring-offset":r=>({"--tw-ring-offset-color":Me(r)})},{values:yt(e("ringOffsetColor")),type:["color","any"]})},blur:({matchUtilities:t,theme:e})=>{t({blur:r=>({"--tw-blur":`blur(${r})`,"@defaults filter":{},filter:$r})},{values:e("blur")})},brightness:({matchUtilities:t,theme:e})=>{t({brightness:r=>({"--tw-brightness":`brightness(${r})`,"@defaults filter":{},filter:$r})},{values:e("brightness")})},contrast:({matchUtilities:t,theme:e})=>{t({contrast:r=>({"--tw-contrast":`contrast(${r})`,"@defaults filter":{},filter:$r})},{values:e("contrast")})},dropShadow:({matchUtilities:t,theme:e})=>{t({"drop-shadow":r=>({"--tw-drop-shadow":Array.isArray(r)?r.map(n=>`drop-shadow(${n})`).join(" "):`drop-shadow(${r})`,"@defaults filter":{},filter:$r})},{values:e("dropShadow")})},grayscale:({matchUtilities:t,theme:e})=>{t({grayscale:r=>({"--tw-grayscale":`grayscale(${r})`,"@defaults filter":{},filter:$r})},{values:e("grayscale")})},hueRotate:({matchUtilities:t,theme:e})=>{t({"hue-rotate":r=>({"--tw-hue-rotate":`hue-rotate(${r})`,"@defaults filter":{},filter:$r})},{values:e("hueRotate"),supportsNegativeValues:!0})},invert:({matchUtilities:t,theme:e})=>{t({invert:r=>({"--tw-invert":`invert(${r})`,"@defaults filter":{},filter:$r})},{values:e("invert")})},saturate:({matchUtilities:t,theme:e})=>{t({saturate:r=>({"--tw-saturate":`saturate(${r})`,"@defaults filter":{},filter:$r})},{values:e("saturate")})},sepia:({matchUtilities:t,theme:e})=>{t({sepia:r=>({"--tw-sepia":`sepia(${r})`,"@defaults filter":{},filter:$r})},{values:e("sepia")})},filter:({addDefaults:t,addUtilities:e})=>{t("filter",{"--tw-blur":" ","--tw-brightness":" ","--tw-contrast":" ","--tw-grayscale":" ","--tw-hue-rotate":" ","--tw-invert":" ","--tw-saturate":" ","--tw-sepia":" ","--tw-drop-shadow":" "}),e({".filter":{"@defaults filter":{},filter:$r},".filter-none":{filter:"none"}})},backdropBlur:({matchUtilities:t,theme:e})=>{t({"backdrop-blur":r=>({"--tw-backdrop-blur":`blur(${r})`,"@defaults backdrop-filter":{},"backdrop-filter":Ur})},{values:e("backdropBlur")})},backdropBrightness:({matchUtilities:t,theme:e})=>{t({"backdrop-brightness":r=>({"--tw-backdrop-brightness":`brightness(${r})`,"@defaults backdrop-filter":{},"backdrop-filter":Ur})},{values:e("backdropBrightness")})},backdropContrast:({matchUtilities:t,theme:e})=>{t({"backdrop-contrast":r=>({"--tw-backdrop-contrast":`contrast(${r})`,"@defaults backdrop-filter":{},"backdrop-filter":Ur})},{values:e("backdropContrast")})},backdropGrayscale:({matchUtilities:t,theme:e})=>{t({"backdrop-grayscale":r=>({"--tw-backdrop-grayscale":`grayscale(${r})`,"@defaults backdrop-filter":{},"backdrop-filter":Ur})},{values:e("backdropGrayscale")})},backdropHueRotate:({matchUtilities:t,theme:e})=>{t({"backdrop-hue-rotate":r=>({"--tw-backdrop-hue-rotate":`hue-rotate(${r})`,"@defaults backdrop-filter":{},"backdrop-filter":Ur})},{values:e("backdropHueRotate"),supportsNegativeValues:!0})},backdropInvert:({matchUtilities:t,theme:e})=>{t({"backdrop-invert":r=>({"--tw-backdrop-invert":`invert(${r})`,"@defaults backdrop-filter":{},"backdrop-filter":Ur})},{values:e("backdropInvert")})},backdropOpacity:({matchUtilities:t,theme:e})=>{t({"backdrop-opacity":r=>({"--tw-backdrop-opacity":`opacity(${r})`,"@defaults backdrop-filter":{},"backdrop-filter":Ur})},{values:e("backdropOpacity")})},backdropSaturate:({matchUtilities:t,theme:e})=>{t({"backdrop-saturate":r=>({"--tw-backdrop-saturate":`saturate(${r})`,"@defaults backdrop-filter":{},"backdrop-filter":Ur})},{values:e("backdropSaturate")})},backdropSepia:({matchUtilities:t,theme:e})=>{t({"backdrop-sepia":r=>({"--tw-backdrop-sepia":`sepia(${r})`,"@defaults backdrop-filter":{},"backdrop-filter":Ur})},{values:e("backdropSepia")})},backdropFilter:({addDefaults:t,addUtilities:e})=>{t("backdrop-filter",{"--tw-backdrop-blur":" ","--tw-backdrop-brightness":" ","--tw-backdrop-contrast":" ","--tw-backdrop-grayscale":" ","--tw-backdrop-hue-rotate":" ","--tw-backdrop-invert":" ","--tw-backdrop-opacity":" ","--tw-backdrop-saturate":" ","--tw-backdrop-sepia":" "}),e({".backdrop-filter":{"@defaults backdrop-filter":{},"backdrop-filter":Ur},".backdrop-filter-none":{"backdrop-filter":"none"}})},transitionProperty:({matchUtilities:t,theme:e})=>{let r=e("transitionTimingFunction.DEFAULT"),n=e("transitionDuration.DEFAULT");t({transition:i=>({"transition-property":i,...i==="none"?{}:{"transition-timing-function":r,"transition-duration":n}})},{values:e("transitionProperty")})},transitionDelay:oe("transitionDelay",[["delay",["transitionDelay"]]]),transitionDuration:oe("transitionDuration",[["duration",["transitionDuration"]]],{filterDefault:!0}),transitionTimingFunction:oe("transitionTimingFunction",[["ease",["transitionTimingFunction"]]],{filterDefault:!0}),willChange:oe("willChange",[["will-change",["will-change"]]]),content:oe("content",[["content",["--tw-content",["content","var(--tw-content)"]]]])};function ul(t){if(Array.isArray(t))return t;let e=t.split("[").length-1,r=t.split("]").length-1;if(e!==r)throw new Error(`Path is invalid. Has unbalanced brackets: ${t}`);return t.split(/\.(?![^\[]*\])|[\[\]]/g).filter(Boolean)}var HS=new Map([["{","}"],["[","]"],["(",")"]]),y3=new Map(Array.from(HS.entries()).map(([t,e])=>[e,t])),kB=new Set(['"',"'","`"]);function zm(t){let e=[],r=!1;for(let n=0;n<t.length;n++){let i=t[n];if(i===":"&&!r&&e.length===0)return!1;if(kB.has(i)&&t[n-1]!=="\\"&&(r=!r),!r&&t[n-1]!=="\\"){if(HS.has(i))e.push(i);else if(y3.has(i)){let s=y3.get(i);if(e.length<=0||e.pop()!==s)return!1}}}return!(e.length>0)}function x3(t){return(t>0n)-(t<0n)}function AB(t,e){let r=0n,n=0n;for(let[i,s]of e)t&i&&(r=r|i,n=n|s);return t&~r|n}var LB=class{constructor(){this.offsets={defaults:0n,base:0n,components:0n,utilities:0n,variants:0n,user:0n},this.layerPositions={defaults:0n,base:1n,components:2n,utilities:3n,user:4n,variants:5n},this.reservedVariantBits=0n,this.variantOffsets=new Map}create(t){return{layer:t,parentLayer:t,arbitrary:0n,variants:0n,parallelIndex:0n,index:this.offsets[t]++,options:[]}}arbitraryProperty(){return{...this.create("utilities"),arbitrary:1n}}forVariant(t,e=0){let r=this.variantOffsets.get(t);if(r===void 0)throw new Error(`Cannot find offset for unknown variant ${t}`);return{...this.create("variants"),variants:r<<BigInt(e)}}applyVariantOffset(t,e,r){return r.variant=e.variants,{...t,layer:"variants",parentLayer:t.layer==="variants"?t.parentLayer:t.layer,variants:t.variants|e.variants,options:r.sort?[].concat(r,t.options):t.options,parallelIndex:S3([t.parallelIndex,e.parallelIndex])}}applyParallelOffset(t,e){return{...t,parallelIndex:BigInt(e)}}recordVariants(t,e){for(let r of t)this.recordVariant(r,e(r))}recordVariant(t,e=1){return this.variantOffsets.set(t,1n<<this.reservedVariantBits),this.reservedVariantBits+=BigInt(e),{...this.create("variants"),variants:this.variantOffsets.get(t)}}compare(t,e){if(t.layer!==e.layer)return this.layerPositions[t.layer]-this.layerPositions[e.layer];if(t.parentLayer!==e.parentLayer)return this.layerPositions[t.parentLayer]-this.layerPositions[e.parentLayer];for(let r of t.options)for(let n of e.options){if(r.id!==n.id||!r.sort||!n.sort)continue;let i=S3([r.variant,n.variant])??0n,s=~(i|i-1n),o=t.variants&s,a=e.variants&s;if(o!==a)continue;let l=r.sort({value:r.value,modifier:r.modifier},{value:n.value,modifier:n.modifier});if(l!==0)return l}return t.variants!==e.variants?t.variants-e.variants:t.parallelIndex!==e.parallelIndex?t.parallelIndex-e.parallelIndex:t.arbitrary!==e.arbitrary?t.arbitrary-e.arbitrary:t.index-e.index}recalculateVariantOffsets(){let t=Array.from(this.variantOffsets.entries()).filter(([n])=>n.startsWith("[")).sort(([n],[i])=>RB(n,i)),e=t.map(([,n])=>n).sort((n,i)=>x3(n-i));return t.map(([,n],i)=>[n,e[i]]).filter(([n,i])=>n!==i)}remapArbitraryVariantOffsets(t){let e=this.recalculateVariantOffsets();return e.length===0?t:t.map(r=>{let[n,i]=r;return n={...n,variants:AB(n.variants,e)},[n,i]})}sort(t){return t=this.remapArbitraryVariantOffsets(t),t.sort(([e],[r])=>x3(this.compare(e,r)))}};function S3(t){let e=null;for(let r of t)e=e??r,e=e>r?e:r;return e}function RB(t,e){let r=t.length,n=e.length,i=r<n?r:n;for(let s=0;s<i;s++){let o=t.charCodeAt(s)-e.charCodeAt(s);if(o!==0)return o}return r-n}var vg=Symbol(),Sm={AddVariant:Symbol.for("ADD_VARIANT"),MatchVariant:Symbol.for("MATCH_VARIANT")},jm={Base:1,Dynamic:2};function _m(t,e){let r=t.tailwindConfig.prefix;return typeof r=="function"?r(e):r+e}function _3({type:t="any",...e}){let r=[].concat(t);return{...e,types:r.map(n=>Array.isArray(n)?{type:n[0],...n[1]}:{type:n,preferOnConflict:!1})}}function TB(t){let e=[],r="",n=0;for(let i=0;i<t.length;i++){let s=t[i];if(s==="\\")r+="\\"+t[++i];else if(s==="{")++n,e.push(r.trim()),r="";else if(s==="}"){if(--n<0)throw new Error("Your { and } are unbalanced.");e.push(r.trim()),r=""}else r+=s}return r.length>0&&e.push(r.trim()),e=e.filter(i=>i!==""),e}function NB(t,e,{before:r=[]}={}){if(r=[].concat(r),r.length<=0){t.push(e);return}let n=t.length-1;for(let i of r){let s=t.indexOf(i);s!==-1&&(n=Math.min(n,s))}t.splice(n,0,e)}function GS(t){return Array.isArray(t)?t.flatMap(e=>!Array.isArray(e)&&!vr(e)?e:ag(e)):GS([t])}function MB(t,e){return(0,bg.default)(n=>{let i=[];return e&&e(n),n.walkClasses(s=>{i.push(s.value)}),i}).transformSync(t)}function OB(t){t.walkPseudos(e=>{e.value===":not"&&e.remove()})}function PB(t,e={containsNonOnDemandable:!1},r=0){let n=[],i=[];t.type==="rule"?i.push(...t.selectors):t.type==="atrule"&&t.walkRules(s=>i.push(...s.selectors));for(let s of i){let o=MB(s,OB);o.length===0&&(e.containsNonOnDemandable=!0);for(let a of o)n.push(a)}return r===0?[e.containsNonOnDemandable||n.length===0,n]:n}function rf(t){return GS(t).flatMap(e=>{let r=new Map,[n,i]=PB(e);return n&&i.unshift(Fs),i.map(s=>(r.has(e)||r.set(e,e),[s,r.get(e)]))})}function Vm(t){return t.startsWith("@")||t.includes("&")}function cf(t){t=t.replace(/\n+/g,"").replace(/\s{1,}/g," ").trim();let e=TB(t).map(r=>{if(!r.startsWith("@"))return({format:s})=>s(r);let[,n,i]=/@(\S*)( .+|[({].*)?/g.exec(r);return({wrap:s})=>s(_e.atRule({name:n,params:i?.trim()??""}))}).reverse();return r=>{for(let n of e)n(r)}}function IB(t,e,{variantList:r,variantMap:n,offsets:i,classList:s}){function o(h,g){return h?(0,VS.default)(t,h,g):t}function a(h){return lg(t.prefix,h)}function l(h,g){return h===Fs?Fs:g.respectPrefix?e.tailwindConfig.prefix+h:h}function u(h,g,y={}){let S=ul(h),x=o(["theme",...S],g);return Pf(S[0])(x,y)}let c=0,f={postcss:_e,prefix:a,e:Gn,config:o,theme:u,corePlugins:h=>Array.isArray(t.corePlugins)?t.corePlugins.includes(h):o(["corePlugins",h],!0),variants:()=>[],addBase(h){for(let[g,y]of rf(h)){let S=l(g,{}),x=i.create("base");e.candidateRuleMap.has(S)||e.candidateRuleMap.set(S,[]),e.candidateRuleMap.get(S).push([{sort:x,layer:"base"},y])}},addDefaults(h,g){let y={[`@defaults ${h}`]:g};for(let[S,x]of rf(y)){let _=l(S,{});e.candidateRuleMap.has(_)||e.candidateRuleMap.set(_,[]),e.candidateRuleMap.get(_).push([{sort:i.create("defaults"),layer:"defaults"},x])}},addComponents(h,g){g=Object.assign({},{preserveSource:!1,respectPrefix:!0,respectImportant:!1},Array.isArray(g)?{}:g);for(let[S,x]of rf(h)){let _=l(S,g);s.add(_),e.candidateRuleMap.has(_)||e.candidateRuleMap.set(_,[]),e.candidateRuleMap.get(_).push([{sort:i.create("components"),layer:"components",options:g},x])}},addUtilities(h,g){g=Object.assign({},{preserveSource:!1,respectPrefix:!0,respectImportant:!0},Array.isArray(g)?{}:g);for(let[S,x]of rf(h)){let _=l(S,g);s.add(_),e.candidateRuleMap.has(_)||e.candidateRuleMap.set(_,[]),e.candidateRuleMap.get(_).push([{sort:i.create("utilities"),layer:"utilities",options:g},x])}},matchUtilities:function(h,g){g=_3({...{respectPrefix:!0,respectImportant:!0,modifiers:!1},...g});let S=i.create("utilities");for(let x in h){let _=function(L,{isOnlyPlugin:P}){let[D,$,Q]=p3(g.types,L,g,t);if(D===void 0)return[];if(!g.types.some(({type:G})=>G===$))if(P)ft.warn([`Unnecessary typehint \`${$}\` in \`${x}-${L}\`.`,`You can safely update it to \`${x}-${L.replace($+":","")}\`.`]);else return[];if(!zm(D))return[];let O={get modifier(){return g.modifiers||ft.warn(`modifier-used-without-options-for-${x}`,["Your plugin must set `modifiers: true` in its options to support modifiers."]),Q}},I=ir(t,"generalizedModifiers");return[].concat(I?T(D,O):T(D)).filter(Boolean).map(G=>({[b3(x,L)]:G}))},k=l(x,g),T=h[x];s.add([k,g]);let N=[{sort:S,layer:"utilities",options:g},_];e.candidateRuleMap.has(k)||e.candidateRuleMap.set(k,[]),e.candidateRuleMap.get(k).push(N)}},matchComponents:function(h,g){g=_3({...{respectPrefix:!0,respectImportant:!1,modifiers:!1},...g});let S=i.create("components");for(let x in h){let _=function(L,{isOnlyPlugin:P}){let[D,$,Q]=p3(g.types,L,g,t);if(D===void 0)return[];if(!g.types.some(({type:G})=>G===$))if(P)ft.warn([`Unnecessary typehint \`${$}\` in \`${x}-${L}\`.`,`You can safely update it to \`${x}-${L.replace($+":","")}\`.`]);else return[];if(!zm(D))return[];let O={get modifier(){return g.modifiers||ft.warn(`modifier-used-without-options-for-${x}`,["Your plugin must set `modifiers: true` in its options to support modifiers."]),Q}},I=ir(t,"generalizedModifiers");return[].concat(I?T(D,O):T(D)).filter(Boolean).map(G=>({[b3(x,L)]:G}))},k=l(x,g),T=h[x];s.add([k,g]);let N=[{sort:S,layer:"components",options:g},_];e.candidateRuleMap.has(k)||e.candidateRuleMap.set(k,[]),e.candidateRuleMap.get(k).push(N)}},addVariant(h,g,y={}){g=[].concat(g).map(S=>{if(typeof S!="string")return(x={})=>{let{args:_,modifySelectors:k,container:T,separator:N,wrap:L,format:P}=x,D=S(Object.assign({modifySelectors:k,container:T,separator:N},y.type===Sm.MatchVariant&&{args:_,wrap:L,format:P}));if(typeof D=="string"&&!Vm(D))throw new Error(`Your custom variant \`${h}\` has an invalid format string. Make sure it's an at-rule or contains a \`&\` placeholder.`);return Array.isArray(D)?D.filter($=>typeof $=="string").map($=>cf($)):D&&typeof D=="string"&&cf(D)(x)};if(!Vm(S))throw new Error(`Your custom variant \`${h}\` has an invalid format string. Make sure it's an at-rule or contains a \`&\` placeholder.`);return cf(S)}),NB(r,h,y),n.set(h,g),e.variantOptions.set(h,y)},matchVariant(h,g,y){let S=y?.id??++c,x=h==="@",_=ir(t,"generalizedModifiers");for(let[T,N]of Object.entries(y?.values??{}))T!=="DEFAULT"&&f.addVariant(x?`${h}${T}`:`${h}-${T}`,({args:L,container:P})=>g(N,_?{modifier:L?.modifier,container:P}:{container:P}),{...y,value:N,id:S,type:Sm.MatchVariant,variantInfo:jm.Base});let k="DEFAULT"in(y?.values??{});f.addVariant(h,({args:T,container:N})=>T?.value===Fm&&!k?null:g(T?.value===Fm?y.values.DEFAULT:T?.value??(typeof T=="string"?T:""),_?{modifier:T?.modifier,container:N}:{container:N}),{...y,id:S,type:Sm.MatchVariant,variantInfo:jm.Dynamic})}};return f}function XS(t){t.walkAtRules(e=>{["responsive","variants"].includes(e.name)&&(XS(e),e.before(e.nodes),e.remove())})}function DB(t){let e=[];return t.each(r=>{r.type==="atrule"&&["responsive","variants"].includes(r.name)&&(r.name="layer",r.params="utilities")}),t.walkAtRules("layer",r=>{if(XS(r),r.params==="base"){for(let n of r.nodes)e.push(function({addBase:i}){i(n,{respectPrefix:!1})});r.remove()}else if(r.params==="components"){for(let n of r.nodes)e.push(function({addComponents:i}){i(n,{respectPrefix:!1,preserveSource:!0})});r.remove()}else if(r.params==="utilities"){for(let n of r.nodes)e.push(function({addUtilities:i}){i(n,{respectPrefix:!1,preserveSource:!0})});r.remove()}}),e}function FB(t,e){let r=Object.entries({...zt,...EB}).map(([a,l])=>t.tailwindConfig.corePlugins.includes(a)?l:null).filter(Boolean),n=t.tailwindConfig.plugins.map(a=>(a.__isOptionsFunction&&(a=a()),typeof a=="function"?a:a.handler)),i=DB(e),s=[zt.pseudoElementVariants,zt.pseudoClassVariants,zt.ariaVariants,zt.dataVariants],o=[zt.supportsVariants,zt.directionVariants,zt.reducedMotionVariants,zt.prefersContrastVariants,zt.darkVariants,zt.printVariant,zt.screenVariants,zt.orientationVariants];return[...r,...s,...n,...o,...i]}function $B(t,e){let r=[],n=new Map;e.variantMap=n;let i=new LB;e.offsets=i;let s=new Set,o=IB(e.tailwindConfig,e,{variantList:r,variantMap:n,offsets:i,classList:s});for(let c of t)if(Array.isArray(c))for(let f of c)f(o);else c?.(o);i.recordVariants(r,c=>n.get(c).length);for(let[c,f]of n.entries())e.variantMap.set(c,f.map((h,g)=>[i.forVariant(c,g),h]));let a=(e.tailwindConfig.safelist??[]).filter(Boolean);if(a.length>0){let c=[];for(let f of a){if(typeof f=="string"){e.changedContent.push({content:f,extension:"html"});continue}if(f instanceof RegExp){ft.warn("root-regex",["Regular expressions in `safelist` work differently in Tailwind CSS v3.0.","Update your `safelist` configuration to eliminate this warning.","https://tailwindcss.com/docs/content-configuration#safelisting-classes"]);continue}c.push(f)}if(c.length>0){let f=new Map,h=e.tailwindConfig.prefix.length,g=c.some(y=>y.pattern.source.includes("!"));for(let y of s){let S=Array.isArray(y)?(()=>{let[x,_]=y,T=Object.keys(_?.values??{}).map(N=>uf(x,N));return _?.supportsNegativeValues&&(T=[...T,...T.map(N=>"-"+N)],T=[...T,...T.map(N=>N.slice(0,h)+"-"+N.slice(h))]),_.types.some(({type:N})=>N==="color")&&(T=[...T,...T.flatMap(N=>Object.keys(e.tailwindConfig.theme.opacity).map(L=>`${N}/${L}`))]),g&&_?.respectImportant&&(T=[...T,...T.map(N=>"!"+N)]),T})():[y];for(let x of S)for(let{pattern:_,variants:k=[]}of c)if(_.lastIndex=0,f.has(_)||f.set(_,0),!!_.test(x)){f.set(_,f.get(_)+1),e.changedContent.push({content:x,extension:"html"});for(let T of k)e.changedContent.push({content:T+e.tailwindConfig.separator+x,extension:"html"})}}for(let[y,S]of f.entries())S===0&&ft.warn([`The safelist pattern \`${y}\` doesn't match any Tailwind CSS classes.`,"Fix this pattern or remove it from your `safelist` configuration.","https://tailwindcss.com/docs/content-configuration#safelisting-classes"])}}let l=[].concat(e.tailwindConfig.darkMode??"media")[1]??"dark",u=[_m(e,l),_m(e,"group"),_m(e,"peer")];e.getClassOrder=function(f){let h=[...f].sort((x,_)=>x===_?0:x<_?-1:1),g=new Map(h.map(x=>[x,null])),y=wg(new Set(h),e,!0);y=e.offsets.sort(y);let S=BigInt(u.length);for(let[,x]of y){let _=x.raws.tailwind.candidate;g.set(_,g.get(_)??S++)}return f.map(x=>{let _=g.get(x)??null,k=u.indexOf(x);return _===null&&k!==-1&&(_=BigInt(k)),[x,_]})},e.getClassList=function(f={}){let h=[];for(let g of s)if(Array.isArray(g)){let[y,S]=g,x=[],_=Object.keys(S?.modifiers??{});S?.types?.some(({type:N})=>N==="color")&&_.push(...Object.keys(e.tailwindConfig.theme.opacity??{}));let k={modifiers:_},T=f.includeMetadata&&_.length>0;for(let[N,L]of Object.entries(S?.values??{})){if(L==null)continue;let P=uf(y,N);if(h.push(T?[P,k]:P),S?.supportsNegativeValues&&xf(L)){let D=uf(y,`-${N}`);x.push(T?[D,k]:D)}}h.push(...x)}else h.push(g);return h},e.getVariants=function(){let f=[];for(let[h,g]of e.variantOptions.entries())g.variantInfo!==jm.Base&&f.push({name:h,isArbitrary:g.type===Symbol.for("MATCH_VARIANT"),values:Object.keys(g.values??{}),hasDash:h!=="@",selectors({modifier:y,value:S}={}){let x="__TAILWIND_PLACEHOLDER__",_=_e.rule({selector:`.${x}`}),k=_e.root({nodes:[_.clone()]}),T=k.toString(),N=(e.variantMap.get(h)??[]).flatMap(([G,j])=>j),L=[];for(let G of N){let j=[],U={args:{modifier:y,value:g.values?.[S]??S},separator:e.tailwindConfig.separator,modifySelectors(H){return k.each(Y=>{Y.type==="rule"&&(Y.selectors=Y.selectors.map(te=>H({get className(){return JS(te)},selector:te})))}),k},format(H){j.push(H)},wrap(H){j.push(`@${H.name} ${H.params} { & }`)},container:k},W=G(U);if(j.length>0&&L.push(j),Array.isArray(W))for(let H of W)j=[],H(U),L.push(j)}let P=[],D=k.toString();T!==D&&(k.walkRules(G=>{let j=G.selector,U=(0,bg.default)(W=>{W.walkClasses(H=>{H.value=`${h}${e.tailwindConfig.separator}${H.value}`})}).processSync(j);P.push(j.replace(U,"&").replace(x,"&"))}),k.walkAtRules(G=>{P.push(`@${G.name} (${G.params}) { & }`)}));let $=!(S in(g.values??{})),Q=g[vg]??{},O=!($||Q.respectPrefix===!1);L=L.map(G=>G.map(j=>({format:j,respectPrefix:O}))),P=P.map(G=>({format:G,respectPrefix:O}));let I={candidate:x,context:e},z=L.map(G=>qS(`.${x}`,_f(G,I),I).replace(`.${x}`,"&").replace("{ & }","").trim());return P.length>0&&z.push(_f(P,I).toString().replace(`.${x}`,"&")),z}});return f}}function QS(t,e){t.classCache.has(e)&&(t.notClassCache.add(e),t.classCache.delete(e),t.applyClassCache.delete(e),t.candidateRuleMap.delete(e),t.candidateRuleCache.delete(e),t.stylesheetCache=null)}function UB(t,e){let r=e.raws.tailwind.candidate;if(r){for(let n of t.ruleCache)n[1].raws.tailwind.candidate===r&&t.ruleCache.delete(n);QS(t,r)}}function Wm(t,e=[],r=_e.root()){let n={disposables:[],ruleCache:new Set,candidateRuleCache:new Map,classCache:new Map,applyClassCache:new Map,notClassCache:new Set(t.blocklist??[]),postCssNodeCache:new Map,candidateRuleMap:new Map,tailwindConfig:t,changedContent:e,variantMap:new Map,stylesheetCache:null,variantOptions:new Map,markInvalidUtilityCandidate:s=>QS(n,s),markInvalidUtilityNode:s=>UB(n,s)},i=FB(n,r);return $B(i,n),n}function YS(t,e){let r=(0,Hm.default)().astSync(t);return r.each(n=>{n.nodes[0].type==="pseudo"&&n.nodes[0].value===":is"&&n.nodes.every(s=>s.type!=="combinator")||(n.nodes=[Hm.default.pseudo({value:":is",nodes:[n.clone()]})]),mg(n)}),`${e} ${r.toString()}`}var BB=(0,Mf.default)(t=>t.first.filter(({type:e})=>e==="class").pop().value);function JS(t){return BB.transformSync(t)}function*qB(t){let e=1/0;for(;e>=0;){let r,n=!1;if(e===1/0&&t.endsWith("]")){let o=t.indexOf("[");t[o-1]==="-"?r=o-1:t[o-1]==="/"?(r=o-1,n=!0):r=-1}else e===1/0&&t.includes("/")?(r=t.lastIndexOf("/"),n=!0):r=t.lastIndexOf("-",e);if(r<0)break;let i=t.slice(0,r),s=t.slice(n?r:r+1);e=r-1,!(i===""||s==="/")&&(yield[i,s])}}function zB(t,e){if(t.length===0||e.tailwindConfig.prefix==="")return t;for(let r of t){let[n]=r;if(n.options.respectPrefix){let i=_e.root({nodes:[r[1].clone()]}),s=r[1].raws.tailwind.classCandidate;i.walkRules(o=>{let a=s.startsWith("-");o.selector=lg(e.tailwindConfig.prefix,o.selector,a)}),r[1]=i.nodes[0]}}return t}function jB(t,e){if(t.length===0)return t;let r=[];for(let[n,i]of t){let s=_e.root({nodes:[i.clone()]});s.walkRules(o=>{let a=(0,Mf.default)().astSync(o.selector);a.each(l=>BS(l,e)),rB(a,l=>l===e?`!${l}`:l),o.selector=a.toString(),o.walkDecls(l=>l.important=!0)}),r.push([{...n,important:!0},s.nodes[0]])}return r}function VB(t,e,r){if(e.length===0)return e;let n={modifier:null,value:Fm};{let[i,...s]=wr(t,"/");if(s.length>1&&(i=i+"/"+s.slice(0,-1).join("/"),s=s.slice(-1)),s.length&&!r.variantMap.has(t)&&(t=i,n.modifier=s[0],!ir(r.tailwindConfig,"generalizedModifiers")))return[]}if(t.endsWith("]")&&!t.startsWith("[")){let i=/(.)(-?)\[(.*)\]/g.exec(t);if(i){let[,s,o,a]=i;if(s==="@"&&o==="-")return[];if(s!=="@"&&o==="")return[];t=t.replace(`${o}[${a}]`,""),n.value=a}}if(Xm(t)&&!r.variantMap.has(t)){let i=r.offsets.recordVariant(t),s=Qe(t.slice(1,-1)),o=wr(s,",");if(o.length>1)return[];if(!o.every(Vm))return[];let a=o.map((l,u)=>[r.offsets.applyParallelOffset(i,u),cf(l.trim())]);r.variantMap.set(t,a)}if(r.variantMap.has(t)){let i=Xm(t),s=r.variantOptions.get(t)?.[vg]??{},o=r.variantMap.get(t).slice(),a=[],l=!(i||s.respectPrefix===!1);for(let[u,c]of e){if(u.layer==="user")continue;let f=_e.root({nodes:[c.clone()]});for(let[h,g,y]of o){let S=function(){_.raws.neededBackup||(_.raws.neededBackup=!0,_.walkRules(L=>L.raws.originalSelector=L.selector))},x=function(L){return S(),_.each(P=>{P.type==="rule"&&(P.selectors=P.selectors.map(D=>L({get className(){return JS(D)},selector:D})))}),_},_=(y??f).clone(),k=[],T=g({get container(){return S(),_},separator:r.tailwindConfig.separator,modifySelectors:x,wrap(L){let P=_.nodes;_.removeAll(),L.append(P),_.append(L)},format(L){k.push({format:L,respectPrefix:l})},args:n});if(Array.isArray(T)){for(let[L,P]of T.entries())o.push([r.offsets.applyParallelOffset(h,L),P,_.clone()]);continue}if(typeof T=="string"&&k.push({format:T,respectPrefix:l}),T===null)continue;_.raws.neededBackup&&(delete _.raws.neededBackup,_.walkRules(L=>{let P=L.raws.originalSelector;if(!P||(delete L.raws.originalSelector,P===L.selector))return;let D=L.selector,$=(0,Mf.default)(Q=>{Q.walkClasses(O=>{O.value=`${t}${r.tailwindConfig.separator}${O.value}`})}).processSync(P);k.push({format:D.replace($,"&"),respectPrefix:l}),L.selector=P})),_.nodes[0].raws.tailwind={..._.nodes[0].raws.tailwind,parentLayer:u.layer};let N=[{...u,sort:r.offsets.applyVariantOffset(u.sort,h,Object.assign(n,r.variantOptions.get(t))),collectedFormats:(u.collectedFormats??[]).concat(k)},_.nodes[0]];a.push(N)}}return a}return[]}function Gm(t,e,r={}){return!vr(t)&&!Array.isArray(t)?[[t],r]:Array.isArray(t)?Gm(t[0],e,t[1]):(e.has(t)||e.set(t,ag(t)),[e.get(t),r])}var WB=/^[a-z_-]/;function HB(t){return WB.test(t)}function GB(t){if(!t.includes("://"))return!1;try{let e=new URL(t);return e.scheme!==""&&e.host!==""}catch{return!1}}function C3(t){let e=!0;return t.walkDecls(r=>{if(!ZS(r.prop,r.value))return e=!1,!1}),e}function ZS(t,e){if(GB(`${t}:${e}`))return!1;try{return _e.parse(`a{${t}:${e}}`).toResult(),!0}catch{return!1}}function XB(t,e){let[,r,n]=t.match(/^\[([a-zA-Z0-9-_]+):(\S+)\]$/)??[];if(n===void 0||!HB(r)||!zm(n))return null;let i=Qe(n,{property:r});return ZS(r,i)?[[{sort:e.offsets.arbitraryProperty(),layer:"utilities"},()=>({[zS(t)]:{[r]:i}})]]:null}function*QB(t,e){e.candidateRuleMap.has(t)&&(yield[e.candidateRuleMap.get(t),"DEFAULT"]),yield*function*(a){a!==null&&(yield[a,"DEFAULT"])}(XB(t,e));let r=t,n=!1,i=e.tailwindConfig.prefix,s=i.length,o=r.startsWith(i)||r.startsWith(`-${i}`);r[s]==="-"&&o&&(n=!0,r=i+r.slice(s+1)),n&&e.candidateRuleMap.has(r)&&(yield[e.candidateRuleMap.get(r),"-DEFAULT"]);for(let[a,l]of qB(r))e.candidateRuleMap.has(a)&&(yield[e.candidateRuleMap.get(a),n?`-${l}`:l])}function YB(t,e){return t===Fs?[Fs]:wr(t,e)}function*JB(t,e){for(let r of t)r[1].raws.tailwind={...r[1].raws.tailwind,classCandidate:e,preserveSource:r[0].options?.preserveSource??!1},yield r}function*KS(t,e){let r=e.tailwindConfig.separator,[n,...i]=YB(t,r).reverse(),s=!1;n.startsWith("!")&&(s=!0,n=n.slice(1));for(let o of QB(n,e)){let a=[],l=new Map,[u,c]=o,f=u.length===1;for(let[h,g]of u){let y=[];if(typeof g=="function")for(let S of[].concat(g(c,{isOnlyPlugin:f}))){let[x,_]=Gm(S,e.postCssNodeCache);for(let k of x)y.push([{...h,options:{...h.options,..._}},k])}else if(c==="DEFAULT"||c==="-DEFAULT"){let S=g,[x,_]=Gm(S,e.postCssNodeCache);for(let k of x)y.push([{...h,options:{...h.options,..._}},k])}if(y.length>0){let S=Array.from(PS(h.options?.types??[],c,h.options??{},e.tailwindConfig)).map(([x,_])=>_);S.length>0&&l.set(y,S),a.push(y)}}if(Xm(c)){if(a.length>1){let h=function(x){return x.length===1?x[0]:x.find(_=>{let k=l.get(_);return _.some(([{options:T},N])=>C3(N)?T.types.some(({type:L,preferOnConflict:P})=>k.includes(L)&&P):!1)})},[g,y]=a.reduce((x,_)=>(_.some(([{options:T}])=>T.types.some(({type:N})=>N==="any"))?x[0].push(_):x[1].push(_),x),[[],[]]),S=h(y)??h(g);if(S)a=[S];else{let x=a.map(k=>new Set([...l.get(k)??[]]));for(let k of x)for(let T of k){let N=!1;for(let L of x)k!==L&&L.has(T)&&(L.delete(T),N=!0);N&&k.delete(T)}let _=[];for(let[k,T]of x.entries())for(let N of T){let L=a[k].map(([,P])=>P).flat().map(P=>P.toString().split(`
519
+ `).slice(1,-1).map(D=>D.trim()).map(D=>` ${D}`).join(`
520
+ `)).join(`
521
+
522
+ `);_.push(` Use \`${t.replace("[",`[${N}:`)}\` for \`${L.trim()}\``);break}ft.warn([`The class \`${t}\` is ambiguous and matches multiple utilities.`,..._,`If this is content and not a class, replace it with \`${t.replace("[","&lsqb;").replace("]","&rsqb;")}\` to silence this warning.`]);continue}}a=a.map(h=>h.filter(g=>C3(g[1])))}a=a.flat(),a=Array.from(JB(a,n)),a=zB(a,e),s&&(a=jB(a,n));for(let h of i)a=VB(h,a,e);for(let h of a)h[1].raws.tailwind={...h[1].raws.tailwind,candidate:t},h=ZB(h,{context:e,candidate:t}),h!==null&&(yield h)}}function ZB(t,{context:e,candidate:r}){if(!t[0].collectedFormats)return t;let n=!0,i;try{i=_f(t[0].collectedFormats,{context:e,candidate:r})}catch{return null}let s=_e.root({nodes:[t[1].clone()]});return s.walkRules(o=>{if(!ff(o))try{let a=qS(o.selector,i,{candidate:r,context:e});if(a===null){o.remove();return}o.selector=a}catch{return n=!1,!1}}),n?(t[1]=s.nodes[0],t):null}function ff(t){return t.parent&&t.parent.type==="atrule"&&t.parent.name==="keyframes"}function KB(t){if(t===!0)return e=>{ff(e)||e.walkDecls(r=>{r.parent.type==="rule"&&!ff(r.parent)&&(r.important=!0)})};if(typeof t=="string")return e=>{ff(e)||(e.selectors=e.selectors.map(r=>YS(r,t)))}}function wg(t,e,r=!1){let n=[],i=KB(e.tailwindConfig.important);for(let s of t){if(e.notClassCache.has(s))continue;if(e.candidateRuleCache.has(s)){n=n.concat(Array.from(e.candidateRuleCache.get(s)));continue}let o=Array.from(KS(s,e));if(o.length===0){e.notClassCache.add(s);continue}e.classCache.set(s,o);let a=e.candidateRuleCache.get(s)??new Set;e.candidateRuleCache.set(s,a);for(let l of o){let[{sort:u,options:c},f]=l;if(c.respectImportant&&i){let g=_e.root({nodes:[f.clone()]});g.walkRules(i),f=g.nodes[0]}let h=[u,r?f.clone():f];a.add(h),e.ruleCache.add(h),n.push(h)}}return n}function Xm(t){return t.startsWith("[")&&t.endsWith("]")}function hf(t){let e=new Map;_e.root({nodes:[t.clone()]}).walkRules(s=>{(0,Nf.default)(o=>{o.walkClasses(a=>{let l=a.parent.toString(),u=e.get(l);u||e.set(l,u=new Set),u.add(a.value)})}).processSync(s.selector)});let n=Array.from(e.values(),s=>Array.from(s)),i=n.flat();return Object.assign(i,{groups:n})}var eq=(0,Nf.default)();function Cm(t){return eq.astSync(t)}function E3(t,e){let r=new Set;for(let n of t)r.add(n.split(e).pop());return Array.from(r)}function k3(t,e){let r=t.tailwindConfig.prefix;return typeof r=="function"?r(e):r+e}function*e_(t){for(yield t;t.parent;)yield t.parent,t=t.parent}function tq(t,e={}){let r=t.nodes;t.nodes=[];let n=t.clone(e);return t.nodes=r,n}function rq(t){for(let e of e_(t))if(t!==e){if(e.type==="root")break;t=tq(e,{nodes:[t]})}return t}function nq(t,e){let r=new Map;return t.walkRules(n=>{for(let o of e_(n))if(o.raws.tailwind?.layer!==void 0)return;let i=rq(n),s=e.offsets.create("user");for(let o of hf(n)){let a=r.get(o)||[];r.set(o,a),a.push([{layer:"user",sort:s,important:!1},i])}}),r}function iq(t,e){for(let r of t){if(e.notClassCache.has(r)||e.applyClassCache.has(r))continue;if(e.classCache.has(r)){e.applyClassCache.set(r,e.classCache.get(r).map(([i,s])=>[i,s.clone()]));continue}let n=Array.from(KS(r,e));if(n.length===0){e.notClassCache.add(r);continue}e.applyClassCache.set(r,n)}return e.applyClassCache}function sq(t){let e=null;return{get:r=>(e=e||t(),e.get(r)),has:r=>(e=e||t(),e.has(r))}}function oq(t){return{get:e=>t.flatMap(r=>r.get(e)||[]),has:e=>t.some(r=>r.has(e))}}function A3(t){let e=t.split(/[\s\t\n]+/g);return e[e.length-1]==="!important"?[e.slice(0,-1),!0]:[e,!1]}function t_(t,e,r){let n=new Set,i=[];if(t.walkAtRules("apply",l=>{let[u]=A3(l.params);for(let c of u)n.add(c);i.push(l)}),i.length===0)return;let s=oq([r,iq(n,e)]);function o(l,u,c){let f=Cm(l),h=Cm(u),y=Cm(`.${Gn(c)}`).nodes[0].nodes[0];return f.each(S=>{let x=new Set;h.each(_=>{let k=!1;_=_.clone(),_.walkClasses(T=>{T.value===y.value&&(k||(T.replaceWith(...S.nodes.map(N=>N.clone())),x.add(_),k=!0))})});for(let _ of x){let k=[[]];for(let T of _.nodes)T.type==="combinator"?(k.push(T),k.push([])):k[k.length-1].push(T);_.nodes=[];for(let T of k)Array.isArray(T)&&T.sort((N,L)=>N.type==="tag"&&L.type==="class"?-1:N.type==="class"&&L.type==="tag"?1:N.type==="class"&&L.type==="pseudo"&&L.value.startsWith("::")?-1:N.type==="pseudo"&&N.value.startsWith("::")&&L.type==="class"?1:0),_.nodes=_.nodes.concat(T)}S.replaceWith(...x)}),f.toString()}let a=new Map;for(let l of i){let[u]=a.get(l.parent)||[[],l.source];a.set(l.parent,[u,l.source]);let[c,f]=A3(l.params);if(l.parent.type==="atrule"){if(l.parent.name==="screen"){let h=l.parent.params;throw l.error(`@apply is not supported within nested at-rules like @screen. We suggest you write this as @apply ${c.map(g=>`${h}:${g}`).join(" ")} instead.`)}throw l.error(`@apply is not supported within nested at-rules like @${l.parent.name}. You can fix this by un-nesting @${l.parent.name}.`)}for(let h of c){if([k3(e,"group"),k3(e,"peer")].includes(h))throw l.error(`@apply should not be used with the '${h}' utility`);if(!s.has(h))throw l.error(`The \`${h}\` class does not exist. If \`${h}\` is a custom class, make sure it is defined within a \`@layer\` directive.`);let g=s.get(h);u.push([h,f,g])}}for(let[l,[u,c]]of a){let f=[];for(let[g,y,S]of u){let x=[g,...E3([g],e.tailwindConfig.separator)];for(let[_,k]of S){let T=hf(l),N=hf(k);if(N=N.groups.filter($=>$.some(Q=>x.includes(Q))).flat(),N=N.concat(E3(N,e.tailwindConfig.separator)),T.some($=>N.includes($)))throw k.error(`You cannot \`@apply\` the \`${g}\` utility here because it creates a circular dependency.`);let P=_e.root({nodes:[k.clone()]});P.walk($=>{$.source=c}),(k.type!=="atrule"||k.type==="atrule"&&k.name!=="keyframes")&&P.walkRules($=>{if(!hf($).some(G=>G===g)){$.remove();return}let Q=typeof e.tailwindConfig.important=="string"?e.tailwindConfig.important:null,I=l.raws.tailwind!==void 0&&Q&&l.selector.indexOf(Q)===0?l.selector.slice(Q.length):l.selector;I===""&&(I=l.selector),$.selector=o(I,$.selector,g),Q&&I!==l.selector&&($.selector=YS($.selector,Q)),$.walkDecls(G=>{G.important=_.important||y});let z=(0,Nf.default)().astSync($.selector);z.each(G=>mg(G)),$.selector=z.toString()}),P.nodes[0]&&f.push([_.sort,P.nodes[0]])}}let h=e.offsets.sort(f).map(g=>g[1]);l.after(h)}for(let l of i)l.parent.nodes.length>1?l.remove():l.parent.remove();t_(t,e,r)}function r_(t){return e=>{let r=sq(()=>nq(e,t));t_(e,t,r)}}function aq(t){let e=new Set,r=new Set,n=new Set;if(t.walkAtRules(i=>{i.name==="apply"&&n.add(i),i.name==="import"&&(i.params==='"tailwindcss/base"'||i.params==="'tailwindcss/base'"?(i.name="tailwind",i.params="base"):i.params==='"tailwindcss/components"'||i.params==="'tailwindcss/components'"?(i.name="tailwind",i.params="components"):i.params==='"tailwindcss/utilities"'||i.params==="'tailwindcss/utilities'"?(i.name="tailwind",i.params="utilities"):(i.params==='"tailwindcss/screens"'||i.params==="'tailwindcss/screens'"||i.params==='"tailwindcss/variants"'||i.params==="'tailwindcss/variants'")&&(i.name="tailwind",i.params="variants")),i.name==="tailwind"&&(i.params==="screens"&&(i.params="variants"),e.add(i.params)),["layer","responsive","variants"].includes(i.name)&&(["responsive","variants"].includes(i.name)&&ft.warn(`${i.name}-at-rule-deprecated`,[`The \`@${i.name}\` directive has been deprecated in Tailwind CSS v3.0.`,"Use `@layer utilities` or `@layer components` instead.","https://tailwindcss.com/docs/upgrade-guide#replace-variants-with-layer"]),r.add(i))}),!e.has("base")||!e.has("components")||!e.has("utilities")){for(let i of r)if(i.name==="layer"&&["base","components","utilities"].includes(i.params)){if(!e.has(i.params))throw i.error(`\`@layer ${i.params}\` is used but no matching \`@tailwind ${i.params}\` directive is present.`)}else if(i.name==="responsive"){if(!e.has("utilities"))throw i.error("`@responsive` is used but `@tailwind utilities` is missing.")}else if(i.name==="variants"&&!e.has("utilities"))throw i.error("`@variants` is used but `@tailwind utilities` is missing.")}return{tailwindDirectives:e,applyDirectives:n}}function Ka(t,e=void 0,r=void 0){return t.map(n=>{let i=n.clone(),s=n.raws.tailwind?.preserveSource!==!0||!i.source;return e!==void 0&&s&&(i.source=e,"walk"in i&&i.walk(o=>{o.source=e})),r!==void 0&&(i.raws.tailwind={...i.raws.tailwind,...r}),i})}var i_=/[\\^$.*+?()[\]{}|]/g,lq=RegExp(i_.source);function yg(t){return t=Array.isArray(t)?t:[t],t=t.map(e=>e instanceof RegExp?e.source:e),t.join("")}function rr(t){return new RegExp(yg(t),"g")}function nf(t){return`(?:${t.map(yg).join("|")})`}function L3(t){return`(?:${yg(t)})?`}function uq(t){return t&&lq.test(t)?t.replace(i_,"\\$&"):t||""}function cq(t){let e=Array.from(fq(t));return r=>{let n=[];for(let i of e)for(let s of r.match(i)??[])n.push(pq(s));return n}}function*fq(t){let e=t.tailwindConfig.separator,r=t.tailwindConfig.prefix!==""?L3(rr([/-?/,uq(t.tailwindConfig.prefix)])):"",n=nf([/\[[^\s:'"`]+:[^\s\[\]]+\]/,/\[[^\s:'"`\]]+:[^\s]+?\[[^\s]+\][^\s]+?\]/,rr([/-?(?:\w+)/,L3(nf([rr([/-(?:\w+-)*\[[^\s:]+\]/,/(?![{([]])/,/(?:\/[^\s'"`\\><$]*)?/]),rr([/-(?:\w+-)*\[[^\s]+\]/,/(?![{([]])/,/(?:\/[^\s'"`\\$]*)?/]),/[-\/][^\s'"`\\$={><]*/]))])]),i=[nf([rr([/@\[[^\s"'`]+\](\/[^\s"'`]+)?/,e]),rr([/([^\s"'`\[\\]+-)?\[[^\s"'`]+\]\/\w+/,e]),rr([/([^\s"'`\[\\]+-)?\[[^\s"'`]+\]/,e]),rr([/[^\s"'`\[\\]+/,e])]),nf([rr([/([^\s"'`\[\\]+-)?\[[^\s`]+\]\/\w+/,e]),rr([/([^\s"'`\[\\]+-)?\[[^\s`]+\]/,e]),rr([/[^\s`\[\\]+/,e])])];for(let s of i)yield rr(["((?=((",s,")+))\\2)?",/!?/,r,n]);yield/[^<>"'`\s.(){}[\]#=%$]*[^<>"'`\s.(){}[\]#=%:$]/g}var hq=/([\[\]'"`])([^\[\]'"`])?/g,dq=/[^"'`\s<>\]]+/;function pq(t){if(!t.includes("-["))return t;let e=0,r=[],n=t.matchAll(hq);n=Array.from(n).flatMap(i=>{let[,...s]=i;return s.map((o,a)=>Object.assign([],i,{index:i.index+a,0:o}))});for(let i of n){let s=i[0],o=r[r.length-1];if(s===o?r.pop():(s==="'"||s==='"'||s==="`")&&r.push(s),!o){if(s==="["){e++;continue}else if(s==="]"){e--;continue}if(e<0)return t.substring(0,i.index-1);if(e===0&&!dq.test(s))return t.substring(0,i.index)}}return t}var R3={DEFAULT:cq},T3={DEFAULT:t=>t,svelte:t=>t.replace(/(?:^|\s)class:/g," ")};function mq(t,e){let r=t.tailwindConfig.content.extract;return r[e]||r.DEFAULT||R3[e]||R3.DEFAULT(t)}function gq(t,e){let r=t.content.transform;return r[e]||r.DEFAULT||T3[e]||T3.DEFAULT}var el=new WeakMap;function bq(t,e,r,n){el.has(e)||el.set(e,new n_.default({maxSize:25e3}));for(let i of t.split(`
523
+ `))if(i=i.trim(),!n.has(i))if(n.add(i),el.get(e).has(i))for(let s of el.get(e).get(i))r.add(s);else{let s=e(i).filter(a=>a!=="!*"),o=new Set(s);for(let a of o)r.add(a);el.get(e).set(i,o)}}function vq(t,e){let r=e.offsets.sort(t),n={base:new Set,defaults:new Set,components:new Set,utilities:new Set,variants:new Set};for(let[i,s]of r)n[i.layer].add(s);return n}function wq(t){return async e=>{let r={base:null,components:null,utilities:null,variants:null};if(e.walkAtRules(y=>{y.name==="tailwind"&&Object.keys(r).includes(y.params)&&(r[y.params]=y)}),Object.values(r).every(y=>y===null))return e;let n=new Set([...t.candidates??[],Fs]),i=new Set;{let y=[];for(let x of t.changedContent){let _=gq(t.tailwindConfig,x.extension),k=mq(t,x.extension);y.push([x,{transformer:_,extractor:k}])}let S=500;for(let x=0;x<y.length;x+=S){let _=y.slice(x,x+S);await Promise.all(_.map(async([{file:k,content:T},{transformer:N,extractor:L}])=>{T=k?await jS.promises.readFile(k,"utf8"):T,bq(N(T),L,n,i)}))}}let s=t.classCache.size,o=new Set([...n].sort((y,S)=>y===S?0:y<S?-1:1));wg(o,t),(t.stylesheetCache===null||t.classCache.size!==s)&&(t.stylesheetCache=vq([...t.ruleCache],t));let{defaults:a,base:l,components:u,utilities:c,variants:f}=t.stylesheetCache;r.base&&(r.base.before(Ka([...l,...a],r.base.source,{layer:"base"})),r.base.remove()),r.components&&(r.components.before(Ka([...u],r.components.source,{layer:"components"})),r.components.remove()),r.utilities&&(r.utilities.before(Ka([...c],r.utilities.source,{layer:"utilities"})),r.utilities.remove());let h=Array.from(f).filter(y=>{let S=y.raws.tailwind?.parentLayer;return S==="components"?r.components!==null:S==="utilities"?r.utilities!==null:!0});r.variants?(r.variants.before(Ka(h,r.variants.source,{layer:"variants"})),r.variants.remove()):h.length>0&&e.append(Ka(h,e.source,{layer:"variants"}));let g=h.some(y=>y.raws.tailwind?.parentLayer==="utilities");r.utilities&&c.size===0&&!g&&ft.warn("content-problems",["No utility classes were detected in your source files. If this is unexpected, double-check the `content` option in your Tailwind CSS configuration.","https://tailwindcss.com/docs/content-configuration"]),t.changedContent=[],e.walkAtRules("layer",y=>{Object.keys(r).includes(y.params)&&y.remove()})}}var o_=Ef(Jm());function Em(t){return typeof t=="object"&&t!==null}function yq(t,e){let r=ul(e);do if(r.pop(),(0,sl.default)(t,r)!==void 0)break;while(r.length);return r.length?r:void 0}function Ps(t){return typeof t=="string"?t:t.reduce((e,r,n)=>r.includes(".")?`${e}[${r}]`:n===0?r:`${e}.${r}`,"")}function a_(t){return t.map(e=>`'${e}'`).join(", ")}function N3(t){return a_(Object.keys(t))}function Qm(t,e,r,n={}){let i=Array.isArray(e)?Ps(e):e.replace(/^['"]+|['"]+$/g,""),s=Array.isArray(e)?e:ul(i),o=(0,sl.default)(t.theme,s,r);if(o===void 0){let l=`'${i}' does not exist in your theme config.`,u=s.slice(0,-1),c=(0,sl.default)(t.theme,u);if(Em(c)){let f=Object.keys(c).filter(g=>Qm(t,[...u,g]).isValid),h=(0,s_.default)(s[s.length-1],f);h?l+=` Did you mean '${Ps([...u,h])}'?`:f.length>0&&(l+=` '${Ps(u)}' has the following valid keys: ${a_(f)}`)}else{let f=yq(t.theme,i);if(f){let h=(0,sl.default)(t.theme,f);Em(h)?l+=` '${Ps(f)}' has the following keys: ${N3(h)}`:l+=` '${Ps(f)}' is not an object.`}else l+=` Your theme has the following top-level keys: ${N3(t.theme)}`}return{isValid:!1,error:l}}if(!(typeof o=="string"||typeof o=="number"||typeof o=="function"||o instanceof String||o instanceof Number||Array.isArray(o))){let l=`'${i}' was found but does not resolve to a string.`;if(Em(o)){let u=Object.keys(o).filter(c=>Qm(t,[...s,c]).isValid);u.length&&(l+=` Did you mean something like '${Ps([...s,u[0]])}'?`)}return{isValid:!1,error:l}}let[a]=s;return{isValid:!0,value:Pf(a)(o,n)}}function xq(t,e,r){e=e.map(i=>l_(t,i,r));let n=[""];for(let i of e)i.type==="div"&&i.value===","?n.push(""):n[n.length-1]+=o_.default.stringify(i);return n}function l_(t,e,r){if(e.type==="function"&&r[e.value]!==void 0){let n=xq(t,e.nodes,r);e.type="word",e.value=r[e.value](t,...n)}return e}function Sq(t,e,r){return Object.keys(r).some(i=>e.includes(`${i}(`))?(0,o_.default)(e).walk(i=>{l_(t,i,r)}).toString():e}var _q={atrule:"params",decl:"value"};function*Cq(t){t=t.replace(/^['"]+|['"]+$/g,"");let e=t.match(/^([^\s]+)(?![^\[]*\])(?:\s*\/\s*([^\/\s]+))$/),r;yield[t,void 0],e&&(t=e[1],r=e[2],yield[t,r])}function Eq(t,e,r){let n=Array.from(Cq(e)).map(([i,s])=>Object.assign(Qm(t,i,r,{opacityValue:s}),{resolvedPath:i,alpha:s}));return n.find(i=>i.isValid)??n[0]}function kq(t){let e=t.tailwindConfig,r={theme:(n,i,...s)=>{let{isValid:o,value:a,error:l,alpha:u}=Eq(e,i,s.length?s:void 0);if(!o){let h=n.parent,g=h?.raws.tailwind?.candidate;if(h&&g!==void 0){t.markInvalidUtilityNode(h),h.remove(),ft.warn("invalid-theme-key-in-class",[`The utility \`${g}\` contains an invalid theme value and was not generated.`]);return}throw n.error(l)}let c=Sf(a);return(u!==void 0||c!==void 0&&typeof c=="function")&&(u===void 0&&(u=1),a=Ds(c,u,c)),a},screen:(n,i)=>{i=i.replace(/^['"]+/g,"").replace(/['"]+$/g,"");let o=hl(e.theme.screens).find(({name:a})=>a===i);if(!o)throw n.error(`The '${i}' screen does not exist in your theme.`);return Cf(o)}};return n=>{n.walk(i=>{let s=_q[i.type];s!==void 0&&(i[s]=Sq(i,i[s],r))})}}function Aq({tailwindConfig:{theme:t}}){return function(e){e.walkAtRules("screen",r=>{let n=r.params,s=hl(t.screens).find(({name:o})=>o===n);if(!s)throw r.error(`No \`${n}\` screen found.`);r.name="media",r.params=Cf(s)})}}var M3={id(t){return If.default.attribute({attribute:"id",operator:"=",value:t.value,quoteMark:'"'})}};function Lq(t){let e=t.filter(a=>a.type!=="pseudo"||a.nodes.length>0?!0:a.value.startsWith("::")||[":before",":after",":first-line",":first-letter"].includes(a.value)).reverse(),r=new Set(["tag","class","id","attribute"]),n=e.findIndex(a=>r.has(a.type));if(n===-1)return e.reverse().join("").trim();let i=e[n],s=M3[i.type]?M3[i.type](i):i;e=e.slice(0,n);let o=e.findIndex(a=>a.type==="combinator"&&a.value===">");return o!==-1&&(e.splice(0,o),e.unshift(If.default.universal())),[s,...e.reverse()].join("").trim()}var Rq=(0,If.default)(t=>t.map(e=>{let r=e.split(n=>n.type==="combinator"&&n.value===" ").pop();return Lq(r)})),km=new Map;function Tq(t){return km.has(t)||km.set(t,Rq.transformSync(t)),km.get(t)}function Nq({tailwindConfig:t}){return e=>{let r=new Map,n=new Set;if(e.walkAtRules("defaults",i=>{if(i.nodes&&i.nodes.length>0){n.add(i);return}let s=i.params;r.has(s)||r.set(s,new Set),r.get(s).add(i.parent),i.remove()}),ir(t,"optimizeUniversalDefaults"))for(let i of n){let s=new Map,o=r.get(i.params)??[];for(let a of o)for(let l of Tq(a.selector)){let u=l.includes(":-")||l.includes("::-")?l:"__DEFAULT__",c=s.get(u)??new Set;s.set(u,c),c.add(l)}if(ir(t,"optimizeUniversalDefaults")){if(s.size===0){i.remove();continue}for(let[,a]of s){let l=_e.rule({source:i.source});l.selectors=[...a],l.append(i.nodes.map(u=>u.clone())),i.before(l)}}i.remove()}else if(n.size){let i=_e.rule({selectors:["*","::before","::after"]});for(let o of n)i.append(o.nodes),i.parent||o.before(i),i.source||(i.source=o.source),o.remove();let s=i.clone({selectors:["::backdrop"]});i.after(s)}}}var u_={atrule:["name","params"],rule:["selector"]},Mq=new Set(Object.keys(u_));function Oq(){function t(e){let r=null;e.each(n=>{if(!Mq.has(n.type)){r=null;return}if(r===null){r=n;return}let i=u_[n.type];n.type==="atrule"&&n.name==="font-face"?r=n:i.every(s=>(n[s]??"").replace(/\s+/g," ")===(r[s]??"").replace(/\s+/g," "))?(n.nodes&&r.append(n.nodes),n.remove()):r=n}),e.each(n=>{n.type==="atrule"&&t(n)})}return e=>{t(e)}}function Pq(){return t=>{t.walkRules(e=>{let r=new Map,n=new Set([]),i=new Map;e.walkDecls(s=>{if(s.parent===e){if(r.has(s.prop)){if(r.get(s.prop).value===s.value){n.add(r.get(s.prop)),r.set(s.prop,s);return}i.has(s.prop)||i.set(s.prop,new Set),i.get(s.prop).add(r.get(s.prop)),i.get(s.prop).add(s)}r.set(s.prop,s)}});for(let s of n)s.remove();for(let s of i.values()){let o=new Map;for(let a of s){let l=Dq(a.value);l!==null&&(o.has(l)||o.set(l,new Set),o.get(l).add(a))}for(let a of o.values()){let l=Array.from(a).slice(0,-1);for(let u of l)u.remove()}}})}}var Iq=Symbol("unitless-number");function Dq(t){let e=/^-?\d*.?\d+([\w%]+)?$/g.exec(t);return e?e[1]??Iq:null}function Fq(t){if(!t.walkAtRules)return;let e=new Set;if(t.walkAtRules("apply",r=>{e.add(r.parent)}),e.size!==0)for(let r of e){let n=[],i=[];for(let s of r.nodes)s.type==="atrule"&&s.name==="apply"?(i.length>0&&(n.push(i),i=[]),n.push([s])):i.push(s);if(i.length>0&&n.push(i),n.length!==1){for(let s of[...n].reverse()){let o=r.clone({nodes:[]});o.append(s),r.after(o)}r.remove()}}}function O3(){return t=>{Fq(t)}}function $q(t){return t.type==="root"}function Uq(t){return t.type==="atrule"&&t.name==="layer"}function Bq(t){return(e,r)=>{let n=!1;e.walkAtRules("tailwind",i=>{if(n)return!1;if(i.parent&&!($q(i.parent)||Uq(i.parent)))return n=!0,i.warn(r,["Nested @tailwind rules were detected, but are not supported.","Consider using a prefix to scope Tailwind's classes: https://tailwindcss.com/docs/configuration#prefix","Alternatively, use the important selector strategy: https://tailwindcss.com/docs/configuration#selector-strategy"].join(`
524
+ `)),!1}),e.walkRules(i=>{if(n)return!1;i.walkRules(s=>(n=!0,s.warn(r,["Nested CSS was detected, but CSS nesting has not been configured correctly.","Please enable a CSS nesting plugin *before* Tailwind in your configuration.","See how here: https://tailwindcss.com/docs/using-with-preprocessors#nesting"].join(`
525
+ `)),!1))})}}function qq(t){return async function(e,r){let{tailwindDirectives:n,applyDirectives:i}=aq(e);Bq()(e,r),O3()(e,r);let s=t({tailwindDirectives:n,applyDirectives:i,registerDependency(o){r.messages.push({plugin:"tailwindcss",parent:r.opts.from,...o})},createContext(o,a){return Wm(o,a,e)}})(e,r);if(s.tailwindConfig.separator==="-")throw new Error("The '-' character cannot be used as a custom separator in JIT mode due to parsing ambiguity. Please use another character like '_' instead.");s.tailwindConfig,await wq(s)(e,r),O3()(e,r),r_(s)(e,r),kq(s)(e,r),Aq(s)(e,r),Nq(s)(e,r),Oq(s)(e,r),Pq(s)(e,r)}}var zq=["preflight","container","accessibility","pointerEvents","visibility","position","inset","isolation","zIndex","order","gridColumn","gridColumnStart","gridColumnEnd","gridRow","gridRowStart","gridRowEnd","float","clear","margin","boxSizing","lineClamp","display","aspectRatio","height","maxHeight","minHeight","width","minWidth","maxWidth","flex","flexShrink","flexGrow","flexBasis","tableLayout","captionSide","borderCollapse","borderSpacing","transformOrigin","translate","rotate","skew","scale","transform","animation","cursor","touchAction","userSelect","resize","scrollSnapType","scrollSnapAlign","scrollSnapStop","scrollMargin","scrollPadding","listStylePosition","listStyleType","listStyleImage","appearance","columns","breakBefore","breakInside","breakAfter","gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateColumns","gridTemplateRows","flexDirection","flexWrap","placeContent","placeItems","alignContent","alignItems","justifyContent","justifyItems","gap","space","divideWidth","divideStyle","divideColor","divideOpacity","placeSelf","alignSelf","justifySelf","overflow","overscrollBehavior","scrollBehavior","textOverflow","hyphens","whitespace","wordBreak","borderRadius","borderWidth","borderStyle","borderColor","borderOpacity","backgroundColor","backgroundOpacity","backgroundImage","gradientColorStops","boxDecorationBreak","backgroundSize","backgroundAttachment","backgroundClip","backgroundPosition","backgroundRepeat","backgroundOrigin","fill","stroke","strokeWidth","objectFit","objectPosition","padding","textAlign","textIndent","verticalAlign","fontFamily","fontSize","fontWeight","textTransform","fontStyle","fontVariantNumeric","lineHeight","letterSpacing","textColor","textOpacity","textDecoration","textDecorationColor","textDecorationStyle","textDecorationThickness","textUnderlineOffset","fontSmoothing","placeholderColor","placeholderOpacity","caretColor","accentColor","opacity","backgroundBlendMode","mixBlendMode","boxShadow","boxShadowColor","outlineStyle","outlineWidth","outlineOffset","outlineColor","ringWidth","ringColor","ringOpacity","ringOffsetWidth","ringOffsetColor","blur","brightness","contrast","dropShadow","grayscale","hueRotate","invert","saturate","sepia","filter","backdropBlur","backdropBrightness","backdropContrast","backdropGrayscale","backdropHueRotate","backdropInvert","backdropOpacity","backdropSaturate","backdropSepia","backdropFilter","transitionProperty","transitionDelay","transitionDuration","transitionTimingFunction","willChange","content"];function jq(t,e){return t===void 0?e:Array.isArray(t)?t:[...new Set(e.filter(n=>t!==!1&&t[n]!==!1).concat(Object.keys(t).filter(n=>t[n]!==!1)))]}function tl({version:t,from:e,to:r}){ft.warn(`${e}-color-renamed`,[`As of Tailwind CSS ${t}, \`${e}\` has been renamed to \`${r}\`.`,"Update your configuration file to silence this warning."])}var Vq={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return tl({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return tl({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return tl({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return tl({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return tl({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}};function c_(t,...e){for(let r of e){for(let n in r)t?.hasOwnProperty?.(n)||(t[n]=r[n]);for(let n of Object.getOwnPropertySymbols(r))t?.hasOwnProperty?.(n)||(t[n]=r[n])}return t}function Wq(t){(()=>{if(t.purge||!t.content||!Array.isArray(t.content)&&!(typeof t.content=="object"&&t.content!==null))return!1;if(Array.isArray(t.content))return t.content.every(r=>typeof r=="string"?!0:!(typeof r?.raw!="string"||r?.extension&&typeof r?.extension!="string"));if(typeof t.content=="object"&&t.content!==null){if(Object.keys(t.content).some(r=>!["files","relative","extract","transform"].includes(r)))return!1;if(Array.isArray(t.content.files)){if(!t.content.files.every(r=>typeof r=="string"?!0:!(typeof r?.raw!="string"||r?.extension&&typeof r?.extension!="string")))return!1;if(typeof t.content.extract=="object"){for(let r of Object.values(t.content.extract))if(typeof r!="function")return!1}else if(!(t.content.extract===void 0||typeof t.content.extract=="function"))return!1;if(typeof t.content.transform=="object"){for(let r of Object.values(t.content.transform))if(typeof r!="function")return!1}else if(!(t.content.transform===void 0||typeof t.content.transform=="function"))return!1;if(typeof t.content.relative!="boolean"&&typeof t.content.relative<"u")return!1}return!0}return!1})()||ft.warn("purge-deprecation",["The `purge`/`content` options have changed in Tailwind CSS v3.0.","Update your configuration file to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#configure-content-sources"]),t.safelist=(()=>{let{content:r,purge:n,safelist:i}=t;return Array.isArray(i)?i:Array.isArray(r?.safelist)?r.safelist:Array.isArray(n?.safelist)?n.safelist:Array.isArray(n?.options?.safelist)?n.options.safelist:[]})(),t.blocklist=(()=>{let{blocklist:r}=t;if(Array.isArray(r)){if(r.every(n=>typeof n=="string"))return r;ft.warn("blocklist-invalid",["The `blocklist` option must be an array of strings.","https://tailwindcss.com/docs/content-configuration#discarding-classes"])}return[]})(),typeof t.prefix=="function"?(ft.warn("prefix-function",["As of Tailwind CSS v3.0, `prefix` cannot be a function.","Update `prefix` in your configuration to be a string to eliminate this warning.","https://tailwindcss.com/docs/upgrade-guide#prefix-cannot-be-a-function"]),t.prefix=""):t.prefix=t.prefix??"",t.content={relative:(()=>{let{content:r}=t;return r?.relative?r.relative:ir(t,"relativeContentPathsByDefault")})(),files:(()=>{let{content:r,purge:n}=t;return Array.isArray(n)?n:Array.isArray(n?.content)?n.content:Array.isArray(r)?r:Array.isArray(r?.content)?r.content:Array.isArray(r?.files)?r.files:[]})(),extract:(()=>{let r=t.purge?.extract?t.purge.extract:t.content?.extract?t.content.extract:t.purge?.extract?.DEFAULT?t.purge.extract.DEFAULT:t.content?.extract?.DEFAULT?t.content.extract.DEFAULT:t.purge?.options?.extractors?t.purge.options.extractors:t.content?.options?.extractors?t.content.options.extractors:{},n={},i=(()=>{if(t.purge?.options?.defaultExtractor)return t.purge.options.defaultExtractor;if(t.content?.options?.defaultExtractor)return t.content.options.defaultExtractor})();if(i!==void 0&&(n.DEFAULT=i),typeof r=="function")n.DEFAULT=r;else if(Array.isArray(r))for(let{extensions:s,extractor:o}of r??[])for(let a of s)n[a]=o;else typeof r=="object"&&r!==null&&Object.assign(n,r);return n})(),transform:(()=>{let r=t.purge?.transform?t.purge.transform:t.content?.transform?t.content.transform:t.purge?.transform?.DEFAULT?t.purge.transform.DEFAULT:t.content?.transform?.DEFAULT?t.content.transform.DEFAULT:{},n={};return typeof r=="function"&&(n.DEFAULT=r),typeof r=="object"&&r!==null&&Object.assign(n,r),n})()};for(let r of t.content.files)if(typeof r=="string"&&/{([^,]*?)}/g.test(r)){ft.warn("invalid-glob-braces",[`The glob pattern ${r} in your Tailwind CSS configuration is invalid.`,`Update it to ${r.replace(/{([^,]*?)}/g,"$1")} to silence this warning.`]);break}return t}function Ym(t){return Array.isArray(t)?t.map(e=>Ym(e)):typeof t=="object"&&t!==null?Object.fromEntries(Object.entries(t).map(([e,r])=>[e,Ym(r)])):t}function $s(t){return typeof t=="function"}function ol(t,...e){let r=e.pop();for(let n of e)for(let i in n){let s=r(t[i],n[i]);s===void 0?vr(t[i])&&vr(n[i])?t[i]=ol({},t[i],n[i],r):t[i]=n[i]:t[i]=s}return t}var Am={colors:Vq,negative(t){return Object.keys(t).filter(e=>t[e]!=="0").reduce((e,r)=>{let n=xf(t[r]);return n!==void 0&&(e[`-${r}`]=n),e},{})},breakpoints(t){return Object.keys(t).filter(e=>typeof t[e]=="string").reduce((e,r)=>({...e,[`screen-${r}`]:t[r]}),{})}};function Hq(t,...e){return $s(t)?t(...e):t}function Gq(t){return t.reduce((e,{extend:r})=>ol(e,r,(n,i)=>n===void 0?[i]:Array.isArray(n)?[i,...n]:[i,n]),{})}function Xq(t){return{...t.reduce((e,r)=>c_(e,r),{}),extend:Gq(t)}}function P3(t,e){if(Array.isArray(t)&&vr(t[0]))return t.concat(e);if(Array.isArray(e)&&vr(e[0])&&vr(t))return[t,...e];if(Array.isArray(e))return e}function Qq({extend:t,...e}){return ol(e,t,(r,n)=>!$s(r)&&!n.some($s)?ol({},r,...n,P3):(i,s)=>ol({},...[r,...n].map(o=>Hq(o,i,s)),P3))}function*Yq(t){let e=ul(t);if(e.length===0||(yield e,Array.isArray(t)))return;let r=/^(.*?)\s*\/\s*([^/]+)$/,n=t.match(r);if(n!==null){let[,i,s]=n,o=ul(i);o.alpha=s,yield o}}function Jq(t){let e=(r,n)=>{for(let i of Yq(r)){let s=0,o=t;for(;o!=null&&s<i.length;)o=o[i[s++]],o=$s(o)&&(i.alpha===void 0||s<=i.length-1)?o(e,Am):o;if(o!==void 0){if(i.alpha!==void 0){let a=Sf(o);return Ds(a,i.alpha,Me(a))}return vr(o)?Ym(o):o}}return n};return Object.assign(e,{theme:e,...Am}),Object.keys(t).reduce((r,n)=>(r[n]=$s(t[n])?t[n](e,Am):t[n],r),{})}function f_(t){let e=[];return t.forEach(r=>{e=[...e,r];let n=r?.plugins??[];n.length!==0&&n.forEach(i=>{i.__isOptionsFunction&&(i=i()),e=[...e,...f_([i?.config??{}])]})}),e}function Zq(t){return[...t].reduceRight((r,n)=>$s(n)?n({corePlugins:r}):jq(n,r),zq)}function Kq(t){return[...t].reduceRight((r,n)=>[...r,...n],[])}function ez(t){let e=[...f_(t),{prefix:"",important:!1,separator:":"}];return Wq(c_({theme:Jq(Qq(Xq(e.map(r=>r?.theme??{})))),corePlugins:Zq(e.map(r=>r.corePlugins)),plugins:Kq(t.map(r=>r?.plugins??[]))},...e))}var tz=Ef(VF());function h_(t){let e=(t?.presets??[tz.default]).slice().reverse().flatMap(i=>h_(i instanceof Function?i():i)),r={respectDefaultRingColorOpacity:{theme:{ringColor:({theme:i})=>({DEFAULT:"#3b82f67f",...i("colors")})}},disableColorOpacityUtilitiesByDefault:{corePlugins:{backgroundOpacity:!1,borderOpacity:!1,divideOpacity:!1,placeholderOpacity:!1,ringOpacity:!1,textOpacity:!1}}},n=Object.keys(r).filter(i=>ir(t,i)).map(i=>r[i]);return[t,...n,...e]}function rz(...t){let[,...e]=h_(t[0]);return ez([...t,...e])}async function nz(t){let e=await t,r=rz(e),n=Wm(r),i={version:"3.0.0",blocklist:[],config:r,enabled:!0,modules:{postcss:{module:_e,version:""},postcssSelectorParser:{module:_S.default},jit:{createContext:{module:Wm},expandApplyAtRules:{module:r_},generateRules:{module:wg}}},classNames:{classNames:{},context:{}},jit:!0,jitContext:n,separator:r.separator,screens:r.theme?.screens?Object.keys(r.theme.screens):[],variants:n.getVariants(),editor:{userLanguages:{},capabilities:{configuration:!0,diagnosticRelatedInformation:!0,itemDefaults:[]},async getConfiguration(){return{editor:{tabSize:2},tailwindCSS:{emmetCompletions:!1,classAttributes:["class","className","ngClass"],codeActions:!0,hovers:!0,suggestions:!0,validate:!0,colorDecorators:!0,rootFontSize:16,lint:{cssConflict:"warning",invalidApply:"error",invalidScreen:"error",invalidVariant:"error",invalidConfigPath:"error",invalidTailwindDirective:"error",recommendedVariantOrder:"warning"},showPixelEquivalents:!0,includeLanguages:{},files:{exclude:[]},experimental:{classRegex:[],configFile:{}}}}}}};return i.classList=n.getClassList().filter(s=>s!=="*").map(s=>[s,{color:Is(i,s)}]),i}function iz(t){Yx((e,r)=>{let n=t?.prepareTailwindConfig?.(r.tailwindConfig)??r.tailwindConfig??{};if(typeof n!="object")throw new TypeError(`Expected tailwindConfig to resolve to an object, but got: ${JSON.stringify(n)}`);let i=nz(n),s=o=>(a,l,...u)=>{let c=e.getMirrorModels();for(let f of c)if(String(f.uri)===a)return i.then(h=>o(h,Kc.create(a,l,f.version,f.getValue()),...u))};return{doCodeActions:s((o,a,l,u)=>EU(o,{range:l,context:u,textDocument:a},a)),doComplete:s(j$),doHover:s(dU),doValidate:s(xS),async generateStylesFromContent(o,a){let{config:l}=await i,u=qq(h=>()=>h.createContext(l,a));return(await _e([u]).process(o)).css},getDocumentColors:s(kU),async resolveCompletionItem(o){return V$(await i,o)}}})}iz();})();
526
+ /*! Bundled license information:
527
+
528
+ @jspm/core/nodelibs/browser/buffer.js:
529
+ (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
530
+
531
+ isobject/index.js:
532
+ (*!
533
+ * isobject <https://github.com/jonschlinkert/isobject>
534
+ *
535
+ * Copyright (c) 2014-2015, Jon Schlinkert.
536
+ * Licensed under the MIT License.
537
+ *)
538
+
539
+ line-column/lib/line-column.js:
540
+ (**
541
+ * line-column - Convert efficiently index to/from line-column in a string
542
+ * @module lineColumn
543
+ * @license MIT
544
+ *)
545
+
546
+ css.escape/css.escape.js:
547
+ (*! https://mths.be/cssescape v1.5.1 by @mathias | MIT license *)
548
+
549
+ cssesc/cssesc.js:
550
+ (*! https://mths.be/cssesc v3.0.0 by @mathias *)
551
+ */