@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,9 +1,9 @@
|
|
|
1
|
-
"use strict";var tokencss=(()=>{var Ra=Object.create;var Ut=Object.defineProperty;var Oa=Object.getOwnPropertyDescriptor;var Ba=Object.getOwnPropertyNames;var Ua=Object.getPrototypeOf,La=Object.prototype.hasOwnProperty;var ie=(i,e)=>()=>(i&&(e=i(i=0)),e);var _=(i,e)=>()=>(e||i((e={exports:{}}).exports,e),e.exports),tt=(i,e)=>{for(var t in e)Ut(i,t,{get:e[t],enumerable:!0})},Ii=(i,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Ba(e))!La.call(i,s)&&s!==t&&Ut(i,s,{get:()=>e[s],enumerable:!(r=Oa(e,s))||r.enumerable});return i};var dr=(i,e,t)=>(t=i!=null?Ra(Ua(i)):{},Ii(e||!i||!i.__esModule?Ut(t,"default",{value:i,enumerable:!0}):t,i)),Oe=i=>Ii(Ut({},"__esModule",{value:!0}),i);var C=ie(()=>{});var B={};tt(B,{_debugEnd:()=>mn,_debugProcess:()=>dn,_events:()=>Ln,_eventsCount:()=>kn,_exiting:()=>Yi,_fatalExceptions:()=>fn,_getActiveHandles:()=>Xi,_getActiveRequests:()=>Ki,_kill:()=>en,_linkedBinding:()=>Vi,_maxListeners:()=>Un,_preload_modules:()=>Rn,_rawDebug:()=>Wi,_startProfilerIdleNotifier:()=>gn,_stopProfilerIdleNotifier:()=>vn,_tickCallback:()=>pn,abort:()=>xn,addListener:()=>Pn,allowedNodeEnvironmentFlags:()=>an,arch:()=>Li,argv:()=>Ti,argv0:()=>In,assert:()=>ln,binding:()=>qi,chdir:()=>Fi,config:()=>Ji,cpuUsage:()=>Pt,cwd:()=>ji,debugPort:()=>Sn,default:()=>Fn,dlopen:()=>Qi,domain:()=>Gi,emit:()=>Mn,emitWarning:()=>Mi,env:()=>Pi,execArgv:()=>_i,execPath:()=>An,exit:()=>sn,features:()=>un,hasUncaughtExceptionCaptureCallback:()=>hn,hrtime:()=>kt,kill:()=>nn,listeners:()=>jn,memoryUsage:()=>rn,moduleLoadList:()=>Hi,nextTick:()=>Oi,off:()=>_n,on:()=>de,once:()=>Tn,openStdin:()=>on,pid:()=>En,platform:()=>ki,ppid:()=>Cn,prependListener:()=>qn,prependOnceListener:()=>Dn,reallyExit:()=>Zi,release:()=>zi,removeAllListeners:()=>Nn,removeListener:()=>$n,resourceUsage:()=>tn,setSourceMapsEnabled:()=>On,setUncaughtExceptionCaptureCallback:()=>cn,stderr:()=>wn,stdin:()=>bn,stdout:()=>yn,title:()=>Ui,umask:()=>Di,uptime:()=>Bn,version:()=>$i,versions:()=>Ni});function vr(i){throw new Error("Node.js process "+i+" is not supported by JSPM core outside of Node.js")}function ka(){!Fe||!Be||(Fe=!1,Be.length?pe=Be.concat(pe):Lt=-1,pe.length&&Ri())}function Ri(){if(!Fe){var i=setTimeout(ka,0);Fe=!0;for(var e=pe.length;e;){for(Be=pe,pe=[];++Lt<e;)Be&&Be[Lt].run();Lt=-1,e=pe.length}Be=null,Fe=!1,clearTimeout(i)}}function Oi(i){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];pe.push(new Bi(i,e)),pe.length===1&&!Fe&&setTimeout(Ri,0)}function Bi(i,e){this.fun=i,this.array=e}function ee(){}function Vi(i){vr("_linkedBinding")}function Qi(i){vr("dlopen")}function Ki(){return[]}function Xi(){return[]}function ln(i,e){if(!i)throw new Error(e||"assertion error")}function hn(){return!1}function Bn(){return xe.now()/1e3}function kt(i){var e=Math.floor((Date.now()-xe.now())*.001),t=xe.now()*.001,r=Math.floor(t)+e,s=Math.floor(t%1*1e9);return i&&(r=r-i[0],s=s-i[1],s<0&&(r--,s+=gr)),[r,s]}function de(){return Fn}function jn(i){return[]}var pe,Fe,Be,Lt,Ui,Li,ki,Pi,Ti,_i,$i,Ni,Mi,qi,Di,ji,Fi,zi,Wi,Hi,Gi,Yi,Ji,Zi,en,Pt,tn,rn,nn,sn,on,an,un,fn,cn,pn,dn,mn,gn,vn,yn,wn,bn,xn,En,Cn,An,Sn,In,Rn,On,xe,mr,gr,Un,Ln,kn,Pn,Tn,_n,$n,Nn,Mn,qn,Dn,Fn,zn=ie(()=>{C();S();A();pe=[],Fe=!1,Lt=-1;Bi.prototype.run=function(){this.fun.apply(null,this.array)};Ui="browser",Li="x64",ki="browser",Pi={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},Ti=["/usr/bin/node"],_i=[],$i="v16.8.0",Ni={},Mi=function(i,e){console.warn((e?e+": ":"")+i)},qi=function(i){vr("binding")},Di=function(i){return 0},ji=function(){return"/"},Fi=function(i){},zi={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};Wi=ee,Hi=[];Gi={},Yi=!1,Ji={};Zi=ee,en=ee,Pt=function(){return{}},tn=Pt,rn=Pt,nn=ee,sn=ee,on=ee,an={};un={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},fn=ee,cn=ee;pn=ee,dn=ee,mn=ee,gn=ee,vn=ee,yn=void 0,wn=void 0,bn=void 0,xn=ee,En=2,Cn=1,An="/bin/usr/node",Sn=9229,In="node",Rn=[],On=ee,xe={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};xe.now===void 0&&(mr=Date.now(),xe.timing&&xe.timing.navigationStart&&(mr=xe.timing.navigationStart),xe.now=()=>Date.now()-mr);gr=1e9;kt.bigint=function(i){var e=kt(i);return typeof BigInt>"u"?e[0]*gr+e[1]:BigInt(e[0]*gr)+BigInt(e[1])};Un=10,Ln={},kn=0;Pn=de,Tn=de,_n=de,$n=de,Nn=de,Mn=ee,qn=de,Dn=de;Fn={version:$i,versions:Ni,arch:Li,platform:ki,release:zi,_rawDebug:Wi,moduleLoadList:Hi,binding:qi,_linkedBinding:Vi,_events:Ln,_eventsCount:kn,_maxListeners:Un,on:de,addListener:Pn,once:Tn,off:_n,removeListener:$n,removeAllListeners:Nn,emit:Mn,prependListener:qn,prependOnceListener:Dn,listeners:jn,domain:Gi,_exiting:Yi,config:Ji,dlopen:Qi,uptime:Bn,_getActiveRequests:Ki,_getActiveHandles:Xi,reallyExit:Zi,_kill:en,cpuUsage:Pt,resourceUsage:tn,memoryUsage:rn,kill:nn,exit:sn,openStdin:on,allowedNodeEnvironmentFlags:an,assert:ln,features:un,_fatalExceptions:fn,setUncaughtExceptionCaptureCallback:cn,hasUncaughtExceptionCaptureCallback:hn,emitWarning:Mi,nextTick:Oi,_tickCallback:pn,_debugProcess:dn,_debugEnd:mn,_startProfilerIdleNotifier:gn,_stopProfilerIdleNotifier:vn,stdout:yn,stdin:bn,stderr:wn,abort:xn,umask:Di,chdir:Fi,cwd:ji,env:Pi,title:Ui,argv:Ti,execArgv:_i,pid:En,ppid:Cn,execPath:An,debugPort:Sn,hrtime:kt,argv0:In,_preload_modules:Rn,setSourceMapsEnabled:On}});var A=ie(()=>{zn()});function Pa(){if(Wn)return rt;Wn=!0,rt.byteLength=u,rt.toByteArray=p,rt.fromByteArray=m;for(var i=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=r.length;s<l;++s)i[s]=r[s],e[r.charCodeAt(s)]=s;e[45]=62,e[95]=63;function n(y){var x=y.length;if(x%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var I=y.indexOf("=");I===-1&&(I=x);var w=I===x?0:4-I%4;return[I,w]}function u(y){var x=n(y),I=x[0],w=x[1];return(I+w)*3/4-w}function c(y,x,I){return(x+I)*3/4-I}function p(y){var x,I=n(y),w=I[0],L=I[1],k=new t(c(y,w,L)),R=0,D=L>0?w-4:w,N;for(N=0;N<D;N+=4)x=e[y.charCodeAt(N)]<<18|e[y.charCodeAt(N+1)]<<12|e[y.charCodeAt(N+2)]<<6|e[y.charCodeAt(N+3)],k[R++]=x>>16&255,k[R++]=x>>8&255,k[R++]=x&255;return L===2&&(x=e[y.charCodeAt(N)]<<2|e[y.charCodeAt(N+1)]>>4,k[R++]=x&255),L===1&&(x=e[y.charCodeAt(N)]<<10|e[y.charCodeAt(N+1)]<<4|e[y.charCodeAt(N+2)]>>2,k[R++]=x>>8&255,k[R++]=x&255),k}function g(y){return i[y>>18&63]+i[y>>12&63]+i[y>>6&63]+i[y&63]}function d(y,x,I){for(var w,L=[],k=x;k<I;k+=3)w=(y[k]<<16&16711680)+(y[k+1]<<8&65280)+(y[k+2]&255),L.push(g(w));return L.join("")}function m(y){for(var x,I=y.length,w=I%3,L=[],k=16383,R=0,D=I-w;R<D;R+=k)L.push(d(y,R,R+k>D?D:R+k));return w===1?(x=y[I-1],L.push(i[x>>2]+i[x<<4&63]+"==")):w===2&&(x=(y[I-2]<<8)+y[I-1],L.push(i[x>>10]+i[x>>4&63]+i[x<<2&63]+"=")),L.join("")}return rt}function Ta(){if(Hn)return Tt;Hn=!0;return Tt.read=function(i,e,t,r,s){var l,n,u=s*8-r-1,c=(1<<u)-1,p=c>>1,g=-7,d=t?s-1:0,m=t?-1:1,y=i[e+d];for(d+=m,l=y&(1<<-g)-1,y>>=-g,g+=u;g>0;l=l*256+i[e+d],d+=m,g-=8);for(n=l&(1<<-g)-1,l>>=-g,g+=r;g>0;n=n*256+i[e+d],d+=m,g-=8);if(l===0)l=1-p;else{if(l===c)return n?NaN:(y?-1:1)*(1/0);n=n+Math.pow(2,r),l=l-p}return(y?-1:1)*n*Math.pow(2,l-r)},Tt.write=function(i,e,t,r,s,l){var n,u,c,p=l*8-s-1,g=(1<<p)-1,d=g>>1,m=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=r?0:l-1,x=r?1:-1,I=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,n=g):(n=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-n))<1&&(n--,c*=2),n+d>=1?e+=m/c:e+=m*Math.pow(2,1-d),e*c>=2&&(n++,c/=2),n+d>=g?(u=0,n=g):n+d>=1?(u=(e*c-1)*Math.pow(2,s),n=n+d):(u=e*Math.pow(2,d-1)*Math.pow(2,s),n=0));s>=8;i[t+y]=u&255,y+=x,u/=256,s-=8);for(n=n<<s|u,p+=s;p>0;i[t+y]=n&255,y+=x,n/=256,p-=8);i[t+y-x]|=I*128},Tt}function _a(){if(Vn)return Ue;Vn=!0;let i=Pa(),e=Ta(),t=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ue.Buffer=n,Ue.SlowBuffer=L,Ue.INSPECT_MAX_BYTES=50;let r=2147483647;Ue.kMaxLength=r,n.TYPED_ARRAY_SUPPORT=s(),!n.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 s(){try{let f=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(f,o),f.foo()===42}catch{return!1}}Object.defineProperty(n.prototype,"parent",{enumerable:!0,get:function(){if(n.isBuffer(this))return this.buffer}}),Object.defineProperty(n.prototype,"offset",{enumerable:!0,get:function(){if(n.isBuffer(this))return this.byteOffset}});function l(f){if(f>r)throw new RangeError('The value "'+f+'" is invalid for option "size"');let o=new Uint8Array(f);return Object.setPrototypeOf(o,n.prototype),o}function n(f,o,a){if(typeof f=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return g(f)}return u(f,o,a)}n.poolSize=8192;function u(f,o,a){if(typeof f=="string")return d(f,o);if(ArrayBuffer.isView(f))return y(f);if(f==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof f);if(le(f,ArrayBuffer)||f&&le(f.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(le(f,SharedArrayBuffer)||f&&le(f.buffer,SharedArrayBuffer)))return x(f,o,a);if(typeof f=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let h=f.valueOf&&f.valueOf();if(h!=null&&h!==f)return n.from(h,o,a);let v=I(f);if(v)return v;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof f[Symbol.toPrimitive]=="function")return n.from(f[Symbol.toPrimitive]("string"),o,a);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof f)}n.from=function(f,o,a){return u(f,o,a)},Object.setPrototypeOf(n.prototype,Uint8Array.prototype),Object.setPrototypeOf(n,Uint8Array);function c(f){if(typeof f!="number")throw new TypeError('"size" argument must be of type number');if(f<0)throw new RangeError('The value "'+f+'" is invalid for option "size"')}function p(f,o,a){return c(f),f<=0?l(f):o!==void 0?typeof a=="string"?l(f).fill(o,a):l(f).fill(o):l(f)}n.alloc=function(f,o,a){return p(f,o,a)};function g(f){return c(f),l(f<0?0:w(f)|0)}n.allocUnsafe=function(f){return g(f)},n.allocUnsafeSlow=function(f){return g(f)};function d(f,o){if((typeof o!="string"||o==="")&&(o="utf8"),!n.isEncoding(o))throw new TypeError("Unknown encoding: "+o);let a=k(f,o)|0,h=l(a),v=h.write(f,o);return v!==a&&(h=h.slice(0,v)),h}function m(f){let o=f.length<0?0:w(f.length)|0,a=l(o);for(let h=0;h<o;h+=1)a[h]=f[h]&255;return a}function y(f){if(le(f,Uint8Array)){let o=new Uint8Array(f);return x(o.buffer,o.byteOffset,o.byteLength)}return m(f)}function x(f,o,a){if(o<0||f.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(f.byteLength<o+(a||0))throw new RangeError('"length" is outside of buffer bounds');let h;return o===void 0&&a===void 0?h=new Uint8Array(f):a===void 0?h=new Uint8Array(f,o):h=new Uint8Array(f,o,a),Object.setPrototypeOf(h,n.prototype),h}function I(f){if(n.isBuffer(f)){let o=w(f.length)|0,a=l(o);return a.length===0||f.copy(a,0,0,o),a}if(f.length!==void 0)return typeof f.length!="number"||pr(f.length)?l(0):m(f);if(f.type==="Buffer"&&Array.isArray(f.data))return m(f.data)}function w(f){if(f>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return f|0}function L(f){return+f!=f&&(f=0),n.alloc(+f)}n.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==n.prototype},n.compare=function(o,a){if(le(o,Uint8Array)&&(o=n.from(o,o.offset,o.byteLength)),le(a,Uint8Array)&&(a=n.from(a,a.offset,a.byteLength)),!n.isBuffer(o)||!n.isBuffer(a))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===a)return 0;let h=o.length,v=a.length;for(let b=0,E=Math.min(h,v);b<E;++b)if(o[b]!==a[b]){h=o[b],v=a[b];break}return h<v?-1:v<h?1:0},n.isEncoding=function(o){switch(String(o).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}},n.concat=function(o,a){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return n.alloc(0);let h;if(a===void 0)for(a=0,h=0;h<o.length;++h)a+=o[h].length;let v=n.allocUnsafe(a),b=0;for(h=0;h<o.length;++h){let E=o[h];if(le(E,Uint8Array))b+E.length>v.length?(n.isBuffer(E)||(E=n.from(E)),E.copy(v,b)):Uint8Array.prototype.set.call(v,E,b);else if(n.isBuffer(E))E.copy(v,b);else throw new TypeError('"list" argument must be an Array of Buffers');b+=E.length}return v};function k(f,o){if(n.isBuffer(f))return f.length;if(ArrayBuffer.isView(f)||le(f,ArrayBuffer))return f.byteLength;if(typeof f!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof f);let a=f.length,h=arguments.length>2&&arguments[2]===!0;if(!h&&a===0)return 0;let v=!1;for(;;)switch(o){case"ascii":case"latin1":case"binary":return a;case"utf8":case"utf-8":return hr(f).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return a*2;case"hex":return a>>>1;case"base64":return Si(f).length;default:if(v)return h?-1:hr(f).length;o=(""+o).toLowerCase(),v=!0}}n.byteLength=k;function R(f,o,a){let h=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((a===void 0||a>this.length)&&(a=this.length),a<=0)||(a>>>=0,o>>>=0,a<=o))return"";for(f||(f="utf8");;)switch(f){case"hex":return ya(this,o,a);case"utf8":case"utf-8":return Ne(this,o,a);case"ascii":return fr(this,o,a);case"latin1":case"binary":return va(this,o,a);case"base64":return Re(this,o,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wa(this,o,a);default:if(h)throw new TypeError("Unknown encoding: "+f);f=(f+"").toLowerCase(),h=!0}}n.prototype._isBuffer=!0;function D(f,o,a){let h=f[o];f[o]=f[a],f[a]=h}n.prototype.swap16=function(){let o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let a=0;a<o;a+=2)D(this,a,a+1);return this},n.prototype.swap32=function(){let o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let a=0;a<o;a+=4)D(this,a,a+3),D(this,a+1,a+2);return this},n.prototype.swap64=function(){let o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let a=0;a<o;a+=8)D(this,a,a+7),D(this,a+1,a+6),D(this,a+2,a+5),D(this,a+3,a+4);return this},n.prototype.toString=function(){let o=this.length;return o===0?"":arguments.length===0?Ne(this,0,o):R.apply(this,arguments)},n.prototype.toLocaleString=n.prototype.toString,n.prototype.equals=function(o){if(!n.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:n.compare(this,o)===0},n.prototype.inspect=function(){let o="",a=Ue.INSPECT_MAX_BYTES;return o=this.toString("hex",0,a).replace(/(.{2})/g,"$1 ").trim(),this.length>a&&(o+=" ... "),"<Buffer "+o+">"},t&&(n.prototype[t]=n.prototype.inspect),n.prototype.compare=function(o,a,h,v,b){if(le(o,Uint8Array)&&(o=n.from(o,o.offset,o.byteLength)),!n.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(a===void 0&&(a=0),h===void 0&&(h=o?o.length:0),v===void 0&&(v=0),b===void 0&&(b=this.length),a<0||h>o.length||v<0||b>this.length)throw new RangeError("out of range index");if(v>=b&&a>=h)return 0;if(v>=b)return-1;if(a>=h)return 1;if(a>>>=0,h>>>=0,v>>>=0,b>>>=0,this===o)return 0;let E=b-v,P=h-a,V=Math.min(E,P),z=this.slice(v,b),G=o.slice(a,h);for(let M=0;M<V;++M)if(z[M]!==G[M]){E=z[M],P=G[M];break}return E<P?-1:P<E?1:0};function N(f,o,a,h,v){if(f.length===0)return-1;if(typeof a=="string"?(h=a,a=0):a>2147483647?a=2147483647:a<-2147483648&&(a=-2147483648),a=+a,pr(a)&&(a=v?0:f.length-1),a<0&&(a=f.length+a),a>=f.length){if(v)return-1;a=f.length-1}else if(a<0)if(v)a=0;else return-1;if(typeof o=="string"&&(o=n.from(o,h)),n.isBuffer(o))return o.length===0?-1:we(f,o,a,h,v);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?v?Uint8Array.prototype.indexOf.call(f,o,a):Uint8Array.prototype.lastIndexOf.call(f,o,a):we(f,[o],a,h,v);throw new TypeError("val must be string, number or Buffer")}function we(f,o,a,h,v){let b=1,E=f.length,P=o.length;if(h!==void 0&&(h=String(h).toLowerCase(),h==="ucs2"||h==="ucs-2"||h==="utf16le"||h==="utf-16le")){if(f.length<2||o.length<2)return-1;b=2,E/=2,P/=2,a/=2}function V(G,M){return b===1?G[M]:G.readUInt16BE(M*b)}let z;if(v){let G=-1;for(z=a;z<E;z++)if(V(f,z)===V(o,G===-1?0:z-G)){if(G===-1&&(G=z),z-G+1===P)return G*b}else G!==-1&&(z-=z-G),G=-1}else for(a+P>E&&(a=E-P),z=a;z>=0;z--){let G=!0;for(let M=0;M<P;M++)if(V(f,z+M)!==V(o,M)){G=!1;break}if(G)return z}return-1}n.prototype.includes=function(o,a,h){return this.indexOf(o,a,h)!==-1},n.prototype.indexOf=function(o,a,h){return N(this,o,a,h,!0)},n.prototype.lastIndexOf=function(o,a,h){return N(this,o,a,h,!1)};function ne(f,o,a,h){a=Number(a)||0;let v=f.length-a;h?(h=Number(h),h>v&&(h=v)):h=v;let b=o.length;h>b/2&&(h=b/2);let E;for(E=0;E<h;++E){let P=parseInt(o.substr(E*2,2),16);if(pr(P))return E;f[a+E]=P}return E}function Q(f,o,a,h){return Bt(hr(o,f.length-a),f,a,h)}function Z(f,o,a,h){return Bt(Ca(o),f,a,h)}function oe(f,o,a,h){return Bt(Si(o),f,a,h)}function ur(f,o,a,h){return Bt(Aa(o,f.length-a),f,a,h)}n.prototype.write=function(o,a,h,v){if(a===void 0)v="utf8",h=this.length,a=0;else if(h===void 0&&typeof a=="string")v=a,h=this.length,a=0;else if(isFinite(a))a=a>>>0,isFinite(h)?(h=h>>>0,v===void 0&&(v="utf8")):(v=h,h=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let b=this.length-a;if((h===void 0||h>b)&&(h=b),o.length>0&&(h<0||a<0)||a>this.length)throw new RangeError("Attempt to write outside buffer bounds");v||(v="utf8");let E=!1;for(;;)switch(v){case"hex":return ne(this,o,a,h);case"utf8":case"utf-8":return Q(this,o,a,h);case"ascii":case"latin1":case"binary":return Z(this,o,a,h);case"base64":return oe(this,o,a,h);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ur(this,o,a,h);default:if(E)throw new TypeError("Unknown encoding: "+v);v=(""+v).toLowerCase(),E=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Re(f,o,a){return o===0&&a===f.length?i.fromByteArray(f):i.fromByteArray(f.slice(o,a))}function Ne(f,o,a){a=Math.min(f.length,a);let h=[],v=o;for(;v<a;){let b=f[v],E=null,P=b>239?4:b>223?3:b>191?2:1;if(v+P<=a){let V,z,G,M;switch(P){case 1:b<128&&(E=b);break;case 2:V=f[v+1],(V&192)===128&&(M=(b&31)<<6|V&63,M>127&&(E=M));break;case 3:V=f[v+1],z=f[v+2],(V&192)===128&&(z&192)===128&&(M=(b&15)<<12|(V&63)<<6|z&63,M>2047&&(M<55296||M>57343)&&(E=M));break;case 4:V=f[v+1],z=f[v+2],G=f[v+3],(V&192)===128&&(z&192)===128&&(G&192)===128&&(M=(b&15)<<18|(V&63)<<12|(z&63)<<6|G&63,M>65535&&M<1114112&&(E=M))}}E===null?(E=65533,P=1):E>65535&&(E-=65536,h.push(E>>>10&1023|55296),E=56320|E&1023),h.push(E),v+=P}return qe(h)}let Me=4096;function qe(f){let o=f.length;if(o<=Me)return String.fromCharCode.apply(String,f);let a="",h=0;for(;h<o;)a+=String.fromCharCode.apply(String,f.slice(h,h+=Me));return a}function fr(f,o,a){let h="";a=Math.min(f.length,a);for(let v=o;v<a;++v)h+=String.fromCharCode(f[v]&127);return h}function va(f,o,a){let h="";a=Math.min(f.length,a);for(let v=o;v<a;++v)h+=String.fromCharCode(f[v]);return h}function ya(f,o,a){let h=f.length;(!o||o<0)&&(o=0),(!a||a<0||a>h)&&(a=h);let v="";for(let b=o;b<a;++b)v+=Sa[f[b]];return v}function wa(f,o,a){let h=f.slice(o,a),v="";for(let b=0;b<h.length-1;b+=2)v+=String.fromCharCode(h[b]+h[b+1]*256);return v}n.prototype.slice=function(o,a){let h=this.length;o=~~o,a=a===void 0?h:~~a,o<0?(o+=h,o<0&&(o=0)):o>h&&(o=h),a<0?(a+=h,a<0&&(a=0)):a>h&&(a=h),a<o&&(a=o);let v=this.subarray(o,a);return Object.setPrototypeOf(v,n.prototype),v};function K(f,o,a){if(f%1!==0||f<0)throw new RangeError("offset is not uint");if(f+o>a)throw new RangeError("Trying to access beyond buffer length")}n.prototype.readUintLE=n.prototype.readUIntLE=function(o,a,h){o=o>>>0,a=a>>>0,h||K(o,a,this.length);let v=this[o],b=1,E=0;for(;++E<a&&(b*=256);)v+=this[o+E]*b;return v},n.prototype.readUintBE=n.prototype.readUIntBE=function(o,a,h){o=o>>>0,a=a>>>0,h||K(o,a,this.length);let v=this[o+--a],b=1;for(;a>0&&(b*=256);)v+=this[o+--a]*b;return v},n.prototype.readUint8=n.prototype.readUInt8=function(o,a){return o=o>>>0,a||K(o,1,this.length),this[o]},n.prototype.readUint16LE=n.prototype.readUInt16LE=function(o,a){return o=o>>>0,a||K(o,2,this.length),this[o]|this[o+1]<<8},n.prototype.readUint16BE=n.prototype.readUInt16BE=function(o,a){return o=o>>>0,a||K(o,2,this.length),this[o]<<8|this[o+1]},n.prototype.readUint32LE=n.prototype.readUInt32LE=function(o,a){return o=o>>>0,a||K(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216},n.prototype.readUint32BE=n.prototype.readUInt32BE=function(o,a){return o=o>>>0,a||K(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])},n.prototype.readBigUInt64LE=be(function(o){o=o>>>0,je(o,"offset");let a=this[o],h=this[o+7];(a===void 0||h===void 0)&&et(o,this.length-8);let v=a+this[++o]*2**8+this[++o]*2**16+this[++o]*2**24,b=this[++o]+this[++o]*2**8+this[++o]*2**16+h*2**24;return BigInt(v)+(BigInt(b)<<BigInt(32))}),n.prototype.readBigUInt64BE=be(function(o){o=o>>>0,je(o,"offset");let a=this[o],h=this[o+7];(a===void 0||h===void 0)&&et(o,this.length-8);let v=a*2**24+this[++o]*2**16+this[++o]*2**8+this[++o],b=this[++o]*2**24+this[++o]*2**16+this[++o]*2**8+h;return(BigInt(v)<<BigInt(32))+BigInt(b)}),n.prototype.readIntLE=function(o,a,h){o=o>>>0,a=a>>>0,h||K(o,a,this.length);let v=this[o],b=1,E=0;for(;++E<a&&(b*=256);)v+=this[o+E]*b;return b*=128,v>=b&&(v-=Math.pow(2,8*a)),v},n.prototype.readIntBE=function(o,a,h){o=o>>>0,a=a>>>0,h||K(o,a,this.length);let v=a,b=1,E=this[o+--v];for(;v>0&&(b*=256);)E+=this[o+--v]*b;return b*=128,E>=b&&(E-=Math.pow(2,8*a)),E},n.prototype.readInt8=function(o,a){return o=o>>>0,a||K(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]},n.prototype.readInt16LE=function(o,a){o=o>>>0,a||K(o,2,this.length);let h=this[o]|this[o+1]<<8;return h&32768?h|4294901760:h},n.prototype.readInt16BE=function(o,a){o=o>>>0,a||K(o,2,this.length);let h=this[o+1]|this[o]<<8;return h&32768?h|4294901760:h},n.prototype.readInt32LE=function(o,a){return o=o>>>0,a||K(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24},n.prototype.readInt32BE=function(o,a){return o=o>>>0,a||K(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]},n.prototype.readBigInt64LE=be(function(o){o=o>>>0,je(o,"offset");let a=this[o],h=this[o+7];(a===void 0||h===void 0)&&et(o,this.length-8);let v=this[o+4]+this[o+5]*2**8+this[o+6]*2**16+(h<<24);return(BigInt(v)<<BigInt(32))+BigInt(a+this[++o]*2**8+this[++o]*2**16+this[++o]*2**24)}),n.prototype.readBigInt64BE=be(function(o){o=o>>>0,je(o,"offset");let a=this[o],h=this[o+7];(a===void 0||h===void 0)&&et(o,this.length-8);let v=(a<<24)+this[++o]*2**16+this[++o]*2**8+this[++o];return(BigInt(v)<<BigInt(32))+BigInt(this[++o]*2**24+this[++o]*2**16+this[++o]*2**8+h)}),n.prototype.readFloatLE=function(o,a){return o=o>>>0,a||K(o,4,this.length),e.read(this,o,!0,23,4)},n.prototype.readFloatBE=function(o,a){return o=o>>>0,a||K(o,4,this.length),e.read(this,o,!1,23,4)},n.prototype.readDoubleLE=function(o,a){return o=o>>>0,a||K(o,8,this.length),e.read(this,o,!0,52,8)},n.prototype.readDoubleBE=function(o,a){return o=o>>>0,a||K(o,8,this.length),e.read(this,o,!1,52,8)};function re(f,o,a,h,v,b){if(!n.isBuffer(f))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>v||o<b)throw new RangeError('"value" argument is out of bounds');if(a+h>f.length)throw new RangeError("Index out of range")}n.prototype.writeUintLE=n.prototype.writeUIntLE=function(o,a,h,v){if(o=+o,a=a>>>0,h=h>>>0,!v){let P=Math.pow(2,8*h)-1;re(this,o,a,h,P,0)}let b=1,E=0;for(this[a]=o&255;++E<h&&(b*=256);)this[a+E]=o/b&255;return a+h},n.prototype.writeUintBE=n.prototype.writeUIntBE=function(o,a,h,v){if(o=+o,a=a>>>0,h=h>>>0,!v){let P=Math.pow(2,8*h)-1;re(this,o,a,h,P,0)}let b=h-1,E=1;for(this[a+b]=o&255;--b>=0&&(E*=256);)this[a+b]=o/E&255;return a+h},n.prototype.writeUint8=n.prototype.writeUInt8=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,1,255,0),this[a]=o&255,a+1},n.prototype.writeUint16LE=n.prototype.writeUInt16LE=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,2,65535,0),this[a]=o&255,this[a+1]=o>>>8,a+2},n.prototype.writeUint16BE=n.prototype.writeUInt16BE=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,2,65535,0),this[a]=o>>>8,this[a+1]=o&255,a+2},n.prototype.writeUint32LE=n.prototype.writeUInt32LE=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,4,4294967295,0),this[a+3]=o>>>24,this[a+2]=o>>>16,this[a+1]=o>>>8,this[a]=o&255,a+4},n.prototype.writeUint32BE=n.prototype.writeUInt32BE=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,4,4294967295,0),this[a]=o>>>24,this[a+1]=o>>>16,this[a+2]=o>>>8,this[a+3]=o&255,a+4};function yi(f,o,a,h,v){Ai(o,h,v,f,a,7);let b=Number(o&BigInt(4294967295));f[a++]=b,b=b>>8,f[a++]=b,b=b>>8,f[a++]=b,b=b>>8,f[a++]=b;let E=Number(o>>BigInt(32)&BigInt(4294967295));return f[a++]=E,E=E>>8,f[a++]=E,E=E>>8,f[a++]=E,E=E>>8,f[a++]=E,a}function wi(f,o,a,h,v){Ai(o,h,v,f,a,7);let b=Number(o&BigInt(4294967295));f[a+7]=b,b=b>>8,f[a+6]=b,b=b>>8,f[a+5]=b,b=b>>8,f[a+4]=b;let E=Number(o>>BigInt(32)&BigInt(4294967295));return f[a+3]=E,E=E>>8,f[a+2]=E,E=E>>8,f[a+1]=E,E=E>>8,f[a]=E,a+8}n.prototype.writeBigUInt64LE=be(function(o,a=0){return yi(this,o,a,BigInt(0),BigInt("0xffffffffffffffff"))}),n.prototype.writeBigUInt64BE=be(function(o,a=0){return wi(this,o,a,BigInt(0),BigInt("0xffffffffffffffff"))}),n.prototype.writeIntLE=function(o,a,h,v){if(o=+o,a=a>>>0,!v){let V=Math.pow(2,8*h-1);re(this,o,a,h,V-1,-V)}let b=0,E=1,P=0;for(this[a]=o&255;++b<h&&(E*=256);)o<0&&P===0&&this[a+b-1]!==0&&(P=1),this[a+b]=(o/E>>0)-P&255;return a+h},n.prototype.writeIntBE=function(o,a,h,v){if(o=+o,a=a>>>0,!v){let V=Math.pow(2,8*h-1);re(this,o,a,h,V-1,-V)}let b=h-1,E=1,P=0;for(this[a+b]=o&255;--b>=0&&(E*=256);)o<0&&P===0&&this[a+b+1]!==0&&(P=1),this[a+b]=(o/E>>0)-P&255;return a+h},n.prototype.writeInt8=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,1,127,-128),o<0&&(o=255+o+1),this[a]=o&255,a+1},n.prototype.writeInt16LE=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,2,32767,-32768),this[a]=o&255,this[a+1]=o>>>8,a+2},n.prototype.writeInt16BE=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,2,32767,-32768),this[a]=o>>>8,this[a+1]=o&255,a+2},n.prototype.writeInt32LE=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,4,2147483647,-2147483648),this[a]=o&255,this[a+1]=o>>>8,this[a+2]=o>>>16,this[a+3]=o>>>24,a+4},n.prototype.writeInt32BE=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[a]=o>>>24,this[a+1]=o>>>16,this[a+2]=o>>>8,this[a+3]=o&255,a+4},n.prototype.writeBigInt64LE=be(function(o,a=0){return yi(this,o,a,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),n.prototype.writeBigInt64BE=be(function(o,a=0){return wi(this,o,a,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function bi(f,o,a,h,v,b){if(a+h>f.length)throw new RangeError("Index out of range");if(a<0)throw new RangeError("Index out of range")}function xi(f,o,a,h,v){return o=+o,a=a>>>0,v||bi(f,o,a,4),e.write(f,o,a,h,23,4),a+4}n.prototype.writeFloatLE=function(o,a,h){return xi(this,o,a,!0,h)},n.prototype.writeFloatBE=function(o,a,h){return xi(this,o,a,!1,h)};function Ei(f,o,a,h,v){return o=+o,a=a>>>0,v||bi(f,o,a,8),e.write(f,o,a,h,52,8),a+8}n.prototype.writeDoubleLE=function(o,a,h){return Ei(this,o,a,!0,h)},n.prototype.writeDoubleBE=function(o,a,h){return Ei(this,o,a,!1,h)},n.prototype.copy=function(o,a,h,v){if(!n.isBuffer(o))throw new TypeError("argument should be a Buffer");if(h||(h=0),!v&&v!==0&&(v=this.length),a>=o.length&&(a=o.length),a||(a=0),v>0&&v<h&&(v=h),v===h||o.length===0||this.length===0)return 0;if(a<0)throw new RangeError("targetStart out of bounds");if(h<0||h>=this.length)throw new RangeError("Index out of range");if(v<0)throw new RangeError("sourceEnd out of bounds");v>this.length&&(v=this.length),o.length-a<v-h&&(v=o.length-a+h);let b=v-h;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(a,h,v):Uint8Array.prototype.set.call(o,this.subarray(h,v),a),b},n.prototype.fill=function(o,a,h,v){if(typeof o=="string"){if(typeof a=="string"?(v=a,a=0,h=this.length):typeof h=="string"&&(v=h,h=this.length),v!==void 0&&typeof v!="string")throw new TypeError("encoding must be a string");if(typeof v=="string"&&!n.isEncoding(v))throw new TypeError("Unknown encoding: "+v);if(o.length===1){let E=o.charCodeAt(0);(v==="utf8"&&E<128||v==="latin1")&&(o=E)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(a<0||this.length<a||this.length<h)throw new RangeError("Out of range index");if(h<=a)return this;a=a>>>0,h=h===void 0?this.length:h>>>0,o||(o=0);let b;if(typeof o=="number")for(b=a;b<h;++b)this[b]=o;else{let E=n.isBuffer(o)?o:n.from(o,v),P=E.length;if(P===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(b=0;b<h-a;++b)this[b+a]=E[b%P]}return this};let De={};function cr(f,o,a){De[f]=class extends a{constructor(){super(),Object.defineProperty(this,"message",{value:o.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${f}]`,this.stack,delete this.name}get code(){return f}set code(v){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:v,writable:!0})}toString(){return`${this.name} [${f}]: ${this.message}`}}}cr("ERR_BUFFER_OUT_OF_BOUNDS",function(f){return f?`${f} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),cr("ERR_INVALID_ARG_TYPE",function(f,o){return`The "${f}" argument must be of type number. Received type ${typeof o}`},TypeError),cr("ERR_OUT_OF_RANGE",function(f,o,a){let h=`The value of "${f}" is out of range.`,v=a;return Number.isInteger(a)&&Math.abs(a)>2**32?v=Ci(String(a)):typeof a=="bigint"&&(v=String(a),(a>BigInt(2)**BigInt(32)||a<-(BigInt(2)**BigInt(32)))&&(v=Ci(v)),v+="n"),h+=` It must be ${o}. Received ${v}`,h},RangeError);function Ci(f){let o="",a=f.length,h=f[0]==="-"?1:0;for(;a>=h+4;a-=3)o=`_${f.slice(a-3,a)}${o}`;return`${f.slice(0,a)}${o}`}function ba(f,o,a){je(o,"offset"),(f[o]===void 0||f[o+a]===void 0)&&et(o,f.length-(a+1))}function Ai(f,o,a,h,v,b){if(f>a||f<o){let E=typeof o=="bigint"?"n":"",P;throw b>3?o===0||o===BigInt(0)?P=`>= 0${E} and < 2${E} ** ${(b+1)*8}${E}`:P=`>= -(2${E} ** ${(b+1)*8-1}${E}) and < 2 ** ${(b+1)*8-1}${E}`:P=`>= ${o}${E} and <= ${a}${E}`,new De.ERR_OUT_OF_RANGE("value",P,f)}ba(h,v,b)}function je(f,o){if(typeof f!="number")throw new De.ERR_INVALID_ARG_TYPE(o,"number",f)}function et(f,o,a){throw Math.floor(f)!==f?(je(f,a),new De.ERR_OUT_OF_RANGE(a||"offset","an integer",f)):o<0?new De.ERR_BUFFER_OUT_OF_BOUNDS:new De.ERR_OUT_OF_RANGE(a||"offset",`>= ${a?1:0} and <= ${o}`,f)}let xa=/[^+/0-9A-Za-z-_]/g;function Ea(f){if(f=f.split("=")[0],f=f.trim().replace(xa,""),f.length<2)return"";for(;f.length%4!==0;)f=f+"=";return f}function hr(f,o){o=o||1/0;let a,h=f.length,v=null,b=[];for(let E=0;E<h;++E){if(a=f.charCodeAt(E),a>55295&&a<57344){if(!v){if(a>56319){(o-=3)>-1&&b.push(239,191,189);continue}else if(E+1===h){(o-=3)>-1&&b.push(239,191,189);continue}v=a;continue}if(a<56320){(o-=3)>-1&&b.push(239,191,189),v=a;continue}a=(v-55296<<10|a-56320)+65536}else v&&(o-=3)>-1&&b.push(239,191,189);if(v=null,a<128){if((o-=1)<0)break;b.push(a)}else if(a<2048){if((o-=2)<0)break;b.push(a>>6|192,a&63|128)}else if(a<65536){if((o-=3)<0)break;b.push(a>>12|224,a>>6&63|128,a&63|128)}else if(a<1114112){if((o-=4)<0)break;b.push(a>>18|240,a>>12&63|128,a>>6&63|128,a&63|128)}else throw new Error("Invalid code point")}return b}function Ca(f){let o=[];for(let a=0;a<f.length;++a)o.push(f.charCodeAt(a)&255);return o}function Aa(f,o){let a,h,v,b=[];for(let E=0;E<f.length&&!((o-=2)<0);++E)a=f.charCodeAt(E),h=a>>8,v=a%256,b.push(v),b.push(h);return b}function Si(f){return i.toByteArray(Ea(f))}function Bt(f,o,a,h){let v;for(v=0;v<h&&!(v+a>=o.length||v>=f.length);++v)o[v+a]=f[v];return v}function le(f,o){return f instanceof o||f!=null&&f.constructor!=null&&f.constructor.name!=null&&f.constructor.name===o.name}function pr(f){return f!==f}let Sa=function(){let f="0123456789abcdef",o=new Array(256);for(let a=0;a<16;++a){let h=a*16;for(let v=0;v<16;++v)o[h+v]=f[a]+f[v]}return o}();function be(f){return typeof BigInt>"u"?Ia:f}function Ia(){throw new Error("BigInt not supported")}return Ue}var rt,Wn,Tt,Hn,Ue,Vn,Le,O,zf,Wf,Gn=ie(()=>{C();S();A();rt={},Wn=!1;Tt={},Hn=!1;Ue={},Vn=!1;Le=_a();Le.Buffer;Le.SlowBuffer;Le.INSPECT_MAX_BYTES;Le.kMaxLength;O=Le.Buffer,zf=Le.INSPECT_MAX_BYTES,Wf=Le.kMaxLength});var S=ie(()=>{Gn()});var Jn=_((Kf,yr)=>{C();S();A();var j=String,Yn=function(){return{isColorSupported:!1,reset:j,bold:j,dim:j,italic:j,underline:j,inverse:j,hidden:j,strikethrough:j,black:j,red:j,green:j,yellow:j,blue:j,magenta:j,cyan:j,white:j,gray:j,bgBlack:j,bgRed:j,bgGreen:j,bgYellow:j,bgBlue:j,bgMagenta:j,bgCyan:j,bgWhite:j}};yr.exports=Yn();yr.exports.createColors=Yn});var wr=_(()=>{C();S();A()});var _t=_((oc,Xn)=>{"use strict";C();S();A();var Qn=Jn(),Kn=wr(),it=class i extends Error{constructor(e,t,r,s,l,n){super(e),this.name="CssSyntaxError",this.reason=e,l&&(this.file=l),s&&(this.source=s),n&&(this.plugin=n),typeof t<"u"&&typeof r<"u"&&(typeof t=="number"?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,i)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;e==null&&(e=Qn.isColorSupported),Kn&&e&&(t=Kn(t));let r=t.split(/\r?\n/),s=Math.max(this.line-3,0),l=Math.min(this.line+2,r.length),n=String(l).length,u,c;if(e){let{bold:p,gray:g,red:d}=Qn.createColors(!0);u=m=>p(d(m)),c=m=>g(m)}else u=c=p=>p;return r.slice(s,l).map((p,g)=>{let d=s+1+g,m=" "+(" "+d).slice(-n)+" | ";if(d===this.line){let y=c(m.replace(/\d/g," "))+p.slice(0,this.column-1).replace(/[^\t]/g," ");return u(">")+c(m)+p+`
|
|
1
|
+
"use strict";var tokencss=(()=>{var Ra=Object.create;var Ut=Object.defineProperty;var Ba=Object.getOwnPropertyDescriptor;var Oa=Object.getOwnPropertyNames;var Ua=Object.getPrototypeOf,La=Object.prototype.hasOwnProperty;var ie=(i,e)=>()=>(i&&(e=i(i=0)),e);var $=(i,e)=>()=>(e||i((e={exports:{}}).exports,e),e.exports),tt=(i,e)=>{for(var t in e)Ut(i,t,{get:e[t],enumerable:!0})},Ii=(i,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Oa(e))!La.call(i,s)&&s!==t&&Ut(i,s,{get:()=>e[s],enumerable:!(r=Ba(e,s))||r.enumerable});return i};var dr=(i,e,t)=>(t=i!=null?Ra(Ua(i)):{},Ii(e||!i||!i.__esModule?Ut(t,"default",{value:i,enumerable:!0}):t,i)),Be=i=>Ii(Ut({},"__esModule",{value:!0}),i);var C=ie(()=>{});var O={};tt(O,{_debugEnd:()=>mn,_debugProcess:()=>dn,_events:()=>Ln,_eventsCount:()=>kn,_exiting:()=>Yi,_fatalExceptions:()=>fn,_getActiveHandles:()=>Xi,_getActiveRequests:()=>Ki,_kill:()=>en,_linkedBinding:()=>Vi,_maxListeners:()=>Un,_preload_modules:()=>Rn,_rawDebug:()=>Wi,_startProfilerIdleNotifier:()=>gn,_stopProfilerIdleNotifier:()=>vn,_tickCallback:()=>pn,abort:()=>xn,addListener:()=>Pn,allowedNodeEnvironmentFlags:()=>an,arch:()=>Li,argv:()=>Ti,argv0:()=>In,assert:()=>ln,binding:()=>qi,chdir:()=>Fi,config:()=>Ji,cpuUsage:()=>Pt,cwd:()=>ji,debugPort:()=>Sn,default:()=>Fn,dlopen:()=>Qi,domain:()=>Gi,emit:()=>Mn,emitWarning:()=>Mi,env:()=>Pi,execArgv:()=>_i,execPath:()=>An,exit:()=>sn,features:()=>un,hasUncaughtExceptionCaptureCallback:()=>hn,hrtime:()=>kt,kill:()=>nn,listeners:()=>jn,memoryUsage:()=>rn,moduleLoadList:()=>Hi,nextTick:()=>Bi,off:()=>_n,on:()=>de,once:()=>Tn,openStdin:()=>on,pid:()=>En,platform:()=>ki,ppid:()=>Cn,prependListener:()=>qn,prependOnceListener:()=>Dn,reallyExit:()=>Zi,release:()=>zi,removeAllListeners:()=>Nn,removeListener:()=>$n,resourceUsage:()=>tn,setSourceMapsEnabled:()=>Bn,setUncaughtExceptionCaptureCallback:()=>cn,stderr:()=>wn,stdin:()=>bn,stdout:()=>yn,title:()=>Ui,umask:()=>Di,uptime:()=>On,version:()=>$i,versions:()=>Ni});function vr(i){throw new Error("Node.js process "+i+" is not supported by JSPM core outside of Node.js")}function ka(){!Fe||!Oe||(Fe=!1,Oe.length?pe=Oe.concat(pe):Lt=-1,pe.length&&Ri())}function Ri(){if(!Fe){var i=setTimeout(ka,0);Fe=!0;for(var e=pe.length;e;){for(Oe=pe,pe=[];++Lt<e;)Oe&&Oe[Lt].run();Lt=-1,e=pe.length}Oe=null,Fe=!1,clearTimeout(i)}}function Bi(i){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];pe.push(new Oi(i,e)),pe.length===1&&!Fe&&setTimeout(Ri,0)}function Oi(i,e){this.fun=i,this.array=e}function ee(){}function Vi(i){vr("_linkedBinding")}function Qi(i){vr("dlopen")}function Ki(){return[]}function Xi(){return[]}function ln(i,e){if(!i)throw new Error(e||"assertion error")}function hn(){return!1}function On(){return xe.now()/1e3}function kt(i){var e=Math.floor((Date.now()-xe.now())*.001),t=xe.now()*.001,r=Math.floor(t)+e,s=Math.floor(t%1*1e9);return i&&(r=r-i[0],s=s-i[1],s<0&&(r--,s+=gr)),[r,s]}function de(){return Fn}function jn(i){return[]}var pe,Fe,Oe,Lt,Ui,Li,ki,Pi,Ti,_i,$i,Ni,Mi,qi,Di,ji,Fi,zi,Wi,Hi,Gi,Yi,Ji,Zi,en,Pt,tn,rn,nn,sn,on,an,un,fn,cn,pn,dn,mn,gn,vn,yn,wn,bn,xn,En,Cn,An,Sn,In,Rn,Bn,xe,mr,gr,Un,Ln,kn,Pn,Tn,_n,$n,Nn,Mn,qn,Dn,Fn,zn=ie(()=>{C();S();A();pe=[],Fe=!1,Lt=-1;Oi.prototype.run=function(){this.fun.apply(null,this.array)};Ui="browser",Li="x64",ki="browser",Pi={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},Ti=["/usr/bin/node"],_i=[],$i="v16.8.0",Ni={},Mi=function(i,e){console.warn((e?e+": ":"")+i)},qi=function(i){vr("binding")},Di=function(i){return 0},ji=function(){return"/"},Fi=function(i){},zi={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};Wi=ee,Hi=[];Gi={},Yi=!1,Ji={};Zi=ee,en=ee,Pt=function(){return{}},tn=Pt,rn=Pt,nn=ee,sn=ee,on=ee,an={};un={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},fn=ee,cn=ee;pn=ee,dn=ee,mn=ee,gn=ee,vn=ee,yn=void 0,wn=void 0,bn=void 0,xn=ee,En=2,Cn=1,An="/bin/usr/node",Sn=9229,In="node",Rn=[],Bn=ee,xe={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};xe.now===void 0&&(mr=Date.now(),xe.timing&&xe.timing.navigationStart&&(mr=xe.timing.navigationStart),xe.now=()=>Date.now()-mr);gr=1e9;kt.bigint=function(i){var e=kt(i);return typeof BigInt>"u"?e[0]*gr+e[1]:BigInt(e[0]*gr)+BigInt(e[1])};Un=10,Ln={},kn=0;Pn=de,Tn=de,_n=de,$n=de,Nn=de,Mn=ee,qn=de,Dn=de;Fn={version:$i,versions:Ni,arch:Li,platform:ki,release:zi,_rawDebug:Wi,moduleLoadList:Hi,binding:qi,_linkedBinding:Vi,_events:Ln,_eventsCount:kn,_maxListeners:Un,on:de,addListener:Pn,once:Tn,off:_n,removeListener:$n,removeAllListeners:Nn,emit:Mn,prependListener:qn,prependOnceListener:Dn,listeners:jn,domain:Gi,_exiting:Yi,config:Ji,dlopen:Qi,uptime:On,_getActiveRequests:Ki,_getActiveHandles:Xi,reallyExit:Zi,_kill:en,cpuUsage:Pt,resourceUsage:tn,memoryUsage:rn,kill:nn,exit:sn,openStdin:on,allowedNodeEnvironmentFlags:an,assert:ln,features:un,_fatalExceptions:fn,setUncaughtExceptionCaptureCallback:cn,hasUncaughtExceptionCaptureCallback:hn,emitWarning:Mi,nextTick:Bi,_tickCallback:pn,_debugProcess:dn,_debugEnd:mn,_startProfilerIdleNotifier:gn,_stopProfilerIdleNotifier:vn,stdout:yn,stdin:bn,stderr:wn,abort:xn,umask:Di,chdir:Fi,cwd:ji,env:Pi,title:Ui,argv:Ti,execArgv:_i,pid:En,ppid:Cn,execPath:An,debugPort:Sn,hrtime:kt,argv0:In,_preload_modules:Rn,setSourceMapsEnabled:Bn}});var A=ie(()=>{zn()});function Pa(){if(Wn)return rt;Wn=!0,rt.byteLength=u,rt.toByteArray=p,rt.fromByteArray=m;for(var i=[],e=[],t=typeof Uint8Array<"u"?Uint8Array:Array,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,l=r.length;s<l;++s)i[s]=r[s],e[r.charCodeAt(s)]=s;e[45]=62,e[95]=63;function n(y){var x=y.length;if(x%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var I=y.indexOf("=");I===-1&&(I=x);var w=I===x?0:4-I%4;return[I,w]}function u(y){var x=n(y),I=x[0],w=x[1];return(I+w)*3/4-w}function c(y,x,I){return(x+I)*3/4-I}function p(y){var x,I=n(y),w=I[0],L=I[1],k=new t(c(y,w,L)),R=0,j=L>0?w-4:w,M;for(M=0;M<j;M+=4)x=e[y.charCodeAt(M)]<<18|e[y.charCodeAt(M+1)]<<12|e[y.charCodeAt(M+2)]<<6|e[y.charCodeAt(M+3)],k[R++]=x>>16&255,k[R++]=x>>8&255,k[R++]=x&255;return L===2&&(x=e[y.charCodeAt(M)]<<2|e[y.charCodeAt(M+1)]>>4,k[R++]=x&255),L===1&&(x=e[y.charCodeAt(M)]<<10|e[y.charCodeAt(M+1)]<<4|e[y.charCodeAt(M+2)]>>2,k[R++]=x>>8&255,k[R++]=x&255),k}function g(y){return i[y>>18&63]+i[y>>12&63]+i[y>>6&63]+i[y&63]}function d(y,x,I){for(var w,L=[],k=x;k<I;k+=3)w=(y[k]<<16&16711680)+(y[k+1]<<8&65280)+(y[k+2]&255),L.push(g(w));return L.join("")}function m(y){for(var x,I=y.length,w=I%3,L=[],k=16383,R=0,j=I-w;R<j;R+=k)L.push(d(y,R,R+k>j?j:R+k));return w===1?(x=y[I-1],L.push(i[x>>2]+i[x<<4&63]+"==")):w===2&&(x=(y[I-2]<<8)+y[I-1],L.push(i[x>>10]+i[x>>4&63]+i[x<<2&63]+"=")),L.join("")}return rt}function Ta(){if(Hn)return Tt;Hn=!0;return Tt.read=function(i,e,t,r,s){var l,n,u=s*8-r-1,c=(1<<u)-1,p=c>>1,g=-7,d=t?s-1:0,m=t?-1:1,y=i[e+d];for(d+=m,l=y&(1<<-g)-1,y>>=-g,g+=u;g>0;l=l*256+i[e+d],d+=m,g-=8);for(n=l&(1<<-g)-1,l>>=-g,g+=r;g>0;n=n*256+i[e+d],d+=m,g-=8);if(l===0)l=1-p;else{if(l===c)return n?NaN:(y?-1:1)*(1/0);n=n+Math.pow(2,r),l=l-p}return(y?-1:1)*n*Math.pow(2,l-r)},Tt.write=function(i,e,t,r,s,l){var n,u,c,p=l*8-s-1,g=(1<<p)-1,d=g>>1,m=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,y=r?0:l-1,x=r?1:-1,I=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(u=isNaN(e)?1:0,n=g):(n=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-n))<1&&(n--,c*=2),n+d>=1?e+=m/c:e+=m*Math.pow(2,1-d),e*c>=2&&(n++,c/=2),n+d>=g?(u=0,n=g):n+d>=1?(u=(e*c-1)*Math.pow(2,s),n=n+d):(u=e*Math.pow(2,d-1)*Math.pow(2,s),n=0));s>=8;i[t+y]=u&255,y+=x,u/=256,s-=8);for(n=n<<s|u,p+=s;p>0;i[t+y]=n&255,y+=x,n/=256,p-=8);i[t+y-x]|=I*128},Tt}function _a(){if(Vn)return Ue;Vn=!0;let i=Pa(),e=Ta(),t=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;Ue.Buffer=n,Ue.SlowBuffer=L,Ue.INSPECT_MAX_BYTES=50;let r=2147483647;Ue.kMaxLength=r,n.TYPED_ARRAY_SUPPORT=s(),!n.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 s(){try{let f=new Uint8Array(1),o={foo:function(){return 42}};return Object.setPrototypeOf(o,Uint8Array.prototype),Object.setPrototypeOf(f,o),f.foo()===42}catch{return!1}}Object.defineProperty(n.prototype,"parent",{enumerable:!0,get:function(){if(n.isBuffer(this))return this.buffer}}),Object.defineProperty(n.prototype,"offset",{enumerable:!0,get:function(){if(n.isBuffer(this))return this.byteOffset}});function l(f){if(f>r)throw new RangeError('The value "'+f+'" is invalid for option "size"');let o=new Uint8Array(f);return Object.setPrototypeOf(o,n.prototype),o}function n(f,o,a){if(typeof f=="number"){if(typeof o=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return g(f)}return u(f,o,a)}n.poolSize=8192;function u(f,o,a){if(typeof f=="string")return d(f,o);if(ArrayBuffer.isView(f))return y(f);if(f==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof f);if(le(f,ArrayBuffer)||f&&le(f.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(le(f,SharedArrayBuffer)||f&&le(f.buffer,SharedArrayBuffer)))return x(f,o,a);if(typeof f=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let h=f.valueOf&&f.valueOf();if(h!=null&&h!==f)return n.from(h,o,a);let v=I(f);if(v)return v;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof f[Symbol.toPrimitive]=="function")return n.from(f[Symbol.toPrimitive]("string"),o,a);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof f)}n.from=function(f,o,a){return u(f,o,a)},Object.setPrototypeOf(n.prototype,Uint8Array.prototype),Object.setPrototypeOf(n,Uint8Array);function c(f){if(typeof f!="number")throw new TypeError('"size" argument must be of type number');if(f<0)throw new RangeError('The value "'+f+'" is invalid for option "size"')}function p(f,o,a){return c(f),f<=0?l(f):o!==void 0?typeof a=="string"?l(f).fill(o,a):l(f).fill(o):l(f)}n.alloc=function(f,o,a){return p(f,o,a)};function g(f){return c(f),l(f<0?0:w(f)|0)}n.allocUnsafe=function(f){return g(f)},n.allocUnsafeSlow=function(f){return g(f)};function d(f,o){if((typeof o!="string"||o==="")&&(o="utf8"),!n.isEncoding(o))throw new TypeError("Unknown encoding: "+o);let a=k(f,o)|0,h=l(a),v=h.write(f,o);return v!==a&&(h=h.slice(0,v)),h}function m(f){let o=f.length<0?0:w(f.length)|0,a=l(o);for(let h=0;h<o;h+=1)a[h]=f[h]&255;return a}function y(f){if(le(f,Uint8Array)){let o=new Uint8Array(f);return x(o.buffer,o.byteOffset,o.byteLength)}return m(f)}function x(f,o,a){if(o<0||f.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(f.byteLength<o+(a||0))throw new RangeError('"length" is outside of buffer bounds');let h;return o===void 0&&a===void 0?h=new Uint8Array(f):a===void 0?h=new Uint8Array(f,o):h=new Uint8Array(f,o,a),Object.setPrototypeOf(h,n.prototype),h}function I(f){if(n.isBuffer(f)){let o=w(f.length)|0,a=l(o);return a.length===0||f.copy(a,0,0,o),a}if(f.length!==void 0)return typeof f.length!="number"||pr(f.length)?l(0):m(f);if(f.type==="Buffer"&&Array.isArray(f.data))return m(f.data)}function w(f){if(f>=r)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r.toString(16)+" bytes");return f|0}function L(f){return+f!=f&&(f=0),n.alloc(+f)}n.isBuffer=function(o){return o!=null&&o._isBuffer===!0&&o!==n.prototype},n.compare=function(o,a){if(le(o,Uint8Array)&&(o=n.from(o,o.offset,o.byteLength)),le(a,Uint8Array)&&(a=n.from(a,a.offset,a.byteLength)),!n.isBuffer(o)||!n.isBuffer(a))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(o===a)return 0;let h=o.length,v=a.length;for(let b=0,E=Math.min(h,v);b<E;++b)if(o[b]!==a[b]){h=o[b],v=a[b];break}return h<v?-1:v<h?1:0},n.isEncoding=function(o){switch(String(o).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}},n.concat=function(o,a){if(!Array.isArray(o))throw new TypeError('"list" argument must be an Array of Buffers');if(o.length===0)return n.alloc(0);let h;if(a===void 0)for(a=0,h=0;h<o.length;++h)a+=o[h].length;let v=n.allocUnsafe(a),b=0;for(h=0;h<o.length;++h){let E=o[h];if(le(E,Uint8Array))b+E.length>v.length?(n.isBuffer(E)||(E=n.from(E)),E.copy(v,b)):Uint8Array.prototype.set.call(v,E,b);else if(n.isBuffer(E))E.copy(v,b);else throw new TypeError('"list" argument must be an Array of Buffers');b+=E.length}return v};function k(f,o){if(n.isBuffer(f))return f.length;if(ArrayBuffer.isView(f)||le(f,ArrayBuffer))return f.byteLength;if(typeof f!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof f);let a=f.length,h=arguments.length>2&&arguments[2]===!0;if(!h&&a===0)return 0;let v=!1;for(;;)switch(o){case"ascii":case"latin1":case"binary":return a;case"utf8":case"utf-8":return hr(f).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return a*2;case"hex":return a>>>1;case"base64":return Si(f).length;default:if(v)return h?-1:hr(f).length;o=(""+o).toLowerCase(),v=!0}}n.byteLength=k;function R(f,o,a){let h=!1;if((o===void 0||o<0)&&(o=0),o>this.length||((a===void 0||a>this.length)&&(a=this.length),a<=0)||(a>>>=0,o>>>=0,a<=o))return"";for(f||(f="utf8");;)switch(f){case"hex":return ya(this,o,a);case"utf8":case"utf-8":return Ne(this,o,a);case"ascii":return fr(this,o,a);case"latin1":case"binary":return va(this,o,a);case"base64":return Re(this,o,a);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wa(this,o,a);default:if(h)throw new TypeError("Unknown encoding: "+f);f=(f+"").toLowerCase(),h=!0}}n.prototype._isBuffer=!0;function j(f,o,a){let h=f[o];f[o]=f[a],f[a]=h}n.prototype.swap16=function(){let o=this.length;if(o%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let a=0;a<o;a+=2)j(this,a,a+1);return this},n.prototype.swap32=function(){let o=this.length;if(o%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let a=0;a<o;a+=4)j(this,a,a+3),j(this,a+1,a+2);return this},n.prototype.swap64=function(){let o=this.length;if(o%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let a=0;a<o;a+=8)j(this,a,a+7),j(this,a+1,a+6),j(this,a+2,a+5),j(this,a+3,a+4);return this},n.prototype.toString=function(){let o=this.length;return o===0?"":arguments.length===0?Ne(this,0,o):R.apply(this,arguments)},n.prototype.toLocaleString=n.prototype.toString,n.prototype.equals=function(o){if(!n.isBuffer(o))throw new TypeError("Argument must be a Buffer");return this===o?!0:n.compare(this,o)===0},n.prototype.inspect=function(){let o="",a=Ue.INSPECT_MAX_BYTES;return o=this.toString("hex",0,a).replace(/(.{2})/g,"$1 ").trim(),this.length>a&&(o+=" ... "),"<Buffer "+o+">"},t&&(n.prototype[t]=n.prototype.inspect),n.prototype.compare=function(o,a,h,v,b){if(le(o,Uint8Array)&&(o=n.from(o,o.offset,o.byteLength)),!n.isBuffer(o))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof o);if(a===void 0&&(a=0),h===void 0&&(h=o?o.length:0),v===void 0&&(v=0),b===void 0&&(b=this.length),a<0||h>o.length||v<0||b>this.length)throw new RangeError("out of range index");if(v>=b&&a>=h)return 0;if(v>=b)return-1;if(a>=h)return 1;if(a>>>=0,h>>>=0,v>>>=0,b>>>=0,this===o)return 0;let E=b-v,T=h-a,V=Math.min(E,T),z=this.slice(v,b),G=o.slice(a,h);for(let q=0;q<V;++q)if(z[q]!==G[q]){E=z[q],T=G[q];break}return E<T?-1:T<E?1:0};function M(f,o,a,h,v){if(f.length===0)return-1;if(typeof a=="string"?(h=a,a=0):a>2147483647?a=2147483647:a<-2147483648&&(a=-2147483648),a=+a,pr(a)&&(a=v?0:f.length-1),a<0&&(a=f.length+a),a>=f.length){if(v)return-1;a=f.length-1}else if(a<0)if(v)a=0;else return-1;if(typeof o=="string"&&(o=n.from(o,h)),n.isBuffer(o))return o.length===0?-1:we(f,o,a,h,v);if(typeof o=="number")return o=o&255,typeof Uint8Array.prototype.indexOf=="function"?v?Uint8Array.prototype.indexOf.call(f,o,a):Uint8Array.prototype.lastIndexOf.call(f,o,a):we(f,[o],a,h,v);throw new TypeError("val must be string, number or Buffer")}function we(f,o,a,h,v){let b=1,E=f.length,T=o.length;if(h!==void 0&&(h=String(h).toLowerCase(),h==="ucs2"||h==="ucs-2"||h==="utf16le"||h==="utf-16le")){if(f.length<2||o.length<2)return-1;b=2,E/=2,T/=2,a/=2}function V(G,q){return b===1?G[q]:G.readUInt16BE(q*b)}let z;if(v){let G=-1;for(z=a;z<E;z++)if(V(f,z)===V(o,G===-1?0:z-G)){if(G===-1&&(G=z),z-G+1===T)return G*b}else G!==-1&&(z-=z-G),G=-1}else for(a+T>E&&(a=E-T),z=a;z>=0;z--){let G=!0;for(let q=0;q<T;q++)if(V(f,z+q)!==V(o,q)){G=!1;break}if(G)return z}return-1}n.prototype.includes=function(o,a,h){return this.indexOf(o,a,h)!==-1},n.prototype.indexOf=function(o,a,h){return M(this,o,a,h,!0)},n.prototype.lastIndexOf=function(o,a,h){return M(this,o,a,h,!1)};function ne(f,o,a,h){a=Number(a)||0;let v=f.length-a;h?(h=Number(h),h>v&&(h=v)):h=v;let b=o.length;h>b/2&&(h=b/2);let E;for(E=0;E<h;++E){let T=parseInt(o.substr(E*2,2),16);if(pr(T))return E;f[a+E]=T}return E}function Q(f,o,a,h){return Ot(hr(o,f.length-a),f,a,h)}function Z(f,o,a,h){return Ot(Ca(o),f,a,h)}function oe(f,o,a,h){return Ot(Si(o),f,a,h)}function ur(f,o,a,h){return Ot(Aa(o,f.length-a),f,a,h)}n.prototype.write=function(o,a,h,v){if(a===void 0)v="utf8",h=this.length,a=0;else if(h===void 0&&typeof a=="string")v=a,h=this.length,a=0;else if(isFinite(a))a=a>>>0,isFinite(h)?(h=h>>>0,v===void 0&&(v="utf8")):(v=h,h=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let b=this.length-a;if((h===void 0||h>b)&&(h=b),o.length>0&&(h<0||a<0)||a>this.length)throw new RangeError("Attempt to write outside buffer bounds");v||(v="utf8");let E=!1;for(;;)switch(v){case"hex":return ne(this,o,a,h);case"utf8":case"utf-8":return Q(this,o,a,h);case"ascii":case"latin1":case"binary":return Z(this,o,a,h);case"base64":return oe(this,o,a,h);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ur(this,o,a,h);default:if(E)throw new TypeError("Unknown encoding: "+v);v=(""+v).toLowerCase(),E=!0}},n.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function Re(f,o,a){return o===0&&a===f.length?i.fromByteArray(f):i.fromByteArray(f.slice(o,a))}function Ne(f,o,a){a=Math.min(f.length,a);let h=[],v=o;for(;v<a;){let b=f[v],E=null,T=b>239?4:b>223?3:b>191?2:1;if(v+T<=a){let V,z,G,q;switch(T){case 1:b<128&&(E=b);break;case 2:V=f[v+1],(V&192)===128&&(q=(b&31)<<6|V&63,q>127&&(E=q));break;case 3:V=f[v+1],z=f[v+2],(V&192)===128&&(z&192)===128&&(q=(b&15)<<12|(V&63)<<6|z&63,q>2047&&(q<55296||q>57343)&&(E=q));break;case 4:V=f[v+1],z=f[v+2],G=f[v+3],(V&192)===128&&(z&192)===128&&(G&192)===128&&(q=(b&15)<<18|(V&63)<<12|(z&63)<<6|G&63,q>65535&&q<1114112&&(E=q))}}E===null?(E=65533,T=1):E>65535&&(E-=65536,h.push(E>>>10&1023|55296),E=56320|E&1023),h.push(E),v+=T}return qe(h)}let Me=4096;function qe(f){let o=f.length;if(o<=Me)return String.fromCharCode.apply(String,f);let a="",h=0;for(;h<o;)a+=String.fromCharCode.apply(String,f.slice(h,h+=Me));return a}function fr(f,o,a){let h="";a=Math.min(f.length,a);for(let v=o;v<a;++v)h+=String.fromCharCode(f[v]&127);return h}function va(f,o,a){let h="";a=Math.min(f.length,a);for(let v=o;v<a;++v)h+=String.fromCharCode(f[v]);return h}function ya(f,o,a){let h=f.length;(!o||o<0)&&(o=0),(!a||a<0||a>h)&&(a=h);let v="";for(let b=o;b<a;++b)v+=Sa[f[b]];return v}function wa(f,o,a){let h=f.slice(o,a),v="";for(let b=0;b<h.length-1;b+=2)v+=String.fromCharCode(h[b]+h[b+1]*256);return v}n.prototype.slice=function(o,a){let h=this.length;o=~~o,a=a===void 0?h:~~a,o<0?(o+=h,o<0&&(o=0)):o>h&&(o=h),a<0?(a+=h,a<0&&(a=0)):a>h&&(a=h),a<o&&(a=o);let v=this.subarray(o,a);return Object.setPrototypeOf(v,n.prototype),v};function K(f,o,a){if(f%1!==0||f<0)throw new RangeError("offset is not uint");if(f+o>a)throw new RangeError("Trying to access beyond buffer length")}n.prototype.readUintLE=n.prototype.readUIntLE=function(o,a,h){o=o>>>0,a=a>>>0,h||K(o,a,this.length);let v=this[o],b=1,E=0;for(;++E<a&&(b*=256);)v+=this[o+E]*b;return v},n.prototype.readUintBE=n.prototype.readUIntBE=function(o,a,h){o=o>>>0,a=a>>>0,h||K(o,a,this.length);let v=this[o+--a],b=1;for(;a>0&&(b*=256);)v+=this[o+--a]*b;return v},n.prototype.readUint8=n.prototype.readUInt8=function(o,a){return o=o>>>0,a||K(o,1,this.length),this[o]},n.prototype.readUint16LE=n.prototype.readUInt16LE=function(o,a){return o=o>>>0,a||K(o,2,this.length),this[o]|this[o+1]<<8},n.prototype.readUint16BE=n.prototype.readUInt16BE=function(o,a){return o=o>>>0,a||K(o,2,this.length),this[o]<<8|this[o+1]},n.prototype.readUint32LE=n.prototype.readUInt32LE=function(o,a){return o=o>>>0,a||K(o,4,this.length),(this[o]|this[o+1]<<8|this[o+2]<<16)+this[o+3]*16777216},n.prototype.readUint32BE=n.prototype.readUInt32BE=function(o,a){return o=o>>>0,a||K(o,4,this.length),this[o]*16777216+(this[o+1]<<16|this[o+2]<<8|this[o+3])},n.prototype.readBigUInt64LE=be(function(o){o=o>>>0,je(o,"offset");let a=this[o],h=this[o+7];(a===void 0||h===void 0)&&et(o,this.length-8);let v=a+this[++o]*2**8+this[++o]*2**16+this[++o]*2**24,b=this[++o]+this[++o]*2**8+this[++o]*2**16+h*2**24;return BigInt(v)+(BigInt(b)<<BigInt(32))}),n.prototype.readBigUInt64BE=be(function(o){o=o>>>0,je(o,"offset");let a=this[o],h=this[o+7];(a===void 0||h===void 0)&&et(o,this.length-8);let v=a*2**24+this[++o]*2**16+this[++o]*2**8+this[++o],b=this[++o]*2**24+this[++o]*2**16+this[++o]*2**8+h;return(BigInt(v)<<BigInt(32))+BigInt(b)}),n.prototype.readIntLE=function(o,a,h){o=o>>>0,a=a>>>0,h||K(o,a,this.length);let v=this[o],b=1,E=0;for(;++E<a&&(b*=256);)v+=this[o+E]*b;return b*=128,v>=b&&(v-=Math.pow(2,8*a)),v},n.prototype.readIntBE=function(o,a,h){o=o>>>0,a=a>>>0,h||K(o,a,this.length);let v=a,b=1,E=this[o+--v];for(;v>0&&(b*=256);)E+=this[o+--v]*b;return b*=128,E>=b&&(E-=Math.pow(2,8*a)),E},n.prototype.readInt8=function(o,a){return o=o>>>0,a||K(o,1,this.length),this[o]&128?(255-this[o]+1)*-1:this[o]},n.prototype.readInt16LE=function(o,a){o=o>>>0,a||K(o,2,this.length);let h=this[o]|this[o+1]<<8;return h&32768?h|4294901760:h},n.prototype.readInt16BE=function(o,a){o=o>>>0,a||K(o,2,this.length);let h=this[o+1]|this[o]<<8;return h&32768?h|4294901760:h},n.prototype.readInt32LE=function(o,a){return o=o>>>0,a||K(o,4,this.length),this[o]|this[o+1]<<8|this[o+2]<<16|this[o+3]<<24},n.prototype.readInt32BE=function(o,a){return o=o>>>0,a||K(o,4,this.length),this[o]<<24|this[o+1]<<16|this[o+2]<<8|this[o+3]},n.prototype.readBigInt64LE=be(function(o){o=o>>>0,je(o,"offset");let a=this[o],h=this[o+7];(a===void 0||h===void 0)&&et(o,this.length-8);let v=this[o+4]+this[o+5]*2**8+this[o+6]*2**16+(h<<24);return(BigInt(v)<<BigInt(32))+BigInt(a+this[++o]*2**8+this[++o]*2**16+this[++o]*2**24)}),n.prototype.readBigInt64BE=be(function(o){o=o>>>0,je(o,"offset");let a=this[o],h=this[o+7];(a===void 0||h===void 0)&&et(o,this.length-8);let v=(a<<24)+this[++o]*2**16+this[++o]*2**8+this[++o];return(BigInt(v)<<BigInt(32))+BigInt(this[++o]*2**24+this[++o]*2**16+this[++o]*2**8+h)}),n.prototype.readFloatLE=function(o,a){return o=o>>>0,a||K(o,4,this.length),e.read(this,o,!0,23,4)},n.prototype.readFloatBE=function(o,a){return o=o>>>0,a||K(o,4,this.length),e.read(this,o,!1,23,4)},n.prototype.readDoubleLE=function(o,a){return o=o>>>0,a||K(o,8,this.length),e.read(this,o,!0,52,8)},n.prototype.readDoubleBE=function(o,a){return o=o>>>0,a||K(o,8,this.length),e.read(this,o,!1,52,8)};function re(f,o,a,h,v,b){if(!n.isBuffer(f))throw new TypeError('"buffer" argument must be a Buffer instance');if(o>v||o<b)throw new RangeError('"value" argument is out of bounds');if(a+h>f.length)throw new RangeError("Index out of range")}n.prototype.writeUintLE=n.prototype.writeUIntLE=function(o,a,h,v){if(o=+o,a=a>>>0,h=h>>>0,!v){let T=Math.pow(2,8*h)-1;re(this,o,a,h,T,0)}let b=1,E=0;for(this[a]=o&255;++E<h&&(b*=256);)this[a+E]=o/b&255;return a+h},n.prototype.writeUintBE=n.prototype.writeUIntBE=function(o,a,h,v){if(o=+o,a=a>>>0,h=h>>>0,!v){let T=Math.pow(2,8*h)-1;re(this,o,a,h,T,0)}let b=h-1,E=1;for(this[a+b]=o&255;--b>=0&&(E*=256);)this[a+b]=o/E&255;return a+h},n.prototype.writeUint8=n.prototype.writeUInt8=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,1,255,0),this[a]=o&255,a+1},n.prototype.writeUint16LE=n.prototype.writeUInt16LE=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,2,65535,0),this[a]=o&255,this[a+1]=o>>>8,a+2},n.prototype.writeUint16BE=n.prototype.writeUInt16BE=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,2,65535,0),this[a]=o>>>8,this[a+1]=o&255,a+2},n.prototype.writeUint32LE=n.prototype.writeUInt32LE=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,4,4294967295,0),this[a+3]=o>>>24,this[a+2]=o>>>16,this[a+1]=o>>>8,this[a]=o&255,a+4},n.prototype.writeUint32BE=n.prototype.writeUInt32BE=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,4,4294967295,0),this[a]=o>>>24,this[a+1]=o>>>16,this[a+2]=o>>>8,this[a+3]=o&255,a+4};function yi(f,o,a,h,v){Ai(o,h,v,f,a,7);let b=Number(o&BigInt(4294967295));f[a++]=b,b=b>>8,f[a++]=b,b=b>>8,f[a++]=b,b=b>>8,f[a++]=b;let E=Number(o>>BigInt(32)&BigInt(4294967295));return f[a++]=E,E=E>>8,f[a++]=E,E=E>>8,f[a++]=E,E=E>>8,f[a++]=E,a}function wi(f,o,a,h,v){Ai(o,h,v,f,a,7);let b=Number(o&BigInt(4294967295));f[a+7]=b,b=b>>8,f[a+6]=b,b=b>>8,f[a+5]=b,b=b>>8,f[a+4]=b;let E=Number(o>>BigInt(32)&BigInt(4294967295));return f[a+3]=E,E=E>>8,f[a+2]=E,E=E>>8,f[a+1]=E,E=E>>8,f[a]=E,a+8}n.prototype.writeBigUInt64LE=be(function(o,a=0){return yi(this,o,a,BigInt(0),BigInt("0xffffffffffffffff"))}),n.prototype.writeBigUInt64BE=be(function(o,a=0){return wi(this,o,a,BigInt(0),BigInt("0xffffffffffffffff"))}),n.prototype.writeIntLE=function(o,a,h,v){if(o=+o,a=a>>>0,!v){let V=Math.pow(2,8*h-1);re(this,o,a,h,V-1,-V)}let b=0,E=1,T=0;for(this[a]=o&255;++b<h&&(E*=256);)o<0&&T===0&&this[a+b-1]!==0&&(T=1),this[a+b]=(o/E>>0)-T&255;return a+h},n.prototype.writeIntBE=function(o,a,h,v){if(o=+o,a=a>>>0,!v){let V=Math.pow(2,8*h-1);re(this,o,a,h,V-1,-V)}let b=h-1,E=1,T=0;for(this[a+b]=o&255;--b>=0&&(E*=256);)o<0&&T===0&&this[a+b+1]!==0&&(T=1),this[a+b]=(o/E>>0)-T&255;return a+h},n.prototype.writeInt8=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,1,127,-128),o<0&&(o=255+o+1),this[a]=o&255,a+1},n.prototype.writeInt16LE=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,2,32767,-32768),this[a]=o&255,this[a+1]=o>>>8,a+2},n.prototype.writeInt16BE=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,2,32767,-32768),this[a]=o>>>8,this[a+1]=o&255,a+2},n.prototype.writeInt32LE=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,4,2147483647,-2147483648),this[a]=o&255,this[a+1]=o>>>8,this[a+2]=o>>>16,this[a+3]=o>>>24,a+4},n.prototype.writeInt32BE=function(o,a,h){return o=+o,a=a>>>0,h||re(this,o,a,4,2147483647,-2147483648),o<0&&(o=4294967295+o+1),this[a]=o>>>24,this[a+1]=o>>>16,this[a+2]=o>>>8,this[a+3]=o&255,a+4},n.prototype.writeBigInt64LE=be(function(o,a=0){return yi(this,o,a,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),n.prototype.writeBigInt64BE=be(function(o,a=0){return wi(this,o,a,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function bi(f,o,a,h,v,b){if(a+h>f.length)throw new RangeError("Index out of range");if(a<0)throw new RangeError("Index out of range")}function xi(f,o,a,h,v){return o=+o,a=a>>>0,v||bi(f,o,a,4),e.write(f,o,a,h,23,4),a+4}n.prototype.writeFloatLE=function(o,a,h){return xi(this,o,a,!0,h)},n.prototype.writeFloatBE=function(o,a,h){return xi(this,o,a,!1,h)};function Ei(f,o,a,h,v){return o=+o,a=a>>>0,v||bi(f,o,a,8),e.write(f,o,a,h,52,8),a+8}n.prototype.writeDoubleLE=function(o,a,h){return Ei(this,o,a,!0,h)},n.prototype.writeDoubleBE=function(o,a,h){return Ei(this,o,a,!1,h)},n.prototype.copy=function(o,a,h,v){if(!n.isBuffer(o))throw new TypeError("argument should be a Buffer");if(h||(h=0),!v&&v!==0&&(v=this.length),a>=o.length&&(a=o.length),a||(a=0),v>0&&v<h&&(v=h),v===h||o.length===0||this.length===0)return 0;if(a<0)throw new RangeError("targetStart out of bounds");if(h<0||h>=this.length)throw new RangeError("Index out of range");if(v<0)throw new RangeError("sourceEnd out of bounds");v>this.length&&(v=this.length),o.length-a<v-h&&(v=o.length-a+h);let b=v-h;return this===o&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(a,h,v):Uint8Array.prototype.set.call(o,this.subarray(h,v),a),b},n.prototype.fill=function(o,a,h,v){if(typeof o=="string"){if(typeof a=="string"?(v=a,a=0,h=this.length):typeof h=="string"&&(v=h,h=this.length),v!==void 0&&typeof v!="string")throw new TypeError("encoding must be a string");if(typeof v=="string"&&!n.isEncoding(v))throw new TypeError("Unknown encoding: "+v);if(o.length===1){let E=o.charCodeAt(0);(v==="utf8"&&E<128||v==="latin1")&&(o=E)}}else typeof o=="number"?o=o&255:typeof o=="boolean"&&(o=Number(o));if(a<0||this.length<a||this.length<h)throw new RangeError("Out of range index");if(h<=a)return this;a=a>>>0,h=h===void 0?this.length:h>>>0,o||(o=0);let b;if(typeof o=="number")for(b=a;b<h;++b)this[b]=o;else{let E=n.isBuffer(o)?o:n.from(o,v),T=E.length;if(T===0)throw new TypeError('The value "'+o+'" is invalid for argument "value"');for(b=0;b<h-a;++b)this[b+a]=E[b%T]}return this};let De={};function cr(f,o,a){De[f]=class extends a{constructor(){super(),Object.defineProperty(this,"message",{value:o.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${f}]`,this.stack,delete this.name}get code(){return f}set code(v){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:v,writable:!0})}toString(){return`${this.name} [${f}]: ${this.message}`}}}cr("ERR_BUFFER_OUT_OF_BOUNDS",function(f){return f?`${f} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),cr("ERR_INVALID_ARG_TYPE",function(f,o){return`The "${f}" argument must be of type number. Received type ${typeof o}`},TypeError),cr("ERR_OUT_OF_RANGE",function(f,o,a){let h=`The value of "${f}" is out of range.`,v=a;return Number.isInteger(a)&&Math.abs(a)>2**32?v=Ci(String(a)):typeof a=="bigint"&&(v=String(a),(a>BigInt(2)**BigInt(32)||a<-(BigInt(2)**BigInt(32)))&&(v=Ci(v)),v+="n"),h+=` It must be ${o}. Received ${v}`,h},RangeError);function Ci(f){let o="",a=f.length,h=f[0]==="-"?1:0;for(;a>=h+4;a-=3)o=`_${f.slice(a-3,a)}${o}`;return`${f.slice(0,a)}${o}`}function ba(f,o,a){je(o,"offset"),(f[o]===void 0||f[o+a]===void 0)&&et(o,f.length-(a+1))}function Ai(f,o,a,h,v,b){if(f>a||f<o){let E=typeof o=="bigint"?"n":"",T;throw b>3?o===0||o===BigInt(0)?T=`>= 0${E} and < 2${E} ** ${(b+1)*8}${E}`:T=`>= -(2${E} ** ${(b+1)*8-1}${E}) and < 2 ** ${(b+1)*8-1}${E}`:T=`>= ${o}${E} and <= ${a}${E}`,new De.ERR_OUT_OF_RANGE("value",T,f)}ba(h,v,b)}function je(f,o){if(typeof f!="number")throw new De.ERR_INVALID_ARG_TYPE(o,"number",f)}function et(f,o,a){throw Math.floor(f)!==f?(je(f,a),new De.ERR_OUT_OF_RANGE(a||"offset","an integer",f)):o<0?new De.ERR_BUFFER_OUT_OF_BOUNDS:new De.ERR_OUT_OF_RANGE(a||"offset",`>= ${a?1:0} and <= ${o}`,f)}let xa=/[^+/0-9A-Za-z-_]/g;function Ea(f){if(f=f.split("=")[0],f=f.trim().replace(xa,""),f.length<2)return"";for(;f.length%4!==0;)f=f+"=";return f}function hr(f,o){o=o||1/0;let a,h=f.length,v=null,b=[];for(let E=0;E<h;++E){if(a=f.charCodeAt(E),a>55295&&a<57344){if(!v){if(a>56319){(o-=3)>-1&&b.push(239,191,189);continue}else if(E+1===h){(o-=3)>-1&&b.push(239,191,189);continue}v=a;continue}if(a<56320){(o-=3)>-1&&b.push(239,191,189),v=a;continue}a=(v-55296<<10|a-56320)+65536}else v&&(o-=3)>-1&&b.push(239,191,189);if(v=null,a<128){if((o-=1)<0)break;b.push(a)}else if(a<2048){if((o-=2)<0)break;b.push(a>>6|192,a&63|128)}else if(a<65536){if((o-=3)<0)break;b.push(a>>12|224,a>>6&63|128,a&63|128)}else if(a<1114112){if((o-=4)<0)break;b.push(a>>18|240,a>>12&63|128,a>>6&63|128,a&63|128)}else throw new Error("Invalid code point")}return b}function Ca(f){let o=[];for(let a=0;a<f.length;++a)o.push(f.charCodeAt(a)&255);return o}function Aa(f,o){let a,h,v,b=[];for(let E=0;E<f.length&&!((o-=2)<0);++E)a=f.charCodeAt(E),h=a>>8,v=a%256,b.push(v),b.push(h);return b}function Si(f){return i.toByteArray(Ea(f))}function Ot(f,o,a,h){let v;for(v=0;v<h&&!(v+a>=o.length||v>=f.length);++v)o[v+a]=f[v];return v}function le(f,o){return f instanceof o||f!=null&&f.constructor!=null&&f.constructor.name!=null&&f.constructor.name===o.name}function pr(f){return f!==f}let Sa=function(){let f="0123456789abcdef",o=new Array(256);for(let a=0;a<16;++a){let h=a*16;for(let v=0;v<16;++v)o[h+v]=f[a]+f[v]}return o}();function be(f){return typeof BigInt>"u"?Ia:f}function Ia(){throw new Error("BigInt not supported")}return Ue}var rt,Wn,Tt,Hn,Ue,Vn,Le,B,zf,Wf,Gn=ie(()=>{C();S();A();rt={},Wn=!1;Tt={},Hn=!1;Ue={},Vn=!1;Le=_a();Le.Buffer;Le.SlowBuffer;Le.INSPECT_MAX_BYTES;Le.kMaxLength;B=Le.Buffer,zf=Le.INSPECT_MAX_BYTES,Wf=Le.kMaxLength});var S=ie(()=>{Gn()});var Jn=$((Kf,yr)=>{C();S();A();var P=String,Yn=function(){return{isColorSupported:!1,reset:P,bold:P,dim:P,italic:P,underline:P,inverse:P,hidden:P,strikethrough:P,black:P,red:P,green:P,yellow:P,blue:P,magenta:P,cyan:P,white:P,gray:P,bgBlack:P,bgRed:P,bgGreen:P,bgYellow:P,bgBlue:P,bgMagenta:P,bgCyan:P,bgWhite:P,blackBright:P,redBright:P,greenBright:P,yellowBright:P,blueBright:P,magentaBright:P,cyanBright:P,whiteBright:P,bgBlackBright:P,bgRedBright:P,bgGreenBright:P,bgYellowBright:P,bgBlueBright:P,bgMagentaBright:P,bgCyanBright:P,bgWhiteBright:P}};yr.exports=Yn();yr.exports.createColors=Yn});var wr=$(()=>{C();S();A()});var _t=$((oc,Xn)=>{"use strict";C();S();A();var Qn=Jn(),Kn=wr(),it=class i extends Error{constructor(e,t,r,s,l,n){super(e),this.name="CssSyntaxError",this.reason=e,l&&(this.file=l),s&&(this.source=s),n&&(this.plugin=n),typeof t<"u"&&typeof r<"u"&&(typeof t=="number"?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,i)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;e==null&&(e=Qn.isColorSupported),Kn&&e&&(t=Kn(t));let r=t.split(/\r?\n/),s=Math.max(this.line-3,0),l=Math.min(this.line+2,r.length),n=String(l).length,u,c;if(e){let{bold:p,gray:g,red:d}=Qn.createColors(!0);u=m=>p(d(m)),c=m=>g(m)}else u=c=p=>p;return r.slice(s,l).map((p,g)=>{let d=s+1+g,m=" "+(" "+d).slice(-n)+" | ";if(d===this.line){let y=c(m.replace(/\d/g," "))+p.slice(0,this.column-1).replace(/[^\t]/g," ");return u(">")+c(m)+p+`
|
|
2
2
|
`+y+u("^")}return" "+c(m)+p}).join(`
|
|
3
3
|
`)}toString(){let e=this.showSourceCode();return e&&(e=`
|
|
4
4
|
|
|
5
5
|
`+e+`
|
|
6
|
-
`),this.name+": "+this.message+e}};Xn.exports=it;it.default=it});var $t
|
|
6
|
+
`),this.name+": "+this.message+e}};Xn.exports=it;it.default=it});var $t=$((fc,br)=>{"use strict";C();S();A();br.exports.isClean=Symbol("isClean");br.exports.my=Symbol("my")});var xr=$((dc,es)=>{"use strict";C();S();A();var Zn={after:`
|
|
7
7
|
`,beforeClose:`
|
|
8
8
|
`,beforeComment:`
|
|
9
9
|
`,beforeDecl:`
|
|
@@ -14,36 +14,36 @@
|
|
|
14
14
|
`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(t,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,t){let r;return e.walkDecls(s=>{if(typeof s.raws.before<"u")return r=s.raws.before,r.includes(`
|
|
15
15
|
`)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let t;return e.walk(r=>{if(r.type!=="decl"&&(t=r.raws.between,typeof t<"u"))return!1}),t}rawBeforeRule(e){let t;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&typeof r.raws.before<"u")return t=r.raws.before,t.includes(`
|
|
16
16
|
`)&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls(r=>{if(typeof r.raws.between<"u")return t=r.raws.between.replace(/[^\s:]/g,""),!1}),t}rawEmptyBody(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length===0&&(t=r.raws.after,typeof t<"u"))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e&&typeof r.raws.before<"u"){let l=r.raws.before.split(`
|
|
17
|
-
`);return t=l[l.length-1],t=t.replace(/\S/g,""),!1}}),t}rawSemicolon(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(t=r.raws.semicolon,typeof t<"u"))return!1}),t}rawValue(e,t){let r=e[t],s=e.raws[t];return s&&s.value===r?s.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}};es.exports=nt;nt.default=nt});var st
|
|
18
|
-
`?(s=1,l+=1):s+=1;return{column:s,line:l}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let s=this.toString(),l=s.indexOf(e.word);l!==-1&&(t=this.positionInside(l,s),r=this.positionInside(l+e.word.length,s))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:typeof e.endIndex=="number"?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}}raw(e,t){return new Da().raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let s of e)s===this?r=!0:r?(this.parent.insertAfter(t,s),t=s):this.parent.insertBefore(t,s);r||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,t){let r={},s=t==null;t=t||new Map;let l=0;for(let n in this){if(!Object.prototype.hasOwnProperty.call(this,n)||n==="parent"||n==="proxyCache")continue;let u=this[n];if(Array.isArray(u))r[n]=u.map(c=>typeof c=="object"&&c.toJSON?c.toJSON(null,t):c);else if(typeof u=="object"&&u.toJSON)r[n]=u.toJSON(null,t);else if(n==="source"){let c=t.get(u.input);c==null&&(c=l,t.set(u.input,l),l++),r[n]={end:u.end,inputId:c,start:u.start}}else r[n]=u}return s&&(r.inputs=[...t.keys()].map(n=>n.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=ja){e.stringify&&(e=e.stringify);let t="";return e(this,r=>{t+=r}),t}warn(e,t,r){let s={node:this};for(let l in r)s[l]=r[l];return e.warn(t,s)}get proxyOf(){return this}};rs.exports=ot;ot.default=ot});var ut=_((Ic,is)=>{"use strict";C();S();A();var Fa=at(),lt=class extends Fa{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};is.exports=lt;lt.default=lt});var Mt=_(()=>{C();S();A()});function za(){if(ns)return Ar;ns=!0;var i=Ar={},e,t;function r(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?e=setTimeout:e=r}catch{e=r}try{typeof clearTimeout=="function"?t=clearTimeout:t=s}catch{t=s}})();function l(I){if(e===setTimeout)return setTimeout(I,0);if((e===r||!e)&&setTimeout)return e=setTimeout,setTimeout(I,0);try{return e(I,0)}catch{try{return e.call(null,I,0)}catch{return e.call(this||ze,I,0)}}}function n(I){if(t===clearTimeout)return clearTimeout(I);if((t===s||!t)&&clearTimeout)return t=clearTimeout,clearTimeout(I);try{return t(I)}catch{try{return t.call(null,I)}catch{return t.call(this||ze,I)}}}var u=[],c=!1,p,g=-1;function d(){!c||!p||(c=!1,p.length?u=p.concat(u):g=-1,u.length&&m())}function m(){if(!c){var I=l(d);c=!0;for(var w=u.length;w;){for(p=u,u=[];++g<w;)p&&p[g].run();g=-1,w=u.length}p=null,c=!1,n(I)}}i.nextTick=function(I){var w=new Array(arguments.length-1);if(arguments.length>1)for(var L=1;L<arguments.length;L++)w[L-1]=arguments[L];u.push(new y(I,w)),u.length===1&&!c&&l(m)};function y(I,w){(this||ze).fun=I,(this||ze).array=w}y.prototype.run=function(){(this||ze).fun.apply(null,(this||ze).array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={};function x(){}return i.on=x,i.addListener=x,i.once=x,i.off=x,i.removeListener=x,i.removeAllListeners=x,i.emit=x,i.prependListener=x,i.prependOnceListener=x,i.listeners=function(I){return[]},i.binding=function(I){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(I){throw new Error("process.chdir is not supported")},i.umask=function(){return 0},Ar}var Ar,ns,ze,W,qt=ie(()=>{C();S();A();Ar={},ns=!1,ze=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;W=za();W.platform="browser";W.addListener;W.argv;W.binding;W.browser;W.chdir;W.cwd;W.emit;W.env;W.listeners;W.nextTick;W.off;W.on;W.once;W.prependListener;W.prependOnceListener;W.removeAllListeners;W.removeListener;W.title;W.umask;W.version;W.versions});function Wa(){if(ss)return Sr;ss=!0;var i=W;function e(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}function t(l,n){for(var u="",c=0,p=-1,g=0,d,m=0;m<=l.length;++m){if(m<l.length)d=l.charCodeAt(m);else{if(d===47)break;d=47}if(d===47){if(!(p===m-1||g===1))if(p!==m-1&&g===2){if(u.length<2||c!==2||u.charCodeAt(u.length-1)!==46||u.charCodeAt(u.length-2)!==46){if(u.length>2){var y=u.lastIndexOf("/");if(y!==u.length-1){y===-1?(u="",c=0):(u=u.slice(0,y),c=u.length-1-u.lastIndexOf("/")),p=m,g=0;continue}}else if(u.length===2||u.length===1){u="",c=0,p=m,g=0;continue}}n&&(u.length>0?u+="/..":u="..",c=2)}else u.length>0?u+="/"+l.slice(p+1,m):u=l.slice(p+1,m),c=m-p-1;p=m,g=0}else d===46&&g!==-1?++g:g=-1}return u}function r(l,n){var u=n.dir||n.root,c=n.base||(n.name||"")+(n.ext||"");return u?u===n.root?u+c:u+l+c:c}var s={resolve:function(){for(var n="",u=!1,c,p=arguments.length-1;p>=-1&&!u;p--){var g;p>=0?g=arguments[p]:(c===void 0&&(c=i.cwd()),g=c),e(g),g.length!==0&&(n=g+"/"+n,u=g.charCodeAt(0)===47)}return n=t(n,!u),u?n.length>0?"/"+n:"/":n.length>0?n:"."},normalize:function(n){if(e(n),n.length===0)return".";var u=n.charCodeAt(0)===47,c=n.charCodeAt(n.length-1)===47;return n=t(n,!u),n.length===0&&!u&&(n="."),n.length>0&&c&&(n+="/"),u?"/"+n:n},isAbsolute:function(n){return e(n),n.length>0&&n.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var n,u=0;u<arguments.length;++u){var c=arguments[u];e(c),c.length>0&&(n===void 0?n=c:n+="/"+c)}return n===void 0?".":s.normalize(n)},relative:function(n,u){if(e(n),e(u),n===u||(n=s.resolve(n),u=s.resolve(u),n===u))return"";for(var c=1;c<n.length&&n.charCodeAt(c)===47;++c);for(var p=n.length,g=p-c,d=1;d<u.length&&u.charCodeAt(d)===47;++d);for(var m=u.length,y=m-d,x=g<y?g:y,I=-1,w=0;w<=x;++w){if(w===x){if(y>x){if(u.charCodeAt(d+w)===47)return u.slice(d+w+1);if(w===0)return u.slice(d+w)}else g>x&&(n.charCodeAt(c+w)===47?I=w:w===0&&(I=0));break}var L=n.charCodeAt(c+w),k=u.charCodeAt(d+w);if(L!==k)break;L===47&&(I=w)}var R="";for(w=c+I+1;w<=p;++w)(w===p||n.charCodeAt(w)===47)&&(R.length===0?R+="..":R+="/..");return R.length>0?R+u.slice(d+I):(d+=I,u.charCodeAt(d)===47&&++d,u.slice(d))},_makeLong:function(n){return n},dirname:function(n){if(e(n),n.length===0)return".";for(var u=n.charCodeAt(0),c=u===47,p=-1,g=!0,d=n.length-1;d>=1;--d)if(u=n.charCodeAt(d),u===47){if(!g){p=d;break}}else g=!1;return p===-1?c?"/":".":c&&p===1?"//":n.slice(0,p)},basename:function(n,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');e(n);var c=0,p=-1,g=!0,d;if(u!==void 0&&u.length>0&&u.length<=n.length){if(u.length===n.length&&u===n)return"";var m=u.length-1,y=-1;for(d=n.length-1;d>=0;--d){var x=n.charCodeAt(d);if(x===47){if(!g){c=d+1;break}}else y===-1&&(g=!1,y=d+1),m>=0&&(x===u.charCodeAt(m)?--m===-1&&(p=d):(m=-1,p=y))}return c===p?p=y:p===-1&&(p=n.length),n.slice(c,p)}else{for(d=n.length-1;d>=0;--d)if(n.charCodeAt(d)===47){if(!g){c=d+1;break}}else p===-1&&(g=!1,p=d+1);return p===-1?"":n.slice(c,p)}},extname:function(n){e(n);for(var u=-1,c=0,p=-1,g=!0,d=0,m=n.length-1;m>=0;--m){var y=n.charCodeAt(m);if(y===47){if(!g){c=m+1;break}continue}p===-1&&(g=!1,p=m+1),y===46?u===-1?u=m:d!==1&&(d=1):u!==-1&&(d=-1)}return u===-1||p===-1||d===0||d===1&&u===p-1&&u===c+1?"":n.slice(u,p)},format:function(n){if(n===null||typeof n!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof n);return r("/",n)},parse:function(n){e(n);var u={root:"",dir:"",base:"",ext:"",name:""};if(n.length===0)return u;var c=n.charCodeAt(0),p=c===47,g;p?(u.root="/",g=1):g=0;for(var d=-1,m=0,y=-1,x=!0,I=n.length-1,w=0;I>=g;--I){if(c=n.charCodeAt(I),c===47){if(!x){m=I+1;break}continue}y===-1&&(x=!1,y=I+1),c===46?d===-1?d=I:w!==1&&(w=1):d!==-1&&(w=-1)}return d===-1||y===-1||w===0||w===1&&d===y-1&&d===m+1?y!==-1&&(m===0&&p?u.base=u.name=n.slice(1,y):u.base=u.name=n.slice(m,y)):(m===0&&p?(u.name=n.slice(1,d),u.base=n.slice(1,y)):(u.name=n.slice(m,d),u.base=n.slice(m,y)),u.ext=n.slice(d,y)),m>0?u.dir=n.slice(0,m-1):p&&(u.dir="/"),u},sep:"/",delimiter:":",win32:null,posix:null};return s.posix=s,Sr=s,Sr}var Sr,ss,Y,Dt=ie(()=>{C();S();A();qt();Sr={},ss=!1;Y=Wa()});var jt={};tt(jt,{_makeLong:()=>Ha,basename:()=>Va,default:()=>Y,delimiter:()=>Ga,dirname:()=>Ya,extname:()=>Ja,format:()=>Qa,isAbsolute:()=>Ka,join:()=>Xa,normalize:()=>Za,parse:()=>el,posix:()=>tl,relative:()=>rl,resolve:()=>il,sep:()=>nl,win32:()=>sl});var Ha,Va,Ga,Ya,Ja,Qa,Ka,Xa,Za,el,tl,rl,il,nl,sl,Ft=ie(()=>{C();S();A();Dt();Dt();qt();Ha=Y._makeLong,Va=Y.basename,Ga=Y.delimiter,Ya=Y.dirname,Ja=Y.extname,Qa=Y.format,Ka=Y.isAbsolute,Xa=Y.join,Za=Y.normalize,el=Y.parse,tl=Y.posix,rl=Y.relative,il=Y.resolve,nl=Y.sep,sl=Y.win32});function ke(i){throw new RangeError(ul[i])}function os(i,e){let t=i.split("@"),r="";t.length>1&&(r=t[0]+"@",i=t[1]);let s=function(l,n){let u=[],c=l.length;for(;c--;)u[c]=n(l[c]);return u}((i=i.replace(ll,".")).split("."),e).join(".");return r+s}function fs(i){let e=[],t=0,r=i.length;for(;t<r;){let s=i.charCodeAt(t++);if(s>=55296&&s<=56319&&t<r){let l=i.charCodeAt(t++);(64512&l)==56320?e.push(((1023&s)<<10)+(1023&l)+65536):(e.push(s),t--)}else e.push(s)}return e}var ol,al,ll,ul,ue,Ir,as,cs,ls,us,Ee,hs=ie(()=>{C();S();A();ol=/^xn--/,al=/[^\0-\x7E]/,ll=/[\x2E\u3002\uFF0E\uFF61]/g,ul={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ue=Math.floor,Ir=String.fromCharCode;as=function(i,e){return i+22+75*(i<26)-((e!=0)<<5)},cs=function(i,e,t){let r=0;for(i=t?ue(i/700):i>>1,i+=ue(i/e);i>455;r+=36)i=ue(i/35);return ue(r+36*i/(i+38))},ls=function(i){let e=[],t=i.length,r=0,s=128,l=72,n=i.lastIndexOf("-");n<0&&(n=0);for(let c=0;c<n;++c)i.charCodeAt(c)>=128&&ke("not-basic"),e.push(i.charCodeAt(c));for(let c=n>0?n+1:0;c<t;){let p=r;for(let d=1,m=36;;m+=36){c>=t&&ke("invalid-input");let y=(u=i.charCodeAt(c++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:36;(y>=36||y>ue((2147483647-r)/d))&&ke("overflow"),r+=y*d;let x=m<=l?1:m>=l+26?26:m-l;if(y<x)break;let I=36-x;d>ue(2147483647/I)&&ke("overflow"),d*=I}let g=e.length+1;l=cs(r-p,g,p==0),ue(r/g)>2147483647-s&&ke("overflow"),s+=ue(r/g),r%=g,e.splice(r++,0,s)}var u;return String.fromCodePoint(...e)},us=function(i){let e=[],t=(i=fs(i)).length,r=128,s=0,l=72;for(let c of i)c<128&&e.push(Ir(c));let n=e.length,u=n;for(n&&e.push("-");u<t;){let c=2147483647;for(let g of i)g>=r&&g<c&&(c=g);let p=u+1;c-r>ue((2147483647-s)/p)&&ke("overflow"),s+=(c-r)*p,r=c;for(let g of i)if(g<r&&++s>2147483647&&ke("overflow"),g==r){let d=s;for(let m=36;;m+=36){let y=m<=l?1:m>=l+26?26:m-l;if(d<y)break;let x=d-y,I=36-y;e.push(Ir(as(y+x%I,0))),d=ue(x/I)}e.push(Ir(as(d,0))),l=cs(s,p,u==n),s=0,++u}++s,++r}return e.join("")},Ee={version:"2.1.0",ucs2:{decode:fs,encode:i=>String.fromCodePoint(...i)},decode:ls,encode:us,toASCII:function(i){return os(i,function(e){return al.test(e)?"xn--"+us(e):e})},toUnicode:function(i){return os(i,function(e){return ol.test(e)?ls(e.slice(4).toLowerCase()):e})}};Ee.decode;Ee.encode;Ee.toASCII;Ee.toUnicode;Ee.ucs2;Ee.version});function fl(i,e){return Object.prototype.hasOwnProperty.call(i,e)}var cl,ft,hl,fe,ps=ie(()=>{C();S();A();cl=function(i,e,t,r){e=e||"&",t=t||"=";var s={};if(typeof i!="string"||i.length===0)return s;var l=/\+/g;i=i.split(e);var n=1e3;r&&typeof r.maxKeys=="number"&&(n=r.maxKeys);var u=i.length;n>0&&u>n&&(u=n);for(var c=0;c<u;++c){var p,g,d,m,y=i[c].replace(l,"%20"),x=y.indexOf(t);x>=0?(p=y.substr(0,x),g=y.substr(x+1)):(p=y,g=""),d=decodeURIComponent(p),m=decodeURIComponent(g),fl(s,d)?Array.isArray(s[d])?s[d].push(m):s[d]=[s[d],m]:s[d]=m}return s},ft=function(i){switch(typeof i){case"string":return i;case"boolean":return i?"true":"false";case"number":return isFinite(i)?i:"";default:return""}},hl=function(i,e,t,r){return e=e||"&",t=t||"=",i===null&&(i=void 0),typeof i=="object"?Object.keys(i).map(function(s){var l=encodeURIComponent(ft(s))+t;return Array.isArray(i[s])?i[s].map(function(n){return l+encodeURIComponent(ft(n))}).join(e):l+encodeURIComponent(ft(i[s]))}).join(e):r?encodeURIComponent(ft(r))+t+encodeURIComponent(ft(i)):""},fe={};fe.decode=fe.parse=cl,fe.encode=fe.stringify=hl;fe.decode;fe.encode;fe.parse;fe.stringify});function Rr(){throw new Error("setTimeout has not been defined")}function Or(){throw new Error("clearTimeout has not been defined")}function gs(i){if(ge===setTimeout)return setTimeout(i,0);if((ge===Rr||!ge)&&setTimeout)return ge=setTimeout,setTimeout(i,0);try{return ge(i,0)}catch{try{return ge.call(null,i,0)}catch{return ge.call(this||He,i,0)}}}function pl(){We&&Pe&&(We=!1,Pe.length?ye=Pe.concat(ye):zt=-1,ye.length&&vs())}function vs(){if(!We){var i=gs(pl);We=!0;for(var e=ye.length;e;){for(Pe=ye,ye=[];++zt<e;)Pe&&Pe[zt].run();zt=-1,e=ye.length}Pe=null,We=!1,function(t){if(ve===clearTimeout)return clearTimeout(t);if((ve===Or||!ve)&&clearTimeout)return ve=clearTimeout,clearTimeout(t);try{ve(t)}catch{try{return ve.call(null,t)}catch{return ve.call(this||He,t)}}}(i)}}function ds(i,e){(this||He).fun=i,(this||He).array=e}function me(){}var ms,ge,ve,He,J,Pe,ye,We,zt,H,ys=ie(()=>{C();S();A();He=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window,J=ms={};(function(){try{ge=typeof setTimeout=="function"?setTimeout:Rr}catch{ge=Rr}try{ve=typeof clearTimeout=="function"?clearTimeout:Or}catch{ve=Or}})();ye=[],We=!1,zt=-1;J.nextTick=function(i){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];ye.push(new ds(i,e)),ye.length!==1||We||gs(vs)},ds.prototype.run=function(){(this||He).fun.apply(null,(this||He).array)},J.title="browser",J.browser=!0,J.env={},J.argv=[],J.version="",J.versions={},J.on=me,J.addListener=me,J.once=me,J.off=me,J.removeListener=me,J.removeAllListeners=me,J.emit=me,J.prependListener=me,J.prependOnceListener=me,J.listeners=function(i){return[]},J.binding=function(i){throw new Error("process.binding is not supported")},J.cwd=function(){return"/"},J.chdir=function(i){throw new Error("process.chdir is not supported")},J.umask=function(){return 0};H=ms;H.addListener;H.argv;H.binding;H.browser;H.chdir;H.cwd;H.emit;H.env;H.listeners;H.nextTick;H.off;H.on;H.once;H.prependListener;H.prependOnceListener;H.removeAllListeners;H.removeListener;H.title;H.umask;H.version;H.versions});var _r={};tt(_r,{URL:()=>zl,Url:()=>Ml,default:()=>q,fileURLToPath:()=>As,format:()=>ql,parse:()=>Fl,pathToFileURL:()=>Ss,resolve:()=>Dl,resolveObject:()=>jl});function se(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function ct(i,e,t){if(i&&ce.isObject(i)&&i instanceof se)return i;var r=new se;return r.parse(i,e,t),r}function xl(){if(Es)return Lr;Es=!0;var i=H;function e(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}function t(l,n){for(var u="",c=0,p=-1,g=0,d,m=0;m<=l.length;++m){if(m<l.length)d=l.charCodeAt(m);else{if(d===47)break;d=47}if(d===47){if(!(p===m-1||g===1))if(p!==m-1&&g===2){if(u.length<2||c!==2||u.charCodeAt(u.length-1)!==46||u.charCodeAt(u.length-2)!==46){if(u.length>2){var y=u.lastIndexOf("/");if(y!==u.length-1){y===-1?(u="",c=0):(u=u.slice(0,y),c=u.length-1-u.lastIndexOf("/")),p=m,g=0;continue}}else if(u.length===2||u.length===1){u="",c=0,p=m,g=0;continue}}n&&(u.length>0?u+="/..":u="..",c=2)}else u.length>0?u+="/"+l.slice(p+1,m):u=l.slice(p+1,m),c=m-p-1;p=m,g=0}else d===46&&g!==-1?++g:g=-1}return u}function r(l,n){var u=n.dir||n.root,c=n.base||(n.name||"")+(n.ext||"");return u?u===n.root?u+c:u+l+c:c}var s={resolve:function(){for(var n="",u=!1,c,p=arguments.length-1;p>=-1&&!u;p--){var g;p>=0?g=arguments[p]:(c===void 0&&(c=i.cwd()),g=c),e(g),g.length!==0&&(n=g+"/"+n,u=g.charCodeAt(0)===47)}return n=t(n,!u),u?n.length>0?"/"+n:"/":n.length>0?n:"."},normalize:function(n){if(e(n),n.length===0)return".";var u=n.charCodeAt(0)===47,c=n.charCodeAt(n.length-1)===47;return n=t(n,!u),n.length===0&&!u&&(n="."),n.length>0&&c&&(n+="/"),u?"/"+n:n},isAbsolute:function(n){return e(n),n.length>0&&n.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var n,u=0;u<arguments.length;++u){var c=arguments[u];e(c),c.length>0&&(n===void 0?n=c:n+="/"+c)}return n===void 0?".":s.normalize(n)},relative:function(n,u){if(e(n),e(u),n===u||(n=s.resolve(n),u=s.resolve(u),n===u))return"";for(var c=1;c<n.length&&n.charCodeAt(c)===47;++c);for(var p=n.length,g=p-c,d=1;d<u.length&&u.charCodeAt(d)===47;++d);for(var m=u.length,y=m-d,x=g<y?g:y,I=-1,w=0;w<=x;++w){if(w===x){if(y>x){if(u.charCodeAt(d+w)===47)return u.slice(d+w+1);if(w===0)return u.slice(d+w)}else g>x&&(n.charCodeAt(c+w)===47?I=w:w===0&&(I=0));break}var L=n.charCodeAt(c+w),k=u.charCodeAt(d+w);if(L!==k)break;L===47&&(I=w)}var R="";for(w=c+I+1;w<=p;++w)(w===p||n.charCodeAt(w)===47)&&(R.length===0?R+="..":R+="/..");return R.length>0?R+u.slice(d+I):(d+=I,u.charCodeAt(d)===47&&++d,u.slice(d))},_makeLong:function(n){return n},dirname:function(n){if(e(n),n.length===0)return".";for(var u=n.charCodeAt(0),c=u===47,p=-1,g=!0,d=n.length-1;d>=1;--d)if(u=n.charCodeAt(d),u===47){if(!g){p=d;break}}else g=!1;return p===-1?c?"/":".":c&&p===1?"//":n.slice(0,p)},basename:function(n,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');e(n);var c=0,p=-1,g=!0,d;if(u!==void 0&&u.length>0&&u.length<=n.length){if(u.length===n.length&&u===n)return"";var m=u.length-1,y=-1;for(d=n.length-1;d>=0;--d){var x=n.charCodeAt(d);if(x===47){if(!g){c=d+1;break}}else y===-1&&(g=!1,y=d+1),m>=0&&(x===u.charCodeAt(m)?--m===-1&&(p=d):(m=-1,p=y))}return c===p?p=y:p===-1&&(p=n.length),n.slice(c,p)}else{for(d=n.length-1;d>=0;--d)if(n.charCodeAt(d)===47){if(!g){c=d+1;break}}else p===-1&&(g=!1,p=d+1);return p===-1?"":n.slice(c,p)}},extname:function(n){e(n);for(var u=-1,c=0,p=-1,g=!0,d=0,m=n.length-1;m>=0;--m){var y=n.charCodeAt(m);if(y===47){if(!g){c=m+1;break}continue}p===-1&&(g=!1,p=m+1),y===46?u===-1?u=m:d!==1&&(d=1):u!==-1&&(d=-1)}return u===-1||p===-1||d===0||d===1&&u===p-1&&u===c+1?"":n.slice(u,p)},format:function(n){if(n===null||typeof n!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof n);return r("/",n)},parse:function(n){e(n);var u={root:"",dir:"",base:"",ext:"",name:""};if(n.length===0)return u;var c=n.charCodeAt(0),p=c===47,g;p?(u.root="/",g=1):g=0;for(var d=-1,m=0,y=-1,x=!0,I=n.length-1,w=0;I>=g;--I){if(c=n.charCodeAt(I),c===47){if(!x){m=I+1;break}continue}y===-1&&(x=!1,y=I+1),c===46?d===-1?d=I:w!==1&&(w=1):d!==-1&&(w=-1)}return d===-1||y===-1||w===0||w===1&&d===y-1&&d===m+1?y!==-1&&(m===0&&p?u.base=u.name=n.slice(1,y):u.base=u.name=n.slice(m,y)):(m===0&&p?(u.name=n.slice(1,d),u.base=n.slice(1,y)):(u.name=n.slice(m,d),u.base=n.slice(m,y)),u.ext=n.slice(d,y)),m>0?u.dir=n.slice(0,m-1):p&&(u.dir="/"),u},sep:"/",delimiter:":",win32:null,posix:null};return s.posix=s,Lr=s,Lr}function Pl(i){if(typeof i=="string")i=new URL(i);else if(!(i instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(i.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return Pr?Tl(i):_l(i)}function Tl(i){let e=i.hostname,t=i.pathname;for(let r=0;r<t.length;r++)if(t[r]==="%"){let s=t.codePointAt(r+2)||32;if(t[r+1]==="2"&&s===102||t[r+1]==="5"&&s===99)throw new Deno.errors.InvalidData("must not include encoded \\ or / characters")}if(t=t.replace(Rl,"\\"),t=decodeURIComponent(t),e!=="")return`\\\\${e}${t}`;{let r=t.codePointAt(1)|32,s=t[2];if(r<Sl||r>Il||s!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return t.slice(1)}}function _l(i){if(i.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let e=i.pathname;for(let t=0;t<e.length;t++)if(e[t]==="%"){let r=e.codePointAt(t+2)||32;if(e[t+1]==="2"&&r===102)throw new Deno.errors.InvalidData("must not include encoded / characters")}return decodeURIComponent(e)}function $l(i){let e=Cs.resolve(i),t=i.charCodeAt(i.length-1);(t===Al||Pr&&t===Cl)&&e[e.length-1]!==Cs.sep&&(e+="/");let r=new URL("file://");return e.includes("%")&&(e=e.replace(Ol,"%25")),!Pr&&e.includes("\\")&&(e=e.replace(Bl,"%5C")),e.includes(`
|
|
17
|
+
`);return t=l[l.length-1],t=t.replace(/\S/g,""),!1}}),t}rawSemicolon(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(t=r.raws.semicolon,typeof t<"u"))return!1}),t}rawValue(e,t){let r=e[t],s=e.raws[t];return s&&s.value===r?s.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}};es.exports=nt;nt.default=nt});var st=$((yc,ts)=>{"use strict";C();S();A();var Na=xr();function Er(i,e){new Na(e).stringify(i)}ts.exports=Er;Er.default=Er});var at=$((Ec,rs)=>{"use strict";C();S();A();var{isClean:Nt,my:Ma}=$t(),qa=_t(),Da=xr(),ja=st();function Cr(i,e){let t=new i.constructor;for(let r in i){if(!Object.prototype.hasOwnProperty.call(i,r)||r==="proxyCache")continue;let s=i[r],l=typeof s;r==="parent"&&l==="object"?e&&(t[r]=e):r==="source"?t[r]=s:Array.isArray(s)?t[r]=s.map(n=>Cr(n,t)):(l==="object"&&s!==null&&(s=Cr(s)),t[r]=s)}return t}var ot=class{constructor(e={}){this.raws={},this[Nt]=!1,this[Ma]=!0;for(let t in e)if(t==="nodes"){this.nodes=[];for(let r of e[t])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=Cr(this);for(let r in e)t[r]=e[r];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:r,start:s}=this.rangeBy(t);return this.source.input.error(e,{column:s.column,line:s.line},{column:r.column,line:r.line},t)}return new qa(e)}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:t==="root"?()=>e.root().toProxy():e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text")&&e.markDirty()),!0}}}markDirty(){if(this[Nt]){this[Nt]=!1;let e=this;for(;e=e.parent;)e[Nt]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let r=this.source.start;if(e.index)r=this.positionInside(e.index,t);else if(e.word){t=this.toString();let s=t.indexOf(e.word);s!==-1&&(r=this.positionInside(s,t))}return r}positionInside(e,t){let r=t||this.toString(),s=this.source.start.column,l=this.source.start.line;for(let n=0;n<e;n++)r[n]===`
|
|
18
|
+
`?(s=1,l+=1):s+=1;return{column:s,line:l}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let s=this.toString(),l=s.indexOf(e.word);l!==-1&&(t=this.positionInside(l,s),r=this.positionInside(l+e.word.length,s))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:typeof e.endIndex=="number"?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}}raw(e,t){return new Da().raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let s of e)s===this?r=!0:r?(this.parent.insertAfter(t,s),t=s):this.parent.insertBefore(t,s);r||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,t){let r={},s=t==null;t=t||new Map;let l=0;for(let n in this){if(!Object.prototype.hasOwnProperty.call(this,n)||n==="parent"||n==="proxyCache")continue;let u=this[n];if(Array.isArray(u))r[n]=u.map(c=>typeof c=="object"&&c.toJSON?c.toJSON(null,t):c);else if(typeof u=="object"&&u.toJSON)r[n]=u.toJSON(null,t);else if(n==="source"){let c=t.get(u.input);c==null&&(c=l,t.set(u.input,l),l++),r[n]={end:u.end,inputId:c,start:u.start}}else r[n]=u}return s&&(r.inputs=[...t.keys()].map(n=>n.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=ja){e.stringify&&(e=e.stringify);let t="";return e(this,r=>{t+=r}),t}warn(e,t,r){let s={node:this};for(let l in r)s[l]=r[l];return e.warn(t,s)}get proxyOf(){return this}};rs.exports=ot;ot.default=ot});var ut=$((Ic,is)=>{"use strict";C();S();A();var Fa=at(),lt=class extends Fa{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};is.exports=lt;lt.default=lt});var Mt=$(()=>{C();S();A()});function za(){if(ns)return Ar;ns=!0;var i=Ar={},e,t;function r(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}(function(){try{typeof setTimeout=="function"?e=setTimeout:e=r}catch{e=r}try{typeof clearTimeout=="function"?t=clearTimeout:t=s}catch{t=s}})();function l(I){if(e===setTimeout)return setTimeout(I,0);if((e===r||!e)&&setTimeout)return e=setTimeout,setTimeout(I,0);try{return e(I,0)}catch{try{return e.call(null,I,0)}catch{return e.call(this||ze,I,0)}}}function n(I){if(t===clearTimeout)return clearTimeout(I);if((t===s||!t)&&clearTimeout)return t=clearTimeout,clearTimeout(I);try{return t(I)}catch{try{return t.call(null,I)}catch{return t.call(this||ze,I)}}}var u=[],c=!1,p,g=-1;function d(){!c||!p||(c=!1,p.length?u=p.concat(u):g=-1,u.length&&m())}function m(){if(!c){var I=l(d);c=!0;for(var w=u.length;w;){for(p=u,u=[];++g<w;)p&&p[g].run();g=-1,w=u.length}p=null,c=!1,n(I)}}i.nextTick=function(I){var w=new Array(arguments.length-1);if(arguments.length>1)for(var L=1;L<arguments.length;L++)w[L-1]=arguments[L];u.push(new y(I,w)),u.length===1&&!c&&l(m)};function y(I,w){(this||ze).fun=I,(this||ze).array=w}y.prototype.run=function(){(this||ze).fun.apply(null,(this||ze).array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={};function x(){}return i.on=x,i.addListener=x,i.once=x,i.off=x,i.removeListener=x,i.removeAllListeners=x,i.emit=x,i.prependListener=x,i.prependOnceListener=x,i.listeners=function(I){return[]},i.binding=function(I){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(I){throw new Error("process.chdir is not supported")},i.umask=function(){return 0},Ar}var Ar,ns,ze,W,qt=ie(()=>{C();S();A();Ar={},ns=!1,ze=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;W=za();W.platform="browser";W.addListener;W.argv;W.binding;W.browser;W.chdir;W.cwd;W.emit;W.env;W.listeners;W.nextTick;W.off;W.on;W.once;W.prependListener;W.prependOnceListener;W.removeAllListeners;W.removeListener;W.title;W.umask;W.version;W.versions});function Wa(){if(ss)return Sr;ss=!0;var i=W;function e(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}function t(l,n){for(var u="",c=0,p=-1,g=0,d,m=0;m<=l.length;++m){if(m<l.length)d=l.charCodeAt(m);else{if(d===47)break;d=47}if(d===47){if(!(p===m-1||g===1))if(p!==m-1&&g===2){if(u.length<2||c!==2||u.charCodeAt(u.length-1)!==46||u.charCodeAt(u.length-2)!==46){if(u.length>2){var y=u.lastIndexOf("/");if(y!==u.length-1){y===-1?(u="",c=0):(u=u.slice(0,y),c=u.length-1-u.lastIndexOf("/")),p=m,g=0;continue}}else if(u.length===2||u.length===1){u="",c=0,p=m,g=0;continue}}n&&(u.length>0?u+="/..":u="..",c=2)}else u.length>0?u+="/"+l.slice(p+1,m):u=l.slice(p+1,m),c=m-p-1;p=m,g=0}else d===46&&g!==-1?++g:g=-1}return u}function r(l,n){var u=n.dir||n.root,c=n.base||(n.name||"")+(n.ext||"");return u?u===n.root?u+c:u+l+c:c}var s={resolve:function(){for(var n="",u=!1,c,p=arguments.length-1;p>=-1&&!u;p--){var g;p>=0?g=arguments[p]:(c===void 0&&(c=i.cwd()),g=c),e(g),g.length!==0&&(n=g+"/"+n,u=g.charCodeAt(0)===47)}return n=t(n,!u),u?n.length>0?"/"+n:"/":n.length>0?n:"."},normalize:function(n){if(e(n),n.length===0)return".";var u=n.charCodeAt(0)===47,c=n.charCodeAt(n.length-1)===47;return n=t(n,!u),n.length===0&&!u&&(n="."),n.length>0&&c&&(n+="/"),u?"/"+n:n},isAbsolute:function(n){return e(n),n.length>0&&n.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var n,u=0;u<arguments.length;++u){var c=arguments[u];e(c),c.length>0&&(n===void 0?n=c:n+="/"+c)}return n===void 0?".":s.normalize(n)},relative:function(n,u){if(e(n),e(u),n===u||(n=s.resolve(n),u=s.resolve(u),n===u))return"";for(var c=1;c<n.length&&n.charCodeAt(c)===47;++c);for(var p=n.length,g=p-c,d=1;d<u.length&&u.charCodeAt(d)===47;++d);for(var m=u.length,y=m-d,x=g<y?g:y,I=-1,w=0;w<=x;++w){if(w===x){if(y>x){if(u.charCodeAt(d+w)===47)return u.slice(d+w+1);if(w===0)return u.slice(d+w)}else g>x&&(n.charCodeAt(c+w)===47?I=w:w===0&&(I=0));break}var L=n.charCodeAt(c+w),k=u.charCodeAt(d+w);if(L!==k)break;L===47&&(I=w)}var R="";for(w=c+I+1;w<=p;++w)(w===p||n.charCodeAt(w)===47)&&(R.length===0?R+="..":R+="/..");return R.length>0?R+u.slice(d+I):(d+=I,u.charCodeAt(d)===47&&++d,u.slice(d))},_makeLong:function(n){return n},dirname:function(n){if(e(n),n.length===0)return".";for(var u=n.charCodeAt(0),c=u===47,p=-1,g=!0,d=n.length-1;d>=1;--d)if(u=n.charCodeAt(d),u===47){if(!g){p=d;break}}else g=!1;return p===-1?c?"/":".":c&&p===1?"//":n.slice(0,p)},basename:function(n,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');e(n);var c=0,p=-1,g=!0,d;if(u!==void 0&&u.length>0&&u.length<=n.length){if(u.length===n.length&&u===n)return"";var m=u.length-1,y=-1;for(d=n.length-1;d>=0;--d){var x=n.charCodeAt(d);if(x===47){if(!g){c=d+1;break}}else y===-1&&(g=!1,y=d+1),m>=0&&(x===u.charCodeAt(m)?--m===-1&&(p=d):(m=-1,p=y))}return c===p?p=y:p===-1&&(p=n.length),n.slice(c,p)}else{for(d=n.length-1;d>=0;--d)if(n.charCodeAt(d)===47){if(!g){c=d+1;break}}else p===-1&&(g=!1,p=d+1);return p===-1?"":n.slice(c,p)}},extname:function(n){e(n);for(var u=-1,c=0,p=-1,g=!0,d=0,m=n.length-1;m>=0;--m){var y=n.charCodeAt(m);if(y===47){if(!g){c=m+1;break}continue}p===-1&&(g=!1,p=m+1),y===46?u===-1?u=m:d!==1&&(d=1):u!==-1&&(d=-1)}return u===-1||p===-1||d===0||d===1&&u===p-1&&u===c+1?"":n.slice(u,p)},format:function(n){if(n===null||typeof n!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof n);return r("/",n)},parse:function(n){e(n);var u={root:"",dir:"",base:"",ext:"",name:""};if(n.length===0)return u;var c=n.charCodeAt(0),p=c===47,g;p?(u.root="/",g=1):g=0;for(var d=-1,m=0,y=-1,x=!0,I=n.length-1,w=0;I>=g;--I){if(c=n.charCodeAt(I),c===47){if(!x){m=I+1;break}continue}y===-1&&(x=!1,y=I+1),c===46?d===-1?d=I:w!==1&&(w=1):d!==-1&&(w=-1)}return d===-1||y===-1||w===0||w===1&&d===y-1&&d===m+1?y!==-1&&(m===0&&p?u.base=u.name=n.slice(1,y):u.base=u.name=n.slice(m,y)):(m===0&&p?(u.name=n.slice(1,d),u.base=n.slice(1,y)):(u.name=n.slice(m,d),u.base=n.slice(m,y)),u.ext=n.slice(d,y)),m>0?u.dir=n.slice(0,m-1):p&&(u.dir="/"),u},sep:"/",delimiter:":",win32:null,posix:null};return s.posix=s,Sr=s,Sr}var Sr,ss,Y,Dt=ie(()=>{C();S();A();qt();Sr={},ss=!1;Y=Wa()});var jt={};tt(jt,{_makeLong:()=>Ha,basename:()=>Va,default:()=>Y,delimiter:()=>Ga,dirname:()=>Ya,extname:()=>Ja,format:()=>Qa,isAbsolute:()=>Ka,join:()=>Xa,normalize:()=>Za,parse:()=>el,posix:()=>tl,relative:()=>rl,resolve:()=>il,sep:()=>nl,win32:()=>sl});var Ha,Va,Ga,Ya,Ja,Qa,Ka,Xa,Za,el,tl,rl,il,nl,sl,Ft=ie(()=>{C();S();A();Dt();Dt();qt();Ha=Y._makeLong,Va=Y.basename,Ga=Y.delimiter,Ya=Y.dirname,Ja=Y.extname,Qa=Y.format,Ka=Y.isAbsolute,Xa=Y.join,Za=Y.normalize,el=Y.parse,tl=Y.posix,rl=Y.relative,il=Y.resolve,nl=Y.sep,sl=Y.win32});function ke(i){throw new RangeError(ul[i])}function os(i,e){let t=i.split("@"),r="";t.length>1&&(r=t[0]+"@",i=t[1]);let s=function(l,n){let u=[],c=l.length;for(;c--;)u[c]=n(l[c]);return u}((i=i.replace(ll,".")).split("."),e).join(".");return r+s}function fs(i){let e=[],t=0,r=i.length;for(;t<r;){let s=i.charCodeAt(t++);if(s>=55296&&s<=56319&&t<r){let l=i.charCodeAt(t++);(64512&l)==56320?e.push(((1023&s)<<10)+(1023&l)+65536):(e.push(s),t--)}else e.push(s)}return e}var ol,al,ll,ul,ue,Ir,as,cs,ls,us,Ee,hs=ie(()=>{C();S();A();ol=/^xn--/,al=/[^\0-\x7E]/,ll=/[\x2E\u3002\uFF0E\uFF61]/g,ul={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},ue=Math.floor,Ir=String.fromCharCode;as=function(i,e){return i+22+75*(i<26)-((e!=0)<<5)},cs=function(i,e,t){let r=0;for(i=t?ue(i/700):i>>1,i+=ue(i/e);i>455;r+=36)i=ue(i/35);return ue(r+36*i/(i+38))},ls=function(i){let e=[],t=i.length,r=0,s=128,l=72,n=i.lastIndexOf("-");n<0&&(n=0);for(let c=0;c<n;++c)i.charCodeAt(c)>=128&&ke("not-basic"),e.push(i.charCodeAt(c));for(let c=n>0?n+1:0;c<t;){let p=r;for(let d=1,m=36;;m+=36){c>=t&&ke("invalid-input");let y=(u=i.charCodeAt(c++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:36;(y>=36||y>ue((2147483647-r)/d))&&ke("overflow"),r+=y*d;let x=m<=l?1:m>=l+26?26:m-l;if(y<x)break;let I=36-x;d>ue(2147483647/I)&&ke("overflow"),d*=I}let g=e.length+1;l=cs(r-p,g,p==0),ue(r/g)>2147483647-s&&ke("overflow"),s+=ue(r/g),r%=g,e.splice(r++,0,s)}var u;return String.fromCodePoint(...e)},us=function(i){let e=[],t=(i=fs(i)).length,r=128,s=0,l=72;for(let c of i)c<128&&e.push(Ir(c));let n=e.length,u=n;for(n&&e.push("-");u<t;){let c=2147483647;for(let g of i)g>=r&&g<c&&(c=g);let p=u+1;c-r>ue((2147483647-s)/p)&&ke("overflow"),s+=(c-r)*p,r=c;for(let g of i)if(g<r&&++s>2147483647&&ke("overflow"),g==r){let d=s;for(let m=36;;m+=36){let y=m<=l?1:m>=l+26?26:m-l;if(d<y)break;let x=d-y,I=36-y;e.push(Ir(as(y+x%I,0))),d=ue(x/I)}e.push(Ir(as(d,0))),l=cs(s,p,u==n),s=0,++u}++s,++r}return e.join("")},Ee={version:"2.1.0",ucs2:{decode:fs,encode:i=>String.fromCodePoint(...i)},decode:ls,encode:us,toASCII:function(i){return os(i,function(e){return al.test(e)?"xn--"+us(e):e})},toUnicode:function(i){return os(i,function(e){return ol.test(e)?ls(e.slice(4).toLowerCase()):e})}};Ee.decode;Ee.encode;Ee.toASCII;Ee.toUnicode;Ee.ucs2;Ee.version});function fl(i,e){return Object.prototype.hasOwnProperty.call(i,e)}var cl,ft,hl,fe,ps=ie(()=>{C();S();A();cl=function(i,e,t,r){e=e||"&",t=t||"=";var s={};if(typeof i!="string"||i.length===0)return s;var l=/\+/g;i=i.split(e);var n=1e3;r&&typeof r.maxKeys=="number"&&(n=r.maxKeys);var u=i.length;n>0&&u>n&&(u=n);for(var c=0;c<u;++c){var p,g,d,m,y=i[c].replace(l,"%20"),x=y.indexOf(t);x>=0?(p=y.substr(0,x),g=y.substr(x+1)):(p=y,g=""),d=decodeURIComponent(p),m=decodeURIComponent(g),fl(s,d)?Array.isArray(s[d])?s[d].push(m):s[d]=[s[d],m]:s[d]=m}return s},ft=function(i){switch(typeof i){case"string":return i;case"boolean":return i?"true":"false";case"number":return isFinite(i)?i:"";default:return""}},hl=function(i,e,t,r){return e=e||"&",t=t||"=",i===null&&(i=void 0),typeof i=="object"?Object.keys(i).map(function(s){var l=encodeURIComponent(ft(s))+t;return Array.isArray(i[s])?i[s].map(function(n){return l+encodeURIComponent(ft(n))}).join(e):l+encodeURIComponent(ft(i[s]))}).join(e):r?encodeURIComponent(ft(r))+t+encodeURIComponent(ft(i)):""},fe={};fe.decode=fe.parse=cl,fe.encode=fe.stringify=hl;fe.decode;fe.encode;fe.parse;fe.stringify});function Rr(){throw new Error("setTimeout has not been defined")}function Br(){throw new Error("clearTimeout has not been defined")}function gs(i){if(ge===setTimeout)return setTimeout(i,0);if((ge===Rr||!ge)&&setTimeout)return ge=setTimeout,setTimeout(i,0);try{return ge(i,0)}catch{try{return ge.call(null,i,0)}catch{return ge.call(this||He,i,0)}}}function pl(){We&&Pe&&(We=!1,Pe.length?ye=Pe.concat(ye):zt=-1,ye.length&&vs())}function vs(){if(!We){var i=gs(pl);We=!0;for(var e=ye.length;e;){for(Pe=ye,ye=[];++zt<e;)Pe&&Pe[zt].run();zt=-1,e=ye.length}Pe=null,We=!1,function(t){if(ve===clearTimeout)return clearTimeout(t);if((ve===Br||!ve)&&clearTimeout)return ve=clearTimeout,clearTimeout(t);try{ve(t)}catch{try{return ve.call(null,t)}catch{return ve.call(this||He,t)}}}(i)}}function ds(i,e){(this||He).fun=i,(this||He).array=e}function me(){}var ms,ge,ve,He,J,Pe,ye,We,zt,H,ys=ie(()=>{C();S();A();He=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window,J=ms={};(function(){try{ge=typeof setTimeout=="function"?setTimeout:Rr}catch{ge=Rr}try{ve=typeof clearTimeout=="function"?clearTimeout:Br}catch{ve=Br}})();ye=[],We=!1,zt=-1;J.nextTick=function(i){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];ye.push(new ds(i,e)),ye.length!==1||We||gs(vs)},ds.prototype.run=function(){(this||He).fun.apply(null,(this||He).array)},J.title="browser",J.browser=!0,J.env={},J.argv=[],J.version="",J.versions={},J.on=me,J.addListener=me,J.once=me,J.off=me,J.removeListener=me,J.removeAllListeners=me,J.emit=me,J.prependListener=me,J.prependOnceListener=me,J.listeners=function(i){return[]},J.binding=function(i){throw new Error("process.binding is not supported")},J.cwd=function(){return"/"},J.chdir=function(i){throw new Error("process.chdir is not supported")},J.umask=function(){return 0};H=ms;H.addListener;H.argv;H.binding;H.browser;H.chdir;H.cwd;H.emit;H.env;H.listeners;H.nextTick;H.off;H.on;H.once;H.prependListener;H.prependOnceListener;H.removeAllListeners;H.removeListener;H.title;H.umask;H.version;H.versions});var _r={};tt(_r,{URL:()=>zl,Url:()=>Ml,default:()=>D,fileURLToPath:()=>As,format:()=>ql,parse:()=>Fl,pathToFileURL:()=>Ss,resolve:()=>Dl,resolveObject:()=>jl});function se(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function ct(i,e,t){if(i&&ce.isObject(i)&&i instanceof se)return i;var r=new se;return r.parse(i,e,t),r}function xl(){if(Es)return Lr;Es=!0;var i=H;function e(l){if(typeof l!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(l))}function t(l,n){for(var u="",c=0,p=-1,g=0,d,m=0;m<=l.length;++m){if(m<l.length)d=l.charCodeAt(m);else{if(d===47)break;d=47}if(d===47){if(!(p===m-1||g===1))if(p!==m-1&&g===2){if(u.length<2||c!==2||u.charCodeAt(u.length-1)!==46||u.charCodeAt(u.length-2)!==46){if(u.length>2){var y=u.lastIndexOf("/");if(y!==u.length-1){y===-1?(u="",c=0):(u=u.slice(0,y),c=u.length-1-u.lastIndexOf("/")),p=m,g=0;continue}}else if(u.length===2||u.length===1){u="",c=0,p=m,g=0;continue}}n&&(u.length>0?u+="/..":u="..",c=2)}else u.length>0?u+="/"+l.slice(p+1,m):u=l.slice(p+1,m),c=m-p-1;p=m,g=0}else d===46&&g!==-1?++g:g=-1}return u}function r(l,n){var u=n.dir||n.root,c=n.base||(n.name||"")+(n.ext||"");return u?u===n.root?u+c:u+l+c:c}var s={resolve:function(){for(var n="",u=!1,c,p=arguments.length-1;p>=-1&&!u;p--){var g;p>=0?g=arguments[p]:(c===void 0&&(c=i.cwd()),g=c),e(g),g.length!==0&&(n=g+"/"+n,u=g.charCodeAt(0)===47)}return n=t(n,!u),u?n.length>0?"/"+n:"/":n.length>0?n:"."},normalize:function(n){if(e(n),n.length===0)return".";var u=n.charCodeAt(0)===47,c=n.charCodeAt(n.length-1)===47;return n=t(n,!u),n.length===0&&!u&&(n="."),n.length>0&&c&&(n+="/"),u?"/"+n:n},isAbsolute:function(n){return e(n),n.length>0&&n.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var n,u=0;u<arguments.length;++u){var c=arguments[u];e(c),c.length>0&&(n===void 0?n=c:n+="/"+c)}return n===void 0?".":s.normalize(n)},relative:function(n,u){if(e(n),e(u),n===u||(n=s.resolve(n),u=s.resolve(u),n===u))return"";for(var c=1;c<n.length&&n.charCodeAt(c)===47;++c);for(var p=n.length,g=p-c,d=1;d<u.length&&u.charCodeAt(d)===47;++d);for(var m=u.length,y=m-d,x=g<y?g:y,I=-1,w=0;w<=x;++w){if(w===x){if(y>x){if(u.charCodeAt(d+w)===47)return u.slice(d+w+1);if(w===0)return u.slice(d+w)}else g>x&&(n.charCodeAt(c+w)===47?I=w:w===0&&(I=0));break}var L=n.charCodeAt(c+w),k=u.charCodeAt(d+w);if(L!==k)break;L===47&&(I=w)}var R="";for(w=c+I+1;w<=p;++w)(w===p||n.charCodeAt(w)===47)&&(R.length===0?R+="..":R+="/..");return R.length>0?R+u.slice(d+I):(d+=I,u.charCodeAt(d)===47&&++d,u.slice(d))},_makeLong:function(n){return n},dirname:function(n){if(e(n),n.length===0)return".";for(var u=n.charCodeAt(0),c=u===47,p=-1,g=!0,d=n.length-1;d>=1;--d)if(u=n.charCodeAt(d),u===47){if(!g){p=d;break}}else g=!1;return p===-1?c?"/":".":c&&p===1?"//":n.slice(0,p)},basename:function(n,u){if(u!==void 0&&typeof u!="string")throw new TypeError('"ext" argument must be a string');e(n);var c=0,p=-1,g=!0,d;if(u!==void 0&&u.length>0&&u.length<=n.length){if(u.length===n.length&&u===n)return"";var m=u.length-1,y=-1;for(d=n.length-1;d>=0;--d){var x=n.charCodeAt(d);if(x===47){if(!g){c=d+1;break}}else y===-1&&(g=!1,y=d+1),m>=0&&(x===u.charCodeAt(m)?--m===-1&&(p=d):(m=-1,p=y))}return c===p?p=y:p===-1&&(p=n.length),n.slice(c,p)}else{for(d=n.length-1;d>=0;--d)if(n.charCodeAt(d)===47){if(!g){c=d+1;break}}else p===-1&&(g=!1,p=d+1);return p===-1?"":n.slice(c,p)}},extname:function(n){e(n);for(var u=-1,c=0,p=-1,g=!0,d=0,m=n.length-1;m>=0;--m){var y=n.charCodeAt(m);if(y===47){if(!g){c=m+1;break}continue}p===-1&&(g=!1,p=m+1),y===46?u===-1?u=m:d!==1&&(d=1):u!==-1&&(d=-1)}return u===-1||p===-1||d===0||d===1&&u===p-1&&u===c+1?"":n.slice(u,p)},format:function(n){if(n===null||typeof n!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof n);return r("/",n)},parse:function(n){e(n);var u={root:"",dir:"",base:"",ext:"",name:""};if(n.length===0)return u;var c=n.charCodeAt(0),p=c===47,g;p?(u.root="/",g=1):g=0;for(var d=-1,m=0,y=-1,x=!0,I=n.length-1,w=0;I>=g;--I){if(c=n.charCodeAt(I),c===47){if(!x){m=I+1;break}continue}y===-1&&(x=!1,y=I+1),c===46?d===-1?d=I:w!==1&&(w=1):d!==-1&&(w=-1)}return d===-1||y===-1||w===0||w===1&&d===y-1&&d===m+1?y!==-1&&(m===0&&p?u.base=u.name=n.slice(1,y):u.base=u.name=n.slice(m,y)):(m===0&&p?(u.name=n.slice(1,d),u.base=n.slice(1,y)):(u.name=n.slice(m,d),u.base=n.slice(m,y)),u.ext=n.slice(d,y)),m>0?u.dir=n.slice(0,m-1):p&&(u.dir="/"),u},sep:"/",delimiter:":",win32:null,posix:null};return s.posix=s,Lr=s,Lr}function Pl(i){if(typeof i=="string")i=new URL(i);else if(!(i instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(i.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return Pr?Tl(i):_l(i)}function Tl(i){let e=i.hostname,t=i.pathname;for(let r=0;r<t.length;r++)if(t[r]==="%"){let s=t.codePointAt(r+2)||32;if(t[r+1]==="2"&&s===102||t[r+1]==="5"&&s===99)throw new Deno.errors.InvalidData("must not include encoded \\ or / characters")}if(t=t.replace(Rl,"\\"),t=decodeURIComponent(t),e!=="")return`\\\\${e}${t}`;{let r=t.codePointAt(1)|32,s=t[2];if(r<Sl||r>Il||s!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return t.slice(1)}}function _l(i){if(i.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let e=i.pathname;for(let t=0;t<e.length;t++)if(e[t]==="%"){let r=e.codePointAt(t+2)||32;if(e[t+1]==="2"&&r===102)throw new Deno.errors.InvalidData("must not include encoded / characters")}return decodeURIComponent(e)}function $l(i){let e=Cs.resolve(i),t=i.charCodeAt(i.length-1);(t===Al||Pr&&t===Cl)&&e[e.length-1]!==Cs.sep&&(e+="/");let r=new URL("file://");return e.includes("%")&&(e=e.replace(Bl,"%25")),!Pr&&e.includes("\\")&&(e=e.replace(Ol,"%5C")),e.includes(`
|
|
19
19
|
`)&&(e=e.replace(Ul,"%0A")),e.includes("\r")&&(e=e.replace(Ll,"%0D")),e.includes(" ")&&(e=e.replace(kl,"%09")),r.pathname=e,r}function As(i){if(typeof i=="string")i=new URL(i);else if(!(i instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(i.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return Tr?eu(i):tu(i)}function eu(i){let e=i.hostname,t=i.pathname;for(let r=0;r<t.length;r++)if(t[r]==="%"){let s=t.codePointAt(r+2)||32;if(t[r+1]==="2"&&s===102||t[r+1]==="5"&&s===99)throw new Deno.errors.InvalidData("must not include encoded \\ or / characters")}if(t=t.replace(Yl,"\\"),t=decodeURIComponent(t),e!=="")return`\\\\${e}${t}`;{let r=t.codePointAt(1)|32,s=t[2];if(r<Vl||r>Gl||s!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return t.slice(1)}}function tu(i){if(i.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let e=i.pathname;for(let t=0;t<e.length;t++)if(e[t]==="%"){let r=e.codePointAt(t+2)||32;if(e[t+1]==="2"&&r===102)throw new Deno.errors.InvalidData("must not include encoded / characters")}return decodeURIComponent(e)}function Ss(i){let e=Y.resolve(i),t=i.charCodeAt(i.length-1);(t===Hl||Tr&&t===Wl)&&e[e.length-1]!==Y.sep&&(e+="/");let r=new URL("file://");return e.includes("%")&&(e=e.replace(Jl,"%25")),!Tr&&e.includes("\\")&&(e=e.replace(Ql,"%5C")),e.includes(`
|
|
20
|
-
`)&&(e=e.replace(Kl,"%0A")),e.includes("\r")&&(e=e.replace(Xl,"%0D")),e.includes(" ")&&(e=e.replace(Zl,"%09")),r.pathname=e,r}var
|
|
21
|
-
`," "]),kr=["'"].concat(yl),ws=["%","/","?",";","#"].concat(kr),bs=["/","?","#"],xs=/^[+a-z0-9A-Z_-]{0,63}$/,wl=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,bl={javascript:!0,"javascript:":!0},Br={javascript:!0,"javascript:":!0},Ve={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Ur=fe;se.prototype.parse=function(i,e,t){if(!ce.isString(i))throw new TypeError("Parameter 'url' must be a string, not "+typeof i);var r=i.indexOf("?"),s=r!==-1&&r<i.indexOf("#")?"?":"#",l=i.split(s);l[0]=l[0].replace(/\\/g,"/");var n=i=l.join(s);if(n=n.trim(),!t&&i.split("#").length===1){var u=vl.exec(n);if(u)return this.path=n,this.href=n,this.pathname=u[1],u[2]?(this.search=u[2],this.query=e?Ur.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var c=ml.exec(n);if(c){var p=(c=c[0]).toLowerCase();this.protocol=p,n=n.substr(c.length)}if(t||c||n.match(/^\/\/[^@\/]+@[^@\/]+/)){var g=n.substr(0,2)==="//";!g||c&&Br[c]||(n=n.substr(2),this.slashes=!0)}if(!Br[c]&&(g||c&&!Ve[c])){for(var d,m,y=-1,x=0;x<bs.length;x++)(I=n.indexOf(bs[x]))!==-1&&(y===-1||I<y)&&(y=I);for((m=y===-1?n.lastIndexOf("@"):n.lastIndexOf("@",y))!==-1&&(d=n.slice(0,m),n=n.slice(m+1),this.auth=decodeURIComponent(d)),y=-1,x=0;x<ws.length;x++){var I;(I=n.indexOf(ws[x]))!==-1&&(y===-1||I<y)&&(y=I)}y===-1&&(y=n.length),this.host=n.slice(0,y),n=n.slice(y),this.parseHost(),this.hostname=this.hostname||"";var w=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!w)for(var L=this.hostname.split(/\./),k=(x=0,L.length);x<k;x++){var R=L[x];if(R&&!R.match(xs)){for(var D="",N=0,we=R.length;N<we;N++)R.charCodeAt(N)>127?D+="x":D+=R[N];if(!D.match(xs)){var ne=L.slice(0,x),Q=L.slice(x+1),Z=R.match(wl);Z&&(ne.push(Z[1]),Q.unshift(Z[2])),Q.length&&(n="/"+Q.join(".")+n),this.hostname=ne.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),w||(this.hostname=dl.toASCII(this.hostname));var oe=this.port?":"+this.port:"",ur=this.hostname||"";this.host=ur+oe,this.href+=this.host,w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),n[0]!=="/"&&(n="/"+n))}if(!bl[p])for(x=0,k=kr.length;x<k;x++){var Re=kr[x];if(n.indexOf(Re)!==-1){var Ne=encodeURIComponent(Re);Ne===Re&&(Ne=escape(Re)),n=n.split(Re).join(Ne)}}var Me=n.indexOf("#");Me!==-1&&(this.hash=n.substr(Me),n=n.slice(0,Me));var qe=n.indexOf("?");if(qe!==-1?(this.search=n.substr(qe),this.query=n.substr(qe+1),e&&(this.query=Ur.parse(this.query)),n=n.slice(0,qe)):e&&(this.search="",this.query={}),n&&(this.pathname=n),Ve[p]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){oe=this.pathname||"";var fr=this.search||"";this.path=oe+fr}return this.href=this.format(),this},se.prototype.format=function(){var i=this.auth||"";i&&(i=(i=encodeURIComponent(i)).replace(/%3A/i,":"),i+="@");var e=this.protocol||"",t=this.pathname||"",r=this.hash||"",s=!1,l="";this.host?s=i+this.host:this.hostname&&(s=i+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(s+=":"+this.port)),this.query&&ce.isObject(this.query)&&Object.keys(this.query).length&&(l=Ur.stringify(this.query));var n=this.search||l&&"?"+l||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||Ve[e])&&s!==!1?(s="//"+(s||""),t&&t.charAt(0)!=="/"&&(t="/"+t)):s||(s=""),r&&r.charAt(0)!=="#"&&(r="#"+r),n&&n.charAt(0)!=="?"&&(n="?"+n),e+s+(t=t.replace(/[?#]/g,function(u){return encodeURIComponent(u)}))+(n=n.replace("#","%23"))+r},se.prototype.resolve=function(i){return this.resolveObject(ct(i,!1,!0)).format()},se.prototype.resolveObject=function(i){if(ce.isString(i)){var e=new se;e.parse(i,!1,!0),i=e}for(var t=new se,r=Object.keys(this),s=0;s<r.length;s++){var l=r[s];t[l]=this[l]}if(t.hash=i.hash,i.href==="")return t.href=t.format(),t;if(i.slashes&&!i.protocol){for(var n=Object.keys(i),u=0;u<n.length;u++){var c=n[u];c!=="protocol"&&(t[c]=i[c])}return Ve[t.protocol]&&t.hostname&&!t.pathname&&(t.path=t.pathname="/"),t.href=t.format(),t}if(i.protocol&&i.protocol!==t.protocol){if(!Ve[i.protocol]){for(var p=Object.keys(i),g=0;g<p.length;g++){var d=p[g];t[d]=i[d]}return t.href=t.format(),t}if(t.protocol=i.protocol,i.host||Br[i.protocol])t.pathname=i.pathname;else{for(var m=(i.pathname||"").split("/");m.length&&!(i.host=m.shift()););i.host||(i.host=""),i.hostname||(i.hostname=""),m[0]!==""&&m.unshift(""),m.length<2&&m.unshift(""),t.pathname=m.join("/")}if(t.search=i.search,t.query=i.query,t.host=i.host||"",t.auth=i.auth,t.hostname=i.hostname||i.host,t.port=i.port,t.pathname||t.search){var y=t.pathname||"",x=t.search||"";t.path=y+x}return t.slashes=t.slashes||i.slashes,t.href=t.format(),t}var I=t.pathname&&t.pathname.charAt(0)==="/",w=i.host||i.pathname&&i.pathname.charAt(0)==="/",L=w||I||t.host&&i.pathname,k=L,R=t.pathname&&t.pathname.split("/")||[],D=(m=i.pathname&&i.pathname.split("/")||[],t.protocol&&!Ve[t.protocol]);if(D&&(t.hostname="",t.port=null,t.host&&(R[0]===""?R[0]=t.host:R.unshift(t.host)),t.host="",i.protocol&&(i.hostname=null,i.port=null,i.host&&(m[0]===""?m[0]=i.host:m.unshift(i.host)),i.host=null),L=L&&(m[0]===""||R[0]==="")),w)t.host=i.host||i.host===""?i.host:t.host,t.hostname=i.hostname||i.hostname===""?i.hostname:t.hostname,t.search=i.search,t.query=i.query,R=m;else if(m.length)R||(R=[]),R.pop(),R=R.concat(m),t.search=i.search,t.query=i.query;else if(!ce.isNullOrUndefined(i.search))return D&&(t.hostname=t.host=R.shift(),(Z=!!(t.host&&t.host.indexOf("@")>0)&&t.host.split("@"))&&(t.auth=Z.shift(),t.host=t.hostname=Z.shift())),t.search=i.search,t.query=i.query,ce.isNull(t.pathname)&&ce.isNull(t.search)||(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.href=t.format(),t;if(!R.length)return t.pathname=null,t.search?t.path="/"+t.search:t.path=null,t.href=t.format(),t;for(var N=R.slice(-1)[0],we=(t.host||i.host||R.length>1)&&(N==="."||N==="..")||N==="",ne=0,Q=R.length;Q>=0;Q--)(N=R[Q])==="."?R.splice(Q,1):N===".."?(R.splice(Q,1),ne++):ne&&(R.splice(Q,1),ne--);if(!L&&!k)for(;ne--;ne)R.unshift("..");!L||R[0]===""||R[0]&&R[0].charAt(0)==="/"||R.unshift(""),we&&R.join("/").substr(-1)!=="/"&&R.push("");var Z,oe=R[0]===""||R[0]&&R[0].charAt(0)==="/";return D&&(t.hostname=t.host=oe?"":R.length?R.shift():"",(Z=!!(t.host&&t.host.indexOf("@")>0)&&t.host.split("@"))&&(t.auth=Z.shift(),t.host=t.hostname=Z.shift())),(L=L||t.host&&R.length)&&!oe&&R.unshift(""),R.length?t.pathname=R.join("/"):(t.pathname=null,t.path=null),ce.isNull(t.pathname)&&ce.isNull(t.search)||(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.auth=i.auth||t.auth,t.slashes=t.slashes||i.slashes,t.href=t.format(),t},se.prototype.parseHost=function(){var i=this.host,e=gl.exec(i);e&&((e=e[0])!==":"&&(this.port=e.substr(1)),i=i.substr(0,i.length-e.length)),i&&(this.hostname=i)};q.Url;q.format;q.resolve;q.resolveObject;Lr={},Es=!1;Cs=xl(),El=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0;q.URL=typeof URL<"u"?URL:null;q.pathToFileURL=$l;q.fileURLToPath=Pl;q.Url;q.format;q.resolve;q.resolveObject;q.URL;Cl=92,Al=47,Sl=97,Il=122,Pr=El==="win32",Rl=/\//g,Ol=/%/g,Bl=/\\/g,Ul=/\n/g,Ll=/\r/g,kl=/\t/g;Nl=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0;q.URL=typeof URL<"u"?URL:null;q.pathToFileURL=Ss;q.fileURLToPath=As;Ml=q.Url,ql=q.format,Dl=q.resolve,jl=q.resolveObject,Fl=q.parse,zl=q.URL,Wl=92,Hl=47,Vl=97,Gl=122,Tr=Nl==="win32",Yl=/\//g,Jl=/%/g,Ql=/\\/g,Kl=/\n/g,Xl=/\r/g,Zl=/\t/g});var Rs=_((gh,Is)=>{C();S();A();var ru="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",iu=(i,e=21)=>(t=e)=>{let r="",s=t;for(;s--;)r+=i[Math.random()*i.length|0];return r},nu=(i=21)=>{let e="",t=i;for(;t--;)e+=ru[Math.random()*64|0];return e};Is.exports={nanoid:nu,customAlphabet:iu}});var Os={};tt(Os,{default:()=>su});var su,Bs=ie(()=>{C();S();A();su={}});var Mr=_((Ch,ks)=>{"use strict";C();S();A();var{SourceMapConsumer:Us,SourceMapGenerator:Ls}=Mt(),{existsSync:ou,readFileSync:au}=(Bs(),Oe(Os)),{dirname:Nr,join:lu}=(Ft(),Oe(jt));function uu(i){return O?O.from(i,"base64").toString():window.atob(i)}var ht=class{constructor(e,t){if(t.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,s=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Nr(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new Us(this.text)),this.consumerCache}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,s=/^data:application\/json;charset=utf-?8,/,l=/^data:application\/json,/;if(s.test(e)||l.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(t.test(e)||r.test(e))return uu(e.substr(RegExp.lastMatch.length));let n=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+n)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let r=e.lastIndexOf(t.pop()),s=e.indexOf("*/",r);r>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,s)))}loadFile(e){if(this.root=Nr(e),ou(e))return this.mapFile=e,au(e,"utf-8").toString().trim()}loadMap(e,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let r=t(e);if(r){let s=this.loadFile(r);if(!s)throw new Error("Unable to load previous source map: "+r.toString());return s}}else{if(t instanceof Us)return Ls.fromSourceMap(t).toString();if(t instanceof Ls)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return e&&(r=lu(Nr(e),r)),this.loadFile(r)}}}startWith(e,t){return e?e.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};ks.exports=ht;ht.default=ht});var pt=_((Rh,$s)=>{"use strict";C();S();A();var{SourceMapConsumer:fu,SourceMapGenerator:cu}=Mt(),{fileURLToPath:Ps,pathToFileURL:Wt}=($r(),Oe(_r)),{isAbsolute:jr,resolve:Fr}=(Ft(),Oe(jt)),{nanoid:hu}=Rs(),qr=wr(),Ts=_t(),pu=Mr(),Dr=Symbol("fromOffsetCache"),du=!!(fu&&cu),_s=!!(Fr&&jr),Ge=class{constructor(e,t={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!_s||/^\w+:\/\//.test(t.from)||jr(t.from)?this.file=t.from:this.file=Fr(t.from)),_s&&du){let r=new pu(this.css,t);if(r.text){this.map=r;let s=r.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s))}}this.file||(this.id="<input css "+hu(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,r,s={}){let l,n,u;if(t&&typeof t=="object"){let p=t,g=r;if(typeof p.offset=="number"){let d=this.fromOffset(p.offset);t=d.line,r=d.col}else t=p.line,r=p.column;if(typeof g.offset=="number"){let d=this.fromOffset(g.offset);n=d.line,u=d.col}else n=g.line,u=g.column}else if(!r){let p=this.fromOffset(t);t=p.line,r=p.col}let c=this.origin(t,r,n,u);return c?l=new Ts(e,c.endLine===void 0?c.line:{column:c.column,line:c.line},c.endLine===void 0?c.column:{column:c.endColumn,line:c.endLine},c.source,c.file,s.plugin):l=new Ts(e,n===void 0?t:{column:r,line:t},n===void 0?r:{column:u,line:n},this.css,this.file,s.plugin),l.input={column:r,endColumn:u,endLine:n,line:t,source:this.css},this.file&&(Wt&&(l.input.url=Wt(this.file).toString()),l.input.file=this.file),l}fromOffset(e){let t,r;if(this[Dr])r=this[Dr];else{let l=this.css.split(`
|
|
22
|
-
`);r=new Array(l.length);let n=0;for(let u=0,c=l.length;u<c;u++)r[u]=n,n+=l[u].length+1;this[Dr]=r}t=r[r.length-1];let s=0;if(e>=t)s=r.length-1;else{let l=r.length-2,n;for(;s<l;)if(n=s+(l-s>>1),e<r[n])l=n-1;else if(e>=r[n+1])s=n+1;else{s=n;break}}return{col:e-r[s]+1,line:s+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:Fr(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,r,s){if(!this.map)return!1;let l=this.map.consumer(),n=l.originalPositionFor({column:t,line:e});if(!n.source)return!1;let u;typeof r=="number"&&(u=l.originalPositionFor({column:s,line:r}));let c;jr(n.source)?c=Wt(n.source):c=new URL(n.source,this.map.consumer().sourceRoot||Wt(this.map.mapFile));let p={column:n.column,endColumn:u&&u.column,endLine:u&&u.line,line:n.line,url:c.toString()};if(c.protocol==="file:")if(Ps)p.file=Ps(c);else throw new Error("file: protocol is not available in this PostCSS build");let g=l.sourceContentFor(n.source);return g&&(p.source=g),p}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])this[t]!=null&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}};$s.exports=Ge;Ge.default=Ge;qr&&qr.registerInput&&qr.registerInput(Ge)});var Wr
|
|
20
|
+
`)&&(e=e.replace(Kl,"%0A")),e.includes("\r")&&(e=e.replace(Xl,"%0D")),e.includes(" ")&&(e=e.replace(Zl,"%09")),r.pathname=e,r}var D,dl,ce,ml,gl,vl,yl,kr,ws,bs,xs,wl,bl,Or,Ve,Ur,Lr,Es,Cs,El,Cl,Al,Sl,Il,Pr,Rl,Bl,Ol,Ul,Ll,kl,Nl,Ml,ql,Dl,jl,Fl,zl,Wl,Hl,Vl,Gl,Tr,Yl,Jl,Ql,Kl,Xl,Zl,$r=ie(()=>{C();S();A();hs();ps();ys();Dt();qt();D={},dl=Ee,ce={isString:function(i){return typeof i=="string"},isObject:function(i){return typeof i=="object"&&i!==null},isNull:function(i){return i===null},isNullOrUndefined:function(i){return i==null}};D.parse=ct,D.resolve=function(i,e){return ct(i,!1,!0).resolve(e)},D.resolveObject=function(i,e){return i?ct(i,!1,!0).resolveObject(e):e},D.format=function(i){return ce.isString(i)&&(i=ct(i)),i instanceof se?i.format():se.prototype.format.call(i)},D.Url=se;ml=/^([a-z0-9.+-]+:)/i,gl=/:[0-9]*$/,vl=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,yl=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",`
|
|
21
|
+
`," "]),kr=["'"].concat(yl),ws=["%","/","?",";","#"].concat(kr),bs=["/","?","#"],xs=/^[+a-z0-9A-Z_-]{0,63}$/,wl=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,bl={javascript:!0,"javascript:":!0},Or={javascript:!0,"javascript:":!0},Ve={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},Ur=fe;se.prototype.parse=function(i,e,t){if(!ce.isString(i))throw new TypeError("Parameter 'url' must be a string, not "+typeof i);var r=i.indexOf("?"),s=r!==-1&&r<i.indexOf("#")?"?":"#",l=i.split(s);l[0]=l[0].replace(/\\/g,"/");var n=i=l.join(s);if(n=n.trim(),!t&&i.split("#").length===1){var u=vl.exec(n);if(u)return this.path=n,this.href=n,this.pathname=u[1],u[2]?(this.search=u[2],this.query=e?Ur.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var c=ml.exec(n);if(c){var p=(c=c[0]).toLowerCase();this.protocol=p,n=n.substr(c.length)}if(t||c||n.match(/^\/\/[^@\/]+@[^@\/]+/)){var g=n.substr(0,2)==="//";!g||c&&Or[c]||(n=n.substr(2),this.slashes=!0)}if(!Or[c]&&(g||c&&!Ve[c])){for(var d,m,y=-1,x=0;x<bs.length;x++)(I=n.indexOf(bs[x]))!==-1&&(y===-1||I<y)&&(y=I);for((m=y===-1?n.lastIndexOf("@"):n.lastIndexOf("@",y))!==-1&&(d=n.slice(0,m),n=n.slice(m+1),this.auth=decodeURIComponent(d)),y=-1,x=0;x<ws.length;x++){var I;(I=n.indexOf(ws[x]))!==-1&&(y===-1||I<y)&&(y=I)}y===-1&&(y=n.length),this.host=n.slice(0,y),n=n.slice(y),this.parseHost(),this.hostname=this.hostname||"";var w=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!w)for(var L=this.hostname.split(/\./),k=(x=0,L.length);x<k;x++){var R=L[x];if(R&&!R.match(xs)){for(var j="",M=0,we=R.length;M<we;M++)R.charCodeAt(M)>127?j+="x":j+=R[M];if(!j.match(xs)){var ne=L.slice(0,x),Q=L.slice(x+1),Z=R.match(wl);Z&&(ne.push(Z[1]),Q.unshift(Z[2])),Q.length&&(n="/"+Q.join(".")+n),this.hostname=ne.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),w||(this.hostname=dl.toASCII(this.hostname));var oe=this.port?":"+this.port:"",ur=this.hostname||"";this.host=ur+oe,this.href+=this.host,w&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),n[0]!=="/"&&(n="/"+n))}if(!bl[p])for(x=0,k=kr.length;x<k;x++){var Re=kr[x];if(n.indexOf(Re)!==-1){var Ne=encodeURIComponent(Re);Ne===Re&&(Ne=escape(Re)),n=n.split(Re).join(Ne)}}var Me=n.indexOf("#");Me!==-1&&(this.hash=n.substr(Me),n=n.slice(0,Me));var qe=n.indexOf("?");if(qe!==-1?(this.search=n.substr(qe),this.query=n.substr(qe+1),e&&(this.query=Ur.parse(this.query)),n=n.slice(0,qe)):e&&(this.search="",this.query={}),n&&(this.pathname=n),Ve[p]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){oe=this.pathname||"";var fr=this.search||"";this.path=oe+fr}return this.href=this.format(),this},se.prototype.format=function(){var i=this.auth||"";i&&(i=(i=encodeURIComponent(i)).replace(/%3A/i,":"),i+="@");var e=this.protocol||"",t=this.pathname||"",r=this.hash||"",s=!1,l="";this.host?s=i+this.host:this.hostname&&(s=i+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(s+=":"+this.port)),this.query&&ce.isObject(this.query)&&Object.keys(this.query).length&&(l=Ur.stringify(this.query));var n=this.search||l&&"?"+l||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||Ve[e])&&s!==!1?(s="//"+(s||""),t&&t.charAt(0)!=="/"&&(t="/"+t)):s||(s=""),r&&r.charAt(0)!=="#"&&(r="#"+r),n&&n.charAt(0)!=="?"&&(n="?"+n),e+s+(t=t.replace(/[?#]/g,function(u){return encodeURIComponent(u)}))+(n=n.replace("#","%23"))+r},se.prototype.resolve=function(i){return this.resolveObject(ct(i,!1,!0)).format()},se.prototype.resolveObject=function(i){if(ce.isString(i)){var e=new se;e.parse(i,!1,!0),i=e}for(var t=new se,r=Object.keys(this),s=0;s<r.length;s++){var l=r[s];t[l]=this[l]}if(t.hash=i.hash,i.href==="")return t.href=t.format(),t;if(i.slashes&&!i.protocol){for(var n=Object.keys(i),u=0;u<n.length;u++){var c=n[u];c!=="protocol"&&(t[c]=i[c])}return Ve[t.protocol]&&t.hostname&&!t.pathname&&(t.path=t.pathname="/"),t.href=t.format(),t}if(i.protocol&&i.protocol!==t.protocol){if(!Ve[i.protocol]){for(var p=Object.keys(i),g=0;g<p.length;g++){var d=p[g];t[d]=i[d]}return t.href=t.format(),t}if(t.protocol=i.protocol,i.host||Or[i.protocol])t.pathname=i.pathname;else{for(var m=(i.pathname||"").split("/");m.length&&!(i.host=m.shift()););i.host||(i.host=""),i.hostname||(i.hostname=""),m[0]!==""&&m.unshift(""),m.length<2&&m.unshift(""),t.pathname=m.join("/")}if(t.search=i.search,t.query=i.query,t.host=i.host||"",t.auth=i.auth,t.hostname=i.hostname||i.host,t.port=i.port,t.pathname||t.search){var y=t.pathname||"",x=t.search||"";t.path=y+x}return t.slashes=t.slashes||i.slashes,t.href=t.format(),t}var I=t.pathname&&t.pathname.charAt(0)==="/",w=i.host||i.pathname&&i.pathname.charAt(0)==="/",L=w||I||t.host&&i.pathname,k=L,R=t.pathname&&t.pathname.split("/")||[],j=(m=i.pathname&&i.pathname.split("/")||[],t.protocol&&!Ve[t.protocol]);if(j&&(t.hostname="",t.port=null,t.host&&(R[0]===""?R[0]=t.host:R.unshift(t.host)),t.host="",i.protocol&&(i.hostname=null,i.port=null,i.host&&(m[0]===""?m[0]=i.host:m.unshift(i.host)),i.host=null),L=L&&(m[0]===""||R[0]==="")),w)t.host=i.host||i.host===""?i.host:t.host,t.hostname=i.hostname||i.hostname===""?i.hostname:t.hostname,t.search=i.search,t.query=i.query,R=m;else if(m.length)R||(R=[]),R.pop(),R=R.concat(m),t.search=i.search,t.query=i.query;else if(!ce.isNullOrUndefined(i.search))return j&&(t.hostname=t.host=R.shift(),(Z=!!(t.host&&t.host.indexOf("@")>0)&&t.host.split("@"))&&(t.auth=Z.shift(),t.host=t.hostname=Z.shift())),t.search=i.search,t.query=i.query,ce.isNull(t.pathname)&&ce.isNull(t.search)||(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.href=t.format(),t;if(!R.length)return t.pathname=null,t.search?t.path="/"+t.search:t.path=null,t.href=t.format(),t;for(var M=R.slice(-1)[0],we=(t.host||i.host||R.length>1)&&(M==="."||M==="..")||M==="",ne=0,Q=R.length;Q>=0;Q--)(M=R[Q])==="."?R.splice(Q,1):M===".."?(R.splice(Q,1),ne++):ne&&(R.splice(Q,1),ne--);if(!L&&!k)for(;ne--;ne)R.unshift("..");!L||R[0]===""||R[0]&&R[0].charAt(0)==="/"||R.unshift(""),we&&R.join("/").substr(-1)!=="/"&&R.push("");var Z,oe=R[0]===""||R[0]&&R[0].charAt(0)==="/";return j&&(t.hostname=t.host=oe?"":R.length?R.shift():"",(Z=!!(t.host&&t.host.indexOf("@")>0)&&t.host.split("@"))&&(t.auth=Z.shift(),t.host=t.hostname=Z.shift())),(L=L||t.host&&R.length)&&!oe&&R.unshift(""),R.length?t.pathname=R.join("/"):(t.pathname=null,t.path=null),ce.isNull(t.pathname)&&ce.isNull(t.search)||(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.auth=i.auth||t.auth,t.slashes=t.slashes||i.slashes,t.href=t.format(),t},se.prototype.parseHost=function(){var i=this.host,e=gl.exec(i);e&&((e=e[0])!==":"&&(this.port=e.substr(1)),i=i.substr(0,i.length-e.length)),i&&(this.hostname=i)};D.Url;D.format;D.resolve;D.resolveObject;Lr={},Es=!1;Cs=xl(),El=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0;D.URL=typeof URL<"u"?URL:null;D.pathToFileURL=$l;D.fileURLToPath=Pl;D.Url;D.format;D.resolve;D.resolveObject;D.URL;Cl=92,Al=47,Sl=97,Il=122,Pr=El==="win32",Rl=/\//g,Bl=/%/g,Ol=/\\/g,Ul=/\n/g,Ll=/\r/g,kl=/\t/g;Nl=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0;D.URL=typeof URL<"u"?URL:null;D.pathToFileURL=Ss;D.fileURLToPath=As;Ml=D.Url,ql=D.format,Dl=D.resolve,jl=D.resolveObject,Fl=D.parse,zl=D.URL,Wl=92,Hl=47,Vl=97,Gl=122,Tr=Nl==="win32",Yl=/\//g,Jl=/%/g,Ql=/\\/g,Kl=/\n/g,Xl=/\r/g,Zl=/\t/g});var Rs=$((gh,Is)=>{C();S();A();var ru="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",iu=(i,e=21)=>(t=e)=>{let r="",s=t|0;for(;s--;)r+=i[Math.random()*i.length|0];return r},nu=(i=21)=>{let e="",t=i|0;for(;t--;)e+=ru[Math.random()*64|0];return e};Is.exports={nanoid:nu,customAlphabet:iu}});var Bs={};tt(Bs,{default:()=>su});var su,Os=ie(()=>{C();S();A();su={}});var Mr=$((Ch,ks)=>{"use strict";C();S();A();var{SourceMapConsumer:Us,SourceMapGenerator:Ls}=Mt(),{existsSync:ou,readFileSync:au}=(Os(),Be(Bs)),{dirname:Nr,join:lu}=(Ft(),Be(jt));function uu(i){return B?B.from(i,"base64").toString():window.atob(i)}var ht=class{constructor(e,t){if(t.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,s=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Nr(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new Us(this.text)),this.consumerCache}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,s=/^data:application\/json;charset=utf-?8,/,l=/^data:application\/json,/;if(s.test(e)||l.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(t.test(e)||r.test(e))return uu(e.substr(RegExp.lastMatch.length));let n=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+n)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let r=e.lastIndexOf(t.pop()),s=e.indexOf("*/",r);r>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,s)))}loadFile(e){if(this.root=Nr(e),ou(e))return this.mapFile=e,au(e,"utf-8").toString().trim()}loadMap(e,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let r=t(e);if(r){let s=this.loadFile(r);if(!s)throw new Error("Unable to load previous source map: "+r.toString());return s}}else{if(t instanceof Us)return Ls.fromSourceMap(t).toString();if(t instanceof Ls)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return e&&(r=lu(Nr(e),r)),this.loadFile(r)}}}startWith(e,t){return e?e.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};ks.exports=ht;ht.default=ht});var pt=$((Rh,$s)=>{"use strict";C();S();A();var{SourceMapConsumer:fu,SourceMapGenerator:cu}=Mt(),{fileURLToPath:Ps,pathToFileURL:Wt}=($r(),Be(_r)),{isAbsolute:jr,resolve:Fr}=(Ft(),Be(jt)),{nanoid:hu}=Rs(),qr=wr(),Ts=_t(),pu=Mr(),Dr=Symbol("fromOffsetCache"),du=!!(fu&&cu),_s=!!(Fr&&jr),Ge=class{constructor(e,t={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!_s||/^\w+:\/\//.test(t.from)||jr(t.from)?this.file=t.from:this.file=Fr(t.from)),_s&&du){let r=new pu(this.css,t);if(r.text){this.map=r;let s=r.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s))}}this.file||(this.id="<input css "+hu(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,r,s={}){let l,n,u;if(t&&typeof t=="object"){let p=t,g=r;if(typeof p.offset=="number"){let d=this.fromOffset(p.offset);t=d.line,r=d.col}else t=p.line,r=p.column;if(typeof g.offset=="number"){let d=this.fromOffset(g.offset);n=d.line,u=d.col}else n=g.line,u=g.column}else if(!r){let p=this.fromOffset(t);t=p.line,r=p.col}let c=this.origin(t,r,n,u);return c?l=new Ts(e,c.endLine===void 0?c.line:{column:c.column,line:c.line},c.endLine===void 0?c.column:{column:c.endColumn,line:c.endLine},c.source,c.file,s.plugin):l=new Ts(e,n===void 0?t:{column:r,line:t},n===void 0?r:{column:u,line:n},this.css,this.file,s.plugin),l.input={column:r,endColumn:u,endLine:n,line:t,source:this.css},this.file&&(Wt&&(l.input.url=Wt(this.file).toString()),l.input.file=this.file),l}fromOffset(e){let t,r;if(this[Dr])r=this[Dr];else{let l=this.css.split(`
|
|
22
|
+
`);r=new Array(l.length);let n=0;for(let u=0,c=l.length;u<c;u++)r[u]=n,n+=l[u].length+1;this[Dr]=r}t=r[r.length-1];let s=0;if(e>=t)s=r.length-1;else{let l=r.length-2,n;for(;s<l;)if(n=s+(l-s>>1),e<r[n])l=n-1;else if(e>=r[n+1])s=n+1;else{s=n;break}}return{col:e-r[s]+1,line:s+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:Fr(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,r,s){if(!this.map)return!1;let l=this.map.consumer(),n=l.originalPositionFor({column:t,line:e});if(!n.source)return!1;let u;typeof r=="number"&&(u=l.originalPositionFor({column:s,line:r}));let c;jr(n.source)?c=Wt(n.source):c=new URL(n.source,this.map.consumer().sourceRoot||Wt(this.map.mapFile));let p={column:n.column,endColumn:u&&u.column,endLine:u&&u.line,line:n.line,url:c.toString()};if(c.protocol==="file:")if(Ps)p.file=Ps(c);else throw new Error("file: protocol is not available in this PostCSS build");let g=l.sourceContentFor(n.source);return g&&(p.source=g),p}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])this[t]!=null&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}};$s.exports=Ge;Ge.default=Ge;qr&&qr.registerInput&&qr.registerInput(Ge)});var Wr=$((Lh,Fs)=>{"use strict";C();S();A();var{SourceMapConsumer:Ms,SourceMapGenerator:Ht}=Mt(),{dirname:Vt,relative:qs,resolve:Ds,sep:js}=(Ft(),Be(jt)),{pathToFileURL:Ns}=($r(),Be(_r)),mu=pt(),gu=!!(Ms&&Ht),vu=!!(Vt&&Ds&&qs&&js),zr=class{constructor(e,t,r,s){this.stringify=e,this.mapOpts=r.map||{},this.root=t,this.opts=r,this.css=s,this.originalCSS=s,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";let t=`
|
|
23
23
|
`;this.css.includes(`\r
|
|
24
24
|
`)&&(t=`\r
|
|
25
25
|
`),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file)),r=e.root||Vt(e.file),s;this.mapOpts.sourcesContent===!1?(s=new Ms(e.text),s.sourcesContent&&(s.sourcesContent=null)):s=e.consumer(),this.map.applySourceMap(s,t,this.toUrl(this.path(r)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],e.type==="comment"&&e.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),vu&&gu&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=Ht.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new Ht({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>"});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new Ht({file:this.outputFile(),ignoreInvalidMapping:!0});let e=1,t=1,r="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""},l,n;this.stringify(this.root,(u,c,p)=>{if(this.css+=u,c&&p!=="end"&&(s.generated.line=e,s.generated.column=t-1,c.source&&c.source.start?(s.source=this.sourcePath(c),s.original.line=c.source.start.line,s.original.column=c.source.start.column-1,this.map.addMapping(s)):(s.source=r,s.original.line=1,s.original.column=0,this.map.addMapping(s))),l=u.match(/\n/g),l?(e+=l.length,n=u.lastIndexOf(`
|
|
26
|
-
`),t=u.length-n):t+=u.length,c&&p!=="start"){let g=c.parent||{raws:{}};(!(c.type==="decl"||c.type==="atrule"&&!c.nodes)||c!==g.last||g.raws.semicolon)&&(c.source&&c.source.end?(s.source=this.sourcePath(c),s.original.line=c.source.end.line,s.original.column=c.source.end.column-1,s.generated.line=e,s.generated.column=t-2,this.map.addMapping(s)):(s.source=r,s.original.line=1,s.original.column=0,s.generated.line=e,s.generated.column=t-1,this.map.addMapping(s)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(t=>t.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let r=this.opts.to?Vt(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(r=Vt(Ds(r,this.mapOpts.annotation)));let s=qs(r,e);return this.memoizedPaths.set(e,s),s}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new mu(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let s=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(s,t.source.input.css)}}});else if(this.css){let t=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(t,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return O?O.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(Ns){let r=Ns(e).toString();return this.memoizedFileURLs.set(e,r),r}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;js==="\\"&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}};Fs.exports=zr});var mt=_((_h,zs)=>{"use strict";C();S();A();var yu=at(),dt=class extends yu{constructor(e){super(e),this.type="comment"}};zs.exports=dt;dt.default=dt});var Ce=_((qh,Xs)=>{"use strict";C();S();A();var{isClean:Ws,my:Hs}=$t(),Vs=ut(),Gs=mt(),wu=at(),Ys,Hr,Vr,Js;function Qs(i){return i.map(e=>(e.nodes&&(e.nodes=Qs(e.nodes)),delete e.source,e))}function Ks(i){if(i[Ws]=!1,i.proxyOf.nodes)for(let e of i.proxyOf.nodes)Ks(e)}var ae=class i extends wu{append(...e){for(let t of e){let r=this.normalize(t,this.last);for(let s of r)this.proxyOf.nodes.push(s)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),r,s;for(;this.indexes[t]<this.proxyOf.nodes.length&&(r=this.indexes[t],s=e(this.proxyOf.nodes[r],r),s!==!1);)this.indexes[t]+=1;return delete this.indexes[t],s}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:e[t]?t==="each"||typeof t=="string"&&t.startsWith("walk")?(...r)=>e[t](...r.map(s=>typeof s=="function"?(l,n)=>s(l.toProxy(),n):s)):t==="every"||t==="some"?r=>e[t]((s,...l)=>r(s.toProxy(),...l)):t==="root"?()=>e.root().toProxy():t==="nodes"?e.nodes.map(r=>r.toProxy()):t==="first"||t==="last"?e[t].toProxy():e[t]:e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t==="name"||t==="params"||t==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r=this.index(e),s=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let n of s)this.proxyOf.nodes.splice(r+1,0,n);let l;for(let n in this.indexes)l=this.indexes[n],r<l&&(this.indexes[n]=l+s.length);return this.markDirty(),this}insertBefore(e,t){let r=this.index(e),s=r===0?"prepend":!1,l=this.normalize(t,this.proxyOf.nodes[r],s).reverse();r=this.index(e);for(let u of l)this.proxyOf.nodes.splice(r,0,u);let n;for(let u in this.indexes)n=this.indexes[u],r<=n&&(this.indexes[u]=n+l.length);return this.markDirty(),this}normalize(e,t){if(typeof e=="string")e=Qs(Ys(e).nodes);else if(typeof e>"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let s of e)s.parent&&s.parent.removeChild(s,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let s of e)s.parent&&s.parent.removeChild(s,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new Vs(e)]}else if(e.selector)e=[new Hr(e)];else if(e.name)e=[new Vr(e)];else if(e.text)e=[new Gs(e)];else throw new Error("Unknown node type in node creation");return e.map(s=>(s[Hs]||i.rebuild(s),s=s.proxyOf,s.parent&&s.parent.removeChild(s),s[Ws]&&Ks(s),typeof s.raws.before>"u"&&t&&typeof t.raws.before<"u"&&(s.raws.before=t.raws.before.replace(/\S/g,"")),s.parent=this.proxyOf,s))}prepend(...e){e=e.reverse();for(let t of e){let r=this.normalize(t,this.first,"prepend").reverse();for(let s of r)this.proxyOf.nodes.unshift(s);for(let s in this.indexes)this.indexes[s]=this.indexes[s]+r.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(s=>{t.props&&!t.props.includes(s.prop)||t.fast&&!s.value.includes(t.fast)||(s.value=s.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,r)=>{let s;try{s=e(t,r)}catch(l){throw t.addToError(l)}return s!==!1&&t.walk&&(s=t.walk(e)),s})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="atrule"&&e.test(r.name))return t(r,s)}):this.walk((r,s)=>{if(r.type==="atrule"&&r.name===e)return t(r,s)}):(t=e,this.walk((r,s)=>{if(r.type==="atrule")return t(r,s)}))}walkComments(e){return this.walk((t,r)=>{if(t.type==="comment")return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="decl"&&e.test(r.prop))return t(r,s)}):this.walk((r,s)=>{if(r.type==="decl"&&r.prop===e)return t(r,s)}):(t=e,this.walk((r,s)=>{if(r.type==="decl")return t(r,s)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="rule"&&e.test(r.selector))return t(r,s)}):this.walk((r,s)=>{if(r.type==="rule"&&r.selector===e)return t(r,s)}):(t=e,this.walk((r,s)=>{if(r.type==="rule")return t(r,s)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};ae.registerParse=i=>{Ys=i};ae.registerRule=i=>{Hr=i};ae.registerAtRule=i=>{Vr=i};ae.registerRoot=i=>{Js=i};Xs.exports=ae;ae.default=ae;ae.rebuild=i=>{i.type==="atrule"?Object.setPrototypeOf(i,Vr.prototype):i.type==="rule"?Object.setPrototypeOf(i,Hr.prototype):i.type==="decl"?Object.setPrototypeOf(i,Vs.prototype):i.type==="comment"?Object.setPrototypeOf(i,Gs.prototype):i.type==="root"&&Object.setPrototypeOf(i,Js.prototype),i[Hs]=!0,i.nodes&&i.nodes.forEach(e=>{ae.rebuild(e)})}});var Gt=_((zh,to)=>{"use strict";C();S();A();var bu=Ce(),Zs,eo,Te=class extends bu{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new Zs(new eo,this,e).stringify()}};Te.registerLazyResult=i=>{Zs=i};Te.registerProcessor=i=>{eo=i};to.exports=Te;Te.default=Te});var Gr=_((Gh,io)=>{"use strict";C();S();A();var ro={};io.exports=function(e){ro[e]||(ro[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var Yr=_((Kh,no)=>{"use strict";C();S();A();var gt=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in t)this[r]=t[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};no.exports=gt;gt.default=gt});var Yt=_((tp,so)=>{"use strict";C();S();A();var xu=Yr(),vt=class{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new xu(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};so.exports=vt;vt.default=vt});var lo=_((sp,ao)=>{"use strict";C();S();A();var Jt=/[\t\n\f\r "#'()/;[\\\]{}]/g,Qt=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Eu=/.[\r\n"'(/\\]/,oo=/[\da-f]/i;ao.exports=function(e,t={}){let r=e.css.valueOf(),s=t.ignoreErrors,l,n,u,c,p,g,d,m,y,x,I=r.length,w=0,L=[],k=[];function R(){return w}function D(Q){throw e.error("Unclosed "+Q,w)}function N(){return k.length===0&&w>=I}function we(Q){if(k.length)return k.pop();if(w>=I)return;let Z=Q?Q.ignoreUnclosed:!1;switch(l=r.charCodeAt(w),l){case 10:case 32:case 9:case 13:case 12:{n=w;do n+=1,l=r.charCodeAt(n);while(l===32||l===10||l===9||l===13||l===12);x=["space",r.slice(w,n)],w=n-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let oe=String.fromCharCode(l);x=[oe,oe,w];break}case 40:{if(m=L.length?L.pop()[1]:"",y=r.charCodeAt(w+1),m==="url"&&y!==39&&y!==34&&y!==32&&y!==10&&y!==9&&y!==12&&y!==13){n=w;do{if(g=!1,n=r.indexOf(")",n+1),n===-1)if(s||Z){n=w;break}else D("bracket");for(d=n;r.charCodeAt(d-1)===92;)d-=1,g=!g}while(g);x=["brackets",r.slice(w,n+1),w,n],w=n}else n=r.indexOf(")",w+1),c=r.slice(w,n+1),n===-1||Eu.test(c)?x=["(","(",w]:(x=["brackets",c,w,n],w=n);break}case 39:case 34:{u=l===39?"'":'"',n=w;do{if(g=!1,n=r.indexOf(u,n+1),n===-1)if(s||Z){n=w+1;break}else D("string");for(d=n;r.charCodeAt(d-1)===92;)d-=1,g=!g}while(g);x=["string",r.slice(w,n+1),w,n],w=n;break}case 64:{Jt.lastIndex=w+1,Jt.test(r),Jt.lastIndex===0?n=r.length-1:n=Jt.lastIndex-2,x=["at-word",r.slice(w,n+1),w,n],w=n;break}case 92:{for(n=w,p=!0;r.charCodeAt(n+1)===92;)n+=1,p=!p;if(l=r.charCodeAt(n+1),p&&l!==47&&l!==32&&l!==10&&l!==9&&l!==13&&l!==12&&(n+=1,oo.test(r.charAt(n)))){for(;oo.test(r.charAt(n+1));)n+=1;r.charCodeAt(n+1)===32&&(n+=1)}x=["word",r.slice(w,n+1),w,n],w=n;break}default:{l===47&&r.charCodeAt(w+1)===42?(n=r.indexOf("*/",w+2)+1,n===0&&(s||Z?n=r.length:D("comment")),x=["comment",r.slice(w,n+1),w,n],w=n):(Qt.lastIndex=w+1,Qt.test(r),Qt.lastIndex===0?n=r.length-1:n=Qt.lastIndex-2,x=["word",r.slice(w,n+1),w,n],L.push(x),w=n);break}}return w++,x}function ne(Q){k.push(Q)}return{back:ne,endOfFile:N,nextToken:we,position:R}}});var Kt=_((up,fo)=>{"use strict";C();S();A();var uo=Ce(),Ye=class extends uo{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};fo.exports=Ye;Ye.default=Ye;uo.registerAtRule(Ye)});var Je=_((pp,mo)=>{"use strict";C();S();A();var co=Ce(),ho,po,Ae=class extends co{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let s=super.normalize(e);if(t){if(r==="prepend")this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let l of s)l.raws.before=t.raws.before}return s}removeChild(e,t){let r=this.index(e);return!t&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new ho(new po,this,e).stringify()}};Ae.registerLazyResult=i=>{ho=i};Ae.registerProcessor=i=>{po=i};mo.exports=Ae;Ae.default=Ae;co.registerRoot(Ae)});var Jr=_((vp,go)=>{"use strict";C();S();A();var yt={comma(i){return yt.split(i,[","],!0)},space(i){let e=[" ",`
|
|
27
|
-
`," "];return yt.split(i,e)},split(i,e,t){let r=[],s="",l=!1,n=0,u=!1,c="",p=!1;for(let g of i)p?p=!1:g==="\\"?p=!0:u?g===c&&(u=!1):g==='"'||g==="'"?(u=!0,c=g):g==="("?n+=1:g===")"?n>0&&(n-=1):n===0&&e.includes(g)&&(l=!0),l?(s!==""&&r.push(s.trim()),s="",l=!1):s+=g;return(t||s!=="")&&r.push(s.trim()),r}};go.exports=yt;yt.default=yt});var Xt=_((xp,yo)=>{"use strict";C();S();A();var vo=Ce(),Cu=Jr(),Qe=class extends vo{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Cu.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};yo.exports=Qe;Qe.default=Qe;vo.registerRule(Qe)});var Eo=_((Sp,xo)=>{"use strict";C();S();A();var Au=ut(),Su=lo(),Iu=mt(),Ru=Kt(),Ou=Je(),wo=Xt(),bo={empty:!0,space:!0};function Bu(i){for(let e=i.length-1;e>=0;e--){let t=i[e],r=t[3]||t[2];if(r)return r}}var Qr=class{constructor(e){this.input=e,this.root=new Ou,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new Ru;t.name=e[1].slice(1),t.name===""&&this.unnamedAtrule(t,e),this.init(t,e[2]);let r,s,l,n=!1,u=!1,c=[],p=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r==="("||r==="["?p.push(r==="("?")":"]"):r==="{"&&p.length>0?p.push("}"):r===p[p.length-1]&&p.pop(),p.length===0)if(r===";"){t.source.end=this.getPosition(e[2]),t.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){u=!0;break}else if(r==="}"){if(c.length>0){for(l=c.length-1,s=c[l];s&&s[0]==="space";)s=c[--l];s&&(t.source.end=this.getPosition(s[3]||s[2]),t.source.end.offset++)}this.end(e);break}else c.push(e);else c.push(e);if(this.tokenizer.endOfFile()){n=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(t.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(t,"params",c),n&&(e=c[c.length-1],t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++,this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),u&&(t.nodes=[],this.current=t)}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let r=0,s;for(let l=t-1;l>=0&&(s=e[l],!(s[0]!=="space"&&(r+=1,r===2)));l--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}colon(e){let t=0,r,s,l;for(let[n,u]of e.entries()){if(r=u,s=r[0],s==="("&&(t+=1),s===")"&&(t-=1),t===0&&s===":")if(!l)this.doubleColon(r);else{if(l[0]==="word"&&l[1]==="progid")continue;return n}l=r}return!1}comment(e){let t=new Iu;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let s=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=s[2],t.raws.left=s[1],t.raws.right=s[3]}}createTokenizer(){this.tokenizer=Su(this.input)}decl(e,t){let r=new Au;this.init(r,e[0][2]);let s=e[e.length-1];for(s[0]===";"&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(s[3]||s[2]||Bu(e)),r.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let p=e[0][0];if(p===":"||p==="space"||p==="comment")break;r.prop+=e.shift()[1]}r.raws.between="";let l;for(;e.length;)if(l=e.shift(),l[0]===":"){r.raws.between+=l[1];break}else l[0]==="word"&&/\w/.test(l[1])&&this.unknownWord([l]),r.raws.between+=l[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let n=[],u;for(;e.length&&(u=e[0][0],!(u!=="space"&&u!=="comment"));)n.push(e.shift());this.precheckMissedSemicolon(e);for(let p=e.length-1;p>=0;p--){if(l=e[p],l[1].toLowerCase()==="!important"){r.important=!0;let g=this.stringFrom(e,p);g=this.spacesFromEnd(e)+g,g!==" !important"&&(r.raws.important=g);break}else if(l[1].toLowerCase()==="important"){let g=e.slice(0),d="";for(let m=p;m>0;m--){let y=g[m][0];if(d.trim().indexOf("!")===0&&y!=="space")break;d=g.pop()[1]+d}d.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=d,e=g)}if(l[0]!=="space"&&l[0]!=="comment")break}e.some(p=>p[0]!=="space"&&p[0]!=="comment")&&(r.raws.between+=n.map(p=>p[1]).join(""),n=[]),this.raw(r,"value",n.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new wo;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&t.type==="rule"&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let t=!1,r=null,s=!1,l=null,n=[],u=e[1].startsWith("--"),c=[],p=e;for(;p;){if(r=p[0],c.push(p),r==="("||r==="[")l||(l=p),n.push(r==="("?")":"]");else if(u&&s&&r==="{")l||(l=p),n.push("}");else if(n.length===0)if(r===";")if(s){this.decl(c,u);return}else break;else if(r==="{"){this.rule(c);return}else if(r==="}"){this.tokenizer.back(c.pop()),t=!0;break}else r===":"&&(s=!0);else r===n[n.length-1]&&(n.pop(),n.length===0&&(l=null));p=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),n.length>0&&this.unclosedBracket(l),t&&s){if(!u)for(;c.length&&(p=c[c.length-1][0],!(p!=="space"&&p!=="comment"));)this.tokenizer.back(c.pop());this.decl(c,u)}else this.unknownWord(c)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,s){let l,n,u=r.length,c="",p=!0,g,d;for(let m=0;m<u;m+=1)l=r[m],n=l[0],n==="space"&&m===u-1&&!s?p=!1:n==="comment"?(d=r[m-1]?r[m-1][0]:"empty",g=r[m+1]?r[m+1][0]:"empty",!bo[d]&&!bo[g]?c.slice(-1)===","?p=!1:c+=l[1]:p=!1):c+=l[1];if(!p){let m=r.reduce((y,x)=>y+x[1],"");e.raws[t]={raw:m,value:c}}e[t]=c}rule(e){e.pop();let t=new wo;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],!(t!=="space"&&t!=="comment"));)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],!(t!=="space"&&t!=="comment"));)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],t==="space");)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let s=t;s<e.length;s++)r+=e[s][1];return e.splice(t,e.length-t),r}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}};xo.exports=Qr});var er=_((Bp,Co)=>{"use strict";C();S();A();var Uu=Ce(),Lu=Eo(),ku=pt();function Zt(i,e){let t=new ku(i,e),r=new Lu(t);try{r.parse()}catch(s){throw s}return r.root}Co.exports=Zt;Zt.default=Zt;Uu.registerParse(Zt)});var Zr=_((Tp,Ro)=>{"use strict";C();S();A();var{isClean:he,my:Pu}=$t(),Tu=Wr(),_u=st(),$u=Ce(),Nu=Gt(),Pp=Gr(),Ao=Yt(),Mu=er(),qu=Je(),Du={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},ju={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},Fu={Once:!0,postcssPlugin:!0,prepare:!0},Ke=0;function wt(i){return typeof i=="object"&&typeof i.then=="function"}function Io(i){let e=!1,t=Du[i.type];return i.type==="decl"?e=i.prop.toLowerCase():i.type==="atrule"&&(e=i.name.toLowerCase()),e&&i.append?[t,t+"-"+e,Ke,t+"Exit",t+"Exit-"+e]:e?[t,t+"-"+e,t+"Exit",t+"Exit-"+e]:i.append?[t,Ke,t+"Exit"]:[t,t+"Exit"]}function So(i){let e;return i.type==="document"?e=["Document",Ke,"DocumentExit"]:i.type==="root"?e=["Root",Ke,"RootExit"]:e=Io(i),{eventIndex:0,events:e,iterator:0,node:i,visitorIndex:0,visitors:[]}}function Kr(i){return i[he]=!1,i.nodes&&i.nodes.forEach(e=>Kr(e)),i}var Xr={},Se=class i{constructor(e,t,r){this.stringified=!1,this.processed=!1;let s;if(typeof t=="object"&&t!==null&&(t.type==="root"||t.type==="document"))s=Kr(t);else if(t instanceof i||t instanceof Ao)s=Kr(t.root),t.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let l=Mu;r.syntax&&(l=r.syntax.parse),r.parser&&(l=r.parser),l.parse&&(l=l.parse);try{s=l(t,r)}catch(n){this.processed=!0,this.error=n}s&&!s[Pu]&&$u.rebuild(s)}this.result=new Ao(e,s,r),this.helpers={...Xr,postcss:Xr,result:this.result},this.plugins=this.processor.plugins.map(l=>typeof l=="object"&&l.prepare?{...l,...l.prepare(this.result)}:l)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=r.postcssPlugin,e.setMessage()):r.postcssVersion}catch(s){console&&console.error&&console.error(s)}return e}prepareVisitors(){this.listeners={};let e=(t,r,s)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([t,s])};for(let t of this.plugins)if(typeof t=="object")for(let r in t){if(!ju[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!Fu[r])if(typeof t[r]=="object")for(let s in t[r])s==="*"?e(t,r,t[r][s]):e(t,r+"-"+s.toLowerCase(),t[r][s]);else typeof t[r]=="function"&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(wt(r))try{await r}catch(s){throw this.handleError(s)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[he];){e[he]=!0;let t=[So(e)];for(;t.length>0;){let r=this.visitTick(t);if(wt(r))try{await r}catch(s){let l=t[t.length-1].node;throw this.handleError(s,l)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let s=e.nodes.map(l=>r(l,this.helpers));await Promise.all(s)}else await r(e,this.helpers)}catch(s){throw this.handleError(s)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let t=this.result.root.nodes.map(r=>e.Once(r,this.helpers));return wt(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=_u;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let s=new Tu(t,this.result.root,this.result.opts).generate();return this.result.css=s[0],this.result.map=s[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let t=this.runOnRoot(e);if(wt(t))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[he];)e[he]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,s]of e){this.result.lastPlugin=r;let l;try{l=s(t,this.helpers)}catch(n){throw this.handleError(n,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent)return!0;if(wt(l))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:s}=t;if(r.type!=="root"&&r.type!=="document"&&!r.parent){e.pop();return}if(s.length>0&&t.visitorIndex<s.length){let[n,u]=s[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===s.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=n;try{return u(r.toProxy(),this.helpers)}catch(c){throw this.handleError(c,r)}}if(t.iterator!==0){let n=t.iterator,u;for(;u=r.nodes[r.indexes[n]];)if(r.indexes[n]+=1,!u[he]){u[he]=!0,e.push(So(u));return}t.iterator=0,delete r.indexes[n]}let l=t.events;for(;t.eventIndex<l.length;){let n=l[t.eventIndex];if(t.eventIndex+=1,n===Ke){r.nodes&&r.nodes.length&&(r[he]=!0,t.iterator=r.getIterator());return}else if(this.listeners[n]){t.visitors=this.listeners[n];return}}e.pop()}walkSync(e){e[he]=!0;let t=Io(e);for(let r of t)if(r===Ke)e.nodes&&e.each(s=>{s[he]||this.walkSync(s)});else{let s=this.listeners[r];if(s&&this.visitSync(s,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};Se.registerPostcss=i=>{Xr=i};Ro.exports=Se;Se.default=Se;qu.registerLazyResult(Se);Nu.registerLazyResult(Se)});var Bo=_((qp,Oo)=>{"use strict";C();S();A();var zu=Wr(),Wu=st(),Mp=Gr(),Hu=er(),Vu=Yt(),bt=class{constructor(e,t,r){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let s,l=Wu;this.result=new Vu(this._processor,s,this._opts),this.result.css=t;let n=this;Object.defineProperty(this.result,"root",{get(){return n.root}});let u=new zu(l,s,this._opts,t);if(u.isMap()){let[c,p]=u.generate();c&&(this.result.css=c),p&&(this.result.map=p)}else u.clearAnnotation(),this.result.css=u.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=Hu;try{e=t(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}};Oo.exports=bt;bt.default=bt});var Lo=_((zp,Uo)=>{"use strict";C();S();A();var Gu=Bo(),Yu=Zr(),Ju=Gt(),Qu=Je(),_e=class{constructor(e=[]){this.version="8.4.39",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let r of e)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)t.push(r);else if(typeof r=="function")t.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return t}process(e,t={}){return!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax?new Gu(this,e,t):new Yu(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};Uo.exports=_e;_e.default=_e;Qu.registerProcessor(_e);Ju.registerProcessor(_e)});var Po=_((Gp,ko)=>{"use strict";C();S();A();var Ku=ut(),Xu=Mr(),Zu=mt(),ef=Kt(),tf=pt(),rf=Je(),nf=Xt();function xt(i,e){if(Array.isArray(i))return i.map(s=>xt(s));let{inputs:t,...r}=i;if(t){e=[];for(let s of t){let l={...s,__proto__:tf.prototype};l.map&&(l.map={...l.map,__proto__:Xu.prototype}),e.push(l)}}if(r.nodes&&(r.nodes=i.nodes.map(s=>xt(s,e))),r.source){let{inputId:s,...l}=r.source;r.source=l,s!=null&&(r.source.input=e[s])}if(r.type==="root")return new rf(r);if(r.type==="decl")return new Ku(r);if(r.type==="rule")return new nf(r);if(r.type==="comment")return new Zu(r);if(r.type==="atrule")return new ef(r);throw new Error("Unknown node type: "+i.type)}ko.exports=xt;xt.default=xt});var jo=_((Kp,Do)=>{"use strict";C();S();A();var sf=_t(),To=ut(),of=Zr(),af=Ce(),ei=Lo(),lf=st(),uf=Po(),_o=Gt(),ff=Yr(),$o=mt(),No=Kt(),cf=Yt(),hf=pt(),pf=er(),df=Jr(),Mo=Xt(),qo=Je(),mf=at();function $(...i){return i.length===1&&Array.isArray(i[0])&&(i=i[0]),new ei(i)}$.plugin=function(e,t){let r=!1;function s(...n){console&&console.warn&&!r&&(r=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
|
|
28
|
-
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),
|
|
29
|
-
https://www.w3ctech.com/topic/2226`));let u=t(...n);return u.postcssPlugin=e,u.postcssVersion=new ei().version,u}let l;return Object.defineProperty(s,"postcss",{get(){return l||(l=s()),l}}),s.process=function(n,u,c){return $([s(c)]).process(n,u)},s};$.stringify=lf;$.parse=pf;$.fromJSON=uf;$.list=df;$.comment=i=>new $o(i);$.atRule=i=>new No(i);$.decl=i=>new To(i);$.rule=i=>new Mo(i);$.root=i=>new qo(i);$.document=i=>new _o(i);$.CssSyntaxError=sf;$.Declaration=To;$.Container=af;$.Processor=ei;$.Document=_o;$.Comment=$o;$.Warning=ff;$.AtRule=No;$.Result=cf;$.Input=hf;$.Rule=Mo;$.Root=qo;$.Node=mf;of.registerPostcss($);Do.exports=$;$.default=$});var zo=_((Od,Fo)=>{C();S();A();var ri=40,ii=41,tr=39,ni=34,si=92,Xe=47,oi=44,ai=58,rr=42,gf=117,vf=85,yf=43,wf=/^[a-f0-9?-]+$/i;Fo.exports=function(i){for(var e=[],t=i,r,s,l,n,u,c,p,g,d=0,m=t.charCodeAt(d),y=t.length,x=[{nodes:e}],I=0,w,L="",k="",R="";d<y;)if(m<=32){r=d;do r+=1,m=t.charCodeAt(r);while(m<=32);n=t.slice(d,r),l=e[e.length-1],m===ii&&I?R=n:l&&l.type==="div"?(l.after=n,l.sourceEndIndex+=n.length):m===oi||m===ai||m===Xe&&t.charCodeAt(r+1)!==rr&&(!w||w&&w.type==="function"&&w.value!=="calc")?k=n:e.push({type:"space",sourceIndex:d,sourceEndIndex:r,value:n}),d=r}else if(m===tr||m===ni){r=d,s=m===tr?"'":'"',n={type:"string",sourceIndex:d,quote:s};do if(u=!1,r=t.indexOf(s,r+1),~r)for(c=r;t.charCodeAt(c-1)===si;)c-=1,u=!u;else t+=s,r=t.length-1,n.unclosed=!0;while(u);n.value=t.slice(d+1,r),n.sourceEndIndex=n.unclosed?r:r+1,e.push(n),d=r+1,m=t.charCodeAt(d)}else if(m===Xe&&t.charCodeAt(d+1)===rr)r=t.indexOf("*/",d),n={type:"comment",sourceIndex:d,sourceEndIndex:r+2},r===-1&&(n.unclosed=!0,r=t.length,n.sourceEndIndex=r),n.value=t.slice(d+2,r),e.push(n),d=r+2,m=t.charCodeAt(d);else if((m===Xe||m===rr)&&w&&w.type==="function"&&w.value==="calc")n=t[d],e.push({type:"word",sourceIndex:d-k.length,sourceEndIndex:d+n.length,value:n}),d+=1,m=t.charCodeAt(d);else if(m===Xe||m===oi||m===ai)n=t[d],e.push({type:"div",sourceIndex:d-k.length,sourceEndIndex:d+n.length,value:n,before:k,after:""}),k="",d+=1,m=t.charCodeAt(d);else if(ri===m){r=d;do r+=1,m=t.charCodeAt(r);while(m<=32);if(g=d,n={type:"function",sourceIndex:d-L.length,value:L,before:t.slice(g+1,r)},d=r,L==="url"&&m!==tr&&m!==ni){r-=1;do if(u=!1,r=t.indexOf(")",r+1),~r)for(c=r;t.charCodeAt(c-1)===si;)c-=1,u=!u;else t+=")",r=t.length-1,n.unclosed=!0;while(u);p=r;do p-=1,m=t.charCodeAt(p);while(m<=32);g<p?(d!==p+1?n.nodes=[{type:"word",sourceIndex:d,sourceEndIndex:p+1,value:t.slice(d,p+1)}]:n.nodes=[],n.unclosed&&p+1!==r?(n.after="",n.nodes.push({type:"space",sourceIndex:p+1,sourceEndIndex:r,value:t.slice(p+1,r)})):(n.after=t.slice(p+1,r),n.sourceEndIndex=r)):(n.after="",n.nodes=[]),d=r+1,n.sourceEndIndex=n.unclosed?r:d,m=t.charCodeAt(d),e.push(n)}else I+=1,n.after="",n.sourceEndIndex=d+1,e.push(n),x.push(n),e=n.nodes=[],w=n;L=""}else if(ii===m&&I)d+=1,m=t.charCodeAt(d),w.after=R,w.sourceEndIndex+=R.length,R="",I-=1,x[x.length-1].sourceEndIndex=d,x.pop(),w=x[I],e=w.nodes;else{r=d;do m===si&&(r+=1),r+=1,m=t.charCodeAt(r);while(r<y&&!(m<=32||m===tr||m===ni||m===oi||m===ai||m===Xe||m===ri||m===rr&&w&&w.type==="function"&&w.value==="calc"||m===Xe&&w.type==="function"&&w.value==="calc"||m===ii&&I));n=t.slice(d,r),ri===m?L=n:(gf===n.charCodeAt(0)||vf===n.charCodeAt(0))&&yf===n.charCodeAt(1)&&wf.test(n.slice(2))?e.push({type:"unicode-range",sourceIndex:d,sourceEndIndex:r,value:n}):e.push({type:"word",sourceIndex:d,sourceEndIndex:r,value:n}),d=r}for(d=x.length-1;d;d-=1)x[d].unclosed=!0,x[d].sourceEndIndex=t.length;return x[0].nodes}});var Ho=_((kd,Wo)=>{C();S();A();Wo.exports=function i(e,t,r){var s,l,n,u;for(s=0,l=e.length;s<l;s+=1)n=e[s],r||(u=t(n,s,e)),u!==!1&&n.type==="function"&&Array.isArray(n.nodes)&&i(n.nodes,t,r),r&&t(n,s,e)}});var Jo=_(($d,Yo)=>{C();S();A();function Vo(i,e){var t=i.type,r=i.value,s,l;return e&&(l=e(i))!==void 0?l:t==="word"||t==="space"?r:t==="string"?(s=i.quote||"",s+r+(i.unclosed?"":s)):t==="comment"?"/*"+r+(i.unclosed?"":"*/"):t==="div"?(i.before||"")+r+(i.after||""):Array.isArray(i.nodes)?(s=Go(i.nodes,e),t!=="function"?s:r+"("+(i.before||"")+s+(i.after||"")+(i.unclosed?"":")")):r}function Go(i,e){var t,r;if(Array.isArray(i)){for(t="",r=i.length-1;~r;r-=1)t=Vo(i[r],e)+t;return t}return Vo(i,e)}Yo.exports=Go});var Ko=_((Dd,Qo)=>{C();S();A();var ir=45,nr=43,li=46,bf=101,xf=69;function Ef(i){var e=i.charCodeAt(0),t;if(e===nr||e===ir){if(t=i.charCodeAt(1),t>=48&&t<=57)return!0;var r=i.charCodeAt(2);return t===li&&r>=48&&r<=57}return e===li?(t=i.charCodeAt(1),t>=48&&t<=57):e>=48&&e<=57}Qo.exports=function(i){var e=0,t=i.length,r,s,l;if(t===0||!Ef(i))return!1;for(r=i.charCodeAt(e),(r===nr||r===ir)&&e++;e<t&&(r=i.charCodeAt(e),!(r<48||r>57));)e+=1;if(r=i.charCodeAt(e),s=i.charCodeAt(e+1),r===li&&s>=48&&s<=57)for(e+=2;e<t&&(r=i.charCodeAt(e),!(r<48||r>57));)e+=1;if(r=i.charCodeAt(e),s=i.charCodeAt(e+1),l=i.charCodeAt(e+2),(r===bf||r===xf)&&(s>=48&&s<=57||(s===nr||s===ir)&&l>=48&&l<=57))for(e+=s===nr||s===ir?3:2;e<t&&(r=i.charCodeAt(e),!(r<48||r>57));)e+=1;return{number:i.slice(0,e),unit:i.slice(e)}}});var ta=_((Wd,ea)=>{C();S();A();var Cf=zo(),Xo=Ho(),Zo=Jo();function Ie(i){return this instanceof Ie?(this.nodes=Cf(i),this):new Ie(i)}Ie.prototype.toString=function(){return Array.isArray(this.nodes)?Zo(this.nodes):""};Ie.prototype.walk=function(i,e){return Xo(this.nodes,i,e),this};Ie.unit=Ko();Ie.walk=Xo;Ie.stringify=Zo;ea.exports=Ie});var ca=_((pi,di)=>{C();S();A();(function(i,e){typeof pi=="object"&&typeof di<"u"?di.exports=function(t,r,s,l,n){for(r=r.split?r.split("."):r,l=0;l<r.length;l++)t=t?t[r[l]]:n;return t===n?s:t}:typeof define=="function"&&define.amd?define(function(){return function(t,r,s,l,n){for(r=r.split?r.split("."):r,l=0;l<r.length;l++)t=t?t[r[l]]:n;return t===n?s:t}}):i.dlv=function(t,r,s,l,n){for(r=r.split?r.split("."):r,l=0;l<r.length;l++)t=t?t[r[l]]:n;return t===n?s:t}})(pi)});var _f={};tt(_f,{preset:()=>ga,tokencss:()=>ma});C();S();A();C();S();A();C();S();A();var F=dr(jo(),1);var td=F.default.stringify,rd=F.default.fromJSON,id=F.default.plugin,ti=F.default.parse,nd=F.default.list,sd=F.default.document,od=F.default.comment,ad=F.default.atRule,ld=F.default.rule,ud=F.default.decl,fd=F.default.root,cd=F.default.CssSyntaxError,hd=F.default.Declaration,pd=F.default.Container,dd=F.default.Processor,md=F.default.Document,gd=F.default.Comment,vd=F.default.Warning,yd=F.default.AtRule,wd=F.default.Result,bd=F.default.Input,xd=F.default.Rule,Ed=F.default.Root,Cd=F.default.Node;var pa=dr(ta(),1);C();S();A();C();S();A();var Af={},ui="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";for(Et=0;Et<ui.length;Et++)Af[ui.charCodeAt(Et)]=Et;var Et;function ra(i){for(var e=0,t=0,r=0,s=0,l="",n=0;n<i.length;n++){var u=i[n];if(n>0&&(l+=";"),u.length!==0){for(var c=0,p=[],g=0,d=u;g<d.length;g++){var m=d[g],y=Ct(m[0]-c);c=m[0],m.length>1&&(y+=Ct(m[1]-e)+Ct(m[2]-t)+Ct(m[3]-r),e=m[1],t=m[2],r=m[3]),m.length===5&&(y+=Ct(m[4]-s),s=m[4]),p.push(y)}l+=p.join(",")}}return l}function Ct(i){var e="";i=i<0?-i<<1|1:i<<1;do{var t=i&31;i>>>=5,i>0&&(t|=32),e+=ui[t]}while(i>0);return e}var sr=function i(e){this.bits=e instanceof i?e.bits.slice():[]};sr.prototype.add=function(e){this.bits[e>>5]|=1<<(e&31)};sr.prototype.has=function(e){return!!(this.bits[e>>5]&1<<(e&31))};var X=function(e,t,r){this.start=e,this.end=t,this.original=r,this.intro="",this.outro="",this.content=r,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})};X.prototype.appendLeft=function(e){this.outro+=e};X.prototype.appendRight=function(e){this.intro=this.intro+e};X.prototype.clone=function(){var e=new X(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e};X.prototype.contains=function(e){return this.start<e&&e<this.end};X.prototype.eachNext=function(e){for(var t=this;t;)e(t),t=t.next};X.prototype.eachPrevious=function(e){for(var t=this;t;)e(t),t=t.previous};X.prototype.edit=function(e,t,r){return this.content=e,r||(this.intro="",this.outro=""),this.storeName=t,this.edited=!0,this};X.prototype.prependLeft=function(e){this.outro=e+this.outro};X.prototype.prependRight=function(e){this.intro=e+this.intro};X.prototype.split=function(e){var t=e-this.start,r=this.original.slice(0,t),s=this.original.slice(t);this.original=r;var l=new X(e,this.end,s);return l.outro=this.outro,this.outro="",this.end=e,this.edited?(l.edit("",!1),this.content=""):this.content=r,l.next=this.next,l.next&&(l.next.previous=l),l.previous=this,this.next=l,l};X.prototype.toString=function(){return this.intro+this.content+this.outro};X.prototype.trimEnd=function(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;var t=this.content.replace(e,"");if(t.length)return t!==this.content&&this.split(this.start+t.length).edit("",void 0,!0),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0};X.prototype.trimStart=function(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;var t=this.content.replace(e,"");if(t.length)return t!==this.content&&(this.split(this.end-t.length),this.edit("",void 0,!0)),!0;if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0};var fi=function(){throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")};typeof window<"u"&&typeof window.btoa=="function"?fi=function(i){return window.btoa(unescape(encodeURIComponent(i)))}:typeof O=="function"&&(fi=function(i){return O.from(i,"utf-8").toString("base64")});var or=function(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=ra(e.mappings)};or.prototype.toString=function(){return JSON.stringify(this)};or.prototype.toUrl=function(){return"data:application/json;charset=utf-8;base64,"+fi(this.toString())};function Sf(i){var e=i.split(`
|
|
26
|
+
`),t=u.length-n):t+=u.length,c&&p!=="start"){let g=c.parent||{raws:{}};(!(c.type==="decl"||c.type==="atrule"&&!c.nodes)||c!==g.last||g.raws.semicolon)&&(c.source&&c.source.end?(s.source=this.sourcePath(c),s.original.line=c.source.end.line,s.original.column=c.source.end.column-1,s.generated.line=e,s.generated.column=t-2,this.map.addMapping(s)):(s.source=r,s.original.line=1,s.original.column=0,s.generated.line=e,s.generated.column=t-1,this.map.addMapping(s)))}})}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(t=>t.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let r=this.opts.to?Vt(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(r=Vt(Ds(r,this.mapOpts.annotation)));let s=qs(r,e);return this.memoizedPaths.set(e,s),s}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new mu(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let r=t.source.input.from;if(r&&!e[r]){e[r]=!0;let s=this.usesFileUrls?this.toFileUrl(r):this.toUrl(this.path(r));this.map.setSourceContent(s,t.source.input.css)}}});else if(this.css){let t=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(t,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return B?B.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(Ns){let r=Ns(e).toString();return this.memoizedFileURLs.set(e,r),r}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;js==="\\"&&(e=e.replace(/\\/g,"/"));let r=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,r),r}};Fs.exports=zr});var mt=$((_h,zs)=>{"use strict";C();S();A();var yu=at(),dt=class extends yu{constructor(e){super(e),this.type="comment"}};zs.exports=dt;dt.default=dt});var Ce=$((qh,Xs)=>{"use strict";C();S();A();var{isClean:Ws,my:Hs}=$t(),Vs=ut(),Gs=mt(),wu=at(),Ys,Hr,Vr,Js;function Qs(i){return i.map(e=>(e.nodes&&(e.nodes=Qs(e.nodes)),delete e.source,e))}function Ks(i){if(i[Ws]=!1,i.proxyOf.nodes)for(let e of i.proxyOf.nodes)Ks(e)}var ae=class i extends wu{append(...e){for(let t of e){let r=this.normalize(t,this.last);for(let s of r)this.proxyOf.nodes.push(s)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),r,s;for(;this.indexes[t]<this.proxyOf.nodes.length&&(r=this.indexes[t],s=e(this.proxyOf.nodes[r],r),s!==!1);)this.indexes[t]+=1;return delete this.indexes[t],s}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:e[t]?t==="each"||typeof t=="string"&&t.startsWith("walk")?(...r)=>e[t](...r.map(s=>typeof s=="function"?(l,n)=>s(l.toProxy(),n):s)):t==="every"||t==="some"?r=>e[t]((s,...l)=>r(s.toProxy(),...l)):t==="root"?()=>e.root().toProxy():t==="nodes"?e.nodes.map(r=>r.toProxy()):t==="first"||t==="last"?e[t].toProxy():e[t]:e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t==="name"||t==="params"||t==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r=this.index(e),s=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let n of s)this.proxyOf.nodes.splice(r+1,0,n);let l;for(let n in this.indexes)l=this.indexes[n],r<l&&(this.indexes[n]=l+s.length);return this.markDirty(),this}insertBefore(e,t){let r=this.index(e),s=r===0?"prepend":!1,l=this.normalize(t,this.proxyOf.nodes[r],s).reverse();r=this.index(e);for(let u of l)this.proxyOf.nodes.splice(r,0,u);let n;for(let u in this.indexes)n=this.indexes[u],r<=n&&(this.indexes[u]=n+l.length);return this.markDirty(),this}normalize(e,t){if(typeof e=="string")e=Qs(Ys(e).nodes);else if(typeof e>"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let s of e)s.parent&&s.parent.removeChild(s,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let s of e)s.parent&&s.parent.removeChild(s,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new Vs(e)]}else if(e.selector)e=[new Hr(e)];else if(e.name)e=[new Vr(e)];else if(e.text)e=[new Gs(e)];else throw new Error("Unknown node type in node creation");return e.map(s=>(s[Hs]||i.rebuild(s),s=s.proxyOf,s.parent&&s.parent.removeChild(s),s[Ws]&&Ks(s),typeof s.raws.before>"u"&&t&&typeof t.raws.before<"u"&&(s.raws.before=t.raws.before.replace(/\S/g,"")),s.parent=this.proxyOf,s))}prepend(...e){e=e.reverse();for(let t of e){let r=this.normalize(t,this.first,"prepend").reverse();for(let s of r)this.proxyOf.nodes.unshift(s);for(let s in this.indexes)this.indexes[s]=this.indexes[s]+r.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(s=>{t.props&&!t.props.includes(s.prop)||t.fast&&!s.value.includes(t.fast)||(s.value=s.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,r)=>{let s;try{s=e(t,r)}catch(l){throw t.addToError(l)}return s!==!1&&t.walk&&(s=t.walk(e)),s})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="atrule"&&e.test(r.name))return t(r,s)}):this.walk((r,s)=>{if(r.type==="atrule"&&r.name===e)return t(r,s)}):(t=e,this.walk((r,s)=>{if(r.type==="atrule")return t(r,s)}))}walkComments(e){return this.walk((t,r)=>{if(t.type==="comment")return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="decl"&&e.test(r.prop))return t(r,s)}):this.walk((r,s)=>{if(r.type==="decl"&&r.prop===e)return t(r,s)}):(t=e,this.walk((r,s)=>{if(r.type==="decl")return t(r,s)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="rule"&&e.test(r.selector))return t(r,s)}):this.walk((r,s)=>{if(r.type==="rule"&&r.selector===e)return t(r,s)}):(t=e,this.walk((r,s)=>{if(r.type==="rule")return t(r,s)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};ae.registerParse=i=>{Ys=i};ae.registerRule=i=>{Hr=i};ae.registerAtRule=i=>{Vr=i};ae.registerRoot=i=>{Js=i};Xs.exports=ae;ae.default=ae;ae.rebuild=i=>{i.type==="atrule"?Object.setPrototypeOf(i,Vr.prototype):i.type==="rule"?Object.setPrototypeOf(i,Hr.prototype):i.type==="decl"?Object.setPrototypeOf(i,Vs.prototype):i.type==="comment"?Object.setPrototypeOf(i,Gs.prototype):i.type==="root"&&Object.setPrototypeOf(i,Js.prototype),i[Hs]=!0,i.nodes&&i.nodes.forEach(e=>{ae.rebuild(e)})}});var Gt=$((zh,to)=>{"use strict";C();S();A();var bu=Ce(),Zs,eo,Te=class extends bu{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new Zs(new eo,this,e).stringify()}};Te.registerLazyResult=i=>{Zs=i};Te.registerProcessor=i=>{eo=i};to.exports=Te;Te.default=Te});var Gr=$((Gh,io)=>{"use strict";C();S();A();var ro={};io.exports=function(e){ro[e]||(ro[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var Yr=$((Kh,no)=>{"use strict";C();S();A();var gt=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let r=t.node.rangeBy(t);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in t)this[r]=t[r]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};no.exports=gt;gt.default=gt});var Yt=$((tp,so)=>{"use strict";C();S();A();var xu=Yr(),vt=class{constructor(e,t,r){this.processor=e,this.messages=[],this.root=t,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let r=new xu(e,t);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};so.exports=vt;vt.default=vt});var lo=$((sp,ao)=>{"use strict";C();S();A();var Jt=/[\t\n\f\r "#'()/;[\\\]{}]/g,Qt=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Eu=/.[\r\n"'(/\\]/,oo=/[\da-f]/i;ao.exports=function(e,t={}){let r=e.css.valueOf(),s=t.ignoreErrors,l,n,u,c,p,g,d,m,y,x,I=r.length,w=0,L=[],k=[];function R(){return w}function j(Q){throw e.error("Unclosed "+Q,w)}function M(){return k.length===0&&w>=I}function we(Q){if(k.length)return k.pop();if(w>=I)return;let Z=Q?Q.ignoreUnclosed:!1;switch(l=r.charCodeAt(w),l){case 10:case 32:case 9:case 13:case 12:{n=w;do n+=1,l=r.charCodeAt(n);while(l===32||l===10||l===9||l===13||l===12);x=["space",r.slice(w,n)],w=n-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let oe=String.fromCharCode(l);x=[oe,oe,w];break}case 40:{if(m=L.length?L.pop()[1]:"",y=r.charCodeAt(w+1),m==="url"&&y!==39&&y!==34&&y!==32&&y!==10&&y!==9&&y!==12&&y!==13){n=w;do{if(g=!1,n=r.indexOf(")",n+1),n===-1)if(s||Z){n=w;break}else j("bracket");for(d=n;r.charCodeAt(d-1)===92;)d-=1,g=!g}while(g);x=["brackets",r.slice(w,n+1),w,n],w=n}else n=r.indexOf(")",w+1),c=r.slice(w,n+1),n===-1||Eu.test(c)?x=["(","(",w]:(x=["brackets",c,w,n],w=n);break}case 39:case 34:{u=l===39?"'":'"',n=w;do{if(g=!1,n=r.indexOf(u,n+1),n===-1)if(s||Z){n=w+1;break}else j("string");for(d=n;r.charCodeAt(d-1)===92;)d-=1,g=!g}while(g);x=["string",r.slice(w,n+1),w,n],w=n;break}case 64:{Jt.lastIndex=w+1,Jt.test(r),Jt.lastIndex===0?n=r.length-1:n=Jt.lastIndex-2,x=["at-word",r.slice(w,n+1),w,n],w=n;break}case 92:{for(n=w,p=!0;r.charCodeAt(n+1)===92;)n+=1,p=!p;if(l=r.charCodeAt(n+1),p&&l!==47&&l!==32&&l!==10&&l!==9&&l!==13&&l!==12&&(n+=1,oo.test(r.charAt(n)))){for(;oo.test(r.charAt(n+1));)n+=1;r.charCodeAt(n+1)===32&&(n+=1)}x=["word",r.slice(w,n+1),w,n],w=n;break}default:{l===47&&r.charCodeAt(w+1)===42?(n=r.indexOf("*/",w+2)+1,n===0&&(s||Z?n=r.length:j("comment")),x=["comment",r.slice(w,n+1),w,n],w=n):(Qt.lastIndex=w+1,Qt.test(r),Qt.lastIndex===0?n=r.length-1:n=Qt.lastIndex-2,x=["word",r.slice(w,n+1),w,n],L.push(x),w=n);break}}return w++,x}function ne(Q){k.push(Q)}return{back:ne,endOfFile:M,nextToken:we,position:R}}});var Kt=$((up,fo)=>{"use strict";C();S();A();var uo=Ce(),Ye=class extends uo{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};fo.exports=Ye;Ye.default=Ye;uo.registerAtRule(Ye)});var Je=$((pp,mo)=>{"use strict";C();S();A();var co=Ce(),ho,po,Ae=class extends co{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let s=super.normalize(e);if(t){if(r==="prepend")this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let l of s)l.raws.before=t.raws.before}return s}removeChild(e,t){let r=this.index(e);return!t&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new ho(new po,this,e).stringify()}};Ae.registerLazyResult=i=>{ho=i};Ae.registerProcessor=i=>{po=i};mo.exports=Ae;Ae.default=Ae;co.registerRoot(Ae)});var Jr=$((vp,go)=>{"use strict";C();S();A();var yt={comma(i){return yt.split(i,[","],!0)},space(i){let e=[" ",`
|
|
27
|
+
`," "];return yt.split(i,e)},split(i,e,t){let r=[],s="",l=!1,n=0,u=!1,c="",p=!1;for(let g of i)p?p=!1:g==="\\"?p=!0:u?g===c&&(u=!1):g==='"'||g==="'"?(u=!0,c=g):g==="("?n+=1:g===")"?n>0&&(n-=1):n===0&&e.includes(g)&&(l=!0),l?(s!==""&&r.push(s.trim()),s="",l=!1):s+=g;return(t||s!=="")&&r.push(s.trim()),r}};go.exports=yt;yt.default=yt});var Xt=$((xp,yo)=>{"use strict";C();S();A();var vo=Ce(),Cu=Jr(),Qe=class extends vo{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Cu.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};yo.exports=Qe;Qe.default=Qe;vo.registerRule(Qe)});var Eo=$((Sp,xo)=>{"use strict";C();S();A();var Au=ut(),Su=lo(),Iu=mt(),Ru=Kt(),Bu=Je(),wo=Xt(),bo={empty:!0,space:!0};function Ou(i){for(let e=i.length-1;e>=0;e--){let t=i[e],r=t[3]||t[2];if(r)return r}}var Qr=class{constructor(e){this.input=e,this.root=new Bu,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new Ru;t.name=e[1].slice(1),t.name===""&&this.unnamedAtrule(t,e),this.init(t,e[2]);let r,s,l,n=!1,u=!1,c=[],p=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r==="("||r==="["?p.push(r==="("?")":"]"):r==="{"&&p.length>0?p.push("}"):r===p[p.length-1]&&p.pop(),p.length===0)if(r===";"){t.source.end=this.getPosition(e[2]),t.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){u=!0;break}else if(r==="}"){if(c.length>0){for(l=c.length-1,s=c[l];s&&s[0]==="space";)s=c[--l];s&&(t.source.end=this.getPosition(s[3]||s[2]),t.source.end.offset++)}this.end(e);break}else c.push(e);else c.push(e);if(this.tokenizer.endOfFile()){n=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(c),c.length?(t.raws.afterName=this.spacesAndCommentsFromStart(c),this.raw(t,"params",c),n&&(e=c[c.length-1],t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++,this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),u&&(t.nodes=[],this.current=t)}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let r=0,s;for(let l=t-1;l>=0&&(s=e[l],!(s[0]!=="space"&&(r+=1,r===2)));l--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}colon(e){let t=0,r,s,l;for(let[n,u]of e.entries()){if(r=u,s=r[0],s==="("&&(t+=1),s===")"&&(t-=1),t===0&&s===":")if(!l)this.doubleColon(r);else{if(l[0]==="word"&&l[1]==="progid")continue;return n}l=r}return!1}comment(e){let t=new Iu;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let s=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=s[2],t.raws.left=s[1],t.raws.right=s[3]}}createTokenizer(){this.tokenizer=Su(this.input)}decl(e,t){let r=new Au;this.init(r,e[0][2]);let s=e[e.length-1];for(s[0]===";"&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(s[3]||s[2]||Ou(e)),r.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let p=e[0][0];if(p===":"||p==="space"||p==="comment")break;r.prop+=e.shift()[1]}r.raws.between="";let l;for(;e.length;)if(l=e.shift(),l[0]===":"){r.raws.between+=l[1];break}else l[0]==="word"&&/\w/.test(l[1])&&this.unknownWord([l]),r.raws.between+=l[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let n=[],u;for(;e.length&&(u=e[0][0],!(u!=="space"&&u!=="comment"));)n.push(e.shift());this.precheckMissedSemicolon(e);for(let p=e.length-1;p>=0;p--){if(l=e[p],l[1].toLowerCase()==="!important"){r.important=!0;let g=this.stringFrom(e,p);g=this.spacesFromEnd(e)+g,g!==" !important"&&(r.raws.important=g);break}else if(l[1].toLowerCase()==="important"){let g=e.slice(0),d="";for(let m=p;m>0;m--){let y=g[m][0];if(d.trim().indexOf("!")===0&&y!=="space")break;d=g.pop()[1]+d}d.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=d,e=g)}if(l[0]!=="space"&&l[0]!=="comment")break}e.some(p=>p[0]!=="space"&&p[0]!=="comment")&&(r.raws.between+=n.map(p=>p[1]).join(""),n=[]),this.raw(r,"value",n.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new wo;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&t.type==="rule"&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let t=!1,r=null,s=!1,l=null,n=[],u=e[1].startsWith("--"),c=[],p=e;for(;p;){if(r=p[0],c.push(p),r==="("||r==="[")l||(l=p),n.push(r==="("?")":"]");else if(u&&s&&r==="{")l||(l=p),n.push("}");else if(n.length===0)if(r===";")if(s){this.decl(c,u);return}else break;else if(r==="{"){this.rule(c);return}else if(r==="}"){this.tokenizer.back(c.pop()),t=!0;break}else r===":"&&(s=!0);else r===n[n.length-1]&&(n.pop(),n.length===0&&(l=null));p=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),n.length>0&&this.unclosedBracket(l),t&&s){if(!u)for(;c.length&&(p=c[c.length-1][0],!(p!=="space"&&p!=="comment"));)this.tokenizer.back(c.pop());this.decl(c,u)}else this.unknownWord(c)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,s){let l,n,u=r.length,c="",p=!0,g,d;for(let m=0;m<u;m+=1)l=r[m],n=l[0],n==="space"&&m===u-1&&!s?p=!1:n==="comment"?(d=r[m-1]?r[m-1][0]:"empty",g=r[m+1]?r[m+1][0]:"empty",!bo[d]&&!bo[g]?c.slice(-1)===","?p=!1:c+=l[1]:p=!1):c+=l[1];if(!p){let m=r.reduce((y,x)=>y+x[1],"");e.raws[t]={raw:m,value:c}}e[t]=c}rule(e){e.pop();let t=new wo;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],!(t!=="space"&&t!=="comment"));)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],!(t!=="space"&&t!=="comment"));)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],t==="space");)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let s=t;s<e.length;s++)r+=e[s][1];return e.splice(t,e.length-t),r}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}};xo.exports=Qr});var er=$((Op,Co)=>{"use strict";C();S();A();var Uu=Ce(),Lu=Eo(),ku=pt();function Zt(i,e){let t=new ku(i,e),r=new Lu(t);try{r.parse()}catch(s){throw s}return r.root}Co.exports=Zt;Zt.default=Zt;Uu.registerParse(Zt)});var Zr=$((Tp,Ro)=>{"use strict";C();S();A();var{isClean:he,my:Pu}=$t(),Tu=Wr(),_u=st(),$u=Ce(),Nu=Gt(),Pp=Gr(),Ao=Yt(),Mu=er(),qu=Je(),Du={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},ju={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},Fu={Once:!0,postcssPlugin:!0,prepare:!0},Ke=0;function wt(i){return typeof i=="object"&&typeof i.then=="function"}function Io(i){let e=!1,t=Du[i.type];return i.type==="decl"?e=i.prop.toLowerCase():i.type==="atrule"&&(e=i.name.toLowerCase()),e&&i.append?[t,t+"-"+e,Ke,t+"Exit",t+"Exit-"+e]:e?[t,t+"-"+e,t+"Exit",t+"Exit-"+e]:i.append?[t,Ke,t+"Exit"]:[t,t+"Exit"]}function So(i){let e;return i.type==="document"?e=["Document",Ke,"DocumentExit"]:i.type==="root"?e=["Root",Ke,"RootExit"]:e=Io(i),{eventIndex:0,events:e,iterator:0,node:i,visitorIndex:0,visitors:[]}}function Kr(i){return i[he]=!1,i.nodes&&i.nodes.forEach(e=>Kr(e)),i}var Xr={},Se=class i{constructor(e,t,r){this.stringified=!1,this.processed=!1;let s;if(typeof t=="object"&&t!==null&&(t.type==="root"||t.type==="document"))s=Kr(t);else if(t instanceof i||t instanceof Ao)s=Kr(t.root),t.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=t.map);else{let l=Mu;r.syntax&&(l=r.syntax.parse),r.parser&&(l=r.parser),l.parse&&(l=l.parse);try{s=l(t,r)}catch(n){this.processed=!0,this.error=n}s&&!s[Pu]&&$u.rebuild(s)}this.result=new Ao(e,s,r),this.helpers={...Xr,postcss:Xr,result:this.result},this.plugins=this.processor.plugins.map(l=>typeof l=="object"&&l.prepare?{...l,...l.prepare(this.result)}:l)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let r=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=r.postcssPlugin,e.setMessage()):r.postcssVersion}catch(s){console&&console.error&&console.error(s)}return e}prepareVisitors(){this.listeners={};let e=(t,r,s)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([t,s])};for(let t of this.plugins)if(typeof t=="object")for(let r in t){if(!ju[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!Fu[r])if(typeof t[r]=="object")for(let s in t[r])s==="*"?e(t,r,t[r][s]):e(t,r+"-"+s.toLowerCase(),t[r][s]);else typeof t[r]=="function"&&e(t,r,t[r])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],r=this.runOnRoot(t);if(wt(r))try{await r}catch(s){throw this.handleError(s)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[he];){e[he]=!0;let t=[So(e)];for(;t.length>0;){let r=this.visitTick(t);if(wt(r))try{await r}catch(s){let l=t[t.length-1].node;throw this.handleError(s,l)}}}if(this.listeners.OnceExit)for(let[t,r]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let s=e.nodes.map(l=>r(l,this.helpers));await Promise.all(s)}else await r(e,this.helpers)}catch(s){throw this.handleError(s)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let t=this.result.root.nodes.map(r=>e.Once(r,this.helpers));return wt(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=_u;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let s=new Tu(t,this.result.root,this.result.opts).generate();return this.result.css=s[0],this.result.map=s[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let t=this.runOnRoot(e);if(wt(t))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[he];)e[he]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[r,s]of e){this.result.lastPlugin=r;let l;try{l=s(t,this.helpers)}catch(n){throw this.handleError(n,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent)return!0;if(wt(l))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:r,visitors:s}=t;if(r.type!=="root"&&r.type!=="document"&&!r.parent){e.pop();return}if(s.length>0&&t.visitorIndex<s.length){let[n,u]=s[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===s.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=n;try{return u(r.toProxy(),this.helpers)}catch(c){throw this.handleError(c,r)}}if(t.iterator!==0){let n=t.iterator,u;for(;u=r.nodes[r.indexes[n]];)if(r.indexes[n]+=1,!u[he]){u[he]=!0,e.push(So(u));return}t.iterator=0,delete r.indexes[n]}let l=t.events;for(;t.eventIndex<l.length;){let n=l[t.eventIndex];if(t.eventIndex+=1,n===Ke){r.nodes&&r.nodes.length&&(r[he]=!0,t.iterator=r.getIterator());return}else if(this.listeners[n]){t.visitors=this.listeners[n];return}}e.pop()}walkSync(e){e[he]=!0;let t=Io(e);for(let r of t)if(r===Ke)e.nodes&&e.each(s=>{s[he]||this.walkSync(s)});else{let s=this.listeners[r];if(s&&this.visitSync(s,e.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};Se.registerPostcss=i=>{Xr=i};Ro.exports=Se;Se.default=Se;qu.registerLazyResult(Se);Nu.registerLazyResult(Se)});var Oo=$((qp,Bo)=>{"use strict";C();S();A();var zu=Wr(),Wu=st(),Mp=Gr(),Hu=er(),Vu=Yt(),bt=class{constructor(e,t,r){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=r,this._map=void 0;let s,l=Wu;this.result=new Vu(this._processor,s,this._opts),this.result.css=t;let n=this;Object.defineProperty(this.result,"root",{get(){return n.root}});let u=new zu(l,s,this._opts,t);if(u.isMap()){let[c,p]=u.generate();c&&(this.result.css=c),p&&(this.result.map=p)}else u.clearAnnotation(),this.result.css=u.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=Hu;try{e=t(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}};Bo.exports=bt;bt.default=bt});var Lo=$((zp,Uo)=>{"use strict";C();S();A();var Gu=Oo(),Yu=Zr(),Ju=Gt(),Qu=Je(),_e=class{constructor(e=[]){this.version="8.4.39",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let r of e)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))t=t.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)t.push(r);else if(typeof r=="function")t.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return t}process(e,t={}){return!this.plugins.length&&!t.parser&&!t.stringifier&&!t.syntax?new Gu(this,e,t):new Yu(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};Uo.exports=_e;_e.default=_e;Qu.registerProcessor(_e);Ju.registerProcessor(_e)});var Po=$((Gp,ko)=>{"use strict";C();S();A();var Ku=ut(),Xu=Mr(),Zu=mt(),ef=Kt(),tf=pt(),rf=Je(),nf=Xt();function xt(i,e){if(Array.isArray(i))return i.map(s=>xt(s));let{inputs:t,...r}=i;if(t){e=[];for(let s of t){let l={...s,__proto__:tf.prototype};l.map&&(l.map={...l.map,__proto__:Xu.prototype}),e.push(l)}}if(r.nodes&&(r.nodes=i.nodes.map(s=>xt(s,e))),r.source){let{inputId:s,...l}=r.source;r.source=l,s!=null&&(r.source.input=e[s])}if(r.type==="root")return new rf(r);if(r.type==="decl")return new Ku(r);if(r.type==="rule")return new nf(r);if(r.type==="comment")return new Zu(r);if(r.type==="atrule")return new ef(r);throw new Error("Unknown node type: "+i.type)}ko.exports=xt;xt.default=xt});var jo=$((Kp,Do)=>{"use strict";C();S();A();var sf=_t(),To=ut(),of=Zr(),af=Ce(),ei=Lo(),lf=st(),uf=Po(),_o=Gt(),ff=Yr(),$o=mt(),No=Kt(),cf=Yt(),hf=pt(),pf=er(),df=Jr(),Mo=Xt(),qo=Je(),mf=at();function N(...i){return i.length===1&&Array.isArray(i[0])&&(i=i[0]),new ei(i)}N.plugin=function(e,t){let r=!1;function s(...n){console&&console.warn&&!r&&(r=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
|
|
28
|
+
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),O.env.LANG&&O.env.LANG.startsWith("cn")&&console.warn(e+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
|
|
29
|
+
https://www.w3ctech.com/topic/2226`));let u=t(...n);return u.postcssPlugin=e,u.postcssVersion=new ei().version,u}let l;return Object.defineProperty(s,"postcss",{get(){return l||(l=s()),l}}),s.process=function(n,u,c){return N([s(c)]).process(n,u)},s};N.stringify=lf;N.parse=pf;N.fromJSON=uf;N.list=df;N.comment=i=>new $o(i);N.atRule=i=>new No(i);N.decl=i=>new To(i);N.rule=i=>new Mo(i);N.root=i=>new qo(i);N.document=i=>new _o(i);N.CssSyntaxError=sf;N.Declaration=To;N.Container=af;N.Processor=ei;N.Document=_o;N.Comment=$o;N.Warning=ff;N.AtRule=No;N.Result=cf;N.Input=hf;N.Rule=Mo;N.Root=qo;N.Node=mf;of.registerPostcss(N);Do.exports=N;N.default=N});var zo=$((Bd,Fo)=>{C();S();A();var ri=40,ii=41,tr=39,ni=34,si=92,Xe=47,oi=44,ai=58,rr=42,gf=117,vf=85,yf=43,wf=/^[a-f0-9?-]+$/i;Fo.exports=function(i){for(var e=[],t=i,r,s,l,n,u,c,p,g,d=0,m=t.charCodeAt(d),y=t.length,x=[{nodes:e}],I=0,w,L="",k="",R="";d<y;)if(m<=32){r=d;do r+=1,m=t.charCodeAt(r);while(m<=32);n=t.slice(d,r),l=e[e.length-1],m===ii&&I?R=n:l&&l.type==="div"?(l.after=n,l.sourceEndIndex+=n.length):m===oi||m===ai||m===Xe&&t.charCodeAt(r+1)!==rr&&(!w||w&&w.type==="function"&&w.value!=="calc")?k=n:e.push({type:"space",sourceIndex:d,sourceEndIndex:r,value:n}),d=r}else if(m===tr||m===ni){r=d,s=m===tr?"'":'"',n={type:"string",sourceIndex:d,quote:s};do if(u=!1,r=t.indexOf(s,r+1),~r)for(c=r;t.charCodeAt(c-1)===si;)c-=1,u=!u;else t+=s,r=t.length-1,n.unclosed=!0;while(u);n.value=t.slice(d+1,r),n.sourceEndIndex=n.unclosed?r:r+1,e.push(n),d=r+1,m=t.charCodeAt(d)}else if(m===Xe&&t.charCodeAt(d+1)===rr)r=t.indexOf("*/",d),n={type:"comment",sourceIndex:d,sourceEndIndex:r+2},r===-1&&(n.unclosed=!0,r=t.length,n.sourceEndIndex=r),n.value=t.slice(d+2,r),e.push(n),d=r+2,m=t.charCodeAt(d);else if((m===Xe||m===rr)&&w&&w.type==="function"&&w.value==="calc")n=t[d],e.push({type:"word",sourceIndex:d-k.length,sourceEndIndex:d+n.length,value:n}),d+=1,m=t.charCodeAt(d);else if(m===Xe||m===oi||m===ai)n=t[d],e.push({type:"div",sourceIndex:d-k.length,sourceEndIndex:d+n.length,value:n,before:k,after:""}),k="",d+=1,m=t.charCodeAt(d);else if(ri===m){r=d;do r+=1,m=t.charCodeAt(r);while(m<=32);if(g=d,n={type:"function",sourceIndex:d-L.length,value:L,before:t.slice(g+1,r)},d=r,L==="url"&&m!==tr&&m!==ni){r-=1;do if(u=!1,r=t.indexOf(")",r+1),~r)for(c=r;t.charCodeAt(c-1)===si;)c-=1,u=!u;else t+=")",r=t.length-1,n.unclosed=!0;while(u);p=r;do p-=1,m=t.charCodeAt(p);while(m<=32);g<p?(d!==p+1?n.nodes=[{type:"word",sourceIndex:d,sourceEndIndex:p+1,value:t.slice(d,p+1)}]:n.nodes=[],n.unclosed&&p+1!==r?(n.after="",n.nodes.push({type:"space",sourceIndex:p+1,sourceEndIndex:r,value:t.slice(p+1,r)})):(n.after=t.slice(p+1,r),n.sourceEndIndex=r)):(n.after="",n.nodes=[]),d=r+1,n.sourceEndIndex=n.unclosed?r:d,m=t.charCodeAt(d),e.push(n)}else I+=1,n.after="",n.sourceEndIndex=d+1,e.push(n),x.push(n),e=n.nodes=[],w=n;L=""}else if(ii===m&&I)d+=1,m=t.charCodeAt(d),w.after=R,w.sourceEndIndex+=R.length,R="",I-=1,x[x.length-1].sourceEndIndex=d,x.pop(),w=x[I],e=w.nodes;else{r=d;do m===si&&(r+=1),r+=1,m=t.charCodeAt(r);while(r<y&&!(m<=32||m===tr||m===ni||m===oi||m===ai||m===Xe||m===ri||m===rr&&w&&w.type==="function"&&w.value==="calc"||m===Xe&&w.type==="function"&&w.value==="calc"||m===ii&&I));n=t.slice(d,r),ri===m?L=n:(gf===n.charCodeAt(0)||vf===n.charCodeAt(0))&&yf===n.charCodeAt(1)&&wf.test(n.slice(2))?e.push({type:"unicode-range",sourceIndex:d,sourceEndIndex:r,value:n}):e.push({type:"word",sourceIndex:d,sourceEndIndex:r,value:n}),d=r}for(d=x.length-1;d;d-=1)x[d].unclosed=!0,x[d].sourceEndIndex=t.length;return x[0].nodes}});var Ho=$((kd,Wo)=>{C();S();A();Wo.exports=function i(e,t,r){var s,l,n,u;for(s=0,l=e.length;s<l;s+=1)n=e[s],r||(u=t(n,s,e)),u!==!1&&n.type==="function"&&Array.isArray(n.nodes)&&i(n.nodes,t,r),r&&t(n,s,e)}});var Jo=$(($d,Yo)=>{C();S();A();function Vo(i,e){var t=i.type,r=i.value,s,l;return e&&(l=e(i))!==void 0?l:t==="word"||t==="space"?r:t==="string"?(s=i.quote||"",s+r+(i.unclosed?"":s)):t==="comment"?"/*"+r+(i.unclosed?"":"*/"):t==="div"?(i.before||"")+r+(i.after||""):Array.isArray(i.nodes)?(s=Go(i.nodes,e),t!=="function"?s:r+"("+(i.before||"")+s+(i.after||"")+(i.unclosed?"":")")):r}function Go(i,e){var t,r;if(Array.isArray(i)){for(t="",r=i.length-1;~r;r-=1)t=Vo(i[r],e)+t;return t}return Vo(i,e)}Yo.exports=Go});var Ko=$((Dd,Qo)=>{C();S();A();var ir=45,nr=43,li=46,bf=101,xf=69;function Ef(i){var e=i.charCodeAt(0),t;if(e===nr||e===ir){if(t=i.charCodeAt(1),t>=48&&t<=57)return!0;var r=i.charCodeAt(2);return t===li&&r>=48&&r<=57}return e===li?(t=i.charCodeAt(1),t>=48&&t<=57):e>=48&&e<=57}Qo.exports=function(i){var e=0,t=i.length,r,s,l;if(t===0||!Ef(i))return!1;for(r=i.charCodeAt(e),(r===nr||r===ir)&&e++;e<t&&(r=i.charCodeAt(e),!(r<48||r>57));)e+=1;if(r=i.charCodeAt(e),s=i.charCodeAt(e+1),r===li&&s>=48&&s<=57)for(e+=2;e<t&&(r=i.charCodeAt(e),!(r<48||r>57));)e+=1;if(r=i.charCodeAt(e),s=i.charCodeAt(e+1),l=i.charCodeAt(e+2),(r===bf||r===xf)&&(s>=48&&s<=57||(s===nr||s===ir)&&l>=48&&l<=57))for(e+=s===nr||s===ir?3:2;e<t&&(r=i.charCodeAt(e),!(r<48||r>57));)e+=1;return{number:i.slice(0,e),unit:i.slice(e)}}});var ta=$((Wd,ea)=>{C();S();A();var Cf=zo(),Xo=Ho(),Zo=Jo();function Ie(i){return this instanceof Ie?(this.nodes=Cf(i),this):new Ie(i)}Ie.prototype.toString=function(){return Array.isArray(this.nodes)?Zo(this.nodes):""};Ie.prototype.walk=function(i,e){return Xo(this.nodes,i,e),this};Ie.unit=Ko();Ie.walk=Xo;Ie.stringify=Zo;ea.exports=Ie});var ca=$((pi,di)=>{C();S();A();(function(i,e){typeof pi=="object"&&typeof di<"u"?di.exports=function(t,r,s,l,n){for(r=r.split?r.split("."):r,l=0;l<r.length;l++)t=t?t[r[l]]:n;return t===n?s:t}:typeof define=="function"&&define.amd?define(function(){return function(t,r,s,l,n){for(r=r.split?r.split("."):r,l=0;l<r.length;l++)t=t?t[r[l]]:n;return t===n?s:t}}):i.dlv=function(t,r,s,l,n){for(r=r.split?r.split("."):r,l=0;l<r.length;l++)t=t?t[r[l]]:n;return t===n?s:t}})(pi)});var _f={};tt(_f,{preset:()=>ga,tokencss:()=>ma});C();S();A();C();S();A();C();S();A();var F=dr(jo(),1);var td=F.default.stringify,rd=F.default.fromJSON,id=F.default.plugin,ti=F.default.parse,nd=F.default.list,sd=F.default.document,od=F.default.comment,ad=F.default.atRule,ld=F.default.rule,ud=F.default.decl,fd=F.default.root,cd=F.default.CssSyntaxError,hd=F.default.Declaration,pd=F.default.Container,dd=F.default.Processor,md=F.default.Document,gd=F.default.Comment,vd=F.default.Warning,yd=F.default.AtRule,wd=F.default.Result,bd=F.default.Input,xd=F.default.Rule,Ed=F.default.Root,Cd=F.default.Node;var pa=dr(ta(),1);C();S();A();C();S();A();var Af={},ui="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";for(Et=0;Et<ui.length;Et++)Af[ui.charCodeAt(Et)]=Et;var Et;function ra(i){for(var e=0,t=0,r=0,s=0,l="",n=0;n<i.length;n++){var u=i[n];if(n>0&&(l+=";"),u.length!==0){for(var c=0,p=[],g=0,d=u;g<d.length;g++){var m=d[g],y=Ct(m[0]-c);c=m[0],m.length>1&&(y+=Ct(m[1]-e)+Ct(m[2]-t)+Ct(m[3]-r),e=m[1],t=m[2],r=m[3]),m.length===5&&(y+=Ct(m[4]-s),s=m[4]),p.push(y)}l+=p.join(",")}}return l}function Ct(i){var e="";i=i<0?-i<<1|1:i<<1;do{var t=i&31;i>>>=5,i>0&&(t|=32),e+=ui[t]}while(i>0);return e}var sr=function i(e){this.bits=e instanceof i?e.bits.slice():[]};sr.prototype.add=function(e){this.bits[e>>5]|=1<<(e&31)};sr.prototype.has=function(e){return!!(this.bits[e>>5]&1<<(e&31))};var X=function(e,t,r){this.start=e,this.end=t,this.original=r,this.intro="",this.outro="",this.content=r,this.storeName=!1,this.edited=!1,Object.defineProperties(this,{previous:{writable:!0,value:null},next:{writable:!0,value:null}})};X.prototype.appendLeft=function(e){this.outro+=e};X.prototype.appendRight=function(e){this.intro=this.intro+e};X.prototype.clone=function(){var e=new X(this.start,this.end,this.original);return e.intro=this.intro,e.outro=this.outro,e.content=this.content,e.storeName=this.storeName,e.edited=this.edited,e};X.prototype.contains=function(e){return this.start<e&&e<this.end};X.prototype.eachNext=function(e){for(var t=this;t;)e(t),t=t.next};X.prototype.eachPrevious=function(e){for(var t=this;t;)e(t),t=t.previous};X.prototype.edit=function(e,t,r){return this.content=e,r||(this.intro="",this.outro=""),this.storeName=t,this.edited=!0,this};X.prototype.prependLeft=function(e){this.outro=e+this.outro};X.prototype.prependRight=function(e){this.intro=e+this.intro};X.prototype.split=function(e){var t=e-this.start,r=this.original.slice(0,t),s=this.original.slice(t);this.original=r;var l=new X(e,this.end,s);return l.outro=this.outro,this.outro="",this.end=e,this.edited?(l.edit("",!1),this.content=""):this.content=r,l.next=this.next,l.next&&(l.next.previous=l),l.previous=this,this.next=l,l};X.prototype.toString=function(){return this.intro+this.content+this.outro};X.prototype.trimEnd=function(e){if(this.outro=this.outro.replace(e,""),this.outro.length)return!0;var t=this.content.replace(e,"");if(t.length)return t!==this.content&&this.split(this.start+t.length).edit("",void 0,!0),!0;if(this.edit("",void 0,!0),this.intro=this.intro.replace(e,""),this.intro.length)return!0};X.prototype.trimStart=function(e){if(this.intro=this.intro.replace(e,""),this.intro.length)return!0;var t=this.content.replace(e,"");if(t.length)return t!==this.content&&(this.split(this.end-t.length),this.edit("",void 0,!0)),!0;if(this.edit("",void 0,!0),this.outro=this.outro.replace(e,""),this.outro.length)return!0};var fi=function(){throw new Error("Unsupported environment: `window.btoa` or `Buffer` should be supported.")};typeof window<"u"&&typeof window.btoa=="function"?fi=function(i){return window.btoa(unescape(encodeURIComponent(i)))}:typeof B=="function"&&(fi=function(i){return B.from(i,"utf-8").toString("base64")});var or=function(e){this.version=3,this.file=e.file,this.sources=e.sources,this.sourcesContent=e.sourcesContent,this.names=e.names,this.mappings=ra(e.mappings)};or.prototype.toString=function(){return JSON.stringify(this)};or.prototype.toUrl=function(){return"data:application/json;charset=utf-8;base64,"+fi(this.toString())};function Sf(i){var e=i.split(`
|
|
30
30
|
`),t=e.filter(function(l){return/^\t+/.test(l)}),r=e.filter(function(l){return/^ {2,}/.test(l)});if(t.length===0&&r.length===0)return null;if(t.length>=r.length)return" ";var s=r.reduce(function(l,n){var u=/^ +/.exec(n)[0].length;return Math.min(u,l)},1/0);return new Array(s+1).join(" ")}function na(i,e){var t=i.split(/[/\\]/),r=e.split(/[/\\]/);for(t.pop();t[0]===r[0];)t.shift(),r.shift();if(t.length)for(var s=t.length;s--;)t[s]="..";return t.concat(r).join("/")}var If=Object.prototype.toString;function sa(i){return If.call(i)==="[object Object]"}function ci(i){for(var e=i.split(`
|
|
31
31
|
`),t=[],r=0,s=0;r<e.length;r++)t.push(s),s+=e[r].length+1;return function(n){for(var u=0,c=t.length;u<c;){var p=u+c>>1;n<t[p]?c=p:u=p+1}var g=u-1,d=n-t[g];return{line:g,column:d}}}var St=function(e){this.hires=e,this.generatedCodeLine=0,this.generatedCodeColumn=0,this.raw=[],this.rawSegments=this.raw[this.generatedCodeLine]=[],this.pending=null};St.prototype.addEdit=function(e,t,r,s){if(t.length){var l=[this.generatedCodeColumn,e,r.line,r.column];s>=0&&l.push(s),this.rawSegments.push(l)}else this.pending&&this.rawSegments.push(this.pending);this.advance(t),this.pending=null};St.prototype.addUneditedChunk=function(e,t,r,s,l){for(var n=t.start,u=!0;n<t.end;)(this.hires||u||l.has(n))&&this.rawSegments.push([this.generatedCodeColumn,e,s.line,s.column]),r[n]===`
|
|
32
32
|
`?(s.line+=1,s.column=0,this.generatedCodeLine+=1,this.raw[this.generatedCodeLine]=this.rawSegments=[],this.generatedCodeColumn=0,u=!0):(s.column+=1,this.generatedCodeColumn+=1,u=!1),n+=1;this.pending=null};St.prototype.advance=function(e){if(e){var t=e.split(`
|
|
33
33
|
`);if(t.length>1){for(var r=0;r<t.length-1;r++)this.generatedCodeLine++,this.raw[this.generatedCodeLine]=this.rawSegments=[];this.generatedCodeColumn=0}this.generatedCodeColumn+=t[t.length-1].length}};var At=`
|
|
34
|
-
`,Ze={insertLeft:!1,insertRight:!1,storeName:!1},
|
|
34
|
+
`,Ze={insertLeft:!1,insertRight:!1,storeName:!1},_=function(e,t){t===void 0&&(t={});var r=new X(0,e.length,e);Object.defineProperties(this,{original:{writable:!0,value:e},outro:{writable:!0,value:""},intro:{writable:!0,value:""},firstChunk:{writable:!0,value:r},lastChunk:{writable:!0,value:r},lastSearchedChunk:{writable:!0,value:r},byStart:{writable:!0,value:{}},byEnd:{writable:!0,value:{}},filename:{writable:!0,value:t.filename},indentExclusionRanges:{writable:!0,value:t.indentExclusionRanges},sourcemapLocations:{writable:!0,value:new sr},storedNames:{writable:!0,value:{}},indentStr:{writable:!0,value:Sf(e)}}),this.byStart[0]=r,this.byEnd[e.length]=r};_.prototype.addSourcemapLocation=function(e){this.sourcemapLocations.add(e)};_.prototype.append=function(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.outro+=e,this};_.prototype.appendLeft=function(e,t){if(typeof t!="string")throw new TypeError("inserted content must be a string");this._split(e);var r=this.byEnd[e];return r?r.appendLeft(t):this.intro+=t,this};_.prototype.appendRight=function(e,t){if(typeof t!="string")throw new TypeError("inserted content must be a string");this._split(e);var r=this.byStart[e];return r?r.appendRight(t):this.outro+=t,this};_.prototype.clone=function(){for(var e=new _(this.original,{filename:this.filename}),t=this.firstChunk,r=e.firstChunk=e.lastSearchedChunk=t.clone();t;){e.byStart[r.start]=r,e.byEnd[r.end]=r;var s=t.next,l=s&&s.clone();l&&(r.next=l,l.previous=r,r=l),t=s}return e.lastChunk=r,this.indentExclusionRanges&&(e.indentExclusionRanges=this.indentExclusionRanges.slice()),e.sourcemapLocations=new sr(this.sourcemapLocations),e.intro=this.intro,e.outro=this.outro,e};_.prototype.generateDecodedMap=function(e){var t=this;e=e||{};var r=0,s=Object.keys(this.storedNames),l=new St(e.hires),n=ci(this.original);return this.intro&&l.advance(this.intro),this.firstChunk.eachNext(function(u){var c=n(u.start);u.intro.length&&l.advance(u.intro),u.edited?l.addEdit(r,u.content,c,u.storeName?s.indexOf(u.original):-1):l.addUneditedChunk(r,u,t.original,c,t.sourcemapLocations),u.outro.length&&l.advance(u.outro)}),{file:e.file?e.file.split(/[/\\]/).pop():null,sources:[e.source?na(e.file||"",e.source):null],sourcesContent:e.includeContent?[this.original]:[null],names:s,mappings:l.raw}};_.prototype.generateMap=function(e){return new or(this.generateDecodedMap(e))};_.prototype.getIndentString=function(){return this.indentStr===null?" ":this.indentStr};_.prototype.indent=function(e,t){var r=/^[^\r\n]/gm;if(sa(e)&&(t=e,e=void 0),e=e!==void 0?e:this.indentStr||" ",e==="")return this;t=t||{};var s={};if(t.exclude){var l=typeof t.exclude[0]=="number"?[t.exclude]:t.exclude;l.forEach(function(m){for(var y=m[0];y<m[1];y+=1)s[y]=!0})}var n=t.indentStart!==!1,u=function(m){return n?""+e+m:(n=!0,m)};this.intro=this.intro.replace(r,u);for(var c=0,p=this.firstChunk;p;){var g=p.end;if(p.edited)s[c]||(p.content=p.content.replace(r,u),p.content.length&&(n=p.content[p.content.length-1]===`
|
|
35
35
|
`));else for(c=p.start;c<g;){if(!s[c]){var d=this.original[c];d===`
|
|
36
|
-
`?n=!0:d!=="\r"&&n&&(n=!1,c===p.start||(this._splitChunk(p,c),p=p.next),p.prependRight(e))}c+=1}c=p.end,p=p.next}return this.outro=this.outro.replace(r,u),this};
|
|
37
|
-
`,this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}};te.prototype.addSource=function(e){if(e instanceof
|
|
36
|
+
`?n=!0:d!=="\r"&&n&&(n=!1,c===p.start||(this._splitChunk(p,c),p=p.next),p.prependRight(e))}c+=1}c=p.end,p=p.next}return this.outro=this.outro.replace(r,u),this};_.prototype.insert=function(){throw new Error("magicString.insert(...) is deprecated. Use prependRight(...) or appendLeft(...)")};_.prototype.insertLeft=function(e,t){return Ze.insertLeft||(console.warn("magicString.insertLeft(...) is deprecated. Use magicString.appendLeft(...) instead"),Ze.insertLeft=!0),this.appendLeft(e,t)};_.prototype.insertRight=function(e,t){return Ze.insertRight||(console.warn("magicString.insertRight(...) is deprecated. Use magicString.prependRight(...) instead"),Ze.insertRight=!0),this.prependRight(e,t)};_.prototype.move=function(e,t,r){if(r>=e&&r<=t)throw new Error("Cannot move a selection inside itself");this._split(e),this._split(t),this._split(r);var s=this.byStart[e],l=this.byEnd[t],n=s.previous,u=l.next,c=this.byStart[r];if(!c&&l===this.lastChunk)return this;var p=c?c.previous:this.lastChunk;return n&&(n.next=u),u&&(u.previous=n),p&&(p.next=s),c&&(c.previous=l),s.previous||(this.firstChunk=l.next),l.next||(this.lastChunk=s.previous,this.lastChunk.next=null),s.previous=p,l.next=c||null,p||(this.firstChunk=s),c||(this.lastChunk=l),this};_.prototype.overwrite=function(e,t,r,s){if(typeof r!="string")throw new TypeError("replacement content must be a string");for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(t>this.original.length)throw new Error("end is out of bounds");if(e===t)throw new Error("Cannot overwrite a zero-length range \u2013 use appendLeft or prependRight instead");this._split(e),this._split(t),s===!0&&(Ze.storeName||(console.warn("The final argument to magicString.overwrite(...) should be an options object. See https://github.com/rich-harris/magic-string"),Ze.storeName=!0),s={storeName:!0});var l=s!==void 0?s.storeName:!1,n=s!==void 0?s.contentOnly:!1;if(l){var u=this.original.slice(e,t);Object.defineProperty(this.storedNames,u,{writable:!0,value:!0,enumerable:!0})}var c=this.byStart[e],p=this.byEnd[t];if(c){for(var g=c;g!==p;){if(g.next!==this.byStart[g.end])throw new Error("Cannot overwrite across a split point");g=g.next,g.edit("",!1)}c.edit(r,l,n)}else{var d=new X(e,t,"").edit(r,l);p.next=d,d.previous=p}return this};_.prototype.prepend=function(e){if(typeof e!="string")throw new TypeError("outro content must be a string");return this.intro=e+this.intro,this};_.prototype.prependLeft=function(e,t){if(typeof t!="string")throw new TypeError("inserted content must be a string");this._split(e);var r=this.byEnd[e];return r?r.prependLeft(t):this.intro=t+this.intro,this};_.prototype.prependRight=function(e,t){if(typeof t!="string")throw new TypeError("inserted content must be a string");this._split(e);var r=this.byStart[e];return r?r.prependRight(t):this.outro=t+this.outro,this};_.prototype.remove=function(e,t){for(;e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;if(e===t)return this;if(e<0||t>this.original.length)throw new Error("Character is out of bounds");if(e>t)throw new Error("end must be greater than start");this._split(e),this._split(t);for(var r=this.byStart[e];r;)r.intro="",r.outro="",r.edit(""),r=t>r.end?this.byStart[r.end]:null;return this};_.prototype.lastChar=function(){if(this.outro.length)return this.outro[this.outro.length-1];var e=this.lastChunk;do{if(e.outro.length)return e.outro[e.outro.length-1];if(e.content.length)return e.content[e.content.length-1];if(e.intro.length)return e.intro[e.intro.length-1]}while(e=e.previous);return this.intro.length?this.intro[this.intro.length-1]:""};_.prototype.lastLine=function(){var e=this.outro.lastIndexOf(At);if(e!==-1)return this.outro.substr(e+1);var t=this.outro,r=this.lastChunk;do{if(r.outro.length>0){if(e=r.outro.lastIndexOf(At),e!==-1)return r.outro.substr(e+1)+t;t=r.outro+t}if(r.content.length>0){if(e=r.content.lastIndexOf(At),e!==-1)return r.content.substr(e+1)+t;t=r.content+t}if(r.intro.length>0){if(e=r.intro.lastIndexOf(At),e!==-1)return r.intro.substr(e+1)+t;t=r.intro+t}}while(r=r.previous);return e=this.intro.lastIndexOf(At),e!==-1?this.intro.substr(e+1)+t:this.intro+t};_.prototype.slice=function(e,t){for(e===void 0&&(e=0),t===void 0&&(t=this.original.length);e<0;)e+=this.original.length;for(;t<0;)t+=this.original.length;for(var r="",s=this.firstChunk;s&&(s.start>e||s.end<=e);){if(s.start<t&&s.end>=t)return r;s=s.next}if(s&&s.edited&&s.start!==e)throw new Error("Cannot use replaced character "+e+" as slice start anchor.");for(var l=s;s;){s.intro&&(l!==s||s.start===e)&&(r+=s.intro);var n=s.start<t&&s.end>=t;if(n&&s.edited&&s.end!==t)throw new Error("Cannot use replaced character "+t+" as slice end anchor.");var u=l===s?e-s.start:0,c=n?s.content.length+t-s.end:s.content.length;if(r+=s.content.slice(u,c),s.outro&&(!n||s.end===t)&&(r+=s.outro),n)break;s=s.next}return r};_.prototype.snip=function(e,t){var r=this.clone();return r.remove(0,e),r.remove(t,r.original.length),r};_.prototype._split=function(e){if(!(this.byStart[e]||this.byEnd[e]))for(var t=this.lastSearchedChunk,r=e>t.end;t;){if(t.contains(e))return this._splitChunk(t,e);t=r?this.byStart[t.end]:this.byEnd[t.start]}};_.prototype._splitChunk=function(e,t){if(e.edited&&e.content.length){var r=ci(this.original)(t);throw new Error("Cannot split a chunk that has already been edited ("+r.line+":"+r.column+' \u2013 "'+e.original+'")')}var s=e.split(t);return this.byEnd[t]=e,this.byStart[t]=s,this.byEnd[s.end]=s,e===this.lastChunk&&(this.lastChunk=s),this.lastSearchedChunk=e,!0};_.prototype.toString=function(){for(var e=this.intro,t=this.firstChunk;t;)e+=t.toString(),t=t.next;return e+this.outro};_.prototype.isEmpty=function(){var e=this.firstChunk;do if(e.intro.length&&e.intro.trim()||e.content.length&&e.content.trim()||e.outro.length&&e.outro.trim())return!1;while(e=e.next);return!0};_.prototype.length=function(){var e=this.firstChunk,t=0;do t+=e.intro.length+e.content.length+e.outro.length;while(e=e.next);return t};_.prototype.trimLines=function(){return this.trim("[\\r\\n]")};_.prototype.trim=function(e){return this.trimStart(e).trimEnd(e)};_.prototype.trimEndAborted=function(e){var t=new RegExp((e||"\\s")+"+$");if(this.outro=this.outro.replace(t,""),this.outro.length)return!0;var r=this.lastChunk;do{var s=r.end,l=r.trimEnd(t);if(r.end!==s&&(this.lastChunk===r&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),l)return!0;r=r.previous}while(r);return!1};_.prototype.trimEnd=function(e){return this.trimEndAborted(e),this};_.prototype.trimStartAborted=function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),this.intro.length)return!0;var r=this.firstChunk;do{var s=r.end,l=r.trimStart(t);if(r.end!==s&&(r===this.lastChunk&&(this.lastChunk=r.next),this.byEnd[r.end]=r,this.byStart[r.next.start]=r.next,this.byEnd[r.next.end]=r.next),l)return!0;r=r.next}while(r);return!1};_.prototype.trimStart=function(e){return this.trimStartAborted(e),this};var ia=Object.prototype.hasOwnProperty,te=function(e){e===void 0&&(e={}),this.intro=e.intro||"",this.separator=e.separator!==void 0?e.separator:`
|
|
37
|
+
`,this.sources=[],this.uniqueSources=[],this.uniqueSourceIndexByFilename={}};te.prototype.addSource=function(e){if(e instanceof _)return this.addSource({content:e,filename:e.filename,separator:this.separator});if(!sa(e)||!e.content)throw new Error("bundle.addSource() takes an object with a `content` property, which should be an instance of MagicString, and an optional `filename`");if(["filename","indentExclusionRanges","separator"].forEach(function(r){ia.call(e,r)||(e[r]=e.content[r])}),e.separator===void 0&&(e.separator=this.separator),e.filename)if(!ia.call(this.uniqueSourceIndexByFilename,e.filename))this.uniqueSourceIndexByFilename[e.filename]=this.uniqueSources.length,this.uniqueSources.push({filename:e.filename,content:e.content.original});else{var t=this.uniqueSources[this.uniqueSourceIndexByFilename[e.filename]];if(e.content.original!==t.content)throw new Error("Illegal source: same filename ("+e.filename+"), different contents")}return this.sources.push(e),this};te.prototype.append=function(e,t){return this.addSource({content:new _(e),separator:t&&t.separator||""}),this};te.prototype.clone=function(){var e=new te({intro:this.intro,separator:this.separator});return this.sources.forEach(function(t){e.addSource({filename:t.filename,content:t.content.clone(),separator:t.separator})}),e};te.prototype.generateDecodedMap=function(e){var t=this;e===void 0&&(e={});var r=[];this.sources.forEach(function(l){Object.keys(l.content.storedNames).forEach(function(n){~r.indexOf(n)||r.push(n)})});var s=new St(e.hires);return this.intro&&s.advance(this.intro),this.sources.forEach(function(l,n){n>0&&s.advance(t.separator);var u=l.filename?t.uniqueSourceIndexByFilename[l.filename]:-1,c=l.content,p=ci(c.original);c.intro&&s.advance(c.intro),c.firstChunk.eachNext(function(g){var d=p(g.start);g.intro.length&&s.advance(g.intro),l.filename?g.edited?s.addEdit(u,g.content,d,g.storeName?r.indexOf(g.original):-1):s.addUneditedChunk(u,g,c.original,d,c.sourcemapLocations):s.advance(g.content),g.outro.length&&s.advance(g.outro)}),c.outro&&s.advance(c.outro)}),{file:e.file?e.file.split(/[/\\]/).pop():null,sources:this.uniqueSources.map(function(l){return e.file?na(e.file,l.filename):l.filename}),sourcesContent:this.uniqueSources.map(function(l){return e.includeContent?l.content:null}),names:r,mappings:s.raw}};te.prototype.generateMap=function(e){return new or(this.generateDecodedMap(e))};te.prototype.getIndentString=function(){var e={};return this.sources.forEach(function(t){var r=t.content.indentStr;r!==null&&(e[r]||(e[r]=0),e[r]+=1)}),Object.keys(e).sort(function(t,r){return e[t]-e[r]})[0]||" "};te.prototype.indent=function(e){var t=this;if(arguments.length||(e=this.getIndentString()),e==="")return this;var r=!this.intro||this.intro.slice(-1)===`
|
|
38
38
|
`;return this.sources.forEach(function(s,l){var n=s.separator!==void 0?s.separator:t.separator,u=r||l>0&&/\r?\n$/.test(n);s.content.indent(e,{exclude:s.indentExclusionRanges,indentStart:u}),r=s.content.lastChar()===`
|
|
39
39
|
`}),this.intro&&(this.intro=e+this.intro.replace(/^[^\n]/gm,function(s,l){return l>0?e+s:s})),this};te.prototype.prepend=function(e){return this.intro=e+this.intro,this};te.prototype.toString=function(){var e=this,t=this.sources.map(function(r,s){var l=r.separator!==void 0?r.separator:e.separator,n=(s>0?l:"")+r.content.toString();return n}).join("");return this.intro+t};te.prototype.isEmpty=function(){return!(this.intro.length&&this.intro.trim()||this.sources.some(function(e){return!e.content.isEmpty()}))};te.prototype.length=function(){return this.sources.reduce(function(e,t){return e+t.content.length()},this.intro.length)};te.prototype.trimLines=function(){return this.trim("[\\r\\n]")};te.prototype.trim=function(e){return this.trimStart(e).trimEnd(e)};te.prototype.trimStart=function(e){var t=new RegExp("^"+(e||"\\s")+"+");if(this.intro=this.intro.replace(t,""),!this.intro){var r,s=0;do if(r=this.sources[s++],!r)break;while(!r.content.trimStartAborted(e))}return this};te.prototype.trimEnd=function(e){var t=new RegExp((e||"\\s")+"+$"),r,s=this.sources.length-1;do if(r=this.sources[s--],!r){this.intro=this.intro.replace(t,"");break}while(!r.content.trimEndAborted(e));return this};C();S();A();C();S();A();function oa(i,e=i.charAt(0)){return[e,`${e}t`,`${e}r`,`${e}b`,`${e}l`,`${e}x`,`${e}y`,i,`${i}-top`,`${i}-right`,`${i}-bottom`,`${i}-left`,`${i}-inline`,`${i}-inline-start`,`${i}-inline-end`,`${i}-block`,`${i}-block-start`,`${i}-block-end`]}var Rf={color:["bg","color","accent-color","caret-color","column-rule-color","text-decoration-color","text-emphasis-color","outline-color","background-color","border-color","border-top-color","border-right-color","border-bottom-color","border-left-color","border-inline-color","border-inline-start-color","border-inline-end-color","border-block-color","border-block-start-color","border-block-end-color"],space:["tx","ty","gap","row-gap","column-gap","grid-gap","grid-row-gap","grid-column-gap",...oa("margin"),...oa("padding"),"top","right","bottom","left","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start"],radius:["br","btlr","btrr","bblr","bbrr","border-radius","border-top-left-radius","border-top-right-radius","border-bottom-left-radius","border-bottom-right-radius"],easing:["animation","animation-timing-function","transition","transition-timing-function"],font:["f","font","font-family"],"font-size":["fs","font-size"],"font-weight":["fw","weight","font-weight"],"font-leading":["lh","line-height","leading"],"font-tracking":["ls","letter-spacing","tracking"]},aa=new Map([["border",["color","border-size","space"]],["border-inline",["color","border-size","space"]],["border-inline-start",["color","border-size","space"]],["border-inline-end",["color","border-size","space"]],["border-block",["color","border-size","space"]],["border-block-start",["color","border-size","space"]],["border-block-end",["color","border-size","space"]],["background",["gradient","color"]],["bg",["gradient","color"]],["box-shadow",["shadow","color","space"]],["shadow",["shadow","color","space"]],["size",["size","space"]],["inline-size",["size","space"]],["block-size",["size","space"]],["width",["width","size","space"]],["min-width",["width","size","space"]],["max-width",["width","size","space"]],["height",["height","size","space"]],["min-height",["height","size","space"]],["max-height",["height","size","space"]]]);var It=new Map;function hi(i,e,t){if(e.charAt(0)==="-"&&e.charAt(1)==="-")return;let r=`${i}:${e}`;if(i.charAt(0)==="-"&&i.charAt(1)==="-"&&(i=i.slice(2)),It.has(r))return It.get(r);if(aa.has(i)){let s=aa.get(i);for(let[l,n]of Object.entries(t.scales).sort(([u],[c])=>{let p=s.indexOf(u),g=s.indexOf(c);return p>g?1:p<g?-1:0}))if(s.includes(l)&&e in n)return It.set(r,l),l}else for(let[s,l]of Object.entries(Rf))for(let n of l)if(i===n)return It.set(r,s),s;It.set(r,void 0)}C();S();A();function $e(i){return`--${i.replace(/[\. ]/g,"-")}`}function ua(i){let e=":root {",t=[];for(let r of Object.values(i)){let s=$e(r.$path);if(r.$scale==="media"){t.push(s),e+=`
|
|
40
|
-
${s}: ${r.value};`;continue}let l=
|
|
40
|
+
${s}: ${r.value};`;continue}let l=Bf(r);l!=null&&(r.description&&(e+=`
|
|
41
41
|
/* ${r.description} */`),e+=`
|
|
42
42
|
${s}: ${l};`,r.type==="color"&&(e+=`
|
|
43
43
|
${s}-rgb: ${fa(l)};`))}return e+=`
|
|
44
44
|
--tokencss: 1;`,t.length>0&&(e+=`
|
|
45
45
|
--tokencss-media: ${t.map(r=>`var(${r})`).join(", ")};`),e+=`
|
|
46
|
-
}`,e}function
|
|
46
|
+
}`,e}function Bf(i){switch(i.type){case"string":return`"${i.value}"`;case"number":return`${i.value}`;case"null":return"";case"boolean":return`${i.value}`;case"color":return`${i.value}`;case"dimension":return`${i.value}`;case"cubic-bezier":return`cubic-bezier(${i.value.join(", ")})`;case"font":return i.value.map(e=>e.includes(" ")?`"${e}"`:e).join(", ");case"shadow":return Array.isArray(i.value)?i.value.map(e=>la(e)).join(", "):la(i.value)}}function la(i){let e="";for(let s of["offset-x","offset-y","blur","spread"]){let l=i[s];l.$path?e+=`var(${$e(l.$path)})`:e+=` ${l}`}let t=i.color;e+=" rgba(",t.$path?e+=`var(${$e(t.$path)}-rgb)`:e+=`${fa(t)}`,e+=", ";let r=i.opacity??"1";return r.$path?e+=`var(${$e(r.$path)})`:e+=`${r}`,e+=")",e.trim()}function fa(i){if(typeof i!="string")return;i=i.slice(1);let e="0",t="0",r="0",s="1";switch(i.length){case 3:{e=i[0]+i[0],t=i[1]+i[1],r=i[2]+i[2];break}case 4:{e=i[0]+i[0],t=i[1]+i[1],r=i[2]+i[2],s=i[3]+i[3];break}case 6:{e=i[0]+i[1],t=i[2]+i[3],r=i[4]+i[5];break}case 8:{e=i[0]+i[1],t=i[2]+i[3],r=i[4]+i[5],s=i[6]+i[7];break}}return s!=="1"?[e,t,r,s].map(l=>Number.parseInt(l,16)).join(", "):[e,t,r].map(l=>Number.parseInt(l,16)).join(", ")}C();S();A();var Bt=dr(ca(),1);function mi(i,e=[]){let t={};return Object.keys(i).forEach(r=>{let s=i[r];r==="value"?t[e.join(".")]=s:typeof s=="object"&&s!==null&&!Array.isArray(s)&&Object.assign(t,mi(s,[...e,r]))}),t}function ar(i){let e={},t=Object.keys(mi(i));for(let r of t){let s=Rt(r,i);typeof s.value=="object"&&(e[s.$path]=s),e[s.$path]=s}return e}function lr(i){let e={},t=Object.keys(mi(i));for(let r of t){let s=Rt(r,i),l=s.$path.split(".");if(s.$scale){let n;l[0]===s.$scale?n=l.slice(1).join("."):n=l.join("."),typeof e[s.$scale]=="object"?e[s.$scale][n]=s:e[s.$scale]={[n]:s}}}return e}var ha=new Set(["color","space","size","width","height","radius","shadow","font","font-size","font-weight","line-height","letter-spacing","easing","media","unknown"]);function Of(i,e){if(i.type)return i;let t=i.$path.split(".");for(;!i.type&&(t=t.slice(0,-1),t.length!==0);)i.type=(0,Bt.default)(e,`${t.join(".")}.type`);if(i.type)return i;switch(typeof i.value){case"string":case"number":case"boolean":return i.type=typeof i.value,i;default:return i.value?Array.isArray(i.value)?(i.type="array",i):(i.type="object",i):(i.type="null",i)}}function Uf(i,e){let t=Rt(i.type.slice(1,-1),e);function r(s){for(let[l,n]of Object.entries(t.value)){let u=s[l],c={value:u};if(Object.assign(c,n),typeof u=="string"&&u.startsWith("{")&&u.endsWith("}")){let p=Rt(u.slice(1,-1),e);p&&Object.assign(c,p)}s[l]=c}return s}return Array.isArray(i.value)?i.value=i.value.map(s=>r(s)):i.value=r(i.value),i}function Lf(i,e){if(i.$scale)return i;if(i.type&&ha.has(i.type))return i.$scale=i.type,i;let t=i.$path.split(".");if(ha.has(t[0]))return i.$scale=t[0],i;if(typeof i.extensions=="object"&&i.extensions["com.tokencss.scale"])return i.$scale=i.extensions["com.tokencss.scale"],i;for(;!i.$scale&&(t=t.slice(0,-1),t.length!==0);)i.$scale=(0,Bt.default)(e,`${t.join(".")}.extensions`)?.["com.tokencss.scale"];return i.$scale||(i.$scale="unknown"),i}function kf(i,e){if(i.extensions)return i;let t=i.$path.split(".");for(;!i.extensions&&(t=t.slice(0,-1),t.length!==0);)i.extensions=(0,Bt.default)(e,`${t.join(".")}.extensions`);return i}function Rt(i,e){let t=(0,Bt.default)(e,i);if(t)return t.$path||(t.$path=i),typeof t.value=="string"&&t.value.startsWith("{")&&t.value.endsWith("}")?(t=Rt(t.value.slice(1,-1),e),t.$alias=t.$path,t.$path=i,t):(kf(t,e),Of(t,e),typeof t.type=="string"&&t.type.startsWith("{")&&t.type.endsWith("}")&&Uf(t,e),Lf(t,e),t)}C();S();A();var gi=async(i,e)=>({});gi.use=i=>{};gi.use([{name:"@proload/plugin-json",extensions:["json","jsonc"]}]);async function vi({cwd:i}){return(await gi("token",{cwd:i,mustExist:!1,accept(t){return t==="token.config.json"}}))?.value}function Pf(i,e,t){let r=[];function s(l,n){if(Array.isArray(l))return l.map(u=>s(u,n));switch(l.type){case"function":return s(l.nodes,l);case"word":{let u=hi(e,l.value,{scales:t});if(u&&t[u]){let p=t[u][l.value]?.$path;if(p){let g=$e(p);n?.type==="function"&&n?.value.startsWith("rgb")&&(g+="-rgb"),r.push(Object.assign(l,{token:g,scale:u}))}}return}}}return s(i),r}var da=({cwd:i=O.cwd(),config:e,onToken:t}={})=>{let r=e?null:vi({cwd:i}),s=e?lr(e):void 0,l=e?ar(e):void 0;return{postcssPlugin:"@tokencss/postcss",async AtRule(u){if(r&&!s&&(await r.then(c=>{s=lr(c),l=ar(c)}),r=null),u.name==="inject"){let c=u.params.replace(/^['"]/,"").replace(/['"]$/,"");if(!c.startsWith("tokencss:"))return;switch(c=c.slice(9),c){case"base":{let p=ua(l),{nodes:g}=ti(p.trim());u.replaceWith(...g);return}case"container":{let p=Object.values(s.media).filter(({value:m})=>m.includes("(min-width:")).map(({value:m})=>m),g="";g+=`
|
|
47
47
|
.container {`,g+=`
|
|
48
48
|
width: calc(100% - calc(var(--container-margin-inline, 0.75rem) * 2));`,g+=`
|
|
49
49
|
max-width: calc(var(--container-max-width, 100%) - calc(var(--container-margin-inline, 0.75rem) * 2));`,g+=`
|
|
@@ -54,7 +54,7 @@ https://www.w3ctech.com/topic/2226`));let u=t(...n);return u.postcssPlugin=e,u.p
|
|
|
54
54
|
}`;for(let m of p){let y=m.replace(/^.*\(min-width:\s*/,"").replace(/\)\s*$/,"");g+=`
|
|
55
55
|
@media ${m} {`,g+=`
|
|
56
56
|
:root { --container-max-width: ${y}; }`,g+=`
|
|
57
|
-
}`}let{nodes:d}=ti(g.trim());u.replaceWith(...d);return}}return}if(u.name==="media"){if(!s.media)return;let c=u.params;if(!(c.startsWith("(")&&c.endsWith(")"))||(c=c.slice(1,-1),!s.media[c]))return;u.assign({params:s.media[c].value})}},async Declaration(u){r&&!s&&(await r.then(y=>{s=lr(y),l=ar(y)}),r=null);let{prop:c,value:p}=u,{nodes:g}=(0,pa.default)(p),d=new
|
|
57
|
+
}`}let{nodes:d}=ti(g.trim());u.replaceWith(...d);return}}return}if(u.name==="media"){if(!s.media)return;let c=u.params;if(!(c.startsWith("(")&&c.endsWith(")"))||(c=c.slice(1,-1),!s.media[c]))return;u.assign({params:s.media[c].value})}},async Declaration(u){r&&!s&&(await r.then(y=>{s=lr(y),l=ar(y)}),r=null);let{prop:c,value:p}=u,{nodes:g}=(0,pa.default)(p),d=new _(p),m=Pf(g,c,s);for(let y of m){if(t){let x=u.rangeBy({word:y.value,index:y.sourceIndex,endIndex:y.sourceEndIndex});t({value:y.value,scale:y.scale,range:x})}d.overwrite(y.sourceIndex,y.sourceEndIndex,`var(${y.token})`)}u.assign({value:d.toString()})}}};da.postcss=!0;var ma=da;var ga={$schema:"https://tokencss.com/schema@0.0.1",media:{type:"media",sm:{value:"(min-width: 640px)"},md:{value:"(min-width: 768px)"},lg:{value:"(min-width: 1024px)"},xl:{value:"(min-width: 1280px)"},"2xl":{value:"(min-width: 1440px)"}},color:{type:"color",gray:{"0":{value:"#f8f9fa"},"1":{value:"#f1f3f5"},"2":{value:"#e9ecef"},"3":{value:"#dee2e6"},"4":{value:"#ced4da"},"5":{value:"#adb5bd"},"6":{value:"#868e96"},"7":{value:"#495057"},"8":{value:"#343a40"},"9":{value:"#212529"}},red:{"0":{value:"#fff5f5"},"1":{value:"#ffe3e3"},"2":{value:"#ffc9c9"},"3":{value:"#ffa8a8"},"4":{value:"#ff8787"},"5":{value:"#ff6b6b"},"6":{value:"#fa5252"},"7":{value:"#f03e3e"},"8":{value:"#e03131"},"9":{value:"#c92a2a"}},pink:{"0":{value:"#fff0f6"},"1":{value:"#ffdeeb"},"2":{value:"#fcc2d7"},"3":{value:"#faa2c1"},"4":{value:"#f783ac"},"5":{value:"#f06595"},"6":{value:"#e64980"},"7":{value:"#d6336c"},"8":{value:"#c2255c"},"9":{value:"#a61e4d"}},grape:{"0":{value:"#f8f0fc"},"1":{value:"#f3d9fa"},"2":{value:"#eebefa"},"3":{value:"#e599f7"},"4":{value:"#da77f2"},"5":{value:"#cc5de8"},"6":{value:"#be4bdb"},"7":{value:"#ae3ec9"},"8":{value:"#9c36b5"},"9":{value:"#862e9c"}},violet:{"0":{value:"#f3f0ff"},"1":{value:"#e5dbff"},"2":{value:"#d0bfff"},"3":{value:"#b197fc"},"4":{value:"#9775fa"},"5":{value:"#845ef7"},"6":{value:"#7950f2"},"7":{value:"#7048e8"},"8":{value:"#6741d9"},"9":{value:"#5f3dc4"}},indigo:{"0":{value:"#edf2ff"},"1":{value:"#dbe4ff"},"2":{value:"#bac8ff"},"3":{value:"#91a7ff"},"4":{value:"#748ffc"},"5":{value:"#5c7cfa"},"6":{value:"#4c6ef5"},"7":{value:"#4263eb"},"8":{value:"#3b5bdb"},"9":{value:"#364fc7"}},blue:{"0":{value:"#e7f5ff"},"1":{value:"#d0ebff"},"2":{value:"#a5d8ff"},"3":{value:"#74c0fc"},"4":{value:"#4dabf7"},"5":{value:"#339af0"},"6":{value:"#228be6"},"7":{value:"#1c7ed6"},"8":{value:"#1971c2"},"9":{value:"#1864ab"}},cyan:{"0":{value:"#e3fafc"},"1":{value:"#c5f6fa"},"2":{value:"#99e9f2"},"3":{value:"#66d9e8"},"4":{value:"#3bc9db"},"5":{value:"#22b8cf"},"6":{value:"#15aabf"},"7":{value:"#1098ad"},"8":{value:"#0c8599"},"9":{value:"#0b7285"}},teal:{"0":{value:"#e6fcf5"},"1":{value:"#c3fae8"},"2":{value:"#96f2d7"},"3":{value:"#63e6be"},"4":{value:"#38d9a9"},"5":{value:"#20c997"},"6":{value:"#12b886"},"7":{value:"#0ca678"},"8":{value:"#099268"},"9":{value:"#087f5b"}},green:{"0":{value:"#ebfbee"},"1":{value:"#d3f9d8"},"2":{value:"#b2f2bb"},"3":{value:"#8ce99a"},"4":{value:"#69db7c"},"5":{value:"#51cf66"},"6":{value:"#40c057"},"7":{value:"#37b24d"},"8":{value:"#2f9e44"},"9":{value:"#2b8a3e"}},lime:{"0":{value:"#f4fce3"},"1":{value:"#e9fac8"},"2":{value:"#d8f5a2"},"3":{value:"#c0eb75"},"4":{value:"#a9e34b"},"5":{value:"#94d82d"},"6":{value:"#82c91e"},"7":{value:"#74b816"},"8":{value:"#66a80f"},"9":{value:"#5c940d"}},yellow:{"0":{value:"#fff9db"},"1":{value:"#fff3bf"},"2":{value:"#ffec99"},"3":{value:"#ffe066"},"4":{value:"#ffd43b"},"5":{value:"#fcc419"},"6":{value:"#fab005"},"7":{value:"#f59f00"},"8":{value:"#f08c00"},"9":{value:"#e67700"}},orange:{"0":{value:"#fff4e6"},"1":{value:"#ffe8cc"},"2":{value:"#ffd8a8"},"3":{value:"#ffc078"},"4":{value:"#ffa94d"},"5":{value:"#ff922b"},"6":{value:"#fd7e14"},"7":{value:"#f76707"},"8":{value:"#e8590c"},"9":{value:"#d9480f"}}},space:{type:"dimension",extensions:{"com.tokencss.scale":"space"},"2xs":{value:".25rem"},xs:{value:".5rem"},sm:{value:"1rem"},md:{value:"1.25rem"},lg:{value:"1.5rem"},xl:{value:"1.75rem"},"2xl":{value:"2rem"},"3xl":{value:"3rem"},"4xl":{value:"4rem"},"5xl":{value:"5rem"},"6xl":{value:"7.5rem"},"7xl":{value:"10rem"},"8xl":{value:"15rem"},"9xl":{value:"20rem"},"10xl":{value:"30rem"}},size:{type:"dimension",extensions:{"com.tokencss.scale":"size"},full:{value:"100%"}},width:{type:"dimension",extensions:{"com.tokencss.scale":"width"},screen:{value:"100vw"}},height:{type:"dimension",extensions:{"com.tokencss.scale":"height"},screen:{value:"100vh"}},radius:{type:"dimension",none:{value:"0px"},sm:{value:"0.125rem"},default:{value:"0.25rem"},md:{value:"0.375rem"},lg:{value:"0.5rem"},xl:{value:"0.75rem"},"2xl":{value:"1rem"},"3xl":{value:"1.5rem"},full:{value:"9999px"}},shadow:{type:"shadow",sm:{value:{"offset-x":"0px","offset-y":"1px",blur:"2px",spread:"0px",color:"#000",opacity:.05}},default:{value:[{"offset-x":"0px","offset-y":"1px",blur:"3px",spread:"0px",color:"#000",opacity:.1},{"offset-x":"0px","offset-y":"1px",blur:"2px",spread:"-1px",color:"#000",opacity:.1}]},md:{value:[{"offset-x":"0px","offset-y":"4px",blur:"6px",spread:"-1px",color:"#000",opacity:.1},{"offset-x":"0px","offset-y":"2px",blur:"4px",spread:"-2px",color:"#000",opacity:.1}]},lg:{value:[{"offset-x":"0px","offset-y":"10px",blur:"15px",spread:"-3px",color:"#000",opacity:.1},{"offset-x":"0px","offset-y":"4px",blur:"6px",spread:"-4px",color:"#000",opacity:.1}]},xl:{value:[{"offset-x":"0px","offset-y":"20px",blur:"25px",spread:"-5px",color:"{color.blue.4}",opacity:.1},{"offset-x":"0px","offset-y":"8px",blur:"10px",spread:"-6px",color:"#000",opacity:.1}]},"2xl":{value:{"offset-x":"0px","offset-y":"25px",blur:"50px",spread:"-12px",color:"{color.blue.9}",opacity:.25}},none:{value:{"offset-x":"0px","offset-y":"0px",blur:"0px",spread:"0px",color:"#000",opacity:0}}},font:{type:"font",sans:{value:["system-ui","-apple-system","Segoe UI","Roboto","Ubuntu","Cantarell","Noto Sans","sans-serif"]},serif:{value:["ui-serif","serif"]},mono:{value:["Dank Mono","Operator Mono","Inconsolata","Fira Mono","ui-monospace","SF Mono","Monaco","Droid Sans Mono","Source Code Pro","monospace"]}},"font-size":{type:"dimension",extensions:{"com.tokencss.scale":"font-size"},xs:{value:"0.75rem"},sm:{value:"0.875rem"},default:{value:"1rem"},lg:{value:"1.125rem"},xl:{value:"1.25rem"},"2xl":{value:"1.5rem"},"3xl":{value:"1.875rem"},"4xl":{value:"2.25rem"},"5xl":{value:"3rem"},"6xl":{value:"3.75rem"},"7xl":{value:"4.5rem"},"8xl":{value:"6rem"},"9xl":{value:"8rem"}},"font-weight":{type:"number",extensions:{"com.tokencss.scale":"font-weight"},thin:{value:100},extralight:{value:200},light:{value:300},normal:{value:400},medium:{value:500},semibold:{value:600},bold:{value:700},extrabold:{value:800},black:{value:900}},"line-height":{type:"number",extensions:{"com.tokencss.scale":"line-height"},none:{value:1},tight:{value:1.25},snug:{value:1.375},normal:{value:1.5},relaxed:{value:1.625},loose:{value:2}},"letter-spacing":{type:"dimension",extensions:{"com.tokencss.scale":"letter-spacing"},tighter:{value:"-0.05em"},tight:{value:"-0.025em"},normal:{value:"0em"},wide:{value:"0.025em"},wider:{value:"0.05em"},widest:{value:"0.1em"}},easing:{type:"cubic-bezier",sine:{in:{value:[.12,0,.39,0]},out:{value:[.61,1,.88,1]},"in-out":{value:[.37,0,.63,1]}},quadratic:{in:{value:[.11,0,.5,0]},out:{value:[.5,1,.89,1]},"in-out":{value:[.45,0,.55,1]}},cubic:{in:{value:[.32,0,.67,0]},out:{value:[.33,1,.68,1]},"in-out":{value:[.65,0,.35,1]}},quartic:{in:{value:[.5,0,.75,0]},out:{value:[.25,1,.5,1]},"in-out":{value:[.76,0,.24,1]}},quintic:{in:{value:[.64,0,.78,0]},out:{value:[.22,1,.36,1]},"in-out":{value:[.83,0,.17,1]}},exponential:{in:{value:[.7,0,.84,0]},out:{value:[.16,1,.3,1]},"in-out":{value:[.87,0,.13,1]}},circular:{in:{value:[.55,0,1,.45]},out:{value:[0,.55,.45,1]},"in-out":{value:[.85,0,.15,1]}},back:{in:{value:[.36,0,.66,-.56]},out:{value:[.34,1.56,.64,1]},"in-out":{value:[.68,-.6,.32,1.6]}}}};return Be(_f);})();
|
|
58
58
|
/*! Bundled license information:
|
|
59
59
|
|
|
60
60
|
@jspm/core/nodelibs/browser/buffer.js:
|