@live-codes/browser-compilers 0.19.1 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/autoprefixer/autoprefixer.js +14 -14
- package/dist/cssnano/cssnano.js +32 -32
- 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 +2 -1
- package/scripts/vendors.js +14 -0
- package/vendor_modules/imports/monaco-tailwindcss.js +1 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var postcssPresetEnv=(()=>{var f4=Object.create;var Lo=Object.defineProperty;var d4=Object.getOwnPropertyDescriptor;var C4=Object.getOwnPropertyNames;var h4=Object.getPrototypeOf,m4=Object.prototype.hasOwnProperty;var Pt=(t,e)=>()=>(t&&(e=t(t=0)),e);var N=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ys=(t,e)=>{for(var r in e)Lo(t,r,{get:e[r],enumerable:!0})},nC=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of C4(e))!m4.call(t,s)&&s!==r&&Lo(t,s,{get:()=>e[s],enumerable:!(n=d4(e,s))||n.enumerable});return t};var Be=(t,e,r)=>(r=t!=null?f4(h4(t)):{},nC(e||!t||!t.__esModule?Lo(r,"default",{value:t,enumerable:!0}):r,t)),zr=t=>nC(Lo({},"__esModule",{value:!0}),t);var p=Pt(()=>{});var x={};Ys(x,{_debugEnd:()=>zC,_debugProcess:()=>HC,_events:()=>ah,_eventsCount:()=>lh,_exiting:()=>SC,_fatalExceptions:()=>VC,_getActiveHandles:()=>NC,_getActiveRequests:()=>AC,_kill:()=>OC,_linkedBinding:()=>DC,_maxListeners:()=>oh,_preload_modules:()=>nh,_rawDebug:()=>wC,_startProfilerIdleNotifier:()=>jC,_stopProfilerIdleNotifier:()=>QC,_tickCallback:()=>GC,abort:()=>XC,addListener:()=>uh,allowedNodeEnvironmentFlags:()=>MC,arch:()=>lC,argv:()=>cC,argv0:()=>rh,assert:()=>_C,binding:()=>hC,chdir:()=>vC,config:()=>kC,cpuUsage:()=>Mo,cwd:()=>gC,debugPort:()=>th,default:()=>gh,dlopen:()=>PC,domain:()=>xC,emit:()=>dh,emitWarning:()=>CC,env:()=>BC,execArgv:()=>pC,execPath:()=>eh,exit:()=>RC,features:()=>qC,hasUncaughtExceptionCaptureCallback:()=>WC,hrtime:()=>Fo,kill:()=>LC,listeners:()=>mh,memoryUsage:()=>IC,moduleLoadList:()=>bC,nextTick:()=>iC,off:()=>ch,on:()=>Nr,once:()=>Bh,openStdin:()=>FC,pid:()=>ZC,platform:()=>uC,ppid:()=>$C,prependListener:()=>Ch,prependOnceListener:()=>hh,reallyExit:()=>EC,release:()=>yC,removeAllListeners:()=>fh,removeListener:()=>ph,resourceUsage:()=>TC,setSourceMapsEnabled:()=>sh,setUncaughtExceptionCaptureCallback:()=>UC,stderr:()=>KC,stdin:()=>YC,stdout:()=>JC,title:()=>aC,umask:()=>mC,uptime:()=>ih,version:()=>fC,versions:()=>dC});function Vu(t){throw new Error("Node.js process "+t+" is not supported by JSPM core outside of Node.js")}function g4(){!ts||!Dn||(ts=!1,Dn.length?Ar=Dn.concat(Ar):Ro=-1,Ar.length&&sC())}function sC(){if(!ts){var t=setTimeout(g4,0);ts=!0;for(var e=Ar.length;e;){for(Dn=Ar,Ar=[];++Ro<e;)Dn&&Dn[Ro].run();Ro=-1,e=Ar.length}Dn=null,ts=!1,clearTimeout(t)}}function iC(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];Ar.push(new oC(t,e)),Ar.length===1&&!ts&&setTimeout(sC,0)}function oC(t,e){this.fun=t,this.array=e}function ot(){}function DC(t){Vu("_linkedBinding")}function PC(t){Vu("dlopen")}function AC(){return[]}function NC(){return[]}function _C(t,e){if(!t)throw new Error(e||"assertion error")}function WC(){return!1}function ih(){return jr.now()/1e3}function Fo(t){var e=Math.floor((Date.now()-jr.now())*.001),r=jr.now()*.001,n=Math.floor(r)+e,s=Math.floor(r%1*1e9);return t&&(n=n-t[0],s=s-t[1],s<0&&(n--,s+=qu)),[n,s]}function Nr(){return gh}function mh(t){return[]}var Ar,ts,Dn,Ro,aC,lC,uC,BC,cC,pC,fC,dC,CC,hC,mC,gC,vC,yC,wC,bC,xC,SC,kC,EC,OC,Mo,TC,IC,LC,RC,FC,MC,qC,VC,UC,GC,HC,zC,jC,QC,JC,KC,YC,XC,ZC,$C,eh,th,rh,nh,sh,jr,_u,qu,oh,ah,lh,uh,Bh,ch,ph,fh,dh,Ch,hh,gh,vh=Pt(()=>{p();d();f();Ar=[],ts=!1,Ro=-1;oC.prototype.run=function(){this.fun.apply(null,this.array)};aC="browser",lC="x64",uC="browser",BC={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},cC=["/usr/bin/node"],pC=[],fC="v16.8.0",dC={},CC=function(t,e){console.warn((e?e+": ":"")+t)},hC=function(t){Vu("binding")},mC=function(t){return 0},gC=function(){return"/"},vC=function(t){},yC={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};wC=ot,bC=[];xC={},SC=!1,kC={};EC=ot,OC=ot,Mo=function(){return{}},TC=Mo,IC=Mo,LC=ot,RC=ot,FC=ot,MC={};qC={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},VC=ot,UC=ot;GC=ot,HC=ot,zC=ot,jC=ot,QC=ot,JC=void 0,KC=void 0,YC=void 0,XC=ot,ZC=2,$C=1,eh="/bin/usr/node",th=9229,rh="node",nh=[],sh=ot,jr={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};jr.now===void 0&&(_u=Date.now(),jr.timing&&jr.timing.navigationStart&&(_u=jr.timing.navigationStart),jr.now=()=>Date.now()-_u);qu=1e9;Fo.bigint=function(t){var e=Fo(t);return typeof BigInt>"u"?e[0]*qu+e[1]:BigInt(e[0]*qu)+BigInt(e[1])};oh=10,ah={},lh=0;uh=Nr,Bh=Nr,ch=Nr,ph=Nr,fh=Nr,dh=ot,Ch=Nr,hh=Nr;gh={version:fC,versions:dC,arch:lC,platform:uC,release:yC,_rawDebug:wC,moduleLoadList:bC,binding:hC,_linkedBinding:DC,_events:ah,_eventsCount:lh,_maxListeners:oh,on:Nr,addListener:uh,once:Bh,off:ch,removeListener:ph,removeAllListeners:fh,emit:dh,prependListener:Ch,prependOnceListener:hh,listeners:mh,domain:xC,_exiting:SC,config:kC,dlopen:PC,uptime:ih,_getActiveRequests:AC,_getActiveHandles:NC,reallyExit:EC,_kill:OC,cpuUsage:Mo,resourceUsage:TC,memoryUsage:IC,kill:LC,exit:RC,openStdin:FC,allowedNodeEnvironmentFlags:MC,assert:_C,features:qC,_fatalExceptions:VC,setUncaughtExceptionCaptureCallback:UC,hasUncaughtExceptionCaptureCallback:WC,emitWarning:CC,nextTick:iC,_tickCallback:GC,_debugProcess:HC,_debugEnd:zC,_startProfilerIdleNotifier:jC,_stopProfilerIdleNotifier:QC,stdout:JC,stdin:YC,stderr:KC,abort:XC,umask:mC,chdir:vC,cwd:gC,env:BC,title:aC,argv:cC,execArgv:pC,pid:ZC,ppid:$C,execPath:eh,debugPort:th,hrtime:Fo,argv0:rh,_preload_modules:nh,setSourceMapsEnabled:sh}});var f=Pt(()=>{vh()});function v4(){if(yh)return Xs;yh=!0,Xs.byteLength=a,Xs.toByteArray=u,Xs.fromByteArray=h;for(var t=[],e=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,o=n.length;s<o;++s)t[s]=n[s],e[n.charCodeAt(s)]=s;e[45]=62,e[95]=63;function i(g){var v=g.length;if(v%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var w=g.indexOf("=");w===-1&&(w=v);var y=w===v?0:4-w%4;return[w,y]}function a(g){var v=i(g),w=v[0],y=v[1];return(w+y)*3/4-y}function l(g,v,w){return(v+w)*3/4-w}function u(g){var v,w=i(g),y=w[0],P=w[1],O=new r(l(g,y,P)),E=0,F=P>0?y-4:y,q;for(q=0;q<F;q+=4)v=e[g.charCodeAt(q)]<<18|e[g.charCodeAt(q+1)]<<12|e[g.charCodeAt(q+2)]<<6|e[g.charCodeAt(q+3)],O[E++]=v>>16&255,O[E++]=v>>8&255,O[E++]=v&255;return P===2&&(v=e[g.charCodeAt(q)]<<2|e[g.charCodeAt(q+1)]>>4,O[E++]=v&255),P===1&&(v=e[g.charCodeAt(q)]<<10|e[g.charCodeAt(q+1)]<<4|e[g.charCodeAt(q+2)]>>2,O[E++]=v>>8&255,O[E++]=v&255),O}function c(g){return t[g>>18&63]+t[g>>12&63]+t[g>>6&63]+t[g&63]}function B(g,v,w){for(var y,P=[],O=v;O<w;O+=3)y=(g[O]<<16&16711680)+(g[O+1]<<8&65280)+(g[O+2]&255),P.push(c(y));return P.join("")}function h(g){for(var v,w=g.length,y=w%3,P=[],O=16383,E=0,F=w-y;E<F;E+=O)P.push(B(g,E,E+O>F?F:E+O));return y===1?(v=g[w-1],P.push(t[v>>2]+t[v<<4&63]+"==")):y===2&&(v=(g[w-2]<<8)+g[w-1],P.push(t[v>>10]+t[v>>4&63]+t[v<<2&63]+"=")),P.join("")}return Xs}function y4(){if(wh)return _o;wh=!0;return _o.read=function(t,e,r,n,s){var o,i,a=s*8-n-1,l=(1<<a)-1,u=l>>1,c=-7,B=r?s-1:0,h=r?-1:1,g=t[e+B];for(B+=h,o=g&(1<<-c)-1,g>>=-c,c+=a;c>0;o=o*256+t[e+B],B+=h,c-=8);for(i=o&(1<<-c)-1,o>>=-c,c+=n;c>0;i=i*256+t[e+B],B+=h,c-=8);if(o===0)o=1-u;else{if(o===l)return i?NaN:(g?-1:1)*(1/0);i=i+Math.pow(2,n),o=o-u}return(g?-1:1)*i*Math.pow(2,o-n)},_o.write=function(t,e,r,n,s,o){var i,a,l,u=o*8-s-1,c=(1<<u)-1,B=c>>1,h=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=n?0:o-1,v=n?1:-1,w=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,i=c):(i=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-i))<1&&(i--,l*=2),i+B>=1?e+=h/l:e+=h*Math.pow(2,1-B),e*l>=2&&(i++,l/=2),i+B>=c?(a=0,i=c):i+B>=1?(a=(e*l-1)*Math.pow(2,s),i=i+B):(a=e*Math.pow(2,B-1)*Math.pow(2,s),i=0));s>=8;t[r+g]=a&255,g+=v,a/=256,s-=8);for(i=i<<s|a,u+=s;u>0;t[r+g]=i&255,g+=v,i/=256,u-=8);t[r+g-v]|=w*128},_o}function w4(){if(bh)return xn;bh=!0;let t=v4(),e=y4(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;xn.Buffer=i,xn.SlowBuffer=P,xn.INSPECT_MAX_BYTES=50;let n=2147483647;xn.kMaxLength=n,i.TYPED_ARRAY_SUPPORT=s(),!i.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 b=new Uint8Array(1),C={foo:function(){return 42}};return Object.setPrototypeOf(C,Uint8Array.prototype),Object.setPrototypeOf(b,C),b.foo()===42}catch{return!1}}Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}});function o(b){if(b>n)throw new RangeError('The value "'+b+'" is invalid for option "size"');let C=new Uint8Array(b);return Object.setPrototypeOf(C,i.prototype),C}function i(b,C,m){if(typeof b=="number"){if(typeof C=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return c(b)}return a(b,C,m)}i.poolSize=8192;function a(b,C,m){if(typeof b=="string")return B(b,C);if(ArrayBuffer.isView(b))return g(b);if(b==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof b);if(ir(b,ArrayBuffer)||b&&ir(b.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ir(b,SharedArrayBuffer)||b&&ir(b.buffer,SharedArrayBuffer)))return v(b,C,m);if(typeof b=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let A=b.valueOf&&b.valueOf();if(A!=null&&A!==b)return i.from(A,C,m);let T=w(b);if(T)return T;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof b[Symbol.toPrimitive]=="function")return i.from(b[Symbol.toPrimitive]("string"),C,m);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof b)}i.from=function(b,C,m){return a(b,C,m)},Object.setPrototypeOf(i.prototype,Uint8Array.prototype),Object.setPrototypeOf(i,Uint8Array);function l(b){if(typeof b!="number")throw new TypeError('"size" argument must be of type number');if(b<0)throw new RangeError('The value "'+b+'" is invalid for option "size"')}function u(b,C,m){return l(b),b<=0?o(b):C!==void 0?typeof m=="string"?o(b).fill(C,m):o(b).fill(C):o(b)}i.alloc=function(b,C,m){return u(b,C,m)};function c(b){return l(b),o(b<0?0:y(b)|0)}i.allocUnsafe=function(b){return c(b)},i.allocUnsafeSlow=function(b){return c(b)};function B(b,C){if((typeof C!="string"||C==="")&&(C="utf8"),!i.isEncoding(C))throw new TypeError("Unknown encoding: "+C);let m=O(b,C)|0,A=o(m),T=A.write(b,C);return T!==m&&(A=A.slice(0,T)),A}function h(b){let C=b.length<0?0:y(b.length)|0,m=o(C);for(let A=0;A<C;A+=1)m[A]=b[A]&255;return m}function g(b){if(ir(b,Uint8Array)){let C=new Uint8Array(b);return v(C.buffer,C.byteOffset,C.byteLength)}return h(b)}function v(b,C,m){if(C<0||b.byteLength<C)throw new RangeError('"offset" is outside of buffer bounds');if(b.byteLength<C+(m||0))throw new RangeError('"length" is outside of buffer bounds');let A;return C===void 0&&m===void 0?A=new Uint8Array(b):m===void 0?A=new Uint8Array(b,C):A=new Uint8Array(b,C,m),Object.setPrototypeOf(A,i.prototype),A}function w(b){if(i.isBuffer(b)){let C=y(b.length)|0,m=o(C);return m.length===0||b.copy(m,0,0,C),m}if(b.length!==void 0)return typeof b.length!="number"||Mu(b.length)?o(0):h(b);if(b.type==="Buffer"&&Array.isArray(b.data))return h(b.data)}function y(b){if(b>=n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+" bytes");return b|0}function P(b){return+b!=b&&(b=0),i.alloc(+b)}i.isBuffer=function(C){return C!=null&&C._isBuffer===!0&&C!==i.prototype},i.compare=function(C,m){if(ir(C,Uint8Array)&&(C=i.from(C,C.offset,C.byteLength)),ir(m,Uint8Array)&&(m=i.from(m,m.offset,m.byteLength)),!i.isBuffer(C)||!i.isBuffer(m))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(C===m)return 0;let A=C.length,T=m.length;for(let L=0,M=Math.min(A,T);L<M;++L)if(C[L]!==m[L]){A=C[L],T=m[L];break}return A<T?-1:T<A?1:0},i.isEncoding=function(C){switch(String(C).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}},i.concat=function(C,m){if(!Array.isArray(C))throw new TypeError('"list" argument must be an Array of Buffers');if(C.length===0)return i.alloc(0);let A;if(m===void 0)for(m=0,A=0;A<C.length;++A)m+=C[A].length;let T=i.allocUnsafe(m),L=0;for(A=0;A<C.length;++A){let M=C[A];if(ir(M,Uint8Array))L+M.length>T.length?(i.isBuffer(M)||(M=i.from(M)),M.copy(T,L)):Uint8Array.prototype.set.call(T,M,L);else if(i.isBuffer(M))M.copy(T,L);else throw new TypeError('"list" argument must be an Array of Buffers');L+=M.length}return T};function O(b,C){if(i.isBuffer(b))return b.length;if(ArrayBuffer.isView(b)||ir(b,ArrayBuffer))return b.byteLength;if(typeof b!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof b);let m=b.length,A=arguments.length>2&&arguments[2]===!0;if(!A&&m===0)return 0;let T=!1;for(;;)switch(C){case"ascii":case"latin1":case"binary":return m;case"utf8":case"utf-8":return Fu(b).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return m*2;case"hex":return m>>>1;case"base64":return rC(b).length;default:if(T)return A?-1:Fu(b).length;C=(""+C).toLowerCase(),T=!0}}i.byteLength=O;function E(b,C,m){let A=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((m===void 0||m>this.length)&&(m=this.length),m<=0)||(m>>>=0,C>>>=0,m<=C))return"";for(b||(b="utf8");;)switch(b){case"hex":return s4(this,C,m);case"utf8":case"utf-8":return kt(this,C,m);case"ascii":return Lu(this,C,m);case"latin1":case"binary":return n4(this,C,m);case"base64":return $e(this,C,m);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i4(this,C,m);default:if(A)throw new TypeError("Unknown encoding: "+b);b=(b+"").toLowerCase(),A=!0}}i.prototype._isBuffer=!0;function F(b,C,m){let A=b[C];b[C]=b[m],b[m]=A}i.prototype.swap16=function(){let C=this.length;if(C%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let m=0;m<C;m+=2)F(this,m,m+1);return this},i.prototype.swap32=function(){let C=this.length;if(C%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let m=0;m<C;m+=4)F(this,m,m+3),F(this,m+1,m+2);return this},i.prototype.swap64=function(){let C=this.length;if(C%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let m=0;m<C;m+=8)F(this,m,m+7),F(this,m+1,m+6),F(this,m+2,m+5),F(this,m+3,m+4);return this},i.prototype.toString=function(){let C=this.length;return C===0?"":arguments.length===0?kt(this,0,C):E.apply(this,arguments)},i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(C){if(!i.isBuffer(C))throw new TypeError("Argument must be a Buffer");return this===C?!0:i.compare(this,C)===0},i.prototype.inspect=function(){let C="",m=xn.INSPECT_MAX_BYTES;return C=this.toString("hex",0,m).replace(/(.{2})/g,"$1 ").trim(),this.length>m&&(C+=" ... "),"<Buffer "+C+">"},r&&(i.prototype[r]=i.prototype.inspect),i.prototype.compare=function(C,m,A,T,L){if(ir(C,Uint8Array)&&(C=i.from(C,C.offset,C.byteLength)),!i.isBuffer(C))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof C);if(m===void 0&&(m=0),A===void 0&&(A=C?C.length:0),T===void 0&&(T=0),L===void 0&&(L=this.length),m<0||A>C.length||T<0||L>this.length)throw new RangeError("out of range index");if(T>=L&&m>=A)return 0;if(T>=L)return-1;if(m>=A)return 1;if(m>>>=0,A>>>=0,T>>>=0,L>>>=0,this===C)return 0;let M=L-T,ue=A-m,We=Math.min(M,ue),Ie=this.slice(T,L),Ge=C.slice(m,A);for(let be=0;be<We;++be)if(Ie[be]!==Ge[be]){M=Ie[be],ue=Ge[be];break}return M<ue?-1:ue<M?1:0};function q(b,C,m,A,T){if(b.length===0)return-1;if(typeof m=="string"?(A=m,m=0):m>2147483647?m=2147483647:m<-2147483648&&(m=-2147483648),m=+m,Mu(m)&&(m=T?0:b.length-1),m<0&&(m=b.length+m),m>=b.length){if(T)return-1;m=b.length-1}else if(m<0)if(T)m=0;else return-1;if(typeof C=="string"&&(C=i.from(C,A)),i.isBuffer(C))return C.length===0?-1:ve(b,C,m,A,T);if(typeof C=="number")return C=C&255,typeof Uint8Array.prototype.indexOf=="function"?T?Uint8Array.prototype.indexOf.call(b,C,m):Uint8Array.prototype.lastIndexOf.call(b,C,m):ve(b,[C],m,A,T);throw new TypeError("val must be string, number or Buffer")}function ve(b,C,m,A,T){let L=1,M=b.length,ue=C.length;if(A!==void 0&&(A=String(A).toLowerCase(),A==="ucs2"||A==="ucs-2"||A==="utf16le"||A==="utf-16le")){if(b.length<2||C.length<2)return-1;L=2,M/=2,ue/=2,m/=2}function We(Ge,be){return L===1?Ge[be]:Ge.readUInt16BE(be*L)}let Ie;if(T){let Ge=-1;for(Ie=m;Ie<M;Ie++)if(We(b,Ie)===We(C,Ge===-1?0:Ie-Ge)){if(Ge===-1&&(Ge=Ie),Ie-Ge+1===ue)return Ge*L}else Ge!==-1&&(Ie-=Ie-Ge),Ge=-1}else for(m+ue>M&&(m=M-ue),Ie=m;Ie>=0;Ie--){let Ge=!0;for(let be=0;be<ue;be++)if(We(b,Ie+be)!==We(C,be)){Ge=!1;break}if(Ge)return Ie}return-1}i.prototype.includes=function(C,m,A){return this.indexOf(C,m,A)!==-1},i.prototype.indexOf=function(C,m,A){return q(this,C,m,A,!0)},i.prototype.lastIndexOf=function(C,m,A){return q(this,C,m,A,!1)};function oe(b,C,m,A){m=Number(m)||0;let T=b.length-m;A?(A=Number(A),A>T&&(A=T)):A=T;let L=C.length;A>L/2&&(A=L/2);let M;for(M=0;M<A;++M){let ue=parseInt(C.substr(M*2,2),16);if(Mu(ue))return M;b[m+M]=ue}return M}function le(b,C,m,A){return Io(Fu(C,b.length-m),b,m,A)}function J(b,C,m,A){return Io(u4(C),b,m,A)}function Z(b,C,m,A){return Io(rC(C),b,m,A)}function Lt(b,C,m,A){return Io(B4(C,b.length-m),b,m,A)}i.prototype.write=function(C,m,A,T){if(m===void 0)T="utf8",A=this.length,m=0;else if(A===void 0&&typeof m=="string")T=m,A=this.length,m=0;else if(isFinite(m))m=m>>>0,isFinite(A)?(A=A>>>0,T===void 0&&(T="utf8")):(T=A,A=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let L=this.length-m;if((A===void 0||A>L)&&(A=L),C.length>0&&(A<0||m<0)||m>this.length)throw new RangeError("Attempt to write outside buffer bounds");T||(T="utf8");let M=!1;for(;;)switch(T){case"hex":return oe(this,C,m,A);case"utf8":case"utf-8":return le(this,C,m,A);case"ascii":case"latin1":case"binary":return J(this,C,m,A);case"base64":return Z(this,C,m,A);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Lt(this,C,m,A);default:if(M)throw new TypeError("Unknown encoding: "+T);T=(""+T).toLowerCase(),M=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function $e(b,C,m){return C===0&&m===b.length?t.fromByteArray(b):t.fromByteArray(b.slice(C,m))}function kt(b,C,m){m=Math.min(b.length,m);let A=[],T=C;for(;T<m;){let L=b[T],M=null,ue=L>239?4:L>223?3:L>191?2:1;if(T+ue<=m){let We,Ie,Ge,be;switch(ue){case 1:L<128&&(M=L);break;case 2:We=b[T+1],(We&192)===128&&(be=(L&31)<<6|We&63,be>127&&(M=be));break;case 3:We=b[T+1],Ie=b[T+2],(We&192)===128&&(Ie&192)===128&&(be=(L&15)<<12|(We&63)<<6|Ie&63,be>2047&&(be<55296||be>57343)&&(M=be));break;case 4:We=b[T+1],Ie=b[T+2],Ge=b[T+3],(We&192)===128&&(Ie&192)===128&&(Ge&192)===128&&(be=(L&15)<<18|(We&63)<<12|(Ie&63)<<6|Ge&63,be>65535&&be<1114112&&(M=be))}}M===null?(M=65533,ue=1):M>65535&&(M-=65536,A.push(M>>>10&1023|55296),M=56320|M&1023),A.push(M),T+=ue}return Zn(A)}let Rt=4096;function Zn(b){let C=b.length;if(C<=Rt)return String.fromCharCode.apply(String,b);let m="",A=0;for(;A<C;)m+=String.fromCharCode.apply(String,b.slice(A,A+=Rt));return m}function Lu(b,C,m){let A="";m=Math.min(b.length,m);for(let T=C;T<m;++T)A+=String.fromCharCode(b[T]&127);return A}function n4(b,C,m){let A="";m=Math.min(b.length,m);for(let T=C;T<m;++T)A+=String.fromCharCode(b[T]);return A}function s4(b,C,m){let A=b.length;(!C||C<0)&&(C=0),(!m||m<0||m>A)&&(m=A);let T="";for(let L=C;L<m;++L)T+=c4[b[L]];return T}function i4(b,C,m){let A=b.slice(C,m),T="";for(let L=0;L<A.length-1;L+=2)T+=String.fromCharCode(A[L]+A[L+1]*256);return T}i.prototype.slice=function(C,m){let A=this.length;C=~~C,m=m===void 0?A:~~m,C<0?(C+=A,C<0&&(C=0)):C>A&&(C=A),m<0?(m+=A,m<0&&(m=0)):m>A&&(m=A),m<C&&(m=C);let T=this.subarray(C,m);return Object.setPrototypeOf(T,i.prototype),T};function st(b,C,m){if(b%1!==0||b<0)throw new RangeError("offset is not uint");if(b+C>m)throw new RangeError("Trying to access beyond buffer length")}i.prototype.readUintLE=i.prototype.readUIntLE=function(C,m,A){C=C>>>0,m=m>>>0,A||st(C,m,this.length);let T=this[C],L=1,M=0;for(;++M<m&&(L*=256);)T+=this[C+M]*L;return T},i.prototype.readUintBE=i.prototype.readUIntBE=function(C,m,A){C=C>>>0,m=m>>>0,A||st(C,m,this.length);let T=this[C+--m],L=1;for(;m>0&&(L*=256);)T+=this[C+--m]*L;return T},i.prototype.readUint8=i.prototype.readUInt8=function(C,m){return C=C>>>0,m||st(C,1,this.length),this[C]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(C,m){return C=C>>>0,m||st(C,2,this.length),this[C]|this[C+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(C,m){return C=C>>>0,m||st(C,2,this.length),this[C]<<8|this[C+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(C,m){return C=C>>>0,m||st(C,4,this.length),(this[C]|this[C+1]<<8|this[C+2]<<16)+this[C+3]*16777216},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(C,m){return C=C>>>0,m||st(C,4,this.length),this[C]*16777216+(this[C+1]<<16|this[C+2]<<8|this[C+3])},i.prototype.readBigUInt64LE=Hr(function(C){C=C>>>0,es(C,"offset");let m=this[C],A=this[C+7];(m===void 0||A===void 0)&&Ks(C,this.length-8);let T=m+this[++C]*2**8+this[++C]*2**16+this[++C]*2**24,L=this[++C]+this[++C]*2**8+this[++C]*2**16+A*2**24;return BigInt(T)+(BigInt(L)<<BigInt(32))}),i.prototype.readBigUInt64BE=Hr(function(C){C=C>>>0,es(C,"offset");let m=this[C],A=this[C+7];(m===void 0||A===void 0)&&Ks(C,this.length-8);let T=m*2**24+this[++C]*2**16+this[++C]*2**8+this[++C],L=this[++C]*2**24+this[++C]*2**16+this[++C]*2**8+A;return(BigInt(T)<<BigInt(32))+BigInt(L)}),i.prototype.readIntLE=function(C,m,A){C=C>>>0,m=m>>>0,A||st(C,m,this.length);let T=this[C],L=1,M=0;for(;++M<m&&(L*=256);)T+=this[C+M]*L;return L*=128,T>=L&&(T-=Math.pow(2,8*m)),T},i.prototype.readIntBE=function(C,m,A){C=C>>>0,m=m>>>0,A||st(C,m,this.length);let T=m,L=1,M=this[C+--T];for(;T>0&&(L*=256);)M+=this[C+--T]*L;return L*=128,M>=L&&(M-=Math.pow(2,8*m)),M},i.prototype.readInt8=function(C,m){return C=C>>>0,m||st(C,1,this.length),this[C]&128?(255-this[C]+1)*-1:this[C]},i.prototype.readInt16LE=function(C,m){C=C>>>0,m||st(C,2,this.length);let A=this[C]|this[C+1]<<8;return A&32768?A|4294901760:A},i.prototype.readInt16BE=function(C,m){C=C>>>0,m||st(C,2,this.length);let A=this[C+1]|this[C]<<8;return A&32768?A|4294901760:A},i.prototype.readInt32LE=function(C,m){return C=C>>>0,m||st(C,4,this.length),this[C]|this[C+1]<<8|this[C+2]<<16|this[C+3]<<24},i.prototype.readInt32BE=function(C,m){return C=C>>>0,m||st(C,4,this.length),this[C]<<24|this[C+1]<<16|this[C+2]<<8|this[C+3]},i.prototype.readBigInt64LE=Hr(function(C){C=C>>>0,es(C,"offset");let m=this[C],A=this[C+7];(m===void 0||A===void 0)&&Ks(C,this.length-8);let T=this[C+4]+this[C+5]*2**8+this[C+6]*2**16+(A<<24);return(BigInt(T)<<BigInt(32))+BigInt(m+this[++C]*2**8+this[++C]*2**16+this[++C]*2**24)}),i.prototype.readBigInt64BE=Hr(function(C){C=C>>>0,es(C,"offset");let m=this[C],A=this[C+7];(m===void 0||A===void 0)&&Ks(C,this.length-8);let T=(m<<24)+this[++C]*2**16+this[++C]*2**8+this[++C];return(BigInt(T)<<BigInt(32))+BigInt(this[++C]*2**24+this[++C]*2**16+this[++C]*2**8+A)}),i.prototype.readFloatLE=function(C,m){return C=C>>>0,m||st(C,4,this.length),e.read(this,C,!0,23,4)},i.prototype.readFloatBE=function(C,m){return C=C>>>0,m||st(C,4,this.length),e.read(this,C,!1,23,4)},i.prototype.readDoubleLE=function(C,m){return C=C>>>0,m||st(C,8,this.length),e.read(this,C,!0,52,8)},i.prototype.readDoubleBE=function(C,m){return C=C>>>0,m||st(C,8,this.length),e.read(this,C,!1,52,8)};function mt(b,C,m,A,T,L){if(!i.isBuffer(b))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>T||C<L)throw new RangeError('"value" argument is out of bounds');if(m+A>b.length)throw new RangeError("Index out of range")}i.prototype.writeUintLE=i.prototype.writeUIntLE=function(C,m,A,T){if(C=+C,m=m>>>0,A=A>>>0,!T){let ue=Math.pow(2,8*A)-1;mt(this,C,m,A,ue,0)}let L=1,M=0;for(this[m]=C&255;++M<A&&(L*=256);)this[m+M]=C/L&255;return m+A},i.prototype.writeUintBE=i.prototype.writeUIntBE=function(C,m,A,T){if(C=+C,m=m>>>0,A=A>>>0,!T){let ue=Math.pow(2,8*A)-1;mt(this,C,m,A,ue,0)}let L=A-1,M=1;for(this[m+L]=C&255;--L>=0&&(M*=256);)this[m+L]=C/M&255;return m+A},i.prototype.writeUint8=i.prototype.writeUInt8=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,1,255,0),this[m]=C&255,m+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,2,65535,0),this[m]=C&255,this[m+1]=C>>>8,m+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,2,65535,0),this[m]=C>>>8,this[m+1]=C&255,m+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,4,4294967295,0),this[m+3]=C>>>24,this[m+2]=C>>>16,this[m+1]=C>>>8,this[m]=C&255,m+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,4,4294967295,0),this[m]=C>>>24,this[m+1]=C>>>16,this[m+2]=C>>>8,this[m+3]=C&255,m+4};function Kd(b,C,m,A,T){tC(C,A,T,b,m,7);let L=Number(C&BigInt(4294967295));b[m++]=L,L=L>>8,b[m++]=L,L=L>>8,b[m++]=L,L=L>>8,b[m++]=L;let M=Number(C>>BigInt(32)&BigInt(4294967295));return b[m++]=M,M=M>>8,b[m++]=M,M=M>>8,b[m++]=M,M=M>>8,b[m++]=M,m}function Yd(b,C,m,A,T){tC(C,A,T,b,m,7);let L=Number(C&BigInt(4294967295));b[m+7]=L,L=L>>8,b[m+6]=L,L=L>>8,b[m+5]=L,L=L>>8,b[m+4]=L;let M=Number(C>>BigInt(32)&BigInt(4294967295));return b[m+3]=M,M=M>>8,b[m+2]=M,M=M>>8,b[m+1]=M,M=M>>8,b[m]=M,m+8}i.prototype.writeBigUInt64LE=Hr(function(C,m=0){return Kd(this,C,m,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeBigUInt64BE=Hr(function(C,m=0){return Yd(this,C,m,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeIntLE=function(C,m,A,T){if(C=+C,m=m>>>0,!T){let We=Math.pow(2,8*A-1);mt(this,C,m,A,We-1,-We)}let L=0,M=1,ue=0;for(this[m]=C&255;++L<A&&(M*=256);)C<0&&ue===0&&this[m+L-1]!==0&&(ue=1),this[m+L]=(C/M>>0)-ue&255;return m+A},i.prototype.writeIntBE=function(C,m,A,T){if(C=+C,m=m>>>0,!T){let We=Math.pow(2,8*A-1);mt(this,C,m,A,We-1,-We)}let L=A-1,M=1,ue=0;for(this[m+L]=C&255;--L>=0&&(M*=256);)C<0&&ue===0&&this[m+L+1]!==0&&(ue=1),this[m+L]=(C/M>>0)-ue&255;return m+A},i.prototype.writeInt8=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,1,127,-128),C<0&&(C=255+C+1),this[m]=C&255,m+1},i.prototype.writeInt16LE=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,2,32767,-32768),this[m]=C&255,this[m+1]=C>>>8,m+2},i.prototype.writeInt16BE=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,2,32767,-32768),this[m]=C>>>8,this[m+1]=C&255,m+2},i.prototype.writeInt32LE=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,4,2147483647,-2147483648),this[m]=C&255,this[m+1]=C>>>8,this[m+2]=C>>>16,this[m+3]=C>>>24,m+4},i.prototype.writeInt32BE=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,4,2147483647,-2147483648),C<0&&(C=4294967295+C+1),this[m]=C>>>24,this[m+1]=C>>>16,this[m+2]=C>>>8,this[m+3]=C&255,m+4},i.prototype.writeBigInt64LE=Hr(function(C,m=0){return Kd(this,C,m,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),i.prototype.writeBigInt64BE=Hr(function(C,m=0){return Yd(this,C,m,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Xd(b,C,m,A,T,L){if(m+A>b.length)throw new RangeError("Index out of range");if(m<0)throw new RangeError("Index out of range")}function Zd(b,C,m,A,T){return C=+C,m=m>>>0,T||Xd(b,C,m,4),e.write(b,C,m,A,23,4),m+4}i.prototype.writeFloatLE=function(C,m,A){return Zd(this,C,m,!0,A)},i.prototype.writeFloatBE=function(C,m,A){return Zd(this,C,m,!1,A)};function $d(b,C,m,A,T){return C=+C,m=m>>>0,T||Xd(b,C,m,8),e.write(b,C,m,A,52,8),m+8}i.prototype.writeDoubleLE=function(C,m,A){return $d(this,C,m,!0,A)},i.prototype.writeDoubleBE=function(C,m,A){return $d(this,C,m,!1,A)},i.prototype.copy=function(C,m,A,T){if(!i.isBuffer(C))throw new TypeError("argument should be a Buffer");if(A||(A=0),!T&&T!==0&&(T=this.length),m>=C.length&&(m=C.length),m||(m=0),T>0&&T<A&&(T=A),T===A||C.length===0||this.length===0)return 0;if(m<0)throw new RangeError("targetStart out of bounds");if(A<0||A>=this.length)throw new RangeError("Index out of range");if(T<0)throw new RangeError("sourceEnd out of bounds");T>this.length&&(T=this.length),C.length-m<T-A&&(T=C.length-m+A);let L=T-A;return this===C&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(m,A,T):Uint8Array.prototype.set.call(C,this.subarray(A,T),m),L},i.prototype.fill=function(C,m,A,T){if(typeof C=="string"){if(typeof m=="string"?(T=m,m=0,A=this.length):typeof A=="string"&&(T=A,A=this.length),T!==void 0&&typeof T!="string")throw new TypeError("encoding must be a string");if(typeof T=="string"&&!i.isEncoding(T))throw new TypeError("Unknown encoding: "+T);if(C.length===1){let M=C.charCodeAt(0);(T==="utf8"&&M<128||T==="latin1")&&(C=M)}}else typeof C=="number"?C=C&255:typeof C=="boolean"&&(C=Number(C));if(m<0||this.length<m||this.length<A)throw new RangeError("Out of range index");if(A<=m)return this;m=m>>>0,A=A===void 0?this.length:A>>>0,C||(C=0);let L;if(typeof C=="number")for(L=m;L<A;++L)this[L]=C;else{let M=i.isBuffer(C)?C:i.from(C,T),ue=M.length;if(ue===0)throw new TypeError('The value "'+C+'" is invalid for argument "value"');for(L=0;L<A-m;++L)this[L+m]=M[L%ue]}return this};let $n={};function Ru(b,C,m){$n[b]=class extends m{constructor(){super(),Object.defineProperty(this,"message",{value:C.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${b}]`,this.stack,delete this.name}get code(){return b}set code(T){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:T,writable:!0})}toString(){return`${this.name} [${b}]: ${this.message}`}}}Ru("ERR_BUFFER_OUT_OF_BOUNDS",function(b){return b?`${b} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Ru("ERR_INVALID_ARG_TYPE",function(b,C){return`The "${b}" argument must be of type number. Received type ${typeof C}`},TypeError),Ru("ERR_OUT_OF_RANGE",function(b,C,m){let A=`The value of "${b}" is out of range.`,T=m;return Number.isInteger(m)&&Math.abs(m)>2**32?T=eC(String(m)):typeof m=="bigint"&&(T=String(m),(m>BigInt(2)**BigInt(32)||m<-(BigInt(2)**BigInt(32)))&&(T=eC(T)),T+="n"),A+=` It must be ${C}. Received ${T}`,A},RangeError);function eC(b){let C="",m=b.length,A=b[0]==="-"?1:0;for(;m>=A+4;m-=3)C=`_${b.slice(m-3,m)}${C}`;return`${b.slice(0,m)}${C}`}function o4(b,C,m){es(C,"offset"),(b[C]===void 0||b[C+m]===void 0)&&Ks(C,b.length-(m+1))}function tC(b,C,m,A,T,L){if(b>m||b<C){let M=typeof C=="bigint"?"n":"",ue;throw L>3?C===0||C===BigInt(0)?ue=`>= 0${M} and < 2${M} ** ${(L+1)*8}${M}`:ue=`>= -(2${M} ** ${(L+1)*8-1}${M}) and < 2 ** ${(L+1)*8-1}${M}`:ue=`>= ${C}${M} and <= ${m}${M}`,new $n.ERR_OUT_OF_RANGE("value",ue,b)}o4(A,T,L)}function es(b,C){if(typeof b!="number")throw new $n.ERR_INVALID_ARG_TYPE(C,"number",b)}function Ks(b,C,m){throw Math.floor(b)!==b?(es(b,m),new $n.ERR_OUT_OF_RANGE(m||"offset","an integer",b)):C<0?new $n.ERR_BUFFER_OUT_OF_BOUNDS:new $n.ERR_OUT_OF_RANGE(m||"offset",`>= ${m?1:0} and <= ${C}`,b)}let a4=/[^+/0-9A-Za-z-_]/g;function l4(b){if(b=b.split("=")[0],b=b.trim().replace(a4,""),b.length<2)return"";for(;b.length%4!==0;)b=b+"=";return b}function Fu(b,C){C=C||1/0;let m,A=b.length,T=null,L=[];for(let M=0;M<A;++M){if(m=b.charCodeAt(M),m>55295&&m<57344){if(!T){if(m>56319){(C-=3)>-1&&L.push(239,191,189);continue}else if(M+1===A){(C-=3)>-1&&L.push(239,191,189);continue}T=m;continue}if(m<56320){(C-=3)>-1&&L.push(239,191,189),T=m;continue}m=(T-55296<<10|m-56320)+65536}else T&&(C-=3)>-1&&L.push(239,191,189);if(T=null,m<128){if((C-=1)<0)break;L.push(m)}else if(m<2048){if((C-=2)<0)break;L.push(m>>6|192,m&63|128)}else if(m<65536){if((C-=3)<0)break;L.push(m>>12|224,m>>6&63|128,m&63|128)}else if(m<1114112){if((C-=4)<0)break;L.push(m>>18|240,m>>12&63|128,m>>6&63|128,m&63|128)}else throw new Error("Invalid code point")}return L}function u4(b){let C=[];for(let m=0;m<b.length;++m)C.push(b.charCodeAt(m)&255);return C}function B4(b,C){let m,A,T,L=[];for(let M=0;M<b.length&&!((C-=2)<0);++M)m=b.charCodeAt(M),A=m>>8,T=m%256,L.push(T),L.push(A);return L}function rC(b){return t.toByteArray(l4(b))}function Io(b,C,m,A){let T;for(T=0;T<A&&!(T+m>=C.length||T>=b.length);++T)C[T+m]=b[T];return T}function ir(b,C){return b instanceof C||b!=null&&b.constructor!=null&&b.constructor.name!=null&&b.constructor.name===C.name}function Mu(b){return b!==b}let c4=function(){let b="0123456789abcdef",C=new Array(256);for(let m=0;m<16;++m){let A=m*16;for(let T=0;T<16;++T)C[A+T]=b[m]+b[T]}return C}();function Hr(b){return typeof BigInt>"u"?p4:b}function p4(){throw new Error("BigInt not supported")}return xn}var Xs,yh,_o,wh,xn,bh,Sn,S,dV,CV,Dh=Pt(()=>{p();d();f();Xs={},yh=!1;_o={},wh=!1;xn={},bh=!1;Sn=w4();Sn.Buffer;Sn.SlowBuffer;Sn.INSPECT_MAX_BYTES;Sn.kMaxLength;S=Sn.Buffer,dV=Sn.INSPECT_MAX_BYTES,CV=Sn.kMaxLength});var d=Pt(()=>{Dh()});var Sh=N((bV,xh)=>{p();d();f();xh.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}});var Uu=N((kV,kh)=>{p();d();f();kh.exports.browsers=Sh()});var Ah=N((EV,Ph)=>{p();d();f();Ph.exports={0:"25",1:"112",2:"113",3:"114",4:"115",5:"116",6:"117",7:"118",8:"119",9:"120",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"80",I:"126",J:"4",K:"6",L:"13",M:"14",N:"16",O:"17",P:"18",Q:"79",R:"81",S:"83",T:"84",U:"85",V:"86",W:"87",X:"88",Y:"89",Z:"90",a:"91",b:"92",c:"93",d:"94",e:"95",f:"96",g:"97",h:"98",i:"99",j:"100",k:"101",l:"102",m:"103",n:"104",o:"105",p:"106",q:"107",r:"108",s:"109",t:"110",u:"111",v:"20",w:"21",x:"22",y:"23",z:"24",AB:"121",BB:"122",CB:"123",DB:"124",EB:"125",FB:"5",GB:"19",HB:"26",IB:"27",JB:"28",KB:"29",LB:"30",MB:"31",NB:"32",OB:"33",PB:"34",QB:"35",RB:"36",SB:"37",TB:"38",UB:"39",VB:"40",WB:"41",XB:"42",YB:"43",ZB:"44",aB:"45",bB:"46",cB:"47",dB:"48",eB:"49",fB:"50",gB:"51",hB:"52",iB:"53",jB:"54",kB:"55",lB:"56",mB:"57",nB:"58",oB:"60",pB:"62",qB:"63",rB:"64",sB:"65",tB:"66",uB:"67",vB:"68",wB:"69",xB:"70",yB:"71",zB:"72","0B":"73","1B":"74","2B":"75","3B":"76","4B":"77","5B":"78","6B":"127","7B":"11.1","8B":"12.1","9B":"15.5",AC:"16.0",BC:"17.0",CC:"18.0",DC:"3",EC:"59",FC:"61",GC:"82",HC:"128",IC:"129",JC:"3.2",KC:"10.1",LC:"15.2-15.3",MC:"15.4",NC:"16.1",OC:"16.2",PC:"16.3",QC:"16.4",RC:"16.5",SC:"17.1",TC:"17.2",UC:"17.3",VC:"17.4",WC:"17.5",XC:"17.6",YC:"11.5",ZC:"4.2-4.3",aC:"5.5",bC:"2",cC:"130",dC:"3.5",eC:"3.6",fC:"3.1",gC:"5.1",hC:"6.1",iC:"7.1",jC:"9.1",kC:"13.1",lC:"14.1",mC:"15.1",nC:"15.6",oC:"16.6",pC:"TP",qC:"9.5-9.6",rC:"10.0-10.1",sC:"10.5",tC:"10.6",uC:"11.6",vC:"4.0-4.1",wC:"5.0-5.1",xC:"6.0-6.1",yC:"7.0-7.1",zC:"8.1-8.4","0C":"9.0-9.2","1C":"9.3","2C":"10.0-10.2","3C":"10.3","4C":"11.0-11.2","5C":"11.3-11.4","6C":"12.0-12.1","7C":"12.2-12.5","8C":"13.0-13.1","9C":"13.2",AD:"13.3",BD:"13.4-13.7",CD:"14.0-14.4",DD:"14.5-14.8",ED:"15.0-15.1",FD:"15.6-15.8",GD:"16.6-16.7",HD:"all",ID:"2.1",JD:"2.2",KD:"2.3",LD:"4.1",MD:"4.4",ND:"4.4.3-4.4.4",OD:"5.0-5.4",PD:"6.2-6.4",QD:"7.2-7.4",RD:"8.2",SD:"9.2",TD:"11.1-11.2",UD:"12.0",VD:"13.0",WD:"14.0",XD:"15.0",YD:"19.0",ZD:"14.9",aD:"13.52",bD:"2.5",cD:"3.0-3.1"}});var Wu=N((LV,Nh)=>{p();d();f();Nh.exports.browserVersions=Ah()});var Oh=N((_V,Eh)=>{p();d();f();Eh.exports={A:{A:{K:0,D:0,E:.0271533,F:.0678831,A:0,B:.529489,aC:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","aC","K","D","E","F","A","B","","",""],E:"IE",F:{aC:962323200,K:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968e3}},B:{A:{1:.00757,2:.011355,3:.01514,4:.00757,5:.00757,6:.011355,7:.00757,8:.01514,9:.034065,C:0,L:0,M:0,G:0,N:0,O:.003785,P:.041635,Q:0,H:0,R:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:.011355,c:0,d:0,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:0,m:0,n:0,o:0,p:0,q:.003785,r:.00757,s:.064345,t:.003785,u:.00757,AB:.026495,BB:.064345,CB:.16654,DB:2.88417,EB:1.57834,I:.00757},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","L","M","G","N","O","P","Q","H","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","I","","",""],E:"Edge",F:{1:1680825600,2:1683158400,3:1685664e3,4:1689897600,5:1692576e3,6:1694649600,7:1697155200,8:1698969600,9:1701993600,C:1438128e3,L:1447286400,M:1470096e3,G:1491868800,N:1508198400,O:1525046400,P:1542067200,Q:1579046400,H:1581033600,R:1586736e3,S:1590019200,T:1594857600,U:1598486400,V:1602201600,W:1605830400,X:161136e4,Y:1614816e3,Z:1618358400,a:1622073600,b:1626912e3,c:1630627200,d:1632441600,e:1634774400,f:1637539200,g:1641427200,h:1643932800,i:1646265600,j:1649635200,k:1651190400,l:1653955200,m:1655942400,n:1659657600,o:1661990400,p:1664755200,q:1666915200,r:1670198400,s:1673481600,t:1675900800,u:1678665600,AB:1706227200,BB:1708732800,CB:1711152e3,DB:1713398400,EB:1715990400,I:1718841600},D:{C:"ms",L:"ms",M:"ms",G:"ms",N:"ms",O:"ms",P:"ms"}},C:{A:{0:0,1:0,2:.011355,3:0,4:.397425,5:0,6:.00757,7:.079485,8:0,9:.00757,bC:0,DC:0,J:.003785,FB:0,K:0,D:0,E:0,F:0,A:0,B:.018925,C:0,L:0,M:0,G:0,N:0,O:0,P:0,GB:0,v:0,w:0,x:0,y:0,z:0,HB:0,IB:0,JB:0,KB:0,LB:0,MB:0,NB:0,OB:0,PB:0,QB:0,RB:0,SB:0,TB:0,UB:0,VB:0,WB:0,XB:0,YB:.00757,ZB:.00757,aB:.00757,bB:0,cB:0,dB:0,eB:0,fB:.00757,gB:0,hB:.05299,iB:.003785,jB:.003785,kB:0,lB:.02271,mB:0,nB:0,EC:.003785,oB:0,FC:0,pB:0,qB:0,rB:0,sB:0,tB:0,uB:0,vB:0,wB:0,xB:0,yB:0,zB:0,"0B":0,"1B":0,"2B":0,"3B":0,"4B":0,"5B":.01514,Q:0,H:0,R:0,GC:0,S:0,T:0,U:0,V:0,W:0,X:.011355,Y:0,Z:0,a:0,b:0,c:0,d:.003785,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:.011355,m:.011355,n:0,o:0,p:0,q:0,r:.003785,s:.00757,t:0,u:0,AB:.00757,BB:.011355,CB:.01514,DB:.06813,EB:.844055,I:.738075,"6B":.003785,HC:0,IC:0,cC:0,dC:0,eC:0},B:"moz",C:["bC","DC","dC","eC","J","FB","K","D","E","F","A","B","C","L","M","G","N","O","P","GB","v","w","x","y","z","0","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","EC","oB","FC","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","Q","H","R","GC","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","I","6B","HC","IC","cC"],E:"Firefox",F:{0:1379376e3,1:1681171200,2:1683590400,3:1686009600,4:1688428800,5:1690848e3,6:1693267200,7:1695686400,8:1698105600,9:1700524800,bC:1161648e3,DC:1213660800,dC:124632e4,eC:1264032e3,J:1300752e3,FB:1308614400,K:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968e3,C:1331596800,L:1335225600,M:1338854400,G:1342483200,N:1346112e3,O:1349740800,P:1353628800,GB:1357603200,v:1361232e3,w:1364860800,x:1368489600,y:1372118400,z:1375747200,HB:1386633600,IB:1391472e3,JB:1395100800,KB:1398729600,LB:1402358400,MB:1405987200,NB:1409616e3,OB:1413244800,PB:1417392e3,QB:1421107200,RB:1424736e3,SB:1428278400,TB:1431475200,UB:1435881600,VB:1439251200,WB:144288e4,XB:1446508800,YB:1450137600,ZB:1453852800,aB:1457395200,bB:1461628800,cB:1465257600,dB:1470096e3,eB:1474329600,fB:1479168e3,gB:1485216e3,hB:1488844800,iB:149256e4,jB:1497312e3,kB:1502150400,lB:1506556800,mB:1510617600,nB:1516665600,EC:1520985600,oB:1525824e3,FC:1529971200,pB:1536105600,qB:1540252800,rB:1544486400,sB:154872e4,tB:1552953600,uB:1558396800,vB:1562630400,wB:1567468800,xB:1571788800,yB:1575331200,zB:1578355200,"0B":1581379200,"1B":1583798400,"2B":1586304e3,"3B":1588636800,"4B":1591056e3,"5B":1593475200,Q:1595894400,H:1598313600,R:1600732800,GC:1603152e3,S:1605571200,T:1607990400,U:1611619200,V:1614038400,W:1616457600,X:1618790400,Y:1622505600,Z:1626134400,a:1628553600,b:1630972800,c:1633392e3,d:1635811200,e:1638835200,f:1641859200,g:1644364800,h:1646697600,i:1649116800,j:1651536e3,k:1653955200,l:1656374400,m:1658793600,n:1661212800,o:1663632e3,p:1666051200,q:1668470400,r:1670889600,s:1673913600,t:1676332800,u:1678752e3,AB:1702944e3,BB:1705968e3,CB:1708387200,DB:1710806400,EB:1713225600,I:1715644800,"6B":1718064e3,HC:null,IC:null,cC:null}},D:{A:{0:0,1:.041635,2:.09841,3:.109765,4:.04542,5:.230885,6:.102195,7:.08327,8:.09084,9:.185465,J:0,FB:0,K:0,D:0,E:0,F:0,A:0,B:0,C:0,L:0,M:0,G:0,N:0,O:0,P:0,GB:0,v:0,w:0,x:0,y:0,z:0,HB:0,IB:0,JB:0,KB:0,LB:0,MB:0,NB:0,OB:0,PB:.00757,QB:0,RB:0,SB:0,TB:.01514,UB:0,VB:0,WB:0,XB:0,YB:0,ZB:0,aB:.003785,bB:0,cB:.003785,dB:.02271,eB:.026495,fB:.011355,gB:0,hB:.003785,iB:.003785,jB:0,kB:0,lB:.011355,mB:0,nB:.003785,EC:0,oB:0,FC:.003785,pB:0,qB:.003785,rB:0,sB:0,tB:.02271,uB:.00757,vB:0,wB:.03028,xB:.064345,yB:.003785,zB:.003785,"0B":.011355,"1B":.00757,"2B":.00757,"3B":.00757,"4B":.00757,"5B":.01514,Q:.12112,H:.011355,R:.02271,S:.041635,T:.00757,U:.011355,V:.049205,W:.06813,X:.01514,Y:.011355,Z:.011355,a:.03785,b:.018925,c:.03028,d:.041635,e:.011355,f:.011355,g:.01514,h:.071915,i:.034065,j:.04542,k:.06813,l:.049205,m:.170325,n:.094625,o:.03028,p:.03785,q:.03028,r:.04542,s:1.49507,t:.026495,u:.03785,AB:.389855,BB:.29523,CB:1.11279,DB:12.6116,EB:4.62527,I:.018925,"6B":.00757,HC:0,IC:0},B:"webkit",C:["","","","","","","J","FB","K","D","E","F","A","B","C","L","M","G","N","O","P","GB","v","w","x","y","z","0","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","EC","oB","FC","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","Q","H","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","I","6B","HC","IC"],E:"Chrome",F:{0:1357862400,1:1680566400,2:1682985600,3:1685404800,4:1689724800,5:1692057600,6:1694476800,7:1696896e3,8:1698710400,9:1701993600,J:1264377600,FB:1274745600,K:1283385600,D:1287619200,E:1291248e3,F:1296777600,A:1299542400,B:1303862400,C:1307404800,L:1312243200,M:1316131200,G:1316131200,N:1319500800,O:1323734400,P:1328659200,GB:1332892800,v:133704e4,w:1340668800,x:1343692800,y:1348531200,z:1352246400,HB:1361404800,IB:1364428800,JB:1369094400,KB:1374105600,LB:1376956800,MB:1384214400,NB:1389657600,OB:1392940800,PB:1397001600,QB:1400544e3,RB:1405468800,SB:1409011200,TB:141264e4,UB:1416268800,VB:1421798400,WB:1425513600,XB:1429401600,YB:143208e4,ZB:1437523200,aB:1441152e3,bB:1444780800,cB:1449014400,dB:1453248e3,eB:1456963200,fB:1460592e3,gB:1464134400,hB:1469059200,iB:1472601600,jB:1476230400,kB:1480550400,lB:1485302400,mB:1489017600,nB:149256e4,EC:1496707200,oB:1500940800,FC:1504569600,pB:1508198400,qB:1512518400,rB:1516752e3,sB:1520294400,tB:1523923200,uB:1527552e3,vB:1532390400,wB:1536019200,xB:1539648e3,yB:1543968e3,zB:154872e4,"0B":1552348800,"1B":1555977600,"2B":1559606400,"3B":1564444800,"4B":1568073600,"5B":1571702400,Q:1575936e3,H:1580860800,R:1586304e3,S:1589846400,T:1594684800,U:1598313600,V:1601942400,W:1605571200,X:1611014400,Y:1614556800,Z:1618272e3,a:1621987200,b:1626739200,c:1630368e3,d:1632268800,e:1634601600,f:1637020800,g:1641340800,h:1643673600,i:1646092800,j:1648512e3,k:1650931200,l:1653350400,m:1655769600,n:1659398400,o:1661817600,p:1664236800,q:1666656e3,r:166968e4,s:1673308800,t:1675728e3,u:1678147200,AB:1705968e3,BB:1708387200,CB:1710806400,DB:1713225600,EB:1715644800,I:1718064e3,"6B":null,HC:null,IC:null}},E:{A:{J:0,FB:0,K:0,D:0,E:.01514,F:.003785,A:0,B:0,C:0,L:.00757,M:.034065,G:.00757,fC:0,JC:0,gC:0,hC:0,iC:0,jC:0,KC:0,"7B":.00757,"8B":.01514,kC:.064345,lC:.09084,mC:.034065,LC:.011355,MC:.026495,"9B":.034065,nC:.246025,AC:.03028,NC:.049205,OC:.03785,PC:.09841,QC:.03028,RC:.06056,oC:.34065,BC:.03785,SC:.06813,TC:.08327,UC:.09841,VC:1.5405,WC:.185465,XC:0,CC:0,pC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","fC","JC","J","FB","gC","K","hC","D","iC","E","F","jC","A","KC","B","7B","C","8B","L","kC","M","lC","G","mC","LC","MC","9B","nC","AC","NC","OC","PC","QC","RC","oC","BC","SC","TC","UC","VC","WC","XC","CC","pC"],E:"Safari",F:{fC:1205798400,JC:1226534400,J:1244419200,FB:1275868800,gC:131112e4,K:1343174400,hC:13824e5,D:13824e5,iC:1410998400,E:1413417600,F:1443657600,jC:1458518400,A:1474329600,KC:1490572800,B:1505779200,"7B":1522281600,C:1537142400,"8B":1553472e3,L:1568851200,kC:1585008e3,M:1600214400,lC:1619395200,G:1632096e3,mC:1635292800,LC:1639353600,MC:1647216e3,"9B":1652745600,nC:1658275200,AC:1662940800,NC:1666569600,OC:1670889600,PC:1674432e3,QC:1679875200,RC:1684368e3,oC:1690156800,BC:1695686400,SC:1698192e3,TC:1702252800,UC:1705881600,VC:1709596800,WC:1715558400,XC:null,CC:null,pC:null}},F:{A:{0:0,F:0,B:0,C:0,G:0,N:0,O:0,P:0,GB:0,v:0,w:0,x:0,y:0,z:0,HB:0,IB:0,JB:0,KB:0,LB:0,MB:0,NB:0,OB:0,PB:0,QB:0,RB:0,SB:0,TB:0,UB:0,VB:0,WB:0,XB:0,YB:0,ZB:0,aB:0,bB:.01514,cB:0,dB:0,eB:0,fB:0,gB:0,hB:0,iB:0,jB:0,kB:0,lB:0,mB:0,nB:0,oB:0,pB:0,qB:0,rB:0,sB:0,tB:0,uB:0,vB:0,wB:0,xB:0,yB:0,zB:0,"0B":0,"1B":0,"2B":0,"3B":0,"4B":0,"5B":0,Q:0,H:0,R:0,GC:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0,c:0,d:0,e:.041635,f:0,g:0,h:0,i:0,j:0,k:0,l:.071915,m:0,n:0,o:0,p:.00757,q:.185465,r:.01514,s:.738075,t:.04542,u:0,qC:0,rC:0,sC:0,tC:0,"7B":0,YC:0,uC:0,"8B":0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","F","qC","rC","sC","tC","B","7B","YC","uC","C","8B","G","N","O","P","GB","v","w","x","y","z","0","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","Q","H","R","GC","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","","",""],E:"Opera",F:{0:1413331200,F:1150761600,qC:1223424e3,rC:1251763200,sC:1267488e3,tC:1277942400,B:1292457600,"7B":1302566400,YC:1309219200,uC:1323129600,C:1323129600,"8B":1352073600,G:1372723200,N:1377561600,O:1381104e3,P:1386288e3,GB:1390867200,v:1393891200,w:1399334400,x:1401753600,y:1405987200,z:1409616e3,HB:1417132800,IB:1422316800,JB:1425945600,KB:1430179200,LB:1433808e3,MB:1438646400,NB:1442448e3,OB:1445904e3,PB:1449100800,QB:1454371200,RB:1457308800,SB:146232e4,TB:1465344e3,UB:1470096e3,VB:1474329600,WB:1477267200,XB:1481587200,YB:1486425600,ZB:1490054400,aB:1494374400,bB:1498003200,cB:1502236800,dB:1506470400,eB:1510099200,fB:1515024e3,gB:1517961600,hB:1521676800,iB:1525910400,jB:1530144e3,kB:1534982400,lB:1537833600,mB:1543363200,nB:1548201600,oB:1554768e3,pB:1561593600,qB:1566259200,rB:1570406400,sB:1573689600,tB:1578441600,uB:1583971200,vB:1587513600,wB:1592956800,xB:1595894400,yB:1600128e3,zB:1603238400,"0B":161352e4,"1B":1612224e3,"2B":1616544e3,"3B":1619568e3,"4B":1623715200,"5B":1627948800,Q:1631577600,H:1633392e3,R:1635984e3,GC:1638403200,S:1642550400,T:1644969600,U:1647993600,V:1650412800,W:1652745600,X:1654646400,Y:1657152e3,Z:1660780800,a:1663113600,b:1668816e3,c:1668643200,d:1671062400,e:1675209600,f:1677024e3,g:1679529600,h:1681948800,i:1684195200,j:1687219200,k:1690329600,l:1692748800,m:1696204800,n:169992e4,o:169992e4,p:1702944e3,q:1707264e3,r:1710115200,s:1711497600,t:1716336e3,u:1719273600},D:{F:"o",B:"o",C:"o",qC:"o",rC:"o",sC:"o",tC:"o","7B":"o",YC:"o",uC:"o","8B":"o"}},G:{A:{E:0,JC:0,vC:0,ZC:.00289868,wC:.00289868,xC:.00724669,yC:.0115947,zC:.00289868,"0C":.00724669,"1C":.0333348,"2C":.00579735,"3C":.0521762,"4C":.0768149,"5C":.0144934,"6C":.00869603,"7C":.210154,"8C":.00434801,"9C":.0217401,AD:.0101454,BD:.0463788,CD:.100004,DD:.123194,ED:.0594229,LC:.0652202,MC:.0739162,"9B":.0927576,FD:.83192,AC:.189863,NC:.389872,OC:.189863,PC:.329,QC:.0695682,RC:.140586,GD:1.11744,BC:.121744,SC:.198559,TC:.207255,UC:.382625,VC:8.67429,WC:.61307,XC:0,CC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","JC","vC","ZC","wC","xC","yC","E","zC","0C","1C","2C","3C","4C","5C","6C","7C","8C","9C","AD","BD","CD","DD","ED","LC","MC","9B","FD","AC","NC","OC","PC","QC","RC","GD","BC","SC","TC","UC","VC","WC","XC","CC",""],E:"Safari on iOS",F:{JC:1270252800,vC:1283904e3,ZC:1299628800,wC:1331078400,xC:1359331200,yC:1394409600,E:1410912e3,zC:1413763200,"0C":1442361600,"1C":1458518400,"2C":1473724800,"3C":1490572800,"4C":1505779200,"5C":1522281600,"6C":1537142400,"7C":1553472e3,"8C":1568851200,"9C":1572220800,AD:1580169600,BD:1585008e3,CD:1600214400,DD:1619395200,ED:1632096e3,LC:1639353600,MC:1647216e3,"9B":1652659200,FD:1658275200,AC:1662940800,NC:1666569600,OC:1670889600,PC:1674432e3,QC:1679875200,RC:1684368e3,GD:1690156800,BC:1694995200,SC:1698192e3,TC:1702252800,UC:1705881600,VC:1709596800,WC:1715558400,XC:null,CC:null}},H:{A:{HD:.1},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","HD","","",""],E:"Opera Mini",F:{HD:1426464e3}},I:{A:{DC:0,J:65879e-9,I:.656352,ID:0,JD:0,KD:0,LD:131758e-9,ZC:395274e-9,MD:0,ND:.00144934},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","ID","JD","KD","DC","J","LD","ZC","MD","ND","I","","",""],E:"Android Browser",F:{ID:1256515200,JD:1274313600,KD:1291593600,DC:1298332800,J:1318896e3,LD:1341792e3,ZC:1374624e3,MD:1386547200,ND:1401667200,I:1718064e3}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376e3,A:1359504e3}},K:{A:{A:0,B:0,C:0,H:1.2238,"7B":0,YC:0,"8B":0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","7B","YC","C","8B","H","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,"7B":1314835200,YC:1318291200,C:1330300800,"8B":1349740800,H:1709769600},D:{H:"webkit"}},L:{A:{I:42.0636},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","","",""],E:"Chrome for Android",F:{I:1718064e3}},M:{A:{"6B":.31075},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","6B","","",""],E:"Firefox for Android",F:{"6B":1718064e3}},N:{A:{A:0,B:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{"9B":.913605},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","9B","","",""],E:"UC Browser for Android",F:{"9B":1710115200},D:{"9B":"webkit"}},P:{A:{0:1.98584,J:.141071,v:.0217032,w:.0542579,x:.0651095,y:.119367,z:.227883,OD:.0108516,PD:0,QD:.0325548,RD:0,SD:0,KC:0,TD:.0108516,UD:0,VD:.0108516,WD:0,XD:0,AC:0,BC:.0217032,CC:.0108516,YD:.0217032},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","J","OD","PD","QD","RD","SD","KC","TD","UD","VD","WD","XD","AC","BC","CC","YD","v","w","x","y","z","0","","",""],E:"Samsung Internet",F:{0:1715126400,J:1461024e3,OD:1481846400,PD:1509408e3,QD:1528329600,RD:1546128e3,SD:1554163200,KC:1567900800,TD:1582588800,UD:1593475200,VD:1605657600,WD:1618531200,XD:1629072e3,AC:1640736e3,BC:1651708800,CC:1659657600,YD:1667260800,v:1677369600,w:1684454400,x:1689292800,y:1697587200,z:1711497600}},Q:{A:{ZD:.292105},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","ZD","","",""],E:"QQ Browser",F:{ZD:1710288e3}},R:{A:{aD:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","aD","","",""],E:"Baidu Browser",F:{aD:1710201600}},S:{A:{bD:.08701,cD:0},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bD","cD","","",""],E:"KaiOS Browser",F:{bD:1527811200,cD:1631664e3}}}});var qo=N((WV,Lh)=>{"use strict";p();d();f();var b4=Uu().browsers,Gu=Wu().browserVersions,Th=Oh();function Ih(t){return Object.keys(t).reduce((e,r)=>(e[Gu[r]]=t[r],e),{})}Lh.exports.agents=Object.keys(Th).reduce((t,e)=>{let r=Th[e];return t[b4[e]]=Object.keys(r).reduce((n,s)=>(s==="A"?n.usage_global=Ih(r[s]):s==="C"?n.versions=r[s].reduce((o,i)=>(i===""?o.push(null):o.push(Gu[i]),o),[]):s==="D"?n.prefix_exceptions=Ih(r[s]):s==="E"?n.browser=r[s]:s==="F"?n.release_date=Object.keys(r[s]).reduce((o,i)=>(o[Gu[i]]=r[s][i],o),{}):n.prefix=r[s],n),{}),t},{})});var Rh=N((jV,D4)=>{D4.exports={"v0.8":{start:"2012-06-25",end:"2014-07-31"},"v0.10":{start:"2013-03-11",end:"2016-10-31"},"v0.12":{start:"2015-02-06",end:"2016-12-31"},v4:{start:"2015-09-08",lts:"2015-10-12",maintenance:"2017-04-01",end:"2018-04-30",codename:"Argon"},v5:{start:"2015-10-29",maintenance:"2016-04-30",end:"2016-06-30"},v6:{start:"2016-04-26",lts:"2016-10-18",maintenance:"2018-04-30",end:"2019-04-30",codename:"Boron"},v7:{start:"2016-10-25",maintenance:"2017-04-30",end:"2017-06-30"},v8:{start:"2017-05-30",lts:"2017-10-31",maintenance:"2019-01-01",end:"2019-12-31",codename:"Carbon"},v9:{start:"2017-10-01",maintenance:"2018-04-01",end:"2018-06-30"},v10:{start:"2018-04-24",lts:"2018-10-30",maintenance:"2020-05-19",end:"2021-04-30",codename:"Dubnium"},v11:{start:"2018-10-23",maintenance:"2019-04-22",end:"2019-06-01"},v12:{start:"2019-04-23",lts:"2019-10-21",maintenance:"2020-11-30",end:"2022-04-30",codename:"Erbium"},v13:{start:"2019-10-22",maintenance:"2020-04-01",end:"2020-06-01"},v14:{start:"2020-04-21",lts:"2020-10-27",maintenance:"2021-10-19",end:"2023-04-30",codename:"Fermium"},v15:{start:"2020-10-20",maintenance:"2021-04-01",end:"2021-06-01"},v16:{start:"2021-04-20",lts:"2021-10-26",maintenance:"2022-10-18",end:"2023-09-11",codename:"Gallium"},v17:{start:"2021-10-19",maintenance:"2022-04-01",end:"2022-06-01"},v18:{start:"2022-04-19",lts:"2022-10-25",maintenance:"2023-10-18",end:"2025-04-30",codename:"Hydrogen"},v19:{start:"2022-10-18",maintenance:"2023-04-01",end:"2023-06-01"},v20:{start:"2023-04-18",lts:"2023-10-24",maintenance:"2024-10-22",end:"2026-04-30",codename:"Iron"},v21:{start:"2023-10-17",maintenance:"2024-04-01",end:"2024-06-01"},v22:{start:"2024-04-23",lts:"2024-10-29",maintenance:"2025-10-21",end:"2027-04-30",codename:""},v23:{start:"2024-10-15",maintenance:"2025-04-01",end:"2025-06-01"},v24:{start:"2025-04-22",lts:"2025-10-28",maintenance:"2026-10-20",end:"2028-04-30",codename:""}}});function x4(){if(Fh)return Hu;Fh=!0;var t=Hu={},e,r;function n(){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=n}catch{e=n}try{typeof clearTimeout=="function"?r=clearTimeout:r=s}catch{r=s}})();function o(w){if(e===setTimeout)return setTimeout(w,0);if((e===n||!e)&&setTimeout)return e=setTimeout,setTimeout(w,0);try{return e(w,0)}catch{try{return e.call(null,w,0)}catch{return e.call(this||rs,w,0)}}}function i(w){if(r===clearTimeout)return clearTimeout(w);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(w);try{return r(w)}catch{try{return r.call(null,w)}catch{return r.call(this||rs,w)}}}var a=[],l=!1,u,c=-1;function B(){!l||!u||(l=!1,u.length?a=u.concat(a):c=-1,a.length&&h())}function h(){if(!l){var w=o(B);l=!0;for(var y=a.length;y;){for(u=a,a=[];++c<y;)u&&u[c].run();c=-1,y=a.length}u=null,l=!1,i(w)}}t.nextTick=function(w){var y=new Array(arguments.length-1);if(arguments.length>1)for(var P=1;P<arguments.length;P++)y[P-1]=arguments[P];a.push(new g(w,y)),a.length===1&&!l&&o(h)};function g(w,y){(this||rs).fun=w,(this||rs).array=y}g.prototype.run=function(){(this||rs).fun.apply(null,(this||rs).array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={};function v(){}return t.on=v,t.addListener=v,t.once=v,t.off=v,t.removeListener=v,t.removeAllListeners=v,t.emit=v,t.prependListener=v,t.prependOnceListener=v,t.listeners=function(w){return[]},t.binding=function(w){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(w){throw new Error("process.chdir is not supported")},t.umask=function(){return 0},Hu}var Hu,Fh,rs,Le,Vo=Pt(()=>{p();d();f();Hu={},Fh=!1,rs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;Le=x4();Le.platform="browser";Le.addListener;Le.argv;Le.binding;Le.browser;Le.chdir;Le.cwd;Le.emit;Le.env;Le.listeners;Le.nextTick;Le.off;Le.on;Le.once;Le.prependListener;Le.prependOnceListener;Le.removeAllListeners;Le.removeListener;Le.title;Le.umask;Le.version;Le.versions});function S4(){if(Mh)return zu;Mh=!0;var t=Le;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function r(o,i){for(var a="",l=0,u=-1,c=0,B,h=0;h<=o.length;++h){if(h<o.length)B=o.charCodeAt(h);else{if(B===47)break;B=47}if(B===47){if(!(u===h-1||c===1))if(u!==h-1&&c===2){if(a.length<2||l!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var g=a.lastIndexOf("/");if(g!==a.length-1){g===-1?(a="",l=0):(a=a.slice(0,g),l=a.length-1-a.lastIndexOf("/")),u=h,c=0;continue}}else if(a.length===2||a.length===1){a="",l=0,u=h,c=0;continue}}i&&(a.length>0?a+="/..":a="..",l=2)}else a.length>0?a+="/"+o.slice(u+1,h):a=o.slice(u+1,h),l=h-u-1;u=h,c=0}else B===46&&c!==-1?++c:c=-1}return a}function n(o,i){var a=i.dir||i.root,l=i.base||(i.name||"")+(i.ext||"");return a?a===i.root?a+l:a+o+l:l}var s={resolve:function(){for(var i="",a=!1,l,u=arguments.length-1;u>=-1&&!a;u--){var c;u>=0?c=arguments[u]:(l===void 0&&(l=t.cwd()),c=l),e(c),c.length!==0&&(i=c+"/"+i,a=c.charCodeAt(0)===47)}return i=r(i,!a),a?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(i){if(e(i),i.length===0)return".";var a=i.charCodeAt(0)===47,l=i.charCodeAt(i.length-1)===47;return i=r(i,!a),i.length===0&&!a&&(i="."),i.length>0&&l&&(i+="/"),a?"/"+i:i},isAbsolute:function(i){return e(i),i.length>0&&i.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var i,a=0;a<arguments.length;++a){var l=arguments[a];e(l),l.length>0&&(i===void 0?i=l:i+="/"+l)}return i===void 0?".":s.normalize(i)},relative:function(i,a){if(e(i),e(a),i===a||(i=s.resolve(i),a=s.resolve(a),i===a))return"";for(var l=1;l<i.length&&i.charCodeAt(l)===47;++l);for(var u=i.length,c=u-l,B=1;B<a.length&&a.charCodeAt(B)===47;++B);for(var h=a.length,g=h-B,v=c<g?c:g,w=-1,y=0;y<=v;++y){if(y===v){if(g>v){if(a.charCodeAt(B+y)===47)return a.slice(B+y+1);if(y===0)return a.slice(B+y)}else c>v&&(i.charCodeAt(l+y)===47?w=y:y===0&&(w=0));break}var P=i.charCodeAt(l+y),O=a.charCodeAt(B+y);if(P!==O)break;P===47&&(w=y)}var E="";for(y=l+w+1;y<=u;++y)(y===u||i.charCodeAt(y)===47)&&(E.length===0?E+="..":E+="/..");return E.length>0?E+a.slice(B+w):(B+=w,a.charCodeAt(B)===47&&++B,a.slice(B))},_makeLong:function(i){return i},dirname:function(i){if(e(i),i.length===0)return".";for(var a=i.charCodeAt(0),l=a===47,u=-1,c=!0,B=i.length-1;B>=1;--B)if(a=i.charCodeAt(B),a===47){if(!c){u=B;break}}else c=!1;return u===-1?l?"/":".":l&&u===1?"//":i.slice(0,u)},basename:function(i,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(i);var l=0,u=-1,c=!0,B;if(a!==void 0&&a.length>0&&a.length<=i.length){if(a.length===i.length&&a===i)return"";var h=a.length-1,g=-1;for(B=i.length-1;B>=0;--B){var v=i.charCodeAt(B);if(v===47){if(!c){l=B+1;break}}else g===-1&&(c=!1,g=B+1),h>=0&&(v===a.charCodeAt(h)?--h===-1&&(u=B):(h=-1,u=g))}return l===u?u=g:u===-1&&(u=i.length),i.slice(l,u)}else{for(B=i.length-1;B>=0;--B)if(i.charCodeAt(B)===47){if(!c){l=B+1;break}}else u===-1&&(c=!1,u=B+1);return u===-1?"":i.slice(l,u)}},extname:function(i){e(i);for(var a=-1,l=0,u=-1,c=!0,B=0,h=i.length-1;h>=0;--h){var g=i.charCodeAt(h);if(g===47){if(!c){l=h+1;break}continue}u===-1&&(c=!1,u=h+1),g===46?a===-1?a=h:B!==1&&(B=1):a!==-1&&(B=-1)}return a===-1||u===-1||B===0||B===1&&a===u-1&&a===l+1?"":i.slice(a,u)},format:function(i){if(i===null||typeof i!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof i);return n("/",i)},parse:function(i){e(i);var a={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return a;var l=i.charCodeAt(0),u=l===47,c;u?(a.root="/",c=1):c=0;for(var B=-1,h=0,g=-1,v=!0,w=i.length-1,y=0;w>=c;--w){if(l=i.charCodeAt(w),l===47){if(!v){h=w+1;break}continue}g===-1&&(v=!1,g=w+1),l===46?B===-1?B=w:y!==1&&(y=1):B!==-1&&(y=-1)}return B===-1||g===-1||y===0||y===1&&B===g-1&&B===h+1?g!==-1&&(h===0&&u?a.base=a.name=i.slice(1,g):a.base=a.name=i.slice(h,g)):(h===0&&u?(a.name=i.slice(1,B),a.base=i.slice(1,g)):(a.name=i.slice(h,B),a.base=i.slice(h,g)),a.ext=i.slice(B,g)),h>0?a.dir=i.slice(0,h-1):u&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return s.posix=s,zu=s,zu}var zu,Mh,Qe,Uo=Pt(()=>{p();d();f();Vo();zu={},Mh=!1;Qe=S4()});var Zs={};Ys(Zs,{_makeLong:()=>k4,basename:()=>P4,default:()=>Qe,delimiter:()=>A4,dirname:()=>N4,extname:()=>E4,format:()=>O4,isAbsolute:()=>T4,join:()=>I4,normalize:()=>L4,parse:()=>R4,posix:()=>F4,relative:()=>M4,resolve:()=>_4,sep:()=>q4,win32:()=>V4});var k4,P4,A4,N4,E4,O4,T4,I4,L4,R4,F4,M4,_4,q4,V4,$s=Pt(()=>{p();d();f();Uo();Uo();Vo();k4=Qe._makeLong,P4=Qe.basename,A4=Qe.delimiter,N4=Qe.dirname,E4=Qe.extname,O4=Qe.format,T4=Qe.isAbsolute,I4=Qe.join,L4=Qe.normalize,R4=Qe.parse,F4=Qe.posix,M4=Qe.relative,_4=Qe.resolve,q4=Qe.sep,V4=Qe.win32});var qh=N((lU,_h)=>{p();d();f();_h.exports={"0.20":"39","0.21":"41","0.22":"41","0.23":"41","0.24":"41","0.25":"42","0.26":"42","0.27":"43","0.28":"43","0.29":"43","0.30":"44","0.31":"45","0.32":"45","0.33":"45","0.34":"45","0.35":"45","0.36":"47","0.37":"49","1.0":"49","1.1":"50","1.2":"51","1.3":"52","1.4":"53","1.5":"54","1.6":"56","1.7":"58","1.8":"59","2.0":"61","2.1":"61","3.0":"66","3.1":"66","4.0":"69","4.1":"69","4.2":"69","5.0":"73","6.0":"76","6.1":"76","7.0":"78","7.1":"78","7.2":"78","7.3":"78","8.0":"80","8.1":"80","8.2":"80","8.3":"80","8.4":"80","8.5":"80","9.0":"83","9.1":"83","9.2":"83","9.3":"83","9.4":"83","10.0":"85","10.1":"85","10.2":"85","10.3":"85","10.4":"85","11.0":"87","11.1":"87","11.2":"87","11.3":"87","11.4":"87","11.5":"87","12.0":"89","12.1":"89","12.2":"89","13.0":"91","13.1":"91","13.2":"91","13.3":"91","13.4":"91","13.5":"91","13.6":"91","14.0":"93","14.1":"93","14.2":"93","15.0":"94","15.1":"94","15.2":"94","15.3":"94","15.4":"94","15.5":"94","16.0":"96","16.1":"96","16.2":"96","17.0":"98","17.1":"98","17.2":"98","17.3":"98","17.4":"98","18.0":"100","18.1":"100","18.2":"100","18.3":"100","19.0":"102","19.1":"102","20.0":"104","20.1":"104","20.2":"104","20.3":"104","21.0":"106","21.1":"106","21.2":"106","21.3":"106","21.4":"106","22.0":"108","22.1":"108","22.2":"108","22.3":"108","23.0":"110","23.1":"110","23.2":"110","23.3":"110","24.0":"112","24.1":"112","24.2":"112","24.3":"112","24.4":"112","24.5":"112","24.6":"112","24.7":"112","24.8":"112","25.0":"114","25.1":"114","25.2":"114","25.3":"114","25.4":"114","25.5":"114","25.6":"114","25.7":"114","25.8":"114","25.9":"114","26.0":"116","26.1":"116","26.2":"116","26.3":"116","26.4":"116","26.5":"116","26.6":"116","27.0":"118","27.1":"118","27.2":"118","27.3":"118","28.0":"120","28.1":"120","28.2":"120","28.3":"120","29.0":"122","29.1":"122","29.2":"122","29.3":"122","29.4":"122","30.0":"124","30.1":"124","31.0":"126","31.1":"126","32.0":"127"}});var Qu=N((pU,Vh)=>{p();d();f();function ju(t){this.name="BrowserslistError",this.message=t,this.browserslist=!0,Error.captureStackTrace&&Error.captureStackTrace(this,ju)}ju.prototype=Error.prototype;Vh.exports=ju});var zh=N((hU,Hh)=>{p();d();f();var Uh=/^\s+and\s+(.*)/i,Wh=/^(?:,\s*|\s+or\s+)(.*)/i;function Gh(t){return Array.isArray(t)?t.reduce(function(e,r){return e.concat(Gh(r))},[]):[t]}function U4(t,e){for(var r=1,n=t.length;r<=n;r++){var s=t.substr(-r,r);if(e(s,r,n))return t.slice(0,-r)}return""}function Ju(t,e){var r={query:e};e.indexOf("not ")===0&&(r.not=!0,e=e.slice(4));for(var n in t){var s=t[n],o=e.match(s.regexp);if(o){r.type=n;for(var i=0;i<s.matches.length;i++)r[s.matches[i]]=o[i+1];return r}}return r.type="unknown",r}function W4(t,e,r){var n;return U4(e,function(s,o,i){return Uh.test(s)?(n=Ju(t,s.match(Uh)[1]),n.compose="and",r.unshift(n),!0):Wh.test(s)?(n=Ju(t,s.match(Wh)[1]),n.compose="or",r.unshift(n),!0):o===i?(n=Ju(t,s.trim()),n.compose="or",r.unshift(n),!0):!1})}Hh.exports=function(e,r){return Array.isArray(r)||(r=[r]),Gh(r.map(function(n){var s=[];do n=W4(e,n,s);while(n);return s}))}});var Qh=N((yU,jh)=>{p();d();f();var Wo=Qu();function ei(){}jh.exports={loadQueries:function(){throw new Wo("Sharable configs are not supported in client-side build of Browserslist")},getStat:function(e){return e.stats},loadConfig:function(e){if(e.config)throw new Wo("Browserslist config are not supported in client-side build")},loadCountry:function(){throw new Wo("Country statistics are not supported in client-side build of Browserslist")},loadFeature:function(){throw new Wo("Supports queries are not available in client-side build of Browserslist")},currentNode:function(e,r){return e(["maintained node versions"],r)[0]},parseConfig:ei,readConfig:ei,findConfig:ei,clearCaches:ei,oldDataWarning:ei,env:{}}});var ri=N((xU,B0)=>{p();d();f();var G4=[],Er=qo().agents,Ku=Rh(),Jo=($s(),zr(Zs)),Jt=qh(),gt=Qu(),r0=zh(),at=Qh(),H4=365.259641*24*60*60*1e3,n0="37",z4=14;function s0(t,e){return(t+".").indexOf(e+".")===0}function j4(t){var e=t.slice(1);return Y.nodeVersions.some(function(r){return s0(r,e)})}function Jh(t){return t.filter(function(e){return typeof e=="string"})}function Go(t){var e=t;return t.split(".").length===3&&(e=t.split(".").slice(0,-1).join(".")),e}function Qr(t){return function(r){return t+" "+r}}function $u(t){return parseInt(t.split(".")[0])}function Ho(t,e){if(t.length===0)return[];var r=i0(t.map($u)),n=r[r.length-e];if(!n)return t;for(var s=[],o=t.length-1;o>=0&&!(n>$u(t[o]));o--)s.unshift(t[o]);return s}function i0(t){for(var e=[],r=0;r<t.length;r++)e.indexOf(t[r])===-1&&e.push(t[r]);return e}function Ko(t,e,r){for(var n in r)t[e+" "+n]=r[n]}function Kh(t,e){return e=parseFloat(e),t===">"?function(r){return parseFloat(r)>e}:t===">="?function(r){return parseFloat(r)>=e}:t==="<"?function(r){return parseFloat(r)<e}:function(r){return parseFloat(r)<=e}}function Q4(t,e){return e=e.split(".").map(Jr),e[1]=e[1]||0,e[2]=e[2]||0,t===">"?function(r){return r=r.split(".").map(Jr),ti(r,e)>0}:t===">="?function(r){return r=r.split(".").map(Jr),ti(r,e)>=0}:t==="<"?function(r){return r=r.split(".").map(Jr),ti(e,r)>0}:function(r){return r=r.split(".").map(Jr),ti(e,r)>=0}}function Jr(t){return parseInt(t)}function Qo(t,e){return t<e?-1:t>e?1:0}function ti(t,e){return Qo(parseInt(t[0]),parseInt(e[0]))||Qo(parseInt(t[1]||"0"),parseInt(e[1]||"0"))||Qo(parseInt(t[2]||"0"),parseInt(e[2]||"0"))}function Yh(t,e){switch(e=e.split(".").map(Jr),typeof e[1]>"u"&&(e[1]="x"),t){case"<=":return function(r){return r=r.split(".").map(Jr),Xh(r,e)<=0};case">=":default:return function(r){return r=r.split(".").map(Jr),Xh(r,e)>=0}}}function Xh(t,e){return t[0]!==e[0]?t[0]<e[0]?-1:1:e[1]==="x"?0:t[1]!==e[1]?t[1]<e[1]?-1:1:0}function J4(t,e){return t.versions.indexOf(e)!==-1?e:Y.versionAliases[t.name][e]?Y.versionAliases[t.name][e]:!1}function zo(t,e){var r=J4(t,e);return r||(t.versions.length===1?t.versions[0]:!1)}function o0(t,e){return t=t/1e3,Object.keys(Er).reduce(function(r,n){var s=Kr(n,e);if(!s)return r;var o=Object.keys(s.releaseDate).filter(function(i){var a=s.releaseDate[i];return a!==null&&a>=t});return r.concat(o.map(Qr(s.name)))},[])}function Zh(t){return{name:t.name,versions:t.versions,released:t.released,releaseDate:t.releaseDate}}function Kr(t,e){if(t=t.toLowerCase(),t=Y.aliases[t]||t,e.mobileToDesktop&&Y.desktopNames[t]){var r=Y.data[Y.desktopNames[t]];if(t==="android")return Y4(Zh(Y.data[t]),r);var n=Zh(r);return n.name=t,n}return Y.data[t]}function $h(t,e){var r=e.indexOf(n0);return t.filter(function(n){return/^(?:[2-4]\.|[34]$)/.test(n)}).concat(e.slice(r))}function K4(t){var e={};for(var r in t)e[r]=t[r];return e}function Y4(t,e){return t.released=$h(t.released,e.released),t.versions=$h(t.versions,e.versions),t.releaseDate=K4(t.releaseDate),t.released.forEach(function(r){t.releaseDate[r]===void 0&&(t.releaseDate[r]=e.releaseDate[r])}),t}function ns(t,e){var r=Kr(t,e);if(!r)throw new gt("Unknown browser "+t);return r}function X4(t){return new gt("Unknown browser query `"+t+"`. Maybe you are using old Browserslist or made typo in query.")}function jo(t,e,r,n){var s=1;switch(e){case"android":if(n.mobileToDesktop)return t;var o=Y.data.chrome.released;s=o.length-o.indexOf(n0);break;case"op_mob":var i=Y.data.op_mob.released.slice(-1)[0];s=$u(i)-z4+1;break;default:return t}return r<=s?t.slice(-1):t.slice(s-1-r)}function e0(t,e){return typeof t=="string"&&(t.indexOf("y")>=0||e&&t.indexOf("a")>=0)}function ss(t,e){return r0(eB,t).reduce(function(r,n,s){if(n.not&&s===0)throw new gt("Write any browsers query (for instance, `defaults`) before `"+n.query+"`");var o=eB[n.type],i=o.select.call(Y,e,n).map(function(l){var u=l.split(" ");return u[1]==="0"?u[0]+" "+Kr(u[0],e).versions[0]:l});if(n.compose==="and")return n.not?r.filter(function(l){return i.indexOf(l)===-1}):r.filter(function(l){return i.indexOf(l)!==-1});if(n.not){var a={};return i.forEach(function(l){a[l]=!0}),r.filter(function(l){return!a[l]})}return r.concat(i)},[])}function a0(t){return typeof t>"u"&&(t={}),typeof t.path>"u"&&(t.path=Jo.resolve?Jo.resolve("."):"."),t}function l0(t,e){if(typeof t>"u"||t===null){var r=Y.loadConfig(e);r?t=r:t=Y.defaults}return t}function u0(t){if(!(typeof t=="string"||Array.isArray(t)))throw new gt("Browser queries must be an array or string. Got "+typeof t+".")}var Yu={};function Y(t,e){e=a0(e),t=l0(t,e),u0(t);var r={ignoreUnknownVersions:e.ignoreUnknownVersions,dangerousExtend:e.dangerousExtend,mobileToDesktop:e.mobileToDesktop,path:e.path,env:e.env};at.oldDataWarning(Y.data);var n=at.getStat(e,Y.data);if(n){r.customUsage={};for(var s in n)Ko(r.customUsage,s,n[s])}var o=JSON.stringify([t,r]);if(Yu[o])return Yu[o];var i=i0(ss(t,r)).sort(function(a,l){if(a=a.split(" "),l=l.split(" "),a[0]===l[0]){var u=a[1].split("-")[0],c=l[1].split("-")[0];return ti(c.split("."),u.split("."))}else return Qo(a[0],l[0])});return at.env.BROWSERSLIST_DISABLE_CACHE||(Yu[o]=i),i}Y.parse=function(t,e){return e=a0(e),t=l0(t,e),u0(t),r0(eB,t)};Y.cache={};Y.data={};Y.usage={global:{},custom:null};Y.defaults=["> 0.5%","last 2 versions","Firefox ESR","not dead"];Y.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};Y.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",android:"chrome"};Y.versionAliases={};Y.clearCaches=at.clearCaches;Y.parseConfig=at.parseConfig;Y.readConfig=at.readConfig;Y.findConfig=at.findConfig;Y.loadConfig=at.loadConfig;Y.coverage=function(t,e){var r;if(typeof e>"u")r=Y.usage.global;else if(e==="my stats"){var n={};n.path=Jo.resolve?Jo.resolve("."):".";var s=at.getStat(n);if(!s)throw new gt("Custom usage statistics was not provided");r={};for(var o in s)Ko(r,o,s[o])}else if(typeof e=="string")e.length>2?e=e.toLowerCase():e=e.toUpperCase(),at.loadCountry(Y.usage,e,Y.data),r=Y.usage[e];else{"dataByBrowser"in e&&(e=e.dataByBrowser),r={};for(var i in e)for(var a in e[i])r[i+" "+a]=e[i][a]}return t.reduce(function(l,u){var c=r[u];return c===void 0&&(c=r[u.replace(/ \S+$/," 0")]),l+(c||0)},0)};function Xu(t,e){var r=Y.nodeVersions.filter(function(n){return s0(n,e.version)});if(r.length===0){if(t.ignoreUnknownVersions)return[];throw new gt("Unknown version "+e.version+" of Node.js")}return["node "+r[r.length-1]]}function Zu(t,e){var r=parseInt(e.year),n=parseInt(e.month||"01")-1,s=parseInt(e.day||"01");return o0(Date.UTC(r,n,s,0,0,0),t)}function t0(t,e){var r=parseFloat(e.coverage),n=Y.usage.global;if(e.place)if(e.place.match(/^my\s+stats$/i)){if(!t.customUsage)throw new gt("Custom usage statistics was not provided");n=t.customUsage}else{var s;e.place.length===2?s=e.place.toUpperCase():s=e.place.toLowerCase(),at.loadCountry(Y.usage,s,Y.data),n=Y.usage[s]}for(var o=Object.keys(n).sort(function(c,B){return n[B]-n[c]}),i=0,a=[],l,u=0;u<o.length&&(l=o[u],!(n[l]===0||(i+=n[l],a.push(l),i>=r)));u++);return a}var eB={last_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(t,e){return Object.keys(Er).reduce(function(r,n){var s=Kr(n,t);if(!s)return r;var o=Ho(s.released,e.versions);return o=o.map(Qr(s.name)),o=jo(o,s.name,e.versions,t),r.concat(o)},[])}},last_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+versions?$/i,select:function(t,e){return Object.keys(Er).reduce(function(r,n){var s=Kr(n,t);if(!s)return r;var o=s.released.slice(-e.versions);return o=o.map(Qr(s.name)),o=jo(o,s.name,e.versions,t),r.concat(o)},[])}},last_electron_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(t,e){var r=Ho(Object.keys(Jt),e.versions);return r.map(function(n){return"chrome "+Jt[n]})}},last_node_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+major\s+versions?$/i,select:function(t,e){return Ho(Y.nodeVersions,e.versions).map(function(r){return"node "+r})}},last_browser_major_versions:{matches:["versions","browser"],regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(t,e){var r=ns(e.browser,t),n=Ho(r.released,e.versions),s=n.map(Qr(r.name));return s=jo(s,r.name,e.versions,t),s}},last_electron_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(t,e){return Object.keys(Jt).slice(-e.versions).map(function(r){return"chrome "+Jt[r]})}},last_node_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+versions?$/i,select:function(t,e){return Y.nodeVersions.slice(-e.versions).map(function(r){return"node "+r})}},last_browser_versions:{matches:["versions","browser"],regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(t,e){var r=ns(e.browser,t),n=r.released.slice(-e.versions).map(Qr(r.name));return n=jo(n,r.name,e.versions,t),n}},unreleased_versions:{matches:[],regexp:/^unreleased\s+versions$/i,select:function(t){return Object.keys(Er).reduce(function(e,r){var n=Kr(r,t);if(!n)return e;var s=n.versions.filter(function(o){return n.released.indexOf(o)===-1});return s=s.map(Qr(n.name)),e.concat(s)},[])}},unreleased_electron_versions:{matches:[],regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},unreleased_browser_versions:{matches:["browser"],regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(t,e){var r=ns(e.browser,t);return r.versions.filter(function(n){return r.released.indexOf(n)===-1}).map(Qr(r.name))}},last_years:{matches:["years"],regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(t,e){return o0(Date.now()-H4*e.years,t)}},since_y:{matches:["year"],regexp:/^since (\d+)$/i,select:Zu},since_y_m:{matches:["year","month"],regexp:/^since (\d+)-(\d+)$/i,select:Zu},since_y_m_d:{matches:["year","month","day"],regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:Zu},popularity:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(t,e){var r=parseFloat(e.popularity),n=Y.usage.global;return Object.keys(n).reduce(function(s,o){return e.sign===">"?n[o]>r&&s.push(o):e.sign==="<"?n[o]<r&&s.push(o):e.sign==="<="?n[o]<=r&&s.push(o):n[o]>=r&&s.push(o),s},[])}},popularity_in_my_stats:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,select:function(t,e){var r=parseFloat(e.popularity);if(!t.customUsage)throw new gt("Custom usage statistics was not provided");var n=t.customUsage;return Object.keys(n).reduce(function(s,o){var i=n[o];return i==null||(e.sign===">"?i>r&&s.push(o):e.sign==="<"?i<r&&s.push(o):e.sign==="<="?i<=r&&s.push(o):i>=r&&s.push(o)),s},[])}},popularity_in_config_stats:{matches:["sign","popularity","config"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,select:function(t,e){var r=parseFloat(e.popularity),n=at.loadStat(t,e.config,Y.data);if(n){t.customUsage={};for(var s in n)Ko(t.customUsage,s,n[s])}if(!t.customUsage)throw new gt("Custom usage statistics was not provided");var o=t.customUsage;return Object.keys(o).reduce(function(i,a){var l=o[a];return l==null||(e.sign===">"?l>r&&i.push(a):e.sign==="<"?l<r&&i.push(a):e.sign==="<="?l<=r&&i.push(a):l>=r&&i.push(a)),i},[])}},popularity_in_place:{matches:["sign","popularity","place"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(t,e){var r=parseFloat(e.popularity),n=e.place;n.length===2?n=n.toUpperCase():n=n.toLowerCase(),at.loadCountry(Y.usage,n,Y.data);var s=Y.usage[n];return Object.keys(s).reduce(function(o,i){var a=s[i];return a==null||(e.sign===">"?a>r&&o.push(i):e.sign==="<"?a<r&&o.push(i):e.sign==="<="?a<=r&&o.push(i):a>=r&&o.push(i)),o},[])}},cover:{matches:["coverage"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/i,select:t0},cover_in:{matches:["coverage","place"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/i,select:t0},supports:{matches:["supportType","feature"],regexp:/^(?:(fully|partially)\s+)?supports\s+([\w-]+)$/,select:function(t,e){at.loadFeature(Y.cache,e.feature);var r=e.supportType!=="fully",n=Y.cache[e.feature],s=[];for(var o in n){for(var i=Kr(o,t),a=i.released.length-1;a>=0&&!(i.released[a]in n[o]);)a--;var l=t.mobileToDesktop&&o in Y.desktopNames&&e0(n[o][i.released[a]],r);i.versions.forEach(function(u){var c=n[o][u];c===void 0&&l&&(c=n[Y.desktopNames[o]][u]),e0(c,r)&&s.push(o+" "+u)})}return s}},electron_range:{matches:["from","to"],regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(t,e){var r=Go(e.from),n=Go(e.to),s=parseFloat(e.from),o=parseFloat(e.to);if(!Jt[r])throw new gt("Unknown version "+s+" of electron");if(!Jt[n])throw new gt("Unknown version "+o+" of electron");return Object.keys(Jt).filter(function(i){var a=parseFloat(i);return a>=s&&a<=o}).map(function(i){return"chrome "+Jt[i]})}},node_range:{matches:["from","to"],regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(t,e){return Y.nodeVersions.filter(Yh(">=",e.from)).filter(Yh("<=",e.to)).map(function(r){return"node "+r})}},browser_range:{matches:["browser","from","to"],regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(t,e){var r=ns(e.browser,t),n=parseFloat(zo(r,e.from)||e.from),s=parseFloat(zo(r,e.to)||e.to);function o(i){var a=parseFloat(i);return a>=n&&a<=s}return r.released.filter(o).map(Qr(r.name))}},electron_ray:{matches:["sign","version"],regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(t,e){var r=Go(e.version);return Object.keys(Jt).filter(Kh(e.sign,r)).map(function(n){return"chrome "+Jt[n]})}},node_ray:{matches:["sign","version"],regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(t,e){return Y.nodeVersions.filter(Q4(e.sign,e.version)).map(function(r){return"node "+r})}},browser_ray:{matches:["browser","sign","version"],regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(t,e){var r=e.version,n=ns(e.browser,t),s=Y.versionAliases[n.name][r];return s&&(r=s),n.released.filter(Kh(e.sign,r)).map(function(o){return n.name+" "+o})}},firefox_esr:{matches:[],regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 115"]}},opera_mini_all:{matches:[],regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},electron_version:{matches:["version"],regexp:/^electron\s+([\d.]+)$/i,select:function(t,e){var r=Go(e.version),n=Jt[r];if(!n)throw new gt("Unknown version "+e.version+" of electron");return["chrome "+n]}},node_major_version:{matches:["version"],regexp:/^node\s+(\d+)$/i,select:Xu},node_minor_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+)$/i,select:Xu},node_patch_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:Xu},current_node:{matches:[],regexp:/^current\s+node$/i,select:function(t){return[at.currentNode(ss,t)]}},maintained_node:{matches:[],regexp:/^maintained\s+node\s+versions$/i,select:function(t){var e=Date.now(),r=Object.keys(Ku).filter(function(n){return e<Date.parse(Ku[n].end)&&e>Date.parse(Ku[n].start)&&j4(n)}).map(function(n){return"node "+n.slice(1)});return ss(r,t)}},phantomjs_1_9:{matches:[],regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},phantomjs_2_1:{matches:[],regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},browser_version:{matches:["browser","version"],regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(t,e){var r=e.version;/^tp$/i.test(r)&&(r="TP");var n=ns(e.browser,t),s=zo(n,r);if(s)r=s;else if(r.indexOf(".")===-1?s=r+".0":s=r.replace(/\.0$/,""),s=zo(n,s),s)r=s;else{if(t.ignoreUnknownVersions)return[];throw new gt("Unknown version "+r+" of "+e.browser)}return[n.name+" "+r]}},browserslist_config:{matches:[],regexp:/^browserslist config$/i,select:function(t){return Y(void 0,t)}},extends:{matches:["config"],regexp:/^extends (.+)$/i,select:function(t,e){return ss(at.loadQueries(t,e.config),t)}},defaults:{matches:[],regexp:/^defaults$/i,select:function(t){return ss(Y.defaults,t)}},dead:{matches:[],regexp:/^dead$/i,select:function(t){var e=["Baidu >= 0","ie <= 11","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return ss(e,t)}},unknown:{matches:[],regexp:/^(\w+)$/i,select:function(t,e){throw Kr(e.query,t)?new gt("Specify versions in Browserslist query for browser "+e.query):X4(e.query)}}};(function(){for(var t in Er){var e=Er[t];Y.data[t]={name:t,versions:Jh(Er[t].versions),released:Jh(Er[t].versions.slice(0,-3)),releaseDate:Er[t].release_date},Ko(Y.usage.global,t,e.usage_global),Y.versionAliases[t]={};for(var r=0;r<e.versions.length;r++){var n=e.versions[r];if(n&&n.indexOf("-")!==-1)for(var s=n.split("-"),o=0;o<s.length;o++)Y.versionAliases[t][s[o]]=n}}Y.nodeVersions=G4.map(function(i){return i.version})})();B0.exports=Y});var rB=N((AU,tB)=>{p();d();f();var Ne=String,c0=function(){return{isColorSupported:!1,reset:Ne,bold:Ne,dim:Ne,italic:Ne,underline:Ne,inverse:Ne,hidden:Ne,strikethrough:Ne,black:Ne,red:Ne,green:Ne,yellow:Ne,blue:Ne,magenta:Ne,cyan:Ne,white:Ne,gray:Ne,bgBlack:Ne,bgRed:Ne,bgGreen:Ne,bgYellow:Ne,bgBlue:Ne,bgMagenta:Ne,bgCyan:Ne,bgWhite:Ne}};tB.exports=c0();tB.exports.createColors=c0});var nB=N(()=>{p();d();f()});var Yo=N((MU,d0)=>{"use strict";p();d();f();var p0=rB(),f0=nB(),ni=class t extends Error{constructor(e,r,n,s,o,i){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),s&&(this.source=s),i&&(this.plugin=i),typeof r<"u"&&typeof n<"u"&&(typeof r=="number"?(this.line=r,this.column=n):(this.line=r.line,this.column=r.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,t)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let r=this.source;e==null&&(e=p0.isColorSupported),f0&&e&&(r=f0(r));let n=r.split(/\r?\n/),s=Math.max(this.line-3,0),o=Math.min(this.line+2,n.length),i=String(o).length,a,l;if(e){let{bold:u,gray:c,red:B}=p0.createColors(!0);a=h=>u(B(h)),l=h=>c(h)}else a=l=u=>u;return n.slice(s,o).map((u,c)=>{let B=s+1+c,h=" "+(" "+B).slice(-i)+" | ";if(B===this.line){let g=l(h.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+l(h)+u+`
|
|
1
|
+
"use strict";var postcssPresetEnv=(()=>{var f4=Object.create;var Lo=Object.defineProperty;var d4=Object.getOwnPropertyDescriptor;var C4=Object.getOwnPropertyNames;var h4=Object.getPrototypeOf,m4=Object.prototype.hasOwnProperty;var Pt=(t,e)=>()=>(t&&(e=t(t=0)),e);var N=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ys=(t,e)=>{for(var r in e)Lo(t,r,{get:e[r],enumerable:!0})},nC=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of C4(e))!m4.call(t,s)&&s!==r&&Lo(t,s,{get:()=>e[s],enumerable:!(n=d4(e,s))||n.enumerable});return t};var ce=(t,e,r)=>(r=t!=null?f4(h4(t)):{},nC(e||!t||!t.__esModule?Lo(r,"default",{value:t,enumerable:!0}):r,t)),zr=t=>nC(Lo({},"__esModule",{value:!0}),t);var p=Pt(()=>{});var x={};Ys(x,{_debugEnd:()=>zC,_debugProcess:()=>HC,_events:()=>ah,_eventsCount:()=>lh,_exiting:()=>SC,_fatalExceptions:()=>VC,_getActiveHandles:()=>NC,_getActiveRequests:()=>AC,_kill:()=>OC,_linkedBinding:()=>DC,_maxListeners:()=>oh,_preload_modules:()=>nh,_rawDebug:()=>wC,_startProfilerIdleNotifier:()=>jC,_stopProfilerIdleNotifier:()=>QC,_tickCallback:()=>GC,abort:()=>XC,addListener:()=>uh,allowedNodeEnvironmentFlags:()=>MC,arch:()=>lC,argv:()=>cC,argv0:()=>rh,assert:()=>_C,binding:()=>hC,chdir:()=>vC,config:()=>kC,cpuUsage:()=>Mo,cwd:()=>gC,debugPort:()=>th,default:()=>gh,dlopen:()=>PC,domain:()=>xC,emit:()=>dh,emitWarning:()=>CC,env:()=>BC,execArgv:()=>pC,execPath:()=>eh,exit:()=>RC,features:()=>qC,hasUncaughtExceptionCaptureCallback:()=>WC,hrtime:()=>Fo,kill:()=>LC,listeners:()=>mh,memoryUsage:()=>IC,moduleLoadList:()=>bC,nextTick:()=>iC,off:()=>ch,on:()=>Nr,once:()=>Bh,openStdin:()=>FC,pid:()=>ZC,platform:()=>uC,ppid:()=>$C,prependListener:()=>Ch,prependOnceListener:()=>hh,reallyExit:()=>EC,release:()=>yC,removeAllListeners:()=>fh,removeListener:()=>ph,resourceUsage:()=>TC,setSourceMapsEnabled:()=>sh,setUncaughtExceptionCaptureCallback:()=>UC,stderr:()=>KC,stdin:()=>YC,stdout:()=>JC,title:()=>aC,umask:()=>mC,uptime:()=>ih,version:()=>fC,versions:()=>dC});function Vu(t){throw new Error("Node.js process "+t+" is not supported by JSPM core outside of Node.js")}function g4(){!ts||!Dn||(ts=!1,Dn.length?Ar=Dn.concat(Ar):Ro=-1,Ar.length&&sC())}function sC(){if(!ts){var t=setTimeout(g4,0);ts=!0;for(var e=Ar.length;e;){for(Dn=Ar,Ar=[];++Ro<e;)Dn&&Dn[Ro].run();Ro=-1,e=Ar.length}Dn=null,ts=!1,clearTimeout(t)}}function iC(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];Ar.push(new oC(t,e)),Ar.length===1&&!ts&&setTimeout(sC,0)}function oC(t,e){this.fun=t,this.array=e}function ot(){}function DC(t){Vu("_linkedBinding")}function PC(t){Vu("dlopen")}function AC(){return[]}function NC(){return[]}function _C(t,e){if(!t)throw new Error(e||"assertion error")}function WC(){return!1}function ih(){return jr.now()/1e3}function Fo(t){var e=Math.floor((Date.now()-jr.now())*.001),r=jr.now()*.001,n=Math.floor(r)+e,s=Math.floor(r%1*1e9);return t&&(n=n-t[0],s=s-t[1],s<0&&(n--,s+=qu)),[n,s]}function Nr(){return gh}function mh(t){return[]}var Ar,ts,Dn,Ro,aC,lC,uC,BC,cC,pC,fC,dC,CC,hC,mC,gC,vC,yC,wC,bC,xC,SC,kC,EC,OC,Mo,TC,IC,LC,RC,FC,MC,qC,VC,UC,GC,HC,zC,jC,QC,JC,KC,YC,XC,ZC,$C,eh,th,rh,nh,sh,jr,_u,qu,oh,ah,lh,uh,Bh,ch,ph,fh,dh,Ch,hh,gh,vh=Pt(()=>{p();d();f();Ar=[],ts=!1,Ro=-1;oC.prototype.run=function(){this.fun.apply(null,this.array)};aC="browser",lC="x64",uC="browser",BC={PATH:"/usr/bin",LANG:navigator.language+".UTF-8",PWD:"/",HOME:"/home",TMP:"/tmp"},cC=["/usr/bin/node"],pC=[],fC="v16.8.0",dC={},CC=function(t,e){console.warn((e?e+": ":"")+t)},hC=function(t){Vu("binding")},mC=function(t){return 0},gC=function(){return"/"},vC=function(t){},yC={name:"node",sourceUrl:"",headersUrl:"",libUrl:""};wC=ot,bC=[];xC={},SC=!1,kC={};EC=ot,OC=ot,Mo=function(){return{}},TC=Mo,IC=Mo,LC=ot,RC=ot,FC=ot,MC={};qC={inspector:!1,debug:!1,uv:!1,ipv6:!1,tls_alpn:!1,tls_sni:!1,tls_ocsp:!1,tls:!1,cached_builtins:!0},VC=ot,UC=ot;GC=ot,HC=ot,zC=ot,jC=ot,QC=ot,JC=void 0,KC=void 0,YC=void 0,XC=ot,ZC=2,$C=1,eh="/bin/usr/node",th=9229,rh="node",nh=[],sh=ot,jr={now:typeof performance<"u"?performance.now.bind(performance):void 0,timing:typeof performance<"u"?performance.timing:void 0};jr.now===void 0&&(_u=Date.now(),jr.timing&&jr.timing.navigationStart&&(_u=jr.timing.navigationStart),jr.now=()=>Date.now()-_u);qu=1e9;Fo.bigint=function(t){var e=Fo(t);return typeof BigInt>"u"?e[0]*qu+e[1]:BigInt(e[0]*qu)+BigInt(e[1])};oh=10,ah={},lh=0;uh=Nr,Bh=Nr,ch=Nr,ph=Nr,fh=Nr,dh=ot,Ch=Nr,hh=Nr;gh={version:fC,versions:dC,arch:lC,platform:uC,release:yC,_rawDebug:wC,moduleLoadList:bC,binding:hC,_linkedBinding:DC,_events:ah,_eventsCount:lh,_maxListeners:oh,on:Nr,addListener:uh,once:Bh,off:ch,removeListener:ph,removeAllListeners:fh,emit:dh,prependListener:Ch,prependOnceListener:hh,listeners:mh,domain:xC,_exiting:SC,config:kC,dlopen:PC,uptime:ih,_getActiveRequests:AC,_getActiveHandles:NC,reallyExit:EC,_kill:OC,cpuUsage:Mo,resourceUsage:TC,memoryUsage:IC,kill:LC,exit:RC,openStdin:FC,allowedNodeEnvironmentFlags:MC,assert:_C,features:qC,_fatalExceptions:VC,setUncaughtExceptionCaptureCallback:UC,hasUncaughtExceptionCaptureCallback:WC,emitWarning:CC,nextTick:iC,_tickCallback:GC,_debugProcess:HC,_debugEnd:zC,_startProfilerIdleNotifier:jC,_stopProfilerIdleNotifier:QC,stdout:JC,stdin:YC,stderr:KC,abort:XC,umask:mC,chdir:vC,cwd:gC,env:BC,title:aC,argv:cC,execArgv:pC,pid:ZC,ppid:$C,execPath:eh,debugPort:th,hrtime:Fo,argv0:rh,_preload_modules:nh,setSourceMapsEnabled:sh}});var f=Pt(()=>{vh()});function v4(){if(yh)return Xs;yh=!0,Xs.byteLength=a,Xs.toByteArray=u,Xs.fromByteArray=h;for(var t=[],e=[],r=typeof Uint8Array<"u"?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,o=n.length;s<o;++s)t[s]=n[s],e[n.charCodeAt(s)]=s;e[45]=62,e[95]=63;function i(g){var v=g.length;if(v%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var w=g.indexOf("=");w===-1&&(w=v);var y=w===v?0:4-w%4;return[w,y]}function a(g){var v=i(g),w=v[0],y=v[1];return(w+y)*3/4-y}function l(g,v,w){return(v+w)*3/4-w}function u(g){var v,w=i(g),y=w[0],P=w[1],O=new r(l(g,y,P)),E=0,F=P>0?y-4:y,q;for(q=0;q<F;q+=4)v=e[g.charCodeAt(q)]<<18|e[g.charCodeAt(q+1)]<<12|e[g.charCodeAt(q+2)]<<6|e[g.charCodeAt(q+3)],O[E++]=v>>16&255,O[E++]=v>>8&255,O[E++]=v&255;return P===2&&(v=e[g.charCodeAt(q)]<<2|e[g.charCodeAt(q+1)]>>4,O[E++]=v&255),P===1&&(v=e[g.charCodeAt(q)]<<10|e[g.charCodeAt(q+1)]<<4|e[g.charCodeAt(q+2)]>>2,O[E++]=v>>8&255,O[E++]=v&255),O}function c(g){return t[g>>18&63]+t[g>>12&63]+t[g>>6&63]+t[g&63]}function B(g,v,w){for(var y,P=[],O=v;O<w;O+=3)y=(g[O]<<16&16711680)+(g[O+1]<<8&65280)+(g[O+2]&255),P.push(c(y));return P.join("")}function h(g){for(var v,w=g.length,y=w%3,P=[],O=16383,E=0,F=w-y;E<F;E+=O)P.push(B(g,E,E+O>F?F:E+O));return y===1?(v=g[w-1],P.push(t[v>>2]+t[v<<4&63]+"==")):y===2&&(v=(g[w-2]<<8)+g[w-1],P.push(t[v>>10]+t[v>>4&63]+t[v<<2&63]+"=")),P.join("")}return Xs}function y4(){if(wh)return _o;wh=!0;return _o.read=function(t,e,r,n,s){var o,i,a=s*8-n-1,l=(1<<a)-1,u=l>>1,c=-7,B=r?s-1:0,h=r?-1:1,g=t[e+B];for(B+=h,o=g&(1<<-c)-1,g>>=-c,c+=a;c>0;o=o*256+t[e+B],B+=h,c-=8);for(i=o&(1<<-c)-1,o>>=-c,c+=n;c>0;i=i*256+t[e+B],B+=h,c-=8);if(o===0)o=1-u;else{if(o===l)return i?NaN:(g?-1:1)*(1/0);i=i+Math.pow(2,n),o=o-u}return(g?-1:1)*i*Math.pow(2,o-n)},_o.write=function(t,e,r,n,s,o){var i,a,l,u=o*8-s-1,c=(1<<u)-1,B=c>>1,h=s===23?Math.pow(2,-24)-Math.pow(2,-77):0,g=n?0:o-1,v=n?1:-1,w=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,i=c):(i=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-i))<1&&(i--,l*=2),i+B>=1?e+=h/l:e+=h*Math.pow(2,1-B),e*l>=2&&(i++,l/=2),i+B>=c?(a=0,i=c):i+B>=1?(a=(e*l-1)*Math.pow(2,s),i=i+B):(a=e*Math.pow(2,B-1)*Math.pow(2,s),i=0));s>=8;t[r+g]=a&255,g+=v,a/=256,s-=8);for(i=i<<s|a,u+=s;u>0;t[r+g]=i&255,g+=v,i/=256,u-=8);t[r+g-v]|=w*128},_o}function w4(){if(bh)return xn;bh=!0;let t=v4(),e=y4(),r=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;xn.Buffer=i,xn.SlowBuffer=P,xn.INSPECT_MAX_BYTES=50;let n=2147483647;xn.kMaxLength=n,i.TYPED_ARRAY_SUPPORT=s(),!i.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 b=new Uint8Array(1),C={foo:function(){return 42}};return Object.setPrototypeOf(C,Uint8Array.prototype),Object.setPrototypeOf(b,C),b.foo()===42}catch{return!1}}Object.defineProperty(i.prototype,"parent",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.buffer}}),Object.defineProperty(i.prototype,"offset",{enumerable:!0,get:function(){if(i.isBuffer(this))return this.byteOffset}});function o(b){if(b>n)throw new RangeError('The value "'+b+'" is invalid for option "size"');let C=new Uint8Array(b);return Object.setPrototypeOf(C,i.prototype),C}function i(b,C,m){if(typeof b=="number"){if(typeof C=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return c(b)}return a(b,C,m)}i.poolSize=8192;function a(b,C,m){if(typeof b=="string")return B(b,C);if(ArrayBuffer.isView(b))return g(b);if(b==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof b);if(ir(b,ArrayBuffer)||b&&ir(b.buffer,ArrayBuffer)||typeof SharedArrayBuffer<"u"&&(ir(b,SharedArrayBuffer)||b&&ir(b.buffer,SharedArrayBuffer)))return v(b,C,m);if(typeof b=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');let A=b.valueOf&&b.valueOf();if(A!=null&&A!==b)return i.from(A,C,m);let T=w(b);if(T)return T;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof b[Symbol.toPrimitive]=="function")return i.from(b[Symbol.toPrimitive]("string"),C,m);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof b)}i.from=function(b,C,m){return a(b,C,m)},Object.setPrototypeOf(i.prototype,Uint8Array.prototype),Object.setPrototypeOf(i,Uint8Array);function l(b){if(typeof b!="number")throw new TypeError('"size" argument must be of type number');if(b<0)throw new RangeError('The value "'+b+'" is invalid for option "size"')}function u(b,C,m){return l(b),b<=0?o(b):C!==void 0?typeof m=="string"?o(b).fill(C,m):o(b).fill(C):o(b)}i.alloc=function(b,C,m){return u(b,C,m)};function c(b){return l(b),o(b<0?0:y(b)|0)}i.allocUnsafe=function(b){return c(b)},i.allocUnsafeSlow=function(b){return c(b)};function B(b,C){if((typeof C!="string"||C==="")&&(C="utf8"),!i.isEncoding(C))throw new TypeError("Unknown encoding: "+C);let m=O(b,C)|0,A=o(m),T=A.write(b,C);return T!==m&&(A=A.slice(0,T)),A}function h(b){let C=b.length<0?0:y(b.length)|0,m=o(C);for(let A=0;A<C;A+=1)m[A]=b[A]&255;return m}function g(b){if(ir(b,Uint8Array)){let C=new Uint8Array(b);return v(C.buffer,C.byteOffset,C.byteLength)}return h(b)}function v(b,C,m){if(C<0||b.byteLength<C)throw new RangeError('"offset" is outside of buffer bounds');if(b.byteLength<C+(m||0))throw new RangeError('"length" is outside of buffer bounds');let A;return C===void 0&&m===void 0?A=new Uint8Array(b):m===void 0?A=new Uint8Array(b,C):A=new Uint8Array(b,C,m),Object.setPrototypeOf(A,i.prototype),A}function w(b){if(i.isBuffer(b)){let C=y(b.length)|0,m=o(C);return m.length===0||b.copy(m,0,0,C),m}if(b.length!==void 0)return typeof b.length!="number"||Mu(b.length)?o(0):h(b);if(b.type==="Buffer"&&Array.isArray(b.data))return h(b.data)}function y(b){if(b>=n)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+n.toString(16)+" bytes");return b|0}function P(b){return+b!=b&&(b=0),i.alloc(+b)}i.isBuffer=function(C){return C!=null&&C._isBuffer===!0&&C!==i.prototype},i.compare=function(C,m){if(ir(C,Uint8Array)&&(C=i.from(C,C.offset,C.byteLength)),ir(m,Uint8Array)&&(m=i.from(m,m.offset,m.byteLength)),!i.isBuffer(C)||!i.isBuffer(m))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(C===m)return 0;let A=C.length,T=m.length;for(let L=0,M=Math.min(A,T);L<M;++L)if(C[L]!==m[L]){A=C[L],T=m[L];break}return A<T?-1:T<A?1:0},i.isEncoding=function(C){switch(String(C).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}},i.concat=function(C,m){if(!Array.isArray(C))throw new TypeError('"list" argument must be an Array of Buffers');if(C.length===0)return i.alloc(0);let A;if(m===void 0)for(m=0,A=0;A<C.length;++A)m+=C[A].length;let T=i.allocUnsafe(m),L=0;for(A=0;A<C.length;++A){let M=C[A];if(ir(M,Uint8Array))L+M.length>T.length?(i.isBuffer(M)||(M=i.from(M)),M.copy(T,L)):Uint8Array.prototype.set.call(T,M,L);else if(i.isBuffer(M))M.copy(T,L);else throw new TypeError('"list" argument must be an Array of Buffers');L+=M.length}return T};function O(b,C){if(i.isBuffer(b))return b.length;if(ArrayBuffer.isView(b)||ir(b,ArrayBuffer))return b.byteLength;if(typeof b!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof b);let m=b.length,A=arguments.length>2&&arguments[2]===!0;if(!A&&m===0)return 0;let T=!1;for(;;)switch(C){case"ascii":case"latin1":case"binary":return m;case"utf8":case"utf-8":return Fu(b).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return m*2;case"hex":return m>>>1;case"base64":return rC(b).length;default:if(T)return A?-1:Fu(b).length;C=(""+C).toLowerCase(),T=!0}}i.byteLength=O;function E(b,C,m){let A=!1;if((C===void 0||C<0)&&(C=0),C>this.length||((m===void 0||m>this.length)&&(m=this.length),m<=0)||(m>>>=0,C>>>=0,m<=C))return"";for(b||(b="utf8");;)switch(b){case"hex":return s4(this,C,m);case"utf8":case"utf-8":return kt(this,C,m);case"ascii":return Lu(this,C,m);case"latin1":case"binary":return n4(this,C,m);case"base64":return $e(this,C,m);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return i4(this,C,m);default:if(A)throw new TypeError("Unknown encoding: "+b);b=(b+"").toLowerCase(),A=!0}}i.prototype._isBuffer=!0;function F(b,C,m){let A=b[C];b[C]=b[m],b[m]=A}i.prototype.swap16=function(){let C=this.length;if(C%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let m=0;m<C;m+=2)F(this,m,m+1);return this},i.prototype.swap32=function(){let C=this.length;if(C%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let m=0;m<C;m+=4)F(this,m,m+3),F(this,m+1,m+2);return this},i.prototype.swap64=function(){let C=this.length;if(C%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let m=0;m<C;m+=8)F(this,m,m+7),F(this,m+1,m+6),F(this,m+2,m+5),F(this,m+3,m+4);return this},i.prototype.toString=function(){let C=this.length;return C===0?"":arguments.length===0?kt(this,0,C):E.apply(this,arguments)},i.prototype.toLocaleString=i.prototype.toString,i.prototype.equals=function(C){if(!i.isBuffer(C))throw new TypeError("Argument must be a Buffer");return this===C?!0:i.compare(this,C)===0},i.prototype.inspect=function(){let C="",m=xn.INSPECT_MAX_BYTES;return C=this.toString("hex",0,m).replace(/(.{2})/g,"$1 ").trim(),this.length>m&&(C+=" ... "),"<Buffer "+C+">"},r&&(i.prototype[r]=i.prototype.inspect),i.prototype.compare=function(C,m,A,T,L){if(ir(C,Uint8Array)&&(C=i.from(C,C.offset,C.byteLength)),!i.isBuffer(C))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof C);if(m===void 0&&(m=0),A===void 0&&(A=C?C.length:0),T===void 0&&(T=0),L===void 0&&(L=this.length),m<0||A>C.length||T<0||L>this.length)throw new RangeError("out of range index");if(T>=L&&m>=A)return 0;if(T>=L)return-1;if(m>=A)return 1;if(m>>>=0,A>>>=0,T>>>=0,L>>>=0,this===C)return 0;let M=L-T,Be=A-m,We=Math.min(M,Be),Ie=this.slice(T,L),Ge=C.slice(m,A);for(let De=0;De<We;++De)if(Ie[De]!==Ge[De]){M=Ie[De],Be=Ge[De];break}return M<Be?-1:Be<M?1:0};function q(b,C,m,A,T){if(b.length===0)return-1;if(typeof m=="string"?(A=m,m=0):m>2147483647?m=2147483647:m<-2147483648&&(m=-2147483648),m=+m,Mu(m)&&(m=T?0:b.length-1),m<0&&(m=b.length+m),m>=b.length){if(T)return-1;m=b.length-1}else if(m<0)if(T)m=0;else return-1;if(typeof C=="string"&&(C=i.from(C,A)),i.isBuffer(C))return C.length===0?-1:ye(b,C,m,A,T);if(typeof C=="number")return C=C&255,typeof Uint8Array.prototype.indexOf=="function"?T?Uint8Array.prototype.indexOf.call(b,C,m):Uint8Array.prototype.lastIndexOf.call(b,C,m):ye(b,[C],m,A,T);throw new TypeError("val must be string, number or Buffer")}function ye(b,C,m,A,T){let L=1,M=b.length,Be=C.length;if(A!==void 0&&(A=String(A).toLowerCase(),A==="ucs2"||A==="ucs-2"||A==="utf16le"||A==="utf-16le")){if(b.length<2||C.length<2)return-1;L=2,M/=2,Be/=2,m/=2}function We(Ge,De){return L===1?Ge[De]:Ge.readUInt16BE(De*L)}let Ie;if(T){let Ge=-1;for(Ie=m;Ie<M;Ie++)if(We(b,Ie)===We(C,Ge===-1?0:Ie-Ge)){if(Ge===-1&&(Ge=Ie),Ie-Ge+1===Be)return Ge*L}else Ge!==-1&&(Ie-=Ie-Ge),Ge=-1}else for(m+Be>M&&(m=M-Be),Ie=m;Ie>=0;Ie--){let Ge=!0;for(let De=0;De<Be;De++)if(We(b,Ie+De)!==We(C,De)){Ge=!1;break}if(Ge)return Ie}return-1}i.prototype.includes=function(C,m,A){return this.indexOf(C,m,A)!==-1},i.prototype.indexOf=function(C,m,A){return q(this,C,m,A,!0)},i.prototype.lastIndexOf=function(C,m,A){return q(this,C,m,A,!1)};function ae(b,C,m,A){m=Number(m)||0;let T=b.length-m;A?(A=Number(A),A>T&&(A=T)):A=T;let L=C.length;A>L/2&&(A=L/2);let M;for(M=0;M<A;++M){let Be=parseInt(C.substr(M*2,2),16);if(Mu(Be))return M;b[m+M]=Be}return M}function ue(b,C,m,A){return Io(Fu(C,b.length-m),b,m,A)}function J(b,C,m,A){return Io(u4(C),b,m,A)}function Z(b,C,m,A){return Io(rC(C),b,m,A)}function Lt(b,C,m,A){return Io(B4(C,b.length-m),b,m,A)}i.prototype.write=function(C,m,A,T){if(m===void 0)T="utf8",A=this.length,m=0;else if(A===void 0&&typeof m=="string")T=m,A=this.length,m=0;else if(isFinite(m))m=m>>>0,isFinite(A)?(A=A>>>0,T===void 0&&(T="utf8")):(T=A,A=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let L=this.length-m;if((A===void 0||A>L)&&(A=L),C.length>0&&(A<0||m<0)||m>this.length)throw new RangeError("Attempt to write outside buffer bounds");T||(T="utf8");let M=!1;for(;;)switch(T){case"hex":return ae(this,C,m,A);case"utf8":case"utf-8":return ue(this,C,m,A);case"ascii":case"latin1":case"binary":return J(this,C,m,A);case"base64":return Z(this,C,m,A);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Lt(this,C,m,A);default:if(M)throw new TypeError("Unknown encoding: "+T);T=(""+T).toLowerCase(),M=!0}},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function $e(b,C,m){return C===0&&m===b.length?t.fromByteArray(b):t.fromByteArray(b.slice(C,m))}function kt(b,C,m){m=Math.min(b.length,m);let A=[],T=C;for(;T<m;){let L=b[T],M=null,Be=L>239?4:L>223?3:L>191?2:1;if(T+Be<=m){let We,Ie,Ge,De;switch(Be){case 1:L<128&&(M=L);break;case 2:We=b[T+1],(We&192)===128&&(De=(L&31)<<6|We&63,De>127&&(M=De));break;case 3:We=b[T+1],Ie=b[T+2],(We&192)===128&&(Ie&192)===128&&(De=(L&15)<<12|(We&63)<<6|Ie&63,De>2047&&(De<55296||De>57343)&&(M=De));break;case 4:We=b[T+1],Ie=b[T+2],Ge=b[T+3],(We&192)===128&&(Ie&192)===128&&(Ge&192)===128&&(De=(L&15)<<18|(We&63)<<12|(Ie&63)<<6|Ge&63,De>65535&&De<1114112&&(M=De))}}M===null?(M=65533,Be=1):M>65535&&(M-=65536,A.push(M>>>10&1023|55296),M=56320|M&1023),A.push(M),T+=Be}return Zn(A)}let Rt=4096;function Zn(b){let C=b.length;if(C<=Rt)return String.fromCharCode.apply(String,b);let m="",A=0;for(;A<C;)m+=String.fromCharCode.apply(String,b.slice(A,A+=Rt));return m}function Lu(b,C,m){let A="";m=Math.min(b.length,m);for(let T=C;T<m;++T)A+=String.fromCharCode(b[T]&127);return A}function n4(b,C,m){let A="";m=Math.min(b.length,m);for(let T=C;T<m;++T)A+=String.fromCharCode(b[T]);return A}function s4(b,C,m){let A=b.length;(!C||C<0)&&(C=0),(!m||m<0||m>A)&&(m=A);let T="";for(let L=C;L<m;++L)T+=c4[b[L]];return T}function i4(b,C,m){let A=b.slice(C,m),T="";for(let L=0;L<A.length-1;L+=2)T+=String.fromCharCode(A[L]+A[L+1]*256);return T}i.prototype.slice=function(C,m){let A=this.length;C=~~C,m=m===void 0?A:~~m,C<0?(C+=A,C<0&&(C=0)):C>A&&(C=A),m<0?(m+=A,m<0&&(m=0)):m>A&&(m=A),m<C&&(m=C);let T=this.subarray(C,m);return Object.setPrototypeOf(T,i.prototype),T};function st(b,C,m){if(b%1!==0||b<0)throw new RangeError("offset is not uint");if(b+C>m)throw new RangeError("Trying to access beyond buffer length")}i.prototype.readUintLE=i.prototype.readUIntLE=function(C,m,A){C=C>>>0,m=m>>>0,A||st(C,m,this.length);let T=this[C],L=1,M=0;for(;++M<m&&(L*=256);)T+=this[C+M]*L;return T},i.prototype.readUintBE=i.prototype.readUIntBE=function(C,m,A){C=C>>>0,m=m>>>0,A||st(C,m,this.length);let T=this[C+--m],L=1;for(;m>0&&(L*=256);)T+=this[C+--m]*L;return T},i.prototype.readUint8=i.prototype.readUInt8=function(C,m){return C=C>>>0,m||st(C,1,this.length),this[C]},i.prototype.readUint16LE=i.prototype.readUInt16LE=function(C,m){return C=C>>>0,m||st(C,2,this.length),this[C]|this[C+1]<<8},i.prototype.readUint16BE=i.prototype.readUInt16BE=function(C,m){return C=C>>>0,m||st(C,2,this.length),this[C]<<8|this[C+1]},i.prototype.readUint32LE=i.prototype.readUInt32LE=function(C,m){return C=C>>>0,m||st(C,4,this.length),(this[C]|this[C+1]<<8|this[C+2]<<16)+this[C+3]*16777216},i.prototype.readUint32BE=i.prototype.readUInt32BE=function(C,m){return C=C>>>0,m||st(C,4,this.length),this[C]*16777216+(this[C+1]<<16|this[C+2]<<8|this[C+3])},i.prototype.readBigUInt64LE=Hr(function(C){C=C>>>0,es(C,"offset");let m=this[C],A=this[C+7];(m===void 0||A===void 0)&&Ks(C,this.length-8);let T=m+this[++C]*2**8+this[++C]*2**16+this[++C]*2**24,L=this[++C]+this[++C]*2**8+this[++C]*2**16+A*2**24;return BigInt(T)+(BigInt(L)<<BigInt(32))}),i.prototype.readBigUInt64BE=Hr(function(C){C=C>>>0,es(C,"offset");let m=this[C],A=this[C+7];(m===void 0||A===void 0)&&Ks(C,this.length-8);let T=m*2**24+this[++C]*2**16+this[++C]*2**8+this[++C],L=this[++C]*2**24+this[++C]*2**16+this[++C]*2**8+A;return(BigInt(T)<<BigInt(32))+BigInt(L)}),i.prototype.readIntLE=function(C,m,A){C=C>>>0,m=m>>>0,A||st(C,m,this.length);let T=this[C],L=1,M=0;for(;++M<m&&(L*=256);)T+=this[C+M]*L;return L*=128,T>=L&&(T-=Math.pow(2,8*m)),T},i.prototype.readIntBE=function(C,m,A){C=C>>>0,m=m>>>0,A||st(C,m,this.length);let T=m,L=1,M=this[C+--T];for(;T>0&&(L*=256);)M+=this[C+--T]*L;return L*=128,M>=L&&(M-=Math.pow(2,8*m)),M},i.prototype.readInt8=function(C,m){return C=C>>>0,m||st(C,1,this.length),this[C]&128?(255-this[C]+1)*-1:this[C]},i.prototype.readInt16LE=function(C,m){C=C>>>0,m||st(C,2,this.length);let A=this[C]|this[C+1]<<8;return A&32768?A|4294901760:A},i.prototype.readInt16BE=function(C,m){C=C>>>0,m||st(C,2,this.length);let A=this[C+1]|this[C]<<8;return A&32768?A|4294901760:A},i.prototype.readInt32LE=function(C,m){return C=C>>>0,m||st(C,4,this.length),this[C]|this[C+1]<<8|this[C+2]<<16|this[C+3]<<24},i.prototype.readInt32BE=function(C,m){return C=C>>>0,m||st(C,4,this.length),this[C]<<24|this[C+1]<<16|this[C+2]<<8|this[C+3]},i.prototype.readBigInt64LE=Hr(function(C){C=C>>>0,es(C,"offset");let m=this[C],A=this[C+7];(m===void 0||A===void 0)&&Ks(C,this.length-8);let T=this[C+4]+this[C+5]*2**8+this[C+6]*2**16+(A<<24);return(BigInt(T)<<BigInt(32))+BigInt(m+this[++C]*2**8+this[++C]*2**16+this[++C]*2**24)}),i.prototype.readBigInt64BE=Hr(function(C){C=C>>>0,es(C,"offset");let m=this[C],A=this[C+7];(m===void 0||A===void 0)&&Ks(C,this.length-8);let T=(m<<24)+this[++C]*2**16+this[++C]*2**8+this[++C];return(BigInt(T)<<BigInt(32))+BigInt(this[++C]*2**24+this[++C]*2**16+this[++C]*2**8+A)}),i.prototype.readFloatLE=function(C,m){return C=C>>>0,m||st(C,4,this.length),e.read(this,C,!0,23,4)},i.prototype.readFloatBE=function(C,m){return C=C>>>0,m||st(C,4,this.length),e.read(this,C,!1,23,4)},i.prototype.readDoubleLE=function(C,m){return C=C>>>0,m||st(C,8,this.length),e.read(this,C,!0,52,8)},i.prototype.readDoubleBE=function(C,m){return C=C>>>0,m||st(C,8,this.length),e.read(this,C,!1,52,8)};function mt(b,C,m,A,T,L){if(!i.isBuffer(b))throw new TypeError('"buffer" argument must be a Buffer instance');if(C>T||C<L)throw new RangeError('"value" argument is out of bounds');if(m+A>b.length)throw new RangeError("Index out of range")}i.prototype.writeUintLE=i.prototype.writeUIntLE=function(C,m,A,T){if(C=+C,m=m>>>0,A=A>>>0,!T){let Be=Math.pow(2,8*A)-1;mt(this,C,m,A,Be,0)}let L=1,M=0;for(this[m]=C&255;++M<A&&(L*=256);)this[m+M]=C/L&255;return m+A},i.prototype.writeUintBE=i.prototype.writeUIntBE=function(C,m,A,T){if(C=+C,m=m>>>0,A=A>>>0,!T){let Be=Math.pow(2,8*A)-1;mt(this,C,m,A,Be,0)}let L=A-1,M=1;for(this[m+L]=C&255;--L>=0&&(M*=256);)this[m+L]=C/M&255;return m+A},i.prototype.writeUint8=i.prototype.writeUInt8=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,1,255,0),this[m]=C&255,m+1},i.prototype.writeUint16LE=i.prototype.writeUInt16LE=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,2,65535,0),this[m]=C&255,this[m+1]=C>>>8,m+2},i.prototype.writeUint16BE=i.prototype.writeUInt16BE=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,2,65535,0),this[m]=C>>>8,this[m+1]=C&255,m+2},i.prototype.writeUint32LE=i.prototype.writeUInt32LE=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,4,4294967295,0),this[m+3]=C>>>24,this[m+2]=C>>>16,this[m+1]=C>>>8,this[m]=C&255,m+4},i.prototype.writeUint32BE=i.prototype.writeUInt32BE=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,4,4294967295,0),this[m]=C>>>24,this[m+1]=C>>>16,this[m+2]=C>>>8,this[m+3]=C&255,m+4};function Kd(b,C,m,A,T){tC(C,A,T,b,m,7);let L=Number(C&BigInt(4294967295));b[m++]=L,L=L>>8,b[m++]=L,L=L>>8,b[m++]=L,L=L>>8,b[m++]=L;let M=Number(C>>BigInt(32)&BigInt(4294967295));return b[m++]=M,M=M>>8,b[m++]=M,M=M>>8,b[m++]=M,M=M>>8,b[m++]=M,m}function Yd(b,C,m,A,T){tC(C,A,T,b,m,7);let L=Number(C&BigInt(4294967295));b[m+7]=L,L=L>>8,b[m+6]=L,L=L>>8,b[m+5]=L,L=L>>8,b[m+4]=L;let M=Number(C>>BigInt(32)&BigInt(4294967295));return b[m+3]=M,M=M>>8,b[m+2]=M,M=M>>8,b[m+1]=M,M=M>>8,b[m]=M,m+8}i.prototype.writeBigUInt64LE=Hr(function(C,m=0){return Kd(this,C,m,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeBigUInt64BE=Hr(function(C,m=0){return Yd(this,C,m,BigInt(0),BigInt("0xffffffffffffffff"))}),i.prototype.writeIntLE=function(C,m,A,T){if(C=+C,m=m>>>0,!T){let We=Math.pow(2,8*A-1);mt(this,C,m,A,We-1,-We)}let L=0,M=1,Be=0;for(this[m]=C&255;++L<A&&(M*=256);)C<0&&Be===0&&this[m+L-1]!==0&&(Be=1),this[m+L]=(C/M>>0)-Be&255;return m+A},i.prototype.writeIntBE=function(C,m,A,T){if(C=+C,m=m>>>0,!T){let We=Math.pow(2,8*A-1);mt(this,C,m,A,We-1,-We)}let L=A-1,M=1,Be=0;for(this[m+L]=C&255;--L>=0&&(M*=256);)C<0&&Be===0&&this[m+L+1]!==0&&(Be=1),this[m+L]=(C/M>>0)-Be&255;return m+A},i.prototype.writeInt8=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,1,127,-128),C<0&&(C=255+C+1),this[m]=C&255,m+1},i.prototype.writeInt16LE=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,2,32767,-32768),this[m]=C&255,this[m+1]=C>>>8,m+2},i.prototype.writeInt16BE=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,2,32767,-32768),this[m]=C>>>8,this[m+1]=C&255,m+2},i.prototype.writeInt32LE=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,4,2147483647,-2147483648),this[m]=C&255,this[m+1]=C>>>8,this[m+2]=C>>>16,this[m+3]=C>>>24,m+4},i.prototype.writeInt32BE=function(C,m,A){return C=+C,m=m>>>0,A||mt(this,C,m,4,2147483647,-2147483648),C<0&&(C=4294967295+C+1),this[m]=C>>>24,this[m+1]=C>>>16,this[m+2]=C>>>8,this[m+3]=C&255,m+4},i.prototype.writeBigInt64LE=Hr(function(C,m=0){return Kd(this,C,m,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),i.prototype.writeBigInt64BE=Hr(function(C,m=0){return Yd(this,C,m,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Xd(b,C,m,A,T,L){if(m+A>b.length)throw new RangeError("Index out of range");if(m<0)throw new RangeError("Index out of range")}function Zd(b,C,m,A,T){return C=+C,m=m>>>0,T||Xd(b,C,m,4),e.write(b,C,m,A,23,4),m+4}i.prototype.writeFloatLE=function(C,m,A){return Zd(this,C,m,!0,A)},i.prototype.writeFloatBE=function(C,m,A){return Zd(this,C,m,!1,A)};function $d(b,C,m,A,T){return C=+C,m=m>>>0,T||Xd(b,C,m,8),e.write(b,C,m,A,52,8),m+8}i.prototype.writeDoubleLE=function(C,m,A){return $d(this,C,m,!0,A)},i.prototype.writeDoubleBE=function(C,m,A){return $d(this,C,m,!1,A)},i.prototype.copy=function(C,m,A,T){if(!i.isBuffer(C))throw new TypeError("argument should be a Buffer");if(A||(A=0),!T&&T!==0&&(T=this.length),m>=C.length&&(m=C.length),m||(m=0),T>0&&T<A&&(T=A),T===A||C.length===0||this.length===0)return 0;if(m<0)throw new RangeError("targetStart out of bounds");if(A<0||A>=this.length)throw new RangeError("Index out of range");if(T<0)throw new RangeError("sourceEnd out of bounds");T>this.length&&(T=this.length),C.length-m<T-A&&(T=C.length-m+A);let L=T-A;return this===C&&typeof Uint8Array.prototype.copyWithin=="function"?this.copyWithin(m,A,T):Uint8Array.prototype.set.call(C,this.subarray(A,T),m),L},i.prototype.fill=function(C,m,A,T){if(typeof C=="string"){if(typeof m=="string"?(T=m,m=0,A=this.length):typeof A=="string"&&(T=A,A=this.length),T!==void 0&&typeof T!="string")throw new TypeError("encoding must be a string");if(typeof T=="string"&&!i.isEncoding(T))throw new TypeError("Unknown encoding: "+T);if(C.length===1){let M=C.charCodeAt(0);(T==="utf8"&&M<128||T==="latin1")&&(C=M)}}else typeof C=="number"?C=C&255:typeof C=="boolean"&&(C=Number(C));if(m<0||this.length<m||this.length<A)throw new RangeError("Out of range index");if(A<=m)return this;m=m>>>0,A=A===void 0?this.length:A>>>0,C||(C=0);let L;if(typeof C=="number")for(L=m;L<A;++L)this[L]=C;else{let M=i.isBuffer(C)?C:i.from(C,T),Be=M.length;if(Be===0)throw new TypeError('The value "'+C+'" is invalid for argument "value"');for(L=0;L<A-m;++L)this[L+m]=M[L%Be]}return this};let $n={};function Ru(b,C,m){$n[b]=class extends m{constructor(){super(),Object.defineProperty(this,"message",{value:C.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${b}]`,this.stack,delete this.name}get code(){return b}set code(T){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:T,writable:!0})}toString(){return`${this.name} [${b}]: ${this.message}`}}}Ru("ERR_BUFFER_OUT_OF_BOUNDS",function(b){return b?`${b} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),Ru("ERR_INVALID_ARG_TYPE",function(b,C){return`The "${b}" argument must be of type number. Received type ${typeof C}`},TypeError),Ru("ERR_OUT_OF_RANGE",function(b,C,m){let A=`The value of "${b}" is out of range.`,T=m;return Number.isInteger(m)&&Math.abs(m)>2**32?T=eC(String(m)):typeof m=="bigint"&&(T=String(m),(m>BigInt(2)**BigInt(32)||m<-(BigInt(2)**BigInt(32)))&&(T=eC(T)),T+="n"),A+=` It must be ${C}. Received ${T}`,A},RangeError);function eC(b){let C="",m=b.length,A=b[0]==="-"?1:0;for(;m>=A+4;m-=3)C=`_${b.slice(m-3,m)}${C}`;return`${b.slice(0,m)}${C}`}function o4(b,C,m){es(C,"offset"),(b[C]===void 0||b[C+m]===void 0)&&Ks(C,b.length-(m+1))}function tC(b,C,m,A,T,L){if(b>m||b<C){let M=typeof C=="bigint"?"n":"",Be;throw L>3?C===0||C===BigInt(0)?Be=`>= 0${M} and < 2${M} ** ${(L+1)*8}${M}`:Be=`>= -(2${M} ** ${(L+1)*8-1}${M}) and < 2 ** ${(L+1)*8-1}${M}`:Be=`>= ${C}${M} and <= ${m}${M}`,new $n.ERR_OUT_OF_RANGE("value",Be,b)}o4(A,T,L)}function es(b,C){if(typeof b!="number")throw new $n.ERR_INVALID_ARG_TYPE(C,"number",b)}function Ks(b,C,m){throw Math.floor(b)!==b?(es(b,m),new $n.ERR_OUT_OF_RANGE(m||"offset","an integer",b)):C<0?new $n.ERR_BUFFER_OUT_OF_BOUNDS:new $n.ERR_OUT_OF_RANGE(m||"offset",`>= ${m?1:0} and <= ${C}`,b)}let a4=/[^+/0-9A-Za-z-_]/g;function l4(b){if(b=b.split("=")[0],b=b.trim().replace(a4,""),b.length<2)return"";for(;b.length%4!==0;)b=b+"=";return b}function Fu(b,C){C=C||1/0;let m,A=b.length,T=null,L=[];for(let M=0;M<A;++M){if(m=b.charCodeAt(M),m>55295&&m<57344){if(!T){if(m>56319){(C-=3)>-1&&L.push(239,191,189);continue}else if(M+1===A){(C-=3)>-1&&L.push(239,191,189);continue}T=m;continue}if(m<56320){(C-=3)>-1&&L.push(239,191,189),T=m;continue}m=(T-55296<<10|m-56320)+65536}else T&&(C-=3)>-1&&L.push(239,191,189);if(T=null,m<128){if((C-=1)<0)break;L.push(m)}else if(m<2048){if((C-=2)<0)break;L.push(m>>6|192,m&63|128)}else if(m<65536){if((C-=3)<0)break;L.push(m>>12|224,m>>6&63|128,m&63|128)}else if(m<1114112){if((C-=4)<0)break;L.push(m>>18|240,m>>12&63|128,m>>6&63|128,m&63|128)}else throw new Error("Invalid code point")}return L}function u4(b){let C=[];for(let m=0;m<b.length;++m)C.push(b.charCodeAt(m)&255);return C}function B4(b,C){let m,A,T,L=[];for(let M=0;M<b.length&&!((C-=2)<0);++M)m=b.charCodeAt(M),A=m>>8,T=m%256,L.push(T),L.push(A);return L}function rC(b){return t.toByteArray(l4(b))}function Io(b,C,m,A){let T;for(T=0;T<A&&!(T+m>=C.length||T>=b.length);++T)C[T+m]=b[T];return T}function ir(b,C){return b instanceof C||b!=null&&b.constructor!=null&&b.constructor.name!=null&&b.constructor.name===C.name}function Mu(b){return b!==b}let c4=function(){let b="0123456789abcdef",C=new Array(256);for(let m=0;m<16;++m){let A=m*16;for(let T=0;T<16;++T)C[A+T]=b[m]+b[T]}return C}();function Hr(b){return typeof BigInt>"u"?p4:b}function p4(){throw new Error("BigInt not supported")}return xn}var Xs,yh,_o,wh,xn,bh,Sn,S,dV,CV,Dh=Pt(()=>{p();d();f();Xs={},yh=!1;_o={},wh=!1;xn={},bh=!1;Sn=w4();Sn.Buffer;Sn.SlowBuffer;Sn.INSPECT_MAX_BYTES;Sn.kMaxLength;S=Sn.Buffer,dV=Sn.INSPECT_MAX_BYTES,CV=Sn.kMaxLength});var d=Pt(()=>{Dh()});var Sh=N((bV,xh)=>{p();d();f();xh.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}});var Uu=N((kV,kh)=>{p();d();f();kh.exports.browsers=Sh()});var Ah=N((EV,Ph)=>{p();d();f();Ph.exports={0:"25",1:"112",2:"113",3:"114",4:"115",5:"116",6:"117",7:"118",8:"119",9:"120",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"80",I:"126",J:"4",K:"6",L:"13",M:"14",N:"16",O:"17",P:"18",Q:"79",R:"81",S:"83",T:"84",U:"85",V:"86",W:"87",X:"88",Y:"89",Z:"90",a:"91",b:"92",c:"93",d:"94",e:"95",f:"96",g:"97",h:"98",i:"99",j:"100",k:"101",l:"102",m:"103",n:"104",o:"105",p:"106",q:"107",r:"108",s:"109",t:"110",u:"111",v:"20",w:"21",x:"22",y:"23",z:"24",AB:"121",BB:"122",CB:"123",DB:"124",EB:"125",FB:"5",GB:"19",HB:"26",IB:"27",JB:"28",KB:"29",LB:"30",MB:"31",NB:"32",OB:"33",PB:"34",QB:"35",RB:"36",SB:"37",TB:"38",UB:"39",VB:"40",WB:"41",XB:"42",YB:"43",ZB:"44",aB:"45",bB:"46",cB:"47",dB:"48",eB:"49",fB:"50",gB:"51",hB:"52",iB:"53",jB:"54",kB:"55",lB:"56",mB:"57",nB:"58",oB:"60",pB:"62",qB:"63",rB:"64",sB:"65",tB:"66",uB:"67",vB:"68",wB:"69",xB:"70",yB:"71",zB:"72","0B":"73","1B":"74","2B":"75","3B":"76","4B":"77","5B":"78","6B":"127","7B":"11.1","8B":"12.1","9B":"15.5",AC:"16.0",BC:"17.0",CC:"18.0",DC:"3",EC:"59",FC:"61",GC:"82",HC:"128",IC:"129",JC:"3.2",KC:"10.1",LC:"15.2-15.3",MC:"15.4",NC:"16.1",OC:"16.2",PC:"16.3",QC:"16.4",RC:"16.5",SC:"17.1",TC:"17.2",UC:"17.3",VC:"17.4",WC:"17.5",XC:"17.6",YC:"11.5",ZC:"4.2-4.3",aC:"5.5",bC:"2",cC:"130",dC:"3.5",eC:"3.6",fC:"3.1",gC:"5.1",hC:"6.1",iC:"7.1",jC:"9.1",kC:"13.1",lC:"14.1",mC:"15.1",nC:"15.6",oC:"16.6",pC:"TP",qC:"9.5-9.6",rC:"10.0-10.1",sC:"10.5",tC:"10.6",uC:"11.6",vC:"4.0-4.1",wC:"5.0-5.1",xC:"6.0-6.1",yC:"7.0-7.1",zC:"8.1-8.4","0C":"9.0-9.2","1C":"9.3","2C":"10.0-10.2","3C":"10.3","4C":"11.0-11.2","5C":"11.3-11.4","6C":"12.0-12.1","7C":"12.2-12.5","8C":"13.0-13.1","9C":"13.2",AD:"13.3",BD:"13.4-13.7",CD:"14.0-14.4",DD:"14.5-14.8",ED:"15.0-15.1",FD:"15.6-15.8",GD:"16.6-16.7",HD:"all",ID:"2.1",JD:"2.2",KD:"2.3",LD:"4.1",MD:"4.4",ND:"4.4.3-4.4.4",OD:"5.0-5.4",PD:"6.2-6.4",QD:"7.2-7.4",RD:"8.2",SD:"9.2",TD:"11.1-11.2",UD:"12.0",VD:"13.0",WD:"14.0",XD:"15.0",YD:"19.0",ZD:"14.9",aD:"13.52",bD:"2.5",cD:"3.0-3.1"}});var Wu=N((LV,Nh)=>{p();d();f();Nh.exports.browserVersions=Ah()});var Oh=N((_V,Eh)=>{p();d();f();Eh.exports={A:{A:{K:0,D:0,E:.0271533,F:.0678831,A:0,B:.529489,aC:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","aC","K","D","E","F","A","B","","",""],E:"IE",F:{aC:962323200,K:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968e3}},B:{A:{1:.00757,2:.011355,3:.01514,4:.00757,5:.00757,6:.011355,7:.00757,8:.01514,9:.034065,C:0,L:0,M:0,G:0,N:0,O:.003785,P:.041635,Q:0,H:0,R:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:.011355,c:0,d:0,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:0,m:0,n:0,o:0,p:0,q:.003785,r:.00757,s:.064345,t:.003785,u:.00757,AB:.026495,BB:.064345,CB:.16654,DB:2.88417,EB:1.57834,I:.00757},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","L","M","G","N","O","P","Q","H","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","I","","",""],E:"Edge",F:{1:1680825600,2:1683158400,3:1685664e3,4:1689897600,5:1692576e3,6:1694649600,7:1697155200,8:1698969600,9:1701993600,C:1438128e3,L:1447286400,M:1470096e3,G:1491868800,N:1508198400,O:1525046400,P:1542067200,Q:1579046400,H:1581033600,R:1586736e3,S:1590019200,T:1594857600,U:1598486400,V:1602201600,W:1605830400,X:161136e4,Y:1614816e3,Z:1618358400,a:1622073600,b:1626912e3,c:1630627200,d:1632441600,e:1634774400,f:1637539200,g:1641427200,h:1643932800,i:1646265600,j:1649635200,k:1651190400,l:1653955200,m:1655942400,n:1659657600,o:1661990400,p:1664755200,q:1666915200,r:1670198400,s:1673481600,t:1675900800,u:1678665600,AB:1706227200,BB:1708732800,CB:1711152e3,DB:1713398400,EB:1715990400,I:1718841600},D:{C:"ms",L:"ms",M:"ms",G:"ms",N:"ms",O:"ms",P:"ms"}},C:{A:{0:0,1:0,2:.011355,3:0,4:.397425,5:0,6:.00757,7:.079485,8:0,9:.00757,bC:0,DC:0,J:.003785,FB:0,K:0,D:0,E:0,F:0,A:0,B:.018925,C:0,L:0,M:0,G:0,N:0,O:0,P:0,GB:0,v:0,w:0,x:0,y:0,z:0,HB:0,IB:0,JB:0,KB:0,LB:0,MB:0,NB:0,OB:0,PB:0,QB:0,RB:0,SB:0,TB:0,UB:0,VB:0,WB:0,XB:0,YB:.00757,ZB:.00757,aB:.00757,bB:0,cB:0,dB:0,eB:0,fB:.00757,gB:0,hB:.05299,iB:.003785,jB:.003785,kB:0,lB:.02271,mB:0,nB:0,EC:.003785,oB:0,FC:0,pB:0,qB:0,rB:0,sB:0,tB:0,uB:0,vB:0,wB:0,xB:0,yB:0,zB:0,"0B":0,"1B":0,"2B":0,"3B":0,"4B":0,"5B":.01514,Q:0,H:0,R:0,GC:0,S:0,T:0,U:0,V:0,W:0,X:.011355,Y:0,Z:0,a:0,b:0,c:0,d:.003785,e:0,f:0,g:0,h:0,i:0,j:0,k:0,l:.011355,m:.011355,n:0,o:0,p:0,q:0,r:.003785,s:.00757,t:0,u:0,AB:.00757,BB:.011355,CB:.01514,DB:.06813,EB:.844055,I:.738075,"6B":.003785,HC:0,IC:0,cC:0,dC:0,eC:0},B:"moz",C:["bC","DC","dC","eC","J","FB","K","D","E","F","A","B","C","L","M","G","N","O","P","GB","v","w","x","y","z","0","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","EC","oB","FC","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","Q","H","R","GC","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","I","6B","HC","IC","cC"],E:"Firefox",F:{0:1379376e3,1:1681171200,2:1683590400,3:1686009600,4:1688428800,5:1690848e3,6:1693267200,7:1695686400,8:1698105600,9:1700524800,bC:1161648e3,DC:1213660800,dC:124632e4,eC:1264032e3,J:1300752e3,FB:1308614400,K:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968e3,C:1331596800,L:1335225600,M:1338854400,G:1342483200,N:1346112e3,O:1349740800,P:1353628800,GB:1357603200,v:1361232e3,w:1364860800,x:1368489600,y:1372118400,z:1375747200,HB:1386633600,IB:1391472e3,JB:1395100800,KB:1398729600,LB:1402358400,MB:1405987200,NB:1409616e3,OB:1413244800,PB:1417392e3,QB:1421107200,RB:1424736e3,SB:1428278400,TB:1431475200,UB:1435881600,VB:1439251200,WB:144288e4,XB:1446508800,YB:1450137600,ZB:1453852800,aB:1457395200,bB:1461628800,cB:1465257600,dB:1470096e3,eB:1474329600,fB:1479168e3,gB:1485216e3,hB:1488844800,iB:149256e4,jB:1497312e3,kB:1502150400,lB:1506556800,mB:1510617600,nB:1516665600,EC:1520985600,oB:1525824e3,FC:1529971200,pB:1536105600,qB:1540252800,rB:1544486400,sB:154872e4,tB:1552953600,uB:1558396800,vB:1562630400,wB:1567468800,xB:1571788800,yB:1575331200,zB:1578355200,"0B":1581379200,"1B":1583798400,"2B":1586304e3,"3B":1588636800,"4B":1591056e3,"5B":1593475200,Q:1595894400,H:1598313600,R:1600732800,GC:1603152e3,S:1605571200,T:1607990400,U:1611619200,V:1614038400,W:1616457600,X:1618790400,Y:1622505600,Z:1626134400,a:1628553600,b:1630972800,c:1633392e3,d:1635811200,e:1638835200,f:1641859200,g:1644364800,h:1646697600,i:1649116800,j:1651536e3,k:1653955200,l:1656374400,m:1658793600,n:1661212800,o:1663632e3,p:1666051200,q:1668470400,r:1670889600,s:1673913600,t:1676332800,u:1678752e3,AB:1702944e3,BB:1705968e3,CB:1708387200,DB:1710806400,EB:1713225600,I:1715644800,"6B":1718064e3,HC:null,IC:null,cC:null}},D:{A:{0:0,1:.041635,2:.09841,3:.109765,4:.04542,5:.230885,6:.102195,7:.08327,8:.09084,9:.185465,J:0,FB:0,K:0,D:0,E:0,F:0,A:0,B:0,C:0,L:0,M:0,G:0,N:0,O:0,P:0,GB:0,v:0,w:0,x:0,y:0,z:0,HB:0,IB:0,JB:0,KB:0,LB:0,MB:0,NB:0,OB:0,PB:.00757,QB:0,RB:0,SB:0,TB:.01514,UB:0,VB:0,WB:0,XB:0,YB:0,ZB:0,aB:.003785,bB:0,cB:.003785,dB:.02271,eB:.026495,fB:.011355,gB:0,hB:.003785,iB:.003785,jB:0,kB:0,lB:.011355,mB:0,nB:.003785,EC:0,oB:0,FC:.003785,pB:0,qB:.003785,rB:0,sB:0,tB:.02271,uB:.00757,vB:0,wB:.03028,xB:.064345,yB:.003785,zB:.003785,"0B":.011355,"1B":.00757,"2B":.00757,"3B":.00757,"4B":.00757,"5B":.01514,Q:.12112,H:.011355,R:.02271,S:.041635,T:.00757,U:.011355,V:.049205,W:.06813,X:.01514,Y:.011355,Z:.011355,a:.03785,b:.018925,c:.03028,d:.041635,e:.011355,f:.011355,g:.01514,h:.071915,i:.034065,j:.04542,k:.06813,l:.049205,m:.170325,n:.094625,o:.03028,p:.03785,q:.03028,r:.04542,s:1.49507,t:.026495,u:.03785,AB:.389855,BB:.29523,CB:1.11279,DB:12.6116,EB:4.62527,I:.018925,"6B":.00757,HC:0,IC:0},B:"webkit",C:["","","","","","","J","FB","K","D","E","F","A","B","C","L","M","G","N","O","P","GB","v","w","x","y","z","0","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","EC","oB","FC","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","Q","H","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","I","6B","HC","IC"],E:"Chrome",F:{0:1357862400,1:1680566400,2:1682985600,3:1685404800,4:1689724800,5:1692057600,6:1694476800,7:1696896e3,8:1698710400,9:1701993600,J:1264377600,FB:1274745600,K:1283385600,D:1287619200,E:1291248e3,F:1296777600,A:1299542400,B:1303862400,C:1307404800,L:1312243200,M:1316131200,G:1316131200,N:1319500800,O:1323734400,P:1328659200,GB:1332892800,v:133704e4,w:1340668800,x:1343692800,y:1348531200,z:1352246400,HB:1361404800,IB:1364428800,JB:1369094400,KB:1374105600,LB:1376956800,MB:1384214400,NB:1389657600,OB:1392940800,PB:1397001600,QB:1400544e3,RB:1405468800,SB:1409011200,TB:141264e4,UB:1416268800,VB:1421798400,WB:1425513600,XB:1429401600,YB:143208e4,ZB:1437523200,aB:1441152e3,bB:1444780800,cB:1449014400,dB:1453248e3,eB:1456963200,fB:1460592e3,gB:1464134400,hB:1469059200,iB:1472601600,jB:1476230400,kB:1480550400,lB:1485302400,mB:1489017600,nB:149256e4,EC:1496707200,oB:1500940800,FC:1504569600,pB:1508198400,qB:1512518400,rB:1516752e3,sB:1520294400,tB:1523923200,uB:1527552e3,vB:1532390400,wB:1536019200,xB:1539648e3,yB:1543968e3,zB:154872e4,"0B":1552348800,"1B":1555977600,"2B":1559606400,"3B":1564444800,"4B":1568073600,"5B":1571702400,Q:1575936e3,H:1580860800,R:1586304e3,S:1589846400,T:1594684800,U:1598313600,V:1601942400,W:1605571200,X:1611014400,Y:1614556800,Z:1618272e3,a:1621987200,b:1626739200,c:1630368e3,d:1632268800,e:1634601600,f:1637020800,g:1641340800,h:1643673600,i:1646092800,j:1648512e3,k:1650931200,l:1653350400,m:1655769600,n:1659398400,o:1661817600,p:1664236800,q:1666656e3,r:166968e4,s:1673308800,t:1675728e3,u:1678147200,AB:1705968e3,BB:1708387200,CB:1710806400,DB:1713225600,EB:1715644800,I:1718064e3,"6B":null,HC:null,IC:null}},E:{A:{J:0,FB:0,K:0,D:0,E:.01514,F:.003785,A:0,B:0,C:0,L:.00757,M:.034065,G:.00757,fC:0,JC:0,gC:0,hC:0,iC:0,jC:0,KC:0,"7B":.00757,"8B":.01514,kC:.064345,lC:.09084,mC:.034065,LC:.011355,MC:.026495,"9B":.034065,nC:.246025,AC:.03028,NC:.049205,OC:.03785,PC:.09841,QC:.03028,RC:.06056,oC:.34065,BC:.03785,SC:.06813,TC:.08327,UC:.09841,VC:1.5405,WC:.185465,XC:0,CC:0,pC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","fC","JC","J","FB","gC","K","hC","D","iC","E","F","jC","A","KC","B","7B","C","8B","L","kC","M","lC","G","mC","LC","MC","9B","nC","AC","NC","OC","PC","QC","RC","oC","BC","SC","TC","UC","VC","WC","XC","CC","pC"],E:"Safari",F:{fC:1205798400,JC:1226534400,J:1244419200,FB:1275868800,gC:131112e4,K:1343174400,hC:13824e5,D:13824e5,iC:1410998400,E:1413417600,F:1443657600,jC:1458518400,A:1474329600,KC:1490572800,B:1505779200,"7B":1522281600,C:1537142400,"8B":1553472e3,L:1568851200,kC:1585008e3,M:1600214400,lC:1619395200,G:1632096e3,mC:1635292800,LC:1639353600,MC:1647216e3,"9B":1652745600,nC:1658275200,AC:1662940800,NC:1666569600,OC:1670889600,PC:1674432e3,QC:1679875200,RC:1684368e3,oC:1690156800,BC:1695686400,SC:1698192e3,TC:1702252800,UC:1705881600,VC:1709596800,WC:1715558400,XC:null,CC:null,pC:null}},F:{A:{0:0,F:0,B:0,C:0,G:0,N:0,O:0,P:0,GB:0,v:0,w:0,x:0,y:0,z:0,HB:0,IB:0,JB:0,KB:0,LB:0,MB:0,NB:0,OB:0,PB:0,QB:0,RB:0,SB:0,TB:0,UB:0,VB:0,WB:0,XB:0,YB:0,ZB:0,aB:0,bB:.01514,cB:0,dB:0,eB:0,fB:0,gB:0,hB:0,iB:0,jB:0,kB:0,lB:0,mB:0,nB:0,oB:0,pB:0,qB:0,rB:0,sB:0,tB:0,uB:0,vB:0,wB:0,xB:0,yB:0,zB:0,"0B":0,"1B":0,"2B":0,"3B":0,"4B":0,"5B":0,Q:0,H:0,R:0,GC:0,S:0,T:0,U:0,V:0,W:0,X:0,Y:0,Z:0,a:0,b:0,c:0,d:0,e:.041635,f:0,g:0,h:0,i:0,j:0,k:0,l:.071915,m:0,n:0,o:0,p:.00757,q:.185465,r:.01514,s:.738075,t:.04542,u:0,qC:0,rC:0,sC:0,tC:0,"7B":0,YC:0,uC:0,"8B":0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","F","qC","rC","sC","tC","B","7B","YC","uC","C","8B","G","N","O","P","GB","v","w","x","y","z","0","HB","IB","JB","KB","LB","MB","NB","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","cB","dB","eB","fB","gB","hB","iB","jB","kB","lB","mB","nB","oB","pB","qB","rB","sB","tB","uB","vB","wB","xB","yB","zB","0B","1B","2B","3B","4B","5B","Q","H","R","GC","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","","",""],E:"Opera",F:{0:1413331200,F:1150761600,qC:1223424e3,rC:1251763200,sC:1267488e3,tC:1277942400,B:1292457600,"7B":1302566400,YC:1309219200,uC:1323129600,C:1323129600,"8B":1352073600,G:1372723200,N:1377561600,O:1381104e3,P:1386288e3,GB:1390867200,v:1393891200,w:1399334400,x:1401753600,y:1405987200,z:1409616e3,HB:1417132800,IB:1422316800,JB:1425945600,KB:1430179200,LB:1433808e3,MB:1438646400,NB:1442448e3,OB:1445904e3,PB:1449100800,QB:1454371200,RB:1457308800,SB:146232e4,TB:1465344e3,UB:1470096e3,VB:1474329600,WB:1477267200,XB:1481587200,YB:1486425600,ZB:1490054400,aB:1494374400,bB:1498003200,cB:1502236800,dB:1506470400,eB:1510099200,fB:1515024e3,gB:1517961600,hB:1521676800,iB:1525910400,jB:1530144e3,kB:1534982400,lB:1537833600,mB:1543363200,nB:1548201600,oB:1554768e3,pB:1561593600,qB:1566259200,rB:1570406400,sB:1573689600,tB:1578441600,uB:1583971200,vB:1587513600,wB:1592956800,xB:1595894400,yB:1600128e3,zB:1603238400,"0B":161352e4,"1B":1612224e3,"2B":1616544e3,"3B":1619568e3,"4B":1623715200,"5B":1627948800,Q:1631577600,H:1633392e3,R:1635984e3,GC:1638403200,S:1642550400,T:1644969600,U:1647993600,V:1650412800,W:1652745600,X:1654646400,Y:1657152e3,Z:1660780800,a:1663113600,b:1668816e3,c:1668643200,d:1671062400,e:1675209600,f:1677024e3,g:1679529600,h:1681948800,i:1684195200,j:1687219200,k:1690329600,l:1692748800,m:1696204800,n:169992e4,o:169992e4,p:1702944e3,q:1707264e3,r:1710115200,s:1711497600,t:1716336e3,u:1719273600},D:{F:"o",B:"o",C:"o",qC:"o",rC:"o",sC:"o",tC:"o","7B":"o",YC:"o",uC:"o","8B":"o"}},G:{A:{E:0,JC:0,vC:0,ZC:.00289868,wC:.00289868,xC:.00724669,yC:.0115947,zC:.00289868,"0C":.00724669,"1C":.0333348,"2C":.00579735,"3C":.0521762,"4C":.0768149,"5C":.0144934,"6C":.00869603,"7C":.210154,"8C":.00434801,"9C":.0217401,AD:.0101454,BD:.0463788,CD:.100004,DD:.123194,ED:.0594229,LC:.0652202,MC:.0739162,"9B":.0927576,FD:.83192,AC:.189863,NC:.389872,OC:.189863,PC:.329,QC:.0695682,RC:.140586,GD:1.11744,BC:.121744,SC:.198559,TC:.207255,UC:.382625,VC:8.67429,WC:.61307,XC:0,CC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","JC","vC","ZC","wC","xC","yC","E","zC","0C","1C","2C","3C","4C","5C","6C","7C","8C","9C","AD","BD","CD","DD","ED","LC","MC","9B","FD","AC","NC","OC","PC","QC","RC","GD","BC","SC","TC","UC","VC","WC","XC","CC",""],E:"Safari on iOS",F:{JC:1270252800,vC:1283904e3,ZC:1299628800,wC:1331078400,xC:1359331200,yC:1394409600,E:1410912e3,zC:1413763200,"0C":1442361600,"1C":1458518400,"2C":1473724800,"3C":1490572800,"4C":1505779200,"5C":1522281600,"6C":1537142400,"7C":1553472e3,"8C":1568851200,"9C":1572220800,AD:1580169600,BD:1585008e3,CD:1600214400,DD:1619395200,ED:1632096e3,LC:1639353600,MC:1647216e3,"9B":1652659200,FD:1658275200,AC:1662940800,NC:1666569600,OC:1670889600,PC:1674432e3,QC:1679875200,RC:1684368e3,GD:1690156800,BC:1694995200,SC:1698192e3,TC:1702252800,UC:1705881600,VC:1709596800,WC:1715558400,XC:null,CC:null}},H:{A:{HD:.1},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","HD","","",""],E:"Opera Mini",F:{HD:1426464e3}},I:{A:{DC:0,J:65879e-9,I:.656352,ID:0,JD:0,KD:0,LD:131758e-9,ZC:395274e-9,MD:0,ND:.00144934},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","ID","JD","KD","DC","J","LD","ZC","MD","ND","I","","",""],E:"Android Browser",F:{ID:1256515200,JD:1274313600,KD:1291593600,DC:1298332800,J:1318896e3,LD:1341792e3,ZC:1374624e3,MD:1386547200,ND:1401667200,I:1718064e3}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376e3,A:1359504e3}},K:{A:{A:0,B:0,C:0,H:1.2238,"7B":0,YC:0,"8B":0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","7B","YC","C","8B","H","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,"7B":1314835200,YC:1318291200,C:1330300800,"8B":1349740800,H:1709769600},D:{H:"webkit"}},L:{A:{I:42.0636},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","","",""],E:"Chrome for Android",F:{I:1718064e3}},M:{A:{"6B":.31075},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","6B","","",""],E:"Firefox for Android",F:{"6B":1718064e3}},N:{A:{A:0,B:0},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{"9B":.913605},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","9B","","",""],E:"UC Browser for Android",F:{"9B":1710115200},D:{"9B":"webkit"}},P:{A:{0:1.98584,J:.141071,v:.0217032,w:.0542579,x:.0651095,y:.119367,z:.227883,OD:.0108516,PD:0,QD:.0325548,RD:0,SD:0,KC:0,TD:.0108516,UD:0,VD:.0108516,WD:0,XD:0,AC:0,BC:.0217032,CC:.0108516,YD:.0217032},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","J","OD","PD","QD","RD","SD","KC","TD","UD","VD","WD","XD","AC","BC","CC","YD","v","w","x","y","z","0","","",""],E:"Samsung Internet",F:{0:1715126400,J:1461024e3,OD:1481846400,PD:1509408e3,QD:1528329600,RD:1546128e3,SD:1554163200,KC:1567900800,TD:1582588800,UD:1593475200,VD:1605657600,WD:1618531200,XD:1629072e3,AC:1640736e3,BC:1651708800,CC:1659657600,YD:1667260800,v:1677369600,w:1684454400,x:1689292800,y:1697587200,z:1711497600}},Q:{A:{ZD:.292105},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","ZD","","",""],E:"QQ Browser",F:{ZD:1710288e3}},R:{A:{aD:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","aD","","",""],E:"Baidu Browser",F:{aD:1710201600}},S:{A:{bD:.08701,cD:0},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","bD","cD","","",""],E:"KaiOS Browser",F:{bD:1527811200,cD:1631664e3}}}});var qo=N((WV,Lh)=>{"use strict";p();d();f();var b4=Uu().browsers,Gu=Wu().browserVersions,Th=Oh();function Ih(t){return Object.keys(t).reduce((e,r)=>(e[Gu[r]]=t[r],e),{})}Lh.exports.agents=Object.keys(Th).reduce((t,e)=>{let r=Th[e];return t[b4[e]]=Object.keys(r).reduce((n,s)=>(s==="A"?n.usage_global=Ih(r[s]):s==="C"?n.versions=r[s].reduce((o,i)=>(i===""?o.push(null):o.push(Gu[i]),o),[]):s==="D"?n.prefix_exceptions=Ih(r[s]):s==="E"?n.browser=r[s]:s==="F"?n.release_date=Object.keys(r[s]).reduce((o,i)=>(o[Gu[i]]=r[s][i],o),{}):n.prefix=r[s],n),{}),t},{})});var Rh=N((jV,D4)=>{D4.exports={"v0.8":{start:"2012-06-25",end:"2014-07-31"},"v0.10":{start:"2013-03-11",end:"2016-10-31"},"v0.12":{start:"2015-02-06",end:"2016-12-31"},v4:{start:"2015-09-08",lts:"2015-10-12",maintenance:"2017-04-01",end:"2018-04-30",codename:"Argon"},v5:{start:"2015-10-29",maintenance:"2016-04-30",end:"2016-06-30"},v6:{start:"2016-04-26",lts:"2016-10-18",maintenance:"2018-04-30",end:"2019-04-30",codename:"Boron"},v7:{start:"2016-10-25",maintenance:"2017-04-30",end:"2017-06-30"},v8:{start:"2017-05-30",lts:"2017-10-31",maintenance:"2019-01-01",end:"2019-12-31",codename:"Carbon"},v9:{start:"2017-10-01",maintenance:"2018-04-01",end:"2018-06-30"},v10:{start:"2018-04-24",lts:"2018-10-30",maintenance:"2020-05-19",end:"2021-04-30",codename:"Dubnium"},v11:{start:"2018-10-23",maintenance:"2019-04-22",end:"2019-06-01"},v12:{start:"2019-04-23",lts:"2019-10-21",maintenance:"2020-11-30",end:"2022-04-30",codename:"Erbium"},v13:{start:"2019-10-22",maintenance:"2020-04-01",end:"2020-06-01"},v14:{start:"2020-04-21",lts:"2020-10-27",maintenance:"2021-10-19",end:"2023-04-30",codename:"Fermium"},v15:{start:"2020-10-20",maintenance:"2021-04-01",end:"2021-06-01"},v16:{start:"2021-04-20",lts:"2021-10-26",maintenance:"2022-10-18",end:"2023-09-11",codename:"Gallium"},v17:{start:"2021-10-19",maintenance:"2022-04-01",end:"2022-06-01"},v18:{start:"2022-04-19",lts:"2022-10-25",maintenance:"2023-10-18",end:"2025-04-30",codename:"Hydrogen"},v19:{start:"2022-10-18",maintenance:"2023-04-01",end:"2023-06-01"},v20:{start:"2023-04-18",lts:"2023-10-24",maintenance:"2024-10-22",end:"2026-04-30",codename:"Iron"},v21:{start:"2023-10-17",maintenance:"2024-04-01",end:"2024-06-01"},v22:{start:"2024-04-23",lts:"2024-10-29",maintenance:"2025-10-21",end:"2027-04-30",codename:""},v23:{start:"2024-10-15",maintenance:"2025-04-01",end:"2025-06-01"},v24:{start:"2025-04-22",lts:"2025-10-28",maintenance:"2026-10-20",end:"2028-04-30",codename:""}}});function x4(){if(Fh)return Hu;Fh=!0;var t=Hu={},e,r;function n(){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=n}catch{e=n}try{typeof clearTimeout=="function"?r=clearTimeout:r=s}catch{r=s}})();function o(w){if(e===setTimeout)return setTimeout(w,0);if((e===n||!e)&&setTimeout)return e=setTimeout,setTimeout(w,0);try{return e(w,0)}catch{try{return e.call(null,w,0)}catch{return e.call(this||rs,w,0)}}}function i(w){if(r===clearTimeout)return clearTimeout(w);if((r===s||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(w);try{return r(w)}catch{try{return r.call(null,w)}catch{return r.call(this||rs,w)}}}var a=[],l=!1,u,c=-1;function B(){!l||!u||(l=!1,u.length?a=u.concat(a):c=-1,a.length&&h())}function h(){if(!l){var w=o(B);l=!0;for(var y=a.length;y;){for(u=a,a=[];++c<y;)u&&u[c].run();c=-1,y=a.length}u=null,l=!1,i(w)}}t.nextTick=function(w){var y=new Array(arguments.length-1);if(arguments.length>1)for(var P=1;P<arguments.length;P++)y[P-1]=arguments[P];a.push(new g(w,y)),a.length===1&&!l&&o(h)};function g(w,y){(this||rs).fun=w,(this||rs).array=y}g.prototype.run=function(){(this||rs).fun.apply(null,(this||rs).array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={};function v(){}return t.on=v,t.addListener=v,t.once=v,t.off=v,t.removeListener=v,t.removeAllListeners=v,t.emit=v,t.prependListener=v,t.prependOnceListener=v,t.listeners=function(w){return[]},t.binding=function(w){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(w){throw new Error("process.chdir is not supported")},t.umask=function(){return 0},Hu}var Hu,Fh,rs,Le,Vo=Pt(()=>{p();d();f();Hu={},Fh=!1,rs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window;Le=x4();Le.platform="browser";Le.addListener;Le.argv;Le.binding;Le.browser;Le.chdir;Le.cwd;Le.emit;Le.env;Le.listeners;Le.nextTick;Le.off;Le.on;Le.once;Le.prependListener;Le.prependOnceListener;Le.removeAllListeners;Le.removeListener;Le.title;Le.umask;Le.version;Le.versions});function S4(){if(Mh)return zu;Mh=!0;var t=Le;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function r(o,i){for(var a="",l=0,u=-1,c=0,B,h=0;h<=o.length;++h){if(h<o.length)B=o.charCodeAt(h);else{if(B===47)break;B=47}if(B===47){if(!(u===h-1||c===1))if(u!==h-1&&c===2){if(a.length<2||l!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var g=a.lastIndexOf("/");if(g!==a.length-1){g===-1?(a="",l=0):(a=a.slice(0,g),l=a.length-1-a.lastIndexOf("/")),u=h,c=0;continue}}else if(a.length===2||a.length===1){a="",l=0,u=h,c=0;continue}}i&&(a.length>0?a+="/..":a="..",l=2)}else a.length>0?a+="/"+o.slice(u+1,h):a=o.slice(u+1,h),l=h-u-1;u=h,c=0}else B===46&&c!==-1?++c:c=-1}return a}function n(o,i){var a=i.dir||i.root,l=i.base||(i.name||"")+(i.ext||"");return a?a===i.root?a+l:a+o+l:l}var s={resolve:function(){for(var i="",a=!1,l,u=arguments.length-1;u>=-1&&!a;u--){var c;u>=0?c=arguments[u]:(l===void 0&&(l=t.cwd()),c=l),e(c),c.length!==0&&(i=c+"/"+i,a=c.charCodeAt(0)===47)}return i=r(i,!a),a?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(i){if(e(i),i.length===0)return".";var a=i.charCodeAt(0)===47,l=i.charCodeAt(i.length-1)===47;return i=r(i,!a),i.length===0&&!a&&(i="."),i.length>0&&l&&(i+="/"),a?"/"+i:i},isAbsolute:function(i){return e(i),i.length>0&&i.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var i,a=0;a<arguments.length;++a){var l=arguments[a];e(l),l.length>0&&(i===void 0?i=l:i+="/"+l)}return i===void 0?".":s.normalize(i)},relative:function(i,a){if(e(i),e(a),i===a||(i=s.resolve(i),a=s.resolve(a),i===a))return"";for(var l=1;l<i.length&&i.charCodeAt(l)===47;++l);for(var u=i.length,c=u-l,B=1;B<a.length&&a.charCodeAt(B)===47;++B);for(var h=a.length,g=h-B,v=c<g?c:g,w=-1,y=0;y<=v;++y){if(y===v){if(g>v){if(a.charCodeAt(B+y)===47)return a.slice(B+y+1);if(y===0)return a.slice(B+y)}else c>v&&(i.charCodeAt(l+y)===47?w=y:y===0&&(w=0));break}var P=i.charCodeAt(l+y),O=a.charCodeAt(B+y);if(P!==O)break;P===47&&(w=y)}var E="";for(y=l+w+1;y<=u;++y)(y===u||i.charCodeAt(y)===47)&&(E.length===0?E+="..":E+="/..");return E.length>0?E+a.slice(B+w):(B+=w,a.charCodeAt(B)===47&&++B,a.slice(B))},_makeLong:function(i){return i},dirname:function(i){if(e(i),i.length===0)return".";for(var a=i.charCodeAt(0),l=a===47,u=-1,c=!0,B=i.length-1;B>=1;--B)if(a=i.charCodeAt(B),a===47){if(!c){u=B;break}}else c=!1;return u===-1?l?"/":".":l&&u===1?"//":i.slice(0,u)},basename:function(i,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(i);var l=0,u=-1,c=!0,B;if(a!==void 0&&a.length>0&&a.length<=i.length){if(a.length===i.length&&a===i)return"";var h=a.length-1,g=-1;for(B=i.length-1;B>=0;--B){var v=i.charCodeAt(B);if(v===47){if(!c){l=B+1;break}}else g===-1&&(c=!1,g=B+1),h>=0&&(v===a.charCodeAt(h)?--h===-1&&(u=B):(h=-1,u=g))}return l===u?u=g:u===-1&&(u=i.length),i.slice(l,u)}else{for(B=i.length-1;B>=0;--B)if(i.charCodeAt(B)===47){if(!c){l=B+1;break}}else u===-1&&(c=!1,u=B+1);return u===-1?"":i.slice(l,u)}},extname:function(i){e(i);for(var a=-1,l=0,u=-1,c=!0,B=0,h=i.length-1;h>=0;--h){var g=i.charCodeAt(h);if(g===47){if(!c){l=h+1;break}continue}u===-1&&(c=!1,u=h+1),g===46?a===-1?a=h:B!==1&&(B=1):a!==-1&&(B=-1)}return a===-1||u===-1||B===0||B===1&&a===u-1&&a===l+1?"":i.slice(a,u)},format:function(i){if(i===null||typeof i!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof i);return n("/",i)},parse:function(i){e(i);var a={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return a;var l=i.charCodeAt(0),u=l===47,c;u?(a.root="/",c=1):c=0;for(var B=-1,h=0,g=-1,v=!0,w=i.length-1,y=0;w>=c;--w){if(l=i.charCodeAt(w),l===47){if(!v){h=w+1;break}continue}g===-1&&(v=!1,g=w+1),l===46?B===-1?B=w:y!==1&&(y=1):B!==-1&&(y=-1)}return B===-1||g===-1||y===0||y===1&&B===g-1&&B===h+1?g!==-1&&(h===0&&u?a.base=a.name=i.slice(1,g):a.base=a.name=i.slice(h,g)):(h===0&&u?(a.name=i.slice(1,B),a.base=i.slice(1,g)):(a.name=i.slice(h,B),a.base=i.slice(h,g)),a.ext=i.slice(B,g)),h>0?a.dir=i.slice(0,h-1):u&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return s.posix=s,zu=s,zu}var zu,Mh,Qe,Uo=Pt(()=>{p();d();f();Vo();zu={},Mh=!1;Qe=S4()});var Zs={};Ys(Zs,{_makeLong:()=>k4,basename:()=>P4,default:()=>Qe,delimiter:()=>A4,dirname:()=>N4,extname:()=>E4,format:()=>O4,isAbsolute:()=>T4,join:()=>I4,normalize:()=>L4,parse:()=>R4,posix:()=>F4,relative:()=>M4,resolve:()=>_4,sep:()=>q4,win32:()=>V4});var k4,P4,A4,N4,E4,O4,T4,I4,L4,R4,F4,M4,_4,q4,V4,$s=Pt(()=>{p();d();f();Uo();Uo();Vo();k4=Qe._makeLong,P4=Qe.basename,A4=Qe.delimiter,N4=Qe.dirname,E4=Qe.extname,O4=Qe.format,T4=Qe.isAbsolute,I4=Qe.join,L4=Qe.normalize,R4=Qe.parse,F4=Qe.posix,M4=Qe.relative,_4=Qe.resolve,q4=Qe.sep,V4=Qe.win32});var qh=N((lU,_h)=>{p();d();f();_h.exports={"0.20":"39","0.21":"41","0.22":"41","0.23":"41","0.24":"41","0.25":"42","0.26":"42","0.27":"43","0.28":"43","0.29":"43","0.30":"44","0.31":"45","0.32":"45","0.33":"45","0.34":"45","0.35":"45","0.36":"47","0.37":"49","1.0":"49","1.1":"50","1.2":"51","1.3":"52","1.4":"53","1.5":"54","1.6":"56","1.7":"58","1.8":"59","2.0":"61","2.1":"61","3.0":"66","3.1":"66","4.0":"69","4.1":"69","4.2":"69","5.0":"73","6.0":"76","6.1":"76","7.0":"78","7.1":"78","7.2":"78","7.3":"78","8.0":"80","8.1":"80","8.2":"80","8.3":"80","8.4":"80","8.5":"80","9.0":"83","9.1":"83","9.2":"83","9.3":"83","9.4":"83","10.0":"85","10.1":"85","10.2":"85","10.3":"85","10.4":"85","11.0":"87","11.1":"87","11.2":"87","11.3":"87","11.4":"87","11.5":"87","12.0":"89","12.1":"89","12.2":"89","13.0":"91","13.1":"91","13.2":"91","13.3":"91","13.4":"91","13.5":"91","13.6":"91","14.0":"93","14.1":"93","14.2":"93","15.0":"94","15.1":"94","15.2":"94","15.3":"94","15.4":"94","15.5":"94","16.0":"96","16.1":"96","16.2":"96","17.0":"98","17.1":"98","17.2":"98","17.3":"98","17.4":"98","18.0":"100","18.1":"100","18.2":"100","18.3":"100","19.0":"102","19.1":"102","20.0":"104","20.1":"104","20.2":"104","20.3":"104","21.0":"106","21.1":"106","21.2":"106","21.3":"106","21.4":"106","22.0":"108","22.1":"108","22.2":"108","22.3":"108","23.0":"110","23.1":"110","23.2":"110","23.3":"110","24.0":"112","24.1":"112","24.2":"112","24.3":"112","24.4":"112","24.5":"112","24.6":"112","24.7":"112","24.8":"112","25.0":"114","25.1":"114","25.2":"114","25.3":"114","25.4":"114","25.5":"114","25.6":"114","25.7":"114","25.8":"114","25.9":"114","26.0":"116","26.1":"116","26.2":"116","26.3":"116","26.4":"116","26.5":"116","26.6":"116","27.0":"118","27.1":"118","27.2":"118","27.3":"118","28.0":"120","28.1":"120","28.2":"120","28.3":"120","29.0":"122","29.1":"122","29.2":"122","29.3":"122","29.4":"122","30.0":"124","30.1":"124","31.0":"126","31.1":"126","32.0":"127"}});var Qu=N((pU,Vh)=>{p();d();f();function ju(t){this.name="BrowserslistError",this.message=t,this.browserslist=!0,Error.captureStackTrace&&Error.captureStackTrace(this,ju)}ju.prototype=Error.prototype;Vh.exports=ju});var zh=N((hU,Hh)=>{p();d();f();var Uh=/^\s+and\s+(.*)/i,Wh=/^(?:,\s*|\s+or\s+)(.*)/i;function Gh(t){return Array.isArray(t)?t.reduce(function(e,r){return e.concat(Gh(r))},[]):[t]}function U4(t,e){for(var r=1,n=t.length;r<=n;r++){var s=t.substr(-r,r);if(e(s,r,n))return t.slice(0,-r)}return""}function Ju(t,e){var r={query:e};e.indexOf("not ")===0&&(r.not=!0,e=e.slice(4));for(var n in t){var s=t[n],o=e.match(s.regexp);if(o){r.type=n;for(var i=0;i<s.matches.length;i++)r[s.matches[i]]=o[i+1];return r}}return r.type="unknown",r}function W4(t,e,r){var n;return U4(e,function(s,o,i){return Uh.test(s)?(n=Ju(t,s.match(Uh)[1]),n.compose="and",r.unshift(n),!0):Wh.test(s)?(n=Ju(t,s.match(Wh)[1]),n.compose="or",r.unshift(n),!0):o===i?(n=Ju(t,s.trim()),n.compose="or",r.unshift(n),!0):!1})}Hh.exports=function(e,r){return Array.isArray(r)||(r=[r]),Gh(r.map(function(n){var s=[];do n=W4(e,n,s);while(n);return s}))}});var Qh=N((yU,jh)=>{p();d();f();var Wo=Qu();function ei(){}jh.exports={loadQueries:function(){throw new Wo("Sharable configs are not supported in client-side build of Browserslist")},getStat:function(e){return e.stats},loadConfig:function(e){if(e.config)throw new Wo("Browserslist config are not supported in client-side build")},loadCountry:function(){throw new Wo("Country statistics are not supported in client-side build of Browserslist")},loadFeature:function(){throw new Wo("Supports queries are not available in client-side build of Browserslist")},currentNode:function(e,r){return e(["maintained node versions"],r)[0]},parseConfig:ei,readConfig:ei,findConfig:ei,clearCaches:ei,oldDataWarning:ei,env:{}}});var ri=N((xU,B0)=>{p();d();f();var G4=[],Er=qo().agents,Ku=Rh(),Jo=($s(),zr(Zs)),Jt=qh(),gt=Qu(),r0=zh(),at=Qh(),H4=365.259641*24*60*60*1e3,n0="37",z4=14;function s0(t,e){return(t+".").indexOf(e+".")===0}function j4(t){var e=t.slice(1);return Y.nodeVersions.some(function(r){return s0(r,e)})}function Jh(t){return t.filter(function(e){return typeof e=="string"})}function Go(t){var e=t;return t.split(".").length===3&&(e=t.split(".").slice(0,-1).join(".")),e}function Qr(t){return function(r){return t+" "+r}}function $u(t){return parseInt(t.split(".")[0])}function Ho(t,e){if(t.length===0)return[];var r=i0(t.map($u)),n=r[r.length-e];if(!n)return t;for(var s=[],o=t.length-1;o>=0&&!(n>$u(t[o]));o--)s.unshift(t[o]);return s}function i0(t){for(var e=[],r=0;r<t.length;r++)e.indexOf(t[r])===-1&&e.push(t[r]);return e}function Ko(t,e,r){for(var n in r)t[e+" "+n]=r[n]}function Kh(t,e){return e=parseFloat(e),t===">"?function(r){return parseFloat(r)>e}:t===">="?function(r){return parseFloat(r)>=e}:t==="<"?function(r){return parseFloat(r)<e}:function(r){return parseFloat(r)<=e}}function Q4(t,e){return e=e.split(".").map(Jr),e[1]=e[1]||0,e[2]=e[2]||0,t===">"?function(r){return r=r.split(".").map(Jr),ti(r,e)>0}:t===">="?function(r){return r=r.split(".").map(Jr),ti(r,e)>=0}:t==="<"?function(r){return r=r.split(".").map(Jr),ti(e,r)>0}:function(r){return r=r.split(".").map(Jr),ti(e,r)>=0}}function Jr(t){return parseInt(t)}function Qo(t,e){return t<e?-1:t>e?1:0}function ti(t,e){return Qo(parseInt(t[0]),parseInt(e[0]))||Qo(parseInt(t[1]||"0"),parseInt(e[1]||"0"))||Qo(parseInt(t[2]||"0"),parseInt(e[2]||"0"))}function Yh(t,e){switch(e=e.split(".").map(Jr),typeof e[1]>"u"&&(e[1]="x"),t){case"<=":return function(r){return r=r.split(".").map(Jr),Xh(r,e)<=0};case">=":default:return function(r){return r=r.split(".").map(Jr),Xh(r,e)>=0}}}function Xh(t,e){return t[0]!==e[0]?t[0]<e[0]?-1:1:e[1]==="x"?0:t[1]!==e[1]?t[1]<e[1]?-1:1:0}function J4(t,e){return t.versions.indexOf(e)!==-1?e:Y.versionAliases[t.name][e]?Y.versionAliases[t.name][e]:!1}function zo(t,e){var r=J4(t,e);return r||(t.versions.length===1?t.versions[0]:!1)}function o0(t,e){return t=t/1e3,Object.keys(Er).reduce(function(r,n){var s=Kr(n,e);if(!s)return r;var o=Object.keys(s.releaseDate).filter(function(i){var a=s.releaseDate[i];return a!==null&&a>=t});return r.concat(o.map(Qr(s.name)))},[])}function Zh(t){return{name:t.name,versions:t.versions,released:t.released,releaseDate:t.releaseDate}}function Kr(t,e){if(t=t.toLowerCase(),t=Y.aliases[t]||t,e.mobileToDesktop&&Y.desktopNames[t]){var r=Y.data[Y.desktopNames[t]];if(t==="android")return Y4(Zh(Y.data[t]),r);var n=Zh(r);return n.name=t,n}return Y.data[t]}function $h(t,e){var r=e.indexOf(n0);return t.filter(function(n){return/^(?:[2-4]\.|[34]$)/.test(n)}).concat(e.slice(r))}function K4(t){var e={};for(var r in t)e[r]=t[r];return e}function Y4(t,e){return t.released=$h(t.released,e.released),t.versions=$h(t.versions,e.versions),t.releaseDate=K4(t.releaseDate),t.released.forEach(function(r){t.releaseDate[r]===void 0&&(t.releaseDate[r]=e.releaseDate[r])}),t}function ns(t,e){var r=Kr(t,e);if(!r)throw new gt("Unknown browser "+t);return r}function X4(t){return new gt("Unknown browser query `"+t+"`. Maybe you are using old Browserslist or made typo in query.")}function jo(t,e,r,n){var s=1;switch(e){case"android":if(n.mobileToDesktop)return t;var o=Y.data.chrome.released;s=o.length-o.indexOf(n0);break;case"op_mob":var i=Y.data.op_mob.released.slice(-1)[0];s=$u(i)-z4+1;break;default:return t}return r<=s?t.slice(-1):t.slice(s-1-r)}function e0(t,e){return typeof t=="string"&&(t.indexOf("y")>=0||e&&t.indexOf("a")>=0)}function ss(t,e){return r0(eB,t).reduce(function(r,n,s){if(n.not&&s===0)throw new gt("Write any browsers query (for instance, `defaults`) before `"+n.query+"`");var o=eB[n.type],i=o.select.call(Y,e,n).map(function(l){var u=l.split(" ");return u[1]==="0"?u[0]+" "+Kr(u[0],e).versions[0]:l});if(n.compose==="and")return n.not?r.filter(function(l){return i.indexOf(l)===-1}):r.filter(function(l){return i.indexOf(l)!==-1});if(n.not){var a={};return i.forEach(function(l){a[l]=!0}),r.filter(function(l){return!a[l]})}return r.concat(i)},[])}function a0(t){return typeof t>"u"&&(t={}),typeof t.path>"u"&&(t.path=Jo.resolve?Jo.resolve("."):"."),t}function l0(t,e){if(typeof t>"u"||t===null){var r=Y.loadConfig(e);r?t=r:t=Y.defaults}return t}function u0(t){if(!(typeof t=="string"||Array.isArray(t)))throw new gt("Browser queries must be an array or string. Got "+typeof t+".")}var Yu={};function Y(t,e){e=a0(e),t=l0(t,e),u0(t);var r={ignoreUnknownVersions:e.ignoreUnknownVersions,dangerousExtend:e.dangerousExtend,mobileToDesktop:e.mobileToDesktop,path:e.path,env:e.env};at.oldDataWarning(Y.data);var n=at.getStat(e,Y.data);if(n){r.customUsage={};for(var s in n)Ko(r.customUsage,s,n[s])}var o=JSON.stringify([t,r]);if(Yu[o])return Yu[o];var i=i0(ss(t,r)).sort(function(a,l){if(a=a.split(" "),l=l.split(" "),a[0]===l[0]){var u=a[1].split("-")[0],c=l[1].split("-")[0];return ti(c.split("."),u.split("."))}else return Qo(a[0],l[0])});return at.env.BROWSERSLIST_DISABLE_CACHE||(Yu[o]=i),i}Y.parse=function(t,e){return e=a0(e),t=l0(t,e),u0(t),r0(eB,t)};Y.cache={};Y.data={};Y.usage={global:{},custom:null};Y.defaults=["> 0.5%","last 2 versions","Firefox ESR","not dead"];Y.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"};Y.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",android:"chrome"};Y.versionAliases={};Y.clearCaches=at.clearCaches;Y.parseConfig=at.parseConfig;Y.readConfig=at.readConfig;Y.findConfig=at.findConfig;Y.loadConfig=at.loadConfig;Y.coverage=function(t,e){var r;if(typeof e>"u")r=Y.usage.global;else if(e==="my stats"){var n={};n.path=Jo.resolve?Jo.resolve("."):".";var s=at.getStat(n);if(!s)throw new gt("Custom usage statistics was not provided");r={};for(var o in s)Ko(r,o,s[o])}else if(typeof e=="string")e.length>2?e=e.toLowerCase():e=e.toUpperCase(),at.loadCountry(Y.usage,e,Y.data),r=Y.usage[e];else{"dataByBrowser"in e&&(e=e.dataByBrowser),r={};for(var i in e)for(var a in e[i])r[i+" "+a]=e[i][a]}return t.reduce(function(l,u){var c=r[u];return c===void 0&&(c=r[u.replace(/ \S+$/," 0")]),l+(c||0)},0)};function Xu(t,e){var r=Y.nodeVersions.filter(function(n){return s0(n,e.version)});if(r.length===0){if(t.ignoreUnknownVersions)return[];throw new gt("Unknown version "+e.version+" of Node.js")}return["node "+r[r.length-1]]}function Zu(t,e){var r=parseInt(e.year),n=parseInt(e.month||"01")-1,s=parseInt(e.day||"01");return o0(Date.UTC(r,n,s,0,0,0),t)}function t0(t,e){var r=parseFloat(e.coverage),n=Y.usage.global;if(e.place)if(e.place.match(/^my\s+stats$/i)){if(!t.customUsage)throw new gt("Custom usage statistics was not provided");n=t.customUsage}else{var s;e.place.length===2?s=e.place.toUpperCase():s=e.place.toLowerCase(),at.loadCountry(Y.usage,s,Y.data),n=Y.usage[s]}for(var o=Object.keys(n).sort(function(c,B){return n[B]-n[c]}),i=0,a=[],l,u=0;u<o.length&&(l=o[u],!(n[l]===0||(i+=n[l],a.push(l),i>=r)));u++);return a}var eB={last_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(t,e){return Object.keys(Er).reduce(function(r,n){var s=Kr(n,t);if(!s)return r;var o=Ho(s.released,e.versions);return o=o.map(Qr(s.name)),o=jo(o,s.name,e.versions,t),r.concat(o)},[])}},last_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+versions?$/i,select:function(t,e){return Object.keys(Er).reduce(function(r,n){var s=Kr(n,t);if(!s)return r;var o=s.released.slice(-e.versions);return o=o.map(Qr(s.name)),o=jo(o,s.name,e.versions,t),r.concat(o)},[])}},last_electron_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(t,e){var r=Ho(Object.keys(Jt),e.versions);return r.map(function(n){return"chrome "+Jt[n]})}},last_node_major_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+major\s+versions?$/i,select:function(t,e){return Ho(Y.nodeVersions,e.versions).map(function(r){return"node "+r})}},last_browser_major_versions:{matches:["versions","browser"],regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(t,e){var r=ns(e.browser,t),n=Ho(r.released,e.versions),s=n.map(Qr(r.name));return s=jo(s,r.name,e.versions,t),s}},last_electron_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(t,e){return Object.keys(Jt).slice(-e.versions).map(function(r){return"chrome "+Jt[r]})}},last_node_versions:{matches:["versions"],regexp:/^last\s+(\d+)\s+node\s+versions?$/i,select:function(t,e){return Y.nodeVersions.slice(-e.versions).map(function(r){return"node "+r})}},last_browser_versions:{matches:["versions","browser"],regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(t,e){var r=ns(e.browser,t),n=r.released.slice(-e.versions).map(Qr(r.name));return n=jo(n,r.name,e.versions,t),n}},unreleased_versions:{matches:[],regexp:/^unreleased\s+versions$/i,select:function(t){return Object.keys(Er).reduce(function(e,r){var n=Kr(r,t);if(!n)return e;var s=n.versions.filter(function(o){return n.released.indexOf(o)===-1});return s=s.map(Qr(n.name)),e.concat(s)},[])}},unreleased_electron_versions:{matches:[],regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},unreleased_browser_versions:{matches:["browser"],regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(t,e){var r=ns(e.browser,t);return r.versions.filter(function(n){return r.released.indexOf(n)===-1}).map(Qr(r.name))}},last_years:{matches:["years"],regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(t,e){return o0(Date.now()-H4*e.years,t)}},since_y:{matches:["year"],regexp:/^since (\d+)$/i,select:Zu},since_y_m:{matches:["year","month"],regexp:/^since (\d+)-(\d+)$/i,select:Zu},since_y_m_d:{matches:["year","month","day"],regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:Zu},popularity:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(t,e){var r=parseFloat(e.popularity),n=Y.usage.global;return Object.keys(n).reduce(function(s,o){return e.sign===">"?n[o]>r&&s.push(o):e.sign==="<"?n[o]<r&&s.push(o):e.sign==="<="?n[o]<=r&&s.push(o):n[o]>=r&&s.push(o),s},[])}},popularity_in_my_stats:{matches:["sign","popularity"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,select:function(t,e){var r=parseFloat(e.popularity);if(!t.customUsage)throw new gt("Custom usage statistics was not provided");var n=t.customUsage;return Object.keys(n).reduce(function(s,o){var i=n[o];return i==null||(e.sign===">"?i>r&&s.push(o):e.sign==="<"?i<r&&s.push(o):e.sign==="<="?i<=r&&s.push(o):i>=r&&s.push(o)),s},[])}},popularity_in_config_stats:{matches:["sign","popularity","config"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,select:function(t,e){var r=parseFloat(e.popularity),n=at.loadStat(t,e.config,Y.data);if(n){t.customUsage={};for(var s in n)Ko(t.customUsage,s,n[s])}if(!t.customUsage)throw new gt("Custom usage statistics was not provided");var o=t.customUsage;return Object.keys(o).reduce(function(i,a){var l=o[a];return l==null||(e.sign===">"?l>r&&i.push(a):e.sign==="<"?l<r&&i.push(a):e.sign==="<="?l<=r&&i.push(a):l>=r&&i.push(a)),i},[])}},popularity_in_place:{matches:["sign","popularity","place"],regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(t,e){var r=parseFloat(e.popularity),n=e.place;n.length===2?n=n.toUpperCase():n=n.toLowerCase(),at.loadCountry(Y.usage,n,Y.data);var s=Y.usage[n];return Object.keys(s).reduce(function(o,i){var a=s[i];return a==null||(e.sign===">"?a>r&&o.push(i):e.sign==="<"?a<r&&o.push(i):e.sign==="<="?a<=r&&o.push(i):a>=r&&o.push(i)),o},[])}},cover:{matches:["coverage"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/i,select:t0},cover_in:{matches:["coverage","place"],regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/i,select:t0},supports:{matches:["supportType","feature"],regexp:/^(?:(fully|partially)\s+)?supports\s+([\w-]+)$/,select:function(t,e){at.loadFeature(Y.cache,e.feature);var r=e.supportType!=="fully",n=Y.cache[e.feature],s=[];for(var o in n){for(var i=Kr(o,t),a=i.released.length-1;a>=0&&!(i.released[a]in n[o]);)a--;var l=t.mobileToDesktop&&o in Y.desktopNames&&e0(n[o][i.released[a]],r);i.versions.forEach(function(u){var c=n[o][u];c===void 0&&l&&(c=n[Y.desktopNames[o]][u]),e0(c,r)&&s.push(o+" "+u)})}return s}},electron_range:{matches:["from","to"],regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(t,e){var r=Go(e.from),n=Go(e.to),s=parseFloat(e.from),o=parseFloat(e.to);if(!Jt[r])throw new gt("Unknown version "+s+" of electron");if(!Jt[n])throw new gt("Unknown version "+o+" of electron");return Object.keys(Jt).filter(function(i){var a=parseFloat(i);return a>=s&&a<=o}).map(function(i){return"chrome "+Jt[i]})}},node_range:{matches:["from","to"],regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(t,e){return Y.nodeVersions.filter(Yh(">=",e.from)).filter(Yh("<=",e.to)).map(function(r){return"node "+r})}},browser_range:{matches:["browser","from","to"],regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(t,e){var r=ns(e.browser,t),n=parseFloat(zo(r,e.from)||e.from),s=parseFloat(zo(r,e.to)||e.to);function o(i){var a=parseFloat(i);return a>=n&&a<=s}return r.released.filter(o).map(Qr(r.name))}},electron_ray:{matches:["sign","version"],regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(t,e){var r=Go(e.version);return Object.keys(Jt).filter(Kh(e.sign,r)).map(function(n){return"chrome "+Jt[n]})}},node_ray:{matches:["sign","version"],regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(t,e){return Y.nodeVersions.filter(Q4(e.sign,e.version)).map(function(r){return"node "+r})}},browser_ray:{matches:["browser","sign","version"],regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(t,e){var r=e.version,n=ns(e.browser,t),s=Y.versionAliases[n.name][r];return s&&(r=s),n.released.filter(Kh(e.sign,r)).map(function(o){return n.name+" "+o})}},firefox_esr:{matches:[],regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 115"]}},opera_mini_all:{matches:[],regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},electron_version:{matches:["version"],regexp:/^electron\s+([\d.]+)$/i,select:function(t,e){var r=Go(e.version),n=Jt[r];if(!n)throw new gt("Unknown version "+e.version+" of electron");return["chrome "+n]}},node_major_version:{matches:["version"],regexp:/^node\s+(\d+)$/i,select:Xu},node_minor_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+)$/i,select:Xu},node_patch_version:{matches:["version"],regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:Xu},current_node:{matches:[],regexp:/^current\s+node$/i,select:function(t){return[at.currentNode(ss,t)]}},maintained_node:{matches:[],regexp:/^maintained\s+node\s+versions$/i,select:function(t){var e=Date.now(),r=Object.keys(Ku).filter(function(n){return e<Date.parse(Ku[n].end)&&e>Date.parse(Ku[n].start)&&j4(n)}).map(function(n){return"node "+n.slice(1)});return ss(r,t)}},phantomjs_1_9:{matches:[],regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},phantomjs_2_1:{matches:[],regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},browser_version:{matches:["browser","version"],regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(t,e){var r=e.version;/^tp$/i.test(r)&&(r="TP");var n=ns(e.browser,t),s=zo(n,r);if(s)r=s;else if(r.indexOf(".")===-1?s=r+".0":s=r.replace(/\.0$/,""),s=zo(n,s),s)r=s;else{if(t.ignoreUnknownVersions)return[];throw new gt("Unknown version "+r+" of "+e.browser)}return[n.name+" "+r]}},browserslist_config:{matches:[],regexp:/^browserslist config$/i,select:function(t){return Y(void 0,t)}},extends:{matches:["config"],regexp:/^extends (.+)$/i,select:function(t,e){return ss(at.loadQueries(t,e.config),t)}},defaults:{matches:[],regexp:/^defaults$/i,select:function(t){return ss(Y.defaults,t)}},dead:{matches:[],regexp:/^dead$/i,select:function(t){var e=["Baidu >= 0","ie <= 11","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"];return ss(e,t)}},unknown:{matches:[],regexp:/^(\w+)$/i,select:function(t,e){throw Kr(e.query,t)?new gt("Specify versions in Browserslist query for browser "+e.query):X4(e.query)}}};(function(){for(var t in Er){var e=Er[t];Y.data[t]={name:t,versions:Jh(Er[t].versions),released:Jh(Er[t].versions.slice(0,-3)),releaseDate:Er[t].release_date},Ko(Y.usage.global,t,e.usage_global),Y.versionAliases[t]={};for(var r=0;r<e.versions.length;r++){var n=e.versions[r];if(n&&n.indexOf("-")!==-1)for(var s=n.split("-"),o=0;o<s.length;o++)Y.versionAliases[t][s[o]]=n}}Y.nodeVersions=G4.map(function(i){return i.version})})();B0.exports=Y});var rB=N((AU,tB)=>{p();d();f();var oe=String,c0=function(){return{isColorSupported:!1,reset:oe,bold:oe,dim:oe,italic:oe,underline:oe,inverse:oe,hidden:oe,strikethrough:oe,black:oe,red:oe,green:oe,yellow:oe,blue:oe,magenta:oe,cyan:oe,white:oe,gray:oe,bgBlack:oe,bgRed:oe,bgGreen:oe,bgYellow:oe,bgBlue:oe,bgMagenta:oe,bgCyan:oe,bgWhite:oe,blackBright:oe,redBright:oe,greenBright:oe,yellowBright:oe,blueBright:oe,magentaBright:oe,cyanBright:oe,whiteBright:oe,bgBlackBright:oe,bgRedBright:oe,bgGreenBright:oe,bgYellowBright:oe,bgBlueBright:oe,bgMagentaBright:oe,bgCyanBright:oe,bgWhiteBright:oe}};tB.exports=c0();tB.exports.createColors=c0});var nB=N(()=>{p();d();f()});var Yo=N((MU,d0)=>{"use strict";p();d();f();var p0=rB(),f0=nB(),ni=class t extends Error{constructor(e,r,n,s,o,i){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),s&&(this.source=s),i&&(this.plugin=i),typeof r<"u"&&typeof n<"u"&&(typeof r=="number"?(this.line=r,this.column=n):(this.line=r.line,this.column=r.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,t)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let r=this.source;e==null&&(e=p0.isColorSupported),f0&&e&&(r=f0(r));let n=r.split(/\r?\n/),s=Math.max(this.line-3,0),o=Math.min(this.line+2,n.length),i=String(o).length,a,l;if(e){let{bold:u,gray:c,red:B}=p0.createColors(!0);a=h=>u(B(h)),l=h=>c(h)}else a=l=u=>u;return n.slice(s,o).map((u,c)=>{let B=s+1+c,h=" "+(" "+B).slice(-i)+" | ";if(B===this.line){let g=l(h.replace(/\d/g," "))+u.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+l(h)+u+`
|
|
2
2
|
`+g+a("^")}return" "+l(h)+u}).join(`
|
|
3
3
|
`)}toString(){let e=this.showSourceCode();return e&&(e=`
|
|
4
4
|
|
|
@@ -15,22 +15,22 @@
|
|
|
15
15
|
`)&&(n=n.replace(/[^\n]+$/,"")),!1}),typeof n>"u"?n=this.raw(r,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeOpen(e){let r;return e.walk(n=>{if(n.type!=="decl"&&(r=n.raws.between,typeof r<"u"))return!1}),r}rawBeforeRule(e){let r;return e.walk(n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&typeof n.raws.before<"u")return r=n.raws.before,r.includes(`
|
|
16
16
|
`)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawColon(e){let r;return e.walkDecls(n=>{if(typeof n.raws.between<"u")return r=n.raws.between.replace(/[^\s:]/g,""),!1}),r}rawEmptyBody(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length===0&&(r=n.raws.after,typeof r<"u"))return!1}),r}rawIndent(e){if(e.raws.indent)return e.raws.indent;let r;return e.walk(n=>{let s=n.parent;if(s&&s!==e&&s.parent&&s.parent===e&&typeof n.raws.before<"u"){let o=n.raws.before.split(`
|
|
17
17
|
`);return r=o[o.length-1],r=r.replace(/\S/g,""),!1}}),r}rawSemicolon(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length&&n.last.type==="decl"&&(r=n.raws.semicolon,typeof r<"u"))return!1}),r}rawValue(e,r){let n=e[r],s=e.raws[r];return s&&s.value===n?s.raw:n}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,r){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,r)}};h0.exports=si;si.default=si});var ii=N((KU,m0)=>{"use strict";p();d();f();var $4=iB();function oB(t,e){new $4(e).stringify(t)}m0.exports=oB;oB.default=oB});var ai=N(($U,g0)=>{"use strict";p();d();f();var{isClean:Zo,my:e3}=Xo(),t3=Yo(),r3=iB(),n3=ii();function aB(t,e){let r=new t.constructor;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n)||n==="proxyCache")continue;let s=t[n],o=typeof s;n==="parent"&&o==="object"?e&&(r[n]=e):n==="source"?r[n]=s:Array.isArray(s)?r[n]=s.map(i=>aB(i,r)):(o==="object"&&s!==null&&(s=aB(s)),r[n]=s)}return r}var oi=class{constructor(e={}){this.raws={},this[Zo]=!1,this[e3]=!0;for(let r in e)if(r==="nodes"){this.nodes=[];for(let n of e[r])typeof n.clone=="function"?this.append(n.clone()):this.append(n)}else this[r]=e[r]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let r=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${r.input.from}:${r.start.line}:${r.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let r in e)this[r]=e[r];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let r=aB(this);for(let n in e)r[n]=e[n];return r}cloneAfter(e={}){let r=this.clone(e);return this.parent.insertAfter(this,r),r}cloneBefore(e={}){let r=this.clone(e);return this.parent.insertBefore(this,r),r}error(e,r={}){if(this.source){let{end:n,start:s}=this.rangeBy(r);return this.source.input.error(e,{column:s.column,line:s.line},{column:n.column,line:n.line},r)}return new t3(e)}getProxyProcessor(){return{get(e,r){return r==="proxyOf"?e:r==="root"?()=>e.root().toProxy():e[r]},set(e,r,n){return e[r]===n||(e[r]=n,(r==="prop"||r==="value"||r==="name"||r==="params"||r==="important"||r==="text")&&e.markDirty()),!0}}}markDirty(){if(this[Zo]){this[Zo]=!1;let e=this;for(;e=e.parent;)e[Zo]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,r){let n=this.source.start;if(e.index)n=this.positionInside(e.index,r);else if(e.word){r=this.toString();let s=r.indexOf(e.word);s!==-1&&(n=this.positionInside(s,r))}return n}positionInside(e,r){let n=r||this.toString(),s=this.source.start.column,o=this.source.start.line;for(let i=0;i<e;i++)n[i]===`
|
|
18
|
-
`?(s=1,o+=1):s+=1;return{column:s,line:o}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let r={column:this.source.start.column,line:this.source.start.line},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:r.column+1,line:r.line};if(e.word){let s=this.toString(),o=s.indexOf(e.word);o!==-1&&(r=this.positionInside(o,s),n=this.positionInside(o+e.word.length,s))}else e.start?r={column:e.start.column,line:e.start.line}:e.index&&(r=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line}:typeof e.endIndex=="number"?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<r.line||n.line===r.line&&n.column<=r.column)&&(n={column:r.column+1,line:r.line}),{end:n,start:r}}raw(e,r){return new r3().raw(this,e,r)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let r=this,n=!1;for(let s of e)s===this?n=!0:n?(this.parent.insertAfter(r,s),r=s):this.parent.insertBefore(r,s);n||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,r){let n={},s=r==null;r=r||new Map;let o=0;for(let i in this){if(!Object.prototype.hasOwnProperty.call(this,i)||i==="parent"||i==="proxyCache")continue;let a=this[i];if(Array.isArray(a))n[i]=a.map(l=>typeof l=="object"&&l.toJSON?l.toJSON(null,r):l);else if(typeof a=="object"&&a.toJSON)n[i]=a.toJSON(null,r);else if(i==="source"){let l=r.get(a.input);l==null&&(l=o,r.set(a.input,o),o++),n[i]={end:a.end,inputId:l,start:a.start}}else n[i]=a}return s&&(n.inputs=[...r.keys()].map(i=>i.toJSON())),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=n3){e.stringify&&(e=e.stringify);let r="";return e(this,n=>{r+=n}),r}warn(e,r,n){let s={node:this};for(let o in n)s[o]=n[o];return e.warn(r,s)}get proxyOf(){return this}};g0.exports=oi;oi.default=oi});var ui=N((nW,v0)=>{"use strict";p();d();f();var s3=ai(),li=class extends s3{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]==="$"}};v0.exports=li;li.default=li});var $o=N(()=>{p();d();f()});function kn(t){throw new RangeError(l3[t])}function y0(t,e){let r=t.split("@"),n="";r.length>1&&(n=r[0]+"@",t=r[1]);let s=function(o,i){let a=[],l=o.length;for(;l--;)a[l]=i(o[l]);return a}((t=t.replace(a3,".")).split("."),e).join(".");return n+s}function x0(t){let e=[],r=0,n=t.length;for(;r<n;){let s=t.charCodeAt(r++);if(s>=55296&&s<=56319&&r<n){let o=t.charCodeAt(r++);(64512&o)==56320?e.push(((1023&s)<<10)+(1023&o)+65536):(e.push(s),r--)}else e.push(s)}return e}var i3,o3,a3,l3,or,lB,w0,S0,b0,D0,Yr,k0=Pt(()=>{p();d();f();i3=/^xn--/,o3=/[^\0-\x7E]/,a3=/[\x2E\u3002\uFF0E\uFF61]/g,l3={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},or=Math.floor,lB=String.fromCharCode;w0=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},S0=function(t,e,r){let n=0;for(t=r?or(t/700):t>>1,t+=or(t/e);t>455;n+=36)t=or(t/35);return or(n+36*t/(t+38))},b0=function(t){let e=[],r=t.length,n=0,s=128,o=72,i=t.lastIndexOf("-");i<0&&(i=0);for(let l=0;l<i;++l)t.charCodeAt(l)>=128&&kn("not-basic"),e.push(t.charCodeAt(l));for(let l=i>0?i+1:0;l<r;){let u=n;for(let B=1,h=36;;h+=36){l>=r&&kn("invalid-input");let g=(a=t.charCodeAt(l++))-48<10?a-22:a-65<26?a-65:a-97<26?a-97:36;(g>=36||g>or((2147483647-n)/B))&&kn("overflow"),n+=g*B;let v=h<=o?1:h>=o+26?26:h-o;if(g<v)break;let w=36-v;B>or(2147483647/w)&&kn("overflow"),B*=w}let c=e.length+1;o=S0(n-u,c,u==0),or(n/c)>2147483647-s&&kn("overflow"),s+=or(n/c),n%=c,e.splice(n++,0,s)}var a;return String.fromCodePoint(...e)},D0=function(t){let e=[],r=(t=x0(t)).length,n=128,s=0,o=72;for(let l of t)l<128&&e.push(lB(l));let i=e.length,a=i;for(i&&e.push("-");a<r;){let l=2147483647;for(let c of t)c>=n&&c<l&&(l=c);let u=a+1;l-n>or((2147483647-s)/u)&&kn("overflow"),s+=(l-n)*u,n=l;for(let c of t)if(c<n&&++s>2147483647&&kn("overflow"),c==n){let B=s;for(let h=36;;h+=36){let g=h<=o?1:h>=o+26?26:h-o;if(B<g)break;let v=B-g,w=36-g;e.push(lB(w0(g+v%w,0))),B=or(v/w)}e.push(lB(w0(B,0))),o=S0(s,u,a==i),s=0,++a}++s,++n}return e.join("")},Yr={version:"2.1.0",ucs2:{decode:x0,encode:t=>String.fromCodePoint(...t)},decode:b0,encode:D0,toASCII:function(t){return y0(t,function(e){return o3.test(e)?"xn--"+D0(e):e})},toUnicode:function(t){return y0(t,function(e){return i3.test(e)?b0(e.slice(4).toLowerCase()):e})}};Yr.decode;Yr.encode;Yr.toASCII;Yr.toUnicode;Yr.ucs2;Yr.version});function u3(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var B3,Bi,c3,ar,P0=Pt(()=>{p();d();f();B3=function(t,e,r,n){e=e||"&",r=r||"=";var s={};if(typeof t!="string"||t.length===0)return s;var o=/\+/g;t=t.split(e);var i=1e3;n&&typeof n.maxKeys=="number"&&(i=n.maxKeys);var a=t.length;i>0&&a>i&&(a=i);for(var l=0;l<a;++l){var u,c,B,h,g=t[l].replace(o,"%20"),v=g.indexOf(r);v>=0?(u=g.substr(0,v),c=g.substr(v+1)):(u=g,c=""),B=decodeURIComponent(u),h=decodeURIComponent(c),u3(s,B)?Array.isArray(s[B])?s[B].push(h):s[B]=[s[B],h]:s[B]=h}return s},Bi=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}},c3=function(t,e,r,n){return e=e||"&",r=r||"=",t===null&&(t=void 0),typeof t=="object"?Object.keys(t).map(function(s){var o=encodeURIComponent(Bi(s))+r;return Array.isArray(t[s])?t[s].map(function(i){return o+encodeURIComponent(Bi(i))}).join(e):o+encodeURIComponent(Bi(t[s]))}).join(e):n?encodeURIComponent(Bi(n))+r+encodeURIComponent(Bi(t)):""},ar={};ar.decode=ar.parse=B3,ar.encode=ar.stringify=c3;ar.decode;ar.encode;ar.parse;ar.stringify});function uB(){throw new Error("setTimeout has not been defined")}function BB(){throw new Error("clearTimeout has not been defined")}function E0(t){if(Tr===setTimeout)return setTimeout(t,0);if((Tr===uB||!Tr)&&setTimeout)return Tr=setTimeout,setTimeout(t,0);try{return Tr(t,0)}catch{try{return Tr.call(null,t,0)}catch{return Tr.call(this||os,t,0)}}}function p3(){is&&Pn&&(is=!1,Pn.length?Lr=Pn.concat(Lr):ea=-1,Lr.length&&O0())}function O0(){if(!is){var t=E0(p3);is=!0;for(var e=Lr.length;e;){for(Pn=Lr,Lr=[];++ea<e;)Pn&&Pn[ea].run();ea=-1,e=Lr.length}Pn=null,is=!1,function(r){if(Ir===clearTimeout)return clearTimeout(r);if((Ir===BB||!Ir)&&clearTimeout)return Ir=clearTimeout,clearTimeout(r);try{Ir(r)}catch{try{return Ir.call(null,r)}catch{return Ir.call(this||os,r)}}}(t)}}function A0(t,e){(this||os).fun=t,(this||os).array=e}function Or(){}var N0,Tr,Ir,os,Je,Pn,Lr,is,ea,_e,T0=Pt(()=>{p();d();f();os=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window,Je=N0={};(function(){try{Tr=typeof setTimeout=="function"?setTimeout:uB}catch{Tr=uB}try{Ir=typeof clearTimeout=="function"?clearTimeout:BB}catch{Ir=BB}})();Lr=[],is=!1,ea=-1;Je.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];Lr.push(new A0(t,e)),Lr.length!==1||is||E0(O0)},A0.prototype.run=function(){(this||os).fun.apply(null,(this||os).array)},Je.title="browser",Je.browser=!0,Je.env={},Je.argv=[],Je.version="",Je.versions={},Je.on=Or,Je.addListener=Or,Je.once=Or,Je.off=Or,Je.removeListener=Or,Je.removeAllListeners=Or,Je.emit=Or,Je.prependListener=Or,Je.prependOnceListener=Or,Je.listeners=function(t){return[]},Je.binding=function(t){throw new Error("process.binding is not supported")},Je.cwd=function(){return"/"},Je.chdir=function(t){throw new Error("process.chdir is not supported")},Je.umask=function(){return 0};_e=N0;_e.addListener;_e.argv;_e.binding;_e.browser;_e.chdir;_e.cwd;_e.emit;_e.env;_e.listeners;_e.nextTick;_e.off;_e.on;_e.once;_e.prependListener;_e.prependOnceListener;_e.removeAllListeners;_e.removeListener;_e.title;_e.umask;_e.version;_e.versions});var mB={};Ys(mB,{URL:()=>W3,Url:()=>M3,default:()=>De,fileURLToPath:()=>_0,format:()=>_3,parse:()=>U3,pathToFileURL:()=>q0,resolve:()=>q3,resolveObject:()=>V3});function Ft(){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 ci(t,e,r){if(t&&lr.isObject(t)&&t instanceof Ft)return t;var n=new Ft;return n.parse(t,e,r),n}function y3(){if(F0)return fB;F0=!0;var t=_e;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function r(o,i){for(var a="",l=0,u=-1,c=0,B,h=0;h<=o.length;++h){if(h<o.length)B=o.charCodeAt(h);else{if(B===47)break;B=47}if(B===47){if(!(u===h-1||c===1))if(u!==h-1&&c===2){if(a.length<2||l!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var g=a.lastIndexOf("/");if(g!==a.length-1){g===-1?(a="",l=0):(a=a.slice(0,g),l=a.length-1-a.lastIndexOf("/")),u=h,c=0;continue}}else if(a.length===2||a.length===1){a="",l=0,u=h,c=0;continue}}i&&(a.length>0?a+="/..":a="..",l=2)}else a.length>0?a+="/"+o.slice(u+1,h):a=o.slice(u+1,h),l=h-u-1;u=h,c=0}else B===46&&c!==-1?++c:c=-1}return a}function n(o,i){var a=i.dir||i.root,l=i.base||(i.name||"")+(i.ext||"");return a?a===i.root?a+l:a+o+l:l}var s={resolve:function(){for(var i="",a=!1,l,u=arguments.length-1;u>=-1&&!a;u--){var c;u>=0?c=arguments[u]:(l===void 0&&(l=t.cwd()),c=l),e(c),c.length!==0&&(i=c+"/"+i,a=c.charCodeAt(0)===47)}return i=r(i,!a),a?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(i){if(e(i),i.length===0)return".";var a=i.charCodeAt(0)===47,l=i.charCodeAt(i.length-1)===47;return i=r(i,!a),i.length===0&&!a&&(i="."),i.length>0&&l&&(i+="/"),a?"/"+i:i},isAbsolute:function(i){return e(i),i.length>0&&i.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var i,a=0;a<arguments.length;++a){var l=arguments[a];e(l),l.length>0&&(i===void 0?i=l:i+="/"+l)}return i===void 0?".":s.normalize(i)},relative:function(i,a){if(e(i),e(a),i===a||(i=s.resolve(i),a=s.resolve(a),i===a))return"";for(var l=1;l<i.length&&i.charCodeAt(l)===47;++l);for(var u=i.length,c=u-l,B=1;B<a.length&&a.charCodeAt(B)===47;++B);for(var h=a.length,g=h-B,v=c<g?c:g,w=-1,y=0;y<=v;++y){if(y===v){if(g>v){if(a.charCodeAt(B+y)===47)return a.slice(B+y+1);if(y===0)return a.slice(B+y)}else c>v&&(i.charCodeAt(l+y)===47?w=y:y===0&&(w=0));break}var P=i.charCodeAt(l+y),O=a.charCodeAt(B+y);if(P!==O)break;P===47&&(w=y)}var E="";for(y=l+w+1;y<=u;++y)(y===u||i.charCodeAt(y)===47)&&(E.length===0?E+="..":E+="/..");return E.length>0?E+a.slice(B+w):(B+=w,a.charCodeAt(B)===47&&++B,a.slice(B))},_makeLong:function(i){return i},dirname:function(i){if(e(i),i.length===0)return".";for(var a=i.charCodeAt(0),l=a===47,u=-1,c=!0,B=i.length-1;B>=1;--B)if(a=i.charCodeAt(B),a===47){if(!c){u=B;break}}else c=!1;return u===-1?l?"/":".":l&&u===1?"//":i.slice(0,u)},basename:function(i,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(i);var l=0,u=-1,c=!0,B;if(a!==void 0&&a.length>0&&a.length<=i.length){if(a.length===i.length&&a===i)return"";var h=a.length-1,g=-1;for(B=i.length-1;B>=0;--B){var v=i.charCodeAt(B);if(v===47){if(!c){l=B+1;break}}else g===-1&&(c=!1,g=B+1),h>=0&&(v===a.charCodeAt(h)?--h===-1&&(u=B):(h=-1,u=g))}return l===u?u=g:u===-1&&(u=i.length),i.slice(l,u)}else{for(B=i.length-1;B>=0;--B)if(i.charCodeAt(B)===47){if(!c){l=B+1;break}}else u===-1&&(c=!1,u=B+1);return u===-1?"":i.slice(l,u)}},extname:function(i){e(i);for(var a=-1,l=0,u=-1,c=!0,B=0,h=i.length-1;h>=0;--h){var g=i.charCodeAt(h);if(g===47){if(!c){l=h+1;break}continue}u===-1&&(c=!1,u=h+1),g===46?a===-1?a=h:B!==1&&(B=1):a!==-1&&(B=-1)}return a===-1||u===-1||B===0||B===1&&a===u-1&&a===l+1?"":i.slice(a,u)},format:function(i){if(i===null||typeof i!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof i);return n("/",i)},parse:function(i){e(i);var a={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return a;var l=i.charCodeAt(0),u=l===47,c;u?(a.root="/",c=1):c=0;for(var B=-1,h=0,g=-1,v=!0,w=i.length-1,y=0;w>=c;--w){if(l=i.charCodeAt(w),l===47){if(!v){h=w+1;break}continue}g===-1&&(v=!1,g=w+1),l===46?B===-1?B=w:y!==1&&(y=1):B!==-1&&(y=-1)}return B===-1||g===-1||y===0||y===1&&B===g-1&&B===h+1?g!==-1&&(h===0&&u?a.base=a.name=i.slice(1,g):a.base=a.name=i.slice(h,g)):(h===0&&u?(a.name=i.slice(1,B),a.base=i.slice(1,g)):(a.name=i.slice(h,B),a.base=i.slice(h,g)),a.ext=i.slice(B,g)),h>0?a.dir=i.slice(0,h-1):u&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return s.posix=s,fB=s,fB}function T3(t){if(typeof t=="string")t=new URL(t);else if(!(t instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(t.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return CB?I3(t):L3(t)}function I3(t){let e=t.hostname,r=t.pathname;for(let n=0;n<r.length;n++)if(r[n]==="%"){let s=r.codePointAt(n+2)||32;if(r[n+1]==="2"&&s===102||r[n+1]==="5"&&s===99)throw new Deno.errors.InvalidData("must not include encoded \\ or / characters")}if(r=r.replace(k3,"\\"),r=decodeURIComponent(r),e!=="")return`\\\\${e}${r}`;{let n=r.codePointAt(1)|32,s=r[2];if(n<x3||n>S3||s!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}function L3(t){if(t.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let e=t.pathname;for(let r=0;r<e.length;r++)if(e[r]==="%"){let n=e.codePointAt(r+2)||32;if(e[r+1]==="2"&&n===102)throw new Deno.errors.InvalidData("must not include encoded / characters")}return decodeURIComponent(e)}function R3(t){let e=M0.resolve(t),r=t.charCodeAt(t.length-1);(r===D3||CB&&r===b3)&&e[e.length-1]!==M0.sep&&(e+="/");let n=new URL("file://");return e.includes("%")&&(e=e.replace(P3,"%25")),!CB&&e.includes("\\")&&(e=e.replace(A3,"%5C")),e.includes(`
|
|
18
|
+
`?(s=1,o+=1):s+=1;return{column:s,line:o}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let r={column:this.source.start.column,line:this.source.start.line},n=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:r.column+1,line:r.line};if(e.word){let s=this.toString(),o=s.indexOf(e.word);o!==-1&&(r=this.positionInside(o,s),n=this.positionInside(o+e.word.length,s))}else e.start?r={column:e.start.column,line:e.start.line}:e.index&&(r=this.positionInside(e.index)),e.end?n={column:e.end.column,line:e.end.line}:typeof e.endIndex=="number"?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<r.line||n.line===r.line&&n.column<=r.column)&&(n={column:r.column+1,line:r.line}),{end:n,start:r}}raw(e,r){return new r3().raw(this,e,r)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let r=this,n=!1;for(let s of e)s===this?n=!0:n?(this.parent.insertAfter(r,s),r=s):this.parent.insertBefore(r,s);n||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,r){let n={},s=r==null;r=r||new Map;let o=0;for(let i in this){if(!Object.prototype.hasOwnProperty.call(this,i)||i==="parent"||i==="proxyCache")continue;let a=this[i];if(Array.isArray(a))n[i]=a.map(l=>typeof l=="object"&&l.toJSON?l.toJSON(null,r):l);else if(typeof a=="object"&&a.toJSON)n[i]=a.toJSON(null,r);else if(i==="source"){let l=r.get(a.input);l==null&&(l=o,r.set(a.input,o),o++),n[i]={end:a.end,inputId:l,start:a.start}}else n[i]=a}return s&&(n.inputs=[...r.keys()].map(i=>i.toJSON())),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=n3){e.stringify&&(e=e.stringify);let r="";return e(this,n=>{r+=n}),r}warn(e,r,n){let s={node:this};for(let o in n)s[o]=n[o];return e.warn(r,s)}get proxyOf(){return this}};g0.exports=oi;oi.default=oi});var ui=N((nW,v0)=>{"use strict";p();d();f();var s3=ai(),li=class extends s3{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]==="$"}};v0.exports=li;li.default=li});var $o=N(()=>{p();d();f()});function kn(t){throw new RangeError(l3[t])}function y0(t,e){let r=t.split("@"),n="";r.length>1&&(n=r[0]+"@",t=r[1]);let s=function(o,i){let a=[],l=o.length;for(;l--;)a[l]=i(o[l]);return a}((t=t.replace(a3,".")).split("."),e).join(".");return n+s}function x0(t){let e=[],r=0,n=t.length;for(;r<n;){let s=t.charCodeAt(r++);if(s>=55296&&s<=56319&&r<n){let o=t.charCodeAt(r++);(64512&o)==56320?e.push(((1023&s)<<10)+(1023&o)+65536):(e.push(s),r--)}else e.push(s)}return e}var i3,o3,a3,l3,or,lB,w0,S0,b0,D0,Yr,k0=Pt(()=>{p();d();f();i3=/^xn--/,o3=/[^\0-\x7E]/,a3=/[\x2E\u3002\uFF0E\uFF61]/g,l3={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},or=Math.floor,lB=String.fromCharCode;w0=function(t,e){return t+22+75*(t<26)-((e!=0)<<5)},S0=function(t,e,r){let n=0;for(t=r?or(t/700):t>>1,t+=or(t/e);t>455;n+=36)t=or(t/35);return or(n+36*t/(t+38))},b0=function(t){let e=[],r=t.length,n=0,s=128,o=72,i=t.lastIndexOf("-");i<0&&(i=0);for(let l=0;l<i;++l)t.charCodeAt(l)>=128&&kn("not-basic"),e.push(t.charCodeAt(l));for(let l=i>0?i+1:0;l<r;){let u=n;for(let B=1,h=36;;h+=36){l>=r&&kn("invalid-input");let g=(a=t.charCodeAt(l++))-48<10?a-22:a-65<26?a-65:a-97<26?a-97:36;(g>=36||g>or((2147483647-n)/B))&&kn("overflow"),n+=g*B;let v=h<=o?1:h>=o+26?26:h-o;if(g<v)break;let w=36-v;B>or(2147483647/w)&&kn("overflow"),B*=w}let c=e.length+1;o=S0(n-u,c,u==0),or(n/c)>2147483647-s&&kn("overflow"),s+=or(n/c),n%=c,e.splice(n++,0,s)}var a;return String.fromCodePoint(...e)},D0=function(t){let e=[],r=(t=x0(t)).length,n=128,s=0,o=72;for(let l of t)l<128&&e.push(lB(l));let i=e.length,a=i;for(i&&e.push("-");a<r;){let l=2147483647;for(let c of t)c>=n&&c<l&&(l=c);let u=a+1;l-n>or((2147483647-s)/u)&&kn("overflow"),s+=(l-n)*u,n=l;for(let c of t)if(c<n&&++s>2147483647&&kn("overflow"),c==n){let B=s;for(let h=36;;h+=36){let g=h<=o?1:h>=o+26?26:h-o;if(B<g)break;let v=B-g,w=36-g;e.push(lB(w0(g+v%w,0))),B=or(v/w)}e.push(lB(w0(B,0))),o=S0(s,u,a==i),s=0,++a}++s,++n}return e.join("")},Yr={version:"2.1.0",ucs2:{decode:x0,encode:t=>String.fromCodePoint(...t)},decode:b0,encode:D0,toASCII:function(t){return y0(t,function(e){return o3.test(e)?"xn--"+D0(e):e})},toUnicode:function(t){return y0(t,function(e){return i3.test(e)?b0(e.slice(4).toLowerCase()):e})}};Yr.decode;Yr.encode;Yr.toASCII;Yr.toUnicode;Yr.ucs2;Yr.version});function u3(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var B3,Bi,c3,ar,P0=Pt(()=>{p();d();f();B3=function(t,e,r,n){e=e||"&",r=r||"=";var s={};if(typeof t!="string"||t.length===0)return s;var o=/\+/g;t=t.split(e);var i=1e3;n&&typeof n.maxKeys=="number"&&(i=n.maxKeys);var a=t.length;i>0&&a>i&&(a=i);for(var l=0;l<a;++l){var u,c,B,h,g=t[l].replace(o,"%20"),v=g.indexOf(r);v>=0?(u=g.substr(0,v),c=g.substr(v+1)):(u=g,c=""),B=decodeURIComponent(u),h=decodeURIComponent(c),u3(s,B)?Array.isArray(s[B])?s[B].push(h):s[B]=[s[B],h]:s[B]=h}return s},Bi=function(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}},c3=function(t,e,r,n){return e=e||"&",r=r||"=",t===null&&(t=void 0),typeof t=="object"?Object.keys(t).map(function(s){var o=encodeURIComponent(Bi(s))+r;return Array.isArray(t[s])?t[s].map(function(i){return o+encodeURIComponent(Bi(i))}).join(e):o+encodeURIComponent(Bi(t[s]))}).join(e):n?encodeURIComponent(Bi(n))+r+encodeURIComponent(Bi(t)):""},ar={};ar.decode=ar.parse=B3,ar.encode=ar.stringify=c3;ar.decode;ar.encode;ar.parse;ar.stringify});function uB(){throw new Error("setTimeout has not been defined")}function BB(){throw new Error("clearTimeout has not been defined")}function E0(t){if(Tr===setTimeout)return setTimeout(t,0);if((Tr===uB||!Tr)&&setTimeout)return Tr=setTimeout,setTimeout(t,0);try{return Tr(t,0)}catch{try{return Tr.call(null,t,0)}catch{return Tr.call(this||os,t,0)}}}function p3(){is&&Pn&&(is=!1,Pn.length?Lr=Pn.concat(Lr):ea=-1,Lr.length&&O0())}function O0(){if(!is){var t=E0(p3);is=!0;for(var e=Lr.length;e;){for(Pn=Lr,Lr=[];++ea<e;)Pn&&Pn[ea].run();ea=-1,e=Lr.length}Pn=null,is=!1,function(r){if(Ir===clearTimeout)return clearTimeout(r);if((Ir===BB||!Ir)&&clearTimeout)return Ir=clearTimeout,clearTimeout(r);try{Ir(r)}catch{try{return Ir.call(null,r)}catch{return Ir.call(this||os,r)}}}(t)}}function A0(t,e){(this||os).fun=t,(this||os).array=e}function Or(){}var N0,Tr,Ir,os,Je,Pn,Lr,is,ea,_e,T0=Pt(()=>{p();d();f();os=typeof globalThis<"u"?globalThis:typeof self<"u"?self:window,Je=N0={};(function(){try{Tr=typeof setTimeout=="function"?setTimeout:uB}catch{Tr=uB}try{Ir=typeof clearTimeout=="function"?clearTimeout:BB}catch{Ir=BB}})();Lr=[],is=!1,ea=-1;Je.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];Lr.push(new A0(t,e)),Lr.length!==1||is||E0(O0)},A0.prototype.run=function(){(this||os).fun.apply(null,(this||os).array)},Je.title="browser",Je.browser=!0,Je.env={},Je.argv=[],Je.version="",Je.versions={},Je.on=Or,Je.addListener=Or,Je.once=Or,Je.off=Or,Je.removeListener=Or,Je.removeAllListeners=Or,Je.emit=Or,Je.prependListener=Or,Je.prependOnceListener=Or,Je.listeners=function(t){return[]},Je.binding=function(t){throw new Error("process.binding is not supported")},Je.cwd=function(){return"/"},Je.chdir=function(t){throw new Error("process.chdir is not supported")},Je.umask=function(){return 0};_e=N0;_e.addListener;_e.argv;_e.binding;_e.browser;_e.chdir;_e.cwd;_e.emit;_e.env;_e.listeners;_e.nextTick;_e.off;_e.on;_e.once;_e.prependListener;_e.prependOnceListener;_e.removeAllListeners;_e.removeListener;_e.title;_e.umask;_e.version;_e.versions});var mB={};Ys(mB,{URL:()=>W3,Url:()=>M3,default:()=>xe,fileURLToPath:()=>_0,format:()=>_3,parse:()=>U3,pathToFileURL:()=>q0,resolve:()=>q3,resolveObject:()=>V3});function Ft(){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 ci(t,e,r){if(t&&lr.isObject(t)&&t instanceof Ft)return t;var n=new Ft;return n.parse(t,e,r),n}function y3(){if(F0)return fB;F0=!0;var t=_e;function e(o){if(typeof o!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(o))}function r(o,i){for(var a="",l=0,u=-1,c=0,B,h=0;h<=o.length;++h){if(h<o.length)B=o.charCodeAt(h);else{if(B===47)break;B=47}if(B===47){if(!(u===h-1||c===1))if(u!==h-1&&c===2){if(a.length<2||l!==2||a.charCodeAt(a.length-1)!==46||a.charCodeAt(a.length-2)!==46){if(a.length>2){var g=a.lastIndexOf("/");if(g!==a.length-1){g===-1?(a="",l=0):(a=a.slice(0,g),l=a.length-1-a.lastIndexOf("/")),u=h,c=0;continue}}else if(a.length===2||a.length===1){a="",l=0,u=h,c=0;continue}}i&&(a.length>0?a+="/..":a="..",l=2)}else a.length>0?a+="/"+o.slice(u+1,h):a=o.slice(u+1,h),l=h-u-1;u=h,c=0}else B===46&&c!==-1?++c:c=-1}return a}function n(o,i){var a=i.dir||i.root,l=i.base||(i.name||"")+(i.ext||"");return a?a===i.root?a+l:a+o+l:l}var s={resolve:function(){for(var i="",a=!1,l,u=arguments.length-1;u>=-1&&!a;u--){var c;u>=0?c=arguments[u]:(l===void 0&&(l=t.cwd()),c=l),e(c),c.length!==0&&(i=c+"/"+i,a=c.charCodeAt(0)===47)}return i=r(i,!a),a?i.length>0?"/"+i:"/":i.length>0?i:"."},normalize:function(i){if(e(i),i.length===0)return".";var a=i.charCodeAt(0)===47,l=i.charCodeAt(i.length-1)===47;return i=r(i,!a),i.length===0&&!a&&(i="."),i.length>0&&l&&(i+="/"),a?"/"+i:i},isAbsolute:function(i){return e(i),i.length>0&&i.charCodeAt(0)===47},join:function(){if(arguments.length===0)return".";for(var i,a=0;a<arguments.length;++a){var l=arguments[a];e(l),l.length>0&&(i===void 0?i=l:i+="/"+l)}return i===void 0?".":s.normalize(i)},relative:function(i,a){if(e(i),e(a),i===a||(i=s.resolve(i),a=s.resolve(a),i===a))return"";for(var l=1;l<i.length&&i.charCodeAt(l)===47;++l);for(var u=i.length,c=u-l,B=1;B<a.length&&a.charCodeAt(B)===47;++B);for(var h=a.length,g=h-B,v=c<g?c:g,w=-1,y=0;y<=v;++y){if(y===v){if(g>v){if(a.charCodeAt(B+y)===47)return a.slice(B+y+1);if(y===0)return a.slice(B+y)}else c>v&&(i.charCodeAt(l+y)===47?w=y:y===0&&(w=0));break}var P=i.charCodeAt(l+y),O=a.charCodeAt(B+y);if(P!==O)break;P===47&&(w=y)}var E="";for(y=l+w+1;y<=u;++y)(y===u||i.charCodeAt(y)===47)&&(E.length===0?E+="..":E+="/..");return E.length>0?E+a.slice(B+w):(B+=w,a.charCodeAt(B)===47&&++B,a.slice(B))},_makeLong:function(i){return i},dirname:function(i){if(e(i),i.length===0)return".";for(var a=i.charCodeAt(0),l=a===47,u=-1,c=!0,B=i.length-1;B>=1;--B)if(a=i.charCodeAt(B),a===47){if(!c){u=B;break}}else c=!1;return u===-1?l?"/":".":l&&u===1?"//":i.slice(0,u)},basename:function(i,a){if(a!==void 0&&typeof a!="string")throw new TypeError('"ext" argument must be a string');e(i);var l=0,u=-1,c=!0,B;if(a!==void 0&&a.length>0&&a.length<=i.length){if(a.length===i.length&&a===i)return"";var h=a.length-1,g=-1;for(B=i.length-1;B>=0;--B){var v=i.charCodeAt(B);if(v===47){if(!c){l=B+1;break}}else g===-1&&(c=!1,g=B+1),h>=0&&(v===a.charCodeAt(h)?--h===-1&&(u=B):(h=-1,u=g))}return l===u?u=g:u===-1&&(u=i.length),i.slice(l,u)}else{for(B=i.length-1;B>=0;--B)if(i.charCodeAt(B)===47){if(!c){l=B+1;break}}else u===-1&&(c=!1,u=B+1);return u===-1?"":i.slice(l,u)}},extname:function(i){e(i);for(var a=-1,l=0,u=-1,c=!0,B=0,h=i.length-1;h>=0;--h){var g=i.charCodeAt(h);if(g===47){if(!c){l=h+1;break}continue}u===-1&&(c=!1,u=h+1),g===46?a===-1?a=h:B!==1&&(B=1):a!==-1&&(B=-1)}return a===-1||u===-1||B===0||B===1&&a===u-1&&a===l+1?"":i.slice(a,u)},format:function(i){if(i===null||typeof i!="object")throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof i);return n("/",i)},parse:function(i){e(i);var a={root:"",dir:"",base:"",ext:"",name:""};if(i.length===0)return a;var l=i.charCodeAt(0),u=l===47,c;u?(a.root="/",c=1):c=0;for(var B=-1,h=0,g=-1,v=!0,w=i.length-1,y=0;w>=c;--w){if(l=i.charCodeAt(w),l===47){if(!v){h=w+1;break}continue}g===-1&&(v=!1,g=w+1),l===46?B===-1?B=w:y!==1&&(y=1):B!==-1&&(y=-1)}return B===-1||g===-1||y===0||y===1&&B===g-1&&B===h+1?g!==-1&&(h===0&&u?a.base=a.name=i.slice(1,g):a.base=a.name=i.slice(h,g)):(h===0&&u?(a.name=i.slice(1,B),a.base=i.slice(1,g)):(a.name=i.slice(h,B),a.base=i.slice(h,g)),a.ext=i.slice(B,g)),h>0?a.dir=i.slice(0,h-1):u&&(a.dir="/"),a},sep:"/",delimiter:":",win32:null,posix:null};return s.posix=s,fB=s,fB}function T3(t){if(typeof t=="string")t=new URL(t);else if(!(t instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(t.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return CB?I3(t):L3(t)}function I3(t){let e=t.hostname,r=t.pathname;for(let n=0;n<r.length;n++)if(r[n]==="%"){let s=r.codePointAt(n+2)||32;if(r[n+1]==="2"&&s===102||r[n+1]==="5"&&s===99)throw new Deno.errors.InvalidData("must not include encoded \\ or / characters")}if(r=r.replace(k3,"\\"),r=decodeURIComponent(r),e!=="")return`\\\\${e}${r}`;{let n=r.codePointAt(1)|32,s=r[2];if(n<x3||n>S3||s!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}function L3(t){if(t.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let e=t.pathname;for(let r=0;r<e.length;r++)if(e[r]==="%"){let n=e.codePointAt(r+2)||32;if(e[r+1]==="2"&&n===102)throw new Deno.errors.InvalidData("must not include encoded / characters")}return decodeURIComponent(e)}function R3(t){let e=M0.resolve(t),r=t.charCodeAt(t.length-1);(r===D3||CB&&r===b3)&&e[e.length-1]!==M0.sep&&(e+="/");let n=new URL("file://");return e.includes("%")&&(e=e.replace(P3,"%25")),!CB&&e.includes("\\")&&(e=e.replace(A3,"%5C")),e.includes(`
|
|
19
19
|
`)&&(e=e.replace(N3,"%0A")),e.includes("\r")&&(e=e.replace(E3,"%0D")),e.includes(" ")&&(e=e.replace(O3,"%09")),n.pathname=e,n}function _0(t){if(typeof t=="string")t=new URL(t);else if(!(t instanceof URL))throw new Deno.errors.InvalidData("invalid argument path , must be a string or URL");if(t.protocol!=="file:")throw new Deno.errors.InvalidData("invalid url scheme");return hB?$3(t):e5(t)}function $3(t){let e=t.hostname,r=t.pathname;for(let n=0;n<r.length;n++)if(r[n]==="%"){let s=r.codePointAt(n+2)||32;if(r[n+1]==="2"&&s===102||r[n+1]==="5"&&s===99)throw new Deno.errors.InvalidData("must not include encoded \\ or / characters")}if(r=r.replace(Q3,"\\"),r=decodeURIComponent(r),e!=="")return`\\\\${e}${r}`;{let n=r.codePointAt(1)|32,s=r[2];if(n<z3||n>j3||s!==":")throw new Deno.errors.InvalidData("file url path must be absolute");return r.slice(1)}}function e5(t){if(t.hostname!=="")throw new Deno.errors.InvalidData("invalid file url hostname");let e=t.pathname;for(let r=0;r<e.length;r++)if(e[r]==="%"){let n=e.codePointAt(r+2)||32;if(e[r+1]==="2"&&n===102)throw new Deno.errors.InvalidData("must not include encoded / characters")}return decodeURIComponent(e)}function q0(t){let e=Qe.resolve(t),r=t.charCodeAt(t.length-1);(r===H3||hB&&r===G3)&&e[e.length-1]!==Qe.sep&&(e+="/");let n=new URL("file://");return e.includes("%")&&(e=e.replace(J3,"%25")),!hB&&e.includes("\\")&&(e=e.replace(K3,"%5C")),e.includes(`
|
|
20
|
-
`)&&(e=e.replace(Y3,"%0A")),e.includes("\r")&&(e=e.replace(X3,"%0D")),e.includes(" ")&&(e=e.replace(Z3,"%09")),n.pathname=e,n}var
|
|
21
|
-
`," "]),dB=["'"].concat(m3),I0=["%","/","?",";","#"].concat(dB),L0=["/","?","#"],R0=/^[+a-z0-9A-Z_-]{0,63}$/,g3=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v3={javascript:!0,"javascript:":!0},cB={javascript:!0,"javascript:":!0},as={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},pB=ar;Ft.prototype.parse=function(t,e,r){if(!lr.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t.indexOf("?"),s=n!==-1&&n<t.indexOf("#")?"?":"#",o=t.split(s);o[0]=o[0].replace(/\\/g,"/");var i=t=o.join(s);if(i=i.trim(),!r&&t.split("#").length===1){var a=h3.exec(i);if(a)return this.path=i,this.href=i,this.pathname=a[1],a[2]?(this.search=a[2],this.query=e?pB.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var l=d3.exec(i);if(l){var u=(l=l[0]).toLowerCase();this.protocol=u,i=i.substr(l.length)}if(r||l||i.match(/^\/\/[^@\/]+@[^@\/]+/)){var c=i.substr(0,2)==="//";!c||l&&cB[l]||(i=i.substr(2),this.slashes=!0)}if(!cB[l]&&(c||l&&!as[l])){for(var B,h,g=-1,v=0;v<L0.length;v++)(w=i.indexOf(L0[v]))!==-1&&(g===-1||w<g)&&(g=w);for((h=g===-1?i.lastIndexOf("@"):i.lastIndexOf("@",g))!==-1&&(B=i.slice(0,h),i=i.slice(h+1),this.auth=decodeURIComponent(B)),g=-1,v=0;v<I0.length;v++){var w;(w=i.indexOf(I0[v]))!==-1&&(g===-1||w<g)&&(g=w)}g===-1&&(g=i.length),this.host=i.slice(0,g),i=i.slice(g),this.parseHost(),this.hostname=this.hostname||"";var y=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!y)for(var P=this.hostname.split(/\./),O=(v=0,P.length);v<O;v++){var E=P[v];if(E&&!E.match(R0)){for(var F="",q=0,ve=E.length;q<ve;q++)E.charCodeAt(q)>127?F+="x":F+=E[q];if(!F.match(R0)){var oe=P.slice(0,v),le=P.slice(v+1),J=E.match(g3);J&&(oe.push(J[1]),le.unshift(J[2])),le.length&&(i="/"+le.join(".")+i),this.hostname=oe.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),y||(this.hostname=f3.toASCII(this.hostname));var Z=this.port?":"+this.port:"",Lt=this.hostname||"";this.host=Lt+Z,this.href+=this.host,y&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),i[0]!=="/"&&(i="/"+i))}if(!v3[u])for(v=0,O=dB.length;v<O;v++){var $e=dB[v];if(i.indexOf($e)!==-1){var kt=encodeURIComponent($e);kt===$e&&(kt=escape($e)),i=i.split($e).join(kt)}}var Rt=i.indexOf("#");Rt!==-1&&(this.hash=i.substr(Rt),i=i.slice(0,Rt));var Zn=i.indexOf("?");if(Zn!==-1?(this.search=i.substr(Zn),this.query=i.substr(Zn+1),e&&(this.query=pB.parse(this.query)),i=i.slice(0,Zn)):e&&(this.search="",this.query={}),i&&(this.pathname=i),as[u]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){Z=this.pathname||"";var Lu=this.search||"";this.path=Z+Lu}return this.href=this.format(),this},Ft.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",s=!1,o="";this.host?s=t+this.host:this.hostname&&(s=t+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(s+=":"+this.port)),this.query&&lr.isObject(this.query)&&Object.keys(this.query).length&&(o=pB.stringify(this.query));var i=this.search||o&&"?"+o||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||as[e])&&s!==!1?(s="//"+(s||""),r&&r.charAt(0)!=="/"&&(r="/"+r)):s||(s=""),n&&n.charAt(0)!=="#"&&(n="#"+n),i&&i.charAt(0)!=="?"&&(i="?"+i),e+s+(r=r.replace(/[?#]/g,function(a){return encodeURIComponent(a)}))+(i=i.replace("#","%23"))+n},Ft.prototype.resolve=function(t){return this.resolveObject(ci(t,!1,!0)).format()},Ft.prototype.resolveObject=function(t){if(lr.isString(t)){var e=new Ft;e.parse(t,!1,!0),t=e}for(var r=new Ft,n=Object.keys(this),s=0;s<n.length;s++){var o=n[s];r[o]=this[o]}if(r.hash=t.hash,t.href==="")return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var i=Object.keys(t),a=0;a<i.length;a++){var l=i[a];l!=="protocol"&&(r[l]=t[l])}return as[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!as[t.protocol]){for(var u=Object.keys(t),c=0;c<u.length;c++){var B=u[c];r[B]=t[B]}return r.href=r.format(),r}if(r.protocol=t.protocol,t.host||cB[t.protocol])r.pathname=t.pathname;else{for(var h=(t.pathname||"").split("/");h.length&&!(t.host=h.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),h[0]!==""&&h.unshift(""),h.length<2&&h.unshift(""),r.pathname=h.join("/")}if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var g=r.pathname||"",v=r.search||"";r.path=g+v}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var w=r.pathname&&r.pathname.charAt(0)==="/",y=t.host||t.pathname&&t.pathname.charAt(0)==="/",P=y||w||r.host&&t.pathname,O=P,E=r.pathname&&r.pathname.split("/")||[],F=(h=t.pathname&&t.pathname.split("/")||[],r.protocol&&!as[r.protocol]);if(F&&(r.hostname="",r.port=null,r.host&&(E[0]===""?E[0]=r.host:E.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(h[0]===""?h[0]=t.host:h.unshift(t.host)),t.host=null),P=P&&(h[0]===""||E[0]==="")),y)r.host=t.host||t.host===""?t.host:r.host,r.hostname=t.hostname||t.hostname===""?t.hostname:r.hostname,r.search=t.search,r.query=t.query,E=h;else if(h.length)E||(E=[]),E.pop(),E=E.concat(h),r.search=t.search,r.query=t.query;else if(!lr.isNullOrUndefined(t.search))return F&&(r.hostname=r.host=E.shift(),(J=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=J.shift(),r.host=r.hostname=J.shift())),r.search=t.search,r.query=t.query,lr.isNull(r.pathname)&&lr.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!E.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var q=E.slice(-1)[0],ve=(r.host||t.host||E.length>1)&&(q==="."||q==="..")||q==="",oe=0,le=E.length;le>=0;le--)(q=E[le])==="."?E.splice(le,1):q===".."?(E.splice(le,1),oe++):oe&&(E.splice(le,1),oe--);if(!P&&!O)for(;oe--;oe)E.unshift("..");!P||E[0]===""||E[0]&&E[0].charAt(0)==="/"||E.unshift(""),ve&&E.join("/").substr(-1)!=="/"&&E.push("");var J,Z=E[0]===""||E[0]&&E[0].charAt(0)==="/";return F&&(r.hostname=r.host=Z?"":E.length?E.shift():"",(J=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=J.shift(),r.host=r.hostname=J.shift())),(P=P||r.host&&E.length)&&!Z&&E.unshift(""),E.length?r.pathname=E.join("/"):(r.pathname=null,r.path=null),lr.isNull(r.pathname)&&lr.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},Ft.prototype.parseHost=function(){var t=this.host,e=C3.exec(t);e&&((e=e[0])!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};De.Url;De.format;De.resolve;De.resolveObject;fB={},F0=!1;M0=y3(),w3=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0;De.URL=typeof URL<"u"?URL:null;De.pathToFileURL=R3;De.fileURLToPath=T3;De.Url;De.format;De.resolve;De.resolveObject;De.URL;b3=92,D3=47,x3=97,S3=122,CB=w3==="win32",k3=/\//g,P3=/%/g,A3=/\\/g,N3=/\n/g,E3=/\r/g,O3=/\t/g;F3=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0;De.URL=typeof URL<"u"?URL:null;De.pathToFileURL=q0;De.fileURLToPath=_0;M3=De.Url,_3=De.format,q3=De.resolve,V3=De.resolveObject,U3=De.parse,W3=De.URL,G3=92,H3=47,z3=97,j3=122,hB=F3==="win32",Q3=/\//g,J3=/%/g,K3=/\\/g,Y3=/\n/g,X3=/\r/g,Z3=/\t/g});var U0=N((TW,V0)=>{p();d();f();var t5="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",r5=(t,e=21)=>(r=e)=>{let n="",s=r;for(;s--;)n+=t[Math.random()*t.length|0];return n},n5=(t=21)=>{let e="",r=t;for(;r--;)e+=t5[Math.random()*64|0];return e};V0.exports={nanoid:n5,customAlphabet:r5}});var W0={};Ys(W0,{default:()=>s5});var s5,G0=Pt(()=>{p();d();f();s5={}});var yB=N((qW,j0)=>{"use strict";p();d();f();var{SourceMapConsumer:H0,SourceMapGenerator:z0}=$o(),{existsSync:i5,readFileSync:o5}=(G0(),zr(W0)),{dirname:vB,join:a5}=($s(),zr(Zs));function l5(t){return S?S.from(t,"base64").toString():window.atob(t)}var pi=class{constructor(e,r){if(r.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=r.map?r.map.prev:void 0,s=this.loadMap(r.from,n);!this.mapFile&&r.from&&(this.mapFile=r.from),this.mapFile&&(this.root=vB(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new H0(this.text)),this.consumerCache}decodeInline(e){let r=/^data:application\/json;charset=utf-?8;base64,/,n=/^data:application\/json;base64,/,s=/^data:application\/json;charset=utf-?8,/,o=/^data:application\/json,/;if(s.test(e)||o.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(r.test(e)||n.test(e))return l5(e.substr(RegExp.lastMatch.length));let i=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}loadAnnotation(e){let r=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!r)return;let n=e.lastIndexOf(r.pop()),s=e.indexOf("*/",n);n>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,s)))}loadFile(e){if(this.root=vB(e),i5(e))return this.mapFile=e,o5(e,"utf-8").toString().trim()}loadMap(e,r){if(r===!1)return!1;if(r){if(typeof r=="string")return r;if(typeof r=="function"){let n=r(e);if(n){let s=this.loadFile(n);if(!s)throw new Error("Unable to load previous source map: "+n.toString());return s}}else{if(r instanceof H0)return z0.fromSourceMap(r).toString();if(r instanceof z0)return r.toString();if(this.isMap(r))return JSON.stringify(r);throw new Error("Unsupported previous source map format: "+r.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let n=this.annotation;return e&&(n=a5(vB(e),n)),this.loadFile(n)}}}startWith(e,r){return e?e.substr(0,r.length)===r:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};j0.exports=pi;pi.default=pi});var fi=N((GW,Y0)=>{"use strict";p();d();f();var{SourceMapConsumer:u5,SourceMapGenerator:B5}=$o(),{fileURLToPath:Q0,pathToFileURL:ta}=(gB(),zr(mB)),{isAbsolute:DB,resolve:xB}=($s(),zr(Zs)),{nanoid:c5}=U0(),wB=nB(),J0=Yo(),p5=yB(),bB=Symbol("fromOffsetCache"),f5=!!(u5&&B5),K0=!!(xB&&DB),ls=class{constructor(e,r={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,r.from&&(!K0||/^\w+:\/\//.test(r.from)||DB(r.from)?this.file=r.from:this.file=xB(r.from)),K0&&f5){let n=new p5(this.css,r);if(n.text){this.map=n;let s=n.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s))}}this.file||(this.id="<input css "+c5(6)+">"),this.map&&(this.map.file=this.from)}error(e,r,n,s={}){let o,i,a;if(r&&typeof r=="object"){let u=r,c=n;if(typeof u.offset=="number"){let B=this.fromOffset(u.offset);r=B.line,n=B.col}else r=u.line,n=u.column;if(typeof c.offset=="number"){let B=this.fromOffset(c.offset);i=B.line,a=B.col}else i=c.line,a=c.column}else if(!n){let u=this.fromOffset(r);r=u.line,n=u.col}let l=this.origin(r,n,i,a);return l?o=new J0(e,l.endLine===void 0?l.line:{column:l.column,line:l.line},l.endLine===void 0?l.column:{column:l.endColumn,line:l.endLine},l.source,l.file,s.plugin):o=new J0(e,i===void 0?r:{column:n,line:r},i===void 0?n:{column:a,line:i},this.css,this.file,s.plugin),o.input={column:n,endColumn:a,endLine:i,line:r,source:this.css},this.file&&(ta&&(o.input.url=ta(this.file).toString()),o.input.file=this.file),o}fromOffset(e){let r,n;if(this[bB])n=this[bB];else{let o=this.css.split(`
|
|
20
|
+
`)&&(e=e.replace(Y3,"%0A")),e.includes("\r")&&(e=e.replace(X3,"%0D")),e.includes(" ")&&(e=e.replace(Z3,"%09")),n.pathname=e,n}var xe,f3,lr,d3,C3,h3,m3,dB,I0,L0,R0,g3,v3,cB,as,pB,fB,F0,M0,w3,b3,D3,x3,S3,CB,k3,P3,A3,N3,E3,O3,F3,M3,_3,q3,V3,U3,W3,G3,H3,z3,j3,hB,Q3,J3,K3,Y3,X3,Z3,gB=Pt(()=>{p();d();f();k0();P0();T0();Uo();Vo();xe={},f3=Yr,lr={isString:function(t){return typeof t=="string"},isObject:function(t){return typeof t=="object"&&t!==null},isNull:function(t){return t===null},isNullOrUndefined:function(t){return t==null}};xe.parse=ci,xe.resolve=function(t,e){return ci(t,!1,!0).resolve(e)},xe.resolveObject=function(t,e){return t?ci(t,!1,!0).resolveObject(e):e},xe.format=function(t){return lr.isString(t)&&(t=ci(t)),t instanceof Ft?t.format():Ft.prototype.format.call(t)},xe.Url=Ft;d3=/^([a-z0-9.+-]+:)/i,C3=/:[0-9]*$/,h3=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,m3=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r",`
|
|
21
|
+
`," "]),dB=["'"].concat(m3),I0=["%","/","?",";","#"].concat(dB),L0=["/","?","#"],R0=/^[+a-z0-9A-Z_-]{0,63}$/,g3=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,v3={javascript:!0,"javascript:":!0},cB={javascript:!0,"javascript:":!0},as={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},pB=ar;Ft.prototype.parse=function(t,e,r){if(!lr.isString(t))throw new TypeError("Parameter 'url' must be a string, not "+typeof t);var n=t.indexOf("?"),s=n!==-1&&n<t.indexOf("#")?"?":"#",o=t.split(s);o[0]=o[0].replace(/\\/g,"/");var i=t=o.join(s);if(i=i.trim(),!r&&t.split("#").length===1){var a=h3.exec(i);if(a)return this.path=i,this.href=i,this.pathname=a[1],a[2]?(this.search=a[2],this.query=e?pB.parse(this.search.substr(1)):this.search.substr(1)):e&&(this.search="",this.query={}),this}var l=d3.exec(i);if(l){var u=(l=l[0]).toLowerCase();this.protocol=u,i=i.substr(l.length)}if(r||l||i.match(/^\/\/[^@\/]+@[^@\/]+/)){var c=i.substr(0,2)==="//";!c||l&&cB[l]||(i=i.substr(2),this.slashes=!0)}if(!cB[l]&&(c||l&&!as[l])){for(var B,h,g=-1,v=0;v<L0.length;v++)(w=i.indexOf(L0[v]))!==-1&&(g===-1||w<g)&&(g=w);for((h=g===-1?i.lastIndexOf("@"):i.lastIndexOf("@",g))!==-1&&(B=i.slice(0,h),i=i.slice(h+1),this.auth=decodeURIComponent(B)),g=-1,v=0;v<I0.length;v++){var w;(w=i.indexOf(I0[v]))!==-1&&(g===-1||w<g)&&(g=w)}g===-1&&(g=i.length),this.host=i.slice(0,g),i=i.slice(g),this.parseHost(),this.hostname=this.hostname||"";var y=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!y)for(var P=this.hostname.split(/\./),O=(v=0,P.length);v<O;v++){var E=P[v];if(E&&!E.match(R0)){for(var F="",q=0,ye=E.length;q<ye;q++)E.charCodeAt(q)>127?F+="x":F+=E[q];if(!F.match(R0)){var ae=P.slice(0,v),ue=P.slice(v+1),J=E.match(g3);J&&(ae.push(J[1]),ue.unshift(J[2])),ue.length&&(i="/"+ue.join(".")+i),this.hostname=ae.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),y||(this.hostname=f3.toASCII(this.hostname));var Z=this.port?":"+this.port:"",Lt=this.hostname||"";this.host=Lt+Z,this.href+=this.host,y&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),i[0]!=="/"&&(i="/"+i))}if(!v3[u])for(v=0,O=dB.length;v<O;v++){var $e=dB[v];if(i.indexOf($e)!==-1){var kt=encodeURIComponent($e);kt===$e&&(kt=escape($e)),i=i.split($e).join(kt)}}var Rt=i.indexOf("#");Rt!==-1&&(this.hash=i.substr(Rt),i=i.slice(0,Rt));var Zn=i.indexOf("?");if(Zn!==-1?(this.search=i.substr(Zn),this.query=i.substr(Zn+1),e&&(this.query=pB.parse(this.query)),i=i.slice(0,Zn)):e&&(this.search="",this.query={}),i&&(this.pathname=i),as[u]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){Z=this.pathname||"";var Lu=this.search||"";this.path=Z+Lu}return this.href=this.format(),this},Ft.prototype.format=function(){var t=this.auth||"";t&&(t=(t=encodeURIComponent(t)).replace(/%3A/i,":"),t+="@");var e=this.protocol||"",r=this.pathname||"",n=this.hash||"",s=!1,o="";this.host?s=t+this.host:this.hostname&&(s=t+(this.hostname.indexOf(":")===-1?this.hostname:"["+this.hostname+"]"),this.port&&(s+=":"+this.port)),this.query&&lr.isObject(this.query)&&Object.keys(this.query).length&&(o=pB.stringify(this.query));var i=this.search||o&&"?"+o||"";return e&&e.substr(-1)!==":"&&(e+=":"),this.slashes||(!e||as[e])&&s!==!1?(s="//"+(s||""),r&&r.charAt(0)!=="/"&&(r="/"+r)):s||(s=""),n&&n.charAt(0)!=="#"&&(n="#"+n),i&&i.charAt(0)!=="?"&&(i="?"+i),e+s+(r=r.replace(/[?#]/g,function(a){return encodeURIComponent(a)}))+(i=i.replace("#","%23"))+n},Ft.prototype.resolve=function(t){return this.resolveObject(ci(t,!1,!0)).format()},Ft.prototype.resolveObject=function(t){if(lr.isString(t)){var e=new Ft;e.parse(t,!1,!0),t=e}for(var r=new Ft,n=Object.keys(this),s=0;s<n.length;s++){var o=n[s];r[o]=this[o]}if(r.hash=t.hash,t.href==="")return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var i=Object.keys(t),a=0;a<i.length;a++){var l=i[a];l!=="protocol"&&(r[l]=t[l])}return as[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}if(t.protocol&&t.protocol!==r.protocol){if(!as[t.protocol]){for(var u=Object.keys(t),c=0;c<u.length;c++){var B=u[c];r[B]=t[B]}return r.href=r.format(),r}if(r.protocol=t.protocol,t.host||cB[t.protocol])r.pathname=t.pathname;else{for(var h=(t.pathname||"").split("/");h.length&&!(t.host=h.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),h[0]!==""&&h.unshift(""),h.length<2&&h.unshift(""),r.pathname=h.join("/")}if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var g=r.pathname||"",v=r.search||"";r.path=g+v}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var w=r.pathname&&r.pathname.charAt(0)==="/",y=t.host||t.pathname&&t.pathname.charAt(0)==="/",P=y||w||r.host&&t.pathname,O=P,E=r.pathname&&r.pathname.split("/")||[],F=(h=t.pathname&&t.pathname.split("/")||[],r.protocol&&!as[r.protocol]);if(F&&(r.hostname="",r.port=null,r.host&&(E[0]===""?E[0]=r.host:E.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(h[0]===""?h[0]=t.host:h.unshift(t.host)),t.host=null),P=P&&(h[0]===""||E[0]==="")),y)r.host=t.host||t.host===""?t.host:r.host,r.hostname=t.hostname||t.hostname===""?t.hostname:r.hostname,r.search=t.search,r.query=t.query,E=h;else if(h.length)E||(E=[]),E.pop(),E=E.concat(h),r.search=t.search,r.query=t.query;else if(!lr.isNullOrUndefined(t.search))return F&&(r.hostname=r.host=E.shift(),(J=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=J.shift(),r.host=r.hostname=J.shift())),r.search=t.search,r.query=t.query,lr.isNull(r.pathname)&&lr.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!E.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var q=E.slice(-1)[0],ye=(r.host||t.host||E.length>1)&&(q==="."||q==="..")||q==="",ae=0,ue=E.length;ue>=0;ue--)(q=E[ue])==="."?E.splice(ue,1):q===".."?(E.splice(ue,1),ae++):ae&&(E.splice(ue,1),ae--);if(!P&&!O)for(;ae--;ae)E.unshift("..");!P||E[0]===""||E[0]&&E[0].charAt(0)==="/"||E.unshift(""),ye&&E.join("/").substr(-1)!=="/"&&E.push("");var J,Z=E[0]===""||E[0]&&E[0].charAt(0)==="/";return F&&(r.hostname=r.host=Z?"":E.length?E.shift():"",(J=!!(r.host&&r.host.indexOf("@")>0)&&r.host.split("@"))&&(r.auth=J.shift(),r.host=r.hostname=J.shift())),(P=P||r.host&&E.length)&&!Z&&E.unshift(""),E.length?r.pathname=E.join("/"):(r.pathname=null,r.path=null),lr.isNull(r.pathname)&&lr.isNull(r.search)||(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r},Ft.prototype.parseHost=function(){var t=this.host,e=C3.exec(t);e&&((e=e[0])!==":"&&(this.port=e.substr(1)),t=t.substr(0,t.length-e.length)),t&&(this.hostname=t)};xe.Url;xe.format;xe.resolve;xe.resolveObject;fB={},F0=!1;M0=y3(),w3=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0;xe.URL=typeof URL<"u"?URL:null;xe.pathToFileURL=R3;xe.fileURLToPath=T3;xe.Url;xe.format;xe.resolve;xe.resolveObject;xe.URL;b3=92,D3=47,x3=97,S3=122,CB=w3==="win32",k3=/\//g,P3=/%/g,A3=/\\/g,N3=/\n/g,E3=/\r/g,O3=/\t/g;F3=typeof Deno<"u"?Deno.build.os==="windows"?"win32":Deno.build.os:void 0;xe.URL=typeof URL<"u"?URL:null;xe.pathToFileURL=q0;xe.fileURLToPath=_0;M3=xe.Url,_3=xe.format,q3=xe.resolve,V3=xe.resolveObject,U3=xe.parse,W3=xe.URL,G3=92,H3=47,z3=97,j3=122,hB=F3==="win32",Q3=/\//g,J3=/%/g,K3=/\\/g,Y3=/\n/g,X3=/\r/g,Z3=/\t/g});var U0=N((TW,V0)=>{p();d();f();var t5="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",r5=(t,e=21)=>(r=e)=>{let n="",s=r|0;for(;s--;)n+=t[Math.random()*t.length|0];return n},n5=(t=21)=>{let e="",r=t|0;for(;r--;)e+=t5[Math.random()*64|0];return e};V0.exports={nanoid:n5,customAlphabet:r5}});var W0={};Ys(W0,{default:()=>s5});var s5,G0=Pt(()=>{p();d();f();s5={}});var yB=N((qW,j0)=>{"use strict";p();d();f();var{SourceMapConsumer:H0,SourceMapGenerator:z0}=$o(),{existsSync:i5,readFileSync:o5}=(G0(),zr(W0)),{dirname:vB,join:a5}=($s(),zr(Zs));function l5(t){return S?S.from(t,"base64").toString():window.atob(t)}var pi=class{constructor(e,r){if(r.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=r.map?r.map.prev:void 0,s=this.loadMap(r.from,n);!this.mapFile&&r.from&&(this.mapFile=r.from),this.mapFile&&(this.root=vB(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new H0(this.text)),this.consumerCache}decodeInline(e){let r=/^data:application\/json;charset=utf-?8;base64,/,n=/^data:application\/json;base64,/,s=/^data:application\/json;charset=utf-?8,/,o=/^data:application\/json,/;if(s.test(e)||o.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(r.test(e)||n.test(e))return l5(e.substr(RegExp.lastMatch.length));let i=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+i)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}loadAnnotation(e){let r=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!r)return;let n=e.lastIndexOf(r.pop()),s=e.indexOf("*/",n);n>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,s)))}loadFile(e){if(this.root=vB(e),i5(e))return this.mapFile=e,o5(e,"utf-8").toString().trim()}loadMap(e,r){if(r===!1)return!1;if(r){if(typeof r=="string")return r;if(typeof r=="function"){let n=r(e);if(n){let s=this.loadFile(n);if(!s)throw new Error("Unable to load previous source map: "+n.toString());return s}}else{if(r instanceof H0)return z0.fromSourceMap(r).toString();if(r instanceof z0)return r.toString();if(this.isMap(r))return JSON.stringify(r);throw new Error("Unsupported previous source map format: "+r.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let n=this.annotation;return e&&(n=a5(vB(e),n)),this.loadFile(n)}}}startWith(e,r){return e?e.substr(0,r.length)===r:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};j0.exports=pi;pi.default=pi});var fi=N((GW,Y0)=>{"use strict";p();d();f();var{SourceMapConsumer:u5,SourceMapGenerator:B5}=$o(),{fileURLToPath:Q0,pathToFileURL:ta}=(gB(),zr(mB)),{isAbsolute:DB,resolve:xB}=($s(),zr(Zs)),{nanoid:c5}=U0(),wB=nB(),J0=Yo(),p5=yB(),bB=Symbol("fromOffsetCache"),f5=!!(u5&&B5),K0=!!(xB&&DB),ls=class{constructor(e,r={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,r.from&&(!K0||/^\w+:\/\//.test(r.from)||DB(r.from)?this.file=r.from:this.file=xB(r.from)),K0&&f5){let n=new p5(this.css,r);if(n.text){this.map=n;let s=n.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s))}}this.file||(this.id="<input css "+c5(6)+">"),this.map&&(this.map.file=this.from)}error(e,r,n,s={}){let o,i,a;if(r&&typeof r=="object"){let u=r,c=n;if(typeof u.offset=="number"){let B=this.fromOffset(u.offset);r=B.line,n=B.col}else r=u.line,n=u.column;if(typeof c.offset=="number"){let B=this.fromOffset(c.offset);i=B.line,a=B.col}else i=c.line,a=c.column}else if(!n){let u=this.fromOffset(r);r=u.line,n=u.col}let l=this.origin(r,n,i,a);return l?o=new J0(e,l.endLine===void 0?l.line:{column:l.column,line:l.line},l.endLine===void 0?l.column:{column:l.endColumn,line:l.endLine},l.source,l.file,s.plugin):o=new J0(e,i===void 0?r:{column:n,line:r},i===void 0?n:{column:a,line:i},this.css,this.file,s.plugin),o.input={column:n,endColumn:a,endLine:i,line:r,source:this.css},this.file&&(ta&&(o.input.url=ta(this.file).toString()),o.input.file=this.file),o}fromOffset(e){let r,n;if(this[bB])n=this[bB];else{let o=this.css.split(`
|
|
22
22
|
`);n=new Array(o.length);let i=0;for(let a=0,l=o.length;a<l;a++)n[a]=i,i+=o[a].length+1;this[bB]=n}r=n[n.length-1];let s=0;if(e>=r)s=n.length-1;else{let o=n.length-2,i;for(;s<o;)if(i=s+(o-s>>1),e<n[i])o=i-1;else if(e>=n[i+1])s=i+1;else{s=i;break}}return{col:e-n[s]+1,line:s+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:xB(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,r,n,s){if(!this.map)return!1;let o=this.map.consumer(),i=o.originalPositionFor({column:r,line:e});if(!i.source)return!1;let a;typeof n=="number"&&(a=o.originalPositionFor({column:s,line:n}));let l;DB(i.source)?l=ta(i.source):l=new URL(i.source,this.map.consumer().sourceRoot||ta(this.map.mapFile));let u={column:i.column,endColumn:a&&a.column,endLine:a&&a.line,line:i.line,url:l.toString()};if(l.protocol==="file:")if(Q0)u.file=Q0(l);else throw new Error("file: protocol is not available in this PostCSS build");let c=o.sourceContentFor(i.source);return c&&(u.source=c),u}toJSON(){let e={};for(let r of["hasBOM","css","file","id"])this[r]!=null&&(e[r]=this[r]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}};Y0.exports=ls;ls.default=ls;wB&&wB.registerInput&&wB.registerInput(ls)});var kB=N((QW,rm)=>{"use strict";p();d();f();var{SourceMapConsumer:Z0,SourceMapGenerator:ra}=$o(),{dirname:na,relative:$0,resolve:em,sep:tm}=($s(),zr(Zs)),{pathToFileURL:X0}=(gB(),zr(mB)),d5=fi(),C5=!!(Z0&&ra),h5=!!(na&&em&&$0&&tm),SB=class{constructor(e,r,n,s){this.stringify=e,this.mapOpts=n.map||{},this.root=r,this.opts=n,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 r=`
|
|
23
23
|
`;this.css.includes(`\r
|
|
24
24
|
`)&&(r=`\r
|
|
25
25
|
`),this.css+=r+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let r=this.toUrl(this.path(e.file)),n=e.root||na(e.file),s;this.mapOpts.sourcesContent===!1?(s=new Z0(e.text),s.sourcesContent&&(s.sourcesContent=null)):s=e.consumer(),this.map.applySourceMap(s,r,this.toUrl(this.path(n)))}}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let e;for(let r=this.root.nodes.length-1;r>=0;r--)e=this.root.nodes[r],e.type==="comment"&&e.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(r)}else this.css&&(this.css=this.css.replace(/\n*?\/\*#[\S\s]*?\*\/$/gm,""))}generate(){if(this.clearAnnotation(),h5&&C5&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,r=>{e+=r}),[e]}}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=ra.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new ra({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 ra({file:this.outputFile(),ignoreInvalidMapping:!0});let e=1,r=1,n="<no source>",s={generated:{column:0,line:0},original:{column:0,line:0},source:""},o,i;this.stringify(this.root,(a,l,u)=>{if(this.css+=a,l&&u!=="end"&&(s.generated.line=e,s.generated.column=r-1,l.source&&l.source.start?(s.source=this.sourcePath(l),s.original.line=l.source.start.line,s.original.column=l.source.start.column-1,this.map.addMapping(s)):(s.source=n,s.original.line=1,s.original.column=0,this.map.addMapping(s))),o=a.match(/\n/g),o?(e+=o.length,i=a.lastIndexOf(`
|
|
26
|
-
`),r=a.length-i):r+=a.length,l&&u!=="start"){let c=l.parent||{raws:{}};(!(l.type==="decl"||l.type==="atrule"&&!l.nodes)||l!==c.last||c.raws.semicolon)&&(l.source&&l.source.end?(s.source=this.sourcePath(l),s.original.line=l.source.end.line,s.original.column=l.source.end.column-1,s.generated.line=e,s.generated.column=r-2,this.map.addMapping(s)):(s.source=n,s.original.line=1,s.original.column=0,s.generated.line=e,s.generated.column=r-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(r=>r.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let r=this.memoizedPaths.get(e);if(r)return r;let n=this.opts.to?na(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(n=na(em(n,this.mapOpts.annotation)));let s=$0(n,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 r=e.source.input.map;this.previousMaps.includes(r)||this.previousMaps.push(r)}});else{let e=new d5(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(r=>{if(r.source){let n=r.source.input.from;if(n&&!e[n]){e[n]=!0;let s=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(s,r.source.input.css)}}});else if(this.css){let r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return S?S.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let r=this.memoizedFileURLs.get(e);if(r)return r;if(X0){let n=X0(e).toString();return this.memoizedFileURLs.set(e,n),n}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let r=this.memoizedURLs.get(e);if(r)return r;tm==="\\"&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}};rm.exports=SB});var Ci=N((XW,nm)=>{"use strict";p();d();f();var m5=ai(),di=class extends m5{constructor(e){super(e),this.type="comment"}};nm.exports=di;di.default=di});var Xr=N((tG,pm)=>{"use strict";p();d();f();var{isClean:sm,my:im}=Xo(),om=ui(),am=Ci(),g5=ai(),lm,PB,AB,um;function Bm(t){return t.map(e=>(e.nodes&&(e.nodes=Bm(e.nodes)),delete e.source,e))}function cm(t){if(t[sm]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)cm(e)}var Kt=class t extends g5{append(...e){for(let r of e){let n=this.normalize(r,this.last);for(let s of n)this.proxyOf.nodes.push(s)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let r of this.nodes)r.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let r=this.getIterator(),n,s;for(;this.indexes[r]<this.proxyOf.nodes.length&&(n=this.indexes[r],s=e(this.proxyOf.nodes[n],n),s!==!1);)this.indexes[r]+=1;return delete this.indexes[r],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,r){return r==="proxyOf"?e:e[r]?r==="each"||typeof r=="string"&&r.startsWith("walk")?(...n)=>e[r](...n.map(s=>typeof s=="function"?(o,i)=>s(o.toProxy(),i):s)):r==="every"||r==="some"?n=>e[r]((s,...o)=>n(s.toProxy(),...o)):r==="root"?()=>e.root().toProxy():r==="nodes"?e.nodes.map(n=>n.toProxy()):r==="first"||r==="last"?e[r].toProxy():e[r]:e[r]},set(e,r,n){return e[r]===n||(e[r]=n,(r==="name"||r==="params"||r==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,r){let n=this.index(e),s=this.normalize(r,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let i of s)this.proxyOf.nodes.splice(n+1,0,i);let o;for(let i in this.indexes)o=this.indexes[i],n<o&&(this.indexes[i]=o+s.length);return this.markDirty(),this}insertBefore(e,r){let n=this.index(e),s=n===0?"prepend":!1,o=this.normalize(r,this.proxyOf.nodes[n],s).reverse();n=this.index(e);for(let a of o)this.proxyOf.nodes.splice(n,0,a);let i;for(let a in this.indexes)i=this.indexes[a],n<=i&&(this.indexes[a]=i+o.length);return this.markDirty(),this}normalize(e,r){if(typeof e=="string")e=Bm(lm(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 om(e)]}else if(e.selector)e=[new PB(e)];else if(e.name)e=[new AB(e)];else if(e.text)e=[new am(e)];else throw new Error("Unknown node type in node creation");return e.map(s=>(s[im]||t.rebuild(s),s=s.proxyOf,s.parent&&s.parent.removeChild(s),s[sm]&&cm(s),typeof s.raws.before>"u"&&r&&typeof r.raws.before<"u"&&(s.raws.before=r.raws.before.replace(/\S/g,"")),s.parent=this.proxyOf,s))}prepend(...e){e=e.reverse();for(let r of e){let n=this.normalize(r,this.first,"prepend").reverse();for(let s of n)this.proxyOf.nodes.unshift(s);for(let s in this.indexes)this.indexes[s]=this.indexes[s]+n.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let r;for(let n in this.indexes)r=this.indexes[n],r>=e&&(this.indexes[n]=r-1);return this.markDirty(),this}replaceValues(e,r,n){return n||(n=r,r={}),this.walkDecls(s=>{r.props&&!r.props.includes(s.prop)||r.fast&&!s.value.includes(r.fast)||(s.value=s.value.replace(e,n))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((r,n)=>{let s;try{s=e(r,n)}catch(o){throw r.addToError(o)}return s!==!1&&r.walk&&(s=r.walk(e)),s})}walkAtRules(e,r){return r?e instanceof RegExp?this.walk((n,s)=>{if(n.type==="atrule"&&e.test(n.name))return r(n,s)}):this.walk((n,s)=>{if(n.type==="atrule"&&n.name===e)return r(n,s)}):(r=e,this.walk((n,s)=>{if(n.type==="atrule")return r(n,s)}))}walkComments(e){return this.walk((r,n)=>{if(r.type==="comment")return e(r,n)})}walkDecls(e,r){return r?e instanceof RegExp?this.walk((n,s)=>{if(n.type==="decl"&&e.test(n.prop))return r(n,s)}):this.walk((n,s)=>{if(n.type==="decl"&&n.prop===e)return r(n,s)}):(r=e,this.walk((n,s)=>{if(n.type==="decl")return r(n,s)}))}walkRules(e,r){return r?e instanceof RegExp?this.walk((n,s)=>{if(n.type==="rule"&&e.test(n.selector))return r(n,s)}):this.walk((n,s)=>{if(n.type==="rule"&&n.selector===e)return r(n,s)}):(r=e,this.walk((n,s)=>{if(n.type==="rule")return r(n,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]}};Kt.registerParse=t=>{lm=t};Kt.registerRule=t=>{PB=t};Kt.registerAtRule=t=>{AB=t};Kt.registerRoot=t=>{um=t};pm.exports=Kt;Kt.default=Kt;Kt.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,AB.prototype):t.type==="rule"?Object.setPrototypeOf(t,PB.prototype):t.type==="decl"?Object.setPrototypeOf(t,om.prototype):t.type==="comment"?Object.setPrototypeOf(t,am.prototype):t.type==="root"&&Object.setPrototypeOf(t,um.prototype),t[im]=!0,t.nodes&&t.nodes.forEach(e=>{Kt.rebuild(e)})}});var sa=N((iG,Cm)=>{"use strict";p();d();f();var v5=Xr(),fm,dm,An=class extends v5{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new fm(new dm,this,e).stringify()}};An.registerLazyResult=t=>{fm=t};An.registerProcessor=t=>{dm=t};Cm.exports=An;An.default=An});var NB=N((uG,mm)=>{"use strict";p();d();f();var hm={};mm.exports=function(e){hm[e]||(hm[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var EB=N((fG,gm)=>{"use strict";p();d();f();var hi=class{constructor(e,r={}){if(this.type="warning",this.text=e,r.node&&r.node.source){let n=r.node.rangeBy(r);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(let n in r)this[n]=r[n]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};gm.exports=hi;hi.default=hi});var ia=N((mG,vm)=>{"use strict";p();d();f();var y5=EB(),mi=class{constructor(e,r,n){this.processor=e,this.messages=[],this.root=r,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,r={}){r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);let n=new y5(e,r);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};vm.exports=mi;mi.default=mi});var bm=N((wG,wm)=>{"use strict";p();d();f();var oa=/[\t\n\f\r "#'()/;[\\\]{}]/g,aa=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,w5=/.[\r\n"'(/\\]/,ym=/[\da-f]/i;wm.exports=function(e,r={}){let n=e.css.valueOf(),s=r.ignoreErrors,o,i,a,l,u,c,B,h,g,v,w=n.length,y=0,P=[],O=[];function E(){return y}function F(le){throw e.error("Unclosed "+le,y)}function q(){return O.length===0&&y>=w}function ve(le){if(O.length)return O.pop();if(y>=w)return;let J=le?le.ignoreUnclosed:!1;switch(o=n.charCodeAt(y),o){case 10:case 32:case 9:case 13:case 12:{i=y;do i+=1,o=n.charCodeAt(i);while(o===32||o===10||o===9||o===13||o===12);v=["space",n.slice(y,i)],y=i-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let Z=String.fromCharCode(o);v=[Z,Z,y];break}case 40:{if(h=P.length?P.pop()[1]:"",g=n.charCodeAt(y+1),h==="url"&&g!==39&&g!==34&&g!==32&&g!==10&&g!==9&&g!==12&&g!==13){i=y;do{if(c=!1,i=n.indexOf(")",i+1),i===-1)if(s||J){i=y;break}else F("bracket");for(B=i;n.charCodeAt(B-1)===92;)B-=1,c=!c}while(c);v=["brackets",n.slice(y,i+1),y,i],y=i}else i=n.indexOf(")",y+1),l=n.slice(y,i+1),i===-1||w5.test(l)?v=["(","(",y]:(v=["brackets",l,y,i],y=i);break}case 39:case 34:{a=o===39?"'":'"',i=y;do{if(c=!1,i=n.indexOf(a,i+1),i===-1)if(s||J){i=y+1;break}else F("string");for(B=i;n.charCodeAt(B-1)===92;)B-=1,c=!c}while(c);v=["string",n.slice(y,i+1),y,i],y=i;break}case 64:{oa.lastIndex=y+1,oa.test(n),oa.lastIndex===0?i=n.length-1:i=oa.lastIndex-2,v=["at-word",n.slice(y,i+1),y,i],y=i;break}case 92:{for(i=y,u=!0;n.charCodeAt(i+1)===92;)i+=1,u=!u;if(o=n.charCodeAt(i+1),u&&o!==47&&o!==32&&o!==10&&o!==9&&o!==13&&o!==12&&(i+=1,ym.test(n.charAt(i)))){for(;ym.test(n.charAt(i+1));)i+=1;n.charCodeAt(i+1)===32&&(i+=1)}v=["word",n.slice(y,i+1),y,i],y=i;break}default:{o===47&&n.charCodeAt(y+1)===42?(i=n.indexOf("*/",y+2)+1,i===0&&(s||J?i=n.length:F("comment")),v=["comment",n.slice(y,i+1),y,i],y=i):(aa.lastIndex=y+1,aa.test(n),aa.lastIndex===0?i=n.length-1:i=aa.lastIndex-2,v=["word",n.slice(y,i+1),y,i],P.push(v),y=i);break}}return y++,v}function oe(le){O.push(le)}return{back:oe,endOfFile:q,nextToken:ve,position:E}}});var la=N((SG,xm)=>{"use strict";p();d();f();var Dm=Xr(),us=class extends Dm{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)}};xm.exports=us;us.default=us;Dm.registerAtRule(us)});var Bs=N((NG,Am)=>{"use strict";p();d();f();var Sm=Xr(),km,Pm,Zr=class extends Sm{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,r,n){let s=super.normalize(e);if(r){if(n==="prepend")this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(let o of s)o.raws.before=r.raws.before}return s}removeChild(e,r){let n=this.index(e);return!r&&n===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(e={}){return new km(new Pm,this,e).stringify()}};Zr.registerLazyResult=t=>{km=t};Zr.registerProcessor=t=>{Pm=t};Am.exports=Zr;Zr.default=Zr;Sm.registerRoot(Zr)});var OB=N((IG,Nm)=>{"use strict";p();d();f();var gi={comma(t){return gi.split(t,[","],!0)},space(t){let e=[" ",`
|
|
27
|
-
`," "];return gi.split(t,e)},split(t,e,r){let n=[],s="",o=!1,i=0,a=!1,l="",u=!1;for(let c of t)u?u=!1:c==="\\"?u=!0:a?c===l&&(a=!1):c==='"'||c==="'"?(a=!0,l=c):c==="("?i+=1:c===")"?i>0&&(i-=1):i===0&&e.includes(c)&&(o=!0),o?(s!==""&&n.push(s.trim()),s="",o=!1):s+=c;return(r||s!=="")&&n.push(s.trim()),n}};Nm.exports=gi;gi.default=gi});var ua=N((MG,Om)=>{"use strict";p();d();f();var Em=Xr(),b5=OB(),cs=class extends Em{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return b5.comma(this.selector)}set selectors(e){let r=this.selector?this.selector.match(/,\s*/):null,n=r?r[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}};Om.exports=cs;cs.default=cs;Em.registerRule(cs)});var Rm=N((UG,Lm)=>{"use strict";p();d();f();var D5=ui(),x5=bm(),S5=Ci(),k5=la(),P5=Bs(),Tm=ua(),Im={empty:!0,space:!0};function A5(t){for(let e=t.length-1;e>=0;e--){let r=t[e],n=r[3]||r[2];if(n)return n}}var TB=class{constructor(e){this.input=e,this.root=new P5,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let r=new k5;r.name=e[1].slice(1),r.name===""&&this.unnamedAtrule(r,e),this.init(r,e[2]);let n,s,o,i=!1,a=!1,l=[],u=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),n=e[0],n==="("||n==="["?u.push(n==="("?")":"]"):n==="{"&&u.length>0?u.push("}"):n===u[u.length-1]&&u.pop(),u.length===0)if(n===";"){r.source.end=this.getPosition(e[2]),r.source.end.offset++,this.semicolon=!0;break}else if(n==="{"){a=!0;break}else if(n==="}"){if(l.length>0){for(o=l.length-1,s=l[o];s&&s[0]==="space";)s=l[--o];s&&(r.source.end=this.getPosition(s[3]||s[2]),r.source.end.offset++)}this.end(e);break}else l.push(e);else l.push(e);if(this.tokenizer.endOfFile()){i=!0;break}}r.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(r.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(r,"params",l),i&&(e=l[l.length-1],r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++,this.spaces=r.raws.between,r.raws.between="")):(r.raws.afterName="",r.params=""),a&&(r.nodes=[],this.current=r)}checkMissedSemicolon(e){let r=this.colon(e);if(r===!1)return;let n=0,s;for(let o=r-1;o>=0&&(s=e[o],!(s[0]!=="space"&&(n+=1,n===2)));o--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}colon(e){let r=0,n,s,o;for(let[i,a]of e.entries()){if(n=a,s=n[0],s==="("&&(r+=1),s===")"&&(r-=1),r===0&&s===":")if(!o)this.doubleColon(n);else{if(o[0]==="word"&&o[1]==="progid")continue;return i}o=n}return!1}comment(e){let r=new S5;this.init(r,e[2]),r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n))r.text="",r.raws.left=n,r.raws.right="";else{let s=n.match(/^(\s*)([^]*\S)(\s*)$/);r.text=s[2],r.raws.left=s[1],r.raws.right=s[3]}}createTokenizer(){this.tokenizer=x5(this.input)}decl(e,r){let n=new D5;this.init(n,e[0][2]);let s=e[e.length-1];for(s[0]===";"&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(s[3]||s[2]||A5(e)),n.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let u=e[0][0];if(u===":"||u==="space"||u==="comment")break;n.prop+=e.shift()[1]}n.raws.between="";let o;for(;e.length;)if(o=e.shift(),o[0]===":"){n.raws.between+=o[1];break}else o[0]==="word"&&/\w/.test(o[1])&&this.unknownWord([o]),n.raws.between+=o[1];(n.prop[0]==="_"||n.prop[0]==="*")&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let i=[],a;for(;e.length&&(a=e[0][0],!(a!=="space"&&a!=="comment"));)i.push(e.shift());this.precheckMissedSemicolon(e);for(let u=e.length-1;u>=0;u--){if(o=e[u],o[1].toLowerCase()==="!important"){n.important=!0;let c=this.stringFrom(e,u);c=this.spacesFromEnd(e)+c,c!==" !important"&&(n.raws.important=c);break}else if(o[1].toLowerCase()==="important"){let c=e.slice(0),B="";for(let h=u;h>0;h--){let g=c[h][0];if(B.trim().indexOf("!")===0&&g!=="space")break;B=c.pop()[1]+B}B.trim().indexOf("!")===0&&(n.important=!0,n.raws.important=B,e=c)}if(o[0]!=="space"&&o[0]!=="comment")break}e.some(u=>u[0]!=="space"&&u[0]!=="comment")&&(n.raws.between+=i.map(u=>u[1]).join(""),i=[]),this.raw(n,"value",i.concat(e),r),n.value.includes(":")&&!r&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let r=new Tm;this.init(r,e[2]),r.selector="",r.raws.between="",this.current=r}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let r=this.current.nodes[this.current.nodes.length-1];r&&r.type==="rule"&&!r.raws.ownSemicolon&&(r.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let r=this.input.fromOffset(e);return{column:r.col,line:r.line,offset:e}}init(e,r){this.current.push(e),e.source={input:this.input,start:this.getPosition(r)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let r=!1,n=null,s=!1,o=null,i=[],a=e[1].startsWith("--"),l=[],u=e;for(;u;){if(n=u[0],l.push(u),n==="("||n==="[")o||(o=u),i.push(n==="("?")":"]");else if(a&&s&&n==="{")o||(o=u),i.push("}");else if(i.length===0)if(n===";")if(s){this.decl(l,a);return}else break;else if(n==="{"){this.rule(l);return}else if(n==="}"){this.tokenizer.back(l.pop()),r=!0;break}else n===":"&&(s=!0);else n===i[i.length-1]&&(i.pop(),i.length===0&&(o=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(r=!0),i.length>0&&this.unclosedBracket(o),r&&s){if(!a)for(;l.length&&(u=l[l.length-1][0],!(u!=="space"&&u!=="comment"));)this.tokenizer.back(l.pop());this.decl(l,a)}else this.unknownWord(l)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,r,n,s){let o,i,a=n.length,l="",u=!0,c,B;for(let h=0;h<a;h+=1)o=n[h],i=o[0],i==="space"&&h===a-1&&!s?u=!1:i==="comment"?(B=n[h-1]?n[h-1][0]:"empty",c=n[h+1]?n[h+1][0]:"empty",!Im[B]&&!Im[c]?l.slice(-1)===","?u=!1:l+=o[1]:u=!1):l+=o[1];if(!u){let h=n.reduce((g,v)=>g+v[1],"");e.raws[r]={raw:h,value:l}}e[r]=l}rule(e){e.pop();let r=new Tm;this.init(r,e[0][2]),r.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(r,"selector",e),this.current=r}spacesAndCommentsFromEnd(e){let r,n="";for(;e.length&&(r=e[e.length-1][0],!(r!=="space"&&r!=="comment"));)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let r,n="";for(;e.length&&(r=e[0][0],!(r!=="space"&&r!=="comment"));)n+=e.shift()[1];return n}spacesFromEnd(e){let r,n="";for(;e.length&&(r=e[e.length-1][0],r==="space");)n=e.pop()[1]+n;return n}stringFrom(e,r){let n="";for(let s=r;s<e.length;s++)n+=e[s][1];return e.splice(r,e.length-r),n}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,r){throw this.input.error("At-rule without name",{offset:r[2]},{offset:r[2]+r[1].length})}};Lm.exports=TB});var ca=N((zG,Fm)=>{"use strict";p();d();f();var N5=Xr(),E5=Rm(),O5=fi();function Ba(t,e){let r=new O5(t,e),n=new E5(r);try{n.parse()}catch(s){throw s}return n.root}Fm.exports=Ba;Ba.default=Ba;N5.registerParse(Ba)});var RB=N((YG,Vm)=>{"use strict";p();d();f();var{isClean:ur,my:T5}=Xo(),I5=kB(),L5=ii(),R5=Xr(),F5=sa(),KG=NB(),Mm=ia(),M5=ca(),_5=Bs(),q5={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},V5={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},U5={Once:!0,postcssPlugin:!0,prepare:!0},ps=0;function vi(t){return typeof t=="object"&&typeof t.then=="function"}function qm(t){let e=!1,r=q5[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[r,r+"-"+e,ps,r+"Exit",r+"Exit-"+e]:e?[r,r+"-"+e,r+"Exit",r+"Exit-"+e]:t.append?[r,ps,r+"Exit"]:[r,r+"Exit"]}function _m(t){let e;return t.type==="document"?e=["Document",ps,"DocumentExit"]:t.type==="root"?e=["Root",ps,"RootExit"]:e=qm(t),{eventIndex:0,events:e,iterator:0,node:t,visitorIndex:0,visitors:[]}}function IB(t){return t[ur]=!1,t.nodes&&t.nodes.forEach(e=>IB(e)),t}var LB={},$r=class t{constructor(e,r,n){this.stringified=!1,this.processed=!1;let s;if(typeof r=="object"&&r!==null&&(r.type==="root"||r.type==="document"))s=IB(r);else if(r instanceof t||r instanceof Mm)s=IB(r.root),r.map&&(typeof n.map>"u"&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{let o=M5;n.syntax&&(o=n.syntax.parse),n.parser&&(o=n.parser),o.parse&&(o=o.parse);try{s=o(r,n)}catch(i){this.processed=!0,this.error=i}s&&!s[T5]&&R5.rebuild(s)}this.result=new Mm(e,s,n),this.helpers={...LB,postcss:LB,result:this.result},this.plugins=this.processor.plugins.map(o=>typeof o=="object"&&o.prepare?{...o,...o.prepare(this.result)}:o)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,r){let n=this.result.lastPlugin;try{r&&r.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=n.postcssPlugin,e.setMessage()):n.postcssVersion}catch(s){console&&console.error&&console.error(s)}return e}prepareVisitors(){this.listeners={};let e=(r,n,s)=>{this.listeners[n]||(this.listeners[n]=[]),this.listeners[n].push([r,s])};for(let r of this.plugins)if(typeof r=="object")for(let n in r){if(!V5[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${r.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!U5[n])if(typeof r[n]=="object")for(let s in r[n])s==="*"?e(r,n,r[n][s]):e(r,n+"-"+s.toLowerCase(),r[n][s]);else typeof r[n]=="function"&&e(r,n,r[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let r=this.plugins[e],n=this.runOnRoot(r);if(vi(n))try{await n}catch(s){throw this.handleError(s)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[ur];){e[ur]=!0;let r=[_m(e)];for(;r.length>0;){let n=this.visitTick(r);if(vi(n))try{await n}catch(s){let o=r[r.length-1].node;throw this.handleError(s,o)}}}if(this.listeners.OnceExit)for(let[r,n]of this.listeners.OnceExit){this.result.lastPlugin=r;try{if(e.type==="document"){let s=e.nodes.map(o=>n(o,this.helpers));await Promise.all(s)}else await n(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 r=this.result.root.nodes.map(n=>e.Once(n,this.helpers));return vi(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(r){throw this.handleError(r)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,r=L5;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);let s=new I5(r,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 r=this.runOnRoot(e);if(vi(r))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[ur];)e[ur]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let r of e.nodes)this.visitSync(this.listeners.OnceExit,r);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,r){return this.async().then(e,r)}toString(){return this.css}visitSync(e,r){for(let[n,s]of e){this.result.lastPlugin=n;let o;try{o=s(r,this.helpers)}catch(i){throw this.handleError(i,r.proxyOf)}if(r.type!=="root"&&r.type!=="document"&&!r.parent)return!0;if(vi(o))throw this.getAsyncError()}}visitTick(e){let r=e[e.length-1],{node:n,visitors:s}=r;if(n.type!=="root"&&n.type!=="document"&&!n.parent){e.pop();return}if(s.length>0&&r.visitorIndex<s.length){let[i,a]=s[r.visitorIndex];r.visitorIndex+=1,r.visitorIndex===s.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=i;try{return a(n.toProxy(),this.helpers)}catch(l){throw this.handleError(l,n)}}if(r.iterator!==0){let i=r.iterator,a;for(;a=n.nodes[n.indexes[i]];)if(n.indexes[i]+=1,!a[ur]){a[ur]=!0,e.push(_m(a));return}r.iterator=0,delete n.indexes[i]}let o=r.events;for(;r.eventIndex<o.length;){let i=o[r.eventIndex];if(r.eventIndex+=1,i===ps){n.nodes&&n.nodes.length&&(n[ur]=!0,r.iterator=n.getIterator());return}else if(this.listeners[i]){r.visitors=this.listeners[i];return}}e.pop()}walkSync(e){e[ur]=!0;let r=qm(e);for(let n of r)if(n===ps)e.nodes&&e.each(s=>{s[ur]||this.walkSync(s)});else{let s=this.listeners[n];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"}};$r.registerPostcss=t=>{LB=t};Vm.exports=$r;$r.default=$r;_5.registerLazyResult($r);F5.registerLazyResult($r)});var Wm=N((tH,Um)=>{"use strict";p();d();f();var W5=kB(),G5=ii(),eH=NB(),H5=ca(),z5=ia(),yi=class{constructor(e,r,n){r=r.toString(),this.stringified=!1,this._processor=e,this._css=r,this._opts=n,this._map=void 0;let s,o=G5;this.result=new z5(this._processor,s,this._opts),this.result.css=r;let i=this;Object.defineProperty(this.result,"root",{get(){return i.root}});let a=new W5(o,s,this._opts,r);if(a.isMap()){let[l,u]=a.generate();l&&(this.result.css=l),u&&(this.result.map=u)}else a.clearAnnotation(),this.result.css=a.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,r){return this.async().then(e,r)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,r=H5;try{e=r(this._css,this._opts)}catch(n){this.error=n}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}};Um.exports=yi;yi.default=yi});var Hm=N((iH,Gm)=>{"use strict";p();d();f();var j5=Wm(),Q5=RB(),J5=sa(),K5=Bs(),Nn=class{constructor(e=[]){this.version="8.4.39",this.plugins=this.normalize(e)}normalize(e){let r=[];for(let n of e)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n=="object"&&Array.isArray(n.plugins))r=r.concat(n.plugins);else if(typeof n=="object"&&n.postcssPlugin)r.push(n);else if(typeof n=="function")r.push(n);else if(!(typeof n=="object"&&(n.parse||n.stringify)))throw new Error(n+" is not a PostCSS plugin");return r}process(e,r={}){return!this.plugins.length&&!r.parser&&!r.stringifier&&!r.syntax?new j5(this,e,r):new Q5(this,e,r)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};Gm.exports=Nn;Nn.default=Nn;K5.registerProcessor(Nn);J5.registerProcessor(Nn)});var jm=N((uH,zm)=>{"use strict";p();d();f();var Y5=ui(),X5=yB(),Z5=Ci(),$5=la(),e6=fi(),t6=Bs(),r6=ua();function wi(t,e){if(Array.isArray(t))return t.map(s=>wi(s));let{inputs:r,...n}=t;if(r){e=[];for(let s of r){let o={...s,__proto__:e6.prototype};o.map&&(o.map={...o.map,__proto__:X5.prototype}),e.push(o)}}if(n.nodes&&(n.nodes=t.nodes.map(s=>wi(s,e))),n.source){let{inputId:s,...o}=n.source;n.source=o,s!=null&&(n.source.input=e[s])}if(n.type==="root")return new t6(n);if(n.type==="decl")return new Y5(n);if(n.type==="rule")return new r6(n);if(n.type==="comment")return new Z5(n);if(n.type==="atrule")return new $5(n);throw new Error("Unknown node type: "+t.type)}zm.exports=wi;wi.default=wi});var en=N((fH,$m)=>{"use strict";p();d();f();var n6=Yo(),Qm=ui(),s6=RB(),i6=Xr(),FB=Hm(),o6=ii(),a6=jm(),Jm=sa(),l6=EB(),Km=Ci(),Ym=la(),u6=ia(),B6=fi(),c6=ca(),p6=OB(),Xm=ua(),Zm=Bs(),f6=ai();function ye(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new FB(t)}ye.plugin=function(e,r){let n=!1;function s(...i){console&&console.warn&&!n&&(n=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
|
|
26
|
+
`),r=a.length-i):r+=a.length,l&&u!=="start"){let c=l.parent||{raws:{}};(!(l.type==="decl"||l.type==="atrule"&&!l.nodes)||l!==c.last||c.raws.semicolon)&&(l.source&&l.source.end?(s.source=this.sourcePath(l),s.original.line=l.source.end.line,s.original.column=l.source.end.column-1,s.generated.line=e,s.generated.column=r-2,this.map.addMapping(s)):(s.source=n,s.original.line=1,s.original.column=0,s.generated.line=e,s.generated.column=r-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(r=>r.inline):!0}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute||e.charCodeAt(0)===60||/^\w+:\/\//.test(e))return e;let r=this.memoizedPaths.get(e);if(r)return r;let n=this.opts.to?na(this.opts.to):".";typeof this.mapOpts.annotation=="string"&&(n=na(em(n,this.mapOpts.annotation)));let s=$0(n,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 r=e.source.input.map;this.previousMaps.includes(r)||this.previousMaps.push(r)}});else{let e=new d5(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(r=>{if(r.source){let n=r.source.input.from;if(n&&!e[n]){e[n]=!0;let s=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(s,r.source.input.css)}}});else if(this.css){let r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return S?S.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let r=this.memoizedFileURLs.get(e);if(r)return r;if(X0){let n=X0(e).toString();return this.memoizedFileURLs.set(e,n),n}else throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let r=this.memoizedURLs.get(e);if(r)return r;tm==="\\"&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}};rm.exports=SB});var Ci=N((XW,nm)=>{"use strict";p();d();f();var m5=ai(),di=class extends m5{constructor(e){super(e),this.type="comment"}};nm.exports=di;di.default=di});var Xr=N((tG,pm)=>{"use strict";p();d();f();var{isClean:sm,my:im}=Xo(),om=ui(),am=Ci(),g5=ai(),lm,PB,AB,um;function Bm(t){return t.map(e=>(e.nodes&&(e.nodes=Bm(e.nodes)),delete e.source,e))}function cm(t){if(t[sm]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)cm(e)}var Kt=class t extends g5{append(...e){for(let r of e){let n=this.normalize(r,this.last);for(let s of n)this.proxyOf.nodes.push(s)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let r of this.nodes)r.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let r=this.getIterator(),n,s;for(;this.indexes[r]<this.proxyOf.nodes.length&&(n=this.indexes[r],s=e(this.proxyOf.nodes[n],n),s!==!1);)this.indexes[r]+=1;return delete this.indexes[r],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,r){return r==="proxyOf"?e:e[r]?r==="each"||typeof r=="string"&&r.startsWith("walk")?(...n)=>e[r](...n.map(s=>typeof s=="function"?(o,i)=>s(o.toProxy(),i):s)):r==="every"||r==="some"?n=>e[r]((s,...o)=>n(s.toProxy(),...o)):r==="root"?()=>e.root().toProxy():r==="nodes"?e.nodes.map(n=>n.toProxy()):r==="first"||r==="last"?e[r].toProxy():e[r]:e[r]},set(e,r,n){return e[r]===n||(e[r]=n,(r==="name"||r==="params"||r==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,r){let n=this.index(e),s=this.normalize(r,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let i of s)this.proxyOf.nodes.splice(n+1,0,i);let o;for(let i in this.indexes)o=this.indexes[i],n<o&&(this.indexes[i]=o+s.length);return this.markDirty(),this}insertBefore(e,r){let n=this.index(e),s=n===0?"prepend":!1,o=this.normalize(r,this.proxyOf.nodes[n],s).reverse();n=this.index(e);for(let a of o)this.proxyOf.nodes.splice(n,0,a);let i;for(let a in this.indexes)i=this.indexes[a],n<=i&&(this.indexes[a]=i+o.length);return this.markDirty(),this}normalize(e,r){if(typeof e=="string")e=Bm(lm(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 om(e)]}else if(e.selector)e=[new PB(e)];else if(e.name)e=[new AB(e)];else if(e.text)e=[new am(e)];else throw new Error("Unknown node type in node creation");return e.map(s=>(s[im]||t.rebuild(s),s=s.proxyOf,s.parent&&s.parent.removeChild(s),s[sm]&&cm(s),typeof s.raws.before>"u"&&r&&typeof r.raws.before<"u"&&(s.raws.before=r.raws.before.replace(/\S/g,"")),s.parent=this.proxyOf,s))}prepend(...e){e=e.reverse();for(let r of e){let n=this.normalize(r,this.first,"prepend").reverse();for(let s of n)this.proxyOf.nodes.unshift(s);for(let s in this.indexes)this.indexes[s]=this.indexes[s]+n.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let r;for(let n in this.indexes)r=this.indexes[n],r>=e&&(this.indexes[n]=r-1);return this.markDirty(),this}replaceValues(e,r,n){return n||(n=r,r={}),this.walkDecls(s=>{r.props&&!r.props.includes(s.prop)||r.fast&&!s.value.includes(r.fast)||(s.value=s.value.replace(e,n))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((r,n)=>{let s;try{s=e(r,n)}catch(o){throw r.addToError(o)}return s!==!1&&r.walk&&(s=r.walk(e)),s})}walkAtRules(e,r){return r?e instanceof RegExp?this.walk((n,s)=>{if(n.type==="atrule"&&e.test(n.name))return r(n,s)}):this.walk((n,s)=>{if(n.type==="atrule"&&n.name===e)return r(n,s)}):(r=e,this.walk((n,s)=>{if(n.type==="atrule")return r(n,s)}))}walkComments(e){return this.walk((r,n)=>{if(r.type==="comment")return e(r,n)})}walkDecls(e,r){return r?e instanceof RegExp?this.walk((n,s)=>{if(n.type==="decl"&&e.test(n.prop))return r(n,s)}):this.walk((n,s)=>{if(n.type==="decl"&&n.prop===e)return r(n,s)}):(r=e,this.walk((n,s)=>{if(n.type==="decl")return r(n,s)}))}walkRules(e,r){return r?e instanceof RegExp?this.walk((n,s)=>{if(n.type==="rule"&&e.test(n.selector))return r(n,s)}):this.walk((n,s)=>{if(n.type==="rule"&&n.selector===e)return r(n,s)}):(r=e,this.walk((n,s)=>{if(n.type==="rule")return r(n,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]}};Kt.registerParse=t=>{lm=t};Kt.registerRule=t=>{PB=t};Kt.registerAtRule=t=>{AB=t};Kt.registerRoot=t=>{um=t};pm.exports=Kt;Kt.default=Kt;Kt.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,AB.prototype):t.type==="rule"?Object.setPrototypeOf(t,PB.prototype):t.type==="decl"?Object.setPrototypeOf(t,om.prototype):t.type==="comment"?Object.setPrototypeOf(t,am.prototype):t.type==="root"&&Object.setPrototypeOf(t,um.prototype),t[im]=!0,t.nodes&&t.nodes.forEach(e=>{Kt.rebuild(e)})}});var sa=N((iG,Cm)=>{"use strict";p();d();f();var v5=Xr(),fm,dm,An=class extends v5{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new fm(new dm,this,e).stringify()}};An.registerLazyResult=t=>{fm=t};An.registerProcessor=t=>{dm=t};Cm.exports=An;An.default=An});var NB=N((uG,mm)=>{"use strict";p();d();f();var hm={};mm.exports=function(e){hm[e]||(hm[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var EB=N((fG,gm)=>{"use strict";p();d();f();var hi=class{constructor(e,r={}){if(this.type="warning",this.text=e,r.node&&r.node.source){let n=r.node.rangeBy(r);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(let n in r)this[n]=r[n]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};gm.exports=hi;hi.default=hi});var ia=N((mG,vm)=>{"use strict";p();d();f();var y5=EB(),mi=class{constructor(e,r,n){this.processor=e,this.messages=[],this.root=r,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,r={}){r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);let n=new y5(e,r);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};vm.exports=mi;mi.default=mi});var bm=N((wG,wm)=>{"use strict";p();d();f();var oa=/[\t\n\f\r "#'()/;[\\\]{}]/g,aa=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,w5=/.[\r\n"'(/\\]/,ym=/[\da-f]/i;wm.exports=function(e,r={}){let n=e.css.valueOf(),s=r.ignoreErrors,o,i,a,l,u,c,B,h,g,v,w=n.length,y=0,P=[],O=[];function E(){return y}function F(ue){throw e.error("Unclosed "+ue,y)}function q(){return O.length===0&&y>=w}function ye(ue){if(O.length)return O.pop();if(y>=w)return;let J=ue?ue.ignoreUnclosed:!1;switch(o=n.charCodeAt(y),o){case 10:case 32:case 9:case 13:case 12:{i=y;do i+=1,o=n.charCodeAt(i);while(o===32||o===10||o===9||o===13||o===12);v=["space",n.slice(y,i)],y=i-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let Z=String.fromCharCode(o);v=[Z,Z,y];break}case 40:{if(h=P.length?P.pop()[1]:"",g=n.charCodeAt(y+1),h==="url"&&g!==39&&g!==34&&g!==32&&g!==10&&g!==9&&g!==12&&g!==13){i=y;do{if(c=!1,i=n.indexOf(")",i+1),i===-1)if(s||J){i=y;break}else F("bracket");for(B=i;n.charCodeAt(B-1)===92;)B-=1,c=!c}while(c);v=["brackets",n.slice(y,i+1),y,i],y=i}else i=n.indexOf(")",y+1),l=n.slice(y,i+1),i===-1||w5.test(l)?v=["(","(",y]:(v=["brackets",l,y,i],y=i);break}case 39:case 34:{a=o===39?"'":'"',i=y;do{if(c=!1,i=n.indexOf(a,i+1),i===-1)if(s||J){i=y+1;break}else F("string");for(B=i;n.charCodeAt(B-1)===92;)B-=1,c=!c}while(c);v=["string",n.slice(y,i+1),y,i],y=i;break}case 64:{oa.lastIndex=y+1,oa.test(n),oa.lastIndex===0?i=n.length-1:i=oa.lastIndex-2,v=["at-word",n.slice(y,i+1),y,i],y=i;break}case 92:{for(i=y,u=!0;n.charCodeAt(i+1)===92;)i+=1,u=!u;if(o=n.charCodeAt(i+1),u&&o!==47&&o!==32&&o!==10&&o!==9&&o!==13&&o!==12&&(i+=1,ym.test(n.charAt(i)))){for(;ym.test(n.charAt(i+1));)i+=1;n.charCodeAt(i+1)===32&&(i+=1)}v=["word",n.slice(y,i+1),y,i],y=i;break}default:{o===47&&n.charCodeAt(y+1)===42?(i=n.indexOf("*/",y+2)+1,i===0&&(s||J?i=n.length:F("comment")),v=["comment",n.slice(y,i+1),y,i],y=i):(aa.lastIndex=y+1,aa.test(n),aa.lastIndex===0?i=n.length-1:i=aa.lastIndex-2,v=["word",n.slice(y,i+1),y,i],P.push(v),y=i);break}}return y++,v}function ae(ue){O.push(ue)}return{back:ae,endOfFile:q,nextToken:ye,position:E}}});var la=N((SG,xm)=>{"use strict";p();d();f();var Dm=Xr(),us=class extends Dm{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)}};xm.exports=us;us.default=us;Dm.registerAtRule(us)});var Bs=N((NG,Am)=>{"use strict";p();d();f();var Sm=Xr(),km,Pm,Zr=class extends Sm{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,r,n){let s=super.normalize(e);if(r){if(n==="prepend")this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(let o of s)o.raws.before=r.raws.before}return s}removeChild(e,r){let n=this.index(e);return!r&&n===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(e={}){return new km(new Pm,this,e).stringify()}};Zr.registerLazyResult=t=>{km=t};Zr.registerProcessor=t=>{Pm=t};Am.exports=Zr;Zr.default=Zr;Sm.registerRoot(Zr)});var OB=N((IG,Nm)=>{"use strict";p();d();f();var gi={comma(t){return gi.split(t,[","],!0)},space(t){let e=[" ",`
|
|
27
|
+
`," "];return gi.split(t,e)},split(t,e,r){let n=[],s="",o=!1,i=0,a=!1,l="",u=!1;for(let c of t)u?u=!1:c==="\\"?u=!0:a?c===l&&(a=!1):c==='"'||c==="'"?(a=!0,l=c):c==="("?i+=1:c===")"?i>0&&(i-=1):i===0&&e.includes(c)&&(o=!0),o?(s!==""&&n.push(s.trim()),s="",o=!1):s+=c;return(r||s!=="")&&n.push(s.trim()),n}};Nm.exports=gi;gi.default=gi});var ua=N((MG,Om)=>{"use strict";p();d();f();var Em=Xr(),b5=OB(),cs=class extends Em{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return b5.comma(this.selector)}set selectors(e){let r=this.selector?this.selector.match(/,\s*/):null,n=r?r[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}};Om.exports=cs;cs.default=cs;Em.registerRule(cs)});var Rm=N((UG,Lm)=>{"use strict";p();d();f();var D5=ui(),x5=bm(),S5=Ci(),k5=la(),P5=Bs(),Tm=ua(),Im={empty:!0,space:!0};function A5(t){for(let e=t.length-1;e>=0;e--){let r=t[e],n=r[3]||r[2];if(n)return n}}var TB=class{constructor(e){this.input=e,this.root=new P5,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let r=new k5;r.name=e[1].slice(1),r.name===""&&this.unnamedAtrule(r,e),this.init(r,e[2]);let n,s,o,i=!1,a=!1,l=[],u=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),n=e[0],n==="("||n==="["?u.push(n==="("?")":"]"):n==="{"&&u.length>0?u.push("}"):n===u[u.length-1]&&u.pop(),u.length===0)if(n===";"){r.source.end=this.getPosition(e[2]),r.source.end.offset++,this.semicolon=!0;break}else if(n==="{"){a=!0;break}else if(n==="}"){if(l.length>0){for(o=l.length-1,s=l[o];s&&s[0]==="space";)s=l[--o];s&&(r.source.end=this.getPosition(s[3]||s[2]),r.source.end.offset++)}this.end(e);break}else l.push(e);else l.push(e);if(this.tokenizer.endOfFile()){i=!0;break}}r.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(r.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(r,"params",l),i&&(e=l[l.length-1],r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++,this.spaces=r.raws.between,r.raws.between="")):(r.raws.afterName="",r.params=""),a&&(r.nodes=[],this.current=r)}checkMissedSemicolon(e){let r=this.colon(e);if(r===!1)return;let n=0,s;for(let o=r-1;o>=0&&(s=e[o],!(s[0]!=="space"&&(n+=1,n===2)));o--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}colon(e){let r=0,n,s,o;for(let[i,a]of e.entries()){if(n=a,s=n[0],s==="("&&(r+=1),s===")"&&(r-=1),r===0&&s===":")if(!o)this.doubleColon(n);else{if(o[0]==="word"&&o[1]==="progid")continue;return i}o=n}return!1}comment(e){let r=new S5;this.init(r,e[2]),r.source.end=this.getPosition(e[3]||e[2]),r.source.end.offset++;let n=e[1].slice(2,-2);if(/^\s*$/.test(n))r.text="",r.raws.left=n,r.raws.right="";else{let s=n.match(/^(\s*)([^]*\S)(\s*)$/);r.text=s[2],r.raws.left=s[1],r.raws.right=s[3]}}createTokenizer(){this.tokenizer=x5(this.input)}decl(e,r){let n=new D5;this.init(n,e[0][2]);let s=e[e.length-1];for(s[0]===";"&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(s[3]||s[2]||A5(e)),n.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let u=e[0][0];if(u===":"||u==="space"||u==="comment")break;n.prop+=e.shift()[1]}n.raws.between="";let o;for(;e.length;)if(o=e.shift(),o[0]===":"){n.raws.between+=o[1];break}else o[0]==="word"&&/\w/.test(o[1])&&this.unknownWord([o]),n.raws.between+=o[1];(n.prop[0]==="_"||n.prop[0]==="*")&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let i=[],a;for(;e.length&&(a=e[0][0],!(a!=="space"&&a!=="comment"));)i.push(e.shift());this.precheckMissedSemicolon(e);for(let u=e.length-1;u>=0;u--){if(o=e[u],o[1].toLowerCase()==="!important"){n.important=!0;let c=this.stringFrom(e,u);c=this.spacesFromEnd(e)+c,c!==" !important"&&(n.raws.important=c);break}else if(o[1].toLowerCase()==="important"){let c=e.slice(0),B="";for(let h=u;h>0;h--){let g=c[h][0];if(B.trim().indexOf("!")===0&&g!=="space")break;B=c.pop()[1]+B}B.trim().indexOf("!")===0&&(n.important=!0,n.raws.important=B,e=c)}if(o[0]!=="space"&&o[0]!=="comment")break}e.some(u=>u[0]!=="space"&&u[0]!=="comment")&&(n.raws.between+=i.map(u=>u[1]).join(""),i=[]),this.raw(n,"value",i.concat(e),r),n.value.includes(":")&&!r&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let r=new Tm;this.init(r,e[2]),r.selector="",r.raws.between="",this.current=r}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let r=this.current.nodes[this.current.nodes.length-1];r&&r.type==="rule"&&!r.raws.ownSemicolon&&(r.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let r=this.input.fromOffset(e);return{column:r.col,line:r.line,offset:e}}init(e,r){this.current.push(e),e.source={input:this.input,start:this.getPosition(r)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let r=!1,n=null,s=!1,o=null,i=[],a=e[1].startsWith("--"),l=[],u=e;for(;u;){if(n=u[0],l.push(u),n==="("||n==="[")o||(o=u),i.push(n==="("?")":"]");else if(a&&s&&n==="{")o||(o=u),i.push("}");else if(i.length===0)if(n===";")if(s){this.decl(l,a);return}else break;else if(n==="{"){this.rule(l);return}else if(n==="}"){this.tokenizer.back(l.pop()),r=!0;break}else n===":"&&(s=!0);else n===i[i.length-1]&&(i.pop(),i.length===0&&(o=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(r=!0),i.length>0&&this.unclosedBracket(o),r&&s){if(!a)for(;l.length&&(u=l[l.length-1][0],!(u!=="space"&&u!=="comment"));)this.tokenizer.back(l.pop());this.decl(l,a)}else this.unknownWord(l)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,r,n,s){let o,i,a=n.length,l="",u=!0,c,B;for(let h=0;h<a;h+=1)o=n[h],i=o[0],i==="space"&&h===a-1&&!s?u=!1:i==="comment"?(B=n[h-1]?n[h-1][0]:"empty",c=n[h+1]?n[h+1][0]:"empty",!Im[B]&&!Im[c]?l.slice(-1)===","?u=!1:l+=o[1]:u=!1):l+=o[1];if(!u){let h=n.reduce((g,v)=>g+v[1],"");e.raws[r]={raw:h,value:l}}e[r]=l}rule(e){e.pop();let r=new Tm;this.init(r,e[0][2]),r.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(r,"selector",e),this.current=r}spacesAndCommentsFromEnd(e){let r,n="";for(;e.length&&(r=e[e.length-1][0],!(r!=="space"&&r!=="comment"));)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let r,n="";for(;e.length&&(r=e[0][0],!(r!=="space"&&r!=="comment"));)n+=e.shift()[1];return n}spacesFromEnd(e){let r,n="";for(;e.length&&(r=e[e.length-1][0],r==="space");)n=e.pop()[1]+n;return n}stringFrom(e,r){let n="";for(let s=r;s<e.length;s++)n+=e[s][1];return e.splice(r,e.length-r),n}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,r){throw this.input.error("At-rule without name",{offset:r[2]},{offset:r[2]+r[1].length})}};Lm.exports=TB});var ca=N((zG,Fm)=>{"use strict";p();d();f();var N5=Xr(),E5=Rm(),O5=fi();function Ba(t,e){let r=new O5(t,e),n=new E5(r);try{n.parse()}catch(s){throw s}return n.root}Fm.exports=Ba;Ba.default=Ba;N5.registerParse(Ba)});var RB=N((YG,Vm)=>{"use strict";p();d();f();var{isClean:ur,my:T5}=Xo(),I5=kB(),L5=ii(),R5=Xr(),F5=sa(),KG=NB(),Mm=ia(),M5=ca(),_5=Bs(),q5={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},V5={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},U5={Once:!0,postcssPlugin:!0,prepare:!0},ps=0;function vi(t){return typeof t=="object"&&typeof t.then=="function"}function qm(t){let e=!1,r=q5[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[r,r+"-"+e,ps,r+"Exit",r+"Exit-"+e]:e?[r,r+"-"+e,r+"Exit",r+"Exit-"+e]:t.append?[r,ps,r+"Exit"]:[r,r+"Exit"]}function _m(t){let e;return t.type==="document"?e=["Document",ps,"DocumentExit"]:t.type==="root"?e=["Root",ps,"RootExit"]:e=qm(t),{eventIndex:0,events:e,iterator:0,node:t,visitorIndex:0,visitors:[]}}function IB(t){return t[ur]=!1,t.nodes&&t.nodes.forEach(e=>IB(e)),t}var LB={},$r=class t{constructor(e,r,n){this.stringified=!1,this.processed=!1;let s;if(typeof r=="object"&&r!==null&&(r.type==="root"||r.type==="document"))s=IB(r);else if(r instanceof t||r instanceof Mm)s=IB(r.root),r.map&&(typeof n.map>"u"&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{let o=M5;n.syntax&&(o=n.syntax.parse),n.parser&&(o=n.parser),o.parse&&(o=o.parse);try{s=o(r,n)}catch(i){this.processed=!0,this.error=i}s&&!s[T5]&&R5.rebuild(s)}this.result=new Mm(e,s,n),this.helpers={...LB,postcss:LB,result:this.result},this.plugins=this.processor.plugins.map(o=>typeof o=="object"&&o.prepare?{...o,...o.prepare(this.result)}:o)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,r){let n=this.result.lastPlugin;try{r&&r.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=n.postcssPlugin,e.setMessage()):n.postcssVersion}catch(s){console&&console.error&&console.error(s)}return e}prepareVisitors(){this.listeners={};let e=(r,n,s)=>{this.listeners[n]||(this.listeners[n]=[]),this.listeners[n].push([r,s])};for(let r of this.plugins)if(typeof r=="object")for(let n in r){if(!V5[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${r.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!U5[n])if(typeof r[n]=="object")for(let s in r[n])s==="*"?e(r,n,r[n][s]):e(r,n+"-"+s.toLowerCase(),r[n][s]);else typeof r[n]=="function"&&e(r,n,r[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let r=this.plugins[e],n=this.runOnRoot(r);if(vi(n))try{await n}catch(s){throw this.handleError(s)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[ur];){e[ur]=!0;let r=[_m(e)];for(;r.length>0;){let n=this.visitTick(r);if(vi(n))try{await n}catch(s){let o=r[r.length-1].node;throw this.handleError(s,o)}}}if(this.listeners.OnceExit)for(let[r,n]of this.listeners.OnceExit){this.result.lastPlugin=r;try{if(e.type==="document"){let s=e.nodes.map(o=>n(o,this.helpers));await Promise.all(s)}else await n(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 r=this.result.root.nodes.map(n=>e.Once(n,this.helpers));return vi(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(r){throw this.handleError(r)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,r=L5;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);let s=new I5(r,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 r=this.runOnRoot(e);if(vi(r))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[ur];)e[ur]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let r of e.nodes)this.visitSync(this.listeners.OnceExit,r);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,r){return this.async().then(e,r)}toString(){return this.css}visitSync(e,r){for(let[n,s]of e){this.result.lastPlugin=n;let o;try{o=s(r,this.helpers)}catch(i){throw this.handleError(i,r.proxyOf)}if(r.type!=="root"&&r.type!=="document"&&!r.parent)return!0;if(vi(o))throw this.getAsyncError()}}visitTick(e){let r=e[e.length-1],{node:n,visitors:s}=r;if(n.type!=="root"&&n.type!=="document"&&!n.parent){e.pop();return}if(s.length>0&&r.visitorIndex<s.length){let[i,a]=s[r.visitorIndex];r.visitorIndex+=1,r.visitorIndex===s.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=i;try{return a(n.toProxy(),this.helpers)}catch(l){throw this.handleError(l,n)}}if(r.iterator!==0){let i=r.iterator,a;for(;a=n.nodes[n.indexes[i]];)if(n.indexes[i]+=1,!a[ur]){a[ur]=!0,e.push(_m(a));return}r.iterator=0,delete n.indexes[i]}let o=r.events;for(;r.eventIndex<o.length;){let i=o[r.eventIndex];if(r.eventIndex+=1,i===ps){n.nodes&&n.nodes.length&&(n[ur]=!0,r.iterator=n.getIterator());return}else if(this.listeners[i]){r.visitors=this.listeners[i];return}}e.pop()}walkSync(e){e[ur]=!0;let r=qm(e);for(let n of r)if(n===ps)e.nodes&&e.each(s=>{s[ur]||this.walkSync(s)});else{let s=this.listeners[n];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"}};$r.registerPostcss=t=>{LB=t};Vm.exports=$r;$r.default=$r;_5.registerLazyResult($r);F5.registerLazyResult($r)});var Wm=N((tH,Um)=>{"use strict";p();d();f();var W5=kB(),G5=ii(),eH=NB(),H5=ca(),z5=ia(),yi=class{constructor(e,r,n){r=r.toString(),this.stringified=!1,this._processor=e,this._css=r,this._opts=n,this._map=void 0;let s,o=G5;this.result=new z5(this._processor,s,this._opts),this.result.css=r;let i=this;Object.defineProperty(this.result,"root",{get(){return i.root}});let a=new W5(o,s,this._opts,r);if(a.isMap()){let[l,u]=a.generate();l&&(this.result.css=l),u&&(this.result.map=u)}else a.clearAnnotation(),this.result.css=a.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,r){return this.async().then(e,r)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,r=H5;try{e=r(this._css,this._opts)}catch(n){this.error=n}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}};Um.exports=yi;yi.default=yi});var Hm=N((iH,Gm)=>{"use strict";p();d();f();var j5=Wm(),Q5=RB(),J5=sa(),K5=Bs(),Nn=class{constructor(e=[]){this.version="8.4.39",this.plugins=this.normalize(e)}normalize(e){let r=[];for(let n of e)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n=="object"&&Array.isArray(n.plugins))r=r.concat(n.plugins);else if(typeof n=="object"&&n.postcssPlugin)r.push(n);else if(typeof n=="function")r.push(n);else if(!(typeof n=="object"&&(n.parse||n.stringify)))throw new Error(n+" is not a PostCSS plugin");return r}process(e,r={}){return!this.plugins.length&&!r.parser&&!r.stringifier&&!r.syntax?new j5(this,e,r):new Q5(this,e,r)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}};Gm.exports=Nn;Nn.default=Nn;K5.registerProcessor(Nn);J5.registerProcessor(Nn)});var jm=N((uH,zm)=>{"use strict";p();d();f();var Y5=ui(),X5=yB(),Z5=Ci(),$5=la(),e6=fi(),t6=Bs(),r6=ua();function wi(t,e){if(Array.isArray(t))return t.map(s=>wi(s));let{inputs:r,...n}=t;if(r){e=[];for(let s of r){let o={...s,__proto__:e6.prototype};o.map&&(o.map={...o.map,__proto__:X5.prototype}),e.push(o)}}if(n.nodes&&(n.nodes=t.nodes.map(s=>wi(s,e))),n.source){let{inputId:s,...o}=n.source;n.source=o,s!=null&&(n.source.input=e[s])}if(n.type==="root")return new t6(n);if(n.type==="decl")return new Y5(n);if(n.type==="rule")return new r6(n);if(n.type==="comment")return new Z5(n);if(n.type==="atrule")return new $5(n);throw new Error("Unknown node type: "+t.type)}zm.exports=wi;wi.default=wi});var en=N((fH,$m)=>{"use strict";p();d();f();var n6=Yo(),Qm=ui(),s6=RB(),i6=Xr(),FB=Hm(),o6=ii(),a6=jm(),Jm=sa(),l6=EB(),Km=Ci(),Ym=la(),u6=ia(),B6=fi(),c6=ca(),p6=OB(),Xm=ua(),Zm=Bs(),f6=ai();function we(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new FB(t)}we.plugin=function(e,r){let n=!1;function s(...i){console&&console.warn&&!n&&(n=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
|
|
28
28
|
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),x.env.LANG&&x.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 a=r(...i);return a.postcssPlugin=e,a.postcssVersion=new FB().version,a}let o;return Object.defineProperty(s,"postcss",{get(){return o||(o=s()),o}}),s.process=function(i,a,l){return
|
|
29
|
+
https://www.w3ctech.com/topic/2226`));let a=r(...i);return a.postcssPlugin=e,a.postcssVersion=new FB().version,a}let o;return Object.defineProperty(s,"postcss",{get(){return o||(o=s()),o}}),s.process=function(i,a,l){return we([s(l)]).process(i,a)},s};we.stringify=o6;we.parse=c6;we.fromJSON=a6;we.list=p6;we.comment=t=>new Km(t);we.atRule=t=>new Ym(t);we.decl=t=>new Qm(t);we.rule=t=>new Xm(t);we.root=t=>new Zm(t);we.document=t=>new Jm(t);we.CssSyntaxError=n6;we.Declaration=Qm;we.Container=i6;we.Processor=FB;we.Document=Jm;we.Comment=Km;we.Warning=l6;we.AtRule=Ym;we.Result=u6;we.Input=B6;we.Rule=Xm;we.Root=Zm;we.Node=f6;s6.registerPostcss(we);$m.exports=we;we.default=we});var Ye=N((mH,Rr)=>{p();d();f();var{list:MB}=en();Rr.exports.error=function(t){let e=new Error(t);throw e.autoprefixer=!0,e};Rr.exports.uniq=function(t){return[...new Set(t)]};Rr.exports.removeNote=function(t){return t.includes(" ")?t.split(" ")[0]:t};Rr.exports.escapeRegexp=function(t){return t.replace(/[$()*+-.?[\\\]^{|}]/g,"\\$&")};Rr.exports.regexp=function(t,e=!0){return e&&(t=this.escapeRegexp(t)),new RegExp(`(^|[\\s,(])(${t}($|[\\s(,]))`,"gi")};Rr.exports.editList=function(t,e){let r=MB.comma(t),n=e(r,[]);if(r===n)return t;let s=t.match(/,\s*/);return s=s?s[0]:", ",n.join(s)};Rr.exports.splitSelector=function(t){return MB.comma(t).map(e=>MB.space(e).map(r=>r.split(/(?=\.|#)/g)))};Rr.exports.isPureNumber=function(t){return typeof t=="number"?!0:typeof t=="string"?/^[0-9]+$/.test(t):!1}});var tn=N((wH,t1)=>{p();d();f();var d6=ri(),{agents:e1}=qo(),C6=Ye(),_B=class{constructor(e,r,n,s){this.data=e,this.options=n||{},this.browserslistOpts=s||{},this.selected=this.parse(r)}static prefixes(){if(this.prefixesCache)return this.prefixesCache;this.prefixesCache=[];for(let e in e1)this.prefixesCache.push(`-${e1[e].prefix}-`);return this.prefixesCache=C6.uniq(this.prefixesCache).sort((e,r)=>r.length-e.length),this.prefixesCache}static withPrefix(e){return this.prefixesRegexp||(this.prefixesRegexp=new RegExp(this.prefixes().join("|"))),this.prefixesRegexp.test(e)}isSelected(e){return this.selected.includes(e)}parse(e){let r={};for(let n in this.browserslistOpts)r[n]=this.browserslistOpts[n];return r.path=this.options.from,d6(e,r)}prefix(e){let[r,n]=e.split(" "),s=this.data[r],o=s.prefix_exceptions&&s.prefix_exceptions[n];return o||(o=s.prefix),`-${o}-`}};t1.exports=_B});var bi=N((SH,r1)=>{p();d();f();r1.exports={prefix(t){let e=t.match(/^(-\w+-)/);return e?e[0]:""},unprefixed(t){return t.replace(/^-\w+-/,"")}}});var fs=N((NH,s1)=>{p();d();f();var h6=tn(),n1=bi(),m6=Ye();function qB(t,e){let r=new t.constructor;for(let n of Object.keys(t||{})){let s=t[n];n==="parent"&&typeof s=="object"?e&&(r[n]=e):n==="source"||n===null?r[n]=s:Array.isArray(s)?r[n]=s.map(o=>qB(o,r)):n!=="_autoprefixerPrefix"&&n!=="_autoprefixerValues"&&n!=="proxyCache"&&(typeof s=="object"&&s!==null&&(s=qB(s,r)),r[n]=s)}return r}var VB=class t{constructor(e,r,n){this.prefixes=r,this.name=e,this.all=n}static clone(e,r){let n=qB(e);for(let s in r)n[s]=r[s];return n}static hack(e){return this.hacks||(this.hacks={}),e.names.map(r=>(this.hacks[r]=e,this.hacks[r]))}static load(e,r,n){let s=this.hacks&&this.hacks[e];return s?new s(e,r,n):new this(e,r,n)}clone(e,r){return t.clone(e,r)}parentPrefix(e){let r;return typeof e._autoprefixerPrefix<"u"?r=e._autoprefixerPrefix:e.type==="decl"&&e.prop[0]==="-"?r=n1.prefix(e.prop):e.type==="root"?r=!1:e.type==="rule"&&e.selector.includes(":-")&&/:(-\w+-)/.test(e.selector)?r=e.selector.match(/:(-\w+-)/)[1]:e.type==="atrule"&&e.name[0]==="-"?r=n1.prefix(e.name):r=this.parentPrefix(e.parent),h6.prefixes().includes(r)||(r=!1),e._autoprefixerPrefix=r,e._autoprefixerPrefix}process(e,r){if(!this.check(e))return;let n=this.parentPrefix(e),s=this.prefixes.filter(i=>!n||n===m6.removeNote(i)),o=[];for(let i of s)this.add(e,i,o.concat([i]),r)&&o.push(i);return o}};s1.exports=VB});var te=N((IH,o1)=>{p();d();f();var g6=fs(),v6=tn(),i1=Ye(),UB=class extends g6{add(e,r,n,s){let o=this.prefixed(e.prop,r);if(!(this.isAlready(e,o)||this.otherPrefixes(e.value,r)))return this.insert(e,r,n,s)}calcBefore(e,r,n=""){let o=this.maxPrefixed(e,r)-i1.removeNote(n).length,i=r.raw("before");return o>0&&(i+=Array(o).fill(" ").join("")),i}check(){return!0}insert(e,r,n){let s=this.set(this.clone(e),r);if(!(!s||e.parent.some(i=>i.prop===s.prop&&i.value===s.value)))return this.needCascade(e)&&(s.raws.before=this.calcBefore(n,e,r)),e.parent.insertBefore(e,s)}isAlready(e,r){let n=this.all.group(e).up(s=>s.prop===r);return n||(n=this.all.group(e).down(s=>s.prop===r)),n}maxPrefixed(e,r){if(r._autoprefixerMax)return r._autoprefixerMax;let n=0;for(let s of e)s=i1.removeNote(s),s.length>n&&(n=s.length);return r._autoprefixerMax=n,r._autoprefixerMax}needCascade(e){return e._autoprefixerCascade||(e._autoprefixerCascade=this.all.options.cascade!==!1&&e.raw("before").includes(`
|
|
30
30
|
`)),e._autoprefixerCascade}normalize(e){return e}old(e,r){return[this.prefixed(e,r)]}otherPrefixes(e,r){for(let n of v6.prefixes())if(n!==r&&e.includes(n))return e.replace(/var\([^)]+\)/,"").includes(n);return!1}prefixed(e,r){return r+e}process(e,r){if(!this.needCascade(e)){super.process(e,r);return}let n=super.process(e,r);!n||!n.length||(this.restoreBefore(e),e.raws.before=this.calcBefore(n,e))}restoreBefore(e){let r=e.raw("before").split(`
|
|
31
31
|
`),n=r[r.length-1];this.all.group(e).up(s=>{let o=s.raw("before").split(`
|
|
32
32
|
`),i=o[o.length-1];i.length<n.length&&(n=i)}),r[r.length-1]=n,e.raws.before=r.join(`
|
|
33
|
-
`)}set(e,r){return e.prop=this.prefixed(e.prop,r),e}};o1.exports=UB});var l1=N((Di,a1)=>{p();d();f();(function(t){"use strict";var e=2e3,r={s:1,n:0,d:1};function n(w,y){if(isNaN(w=parseInt(w,10)))throw g();return w*y}function s(w,y){if(y===0)throw h();var P=Object.create(B.prototype);P.s=w<0?-1:1,w=w<0?-w:w;var O=c(w,y);return P.n=w/O,P.d=y/O,P}function o(w){for(var y={},P=w,O=2,E=4;E<=P;){for(;P%O===0;)P/=O,y[O]=(y[O]||0)+1;E+=1+2*O++}return P!==w?P>1&&(y[P]=(y[P]||0)+1):y[w]=(y[w]||0)+1,y}var i=function(w,y){var P=0,O=1,E=1,F=0,q=0,ve=0,oe=1,le=1,J=0,Z=1,Lt=1,$e=1,kt=1e7,Rt;if(w!=null)if(y!==void 0){if(P=w,O=y,E=P*O,P%1!==0||O%1!==0)throw v()}else switch(typeof w){case"object":{if("d"in w&&"n"in w)P=w.n,O=w.d,"s"in w&&(P*=w.s);else if(0 in w)P=w[0],1 in w&&(O=w[1]);else throw g();E=P*O;break}case"number":{if(w<0&&(E=w,w=-w),w%1===0)P=w;else if(w>0){for(w>=1&&(le=Math.pow(10,Math.floor(1+Math.log(w)/Math.LN10)),w/=le);Z<=kt&&$e<=kt;)if(Rt=(J+Lt)/(Z+$e),w===Rt){Z+$e<=kt?(P=J+Lt,O=Z+$e):$e>Z?(P=Lt,O=$e):(P=J,O=Z);break}else w>Rt?(J+=Lt,Z+=$e):(Lt+=J,$e+=Z),Z>kt?(P=Lt,O=$e):(P=J,O=Z);P*=le}else(isNaN(w)||isNaN(y))&&(O=P=NaN);break}case"string":{if(Z=w.match(/\d+|./g),Z===null)throw g();if(Z[J]==="-"?(E=-1,J++):Z[J]==="+"&&J++,Z.length===J+1?q=n(Z[J++],E):Z[J+1]==="."||Z[J]==="."?(Z[J]!=="."&&(F=n(Z[J++],E)),J++,(J+1===Z.length||Z[J+1]==="("&&Z[J+3]===")"||Z[J+1]==="'"&&Z[J+3]==="'")&&(q=n(Z[J],E),oe=Math.pow(10,Z[J].length),J++),(Z[J]==="("&&Z[J+2]===")"||Z[J]==="'"&&Z[J+2]==="'")&&(ve=n(Z[J+1],E),le=Math.pow(10,Z[J+1].length)-1,J+=3)):Z[J+1]==="/"||Z[J+1]===":"?(q=n(Z[J],E),oe=n(Z[J+2],1),J+=3):Z[J+3]==="/"&&Z[J+1]===" "&&(F=n(Z[J],E),q=n(Z[J+2],E),oe=n(Z[J+4],1),J+=5),Z.length<=J){O=oe*le,E=P=ve+O*F+le*q;break}}default:throw g()}if(O===0)throw h();r.s=E<0?-1:1,r.n=Math.abs(P),r.d=Math.abs(O)};function a(w,y,P){for(var O=1;y>0;w=w*w%P,y>>=1)y&1&&(O=O*w%P);return O}function l(w,y){for(;y%2===0;y/=2);for(;y%5===0;y/=5);if(y===1)return 0;for(var P=10%y,O=1;P!==1;O++)if(P=P*10%y,O>e)return 0;return O}function u(w,y,P){for(var O=1,E=a(10,P,y),F=0;F<300;F++){if(O===E)return F;O=O*10%y,E=E*10%y}return 0}function c(w,y){if(!w)return y;if(!y)return w;for(;;){if(w%=y,!w)return y;if(y%=w,!y)return w}}function B(w,y){if(i(w,y),this instanceof B)w=c(r.d,r.n),this.s=r.s,this.n=r.n/w,this.d=r.d/w;else return s(r.s*r.n,r.d)}var h=function(){return new Error("Division by Zero")},g=function(){return new Error("Invalid argument")},v=function(){return new Error("Parameters must be integer")};B.prototype={s:1,n:0,d:1,abs:function(){return s(this.n,this.d)},neg:function(){return s(-this.s*this.n,this.d)},add:function(w,y){return i(w,y),s(this.s*this.n*r.d+r.s*this.d*r.n,this.d*r.d)},sub:function(w,y){return i(w,y),s(this.s*this.n*r.d-r.s*this.d*r.n,this.d*r.d)},mul:function(w,y){return i(w,y),s(this.s*r.s*this.n*r.n,this.d*r.d)},div:function(w,y){return i(w,y),s(this.s*r.s*this.n*r.d,this.d*r.n)},clone:function(){return s(this.s*this.n,this.d)},mod:function(w,y){if(isNaN(this.n)||isNaN(this.d))return new B(NaN);if(w===void 0)return s(this.s*this.n%this.d,1);if(i(w,y),r.n===0&&this.d===0)throw h();return s(this.s*(r.d*this.n)%(r.n*this.d),r.d*this.d)},gcd:function(w,y){return i(w,y),s(c(r.n,this.n)*c(r.d,this.d),r.d*this.d)},lcm:function(w,y){return i(w,y),r.n===0&&this.n===0?s(0,1):s(r.n*this.n,c(r.n,this.n)*c(r.d,this.d))},ceil:function(w){return w=Math.pow(10,w||0),isNaN(this.n)||isNaN(this.d)?new B(NaN):s(Math.ceil(w*this.s*this.n/this.d),w)},floor:function(w){return w=Math.pow(10,w||0),isNaN(this.n)||isNaN(this.d)?new B(NaN):s(Math.floor(w*this.s*this.n/this.d),w)},round:function(w){return w=Math.pow(10,w||0),isNaN(this.n)||isNaN(this.d)?new B(NaN):s(Math.round(w*this.s*this.n/this.d),w)},roundTo:function(w,y){return i(w,y),s(this.s*Math.round(this.n*r.d/(this.d*r.n))*r.n,r.d)},inverse:function(){return s(this.s*this.d,this.n)},pow:function(w,y){if(i(w,y),r.d===1)return r.s<0?s(Math.pow(this.s*this.d,r.n),Math.pow(this.n,r.n)):s(Math.pow(this.s*this.n,r.n),Math.pow(this.d,r.n));if(this.s<0)return null;var P=o(this.n),O=o(this.d),E=1,F=1;for(var q in P)if(q!=="1"){if(q==="0"){E=0;break}if(P[q]*=r.n,P[q]%r.d===0)P[q]/=r.d;else return null;E*=Math.pow(q,P[q])}for(var q in O)if(q!=="1"){if(O[q]*=r.n,O[q]%r.d===0)O[q]/=r.d;else return null;F*=Math.pow(q,O[q])}return r.s<0?s(F,E):s(E,F)},equals:function(w,y){return i(w,y),this.s*this.n*r.d===r.s*r.n*this.d},compare:function(w,y){i(w,y);var P=this.s*this.n*r.d-r.s*r.n*this.d;return(0<P)-(P<0)},simplify:function(w){if(isNaN(this.n)||isNaN(this.d))return this;w=w||.001;for(var y=this.abs(),P=y.toContinued(),O=1;O<P.length;O++){for(var E=s(P[O-1],1),F=O-2;F>=0;F--)E=E.inverse().add(P[F]);if(Math.abs(E.sub(y).valueOf())<w)return E.mul(this.s)}return this},divisible:function(w,y){return i(w,y),!(!(r.n*this.d)||this.n*r.d%(r.n*this.d))},valueOf:function(){return this.s*this.n/this.d},toFraction:function(w){var y,P="",O=this.n,E=this.d;return this.s<0&&(P+="-"),E===1?P+=O:(w&&(y=Math.floor(O/E))>0&&(P+=y,P+=" ",O%=E),P+=O,P+="/",P+=E),P},toLatex:function(w){var y,P="",O=this.n,E=this.d;return this.s<0&&(P+="-"),E===1?P+=O:(w&&(y=Math.floor(O/E))>0&&(P+=y,O%=E),P+="\\frac{",P+=O,P+="}{",P+=E,P+="}"),P},toContinued:function(){var w,y=this.n,P=this.d,O=[];if(isNaN(y)||isNaN(P))return O;do O.push(Math.floor(y/P)),w=y%P,y=P,P=w;while(y!==1);return O},toString:function(w){var y=this.n,P=this.d;if(isNaN(y)||isNaN(P))return"NaN";w=w||15;var O=l(y,P),E=u(y,P,O),F=this.s<0?"-":"";if(F+=y/P|0,y%=P,y*=10,y&&(F+="."),O){for(var q=E;q--;)F+=y/P|0,y%=P,y*=10;F+="(";for(var q=O;q--;)F+=y/P|0,y%=P,y*=10;F+=")"}else for(var q=w;y&&q--;)F+=y/P|0,y%=P,y*=10;return F}},typeof Di=="object"?(Object.defineProperty(Di,"__esModule",{value:!0}),Di.default=B,a1.exports=B):t.Fraction=B})(Di)});var B1=N((VH,u1)=>{p();d();f();var y6=l1(),w6=fs(),WB=Ye(),b6=/(min|max)-resolution\s*:\s*\d*\.?\d+(dppx|dpcm|dpi|x)/gi,D6=/(min|max)-resolution(\s*:\s*)(\d*\.?\d+)(dppx|dpcm|dpi|x)/i,GB=class extends w6{clean(e){if(!this.bad){this.bad=[];for(let r of this.prefixes)this.bad.push(this.prefixName(r,"min")),this.bad.push(this.prefixName(r,"max"))}e.params=WB.editList(e.params,r=>r.filter(n=>this.bad.every(s=>!n.includes(s))))}prefixName(e,r){return e==="-moz-"?r+"--moz-device-pixel-ratio":e+r+"-device-pixel-ratio"}prefixQuery(e,r,n,s,o){return s=new y6(s),o==="dpi"?s=s.div(96):o==="dpcm"&&(s=s.mul(2.54).div(96)),s=s.simplify(),e==="-o-"&&(s=s.n+"/"+s.d),this.prefixName(e,r)+n+s}process(e){let r=this.parentPrefix(e),n=r?[r]:this.prefixes;e.params=WB.editList(e.params,(s,o)=>{for(let i of s){if(!i.includes("min-resolution")&&!i.includes("max-resolution")){o.push(i);continue}for(let a of n){let l=i.replace(b6,u=>{let c=u.match(D6);return this.prefixQuery(a,c[1],c[2],c[3],c[4])});o.push(l)}o.push(i)}return WB.uniq(o)})}};u1.exports=GB});var p1=N((HH,c1)=>{p();d();f();var HB=40,zB=41,pa=39,jB=34,QB=92,ds=47,JB=44,KB=58,fa=42,x6=117,S6=85,k6=43,P6=/^[a-f0-9?-]+$/i;c1.exports=function(t){for(var e=[],r=t,n,s,o,i,a,l,u,c,B=0,h=r.charCodeAt(B),g=r.length,v=[{nodes:e}],w=0,y,P="",O="",E="";B<g;)if(h<=32){n=B;do n+=1,h=r.charCodeAt(n);while(h<=32);i=r.slice(B,n),o=e[e.length-1],h===zB&&w?E=i:o&&o.type==="div"?(o.after=i,o.sourceEndIndex+=i.length):h===JB||h===KB||h===ds&&r.charCodeAt(n+1)!==fa&&(!y||y&&y.type==="function"&&y.value!=="calc")?O=i:e.push({type:"space",sourceIndex:B,sourceEndIndex:n,value:i}),B=n}else if(h===pa||h===jB){n=B,s=h===pa?"'":'"',i={type:"string",sourceIndex:B,quote:s};do if(a=!1,n=r.indexOf(s,n+1),~n)for(l=n;r.charCodeAt(l-1)===QB;)l-=1,a=!a;else r+=s,n=r.length-1,i.unclosed=!0;while(a);i.value=r.slice(B+1,n),i.sourceEndIndex=i.unclosed?n:n+1,e.push(i),B=n+1,h=r.charCodeAt(B)}else if(h===ds&&r.charCodeAt(B+1)===fa)n=r.indexOf("*/",B),i={type:"comment",sourceIndex:B,sourceEndIndex:n+2},n===-1&&(i.unclosed=!0,n=r.length,i.sourceEndIndex=n),i.value=r.slice(B+2,n),e.push(i),B=n+2,h=r.charCodeAt(B);else if((h===ds||h===fa)&&y&&y.type==="function"&&y.value==="calc")i=r[B],e.push({type:"word",sourceIndex:B-O.length,sourceEndIndex:B+i.length,value:i}),B+=1,h=r.charCodeAt(B);else if(h===ds||h===JB||h===KB)i=r[B],e.push({type:"div",sourceIndex:B-O.length,sourceEndIndex:B+i.length,value:i,before:O,after:""}),O="",B+=1,h=r.charCodeAt(B);else if(HB===h){n=B;do n+=1,h=r.charCodeAt(n);while(h<=32);if(c=B,i={type:"function",sourceIndex:B-P.length,value:P,before:r.slice(c+1,n)},B=n,P==="url"&&h!==pa&&h!==jB){n-=1;do if(a=!1,n=r.indexOf(")",n+1),~n)for(l=n;r.charCodeAt(l-1)===QB;)l-=1,a=!a;else r+=")",n=r.length-1,i.unclosed=!0;while(a);u=n;do u-=1,h=r.charCodeAt(u);while(h<=32);c<u?(B!==u+1?i.nodes=[{type:"word",sourceIndex:B,sourceEndIndex:u+1,value:r.slice(B,u+1)}]:i.nodes=[],i.unclosed&&u+1!==n?(i.after="",i.nodes.push({type:"space",sourceIndex:u+1,sourceEndIndex:n,value:r.slice(u+1,n)})):(i.after=r.slice(u+1,n),i.sourceEndIndex=n)):(i.after="",i.nodes=[]),B=n+1,i.sourceEndIndex=i.unclosed?n:B,h=r.charCodeAt(B),e.push(i)}else w+=1,i.after="",i.sourceEndIndex=B+1,e.push(i),v.push(i),e=i.nodes=[],y=i;P=""}else if(zB===h&&w)B+=1,h=r.charCodeAt(B),y.after=E,y.sourceEndIndex+=E.length,E="",w-=1,v[v.length-1].sourceEndIndex=B,v.pop(),y=v[w],e=y.nodes;else{n=B;do h===QB&&(n+=1),n+=1,h=r.charCodeAt(n);while(n<g&&!(h<=32||h===pa||h===jB||h===JB||h===KB||h===ds||h===HB||h===fa&&y&&y.type==="function"&&y.value==="calc"||h===ds&&y.type==="function"&&y.value==="calc"||h===zB&&w));i=r.slice(B,n),HB===h?P=i:(x6===i.charCodeAt(0)||S6===i.charCodeAt(0))&&k6===i.charCodeAt(1)&&P6.test(i.slice(2))?e.push({type:"unicode-range",sourceIndex:B,sourceEndIndex:n,value:i}):e.push({type:"word",sourceIndex:B,sourceEndIndex:n,value:i}),B=n}for(B=v.length-1;B;B-=1)v[B].unclosed=!0,v[B].sourceEndIndex=r.length;return v[0].nodes}});var d1=N((JH,f1)=>{p();d();f();f1.exports=function t(e,r,n){var s,o,i,a;for(s=0,o=e.length;s<o;s+=1)i=e[s],n||(a=r(i,s,e)),a!==!1&&i.type==="function"&&Array.isArray(i.nodes)&&t(i.nodes,r,n),n&&r(i,s,e)}});var g1=N((ZH,m1)=>{p();d();f();function C1(t,e){var r=t.type,n=t.value,s,o;return e&&(o=e(t))!==void 0?o:r==="word"||r==="space"?n:r==="string"?(s=t.quote||"",s+n+(t.unclosed?"":s)):r==="comment"?"/*"+n+(t.unclosed?"":"*/"):r==="div"?(t.before||"")+n+(t.after||""):Array.isArray(t.nodes)?(s=h1(t.nodes,e),r!=="function"?s:n+"("+(t.before||"")+s+(t.after||"")+(t.unclosed?"":")")):n}function h1(t,e){var r,n;if(Array.isArray(t)){for(r="",n=t.length-1;~n;n-=1)r=C1(t[n],e)+r;return r}return C1(t,e)}m1.exports=h1});var y1=N((rz,v1)=>{p();d();f();var da=45,Ca=43,YB=46,A6=101,N6=69;function E6(t){var e=t.charCodeAt(0),r;if(e===Ca||e===da){if(r=t.charCodeAt(1),r>=48&&r<=57)return!0;var n=t.charCodeAt(2);return r===YB&&n>=48&&n<=57}return e===YB?(r=t.charCodeAt(1),r>=48&&r<=57):e>=48&&e<=57}v1.exports=function(t){var e=0,r=t.length,n,s,o;if(r===0||!E6(t))return!1;for(n=t.charCodeAt(e),(n===Ca||n===da)&&e++;e<r&&(n=t.charCodeAt(e),!(n<48||n>57));)e+=1;if(n=t.charCodeAt(e),s=t.charCodeAt(e+1),n===YB&&s>=48&&s<=57)for(e+=2;e<r&&(n=t.charCodeAt(e),!(n<48||n>57));)e+=1;if(n=t.charCodeAt(e),s=t.charCodeAt(e+1),o=t.charCodeAt(e+2),(n===A6||n===N6)&&(s>=48&&s<=57||(s===Ca||s===da)&&o>=48&&o<=57))for(e+=s===Ca||s===da?3:2;e<r&&(n=t.charCodeAt(e),!(n<48||n>57));)e+=1;return{number:t.slice(0,e),unit:t.slice(e)}}});var He=N((oz,D1)=>{p();d();f();var O6=p1(),w1=d1(),b1=g1();function rn(t){return this instanceof rn?(this.nodes=O6(t),this):new rn(t)}rn.prototype.toString=function(){return Array.isArray(this.nodes)?b1(this.nodes):""};rn.prototype.walk=function(t,e){return w1(this.nodes,t,e),this};rn.unit=y1();rn.walk=w1;rn.stringify=b1;D1.exports=rn});var P1=N((Bz,k1)=>{p();d();f();var{list:T6}=en(),x1=He(),I6=tn(),S1=bi(),XB=class{constructor(e){this.props=["transition","transition-property"],this.prefixes=e}add(e,r){let n,s,o=this.prefixes.add[e.prop],i=this.ruleVendorPrefixes(e),a=i||o&&o.prefixes||[],l=this.parse(e.value),u=l.map(g=>this.findProp(g)),c=[];if(u.some(g=>g[0]==="-"))return;for(let g of l){if(s=this.findProp(g),s[0]==="-")continue;let v=this.prefixes.add[s];if(!(!v||!v.prefixes))for(n of v.prefixes){if(i&&!i.some(y=>n.includes(y)))continue;let w=this.prefixes.prefixed(s,n);w!=="-ms-transform"&&!u.includes(w)&&(this.disabled(s,n)||c.push(this.clone(s,w,g)))}}l=l.concat(c);let B=this.stringify(l),h=this.stringify(this.cleanFromUnprefixed(l,"-webkit-"));if(a.includes("-webkit-")&&this.cloneBefore(e,`-webkit-${e.prop}`,h),this.cloneBefore(e,e.prop,h),a.includes("-o-")){let g=this.stringify(this.cleanFromUnprefixed(l,"-o-"));this.cloneBefore(e,`-o-${e.prop}`,g)}for(n of a)if(n!=="-webkit-"&&n!=="-o-"){let g=this.stringify(this.cleanOtherPrefixes(l,n));this.cloneBefore(e,n+e.prop,g)}B!==e.value&&!this.already(e,e.prop,B)&&(this.checkForWarning(r,e),e.cloneBefore(),e.value=B)}already(e,r,n){return e.parent.some(s=>s.prop===r&&s.value===n)}checkForWarning(e,r){if(r.prop!=="transition-property")return;let n=!1,s=!1;r.parent.each(o=>{if(o.type!=="decl"||o.prop.indexOf("transition-")!==0)return;let i=T6.comma(o.value);if(o.prop==="transition-property"){i.forEach(a=>{let l=this.prefixes.add[a];l&&l.prefixes&&l.prefixes.length>0&&(n=!0)});return}return s=s||i.length>1,!1}),n&&s&&r.warn(e,"Replace transition-property to transition, because Autoprefixer could not support any cases of transition-property and other transition-*")}cleanFromUnprefixed(e,r){let n=e.map(o=>this.findProp(o)).filter(o=>o.slice(0,r.length)===r).map(o=>this.prefixes.unprefixed(o)),s=[];for(let o of e){let i=this.findProp(o),a=S1.prefix(i);!n.includes(i)&&(a===r||a==="")&&s.push(o)}return s}cleanOtherPrefixes(e,r){return e.filter(n=>{let s=S1.prefix(this.findProp(n));return s===""||s===r})}clone(e,r,n){let s=[],o=!1;for(let i of n)!o&&i.type==="word"&&i.value===e?(s.push({type:"word",value:r}),o=!0):s.push(i);return s}cloneBefore(e,r,n){this.already(e,r,n)||e.cloneBefore({prop:r,value:n})}disabled(e,r){let n=["order","justify-content","align-self","align-content"];if(e.includes("flex")||n.includes(e)){if(this.prefixes.options.flexbox===!1)return!0;if(this.prefixes.options.flexbox==="no-2009")return r.includes("2009")}}div(e){for(let r of e)for(let n of r)if(n.type==="div"&&n.value===",")return n;return{after:" ",type:"div",value:","}}findProp(e){let r=e[0].value;if(/^\d/.test(r)){for(let[n,s]of e.entries())if(n!==0&&s.type==="word")return s.value}return r}parse(e){let r=x1(e),n=[],s=[];for(let o of r.nodes)s.push(o),o.type==="div"&&o.value===","&&(n.push(s),s=[]);return n.push(s),n.filter(o=>o.length>0)}remove(e){let r=this.parse(e.value);r=r.filter(i=>{let a=this.prefixes.remove[this.findProp(i)];return!a||!a.remove});let n=this.stringify(r);if(e.value===n)return;if(r.length===0){e.remove();return}let s=e.parent.some(i=>i.prop===e.prop&&i.value===n),o=e.parent.some(i=>i!==e&&i.prop===e.prop&&i.value.length>n.length);if(s||o){e.remove();return}e.value=n}ruleVendorPrefixes(e){let{parent:r}=e;if(r.type!=="rule")return!1;if(!r.selector.includes(":-"))return!1;let n=I6.prefixes().filter(s=>r.selector.includes(":"+s));return n.length>0?n:!1}stringify(e){if(e.length===0)return"";let r=[];for(let n of e)n[n.length-1].type!=="div"&&n.push(this.div(e)),r=r.concat(n);return r[0].type==="div"&&(r=r.slice(1)),r[r.length-1].type==="div"&&(r=r.slice(0,-1)),x1.stringify({nodes:r})}};k1.exports=XB});var Cs=N((dz,A1)=>{p();d();f();var L6=Ye(),ZB=class{constructor(e,r,n,s){this.unprefixed=e,this.prefixed=r,this.string=n||r,this.regexp=s||L6.regexp(r)}check(e){return e.includes(this.string)?!!e.match(this.regexp):!1}};A1.exports=ZB});var Mt=N((gz,N1)=>{p();d();f();var R6=fs(),F6=Cs(),M6=bi(),_6=Ye(),$B=class extends R6{static save(e,r){let n=r.prop,s=[];for(let o in r._autoprefixerValues){let i=r._autoprefixerValues[o];if(i===r.value)continue;let a,l=M6.prefix(n);if(l==="-pie-")continue;if(l===o){a=r.value=i,s.push(a);continue}let u=e.prefixed(n,o),c=r.parent;if(!c.every(v=>v.prop!==u)){s.push(a);continue}let B=i.replace(/\s+/," ");if(c.some(v=>v.prop===r.prop&&v.value.replace(/\s+/," ")===B)){s.push(a);continue}let g=this.clone(r,{value:i});a=r.parent.insertBefore(r,g),s.push(a)}return s}add(e,r){e._autoprefixerValues||(e._autoprefixerValues={});let n=e._autoprefixerValues[r]||this.value(e),s;do if(s=n,n=this.replace(n,r),n===!1)return;while(n!==s);e._autoprefixerValues[r]=n}check(e){let r=e.value;return r.includes(this.name)?!!r.match(this.regexp()):!1}old(e){return new F6(this.name,e+this.name)}regexp(){return this.regexpCache||(this.regexpCache=_6.regexp(this.name))}replace(e,r){return e.replace(this.regexp(),`$1${r}$2`)}value(e){return e.raws.value&&e.raws.value.value===e.value?e.raws.value.raw:e.value}};N1.exports=$B});var nn=N(lt=>{p();d();f();var At=He(),hs=en().list,E1=Ye().uniq,q6=Ye().escapeRegexp,ec=Ye().splitSelector;function O1(t){return t&&t.length===2&&t[0]==="span"&&parseInt(t[1],10)>0?[!1,parseInt(t[1],10)]:t&&t.length===1&&parseInt(t[0],10)>0?[parseInt(t[0],10),!1]:[!1,!1]}lt.translate=V6;function V6(t,e,r){let n=t[e],s=t[r];if(!n)return[!1,!1];let[o,i]=O1(n),[a,l]=O1(s);return o&&!s?[o,!1]:i&&a?[a-i,i]:o&&l?[o,l]:o&&a?[o,a-o]:[!1,!1]}lt.parse=U6;function U6(t){let e=At(t.value),r=[],n=0;r[n]=[];for(let s of e.nodes)s.type==="div"?(n+=1,r[n]=[]):s.type==="word"&&r[n].push(s.value);return r}lt.insertDecl=W6;function W6(t,e,r){r&&!t.parent.some(n=>n.prop===`-ms-${e}`)&&t.cloneBefore({prop:`-ms-${e}`,value:r.toString()})}lt.prefixTrackProp=G6;function G6({prefix:t,prop:e}){return t+e.replace("template-","")}function H6({nodes:t},{gap:e}){let{count:r,size:n}=t.reduce((s,o)=>(o.type==="div"&&o.value===","?s.key="size":s[s.key].push(At.stringify(o)),s),{count:[],key:"count",size:[]});if(e){n=n.filter(o=>o.trim());let s=[];for(let o=1;o<=r;o++)n.forEach((i,a)=>{(a>0||o>1)&&s.push(e),s.push(i)});return s.join(" ")}return`(${n.join("")})[${r.join("")}]`}lt.prefixTrackValue=tc;function tc({gap:t,value:e}){let r=At(e).nodes.reduce((n,s)=>s.type==="function"&&s.value==="repeat"?n.concat({type:"word",value:H6(s,{gap:t})}):t&&s.type==="space"?n.concat({type:"space",value:" "},{type:"word",value:t},s):n.concat(s),[]);return At.stringify(r)}var z6=/^\.+$/;function T1(t,e){return{end:e,span:e-t,start:t}}function j6(t){return t.trim().split(/\s+/g)}lt.parseGridAreas=rc;function rc({gap:t,rows:e}){return e.reduce((r,n,s)=>(t.row&&(s*=2),n.trim()===""||j6(n).forEach((o,i)=>{if(!z6.test(o))if(t.column&&(i*=2),typeof r[o]>"u")r[o]={column:T1(i+1,i+2),row:T1(s+1,s+2)};else{let{column:a,row:l}=r[o];a.start=Math.min(a.start,i+1),a.end=Math.max(a.end,i+2),a.span=a.end-a.start,l.start=Math.min(l.start,s+1),l.end=Math.max(l.end,s+2),l.span=l.end-l.start}}),r),{})}function Q6(t){return t.type==="word"&&/^\[.+]$/.test(t.value)}function I1(t){return t.areas.length>t.rows.length&&t.rows.push("auto"),t}lt.parseTemplate=nc;function nc({decl:t,gap:e}){let r=At(t.value).nodes.reduce((n,s)=>{let{type:o,value:i}=s;return Q6(s)||o==="space"||(o==="string"&&(n=I1(n),n.areas.push(i)),(o==="word"||o==="function")&&n[n.key].push(At.stringify(s)),o==="div"&&i==="/"&&(n.key="columns",n=I1(n))),n},{areas:[],columns:[],key:"rows",rows:[]});return{areas:rc({gap:e,rows:r.areas}),columns:tc({gap:e.column,value:r.columns.join(" ")}),rows:tc({gap:e.row,value:r.rows.join(" ")})}}function ha(t,e=!1,r=!1){let n=[{prop:"-ms-grid-row",value:String(t.row.start)}];return(t.row.span>1||e)&&n.push({prop:"-ms-grid-row-span",value:String(t.row.span)}),n.push({prop:"-ms-grid-column",value:String(t.column.start)}),(t.column.span>1||r)&&n.push({prop:"-ms-grid-column-span",value:String(t.column.span)}),n}function xi(t){return t.type==="atrule"&&t.name==="media"?t:t.parent?xi(t.parent):!1}function L1(t,e){return t=t.map(r=>{let n=hs.space(r),s=hs.comma(r);return n.length>s.length&&(r=n.slice(-1).join("")),r}),t.map(r=>e.map((s,o)=>`${o===0?"":" "}${s} > ${r}`))}function R1(t,e){return t.selectors.some(r=>e.selectors.includes(r))}function J6(t){let e=[];return t.walkDecls(/grid-template(-areas)?$/,r=>{let n=r.parent,s=xi(n),o=ma(r),i=_1(r,o),{areas:a}=nc({decl:r,gap:i||o}),l=Object.keys(a);if(l.length===0)return!0;let u=e.reduce((c,{allAreas:B},h)=>B&&l.some(v=>B.includes(v))?h:c,null);if(u!==null){let{allAreas:c,rules:B}=e[u],h=B.some(w=>w.hasDuplicates===!1&&R1(w,n)),g=!1,v=B.reduce((w,y)=>!y.params&&R1(y,n)?(g=!0,y.duplicateAreaNames):(g||l.forEach(P=>{y.areas[P]&&w.push(P)}),E1(w)),[]);B.forEach(w=>{l.forEach(y=>{let P=w.areas[y];P&&P.row.span!==a[y].row.span&&(a[y].row.updateSpan=!0),P&&P.column.span!==a[y].column.span&&(a[y].column.updateSpan=!0)})}),e[u].allAreas=E1([...c,...l]),e[u].rules.push({areas:a,duplicateAreaNames:v,hasDuplicates:!h,node:n,params:s.params,selectors:n.selectors})}else e.push({allAreas:l,areasCount:0,rules:[{areas:a,duplicateAreaNames:[],duplicateRules:[],hasDuplicates:!1,node:n,params:s.params,selectors:n.selectors}]})}),e}lt.insertAreas=K6;function K6(t,e){let r=J6(t);if(r.length===0)return;let n={};t.walkDecls("grid-area",s=>{let o=s.parent,i=o.first.prop==="-ms-grid-row",a=xi(o);if(e(s))return;let l=t.index(a||o),u=s.value,c=r.filter(y=>y.allAreas.includes(u))[0];if(!c)return!0;let B=c.allAreas[c.allAreas.length-1],h=hs.space(o.selector),g=hs.comma(o.selector),v=h.length>1&&h.length>g.length;if(i)return!1;n[B]||(n[B]={});let w=!1;for(let y of c.rules){let P=y.areas[u],O=y.duplicateAreaNames.includes(u);if(!P){let E=n[B].lastRule,F;E?F=t.index(E):F=-1,l>F&&(n[B].lastRule=a||o);continue}if(y.params&&!n[B][y.params]&&(n[B][y.params]=[]),(!y.hasDuplicates||!O)&&!y.params)ha(P,!1,!1).reverse().forEach(E=>o.prepend(Object.assign(E,{raws:{between:s.raws.between}}))),n[B].lastRule=o,w=!0;else if(y.hasDuplicates&&!y.params&&!v){let E=o.clone();E.removeAll(),ha(P,P.row.updateSpan,P.column.updateSpan).reverse().forEach(F=>E.prepend(Object.assign(F,{raws:{between:s.raws.between}}))),E.selectors=L1(E.selectors,y.selectors),n[B].lastRule&&n[B].lastRule.after(E),n[B].lastRule=E,w=!0}else if(y.hasDuplicates&&!y.params&&v&&o.selector.includes(y.selectors[0]))o.walkDecls(/-ms-grid-(row|column)/,E=>E.remove()),ha(P,P.row.updateSpan,P.column.updateSpan).reverse().forEach(E=>o.prepend(Object.assign(E,{raws:{between:s.raws.between}})));else if(y.params){let E=o.clone();E.removeAll(),ha(P,P.row.updateSpan,P.column.updateSpan).reverse().forEach(F=>E.prepend(Object.assign(F,{raws:{between:s.raws.between}}))),y.hasDuplicates&&O&&(E.selectors=L1(E.selectors,y.selectors)),E.raws=y.node.raws,t.index(y.node.parent)>l?y.node.parent.append(E):n[B][y.params].push(E),w||(n[B].lastRule=a||o)}}}),Object.keys(n).forEach(s=>{let o=n[s],i=o.lastRule;Object.keys(o).reverse().filter(a=>a!=="lastRule").forEach(a=>{o[a].length>0&&i&&(i.after({name:"media",params:a}),i.next().append(o[a]))})})}lt.warnMissedAreas=Y6;function Y6(t,e,r){let n=Object.keys(t);e.root().walkDecls("grid-area",s=>{n=n.filter(o=>o!==s.value)}),n.length>0&&e.warn(r,"Can not find grid areas: "+n.join(", "))}lt.warnTemplateSelectorNotFound=X6;function X6(t,e){let r=t.parent,n=t.root(),s=!1,o=hs.space(r.selector).filter(i=>i!==">").slice(0,-1);if(o.length>0){let i=!1,a=null;n.walkDecls(/grid-template(-areas)?$/,l=>{let u=l.parent,c=u.selectors,{areas:B}=nc({decl:l,gap:ma(l)}),h=B[t.value];for(let g of c){if(i)break;i=hs.space(g).filter(w=>w!==">").every((w,y)=>w===o[y])}if(i||!h)return!0;a||(a=u.selector),a&&a!==u.selector&&(s=!0)}),!i&&s&&t.warn(e,`Autoprefixer cannot find a grid-template containing the duplicate grid-area "${t.value}" with full selector matching: ${o.join(" ")}`)}}lt.warnIfGridRowColumnExists=Z6;function Z6(t,e){let r=t.parent,n=[];r.walkDecls(/^grid-(row|column)/,s=>{!s.prop.endsWith("-end")&&!s.value.startsWith("span")&&!s.prop.endsWith("-gap")&&n.push(s)}),n.length>0&&n.forEach(s=>{s.warn(e,`You already have a grid-area declaration present in the rule. You should use either grid-area or ${s.prop}, not both`)})}lt.getGridGap=ma;function ma(t){let e={},r=/^(grid-)?((row|column)-)?gap$/;return t.parent.walkDecls(r,({prop:n,value:s})=>{if(/^(grid-)?gap$/.test(n)){let[o,,i]=At(s).nodes;e.row=o&&At.stringify(o),e.column=i?At.stringify(i):e.row}/^(grid-)?row-gap$/.test(n)&&(e.row=s),/^(grid-)?column-gap$/.test(n)&&(e.column=s)}),e}function F1(t){if(!t)return[];let e=At(t),r,n;return e.walk(s=>{s.type==="word"&&/min|max/g.test(s.value)?r=s.value:s.value.includes("px")&&(n=parseInt(s.value.replace(/\D/g,"")))}),[r,n]}function $6(t,e){let r,n=ec(t),s=ec(e);if(n[0].length<s[0].length)return!1;if(n[0].length>s[0].length){let o=n[0].reduce((i,[a],l)=>{let u=s[0][0][0];return a===u?l:!1},!1);o&&(r=s[0].every((i,a)=>i.every((l,u)=>n[0].slice(o)[a][u]===l)))}else r=s.some(o=>o.every((i,a)=>i.every((l,u)=>n[0][a][u]===l)));return r}lt.inheritGridGap=_1;function _1(t,e){let r=t.parent,n=xi(r),s=r.root(),o=ec(r.selector);if(Object.keys(e).length>0)return!1;let[i]=F1(n.params),a=o[0],l=q6(a[a.length-1][0]),u=new RegExp(`(${l}$)|(${l}[,.])`),c;return s.walkRules(u,B=>{let h;if(r.toString()===B.toString())return!1;if(B.walkDecls("grid-gap",v=>h=ma(v)),!h||Object.keys(h).length===0||!$6(r.selector,B.selector))return!0;let g=xi(B);if(g){if(F1(g.params)[0]===i)return c=h,!0}else return c=h,!0}),c&&Object.keys(c).length>0?c:!1}lt.warnGridGap=eP;function eP({decl:t,gap:e,hasColumns:r,result:n}){let s=e.row&&e.column;!r&&(s||e.column&&!e.row)&&(delete e.column,t.warn(n,"Can not implement grid-gap without grid-template-columns"))}function M1(t){return At(t).nodes.reduce((r,n)=>{if(n.type==="function"&&n.value==="repeat"){let s="count",[o,i]=n.nodes.reduce((a,l)=>l.type==="word"&&s==="count"?(a[0]=Math.abs(parseInt(l.value)),a):l.type==="div"&&l.value===","?(s="value",a):(s==="value"&&(a[1]+=At.stringify(l)),a),[0,""]);if(o)for(let a=0;a<o;a++)r.push(i);return r}return n.type==="space"?r:r.concat(At.stringify(n))},[])}lt.autoplaceGridItems=tP;function tP(t,e,r,n="row"){let{parent:s}=t,o=s.nodes.find(h=>h.prop==="grid-template-rows"),i=M1(o.value),a=M1(t.value),l=i.map((h,g)=>Array.from({length:a.length},(v,w)=>w+g*a.length+1).join(" ")),u=rc({gap:r,rows:l}),c=Object.keys(u),B=c.map(h=>u[h]);n.includes("column")&&(B=B.sort((h,g)=>h.column.start-g.column.start)),B.reverse().forEach((h,g)=>{let{column:v,row:w}=h,y=s.selectors.map(O=>O+` > *:nth-child(${c.length-g})`).join(", "),P=s.clone().removeAll();P.selector=y,P.append({prop:"-ms-grid-row",value:w.start}),P.append({prop:"-ms-grid-column",value:v.start}),s.after(P)})}});var oc=N((kz,V1)=>{p();d();f();var q1=He(),rP=Mt(),nP=nn().insertAreas,sP=/(^|[^-])linear-gradient\(\s*(top|left|right|bottom)/i,iP=/(^|[^-])radial-gradient\(\s*\d+(\w*|%)\s+\d+(\w*|%)\s*,/i,oP=/(!\s*)?autoprefixer:\s*ignore\s+next/i,aP=/(!\s*)?autoprefixer\s*grid:\s*(on|off|(no-)?autoplace)/i,lP=["width","height","min-width","max-width","min-height","max-height","inline-size","min-inline-size","max-inline-size","block-size","min-block-size","max-block-size"];function sc(t){return t.parent.some(e=>e.prop==="grid-template"||e.prop==="grid-template-areas")}function uP(t){let e=t.parent.some(n=>n.prop==="grid-template-rows"),r=t.parent.some(n=>n.prop==="grid-template-columns");return e&&r}var ic=class{constructor(e){this.prefixes=e}add(e,r){let n=this.prefixes.add["@resolution"],s=this.prefixes.add["@keyframes"],o=this.prefixes.add["@viewport"],i=this.prefixes.add["@supports"];e.walkAtRules(u=>{if(u.name==="keyframes"){if(!this.disabled(u,r))return s&&s.process(u)}else if(u.name==="viewport"){if(!this.disabled(u,r))return o&&o.process(u)}else if(u.name==="supports"){if(this.prefixes.options.supports!==!1&&!this.disabled(u,r))return i.process(u)}else if(u.name==="media"&&u.params.includes("-resolution")&&!this.disabled(u,r))return n&&n.process(u)}),e.walkRules(u=>{if(!this.disabled(u,r))return this.prefixes.add.selectors.map(c=>c.process(u,r))});function a(u){return u.parent.nodes.some(c=>{if(c.type!=="decl")return!1;let B=c.prop==="display"&&/(inline-)?grid/.test(c.value),h=c.prop.startsWith("grid-template"),g=/^grid-([A-z]+-)?gap/.test(c.prop);return B||h||g})}let l=this.gridStatus(e,r)&&this.prefixes.add["grid-area"]&&this.prefixes.add["grid-area"].prefixes;return e.walkDecls(u=>{if(this.disabledDecl(u,r))return;let c=u.parent,B=u.prop,h=u.value;if(B==="color-adjust")c.every(v=>v.prop!=="print-color-adjust")&&r.warn("Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.",{node:u});else if(B==="grid-row-span"){r.warn("grid-row-span is not part of final Grid Layout. Use grid-row.",{node:u});return}else if(B==="grid-column-span"){r.warn("grid-column-span is not part of final Grid Layout. Use grid-column.",{node:u});return}else if(B==="display"&&h==="box"){r.warn("You should write display: flex by final spec instead of display: box",{node:u});return}else if(B==="text-emphasis-position")(h==="under"||h==="over")&&r.warn("You should use 2 values for text-emphasis-position For example, `under left` instead of just `under`.",{node:u});else if(B==="text-decoration-skip"&&h==="ink")r.warn("Replace text-decoration-skip: ink to text-decoration-skip-ink: auto, because spec had been changed",{node:u});else{if(l&&this.gridStatus(u,r))if(u.value==="subgrid"&&r.warn("IE does not support subgrid",{node:u}),/^(align|justify|place)-items$/.test(B)&&a(u)){let v=B.replace("-items","-self");r.warn(`IE does not support ${B} on grid containers. Try using ${v} on child elements instead: ${u.parent.selector} > * { ${v}: ${u.value} }`,{node:u})}else if(/^(align|justify|place)-content$/.test(B)&&a(u))r.warn(`IE does not support ${u.prop} on grid containers`,{node:u});else if(B==="display"&&u.value==="contents"){r.warn("Please do not use display: contents; if you have grid setting enabled",{node:u});return}else if(u.prop==="grid-gap"){let v=this.gridStatus(u,r);v==="autoplace"&&!uP(u)&&!sc(u)?r.warn("grid-gap only works if grid-template(-areas) is being used or both rows and columns have been declared and cells have not been manually placed inside the explicit grid",{node:u}):(v===!0||v==="no-autoplace")&&!sc(u)&&r.warn("grid-gap only works if grid-template(-areas) is being used",{node:u})}else if(B==="grid-auto-columns"){r.warn("grid-auto-columns is not supported by IE",{node:u});return}else if(B==="grid-auto-rows"){r.warn("grid-auto-rows is not supported by IE",{node:u});return}else if(B==="grid-auto-flow"){let v=c.some(y=>y.prop==="grid-template-rows"),w=c.some(y=>y.prop==="grid-template-columns");sc(u)?r.warn("grid-auto-flow is not supported by IE",{node:u}):h.includes("dense")?r.warn("grid-auto-flow: dense is not supported by IE",{node:u}):!v&&!w&&r.warn("grid-auto-flow works only if grid-template-rows and grid-template-columns are present in the same rule",{node:u});return}else if(h.includes("auto-fit")){r.warn("auto-fit value is not supported by IE",{node:u,word:"auto-fit"});return}else if(h.includes("auto-fill")){r.warn("auto-fill value is not supported by IE",{node:u,word:"auto-fill"});return}else B.startsWith("grid-template")&&h.includes("[")&&r.warn("Autoprefixer currently does not support line names. Try using grid-template-areas instead.",{node:u,word:"["});if(h.includes("radial-gradient"))if(iP.test(u.value))r.warn("Gradient has outdated direction syntax. New syntax is like `closest-side at 0 0` instead of `0 0, closest-side`.",{node:u});else{let v=q1(h);for(let w of v.nodes)if(w.type==="function"&&w.value==="radial-gradient")for(let y of w.nodes)y.type==="word"&&(y.value==="cover"?r.warn("Gradient has outdated direction syntax. Replace `cover` to `farthest-corner`.",{node:u}):y.value==="contain"&&r.warn("Gradient has outdated direction syntax. Replace `contain` to `closest-side`.",{node:u}))}h.includes("linear-gradient")&&sP.test(h)&&r.warn("Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`.",{node:u})}lP.includes(u.prop)&&(u.value.includes("-fill-available")||(u.value.includes("fill-available")?r.warn("Replace fill-available to stretch, because spec had been changed",{node:u}):u.value.includes("fill")&&q1(h).nodes.some(w=>w.type==="word"&&w.value==="fill")&&r.warn("Replace fill to stretch, because spec had been changed",{node:u})));let g;if(u.prop==="transition"||u.prop==="transition-property")return this.prefixes.transition.add(u,r);if(u.prop==="align-self"){if(this.displayType(u)!=="grid"&&this.prefixes.options.flexbox!==!1&&(g=this.prefixes.add["align-self"],g&&g.prefixes&&g.process(u)),this.gridStatus(u,r)!==!1&&(g=this.prefixes.add["grid-row-align"],g&&g.prefixes))return g.process(u,r)}else if(u.prop==="justify-self"){if(this.gridStatus(u,r)!==!1&&(g=this.prefixes.add["grid-column-align"],g&&g.prefixes))return g.process(u,r)}else if(u.prop==="place-self"){if(g=this.prefixes.add["place-self"],g&&g.prefixes&&this.gridStatus(u,r)!==!1)return g.process(u,r)}else if(g=this.prefixes.add[u.prop],g&&g.prefixes)return g.process(u,r)}),this.gridStatus(e,r)&&nP(e,this.disabled),e.walkDecls(u=>{if(this.disabledValue(u,r))return;let c=this.prefixes.unprefixed(u.prop),B=this.prefixes.values("add",c);if(Array.isArray(B))for(let h of B)h.process&&h.process(u,r);rP.save(this.prefixes,u)})}disabled(e,r){if(!e)return!1;if(e._autoprefixerDisabled!==void 0)return e._autoprefixerDisabled;if(e.parent){let s=e.prev();if(s&&s.type==="comment"&&oP.test(s.text))return e._autoprefixerDisabled=!0,e._autoprefixerSelfDisabled=!0,!0}let n=null;if(e.nodes){let s;e.each(o=>{o.type==="comment"&&/(!\s*)?autoprefixer:\s*(off|on)/i.test(o.text)&&(typeof s<"u"?r.warn("Second Autoprefixer control comment was ignored. Autoprefixer applies control comment to whole block, not to next rules.",{node:o}):s=/on/i.test(o.text))}),s!==void 0&&(n=!s)}if(!e.nodes||n===null)if(e.parent){let s=this.disabled(e.parent,r);e.parent._autoprefixerSelfDisabled===!0?n=!1:n=s}else n=!1;return e._autoprefixerDisabled=n,n}disabledDecl(e,r){if(e.type==="decl"&&this.gridStatus(e,r)===!1&&(e.prop.includes("grid")||e.prop==="justify-items"))return!0;if(e.type==="decl"&&this.prefixes.options.flexbox===!1){let n=["order","justify-content","align-items","align-content"];if(e.prop.includes("flex")||n.includes(e.prop))return!0}return this.disabled(e,r)}disabledValue(e,r){return this.gridStatus(e,r)===!1&&e.type==="decl"&&e.prop==="display"&&e.value.includes("grid")||this.prefixes.options.flexbox===!1&&e.type==="decl"&&e.prop==="display"&&e.value.includes("flex")||e.type==="decl"&&e.prop==="content"?!0:this.disabled(e,r)}displayType(e){for(let r of e.parent.nodes)if(r.prop==="display"){if(r.value.includes("flex"))return"flex";if(r.value.includes("grid"))return"grid"}return!1}gridStatus(e,r){if(!e)return!1;if(e._autoprefixerGridStatus!==void 0)return e._autoprefixerGridStatus;let n=null;if(e.nodes){let s;e.each(o=>{if(o.type==="comment"&&aP.test(o.text)){let i=/:\s*autoplace/i.test(o.text),a=/no-autoplace/i.test(o.text);typeof s<"u"?r.warn("Second Autoprefixer grid control comment was ignored. Autoprefixer applies control comments to the whole block, not to the next rules.",{node:o}):i?s="autoplace":a?s=!0:s=/on/i.test(o.text)}}),s!==void 0&&(n=s)}if(e.type==="atrule"&&e.name==="supports"){let s=e.params;s.includes("grid")&&s.includes("auto")&&(n=!1)}if(!e.nodes||n===null)if(e.parent){let s=this.gridStatus(e.parent,r);e.parent._autoprefixerSelfDisabled===!0?n=!1:n=s}else typeof this.prefixes.options.grid<"u"?n=this.prefixes.options.grid:typeof x.env.AUTOPREFIXER_GRID<"u"?x.env.AUTOPREFIXER_GRID==="autoplace"?n="autoplace":n=!0:n=!1;return e._autoprefixerGridStatus=n,n}reduceSpaces(e){let r=!1;if(this.prefixes.group(e).up(()=>(r=!0,!0)),r)return;let n=e.raw("before").split(`
|
|
33
|
+
`)}set(e,r){return e.prop=this.prefixed(e.prop,r),e}};o1.exports=UB});var l1=N((Di,a1)=>{p();d();f();(function(t){"use strict";var e=2e3,r={s:1,n:0,d:1};function n(w,y){if(isNaN(w=parseInt(w,10)))throw g();return w*y}function s(w,y){if(y===0)throw h();var P=Object.create(B.prototype);P.s=w<0?-1:1,w=w<0?-w:w;var O=c(w,y);return P.n=w/O,P.d=y/O,P}function o(w){for(var y={},P=w,O=2,E=4;E<=P;){for(;P%O===0;)P/=O,y[O]=(y[O]||0)+1;E+=1+2*O++}return P!==w?P>1&&(y[P]=(y[P]||0)+1):y[w]=(y[w]||0)+1,y}var i=function(w,y){var P=0,O=1,E=1,F=0,q=0,ye=0,ae=1,ue=1,J=0,Z=1,Lt=1,$e=1,kt=1e7,Rt;if(w!=null)if(y!==void 0){if(P=w,O=y,E=P*O,P%1!==0||O%1!==0)throw v()}else switch(typeof w){case"object":{if("d"in w&&"n"in w)P=w.n,O=w.d,"s"in w&&(P*=w.s);else if(0 in w)P=w[0],1 in w&&(O=w[1]);else throw g();E=P*O;break}case"number":{if(w<0&&(E=w,w=-w),w%1===0)P=w;else if(w>0){for(w>=1&&(ue=Math.pow(10,Math.floor(1+Math.log(w)/Math.LN10)),w/=ue);Z<=kt&&$e<=kt;)if(Rt=(J+Lt)/(Z+$e),w===Rt){Z+$e<=kt?(P=J+Lt,O=Z+$e):$e>Z?(P=Lt,O=$e):(P=J,O=Z);break}else w>Rt?(J+=Lt,Z+=$e):(Lt+=J,$e+=Z),Z>kt?(P=Lt,O=$e):(P=J,O=Z);P*=ue}else(isNaN(w)||isNaN(y))&&(O=P=NaN);break}case"string":{if(Z=w.match(/\d+|./g),Z===null)throw g();if(Z[J]==="-"?(E=-1,J++):Z[J]==="+"&&J++,Z.length===J+1?q=n(Z[J++],E):Z[J+1]==="."||Z[J]==="."?(Z[J]!=="."&&(F=n(Z[J++],E)),J++,(J+1===Z.length||Z[J+1]==="("&&Z[J+3]===")"||Z[J+1]==="'"&&Z[J+3]==="'")&&(q=n(Z[J],E),ae=Math.pow(10,Z[J].length),J++),(Z[J]==="("&&Z[J+2]===")"||Z[J]==="'"&&Z[J+2]==="'")&&(ye=n(Z[J+1],E),ue=Math.pow(10,Z[J+1].length)-1,J+=3)):Z[J+1]==="/"||Z[J+1]===":"?(q=n(Z[J],E),ae=n(Z[J+2],1),J+=3):Z[J+3]==="/"&&Z[J+1]===" "&&(F=n(Z[J],E),q=n(Z[J+2],E),ae=n(Z[J+4],1),J+=5),Z.length<=J){O=ae*ue,E=P=ye+O*F+ue*q;break}}default:throw g()}if(O===0)throw h();r.s=E<0?-1:1,r.n=Math.abs(P),r.d=Math.abs(O)};function a(w,y,P){for(var O=1;y>0;w=w*w%P,y>>=1)y&1&&(O=O*w%P);return O}function l(w,y){for(;y%2===0;y/=2);for(;y%5===0;y/=5);if(y===1)return 0;for(var P=10%y,O=1;P!==1;O++)if(P=P*10%y,O>e)return 0;return O}function u(w,y,P){for(var O=1,E=a(10,P,y),F=0;F<300;F++){if(O===E)return F;O=O*10%y,E=E*10%y}return 0}function c(w,y){if(!w)return y;if(!y)return w;for(;;){if(w%=y,!w)return y;if(y%=w,!y)return w}}function B(w,y){if(i(w,y),this instanceof B)w=c(r.d,r.n),this.s=r.s,this.n=r.n/w,this.d=r.d/w;else return s(r.s*r.n,r.d)}var h=function(){return new Error("Division by Zero")},g=function(){return new Error("Invalid argument")},v=function(){return new Error("Parameters must be integer")};B.prototype={s:1,n:0,d:1,abs:function(){return s(this.n,this.d)},neg:function(){return s(-this.s*this.n,this.d)},add:function(w,y){return i(w,y),s(this.s*this.n*r.d+r.s*this.d*r.n,this.d*r.d)},sub:function(w,y){return i(w,y),s(this.s*this.n*r.d-r.s*this.d*r.n,this.d*r.d)},mul:function(w,y){return i(w,y),s(this.s*r.s*this.n*r.n,this.d*r.d)},div:function(w,y){return i(w,y),s(this.s*r.s*this.n*r.d,this.d*r.n)},clone:function(){return s(this.s*this.n,this.d)},mod:function(w,y){if(isNaN(this.n)||isNaN(this.d))return new B(NaN);if(w===void 0)return s(this.s*this.n%this.d,1);if(i(w,y),r.n===0&&this.d===0)throw h();return s(this.s*(r.d*this.n)%(r.n*this.d),r.d*this.d)},gcd:function(w,y){return i(w,y),s(c(r.n,this.n)*c(r.d,this.d),r.d*this.d)},lcm:function(w,y){return i(w,y),r.n===0&&this.n===0?s(0,1):s(r.n*this.n,c(r.n,this.n)*c(r.d,this.d))},ceil:function(w){return w=Math.pow(10,w||0),isNaN(this.n)||isNaN(this.d)?new B(NaN):s(Math.ceil(w*this.s*this.n/this.d),w)},floor:function(w){return w=Math.pow(10,w||0),isNaN(this.n)||isNaN(this.d)?new B(NaN):s(Math.floor(w*this.s*this.n/this.d),w)},round:function(w){return w=Math.pow(10,w||0),isNaN(this.n)||isNaN(this.d)?new B(NaN):s(Math.round(w*this.s*this.n/this.d),w)},roundTo:function(w,y){return i(w,y),s(this.s*Math.round(this.n*r.d/(this.d*r.n))*r.n,r.d)},inverse:function(){return s(this.s*this.d,this.n)},pow:function(w,y){if(i(w,y),r.d===1)return r.s<0?s(Math.pow(this.s*this.d,r.n),Math.pow(this.n,r.n)):s(Math.pow(this.s*this.n,r.n),Math.pow(this.d,r.n));if(this.s<0)return null;var P=o(this.n),O=o(this.d),E=1,F=1;for(var q in P)if(q!=="1"){if(q==="0"){E=0;break}if(P[q]*=r.n,P[q]%r.d===0)P[q]/=r.d;else return null;E*=Math.pow(q,P[q])}for(var q in O)if(q!=="1"){if(O[q]*=r.n,O[q]%r.d===0)O[q]/=r.d;else return null;F*=Math.pow(q,O[q])}return r.s<0?s(F,E):s(E,F)},equals:function(w,y){return i(w,y),this.s*this.n*r.d===r.s*r.n*this.d},compare:function(w,y){i(w,y);var P=this.s*this.n*r.d-r.s*r.n*this.d;return(0<P)-(P<0)},simplify:function(w){if(isNaN(this.n)||isNaN(this.d))return this;w=w||.001;for(var y=this.abs(),P=y.toContinued(),O=1;O<P.length;O++){for(var E=s(P[O-1],1),F=O-2;F>=0;F--)E=E.inverse().add(P[F]);if(Math.abs(E.sub(y).valueOf())<w)return E.mul(this.s)}return this},divisible:function(w,y){return i(w,y),!(!(r.n*this.d)||this.n*r.d%(r.n*this.d))},valueOf:function(){return this.s*this.n/this.d},toFraction:function(w){var y,P="",O=this.n,E=this.d;return this.s<0&&(P+="-"),E===1?P+=O:(w&&(y=Math.floor(O/E))>0&&(P+=y,P+=" ",O%=E),P+=O,P+="/",P+=E),P},toLatex:function(w){var y,P="",O=this.n,E=this.d;return this.s<0&&(P+="-"),E===1?P+=O:(w&&(y=Math.floor(O/E))>0&&(P+=y,O%=E),P+="\\frac{",P+=O,P+="}{",P+=E,P+="}"),P},toContinued:function(){var w,y=this.n,P=this.d,O=[];if(isNaN(y)||isNaN(P))return O;do O.push(Math.floor(y/P)),w=y%P,y=P,P=w;while(y!==1);return O},toString:function(w){var y=this.n,P=this.d;if(isNaN(y)||isNaN(P))return"NaN";w=w||15;var O=l(y,P),E=u(y,P,O),F=this.s<0?"-":"";if(F+=y/P|0,y%=P,y*=10,y&&(F+="."),O){for(var q=E;q--;)F+=y/P|0,y%=P,y*=10;F+="(";for(var q=O;q--;)F+=y/P|0,y%=P,y*=10;F+=")"}else for(var q=w;y&&q--;)F+=y/P|0,y%=P,y*=10;return F}},typeof Di=="object"?(Object.defineProperty(Di,"__esModule",{value:!0}),Di.default=B,a1.exports=B):t.Fraction=B})(Di)});var B1=N((VH,u1)=>{p();d();f();var y6=l1(),w6=fs(),WB=Ye(),b6=/(min|max)-resolution\s*:\s*\d*\.?\d+(dppx|dpcm|dpi|x)/gi,D6=/(min|max)-resolution(\s*:\s*)(\d*\.?\d+)(dppx|dpcm|dpi|x)/i,GB=class extends w6{clean(e){if(!this.bad){this.bad=[];for(let r of this.prefixes)this.bad.push(this.prefixName(r,"min")),this.bad.push(this.prefixName(r,"max"))}e.params=WB.editList(e.params,r=>r.filter(n=>this.bad.every(s=>!n.includes(s))))}prefixName(e,r){return e==="-moz-"?r+"--moz-device-pixel-ratio":e+r+"-device-pixel-ratio"}prefixQuery(e,r,n,s,o){return s=new y6(s),o==="dpi"?s=s.div(96):o==="dpcm"&&(s=s.mul(2.54).div(96)),s=s.simplify(),e==="-o-"&&(s=s.n+"/"+s.d),this.prefixName(e,r)+n+s}process(e){let r=this.parentPrefix(e),n=r?[r]:this.prefixes;e.params=WB.editList(e.params,(s,o)=>{for(let i of s){if(!i.includes("min-resolution")&&!i.includes("max-resolution")){o.push(i);continue}for(let a of n){let l=i.replace(b6,u=>{let c=u.match(D6);return this.prefixQuery(a,c[1],c[2],c[3],c[4])});o.push(l)}o.push(i)}return WB.uniq(o)})}};u1.exports=GB});var p1=N((HH,c1)=>{p();d();f();var HB=40,zB=41,pa=39,jB=34,QB=92,ds=47,JB=44,KB=58,fa=42,x6=117,S6=85,k6=43,P6=/^[a-f0-9?-]+$/i;c1.exports=function(t){for(var e=[],r=t,n,s,o,i,a,l,u,c,B=0,h=r.charCodeAt(B),g=r.length,v=[{nodes:e}],w=0,y,P="",O="",E="";B<g;)if(h<=32){n=B;do n+=1,h=r.charCodeAt(n);while(h<=32);i=r.slice(B,n),o=e[e.length-1],h===zB&&w?E=i:o&&o.type==="div"?(o.after=i,o.sourceEndIndex+=i.length):h===JB||h===KB||h===ds&&r.charCodeAt(n+1)!==fa&&(!y||y&&y.type==="function"&&y.value!=="calc")?O=i:e.push({type:"space",sourceIndex:B,sourceEndIndex:n,value:i}),B=n}else if(h===pa||h===jB){n=B,s=h===pa?"'":'"',i={type:"string",sourceIndex:B,quote:s};do if(a=!1,n=r.indexOf(s,n+1),~n)for(l=n;r.charCodeAt(l-1)===QB;)l-=1,a=!a;else r+=s,n=r.length-1,i.unclosed=!0;while(a);i.value=r.slice(B+1,n),i.sourceEndIndex=i.unclosed?n:n+1,e.push(i),B=n+1,h=r.charCodeAt(B)}else if(h===ds&&r.charCodeAt(B+1)===fa)n=r.indexOf("*/",B),i={type:"comment",sourceIndex:B,sourceEndIndex:n+2},n===-1&&(i.unclosed=!0,n=r.length,i.sourceEndIndex=n),i.value=r.slice(B+2,n),e.push(i),B=n+2,h=r.charCodeAt(B);else if((h===ds||h===fa)&&y&&y.type==="function"&&y.value==="calc")i=r[B],e.push({type:"word",sourceIndex:B-O.length,sourceEndIndex:B+i.length,value:i}),B+=1,h=r.charCodeAt(B);else if(h===ds||h===JB||h===KB)i=r[B],e.push({type:"div",sourceIndex:B-O.length,sourceEndIndex:B+i.length,value:i,before:O,after:""}),O="",B+=1,h=r.charCodeAt(B);else if(HB===h){n=B;do n+=1,h=r.charCodeAt(n);while(h<=32);if(c=B,i={type:"function",sourceIndex:B-P.length,value:P,before:r.slice(c+1,n)},B=n,P==="url"&&h!==pa&&h!==jB){n-=1;do if(a=!1,n=r.indexOf(")",n+1),~n)for(l=n;r.charCodeAt(l-1)===QB;)l-=1,a=!a;else r+=")",n=r.length-1,i.unclosed=!0;while(a);u=n;do u-=1,h=r.charCodeAt(u);while(h<=32);c<u?(B!==u+1?i.nodes=[{type:"word",sourceIndex:B,sourceEndIndex:u+1,value:r.slice(B,u+1)}]:i.nodes=[],i.unclosed&&u+1!==n?(i.after="",i.nodes.push({type:"space",sourceIndex:u+1,sourceEndIndex:n,value:r.slice(u+1,n)})):(i.after=r.slice(u+1,n),i.sourceEndIndex=n)):(i.after="",i.nodes=[]),B=n+1,i.sourceEndIndex=i.unclosed?n:B,h=r.charCodeAt(B),e.push(i)}else w+=1,i.after="",i.sourceEndIndex=B+1,e.push(i),v.push(i),e=i.nodes=[],y=i;P=""}else if(zB===h&&w)B+=1,h=r.charCodeAt(B),y.after=E,y.sourceEndIndex+=E.length,E="",w-=1,v[v.length-1].sourceEndIndex=B,v.pop(),y=v[w],e=y.nodes;else{n=B;do h===QB&&(n+=1),n+=1,h=r.charCodeAt(n);while(n<g&&!(h<=32||h===pa||h===jB||h===JB||h===KB||h===ds||h===HB||h===fa&&y&&y.type==="function"&&y.value==="calc"||h===ds&&y.type==="function"&&y.value==="calc"||h===zB&&w));i=r.slice(B,n),HB===h?P=i:(x6===i.charCodeAt(0)||S6===i.charCodeAt(0))&&k6===i.charCodeAt(1)&&P6.test(i.slice(2))?e.push({type:"unicode-range",sourceIndex:B,sourceEndIndex:n,value:i}):e.push({type:"word",sourceIndex:B,sourceEndIndex:n,value:i}),B=n}for(B=v.length-1;B;B-=1)v[B].unclosed=!0,v[B].sourceEndIndex=r.length;return v[0].nodes}});var d1=N((JH,f1)=>{p();d();f();f1.exports=function t(e,r,n){var s,o,i,a;for(s=0,o=e.length;s<o;s+=1)i=e[s],n||(a=r(i,s,e)),a!==!1&&i.type==="function"&&Array.isArray(i.nodes)&&t(i.nodes,r,n),n&&r(i,s,e)}});var g1=N((ZH,m1)=>{p();d();f();function C1(t,e){var r=t.type,n=t.value,s,o;return e&&(o=e(t))!==void 0?o:r==="word"||r==="space"?n:r==="string"?(s=t.quote||"",s+n+(t.unclosed?"":s)):r==="comment"?"/*"+n+(t.unclosed?"":"*/"):r==="div"?(t.before||"")+n+(t.after||""):Array.isArray(t.nodes)?(s=h1(t.nodes,e),r!=="function"?s:n+"("+(t.before||"")+s+(t.after||"")+(t.unclosed?"":")")):n}function h1(t,e){var r,n;if(Array.isArray(t)){for(r="",n=t.length-1;~n;n-=1)r=C1(t[n],e)+r;return r}return C1(t,e)}m1.exports=h1});var y1=N((rz,v1)=>{p();d();f();var da=45,Ca=43,YB=46,A6=101,N6=69;function E6(t){var e=t.charCodeAt(0),r;if(e===Ca||e===da){if(r=t.charCodeAt(1),r>=48&&r<=57)return!0;var n=t.charCodeAt(2);return r===YB&&n>=48&&n<=57}return e===YB?(r=t.charCodeAt(1),r>=48&&r<=57):e>=48&&e<=57}v1.exports=function(t){var e=0,r=t.length,n,s,o;if(r===0||!E6(t))return!1;for(n=t.charCodeAt(e),(n===Ca||n===da)&&e++;e<r&&(n=t.charCodeAt(e),!(n<48||n>57));)e+=1;if(n=t.charCodeAt(e),s=t.charCodeAt(e+1),n===YB&&s>=48&&s<=57)for(e+=2;e<r&&(n=t.charCodeAt(e),!(n<48||n>57));)e+=1;if(n=t.charCodeAt(e),s=t.charCodeAt(e+1),o=t.charCodeAt(e+2),(n===A6||n===N6)&&(s>=48&&s<=57||(s===Ca||s===da)&&o>=48&&o<=57))for(e+=s===Ca||s===da?3:2;e<r&&(n=t.charCodeAt(e),!(n<48||n>57));)e+=1;return{number:t.slice(0,e),unit:t.slice(e)}}});var He=N((oz,D1)=>{p();d();f();var O6=p1(),w1=d1(),b1=g1();function rn(t){return this instanceof rn?(this.nodes=O6(t),this):new rn(t)}rn.prototype.toString=function(){return Array.isArray(this.nodes)?b1(this.nodes):""};rn.prototype.walk=function(t,e){return w1(this.nodes,t,e),this};rn.unit=y1();rn.walk=w1;rn.stringify=b1;D1.exports=rn});var P1=N((Bz,k1)=>{p();d();f();var{list:T6}=en(),x1=He(),I6=tn(),S1=bi(),XB=class{constructor(e){this.props=["transition","transition-property"],this.prefixes=e}add(e,r){let n,s,o=this.prefixes.add[e.prop],i=this.ruleVendorPrefixes(e),a=i||o&&o.prefixes||[],l=this.parse(e.value),u=l.map(g=>this.findProp(g)),c=[];if(u.some(g=>g[0]==="-"))return;for(let g of l){if(s=this.findProp(g),s[0]==="-")continue;let v=this.prefixes.add[s];if(!(!v||!v.prefixes))for(n of v.prefixes){if(i&&!i.some(y=>n.includes(y)))continue;let w=this.prefixes.prefixed(s,n);w!=="-ms-transform"&&!u.includes(w)&&(this.disabled(s,n)||c.push(this.clone(s,w,g)))}}l=l.concat(c);let B=this.stringify(l),h=this.stringify(this.cleanFromUnprefixed(l,"-webkit-"));if(a.includes("-webkit-")&&this.cloneBefore(e,`-webkit-${e.prop}`,h),this.cloneBefore(e,e.prop,h),a.includes("-o-")){let g=this.stringify(this.cleanFromUnprefixed(l,"-o-"));this.cloneBefore(e,`-o-${e.prop}`,g)}for(n of a)if(n!=="-webkit-"&&n!=="-o-"){let g=this.stringify(this.cleanOtherPrefixes(l,n));this.cloneBefore(e,n+e.prop,g)}B!==e.value&&!this.already(e,e.prop,B)&&(this.checkForWarning(r,e),e.cloneBefore(),e.value=B)}already(e,r,n){return e.parent.some(s=>s.prop===r&&s.value===n)}checkForWarning(e,r){if(r.prop!=="transition-property")return;let n=!1,s=!1;r.parent.each(o=>{if(o.type!=="decl"||o.prop.indexOf("transition-")!==0)return;let i=T6.comma(o.value);if(o.prop==="transition-property"){i.forEach(a=>{let l=this.prefixes.add[a];l&&l.prefixes&&l.prefixes.length>0&&(n=!0)});return}return s=s||i.length>1,!1}),n&&s&&r.warn(e,"Replace transition-property to transition, because Autoprefixer could not support any cases of transition-property and other transition-*")}cleanFromUnprefixed(e,r){let n=e.map(o=>this.findProp(o)).filter(o=>o.slice(0,r.length)===r).map(o=>this.prefixes.unprefixed(o)),s=[];for(let o of e){let i=this.findProp(o),a=S1.prefix(i);!n.includes(i)&&(a===r||a==="")&&s.push(o)}return s}cleanOtherPrefixes(e,r){return e.filter(n=>{let s=S1.prefix(this.findProp(n));return s===""||s===r})}clone(e,r,n){let s=[],o=!1;for(let i of n)!o&&i.type==="word"&&i.value===e?(s.push({type:"word",value:r}),o=!0):s.push(i);return s}cloneBefore(e,r,n){this.already(e,r,n)||e.cloneBefore({prop:r,value:n})}disabled(e,r){let n=["order","justify-content","align-self","align-content"];if(e.includes("flex")||n.includes(e)){if(this.prefixes.options.flexbox===!1)return!0;if(this.prefixes.options.flexbox==="no-2009")return r.includes("2009")}}div(e){for(let r of e)for(let n of r)if(n.type==="div"&&n.value===",")return n;return{after:" ",type:"div",value:","}}findProp(e){let r=e[0].value;if(/^\d/.test(r)){for(let[n,s]of e.entries())if(n!==0&&s.type==="word")return s.value}return r}parse(e){let r=x1(e),n=[],s=[];for(let o of r.nodes)s.push(o),o.type==="div"&&o.value===","&&(n.push(s),s=[]);return n.push(s),n.filter(o=>o.length>0)}remove(e){let r=this.parse(e.value);r=r.filter(i=>{let a=this.prefixes.remove[this.findProp(i)];return!a||!a.remove});let n=this.stringify(r);if(e.value===n)return;if(r.length===0){e.remove();return}let s=e.parent.some(i=>i.prop===e.prop&&i.value===n),o=e.parent.some(i=>i!==e&&i.prop===e.prop&&i.value.length>n.length);if(s||o){e.remove();return}e.value=n}ruleVendorPrefixes(e){let{parent:r}=e;if(r.type!=="rule")return!1;if(!r.selector.includes(":-"))return!1;let n=I6.prefixes().filter(s=>r.selector.includes(":"+s));return n.length>0?n:!1}stringify(e){if(e.length===0)return"";let r=[];for(let n of e)n[n.length-1].type!=="div"&&n.push(this.div(e)),r=r.concat(n);return r[0].type==="div"&&(r=r.slice(1)),r[r.length-1].type==="div"&&(r=r.slice(0,-1)),x1.stringify({nodes:r})}};k1.exports=XB});var Cs=N((dz,A1)=>{p();d();f();var L6=Ye(),ZB=class{constructor(e,r,n,s){this.unprefixed=e,this.prefixed=r,this.string=n||r,this.regexp=s||L6.regexp(r)}check(e){return e.includes(this.string)?!!e.match(this.regexp):!1}};A1.exports=ZB});var Mt=N((gz,N1)=>{p();d();f();var R6=fs(),F6=Cs(),M6=bi(),_6=Ye(),$B=class extends R6{static save(e,r){let n=r.prop,s=[];for(let o in r._autoprefixerValues){let i=r._autoprefixerValues[o];if(i===r.value)continue;let a,l=M6.prefix(n);if(l==="-pie-")continue;if(l===o){a=r.value=i,s.push(a);continue}let u=e.prefixed(n,o),c=r.parent;if(!c.every(v=>v.prop!==u)){s.push(a);continue}let B=i.replace(/\s+/," ");if(c.some(v=>v.prop===r.prop&&v.value.replace(/\s+/," ")===B)){s.push(a);continue}let g=this.clone(r,{value:i});a=r.parent.insertBefore(r,g),s.push(a)}return s}add(e,r){e._autoprefixerValues||(e._autoprefixerValues={});let n=e._autoprefixerValues[r]||this.value(e),s;do if(s=n,n=this.replace(n,r),n===!1)return;while(n!==s);e._autoprefixerValues[r]=n}check(e){let r=e.value;return r.includes(this.name)?!!r.match(this.regexp()):!1}old(e){return new F6(this.name,e+this.name)}regexp(){return this.regexpCache||(this.regexpCache=_6.regexp(this.name))}replace(e,r){return e.replace(this.regexp(),`$1${r}$2`)}value(e){return e.raws.value&&e.raws.value.value===e.value?e.raws.value.raw:e.value}};N1.exports=$B});var nn=N(lt=>{p();d();f();var At=He(),hs=en().list,E1=Ye().uniq,q6=Ye().escapeRegexp,ec=Ye().splitSelector;function O1(t){return t&&t.length===2&&t[0]==="span"&&parseInt(t[1],10)>0?[!1,parseInt(t[1],10)]:t&&t.length===1&&parseInt(t[0],10)>0?[parseInt(t[0],10),!1]:[!1,!1]}lt.translate=V6;function V6(t,e,r){let n=t[e],s=t[r];if(!n)return[!1,!1];let[o,i]=O1(n),[a,l]=O1(s);return o&&!s?[o,!1]:i&&a?[a-i,i]:o&&l?[o,l]:o&&a?[o,a-o]:[!1,!1]}lt.parse=U6;function U6(t){let e=At(t.value),r=[],n=0;r[n]=[];for(let s of e.nodes)s.type==="div"?(n+=1,r[n]=[]):s.type==="word"&&r[n].push(s.value);return r}lt.insertDecl=W6;function W6(t,e,r){r&&!t.parent.some(n=>n.prop===`-ms-${e}`)&&t.cloneBefore({prop:`-ms-${e}`,value:r.toString()})}lt.prefixTrackProp=G6;function G6({prefix:t,prop:e}){return t+e.replace("template-","")}function H6({nodes:t},{gap:e}){let{count:r,size:n}=t.reduce((s,o)=>(o.type==="div"&&o.value===","?s.key="size":s[s.key].push(At.stringify(o)),s),{count:[],key:"count",size:[]});if(e){n=n.filter(o=>o.trim());let s=[];for(let o=1;o<=r;o++)n.forEach((i,a)=>{(a>0||o>1)&&s.push(e),s.push(i)});return s.join(" ")}return`(${n.join("")})[${r.join("")}]`}lt.prefixTrackValue=tc;function tc({gap:t,value:e}){let r=At(e).nodes.reduce((n,s)=>s.type==="function"&&s.value==="repeat"?n.concat({type:"word",value:H6(s,{gap:t})}):t&&s.type==="space"?n.concat({type:"space",value:" "},{type:"word",value:t},s):n.concat(s),[]);return At.stringify(r)}var z6=/^\.+$/;function T1(t,e){return{end:e,span:e-t,start:t}}function j6(t){return t.trim().split(/\s+/g)}lt.parseGridAreas=rc;function rc({gap:t,rows:e}){return e.reduce((r,n,s)=>(t.row&&(s*=2),n.trim()===""||j6(n).forEach((o,i)=>{if(!z6.test(o))if(t.column&&(i*=2),typeof r[o]>"u")r[o]={column:T1(i+1,i+2),row:T1(s+1,s+2)};else{let{column:a,row:l}=r[o];a.start=Math.min(a.start,i+1),a.end=Math.max(a.end,i+2),a.span=a.end-a.start,l.start=Math.min(l.start,s+1),l.end=Math.max(l.end,s+2),l.span=l.end-l.start}}),r),{})}function Q6(t){return t.type==="word"&&/^\[.+]$/.test(t.value)}function I1(t){return t.areas.length>t.rows.length&&t.rows.push("auto"),t}lt.parseTemplate=nc;function nc({decl:t,gap:e}){let r=At(t.value).nodes.reduce((n,s)=>{let{type:o,value:i}=s;return Q6(s)||o==="space"||(o==="string"&&(n=I1(n),n.areas.push(i)),(o==="word"||o==="function")&&n[n.key].push(At.stringify(s)),o==="div"&&i==="/"&&(n.key="columns",n=I1(n))),n},{areas:[],columns:[],key:"rows",rows:[]});return{areas:rc({gap:e,rows:r.areas}),columns:tc({gap:e.column,value:r.columns.join(" ")}),rows:tc({gap:e.row,value:r.rows.join(" ")})}}function ha(t,e=!1,r=!1){let n=[{prop:"-ms-grid-row",value:String(t.row.start)}];return(t.row.span>1||e)&&n.push({prop:"-ms-grid-row-span",value:String(t.row.span)}),n.push({prop:"-ms-grid-column",value:String(t.column.start)}),(t.column.span>1||r)&&n.push({prop:"-ms-grid-column-span",value:String(t.column.span)}),n}function xi(t){return t.type==="atrule"&&t.name==="media"?t:t.parent?xi(t.parent):!1}function L1(t,e){return t=t.map(r=>{let n=hs.space(r),s=hs.comma(r);return n.length>s.length&&(r=n.slice(-1).join("")),r}),t.map(r=>e.map((s,o)=>`${o===0?"":" "}${s} > ${r}`))}function R1(t,e){return t.selectors.some(r=>e.selectors.includes(r))}function J6(t){let e=[];return t.walkDecls(/grid-template(-areas)?$/,r=>{let n=r.parent,s=xi(n),o=ma(r),i=_1(r,o),{areas:a}=nc({decl:r,gap:i||o}),l=Object.keys(a);if(l.length===0)return!0;let u=e.reduce((c,{allAreas:B},h)=>B&&l.some(v=>B.includes(v))?h:c,null);if(u!==null){let{allAreas:c,rules:B}=e[u],h=B.some(w=>w.hasDuplicates===!1&&R1(w,n)),g=!1,v=B.reduce((w,y)=>!y.params&&R1(y,n)?(g=!0,y.duplicateAreaNames):(g||l.forEach(P=>{y.areas[P]&&w.push(P)}),E1(w)),[]);B.forEach(w=>{l.forEach(y=>{let P=w.areas[y];P&&P.row.span!==a[y].row.span&&(a[y].row.updateSpan=!0),P&&P.column.span!==a[y].column.span&&(a[y].column.updateSpan=!0)})}),e[u].allAreas=E1([...c,...l]),e[u].rules.push({areas:a,duplicateAreaNames:v,hasDuplicates:!h,node:n,params:s.params,selectors:n.selectors})}else e.push({allAreas:l,areasCount:0,rules:[{areas:a,duplicateAreaNames:[],duplicateRules:[],hasDuplicates:!1,node:n,params:s.params,selectors:n.selectors}]})}),e}lt.insertAreas=K6;function K6(t,e){let r=J6(t);if(r.length===0)return;let n={};t.walkDecls("grid-area",s=>{let o=s.parent,i=o.first.prop==="-ms-grid-row",a=xi(o);if(e(s))return;let l=t.index(a||o),u=s.value,c=r.filter(y=>y.allAreas.includes(u))[0];if(!c)return!0;let B=c.allAreas[c.allAreas.length-1],h=hs.space(o.selector),g=hs.comma(o.selector),v=h.length>1&&h.length>g.length;if(i)return!1;n[B]||(n[B]={});let w=!1;for(let y of c.rules){let P=y.areas[u],O=y.duplicateAreaNames.includes(u);if(!P){let E=n[B].lastRule,F;E?F=t.index(E):F=-1,l>F&&(n[B].lastRule=a||o);continue}if(y.params&&!n[B][y.params]&&(n[B][y.params]=[]),(!y.hasDuplicates||!O)&&!y.params)ha(P,!1,!1).reverse().forEach(E=>o.prepend(Object.assign(E,{raws:{between:s.raws.between}}))),n[B].lastRule=o,w=!0;else if(y.hasDuplicates&&!y.params&&!v){let E=o.clone();E.removeAll(),ha(P,P.row.updateSpan,P.column.updateSpan).reverse().forEach(F=>E.prepend(Object.assign(F,{raws:{between:s.raws.between}}))),E.selectors=L1(E.selectors,y.selectors),n[B].lastRule&&n[B].lastRule.after(E),n[B].lastRule=E,w=!0}else if(y.hasDuplicates&&!y.params&&v&&o.selector.includes(y.selectors[0]))o.walkDecls(/-ms-grid-(row|column)/,E=>E.remove()),ha(P,P.row.updateSpan,P.column.updateSpan).reverse().forEach(E=>o.prepend(Object.assign(E,{raws:{between:s.raws.between}})));else if(y.params){let E=o.clone();E.removeAll(),ha(P,P.row.updateSpan,P.column.updateSpan).reverse().forEach(F=>E.prepend(Object.assign(F,{raws:{between:s.raws.between}}))),y.hasDuplicates&&O&&(E.selectors=L1(E.selectors,y.selectors)),E.raws=y.node.raws,t.index(y.node.parent)>l?y.node.parent.append(E):n[B][y.params].push(E),w||(n[B].lastRule=a||o)}}}),Object.keys(n).forEach(s=>{let o=n[s],i=o.lastRule;Object.keys(o).reverse().filter(a=>a!=="lastRule").forEach(a=>{o[a].length>0&&i&&(i.after({name:"media",params:a}),i.next().append(o[a]))})})}lt.warnMissedAreas=Y6;function Y6(t,e,r){let n=Object.keys(t);e.root().walkDecls("grid-area",s=>{n=n.filter(o=>o!==s.value)}),n.length>0&&e.warn(r,"Can not find grid areas: "+n.join(", "))}lt.warnTemplateSelectorNotFound=X6;function X6(t,e){let r=t.parent,n=t.root(),s=!1,o=hs.space(r.selector).filter(i=>i!==">").slice(0,-1);if(o.length>0){let i=!1,a=null;n.walkDecls(/grid-template(-areas)?$/,l=>{let u=l.parent,c=u.selectors,{areas:B}=nc({decl:l,gap:ma(l)}),h=B[t.value];for(let g of c){if(i)break;i=hs.space(g).filter(w=>w!==">").every((w,y)=>w===o[y])}if(i||!h)return!0;a||(a=u.selector),a&&a!==u.selector&&(s=!0)}),!i&&s&&t.warn(e,`Autoprefixer cannot find a grid-template containing the duplicate grid-area "${t.value}" with full selector matching: ${o.join(" ")}`)}}lt.warnIfGridRowColumnExists=Z6;function Z6(t,e){let r=t.parent,n=[];r.walkDecls(/^grid-(row|column)/,s=>{!s.prop.endsWith("-end")&&!s.value.startsWith("span")&&!s.prop.endsWith("-gap")&&n.push(s)}),n.length>0&&n.forEach(s=>{s.warn(e,`You already have a grid-area declaration present in the rule. You should use either grid-area or ${s.prop}, not both`)})}lt.getGridGap=ma;function ma(t){let e={},r=/^(grid-)?((row|column)-)?gap$/;return t.parent.walkDecls(r,({prop:n,value:s})=>{if(/^(grid-)?gap$/.test(n)){let[o,,i]=At(s).nodes;e.row=o&&At.stringify(o),e.column=i?At.stringify(i):e.row}/^(grid-)?row-gap$/.test(n)&&(e.row=s),/^(grid-)?column-gap$/.test(n)&&(e.column=s)}),e}function F1(t){if(!t)return[];let e=At(t),r,n;return e.walk(s=>{s.type==="word"&&/min|max/g.test(s.value)?r=s.value:s.value.includes("px")&&(n=parseInt(s.value.replace(/\D/g,"")))}),[r,n]}function $6(t,e){let r,n=ec(t),s=ec(e);if(n[0].length<s[0].length)return!1;if(n[0].length>s[0].length){let o=n[0].reduce((i,[a],l)=>{let u=s[0][0][0];return a===u?l:!1},!1);o&&(r=s[0].every((i,a)=>i.every((l,u)=>n[0].slice(o)[a][u]===l)))}else r=s.some(o=>o.every((i,a)=>i.every((l,u)=>n[0][a][u]===l)));return r}lt.inheritGridGap=_1;function _1(t,e){let r=t.parent,n=xi(r),s=r.root(),o=ec(r.selector);if(Object.keys(e).length>0)return!1;let[i]=F1(n.params),a=o[0],l=q6(a[a.length-1][0]),u=new RegExp(`(${l}$)|(${l}[,.])`),c;return s.walkRules(u,B=>{let h;if(r.toString()===B.toString())return!1;if(B.walkDecls("grid-gap",v=>h=ma(v)),!h||Object.keys(h).length===0||!$6(r.selector,B.selector))return!0;let g=xi(B);if(g){if(F1(g.params)[0]===i)return c=h,!0}else return c=h,!0}),c&&Object.keys(c).length>0?c:!1}lt.warnGridGap=eP;function eP({decl:t,gap:e,hasColumns:r,result:n}){let s=e.row&&e.column;!r&&(s||e.column&&!e.row)&&(delete e.column,t.warn(n,"Can not implement grid-gap without grid-template-columns"))}function M1(t){return At(t).nodes.reduce((r,n)=>{if(n.type==="function"&&n.value==="repeat"){let s="count",[o,i]=n.nodes.reduce((a,l)=>l.type==="word"&&s==="count"?(a[0]=Math.abs(parseInt(l.value)),a):l.type==="div"&&l.value===","?(s="value",a):(s==="value"&&(a[1]+=At.stringify(l)),a),[0,""]);if(o)for(let a=0;a<o;a++)r.push(i);return r}return n.type==="space"?r:r.concat(At.stringify(n))},[])}lt.autoplaceGridItems=tP;function tP(t,e,r,n="row"){let{parent:s}=t,o=s.nodes.find(h=>h.prop==="grid-template-rows"),i=M1(o.value),a=M1(t.value),l=i.map((h,g)=>Array.from({length:a.length},(v,w)=>w+g*a.length+1).join(" ")),u=rc({gap:r,rows:l}),c=Object.keys(u),B=c.map(h=>u[h]);n.includes("column")&&(B=B.sort((h,g)=>h.column.start-g.column.start)),B.reverse().forEach((h,g)=>{let{column:v,row:w}=h,y=s.selectors.map(O=>O+` > *:nth-child(${c.length-g})`).join(", "),P=s.clone().removeAll();P.selector=y,P.append({prop:"-ms-grid-row",value:w.start}),P.append({prop:"-ms-grid-column",value:v.start}),s.after(P)})}});var oc=N((kz,V1)=>{p();d();f();var q1=He(),rP=Mt(),nP=nn().insertAreas,sP=/(^|[^-])linear-gradient\(\s*(top|left|right|bottom)/i,iP=/(^|[^-])radial-gradient\(\s*\d+(\w*|%)\s+\d+(\w*|%)\s*,/i,oP=/(!\s*)?autoprefixer:\s*ignore\s+next/i,aP=/(!\s*)?autoprefixer\s*grid:\s*(on|off|(no-)?autoplace)/i,lP=["width","height","min-width","max-width","min-height","max-height","inline-size","min-inline-size","max-inline-size","block-size","min-block-size","max-block-size"];function sc(t){return t.parent.some(e=>e.prop==="grid-template"||e.prop==="grid-template-areas")}function uP(t){let e=t.parent.some(n=>n.prop==="grid-template-rows"),r=t.parent.some(n=>n.prop==="grid-template-columns");return e&&r}var ic=class{constructor(e){this.prefixes=e}add(e,r){let n=this.prefixes.add["@resolution"],s=this.prefixes.add["@keyframes"],o=this.prefixes.add["@viewport"],i=this.prefixes.add["@supports"];e.walkAtRules(u=>{if(u.name==="keyframes"){if(!this.disabled(u,r))return s&&s.process(u)}else if(u.name==="viewport"){if(!this.disabled(u,r))return o&&o.process(u)}else if(u.name==="supports"){if(this.prefixes.options.supports!==!1&&!this.disabled(u,r))return i.process(u)}else if(u.name==="media"&&u.params.includes("-resolution")&&!this.disabled(u,r))return n&&n.process(u)}),e.walkRules(u=>{if(!this.disabled(u,r))return this.prefixes.add.selectors.map(c=>c.process(u,r))});function a(u){return u.parent.nodes.some(c=>{if(c.type!=="decl")return!1;let B=c.prop==="display"&&/(inline-)?grid/.test(c.value),h=c.prop.startsWith("grid-template"),g=/^grid-([A-z]+-)?gap/.test(c.prop);return B||h||g})}let l=this.gridStatus(e,r)&&this.prefixes.add["grid-area"]&&this.prefixes.add["grid-area"].prefixes;return e.walkDecls(u=>{if(this.disabledDecl(u,r))return;let c=u.parent,B=u.prop,h=u.value;if(B==="color-adjust")c.every(v=>v.prop!=="print-color-adjust")&&r.warn("Replace color-adjust to print-color-adjust. The color-adjust shorthand is currently deprecated.",{node:u});else if(B==="grid-row-span"){r.warn("grid-row-span is not part of final Grid Layout. Use grid-row.",{node:u});return}else if(B==="grid-column-span"){r.warn("grid-column-span is not part of final Grid Layout. Use grid-column.",{node:u});return}else if(B==="display"&&h==="box"){r.warn("You should write display: flex by final spec instead of display: box",{node:u});return}else if(B==="text-emphasis-position")(h==="under"||h==="over")&&r.warn("You should use 2 values for text-emphasis-position For example, `under left` instead of just `under`.",{node:u});else if(B==="text-decoration-skip"&&h==="ink")r.warn("Replace text-decoration-skip: ink to text-decoration-skip-ink: auto, because spec had been changed",{node:u});else{if(l&&this.gridStatus(u,r))if(u.value==="subgrid"&&r.warn("IE does not support subgrid",{node:u}),/^(align|justify|place)-items$/.test(B)&&a(u)){let v=B.replace("-items","-self");r.warn(`IE does not support ${B} on grid containers. Try using ${v} on child elements instead: ${u.parent.selector} > * { ${v}: ${u.value} }`,{node:u})}else if(/^(align|justify|place)-content$/.test(B)&&a(u))r.warn(`IE does not support ${u.prop} on grid containers`,{node:u});else if(B==="display"&&u.value==="contents"){r.warn("Please do not use display: contents; if you have grid setting enabled",{node:u});return}else if(u.prop==="grid-gap"){let v=this.gridStatus(u,r);v==="autoplace"&&!uP(u)&&!sc(u)?r.warn("grid-gap only works if grid-template(-areas) is being used or both rows and columns have been declared and cells have not been manually placed inside the explicit grid",{node:u}):(v===!0||v==="no-autoplace")&&!sc(u)&&r.warn("grid-gap only works if grid-template(-areas) is being used",{node:u})}else if(B==="grid-auto-columns"){r.warn("grid-auto-columns is not supported by IE",{node:u});return}else if(B==="grid-auto-rows"){r.warn("grid-auto-rows is not supported by IE",{node:u});return}else if(B==="grid-auto-flow"){let v=c.some(y=>y.prop==="grid-template-rows"),w=c.some(y=>y.prop==="grid-template-columns");sc(u)?r.warn("grid-auto-flow is not supported by IE",{node:u}):h.includes("dense")?r.warn("grid-auto-flow: dense is not supported by IE",{node:u}):!v&&!w&&r.warn("grid-auto-flow works only if grid-template-rows and grid-template-columns are present in the same rule",{node:u});return}else if(h.includes("auto-fit")){r.warn("auto-fit value is not supported by IE",{node:u,word:"auto-fit"});return}else if(h.includes("auto-fill")){r.warn("auto-fill value is not supported by IE",{node:u,word:"auto-fill"});return}else B.startsWith("grid-template")&&h.includes("[")&&r.warn("Autoprefixer currently does not support line names. Try using grid-template-areas instead.",{node:u,word:"["});if(h.includes("radial-gradient"))if(iP.test(u.value))r.warn("Gradient has outdated direction syntax. New syntax is like `closest-side at 0 0` instead of `0 0, closest-side`.",{node:u});else{let v=q1(h);for(let w of v.nodes)if(w.type==="function"&&w.value==="radial-gradient")for(let y of w.nodes)y.type==="word"&&(y.value==="cover"?r.warn("Gradient has outdated direction syntax. Replace `cover` to `farthest-corner`.",{node:u}):y.value==="contain"&&r.warn("Gradient has outdated direction syntax. Replace `contain` to `closest-side`.",{node:u}))}h.includes("linear-gradient")&&sP.test(h)&&r.warn("Gradient has outdated direction syntax. New syntax is like `to left` instead of `right`.",{node:u})}lP.includes(u.prop)&&(u.value.includes("-fill-available")||(u.value.includes("fill-available")?r.warn("Replace fill-available to stretch, because spec had been changed",{node:u}):u.value.includes("fill")&&q1(h).nodes.some(w=>w.type==="word"&&w.value==="fill")&&r.warn("Replace fill to stretch, because spec had been changed",{node:u})));let g;if(u.prop==="transition"||u.prop==="transition-property")return this.prefixes.transition.add(u,r);if(u.prop==="align-self"){if(this.displayType(u)!=="grid"&&this.prefixes.options.flexbox!==!1&&(g=this.prefixes.add["align-self"],g&&g.prefixes&&g.process(u)),this.gridStatus(u,r)!==!1&&(g=this.prefixes.add["grid-row-align"],g&&g.prefixes))return g.process(u,r)}else if(u.prop==="justify-self"){if(this.gridStatus(u,r)!==!1&&(g=this.prefixes.add["grid-column-align"],g&&g.prefixes))return g.process(u,r)}else if(u.prop==="place-self"){if(g=this.prefixes.add["place-self"],g&&g.prefixes&&this.gridStatus(u,r)!==!1)return g.process(u,r)}else if(g=this.prefixes.add[u.prop],g&&g.prefixes)return g.process(u,r)}),this.gridStatus(e,r)&&nP(e,this.disabled),e.walkDecls(u=>{if(this.disabledValue(u,r))return;let c=this.prefixes.unprefixed(u.prop),B=this.prefixes.values("add",c);if(Array.isArray(B))for(let h of B)h.process&&h.process(u,r);rP.save(this.prefixes,u)})}disabled(e,r){if(!e)return!1;if(e._autoprefixerDisabled!==void 0)return e._autoprefixerDisabled;if(e.parent){let s=e.prev();if(s&&s.type==="comment"&&oP.test(s.text))return e._autoprefixerDisabled=!0,e._autoprefixerSelfDisabled=!0,!0}let n=null;if(e.nodes){let s;e.each(o=>{o.type==="comment"&&/(!\s*)?autoprefixer:\s*(off|on)/i.test(o.text)&&(typeof s<"u"?r.warn("Second Autoprefixer control comment was ignored. Autoprefixer applies control comment to whole block, not to next rules.",{node:o}):s=/on/i.test(o.text))}),s!==void 0&&(n=!s)}if(!e.nodes||n===null)if(e.parent){let s=this.disabled(e.parent,r);e.parent._autoprefixerSelfDisabled===!0?n=!1:n=s}else n=!1;return e._autoprefixerDisabled=n,n}disabledDecl(e,r){if(e.type==="decl"&&this.gridStatus(e,r)===!1&&(e.prop.includes("grid")||e.prop==="justify-items"))return!0;if(e.type==="decl"&&this.prefixes.options.flexbox===!1){let n=["order","justify-content","align-items","align-content"];if(e.prop.includes("flex")||n.includes(e.prop))return!0}return this.disabled(e,r)}disabledValue(e,r){return this.gridStatus(e,r)===!1&&e.type==="decl"&&e.prop==="display"&&e.value.includes("grid")||this.prefixes.options.flexbox===!1&&e.type==="decl"&&e.prop==="display"&&e.value.includes("flex")||e.type==="decl"&&e.prop==="content"?!0:this.disabled(e,r)}displayType(e){for(let r of e.parent.nodes)if(r.prop==="display"){if(r.value.includes("flex"))return"flex";if(r.value.includes("grid"))return"grid"}return!1}gridStatus(e,r){if(!e)return!1;if(e._autoprefixerGridStatus!==void 0)return e._autoprefixerGridStatus;let n=null;if(e.nodes){let s;e.each(o=>{if(o.type==="comment"&&aP.test(o.text)){let i=/:\s*autoplace/i.test(o.text),a=/no-autoplace/i.test(o.text);typeof s<"u"?r.warn("Second Autoprefixer grid control comment was ignored. Autoprefixer applies control comments to the whole block, not to the next rules.",{node:o}):i?s="autoplace":a?s=!0:s=/on/i.test(o.text)}}),s!==void 0&&(n=s)}if(e.type==="atrule"&&e.name==="supports"){let s=e.params;s.includes("grid")&&s.includes("auto")&&(n=!1)}if(!e.nodes||n===null)if(e.parent){let s=this.gridStatus(e.parent,r);e.parent._autoprefixerSelfDisabled===!0?n=!1:n=s}else typeof this.prefixes.options.grid<"u"?n=this.prefixes.options.grid:typeof x.env.AUTOPREFIXER_GRID<"u"?x.env.AUTOPREFIXER_GRID==="autoplace"?n="autoplace":n=!0:n=!1;return e._autoprefixerGridStatus=n,n}reduceSpaces(e){let r=!1;if(this.prefixes.group(e).up(()=>(r=!0,!0)),r)return;let n=e.raw("before").split(`
|
|
34
34
|
`),s=n[n.length-1].length,o=!1;this.prefixes.group(e).down(i=>{n=i.raw("before").split(`
|
|
35
35
|
`);let a=n.length-1;n[a].length>s&&(o===!1&&(o=n[a].length-s),n[a]=n[a].slice(0,-o),i.raws.before=n.join(`
|
|
36
36
|
`))})}remove(e,r){let n=this.prefixes.remove["@resolution"];return e.walkAtRules((s,o)=>{this.prefixes.remove[`@${s.name}`]?this.disabled(s,r)||s.parent.removeChild(o):s.name==="media"&&s.params.includes("-resolution")&&n&&n.clean(s)}),e.walkRules((s,o)=>{if(!this.disabled(s,r)){for(let i of this.prefixes.remove.selectors)if(i.check(s)){s.parent.removeChild(o);return}}}),e.walkDecls((s,o)=>{if(this.disabled(s,r))return;let i=s.parent,a=this.prefixes.unprefixed(s.prop);if((s.prop==="transition"||s.prop==="transition-property")&&this.prefixes.transition.remove(s),this.prefixes.remove[s.prop]&&this.prefixes.remove[s.prop].remove){let l=this.prefixes.group(s).down(u=>this.prefixes.normalize(u.prop)===a);if(a==="flex-flow"&&(l=!0),s.prop==="-webkit-box-orient"){let u={"flex-direction":!0,"flex-flow":!0};if(!s.parent.some(c=>u[c.prop]))return}if(l&&!this.withHackValue(s)){s.raw("before").includes(`
|
|
@@ -71,9 +71,9 @@ Check your Browserslist config to be sure that your targets are set up correctly
|
|
|
71
71
|
https://github.com/postcss/autoprefixer#readme
|
|
72
72
|
https://github.com/browserslist/browserslist#readme
|
|
73
73
|
|
|
74
|
-
`))}O2.exports=ys;function ys(...t){let e;if(t.length===1&&_O(t[0])?(e=t[0],t=void 0):t.length===0||t.length===1&&!t[0]?t=void 0:t.length<=2&&(Array.isArray(t[0])||!t[0])?(e=t[1],t=t[0]):typeof t[t.length-1]=="object"&&(e=t.pop()),e||(e={}),e.browser)throw new Error("Change `browser` option to `overrideBrowserslist` in Autoprefixer");if(e.browserslist)throw new Error("Change `browserslist` option to `overrideBrowserslist` in Autoprefixer");e.overrideBrowserslist?t=e.overrideBrowserslist:e.browsers&&(typeof console<"u"&&console.warn&&console.warn(N2.red(MO.replace(/`[^`]+`/g,s=>N2.yellow(s.slice(1,-1))))),t=e.browsers);let r={env:e.env,ignoreUnknownVersions:e.ignoreUnknownVersions,stats:e.stats};function n(s){let o=E2,i=new IO(o.browsers,t,s,r),a=i.selected.join(", ")+JSON.stringify(e);return wc.has(a)||wc.set(a,new LO(o.prefixes,i,e)),wc.get(a)}return{browsers:t,info(s){return s=s||{},s.from=s.from||x.cwd(),FO(n(s))},options:e,postcssPlugin:"autoprefixer",prepare(s){let o=n({env:e.env,from:s.opts.from});return{OnceExit(i){qO(s,o),e.remove!==!1&&o.processor.remove(i,s),e.add!==!1&&o.processor.add(i,s)}}}}}ys.postcss=!0;ys.data=E2;ys.defaults=OO.defaults;ys.info=()=>ys().info()});var Dc=N((Cl,L2)=>{"use strict";p();d();f();Cl.__esModule=!0;Cl.default=KO;function QO(t){for(var e=t.toLowerCase(),r="",n=!1,s=0;s<6&&e[s]!==void 0;s++){var o=e.charCodeAt(s),i=o>=97&&o<=102||o>=48&&o<=57;if(n=o===32,!i)break;r+=e[s]}if(r.length!==0){var a=parseInt(r,16),l=a>=55296&&a<=57343;return l||a===0||a>1114111?["\uFFFD",r.length+(n?1:0)]:[String.fromCodePoint(a),r.length+(n?1:0)]}}var JO=/\\/;function KO(t){var e=JO.test(t);if(!e)return t;for(var r="",n=0;n<t.length;n++){if(t[n]==="\\"){var s=QO(t.slice(n+1,n+7));if(s!==void 0){r+=s[0],n+=s[1];continue}if(t[n+1]==="\\"){r+="\\",n++;continue}t.length===n+1&&(r+=t[n]);continue}r+=t[n]}return r}L2.exports=Cl.default});var F2=N((hl,R2)=>{"use strict";p();d();f();hl.__esModule=!0;hl.default=YO;function YO(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];for(;r.length>0;){var s=r.shift();if(!t[s])return;t=t[s]}return t}R2.exports=hl.default});var _2=N((ml,M2)=>{"use strict";p();d();f();ml.__esModule=!0;ml.default=XO;function XO(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];for(;r.length>0;){var s=r.shift();t[s]||(t[s]={}),t=t[s]}}M2.exports=ml.default});var V2=N((gl,q2)=>{"use strict";p();d();f();gl.__esModule=!0;gl.default=ZO;function ZO(t){for(var e="",r=t.indexOf("/*"),n=0;r>=0;){e=e+t.slice(n,r);var s=t.indexOf("*/",r+2);if(s<0)return e;n=s+2,r=t.indexOf("/*",n)}return e=e+t.slice(n),e}q2.exports=gl.default});var Ii=N(pr=>{"use strict";p();d();f();pr.__esModule=!0;pr.unesc=pr.stripComments=pr.getProp=pr.ensureObject=void 0;var $O=vl(Dc());pr.unesc=$O.default;var e8=vl(F2());pr.getProp=e8.default;var t8=vl(_2());pr.ensureObject=t8.default;var r8=vl(V2());pr.stripComments=r8.default;function vl(t){return t&&t.__esModule?t:{default:t}}});var Fr=N((Li,G2)=>{"use strict";p();d();f();Li.__esModule=!0;Li.default=void 0;var U2=Ii();function W2(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function n8(t,e,r){return e&&W2(t.prototype,e),r&&W2(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var s8=function t(e,r){if(typeof e!="object"||e===null)return e;var n=new e.constructor;for(var s in e)if(e.hasOwnProperty(s)){var o=e[s],i=typeof o;s==="parent"&&i==="object"?r&&(n[s]=r):o instanceof Array?n[s]=o.map(function(a){return t(a,n)}):n[s]=t(o,n)}return n},i8=function(){function t(r){r===void 0&&(r={}),Object.assign(this,r),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var e=t.prototype;return e.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},e.replaceWith=function(){if(this.parent){for(var n in arguments)this.parent.insertBefore(this,arguments[n]);this.remove()}return this},e.next=function(){return this.parent.at(this.parent.index(this)+1)},e.prev=function(){return this.parent.at(this.parent.index(this)-1)},e.clone=function(n){n===void 0&&(n={});var s=s8(this);for(var o in n)s[o]=n[o];return s},e.appendToPropertyAndEscape=function(n,s,o){this.raws||(this.raws={});var i=this[n],a=this.raws[n];this[n]=i+s,a||o!==s?this.raws[n]=(a||i)+o:delete this.raws[n]},e.setPropertyAndEscape=function(n,s,o){this.raws||(this.raws={}),this[n]=s,this.raws[n]=o},e.setPropertyWithoutEscape=function(n,s){this[n]=s,this.raws&&delete this.raws[n]},e.isAtPosition=function(n,s){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>n||this.source.end.line<n||this.source.start.line===n&&this.source.start.column>s||this.source.end.line===n&&this.source.end.column<s)},e.stringifyProperty=function(n){return this.raws&&this.raws[n]||this[n]},e.valueToString=function(){return String(this.stringifyProperty("value"))},e.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},n8(t,[{key:"rawSpaceBefore",get:function(){var n=this.raws&&this.raws.spaces&&this.raws.spaces.before;return n===void 0&&(n=this.spaces&&this.spaces.before),n||""},set:function(n){(0,U2.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=n}},{key:"rawSpaceAfter",get:function(){var n=this.raws&&this.raws.spaces&&this.raws.spaces.after;return n===void 0&&(n=this.spaces.after),n||""},set:function(n){(0,U2.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=n}}]),t}();Li.default=i8;G2.exports=Li.default});var it=N(
|
|
75
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function b8(t,e){if(t){if(typeof t=="string")return H2(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return H2(t,e)}}function H2(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function z2(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function D8(t,e,r){return e&&z2(t.prototype,e),r&&z2(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function x8(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,xc(t,e)}function xc(t,e){return xc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},xc(t,e)}var S8=function(t){x8(e,t);function e(n){var s;return s=t.call(this,n)||this,s.nodes||(s.nodes=[]),s}var r=e.prototype;return r.append=function(s){return s.parent=this,this.nodes.push(s),this},r.prepend=function(s){return s.parent=this,this.nodes.unshift(s),this},r.at=function(s){return this.nodes[s]},r.index=function(s){return typeof s=="number"?s:this.nodes.indexOf(s)},r.removeChild=function(s){s=this.index(s),this.at(s).parent=void 0,this.nodes.splice(s,1);var o;for(var i in this.indexes)o=this.indexes[i],o>=s&&(this.indexes[i]=o-1);return this},r.removeAll=function(){for(var s=w8(this.nodes),o;!(o=s()).done;){var i=o.value;i.parent=void 0}return this.nodes=[],this},r.empty=function(){return this.removeAll()},r.insertAfter=function(s,o){o.parent=this;var i=this.index(s);this.nodes.splice(i+1,0,o),o.parent=this;var a;for(var l in this.indexes)a=this.indexes[l],i<=a&&(this.indexes[l]=a+1);return this},r.insertBefore=function(s,o){o.parent=this;var i=this.index(s);this.nodes.splice(i,0,o),o.parent=this;var a;for(var l in this.indexes)a=this.indexes[l],a<=i&&(this.indexes[l]=a+1);return this},r._findChildAtPosition=function(s,o){var i=void 0;return this.each(function(a){if(a.atPosition){var l=a.atPosition(s,o);if(l)return i=l,!1}else if(a.isAtPosition(s,o))return i=a,!1}),i},r.atPosition=function(s,o){if(this.isAtPosition(s,o))return this._findChildAtPosition(s,o)||this},r._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},r.each=function(s){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var o=this.lastEach;if(this.indexes[o]=0,!!this.length){for(var i,a;this.indexes[o]<this.length&&(i=this.indexes[o],a=s(this.at(i),i),a!==!1);)this.indexes[o]+=1;if(delete this.indexes[o],a===!1)return!1}},r.walk=function(s){return this.each(function(o,i){var a=s(o,i);if(a!==!1&&o.length&&(a=o.walk(s)),a===!1)return!1})},r.walkAttributes=function(s){var o=this;return this.walk(function(i){if(i.type===Mr.ATTRIBUTE)return s.call(o,i)})},r.walkClasses=function(s){var o=this;return this.walk(function(i){if(i.type===Mr.CLASS)return s.call(o,i)})},r.walkCombinators=function(s){var o=this;return this.walk(function(i){if(i.type===Mr.COMBINATOR)return s.call(o,i)})},r.walkComments=function(s){var o=this;return this.walk(function(i){if(i.type===Mr.COMMENT)return s.call(o,i)})},r.walkIds=function(s){var o=this;return this.walk(function(i){if(i.type===Mr.ID)return s.call(o,i)})},r.walkNesting=function(s){var o=this;return this.walk(function(i){if(i.type===Mr.NESTING)return s.call(o,i)})},r.walkPseudos=function(s){var o=this;return this.walk(function(i){if(i.type===Mr.PSEUDO)return s.call(o,i)})},r.walkTags=function(s){var o=this;return this.walk(function(i){if(i.type===Mr.TAG)return s.call(o,i)})},r.walkUniversals=function(s){var o=this;return this.walk(function(i){if(i.type===Mr.UNIVERSAL)return s.call(o,i)})},r.split=function(s){var o=this,i=[];return this.reduce(function(a,l,u){var c=s.call(o,l);return i.push(l),c?(a.push(i),i=[]):u===o.length-1&&a.push(i),a},[])},r.map=function(s){return this.nodes.map(s)},r.reduce=function(s,o){return this.nodes.reduce(s,o)},r.every=function(s){return this.nodes.every(s)},r.some=function(s){return this.nodes.some(s)},r.filter=function(s){return this.nodes.filter(s)},r.sort=function(s){return this.nodes.sort(s)},r.toString=function(){return this.map(String).join("")},D8(e,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),e}(g8.default);Ri.default=S8;Q2.exports=Ri.default});var kc=N((Fi,K2)=>{"use strict";p();d();f();Fi.__esModule=!0;Fi.default=void 0;var k8=A8(yl()),P8=it();function A8(t){return t&&t.__esModule?t:{default:t}}function J2(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function N8(t,e,r){return e&&J2(t.prototype,e),r&&J2(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function E8(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Sc(t,e)}function Sc(t,e){return Sc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Sc(t,e)}var O8=function(t){E8(e,t);function e(n){var s;return s=t.call(this,n)||this,s.type=P8.ROOT,s}var r=e.prototype;return r.toString=function(){var s=this.reduce(function(o,i){return o.push(String(i)),o},[]).join(",");return this.trailingComma?s+",":s},r.error=function(s,o){return this._error?this._error(s,o):new Error(s)},N8(e,[{key:"errorGenerator",set:function(s){this._error=s}}]),e}(k8.default);Fi.default=O8;K2.exports=Fi.default});var Ac=N((Mi,Y2)=>{"use strict";p();d();f();Mi.__esModule=!0;Mi.default=void 0;var T8=L8(yl()),I8=it();function L8(t){return t&&t.__esModule?t:{default:t}}function R8(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Pc(t,e)}function Pc(t,e){return Pc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Pc(t,e)}var F8=function(t){R8(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=I8.SELECTOR,n}return e}(T8.default);Mi.default=F8;Y2.exports=Mi.default});var wl=N((Hre,X2)=>{"use strict";p();d();f();var M8={},_8=M8.hasOwnProperty,q8=function(e,r){if(!e)return r;var n={};for(var s in r)n[s]=_8.call(e,s)?e[s]:r[s];return n},V8=/[ -,\.\/:-@\[-\^`\{-~]/,U8=/[ -,\.\/:-@\[\]\^`\{-~]/,W8=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Nc=function t(e,r){r=q8(r,t.options),r.quotes!="single"&&r.quotes!="double"&&(r.quotes="single");for(var n=r.quotes=="double"?'"':"'",s=r.isIdentifier,o=e.charAt(0),i="",a=0,l=e.length;a<l;){var u=e.charAt(a++),c=u.charCodeAt(),B=void 0;if(c<32||c>126){if(c>=55296&&c<=56319&&a<l){var h=e.charCodeAt(a++);(h&64512)==56320?c=((c&1023)<<10)+(h&1023)+65536:a--}B="\\"+c.toString(16).toUpperCase()+" "}else r.escapeEverything?V8.test(u)?B="\\"+u:B="\\"+c.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(u)?B="\\"+c.toString(16).toUpperCase()+" ":u=="\\"||!s&&(u=='"'&&n==u||u=="'"&&n==u)||s&&U8.test(u)?B="\\"+u:B=u;i+=B}return s&&(/^-[-\d]/.test(i)?i="\\-"+i.slice(1):/\d/.test(o)&&(i="\\3"+o+" "+i.slice(1))),i=i.replace(W8,function(g,v,w){return v&&v.length%2?g:(v||"")+w}),!s&&r.wrap?n+i+n:i};Nc.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};Nc.version="3.0.0";X2.exports=Nc});var Oc=N((_i,eD)=>{"use strict";p();d();f();_i.__esModule=!0;_i.default=void 0;var G8=$2(wl()),H8=Ii(),z8=$2(Fr()),j8=it();function $2(t){return t&&t.__esModule?t:{default:t}}function Z2(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Q8(t,e,r){return e&&Z2(t.prototype,e),r&&Z2(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function J8(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Ec(t,e)}function Ec(t,e){return Ec=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Ec(t,e)}var K8=function(t){J8(e,t);function e(n){var s;return s=t.call(this,n)||this,s.type=j8.CLASS,s._constructed=!0,s}var r=e.prototype;return r.valueToString=function(){return"."+t.prototype.valueToString.call(this)},Q8(e,[{key:"value",get:function(){return this._value},set:function(s){if(this._constructed){var o=(0,G8.default)(s,{isIdentifier:!0});o!==s?((0,H8.ensureObject)(this,"raws"),this.raws.value=o):this.raws&&delete this.raws.value}this._value=s}}]),e}(z8.default);_i.default=K8;eD.exports=_i.default});var Ic=N((qi,tD)=>{"use strict";p();d();f();qi.__esModule=!0;qi.default=void 0;var Y8=Z8(Fr()),X8=it();function Z8(t){return t&&t.__esModule?t:{default:t}}function $8(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Tc(t,e)}function Tc(t,e){return Tc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Tc(t,e)}var eT=function(t){$8(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=X8.COMMENT,n}return e}(Y8.default);qi.default=eT;tD.exports=qi.default});var Rc=N((Vi,rD)=>{"use strict";p();d();f();Vi.__esModule=!0;Vi.default=void 0;var tT=nT(Fr()),rT=it();function nT(t){return t&&t.__esModule?t:{default:t}}function sT(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Lc(t,e)}function Lc(t,e){return Lc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Lc(t,e)}var iT=function(t){sT(e,t);function e(n){var s;return s=t.call(this,n)||this,s.type=rT.ID,s}var r=e.prototype;return r.valueToString=function(){return"#"+t.prototype.valueToString.call(this)},e}(tT.default);Vi.default=iT;rD.exports=Vi.default});var bl=N((Ui,iD)=>{"use strict";p();d();f();Ui.__esModule=!0;Ui.default=void 0;var oT=sD(wl()),aT=Ii(),lT=sD(Fr());function sD(t){return t&&t.__esModule?t:{default:t}}function nD(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function uT(t,e,r){return e&&nD(t.prototype,e),r&&nD(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function BT(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Fc(t,e)}function Fc(t,e){return Fc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Fc(t,e)}var cT=function(t){BT(e,t);function e(){return t.apply(this,arguments)||this}var r=e.prototype;return r.qualifiedName=function(s){return this.namespace?this.namespaceString+"|"+s:s},r.valueToString=function(){return this.qualifiedName(t.prototype.valueToString.call(this))},uT(e,[{key:"namespace",get:function(){return this._namespace},set:function(s){if(s===!0||s==="*"||s==="&"){this._namespace=s,this.raws&&delete this.raws.namespace;return}var o=(0,oT.default)(s,{isIdentifier:!0});this._namespace=s,o!==s?((0,aT.ensureObject)(this,"raws"),this.raws.namespace=o):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(s){this.namespace=s}},{key:"namespaceString",get:function(){if(this.namespace){var s=this.stringifyProperty("namespace");return s===!0?"":s}else return""}}]),e}(lT.default);Ui.default=cT;iD.exports=Ui.default});var _c=N((Wi,oD)=>{"use strict";p();d();f();Wi.__esModule=!0;Wi.default=void 0;var pT=dT(bl()),fT=it();function dT(t){return t&&t.__esModule?t:{default:t}}function CT(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Mc(t,e)}function Mc(t,e){return Mc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Mc(t,e)}var hT=function(t){CT(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=fT.TAG,n}return e}(pT.default);Wi.default=hT;oD.exports=Wi.default});var Vc=N((Gi,aD)=>{"use strict";p();d();f();Gi.__esModule=!0;Gi.default=void 0;var mT=vT(Fr()),gT=it();function vT(t){return t&&t.__esModule?t:{default:t}}function yT(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,qc(t,e)}function qc(t,e){return qc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},qc(t,e)}var wT=function(t){yT(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=gT.STRING,n}return e}(mT.default);Gi.default=wT;aD.exports=Gi.default});var Wc=N((Hi,lD)=>{"use strict";p();d();f();Hi.__esModule=!0;Hi.default=void 0;var bT=xT(yl()),DT=it();function xT(t){return t&&t.__esModule?t:{default:t}}function ST(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Uc(t,e)}function Uc(t,e){return Uc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Uc(t,e)}var kT=function(t){ST(e,t);function e(n){var s;return s=t.call(this,n)||this,s.type=DT.PSEUDO,s}var r=e.prototype;return r.toString=function(){var s=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),s,this.rawSpaceAfter].join("")},e}(bT.default);Hi.default=kT;lD.exports=Hi.default});var BD=N((Cne,uD)=>{p();d();f();uD.exports=PT;function PT(t,e){if(Gc("noDeprecation"))return t;var r=!1;function n(){if(!r){if(Gc("throwDeprecation"))throw new Error(e);Gc("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}return n}function Gc(t){try{if(!window.localStorage)return!1}catch{return!1}var e=window.localStorage[t];return e==null?!1:String(e).toLowerCase()==="true"}});var Kc=N(Qi=>{"use strict";p();d();f();Qi.__esModule=!0;Qi.default=void 0;Qi.unescapeValue=Jc;var zi=Qc(wl()),AT=Qc(Dc()),NT=Qc(bl()),ET=it(),Hc;function Qc(t){return t&&t.__esModule?t:{default:t}}function cD(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function OT(t,e,r){return e&&cD(t.prototype,e),r&&cD(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function TT(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,jc(t,e)}function jc(t,e){return jc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},jc(t,e)}var ji=BD(),IT=/^('|")([^]*)\1$/,LT=ji(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),RT=ji(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),FT=ji(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function Jc(t){var e=!1,r=null,n=t,s=n.match(IT);return s&&(r=s[1],n=s[2]),n=(0,AT.default)(n),n!==t&&(e=!0),{deprecatedUsage:e,unescaped:n,quoteMark:r}}function MT(t){if(t.quoteMark!==void 0||t.value===void 0)return t;FT();var e=Jc(t.value),r=e.quoteMark,n=e.unescaped;return t.raws||(t.raws={}),t.raws.value===void 0&&(t.raws.value=t.value),t.value=n,t.quoteMark=r,t}var Dl=function(t){TT(e,t);function e(n){var s;return n===void 0&&(n={}),s=t.call(this,MT(n))||this,s.type=ET.ATTRIBUTE,s.raws=s.raws||{},Object.defineProperty(s.raws,"unquoted",{get:ji(function(){return s.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:ji(function(){return s.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),s._constructed=!0,s}var r=e.prototype;return r.getQuotedValue=function(s){s===void 0&&(s={});var o=this._determineQuoteMark(s),i=zc[o],a=(0,zi.default)(this._value,i);return a},r._determineQuoteMark=function(s){return s.smart?this.smartQuoteMark(s):this.preferredQuoteMark(s)},r.setValue=function(s,o){o===void 0&&(o={}),this._value=s,this._quoteMark=this._determineQuoteMark(o),this._syncRawValue()},r.smartQuoteMark=function(s){var o=this.value,i=o.replace(/[^']/g,"").length,a=o.replace(/[^"]/g,"").length;if(i+a===0){var l=(0,zi.default)(o,{isIdentifier:!0});if(l===o)return e.NO_QUOTE;var u=this.preferredQuoteMark(s);if(u===e.NO_QUOTE){var c=this.quoteMark||s.quoteMark||e.DOUBLE_QUOTE,B=zc[c],h=(0,zi.default)(o,B);if(h.length<l.length)return c}return u}else return a===i?this.preferredQuoteMark(s):a<i?e.DOUBLE_QUOTE:e.SINGLE_QUOTE},r.preferredQuoteMark=function(s){var o=s.preferCurrentQuoteMark?this.quoteMark:s.quoteMark;return o===void 0&&(o=s.preferCurrentQuoteMark?s.quoteMark:this.quoteMark),o===void 0&&(o=e.DOUBLE_QUOTE),o},r._syncRawValue=function(){var s=(0,zi.default)(this._value,zc[this.quoteMark]);s===this._value?this.raws&&delete this.raws.value:this.raws.value=s},r._handleEscapes=function(s,o){if(this._constructed){var i=(0,zi.default)(o,{isIdentifier:!0});i!==o?this.raws[s]=i:delete this.raws[s]}},r._spacesFor=function(s){var o={before:"",after:""},i=this.spaces[s]||{},a=this.raws.spaces&&this.raws.spaces[s]||{};return Object.assign(o,i,a)},r._stringFor=function(s,o,i){o===void 0&&(o=s),i===void 0&&(i=pD);var a=this._spacesFor(o);return i(this.stringifyProperty(s),a)},r.offsetOf=function(s){var o=1,i=this._spacesFor("attribute");if(o+=i.before.length,s==="namespace"||s==="ns")return this.namespace?o:-1;if(s==="attributeNS"||(o+=this.namespaceString.length,this.namespace&&(o+=1),s==="attribute"))return o;o+=this.stringifyProperty("attribute").length,o+=i.after.length;var a=this._spacesFor("operator");o+=a.before.length;var l=this.stringifyProperty("operator");if(s==="operator")return l?o:-1;o+=l.length,o+=a.after.length;var u=this._spacesFor("value");o+=u.before.length;var c=this.stringifyProperty("value");if(s==="value")return c?o:-1;o+=c.length,o+=u.after.length;var B=this._spacesFor("insensitive");return o+=B.before.length,s==="insensitive"&&this.insensitive?o:-1},r.toString=function(){var s=this,o=[this.rawSpaceBefore,"["];return o.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(o.push(this._stringFor("operator")),o.push(this._stringFor("value")),o.push(this._stringFor("insensitiveFlag","insensitive",function(i,a){return i.length>0&&!s.quoted&&a.before.length===0&&!(s.spaces.value&&s.spaces.value.after)&&(a.before=" "),pD(i,a)}))),o.push("]"),o.push(this.rawSpaceAfter),o.join("")},OT(e,[{key:"quoted",get:function(){var s=this.quoteMark;return s==="'"||s==='"'},set:function(s){RT()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(s){if(!this._constructed){this._quoteMark=s;return}this._quoteMark!==s&&(this._quoteMark=s,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(s){if(this._constructed){var o=Jc(s),i=o.deprecatedUsage,a=o.unescaped,l=o.quoteMark;if(i&<(),a===this._value&&l===this._quoteMark)return;this._value=a,this._quoteMark=l,this._syncRawValue()}else this._value=s}},{key:"insensitive",get:function(){return this._insensitive},set:function(s){s||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=s}},{key:"attribute",get:function(){return this._attribute},set:function(s){this._handleEscapes("attribute",s),this._attribute=s}}]),e}(NT.default);Qi.default=Dl;Dl.NO_QUOTE=null;Dl.SINGLE_QUOTE="'";Dl.DOUBLE_QUOTE='"';var zc=(Hc={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},Hc[null]={isIdentifier:!0},Hc);function pD(t,e){return""+e.before+t+e.after}});var Xc=N((Ji,fD)=>{"use strict";p();d();f();Ji.__esModule=!0;Ji.default=void 0;var _T=VT(bl()),qT=it();function VT(t){return t&&t.__esModule?t:{default:t}}function UT(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Yc(t,e)}function Yc(t,e){return Yc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Yc(t,e)}var WT=function(t){UT(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=qT.UNIVERSAL,n.value="*",n}return e}(_T.default);Ji.default=WT;fD.exports=Ji.default});var $c=N((Ki,dD)=>{"use strict";p();d();f();Ki.__esModule=!0;Ki.default=void 0;var GT=zT(Fr()),HT=it();function zT(t){return t&&t.__esModule?t:{default:t}}function jT(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Zc(t,e)}function Zc(t,e){return Zc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Zc(t,e)}var QT=function(t){jT(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=HT.COMBINATOR,n}return e}(GT.default);Ki.default=QT;dD.exports=Ki.default});var tp=N((Yi,CD)=>{"use strict";p();d();f();Yi.__esModule=!0;Yi.default=void 0;var JT=YT(Fr()),KT=it();function YT(t){return t&&t.__esModule?t:{default:t}}function XT(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,ep(t,e)}function ep(t,e){return ep=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},ep(t,e)}var ZT=function(t){XT(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=KT.NESTING,n.value="&",n}return e}(JT.default);Yi.default=ZT;CD.exports=Yi.default});var mD=N((xl,hD)=>{"use strict";p();d();f();xl.__esModule=!0;xl.default=$T;function $T(t){return t.sort(function(e,r){return e-r})}hD.exports=xl.default});var rp=N(K=>{"use strict";p();d();f();K.__esModule=!0;K.word=K.tilde=K.tab=K.str=K.space=K.slash=K.singleQuote=K.semicolon=K.plus=K.pipe=K.openSquare=K.openParenthesis=K.newline=K.greaterThan=K.feed=K.equals=K.doubleQuote=K.dollar=K.cr=K.comment=K.comma=K.combinator=K.colon=K.closeSquare=K.closeParenthesis=K.caret=K.bang=K.backslash=K.at=K.asterisk=K.ampersand=void 0;var eI=38;K.ampersand=eI;var tI=42;K.asterisk=tI;var rI=64;K.at=rI;var nI=44;K.comma=nI;var sI=58;K.colon=sI;var iI=59;K.semicolon=iI;var oI=40;K.openParenthesis=oI;var aI=41;K.closeParenthesis=aI;var lI=91;K.openSquare=lI;var uI=93;K.closeSquare=uI;var BI=36;K.dollar=BI;var cI=126;K.tilde=cI;var pI=94;K.caret=pI;var fI=43;K.plus=fI;var dI=61;K.equals=dI;var CI=124;K.pipe=CI;var hI=62;K.greaterThan=hI;var mI=32;K.space=mI;var gD=39;K.singleQuote=gD;var gI=34;K.doubleQuote=gI;var vI=47;K.slash=vI;var yI=33;K.bang=yI;var wI=92;K.backslash=wI;var bI=13;K.cr=bI;var DI=12;K.feed=DI;var xI=10;K.newline=xI;var SI=9;K.tab=SI;var kI=gD;K.str=kI;var PI=-1;K.comment=PI;var AI=-2;K.word=AI;var NI=-3;K.combinator=NI});var wD=N(Xi=>{"use strict";p();d();f();Xi.__esModule=!0;Xi.FIELDS=void 0;Xi.default=FI;var z=EI(rp()),ws,xe;function yD(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(yD=function(s){return s?r:e})(t)}function EI(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=yD(e);if(r&&r.has(t))return r.get(t);var n={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var i=s?Object.getOwnPropertyDescriptor(t,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=t[o]}return n.default=t,r&&r.set(t,n),n}var OI=(ws={},ws[z.tab]=!0,ws[z.newline]=!0,ws[z.cr]=!0,ws[z.feed]=!0,ws),TI=(xe={},xe[z.space]=!0,xe[z.tab]=!0,xe[z.newline]=!0,xe[z.cr]=!0,xe[z.feed]=!0,xe[z.ampersand]=!0,xe[z.asterisk]=!0,xe[z.bang]=!0,xe[z.comma]=!0,xe[z.colon]=!0,xe[z.semicolon]=!0,xe[z.openParenthesis]=!0,xe[z.closeParenthesis]=!0,xe[z.openSquare]=!0,xe[z.closeSquare]=!0,xe[z.singleQuote]=!0,xe[z.doubleQuote]=!0,xe[z.plus]=!0,xe[z.pipe]=!0,xe[z.tilde]=!0,xe[z.greaterThan]=!0,xe[z.equals]=!0,xe[z.dollar]=!0,xe[z.caret]=!0,xe[z.slash]=!0,xe),np={},vD="0123456789abcdefABCDEF";for(Sl=0;Sl<vD.length;Sl++)np[vD.charCodeAt(Sl)]=!0;var Sl;function II(t,e){var r=e,n;do{if(n=t.charCodeAt(r),TI[n])return r-1;n===z.backslash?r=LI(t,r)+1:r++}while(r<t.length);return r-1}function LI(t,e){var r=e,n=t.charCodeAt(r+1);if(!OI[n])if(np[n]){var s=0;do r++,s++,n=t.charCodeAt(r+1);while(np[n]&&s<6);s<6&&n===z.space&&r++}else r++;return r}var RI={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};Xi.FIELDS=RI;function FI(t){var e=[],r=t.css.valueOf(),n=r,s=n.length,o=-1,i=1,a=0,l=0,u,c,B,h,g,v,w,y,P,O,E,F,q;function ve(oe,le){if(t.safe)r+=le,P=r.length-1;else throw t.error("Unclosed "+oe,i,a-o,a)}for(;a<s;){switch(u=r.charCodeAt(a),u===z.newline&&(o=a,i+=1),u){case z.space:case z.tab:case z.newline:case z.cr:case z.feed:P=a;do P+=1,u=r.charCodeAt(P),u===z.newline&&(o=P,i+=1);while(u===z.space||u===z.newline||u===z.tab||u===z.cr||u===z.feed);q=z.space,h=i,B=P-o-1,l=P;break;case z.plus:case z.greaterThan:case z.tilde:case z.pipe:P=a;do P+=1,u=r.charCodeAt(P);while(u===z.plus||u===z.greaterThan||u===z.tilde||u===z.pipe);q=z.combinator,h=i,B=a-o,l=P;break;case z.asterisk:case z.ampersand:case z.bang:case z.comma:case z.equals:case z.dollar:case z.caret:case z.openSquare:case z.closeSquare:case z.colon:case z.semicolon:case z.openParenthesis:case z.closeParenthesis:P=a,q=u,h=i,B=a-o,l=P+1;break;case z.singleQuote:case z.doubleQuote:F=u===z.singleQuote?"'":'"',P=a;do for(g=!1,P=r.indexOf(F,P+1),P===-1&&ve("quote",F),v=P;r.charCodeAt(v-1)===z.backslash;)v-=1,g=!g;while(g);q=z.str,h=i,B=a-o,l=P+1;break;default:u===z.slash&&r.charCodeAt(a+1)===z.asterisk?(P=r.indexOf("*/",a+2)+1,P===0&&ve("comment","*/"),c=r.slice(a,P+1),y=c.split(`
|
|
76
|
-
`),w=y.length-1,w>0?(O=i+w,E=P-y[w].length):(O=i,E=o),q=z.comment,i=O,h=O,B=P-E):u===z.slash?(P=a,q=u,h=i,B=a-o,l=P+1):(P=II(r,a),q=z.word,h=i,B=P-o),l=P+1;break}e.push([q,i,a-o,h,B,a,l]),E&&(o=E,E=null),a=l}return e}});var ND=N((Zi,AD)=>{"use strict";p();d();f();Zi.__esModule=!0;Zi.default=void 0;var MI=_t(kc()),sp=_t(Ac()),_I=_t(Oc()),bD=_t(Ic()),qI=_t(Rc()),VI=_t(_c()),ip=_t(Vc()),UI=_t(Wc()),DD=kl(Kc()),WI=_t(Xc()),op=_t($c()),GI=_t(tp()),HI=_t(mD()),U=kl(wD()),Q=kl(rp()),zI=kl(it()),Re=Ii(),In,ap;function PD(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(PD=function(s){return s?r:e})(t)}function kl(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=PD(e);if(r&&r.has(t))return r.get(t);var n={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var i=s?Object.getOwnPropertyDescriptor(t,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=t[o]}return n.default=t,r&&r.set(t,n),n}function _t(t){return t&&t.__esModule?t:{default:t}}function xD(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function jI(t,e,r){return e&&xD(t.prototype,e),r&&xD(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var Bp=(In={},In[Q.space]=!0,In[Q.cr]=!0,In[Q.feed]=!0,In[Q.newline]=!0,In[Q.tab]=!0,In),QI=Object.assign({},Bp,(ap={},ap[Q.comment]=!0,ap));function SD(t){return{line:t[U.FIELDS.START_LINE],column:t[U.FIELDS.START_COL]}}function kD(t){return{line:t[U.FIELDS.END_LINE],column:t[U.FIELDS.END_COL]}}function Ln(t,e,r,n){return{start:{line:t,column:e},end:{line:r,column:n}}}function bs(t){return Ln(t[U.FIELDS.START_LINE],t[U.FIELDS.START_COL],t[U.FIELDS.END_LINE],t[U.FIELDS.END_COL])}function lp(t,e){if(t)return Ln(t[U.FIELDS.START_LINE],t[U.FIELDS.START_COL],e[U.FIELDS.END_LINE],e[U.FIELDS.END_COL])}function Ds(t,e){var r=t[e];if(typeof r=="string")return r.indexOf("\\")!==-1&&((0,Re.ensureObject)(t,"raws"),t[e]=(0,Re.unesc)(r),t.raws[e]===void 0&&(t.raws[e]=r)),t}function up(t,e){for(var r=-1,n=[];(r=t.indexOf(e,r+1))!==-1;)n.push(r);return n}function JI(){var t=Array.prototype.concat.apply([],arguments);return t.filter(function(e,r){return r===t.indexOf(e)})}var KI=function(){function t(r,n){n===void 0&&(n={}),this.rule=r,this.options=Object.assign({lossy:!1,safe:!1},n),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,U.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var s=lp(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new MI.default({source:s}),this.root.errorGenerator=this._errorGenerator();var o=new sp.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(o),this.current=o,this.loop()}var e=t.prototype;return e._errorGenerator=function(){var n=this;return function(s,o){return typeof n.rule=="string"?new Error(s):n.rule.error(s,o)}},e.attribute=function(){var n=[],s=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[U.FIELDS.TYPE]!==Q.closeSquare;)n.push(this.currToken),this.position++;if(this.currToken[U.FIELDS.TYPE]!==Q.closeSquare)return this.expected("closing square bracket",this.currToken[U.FIELDS.START_POS]);var o=n.length,i={source:Ln(s[1],s[2],this.currToken[3],this.currToken[4]),sourceIndex:s[U.FIELDS.START_POS]};if(o===1&&!~[Q.word].indexOf(n[0][U.FIELDS.TYPE]))return this.expected("attribute",n[0][U.FIELDS.START_POS]);for(var a=0,l="",u="",c=null,B=!1;a<o;){var h=n[a],g=this.content(h),v=n[a+1];switch(h[U.FIELDS.TYPE]){case Q.space:if(B=!0,this.options.lossy)break;if(c){(0,Re.ensureObject)(i,"spaces",c);var w=i.spaces[c].after||"";i.spaces[c].after=w+g;var y=(0,Re.getProp)(i,"raws","spaces",c,"after")||null;y&&(i.raws.spaces[c].after=y+g)}else l=l+g,u=u+g;break;case Q.asterisk:if(v[U.FIELDS.TYPE]===Q.equals)i.operator=g,c="operator";else if((!i.namespace||c==="namespace"&&!B)&&v){l&&((0,Re.ensureObject)(i,"spaces","attribute"),i.spaces.attribute.before=l,l=""),u&&((0,Re.ensureObject)(i,"raws","spaces","attribute"),i.raws.spaces.attribute.before=l,u=""),i.namespace=(i.namespace||"")+g;var P=(0,Re.getProp)(i,"raws","namespace")||null;P&&(i.raws.namespace+=g),c="namespace"}B=!1;break;case Q.dollar:if(c==="value"){var O=(0,Re.getProp)(i,"raws","value");i.value+="$",O&&(i.raws.value=O+"$");break}case Q.caret:v[U.FIELDS.TYPE]===Q.equals&&(i.operator=g,c="operator"),B=!1;break;case Q.combinator:if(g==="~"&&v[U.FIELDS.TYPE]===Q.equals&&(i.operator=g,c="operator"),g!=="|"){B=!1;break}v[U.FIELDS.TYPE]===Q.equals?(i.operator=g,c="operator"):!i.namespace&&!i.attribute&&(i.namespace=!0),B=!1;break;case Q.word:if(v&&this.content(v)==="|"&&n[a+2]&&n[a+2][U.FIELDS.TYPE]!==Q.equals&&!i.operator&&!i.namespace)i.namespace=g,c="namespace";else if(!i.attribute||c==="attribute"&&!B){l&&((0,Re.ensureObject)(i,"spaces","attribute"),i.spaces.attribute.before=l,l=""),u&&((0,Re.ensureObject)(i,"raws","spaces","attribute"),i.raws.spaces.attribute.before=u,u=""),i.attribute=(i.attribute||"")+g;var E=(0,Re.getProp)(i,"raws","attribute")||null;E&&(i.raws.attribute+=g),c="attribute"}else if(!i.value&&i.value!==""||c==="value"&&!(B||i.quoteMark)){var F=(0,Re.unesc)(g),q=(0,Re.getProp)(i,"raws","value")||"",ve=i.value||"";i.value=ve+F,i.quoteMark=null,(F!==g||q)&&((0,Re.ensureObject)(i,"raws"),i.raws.value=(q||ve)+g),c="value"}else{var oe=g==="i"||g==="I";(i.value||i.value==="")&&(i.quoteMark||B)?(i.insensitive=oe,(!oe||g==="I")&&((0,Re.ensureObject)(i,"raws"),i.raws.insensitiveFlag=g),c="insensitive",l&&((0,Re.ensureObject)(i,"spaces","insensitive"),i.spaces.insensitive.before=l,l=""),u&&((0,Re.ensureObject)(i,"raws","spaces","insensitive"),i.raws.spaces.insensitive.before=u,u="")):(i.value||i.value==="")&&(c="value",i.value+=g,i.raws.value&&(i.raws.value+=g))}B=!1;break;case Q.str:if(!i.attribute||!i.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:h[U.FIELDS.START_POS]});var le=(0,DD.unescapeValue)(g),J=le.unescaped,Z=le.quoteMark;i.value=J,i.quoteMark=Z,c="value",(0,Re.ensureObject)(i,"raws"),i.raws.value=g,B=!1;break;case Q.equals:if(!i.attribute)return this.expected("attribute",h[U.FIELDS.START_POS],g);if(i.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:h[U.FIELDS.START_POS]});i.operator=i.operator?i.operator+g:g,c="operator",B=!1;break;case Q.comment:if(c)if(B||v&&v[U.FIELDS.TYPE]===Q.space||c==="insensitive"){var Lt=(0,Re.getProp)(i,"spaces",c,"after")||"",$e=(0,Re.getProp)(i,"raws","spaces",c,"after")||Lt;(0,Re.ensureObject)(i,"raws","spaces",c),i.raws.spaces[c].after=$e+g}else{var kt=i[c]||"",Rt=(0,Re.getProp)(i,"raws",c)||kt;(0,Re.ensureObject)(i,"raws"),i.raws[c]=Rt+g}else u=u+g;break;default:return this.error('Unexpected "'+g+'" found.',{index:h[U.FIELDS.START_POS]})}a++}Ds(i,"attribute"),Ds(i,"namespace"),this.newNode(new DD.default(i)),this.position++},e.parseWhitespaceEquivalentTokens=function(n){n<0&&(n=this.tokens.length);var s=this.position,o=[],i="",a=void 0;do if(Bp[this.currToken[U.FIELDS.TYPE]])this.options.lossy||(i+=this.content());else if(this.currToken[U.FIELDS.TYPE]===Q.comment){var l={};i&&(l.before=i,i=""),a=new bD.default({value:this.content(),source:bs(this.currToken),sourceIndex:this.currToken[U.FIELDS.START_POS],spaces:l}),o.push(a)}while(++this.position<n);if(i){if(a)a.spaces.after=i;else if(!this.options.lossy){var u=this.tokens[s],c=this.tokens[this.position-1];o.push(new ip.default({value:"",source:Ln(u[U.FIELDS.START_LINE],u[U.FIELDS.START_COL],c[U.FIELDS.END_LINE],c[U.FIELDS.END_COL]),sourceIndex:u[U.FIELDS.START_POS],spaces:{before:i,after:""}}))}}return o},e.convertWhitespaceNodesToSpace=function(n,s){var o=this;s===void 0&&(s=!1);var i="",a="";n.forEach(function(u){var c=o.lossySpace(u.spaces.before,s),B=o.lossySpace(u.rawSpaceBefore,s);i+=c+o.lossySpace(u.spaces.after,s&&c.length===0),a+=c+u.value+o.lossySpace(u.rawSpaceAfter,s&&B.length===0)}),a===i&&(a=void 0);var l={space:i,rawSpace:a};return l},e.isNamedCombinator=function(n){return n===void 0&&(n=this.position),this.tokens[n+0]&&this.tokens[n+0][U.FIELDS.TYPE]===Q.slash&&this.tokens[n+1]&&this.tokens[n+1][U.FIELDS.TYPE]===Q.word&&this.tokens[n+2]&&this.tokens[n+2][U.FIELDS.TYPE]===Q.slash},e.namedCombinator=function(){if(this.isNamedCombinator()){var n=this.content(this.tokens[this.position+1]),s=(0,Re.unesc)(n).toLowerCase(),o={};s!==n&&(o.value="/"+n+"/");var i=new op.default({value:"/"+s+"/",source:Ln(this.currToken[U.FIELDS.START_LINE],this.currToken[U.FIELDS.START_COL],this.tokens[this.position+2][U.FIELDS.END_LINE],this.tokens[this.position+2][U.FIELDS.END_COL]),sourceIndex:this.currToken[U.FIELDS.START_POS],raws:o});return this.position=this.position+3,i}else this.unexpected()},e.combinator=function(){var n=this;if(this.content()==="|")return this.namespace();var s=this.locateNextMeaningfulToken(this.position);if(s<0||this.tokens[s][U.FIELDS.TYPE]===Q.comma){var o=this.parseWhitespaceEquivalentTokens(s);if(o.length>0){var i=this.current.last;if(i){var a=this.convertWhitespaceNodesToSpace(o),l=a.space,u=a.rawSpace;u!==void 0&&(i.rawSpaceAfter+=u),i.spaces.after+=l}else o.forEach(function(q){return n.newNode(q)})}return}var c=this.currToken,B=void 0;s>this.position&&(B=this.parseWhitespaceEquivalentTokens(s));var h;if(this.isNamedCombinator()?h=this.namedCombinator():this.currToken[U.FIELDS.TYPE]===Q.combinator?(h=new op.default({value:this.content(),source:bs(this.currToken),sourceIndex:this.currToken[U.FIELDS.START_POS]}),this.position++):Bp[this.currToken[U.FIELDS.TYPE]]||B||this.unexpected(),h){if(B){var g=this.convertWhitespaceNodesToSpace(B),v=g.space,w=g.rawSpace;h.spaces.before=v,h.rawSpaceBefore=w}}else{var y=this.convertWhitespaceNodesToSpace(B,!0),P=y.space,O=y.rawSpace;O||(O=P);var E={},F={spaces:{}};P.endsWith(" ")&&O.endsWith(" ")?(E.before=P.slice(0,P.length-1),F.spaces.before=O.slice(0,O.length-1)):P.startsWith(" ")&&O.startsWith(" ")?(E.after=P.slice(1),F.spaces.after=O.slice(1)):F.value=O,h=new op.default({value:" ",source:lp(c,this.tokens[this.position-1]),sourceIndex:c[U.FIELDS.START_POS],spaces:E,raws:F})}return this.currToken&&this.currToken[U.FIELDS.TYPE]===Q.space&&(h.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(h)},e.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var n=new sp.default({source:{start:SD(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][U.FIELDS.START_POS]});this.current.parent.append(n),this.current=n,this.position++},e.comment=function(){var n=this.currToken;this.newNode(new bD.default({value:this.content(),source:bs(n),sourceIndex:n[U.FIELDS.START_POS]})),this.position++},e.error=function(n,s){throw this.root.error(n,s)},e.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[U.FIELDS.START_POS]})},e.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[U.FIELDS.START_POS])},e.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[U.FIELDS.START_POS])},e.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[U.FIELDS.START_POS])},e.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[U.FIELDS.START_POS])},e.namespace=function(){var n=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[U.FIELDS.TYPE]===Q.word)return this.position++,this.word(n);if(this.nextToken[U.FIELDS.TYPE]===Q.asterisk)return this.position++,this.universal(n);this.unexpectedPipe()},e.nesting=function(){if(this.nextToken){var n=this.content(this.nextToken);if(n==="|"){this.position++;return}}var s=this.currToken;this.newNode(new GI.default({value:this.content(),source:bs(s),sourceIndex:s[U.FIELDS.START_POS]})),this.position++},e.parentheses=function(){var n=this.current.last,s=1;if(this.position++,n&&n.type===zI.PSEUDO){var o=new sp.default({source:{start:SD(this.tokens[this.position])},sourceIndex:this.tokens[this.position][U.FIELDS.START_POS]}),i=this.current;for(n.append(o),this.current=o;this.position<this.tokens.length&&s;)this.currToken[U.FIELDS.TYPE]===Q.openParenthesis&&s++,this.currToken[U.FIELDS.TYPE]===Q.closeParenthesis&&s--,s?this.parse():(this.current.source.end=kD(this.currToken),this.current.parent.source.end=kD(this.currToken),this.position++);this.current=i}else{for(var a=this.currToken,l="(",u;this.position<this.tokens.length&&s;)this.currToken[U.FIELDS.TYPE]===Q.openParenthesis&&s++,this.currToken[U.FIELDS.TYPE]===Q.closeParenthesis&&s--,u=this.currToken,l+=this.parseParenthesisToken(this.currToken),this.position++;n?n.appendToPropertyAndEscape("value",l,l):this.newNode(new ip.default({value:l,source:Ln(a[U.FIELDS.START_LINE],a[U.FIELDS.START_COL],u[U.FIELDS.END_LINE],u[U.FIELDS.END_COL]),sourceIndex:a[U.FIELDS.START_POS]}))}if(s)return this.expected("closing parenthesis",this.currToken[U.FIELDS.START_POS])},e.pseudo=function(){for(var n=this,s="",o=this.currToken;this.currToken&&this.currToken[U.FIELDS.TYPE]===Q.colon;)s+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[U.FIELDS.TYPE]===Q.word)this.splitWord(!1,function(i,a){s+=i,n.newNode(new UI.default({value:s,source:lp(o,n.currToken),sourceIndex:o[U.FIELDS.START_POS]})),a>1&&n.nextToken&&n.nextToken[U.FIELDS.TYPE]===Q.openParenthesis&&n.error("Misplaced parenthesis.",{index:n.nextToken[U.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[U.FIELDS.START_POS])},e.space=function(){var n=this.content();this.position===0||this.prevToken[U.FIELDS.TYPE]===Q.comma||this.prevToken[U.FIELDS.TYPE]===Q.openParenthesis||this.current.nodes.every(function(s){return s.type==="comment"})?(this.spaces=this.optionalSpace(n),this.position++):this.position===this.tokens.length-1||this.nextToken[U.FIELDS.TYPE]===Q.comma||this.nextToken[U.FIELDS.TYPE]===Q.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(n),this.position++):this.combinator()},e.string=function(){var n=this.currToken;this.newNode(new ip.default({value:this.content(),source:bs(n),sourceIndex:n[U.FIELDS.START_POS]})),this.position++},e.universal=function(n){var s=this.nextToken;if(s&&this.content(s)==="|")return this.position++,this.namespace();var o=this.currToken;this.newNode(new WI.default({value:this.content(),source:bs(o),sourceIndex:o[U.FIELDS.START_POS]}),n),this.position++},e.splitWord=function(n,s){for(var o=this,i=this.nextToken,a=this.content();i&&~[Q.dollar,Q.caret,Q.equals,Q.word].indexOf(i[U.FIELDS.TYPE]);){this.position++;var l=this.content();if(a+=l,l.lastIndexOf("\\")===l.length-1){var u=this.nextToken;u&&u[U.FIELDS.TYPE]===Q.space&&(a+=this.requiredSpace(this.content(u)),this.position++)}i=this.nextToken}var c=up(a,".").filter(function(v){var w=a[v-1]==="\\",y=/^\d+\.\d+%$/.test(a);return!w&&!y}),B=up(a,"#").filter(function(v){return a[v-1]!=="\\"}),h=up(a,"#{");h.length&&(B=B.filter(function(v){return!~h.indexOf(v)}));var g=(0,HI.default)(JI([0].concat(c,B)));g.forEach(function(v,w){var y=g[w+1]||a.length,P=a.slice(v,y);if(w===0&&s)return s.call(o,P,g.length);var O,E=o.currToken,F=E[U.FIELDS.START_POS]+g[w],q=Ln(E[1],E[2]+v,E[3],E[2]+(y-1));if(~c.indexOf(v)){var ve={value:P.slice(1),source:q,sourceIndex:F};O=new _I.default(Ds(ve,"value"))}else if(~B.indexOf(v)){var oe={value:P.slice(1),source:q,sourceIndex:F};O=new qI.default(Ds(oe,"value"))}else{var le={value:P,source:q,sourceIndex:F};Ds(le,"value"),O=new VI.default(le)}o.newNode(O,n),n=null}),this.position++},e.word=function(n){var s=this.nextToken;return s&&this.content(s)==="|"?(this.position++,this.namespace()):this.splitWord(n)},e.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},e.parse=function(n){switch(this.currToken[U.FIELDS.TYPE]){case Q.space:this.space();break;case Q.comment:this.comment();break;case Q.openParenthesis:this.parentheses();break;case Q.closeParenthesis:n&&this.missingParenthesis();break;case Q.openSquare:this.attribute();break;case Q.dollar:case Q.caret:case Q.equals:case Q.word:this.word();break;case Q.colon:this.pseudo();break;case Q.comma:this.comma();break;case Q.asterisk:this.universal();break;case Q.ampersand:this.nesting();break;case Q.slash:case Q.combinator:this.combinator();break;case Q.str:this.string();break;case Q.closeSquare:this.missingSquareBracket();case Q.semicolon:this.missingBackslash();default:this.unexpected()}},e.expected=function(n,s,o){if(Array.isArray(n)){var i=n.pop();n=n.join(", ")+" or "+i}var a=/^[aeiou]/.test(n[0])?"an":"a";return o?this.error("Expected "+a+" "+n+', found "'+o+'" instead.',{index:s}):this.error("Expected "+a+" "+n+".",{index:s})},e.requiredSpace=function(n){return this.options.lossy?" ":n},e.optionalSpace=function(n){return this.options.lossy?"":n},e.lossySpace=function(n,s){return this.options.lossy?s?" ":"":n},e.parseParenthesisToken=function(n){var s=this.content(n);return n[U.FIELDS.TYPE]===Q.space?this.requiredSpace(s):s},e.newNode=function(n,s){return s&&(/^ +$/.test(s)&&(this.options.lossy||(this.spaces=(this.spaces||"")+s),s=!0),n.namespace=s,Ds(n,"namespace")),this.spaces&&(n.spaces.before=this.spaces,this.spaces=""),this.current.append(n)},e.content=function(n){return n===void 0&&(n=this.currToken),this.css.slice(n[U.FIELDS.START_POS],n[U.FIELDS.END_POS])},e.locateNextMeaningfulToken=function(n){n===void 0&&(n=this.position+1);for(var s=n;s<this.tokens.length;)if(QI[this.tokens[s][U.FIELDS.TYPE]]){s++;continue}else return s;return-1},jI(t,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),t}();Zi.default=KI;AD.exports=Zi.default});var OD=N(($i,ED)=>{"use strict";p();d();f();$i.__esModule=!0;$i.default=void 0;var YI=XI(ND());function XI(t){return t&&t.__esModule?t:{default:t}}var ZI=function(){function t(r,n){this.func=r||function(){},this.funcRes=null,this.options=n}var e=t.prototype;return e._shouldUpdateSelector=function(n,s){s===void 0&&(s={});var o=Object.assign({},this.options,s);return o.updateSelector===!1?!1:typeof n!="string"},e._isLossy=function(n){n===void 0&&(n={});var s=Object.assign({},this.options,n);return s.lossless===!1},e._root=function(n,s){s===void 0&&(s={});var o=new YI.default(n,this._parseOptions(s));return o.root},e._parseOptions=function(n){return{lossy:this._isLossy(n)}},e._run=function(n,s){var o=this;return s===void 0&&(s={}),new Promise(function(i,a){try{var l=o._root(n,s);Promise.resolve(o.func(l)).then(function(u){var c=void 0;return o._shouldUpdateSelector(n,s)&&(c=l.toString(),n.selector=c),{transform:u,root:l,string:c}}).then(i,a)}catch(u){a(u);return}})},e._runSync=function(n,s){s===void 0&&(s={});var o=this._root(n,s),i=this.func(o);if(i&&typeof i.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var a=void 0;return s.updateSelector&&typeof n!="string"&&(a=o.toString(),n.selector=a),{transform:i,root:o,string:a}},e.ast=function(n,s){return this._run(n,s).then(function(o){return o.root})},e.astSync=function(n,s){return this._runSync(n,s).root},e.transform=function(n,s){return this._run(n,s).then(function(o){return o.transform})},e.transformSync=function(n,s){return this._runSync(n,s).transform},e.process=function(n,s){return this._run(n,s).then(function(o){return o.string||o.root.toString()})},e.processSync=function(n,s){var o=this._runSync(n,s);return o.string||o.root.toString()},t}();$i.default=ZI;ED.exports=$i.default});var TD=N(Pe=>{"use strict";p();d();f();Pe.__esModule=!0;Pe.universal=Pe.tag=Pe.string=Pe.selector=Pe.root=Pe.pseudo=Pe.nesting=Pe.id=Pe.comment=Pe.combinator=Pe.className=Pe.attribute=void 0;var $I=qt(Kc()),eL=qt(Oc()),tL=qt($c()),rL=qt(Ic()),nL=qt(Rc()),sL=qt(tp()),iL=qt(Wc()),oL=qt(kc()),aL=qt(Ac()),lL=qt(Vc()),uL=qt(_c()),BL=qt(Xc());function qt(t){return t&&t.__esModule?t:{default:t}}var cL=function(e){return new $I.default(e)};Pe.attribute=cL;var pL=function(e){return new eL.default(e)};Pe.className=pL;var fL=function(e){return new tL.default(e)};Pe.combinator=fL;var dL=function(e){return new rL.default(e)};Pe.comment=dL;var CL=function(e){return new nL.default(e)};Pe.id=CL;var hL=function(e){return new sL.default(e)};Pe.nesting=hL;var mL=function(e){return new iL.default(e)};Pe.pseudo=mL;var gL=function(e){return new oL.default(e)};Pe.root=gL;var vL=function(e){return new aL.default(e)};Pe.selector=vL;var yL=function(e){return new lL.default(e)};Pe.string=yL;var wL=function(e){return new uL.default(e)};Pe.tag=wL;var bL=function(e){return new BL.default(e)};Pe.universal=bL});var FD=N(he=>{"use strict";p();d();f();he.__esModule=!0;he.isComment=he.isCombinator=he.isClassName=he.isAttribute=void 0;he.isContainer=LL;he.isIdentifier=void 0;he.isNamespace=RL;he.isNesting=void 0;he.isNode=cp;he.isPseudo=void 0;he.isPseudoClass=IL;he.isPseudoElement=RD;he.isUniversal=he.isTag=he.isString=he.isSelector=he.isRoot=void 0;var Fe=it(),yt,DL=(yt={},yt[Fe.ATTRIBUTE]=!0,yt[Fe.CLASS]=!0,yt[Fe.COMBINATOR]=!0,yt[Fe.COMMENT]=!0,yt[Fe.ID]=!0,yt[Fe.NESTING]=!0,yt[Fe.PSEUDO]=!0,yt[Fe.ROOT]=!0,yt[Fe.SELECTOR]=!0,yt[Fe.STRING]=!0,yt[Fe.TAG]=!0,yt[Fe.UNIVERSAL]=!0,yt);function cp(t){return typeof t=="object"&&DL[t.type]}function Vt(t,e){return cp(e)&&e.type===t}var ID=Vt.bind(null,Fe.ATTRIBUTE);he.isAttribute=ID;var xL=Vt.bind(null,Fe.CLASS);he.isClassName=xL;var SL=Vt.bind(null,Fe.COMBINATOR);he.isCombinator=SL;var kL=Vt.bind(null,Fe.COMMENT);he.isComment=kL;var PL=Vt.bind(null,Fe.ID);he.isIdentifier=PL;var AL=Vt.bind(null,Fe.NESTING);he.isNesting=AL;var pp=Vt.bind(null,Fe.PSEUDO);he.isPseudo=pp;var NL=Vt.bind(null,Fe.ROOT);he.isRoot=NL;var EL=Vt.bind(null,Fe.SELECTOR);he.isSelector=EL;var OL=Vt.bind(null,Fe.STRING);he.isString=OL;var LD=Vt.bind(null,Fe.TAG);he.isTag=LD;var TL=Vt.bind(null,Fe.UNIVERSAL);he.isUniversal=TL;function RD(t){return pp(t)&&t.value&&(t.value.startsWith("::")||t.value.toLowerCase()===":before"||t.value.toLowerCase()===":after"||t.value.toLowerCase()===":first-letter"||t.value.toLowerCase()===":first-line")}function IL(t){return pp(t)&&!RD(t)}function LL(t){return!!(cp(t)&&t.walk)}function RL(t){return ID(t)||LD(t)}});var MD=N(Yt=>{"use strict";p();d();f();Yt.__esModule=!0;var fp=it();Object.keys(fp).forEach(function(t){t==="default"||t==="__esModule"||t in Yt&&Yt[t]===fp[t]||(Yt[t]=fp[t])});var dp=TD();Object.keys(dp).forEach(function(t){t==="default"||t==="__esModule"||t in Yt&&Yt[t]===dp[t]||(Yt[t]=dp[t])});var Cp=FD();Object.keys(Cp).forEach(function(t){t==="default"||t==="__esModule"||t in Yt&&Yt[t]===Cp[t]||(Yt[t]=Cp[t])})});var ut=N((eo,qD)=>{"use strict";p();d();f();eo.__esModule=!0;eo.default=void 0;var FL=qL(OD()),ML=_L(MD());function _D(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(_D=function(s){return s?r:e})(t)}function _L(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=_D(e);if(r&&r.has(t))return r.get(t);var n={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var i=s?Object.getOwnPropertyDescriptor(t,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=t[o]}return n.default=t,r&&r.set(t,n),n}function qL(t){return t&&t.__esModule?t:{default:t}}var hp=function(e){return new FL.default(e)};Object.assign(hp,ML);delete hp.__esModule;var VL=hp;eo.default=VL;qD.exports=eo.default});var UD=N((gse,wp)=>{p();d();f();wp.exports=function(t){return{postcssPlugin:"postcss-page-break",Declaration(e){if(e.prop.startsWith("break-")&&/^break-(inside|before|after)/.test(e.prop)){if(e.value.search(/column|region/)>=0)return;let r;switch(e.value){case"page":r="always";break;case"avoid-page":r="avoid";break;default:r=e.value}let n="page-"+e.prop;e.parent.every(s=>s.prop!==n)&&e.cloneBefore({prop:n,value:r})}}}};wp.exports.postcss=!0});var KD=N((Rse,Ap)=>{p();d();f();var an=He();function Pp(t){let e=t.match(/([\d.-]+)(.*)/);if(!(!e||!e[1]||!e[2]||isNaN(e[1])))return[parseFloat(e[1]),e[2]]}function Ll(t,e,r){return t&&e&&r?`max(${t}, min(${e}, ${r}))`:t&&e?`max(${t}, ${e})`:t}function Ss(t,e,r){let n=e,s=an(e),o=an(t.value),i=!1;o.walk((a,l,u)=>{!(a.type==="function"&&a.value==="clamp")||i||(i=!0,u[l]=s)}),i&&(n=o.toString()),r?t.cloneBefore({value:n}):t.value=n}Ap.exports=t=>{t=t||{};let e=t.precalculate?!!t.precalculate:!1,r=t.preserve?!!t.preserve:!1;return{postcssPlugin:"postcss-clamp",Declaration(n){!n||!n.value.includes("clamp")||an(n.value).walk(s=>{let o=s.nodes;if(s.type!=="function"||s.value!=="clamp"||o.length!==5)return;let i=o[0],a=o[2],l=o[4],u=Ll(an.stringify(i),an.stringify(a),an.stringify(l));if(!e||a.type!=="word"||l.type!=="word"){Ss(n,u,r);return}let c=Pp(a.value),B=Pp(l.value);if(c===void 0||B===void 0){Ss(n,u,r);return}let[h,g]=c,[v,w]=B;if(g!==w){Ss(n,u,r);return}let y=Pp(i.value);if(y===void 0){let E=`${h+v}${g}`;Ss(n,Ll(an.stringify(i),E),r);return}let[P,O]=y;if(O!==g){let E=`${h+v}${g}`;Ss(n,Ll(an.stringify(i),E),r);return}Ss(n,Ll(`${P+h+v}${g}`),r)})}}};Ap.exports.postcss=!0});var GS=N((oae,Vf)=>{p();d();f();var hn={"font-variant-ligatures":{"common-ligatures":'"liga", "clig"',"no-common-ligatures":'"liga", "clig off"',"discretionary-ligatures":'"dlig"',"no-discretionary-ligatures":'"dlig" off',"historical-ligatures":'"hlig"',"no-historical-ligatures":'"hlig" off',contextual:'"calt"',"no-contextual":'"calt" off'},"font-variant-position":{sub:'"subs"',super:'"sups"',normal:'"subs" off, "sups" off'},"font-variant-caps":{"small-caps":'"smcp"',"all-small-caps":'"smcp", "c2sc"',"petite-caps":'"pcap"',"all-petite-caps":'"pcap", "c2pc"',unicase:'"unic"',"titling-caps":'"titl"'},"font-variant-numeric":{"lining-nums":'"lnum"',"oldstyle-nums":'"onum"',"proportional-nums":'"pnum"',"tabular-nums":'"tnum"',"diagonal-fractions":'"frac"',"stacked-fractions":'"afrc"',ordinal:'"ordn"',"slashed-zero":'"zero"'},"font-kerning":{normal:'"kern"',none:'"kern" off'},"font-variant":{normal:"normal",inherit:"inherit"}};for(let t in hn){let e=hn[t];for(let r in e)r in hn["font-variant"]||(hn["font-variant"][r]=e[r])}function U_(t){let e=null;return t.parent.walkDecls(r=>{r.prop==="font-feature-settings"&&(e=r)}),e===null&&(e=t.clone(),e.prop="font-feature-settings",e.value="",t.parent.insertBefore(t,e)),e}function W_(t){let e=null;t.walkDecls(r=>{if(!hn[r.prop])return null;let n=r.value;r.prop==="font-variant"?n=r.value.split(/\s+/g).map(s=>hn["font-variant"][s]).join(", "):hn[r.prop][r.value]&&(n=hn[r.prop][r.value]),e===null&&(e=U_(r)),e.value&&e.value!==n?e.value+=", "+n:e.value=n})}Vf.exports=()=>({postcssPlugin:"postcss-font-variant",Once(t){t.walkRules(W_)}});Vf.exports.postcss=!0});var Ok=N((que,Ed)=>{p();d();f();var yq=new Set(["inherit","initial","revert","unset"]);Ed.exports=({preserve:t=!1}={})=>({postcssPlugin:"postcss-opacity-percentage",Declaration:{opacity(e){!e.value||e.value.startsWith("var(")||!e.value.endsWith("%")||yq.has(e.value)||(e.cloneBefore({value:String(Number.parseFloat(e.value)/100)}),t||e.remove())}}});Ed.exports.postcss=!0});var Tk=N((Que,Td)=>{p();d();f();Td.exports=function(t){t=t||{};var e=t.method||"replace";return{postcssPlugin:"postcss-replace-overflow-wrap",Declaration:{"overflow-wrap":r=>{r.cloneBefore({prop:"word-wrap"}),e==="replace"&&r.remove()}}}};Td.exports.postcss=!0});var oV={};Ys(oV,{postcssPresetEnv:()=>Jd});p();d();f();p();d();f();var Hk=Be(T2(),1);p();d();f();var I2=[{id:"all-property",title:"`all` Property",description:"A property for defining the reset of all properties of an element",specification:"https://www.w3.org/TR/css-cascade-3/#all-shorthand",stage:4,browser_support:{and_chr:"37",and_ff:"27",android:"37",chrome:"37",edge:"79",firefox:"27",ios_saf:"9.3",oculus:"5.0",op_mob:"24",opera:"24",safari:"9.1",samsung:"3.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/all"},example:`a {
|
|
74
|
+
`))}O2.exports=ys;function ys(...t){let e;if(t.length===1&&_O(t[0])?(e=t[0],t=void 0):t.length===0||t.length===1&&!t[0]?t=void 0:t.length<=2&&(Array.isArray(t[0])||!t[0])?(e=t[1],t=t[0]):typeof t[t.length-1]=="object"&&(e=t.pop()),e||(e={}),e.browser)throw new Error("Change `browser` option to `overrideBrowserslist` in Autoprefixer");if(e.browserslist)throw new Error("Change `browserslist` option to `overrideBrowserslist` in Autoprefixer");e.overrideBrowserslist?t=e.overrideBrowserslist:e.browsers&&(typeof console<"u"&&console.warn&&console.warn(N2.red(MO.replace(/`[^`]+`/g,s=>N2.yellow(s.slice(1,-1))))),t=e.browsers);let r={env:e.env,ignoreUnknownVersions:e.ignoreUnknownVersions,stats:e.stats};function n(s){let o=E2,i=new IO(o.browsers,t,s,r),a=i.selected.join(", ")+JSON.stringify(e);return wc.has(a)||wc.set(a,new LO(o.prefixes,i,e)),wc.get(a)}return{browsers:t,info(s){return s=s||{},s.from=s.from||x.cwd(),FO(n(s))},options:e,postcssPlugin:"autoprefixer",prepare(s){let o=n({env:e.env,from:s.opts.from});return{OnceExit(i){qO(s,o),e.remove!==!1&&o.processor.remove(i,s),e.add!==!1&&o.processor.add(i,s)}}}}}ys.postcss=!0;ys.data=E2;ys.defaults=OO.defaults;ys.info=()=>ys().info()});var Dc=N((Cl,L2)=>{"use strict";p();d();f();Cl.__esModule=!0;Cl.default=KO;function QO(t){for(var e=t.toLowerCase(),r="",n=!1,s=0;s<6&&e[s]!==void 0;s++){var o=e.charCodeAt(s),i=o>=97&&o<=102||o>=48&&o<=57;if(n=o===32,!i)break;r+=e[s]}if(r.length!==0){var a=parseInt(r,16),l=a>=55296&&a<=57343;return l||a===0||a>1114111?["\uFFFD",r.length+(n?1:0)]:[String.fromCodePoint(a),r.length+(n?1:0)]}}var JO=/\\/;function KO(t){var e=JO.test(t);if(!e)return t;for(var r="",n=0;n<t.length;n++){if(t[n]==="\\"){var s=QO(t.slice(n+1,n+7));if(s!==void 0){r+=s[0],n+=s[1];continue}if(t[n+1]==="\\"){r+="\\",n++;continue}t.length===n+1&&(r+=t[n]);continue}r+=t[n]}return r}L2.exports=Cl.default});var F2=N((hl,R2)=>{"use strict";p();d();f();hl.__esModule=!0;hl.default=YO;function YO(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];for(;r.length>0;){var s=r.shift();if(!t[s])return;t=t[s]}return t}R2.exports=hl.default});var _2=N((ml,M2)=>{"use strict";p();d();f();ml.__esModule=!0;ml.default=XO;function XO(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];for(;r.length>0;){var s=r.shift();t[s]||(t[s]={}),t=t[s]}}M2.exports=ml.default});var V2=N((gl,q2)=>{"use strict";p();d();f();gl.__esModule=!0;gl.default=ZO;function ZO(t){for(var e="",r=t.indexOf("/*"),n=0;r>=0;){e=e+t.slice(n,r);var s=t.indexOf("*/",r+2);if(s<0)return e;n=s+2,r=t.indexOf("/*",n)}return e=e+t.slice(n),e}q2.exports=gl.default});var Ii=N(pr=>{"use strict";p();d();f();pr.__esModule=!0;pr.unesc=pr.stripComments=pr.getProp=pr.ensureObject=void 0;var $O=vl(Dc());pr.unesc=$O.default;var e8=vl(F2());pr.getProp=e8.default;var t8=vl(_2());pr.ensureObject=t8.default;var r8=vl(V2());pr.stripComments=r8.default;function vl(t){return t&&t.__esModule?t:{default:t}}});var Fr=N((Li,G2)=>{"use strict";p();d();f();Li.__esModule=!0;Li.default=void 0;var U2=Ii();function W2(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function n8(t,e,r){return e&&W2(t.prototype,e),r&&W2(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var s8=function t(e,r){if(typeof e!="object"||e===null)return e;var n=new e.constructor;for(var s in e)if(e.hasOwnProperty(s)){var o=e[s],i=typeof o;s==="parent"&&i==="object"?r&&(n[s]=r):o instanceof Array?n[s]=o.map(function(a){return t(a,n)}):n[s]=t(o,n)}return n},i8=function(){function t(r){r===void 0&&(r={}),Object.assign(this,r),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var e=t.prototype;return e.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},e.replaceWith=function(){if(this.parent){for(var n in arguments)this.parent.insertBefore(this,arguments[n]);this.remove()}return this},e.next=function(){return this.parent.at(this.parent.index(this)+1)},e.prev=function(){return this.parent.at(this.parent.index(this)-1)},e.clone=function(n){n===void 0&&(n={});var s=s8(this);for(var o in n)s[o]=n[o];return s},e.appendToPropertyAndEscape=function(n,s,o){this.raws||(this.raws={});var i=this[n],a=this.raws[n];this[n]=i+s,a||o!==s?this.raws[n]=(a||i)+o:delete this.raws[n]},e.setPropertyAndEscape=function(n,s,o){this.raws||(this.raws={}),this[n]=s,this.raws[n]=o},e.setPropertyWithoutEscape=function(n,s){this[n]=s,this.raws&&delete this.raws[n]},e.isAtPosition=function(n,s){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>n||this.source.end.line<n||this.source.start.line===n&&this.source.start.column>s||this.source.end.line===n&&this.source.end.column<s)},e.stringifyProperty=function(n){return this.raws&&this.raws[n]||this[n]},e.valueToString=function(){return String(this.stringifyProperty("value"))},e.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},n8(t,[{key:"rawSpaceBefore",get:function(){var n=this.raws&&this.raws.spaces&&this.raws.spaces.before;return n===void 0&&(n=this.spaces&&this.spaces.before),n||""},set:function(n){(0,U2.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=n}},{key:"rawSpaceAfter",get:function(){var n=this.raws&&this.raws.spaces&&this.raws.spaces.after;return n===void 0&&(n=this.spaces.after),n||""},set:function(n){(0,U2.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=n}}]),t}();Li.default=i8;G2.exports=Li.default});var it=N(Pe=>{"use strict";p();d();f();Pe.__esModule=!0;Pe.UNIVERSAL=Pe.TAG=Pe.STRING=Pe.SELECTOR=Pe.ROOT=Pe.PSEUDO=Pe.NESTING=Pe.ID=Pe.COMMENT=Pe.COMBINATOR=Pe.CLASS=Pe.ATTRIBUTE=void 0;var o8="tag";Pe.TAG=o8;var a8="string";Pe.STRING=a8;var l8="selector";Pe.SELECTOR=l8;var u8="root";Pe.ROOT=u8;var B8="pseudo";Pe.PSEUDO=B8;var c8="nesting";Pe.NESTING=c8;var p8="id";Pe.ID=p8;var f8="comment";Pe.COMMENT=f8;var d8="combinator";Pe.COMBINATOR=d8;var C8="class";Pe.CLASS=C8;var h8="attribute";Pe.ATTRIBUTE=h8;var m8="universal";Pe.UNIVERSAL=m8});var yl=N((Ri,Q2)=>{"use strict";p();d();f();Ri.__esModule=!0;Ri.default=void 0;var g8=y8(Fr()),Mr=v8(it());function j2(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(j2=function(s){return s?r:e})(t)}function v8(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=j2(e);if(r&&r.has(t))return r.get(t);var n={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var i=s?Object.getOwnPropertyDescriptor(t,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=t[o]}return n.default=t,r&&r.set(t,n),n}function y8(t){return t&&t.__esModule?t:{default:t}}function w8(t,e){var r=typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r)return(r=r.call(t)).next.bind(r);if(Array.isArray(t)||(r=b8(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
75
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function b8(t,e){if(t){if(typeof t=="string")return H2(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return H2(t,e)}}function H2(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function z2(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function D8(t,e,r){return e&&z2(t.prototype,e),r&&z2(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function x8(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,xc(t,e)}function xc(t,e){return xc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},xc(t,e)}var S8=function(t){x8(e,t);function e(n){var s;return s=t.call(this,n)||this,s.nodes||(s.nodes=[]),s}var r=e.prototype;return r.append=function(s){return s.parent=this,this.nodes.push(s),this},r.prepend=function(s){return s.parent=this,this.nodes.unshift(s),this},r.at=function(s){return this.nodes[s]},r.index=function(s){return typeof s=="number"?s:this.nodes.indexOf(s)},r.removeChild=function(s){s=this.index(s),this.at(s).parent=void 0,this.nodes.splice(s,1);var o;for(var i in this.indexes)o=this.indexes[i],o>=s&&(this.indexes[i]=o-1);return this},r.removeAll=function(){for(var s=w8(this.nodes),o;!(o=s()).done;){var i=o.value;i.parent=void 0}return this.nodes=[],this},r.empty=function(){return this.removeAll()},r.insertAfter=function(s,o){o.parent=this;var i=this.index(s);this.nodes.splice(i+1,0,o),o.parent=this;var a;for(var l in this.indexes)a=this.indexes[l],i<=a&&(this.indexes[l]=a+1);return this},r.insertBefore=function(s,o){o.parent=this;var i=this.index(s);this.nodes.splice(i,0,o),o.parent=this;var a;for(var l in this.indexes)a=this.indexes[l],a<=i&&(this.indexes[l]=a+1);return this},r._findChildAtPosition=function(s,o){var i=void 0;return this.each(function(a){if(a.atPosition){var l=a.atPosition(s,o);if(l)return i=l,!1}else if(a.isAtPosition(s,o))return i=a,!1}),i},r.atPosition=function(s,o){if(this.isAtPosition(s,o))return this._findChildAtPosition(s,o)||this},r._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},r.each=function(s){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var o=this.lastEach;if(this.indexes[o]=0,!!this.length){for(var i,a;this.indexes[o]<this.length&&(i=this.indexes[o],a=s(this.at(i),i),a!==!1);)this.indexes[o]+=1;if(delete this.indexes[o],a===!1)return!1}},r.walk=function(s){return this.each(function(o,i){var a=s(o,i);if(a!==!1&&o.length&&(a=o.walk(s)),a===!1)return!1})},r.walkAttributes=function(s){var o=this;return this.walk(function(i){if(i.type===Mr.ATTRIBUTE)return s.call(o,i)})},r.walkClasses=function(s){var o=this;return this.walk(function(i){if(i.type===Mr.CLASS)return s.call(o,i)})},r.walkCombinators=function(s){var o=this;return this.walk(function(i){if(i.type===Mr.COMBINATOR)return s.call(o,i)})},r.walkComments=function(s){var o=this;return this.walk(function(i){if(i.type===Mr.COMMENT)return s.call(o,i)})},r.walkIds=function(s){var o=this;return this.walk(function(i){if(i.type===Mr.ID)return s.call(o,i)})},r.walkNesting=function(s){var o=this;return this.walk(function(i){if(i.type===Mr.NESTING)return s.call(o,i)})},r.walkPseudos=function(s){var o=this;return this.walk(function(i){if(i.type===Mr.PSEUDO)return s.call(o,i)})},r.walkTags=function(s){var o=this;return this.walk(function(i){if(i.type===Mr.TAG)return s.call(o,i)})},r.walkUniversals=function(s){var o=this;return this.walk(function(i){if(i.type===Mr.UNIVERSAL)return s.call(o,i)})},r.split=function(s){var o=this,i=[];return this.reduce(function(a,l,u){var c=s.call(o,l);return i.push(l),c?(a.push(i),i=[]):u===o.length-1&&a.push(i),a},[])},r.map=function(s){return this.nodes.map(s)},r.reduce=function(s,o){return this.nodes.reduce(s,o)},r.every=function(s){return this.nodes.every(s)},r.some=function(s){return this.nodes.some(s)},r.filter=function(s){return this.nodes.filter(s)},r.sort=function(s){return this.nodes.sort(s)},r.toString=function(){return this.map(String).join("")},D8(e,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),e}(g8.default);Ri.default=S8;Q2.exports=Ri.default});var kc=N((Fi,K2)=>{"use strict";p();d();f();Fi.__esModule=!0;Fi.default=void 0;var k8=A8(yl()),P8=it();function A8(t){return t&&t.__esModule?t:{default:t}}function J2(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function N8(t,e,r){return e&&J2(t.prototype,e),r&&J2(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function E8(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Sc(t,e)}function Sc(t,e){return Sc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Sc(t,e)}var O8=function(t){E8(e,t);function e(n){var s;return s=t.call(this,n)||this,s.type=P8.ROOT,s}var r=e.prototype;return r.toString=function(){var s=this.reduce(function(o,i){return o.push(String(i)),o},[]).join(",");return this.trailingComma?s+",":s},r.error=function(s,o){return this._error?this._error(s,o):new Error(s)},N8(e,[{key:"errorGenerator",set:function(s){this._error=s}}]),e}(k8.default);Fi.default=O8;K2.exports=Fi.default});var Ac=N((Mi,Y2)=>{"use strict";p();d();f();Mi.__esModule=!0;Mi.default=void 0;var T8=L8(yl()),I8=it();function L8(t){return t&&t.__esModule?t:{default:t}}function R8(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Pc(t,e)}function Pc(t,e){return Pc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Pc(t,e)}var F8=function(t){R8(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=I8.SELECTOR,n}return e}(T8.default);Mi.default=F8;Y2.exports=Mi.default});var wl=N((Hre,X2)=>{"use strict";p();d();f();var M8={},_8=M8.hasOwnProperty,q8=function(e,r){if(!e)return r;var n={};for(var s in r)n[s]=_8.call(e,s)?e[s]:r[s];return n},V8=/[ -,\.\/:-@\[-\^`\{-~]/,U8=/[ -,\.\/:-@\[\]\^`\{-~]/,W8=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Nc=function t(e,r){r=q8(r,t.options),r.quotes!="single"&&r.quotes!="double"&&(r.quotes="single");for(var n=r.quotes=="double"?'"':"'",s=r.isIdentifier,o=e.charAt(0),i="",a=0,l=e.length;a<l;){var u=e.charAt(a++),c=u.charCodeAt(),B=void 0;if(c<32||c>126){if(c>=55296&&c<=56319&&a<l){var h=e.charCodeAt(a++);(h&64512)==56320?c=((c&1023)<<10)+(h&1023)+65536:a--}B="\\"+c.toString(16).toUpperCase()+" "}else r.escapeEverything?V8.test(u)?B="\\"+u:B="\\"+c.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(u)?B="\\"+c.toString(16).toUpperCase()+" ":u=="\\"||!s&&(u=='"'&&n==u||u=="'"&&n==u)||s&&U8.test(u)?B="\\"+u:B=u;i+=B}return s&&(/^-[-\d]/.test(i)?i="\\-"+i.slice(1):/\d/.test(o)&&(i="\\3"+o+" "+i.slice(1))),i=i.replace(W8,function(g,v,w){return v&&v.length%2?g:(v||"")+w}),!s&&r.wrap?n+i+n:i};Nc.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};Nc.version="3.0.0";X2.exports=Nc});var Oc=N((_i,eD)=>{"use strict";p();d();f();_i.__esModule=!0;_i.default=void 0;var G8=$2(wl()),H8=Ii(),z8=$2(Fr()),j8=it();function $2(t){return t&&t.__esModule?t:{default:t}}function Z2(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Q8(t,e,r){return e&&Z2(t.prototype,e),r&&Z2(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function J8(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Ec(t,e)}function Ec(t,e){return Ec=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Ec(t,e)}var K8=function(t){J8(e,t);function e(n){var s;return s=t.call(this,n)||this,s.type=j8.CLASS,s._constructed=!0,s}var r=e.prototype;return r.valueToString=function(){return"."+t.prototype.valueToString.call(this)},Q8(e,[{key:"value",get:function(){return this._value},set:function(s){if(this._constructed){var o=(0,G8.default)(s,{isIdentifier:!0});o!==s?((0,H8.ensureObject)(this,"raws"),this.raws.value=o):this.raws&&delete this.raws.value}this._value=s}}]),e}(z8.default);_i.default=K8;eD.exports=_i.default});var Ic=N((qi,tD)=>{"use strict";p();d();f();qi.__esModule=!0;qi.default=void 0;var Y8=Z8(Fr()),X8=it();function Z8(t){return t&&t.__esModule?t:{default:t}}function $8(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Tc(t,e)}function Tc(t,e){return Tc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Tc(t,e)}var eT=function(t){$8(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=X8.COMMENT,n}return e}(Y8.default);qi.default=eT;tD.exports=qi.default});var Rc=N((Vi,rD)=>{"use strict";p();d();f();Vi.__esModule=!0;Vi.default=void 0;var tT=nT(Fr()),rT=it();function nT(t){return t&&t.__esModule?t:{default:t}}function sT(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Lc(t,e)}function Lc(t,e){return Lc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Lc(t,e)}var iT=function(t){sT(e,t);function e(n){var s;return s=t.call(this,n)||this,s.type=rT.ID,s}var r=e.prototype;return r.valueToString=function(){return"#"+t.prototype.valueToString.call(this)},e}(tT.default);Vi.default=iT;rD.exports=Vi.default});var bl=N((Ui,iD)=>{"use strict";p();d();f();Ui.__esModule=!0;Ui.default=void 0;var oT=sD(wl()),aT=Ii(),lT=sD(Fr());function sD(t){return t&&t.__esModule?t:{default:t}}function nD(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function uT(t,e,r){return e&&nD(t.prototype,e),r&&nD(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function BT(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Fc(t,e)}function Fc(t,e){return Fc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Fc(t,e)}var cT=function(t){BT(e,t);function e(){return t.apply(this,arguments)||this}var r=e.prototype;return r.qualifiedName=function(s){return this.namespace?this.namespaceString+"|"+s:s},r.valueToString=function(){return this.qualifiedName(t.prototype.valueToString.call(this))},uT(e,[{key:"namespace",get:function(){return this._namespace},set:function(s){if(s===!0||s==="*"||s==="&"){this._namespace=s,this.raws&&delete this.raws.namespace;return}var o=(0,oT.default)(s,{isIdentifier:!0});this._namespace=s,o!==s?((0,aT.ensureObject)(this,"raws"),this.raws.namespace=o):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(s){this.namespace=s}},{key:"namespaceString",get:function(){if(this.namespace){var s=this.stringifyProperty("namespace");return s===!0?"":s}else return""}}]),e}(lT.default);Ui.default=cT;iD.exports=Ui.default});var _c=N((Wi,oD)=>{"use strict";p();d();f();Wi.__esModule=!0;Wi.default=void 0;var pT=dT(bl()),fT=it();function dT(t){return t&&t.__esModule?t:{default:t}}function CT(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Mc(t,e)}function Mc(t,e){return Mc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Mc(t,e)}var hT=function(t){CT(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=fT.TAG,n}return e}(pT.default);Wi.default=hT;oD.exports=Wi.default});var Vc=N((Gi,aD)=>{"use strict";p();d();f();Gi.__esModule=!0;Gi.default=void 0;var mT=vT(Fr()),gT=it();function vT(t){return t&&t.__esModule?t:{default:t}}function yT(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,qc(t,e)}function qc(t,e){return qc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},qc(t,e)}var wT=function(t){yT(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=gT.STRING,n}return e}(mT.default);Gi.default=wT;aD.exports=Gi.default});var Wc=N((Hi,lD)=>{"use strict";p();d();f();Hi.__esModule=!0;Hi.default=void 0;var bT=xT(yl()),DT=it();function xT(t){return t&&t.__esModule?t:{default:t}}function ST(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Uc(t,e)}function Uc(t,e){return Uc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Uc(t,e)}var kT=function(t){ST(e,t);function e(n){var s;return s=t.call(this,n)||this,s.type=DT.PSEUDO,s}var r=e.prototype;return r.toString=function(){var s=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),s,this.rawSpaceAfter].join("")},e}(bT.default);Hi.default=kT;lD.exports=Hi.default});var BD=N((Cne,uD)=>{p();d();f();uD.exports=PT;function PT(t,e){if(Gc("noDeprecation"))return t;var r=!1;function n(){if(!r){if(Gc("throwDeprecation"))throw new Error(e);Gc("traceDeprecation")?console.trace(e):console.warn(e),r=!0}return t.apply(this,arguments)}return n}function Gc(t){try{if(!window.localStorage)return!1}catch{return!1}var e=window.localStorage[t];return e==null?!1:String(e).toLowerCase()==="true"}});var Kc=N(Qi=>{"use strict";p();d();f();Qi.__esModule=!0;Qi.default=void 0;Qi.unescapeValue=Jc;var zi=Qc(wl()),AT=Qc(Dc()),NT=Qc(bl()),ET=it(),Hc;function Qc(t){return t&&t.__esModule?t:{default:t}}function cD(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function OT(t,e,r){return e&&cD(t.prototype,e),r&&cD(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function TT(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,jc(t,e)}function jc(t,e){return jc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},jc(t,e)}var ji=BD(),IT=/^('|")([^]*)\1$/,LT=ji(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),RT=ji(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),FT=ji(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function Jc(t){var e=!1,r=null,n=t,s=n.match(IT);return s&&(r=s[1],n=s[2]),n=(0,AT.default)(n),n!==t&&(e=!0),{deprecatedUsage:e,unescaped:n,quoteMark:r}}function MT(t){if(t.quoteMark!==void 0||t.value===void 0)return t;FT();var e=Jc(t.value),r=e.quoteMark,n=e.unescaped;return t.raws||(t.raws={}),t.raws.value===void 0&&(t.raws.value=t.value),t.value=n,t.quoteMark=r,t}var Dl=function(t){TT(e,t);function e(n){var s;return n===void 0&&(n={}),s=t.call(this,MT(n))||this,s.type=ET.ATTRIBUTE,s.raws=s.raws||{},Object.defineProperty(s.raws,"unquoted",{get:ji(function(){return s.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:ji(function(){return s.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),s._constructed=!0,s}var r=e.prototype;return r.getQuotedValue=function(s){s===void 0&&(s={});var o=this._determineQuoteMark(s),i=zc[o],a=(0,zi.default)(this._value,i);return a},r._determineQuoteMark=function(s){return s.smart?this.smartQuoteMark(s):this.preferredQuoteMark(s)},r.setValue=function(s,o){o===void 0&&(o={}),this._value=s,this._quoteMark=this._determineQuoteMark(o),this._syncRawValue()},r.smartQuoteMark=function(s){var o=this.value,i=o.replace(/[^']/g,"").length,a=o.replace(/[^"]/g,"").length;if(i+a===0){var l=(0,zi.default)(o,{isIdentifier:!0});if(l===o)return e.NO_QUOTE;var u=this.preferredQuoteMark(s);if(u===e.NO_QUOTE){var c=this.quoteMark||s.quoteMark||e.DOUBLE_QUOTE,B=zc[c],h=(0,zi.default)(o,B);if(h.length<l.length)return c}return u}else return a===i?this.preferredQuoteMark(s):a<i?e.DOUBLE_QUOTE:e.SINGLE_QUOTE},r.preferredQuoteMark=function(s){var o=s.preferCurrentQuoteMark?this.quoteMark:s.quoteMark;return o===void 0&&(o=s.preferCurrentQuoteMark?s.quoteMark:this.quoteMark),o===void 0&&(o=e.DOUBLE_QUOTE),o},r._syncRawValue=function(){var s=(0,zi.default)(this._value,zc[this.quoteMark]);s===this._value?this.raws&&delete this.raws.value:this.raws.value=s},r._handleEscapes=function(s,o){if(this._constructed){var i=(0,zi.default)(o,{isIdentifier:!0});i!==o?this.raws[s]=i:delete this.raws[s]}},r._spacesFor=function(s){var o={before:"",after:""},i=this.spaces[s]||{},a=this.raws.spaces&&this.raws.spaces[s]||{};return Object.assign(o,i,a)},r._stringFor=function(s,o,i){o===void 0&&(o=s),i===void 0&&(i=pD);var a=this._spacesFor(o);return i(this.stringifyProperty(s),a)},r.offsetOf=function(s){var o=1,i=this._spacesFor("attribute");if(o+=i.before.length,s==="namespace"||s==="ns")return this.namespace?o:-1;if(s==="attributeNS"||(o+=this.namespaceString.length,this.namespace&&(o+=1),s==="attribute"))return o;o+=this.stringifyProperty("attribute").length,o+=i.after.length;var a=this._spacesFor("operator");o+=a.before.length;var l=this.stringifyProperty("operator");if(s==="operator")return l?o:-1;o+=l.length,o+=a.after.length;var u=this._spacesFor("value");o+=u.before.length;var c=this.stringifyProperty("value");if(s==="value")return c?o:-1;o+=c.length,o+=u.after.length;var B=this._spacesFor("insensitive");return o+=B.before.length,s==="insensitive"&&this.insensitive?o:-1},r.toString=function(){var s=this,o=[this.rawSpaceBefore,"["];return o.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(o.push(this._stringFor("operator")),o.push(this._stringFor("value")),o.push(this._stringFor("insensitiveFlag","insensitive",function(i,a){return i.length>0&&!s.quoted&&a.before.length===0&&!(s.spaces.value&&s.spaces.value.after)&&(a.before=" "),pD(i,a)}))),o.push("]"),o.push(this.rawSpaceAfter),o.join("")},OT(e,[{key:"quoted",get:function(){var s=this.quoteMark;return s==="'"||s==='"'},set:function(s){RT()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(s){if(!this._constructed){this._quoteMark=s;return}this._quoteMark!==s&&(this._quoteMark=s,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(s){if(this._constructed){var o=Jc(s),i=o.deprecatedUsage,a=o.unescaped,l=o.quoteMark;if(i&<(),a===this._value&&l===this._quoteMark)return;this._value=a,this._quoteMark=l,this._syncRawValue()}else this._value=s}},{key:"insensitive",get:function(){return this._insensitive},set:function(s){s||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=s}},{key:"attribute",get:function(){return this._attribute},set:function(s){this._handleEscapes("attribute",s),this._attribute=s}}]),e}(NT.default);Qi.default=Dl;Dl.NO_QUOTE=null;Dl.SINGLE_QUOTE="'";Dl.DOUBLE_QUOTE='"';var zc=(Hc={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},Hc[null]={isIdentifier:!0},Hc);function pD(t,e){return""+e.before+t+e.after}});var Xc=N((Ji,fD)=>{"use strict";p();d();f();Ji.__esModule=!0;Ji.default=void 0;var _T=VT(bl()),qT=it();function VT(t){return t&&t.__esModule?t:{default:t}}function UT(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Yc(t,e)}function Yc(t,e){return Yc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Yc(t,e)}var WT=function(t){UT(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=qT.UNIVERSAL,n.value="*",n}return e}(_T.default);Ji.default=WT;fD.exports=Ji.default});var $c=N((Ki,dD)=>{"use strict";p();d();f();Ki.__esModule=!0;Ki.default=void 0;var GT=zT(Fr()),HT=it();function zT(t){return t&&t.__esModule?t:{default:t}}function jT(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Zc(t,e)}function Zc(t,e){return Zc=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},Zc(t,e)}var QT=function(t){jT(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=HT.COMBINATOR,n}return e}(GT.default);Ki.default=QT;dD.exports=Ki.default});var tp=N((Yi,CD)=>{"use strict";p();d();f();Yi.__esModule=!0;Yi.default=void 0;var JT=YT(Fr()),KT=it();function YT(t){return t&&t.__esModule?t:{default:t}}function XT(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,ep(t,e)}function ep(t,e){return ep=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,s){return n.__proto__=s,n},ep(t,e)}var ZT=function(t){XT(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=KT.NESTING,n.value="&",n}return e}(JT.default);Yi.default=ZT;CD.exports=Yi.default});var mD=N((xl,hD)=>{"use strict";p();d();f();xl.__esModule=!0;xl.default=$T;function $T(t){return t.sort(function(e,r){return e-r})}hD.exports=xl.default});var rp=N(K=>{"use strict";p();d();f();K.__esModule=!0;K.word=K.tilde=K.tab=K.str=K.space=K.slash=K.singleQuote=K.semicolon=K.plus=K.pipe=K.openSquare=K.openParenthesis=K.newline=K.greaterThan=K.feed=K.equals=K.doubleQuote=K.dollar=K.cr=K.comment=K.comma=K.combinator=K.colon=K.closeSquare=K.closeParenthesis=K.caret=K.bang=K.backslash=K.at=K.asterisk=K.ampersand=void 0;var eI=38;K.ampersand=eI;var tI=42;K.asterisk=tI;var rI=64;K.at=rI;var nI=44;K.comma=nI;var sI=58;K.colon=sI;var iI=59;K.semicolon=iI;var oI=40;K.openParenthesis=oI;var aI=41;K.closeParenthesis=aI;var lI=91;K.openSquare=lI;var uI=93;K.closeSquare=uI;var BI=36;K.dollar=BI;var cI=126;K.tilde=cI;var pI=94;K.caret=pI;var fI=43;K.plus=fI;var dI=61;K.equals=dI;var CI=124;K.pipe=CI;var hI=62;K.greaterThan=hI;var mI=32;K.space=mI;var gD=39;K.singleQuote=gD;var gI=34;K.doubleQuote=gI;var vI=47;K.slash=vI;var yI=33;K.bang=yI;var wI=92;K.backslash=wI;var bI=13;K.cr=bI;var DI=12;K.feed=DI;var xI=10;K.newline=xI;var SI=9;K.tab=SI;var kI=gD;K.str=kI;var PI=-1;K.comment=PI;var AI=-2;K.word=AI;var NI=-3;K.combinator=NI});var wD=N(Xi=>{"use strict";p();d();f();Xi.__esModule=!0;Xi.FIELDS=void 0;Xi.default=FI;var z=EI(rp()),ws,Se;function yD(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(yD=function(s){return s?r:e})(t)}function EI(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=yD(e);if(r&&r.has(t))return r.get(t);var n={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var i=s?Object.getOwnPropertyDescriptor(t,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=t[o]}return n.default=t,r&&r.set(t,n),n}var OI=(ws={},ws[z.tab]=!0,ws[z.newline]=!0,ws[z.cr]=!0,ws[z.feed]=!0,ws),TI=(Se={},Se[z.space]=!0,Se[z.tab]=!0,Se[z.newline]=!0,Se[z.cr]=!0,Se[z.feed]=!0,Se[z.ampersand]=!0,Se[z.asterisk]=!0,Se[z.bang]=!0,Se[z.comma]=!0,Se[z.colon]=!0,Se[z.semicolon]=!0,Se[z.openParenthesis]=!0,Se[z.closeParenthesis]=!0,Se[z.openSquare]=!0,Se[z.closeSquare]=!0,Se[z.singleQuote]=!0,Se[z.doubleQuote]=!0,Se[z.plus]=!0,Se[z.pipe]=!0,Se[z.tilde]=!0,Se[z.greaterThan]=!0,Se[z.equals]=!0,Se[z.dollar]=!0,Se[z.caret]=!0,Se[z.slash]=!0,Se),np={},vD="0123456789abcdefABCDEF";for(Sl=0;Sl<vD.length;Sl++)np[vD.charCodeAt(Sl)]=!0;var Sl;function II(t,e){var r=e,n;do{if(n=t.charCodeAt(r),TI[n])return r-1;n===z.backslash?r=LI(t,r)+1:r++}while(r<t.length);return r-1}function LI(t,e){var r=e,n=t.charCodeAt(r+1);if(!OI[n])if(np[n]){var s=0;do r++,s++,n=t.charCodeAt(r+1);while(np[n]&&s<6);s<6&&n===z.space&&r++}else r++;return r}var RI={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};Xi.FIELDS=RI;function FI(t){var e=[],r=t.css.valueOf(),n=r,s=n.length,o=-1,i=1,a=0,l=0,u,c,B,h,g,v,w,y,P,O,E,F,q;function ye(ae,ue){if(t.safe)r+=ue,P=r.length-1;else throw t.error("Unclosed "+ae,i,a-o,a)}for(;a<s;){switch(u=r.charCodeAt(a),u===z.newline&&(o=a,i+=1),u){case z.space:case z.tab:case z.newline:case z.cr:case z.feed:P=a;do P+=1,u=r.charCodeAt(P),u===z.newline&&(o=P,i+=1);while(u===z.space||u===z.newline||u===z.tab||u===z.cr||u===z.feed);q=z.space,h=i,B=P-o-1,l=P;break;case z.plus:case z.greaterThan:case z.tilde:case z.pipe:P=a;do P+=1,u=r.charCodeAt(P);while(u===z.plus||u===z.greaterThan||u===z.tilde||u===z.pipe);q=z.combinator,h=i,B=a-o,l=P;break;case z.asterisk:case z.ampersand:case z.bang:case z.comma:case z.equals:case z.dollar:case z.caret:case z.openSquare:case z.closeSquare:case z.colon:case z.semicolon:case z.openParenthesis:case z.closeParenthesis:P=a,q=u,h=i,B=a-o,l=P+1;break;case z.singleQuote:case z.doubleQuote:F=u===z.singleQuote?"'":'"',P=a;do for(g=!1,P=r.indexOf(F,P+1),P===-1&&ye("quote",F),v=P;r.charCodeAt(v-1)===z.backslash;)v-=1,g=!g;while(g);q=z.str,h=i,B=a-o,l=P+1;break;default:u===z.slash&&r.charCodeAt(a+1)===z.asterisk?(P=r.indexOf("*/",a+2)+1,P===0&&ye("comment","*/"),c=r.slice(a,P+1),y=c.split(`
|
|
76
|
+
`),w=y.length-1,w>0?(O=i+w,E=P-y[w].length):(O=i,E=o),q=z.comment,i=O,h=O,B=P-E):u===z.slash?(P=a,q=u,h=i,B=a-o,l=P+1):(P=II(r,a),q=z.word,h=i,B=P-o),l=P+1;break}e.push([q,i,a-o,h,B,a,l]),E&&(o=E,E=null),a=l}return e}});var ND=N((Zi,AD)=>{"use strict";p();d();f();Zi.__esModule=!0;Zi.default=void 0;var MI=_t(kc()),sp=_t(Ac()),_I=_t(Oc()),bD=_t(Ic()),qI=_t(Rc()),VI=_t(_c()),ip=_t(Vc()),UI=_t(Wc()),DD=kl(Kc()),WI=_t(Xc()),op=_t($c()),GI=_t(tp()),HI=_t(mD()),U=kl(wD()),Q=kl(rp()),zI=kl(it()),Re=Ii(),In,ap;function PD(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(PD=function(s){return s?r:e})(t)}function kl(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=PD(e);if(r&&r.has(t))return r.get(t);var n={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var i=s?Object.getOwnPropertyDescriptor(t,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=t[o]}return n.default=t,r&&r.set(t,n),n}function _t(t){return t&&t.__esModule?t:{default:t}}function xD(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function jI(t,e,r){return e&&xD(t.prototype,e),r&&xD(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}var Bp=(In={},In[Q.space]=!0,In[Q.cr]=!0,In[Q.feed]=!0,In[Q.newline]=!0,In[Q.tab]=!0,In),QI=Object.assign({},Bp,(ap={},ap[Q.comment]=!0,ap));function SD(t){return{line:t[U.FIELDS.START_LINE],column:t[U.FIELDS.START_COL]}}function kD(t){return{line:t[U.FIELDS.END_LINE],column:t[U.FIELDS.END_COL]}}function Ln(t,e,r,n){return{start:{line:t,column:e},end:{line:r,column:n}}}function bs(t){return Ln(t[U.FIELDS.START_LINE],t[U.FIELDS.START_COL],t[U.FIELDS.END_LINE],t[U.FIELDS.END_COL])}function lp(t,e){if(t)return Ln(t[U.FIELDS.START_LINE],t[U.FIELDS.START_COL],e[U.FIELDS.END_LINE],e[U.FIELDS.END_COL])}function Ds(t,e){var r=t[e];if(typeof r=="string")return r.indexOf("\\")!==-1&&((0,Re.ensureObject)(t,"raws"),t[e]=(0,Re.unesc)(r),t.raws[e]===void 0&&(t.raws[e]=r)),t}function up(t,e){for(var r=-1,n=[];(r=t.indexOf(e,r+1))!==-1;)n.push(r);return n}function JI(){var t=Array.prototype.concat.apply([],arguments);return t.filter(function(e,r){return r===t.indexOf(e)})}var KI=function(){function t(r,n){n===void 0&&(n={}),this.rule=r,this.options=Object.assign({lossy:!1,safe:!1},n),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,U.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var s=lp(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new MI.default({source:s}),this.root.errorGenerator=this._errorGenerator();var o=new sp.default({source:{start:{line:1,column:1}},sourceIndex:0});this.root.append(o),this.current=o,this.loop()}var e=t.prototype;return e._errorGenerator=function(){var n=this;return function(s,o){return typeof n.rule=="string"?new Error(s):n.rule.error(s,o)}},e.attribute=function(){var n=[],s=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[U.FIELDS.TYPE]!==Q.closeSquare;)n.push(this.currToken),this.position++;if(this.currToken[U.FIELDS.TYPE]!==Q.closeSquare)return this.expected("closing square bracket",this.currToken[U.FIELDS.START_POS]);var o=n.length,i={source:Ln(s[1],s[2],this.currToken[3],this.currToken[4]),sourceIndex:s[U.FIELDS.START_POS]};if(o===1&&!~[Q.word].indexOf(n[0][U.FIELDS.TYPE]))return this.expected("attribute",n[0][U.FIELDS.START_POS]);for(var a=0,l="",u="",c=null,B=!1;a<o;){var h=n[a],g=this.content(h),v=n[a+1];switch(h[U.FIELDS.TYPE]){case Q.space:if(B=!0,this.options.lossy)break;if(c){(0,Re.ensureObject)(i,"spaces",c);var w=i.spaces[c].after||"";i.spaces[c].after=w+g;var y=(0,Re.getProp)(i,"raws","spaces",c,"after")||null;y&&(i.raws.spaces[c].after=y+g)}else l=l+g,u=u+g;break;case Q.asterisk:if(v[U.FIELDS.TYPE]===Q.equals)i.operator=g,c="operator";else if((!i.namespace||c==="namespace"&&!B)&&v){l&&((0,Re.ensureObject)(i,"spaces","attribute"),i.spaces.attribute.before=l,l=""),u&&((0,Re.ensureObject)(i,"raws","spaces","attribute"),i.raws.spaces.attribute.before=l,u=""),i.namespace=(i.namespace||"")+g;var P=(0,Re.getProp)(i,"raws","namespace")||null;P&&(i.raws.namespace+=g),c="namespace"}B=!1;break;case Q.dollar:if(c==="value"){var O=(0,Re.getProp)(i,"raws","value");i.value+="$",O&&(i.raws.value=O+"$");break}case Q.caret:v[U.FIELDS.TYPE]===Q.equals&&(i.operator=g,c="operator"),B=!1;break;case Q.combinator:if(g==="~"&&v[U.FIELDS.TYPE]===Q.equals&&(i.operator=g,c="operator"),g!=="|"){B=!1;break}v[U.FIELDS.TYPE]===Q.equals?(i.operator=g,c="operator"):!i.namespace&&!i.attribute&&(i.namespace=!0),B=!1;break;case Q.word:if(v&&this.content(v)==="|"&&n[a+2]&&n[a+2][U.FIELDS.TYPE]!==Q.equals&&!i.operator&&!i.namespace)i.namespace=g,c="namespace";else if(!i.attribute||c==="attribute"&&!B){l&&((0,Re.ensureObject)(i,"spaces","attribute"),i.spaces.attribute.before=l,l=""),u&&((0,Re.ensureObject)(i,"raws","spaces","attribute"),i.raws.spaces.attribute.before=u,u=""),i.attribute=(i.attribute||"")+g;var E=(0,Re.getProp)(i,"raws","attribute")||null;E&&(i.raws.attribute+=g),c="attribute"}else if(!i.value&&i.value!==""||c==="value"&&!(B||i.quoteMark)){var F=(0,Re.unesc)(g),q=(0,Re.getProp)(i,"raws","value")||"",ye=i.value||"";i.value=ye+F,i.quoteMark=null,(F!==g||q)&&((0,Re.ensureObject)(i,"raws"),i.raws.value=(q||ye)+g),c="value"}else{var ae=g==="i"||g==="I";(i.value||i.value==="")&&(i.quoteMark||B)?(i.insensitive=ae,(!ae||g==="I")&&((0,Re.ensureObject)(i,"raws"),i.raws.insensitiveFlag=g),c="insensitive",l&&((0,Re.ensureObject)(i,"spaces","insensitive"),i.spaces.insensitive.before=l,l=""),u&&((0,Re.ensureObject)(i,"raws","spaces","insensitive"),i.raws.spaces.insensitive.before=u,u="")):(i.value||i.value==="")&&(c="value",i.value+=g,i.raws.value&&(i.raws.value+=g))}B=!1;break;case Q.str:if(!i.attribute||!i.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:h[U.FIELDS.START_POS]});var ue=(0,DD.unescapeValue)(g),J=ue.unescaped,Z=ue.quoteMark;i.value=J,i.quoteMark=Z,c="value",(0,Re.ensureObject)(i,"raws"),i.raws.value=g,B=!1;break;case Q.equals:if(!i.attribute)return this.expected("attribute",h[U.FIELDS.START_POS],g);if(i.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:h[U.FIELDS.START_POS]});i.operator=i.operator?i.operator+g:g,c="operator",B=!1;break;case Q.comment:if(c)if(B||v&&v[U.FIELDS.TYPE]===Q.space||c==="insensitive"){var Lt=(0,Re.getProp)(i,"spaces",c,"after")||"",$e=(0,Re.getProp)(i,"raws","spaces",c,"after")||Lt;(0,Re.ensureObject)(i,"raws","spaces",c),i.raws.spaces[c].after=$e+g}else{var kt=i[c]||"",Rt=(0,Re.getProp)(i,"raws",c)||kt;(0,Re.ensureObject)(i,"raws"),i.raws[c]=Rt+g}else u=u+g;break;default:return this.error('Unexpected "'+g+'" found.',{index:h[U.FIELDS.START_POS]})}a++}Ds(i,"attribute"),Ds(i,"namespace"),this.newNode(new DD.default(i)),this.position++},e.parseWhitespaceEquivalentTokens=function(n){n<0&&(n=this.tokens.length);var s=this.position,o=[],i="",a=void 0;do if(Bp[this.currToken[U.FIELDS.TYPE]])this.options.lossy||(i+=this.content());else if(this.currToken[U.FIELDS.TYPE]===Q.comment){var l={};i&&(l.before=i,i=""),a=new bD.default({value:this.content(),source:bs(this.currToken),sourceIndex:this.currToken[U.FIELDS.START_POS],spaces:l}),o.push(a)}while(++this.position<n);if(i){if(a)a.spaces.after=i;else if(!this.options.lossy){var u=this.tokens[s],c=this.tokens[this.position-1];o.push(new ip.default({value:"",source:Ln(u[U.FIELDS.START_LINE],u[U.FIELDS.START_COL],c[U.FIELDS.END_LINE],c[U.FIELDS.END_COL]),sourceIndex:u[U.FIELDS.START_POS],spaces:{before:i,after:""}}))}}return o},e.convertWhitespaceNodesToSpace=function(n,s){var o=this;s===void 0&&(s=!1);var i="",a="";n.forEach(function(u){var c=o.lossySpace(u.spaces.before,s),B=o.lossySpace(u.rawSpaceBefore,s);i+=c+o.lossySpace(u.spaces.after,s&&c.length===0),a+=c+u.value+o.lossySpace(u.rawSpaceAfter,s&&B.length===0)}),a===i&&(a=void 0);var l={space:i,rawSpace:a};return l},e.isNamedCombinator=function(n){return n===void 0&&(n=this.position),this.tokens[n+0]&&this.tokens[n+0][U.FIELDS.TYPE]===Q.slash&&this.tokens[n+1]&&this.tokens[n+1][U.FIELDS.TYPE]===Q.word&&this.tokens[n+2]&&this.tokens[n+2][U.FIELDS.TYPE]===Q.slash},e.namedCombinator=function(){if(this.isNamedCombinator()){var n=this.content(this.tokens[this.position+1]),s=(0,Re.unesc)(n).toLowerCase(),o={};s!==n&&(o.value="/"+n+"/");var i=new op.default({value:"/"+s+"/",source:Ln(this.currToken[U.FIELDS.START_LINE],this.currToken[U.FIELDS.START_COL],this.tokens[this.position+2][U.FIELDS.END_LINE],this.tokens[this.position+2][U.FIELDS.END_COL]),sourceIndex:this.currToken[U.FIELDS.START_POS],raws:o});return this.position=this.position+3,i}else this.unexpected()},e.combinator=function(){var n=this;if(this.content()==="|")return this.namespace();var s=this.locateNextMeaningfulToken(this.position);if(s<0||this.tokens[s][U.FIELDS.TYPE]===Q.comma||this.tokens[s][U.FIELDS.TYPE]===Q.closeParenthesis){var o=this.parseWhitespaceEquivalentTokens(s);if(o.length>0){var i=this.current.last;if(i){var a=this.convertWhitespaceNodesToSpace(o),l=a.space,u=a.rawSpace;u!==void 0&&(i.rawSpaceAfter+=u),i.spaces.after+=l}else o.forEach(function(q){return n.newNode(q)})}return}var c=this.currToken,B=void 0;s>this.position&&(B=this.parseWhitespaceEquivalentTokens(s));var h;if(this.isNamedCombinator()?h=this.namedCombinator():this.currToken[U.FIELDS.TYPE]===Q.combinator?(h=new op.default({value:this.content(),source:bs(this.currToken),sourceIndex:this.currToken[U.FIELDS.START_POS]}),this.position++):Bp[this.currToken[U.FIELDS.TYPE]]||B||this.unexpected(),h){if(B){var g=this.convertWhitespaceNodesToSpace(B),v=g.space,w=g.rawSpace;h.spaces.before=v,h.rawSpaceBefore=w}}else{var y=this.convertWhitespaceNodesToSpace(B,!0),P=y.space,O=y.rawSpace;O||(O=P);var E={},F={spaces:{}};P.endsWith(" ")&&O.endsWith(" ")?(E.before=P.slice(0,P.length-1),F.spaces.before=O.slice(0,O.length-1)):P.startsWith(" ")&&O.startsWith(" ")?(E.after=P.slice(1),F.spaces.after=O.slice(1)):F.value=O,h=new op.default({value:" ",source:lp(c,this.tokens[this.position-1]),sourceIndex:c[U.FIELDS.START_POS],spaces:E,raws:F})}return this.currToken&&this.currToken[U.FIELDS.TYPE]===Q.space&&(h.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(h)},e.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var n=new sp.default({source:{start:SD(this.tokens[this.position+1])},sourceIndex:this.tokens[this.position+1][U.FIELDS.START_POS]});this.current.parent.append(n),this.current=n,this.position++},e.comment=function(){var n=this.currToken;this.newNode(new bD.default({value:this.content(),source:bs(n),sourceIndex:n[U.FIELDS.START_POS]})),this.position++},e.error=function(n,s){throw this.root.error(n,s)},e.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[U.FIELDS.START_POS]})},e.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[U.FIELDS.START_POS])},e.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[U.FIELDS.START_POS])},e.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[U.FIELDS.START_POS])},e.unexpectedPipe=function(){return this.error("Unexpected '|'.",this.currToken[U.FIELDS.START_POS])},e.namespace=function(){var n=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[U.FIELDS.TYPE]===Q.word)return this.position++,this.word(n);if(this.nextToken[U.FIELDS.TYPE]===Q.asterisk)return this.position++,this.universal(n);this.unexpectedPipe()},e.nesting=function(){if(this.nextToken){var n=this.content(this.nextToken);if(n==="|"){this.position++;return}}var s=this.currToken;this.newNode(new GI.default({value:this.content(),source:bs(s),sourceIndex:s[U.FIELDS.START_POS]})),this.position++},e.parentheses=function(){var n=this.current.last,s=1;if(this.position++,n&&n.type===zI.PSEUDO){var o=new sp.default({source:{start:SD(this.tokens[this.position])},sourceIndex:this.tokens[this.position][U.FIELDS.START_POS]}),i=this.current;for(n.append(o),this.current=o;this.position<this.tokens.length&&s;)this.currToken[U.FIELDS.TYPE]===Q.openParenthesis&&s++,this.currToken[U.FIELDS.TYPE]===Q.closeParenthesis&&s--,s?this.parse():(this.current.source.end=kD(this.currToken),this.current.parent.source.end=kD(this.currToken),this.position++);this.current=i}else{for(var a=this.currToken,l="(",u;this.position<this.tokens.length&&s;)this.currToken[U.FIELDS.TYPE]===Q.openParenthesis&&s++,this.currToken[U.FIELDS.TYPE]===Q.closeParenthesis&&s--,u=this.currToken,l+=this.parseParenthesisToken(this.currToken),this.position++;n?n.appendToPropertyAndEscape("value",l,l):this.newNode(new ip.default({value:l,source:Ln(a[U.FIELDS.START_LINE],a[U.FIELDS.START_COL],u[U.FIELDS.END_LINE],u[U.FIELDS.END_COL]),sourceIndex:a[U.FIELDS.START_POS]}))}if(s)return this.expected("closing parenthesis",this.currToken[U.FIELDS.START_POS])},e.pseudo=function(){for(var n=this,s="",o=this.currToken;this.currToken&&this.currToken[U.FIELDS.TYPE]===Q.colon;)s+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[U.FIELDS.TYPE]===Q.word)this.splitWord(!1,function(i,a){s+=i,n.newNode(new UI.default({value:s,source:lp(o,n.currToken),sourceIndex:o[U.FIELDS.START_POS]})),a>1&&n.nextToken&&n.nextToken[U.FIELDS.TYPE]===Q.openParenthesis&&n.error("Misplaced parenthesis.",{index:n.nextToken[U.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[U.FIELDS.START_POS])},e.space=function(){var n=this.content();this.position===0||this.prevToken[U.FIELDS.TYPE]===Q.comma||this.prevToken[U.FIELDS.TYPE]===Q.openParenthesis||this.current.nodes.every(function(s){return s.type==="comment"})?(this.spaces=this.optionalSpace(n),this.position++):this.position===this.tokens.length-1||this.nextToken[U.FIELDS.TYPE]===Q.comma||this.nextToken[U.FIELDS.TYPE]===Q.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(n),this.position++):this.combinator()},e.string=function(){var n=this.currToken;this.newNode(new ip.default({value:this.content(),source:bs(n),sourceIndex:n[U.FIELDS.START_POS]})),this.position++},e.universal=function(n){var s=this.nextToken;if(s&&this.content(s)==="|")return this.position++,this.namespace();var o=this.currToken;this.newNode(new WI.default({value:this.content(),source:bs(o),sourceIndex:o[U.FIELDS.START_POS]}),n),this.position++},e.splitWord=function(n,s){for(var o=this,i=this.nextToken,a=this.content();i&&~[Q.dollar,Q.caret,Q.equals,Q.word].indexOf(i[U.FIELDS.TYPE]);){this.position++;var l=this.content();if(a+=l,l.lastIndexOf("\\")===l.length-1){var u=this.nextToken;u&&u[U.FIELDS.TYPE]===Q.space&&(a+=this.requiredSpace(this.content(u)),this.position++)}i=this.nextToken}var c=up(a,".").filter(function(v){var w=a[v-1]==="\\",y=/^\d+\.\d+%$/.test(a);return!w&&!y}),B=up(a,"#").filter(function(v){return a[v-1]!=="\\"}),h=up(a,"#{");h.length&&(B=B.filter(function(v){return!~h.indexOf(v)}));var g=(0,HI.default)(JI([0].concat(c,B)));g.forEach(function(v,w){var y=g[w+1]||a.length,P=a.slice(v,y);if(w===0&&s)return s.call(o,P,g.length);var O,E=o.currToken,F=E[U.FIELDS.START_POS]+g[w],q=Ln(E[1],E[2]+v,E[3],E[2]+(y-1));if(~c.indexOf(v)){var ye={value:P.slice(1),source:q,sourceIndex:F};O=new _I.default(Ds(ye,"value"))}else if(~B.indexOf(v)){var ae={value:P.slice(1),source:q,sourceIndex:F};O=new qI.default(Ds(ae,"value"))}else{var ue={value:P,source:q,sourceIndex:F};Ds(ue,"value"),O=new VI.default(ue)}o.newNode(O,n),n=null}),this.position++},e.word=function(n){var s=this.nextToken;return s&&this.content(s)==="|"?(this.position++,this.namespace()):this.splitWord(n)},e.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},e.parse=function(n){switch(this.currToken[U.FIELDS.TYPE]){case Q.space:this.space();break;case Q.comment:this.comment();break;case Q.openParenthesis:this.parentheses();break;case Q.closeParenthesis:n&&this.missingParenthesis();break;case Q.openSquare:this.attribute();break;case Q.dollar:case Q.caret:case Q.equals:case Q.word:this.word();break;case Q.colon:this.pseudo();break;case Q.comma:this.comma();break;case Q.asterisk:this.universal();break;case Q.ampersand:this.nesting();break;case Q.slash:case Q.combinator:this.combinator();break;case Q.str:this.string();break;case Q.closeSquare:this.missingSquareBracket();case Q.semicolon:this.missingBackslash();default:this.unexpected()}},e.expected=function(n,s,o){if(Array.isArray(n)){var i=n.pop();n=n.join(", ")+" or "+i}var a=/^[aeiou]/.test(n[0])?"an":"a";return o?this.error("Expected "+a+" "+n+', found "'+o+'" instead.',{index:s}):this.error("Expected "+a+" "+n+".",{index:s})},e.requiredSpace=function(n){return this.options.lossy?" ":n},e.optionalSpace=function(n){return this.options.lossy?"":n},e.lossySpace=function(n,s){return this.options.lossy?s?" ":"":n},e.parseParenthesisToken=function(n){var s=this.content(n);return n[U.FIELDS.TYPE]===Q.space?this.requiredSpace(s):s},e.newNode=function(n,s){return s&&(/^ +$/.test(s)&&(this.options.lossy||(this.spaces=(this.spaces||"")+s),s=!0),n.namespace=s,Ds(n,"namespace")),this.spaces&&(n.spaces.before=this.spaces,this.spaces=""),this.current.append(n)},e.content=function(n){return n===void 0&&(n=this.currToken),this.css.slice(n[U.FIELDS.START_POS],n[U.FIELDS.END_POS])},e.locateNextMeaningfulToken=function(n){n===void 0&&(n=this.position+1);for(var s=n;s<this.tokens.length;)if(QI[this.tokens[s][U.FIELDS.TYPE]]){s++;continue}else return s;return-1},jI(t,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),t}();Zi.default=KI;AD.exports=Zi.default});var OD=N(($i,ED)=>{"use strict";p();d();f();$i.__esModule=!0;$i.default=void 0;var YI=XI(ND());function XI(t){return t&&t.__esModule?t:{default:t}}var ZI=function(){function t(r,n){this.func=r||function(){},this.funcRes=null,this.options=n}var e=t.prototype;return e._shouldUpdateSelector=function(n,s){s===void 0&&(s={});var o=Object.assign({},this.options,s);return o.updateSelector===!1?!1:typeof n!="string"},e._isLossy=function(n){n===void 0&&(n={});var s=Object.assign({},this.options,n);return s.lossless===!1},e._root=function(n,s){s===void 0&&(s={});var o=new YI.default(n,this._parseOptions(s));return o.root},e._parseOptions=function(n){return{lossy:this._isLossy(n)}},e._run=function(n,s){var o=this;return s===void 0&&(s={}),new Promise(function(i,a){try{var l=o._root(n,s);Promise.resolve(o.func(l)).then(function(u){var c=void 0;return o._shouldUpdateSelector(n,s)&&(c=l.toString(),n.selector=c),{transform:u,root:l,string:c}}).then(i,a)}catch(u){a(u);return}})},e._runSync=function(n,s){s===void 0&&(s={});var o=this._root(n,s),i=this.func(o);if(i&&typeof i.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var a=void 0;return s.updateSelector&&typeof n!="string"&&(a=o.toString(),n.selector=a),{transform:i,root:o,string:a}},e.ast=function(n,s){return this._run(n,s).then(function(o){return o.root})},e.astSync=function(n,s){return this._runSync(n,s).root},e.transform=function(n,s){return this._run(n,s).then(function(o){return o.transform})},e.transformSync=function(n,s){return this._runSync(n,s).transform},e.process=function(n,s){return this._run(n,s).then(function(o){return o.string||o.root.toString()})},e.processSync=function(n,s){var o=this._runSync(n,s);return o.string||o.root.toString()},t}();$i.default=ZI;ED.exports=$i.default});var TD=N(Ae=>{"use strict";p();d();f();Ae.__esModule=!0;Ae.universal=Ae.tag=Ae.string=Ae.selector=Ae.root=Ae.pseudo=Ae.nesting=Ae.id=Ae.comment=Ae.combinator=Ae.className=Ae.attribute=void 0;var $I=qt(Kc()),eL=qt(Oc()),tL=qt($c()),rL=qt(Ic()),nL=qt(Rc()),sL=qt(tp()),iL=qt(Wc()),oL=qt(kc()),aL=qt(Ac()),lL=qt(Vc()),uL=qt(_c()),BL=qt(Xc());function qt(t){return t&&t.__esModule?t:{default:t}}var cL=function(e){return new $I.default(e)};Ae.attribute=cL;var pL=function(e){return new eL.default(e)};Ae.className=pL;var fL=function(e){return new tL.default(e)};Ae.combinator=fL;var dL=function(e){return new rL.default(e)};Ae.comment=dL;var CL=function(e){return new nL.default(e)};Ae.id=CL;var hL=function(e){return new sL.default(e)};Ae.nesting=hL;var mL=function(e){return new iL.default(e)};Ae.pseudo=mL;var gL=function(e){return new oL.default(e)};Ae.root=gL;var vL=function(e){return new aL.default(e)};Ae.selector=vL;var yL=function(e){return new lL.default(e)};Ae.string=yL;var wL=function(e){return new uL.default(e)};Ae.tag=wL;var bL=function(e){return new BL.default(e)};Ae.universal=bL});var FD=N(me=>{"use strict";p();d();f();me.__esModule=!0;me.isComment=me.isCombinator=me.isClassName=me.isAttribute=void 0;me.isContainer=LL;me.isIdentifier=void 0;me.isNamespace=RL;me.isNesting=void 0;me.isNode=cp;me.isPseudo=void 0;me.isPseudoClass=IL;me.isPseudoElement=RD;me.isUniversal=me.isTag=me.isString=me.isSelector=me.isRoot=void 0;var Fe=it(),yt,DL=(yt={},yt[Fe.ATTRIBUTE]=!0,yt[Fe.CLASS]=!0,yt[Fe.COMBINATOR]=!0,yt[Fe.COMMENT]=!0,yt[Fe.ID]=!0,yt[Fe.NESTING]=!0,yt[Fe.PSEUDO]=!0,yt[Fe.ROOT]=!0,yt[Fe.SELECTOR]=!0,yt[Fe.STRING]=!0,yt[Fe.TAG]=!0,yt[Fe.UNIVERSAL]=!0,yt);function cp(t){return typeof t=="object"&&DL[t.type]}function Vt(t,e){return cp(e)&&e.type===t}var ID=Vt.bind(null,Fe.ATTRIBUTE);me.isAttribute=ID;var xL=Vt.bind(null,Fe.CLASS);me.isClassName=xL;var SL=Vt.bind(null,Fe.COMBINATOR);me.isCombinator=SL;var kL=Vt.bind(null,Fe.COMMENT);me.isComment=kL;var PL=Vt.bind(null,Fe.ID);me.isIdentifier=PL;var AL=Vt.bind(null,Fe.NESTING);me.isNesting=AL;var pp=Vt.bind(null,Fe.PSEUDO);me.isPseudo=pp;var NL=Vt.bind(null,Fe.ROOT);me.isRoot=NL;var EL=Vt.bind(null,Fe.SELECTOR);me.isSelector=EL;var OL=Vt.bind(null,Fe.STRING);me.isString=OL;var LD=Vt.bind(null,Fe.TAG);me.isTag=LD;var TL=Vt.bind(null,Fe.UNIVERSAL);me.isUniversal=TL;function RD(t){return pp(t)&&t.value&&(t.value.startsWith("::")||t.value.toLowerCase()===":before"||t.value.toLowerCase()===":after"||t.value.toLowerCase()===":first-letter"||t.value.toLowerCase()===":first-line")}function IL(t){return pp(t)&&!RD(t)}function LL(t){return!!(cp(t)&&t.walk)}function RL(t){return ID(t)||LD(t)}});var MD=N(Yt=>{"use strict";p();d();f();Yt.__esModule=!0;var fp=it();Object.keys(fp).forEach(function(t){t==="default"||t==="__esModule"||t in Yt&&Yt[t]===fp[t]||(Yt[t]=fp[t])});var dp=TD();Object.keys(dp).forEach(function(t){t==="default"||t==="__esModule"||t in Yt&&Yt[t]===dp[t]||(Yt[t]=dp[t])});var Cp=FD();Object.keys(Cp).forEach(function(t){t==="default"||t==="__esModule"||t in Yt&&Yt[t]===Cp[t]||(Yt[t]=Cp[t])})});var ut=N((eo,qD)=>{"use strict";p();d();f();eo.__esModule=!0;eo.default=void 0;var FL=qL(OD()),ML=_L(MD());function _D(t){if(typeof WeakMap!="function")return null;var e=new WeakMap,r=new WeakMap;return(_D=function(s){return s?r:e})(t)}function _L(t,e){if(!e&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var r=_D(e);if(r&&r.has(t))return r.get(t);var n={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o)){var i=s?Object.getOwnPropertyDescriptor(t,o):null;i&&(i.get||i.set)?Object.defineProperty(n,o,i):n[o]=t[o]}return n.default=t,r&&r.set(t,n),n}function qL(t){return t&&t.__esModule?t:{default:t}}var hp=function(e){return new FL.default(e)};Object.assign(hp,ML);delete hp.__esModule;var VL=hp;eo.default=VL;qD.exports=eo.default});var UD=N((gse,wp)=>{p();d();f();wp.exports=function(t){return{postcssPlugin:"postcss-page-break",Declaration(e){if(e.prop.startsWith("break-")&&/^break-(inside|before|after)/.test(e.prop)){if(e.value.search(/column|region/)>=0)return;let r;switch(e.value){case"page":r="always";break;case"avoid-page":r="avoid";break;default:r=e.value}let n="page-"+e.prop;e.parent.every(s=>s.prop!==n)&&e.cloneBefore({prop:n,value:r})}}}};wp.exports.postcss=!0});var KD=N((Rse,Ap)=>{p();d();f();var an=He();function Pp(t){let e=t.match(/([\d.-]+)(.*)/);if(!(!e||!e[1]||!e[2]||isNaN(e[1])))return[parseFloat(e[1]),e[2]]}function Ll(t,e,r){return t&&e&&r?`max(${t}, min(${e}, ${r}))`:t&&e?`max(${t}, ${e})`:t}function Ss(t,e,r){let n=e,s=an(e),o=an(t.value),i=!1;o.walk((a,l,u)=>{!(a.type==="function"&&a.value==="clamp")||i||(i=!0,u[l]=s)}),i&&(n=o.toString()),r?t.cloneBefore({value:n}):t.value=n}Ap.exports=t=>{t=t||{};let e=t.precalculate?!!t.precalculate:!1,r=t.preserve?!!t.preserve:!1;return{postcssPlugin:"postcss-clamp",Declaration(n){!n||!n.value.includes("clamp")||an(n.value).walk(s=>{let o=s.nodes;if(s.type!=="function"||s.value!=="clamp"||o.length!==5)return;let i=o[0],a=o[2],l=o[4],u=Ll(an.stringify(i),an.stringify(a),an.stringify(l));if(!e||a.type!=="word"||l.type!=="word"){Ss(n,u,r);return}let c=Pp(a.value),B=Pp(l.value);if(c===void 0||B===void 0){Ss(n,u,r);return}let[h,g]=c,[v,w]=B;if(g!==w){Ss(n,u,r);return}let y=Pp(i.value);if(y===void 0){let E=`${h+v}${g}`;Ss(n,Ll(an.stringify(i),E),r);return}let[P,O]=y;if(O!==g){let E=`${h+v}${g}`;Ss(n,Ll(an.stringify(i),E),r);return}Ss(n,Ll(`${P+h+v}${g}`),r)})}}};Ap.exports.postcss=!0});var GS=N((oae,Vf)=>{p();d();f();var hn={"font-variant-ligatures":{"common-ligatures":'"liga", "clig"',"no-common-ligatures":'"liga", "clig off"',"discretionary-ligatures":'"dlig"',"no-discretionary-ligatures":'"dlig" off',"historical-ligatures":'"hlig"',"no-historical-ligatures":'"hlig" off',contextual:'"calt"',"no-contextual":'"calt" off'},"font-variant-position":{sub:'"subs"',super:'"sups"',normal:'"subs" off, "sups" off'},"font-variant-caps":{"small-caps":'"smcp"',"all-small-caps":'"smcp", "c2sc"',"petite-caps":'"pcap"',"all-petite-caps":'"pcap", "c2pc"',unicase:'"unic"',"titling-caps":'"titl"'},"font-variant-numeric":{"lining-nums":'"lnum"',"oldstyle-nums":'"onum"',"proportional-nums":'"pnum"',"tabular-nums":'"tnum"',"diagonal-fractions":'"frac"',"stacked-fractions":'"afrc"',ordinal:'"ordn"',"slashed-zero":'"zero"'},"font-kerning":{normal:'"kern"',none:'"kern" off'},"font-variant":{normal:"normal",inherit:"inherit"}};for(let t in hn){let e=hn[t];for(let r in e)r in hn["font-variant"]||(hn["font-variant"][r]=e[r])}function U_(t){let e=null;return t.parent.walkDecls(r=>{r.prop==="font-feature-settings"&&(e=r)}),e===null&&(e=t.clone(),e.prop="font-feature-settings",e.value="",t.parent.insertBefore(t,e)),e}function W_(t){let e=null;t.walkDecls(r=>{if(!hn[r.prop])return null;let n=r.value;r.prop==="font-variant"?n=r.value.split(/\s+/g).map(s=>hn["font-variant"][s]).join(", "):hn[r.prop][r.value]&&(n=hn[r.prop][r.value]),e===null&&(e=U_(r)),e.value&&e.value!==n?e.value+=", "+n:e.value=n})}Vf.exports=()=>({postcssPlugin:"postcss-font-variant",Once(t){t.walkRules(W_)}});Vf.exports.postcss=!0});var Ok=N((que,Ed)=>{p();d();f();var yq=new Set(["inherit","initial","revert","unset"]);Ed.exports=({preserve:t=!1}={})=>({postcssPlugin:"postcss-opacity-percentage",Declaration:{opacity(e){!e.value||e.value.startsWith("var(")||!e.value.endsWith("%")||yq.has(e.value)||(e.cloneBefore({value:String(Number.parseFloat(e.value)/100)}),t||e.remove())}}});Ed.exports.postcss=!0});var Tk=N((Que,Td)=>{p();d();f();Td.exports=function(t){t=t||{};var e=t.method||"replace";return{postcssPlugin:"postcss-replace-overflow-wrap",Declaration:{"overflow-wrap":r=>{r.cloneBefore({prop:"word-wrap"}),e==="replace"&&r.remove()}}}};Td.exports.postcss=!0});var oV={};Ys(oV,{postcssPresetEnv:()=>Jd});p();d();f();p();d();f();var Hk=ce(T2(),1);p();d();f();var I2=[{id:"all-property",title:"`all` Property",description:"A property for defining the reset of all properties of an element",specification:"https://www.w3.org/TR/css-cascade-3/#all-shorthand",stage:4,browser_support:{and_chr:"37",and_ff:"27",android:"37",chrome:"37",edge:"79",firefox:"27",ios_saf:"9.3",oculus:"5.0",op_mob:"24",opera:"24",safari:"9.1",samsung:"3.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/all"},example:`a {
|
|
77
77
|
all: initial;
|
|
78
78
|
}`,interoperable_at:1579046400,polyfills:[{type:"PostCSS Plugin",link:"https://github.com/maximkoretskiy/postcss-initial"}],vendors_implementations:3},{id:"any-link-pseudo-class",title:"`:any-link` Hyperlink Pseudo-Class",description:"A pseudo-class for matching anchor elements independent of whether they have been visited",specification:"https://www.w3.org/TR/selectors-4/#any-link-pseudo",stage:2,browser_support:{and_chr:"18",and_ff:"4",android:"37",chrome:"1",edge:"79",firefox:"1",ios_saf:"1",oculus:"5.0",op_mob:"14",opera:"15",safari:"3",samsung:"1.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/:any-link"},example:`nav :any-link > span {
|
|
79
79
|
background-color: yellow;
|
|
@@ -318,17 +318,17 @@ body {
|
|
|
318
318
|
/* C */
|
|
319
319
|
}`,vendors_implementations:0},{id:"where-pseudo-class",title:"`:where()` Zero-Specificity Pseudo-Class",description:"A pseudo-class for matching elements in a selector list without contributing specificity",specification:"https://www.w3.org/TR/selectors-4/#where-pseudo",stage:2,browser_support:{and_chr:"88",and_ff:"82",android:"88",chrome:"88",edge:"88",firefox:"82",ios_saf:"14",oculus:"14.0",op_mob:"63",opera:"74",safari:"14",samsung:"15.0"},docs:{mdn:"https://developer.mozilla.org/en-US/docs/Web/CSS/:where"},example:`a:where(:not(:hover)) {
|
|
320
320
|
text-decoration: none;
|
|
321
|
-
}`,interoperable_at:1611187200,vendors_implementations:3,"web-feature":"where"}];var Tu=Be(ri(),1);p();d();f();var VO=new Map([["animation","none 0s ease 0s 1 normal none running"],["animation-delay","0s"],["animation-direction","normal"],["animation-duration","0s"],["animation-fill-mode","none"],["animation-iteration-count","1"],["animation-name","none"],["animation-play-state","running"],["animation-timing-function","ease"],["backface-visibility","visible"],["background","transparent none repeat 0 0 / auto auto padding-box border-box scroll"],["background-attachment","scroll"],["background-clip","border-box"],["background-color","transparent"],["background-image","none"],["background-origin","padding-box"],["background-position","0 0"],["background-position-x","0"],["background-position-y","0"],["background-repeat","repeat"],["background-size","auto auto"],["border","medium none currentcolor"],["border-style","none"],["border-width","medium"],["border-color","currentcolor"],["border-bottom","0"],["border-bottom-color","currentcolor"],["border-bottom-left-radius","0"],["border-bottom-right-radius","0"],["border-bottom-style","none"],["border-bottom-width","medium"],["border-collapse","separate"],["border-image","none"],["border-left","0"],["border-left-color","currentcolor"],["border-left-style","none"],["border-left-width","medium"],["border-radius","0"],["border-right","0"],["border-right-color","currentcolor"],["border-right-style","none"],["border-right-width","medium"],["border-spacing","0"],["border-top","0"],["border-top-color","currentcolor"],["border-top-left-radius","0"],["border-top-right-radius","0"],["border-top-style","none"],["border-top-width","medium"],["bottom","auto"],["box-shadow","none"],["box-sizing","content-box"],["caption-side","top"],["clear","none"],["clip","auto"],["color","#000"],["columns","auto"],["column-count","auto"],["column-fill","balance"],["column-gap","normal"],["column-rule","medium none currentcolor"],["column-rule-color","currentcolor"],["column-rule-style","none"],["column-rule-width","medium"],["column-span","1"],["column-width","auto"],["content","normal"],["counter-increment","none"],["counter-reset","none"],["cursor","auto"],["direction","ltr"],["display","inline"],["empty-cells","show"],["float","none"],["font-family","serif"],["font-size","medium"],["font-style","normal"],["font-variant","normal"],["font-weight","normal"],["font-stretch","normal"],["line-height","normal"],["height","auto"],["hyphens","none"],["left","auto"],["letter-spacing","normal"],["list-style","disc outside none"],["list-style-image","none"],["list-style-position","outside"],["list-style-type","disc"],["margin","0"],["margin-bottom","0"],["margin-left","0"],["margin-right","0"],["margin-top","0"],["max-height","none"],["max-width","none"],["min-height","0"],["min-width","0"],["opacity","1"],["orphans","2"],["outline","medium none currentcolor"],["outline-color","currentcolor"],["outline-style","none"],["outline-width","medium"],["overflow","visible"],["overflow-x","visible"],["overflow-y","visible"],["padding","0"],["padding-bottom","0"],["padding-left","0"],["padding-right","0"],["padding-top","0"],["page-break-after","auto"],["page-break-before","auto"],["page-break-inside","auto"],["perspective","none"],["perspective-origin","50% 50%"],["position","static"],["quotes",'"\u201C" "\u201D" "\u2018" "\u2019"'],["right","auto"],["tab-size","8"],["table-layout","auto"],["text-align","left"],["text-align-last","auto"],["text-decoration","none"],["text-decoration-color","currentcolor"],["text-decoration-line","none"],["text-decoration-style","solid"],["text-indent","0"],["text-shadow","none"],["text-transform","none"],["top","auto"],["transform","none"],["transform-origin","50% 50% 0"],["transform-style","flat"],["transition","none 0s ease 0s"],["transition-delay","0s"],["transition-duration","0s"],["transition-property","none"],["transition-timing-function","ease"],["unicode-bidi","normal"],["vertical-align","baseline"],["visibility","visible"],["white-space","normal"],["widows","2"],["width","auto"],["word-spacing","normal"],["z-index","auto"]]),UO=["animation","backface-visibility","background","border","border-collapse","border-image","border-radius","border-spacing","bottom","box-shadow","box-sizing","caption-side","clear","clip","color","columns","column-count","column-fill","column-gap","column-rule","column-span","column-width","content","counter-increment","counter-reset","cursor","display","empty-cells","float","font-family","font-size","font-style","font-variant","font-weight","font-stretch","line-height","font","height","hyphens","left","letter-spacing","list-style","margin","max-height","max-width","min-height","min-width","opacity","orphans","outline","overflow","overflow-x","overflow-y","padding","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","position","right","tab-size","table-layout","text-align","text-align-last","text-decoration","text-indent","text-shadow","text-transform","top","transform","transform-origin","transform-style","transition","vertical-align","visibility","white-space","widows","width","word-spacing","z-index"];function WO(t,e){let r=t.parent;if(!r)return!1;let n=t.prop.toLowerCase();for(let s=r.index(t)-1;s>=0;s--){let o=r.nodes[s];if(o.type==="decl"&&o.prop.toLowerCase()===n)return o.value===e}return!1}var GO=/^\s?initial\s?$/i,HO=/^font$/i,zO=/^all$/i,jO=["font-family","font-size","font-style","font-variant","font-weight","font-stretch","line-height"],bc=t=>{let e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-initial",Declaration(r){if(r.variable||!GO.test(r.value))return;let n;n=HO.test(r.prop)?jO:zO.test(r.prop)?UO:[r.prop.toLowerCase()],n.forEach(s=>{let o=VO.get(s);o&&(WO(r,o)||r.cloneBefore({prop:s,value:o}))}),e.preserve||r.remove()}}};bc.postcss=!0;p();d();f();var fr=Be(ut(),1),Pl=(0,fr.default)().astSync(":link").nodes[0],Al=(0,fr.default)().astSync(":visited").nodes[0],UL=(0,fr.default)().astSync("area[href]").nodes[0],WL=(0,fr.default)().astSync("[href]").nodes[0];function GL(t,e,r,n){let s=[],o=[];try{for(let i=0;i<t.selectors.length;i++){let a=t.selectors[i],l=HL(a,n);l.length?s.push(...l):o.push(a)}}catch(i){return t.warn(e,`Failed to parse selector : "${t.selector}" with message: "${i instanceof Error?i.message:i}"`),!1}return!!s.length&&(t.cloneBefore({selectors:s}),o.length&&t.cloneBefore({selectors:o}),r||t.remove(),!0)}function HL(t,e){let r=[];return(0,fr.default)(n=>{let s=[];n.walkPseudos(o=>{if(o.value.toLowerCase()===":not")return!1;if(o.value.toLowerCase()!==":any-link"||o.nodes&&o.nodes.length)return;if(!e)return void s.push([Pl.clone(),Al.clone()]);let i=jL(o);i.includes("area")?s.push([Pl.clone(),Al.clone(),WL.clone()]):i.length?s.push([Pl.clone(),Al.clone()]):s.push([Pl.clone(),Al.clone(),UL.clone()])}),s.length&&zL(...s).forEach(o=>{let i=n.clone();i.walkPseudos(a=>{a.value.toLowerCase()!==":any-link"||a.nodes&&a.nodes.length||(QL(a.parent,a,o.shift()),a.remove())}),r.push(i.toString())})}).processSync(t),r}function zL(...t){let e=[],r=t.length-1;return function n(s,o){for(let i=0,a=t[o].length;i<a;i++){let l=s.slice(0);l.push(t[o][i]),o==r?e.push(l):n(l,o+1)}}([],0),e}function jL(t){let e=[],r=t.prev();for(;r&&r.type!=="combinator"&&!fr.default.isPseudoElement(r);)r.type==="tag"&&e.push(r.value.toLowerCase()),r=r.prev();let n=t.next();for(;n&&n.type!=="combinator"&&!fr.default.isPseudoElement(n);)n.type==="tag"&&e.push(n.value.toLowerCase()),n=n.next();return e}function QL(t,e,r){if(!t||!r)return;let n=r.type;r.type==="selector"&&r.nodes&&r.nodes.length&&(n=r.nodes[0].type);let s=-1,o=-1,i=t.index(e);for(let a=i;a>=0&&t.nodes[a].type!=="combinator"&&!fr.default.isPseudoElement(t.nodes[a].type);a--)s=a;if(n!=="tag"){for(let a=i;a<t.nodes.length&&t.nodes[a].type!=="combinator"&&!fr.default.isPseudoElement(t.nodes[a].type);a++)o=a;for(let a=s;a<=o;a++)if(t.nodes[a].type===n)return void t.insertAfter(t.at(a),r);t.insertAfter(t.at(s),r)}else t.insertBefore(t.at(s),r)}var mp=t=>{let e={preserve:!0,...t},r={areaHrefNeedsFixing:!1,...Object(e.subFeatures)};return{postcssPlugin:"postcss-pseudo-class-any-link",prepare(){let n=new WeakSet;return{postcssPlugin:"postcss-pseudo-class-any-link",Rule(s,{result:o}){s.selector.toLowerCase().includes(":any-link")&&(n.has(s)||(s.raws.selector&&s.raws.selector.raw||s.selector).endsWith(":")||GL(s,o,e.preserve,r.areaHrefNeedsFixing)&&n.add(s))}}}}};mp.postcss=!0;p();d();f();var sn=Be(ut(),1),VD=[" ",">","~",":","+","@","#","(",")"];function JL(t){let e=!0;for(let r=0,n=VD.length;r<n&&e;r++)t.indexOf(VD[r])>-1&&(e=!1);return e}var gp="js-blank-pseudo",vp=":blank",yp=t=>{let e=Object.assign({preserve:!0,replaceWith:"[blank]",disablePolyfillReadyClass:!1},t),r=(0,sn.default)().astSync(e.replaceWith);return JL(e.replaceWith)?{postcssPlugin:"css-blank-pseudo",prepare(){let n=new WeakSet;return{postcssPlugin:"css-blank-pseudo",Rule(s,{result:o}){if(n.has(s)||!s.selector.toLowerCase().includes(vp))return;let i=s.selectors.flatMap(a=>{if(!a.toLowerCase().includes(vp))return[a];let l;try{l=(0,sn.default)().astSync(a)}catch(B){return s.warn(o,`Failed to parse selector : "${a}" with message: "${B instanceof Error?B.message:B}"`),[a]}if(l===void 0)return[a];let u=!1;if(l.walkPseudos(B=>{B.value.toLowerCase()===vp&&(B.nodes&&B.nodes.length||(u=!0,B.replaceWith(r.clone({}))))}),!u)return[a];let c=l.clone();if(!e.disablePolyfillReadyClass){if(l.nodes?.[0]?.nodes?.length)for(let B=0;B<l.nodes[0].nodes.length;B++){let h=l.nodes[0].nodes[B];if(h.type==="combinator"||sn.default.isPseudoElement(h)){l.nodes[0].insertBefore(h,sn.default.className({value:gp}));break}if(B===l.nodes[0].nodes.length-1){l.nodes[0].append(sn.default.className({value:gp}));break}}return l.nodes?.[0]?.nodes&&(c.nodes[0].prepend(sn.default.combinator({value:" "})),c.nodes[0].prepend(sn.default.className({value:gp}))),[l.toString(),c.toString()]}return[l.toString()]});i.join(",")!==s.selectors.join(",")&&(n.add(s),s.cloneBefore({selectors:i}),e.preserve||s.remove())}}}}:{postcssPlugin:"css-blank-pseudo",Once(n,{result:s}){n.warn(s,`${e.replaceWith} is not a valid replacement since it can't be applied to single elements.`)}}};yp.postcss=!0;var zk=Be(UD(),1);p();d();f();var xs=Be(ut(),1);p();d();f();var to=Be(ut(),1);function KL(t,e){return t.a===e.a?t.b===e.b?t.c-e.c:t.b-e.b:t.a-e.a}function Ut(t,e){let r=e?.customSpecificity?.(t);if(r)return r;if(!t)return{a:0,b:0,c:0};let n=0,s=0,o=0;if(t.type=="universal")return{a:0,b:0,c:0};if(t.type==="id")n+=1;else if(t.type==="tag")o+=1;else if(t.type==="class")s+=1;else if(t.type==="attribute")s+=1;else if(YL(t))switch(t.value.toLowerCase()){case"::slotted":if(o+=1,t.nodes&&t.nodes.length>0){let i=Nl(t.nodes,e);n+=i.a,s+=i.b,o+=i.c}break;case"::view-transition-group":case"::view-transition-image-pair":case"::view-transition-old":case"::view-transition-new":return t.nodes&&t.nodes.length===1&&t.nodes[0].type==="selector"&&XL(t.nodes[0])?{a:0,b:0,c:0}:{a:0,b:0,c:1};default:o+=1}else if(to.default.isPseudoClass(t))switch(t.value.toLowerCase()){case":-webkit-any":case":any":default:s+=1;break;case":-moz-any":case":has":case":is":case":matches":case":not":if(t.nodes&&t.nodes.length>0){let i=Nl(t.nodes,e);n+=i.a,s+=i.b,o+=i.c}break;case":where":break;case":nth-child":case":nth-last-child":if(s+=1,t.nodes&&t.nodes.length>0){let i=t.nodes[0].nodes.findIndex(a=>a.type==="tag"&&a.value.toLowerCase()==="of");if(i>-1){let a=to.default.selector({nodes:[],value:""});t.nodes[0].nodes.slice(i+1).forEach(c=>{a.append(c.clone())});let l=[a];t.nodes.length>1&&l.push(...t.nodes.slice(1));let u=Nl(l,e);n+=u.a,s+=u.b,o+=u.c}}break;case":local":case":global":t.nodes&&t.nodes.length>0&&t.nodes.forEach(i=>{let a=Ut(i,e);n+=a.a,s+=a.b,o+=a.c});break;case":host":case":host-context":if(s+=1,t.nodes&&t.nodes.length>0){let i=Nl(t.nodes,e);n+=i.a,s+=i.b,o+=i.c}break;case":active-view-transition":case":active-view-transition-type":return{a:0,b:1,c:0}}else to.default.isContainer(t)&&t.nodes?.length>0&&t.nodes.forEach(i=>{let a=Ut(i,e);n+=a.a,s+=a.b,o+=a.c});return{a:n,b:s,c:o}}function Nl(t,e){let r={a:0,b:0,c:0};return t.forEach(n=>{let s=Ut(n,e);KL(s,r)<0||(r=s)}),r}function YL(t){return to.default.isPseudoElement(t)}function XL(t){if(!t||!t.nodes)return!1;let e=t.nodes.filter(r=>r.type!=="comment");return e.length===0||e.length===1&&e[0].type==="universal"}var bp="csstools-invalid-layer",WD="csstools-layer-with-selector-rules",HD="6efdb677-bb05-44e5-840f-29d2175862fd",zD="b147acf6-11a6-4338-a4d0-80aef4cd1a2f",Il=["media","supports"],ro=["keyframes"],ZL=/^revert-layer$/i,$L=/^import$/i,El=/^layer$/i,eR=/layer/i,tR=new Set(["layer","supports","media","container","scope"]);function Nt(t){if(t.type!=="atrule"||!El.test(t.name))return!1;let e=t.parent;for(;e;){if(e.type==="rule"||e.type==="atrule"&&!tR.has(e.name.toLowerCase()))return!1;e=e.parent}return!0}var Dp=class{anonymousLayerCount=0;layerCount=0;layerOrder;layerParamsParsed;layerNameParts;constructor(){this.anonymousLayerCount=0,this.layerCount=0,this.layerOrder=new Map,this.layerParamsParsed=new Map,this.layerNameParts=new Map}createAnonymousLayerName(){let e=`anonymous-${this.anonymousLayerCount}-${HD}`;return this.addLayerNameParts(e),this.layerParamsParsed.set(e,[e]),this.anonymousLayerCount++,e}createImplicitLayerName(e){let r=this.layerNameParts.get(e)??[],n=`implicit-${r[r.length-1]}-${zD}`;return this.addLayerNameParts([...r,n]),this.layerParamsParsed.set(n,[n]),n}addLayerParams(e,r){r?typeof r!="string"?this.layerParamsParsed.set(e,r):this.layerParamsParsed.set(e,[r]):this.layerParamsParsed.set(e,[e])}addLayerNameParts(e){typeof e!="string"?this.layerNameParts.set(e.join("."),e):this.layerNameParts.set(e,[e])}getLayerParams(e){let r=[...this.layerParamsParsed.get(e.params)??[]],n=e.parent;for(;n;)n.type==="atrule"&&Nt(n)&&r.push(...this.layerParamsParsed.get(n.params)??[]),n=n.parent;return r.reverse(),r.flatMap(s=>this.layerNameParts.get(s)??[])}getLayerNameList(e){let r=this.layerNameParts.get(e)??[],n=[];for(let s=0;s<r.length;s++){let o=r.slice(0,s+1).join(".");this.layerParamsParsed.has(o)||this.layerParamsParsed.set(o,[o]),this.layerNameParts.has(o)||this.layerNameParts.set(o,r.slice(0,s+1)),n.push(r.slice(0,s+1).join("."))}return n}sortLayerNames(){for(let[r,n]of this.layerOrder){let s=this.layerNameParts.get(r)??[];for(let o=1;o<s.length;o++){let i=s.slice(0,o).join(".");this.layerOrder.has(i)||this.layerOrder.set(i,n)}}let e=Array.from(this.layerOrder.entries());e=e.sort((r,n)=>{let s=this.layerNameParts.get(r[0])??[],o=this.layerNameParts.get(n[0])??[];if(s[0]!==o[0])return(this.layerOrder.get(s[0])??0)-(this.layerOrder.get(o[0])??0);let i=Math.max(s.length,o.length);for(let a=0;a<i;a++){let l=s[a],u=o[a];if(l!==u)return l?u?(this.layerOrder.get(s.slice(0,a).join("."))??0)-(this.layerOrder.get(o.slice(0,a).join("."))??0):-1:1}return 0}),this.layerOrder.clear(),e.forEach((r,n)=>{this.layerOrder.set(r[0],n)})}};function GD(t,e){let r=(0,xs.default)().astSync(t),n=(0,xs.default)().astSync(rR(e)),s=!1;for(let o=0;o<r.nodes[0].nodes.length;o++)if(r.nodes[0].nodes[o].type==="combinator"||xs.default.isPseudoElement(r.nodes[0].nodes[o])){r.nodes[0].insertBefore(r.nodes[0].nodes[o],n),s=!0;break}return s||r.nodes[0].insertAfter(r.nodes[0].nodes[r.nodes[0].nodes.length-1],n),r.toString()}function rR(t){if(t===0)return"";let e="";for(let r=0;r<t;r++)e+=":not(#\\#)";return e}function jD(t,e){let r=!1;return t.walk(n=>{if(e(n))return r=!0,!1}),r}function Ol(t,e){let r=!1;return t.walkAtRules(n=>{if(e(n))return r=!0,!1}),r}function Tl(t){let e=t.parent;for(;e;)if(e.type==="atrule"){if(Nt(e))return e;e=e.parent}else e=e.parent;return null}function on(t){t&&(t.walk(e=>{(e.type==="rule"||e.type==="atrule"&&["layer",...Il].includes(e.name.toLowerCase()))&&e.nodes?.length===0&&e.remove()}),t.nodes?.length===0&&t.remove())}function Rn(t){if(!t)return;let e=t;for(;e;){if(e.nodes===void 0||e.nodes.length>0)return;let r=e.parent;e.remove(),e=r}}function nR(t,e){t.walkAtRules(r=>{if(!Nt(r))return;if(r.params){let o=[],i=!1;if((0,xs.default)().astSync(r.params).each(a=>{let l=[];a.walk(u=>{switch(u.type){case"class":case"tag":l.push(u.value);break;default:i=!0}}),i||(o.push(l.join(".")),e.addLayerNameParts(l))}),e.addLayerParams(r.params,o),r.nodes&&o.length>1&&(i=!0),i)return void(r.name=bp);if(!r.nodes||r.nodes.length===0)return o.length<=1?void 0:(o.slice(0,-1).forEach(a=>{e.addLayerParams(a,a),r.cloneBefore({params:a})}),e.addLayerParams(o[o.length-1],o[o.length-1]),void(r.params=o[o.length-1]))}r.params||(r.raws.afterName=" ",r.params=e.createAnonymousLayerName());let n=Ol(r,o=>Nt(o)),s=jD(r,o=>o.type!=="rule"?!1:Tl(o)===r);if(n&&s){let o=e.createImplicitLayerName(r.params),i=r.clone({params:o});i.walkAtRules(a=>{Nt(a)&&a.remove()}),r.walk(a=>{a.type==="atrule"&&Nt(a)||a.type==="atrule"&&Il.includes(a.name.toLowerCase())||Tl(a)===r&&a.remove()}),r.append(i),on(r),Rn(r)}})}function sR(t,e){for(;Ol(t,r=>!!r.nodes&&Ol(r,n=>Nt(n)));){let r=!1;if(t.walkAtRules(n=>{if(Nt(n)&&n.parent!==t){if(n.parent?.type==="atrule"&&Nt(n.parent)){let s=n.parent;{let o=e.layerNameParts.get(s.params),i=e.layerNameParts.get(n.params);if(!o||!i)return;e.layerNameParts.set(`${s.params}.${n.params}`,[...o,...i]),e.layerParamsParsed.set(`${s.params}.${n.params}`,[`${s.params}.${n.params}`])}return n.params=`${s.params}.${n.params}`,s.before(n),on(s),void Rn(s)}if(n.parent?.type==="atrule"){let s=n.parent,o=s.clone(),i=n.clone();return o.removeAll(),i.removeAll(),o.append(n.nodes),i.append(o),s.before(i),n.remove(),on(s),void Rn(s)}r=!0}}),r)break}}function iR(t,e){t.nodes&&(t.walkAtRules(r=>{if(!Nt(r))return;let n=r.clone(),s=r.clone();n.walkAtRules(o=>{if(ro.includes(o.name.toLowerCase())){let a=o.parent;return o.remove(),on(a),void Rn(a)}if(jD(o,a=>a.type==="rule"))return;let i=o.parent;o.remove(),on(i),Rn(i)}),s.walkRules(o=>{if(o.parent&&o.parent.type==="atrule"&&ro.includes(o.parent.name.toLowerCase()))return;let i=o.parent;o.remove(),on(i),Rn(i)}),s.walkAtRules(o=>{if(Il.includes(o.name.toLowerCase()))return on(o),void Rn(o)}),n.name=WD,r.replaceWith(n,s),n.nodes?.length||n.remove(),s.nodes?.length||s.remove()}),t.nodes.sort((r,n)=>{let s=r.type==="atrule"&&El.test(r.name),o=n.type==="atrule"&&El.test(n.name);return s&&o?(e.layerOrder.get(r.params)??0)-(e.layerOrder.get(n.params)??0):s!==o?s?-1:1:0}),t.walkAtRules(WD,r=>{r.name="layer"}))}function oR(t){let e=t.parent;for(;e;)if(e.type==="atrule"){if(Il.includes(e.name.toLowerCase()))return e;e=e.parent}else e=e.parent;return null}function aR(t,e,{result:r,options:n}){t.walkAtRules(s=>{if(!Nt(s))return;let o=e.getLayerParams(s),i=o.join(".");e.layerOrder.has(i)||(n.onConditionalRulesChangingLayerOrder&&oR(s)&&!s.params.endsWith(zD)&&!s.params.endsWith(HD)&&s.warn(r,"handling different layer orders in conditional rules is unsupported by this plugin and will cause style differences between browser versions."),e.layerParamsParsed.has(i)||e.layerParamsParsed.set(i,[i]),e.layerNameParts.has(i)||e.layerNameParts.set(i,[...o]),e.getLayerNameList(i).forEach(a=>{e.layerOrder.has(a)||(e.layerOrder.set(a,e.layerCount),e.layerCount+=1)})),s.nodes&&s.nodes.length!==0||s.remove()})}function lR(t){t.walkDecls(e=>{if(!e.important)return;let r=e.parent;if(!r||r?.parent?.type==="atrule"&&ro.includes(r.parent.name.toLowerCase()))return;let n=r.clone();n.each(s=>{s.type==="decl"&&s.important||s.remove()}),r.each(s=>{s.type==="decl"&&s.important&&s.remove()}),r.before(n),on(r)})}var xp=t=>{let e=Object.assign({onRevertLayerKeyword:"warn",onConditionalRulesChangingLayerOrder:"warn",onImportLayerRule:"warn"},t);return{postcssPlugin:"postcss-cascade-layers",OnceExit(r,{result:n}){let s=!1;if((e.onRevertLayerKeyword||e.onImportLayerRule)&&r.walk(a=>a.type==="decl"?ZL.test(a.value)?void a.warn(n,'handling "revert-layer" is unsupported by this plugin and will cause style differences between browser versions.'):void 0:a.type==="atrule"?$L.test(a.name)&&eR.test(a.params)?void a.warn(n,"To use @import with layers, the postcss-import plugin is also required. This plugin alone will not support using the @import at-rule."):El.test(a.name)?void(s=!0):void 0:void 0),!s)return;lR(r);let o=new Dp;if(nR(r,o),aR(r,o,{result:n,options:e}),!o.layerCount)return void r.walkAtRules(bp,a=>{a.name="layer"});let i=0;for(r.walkRules(a=>{a.selectors.forEach(l=>{try{let u=Ut((0,xs.default)().astSync(l));i=Math.max(i,u.a+1)}catch(u){a.warn(n,`Failed to parse selector : "${l}" with message: "${u instanceof Error?u.message:u}"`)}})}),r.walkRules(a=>{a.parent&&a.parent.type==="atrule"&&ro.includes(a.parent.name.toLowerCase())||Tl(a)||a.some(l=>l.type==="decl"&&l.important)||(a.selectors=a.selectors.map(l=>{try{return GD(l,o.layerCount*i)}catch(u){a.warn(n,`Failed to parse selector : "${l}" with message: "${u instanceof Error?u.message:u}"`)}return l}))}),o.sortLayerNames(),sR(r,o),iR(r,o),r.walkRules(a=>{if(a.parent&&a.parent.type==="atrule"&&ro.includes(a.parent.name.toLowerCase()))return;let l=Tl(a);if(!l)return;let u=o.getLayerParams(l).join("."),c=(o.layerOrder.get(u)??0)*i;a.some(B=>B.type==="decl"&&B.important)&&(c=o.layerCount-c),a.selectors=a.selectors.map(B=>GD(B,c))});Ol(r,a=>Nt(a));)r.walkAtRules(a=>{Nt(a)&&(a.nodes?a.replaceWith(a.nodes):a.remove())});r.walkAtRules(bp,a=>{a.name="layer"})}}};xp.postcss=!0;p();d();f();var Sp=Be(ut(),1);function QD(t){return t.type==="attribute"&&(t.insensitive??!1)}function uR(t){return t.some(QD)}function JD(t,e,r){let n=r.charAt(e);if(n==="")return t;let s=t.map(i=>i+n),o=n.toLocaleUpperCase();return o!==n&&(s=s.concat(t.map(i=>i+o))),JD(s,e+1,r)}function BR(t){let e=[Sp.default.selector({value:"",nodes:[]})];return t.each(r=>{if(!QD(r))return void e.forEach(i=>{i.append(r.clone())});let n=JD([""],0,(s=r).value??"").map(i=>{let a=s.clone({spaces:{after:s.spaces.after,before:s.spaces.before},insensitive:!1});return a.setValue(i),a});var s;let o=[];n.forEach(i=>{e.forEach(a=>{let l=a.clone({});l.append(i),o.push(l)})}),e=o}),e}var kp=t=>{let e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-attribute-case-insensitive",prepare(){let r=new WeakSet;return{Rule(n,{result:s}){if(r.has(n)||!/i\s*]/gim.test(n.selector))return;let o;try{o=(0,Sp.default)(i=>{let a=[];i.each(l=>{uR(l)&&(a=a.concat(BR(l)),l.remove())}),a.length&&a.forEach(l=>i.append(l))}).processSync(n.selector)}catch(i){return void n.warn(s,`Failed to parse selector : "${n.selector}" with message: "${i instanceof Error?i.message:i}"`)}o!==n.selector&&(r.add(n),n.cloneBefore({selector:o}),e.preserve||n.remove())}}}}};kp.postcss=!0;var jk=Be(KD(),1);p();d();f();p();d();f();var Np=Be(He(),1),cR=["at","bottom","center","circle","closest-corner","closest-side","ellipse","farthest-corner","farthest-side","from","in","left","right","to","top"];function pR(t){let e=[],r=t.value.toLowerCase();if(t.type==="function"&&(r==="conic-gradient"||r==="linear-gradient"||r==="radial-gradient"||r==="repeating-conic-gradient"||r==="repeating-linear-gradient"||r==="repeating-radial-gradient")){let n=0,s=!1,o=!1;e:for(let i=0;i<t.nodes.length;i++){let a=t.nodes[i];if(a.type==="word"&&cR.includes(a.value.toLowerCase())&&(s=!0),a.type!=="div"||a.value.trim()!==",")if(a.type!=="word"||a.value.toLowerCase()!=="in"){if(a.type!=="word"&&a.type!=="function"||n++,o)switch(t.value.toLowerCase()){case"conic-gradient":e.push("(background: conic-gradient(in oklch, red 0deg, red 0deg 1deg, red 2deg))");break e;case"linear-gradient":e.push("(background: linear-gradient(in oklch, red 0%, red 0% 1%, red 2%))");break e;case"radial-gradient":e.push("(background: radial-gradient(in oklch, red, red 1px 2px, red 3px))");break e;case"repeating-conic-gradient":e.push("(background: repeating-conic-gradient(in oklch from 0deg, red 0deg, red 0deg 1deg, red 2deg))");break e;case"repeating-linear-gradient":e.push("(background: repeating-linear-gradient(in oklch, red 0%, red 0% 1%, red 2%))");break e;case"repeating-radial-gradient":e.push("(background: repeating-radial-gradient(in oklch, red, red 1px 2px, red 3px))");break e}if(!s&&n===3)switch(t.value.toLowerCase()){case"conic-gradient":e.push("(background: conic-gradient(red 0deg, red 0deg 1deg, red 2deg))");break e;case"linear-gradient":e.push("(background: linear-gradient(red 0%, red 0% 1%, red 2%))");break e;case"radial-gradient":e.push("(background: radial-gradient(red, red 1px 2px, red 3px))");break e;case"repeating-conic-gradient":e.push("(background: repeating-conic-gradient(from 0deg, red 0deg, red 0deg 1deg, red 2deg))");break e;case"repeating-linear-gradient":e.push("(background: repeating-linear-gradient(red 0%, red 0% 1%, red 2%))");break e;case"repeating-radial-gradient":e.push("(background: repeating-radial-gradient(red, red 1px 2px, red 3px))");break e}}else o=!0;else n=0,s=!1}}return e}var fR=[{supports:"color-mix(in lch, red, blue)",property:"color",sniff:"color-mix",matchers:[{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]}]},{supports:"lab(from red l 1 1% / calc(alpha + 0.1))",property:"color",sniff:"from ",matchers:[{type:"function",value:"rgb",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"rgb",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"rgba",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"rgba",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"hsl",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"hsl",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"hsla",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"hsla",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"hwb",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"hwb",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"lch",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"lch",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"oklch",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"oklch",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"lab",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"lab",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"oklab",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"oklab",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(display-p3 0 0 0%)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"srgb"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"srgb"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(display-p3 0 0 0%)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"display-p3"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"display-p3"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(xyz 0 0 0%)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"srgb-linear"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"srgb-linear"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(xyz 0 0 0%)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"a98-rgb"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"a98-rgb"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(xyz 0 0 0%)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"prophoto-rgb"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"prophoto-rgb"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(xyz 0 0 0%)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"rec2020"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"rec2020"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(xyz 0 0 0%)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"xyz-d50"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"xyz-d50"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(xyz 0 0 0%)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"xyz-d65"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"xyz-d65"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(xyz 0 0 0%)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"xyz"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"xyz"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"hsl(0, 0%, 0%)",property:"color",sniff:"hsl",matchers:[{type:"function",value:"hsl",nodes:[{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]}]},{supports:"hsl(0 0% 0% / 0)",property:"color",sniff:"hsl",matchers:[{type:"function",value:"hsl",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"hsl",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"hsla(0 0% 0% / 0)",property:"color",sniff:"hsla",matchers:[{type:"function",value:"hsla",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"hwb(0 0% 0%)",property:"color",sniff:"hwb",matchers:[{type:"function",value:"hwb",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"hwb",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"lab(0% 0 0%)",property:"color",sniff:"lab",matchers:[{type:"function",value:"lab",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"lab",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"lab(0% 0 0%)",property:"color",sniff:"lch",matchers:[{type:"function",value:"lch",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"lch",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"oklab(0% 0 0%)",property:"color",sniff:"oklab",matchers:[{type:"function",value:"oklab",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"oklab",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"oklab(0% 0 0%)",property:"color",sniff:"oklch",matchers:[{type:"function",value:"oklch",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"oklch",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"rgb(0, 0, 0, 0)",property:"color",sniff:"rgb",matchers:[{type:"function",value:"rgb",nodes:[{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]}]},{supports:"rgb(0 0 0 / 0)",property:"color",sniff:"rgb",matchers:[{type:"function",value:"rgb",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"rgb",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"rgba(0 0 0 / 0)",property:"color",sniff:"rgba",matchers:[{type:"function",value:"rgba",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"light-dark(red, red)",property:"color",sniff:"light-dark",matchers:[{type:"function",value:"light-dark",nodes:[{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]}]},{supports:"contrast-color(red max)",property:"color",sniff:"contrast-color",matchers:[{type:"function",value:"contrast-color",nodes:[{type:"word",isVariable:!0}]},{type:"function",value:"contrast-color",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]}]},{supports:"1ic",property:"font-size",sniff:"ic",matchers:[{type:"word",value:"1ic",dimension:{unit:"ic"}}]}];function YD(t,e){if(t.isVariable&&e&&(e.type==="word"||e.type==="string"||e.type==="function"))return!0;if(t.type!==e.type||dR(t,e))return!1;if(t.nodes&&e.nodes){for(let r=0;r<Math.max(t.nodes.length,e.nodes.length);r++){let n=r,s=r;for(;t.nodes[n]&&t.nodes[n].type==="space";)n++;for(;e.nodes[s]&&e.nodes[s].type==="space";)s++;if(!!t.nodes[n]!=!!e.nodes[s]||!YD(t.nodes[n],e.nodes[s]))return!1}return!0}return!0}function dR(t,e){return(t.type!=="space"||e.type!=="space"||t.value?.trim()!==e.value?.trim())&&(t.dimension&&e.dimension?t.dimension.unit!==e.dimension.unit:t.type==="string"?t.value!==e.value:t.value?.toLowerCase()!==e.value?.toLowerCase())}var CR=/^var$/i;function hR(t,e=!1){let r=[],n=fR.filter(o=>t.includes(o.sniff)),s=!1;try{(0,Np.default)(t).walk(o=>{o.type==="function"&&CR.test(o.value)&&(s=!0);try{let i=Np.default.unit(o.value);i!==!1&&(o.dimension=i)}catch{}for(let i=0;i<n.length;i++){let a=n[i];for(let l=0;l<a.matchers.length;l++)if(YD(a.matchers[l],o))return void r.push(`(${a.property}: ${a.supports})`)}r.push(...pR(o))})}catch{}return e&&!s?{support:[]}:{support:Array.from(new Set(r)).sort()}}var mR=/var\(/i,gR=/^initial$/i,vR=/^\s*$/,Ee=()=>({postcssPlugin:"postcss-progressive-custom-properties",prepare(){let t=new WeakMap;return{postcssPlugin:"postcss-progressive-custom-properties",OnceExit(e,{postcss:r}){e.walkDecls(n=>{if(!n.parent)return;let s=t.get(n.parent)||{conditionalRules:[],propNames:new Set,lastConditionParams:{support:void 0},lastConditionalRule:void 0};if(t.set(n.parent,s),n.variable){if(!s.propNames.has(n.prop))return void s.propNames.add(n.prop)}else{let B=n.prop.toLowerCase();if(!s.propNames.has(B))return void s.propNames.add(B)}if(!n.variable&&!mR.test(n.value)||gR.test(n.value)||vR.test(n.value))return;let o=!n.variable,i=hR(n.value,o).support.join(" and ");if(!i)return;if(s.lastConditionParams.support!==i&&(s.lastConditionalRule=void 0),s.lastConditionalRule)return s.lastConditionalRule.append(n.clone()),void n.remove();let a=[];if(i&&a.push(r.atRule({name:"supports",params:i,source:n.parent.source,raws:{before:`
|
|
321
|
+
}`,interoperable_at:1611187200,vendors_implementations:3,"web-feature":"where"}];var Tu=ce(ri(),1);p();d();f();var VO=new Map([["animation","none 0s ease 0s 1 normal none running"],["animation-delay","0s"],["animation-direction","normal"],["animation-duration","0s"],["animation-fill-mode","none"],["animation-iteration-count","1"],["animation-name","none"],["animation-play-state","running"],["animation-timing-function","ease"],["backface-visibility","visible"],["background","transparent none repeat 0 0 / auto auto padding-box border-box scroll"],["background-attachment","scroll"],["background-clip","border-box"],["background-color","transparent"],["background-image","none"],["background-origin","padding-box"],["background-position","0 0"],["background-position-x","0"],["background-position-y","0"],["background-repeat","repeat"],["background-size","auto auto"],["border","medium none currentcolor"],["border-style","none"],["border-width","medium"],["border-color","currentcolor"],["border-bottom","0"],["border-bottom-color","currentcolor"],["border-bottom-left-radius","0"],["border-bottom-right-radius","0"],["border-bottom-style","none"],["border-bottom-width","medium"],["border-collapse","separate"],["border-image","none"],["border-left","0"],["border-left-color","currentcolor"],["border-left-style","none"],["border-left-width","medium"],["border-radius","0"],["border-right","0"],["border-right-color","currentcolor"],["border-right-style","none"],["border-right-width","medium"],["border-spacing","0"],["border-top","0"],["border-top-color","currentcolor"],["border-top-left-radius","0"],["border-top-right-radius","0"],["border-top-style","none"],["border-top-width","medium"],["bottom","auto"],["box-shadow","none"],["box-sizing","content-box"],["caption-side","top"],["clear","none"],["clip","auto"],["color","#000"],["columns","auto"],["column-count","auto"],["column-fill","balance"],["column-gap","normal"],["column-rule","medium none currentcolor"],["column-rule-color","currentcolor"],["column-rule-style","none"],["column-rule-width","medium"],["column-span","1"],["column-width","auto"],["content","normal"],["counter-increment","none"],["counter-reset","none"],["cursor","auto"],["direction","ltr"],["display","inline"],["empty-cells","show"],["float","none"],["font-family","serif"],["font-size","medium"],["font-style","normal"],["font-variant","normal"],["font-weight","normal"],["font-stretch","normal"],["line-height","normal"],["height","auto"],["hyphens","none"],["left","auto"],["letter-spacing","normal"],["list-style","disc outside none"],["list-style-image","none"],["list-style-position","outside"],["list-style-type","disc"],["margin","0"],["margin-bottom","0"],["margin-left","0"],["margin-right","0"],["margin-top","0"],["max-height","none"],["max-width","none"],["min-height","0"],["min-width","0"],["opacity","1"],["orphans","2"],["outline","medium none currentcolor"],["outline-color","currentcolor"],["outline-style","none"],["outline-width","medium"],["overflow","visible"],["overflow-x","visible"],["overflow-y","visible"],["padding","0"],["padding-bottom","0"],["padding-left","0"],["padding-right","0"],["padding-top","0"],["page-break-after","auto"],["page-break-before","auto"],["page-break-inside","auto"],["perspective","none"],["perspective-origin","50% 50%"],["position","static"],["quotes",'"\u201C" "\u201D" "\u2018" "\u2019"'],["right","auto"],["tab-size","8"],["table-layout","auto"],["text-align","left"],["text-align-last","auto"],["text-decoration","none"],["text-decoration-color","currentcolor"],["text-decoration-line","none"],["text-decoration-style","solid"],["text-indent","0"],["text-shadow","none"],["text-transform","none"],["top","auto"],["transform","none"],["transform-origin","50% 50% 0"],["transform-style","flat"],["transition","none 0s ease 0s"],["transition-delay","0s"],["transition-duration","0s"],["transition-property","none"],["transition-timing-function","ease"],["unicode-bidi","normal"],["vertical-align","baseline"],["visibility","visible"],["white-space","normal"],["widows","2"],["width","auto"],["word-spacing","normal"],["z-index","auto"]]),UO=["animation","backface-visibility","background","border","border-collapse","border-image","border-radius","border-spacing","bottom","box-shadow","box-sizing","caption-side","clear","clip","color","columns","column-count","column-fill","column-gap","column-rule","column-span","column-width","content","counter-increment","counter-reset","cursor","display","empty-cells","float","font-family","font-size","font-style","font-variant","font-weight","font-stretch","line-height","font","height","hyphens","left","letter-spacing","list-style","margin","max-height","max-width","min-height","min-width","opacity","orphans","outline","overflow","overflow-x","overflow-y","padding","page-break-after","page-break-before","page-break-inside","perspective","perspective-origin","position","right","tab-size","table-layout","text-align","text-align-last","text-decoration","text-indent","text-shadow","text-transform","top","transform","transform-origin","transform-style","transition","vertical-align","visibility","white-space","widows","width","word-spacing","z-index"];function WO(t,e){let r=t.parent;if(!r)return!1;let n=t.prop.toLowerCase();for(let s=r.index(t)-1;s>=0;s--){let o=r.nodes[s];if(o.type==="decl"&&o.prop.toLowerCase()===n)return o.value===e}return!1}var GO=/^\s?initial\s?$/i,HO=/^font$/i,zO=/^all$/i,jO=["font-family","font-size","font-style","font-variant","font-weight","font-stretch","line-height"],bc=t=>{let e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-initial",Declaration(r){if(r.variable||!GO.test(r.value))return;let n;n=HO.test(r.prop)?jO:zO.test(r.prop)?UO:[r.prop.toLowerCase()],n.forEach(s=>{let o=VO.get(s);o&&(WO(r,o)||r.cloneBefore({prop:s,value:o}))}),e.preserve||r.remove()}}};bc.postcss=!0;p();d();f();var fr=ce(ut(),1),Pl=(0,fr.default)().astSync(":link").nodes[0],Al=(0,fr.default)().astSync(":visited").nodes[0],UL=(0,fr.default)().astSync("area[href]").nodes[0],WL=(0,fr.default)().astSync("[href]").nodes[0];function GL(t,e,r,n){let s=[],o=[];try{for(let i=0;i<t.selectors.length;i++){let a=t.selectors[i],l=HL(a,n);l.length?s.push(...l):o.push(a)}}catch(i){return t.warn(e,`Failed to parse selector : "${t.selector}" with message: "${i instanceof Error?i.message:i}"`),!1}return!!s.length&&(t.cloneBefore({selectors:s}),o.length&&t.cloneBefore({selectors:o}),r||t.remove(),!0)}function HL(t,e){let r=[];return(0,fr.default)(n=>{let s=[];n.walkPseudos(o=>{if(o.value.toLowerCase()===":not")return!1;if(o.value.toLowerCase()!==":any-link"||o.nodes&&o.nodes.length)return;if(!e)return void s.push([Pl.clone(),Al.clone()]);let i=jL(o);i.includes("area")?s.push([Pl.clone(),Al.clone(),WL.clone()]):i.length?s.push([Pl.clone(),Al.clone()]):s.push([Pl.clone(),Al.clone(),UL.clone()])}),s.length&&zL(...s).forEach(o=>{let i=n.clone();i.walkPseudos(a=>{a.value.toLowerCase()!==":any-link"||a.nodes&&a.nodes.length||(QL(a.parent,a,o.shift()),a.remove())}),r.push(i.toString())})}).processSync(t),r}function zL(...t){let e=[],r=t.length-1;return function n(s,o){for(let i=0,a=t[o].length;i<a;i++){let l=s.slice(0);l.push(t[o][i]),o==r?e.push(l):n(l,o+1)}}([],0),e}function jL(t){let e=[],r=t.prev();for(;r&&r.type!=="combinator"&&!fr.default.isPseudoElement(r);)r.type==="tag"&&e.push(r.value.toLowerCase()),r=r.prev();let n=t.next();for(;n&&n.type!=="combinator"&&!fr.default.isPseudoElement(n);)n.type==="tag"&&e.push(n.value.toLowerCase()),n=n.next();return e}function QL(t,e,r){if(!t||!r)return;let n=r.type;r.type==="selector"&&r.nodes&&r.nodes.length&&(n=r.nodes[0].type);let s=-1,o=-1,i=t.index(e);for(let a=i;a>=0&&t.nodes[a].type!=="combinator"&&!fr.default.isPseudoElement(t.nodes[a].type);a--)s=a;if(n!=="tag"){for(let a=i;a<t.nodes.length&&t.nodes[a].type!=="combinator"&&!fr.default.isPseudoElement(t.nodes[a].type);a++)o=a;for(let a=s;a<=o;a++)if(t.nodes[a].type===n)return void t.insertAfter(t.at(a),r);t.insertAfter(t.at(s),r)}else t.insertBefore(t.at(s),r)}var mp=t=>{let e={preserve:!0,...t},r={areaHrefNeedsFixing:!1,...Object(e.subFeatures)};return{postcssPlugin:"postcss-pseudo-class-any-link",prepare(){let n=new WeakSet;return{postcssPlugin:"postcss-pseudo-class-any-link",Rule(s,{result:o}){s.selector.toLowerCase().includes(":any-link")&&(n.has(s)||(s.raws.selector&&s.raws.selector.raw||s.selector).endsWith(":")||GL(s,o,e.preserve,r.areaHrefNeedsFixing)&&n.add(s))}}}}};mp.postcss=!0;p();d();f();var sn=ce(ut(),1),VD=[" ",">","~",":","+","@","#","(",")"];function JL(t){let e=!0;for(let r=0,n=VD.length;r<n&&e;r++)t.indexOf(VD[r])>-1&&(e=!1);return e}var gp="js-blank-pseudo",vp=":blank",yp=t=>{let e=Object.assign({preserve:!0,replaceWith:"[blank]",disablePolyfillReadyClass:!1},t),r=(0,sn.default)().astSync(e.replaceWith);return JL(e.replaceWith)?{postcssPlugin:"css-blank-pseudo",prepare(){let n=new WeakSet;return{postcssPlugin:"css-blank-pseudo",Rule(s,{result:o}){if(n.has(s)||!s.selector.toLowerCase().includes(vp))return;let i=s.selectors.flatMap(a=>{if(!a.toLowerCase().includes(vp))return[a];let l;try{l=(0,sn.default)().astSync(a)}catch(B){return s.warn(o,`Failed to parse selector : "${a}" with message: "${B instanceof Error?B.message:B}"`),[a]}if(l===void 0)return[a];let u=!1;if(l.walkPseudos(B=>{B.value.toLowerCase()===vp&&(B.nodes&&B.nodes.length||(u=!0,B.replaceWith(r.clone({}))))}),!u)return[a];let c=l.clone();if(!e.disablePolyfillReadyClass){if(l.nodes?.[0]?.nodes?.length)for(let B=0;B<l.nodes[0].nodes.length;B++){let h=l.nodes[0].nodes[B];if(h.type==="combinator"||sn.default.isPseudoElement(h)){l.nodes[0].insertBefore(h,sn.default.className({value:gp}));break}if(B===l.nodes[0].nodes.length-1){l.nodes[0].append(sn.default.className({value:gp}));break}}return l.nodes?.[0]?.nodes&&(c.nodes[0].prepend(sn.default.combinator({value:" "})),c.nodes[0].prepend(sn.default.className({value:gp}))),[l.toString(),c.toString()]}return[l.toString()]});i.join(",")!==s.selectors.join(",")&&(n.add(s),s.cloneBefore({selectors:i}),e.preserve||s.remove())}}}}:{postcssPlugin:"css-blank-pseudo",Once(n,{result:s}){n.warn(s,`${e.replaceWith} is not a valid replacement since it can't be applied to single elements.`)}}};yp.postcss=!0;var zk=ce(UD(),1);p();d();f();var xs=ce(ut(),1);p();d();f();var to=ce(ut(),1);function KL(t,e){return t.a===e.a?t.b===e.b?t.c-e.c:t.b-e.b:t.a-e.a}function Ut(t,e){let r=e?.customSpecificity?.(t);if(r)return r;if(!t)return{a:0,b:0,c:0};let n=0,s=0,o=0;if(t.type=="universal")return{a:0,b:0,c:0};if(t.type==="id")n+=1;else if(t.type==="tag")o+=1;else if(t.type==="class")s+=1;else if(t.type==="attribute")s+=1;else if(YL(t))switch(t.value.toLowerCase()){case"::slotted":if(o+=1,t.nodes&&t.nodes.length>0){let i=Nl(t.nodes,e);n+=i.a,s+=i.b,o+=i.c}break;case"::view-transition-group":case"::view-transition-image-pair":case"::view-transition-old":case"::view-transition-new":return t.nodes&&t.nodes.length===1&&t.nodes[0].type==="selector"&&XL(t.nodes[0])?{a:0,b:0,c:0}:{a:0,b:0,c:1};default:o+=1}else if(to.default.isPseudoClass(t))switch(t.value.toLowerCase()){case":-webkit-any":case":any":default:s+=1;break;case":-moz-any":case":has":case":is":case":matches":case":not":if(t.nodes&&t.nodes.length>0){let i=Nl(t.nodes,e);n+=i.a,s+=i.b,o+=i.c}break;case":where":break;case":nth-child":case":nth-last-child":if(s+=1,t.nodes&&t.nodes.length>0){let i=t.nodes[0].nodes.findIndex(a=>a.type==="tag"&&a.value.toLowerCase()==="of");if(i>-1){let a=to.default.selector({nodes:[],value:""});t.nodes[0].nodes.slice(i+1).forEach(c=>{a.append(c.clone())});let l=[a];t.nodes.length>1&&l.push(...t.nodes.slice(1));let u=Nl(l,e);n+=u.a,s+=u.b,o+=u.c}}break;case":local":case":global":t.nodes&&t.nodes.length>0&&t.nodes.forEach(i=>{let a=Ut(i,e);n+=a.a,s+=a.b,o+=a.c});break;case":host":case":host-context":if(s+=1,t.nodes&&t.nodes.length>0){let i=Nl(t.nodes,e);n+=i.a,s+=i.b,o+=i.c}break;case":active-view-transition":case":active-view-transition-type":return{a:0,b:1,c:0}}else to.default.isContainer(t)&&t.nodes?.length>0&&t.nodes.forEach(i=>{let a=Ut(i,e);n+=a.a,s+=a.b,o+=a.c});return{a:n,b:s,c:o}}function Nl(t,e){let r={a:0,b:0,c:0};return t.forEach(n=>{let s=Ut(n,e);KL(s,r)<0||(r=s)}),r}function YL(t){return to.default.isPseudoElement(t)}function XL(t){if(!t||!t.nodes)return!1;let e=t.nodes.filter(r=>r.type!=="comment");return e.length===0||e.length===1&&e[0].type==="universal"}var bp="csstools-invalid-layer",WD="csstools-layer-with-selector-rules",HD="6efdb677-bb05-44e5-840f-29d2175862fd",zD="b147acf6-11a6-4338-a4d0-80aef4cd1a2f",Il=["media","supports"],ro=["keyframes"],ZL=/^revert-layer$/i,$L=/^import$/i,El=/^layer$/i,eR=/layer/i,tR=new Set(["layer","supports","media","container","scope"]);function Nt(t){if(t.type!=="atrule"||!El.test(t.name))return!1;let e=t.parent;for(;e;){if(e.type==="rule"||e.type==="atrule"&&!tR.has(e.name.toLowerCase()))return!1;e=e.parent}return!0}var Dp=class{anonymousLayerCount=0;layerCount=0;layerOrder;layerParamsParsed;layerNameParts;constructor(){this.anonymousLayerCount=0,this.layerCount=0,this.layerOrder=new Map,this.layerParamsParsed=new Map,this.layerNameParts=new Map}createAnonymousLayerName(){let e=`anonymous-${this.anonymousLayerCount}-${HD}`;return this.addLayerNameParts(e),this.layerParamsParsed.set(e,[e]),this.anonymousLayerCount++,e}createImplicitLayerName(e){let r=this.layerNameParts.get(e)??[],n=`implicit-${r[r.length-1]}-${zD}`;return this.addLayerNameParts([...r,n]),this.layerParamsParsed.set(n,[n]),n}addLayerParams(e,r){r?typeof r!="string"?this.layerParamsParsed.set(e,r):this.layerParamsParsed.set(e,[r]):this.layerParamsParsed.set(e,[e])}addLayerNameParts(e){typeof e!="string"?this.layerNameParts.set(e.join("."),e):this.layerNameParts.set(e,[e])}getLayerParams(e){let r=[...this.layerParamsParsed.get(e.params)??[]],n=e.parent;for(;n;)n.type==="atrule"&&Nt(n)&&r.push(...this.layerParamsParsed.get(n.params)??[]),n=n.parent;return r.reverse(),r.flatMap(s=>this.layerNameParts.get(s)??[])}getLayerNameList(e){let r=this.layerNameParts.get(e)??[],n=[];for(let s=0;s<r.length;s++){let o=r.slice(0,s+1).join(".");this.layerParamsParsed.has(o)||this.layerParamsParsed.set(o,[o]),this.layerNameParts.has(o)||this.layerNameParts.set(o,r.slice(0,s+1)),n.push(r.slice(0,s+1).join("."))}return n}sortLayerNames(){for(let[r,n]of this.layerOrder){let s=this.layerNameParts.get(r)??[];for(let o=1;o<s.length;o++){let i=s.slice(0,o).join(".");this.layerOrder.has(i)||this.layerOrder.set(i,n)}}let e=Array.from(this.layerOrder.entries());e=e.sort((r,n)=>{let s=this.layerNameParts.get(r[0])??[],o=this.layerNameParts.get(n[0])??[];if(s[0]!==o[0])return(this.layerOrder.get(s[0])??0)-(this.layerOrder.get(o[0])??0);let i=Math.max(s.length,o.length);for(let a=0;a<i;a++){let l=s[a],u=o[a];if(l!==u)return l?u?(this.layerOrder.get(s.slice(0,a).join("."))??0)-(this.layerOrder.get(o.slice(0,a).join("."))??0):-1:1}return 0}),this.layerOrder.clear(),e.forEach((r,n)=>{this.layerOrder.set(r[0],n)})}};function GD(t,e){let r=(0,xs.default)().astSync(t),n=(0,xs.default)().astSync(rR(e)),s=!1;for(let o=0;o<r.nodes[0].nodes.length;o++)if(r.nodes[0].nodes[o].type==="combinator"||xs.default.isPseudoElement(r.nodes[0].nodes[o])){r.nodes[0].insertBefore(r.nodes[0].nodes[o],n),s=!0;break}return s||r.nodes[0].insertAfter(r.nodes[0].nodes[r.nodes[0].nodes.length-1],n),r.toString()}function rR(t){if(t===0)return"";let e="";for(let r=0;r<t;r++)e+=":not(#\\#)";return e}function jD(t,e){let r=!1;return t.walk(n=>{if(e(n))return r=!0,!1}),r}function Ol(t,e){let r=!1;return t.walkAtRules(n=>{if(e(n))return r=!0,!1}),r}function Tl(t){let e=t.parent;for(;e;)if(e.type==="atrule"){if(Nt(e))return e;e=e.parent}else e=e.parent;return null}function on(t){t&&(t.walk(e=>{(e.type==="rule"||e.type==="atrule"&&["layer",...Il].includes(e.name.toLowerCase()))&&e.nodes?.length===0&&e.remove()}),t.nodes?.length===0&&t.remove())}function Rn(t){if(!t)return;let e=t;for(;e;){if(e.nodes===void 0||e.nodes.length>0)return;let r=e.parent;e.remove(),e=r}}function nR(t,e){t.walkAtRules(r=>{if(!Nt(r))return;if(r.params){let o=[],i=!1;if((0,xs.default)().astSync(r.params).each(a=>{let l=[];a.walk(u=>{switch(u.type){case"class":case"tag":l.push(u.value);break;default:i=!0}}),i||(o.push(l.join(".")),e.addLayerNameParts(l))}),e.addLayerParams(r.params,o),r.nodes&&o.length>1&&(i=!0),i)return void(r.name=bp);if(!r.nodes||r.nodes.length===0)return o.length<=1?void 0:(o.slice(0,-1).forEach(a=>{e.addLayerParams(a,a),r.cloneBefore({params:a})}),e.addLayerParams(o[o.length-1],o[o.length-1]),void(r.params=o[o.length-1]))}r.params||(r.raws.afterName=" ",r.params=e.createAnonymousLayerName());let n=Ol(r,o=>Nt(o)),s=jD(r,o=>o.type!=="rule"?!1:Tl(o)===r);if(n&&s){let o=e.createImplicitLayerName(r.params),i=r.clone({params:o});i.walkAtRules(a=>{Nt(a)&&a.remove()}),r.walk(a=>{a.type==="atrule"&&Nt(a)||a.type==="atrule"&&Il.includes(a.name.toLowerCase())||Tl(a)===r&&a.remove()}),r.append(i),on(r),Rn(r)}})}function sR(t,e){for(;Ol(t,r=>!!r.nodes&&Ol(r,n=>Nt(n)));){let r=!1;if(t.walkAtRules(n=>{if(Nt(n)&&n.parent!==t){if(n.parent?.type==="atrule"&&Nt(n.parent)){let s=n.parent;{let o=e.layerNameParts.get(s.params),i=e.layerNameParts.get(n.params);if(!o||!i)return;e.layerNameParts.set(`${s.params}.${n.params}`,[...o,...i]),e.layerParamsParsed.set(`${s.params}.${n.params}`,[`${s.params}.${n.params}`])}return n.params=`${s.params}.${n.params}`,s.before(n),on(s),void Rn(s)}if(n.parent?.type==="atrule"){let s=n.parent,o=s.clone(),i=n.clone();return o.removeAll(),i.removeAll(),o.append(n.nodes),i.append(o),s.before(i),n.remove(),on(s),void Rn(s)}r=!0}}),r)break}}function iR(t,e){t.nodes&&(t.walkAtRules(r=>{if(!Nt(r))return;let n=r.clone(),s=r.clone();n.walkAtRules(o=>{if(ro.includes(o.name.toLowerCase())){let a=o.parent;return o.remove(),on(a),void Rn(a)}if(jD(o,a=>a.type==="rule"))return;let i=o.parent;o.remove(),on(i),Rn(i)}),s.walkRules(o=>{if(o.parent&&o.parent.type==="atrule"&&ro.includes(o.parent.name.toLowerCase()))return;let i=o.parent;o.remove(),on(i),Rn(i)}),s.walkAtRules(o=>{if(Il.includes(o.name.toLowerCase()))return on(o),void Rn(o)}),n.name=WD,r.replaceWith(n,s),n.nodes?.length||n.remove(),s.nodes?.length||s.remove()}),t.nodes.sort((r,n)=>{let s=r.type==="atrule"&&El.test(r.name),o=n.type==="atrule"&&El.test(n.name);return s&&o?(e.layerOrder.get(r.params)??0)-(e.layerOrder.get(n.params)??0):s!==o?s?-1:1:0}),t.walkAtRules(WD,r=>{r.name="layer"}))}function oR(t){let e=t.parent;for(;e;)if(e.type==="atrule"){if(Il.includes(e.name.toLowerCase()))return e;e=e.parent}else e=e.parent;return null}function aR(t,e,{result:r,options:n}){t.walkAtRules(s=>{if(!Nt(s))return;let o=e.getLayerParams(s),i=o.join(".");e.layerOrder.has(i)||(n.onConditionalRulesChangingLayerOrder&&oR(s)&&!s.params.endsWith(zD)&&!s.params.endsWith(HD)&&s.warn(r,"handling different layer orders in conditional rules is unsupported by this plugin and will cause style differences between browser versions."),e.layerParamsParsed.has(i)||e.layerParamsParsed.set(i,[i]),e.layerNameParts.has(i)||e.layerNameParts.set(i,[...o]),e.getLayerNameList(i).forEach(a=>{e.layerOrder.has(a)||(e.layerOrder.set(a,e.layerCount),e.layerCount+=1)})),s.nodes&&s.nodes.length!==0||s.remove()})}function lR(t){t.walkDecls(e=>{if(!e.important)return;let r=e.parent;if(!r||r?.parent?.type==="atrule"&&ro.includes(r.parent.name.toLowerCase()))return;let n=r.clone();n.each(s=>{s.type==="decl"&&s.important||s.remove()}),r.each(s=>{s.type==="decl"&&s.important&&s.remove()}),r.before(n),on(r)})}var xp=t=>{let e=Object.assign({onRevertLayerKeyword:"warn",onConditionalRulesChangingLayerOrder:"warn",onImportLayerRule:"warn"},t);return{postcssPlugin:"postcss-cascade-layers",OnceExit(r,{result:n}){let s=!1;if((e.onRevertLayerKeyword||e.onImportLayerRule)&&r.walk(a=>a.type==="decl"?ZL.test(a.value)?void a.warn(n,'handling "revert-layer" is unsupported by this plugin and will cause style differences between browser versions.'):void 0:a.type==="atrule"?$L.test(a.name)&&eR.test(a.params)?void a.warn(n,"To use @import with layers, the postcss-import plugin is also required. This plugin alone will not support using the @import at-rule."):El.test(a.name)?void(s=!0):void 0:void 0),!s)return;lR(r);let o=new Dp;if(nR(r,o),aR(r,o,{result:n,options:e}),!o.layerCount)return void r.walkAtRules(bp,a=>{a.name="layer"});let i=0;for(r.walkRules(a=>{a.selectors.forEach(l=>{try{let u=Ut((0,xs.default)().astSync(l));i=Math.max(i,u.a+1)}catch(u){a.warn(n,`Failed to parse selector : "${l}" with message: "${u instanceof Error?u.message:u}"`)}})}),r.walkRules(a=>{a.parent&&a.parent.type==="atrule"&&ro.includes(a.parent.name.toLowerCase())||Tl(a)||a.some(l=>l.type==="decl"&&l.important)||(a.selectors=a.selectors.map(l=>{try{return GD(l,o.layerCount*i)}catch(u){a.warn(n,`Failed to parse selector : "${l}" with message: "${u instanceof Error?u.message:u}"`)}return l}))}),o.sortLayerNames(),sR(r,o),iR(r,o),r.walkRules(a=>{if(a.parent&&a.parent.type==="atrule"&&ro.includes(a.parent.name.toLowerCase()))return;let l=Tl(a);if(!l)return;let u=o.getLayerParams(l).join("."),c=(o.layerOrder.get(u)??0)*i;a.some(B=>B.type==="decl"&&B.important)&&(c=o.layerCount-c),a.selectors=a.selectors.map(B=>GD(B,c))});Ol(r,a=>Nt(a));)r.walkAtRules(a=>{Nt(a)&&(a.nodes?a.replaceWith(a.nodes):a.remove())});r.walkAtRules(bp,a=>{a.name="layer"})}}};xp.postcss=!0;p();d();f();var Sp=ce(ut(),1);function QD(t){return t.type==="attribute"&&(t.insensitive??!1)}function uR(t){return t.some(QD)}function JD(t,e,r){let n=r.charAt(e);if(n==="")return t;let s=t.map(i=>i+n),o=n.toLocaleUpperCase();return o!==n&&(s=s.concat(t.map(i=>i+o))),JD(s,e+1,r)}function BR(t){let e=[Sp.default.selector({value:"",nodes:[]})];return t.each(r=>{if(!QD(r))return void e.forEach(i=>{i.append(r.clone())});let n=JD([""],0,(s=r).value??"").map(i=>{let a=s.clone({spaces:{after:s.spaces.after,before:s.spaces.before},insensitive:!1});return a.setValue(i),a});var s;let o=[];n.forEach(i=>{e.forEach(a=>{let l=a.clone({});l.append(i),o.push(l)})}),e=o}),e}var kp=t=>{let e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-attribute-case-insensitive",prepare(){let r=new WeakSet;return{Rule(n,{result:s}){if(r.has(n)||!/i\s*]/gim.test(n.selector))return;let o;try{o=(0,Sp.default)(i=>{let a=[];i.each(l=>{uR(l)&&(a=a.concat(BR(l)),l.remove())}),a.length&&a.forEach(l=>i.append(l))}).processSync(n.selector)}catch(i){return void n.warn(s,`Failed to parse selector : "${n.selector}" with message: "${i instanceof Error?i.message:i}"`)}o!==n.selector&&(r.add(n),n.cloneBefore({selector:o}),e.preserve||n.remove())}}}}};kp.postcss=!0;var jk=ce(KD(),1);p();d();f();p();d();f();var Np=ce(He(),1),cR=["at","bottom","center","circle","closest-corner","closest-side","ellipse","farthest-corner","farthest-side","from","in","left","right","to","top"];function pR(t){let e=[],r=t.value.toLowerCase();if(t.type==="function"&&(r==="conic-gradient"||r==="linear-gradient"||r==="radial-gradient"||r==="repeating-conic-gradient"||r==="repeating-linear-gradient"||r==="repeating-radial-gradient")){let n=0,s=!1,o=!1;e:for(let i=0;i<t.nodes.length;i++){let a=t.nodes[i];if(a.type==="word"&&cR.includes(a.value.toLowerCase())&&(s=!0),a.type!=="div"||a.value.trim()!==",")if(a.type!=="word"||a.value.toLowerCase()!=="in"){if(a.type!=="word"&&a.type!=="function"||n++,o)switch(t.value.toLowerCase()){case"conic-gradient":e.push("(background: conic-gradient(in oklch, red 0deg, red 0deg 1deg, red 2deg))");break e;case"linear-gradient":e.push("(background: linear-gradient(in oklch, red 0%, red 0% 1%, red 2%))");break e;case"radial-gradient":e.push("(background: radial-gradient(in oklch, red, red 1px 2px, red 3px))");break e;case"repeating-conic-gradient":e.push("(background: repeating-conic-gradient(in oklch from 0deg, red 0deg, red 0deg 1deg, red 2deg))");break e;case"repeating-linear-gradient":e.push("(background: repeating-linear-gradient(in oklch, red 0%, red 0% 1%, red 2%))");break e;case"repeating-radial-gradient":e.push("(background: repeating-radial-gradient(in oklch, red, red 1px 2px, red 3px))");break e}if(!s&&n===3)switch(t.value.toLowerCase()){case"conic-gradient":e.push("(background: conic-gradient(red 0deg, red 0deg 1deg, red 2deg))");break e;case"linear-gradient":e.push("(background: linear-gradient(red 0%, red 0% 1%, red 2%))");break e;case"radial-gradient":e.push("(background: radial-gradient(red, red 1px 2px, red 3px))");break e;case"repeating-conic-gradient":e.push("(background: repeating-conic-gradient(from 0deg, red 0deg, red 0deg 1deg, red 2deg))");break e;case"repeating-linear-gradient":e.push("(background: repeating-linear-gradient(red 0%, red 0% 1%, red 2%))");break e;case"repeating-radial-gradient":e.push("(background: repeating-radial-gradient(red, red 1px 2px, red 3px))");break e}}else o=!0;else n=0,s=!1}}return e}var fR=[{supports:"color-mix(in lch, red, blue)",property:"color",sniff:"color-mix",matchers:[{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color-mix",nodes:[{type:"word",value:"in"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]}]},{supports:"lab(from red l 1 1% / calc(alpha + 0.1))",property:"color",sniff:"from ",matchers:[{type:"function",value:"rgb",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"rgb",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"rgba",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"rgba",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"hsl",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"hsl",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"hsla",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"hsla",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"hwb",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"hwb",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"lch",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"lch",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"oklch",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"oklch",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"lab",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"lab",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"oklab",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"oklab",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"from"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(display-p3 0 0 0%)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"srgb"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"srgb"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(display-p3 0 0 0%)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"display-p3"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"display-p3"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(xyz 0 0 0%)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"srgb-linear"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"srgb-linear"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(xyz 0 0 0%)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"a98-rgb"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"a98-rgb"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(xyz 0 0 0%)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"prophoto-rgb"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"prophoto-rgb"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(xyz 0 0 0%)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"rec2020"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"rec2020"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(xyz 0 0 0%)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"xyz-d50"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"xyz-d50"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(xyz 0 0 0%)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"xyz-d65"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"xyz-d65"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"color(xyz 0 0 0%)",property:"color",sniff:"color",matchers:[{type:"function",value:"color",nodes:[{type:"word",value:"xyz"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"color",nodes:[{type:"word",value:"xyz"},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"hsl(0, 0%, 0%)",property:"color",sniff:"hsl",matchers:[{type:"function",value:"hsl",nodes:[{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]}]},{supports:"hsl(0 0% 0% / 0)",property:"color",sniff:"hsl",matchers:[{type:"function",value:"hsl",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"hsl",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"hsla(0 0% 0% / 0)",property:"color",sniff:"hsla",matchers:[{type:"function",value:"hsla",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"hwb(0 0% 0%)",property:"color",sniff:"hwb",matchers:[{type:"function",value:"hwb",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"hwb",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"lab(0% 0 0%)",property:"color",sniff:"lab",matchers:[{type:"function",value:"lab",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"lab",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"lab(0% 0 0%)",property:"color",sniff:"lch",matchers:[{type:"function",value:"lch",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"lch",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"oklab(0% 0 0%)",property:"color",sniff:"oklab",matchers:[{type:"function",value:"oklab",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"oklab",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"oklab(0% 0 0%)",property:"color",sniff:"oklch",matchers:[{type:"function",value:"oklch",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"oklch",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"rgb(0, 0, 0, 0)",property:"color",sniff:"rgb",matchers:[{type:"function",value:"rgb",nodes:[{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]}]},{supports:"rgb(0 0 0 / 0)",property:"color",sniff:"rgb",matchers:[{type:"function",value:"rgb",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]},{type:"function",value:"rgb",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"rgba(0 0 0 / 0)",property:"color",sniff:"rgba",matchers:[{type:"function",value:"rgba",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0},{type:"div",value:"/"},{type:"word",isVariable:!0}]}]},{supports:"light-dark(red, red)",property:"color",sniff:"light-dark",matchers:[{type:"function",value:"light-dark",nodes:[{type:"word",isVariable:!0},{type:"div",value:","},{type:"word",isVariable:!0}]}]},{supports:"contrast-color(red max)",property:"color",sniff:"contrast-color",matchers:[{type:"function",value:"contrast-color",nodes:[{type:"word",isVariable:!0}]},{type:"function",value:"contrast-color",nodes:[{type:"word",isVariable:!0},{type:"space"},{type:"word",isVariable:!0}]}]},{supports:"1ic",property:"font-size",sniff:"ic",matchers:[{type:"word",value:"1ic",dimension:{unit:"ic"}}]}];function YD(t,e){if(t.isVariable&&e&&(e.type==="word"||e.type==="string"||e.type==="function"))return!0;if(t.type!==e.type||dR(t,e))return!1;if(t.nodes&&e.nodes){for(let r=0;r<Math.max(t.nodes.length,e.nodes.length);r++){let n=r,s=r;for(;t.nodes[n]&&t.nodes[n].type==="space";)n++;for(;e.nodes[s]&&e.nodes[s].type==="space";)s++;if(!!t.nodes[n]!=!!e.nodes[s]||!YD(t.nodes[n],e.nodes[s]))return!1}return!0}return!0}function dR(t,e){return(t.type!=="space"||e.type!=="space"||t.value?.trim()!==e.value?.trim())&&(t.dimension&&e.dimension?t.dimension.unit!==e.dimension.unit:t.type==="string"?t.value!==e.value:t.value?.toLowerCase()!==e.value?.toLowerCase())}var CR=/^var$/i;function hR(t,e=!1){let r=[],n=fR.filter(o=>t.includes(o.sniff)),s=!1;try{(0,Np.default)(t).walk(o=>{o.type==="function"&&CR.test(o.value)&&(s=!0);try{let i=Np.default.unit(o.value);i!==!1&&(o.dimension=i)}catch{}for(let i=0;i<n.length;i++){let a=n[i];for(let l=0;l<a.matchers.length;l++)if(YD(a.matchers[l],o))return void r.push(`(${a.property}: ${a.supports})`)}r.push(...pR(o))})}catch{}return e&&!s?{support:[]}:{support:Array.from(new Set(r)).sort()}}var mR=/var\(/i,gR=/^initial$/i,vR=/^\s*$/,Ee=()=>({postcssPlugin:"postcss-progressive-custom-properties",prepare(){let t=new WeakMap;return{postcssPlugin:"postcss-progressive-custom-properties",OnceExit(e,{postcss:r}){e.walkDecls(n=>{if(!n.parent)return;let s=t.get(n.parent)||{conditionalRules:[],propNames:new Set,lastConditionParams:{support:void 0},lastConditionalRule:void 0};if(t.set(n.parent,s),n.variable){if(!s.propNames.has(n.prop))return void s.propNames.add(n.prop)}else{let B=n.prop.toLowerCase();if(!s.propNames.has(B))return void s.propNames.add(B)}if(!n.variable&&!mR.test(n.value)||gR.test(n.value)||vR.test(n.value))return;let o=!n.variable,i=hR(n.value,o).support.join(" and ");if(!i)return;if(s.lastConditionParams.support!==i&&(s.lastConditionalRule=void 0),s.lastConditionalRule)return s.lastConditionalRule.append(n.clone()),void n.remove();let a=[];if(i&&a.push(r.atRule({name:"supports",params:i,source:n.parent.source,raws:{before:`
|
|
322
322
|
|
|
323
323
|
`,after:`
|
|
324
324
|
`}})),!a.length)return;for(let B=0;B<a.length-1;B++){let h=a[B],g=a[B+1];h.append(g)}let l=a[0],u=a[a.length-1],c=n.parent.clone();c.removeAll(),c.raws.before=`
|
|
325
|
-
`,c.append(n.clone()),n.remove(),s.lastConditionParams.support=i,s.lastConditionalRule=c,u.append(c),s.conditionalRules.push(l)}),e.walk(n=>{let s=t.get(n);s&&s.conditionalRules.length!==0&&s.conditionalRules.reverse().forEach(o=>{n.after(o)})})}}}});Ee.postcss=!0;p();d();f();var ct=class extends Error{sourceStart;sourceEnd;parserState;constructor(e,r,n,s){super(e),this.name="ParseError",this.sourceStart=r,this.sourceEnd=n,this.parserState=s}},dr=class extends ct{token;constructor(e,r,n,s,o){super(e,r,n,s),this.token=o}},_r={UnexpectedNewLineInString:"Unexpected newline while consuming a string token.",UnexpectedEOFInString:"Unexpected EOF while consuming a string token.",UnexpectedEOFInComment:"Unexpected EOF while consuming a comment.",UnexpectedEOFInURL:"Unexpected EOF while consuming a url token.",UnexpectedEOFInEscapedCodePoint:"Unexpected EOF while consuming an escaped code point.",UnexpectedCharacterInURL:"Unexpected character while consuming a url token.",InvalidEscapeSequenceInURL:"Invalid escape sequence while consuming a url token.",InvalidEscapeSequenceAfterBackslash:'Invalid escape sequence after "\\"'},Lp=class{cursor=0;source="";codePointSource=[];representationIndices=[-1];length=0;representationStart=0;representationEnd=-1;constructor(e){this.source=e;{let r=-1,n="";for(n of e)r+=n.length,this.codePointSource.push(n.codePointAt(0)),this.representationIndices.push(r)}this.length=this.codePointSource.length}advanceCodePoint(e=1){this.cursor=this.cursor+e,this.representationEnd=this.representationIndices[this.cursor]}readCodePoint(e=1){let r=this.codePointSource[this.cursor];return r!==void 0&&(this.cursor=this.cursor+e,this.representationEnd=this.representationIndices[this.cursor],r)}unreadCodePoint(e=1){this.cursor=this.cursor-e,this.representationEnd=this.representationIndices[this.cursor]}resetRepresentation(){this.representationStart=this.representationIndices[this.cursor]+1,this.representationEnd=-1}},yR=typeof globalThis<"u"&&"structuredClone"in globalThis;function As(t){return yR?structuredClone(t):JSON.parse(JSON.stringify(t))}function $(...t){let e="";for(let r=0;r<t.length;r++)e+=t[r][1];return e}var Rp=39,ZD=42,wR=8,no=13,$D=9,bR=58,DR=44,xR=64,SR=127,kR=33,Fp=12,Fl=46,PR=62,Bt=45,AR=31,NR=69,ER=101,OR=123,Mp=40,TR=91,ex=60,so=10,IR=11,LR=95,RR=1114111,FR=0,MR=35,_R=37,ks=43,_p=34,Ep=65533,io=92,qR=125,Ml=41,VR=93,UR=59,WR=14,qp=47,tx=32,Vp=117,Up=85,GR=114,HR=82,zR=108,jR=76,rx=63,QR=48,JR=70;function KR(t){return t.codePointSource[t.cursor]===ex&&t.codePointSource[t.cursor+1]===kR&&t.codePointSource[t.cursor+2]===Bt&&t.codePointSource[t.cursor+3]===Bt}function Et(t){return t>=48&&t<=57}function YR(t){return t>=65&&t<=90}function XR(t){return t>=97&&t<=122}function Fn(t){return Et(t)||t>=97&&t<=102||t>=65&&t<=70}function ZR(t){return XR(t)||YR(t)}function Ps(t){return ZR(t)||$R(t)||t===LR}function Wp(t){return Ps(t)||Et(t)||t===Bt}function $R(t){return t===183||t===8204||t===8205||t===8255||t===8256||t===8204||192<=t&&t<=214||216<=t&&t<=246||248<=t&&t<=893||895<=t&&t<=8191||8304<=t&&t<=8591||11264<=t&&t<=12271||12289<=t&&t<=55295||63744<=t&&t<=64975||65008<=t&&t<=65533||t>=65536}function _l(t){return t===so||t===no||t===Fp}function Mn(t){return t===tx||t===so||t===$D||t===no||t===Fp}function Ns(t){return t.codePointSource[t.cursor]===io&&!_l(t.codePointSource[t.cursor+1])}function ql(t,e){return e.codePointSource[e.cursor]===Bt?e.codePointSource[e.cursor+1]===Bt||!!Ps(e.codePointSource[e.cursor+1])||e.codePointSource[e.cursor+1]===io&&!_l(e.codePointSource[e.cursor+2]):!!Ps(e.codePointSource[e.cursor])||Ns(e)}function XD(t){return t.codePointSource[t.cursor]===ks||t.codePointSource[t.cursor]===Bt?!!Et(t.codePointSource[t.cursor+1])||t.codePointSource[t.cursor+1]===Fl&&Et(t.codePointSource[t.cursor+2]):t.codePointSource[t.cursor]===Fl?Et(t.codePointSource[t.cursor+1]):Et(t.codePointSource[t.cursor])}function eF(t){return t.codePointSource[t.cursor]===qp&&t.codePointSource[t.cursor+1]===ZD}function tF(t){return t.codePointSource[t.cursor]===Bt&&t.codePointSource[t.cursor+1]===Bt&&t.codePointSource[t.cursor+2]===PR}var D,R,Vl;function nx(t){switch(t){case D.OpenParen:return D.CloseParen;case D.CloseParen:return D.OpenParen;case D.OpenCurly:return D.CloseCurly;case D.CloseCurly:return D.OpenCurly;case D.OpenSquare:return D.CloseSquare;case D.CloseSquare:return D.OpenSquare;default:return null}}function sx(t){switch(t[0]){case D.OpenParen:return[D.CloseParen,")",-1,-1,void 0];case D.CloseParen:return[D.OpenParen,"(",-1,-1,void 0];case D.OpenCurly:return[D.CloseCurly,"}",-1,-1,void 0];case D.CloseCurly:return[D.OpenCurly,"{",-1,-1,void 0];case D.OpenSquare:return[D.CloseSquare,"]",-1,-1,void 0];case D.CloseSquare:return[D.OpenSquare,"[",-1,-1,void 0];default:return null}}function rF(t,e){for(e.advanceCodePoint(2);;){let r=e.readCodePoint();if(r===!1){let n=[D.Comment,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new dr(_r.UnexpectedEOFInComment,e.representationStart,e.representationEnd,["4.3.2. Consume comments","Unexpected EOF"],n)),n}if(r===ZD&&e.codePointSource[e.cursor]!==void 0&&e.codePointSource[e.cursor]===qp){e.advanceCodePoint();break}}return[D.Comment,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0]}function Ul(t,e){let r=e.readCodePoint();if(r===!1)return t.onParseError(new ct(_r.UnexpectedEOFInEscapedCodePoint,e.representationStart,e.representationEnd,["4.3.7. Consume an escaped code point","Unexpected EOF"])),Ep;if(Fn(r)){let s=[r];for(;e.codePointSource[e.cursor]!==void 0&&Fn(e.codePointSource[e.cursor])&&s.length<6;)s.push(e.codePointSource[e.cursor]),e.advanceCodePoint();Mn(e.codePointSource[e.cursor])&&e.advanceCodePoint();let o=parseInt(String.fromCodePoint(...s),16);return o===0||(n=o)>=55296&&n<=57343||o>RR?Ep:o}var n;return r}function Wl(t,e){let r=[];for(;;)if(Wp(e.codePointSource[e.cursor]))r.push(e.codePointSource[e.cursor]),e.advanceCodePoint();else{if(!Ns(e))return r;e.advanceCodePoint(),r.push(Ul(t,e))}}function nF(t,e){if(e.advanceCodePoint(),e.codePointSource[e.cursor]!==void 0&&(Wp(e.codePointSource[e.cursor])||Ns(e))){let r=Vl.Unrestricted;ql(0,e)&&(r=Vl.ID);let n=Wl(t,e);return[D.Hash,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...n),type:r}]}return[D.Delim,"#",e.representationStart,e.representationEnd,{value:"#"}]}function sF(t,e){let r=R.Integer;for(e.codePointSource[e.cursor]!==ks&&e.codePointSource[e.cursor]!==Bt||e.advanceCodePoint();Et(e.codePointSource[e.cursor]);)e.advanceCodePoint();if(e.codePointSource[e.cursor]===Fl&&Et(e.codePointSource[e.cursor+1]))for(e.advanceCodePoint(2),r=R.Number;Et(e.codePointSource[e.cursor]);)e.advanceCodePoint();if(e.codePointSource[e.cursor]===ER||e.codePointSource[e.cursor]===NR){if(Et(e.codePointSource[e.cursor+1]))e.advanceCodePoint(2);else{if(e.codePointSource[e.cursor+1]!==Bt&&e.codePointSource[e.cursor+1]!==ks||!Et(e.codePointSource[e.cursor+2]))return r;e.advanceCodePoint(3)}for(r=R.Number;Et(e.codePointSource[e.cursor]);)e.advanceCodePoint()}return r}function Op(t,e){let r;{let o=e.codePointSource[e.cursor];o===Bt?r="-":o===ks&&(r="+")}let n=sF(0,e),s=parseFloat(e.source.slice(e.representationStart,e.representationEnd+1));if(ql(0,e)){let o=Wl(t,e);return[D.Dimension,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:s,signCharacter:r,type:n,unit:String.fromCodePoint(...o)}]}return e.codePointSource[e.cursor]===_R?(e.advanceCodePoint(),[D.Percentage,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:s,signCharacter:r}]):[D.Number,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:s,signCharacter:r,type:n}]}function iF(t){for(;Mn(t.codePointSource[t.cursor]);)t.advanceCodePoint();return[D.Whitespace,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0]}function oF(t,e){let r="",n=e.readCodePoint();for(;;){let s=e.readCodePoint();if(s===!1){let o=[D.String,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];return t.onParseError(new dr(_r.UnexpectedEOFInString,e.representationStart,e.representationEnd,["4.3.5. Consume a string token","Unexpected EOF"],o)),o}if(_l(s)){e.unreadCodePoint();let o=[D.BadString,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new dr(_r.UnexpectedNewLineInString,e.representationStart,e.codePointSource[e.cursor]===no&&e.codePointSource[e.cursor+1]===so?e.representationEnd+2:e.representationEnd+1,["4.3.5. Consume a string token","Unexpected newline"],o)),o}if(s===n)return[D.String,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];if(s!==io)r+=String.fromCodePoint(s);else{if(e.codePointSource[e.cursor]===void 0)continue;if(_l(e.codePointSource[e.cursor])){e.codePointSource[e.cursor]===no&&e.codePointSource[e.cursor+1]===so&&e.advanceCodePoint(),e.advanceCodePoint();continue}r+=String.fromCodePoint(Ul(t,e))}}}function aF(t){return!(t.length!==3||t[0]!==Vp&&t[0]!==Up||t[1]!==GR&&t[1]!==HR||t[2]!==zR&&t[2]!==jR)}function Tp(t,e){for(;;){if(e.codePointSource[e.cursor]===void 0)return;if(e.codePointSource[e.cursor]===Ml)return void e.advanceCodePoint();Ns(e)?(e.advanceCodePoint(),Ul(t,e)):e.advanceCodePoint()}}function lF(t,e){for(;Mn(e.codePointSource[e.cursor]);)e.advanceCodePoint();let r="";for(;;){if(e.codePointSource[e.cursor]===void 0){let s=[D.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];return t.onParseError(new dr(_r.UnexpectedEOFInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token","Unexpected EOF"],s)),s}if(e.codePointSource[e.cursor]===Ml)return e.advanceCodePoint(),[D.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];if(Mn(e.codePointSource[e.cursor])){for(e.advanceCodePoint();Mn(e.codePointSource[e.cursor]);)e.advanceCodePoint();if(e.codePointSource[e.cursor]===void 0){let s=[D.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];return t.onParseError(new dr(_r.UnexpectedEOFInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token","Consume as much whitespace as possible","Unexpected EOF"],s)),s}return e.codePointSource[e.cursor]===Ml?(e.advanceCodePoint(),[D.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}]):(Tp(t,e),[D.BadURL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0])}if(e.codePointSource[e.cursor]===_p||e.codePointSource[e.cursor]===Rp||e.codePointSource[e.cursor]===Mp||(n=e.codePointSource[e.cursor])===IR||n===SR||FR<=n&&n<=wR||WR<=n&&n<=AR){Tp(t,e);let s=[D.BadURL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new dr(_r.UnexpectedCharacterInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token",`Unexpected U+0022 QUOTATION MARK ("), U+0027 APOSTROPHE ('), U+0028 LEFT PARENTHESIS (() or non-printable code point`],s)),s}if(e.codePointSource[e.cursor]===io){if(Ns(e)){e.advanceCodePoint(),r+=String.fromCodePoint(Ul(t,e));continue}Tp(t,e);let s=[D.BadURL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new dr(_r.InvalidEscapeSequenceInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],s)),s}r+=String.fromCodePoint(e.codePointSource[e.cursor]),e.advanceCodePoint()}var n}function Ip(t,e){let r=Wl(t,e);if(e.codePointSource[e.cursor]!==Mp)return[D.Ident,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...r)}];if(aF(r)){e.advanceCodePoint();let n=0;for(;;){let s=Mn(e.codePointSource[e.cursor]),o=Mn(e.codePointSource[e.cursor+1]);if(s&&o){n+=1,e.advanceCodePoint(1);continue}let i=s?e.codePointSource[e.cursor+1]:e.codePointSource[e.cursor];if(i===_p||i===Rp)return n>0&&e.unreadCodePoint(n),[D.Function,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...r)}];break}return lF(t,e)}return e.advanceCodePoint(),[D.Function,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...r)}]}function uF(t){return!(t.codePointSource[t.cursor]!==Vp&&t.codePointSource[t.cursor]!==Up||t.codePointSource[t.cursor+1]!==ks||t.codePointSource[t.cursor+2]!==rx&&!Fn(t.codePointSource[t.cursor+2]))}function BF(t,e){e.advanceCodePoint(2);let r=[],n=[];for(;e.codePointSource[e.cursor]!==void 0&&r.length<6&&Fn(e.codePointSource[e.cursor]);)r.push(e.codePointSource[e.cursor]),e.advanceCodePoint();for(;e.codePointSource[e.cursor]!==void 0&&r.length<6&&e.codePointSource[e.cursor]===rx;)n.length===0&&n.push(...r),r.push(QR),n.push(JR),e.advanceCodePoint();if(!n.length&&e.codePointSource[e.cursor]===Bt&&Fn(e.codePointSource[e.cursor+1]))for(e.advanceCodePoint();e.codePointSource[e.cursor]!==void 0&&n.length<6&&Fn(e.codePointSource[e.cursor]);)n.push(e.codePointSource[e.cursor]),e.advanceCodePoint();if(!n.length){let i=parseInt(String.fromCodePoint(...r),16);return[D.UnicodeRange,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{startOfRange:i,endOfRange:i}]}let s=parseInt(String.fromCodePoint(...r),16),o=parseInt(String.fromCodePoint(...n),16);return[D.UnicodeRange,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{startOfRange:s,endOfRange:o}]}function qe(t,e){let r=Ot(t,e),n=[];{for(;!r.endOfFile();){let o=r.nextToken();o&&n.push(o)}let s=r.nextToken();s&&n.push(s)}return n}function Ot(t,e){let r=t.css.valueOf(),n=t.unicodeRangesAllowed??!1,s=new Lp(r),o={onParseError:e?.onParseError??cF};return{nextToken:function(){s.resetRepresentation();let a=s.codePointSource[s.cursor];if(a===void 0)return[D.EOF,"",-1,-1,void 0];if(a===qp&&eF(s))return rF(o,s);if(n&&(a===Vp||a===Up)&&uF(s))return BF(0,s);if(Ps(a))return Ip(o,s);if(Et(a))return Op(o,s);switch(a){case DR:return s.advanceCodePoint(),[D.Comma,",",s.representationStart,s.representationEnd,void 0];case bR:return s.advanceCodePoint(),[D.Colon,":",s.representationStart,s.representationEnd,void 0];case UR:return s.advanceCodePoint(),[D.Semicolon,";",s.representationStart,s.representationEnd,void 0];case Mp:return s.advanceCodePoint(),[D.OpenParen,"(",s.representationStart,s.representationEnd,void 0];case Ml:return s.advanceCodePoint(),[D.CloseParen,")",s.representationStart,s.representationEnd,void 0];case TR:return s.advanceCodePoint(),[D.OpenSquare,"[",s.representationStart,s.representationEnd,void 0];case VR:return s.advanceCodePoint(),[D.CloseSquare,"]",s.representationStart,s.representationEnd,void 0];case OR:return s.advanceCodePoint(),[D.OpenCurly,"{",s.representationStart,s.representationEnd,void 0];case qR:return s.advanceCodePoint(),[D.CloseCurly,"}",s.representationStart,s.representationEnd,void 0];case Rp:case _p:return oF(o,s);case MR:return nF(o,s);case ks:case Fl:return XD(s)?Op(o,s):(s.advanceCodePoint(),[D.Delim,s.source[s.representationStart],s.representationStart,s.representationEnd,{value:s.source[s.representationStart]}]);case so:case no:case Fp:case $D:case tx:return iF(s);case Bt:return XD(s)?Op(o,s):tF(s)?(s.advanceCodePoint(3),[D.CDC,"-->",s.representationStart,s.representationEnd,void 0]):ql(0,s)?Ip(o,s):(s.advanceCodePoint(),[D.Delim,"-",s.representationStart,s.representationEnd,{value:"-"}]);case ex:return KR(s)?(s.advanceCodePoint(4),[D.CDO,"<!--",s.representationStart,s.representationEnd,void 0]):(s.advanceCodePoint(),[D.Delim,"<",s.representationStart,s.representationEnd,{value:"<"}]);case xR:if(s.advanceCodePoint(),ql(0,s)){let l=Wl(o,s);return[D.AtKeyword,s.source.slice(s.representationStart,s.representationEnd+1),s.representationStart,s.representationEnd,{value:String.fromCodePoint(...l)}]}return[D.Delim,"@",s.representationStart,s.representationEnd,{value:"@"}];case io:{if(Ns(s))return Ip(o,s);s.advanceCodePoint();let l=[D.Delim,"\\",s.representationStart,s.representationEnd,{value:"\\"}];return o.onParseError(new dr(_r.InvalidEscapeSequenceAfterBackslash,s.representationStart,s.representationEnd,["4.3.1. Consume a token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],l)),l}}return s.advanceCodePoint(),[D.Delim,s.source[s.representationStart],s.representationStart,s.representationEnd,{value:s.source[s.representationStart]}]},endOfFile:function(){return s.codePointSource[s.cursor]===void 0}}}function cF(){}function ix(t,e){let r=[];for(let s of e)r.push(s.codePointAt(0));let n=String.fromCodePoint(...ox(r));t[1]=n,t[4].value=e}function Gp(t,e){let r=[];for(let a of e)r.push(a.codePointAt(0));let n=ox(r);n[0]===101&&Rl(n,0,n[0]);let s=String.fromCodePoint(...n),o=t[4].signCharacter==="+"?t[4].signCharacter:"",i=t[4].value.toString();t[1]=`${o}${i}${s}`,t[4].unit=e}function ox(t){let e=0;t[0]===Bt&&t[1]===Bt?e=2:t[0]===Bt&&t[1]?(e=2,Ps(t[1])||(e+=Rl(t,1,t[1]))):Ps(t[0])?e=1:(e=1,e+=Rl(t,0,t[0]));for(let r=e;r<t.length;r++)Wp(t[r])||(r+=Rl(t,r,t[r]));return t}function Rl(t,e,r){let n=r.toString(16),s=[];for(let i of n)s.push(i.codePointAt(0));let o=t[e+1];return e===t.length-1||o&&Fn(o)?(t.splice(e,1,92,...s,32),1+s.length):(t.splice(e,1,92,...s),s.length)}(function(t){t.Comment="comment",t.AtKeyword="at-keyword-token",t.BadString="bad-string-token",t.BadURL="bad-url-token",t.CDC="CDC-token",t.CDO="CDO-token",t.Colon="colon-token",t.Comma="comma-token",t.Delim="delim-token",t.Dimension="dimension-token",t.EOF="EOF-token",t.Function="function-token",t.Hash="hash-token",t.Ident="ident-token",t.Number="number-token",t.Percentage="percentage-token",t.Semicolon="semicolon-token",t.String="string-token",t.URL="url-token",t.Whitespace="whitespace-token",t.OpenParen="(-token",t.CloseParen=")-token",t.OpenSquare="[-token",t.CloseSquare="]-token",t.OpenCurly="{-token",t.CloseCurly="}-token",t.UnicodeRange="unicode-range-token"})(D||(D={})),function(t){t.Integer="integer",t.Number="number"}(R||(R={})),function(t){t.Unrestricted="unrestricted",t.ID="id"}(Vl||(Vl={}));var pF=Object.values(D);function oo(t){return!!Array.isArray(t)&&!(t.length<4)&&!!pF.includes(t[0])&&typeof t[1]=="string"&&typeof t[2]=="number"&&typeof t[3]=="number"}function Ve(t){switch(t[0]){case D.Dimension:case D.Number:case D.Percentage:return!0;default:return!1}}function wt(t){switch(t[0]){case D.Whitespace:case D.Comment:return!0;default:return!1}}function ax(t){return!!t&&t[0]===D.Colon}function et(t){return!!t&&t[0]===D.Comma}function ao(t){return!!t&&t[0]===D.Comment}function ze(t){return!!t&&t[0]===D.Delim}function ae(t){return!!t&&t[0]===D.Dimension}function pt(t){return!!t&&t[0]===D.EOF}function lx(t){return!!t&&t[0]===D.Function}function ux(t){return!!t&&t[0]===D.Hash}function X(t){return!!t&&t[0]===D.Ident}function j(t){return!!t&&t[0]===D.Number}function Me(t){return!!t&&t[0]===D.Percentage}function Cr(t){return!!t&&t[0]===D.Whitespace}function ln(t){return!!t&&t[0]===D.OpenParen}function Bx(t){return!!t&&t[0]===D.CloseParen}function cx(t){return!!t&&t[0]===D.OpenSquare}function px(t){return!!t&&t[0]===D.OpenCurly}p();d();f();p();d();f();function ft(t,e){return[t[0]*e[0]+t[1]*e[1]+t[2]*e[2],t[3]*e[0]+t[4]*e[1]+t[5]*e[2],t[6]*e[0]+t[7]*e[1]+t[8]*e[2]]}var fF=[1.0479297925449969,.022946870601609652,-.05019226628920524,.02962780877005599,.9904344267538799,-.017073799063418826,-.009243040646204504,.015055191490298152,.7518742814281371];function hr(t){return ft(fF,t)}function dx(t){let e=t[0],r=t[1],n=t[2];function s(o){let i=(o+e/30)%12,a=r*Math.min(n,1-n);return n-a*Math.max(-1,Math.min(i-3,9-i,1))}return e%=360,e<0&&(e+=360),r/=100,n/=100,[s(0),s(8),s(4)]}function dF(t){let e=t[0],r=t[1],n=t[2];if(r/=100,n/=100,r+n>=1){let o=r/(r+n);return[o,o,o]}let s=dx([e,100,50]);for(let o=0;o<3;o++)s[o]*=1-r-n,s[o]+=r;return s}var Cx=[.3457/.3585,1,.2958/.3585];function hx(t){let e=903.2962962962963,r=216/24389,n=[];return n[1]=(t[0]+16)/116,n[0]=t[1]/500+n[1],n[2]=n[1]-t[2]/200,[Math.pow(n[0],3)>r?Math.pow(n[0],3):(116*n[0]-16)/e,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/e,Math.pow(n[2],3)>r?Math.pow(n[2],3):(116*n[2]-16)/e].map((s,o)=>s*Cx[o])}function Gl(t){return[t[0],t[1]*Math.cos(t[2]*Math.PI/180),t[1]*Math.sin(t[2]*Math.PI/180)]}var CF=[1.2268798758459243,-.5578149944602171,.2813910456659647,-.0405757452148008,1.112286803280317,-.0717110580655164,-.0763729366746601,-.4214933324022432,1.5869240198367816],hF=[1,.3963377773761749,.2158037573099136,1,-.1055613458156586,-.0638541728258133,1,-.0894841775298119,-1.2914855480194092];function lo(t){let e=ft(hF,t);return ft(CF,[e[0]**3,e[1]**3,e[2]**3])}function mF(t){let e=1.09929682680944;return t.map(function(r){let n=r<0?-1:1,s=Math.abs(r);return s<.08124285829863151?r/4.5:n*Math.pow((s+e-1)/e,1/.45)})}var gF=[63426534/99577255,20160776/139408157,47086771/278816314,26158966/99577255,.677998071518871,8267143/139408157,0,19567812/697040785,1.0609850577107909];function Hl(t){return t.map(function(e){let r=e<0?-1:1,n=Math.abs(e);return n<=.04045?e/12.92:r*Math.pow((n+.055)/1.055,2.4)})}function vF(t){return Hl(t)}var yF=[608311/1250200,189793/714400,198249/1000160,35783/156275,247089/357200,198249/2500400,0,32229/714400,5220557/5000800];function Hp(t){return ft(yF,t)}var wF=[.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602];var bF=[573536/994567,263643/1420810,187206/994567,591459/1989134,6239551/9945670,374412/4972835,53769/1989134,351524/4972835,4929758/4972835];var DF=[506752/1228815,87881/245763,12673/70218,87098/409605,175762/245763,12673/175545,7918/409605,87881/737289,1001167/1053270];function Es(t){return ft(DF,t)}var xF=[.955473421488075,-.02309845494876471,.06325924320057072,-.0283697093338637,1.0099953980813041,.021041441191917323,.012314014864481998,-.020507649298898964,1.330365926242124];function mr(t){return ft(xF,t)}var SF=[12831/3959,-329/214,-1974/3959,-851781/878810,1648619/878810,36519/878810,705/12673,-2585/12673,705/667];function Os(t){return ft(SF,t)}function Ts(t){return t.map(function(e){let r=e<0?-1:1,n=Math.abs(e);return n>.0031308?r*(1.055*Math.pow(n,1/2.4)-.055):12.92*e})}function mx(t){let e=t[0],r=t[1],n=t[2],s=Math.max(e,r,n),o=Math.min(e,r,n),i=(o+s)/2,a=s-o,l=NaN,u=0;if(Math.round(1e5*a)!==0){switch(u=Math.round(1e5*i)===0||Math.round(1e5*i)===1e5?0:(s-i)/Math.min(i,1-i),s){case e:l=(r-n)/a+(r<n?6:0);break;case r:l=(n-e)/a+2;break;case n:l=(e-r)/a+4}l*=60}return u<0&&(l+=180,u=Math.abs(u)),l>=360&&(l-=360),[l,100*u,100*i]}var kF=[446124/178915,-333277/357830,-72051/178915,-14852/17905,63121/35810,423/17905,11844/330415,-50337/660830,316169/330415];function zp(t){return ft(kF,t)}function jp(t){return Ts(t)}function gx(t){let e=.008856451679035631,r=24389/27,n=t.map((s,o)=>s/Cx[o]).map(s=>s>e?Math.cbrt(s):(r*s+16)/116);return[116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]}var PF=[.819022437996703,.3619062600528904,-.1288737815209879,.0329836539323885,.9292868615863434,.0361446663506424,.0481771893596242,.2642395317527308,.6335478284694309],AF=[.210454268309314,.7936177747023054,-.0040720430116193,1.9779985324311684,-2.42859224204858,.450593709617411,.0259040424655478,.7827717124575296,-.8086757549230774];function uo(t){let e=ft(PF,t);return ft(AF,[Math.cbrt(e[0]),Math.cbrt(e[1]),Math.cbrt(e[2])])}function NF(t){let e=180*Math.atan2(t[2],t[1])/Math.PI;return[t[0],Math.sqrt(Math.pow(t[1],2)+Math.pow(t[2],2)),e>=0?e:e+360]}function zl(t){let e=180*Math.atan2(t[2],t[1])/Math.PI;return[t[0],Math.sqrt(t[1]**2+t[2]**2),e>=0?e:e+360]}var EF=[1829569/896150,-506331/896150,-308931/896150,-851781/878810,1648619/878810,36519/878810,16779/1248040,-147721/1248040,1266979/1248040];var OF=[30757411/17917100,-6372589/17917100,-4539589/17917100,-.666684351832489,1.616481236634939,467509/29648200,792561/44930125,-1921689/44930125,.942103121235474];function TF(t){let e=1.09929682680944;return t.map(function(r){let n=r<0?-1:1,s=Math.abs(r);return s>.018053968510807?n*(e*Math.pow(s,.45)-(e-1)):4.5*r})}var IF=[1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452];function LF(t){let e=.001953125;return t.map(function(r){let n=r<0?-1:1,s=Math.abs(r);return s>=e?n*Math.pow(s,1/1.8):16*r})}function Qp(t){let e=t;return e=Hl(e),e=Es(e),e=hr(e),e}function Bo(t){let e=t;return e=mr(e),e=Os(e),e=Ts(e),e}function vx(t){let e=t;return e=dx(e),e=Hl(e),e=Es(e),e=hr(e),e}function Jp(t){let e=t;return e=mr(e),e=Os(e),e=Ts(e),e=mx(e),e}function yx(t){let e=t;return e=dF(e),e=Hl(e),e=Es(e),e=hr(e),e}function wx(t){let e=t;e=mr(e),e=Os(e);let r=Ts(e);e=mx(r);let n=Math.min(r[0],r[1],r[2]),s=1-Math.max(r[0],r[1],r[2]);return[e[0],100*n,100*s]}function bx(t){let e=t;return e=hx(e),e}function Dx(t){let e=t;return e=gx(e),e}function xx(t){let e=t;var r;return e=[(r=e)[0],r[1]*Math.cos(r[2]*Math.PI/180),r[1]*Math.sin(r[2]*Math.PI/180)],e=hx(e),e}function Sx(t){let e=t;return e=gx(e),e=NF(e),e}function kx(t){let e=t;return e=lo(e),e=hr(e),e}function Px(t){let e=t;return e=mr(e),e=uo(e),e}function Ax(t){let e=t;return e=Gl(e),e=lo(e),e=hr(e),e}function jl(t){let e=t;return e=mr(e),e=uo(e),e=zl(e),e}function Nx(t){let e=t;return e=Es(e),e=hr(e),e}function Ex(t){let e=t;return e=mr(e),e=Os(e),e}function Ox(t){let e=t;return e=e.map(function(r){let n=r<0?-1:1,s=Math.abs(r);return n*Math.pow(s,563/256)}),e=ft(bF,e),e=hr(e),e}function Tx(t){let e=t;return e=mr(e),e=ft(EF,e),e=e.map(function(r){let n=r<0?-1:1,s=Math.abs(r);return n*Math.pow(s,256/563)}),e}function Ix(t){let e=t;return e=vF(e),e=Hp(e),e=hr(e),e}function Ql(t){let e=t;return e=mr(e),e=zp(e),e=jp(e),e}function Lx(t){let e=t;return e=mF(e),e=ft(gF,e),e=hr(e),e}function Rx(t){let e=t;return e=mr(e),e=ft(OF,e),e=TF(e),e}function Fx(t){let e=t;return e=e.map(function(r){let n=r<0?-1:1,s=Math.abs(r);return s<=.03125?r/16:n*Math.pow(s,1.8)}),e=ft(wF,e),e}function Mx(t){let e=t;return e=ft(IF,e),e=LF(e),e}function _x(t){let e=t;return e=hr(e),e}function qx(t){let e=t;return e=mr(e),e}function Kp(t){let[e,r,n]=t;return e>=-1e-4&&e<=1.0001&&r>=-1e-4&&r<=1.0001&&n>=-1e-4&&n<=1.0001}function Jl(t){return t.map(e=>e<0?0:e>1?1:e)}function Yp(t,e,r){let n=t[0],s=t[2],o=e(t),i=e([n,0,s]);for(let a=0;a<4;a++){if(a>0){let u=r(o);u[0]=n,u[2]=s,o=e(u)}let l=RF(i,o.slice());if(!l)break;o=l.slice()}return Jl(o)}function RF(t,e){let r=1/0,n=-1/0,s=[];for(let o=0;o<3;o++){let i=t[o],a=e[o]-i;s.push(a);let l=0,u=1;if(a){let c=1/a,B=(l-i)*c,h=(u-i)*c;n=Math.max(Math.min(B,h),n),r=Math.min(Math.max(B,h),r)}else if(i<l||i>u)return!1}return!(n>r||r<0)&&(n<0&&(n=r),!!isFinite(n)&&[t[0]+s[0]*n,t[1]+s[1]*n,t[2]+s[2]*n])}var Kl={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};function fx(t){let[e,r,n]=t.map(s=>s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4));return .2126*e+.7152*r+.0722*n}function Xp(t,e){let r=fx(t),n=fx(e);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}p();d();f();var de;function qn(t){let e=t.slice();return(r,n,s)=>{let o=-1;for(let i=e.indexOf(n);i<e.length&&(o=r.indexOf(e[i]),o===-1||o<s);i++);return o===-1||o===s&&n===r[s]&&(o++,o>=r.length)?-1:(e=r.slice(),o)}}function Xl(t,e){let r=e[0];if(ln(r)||px(r)||cx(r)){let n=MF(t,e);return{advance:n.advance,node:n.node}}if(lx(r)){let n=FF(t,e);return{advance:n.advance,node:n.node}}if(Cr(r)){let n=Vx(t,e);return{advance:n.advance,node:n.node}}if(ao(r)){let n=_F(t,e);return{advance:n.advance,node:n.node}}return{advance:1,node:new V(r)}}(function(t){t.Function="function",t.SimpleBlock="simple-block",t.Whitespace="whitespace",t.Comment="comment",t.Token="token"})(de||(de={}));var Yl=class{value=[];indexOf(e){return this.value.indexOf(e)}at(e){if(typeof e=="number")return e<0&&(e=this.value.length+e),this.value[e]}forEach(e,r){if(this.value.length===0)return;let n=qn(this.value),s=0;for(;s<this.value.length;){let o=this.value[s],i;if(r&&(i={...r}),e({node:o,parent:this,state:i},s)===!1)return!1;if(s=n(this.value,o,s),s===-1)break}}walk(e,r){this.value.length!==0&&this.forEach((n,s)=>e(n,s)!==!1&&(!("walk"in n.node)||!this.value.includes(n.node)||n.node.walk(e,n.state)!==!1)&&void 0,r)}},me=class t extends Yl{type=de.Function;name;endToken;constructor(e,r,n){super(),this.name=e,this.endToken=r,this.value=n}getName(){return this.name[4].value}normalize(){pt(this.endToken)&&(this.endToken=[D.CloseParen,")",-1,-1,void 0])}tokens(){return pt(this.endToken)?[this.name,...this.value.flatMap(e=>e.tokens())]:[this.name,...this.value.flatMap(e=>e.tokens()),this.endToken]}toString(){let e=this.value.map(r=>oo(r)?$(r):r.toString()).join("");return $(this.name)+e+$(this.endToken)}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens(),value:this.value.map(e=>e.toJSON())}}isFunctionNode(){return t.isFunctionNode(this)}static isFunctionNode(e){return!!e&&e instanceof t&&e.type===de.Function}};function FF(t,e){let r=[],n=1;for(;;){let s=e[n];if(!s||pt(s))return t.onParseError(new ct("Unexpected EOF while consuming a function.",e[0][2],e[e.length-1][3],["5.4.9. Consume a function","Unexpected EOF"])),{advance:e.length,node:new me(e[0],s,r)};if(Bx(s))return{advance:n+1,node:new me(e[0],s,r)};if(wt(s)){let i=Ux(t,e.slice(n));n+=i.advance,r.push(...i.nodes);continue}let o=Xl(t,e.slice(n));n+=o.advance,r.push(o.node)}}var _n=class t extends Yl{type=de.SimpleBlock;startToken;endToken;constructor(e,r,n){super(),this.startToken=e,this.endToken=r,this.value=n}normalize(){if(pt(this.endToken)){let e=sx(this.startToken);e&&(this.endToken=e)}}tokens(){return pt(this.endToken)?[this.startToken,...this.value.flatMap(e=>e.tokens())]:[this.startToken,...this.value.flatMap(e=>e.tokens()),this.endToken]}toString(){let e=this.value.map(r=>oo(r)?$(r):r.toString()).join("");return $(this.startToken)+e+$(this.endToken)}toJSON(){return{type:this.type,startToken:this.startToken,tokens:this.tokens(),value:this.value.map(e=>e.toJSON())}}isSimpleBlockNode(){return t.isSimpleBlockNode(this)}static isSimpleBlockNode(e){return!!e&&e instanceof t&&e.type===de.SimpleBlock}};function MF(t,e){let r=nx(e[0][0]);if(!r)throw new Error("Failed to parse, a mirror variant must exist for all block open tokens.");let n=[],s=1;for(;;){let o=e[s];if(!o||pt(o))return t.onParseError(new ct("Unexpected EOF while consuming a simple block.",e[0][2],e[e.length-1][3],["5.4.8. Consume a simple block","Unexpected EOF"])),{advance:e.length,node:new _n(e[0],o,n)};if(o[0]===r)return{advance:s+1,node:new _n(e[0],o,n)};if(wt(o)){let a=Ux(t,e.slice(s));s+=a.advance,n.push(...a.nodes);continue}let i=Xl(t,e.slice(s));s+=i.advance,n.push(i.node)}}var se=class t{type=de.Whitespace;value;constructor(e){this.value=e}tokens(){return this.value}toString(){return $(...this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isWhitespaceNode(){return t.isWhitespaceNode(this)}static isWhitespaceNode(e){return!!e&&e instanceof t&&e.type===de.Whitespace}};function Vx(t,e){let r=0;for(;;){let n=e[r];if(!Cr(n))return{advance:r,node:new se(e.slice(0,r))};r++}}var co=class t{type=de.Comment;value;constructor(e){this.value=e}tokens(){return[this.value]}toString(){return $(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isCommentNode(){return t.isCommentNode(this)}static isCommentNode(e){return!!e&&e instanceof t&&e.type===de.Comment}};function _F(t,e){return{advance:1,node:new co(e[0])}}function Ux(t,e){let r=[],n=0;for(;;)if(Cr(e[n])){let s=Vx(0,e.slice(n));n+=s.advance,r.push(s.node)}else{if(!ao(e[n]))return{advance:n,nodes:r};r.push(new co(e[n])),n++}}var V=class t{type=de.Token;value;constructor(e){this.value=e}tokens(){return[this.value]}toString(){return this.value[1]}toJSON(){return{type:this.type,tokens:this.tokens()}}isTokenNod(){return t.isTokenNode(this)}static isTokenNode(e){return!!e&&e instanceof t&&e.type===de.Token}};function Wx(t,e){let r={onParseError:e?.onParseError??(()=>{})},n=[...t];pt(n[n.length-1])&&n.push([D.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);let s=[],o=0;for(;;){if(!n[o]||pt(n[o]))return s;let i=Xl(r,n.slice(o));s.push(i.node),o+=i.advance}}function ge(t,e){let r={onParseError:e?.onParseError??(()=>{})},n=[...t];if(t.length===0)return[];pt(n[n.length-1])&&n.push([D.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);let s=[],o=[],i=0;for(;;){if(!n[i]||pt(n[i]))return o.length&&s.push(o),s;if(et(n[i])){s.push(o),o=[],i++;continue}let a=Xl(r,t.slice(i));o.push(a.node),i+=a.advance}}function Gx(t){let e=new Map;return t.walk(r=>{Array.isArray(r.node)?r.node.forEach(n=>{e.set(n,r.parent)}):e.set(r.node,r.parent)}),e}function qF(t,e,r){if(t.length===0)return;let n=qn(t),s=0;for(;s<t.length;){let o=t[s],i;if(r&&(i={...r}),e({node:o,parent:{value:t},state:i},s)===!1)return!1;if(s=n(t,o,s),s===-1)break}}function po(t,e,r){t.length!==0&&qF(t,(n,s)=>e(n,s)!==!1&&(!("walk"in n.node)||!t.includes(n.node)||n.node.walk(e,n.state)!==!1)&&void 0,r)}function Se(t,e){for(let r=0;r<t.length;r++)po(t[r],(n,s)=>{if(typeof s!="number")return;let o=e(n.node);o&&(Array.isArray(o)?n.parent.value.splice(s,1,...o):n.parent.value.splice(s,1,o))});return t}function Oe(t){return t.map(e=>e.map(r=>$(...r.tokens())).join("")).join(",")}function qr(t){return _n.isSimpleBlockNode(t)}function ee(t){return me.isFunctionNode(t)}function pe(t){return se.isWhitespaceNode(t)}function Ce(t){return co.isCommentNode(t)}function Zp(t){return pe(t)||Ce(t)}function W(t){return V.isTokenNode(t)}p();d();f();var VF=/[A-Z]/g;function Dt(t){return t.replace(VF,e=>String.fromCharCode(e.charCodeAt(0)+32))}var UF={cm:"px",in:"px",mm:"px",pc:"px",pt:"px",px:"px",q:"px",deg:"deg",grad:"deg",rad:"deg",turn:"deg",ms:"s",s:"s",hz:"hz",khz:"hz"},WF=new Map([["cm",t=>t],["mm",t=>10*t],["q",t=>40*t],["in",t=>t/2.54],["pc",t=>t/2.54*6],["pt",t=>t/2.54*72],["px",t=>t/2.54*96]]),eu=new Map([["deg",t=>t],["grad",t=>t/.9],["rad",t=>t/180*Math.PI],["turn",t=>t/360]]),fo=new Map([["deg",t=>.9*t],["grad",t=>t],["rad",t=>.9*t/180*Math.PI],["turn",t=>.9*t/360]]),GF=new Map([["hz",t=>t],["khz",t=>t/1e3]]),HF=new Map([["cm",t=>2.54*t],["mm",t=>25.4*t],["q",t=>25.4*t*4],["in",t=>t],["pc",t=>6*t],["pt",t=>72*t],["px",t=>96*t]]),zF=new Map([["hz",t=>1e3*t],["khz",t=>t]]),jF=new Map([["cm",t=>t/10],["mm",t=>t],["q",t=>4*t],["in",t=>t/25.4],["pc",t=>t/25.4*6],["pt",t=>t/25.4*72],["px",t=>t/25.4*96]]),QF=new Map([["ms",t=>t],["s",t=>t/1e3]]),JF=new Map([["cm",t=>t/6*2.54],["mm",t=>t/6*25.4],["q",t=>t/6*25.4*4],["in",t=>t/6],["pc",t=>t],["pt",t=>t/6*72],["px",t=>t/6*96]]),KF=new Map([["cm",t=>t/72*2.54],["mm",t=>t/72*25.4],["q",t=>t/72*25.4*4],["in",t=>t/72],["pc",t=>t/72*6],["pt",t=>t],["px",t=>t/72*96]]),YF=new Map([["cm",t=>t/96*2.54],["mm",t=>t/96*25.4],["q",t=>t/96*25.4*4],["in",t=>t/96],["pc",t=>t/96*6],["pt",t=>t/96*72],["px",t=>t]]),XF=new Map([["cm",t=>t/4/10],["mm",t=>t/4],["q",t=>t],["in",t=>t/4/25.4],["pc",t=>t/4/25.4*6],["pt",t=>t/4/25.4*72],["px",t=>t/4/25.4*96]]),jx=new Map([["deg",t=>180*t/Math.PI],["grad",t=>180*t/Math.PI/.9],["rad",t=>t],["turn",t=>180*t/Math.PI/360]]),ZF=new Map([["ms",t=>1e3*t],["s",t=>t]]),Co=new Map([["deg",t=>360*t],["grad",t=>360*t/.9],["rad",t=>360*t/180*Math.PI],["turn",t=>t]]),Qx=new Map([["cm",WF],["mm",jF],["q",XF],["in",HF],["pc",JF],["pt",KF],["px",YF],["ms",QF],["s",ZF],["deg",eu],["grad",fo],["rad",jx],["turn",Co],["hz",GF],["khz",zF]]);function Xt(t,e){if(!ae(t)||!ae(e))return e;let r=Dt(t[4].unit),n=Dt(e[4].unit);if(r===n)return e;let s=Qx.get(n);if(!s)return e;let o=s.get(r);if(!o)return e;let i=o(e[4].value),a=[D.Dimension,"",e[2],e[3],{...e[4],signCharacter:i<0?"-":void 0,type:Number.isInteger(i)?R.Integer:R.Number,value:i}];return Gp(a,t[4].unit),a}function $F(t){if(!ae(t))return t;let e=Dt(t[4].unit),r=UF[e];if(e===r)return t;let n=Qx.get(e);if(!n)return t;let s=n.get(r);if(!s)return t;let o=s(t[4].value),i=[D.Dimension,"",t[2],t[3],{...t[4],signCharacter:o<0?"-":void 0,type:Number.isInteger(o)?R.Integer:R.Number,value:o}];return Gp(i,r),i}function e7(t){if(t.length!==2)return-1;let e=t[0].value,r=t[1].value;if(j(e)&&j(r)){let n=e[4].value+r[4].value;return new V([D.Number,n.toString(),e[2],r[3],{value:n,type:e[4].type===R.Integer&&r[4].type===R.Integer?R.Integer:R.Number}])}if(Me(e)&&Me(r)){let n=e[4].value+r[4].value;return new V([D.Percentage,n.toString()+"%",e[2],r[3],{value:n}])}if(ae(e)&&ae(r)&&(r=Xt(e,r),Dt(e[4].unit)===Dt(r[4].unit))){let n=e[4].value+r[4].value;return new V([D.Dimension,n.toString()+e[4].unit,e[2],r[3],{value:n,type:e[4].type===R.Integer&&r[4].type===R.Integer?R.Integer:R.Number,unit:e[4].unit}])}return-1}function t7(t){if(t.length!==2)return-1;let e=t[0].value,r=t[1].value;if(j(e)&&j(r)){let n=e[4].value/r[4].value;return new V([D.Number,n.toString(),e[2],r[3],{value:n,type:Number.isInteger(n)?R.Integer:R.Number}])}if(Me(e)&&j(r)){let n=e[4].value/r[4].value;return new V([D.Percentage,n.toString()+"%",e[2],r[3],{value:n}])}if(ae(e)&&j(r)){let n=e[4].value/r[4].value;return new V([D.Dimension,n.toString()+e[4].unit,e[2],r[3],{value:n,type:Number.isInteger(n)?R.Integer:R.Number,unit:e[4].unit}])}return-1}function Vn(t){return!!t&&typeof t=="object"&&"inputs"in t&&Array.isArray(t.inputs)&&"operation"in t}function Tt(t){if(t===-1)return-1;let e=[];for(let r=0;r<t.inputs.length;r++){let n=t.inputs[r];if(W(n)){e.push(n);continue}let s=Tt(n);if(s===-1)return-1;e.push(s)}return t.operation(e)}function r7(t){if(t.length!==2)return-1;let e=t[0].value,r=t[1].value;if(j(e)&&j(r)){let n=e[4].value*r[4].value;return new V([D.Number,n.toString(),e[2],r[3],{value:n,type:e[4].type===R.Integer&&r[4].type===R.Integer?R.Integer:R.Number}])}if(Me(e)&&j(r)){let n=e[4].value*r[4].value;return new V([D.Percentage,n.toString()+"%",e[2],r[3],{value:n}])}if(j(e)&&Me(r)){let n=e[4].value*r[4].value;return new V([D.Percentage,n.toString()+"%",e[2],r[3],{value:n}])}if(ae(e)&&j(r)){let n=e[4].value*r[4].value;return new V([D.Dimension,n.toString()+e[4].unit,e[2],r[3],{value:n,type:e[4].type===R.Integer&&r[4].type===R.Integer?R.Integer:R.Number,unit:e[4].unit}])}if(j(e)&&ae(r)){let n=e[4].value*r[4].value;return new V([D.Dimension,n.toString()+r[4].unit,e[2],r[3],{value:n,type:e[4].type===R.Integer&&r[4].type===R.Integer?R.Integer:R.Number,unit:r[4].unit}])}return-1}function Is(t,e){for(let r=0;r<t.length;r++){let n=t[r];if(!W(n))continue;let s=n.value;if(!X(s))continue;let o=Dt(s[4].value);switch(o){case"e":t.splice(r,1,new V([D.Number,Math.E.toString(),s[2],s[3],{value:Math.E,type:R.Number}]));break;case"pi":t.splice(r,1,new V([D.Number,Math.PI.toString(),s[2],s[3],{value:Math.PI,type:R.Number}]));break;case"infinity":t.splice(r,1,new V([D.Number,"infinity",s[2],s[3],{value:1/0,type:R.Number}]));break;case"-infinity":t.splice(r,1,new V([D.Number,"-infinity",s[2],s[3],{value:-1/0,type:R.Number}]));break;case"nan":t.splice(r,1,new V([D.Number,"NaN",s[2],s[3],{value:Number.NaN,type:R.Number}]));break;default:if(e.has(o)){let i=e.get(o);t.splice(r,1,new V(i))}}}return t}function tu(t){if(t.length!==1)return-1;let e=t[0].value;return Ve(e)?t[0]:-1}function un(t,e,r){return ae(e)?ho(t,e[4].unit,r):Me(e)?n7(t,r):j(e)?vr(t,r):-1}function ho(t,e,r){let n=t.tokens();return{inputs:[new V([D.Dimension,r.toString()+e,n[0][2],n[n.length-1][3],{value:r,type:Number.isInteger(r)?R.Integer:R.Number,unit:e}])],operation:tu}}function n7(t,e){let r=t.tokens();return{inputs:[new V([D.Percentage,e.toString()+"%",r[0][2],r[r.length-1][3],{value:e}])],operation:tu}}function vr(t,e){let r=t.tokens();return{inputs:[new V([D.Number,e.toString(),r[0][2],r[r.length-1][3],{value:e,type:Number.isInteger(e)?R.Integer:R.Number}])],operation:tu}}function s7(t,e){let r=e.value;return j(r)?ho(t,"rad",Math.acos(r[4].value)):-1}function i7(t,e){let r=e.value;return j(r)?ho(t,"rad",Math.asin(r[4].value)):-1}function o7(t,e){let r=e.value;return j(r)?ho(t,"rad",Math.atan(r[4].value)):-1}function Ls(t){return ae(t)||j(t)}function ef(t){if(t.length===0)return!0;let e=t[0];if(!Ve(e))return!1;if(t.length===1)return!0;if(ae(e)){let r=Dt(e[4].unit);for(let n=1;n<t.length;n++){let s=t[n];if(e[0]!==s[0]||r!==Dt(s[4].unit))return!1}return!0}for(let r=1;r<t.length;r++){let n=t[r];if(e[0]!==n[0])return!1}return!0}function Un(t,e){return!!Ve(t)&&(ae(t)?t[0]===e[0]&&Dt(t[4].unit)===Dt(e[4].unit):t[0]===e[0])}function a7(t,e,r){let n=e.value;if(!Ls(n))return-1;let s=Xt(n,r.value);return Un(n,s)?ho(t,"rad",Math.atan2(n[4].value,s[4].value)):-1}function l7(t,e){let r=e.value;return Ls(r)?un(t,r,Math.abs(r[4].value)):-1}function u7(t,e,r,n){if(!W(e)||!W(r)||!W(n))return-1;let s=e.value;if(!Ve(s))return-1;let o=Xt(s,r.value);if(!Un(s,o))return-1;let i=Xt(s,n.value);return Un(s,i)?un(t,s,Math.max(s[4].value,Math.min(o[4].value,i[4].value))):-1}function B7(t,e){let r=e.value;if(!Ls(r))return-1;let n=r[4].value;if(ae(r))switch(r[4].unit.toLowerCase()){case"rad":break;case"deg":n=eu.get("rad")(r[4].value);break;case"grad":n=fo.get("rad")(r[4].value);break;case"turn":n=Co.get("rad")(r[4].value);break;default:return-1}return n=Math.cos(n),vr(t,n)}function c7(t,e){let r=e.value;return j(r)?vr(t,Math.exp(r[4].value)):-1}function p7(t,e){let r=e[0];if(!r||!W(r)||new Set(e.map(a=>a.type)).size!==1)return-1;let n=r.value;if(!Ve(n))return-1;let s=e.map(a=>Xt(n,a.value));if(!ef(s))return-1;let o=s.map(a=>a[4].value),i=Math.hypot(...o);return un(t,n,i)}function Hx(t,e){let r=e[0];if(!r||!W(r)||new Set(e.map(a=>a.type)).size!==1)return-1;let n=r.value;if(!Ve(n))return-1;let s=e.map(a=>Xt(n,a.value));if(!ef(s))return-1;let o=s.map(a=>a[4].value),i=Math.max(...o);return un(t,n,i)}function zx(t,e){let r=e[0];if(!r||!W(r)||new Set(e.map(a=>a.type)).size!==1)return-1;let n=r.value;if(!Ve(n))return-1;let s=e.map(a=>Xt(n,a.value));if(!ef(s))return-1;let o=s.map(a=>a[4].value),i=Math.min(...o);return un(t,n,i)}function f7(t,e,r){let n=e.value;if(!Ve(n))return-1;let s=Xt(n,r.value);if(!Un(n,s))return-1;let o;return o=s[4].value===0?Number.NaN:Number.isFinite(n[4].value)&&(Number.isFinite(s[4].value)||(s[4].value!==Number.POSITIVE_INFINITY||n[4].value!==Number.NEGATIVE_INFINITY&&!Object.is(0*n[4].value,-0))&&(s[4].value!==Number.NEGATIVE_INFINITY||n[4].value!==Number.POSITIVE_INFINITY&&!Object.is(0*n[4].value,0)))?Number.isFinite(s[4].value)?(n[4].value%s[4].value+s[4].value)%s[4].value:n[4].value:Number.NaN,un(t,n,o)}function d7(t,e,r){let n=e.value,s=r.value;return!j(n)||!Un(n,s)?-1:vr(t,Math.pow(n[4].value,s[4].value))}function C7(t,e,r){let n=e.value;if(!Ve(n))return-1;let s=Xt(n,r.value);if(!Un(n,s))return-1;let o;return o=s[4].value===0?Number.NaN:Number.isFinite(n[4].value)?Number.isFinite(s[4].value)?n[4].value%s[4].value:n[4].value:Number.NaN,un(t,n,o)}function h7(t,e,r,n){let s=r.value;if(!Ve(s))return-1;let o=Xt(s,n.value);if(!Un(s,o))return-1;let i;if(o[4].value===0)i=Number.NaN;else if(Number.isFinite(s[4].value)||Number.isFinite(o[4].value))if(!Number.isFinite(s[4].value)&&Number.isFinite(o[4].value))i=s[4].value;else if(Number.isFinite(s[4].value)&&!Number.isFinite(o[4].value))switch(e){case"down":i=s[4].value<0?-1/0:Object.is(-0,0*s[4].value)?-0:0;break;case"up":i=s[4].value>0?1/0:Object.is(0,0*s[4].value)?0:-0;break;default:i=Object.is(0,0*s[4].value)?0:-0}else if(Number.isFinite(o[4].value))switch(e){case"down":i=Math.floor(s[4].value/o[4].value)*o[4].value;break;case"up":i=Math.ceil(s[4].value/o[4].value)*o[4].value;break;case"to-zero":i=Math.trunc(s[4].value/o[4].value)*o[4].value;break;default:{let a=Math.floor(s[4].value/o[4].value)*o[4].value,l=Math.ceil(s[4].value/o[4].value)*o[4].value;if(a>l){let B=a;a=l,l=B}let u=Math.abs(s[4].value-a),c=Math.abs(s[4].value-l);i=u===c?l:u<c?a:l;break}}else i=s[4].value;else i=Number.NaN;return un(t,s,i)}function m7(t,e){let r=e.value;return Ls(r)?vr(t,Math.sign(r[4].value)):-1}function g7(t,e){let r=e.value;if(!Ls(r))return-1;let n=r[4].value;if(ae(r))switch(Dt(r[4].unit)){case"rad":break;case"deg":n=eu.get("rad")(r[4].value);break;case"grad":n=fo.get("rad")(r[4].value);break;case"turn":n=Co.get("rad")(r[4].value);break;default:return-1}return n=Math.sin(n),vr(t,n)}function v7(t,e){let r=e.value;return j(r)?vr(t,Math.sqrt(r[4].value)):-1}function y7(t,e){let r=e.value;if(!Ls(r))return-1;let n=r[4].value,s=0,o=r[4].value;if(ae(r))switch(Dt(r[4].unit)){case"rad":s=jx.get("deg")(n);break;case"deg":s=n,o=eu.get("rad")(n);break;case"grad":s=fo.get("deg")(n),o=fo.get("rad")(n);break;case"turn":s=Co.get("deg")(n),o=Co.get("rad")(n);break;default:return-1}let i=s/90;return o=s%90==0&&i%2!=0?i>0?1/0:-1/0:Math.tan(o),vr(t,o)}function w7(t){if(t.length!==2)return-1;let e=t[0].value,r=t[1].value;if(j(e)&&j(r)){let n=e[4].value-r[4].value;return new V([D.Number,n.toString(),e[2],r[3],{value:n,type:e[4].type===R.Integer&&r[4].type===R.Integer?R.Integer:R.Number}])}if(Me(e)&&Me(r)){let n=e[4].value-r[4].value;return new V([D.Percentage,n.toString()+"%",e[2],r[3],{value:n}])}if(ae(e)&&ae(r)&&(r=Xt(e,r),Dt(e[4].unit)===Dt(r[4].unit))){let n=e[4].value-r[4].value;return new V([D.Dimension,n.toString()+e[4].unit,e[2],r[3],{value:n,type:e[4].type===R.Integer&&r[4].type===R.Integer?R.Integer:R.Number,unit:e[4].unit}])}return-1}function b7(t,e){if(e.length===1){let r=e[0];if(!r||!W(r))return-1;let n=r.value;return j(n)?vr(t,Math.log(n[4].value)):-1}if(e.length===2){let r=e[0];if(!r||!W(r))return-1;let n=r.value;if(!j(n))return-1;let s=e[1];if(!s||!W(s))return-1;let o=s.value;return j(o)?vr(t,Math.log(n[4].value)/Math.log(o[4].value)):-1}return-1}var D7=/^none$/i;function $p(t){if(Array.isArray(t)){let r=t.filter(n=>!(pe(n)&&Ce(n)));return r.length===1&&$p(r[0])}if(!W(t))return!1;let e=t.value;return!!X(e)&&D7.test(e[4].value)}var tf=new Map([["abs",function(e,r){return gr(e,r,l7)}],["acos",function(e,r){return gr(e,r,s7)}],["asin",function(e,r){return gr(e,r,i7)}],["atan",function(e,r){return gr(e,r,o7)}],["atan2",function(e,r){return Zl(e,r,a7)}],["calc",bt],["clamp",function(e,r){let n=Is([...e.value.filter(v=>!Ce(v)&&!pe(v))],r),s=[],o=[],i=[];{let v=s;for(let w=0;w<n.length;w++){let y=n[w];if(W(y)&&et(y.value)){if(v===i)return-1;if(v===o){v=i;continue}if(v===s){v=o;continue}return-1}v.push(y)}}let a=$p(s),l=$p(i);if(a&&l)return bt(Wt(o),r);let u=Tt(bt(Wt(o),r));if(u===-1)return-1;if(a){let v=Tt(bt(Wt(i),r));return v===-1?-1:zx((c=u,B=v,new me([D.Function,"min(",-1,-1,{value:"min"}],[D.CloseParen,")",-1,-1,void 0],[c,new V([D.Comma,",",-1,-1,void 0]),B])),[u,v])}if(l){let v=Tt(bt(Wt(s),r));return v===-1?-1:Hx(S7(v,u),[v,u])}var c,B;let h=Tt(bt(Wt(s),r));if(h===-1)return-1;let g=Tt(bt(Wt(i),r));return g===-1?-1:u7(e,h,u,g)}],["cos",function(e,r){return gr(e,r,B7)}],["exp",function(e,r){return gr(e,r,c7)}],["hypot",function(e,r){return $l(e,r,p7)}],["log",function(e,r){return $l(e,r,b7)}],["max",function(e,r){return $l(e,r,Hx)}],["min",function(e,r){return $l(e,r,zx)}],["mod",function(e,r){return Zl(e,r,f7)}],["pow",function(e,r){return Zl(e,r,d7)}],["rem",function(e,r){return Zl(e,r,C7)}],["round",function(e,r){let n=Is([...e.value.filter(c=>!Ce(c)&&!pe(c))],r),s="",o=!1,i=[],a=[];{let c=i;for(let B=0;B<n.length;B++){let h=n[B];if(!s&&i.length===0&&a.length===0&&W(h)&&X(h.value)){let g=h.value[4].value.toLowerCase();if(x7.has(g)){s=g;continue}}if(W(h)&&et(h.value)){if(c===a)return-1;if(c===i&&s&&i.length===0)continue;if(c===i){o=!0,c=a;continue}return-1}c.push(h)}}let l=Tt(bt(Wt(i),r));if(l===-1)return-1;o||a.length!==0||a.push(new V([D.Number,"1",-1,-1,{value:1,type:R.Integer}]));let u=Tt(bt(Wt(a),r));return u===-1?-1:(s||(s="nearest"),h7(e,s,l,u))}],["sign",function(e,r){return gr(e,r,m7)}],["sin",function(e,r){return gr(e,r,g7)}],["sqrt",function(e,r){return gr(e,r,v7)}],["tan",function(e,r){return gr(e,r,y7)}]]);function bt(t,e){let r=Is([...t.value.filter(s=>!Ce(s)&&!pe(s))],e);if(r.length===1&&W(r[0]))return{inputs:[r[0]],operation:tu};let n=0;for(;n<r.length;){let s=r[n];if(qr(s)&&ln(s.startToken)){let o=bt(s,e);if(o===-1)return-1;r.splice(n,1,o)}else if(ee(s)){let o=tf.get(s.getName().toLowerCase());if(!o)return-1;let i=o(s,e);if(i===-1)return-1;r.splice(n,1,i)}else n++}if(n=0,r.length===1&&Vn(r[0]))return r[0];for(;n<r.length;){let s=r[n];if(!s||!W(s)&&!Vn(s)){n++;continue}let o=r[n+1];if(!o||!W(o)){n++;continue}let i=o.value;if(!ze(i)||i[4].value!=="*"&&i[4].value!=="/"){n++;continue}let a=r[n+2];if(!a||!W(a)&&!Vn(a))return-1;i[4].value!=="*"?i[4].value!=="/"?n++:r.splice(n,3,{inputs:[s,a],operation:t7}):r.splice(n,3,{inputs:[s,a],operation:r7})}if(n=0,r.length===1&&Vn(r[0]))return r[0];for(;n<r.length;){let s=r[n];if(!s||!W(s)&&!Vn(s)){n++;continue}let o=r[n+1];if(!o||!W(o)){n++;continue}let i=o.value;if(!ze(i)||i[4].value!=="+"&&i[4].value!=="-"){n++;continue}let a=r[n+2];if(!a||!W(a)&&!Vn(a))return-1;i[4].value!=="+"?i[4].value!=="-"?n++:r.splice(n,3,{inputs:[s,a],operation:w7}):r.splice(n,3,{inputs:[s,a],operation:e7})}return r.length===1&&Vn(r[0])?r[0]:-1}function gr(t,e,r){let n=Tt(bt(Wt(Is([...t.value.filter(s=>!Ce(s)&&!pe(s))],e)),e));return n===-1?-1:r(t,n)}function Zl(t,e,r){let n=Is([...t.value.filter(l=>!Ce(l)&&!pe(l))],e),s=[],o=[];{let l=s;for(let u=0;u<n.length;u++){let c=n[u];if(W(c)&&et(c.value)){if(l===o)return-1;if(l===s){l=o;continue}return-1}l.push(c)}}let i=Tt(bt(Wt(s),e));if(i===-1)return-1;let a=Tt(bt(Wt(o),e));return a===-1?-1:r(t,i,a)}function $l(t,e,r){let n=Is([...t.value.filter(o=>!Ce(o)&&!pe(o))],e),s=[];{let o=[],i=[];for(let a=0;a<n.length;a++){let l=n[a];W(l)&&et(l.value)?(o.push(i),i=[]):i.push(l)}o.push(i);for(let a=0;a<o.length;a++){if(o[a].length===0)return-1;let l=Tt(bt(Wt(o[a]),e));if(l===-1)return-1;s.push(l)}}return r(t,s)}var x7=new Set(["nearest","up","down","to-zero"]);function Wt(t){return new me([D.Function,"calc(",-1,-1,{value:"calc"}],[D.CloseParen,")",-1,-1,void 0],t)}function S7(t,e){return new me([D.Function,"max(",-1,-1,{value:"max"}],[D.CloseParen,")",-1,-1,void 0],[t,new V([D.Comma,",",-1,-1,void 0]),e])}function k7(t){if(t===-1)return-1;if(ee(t))return t;let e=t.value;return Ve(e)&&Number.isNaN(e[4].value)?j(e)?new me([D.Function,"calc(",e[2],e[3],{value:"calc"}],[D.CloseParen,")",e[2],e[3],void 0],[new V([D.Ident,"NaN",e[2],e[3],{value:"NaN"}])]):ae(e)?new me([D.Function,"calc(",e[2],e[3],{value:"calc"}],[D.CloseParen,")",e[2],e[3],void 0],[new V([D.Ident,"NaN",e[2],e[3],{value:"NaN"}]),new se([[D.Whitespace," ",e[2],e[3],void 0]]),new V([D.Delim,"*",e[2],e[3],{value:"*"}]),new se([[D.Whitespace," ",e[2],e[3],void 0]]),new V([D.Dimension,"1"+e[4].unit,e[2],e[3],{value:1,type:R.Integer,unit:e[4].unit}])]):Me(e)?new me([D.Function,"calc(",e[2],e[3],{value:"calc"}],[D.CloseParen,")",e[2],e[3],void 0],[new V([D.Ident,"NaN",e[2],e[3],{value:"NaN"}]),new se([[D.Whitespace," ",e[2],e[3],void 0]]),new V([D.Delim,"*",e[2],e[3],{value:"*"}]),new se([[D.Whitespace," ",e[2],e[3],void 0]]),new V([D.Percentage,"1%",e[2],e[3],{value:1}])]):-1:t}function P7(t){if(t===-1)return-1;if(ee(t))return t;let e=t.value;if(!Ve(e)||Number.isFinite(e[4].value)||Number.isNaN(e[4].value))return t;let r="";return Number.NEGATIVE_INFINITY===e[4].value&&(r="-"),j(e)?new me([D.Function,"calc(",e[2],e[3],{value:"calc"}],[D.CloseParen,")",e[2],e[3],void 0],[new V([D.Ident,r+"infinity",e[2],e[3],{value:r+"infinity"}])]):ae(e)?new me([D.Function,"calc(",e[2],e[3],{value:"calc"}],[D.CloseParen,")",e[2],e[3],void 0],[new V([D.Ident,r+"infinity",e[2],e[3],{value:r+"infinity"}]),new se([[D.Whitespace," ",e[2],e[3],void 0]]),new V([D.Delim,"*",e[2],e[3],{value:"*"}]),new se([[D.Whitespace," ",e[2],e[3],void 0]]),new V([D.Dimension,"1"+e[4].unit,e[2],e[3],{value:1,type:R.Integer,unit:e[4].unit}])]):new me([D.Function,"calc(",e[2],e[3],{value:"calc"}],[D.CloseParen,")",e[2],e[3],void 0],[new V([D.Ident,r+"infinity",e[2],e[3],{value:r+"infinity"}]),new se([[D.Whitespace," ",e[2],e[3],void 0]]),new V([D.Delim,"*",e[2],e[3],{value:"*"}]),new se([[D.Whitespace," ",e[2],e[3],void 0]]),new V([D.Percentage,"1%",e[2],e[3],{value:1}])])}function A7(t){if(t===-1)return-1;if(ee(t))return t;let e=t.value;return Ve(e)&&Object.is(-0,e[4].value)&&(e[1]==="-0"||(Me(e)?e[1]="-0%":ae(e)?e[1]="-0"+e[4].unit:e[1]="-0")),t}function N7(t,e=13){if(t===-1)return-1;if(e<=0||ee(t))return t;let r=t.value;if(!Ve(r)||Number.isInteger(r[4].value))return t;let n=Number(r[4].value.toFixed(e)).toString();return j(r)?r[1]=n:Me(r)?r[1]=n+"%":ae(r)&&(r[1]=n+r[4].unit),t}function E7(t){return t===-1?-1:(ee(t)||ae(t.value)&&(t.value=$F(t.value)),t)}function O7(t,e){let r=t;return e?.censorIntoStandardRepresentableValues||(r=k7(r),r=P7(r)),e?.toCanonicalUnits&&(r=E7(r)),r=N7(r,e?.precision),r=A7(r),r}function T7(t){let e=new Map;if(!t)return e;for(let[r,n]of t)if(oo(n))e.set(r,n);else if(typeof n=="string"){let s=Ot({css:n}),o=s.nextToken();if(s.nextToken(),!s.endOfFile()||!o||!Ve(o))continue;e.set(r,o)}return e}function Rs(t,e){return Bn(ge(qe({css:t}),{}),e).map(r=>r.map(n=>$(...n.tokens())).join("")).join(",")}function Bn(t,e){let r=T7(e?.globals);return Se(t,n=>{if(!ee(n))return;let s=tf.get(n.getName().toLowerCase());if(!s)return;let o=O7(Tt(s(n,r)),e);return o!==-1?o:void 0})}var Wn=new Set(tf.keys());var I,_;function dt(t){return[Number.isNaN(t[0])?0:t[0],Number.isNaN(t[1])?0:t[1],Number.isNaN(t[2])?0:t[2]]}function cn(t){switch(t.colorNotation){case I.HEX:case I.RGB:case I.sRGB:return{...t,colorNotation:I.XYZ_D50,channels:Qp(dt(t.channels))};case I.Linear_sRGB:return{...t,colorNotation:I.XYZ_D50,channels:Nx(dt(t.channels))};case I.Display_P3:return{...t,colorNotation:I.XYZ_D50,channels:Ix(dt(t.channels))};case I.Rec2020:return{...t,colorNotation:I.XYZ_D50,channels:Lx(dt(t.channels))};case I.A98_RGB:return{...t,colorNotation:I.XYZ_D50,channels:Ox(dt(t.channels))};case I.ProPhoto_RGB:return{...t,colorNotation:I.XYZ_D50,channels:Fx(dt(t.channels))};case I.HSL:return{...t,colorNotation:I.XYZ_D50,channels:vx(dt(t.channels))};case I.HWB:return{...t,colorNotation:I.XYZ_D50,channels:yx(dt(t.channels))};case I.Lab:return{...t,colorNotation:I.XYZ_D50,channels:bx(dt(t.channels))};case I.OKLab:return{...t,colorNotation:I.XYZ_D50,channels:kx(dt(t.channels))};case I.LCH:return{...t,colorNotation:I.XYZ_D50,channels:xx(dt(t.channels))};case I.OKLCH:return{...t,colorNotation:I.XYZ_D50,channels:Ax(dt(t.channels))};case I.XYZ_D50:return{...t,colorNotation:I.XYZ_D50,channels:dt(t.channels)};case I.XYZ_D65:return{...t,colorNotation:I.XYZ_D50,channels:_x(dt(t.channels))};default:throw new Error("Unsupported color notation")}}(function(t){t.A98_RGB="a98-rgb",t.Display_P3="display-p3",t.HEX="hex",t.HSL="hsl",t.HWB="hwb",t.LCH="lch",t.Lab="lab",t.Linear_sRGB="srgb-linear",t.OKLCH="oklch",t.OKLab="oklab",t.ProPhoto_RGB="prophoto-rgb",t.RGB="rgb",t.sRGB="srgb",t.Rec2020="rec2020",t.XYZ_D50="xyz-d50",t.XYZ_D65="xyz-d65"})(I||(I={})),function(t){t.ColorKeyword="color-keyword",t.HasAlpha="has-alpha",t.HasDimensionValues="has-dimension-values",t.HasNoneKeywords="has-none-keywords",t.HasNumberValues="has-number-values",t.HasPercentageAlpha="has-percentage-alpha",t.HasPercentageValues="has-percentage-values",t.HasVariableAlpha="has-variable-alpha",t.Hex="hex",t.LegacyHSL="legacy-hsl",t.LegacyRGB="legacy-rgb",t.NamedColor="named-color",t.RelativeColorSyntax="relative-color-syntax",t.ColorMix="color-mix",t.ContrastColor="contrast-color",t.Experimental="experimental"}(_||(_={}));var Jx=new Set([I.A98_RGB,I.Display_P3,I.HEX,I.Linear_sRGB,I.ProPhoto_RGB,I.RGB,I.sRGB,I.Rec2020,I.XYZ_D50,I.XYZ_D65]);function pn(t,e){let r={...t};if(t.colorNotation!==e){let n=cn(r);switch(e){case I.HEX:case I.RGB:r.colorNotation=I.RGB,r.channels=Bo(n.channels);break;case I.sRGB:r.colorNotation=I.sRGB,r.channels=Bo(n.channels);break;case I.Linear_sRGB:r.colorNotation=I.Linear_sRGB,r.channels=Ex(n.channels);break;case I.Display_P3:r.colorNotation=I.Display_P3,r.channels=Ql(n.channels);break;case I.Rec2020:r.colorNotation=I.Rec2020,r.channels=Rx(n.channels);break;case I.ProPhoto_RGB:r.colorNotation=I.ProPhoto_RGB,r.channels=Mx(n.channels);break;case I.A98_RGB:r.colorNotation=I.A98_RGB,r.channels=Tx(n.channels);break;case I.HSL:r.colorNotation=I.HSL,r.channels=Jp(n.channels);break;case I.HWB:r.colorNotation=I.HWB,r.channels=wx(n.channels);break;case I.Lab:r.colorNotation=I.Lab,r.channels=Dx(n.channels);break;case I.LCH:r.colorNotation=I.LCH,r.channels=Sx(n.channels);break;case I.OKLCH:r.colorNotation=I.OKLCH,r.channels=jl(n.channels);break;case I.OKLab:r.colorNotation=I.OKLab,r.channels=Px(n.channels);break;case I.XYZ_D50:r.colorNotation=I.XYZ_D50,r.channels=n.channels;break;case I.XYZ_D65:r.colorNotation=I.XYZ_D65,r.channels=qx(n.channels);break;default:throw new Error("Unsupported color notation")}}else r.channels=dt(t.channels);if(e===t.colorNotation)r.channels=xt(t.channels,[0,1,2],r.channels,[0,1,2]);else if(Jx.has(e)&&Jx.has(t.colorNotation))r.channels=xt(t.channels,[0,1,2],r.channels,[0,1,2]);else switch(e){case I.HSL:switch(t.colorNotation){case I.HWB:r.channels=xt(t.channels,[0],r.channels,[0]);break;case I.Lab:case I.OKLab:r.channels=xt(t.channels,[2],r.channels,[0]);break;case I.LCH:case I.OKLCH:r.channels=xt(t.channels,[0,1,2],r.channels,[2,1,0])}break;case I.HWB:switch(t.colorNotation){case I.HSL:r.channels=xt(t.channels,[0],r.channels,[0]);break;case I.LCH:case I.OKLCH:r.channels=xt(t.channels,[0],r.channels,[2])}break;case I.Lab:case I.OKLab:switch(t.colorNotation){case I.HSL:r.channels=xt(t.channels,[0],r.channels,[2]);break;case I.Lab:case I.OKLab:r.channels=xt(t.channels,[0,1,2],r.channels,[0,1,2]);break;case I.LCH:case I.OKLCH:r.channels=xt(t.channels,[0],r.channels,[0])}break;case I.LCH:case I.OKLCH:switch(t.colorNotation){case I.HSL:r.channels=xt(t.channels,[0,1,2],r.channels,[2,1,0]);break;case I.HWB:r.channels=xt(t.channels,[0],r.channels,[2]);break;case I.Lab:case I.OKLab:r.channels=xt(t.channels,[0],r.channels,[0]);break;case I.LCH:case I.OKLCH:r.channels=xt(t.channels,[0,1,2],r.channels,[0,1,2])}}return r.channels=I7(r.channels,e),r}function I7(t,e){let r=[...t];switch(e){case I.HSL:!Number.isNaN(r[1])&&Xe(r[1],4)<=0&&(r[0]=NaN);break;case I.HWB:Math.max(0,Xe(r[1],4))+Math.max(0,Xe(r[2],4))>=100&&(r[0]=NaN);break;case I.LCH:!Number.isNaN(r[1])&&Xe(r[1],4)<=0&&(r[2]=NaN);break;case I.OKLCH:!Number.isNaN(r[1])&&Xe(r[1],6)<=0&&(r[2]=NaN)}return r}function go(t,e){let r=[...t];switch(e){case I.HSL:(Xe(r[2])<=0||Xe(r[2])>=100)&&(r[0]=NaN,r[1]=NaN),Xe(r[1])<=0&&(r[0]=NaN);break;case I.HWB:Math.max(0,Xe(r[1]))+Math.max(0,Xe(r[2]))>=100&&(r[0]=NaN);break;case I.Lab:(Xe(r[0])<=0||Xe(r[0])>=100)&&(r[1]=NaN,r[2]=NaN);break;case I.LCH:Xe(r[1])<=0&&(r[2]=NaN),(Xe(r[0])<=0||Xe(r[0])>=100)&&(r[1]=NaN,r[2]=NaN);break;case I.OKLab:(Xe(r[0])<=0||Xe(r[0])>=1)&&(r[1]=NaN,r[2]=NaN);break;case I.OKLCH:Xe(r[1])<=0&&(r[2]=NaN),(Xe(r[0])<=0||Xe(r[0])>=1)&&(r[1]=NaN,r[2]=NaN)}return r}function xt(t,e,r,n){let s=[...r];for(let o of e)Number.isNaN(t[e[o]])&&(s[n[o]]=NaN);return s}function Yx(t){let e=new Map;switch(t.colorNotation){case I.RGB:case I.HEX:e.set("r",we(255*t.channels[0])),e.set("g",we(255*t.channels[1])),e.set("b",we(255*t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",we(t.alpha));break;case I.HSL:e.set("h",we(t.channels[0])),e.set("s",we(t.channels[1])),e.set("l",we(t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",we(t.alpha));break;case I.HWB:e.set("h",we(t.channels[0])),e.set("w",we(t.channels[1])),e.set("b",we(t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",we(t.alpha));break;case I.Lab:case I.OKLab:e.set("l",we(t.channels[0])),e.set("a",we(t.channels[1])),e.set("b",we(t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",we(t.alpha));break;case I.LCH:case I.OKLCH:e.set("l",we(t.channels[0])),e.set("c",we(t.channels[1])),e.set("h",we(t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",we(t.alpha));break;case I.sRGB:case I.A98_RGB:case I.Display_P3:case I.Rec2020:case I.Linear_sRGB:case I.ProPhoto_RGB:e.set("r",we(t.channels[0])),e.set("g",we(t.channels[1])),e.set("b",we(t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",we(t.alpha));break;case I.XYZ_D50:case I.XYZ_D65:e.set("x",we(t.channels[0])),e.set("y",we(t.channels[1])),e.set("z",we(t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",we(t.alpha))}return e}function Xx(t){let e=new Map(t);for(let[r,n]of t)Number.isNaN(n[4].value)&&e.set(r,we(0));return e}function we(t){return Number.isNaN(t)?[D.Number,"none",-1,-1,{value:Number.NaN,type:R.Number}]:[D.Number,t.toString(),-1,-1,{value:t,type:R.Number}]}function Xe(t,e=7){if(Number.isNaN(t))return 0;let r=Math.pow(10,e);return Math.round(t*r)/r}function Ht(t){let e={...t,channels:[...t.channels]};return e.channels=go(e.channels,e.colorNotation),!pn(e,I.RGB).channels.find(r=>r<-1e-5||r>1.00001)}function Zx(t){let e={...t,channels:[...t.channels]};return e.channels=go(e.channels,e.colorNotation),!pn(e,I.Display_P3).channels.find(r=>r<-1e-5||r>1.00001)}function ie(t,e,r,n){return Math.min(Math.max(t/e,r),n)}var L7=/[A-Z]/g;function Te(t){return t.replace(L7,e=>String.fromCharCode(e.charCodeAt(0)+32))}function mo(t,e,r){if(X(t)&&Te(t[4].value)==="none")return r.syntaxFlags.add(_.HasNoneKeywords),[D.Number,"none",t[2],t[3],{value:NaN,type:R.Number}];if(Me(t)){e!==3&&r.syntaxFlags.add(_.HasPercentageValues);let n=ie(t[4].value,100,-2147483647,2147483647);return e===3&&(n=ie(t[4].value,100,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){e!==3&&r.syntaxFlags.add(_.HasNumberValues);let n=ie(t[4].value,1,-2147483647,2147483647);return e===3&&(n=ie(t[4].value,1,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}var R7=new Set(["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","xyz","xyz-d50","xyz-d65"]);function F7(t,e){let r=[],n=[],s=[],o=[],i,a,l=!1,u=!1,c={colorNotation:I.sRGB,channels:[0,0,0],alpha:1,syntaxFlags:new Set([])},B=r;for(let y=0;y<t.value.length;y++){let P=t.value[y];if(pe(P)||Ce(P))for(;pe(t.value[y+1])||Ce(t.value[y+1]);)y++;else if(B===r&&r.length&&(B=n),B===n&&n.length&&(B=s),W(P)&&ze(P.value)&&P.value[4].value==="/"){if(B===o)return!1;B=o}else{if(ee(P)){if(B===o&&Te(P.getName())==="var"){c.syntaxFlags.add(_.HasVariableAlpha),B.push(P);continue}if(!Wn.has(Te(P.getName())))return!1;let[[O]]=Bn([[P]],{censorIntoStandardRepresentableValues:!0,globals:a,precision:-1,toCanonicalUnits:!0});if(!O||!W(O)||!Ve(O.value))return!1;Number.isNaN(O.value[4].value)&&(O.value[4].value=0),P=O}if(B===r&&r.length===0&&W(P)&&X(P.value)&&R7.has(Te(P.value[4].value))){if(l)return!1;l=Te(P.value[4].value),c.colorNotation=M7(l),u&&(u.colorNotation!==c.colorNotation&&(u=pn(u,c.colorNotation)),i=Yx(u),a=Xx(i))}else if(B===r&&r.length===0&&W(P)&&X(P.value)&&Te(P.value[4].value)==="from"){if(u||l)return!1;for(;pe(t.value[y+1])||Ce(t.value[y+1]);)y++;if(y++,P=t.value[y],u=e(P),u===!1)return!1;u.syntaxFlags.has(_.Experimental)&&c.syntaxFlags.add(_.Experimental),c.syntaxFlags.add(_.RelativeColorSyntax)}else{if(!W(P))return!1;if(X(P.value)&&i&&i.has(Te(P.value[4].value))){B.push(new V(i.get(Te(P.value[4].value))));continue}B.push(P)}}}if(!l||B.length!==1||r.length!==1||n.length!==1||s.length!==1||!W(r[0])||!W(n[0])||!W(s[0])||i&&!i.has("alpha"))return!1;let h=mo(r[0].value,0,c);if(!h||!j(h))return!1;let g=mo(n[0].value,1,c);if(!g||!j(g))return!1;let v=mo(s[0].value,2,c);if(!v||!j(v))return!1;let w=[h,g,v];if(o.length===1)if(c.syntaxFlags.add(_.HasAlpha),W(o[0])){let y=mo(o[0].value,3,c);if(!y||!j(y))return!1;w.push(y)}else c.alpha=o[0];else if(i&&i.has("alpha")){let y=mo(i.get("alpha"),3,c);if(!y||!j(y))return!1;w.push(y)}return c.channels=[w[0][4].value,w[1][4].value,w[2][4].value],w.length===4&&(c.alpha=w[3][4].value),c}function M7(t){switch(t){case"srgb":return I.sRGB;case"srgb-linear":return I.Linear_sRGB;case"display-p3":return I.Display_P3;case"a98-rgb":return I.A98_RGB;case"prophoto-rgb":return I.ProPhoto_RGB;case"rec2020":return I.Rec2020;case"xyz":case"xyz-d65":return I.XYZ_D65;case"xyz-d50":return I.XYZ_D50;default:throw new Error("Unknown color space name: "+t)}}var _7=new Set(["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"]),rf=new Set(["hsl","hwb","lch","oklch"]),q7=new Set(["shorter","longer","increasing","decreasing"]);function V7(t,e){let r=null,n=null,s=null,o=!1;for(let i=0;i<t.value.length;i++){let a=t.value[i];if(!pe(a)&&!Ce(a)){if(W(a)&&X(a.value)){if(!r&&Te(a.value[4].value)==="in"){r=a;continue}if(r&&!n){n=Te(a.value[4].value);continue}if(r&&n&&!s&&rf.has(n)){s=Te(a.value[4].value);continue}if(r&&n&&s&&!o&&Te(a.value[4].value)==="hue"){o=!0;continue}return!1}return!(!W(a)||!et(a.value))&&!!n&&(s||o?!!(n&&s&&o&&rf.has(n)&&q7.has(s))&&Kx(n,s,nf(t.value.slice(i+1),e)):_7.has(n)?U7(n,nf(t.value.slice(i+1),e)):!!rf.has(n)&&Kx(n,"shorter",nf(t.value.slice(i+1),e)))}}return!1}function nf(t,e){let r=[],n=1,s=!1,o=!1;for(let l=0;l<t.length;l++){let u=t[l];if(!pe(u)&&!Ce(u)){if(!W(u)||!et(u.value)){if(!s){let c=e(u);if(c){s=c;continue}}if(!o){if(ee(u)&&Wn.has(Te(u.getName()))){if([[u]]=Bn([[u]],{censorIntoStandardRepresentableValues:!0,precision:-1,toCanonicalUnits:!0}),!u||!W(u)||!Ve(u.value))return!1;Number.isNaN(u.value[4].value)&&(u.value[4].value=0)}if(W(u)&&Me(u.value)&&u.value[4].value>=0){o=u.value[4].value;continue}}return!1}if(!s)return!1;r.push({color:s,percentage:o}),s=!1,o=!1}}if(s&&r.push({color:s,percentage:o}),r.length!==2)return!1;let i=r[0].percentage,a=r[1].percentage;return(i===!1||!(i<0||i>100))&&(a===!1||!(a<0||a>100))&&(i===!1&&a===!1?(i=50,a=50):i!==!1&&a===!1?a=100-i:i===!1&&a!==!1&&(i=100-a),(i!==0||a!==0)&&i!==!1&&a!==!1&&(i+a>100&&(i=i/(i+a)*100,a=a/(i+a)*100),i+a<100&&(n=(i+a)/100,i=i/(i+a)*100,a=a/(i+a)*100),{a:{color:r[0].color,percentage:i},b:{color:r[1].color,percentage:a},alphaMultiplier:n}))}function U7(t,e){if(!e)return!1;let r=e.a.color,n=e.b.color,s=e.a.percentage/100,o=r.channels,i=n.channels,a=I.RGB,l=r.alpha;if(typeof l!="number")return!1;let u=n.alpha;if(typeof u!="number")return!1;switch(l=Number.isNaN(l)?u:l,u=Number.isNaN(u)?l:u,t){case"srgb":a=I.RGB;break;case"srgb-linear":a=I.Linear_sRGB;break;case"display-p3":a=I.Display_P3;break;case"a98-rgb":a=I.A98_RGB;break;case"prophoto-rgb":a=I.ProPhoto_RGB;break;case"rec2020":a=I.Rec2020;break;case"lab":a=I.Lab;break;case"oklab":a=I.OKLab;break;case"xyz-d50":a=I.XYZ_D50;break;case"xyz":case"xyz-d65":a=I.XYZ_D65}o=pn(r,a).channels,i=pn(n,a).channels,o[0]=Gt(o[0],i[0]),i[0]=Gt(i[0],o[0]),o[1]=Gt(o[1],i[1]),i[1]=Gt(i[1],o[1]),o[2]=Gt(o[2],i[2]),i[2]=Gt(i[2],o[2]),o[0]=yr(o[0],l),o[1]=yr(o[1],l),o[2]=yr(o[2],l),i[0]=yr(i[0],u),i[1]=yr(i[1],u),i[2]=yr(i[2],u);let c=Zt(l,u,s),B={colorNotation:a,channels:[Gn(Zt(o[0],i[0],s),c),Gn(Zt(o[1],i[1],s),c),Gn(Zt(o[2],i[2],s),c)],alpha:c*e.alphaMultiplier,syntaxFlags:new Set([_.ColorMix])};return(e.a.color.syntaxFlags.has(_.Experimental)||e.b.color.syntaxFlags.has(_.Experimental))&&B.syntaxFlags.add(_.Experimental),B}function Kx(t,e,r){if(!r)return!1;let n=r.a.color,s=r.b.color,o=r.a.percentage/100,i=n.channels,a=s.channels,l=0,u=0,c=0,B=0,h=0,g=0,v=I.RGB,w=n.alpha;if(typeof w!="number")return!1;let y=s.alpha;if(typeof y!="number")return!1;switch(w=Number.isNaN(w)?y:w,y=Number.isNaN(y)?w:y,t){case"hsl":v=I.HSL;break;case"hwb":v=I.HWB;break;case"lch":v=I.LCH;break;case"oklch":v=I.OKLCH}switch(i=pn(n,v).channels,a=pn(s,v).channels,t){case"hsl":case"hwb":l=i[0],u=a[0],c=i[1],B=a[1],h=i[2],g=a[2];break;case"lch":case"oklch":c=i[0],B=a[0],h=i[1],g=a[1],l=i[2],u=a[2]}l=Gt(l,u),Number.isNaN(l)&&(l=0),u=Gt(u,l),Number.isNaN(u)&&(u=0),c=Gt(c,B),B=Gt(B,c),h=Gt(h,g),g=Gt(g,h);let P=u-l;switch(e){case"shorter":P>180?l+=360:P<-180&&(u+=360);break;case"longer":-180<P&&P<180&&(P>0?l+=360:u+=360);break;case"increasing":P<0&&(u+=360);break;case"decreasing":P>0&&(l+=360);break;default:throw new Error("Unknown hue interpolation method")}c=yr(c,w),h=yr(h,w),B=yr(B,y),g=yr(g,y);let O=[0,0,0],E=Zt(w,y,o);switch(t){case"hsl":case"hwb":O=[Zt(l,u,o),Gn(Zt(c,B,o),E),Gn(Zt(h,g,o),E)];break;case"lch":case"oklch":O=[Gn(Zt(c,B,o),E),Gn(Zt(h,g,o),E),Zt(l,u,o)]}let F={colorNotation:v,channels:O,alpha:E*r.alphaMultiplier,syntaxFlags:new Set([_.ColorMix])};return(r.a.color.syntaxFlags.has(_.Experimental)||r.b.color.syntaxFlags.has(_.Experimental))&&F.syntaxFlags.add(_.Experimental),F}function Gt(t,e){return Number.isNaN(t)?e:t}function Zt(t,e,r){return t*r+e*(1-r)}function yr(t,e){return Number.isNaN(e)?t:Number.isNaN(t)?NaN:t*e}function Gn(t,e){return e===0||Number.isNaN(e)?t:Number.isNaN(t)?NaN:t/e}function W7(t){let e=Te(t[4].value);if(e.match(/[^a-f0-9]/))return!1;let r={colorNotation:I.HEX,channels:[0,0,0],alpha:1,syntaxFlags:new Set([_.Hex])},n=e.length;if(n===3){let s=e[0],o=e[1],i=e[2];return r.channels=[parseInt(s+s,16)/255,parseInt(o+o,16)/255,parseInt(i+i,16)/255],r}if(n===6){let s=e[0]+e[1],o=e[2]+e[3],i=e[4]+e[5];return r.channels=[parseInt(s,16)/255,parseInt(o,16)/255,parseInt(i,16)/255],r}if(n===4){let s=e[0],o=e[1],i=e[2],a=e[3];return r.channels=[parseInt(s+s,16)/255,parseInt(o+o,16)/255,parseInt(i+i,16)/255],r.alpha=parseInt(a+a,16)/255,r.syntaxFlags.add(_.HasAlpha),r}if(n===8){let s=e[0]+e[1],o=e[2]+e[3],i=e[4]+e[5],a=e[6]+e[7];return r.channels=[parseInt(s,16)/255,parseInt(o,16)/255,parseInt(i,16)/255],r.alpha=parseInt(a,16)/255,r.syntaxFlags.add(_.HasAlpha),r}return!1}function vo(t){if(j(t))return t[4].value=t[4].value%360,t[1]=t[4].value.toString(),t;if(ae(t)){let e=t[4].value;switch(Te(t[4].unit)){case"deg":break;case"rad":e=180*t[4].value/Math.PI;break;case"grad":e=.9*t[4].value;break;case"turn":e=360*t[4].value;break;default:return!1}return e%=360,[D.Number,e.toString(),t[2],t[3],{value:e,type:R.Number}]}return!1}function G7(t,e,r){if(e===0){let n=vo(t);return n!==!1&&(ae(t)&&r.syntaxFlags.add(_.HasDimensionValues),n)}if(Me(t)){e===3?r.syntaxFlags.add(_.HasPercentageAlpha):r.syntaxFlags.add(_.HasPercentageValues);let n=ie(t[4].value,1,0,100);return e===3&&(n=ie(t[4].value,100,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){if(e!==3)return!1;let n=ie(t[4].value,1,0,100);return e===3&&(n=ie(t[4].value,1,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}function H7(t,e,r){if(X(t)&&Te(t[4].value)==="none")return r.syntaxFlags.add(_.HasNoneKeywords),[D.Number,"none",t[2],t[3],{value:NaN,type:R.Number}];if(e===0){let n=vo(t);return n!==!1&&(ae(t)&&r.syntaxFlags.add(_.HasDimensionValues),n)}if(Me(t)){e===3?r.syntaxFlags.add(_.HasPercentageAlpha):r.syntaxFlags.add(_.HasPercentageValues);let n=t[4].value;return e===3?n=ie(t[4].value,100,0,1):e===1&&(n=ie(t[4].value,1,0,2147483647)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){e!==3&&r.syntaxFlags.add(_.HasNumberValues);let n=t[4].value;return e===3?n=ie(t[4].value,1,0,1):e===1&&(n=ie(t[4].value,1,0,2147483647)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}function $x(t,e,r,n){let s=[],o=[],i=[],a=[],l={colorNotation:r,channels:[0,0,0],alpha:1,syntaxFlags:new Set(n)},u=s;for(let v=0;v<t.value.length;v++){let w=t.value[v];if(!pe(w)&&!Ce(w)){if(W(w)&&et(w.value)){if(u===s){u=o;continue}if(u===o){u=i;continue}if(u===i){u=a;continue}if(u===a)return!1}if(ee(w)){if(u===a&&w.getName().toLowerCase()==="var"){l.syntaxFlags.add(_.HasVariableAlpha),u.push(w);continue}if(!Wn.has(w.getName().toLowerCase()))return!1;let[[y]]=Bn([[w]],{censorIntoStandardRepresentableValues:!0,precision:-1,toCanonicalUnits:!0});if(!y||!W(y)||!Ve(y.value))return!1;Number.isNaN(y.value[4].value)&&(y.value[4].value=0),w=y}if(!W(w))return!1;u.push(w)}}if(u.length!==1||s.length!==1||o.length!==1||i.length!==1||!W(s[0])||!W(o[0])||!W(i[0]))return!1;let c=e(s[0].value,0,l);if(!c||!j(c))return!1;let B=e(o[0].value,1,l);if(!B||!j(B))return!1;let h=e(i[0].value,2,l);if(!h||!j(h))return!1;let g=[c,B,h];if(a.length===1)if(l.syntaxFlags.add(_.HasAlpha),W(a[0])){let v=e(a[0].value,3,l);if(!v||!j(v))return!1;g.push(v)}else l.alpha=a[0];return l.channels=[g[0][4].value,g[1][4].value,g[2][4].value],g.length===4&&(l.alpha=g[3][4].value),l}function Hn(t,e,r,n,s){let o=[],i=[],a=[],l=[],u,c,B=!1,h={colorNotation:r,channels:[0,0,0],alpha:1,syntaxFlags:new Set(n)},g=o;for(let O=0;O<t.value.length;O++){let E=t.value[O];if(pe(E)||Ce(E))for(;pe(t.value[O+1])||Ce(t.value[O+1]);)O++;else if(g===o&&o.length&&(g=i),g===i&&i.length&&(g=a),W(E)&&ze(E.value)&&E.value[4].value==="/"){if(g===l)return!1;g=l}else{if(ee(E)){if(g===l&&E.getName().toLowerCase()==="var"){h.syntaxFlags.add(_.HasVariableAlpha),g.push(E);continue}if(!Wn.has(E.getName().toLowerCase()))return!1;let[[F]]=Bn([[E]],{censorIntoStandardRepresentableValues:!0,globals:c,precision:-1,toCanonicalUnits:!0});if(!F||!W(F)||!Ve(F.value))return!1;Number.isNaN(F.value[4].value)&&(F.value[4].value=0),E=F}if(g===o&&o.length===0&&W(E)&&X(E.value)&&E.value[4].value.toLowerCase()==="from"){if(B)return!1;for(;pe(t.value[O+1])||Ce(t.value[O+1]);)O++;if(O++,E=t.value[O],B=s(E),B===!1)return!1;B.syntaxFlags.has(_.Experimental)&&h.syntaxFlags.add(_.Experimental),h.syntaxFlags.add(_.RelativeColorSyntax),B.colorNotation!==r&&(B=pn(B,r)),u=Yx(B),c=Xx(u)}else{if(!W(E))return!1;if(X(E.value)&&u){let F=E.value[4].value.toLowerCase();if(u.has(F)){g.push(new V(u.get(F)));continue}}g.push(E)}}}if(g.length!==1||o.length!==1||i.length!==1||a.length!==1||!W(o[0])||!W(i[0])||!W(a[0])||u&&!u.has("alpha"))return!1;let v=e(o[0].value,0,h);if(!v||!j(v))return!1;let w=e(i[0].value,1,h);if(!w||!j(w))return!1;let y=e(a[0].value,2,h);if(!y||!j(y))return!1;let P=[v,w,y];if(l.length===1)if(h.syntaxFlags.add(_.HasAlpha),W(l[0])){let O=e(l[0].value,3,h);if(!O||!j(O))return!1;P.push(O)}else h.alpha=l[0];else if(u&&u.has("alpha")){let O=e(u.get("alpha"),3,h);if(!O||!j(O))return!1;P.push(O)}return h.channels=[P[0][4].value,P[1][4].value,P[2][4].value],P.length===4&&(h.alpha=P[3][4].value),h}function z7(t,e){if(t.value.some(r=>W(r)&&et(r.value))){let r=j7(t);if(r!==!1)return r}{let r=Q7(t,e);if(r!==!1)return r}return!1}function j7(t){return $x(t,G7,I.HSL,[_.LegacyHSL])}function Q7(t,e){return Hn(t,H7,I.HSL,[],e)}function J7(t,e,r){if(X(t)&&Te(t[4].value)==="none")return r.syntaxFlags.add(_.HasNoneKeywords),[D.Number,"none",t[2],t[3],{value:NaN,type:R.Number}];if(e===0){let n=vo(t);return n!==!1&&(ae(t)&&r.syntaxFlags.add(_.HasDimensionValues),n)}if(Me(t)){e===3?r.syntaxFlags.add(_.HasPercentageAlpha):r.syntaxFlags.add(_.HasPercentageValues);let n=t[4].value;return e===3&&(n=ie(t[4].value,100,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){e!==3&&r.syntaxFlags.add(_.HasNumberValues);let n=t[4].value;return e===3&&(n=ie(t[4].value,1,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}function K7(t,e,r){if(X(t)&&Te(t[4].value)==="none")return r.syntaxFlags.add(_.HasNoneKeywords),[D.Number,"none",t[2],t[3],{value:NaN,type:R.Number}];if(Me(t)){e!==3&&r.syntaxFlags.add(_.HasPercentageValues);let n=ie(t[4].value,1,0,100);return e===1||e===2?n=ie(t[4].value,.8,-2147483647,2147483647):e===3&&(n=ie(t[4].value,100,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){e!==3&&r.syntaxFlags.add(_.HasNumberValues);let n=ie(t[4].value,1,0,100);return e===1||e===2?n=ie(t[4].value,1,-2147483647,2147483647):e===3&&(n=ie(t[4].value,1,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}function Y7(t,e){return Hn(t,K7,I.Lab,[],e)}function X7(t,e,r){if(X(t)&&Te(t[4].value)==="none")return r.syntaxFlags.add(_.HasNoneKeywords),[D.Number,"none",t[2],t[3],{value:NaN,type:R.Number}];if(e===2){let n=vo(t);return n!==!1&&(ae(t)&&r.syntaxFlags.add(_.HasDimensionValues),n)}if(Me(t)){e!==3&&r.syntaxFlags.add(_.HasPercentageValues);let n=ie(t[4].value,1,0,100);return e===1?n=ie(t[4].value,100/150,0,2147483647):e===3&&(n=ie(t[4].value,100,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){e!==3&&r.syntaxFlags.add(_.HasNumberValues);let n=ie(t[4].value,1,0,100);return e===1?n=ie(t[4].value,1,0,2147483647):e===3&&(n=ie(t[4].value,1,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}function Z7(t,e){return Hn(t,X7,I.LCH,[],e)}var eS=new Map;for(let[t,e]of Object.entries(Kl))eS.set(t,e);function $7(t){let e=eS.get(Te(t));return!!e&&{colorNotation:I.RGB,channels:[e[0]/255,e[1]/255,e[2]/255],alpha:1,syntaxFlags:new Set([_.ColorKeyword,_.NamedColor])}}function eM(t,e,r){if(X(t)&&Te(t[4].value)==="none")return r.syntaxFlags.add(_.HasNoneKeywords),[D.Number,"none",t[2],t[3],{value:NaN,type:R.Number}];if(Me(t)){e!==3&&r.syntaxFlags.add(_.HasPercentageValues);let n=ie(t[4].value,100,0,1);return e===1||e===2?n=ie(t[4].value,250,-2147483647,2147483647):e===3&&(n=ie(t[4].value,100,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){e!==3&&r.syntaxFlags.add(_.HasNumberValues);let n=ie(t[4].value,1,0,1);return e===1||e===2?n=ie(t[4].value,1,-2147483647,2147483647):e===3&&(n=ie(t[4].value,1,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}function tM(t,e){return Hn(t,eM,I.OKLab,[],e)}function rM(t,e,r){if(X(t)&&Te(t[4].value)==="none")return r.syntaxFlags.add(_.HasNoneKeywords),[D.Number,"none",t[2],t[3],{value:NaN,type:R.Number}];if(e===2){let n=vo(t);return n!==!1&&(ae(t)&&r.syntaxFlags.add(_.HasDimensionValues),n)}if(Me(t)){e!==3&&r.syntaxFlags.add(_.HasPercentageValues);let n=ie(t[4].value,100,0,1);return e===1?n=ie(t[4].value,250,0,2147483647):e===3&&(n=ie(t[4].value,100,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){e!==3&&r.syntaxFlags.add(_.HasNumberValues);let n=ie(t[4].value,1,0,1);return e===1?n=ie(t[4].value,1,0,2147483647):e===3&&(n=ie(t[4].value,1,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}function nM(t,e){return Hn(t,rM,I.OKLCH,[],e)}function sM(t,e,r){if(Me(t)){e===3?r.syntaxFlags.add(_.HasPercentageAlpha):r.syntaxFlags.add(_.HasPercentageValues);let n=ie(t[4].value,100,0,1);return[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){e!==3&&r.syntaxFlags.add(_.HasNumberValues);let n=ie(t[4].value,255,0,1);return e===3&&(n=ie(t[4].value,1,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}function iM(t,e,r){if(X(t)&&t[4].value.toLowerCase()==="none")return r.syntaxFlags.add(_.HasNoneKeywords),[D.Number,"none",t[2],t[3],{value:NaN,type:R.Number}];if(Me(t)){e!==3&&r.syntaxFlags.add(_.HasPercentageValues);let n=ie(t[4].value,100,-2147483647,2147483647);return e===3&&(n=ie(t[4].value,100,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){e!==3&&r.syntaxFlags.add(_.HasNumberValues);let n=ie(t[4].value,255,-2147483647,2147483647);return e===3&&(n=ie(t[4].value,1,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}function oM(t,e){if(t.value.some(r=>W(r)&&et(r.value))){let r=aM(t);if(r!==!1)return(!r.syntaxFlags.has(_.HasNumberValues)||!r.syntaxFlags.has(_.HasPercentageValues))&&r}else{let r=lM(t,e);if(r!==!1)return r}return!1}function aM(t){return $x(t,sM,I.RGB,[_.LegacyRGB])}function lM(t,e){return Hn(t,iM,I.RGB,[],e)}function sf(t){let e=Bo(t);if(Kp(e))return Jl(e);let r=t;return r=jl(r),r[0]<1e-6&&(r=[0,0,0]),r[0]>.999999&&(r=[1,0,0]),Ts(Yp(r,uM,BM))}function uM(t){return t=Gl(t),t=lo(t),Os(t)}function BM(t){return t=Es(t),t=uo(t),zl(t)}function cM(t,e){let r=!1,n=!1;for(let a=0;a<t.value.length;a++){let l=t.value[a];if(!pe(l)&&!Ce(l)&&(r||(r=e(l),!r))){if(!r||n||!W(l)||!X(l.value)||Te(l.value[4].value)!=="max")return!1;n=!0}}if(!r||!n)return!1;r.channels=dt(r.channels),r.channels=sf(cn(r).channels),r.colorNotation=I.sRGB;let s={colorNotation:I.sRGB,channels:[0,0,0],alpha:1,syntaxFlags:new Set([_.ContrastColor,_.Experimental])},o=Xp(r.channels,[1,1,1]),i=Xp(r.channels,[0,0,0]);return s.channels=o>i?[1,1,1]:[0,0,0],s}function Ke(t,e=7){t=+t,e=+e;let r=(Math.floor(t)+"").length;if(e>r)return+t.toFixed(e-r);{let n=10**(r-e);return Math.round(t/n)*n}}function pM(t){let e=Ql(t);if(Kp(e))return Jl(e);let r=t;return r=jl(r),r[0]<1e-6&&(r=[0,0,0]),r[0]>.999999&&(r=[1,0,0]),jp(Yp(r,fM,dM))}function fM(t){return t=Gl(t),t=lo(t),zp(t)}function dM(t){return t=Hp(t),t=uo(t),zl(t)}function CM(t,e,r,n){let s=[D.CloseParen,")",-1,-1,void 0];if(typeof t.alpha=="number"){let o=Math.min(1,Math.max(0,Ke(Number.isNaN(t.alpha)?0:t.alpha)));return Ke(o,4)===1?new me(e,s,n):new me(e,s,[...n,new se([r]),new V([D.Delim,"/",-1,-1,{value:"/"}]),new se([r]),new V([D.Number,Ke(o,4).toString(),-1,-1,{value:t.alpha,type:R.Integer}])])}return new me(e,s,[...n,new se([r]),new V([D.Delim,"/",-1,-1,{value:"/"}]),new se([r]),t.alpha])}function zt(t,e=!0){t.channels=go(t.channels,t.colorNotation);let r=t.channels.map(l=>Number.isNaN(l)?0:l);t.colorNotation!==I.Display_P3&&(r=e?pM(cn(t).channels):Ql(cn(t).channels));let n=e?Math.min(1,Math.max(0,Ke(r[0],6))):Ke(r[0],6),s=e?Math.min(1,Math.max(0,Ke(r[1],6))):Ke(r[1],6),o=e?Math.min(1,Math.max(0,Ke(r[2],6))):Ke(r[2],6),i=[D.Function,"color(",-1,-1,{value:"color"}],a=[D.Whitespace," ",-1,-1,void 0];return CM(t,i,a,[new V([D.Ident,"display-p3",-1,-1,{value:"display-p3"}]),new se([a]),new V([D.Number,n.toString(),-1,-1,{value:r[0],type:R.Number}]),new se([a]),new V([D.Number,s.toString(),-1,-1,{value:r[1],type:R.Number}]),new se([a]),new V([D.Number,o.toString(),-1,-1,{value:r[2],type:R.Number}])])}function je(t,e=!0){t.channels=go(t.channels,t.colorNotation);let r=t.channels.map(c=>Number.isNaN(c)?0:c);r=e?sf(cn(t).channels):Bo(cn(t).channels);let n=Math.min(255,Math.max(0,Math.round(255*Ke(r[0])))),s=Math.min(255,Math.max(0,Math.round(255*Ke(r[1])))),o=Math.min(255,Math.max(0,Math.round(255*Ke(r[2])))),i=[D.CloseParen,")",-1,-1,void 0],a=[D.Whitespace," ",-1,-1,void 0],l=[D.Comma,",",-1,-1,void 0],u=[new V([D.Number,n.toString(),-1,-1,{value:Math.min(255,255*Math.max(0,r[0])),type:R.Integer}]),new V(l),new se([a]),new V([D.Number,s.toString(),-1,-1,{value:Math.min(255,255*Math.max(0,r[1])),type:R.Integer}]),new V(l),new se([a]),new V([D.Number,o.toString(),-1,-1,{value:Math.min(255,255*Math.max(0,r[2])),type:R.Integer}])];if(typeof t.alpha=="number"){let c=Math.min(1,Math.max(0,Ke(Number.isNaN(t.alpha)?0:t.alpha)));return Ke(c,4)===1?new me([D.Function,"rgb(",-1,-1,{value:"rgb"}],i,u):new me([D.Function,"rgba(",-1,-1,{value:"rgba"}],i,[...u,new V(l),new se([a]),new V([D.Number,Ke(c,4).toString(),-1,-1,{value:t.alpha,type:R.Number}])])}return new me([D.Function,"rgba(",-1,-1,{value:"rgba"}],i,[...u,new V(l),new se([a]),t.alpha])}function tS(t,e=!0){t.channels=go(t.channels,t.colorNotation);let r=t.channels.map(c=>Number.isNaN(c)?0:c);r=Jp(e?Qp(sf(cn(t).channels)):cn(t).channels),r=r.map(c=>Number.isNaN(c)?0:c);let n=Math.min(360,Math.max(0,Math.round(Ke(r[0])))),s=Math.min(100,Math.max(0,Math.round(Ke(r[1])))),o=Math.min(100,Math.max(0,Math.round(Ke(r[2])))),i=[D.CloseParen,")",-1,-1,void 0],a=[D.Whitespace," ",-1,-1,void 0],l=[D.Comma,",",-1,-1,void 0],u=[new V([D.Number,n.toString(),-1,-1,{value:r[0],type:R.Integer}]),new V(l),new se([a]),new V([D.Percentage,s.toString()+"%",-1,-1,{value:r[1]}]),new V(l),new se([a]),new V([D.Percentage,o.toString()+"%",-1,-1,{value:r[2]}])];if(typeof t.alpha=="number"){let c=Math.min(1,Math.max(0,Ke(Number.isNaN(t.alpha)?0:t.alpha)));return Ke(c,4)===1?new me([D.Function,"hsl(",-1,-1,{value:"hsl"}],i,u):new me([D.Function,"hsla(",-1,-1,{value:"hsla"}],i,[...u,new V(l),new se([a]),new V([D.Number,Ke(c,4).toString(),-1,-1,{value:t.alpha,type:R.Number}])])}return new me([D.Function,"hsla(",-1,-1,{value:"hsla"}],i,[...u,new V(l),new se([a]),t.alpha])}function fe(t){if(ee(t))switch(Te(t.getName())){case"rgb":case"rgba":return oM(t,fe);case"hsl":case"hsla":return z7(t,fe);case"hwb":return e=fe,Hn(t,J7,I.HWB,[],e);case"lab":return Y7(t,fe);case"lch":return Z7(t,fe);case"oklab":return tM(t,fe);case"oklch":return nM(t,fe);case"color":return F7(t,fe);case"color-mix":return V7(t,fe);case"contrast-color":return cM(t,fe)}var e;if(W(t)){if(ux(t.value))return W7(t.value);if(X(t.value)){let r=$7(t.value[4].value);return r!==!1?r:Te(t.value[4].value)==="transparent"&&{colorNotation:I.RGB,channels:[0,0,0],alpha:0,syntaxFlags:new Set([_.ColorKeyword])}}}return!1}p();d();f();function ce(t){let e=t.parent;if(!e)return!1;let r=t.prop.toLowerCase(),n=e.index(t);for(let s=0;s<n;s++){let o=e.nodes[s];if(o.type==="decl"&&o.prop.toLowerCase()===r)return!0}return!1}function Ae(t,e){let r=t.parent;for(;r;)if(r.type==="atrule"&&r.name.toLowerCase()==="supports"){if(e.test(r.params))return!0;r=r.parent}else r=r.parent;return!1}var rS=/\bcolor\(/i,hM=/^color$/i,of=t=>({postcssPlugin:"postcss-color-function",Declaration(e){let r=e.value;if(!rS.test(r)||ce(e)||Ae(e,rS))return;let n=qe({css:r}),s=Se(ge(n),i=>{if(!ee(i)||!hM.test(i.getName()))return;let a=fe(i);return a&&!(a.syntaxFlags.has(_.Experimental)||a.syntaxFlags.has(_.HasNoneKeywords)||a.syntaxFlags.has(_.RelativeColorSyntax))?je(a):void 0}),o=Oe(s);o!==r&&(e.cloneBefore({value:o}),t?.preserve||e.remove())}});of.postcss=!0;var af=t=>{let e=Object.assign({preserve:!1,enableProgressiveCustomProperties:!0},t);return e.enableProgressiveCustomProperties&&e.preserve?{postcssPlugin:"postcss-color-function",plugins:[Ee(),of(e)]}:of(e)};af.postcss=!0;p();d();f();var mM=/^(?:rgb|hsl)a?$/i,nS=/\b(?:rgb|hsl)a?\(/i,lf=t=>({postcssPlugin:"postcss-color-functional-notation",Declaration(e){let r=e.value;if(!nS.test(r)||ce(e)||Ae(e,nS))return;let n=Se(ge(qe({css:r})),o=>{if(!ee(o)||!mM.test(o.getName()))return;let i=fe(o);return!i||i.syntaxFlags.has(_.Experimental)||i.syntaxFlags.has(_.HasNoneKeywords)||i.syntaxFlags.has(_.RelativeColorSyntax)||(i.syntaxFlags.has(_.LegacyRGB)||i.syntaxFlags.has(_.LegacyHSL))&&!i.syntaxFlags.has(_.HasPercentageAlpha)?void 0:i.colorNotation===I.HSL?tS(i):je(i)}),s=Oe(n);s!==r&&(e.cloneBefore({value:s}),t?.preserve||e.remove())}});lf.postcss=!0;var uf=t=>{let e=Object.assign({preserve:!1,enableProgressiveCustomProperties:!0},t);return e.enableProgressiveCustomProperties&&e.preserve?{postcssPlugin:"postcss-color-functional-notation",plugins:[Ee(),lf(e)]}:lf(e)};uf.postcss=!0;p();d();f();var sS=/\bcolor-mix\(/i,iS=/^color-mix$/i,Bf=t=>({postcssPlugin:"postcss-color-mix-function",Declaration(e){let r=e.value;if(!sS.test(r)||ce(e)||Ae(e,sS))return;let n=qe({css:r}),s=Se(ge(n),a=>{if(!ee(a)||!iS.test(a.getName()))return;let l=fe(a);return l&&!l.syntaxFlags.has(_.Experimental)?je(l):void 0}),o=Oe(s);if(o===r)return;let i=o;t?.subFeatures.displayP3&&(i=Oe(Se(ge(n),a=>{if(!ee(a)||!iS.test(a.getName()))return;let l=fe(a);return l&&!l.syntaxFlags.has(_.Experimental)?Ht(l)?je(l):zt(l):void 0}))),e.cloneBefore({value:o}),t?.subFeatures.displayP3&&i!==o&&e.cloneBefore({value:i}),t?.preserve||e.remove()}});Bf.postcss=!0;var cf=t=>{let e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!1,subFeatures:{displayP3:!0}},t);return e.subFeatures=Object.assign({displayP3:!0},e.subFeatures),e.enableProgressiveCustomProperties&&(e.preserve||e.subFeatures.displayP3)?{postcssPlugin:"postcss-color-mix-function",plugins:[Ee(),Bf(e)]}:Bf(e)};cf.postcss=!0;p();d();f();p();d();f();var pf=class t{parts;constructor(e){this.parts=e}tokens(){return[...this.parts]}slice(e,r){let n=[];for(let o=0;o<this.parts.length;o++)X(this.parts[o])&&n.push(o);let s=n.slice(e,r);return new t(this.parts.slice(s[0],s[s.length-1]+1))}concat(e){let r=[D.Delim,".",-1,-1,{value:"."}];return new t([...this.parts.filter(n=>X(n)||ze(n)),r,...e.parts.filter(n=>X(n)||ze(n))])}segments(){return this.parts.filter(e=>X(e)).map(e=>e[4].value)}name(){return this.parts.filter(e=>X(e)||ze(e)).map(e=>e[1]).join("")}equal(e){let r=this.segments(),n=e.segments();if(r.length!==n.length)return!1;for(let s=0;s<r.length;s++)if(r[s]!==n[s])return!1;return!0}toString(){return $(...this.parts)}toJSON(){return{parts:this.parts,segments:this.segments(),name:this.name()}}};function Vr(t,e){e.forEach(r=>{let n=r.segments();e:for(let s=0;s<n.length;s++){let o=r.slice(0,s+1),i=o.segments(),a=-1,l=0;for(let u=0;u<t.length;u++){let c=t[u].segments(),B=0;t:for(let h=0;h<c.length;h++){let g=c[h],v=i[h];if(v===g&&h+1===i.length)continue e;if(v!==g){if(v!==g)break t}else B++}B>=l&&(a=u,l=B)}a===-1?t.push(o):t.splice(a+1,0,o)}})}function gM(t,e){let r=ge(t,{onParseError:e?.onParseError}),n=e?.onParseError??(()=>{}),s=["6.4.2. Layer Naming and Nesting","Layer name syntax","<layer-name> = <ident> [ '.' <ident> ]*"],o=t[0][2],i=t[t.length-1][3],a=[];for(let l=0;l<r.length;l++){let u=r[l];for(let v=0;v<u.length;v++){let w=u[v];if(!W(w)&&!Ce(w)&&!pe(w))return n(new ct(`Invalid cascade layer name. Invalid layer name part "${w.toString()}"`,o,i,s)),[]}let c=u.flatMap(v=>v.tokens()),B=!1,h=!1,g=null;for(let v=0;v<c.length;v++){let w=c[v];if(!(wt(w)||X(w)||ze(w)&&w[4].value==="."))return n(new ct(`Invalid cascade layer name. Invalid character "${w[1]}"`,o,i,s)),[];if(!B&&ze(w))return n(new ct("Invalid cascade layer name. Layer names can not start with a dot.",o,i,s)),[];if(B){if(Cr(w)){h=!0;continue}if(h&&ao(w))continue;if(h)return n(new ct("Invalid cascade layer name. Encountered unexpected whitespace between layer name parts.",o,i,s)),[];if(X(g)&&X(w))return n(new ct("Invalid cascade layer name. Layer name parts must be separated by dots.",o,i,s)),[];if(ze(g)&&ze(w))return n(new ct("Invalid cascade layer name. Layer name parts must not be empty.",o,i,s)),[]}X(w)&&(B=!0),(X(w)||ze(w))&&(g=w)}if(!g)return n(new ct("Invalid cascade layer name. Empty layer name.",o,i,s)),[];if(ze(g))return n(new ct("Invalid cascade layer name. Layer name must not end with a dot.",o,i,s)),[];a.push(new pf(c))}return a}function Ur(t,e){let r=Ot({css:t},{onParseError:e?.onParseError}),n=[];for(;!r.endOfFile();)n.push(r.nextToken());return n.push(r.nextToken()),gM(n,e)}p();d();f();var ne;(function(t){t.CustomMedia="custom-media",t.GeneralEnclosed="general-enclosed",t.MediaAnd="media-and",t.MediaCondition="media-condition",t.MediaConditionListWithAnd="media-condition-list-and",t.MediaConditionListWithOr="media-condition-list-or",t.MediaFeature="media-feature",t.MediaFeatureBoolean="mf-boolean",t.MediaFeatureName="mf-name",t.MediaFeaturePlain="mf-plain",t.MediaFeatureRangeNameValue="mf-range-name-value",t.MediaFeatureRangeValueName="mf-range-value-name",t.MediaFeatureRangeValueNameValue="mf-range-value-name-value",t.MediaFeatureValue="mf-value",t.MediaInParens="media-in-parens",t.MediaNot="media-not",t.MediaOr="media-or",t.MediaQueryWithType="media-query-with-type",t.MediaQueryWithoutType="media-query-without-type",t.MediaQueryInvalid="media-query-invalid"})(ne||(ne={}));var ht=class t{type=ne.MediaCondition;media;constructor(e){this.media=e}tokens(){return this.media.tokens()}toString(){return this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,media:this.media.toJSON()}}isMediaCondition(){return t.isMediaCondition(this)}static isMediaCondition(e){return!!e&&e instanceof t&&e.type===ne.MediaCondition}},St=class t{type=ne.MediaInParens;media;before;after;constructor(e,r=[],n=[]){this.media=e,this.before=r,this.after=n}tokens(){return[...this.before,...this.media.tokens(),...this.after]}toString(){return $(...this.before)+this.media.toString()+$(...this.after)}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&("walk"in this.media?this.media.walk(e,n):void 0)}toJSON(){return{type:this.type,media:this.media.toJSON(),before:this.before,after:this.after}}isMediaInParens(){return t.isMediaInParens(this)}static isMediaInParens(e){return!!e&&e instanceof t&&e.type===ne.MediaInParens}},Ms=class t{type=ne.MediaQueryWithType;modifier;mediaType;and=void 0;media=void 0;constructor(e,r,n,s){this.modifier=e,this.mediaType=r,n&&s&&(this.and=n,this.media=s)}getModifier(){if(!this.modifier.length)return"";for(let e=0;e<this.modifier.length;e++){let r=this.modifier[e];if(X(r))return r[4].value}return""}negateQuery(){let e=new t([...this.modifier],[...this.mediaType],this.and,this.media);if(e.modifier.length===0)return e.modifier=[[D.Ident,"not",-1,-1,{value:"not"}],[D.Whitespace," ",-1,-1,void 0]],e;for(let r=0;r<e.modifier.length;r++){let n=e.modifier[r];if(X(n)&&n[4].value.toLowerCase()==="not"){e.modifier.splice(r,1);break}if(X(n)&&n[4].value.toLowerCase()==="only"){n[1]="not",n[4].value="not";break}}return e}getMediaType(){if(!this.mediaType.length)return"";for(let e=0;e<this.mediaType.length;e++){let r=this.mediaType[e];if(X(r))return r[4].value}return""}tokens(){return this.and&&this.media?[...this.modifier,...this.mediaType,...this.and,...this.media.tokens()]:[...this.modifier,...this.mediaType]}toString(){return this.and&&this.media?$(...this.modifier)+$(...this.mediaType)+$(...this.and)+this.media.toString():$(...this.modifier)+$(...this.mediaType)}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;if(r&&(n={...r}),this.media)return e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,string:this.toString(),modifier:this.modifier,mediaType:this.mediaType,and:this.and,media:this.media}}isMediaQueryWithType(){return t.isMediaQueryWithType(this)}static isMediaQueryWithType(e){return!!e&&e instanceof t&&e.type===ne.MediaQueryWithType}},ru=class t{type=ne.MediaQueryWithoutType;media;constructor(e){this.media=e}negateQuery(){let e=this.media;return e.media.type===ne.MediaNot?new t(new ht(e.media.media)):(e.media.type===ne.MediaConditionListWithOr&&(e=new ht(new St(e,[[D.Whitespace," ",0,0,void 0],[D.OpenParen,"(",0,0,void 0]],[[D.CloseParen,")",0,0,void 0]]))),new Ms([[D.Ident,"not",0,0,{value:"not"}],[D.Whitespace," ",0,0,void 0]],[[D.Ident,"all",0,0,{value:"all"}],[D.Whitespace," ",0,0,void 0]],[[D.Ident,"and",0,0,{value:"and"}]],e))}tokens(){return this.media.tokens()}toString(){return this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryWithoutType(){return t.isMediaQueryWithoutType(this)}static isMediaQueryWithoutType(e){return!!e&&e instanceof t&&e.type===ne.MediaQueryWithoutType}},nu=class t{type=ne.MediaQueryInvalid;media;constructor(e){this.media=e}negateQuery(){return new t(this.media)}tokens(){return this.media.flatMap(e=>e.tokens())}toString(){return this.media.map(e=>e.toString()).join("")}walk(e,r){if(this.media.length===0)return;let n=qn(this.media),s=0;for(;s<this.media.length;){let o=this.media[s],i;if(r&&(i={...r}),e({node:o,parent:this,state:i},s)===!1||"walk"in o&&this.media.includes(o)&&o.walk(e,i)===!1)return!1;if(s=n(this.media,o,s),s===-1)break}}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryInvalid(){return t.isMediaQueryInvalid(this)}static isMediaQueryInvalid(e){return!!e&&e instanceof t&&e.type===ne.MediaQueryInvalid}},bo=class t{type=ne.GeneralEnclosed;value;constructor(e){this.value=e}tokens(){return this.value.tokens()}toString(){return this.value.toString()}indexOf(e){return e===this.value?"value":-1}at(e){if(e==="value")return this.value}walk(e,r){let n;return r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(e,n):void 0)}toJSON(){return{type:this.type,tokens:this.tokens()}}isGeneralEnclosed(){return t.isGeneralEnclosed(this)}static isGeneralEnclosed(e){return!!e&&e instanceof t&&e.type===ne.GeneralEnclosed}},Wr=class t{type=ne.MediaAnd;modifier;media;constructor(e,r){this.modifier=e,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return $(...this.modifier)+this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){return e==="media"?this.media:null}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaAnd(){return t.isMediaAnd(this)}static isMediaAnd(e){return!!e&&e instanceof t&&e.type===ne.MediaAnd}},_s=class t{type=ne.MediaConditionListWithAnd;leading;list;before;after;constructor(e,r,n=[],s=[]){this.leading=e,this.list=r,this.before=n,this.after=s}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(e=>e.tokens()),...this.after]}toString(){return $(...this.before)+this.leading.toString()+this.list.map(e=>e.toString()).join("")+$(...this.after)}indexOf(e){return e===this.leading?"leading":e.type===ne.MediaAnd?this.list.indexOf(e):-1}at(e){return e==="leading"?this.leading:typeof e=="number"?(e<0&&(e=this.list.length+e),this.list[e]):void 0}walk(e,r){let n;if(r&&(n={...r}),e({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(e,n)===!1)return!1;if(this.list.length===0)return;let s=qn(this.list),o=0;for(;o<this.list.length;){let i=this.list[o];if(r&&(n={...r}),e({node:i,parent:this,state:n},o)===!1||"walk"in i&&this.list.includes(i)&&i.walk(e,n)===!1)return!1;if(o=s(this.list,i,o),o===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(e=>e.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithAnd(){return t.isMediaConditionListWithAnd(this)}static isMediaConditionListWithAnd(e){return!!e&&e instanceof t&&e.type===ne.MediaConditionListWithAnd}},su=class t{type=ne.MediaConditionListWithOr;leading;list;before;after;constructor(e,r,n=[],s=[]){this.leading=e,this.list=r,this.before=n,this.after=s}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(e=>e.tokens()),...this.after]}toString(){return $(...this.before)+this.leading.toString()+this.list.map(e=>e.toString()).join("")+$(...this.after)}indexOf(e){return e===this.leading?"leading":e.type===ne.MediaOr?this.list.indexOf(e):-1}at(e){return e==="leading"?this.leading:typeof e=="number"?(e<0&&(e=this.list.length+e),this.list[e]):void 0}walk(e,r){let n;if(r&&(n={...r}),e({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(e,n)===!1)return!1;if(this.list.length===0)return;let s=qn(this.list),o=0;for(;o<this.list.length;){let i=this.list[o];if(r&&(n={...r}),e({node:i,parent:this,state:n},o)===!1||"walk"in i&&this.list.includes(i)&&i.walk(e,n)===!1)return!1;if(o=s(this.list,i,o),o===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(e=>e.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithOr(){return t.isMediaConditionListWithOr(this)}static isMediaConditionListWithOr(e){return!!e&&e instanceof t&&e.type===ne.MediaConditionListWithOr}};function uS(t){return!!(W(t)&&j(t.value)||ee(t)&&vM.has(t.getName().toLowerCase()))}var vM=new Set(["abs","acos","asin","atan","atan2","calc","clamp","cos","exp","hypot","log","max","min","mod","pow","rem","round","sign","sin","sqrt","tan"]);function yM(t){return W(t)&&ae(t.value)}function So(t){return W(t)&&X(t.value)}function wM(t){return ee(t)&&t.getName().toLowerCase()==="env"}var iu=class t{type=ne.MediaFeatureName;name;before;after;constructor(e,r=[],n=[]){this.name=e,this.before=r,this.after=n}getName(){return this.name.value[4].value}getNameToken(){return this.name.value}tokens(){return[...this.before,...this.name.tokens(),...this.after]}toString(){return $(...this.before)+this.name.toString()+$(...this.after)}indexOf(e){return e===this.name?"name":-1}at(e){if(e==="name")return this.name}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens()}}isMediaFeatureName(){return t.isMediaFeatureName(this)}static isMediaFeatureName(e){return!!e&&e instanceof t&&e.type===ne.MediaFeatureName}};function wo(t){let e=-1;for(let r=0;r<t.length;r++){let n=t[r];if(n.type!==de.Whitespace&&n.type!==de.Comment){if(!So(n)||e!==-1)return!1;e=r}}return e!==-1&&new iu(t[e],t.slice(0,e).flatMap(r=>r.tokens()),t.slice(e+1).flatMap(r=>r.tokens()))}var ou=class t{type=ne.MediaFeatureBoolean;name;constructor(e){this.name=e}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return this.name.tokens()}toString(){return this.name.toString()}indexOf(e){return e===this.name?"name":-1}at(e){if(e==="name")return this.name}toJSON(){return{type:this.type,name:this.name.toJSON(),tokens:this.tokens()}}isMediaFeatureBoolean(){return t.isMediaFeatureBoolean(this)}static isMediaFeatureBoolean(e){return!!e&&e instanceof t&&e.type===ne.MediaFeatureBoolean}};function bM(t){let e=wo(t);return e===!1?e:new ou(e)}var au=class t{type=ne.MediaFeatureValue;value;before;after;constructor(e,r=[],n=[]){Array.isArray(e)&&e.length===1?this.value=e[0]:this.value=e,this.before=r,this.after=n}tokens(){return Array.isArray(this.value)?[...this.before,...this.value.flatMap(e=>e.tokens()),...this.after]:[...this.before,...this.value.tokens(),...this.after]}toString(){return Array.isArray(this.value)?$(...this.before)+this.value.map(e=>e.toString()).join("")+$(...this.after):$(...this.before)+this.value.toString()+$(...this.after)}indexOf(e){return e===this.value?"value":-1}at(e){return e==="value"?this.value:Array.isArray(this.value)&&typeof e=="number"?(e<0&&(e=this.value.length+e),this.value[e]):void 0}walk(e,r){if(Array.isArray(this.value)){if(this.value.length===0)return;let n=qn(this.value),s=0;for(;s<this.value.length;){let o=this.value[s],i;if(r&&(i={...r}),e({node:o,parent:this,state:i},s)===!1||"walk"in o&&this.value.includes(o)&&o.walk(e,i)===!1)return!1;if(s=n(this.value,o,s),s===-1)break}}else{let n;if(r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")===!1)return!1;if("walk"in this.value)return this.value.walk(e,n)}}toJSON(){return Array.isArray(this.value)?{type:this.type,value:this.value.map(e=>e.toJSON()),tokens:this.tokens()}:{type:this.type,value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureValue(){return t.isMediaFeatureValue(this)}static isMediaFeatureValue(e){return!!e&&e instanceof t&&e.type===ne.MediaFeatureValue}};function yo(t,e=!1){let r=-1,n=-1;for(let s=0;s<t.length;s++){let o=t[s];if(o.type!==de.Whitespace&&o.type!==de.Comment){if(r!==-1)return!1;if(uS(o)){let i=ko(t.slice(s));if(i!==-1){r=i[0]+s,n=i[1]+s,s+=i[1]-i[0];continue}r=s,n=s}else if(wM(o))r=s,n=s;else if(yM(o))r=s,n=s;else{if(e||!So(o))return!1;r=s,n=s}}}return r!==-1&&new au(t.slice(r,n+1),t.slice(0,r).flatMap(s=>s.tokens()),t.slice(n+1).flatMap(s=>s.tokens()))}function ko(t){let e=-1,r=-1,n=df(t);if(n===-1)return-1;e=n[0],r=n[1];for(let s=r+1;s<t.length;s++){let o=t[s];if(!Zp(o))return-1}return[e,r]}function df(t){let e=-1,r=-1;for(let n=0;n<t.length;n++){let s=t[n];if(!Zp(s)){if(W(s)){let o=s.value;if(ze(o)&&o[4].value==="/"){if(e===-1||r!==-1)return-1;r=n;continue}}if(!uS(s))return-1;if(r!==-1)return[e,n];if(e!==-1)return-1;e=n}}return-1}var Do=class t{type=ne.MediaFeaturePlain;name;colon;value;constructor(e,r,n){this.name=e,this.colon=r,this.value=n}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),this.colon,...this.value.tokens()]}toString(){return this.name.toString()+$(this.colon)+this.value.toString()}indexOf(e){return e===this.name?"name":e===this.value?"value":-1}at(e){return e==="name"?this.name:e==="value"?this.value:void 0}walk(e,r){let n;return r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")!==!1&&this.value.walk(e,n)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeaturePlain(){return t.isMediaFeaturePlain(this)}static isMediaFeaturePlain(e){return!!e&&e instanceof t&&e.type===ne.MediaFeaturePlain}};function DM(t){let e=[],r=[],n=null;for(let i=0;i<t.length;i++){let a=t[i];if(a.type===de.Token){let l=a.value;if(ax(l)){e=t.slice(0,i),r=t.slice(i+1),n=l;break}}}if(!e.length||!r.length||!n)return!1;let s=wo(e);if(s===!1)return!1;let o=yo(r);return o!==!1&&new Do(s,n,o)}var Ue,tt,jt,Fs;function xM(t){let e=-1;for(let r=0;r<t.length;r++){let n=t[r];if(n.type===de.Token){let s=n.value;if(ze(s)){if(s[4].value===jt.EQ)return e!==-1?[e,r]:[r,r];if(s[4].value===Ue.LT){e=r;continue}if(s[4].value===tt.GT){e=r;continue}}}break}return e!==-1&&[e,e]}function qs(t){if(t.length!==1&&t.length!==2||!ze(t[0]))return!1;if(t.length===1)switch(t[0][4].value){case jt.EQ:return jt.EQ;case Ue.LT:return Ue.LT;case tt.GT:return tt.GT;default:return!1}if(!ze(t[1])||t[1][4].value!==jt.EQ)return!1;switch(t[0][4].value){case Ue.LT:return Ue.LT_OR_EQ;case tt.GT:return tt.GT_OR_EQ;default:return!1}}function BS(t){switch(t){case jt.EQ:return jt.EQ;case Ue.LT:return tt.GT;case Ue.LT_OR_EQ:return tt.GT_OR_EQ;case tt.GT:return Ue.LT;case tt.GT_OR_EQ:return Ue.LT_OR_EQ;default:return!1}}(function(t){t.LT="<",t.LT_OR_EQ="<="})(Ue||(Ue={})),function(t){t.GT=">",t.GT_OR_EQ=">="}(tt||(tt={})),function(t){t.EQ="="}(jt||(jt={}));var lu=class t{type=ne.MediaFeatureRangeNameValue;name;operator;value;constructor(e,r,n){this.name=e,this.operator=r,this.value=n}operatorKind(){return qs(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),...this.operator,...this.value.tokens()]}toString(){return this.name.toString()+$(...this.operator)+this.value.toString()}indexOf(e){return e===this.name?"name":e===this.value?"value":-1}at(e){return e==="name"?this.name:e==="value"?this.value:void 0}walk(e,r){let n;return r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(e,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeNameValue(){return t.isMediaFeatureRangeNameValue(this)}static isMediaFeatureRangeNameValue(e){return!!e&&e instanceof t&&e.type===ne.MediaFeatureRangeNameValue}},uu=class t{type=ne.MediaFeatureRangeValueName;name;operator;value;constructor(e,r,n){this.name=e,this.operator=r,this.value=n}operatorKind(){return qs(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.value.tokens(),...this.operator,...this.name.tokens()]}toString(){return this.value.toString()+$(...this.operator)+this.name.toString()}indexOf(e){return e===this.name?"name":e===this.value?"value":-1}at(e){return e==="name"?this.name:e==="value"?this.value:void 0}walk(e,r){let n;return r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(e,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueName(){return t.isMediaFeatureRangeValueName(this)}static isMediaFeatureRangeValueName(e){return!!e&&e instanceof t&&e.type===ne.MediaFeatureRangeValueName}},Bu=class t{type=ne.MediaFeatureRangeValueNameValue;name;valueOne;valueOneOperator;valueTwo;valueTwoOperator;constructor(e,r,n,s,o){this.name=e,this.valueOne=r,this.valueOneOperator=n,this.valueTwo=s,this.valueTwoOperator=o}valueOneOperatorKind(){return qs(this.valueOneOperator)}valueTwoOperatorKind(){return qs(this.valueTwoOperator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.valueOne.tokens(),...this.valueOneOperator,...this.name.tokens(),...this.valueTwoOperator,...this.valueTwo.tokens()]}toString(){return this.valueOne.toString()+$(...this.valueOneOperator)+this.name.toString()+$(...this.valueTwoOperator)+this.valueTwo.toString()}indexOf(e){return e===this.name?"name":e===this.valueOne?"valueOne":e===this.valueTwo?"valueTwo":-1}at(e){return e==="name"?this.name:e==="valueOne"?this.valueOne:e==="valueTwo"?this.valueTwo:void 0}walk(e,r){let n;return r&&(n={...r}),e({node:this.valueOne,parent:this,state:n},"valueOne")!==!1&&(!("walk"in this.valueOne)||this.valueOne.walk(e,n)!==!1)&&(r&&(n={...r}),e({node:this.valueTwo,parent:this,state:n},"valueTwo")!==!1&&(!("walk"in this.valueTwo)||this.valueTwo.walk(e,n)!==!1)&&void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),valueOne:this.valueOne.toJSON(),valueTwo:this.valueTwo.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueNameValue(){return t.isMediaFeatureRangeValueNameValue(this)}static isMediaFeatureRangeValueNameValue(e){return!!e&&e instanceof t&&e.type===ne.MediaFeatureRangeValueNameValue}};function SM(t){let e=!1,r=!1;for(let B=0;B<t.length;B++){let h=t[B];if(h.type===de.Token){let g=h.value;if(ze(g)){let v=xM(t.slice(B));if(v!==!1){if(e!==!1){r=[v[0]+B,v[1]+B];break}e=[v[0]+B,v[1]+B],B+=v[1]}}}}if(e===!1)return!1;let n=[t[e[0]].value];if(e[0]!==e[1]&&n.push(t[e[1]].value),r===!1){let B=t.slice(0,e[0]),h=t.slice(e[1]+1),g=wo(B);if(g){let w=yo(h,!0);return!!w&&new lu(g,n,w)}let v=wo(h);if(v){let w=yo(B,!0);return!!w&&new uu(v,n,w)}return!1}let s=[t[r[0]].value];r[0]!==r[1]&&s.push(t[r[1]].value);let o=t.slice(0,e[0]),i=t.slice(e[1]+1,r[0]),a=t.slice(r[1]+1),l=yo(o,!0),u=wo(i),c=yo(a,!0);if(!l||!u||!c)return!1;{let B=qs(n);if(B===!1||B===jt.EQ)return!1;let h=qs(s);if(h===!1||h===jt.EQ||!(B!==Ue.LT&&B!==Ue.LT_OR_EQ||h!==tt.GT&&h!==tt.GT_OR_EQ)||!(B!==tt.GT&&B!==tt.GT_OR_EQ||h!==Ue.LT&&h!==Ue.LT_OR_EQ))return!1}return new Bu(u,l,n,c,s)}var zn=class t{type=ne.MediaFeature;feature;before;after;constructor(e,r=[],n=[]){this.feature=e,this.before=r,this.after=n}getName(){return this.feature.getName()}getNameToken(){return this.feature.getNameToken()}tokens(){return[...this.before,...this.feature.tokens(),...this.after]}toString(){return $(...this.before)+this.feature.toString()+$(...this.after)}indexOf(e){return e===this.feature?"feature":-1}at(e){if(e==="feature")return this.feature}walk(e,r){let n;return r&&(n={...r}),e({node:this.feature,parent:this,state:n},"feature")!==!1&&("walk"in this.feature?this.feature.walk(e,n):void 0)}toJSON(){return{type:this.type,feature:this.feature.toJSON(),before:this.before,after:this.after}}isMediaFeature(){return t.isMediaFeature(this)}static isMediaFeature(e){return!!e&&e instanceof t&&e.type===ne.MediaFeature}};function cS(t,e=[],r=[]){if(!ln(t.startToken))return!1;let n=bM(t.value);if(n!==!1)return new zn(n,e,r);let s=DM(t.value);if(s!==!1)return new zn(s,e,r);let o=SM(t.value);return o!==!1&&new zn(o,e,r)}function fn(t,...e){let r=[D.Ident,"",-1,-1,{value:""}];ix(r,t);let n=Wx(e);return new zn(new Do(new iu(new V(r)),[D.Colon,":",-1,-1,void 0],new au(n.length===1?n[0]:n)),[[D.OpenParen,"(",-1,-1,void 0]],[[D.CloseParen,")",-1,-1,void 0]])}var cu=class t{type=ne.MediaNot;modifier;media;constructor(e,r){this.modifier=e,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return $(...this.modifier)+this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaNot(){return t.isMediaNot(this)}static isMediaNot(e){return!!e&&e instanceof t&&e.type===ne.MediaNot}},pu=class t{type=ne.MediaOr;modifier;media;constructor(e,r){this.modifier=e,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return $(...this.modifier)+this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaOr(){return t.isMediaOr(this)}static isMediaOr(e){return!!e&&e instanceof t&&e.type===ne.MediaOr}};function oS(t){if(!X(t))return!1;switch(t[4].value.toLowerCase()){case Fs.Not:return Fs.Not;case Fs.Only:return Fs.Only;default:return!1}}function kM(t){{let e=Cf(t);if(e!==!1)return new ru(e)}{let e=-1,r=-1,n=-1;for(let a=0;a<t.length;a++){let l=t[a];if(!pe(l)&&!Ce(l)){if(W(l)){let u=l.value;if(e===-1&&X(u)&&oS(u)){e=a;continue}if(r===-1&&X(u)&&!oS(u)){r=a;continue}if(n===-1&&X(u)&&CS.test(u[4].value)){if(n=a,aS(t.slice(a+1))===!1)return!1;break}return!1}return!1}}let s=[],o=[];e!==-1?(s=t.slice(0,e+1).flatMap(a=>a.tokens()),r!==-1&&(o=t.slice(e+1,r+1).flatMap(a=>a.tokens()))):r!==-1&&(o=t.slice(0,r+1).flatMap(a=>a.tokens()));let i=aS(t.slice(Math.max(e,r,n)+1));return i===!1?new Ms(s,[...o,...t.slice(r+1).flatMap(a=>a.tokens())]):new Ms(s,o,t.slice(r+1,n+1).flatMap(a=>a.tokens()),i)}}function PM(t){let e=!1,r=[],n=-1,s=-1;for(let o=0;o<t.length;o++){if(e){let a=EM(t.slice(o));if(a!==!1){o+=a.advance,r.push(a.node),s=o;continue}}let i=t[o];if(i.type!==de.Whitespace&&i.type!==de.Comment){if(e||e!==!1||!qr(i)||(i.normalize(),e=Po(i),e===!1))return!1;n=o}}return!(!e||!r.length)&&new su(e,r,t.slice(0,n).flatMap(o=>o.tokens()),t.slice(s+1).flatMap(o=>o.tokens()))}function pS(t){let e=!1,r=[],n=-1,s=-1;for(let o=0;o<t.length;o++){if(e){let a=OM(t.slice(o));if(a!==!1){o+=a.advance,r.push(a.node),s=o;continue}}let i=t[o];if(i.type!==de.Whitespace&&i.type!==de.Comment){if(e||e!==!1||!qr(i)||(i.normalize(),e=Po(i),e===!1))return!1;n=o}}return!(!e||!r.length)&&new _s(e,r,t.slice(0,n).flatMap(o=>o.tokens()),t.slice(s+1).flatMap(o=>o.tokens()))}function Cf(t){let e=dS(t);if(e!==!1)return new ht(e);let r=pS(t);if(r!==!1)return new ht(r);let n=PM(t);if(n!==!1)return new ht(n);let s=fS(t);return s!==!1&&new ht(s)}function aS(t){let e=dS(t);if(e!==!1)return new ht(e);let r=pS(t);if(r!==!1)return new ht(r);let n=fS(t);return n!==!1&&new ht(n)}function fS(t){let e=-1;for(let a=0;a<t.length;a++){let l=t[a];if(l.type!==de.Whitespace&&l.type!==de.Comment){if(!qr(l)||e!==-1)return!1;e=a}}if(e===-1)return!1;let r=t[e];if(!ln(r.startToken))return!1;r.normalize();let n=[...t.slice(0,e).flatMap(a=>a.tokens()),r.startToken],s=[r.endToken,...t.slice(e+1).flatMap(a=>a.tokens())],o=cS(r,n,s);if(o!==!1)return new St(o);let i=Cf(r.value);return i!==!1?new St(i,n,s):new St(new bo(r),t.slice(0,e).flatMap(a=>a.tokens()),t.slice(e+1).flatMap(a=>a.tokens()))}function Po(t){if(!ln(t.startToken))return!1;let e=cS(t,[t.startToken],[t.endToken]);if(e!==!1)return new St(e);let r=Cf(t.value);return r!==!1?new St(r,[t.startToken],[t.endToken]):new St(new bo(t))}(function(t){t.Not="not",t.Only="only"})(Fs||(Fs={}));var AM=/^not$/i;function dS(t){let e=!1,r=null;for(let n=0;n<t.length;n++){let s=t[n];if(s.type!==de.Whitespace&&s.type!==de.Comment){if(So(s)){let o=s.value;if(AM.test(o[4].value)){if(e)return!1;e=!0;continue}return!1}if(!e||!qr(s))return!1;{s.normalize();let o=Po(s);if(o===!1)return!1;r=new cu(t.slice(0,n).flatMap(i=>i.tokens()),o)}}}return r||!1}var NM=/^or$/i;function EM(t){let e=!1;for(let r=0;r<t.length;r++){let n=t[r];if(n.type!==de.Whitespace&&n.type!==de.Comment){if(So(n)){let s=n.value;if(NM.test(s[4].value)){if(e)return!1;e=!0;continue}return!1}if(e&&qr(n)){n.normalize();let s=Po(n);return s!==!1&&{advance:r,node:new pu(t.slice(0,r).flatMap(o=>o.tokens()),s)}}return!1}}return!1}var CS=/^and$/i;function OM(t){let e=!1;for(let r=0;r<t.length;r++){let n=t[r];if(n.type!==de.Whitespace&&n.type!==de.Comment){if(So(n)){let s=n.value;if(CS.test(s[4].value)){if(e)return!1;e=!0;continue}return!1}if(e&&qr(n)){n.normalize();let s=Po(n);return s!==!1&&{advance:r,node:new Wr(t.slice(0,r).flatMap(o=>o.tokens()),s)}}return!1}}return!1}function Vs(t,e){let r=ge(t,{onParseError:e?.onParseError});return r.map((n,s)=>{let o=kM(n);return o===!1&&e?.preserveInvalidMediaQueries===!0?new nu(r[s]):o}).filter(n=>!!n)}function Us(t,e){let r=Ot({css:t},{onParseError:e?.onParseError}),n=[];for(;!r.endOfFile();)n.push(r.nextToken());return n.push(r.nextToken()),Vs(n,e)}var fu=class t{type=ne.CustomMedia;name;mediaQueryList=null;trueOrFalseKeyword=null;constructor(e,r,n){this.name=e,this.mediaQueryList=r,this.trueOrFalseKeyword=n??null}getName(){for(let e=0;e<this.name.length;e++){let r=this.name[e];if(X(r))return r[4].value}return""}getNameToken(){for(let e=0;e<this.name.length;e++){let r=this.name[e];if(X(r))return r}return null}hasMediaQueryList(){return!!this.mediaQueryList}hasTrueKeyword(){if(!this.trueOrFalseKeyword)return!1;for(let e=0;e<this.trueOrFalseKeyword.length;e++){let r=this.trueOrFalseKeyword[e];if(!wt(r))return!!X(r)&&r[4].value.toLowerCase()==="true"}return!1}hasFalseKeyword(){if(!this.trueOrFalseKeyword)return!1;for(let e=0;e<this.trueOrFalseKeyword.length;e++){let r=this.trueOrFalseKeyword[e];if(!wt(r))return!!X(r)&&r[4].value.toLowerCase()==="false"}return!1}tokens(){if(this.trueOrFalseKeyword)return[...this.name,...this.trueOrFalseKeyword];if(!this.mediaQueryList)return[...this.name];let e=[];for(let r=0;r<this.mediaQueryList.length;r++){let n=this.mediaQueryList[r];r!==0&&e.push([D.Comma,",",-1,-1,void 0]),e.push(...n.tokens())}return[...this.name,...e]}toString(){return $(...this.tokens())}toJSON(){return{type:this.type,string:this.toString(),nameValue:this.getName(),name:this.name,hasFalseKeyword:this.hasFalseKeyword(),hasTrueKeyword:this.hasTrueKeyword(),trueOrFalseKeyword:this.trueOrFalseKeyword,mediaQueryList:this.mediaQueryList?.map(e=>e.toJSON())}}isCustomMedia(){return t.isCustomMedia(this)}static isCustomMedia(e){return!!e&&e instanceof t&&e.type===ne.CustomMedia}};function TM(t,e){let r=[],n=t;for(let o=0;o<t.length;o++)if(!wt(t[o])){if(X(t[o])&&t[o][4].value.startsWith("--")){r=t.slice(0,o+1),n=t.slice(o+1);break}return!1}let s=!0;for(let o=0;o<n.length;o++)if(!wt(n[o])){if(X(n[o])){let i=n[o][4].value.toLowerCase();if(i==="false"||i==="true")continue}if(pt(n[o]))break;s=!1}return s?new fu(r,null,n):new fu(r,Vs(As(n),e))}function hS(t,e){let r=Ot({css:t},{onParseError:e?.onParseError}),n=[];for(;!r.endOfFile();)n.push(r.nextToken());return n.push(r.nextToken()),TM(n,e)}function mS(t){return bo.isGeneralEnclosed(t)}function du(t){return Wr.isMediaAnd(t)}function gS(t){return Cu(t)||IM(t)}function Cu(t){return _s.isMediaConditionListWithAnd(t)}function IM(t){return su.isMediaConditionListWithOr(t)}function vS(t){return ht.isMediaCondition(t)}function hf(t){return ou.isMediaFeatureBoolean(t)}function yS(t){return Do.isMediaFeaturePlain(t)}function wS(t){return Ws(t)||Ao(t)||mf(t)}function Ws(t){return lu.isMediaFeatureRangeNameValue(t)}function Ao(t){return uu.isMediaFeatureRangeValueName(t)}function mf(t){return Bu.isMediaFeatureRangeValueNameValue(t)}function No(t){return zn.isMediaFeature(t)}function bS(t){return St.isMediaInParens(t)}function DS(t){return cu.isMediaNot(t)}function xS(t){return pu.isMediaOr(t)}function SS(t){return xo(t)||ff(t)||jn(t)}function xo(t){return Ms.isMediaQueryWithType(t)}function ff(t){return ru.isMediaQueryWithoutType(t)}function jn(t){return nu.isMediaQueryInvalid(t)}function kS(t){let e=As(t.tokens()),r=Vs(e,{preserveInvalidMediaQueries:!0})[0];if(!r)throw new Error(`Failed to clone media query for : "${$(...e)}"`);if(jn(t)&&jn(r)||xo(t)&&xo(r)||ff(t)&&ff(r))return r;throw new Error(`Failed to clone media query for : "${$(...e)}"`)}var lS;(function(t){t.All="all",t.Print="print",t.Screen="screen",t.Tty="tty",t.Tv="tv",t.Projection="projection",t.Handheld="handheld",t.Braille="braille",t.Embossed="embossed",t.Aural="aural",t.Speech="speech"})(lS||(lS={}));var LM=Ur("csstools-implicit-layer")[0];function RM(t){let e=new Map,r=new Map,n=[];t.walkAtRules(o=>{if(o.name.toLowerCase()!=="layer")return;{let l=o.parent;for(;l;){if(l.type!=="atrule"||l.name.toLowerCase()!=="layer"){if(l===o.root())break;return}l=l.parent}}let i;if(o.nodes)i=FM(o.params,1);else{if(!o.params.trim())return;i=o.params}let a=Ur(i);if(a?.length){{let l=o.parent;for(;l&&l.type==="atrule"&&l.name.toLowerCase()==="layer";){let u=r.get(l);u&&(a=a.map(c=>u.concat(c))),l=l.parent}}if(Vr(n,a),o.nodes){let l=a[0].concat(LM);e.set(o,l),r.set(o,a[0])}}});for(let o of e.values())Vr(n,[o]);let s=new WeakMap;for(let[o,i]of e)s.set(o,n.findIndex(a=>i.equal(a)));return s}function FM(t,e){return t.trim()?t:"csstools-anon-layer--"+e++}var MM=new Set(["scope","container","layer"]);function _M(t){if(t.name.toLowerCase()!=="custom-media"||!t.params||!t.params.includes("--")||t.nodes&&t.nodes.length>0)return!1;let e=t.parent;for(;e;){if(e.type==="atrule"&&!MM.has(e.name.toLowerCase()))return!1;e=e.parent}return!0}function qM(t,e){let r=new Set;for(;t.size>0;){let n=VM(Array.from(t.keys()),e);if(!n)return r;t.delete(n),r.add(n),e=e.filter(s=>s.indexOf(n)===-1)}return r}function VM(t,e){let r=t.length,n=new Array(r),s={},o=r,i=UM(e),a=WM(t);for(;o--;)if(!s[o]){let u=l(t[o],o,new Set);if(!u)continue;return u}function l(u,c,B){if(B.has(u))return u;if(!a.has(u)||s[c])return;s[c]=!0;let h=Array.from(i.get(u)||new Set);if(c=h.length){B.add(u);do{let g=h[--c],v=l(g,a.get(g),B);if(v)return v}while(c);B.delete(u)}n[--r]=u}}function UM(t){let e=new Map;for(let r=0,n=t.length;r<n;r++){let s=t[r];e.has(s[0])||e.set(s[0],new Set),e.has(s[1])||e.set(s[1],new Set),e.get(s[0]).add(s[1])}return e}function WM(t){let e=new Map;for(let r=0,n=t.length;r<n;r++)e.set(t[r],r);return e}function GM(t){let e=Ot({css:t},{onParseError:()=>{throw new Error(`Unable to parse media query "${t}"`)}}),r=[];for(;!e.endOfFile();)r.push(e.nextToken());return r}var gf=[[D.Ident,"max-color",0,0,{value:"max-color"}],[D.Colon,":",0,0,void 0],[D.Number,"2147477350",0,0,{value:2147477350,type:R.Integer}]],vf=[[D.Ident,"color",0,0,{value:"color"}],[D.Colon,":",0,0,void 0],[D.Number,"2147477350",0,0,{value:2147477350,type:R.Integer}]];function HM(t){let e,r=[];for(let n=0;n<t.length;n++)if(!wt(t[n])){if(X(t[n])){let s=t[n];if(s[4].value.toLowerCase()==="true"){e="true",r=t.slice(n+1);break}if(s[4].value.toLowerCase()==="false"){e="false",r=t.slice(n+1);break}}return t}if(!e)return t;for(let n=0;n<r.length;n++)if(!wt(r[n]))return t;return e==="true"?[[D.Whitespace," ",0,0,void 0],[D.OpenParen,"(",0,0,void 0],...gf,[D.CloseParen,")",0,0,void 0]]:[[D.Whitespace," ",0,0,void 0],[D.OpenParen,"(",0,0,void 0],...vf,[D.CloseParen,")",0,0,void 0]]}function zM(t){let e=GM(t),r=new Set,n="",s=e;for(let a=0;a<e.length;a++)if(!wt(e[a])){if(X(e[a])){let l=e[a];if(l[4].value.startsWith("--")){n=l[4].value,s=e.slice(a+1);break}}return!1}for(let a=0;a<s.length;a++)if(X(s[a])){let l=s[a];l[4].value.startsWith("--")&&r.add(l[4].value)}s=HM(s);let o=Vs(As(s),{preserveInvalidMediaQueries:!0,onParseError:()=>{throw new Error(`Unable to parse media query "${$(...s)}"`)}}),i=Vs(As(s),{preserveInvalidMediaQueries:!0,onParseError:()=>{throw new Error(`Unable to parse media query "${$(...s)}"`)}});for(let a=0;a<i.length;a++)i[a]=i[a].negateQuery();return{name:n,truthy:o,falsy:i,dependencies:Array.from(r).map(a=>[n,a])}}function jM(t,e,r){let n=new Map,s=new Map,o=[],i=RM(t);t.walkAtRules(l=>{if(!_M(l))return;let u=zM(l.params);if(!u||u.truthy.length===0)return;let c=(h=i,(B=l).parent&&B.parent.type==="atrule"&&B.parent.name.toLowerCase()==="layer"?h.has(B.parent)?h.get(B.parent)+1:0:1e7);var B,h;let g=s.get(u.name)??-1;if(c&&c>=g&&(s.set(u.name,c),n.set(u.name,{truthy:u.truthy,falsy:u.falsy}),o.push(...u.dependencies)),!r.preserve){let v=l.parent;l.remove(),QM(v)}});let a=qM(n,o);for(let l of a.values())t.warn(e,`@custom-media rules have cyclic dependencies for "${l}"`);return n}function QM(t){if(!t)return;let e=t;for(;e;){if(e.nodes&&e.nodes.length>0)return;let r=e.parent;e.remove(),e=r}}function JM(t,e){let r=Us(t,{preserveInvalidMediaQueries:!0,onParseError:()=>{throw new Error(`Unable to parse media query "${t}"`)}}),n=r.map(s=>s.toString());for(let s=0;s<r.length;s++){let o=r[s],i=n[s];{let l=KM(o,e);if(l&&l.replaceWith!==i)return n.map((u,c)=>c===s?l:{replaceWith:u})}let a=YM(o,e);if(a&&a.length!==0&&a[0].replaceWith!==i)return n.flatMap((l,u)=>u===s?a:[{replaceWith:l}])}return[]}function KM(t,e){if(!PS(t))return null;let r=null;return t.walk(n=>{let s=n.node;if(!hf(s))return;let o=s.getName();if(!o.startsWith("--"))return!1;let i=e.get(o);return i?(r={replaceWith:i.truthy.map(a=>a.toString().trim()).join(",")},!1):void 0}),r}function YM(t,e){let r=[];return t.walk(n=>{let s=n.node;if(!hf(s))return;let o=n.parent;if(!No(o))return;let i=s.getName();if(!i.startsWith("--"))return!1;let a=e.get(i);if(a){if(a.truthy.length===1&&PS(a.truthy[0])){let h=null;if(a.truthy[0].walk(g=>{if(No(g.node))return h=g.node,!1}),h&&h.feature)return o.feature=h.feature,r=[{replaceWith:t.toString()}],!1}let l=fn(gf[0][4].value,gf[2]);o.feature=l.feature;let u=t.toString(),c=fn(vf[0][4].value,vf[2]);o.feature=c.feature;let B=t.toString();return r=[{replaceWith:u,encapsulateWith:a.truthy.map(h=>h.toString().trim()).join(",")},{replaceWith:B,encapsulateWith:a.falsy.map(h=>h.toString().trim()).join(",")}],!1}}),r}function PS(t){if(jn(t)||xo(t))return!1;let e=!0;return t.walk(r=>{if(du(r.node)||xS(r.node)||DS(r.node)||gS(r.node)||mS(r.node))return e=!1,!1}),e}var yf=t=>{let e=t?.preserve??!1;if("importFrom"in Object(t))throw new Error('[postcss-custom-media] "importFrom" is no longer supported');if("exportTo"in Object(t))throw new Error('[postcss-custom-media] "exportTo" is no longer supported');return{postcssPlugin:"postcss-custom-media",prepare(){let r=new WeakSet,n=new Map;return{postcssPlugin:"postcss-custom-media",Once(s,{result:o}){n=jM(s,o,{preserve:e})},AtRule(s,{result:o}){if(r.has(s)||s.name.toLowerCase()!=="media"||!s.params||!s.params.includes("--"))return;let i=[];try{i=JM(s.params,n)}catch(a){return void s.warn(o,`Failed to parse @custom-media params with error message: "${a instanceof Error?a.message:a}"`)}if(!(!i||i.length===0)){if(i.length===1)return s.params.trim()===i[0].replaceWith.trim()?void 0:(r.add(s),s.cloneBefore({params:i[0].replaceWith.trim()}),e?void 0:void s.remove());if(!i.find(a=>!!a.encapsulateWith))return r.add(s),s.cloneBefore({params:i.map(a=>a.replaceWith).join(",").trim()}),void(e||s.remove());i.forEach(a=>{if(!a.encapsulateWith)return void s.cloneBefore({params:a.replaceWith.trim()});let l=s.clone({params:a.replaceWith}),u=s.clone({params:a.encapsulateWith.trim(),nodes:[]});l.parent=void 0,u.parent=void 0,r.add(s),u.append(l),s.before(u)}),e||s.remove()}}}}}};yf.postcss=!0;p();d();f();var Qn=Be(He(),1);var XM=Ur("csstools-implicit-layer")[0];function ZM(t){let e=new Map,r=new Map,n=[];t.walkAtRules(o=>{if(o.name.toLowerCase()!=="layer")return;{let l=o.parent;for(;l;){if(l.type!=="atrule"||l.name.toLowerCase()!=="layer"){if(l===o.root())break;return}l=l.parent}}let i;if(o.nodes)i=$M(o.params,1);else{if(!o.params.trim())return;i=o.params}let a=Ur(i);if(a?.length){{let l=o.parent;for(;l&&l.type==="atrule"&&l.name.toLowerCase()==="layer";){let u=r.get(l);u&&(a=a.map(c=>u.concat(c))),l=l.parent}}if(Vr(n,a),o.nodes){let l=a[0].concat(XM);e.set(o,l),r.set(o,a[0])}}});for(let o of e.values())Vr(n,[o]);let s=new WeakMap;for(let[o,i]of e)s.set(o,n.findIndex(a=>i.equal(a)));return s}function $M(t,e){return t.trim()?t:"csstools-anon-layer--"+e++}var e_=/(?:!\s*)?postcss-custom-properties:\s*off\b/i,wf=new WeakMap;function ES(t){if(!t||!t.nodes)return!1;if(wf.has(t))return wf.get(t);let e=t.some(r=>OS(r,e_));return wf.set(t,e),e}var t_=/(?:!\s*)?postcss-custom-properties:\s*ignore\s+next\b/i;function bf(t){return!!t&&(!!ES(t.parent)||OS(t.prev(),t_))}function OS(t,e){return!!t&&t.type==="comment"&&e.test(t.text)}var r_=new Set(["layer"]);function n_(t){let e=t.parent;for(;e;){if(e.type==="atrule"&&!r_.has(e.name.toLowerCase()))return!1;e=e.parent}return!0}var s_=/^html$/i,i_=/^:where\(html\)$/i,o_=/^:root$/i,a_=/^:where\(:root\)$/i,l_=/(html|:root)/i,u_=/^var$/i;function hu(t){return t.type==="function"&&u_.test(t.value)&&t.nodes?.length>0}var B_=/\bvar\(/i;function AS(t,e){let r=e.get(t);return r||(r=(0,Qn.default)(t),e.set(t,r),r)}function c_(t,e){let r=t.length,n=new Array(r),s={},o=r,i=TS(e),a=IS(t);for(;o--;)s[o]||l(t[o],o,new Set);return n;function l(u,c,B){if(B.has(u)){let g;try{g=", node was:"+JSON.stringify(u)}catch{g=""}throw new Error("Cyclic dependency"+g)}if(!a.has(u))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(u));if(s[c])return;s[c]=!0;let h=Array.from(i.get(u)||new Set);if(c=h.length){B.add(u);do{let g=h[--c];l(g,a.get(g),B)}while(c);B.delete(u)}n[--r]=u}}function p_(t,e){let r=new Set;for(;t.size>0;){let n=f_(Array.from(t.keys()),e);if(!n)return r;t.delete(n),r.add(n),e=e.filter(s=>s.indexOf(n)===-1)}return r}function f_(t,e){let r=t.length,n=new Array(r),s={},o=r,i=TS(e),a=IS(t);for(;o--;)if(!s[o]){let u=l(t[o],o,new Set);if(!u)continue;return u}function l(u,c,B){if(B.has(u))return u;if(!a.has(u)||s[c])return;s[c]=!0;let h=Array.from(i.get(u)||new Set);if(c=h.length){B.add(u);do{let g=h[--c],v=l(g,a.get(g),B);if(v)return v}while(c);B.delete(u)}n[--r]=u}}function TS(t){let e=new Map;for(let r=0,n=t.length;r<n;r++){let s=t[r];e.has(s[0])||e.set(s[0],new Set),e.has(s[1])||e.set(s[1],new Set),e.get(s[0]).add(s[1])}return e}function IS(t){let e=new Map;for(let r=0,n=t.length;r<n;r++)e.set(t[r],r);return e}function mu(t){let e,r,n=!1;for(let s of t.nodes)if(e||s.type!=="word")if(!e||n||s.type!=="div"||s.value!==","){if(n&&Array.isArray(r))r.push(s);else if(s.type!=="space"&&(s.type!=="div"||s.value.trim()!==""))return}else n=!0,r=[];else e=s;if(e)return{name:e,fallback:r}}function LS(t,e){return t.nodes?.length?(RS(t.nodes,(r,n,s)=>{if(!hu(r))return;let o=mu(r);if(!o)return;let i=!1;o.fallback&&Qn.default.walk(o.fallback,l=>{if(!hu(l))return;let u=mu(l);return u?u.fallback||e.has(u.name.value)?void 0:(i=!0,!1):void 0});let a=e.get(o.name.value)?.nodes;a||!o.fallback||i||(a=o.fallback),a!==void 0&&(a.length?s.splice(n,1,...a):s.splice(n,1,{type:"div",value:" ",before:"",after:"",sourceIndex:r.sourceIndex,sourceEndIndex:r.sourceEndIndex}))}),Qn.default.stringify(t.nodes)):""}function RS(t,e){let r,n,s;for(r=0,n=t.length;r<n;r+=1)s=t[r],s.type==="function"&&Array.isArray(s.nodes)&&RS(s.nodes,e),e(s,r,t),n=t.length}var d_=/^initial$/i;function C_(t){let e=t.nodes.filter(r=>r.type!=="comment"&&r.type!=="space");return e.length===1&&e[0].type==="word"&&d_.test(e[0].value)}function FS(t,e,r){if(!t.size)return e;let n=new Map(e);{let s=[];for(let[o,i]of t.entries()){let a=AS(i,r),l=!1;Qn.default.walk(a.nodes,u=>{if(!hu(u))return;let c=mu(u);c&&(c.fallback||t.has(c.name.value)||e.has(c.name.value)?s.push([c.name.value,o]):l=!0)}),l||n.set(o,a)}p_(n,s)}{let s=[];for(let[i,a]of n.entries())Qn.default.walk(a.nodes,l=>{if(!hu(l))return;let u=mu(l);u&&(u.fallback||n.has(u.name.value)?s.push([u.name.value,i]):n.delete(i))});for(let i=0;i<s.length;i++){let[a,l]=s[i];n.has(a)&&n.has(l)||s.splice(i--,1)}let o=c_(Array.from(n.keys()),s);for(let i of o){let a=n.get(i);if(!a)continue;let l=AS(LS(a,n),r);n.set(i,l)}}for(let[s,o]of n.entries())C_(o)&&n.delete(s);return n}function h_(t,e){let r=new Map,n=new Map,s=ZM(t);return t.walkRules(o=>{l_.test(o.selector)&&o.nodes?.length&&n_(o)&&(ES(o)||o.selectors.forEach(i=>{let a=-1;if(i_.test(i)||a_.test(i))a=0;else if(s_.test(i))a=1;else{if(!o_.test(i))return;a=2}let l=(c=s,((u=o).parent&&u.parent.type==="atrule"&&u.parent.name.toLowerCase()==="layer"?c.has(u.parent)?c.get(u.parent)+1:0:1e7)+10+a);var u,c;o.each(B=>{if(B.type!=="decl"||!B.variable||bf(B)||B.value.toLowerCase().trim()==="initial")return;let h=n.get(B.prop)??-1;l>=h&&(n.set(B.prop,l),r.set(B.prop,B.value))})}))}),FS(r,new Map,e)}function m_(t,e,r){if(!t.parent)return e;let n=new Map;return t.parent.each(s=>{s.type==="decl"&&s.variable&&t!==s&&(bf(s)||n.set(s.prop,s.value))}),n.size?FS(n,e,r):e}function g_(t,e,r){if(v_(t)&&!bf(t)){let n=t.value,s=LS((0,Qn.default)(n),e);if(s===n)return;if(y_(t,s))return void(r.preserve||t.remove());if(r.preserve){let o=t.cloneBefore({value:s});NS(o)&&o.raws?.value&&(o.raws.value.value=o.value.replace(Eo,"$1"),o.raws.value.raw=o.raws.value.value+o.raws.value.raw.replace(Eo,"$2"))}else t.value=s,NS(t)&&t.raws?.value&&(t.raws.value.value=t.value.replace(Eo,"$1"),t.raws.value.raw=t.raws.value.value+t.raws.value.raw.replace(Eo,"$2"))}}var v_=t=>!t.variable&&t.value.includes("--")&&t.value.toLowerCase().includes("var("),NS=t=>"value"in Object(Object(t.raws).value)&&"raw"in(t.raws?.value??{})&&Eo.test(t.raws.value?.raw??""),Eo=/^([\W\w]+)(\s*\/\*[\W\w]+?\*\/)$/;function y_(t,e){if(!t||!t.parent)return!1;let r=!1,n=t.parent.index(t);return t.parent.each((s,o)=>s!==t&&!(o>=n)&&void(s.type==="decl"&&s.prop.toLowerCase()===t.prop.toLowerCase()&&s.value===e&&(r=!0))),r}var w_=/\bvar\(|\(top: var\(--f\)/i,Df=t=>{let e=!("preserve"in Object(t))||!!t?.preserve;if("importFrom"in Object(t))throw new Error('[postcss-custom-properties] "importFrom" is no longer supported');if("exportTo"in Object(t))throw new Error('[postcss-custom-properties] "exportTo" is no longer supported');return{postcssPlugin:"postcss-custom-properties",prepare(){let r=new Map,n=new WeakMap,s=new Map;return{postcssPlugin:"postcss-custom-properties",Once(o){r=h_(o,s)},Declaration(o){if(!B_.test(o.value)||Ae(o,w_))return;let i=r;e&&o.parent&&(i=n.get(o.parent)??m_(o,r,s),n.set(o.parent,i)),g_(o,i,{preserve:e})}}}}};Df.postcss=!0;p();d();f();var Oo=Be(ut(),1);var b_=Ur("csstools-implicit-layer")[0];function D_(t){let e=new Map,r=new Map,n=[];t.walkAtRules(o=>{if(o.name.toLowerCase()!=="layer")return;{let l=o.parent;for(;l;){if(l.type!=="atrule"||l.name.toLowerCase()!=="layer"){if(l===o.root())break;return}l=l.parent}}let i;if(o.nodes)i=x_(o.params,1);else{if(!o.params.trim())return;i=o.params}let a=Ur(i);if(a?.length){{let l=o.parent;for(;l&&l.type==="atrule"&&l.name.toLowerCase()==="layer";){let u=r.get(l);u&&(a=a.map(c=>u.concat(c))),l=l.parent}}if(Vr(n,a),o.nodes){let l=a[0].concat(b_);e.set(o,l),r.set(o,a[0])}}});for(let o of e.values())Vr(n,[o]);let s=new WeakMap;for(let[o,i]of e)s.set(o,n.findIndex(a=>i.equal(a)));return s}function x_(t,e){return t.trim()?t:"csstools-anon-layer--"+e++}var S_=new Set(["scope","container","layer"]);function k_(t){if(t.type!=="atrule"||t.name.toLowerCase()!=="custom-selector"||!t.params||!t.params.includes(":--")||t.nodes&&t.nodes.length>0)return!1;let e=t.parent;for(;e;){if(e.type==="rule"||e.type==="atrule"&&!S_.has(e.name.toLowerCase()))return!1;e=e.parent}return!0}function P_(t,e,r){let n=new Map,s=new Map,o=D_(t);return t.walkAtRules(i=>{var a,l;if(k_(i))try{let u=i.params.trim(),c=(0,Oo.default)().astSync(u),B=c?.nodes?.[0]?.nodes?.[0];if(!B||B.type!=="pseudo"||!B.value.startsWith(":--"))return;let h=B.toString(),g=(l=o,(a=i).parent&&a.parent.type==="atrule"&&a.parent.name.toLowerCase()==="layer"?l.has(a.parent)?l.get(a.parent)+1:0:1e7),v=s.get(h)??-1;if(g&&g>=v&&(s.set(h,g),n.set(h,(0,Oo.default)().astSync(u.slice(h.length).trim()))),!r.preserve){let w=i.parent;i.remove(),A_(w)}}catch(u){i.warn(e,`Failed to parse selector : "${i.params}" with message: "${u instanceof Error?u.message:u}"`)}}),n}function A_(t){if(!t)return;let e=t;for(;e;){if(e.nodes&&e.nodes.length>0)return;let r=e.parent;e.remove(),e=r}}function N_(t,e,r){let n=t.selector;try{n=(0,Oo.default)(s=>{s.walkPseudos(o=>{if(!r.has(o.value))return;let i=Oo.default.pseudo({value:":is",nodes:[]}),a=r.get(o.value);a&&(a.each(l=>{i.append(l.clone())}),o.replaceWith(i))})}).processSync(t.selector)}catch(s){return t.warn(e,`Failed to parse selector : "${n}" with message: "${s instanceof Error?s.message:s}"`),t.selector}return n}var xf=t=>{let e=t?.preserve??!1;if("importFrom"in Object(t))throw new Error('[postcss-custom-selectors] "importFrom" is no longer supported');if("exportTo"in Object(t))throw new Error('[postcss-custom-selectors] "exportTo" is no longer supported');return{postcssPlugin:"postcss-custom-selectors",prepare(){let r=new WeakSet,n=new Map;return{postcssPlugin:"postcss-custom-selectors",Once(s,{result:o}){n=P_(s,o,{preserve:e})},Rule(s,{result:o}){if(r.has(s)||!s.selector?.includes(":--"))return;let i=N_(s,o,n);i!==s.selector&&(r.add(s),s.cloneBefore({selector:i}),e||s.remove())}}}}};xf.postcss=!0;p();d();f();var wr=Be(ut(),1),Sf=t=>{let e=Object.assign({dir:null,preserve:!1,shadow:!1},t);return{postcssPlugin:"postcss-dir-pseudo-class",prepare(){let r=new WeakSet;return{Rule(n,{result:s}){if(r.has(n))return;let o,i=!1;if(n.selector.toLowerCase().includes(":dir(")){try{o=(0,wr.default)(a=>{a.nodes.forEach(l=>{l.walk(u=>{if(u.type!=="pseudo"||u.value.toLowerCase()!==":dir"||!u.nodes||!u.nodes.length)return;let c=u.nodes.toString().toLowerCase();if(c!=="rtl"&&c!=="ltr")return;let B=u.parent;if(!B)return;B.nodes.filter(J=>J.type==="pseudo"&&J.value.toLowerCase()===":dir").length>1&&!i&&(i=!0,n.warn(s,`Hierarchical :dir pseudo class usage can't be transformed correctly to [dir] attributes. This will lead to incorrect selectors for "${n.selector}"`));let h=u.prev(),g=u.next(),v=h&&h.type&&h.type!=="combinator",w=g&&g.type&&g.type!=="combinator",y=g&&g.type&&(g.type!=="combinator"||g.type==="combinator"&&g.value===" ");v||w||B.nodes.indexOf(u)===0&&y||B.nodes.length===1?u.remove():u.replaceWith(wr.default.universal());let P=B.nodes[0],O=P&&P.type==="combinator"&&P.value===" ",E=P&&P.type==="tag"&&P.value.toLowerCase()==="html",F=P&&P.type==="pseudo"&&P.value.toLowerCase()===":root";!P||E||F||O||B.prepend(wr.default.combinator({value:" "}));let q=e.dir===c,ve=wr.default.attribute({attribute:"dir",operator:"=",quoteMark:'"',value:`"${c}"`,raws:{}}),oe=wr.default.pseudo({value:":host-context"});oe.append(wr.default.selector({value:"",nodes:[ve]}));let le=wr.default.pseudo({value:(E||F?"":"html")+":not"});le.append(wr.default.selector({value:"",nodes:[wr.default.attribute({attribute:"dir",operator:"=",quoteMark:'"',value:`"${c==="ltr"?"rtl":"ltr"}"`,raws:{}})]})),q?E?B.insertAfter(P,le):B.prepend(le):E?B.insertAfter(P,ve):e.shadow&&!F?B.prepend(oe):B.prepend(ve)})})}).processSync(n.selector)}catch{return void n.warn(s,`Failed to parse selector : ${n.selector}`)}o!==void 0&&o!==n.selector&&(r.add(n),n.cloneBefore({selector:o}),e.preserve||n.remove())}}}}}};Sf.postcss=!0;p();d();f();var MS=Be(He(),1),E_=new Map([["block,flow","block"],["block,flow-root","flow-root"],["inline,flow","inline"],["inline,flow-root","inline-block"],["run-in,flow","run-in"],["list-item,block,flow","list-item"],["inline,flow,list-item","inline list-item"],["block,flex","flex"],["inline,flex","inline-flex"],["block,grid","grid"],["inline,grid","inline-grid"],["inline,ruby","ruby"],["block,table","table"],["inline,table","inline-table"],["table-cell,flow","table-cell"],["table-caption,flow","table-caption"],["ruby-base,flow","ruby-base"],["ruby-text,flow","ruby-text"]]);function O_(t){let{nodes:e}=(0,MS.default)(t);if(e.length===1)return t;let r=e.filter(s=>s.type==="word").map(s=>s.value.toLowerCase());return r.length<=1?t:E_.get(r.join(","))||t}var T_=/^display$/i,kf=t=>{let e=!("preserve"in Object(t))||!!t?.preserve;return{postcssPlugin:"postcss-normalize-display-values",prepare(){let r=new Map;return{Declaration(n){if(!T_.test(n.prop))return;let s=n.value;if(!s)return;if(r.has(s))return void(n.value!==r.get(s)&&(n.cloneBefore({value:r.get(s)}),e||n.remove()));let o=O_(s);r.set(s,o),n.value!==o&&(n.cloneBefore({value:o}),e||n.remove())}}}}};kf.postcss=!0;p();d();f();var Af=Be(He(),1);var _S=/(?:repeating-)?(?:conic|linear|radial)-gradient\(/i,I_=/^(?:repeating-)?(?:conic|linear|radial)-gradient$/i,L_=["at","bottom","center","circle","closest-corner","closest-side","ellipse","farthest-corner","farthest-side","from","in","left","right","to","top"],qS=t=>t.type==="div"&&t.value===",";function VS(t){try{return Af.default.unit(t?.value)!==!1}catch{return!1}}var Pf=t=>({postcssPlugin:"postcss-double-position-gradients",Declaration(e,{result:r}){if(!_S.test(e.value)||ce(e)||Ae(e,_S))return;let n;try{n=(0,Af.default)(e.value)}catch{e.warn(r,`Failed to parse value '${e.value}' as a CSS gradient. Leaving the original value intact.`)}if(n===void 0)return;n.walk(o=>{if(o.type!=="function"||!I_.test(o.value))return;let i=o.nodes.filter(l=>l.type!=="comment"&&l.type!=="space"),a=!1;i.forEach((l,u,c)=>{if(l.type==="word"&&L_.includes(l.value.toLowerCase())&&(a=!0),l.type==="div"&&l.value===","&&(a=!1),a)return;let B=Object(c[u-1]),h=Object(c[u-2]),g=Object(c[u+1]);if(h.type&&VS(B)&&VS(l)){let v=h,w={type:"div",value:",",before:qS(g)?g.before:"",after:qS(g)?"":" ",sourceIndex:0,sourceEndIndex:0};o.nodes.splice(o.nodes.indexOf(l)-1,0,w,v)}})});let s=n.toString();s!==e.value&&(e.cloneBefore({value:s}),t?.preserve||e.remove())}});Pf.postcss=!0;var Nf=t=>{let e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!0},t);return e.enableProgressiveCustomProperties&&e.preserve?{postcssPlugin:"postcss-double-position-gradients",plugins:[Ee(),Pf(e)]}:Pf(e)};Nf.postcss=!0;p();d();f();var R_=/(?<![-\w])(?:exp|hypot|log|pow|sqrt)\(/i,Ef=t=>{let e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-exponential-functions",Declaration(r){if(!R_.test(r.value))return;let n=Rs(r.value);n!==r.value&&(r.cloneBefore({value:n}),e.preserve||r.remove())}}};Ef.postcss=!0;p();d();f();var US="inline-start",F_="inline-end",Dr,br;function M_(t){switch(t){case Dr.TopToBottom:return[br.Top,br.Bottom];case Dr.BottomToTop:return[br.Bottom,br.Top];case Dr.RightToLeft:return[br.Right,br.Left];case Dr.LeftToRight:return[br.Left,br.Right]}}function __(t,e,r){t.parent&&t.parent.some(n=>n.type=="decl"&&n.prop===r&&n.value===e)||t.cloneBefore({value:e,prop:r})}(function(t){t.TopToBottom="top-to-bottom",t.BottomToTop="bottom-to-top",t.RightToLeft="right-to-left",t.LeftToRight="left-to-right"})(Dr||(Dr={})),function(t){t.Top="top",t.Right="right",t.Bottom="bottom",t.Left="left"}(br||(br={}));var Of=t=>{let e=Object.assign({inlineDirection:Dr.LeftToRight},t),r=Object.values(Dr);if(!r.includes(e.inlineDirection))throw new Error(`[postcss-logical-float-and-clear] "inlineDirection" must be one of ${r.join(", ")}`);if(![Dr.LeftToRight,Dr.RightToLeft].includes(e.inlineDirection))return{postcssPlugin:"postcss-logical-float-and-clear",Once(){}};let[n,s]=M_(e.inlineDirection),o=i=>{let a=i.value.toLowerCase();[US,F_].includes(a)&&(__(i,a===US?n:s,i.prop),i.remove())};return{postcssPlugin:"postcss-logical-float-and-clear",Declaration:{float:o,clear:o}}};Of.postcss=!0;p();d();f();var dn=Be(ut(),1),Tf="js-focus-visible",If=":focus-visible",Lf=t=>{let e=Object.assign({preserve:!0,replaceWith:".focus-visible",disablePolyfillReadyClass:!1},t),r=(0,dn.default)().astSync(e.replaceWith);return{postcssPlugin:"postcss-focus-visible",prepare(){let n=new WeakSet;return{Rule(s,{result:o}){if(n.has(s)||!s.selector.toLowerCase().includes(If))return;let i=s.selectors.flatMap(a=>{if(!a.toLowerCase().includes(If))return[a];let l;try{l=(0,dn.default)().astSync(a)}catch(B){return s.warn(o,`Failed to parse selector : "${a}" with message: "${B instanceof Error?B.message:B}"`),a}if(l===void 0)return[a];let u=!1;if(l.walkPseudos(B=>{B.value.toLowerCase()===If&&(B.nodes&&B.nodes.length||(u=!0,B.replaceWith(r.clone({}))))}),!u)return[a];let c=l.clone();if(!e.disablePolyfillReadyClass){if(l.nodes?.[0]?.nodes?.length)for(let B=0;B<l.nodes[0].nodes.length;B++){let h=l.nodes[0].nodes[B];if(h.type==="combinator"||dn.default.isPseudoElement(h)){l.nodes[0].insertBefore(h,dn.default.className({value:Tf}));break}if(B===l.nodes[0].nodes.length-1){l.nodes[0].append(dn.default.className({value:Tf}));break}}return l.nodes?.[0]?.nodes&&(c.nodes[0].prepend(dn.default.combinator({value:" "})),c.nodes[0].prepend(dn.default.className({value:Tf}))),[l.toString(),c.toString()]}return[l.toString()]});i.join(",")!==s.selectors.join(",")&&(n.add(s),s.cloneBefore({selectors:i}),e.preserve||s.remove())}}}}};Lf.postcss=!0;p();d();f();var Cn=Be(ut(),1),WS=[" ",">","~",":","+","@","#","(",")"];function q_(t){let e=!0;for(let r=0,n=WS.length;r<n&&e;r++)t.indexOf(WS[r])>-1&&(e=!1);return e}var Rf="js-focus-within",Ff=":focus-within",Mf=t=>{let e=Object.assign({preserve:!0,replaceWith:"[focus-within]",disablePolyfillReadyClass:!1},t),r=(0,Cn.default)().astSync(e.replaceWith);return q_(e.replaceWith)?{postcssPlugin:"postcss-focus-within",prepare(){let n=new WeakSet;return{Rule(s,{result:o}){if(n.has(s)||!s.selector.toLowerCase().includes(Ff))return;let i=s.selectors.flatMap(a=>{if(!a.toLowerCase().includes(Ff))return[a];let l;try{l=(0,Cn.default)().astSync(a)}catch(B){return s.warn(o,`Failed to parse selector : "${a}" with message: "${B instanceof Error?B.message:B}"`),a}if(l===void 0)return[a];let u=!1;if(l.walkPseudos(B=>{B.value.toLowerCase()===Ff&&(B.nodes&&B.nodes.length||(u=!0,B.replaceWith(r.clone({}))))}),!u)return[a];let c=l.clone();if(!e.disablePolyfillReadyClass){if(l.nodes?.[0]?.nodes?.length)for(let B=0;B<l.nodes[0].nodes.length;B++){let h=l.nodes[0].nodes[B];if(h.type==="combinator"||Cn.default.isPseudoElement(h)){l.nodes[0].insertBefore(h,Cn.default.className({value:Rf}));break}if(B===l.nodes[0].nodes.length-1){l.nodes[0].append(Cn.default.className({value:Rf}));break}}return l.nodes?.[0]?.nodes&&(c.nodes[0].prepend(Cn.default.combinator({value:" "})),c.nodes[0].prepend(Cn.default.className({value:Rf}))),[l.toString(),c.toString()]}return[l.toString()]});i.join(",")!==s.selectors.join(",")&&(n.add(s),s.cloneBefore({selectors:i}),e.preserve||s.remove())}}}}:{postcssPlugin:"postcss-focus-within",Once:(n,{result:s})=>{n.warn(s,`${e.replaceWith} is not a valid replacement since it can't be applied to single elements.`)}}};Mf.postcss=!0;p();d();f();var _f=Be(He(),1);var V_=["woff","truetype","opentype","woff2","embedded-opentype","collection","svg"],qf=t=>{let e="preserve"in Object(t)&&!!t?.preserve;return{postcssPlugin:"postcss-font-format-keywords",Declaration(r){if(r.prop.toLowerCase()!=="src"||!r.value.toLowerCase().includes("format(")||ce(r))return;let n=r.parent;if(!n||n.type!=="atrule"||n.name.toLowerCase()!=="font-face")return;let s=(0,_f.default)(r.value);s.walk(o=>{o.type==="function"&&o.value.toLowerCase()==="format"&&o.nodes.forEach(i=>{i.type==="word"&&V_.includes(i.value.toLowerCase())&&(i.value=_f.default.stringify({type:"string",value:i.value,quote:'"'}))})}),s.toString()!==r.value&&(r.cloneBefore({value:s.toString()}),e||r.remove())}}};qf.postcss=!0;var Qk=Be(GS(),1);p();d();f();var G_=/\bcolor-gamut\b/i;function H_(t){let e=t.parent;for(;e;)if(e.type==="atrule"){if(e.name.toLowerCase()==="media"&&G_.test(e.params))return!0;e=e.parent}else e=e.parent;return!1}function z_(t){let e=t.prop.toLowerCase(),r=[],n=t.parent?.nodes??[];for(let s=0;s<n.length;s++){let o=n[s];o.type==="decl"&&o.prop.toLowerCase()===e&&r.push(o)}return r}var j_=/\b(?:color|lab|lch|oklab|oklch)\(/i,Q_=/^(?:color|lab|lch|oklab|oklch)$/i,Uf=()=>({postcssPlugin:"postcss-gamut-mapping",prepare(){let t=new WeakMap,e=new WeakSet;return{postcssPlugin:"postcss-gamut-mapping",OnceExit(r,{postcss:n}){r.walkDecls(s=>{if(e.has(s)||!j_.test(s.value)||!s.parent||H_(s))return;let o=z_(s).map((a,l)=>{e.add(a);let u=!1,c=a.value,B=Se(ge(qe({css:c})),g=>{if(!ee(g)||!Q_.test(g.getName()))return;let v=fe(g);return!v||v.syntaxFlags.has(_.HasNoneKeywords)||Ht(v)?void 0:(u||Zx(v)||(u=!0),je(v,!0))}),h=Oe(B);return{isRec2020:u,matchesOriginal:h===c,modifiedValue:h,hasFallback:l>0,item:a}}),i=[];o.reverse();for(let a of o){if(a.matchesOriginal)break;i.push(a)}i.reverse(),i.forEach(({isRec2020:a,modifiedValue:l,hasFallback:u,item:c})=>{let B=c.parent;if(!B)return;let h=t.get(B)||{conditionalRules:[],propNames:new Set,lastConditionParams:{media:void 0},lastConditionalRule:void 0};t.set(B,h);let g=`(color-gamut: ${a?"rec2020":"p3"})`;if(h.lastConditionParams.media!==g&&(h.lastConditionalRule=void 0),!u){let P=c.cloneBefore({value:l});e.add(P)}if(h.lastConditionalRule){let P=c.clone();return h.lastConditionalRule.append(P),e.add(P),void c.remove()}let v=n.atRule({name:"media",params:g,source:B.source,raws:{before:`
|
|
325
|
+
`,c.append(n.clone()),n.remove(),s.lastConditionParams.support=i,s.lastConditionalRule=c,u.append(c),s.conditionalRules.push(l)}),e.walk(n=>{let s=t.get(n);s&&s.conditionalRules.length!==0&&s.conditionalRules.reverse().forEach(o=>{n.after(o)})})}}}});Ee.postcss=!0;p();d();f();var ct=class extends Error{sourceStart;sourceEnd;parserState;constructor(e,r,n,s){super(e),this.name="ParseError",this.sourceStart=r,this.sourceEnd=n,this.parserState=s}},dr=class extends ct{token;constructor(e,r,n,s,o){super(e,r,n,s),this.token=o}},_r={UnexpectedNewLineInString:"Unexpected newline while consuming a string token.",UnexpectedEOFInString:"Unexpected EOF while consuming a string token.",UnexpectedEOFInComment:"Unexpected EOF while consuming a comment.",UnexpectedEOFInURL:"Unexpected EOF while consuming a url token.",UnexpectedEOFInEscapedCodePoint:"Unexpected EOF while consuming an escaped code point.",UnexpectedCharacterInURL:"Unexpected character while consuming a url token.",InvalidEscapeSequenceInURL:"Invalid escape sequence while consuming a url token.",InvalidEscapeSequenceAfterBackslash:'Invalid escape sequence after "\\"'},Lp=class{cursor=0;source="";codePointSource=[];representationIndices=[-1];length=0;representationStart=0;representationEnd=-1;constructor(e){this.source=e;{let r=-1,n="";for(n of e)r+=n.length,this.codePointSource.push(n.codePointAt(0)),this.representationIndices.push(r)}this.length=this.codePointSource.length}advanceCodePoint(e=1){this.cursor=this.cursor+e,this.representationEnd=this.representationIndices[this.cursor]}readCodePoint(e=1){let r=this.codePointSource[this.cursor];return r!==void 0&&(this.cursor=this.cursor+e,this.representationEnd=this.representationIndices[this.cursor],r)}unreadCodePoint(e=1){this.cursor=this.cursor-e,this.representationEnd=this.representationIndices[this.cursor]}resetRepresentation(){this.representationStart=this.representationIndices[this.cursor]+1,this.representationEnd=-1}},yR=typeof globalThis<"u"&&"structuredClone"in globalThis;function As(t){return yR?structuredClone(t):JSON.parse(JSON.stringify(t))}function $(...t){let e="";for(let r=0;r<t.length;r++)e+=t[r][1];return e}var Rp=39,ZD=42,wR=8,no=13,$D=9,bR=58,DR=44,xR=64,SR=127,kR=33,Fp=12,Fl=46,PR=62,Bt=45,AR=31,NR=69,ER=101,OR=123,Mp=40,TR=91,ex=60,so=10,IR=11,LR=95,RR=1114111,FR=0,MR=35,_R=37,ks=43,_p=34,Ep=65533,io=92,qR=125,Ml=41,VR=93,UR=59,WR=14,qp=47,tx=32,Vp=117,Up=85,GR=114,HR=82,zR=108,jR=76,rx=63,QR=48,JR=70;function KR(t){return t.codePointSource[t.cursor]===ex&&t.codePointSource[t.cursor+1]===kR&&t.codePointSource[t.cursor+2]===Bt&&t.codePointSource[t.cursor+3]===Bt}function Et(t){return t>=48&&t<=57}function YR(t){return t>=65&&t<=90}function XR(t){return t>=97&&t<=122}function Fn(t){return Et(t)||t>=97&&t<=102||t>=65&&t<=70}function ZR(t){return XR(t)||YR(t)}function Ps(t){return ZR(t)||$R(t)||t===LR}function Wp(t){return Ps(t)||Et(t)||t===Bt}function $R(t){return t===183||t===8204||t===8205||t===8255||t===8256||t===8204||192<=t&&t<=214||216<=t&&t<=246||248<=t&&t<=893||895<=t&&t<=8191||8304<=t&&t<=8591||11264<=t&&t<=12271||12289<=t&&t<=55295||63744<=t&&t<=64975||65008<=t&&t<=65533||t>=65536}function _l(t){return t===so||t===no||t===Fp}function Mn(t){return t===tx||t===so||t===$D||t===no||t===Fp}function Ns(t){return t.codePointSource[t.cursor]===io&&!_l(t.codePointSource[t.cursor+1])}function ql(t,e){return e.codePointSource[e.cursor]===Bt?e.codePointSource[e.cursor+1]===Bt||!!Ps(e.codePointSource[e.cursor+1])||e.codePointSource[e.cursor+1]===io&&!_l(e.codePointSource[e.cursor+2]):!!Ps(e.codePointSource[e.cursor])||Ns(e)}function XD(t){return t.codePointSource[t.cursor]===ks||t.codePointSource[t.cursor]===Bt?!!Et(t.codePointSource[t.cursor+1])||t.codePointSource[t.cursor+1]===Fl&&Et(t.codePointSource[t.cursor+2]):t.codePointSource[t.cursor]===Fl?Et(t.codePointSource[t.cursor+1]):Et(t.codePointSource[t.cursor])}function eF(t){return t.codePointSource[t.cursor]===qp&&t.codePointSource[t.cursor+1]===ZD}function tF(t){return t.codePointSource[t.cursor]===Bt&&t.codePointSource[t.cursor+1]===Bt&&t.codePointSource[t.cursor+2]===PR}var D,R,Vl;function nx(t){switch(t){case D.OpenParen:return D.CloseParen;case D.CloseParen:return D.OpenParen;case D.OpenCurly:return D.CloseCurly;case D.CloseCurly:return D.OpenCurly;case D.OpenSquare:return D.CloseSquare;case D.CloseSquare:return D.OpenSquare;default:return null}}function sx(t){switch(t[0]){case D.OpenParen:return[D.CloseParen,")",-1,-1,void 0];case D.CloseParen:return[D.OpenParen,"(",-1,-1,void 0];case D.OpenCurly:return[D.CloseCurly,"}",-1,-1,void 0];case D.CloseCurly:return[D.OpenCurly,"{",-1,-1,void 0];case D.OpenSquare:return[D.CloseSquare,"]",-1,-1,void 0];case D.CloseSquare:return[D.OpenSquare,"[",-1,-1,void 0];default:return null}}function rF(t,e){for(e.advanceCodePoint(2);;){let r=e.readCodePoint();if(r===!1){let n=[D.Comment,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new dr(_r.UnexpectedEOFInComment,e.representationStart,e.representationEnd,["4.3.2. Consume comments","Unexpected EOF"],n)),n}if(r===ZD&&e.codePointSource[e.cursor]!==void 0&&e.codePointSource[e.cursor]===qp){e.advanceCodePoint();break}}return[D.Comment,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0]}function Ul(t,e){let r=e.readCodePoint();if(r===!1)return t.onParseError(new ct(_r.UnexpectedEOFInEscapedCodePoint,e.representationStart,e.representationEnd,["4.3.7. Consume an escaped code point","Unexpected EOF"])),Ep;if(Fn(r)){let s=[r];for(;e.codePointSource[e.cursor]!==void 0&&Fn(e.codePointSource[e.cursor])&&s.length<6;)s.push(e.codePointSource[e.cursor]),e.advanceCodePoint();Mn(e.codePointSource[e.cursor])&&e.advanceCodePoint();let o=parseInt(String.fromCodePoint(...s),16);return o===0||(n=o)>=55296&&n<=57343||o>RR?Ep:o}var n;return r}function Wl(t,e){let r=[];for(;;)if(Wp(e.codePointSource[e.cursor]))r.push(e.codePointSource[e.cursor]),e.advanceCodePoint();else{if(!Ns(e))return r;e.advanceCodePoint(),r.push(Ul(t,e))}}function nF(t,e){if(e.advanceCodePoint(),e.codePointSource[e.cursor]!==void 0&&(Wp(e.codePointSource[e.cursor])||Ns(e))){let r=Vl.Unrestricted;ql(0,e)&&(r=Vl.ID);let n=Wl(t,e);return[D.Hash,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...n),type:r}]}return[D.Delim,"#",e.representationStart,e.representationEnd,{value:"#"}]}function sF(t,e){let r=R.Integer;for(e.codePointSource[e.cursor]!==ks&&e.codePointSource[e.cursor]!==Bt||e.advanceCodePoint();Et(e.codePointSource[e.cursor]);)e.advanceCodePoint();if(e.codePointSource[e.cursor]===Fl&&Et(e.codePointSource[e.cursor+1]))for(e.advanceCodePoint(2),r=R.Number;Et(e.codePointSource[e.cursor]);)e.advanceCodePoint();if(e.codePointSource[e.cursor]===ER||e.codePointSource[e.cursor]===NR){if(Et(e.codePointSource[e.cursor+1]))e.advanceCodePoint(2);else{if(e.codePointSource[e.cursor+1]!==Bt&&e.codePointSource[e.cursor+1]!==ks||!Et(e.codePointSource[e.cursor+2]))return r;e.advanceCodePoint(3)}for(r=R.Number;Et(e.codePointSource[e.cursor]);)e.advanceCodePoint()}return r}function Op(t,e){let r;{let o=e.codePointSource[e.cursor];o===Bt?r="-":o===ks&&(r="+")}let n=sF(0,e),s=parseFloat(e.source.slice(e.representationStart,e.representationEnd+1));if(ql(0,e)){let o=Wl(t,e);return[D.Dimension,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:s,signCharacter:r,type:n,unit:String.fromCodePoint(...o)}]}return e.codePointSource[e.cursor]===_R?(e.advanceCodePoint(),[D.Percentage,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:s,signCharacter:r}]):[D.Number,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:s,signCharacter:r,type:n}]}function iF(t){for(;Mn(t.codePointSource[t.cursor]);)t.advanceCodePoint();return[D.Whitespace,t.source.slice(t.representationStart,t.representationEnd+1),t.representationStart,t.representationEnd,void 0]}function oF(t,e){let r="",n=e.readCodePoint();for(;;){let s=e.readCodePoint();if(s===!1){let o=[D.String,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];return t.onParseError(new dr(_r.UnexpectedEOFInString,e.representationStart,e.representationEnd,["4.3.5. Consume a string token","Unexpected EOF"],o)),o}if(_l(s)){e.unreadCodePoint();let o=[D.BadString,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new dr(_r.UnexpectedNewLineInString,e.representationStart,e.codePointSource[e.cursor]===no&&e.codePointSource[e.cursor+1]===so?e.representationEnd+2:e.representationEnd+1,["4.3.5. Consume a string token","Unexpected newline"],o)),o}if(s===n)return[D.String,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];if(s!==io)r+=String.fromCodePoint(s);else{if(e.codePointSource[e.cursor]===void 0)continue;if(_l(e.codePointSource[e.cursor])){e.codePointSource[e.cursor]===no&&e.codePointSource[e.cursor+1]===so&&e.advanceCodePoint(),e.advanceCodePoint();continue}r+=String.fromCodePoint(Ul(t,e))}}}function aF(t){return!(t.length!==3||t[0]!==Vp&&t[0]!==Up||t[1]!==GR&&t[1]!==HR||t[2]!==zR&&t[2]!==jR)}function Tp(t,e){for(;;){if(e.codePointSource[e.cursor]===void 0)return;if(e.codePointSource[e.cursor]===Ml)return void e.advanceCodePoint();Ns(e)?(e.advanceCodePoint(),Ul(t,e)):e.advanceCodePoint()}}function lF(t,e){for(;Mn(e.codePointSource[e.cursor]);)e.advanceCodePoint();let r="";for(;;){if(e.codePointSource[e.cursor]===void 0){let s=[D.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];return t.onParseError(new dr(_r.UnexpectedEOFInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token","Unexpected EOF"],s)),s}if(e.codePointSource[e.cursor]===Ml)return e.advanceCodePoint(),[D.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];if(Mn(e.codePointSource[e.cursor])){for(e.advanceCodePoint();Mn(e.codePointSource[e.cursor]);)e.advanceCodePoint();if(e.codePointSource[e.cursor]===void 0){let s=[D.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}];return t.onParseError(new dr(_r.UnexpectedEOFInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token","Consume as much whitespace as possible","Unexpected EOF"],s)),s}return e.codePointSource[e.cursor]===Ml?(e.advanceCodePoint(),[D.URL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:r}]):(Tp(t,e),[D.BadURL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0])}if(e.codePointSource[e.cursor]===_p||e.codePointSource[e.cursor]===Rp||e.codePointSource[e.cursor]===Mp||(n=e.codePointSource[e.cursor])===IR||n===SR||FR<=n&&n<=wR||WR<=n&&n<=AR){Tp(t,e);let s=[D.BadURL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new dr(_r.UnexpectedCharacterInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token",`Unexpected U+0022 QUOTATION MARK ("), U+0027 APOSTROPHE ('), U+0028 LEFT PARENTHESIS (() or non-printable code point`],s)),s}if(e.codePointSource[e.cursor]===io){if(Ns(e)){e.advanceCodePoint(),r+=String.fromCodePoint(Ul(t,e));continue}Tp(t,e);let s=[D.BadURL,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,void 0];return t.onParseError(new dr(_r.InvalidEscapeSequenceInURL,e.representationStart,e.representationEnd,["4.3.6. Consume a url token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],s)),s}r+=String.fromCodePoint(e.codePointSource[e.cursor]),e.advanceCodePoint()}var n}function Ip(t,e){let r=Wl(t,e);if(e.codePointSource[e.cursor]!==Mp)return[D.Ident,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...r)}];if(aF(r)){e.advanceCodePoint();let n=0;for(;;){let s=Mn(e.codePointSource[e.cursor]),o=Mn(e.codePointSource[e.cursor+1]);if(s&&o){n+=1,e.advanceCodePoint(1);continue}let i=s?e.codePointSource[e.cursor+1]:e.codePointSource[e.cursor];if(i===_p||i===Rp)return n>0&&e.unreadCodePoint(n),[D.Function,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...r)}];break}return lF(t,e)}return e.advanceCodePoint(),[D.Function,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{value:String.fromCodePoint(...r)}]}function uF(t){return!(t.codePointSource[t.cursor]!==Vp&&t.codePointSource[t.cursor]!==Up||t.codePointSource[t.cursor+1]!==ks||t.codePointSource[t.cursor+2]!==rx&&!Fn(t.codePointSource[t.cursor+2]))}function BF(t,e){e.advanceCodePoint(2);let r=[],n=[];for(;e.codePointSource[e.cursor]!==void 0&&r.length<6&&Fn(e.codePointSource[e.cursor]);)r.push(e.codePointSource[e.cursor]),e.advanceCodePoint();for(;e.codePointSource[e.cursor]!==void 0&&r.length<6&&e.codePointSource[e.cursor]===rx;)n.length===0&&n.push(...r),r.push(QR),n.push(JR),e.advanceCodePoint();if(!n.length&&e.codePointSource[e.cursor]===Bt&&Fn(e.codePointSource[e.cursor+1]))for(e.advanceCodePoint();e.codePointSource[e.cursor]!==void 0&&n.length<6&&Fn(e.codePointSource[e.cursor]);)n.push(e.codePointSource[e.cursor]),e.advanceCodePoint();if(!n.length){let i=parseInt(String.fromCodePoint(...r),16);return[D.UnicodeRange,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{startOfRange:i,endOfRange:i}]}let s=parseInt(String.fromCodePoint(...r),16),o=parseInt(String.fromCodePoint(...n),16);return[D.UnicodeRange,e.source.slice(e.representationStart,e.representationEnd+1),e.representationStart,e.representationEnd,{startOfRange:s,endOfRange:o}]}function qe(t,e){let r=Ot(t,e),n=[];{for(;!r.endOfFile();){let o=r.nextToken();o&&n.push(o)}let s=r.nextToken();s&&n.push(s)}return n}function Ot(t,e){let r=t.css.valueOf(),n=t.unicodeRangesAllowed??!1,s=new Lp(r),o={onParseError:e?.onParseError??cF};return{nextToken:function(){s.resetRepresentation();let a=s.codePointSource[s.cursor];if(a===void 0)return[D.EOF,"",-1,-1,void 0];if(a===qp&&eF(s))return rF(o,s);if(n&&(a===Vp||a===Up)&&uF(s))return BF(0,s);if(Ps(a))return Ip(o,s);if(Et(a))return Op(o,s);switch(a){case DR:return s.advanceCodePoint(),[D.Comma,",",s.representationStart,s.representationEnd,void 0];case bR:return s.advanceCodePoint(),[D.Colon,":",s.representationStart,s.representationEnd,void 0];case UR:return s.advanceCodePoint(),[D.Semicolon,";",s.representationStart,s.representationEnd,void 0];case Mp:return s.advanceCodePoint(),[D.OpenParen,"(",s.representationStart,s.representationEnd,void 0];case Ml:return s.advanceCodePoint(),[D.CloseParen,")",s.representationStart,s.representationEnd,void 0];case TR:return s.advanceCodePoint(),[D.OpenSquare,"[",s.representationStart,s.representationEnd,void 0];case VR:return s.advanceCodePoint(),[D.CloseSquare,"]",s.representationStart,s.representationEnd,void 0];case OR:return s.advanceCodePoint(),[D.OpenCurly,"{",s.representationStart,s.representationEnd,void 0];case qR:return s.advanceCodePoint(),[D.CloseCurly,"}",s.representationStart,s.representationEnd,void 0];case Rp:case _p:return oF(o,s);case MR:return nF(o,s);case ks:case Fl:return XD(s)?Op(o,s):(s.advanceCodePoint(),[D.Delim,s.source[s.representationStart],s.representationStart,s.representationEnd,{value:s.source[s.representationStart]}]);case so:case no:case Fp:case $D:case tx:return iF(s);case Bt:return XD(s)?Op(o,s):tF(s)?(s.advanceCodePoint(3),[D.CDC,"-->",s.representationStart,s.representationEnd,void 0]):ql(0,s)?Ip(o,s):(s.advanceCodePoint(),[D.Delim,"-",s.representationStart,s.representationEnd,{value:"-"}]);case ex:return KR(s)?(s.advanceCodePoint(4),[D.CDO,"<!--",s.representationStart,s.representationEnd,void 0]):(s.advanceCodePoint(),[D.Delim,"<",s.representationStart,s.representationEnd,{value:"<"}]);case xR:if(s.advanceCodePoint(),ql(0,s)){let l=Wl(o,s);return[D.AtKeyword,s.source.slice(s.representationStart,s.representationEnd+1),s.representationStart,s.representationEnd,{value:String.fromCodePoint(...l)}]}return[D.Delim,"@",s.representationStart,s.representationEnd,{value:"@"}];case io:{if(Ns(s))return Ip(o,s);s.advanceCodePoint();let l=[D.Delim,"\\",s.representationStart,s.representationEnd,{value:"\\"}];return o.onParseError(new dr(_r.InvalidEscapeSequenceAfterBackslash,s.representationStart,s.representationEnd,["4.3.1. Consume a token","U+005C REVERSE SOLIDUS (\\)","The input stream does not start with a valid escape sequence"],l)),l}}return s.advanceCodePoint(),[D.Delim,s.source[s.representationStart],s.representationStart,s.representationEnd,{value:s.source[s.representationStart]}]},endOfFile:function(){return s.codePointSource[s.cursor]===void 0}}}function cF(){}function ix(t,e){let r=[];for(let s of e)r.push(s.codePointAt(0));let n=String.fromCodePoint(...ox(r));t[1]=n,t[4].value=e}function Gp(t,e){let r=[];for(let a of e)r.push(a.codePointAt(0));let n=ox(r);n[0]===101&&Rl(n,0,n[0]);let s=String.fromCodePoint(...n),o=t[4].signCharacter==="+"?t[4].signCharacter:"",i=t[4].value.toString();t[1]=`${o}${i}${s}`,t[4].unit=e}function ox(t){let e=0;t[0]===Bt&&t[1]===Bt?e=2:t[0]===Bt&&t[1]?(e=2,Ps(t[1])||(e+=Rl(t,1,t[1]))):Ps(t[0])?e=1:(e=1,e+=Rl(t,0,t[0]));for(let r=e;r<t.length;r++)Wp(t[r])||(r+=Rl(t,r,t[r]));return t}function Rl(t,e,r){let n=r.toString(16),s=[];for(let i of n)s.push(i.codePointAt(0));let o=t[e+1];return e===t.length-1||o&&Fn(o)?(t.splice(e,1,92,...s,32),1+s.length):(t.splice(e,1,92,...s),s.length)}(function(t){t.Comment="comment",t.AtKeyword="at-keyword-token",t.BadString="bad-string-token",t.BadURL="bad-url-token",t.CDC="CDC-token",t.CDO="CDO-token",t.Colon="colon-token",t.Comma="comma-token",t.Delim="delim-token",t.Dimension="dimension-token",t.EOF="EOF-token",t.Function="function-token",t.Hash="hash-token",t.Ident="ident-token",t.Number="number-token",t.Percentage="percentage-token",t.Semicolon="semicolon-token",t.String="string-token",t.URL="url-token",t.Whitespace="whitespace-token",t.OpenParen="(-token",t.CloseParen=")-token",t.OpenSquare="[-token",t.CloseSquare="]-token",t.OpenCurly="{-token",t.CloseCurly="}-token",t.UnicodeRange="unicode-range-token"})(D||(D={})),function(t){t.Integer="integer",t.Number="number"}(R||(R={})),function(t){t.Unrestricted="unrestricted",t.ID="id"}(Vl||(Vl={}));var pF=Object.values(D);function oo(t){return!!Array.isArray(t)&&!(t.length<4)&&!!pF.includes(t[0])&&typeof t[1]=="string"&&typeof t[2]=="number"&&typeof t[3]=="number"}function Ve(t){switch(t[0]){case D.Dimension:case D.Number:case D.Percentage:return!0;default:return!1}}function wt(t){switch(t[0]){case D.Whitespace:case D.Comment:return!0;default:return!1}}function ax(t){return!!t&&t[0]===D.Colon}function et(t){return!!t&&t[0]===D.Comma}function ao(t){return!!t&&t[0]===D.Comment}function ze(t){return!!t&&t[0]===D.Delim}function le(t){return!!t&&t[0]===D.Dimension}function pt(t){return!!t&&t[0]===D.EOF}function lx(t){return!!t&&t[0]===D.Function}function ux(t){return!!t&&t[0]===D.Hash}function X(t){return!!t&&t[0]===D.Ident}function j(t){return!!t&&t[0]===D.Number}function Me(t){return!!t&&t[0]===D.Percentage}function Cr(t){return!!t&&t[0]===D.Whitespace}function ln(t){return!!t&&t[0]===D.OpenParen}function Bx(t){return!!t&&t[0]===D.CloseParen}function cx(t){return!!t&&t[0]===D.OpenSquare}function px(t){return!!t&&t[0]===D.OpenCurly}p();d();f();p();d();f();function ft(t,e){return[t[0]*e[0]+t[1]*e[1]+t[2]*e[2],t[3]*e[0]+t[4]*e[1]+t[5]*e[2],t[6]*e[0]+t[7]*e[1]+t[8]*e[2]]}var fF=[1.0479297925449969,.022946870601609652,-.05019226628920524,.02962780877005599,.9904344267538799,-.017073799063418826,-.009243040646204504,.015055191490298152,.7518742814281371];function hr(t){return ft(fF,t)}function dx(t){let e=t[0],r=t[1],n=t[2];function s(o){let i=(o+e/30)%12,a=r*Math.min(n,1-n);return n-a*Math.max(-1,Math.min(i-3,9-i,1))}return e%=360,e<0&&(e+=360),r/=100,n/=100,[s(0),s(8),s(4)]}function dF(t){let e=t[0],r=t[1],n=t[2];if(r/=100,n/=100,r+n>=1){let o=r/(r+n);return[o,o,o]}let s=dx([e,100,50]);for(let o=0;o<3;o++)s[o]*=1-r-n,s[o]+=r;return s}var Cx=[.3457/.3585,1,.2958/.3585];function hx(t){let e=903.2962962962963,r=216/24389,n=[];return n[1]=(t[0]+16)/116,n[0]=t[1]/500+n[1],n[2]=n[1]-t[2]/200,[Math.pow(n[0],3)>r?Math.pow(n[0],3):(116*n[0]-16)/e,t[0]>8?Math.pow((t[0]+16)/116,3):t[0]/e,Math.pow(n[2],3)>r?Math.pow(n[2],3):(116*n[2]-16)/e].map((s,o)=>s*Cx[o])}function Gl(t){return[t[0],t[1]*Math.cos(t[2]*Math.PI/180),t[1]*Math.sin(t[2]*Math.PI/180)]}var CF=[1.2268798758459243,-.5578149944602171,.2813910456659647,-.0405757452148008,1.112286803280317,-.0717110580655164,-.0763729366746601,-.4214933324022432,1.5869240198367816],hF=[1,.3963377773761749,.2158037573099136,1,-.1055613458156586,-.0638541728258133,1,-.0894841775298119,-1.2914855480194092];function lo(t){let e=ft(hF,t);return ft(CF,[e[0]**3,e[1]**3,e[2]**3])}function mF(t){let e=1.09929682680944;return t.map(function(r){let n=r<0?-1:1,s=Math.abs(r);return s<.08124285829863151?r/4.5:n*Math.pow((s+e-1)/e,1/.45)})}var gF=[63426534/99577255,20160776/139408157,47086771/278816314,26158966/99577255,.677998071518871,8267143/139408157,0,19567812/697040785,1.0609850577107909];function Hl(t){return t.map(function(e){let r=e<0?-1:1,n=Math.abs(e);return n<=.04045?e/12.92:r*Math.pow((n+.055)/1.055,2.4)})}function vF(t){return Hl(t)}var yF=[608311/1250200,189793/714400,198249/1000160,35783/156275,247089/357200,198249/2500400,0,32229/714400,5220557/5000800];function Hp(t){return ft(yF,t)}var wF=[.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602];var bF=[573536/994567,263643/1420810,187206/994567,591459/1989134,6239551/9945670,374412/4972835,53769/1989134,351524/4972835,4929758/4972835];var DF=[506752/1228815,87881/245763,12673/70218,87098/409605,175762/245763,12673/175545,7918/409605,87881/737289,1001167/1053270];function Es(t){return ft(DF,t)}var xF=[.955473421488075,-.02309845494876471,.06325924320057072,-.0283697093338637,1.0099953980813041,.021041441191917323,.012314014864481998,-.020507649298898964,1.330365926242124];function mr(t){return ft(xF,t)}var SF=[12831/3959,-329/214,-1974/3959,-851781/878810,1648619/878810,36519/878810,705/12673,-2585/12673,705/667];function Os(t){return ft(SF,t)}function Ts(t){return t.map(function(e){let r=e<0?-1:1,n=Math.abs(e);return n>.0031308?r*(1.055*Math.pow(n,1/2.4)-.055):12.92*e})}function mx(t){let e=t[0],r=t[1],n=t[2],s=Math.max(e,r,n),o=Math.min(e,r,n),i=(o+s)/2,a=s-o,l=NaN,u=0;if(Math.round(1e5*a)!==0){switch(u=Math.round(1e5*i)===0||Math.round(1e5*i)===1e5?0:(s-i)/Math.min(i,1-i),s){case e:l=(r-n)/a+(r<n?6:0);break;case r:l=(n-e)/a+2;break;case n:l=(e-r)/a+4}l*=60}return u<0&&(l+=180,u=Math.abs(u)),l>=360&&(l-=360),[l,100*u,100*i]}var kF=[446124/178915,-333277/357830,-72051/178915,-14852/17905,63121/35810,423/17905,11844/330415,-50337/660830,316169/330415];function zp(t){return ft(kF,t)}function jp(t){return Ts(t)}function gx(t){let e=.008856451679035631,r=24389/27,n=t.map((s,o)=>s/Cx[o]).map(s=>s>e?Math.cbrt(s):(r*s+16)/116);return[116*n[1]-16,500*(n[0]-n[1]),200*(n[1]-n[2])]}var PF=[.819022437996703,.3619062600528904,-.1288737815209879,.0329836539323885,.9292868615863434,.0361446663506424,.0481771893596242,.2642395317527308,.6335478284694309],AF=[.210454268309314,.7936177747023054,-.0040720430116193,1.9779985324311684,-2.42859224204858,.450593709617411,.0259040424655478,.7827717124575296,-.8086757549230774];function uo(t){let e=ft(PF,t);return ft(AF,[Math.cbrt(e[0]),Math.cbrt(e[1]),Math.cbrt(e[2])])}function NF(t){let e=180*Math.atan2(t[2],t[1])/Math.PI;return[t[0],Math.sqrt(Math.pow(t[1],2)+Math.pow(t[2],2)),e>=0?e:e+360]}function zl(t){let e=180*Math.atan2(t[2],t[1])/Math.PI;return[t[0],Math.sqrt(t[1]**2+t[2]**2),e>=0?e:e+360]}var EF=[1829569/896150,-506331/896150,-308931/896150,-851781/878810,1648619/878810,36519/878810,16779/1248040,-147721/1248040,1266979/1248040];var OF=[30757411/17917100,-6372589/17917100,-4539589/17917100,-.666684351832489,1.616481236634939,467509/29648200,792561/44930125,-1921689/44930125,.942103121235474];function TF(t){let e=1.09929682680944;return t.map(function(r){let n=r<0?-1:1,s=Math.abs(r);return s>.018053968510807?n*(e*Math.pow(s,.45)-(e-1)):4.5*r})}var IF=[1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452];function LF(t){let e=.001953125;return t.map(function(r){let n=r<0?-1:1,s=Math.abs(r);return s>=e?n*Math.pow(s,1/1.8):16*r})}function Qp(t){let e=t;return e=Hl(e),e=Es(e),e=hr(e),e}function Bo(t){let e=t;return e=mr(e),e=Os(e),e=Ts(e),e}function vx(t){let e=t;return e=dx(e),e=Hl(e),e=Es(e),e=hr(e),e}function Jp(t){let e=t;return e=mr(e),e=Os(e),e=Ts(e),e=mx(e),e}function yx(t){let e=t;return e=dF(e),e=Hl(e),e=Es(e),e=hr(e),e}function wx(t){let e=t;e=mr(e),e=Os(e);let r=Ts(e);e=mx(r);let n=Math.min(r[0],r[1],r[2]),s=1-Math.max(r[0],r[1],r[2]);return[e[0],100*n,100*s]}function bx(t){let e=t;return e=hx(e),e}function Dx(t){let e=t;return e=gx(e),e}function xx(t){let e=t;var r;return e=[(r=e)[0],r[1]*Math.cos(r[2]*Math.PI/180),r[1]*Math.sin(r[2]*Math.PI/180)],e=hx(e),e}function Sx(t){let e=t;return e=gx(e),e=NF(e),e}function kx(t){let e=t;return e=lo(e),e=hr(e),e}function Px(t){let e=t;return e=mr(e),e=uo(e),e}function Ax(t){let e=t;return e=Gl(e),e=lo(e),e=hr(e),e}function jl(t){let e=t;return e=mr(e),e=uo(e),e=zl(e),e}function Nx(t){let e=t;return e=Es(e),e=hr(e),e}function Ex(t){let e=t;return e=mr(e),e=Os(e),e}function Ox(t){let e=t;return e=e.map(function(r){let n=r<0?-1:1,s=Math.abs(r);return n*Math.pow(s,563/256)}),e=ft(bF,e),e=hr(e),e}function Tx(t){let e=t;return e=mr(e),e=ft(EF,e),e=e.map(function(r){let n=r<0?-1:1,s=Math.abs(r);return n*Math.pow(s,256/563)}),e}function Ix(t){let e=t;return e=vF(e),e=Hp(e),e=hr(e),e}function Ql(t){let e=t;return e=mr(e),e=zp(e),e=jp(e),e}function Lx(t){let e=t;return e=mF(e),e=ft(gF,e),e=hr(e),e}function Rx(t){let e=t;return e=mr(e),e=ft(OF,e),e=TF(e),e}function Fx(t){let e=t;return e=e.map(function(r){let n=r<0?-1:1,s=Math.abs(r);return s<=.03125?r/16:n*Math.pow(s,1.8)}),e=ft(wF,e),e}function Mx(t){let e=t;return e=ft(IF,e),e=LF(e),e}function _x(t){let e=t;return e=hr(e),e}function qx(t){let e=t;return e=mr(e),e}function Kp(t){let[e,r,n]=t;return e>=-1e-4&&e<=1.0001&&r>=-1e-4&&r<=1.0001&&n>=-1e-4&&n<=1.0001}function Jl(t){return t.map(e=>e<0?0:e>1?1:e)}function Yp(t,e,r){let n=t[0],s=t[2],o=e(t),i=e([n,0,s]);for(let a=0;a<4;a++){if(a>0){let u=r(o);u[0]=n,u[2]=s,o=e(u)}let l=RF(i,o.slice());if(!l)break;o=l.slice()}return Jl(o)}function RF(t,e){let r=1/0,n=-1/0,s=[];for(let o=0;o<3;o++){let i=t[o],a=e[o]-i;s.push(a);let l=0,u=1;if(a){let c=1/a,B=(l-i)*c,h=(u-i)*c;n=Math.max(Math.min(B,h),n),r=Math.min(Math.max(B,h),r)}else if(i<l||i>u)return!1}return!(n>r||r<0)&&(n<0&&(n=r),!!isFinite(n)&&[t[0]+s[0]*n,t[1]+s[1]*n,t[2]+s[2]*n])}var Kl={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]};function fx(t){let[e,r,n]=t.map(s=>s<=.03928?s/12.92:Math.pow((s+.055)/1.055,2.4));return .2126*e+.7152*r+.0722*n}function Xp(t,e){let r=fx(t),n=fx(e);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}p();d();f();var Ce;function qn(t){let e=t.slice();return(r,n,s)=>{let o=-1;for(let i=e.indexOf(n);i<e.length&&(o=r.indexOf(e[i]),o===-1||o<s);i++);return o===-1||o===s&&n===r[s]&&(o++,o>=r.length)?-1:(e=r.slice(),o)}}function Xl(t,e){let r=e[0];if(ln(r)||px(r)||cx(r)){let n=MF(t,e);return{advance:n.advance,node:n.node}}if(lx(r)){let n=FF(t,e);return{advance:n.advance,node:n.node}}if(Cr(r)){let n=Vx(t,e);return{advance:n.advance,node:n.node}}if(ao(r)){let n=_F(t,e);return{advance:n.advance,node:n.node}}return{advance:1,node:new V(r)}}(function(t){t.Function="function",t.SimpleBlock="simple-block",t.Whitespace="whitespace",t.Comment="comment",t.Token="token"})(Ce||(Ce={}));var Yl=class{value=[];indexOf(e){return this.value.indexOf(e)}at(e){if(typeof e=="number")return e<0&&(e=this.value.length+e),this.value[e]}forEach(e,r){if(this.value.length===0)return;let n=qn(this.value),s=0;for(;s<this.value.length;){let o=this.value[s],i;if(r&&(i={...r}),e({node:o,parent:this,state:i},s)===!1)return!1;if(s=n(this.value,o,s),s===-1)break}}walk(e,r){this.value.length!==0&&this.forEach((n,s)=>e(n,s)!==!1&&(!("walk"in n.node)||!this.value.includes(n.node)||n.node.walk(e,n.state)!==!1)&&void 0,r)}},ge=class t extends Yl{type=Ce.Function;name;endToken;constructor(e,r,n){super(),this.name=e,this.endToken=r,this.value=n}getName(){return this.name[4].value}normalize(){pt(this.endToken)&&(this.endToken=[D.CloseParen,")",-1,-1,void 0])}tokens(){return pt(this.endToken)?[this.name,...this.value.flatMap(e=>e.tokens())]:[this.name,...this.value.flatMap(e=>e.tokens()),this.endToken]}toString(){let e=this.value.map(r=>oo(r)?$(r):r.toString()).join("");return $(this.name)+e+$(this.endToken)}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens(),value:this.value.map(e=>e.toJSON())}}isFunctionNode(){return t.isFunctionNode(this)}static isFunctionNode(e){return!!e&&e instanceof t&&e.type===Ce.Function}};function FF(t,e){let r=[],n=1;for(;;){let s=e[n];if(!s||pt(s))return t.onParseError(new ct("Unexpected EOF while consuming a function.",e[0][2],e[e.length-1][3],["5.4.9. Consume a function","Unexpected EOF"])),{advance:e.length,node:new ge(e[0],s,r)};if(Bx(s))return{advance:n+1,node:new ge(e[0],s,r)};if(wt(s)){let i=Ux(t,e.slice(n));n+=i.advance,r.push(...i.nodes);continue}let o=Xl(t,e.slice(n));n+=o.advance,r.push(o.node)}}var _n=class t extends Yl{type=Ce.SimpleBlock;startToken;endToken;constructor(e,r,n){super(),this.startToken=e,this.endToken=r,this.value=n}normalize(){if(pt(this.endToken)){let e=sx(this.startToken);e&&(this.endToken=e)}}tokens(){return pt(this.endToken)?[this.startToken,...this.value.flatMap(e=>e.tokens())]:[this.startToken,...this.value.flatMap(e=>e.tokens()),this.endToken]}toString(){let e=this.value.map(r=>oo(r)?$(r):r.toString()).join("");return $(this.startToken)+e+$(this.endToken)}toJSON(){return{type:this.type,startToken:this.startToken,tokens:this.tokens(),value:this.value.map(e=>e.toJSON())}}isSimpleBlockNode(){return t.isSimpleBlockNode(this)}static isSimpleBlockNode(e){return!!e&&e instanceof t&&e.type===Ce.SimpleBlock}};function MF(t,e){let r=nx(e[0][0]);if(!r)throw new Error("Failed to parse, a mirror variant must exist for all block open tokens.");let n=[],s=1;for(;;){let o=e[s];if(!o||pt(o))return t.onParseError(new ct("Unexpected EOF while consuming a simple block.",e[0][2],e[e.length-1][3],["5.4.8. Consume a simple block","Unexpected EOF"])),{advance:e.length,node:new _n(e[0],o,n)};if(o[0]===r)return{advance:s+1,node:new _n(e[0],o,n)};if(wt(o)){let a=Ux(t,e.slice(s));s+=a.advance,n.push(...a.nodes);continue}let i=Xl(t,e.slice(s));s+=i.advance,n.push(i.node)}}var se=class t{type=Ce.Whitespace;value;constructor(e){this.value=e}tokens(){return this.value}toString(){return $(...this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isWhitespaceNode(){return t.isWhitespaceNode(this)}static isWhitespaceNode(e){return!!e&&e instanceof t&&e.type===Ce.Whitespace}};function Vx(t,e){let r=0;for(;;){let n=e[r];if(!Cr(n))return{advance:r,node:new se(e.slice(0,r))};r++}}var co=class t{type=Ce.Comment;value;constructor(e){this.value=e}tokens(){return[this.value]}toString(){return $(this.value)}toJSON(){return{type:this.type,tokens:this.tokens()}}isCommentNode(){return t.isCommentNode(this)}static isCommentNode(e){return!!e&&e instanceof t&&e.type===Ce.Comment}};function _F(t,e){return{advance:1,node:new co(e[0])}}function Ux(t,e){let r=[],n=0;for(;;)if(Cr(e[n])){let s=Vx(0,e.slice(n));n+=s.advance,r.push(s.node)}else{if(!ao(e[n]))return{advance:n,nodes:r};r.push(new co(e[n])),n++}}var V=class t{type=Ce.Token;value;constructor(e){this.value=e}tokens(){return[this.value]}toString(){return this.value[1]}toJSON(){return{type:this.type,tokens:this.tokens()}}isTokenNod(){return t.isTokenNode(this)}static isTokenNode(e){return!!e&&e instanceof t&&e.type===Ce.Token}};function Wx(t,e){let r={onParseError:e?.onParseError??(()=>{})},n=[...t];pt(n[n.length-1])&&n.push([D.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);let s=[],o=0;for(;;){if(!n[o]||pt(n[o]))return s;let i=Xl(r,n.slice(o));s.push(i.node),o+=i.advance}}function ve(t,e){let r={onParseError:e?.onParseError??(()=>{})},n=[...t];if(t.length===0)return[];pt(n[n.length-1])&&n.push([D.EOF,"",n[n.length-1][2],n[n.length-1][3],void 0]);let s=[],o=[],i=0;for(;;){if(!n[i]||pt(n[i]))return o.length&&s.push(o),s;if(et(n[i])){s.push(o),o=[],i++;continue}let a=Xl(r,t.slice(i));o.push(a.node),i+=a.advance}}function Gx(t){let e=new Map;return t.walk(r=>{Array.isArray(r.node)?r.node.forEach(n=>{e.set(n,r.parent)}):e.set(r.node,r.parent)}),e}function qF(t,e,r){if(t.length===0)return;let n=qn(t),s=0;for(;s<t.length;){let o=t[s],i;if(r&&(i={...r}),e({node:o,parent:{value:t},state:i},s)===!1)return!1;if(s=n(t,o,s),s===-1)break}}function po(t,e,r){t.length!==0&&qF(t,(n,s)=>e(n,s)!==!1&&(!("walk"in n.node)||!t.includes(n.node)||n.node.walk(e,n.state)!==!1)&&void 0,r)}function ke(t,e){for(let r=0;r<t.length;r++)po(t[r],(n,s)=>{if(typeof s!="number")return;let o=e(n.node);o&&(Array.isArray(o)?n.parent.value.splice(s,1,...o):n.parent.value.splice(s,1,o))});return t}function Oe(t){return t.map(e=>e.map(r=>$(...r.tokens())).join("")).join(",")}function qr(t){return _n.isSimpleBlockNode(t)}function ee(t){return ge.isFunctionNode(t)}function fe(t){return se.isWhitespaceNode(t)}function he(t){return co.isCommentNode(t)}function Zp(t){return fe(t)||he(t)}function W(t){return V.isTokenNode(t)}p();d();f();var VF=/[A-Z]/g;function Dt(t){return t.replace(VF,e=>String.fromCharCode(e.charCodeAt(0)+32))}var UF={cm:"px",in:"px",mm:"px",pc:"px",pt:"px",px:"px",q:"px",deg:"deg",grad:"deg",rad:"deg",turn:"deg",ms:"s",s:"s",hz:"hz",khz:"hz"},WF=new Map([["cm",t=>t],["mm",t=>10*t],["q",t=>40*t],["in",t=>t/2.54],["pc",t=>t/2.54*6],["pt",t=>t/2.54*72],["px",t=>t/2.54*96]]),eu=new Map([["deg",t=>t],["grad",t=>t/.9],["rad",t=>t/180*Math.PI],["turn",t=>t/360]]),fo=new Map([["deg",t=>.9*t],["grad",t=>t],["rad",t=>.9*t/180*Math.PI],["turn",t=>.9*t/360]]),GF=new Map([["hz",t=>t],["khz",t=>t/1e3]]),HF=new Map([["cm",t=>2.54*t],["mm",t=>25.4*t],["q",t=>25.4*t*4],["in",t=>t],["pc",t=>6*t],["pt",t=>72*t],["px",t=>96*t]]),zF=new Map([["hz",t=>1e3*t],["khz",t=>t]]),jF=new Map([["cm",t=>t/10],["mm",t=>t],["q",t=>4*t],["in",t=>t/25.4],["pc",t=>t/25.4*6],["pt",t=>t/25.4*72],["px",t=>t/25.4*96]]),QF=new Map([["ms",t=>t],["s",t=>t/1e3]]),JF=new Map([["cm",t=>t/6*2.54],["mm",t=>t/6*25.4],["q",t=>t/6*25.4*4],["in",t=>t/6],["pc",t=>t],["pt",t=>t/6*72],["px",t=>t/6*96]]),KF=new Map([["cm",t=>t/72*2.54],["mm",t=>t/72*25.4],["q",t=>t/72*25.4*4],["in",t=>t/72],["pc",t=>t/72*6],["pt",t=>t],["px",t=>t/72*96]]),YF=new Map([["cm",t=>t/96*2.54],["mm",t=>t/96*25.4],["q",t=>t/96*25.4*4],["in",t=>t/96],["pc",t=>t/96*6],["pt",t=>t/96*72],["px",t=>t]]),XF=new Map([["cm",t=>t/4/10],["mm",t=>t/4],["q",t=>t],["in",t=>t/4/25.4],["pc",t=>t/4/25.4*6],["pt",t=>t/4/25.4*72],["px",t=>t/4/25.4*96]]),jx=new Map([["deg",t=>180*t/Math.PI],["grad",t=>180*t/Math.PI/.9],["rad",t=>t],["turn",t=>180*t/Math.PI/360]]),ZF=new Map([["ms",t=>1e3*t],["s",t=>t]]),Co=new Map([["deg",t=>360*t],["grad",t=>360*t/.9],["rad",t=>360*t/180*Math.PI],["turn",t=>t]]),Qx=new Map([["cm",WF],["mm",jF],["q",XF],["in",HF],["pc",JF],["pt",KF],["px",YF],["ms",QF],["s",ZF],["deg",eu],["grad",fo],["rad",jx],["turn",Co],["hz",GF],["khz",zF]]);function Xt(t,e){if(!le(t)||!le(e))return e;let r=Dt(t[4].unit),n=Dt(e[4].unit);if(r===n)return e;let s=Qx.get(n);if(!s)return e;let o=s.get(r);if(!o)return e;let i=o(e[4].value),a=[D.Dimension,"",e[2],e[3],{...e[4],signCharacter:i<0?"-":void 0,type:Number.isInteger(i)?R.Integer:R.Number,value:i}];return Gp(a,t[4].unit),a}function $F(t){if(!le(t))return t;let e=Dt(t[4].unit),r=UF[e];if(e===r)return t;let n=Qx.get(e);if(!n)return t;let s=n.get(r);if(!s)return t;let o=s(t[4].value),i=[D.Dimension,"",t[2],t[3],{...t[4],signCharacter:o<0?"-":void 0,type:Number.isInteger(o)?R.Integer:R.Number,value:o}];return Gp(i,r),i}function eM(t){if(t.length!==2)return-1;let e=t[0].value,r=t[1].value;if(j(e)&&j(r)){let n=e[4].value+r[4].value;return new V([D.Number,n.toString(),e[2],r[3],{value:n,type:e[4].type===R.Integer&&r[4].type===R.Integer?R.Integer:R.Number}])}if(Me(e)&&Me(r)){let n=e[4].value+r[4].value;return new V([D.Percentage,n.toString()+"%",e[2],r[3],{value:n}])}if(le(e)&&le(r)&&(r=Xt(e,r),Dt(e[4].unit)===Dt(r[4].unit))){let n=e[4].value+r[4].value;return new V([D.Dimension,n.toString()+e[4].unit,e[2],r[3],{value:n,type:e[4].type===R.Integer&&r[4].type===R.Integer?R.Integer:R.Number,unit:e[4].unit}])}return-1}function tM(t){if(t.length!==2)return-1;let e=t[0].value,r=t[1].value;if(j(e)&&j(r)){let n=e[4].value/r[4].value;return new V([D.Number,n.toString(),e[2],r[3],{value:n,type:Number.isInteger(n)?R.Integer:R.Number}])}if(Me(e)&&j(r)){let n=e[4].value/r[4].value;return new V([D.Percentage,n.toString()+"%",e[2],r[3],{value:n}])}if(le(e)&&j(r)){let n=e[4].value/r[4].value;return new V([D.Dimension,n.toString()+e[4].unit,e[2],r[3],{value:n,type:Number.isInteger(n)?R.Integer:R.Number,unit:e[4].unit}])}return-1}function Vn(t){return!!t&&typeof t=="object"&&"inputs"in t&&Array.isArray(t.inputs)&&"operation"in t}function Tt(t){if(t===-1)return-1;let e=[];for(let r=0;r<t.inputs.length;r++){let n=t.inputs[r];if(W(n)){e.push(n);continue}let s=Tt(n);if(s===-1)return-1;e.push(s)}return t.operation(e)}function rM(t){if(t.length!==2)return-1;let e=t[0].value,r=t[1].value;if(j(e)&&j(r)){let n=e[4].value*r[4].value;return new V([D.Number,n.toString(),e[2],r[3],{value:n,type:e[4].type===R.Integer&&r[4].type===R.Integer?R.Integer:R.Number}])}if(Me(e)&&j(r)){let n=e[4].value*r[4].value;return new V([D.Percentage,n.toString()+"%",e[2],r[3],{value:n}])}if(j(e)&&Me(r)){let n=e[4].value*r[4].value;return new V([D.Percentage,n.toString()+"%",e[2],r[3],{value:n}])}if(le(e)&&j(r)){let n=e[4].value*r[4].value;return new V([D.Dimension,n.toString()+e[4].unit,e[2],r[3],{value:n,type:e[4].type===R.Integer&&r[4].type===R.Integer?R.Integer:R.Number,unit:e[4].unit}])}if(j(e)&&le(r)){let n=e[4].value*r[4].value;return new V([D.Dimension,n.toString()+r[4].unit,e[2],r[3],{value:n,type:e[4].type===R.Integer&&r[4].type===R.Integer?R.Integer:R.Number,unit:r[4].unit}])}return-1}function Is(t,e){for(let r=0;r<t.length;r++){let n=t[r];if(!W(n))continue;let s=n.value;if(!X(s))continue;let o=Dt(s[4].value);switch(o){case"e":t.splice(r,1,new V([D.Number,Math.E.toString(),s[2],s[3],{value:Math.E,type:R.Number}]));break;case"pi":t.splice(r,1,new V([D.Number,Math.PI.toString(),s[2],s[3],{value:Math.PI,type:R.Number}]));break;case"infinity":t.splice(r,1,new V([D.Number,"infinity",s[2],s[3],{value:1/0,type:R.Number}]));break;case"-infinity":t.splice(r,1,new V([D.Number,"-infinity",s[2],s[3],{value:-1/0,type:R.Number}]));break;case"nan":t.splice(r,1,new V([D.Number,"NaN",s[2],s[3],{value:Number.NaN,type:R.Number}]));break;default:if(e.has(o)){let i=e.get(o);t.splice(r,1,new V(i))}}}return t}function tu(t){if(t.length!==1)return-1;let e=t[0].value;return Ve(e)?t[0]:-1}function un(t,e,r){return le(e)?ho(t,e[4].unit,r):Me(e)?nM(t,r):j(e)?vr(t,r):-1}function ho(t,e,r){let n=t.tokens();return{inputs:[new V([D.Dimension,r.toString()+e,n[0][2],n[n.length-1][3],{value:r,type:Number.isInteger(r)?R.Integer:R.Number,unit:e}])],operation:tu}}function nM(t,e){let r=t.tokens();return{inputs:[new V([D.Percentage,e.toString()+"%",r[0][2],r[r.length-1][3],{value:e}])],operation:tu}}function vr(t,e){let r=t.tokens();return{inputs:[new V([D.Number,e.toString(),r[0][2],r[r.length-1][3],{value:e,type:Number.isInteger(e)?R.Integer:R.Number}])],operation:tu}}function sM(t,e){let r=e.value;return j(r)?ho(t,"rad",Math.acos(r[4].value)):-1}function iM(t,e){let r=e.value;return j(r)?ho(t,"rad",Math.asin(r[4].value)):-1}function oM(t,e){let r=e.value;return j(r)?ho(t,"rad",Math.atan(r[4].value)):-1}function Ls(t){return le(t)||j(t)}function ef(t){if(t.length===0)return!0;let e=t[0];if(!Ve(e))return!1;if(t.length===1)return!0;if(le(e)){let r=Dt(e[4].unit);for(let n=1;n<t.length;n++){let s=t[n];if(e[0]!==s[0]||r!==Dt(s[4].unit))return!1}return!0}for(let r=1;r<t.length;r++){let n=t[r];if(e[0]!==n[0])return!1}return!0}function Un(t,e){return!!Ve(t)&&(le(t)?t[0]===e[0]&&Dt(t[4].unit)===Dt(e[4].unit):t[0]===e[0])}function aM(t,e,r){let n=e.value;if(!Ls(n))return-1;let s=Xt(n,r.value);return Un(n,s)?ho(t,"rad",Math.atan2(n[4].value,s[4].value)):-1}function lM(t,e){let r=e.value;return Ls(r)?un(t,r,Math.abs(r[4].value)):-1}function uM(t,e,r,n){if(!W(e)||!W(r)||!W(n))return-1;let s=e.value;if(!Ve(s))return-1;let o=Xt(s,r.value);if(!Un(s,o))return-1;let i=Xt(s,n.value);return Un(s,i)?un(t,s,Math.max(s[4].value,Math.min(o[4].value,i[4].value))):-1}function BM(t,e){let r=e.value;if(!Ls(r))return-1;let n=r[4].value;if(le(r))switch(r[4].unit.toLowerCase()){case"rad":break;case"deg":n=eu.get("rad")(r[4].value);break;case"grad":n=fo.get("rad")(r[4].value);break;case"turn":n=Co.get("rad")(r[4].value);break;default:return-1}return n=Math.cos(n),vr(t,n)}function cM(t,e){let r=e.value;return j(r)?vr(t,Math.exp(r[4].value)):-1}function pM(t,e){let r=e[0];if(!r||!W(r)||new Set(e.map(a=>a.type)).size!==1)return-1;let n=r.value;if(!Ve(n))return-1;let s=e.map(a=>Xt(n,a.value));if(!ef(s))return-1;let o=s.map(a=>a[4].value),i=Math.hypot(...o);return un(t,n,i)}function Hx(t,e){let r=e[0];if(!r||!W(r)||new Set(e.map(a=>a.type)).size!==1)return-1;let n=r.value;if(!Ve(n))return-1;let s=e.map(a=>Xt(n,a.value));if(!ef(s))return-1;let o=s.map(a=>a[4].value),i=Math.max(...o);return un(t,n,i)}function zx(t,e){let r=e[0];if(!r||!W(r)||new Set(e.map(a=>a.type)).size!==1)return-1;let n=r.value;if(!Ve(n))return-1;let s=e.map(a=>Xt(n,a.value));if(!ef(s))return-1;let o=s.map(a=>a[4].value),i=Math.min(...o);return un(t,n,i)}function fM(t,e,r){let n=e.value;if(!Ve(n))return-1;let s=Xt(n,r.value);if(!Un(n,s))return-1;let o;return o=s[4].value===0?Number.NaN:Number.isFinite(n[4].value)&&(Number.isFinite(s[4].value)||(s[4].value!==Number.POSITIVE_INFINITY||n[4].value!==Number.NEGATIVE_INFINITY&&!Object.is(0*n[4].value,-0))&&(s[4].value!==Number.NEGATIVE_INFINITY||n[4].value!==Number.POSITIVE_INFINITY&&!Object.is(0*n[4].value,0)))?Number.isFinite(s[4].value)?(n[4].value%s[4].value+s[4].value)%s[4].value:n[4].value:Number.NaN,un(t,n,o)}function dM(t,e,r){let n=e.value,s=r.value;return!j(n)||!Un(n,s)?-1:vr(t,Math.pow(n[4].value,s[4].value))}function CM(t,e,r){let n=e.value;if(!Ve(n))return-1;let s=Xt(n,r.value);if(!Un(n,s))return-1;let o;return o=s[4].value===0?Number.NaN:Number.isFinite(n[4].value)?Number.isFinite(s[4].value)?n[4].value%s[4].value:n[4].value:Number.NaN,un(t,n,o)}function hM(t,e,r,n){let s=r.value;if(!Ve(s))return-1;let o=Xt(s,n.value);if(!Un(s,o))return-1;let i;if(o[4].value===0)i=Number.NaN;else if(Number.isFinite(s[4].value)||Number.isFinite(o[4].value))if(!Number.isFinite(s[4].value)&&Number.isFinite(o[4].value))i=s[4].value;else if(Number.isFinite(s[4].value)&&!Number.isFinite(o[4].value))switch(e){case"down":i=s[4].value<0?-1/0:Object.is(-0,0*s[4].value)?-0:0;break;case"up":i=s[4].value>0?1/0:Object.is(0,0*s[4].value)?0:-0;break;default:i=Object.is(0,0*s[4].value)?0:-0}else if(Number.isFinite(o[4].value))switch(e){case"down":i=Math.floor(s[4].value/o[4].value)*o[4].value;break;case"up":i=Math.ceil(s[4].value/o[4].value)*o[4].value;break;case"to-zero":i=Math.trunc(s[4].value/o[4].value)*o[4].value;break;default:{let a=Math.floor(s[4].value/o[4].value)*o[4].value,l=Math.ceil(s[4].value/o[4].value)*o[4].value;if(a>l){let B=a;a=l,l=B}let u=Math.abs(s[4].value-a),c=Math.abs(s[4].value-l);i=u===c?l:u<c?a:l;break}}else i=s[4].value;else i=Number.NaN;return un(t,s,i)}function mM(t,e){let r=e.value;return Ls(r)?vr(t,Math.sign(r[4].value)):-1}function gM(t,e){let r=e.value;if(!Ls(r))return-1;let n=r[4].value;if(le(r))switch(Dt(r[4].unit)){case"rad":break;case"deg":n=eu.get("rad")(r[4].value);break;case"grad":n=fo.get("rad")(r[4].value);break;case"turn":n=Co.get("rad")(r[4].value);break;default:return-1}return n=Math.sin(n),vr(t,n)}function vM(t,e){let r=e.value;return j(r)?vr(t,Math.sqrt(r[4].value)):-1}function yM(t,e){let r=e.value;if(!Ls(r))return-1;let n=r[4].value,s=0,o=r[4].value;if(le(r))switch(Dt(r[4].unit)){case"rad":s=jx.get("deg")(n);break;case"deg":s=n,o=eu.get("rad")(n);break;case"grad":s=fo.get("deg")(n),o=fo.get("rad")(n);break;case"turn":s=Co.get("deg")(n),o=Co.get("rad")(n);break;default:return-1}let i=s/90;return o=s%90==0&&i%2!=0?i>0?1/0:-1/0:Math.tan(o),vr(t,o)}function wM(t){if(t.length!==2)return-1;let e=t[0].value,r=t[1].value;if(j(e)&&j(r)){let n=e[4].value-r[4].value;return new V([D.Number,n.toString(),e[2],r[3],{value:n,type:e[4].type===R.Integer&&r[4].type===R.Integer?R.Integer:R.Number}])}if(Me(e)&&Me(r)){let n=e[4].value-r[4].value;return new V([D.Percentage,n.toString()+"%",e[2],r[3],{value:n}])}if(le(e)&&le(r)&&(r=Xt(e,r),Dt(e[4].unit)===Dt(r[4].unit))){let n=e[4].value-r[4].value;return new V([D.Dimension,n.toString()+e[4].unit,e[2],r[3],{value:n,type:e[4].type===R.Integer&&r[4].type===R.Integer?R.Integer:R.Number,unit:e[4].unit}])}return-1}function bM(t,e){if(e.length===1){let r=e[0];if(!r||!W(r))return-1;let n=r.value;return j(n)?vr(t,Math.log(n[4].value)):-1}if(e.length===2){let r=e[0];if(!r||!W(r))return-1;let n=r.value;if(!j(n))return-1;let s=e[1];if(!s||!W(s))return-1;let o=s.value;return j(o)?vr(t,Math.log(n[4].value)/Math.log(o[4].value)):-1}return-1}var DM=/^none$/i;function $p(t){if(Array.isArray(t)){let r=t.filter(n=>!(fe(n)&&he(n)));return r.length===1&&$p(r[0])}if(!W(t))return!1;let e=t.value;return!!X(e)&&DM.test(e[4].value)}var tf=new Map([["abs",function(e,r){return gr(e,r,lM)}],["acos",function(e,r){return gr(e,r,sM)}],["asin",function(e,r){return gr(e,r,iM)}],["atan",function(e,r){return gr(e,r,oM)}],["atan2",function(e,r){return Zl(e,r,aM)}],["calc",bt],["clamp",function(e,r){let n=Is([...e.value.filter(v=>!he(v)&&!fe(v))],r),s=[],o=[],i=[];{let v=s;for(let w=0;w<n.length;w++){let y=n[w];if(W(y)&&et(y.value)){if(v===i)return-1;if(v===o){v=i;continue}if(v===s){v=o;continue}return-1}v.push(y)}}let a=$p(s),l=$p(i);if(a&&l)return bt(Wt(o),r);let u=Tt(bt(Wt(o),r));if(u===-1)return-1;if(a){let v=Tt(bt(Wt(i),r));return v===-1?-1:zx((c=u,B=v,new ge([D.Function,"min(",-1,-1,{value:"min"}],[D.CloseParen,")",-1,-1,void 0],[c,new V([D.Comma,",",-1,-1,void 0]),B])),[u,v])}if(l){let v=Tt(bt(Wt(s),r));return v===-1?-1:Hx(SM(v,u),[v,u])}var c,B;let h=Tt(bt(Wt(s),r));if(h===-1)return-1;let g=Tt(bt(Wt(i),r));return g===-1?-1:uM(e,h,u,g)}],["cos",function(e,r){return gr(e,r,BM)}],["exp",function(e,r){return gr(e,r,cM)}],["hypot",function(e,r){return $l(e,r,pM)}],["log",function(e,r){return $l(e,r,bM)}],["max",function(e,r){return $l(e,r,Hx)}],["min",function(e,r){return $l(e,r,zx)}],["mod",function(e,r){return Zl(e,r,fM)}],["pow",function(e,r){return Zl(e,r,dM)}],["rem",function(e,r){return Zl(e,r,CM)}],["round",function(e,r){let n=Is([...e.value.filter(c=>!he(c)&&!fe(c))],r),s="",o=!1,i=[],a=[];{let c=i;for(let B=0;B<n.length;B++){let h=n[B];if(!s&&i.length===0&&a.length===0&&W(h)&&X(h.value)){let g=h.value[4].value.toLowerCase();if(xM.has(g)){s=g;continue}}if(W(h)&&et(h.value)){if(c===a)return-1;if(c===i&&s&&i.length===0)continue;if(c===i){o=!0,c=a;continue}return-1}c.push(h)}}let l=Tt(bt(Wt(i),r));if(l===-1)return-1;o||a.length!==0||a.push(new V([D.Number,"1",-1,-1,{value:1,type:R.Integer}]));let u=Tt(bt(Wt(a),r));return u===-1?-1:(s||(s="nearest"),hM(e,s,l,u))}],["sign",function(e,r){return gr(e,r,mM)}],["sin",function(e,r){return gr(e,r,gM)}],["sqrt",function(e,r){return gr(e,r,vM)}],["tan",function(e,r){return gr(e,r,yM)}]]);function bt(t,e){let r=Is([...t.value.filter(s=>!he(s)&&!fe(s))],e);if(r.length===1&&W(r[0]))return{inputs:[r[0]],operation:tu};let n=0;for(;n<r.length;){let s=r[n];if(qr(s)&&ln(s.startToken)){let o=bt(s,e);if(o===-1)return-1;r.splice(n,1,o)}else if(ee(s)){let o=tf.get(s.getName().toLowerCase());if(!o)return-1;let i=o(s,e);if(i===-1)return-1;r.splice(n,1,i)}else n++}if(n=0,r.length===1&&Vn(r[0]))return r[0];for(;n<r.length;){let s=r[n];if(!s||!W(s)&&!Vn(s)){n++;continue}let o=r[n+1];if(!o||!W(o)){n++;continue}let i=o.value;if(!ze(i)||i[4].value!=="*"&&i[4].value!=="/"){n++;continue}let a=r[n+2];if(!a||!W(a)&&!Vn(a))return-1;i[4].value!=="*"?i[4].value!=="/"?n++:r.splice(n,3,{inputs:[s,a],operation:tM}):r.splice(n,3,{inputs:[s,a],operation:rM})}if(n=0,r.length===1&&Vn(r[0]))return r[0];for(;n<r.length;){let s=r[n];if(!s||!W(s)&&!Vn(s)){n++;continue}let o=r[n+1];if(!o||!W(o)){n++;continue}let i=o.value;if(!ze(i)||i[4].value!=="+"&&i[4].value!=="-"){n++;continue}let a=r[n+2];if(!a||!W(a)&&!Vn(a))return-1;i[4].value!=="+"?i[4].value!=="-"?n++:r.splice(n,3,{inputs:[s,a],operation:wM}):r.splice(n,3,{inputs:[s,a],operation:eM})}return r.length===1&&Vn(r[0])?r[0]:-1}function gr(t,e,r){let n=Tt(bt(Wt(Is([...t.value.filter(s=>!he(s)&&!fe(s))],e)),e));return n===-1?-1:r(t,n)}function Zl(t,e,r){let n=Is([...t.value.filter(l=>!he(l)&&!fe(l))],e),s=[],o=[];{let l=s;for(let u=0;u<n.length;u++){let c=n[u];if(W(c)&&et(c.value)){if(l===o)return-1;if(l===s){l=o;continue}return-1}l.push(c)}}let i=Tt(bt(Wt(s),e));if(i===-1)return-1;let a=Tt(bt(Wt(o),e));return a===-1?-1:r(t,i,a)}function $l(t,e,r){let n=Is([...t.value.filter(o=>!he(o)&&!fe(o))],e),s=[];{let o=[],i=[];for(let a=0;a<n.length;a++){let l=n[a];W(l)&&et(l.value)?(o.push(i),i=[]):i.push(l)}o.push(i);for(let a=0;a<o.length;a++){if(o[a].length===0)return-1;let l=Tt(bt(Wt(o[a]),e));if(l===-1)return-1;s.push(l)}}return r(t,s)}var xM=new Set(["nearest","up","down","to-zero"]);function Wt(t){return new ge([D.Function,"calc(",-1,-1,{value:"calc"}],[D.CloseParen,")",-1,-1,void 0],t)}function SM(t,e){return new ge([D.Function,"max(",-1,-1,{value:"max"}],[D.CloseParen,")",-1,-1,void 0],[t,new V([D.Comma,",",-1,-1,void 0]),e])}function kM(t){if(t===-1)return-1;if(ee(t))return t;let e=t.value;return Ve(e)&&Number.isNaN(e[4].value)?j(e)?new ge([D.Function,"calc(",e[2],e[3],{value:"calc"}],[D.CloseParen,")",e[2],e[3],void 0],[new V([D.Ident,"NaN",e[2],e[3],{value:"NaN"}])]):le(e)?new ge([D.Function,"calc(",e[2],e[3],{value:"calc"}],[D.CloseParen,")",e[2],e[3],void 0],[new V([D.Ident,"NaN",e[2],e[3],{value:"NaN"}]),new se([[D.Whitespace," ",e[2],e[3],void 0]]),new V([D.Delim,"*",e[2],e[3],{value:"*"}]),new se([[D.Whitespace," ",e[2],e[3],void 0]]),new V([D.Dimension,"1"+e[4].unit,e[2],e[3],{value:1,type:R.Integer,unit:e[4].unit}])]):Me(e)?new ge([D.Function,"calc(",e[2],e[3],{value:"calc"}],[D.CloseParen,")",e[2],e[3],void 0],[new V([D.Ident,"NaN",e[2],e[3],{value:"NaN"}]),new se([[D.Whitespace," ",e[2],e[3],void 0]]),new V([D.Delim,"*",e[2],e[3],{value:"*"}]),new se([[D.Whitespace," ",e[2],e[3],void 0]]),new V([D.Percentage,"1%",e[2],e[3],{value:1}])]):-1:t}function PM(t){if(t===-1)return-1;if(ee(t))return t;let e=t.value;if(!Ve(e)||Number.isFinite(e[4].value)||Number.isNaN(e[4].value))return t;let r="";return Number.NEGATIVE_INFINITY===e[4].value&&(r="-"),j(e)?new ge([D.Function,"calc(",e[2],e[3],{value:"calc"}],[D.CloseParen,")",e[2],e[3],void 0],[new V([D.Ident,r+"infinity",e[2],e[3],{value:r+"infinity"}])]):le(e)?new ge([D.Function,"calc(",e[2],e[3],{value:"calc"}],[D.CloseParen,")",e[2],e[3],void 0],[new V([D.Ident,r+"infinity",e[2],e[3],{value:r+"infinity"}]),new se([[D.Whitespace," ",e[2],e[3],void 0]]),new V([D.Delim,"*",e[2],e[3],{value:"*"}]),new se([[D.Whitespace," ",e[2],e[3],void 0]]),new V([D.Dimension,"1"+e[4].unit,e[2],e[3],{value:1,type:R.Integer,unit:e[4].unit}])]):new ge([D.Function,"calc(",e[2],e[3],{value:"calc"}],[D.CloseParen,")",e[2],e[3],void 0],[new V([D.Ident,r+"infinity",e[2],e[3],{value:r+"infinity"}]),new se([[D.Whitespace," ",e[2],e[3],void 0]]),new V([D.Delim,"*",e[2],e[3],{value:"*"}]),new se([[D.Whitespace," ",e[2],e[3],void 0]]),new V([D.Percentage,"1%",e[2],e[3],{value:1}])])}function AM(t){if(t===-1)return-1;if(ee(t))return t;let e=t.value;return Ve(e)&&Object.is(-0,e[4].value)&&(e[1]==="-0"||(Me(e)?e[1]="-0%":le(e)?e[1]="-0"+e[4].unit:e[1]="-0")),t}function NM(t,e=13){if(t===-1)return-1;if(e<=0||ee(t))return t;let r=t.value;if(!Ve(r)||Number.isInteger(r[4].value))return t;let n=Number(r[4].value.toFixed(e)).toString();return j(r)?r[1]=n:Me(r)?r[1]=n+"%":le(r)&&(r[1]=n+r[4].unit),t}function EM(t){return t===-1?-1:(ee(t)||le(t.value)&&(t.value=$F(t.value)),t)}function OM(t,e){let r=t;return e?.censorIntoStandardRepresentableValues||(r=kM(r),r=PM(r)),e?.toCanonicalUnits&&(r=EM(r)),r=NM(r,e?.precision),r=AM(r),r}function TM(t){let e=new Map;if(!t)return e;for(let[r,n]of t)if(oo(n))e.set(r,n);else if(typeof n=="string"){let s=Ot({css:n}),o=s.nextToken();if(s.nextToken(),!s.endOfFile()||!o||!Ve(o))continue;e.set(r,o)}return e}function Rs(t,e){return Bn(ve(qe({css:t}),{}),e).map(r=>r.map(n=>$(...n.tokens())).join("")).join(",")}function Bn(t,e){let r=TM(e?.globals);return ke(t,n=>{if(!ee(n))return;let s=tf.get(n.getName().toLowerCase());if(!s)return;let o=OM(Tt(s(n,r)),e);return o!==-1?o:void 0})}var Wn=new Set(tf.keys());var I,_;function dt(t){return[Number.isNaN(t[0])?0:t[0],Number.isNaN(t[1])?0:t[1],Number.isNaN(t[2])?0:t[2]]}function cn(t){switch(t.colorNotation){case I.HEX:case I.RGB:case I.sRGB:return{...t,colorNotation:I.XYZ_D50,channels:Qp(dt(t.channels))};case I.Linear_sRGB:return{...t,colorNotation:I.XYZ_D50,channels:Nx(dt(t.channels))};case I.Display_P3:return{...t,colorNotation:I.XYZ_D50,channels:Ix(dt(t.channels))};case I.Rec2020:return{...t,colorNotation:I.XYZ_D50,channels:Lx(dt(t.channels))};case I.A98_RGB:return{...t,colorNotation:I.XYZ_D50,channels:Ox(dt(t.channels))};case I.ProPhoto_RGB:return{...t,colorNotation:I.XYZ_D50,channels:Fx(dt(t.channels))};case I.HSL:return{...t,colorNotation:I.XYZ_D50,channels:vx(dt(t.channels))};case I.HWB:return{...t,colorNotation:I.XYZ_D50,channels:yx(dt(t.channels))};case I.Lab:return{...t,colorNotation:I.XYZ_D50,channels:bx(dt(t.channels))};case I.OKLab:return{...t,colorNotation:I.XYZ_D50,channels:kx(dt(t.channels))};case I.LCH:return{...t,colorNotation:I.XYZ_D50,channels:xx(dt(t.channels))};case I.OKLCH:return{...t,colorNotation:I.XYZ_D50,channels:Ax(dt(t.channels))};case I.XYZ_D50:return{...t,colorNotation:I.XYZ_D50,channels:dt(t.channels)};case I.XYZ_D65:return{...t,colorNotation:I.XYZ_D50,channels:_x(dt(t.channels))};default:throw new Error("Unsupported color notation")}}(function(t){t.A98_RGB="a98-rgb",t.Display_P3="display-p3",t.HEX="hex",t.HSL="hsl",t.HWB="hwb",t.LCH="lch",t.Lab="lab",t.Linear_sRGB="srgb-linear",t.OKLCH="oklch",t.OKLab="oklab",t.ProPhoto_RGB="prophoto-rgb",t.RGB="rgb",t.sRGB="srgb",t.Rec2020="rec2020",t.XYZ_D50="xyz-d50",t.XYZ_D65="xyz-d65"})(I||(I={})),function(t){t.ColorKeyword="color-keyword",t.HasAlpha="has-alpha",t.HasDimensionValues="has-dimension-values",t.HasNoneKeywords="has-none-keywords",t.HasNumberValues="has-number-values",t.HasPercentageAlpha="has-percentage-alpha",t.HasPercentageValues="has-percentage-values",t.HasVariableAlpha="has-variable-alpha",t.Hex="hex",t.LegacyHSL="legacy-hsl",t.LegacyRGB="legacy-rgb",t.NamedColor="named-color",t.RelativeColorSyntax="relative-color-syntax",t.ColorMix="color-mix",t.ContrastColor="contrast-color",t.Experimental="experimental"}(_||(_={}));var Jx=new Set([I.A98_RGB,I.Display_P3,I.HEX,I.Linear_sRGB,I.ProPhoto_RGB,I.RGB,I.sRGB,I.Rec2020,I.XYZ_D50,I.XYZ_D65]);function pn(t,e){let r={...t};if(t.colorNotation!==e){let n=cn(r);switch(e){case I.HEX:case I.RGB:r.colorNotation=I.RGB,r.channels=Bo(n.channels);break;case I.sRGB:r.colorNotation=I.sRGB,r.channels=Bo(n.channels);break;case I.Linear_sRGB:r.colorNotation=I.Linear_sRGB,r.channels=Ex(n.channels);break;case I.Display_P3:r.colorNotation=I.Display_P3,r.channels=Ql(n.channels);break;case I.Rec2020:r.colorNotation=I.Rec2020,r.channels=Rx(n.channels);break;case I.ProPhoto_RGB:r.colorNotation=I.ProPhoto_RGB,r.channels=Mx(n.channels);break;case I.A98_RGB:r.colorNotation=I.A98_RGB,r.channels=Tx(n.channels);break;case I.HSL:r.colorNotation=I.HSL,r.channels=Jp(n.channels);break;case I.HWB:r.colorNotation=I.HWB,r.channels=wx(n.channels);break;case I.Lab:r.colorNotation=I.Lab,r.channels=Dx(n.channels);break;case I.LCH:r.colorNotation=I.LCH,r.channels=Sx(n.channels);break;case I.OKLCH:r.colorNotation=I.OKLCH,r.channels=jl(n.channels);break;case I.OKLab:r.colorNotation=I.OKLab,r.channels=Px(n.channels);break;case I.XYZ_D50:r.colorNotation=I.XYZ_D50,r.channels=n.channels;break;case I.XYZ_D65:r.colorNotation=I.XYZ_D65,r.channels=qx(n.channels);break;default:throw new Error("Unsupported color notation")}}else r.channels=dt(t.channels);if(e===t.colorNotation)r.channels=xt(t.channels,[0,1,2],r.channels,[0,1,2]);else if(Jx.has(e)&&Jx.has(t.colorNotation))r.channels=xt(t.channels,[0,1,2],r.channels,[0,1,2]);else switch(e){case I.HSL:switch(t.colorNotation){case I.HWB:r.channels=xt(t.channels,[0],r.channels,[0]);break;case I.Lab:case I.OKLab:r.channels=xt(t.channels,[2],r.channels,[0]);break;case I.LCH:case I.OKLCH:r.channels=xt(t.channels,[0,1,2],r.channels,[2,1,0])}break;case I.HWB:switch(t.colorNotation){case I.HSL:r.channels=xt(t.channels,[0],r.channels,[0]);break;case I.LCH:case I.OKLCH:r.channels=xt(t.channels,[0],r.channels,[2])}break;case I.Lab:case I.OKLab:switch(t.colorNotation){case I.HSL:r.channels=xt(t.channels,[0],r.channels,[2]);break;case I.Lab:case I.OKLab:r.channels=xt(t.channels,[0,1,2],r.channels,[0,1,2]);break;case I.LCH:case I.OKLCH:r.channels=xt(t.channels,[0],r.channels,[0])}break;case I.LCH:case I.OKLCH:switch(t.colorNotation){case I.HSL:r.channels=xt(t.channels,[0,1,2],r.channels,[2,1,0]);break;case I.HWB:r.channels=xt(t.channels,[0],r.channels,[2]);break;case I.Lab:case I.OKLab:r.channels=xt(t.channels,[0],r.channels,[0]);break;case I.LCH:case I.OKLCH:r.channels=xt(t.channels,[0,1,2],r.channels,[0,1,2])}}return r.channels=IM(r.channels,e),r}function IM(t,e){let r=[...t];switch(e){case I.HSL:!Number.isNaN(r[1])&&Xe(r[1],4)<=0&&(r[0]=NaN);break;case I.HWB:Math.max(0,Xe(r[1],4))+Math.max(0,Xe(r[2],4))>=100&&(r[0]=NaN);break;case I.LCH:!Number.isNaN(r[1])&&Xe(r[1],4)<=0&&(r[2]=NaN);break;case I.OKLCH:!Number.isNaN(r[1])&&Xe(r[1],6)<=0&&(r[2]=NaN)}return r}function go(t,e){let r=[...t];switch(e){case I.HSL:(Xe(r[2])<=0||Xe(r[2])>=100)&&(r[0]=NaN,r[1]=NaN),Xe(r[1])<=0&&(r[0]=NaN);break;case I.HWB:Math.max(0,Xe(r[1]))+Math.max(0,Xe(r[2]))>=100&&(r[0]=NaN);break;case I.Lab:(Xe(r[0])<=0||Xe(r[0])>=100)&&(r[1]=NaN,r[2]=NaN);break;case I.LCH:Xe(r[1])<=0&&(r[2]=NaN),(Xe(r[0])<=0||Xe(r[0])>=100)&&(r[1]=NaN,r[2]=NaN);break;case I.OKLab:(Xe(r[0])<=0||Xe(r[0])>=1)&&(r[1]=NaN,r[2]=NaN);break;case I.OKLCH:Xe(r[1])<=0&&(r[2]=NaN),(Xe(r[0])<=0||Xe(r[0])>=1)&&(r[1]=NaN,r[2]=NaN)}return r}function xt(t,e,r,n){let s=[...r];for(let o of e)Number.isNaN(t[e[o]])&&(s[n[o]]=NaN);return s}function Yx(t){let e=new Map;switch(t.colorNotation){case I.RGB:case I.HEX:e.set("r",be(255*t.channels[0])),e.set("g",be(255*t.channels[1])),e.set("b",be(255*t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",be(t.alpha));break;case I.HSL:e.set("h",be(t.channels[0])),e.set("s",be(t.channels[1])),e.set("l",be(t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",be(t.alpha));break;case I.HWB:e.set("h",be(t.channels[0])),e.set("w",be(t.channels[1])),e.set("b",be(t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",be(t.alpha));break;case I.Lab:case I.OKLab:e.set("l",be(t.channels[0])),e.set("a",be(t.channels[1])),e.set("b",be(t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",be(t.alpha));break;case I.LCH:case I.OKLCH:e.set("l",be(t.channels[0])),e.set("c",be(t.channels[1])),e.set("h",be(t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",be(t.alpha));break;case I.sRGB:case I.A98_RGB:case I.Display_P3:case I.Rec2020:case I.Linear_sRGB:case I.ProPhoto_RGB:e.set("r",be(t.channels[0])),e.set("g",be(t.channels[1])),e.set("b",be(t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",be(t.alpha));break;case I.XYZ_D50:case I.XYZ_D65:e.set("x",be(t.channels[0])),e.set("y",be(t.channels[1])),e.set("z",be(t.channels[2])),typeof t.alpha=="number"&&e.set("alpha",be(t.alpha))}return e}function Xx(t){let e=new Map(t);for(let[r,n]of t)Number.isNaN(n[4].value)&&e.set(r,be(0));return e}function be(t){return Number.isNaN(t)?[D.Number,"none",-1,-1,{value:Number.NaN,type:R.Number}]:[D.Number,t.toString(),-1,-1,{value:t,type:R.Number}]}function Xe(t,e=7){if(Number.isNaN(t))return 0;let r=Math.pow(10,e);return Math.round(t*r)/r}function Ht(t){let e={...t,channels:[...t.channels]};return e.channels=go(e.channels,e.colorNotation),!pn(e,I.RGB).channels.find(r=>r<-1e-5||r>1.00001)}function Zx(t){let e={...t,channels:[...t.channels]};return e.channels=go(e.channels,e.colorNotation),!pn(e,I.Display_P3).channels.find(r=>r<-1e-5||r>1.00001)}function ie(t,e,r,n){return Math.min(Math.max(t/e,r),n)}var LM=/[A-Z]/g;function Te(t){return t.replace(LM,e=>String.fromCharCode(e.charCodeAt(0)+32))}function mo(t,e,r){if(X(t)&&Te(t[4].value)==="none")return r.syntaxFlags.add(_.HasNoneKeywords),[D.Number,"none",t[2],t[3],{value:NaN,type:R.Number}];if(Me(t)){e!==3&&r.syntaxFlags.add(_.HasPercentageValues);let n=ie(t[4].value,100,-2147483647,2147483647);return e===3&&(n=ie(t[4].value,100,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){e!==3&&r.syntaxFlags.add(_.HasNumberValues);let n=ie(t[4].value,1,-2147483647,2147483647);return e===3&&(n=ie(t[4].value,1,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}var RM=new Set(["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","xyz","xyz-d50","xyz-d65"]);function FM(t,e){let r=[],n=[],s=[],o=[],i,a,l=!1,u=!1,c={colorNotation:I.sRGB,channels:[0,0,0],alpha:1,syntaxFlags:new Set([])},B=r;for(let y=0;y<t.value.length;y++){let P=t.value[y];if(fe(P)||he(P))for(;fe(t.value[y+1])||he(t.value[y+1]);)y++;else if(B===r&&r.length&&(B=n),B===n&&n.length&&(B=s),W(P)&&ze(P.value)&&P.value[4].value==="/"){if(B===o)return!1;B=o}else{if(ee(P)){if(B===o&&Te(P.getName())==="var"){c.syntaxFlags.add(_.HasVariableAlpha),B.push(P);continue}if(!Wn.has(Te(P.getName())))return!1;let[[O]]=Bn([[P]],{censorIntoStandardRepresentableValues:!0,globals:a,precision:-1,toCanonicalUnits:!0});if(!O||!W(O)||!Ve(O.value))return!1;Number.isNaN(O.value[4].value)&&(O.value[4].value=0),P=O}if(B===r&&r.length===0&&W(P)&&X(P.value)&&RM.has(Te(P.value[4].value))){if(l)return!1;l=Te(P.value[4].value),c.colorNotation=MM(l),u&&(u.colorNotation!==c.colorNotation&&(u=pn(u,c.colorNotation)),i=Yx(u),a=Xx(i))}else if(B===r&&r.length===0&&W(P)&&X(P.value)&&Te(P.value[4].value)==="from"){if(u||l)return!1;for(;fe(t.value[y+1])||he(t.value[y+1]);)y++;if(y++,P=t.value[y],u=e(P),u===!1)return!1;u.syntaxFlags.has(_.Experimental)&&c.syntaxFlags.add(_.Experimental),c.syntaxFlags.add(_.RelativeColorSyntax)}else{if(!W(P))return!1;if(X(P.value)&&i&&i.has(Te(P.value[4].value))){B.push(new V(i.get(Te(P.value[4].value))));continue}B.push(P)}}}if(!l||B.length!==1||r.length!==1||n.length!==1||s.length!==1||!W(r[0])||!W(n[0])||!W(s[0])||i&&!i.has("alpha"))return!1;let h=mo(r[0].value,0,c);if(!h||!j(h))return!1;let g=mo(n[0].value,1,c);if(!g||!j(g))return!1;let v=mo(s[0].value,2,c);if(!v||!j(v))return!1;let w=[h,g,v];if(o.length===1)if(c.syntaxFlags.add(_.HasAlpha),W(o[0])){let y=mo(o[0].value,3,c);if(!y||!j(y))return!1;w.push(y)}else c.alpha=o[0];else if(i&&i.has("alpha")){let y=mo(i.get("alpha"),3,c);if(!y||!j(y))return!1;w.push(y)}return c.channels=[w[0][4].value,w[1][4].value,w[2][4].value],w.length===4&&(c.alpha=w[3][4].value),c}function MM(t){switch(t){case"srgb":return I.sRGB;case"srgb-linear":return I.Linear_sRGB;case"display-p3":return I.Display_P3;case"a98-rgb":return I.A98_RGB;case"prophoto-rgb":return I.ProPhoto_RGB;case"rec2020":return I.Rec2020;case"xyz":case"xyz-d65":return I.XYZ_D65;case"xyz-d50":return I.XYZ_D50;default:throw new Error("Unknown color space name: "+t)}}var _M=new Set(["srgb","srgb-linear","display-p3","a98-rgb","prophoto-rgb","rec2020","lab","oklab","xyz","xyz-d50","xyz-d65"]),rf=new Set(["hsl","hwb","lch","oklch"]),qM=new Set(["shorter","longer","increasing","decreasing"]);function VM(t,e){let r=null,n=null,s=null,o=!1;for(let i=0;i<t.value.length;i++){let a=t.value[i];if(!fe(a)&&!he(a)){if(W(a)&&X(a.value)){if(!r&&Te(a.value[4].value)==="in"){r=a;continue}if(r&&!n){n=Te(a.value[4].value);continue}if(r&&n&&!s&&rf.has(n)){s=Te(a.value[4].value);continue}if(r&&n&&s&&!o&&Te(a.value[4].value)==="hue"){o=!0;continue}return!1}return!(!W(a)||!et(a.value))&&!!n&&(s||o?!!(n&&s&&o&&rf.has(n)&&qM.has(s))&&Kx(n,s,nf(t.value.slice(i+1),e)):_M.has(n)?UM(n,nf(t.value.slice(i+1),e)):!!rf.has(n)&&Kx(n,"shorter",nf(t.value.slice(i+1),e)))}}return!1}function nf(t,e){let r=[],n=1,s=!1,o=!1;for(let l=0;l<t.length;l++){let u=t[l];if(!fe(u)&&!he(u)){if(!W(u)||!et(u.value)){if(!s){let c=e(u);if(c){s=c;continue}}if(!o){if(ee(u)&&Wn.has(Te(u.getName()))){if([[u]]=Bn([[u]],{censorIntoStandardRepresentableValues:!0,precision:-1,toCanonicalUnits:!0}),!u||!W(u)||!Ve(u.value))return!1;Number.isNaN(u.value[4].value)&&(u.value[4].value=0)}if(W(u)&&Me(u.value)&&u.value[4].value>=0){o=u.value[4].value;continue}}return!1}if(!s)return!1;r.push({color:s,percentage:o}),s=!1,o=!1}}if(s&&r.push({color:s,percentage:o}),r.length!==2)return!1;let i=r[0].percentage,a=r[1].percentage;return(i===!1||!(i<0||i>100))&&(a===!1||!(a<0||a>100))&&(i===!1&&a===!1?(i=50,a=50):i!==!1&&a===!1?a=100-i:i===!1&&a!==!1&&(i=100-a),(i!==0||a!==0)&&i!==!1&&a!==!1&&(i+a>100&&(i=i/(i+a)*100,a=a/(i+a)*100),i+a<100&&(n=(i+a)/100,i=i/(i+a)*100,a=a/(i+a)*100),{a:{color:r[0].color,percentage:i},b:{color:r[1].color,percentage:a},alphaMultiplier:n}))}function UM(t,e){if(!e)return!1;let r=e.a.color,n=e.b.color,s=e.a.percentage/100,o=r.channels,i=n.channels,a=I.RGB,l=r.alpha;if(typeof l!="number")return!1;let u=n.alpha;if(typeof u!="number")return!1;switch(l=Number.isNaN(l)?u:l,u=Number.isNaN(u)?l:u,t){case"srgb":a=I.RGB;break;case"srgb-linear":a=I.Linear_sRGB;break;case"display-p3":a=I.Display_P3;break;case"a98-rgb":a=I.A98_RGB;break;case"prophoto-rgb":a=I.ProPhoto_RGB;break;case"rec2020":a=I.Rec2020;break;case"lab":a=I.Lab;break;case"oklab":a=I.OKLab;break;case"xyz-d50":a=I.XYZ_D50;break;case"xyz":case"xyz-d65":a=I.XYZ_D65}o=pn(r,a).channels,i=pn(n,a).channels,o[0]=Gt(o[0],i[0]),i[0]=Gt(i[0],o[0]),o[1]=Gt(o[1],i[1]),i[1]=Gt(i[1],o[1]),o[2]=Gt(o[2],i[2]),i[2]=Gt(i[2],o[2]),o[0]=yr(o[0],l),o[1]=yr(o[1],l),o[2]=yr(o[2],l),i[0]=yr(i[0],u),i[1]=yr(i[1],u),i[2]=yr(i[2],u);let c=Zt(l,u,s),B={colorNotation:a,channels:[Gn(Zt(o[0],i[0],s),c),Gn(Zt(o[1],i[1],s),c),Gn(Zt(o[2],i[2],s),c)],alpha:c*e.alphaMultiplier,syntaxFlags:new Set([_.ColorMix])};return(e.a.color.syntaxFlags.has(_.Experimental)||e.b.color.syntaxFlags.has(_.Experimental))&&B.syntaxFlags.add(_.Experimental),B}function Kx(t,e,r){if(!r)return!1;let n=r.a.color,s=r.b.color,o=r.a.percentage/100,i=n.channels,a=s.channels,l=0,u=0,c=0,B=0,h=0,g=0,v=I.RGB,w=n.alpha;if(typeof w!="number")return!1;let y=s.alpha;if(typeof y!="number")return!1;switch(w=Number.isNaN(w)?y:w,y=Number.isNaN(y)?w:y,t){case"hsl":v=I.HSL;break;case"hwb":v=I.HWB;break;case"lch":v=I.LCH;break;case"oklch":v=I.OKLCH}switch(i=pn(n,v).channels,a=pn(s,v).channels,t){case"hsl":case"hwb":l=i[0],u=a[0],c=i[1],B=a[1],h=i[2],g=a[2];break;case"lch":case"oklch":c=i[0],B=a[0],h=i[1],g=a[1],l=i[2],u=a[2]}l=Gt(l,u),Number.isNaN(l)&&(l=0),u=Gt(u,l),Number.isNaN(u)&&(u=0),c=Gt(c,B),B=Gt(B,c),h=Gt(h,g),g=Gt(g,h);let P=u-l;switch(e){case"shorter":P>180?l+=360:P<-180&&(u+=360);break;case"longer":-180<P&&P<180&&(P>0?l+=360:u+=360);break;case"increasing":P<0&&(u+=360);break;case"decreasing":P>0&&(l+=360);break;default:throw new Error("Unknown hue interpolation method")}c=yr(c,w),h=yr(h,w),B=yr(B,y),g=yr(g,y);let O=[0,0,0],E=Zt(w,y,o);switch(t){case"hsl":case"hwb":O=[Zt(l,u,o),Gn(Zt(c,B,o),E),Gn(Zt(h,g,o),E)];break;case"lch":case"oklch":O=[Gn(Zt(c,B,o),E),Gn(Zt(h,g,o),E),Zt(l,u,o)]}let F={colorNotation:v,channels:O,alpha:E*r.alphaMultiplier,syntaxFlags:new Set([_.ColorMix])};return(r.a.color.syntaxFlags.has(_.Experimental)||r.b.color.syntaxFlags.has(_.Experimental))&&F.syntaxFlags.add(_.Experimental),F}function Gt(t,e){return Number.isNaN(t)?e:t}function Zt(t,e,r){return t*r+e*(1-r)}function yr(t,e){return Number.isNaN(e)?t:Number.isNaN(t)?NaN:t*e}function Gn(t,e){return e===0||Number.isNaN(e)?t:Number.isNaN(t)?NaN:t/e}function WM(t){let e=Te(t[4].value);if(e.match(/[^a-f0-9]/))return!1;let r={colorNotation:I.HEX,channels:[0,0,0],alpha:1,syntaxFlags:new Set([_.Hex])},n=e.length;if(n===3){let s=e[0],o=e[1],i=e[2];return r.channels=[parseInt(s+s,16)/255,parseInt(o+o,16)/255,parseInt(i+i,16)/255],r}if(n===6){let s=e[0]+e[1],o=e[2]+e[3],i=e[4]+e[5];return r.channels=[parseInt(s,16)/255,parseInt(o,16)/255,parseInt(i,16)/255],r}if(n===4){let s=e[0],o=e[1],i=e[2],a=e[3];return r.channels=[parseInt(s+s,16)/255,parseInt(o+o,16)/255,parseInt(i+i,16)/255],r.alpha=parseInt(a+a,16)/255,r.syntaxFlags.add(_.HasAlpha),r}if(n===8){let s=e[0]+e[1],o=e[2]+e[3],i=e[4]+e[5],a=e[6]+e[7];return r.channels=[parseInt(s,16)/255,parseInt(o,16)/255,parseInt(i,16)/255],r.alpha=parseInt(a,16)/255,r.syntaxFlags.add(_.HasAlpha),r}return!1}function vo(t){if(j(t))return t[4].value=t[4].value%360,t[1]=t[4].value.toString(),t;if(le(t)){let e=t[4].value;switch(Te(t[4].unit)){case"deg":break;case"rad":e=180*t[4].value/Math.PI;break;case"grad":e=.9*t[4].value;break;case"turn":e=360*t[4].value;break;default:return!1}return e%=360,[D.Number,e.toString(),t[2],t[3],{value:e,type:R.Number}]}return!1}function GM(t,e,r){if(e===0){let n=vo(t);return n!==!1&&(le(t)&&r.syntaxFlags.add(_.HasDimensionValues),n)}if(Me(t)){e===3?r.syntaxFlags.add(_.HasPercentageAlpha):r.syntaxFlags.add(_.HasPercentageValues);let n=ie(t[4].value,1,0,100);return e===3&&(n=ie(t[4].value,100,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){if(e!==3)return!1;let n=ie(t[4].value,1,0,100);return e===3&&(n=ie(t[4].value,1,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}function HM(t,e,r){if(X(t)&&Te(t[4].value)==="none")return r.syntaxFlags.add(_.HasNoneKeywords),[D.Number,"none",t[2],t[3],{value:NaN,type:R.Number}];if(e===0){let n=vo(t);return n!==!1&&(le(t)&&r.syntaxFlags.add(_.HasDimensionValues),n)}if(Me(t)){e===3?r.syntaxFlags.add(_.HasPercentageAlpha):r.syntaxFlags.add(_.HasPercentageValues);let n=t[4].value;return e===3?n=ie(t[4].value,100,0,1):e===1&&(n=ie(t[4].value,1,0,2147483647)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){e!==3&&r.syntaxFlags.add(_.HasNumberValues);let n=t[4].value;return e===3?n=ie(t[4].value,1,0,1):e===1&&(n=ie(t[4].value,1,0,2147483647)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}function $x(t,e,r,n){let s=[],o=[],i=[],a=[],l={colorNotation:r,channels:[0,0,0],alpha:1,syntaxFlags:new Set(n)},u=s;for(let v=0;v<t.value.length;v++){let w=t.value[v];if(!fe(w)&&!he(w)){if(W(w)&&et(w.value)){if(u===s){u=o;continue}if(u===o){u=i;continue}if(u===i){u=a;continue}if(u===a)return!1}if(ee(w)){if(u===a&&w.getName().toLowerCase()==="var"){l.syntaxFlags.add(_.HasVariableAlpha),u.push(w);continue}if(!Wn.has(w.getName().toLowerCase()))return!1;let[[y]]=Bn([[w]],{censorIntoStandardRepresentableValues:!0,precision:-1,toCanonicalUnits:!0});if(!y||!W(y)||!Ve(y.value))return!1;Number.isNaN(y.value[4].value)&&(y.value[4].value=0),w=y}if(!W(w))return!1;u.push(w)}}if(u.length!==1||s.length!==1||o.length!==1||i.length!==1||!W(s[0])||!W(o[0])||!W(i[0]))return!1;let c=e(s[0].value,0,l);if(!c||!j(c))return!1;let B=e(o[0].value,1,l);if(!B||!j(B))return!1;let h=e(i[0].value,2,l);if(!h||!j(h))return!1;let g=[c,B,h];if(a.length===1)if(l.syntaxFlags.add(_.HasAlpha),W(a[0])){let v=e(a[0].value,3,l);if(!v||!j(v))return!1;g.push(v)}else l.alpha=a[0];return l.channels=[g[0][4].value,g[1][4].value,g[2][4].value],g.length===4&&(l.alpha=g[3][4].value),l}function Hn(t,e,r,n,s){let o=[],i=[],a=[],l=[],u,c,B=!1,h={colorNotation:r,channels:[0,0,0],alpha:1,syntaxFlags:new Set(n)},g=o;for(let O=0;O<t.value.length;O++){let E=t.value[O];if(fe(E)||he(E))for(;fe(t.value[O+1])||he(t.value[O+1]);)O++;else if(g===o&&o.length&&(g=i),g===i&&i.length&&(g=a),W(E)&&ze(E.value)&&E.value[4].value==="/"){if(g===l)return!1;g=l}else{if(ee(E)){if(g===l&&E.getName().toLowerCase()==="var"){h.syntaxFlags.add(_.HasVariableAlpha),g.push(E);continue}if(!Wn.has(E.getName().toLowerCase()))return!1;let[[F]]=Bn([[E]],{censorIntoStandardRepresentableValues:!0,globals:c,precision:-1,toCanonicalUnits:!0});if(!F||!W(F)||!Ve(F.value))return!1;Number.isNaN(F.value[4].value)&&(F.value[4].value=0),E=F}if(g===o&&o.length===0&&W(E)&&X(E.value)&&E.value[4].value.toLowerCase()==="from"){if(B)return!1;for(;fe(t.value[O+1])||he(t.value[O+1]);)O++;if(O++,E=t.value[O],B=s(E),B===!1)return!1;B.syntaxFlags.has(_.Experimental)&&h.syntaxFlags.add(_.Experimental),h.syntaxFlags.add(_.RelativeColorSyntax),B.colorNotation!==r&&(B=pn(B,r)),u=Yx(B),c=Xx(u)}else{if(!W(E))return!1;if(X(E.value)&&u){let F=E.value[4].value.toLowerCase();if(u.has(F)){g.push(new V(u.get(F)));continue}}g.push(E)}}}if(g.length!==1||o.length!==1||i.length!==1||a.length!==1||!W(o[0])||!W(i[0])||!W(a[0])||u&&!u.has("alpha"))return!1;let v=e(o[0].value,0,h);if(!v||!j(v))return!1;let w=e(i[0].value,1,h);if(!w||!j(w))return!1;let y=e(a[0].value,2,h);if(!y||!j(y))return!1;let P=[v,w,y];if(l.length===1)if(h.syntaxFlags.add(_.HasAlpha),W(l[0])){let O=e(l[0].value,3,h);if(!O||!j(O))return!1;P.push(O)}else h.alpha=l[0];else if(u&&u.has("alpha")){let O=e(u.get("alpha"),3,h);if(!O||!j(O))return!1;P.push(O)}return h.channels=[P[0][4].value,P[1][4].value,P[2][4].value],P.length===4&&(h.alpha=P[3][4].value),h}function zM(t,e){if(t.value.some(r=>W(r)&&et(r.value))){let r=jM(t);if(r!==!1)return r}{let r=QM(t,e);if(r!==!1)return r}return!1}function jM(t){return $x(t,GM,I.HSL,[_.LegacyHSL])}function QM(t,e){return Hn(t,HM,I.HSL,[],e)}function JM(t,e,r){if(X(t)&&Te(t[4].value)==="none")return r.syntaxFlags.add(_.HasNoneKeywords),[D.Number,"none",t[2],t[3],{value:NaN,type:R.Number}];if(e===0){let n=vo(t);return n!==!1&&(le(t)&&r.syntaxFlags.add(_.HasDimensionValues),n)}if(Me(t)){e===3?r.syntaxFlags.add(_.HasPercentageAlpha):r.syntaxFlags.add(_.HasPercentageValues);let n=t[4].value;return e===3&&(n=ie(t[4].value,100,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){e!==3&&r.syntaxFlags.add(_.HasNumberValues);let n=t[4].value;return e===3&&(n=ie(t[4].value,1,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}function KM(t,e,r){if(X(t)&&Te(t[4].value)==="none")return r.syntaxFlags.add(_.HasNoneKeywords),[D.Number,"none",t[2],t[3],{value:NaN,type:R.Number}];if(Me(t)){e!==3&&r.syntaxFlags.add(_.HasPercentageValues);let n=ie(t[4].value,1,0,100);return e===1||e===2?n=ie(t[4].value,.8,-2147483647,2147483647):e===3&&(n=ie(t[4].value,100,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){e!==3&&r.syntaxFlags.add(_.HasNumberValues);let n=ie(t[4].value,1,0,100);return e===1||e===2?n=ie(t[4].value,1,-2147483647,2147483647):e===3&&(n=ie(t[4].value,1,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}function YM(t,e){return Hn(t,KM,I.Lab,[],e)}function XM(t,e,r){if(X(t)&&Te(t[4].value)==="none")return r.syntaxFlags.add(_.HasNoneKeywords),[D.Number,"none",t[2],t[3],{value:NaN,type:R.Number}];if(e===2){let n=vo(t);return n!==!1&&(le(t)&&r.syntaxFlags.add(_.HasDimensionValues),n)}if(Me(t)){e!==3&&r.syntaxFlags.add(_.HasPercentageValues);let n=ie(t[4].value,1,0,100);return e===1?n=ie(t[4].value,100/150,0,2147483647):e===3&&(n=ie(t[4].value,100,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){e!==3&&r.syntaxFlags.add(_.HasNumberValues);let n=ie(t[4].value,1,0,100);return e===1?n=ie(t[4].value,1,0,2147483647):e===3&&(n=ie(t[4].value,1,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}function ZM(t,e){return Hn(t,XM,I.LCH,[],e)}var eS=new Map;for(let[t,e]of Object.entries(Kl))eS.set(t,e);function $M(t){let e=eS.get(Te(t));return!!e&&{colorNotation:I.RGB,channels:[e[0]/255,e[1]/255,e[2]/255],alpha:1,syntaxFlags:new Set([_.ColorKeyword,_.NamedColor])}}function e7(t,e,r){if(X(t)&&Te(t[4].value)==="none")return r.syntaxFlags.add(_.HasNoneKeywords),[D.Number,"none",t[2],t[3],{value:NaN,type:R.Number}];if(Me(t)){e!==3&&r.syntaxFlags.add(_.HasPercentageValues);let n=ie(t[4].value,100,0,1);return e===1||e===2?n=ie(t[4].value,250,-2147483647,2147483647):e===3&&(n=ie(t[4].value,100,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){e!==3&&r.syntaxFlags.add(_.HasNumberValues);let n=ie(t[4].value,1,0,1);return e===1||e===2?n=ie(t[4].value,1,-2147483647,2147483647):e===3&&(n=ie(t[4].value,1,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}function t7(t,e){return Hn(t,e7,I.OKLab,[],e)}function r7(t,e,r){if(X(t)&&Te(t[4].value)==="none")return r.syntaxFlags.add(_.HasNoneKeywords),[D.Number,"none",t[2],t[3],{value:NaN,type:R.Number}];if(e===2){let n=vo(t);return n!==!1&&(le(t)&&r.syntaxFlags.add(_.HasDimensionValues),n)}if(Me(t)){e!==3&&r.syntaxFlags.add(_.HasPercentageValues);let n=ie(t[4].value,100,0,1);return e===1?n=ie(t[4].value,250,0,2147483647):e===3&&(n=ie(t[4].value,100,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){e!==3&&r.syntaxFlags.add(_.HasNumberValues);let n=ie(t[4].value,1,0,1);return e===1?n=ie(t[4].value,1,0,2147483647):e===3&&(n=ie(t[4].value,1,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}function n7(t,e){return Hn(t,r7,I.OKLCH,[],e)}function s7(t,e,r){if(Me(t)){e===3?r.syntaxFlags.add(_.HasPercentageAlpha):r.syntaxFlags.add(_.HasPercentageValues);let n=ie(t[4].value,100,0,1);return[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){e!==3&&r.syntaxFlags.add(_.HasNumberValues);let n=ie(t[4].value,255,0,1);return e===3&&(n=ie(t[4].value,1,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}function i7(t,e,r){if(X(t)&&t[4].value.toLowerCase()==="none")return r.syntaxFlags.add(_.HasNoneKeywords),[D.Number,"none",t[2],t[3],{value:NaN,type:R.Number}];if(Me(t)){e!==3&&r.syntaxFlags.add(_.HasPercentageValues);let n=ie(t[4].value,100,-2147483647,2147483647);return e===3&&(n=ie(t[4].value,100,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}if(j(t)){e!==3&&r.syntaxFlags.add(_.HasNumberValues);let n=ie(t[4].value,255,-2147483647,2147483647);return e===3&&(n=ie(t[4].value,1,0,1)),[D.Number,n.toString(),t[2],t[3],{value:n,type:R.Number}]}return!1}function o7(t,e){if(t.value.some(r=>W(r)&&et(r.value))){let r=a7(t);if(r!==!1)return(!r.syntaxFlags.has(_.HasNumberValues)||!r.syntaxFlags.has(_.HasPercentageValues))&&r}else{let r=l7(t,e);if(r!==!1)return r}return!1}function a7(t){return $x(t,s7,I.RGB,[_.LegacyRGB])}function l7(t,e){return Hn(t,i7,I.RGB,[],e)}function sf(t){let e=Bo(t);if(Kp(e))return Jl(e);let r=t;return r=jl(r),r[0]<1e-6&&(r=[0,0,0]),r[0]>.999999&&(r=[1,0,0]),Ts(Yp(r,u7,B7))}function u7(t){return t=Gl(t),t=lo(t),Os(t)}function B7(t){return t=Es(t),t=uo(t),zl(t)}function c7(t,e){let r=!1,n=!1;for(let a=0;a<t.value.length;a++){let l=t.value[a];if(!fe(l)&&!he(l)&&(r||(r=e(l),!r))){if(!r||n||!W(l)||!X(l.value)||Te(l.value[4].value)!=="max")return!1;n=!0}}if(!r||!n)return!1;r.channels=dt(r.channels),r.channels=sf(cn(r).channels),r.colorNotation=I.sRGB;let s={colorNotation:I.sRGB,channels:[0,0,0],alpha:1,syntaxFlags:new Set([_.ContrastColor,_.Experimental])},o=Xp(r.channels,[1,1,1]),i=Xp(r.channels,[0,0,0]);return s.channels=o>i?[1,1,1]:[0,0,0],s}function Ke(t,e=7){t=+t,e=+e;let r=(Math.floor(t)+"").length;if(e>r)return+t.toFixed(e-r);{let n=10**(r-e);return Math.round(t/n)*n}}function p7(t){let e=Ql(t);if(Kp(e))return Jl(e);let r=t;return r=jl(r),r[0]<1e-6&&(r=[0,0,0]),r[0]>.999999&&(r=[1,0,0]),jp(Yp(r,f7,d7))}function f7(t){return t=Gl(t),t=lo(t),zp(t)}function d7(t){return t=Hp(t),t=uo(t),zl(t)}function C7(t,e,r,n){let s=[D.CloseParen,")",-1,-1,void 0];if(typeof t.alpha=="number"){let o=Math.min(1,Math.max(0,Ke(Number.isNaN(t.alpha)?0:t.alpha)));return Ke(o,4)===1?new ge(e,s,n):new ge(e,s,[...n,new se([r]),new V([D.Delim,"/",-1,-1,{value:"/"}]),new se([r]),new V([D.Number,Ke(o,4).toString(),-1,-1,{value:t.alpha,type:R.Integer}])])}return new ge(e,s,[...n,new se([r]),new V([D.Delim,"/",-1,-1,{value:"/"}]),new se([r]),t.alpha])}function zt(t,e=!0){t.channels=go(t.channels,t.colorNotation);let r=t.channels.map(l=>Number.isNaN(l)?0:l);t.colorNotation!==I.Display_P3&&(r=e?p7(cn(t).channels):Ql(cn(t).channels));let n=e?Math.min(1,Math.max(0,Ke(r[0],6))):Ke(r[0],6),s=e?Math.min(1,Math.max(0,Ke(r[1],6))):Ke(r[1],6),o=e?Math.min(1,Math.max(0,Ke(r[2],6))):Ke(r[2],6),i=[D.Function,"color(",-1,-1,{value:"color"}],a=[D.Whitespace," ",-1,-1,void 0];return C7(t,i,a,[new V([D.Ident,"display-p3",-1,-1,{value:"display-p3"}]),new se([a]),new V([D.Number,n.toString(),-1,-1,{value:r[0],type:R.Number}]),new se([a]),new V([D.Number,s.toString(),-1,-1,{value:r[1],type:R.Number}]),new se([a]),new V([D.Number,o.toString(),-1,-1,{value:r[2],type:R.Number}])])}function je(t,e=!0){t.channels=go(t.channels,t.colorNotation);let r=t.channels.map(c=>Number.isNaN(c)?0:c);r=e?sf(cn(t).channels):Bo(cn(t).channels);let n=Math.min(255,Math.max(0,Math.round(255*Ke(r[0])))),s=Math.min(255,Math.max(0,Math.round(255*Ke(r[1])))),o=Math.min(255,Math.max(0,Math.round(255*Ke(r[2])))),i=[D.CloseParen,")",-1,-1,void 0],a=[D.Whitespace," ",-1,-1,void 0],l=[D.Comma,",",-1,-1,void 0],u=[new V([D.Number,n.toString(),-1,-1,{value:Math.min(255,255*Math.max(0,r[0])),type:R.Integer}]),new V(l),new se([a]),new V([D.Number,s.toString(),-1,-1,{value:Math.min(255,255*Math.max(0,r[1])),type:R.Integer}]),new V(l),new se([a]),new V([D.Number,o.toString(),-1,-1,{value:Math.min(255,255*Math.max(0,r[2])),type:R.Integer}])];if(typeof t.alpha=="number"){let c=Math.min(1,Math.max(0,Ke(Number.isNaN(t.alpha)?0:t.alpha)));return Ke(c,4)===1?new ge([D.Function,"rgb(",-1,-1,{value:"rgb"}],i,u):new ge([D.Function,"rgba(",-1,-1,{value:"rgba"}],i,[...u,new V(l),new se([a]),new V([D.Number,Ke(c,4).toString(),-1,-1,{value:t.alpha,type:R.Number}])])}return new ge([D.Function,"rgba(",-1,-1,{value:"rgba"}],i,[...u,new V(l),new se([a]),t.alpha])}function tS(t,e=!0){t.channels=go(t.channels,t.colorNotation);let r=t.channels.map(c=>Number.isNaN(c)?0:c);r=Jp(e?Qp(sf(cn(t).channels)):cn(t).channels),r=r.map(c=>Number.isNaN(c)?0:c);let n=Math.min(360,Math.max(0,Math.round(Ke(r[0])))),s=Math.min(100,Math.max(0,Math.round(Ke(r[1])))),o=Math.min(100,Math.max(0,Math.round(Ke(r[2])))),i=[D.CloseParen,")",-1,-1,void 0],a=[D.Whitespace," ",-1,-1,void 0],l=[D.Comma,",",-1,-1,void 0],u=[new V([D.Number,n.toString(),-1,-1,{value:r[0],type:R.Integer}]),new V(l),new se([a]),new V([D.Percentage,s.toString()+"%",-1,-1,{value:r[1]}]),new V(l),new se([a]),new V([D.Percentage,o.toString()+"%",-1,-1,{value:r[2]}])];if(typeof t.alpha=="number"){let c=Math.min(1,Math.max(0,Ke(Number.isNaN(t.alpha)?0:t.alpha)));return Ke(c,4)===1?new ge([D.Function,"hsl(",-1,-1,{value:"hsl"}],i,u):new ge([D.Function,"hsla(",-1,-1,{value:"hsla"}],i,[...u,new V(l),new se([a]),new V([D.Number,Ke(c,4).toString(),-1,-1,{value:t.alpha,type:R.Number}])])}return new ge([D.Function,"hsla(",-1,-1,{value:"hsla"}],i,[...u,new V(l),new se([a]),t.alpha])}function de(t){if(ee(t))switch(Te(t.getName())){case"rgb":case"rgba":return o7(t,de);case"hsl":case"hsla":return zM(t,de);case"hwb":return e=de,Hn(t,JM,I.HWB,[],e);case"lab":return YM(t,de);case"lch":return ZM(t,de);case"oklab":return t7(t,de);case"oklch":return n7(t,de);case"color":return FM(t,de);case"color-mix":return VM(t,de);case"contrast-color":return c7(t,de)}var e;if(W(t)){if(ux(t.value))return WM(t.value);if(X(t.value)){let r=$M(t.value[4].value);return r!==!1?r:Te(t.value[4].value)==="transparent"&&{colorNotation:I.RGB,channels:[0,0,0],alpha:0,syntaxFlags:new Set([_.ColorKeyword])}}}return!1}p();d();f();function pe(t){let e=t.parent;if(!e)return!1;let r=t.prop.toLowerCase(),n=e.index(t);for(let s=0;s<n;s++){let o=e.nodes[s];if(o.type==="decl"&&o.prop.toLowerCase()===r)return!0}return!1}function Ne(t,e){let r=t.parent;for(;r;)if(r.type==="atrule"&&r.name.toLowerCase()==="supports"){if(e.test(r.params))return!0;r=r.parent}else r=r.parent;return!1}var rS=/\bcolor\(/i,h7=/^color$/i,of=t=>({postcssPlugin:"postcss-color-function",Declaration(e){let r=e.value;if(!rS.test(r)||pe(e)||Ne(e,rS))return;let n=qe({css:r}),s=ke(ve(n),i=>{if(!ee(i)||!h7.test(i.getName()))return;let a=de(i);return a&&!(a.syntaxFlags.has(_.Experimental)||a.syntaxFlags.has(_.HasNoneKeywords)||a.syntaxFlags.has(_.RelativeColorSyntax))?je(a):void 0}),o=Oe(s);o!==r&&(e.cloneBefore({value:o}),t?.preserve||e.remove())}});of.postcss=!0;var af=t=>{let e=Object.assign({preserve:!1,enableProgressiveCustomProperties:!0},t);return e.enableProgressiveCustomProperties&&e.preserve?{postcssPlugin:"postcss-color-function",plugins:[Ee(),of(e)]}:of(e)};af.postcss=!0;p();d();f();var m7=/^(?:rgb|hsl)a?$/i,nS=/\b(?:rgb|hsl)a?\(/i,lf=t=>({postcssPlugin:"postcss-color-functional-notation",Declaration(e){let r=e.value;if(!nS.test(r)||pe(e)||Ne(e,nS))return;let n=ke(ve(qe({css:r})),o=>{if(!ee(o)||!m7.test(o.getName()))return;let i=de(o);return!i||i.syntaxFlags.has(_.Experimental)||i.syntaxFlags.has(_.HasNoneKeywords)||i.syntaxFlags.has(_.RelativeColorSyntax)||(i.syntaxFlags.has(_.LegacyRGB)||i.syntaxFlags.has(_.LegacyHSL))&&!i.syntaxFlags.has(_.HasPercentageAlpha)?void 0:i.colorNotation===I.HSL?tS(i):je(i)}),s=Oe(n);s!==r&&(e.cloneBefore({value:s}),t?.preserve||e.remove())}});lf.postcss=!0;var uf=t=>{let e=Object.assign({preserve:!1,enableProgressiveCustomProperties:!0},t);return e.enableProgressiveCustomProperties&&e.preserve?{postcssPlugin:"postcss-color-functional-notation",plugins:[Ee(),lf(e)]}:lf(e)};uf.postcss=!0;p();d();f();var sS=/\bcolor-mix\(/i,iS=/^color-mix$/i,Bf=t=>({postcssPlugin:"postcss-color-mix-function",Declaration(e){let r=e.value;if(!sS.test(r)||pe(e)||Ne(e,sS))return;let n=qe({css:r}),s=ke(ve(n),a=>{if(!ee(a)||!iS.test(a.getName()))return;let l=de(a);return l&&!l.syntaxFlags.has(_.Experimental)?je(l):void 0}),o=Oe(s);if(o===r)return;let i=o;t?.subFeatures.displayP3&&(i=Oe(ke(ve(n),a=>{if(!ee(a)||!iS.test(a.getName()))return;let l=de(a);return l&&!l.syntaxFlags.has(_.Experimental)?Ht(l)?je(l):zt(l):void 0}))),e.cloneBefore({value:o}),t?.subFeatures.displayP3&&i!==o&&e.cloneBefore({value:i}),t?.preserve||e.remove()}});Bf.postcss=!0;var cf=t=>{let e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!1,subFeatures:{displayP3:!0}},t);return e.subFeatures=Object.assign({displayP3:!0},e.subFeatures),e.enableProgressiveCustomProperties&&(e.preserve||e.subFeatures.displayP3)?{postcssPlugin:"postcss-color-mix-function",plugins:[Ee(),Bf(e)]}:Bf(e)};cf.postcss=!0;p();d();f();p();d();f();var pf=class t{parts;constructor(e){this.parts=e}tokens(){return[...this.parts]}slice(e,r){let n=[];for(let o=0;o<this.parts.length;o++)X(this.parts[o])&&n.push(o);let s=n.slice(e,r);return new t(this.parts.slice(s[0],s[s.length-1]+1))}concat(e){let r=[D.Delim,".",-1,-1,{value:"."}];return new t([...this.parts.filter(n=>X(n)||ze(n)),r,...e.parts.filter(n=>X(n)||ze(n))])}segments(){return this.parts.filter(e=>X(e)).map(e=>e[4].value)}name(){return this.parts.filter(e=>X(e)||ze(e)).map(e=>e[1]).join("")}equal(e){let r=this.segments(),n=e.segments();if(r.length!==n.length)return!1;for(let s=0;s<r.length;s++)if(r[s]!==n[s])return!1;return!0}toString(){return $(...this.parts)}toJSON(){return{parts:this.parts,segments:this.segments(),name:this.name()}}};function Vr(t,e){e.forEach(r=>{let n=r.segments();e:for(let s=0;s<n.length;s++){let o=r.slice(0,s+1),i=o.segments(),a=-1,l=0;for(let u=0;u<t.length;u++){let c=t[u].segments(),B=0;t:for(let h=0;h<c.length;h++){let g=c[h],v=i[h];if(v===g&&h+1===i.length)continue e;if(v!==g){if(v!==g)break t}else B++}B>=l&&(a=u,l=B)}a===-1?t.push(o):t.splice(a+1,0,o)}})}function g7(t,e){let r=ve(t,{onParseError:e?.onParseError}),n=e?.onParseError??(()=>{}),s=["6.4.2. Layer Naming and Nesting","Layer name syntax","<layer-name> = <ident> [ '.' <ident> ]*"],o=t[0][2],i=t[t.length-1][3],a=[];for(let l=0;l<r.length;l++){let u=r[l];for(let v=0;v<u.length;v++){let w=u[v];if(!W(w)&&!he(w)&&!fe(w))return n(new ct(`Invalid cascade layer name. Invalid layer name part "${w.toString()}"`,o,i,s)),[]}let c=u.flatMap(v=>v.tokens()),B=!1,h=!1,g=null;for(let v=0;v<c.length;v++){let w=c[v];if(!(wt(w)||X(w)||ze(w)&&w[4].value==="."))return n(new ct(`Invalid cascade layer name. Invalid character "${w[1]}"`,o,i,s)),[];if(!B&&ze(w))return n(new ct("Invalid cascade layer name. Layer names can not start with a dot.",o,i,s)),[];if(B){if(Cr(w)){h=!0;continue}if(h&&ao(w))continue;if(h)return n(new ct("Invalid cascade layer name. Encountered unexpected whitespace between layer name parts.",o,i,s)),[];if(X(g)&&X(w))return n(new ct("Invalid cascade layer name. Layer name parts must be separated by dots.",o,i,s)),[];if(ze(g)&&ze(w))return n(new ct("Invalid cascade layer name. Layer name parts must not be empty.",o,i,s)),[]}X(w)&&(B=!0),(X(w)||ze(w))&&(g=w)}if(!g)return n(new ct("Invalid cascade layer name. Empty layer name.",o,i,s)),[];if(ze(g))return n(new ct("Invalid cascade layer name. Layer name must not end with a dot.",o,i,s)),[];a.push(new pf(c))}return a}function Ur(t,e){let r=Ot({css:t},{onParseError:e?.onParseError}),n=[];for(;!r.endOfFile();)n.push(r.nextToken());return n.push(r.nextToken()),g7(n,e)}p();d();f();var ne;(function(t){t.CustomMedia="custom-media",t.GeneralEnclosed="general-enclosed",t.MediaAnd="media-and",t.MediaCondition="media-condition",t.MediaConditionListWithAnd="media-condition-list-and",t.MediaConditionListWithOr="media-condition-list-or",t.MediaFeature="media-feature",t.MediaFeatureBoolean="mf-boolean",t.MediaFeatureName="mf-name",t.MediaFeaturePlain="mf-plain",t.MediaFeatureRangeNameValue="mf-range-name-value",t.MediaFeatureRangeValueName="mf-range-value-name",t.MediaFeatureRangeValueNameValue="mf-range-value-name-value",t.MediaFeatureValue="mf-value",t.MediaInParens="media-in-parens",t.MediaNot="media-not",t.MediaOr="media-or",t.MediaQueryWithType="media-query-with-type",t.MediaQueryWithoutType="media-query-without-type",t.MediaQueryInvalid="media-query-invalid"})(ne||(ne={}));var ht=class t{type=ne.MediaCondition;media;constructor(e){this.media=e}tokens(){return this.media.tokens()}toString(){return this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,media:this.media.toJSON()}}isMediaCondition(){return t.isMediaCondition(this)}static isMediaCondition(e){return!!e&&e instanceof t&&e.type===ne.MediaCondition}},St=class t{type=ne.MediaInParens;media;before;after;constructor(e,r=[],n=[]){this.media=e,this.before=r,this.after=n}tokens(){return[...this.before,...this.media.tokens(),...this.after]}toString(){return $(...this.before)+this.media.toString()+$(...this.after)}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&("walk"in this.media?this.media.walk(e,n):void 0)}toJSON(){return{type:this.type,media:this.media.toJSON(),before:this.before,after:this.after}}isMediaInParens(){return t.isMediaInParens(this)}static isMediaInParens(e){return!!e&&e instanceof t&&e.type===ne.MediaInParens}},Ms=class t{type=ne.MediaQueryWithType;modifier;mediaType;and=void 0;media=void 0;constructor(e,r,n,s){this.modifier=e,this.mediaType=r,n&&s&&(this.and=n,this.media=s)}getModifier(){if(!this.modifier.length)return"";for(let e=0;e<this.modifier.length;e++){let r=this.modifier[e];if(X(r))return r[4].value}return""}negateQuery(){let e=new t([...this.modifier],[...this.mediaType],this.and,this.media);if(e.modifier.length===0)return e.modifier=[[D.Ident,"not",-1,-1,{value:"not"}],[D.Whitespace," ",-1,-1,void 0]],e;for(let r=0;r<e.modifier.length;r++){let n=e.modifier[r];if(X(n)&&n[4].value.toLowerCase()==="not"){e.modifier.splice(r,1);break}if(X(n)&&n[4].value.toLowerCase()==="only"){n[1]="not",n[4].value="not";break}}return e}getMediaType(){if(!this.mediaType.length)return"";for(let e=0;e<this.mediaType.length;e++){let r=this.mediaType[e];if(X(r))return r[4].value}return""}tokens(){return this.and&&this.media?[...this.modifier,...this.mediaType,...this.and,...this.media.tokens()]:[...this.modifier,...this.mediaType]}toString(){return this.and&&this.media?$(...this.modifier)+$(...this.mediaType)+$(...this.and)+this.media.toString():$(...this.modifier)+$(...this.mediaType)}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;if(r&&(n={...r}),this.media)return e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,string:this.toString(),modifier:this.modifier,mediaType:this.mediaType,and:this.and,media:this.media}}isMediaQueryWithType(){return t.isMediaQueryWithType(this)}static isMediaQueryWithType(e){return!!e&&e instanceof t&&e.type===ne.MediaQueryWithType}},ru=class t{type=ne.MediaQueryWithoutType;media;constructor(e){this.media=e}negateQuery(){let e=this.media;return e.media.type===ne.MediaNot?new t(new ht(e.media.media)):(e.media.type===ne.MediaConditionListWithOr&&(e=new ht(new St(e,[[D.Whitespace," ",0,0,void 0],[D.OpenParen,"(",0,0,void 0]],[[D.CloseParen,")",0,0,void 0]]))),new Ms([[D.Ident,"not",0,0,{value:"not"}],[D.Whitespace," ",0,0,void 0]],[[D.Ident,"all",0,0,{value:"all"}],[D.Whitespace," ",0,0,void 0]],[[D.Ident,"and",0,0,{value:"and"}]],e))}tokens(){return this.media.tokens()}toString(){return this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryWithoutType(){return t.isMediaQueryWithoutType(this)}static isMediaQueryWithoutType(e){return!!e&&e instanceof t&&e.type===ne.MediaQueryWithoutType}},nu=class t{type=ne.MediaQueryInvalid;media;constructor(e){this.media=e}negateQuery(){return new t(this.media)}tokens(){return this.media.flatMap(e=>e.tokens())}toString(){return this.media.map(e=>e.toString()).join("")}walk(e,r){if(this.media.length===0)return;let n=qn(this.media),s=0;for(;s<this.media.length;){let o=this.media[s],i;if(r&&(i={...r}),e({node:o,parent:this,state:i},s)===!1||"walk"in o&&this.media.includes(o)&&o.walk(e,i)===!1)return!1;if(s=n(this.media,o,s),s===-1)break}}toJSON(){return{type:this.type,string:this.toString(),media:this.media}}isMediaQueryInvalid(){return t.isMediaQueryInvalid(this)}static isMediaQueryInvalid(e){return!!e&&e instanceof t&&e.type===ne.MediaQueryInvalid}},bo=class t{type=ne.GeneralEnclosed;value;constructor(e){this.value=e}tokens(){return this.value.tokens()}toString(){return this.value.toString()}indexOf(e){return e===this.value?"value":-1}at(e){if(e==="value")return this.value}walk(e,r){let n;return r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(e,n):void 0)}toJSON(){return{type:this.type,tokens:this.tokens()}}isGeneralEnclosed(){return t.isGeneralEnclosed(this)}static isGeneralEnclosed(e){return!!e&&e instanceof t&&e.type===ne.GeneralEnclosed}},Wr=class t{type=ne.MediaAnd;modifier;media;constructor(e,r){this.modifier=e,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return $(...this.modifier)+this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){return e==="media"?this.media:null}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaAnd(){return t.isMediaAnd(this)}static isMediaAnd(e){return!!e&&e instanceof t&&e.type===ne.MediaAnd}},_s=class t{type=ne.MediaConditionListWithAnd;leading;list;before;after;constructor(e,r,n=[],s=[]){this.leading=e,this.list=r,this.before=n,this.after=s}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(e=>e.tokens()),...this.after]}toString(){return $(...this.before)+this.leading.toString()+this.list.map(e=>e.toString()).join("")+$(...this.after)}indexOf(e){return e===this.leading?"leading":e.type===ne.MediaAnd?this.list.indexOf(e):-1}at(e){return e==="leading"?this.leading:typeof e=="number"?(e<0&&(e=this.list.length+e),this.list[e]):void 0}walk(e,r){let n;if(r&&(n={...r}),e({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(e,n)===!1)return!1;if(this.list.length===0)return;let s=qn(this.list),o=0;for(;o<this.list.length;){let i=this.list[o];if(r&&(n={...r}),e({node:i,parent:this,state:n},o)===!1||"walk"in i&&this.list.includes(i)&&i.walk(e,n)===!1)return!1;if(o=s(this.list,i,o),o===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(e=>e.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithAnd(){return t.isMediaConditionListWithAnd(this)}static isMediaConditionListWithAnd(e){return!!e&&e instanceof t&&e.type===ne.MediaConditionListWithAnd}},su=class t{type=ne.MediaConditionListWithOr;leading;list;before;after;constructor(e,r,n=[],s=[]){this.leading=e,this.list=r,this.before=n,this.after=s}tokens(){return[...this.before,...this.leading.tokens(),...this.list.flatMap(e=>e.tokens()),...this.after]}toString(){return $(...this.before)+this.leading.toString()+this.list.map(e=>e.toString()).join("")+$(...this.after)}indexOf(e){return e===this.leading?"leading":e.type===ne.MediaOr?this.list.indexOf(e):-1}at(e){return e==="leading"?this.leading:typeof e=="number"?(e<0&&(e=this.list.length+e),this.list[e]):void 0}walk(e,r){let n;if(r&&(n={...r}),e({node:this.leading,parent:this,state:n},"leading")===!1||"walk"in this.leading&&this.leading.walk(e,n)===!1)return!1;if(this.list.length===0)return;let s=qn(this.list),o=0;for(;o<this.list.length;){let i=this.list[o];if(r&&(n={...r}),e({node:i,parent:this,state:n},o)===!1||"walk"in i&&this.list.includes(i)&&i.walk(e,n)===!1)return!1;if(o=s(this.list,i,o),o===-1)break}}toJSON(){return{type:this.type,leading:this.leading.toJSON(),list:this.list.map(e=>e.toJSON()),before:this.before,after:this.after}}isMediaConditionListWithOr(){return t.isMediaConditionListWithOr(this)}static isMediaConditionListWithOr(e){return!!e&&e instanceof t&&e.type===ne.MediaConditionListWithOr}};function uS(t){return!!(W(t)&&j(t.value)||ee(t)&&v7.has(t.getName().toLowerCase()))}var v7=new Set(["abs","acos","asin","atan","atan2","calc","clamp","cos","exp","hypot","log","max","min","mod","pow","rem","round","sign","sin","sqrt","tan"]);function y7(t){return W(t)&&le(t.value)}function So(t){return W(t)&&X(t.value)}function w7(t){return ee(t)&&t.getName().toLowerCase()==="env"}var iu=class t{type=ne.MediaFeatureName;name;before;after;constructor(e,r=[],n=[]){this.name=e,this.before=r,this.after=n}getName(){return this.name.value[4].value}getNameToken(){return this.name.value}tokens(){return[...this.before,...this.name.tokens(),...this.after]}toString(){return $(...this.before)+this.name.toString()+$(...this.after)}indexOf(e){return e===this.name?"name":-1}at(e){if(e==="name")return this.name}toJSON(){return{type:this.type,name:this.getName(),tokens:this.tokens()}}isMediaFeatureName(){return t.isMediaFeatureName(this)}static isMediaFeatureName(e){return!!e&&e instanceof t&&e.type===ne.MediaFeatureName}};function wo(t){let e=-1;for(let r=0;r<t.length;r++){let n=t[r];if(n.type!==Ce.Whitespace&&n.type!==Ce.Comment){if(!So(n)||e!==-1)return!1;e=r}}return e!==-1&&new iu(t[e],t.slice(0,e).flatMap(r=>r.tokens()),t.slice(e+1).flatMap(r=>r.tokens()))}var ou=class t{type=ne.MediaFeatureBoolean;name;constructor(e){this.name=e}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return this.name.tokens()}toString(){return this.name.toString()}indexOf(e){return e===this.name?"name":-1}at(e){if(e==="name")return this.name}toJSON(){return{type:this.type,name:this.name.toJSON(),tokens:this.tokens()}}isMediaFeatureBoolean(){return t.isMediaFeatureBoolean(this)}static isMediaFeatureBoolean(e){return!!e&&e instanceof t&&e.type===ne.MediaFeatureBoolean}};function b7(t){let e=wo(t);return e===!1?e:new ou(e)}var au=class t{type=ne.MediaFeatureValue;value;before;after;constructor(e,r=[],n=[]){Array.isArray(e)&&e.length===1?this.value=e[0]:this.value=e,this.before=r,this.after=n}tokens(){return Array.isArray(this.value)?[...this.before,...this.value.flatMap(e=>e.tokens()),...this.after]:[...this.before,...this.value.tokens(),...this.after]}toString(){return Array.isArray(this.value)?$(...this.before)+this.value.map(e=>e.toString()).join("")+$(...this.after):$(...this.before)+this.value.toString()+$(...this.after)}indexOf(e){return e===this.value?"value":-1}at(e){return e==="value"?this.value:Array.isArray(this.value)&&typeof e=="number"?(e<0&&(e=this.value.length+e),this.value[e]):void 0}walk(e,r){if(Array.isArray(this.value)){if(this.value.length===0)return;let n=qn(this.value),s=0;for(;s<this.value.length;){let o=this.value[s],i;if(r&&(i={...r}),e({node:o,parent:this,state:i},s)===!1||"walk"in o&&this.value.includes(o)&&o.walk(e,i)===!1)return!1;if(s=n(this.value,o,s),s===-1)break}}else{let n;if(r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")===!1)return!1;if("walk"in this.value)return this.value.walk(e,n)}}toJSON(){return Array.isArray(this.value)?{type:this.type,value:this.value.map(e=>e.toJSON()),tokens:this.tokens()}:{type:this.type,value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureValue(){return t.isMediaFeatureValue(this)}static isMediaFeatureValue(e){return!!e&&e instanceof t&&e.type===ne.MediaFeatureValue}};function yo(t,e=!1){let r=-1,n=-1;for(let s=0;s<t.length;s++){let o=t[s];if(o.type!==Ce.Whitespace&&o.type!==Ce.Comment){if(r!==-1)return!1;if(uS(o)){let i=ko(t.slice(s));if(i!==-1){r=i[0]+s,n=i[1]+s,s+=i[1]-i[0];continue}r=s,n=s}else if(w7(o))r=s,n=s;else if(y7(o))r=s,n=s;else{if(e||!So(o))return!1;r=s,n=s}}}return r!==-1&&new au(t.slice(r,n+1),t.slice(0,r).flatMap(s=>s.tokens()),t.slice(n+1).flatMap(s=>s.tokens()))}function ko(t){let e=-1,r=-1,n=df(t);if(n===-1)return-1;e=n[0],r=n[1];for(let s=r+1;s<t.length;s++){let o=t[s];if(!Zp(o))return-1}return[e,r]}function df(t){let e=-1,r=-1;for(let n=0;n<t.length;n++){let s=t[n];if(!Zp(s)){if(W(s)){let o=s.value;if(ze(o)&&o[4].value==="/"){if(e===-1||r!==-1)return-1;r=n;continue}}if(!uS(s))return-1;if(r!==-1)return[e,n];if(e!==-1)return-1;e=n}}return-1}var Do=class t{type=ne.MediaFeaturePlain;name;colon;value;constructor(e,r,n){this.name=e,this.colon=r,this.value=n}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),this.colon,...this.value.tokens()]}toString(){return this.name.toString()+$(this.colon)+this.value.toString()}indexOf(e){return e===this.name?"name":e===this.value?"value":-1}at(e){return e==="name"?this.name:e==="value"?this.value:void 0}walk(e,r){let n;return r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")!==!1&&this.value.walk(e,n)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeaturePlain(){return t.isMediaFeaturePlain(this)}static isMediaFeaturePlain(e){return!!e&&e instanceof t&&e.type===ne.MediaFeaturePlain}};function D7(t){let e=[],r=[],n=null;for(let i=0;i<t.length;i++){let a=t[i];if(a.type===Ce.Token){let l=a.value;if(ax(l)){e=t.slice(0,i),r=t.slice(i+1),n=l;break}}}if(!e.length||!r.length||!n)return!1;let s=wo(e);if(s===!1)return!1;let o=yo(r);return o!==!1&&new Do(s,n,o)}var Ue,tt,jt,Fs;function x7(t){let e=-1;for(let r=0;r<t.length;r++){let n=t[r];if(n.type===Ce.Token){let s=n.value;if(ze(s)){if(s[4].value===jt.EQ)return e!==-1?[e,r]:[r,r];if(s[4].value===Ue.LT){e=r;continue}if(s[4].value===tt.GT){e=r;continue}}}break}return e!==-1&&[e,e]}function qs(t){if(t.length!==1&&t.length!==2||!ze(t[0]))return!1;if(t.length===1)switch(t[0][4].value){case jt.EQ:return jt.EQ;case Ue.LT:return Ue.LT;case tt.GT:return tt.GT;default:return!1}if(!ze(t[1])||t[1][4].value!==jt.EQ)return!1;switch(t[0][4].value){case Ue.LT:return Ue.LT_OR_EQ;case tt.GT:return tt.GT_OR_EQ;default:return!1}}function BS(t){switch(t){case jt.EQ:return jt.EQ;case Ue.LT:return tt.GT;case Ue.LT_OR_EQ:return tt.GT_OR_EQ;case tt.GT:return Ue.LT;case tt.GT_OR_EQ:return Ue.LT_OR_EQ;default:return!1}}(function(t){t.LT="<",t.LT_OR_EQ="<="})(Ue||(Ue={})),function(t){t.GT=">",t.GT_OR_EQ=">="}(tt||(tt={})),function(t){t.EQ="="}(jt||(jt={}));var lu=class t{type=ne.MediaFeatureRangeNameValue;name;operator;value;constructor(e,r,n){this.name=e,this.operator=r,this.value=n}operatorKind(){return qs(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.name.tokens(),...this.operator,...this.value.tokens()]}toString(){return this.name.toString()+$(...this.operator)+this.value.toString()}indexOf(e){return e===this.name?"name":e===this.value?"value":-1}at(e){return e==="name"?this.name:e==="value"?this.value:void 0}walk(e,r){let n;return r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(e,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeNameValue(){return t.isMediaFeatureRangeNameValue(this)}static isMediaFeatureRangeNameValue(e){return!!e&&e instanceof t&&e.type===ne.MediaFeatureRangeNameValue}},uu=class t{type=ne.MediaFeatureRangeValueName;name;operator;value;constructor(e,r,n){this.name=e,this.operator=r,this.value=n}operatorKind(){return qs(this.operator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.value.tokens(),...this.operator,...this.name.tokens()]}toString(){return this.value.toString()+$(...this.operator)+this.name.toString()}indexOf(e){return e===this.name?"name":e===this.value?"value":-1}at(e){return e==="name"?this.name:e==="value"?this.value:void 0}walk(e,r){let n;return r&&(n={...r}),e({node:this.value,parent:this,state:n},"value")!==!1&&("walk"in this.value?this.value.walk(e,n):void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),value:this.value.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueName(){return t.isMediaFeatureRangeValueName(this)}static isMediaFeatureRangeValueName(e){return!!e&&e instanceof t&&e.type===ne.MediaFeatureRangeValueName}},Bu=class t{type=ne.MediaFeatureRangeValueNameValue;name;valueOne;valueOneOperator;valueTwo;valueTwoOperator;constructor(e,r,n,s,o){this.name=e,this.valueOne=r,this.valueOneOperator=n,this.valueTwo=s,this.valueTwoOperator=o}valueOneOperatorKind(){return qs(this.valueOneOperator)}valueTwoOperatorKind(){return qs(this.valueTwoOperator)}getName(){return this.name.getName()}getNameToken(){return this.name.getNameToken()}tokens(){return[...this.valueOne.tokens(),...this.valueOneOperator,...this.name.tokens(),...this.valueTwoOperator,...this.valueTwo.tokens()]}toString(){return this.valueOne.toString()+$(...this.valueOneOperator)+this.name.toString()+$(...this.valueTwoOperator)+this.valueTwo.toString()}indexOf(e){return e===this.name?"name":e===this.valueOne?"valueOne":e===this.valueTwo?"valueTwo":-1}at(e){return e==="name"?this.name:e==="valueOne"?this.valueOne:e==="valueTwo"?this.valueTwo:void 0}walk(e,r){let n;return r&&(n={...r}),e({node:this.valueOne,parent:this,state:n},"valueOne")!==!1&&(!("walk"in this.valueOne)||this.valueOne.walk(e,n)!==!1)&&(r&&(n={...r}),e({node:this.valueTwo,parent:this,state:n},"valueTwo")!==!1&&(!("walk"in this.valueTwo)||this.valueTwo.walk(e,n)!==!1)&&void 0)}toJSON(){return{type:this.type,name:this.name.toJSON(),valueOne:this.valueOne.toJSON(),valueTwo:this.valueTwo.toJSON(),tokens:this.tokens()}}isMediaFeatureRangeValueNameValue(){return t.isMediaFeatureRangeValueNameValue(this)}static isMediaFeatureRangeValueNameValue(e){return!!e&&e instanceof t&&e.type===ne.MediaFeatureRangeValueNameValue}};function S7(t){let e=!1,r=!1;for(let B=0;B<t.length;B++){let h=t[B];if(h.type===Ce.Token){let g=h.value;if(ze(g)){let v=x7(t.slice(B));if(v!==!1){if(e!==!1){r=[v[0]+B,v[1]+B];break}e=[v[0]+B,v[1]+B],B+=v[1]}}}}if(e===!1)return!1;let n=[t[e[0]].value];if(e[0]!==e[1]&&n.push(t[e[1]].value),r===!1){let B=t.slice(0,e[0]),h=t.slice(e[1]+1),g=wo(B);if(g){let w=yo(h,!0);return!!w&&new lu(g,n,w)}let v=wo(h);if(v){let w=yo(B,!0);return!!w&&new uu(v,n,w)}return!1}let s=[t[r[0]].value];r[0]!==r[1]&&s.push(t[r[1]].value);let o=t.slice(0,e[0]),i=t.slice(e[1]+1,r[0]),a=t.slice(r[1]+1),l=yo(o,!0),u=wo(i),c=yo(a,!0);if(!l||!u||!c)return!1;{let B=qs(n);if(B===!1||B===jt.EQ)return!1;let h=qs(s);if(h===!1||h===jt.EQ||!(B!==Ue.LT&&B!==Ue.LT_OR_EQ||h!==tt.GT&&h!==tt.GT_OR_EQ)||!(B!==tt.GT&&B!==tt.GT_OR_EQ||h!==Ue.LT&&h!==Ue.LT_OR_EQ))return!1}return new Bu(u,l,n,c,s)}var zn=class t{type=ne.MediaFeature;feature;before;after;constructor(e,r=[],n=[]){this.feature=e,this.before=r,this.after=n}getName(){return this.feature.getName()}getNameToken(){return this.feature.getNameToken()}tokens(){return[...this.before,...this.feature.tokens(),...this.after]}toString(){return $(...this.before)+this.feature.toString()+$(...this.after)}indexOf(e){return e===this.feature?"feature":-1}at(e){if(e==="feature")return this.feature}walk(e,r){let n;return r&&(n={...r}),e({node:this.feature,parent:this,state:n},"feature")!==!1&&("walk"in this.feature?this.feature.walk(e,n):void 0)}toJSON(){return{type:this.type,feature:this.feature.toJSON(),before:this.before,after:this.after}}isMediaFeature(){return t.isMediaFeature(this)}static isMediaFeature(e){return!!e&&e instanceof t&&e.type===ne.MediaFeature}};function cS(t,e=[],r=[]){if(!ln(t.startToken))return!1;let n=b7(t.value);if(n!==!1)return new zn(n,e,r);let s=D7(t.value);if(s!==!1)return new zn(s,e,r);let o=S7(t.value);return o!==!1&&new zn(o,e,r)}function fn(t,...e){let r=[D.Ident,"",-1,-1,{value:""}];ix(r,t);let n=Wx(e);return new zn(new Do(new iu(new V(r)),[D.Colon,":",-1,-1,void 0],new au(n.length===1?n[0]:n)),[[D.OpenParen,"(",-1,-1,void 0]],[[D.CloseParen,")",-1,-1,void 0]])}var cu=class t{type=ne.MediaNot;modifier;media;constructor(e,r){this.modifier=e,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return $(...this.modifier)+this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaNot(){return t.isMediaNot(this)}static isMediaNot(e){return!!e&&e instanceof t&&e.type===ne.MediaNot}},pu=class t{type=ne.MediaOr;modifier;media;constructor(e,r){this.modifier=e,this.media=r}tokens(){return[...this.modifier,...this.media.tokens()]}toString(){return $(...this.modifier)+this.media.toString()}indexOf(e){return e===this.media?"media":-1}at(e){if(e==="media")return this.media}walk(e,r){let n;return r&&(n={...r}),e({node:this.media,parent:this,state:n},"media")!==!1&&this.media.walk(e,n)}toJSON(){return{type:this.type,modifier:this.modifier,media:this.media.toJSON()}}isMediaOr(){return t.isMediaOr(this)}static isMediaOr(e){return!!e&&e instanceof t&&e.type===ne.MediaOr}};function oS(t){if(!X(t))return!1;switch(t[4].value.toLowerCase()){case Fs.Not:return Fs.Not;case Fs.Only:return Fs.Only;default:return!1}}function k7(t){{let e=Cf(t);if(e!==!1)return new ru(e)}{let e=-1,r=-1,n=-1;for(let a=0;a<t.length;a++){let l=t[a];if(!fe(l)&&!he(l)){if(W(l)){let u=l.value;if(e===-1&&X(u)&&oS(u)){e=a;continue}if(r===-1&&X(u)&&!oS(u)){r=a;continue}if(n===-1&&X(u)&&CS.test(u[4].value)){if(n=a,aS(t.slice(a+1))===!1)return!1;break}return!1}return!1}}let s=[],o=[];e!==-1?(s=t.slice(0,e+1).flatMap(a=>a.tokens()),r!==-1&&(o=t.slice(e+1,r+1).flatMap(a=>a.tokens()))):r!==-1&&(o=t.slice(0,r+1).flatMap(a=>a.tokens()));let i=aS(t.slice(Math.max(e,r,n)+1));return i===!1?new Ms(s,[...o,...t.slice(r+1).flatMap(a=>a.tokens())]):new Ms(s,o,t.slice(r+1,n+1).flatMap(a=>a.tokens()),i)}}function P7(t){let e=!1,r=[],n=-1,s=-1;for(let o=0;o<t.length;o++){if(e){let a=E7(t.slice(o));if(a!==!1){o+=a.advance,r.push(a.node),s=o;continue}}let i=t[o];if(i.type!==Ce.Whitespace&&i.type!==Ce.Comment){if(e||e!==!1||!qr(i)||(i.normalize(),e=Po(i),e===!1))return!1;n=o}}return!(!e||!r.length)&&new su(e,r,t.slice(0,n).flatMap(o=>o.tokens()),t.slice(s+1).flatMap(o=>o.tokens()))}function pS(t){let e=!1,r=[],n=-1,s=-1;for(let o=0;o<t.length;o++){if(e){let a=O7(t.slice(o));if(a!==!1){o+=a.advance,r.push(a.node),s=o;continue}}let i=t[o];if(i.type!==Ce.Whitespace&&i.type!==Ce.Comment){if(e||e!==!1||!qr(i)||(i.normalize(),e=Po(i),e===!1))return!1;n=o}}return!(!e||!r.length)&&new _s(e,r,t.slice(0,n).flatMap(o=>o.tokens()),t.slice(s+1).flatMap(o=>o.tokens()))}function Cf(t){let e=dS(t);if(e!==!1)return new ht(e);let r=pS(t);if(r!==!1)return new ht(r);let n=P7(t);if(n!==!1)return new ht(n);let s=fS(t);return s!==!1&&new ht(s)}function aS(t){let e=dS(t);if(e!==!1)return new ht(e);let r=pS(t);if(r!==!1)return new ht(r);let n=fS(t);return n!==!1&&new ht(n)}function fS(t){let e=-1;for(let a=0;a<t.length;a++){let l=t[a];if(l.type!==Ce.Whitespace&&l.type!==Ce.Comment){if(!qr(l)||e!==-1)return!1;e=a}}if(e===-1)return!1;let r=t[e];if(!ln(r.startToken))return!1;r.normalize();let n=[...t.slice(0,e).flatMap(a=>a.tokens()),r.startToken],s=[r.endToken,...t.slice(e+1).flatMap(a=>a.tokens())],o=cS(r,n,s);if(o!==!1)return new St(o);let i=Cf(r.value);return i!==!1?new St(i,n,s):new St(new bo(r),t.slice(0,e).flatMap(a=>a.tokens()),t.slice(e+1).flatMap(a=>a.tokens()))}function Po(t){if(!ln(t.startToken))return!1;let e=cS(t,[t.startToken],[t.endToken]);if(e!==!1)return new St(e);let r=Cf(t.value);return r!==!1?new St(r,[t.startToken],[t.endToken]):new St(new bo(t))}(function(t){t.Not="not",t.Only="only"})(Fs||(Fs={}));var A7=/^not$/i;function dS(t){let e=!1,r=null;for(let n=0;n<t.length;n++){let s=t[n];if(s.type!==Ce.Whitespace&&s.type!==Ce.Comment){if(So(s)){let o=s.value;if(A7.test(o[4].value)){if(e)return!1;e=!0;continue}return!1}if(!e||!qr(s))return!1;{s.normalize();let o=Po(s);if(o===!1)return!1;r=new cu(t.slice(0,n).flatMap(i=>i.tokens()),o)}}}return r||!1}var N7=/^or$/i;function E7(t){let e=!1;for(let r=0;r<t.length;r++){let n=t[r];if(n.type!==Ce.Whitespace&&n.type!==Ce.Comment){if(So(n)){let s=n.value;if(N7.test(s[4].value)){if(e)return!1;e=!0;continue}return!1}if(e&&qr(n)){n.normalize();let s=Po(n);return s!==!1&&{advance:r,node:new pu(t.slice(0,r).flatMap(o=>o.tokens()),s)}}return!1}}return!1}var CS=/^and$/i;function O7(t){let e=!1;for(let r=0;r<t.length;r++){let n=t[r];if(n.type!==Ce.Whitespace&&n.type!==Ce.Comment){if(So(n)){let s=n.value;if(CS.test(s[4].value)){if(e)return!1;e=!0;continue}return!1}if(e&&qr(n)){n.normalize();let s=Po(n);return s!==!1&&{advance:r,node:new Wr(t.slice(0,r).flatMap(o=>o.tokens()),s)}}return!1}}return!1}function Vs(t,e){let r=ve(t,{onParseError:e?.onParseError});return r.map((n,s)=>{let o=k7(n);return o===!1&&e?.preserveInvalidMediaQueries===!0?new nu(r[s]):o}).filter(n=>!!n)}function Us(t,e){let r=Ot({css:t},{onParseError:e?.onParseError}),n=[];for(;!r.endOfFile();)n.push(r.nextToken());return n.push(r.nextToken()),Vs(n,e)}var fu=class t{type=ne.CustomMedia;name;mediaQueryList=null;trueOrFalseKeyword=null;constructor(e,r,n){this.name=e,this.mediaQueryList=r,this.trueOrFalseKeyword=n??null}getName(){for(let e=0;e<this.name.length;e++){let r=this.name[e];if(X(r))return r[4].value}return""}getNameToken(){for(let e=0;e<this.name.length;e++){let r=this.name[e];if(X(r))return r}return null}hasMediaQueryList(){return!!this.mediaQueryList}hasTrueKeyword(){if(!this.trueOrFalseKeyword)return!1;for(let e=0;e<this.trueOrFalseKeyword.length;e++){let r=this.trueOrFalseKeyword[e];if(!wt(r))return!!X(r)&&r[4].value.toLowerCase()==="true"}return!1}hasFalseKeyword(){if(!this.trueOrFalseKeyword)return!1;for(let e=0;e<this.trueOrFalseKeyword.length;e++){let r=this.trueOrFalseKeyword[e];if(!wt(r))return!!X(r)&&r[4].value.toLowerCase()==="false"}return!1}tokens(){if(this.trueOrFalseKeyword)return[...this.name,...this.trueOrFalseKeyword];if(!this.mediaQueryList)return[...this.name];let e=[];for(let r=0;r<this.mediaQueryList.length;r++){let n=this.mediaQueryList[r];r!==0&&e.push([D.Comma,",",-1,-1,void 0]),e.push(...n.tokens())}return[...this.name,...e]}toString(){return $(...this.tokens())}toJSON(){return{type:this.type,string:this.toString(),nameValue:this.getName(),name:this.name,hasFalseKeyword:this.hasFalseKeyword(),hasTrueKeyword:this.hasTrueKeyword(),trueOrFalseKeyword:this.trueOrFalseKeyword,mediaQueryList:this.mediaQueryList?.map(e=>e.toJSON())}}isCustomMedia(){return t.isCustomMedia(this)}static isCustomMedia(e){return!!e&&e instanceof t&&e.type===ne.CustomMedia}};function T7(t,e){let r=[],n=t;for(let o=0;o<t.length;o++)if(!wt(t[o])){if(X(t[o])&&t[o][4].value.startsWith("--")){r=t.slice(0,o+1),n=t.slice(o+1);break}return!1}let s=!0;for(let o=0;o<n.length;o++)if(!wt(n[o])){if(X(n[o])){let i=n[o][4].value.toLowerCase();if(i==="false"||i==="true")continue}if(pt(n[o]))break;s=!1}return s?new fu(r,null,n):new fu(r,Vs(As(n),e))}function hS(t,e){let r=Ot({css:t},{onParseError:e?.onParseError}),n=[];for(;!r.endOfFile();)n.push(r.nextToken());return n.push(r.nextToken()),T7(n,e)}function mS(t){return bo.isGeneralEnclosed(t)}function du(t){return Wr.isMediaAnd(t)}function gS(t){return Cu(t)||I7(t)}function Cu(t){return _s.isMediaConditionListWithAnd(t)}function I7(t){return su.isMediaConditionListWithOr(t)}function vS(t){return ht.isMediaCondition(t)}function hf(t){return ou.isMediaFeatureBoolean(t)}function yS(t){return Do.isMediaFeaturePlain(t)}function wS(t){return Ws(t)||Ao(t)||mf(t)}function Ws(t){return lu.isMediaFeatureRangeNameValue(t)}function Ao(t){return uu.isMediaFeatureRangeValueName(t)}function mf(t){return Bu.isMediaFeatureRangeValueNameValue(t)}function No(t){return zn.isMediaFeature(t)}function bS(t){return St.isMediaInParens(t)}function DS(t){return cu.isMediaNot(t)}function xS(t){return pu.isMediaOr(t)}function SS(t){return xo(t)||ff(t)||jn(t)}function xo(t){return Ms.isMediaQueryWithType(t)}function ff(t){return ru.isMediaQueryWithoutType(t)}function jn(t){return nu.isMediaQueryInvalid(t)}function kS(t){let e=As(t.tokens()),r=Vs(e,{preserveInvalidMediaQueries:!0})[0];if(!r)throw new Error(`Failed to clone media query for : "${$(...e)}"`);if(jn(t)&&jn(r)||xo(t)&&xo(r)||ff(t)&&ff(r))return r;throw new Error(`Failed to clone media query for : "${$(...e)}"`)}var lS;(function(t){t.All="all",t.Print="print",t.Screen="screen",t.Tty="tty",t.Tv="tv",t.Projection="projection",t.Handheld="handheld",t.Braille="braille",t.Embossed="embossed",t.Aural="aural",t.Speech="speech"})(lS||(lS={}));var L7=Ur("csstools-implicit-layer")[0];function R7(t){let e=new Map,r=new Map,n=[];t.walkAtRules(o=>{if(o.name.toLowerCase()!=="layer")return;{let l=o.parent;for(;l;){if(l.type!=="atrule"||l.name.toLowerCase()!=="layer"){if(l===o.root())break;return}l=l.parent}}let i;if(o.nodes)i=F7(o.params,1);else{if(!o.params.trim())return;i=o.params}let a=Ur(i);if(a?.length){{let l=o.parent;for(;l&&l.type==="atrule"&&l.name.toLowerCase()==="layer";){let u=r.get(l);u&&(a=a.map(c=>u.concat(c))),l=l.parent}}if(Vr(n,a),o.nodes){let l=a[0].concat(L7);e.set(o,l),r.set(o,a[0])}}});for(let o of e.values())Vr(n,[o]);let s=new WeakMap;for(let[o,i]of e)s.set(o,n.findIndex(a=>i.equal(a)));return s}function F7(t,e){return t.trim()?t:"csstools-anon-layer--"+e++}var M7=new Set(["scope","container","layer"]);function _7(t){if(t.name.toLowerCase()!=="custom-media"||!t.params||!t.params.includes("--")||t.nodes&&t.nodes.length>0)return!1;let e=t.parent;for(;e;){if(e.type==="atrule"&&!M7.has(e.name.toLowerCase()))return!1;e=e.parent}return!0}function q7(t,e){let r=new Set;for(;t.size>0;){let n=V7(Array.from(t.keys()),e);if(!n)return r;t.delete(n),r.add(n),e=e.filter(s=>s.indexOf(n)===-1)}return r}function V7(t,e){let r=t.length,n=new Array(r),s={},o=r,i=U7(e),a=W7(t);for(;o--;)if(!s[o]){let u=l(t[o],o,new Set);if(!u)continue;return u}function l(u,c,B){if(B.has(u))return u;if(!a.has(u)||s[c])return;s[c]=!0;let h=Array.from(i.get(u)||new Set);if(c=h.length){B.add(u);do{let g=h[--c],v=l(g,a.get(g),B);if(v)return v}while(c);B.delete(u)}n[--r]=u}}function U7(t){let e=new Map;for(let r=0,n=t.length;r<n;r++){let s=t[r];e.has(s[0])||e.set(s[0],new Set),e.has(s[1])||e.set(s[1],new Set),e.get(s[0]).add(s[1])}return e}function W7(t){let e=new Map;for(let r=0,n=t.length;r<n;r++)e.set(t[r],r);return e}function G7(t){let e=Ot({css:t},{onParseError:()=>{throw new Error(`Unable to parse media query "${t}"`)}}),r=[];for(;!e.endOfFile();)r.push(e.nextToken());return r}var gf=[[D.Ident,"max-color",0,0,{value:"max-color"}],[D.Colon,":",0,0,void 0],[D.Number,"2147477350",0,0,{value:2147477350,type:R.Integer}]],vf=[[D.Ident,"color",0,0,{value:"color"}],[D.Colon,":",0,0,void 0],[D.Number,"2147477350",0,0,{value:2147477350,type:R.Integer}]];function H7(t){let e,r=[];for(let n=0;n<t.length;n++)if(!wt(t[n])){if(X(t[n])){let s=t[n];if(s[4].value.toLowerCase()==="true"){e="true",r=t.slice(n+1);break}if(s[4].value.toLowerCase()==="false"){e="false",r=t.slice(n+1);break}}return t}if(!e)return t;for(let n=0;n<r.length;n++)if(!wt(r[n]))return t;return e==="true"?[[D.Whitespace," ",0,0,void 0],[D.OpenParen,"(",0,0,void 0],...gf,[D.CloseParen,")",0,0,void 0]]:[[D.Whitespace," ",0,0,void 0],[D.OpenParen,"(",0,0,void 0],...vf,[D.CloseParen,")",0,0,void 0]]}function z7(t){let e=G7(t),r=new Set,n="",s=e;for(let a=0;a<e.length;a++)if(!wt(e[a])){if(X(e[a])){let l=e[a];if(l[4].value.startsWith("--")){n=l[4].value,s=e.slice(a+1);break}}return!1}for(let a=0;a<s.length;a++)if(X(s[a])){let l=s[a];l[4].value.startsWith("--")&&r.add(l[4].value)}s=H7(s);let o=Vs(As(s),{preserveInvalidMediaQueries:!0,onParseError:()=>{throw new Error(`Unable to parse media query "${$(...s)}"`)}}),i=Vs(As(s),{preserveInvalidMediaQueries:!0,onParseError:()=>{throw new Error(`Unable to parse media query "${$(...s)}"`)}});for(let a=0;a<i.length;a++)i[a]=i[a].negateQuery();return{name:n,truthy:o,falsy:i,dependencies:Array.from(r).map(a=>[n,a])}}function j7(t,e,r){let n=new Map,s=new Map,o=[],i=R7(t);t.walkAtRules(l=>{if(!_7(l))return;let u=z7(l.params);if(!u||u.truthy.length===0)return;let c=(h=i,(B=l).parent&&B.parent.type==="atrule"&&B.parent.name.toLowerCase()==="layer"?h.has(B.parent)?h.get(B.parent)+1:0:1e7);var B,h;let g=s.get(u.name)??-1;if(c&&c>=g&&(s.set(u.name,c),n.set(u.name,{truthy:u.truthy,falsy:u.falsy}),o.push(...u.dependencies)),!r.preserve){let v=l.parent;l.remove(),Q7(v)}});let a=q7(n,o);for(let l of a.values())t.warn(e,`@custom-media rules have cyclic dependencies for "${l}"`);return n}function Q7(t){if(!t)return;let e=t;for(;e;){if(e.nodes&&e.nodes.length>0)return;let r=e.parent;e.remove(),e=r}}function J7(t,e){let r=Us(t,{preserveInvalidMediaQueries:!0,onParseError:()=>{throw new Error(`Unable to parse media query "${t}"`)}}),n=r.map(s=>s.toString());for(let s=0;s<r.length;s++){let o=r[s],i=n[s];{let l=K7(o,e);if(l&&l.replaceWith!==i)return n.map((u,c)=>c===s?l:{replaceWith:u})}let a=Y7(o,e);if(a&&a.length!==0&&a[0].replaceWith!==i)return n.flatMap((l,u)=>u===s?a:[{replaceWith:l}])}return[]}function K7(t,e){if(!PS(t))return null;let r=null;return t.walk(n=>{let s=n.node;if(!hf(s))return;let o=s.getName();if(!o.startsWith("--"))return!1;let i=e.get(o);return i?(r={replaceWith:i.truthy.map(a=>a.toString().trim()).join(",")},!1):void 0}),r}function Y7(t,e){let r=[];return t.walk(n=>{let s=n.node;if(!hf(s))return;let o=n.parent;if(!No(o))return;let i=s.getName();if(!i.startsWith("--"))return!1;let a=e.get(i);if(a){if(a.truthy.length===1&&PS(a.truthy[0])){let h=null;if(a.truthy[0].walk(g=>{if(No(g.node))return h=g.node,!1}),h&&h.feature)return o.feature=h.feature,r=[{replaceWith:t.toString()}],!1}let l=fn(gf[0][4].value,gf[2]);o.feature=l.feature;let u=t.toString(),c=fn(vf[0][4].value,vf[2]);o.feature=c.feature;let B=t.toString();return r=[{replaceWith:u,encapsulateWith:a.truthy.map(h=>h.toString().trim()).join(",")},{replaceWith:B,encapsulateWith:a.falsy.map(h=>h.toString().trim()).join(",")}],!1}}),r}function PS(t){if(jn(t)||xo(t))return!1;let e=!0;return t.walk(r=>{if(du(r.node)||xS(r.node)||DS(r.node)||gS(r.node)||mS(r.node))return e=!1,!1}),e}var yf=t=>{let e=t?.preserve??!1;if("importFrom"in Object(t))throw new Error('[postcss-custom-media] "importFrom" is no longer supported');if("exportTo"in Object(t))throw new Error('[postcss-custom-media] "exportTo" is no longer supported');return{postcssPlugin:"postcss-custom-media",prepare(){let r=new WeakSet,n=new Map;return{postcssPlugin:"postcss-custom-media",Once(s,{result:o}){n=j7(s,o,{preserve:e})},AtRule(s,{result:o}){if(r.has(s)||s.name.toLowerCase()!=="media"||!s.params||!s.params.includes("--"))return;let i=[];try{i=J7(s.params,n)}catch(a){return void s.warn(o,`Failed to parse @custom-media params with error message: "${a instanceof Error?a.message:a}"`)}if(!(!i||i.length===0)){if(i.length===1)return s.params.trim()===i[0].replaceWith.trim()?void 0:(r.add(s),s.cloneBefore({params:i[0].replaceWith.trim()}),e?void 0:void s.remove());if(!i.find(a=>!!a.encapsulateWith))return r.add(s),s.cloneBefore({params:i.map(a=>a.replaceWith).join(",").trim()}),void(e||s.remove());i.forEach(a=>{if(!a.encapsulateWith)return void s.cloneBefore({params:a.replaceWith.trim()});let l=s.clone({params:a.replaceWith}),u=s.clone({params:a.encapsulateWith.trim(),nodes:[]});l.parent=void 0,u.parent=void 0,r.add(s),u.append(l),s.before(u)}),e||s.remove()}}}}}};yf.postcss=!0;p();d();f();var Qn=ce(He(),1);var X7=Ur("csstools-implicit-layer")[0];function Z7(t){let e=new Map,r=new Map,n=[];t.walkAtRules(o=>{if(o.name.toLowerCase()!=="layer")return;{let l=o.parent;for(;l;){if(l.type!=="atrule"||l.name.toLowerCase()!=="layer"){if(l===o.root())break;return}l=l.parent}}let i;if(o.nodes)i=$7(o.params,1);else{if(!o.params.trim())return;i=o.params}let a=Ur(i);if(a?.length){{let l=o.parent;for(;l&&l.type==="atrule"&&l.name.toLowerCase()==="layer";){let u=r.get(l);u&&(a=a.map(c=>u.concat(c))),l=l.parent}}if(Vr(n,a),o.nodes){let l=a[0].concat(X7);e.set(o,l),r.set(o,a[0])}}});for(let o of e.values())Vr(n,[o]);let s=new WeakMap;for(let[o,i]of e)s.set(o,n.findIndex(a=>i.equal(a)));return s}function $7(t,e){return t.trim()?t:"csstools-anon-layer--"+e++}var e_=/(?:!\s*)?postcss-custom-properties:\s*off\b/i,wf=new WeakMap;function ES(t){if(!t||!t.nodes)return!1;if(wf.has(t))return wf.get(t);let e=t.some(r=>OS(r,e_));return wf.set(t,e),e}var t_=/(?:!\s*)?postcss-custom-properties:\s*ignore\s+next\b/i;function bf(t){return!!t&&(!!ES(t.parent)||OS(t.prev(),t_))}function OS(t,e){return!!t&&t.type==="comment"&&e.test(t.text)}var r_=new Set(["layer"]);function n_(t){let e=t.parent;for(;e;){if(e.type==="atrule"&&!r_.has(e.name.toLowerCase()))return!1;e=e.parent}return!0}var s_=/^html$/i,i_=/^:where\(html\)$/i,o_=/^:root$/i,a_=/^:where\(:root\)$/i,l_=/(html|:root)/i,u_=/^var$/i;function hu(t){return t.type==="function"&&u_.test(t.value)&&t.nodes?.length>0}var B_=/\bvar\(/i;function AS(t,e){let r=e.get(t);return r||(r=(0,Qn.default)(t),e.set(t,r),r)}function c_(t,e){let r=t.length,n=new Array(r),s={},o=r,i=TS(e),a=IS(t);for(;o--;)s[o]||l(t[o],o,new Set);return n;function l(u,c,B){if(B.has(u)){let g;try{g=", node was:"+JSON.stringify(u)}catch{g=""}throw new Error("Cyclic dependency"+g)}if(!a.has(u))throw new Error("Found unknown node. Make sure to provided all involved nodes. Unknown node: "+JSON.stringify(u));if(s[c])return;s[c]=!0;let h=Array.from(i.get(u)||new Set);if(c=h.length){B.add(u);do{let g=h[--c];l(g,a.get(g),B)}while(c);B.delete(u)}n[--r]=u}}function p_(t,e){let r=new Set;for(;t.size>0;){let n=f_(Array.from(t.keys()),e);if(!n)return r;t.delete(n),r.add(n),e=e.filter(s=>s.indexOf(n)===-1)}return r}function f_(t,e){let r=t.length,n=new Array(r),s={},o=r,i=TS(e),a=IS(t);for(;o--;)if(!s[o]){let u=l(t[o],o,new Set);if(!u)continue;return u}function l(u,c,B){if(B.has(u))return u;if(!a.has(u)||s[c])return;s[c]=!0;let h=Array.from(i.get(u)||new Set);if(c=h.length){B.add(u);do{let g=h[--c],v=l(g,a.get(g),B);if(v)return v}while(c);B.delete(u)}n[--r]=u}}function TS(t){let e=new Map;for(let r=0,n=t.length;r<n;r++){let s=t[r];e.has(s[0])||e.set(s[0],new Set),e.has(s[1])||e.set(s[1],new Set),e.get(s[0]).add(s[1])}return e}function IS(t){let e=new Map;for(let r=0,n=t.length;r<n;r++)e.set(t[r],r);return e}function mu(t){let e,r,n=!1;for(let s of t.nodes)if(e||s.type!=="word")if(!e||n||s.type!=="div"||s.value!==","){if(n&&Array.isArray(r))r.push(s);else if(s.type!=="space"&&(s.type!=="div"||s.value.trim()!==""))return}else n=!0,r=[];else e=s;if(e)return{name:e,fallback:r}}function LS(t,e){return t.nodes?.length?(RS(t.nodes,(r,n,s)=>{if(!hu(r))return;let o=mu(r);if(!o)return;let i=!1;o.fallback&&Qn.default.walk(o.fallback,l=>{if(!hu(l))return;let u=mu(l);return u?u.fallback||e.has(u.name.value)?void 0:(i=!0,!1):void 0});let a=e.get(o.name.value)?.nodes;a||!o.fallback||i||(a=o.fallback),a!==void 0&&(a.length?s.splice(n,1,...a):s.splice(n,1,{type:"div",value:" ",before:"",after:"",sourceIndex:r.sourceIndex,sourceEndIndex:r.sourceEndIndex}))}),Qn.default.stringify(t.nodes)):""}function RS(t,e){let r,n,s;for(r=0,n=t.length;r<n;r+=1)s=t[r],s.type==="function"&&Array.isArray(s.nodes)&&RS(s.nodes,e),e(s,r,t),n=t.length}var d_=/^initial$/i;function C_(t){let e=t.nodes.filter(r=>r.type!=="comment"&&r.type!=="space");return e.length===1&&e[0].type==="word"&&d_.test(e[0].value)}function FS(t,e,r){if(!t.size)return e;let n=new Map(e);{let s=[];for(let[o,i]of t.entries()){let a=AS(i,r),l=!1;Qn.default.walk(a.nodes,u=>{if(!hu(u))return;let c=mu(u);c&&(c.fallback||t.has(c.name.value)||e.has(c.name.value)?s.push([c.name.value,o]):l=!0)}),l||n.set(o,a)}p_(n,s)}{let s=[];for(let[i,a]of n.entries())Qn.default.walk(a.nodes,l=>{if(!hu(l))return;let u=mu(l);u&&(u.fallback||n.has(u.name.value)?s.push([u.name.value,i]):n.delete(i))});for(let i=0;i<s.length;i++){let[a,l]=s[i];n.has(a)&&n.has(l)||s.splice(i--,1)}let o=c_(Array.from(n.keys()),s);for(let i of o){let a=n.get(i);if(!a)continue;let l=AS(LS(a,n),r);n.set(i,l)}}for(let[s,o]of n.entries())C_(o)&&n.delete(s);return n}function h_(t,e){let r=new Map,n=new Map,s=Z7(t);return t.walkRules(o=>{l_.test(o.selector)&&o.nodes?.length&&n_(o)&&(ES(o)||o.selectors.forEach(i=>{let a=-1;if(i_.test(i)||a_.test(i))a=0;else if(s_.test(i))a=1;else{if(!o_.test(i))return;a=2}let l=(c=s,((u=o).parent&&u.parent.type==="atrule"&&u.parent.name.toLowerCase()==="layer"?c.has(u.parent)?c.get(u.parent)+1:0:1e7)+10+a);var u,c;o.each(B=>{if(B.type!=="decl"||!B.variable||bf(B)||B.value.toLowerCase().trim()==="initial")return;let h=n.get(B.prop)??-1;l>=h&&(n.set(B.prop,l),r.set(B.prop,B.value))})}))}),FS(r,new Map,e)}function m_(t,e,r){if(!t.parent)return e;let n=new Map;return t.parent.each(s=>{s.type==="decl"&&s.variable&&t!==s&&(bf(s)||n.set(s.prop,s.value))}),n.size?FS(n,e,r):e}function g_(t,e,r){if(v_(t)&&!bf(t)){let n=t.value,s=LS((0,Qn.default)(n),e);if(s===n)return;if(y_(t,s))return void(r.preserve||t.remove());if(r.preserve){let o=t.cloneBefore({value:s});NS(o)&&o.raws?.value&&(o.raws.value.value=o.value.replace(Eo,"$1"),o.raws.value.raw=o.raws.value.value+o.raws.value.raw.replace(Eo,"$2"))}else t.value=s,NS(t)&&t.raws?.value&&(t.raws.value.value=t.value.replace(Eo,"$1"),t.raws.value.raw=t.raws.value.value+t.raws.value.raw.replace(Eo,"$2"))}}var v_=t=>!t.variable&&t.value.includes("--")&&t.value.toLowerCase().includes("var("),NS=t=>"value"in Object(Object(t.raws).value)&&"raw"in(t.raws?.value??{})&&Eo.test(t.raws.value?.raw??""),Eo=/^([\W\w]+)(\s*\/\*[\W\w]+?\*\/)$/;function y_(t,e){if(!t||!t.parent)return!1;let r=!1,n=t.parent.index(t);return t.parent.each((s,o)=>s!==t&&!(o>=n)&&void(s.type==="decl"&&s.prop.toLowerCase()===t.prop.toLowerCase()&&s.value===e&&(r=!0))),r}var w_=/\bvar\(|\(top: var\(--f\)/i,Df=t=>{let e=!("preserve"in Object(t))||!!t?.preserve;if("importFrom"in Object(t))throw new Error('[postcss-custom-properties] "importFrom" is no longer supported');if("exportTo"in Object(t))throw new Error('[postcss-custom-properties] "exportTo" is no longer supported');return{postcssPlugin:"postcss-custom-properties",prepare(){let r=new Map,n=new WeakMap,s=new Map;return{postcssPlugin:"postcss-custom-properties",Once(o){r=h_(o,s)},Declaration(o){if(!B_.test(o.value)||Ne(o,w_))return;let i=r;e&&o.parent&&(i=n.get(o.parent)??m_(o,r,s),n.set(o.parent,i)),g_(o,i,{preserve:e})}}}}};Df.postcss=!0;p();d();f();var Oo=ce(ut(),1);var b_=Ur("csstools-implicit-layer")[0];function D_(t){let e=new Map,r=new Map,n=[];t.walkAtRules(o=>{if(o.name.toLowerCase()!=="layer")return;{let l=o.parent;for(;l;){if(l.type!=="atrule"||l.name.toLowerCase()!=="layer"){if(l===o.root())break;return}l=l.parent}}let i;if(o.nodes)i=x_(o.params,1);else{if(!o.params.trim())return;i=o.params}let a=Ur(i);if(a?.length){{let l=o.parent;for(;l&&l.type==="atrule"&&l.name.toLowerCase()==="layer";){let u=r.get(l);u&&(a=a.map(c=>u.concat(c))),l=l.parent}}if(Vr(n,a),o.nodes){let l=a[0].concat(b_);e.set(o,l),r.set(o,a[0])}}});for(let o of e.values())Vr(n,[o]);let s=new WeakMap;for(let[o,i]of e)s.set(o,n.findIndex(a=>i.equal(a)));return s}function x_(t,e){return t.trim()?t:"csstools-anon-layer--"+e++}var S_=new Set(["scope","container","layer"]);function k_(t){if(t.type!=="atrule"||t.name.toLowerCase()!=="custom-selector"||!t.params||!t.params.includes(":--")||t.nodes&&t.nodes.length>0)return!1;let e=t.parent;for(;e;){if(e.type==="rule"||e.type==="atrule"&&!S_.has(e.name.toLowerCase()))return!1;e=e.parent}return!0}function P_(t,e,r){let n=new Map,s=new Map,o=D_(t);return t.walkAtRules(i=>{var a,l;if(k_(i))try{let u=i.params.trim(),c=(0,Oo.default)().astSync(u),B=c?.nodes?.[0]?.nodes?.[0];if(!B||B.type!=="pseudo"||!B.value.startsWith(":--"))return;let h=B.toString(),g=(l=o,(a=i).parent&&a.parent.type==="atrule"&&a.parent.name.toLowerCase()==="layer"?l.has(a.parent)?l.get(a.parent)+1:0:1e7),v=s.get(h)??-1;if(g&&g>=v&&(s.set(h,g),n.set(h,(0,Oo.default)().astSync(u.slice(h.length).trim()))),!r.preserve){let w=i.parent;i.remove(),A_(w)}}catch(u){i.warn(e,`Failed to parse selector : "${i.params}" with message: "${u instanceof Error?u.message:u}"`)}}),n}function A_(t){if(!t)return;let e=t;for(;e;){if(e.nodes&&e.nodes.length>0)return;let r=e.parent;e.remove(),e=r}}function N_(t,e,r){let n=t.selector;try{n=(0,Oo.default)(s=>{s.walkPseudos(o=>{if(!r.has(o.value))return;let i=Oo.default.pseudo({value:":is",nodes:[]}),a=r.get(o.value);a&&(a.each(l=>{i.append(l.clone())}),o.replaceWith(i))})}).processSync(t.selector)}catch(s){return t.warn(e,`Failed to parse selector : "${n}" with message: "${s instanceof Error?s.message:s}"`),t.selector}return n}var xf=t=>{let e=t?.preserve??!1;if("importFrom"in Object(t))throw new Error('[postcss-custom-selectors] "importFrom" is no longer supported');if("exportTo"in Object(t))throw new Error('[postcss-custom-selectors] "exportTo" is no longer supported');return{postcssPlugin:"postcss-custom-selectors",prepare(){let r=new WeakSet,n=new Map;return{postcssPlugin:"postcss-custom-selectors",Once(s,{result:o}){n=P_(s,o,{preserve:e})},Rule(s,{result:o}){if(r.has(s)||!s.selector?.includes(":--"))return;let i=N_(s,o,n);i!==s.selector&&(r.add(s),s.cloneBefore({selector:i}),e||s.remove())}}}}};xf.postcss=!0;p();d();f();var wr=ce(ut(),1),Sf=t=>{let e=Object.assign({dir:null,preserve:!1,shadow:!1},t);return{postcssPlugin:"postcss-dir-pseudo-class",prepare(){let r=new WeakSet;return{Rule(n,{result:s}){if(r.has(n))return;let o,i=!1;if(n.selector.toLowerCase().includes(":dir(")){try{o=(0,wr.default)(a=>{a.nodes.forEach(l=>{l.walk(u=>{if(u.type!=="pseudo"||u.value.toLowerCase()!==":dir"||!u.nodes||!u.nodes.length)return;let c=u.nodes.toString().toLowerCase();if(c!=="rtl"&&c!=="ltr")return;let B=u.parent;if(!B)return;B.nodes.filter(J=>J.type==="pseudo"&&J.value.toLowerCase()===":dir").length>1&&!i&&(i=!0,n.warn(s,`Hierarchical :dir pseudo class usage can't be transformed correctly to [dir] attributes. This will lead to incorrect selectors for "${n.selector}"`));let h=u.prev(),g=u.next(),v=h&&h.type&&h.type!=="combinator",w=g&&g.type&&g.type!=="combinator",y=g&&g.type&&(g.type!=="combinator"||g.type==="combinator"&&g.value===" ");v||w||B.nodes.indexOf(u)===0&&y||B.nodes.length===1?u.remove():u.replaceWith(wr.default.universal());let P=B.nodes[0],O=P&&P.type==="combinator"&&P.value===" ",E=P&&P.type==="tag"&&P.value.toLowerCase()==="html",F=P&&P.type==="pseudo"&&P.value.toLowerCase()===":root";!P||E||F||O||B.prepend(wr.default.combinator({value:" "}));let q=e.dir===c,ye=wr.default.attribute({attribute:"dir",operator:"=",quoteMark:'"',value:`"${c}"`,raws:{}}),ae=wr.default.pseudo({value:":host-context"});ae.append(wr.default.selector({value:"",nodes:[ye]}));let ue=wr.default.pseudo({value:(E||F?"":"html")+":not"});ue.append(wr.default.selector({value:"",nodes:[wr.default.attribute({attribute:"dir",operator:"=",quoteMark:'"',value:`"${c==="ltr"?"rtl":"ltr"}"`,raws:{}})]})),q?E?B.insertAfter(P,ue):B.prepend(ue):E?B.insertAfter(P,ye):e.shadow&&!F?B.prepend(ae):B.prepend(ye)})})}).processSync(n.selector)}catch{return void n.warn(s,`Failed to parse selector : ${n.selector}`)}o!==void 0&&o!==n.selector&&(r.add(n),n.cloneBefore({selector:o}),e.preserve||n.remove())}}}}}};Sf.postcss=!0;p();d();f();var MS=ce(He(),1),E_=new Map([["block,flow","block"],["block,flow-root","flow-root"],["inline,flow","inline"],["inline,flow-root","inline-block"],["run-in,flow","run-in"],["list-item,block,flow","list-item"],["inline,flow,list-item","inline list-item"],["block,flex","flex"],["inline,flex","inline-flex"],["block,grid","grid"],["inline,grid","inline-grid"],["inline,ruby","ruby"],["block,table","table"],["inline,table","inline-table"],["table-cell,flow","table-cell"],["table-caption,flow","table-caption"],["ruby-base,flow","ruby-base"],["ruby-text,flow","ruby-text"]]);function O_(t){let{nodes:e}=(0,MS.default)(t);if(e.length===1)return t;let r=e.filter(s=>s.type==="word").map(s=>s.value.toLowerCase());return r.length<=1?t:E_.get(r.join(","))||t}var T_=/^display$/i,kf=t=>{let e=!("preserve"in Object(t))||!!t?.preserve;return{postcssPlugin:"postcss-normalize-display-values",prepare(){let r=new Map;return{Declaration(n){if(!T_.test(n.prop))return;let s=n.value;if(!s)return;if(r.has(s))return void(n.value!==r.get(s)&&(n.cloneBefore({value:r.get(s)}),e||n.remove()));let o=O_(s);r.set(s,o),n.value!==o&&(n.cloneBefore({value:o}),e||n.remove())}}}}};kf.postcss=!0;p();d();f();var Af=ce(He(),1);var _S=/(?:repeating-)?(?:conic|linear|radial)-gradient\(/i,I_=/^(?:repeating-)?(?:conic|linear|radial)-gradient$/i,L_=["at","bottom","center","circle","closest-corner","closest-side","ellipse","farthest-corner","farthest-side","from","in","left","right","to","top"],qS=t=>t.type==="div"&&t.value===",";function VS(t){try{return Af.default.unit(t?.value)!==!1}catch{return!1}}var Pf=t=>({postcssPlugin:"postcss-double-position-gradients",Declaration(e,{result:r}){if(!_S.test(e.value)||pe(e)||Ne(e,_S))return;let n;try{n=(0,Af.default)(e.value)}catch{e.warn(r,`Failed to parse value '${e.value}' as a CSS gradient. Leaving the original value intact.`)}if(n===void 0)return;n.walk(o=>{if(o.type!=="function"||!I_.test(o.value))return;let i=o.nodes.filter(l=>l.type!=="comment"&&l.type!=="space"),a=!1;i.forEach((l,u,c)=>{if(l.type==="word"&&L_.includes(l.value.toLowerCase())&&(a=!0),l.type==="div"&&l.value===","&&(a=!1),a)return;let B=Object(c[u-1]),h=Object(c[u-2]),g=Object(c[u+1]);if(h.type&&VS(B)&&VS(l)){let v=h,w={type:"div",value:",",before:qS(g)?g.before:"",after:qS(g)?"":" ",sourceIndex:0,sourceEndIndex:0};o.nodes.splice(o.nodes.indexOf(l)-1,0,w,v)}})});let s=n.toString();s!==e.value&&(e.cloneBefore({value:s}),t?.preserve||e.remove())}});Pf.postcss=!0;var Nf=t=>{let e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!0},t);return e.enableProgressiveCustomProperties&&e.preserve?{postcssPlugin:"postcss-double-position-gradients",plugins:[Ee(),Pf(e)]}:Pf(e)};Nf.postcss=!0;p();d();f();var R_=/(?<![-\w])(?:exp|hypot|log|pow|sqrt)\(/i,Ef=t=>{let e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-exponential-functions",Declaration(r){if(!R_.test(r.value))return;let n=Rs(r.value);n!==r.value&&(r.cloneBefore({value:n}),e.preserve||r.remove())}}};Ef.postcss=!0;p();d();f();var US="inline-start",F_="inline-end",Dr,br;function M_(t){switch(t){case Dr.TopToBottom:return[br.Top,br.Bottom];case Dr.BottomToTop:return[br.Bottom,br.Top];case Dr.RightToLeft:return[br.Right,br.Left];case Dr.LeftToRight:return[br.Left,br.Right]}}function __(t,e,r){t.parent&&t.parent.some(n=>n.type=="decl"&&n.prop===r&&n.value===e)||t.cloneBefore({value:e,prop:r})}(function(t){t.TopToBottom="top-to-bottom",t.BottomToTop="bottom-to-top",t.RightToLeft="right-to-left",t.LeftToRight="left-to-right"})(Dr||(Dr={})),function(t){t.Top="top",t.Right="right",t.Bottom="bottom",t.Left="left"}(br||(br={}));var Of=t=>{let e=Object.assign({inlineDirection:Dr.LeftToRight},t),r=Object.values(Dr);if(!r.includes(e.inlineDirection))throw new Error(`[postcss-logical-float-and-clear] "inlineDirection" must be one of ${r.join(", ")}`);if(![Dr.LeftToRight,Dr.RightToLeft].includes(e.inlineDirection))return{postcssPlugin:"postcss-logical-float-and-clear",Once(){}};let[n,s]=M_(e.inlineDirection),o=i=>{let a=i.value.toLowerCase();[US,F_].includes(a)&&(__(i,a===US?n:s,i.prop),i.remove())};return{postcssPlugin:"postcss-logical-float-and-clear",Declaration:{float:o,clear:o}}};Of.postcss=!0;p();d();f();var dn=ce(ut(),1),Tf="js-focus-visible",If=":focus-visible",Lf=t=>{let e=Object.assign({preserve:!0,replaceWith:".focus-visible",disablePolyfillReadyClass:!1},t),r=(0,dn.default)().astSync(e.replaceWith);return{postcssPlugin:"postcss-focus-visible",prepare(){let n=new WeakSet;return{Rule(s,{result:o}){if(n.has(s)||!s.selector.toLowerCase().includes(If))return;let i=s.selectors.flatMap(a=>{if(!a.toLowerCase().includes(If))return[a];let l;try{l=(0,dn.default)().astSync(a)}catch(B){return s.warn(o,`Failed to parse selector : "${a}" with message: "${B instanceof Error?B.message:B}"`),a}if(l===void 0)return[a];let u=!1;if(l.walkPseudos(B=>{B.value.toLowerCase()===If&&(B.nodes&&B.nodes.length||(u=!0,B.replaceWith(r.clone({}))))}),!u)return[a];let c=l.clone();if(!e.disablePolyfillReadyClass){if(l.nodes?.[0]?.nodes?.length)for(let B=0;B<l.nodes[0].nodes.length;B++){let h=l.nodes[0].nodes[B];if(h.type==="combinator"||dn.default.isPseudoElement(h)){l.nodes[0].insertBefore(h,dn.default.className({value:Tf}));break}if(B===l.nodes[0].nodes.length-1){l.nodes[0].append(dn.default.className({value:Tf}));break}}return l.nodes?.[0]?.nodes&&(c.nodes[0].prepend(dn.default.combinator({value:" "})),c.nodes[0].prepend(dn.default.className({value:Tf}))),[l.toString(),c.toString()]}return[l.toString()]});i.join(",")!==s.selectors.join(",")&&(n.add(s),s.cloneBefore({selectors:i}),e.preserve||s.remove())}}}}};Lf.postcss=!0;p();d();f();var Cn=ce(ut(),1),WS=[" ",">","~",":","+","@","#","(",")"];function q_(t){let e=!0;for(let r=0,n=WS.length;r<n&&e;r++)t.indexOf(WS[r])>-1&&(e=!1);return e}var Rf="js-focus-within",Ff=":focus-within",Mf=t=>{let e=Object.assign({preserve:!0,replaceWith:"[focus-within]",disablePolyfillReadyClass:!1},t),r=(0,Cn.default)().astSync(e.replaceWith);return q_(e.replaceWith)?{postcssPlugin:"postcss-focus-within",prepare(){let n=new WeakSet;return{Rule(s,{result:o}){if(n.has(s)||!s.selector.toLowerCase().includes(Ff))return;let i=s.selectors.flatMap(a=>{if(!a.toLowerCase().includes(Ff))return[a];let l;try{l=(0,Cn.default)().astSync(a)}catch(B){return s.warn(o,`Failed to parse selector : "${a}" with message: "${B instanceof Error?B.message:B}"`),a}if(l===void 0)return[a];let u=!1;if(l.walkPseudos(B=>{B.value.toLowerCase()===Ff&&(B.nodes&&B.nodes.length||(u=!0,B.replaceWith(r.clone({}))))}),!u)return[a];let c=l.clone();if(!e.disablePolyfillReadyClass){if(l.nodes?.[0]?.nodes?.length)for(let B=0;B<l.nodes[0].nodes.length;B++){let h=l.nodes[0].nodes[B];if(h.type==="combinator"||Cn.default.isPseudoElement(h)){l.nodes[0].insertBefore(h,Cn.default.className({value:Rf}));break}if(B===l.nodes[0].nodes.length-1){l.nodes[0].append(Cn.default.className({value:Rf}));break}}return l.nodes?.[0]?.nodes&&(c.nodes[0].prepend(Cn.default.combinator({value:" "})),c.nodes[0].prepend(Cn.default.className({value:Rf}))),[l.toString(),c.toString()]}return[l.toString()]});i.join(",")!==s.selectors.join(",")&&(n.add(s),s.cloneBefore({selectors:i}),e.preserve||s.remove())}}}}:{postcssPlugin:"postcss-focus-within",Once:(n,{result:s})=>{n.warn(s,`${e.replaceWith} is not a valid replacement since it can't be applied to single elements.`)}}};Mf.postcss=!0;p();d();f();var _f=ce(He(),1);var V_=["woff","truetype","opentype","woff2","embedded-opentype","collection","svg"],qf=t=>{let e="preserve"in Object(t)&&!!t?.preserve;return{postcssPlugin:"postcss-font-format-keywords",Declaration(r){if(r.prop.toLowerCase()!=="src"||!r.value.toLowerCase().includes("format(")||pe(r))return;let n=r.parent;if(!n||n.type!=="atrule"||n.name.toLowerCase()!=="font-face")return;let s=(0,_f.default)(r.value);s.walk(o=>{o.type==="function"&&o.value.toLowerCase()==="format"&&o.nodes.forEach(i=>{i.type==="word"&&V_.includes(i.value.toLowerCase())&&(i.value=_f.default.stringify({type:"string",value:i.value,quote:'"'}))})}),s.toString()!==r.value&&(r.cloneBefore({value:s.toString()}),e||r.remove())}}};qf.postcss=!0;var Qk=ce(GS(),1);p();d();f();var G_=/\bcolor-gamut\b/i;function H_(t){let e=t.parent;for(;e;)if(e.type==="atrule"){if(e.name.toLowerCase()==="media"&&G_.test(e.params))return!0;e=e.parent}else e=e.parent;return!1}function z_(t){let e=t.prop.toLowerCase(),r=[],n=t.parent?.nodes??[];for(let s=0;s<n.length;s++){let o=n[s];o.type==="decl"&&o.prop.toLowerCase()===e&&r.push(o)}return r}var j_=/\b(?:color|lab|lch|oklab|oklch)\(/i,Q_=/^(?:color|lab|lch|oklab|oklch)$/i,Uf=()=>({postcssPlugin:"postcss-gamut-mapping",prepare(){let t=new WeakMap,e=new WeakSet;return{postcssPlugin:"postcss-gamut-mapping",OnceExit(r,{postcss:n}){r.walkDecls(s=>{if(e.has(s)||!j_.test(s.value)||!s.parent||H_(s))return;let o=z_(s).map((a,l)=>{e.add(a);let u=!1,c=a.value,B=ke(ve(qe({css:c})),g=>{if(!ee(g)||!Q_.test(g.getName()))return;let v=de(g);return!v||v.syntaxFlags.has(_.HasNoneKeywords)||Ht(v)?void 0:(u||Zx(v)||(u=!0),je(v,!0))}),h=Oe(B);return{isRec2020:u,matchesOriginal:h===c,modifiedValue:h,hasFallback:l>0,item:a}}),i=[];o.reverse();for(let a of o){if(a.matchesOriginal)break;i.push(a)}i.reverse(),i.forEach(({isRec2020:a,modifiedValue:l,hasFallback:u,item:c})=>{let B=c.parent;if(!B)return;let h=t.get(B)||{conditionalRules:[],propNames:new Set,lastConditionParams:{media:void 0},lastConditionalRule:void 0};t.set(B,h);let g=`(color-gamut: ${a?"rec2020":"p3"})`;if(h.lastConditionParams.media!==g&&(h.lastConditionalRule=void 0),!u){let P=c.cloneBefore({value:l});e.add(P)}if(h.lastConditionalRule){let P=c.clone();return h.lastConditionalRule.append(P),e.add(P),void c.remove()}let v=n.atRule({name:"media",params:g,source:B.source,raws:{before:`
|
|
326
326
|
|
|
327
327
|
`,after:`
|
|
328
328
|
`}}),w=B.clone();w.removeAll(),w.raws.before=`
|
|
329
|
-
`;let y=c.clone();w.append(y),c.remove(),e.add(y),h.lastConditionParams.media=v.params,h.lastConditionalRule=w,v.append(w),h.conditionalRules.push(v)})}),r.walk(s=>{let o=t.get(s);o&&o.conditionalRules.length!==0&&o.conditionalRules.reverse().forEach(i=>{s.after(i)})})}}}});Uf.postcss=!0;p();d();f();var J_=["column-gap","gap","row-gap"],Wf=t=>{let e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-gap-properties",Declaration(r){if(!J_.includes(r.prop.toLowerCase())||!r.parent?.some(o=>o.type==="decl"&&o.prop.toLowerCase()==="display"&&o.value.toLowerCase()==="grid"))return;let n=`grid-${r.prop.toLowerCase()}`;r.parent?.some(o=>o.type==="decl"&&o.prop.toLowerCase()===n)||(r.cloneBefore({prop:n}),e.preserve||r.remove())}}};Wf.postcss=!0;p();d();f();var K_=/(?:repeating-)?(?:linear|radial|conic)-gradient\(/i,Y_=/\bin\b/i,HS={test:t=>K_.test(t)&&Y_.test(t)},X_=/^(repeating-)?(linear|radial|conic)-gradient$/i;function Z_(t,e,r,n=!1){let s=[],o=[];for(let i=0;i<t.length-1;i++){let a=t[i],l=t[i+1];if(o.push(a),r||zt(a.colorData,!1).toString()!==zt(l.colorData,!1).toString()&&a.position.toString()!==l.position.toString())for(let u=1;u<=9;u++){let c=10*u,B=[];r&&(B=[new se([[D.Whitespace," ",-1,-1,void 0]]),r,new se([[D.Whitespace," ",-1,-1,void 0]]),new V([D.Ident,"hue",-1,-1,{value:"hue"}])]);let h=new me([D.Function,"color-mix(",-1,-1,{value:"color-mix"}],[D.CloseParen,")",-1,-1,void 0],[new V([D.Ident,"in",-1,-1,{value:"in"}]),new se([[D.Whitespace," ",-1,-1,void 0]]),e,...B,new V([D.Comma,",",-1,-1,void 0]),new se([[D.Whitespace," ",-1,-1,void 0]]),a.color,new se([[D.Whitespace," ",-1,-1,void 0]]),new V([D.Percentage,100-c+"%",-1,-1,{value:100-c}]),new V([D.Comma,",",-1,-1,void 0]),new se([[D.Whitespace," ",-1,-1,void 0]]),l.color,new se([[D.Whitespace," ",-1,-1,void 0]]),new V([D.Percentage,`${c}%`,-1,-1,{value:c}])]),g=fe(h);if(!g)return!1;o.push({colorData:g})}i===t.length-2&&o.push(l)}for(let i=0;i<o.length;i++)n&&!Ht(o[i].colorData)?o[i].color=zt(o[i].colorData,!1):o[i].color=je(o[i].colorData,!1);for(let i=0;i<o.length;i++){let a=o[i];a.position?s.push(a.color,new se([[D.Whitespace," ",-1,-1,void 0]]),a.position):s.push(a.color),i!==o.length-1&&s.push(new V([D.Comma,",",-1,-1,void 0]),new se([[D.Whitespace," ",-1,-1,void 0]]))}return s}function $_(t){let e=[],r={};for(let n=0;n<t.length;n++){let s=t[n];if(Ce(s)||pe(s))continue;if(W(s)&&et(s.value)){if(r.color&&r.colorData&&r.positionA){e.push({color:r.color,colorData:r.colorData,position:r.positionA}),r.positionB&&e.push({color:r.color,colorData:r.colorData,position:r.positionB}),r={};continue}return!1}let o=fe(s);if(o){if(r.color||o.syntaxFlags.has(_.Experimental))return!1;r.color=s,r.colorData=o}else{if(!r.color)return!1;if(r.positionA){if(!r.positionA||r.positionB)return!1;r.positionB=s}else r.positionA=s}}return!(!r.color||!r.positionA)&&(r.color&&r.colorData&&r.positionA&&(e.push({color:r.color,colorData:r.colorData,position:r.positionA}),r.positionB&&e.push({color:r.color,colorData:r.colorData,position:r.positionB})),!(e.length<2)&&e)}var e9=/^(?:srgb|srgb-linear|lab|oklab|xyz|xyz-d50|xyz-d65|hsl|hwb|lch|oklch)$/i,t9=/^(?:hsl|hwb|lch|oklch)$/i,r9=/^(?:shorter|longer|increasing|decreasing)$/i,n9=/^in$/i,s9=/^hue$/i;function zS(t,e=!1){let r=t.getName();if(!X_.test(r))return!1;let n="srgb",s=null,o=null,i=null,a=null,l=null,u=[];{let g=0,v=t.value[g];for(;v&&!(W(v)&&X(v.value)&&n9.test(v.value[4].value));){if(W(v)&&et(v.value))return!1;g++,v=t.value[g]}for(s=v,g++,v=t.value[g];Ce(v)||pe(v);)g++,v=t.value[g];if(W(v)&&X(v.value)&&e9.test(v.value[4].value)){if(o)return!1;o=v,n=v.value[4].value,g++,v=t.value[g]}for(;Ce(v)||pe(v);)g++,v=t.value[g];if(W(v)&&X(v.value)&&r9.test(v.value[4].value)&&t9.test(n)){if(i||!o)return!1;i=v,g++,v=t.value[g]}for(;Ce(v)||pe(v);)g++,v=t.value[g];if(W(v)&&X(v.value)&&s9.test(v.value[4].value)){if(a||!o||!i)return!1;a=v,g++,v=t.value[g]}for(;v&&(!W(v)||!et(v.value));)g++,v=t.value[g];if(l=v,!l)return!1;u=t.value.slice(g+1)}if(!o||i&&!a||a&&!i)return!1;let c=$_(u);if(!c)return!1;let B=Z_(c,o,i,e);if(!B)return!1;let h=Gf([...t.value.slice(0,t.value.indexOf(s)),...t.value.slice(t.value.indexOf(a||o)+1,t.value.indexOf(l))]);return h.length>0&&h.some(g=>!Ce(g))&&h.push(new V([D.Comma,",",-1,-1,void 0]),new se([[D.Whitespace," ",-1,-1,void 0]])),Gf([...h,...Gf(B)])}function Gf(t){let e=0,r=t.length-1;for(let n=0;n<t.length;n++)if(!pe(t[n])){e=n;break}for(let n=t.length-1;n>=0;n--)if(!pe(t[n])){r=n;break}return t.slice(e,r+1)}var Hf=t=>({postcssPlugin:"postcss-gradients-interpolation-method",Declaration(e){if(!HS.test(e.value)||ce(e)||Ae(e,HS))return;let r=qe({css:e.value}),n=Oe(Se(ge(r),o=>{if(!ee(o))return;let i=zS(o);i&&(o.value=i)}));if(n===e.value)return;let s=Oe(Se(ge(r),o=>{if(!ee(o))return;let i=zS(o,!0);i&&(o.value=i)}));e.cloneBefore({value:n}),n!==s&&e.cloneBefore({value:s}),t?.preserve||e.remove()}});Hf.postcss=!0;var zf=t=>{let e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!0},t);return e.enableProgressiveCustomProperties?{postcssPlugin:"postcss-gradients-interpolation-method",plugins:[Ee(),Hf(e)]}:Hf(e)};zf.postcss=!0;p();d();f();var mn=Be(ut(),1),jf=Be(He(),1);function i9(t){if(t==="")return"";let e,r="";for(let n=0;n<t.length;n++)e=t.charCodeAt(n).toString(36),r+=n===0?e:"-"+e;return"csstools-has-"+r}function o9(t){if(!t.toLowerCase().includes(":has("))return!1;let e=!1;try{let r=new Set;(0,jf.default)(t).walk(n=>{if(n.type==="function"&&n.value.toLowerCase()==="selector")return r.add(jf.default.stringify(n.nodes)),!1}),r.forEach(n=>{a9(n)&&(e=!0)})}catch{}return e}function a9(t){if(!t.toLowerCase().includes(":has("))return!1;let e=!1;try{(0,mn.default)().astSync(t).walk(r=>{if(r.type==="pseudo"&&r.value.toLowerCase()===":has"&&r.nodes&&r.nodes.length>0)return e=!0,!1})}catch{}return e}var Qf=t=>{let e={preserve:!0,specificityMatchingName:"does-not-exist",...t||{}},r=":not(#"+e.specificityMatchingName+")",n=":not(."+e.specificityMatchingName+")",s=":not("+e.specificityMatchingName+")";return{postcssPlugin:"css-has-pseudo",prepare(){let o=new WeakSet;return{postcssPlugin:"css-has-pseudo",RuleExit(i,{result:a}){if(o.has(i)||!i.selector.toLowerCase().includes(":has(")||l9(i))return;let l=i.selectors.map(u=>{if(!u.toLowerCase().includes(":has("))return u;let c;try{c=(0,mn.default)().astSync(u)}catch(h){return i.warn(a,`Failed to parse selector : "${u}" with message: "${h instanceof Error?h.message:h}"`),u}if(c===void 0)return u;c.walkPseudos(h=>{let g=h.parent,v=!1;for(;g;)mn.default.isPseudoClass(g)&&g.value.toLowerCase()===":has"&&(v=!0),g=g.parent;v&&(h.value.toLowerCase()===":visited"&&h.replaceWith(mn.default.className({value:e.specificityMatchingName})),h.value.toLowerCase()===":any-link"&&(h.value=":link"))}),c.walkPseudos(h=>{if(h.value.toLowerCase()!==":has"||!h.nodes)return;let g=h.parent;if(!g)return;let v=mn.default.selector({value:"",nodes:[]});{let F=g.nodes.length;e:for(let q=0;q<g.nodes.length;q++){let ve=g.nodes[q];if(mn.default.isPseudoElement(ve)){for(let oe=q-1;oe>=0;oe--)if(g.nodes[q].type!=="combinator"&&g.nodes[q].type!=="comment"){F=oe+1;break e}}}g.nodes.slice(0,F).forEach(q=>{q.remove(),q.type==="selector"?q.nodes.forEach(ve=>{delete ve.parent,v.append(ve)}):(delete q.parent,v.append(q))})}let w="["+i9(v.toString())+"]",y=Ut(v),P=w;for(let F=0;F<y.a;F++)P+=r;let O=Math.max(1,y.b)-1;for(let F=0;F<O;F++)P+=n;for(let F=0;F<y.c;F++)P+=s;let E=(0,mn.default)().astSync(P).nodes[0].nodes;for(let F=E.length-1;F>=0;F--)g.prepend(E[F])});let B=c.toString();return B!==u?".js-has-pseudo "+B:u});l.join(",")!==i.selectors.join(",")&&(o.add(i),i.cloneBefore({selectors:l}),e.preserve||i.remove())}}}}};function l9(t){let e=t.parent;for(;e;){if(e.type==="atrule"&&o9(e.params))return!0;e=e.parent}return!1}Qf.postcss=!0;p();d();f();var QS=Be(He(),1);var Jf=t=>{let e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-color-hex-alpha",Declaration(r){if(!/#([0-9A-Fa-f]{4}(?:[0-9A-Fa-f]{4})?)\b/.test(r.value)||ce(r))return;let{value:n}=r,s=(0,QS.default)(n);s.walk(i=>{if(i.type==="function"&&i.value==="url")return!1;u9(i)&&B9(i)});let o=s.toString();o!==n&&(r.cloneBefore({value:o}),e.preserve||r.remove())}}};function u9(t){return t.type==="word"&&/^#([0-9A-Fa-f]{4}(?:[0-9A-Fa-f]{4})?)$/.test(t.value)}Jf.postcss=!0;var jS=1e5,B9=t=>{let e=t.value,r=`0x${e.length===5?e.slice(1).replace(/[0-9A-Fa-f]/g,"$&$&"):e.slice(1)}`,[n,s,o,i]=[parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16),parseInt(r.slice(6,8),16),Math.round(parseInt(r.slice(8,10),16)/255*jS)/jS];t.value=`rgba(${n},${s},${o},${i})`};p();d();f();var JS=/\bhwb\(/i,c9=/^hwb$/i,Kf=t=>({postcssPlugin:"postcss-hwb-function",Declaration(e){let r=e.value;if(!JS.test(r)||ce(e)||Ae(e,JS))return;let n=Se(ge(qe({css:r})),o=>{if(!ee(o)||!c9.test(o.getName()))return;let i=fe(o);return i&&!(i.syntaxFlags.has(_.Experimental)||i.syntaxFlags.has(_.HasNoneKeywords)||i.syntaxFlags.has(_.RelativeColorSyntax))?je(i):void 0}),s=Oe(n);s!==r&&(e.cloneBefore({value:s}),t?.preserve||e.remove())}});Kf.postcss=!0;var Yf=t=>{let e=Object.assign({preserve:!1,enableProgressiveCustomProperties:!0},t);return e.enableProgressiveCustomProperties&&e.preserve?{postcssPlugin:"postcss-hwb-function",plugins:[Ee(),Kf(e)]}:Kf(e)};Yf.postcss=!0;p();d();f();var Xf=Be(He(),1);var p9=/ic\b/i,f9=/\(font-size: \d+ic\)/i,Zf=t=>({postcssPlugin:"postcss-ic-unit",Declaration(e){if(!p9.test(e.value)||ce(e)||Ae(e,f9))return;let r=(0,Xf.default)(e.value);r.walk(s=>{if(!s.type||s.type!=="word")return;let o=Xf.default.unit(s.value);o&&o.unit.toLowerCase()==="ic"&&(s.value=`${o.number}em`)});let n=String(r);n!==e.value&&(e.cloneBefore({value:n}),t?.preserve||e.remove())}});Zf.postcss=!0;var $f=t=>{let e=Object.assign({preserve:!1,enableProgressiveCustomProperties:!0},t);return e.enableProgressiveCustomProperties&&e.preserve?{postcssPlugin:"postcss-ic-unit",plugins:[Ee(),Zf(e)]}:Zf(e)};$f.postcss=!0;p();d();f();var It=Be(He(),1);var d9=/^(cross-fade|image|(repeating-)?(conic|linear|radial)-gradient|url|var)$/i;function C9(t){return!(!t||!t.type)&&(t.type==="string"?"url("+It.default.stringify(t)+")":!(t.type!=="function"||!d9.test(t.value))&&It.default.stringify(t))}var h9=new Map([["dpcm",2.54],["dpi",1],["dppx",96],["x",96]]);function m9(t,e,r){if(typeof t=="boolean")return!1;let n=Math.floor(t/96*100)/100;return e.atRule({name:"media",params:`(-webkit-min-device-pixel-ratio: ${n}), (min-resolution: ${t}dpi)`,source:r.source})}function g9(t){if(!t||t.type!=="word"||!v9(t))return!1;let e=It.default.unit(t.value);if(!e)return!1;let r=h9.get(e.unit.toLowerCase());return!!r&&Number(e.number)*r}function v9(t){if(!t||!t.value)return!1;try{return It.default.unit(t.value)!==!1}catch{return!1}}var gu=(t,e,r)=>{if(t.oninvalid==="warn")t.decl.warn(t.result,e,{word:String(r)});else if(t.oninvalid==="throw")throw t.decl.error(e,{word:String(r)})},y9=(t,e,r)=>{let n=e.parent;if(!n)return;let s=new Map,o=e.value;for(let B=0;B<t.length;B++){let{imageSetFunction:h,imageSetOptionNodes:g}=t[B],v=new Map,w=g.length,y=-1;for(;y<w;){let P=y<0||(i=g[y],Object(i).type==="div"&&Object(i).value===","),O=C9(g[y+1]),E=g9(g[y+2]),F=m9(E,r.postcss,e);if(!P)return void gu(r,"expected a comma",It.default.stringify(g));if(!O)return void gu(r,"unexpected image",It.default.stringify(g));if(!F||!E||v.has(E))return void gu(r,"unexpected resolution",It.default.stringify(g));if(v.set(E,F),s.has(E)){let q=s.get(E);q.value=q.value.replace(It.default.stringify(h),O.trim()),s.set(E,q)}else s.set(E,{atRule:F,value:o.replace(It.default.stringify(h),O.trim())});y+=3}}var i;for(let{atRule:B,value:h}of s.values()){let g=n.clone().removeAll(),v=e.clone({value:h});g.append(v),B.append(g)}let a=Array.from(s.keys()).sort((B,h)=>B-h),l=a.map(B=>s.get(B)?.atRule).filter(B=>!!B);if(!l.length)return;let u=s.get(a[0])?.value;if(!u)return;let c=l.slice(1);c.length&&n.after(c),e.cloneBefore({value:u.trim()}),r.preserve||(e.remove(),n.nodes?.length||n.remove())},w9=/(^|[^\w-])(-webkit-)?image-set\(/i,KS=/^(-webkit-)?image-set$/i,ed=t=>{let e=!("preserve"in Object(t))||!!t?.preserve,r="onInvalid"in Object(t)?t?.onInvalid:"ignore";if("oninvalid"in Object(t))throw new Error('"oninvalid" was changed to "onInvalid" to match other plugins with similar options');return{postcssPlugin:"postcss-image-set-function",Declaration(n,{result:s,postcss:o}){let i=n.value;if(!w9.test(i)||ce(n))return;let a;try{a=(0,It.default)(i)}catch{n.warn(s,`Failed to parse value '${i}' as an image-set function. Leaving the original value intact.`)}if(a===void 0)return;let l=[];a.walk(u=>{if(u.type!=="function"||!KS.test(u.value))return;let c=!1;if(It.default.walk(u.nodes,h=>{h.type==="function"&&KS.test(h.value)&&(c=!0)}),c)return gu({decl:n,oninvalid:r,result:s},"nested image-set functions are not allowed",It.default.stringify(u)),!1;let B=u.nodes.filter(h=>h.type!=="comment"&&h.type!=="space");l.push({imageSetFunction:u,imageSetOptionNodes:B})}),y9(l,n,{decl:n,oninvalid:r,preserve:e,result:s,postcss:o})}}};ed.postcss=!0;p();d();f();var $t=Be(ut(),1);function b9(t){let e=(0,$t.default)().astSync(t),r=!0;return e.walk(n=>{if(n.type!=="class"&&n.type!=="comment"&&n.type!=="id"&&n.type!=="root"&&n.type!=="selector"&&n.type!=="string"&&n.type!=="tag"&&n.type!=="universal"&&(n.type!=="attribute"||n.insensitive)&&(n.type!=="combinator"||n.value!=="+"&&n.value!==">"&&n.value!=="~"&&n.value!==" ")&&(n.type!=="pseudo"||n.nodes?.length||n.value.toLowerCase()!==":hover"&&n.value.toLowerCase()!==":focus")){if(n.type==="pseudo"&&n.nodes?.length===1&&n.value.toLowerCase()===":not"){let s=!0;if(n.nodes[0].walkCombinators(()=>{s=!1}),s)return}return r=!1,!1}}),r}function D9(t){if(!t||!t.nodes||t.nodes.length===1)return;let e=[],r=[];for(let s=0;s<t.nodes.length;s++)t.nodes[s].type!=="combinator"?$t.default.isPseudoElement(t.nodes[s])?(e.push(r),r=[t.nodes[s]]):r.push(t.nodes[s]):(e.push(r),e.push([t.nodes[s]]),r=[]);e.push(r);let n=[];for(let s=0;s<e.length;s++){let o=e[s];o.sort((l,u)=>l.type==="selector"&&u.type==="selector"&&l.nodes.length&&u.nodes.length?gn(l.nodes[0],l.nodes[0].type)-gn(u.nodes[0],u.nodes[0].type):l.type==="selector"&&l.nodes.length?gn(l.nodes[0],l.nodes[0].type)-gn(u,u.type):u.type==="selector"&&u.nodes.length?gn(l,l.type)-gn(u.nodes[0],u.nodes[0].type):gn(l,l.type)-gn(u,u.type));let i=new Set(o.map(l=>l.type)),a=i.has("universal")&&(i.has("tag")||i.has("attribute")||i.has("class")||i.has("id")||i.has("pseudo"));for(let l=0;l<o.length;l++)o[l].type==="universal"&&a?o[l].remove():n.push(o[l])}for(let s=n.length-1;s>=0;s--){let o=n[s-1];if(n[s].remove(),o&&o.type==="tag"&&n[s].type==="tag"){let i=$t.default.pseudo({value:":is",nodes:[$t.default.selector({value:"",nodes:[n[s]]})]});t.prepend(i)}else t.prepend(n[s])}}function gn(t,e){return $t.default.isPseudoElement(t)?YS.pseudoElement:YS[e]}var YS={universal:0,tag:1,pseudoElement:2,id:3,class:4,attribute:5,pseudo:6,selector:7,string:8,root:9,comment:10};function x9(t){return!(!t||!t.nodes)&&t.type==="selector"&&t.nodes.length===3&&!(!t.nodes[0]||t.nodes[0].type!=="pseudo"||t.nodes[0].value!==":-csstools-matches")&&!(!t.nodes[1]||t.nodes[1].type!=="combinator"||t.nodes[1].value!=="+"&&t.nodes[1].value!=="~")&&!(!t.nodes[2]||t.nodes[2].type!=="pseudo"||t.nodes[2].value!==":-csstools-matches")&&!(!t.nodes[0].nodes||t.nodes[0].nodes.length!==1)&&t.nodes[0].nodes[0].type==="selector"&&!(!t.nodes[0].nodes[0].nodes||t.nodes[0].nodes[0].nodes.length!==3)&&!(!t.nodes[0].nodes[0].nodes||t.nodes[0].nodes[0].nodes[1].type!=="combinator"||t.nodes[0].nodes[0].nodes[1].value!==">")&&!(!t.nodes[2].nodes||t.nodes[2].nodes.length!==1)&&t.nodes[2].nodes[0].type==="selector"&&!(!t.nodes[2].nodes[0].nodes||t.nodes[2].nodes[0].nodes.length!==3)&&!(!t.nodes[2].nodes[0].nodes||t.nodes[2].nodes[0].nodes[1].type!=="combinator"||t.nodes[2].nodes[0].nodes[1].value!==">")&&(t.nodes[0].nodes[0].insertAfter(t.nodes[0].nodes[0].nodes[0],t.nodes[2].nodes[0].nodes[0].clone()),t.nodes[2].nodes[0].nodes[1].remove(),t.nodes[2].nodes[0].nodes[0].remove(),t.nodes[0].replaceWith(t.nodes[0].nodes[0]),t.nodes[2].replaceWith(t.nodes[2].nodes[0]),!0)}function S9(t){if(!t||!t.nodes||t.type!=="selector"||t.nodes.length!==2)return!1;let e,r;return t.nodes[0]&&t.nodes[0].type==="pseudo"&&t.nodes[0].value===":-csstools-matches"?(e=0,r=1):t.nodes[1]&&t.nodes[1].type==="pseudo"&&t.nodes[1].value===":-csstools-matches"&&(e=1,r=0),!!e&&!!t.nodes[r]&&(t.nodes[r].type!=="selector"||!t.nodes[r].some(n=>n.type==="combinator"||$t.default.isPseudoElement(n)))&&t.nodes[r].type!=="combinator"&&(t.nodes[e].nodes[0].append(t.nodes[r].clone()),t.nodes[e].replaceWith(...t.nodes[e].nodes[0].nodes),t.nodes[r].remove(),!0)}function k9(t){if(!t||!t.nodes||t.type!=="selector")return!1;let e=-1;for(let o=0;o<t.nodes.length;o++){let i=t.nodes[o];if(i.type==="combinator")return!1;if(i.type==="pseudo"&&i.value===":-csstools-matches"){if(!i.nodes||i.nodes.length!==1)return!1;e=o;break}}if(e===-1)return!1;let r=t.nodes.slice(0,e),n=t.nodes[e],s=t.nodes.slice(e+1);return r.forEach(o=>{n.nodes[0].append(o.clone())}),s.forEach(o=>{n.nodes[0].append(o.clone())}),n.replaceWith(...n.nodes),r.forEach(o=>{o.remove()}),s.forEach(o=>{o.remove()}),!0}function P9(t,e,r,n){return t.flatMap(s=>{if(s.indexOf(":-csstools-matches")===-1&&s.toLowerCase().indexOf(":is")===-1)return s;let o=(0,$t.default)().astSync(s);return o.walkPseudos(i=>{if(i.value.toLowerCase()===":is"&&i.nodes&&i.nodes.length&&i.nodes[0].type==="selector"&&i.nodes[0].nodes.length===0)return i.value=":not",void i.nodes[0].append($t.default.universal());if(i.value===":-csstools-matches")if(!i.nodes||i.nodes.length){if(i.walkPseudos(a=>{if($t.default.isPseudoElement(a)){let l=a.value;if(l.startsWith("::-csstools-invalid-"))return;for(;l.startsWith(":");)l=l.slice(1);a.value=`::-csstools-invalid-${l}`,n()}}),i.nodes.length===1&&i.nodes[0].type==="selector"){if(i.nodes[0].nodes.length===1)return void i.replaceWith(i.nodes[0].nodes[0]);if(!i.nodes[0].some(a=>a.type==="combinator"))return void i.replaceWith(...i.nodes[0].nodes)}o.nodes.length!==1||o.nodes[0].type!=="selector"||o.nodes[0].nodes.length!==1||o.nodes[0].nodes[0]!==i?x9(i.parent)||S9(i.parent)||k9(i.parent)||(e.onComplexSelector==="warning"&&r(),i.value=":is"):i.replaceWith(...i.nodes[0].nodes)}else i.remove()}),o.walk(i=>{i.type==="selector"&&"nodes"in i&&i.nodes.length===1&&i.nodes[0].type==="selector"&&i.replaceWith(i.nodes[0])}),o.walk(i=>{"nodes"in i&&D9(i)}),o.toString()}).filter(s=>!!s)}function XS(t,e,r=0){let n=":not(#"+e.specificityMatchingName+")",s=":not(."+e.specificityMatchingName+")",o=":not("+e.specificityMatchingName+")";return t.flatMap(i=>{if(i.toLowerCase().indexOf(":is")===-1)return i;let a=!1,l=[];if((0,$t.default)().astSync(i).walkPseudos(c=>{if(c.value.toLowerCase()!==":is"||!c.nodes||!c.nodes.length||c.nodes[0].type==="selector"&&c.nodes[0].nodes.length===0)return;if(c.parent?.parent?.type==="pseudo"&&c.parent?.parent?.value?.toLowerCase()===":not")return void l.push([{start:c.parent.parent.sourceIndex,end:c.parent.parent.sourceIndex+c.parent.parent.toString().length,option:`:not(${c.nodes.toString()})`}]);if(c.parent?.parent?.type==="pseudo"&&c.parent?.parent?.value?.toLowerCase()===":has")return void(c.value=":-csstools-matches");let B=c.parent;for(;B;){if(B.value&&B.value.toLowerCase()===":is"&&B.type==="pseudo")return void(a=!0);B=B.parent}let h=Ut(c),g=c.sourceIndex,v=g+c.toString().length,w=[];c.nodes.forEach(y=>{let P={start:g,end:v,option:""},O=Ut(y),E=y.toString().trim(),F=Math.max(0,h.a-O.a),q=Math.max(0,h.b-O.b),ve=Math.max(0,h.c-O.c);for(let oe=0;oe<F;oe++)E+=n;for(let oe=0;oe<q;oe++)E+=s;for(let oe=0;oe<ve;oe++)E+=o;P.option=E,w.push(P)}),l.push(w)}),!l.length)return[i];let u=[];return A9(...l).forEach(c=>{let B="";for(let h=0;h<c.length;h++){let g=c[h];B+=i.substring(c[h-1]?.end||0,c[h].start),B+=":-csstools-matches("+g.option+")",h===c.length-1&&(B+=i.substring(c[h].end))}u.push(B)}),a&&r<10&&(u=XS(u,e,r+1)),u}).filter(i=>!!i)}function A9(...t){let e=[],r=t.length-1;return function n(s,o){for(let i=0,a=t[o].length;i<a;i++){let l=s.slice(0);l.push(t[o][i]),o===r?e.push(l):n(l,o+1)}}([],0),e}var N9=/:is\(/i,td=t=>{let e={specificityMatchingName:"does-not-exist",...t||{}};return{postcssPlugin:"postcss-is-pseudo-class",prepare(){let r=new WeakSet;return{postcssPlugin:"postcss-is-pseudo-class",Rule(n,{result:s}){if(!n.selector||!N9.test(n.selector)||r.has(n))return;let o=!1,i=()=>{e.onComplexSelector==="warning"&&(o||(o=!0,n.warn(s,`Complex selectors in '${n.selector}' can not be transformed to an equivalent selector without ':is()'.`)))},a=!1,l=()=>{e.onPseudoElement==="warning"&&(a||(a=!0,n.warn(s,`Pseudo elements are not allowed in ':is()', unable to transform '${n.selector}'`)))};try{let u=!1,c=[],B=P9(XS(n.selectors,{specificityMatchingName:e.specificityMatchingName}),{onComplexSelector:e.onComplexSelector},i,l);if(Array.from(new Set(B)).forEach(h=>{if(n.selectors.indexOf(h)>-1)c.push(h);else{if(b9(h))return c.push(h),void(u=!0);r.add(n),n.cloneBefore({selector:h}),u=!0}}),c.length&&u&&(r.add(n),n.cloneBefore({selectors:c})),!e.preserve){if(!u)return;n.remove()}}catch(u){if(u.message.indexOf("call stack size exceeded")>-1)throw u;n.warn(s,`Failed to parse selector "${n.selector}" with error: ${u.message}`)}}}}}};td.postcss=!0;p();d();f();var ZS=/\b(?:lab|lch)\(/i,$S=/^(?:lab|lch)$/i,rd=t=>({postcssPlugin:"postcss-lab-function",Declaration(e){let r=e.value;if(!ZS.test(r)||ce(e)||Ae(e,ZS))return;let n=qe({css:r}),s=Se(ge(n),a=>{if(!ee(a)||!$S.test(a.getName()))return;let l=fe(a);return l&&!(l.syntaxFlags.has(_.Experimental)||l.syntaxFlags.has(_.HasNoneKeywords)||l.syntaxFlags.has(_.RelativeColorSyntax))?je(l):void 0}),o=Oe(s);if(o===r)return;let i=o;t?.subFeatures.displayP3&&(i=Oe(Se(ge(n),a=>{if(!ee(a)||!$S.test(a.getName()))return;let l=fe(a);return l&&!(l.syntaxFlags.has(_.Experimental)||l.syntaxFlags.has(_.HasNoneKeywords)||l.syntaxFlags.has(_.RelativeColorSyntax))?Ht(l)?je(l):zt(l):void 0}))),e.cloneBefore({value:o}),t?.subFeatures.displayP3&&i!==o&&e.cloneBefore({value:i}),t?.preserve||e.remove()}});rd.postcss=!0;var nd=t=>{let e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!1,subFeatures:{displayP3:!0}},t);return e.subFeatures=Object.assign({displayP3:!0},e.subFeatures),e.enableProgressiveCustomProperties&&(e.preserve||e.subFeatures.displayP3)?{postcssPlugin:"postcss-lab-function",plugins:[Ee(),rd(e)]}:rd(e)};nd.postcss=!0;p();d();f();var Gs="--csstools-color-scheme--dark",ek="initial";function E9(t){return`--csstools-light-dark-toggle--${t}`}var O9=/dark/i,T9=/light/i;function I9(t){let e=qe({css:t}),r=!1,n=!1;return e.forEach(s=>{X(s)&&(T9.test(s[4].value)?r=!0:O9.test(s[4].value)&&(n=!0))}),[r,n]}var L9=/^light-dark$/i;function sd(t){return W(t)&&et(t.value)}function rk(t){if(!ee(t)||!L9.test(t.getName()))return!1;let e=t.value.filter(o=>!pe(o)&&!Ce(o));if(e.length!==3)return!1;let r=e[0],n=e[1],s=e[2];if(!r||!n||!s||!sd(n)||sd(r)||sd(s))return!1;if(ee(r)){let o=[r];po(o,({node:i,parent:a},l)=>{id(i,a,l,!0)}),[r]=o}if(ee(s)){let o=[s];po(o,({node:i,parent:a},l)=>{id(i,a,l,!1)}),[s]=o}return[r,s]}function id(t,e,r,n){if(typeof r!="number")return;let s=rk(t);if(!s)return;let o=s[n?0:1];if(ee(o)){let i=[o];po(i,({node:a,parent:l},u)=>{id(a,l,u,n)}),[o]=i}e.value[r]=o}function R9(t,e){let r=new Map,n=Se(ge(qe({css:t})),s=>{let o=rk(s);if(!o)return;let[i,a]=o,l=e();return r.set(l,`var(${Gs}) ${i.toString()}`),new me([D.Function,"var(",-1,-1,{value:"var"}],[D.CloseParen,")",-1,-1,void 0],[new V([D.Ident,l,-1,-1,{value:l}]),new V([D.Comma,",",-1,-1,void 0]),new se([[D.Whitespace," ",-1,-1,void 0]]),a])});return{value:Oe(n),toggles:r}}var F9=/^color-scheme$/i,tk=/\blight-dark\(/i,od=t=>({postcssPlugin:"postcss-light-dark-function",prepare(){let e=0,r=()=>E9(e++);return{postcssPlugin:"postcss-light-dark-function",Declaration(n,{atRule:s,rule:o}){let i=n.parent;if(i){if(F9.test(n.prop)){if(i.some(u=>u.type==="decl"&&u.prop===Gs))return;let[a,l]=I9(n.value);if(a&&l){n.cloneBefore({prop:Gs,value:" "});let u=i.clone();u.removeAll(),u.append(n.clone({prop:Gs,value:ek}));let c=s({name:"media",params:"(prefers-color-scheme: dark)",source:i.source});return c.append(u),void i.after(c)}return l?void n.cloneBefore({prop:Gs,value:ek}):a?void n.cloneBefore({prop:Gs,value:" "}):void 0}if(tk.test(n.value)){if(ce(n)||Ae(n,tk))return;let a=R9(n.value,r);if(a.value===n.value)return;for(let[l,u]of a.toggles)n.cloneBefore({prop:l,value:u});if(n.cloneBefore({value:a.value}),n.variable&&n.parent){let l=o({selector:"& *",source:n.source});for(let[u,c]of a.toggles)l.append(n.clone({prop:u,value:c}));l.append(n.clone({value:a.value})),n.parent.append(l)}t?.preserve||n.remove()}}}}}});od.postcss=!0;var ad=t=>{let e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!0},t);return e.enableProgressiveCustomProperties&&e.preserve?{postcssPlugin:"postcss-light-dark-function",plugins:[Ee(),od(e)]}:od(e)};ad.postcss=!0;p();d();f();var xr;function nk(t,e){let r=e?"-x":"-y",n=e?"-y":"-x",s=t.prop.toLowerCase().replace("-inline",r).replace("-block",n),o=t.value;t.parent?.some(i=>i.type=="decl"&&i.prop===s&&i.value===o)||(t.cloneBefore({prop:s,value:o}),t.remove())}(function(t){t.TopToBottom="top-to-bottom",t.BottomToTop="bottom-to-top",t.RightToLeft="right-to-left",t.LeftToRight="left-to-right"})(xr||(xr={}));var ld=t=>{let e=Object.assign({inlineDirection:xr.LeftToRight},t);switch(e.inlineDirection){case xr.LeftToRight:case xr.RightToLeft:case xr.TopToBottom:case xr.BottomToTop:break;default:throw new Error(`[postcss-logical-viewport-units] "inlineDirection" must be one of ${Object.values(xr).join(", ")}`)}let r=[xr.LeftToRight,xr.RightToLeft].includes(e.inlineDirection);return{postcssPlugin:"postcss-logical-overflow",Declaration:{"overflow-block":n=>nk(n,r),"overflow-inline":n=>nk(n,r)}}};ld.postcss=!0;p();d();f();var Sr;function sk(t,e){let r=e?"-x":"-y",n=e?"-y":"-x",s=t.prop.toLowerCase().replace("-inline",r).replace("-block",n),o=t.value;t.parent?.some(i=>i.type=="decl"&&i.prop===s&&i.value===o)||(t.cloneBefore({prop:s,value:o}),t.remove())}(function(t){t.TopToBottom="top-to-bottom",t.BottomToTop="bottom-to-top",t.RightToLeft="right-to-left",t.LeftToRight="left-to-right"})(Sr||(Sr={}));var ud=t=>{let e=Object.assign({inlineDirection:Sr.LeftToRight},t);switch(e.inlineDirection){case Sr.LeftToRight:case Sr.RightToLeft:case Sr.TopToBottom:case Sr.BottomToTop:break;default:throw new Error(`[postcss-logical-viewport-units] "inlineDirection" must be one of ${Object.values(Sr).join(", ")}`)}let r=[Sr.LeftToRight,Sr.RightToLeft].includes(e.inlineDirection);return{postcssPlugin:"postcss-logical-overscroll-behavior",Declaration:{"overscroll-behavior-block":n=>sk(n,r),"overscroll-behavior-inline":n=>sk(n,r)}}};ud.postcss=!0;p();d();f();var Ze=Be(He(),1),ik,bu;(function(t){t.Block="block",t.Inline="inline"})(ik||(ik={})),function(t){t.Start="start",t.End="end"}(bu||(bu={}));var To={BlockStart:"block-start",BlockEnd:"block-end",InlineStart:"inline-start",InlineEnd:"inline-end"},tr,er;function ok(t){switch(t){case tr.TopToBottom:return[er.Top,er.Bottom];case tr.BottomToTop:return[er.Bottom,er.Top];case tr.RightToLeft:return[er.Right,er.Left];case tr.LeftToRight:return[er.Left,er.Right]}}function rt(t,e,r){return t.parent&&t.parent.some(n=>n.type=="decl"&&n.prop===r&&n.value===e)?[]:[t.clone({value:e,prop:r})]}function M9(t,e,r){let{prop:n,value:s}=t,o=(0,Ze.default)(s),i=[],a=[];o.nodes.forEach(c=>{if(c.type==="div"&&c.value===",")return i.push(a),void(a=[]);a.push(c)}),i.push(a);for(let c=0;c<i.length;c++){let B=i[c];for(let h=0;h<B.length;h++){let g=B[h];if(g.type!=="word")continue;let v=g.value.toLowerCase(),w=r[v];if(!w)continue;let y=w(e.decl({prop:v,value:"initial"}));if(y.length!==0){for(let P=y.length-1;P>=0;P--){let O=JSON.parse(JSON.stringify(B));O[h].value=y[P].prop,i.splice(c+1,0,O)}i.splice(c,1),c++}}}let l=[];for(let c=0;c<i.length;c++){let B=i[c];l.push(...B),c!==i.length-1&&l.push({type:"div",value:",",sourceIndex:0,sourceEndIndex:0,before:"",after:" "})}let u=Ze.default.stringify(l);return u!==s?rt(t,u,n):[]}function Bd(t){let e=(0,Ze.default)(t.value).nodes.filter(s=>s.type!=="space");if(e.length>2||e.length===0){let s=`[postcss-logical] Invalid number of values for ${t.prop}. Found ${e.length} values, expected 1 or 2.`;throw t.error(s)}let r,n;return e.length===1?(r=Ze.default.stringify(e[0]),n=r):(r=Ze.default.stringify(e[0]),n=Ze.default.stringify(e[1])),[r,n]}function Qt(t,e){return r=>rt(r,r.value,`border-${e}-${t}`)}function Hs(t,e){return r=>{let[n,s]=e,[o,i]=Bd(r);return[...rt(r,o,`border-${n}-${t}`),...rt(r,i,`border-${s}-${t}`)]}}function zs(t){return e=>t.flatMap(r=>rt(e,e.value,`border-${r}`))}function vu(t){return e=>{let r;switch(e.prop.toLowerCase()){case"border-start-start-radius":r=`border-${t.inlineIsHorizontal?`${t.block[0]}-${t.inline[0]}`:`${t.inline[0]}-${t.block[0]}`}-radius`;break;case"border-start-end-radius":r=`border-${t.inlineIsHorizontal?`${t.block[0]}-${t.inline[1]}`:`${t.inline[1]}-${t.block[0]}`}-radius`;break;case"border-end-start-radius":r=`border-${t.inlineIsHorizontal?`${t.block[1]}-${t.inline[0]}`:`${t.inline[0]}-${t.block[1]}`}-radius`;break;case"border-end-end-radius":r=`border-${t.inlineIsHorizontal?`${t.block[1]}-${t.inline[1]}`:`${t.inline[1]}-${t.block[1]}`}-radius`;break}return r?rt(e,e.value,r):[]}}function js(t){return e=>{let{value:r}=e,n=t.inlineIsHorizontal?"width":"height",s=t.inlineIsHorizontal?"height":"width",o=e.prop.toLowerCase().replace("inline-size",n).replace("block-size",s);return rt(e,r,o)}}function yu(t){return e=>rt(e,e.value,t)}function ak(t){return e=>{let[r,n]=t,[s,o]=Bd(e);return[...rt(e,s,r),...rt(e,o,n)]}}function vn(t,e){return r=>rt(r,r.value,`${t}-${e}`)}function wu(t,e){return r=>{let[n,s]=e,[o,i]=Bd(r);return[...rt(r,o,`${t}-${n}`),...rt(r,i,`${t}-${s}`)]}}function _9(t,e){let[r,n]=e.block,[s,o]=e.inline;switch(t){case To.BlockStart:return r;case To.BlockEnd:return n;case To.InlineStart:return s;case To.InlineEnd:return o;default:throw new Error("Unsupported logical direction")}}function q9(t,e,r){let{prop:n,value:s}=t,o=(0,Ze.default)(s);o.nodes.forEach(a=>{if(a.type==="word"){let l=a.value.toLowerCase();e.includes(l)&&(a.value=_9(l,r))}});let i=o.toString();return i!==s?rt(t,i,n):[]}function V9(t,e,r,n,s){return{"caption-side":(i=t,a=>q9(a,Object.values(To),i)),"text-align":t.inlineIsHorizontal?(o=t.inline,a=>{let{prop:l,value:u}=a,c=(0,Ze.default)(u),[B,h]=o;c.nodes.forEach(v=>{if(v.type==="word"){let w=v.value.toLowerCase();if(w===bu.End)return void(v.value=h);w===bu.Start&&(v.value=B)}});let g=c.toString();return g!==u?rt(a,g,l):[]}):null,"block-size":js(t),"inline-size":js(t),"min-block-size":js(t),"max-block-size":js(t),"min-inline-size":js(t),"max-inline-size":js(t),"margin-block-start":vn("margin",e),"margin-block-end":vn("margin",r),"margin-inline-start":vn("margin",n),"margin-inline-end":vn("margin",s),"margin-block":wu("margin",t.block),"margin-inline":wu("margin",t.inline),"inset-block":ak(t.block),"inset-block-start":yu(e),"inset-block-end":yu(r),"inset-inline":ak(t.inline),"inset-inline-start":yu(n),"inset-inline-end":yu(s),inset:a=>{let l=(0,Ze.default)(a.value).nodes.filter(g=>g.type!=="space"&&g.type!=="comment");if(l.length>4){let g=`[postcss-logical] Invalid number of values for ${a.prop}. Found ${l.length} values, expected up to 4 values.`;throw a.error(g)}let u,c,B,h;if(l.length===1)u=Ze.default.stringify(l[0]),c=u,B=u,h=u;else if(l.length===2)u=Ze.default.stringify(l[0]),c=Ze.default.stringify(l[1]),B=u,h=c;else if(l.length===3)u=Ze.default.stringify(l[0]),c=Ze.default.stringify(l[1]),h=c,B=Ze.default.stringify(l[2]);else{if(l.length!==4)return[];u=Ze.default.stringify(l[0]),c=Ze.default.stringify(l[1]),B=Ze.default.stringify(l[2]),h=Ze.default.stringify(l[3])}return[...rt(a,u,"top"),...rt(a,c,"right"),...rt(a,B,"bottom"),...rt(a,h,"left")]},"padding-block-start":vn("padding",e),"padding-block-end":vn("padding",r),"padding-inline-start":vn("padding",n),"padding-inline-end":vn("padding",s),"padding-block":wu("padding",t.block),"padding-inline":wu("padding",t.inline),"border-block-start-width":Qt("width",e),"border-block-end-width":Qt("width",r),"border-inline-start-width":Qt("width",n),"border-inline-end-width":Qt("width",s),"border-block-width":Hs("width",t.block),"border-inline-width":Hs("width",t.inline),"border-block-start-style":Qt("style",e),"border-block-end-style":Qt("style",r),"border-inline-start-style":Qt("style",n),"border-inline-end-style":Qt("style",s),"border-block-style":Hs("style",t.block),"border-inline-style":Hs("style",t.inline),"border-block-start-color":Qt("color",e),"border-block-end-color":Qt("color",r),"border-inline-start-color":Qt("color",n),"border-inline-end-color":Qt("color",s),"border-block-color":Hs("color",t.block),"border-inline-color":Hs("color",t.inline),"border-block":zs(t.block),"border-block-start":zs([e]),"border-block-end":zs([r]),"border-inline":zs(t.inline),"border-inline-start":zs([n]),"border-inline-end":zs([s]),"border-start-start-radius":vu(t),"border-start-end-radius":vu(t),"border-end-start-radius":vu(t),"border-end-end-radius":vu(t)};var o,i}(function(t){t.TopToBottom="top-to-bottom",t.BottomToTop="bottom-to-top",t.RightToLeft="right-to-left",t.LeftToRight="left-to-right"})(tr||(tr={})),function(t){t.Top="top",t.Right="right",t.Bottom="bottom",t.Left="left"}(er||(er={}));var cd=t=>{let e=Object.assign({blockDirection:tr.TopToBottom,inlineDirection:tr.LeftToRight},t),r=Object.values(tr);if(!r.includes(e.blockDirection))throw new Error(`[postcss-logical] "blockDirection" must be one of ${r.join(", ")}`);if(!r.includes(e.inlineDirection))throw new Error(`[postcss-logical] "inlineDirection" must be one of ${r.join(", ")}`);let[n,s]=ok(e.blockDirection),[o,i]=ok(e.inlineDirection);if(!Object.values(er).every(u=>[n,s,o,i].includes(u)))throw new Error('[postcss-logical] "blockDirection" and "inlineDirection" must be on separate axes');let a=u=>(c,{result:B})=>{if(!u)return;let h=[];try{h=u(c)}catch(g){return void c.warn(B,g instanceof Error?g.message:String(g))}h?.length&&(h.forEach(g=>{c.cloneBefore(g)}),c.remove())},l=V9({block:[n,s],inline:[o,i],inlineIsHorizontal:[tr.LeftToRight,tr.RightToLeft].includes(e.inlineDirection)},n,s,o,i);return{postcssPlugin:"postcss-logical",Declaration:{"caption-side":a(l["caption-side"]),"text-align":a(l["text-align"]),"block-size":a(l["block-size"]),"inline-size":a(l["inline-size"]),"min-block-size":a(l["min-block-size"]),"max-block-size":a(l["max-block-size"]),"min-inline-size":a(l["min-inline-size"]),"max-inline-size":a(l["max-inline-size"]),"margin-block-start":a(l["margin-block-start"]),"margin-block-end":a(l["margin-block-end"]),"margin-inline-start":a(l["margin-inline-start"]),"margin-inline-end":a(l["margin-inline-end"]),"margin-block":a(l["margin-block"]),"margin-inline":a(l["margin-inline"]),"inset-block":a(l["inset-block"]),"inset-block-start":a(l["inset-block-start"]),"inset-block-end":a(l["inset-block-end"]),"inset-inline":a(l["inset-inline"]),"inset-inline-start":a(l["inset-inline-start"]),"inset-inline-end":a(l["inset-inline-end"]),inset:a(l.inset),"padding-block-start":a(l["padding-block-start"]),"padding-block-end":a(l["padding-block-end"]),"padding-inline-start":a(l["padding-inline-start"]),"padding-inline-end":a(l["padding-inline-end"]),"padding-block":a(l["padding-block"]),"padding-inline":a(l["padding-inline"]),"border-block-start-width":a(l["border-block-start-width"]),"border-block-end-width":a(l["border-block-end-width"]),"border-inline-start-width":a(l["border-inline-start-width"]),"border-inline-end-width":a(l["border-inline-end-width"]),"border-block-width":a(l["border-block-width"]),"border-inline-width":a(l["border-inline-width"]),"border-block-start-style":a(l["border-block-start-style"]),"border-block-end-style":a(l["border-block-end-style"]),"border-inline-start-style":a(l["border-inline-start-style"]),"border-inline-end-style":a(l["border-inline-end-style"]),"border-block-style":a(l["border-block-style"]),"border-inline-style":a(l["border-inline-style"]),"border-block-start-color":a(l["border-block-start-color"]),"border-block-end-color":a(l["border-block-end-color"]),"border-inline-start-color":a(l["border-inline-start-color"]),"border-inline-end-color":a(l["border-inline-end-color"]),"border-block-color":a(l["border-block-color"]),"border-inline-color":a(l["border-inline-color"]),"border-block":a(l["border-block"]),"border-block-start":a(l["border-block-start"]),"border-block-end":a(l["border-block-end"]),"border-inline":a(l["border-inline"]),"border-inline-start":a(l["border-inline-start"]),"border-inline-end":a(l["border-inline-end"]),"border-start-start-radius":a(l["border-start-start-radius"]),"border-start-end-radius":a(l["border-start-end-radius"]),"border-end-start-radius":a(l["border-end-start-radius"]),"border-end-end-radius":a(l["border-end-end-radius"]),transition:(u,{result:c,postcss:B})=>{let h=[];try{h=M9(u,B,l)}catch(g){return void u.warn(c,g instanceof Error?g.message:String(g))}h?.length&&(h.forEach(g=>{u.cloneBefore(g)}),u.remove())}}}};cd.postcss=!0;p();d();f();var Bk=Be(He(),1),lk,nr,rr;function U9(t,e,r){t.parent&&t.parent.some(n=>n.type=="decl"&&n.prop===r&&n.value===e)||t.cloneBefore({value:e,prop:r})}function W9(t){return e=>{let{prop:r,value:n}=e,s=(0,Bk.default)(n),o=t.inlineIsHorizontal?"horizontal":"vertical",i=t.inlineIsHorizontal?"vertical":"horizontal";s.nodes.forEach(l=>{if(l.type==="word"){let u=l.value.toLowerCase();if(u==="inline")return void(l.value=o);u==="block"&&(l.value=i)}});let a=s.toString();return a!==n&&(U9(e,a,r),!0)}}function uk(t){switch(t){case nr.TopToBottom:return[rr.Top,rr.Bottom];case nr.BottomToTop:return[rr.Bottom,rr.Top];case nr.RightToLeft:return[rr.Right,rr.Left];case nr.LeftToRight:return[rr.Left,rr.Right]}}(function(t){t.Block="block",t.Inline="inline"})(lk||(lk={})),function(t){t.TopToBottom="top-to-bottom",t.BottomToTop="bottom-to-top",t.RightToLeft="right-to-left",t.LeftToRight="left-to-right"}(nr||(nr={})),function(t){t.Top="top",t.Right="right",t.Bottom="bottom",t.Left="left"}(rr||(rr={}));var pd=t=>{let e=Object.assign({blockDirection:nr.TopToBottom,inlineDirection:nr.LeftToRight},t),r=Object.values(nr);if(!r.includes(e.blockDirection))throw new Error(`[postcss-logical-resize] "blockDirection" must be one of ${r.join(", ")}`);if(!r.includes(e.inlineDirection))throw new Error(`[postcss-logical-resize] "inlineDirection" must be one of ${r.join(", ")}`);let[n,s]=uk(e.blockDirection),[o,i]=uk(e.inlineDirection);if(!Object.values(rr).every(u=>[n,s,o,i].includes(u)))throw new Error('[postcss-logical-resize] "blockDirection" and "inlineDirection" must be on separate axes');let a={block:[n,s],inline:[o,i],inlineIsHorizontal:[nr.LeftToRight,nr.RightToLeft].includes(e.inlineDirection)};return{postcssPlugin:"postcss-logical-resize",Declaration:{resize:(l=W9(a),(u,{result:c})=>{if(!l)return;let B=!1;try{B=l(u)}catch(h){return void u.warn(c,h instanceof Error?h.message:String(h))}B&&u.remove()})}};var l};pd.postcss=!0;p();d();f();var kr;function G9(t,e){let r=Ot({css:t}),n=[],s=!1;for(;;){let o=r.nextToken();if(!o||(n.push(o),pt(o)))break;if(!ae(o))continue;let i=o[4].unit.toLowerCase(),a;i==="vi"?a=e.vi:i==="vb"&&(a=e.vb),a&&(o[1]=o[4].value.toString()+a,o[4].unit=a,s=!0)}return s?$(...n):t}(function(t){t.TopToBottom="top-to-bottom",t.BottomToTop="bottom-to-top",t.RightToLeft="right-to-left",t.LeftToRight="left-to-right"})(kr||(kr={}));var H9={test(t){{let r=t.toLowerCase();if(!r.includes("vb")&&!r.includes("vi"))return!1}let e=Ot({css:t});for(;;){let r=e.nextToken();if(!r||pt(r))break;if(!ae(r))continue;let n=r[4].unit.toLowerCase();if(n==="vb"||n==="vi")return!0}return!1}},z9=/(?:vi|vb)\b/i,fd=t=>{let e=Object.assign({inlineDirection:kr.LeftToRight,preserve:!0},t);switch(e.inlineDirection){case kr.LeftToRight:case kr.RightToLeft:case kr.TopToBottom:case kr.BottomToTop:break;default:throw new Error(`[postcss-logical-viewport-units] "inlineDirection" must be one of ${Object.values(kr).join(", ")}`)}let r=[kr.LeftToRight,kr.RightToLeft].includes(e.inlineDirection),n={vb:"vh",vi:"vw"};return r||(n.vb="vw",n.vi="vh"),{postcssPlugin:"postcss-logical-viewport-units",Declaration(s,{atRule:o}){if(!z9.test(s.value)||ce(s)||Ae(s,H9))return;let i=G9(s.value,n);if(i===s.value)return;if(s.cloneBefore({value:i}),!e.preserve)return void s.remove();if(!s.variable)return;let a=o({name:"supports",params:"(top: 1vi)",source:s.source}),l=s.parent;if(!l)return;let u=l.cloneAfter({nodes:[]});u.append(s),a.append(u),l.after(a)}}};fd.postcss=!0;p();d();f();var Ct=1e5,ck=2147483647;function dd(t){if(Array.isArray(t.value)&&ko(t.value)){let r=[];for(let u=0;u<t.value.length;u++){let c=t.value[u];(W(c)&&j(c.value)||ee(c)&&c.getName().toLowerCase()==="calc")&&r.push(c)}if(r.length!==2)return;let n=r[0],s=t.value.indexOf(n),o=r[1],i=t.value.indexOf(o);if(W(o)&&j(o.value)&&o.value[4].value===0)return t.value.splice(s,1,new V([D.Number,ck.toString(),-1,-1,{value:ck,type:R.Integer}])),void t.value.splice(i,1,new V([D.Number,"1",-1,-1,{value:1,type:R.Integer}]));if(W(n)&&j(n.value)&&n.value[4].type===R.Integer&&W(o)&&j(o.value)&&o.value[4].type===R.Integer)return;let a=null,l=null;if(ee(n)&&n.getName().toLowerCase()==="calc"){if(n.toString().includes(Ct.toString()))return;a=Cd(n)}if(ee(o)&&o.getName().toLowerCase()==="calc"){if(o.toString().includes(Ct.toString()))return;l=Cd(o)}if(W(n)&&j(n.value)&&W(o)&&j(o.value)){let u=n.value,c=o.value,B=Math.round(u[4].value*Ct),h=Math.round(c[4].value*Ct),g=pk(B,h);a=new V([D.Number,Math.round(B/g).toString(),-1,-1,{value:Math.round(B/g),type:R.Integer}]),l=new V([D.Number,Math.round(h/g).toString(),-1,-1,{value:Math.round(h/g),type:R.Integer}])}else{if(W(n)&&j(n.value)){let u=n.value;a=new V([D.Number,Math.round(u[4].value*Ct).toString(),-1,-1,{value:Math.round(u[4].value*Ct),type:R.Integer}])}if(W(o)&&j(o.value)){let u=o.value;l=new V([D.Number,Math.round(u[4].value*Ct).toString(),-1,-1,{value:Math.round(u[4].value*Ct),type:R.Integer}])}}return a&&l?(t.value.splice(s,1,a),void t.value.splice(i,1,l)):void 0}let e=Array.isArray(t.value)?t.value:[t.value];for(let r=0;r<e.length;r++){let n=e[r];if(W(n)){let s=n.value;if(!j(s))return;if(s[4].type===R.Integer)return e.splice(r+1,0,new V([D.Delim,"/",-1,-1,{value:"/"}]),new V([D.Number,"1",-1,-1,{value:1,type:R.Integer}])),void(t.value=e);if(s[4].type===R.Number){let o=Math.round(s[4].value*Ct),i=pk(o,Ct);return e.splice(r,1,new V([D.Number,Math.round(o/i).toString(),-1,-1,{value:Math.round(o/i),type:R.Integer}]),new V([D.Delim,"/",-1,-1,{value:"/"}]),new V([D.Number,Math.round(Ct/i).toString(),-1,-1,{value:Math.round(Ct/i),type:R.Integer}])),void(t.value=e)}return}if(ee(n)&&n.getName().toLowerCase()==="calc")return e.splice(r,1,Cd(n),new V([D.Delim,"/",-1,-1,{value:"/"}]),new V([D.Number,Ct.toString(),-1,-1,{value:Ct,type:R.Integer}])),void(t.value=e)}}function Cd(t){return new me([D.Function,"calc(",-1,-1,{value:"calc("}],[D.CloseParen,")",-1,-1,void 0],[new _n([D.OpenParen,"(",-1,-1,void 0],[D.CloseParen,")",-1,-1,void 0],t.value),new se([[D.Whitespace," ",-1,-1,void 0]]),new V([D.Delim,"*",-1,-1,{value:"*"}]),new se([[D.Whitespace," ",-1,-1,void 0]]),new V([D.Number,Ct.toString(),-1,-1,{value:Ct,type:R.Integer}])])}function pk(t,e){if(Number.isNaN(t)||Number.isNaN(e))throw new Error("Unexpected 'NaN' when calculating the greatest common divisor.");if(!Number.isFinite(t)||!Number.isFinite(e))throw new Error("Unexpected 'Infinite' value when calculating the greatest common divisor.");for(e>t&&([t,e]=[e,t]);;){if(e==0)return t;if((t%=e)==0)return e;e%=t}}var fk=new Set(["aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio"]);function j9(t,e){let r=Us(t,{preserveInvalidMediaQueries:!0,onParseError:()=>{throw new Error(`Unable to parse media query "${t}"`)}}),n=new Set(r.map(s=>s.toString()));return r.flatMap(s=>{if(jn(s))return[s.toString()];let o=kS(s);o.walk(l=>{let u=l.node;if(yS(u)||Ws(u)||Ao(u)){let c=u.name.getName().toLowerCase();if(!fk.has(c))return;dd(u.value)}else if(mf(u)){let c=u.name.getName().toLowerCase();if(!fk.has(c))return;dd(u.valueOne),dd(u.valueTwo)}});let i=s.toString(),a=o.toString();return a===i||n.has(a)?[i]:e?[i,a]:[a]}).join(",")}var hd=t=>{let e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-media-queries-aspect-ratio-number-values",AtRule(r,{result:n}){if(r.name.toLowerCase()!=="media")return;let s=r.params.toLowerCase();if(!(s.includes("aspect-ratio")||s.includes("min-aspect-ratio")||s.includes("max-aspect-ratio")||s.includes("device-aspect-ratio")||s.includes("min-device-aspect-ratio")||s.includes("max-device-aspect-ratio")))return;let o;try{if(o=j9(r.params,e.preserve),o===r.params)return}catch(i){return void r.warn(n,`Failed to transform @media params for "${r.params}" with message: "${i instanceof Error?i.message:i}"`)}r.cloneBefore({params:o}),r.remove()}}};hd.postcss=!0;p();d();f();var Q9={width:"px",height:"px","device-width":"px","device-height":"px","aspect-ratio":"","device-aspect-ratio":"",color:"","color-index":"",monochrome:"",resolution:"dpi"},dk={width:!1,height:!1,"device-width":!1,"device-height":!1,"aspect-ratio":!1,"device-aspect-ratio":!1,color:!0,"color-index":!0,monochrome:!0,resolution:"dpi"};function Du(t){return t===Ue.LT||t===Ue.LT_OR_EQ?"max-":t===tt.GT||t===tt.GT_OR_EQ?"min-":""}var Pr={">":1,"<":-1},md=.001,Ck=.02;function gd(t,e,r,n){let s=r.before,o=r.after;if(n||(s=r.after,o=r.before),!n){let g=BS(e);if(g===!1)return;e=g}if(e===jt.EQ||e===Ue.LT_OR_EQ||e===tt.GT_OR_EQ)return Array.isArray(r.value)?fn(Du(e)+t,...s,...r.value.flatMap(g=>g.tokens()),...o):fn(Du(e)+t,...s,...r.value.tokens(),...o);let i,a,l=!1;if(Array.isArray(r.value)){if(!ko(r.value)||t!=="aspect-ratio"&&t!=="device-aspect-ratio")return;let g=df(r.value);if(g===-1)return;l=!0,i=r.value[g[0]],a=[...r.value.slice(g[0]+1).flatMap(v=>v.tokens())]}else i=r.value,a=[];let u=Q9[t.toLowerCase()];if(ee(i)){let g=i.getName().toLowerCase();if(Wn.has(g)||g==="env"){let[[v]]=Bn([[i]],{precision:5,toCanonicalUnits:!0});if(!(v&&W(v)&&Ve(v.value)&&Number.isInteger(v.value[4].value))){let w;if(u!==void 0){let y=Pr[e]*(u==="px"?Ck:md);w=[D.Dimension,`${y.toString()}${u}`,-1,-1,{value:y,unit:u,type:R.Integer}]}else if(dk[t]===!0){let y=Pr[e];w=[D.Number,y.toString(),-1,-1,{value:y,type:R.Integer}]}else if(l){let y=Pr[e]*md;w=[D.Number,y.toString(),-1,-1,{value:y,type:R.Integer}]}else{let y=Pr[e];w=[D.Number,y.toString(),-1,-1,{value:y,type:R.Integer}]}return fn(Du(e)+t,...s,[D.Function,"calc(",-1,-1,{value:"calc("}],[D.OpenParen,"(",-1,-1,void 0],...i.tokens().slice(1),[D.Whitespace," ",-1,-1,void 0],[D.Delim,"+",-1,-1,{value:"+"}],[D.Whitespace," ",-1,-1,void 0],w,[D.CloseParen,")",-1,-1,void 0],...a,...o)}i=v}}if(!W(i))return;let c,B=i.value,h="";if(u!==void 0&&j(B)&&B[4].value===0)c=Pr[e],h=u;else if(j(B)&&B[4].value===0)c=Pr[e],h="";else if(ae(B)&&B[4].value===0)c=Pr[e],h=B[4].unit;else if(j(B)&&dk[t]===!0)c=B[4].value+Pr[e];else if(ae(B)&&B[4].unit==="px"&&B[4].type===R.Integer)c=+(Math.round(+(B[4].value+Ck*Pr[e]+"e6"))+"e-6");else{if(!ae(B)&&!j(B))return;c=+(Math.round(+(B[4].value+md*Pr[e]+"e6"))+"e-6")}return h&&(B=[D.Dimension,B[1],B[2],B[3],{value:B[4].value,unit:h,type:B[4].type}]),B[4].value=c,ae(B)?B[1]=B[4].value.toString()+B[4].unit:B[1]=B[4].value.toString(),fn(Du(e)+t,...s,B,...a,...o)}var J9=new Set(["aspect-ratio","color","color-index","device-aspect-ratio","device-height","device-width","height","horizontal-viewport-segments","monochrome","resolution","vertical-viewport-segments","width"]);function hk(t){return t.map((e,r)=>{let n=Gx(e);e.walk(o=>{let i=o.node;if(!wS(i))return;let a=o.parent;if(!No(a))return;let l=i.name.getName().toLowerCase();if(!J9.has(l))return;if(Ws(i)||Ao(i)){let P=i.operatorKind();if(P===!1)return;let O=gd(l,P,i.value,Ws(i));return void(O&&(a.feature=O.feature))}let u=n.get(a);if(!bS(u))return;let c=null,B=null;{let P=i.valueOneOperatorKind();if(P===!1)return;let O=gd(l,P,i.valueOne,!1);if(!O)return;P===Ue.LT||P===Ue.LT_OR_EQ?(c=O,c.before=a.before):(B=O,B.after=a.after)}{let P=i.valueTwoOperatorKind();if(P===!1)return;let O=gd(l,P,i.valueTwo,!0);if(!O)return;P===Ue.LT||P===Ue.LT_OR_EQ?(B=O,B.before=a.before):(c=O,c.after=a.after)}if(!c||!B)return;let h=new St(c),g=new St(B),v=K9(u,n);if(v)return v.leading===u?(v.leading=h,void(v.list=[new Wr([[D.Whitespace," ",-1,-1,void 0],[D.Ident,"and",-1,-1,{value:"and"}],[D.Whitespace," ",-1,-1,void 0]],g),...v.list])):void v.list.splice(v.indexOf(n.get(u)),1,new Wr([[D.Whitespace," ",-1,-1,void 0],[D.Ident,"and",-1,-1,{value:"and"}],[D.Whitespace," ",-1,-1,void 0]],h),new Wr([[D.Whitespace," ",-1,-1,void 0],[D.Ident,"and",-1,-1,{value:"and"}],[D.Whitespace," ",-1,-1,void 0]],g));let w=new _s(h,[new Wr([[D.Whitespace," ",-1,-1,void 0],[D.Ident,"and",-1,-1,{value:"and"}],[D.Whitespace," ",-1,-1,void 0]],g)],[[D.Whitespace," ",-1,-1,void 0]]),y=Y9(u,e,n);y?y.media=w:u.media=new ht(new St(new ht(w),[[D.Whitespace," ",-1,-1,void 0],[D.OpenParen,"(",-1,-1,void 0]],[[D.CloseParen,")",-1,-1,void 0]]))});let s=e.tokens();return $(...s.filter((o,i)=>(i!==0||r!==0||!Cr(o))&&!(Cr(o)&&s[i+1]&&Cr(s[i+1]))))}).join(",")}function K9(t,e){let r=t;if(r){if(r=e.get(r),Cu(r))return r;if(du(r))return r=e.get(r),Cu(r)?r:void 0}}function Y9(t,e,r){let n=t;if(!n||(n=r.get(n),!vS(n)))return;let s=n;return n=r.get(n),SS(n)&&n===e?s:void 0}var vd=()=>({postcssPlugin:"postcss-media-minmax",AtRule:{media(t){if(!(t.params.includes("<")||t.params.includes(">")||t.params.includes("=")))return;let e=hk(Us(t.params,{preserveInvalidMediaQueries:!0,onParseError:()=>{throw t.error(`Unable to parse media query "${t.params}"`)}}));t.params!==e&&(t.params=e)},"custom-media"(t){if(!(t.params.includes("<")||t.params.includes(">")||t.params.includes("=")))return;let e=hS(t.params,{preserveInvalidMediaQueries:!0,onParseError:()=>{throw t.error(`Unable to parse media query "${t.params}"`)}});if(!e||!e.mediaQueryList)return;let r=e.mediaQueryList.map(s=>s.toString()).join(","),n=hk(e.mediaQueryList);r!==n&&(t.params=`${$(...e.name)} ${n}`)}}});vd.postcss=!0;p();d();f();var xu=Be(He(),1);var X9=/calc\(/gim,yd=t=>{let e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-nested-calc",Declaration(r,{result:n}){if((r.value.match(X9)||[]).length<2||r.variable||ce(r))return;let s=r.value,o;try{o=(0,xu.default)(s)}catch{return void r.warn(n,`Failed to parse value '${s}'. Leaving the original value intact.`)}if(o===void 0)return;xu.default.walk(o.nodes,a=>{a.type&&a.type==="function"&&a.value.toLowerCase()==="calc"&&xu.default.walk(a.nodes,l=>{if(l.type&&l.type==="function")return l.value.toLowerCase()==="calc"&&void(l.value="")})},!0);let i=String(o);i!==s&&(r.cloneBefore({value:i}),e.preserve||r.remove())}}};yd.postcss=!0;p();d();f();var nt=Be(ut(),1);p();d();f();var sr=Be(ut(),1);function Jn(t){return{sourceIndex:t.sourceIndex??0,source:t.source}}function Z9(t){let e=[],r=[];t.each(s=>{if(s.type==="combinator")return e.push(r,[s]),void(r=[]);if(sr.default.isPseudoElement(s))return e.push(r),void(r=[s]);if(s.type==="universal"&&r.find(o=>o.type==="universal"))s.remove();else{if(s.type==="tag"&&r.find(o=>o.type==="tag")){s.remove();let o=sr.default.selector({value:"",...Jn(s)});o.append(s);let i=sr.default.pseudo({value:":is",...Jn(s)});return i.append(o),void r.push(i)}r.push(s)}}),e.push(r);let n=[];for(let s=0;s<e.length;s++){let o=e[s];o.sort((i,a)=>mk(i)-mk(a)),n.push(...o)}t.removeAll();for(let s=n.length-1;s>=0;s--)n[s].remove(),t.prepend(n[s])}function mk(t){return sr.default.isPseudoElement(t)?gk.pseudoElement:gk[t.type]}var gk={universal:0,tag:1,pseudoElement:2,nesting:3,id:4,class:5,attribute:6,pseudo:7,comment:8};function yk(t,e){let r=[];for(let s=0;s<t.nodes.length;s++){let o=t.nodes[s].clone();{let i=!1;o.walkNesting(()=>(i=!0,!1)),i?o.nodes[0]?.type==="combinator"&&o.prepend(sr.default.nesting({...Jn(o)})):(o.prepend(sr.default.combinator({value:" ",...Jn(o)})),o.prepend(sr.default.nesting({...Jn(o)})))}{let i=new Set;o.walkNesting(a=>{let l=a.parent;i.add(l),l.parent?.type==="pseudo"&&l.parent.value?.toLowerCase()===":has"?a.replaceWith(...vk(e,!0)):a.replaceWith(...vk(e))});for(let a of i)Z9(a)}o.walk(i=>{i.type==="combinator"&&i.value.trim()!==""?(i.rawSpaceAfter=" ",i.rawSpaceBefore=" "):(i.rawSpaceAfter="",i.rawSpaceBefore="")}),r.push(o)}let n=sr.default.root({value:"",...Jn(t)});return r.forEach(s=>{n.append(s)}),n}function vk(t,e=!1){if(e||!$9(t.nodes)){let r=sr.default.pseudo({value:":is",...Jn(t)});return t.nodes.forEach(n=>{r.append(n.clone())}),[r]}return t.nodes[0].nodes.map(r=>r.clone())}function $9(t){return t.length===1&&!t[0].nodes.some(e=>e.type==="combinator"||sr.default.isPseudoElement(e))}var eq=nt.default.pseudo({value:":is"});function Kn(t){if(!t||!t.nodes)return;let e=[],r=[];for(let s=0;s<t.nodes.length;s++)if(t.nodes[s].type!=="combinator")if(nt.default.isPseudoElement(t.nodes[s]))e.push(r),r=[t.nodes[s]];else{if(t.nodes[s].type==="tag"&&r.find(o=>o.type==="tag")){let o=eq.clone({}),i=t.nodes[s];i.replaceWith(o),o.append(nt.default.selector({nodes:[i],value:void 0}))}r.push(t.nodes[s])}else e.push(r),e.push([t.nodes[s]]),r=[];e.push(r);let n=[];for(let s=0;s<e.length;s++){let o=e[s];o.sort((i,a)=>i.type==="selector"&&a.type==="selector"&&i.nodes.length&&a.nodes.length?yn(i.nodes[0])-yn(a.nodes[0]):i.type==="selector"&&i.nodes.length?yn(i.nodes[0])-yn(a):a.type==="selector"&&a.nodes.length?yn(i)-yn(a.nodes[0]):yn(i)-yn(a));for(let i=0;i<o.length;i++)n.push(o[i])}for(let s=n.length-1;s>=0;s--)n[s].remove(),t.prepend(n[s])}function yn(t){return nt.default.isPseudoElement(t)?wk.pseudoElement:wk[t.type]}var wk={universal:0,tag:1,pseudoElement:2,id:3,class:4,attribute:5,pseudo:6,selector:7,string:8,root:9,comment:10};function Xn(t){return t&&t.type==="atrule"}function bk(t){return t&&Xn(t)&&t.name==="nest"}function Yn(t){return t&&t.type==="rule"}function tq(t,e){let r,n=t.parent;for(;n;){if(n.type==="rule"||Xn(n)&&n.name==="scope")return;n=n.parent}try{r=(0,nt.default)().astSync(t.selector)}catch(s){return void t.warn(e,`Failed to parse selector : "${t.selector}" with message: "${s instanceof Error?s.message:s}"`)}r&&(r.walkNesting(s=>{let o=s.parent;s.replaceWith(nt.default.pseudo({value:":scope"})),o&&Kn(o)}),t.selector=r.toString())}function Gr(t){if(!t.nodes.length)return void t.remove();let e=t.nodes.filter(r=>r.type==="comment");e.length===t.nodes.length&&t.replaceWith(...e)}function Dd(t){let e=[],r=[];t.each(n=>{if(Dk(n,r.length>0))e.push(n);else{if(n.type==="comment"){let s=n.next();for(;s&&s.type==="comment";)s=s.next();if(Dk(s,r.length>0))return void e.push(n)}r.push(n)}}),t.removeAll(),e.forEach(n=>{t.append(n)}),r.forEach(n=>{t.append(n)})}function Dk(t,e){return!!t&&(t.type==="decl"||t.type==="atrule"&&t.name.toLowerCase()==="mixin"&&!e)}function ku(t){let e=[],r="",n=!1,s=0,o=!1,i=!1;for(let a of t)i?i=!1:a==="\\"?i=!0:o?a===o&&(o=!1):a==='"'||a==="'"?o=a:a==="("?s+=1:a===")"?s>0&&(s-=1):s===0&&a===","&&(n=!0),n?(r!==""&&e.push(r.trim()),r="",n=!1):r+=a;return e.push(r.trim()),e}function Qs(t,e){let r=e.index(t);if(r){let n=e.cloneBefore().removeAll().append(e.nodes.slice(0,r));n.raws.semicolon=!0,Gr(n)}e.before(t),e.raws.semicolon=!0}var xd=["container","document","media","supports","layer","starting-style"];function rq(t,e){var r,n;Dd(e),Qs(t,e),t.params=(r=e.params,n=t.params,ku(r).map(s=>ku(n).map(o=>`${s} and ${o}`).join(", ")).join(", ")),Gr(e)}function nq(t,e){return xd.includes(t.name)&&t.name===e.name}function sq(t,e,r,n,s){if(Dd(e),Qs(t,e),t.nodes){let o=e.clone().removeAll().append(t.nodes);t.append(o),Gr(e),n(o,r,s)}else Gr(e)}function iq(t){return xd.includes(t.name)}function oq(t,e){if(e<2)throw new Error("n must be greater than 1");if(t.length<2)throw new Error("s must be greater than 1");if(Math.pow(t.length,e)>1e4)throw new Error("Too many combinations when trying to resolve a nested selector with lists, reduce the complexity of your selectors");let r=[];for(let s=0;s<e;s++)r[s]=0;let n=[];for(;;){let s=[];for(let o=e-1;o>=0;o--){let i=r[o];if(i>=t.length){if(i=0,r[o]=0,o===0)return n;r[o-1]+=1}s[o]=t[i]}n.push(s),r[r.length-1]++}}function aq(t){let e=t.map(n=>(0,nt.default)().astSync(n)).map(n=>Ut(n)),r=e[0];for(let n=1;n<e.length;n++)if(r.a!==e[n].a||r.b!==e[n].b||r.c!==e[n].c)return!1;return!0}function Sk(t,e,r){let n=[];n=aq(t)||r.noIsPseudoSelector?t.map(o=>(0,nt.default)().astSync(o)):[(0,nt.default)().astSync(`:is(${t.join(",")})`)];let s=[];for(let o=0;o<e.length;o++){let i,a=e[o];{let c=(0,nt.default)().astSync(a),B=!1;c.walk(v=>{v.type==="nesting"&&(B=!0)});let h=c.nodes[0],g=!1;h.each(v=>v.type==="combinator"&&(g=!0,!1)),B?g&&h.insertBefore(h.at(0),nt.default.nesting({})):(h.insertBefore(h.at(0),nt.default.combinator({value:" "})),h.insertBefore(h.at(0),nt.default.nesting({}))),a=c.toString()}let l=[],u=0;if((0,nt.default)().astSync(a).walkNesting(()=>{u++}),u>1&&n.length>1)l=oq(n,u),i=l.length;else{i=n.length;for(let c=0;c<n.length;c++){l.push([]);for(let B=0;B<u;B++)l[c].push(n[c])}}for(let c=0;c<i;c++){let B=0,h=(0,nt.default)().astSync(a);h.walk(g=>{if(g.type!=="nesting")return;let v=l[c][B];B++,v.type==="root"&&v.nodes.length===1&&(v=v.nodes[0]);let w=(0,nt.default)().astSync(`:is(${v.toString()})`),y=Pu(v.nodes[0]),P=wd(v.nodes[0]),O=Pu(g),E=wd(g);if(y&&O)return void g.replaceWith(v.clone());if((y||P)&&(O||E)){let q=g.parent;return y&&v.type==="selector"?g.replaceWith(v.clone().nodes[0]):g.replaceWith(...v.clone().nodes),void(q&&q.nodes.length>1&&Kn(q))}if(y){let q=g.parent;return g.replaceWith(v.clone().nodes[0]),void(q&&Kn(q))}if(P){let q=g.parent;return g.replaceWith(...v.clone().nodes),void(q&&Kn(q))}if(lq(g)){let q=g.parent;return g.replaceWith(...v.clone().nodes),void(q&&Kn(q))}if(uq(g)){let q=g.parent;return g.replaceWith(...v.clone().nodes),void(q&&Kn(q))}let F=g.parent;r.noIsPseudoSelector?g.replaceWith(...v.clone().nodes):g.replaceWith(...w.clone({}).nodes),F&&Kn(F)}),s.push(h.toString())}}return s}function Pu(t){return t.type!=="combinator"&&!(t.parent&&t.parent.nodes.length>1)}function wd(t,e=null){return Pu(t)||!t.parent||t.parent.nodes.find(r=>r.type==="combinator")?!1:!(t.parent.nodes.find(r=>r.type==="nesting")&&e&&!wd(e))}function lq(t){if(!t.parent||t.parent.nodes.indexOf(t)!==0)return!1;for(let e=1;e<t.parent.nodes.length;e++)if(t.parent.nodes[e].type==="combinator"&&t.parent.nodes[e].value!==" "&&t.parent.nodes[e].value!==">")return!1;return!0}function uq(t){if(Pu(t))return!0;if(!t.parent)return!1;for(let e=0;e<t.parent.nodes.length;e++)if(t.parent.nodes[e].type!=="nesting"&&(t.parent.nodes[e].prev()||t.parent.nodes[e].next())&&(t.parent.nodes[e].prev()&&t.parent.nodes[e].prev().type!=="combinator"||t.parent.nodes[e].next()&&t.parent.nodes[e].next().type!=="combinator"))return!1;return!0}function Bq(t,e,r,n,s){let o=[];try{o=Sk(e.selectors,ku(t.params),s)}catch(a){return void t.warn(r,`Failed to parse selectors : "${e.selector}" / "${t.params}" with message: "${a instanceof Error?a.message:a}"`)}if(!o.length)return;Qs(t,e);let i=e.clone().removeAll().append(t.nodes);i.raws.semicolon=!0,i.selectors=o,t.replaceWith(i),Gr(e),n(i,r,s)}function cq(t){return ku(t.params).every(e=>e.split("&").length>=2&&e.indexOf("|")===-1)}function pq(t,e,r,n){let s=[];try{s=Sk(e.selectors,t.selectors,n)}catch(o){return void t.warn(r,`Failed to parse selectors : "${e.selector}" / "${t.selector}" with message: "${o instanceof Error?o.message:o}"`)}s.length&&(Dd(e),Qs(t,e),t.selectors=s,t.type==="rule"&&e.type==="rule"&&t.selector===e.selector&&t.append(...e.nodes),Gr(e))}function fq(t){return t.selectors.every(e=>e.indexOf("|")===-1)}function Su(t,e,r){t.each(n=>{let s=n.parent;bk(n)&&!r.silenceAtNestWarning&&t.warn(e,`\`@nest\` was removed from the CSS Nesting specification and will be removed from PostCSS Nesting in the next major version.
|
|
329
|
+
`;let y=c.clone();w.append(y),c.remove(),e.add(y),h.lastConditionParams.media=v.params,h.lastConditionalRule=w,v.append(w),h.conditionalRules.push(v)})}),r.walk(s=>{let o=t.get(s);o&&o.conditionalRules.length!==0&&o.conditionalRules.reverse().forEach(i=>{s.after(i)})})}}}});Uf.postcss=!0;p();d();f();var J_=["column-gap","gap","row-gap"],Wf=t=>{let e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-gap-properties",Declaration(r){if(!J_.includes(r.prop.toLowerCase())||!r.parent?.some(o=>o.type==="decl"&&o.prop.toLowerCase()==="display"&&o.value.toLowerCase()==="grid"))return;let n=`grid-${r.prop.toLowerCase()}`;r.parent?.some(o=>o.type==="decl"&&o.prop.toLowerCase()===n)||(r.cloneBefore({prop:n}),e.preserve||r.remove())}}};Wf.postcss=!0;p();d();f();var K_=/(?:repeating-)?(?:linear|radial|conic)-gradient\(/i,Y_=/\bin\b/i,HS={test:t=>K_.test(t)&&Y_.test(t)},X_=/^(repeating-)?(linear|radial|conic)-gradient$/i;function Z_(t,e,r,n=!1){let s=[],o=[];for(let i=0;i<t.length-1;i++){let a=t[i],l=t[i+1];if(o.push(a),r||zt(a.colorData,!1).toString()!==zt(l.colorData,!1).toString()&&a.position.toString()!==l.position.toString())for(let u=1;u<=9;u++){let c=10*u,B=[];r&&(B=[new se([[D.Whitespace," ",-1,-1,void 0]]),r,new se([[D.Whitespace," ",-1,-1,void 0]]),new V([D.Ident,"hue",-1,-1,{value:"hue"}])]);let h=new ge([D.Function,"color-mix(",-1,-1,{value:"color-mix"}],[D.CloseParen,")",-1,-1,void 0],[new V([D.Ident,"in",-1,-1,{value:"in"}]),new se([[D.Whitespace," ",-1,-1,void 0]]),e,...B,new V([D.Comma,",",-1,-1,void 0]),new se([[D.Whitespace," ",-1,-1,void 0]]),a.color,new se([[D.Whitespace," ",-1,-1,void 0]]),new V([D.Percentage,100-c+"%",-1,-1,{value:100-c}]),new V([D.Comma,",",-1,-1,void 0]),new se([[D.Whitespace," ",-1,-1,void 0]]),l.color,new se([[D.Whitespace," ",-1,-1,void 0]]),new V([D.Percentage,`${c}%`,-1,-1,{value:c}])]),g=de(h);if(!g)return!1;o.push({colorData:g})}i===t.length-2&&o.push(l)}for(let i=0;i<o.length;i++)n&&!Ht(o[i].colorData)?o[i].color=zt(o[i].colorData,!1):o[i].color=je(o[i].colorData,!1);for(let i=0;i<o.length;i++){let a=o[i];a.position?s.push(a.color,new se([[D.Whitespace," ",-1,-1,void 0]]),a.position):s.push(a.color),i!==o.length-1&&s.push(new V([D.Comma,",",-1,-1,void 0]),new se([[D.Whitespace," ",-1,-1,void 0]]))}return s}function $_(t){let e=[],r={};for(let n=0;n<t.length;n++){let s=t[n];if(he(s)||fe(s))continue;if(W(s)&&et(s.value)){if(r.color&&r.colorData&&r.positionA){e.push({color:r.color,colorData:r.colorData,position:r.positionA}),r.positionB&&e.push({color:r.color,colorData:r.colorData,position:r.positionB}),r={};continue}return!1}let o=de(s);if(o){if(r.color||o.syntaxFlags.has(_.Experimental))return!1;r.color=s,r.colorData=o}else{if(!r.color)return!1;if(r.positionA){if(!r.positionA||r.positionB)return!1;r.positionB=s}else r.positionA=s}}return!(!r.color||!r.positionA)&&(r.color&&r.colorData&&r.positionA&&(e.push({color:r.color,colorData:r.colorData,position:r.positionA}),r.positionB&&e.push({color:r.color,colorData:r.colorData,position:r.positionB})),!(e.length<2)&&e)}var e9=/^(?:srgb|srgb-linear|lab|oklab|xyz|xyz-d50|xyz-d65|hsl|hwb|lch|oklch)$/i,t9=/^(?:hsl|hwb|lch|oklch)$/i,r9=/^(?:shorter|longer|increasing|decreasing)$/i,n9=/^in$/i,s9=/^hue$/i;function zS(t,e=!1){let r=t.getName();if(!X_.test(r))return!1;let n="srgb",s=null,o=null,i=null,a=null,l=null,u=[];{let g=0,v=t.value[g];for(;v&&!(W(v)&&X(v.value)&&n9.test(v.value[4].value));){if(W(v)&&et(v.value))return!1;g++,v=t.value[g]}for(s=v,g++,v=t.value[g];he(v)||fe(v);)g++,v=t.value[g];if(W(v)&&X(v.value)&&e9.test(v.value[4].value)){if(o)return!1;o=v,n=v.value[4].value,g++,v=t.value[g]}for(;he(v)||fe(v);)g++,v=t.value[g];if(W(v)&&X(v.value)&&r9.test(v.value[4].value)&&t9.test(n)){if(i||!o)return!1;i=v,g++,v=t.value[g]}for(;he(v)||fe(v);)g++,v=t.value[g];if(W(v)&&X(v.value)&&s9.test(v.value[4].value)){if(a||!o||!i)return!1;a=v,g++,v=t.value[g]}for(;v&&(!W(v)||!et(v.value));)g++,v=t.value[g];if(l=v,!l)return!1;u=t.value.slice(g+1)}if(!o||i&&!a||a&&!i)return!1;let c=$_(u);if(!c)return!1;let B=Z_(c,o,i,e);if(!B)return!1;let h=Gf([...t.value.slice(0,t.value.indexOf(s)),...t.value.slice(t.value.indexOf(a||o)+1,t.value.indexOf(l))]);return h.length>0&&h.some(g=>!he(g))&&h.push(new V([D.Comma,",",-1,-1,void 0]),new se([[D.Whitespace," ",-1,-1,void 0]])),Gf([...h,...Gf(B)])}function Gf(t){let e=0,r=t.length-1;for(let n=0;n<t.length;n++)if(!fe(t[n])){e=n;break}for(let n=t.length-1;n>=0;n--)if(!fe(t[n])){r=n;break}return t.slice(e,r+1)}var Hf=t=>({postcssPlugin:"postcss-gradients-interpolation-method",Declaration(e){if(!HS.test(e.value)||pe(e)||Ne(e,HS))return;let r=qe({css:e.value}),n=Oe(ke(ve(r),o=>{if(!ee(o))return;let i=zS(o);i&&(o.value=i)}));if(n===e.value)return;let s=Oe(ke(ve(r),o=>{if(!ee(o))return;let i=zS(o,!0);i&&(o.value=i)}));e.cloneBefore({value:n}),n!==s&&e.cloneBefore({value:s}),t?.preserve||e.remove()}});Hf.postcss=!0;var zf=t=>{let e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!0},t);return e.enableProgressiveCustomProperties?{postcssPlugin:"postcss-gradients-interpolation-method",plugins:[Ee(),Hf(e)]}:Hf(e)};zf.postcss=!0;p();d();f();var mn=ce(ut(),1),jf=ce(He(),1);function i9(t){if(t==="")return"";let e,r="";for(let n=0;n<t.length;n++)e=t.charCodeAt(n).toString(36),r+=n===0?e:"-"+e;return"csstools-has-"+r}function o9(t){if(!t.toLowerCase().includes(":has("))return!1;let e=!1;try{let r=new Set;(0,jf.default)(t).walk(n=>{if(n.type==="function"&&n.value.toLowerCase()==="selector")return r.add(jf.default.stringify(n.nodes)),!1}),r.forEach(n=>{a9(n)&&(e=!0)})}catch{}return e}function a9(t){if(!t.toLowerCase().includes(":has("))return!1;let e=!1;try{(0,mn.default)().astSync(t).walk(r=>{if(r.type==="pseudo"&&r.value.toLowerCase()===":has"&&r.nodes&&r.nodes.length>0)return e=!0,!1})}catch{}return e}var Qf=t=>{let e={preserve:!0,specificityMatchingName:"does-not-exist",...t||{}},r=":not(#"+e.specificityMatchingName+")",n=":not(."+e.specificityMatchingName+")",s=":not("+e.specificityMatchingName+")";return{postcssPlugin:"css-has-pseudo",prepare(){let o=new WeakSet;return{postcssPlugin:"css-has-pseudo",RuleExit(i,{result:a}){if(o.has(i)||!i.selector.toLowerCase().includes(":has(")||l9(i))return;let l=i.selectors.map(u=>{if(!u.toLowerCase().includes(":has("))return u;let c;try{c=(0,mn.default)().astSync(u)}catch(h){return i.warn(a,`Failed to parse selector : "${u}" with message: "${h instanceof Error?h.message:h}"`),u}if(c===void 0)return u;c.walkPseudos(h=>{let g=h.parent,v=!1;for(;g;)mn.default.isPseudoClass(g)&&g.value.toLowerCase()===":has"&&(v=!0),g=g.parent;v&&(h.value.toLowerCase()===":visited"&&h.replaceWith(mn.default.className({value:e.specificityMatchingName})),h.value.toLowerCase()===":any-link"&&(h.value=":link"))}),c.walkPseudos(h=>{if(h.value.toLowerCase()!==":has"||!h.nodes)return;let g=h.parent;if(!g)return;let v=mn.default.selector({value:"",nodes:[]});{let F=g.nodes.length;e:for(let q=0;q<g.nodes.length;q++){let ye=g.nodes[q];if(mn.default.isPseudoElement(ye)){for(let ae=q-1;ae>=0;ae--)if(g.nodes[q].type!=="combinator"&&g.nodes[q].type!=="comment"){F=ae+1;break e}}}g.nodes.slice(0,F).forEach(q=>{q.remove(),q.type==="selector"?q.nodes.forEach(ye=>{delete ye.parent,v.append(ye)}):(delete q.parent,v.append(q))})}let w="["+i9(v.toString())+"]",y=Ut(v),P=w;for(let F=0;F<y.a;F++)P+=r;let O=Math.max(1,y.b)-1;for(let F=0;F<O;F++)P+=n;for(let F=0;F<y.c;F++)P+=s;let E=(0,mn.default)().astSync(P).nodes[0].nodes;for(let F=E.length-1;F>=0;F--)g.prepend(E[F])});let B=c.toString();return B!==u?".js-has-pseudo "+B:u});l.join(",")!==i.selectors.join(",")&&(o.add(i),i.cloneBefore({selectors:l}),e.preserve||i.remove())}}}}};function l9(t){let e=t.parent;for(;e;){if(e.type==="atrule"&&o9(e.params))return!0;e=e.parent}return!1}Qf.postcss=!0;p();d();f();var QS=ce(He(),1);var Jf=t=>{let e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-color-hex-alpha",Declaration(r){if(!/#([0-9A-Fa-f]{4}(?:[0-9A-Fa-f]{4})?)\b/.test(r.value)||pe(r))return;let{value:n}=r,s=(0,QS.default)(n);s.walk(i=>{if(i.type==="function"&&i.value==="url")return!1;u9(i)&&B9(i)});let o=s.toString();o!==n&&(r.cloneBefore({value:o}),e.preserve||r.remove())}}};function u9(t){return t.type==="word"&&/^#([0-9A-Fa-f]{4}(?:[0-9A-Fa-f]{4})?)$/.test(t.value)}Jf.postcss=!0;var jS=1e5,B9=t=>{let e=t.value,r=`0x${e.length===5?e.slice(1).replace(/[0-9A-Fa-f]/g,"$&$&"):e.slice(1)}`,[n,s,o,i]=[parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16),parseInt(r.slice(6,8),16),Math.round(parseInt(r.slice(8,10),16)/255*jS)/jS];t.value=`rgba(${n},${s},${o},${i})`};p();d();f();var JS=/\bhwb\(/i,c9=/^hwb$/i,Kf=t=>({postcssPlugin:"postcss-hwb-function",Declaration(e){let r=e.value;if(!JS.test(r)||pe(e)||Ne(e,JS))return;let n=ke(ve(qe({css:r})),o=>{if(!ee(o)||!c9.test(o.getName()))return;let i=de(o);return i&&!(i.syntaxFlags.has(_.Experimental)||i.syntaxFlags.has(_.HasNoneKeywords)||i.syntaxFlags.has(_.RelativeColorSyntax))?je(i):void 0}),s=Oe(n);s!==r&&(e.cloneBefore({value:s}),t?.preserve||e.remove())}});Kf.postcss=!0;var Yf=t=>{let e=Object.assign({preserve:!1,enableProgressiveCustomProperties:!0},t);return e.enableProgressiveCustomProperties&&e.preserve?{postcssPlugin:"postcss-hwb-function",plugins:[Ee(),Kf(e)]}:Kf(e)};Yf.postcss=!0;p();d();f();var Xf=ce(He(),1);var p9=/ic\b/i,f9=/\(font-size: \d+ic\)/i,Zf=t=>({postcssPlugin:"postcss-ic-unit",Declaration(e){if(!p9.test(e.value)||pe(e)||Ne(e,f9))return;let r=(0,Xf.default)(e.value);r.walk(s=>{if(!s.type||s.type!=="word")return;let o=Xf.default.unit(s.value);o&&o.unit.toLowerCase()==="ic"&&(s.value=`${o.number}em`)});let n=String(r);n!==e.value&&(e.cloneBefore({value:n}),t?.preserve||e.remove())}});Zf.postcss=!0;var $f=t=>{let e=Object.assign({preserve:!1,enableProgressiveCustomProperties:!0},t);return e.enableProgressiveCustomProperties&&e.preserve?{postcssPlugin:"postcss-ic-unit",plugins:[Ee(),Zf(e)]}:Zf(e)};$f.postcss=!0;p();d();f();var It=ce(He(),1);var d9=/^(cross-fade|image|(repeating-)?(conic|linear|radial)-gradient|url|var)$/i;function C9(t){return!(!t||!t.type)&&(t.type==="string"?"url("+It.default.stringify(t)+")":!(t.type!=="function"||!d9.test(t.value))&&It.default.stringify(t))}var h9=new Map([["dpcm",2.54],["dpi",1],["dppx",96],["x",96]]);function m9(t,e,r){if(typeof t=="boolean")return!1;let n=Math.floor(t/96*100)/100;return e.atRule({name:"media",params:`(-webkit-min-device-pixel-ratio: ${n}), (min-resolution: ${t}dpi)`,source:r.source})}function g9(t){if(!t||t.type!=="word"||!v9(t))return!1;let e=It.default.unit(t.value);if(!e)return!1;let r=h9.get(e.unit.toLowerCase());return!!r&&Number(e.number)*r}function v9(t){if(!t||!t.value)return!1;try{return It.default.unit(t.value)!==!1}catch{return!1}}var gu=(t,e,r)=>{if(t.oninvalid==="warn")t.decl.warn(t.result,e,{word:String(r)});else if(t.oninvalid==="throw")throw t.decl.error(e,{word:String(r)})},y9=(t,e,r)=>{let n=e.parent;if(!n)return;let s=new Map,o=e.value;for(let B=0;B<t.length;B++){let{imageSetFunction:h,imageSetOptionNodes:g}=t[B],v=new Map,w=g.length,y=-1;for(;y<w;){let P=y<0||(i=g[y],Object(i).type==="div"&&Object(i).value===","),O=C9(g[y+1]),E=g9(g[y+2]),F=m9(E,r.postcss,e);if(!P)return void gu(r,"expected a comma",It.default.stringify(g));if(!O)return void gu(r,"unexpected image",It.default.stringify(g));if(!F||!E||v.has(E))return void gu(r,"unexpected resolution",It.default.stringify(g));if(v.set(E,F),s.has(E)){let q=s.get(E);q.value=q.value.replace(It.default.stringify(h),O.trim()),s.set(E,q)}else s.set(E,{atRule:F,value:o.replace(It.default.stringify(h),O.trim())});y+=3}}var i;for(let{atRule:B,value:h}of s.values()){let g=n.clone().removeAll(),v=e.clone({value:h});g.append(v),B.append(g)}let a=Array.from(s.keys()).sort((B,h)=>B-h),l=a.map(B=>s.get(B)?.atRule).filter(B=>!!B);if(!l.length)return;let u=s.get(a[0])?.value;if(!u)return;let c=l.slice(1);c.length&&n.after(c),e.cloneBefore({value:u.trim()}),r.preserve||(e.remove(),n.nodes?.length||n.remove())},w9=/(^|[^\w-])(-webkit-)?image-set\(/i,KS=/^(-webkit-)?image-set$/i,ed=t=>{let e=!("preserve"in Object(t))||!!t?.preserve,r="onInvalid"in Object(t)?t?.onInvalid:"ignore";if("oninvalid"in Object(t))throw new Error('"oninvalid" was changed to "onInvalid" to match other plugins with similar options');return{postcssPlugin:"postcss-image-set-function",Declaration(n,{result:s,postcss:o}){let i=n.value;if(!w9.test(i)||pe(n))return;let a;try{a=(0,It.default)(i)}catch{n.warn(s,`Failed to parse value '${i}' as an image-set function. Leaving the original value intact.`)}if(a===void 0)return;let l=[];a.walk(u=>{if(u.type!=="function"||!KS.test(u.value))return;let c=!1;if(It.default.walk(u.nodes,h=>{h.type==="function"&&KS.test(h.value)&&(c=!0)}),c)return gu({decl:n,oninvalid:r,result:s},"nested image-set functions are not allowed",It.default.stringify(u)),!1;let B=u.nodes.filter(h=>h.type!=="comment"&&h.type!=="space");l.push({imageSetFunction:u,imageSetOptionNodes:B})}),y9(l,n,{decl:n,oninvalid:r,preserve:e,result:s,postcss:o})}}};ed.postcss=!0;p();d();f();var $t=ce(ut(),1);function b9(t){let e=(0,$t.default)().astSync(t),r=!0;return e.walk(n=>{if(n.type!=="class"&&n.type!=="comment"&&n.type!=="id"&&n.type!=="root"&&n.type!=="selector"&&n.type!=="string"&&n.type!=="tag"&&n.type!=="universal"&&(n.type!=="attribute"||n.insensitive)&&(n.type!=="combinator"||n.value!=="+"&&n.value!==">"&&n.value!=="~"&&n.value!==" ")&&(n.type!=="pseudo"||n.nodes?.length||n.value.toLowerCase()!==":hover"&&n.value.toLowerCase()!==":focus")){if(n.type==="pseudo"&&n.nodes?.length===1&&n.value.toLowerCase()===":not"){let s=!0;if(n.nodes[0].walkCombinators(()=>{s=!1}),s)return}return r=!1,!1}}),r}function D9(t){if(!t||!t.nodes||t.nodes.length===1)return;let e=[],r=[];for(let s=0;s<t.nodes.length;s++)t.nodes[s].type!=="combinator"?$t.default.isPseudoElement(t.nodes[s])?(e.push(r),r=[t.nodes[s]]):r.push(t.nodes[s]):(e.push(r),e.push([t.nodes[s]]),r=[]);e.push(r);let n=[];for(let s=0;s<e.length;s++){let o=e[s];o.sort((l,u)=>l.type==="selector"&&u.type==="selector"&&l.nodes.length&&u.nodes.length?gn(l.nodes[0],l.nodes[0].type)-gn(u.nodes[0],u.nodes[0].type):l.type==="selector"&&l.nodes.length?gn(l.nodes[0],l.nodes[0].type)-gn(u,u.type):u.type==="selector"&&u.nodes.length?gn(l,l.type)-gn(u.nodes[0],u.nodes[0].type):gn(l,l.type)-gn(u,u.type));let i=new Set(o.map(l=>l.type)),a=i.has("universal")&&(i.has("tag")||i.has("attribute")||i.has("class")||i.has("id")||i.has("pseudo"));for(let l=0;l<o.length;l++)o[l].type==="universal"&&a?o[l].remove():n.push(o[l])}for(let s=n.length-1;s>=0;s--){let o=n[s-1];if(n[s].remove(),o&&o.type==="tag"&&n[s].type==="tag"){let i=$t.default.pseudo({value:":is",nodes:[$t.default.selector({value:"",nodes:[n[s]]})]});t.prepend(i)}else t.prepend(n[s])}}function gn(t,e){return $t.default.isPseudoElement(t)?YS.pseudoElement:YS[e]}var YS={universal:0,tag:1,pseudoElement:2,id:3,class:4,attribute:5,pseudo:6,selector:7,string:8,root:9,comment:10};function x9(t){return!(!t||!t.nodes)&&t.type==="selector"&&t.nodes.length===3&&!(!t.nodes[0]||t.nodes[0].type!=="pseudo"||t.nodes[0].value!==":-csstools-matches")&&!(!t.nodes[1]||t.nodes[1].type!=="combinator"||t.nodes[1].value!=="+"&&t.nodes[1].value!=="~")&&!(!t.nodes[2]||t.nodes[2].type!=="pseudo"||t.nodes[2].value!==":-csstools-matches")&&!(!t.nodes[0].nodes||t.nodes[0].nodes.length!==1)&&t.nodes[0].nodes[0].type==="selector"&&!(!t.nodes[0].nodes[0].nodes||t.nodes[0].nodes[0].nodes.length!==3)&&!(!t.nodes[0].nodes[0].nodes||t.nodes[0].nodes[0].nodes[1].type!=="combinator"||t.nodes[0].nodes[0].nodes[1].value!==">")&&!(!t.nodes[2].nodes||t.nodes[2].nodes.length!==1)&&t.nodes[2].nodes[0].type==="selector"&&!(!t.nodes[2].nodes[0].nodes||t.nodes[2].nodes[0].nodes.length!==3)&&!(!t.nodes[2].nodes[0].nodes||t.nodes[2].nodes[0].nodes[1].type!=="combinator"||t.nodes[2].nodes[0].nodes[1].value!==">")&&(t.nodes[0].nodes[0].insertAfter(t.nodes[0].nodes[0].nodes[0],t.nodes[2].nodes[0].nodes[0].clone()),t.nodes[2].nodes[0].nodes[1].remove(),t.nodes[2].nodes[0].nodes[0].remove(),t.nodes[0].replaceWith(t.nodes[0].nodes[0]),t.nodes[2].replaceWith(t.nodes[2].nodes[0]),!0)}function S9(t){if(!t||!t.nodes||t.type!=="selector"||t.nodes.length!==2)return!1;let e,r;return t.nodes[0]&&t.nodes[0].type==="pseudo"&&t.nodes[0].value===":-csstools-matches"?(e=0,r=1):t.nodes[1]&&t.nodes[1].type==="pseudo"&&t.nodes[1].value===":-csstools-matches"&&(e=1,r=0),!!e&&!!t.nodes[r]&&(t.nodes[r].type!=="selector"||!t.nodes[r].some(n=>n.type==="combinator"||$t.default.isPseudoElement(n)))&&t.nodes[r].type!=="combinator"&&(t.nodes[e].nodes[0].append(t.nodes[r].clone()),t.nodes[e].replaceWith(...t.nodes[e].nodes[0].nodes),t.nodes[r].remove(),!0)}function k9(t){if(!t||!t.nodes||t.type!=="selector")return!1;let e=-1;for(let o=0;o<t.nodes.length;o++){let i=t.nodes[o];if(i.type==="combinator")return!1;if(i.type==="pseudo"&&i.value===":-csstools-matches"){if(!i.nodes||i.nodes.length!==1)return!1;e=o;break}}if(e===-1)return!1;let r=t.nodes.slice(0,e),n=t.nodes[e],s=t.nodes.slice(e+1);return r.forEach(o=>{n.nodes[0].append(o.clone())}),s.forEach(o=>{n.nodes[0].append(o.clone())}),n.replaceWith(...n.nodes),r.forEach(o=>{o.remove()}),s.forEach(o=>{o.remove()}),!0}function P9(t,e,r,n){return t.flatMap(s=>{if(s.indexOf(":-csstools-matches")===-1&&s.toLowerCase().indexOf(":is")===-1)return s;let o=(0,$t.default)().astSync(s);return o.walkPseudos(i=>{if(i.value.toLowerCase()===":is"&&i.nodes&&i.nodes.length&&i.nodes[0].type==="selector"&&i.nodes[0].nodes.length===0)return i.value=":not",void i.nodes[0].append($t.default.universal());if(i.value===":-csstools-matches")if(!i.nodes||i.nodes.length){if(i.walkPseudos(a=>{if($t.default.isPseudoElement(a)){let l=a.value;if(l.startsWith("::-csstools-invalid-"))return;for(;l.startsWith(":");)l=l.slice(1);a.value=`::-csstools-invalid-${l}`,n()}}),i.nodes.length===1&&i.nodes[0].type==="selector"){if(i.nodes[0].nodes.length===1)return void i.replaceWith(i.nodes[0].nodes[0]);if(!i.nodes[0].some(a=>a.type==="combinator"))return void i.replaceWith(...i.nodes[0].nodes)}o.nodes.length!==1||o.nodes[0].type!=="selector"||o.nodes[0].nodes.length!==1||o.nodes[0].nodes[0]!==i?x9(i.parent)||S9(i.parent)||k9(i.parent)||(e.onComplexSelector==="warning"&&r(),i.value=":is"):i.replaceWith(...i.nodes[0].nodes)}else i.remove()}),o.walk(i=>{i.type==="selector"&&"nodes"in i&&i.nodes.length===1&&i.nodes[0].type==="selector"&&i.replaceWith(i.nodes[0])}),o.walk(i=>{"nodes"in i&&D9(i)}),o.toString()}).filter(s=>!!s)}function XS(t,e,r=0){let n=":not(#"+e.specificityMatchingName+")",s=":not(."+e.specificityMatchingName+")",o=":not("+e.specificityMatchingName+")";return t.flatMap(i=>{if(i.toLowerCase().indexOf(":is")===-1)return i;let a=!1,l=[];if((0,$t.default)().astSync(i).walkPseudos(c=>{if(c.value.toLowerCase()!==":is"||!c.nodes||!c.nodes.length||c.nodes[0].type==="selector"&&c.nodes[0].nodes.length===0)return;if(c.parent?.parent?.type==="pseudo"&&c.parent?.parent?.value?.toLowerCase()===":not")return void l.push([{start:c.parent.parent.sourceIndex,end:c.parent.parent.sourceIndex+c.parent.parent.toString().length,option:`:not(${c.nodes.toString()})`}]);if(c.parent?.parent?.type==="pseudo"&&c.parent?.parent?.value?.toLowerCase()===":has")return void(c.value=":-csstools-matches");let B=c.parent;for(;B;){if(B.value&&B.value.toLowerCase()===":is"&&B.type==="pseudo")return void(a=!0);B=B.parent}let h=Ut(c),g=c.sourceIndex,v=g+c.toString().length,w=[];c.nodes.forEach(y=>{let P={start:g,end:v,option:""},O=Ut(y),E=y.toString().trim(),F=Math.max(0,h.a-O.a),q=Math.max(0,h.b-O.b),ye=Math.max(0,h.c-O.c);for(let ae=0;ae<F;ae++)E+=n;for(let ae=0;ae<q;ae++)E+=s;for(let ae=0;ae<ye;ae++)E+=o;P.option=E,w.push(P)}),l.push(w)}),!l.length)return[i];let u=[];return A9(...l).forEach(c=>{let B="";for(let h=0;h<c.length;h++){let g=c[h];B+=i.substring(c[h-1]?.end||0,c[h].start),B+=":-csstools-matches("+g.option+")",h===c.length-1&&(B+=i.substring(c[h].end))}u.push(B)}),a&&r<10&&(u=XS(u,e,r+1)),u}).filter(i=>!!i)}function A9(...t){let e=[],r=t.length-1;return function n(s,o){for(let i=0,a=t[o].length;i<a;i++){let l=s.slice(0);l.push(t[o][i]),o===r?e.push(l):n(l,o+1)}}([],0),e}var N9=/:is\(/i,td=t=>{let e={specificityMatchingName:"does-not-exist",...t||{}};return{postcssPlugin:"postcss-is-pseudo-class",prepare(){let r=new WeakSet;return{postcssPlugin:"postcss-is-pseudo-class",Rule(n,{result:s}){if(!n.selector||!N9.test(n.selector)||r.has(n))return;let o=!1,i=()=>{e.onComplexSelector==="warning"&&(o||(o=!0,n.warn(s,`Complex selectors in '${n.selector}' can not be transformed to an equivalent selector without ':is()'.`)))},a=!1,l=()=>{e.onPseudoElement==="warning"&&(a||(a=!0,n.warn(s,`Pseudo elements are not allowed in ':is()', unable to transform '${n.selector}'`)))};try{let u=!1,c=[],B=P9(XS(n.selectors,{specificityMatchingName:e.specificityMatchingName}),{onComplexSelector:e.onComplexSelector},i,l);if(Array.from(new Set(B)).forEach(h=>{if(n.selectors.indexOf(h)>-1)c.push(h);else{if(b9(h))return c.push(h),void(u=!0);r.add(n),n.cloneBefore({selector:h}),u=!0}}),c.length&&u&&(r.add(n),n.cloneBefore({selectors:c})),!e.preserve){if(!u)return;n.remove()}}catch(u){if(u.message.indexOf("call stack size exceeded")>-1)throw u;n.warn(s,`Failed to parse selector "${n.selector}" with error: ${u.message}`)}}}}}};td.postcss=!0;p();d();f();var ZS=/\b(?:lab|lch)\(/i,$S=/^(?:lab|lch)$/i,rd=t=>({postcssPlugin:"postcss-lab-function",Declaration(e){let r=e.value;if(!ZS.test(r)||pe(e)||Ne(e,ZS))return;let n=qe({css:r}),s=ke(ve(n),a=>{if(!ee(a)||!$S.test(a.getName()))return;let l=de(a);return l&&!(l.syntaxFlags.has(_.Experimental)||l.syntaxFlags.has(_.HasNoneKeywords)||l.syntaxFlags.has(_.RelativeColorSyntax))?je(l):void 0}),o=Oe(s);if(o===r)return;let i=o;t?.subFeatures.displayP3&&(i=Oe(ke(ve(n),a=>{if(!ee(a)||!$S.test(a.getName()))return;let l=de(a);return l&&!(l.syntaxFlags.has(_.Experimental)||l.syntaxFlags.has(_.HasNoneKeywords)||l.syntaxFlags.has(_.RelativeColorSyntax))?Ht(l)?je(l):zt(l):void 0}))),e.cloneBefore({value:o}),t?.subFeatures.displayP3&&i!==o&&e.cloneBefore({value:i}),t?.preserve||e.remove()}});rd.postcss=!0;var nd=t=>{let e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!1,subFeatures:{displayP3:!0}},t);return e.subFeatures=Object.assign({displayP3:!0},e.subFeatures),e.enableProgressiveCustomProperties&&(e.preserve||e.subFeatures.displayP3)?{postcssPlugin:"postcss-lab-function",plugins:[Ee(),rd(e)]}:rd(e)};nd.postcss=!0;p();d();f();var Gs="--csstools-color-scheme--dark",ek="initial";function E9(t){return`--csstools-light-dark-toggle--${t}`}var O9=/dark/i,T9=/light/i;function I9(t){let e=qe({css:t}),r=!1,n=!1;return e.forEach(s=>{X(s)&&(T9.test(s[4].value)?r=!0:O9.test(s[4].value)&&(n=!0))}),[r,n]}var L9=/^light-dark$/i;function sd(t){return W(t)&&et(t.value)}function rk(t){if(!ee(t)||!L9.test(t.getName()))return!1;let e=t.value.filter(o=>!fe(o)&&!he(o));if(e.length!==3)return!1;let r=e[0],n=e[1],s=e[2];if(!r||!n||!s||!sd(n)||sd(r)||sd(s))return!1;if(ee(r)){let o=[r];po(o,({node:i,parent:a},l)=>{id(i,a,l,!0)}),[r]=o}if(ee(s)){let o=[s];po(o,({node:i,parent:a},l)=>{id(i,a,l,!1)}),[s]=o}return[r,s]}function id(t,e,r,n){if(typeof r!="number")return;let s=rk(t);if(!s)return;let o=s[n?0:1];if(ee(o)){let i=[o];po(i,({node:a,parent:l},u)=>{id(a,l,u,n)}),[o]=i}e.value[r]=o}function R9(t,e){let r=new Map,n=ke(ve(qe({css:t})),s=>{let o=rk(s);if(!o)return;let[i,a]=o,l=e();return r.set(l,`var(${Gs}) ${i.toString()}`),new ge([D.Function,"var(",-1,-1,{value:"var"}],[D.CloseParen,")",-1,-1,void 0],[new V([D.Ident,l,-1,-1,{value:l}]),new V([D.Comma,",",-1,-1,void 0]),new se([[D.Whitespace," ",-1,-1,void 0]]),a])});return{value:Oe(n),toggles:r}}var F9=/^color-scheme$/i,tk=/\blight-dark\(/i,od=t=>({postcssPlugin:"postcss-light-dark-function",prepare(){let e=0,r=()=>E9(e++);return{postcssPlugin:"postcss-light-dark-function",Declaration(n,{atRule:s,rule:o}){let i=n.parent;if(i){if(F9.test(n.prop)){if(i.some(u=>u.type==="decl"&&u.prop===Gs))return;let[a,l]=I9(n.value);if(a&&l){n.cloneBefore({prop:Gs,value:" "});let u=i.clone();u.removeAll(),u.append(n.clone({prop:Gs,value:ek}));let c=s({name:"media",params:"(prefers-color-scheme: dark)",source:i.source});return c.append(u),void i.after(c)}return l?void n.cloneBefore({prop:Gs,value:ek}):a?void n.cloneBefore({prop:Gs,value:" "}):void 0}if(tk.test(n.value)){if(pe(n)||Ne(n,tk))return;let a=R9(n.value,r);if(a.value===n.value)return;for(let[l,u]of a.toggles)n.cloneBefore({prop:l,value:u});if(n.cloneBefore({value:a.value}),n.variable&&n.parent){let l=o({selector:"& *",source:n.source});for(let[u,c]of a.toggles)l.append(n.clone({prop:u,value:c}));l.append(n.clone({value:a.value})),n.parent.append(l)}t?.preserve||n.remove()}}}}}});od.postcss=!0;var ad=t=>{let e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!0},t);return e.enableProgressiveCustomProperties&&e.preserve?{postcssPlugin:"postcss-light-dark-function",plugins:[Ee(),od(e)]}:od(e)};ad.postcss=!0;p();d();f();var xr;function nk(t,e){let r=e?"-x":"-y",n=e?"-y":"-x",s=t.prop.toLowerCase().replace("-inline",r).replace("-block",n),o=t.value;t.parent?.some(i=>i.type=="decl"&&i.prop===s&&i.value===o)||(t.cloneBefore({prop:s,value:o}),t.remove())}(function(t){t.TopToBottom="top-to-bottom",t.BottomToTop="bottom-to-top",t.RightToLeft="right-to-left",t.LeftToRight="left-to-right"})(xr||(xr={}));var ld=t=>{let e=Object.assign({inlineDirection:xr.LeftToRight},t);switch(e.inlineDirection){case xr.LeftToRight:case xr.RightToLeft:case xr.TopToBottom:case xr.BottomToTop:break;default:throw new Error(`[postcss-logical-viewport-units] "inlineDirection" must be one of ${Object.values(xr).join(", ")}`)}let r=[xr.LeftToRight,xr.RightToLeft].includes(e.inlineDirection);return{postcssPlugin:"postcss-logical-overflow",Declaration:{"overflow-block":n=>nk(n,r),"overflow-inline":n=>nk(n,r)}}};ld.postcss=!0;p();d();f();var Sr;function sk(t,e){let r=e?"-x":"-y",n=e?"-y":"-x",s=t.prop.toLowerCase().replace("-inline",r).replace("-block",n),o=t.value;t.parent?.some(i=>i.type=="decl"&&i.prop===s&&i.value===o)||(t.cloneBefore({prop:s,value:o}),t.remove())}(function(t){t.TopToBottom="top-to-bottom",t.BottomToTop="bottom-to-top",t.RightToLeft="right-to-left",t.LeftToRight="left-to-right"})(Sr||(Sr={}));var ud=t=>{let e=Object.assign({inlineDirection:Sr.LeftToRight},t);switch(e.inlineDirection){case Sr.LeftToRight:case Sr.RightToLeft:case Sr.TopToBottom:case Sr.BottomToTop:break;default:throw new Error(`[postcss-logical-viewport-units] "inlineDirection" must be one of ${Object.values(Sr).join(", ")}`)}let r=[Sr.LeftToRight,Sr.RightToLeft].includes(e.inlineDirection);return{postcssPlugin:"postcss-logical-overscroll-behavior",Declaration:{"overscroll-behavior-block":n=>sk(n,r),"overscroll-behavior-inline":n=>sk(n,r)}}};ud.postcss=!0;p();d();f();var Ze=ce(He(),1),ik,bu;(function(t){t.Block="block",t.Inline="inline"})(ik||(ik={})),function(t){t.Start="start",t.End="end"}(bu||(bu={}));var To={BlockStart:"block-start",BlockEnd:"block-end",InlineStart:"inline-start",InlineEnd:"inline-end"},tr,er;function ok(t){switch(t){case tr.TopToBottom:return[er.Top,er.Bottom];case tr.BottomToTop:return[er.Bottom,er.Top];case tr.RightToLeft:return[er.Right,er.Left];case tr.LeftToRight:return[er.Left,er.Right]}}function rt(t,e,r){return t.parent&&t.parent.some(n=>n.type=="decl"&&n.prop===r&&n.value===e)?[]:[t.clone({value:e,prop:r})]}function M9(t,e,r){let{prop:n,value:s}=t,o=(0,Ze.default)(s),i=[],a=[];o.nodes.forEach(c=>{if(c.type==="div"&&c.value===",")return i.push(a),void(a=[]);a.push(c)}),i.push(a);for(let c=0;c<i.length;c++){let B=i[c];for(let h=0;h<B.length;h++){let g=B[h];if(g.type!=="word")continue;let v=g.value.toLowerCase(),w=r[v];if(!w)continue;let y=w(e.decl({prop:v,value:"initial"}));if(y.length!==0){for(let P=y.length-1;P>=0;P--){let O=JSON.parse(JSON.stringify(B));O[h].value=y[P].prop,i.splice(c+1,0,O)}i.splice(c,1),c++}}}let l=[];for(let c=0;c<i.length;c++){let B=i[c];l.push(...B),c!==i.length-1&&l.push({type:"div",value:",",sourceIndex:0,sourceEndIndex:0,before:"",after:" "})}let u=Ze.default.stringify(l);return u!==s?rt(t,u,n):[]}function Bd(t){let e=(0,Ze.default)(t.value).nodes.filter(s=>s.type!=="space");if(e.length>2||e.length===0){let s=`[postcss-logical] Invalid number of values for ${t.prop}. Found ${e.length} values, expected 1 or 2.`;throw t.error(s)}let r,n;return e.length===1?(r=Ze.default.stringify(e[0]),n=r):(r=Ze.default.stringify(e[0]),n=Ze.default.stringify(e[1])),[r,n]}function Qt(t,e){return r=>rt(r,r.value,`border-${e}-${t}`)}function Hs(t,e){return r=>{let[n,s]=e,[o,i]=Bd(r);return[...rt(r,o,`border-${n}-${t}`),...rt(r,i,`border-${s}-${t}`)]}}function zs(t){return e=>t.flatMap(r=>rt(e,e.value,`border-${r}`))}function vu(t){return e=>{let r;switch(e.prop.toLowerCase()){case"border-start-start-radius":r=`border-${t.inlineIsHorizontal?`${t.block[0]}-${t.inline[0]}`:`${t.inline[0]}-${t.block[0]}`}-radius`;break;case"border-start-end-radius":r=`border-${t.inlineIsHorizontal?`${t.block[0]}-${t.inline[1]}`:`${t.inline[1]}-${t.block[0]}`}-radius`;break;case"border-end-start-radius":r=`border-${t.inlineIsHorizontal?`${t.block[1]}-${t.inline[0]}`:`${t.inline[0]}-${t.block[1]}`}-radius`;break;case"border-end-end-radius":r=`border-${t.inlineIsHorizontal?`${t.block[1]}-${t.inline[1]}`:`${t.inline[1]}-${t.block[1]}`}-radius`;break}return r?rt(e,e.value,r):[]}}function js(t){return e=>{let{value:r}=e,n=t.inlineIsHorizontal?"width":"height",s=t.inlineIsHorizontal?"height":"width",o=e.prop.toLowerCase().replace("inline-size",n).replace("block-size",s);return rt(e,r,o)}}function yu(t){return e=>rt(e,e.value,t)}function ak(t){return e=>{let[r,n]=t,[s,o]=Bd(e);return[...rt(e,s,r),...rt(e,o,n)]}}function vn(t,e){return r=>rt(r,r.value,`${t}-${e}`)}function wu(t,e){return r=>{let[n,s]=e,[o,i]=Bd(r);return[...rt(r,o,`${t}-${n}`),...rt(r,i,`${t}-${s}`)]}}function _9(t,e){let[r,n]=e.block,[s,o]=e.inline;switch(t){case To.BlockStart:return r;case To.BlockEnd:return n;case To.InlineStart:return s;case To.InlineEnd:return o;default:throw new Error("Unsupported logical direction")}}function q9(t,e,r){let{prop:n,value:s}=t,o=(0,Ze.default)(s);o.nodes.forEach(a=>{if(a.type==="word"){let l=a.value.toLowerCase();e.includes(l)&&(a.value=_9(l,r))}});let i=o.toString();return i!==s?rt(t,i,n):[]}function V9(t,e,r,n,s){return{"caption-side":(i=t,a=>q9(a,Object.values(To),i)),"text-align":t.inlineIsHorizontal?(o=t.inline,a=>{let{prop:l,value:u}=a,c=(0,Ze.default)(u),[B,h]=o;c.nodes.forEach(v=>{if(v.type==="word"){let w=v.value.toLowerCase();if(w===bu.End)return void(v.value=h);w===bu.Start&&(v.value=B)}});let g=c.toString();return g!==u?rt(a,g,l):[]}):null,"block-size":js(t),"inline-size":js(t),"min-block-size":js(t),"max-block-size":js(t),"min-inline-size":js(t),"max-inline-size":js(t),"margin-block-start":vn("margin",e),"margin-block-end":vn("margin",r),"margin-inline-start":vn("margin",n),"margin-inline-end":vn("margin",s),"margin-block":wu("margin",t.block),"margin-inline":wu("margin",t.inline),"inset-block":ak(t.block),"inset-block-start":yu(e),"inset-block-end":yu(r),"inset-inline":ak(t.inline),"inset-inline-start":yu(n),"inset-inline-end":yu(s),inset:a=>{let l=(0,Ze.default)(a.value).nodes.filter(g=>g.type!=="space"&&g.type!=="comment");if(l.length>4){let g=`[postcss-logical] Invalid number of values for ${a.prop}. Found ${l.length} values, expected up to 4 values.`;throw a.error(g)}let u,c,B,h;if(l.length===1)u=Ze.default.stringify(l[0]),c=u,B=u,h=u;else if(l.length===2)u=Ze.default.stringify(l[0]),c=Ze.default.stringify(l[1]),B=u,h=c;else if(l.length===3)u=Ze.default.stringify(l[0]),c=Ze.default.stringify(l[1]),h=c,B=Ze.default.stringify(l[2]);else{if(l.length!==4)return[];u=Ze.default.stringify(l[0]),c=Ze.default.stringify(l[1]),B=Ze.default.stringify(l[2]),h=Ze.default.stringify(l[3])}return[...rt(a,u,"top"),...rt(a,c,"right"),...rt(a,B,"bottom"),...rt(a,h,"left")]},"padding-block-start":vn("padding",e),"padding-block-end":vn("padding",r),"padding-inline-start":vn("padding",n),"padding-inline-end":vn("padding",s),"padding-block":wu("padding",t.block),"padding-inline":wu("padding",t.inline),"border-block-start-width":Qt("width",e),"border-block-end-width":Qt("width",r),"border-inline-start-width":Qt("width",n),"border-inline-end-width":Qt("width",s),"border-block-width":Hs("width",t.block),"border-inline-width":Hs("width",t.inline),"border-block-start-style":Qt("style",e),"border-block-end-style":Qt("style",r),"border-inline-start-style":Qt("style",n),"border-inline-end-style":Qt("style",s),"border-block-style":Hs("style",t.block),"border-inline-style":Hs("style",t.inline),"border-block-start-color":Qt("color",e),"border-block-end-color":Qt("color",r),"border-inline-start-color":Qt("color",n),"border-inline-end-color":Qt("color",s),"border-block-color":Hs("color",t.block),"border-inline-color":Hs("color",t.inline),"border-block":zs(t.block),"border-block-start":zs([e]),"border-block-end":zs([r]),"border-inline":zs(t.inline),"border-inline-start":zs([n]),"border-inline-end":zs([s]),"border-start-start-radius":vu(t),"border-start-end-radius":vu(t),"border-end-start-radius":vu(t),"border-end-end-radius":vu(t)};var o,i}(function(t){t.TopToBottom="top-to-bottom",t.BottomToTop="bottom-to-top",t.RightToLeft="right-to-left",t.LeftToRight="left-to-right"})(tr||(tr={})),function(t){t.Top="top",t.Right="right",t.Bottom="bottom",t.Left="left"}(er||(er={}));var cd=t=>{let e=Object.assign({blockDirection:tr.TopToBottom,inlineDirection:tr.LeftToRight},t),r=Object.values(tr);if(!r.includes(e.blockDirection))throw new Error(`[postcss-logical] "blockDirection" must be one of ${r.join(", ")}`);if(!r.includes(e.inlineDirection))throw new Error(`[postcss-logical] "inlineDirection" must be one of ${r.join(", ")}`);let[n,s]=ok(e.blockDirection),[o,i]=ok(e.inlineDirection);if(!Object.values(er).every(u=>[n,s,o,i].includes(u)))throw new Error('[postcss-logical] "blockDirection" and "inlineDirection" must be on separate axes');let a=u=>(c,{result:B})=>{if(!u)return;let h=[];try{h=u(c)}catch(g){return void c.warn(B,g instanceof Error?g.message:String(g))}h?.length&&(h.forEach(g=>{c.cloneBefore(g)}),c.remove())},l=V9({block:[n,s],inline:[o,i],inlineIsHorizontal:[tr.LeftToRight,tr.RightToLeft].includes(e.inlineDirection)},n,s,o,i);return{postcssPlugin:"postcss-logical",Declaration:{"caption-side":a(l["caption-side"]),"text-align":a(l["text-align"]),"block-size":a(l["block-size"]),"inline-size":a(l["inline-size"]),"min-block-size":a(l["min-block-size"]),"max-block-size":a(l["max-block-size"]),"min-inline-size":a(l["min-inline-size"]),"max-inline-size":a(l["max-inline-size"]),"margin-block-start":a(l["margin-block-start"]),"margin-block-end":a(l["margin-block-end"]),"margin-inline-start":a(l["margin-inline-start"]),"margin-inline-end":a(l["margin-inline-end"]),"margin-block":a(l["margin-block"]),"margin-inline":a(l["margin-inline"]),"inset-block":a(l["inset-block"]),"inset-block-start":a(l["inset-block-start"]),"inset-block-end":a(l["inset-block-end"]),"inset-inline":a(l["inset-inline"]),"inset-inline-start":a(l["inset-inline-start"]),"inset-inline-end":a(l["inset-inline-end"]),inset:a(l.inset),"padding-block-start":a(l["padding-block-start"]),"padding-block-end":a(l["padding-block-end"]),"padding-inline-start":a(l["padding-inline-start"]),"padding-inline-end":a(l["padding-inline-end"]),"padding-block":a(l["padding-block"]),"padding-inline":a(l["padding-inline"]),"border-block-start-width":a(l["border-block-start-width"]),"border-block-end-width":a(l["border-block-end-width"]),"border-inline-start-width":a(l["border-inline-start-width"]),"border-inline-end-width":a(l["border-inline-end-width"]),"border-block-width":a(l["border-block-width"]),"border-inline-width":a(l["border-inline-width"]),"border-block-start-style":a(l["border-block-start-style"]),"border-block-end-style":a(l["border-block-end-style"]),"border-inline-start-style":a(l["border-inline-start-style"]),"border-inline-end-style":a(l["border-inline-end-style"]),"border-block-style":a(l["border-block-style"]),"border-inline-style":a(l["border-inline-style"]),"border-block-start-color":a(l["border-block-start-color"]),"border-block-end-color":a(l["border-block-end-color"]),"border-inline-start-color":a(l["border-inline-start-color"]),"border-inline-end-color":a(l["border-inline-end-color"]),"border-block-color":a(l["border-block-color"]),"border-inline-color":a(l["border-inline-color"]),"border-block":a(l["border-block"]),"border-block-start":a(l["border-block-start"]),"border-block-end":a(l["border-block-end"]),"border-inline":a(l["border-inline"]),"border-inline-start":a(l["border-inline-start"]),"border-inline-end":a(l["border-inline-end"]),"border-start-start-radius":a(l["border-start-start-radius"]),"border-start-end-radius":a(l["border-start-end-radius"]),"border-end-start-radius":a(l["border-end-start-radius"]),"border-end-end-radius":a(l["border-end-end-radius"]),transition:(u,{result:c,postcss:B})=>{let h=[];try{h=M9(u,B,l)}catch(g){return void u.warn(c,g instanceof Error?g.message:String(g))}h?.length&&(h.forEach(g=>{u.cloneBefore(g)}),u.remove())}}}};cd.postcss=!0;p();d();f();var Bk=ce(He(),1),lk,nr,rr;function U9(t,e,r){t.parent&&t.parent.some(n=>n.type=="decl"&&n.prop===r&&n.value===e)||t.cloneBefore({value:e,prop:r})}function W9(t){return e=>{let{prop:r,value:n}=e,s=(0,Bk.default)(n),o=t.inlineIsHorizontal?"horizontal":"vertical",i=t.inlineIsHorizontal?"vertical":"horizontal";s.nodes.forEach(l=>{if(l.type==="word"){let u=l.value.toLowerCase();if(u==="inline")return void(l.value=o);u==="block"&&(l.value=i)}});let a=s.toString();return a!==n&&(U9(e,a,r),!0)}}function uk(t){switch(t){case nr.TopToBottom:return[rr.Top,rr.Bottom];case nr.BottomToTop:return[rr.Bottom,rr.Top];case nr.RightToLeft:return[rr.Right,rr.Left];case nr.LeftToRight:return[rr.Left,rr.Right]}}(function(t){t.Block="block",t.Inline="inline"})(lk||(lk={})),function(t){t.TopToBottom="top-to-bottom",t.BottomToTop="bottom-to-top",t.RightToLeft="right-to-left",t.LeftToRight="left-to-right"}(nr||(nr={})),function(t){t.Top="top",t.Right="right",t.Bottom="bottom",t.Left="left"}(rr||(rr={}));var pd=t=>{let e=Object.assign({blockDirection:nr.TopToBottom,inlineDirection:nr.LeftToRight},t),r=Object.values(nr);if(!r.includes(e.blockDirection))throw new Error(`[postcss-logical-resize] "blockDirection" must be one of ${r.join(", ")}`);if(!r.includes(e.inlineDirection))throw new Error(`[postcss-logical-resize] "inlineDirection" must be one of ${r.join(", ")}`);let[n,s]=uk(e.blockDirection),[o,i]=uk(e.inlineDirection);if(!Object.values(rr).every(u=>[n,s,o,i].includes(u)))throw new Error('[postcss-logical-resize] "blockDirection" and "inlineDirection" must be on separate axes');let a={block:[n,s],inline:[o,i],inlineIsHorizontal:[nr.LeftToRight,nr.RightToLeft].includes(e.inlineDirection)};return{postcssPlugin:"postcss-logical-resize",Declaration:{resize:(l=W9(a),(u,{result:c})=>{if(!l)return;let B=!1;try{B=l(u)}catch(h){return void u.warn(c,h instanceof Error?h.message:String(h))}B&&u.remove()})}};var l};pd.postcss=!0;p();d();f();var kr;function G9(t,e){let r=Ot({css:t}),n=[],s=!1;for(;;){let o=r.nextToken();if(!o||(n.push(o),pt(o)))break;if(!le(o))continue;let i=o[4].unit.toLowerCase(),a;i==="vi"?a=e.vi:i==="vb"&&(a=e.vb),a&&(o[1]=o[4].value.toString()+a,o[4].unit=a,s=!0)}return s?$(...n):t}(function(t){t.TopToBottom="top-to-bottom",t.BottomToTop="bottom-to-top",t.RightToLeft="right-to-left",t.LeftToRight="left-to-right"})(kr||(kr={}));var H9={test(t){{let r=t.toLowerCase();if(!r.includes("vb")&&!r.includes("vi"))return!1}let e=Ot({css:t});for(;;){let r=e.nextToken();if(!r||pt(r))break;if(!le(r))continue;let n=r[4].unit.toLowerCase();if(n==="vb"||n==="vi")return!0}return!1}},z9=/(?:vi|vb)\b/i,fd=t=>{let e=Object.assign({inlineDirection:kr.LeftToRight,preserve:!0},t);switch(e.inlineDirection){case kr.LeftToRight:case kr.RightToLeft:case kr.TopToBottom:case kr.BottomToTop:break;default:throw new Error(`[postcss-logical-viewport-units] "inlineDirection" must be one of ${Object.values(kr).join(", ")}`)}let r=[kr.LeftToRight,kr.RightToLeft].includes(e.inlineDirection),n={vb:"vh",vi:"vw"};return r||(n.vb="vw",n.vi="vh"),{postcssPlugin:"postcss-logical-viewport-units",Declaration(s,{atRule:o}){if(!z9.test(s.value)||pe(s)||Ne(s,H9))return;let i=G9(s.value,n);if(i===s.value)return;if(s.cloneBefore({value:i}),!e.preserve)return void s.remove();if(!s.variable)return;let a=o({name:"supports",params:"(top: 1vi)",source:s.source}),l=s.parent;if(!l)return;let u=l.cloneAfter({nodes:[]});u.append(s),a.append(u),l.after(a)}}};fd.postcss=!0;p();d();f();var Ct=1e5,ck=2147483647;function dd(t){if(Array.isArray(t.value)&&ko(t.value)){let r=[];for(let u=0;u<t.value.length;u++){let c=t.value[u];(W(c)&&j(c.value)||ee(c)&&c.getName().toLowerCase()==="calc")&&r.push(c)}if(r.length!==2)return;let n=r[0],s=t.value.indexOf(n),o=r[1],i=t.value.indexOf(o);if(W(o)&&j(o.value)&&o.value[4].value===0)return t.value.splice(s,1,new V([D.Number,ck.toString(),-1,-1,{value:ck,type:R.Integer}])),void t.value.splice(i,1,new V([D.Number,"1",-1,-1,{value:1,type:R.Integer}]));if(W(n)&&j(n.value)&&n.value[4].type===R.Integer&&W(o)&&j(o.value)&&o.value[4].type===R.Integer)return;let a=null,l=null;if(ee(n)&&n.getName().toLowerCase()==="calc"){if(n.toString().includes(Ct.toString()))return;a=Cd(n)}if(ee(o)&&o.getName().toLowerCase()==="calc"){if(o.toString().includes(Ct.toString()))return;l=Cd(o)}if(W(n)&&j(n.value)&&W(o)&&j(o.value)){let u=n.value,c=o.value,B=Math.round(u[4].value*Ct),h=Math.round(c[4].value*Ct),g=pk(B,h);a=new V([D.Number,Math.round(B/g).toString(),-1,-1,{value:Math.round(B/g),type:R.Integer}]),l=new V([D.Number,Math.round(h/g).toString(),-1,-1,{value:Math.round(h/g),type:R.Integer}])}else{if(W(n)&&j(n.value)){let u=n.value;a=new V([D.Number,Math.round(u[4].value*Ct).toString(),-1,-1,{value:Math.round(u[4].value*Ct),type:R.Integer}])}if(W(o)&&j(o.value)){let u=o.value;l=new V([D.Number,Math.round(u[4].value*Ct).toString(),-1,-1,{value:Math.round(u[4].value*Ct),type:R.Integer}])}}return a&&l?(t.value.splice(s,1,a),void t.value.splice(i,1,l)):void 0}let e=Array.isArray(t.value)?t.value:[t.value];for(let r=0;r<e.length;r++){let n=e[r];if(W(n)){let s=n.value;if(!j(s))return;if(s[4].type===R.Integer)return e.splice(r+1,0,new V([D.Delim,"/",-1,-1,{value:"/"}]),new V([D.Number,"1",-1,-1,{value:1,type:R.Integer}])),void(t.value=e);if(s[4].type===R.Number){let o=Math.round(s[4].value*Ct),i=pk(o,Ct);return e.splice(r,1,new V([D.Number,Math.round(o/i).toString(),-1,-1,{value:Math.round(o/i),type:R.Integer}]),new V([D.Delim,"/",-1,-1,{value:"/"}]),new V([D.Number,Math.round(Ct/i).toString(),-1,-1,{value:Math.round(Ct/i),type:R.Integer}])),void(t.value=e)}return}if(ee(n)&&n.getName().toLowerCase()==="calc")return e.splice(r,1,Cd(n),new V([D.Delim,"/",-1,-1,{value:"/"}]),new V([D.Number,Ct.toString(),-1,-1,{value:Ct,type:R.Integer}])),void(t.value=e)}}function Cd(t){return new ge([D.Function,"calc(",-1,-1,{value:"calc("}],[D.CloseParen,")",-1,-1,void 0],[new _n([D.OpenParen,"(",-1,-1,void 0],[D.CloseParen,")",-1,-1,void 0],t.value),new se([[D.Whitespace," ",-1,-1,void 0]]),new V([D.Delim,"*",-1,-1,{value:"*"}]),new se([[D.Whitespace," ",-1,-1,void 0]]),new V([D.Number,Ct.toString(),-1,-1,{value:Ct,type:R.Integer}])])}function pk(t,e){if(Number.isNaN(t)||Number.isNaN(e))throw new Error("Unexpected 'NaN' when calculating the greatest common divisor.");if(!Number.isFinite(t)||!Number.isFinite(e))throw new Error("Unexpected 'Infinite' value when calculating the greatest common divisor.");for(e>t&&([t,e]=[e,t]);;){if(e==0)return t;if((t%=e)==0)return e;e%=t}}var fk=new Set(["aspect-ratio","min-aspect-ratio","max-aspect-ratio","device-aspect-ratio","min-device-aspect-ratio","max-device-aspect-ratio"]);function j9(t,e){let r=Us(t,{preserveInvalidMediaQueries:!0,onParseError:()=>{throw new Error(`Unable to parse media query "${t}"`)}}),n=new Set(r.map(s=>s.toString()));return r.flatMap(s=>{if(jn(s))return[s.toString()];let o=kS(s);o.walk(l=>{let u=l.node;if(yS(u)||Ws(u)||Ao(u)){let c=u.name.getName().toLowerCase();if(!fk.has(c))return;dd(u.value)}else if(mf(u)){let c=u.name.getName().toLowerCase();if(!fk.has(c))return;dd(u.valueOne),dd(u.valueTwo)}});let i=s.toString(),a=o.toString();return a===i||n.has(a)?[i]:e?[i,a]:[a]}).join(",")}var hd=t=>{let e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-media-queries-aspect-ratio-number-values",AtRule(r,{result:n}){if(r.name.toLowerCase()!=="media")return;let s=r.params.toLowerCase();if(!(s.includes("aspect-ratio")||s.includes("min-aspect-ratio")||s.includes("max-aspect-ratio")||s.includes("device-aspect-ratio")||s.includes("min-device-aspect-ratio")||s.includes("max-device-aspect-ratio")))return;let o;try{if(o=j9(r.params,e.preserve),o===r.params)return}catch(i){return void r.warn(n,`Failed to transform @media params for "${r.params}" with message: "${i instanceof Error?i.message:i}"`)}r.cloneBefore({params:o}),r.remove()}}};hd.postcss=!0;p();d();f();var Q9={width:"px",height:"px","device-width":"px","device-height":"px","aspect-ratio":"","device-aspect-ratio":"",color:"","color-index":"",monochrome:"",resolution:"dpi"},dk={width:!1,height:!1,"device-width":!1,"device-height":!1,"aspect-ratio":!1,"device-aspect-ratio":!1,color:!0,"color-index":!0,monochrome:!0,resolution:"dpi"};function Du(t){return t===Ue.LT||t===Ue.LT_OR_EQ?"max-":t===tt.GT||t===tt.GT_OR_EQ?"min-":""}var Pr={">":1,"<":-1},md=.001,Ck=.02;function gd(t,e,r,n){let s=r.before,o=r.after;if(n||(s=r.after,o=r.before),!n){let g=BS(e);if(g===!1)return;e=g}if(e===jt.EQ||e===Ue.LT_OR_EQ||e===tt.GT_OR_EQ)return Array.isArray(r.value)?fn(Du(e)+t,...s,...r.value.flatMap(g=>g.tokens()),...o):fn(Du(e)+t,...s,...r.value.tokens(),...o);let i,a,l=!1;if(Array.isArray(r.value)){if(!ko(r.value)||t!=="aspect-ratio"&&t!=="device-aspect-ratio")return;let g=df(r.value);if(g===-1)return;l=!0,i=r.value[g[0]],a=[...r.value.slice(g[0]+1).flatMap(v=>v.tokens())]}else i=r.value,a=[];let u=Q9[t.toLowerCase()];if(ee(i)){let g=i.getName().toLowerCase();if(Wn.has(g)||g==="env"){let[[v]]=Bn([[i]],{precision:5,toCanonicalUnits:!0});if(!(v&&W(v)&&Ve(v.value)&&Number.isInteger(v.value[4].value))){let w;if(u!==void 0){let y=Pr[e]*(u==="px"?Ck:md);w=[D.Dimension,`${y.toString()}${u}`,-1,-1,{value:y,unit:u,type:R.Integer}]}else if(dk[t]===!0){let y=Pr[e];w=[D.Number,y.toString(),-1,-1,{value:y,type:R.Integer}]}else if(l){let y=Pr[e]*md;w=[D.Number,y.toString(),-1,-1,{value:y,type:R.Integer}]}else{let y=Pr[e];w=[D.Number,y.toString(),-1,-1,{value:y,type:R.Integer}]}return fn(Du(e)+t,...s,[D.Function,"calc(",-1,-1,{value:"calc("}],[D.OpenParen,"(",-1,-1,void 0],...i.tokens().slice(1),[D.Whitespace," ",-1,-1,void 0],[D.Delim,"+",-1,-1,{value:"+"}],[D.Whitespace," ",-1,-1,void 0],w,[D.CloseParen,")",-1,-1,void 0],...a,...o)}i=v}}if(!W(i))return;let c,B=i.value,h="";if(u!==void 0&&j(B)&&B[4].value===0)c=Pr[e],h=u;else if(j(B)&&B[4].value===0)c=Pr[e],h="";else if(le(B)&&B[4].value===0)c=Pr[e],h=B[4].unit;else if(j(B)&&dk[t]===!0)c=B[4].value+Pr[e];else if(le(B)&&B[4].unit==="px"&&B[4].type===R.Integer)c=+(Math.round(+(B[4].value+Ck*Pr[e]+"e6"))+"e-6");else{if(!le(B)&&!j(B))return;c=+(Math.round(+(B[4].value+md*Pr[e]+"e6"))+"e-6")}return h&&(B=[D.Dimension,B[1],B[2],B[3],{value:B[4].value,unit:h,type:B[4].type}]),B[4].value=c,le(B)?B[1]=B[4].value.toString()+B[4].unit:B[1]=B[4].value.toString(),fn(Du(e)+t,...s,B,...a,...o)}var J9=new Set(["aspect-ratio","color","color-index","device-aspect-ratio","device-height","device-width","height","horizontal-viewport-segments","monochrome","resolution","vertical-viewport-segments","width"]);function hk(t){return t.map((e,r)=>{let n=Gx(e);e.walk(o=>{let i=o.node;if(!wS(i))return;let a=o.parent;if(!No(a))return;let l=i.name.getName().toLowerCase();if(!J9.has(l))return;if(Ws(i)||Ao(i)){let P=i.operatorKind();if(P===!1)return;let O=gd(l,P,i.value,Ws(i));return void(O&&(a.feature=O.feature))}let u=n.get(a);if(!bS(u))return;let c=null,B=null;{let P=i.valueOneOperatorKind();if(P===!1)return;let O=gd(l,P,i.valueOne,!1);if(!O)return;P===Ue.LT||P===Ue.LT_OR_EQ?(c=O,c.before=a.before):(B=O,B.after=a.after)}{let P=i.valueTwoOperatorKind();if(P===!1)return;let O=gd(l,P,i.valueTwo,!0);if(!O)return;P===Ue.LT||P===Ue.LT_OR_EQ?(B=O,B.before=a.before):(c=O,c.after=a.after)}if(!c||!B)return;let h=new St(c),g=new St(B),v=K9(u,n);if(v)return v.leading===u?(v.leading=h,void(v.list=[new Wr([[D.Whitespace," ",-1,-1,void 0],[D.Ident,"and",-1,-1,{value:"and"}],[D.Whitespace," ",-1,-1,void 0]],g),...v.list])):void v.list.splice(v.indexOf(n.get(u)),1,new Wr([[D.Whitespace," ",-1,-1,void 0],[D.Ident,"and",-1,-1,{value:"and"}],[D.Whitespace," ",-1,-1,void 0]],h),new Wr([[D.Whitespace," ",-1,-1,void 0],[D.Ident,"and",-1,-1,{value:"and"}],[D.Whitespace," ",-1,-1,void 0]],g));let w=new _s(h,[new Wr([[D.Whitespace," ",-1,-1,void 0],[D.Ident,"and",-1,-1,{value:"and"}],[D.Whitespace," ",-1,-1,void 0]],g)],[[D.Whitespace," ",-1,-1,void 0]]),y=Y9(u,e,n);y?y.media=w:u.media=new ht(new St(new ht(w),[[D.Whitespace," ",-1,-1,void 0],[D.OpenParen,"(",-1,-1,void 0]],[[D.CloseParen,")",-1,-1,void 0]]))});let s=e.tokens();return $(...s.filter((o,i)=>(i!==0||r!==0||!Cr(o))&&!(Cr(o)&&s[i+1]&&Cr(s[i+1]))))}).join(",")}function K9(t,e){let r=t;if(r){if(r=e.get(r),Cu(r))return r;if(du(r))return r=e.get(r),Cu(r)?r:void 0}}function Y9(t,e,r){let n=t;if(!n||(n=r.get(n),!vS(n)))return;let s=n;return n=r.get(n),SS(n)&&n===e?s:void 0}var vd=()=>({postcssPlugin:"postcss-media-minmax",AtRule:{media(t){if(!(t.params.includes("<")||t.params.includes(">")||t.params.includes("=")))return;let e=hk(Us(t.params,{preserveInvalidMediaQueries:!0,onParseError:()=>{throw t.error(`Unable to parse media query "${t.params}"`)}}));t.params!==e&&(t.params=e)},"custom-media"(t){if(!(t.params.includes("<")||t.params.includes(">")||t.params.includes("=")))return;let e=hS(t.params,{preserveInvalidMediaQueries:!0,onParseError:()=>{throw t.error(`Unable to parse media query "${t.params}"`)}});if(!e||!e.mediaQueryList)return;let r=e.mediaQueryList.map(s=>s.toString()).join(","),n=hk(e.mediaQueryList);r!==n&&(t.params=`${$(...e.name)} ${n}`)}}});vd.postcss=!0;p();d();f();var xu=ce(He(),1);var X9=/calc\(/gim,yd=t=>{let e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-nested-calc",Declaration(r,{result:n}){if((r.value.match(X9)||[]).length<2||r.variable||pe(r))return;let s=r.value,o;try{o=(0,xu.default)(s)}catch{return void r.warn(n,`Failed to parse value '${s}'. Leaving the original value intact.`)}if(o===void 0)return;xu.default.walk(o.nodes,a=>{a.type&&a.type==="function"&&a.value.toLowerCase()==="calc"&&xu.default.walk(a.nodes,l=>{if(l.type&&l.type==="function")return l.value.toLowerCase()==="calc"&&void(l.value="")})},!0);let i=String(o);i!==s&&(r.cloneBefore({value:i}),e.preserve||r.remove())}}};yd.postcss=!0;p();d();f();var nt=ce(ut(),1);p();d();f();var sr=ce(ut(),1);function Jn(t){return{sourceIndex:t.sourceIndex??0,source:t.source}}function Z9(t){let e=[],r=[];t.each(s=>{if(s.type==="combinator")return e.push(r,[s]),void(r=[]);if(sr.default.isPseudoElement(s))return e.push(r),void(r=[s]);if(s.type==="universal"&&r.find(o=>o.type==="universal"))s.remove();else{if(s.type==="tag"&&r.find(o=>o.type==="tag")){s.remove();let o=sr.default.selector({value:"",...Jn(s)});o.append(s);let i=sr.default.pseudo({value:":is",...Jn(s)});return i.append(o),void r.push(i)}r.push(s)}}),e.push(r);let n=[];for(let s=0;s<e.length;s++){let o=e[s];o.sort((i,a)=>mk(i)-mk(a)),n.push(...o)}t.removeAll();for(let s=n.length-1;s>=0;s--)n[s].remove(),t.prepend(n[s])}function mk(t){return sr.default.isPseudoElement(t)?gk.pseudoElement:gk[t.type]}var gk={universal:0,tag:1,pseudoElement:2,nesting:3,id:4,class:5,attribute:6,pseudo:7,comment:8};function yk(t,e){let r=[];for(let s=0;s<t.nodes.length;s++){let o=t.nodes[s].clone();{let i=!1;o.walkNesting(()=>(i=!0,!1)),i?o.nodes[0]?.type==="combinator"&&o.prepend(sr.default.nesting({...Jn(o)})):(o.prepend(sr.default.combinator({value:" ",...Jn(o)})),o.prepend(sr.default.nesting({...Jn(o)})))}{let i=new Set;o.walkNesting(a=>{let l=a.parent;i.add(l),l.parent?.type==="pseudo"&&l.parent.value?.toLowerCase()===":has"?a.replaceWith(...vk(e,!0)):a.replaceWith(...vk(e))});for(let a of i)Z9(a)}o.walk(i=>{i.type==="combinator"&&i.value.trim()!==""?(i.rawSpaceAfter=" ",i.rawSpaceBefore=" "):(i.rawSpaceAfter="",i.rawSpaceBefore="")}),r.push(o)}let n=sr.default.root({value:"",...Jn(t)});return r.forEach(s=>{n.append(s)}),n}function vk(t,e=!1){if(e||!$9(t.nodes)){let r=sr.default.pseudo({value:":is",...Jn(t)});return t.nodes.forEach(n=>{r.append(n.clone())}),[r]}return t.nodes[0].nodes.map(r=>r.clone())}function $9(t){return t.length===1&&!t[0].nodes.some(e=>e.type==="combinator"||sr.default.isPseudoElement(e))}var eq=nt.default.pseudo({value:":is"});function Kn(t){if(!t||!t.nodes)return;let e=[],r=[];for(let s=0;s<t.nodes.length;s++)if(t.nodes[s].type!=="combinator")if(nt.default.isPseudoElement(t.nodes[s]))e.push(r),r=[t.nodes[s]];else{if(t.nodes[s].type==="tag"&&r.find(o=>o.type==="tag")){let o=eq.clone({}),i=t.nodes[s];i.replaceWith(o),o.append(nt.default.selector({nodes:[i],value:void 0}))}r.push(t.nodes[s])}else e.push(r),e.push([t.nodes[s]]),r=[];e.push(r);let n=[];for(let s=0;s<e.length;s++){let o=e[s];o.sort((i,a)=>i.type==="selector"&&a.type==="selector"&&i.nodes.length&&a.nodes.length?yn(i.nodes[0])-yn(a.nodes[0]):i.type==="selector"&&i.nodes.length?yn(i.nodes[0])-yn(a):a.type==="selector"&&a.nodes.length?yn(i)-yn(a.nodes[0]):yn(i)-yn(a));for(let i=0;i<o.length;i++)n.push(o[i])}for(let s=n.length-1;s>=0;s--)n[s].remove(),t.prepend(n[s])}function yn(t){return nt.default.isPseudoElement(t)?wk.pseudoElement:wk[t.type]}var wk={universal:0,tag:1,pseudoElement:2,id:3,class:4,attribute:5,pseudo:6,selector:7,string:8,root:9,comment:10};function Xn(t){return t&&t.type==="atrule"}function bk(t){return t&&Xn(t)&&t.name==="nest"}function Yn(t){return t&&t.type==="rule"}function tq(t,e){let r,n=t.parent;for(;n;){if(n.type==="rule"||Xn(n)&&n.name==="scope")return;n=n.parent}try{r=(0,nt.default)().astSync(t.selector)}catch(s){return void t.warn(e,`Failed to parse selector : "${t.selector}" with message: "${s instanceof Error?s.message:s}"`)}r&&(r.walkNesting(s=>{let o=s.parent;s.replaceWith(nt.default.pseudo({value:":scope"})),o&&Kn(o)}),t.selector=r.toString())}function Gr(t){if(!t.nodes.length)return void t.remove();let e=t.nodes.filter(r=>r.type==="comment");e.length===t.nodes.length&&t.replaceWith(...e)}function Dd(t){let e=[],r=[];t.each(n=>{if(Dk(n,r.length>0))e.push(n);else{if(n.type==="comment"){let s=n.next();for(;s&&s.type==="comment";)s=s.next();if(Dk(s,r.length>0))return void e.push(n)}r.push(n)}}),t.removeAll(),e.forEach(n=>{t.append(n)}),r.forEach(n=>{t.append(n)})}function Dk(t,e){return!!t&&(t.type==="decl"||t.type==="atrule"&&t.name.toLowerCase()==="mixin"&&!e)}function ku(t){let e=[],r="",n=!1,s=0,o=!1,i=!1;for(let a of t)i?i=!1:a==="\\"?i=!0:o?a===o&&(o=!1):a==='"'||a==="'"?o=a:a==="("?s+=1:a===")"?s>0&&(s-=1):s===0&&a===","&&(n=!0),n?(r!==""&&e.push(r.trim()),r="",n=!1):r+=a;return e.push(r.trim()),e}function Qs(t,e){let r=e.index(t);if(r){let n=e.cloneBefore().removeAll().append(e.nodes.slice(0,r));n.raws.semicolon=!0,Gr(n)}e.before(t),e.raws.semicolon=!0}var xd=["container","document","media","supports","layer","starting-style"];function rq(t,e){var r,n;Dd(e),Qs(t,e),t.params=(r=e.params,n=t.params,ku(r).map(s=>ku(n).map(o=>`${s} and ${o}`).join(", ")).join(", ")),Gr(e)}function nq(t,e){return xd.includes(t.name)&&t.name===e.name}function sq(t,e,r,n,s){if(Dd(e),Qs(t,e),t.nodes){let o=e.clone().removeAll().append(t.nodes);t.append(o),Gr(e),n(o,r,s)}else Gr(e)}function iq(t){return xd.includes(t.name)}function oq(t,e){if(e<2)throw new Error("n must be greater than 1");if(t.length<2)throw new Error("s must be greater than 1");if(Math.pow(t.length,e)>1e4)throw new Error("Too many combinations when trying to resolve a nested selector with lists, reduce the complexity of your selectors");let r=[];for(let s=0;s<e;s++)r[s]=0;let n=[];for(;;){let s=[];for(let o=e-1;o>=0;o--){let i=r[o];if(i>=t.length){if(i=0,r[o]=0,o===0)return n;r[o-1]+=1}s[o]=t[i]}n.push(s),r[r.length-1]++}}function aq(t){let e=t.map(n=>(0,nt.default)().astSync(n)).map(n=>Ut(n)),r=e[0];for(let n=1;n<e.length;n++)if(r.a!==e[n].a||r.b!==e[n].b||r.c!==e[n].c)return!1;return!0}function Sk(t,e,r){let n=[];n=aq(t)||r.noIsPseudoSelector?t.map(o=>(0,nt.default)().astSync(o)):[(0,nt.default)().astSync(`:is(${t.join(",")})`)];let s=[];for(let o=0;o<e.length;o++){let i,a=e[o];{let c=(0,nt.default)().astSync(a),B=!1;c.walk(v=>{v.type==="nesting"&&(B=!0)});let h=c.nodes[0],g=!1;h.each(v=>v.type==="combinator"&&(g=!0,!1)),B?g&&h.insertBefore(h.at(0),nt.default.nesting({})):(h.insertBefore(h.at(0),nt.default.combinator({value:" "})),h.insertBefore(h.at(0),nt.default.nesting({}))),a=c.toString()}let l=[],u=0;if((0,nt.default)().astSync(a).walkNesting(()=>{u++}),u>1&&n.length>1)l=oq(n,u),i=l.length;else{i=n.length;for(let c=0;c<n.length;c++){l.push([]);for(let B=0;B<u;B++)l[c].push(n[c])}}for(let c=0;c<i;c++){let B=0,h=(0,nt.default)().astSync(a);h.walk(g=>{if(g.type!=="nesting")return;let v=l[c][B];B++,v.type==="root"&&v.nodes.length===1&&(v=v.nodes[0]);let w=(0,nt.default)().astSync(`:is(${v.toString()})`),y=Pu(v.nodes[0]),P=wd(v.nodes[0]),O=Pu(g),E=wd(g);if(y&&O)return void g.replaceWith(v.clone());if((y||P)&&(O||E)){let q=g.parent;return y&&v.type==="selector"?g.replaceWith(v.clone().nodes[0]):g.replaceWith(...v.clone().nodes),void(q&&q.nodes.length>1&&Kn(q))}if(y){let q=g.parent;return g.replaceWith(v.clone().nodes[0]),void(q&&Kn(q))}if(P){let q=g.parent;return g.replaceWith(...v.clone().nodes),void(q&&Kn(q))}if(lq(g)){let q=g.parent;return g.replaceWith(...v.clone().nodes),void(q&&Kn(q))}if(uq(g)){let q=g.parent;return g.replaceWith(...v.clone().nodes),void(q&&Kn(q))}let F=g.parent;r.noIsPseudoSelector?g.replaceWith(...v.clone().nodes):g.replaceWith(...w.clone({}).nodes),F&&Kn(F)}),s.push(h.toString())}}return s}function Pu(t){return t.type!=="combinator"&&!(t.parent&&t.parent.nodes.length>1)}function wd(t,e=null){return Pu(t)||!t.parent||t.parent.nodes.find(r=>r.type==="combinator")?!1:!(t.parent.nodes.find(r=>r.type==="nesting")&&e&&!wd(e))}function lq(t){if(!t.parent||t.parent.nodes.indexOf(t)!==0)return!1;for(let e=1;e<t.parent.nodes.length;e++)if(t.parent.nodes[e].type==="combinator"&&t.parent.nodes[e].value!==" "&&t.parent.nodes[e].value!==">")return!1;return!0}function uq(t){if(Pu(t))return!0;if(!t.parent)return!1;for(let e=0;e<t.parent.nodes.length;e++)if(t.parent.nodes[e].type!=="nesting"&&(t.parent.nodes[e].prev()||t.parent.nodes[e].next())&&(t.parent.nodes[e].prev()&&t.parent.nodes[e].prev().type!=="combinator"||t.parent.nodes[e].next()&&t.parent.nodes[e].next().type!=="combinator"))return!1;return!0}function Bq(t,e,r,n,s){let o=[];try{o=Sk(e.selectors,ku(t.params),s)}catch(a){return void t.warn(r,`Failed to parse selectors : "${e.selector}" / "${t.params}" with message: "${a instanceof Error?a.message:a}"`)}if(!o.length)return;Qs(t,e);let i=e.clone().removeAll().append(t.nodes);i.raws.semicolon=!0,i.selectors=o,t.replaceWith(i),Gr(e),n(i,r,s)}function cq(t){return ku(t.params).every(e=>e.split("&").length>=2&&e.indexOf("|")===-1)}function pq(t,e,r,n){let s=[];try{s=Sk(e.selectors,t.selectors,n)}catch(o){return void t.warn(r,`Failed to parse selectors : "${e.selector}" / "${t.selector}" with message: "${o instanceof Error?o.message:o}"`)}s.length&&(Dd(e),Qs(t,e),t.selectors=s,t.type==="rule"&&e.type==="rule"&&t.selector===e.selector&&t.append(...e.nodes),Gr(e))}function fq(t){return t.selectors.every(e=>e.indexOf("|")===-1)}function Su(t,e,r){t.each(n=>{let s=n.parent;bk(n)&&!r.silenceAtNestWarning&&t.warn(e,`\`@nest\` was removed from the CSS Nesting specification and will be removed from PostCSS Nesting in the next major version.
|
|
330
330
|
Change \`@nest ${n.params} {}\` to \`${n.params} {}\` to migrate to the latest standard.`),Yn(n)&&Yn(s)&&fq(n)?pq(n,s,e,r):bk(n)&&Yn(s)&&cq(n)?Bq(n,s,e,Su,r):Xn(n)&&Yn(s)&&iq(n)?sq(n,s,e,Su,r):Xn(n)&&Xn(s)&&nq(n,s)&&rq(n,s),"nodes"in n&&n.nodes.length&&Su(n,e,r)})}var kk=t=>{let e=Object.assign({noIsPseudoSelector:!1,silenceAtNestWarning:!1},t);return{postcssPlugin:"postcss-nesting",Rule(r,{result:n}){Su(r,n,e),r.selector.includes("&")&&tq(r,n)}}};kk.postcss=!0;var xk=(0,nt.default)();function Pk(t,e,r,n){let s;try{s=yk(xk.astSync(e),xk.astSync(r))}catch(o){return t.warn(n,`Failed to parse selectors : "${r}" / "${e}" with message: "${o instanceof Error?o.message:o}"`),!1}return!!s&&s.toString()}function dq(t,e){{let n=t.parent;for(;n;){if(n.type==="rule"||Xn(n)&&n.name==="scope")return;n=n.parent}try{let s=!1;if((0,nt.default)().astSync(t.selector).walkNesting(()=>(s=!0,!1)),!s)return}catch(s){return void t.warn(e,`Failed to parse selector : "${t.selector}" with message: "${s instanceof Error?s.message:s}"`)}}let r=Pk(t,t.selector,":scope",e);r&&(t.selector=r)}function Cq(t,e,r,n){if(Qs(t,e),t.nodes){let s=e.clone().removeAll().append(t.nodes);t.append(s),Gr(e),n(s,r)}else Gr(e)}function hq(t){return xd.includes(t.name)}function mq(t,e,r){let n=Pk(t,t.selector,e.selector,r);n&&(Qs(t,e),t.selector=n,t.type==="rule"&&e.type==="rule"&&t.selector===e.selector&&t.append(...e.nodes),Gr(e))}function gq(t){return t.selectors.every(e=>e.indexOf("|")===-1)}function bd(t,e){t.each(r=>{let n=r.parent;Yn(r)&&Yn(n)&&gq(r)?mq(r,n,e):Xn(r)&&Yn(n)&&hq(r)&&Cq(r,n,e,bd),"nodes"in r&&r.nodes.length&&bd(r,e)})}var Ak=()=>({postcssPlugin:"postcss-nesting",Rule(t,{result:e}){bd(t,e),t.selector.includes("&")&&dq(t,e)},AtRule:{nest(t){throw t.error(`\`@nest\` was removed from the CSS Nesting specification and will be removed from PostCSS Nesting in the next major version.
|
|
331
|
-
Change \`@nest ${t.params} {}\` to \`${t.params} {}\` to migrate to the latest standard.`)}}});Ak.postcss=!0;var Sd=t=>{let e=Object.assign({edition:"2021"},t);switch(e.edition){case"2021":return kk(t);case"2024-02":return Ak();default:throw new Error(`Invalid edition: ${e.edition}`)}};Sd.postcss=!0;p();d();f();var kd=Be(ut(),1);function vq(t){t.spaces&&(t.spaces.after="",t.spaces.before=""),t.nodes&&t.nodes.length>0&&(t.nodes[0]&&t.nodes[0].spaces&&(t.nodes[0].spaces.before=""),t.nodes[t.nodes.length-1]&&t.nodes[t.nodes.length-1].spaces&&(t.nodes[t.nodes.length-1].spaces.after=""))}var Pd=()=>({postcssPlugin:"postcss-selector-not",Rule:(t,{result:e})=>{if(t.selector&&t.selector.toLowerCase().includes(":not("))try{let r=(0,kd.default)().astSync(t.selector);r.walkPseudos(s=>{if(s.value.toLowerCase()!==":not"||!s.nodes||s.nodes.length<2)return;let o=[];s.nodes.forEach(i=>{vq(i);let a=kd.default.pseudo({value:":not",nodes:[i]});o.push(a)}),s.replaceWith(...o)});let n=r.toString();n!==t.selector&&t.replaceWith(t.clone({selector:n}))}catch(r){t.warn(e,`Failed to parse selector : "${t.selector}" with message: "${r instanceof Error?r.message:r}"`)}}});Pd.postcss=!0;p();d();f();var Nk=/\b(?:oklab|oklch)\(/i,Ek=/^(?:oklab|oklch)$/i,Ad=t=>({postcssPlugin:"postcss-oklab-function",Declaration(e){let r=e.value;if(!Nk.test(r)||ce(e)||Ae(e,Nk))return;let n=qe({css:r}),s=Se(ge(n),a=>{if(!ee(a)||!Ek.test(a.getName()))return;let l=fe(a);return l&&!(l.syntaxFlags.has(_.Experimental)||l.syntaxFlags.has(_.HasNoneKeywords)||l.syntaxFlags.has(_.RelativeColorSyntax))?je(l):void 0}),o=Oe(s);if(o===r)return;let i=o;t?.subFeatures.displayP3&&(i=Oe(Se(ge(n),a=>{if(!ee(a)||!Ek.test(a.getName()))return;let l=fe(a);return l&&!(l.syntaxFlags.has(_.Experimental)||l.syntaxFlags.has(_.HasNoneKeywords)||l.syntaxFlags.has(_.RelativeColorSyntax))?Ht(l)?je(l):zt(l):void 0}))),e.cloneBefore({value:o}),t?.subFeatures.displayP3&&i!==o&&e.cloneBefore({value:i}),t?.preserve||e.remove()}});Ad.postcss=!0;var Nd=t=>{let e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!1,subFeatures:{displayP3:!0}},t);return e.subFeatures=Object.assign({displayP3:!0},e.subFeatures),e.enableProgressiveCustomProperties&&(e.preserve||e.subFeatures.displayP3)?{postcssPlugin:"postcss-oklab-function",plugins:[Ee(),Ad(e)]}:Ad(e)};Nd.postcss=!0;var Jk=Be(Ok(),1);p();d();f();var Au=Be(He(),1),Od=t=>{let e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-overflow-shorthand",Declaration:(r,{result:n})=>{if(r.prop.toLowerCase()!=="overflow")return;let s="",o="",i=r.value;try{let a=(0,Au.default)(i).nodes.slice().filter(l=>l.type!=="comment"&&l.type!=="space");if(a.length<2)return;s=Au.default.stringify(a[0]),o=Au.default.stringify(a[1])}catch{return void r.warn(n,`Failed to parse value '${i}' as a shorthand for "overflow". Leaving the original value intact.`)}s&&o&&(s.toLowerCase()===o.toLowerCase()?r.cloneBefore({value:s}):(r.cloneBefore({prop:"overflow-x",value:s}),r.cloneBefore({prop:"overflow-y",value:o})),e.preserve||r.remove())}}};Od.postcss=!0;var Kk=Be(Tk(),1);p();d();f();var Nu=Be(He(),1);function wq(t,e,r){let n=t.prop.toLowerCase().match(Ik)?.[1];if(!n)return;let s;try{s=(0,Nu.default)(t.value)}catch{t.warn(e,`Failed to parse value '${t.value}'. Leaving the original value intact.`)}if(s===void 0)return;let o=[];o=s.nodes.length?s.nodes.filter(i=>i.type==="word"||i.type==="function").map(i=>Nu.default.stringify(i)):[Nu.default.stringify(s.nodes)],t.cloneBefore({prop:`align-${n}`,value:o[0]}),t.cloneBefore({prop:`justify-${n}`,value:o[1]||o[0]}),r.preserve||t.remove()}var Ik=/^place-(content|items|self)/,Id=t=>{let e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-place",Declaration:(r,{result:n})=>{Ik.test(r.prop.toLowerCase())&&wq(r,n,e)}}};Id.postcss=!0;p();d();f();var bq=/\(\s*prefers-color-scheme\s*:\s*(dark|light)\s*\)/gi,Dq="(color: 48842621)",xq="(color: 70318723)",Ld=t=>{let e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-prefers-color-scheme",prepare(){let r=new WeakSet;return{AtRule:n=>{if(r.has(n)||n.name.toLowerCase()!=="media")return;let{params:s}=n,o=s.replace(bq,(i,a)=>a.toLowerCase()==="dark"?Dq:a.toLowerCase()==="light"?xq:i);s!==o&&(r.add(n),n.cloneBefore({params:o}),e.preserve||n.remove())}}}}};Ld.postcss=!0;p();d();f();var Lk=Be(He(),1);var Sq=/rebeccapurple/i,kq=/^rebeccapurple$/i,Rd=t=>{let e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-color-rebeccapurple",Declaration(r){if(!Sq.test(r.value)||ce(r))return;let n=(0,Lk.default)(r.value);n.walk(o=>{o.type==="word"&&kq.test(o.value)&&(o.value="#639")});let s=String(n);s!==r.value&&(r.cloneBefore({value:s}),e.preserve||r.remove())}}};Rd.postcss=!0;p();d();f();var Pq=/\b(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklch|oklab|color)\(/i,Aq=/\b(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklch|oklab|color)\(\s*from/i,Rk=/^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklch|oklab|color)$/i,Nq=/from/i,Fd=t=>({postcssPlugin:"postcss-relative-color-syntax",Declaration(e){let r=e.value;if(!Pq.test(r)||!Nq.test(r)||ce(e)||Ae(e,Aq))return;let n=qe({css:r}),s=Se(ge(n),a=>{if(!ee(a)||!Rk.test(a.getName()))return;let l=fe(a);return l&&!l.syntaxFlags.has(_.Experimental)&&!l.syntaxFlags.has(_.HasNoneKeywords)&&l.syntaxFlags.has(_.RelativeColorSyntax)?je(l):void 0}),o=Oe(s);if(o===r)return;let i=o;t?.subFeatures.displayP3&&(i=Oe(Se(ge(n),a=>{if(!ee(a)||!Rk.test(a.getName()))return;let l=fe(a);return l&&!l.syntaxFlags.has(_.Experimental)&&!l.syntaxFlags.has(_.HasNoneKeywords)&&l.syntaxFlags.has(_.RelativeColorSyntax)?Ht(l)?je(l):zt(l):void 0}))),e.cloneBefore({value:o}),t?.subFeatures.displayP3&&i!==o&&e.cloneBefore({value:i}),t?.preserve||e.remove()}});Fd.postcss=!0;var Md=t=>{let e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!1,subFeatures:{displayP3:!0}},t);return e.subFeatures=Object.assign({displayP3:!0},e.subFeatures),e.enableProgressiveCustomProperties&&(e.preserve||e.subFeatures.displayP3)?{postcssPlugin:"postcss-relative-color-syntax",plugins:[Ee(),Fd(e)]}:Fd(e)};Md.postcss=!0;p();d();f();var Fk=Be(ut(),1),_d=t=>{let e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-scope-pseudo-class",prepare(){let r=new WeakSet;return{Rule(n,{result:s}){if(!n.selector.toLowerCase().includes(":scope")||r.has(n))return;{let i=n.parent;for(;i;){if(i.type==="atrule"&&i.name.toLowerCase()==="scope")return;i=i.parent}}let o=n.selector;try{let i=(0,Fk.default)().astSync(o);if(!i)return;i.walkPseudos(a=>{if(a.value.toLowerCase()===":has")return!1;a.value.toLowerCase()===":scope"&&(a.value=":root")}),o=i.toString()}catch(i){n.warn(s,`Failed to parse selector : "${n.selector}" with message: "${i instanceof Error?i.message:i}"`)}o!==n.selector&&(r.add(n),n.cloneBefore({selector:o}),e.preserve||n.remove())}}}}};_d.postcss=!0;p();d();f();var Eq=/(?<![-\w])(?:mod|rem|round)\(/i,qd=t=>{let e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-stepped-value-functions",Declaration(r){if(!Eq.test(r.value))return;let n=Rs(r.value,{precision:5,toCanonicalUnits:!0});n!==r.value&&(r.cloneBefore({value:n}),e.preserve||r.remove())}}};qd.postcss=!0;p();d();f();var Js=Be(He(),1);var Mk=/^text-decoration$/i,Vd=t=>{let e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-text-decoration-shorthand",prepare(){let r=new Map;return{postcssPlugin:"postcss-text-decoration-shorthand",OnceExit(){r.clear()},Declaration(n){if(!Mk.test(n.prop))return;let s=n.parent;if(!s)return;let o=s.index(n);if(s.nodes.some(B=>B.type==="decl"&&Mk.test(B.prop)&&r.get(n.value)===B.value&&s.index(B)!==o))return;let i=(0,Js.default)(n.value),a=i.nodes.filter(B=>B.type!=="space"&&B.type!=="comment");if(a.find(B=>B.value.toLowerCase()==="var"&&B.type==="function")||a.find(B=>B.type==="word"&&Tq.includes(B.value)))return;let l={line:[],style:null,color:null,thickness:null};for(let B=0;B<a.length;B++){let h=a[B];if(l.line.length||h.type!=="word"||!_k.includes(h.value.toLowerCase()))if(l.line.length||h.type!=="word"||h.value.toLowerCase()!=="none")if(l.style||h.type!=="word"||!Iq.includes(h.value.toLowerCase()))if(l.thickness||h.type!=="word"||!Lq.includes(h.value.toLowerCase()))if(l.thickness||h.type!=="function"||h.value.toLowerCase()!=="calc")if(l.color||!Oq(h)){if(h.type!=="word")return;{let g;try{g=Js.default.unit(h.value)}catch{return}if(!g||!g.unit)return;l.thickness=h,g.unit==="%"&&(l.thickness={before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"function",value:"calc",nodes:[{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"word",value:"0.01em"},{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"space",value:" "},{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"word",value:"*"},{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"space",value:" "},{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"word",value:g.number}]})}}else l.color=h;else l.thickness=h;else l.thickness=h;else l.style=h;else l.line.push(h);else{let g=h,v=h;for(;;){let w=a[B+1];if(!w||w.type!=="word"||!_k.includes(w.value.toLowerCase()))break;v=w,B++}l.line=i.nodes.slice(i.nodes.indexOf(g),i.nodes.indexOf(v)+1)}}l.line.length||l.line.push({before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"word",value:"none"}),l.style||(l.style={before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"word",value:"solid"}),l.color||(l.color={before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"word",value:"currentColor"});let u=Js.default.stringify(l.line);if(n.value.toLowerCase()===u.toLowerCase()){let B=n.next();return void(B&&B.type==="decl"&&B.prop.toLowerCase()==="text-decoration"||n.cloneBefore({prop:"-webkit-text-decoration",value:u}))}n.cloneBefore({prop:"text-decoration",value:u});let c=Js.default.stringify([...l.line,{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"space",value:" "},l.style,{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"space",value:" "},l.color]);l.thickness&&n.cloneBefore({prop:"text-decoration",value:c}),l.thickness&&n.cloneBefore({prop:"text-decoration-thickness",value:Js.default.stringify([l.thickness])}),r.set(n.value,u),r.set(c,u),e.preserve||n.remove()}}}}};function Oq(t){return!(t.type!=="word"||!t.value.startsWith("#"))||!(t.type!=="word"||!Fq.includes(t.value.toLowerCase()))||!(t.type!=="function"||!Rq.includes(t.value.toLowerCase()))}Vd.postcss=!0;var Tq=["unset","inherit","initial","revert","revert-layer"],_k=["underline","overline","line-through","blink","spelling-error","grammar-error"],Iq=["solid","double","dotted","dashed","wavy"],Lq=["auto","from-font"],Rq=["color","color-mix","hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Fq=["currentcolor","transparent",...Object.keys(Kl)];p();d();f();var Mq=/(?<![-\w])(?:asin|acos|atan|atan2|sin|cos|tan)\(/i,Ud=t=>{let e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-trigonometric-functions",Declaration(r){if(!Mq.test(r.value))return;let n=Rs(r.value,{precision:5,toCanonicalUnits:!0});n!==r.value&&(r.cloneBefore({value:n}),e.preserve||r.remove())}}};Ud.postcss=!0;p();d();f();var _q=new Set(["block-ellipsis","border-boundary","border-collapse","border-spacing","box-snap","caption-side","caret","caret-shape","clip-rule","color","color-interpolation","color-interpolation-filters","cursor","direction","dominant-baseline","empty-cells","fill","fill-color","fill-image","fill-opacity","fill-position","fill-repeat","fill-rule","fill-size","font","font-family","font-feature-settings","font-kerning","font-language-override","font-palette","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-emoji","font-variant-ligatures","font-weight","forced-color-adjust","hyphenate-character","hyphenate-limit-chars","hyphenate-limit-last","hyphenate-limit-lines","hyphenate-limit-zone","hyphens","image-orientation","image-rendering","image-resolution","initial-letter-wrap","letter-spacing","line-break","line-height","line-padding","line-snap","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-side","marker-start","orphans","overflow-wrap","paint-order","pointer-events","print-color-adjust","quotes","ruby-merge","ruby-overhang","ruby-position","shape-rendering","speak","speak-as","stroke","stroke-align","stroke-alignment","stroke-color","stroke-dash-corner","stroke-dash-justify","stroke-dashadjust","stroke-dasharray","stroke-dashcorner","stroke-dashoffset","stroke-image","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-position","stroke-repeat","stroke-size","stroke-width","tab-size","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration-skip","text-decoration-skip-box","text-decoration-skip-inset","text-decoration-skip-self","text-decoration-skip-spaces","text-edge","text-emphasis-color","text-emphasis-position","text-emphasis-skip","text-emphasis-style","text-indent","text-justify","text-orientation","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-spacing","text-transform","text-underline-position","text-wrap","visibility","voice-balance","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","word-boundary-detection","word-boundary-expansion","word-break","word-spacing","word-wrap","writing-mode"]),qq=new Set(["align-content","align-items","align-self","alignment-baseline","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timeline","animation-timing-function","appearance","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-block","background-position-inline","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","baseline-source","block-step","block-step-align","block-step-insert","block-step-round","block-step-size","bookmark-label","bookmark-level","bookmark-state","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-clip","border-clip-bottom","border-clip-left","border-clip-right","border-clip-top","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-limit","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","clear","clip","clip-path","color-adjust","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-width","container","container-name","container-type","content","continue","copy-into","corner-shape","corners","counter-increment","counter-reset","cue","cue-after","cue-before","cx","cy","d","display","fill-break","fill-origin","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-defer","float-offset","float-reference","flood-color","flood-opacity","flow-from","flow-into","footnote-display","footnote-policy","gap","glyph-orientation-vertical","grid-auto-columns","grid-auto-rows","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","initial-letter","inline-sizing","input-security","isolation","justify-content","justify-items","justify-self","leading-trim","left","lighting-color","line-clamp","line-grid","margin","margin-bottom","margin-break","margin-left","margin-right","margin-top","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-image","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-height","max-lines","max-width","min-height","min-intrinsic-sizing","min-width","mix-blend-mode","nav-down","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","place-content","position","r","region-fragment","resize","rest","rest-after","rest-before","right","row-gap","rx","ry","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","shape-padding","shape-subtract","spatial-navigation-action","spatial-navigation-contain","spatial-navigation-function","stop-color","stop-opacity","string-set","stroke-break","stroke-origin","table-layout","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-group-align","text-overflow","text-space-trim","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vector-effect","vertical-align","voice-duration","width","will-change","wrap-after","wrap-before","wrap-flow","wrap-inside","wrap-through","x","y","z-index"]),Wd=t=>{let e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-unset-value",Declaration(r){if(r.value.toLowerCase()!=="unset")return;let n=!1;_q.has(r.prop.toLowerCase())?n="inherit":qq.has(r.prop.toLowerCase())&&(n="initial"),n&&(r.cloneBefore({prop:r.prop,value:n}),e.preserve||r.remove())}}};Wd.postcss=!0;var qk={"blank-pseudo-class":"https://github.com/csstools/postcss-plugins/blob/main/plugins/css-blank-pseudo/README.md#browser","focus-visible-pseudo-class":"https://github.com/WICG/focus-visible","focus-within-pseudo-class":"https://github.com/csstools/postcss-plugins/blob/main/plugins/postcss-focus-within/README.md#browser","has-pseudo-class":"https://github.com/csstools/postcss-plugins/blob/main/plugins/css-has-pseudo/README.md#browser","prefers-color-scheme-query":"https://github.com/csstools/postcss-plugins/blob/main/plugins/css-prefers-color-scheme/README.md#browser"},Vq=["blank-pseudo-class","focus-visible-pseudo-class","focus-within-pseudo-class","has-pseudo-class","prefers-color-scheme-query"];function Uq(t,e,r){if(e.debug){r.log("Enabling the following feature(s):");let n=[],s=[];e.autoprefixer!==!1&&s.push(" autoprefixer"),t.forEach(o=>{o.id.startsWith("before")||o.id.startsWith("after")?s.push(` ${o.id} (injected via options)`):s.push(` ${o.id}`),qk[o.id]!==void 0&&n.push(o.id)}),s.sort((o,i)=>o.localeCompare(i)),n.sort((o,i)=>o.localeCompare(i)),s.forEach(o=>r.log(o)),n.length&&(r.log("These feature(s) need a browser library to work:"),n.forEach(o=>r.log(` ${o}: ${qk[o]}`)))}}function Wq(t){if("preserve"in t){let e={};return e.preserve=t.preserve,e}return!1}function Iu(t,e,r){return Math.max(t,Math.min(e,r))}var Gq=2,Ou=5;function Hq(t,e){let r=Gq;if(t.stage===void 0)return e.log(`Using features from Stage ${r} (default)`),r;if(t.stage===!1)r=Ou;else{let n=parseInt(t.stage,10);Number.isNaN(n)&&(n=0),r=Iu(0,n,Ou)}return r===Ou?e.log('Stage has been disabled, features will be handled via the "features" option.'):e.log(`Using features from Stage ${r}`),r}var wn=Symbol("insertBefore"),bn=Symbol("insertAfter"),zd=Symbol("insertOrder"),Yk=Symbol("plugin");function Vk(t,e,r){if(r!=="insertBefore"&&r!=="insertAfter")return[];let n=r==="insertBefore"?wn:bn,s=[];for(let o in e){if(!Object.hasOwnProperty.call(e,o)||!t.find(a=>a.id===o))continue;let i=e[o];Array.isArray(i)||(i=[i]);for(let a=0;a<i.length;a++)s.push({id:o,[Yk]:i[a],[zd]:a,[n]:!0})}return s}var Uk=["custom-media-queries","environment-variables","image-set-function","media-query-ranges","media-queries-aspect-ratio-number-values","prefers-color-scheme-query","nesting-rules","custom-selectors","any-link-pseudo-class","case-insensitive-attributes","focus-visible-pseudo-class","focus-within-pseudo-class","not-pseudo-class","logical-properties-and-values","float-clear-logical-values","logical-overflow","logical-overscroll-behavior","logical-resize","logical-viewport-units","dir-pseudo-class","all-property","gradients-interpolation-method","color-mix","relative-color-syntax","lab-function","oklab-function","color-function","hwb-function","color-functional-notation","rebeccapurple-color","hexadecimal-alpha-notation","light-dark-function","double-position-gradients","blank-pseudo-class","break-properties","font-variant-property","is-pseudo-class","scope-pseudo-class","has-pseudo-class","gap-properties","overflow-property","overflow-wrap-property","place-properties","system-ui-font-family","font-format-keywords","display-two-values","ic-unit","opacity-percentage","text-decoration-shorthand","unset-value","stepped-value-functions","trigonometric-functions","exponential-functions","clamp","nested-calc","custom-properties","cascade-layers","progressive-custom-properties","gamut-mapping"];function zq(t,e){return t.id===e.id?t[wn]&&e[wn]||t[bn]&&e[bn]?Iu(-1,t[zd]-e[zd],1):t[wn]||e[bn]?-1:t[bn]||e[wn]?1:0:Iu(-1,Uk.indexOf(t.id)-Uk.indexOf(e.id),1)}function Xk(){return{postcssPlugin:"postcss-system-ui-font",Declaration(t){jq.test(t.prop)&&(t.value.includes($k)||(t.value=t.value.replace(Qq,Jq)))}}}Xk.postcss=!0;var jq=/(?:^(?:-|\\002d){2})|(?:^font(?:-family)?$)/i,Eu="[\\f\\n\\r\\x09\\x20]",Zk=["system-ui","-apple-system","Segoe UI","Roboto","Ubuntu","Cantarell","Noto Sans","sans-serif"],$k=Zk.join(", "),Qq=new RegExp(`(^|,|${Eu}+)(?:system-ui${Eu}*)(?:,${Eu}*(?:${Zk.join("|")})${Eu}*)?(,|$)`,"i"),Jq=`$1${$k}$2`,e4=new Map([["all-property",bc],["any-link-pseudo-class",mp],["blank-pseudo-class",yp],["break-properties",zk.default],["cascade-layers",xp],["case-insensitive-attributes",kp],["clamp",jk.default],["color-function",af],["color-functional-notation",uf],["color-mix",cf],["custom-media-queries",yf],["custom-properties",Df],["custom-selectors",xf],["dir-pseudo-class",Sf],["display-two-values",kf],["double-position-gradients",Nf],["exponential-functions",Ef],["float-clear-logical-values",Of],["focus-visible-pseudo-class",Lf],["focus-within-pseudo-class",Mf],["font-format-keywords",qf],["font-variant-property",Qk.default],["gamut-mapping",Uf],["gap-properties",Wf],["gradients-interpolation-method",zf],["has-pseudo-class",Qf],["hexadecimal-alpha-notation",Jf],["hwb-function",Yf],["ic-unit",$f],["image-set-function",ed],["is-pseudo-class",td],["lab-function",nd],["light-dark-function",ad],["logical-overflow",ld],["logical-overscroll-behavior",ud],["logical-properties-and-values",cd],["logical-resize",pd],["logical-viewport-units",fd],["media-queries-aspect-ratio-number-values",hd],["media-query-ranges",vd],["nested-calc",yd],["nesting-rules",Sd],["not-pseudo-class",Pd],["oklab-function",Nd],["opacity-percentage",Jk.default],["overflow-property",Od],["overflow-wrap-property",Kk.default],["place-properties",Id],["prefers-color-scheme-query",Ld],["progressive-custom-properties",Ee],["rebeccapurple-color",Rd],["relative-color-syntax",Md],["scope-pseudo-class",_d],["stepped-value-functions",qd],["system-ui-font-family",Xk],["text-decoration-shorthand",Vd],["trigonometric-functions",Ud],["unset-value",Wd]]);function Kq(t){return!!t[wn]||!!t[bn]||!!e4.has(t.id)}function Yq(t,e,r){return t.concat(Vk(t,e,"insertBefore"),Vk(t,r,"insertAfter")).filter(n=>Kq(n)).sort((n,s)=>zq(n,s))}var t4=["and_chr","and_ff","android","chrome","edge","firefox","ie","ios_saf","op_mini","op_mob","opera","safari","samsung"];function r4(t){if(!t)return[];if(!("browser_support"in t))return["> 0%"];let e=[];return t4.forEach(r=>{if(r==="op_mini"&&t.browser_support[r]===void 0)return void e.push("op_mini all");let n=t.browser_support[r];typeof n=="string"&&Xq.test(n)?e.push(`${r} < ${t.browser_support[r]}`):e.push(`${r} >= 1`)}),e}var Xq=/^[0-9|.]+$/;function Zq(t,e,r,n,s){switch(e.id){case"is-pseudo-class":return{onComplexSelector:"warning"};case"nesting-rules":return $q(r.find(o=>o.id==="is-pseudo-class"),t)?(s.log('Disabling :is on "nesting-rules" due to lack of browser support.'),{noIsPseudoSelector:!0}):{};case"any-link-pseudo-class":return t.find(o=>o.startsWith("ie ")||o.startsWith("edge "))?(s.log('Adding area[href] fallbacks for ":any-link" support in Edge and IE.'),{subFeatures:{areaHrefNeedsFixing:!0}}):{};case"logical-properties-and-values":case"float-clear-logical-values":case"logical-resize":case"logical-viewport-units":case"logical-overflow":case"logical-overscroll-behavior":return"logical"in n?n.logical:{};default:return{}}}function $q(t,e){let r=r4(t),n=(0,Tu.default)(r,{ignoreUnknownVersions:!0});return!!e.some(s=>n.some(o=>o===s))}function eV(t){let e=r4(t);if(t[wn]||t[bn]){let r=t.id;return r=t.insertBefore?`before-${r}`:`after-${r}`,{browsers:e,vendors_implementations:t.vendors_implementations,plugin:t[Yk],id:r,stage:Ou+1}}return{browsers:e,vendors_implementations:t.vendors_implementations,plugin:e4.get(t.id),id:t.id,stage:t.stage}}function tV(t,e,r,n,s,o,i){let a,l;return a=Zq(e,n,t,o,i),a=s?Object.assign({},a,s,Wk(r,n.id)):Object.assign({},a,Wk(r,n.id)),n.id!=="progressive-custom-properties"&&(a.enableProgressiveCustomProperties=!1),n.id==="overflow-wrap-property"&&"preserve"in a&&(a.method=a.preserve?"copy":"replace"),l=n.plugin.postcss&&typeof n.plugin=="function"?n.plugin(a):n.plugin&&n.plugin.default&&typeof n.plugin.default=="function"&&n.plugin.default.postcss?n.plugin.default(a):n.plugin,{browsers:n.browsers,vendors_implementations:n.vendors_implementations,plugin:l,pluginOptions:a,id:n.id}}function Wk(t,e){if(!(e in t))return;let r=t[e];return Array.isArray(r)?r[1]:r}function rV(t){let e=parseInt(t,10);return Number.isNaN(e)?0:e}var Gd=new Set(["progressive-custom-properties"]);function nV(t,e,r,n){let s=Object(e.features),o="enableClientSidePolyfills"in e&&e.enableClientSidePolyfills,i=Object(e.insertBefore),a=Object(e.insertAfter),l=e.browsers?void 0:e.env,u=e.browsers,c=Iu(0,rV(e.minimumVendorImplementations),3);c>0&&n.log(`Using features with ${c} or more vendor implementations`);let B=Hq(e,n),h=Yq([...t,{id:"progressive-custom-properties"}],i,a).map(v=>eV(v)).filter(v=>!!Gd.has(v.id)||c===0||!(!v[wn]&&!v[bn])||c<=v.vendors_implementations||(Hd(s,v.id)===!0?(n.log(` ${v.id} does not meet the required vendor implementations but has been enabled by options`),!0):(n.log(` ${v.id} with ${v.vendors_implementations} vendor implementations has been disabled`),!1))),g=(0,Tu.default)(u,{env:l,ignoreUnknownVersions:!0}).filter(v=>t4.includes(v.split(" ")[0]));return h.filter(v=>{if(Gd.has(v.id))return!0;let w=v.stage>=B,y=o||!Vq.includes(v.id),P=Hd(s,v.id),O=P===!1,E=P===!0||w&&y;return O?n.log(` ${v.id} has been disabled by options`):w?y||n.log(` ${v.id} has been disabled by "enableClientSidePolyfills: false".`):E?n.log(` ${v.id} does not meet the required stage but has been enabled by options`):n.log(` ${v.id} with stage ${v.stage} has been disabled`),!O&&E}).map(v=>tV(t,g,s,v,r,e,n)).filter(v=>{if(Gd.has(v.id))return!0;let w=Hd(s,v.id);if(w===!0||w===!1)return w;let y=(0,Tu.default)(v.browsers,{ignoreUnknownVersions:!0}),P=g.some(O=>y.some(E=>E===O));return P||n.log(`${v.id} disabled due to browser support`),P})}function Hd(t,e){if(!(e in t))return"auto";let r=t[e];return Array.isArray(r)?r[0]===!0||r[0]!==!1&&"auto":!!r}var jd=class{constructor(){this.logs=[]}log(e){this.logs.push(e)}resetLogger(){this.logs.length=0}emitLogs(e){e&&e.warn(this.logs.join(`
|
|
331
|
+
Change \`@nest ${t.params} {}\` to \`${t.params} {}\` to migrate to the latest standard.`)}}});Ak.postcss=!0;var Sd=t=>{let e=Object.assign({edition:"2021"},t);switch(e.edition){case"2021":return kk(t);case"2024-02":return Ak();default:throw new Error(`Invalid edition: ${e.edition}`)}};Sd.postcss=!0;p();d();f();var kd=ce(ut(),1);function vq(t){t.spaces&&(t.spaces.after="",t.spaces.before=""),t.nodes&&t.nodes.length>0&&(t.nodes[0]&&t.nodes[0].spaces&&(t.nodes[0].spaces.before=""),t.nodes[t.nodes.length-1]&&t.nodes[t.nodes.length-1].spaces&&(t.nodes[t.nodes.length-1].spaces.after=""))}var Pd=()=>({postcssPlugin:"postcss-selector-not",Rule:(t,{result:e})=>{if(t.selector&&t.selector.toLowerCase().includes(":not("))try{let r=(0,kd.default)().astSync(t.selector);r.walkPseudos(s=>{if(s.value.toLowerCase()!==":not"||!s.nodes||s.nodes.length<2)return;let o=[];s.nodes.forEach(i=>{vq(i);let a=kd.default.pseudo({value:":not",nodes:[i]});o.push(a)}),s.replaceWith(...o)});let n=r.toString();n!==t.selector&&t.replaceWith(t.clone({selector:n}))}catch(r){t.warn(e,`Failed to parse selector : "${t.selector}" with message: "${r instanceof Error?r.message:r}"`)}}});Pd.postcss=!0;p();d();f();var Nk=/\b(?:oklab|oklch)\(/i,Ek=/^(?:oklab|oklch)$/i,Ad=t=>({postcssPlugin:"postcss-oklab-function",Declaration(e){let r=e.value;if(!Nk.test(r)||pe(e)||Ne(e,Nk))return;let n=qe({css:r}),s=ke(ve(n),a=>{if(!ee(a)||!Ek.test(a.getName()))return;let l=de(a);return l&&!(l.syntaxFlags.has(_.Experimental)||l.syntaxFlags.has(_.HasNoneKeywords)||l.syntaxFlags.has(_.RelativeColorSyntax))?je(l):void 0}),o=Oe(s);if(o===r)return;let i=o;t?.subFeatures.displayP3&&(i=Oe(ke(ve(n),a=>{if(!ee(a)||!Ek.test(a.getName()))return;let l=de(a);return l&&!(l.syntaxFlags.has(_.Experimental)||l.syntaxFlags.has(_.HasNoneKeywords)||l.syntaxFlags.has(_.RelativeColorSyntax))?Ht(l)?je(l):zt(l):void 0}))),e.cloneBefore({value:o}),t?.subFeatures.displayP3&&i!==o&&e.cloneBefore({value:i}),t?.preserve||e.remove()}});Ad.postcss=!0;var Nd=t=>{let e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!1,subFeatures:{displayP3:!0}},t);return e.subFeatures=Object.assign({displayP3:!0},e.subFeatures),e.enableProgressiveCustomProperties&&(e.preserve||e.subFeatures.displayP3)?{postcssPlugin:"postcss-oklab-function",plugins:[Ee(),Ad(e)]}:Ad(e)};Nd.postcss=!0;var Jk=ce(Ok(),1);p();d();f();var Au=ce(He(),1),Od=t=>{let e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-overflow-shorthand",Declaration:(r,{result:n})=>{if(r.prop.toLowerCase()!=="overflow")return;let s="",o="",i=r.value;try{let a=(0,Au.default)(i).nodes.slice().filter(l=>l.type!=="comment"&&l.type!=="space");if(a.length<2)return;s=Au.default.stringify(a[0]),o=Au.default.stringify(a[1])}catch{return void r.warn(n,`Failed to parse value '${i}' as a shorthand for "overflow". Leaving the original value intact.`)}s&&o&&(s.toLowerCase()===o.toLowerCase()?r.cloneBefore({value:s}):(r.cloneBefore({prop:"overflow-x",value:s}),r.cloneBefore({prop:"overflow-y",value:o})),e.preserve||r.remove())}}};Od.postcss=!0;var Kk=ce(Tk(),1);p();d();f();var Nu=ce(He(),1);function wq(t,e,r){let n=t.prop.toLowerCase().match(Ik)?.[1];if(!n)return;let s;try{s=(0,Nu.default)(t.value)}catch{t.warn(e,`Failed to parse value '${t.value}'. Leaving the original value intact.`)}if(s===void 0)return;let o=[];o=s.nodes.length?s.nodes.filter(i=>i.type==="word"||i.type==="function").map(i=>Nu.default.stringify(i)):[Nu.default.stringify(s.nodes)],t.cloneBefore({prop:`align-${n}`,value:o[0]}),t.cloneBefore({prop:`justify-${n}`,value:o[1]||o[0]}),r.preserve||t.remove()}var Ik=/^place-(content|items|self)/,Id=t=>{let e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-place",Declaration:(r,{result:n})=>{Ik.test(r.prop.toLowerCase())&&wq(r,n,e)}}};Id.postcss=!0;p();d();f();var bq=/\(\s*prefers-color-scheme\s*:\s*(dark|light)\s*\)/gi,Dq="(color: 48842621)",xq="(color: 70318723)",Ld=t=>{let e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-prefers-color-scheme",prepare(){let r=new WeakSet;return{AtRule:n=>{if(r.has(n)||n.name.toLowerCase()!=="media")return;let{params:s}=n,o=s.replace(bq,(i,a)=>a.toLowerCase()==="dark"?Dq:a.toLowerCase()==="light"?xq:i);s!==o&&(r.add(n),n.cloneBefore({params:o}),e.preserve||n.remove())}}}}};Ld.postcss=!0;p();d();f();var Lk=ce(He(),1);var Sq=/rebeccapurple/i,kq=/^rebeccapurple$/i,Rd=t=>{let e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-color-rebeccapurple",Declaration(r){if(!Sq.test(r.value)||pe(r))return;let n=(0,Lk.default)(r.value);n.walk(o=>{o.type==="word"&&kq.test(o.value)&&(o.value="#639")});let s=String(n);s!==r.value&&(r.cloneBefore({value:s}),e.preserve||r.remove())}}};Rd.postcss=!0;p();d();f();var Pq=/\b(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklch|oklab|color)\(/i,Aq=/\b(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklch|oklab|color)\(\s*from/i,Rk=/^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklch|oklab|color)$/i,Nq=/from/i,Fd=t=>({postcssPlugin:"postcss-relative-color-syntax",Declaration(e){let r=e.value;if(!Pq.test(r)||!Nq.test(r)||pe(e)||Ne(e,Aq))return;let n=qe({css:r}),s=ke(ve(n),a=>{if(!ee(a)||!Rk.test(a.getName()))return;let l=de(a);return l&&!l.syntaxFlags.has(_.Experimental)&&!l.syntaxFlags.has(_.HasNoneKeywords)&&l.syntaxFlags.has(_.RelativeColorSyntax)?je(l):void 0}),o=Oe(s);if(o===r)return;let i=o;t?.subFeatures.displayP3&&(i=Oe(ke(ve(n),a=>{if(!ee(a)||!Rk.test(a.getName()))return;let l=de(a);return l&&!l.syntaxFlags.has(_.Experimental)&&!l.syntaxFlags.has(_.HasNoneKeywords)&&l.syntaxFlags.has(_.RelativeColorSyntax)?Ht(l)?je(l):zt(l):void 0}))),e.cloneBefore({value:o}),t?.subFeatures.displayP3&&i!==o&&e.cloneBefore({value:i}),t?.preserve||e.remove()}});Fd.postcss=!0;var Md=t=>{let e=Object.assign({enableProgressiveCustomProperties:!0,preserve:!1,subFeatures:{displayP3:!0}},t);return e.subFeatures=Object.assign({displayP3:!0},e.subFeatures),e.enableProgressiveCustomProperties&&(e.preserve||e.subFeatures.displayP3)?{postcssPlugin:"postcss-relative-color-syntax",plugins:[Ee(),Fd(e)]}:Fd(e)};Md.postcss=!0;p();d();f();var Fk=ce(ut(),1),_d=t=>{let e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-scope-pseudo-class",prepare(){let r=new WeakSet;return{Rule(n,{result:s}){if(!n.selector.toLowerCase().includes(":scope")||r.has(n))return;{let i=n.parent;for(;i;){if(i.type==="atrule"&&i.name.toLowerCase()==="scope")return;i=i.parent}}let o=n.selector;try{let i=(0,Fk.default)().astSync(o);if(!i)return;i.walkPseudos(a=>{if(a.value.toLowerCase()===":has")return!1;a.value.toLowerCase()===":scope"&&(a.value=":root")}),o=i.toString()}catch(i){n.warn(s,`Failed to parse selector : "${n.selector}" with message: "${i instanceof Error?i.message:i}"`)}o!==n.selector&&(r.add(n),n.cloneBefore({selector:o}),e.preserve||n.remove())}}}}};_d.postcss=!0;p();d();f();var Eq=/(?<![-\w])(?:mod|rem|round)\(/i,qd=t=>{let e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-stepped-value-functions",Declaration(r){if(!Eq.test(r.value))return;let n=Rs(r.value,{precision:5,toCanonicalUnits:!0});n!==r.value&&(r.cloneBefore({value:n}),e.preserve||r.remove())}}};qd.postcss=!0;p();d();f();var Js=ce(He(),1);var Mk=/^text-decoration$/i,Vd=t=>{let e=Object.assign({preserve:!0},t);return{postcssPlugin:"postcss-text-decoration-shorthand",prepare(){let r=new Map;return{postcssPlugin:"postcss-text-decoration-shorthand",OnceExit(){r.clear()},Declaration(n){if(!Mk.test(n.prop))return;let s=n.parent;if(!s)return;let o=s.index(n);if(s.nodes.some(B=>B.type==="decl"&&Mk.test(B.prop)&&r.get(n.value)===B.value&&s.index(B)!==o))return;let i=(0,Js.default)(n.value),a=i.nodes.filter(B=>B.type!=="space"&&B.type!=="comment");if(a.find(B=>B.value.toLowerCase()==="var"&&B.type==="function")||a.find(B=>B.type==="word"&&Tq.includes(B.value)))return;let l={line:[],style:null,color:null,thickness:null};for(let B=0;B<a.length;B++){let h=a[B];if(l.line.length||h.type!=="word"||!_k.includes(h.value.toLowerCase()))if(l.line.length||h.type!=="word"||h.value.toLowerCase()!=="none")if(l.style||h.type!=="word"||!Iq.includes(h.value.toLowerCase()))if(l.thickness||h.type!=="word"||!Lq.includes(h.value.toLowerCase()))if(l.thickness||h.type!=="function"||h.value.toLowerCase()!=="calc")if(l.color||!Oq(h)){if(h.type!=="word")return;{let g;try{g=Js.default.unit(h.value)}catch{return}if(!g||!g.unit)return;l.thickness=h,g.unit==="%"&&(l.thickness={before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"function",value:"calc",nodes:[{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"word",value:"0.01em"},{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"space",value:" "},{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"word",value:"*"},{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"space",value:" "},{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"word",value:g.number}]})}}else l.color=h;else l.thickness=h;else l.thickness=h;else l.style=h;else l.line.push(h);else{let g=h,v=h;for(;;){let w=a[B+1];if(!w||w.type!=="word"||!_k.includes(w.value.toLowerCase()))break;v=w,B++}l.line=i.nodes.slice(i.nodes.indexOf(g),i.nodes.indexOf(v)+1)}}l.line.length||l.line.push({before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"word",value:"none"}),l.style||(l.style={before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"word",value:"solid"}),l.color||(l.color={before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"word",value:"currentColor"});let u=Js.default.stringify(l.line);if(n.value.toLowerCase()===u.toLowerCase()){let B=n.next();return void(B&&B.type==="decl"&&B.prop.toLowerCase()==="text-decoration"||n.cloneBefore({prop:"-webkit-text-decoration",value:u}))}n.cloneBefore({prop:"text-decoration",value:u});let c=Js.default.stringify([...l.line,{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"space",value:" "},l.style,{before:"",after:"",sourceIndex:0,sourceEndIndex:0,type:"space",value:" "},l.color]);l.thickness&&n.cloneBefore({prop:"text-decoration",value:c}),l.thickness&&n.cloneBefore({prop:"text-decoration-thickness",value:Js.default.stringify([l.thickness])}),r.set(n.value,u),r.set(c,u),e.preserve||n.remove()}}}}};function Oq(t){return!(t.type!=="word"||!t.value.startsWith("#"))||!(t.type!=="word"||!Fq.includes(t.value.toLowerCase()))||!(t.type!=="function"||!Rq.includes(t.value.toLowerCase()))}Vd.postcss=!0;var Tq=["unset","inherit","initial","revert","revert-layer"],_k=["underline","overline","line-through","blink","spelling-error","grammar-error"],Iq=["solid","double","dotted","dashed","wavy"],Lq=["auto","from-font"],Rq=["color","color-mix","hsl","hsla","hwb","lab","lch","oklab","oklch","rgb","rgba"],Fq=["currentcolor","transparent",...Object.keys(Kl)];p();d();f();var Mq=/(?<![-\w])(?:asin|acos|atan|atan2|sin|cos|tan)\(/i,Ud=t=>{let e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-trigonometric-functions",Declaration(r){if(!Mq.test(r.value))return;let n=Rs(r.value,{precision:5,toCanonicalUnits:!0});n!==r.value&&(r.cloneBefore({value:n}),e.preserve||r.remove())}}};Ud.postcss=!0;p();d();f();var _q=new Set(["block-ellipsis","border-boundary","border-collapse","border-spacing","box-snap","caption-side","caret","caret-shape","clip-rule","color","color-interpolation","color-interpolation-filters","cursor","direction","dominant-baseline","empty-cells","fill","fill-color","fill-image","fill-opacity","fill-position","fill-repeat","fill-rule","fill-size","font","font-family","font-feature-settings","font-kerning","font-language-override","font-palette","font-size","font-size-adjust","font-stretch","font-style","font-synthesis","font-variant","font-variant-emoji","font-variant-ligatures","font-weight","forced-color-adjust","hyphenate-character","hyphenate-limit-chars","hyphenate-limit-last","hyphenate-limit-lines","hyphenate-limit-zone","hyphens","image-orientation","image-rendering","image-resolution","initial-letter-wrap","letter-spacing","line-break","line-height","line-padding","line-snap","list-style","list-style-image","list-style-position","list-style-type","marker","marker-end","marker-mid","marker-side","marker-start","orphans","overflow-wrap","paint-order","pointer-events","print-color-adjust","quotes","ruby-merge","ruby-overhang","ruby-position","shape-rendering","speak","speak-as","stroke","stroke-align","stroke-alignment","stroke-color","stroke-dash-corner","stroke-dash-justify","stroke-dashadjust","stroke-dasharray","stroke-dashcorner","stroke-dashoffset","stroke-image","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-position","stroke-repeat","stroke-size","stroke-width","tab-size","text-align","text-align-all","text-align-last","text-anchor","text-combine-upright","text-decoration-skip","text-decoration-skip-box","text-decoration-skip-inset","text-decoration-skip-self","text-decoration-skip-spaces","text-edge","text-emphasis-color","text-emphasis-position","text-emphasis-skip","text-emphasis-style","text-indent","text-justify","text-orientation","text-rendering","text-shadow","text-size-adjust","text-space-collapse","text-spacing","text-transform","text-underline-position","text-wrap","visibility","voice-balance","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","word-boundary-detection","word-boundary-expansion","word-break","word-spacing","word-wrap","writing-mode"]),qq=new Set(["align-content","align-items","align-self","alignment-baseline","animation","animation-composition","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timeline","animation-timing-function","appearance","backdrop-filter","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-position-block","background-position-inline","background-position-x","background-position-y","background-repeat","background-size","baseline-shift","baseline-source","block-step","block-step-align","block-step-insert","block-step-round","block-step-size","bookmark-label","bookmark-level","bookmark-state","border","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-clip","border-clip-bottom","border-clip-left","border-clip-right","border-clip-top","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-left","border-left-color","border-left-style","border-left-width","border-limit","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","clear","clip","clip-path","color-adjust","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-width","container","container-name","container-type","content","continue","copy-into","corner-shape","corners","counter-increment","counter-reset","cue","cue-after","cue-before","cx","cy","d","display","fill-break","fill-origin","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","float-defer","float-offset","float-reference","flood-color","flood-opacity","flow-from","flow-into","footnote-display","footnote-policy","gap","glyph-orientation-vertical","grid-auto-columns","grid-auto-rows","grid-column-gap","grid-gap","grid-row-gap","grid-template-columns","grid-template-rows","height","initial-letter","inline-sizing","input-security","isolation","justify-content","justify-items","justify-self","leading-trim","left","lighting-color","line-clamp","line-grid","margin","margin-bottom","margin-break","margin-left","margin-right","margin-top","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-image","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-height","max-lines","max-width","min-height","min-intrinsic-sizing","min-width","mix-blend-mode","nav-down","nav-left","nav-right","nav-up","object-fit","object-position","opacity","order","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-x","overflow-y","padding","padding-bottom","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","place-content","position","r","region-fragment","resize","rest","rest-after","rest-before","right","row-gap","rx","ry","scroll-snap-type","shape-image-threshold","shape-inside","shape-margin","shape-outside","shape-padding","shape-subtract","spatial-navigation-action","spatial-navigation-contain","spatial-navigation-function","stop-color","stop-opacity","string-set","stroke-break","stroke-origin","table-layout","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-group-align","text-overflow","text-space-trim","top","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","user-select","vector-effect","vertical-align","voice-duration","width","will-change","wrap-after","wrap-before","wrap-flow","wrap-inside","wrap-through","x","y","z-index"]),Wd=t=>{let e=Object.assign({preserve:!1},t);return{postcssPlugin:"postcss-unset-value",Declaration(r){if(r.value.toLowerCase()!=="unset")return;let n=!1;_q.has(r.prop.toLowerCase())?n="inherit":qq.has(r.prop.toLowerCase())&&(n="initial"),n&&(r.cloneBefore({prop:r.prop,value:n}),e.preserve||r.remove())}}};Wd.postcss=!0;var qk={"blank-pseudo-class":"https://github.com/csstools/postcss-plugins/blob/main/plugins/css-blank-pseudo/README.md#browser","focus-visible-pseudo-class":"https://github.com/WICG/focus-visible","focus-within-pseudo-class":"https://github.com/csstools/postcss-plugins/blob/main/plugins/postcss-focus-within/README.md#browser","has-pseudo-class":"https://github.com/csstools/postcss-plugins/blob/main/plugins/css-has-pseudo/README.md#browser","prefers-color-scheme-query":"https://github.com/csstools/postcss-plugins/blob/main/plugins/css-prefers-color-scheme/README.md#browser"},Vq=["blank-pseudo-class","focus-visible-pseudo-class","focus-within-pseudo-class","has-pseudo-class","prefers-color-scheme-query"];function Uq(t,e,r){if(e.debug){r.log("Enabling the following feature(s):");let n=[],s=[];e.autoprefixer!==!1&&s.push(" autoprefixer"),t.forEach(o=>{o.id.startsWith("before")||o.id.startsWith("after")?s.push(` ${o.id} (injected via options)`):s.push(` ${o.id}`),qk[o.id]!==void 0&&n.push(o.id)}),s.sort((o,i)=>o.localeCompare(i)),n.sort((o,i)=>o.localeCompare(i)),s.forEach(o=>r.log(o)),n.length&&(r.log("These feature(s) need a browser library to work:"),n.forEach(o=>r.log(` ${o}: ${qk[o]}`)))}}function Wq(t){if("preserve"in t){let e={};return e.preserve=t.preserve,e}return!1}function Iu(t,e,r){return Math.max(t,Math.min(e,r))}var Gq=2,Ou=5;function Hq(t,e){let r=Gq;if(t.stage===void 0)return e.log(`Using features from Stage ${r} (default)`),r;if(t.stage===!1)r=Ou;else{let n=parseInt(t.stage,10);Number.isNaN(n)&&(n=0),r=Iu(0,n,Ou)}return r===Ou?e.log('Stage has been disabled, features will be handled via the "features" option.'):e.log(`Using features from Stage ${r}`),r}var wn=Symbol("insertBefore"),bn=Symbol("insertAfter"),zd=Symbol("insertOrder"),Yk=Symbol("plugin");function Vk(t,e,r){if(r!=="insertBefore"&&r!=="insertAfter")return[];let n=r==="insertBefore"?wn:bn,s=[];for(let o in e){if(!Object.hasOwnProperty.call(e,o)||!t.find(a=>a.id===o))continue;let i=e[o];Array.isArray(i)||(i=[i]);for(let a=0;a<i.length;a++)s.push({id:o,[Yk]:i[a],[zd]:a,[n]:!0})}return s}var Uk=["custom-media-queries","environment-variables","image-set-function","media-query-ranges","media-queries-aspect-ratio-number-values","prefers-color-scheme-query","nesting-rules","custom-selectors","any-link-pseudo-class","case-insensitive-attributes","focus-visible-pseudo-class","focus-within-pseudo-class","not-pseudo-class","logical-properties-and-values","float-clear-logical-values","logical-overflow","logical-overscroll-behavior","logical-resize","logical-viewport-units","dir-pseudo-class","all-property","gradients-interpolation-method","color-mix","relative-color-syntax","lab-function","oklab-function","color-function","hwb-function","color-functional-notation","rebeccapurple-color","hexadecimal-alpha-notation","light-dark-function","double-position-gradients","blank-pseudo-class","break-properties","font-variant-property","is-pseudo-class","scope-pseudo-class","has-pseudo-class","gap-properties","overflow-property","overflow-wrap-property","place-properties","system-ui-font-family","font-format-keywords","display-two-values","ic-unit","opacity-percentage","text-decoration-shorthand","unset-value","stepped-value-functions","trigonometric-functions","exponential-functions","clamp","nested-calc","custom-properties","cascade-layers","progressive-custom-properties","gamut-mapping"];function zq(t,e){return t.id===e.id?t[wn]&&e[wn]||t[bn]&&e[bn]?Iu(-1,t[zd]-e[zd],1):t[wn]||e[bn]?-1:t[bn]||e[wn]?1:0:Iu(-1,Uk.indexOf(t.id)-Uk.indexOf(e.id),1)}function Xk(){return{postcssPlugin:"postcss-system-ui-font",Declaration(t){jq.test(t.prop)&&(t.value.includes($k)||(t.value=t.value.replace(Qq,Jq)))}}}Xk.postcss=!0;var jq=/(?:^(?:-|\\002d){2})|(?:^font(?:-family)?$)/i,Eu="[\\f\\n\\r\\x09\\x20]",Zk=["system-ui","-apple-system","Segoe UI","Roboto","Ubuntu","Cantarell","Noto Sans","sans-serif"],$k=Zk.join(", "),Qq=new RegExp(`(^|,|${Eu}+)(?:system-ui${Eu}*)(?:,${Eu}*(?:${Zk.join("|")})${Eu}*)?(,|$)`,"i"),Jq=`$1${$k}$2`,e4=new Map([["all-property",bc],["any-link-pseudo-class",mp],["blank-pseudo-class",yp],["break-properties",zk.default],["cascade-layers",xp],["case-insensitive-attributes",kp],["clamp",jk.default],["color-function",af],["color-functional-notation",uf],["color-mix",cf],["custom-media-queries",yf],["custom-properties",Df],["custom-selectors",xf],["dir-pseudo-class",Sf],["display-two-values",kf],["double-position-gradients",Nf],["exponential-functions",Ef],["float-clear-logical-values",Of],["focus-visible-pseudo-class",Lf],["focus-within-pseudo-class",Mf],["font-format-keywords",qf],["font-variant-property",Qk.default],["gamut-mapping",Uf],["gap-properties",Wf],["gradients-interpolation-method",zf],["has-pseudo-class",Qf],["hexadecimal-alpha-notation",Jf],["hwb-function",Yf],["ic-unit",$f],["image-set-function",ed],["is-pseudo-class",td],["lab-function",nd],["light-dark-function",ad],["logical-overflow",ld],["logical-overscroll-behavior",ud],["logical-properties-and-values",cd],["logical-resize",pd],["logical-viewport-units",fd],["media-queries-aspect-ratio-number-values",hd],["media-query-ranges",vd],["nested-calc",yd],["nesting-rules",Sd],["not-pseudo-class",Pd],["oklab-function",Nd],["opacity-percentage",Jk.default],["overflow-property",Od],["overflow-wrap-property",Kk.default],["place-properties",Id],["prefers-color-scheme-query",Ld],["progressive-custom-properties",Ee],["rebeccapurple-color",Rd],["relative-color-syntax",Md],["scope-pseudo-class",_d],["stepped-value-functions",qd],["system-ui-font-family",Xk],["text-decoration-shorthand",Vd],["trigonometric-functions",Ud],["unset-value",Wd]]);function Kq(t){return!!t[wn]||!!t[bn]||!!e4.has(t.id)}function Yq(t,e,r){return t.concat(Vk(t,e,"insertBefore"),Vk(t,r,"insertAfter")).filter(n=>Kq(n)).sort((n,s)=>zq(n,s))}var t4=["and_chr","and_ff","android","chrome","edge","firefox","ie","ios_saf","op_mini","op_mob","opera","safari","samsung"];function r4(t){if(!t)return[];if(!("browser_support"in t))return["> 0%"];let e=[];return t4.forEach(r=>{if(r==="op_mini"&&t.browser_support[r]===void 0)return void e.push("op_mini all");let n=t.browser_support[r];typeof n=="string"&&Xq.test(n)?e.push(`${r} < ${t.browser_support[r]}`):e.push(`${r} >= 1`)}),e}var Xq=/^[0-9|.]+$/;function Zq(t,e,r,n,s){switch(e.id){case"is-pseudo-class":return{onComplexSelector:"warning"};case"nesting-rules":return $q(r.find(o=>o.id==="is-pseudo-class"),t)?(s.log('Disabling :is on "nesting-rules" due to lack of browser support.'),{noIsPseudoSelector:!0}):{};case"any-link-pseudo-class":return t.find(o=>o.startsWith("ie ")||o.startsWith("edge "))?(s.log('Adding area[href] fallbacks for ":any-link" support in Edge and IE.'),{subFeatures:{areaHrefNeedsFixing:!0}}):{};case"logical-properties-and-values":case"float-clear-logical-values":case"logical-resize":case"logical-viewport-units":case"logical-overflow":case"logical-overscroll-behavior":return"logical"in n?n.logical:{};default:return{}}}function $q(t,e){let r=r4(t),n=(0,Tu.default)(r,{ignoreUnknownVersions:!0});return!!e.some(s=>n.some(o=>o===s))}function eV(t){let e=r4(t);if(t[wn]||t[bn]){let r=t.id;return r=t.insertBefore?`before-${r}`:`after-${r}`,{browsers:e,vendors_implementations:t.vendors_implementations,plugin:t[Yk],id:r,stage:Ou+1}}return{browsers:e,vendors_implementations:t.vendors_implementations,plugin:e4.get(t.id),id:t.id,stage:t.stage}}function tV(t,e,r,n,s,o,i){let a,l;return a=Zq(e,n,t,o,i),a=s?Object.assign({},a,s,Wk(r,n.id)):Object.assign({},a,Wk(r,n.id)),n.id!=="progressive-custom-properties"&&(a.enableProgressiveCustomProperties=!1),n.id==="overflow-wrap-property"&&"preserve"in a&&(a.method=a.preserve?"copy":"replace"),l=n.plugin.postcss&&typeof n.plugin=="function"?n.plugin(a):n.plugin&&n.plugin.default&&typeof n.plugin.default=="function"&&n.plugin.default.postcss?n.plugin.default(a):n.plugin,{browsers:n.browsers,vendors_implementations:n.vendors_implementations,plugin:l,pluginOptions:a,id:n.id}}function Wk(t,e){if(!(e in t))return;let r=t[e];return Array.isArray(r)?r[1]:r}function rV(t){let e=parseInt(t,10);return Number.isNaN(e)?0:e}var Gd=new Set(["progressive-custom-properties"]);function nV(t,e,r,n){let s=Object(e.features),o="enableClientSidePolyfills"in e&&e.enableClientSidePolyfills,i=Object(e.insertBefore),a=Object(e.insertAfter),l=e.browsers?void 0:e.env,u=e.browsers,c=Iu(0,rV(e.minimumVendorImplementations),3);c>0&&n.log(`Using features with ${c} or more vendor implementations`);let B=Hq(e,n),h=Yq([...t,{id:"progressive-custom-properties"}],i,a).map(v=>eV(v)).filter(v=>!!Gd.has(v.id)||c===0||!(!v[wn]&&!v[bn])||c<=v.vendors_implementations||(Hd(s,v.id)===!0?(n.log(` ${v.id} does not meet the required vendor implementations but has been enabled by options`),!0):(n.log(` ${v.id} with ${v.vendors_implementations} vendor implementations has been disabled`),!1))),g=(0,Tu.default)(u,{env:l,ignoreUnknownVersions:!0}).filter(v=>t4.includes(v.split(" ")[0]));return h.filter(v=>{if(Gd.has(v.id))return!0;let w=v.stage>=B,y=o||!Vq.includes(v.id),P=Hd(s,v.id),O=P===!1,E=P===!0||w&&y;return O?n.log(` ${v.id} has been disabled by options`):w?y||n.log(` ${v.id} has been disabled by "enableClientSidePolyfills: false".`):E?n.log(` ${v.id} does not meet the required stage but has been enabled by options`):n.log(` ${v.id} with stage ${v.stage} has been disabled`),!O&&E}).map(v=>tV(t,g,s,v,r,e,n)).filter(v=>{if(Gd.has(v.id))return!0;let w=Hd(s,v.id);if(w===!0||w===!1)return w;let y=(0,Tu.default)(v.browsers,{ignoreUnknownVersions:!0}),P=g.some(O=>y.some(E=>E===O));return P||n.log(`${v.id} disabled due to browser support`),P})}function Hd(t,e){if(!(e in t))return"auto";let r=t[e];return Array.isArray(r)?r[0]===!0||r[0]!==!1&&"auto":!!r}var jd=class{constructor(){this.logs=[]}log(e){this.logs.push(e)}resetLogger(){this.logs.length=0}emitLogs(e){e&&e.warn(this.logs.join(`
|
|
332
332
|
`)),this.resetLogger()}},Qd=[{packageName:"css-blank-pseudo",id:"blank-pseudo-class",importName:"postcssBlankPseudo"},{packageName:"css-has-pseudo",id:"has-pseudo-class",importName:"postcssHasPseudo"},{packageName:"css-prefers-color-scheme",id:"prefers-color-scheme-query",importName:"postcssPrefersColorScheme"},{packageName:"postcss-attribute-case-insensitive",id:"case-insensitive-attributes",importName:"postcssAttributeCaseInsensitive"},{packageName:"postcss-clamp",id:"clamp",importName:"postcssClamp"},{packageName:"@csstools/postcss-color-mix-function",id:"color-mix",importName:"postcssColorMixFunction"},{packageName:"@csstools/postcss-color-function",id:"color-function",importName:"postcssColorFunction"},{packageName:"postcss-color-functional-notation",id:"color-functional-notation",importName:"postcssColorFunctionalNotation"},{packageName:"postcss-color-hex-alpha",id:"hexadecimal-alpha-notation",importName:"postcssColorHexAlpha"},{packageName:"postcss-color-rebeccapurple",id:"rebeccapurple-color",importName:"postcssColorRebeccapurple"},{packageName:"postcss-custom-media",id:"custom-media-queries",importName:"postcssCustomMedia"},{packageName:"postcss-custom-properties",id:"custom-properties",importName:"postcssCustomProperties"},{packageName:"postcss-custom-selectors",id:"custom-selectors",importName:"postcssCustomSelectors"},{packageName:"postcss-dir-pseudo-class",id:"dir-pseudo-class",importName:"postcssDirPseudoClass"},{packageName:"postcss-double-position-gradients",id:"double-position-gradients",importName:"postcssDoublePositionGradients"},{packageName:"@csstools/postcss-exponential-functions",id:"exponential-functions",importName:"postcssExponentialFunctions"},{packageName:"postcss-focus-visible",id:"focus-visible-pseudo-class",importName:"postcssFocusVisible"},{packageName:"postcss-focus-within",id:"focus-within-pseudo-class",importName:"postcssFocusWithin"},{packageName:"@csstools/postcss-font-format-keywords",id:"font-format-keywords",importName:"postcssFontFormatKeywords"},{packageName:"postcss-font-variant",id:"font-variant-property",importName:"postcssFontVariant"},{packageName:"@csstools/postcss-gamut-mapping",id:"gamut-mapping",importName:"postcssGamutMapping"},{packageName:"postcss-gap-properties",id:"gap-properties",importName:"postcssGapProperties"},{packageName:"@csstools/postcss-gradients-interpolation-method",id:"gradients-interpolation-method",importName:"postcssGradientsInterpolationMethod"},{packageName:"@csstools/postcss-hwb-function",id:"hwb-function",importName:"postcssHWBFunction"},{packageName:"@csstools/postcss-ic-unit",id:"ic-unit",importName:"postcssICUnit"},{packageName:"postcss-image-set-function",id:"image-set-function",importName:"postcssImageSetFunction"},{packageName:"@csstools/postcss-initial",id:"all-property",importName:"postcssInitial"},{packageName:"@csstools/postcss-is-pseudo-class",id:"is-pseudo-class",importName:"postcssIsPseudoClass"},{packageName:"@csstools/postcss-scope-pseudo-class",id:"scope-pseudo-class",importName:"postcssScopePseudoClass"},{packageName:"postcss-lab-function",id:"lab-function",importName:"postcssLabFunction"},{packageName:"@csstools/postcss-light-dark-function",id:"light-dark-function",importName:"postcssLightDarkFunction"},{packageName:"postcss-logical",id:"logical-properties-and-values",importName:"postcssLogical"},{packageName:"@csstools/postcss-logical-float-and-clear",id:"float-clear-logical-values",importName:"postcssLogicalFloatAndClear"},{packageName:"@csstools/postcss-logical-overflow",id:"logical-overflow",importName:"postcssLogicalOverflow"},{packageName:"@csstools/postcss-logical-overscroll-behavior",id:"logical-overscroll-behavior",importName:"postcssLogicalOverscrollBehavor"},{packageName:"@csstools/postcss-logical-resize",id:"logical-resize",importName:"postcssLogicalResize"},{packageName:"@csstools/postcss-logical-viewport-units",id:"logical-viewport-units",importName:"postcssLogicalViewportUnits"},{packageName:"@csstools/postcss-media-minmax",id:"media-query-ranges",importName:"postcssMediaMinmax"},{packageName:"@csstools/postcss-media-queries-aspect-ratio-number-values",id:"media-queries-aspect-ratio-number-values",importName:"postcssMediaQueriesAspectRatioNumberValues"},{packageName:"postcss-nesting",id:"nesting-rules",importName:"postcssNesting"},{packageName:"@csstools/postcss-normalize-display-values",id:"display-two-values",importName:"postcssNormalizeDisplayValues"},{packageName:"@csstools/postcss-oklab-function",id:"oklab-function",importName:"postcssOKLabFunction"},{packageName:"@csstools/postcss-relative-color-syntax",id:"relative-color-syntax",importName:"postcssRelativeColorSyntax"},{packageName:"postcss-opacity-percentage",id:"opacity-percentage",importName:"postcssOpacityPercentage"},{packageName:"postcss-overflow-shorthand",id:"overflow-property",importName:"postcssOverflowShorthand"},{packageName:"postcss-page-break",id:"break-properties",importName:"postcssPageBreak"},{packageName:"postcss-place",id:"place-properties",importName:"postcssPlace"},{packageName:"postcss-pseudo-class-any-link",id:"any-link-pseudo-class",importName:"postcssPseudoClassAnyLink"},{packageName:"postcss-replace-overflow-wrap",id:"overflow-wrap-property",importName:"postcssReplaceOverflowWrap"},{packageName:"postcss-selector-not",id:"not-pseudo-class",importName:"postcssSelectorNot"},{packageName:"@csstools/postcss-stepped-value-functions",id:"stepped-value-functions",importName:"postcssSteppedValueFunctions"},{packageName:"postcss-system-ui-font-family",importedPackage:"../patch/postcss-system-ui-font-family.mjs",id:"system-ui-font-family",importName:"postcssFontFamilySystemUI"},{packageName:"@csstools/postcss-unset-value",id:"unset-value",importName:"postcssUnsetValue"},{packageName:"@csstools/postcss-cascade-layers",id:"cascade-layers",importName:"postcssCascadeLayers"},{packageName:"@csstools/postcss-trigonometric-functions",id:"trigonometric-functions",importName:"postcssTrigonometricFunctions"},{packageName:"@csstools/postcss-nested-calc",id:"nested-calc",importName:"postcssNestedCalc"},{packageName:"@csstools/postcss-text-decoration-shorthand",id:"text-decoration-shorthand",importName:"postcssTextDecorationShorthand"},{packageName:"@csstools/postcss-progressive-custom-properties",id:"progressive-custom-properties",importName:"postcssProgressiveCustomProperties",omitTypedOptions:!0,omitDocs:!0}];function sV(){let t={};return Qd.forEach(e=>{t[e.packageName]=e.id}),t}function iV(t,e,r){let n=Qd.map(i=>i.id),s=Qd.map(i=>i.packageName),o=sV();t.forEach(i=>{if(n.includes(i))return;let a=[...n.map(c=>[c,Gk(i,c)]),...s.map(c=>[o[c],Gk(i,c)])].sort((c,B)=>c[1]-B[1]).filter(c=>c[1]<10),l=new Set;for(let c=0;c<a.length&&(l.add(a[c][0]),!(l.size>=3));c++);if(!l.size)return void e.warn(r,`Unknown feature: "${i}", see the list of features https://github.com/csstools/postcss-plugins/blob/main/plugin-packs/postcss-preset-env/FEATURES.md`);let u='"';u+=Array.from(l).join('", "'),u+='"',e.warn(r,`Unknown feature: "${i}", did you mean one of: ${u}`)})}function Gk(t,e){if(!t.length)return e.length;if(!e.length)return t.length;let r=[];for(let n=0;n<=e.length;n++){r[n]=[n];for(let s=1;s<=t.length;s++)r[n][s]=n===0?s:Math.min(r[n-1][s]+1,r[n][s-1]+1,r[n-1][s-1]+(t[s-1]===e[n-1]?0:1))}return r[e.length][t.length]}var Jd=t=>{let e=new jd,r=Object(t),n=Object.keys(Object(r.features)),s=r.browsers?void 0:r.env,o=r.browsers,i=Wq(r),a=nV(I2,r,i,e),l=a.map(c=>c.plugin);r.autoprefixer!==!1&&l.push((0,Hk.default)(Object.assign({env:s,overrideBrowserslist:o},r.autoprefixer))),Uq(a,r,e);let u=()=>({postcssPlugin:"postcss-preset-env",OnceExit(c,{result:B}){iV(n,c,B),r.debug&&e.emitLogs(B),e.resetLogger()}});return u.postcss=!0,{postcssPlugin:"postcss-preset-env",plugins:[...l,u()]}};Jd.postcss=!0;return zr(oV);})();
|
|
333
333
|
/*! Bundled license information:
|
|
334
334
|
|