@live-codes/browser-compilers 0.19.0 → 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.
- package/dist/autoprefixer/autoprefixer.js +14 -14
- package/dist/cssnano/cssnano.js +32 -32
- package/dist/lightningcss/lightningcss.js +1 -1
- package/dist/lightningcss/lightningcss_node.wasm +0 -0
- package/dist/postcss/postcss.js +10 -10
- package/dist/postcss-modules/postcss-modules.js +15 -15
- package/dist/postcss-preset-env/postcss-preset-env.js +15 -15
- package/dist/prettier/parser-pug.js +36 -36
- package/dist/pug/pug.min.js +38 -38
- package/dist/purgecss/purgecss.js +38 -38
- package/dist/tailwindcss/monaco-tailwindcss.js +131 -0
- package/dist/tailwindcss/monaco-tailwindcss.worker.js +551 -0
- package/dist/tokencss/tokencss.js +17 -17
- package/package.json +3 -2
- package/scripts/vendors.js +14 -0
- package/vendor_modules/imports/lightningcss.js +7 -2
- package/vendor_modules/imports/monaco-tailwindcss.js +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var lightningcss=(()=>{var pe=Object.defineProperty;var ct=Object.getOwnPropertyDescriptor;var ft=Object.getOwnPropertyNames;var pt=Object.prototype.hasOwnProperty;var J=(o,r)=>()=>(o&&(r=o(o=0)),r);var Oe=(o,r)=>{for(var a in r)pe(o,a,{get:r[a],enumerable:!0})},ht=(o,r,a,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let u of ft(r))!pt.call(o,u)&&u!==a&&pe(o,u,{get:()=>r[u],enumerable:!(i=ct(r,u))||i.enumerable});return o};var _t=o=>ht(pe({},"__esModule",{value:!0}),o);var L=J(()=>{});function gt(o,r){this.fun=o,this.array=r}function Te(o){var r=Math.floor((Date.now()-W.now())*.001),a=W.now()*.001,i=Math.floor(a)+r,u=Math.floor(a%1*1e9);return o&&(i=i-o[0],u=u-o[1],u<0&&(i--,u+=_e)),[i,u]}var Rt,W,he,_e,Se=J(()=>{L();M();C();gt.prototype.run=function(){this.fun.apply(null,this.array)};Rt={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},W={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};W.now===void 0&&(he=Date.now(),W.timing&&W.timing.navigationStart&&(he=W.timing.navigationStart),W.now=()=>Date.now()-he);_e=1e9;Te.bigint=function(o){var r=Te(o);return typeof BigInt>"u"?r[0]*_e+r[1]:BigInt(r[0]*_e)+BigInt(r[1])}});var C=J(()=>{Se()});function yt(){if(Re)return ee;Re=!0,ee.byteLength=g,ee.toByteArray=m,ee.fromByteArray=P;for(var o=[],r=[],a=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,c=i.length;u<c;++u)o[u]=i[u],r[i.charCodeAt(u)]=u;r[45]=62,r[95]=63;function l(d){var A=d.length;if(A%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var E=d.indexOf("=");E===-1&&(E=A);var B=E===A?0:4-E%4;return[E,B]}function g(d){var A=l(d),E=A[0],B=A[1];return(E+B)*3/4-B}function y(d,A,E){return(A+E)*3/4-E}function m(d){var A,E=l(d),B=E[0],U=E[1],x=new a(y(d,B,U)),S=0,K=U>0?B-4:B,V;for(V=0;V<K;V+=4)A=r[d.charCodeAt(V)]<<18|r[d.charCodeAt(V+1)]<<12|r[d.charCodeAt(V+2)]<<6|r[d.charCodeAt(V+3)],x[S++]=A>>16&255,x[S++]=A>>8&255,x[S++]=A&255;return U===2&&(A=r[d.charCodeAt(V)]<<2|r[d.charCodeAt(V+1)]>>4,x[S++]=A&255),U===1&&(A=r[d.charCodeAt(V)]<<10|r[d.charCodeAt(V+1)]<<4|r[d.charCodeAt(V+2)]>>2,x[S++]=A>>8&255,x[S++]=A&255),x}function w(d){return o[d>>18&63]+o[d>>12&63]+o[d>>6&63]+o[d&63]}function I(d,A,E){for(var B,U=[],x=A;x<E;x+=3)B=(d[x]<<16&16711680)+(d[x+1]<<8&65280)+(d[x+2]&255),U.push(w(B));return U.join("")}function P(d){for(var A,E=d.length,B=E%3,U=[],x=16383,S=0,K=E-B;S<K;S+=x)U.push(I(d,S,S+x>K?K:S+x));return B===1?(A=d[E-1],U.push(o[A>>2]+o[A<<4&63]+"==")):B===2&&(A=(d[E-2]<<8)+d[E-1],U.push(o[A>>10]+o[A>>4&63]+o[A<<2&63]+"=")),U.join("")}return ee}function dt(){if(Le)return ne;Le=!0;return ne.read=function(o,r,a,i,u){var c,l,g=u*8-i-1,y=(1<<g)-1,m=y>>1,w=-7,I=a?u-1:0,P=a?-1:1,d=o[r+I];for(I+=P,c=d&(1<<-w)-1,d>>=-w,w+=g;w>0;c=c*256+o[r+I],I+=P,w-=8);for(l=c&(1<<-w)-1,c>>=-w,w+=i;w>0;l=l*256+o[r+I],I+=P,w-=8);if(c===0)c=1-m;else{if(c===y)return l?NaN:(d?-1:1)*(1/0);l=l+Math.pow(2,i),c=c-m}return(d?-1:1)*l*Math.pow(2,c-i)},ne.write=function(o,r,a,i,u,c){var l,g,y,m=c*8-u-1,w=(1<<m)-1,I=w>>1,P=u===23?Math.pow(2,-24)-Math.pow(2,-77):0,d=i?0:c-1,A=i?1:-1,E=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(g=isNaN(r)?1:0,l=w):(l=Math.floor(Math.log(r)/Math.LN2),r*(y=Math.pow(2,-l))<1&&(l--,y*=2),l+I>=1?r+=P/y:r+=P*Math.pow(2,1-I),r*y>=2&&(l++,y/=2),l+I>=w?(g=0,l=w):l+I>=1?(g=(r*y-1)*Math.pow(2,u),l=l+I):(g=r*Math.pow(2,I-1)*Math.pow(2,u),l=0));u>=8;o[a+d]=g&255,d+=A,g/=256,u-=8);for(l=l<<u|g,m+=u;m>0;o[a+d]=l&255,d+=A,l/=256,m-=8);o[a+d-A]|=E*128},ne}function mt(){if(Ce)return q;Ce=!0;let o=yt(),r=dt(),a=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;q.Buffer=l,q.SlowBuffer=U,q.INSPECT_MAX_BYTES=50;let i=2147483647;q.kMaxLength=i,l.TYPED_ARRAY_SUPPORT=u(),!l.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 u(){try{let n=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(n,e),n.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function c(n){if(n>i)throw new RangeError('The value "'+n+'" is invalid for option "size"');let e=new Uint8Array(n);return Object.setPrototypeOf(e,l.prototype),e}function l(n,e,t){if(typeof n=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return w(n)}return g(n,e,t)}l.poolSize=8192;function g(n,e,t){if(typeof n=="string")return I(n,e);if(ArrayBuffer.isView(n))return d(n);if(n==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n);if(j(n,ArrayBuffer)||n&&j(n.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(j(n,SharedArrayBuffer)||n&&j(n.buffer,SharedArrayBuffer)))return A(n,e,t);if(typeof n=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let s=n.valueOf&&n.valueOf();if(s!=null&&s!==n)return l.from(s,e,t);let f=E(n);if(f)return f;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof n[Symbol.toPrimitive]=="function")return l.from(n[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof n)}l.from=function(n,e,t){return g(n,e,t)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array);function y(n){if(typeof n!="number")throw new TypeError('"size" argument must be of type number');if(n<0)throw new RangeError('The value "'+n+'" is invalid for option "size"')}function m(n,e,t){return y(n),n<=0?c(n):e!==void 0?typeof t=="string"?c(n).fill(e,t):c(n).fill(e):c(n)}l.alloc=function(n,e,t){return m(n,e,t)};function w(n){return y(n),c(n<0?0:B(n)|0)}l.allocUnsafe=function(n){return w(n)},l.allocUnsafeSlow=function(n){return w(n)};function I(n,e){if((typeof e!="string"||e==="")&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);let t=x(n,e)|0,s=c(t),f=s.write(n,e);return f!==t&&(s=s.slice(0,f)),s}function P(n){let e=n.length<0?0:B(n.length)|0,t=c(e);for(let s=0;s<e;s+=1)t[s]=n[s]&255;return t}function d(n){if(j(n,Uint8Array)){let e=new Uint8Array(n);return A(e.buffer,e.byteOffset,e.byteLength)}return P(n)}function A(n,e,t){if(e<0||n.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(n.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');let s;return e===void 0&&t===void 0?s=new Uint8Array(n):t===void 0?s=new Uint8Array(n,e):s=new Uint8Array(n,e,t),Object.setPrototypeOf(s,l.prototype),s}function E(n){if(l.isBuffer(n)){let e=B(n.length)|0,t=c(e);return t.length===0||n.copy(t,0,0,e),t}if(n.length!==void 0)return typeof n.length!="number"||fe(n.length)?c(0):P(n);if(n.type==="Buffer"&&Array.isArray(n.data))return P(n.data)}function B(n){if(n>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return n|0}function U(n){return+n!=n&&(n=0),l.alloc(+n)}l.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==l.prototype},l.compare=function(e,t){if(j(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),j(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let s=e.length,f=t.length;for(let p=0,h=Math.min(s,f);p<h;++p)if(e[p]!==t[p]){s=e[p],f=t[p];break}return s<f?-1:f<s?1:0},l.isEncoding=function(e){switch(String(e).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}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return l.alloc(0);let s;if(t===void 0)for(t=0,s=0;s<e.length;++s)t+=e[s].length;let f=l.allocUnsafe(t),p=0;for(s=0;s<e.length;++s){let h=e[s];if(j(h,Uint8Array))p+h.length>f.length?(l.isBuffer(h)||(h=l.from(h)),h.copy(f,p)):Uint8Array.prototype.set.call(f,h,p);else if(l.isBuffer(h))h.copy(f,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=h.length}return f};function x(n,e){if(l.isBuffer(n))return n.length;if(ArrayBuffer.isView(n)||j(n,ArrayBuffer))return n.byteLength;if(typeof n!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof n);let t=n.length,s=arguments.length>2&&arguments[2]===!0;if(!s&&t===0)return 0;let f=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return ce(n).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Ue(n).length;default:if(f)return s?-1:ce(n).length;e=(""+e).toLowerCase(),f=!0}}l.byteLength=x;function S(n,e,t){let s=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(n||(n="utf8");;)switch(n){case"hex":return tt(this,e,t);case"utf8":case"utf-8":return Ie(this,e,t);case"ascii":return Ze(this,e,t);case"latin1":case"binary":return et(this,e,t);case"base64":return Je(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return rt(this,e,t);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(n+"").toLowerCase(),s=!0}}l.prototype._isBuffer=!0;function K(n,e,t){let s=n[e];n[e]=n[t],n[t]=s}l.prototype.swap16=function(){let e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)K(this,t,t+1);return this},l.prototype.swap32=function(){let e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)K(this,t,t+3),K(this,t+1,t+2);return this},l.prototype.swap64=function(){let e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)K(this,t,t+7),K(this,t+1,t+6),K(this,t+2,t+5),K(this,t+3,t+4);return this},l.prototype.toString=function(){let e=this.length;return e===0?"":arguments.length===0?Ie(this,0,e):S.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:l.compare(this,e)===0},l.prototype.inspect=function(){let e="",t=q.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},a&&(l.prototype[a]=l.prototype.inspect),l.prototype.compare=function(e,t,s,f,p){if(j(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),s===void 0&&(s=e?e.length:0),f===void 0&&(f=0),p===void 0&&(p=this.length),t<0||s>e.length||f<0||p>this.length)throw new RangeError("out of range index");if(f>=p&&t>=s)return 0;if(f>=p)return-1;if(t>=s)return 1;if(t>>>=0,s>>>=0,f>>>=0,p>>>=0,this===e)return 0;let h=p-f,b=s-t,O=Math.min(h,b),N=this.slice(f,p),T=e.slice(t,s);for(let v=0;v<O;++v)if(N[v]!==T[v]){h=N[v],b=T[v];break}return h<b?-1:b<h?1:0};function V(n,e,t,s,f){if(n.length===0)return-1;if(typeof t=="string"?(s=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,fe(t)&&(t=f?0:n.length-1),t<0&&(t=n.length+t),t>=n.length){if(f)return-1;t=n.length-1}else if(t<0)if(f)t=0;else return-1;if(typeof e=="string"&&(e=l.from(e,s)),l.isBuffer(e))return e.length===0?-1:we(n,e,t,s,f);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?f?Uint8Array.prototype.indexOf.call(n,e,t):Uint8Array.prototype.lastIndexOf.call(n,e,t):we(n,[e],t,s,f);throw new TypeError("val must be string, number or Buffer")}function we(n,e,t,s,f){let p=1,h=n.length,b=e.length;if(s!==void 0&&(s=String(s).toLowerCase(),s==="ucs2"||s==="ucs-2"||s==="utf16le"||s==="utf-16le")){if(n.length<2||e.length<2)return-1;p=2,h/=2,b/=2,t/=2}function O(T,v){return p===1?T[v]:T.readUInt16BE(v*p)}let N;if(f){let T=-1;for(N=t;N<h;N++)if(O(n,N)===O(e,T===-1?0:N-T)){if(T===-1&&(T=N),N-T+1===b)return T*p}else T!==-1&&(N-=N-T),T=-1}else for(t+b>h&&(t=h-b),N=t;N>=0;N--){let T=!0;for(let v=0;v<b;v++)if(O(n,N+v)!==O(e,v)){T=!1;break}if(T)return N}return-1}l.prototype.includes=function(e,t,s){return this.indexOf(e,t,s)!==-1},l.prototype.indexOf=function(e,t,s){return V(this,e,t,s,!0)},l.prototype.lastIndexOf=function(e,t,s){return V(this,e,t,s,!1)};function qe(n,e,t,s){t=Number(t)||0;let f=n.length-t;s?(s=Number(s),s>f&&(s=f)):s=f;let p=e.length;s>p/2&&(s=p/2);let h;for(h=0;h<s;++h){let b=parseInt(e.substr(h*2,2),16);if(fe(b))return h;n[t+h]=b}return h}function Xe(n,e,t,s){return re(ce(e,n.length-t),n,t,s)}function ze(n,e,t,s){return re(at(e),n,t,s)}function He(n,e,t,s){return re(Ue(e),n,t,s)}function Ye(n,e,t,s){return re(ut(e,n.length-t),n,t,s)}l.prototype.write=function(e,t,s,f){if(t===void 0)f="utf8",s=this.length,t=0;else if(s===void 0&&typeof t=="string")f=t,s=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(s)?(s=s>>>0,f===void 0&&(f="utf8")):(f=s,s=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let p=this.length-t;if((s===void 0||s>p)&&(s=p),e.length>0&&(s<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");f||(f="utf8");let h=!1;for(;;)switch(f){case"hex":return qe(this,e,t,s);case"utf8":case"utf-8":return Xe(this,e,t,s);case"ascii":case"latin1":case"binary":return ze(this,e,t,s);case"base64":return He(this,e,t,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ye(this,e,t,s);default:if(h)throw new TypeError("Unknown encoding: "+f);f=(""+f).toLowerCase(),h=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Je(n,e,t){return e===0&&t===n.length?o.fromByteArray(n):o.fromByteArray(n.slice(e,t))}function Ie(n,e,t){t=Math.min(n.length,t);let s=[],f=e;for(;f<t;){let p=n[f],h=null,b=p>239?4:p>223?3:p>191?2:1;if(f+b<=t){let O,N,T,v;switch(b){case 1:p<128&&(h=p);break;case 2:O=n[f+1],(O&192)===128&&(v=(p&31)<<6|O&63,v>127&&(h=v));break;case 3:O=n[f+1],N=n[f+2],(O&192)===128&&(N&192)===128&&(v=(p&15)<<12|(O&63)<<6|N&63,v>2047&&(v<55296||v>57343)&&(h=v));break;case 4:O=n[f+1],N=n[f+2],T=n[f+3],(O&192)===128&&(N&192)===128&&(T&192)===128&&(v=(p&15)<<18|(O&63)<<12|(N&63)<<6|T&63,v>65535&&v<1114112&&(h=v))}}h===null?(h=65533,b=1):h>65535&&(h-=65536,s.push(h>>>10&1023|55296),h=56320|h&1023),s.push(h),f+=b}return Qe(s)}let Ae=4096;function Qe(n){let e=n.length;if(e<=Ae)return String.fromCharCode.apply(String,n);let t="",s=0;for(;s<e;)t+=String.fromCharCode.apply(String,n.slice(s,s+=Ae));return t}function Ze(n,e,t){let s="";t=Math.min(n.length,t);for(let f=e;f<t;++f)s+=String.fromCharCode(n[f]&127);return s}function et(n,e,t){let s="";t=Math.min(n.length,t);for(let f=e;f<t;++f)s+=String.fromCharCode(n[f]);return s}function tt(n,e,t){let s=n.length;(!e||e<0)&&(e=0),(!t||t<0||t>s)&&(t=s);let f="";for(let p=e;p<t;++p)f+=lt[n[p]];return f}function rt(n,e,t){let s=n.slice(e,t),f="";for(let p=0;p<s.length-1;p+=2)f+=String.fromCharCode(s[p]+s[p+1]*256);return f}l.prototype.slice=function(e,t){let s=this.length;e=~~e,t=t===void 0?s:~~t,e<0?(e+=s,e<0&&(e=0)):e>s&&(e=s),t<0?(t+=s,t<0&&(t=0)):t>s&&(t=s),t<e&&(t=e);let f=this.subarray(e,t);return Object.setPrototypeOf(f,l.prototype),f};function R(n,e,t){if(n%1!==0||n<0)throw new RangeError("offset is not uint");if(n+e>t)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,s){e=e>>>0,t=t>>>0,s||R(e,t,this.length);let f=this[e],p=1,h=0;for(;++h<t&&(p*=256);)f+=this[e+h]*p;return f},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,s){e=e>>>0,t=t>>>0,s||R(e,t,this.length);let f=this[e+--t],p=1;for(;t>0&&(p*=256);)f+=this[e+--t]*p;return f},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e=e>>>0,t||R(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||R(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||R(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||R(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readBigUInt64LE=D(function(e){e=e>>>0,Y(e,"offset");let t=this[e],s=this[e+7];(t===void 0||s===void 0)&&Z(e,this.length-8);let f=t+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,p=this[++e]+this[++e]*2**8+this[++e]*2**16+s*2**24;return BigInt(f)+(BigInt(p)<<BigInt(32))}),l.prototype.readBigUInt64BE=D(function(e){e=e>>>0,Y(e,"offset");let t=this[e],s=this[e+7];(t===void 0||s===void 0)&&Z(e,this.length-8);let f=t*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],p=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+s;return(BigInt(f)<<BigInt(32))+BigInt(p)}),l.prototype.readIntLE=function(e,t,s){e=e>>>0,t=t>>>0,s||R(e,t,this.length);let f=this[e],p=1,h=0;for(;++h<t&&(p*=256);)f+=this[e+h]*p;return p*=128,f>=p&&(f-=Math.pow(2,8*t)),f},l.prototype.readIntBE=function(e,t,s){e=e>>>0,t=t>>>0,s||R(e,t,this.length);let f=t,p=1,h=this[e+--f];for(;f>0&&(p*=256);)h+=this[e+--f]*p;return p*=128,h>=p&&(h-=Math.pow(2,8*t)),h},l.prototype.readInt8=function(e,t){return e=e>>>0,t||R(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},l.prototype.readInt16LE=function(e,t){e=e>>>0,t||R(e,2,this.length);let s=this[e]|this[e+1]<<8;return s&32768?s|4294901760:s},l.prototype.readInt16BE=function(e,t){e=e>>>0,t||R(e,2,this.length);let s=this[e+1]|this[e]<<8;return s&32768?s|4294901760:s},l.prototype.readInt32LE=function(e,t){return e=e>>>0,t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e=e>>>0,t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readBigInt64LE=D(function(e){e=e>>>0,Y(e,"offset");let t=this[e],s=this[e+7];(t===void 0||s===void 0)&&Z(e,this.length-8);let f=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(s<<24);return(BigInt(f)<<BigInt(32))+BigInt(t+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24)}),l.prototype.readBigInt64BE=D(function(e){e=e>>>0,Y(e,"offset");let t=this[e],s=this[e+7];(t===void 0||s===void 0)&&Z(e,this.length-8);let f=(t<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(f)<<BigInt(32))+BigInt(this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+s)}),l.prototype.readFloatLE=function(e,t){return e=e>>>0,t||R(e,4,this.length),r.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e=e>>>0,t||R(e,4,this.length),r.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||R(e,8,this.length),r.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||R(e,8,this.length),r.read(this,e,!1,52,8)};function k(n,e,t,s,f,p){if(!l.isBuffer(n))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>f||e<p)throw new RangeError('"value" argument is out of bounds');if(t+s>n.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,s,f){if(e=+e,t=t>>>0,s=s>>>0,!f){let b=Math.pow(2,8*s)-1;k(this,e,t,s,b,0)}let p=1,h=0;for(this[t]=e&255;++h<s&&(p*=256);)this[t+h]=e/p&255;return t+s},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,s,f){if(e=+e,t=t>>>0,s=s>>>0,!f){let b=Math.pow(2,8*s)-1;k(this,e,t,s,b,0)}let p=s-1,h=1;for(this[t+p]=e&255;--p>=0&&(h*=256);)this[t+p]=e/h&255;return t+s},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,1,255,0),this[t]=e&255,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function be(n,e,t,s,f){Ne(e,s,f,n,t,7);let p=Number(e&BigInt(4294967295));n[t++]=p,p=p>>8,n[t++]=p,p=p>>8,n[t++]=p,p=p>>8,n[t++]=p;let h=Number(e>>BigInt(32)&BigInt(4294967295));return n[t++]=h,h=h>>8,n[t++]=h,h=h>>8,n[t++]=h,h=h>>8,n[t++]=h,t}function Ee(n,e,t,s,f){Ne(e,s,f,n,t,7);let p=Number(e&BigInt(4294967295));n[t+7]=p,p=p>>8,n[t+6]=p,p=p>>8,n[t+5]=p,p=p>>8,n[t+4]=p;let h=Number(e>>BigInt(32)&BigInt(4294967295));return n[t+3]=h,h=h>>8,n[t+2]=h,h=h>>8,n[t+1]=h,h=h>>8,n[t]=h,t+8}l.prototype.writeBigUInt64LE=D(function(e,t=0){return be(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=D(function(e,t=0){return Ee(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(e,t,s,f){if(e=+e,t=t>>>0,!f){let O=Math.pow(2,8*s-1);k(this,e,t,s,O-1,-O)}let p=0,h=1,b=0;for(this[t]=e&255;++p<s&&(h*=256);)e<0&&b===0&&this[t+p-1]!==0&&(b=1),this[t+p]=(e/h>>0)-b&255;return t+s},l.prototype.writeIntBE=function(e,t,s,f){if(e=+e,t=t>>>0,!f){let O=Math.pow(2,8*s-1);k(this,e,t,s,O-1,-O)}let p=s-1,h=1,b=0;for(this[t+p]=e&255;--p>=0&&(h*=256);)e<0&&b===0&&this[t+p+1]!==0&&(b=1),this[t+p]=(e/h>>0)-b&255;return t+s},l.prototype.writeInt8=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1},l.prototype.writeInt16LE=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2},l.prototype.writeInt32LE=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4},l.prototype.writeBigInt64LE=D(function(e,t=0){return be(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=D(function(e,t=0){return Ee(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Be(n,e,t,s,f,p){if(t+s>n.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function ve(n,e,t,s,f){return e=+e,t=t>>>0,f||Be(n,e,t,4),r.write(n,e,t,s,23,4),t+4}l.prototype.writeFloatLE=function(e,t,s){return ve(this,e,t,!0,s)},l.prototype.writeFloatBE=function(e,t,s){return ve(this,e,t,!1,s)};function Pe(n,e,t,s,f){return e=+e,t=t>>>0,f||Be(n,e,t,8),r.write(n,e,t,s,52,8),t+8}l.prototype.writeDoubleLE=function(e,t,s){return Pe(this,e,t,!0,s)},l.prototype.writeDoubleBE=function(e,t,s){return Pe(this,e,t,!1,s)},l.prototype.copy=function(e,t,s,f){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(s||(s=0),!f&&f!==0&&(f=this.length),t>=e.length&&(t=e.length),t||(t=0),f>0&&f<s&&(f=s),f===s||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(s<0||s>=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),e.length-t<f-s&&(f=e.length-t+s);let p=f-s;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,s,f):Uint8Array.prototype.set.call(e,this.subarray(s,f),t),p},l.prototype.fill=function(e,t,s,f){if(typeof e=="string"){if(typeof t=="string"?(f=t,t=0,s=this.length):typeof s=="string"&&(f=s,s=this.length),f!==void 0&&typeof f!="string")throw new TypeError("encoding must be a string");if(typeof f=="string"&&!l.isEncoding(f))throw new TypeError("Unknown encoding: "+f);if(e.length===1){let h=e.charCodeAt(0);(f==="utf8"&&h<128||f==="latin1")&&(e=h)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(t<0||this.length<t||this.length<s)throw new RangeError("Out of range index");if(s<=t)return this;t=t>>>0,s=s===void 0?this.length:s>>>0,e||(e=0);let p;if(typeof e=="number")for(p=t;p<s;++p)this[p]=e;else{let h=l.isBuffer(e)?e:l.from(e,f),b=h.length;if(b===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(p=0;p<s-t;++p)this[p+t]=h[p%b]}return this};let H={};function se(n,e,t){H[n]=class extends t{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${n}]`,this.stack,delete this.name}get code(){return n}set code(f){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:f,writable:!0})}toString(){return`${this.name} [${n}]: ${this.message}`}}}se("ERR_BUFFER_OUT_OF_BOUNDS",function(n){return n?`${n} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),se("ERR_INVALID_ARG_TYPE",function(n,e){return`The "${n}" argument must be of type number. Received type ${typeof e}`},TypeError),se("ERR_OUT_OF_RANGE",function(n,e,t){let s=`The value of "${n}" is out of range.`,f=t;return Number.isInteger(t)&&Math.abs(t)>2**32?f=xe(String(t)):typeof t=="bigint"&&(f=String(t),(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(f=xe(f)),f+="n"),s+=` It must be ${e}. Received ${f}`,s},RangeError);function xe(n){let e="",t=n.length,s=n[0]==="-"?1:0;for(;t>=s+4;t-=3)e=`_${n.slice(t-3,t)}${e}`;return`${n.slice(0,t)}${e}`}function nt(n,e,t){Y(e,"offset"),(n[e]===void 0||n[e+t]===void 0)&&Z(e,n.length-(t+1))}function Ne(n,e,t,s,f,p){if(n>t||n<e){let h=typeof e=="bigint"?"n":"",b;throw p>3?e===0||e===BigInt(0)?b=`>= 0${h} and < 2${h} ** ${(p+1)*8}${h}`:b=`>= -(2${h} ** ${(p+1)*8-1}${h}) and < 2 ** ${(p+1)*8-1}${h}`:b=`>= ${e}${h} and <= ${t}${h}`,new H.ERR_OUT_OF_RANGE("value",b,n)}nt(s,f,p)}function Y(n,e){if(typeof n!="number")throw new H.ERR_INVALID_ARG_TYPE(e,"number",n)}function Z(n,e,t){throw Math.floor(n)!==n?(Y(n,t),new H.ERR_OUT_OF_RANGE(t||"offset","an integer",n)):e<0?new H.ERR_BUFFER_OUT_OF_BOUNDS:new H.ERR_OUT_OF_RANGE(t||"offset",`>= ${t?1:0} and <= ${e}`,n)}let it=/[^+/0-9A-Za-z-_]/g;function ot(n){if(n=n.split("=")[0],n=n.trim().replace(it,""),n.length<2)return"";for(;n.length%4!==0;)n=n+"=";return n}function ce(n,e){e=e||1/0;let t,s=n.length,f=null,p=[];for(let h=0;h<s;++h){if(t=n.charCodeAt(h),t>55295&&t<57344){if(!f){if(t>56319){(e-=3)>-1&&p.push(239,191,189);continue}else if(h+1===s){(e-=3)>-1&&p.push(239,191,189);continue}f=t;continue}if(t<56320){(e-=3)>-1&&p.push(239,191,189),f=t;continue}t=(f-55296<<10|t-56320)+65536}else f&&(e-=3)>-1&&p.push(239,191,189);if(f=null,t<128){if((e-=1)<0)break;p.push(t)}else if(t<2048){if((e-=2)<0)break;p.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;p.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;p.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return p}function at(n){let e=[];for(let t=0;t<n.length;++t)e.push(n.charCodeAt(t)&255);return e}function ut(n,e){let t,s,f,p=[];for(let h=0;h<n.length&&!((e-=2)<0);++h)t=n.charCodeAt(h),s=t>>8,f=t%256,p.push(f),p.push(s);return p}function Ue(n){return o.toByteArray(ot(n))}function re(n,e,t,s){let f;for(f=0;f<s&&!(f+t>=e.length||f>=n.length);++f)e[f+t]=n[f];return f}function j(n,e){return n instanceof e||n!=null&&n.constructor!=null&&n.constructor.name!=null&&n.constructor.name===e.name}function fe(n){return n!==n}let lt=function(){let n="0123456789abcdef",e=new Array(256);for(let t=0;t<16;++t){let s=t*16;for(let f=0;f<16;++f)e[s+f]=n[t]+n[f]}return e}();function D(n){return typeof BigInt>"u"?st:n}function st(){throw new Error("BigInt not supported")}return q}var ee,Re,ne,Le,q,Ce,X,$,Kt,jt,Me=J(()=>{L();M();C();ee={},Re=!1;ne={},Le=!1;q={},Ce=!1;X=mt();X.Buffer;X.SlowBuffer;X.INSPECT_MAX_BYTES;X.kMaxLength;$=X.Buffer,Kt=X.INSPECT_MAX_BYTES,jt=X.kMaxLength});var M=J(()=>{Me()});var Fe={};Oe(Fe,{default:()=>Pt});var Pt,$e=J(()=>{L();M();C();Pt={}});var Ot={};Oe(Ot,{browserslistToTargets:()=>de,init:()=>me,transform:()=>We,transformStyleAttribute:()=>Ge});L();M();C();L();M();C();L();M();C();var Ve=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array],_=[],ie=class{scopes=[];referenceId=1;references=new Map;wrappedObjects=new WeakMap;externalObjects=new WeakMap;buffers=new Map;instanceData=0;pendingException=null;constructor(r){this.id=_.length,_.push(this),this.instance=r,this.table=r.exports.__indirect_function_table,this.exports={},this.pushScope();let a=this.scopes[this.scopes.length-1],i=a.length;a.push(this.exports);try{this.instance.exports.napi_register_module_v1(this.id,i),this.instance.exports.napi_register_wasm_v1&&this.instance.exports.napi_register_wasm_v1(this.id,i)}finally{if(this.popScope(),this.pendingException){let u=this.pendingException;throw this.pendingException=null,u}}}destroy(){_[this.id]=void 0}getString(r,a=bt(this.memory,r)){return ke.decode(this.memory.subarray(r,r+a))}pushScope(){let r=this.scopes.length;return this.scopes.push([void 0,null,globalThis,!0,!1]),r}popScope(){this.scopes.pop();for(let[r,a]of this.buffers)r.byteLength&&a.byteLength&&r.set(a);this.buffers.clear()}get(r){return this.scopes[this.scopes.length-1][r]}set(r,a){this.scopes[this.scopes.length-1][r]=a}pushValue(r){let a=this.scopes[this.scopes.length-1],i=a.length;return a.push(r),i}createValue(r,a){if(typeof r=="boolean")return this.setPointer(a,r?3:4),0;if(typeof r>"u")return this.setPointer(a,0),0;if(r===null)return this.setPointer(a,1),0;if(r===globalThis)return this.setPointer(a,2),0;let i=this.pushValue(r);return this.setPointer(a,i),0}setPointer(r,a){return this.u32[r>>2]=a,0}_u32=new Uint32Array;get u32(){return this._u32.byteLength===0&&(this._u32=new Uint32Array(this.instance.exports.memory.buffer)),this._u32}_i32=new Int32Array;get i32(){return this._i32.byteLength===0&&(this._i32=new Int32Array(this.instance.exports.memory.buffer)),this._i32}_u16=new Uint16Array;get u16(){return this._u16.byteLength===0&&(this._u16=new Uint16Array(this.instance.exports.memory.buffer)),this._u16}_u64=new BigUint64Array;get u64(){return this._u64.byteLength===0&&(this._u64=new BigUint64Array(this.instance.exports.memory.buffer)),this._u64}_i64=new BigInt64Array;get i64(){return this._i64.byteLength===0&&(this._i64=new BigInt64Array(this.instance.exports.memory.buffer)),this._i64}_f64=new Float64Array;get f64(){return this._f64.byteLength===0&&(this._f64=new Float64Array(this.instance.exports.memory.buffer)),this._f64}_buf=new Uint8Array;get memory(){return this._buf.byteLength===0&&(this._buf=new Uint8Array(this.instance.exports.memory.buffer)),this._buf}getBufferInfo(r,a){if(this.buffers.has(r)){let u=this.buffers.get(r);return this.setPointer(a,u.byteOffset),u.byteLength}if(r instanceof ArrayBuffer){let u=this.copyBuffer(new Uint8Array(r));return this.setPointer(a,u.byteOffset),u.byteLength}if(r.buffer===this.instance.exports.memory.buffer)return this.setPointer(a,r.byteOffset),r.byteLength;let i=this.copyBuffer(new Uint8Array(r.buffer,r.byteOffset,r.byteLength));return this.setPointer(a,i.byteOffset),i.byteLength}copyBuffer(r){let a=this.instance.exports.napi_wasm_malloc(r.byteLength),i=this.memory;i.set(r,a);let u=i.subarray(a,a+r.byteLength);return this.buffers.set(r,u),u}createFunction(r,a){let i=this,u=i.table.get(r);return function(...l){let g=i.pushScope();try{let y=i.scopes[g],m=y.length;y.push({thisArg:this,args:l,data:a,newTarget:new.target});let w=u(i.id,m);return i.get(w)}finally{if(i.popScope(),i.pendingException){let y=i.pendingException;throw i.pendingException=null,y}}}}readPropertyDescriptor(r){let a=this.u32,i=a[r++],u=a[r++],c=a[r++],l=a[r++],g=a[r++],y=a[r++],m=a[r++],w=a[r++],I=i?this.getString(i):this.get(u),P=!!(m&1),d=!!(m&2),A=!!(m&4),E=!!(m&1024),B=l?this.createFunction(l,w):void 0,U=g?this.createFunction(g,w):void 0,x=c?this.createFunction(c,w):y?this.get(y):void 0,S={name:I,static:E,configurable:A,enumerable:d};return B||U?(S.get=B,S.set=U):x&&(S.writable=P,S.value=x),S}},ke=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),wt=new TextDecoder("latin1"),It=new TextDecoder("utf-16"),At=new TextEncoder,z=class{constructor(r,a,i,u){this.env=r,this.finalize=a,this.hint=i,this.data=u}},Q=new FinalizationRegistry(o=>{o.finalize&&o.finalize(o.env,o.data,o.hint)}),oe=class{},te=[],ge=class{constructor(r,a,i,u){this.env=r,this.fn=a,this.nativeFn=i,this.context=u,this.id=te.length,te.push(this)}},ae={napi_open_handle_scope(o,r){let a=_[o],i=a.pushScope();return a.setPointer(r,i)},napi_close_handle_scope(o,r){let a=_[o];return r!==a.scopes.length-1?13:(a.popScope(),0)},napi_open_escapable_handle_scope(o,r){throw new Error("not implemented")},napi_close_escapable_handle_scope(o,r){throw new Error("not implemented")},napi_escape_handle(o,r,a,i){throw new Error("not implemented")},napi_create_object(o,r){return _[o].createValue({},r)},napi_set_property(o,r,a,i){let u=_[o],c=u.get(r),l=u.get(a),g=u.get(i);return c[l]=g,0},napi_get_property(o,r,a,i){let u=_[o],c=u.get(r),l=u.get(a);return u.createValue(c[l],i)},napi_delete_property(o,r,a,i){let u=_[o],c=u.get(r),l=u.get(a),g=!1;try{g=delete c[l]}catch{}return i&&(u.memory[i]=g?1:0),0},napi_has_property(o,r,a,i){let u=_[o],c=u.get(r),l=u.get(a);return u.memory[i]=l in c?1:0,0},napi_has_own_property(o,r,a,i){let u=_[o],c=u.get(r),l=u.get(a);return u.memory[i]=c.hasOwnProperty(l)?1:0,0},napi_set_named_property(o,r,a,i){let u=_[o],c=u.get(r),l=u.get(i),g=u.getString(a);return c[g]=l,0},napi_get_named_property(o,r,a,i){let u=_[o],c=u.get(r),l=u.getString(a);return u.createValue(c[l],i)},napi_has_named_property(o,r,a,i){let u=_[o],c=u.get(r),l=u.getString(a);return u.memory[i]=l in c?1:0,0},napi_get_property_names(o,r,a){let i=_[o],u=i.get(r),c=Object.keys(u);return i.createValue(c,a)},napi_get_all_property_names(o,r,a,i,u,c){throw new Error("not implemented")},napi_define_properties(o,r,a,i){let u=_[o],c=u.get(r),l=i>>2;for(let g=0;g<a;g++){let y=u.readPropertyDescriptor(l);Object.defineProperty(c,y.name,y),l+=8}return 0},napi_object_freeze(o,r){let i=_[o].get(r);return Object.freeze(i),0},napi_object_seal(o,r){let i=_[o].get(r);return Object.seal(i),0},napi_get_prototype(o,r,a){let i=_[o],u=i.get(r);return i.createValue(Object.getPrototypeOf(u),a)},napi_define_class(o,r,a,i,u,c,l,g){let y=_[o],m=y.createFunction(i,u);Object.defineProperty(m,"name",{value:y.getString(r,a),configurable:!0});let w=l>>2;for(let I=0;I<c;I++){let P=y.readPropertyDescriptor(w);P.static?Object.defineProperty(m,P.name,P):Object.defineProperty(m.prototype,P.name,P),w+=8}return y.createValue(m,g)},napi_create_reference(o,r,a,i){let u=_[o],c=u.referenceId++;return u.references.set(c,{value:u.get(r),refcount:a}),u.setPointer(i,c)},napi_delete_reference(o,r){return _[o].references.delete(r),0},napi_get_reference_value(o,r,a){let i=_[o],u=i.references.get(r);return i.createValue(u.value,a)},napi_reference_ref(o,r,a){let i=_[o],u=i.references.get(r);return u.refcount++,i.setPointer(a,u.refcount)},napi_reference_unref(o,r,a){let i=_[o],u=i.references.get(r);return u.refcount===0?9:(u.refcount--,i.setPointer(a,u.refcount))},napi_add_env_cleanup_hook(){return 0},napi_remove_env_cleanup_hook(){return 0},napi_add_async_cleanup_hook(){return 0},napi_remove_async_cleanup_hook(){return 0},napi_set_instance_data(o,r,a,i){let u=_[o];return u.instanceData=r,0},napi_get_instance_data(o,r){let a=_[o];return a.setPointer(r,a.instanceData)},napi_get_boolean(o,r,a){return _[o].setPointer(a,r?3:4)},napi_get_value_bool(o,r,a){let i=_[o],u=i.get(r);return i.memory[a]=u?1:0,0},napi_create_int32(o,r,a){return _[o].createValue(r,a)},napi_get_value_int32(o,r,a){let i=_[o],u=i.get(r);return i.i32[a>>2]=u,0},napi_create_uint32(o,r,a){return _[o].createValue(r,a)},napi_get_value_uint32(o,r,a){let i=_[o],u=i.get(r);return i.setPointer(a,u)},napi_create_int64(o,r,a){return _[o].createValue(Number(r),a)},napi_get_value_int64(o,r,a){let i=_[o],u=i.get(r);return i.i64[a>>3]=u,0},napi_create_double(o,r,a){return _[o].createValue(r,a)},napi_get_value_double(o,r,a){let i=_[o],u=i.get(r);return i.f64[a>>3]=u,0},napi_create_bigint_int64(o,r,a){return _[o].createValue(BigInt.asIntN(64,r),a)},napi_get_value_bigint_int64(o,r,a,i){let u=_[o],c=u.get(r);return u.i64[a>>3]=c,i&&(u.memory[i]=BigInt.asIntN(64,c)===c?1:0),0},napi_create_bigint_uint64(o,r,a){return _[o].createValue(BigInt.asUintN(64,r),a)},napi_get_value_bigint_uint64(o,r,a,i){let u=_[o],c=u.get(r);return u.u64[a>>3]=c,i&&(u.memory[i]=BigInt.asUintN(64,c)===c?1:0),0},napi_create_bigint_words(o,r,a,i,u){let c=_[o],l=c.u64,g=i>>3,y=0n,m=0n;for(let w=0;w<a;w++){let I=l[g++];y+=I<<m,m+=64n}return y*=BigInt((-1)**r),c.createValue(y,u)},napi_get_value_bigint_words(o,r,a,i,u){let c=_[o],l=c.get(r),g=c.u32[i>>2];a&&(c.i32[a]=l<0n?1:0);let y=0;if(u){let m=(1n<<64n)-1n,w=c.u64,I=u>>3;for(l<0n&&(l=-l);y<g&&l!==0n;y++)w[I++]=l&m,l>>=64n}for(;l>0n;)y++,l>>=64n;return c.setPointer(i,y)},napi_get_null(o,r){return _[o].setPointer(r,1)},napi_create_array(o,r){return _[o].createValue([],r)},napi_create_array_with_length(o,r,a){return _[o].createValue(new Array(r),a)},napi_set_element(o,r,a,i){let u=_[o],c=u.get(r),l=u.get(i);return c[a]=l,0},napi_get_element(o,r,a,i){let u=_[o],l=u.get(r)[a];return u.createValue(l,i)},napi_has_element(o,r,a,i){let u=_[o],c=u.get(r);return u.memory[i]=c.hasOwnProperty(a)?1:0,0},napi_delete_element(o,r,a,i){let u=_[o],c=u.get(r),l=!1;try{l=delete c[a]}catch{}return i&&(u.memory[i]=l?1:0),0},napi_get_array_length(o,r,a){let i=_[o],u=i.get(r);return i.setPointer(a,u.length)},napi_get_undefined(o,r){return _[o].setPointer(r,0)},napi_create_function(o,r,a,i,u,c){let l=_[o],g=l.createFunction(i,u);return Object.defineProperty(g,"name",{value:l.getString(r,a),configurable:!0}),l.createValue(g,c)},napi_call_function(o,r,a,i,u,c){let l=_[o],g=l.get(r),y=l.get(a),m=new Array(i),w=l.u32;for(let I=0;I<i;I++)m[I]=l.get(w[u>>2]),u+=4;try{let I=y.apply(g,m);return l.createValue(I,c)}catch(I){return l.pendingException=I,10}},napi_new_instance(o,r,a,i,u){let c=_[o],l=c.get(r),g=new Array(a),y=c.u32;for(let m=0;m<a;m++)g[m]=c.get(y[i>>2]),i+=4;try{let m=new l(...g);return c.createValue(m,u)}catch(m){return c.pendingException=m,10}},napi_get_cb_info(o,r,a,i,u,c){let l=_[o],g=l.get(r);l.setPointer(a,g.args.length);for(let y=0;y<g.args.length;y++)l.createValue(g.args[y],i),i+=4;return l.createValue(g.thisArg,u),l.setPointer(c,g.data),0},napi_get_new_target(o,r,a){let i=_[o],u=i.get(r);return i.createValue(u.newTarget,a)},napi_create_threadsafe_function(o,r,a,i,u,c,l,g,y,m,w){let I=_[o],P=r?I.get(r):void 0,d=m?I.table.get(m):void 0,A=new ge(I,P,d,y);if(g){let E=I.table.get(g);Q.register(A,new z(o,E,0,A.id))}return I.setPointer(w,A.id),0},napi_ref_threadsafe_function(){return 0},napi_unref_threadsafe_function(){return 0},napi_acquire_threadsafe_function(){return 0},napi_release_threadsafe_function(o,r){return te[o]=void 0,0},napi_call_threadsafe_function(o,r,a){let i=te[o];i.env.pushScope();try{if(i.nativeFn){let u=i.fn?i.env.pushValue(i.fn):0;i.nativeFn(i.env.id,u,i.context,r)}else i.fn&&i.fn()}finally{i.env.popScope()}},napi_get_threadsafe_function_context(o,r){let a=te[o];return a.env.setPointer(r,a.context),0},napi_throw(o,r){let a=_[o];return a.pendingException=a.get(r),0},napi_throw_error(o,r,a){let i=_[o],u=new Error(i.getString(a));return u.code=r,i.pendingException=u,0},napi_throw_type_error(o,r,a){let i=_[o],u=new TypeError(i.getString(a));return u.code=r,i.pendingException=u,0},napi_throw_range_error(o,r,a){let i=_[o],u=new RangeError(i.getString(a));return u.code=r,i.pendingException=u,0},napi_create_error(o,r,a,i){let u=_[o],c=new Error(u.get(a));return c.code=u.get(r),u.createValue(c,i)},napi_create_type_error(o,r,a,i){let u=_[o],c=new TypeError(u.get(a));return c.code=u.get(r),u.createValue(c,i)},napi_create_range_error(o,r,a,i){let u=_[o],c=new RangeError(u.get(a));return c.code=u.get(r),u.createValue(c,i)},napi_get_and_clear_last_exception(o,r){let a=_[o],i=a.pendingException;return a.pendingException=null,a.createValue(i,r)},napi_is_exception_pending(o,r){let a=_[o];return a.memory[r]=a.pendingException?1:0,0},napi_fatal_exception(o,r){throw new Error("not implemented")},napi_fatal_error(o,r,a,i){throw new Error("not implemented")},napi_get_global(o,r){return _[o].setPointer(r,2)},napi_create_buffer(o,r,a,i){let u=_[o],c=u.instance.exports.napi_wasm_malloc(r);a&&u.setPointer(a,c);let l=typeof globalThis.Buffer<"u"?globalThis.Buffer.from(u.memory.buffer,c,r):u.memory.subarray(c,c+r);return u.createValue(l,i)},napi_create_buffer_copy(o,r,a,i,u){let c=_[o],l=c.instance.exports.napi_wasm_malloc(r);c.memory.set(c.memory.subarray(a,a+r),l),i&&c.setPointer(i,l);let g=typeof globalThis.Buffer<"u"?globalThis.Buffer.from(c.memory.buffer,l,r):buf;return c.createValue(g,u)},napi_create_external_buffer(o,r,a,i,u,c){let l=_[o],g=typeof globalThis.Buffer<"u"?globalThis.Buffer.from(l.memory.buffer,a,r):l.memory.subarray(a,a+r);if(i){let y=l.table.get(i);Q.register(g,new z(o,y,u,a))}return l.createValue(g,c)},napi_get_buffer_info(o,r,a,i){let u=_[o],c=u.get(r),l=u.getBufferInfo(c,a);return u.setPointer(i,l)},napi_create_arraybuffer(o,r,a,i){let u=_[o],c=new ArrayBuffer(r);return a&&u.getBufferInfo(c,ptr),u.createValue(c,i)},napi_create_external_arraybuffer(o,r,a,i,u,c){return 22},napi_get_arraybuffer_info(o,r,a,i){let u=_[o],c=u.getBufferInfo(u.get(r),a);return u.setPointer(i,c)},napi_detach_arraybuffer(o,r){let i=_[o].get(r);return typeof structuredClone=="function"&&structuredClone(i,{transfer:[i]}),0},napi_is_detached_arraybuffer(o,r,a){let i=_[o],u=i.get(r);return i.memory[a]=u.byteLength===0?1:0,0},napi_create_typedarray(o,r,a,i,u,c){let l=_[o],g=Ve[r],y=l.get(i),m=new g(y,u,a);return l.createValue(m,c)},napi_create_dataview(o,r,a,i,u){let c=_[o],l=c.get(a),g=new DataView(l,i,r);return c.createValue(g,u)},napi_get_typedarray_info(o,r,a,i,u,c,l){let g=_[o],y=g.get(r);return g.setPointer(a,Ve.indexOf(y.constructor)),g.setPointer(i,y.length),g.getBufferInfo(y,u),g.createValue(y.buffer,c),g.setPointer(l,y.byteOffset)},napi_get_dataview_info(o,r,a,i,u,c){let l=_[o],g=l.get(r);return l.setPointer(a,g.byteLength),l.getBufferInfo(g,i),l.createValue(g.buffer,u),l.setPointer(c,g.byteOffset)},napi_create_string_utf8(o,r,a,i){let u=_[o],c=ke.decode(u.memory.subarray(r,r+a));return u.createValue(c,i)},napi_get_value_string_utf8(o,r,a,i,u){let c=_[o],l=c.get(r);if(a==0)return c.setPointer(u,Et(l));let g=At.encodeInto(l,c.memory.subarray(a,a+i-1));return c.memory[a+g.written]=0,c.setPointer(u,g.written)},napi_create_string_latin1(o,r,a,i){let u=_[o],c=wt.decode(u.memory.subarray(r,r+a));return u.createValue(c,i)},napi_get_value_string_latin1(o,r,a,i,u){let c=_[o],l=c.get(r);if(a==0)return c.setPointer(u,l.length);let g=c.memory,y=Math.min(l.length,i-1);for(let m=0;m<y;m++){let w=l.charCodeAt(m);g[a++]=w}return g[a]=0,c.setPointer(u,y)},napi_create_string_utf16(o,r,a,i){let u=_[o],c=It.decode(u.memory.subarray(r,r+a*2));return u.createValue(c,i)},napi_get_value_string_utf16(o,r,a,i,u){let c=_[o],l=c.get(r);if(a==0)return c.setPointer(u,l.length);let g=c.u16,y=a>>1,m=Math.min(l.length,i-1);for(let w=0;w<m;w++){let I=l.charCodeAt(w);g[y++]=I}return g[y]=0,c.setPointer(u,m)},napi_create_date(o,r,a){return _[o].createValue(new Date(r),a)},napi_get_date_value(o,r,a){let i=_[o],u=i.get(r);i.f64[a>>3]=u.valueOf()},napi_create_symbol(o,r,a){let i=_[o],u=i.get(r);return i.createValue(Symbol(u),a)},napi_coerce_to_bool(o,r,a){let i=_[o];return i.createValue(!!i.get(r),a)},napi_coerce_to_number(o,r,a){let i=_[o];return i.createValue(Number(i.get(r)),a)},napi_coerce_to_object(o,r,a){let i=_[o];return i.createValue(Object(i.get(r)),a)},napi_coerce_to_string(o,r,a){let i=_[o];return i.createValue(String(i.get(r)),a)},napi_typeof(o,r,a){let i=_[o],u=i.get(r);return i.setPointer(a,(()=>{switch(typeof u){case"undefined":return 0;case"boolean":return 2;case"number":return 3;case"string":return 4;case"symbol":return 5;case"object":return u===null?1:u instanceof oe?8:6;case"function":return 7;case"bigint":return 9}})())},napi_instanceof(o,r,a,i){let u=_[o],c=u.get(r),l=u.get(a);return u.memory[i]=c instanceof l?1:0,0},napi_is_array(o,r,a){let i=_[o],u=i.get(r);return i.memory[a]=Array.isArray(u)?1:0,0},napi_is_buffer(o,r,a){let i=_[o],u=i.get(r);return i.memory[a]=(typeof globalThis.Buffer<"u"?globalThis.Buffer.isBuffer(u):u instanceof Uint8Array)?1:0,0},napi_is_date(o,r,a){let i=_[o],u=i.get(r);return i.memory[a]=u instanceof Date?1:0,0},napi_is_error(o,r,a){let i=_[o],u=i.get(r);return i.memory[a]=u instanceof Error?1:0,0},napi_is_typedarray(o,r,a){let i=_[o],u=i.get(r);return i.memory[a]=ArrayBuffer.isView(u)&&!(u instanceof DataView)?1:0,0},napi_is_dataview(o,r,a){let i=_[o],u=i.get(r);return i.memory[a]=u instanceof DataView?1:0,0},napi_strict_equals(o,r,a,i){let u=_[o];return u.memory[i]=u.get(r)===u.get(a)?1:0,0},napi_wrap(o,r,a,i,u,c){let l=_[o],g=l.get(r);if(l.wrappedObjects.set(g,a),i){let y=l.table.get(i);Q.register(g,new z(o,y,u,a))}return c?ae.napi_create_reference(o,r,1,c):0},napi_unwrap(o,r,a){let i=_[o],u=i.get(r),c=i.wrappedObjects.get(u);return i.setPointer(a,c),0},napi_remove_wrap(o,r,a){let i=_[o],u=i.get(r),c=i.wrappedObjects.get(u);return Q.unregister(u),i.wrappedObjects.delete(u),i.setPointer(a,c)},napi_type_tag_object(o,r,a){throw new Error("not implemented")},napi_check_object_type_tag(o,r,a){throw new Error("not implemented")},napi_add_finalizer(o,r,a,i,u,c){let l=_[o],g=l.get(r),y=l.table.get(i);return Q.register(g,new z(o,y,u,a)),c?ae.napi_create_reference(o,r,1,c):0},napi_create_promise(o,r,a){let i=_[o],u=new Promise((c,l)=>{i.createValue({resolve:c,reject:l},r)});return i.createValue(u,a)},napi_resolve_deferred(o,r,a){let i=_[o],{resolve:u}=i.get(r),c=i.get(a);return u(c),i.set(r,void 0),0},napi_reject_deferred(o,r,a){let i=_[o],{reject:u}=i.get(r),c=i.get(a);return u(c),i.set(r,void 0),0},napi_is_promise(o,r,a){let i=_[o],u=i.get(r);return i.memory[a]=u instanceof Promise?1:0,0},napi_run_script(o,r,a){let i=_[o],u=i.get(r),c=(0,eval)(u);return i.createValue(c,a)},napi_create_external(o,r,a,i,u){let c=_[o],l=new oe;if(c.externalObjects.set(l,r),a){let g=c.table.get(a);Q.register(l,new z(o,g,i,r))}return c.createValue(l,u)},napi_get_value_external(o,r,a){let i=_[o],u=i.get(r),c=i.externalObjects.get(u);return i.setPointer(a,c)},napi_adjust_external_memory(){return 0}};function bt(o,r){let a=0;for(;o[r]!==0;)a++,r++;return a}function Et(o){let r=0;for(let a=0;a<o.length;a++){let i=o.charCodeAt(a);if(i>=55296&&i<=56319&&a<o.length-1){let u=o.charCodeAt(++a);(u&64512)===56320?i=((i&1023)<<10)+(u&1023)+65536:a--}i&4294967168?i&4294965248?i&4294901760?i&4292870144||(r+=4):r+=3:r+=2:r++}return r}L();M();C();var Ke;function je(o,r,a){Ke(o,r,a)}var ye={None:0,Unwinding:1,Rewinding:2};function De(o){let{instance:r,exports:a}=o,{asyncify_get_state:i,asyncify_start_unwind:u,asyncify_stop_unwind:c,asyncify_start_rewind:l,asyncify_stop_rewind:g}=r.exports,y=r.exports.napi_wasm_malloc(4104),m=y+8,w=y+8+4096;new Int32Array(o.memory.buffer,y).set([m,w]);function I(){if(i()!==ye.None)throw new Error(`Invalid async state ${i()}, expected 0.`)}let P,d,A;return Ke=(E,B,U)=>{if(i()===ye.Rewinding){g(),d!=null&&o.createValue(d,B),A!=null&&o.createValue(A,U),P=d=A=null;return}I(),P=o.get(E),u(y)},async function(B){I();let U=a.bundle(B);for(;i()===ye.Unwinding;){c();try{d=await P}catch(x){A=x}I(),l(y),U=a.bundle(B)}return I(),U}}L();M();C();var Bt={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",op_mob:"opera",and_qq:null,and_uc:null,baidu:null,bb:null,kaios:null,op_mini:null};function de(o){let r={};for(let a of o){let[i,u]=a.split(" ");if(Bt[i]===null)continue;let c=vt(u);c!=null&&(r[i]==null||c<r[i])&&(r[i]=c)}return r}function vt(o){let[r,a=0,i=0]=o.split("-")[0].split(".").map(u=>parseInt(u,10));return isNaN(r)||isNaN(a)||isNaN(i)?null:r<<16|a<<8|i}var le,ue,xt;async function me(o){if(le)return;if(ue){await ue;return}o=o??new URL("lightningcss_node.wasm",location),(typeof o=="string"||typeof Request=="function"&&o instanceof Request||typeof URL=="function"&&o instanceof URL)&&(o=Ut(o));let r;ue=o.then(a=>Nt(a,{env:{...ae,await_promise_sync:je,__getrandom_custom:(i,u)=>{let c=r.memory.subarray(i,i+u);crypto.getRandomValues(c)}}})).then(({instance:a})=>{a.exports.register_module(),r=new ie(a),xt=De(r),le=r.exports}),await ue}function We(o){return le.transform(o)}function Ge(o){return le.transformStyleAttribute(o)}async function Nt(o,r){if(typeof Response=="function"&&o instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(o,r)}catch(i){if(o.headers.get("Content-Type")!="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",i);else throw i}let a=await o.arrayBuffer();return await WebAssembly.instantiate(a,r)}else{let a=await WebAssembly.instantiate(o,r);return a instanceof WebAssembly.Instance?{instance:a,module:o}:a}}async function Ut(o){try{return(await Promise.resolve().then(()=>($e(),Fe))).readFileSync(o)}catch{return fetch(o)}}return _t(Ot);})();
|
|
1
|
+
"use strict";var lightningcss=(()=>{var he=Object.defineProperty;var ht=Object.getOwnPropertyDescriptor;var _t=Object.getOwnPropertyNames;var gt=Object.prototype.hasOwnProperty;var J=(o,r)=>()=>(o&&(r=o(o=0)),r);var Re=(o,r)=>{for(var n in r)he(o,n,{get:r[n],enumerable:!0})},yt=(o,r,n,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let u of _t(r))!gt.call(o,u)&&u!==n&&he(o,u,{get:()=>r[u],enumerable:!(i=ht(r,u))||i.enumerable});return o};var dt=o=>yt(he({},"__esModule",{value:!0}),o);var R=J(()=>{});function mt(o,r){this.fun=o,this.array=r}function Ce(o){var r=Math.floor((Date.now()-q.now())*.001),n=q.now()*.001,i=Math.floor(n)+r,u=Math.floor(n%1*1e9);return o&&(i=i-o[0],u=u-o[1],u<0&&(i--,u+=ge)),[i,u]}var Mt,q,_e,ge,Le=J(()=>{R();L();C();mt.prototype.run=function(){this.fun.apply(null,this.array)};Mt={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},q={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};q.now===void 0&&(_e=Date.now(),q.timing&&q.timing.navigationStart&&(_e=q.timing.navigationStart),q.now=()=>Date.now()-_e);ge=1e9;Ce.bigint=function(o){var r=Ce(o);return typeof BigInt>"u"?r[0]*ge+r[1]:BigInt(r[0]*ge)+BigInt(r[1])}});var C=J(()=>{Le()});function wt(){if(Me)return te;Me=!0,te.byteLength=g,te.toByteArray=d,te.fromByteArray=P;for(var o=[],r=[],n=typeof Uint8Array<"u"?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=0,c=i.length;u<c;++u)o[u]=i[u],r[i.charCodeAt(u)]=u;r[45]=62,r[95]=63;function l(m){var E=m.length;if(E%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var b=m.indexOf("=");b===-1&&(b=E);var B=b===E?0:4-b%4;return[b,B]}function g(m){var E=l(m),b=E[0],B=E[1];return(b+B)*3/4-B}function y(m,E,b){return(E+b)*3/4-b}function d(m){var E,b=l(m),B=b[0],U=b[1],N=new n(y(m,B,U)),S=0,K=U>0?B-4:B,D;for(D=0;D<K;D+=4)E=r[m.charCodeAt(D)]<<18|r[m.charCodeAt(D+1)]<<12|r[m.charCodeAt(D+2)]<<6|r[m.charCodeAt(D+3)],N[S++]=E>>16&255,N[S++]=E>>8&255,N[S++]=E&255;return U===2&&(E=r[m.charCodeAt(D)]<<2|r[m.charCodeAt(D+1)]>>4,N[S++]=E&255),U===1&&(E=r[m.charCodeAt(D)]<<10|r[m.charCodeAt(D+1)]<<4|r[m.charCodeAt(D+2)]>>2,N[S++]=E>>8&255,N[S++]=E&255),N}function w(m){return o[m>>18&63]+o[m>>12&63]+o[m>>6&63]+o[m&63]}function I(m,E,b){for(var B,U=[],N=E;N<b;N+=3)B=(m[N]<<16&16711680)+(m[N+1]<<8&65280)+(m[N+2]&255),U.push(w(B));return U.join("")}function P(m){for(var E,b=m.length,B=b%3,U=[],N=16383,S=0,K=b-B;S<K;S+=N)U.push(I(m,S,S+N>K?K:S+N));return B===1?(E=m[b-1],U.push(o[E>>2]+o[E<<4&63]+"==")):B===2&&(E=(m[b-2]<<8)+m[b-1],U.push(o[E>>10]+o[E>>4&63]+o[E<<2&63]+"=")),U.join("")}return te}function It(){if(De)return ie;De=!0;return ie.read=function(o,r,n,i,u){var c,l,g=u*8-i-1,y=(1<<g)-1,d=y>>1,w=-7,I=n?u-1:0,P=n?-1:1,m=o[r+I];for(I+=P,c=m&(1<<-w)-1,m>>=-w,w+=g;w>0;c=c*256+o[r+I],I+=P,w-=8);for(l=c&(1<<-w)-1,c>>=-w,w+=i;w>0;l=l*256+o[r+I],I+=P,w-=8);if(c===0)c=1-d;else{if(c===y)return l?NaN:(m?-1:1)*(1/0);l=l+Math.pow(2,i),c=c-d}return(m?-1:1)*l*Math.pow(2,c-i)},ie.write=function(o,r,n,i,u,c){var l,g,y,d=c*8-u-1,w=(1<<d)-1,I=w>>1,P=u===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:c-1,E=i?1:-1,b=r<0||r===0&&1/r<0?1:0;for(r=Math.abs(r),isNaN(r)||r===1/0?(g=isNaN(r)?1:0,l=w):(l=Math.floor(Math.log(r)/Math.LN2),r*(y=Math.pow(2,-l))<1&&(l--,y*=2),l+I>=1?r+=P/y:r+=P*Math.pow(2,1-I),r*y>=2&&(l++,y/=2),l+I>=w?(g=0,l=w):l+I>=1?(g=(r*y-1)*Math.pow(2,u),l=l+I):(g=r*Math.pow(2,I-1)*Math.pow(2,u),l=0));u>=8;o[n+m]=g&255,m+=E,g/=256,u-=8);for(l=l<<u|g,d+=u;d>0;o[n+m]=l&255,m+=E,l/=256,d-=8);o[n+m-E]|=b*128},ie}function Et(){if(ke)return z;ke=!0;let o=wt(),r=It(),n=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;z.Buffer=l,z.SlowBuffer=U,z.INSPECT_MAX_BYTES=50;let i=2147483647;z.kMaxLength=i,l.TYPED_ARRAY_SUPPORT=u(),!l.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 u(){try{let a=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(a,e),a.foo()===42}catch{return!1}}Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}});function c(a){if(a>i)throw new RangeError('The value "'+a+'" is invalid for option "size"');let e=new Uint8Array(a);return Object.setPrototypeOf(e,l.prototype),e}function l(a,e,t){if(typeof a=="number"){if(typeof e=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return w(a)}return g(a,e,t)}l.poolSize=8192;function g(a,e,t){if(typeof a=="string")return I(a,e);if(ArrayBuffer.isView(a))return m(a);if(a==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof a);if(V(a,ArrayBuffer)||a&&V(a.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(V(a,SharedArrayBuffer)||a&&V(a.buffer,SharedArrayBuffer)))return E(a,e,t);if(typeof a=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let s=a.valueOf&&a.valueOf();if(s!=null&&s!==a)return l.from(s,e,t);let f=b(a);if(f)return f;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof a[Symbol.toPrimitive]=="function")return l.from(a[Symbol.toPrimitive]("string"),e,t);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof a)}l.from=function(a,e,t){return g(a,e,t)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array);function y(a){if(typeof a!="number")throw new TypeError('"size" argument must be of type number');if(a<0)throw new RangeError('The value "'+a+'" is invalid for option "size"')}function d(a,e,t){return y(a),a<=0?c(a):e!==void 0?typeof t=="string"?c(a).fill(e,t):c(a).fill(e):c(a)}l.alloc=function(a,e,t){return d(a,e,t)};function w(a){return y(a),c(a<0?0:B(a)|0)}l.allocUnsafe=function(a){return w(a)},l.allocUnsafeSlow=function(a){return w(a)};function I(a,e){if((typeof e!="string"||e==="")&&(e="utf8"),!l.isEncoding(e))throw new TypeError("Unknown encoding: "+e);let t=N(a,e)|0,s=c(t),f=s.write(a,e);return f!==t&&(s=s.slice(0,f)),s}function P(a){let e=a.length<0?0:B(a.length)|0,t=c(e);for(let s=0;s<e;s+=1)t[s]=a[s]&255;return t}function m(a){if(V(a,Uint8Array)){let e=new Uint8Array(a);return E(e.buffer,e.byteOffset,e.byteLength)}return P(a)}function E(a,e,t){if(e<0||a.byteLength<e)throw new RangeError('"offset" is outside of buffer bounds');if(a.byteLength<e+(t||0))throw new RangeError('"length" is outside of buffer bounds');let s;return e===void 0&&t===void 0?s=new Uint8Array(a):t===void 0?s=new Uint8Array(a,e):s=new Uint8Array(a,e,t),Object.setPrototypeOf(s,l.prototype),s}function b(a){if(l.isBuffer(a)){let e=B(a.length)|0,t=c(e);return t.length===0||a.copy(t,0,0,e),t}if(a.length!==void 0)return typeof a.length!="number"||pe(a.length)?c(0):P(a);if(a.type==="Buffer"&&Array.isArray(a.data))return P(a.data)}function B(a){if(a>=i)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i.toString(16)+" bytes");return a|0}function U(a){return+a!=a&&(a=0),l.alloc(+a)}l.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==l.prototype},l.compare=function(e,t){if(V(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),V(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let s=e.length,f=t.length;for(let p=0,_=Math.min(s,f);p<_;++p)if(e[p]!==t[p]){s=e[p],f=t[p];break}return s<f?-1:f<s?1:0},l.isEncoding=function(e){switch(String(e).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}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return l.alloc(0);let s;if(t===void 0)for(t=0,s=0;s<e.length;++s)t+=e[s].length;let f=l.allocUnsafe(t),p=0;for(s=0;s<e.length;++s){let _=e[s];if(V(_,Uint8Array))p+_.length>f.length?(l.isBuffer(_)||(_=l.from(_)),_.copy(f,p)):Uint8Array.prototype.set.call(f,_,p);else if(l.isBuffer(_))_.copy(f,p);else throw new TypeError('"list" argument must be an Array of Buffers');p+=_.length}return f};function N(a,e){if(l.isBuffer(a))return a.length;if(ArrayBuffer.isView(a)||V(a,ArrayBuffer))return a.byteLength;if(typeof a!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof a);let t=a.length,s=arguments.length>2&&arguments[2]===!0;if(!s&&t===0)return 0;let f=!1;for(;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":return fe(a).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return Se(a).length;default:if(f)return s?-1:fe(a).length;e=(""+e).toLowerCase(),f=!0}}l.byteLength=N;function S(a,e,t){let s=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(a||(a="utf8");;)switch(a){case"hex":return it(this,e,t);case"utf8":case"utf-8":return be(this,e,t);case"ascii":return rt(this,e,t);case"latin1":case"binary":return nt(this,e,t);case"base64":return et(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ot(this,e,t);default:if(s)throw new TypeError("Unknown encoding: "+a);a=(a+"").toLowerCase(),s=!0}}l.prototype._isBuffer=!0;function K(a,e,t){let s=a[e];a[e]=a[t],a[t]=s}l.prototype.swap16=function(){let e=this.length;if(e%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;t<e;t+=2)K(this,t,t+1);return this},l.prototype.swap32=function(){let e=this.length;if(e%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let t=0;t<e;t+=4)K(this,t,t+3),K(this,t+1,t+2);return this},l.prototype.swap64=function(){let e=this.length;if(e%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let t=0;t<e;t+=8)K(this,t,t+7),K(this,t+1,t+6),K(this,t+2,t+5),K(this,t+3,t+4);return this},l.prototype.toString=function(){let e=this.length;return e===0?"":arguments.length===0?be(this,0,e):S.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:l.compare(this,e)===0},l.prototype.inspect=function(){let e="",t=z.INSPECT_MAX_BYTES;return e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim(),this.length>t&&(e+=" ... "),"<Buffer "+e+">"},n&&(l.prototype[n]=l.prototype.inspect),l.prototype.compare=function(e,t,s,f,p){if(V(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(t===void 0&&(t=0),s===void 0&&(s=e?e.length:0),f===void 0&&(f=0),p===void 0&&(p=this.length),t<0||s>e.length||f<0||p>this.length)throw new RangeError("out of range index");if(f>=p&&t>=s)return 0;if(f>=p)return-1;if(t>=s)return 1;if(t>>>=0,s>>>=0,f>>>=0,p>>>=0,this===e)return 0;let _=p-f,A=s-t,T=Math.min(_,A),x=this.slice(f,p),O=e.slice(t,s);for(let v=0;v<T;++v)if(x[v]!==O[v]){_=x[v],A=O[v];break}return _<A?-1:A<_?1:0};function D(a,e,t,s,f){if(a.length===0)return-1;if(typeof t=="string"?(s=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,pe(t)&&(t=f?0:a.length-1),t<0&&(t=a.length+t),t>=a.length){if(f)return-1;t=a.length-1}else if(t<0)if(f)t=0;else return-1;if(typeof e=="string"&&(e=l.from(e,s)),l.isBuffer(e))return e.length===0?-1:Ae(a,e,t,s,f);if(typeof e=="number")return e=e&255,typeof Uint8Array.prototype.indexOf=="function"?f?Uint8Array.prototype.indexOf.call(a,e,t):Uint8Array.prototype.lastIndexOf.call(a,e,t):Ae(a,[e],t,s,f);throw new TypeError("val must be string, number or Buffer")}function Ae(a,e,t,s,f){let p=1,_=a.length,A=e.length;if(s!==void 0&&(s=String(s).toLowerCase(),s==="ucs2"||s==="ucs-2"||s==="utf16le"||s==="utf-16le")){if(a.length<2||e.length<2)return-1;p=2,_/=2,A/=2,t/=2}function T(O,v){return p===1?O[v]:O.readUInt16BE(v*p)}let x;if(f){let O=-1;for(x=t;x<_;x++)if(T(a,x)===T(e,O===-1?0:x-O)){if(O===-1&&(O=x),x-O+1===A)return O*p}else O!==-1&&(x-=x-O),O=-1}else for(t+A>_&&(t=_-A),x=t;x>=0;x--){let O=!0;for(let v=0;v<A;v++)if(T(a,x+v)!==T(e,v)){O=!1;break}if(O)return x}return-1}l.prototype.includes=function(e,t,s){return this.indexOf(e,t,s)!==-1},l.prototype.indexOf=function(e,t,s){return D(this,e,t,s,!0)},l.prototype.lastIndexOf=function(e,t,s){return D(this,e,t,s,!1)};function He(a,e,t,s){t=Number(t)||0;let f=a.length-t;s?(s=Number(s),s>f&&(s=f)):s=f;let p=e.length;s>p/2&&(s=p/2);let _;for(_=0;_<s;++_){let A=parseInt(e.substr(_*2,2),16);if(pe(A))return _;a[t+_]=A}return _}function Ye(a,e,t,s){return ne(fe(e,a.length-t),a,t,s)}function Qe(a,e,t,s){return ne(st(e),a,t,s)}function Je(a,e,t,s){return ne(Se(e),a,t,s)}function Ze(a,e,t,s){return ne(ct(e,a.length-t),a,t,s)}l.prototype.write=function(e,t,s,f){if(t===void 0)f="utf8",s=this.length,t=0;else if(s===void 0&&typeof t=="string")f=t,s=this.length,t=0;else if(isFinite(t))t=t>>>0,isFinite(s)?(s=s>>>0,f===void 0&&(f="utf8")):(f=s,s=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let p=this.length-t;if((s===void 0||s>p)&&(s=p),e.length>0&&(s<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");f||(f="utf8");let _=!1;for(;;)switch(f){case"hex":return He(this,e,t,s);case"utf8":case"utf-8":return Ye(this,e,t,s);case"ascii":case"latin1":case"binary":return Qe(this,e,t,s);case"base64":return Je(this,e,t,s);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Ze(this,e,t,s);default:if(_)throw new TypeError("Unknown encoding: "+f);f=(""+f).toLowerCase(),_=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function et(a,e,t){return e===0&&t===a.length?o.fromByteArray(a):o.fromByteArray(a.slice(e,t))}function be(a,e,t){t=Math.min(a.length,t);let s=[],f=e;for(;f<t;){let p=a[f],_=null,A=p>239?4:p>223?3:p>191?2:1;if(f+A<=t){let T,x,O,v;switch(A){case 1:p<128&&(_=p);break;case 2:T=a[f+1],(T&192)===128&&(v=(p&31)<<6|T&63,v>127&&(_=v));break;case 3:T=a[f+1],x=a[f+2],(T&192)===128&&(x&192)===128&&(v=(p&15)<<12|(T&63)<<6|x&63,v>2047&&(v<55296||v>57343)&&(_=v));break;case 4:T=a[f+1],x=a[f+2],O=a[f+3],(T&192)===128&&(x&192)===128&&(O&192)===128&&(v=(p&15)<<18|(T&63)<<12|(x&63)<<6|O&63,v>65535&&v<1114112&&(_=v))}}_===null?(_=65533,A=1):_>65535&&(_-=65536,s.push(_>>>10&1023|55296),_=56320|_&1023),s.push(_),f+=A}return tt(s)}let Be=4096;function tt(a){let e=a.length;if(e<=Be)return String.fromCharCode.apply(String,a);let t="",s=0;for(;s<e;)t+=String.fromCharCode.apply(String,a.slice(s,s+=Be));return t}function rt(a,e,t){let s="";t=Math.min(a.length,t);for(let f=e;f<t;++f)s+=String.fromCharCode(a[f]&127);return s}function nt(a,e,t){let s="";t=Math.min(a.length,t);for(let f=e;f<t;++f)s+=String.fromCharCode(a[f]);return s}function it(a,e,t){let s=a.length;(!e||e<0)&&(e=0),(!t||t<0||t>s)&&(t=s);let f="";for(let p=e;p<t;++p)f+=ft[a[p]];return f}function ot(a,e,t){let s=a.slice(e,t),f="";for(let p=0;p<s.length-1;p+=2)f+=String.fromCharCode(s[p]+s[p+1]*256);return f}l.prototype.slice=function(e,t){let s=this.length;e=~~e,t=t===void 0?s:~~t,e<0?(e+=s,e<0&&(e=0)):e>s&&(e=s),t<0?(t+=s,t<0&&(t=0)):t>s&&(t=s),t<e&&(t=e);let f=this.subarray(e,t);return Object.setPrototypeOf(f,l.prototype),f};function M(a,e,t){if(a%1!==0||a<0)throw new RangeError("offset is not uint");if(a+e>t)throw new RangeError("Trying to access beyond buffer length")}l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,s){e=e>>>0,t=t>>>0,s||M(e,t,this.length);let f=this[e],p=1,_=0;for(;++_<t&&(p*=256);)f+=this[e+_]*p;return f},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,s){e=e>>>0,t=t>>>0,s||M(e,t,this.length);let f=this[e+--t],p=1;for(;t>0&&(p*=256);)f+=this[e+--t]*p;return f},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e=e>>>0,t||M(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e=e>>>0,t||M(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e=e>>>0,t||M(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e=e>>>0,t||M(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e=e>>>0,t||M(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readBigUInt64LE=X(function(e){e=e>>>0,Q(e,"offset");let t=this[e],s=this[e+7];(t===void 0||s===void 0)&&ee(e,this.length-8);let f=t+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24,p=this[++e]+this[++e]*2**8+this[++e]*2**16+s*2**24;return BigInt(f)+(BigInt(p)<<BigInt(32))}),l.prototype.readBigUInt64BE=X(function(e){e=e>>>0,Q(e,"offset");let t=this[e],s=this[e+7];(t===void 0||s===void 0)&&ee(e,this.length-8);let f=t*2**24+this[++e]*2**16+this[++e]*2**8+this[++e],p=this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+s;return(BigInt(f)<<BigInt(32))+BigInt(p)}),l.prototype.readIntLE=function(e,t,s){e=e>>>0,t=t>>>0,s||M(e,t,this.length);let f=this[e],p=1,_=0;for(;++_<t&&(p*=256);)f+=this[e+_]*p;return p*=128,f>=p&&(f-=Math.pow(2,8*t)),f},l.prototype.readIntBE=function(e,t,s){e=e>>>0,t=t>>>0,s||M(e,t,this.length);let f=t,p=1,_=this[e+--f];for(;f>0&&(p*=256);)_+=this[e+--f]*p;return p*=128,_>=p&&(_-=Math.pow(2,8*t)),_},l.prototype.readInt8=function(e,t){return e=e>>>0,t||M(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},l.prototype.readInt16LE=function(e,t){e=e>>>0,t||M(e,2,this.length);let s=this[e]|this[e+1]<<8;return s&32768?s|4294901760:s},l.prototype.readInt16BE=function(e,t){e=e>>>0,t||M(e,2,this.length);let s=this[e+1]|this[e]<<8;return s&32768?s|4294901760:s},l.prototype.readInt32LE=function(e,t){return e=e>>>0,t||M(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e=e>>>0,t||M(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readBigInt64LE=X(function(e){e=e>>>0,Q(e,"offset");let t=this[e],s=this[e+7];(t===void 0||s===void 0)&&ee(e,this.length-8);let f=this[e+4]+this[e+5]*2**8+this[e+6]*2**16+(s<<24);return(BigInt(f)<<BigInt(32))+BigInt(t+this[++e]*2**8+this[++e]*2**16+this[++e]*2**24)}),l.prototype.readBigInt64BE=X(function(e){e=e>>>0,Q(e,"offset");let t=this[e],s=this[e+7];(t===void 0||s===void 0)&&ee(e,this.length-8);let f=(t<<24)+this[++e]*2**16+this[++e]*2**8+this[++e];return(BigInt(f)<<BigInt(32))+BigInt(this[++e]*2**24+this[++e]*2**16+this[++e]*2**8+s)}),l.prototype.readFloatLE=function(e,t){return e=e>>>0,t||M(e,4,this.length),r.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e=e>>>0,t||M(e,4,this.length),r.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e=e>>>0,t||M(e,8,this.length),r.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e=e>>>0,t||M(e,8,this.length),r.read(this,e,!1,52,8)};function k(a,e,t,s,f,p){if(!l.isBuffer(a))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>f||e<p)throw new RangeError('"value" argument is out of bounds');if(t+s>a.length)throw new RangeError("Index out of range")}l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,s,f){if(e=+e,t=t>>>0,s=s>>>0,!f){let A=Math.pow(2,8*s)-1;k(this,e,t,s,A,0)}let p=1,_=0;for(this[t]=e&255;++_<s&&(p*=256);)this[t+_]=e/p&255;return t+s},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,s,f){if(e=+e,t=t>>>0,s=s>>>0,!f){let A=Math.pow(2,8*s)-1;k(this,e,t,s,A,0)}let p=s-1,_=1;for(this[t+p]=e&255;--p>=0&&(_*=256);)this[t+p]=e/_&255;return t+s},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,1,255,0),this[t]=e&255,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function ve(a,e,t,s,f){Oe(e,s,f,a,t,7);let p=Number(e&BigInt(4294967295));a[t++]=p,p=p>>8,a[t++]=p,p=p>>8,a[t++]=p,p=p>>8,a[t++]=p;let _=Number(e>>BigInt(32)&BigInt(4294967295));return a[t++]=_,_=_>>8,a[t++]=_,_=_>>8,a[t++]=_,_=_>>8,a[t++]=_,t}function Pe(a,e,t,s,f){Oe(e,s,f,a,t,7);let p=Number(e&BigInt(4294967295));a[t+7]=p,p=p>>8,a[t+6]=p,p=p>>8,a[t+5]=p,p=p>>8,a[t+4]=p;let _=Number(e>>BigInt(32)&BigInt(4294967295));return a[t+3]=_,_=_>>8,a[t+2]=_,_=_>>8,a[t+1]=_,_=_>>8,a[t]=_,t+8}l.prototype.writeBigUInt64LE=X(function(e,t=0){return ve(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeBigUInt64BE=X(function(e,t=0){return Pe(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),l.prototype.writeIntLE=function(e,t,s,f){if(e=+e,t=t>>>0,!f){let T=Math.pow(2,8*s-1);k(this,e,t,s,T-1,-T)}let p=0,_=1,A=0;for(this[t]=e&255;++p<s&&(_*=256);)e<0&&A===0&&this[t+p-1]!==0&&(A=1),this[t+p]=(e/_>>0)-A&255;return t+s},l.prototype.writeIntBE=function(e,t,s,f){if(e=+e,t=t>>>0,!f){let T=Math.pow(2,8*s-1);k(this,e,t,s,T-1,-T)}let p=s-1,_=1,A=0;for(this[t+p]=e&255;--p>=0&&(_*=256);)e<0&&A===0&&this[t+p+1]!==0&&(A=1),this[t+p]=(e/_>>0)-A&255;return t+s},l.prototype.writeInt8=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1},l.prototype.writeInt16LE=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2},l.prototype.writeInt32LE=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,s){return e=+e,t=t>>>0,s||k(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4},l.prototype.writeBigInt64LE=X(function(e,t=0){return ve(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),l.prototype.writeBigInt64BE=X(function(e,t=0){return Pe(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Ne(a,e,t,s,f,p){if(t+s>a.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function xe(a,e,t,s,f){return e=+e,t=t>>>0,f||Ne(a,e,t,4),r.write(a,e,t,s,23,4),t+4}l.prototype.writeFloatLE=function(e,t,s){return xe(this,e,t,!0,s)},l.prototype.writeFloatBE=function(e,t,s){return xe(this,e,t,!1,s)};function Ue(a,e,t,s,f){return e=+e,t=t>>>0,f||Ne(a,e,t,8),r.write(a,e,t,s,52,8),t+8}l.prototype.writeDoubleLE=function(e,t,s){return Ue(this,e,t,!0,s)},l.prototype.writeDoubleBE=function(e,t,s){return Ue(this,e,t,!1,s)},l.prototype.copy=function(e,t,s,f){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(s||(s=0),!f&&f!==0&&(f=this.length),t>=e.length&&(t=e.length),t||(t=0),f>0&&f<s&&(f=s),f===s||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(s<0||s>=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),e.length-t<f-s&&(f=e.length-t+s);let p=f-s;return this===e&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(t,s,f):Uint8Array.prototype.set.call(e,this.subarray(s,f),t),p},l.prototype.fill=function(e,t,s,f){if(typeof e=="string"){if(typeof t=="string"?(f=t,t=0,s=this.length):typeof s=="string"&&(f=s,s=this.length),f!==void 0&&typeof f!="string")throw new TypeError("encoding must be a string");if(typeof f=="string"&&!l.isEncoding(f))throw new TypeError("Unknown encoding: "+f);if(e.length===1){let _=e.charCodeAt(0);(f==="utf8"&&_<128||f==="latin1")&&(e=_)}}else typeof e=="number"?e=e&255:typeof e=="boolean"&&(e=Number(e));if(t<0||this.length<t||this.length<s)throw new RangeError("Out of range index");if(s<=t)return this;t=t>>>0,s=s===void 0?this.length:s>>>0,e||(e=0);let p;if(typeof e=="number")for(p=t;p<s;++p)this[p]=e;else{let _=l.isBuffer(e)?e:l.from(e,f),A=_.length;if(A===0)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(p=0;p<s-t;++p)this[p+t]=_[p%A]}return this};let Y={};function ce(a,e,t){Y[a]=class extends t{constructor(){super(),Object.defineProperty(this,"message",{value:e.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${a}]`,this.stack,delete this.name}get code(){return a}set code(f){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:f,writable:!0})}toString(){return`${this.name} [${a}]: ${this.message}`}}}ce("ERR_BUFFER_OUT_OF_BOUNDS",function(a){return a?`${a} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),ce("ERR_INVALID_ARG_TYPE",function(a,e){return`The "${a}" argument must be of type number. Received type ${typeof e}`},TypeError),ce("ERR_OUT_OF_RANGE",function(a,e,t){let s=`The value of "${a}" is out of range.`,f=t;return Number.isInteger(t)&&Math.abs(t)>2**32?f=Te(String(t)):typeof t=="bigint"&&(f=String(t),(t>BigInt(2)**BigInt(32)||t<-(BigInt(2)**BigInt(32)))&&(f=Te(f)),f+="n"),s+=` It must be ${e}. Received ${f}`,s},RangeError);function Te(a){let e="",t=a.length,s=a[0]==="-"?1:0;for(;t>=s+4;t-=3)e=`_${a.slice(t-3,t)}${e}`;return`${a.slice(0,t)}${e}`}function at(a,e,t){Q(e,"offset"),(a[e]===void 0||a[e+t]===void 0)&&ee(e,a.length-(t+1))}function Oe(a,e,t,s,f,p){if(a>t||a<e){let _=typeof e=="bigint"?"n":"",A;throw p>3?e===0||e===BigInt(0)?A=`>= 0${_} and < 2${_} ** ${(p+1)*8}${_}`:A=`>= -(2${_} ** ${(p+1)*8-1}${_}) and < 2 ** ${(p+1)*8-1}${_}`:A=`>= ${e}${_} and <= ${t}${_}`,new Y.ERR_OUT_OF_RANGE("value",A,a)}at(s,f,p)}function Q(a,e){if(typeof a!="number")throw new Y.ERR_INVALID_ARG_TYPE(e,"number",a)}function ee(a,e,t){throw Math.floor(a)!==a?(Q(a,t),new Y.ERR_OUT_OF_RANGE(t||"offset","an integer",a)):e<0?new Y.ERR_BUFFER_OUT_OF_BOUNDS:new Y.ERR_OUT_OF_RANGE(t||"offset",`>= ${t?1:0} and <= ${e}`,a)}let ut=/[^+/0-9A-Za-z-_]/g;function lt(a){if(a=a.split("=")[0],a=a.trim().replace(ut,""),a.length<2)return"";for(;a.length%4!==0;)a=a+"=";return a}function fe(a,e){e=e||1/0;let t,s=a.length,f=null,p=[];for(let _=0;_<s;++_){if(t=a.charCodeAt(_),t>55295&&t<57344){if(!f){if(t>56319){(e-=3)>-1&&p.push(239,191,189);continue}else if(_+1===s){(e-=3)>-1&&p.push(239,191,189);continue}f=t;continue}if(t<56320){(e-=3)>-1&&p.push(239,191,189),f=t;continue}t=(f-55296<<10|t-56320)+65536}else f&&(e-=3)>-1&&p.push(239,191,189);if(f=null,t<128){if((e-=1)<0)break;p.push(t)}else if(t<2048){if((e-=2)<0)break;p.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;p.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;p.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return p}function st(a){let e=[];for(let t=0;t<a.length;++t)e.push(a.charCodeAt(t)&255);return e}function ct(a,e){let t,s,f,p=[];for(let _=0;_<a.length&&!((e-=2)<0);++_)t=a.charCodeAt(_),s=t>>8,f=t%256,p.push(f),p.push(s);return p}function Se(a){return o.toByteArray(lt(a))}function ne(a,e,t,s){let f;for(f=0;f<s&&!(f+t>=e.length||f>=a.length);++f)e[f+t]=a[f];return f}function V(a,e){return a instanceof e||a!=null&&a.constructor!=null&&a.constructor.name!=null&&a.constructor.name===e.name}function pe(a){return a!==a}let ft=function(){let a="0123456789abcdef",e=new Array(256);for(let t=0;t<16;++t){let s=t*16;for(let f=0;f<16;++f)e[s+f]=a[t]+a[f]}return e}();function X(a){return typeof BigInt>"u"?pt:a}function pt(){throw new Error("BigInt not supported")}return z}var te,Me,ie,De,z,ke,H,$,Ft,$t,Ke=J(()=>{R();L();C();te={},Me=!1;ie={},De=!1;z={},ke=!1;H=Et();H.Buffer;H.SlowBuffer;H.INSPECT_MAX_BYTES;H.kMaxLength;$=H.Buffer,Ft=H.INSPECT_MAX_BYTES,$t=H.kMaxLength});var L=J(()=>{Ke()});var Xe={};Re(Xe,{default:()=>Ut});var Ut,We=J(()=>{R();L();C();Ut={}});var Rt={};Re(Rt,{Features:()=>Ie,browserslistToTargets:()=>we,init:()=>Ee,transform:()=>qe,transformStyleAttribute:()=>ze});R();L();C();R();L();C();R();L();C();var Ve=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,BigInt64Array,BigUint64Array],h=[],oe=class{scopes=[];referenceId=1;references=new Map;deferred=[null];wrappedObjects=new WeakMap;externalObjects=new WeakMap;buffers=new Map;instanceData=0;pendingException=null;constructor(r){this.id=h.length,h.push(this),this.instance=r,this.table=r.exports.__indirect_function_table,this.exports={},this.pushScope();let n=this.scopes[this.scopes.length-1],i=n.length;n.push(this.exports);try{this.instance.exports.napi_register_module_v1&&this.instance.exports.napi_register_module_v1(this.id,i),this.instance.exports.napi_register_wasm_v1&&this.instance.exports.napi_register_wasm_v1(this.id,i)}finally{if(this.popScope(),this.pendingException){let u=this.pendingException;throw this.pendingException=null,u}}}destroy(){h[this.id]=void 0}getString(r,n=vt(this.memory,r)){return je.decode(this.memory.subarray(r,Math.max(0,r+n)))}pushScope(){let r=this.scopes.length;return this.scopes.push(r?[...this.scopes[r-1]]:[void 0,null,globalThis,!0,!1]),r}popScope(){this.scopes.pop();for(let[r,n]of this.buffers)r.byteLength&&n.byteLength&&r.set(n);this.buffers.clear()}get(r){return this.scopes[this.scopes.length-1][r]}set(r,n){this.scopes[this.scopes.length-1][r]=n}pushValue(r,n=this.scopes.length-1){let i=this.scopes[n],u=i.length;return i.push(r),u}createValue(r,n,i){if(typeof r=="boolean")return this.setPointer(n,r?3:4),0;if(typeof r>"u")return this.setPointer(n,0),0;if(r===null)return this.setPointer(n,1),0;if(r===globalThis)return this.setPointer(n,2),0;let u=this.pushValue(r,i);return this.setPointer(n,u),0}setPointer(r,n){return this.u32[r>>2]=n,0}_u32=new Uint32Array;get u32(){return this._u32.byteLength===0&&(this._u32=new Uint32Array(this.instance.exports.memory.buffer)),this._u32}_i32=new Int32Array;get i32(){return this._i32.byteLength===0&&(this._i32=new Int32Array(this.instance.exports.memory.buffer)),this._i32}_u16=new Uint16Array;get u16(){return this._u16.byteLength===0&&(this._u16=new Uint16Array(this.instance.exports.memory.buffer)),this._u16}_u64=new BigUint64Array;get u64(){return this._u64.byteLength===0&&(this._u64=new BigUint64Array(this.instance.exports.memory.buffer)),this._u64}_i64=new BigInt64Array;get i64(){return this._i64.byteLength===0&&(this._i64=new BigInt64Array(this.instance.exports.memory.buffer)),this._i64}_f64=new Float64Array;get f64(){return this._f64.byteLength===0&&(this._f64=new Float64Array(this.instance.exports.memory.buffer)),this._f64}_buf=new Uint8Array;get memory(){return this._buf.byteLength===0&&(this._buf=new Uint8Array(this.instance.exports.memory.buffer)),this._buf}getBufferInfo(r,n){if(this.buffers.has(r)){let u=this.buffers.get(r);return this.setPointer(n,u.byteOffset),u.byteLength}if(r instanceof ArrayBuffer){let u=this.copyBuffer(new Uint8Array(r));return this.setPointer(n,u.byteOffset),u.byteLength}if(r.buffer===this.instance.exports.memory.buffer)return this.setPointer(n,r.byteOffset),r.byteLength;let i=this.copyBuffer(new Uint8Array(r.buffer,r.byteOffset,r.byteLength));return this.setPointer(n,i.byteOffset),i.byteLength}copyBuffer(r){let n=this.instance.exports.napi_wasm_malloc(r.byteLength),i=this.memory;i.set(r,n);let u=i.subarray(n,n+r.byteLength),c=(l,g)=>{this.instance.exports.napi_wasm_free&&this.instance.exports.napi_wasm_free(g)};return G.register(u,new j(this.id,c,0,n)),this.buffers.set(r,u),u}createFunction(r,n){let i=this,u=i.table.get(r);return function(...l){let g=i.pushScope();try{let y=i.scopes[g],d=y.length;y.push({thisArg:this,args:l,data:n,newTarget:new.target});let w=u(i.id,d);return i.get(w)}finally{if(i.popScope(),i.pendingException){let y=i.pendingException;throw i.pendingException=null,y}}}}readPropertyDescriptor(r){let n=this.u32,i=n[r++],u=n[r++],c=n[r++],l=n[r++],g=n[r++],y=n[r++],d=n[r++],w=n[r++],I=i?this.getString(i):this.get(u),P=!!(d&1),m=!!(d&2),E=!!(d&4),b=!!(d&1024),B=l?this.createFunction(l,w):void 0,U=g?this.createFunction(g,w):void 0,N=c?this.createFunction(c,w):y?this.get(y):void 0,S={name:I,static:b,configurable:E,enumerable:m};return B||U?(S.get=B,S.set=U):N&&(S.writable=P,S.value=N),S}},je=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),At=new TextDecoder("latin1"),bt=new TextDecoder("utf-16"),Bt=new TextEncoder,j=class{constructor(r,n,i,u){this.env=r,this.finalize=n,this.hint=i,this.data=u}},G=new FinalizationRegistry(o=>{o.finalize&&o.finalize(o.env,o.data,o.hint)}),ae=class{},re=[],ye=class{constructor(r,n,i,u){this.env=r,this.fn=n,this.nativeFn=i,this.context=u,this.id=re.length,re.push(this)}},Z=[null],de=class{constructor(r,n,i,u){this.env=r,this.execute=n,this.complete=i,this.data=u,this.id=Z.length,Z.push(this)}},ue={napi_open_handle_scope(o,r){let n=h[o],i=n.pushScope();return n.setPointer(r,i)},napi_close_handle_scope(o,r){let n=h[o];return r!==n.scopes.length-1?13:(n.popScope(),0)},napi_open_escapable_handle_scope(o,r){let n=h[o],i=n.pushScope();return n.setPointer(r,i)},napi_close_escapable_handle_scope(o,r){let n=h[o];return r!==n.scopes.length-1?13:(n.popScope(),0)},napi_escape_handle(o,r,n,i){let u=h[o],c=u.get(n);return u.createValue(c,i,r-1)},napi_create_object(o,r){return h[o].createValue({},r)},napi_set_property(o,r,n,i){let u=h[o],c=u.get(r),l=u.get(n),g=u.get(i);return c[l]=g,0},napi_get_property(o,r,n,i){let u=h[o],c=u.get(r),l=u.get(n);return u.createValue(c[l],i)},napi_delete_property(o,r,n,i){let u=h[o],c=u.get(r),l=u.get(n),g=!1;try{g=delete c[l]}catch{}return i&&(u.memory[i]=g?1:0),0},napi_has_property(o,r,n,i){let u=h[o],c=u.get(r),l=u.get(n);return u.memory[i]=l in c?1:0,0},napi_has_own_property(o,r,n,i){let u=h[o],c=u.get(r),l=u.get(n);return u.memory[i]=c.hasOwnProperty(l)?1:0,0},napi_set_named_property(o,r,n,i){let u=h[o],c=u.get(r),l=u.get(i),g=u.getString(n);return c[g]=l,0},napi_get_named_property(o,r,n,i){let u=h[o],c=u.get(r),l=u.getString(n);return u.createValue(c[l],i)},napi_has_named_property(o,r,n,i){let u=h[o],c=u.get(r),l=u.getString(n);return u.memory[i]=l in c?1:0,0},napi_get_property_names(o,r,n){let i=h[o],u=i.get(r),c=Object.keys(u);return i.createValue(c,n)},napi_get_all_property_names(o,r,n,i,u,c){throw new Error("not implemented")},napi_define_properties(o,r,n,i){let u=h[o],c=u.get(r),l=i>>2;for(let g=0;g<n;g++){let y=u.readPropertyDescriptor(l);Object.defineProperty(c,y.name,y),l+=8}return 0},napi_object_freeze(o,r){let i=h[o].get(r);return Object.freeze(i),0},napi_object_seal(o,r){let i=h[o].get(r);return Object.seal(i),0},napi_get_prototype(o,r,n){let i=h[o],u=i.get(r);return i.createValue(Object.getPrototypeOf(u),n)},napi_define_class(o,r,n,i,u,c,l,g){let y=h[o],d=y.createFunction(i,u);Object.defineProperty(d,"name",{value:y.getString(r,n),configurable:!0});let w=l>>2;for(let I=0;I<c;I++){let P=y.readPropertyDescriptor(w);P.static?Object.defineProperty(d,P.name,P):Object.defineProperty(d.prototype,P.name,P),w+=8}return y.createValue(d,g)},napi_create_reference(o,r,n,i){let u=h[o],c=u.referenceId++;return u.references.set(c,{value:u.get(r),refcount:n}),u.setPointer(i,c)},napi_delete_reference(o,r){return h[o].references.delete(r),0},napi_get_reference_value(o,r,n){let i=h[o],u=i.references.get(r);return i.createValue(u.value,n)},napi_reference_ref(o,r,n){let i=h[o],u=i.references.get(r);return u.refcount++,i.setPointer(n,u.refcount)},napi_reference_unref(o,r,n){let i=h[o],u=i.references.get(r);return u.refcount===0?9:(u.refcount--,i.setPointer(n,u.refcount))},napi_add_env_cleanup_hook(){return 0},napi_remove_env_cleanup_hook(){return 0},napi_add_async_cleanup_hook(){return 0},napi_remove_async_cleanup_hook(){return 0},napi_set_instance_data(o,r,n,i){let u=h[o];return u.instanceData=r,0},napi_get_instance_data(o,r){let n=h[o];return n.setPointer(r,n.instanceData)},napi_get_boolean(o,r,n){return h[o].setPointer(n,r?3:4)},napi_get_value_bool(o,r,n){let i=h[o],u=i.get(r);return typeof u!="boolean"?7:(i.memory[n]=u?1:0,0)},napi_create_int32(o,r,n){return h[o].createValue(r,n)},napi_get_value_int32(o,r,n){let i=h[o],u=i.get(r);return typeof u!="number"?6:(i.i32[n>>2]=u,0)},napi_create_uint32(o,r,n){return h[o].createValue(r,n)},napi_get_value_uint32(o,r,n){let i=h[o],u=i.get(r);return typeof u!="number"?6:i.setPointer(n,u)},napi_create_int64(o,r,n){return h[o].createValue(Number(r),n)},napi_get_value_int64(o,r,n){let i=h[o],u=i.get(r);return typeof u!="number"?6:(i.i64[n>>3]=u,0)},napi_create_double(o,r,n){return h[o].createValue(r,n)},napi_get_value_double(o,r,n){let i=h[o],u=i.get(r);return typeof u!="number"?6:(i.f64[n>>3]=u,0)},napi_create_bigint_int64(o,r,n){return h[o].createValue(BigInt.asIntN(64,r),n)},napi_get_value_bigint_int64(o,r,n,i){let u=h[o],c=u.get(r);return typeof c!="bigint"?17:(u.i64[n>>3]=c,i&&(u.memory[i]=BigInt.asIntN(64,c)===c?1:0),0)},napi_create_bigint_uint64(o,r,n){return h[o].createValue(BigInt.asUintN(64,r),n)},napi_get_value_bigint_uint64(o,r,n,i){let u=h[o],c=u.get(r);return typeof c!="bigint"?17:(u.u64[n>>3]=c,i&&(u.memory[i]=BigInt.asUintN(64,c)===c?1:0),0)},napi_create_bigint_words(o,r,n,i,u){let c=h[o],l=c.u64,g=i>>3,y=0n,d=0n;for(let w=0;w<n;w++){let I=l[g++];y+=I<<d,d+=64n}return y*=BigInt((-1)**r),c.createValue(y,u)},napi_get_value_bigint_words(o,r,n,i,u){let c=h[o],l=c.get(r);if(typeof l!="bigint")return 17;let g=c.u32[i>>2];n&&(c.i32[n]=l<0n?1:0);let y=0;if(u){let d=(1n<<64n)-1n,w=c.u64,I=u>>3;for(l<0n&&(l=-l);y<g&&l!==0n;y++)w[I++]=l&d,l>>=64n}for(;l>0n;)y++,l>>=64n;return c.setPointer(i,y)},napi_get_null(o,r){return h[o].setPointer(r,1)},napi_create_array(o,r){return h[o].createValue([],r)},napi_create_array_with_length(o,r,n){return h[o].createValue(new Array(r),n)},napi_set_element(o,r,n,i){let u=h[o],c=u.get(r),l=u.get(i);return c[n]=l,0},napi_get_element(o,r,n,i){let u=h[o],l=u.get(r)[n];return u.createValue(l,i)},napi_has_element(o,r,n,i){let u=h[o],c=u.get(r);return u.memory[i]=c.hasOwnProperty(n)?1:0,0},napi_delete_element(o,r,n,i){let u=h[o],c=u.get(r),l=!1;try{l=delete c[n]}catch{}return i&&(u.memory[i]=l?1:0),0},napi_get_array_length(o,r,n){let i=h[o],u=i.get(r);return i.setPointer(n,u.length)},napi_get_undefined(o,r){return h[o].setPointer(r,0)},napi_create_function(o,r,n,i,u,c){let l=h[o],g=l.createFunction(i,u);return Object.defineProperty(g,"name",{value:l.getString(r,n),configurable:!0}),l.createValue(g,c)},napi_call_function(o,r,n,i,u,c){let l=h[o],g=l.get(r),y=l.get(n),d=new Array(i),w=l.u32;for(let I=0;I<i;I++)d[I]=l.get(w[u>>2]),u+=4;try{let I=y.apply(g,d);return l.createValue(I,c)}catch(I){return l.pendingException=I,10}},napi_new_instance(o,r,n,i,u){let c=h[o],l=c.get(r),g=new Array(n),y=c.u32;for(let d=0;d<n;d++)g[d]=c.get(y[i>>2]),i+=4;try{let d=new l(...g);return c.createValue(d,u)}catch(d){return c.pendingException=d,10}},napi_get_cb_info(o,r,n,i,u,c){let l=h[o],g=l.get(r);l.setPointer(n,g.args.length);for(let y=0;y<g.args.length;y++)l.createValue(g.args[y],i),i+=4;return l.createValue(g.thisArg,u),l.setPointer(c,g.data),0},napi_get_new_target(o,r,n){let i=h[o],u=i.get(r);return i.createValue(u.newTarget,n)},napi_create_threadsafe_function(o,r,n,i,u,c,l,g,y,d,w){let I=h[o],P=r?I.get(r):void 0,m=d?I.table.get(d):void 0,E=new ye(I,P,m,y);if(g){let b=I.table.get(g);G.register(E,new j(o,b,0,E.id))}return I.setPointer(w,E.id),0},napi_ref_threadsafe_function(){return 0},napi_unref_threadsafe_function(){return 0},napi_acquire_threadsafe_function(){return 0},napi_release_threadsafe_function(o,r){return re[o]=void 0,0},napi_call_threadsafe_function(o,r,n){let i=re[o];i.env.pushScope();try{if(i.nativeFn){let u=i.fn?i.env.pushValue(i.fn):0;i.nativeFn(i.env.id,u,i.context,r)}else i.fn&&i.fn()}finally{i.env.popScope()}},napi_get_threadsafe_function_context(o,r){let n=re[o];return n.env.setPointer(r,n.context),0},napi_create_async_work(o,r,n,i,u,c,l){let g=h[o],y=i?g.table.get(i):void 0,d=u?g.table.get(u):void 0,w=new de(g,y,d,c);return g.setPointer(l,w.id),0},napi_delete_async_work(o,r){return Z[r]=void 0,0},napi_queue_async_work(o,r){return queueMicrotask(()=>{let n=Z[r];n&&(n.execute(o,n.data),n.complete(o,0,n.data))}),0},napi_cancel_async_work(){let o=Z[work];return o.complete(env,11,o.data),Z[work]=void 0,0},napi_throw(o,r){let n=h[o];return n.pendingException=n.get(r),0},napi_throw_error(o,r,n){let i=h[o],u=new Error(i.getString(n));return u.code=r,i.pendingException=u,0},napi_throw_type_error(o,r,n){let i=h[o],u=new TypeError(i.getString(n));return u.code=r,i.pendingException=u,0},napi_throw_range_error(o,r,n){let i=h[o],u=new RangeError(i.getString(n));return u.code=r,i.pendingException=u,0},napi_create_error(o,r,n,i){let u=h[o],c=new Error(u.get(n));return c.code=u.get(r),u.createValue(c,i)},napi_create_type_error(o,r,n,i){let u=h[o],c=new TypeError(u.get(n));return c.code=u.get(r),u.createValue(c,i)},napi_create_range_error(o,r,n,i){let u=h[o],c=new RangeError(u.get(n));return c.code=u.get(r),u.createValue(c,i)},napi_get_and_clear_last_exception(o,r){let n=h[o],i=n.pendingException;return n.pendingException=null,n.createValue(i,r)},napi_is_exception_pending(o,r){let n=h[o];return n.memory[r]=n.pendingException?1:0,0},napi_fatal_exception(o,r){throw new Error("not implemented")},napi_fatal_error(o,r,n,i){throw new Error("not implemented")},napi_get_global(o,r){return h[o].setPointer(r,2)},napi_create_buffer(o,r,n,i){let u=h[o],c=u.instance.exports.napi_wasm_malloc(r);n&&u.setPointer(n,c);let l=typeof globalThis.Buffer<"u"?globalThis.Buffer.from(u.memory.buffer,c,r):u.memory.subarray(c,c+r),g=(y,d)=>{u.instance.exports.napi_wasm_free&&u.instance.exports.napi_wasm_free(d)};return G.register(l,new j(o,g,0,c)),u.createValue(l,i)},napi_create_buffer_copy(o,r,n,i,u){let c=h[o],l=c.instance.exports.napi_wasm_malloc(r);c.memory.set(c.memory.subarray(n,n+r),l),i&&c.setPointer(i,l);let g=typeof globalThis.Buffer<"u"?globalThis.Buffer.from(c.memory.buffer,l,r):c.memory.subarray(l,l+r),y=(d,w)=>{c.instance.exports.napi_wasm_free&&c.instance.exports.napi_wasm_free(w)};return G.register(buf,new j(o,y,0,l)),c.createValue(g,u)},napi_create_external_buffer(o,r,n,i,u,c){let l=h[o],g=typeof globalThis.Buffer<"u"?globalThis.Buffer.from(l.memory.buffer,n,r):l.memory.subarray(n,n+r);if(i){let y=l.table.get(i);G.register(g,new j(o,y,u,n))}return l.createValue(g,c)},napi_get_buffer_info(o,r,n,i){let u=h[o],c=u.get(r),l=u.getBufferInfo(c,n);return u.setPointer(i,l)},napi_create_arraybuffer(o,r,n,i){let u=h[o],c=new ArrayBuffer(r);return n&&u.getBufferInfo(c,n),u.createValue(c,i)},napi_create_external_arraybuffer(o,r,n,i,u,c){return 22},napi_get_arraybuffer_info(o,r,n,i){let u=h[o],c=u.getBufferInfo(u.get(r),n);return u.setPointer(i,c)},napi_detach_arraybuffer(o,r){let i=h[o].get(r);return typeof structuredClone=="function"&&structuredClone(i,{transfer:[i]}),0},napi_is_detached_arraybuffer(o,r,n){let i=h[o],u=i.get(r);return i.memory[n]=u.byteLength===0?1:0,0},napi_create_typedarray(o,r,n,i,u,c){let l=h[o],g=Ve[r],y=l.get(i),d=new g(y,u,n);return l.createValue(d,c)},napi_create_dataview(o,r,n,i,u){let c=h[o],l=c.get(n),g=new DataView(l,i,r);return c.createValue(g,u)},napi_get_typedarray_info(o,r,n,i,u,c,l){let g=h[o],y=g.get(r);return g.setPointer(n,Ve.findIndex(d=>y instanceof d)),g.setPointer(i,y.length),g.getBufferInfo(y,u),g.createValue(y.buffer,c),g.setPointer(l,y.byteOffset)},napi_get_dataview_info(o,r,n,i,u,c){let l=h[o],g=l.get(r);return l.setPointer(n,g.byteLength),l.getBufferInfo(g,i),l.createValue(g.buffer,u),l.setPointer(c,g.byteOffset)},napi_create_string_utf8(o,r,n,i){let u=h[o],c=je.decode(u.memory.subarray(r,r+n));return u.createValue(c,i)},napi_get_value_string_utf8(o,r,n,i,u){let c=h[o],l=c.get(r);if(typeof l!="string")return 3;if(n==0)return c.setPointer(u,Pt(l));let g=Bt.encodeInto(l,c.memory.subarray(n,n+i-1));return c.memory[n+g.written]=0,c.setPointer(u,g.written)},napi_create_string_latin1(o,r,n,i){let u=h[o],c=At.decode(u.memory.subarray(r,r+n));return u.createValue(c,i)},napi_get_value_string_latin1(o,r,n,i,u){let c=h[o],l=c.get(r);if(typeof l!="string")return 3;if(n==0)return c.setPointer(u,l.length);let g=c.memory,y=Math.min(l.length,i-1);for(let d=0;d<y;d++){let w=l.charCodeAt(d);g[n++]=w}return g[n]=0,c.setPointer(u,y)},napi_create_string_utf16(o,r,n,i){let u=h[o],c=bt.decode(u.memory.subarray(r,r+n*2));return u.createValue(c,i)},napi_get_value_string_utf16(o,r,n,i,u){let c=h[o],l=c.get(r);if(typeof l!="string")return 3;if(n==0)return c.setPointer(u,l.length);let g=c.u16,y=n>>1,d=Math.min(l.length,i-1);for(let w=0;w<d;w++){let I=l.charCodeAt(w);g[y++]=I}return g[y]=0,c.setPointer(u,d)},napi_create_date(o,r,n){return h[o].createValue(new Date(r),n)},napi_get_date_value(o,r,n){let i=h[o],u=i.get(r);i.f64[n>>3]=u.valueOf()},napi_create_symbol(o,r,n){let i=h[o],u=i.get(r);return i.createValue(Symbol(u),n)},napi_coerce_to_bool(o,r,n){let i=h[o];return i.createValue(!!i.get(r),n)},napi_coerce_to_number(o,r,n){let i=h[o];return i.createValue(Number(i.get(r)),n)},napi_coerce_to_object(o,r,n){let i=h[o];return i.createValue(Object(i.get(r)),n)},napi_coerce_to_string(o,r,n){let i=h[o];return i.createValue(String(i.get(r)),n)},napi_typeof(o,r,n){let i=h[o],u=i.get(r);return i.setPointer(n,(()=>{switch(typeof u){case"undefined":return 0;case"boolean":return 2;case"number":return 3;case"string":return 4;case"symbol":return 5;case"object":return u===null?1:u instanceof ae?8:6;case"function":return 7;case"bigint":return 9}})())},napi_instanceof(o,r,n,i){let u=h[o],c=u.get(r),l=u.get(n);return u.memory[i]=c instanceof l?1:0,0},napi_is_array(o,r,n){let i=h[o],u=i.get(r);return i.memory[n]=Array.isArray(u)?1:0,0},napi_is_buffer(o,r,n){let i=h[o],u=i.get(r);return i.memory[n]=(typeof globalThis.Buffer<"u"?globalThis.Buffer.isBuffer(u):u instanceof Uint8Array)?1:0,0},napi_is_date(o,r,n){let i=h[o],u=i.get(r);return i.memory[n]=u instanceof Date?1:0,0},napi_is_error(o,r,n){let i=h[o],u=i.get(r);return i.memory[n]=u instanceof Error?1:0,0},napi_is_typedarray(o,r,n){let i=h[o],u=i.get(r);return i.memory[n]=ArrayBuffer.isView(u)&&!(u instanceof DataView)?1:0,0},napi_is_dataview(o,r,n){let i=h[o],u=i.get(r);return i.memory[n]=u instanceof DataView?1:0,0},napi_strict_equals(o,r,n,i){let u=h[o];return u.memory[i]=u.get(r)===u.get(n)?1:0,0},napi_wrap(o,r,n,i,u,c){let l=h[o],g=l.get(r);if(l.wrappedObjects.set(g,n),i){let y=l.table.get(i);G.register(g,new j(o,y,u,n))}return c?ue.napi_create_reference(o,r,1,c):0},napi_unwrap(o,r,n){let i=h[o],u=i.get(r),c=i.wrappedObjects.get(u);return i.setPointer(n,c),0},napi_remove_wrap(o,r,n){let i=h[o],u=i.get(r),c=i.wrappedObjects.get(u);return G.unregister(u),i.wrappedObjects.delete(u),i.setPointer(n,c)},napi_type_tag_object(o,r,n){throw new Error("not implemented")},napi_check_object_type_tag(o,r,n){throw new Error("not implemented")},napi_add_finalizer(o,r,n,i,u,c){let l=h[o],g=l.get(r),y=l.table.get(i);return G.register(g,new j(o,y,u,n)),c?ue.napi_create_reference(o,r,1,c):0},napi_create_promise(o,r,n){let i=h[o],u=new Promise((c,l)=>{let g=i.deferred.length;i.deferred.push({resolve:c,reject:l}),i.setPointer(r,g)});return i.createValue(u,n)},napi_resolve_deferred(o,r,n){let i=h[o],{resolve:u}=i.deferred[r],c=i.get(n);return u(c),i.deferred[r]=void 0,0},napi_reject_deferred(o,r,n){let i=h[o],{reject:u}=i.deferred[r],c=i.get(n);return u(c),i.deferred[r]=void 0,0},napi_is_promise(o,r,n){let i=h[o],u=i.get(r);return i.memory[n]=u instanceof Promise?1:0,0},napi_run_script(o,r,n){let i=h[o],u=i.get(r),c=(0,eval)(u);return i.createValue(c,n)},napi_create_external(o,r,n,i,u){let c=h[o],l=new ae;if(c.externalObjects.set(l,r),n){let g=c.table.get(n);G.register(l,new j(o,g,i,r))}return c.createValue(l,u)},napi_get_value_external(o,r,n){let i=h[o],u=i.get(r),c=i.externalObjects.get(u);return c?i.setPointer(n,c):1},napi_adjust_external_memory(){return 0}};function vt(o,r){let n=0;for(;o[r]!==0;)n++,r++;return n}function Pt(o){let r=0;for(let n=0;n<o.length;n++){let i=o.charCodeAt(n);if(i>=55296&&i<=56319&&n<o.length-1){let u=o.charCodeAt(++n);(u&64512)===56320?i=((i&1023)<<10)+(u&1023)+65536:n--}i&4294967168?i&4294965248?i&4294901760?i&4292870144||(r+=4):r+=3:r+=2:r++}return r}R();L();C();var Fe;function $e(o,r,n){Fe(o,r,n)}var me={None:0,Unwinding:1,Rewinding:2};function Ge(o){let{instance:r,exports:n}=o,{asyncify_get_state:i,asyncify_start_unwind:u,asyncify_stop_unwind:c,asyncify_start_rewind:l,asyncify_stop_rewind:g}=r.exports,y=r.exports.napi_wasm_malloc(4104),d=y+8,w=y+8+4096;new Int32Array(o.memory.buffer,y).set([d,w]);function I(){if(i()!==me.None)throw new Error(`Invalid async state ${i()}, expected 0.`)}let P,m,E;return Fe=(b,B,U)=>{if(i()===me.Rewinding){g(),m!=null&&o.createValue(m,B),E!=null&&o.createValue(E,U),P=m=E=null;return}I(),P=o.get(b),u(y)},async function(B){I();let U=n.bundle(B);for(;i()===me.Unwinding;){c();try{m=await P}catch(N){E=N}I(),l(y),U=n.bundle(B)}return I(),U}}R();L();C();var Nt={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",op_mob:"opera",and_qq:null,and_uc:null,baidu:null,bb:null,kaios:null,op_mini:null};function we(o){let r={};for(let n of o){let[i,u]=n.split(" ");if(Nt[i]===null)continue;let c=xt(u);c!=null&&(r[i]==null||c<r[i])&&(r[i]=c)}return r}function xt(o){let[r,n=0,i=0]=o.split("-")[0].split(".").map(u=>parseInt(u,10));return isNaN(r)||isNaN(n)||isNaN(i)?null:r<<16|n<<8|i}R();L();C();var Ie={Nesting:1,NotSelectorList:2,DirSelector:4,LangSelectorList:8,IsSelector:16,TextDecorationThicknessPercent:32,MediaIntervalSyntax:64,MediaRangeSyntax:128,CustomMediaQueries:256,ClampFunction:512,ColorFunction:1024,OklabColors:2048,LabColors:4096,P3Colors:8192,HexAlphaColors:16384,SpaceSeparatedColorNotation:32768,FontFamilySystemUi:65536,DoublePositionGradients:131072,VendorPrefixes:262144,LogicalProperties:524288,LightDark:1048576,Selectors:31,MediaQueries:448,Colors:1113088};var se,le,Tt;async function Ee(o){if(se)return;if(le){await le;return}o=o??new URL("lightningcss_node.wasm",location),(typeof o=="string"||typeof Request=="function"&&o instanceof Request||typeof URL=="function"&&o instanceof URL)&&(o=St(o));let r;le=o.then(n=>Ot(n,{env:{...ue,await_promise_sync:$e,__getrandom_custom:(i,u)=>{let c=r.memory.subarray(i,i+u);crypto.getRandomValues(c)}}})).then(({instance:n})=>{n.exports.register_module(),r=new oe(n),Tt=Ge(r),se=r.exports}),await le}function qe(o){return se.transform(o)}function ze(o){return se.transformStyleAttribute(o)}async function Ot(o,r){if(typeof Response=="function"&&o instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(o,r)}catch(i){if(o.headers.get("Content-Type")!="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",i);else throw i}let n=await o.arrayBuffer();return await WebAssembly.instantiate(n,r)}else{let n=await WebAssembly.instantiate(o,r);return n instanceof WebAssembly.Instance?{instance:n,module:o}:n}}async function St(o){try{return(await Promise.resolve().then(()=>(We(),Xe))).readFileSync(o)}catch{return fetch(o)}}return dt(Rt);})();
|
|
2
2
|
/*! Bundled license information:
|
|
3
3
|
|
|
4
4
|
@jspm/core/nodelibs/browser/buffer.js:
|
|
Binary file
|