@live-codes/browser-compilers 0.5.11 → 0.5.13
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/cssnano/cssnano.js +284 -0
- package/dist/eslint/eslint.js +48 -48
- package/dist/purgecss/purgecss.js +59 -0
- package/dist/sass/sass.js +3 -3
- package/dist/tokencss/tokencss.js +27 -27
- package/package.json +4 -1
- package/patches/rollup-plugin-node-polyfills+0.2.1.patch +24 -0
- package/scripts/vendors.js +20 -0
- package/vendor_modules/imports/cssnano.js +3 -0
- package/vendor_modules/imports/purgecss.js +3 -0
- package/vendor_modules/imports/tokencss.js +3 -2
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
var purgecss=(()=>{var Ah=Object.create,Mr=Object.defineProperty,Oh=Object.getPrototypeOf,Th=Object.prototype.hasOwnProperty,kh=Object.getOwnPropertyNames,Ih=Object.getOwnPropertyDescriptor;var Ph=r=>Mr(r,"__esModule",{value:!0});var ee=(r,e)=>()=>(r&&(e=r(r=0)),e),S=(r,e)=>()=>(e||r((e={exports:{}}).exports,e),e.exports),Ze=(r,e)=>{for(var t in e)Mr(r,t,{get:e[t],enumerable:!0})},Rh=(r,e,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of kh(e))!Th.call(r,i)&&i!=="default"&&Mr(r,i,{get:()=>e[i],enumerable:!(t=Ih(e,i))||t.enumerable});return r},an=r=>Rh(Ph(Mr(r!=null?Ah(Oh(r)):{},"default",r&&r.__esModule&&"default"in r?{get:()=>r.default,enumerable:!0}:{value:r,enumerable:!0})),r);function Ho(){throw new Error("setTimeout has not been defined")}function Jo(){throw new Error("clearTimeout has not been defined")}function Ko(r){if(qe===setTimeout)return setTimeout(r,0);if((qe===Ho||!qe)&&setTimeout)return qe=setTimeout,setTimeout(r,0);try{return qe(r,0)}catch(e){try{return qe.call(null,r,0)}catch(t){return qe.call(this,r,0)}}}function Ch(r){if(Me===clearTimeout)return clearTimeout(r);if((Me===Jo||!Me)&&clearTimeout)return Me=clearTimeout,clearTimeout(r);try{return Me(r)}catch(e){try{return Me.call(null,r)}catch(t){return Me.call(this,r)}}}function Dh(){!bt||!Xe||(bt=!1,Xe.length?Te=Xe.concat(Te):Ur=-1,Te.length&&Zo())}function Zo(){if(!bt){var r=Ko(Dh);bt=!0;for(var e=Te.length;e;){for(Xe=Te,Te=[];++Ur<e;)Xe&&Xe[Ur].run();Ur=-1,e=Te.length}Xe=null,bt=!1,Ch(r)}}function Fh(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];Te.push(new Xo(r,e)),Te.length===1&&!bt&&Ko(Zo)}function Xo(r,e){this.fun=r,this.array=e}function et(){}function Kh(r){throw new Error("process.binding is not supported")}function Zh(){return"/"}function Xh(r){throw new Error("process.chdir is not supported")}function ep(){return 0}function rp(r){var e=tp.call(At)*.001,t=Math.floor(e),i=Math.floor(e%1*1e9);return r&&(t=t-r[0],i=i-r[1],i<0&&(t--,i+=1e9)),[t,i]}function np(){var r=new Date,e=r-ip;return e/1e3}var qe,Me,Te,bt,Xe,Ur,Lh,qh,Mh,Uh,Nh,Bh,jh,Yh,Wh,zh,Gh,Vh,Qh,$h,Hh,Jh,At,tp,ip,y,ea,p=ee(()=>{qe=Ho,Me=Jo;typeof window.setTimeout=="function"&&(qe=setTimeout);typeof window.clearTimeout=="function"&&(Me=clearTimeout);Te=[],bt=!1,Ur=-1;Xo.prototype.run=function(){this.fun.apply(null,this.array)};Lh="browser",qh="browser",Mh=!0,Uh={},Nh=[],Bh="",jh={},Yh={},Wh={};zh=et,Gh=et,Vh=et,Qh=et,$h=et,Hh=et,Jh=et;At=window.performance||{},tp=At.now||At.mozNow||At.msNow||At.oNow||At.webkitNow||function(){return new Date().getTime()};ip=new Date;y={nextTick:Fh,title:Lh,browser:Mh,env:Uh,argv:Nh,version:Bh,versions:jh,on:zh,addListener:Gh,once:Vh,off:Qh,removeListener:$h,removeAllListeners:Hh,emit:Jh,binding:Kh,cwd:Zh,chdir:Xh,umask:ep,hrtime:rp,platform:qh,release:Yh,config:Wh,uptime:np},ea={"env.NODE_ENV":"production"};Object.keys(ea).forEach(r=>{let e=r.split("."),t=y;for(let i=0;i<e.length;i++){let n=e[i];i===e.length-1?t[n]=ea[r]:t=t[n]||(t[n]={})}})});function ta(){un=!0;for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,t=r.length;e<t;++e)ve[e]=r[e],oe[r.charCodeAt(e)]=e;oe["-".charCodeAt(0)]=62,oe["_".charCodeAt(0)]=63}function op(r){un||ta();var e,t,i,n,o,s,a=r.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o=r[a-2]==="="?2:r[a-1]==="="?1:0,s=new sp(a*3/4-o),i=o>0?a-4:a;var u=0;for(e=0,t=0;e<i;e+=4,t+=3)n=oe[r.charCodeAt(e)]<<18|oe[r.charCodeAt(e+1)]<<12|oe[r.charCodeAt(e+2)]<<6|oe[r.charCodeAt(e+3)],s[u++]=n>>16&255,s[u++]=n>>8&255,s[u++]=n&255;return o===2?(n=oe[r.charCodeAt(e)]<<2|oe[r.charCodeAt(e+1)]>>4,s[u++]=n&255):o===1&&(n=oe[r.charCodeAt(e)]<<10|oe[r.charCodeAt(e+1)]<<4|oe[r.charCodeAt(e+2)]>>2,s[u++]=n>>8&255,s[u++]=n&255),s}function ap(r){return ve[r>>18&63]+ve[r>>12&63]+ve[r>>6&63]+ve[r&63]}function up(r,e,t){for(var i,n=[],o=e;o<t;o+=3)i=(r[o]<<16)+(r[o+1]<<8)+r[o+2],n.push(ap(i));return n.join("")}function ra(r){un||ta();for(var e,t=r.length,i=t%3,n="",o=[],s=16383,a=0,u=t-i;a<u;a+=s)o.push(up(r,a,a+s>u?u:a+s));return i===1?(e=r[t-1],n+=ve[e>>2],n+=ve[e<<4&63],n+="=="):i===2&&(e=(r[t-2]<<8)+r[t-1],n+=ve[e>>10],n+=ve[e>>4&63],n+=ve[e<<2&63],n+="="),o.push(n),o.join("")}function Nr(){return h.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function ke(r,e){if(Nr()<e)throw new RangeError("Invalid typed array length");return h.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(e),r.__proto__=h.prototype):(r===null&&(r=new h(e)),r.length=e),r}function h(r,e,t){if(!h.TYPED_ARRAY_SUPPORT&&!(this instanceof h))return new h(r,e,t);if(typeof r=="number"){if(typeof e=="string")throw new Error("If encoding is specified then the first argument must be a string");return fn(this,r)}return ia(this,r,e,t)}function ia(r,e,t,i){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&e instanceof ArrayBuffer?lp(r,e,t,i):typeof e=="string"?fp(r,e,t):cp(r,e)}function na(r){if(typeof r!="number")throw new TypeError('"size" argument must be a number');if(r<0)throw new RangeError('"size" argument must not be negative')}function hp(r,e,t,i){return na(e),e<=0?ke(r,e):t!==void 0?typeof i=="string"?ke(r,e).fill(t,i):ke(r,e).fill(t):ke(r,e)}function fn(r,e){if(na(e),r=ke(r,e<0?0:ln(e)|0),!h.TYPED_ARRAY_SUPPORT)for(var t=0;t<e;++t)r[t]=0;return r}function fp(r,e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!h.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var i=sa(e,t)|0;r=ke(r,i);var n=r.write(e,t);return n!==i&&(r=r.slice(0,n)),r}function cn(r,e){var t=e.length<0?0:ln(e.length)|0;r=ke(r,t);for(var i=0;i<t;i+=1)r[i]=e[i]&255;return r}function lp(r,e,t,i){if(e.byteLength,t<0||e.byteLength<t)throw new RangeError("'offset' is out of bounds");if(e.byteLength<t+(i||0))throw new RangeError("'length' is out of bounds");return t===void 0&&i===void 0?e=new Uint8Array(e):i===void 0?e=new Uint8Array(e,t):e=new Uint8Array(e,t,i),h.TYPED_ARRAY_SUPPORT?(r=e,r.__proto__=h.prototype):r=cn(r,e),r}function cp(r,e){if(ye(e)){var t=ln(e.length)|0;return r=ke(r,t),r.length===0||e.copy(r,0,0,t),r}if(e){if(typeof ArrayBuffer!="undefined"&&e.buffer instanceof ArrayBuffer||"length"in e)return typeof e.length!="number"||pp(e.length)?ke(r,0):cn(r,e);if(e.type==="Buffer"&&Array.isArray(e.data))return cn(r,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function ln(r){if(r>=Nr())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Nr().toString(16)+" bytes");return r|0}function ye(r){return!!(r!=null&&r._isBuffer)}function sa(r,e){if(ye(r))return r.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(r)||r instanceof ArrayBuffer))return r.byteLength;typeof r!="string"&&(r=""+r);var t=r.length;if(t===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":case void 0:return Br(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return oa(r).length;default:if(i)return Br(r).length;e=(""+e).toLowerCase(),i=!0}}function xp(r,e,t){var i=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return yp(this,e,t);case"utf8":case"utf-8":return aa(this,e,t);case"ascii":return gp(this,e,t);case"latin1":case"binary":return vp(this,e,t);case"base64":return mp(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return wp(this,e,t);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),i=!0}}function tt(r,e,t){var i=r[e];r[e]=r[t],r[t]=i}function fa(r,e,t,i,n){if(r.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=n?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(n)return-1;t=r.length-1}else if(t<0)if(n)t=0;else return-1;if(typeof e=="string"&&(e=h.from(e,i)),ye(e))return e.length===0?-1:ua(r,e,t,i,n);if(typeof e=="number")return e=e&255,h.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):ua(r,[e],t,i,n);throw new TypeError("val must be string, number or Buffer")}function ua(r,e,t,i,n){var o=1,s=r.length,a=e.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(r.length<2||e.length<2)return-1;o=2,s/=2,a/=2,t/=2}function u(m,v){return o===1?m[v]:m.readUInt16BE(v*o)}var f;if(n){var l=-1;for(f=t;f<s;f++)if(u(r,f)===u(e,l===-1?0:f-l)){if(l===-1&&(l=f),f-l+1===a)return l*o}else l!==-1&&(f-=f-l),l=-1}else for(t+a>s&&(t=s-a),f=t;f>=0;f--){for(var c=!0,g=0;g<a;g++)if(u(r,f+g)!==u(e,g)){c=!1;break}if(c)return f}return-1}function Ep(r,e,t,i){t=Number(t)||0;var n=r.length-t;i?(i=Number(i),i>n&&(i=n)):i=n;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");i>o/2&&(i=o/2);for(var s=0;s<i;++s){var a=parseInt(e.substr(s*2,2),16);if(isNaN(a))return s;r[t+s]=a}return s}function _p(r,e,t,i){return jr(Br(e,r.length-t),r,t,i)}function la(r,e,t,i){return jr(Sp(e),r,t,i)}function bp(r,e,t,i){return la(r,e,t,i)}function Ap(r,e,t,i){return jr(oa(e),r,t,i)}function Tp(r,e,t,i){return jr(Op(e,r.length-t),r,t,i)}function mp(r,e,t){return e===0&&t===r.length?ra(r):ra(r.slice(e,t))}function aa(r,e,t){t=Math.min(r.length,t);for(var i=[],n=e;n<t;){var o=r[n],s=null,a=o>239?4:o>223?3:o>191?2:1;if(n+a<=t){var u,f,l,c;switch(a){case 1:o<128&&(s=o);break;case 2:u=r[n+1],(u&192)==128&&(c=(o&31)<<6|u&63,c>127&&(s=c));break;case 3:u=r[n+1],f=r[n+2],(u&192)==128&&(f&192)==128&&(c=(o&15)<<12|(u&63)<<6|f&63,c>2047&&(c<55296||c>57343)&&(s=c));break;case 4:u=r[n+1],f=r[n+2],l=r[n+3],(u&192)==128&&(f&192)==128&&(l&192)==128&&(c=(o&15)<<18|(u&63)<<12|(f&63)<<6|l&63,c>65535&&c<1114112&&(s=c))}}s===null?(s=65533,a=1):s>65535&&(s-=65536,i.push(s>>>10&1023|55296),s=56320|s&1023),i.push(s),n+=a}return kp(i)}function kp(r){var e=r.length;if(e<=ca)return String.fromCharCode.apply(String,r);for(var t="",i=0;i<e;)t+=String.fromCharCode.apply(String,r.slice(i,i+=ca));return t}function gp(r,e,t){var i="";t=Math.min(r.length,t);for(var n=e;n<t;++n)i+=String.fromCharCode(r[n]&127);return i}function vp(r,e,t){var i="";t=Math.min(r.length,t);for(var n=e;n<t;++n)i+=String.fromCharCode(r[n]);return i}function yp(r,e,t){var i=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>i)&&(t=i);for(var n="",o=e;o<t;++o)n+=Ip(r[o]);return n}function wp(r,e,t){for(var i=r.slice(e,t),n="",o=0;o<i.length;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}function $(r,e,t){if(r%1!=0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}function te(r,e,t,i,n,o){if(!ye(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>n||e<o)throw new RangeError('"value" argument is out of bounds');if(t+i>r.length)throw new RangeError("Index out of range")}function Wr(r,e,t,i){e<0&&(e=65535+e+1);for(var n=0,o=Math.min(r.length-t,2);n<o;++n)r[t+n]=(e&255<<8*(i?n:1-n))>>>(i?n:1-n)*8}function zr(r,e,t,i){e<0&&(e=4294967295+e+1);for(var n=0,o=Math.min(r.length-t,4);n<o;++n)r[t+n]=e>>>(i?n:3-n)*8&255}function ha(r,e,t,i,n,o){if(t+i>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function da(r,e,t,i,n){return n||ha(r,e,t,4,34028234663852886e22,-34028234663852886e22),pa(r,e,t,i,23,4),t+4}function ma(r,e,t,i,n){return n||ha(r,e,t,8,17976931348623157e292,-17976931348623157e292),pa(r,e,t,i,52,8),t+8}function Cp(r){if(r=Rp(r).replace(Pp,""),r.length<2)return"";for(;r.length%4!=0;)r=r+"=";return r}function Rp(r){return r.trim?r.trim():r.replace(/^\s+|\s+$/g,"")}function Ip(r){return r<16?"0"+r.toString(16):r.toString(16)}function Br(r,e){e=e||Infinity;for(var t,i=r.length,n=null,o=[],s=0;s<i;++s){if(t=r.charCodeAt(s),t>55295&&t<57344){if(!n){if(t>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(s+1===i){(e-=3)>-1&&o.push(239,191,189);continue}n=t;continue}if(t<56320){(e-=3)>-1&&o.push(239,191,189),n=t;continue}t=(n-55296<<10|t-56320)+65536}else n&&(e-=3)>-1&&o.push(239,191,189);if(n=null,t<128){if((e-=1)<0)break;o.push(t)}else if(t<2048){if((e-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function Sp(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function Op(r,e){for(var t,i,n,o=[],s=0;s<r.length&&!((e-=2)<0);++s)t=r.charCodeAt(s),i=t>>8,n=t%256,o.push(n),o.push(i);return o}function oa(r){return op(Cp(r))}function jr(r,e,t,i){for(var n=0;n<i&&!(n+t>=e.length||n>=r.length);++n)e[n+t]=r[n];return n}function pp(r){return r!==r}function dp(r){return r!=null&&(!!r._isBuffer||ga(r)||Dp(r))}function ga(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}function Dp(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&ga(r.slice(0,0))}function Yr(r,e,t,i,n){var o,s,a=n*8-i-1,u=(1<<a)-1,f=u>>1,l=-7,c=t?n-1:0,g=t?-1:1,m=r[e+c];for(c+=g,o=m&(1<<-l)-1,m>>=-l,l+=a;l>0;o=o*256+r[e+c],c+=g,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=i;l>0;s=s*256+r[e+c],c+=g,l-=8);if(o===0)o=1-f;else{if(o===u)return s?NaN:(m?-1:1)*Infinity;s=s+Math.pow(2,i),o=o-f}return(m?-1:1)*s*Math.pow(2,o-i)}function pa(r,e,t,i,n,o){var s,a,u,f=o*8-n-1,l=(1<<f)-1,c=l>>1,g=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:o-1,v=i?1:-1,k=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===Infinity?(a=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+c>=1?e+=g/u:e+=g*Math.pow(2,1-c),e*u>=2&&(s++,u/=2),s+c>=l?(a=0,s=l):s+c>=1?(a=(e*u-1)*Math.pow(2,n),s=s+c):(a=e*Math.pow(2,c-1)*Math.pow(2,n),s=0));n>=8;r[t+m]=a&255,m+=v,a/=256,n-=8);for(s=s<<n|a,f+=n;f>0;r[t+m]=s&255,m+=v,s/=256,f-=8);r[t+m-v]|=k*128}var ve,oe,sp,un,ca,Pp,va=ee(()=>{p();d();ve=[],oe=[],sp=typeof Uint8Array!="undefined"?Uint8Array:Array,un=!1;h.TYPED_ARRAY_SUPPORT=window.TYPED_ARRAY_SUPPORT!==void 0?window.TYPED_ARRAY_SUPPORT:!0;h.poolSize=8192;h._augment=function(r){return r.__proto__=h.prototype,r};h.from=function(r,e,t){return ia(null,r,e,t)};h.kMaxLength=Nr();h.TYPED_ARRAY_SUPPORT&&(h.prototype.__proto__=Uint8Array.prototype,h.__proto__=Uint8Array,typeof Symbol!="undefined"&&Symbol.species&&h[Symbol.species]===h);h.alloc=function(r,e,t){return hp(null,r,e,t)};h.allocUnsafe=function(r){return fn(null,r)};h.allocUnsafeSlow=function(r){return fn(null,r)};h.isBuffer=dp;h.compare=function(e,t){if(!ye(e)||!ye(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var i=e.length,n=t.length,o=0,s=Math.min(i,n);o<s;++o)if(e[o]!==t[o]){i=e[o],n=t[o];break}return i<n?-1:n<i?1:0};h.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};h.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return h.alloc(0);var i;if(t===void 0)for(t=0,i=0;i<e.length;++i)t+=e[i].length;var n=h.allocUnsafe(t),o=0;for(i=0;i<e.length;++i){var s=e[i];if(!ye(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(n,o),o+=s.length}return n};h.byteLength=sa;h.prototype._isBuffer=!0;h.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)tt(this,t,t+1);return this};h.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)tt(this,t,t+3),tt(this,t+1,t+2);return this};h.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)tt(this,t,t+7),tt(this,t+1,t+6),tt(this,t+2,t+5),tt(this,t+3,t+4);return this};h.prototype.toString=function(){var e=this.length|0;return e===0?"":arguments.length===0?aa(this,0,e):xp.apply(this,arguments)};h.prototype.equals=function(e){if(!ye(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:h.compare(this,e)===0};h.prototype.compare=function(e,t,i,n,o){if(!ye(e))throw new TypeError("Argument must be a Buffer");if(t===void 0&&(t=0),i===void 0&&(i=e?e.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||i>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var s=o-n,a=i-t,u=Math.min(s,a),f=this.slice(n,o),l=e.slice(t,i),c=0;c<u;++c)if(f[c]!==l[c]){s=f[c],a=l[c];break}return s<a?-1:a<s?1:0};h.prototype.includes=function(e,t,i){return this.indexOf(e,t,i)!==-1};h.prototype.indexOf=function(e,t,i){return fa(this,e,t,i,!0)};h.prototype.lastIndexOf=function(e,t,i){return fa(this,e,t,i,!1)};h.prototype.write=function(e,t,i,n){if(t===void 0)n="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")n=t,i=this.length,t=0;else if(isFinite(t))t=t|0,isFinite(i)?(i=i|0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((i===void 0||i>o)&&(i=o),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var s=!1;;)switch(n){case"hex":return Ep(this,e,t,i);case"utf8":case"utf-8":return _p(this,e,t,i);case"ascii":return la(this,e,t,i);case"latin1":case"binary":return bp(this,e,t,i);case"base64":return Ap(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Tp(this,e,t,i);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}};h.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};ca=4096;h.prototype.slice=function(e,t){var i=this.length;e=~~e,t=t===void 0?i:~~t,e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<e&&(t=e);var n;if(h.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=h.prototype;else{var o=t-e;n=new h(o,void 0);for(var s=0;s<o;++s)n[s]=this[s+e]}return n};h.prototype.readUIntLE=function(e,t,i){e=e|0,t=t|0,i||$(e,t,this.length);for(var n=this[e],o=1,s=0;++s<t&&(o*=256);)n+=this[e+s]*o;return n};h.prototype.readUIntBE=function(e,t,i){e=e|0,t=t|0,i||$(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n};h.prototype.readUInt8=function(e,t){return t||$(e,1,this.length),this[e]};h.prototype.readUInt16LE=function(e,t){return t||$(e,2,this.length),this[e]|this[e+1]<<8};h.prototype.readUInt16BE=function(e,t){return t||$(e,2,this.length),this[e]<<8|this[e+1]};h.prototype.readUInt32LE=function(e,t){return t||$(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};h.prototype.readUInt32BE=function(e,t){return t||$(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};h.prototype.readIntLE=function(e,t,i){e=e|0,t=t|0,i||$(e,t,this.length);for(var n=this[e],o=1,s=0;++s<t&&(o*=256);)n+=this[e+s]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n};h.prototype.readIntBE=function(e,t,i){e=e|0,t=t|0,i||$(e,t,this.length);for(var n=t,o=1,s=this[e+--n];n>0&&(o*=256);)s+=this[e+--n]*o;return o*=128,s>=o&&(s-=Math.pow(2,8*t)),s};h.prototype.readInt8=function(e,t){return t||$(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};h.prototype.readInt16LE=function(e,t){t||$(e,2,this.length);var i=this[e]|this[e+1]<<8;return i&32768?i|4294901760:i};h.prototype.readInt16BE=function(e,t){t||$(e,2,this.length);var i=this[e+1]|this[e]<<8;return i&32768?i|4294901760:i};h.prototype.readInt32LE=function(e,t){return t||$(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};h.prototype.readInt32BE=function(e,t){return t||$(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};h.prototype.readFloatLE=function(e,t){return t||$(e,4,this.length),Yr(this,e,!0,23,4)};h.prototype.readFloatBE=function(e,t){return t||$(e,4,this.length),Yr(this,e,!1,23,4)};h.prototype.readDoubleLE=function(e,t){return t||$(e,8,this.length),Yr(this,e,!0,52,8)};h.prototype.readDoubleBE=function(e,t){return t||$(e,8,this.length),Yr(this,e,!1,52,8)};h.prototype.writeUIntLE=function(e,t,i,n){if(e=+e,t=t|0,i=i|0,!n){var o=Math.pow(2,8*i)-1;te(this,e,t,i,o,0)}var s=1,a=0;for(this[t]=e&255;++a<i&&(s*=256);)this[t+a]=e/s&255;return t+i};h.prototype.writeUIntBE=function(e,t,i,n){if(e=+e,t=t|0,i=i|0,!n){var o=Math.pow(2,8*i)-1;te(this,e,t,i,o,0)}var s=i-1,a=1;for(this[t+s]=e&255;--s>=0&&(a*=256);)this[t+s]=e/a&255;return t+i};h.prototype.writeUInt8=function(e,t,i){return e=+e,t=t|0,i||te(this,e,t,1,255,0),h.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=e&255,t+1};h.prototype.writeUInt16LE=function(e,t,i){return e=+e,t=t|0,i||te(this,e,t,2,65535,0),h.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):Wr(this,e,t,!0),t+2};h.prototype.writeUInt16BE=function(e,t,i){return e=+e,t=t|0,i||te(this,e,t,2,65535,0),h.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):Wr(this,e,t,!1),t+2};h.prototype.writeUInt32LE=function(e,t,i){return e=+e,t=t|0,i||te(this,e,t,4,4294967295,0),h.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255):zr(this,e,t,!0),t+4};h.prototype.writeUInt32BE=function(e,t,i){return e=+e,t=t|0,i||te(this,e,t,4,4294967295,0),h.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):zr(this,e,t,!1),t+4};h.prototype.writeIntLE=function(e,t,i,n){if(e=+e,t=t|0,!n){var o=Math.pow(2,8*i-1);te(this,e,t,i,o-1,-o)}var s=0,a=1,u=0;for(this[t]=e&255;++s<i&&(a*=256);)e<0&&u===0&&this[t+s-1]!==0&&(u=1),this[t+s]=(e/a>>0)-u&255;return t+i};h.prototype.writeIntBE=function(e,t,i,n){if(e=+e,t=t|0,!n){var o=Math.pow(2,8*i-1);te(this,e,t,i,o-1,-o)}var s=i-1,a=1,u=0;for(this[t+s]=e&255;--s>=0&&(a*=256);)e<0&&u===0&&this[t+s+1]!==0&&(u=1),this[t+s]=(e/a>>0)-u&255;return t+i};h.prototype.writeInt8=function(e,t,i){return e=+e,t=t|0,i||te(this,e,t,1,127,-128),h.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=e&255,t+1};h.prototype.writeInt16LE=function(e,t,i){return e=+e,t=t|0,i||te(this,e,t,2,32767,-32768),h.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):Wr(this,e,t,!0),t+2};h.prototype.writeInt16BE=function(e,t,i){return e=+e,t=t|0,i||te(this,e,t,2,32767,-32768),h.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):Wr(this,e,t,!1),t+2};h.prototype.writeInt32LE=function(e,t,i){return e=+e,t=t|0,i||te(this,e,t,4,2147483647,-2147483648),h.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):zr(this,e,t,!0),t+4};h.prototype.writeInt32BE=function(e,t,i){return e=+e,t=t|0,i||te(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),h.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):zr(this,e,t,!1),t+4};h.prototype.writeFloatLE=function(e,t,i){return da(this,e,t,!0,i)};h.prototype.writeFloatBE=function(e,t,i){return da(this,e,t,!1,i)};h.prototype.writeDoubleLE=function(e,t,i){return ma(this,e,t,!0,i)};h.prototype.writeDoubleBE=function(e,t,i){return ma(this,e,t,!1,i)};h.prototype.copy=function(e,t,i,n){if(i||(i=0),!n&&n!==0&&(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<i&&(n=i),n===i||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-i&&(n=e.length-t+i);var o=n-i,s;if(this===e&&i<t&&t<n)for(s=o-1;s>=0;--s)e[s+t]=this[s+i];else if(o<1e3||!h.TYPED_ARRAY_SUPPORT)for(s=0;s<o;++s)e[s+t]=this[s+i];else Uint8Array.prototype.set.call(e,this.subarray(i,i+o),t);return o};h.prototype.fill=function(e,t,i,n){if(typeof e=="string"){if(typeof t=="string"?(n=t,t=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),e.length===1){var o=e.charCodeAt(0);o<256&&(e=o)}if(n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!h.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else typeof e=="number"&&(e=e&255);if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,e||(e=0);var s;if(typeof e=="number")for(s=t;s<i;++s)this[s]=e;else{var a=ye(e)?e:Br(new h(e,n).toString()),u=a.length;for(s=0;s<i-t;++s)this[s+t]=a[s%u]}return this};Pp=/[^+\/0-9A-Za-z-_]/g});var d=ee(()=>{va()});var ya={};Ze(ya,{basename:()=>Aa,default:()=>qp,delimiter:()=>Sa,dirname:()=>ba,extname:()=>Oa,isAbsolute:()=>dn,join:()=>xa,normalize:()=>mn,relative:()=>Ea,resolve:()=>Ue,sep:()=>_a});function wa(r,e){for(var t=0,i=r.length-1;i>=0;i--){var n=r[i];n==="."?r.splice(i,1):n===".."?(r.splice(i,1),t++):t&&(r.splice(i,1),t--)}if(e)for(;t--;t)r.unshift("..");return r}function Ue(){for(var r="",e=!1,t=arguments.length-1;t>=-1&&!e;t--){var i=t>=0?arguments[t]:"/";if(typeof i!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!i)continue;r=i+"/"+r,e=i.charAt(0)==="/"}return r=wa(pn(r.split("/"),function(n){return!!n}),!e).join("/"),(e?"/":"")+r||"."}function mn(r){var e=dn(r),t=Lp(r,-1)==="/";return r=wa(pn(r.split("/"),function(i){return!!i}),!e).join("/"),!r&&!e&&(r="."),r&&t&&(r+="/"),(e?"/":"")+r}function dn(r){return r.charAt(0)==="/"}function xa(){var r=Array.prototype.slice.call(arguments,0);return mn(pn(r,function(e,t){if(typeof e!="string")throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))}function Ea(r,e){r=Ue(r).substr(1),e=Ue(e).substr(1);function t(f){for(var l=0;l<f.length&&f[l]==="";l++);for(var c=f.length-1;c>=0&&f[c]==="";c--);return l>c?[]:f.slice(l,c-l+1)}for(var i=t(r.split("/")),n=t(e.split("/")),o=Math.min(i.length,n.length),s=o,a=0;a<o;a++)if(i[a]!==n[a]){s=a;break}for(var u=[],a=s;a<i.length;a++)u.push("..");return u=u.concat(n.slice(s)),u.join("/")}function ba(r){var e=hn(r),t=e[0],i=e[1];return!t&&!i?".":(i&&(i=i.substr(0,i.length-1)),t+i)}function Aa(r,e){var t=hn(r)[2];return e&&t.substr(-1*e.length)===e&&(t=t.substr(0,t.length-e.length)),t}function Oa(r){return hn(r)[3]}function pn(r,e){if(r.filter)return r.filter(e);for(var t=[],i=0;i<r.length;i++)e(r[i],i,r)&&t.push(r[i]);return t}var Fp,hn,_a,Sa,qp,Lp,Gr=ee(()=>{p();d();Fp=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,hn=function(r){return Fp.exec(r).slice(1)};_a="/",Sa=":";qp={extname:Oa,basename:Aa,dirname:ba,sep:_a,delimiter:Sa,relative:Ea,join:xa,isAbsolute:dn,normalize:mn,resolve:Ue};Lp="ab".substr(-1)==="b"?function(r,e,t){return r.substr(e,t)}:function(r,e,t){return e<0&&(e=r.length+e),r.substr(e,t)}});var Ta={};Ze(Ta,{default:()=>Mp});var Mp,gn=ee(()=>{p();d();Mp={}});var jt=S((g1,Vr)=>{p();d();var rt=(gn(),Ta);if(rt&&rt.default){Vr.exports=rt.default;for(let r in rt)Vr.exports[r]=rt[r]}else rt&&(Vr.exports=rt)});var he=S((v1,Qr)=>{p();d();var it=(Gr(),ya);if(it&&it.default){Qr.exports=it.default;for(let r in it)Qr.exports[r]=it[r]}else it&&(Qr.exports=it)});var ka=S(vn=>{p();d();var nt=he(),Ne=y.platform==="win32",Be=jt(),Up=y.env.NODE_DEBUG&&/fs/.test(y.env.NODE_DEBUG);function Np(){var r;if(Up){var e=new Error;r=t}else r=i;return r;function t(n){n&&(e.message=n.message,n=e,i(n))}function i(n){if(n){if(y.throwDeprecation)throw n;if(!y.noDeprecation){var o="fs: missing callback "+(n.stack||n.message);y.traceDeprecation?console.trace(o):console.error(o)}}}}function Bp(r){return typeof r=="function"?r:Np()}var y1=nt.normalize;Ne?Ie=/(.*?)(?:[\/\\]+|$)/g:Ie=/(.*?)(?:[\/]+|$)/g;var Ie;Ne?Yt=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/:Yt=/^[\/]*/;var Yt;vn.realpathSync=function(e,t){if(e=nt.resolve(e),t&&Object.prototype.hasOwnProperty.call(t,e))return t[e];var i=e,n={},o={},s,a,u,f;l();function l(){var w=Yt.exec(e);s=w[0].length,a=w[0],u=w[0],f="",Ne&&!o[u]&&(Be.lstatSync(u),o[u]=!0)}for(;s<e.length;){Ie.lastIndex=s;var c=Ie.exec(e);if(f=a,a+=c[0],u=f+c[1],s=Ie.lastIndex,!(o[u]||t&&t[u]===u)){var g;if(t&&Object.prototype.hasOwnProperty.call(t,u))g=t[u];else{var m=Be.lstatSync(u);if(!m.isSymbolicLink()){o[u]=!0,t&&(t[u]=u);continue}var v=null;if(!Ne){var k=m.dev.toString(32)+":"+m.ino.toString(32);n.hasOwnProperty(k)&&(v=n[k])}v===null&&(Be.statSync(u),v=Be.readlinkSync(u)),g=nt.resolve(f,v),t&&(t[u]=g),Ne||(n[k]=v)}e=nt.resolve(g,e.slice(s)),l()}}return t&&(t[i]=e),e};vn.realpath=function(e,t,i){if(typeof i!="function"&&(i=Bp(t),t=null),e=nt.resolve(e),t&&Object.prototype.hasOwnProperty.call(t,e))return y.nextTick(i.bind(null,null,t[e]));var n=e,o={},s={},a,u,f,l;c();function c(){var w=Yt.exec(e);a=w[0].length,u=w[0],f=w[0],l="",Ne&&!s[f]?Be.lstat(f,function(E){if(E)return i(E);s[f]=!0,g()}):y.nextTick(g)}function g(){if(a>=e.length)return t&&(t[n]=e),i(null,e);Ie.lastIndex=a;var w=Ie.exec(e);return l=u,u+=w[0],f=l+w[1],a=Ie.lastIndex,s[f]||t&&t[f]===f?y.nextTick(g):t&&Object.prototype.hasOwnProperty.call(t,f)?k(t[f]):Be.lstat(f,m)}function m(w,E){if(w)return i(w);if(!E.isSymbolicLink())return s[f]=!0,t&&(t[f]=f),y.nextTick(g);if(!Ne){var R=E.dev.toString(32)+":"+E.ino.toString(32);if(o.hasOwnProperty(R))return v(null,o[R],f)}Be.stat(f,function(A){if(A)return i(A);Be.readlink(f,function(P,O){Ne||(o[R]=O),v(P,O)})})}function v(w,E,R){if(w)return i(w);var A=nt.resolve(l,E);t&&(t[R]=A),k(A)}function k(w){e=nt.resolve(w,e.slice(a)),c()}}});var En=S((x1,Ia)=>{p();d();Ia.exports=je;je.realpath=je;je.sync=yn;je.realpathSync=yn;je.monkeypatch=jp;je.unmonkeypatch=Yp;var Ot=jt(),wn=Ot.realpath,xn=Ot.realpathSync,Wp=y.version,Pa=/^v[0-5]\./.test(Wp),Ra=ka();function Ca(r){return r&&r.syscall==="realpath"&&(r.code==="ELOOP"||r.code==="ENOMEM"||r.code==="ENAMETOOLONG")}function je(r,e,t){if(Pa)return wn(r,e,t);typeof e=="function"&&(t=e,e=null),wn(r,e,function(i,n){Ca(i)?Ra.realpath(r,e,t):t(i,n)})}function yn(r,e){if(Pa)return xn(r,e);try{return xn(r,e)}catch(t){if(Ca(t))return Ra.realpathSync(r,e);throw t}}function jp(){Ot.realpath=je,Ot.realpathSync=yn}function Yp(){Ot.realpath=wn,Ot.realpathSync=xn}});var Fa=S((E1,Da)=>{p();d();var zp=typeof y=="object"&&y&&y.platform==="win32";Da.exports=zp?{sep:"\\"}:{sep:"/"}});var Na=S((_1,La)=>{p();d();"use strict";La.exports=qa;function qa(r,e,t){r instanceof RegExp&&(r=Ma(r,t)),e instanceof RegExp&&(e=Ma(e,t));var i=Ua(r,e,t);return i&&{start:i[0],end:i[1],pre:t.slice(0,i[0]),body:t.slice(i[0]+r.length,i[1]),post:t.slice(i[1]+e.length)}}function Ma(r,e){var t=e.match(r);return t?t[0]:null}qa.range=Ua;function Ua(r,e,t){var i,n,o,s,a,u=t.indexOf(r),f=t.indexOf(e,u+1),l=u;if(u>=0&&f>0){for(i=[],o=t.length;l>=0&&!a;)l==u?(i.push(l),u=t.indexOf(r,l+1)):i.length==1?a=[i.pop(),f]:(n=i.pop(),n<o&&(o=n,s=f),f=t.indexOf(e,l+1)),l=u<f&&u>=0?u:f;i.length&&(a=[o,s])}return a}});var Qa=S((S1,Ba)=>{p();d();var ja=Na();Ba.exports=Gp;var Ya="\0SLASH"+Math.random()+"\0",Wa="\0OPEN"+Math.random()+"\0",_n="\0CLOSE"+Math.random()+"\0",za="\0COMMA"+Math.random()+"\0",Ga="\0PERIOD"+Math.random()+"\0";function Sn(r){return parseInt(r,10)==r?parseInt(r,10):r.charCodeAt(0)}function Vp(r){return r.split("\\\\").join(Ya).split("\\{").join(Wa).split("\\}").join(_n).split("\\,").join(za).split("\\.").join(Ga)}function Qp(r){return r.split(Ya).join("\\").split(Wa).join("{").split(_n).join("}").split(za).join(",").split(Ga).join(".")}function Va(r){if(!r)return[""];var e=[],t=ja("{","}",r);if(!t)return r.split(",");var i=t.pre,n=t.body,o=t.post,s=i.split(",");s[s.length-1]+="{"+n+"}";var a=Va(o);return o.length&&(s[s.length-1]+=a.shift(),s.push.apply(s,a)),e.push.apply(e,s),e}function Gp(r){return r?(r.substr(0,2)==="{}"&&(r="\\{\\}"+r.substr(2)),Wt(Vp(r),!0).map(Qp)):[]}function $p(r){return"{"+r+"}"}function Hp(r){return/^-?0\d/.test(r)}function Jp(r,e){return r<=e}function Kp(r,e){return r>=e}function Wt(r,e){var t=[],i=ja("{","}",r);if(!i)return[r];var n=i.pre,o=i.post.length?Wt(i.post,!1):[""];if(/\$$/.test(i.pre))for(var s=0;s<o.length;s++){var a=n+"{"+i.body+"}"+o[s];t.push(a)}else{var u=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),f=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),l=u||f,c=i.body.indexOf(",")>=0;if(!l&&!c)return i.post.match(/,.*\}/)?(r=i.pre+"{"+i.body+_n+i.post,Wt(r)):[r];var g;if(l)g=i.body.split(/\.\./);else if(g=Va(i.body),g.length===1&&(g=Wt(g[0],!1).map($p),g.length===1))return o.map(function(X){return i.pre+g[0]+X});var m;if(l){var v=Sn(g[0]),k=Sn(g[1]),w=Math.max(g[0].length,g[1].length),E=g.length==3?Math.abs(Sn(g[2])):1,R=Jp,A=k<v;A&&(E*=-1,R=Kp);var P=g.some(Hp);m=[];for(var O=v;R(O,k);O+=E){var C;if(f)C=String.fromCharCode(O),C==="\\"&&(C="");else if(C=String(O),P){var V=w-C.length;if(V>0){var D=new Array(V+1).join("0");O<0?C="-"+D+C.slice(1):C=D+C}}m.push(C)}}else{m=[];for(var W=0;W<g.length;W++)m.push.apply(m,Wt(g[W],!1))}for(var W=0;W<m.length;W++)for(var s=0;s<o.length;s++){var a=n+m[W]+o[s];(!e||l||a)&&t.push(a)}}return t}});var Jr=S((A1,bn)=>{p();d();var ne=bn.exports=(r,e,t={})=>($r(e),!t.nocomment&&e.charAt(0)==="#"?!1:new zt(e,t).match(r));bn.exports=ne;var An=Fa();ne.sep=An.sep;var pe=Symbol("globstar **");ne.GLOBSTAR=pe;var Zp=Qa(),$a={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},On="[^/]",Tn=On+"*?",Xp="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",ed="(?:(?!(?:\\/|^)\\.).)*?",Ha=r=>r.split("").reduce((e,t)=>(e[t]=!0,e),{}),Ja=Ha("().*{}+?[]^$\\!"),td=Ha("[.("),Ka=/\/+/;ne.filter=(r,e={})=>(t,i,n)=>ne(t,r,e);var Ye=(r,e={})=>{let t={};return Object.keys(r).forEach(i=>t[i]=r[i]),Object.keys(e).forEach(i=>t[i]=e[i]),t};ne.defaults=r=>{if(!r||typeof r!="object"||!Object.keys(r).length)return ne;let e=ne,t=(i,n,o)=>e(i,n,Ye(r,o));return t.Minimatch=class extends e.Minimatch{constructor(n,o){super(n,Ye(r,o))}},t.Minimatch.defaults=i=>e.defaults(Ye(r,i)).Minimatch,t.filter=(i,n)=>e.filter(i,Ye(r,n)),t.defaults=i=>e.defaults(Ye(r,i)),t.makeRe=(i,n)=>e.makeRe(i,Ye(r,n)),t.braceExpand=(i,n)=>e.braceExpand(i,Ye(r,n)),t.match=(i,n,o)=>e.match(i,n,Ye(r,o)),t};ne.braceExpand=(r,e)=>Za(r,e);var Za=(r,e={})=>($r(r),e.nobrace||!/\{(?:(?!\{).)*\}/.test(r)?[r]:Zp(r)),rd=1024*64,$r=r=>{if(typeof r!="string")throw new TypeError("invalid pattern");if(r.length>rd)throw new TypeError("pattern is too long")},Hr=Symbol("subparse");ne.makeRe=(r,e)=>new zt(r,e||{}).makeRe();ne.match=(r,e,t={})=>{let i=new zt(e,t);return r=r.filter(n=>i.match(n)),i.options.nonull&&!r.length&&r.push(e),r};var id=r=>r.replace(/\\(.)/g,"$1"),nd=r=>r.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),zt=class{constructor(e,t){$r(e),t||(t={}),this.options=t,this.set=[],this.pattern=e,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}debug(){}make(){let e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate();let i=this.globSet=this.braceExpand();t.debug&&(this.debug=(...n)=>console.error(...n)),this.debug(this.pattern,i),i=this.globParts=i.map(n=>n.split(Ka)),this.debug(this.pattern,i),i=i.map((n,o,s)=>n.map(this.parse,this)),this.debug(this.pattern,i),i=i.filter(n=>n.indexOf(!1)===-1),this.debug(this.pattern,i),this.set=i}parseNegate(){if(this.options.nonegate)return;let e=this.pattern,t=!1,i=0;for(let n=0;n<e.length&&e.charAt(n)==="!";n++)t=!t,i++;i&&(this.pattern=e.substr(i)),this.negate=t}matchOne(e,t,i){var n=this.options;this.debug("matchOne",{this:this,file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var o=0,s=0,a=e.length,u=t.length;o<a&&s<u;o++,s++){this.debug("matchOne loop");var f=t[s],l=e[o];if(this.debug(t,f,l),f===!1)return!1;if(f===pe){this.debug("GLOBSTAR",[t,f,l]);var c=o,g=s+1;if(g===u){for(this.debug("** at the end");o<a;o++)if(e[o]==="."||e[o]===".."||!n.dot&&e[o].charAt(0)===".")return!1;return!0}for(;c<a;){var m=e[c];if(this.debug(`
|
|
2
|
+
globstar while`,e,c,t,g,m),this.matchOne(e.slice(c),t.slice(g),i))return this.debug("globstar found match!",c,a,m),!0;if(m==="."||m===".."||!n.dot&&m.charAt(0)==="."){this.debug("dot detected!",e,c,t,g);break}this.debug("globstar swallow a segment, and continue"),c++}return!!(i&&(this.debug(`
|
|
3
|
+
>>> no match, partial?`,e,c,t,g),c===a))}var v;if(typeof f=="string"?(v=l===f,this.debug("string match",f,l,v)):(v=l.match(f),this.debug("pattern match",f,l,v)),!v)return!1}if(o===a&&s===u)return!0;if(o===a)return i;if(s===u)return o===a-1&&e[o]==="";throw new Error("wtf?")}braceExpand(){return Za(this.pattern,this.options)}parse(e,t){$r(e);let i=this.options;if(e==="**")if(i.noglobstar)e="*";else return pe;if(e==="")return"";let n="",o=!!i.nocase,s=!1,a=[],u=[],f,l=!1,c=-1,g=-1,m,v,k,w=e.charAt(0)==="."?"":i.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",E=()=>{if(f){switch(f){case"*":n+=Tn,o=!0;break;case"?":n+=On,o=!0;break;default:n+="\\"+f;break}this.debug("clearStateChar %j %j",f,n),f=!1}};for(let P=0,O;P<e.length&&(O=e.charAt(P));P++){if(this.debug("%s %s %s %j",e,P,n,O),s){if(O==="/")return!1;Ja[O]&&(n+="\\"),n+=O,s=!1;continue}switch(O){case"/":return!1;case"\\":E(),s=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",e,P,n,O),l){this.debug(" in class"),O==="!"&&P===g+1&&(O="^"),n+=O;continue}this.debug("call clearStateChar %j",f),E(),f=O,i.noext&&E();continue;case"(":if(l){n+="(";continue}if(!f){n+="\\(";continue}a.push({type:f,start:P-1,reStart:n.length,open:$a[f].open,close:$a[f].close}),n+=f==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",f,n),f=!1;continue;case")":if(l||!a.length){n+="\\)";continue}E(),o=!0,v=a.pop(),n+=v.close,v.type==="!"&&u.push(v),v.reEnd=n.length;continue;case"|":if(l||!a.length){n+="\\|";continue}E(),n+="|";continue;case"[":if(E(),l){n+="\\"+O;continue}l=!0,g=P,c=n.length,n+=O;continue;case"]":if(P===g+1||!l){n+="\\"+O;continue}m=e.substring(g+1,P);try{RegExp("["+m+"]")}catch(C){k=this.parse(m,Hr),n=n.substr(0,c)+"\\["+k[0]+"\\]",o=o||k[1],l=!1;continue}o=!0,l=!1,n+=O;continue;default:E(),Ja[O]&&!(O==="^"&&l)&&(n+="\\"),n+=O;break}}for(l&&(m=e.substr(g+1),k=this.parse(m,Hr),n=n.substr(0,c)+"\\["+k[0],o=o||k[1]),v=a.pop();v;v=a.pop()){let P;P=n.slice(v.reStart+v.open.length),this.debug("setting tail",n,v),P=P.replace(/((?:\\{2}){0,64})(\\?)\|/g,(C,V,D)=>(D||(D="\\"),V+V+D+"|")),this.debug(`tail=%j
|
|
4
|
+
%s`,P,P,v,n);let O=v.type==="*"?Tn:v.type==="?"?On:"\\"+v.type;o=!0,n=n.slice(0,v.reStart)+O+"\\("+P}E(),s&&(n+="\\\\");let R=td[n.charAt(0)];for(let P=u.length-1;P>-1;P--){let O=u[P],C=n.slice(0,O.reStart),V=n.slice(O.reStart,O.reEnd-8),D=n.slice(O.reEnd),W=n.slice(O.reEnd-8,O.reEnd)+D,X=C.split("(").length-1,Oe=D;for(let St=0;St<X;St++)Oe=Oe.replace(/\)[+*?]?/,"");D=Oe;let Je=D===""&&t!==Hr?"$":"";n=C+V+D+Je+W}if(n!==""&&o&&(n="(?=.)"+n),R&&(n=w+n),t===Hr)return[n,o];if(!o)return id(e);let A=i.nocase?"i":"";try{return Object.assign(new RegExp("^"+n+"$",A),{_glob:e,_src:n})}catch(P){return new RegExp("$.")}}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let t=this.options,i=t.noglobstar?Tn:t.dot?Xp:ed,n=t.nocase?"i":"",o=e.map(s=>(s=s.map(a=>typeof a=="string"?nd(a):a===pe?pe:a._src).reduce((a,u)=>(a[a.length-1]===pe&&u===pe||a.push(u),a),[]),s.forEach((a,u)=>{a!==pe||s[u-1]===pe||(u===0?s.length>1?s[u+1]="(?:\\/|"+i+"\\/)?"+s[u+1]:s[u]=i:u===s.length-1?s[u-1]+="(?:\\/|"+i+")?":(s[u-1]+="(?:\\/|\\/"+i+"\\/)"+s[u+1],s[u+1]=pe))}),s.filter(a=>a!==pe).join("/"))).join("|");o="^(?:"+o+")$",this.negate&&(o="^(?!"+o+").*$");try{this.regexp=new RegExp(o,n)}catch(s){this.regexp=!1}return this.regexp}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&t)return!0;let i=this.options;An.sep!=="/"&&(e=e.split(An.sep).join("/")),e=e.split(Ka),this.debug(this.pattern,"split",e);let n=this.set;this.debug(this.pattern,"set",n);let o;for(let s=e.length-1;s>=0&&(o=e[s],!o);s--);for(let s=0;s<n.length;s++){let a=n[s],u=e;if(i.matchBase&&a.length===1&&(u=[o]),this.matchOne(u,a,t))return i.flipNegate?!0:!this.negate}return i.flipNegate?!1:this.negate}static defaults(e){return ne.defaults(e).Minimatch}};ne.Minimatch=zt});var Xa=S((O1,kn)=>{p();d();typeof Object.create=="function"?kn.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:kn.exports=function(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}}});var eu={};Ze(eu,{EventEmitter:()=>M,default:()=>sd});function We(){}function M(){M.init.call(this)}function tu(r){return r._maxListeners===void 0?M.defaultMaxListeners:r._maxListeners}function od(r,e,t){if(e)r.call(t);else for(var i=r.length,n=Gt(r,i),o=0;o<i;++o)n[o].call(t)}function ad(r,e,t,i){if(e)r.call(t,i);else for(var n=r.length,o=Gt(r,n),s=0;s<n;++s)o[s].call(t,i)}function ud(r,e,t,i,n){if(e)r.call(t,i,n);else for(var o=r.length,s=Gt(r,o),a=0;a<o;++a)s[a].call(t,i,n)}function fd(r,e,t,i,n,o){if(e)r.call(t,i,n,o);else for(var s=r.length,a=Gt(r,s),u=0;u<s;++u)a[u].call(t,i,n,o)}function ld(r,e,t,i){if(e)r.apply(t,i);else for(var n=r.length,o=Gt(r,n),s=0;s<n;++s)o[s].apply(t,i)}function ru(r,e,t,i){var n,o,s;if(typeof t!="function")throw new TypeError('"listener" argument must be a function');if(o=r._events,o?(o.newListener&&(r.emit("newListener",e,t.listener?t.listener:t),o=r._events),s=o[e]):(o=r._events=new We,r._eventsCount=0),!s)s=o[e]=t,++r._eventsCount;else if(typeof s=="function"?s=o[e]=i?[t,s]:[s,t]:i?s.unshift(t):s.push(t),!s.warned&&(n=tu(r),n&&n>0&&s.length>n)){s.warned=!0;var a=new Error("Possible EventEmitter memory leak detected. "+s.length+" "+e+" listeners added. Use emitter.setMaxListeners() to increase limit");a.name="MaxListenersExceededWarning",a.emitter=r,a.type=e,a.count=s.length,cd(a)}return r}function cd(r){typeof console.warn=="function"?console.warn(r):console.log(r)}function iu(r,e,t){var i=!1;function n(){r.removeListener(e,n),i||(i=!0,t.apply(r,arguments))}return n.listener=t,n}function nu(r){var e=this._events;if(e){var t=e[r];if(typeof t=="function")return 1;if(t)return t.length}return 0}function hd(r,e){for(var t=e,i=t+1,n=r.length;i<n;t+=1,i+=1)r[t]=r[i];r.pop()}function Gt(r,e){for(var t=new Array(e);e--;)t[e]=r[e];return t}function pd(r){for(var e=new Array(r.length),t=0;t<e.length;++t)e[t]=r[t].listener||r[t];return e}var In,sd,su=ee(()=>{p();d();"use strict";We.prototype=Object.create(null);sd=M;M.EventEmitter=M;M.usingDomains=!1;M.prototype.domain=void 0;M.prototype._events=void 0;M.prototype._maxListeners=void 0;M.defaultMaxListeners=10;M.init=function(){this.domain=null,M.usingDomains&&In.active&&!(this instanceof In.Domain)&&(this.domain=In.active),(!this._events||this._events===Object.getPrototypeOf(this)._events)&&(this._events=new We,this._eventsCount=0),this._maxListeners=this._maxListeners||void 0};M.prototype.setMaxListeners=function(e){if(typeof e!="number"||e<0||isNaN(e))throw new TypeError('"n" argument must be a positive number');return this._maxListeners=e,this};M.prototype.getMaxListeners=function(){return tu(this)};M.prototype.emit=function(e){var t,i,n,o,s,a,u,f=!1,l=e==="error";if(a=this._events,a)l=l&&a.error==null;else if(!l)return!1;if(u=this.domain,l){if(t=arguments[1],u)t||(t=new Error('Uncaught, unspecified "error" event')),t.domainEmitter=this,t.domain=u,t.domainThrown=!1,u.emit("error",t);else{if(t instanceof Error)throw t;var c=new Error('Uncaught, unspecified "error" event. ('+t+")");throw c.context=t,c}return!1}if(i=a[e],!i)return!1;var g=typeof i=="function";switch(n=arguments.length,n){case 1:od(i,g,this);break;case 2:ad(i,g,this,arguments[1]);break;case 3:ud(i,g,this,arguments[1],arguments[2]);break;case 4:fd(i,g,this,arguments[1],arguments[2],arguments[3]);break;default:for(o=new Array(n-1),s=1;s<n;s++)o[s-1]=arguments[s];ld(i,g,this,o)}return f&&u.exit(),!0};M.prototype.addListener=function(e,t){return ru(this,e,t,!1)};M.prototype.on=M.prototype.addListener;M.prototype.prependListener=function(e,t){return ru(this,e,t,!0)};M.prototype.once=function(e,t){if(typeof t!="function")throw new TypeError('"listener" argument must be a function');return this.on(e,iu(this,e,t)),this};M.prototype.prependOnceListener=function(e,t){if(typeof t!="function")throw new TypeError('"listener" argument must be a function');return this.prependListener(e,iu(this,e,t)),this};M.prototype.removeListener=function(e,t){var i,n,o,s,a;if(typeof t!="function")throw new TypeError('"listener" argument must be a function');if(n=this._events,!n)return this;if(i=n[e],!i)return this;if(i===t||i.listener&&i.listener===t)--this._eventsCount==0?this._events=new We:(delete n[e],n.removeListener&&this.emit("removeListener",e,i.listener||t));else if(typeof i!="function"){for(o=-1,s=i.length;s-- >0;)if(i[s]===t||i[s].listener&&i[s].listener===t){a=i[s].listener,o=s;break}if(o<0)return this;if(i.length===1){if(i[0]=void 0,--this._eventsCount==0)return this._events=new We,this;delete n[e]}else hd(i,o);n.removeListener&&this.emit("removeListener",e,a||t)}return this};M.prototype.removeAllListeners=function(e){var t,i;if(i=this._events,!i)return this;if(!i.removeListener)return arguments.length===0?(this._events=new We,this._eventsCount=0):i[e]&&(--this._eventsCount==0?this._events=new We:delete i[e]),this;if(arguments.length===0){for(var n=Object.keys(i),o=0,s;o<n.length;++o)s=n[o],s!=="removeListener"&&this.removeAllListeners(s);return this.removeAllListeners("removeListener"),this._events=new We,this._eventsCount=0,this}if(t=i[e],typeof t=="function")this.removeListener(e,t);else if(t)do this.removeListener(e,t[t.length-1]);while(t[0]);return this};M.prototype.listeners=function(e){var t,i,n=this._events;return n?(t=n[e],t?typeof t=="function"?i=[t.listener||t]:i=pd(t):i=[]):i=[],i};M.listenerCount=function(r,e){return typeof r.listenerCount=="function"?r.listenerCount(e):nu.call(r,e)};M.prototype.listenerCount=nu;M.prototype.eventNames=function(){return this._eventsCount>0?Reflect.ownKeys(this._events):[]}});var ou=S((T1,Kr)=>{p();d();var st=(su(),eu);if(st&&st.default){Kr.exports=st.default;for(let r in st)Kr.exports[r]=st[r]}else st&&(Kr.exports=st)});function au(){Pn=!0;for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0,t=r.length;e<t;++e)we[e]=r[e],ae[r.charCodeAt(e)]=e;ae["-".charCodeAt(0)]=62,ae["_".charCodeAt(0)]=63}function md(r){Pn||au();var e,t,i,n,o,s,a=r.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o=r[a-2]==="="?2:r[a-1]==="="?1:0,s=new dd(a*3/4-o),i=o>0?a-4:a;var u=0;for(e=0,t=0;e<i;e+=4,t+=3)n=ae[r.charCodeAt(e)]<<18|ae[r.charCodeAt(e+1)]<<12|ae[r.charCodeAt(e+2)]<<6|ae[r.charCodeAt(e+3)],s[u++]=n>>16&255,s[u++]=n>>8&255,s[u++]=n&255;return o===2?(n=ae[r.charCodeAt(e)]<<2|ae[r.charCodeAt(e+1)]>>4,s[u++]=n&255):o===1&&(n=ae[r.charCodeAt(e)]<<10|ae[r.charCodeAt(e+1)]<<4|ae[r.charCodeAt(e+2)]>>2,s[u++]=n>>8&255,s[u++]=n&255),s}function gd(r){return we[r>>18&63]+we[r>>12&63]+we[r>>6&63]+we[r&63]}function vd(r,e,t){for(var i,n=[],o=e;o<t;o+=3)i=(r[o]<<16)+(r[o+1]<<8)+r[o+2],n.push(gd(i));return n.join("")}function uu(r){Pn||au();for(var e,t=r.length,i=t%3,n="",o=[],s=16383,a=0,u=t-i;a<u;a+=s)o.push(vd(r,a,a+s>u?u:a+s));return i===1?(e=r[t-1],n+=we[e>>2],n+=we[e<<4&63],n+="=="):i===2&&(e=(r[t-2]<<8)+r[t-1],n+=we[e>>10],n+=we[e>>4&63],n+=we[e<<2&63],n+="="),o.push(n),o.join("")}function Zr(r,e,t,i,n){var o,s,a=n*8-i-1,u=(1<<a)-1,f=u>>1,l=-7,c=t?n-1:0,g=t?-1:1,m=r[e+c];for(c+=g,o=m&(1<<-l)-1,m>>=-l,l+=a;l>0;o=o*256+r[e+c],c+=g,l-=8);for(s=o&(1<<-l)-1,o>>=-l,l+=i;l>0;s=s*256+r[e+c],c+=g,l-=8);if(o===0)o=1-f;else{if(o===u)return s?NaN:(m?-1:1)*Infinity;s=s+Math.pow(2,i),o=o-f}return(m?-1:1)*s*Math.pow(2,o-i)}function fu(r,e,t,i,n,o){var s,a,u,f=o*8-n-1,l=(1<<f)-1,c=l>>1,g=n===23?Math.pow(2,-24)-Math.pow(2,-77):0,m=i?0:o-1,v=i?1:-1,k=e<0||e===0&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===Infinity?(a=isNaN(e)?1:0,s=l):(s=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-s))<1&&(s--,u*=2),s+c>=1?e+=g/u:e+=g*Math.pow(2,1-c),e*u>=2&&(s++,u/=2),s+c>=l?(a=0,s=l):s+c>=1?(a=(e*u-1)*Math.pow(2,n),s=s+c):(a=e*Math.pow(2,c-1)*Math.pow(2,n),s=0));n>=8;r[t+m]=a&255,m+=v,a/=256,n-=8);for(s=s<<n|a,f+=n;f>0;r[t+m]=s&255,m+=v,s/=256,f-=8);r[t+m-v]|=k*128}function Xr(){return x.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function Pe(r,e){if(Xr()<e)throw new RangeError("Invalid typed array length");return x.TYPED_ARRAY_SUPPORT?(r=new Uint8Array(e),r.__proto__=x.prototype):(r===null&&(r=new x(e)),r.length=e),r}function x(r,e,t){if(!x.TYPED_ARRAY_SUPPORT&&!(this instanceof x))return new x(r,e,t);if(typeof r=="number"){if(typeof e=="string")throw new Error("If encoding is specified then the first argument must be a string");return Rn(this,r)}return cu(this,r,e,t)}function cu(r,e,t,i){if(typeof e=="number")throw new TypeError('"value" argument must not be a number');return typeof ArrayBuffer!="undefined"&&e instanceof ArrayBuffer?Ed(r,e,t,i):typeof e=="string"?xd(r,e,t):_d(r,e)}function hu(r){if(typeof r!="number")throw new TypeError('"size" argument must be a number');if(r<0)throw new RangeError('"size" argument must not be negative')}function Sd(r,e,t,i){return hu(e),e<=0?Pe(r,e):t!==void 0?typeof i=="string"?Pe(r,e).fill(t,i):Pe(r,e).fill(t):Pe(r,e)}function Rn(r,e){if(hu(e),r=Pe(r,e<0?0:Cn(e)|0),!x.TYPED_ARRAY_SUPPORT)for(var t=0;t<e;++t)r[t]=0;return r}function xd(r,e,t){if((typeof t!="string"||t==="")&&(t="utf8"),!x.isEncoding(t))throw new TypeError('"encoding" must be a valid string encoding');var i=pu(e,t)|0;r=Pe(r,i);var n=r.write(e,t);return n!==i&&(r=r.slice(0,n)),r}function Dn(r,e){var t=e.length<0?0:Cn(e.length)|0;r=Pe(r,t);for(var i=0;i<t;i+=1)r[i]=e[i]&255;return r}function Ed(r,e,t,i){if(e.byteLength,t<0||e.byteLength<t)throw new RangeError("'offset' is out of bounds");if(e.byteLength<t+(i||0))throw new RangeError("'length' is out of bounds");return t===void 0&&i===void 0?e=new Uint8Array(e):i===void 0?e=new Uint8Array(e,t):e=new Uint8Array(e,t,i),x.TYPED_ARRAY_SUPPORT?(r=e,r.__proto__=x.prototype):r=Dn(r,e),r}function _d(r,e){if(xe(e)){var t=Cn(e.length)|0;return r=Pe(r,t),r.length===0||e.copy(r,0,0,t),r}if(e){if(typeof ArrayBuffer!="undefined"&&e.buffer instanceof ArrayBuffer||"length"in e)return typeof e.length!="number"||bd(e.length)?Pe(r,0):Dn(r,e);if(e.type==="Buffer"&&lu(e.data))return Dn(r,e.data)}throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}function Cn(r){if(r>=Xr())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Xr().toString(16)+" bytes");return r|0}function xe(r){return!!(r!=null&&r._isBuffer)}function pu(r,e){if(xe(r))return r.length;if(typeof ArrayBuffer!="undefined"&&typeof ArrayBuffer.isView=="function"&&(ArrayBuffer.isView(r)||r instanceof ArrayBuffer))return r.byteLength;typeof r!="string"&&(r=""+r);var t=r.length;if(t===0)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":case void 0:return ei(r).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return t*2;case"hex":return t>>>1;case"base64":return du(r).length;default:if(i)return ei(r).length;e=(""+e).toLowerCase(),i=!0}}function Pd(r,e,t){var i=!1;if((e===void 0||e<0)&&(e=0),e>this.length||((t===void 0||t>this.length)&&(t=this.length),t<=0)||(t>>>=0,e>>>=0,t<=e))return"";for(r||(r="utf8");;)switch(r){case"hex":return kd(this,e,t);case"utf8":case"utf-8":return mu(this,e,t);case"ascii":return Od(this,e,t);case"latin1":case"binary":return Td(this,e,t);case"base64":return Ad(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Id(this,e,t);default:if(i)throw new TypeError("Unknown encoding: "+r);r=(r+"").toLowerCase(),i=!0}}function at(r,e,t){var i=r[e];r[e]=r[t],r[t]=i}function vu(r,e,t,i,n){if(r.length===0)return-1;if(typeof t=="string"?(i=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=n?0:r.length-1),t<0&&(t=r.length+t),t>=r.length){if(n)return-1;t=r.length-1}else if(t<0)if(n)t=0;else return-1;if(typeof e=="string"&&(e=x.from(e,i)),xe(e))return e.length===0?-1:gu(r,e,t,i,n);if(typeof e=="number")return e=e&255,x.TYPED_ARRAY_SUPPORT&&typeof Uint8Array.prototype.indexOf=="function"?n?Uint8Array.prototype.indexOf.call(r,e,t):Uint8Array.prototype.lastIndexOf.call(r,e,t):gu(r,[e],t,i,n);throw new TypeError("val must be string, number or Buffer")}function gu(r,e,t,i,n){var o=1,s=r.length,a=e.length;if(i!==void 0&&(i=String(i).toLowerCase(),i==="ucs2"||i==="ucs-2"||i==="utf16le"||i==="utf-16le")){if(r.length<2||e.length<2)return-1;o=2,s/=2,a/=2,t/=2}function u(m,v){return o===1?m[v]:m.readUInt16BE(v*o)}var f;if(n){var l=-1;for(f=t;f<s;f++)if(u(r,f)===u(e,l===-1?0:f-l)){if(l===-1&&(l=f),f-l+1===a)return l*o}else l!==-1&&(f-=f-l),l=-1}else for(t+a>s&&(t=s-a),f=t;f>=0;f--){for(var c=!0,g=0;g<a;g++)if(u(r,f+g)!==u(e,g)){c=!1;break}if(c)return f}return-1}function Rd(r,e,t,i){t=Number(t)||0;var n=r.length-t;i?(i=Number(i),i>n&&(i=n)):i=n;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");i>o/2&&(i=o/2);for(var s=0;s<i;++s){var a=parseInt(e.substr(s*2,2),16);if(isNaN(a))return s;r[t+s]=a}return s}function Cd(r,e,t,i){return ti(ei(e,r.length-t),r,t,i)}function yu(r,e,t,i){return ti(Dd(e),r,t,i)}function Fd(r,e,t,i){return yu(r,e,t,i)}function Ld(r,e,t,i){return ti(du(e),r,t,i)}function Md(r,e,t,i){return ti(qd(e,r.length-t),r,t,i)}function Ad(r,e,t){return e===0&&t===r.length?uu(r):uu(r.slice(e,t))}function mu(r,e,t){t=Math.min(r.length,t);for(var i=[],n=e;n<t;){var o=r[n],s=null,a=o>239?4:o>223?3:o>191?2:1;if(n+a<=t){var u,f,l,c;switch(a){case 1:o<128&&(s=o);break;case 2:u=r[n+1],(u&192)==128&&(c=(o&31)<<6|u&63,c>127&&(s=c));break;case 3:u=r[n+1],f=r[n+2],(u&192)==128&&(f&192)==128&&(c=(o&15)<<12|(u&63)<<6|f&63,c>2047&&(c<55296||c>57343)&&(s=c));break;case 4:u=r[n+1],f=r[n+2],l=r[n+3],(u&192)==128&&(f&192)==128&&(l&192)==128&&(c=(o&15)<<18|(u&63)<<12|(f&63)<<6|l&63,c>65535&&c<1114112&&(s=c))}}s===null?(s=65533,a=1):s>65535&&(s-=65536,i.push(s>>>10&1023|55296),s=56320|s&1023),i.push(s),n+=a}return Ud(i)}function Ud(r){var e=r.length;if(e<=wu)return String.fromCharCode.apply(String,r);for(var t="",i=0;i<e;)t+=String.fromCharCode.apply(String,r.slice(i,i+=wu));return t}function Od(r,e,t){var i="";t=Math.min(r.length,t);for(var n=e;n<t;++n)i+=String.fromCharCode(r[n]&127);return i}function Td(r,e,t){var i="";t=Math.min(r.length,t);for(var n=e;n<t;++n)i+=String.fromCharCode(r[n]);return i}function kd(r,e,t){var i=r.length;(!e||e<0)&&(e=0),(!t||t<0||t>i)&&(t=i);for(var n="",o=e;o<t;++o)n+=Nd(r[o]);return n}function Id(r,e,t){for(var i=r.slice(e,t),n="",o=0;o<i.length;o+=2)n+=String.fromCharCode(i[o]+i[o+1]*256);return n}function H(r,e,t){if(r%1!=0||r<0)throw new RangeError("offset is not uint");if(r+e>t)throw new RangeError("Trying to access beyond buffer length")}function re(r,e,t,i,n,o){if(!xe(r))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>n||e<o)throw new RangeError('"value" argument is out of bounds');if(t+i>r.length)throw new RangeError("Index out of range")}function ri(r,e,t,i){e<0&&(e=65535+e+1);for(var n=0,o=Math.min(r.length-t,2);n<o;++n)r[t+n]=(e&255<<8*(i?n:1-n))>>>(i?n:1-n)*8}function ii(r,e,t,i){e<0&&(e=4294967295+e+1);for(var n=0,o=Math.min(r.length-t,4);n<o;++n)r[t+n]=e>>>(i?n:3-n)*8&255}function xu(r,e,t,i,n,o){if(t+i>r.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function Eu(r,e,t,i,n){return n||xu(r,e,t,4),fu(r,e,t,i,23,4),t+4}function _u(r,e,t,i,n){return n||xu(r,e,t,8),fu(r,e,t,i,52,8),t+8}function Yd(r){if(r=jd(r).replace(Bd,""),r.length<2)return"";for(;r.length%4!=0;)r=r+"=";return r}function jd(r){return r.trim?r.trim():r.replace(/^\s+|\s+$/g,"")}function Nd(r){return r<16?"0"+r.toString(16):r.toString(16)}function ei(r,e){e=e||Infinity;for(var t,i=r.length,n=null,o=[],s=0;s<i;++s){if(t=r.charCodeAt(s),t>55295&&t<57344){if(!n){if(t>56319){(e-=3)>-1&&o.push(239,191,189);continue}else if(s+1===i){(e-=3)>-1&&o.push(239,191,189);continue}n=t;continue}if(t<56320){(e-=3)>-1&&o.push(239,191,189),n=t;continue}t=(n-55296<<10|t-56320)+65536}else n&&(e-=3)>-1&&o.push(239,191,189);if(n=null,t<128){if((e-=1)<0)break;o.push(t)}else if(t<2048){if((e-=2)<0)break;o.push(t>>6|192,t&63|128)}else if(t<65536){if((e-=3)<0)break;o.push(t>>12|224,t>>6&63|128,t&63|128)}else if(t<1114112){if((e-=4)<0)break;o.push(t>>18|240,t>>12&63|128,t>>6&63|128,t&63|128)}else throw new Error("Invalid code point")}return o}function Dd(r){for(var e=[],t=0;t<r.length;++t)e.push(r.charCodeAt(t)&255);return e}function qd(r,e){for(var t,i,n,o=[],s=0;s<r.length&&!((e-=2)<0);++s)t=r.charCodeAt(s),i=t>>8,n=t%256,o.push(n),o.push(i);return o}function du(r){return md(Yd(r))}function ti(r,e,t,i){for(var n=0;n<i&&!(n+t>=e.length||n>=r.length);++n)e[n+t]=r[n];return n}function bd(r){return r!==r}function ot(r){return r!=null&&(!!r._isBuffer||Su(r)||Wd(r))}function Su(r){return!!r.constructor&&typeof r.constructor.isBuffer=="function"&&r.constructor.isBuffer(r)}function Wd(r){return typeof r.readFloatLE=="function"&&typeof r.slice=="function"&&Su(r.slice(0,0))}var we,ae,dd,Pn,yd,lu,wd,I1,wu,Bd,bu=ee(()=>{p();d();we=[],ae=[],dd=typeof Uint8Array!="undefined"?Uint8Array:Array,Pn=!1;yd={}.toString,lu=Array.isArray||function(r){return yd.call(r)=="[object Array]"};wd=50;x.TYPED_ARRAY_SUPPORT=window.TYPED_ARRAY_SUPPORT!==void 0?window.TYPED_ARRAY_SUPPORT:!0;I1=Xr();x.poolSize=8192;x._augment=function(r){return r.__proto__=x.prototype,r};x.from=function(r,e,t){return cu(null,r,e,t)};x.TYPED_ARRAY_SUPPORT&&(x.prototype.__proto__=Uint8Array.prototype,x.__proto__=Uint8Array);x.alloc=function(r,e,t){return Sd(null,r,e,t)};x.allocUnsafe=function(r){return Rn(null,r)};x.allocUnsafeSlow=function(r){return Rn(null,r)};x.isBuffer=ot;x.compare=function(e,t){if(!xe(e)||!xe(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var i=e.length,n=t.length,o=0,s=Math.min(i,n);o<s;++o)if(e[o]!==t[o]){i=e[o],n=t[o];break}return i<n?-1:n<i?1:0};x.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}};x.concat=function(e,t){if(!lu(e))throw new TypeError('"list" argument must be an Array of Buffers');if(e.length===0)return x.alloc(0);var i;if(t===void 0)for(t=0,i=0;i<e.length;++i)t+=e[i].length;var n=x.allocUnsafe(t),o=0;for(i=0;i<e.length;++i){var s=e[i];if(!xe(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(n,o),o+=s.length}return n};x.byteLength=pu;x.prototype._isBuffer=!0;x.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)at(this,t,t+1);return this};x.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)at(this,t,t+3),at(this,t+1,t+2);return this};x.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)at(this,t,t+7),at(this,t+1,t+6),at(this,t+2,t+5),at(this,t+3,t+4);return this};x.prototype.toString=function(){var e=this.length|0;return e===0?"":arguments.length===0?mu(this,0,e):Pd.apply(this,arguments)};x.prototype.equals=function(e){if(!xe(e))throw new TypeError("Argument must be a Buffer");return this===e?!0:x.compare(this,e)===0};x.prototype.inspect=function(){var e="",t=wd;return this.length>0&&(e=this.toString("hex",0,t).match(/.{2}/g).join(" "),this.length>t&&(e+=" ... ")),"<Buffer "+e+">"};x.prototype.compare=function(e,t,i,n,o){if(!xe(e))throw new TypeError("Argument must be a Buffer");if(t===void 0&&(t=0),i===void 0&&(i=e?e.length:0),n===void 0&&(n=0),o===void 0&&(o=this.length),t<0||i>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=i)return 0;if(n>=o)return-1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,o>>>=0,this===e)return 0;for(var s=o-n,a=i-t,u=Math.min(s,a),f=this.slice(n,o),l=e.slice(t,i),c=0;c<u;++c)if(f[c]!==l[c]){s=f[c],a=l[c];break}return s<a?-1:a<s?1:0};x.prototype.includes=function(e,t,i){return this.indexOf(e,t,i)!==-1};x.prototype.indexOf=function(e,t,i){return vu(this,e,t,i,!0)};x.prototype.lastIndexOf=function(e,t,i){return vu(this,e,t,i,!1)};x.prototype.write=function(e,t,i,n){if(t===void 0)n="utf8",i=this.length,t=0;else if(i===void 0&&typeof t=="string")n=t,i=this.length,t=0;else if(isFinite(t))t=t|0,isFinite(i)?(i=i|0,n===void 0&&(n="utf8")):(n=i,i=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o=this.length-t;if((i===void 0||i>o)&&(i=o),e.length>0&&(i<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var s=!1;;)switch(n){case"hex":return Rd(this,e,t,i);case"utf8":case"utf-8":return Cd(this,e,t,i);case"ascii":return yu(this,e,t,i);case"latin1":case"binary":return Fd(this,e,t,i);case"base64":return Ld(this,e,t,i);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Md(this,e,t,i);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}};x.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};wu=4096;x.prototype.slice=function(e,t){var i=this.length;e=~~e,t=t===void 0?i:~~t,e<0?(e+=i,e<0&&(e=0)):e>i&&(e=i),t<0?(t+=i,t<0&&(t=0)):t>i&&(t=i),t<e&&(t=e);var n;if(x.TYPED_ARRAY_SUPPORT)n=this.subarray(e,t),n.__proto__=x.prototype;else{var o=t-e;n=new x(o,void 0);for(var s=0;s<o;++s)n[s]=this[s+e]}return n};x.prototype.readUIntLE=function(e,t,i){e=e|0,t=t|0,i||H(e,t,this.length);for(var n=this[e],o=1,s=0;++s<t&&(o*=256);)n+=this[e+s]*o;return n};x.prototype.readUIntBE=function(e,t,i){e=e|0,t=t|0,i||H(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n};x.prototype.readUInt8=function(e,t){return t||H(e,1,this.length),this[e]};x.prototype.readUInt16LE=function(e,t){return t||H(e,2,this.length),this[e]|this[e+1]<<8};x.prototype.readUInt16BE=function(e,t){return t||H(e,2,this.length),this[e]<<8|this[e+1]};x.prototype.readUInt32LE=function(e,t){return t||H(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216};x.prototype.readUInt32BE=function(e,t){return t||H(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])};x.prototype.readIntLE=function(e,t,i){e=e|0,t=t|0,i||H(e,t,this.length);for(var n=this[e],o=1,s=0;++s<t&&(o*=256);)n+=this[e+s]*o;return o*=128,n>=o&&(n-=Math.pow(2,8*t)),n};x.prototype.readIntBE=function(e,t,i){e=e|0,t=t|0,i||H(e,t,this.length);for(var n=t,o=1,s=this[e+--n];n>0&&(o*=256);)s+=this[e+--n]*o;return o*=128,s>=o&&(s-=Math.pow(2,8*t)),s};x.prototype.readInt8=function(e,t){return t||H(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]};x.prototype.readInt16LE=function(e,t){t||H(e,2,this.length);var i=this[e]|this[e+1]<<8;return i&32768?i|4294901760:i};x.prototype.readInt16BE=function(e,t){t||H(e,2,this.length);var i=this[e+1]|this[e]<<8;return i&32768?i|4294901760:i};x.prototype.readInt32LE=function(e,t){return t||H(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24};x.prototype.readInt32BE=function(e,t){return t||H(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]};x.prototype.readFloatLE=function(e,t){return t||H(e,4,this.length),Zr(this,e,!0,23,4)};x.prototype.readFloatBE=function(e,t){return t||H(e,4,this.length),Zr(this,e,!1,23,4)};x.prototype.readDoubleLE=function(e,t){return t||H(e,8,this.length),Zr(this,e,!0,52,8)};x.prototype.readDoubleBE=function(e,t){return t||H(e,8,this.length),Zr(this,e,!1,52,8)};x.prototype.writeUIntLE=function(e,t,i,n){if(e=+e,t=t|0,i=i|0,!n){var o=Math.pow(2,8*i)-1;re(this,e,t,i,o,0)}var s=1,a=0;for(this[t]=e&255;++a<i&&(s*=256);)this[t+a]=e/s&255;return t+i};x.prototype.writeUIntBE=function(e,t,i,n){if(e=+e,t=t|0,i=i|0,!n){var o=Math.pow(2,8*i)-1;re(this,e,t,i,o,0)}var s=i-1,a=1;for(this[t+s]=e&255;--s>=0&&(a*=256);)this[t+s]=e/a&255;return t+i};x.prototype.writeUInt8=function(e,t,i){return e=+e,t=t|0,i||re(this,e,t,1,255,0),x.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=e&255,t+1};x.prototype.writeUInt16LE=function(e,t,i){return e=+e,t=t|0,i||re(this,e,t,2,65535,0),x.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):ri(this,e,t,!0),t+2};x.prototype.writeUInt16BE=function(e,t,i){return e=+e,t=t|0,i||re(this,e,t,2,65535,0),x.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):ri(this,e,t,!1),t+2};x.prototype.writeUInt32LE=function(e,t,i){return e=+e,t=t|0,i||re(this,e,t,4,4294967295,0),x.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255):ii(this,e,t,!0),t+4};x.prototype.writeUInt32BE=function(e,t,i){return e=+e,t=t|0,i||re(this,e,t,4,4294967295,0),x.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):ii(this,e,t,!1),t+4};x.prototype.writeIntLE=function(e,t,i,n){if(e=+e,t=t|0,!n){var o=Math.pow(2,8*i-1);re(this,e,t,i,o-1,-o)}var s=0,a=1,u=0;for(this[t]=e&255;++s<i&&(a*=256);)e<0&&u===0&&this[t+s-1]!==0&&(u=1),this[t+s]=(e/a>>0)-u&255;return t+i};x.prototype.writeIntBE=function(e,t,i,n){if(e=+e,t=t|0,!n){var o=Math.pow(2,8*i-1);re(this,e,t,i,o-1,-o)}var s=i-1,a=1,u=0;for(this[t+s]=e&255;--s>=0&&(a*=256);)e<0&&u===0&&this[t+s+1]!==0&&(u=1),this[t+s]=(e/a>>0)-u&255;return t+i};x.prototype.writeInt8=function(e,t,i){return e=+e,t=t|0,i||re(this,e,t,1,127,-128),x.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=e&255,t+1};x.prototype.writeInt16LE=function(e,t,i){return e=+e,t=t|0,i||re(this,e,t,2,32767,-32768),x.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8):ri(this,e,t,!0),t+2};x.prototype.writeInt16BE=function(e,t,i){return e=+e,t=t|0,i||re(this,e,t,2,32767,-32768),x.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=e&255):ri(this,e,t,!1),t+2};x.prototype.writeInt32LE=function(e,t,i){return e=+e,t=t|0,i||re(this,e,t,4,2147483647,-2147483648),x.TYPED_ARRAY_SUPPORT?(this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):ii(this,e,t,!0),t+4};x.prototype.writeInt32BE=function(e,t,i){return e=+e,t=t|0,i||re(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),x.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255):ii(this,e,t,!1),t+4};x.prototype.writeFloatLE=function(e,t,i){return Eu(this,e,t,!0,i)};x.prototype.writeFloatBE=function(e,t,i){return Eu(this,e,t,!1,i)};x.prototype.writeDoubleLE=function(e,t,i){return _u(this,e,t,!0,i)};x.prototype.writeDoubleBE=function(e,t,i){return _u(this,e,t,!1,i)};x.prototype.copy=function(e,t,i,n){if(i||(i=0),!n&&n!==0&&(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<i&&(n=i),n===i||e.length===0||this.length===0)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(i<0||i>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-i&&(n=e.length-t+i);var o=n-i,s;if(this===e&&i<t&&t<n)for(s=o-1;s>=0;--s)e[s+t]=this[s+i];else if(o<1e3||!x.TYPED_ARRAY_SUPPORT)for(s=0;s<o;++s)e[s+t]=this[s+i];else Uint8Array.prototype.set.call(e,this.subarray(i,i+o),t);return o};x.prototype.fill=function(e,t,i,n){if(typeof e=="string"){if(typeof t=="string"?(n=t,t=0,i=this.length):typeof i=="string"&&(n=i,i=this.length),e.length===1){var o=e.charCodeAt(0);o<256&&(e=o)}if(n!==void 0&&typeof n!="string")throw new TypeError("encoding must be a string");if(typeof n=="string"&&!x.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else typeof e=="number"&&(e=e&255);if(t<0||this.length<t||this.length<i)throw new RangeError("Out of range index");if(i<=t)return this;t=t>>>0,i=i===void 0?this.length:i>>>0,e||(e=0);var s;if(typeof e=="number")for(s=t;s<i;++s)this[s]=e;else{var a=xe(e)?e:ei(new x(e,n).toString()),u=a.length;for(s=0;s<i-t;++s)this[s+t]=a[s%u]}return this};Bd=/[^+\/0-9A-Za-z-_]/g});function Au(){throw new Error("setTimeout has not been defined")}function Ou(){throw new Error("clearTimeout has not been defined")}function Tu(r){if(ze===setTimeout)return setTimeout(r,0);if((ze===Au||!ze)&&setTimeout)return ze=setTimeout,setTimeout(r,0);try{return ze(r,0)}catch(e){try{return ze.call(null,r,0)}catch(t){return ze.call(this,r,0)}}}function zd(r){if(Ge===clearTimeout)return clearTimeout(r);if((Ge===Ou||!Ge)&&clearTimeout)return Ge=clearTimeout,clearTimeout(r);try{return Ge(r)}catch(e){try{return Ge.call(null,r)}catch(t){return Ge.call(this,r)}}}function Gd(){!Tt||!ut||(Tt=!1,ut.length?Re=ut.concat(Re):ni=-1,Re.length&&ku())}function ku(){if(!Tt){var r=Tu(Gd);Tt=!0;for(var e=Re.length;e;){for(ut=Re,Re=[];++ni<e;)ut&&ut[ni].run();ni=-1,e=Re.length}ut=null,Tt=!1,zd(r)}}function Vd(r){var e=new Array(arguments.length-1);if(arguments.length>1)for(var t=1;t<arguments.length;t++)e[t-1]=arguments[t];Re.push(new Iu(r,e)),Re.length===1&&!Tt&&Tu(ku)}function Iu(r,e){this.fun=r,this.array=e}function ft(){}function fm(r){throw new Error("process.binding is not supported")}function lm(){return"/"}function cm(r){throw new Error("process.chdir is not supported")}function hm(){return 0}function dm(r){var e=pm.call(kt)*.001,t=Math.floor(e),i=Math.floor(e%1*1e9);return r&&(t=t-r[0],i=i-r[1],i<0&&(t--,i+=1e9)),[t,i]}function gm(){var r=new Date,e=r-mm;return e/1e3}var ze,Ge,Re,Tt,ut,ni,Qd,$d,Hd,Jd,Kd,Zd,Xd,em,tm,rm,im,nm,sm,om,am,um,kt,pm,mm,vm,Vt,Pu=ee(()=>{p();d();ze=Au,Ge=Ou;typeof window.setTimeout=="function"&&(ze=setTimeout);typeof window.clearTimeout=="function"&&(Ge=clearTimeout);Re=[],Tt=!1,ni=-1;Iu.prototype.run=function(){this.fun.apply(null,this.array)};Qd="browser",$d="browser",Hd=!0,Jd={},Kd=[],Zd="",Xd={},em={},tm={};rm=ft,im=ft,nm=ft,sm=ft,om=ft,am=ft,um=ft;kt=window.performance||{},pm=kt.now||kt.mozNow||kt.msNow||kt.oNow||kt.webkitNow||function(){return new Date().getTime()};mm=new Date;vm={nextTick:Vd,title:Qd,browser:Hd,env:Jd,argv:Kd,version:Zd,versions:Xd,on:rm,addListener:im,once:nm,off:sm,removeListener:om,removeAllListeners:am,emit:um,binding:fm,cwd:lm,chdir:cm,umask:hm,hrtime:dm,platform:$d,release:em,config:tm,uptime:gm},Vt=vm});var Fn,Qt,Ru=ee(()=>{p();d();typeof Object.create=="function"?Fn=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:Fn=function(e,t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e};Qt=Fn});var Cu={};Ze(Cu,{_extend:()=>Mn,debuglog:()=>Du,default:()=>Tm,deprecate:()=>Ln,format:()=>si,inherits:()=>Qt,inspect:()=>ue,isArray:()=>Bn,isBoolean:()=>ui,isBuffer:()=>qu,isDate:()=>lt,isError:()=>ct,isFunction:()=>Qe,isNull:()=>Ee,isNullOrUndefined:()=>fi,isNumber:()=>jn,isObject:()=>_e,isPrimitive:()=>$t,isRegExp:()=>Ve,isString:()=>Ce,isSymbol:()=>Lu,isUndefined:()=>Se,log:()=>Mu,promisify:()=>li});function si(r){if(!Ce(r)){for(var e=[],t=0;t<arguments.length;t++)e.push(ue(arguments[t]));return e.join(" ")}for(var t=1,i=arguments,n=i.length,o=String(r).replace(ym,function(a){if(a==="%%")return"%";if(t>=n)return a;switch(a){case"%s":return String(i[t++]);case"%d":return Number(i[t++]);case"%j":try{return JSON.stringify(i[t++])}catch(u){return"[Circular]"}default:return a}}),s=i[t];t<n;s=i[++t])Ee(s)||!_e(s)?o+=" "+s:o+=" "+ue(s);return o}function Ln(r,e){if(Se(window.process))return function(){return Ln(r,e).apply(this,arguments)};if(Vt.noDeprecation===!0)return r;var t=!1;function i(){if(!t){if(Vt.throwDeprecation)throw new Error(e);Vt.traceDeprecation?console.trace(e):console.error(e),t=!0}return r.apply(this,arguments)}return i}function Du(r){if(Se(qn)&&(qn=Vt.env.NODE_DEBUG||""),r=r.toUpperCase(),!oi[r])if(new RegExp("\\b"+r+"\\b","i").test(qn)){var e=0;oi[r]=function(){var t=si.apply(null,arguments);console.error("%s %d: %s",r,e,t)}}else oi[r]=function(){};return oi[r]}function ue(r,e){var t={seen:[],stylize:xm};return arguments.length>=3&&(t.depth=arguments[2]),arguments.length>=4&&(t.colors=arguments[3]),ui(e)?t.showHidden=e:e&&Mn(t,e),Se(t.showHidden)&&(t.showHidden=!1),Se(t.depth)&&(t.depth=2),Se(t.colors)&&(t.colors=!1),Se(t.customInspect)&&(t.customInspect=!0),t.colors&&(t.stylize=wm),ai(t,r,t.depth)}function wm(r,e){var t=ue.styles[e];return t?"["+ue.colors[t][0]+"m"+r+"["+ue.colors[t][1]+"m":r}function xm(r,e){return r}function Em(r){var e={};return r.forEach(function(t,i){e[t]=!0}),e}function ai(r,e,t){if(r.customInspect&&e&&Qe(e.inspect)&&e.inspect!==ue&&!(e.constructor&&e.constructor.prototype===e)){var i=e.inspect(t,r);return Ce(i)||(i=ai(r,i,t)),i}var n=_m(r,e);if(n)return n;var o=Object.keys(e),s=Em(o);if(r.showHidden&&(o=Object.getOwnPropertyNames(e)),ct(e)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return Un(e);if(o.length===0){if(Qe(e)){var a=e.name?": "+e.name:"";return r.stylize("[Function"+a+"]","special")}if(Ve(e))return r.stylize(RegExp.prototype.toString.call(e),"regexp");if(lt(e))return r.stylize(Date.prototype.toString.call(e),"date");if(ct(e))return Un(e)}var u="",f=!1,l=["{","}"];if(Bn(e)&&(f=!0,l=["[","]"]),Qe(e)){var c=e.name?": "+e.name:"";u=" [Function"+c+"]"}if(Ve(e)&&(u=" "+RegExp.prototype.toString.call(e)),lt(e)&&(u=" "+Date.prototype.toUTCString.call(e)),ct(e)&&(u=" "+Un(e)),o.length===0&&(!f||e.length==0))return l[0]+u+l[1];if(t<0)return Ve(e)?r.stylize(RegExp.prototype.toString.call(e),"regexp"):r.stylize("[Object]","special");r.seen.push(e);var g;return f?g=Sm(r,e,t,s,o):g=o.map(function(m){return Nn(r,e,t,s,m,f)}),r.seen.pop(),bm(g,u,l)}function _m(r,e){if(Se(e))return r.stylize("undefined","undefined");if(Ce(e)){var t="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return r.stylize(t,"string")}if(jn(e))return r.stylize(""+e,"number");if(ui(e))return r.stylize(""+e,"boolean");if(Ee(e))return r.stylize("null","null")}function Un(r){return"["+Error.prototype.toString.call(r)+"]"}function Sm(r,e,t,i,n){for(var o=[],s=0,a=e.length;s<a;++s)Fu(e,String(s))?o.push(Nn(r,e,t,i,String(s),!0)):o.push("");return n.forEach(function(u){u.match(/^\d+$/)||o.push(Nn(r,e,t,i,u,!0))}),o}function Nn(r,e,t,i,n,o){var s,a,u;if(u=Object.getOwnPropertyDescriptor(e,n)||{value:e[n]},u.get?u.set?a=r.stylize("[Getter/Setter]","special"):a=r.stylize("[Getter]","special"):u.set&&(a=r.stylize("[Setter]","special")),Fu(i,n)||(s="["+n+"]"),a||(r.seen.indexOf(u.value)<0?(Ee(t)?a=ai(r,u.value,null):a=ai(r,u.value,t-1),a.indexOf(`
|
|
5
|
+
`)>-1&&(o?a=a.split(`
|
|
6
|
+
`).map(function(f){return" "+f}).join(`
|
|
7
|
+
`).substr(2):a=`
|
|
8
|
+
`+a.split(`
|
|
9
|
+
`).map(function(f){return" "+f}).join(`
|
|
10
|
+
`))):a=r.stylize("[Circular]","special")),Se(s)){if(o&&n.match(/^\d+$/))return a;s=JSON.stringify(""+n),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=r.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=r.stylize(s,"string"))}return s+": "+a}function bm(r,e,t){var i=0,n=r.reduce(function(o,s){return i++,s.indexOf(`
|
|
11
|
+
`)>=0&&i++,o+s.replace(/\u001b\[\d\d?m/g,"").length+1},0);return n>60?t[0]+(e===""?"":e+`
|
|
12
|
+
`)+" "+r.join(`,
|
|
13
|
+
`)+" "+t[1]:t[0]+e+" "+r.join(", ")+" "+t[1]}function Bn(r){return Array.isArray(r)}function ui(r){return typeof r=="boolean"}function Ee(r){return r===null}function fi(r){return r==null}function jn(r){return typeof r=="number"}function Ce(r){return typeof r=="string"}function Lu(r){return typeof r=="symbol"}function Se(r){return r===void 0}function Ve(r){return _e(r)&&Yn(r)==="[object RegExp]"}function _e(r){return typeof r=="object"&&r!==null}function lt(r){return _e(r)&&Yn(r)==="[object Date]"}function ct(r){return _e(r)&&(Yn(r)==="[object Error]"||r instanceof Error)}function Qe(r){return typeof r=="function"}function $t(r){return r===null||typeof r=="boolean"||typeof r=="number"||typeof r=="string"||typeof r=="symbol"||typeof r=="undefined"}function qu(r){return h.isBuffer(r)}function Yn(r){return Object.prototype.toString.call(r)}function Wn(r){return r<10?"0"+r.toString(10):r.toString(10)}function Om(){var r=new Date,e=[Wn(r.getHours()),Wn(r.getMinutes()),Wn(r.getSeconds())].join(":");return[r.getDate(),Am[r.getMonth()],e].join(" ")}function Mu(){console.log("%s - %s",Om(),si.apply(null,arguments))}function Mn(r,e){if(!e||!_e(e))return r;for(var t=Object.keys(e),i=t.length;i--;)r[t[i]]=e[t[i]];return r}function Fu(r,e){return Object.prototype.hasOwnProperty.call(r,e)}function li(r){return function(){return new Promise((e,t)=>{r(...arguments,function(i,n){return i!==null?t(i):e(n)})})}}var ym,oi,qn,Am,Tm,Ht=ee(()=>{p();d();Pu();Ru();ym=/%[sdj%]/g;oi={};ue.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};ue.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};Am=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];Tm={inherits:Qt,_extend:Mn,log:Mu,isBuffer:qu,isPrimitive:$t,isFunction:Qe,isError:ct,isDate:lt,isObject:_e,isRegExp:Ve,isUndefined:Se,isSymbol:Lu,isString:Ce,isNumber:jn,isNullOrUndefined:fi,isNull:Ee,isBoolean:ui,isArray:Bn,inspect:ue,deprecate:Ln,format:si,debuglog:Du}});var Uu={};Ze(Uu,{AssertionError:()=>hi,assert:()=>ci,deepEqual:()=>Qn,deepStrictEqual:()=>$n,default:()=>Im,doesNotThrow:()=>Zu,equal:()=>Gn,fail:()=>K,ifError:()=>Xu,notDeepEqual:()=>Hn,notDeepStrictEqual:()=>Jn,notEqual:()=>Vn,notStrictEqual:()=>Zn,ok:()=>ci,strictEqual:()=>Kn,throws:()=>Ku});function Nu(r,e){if(r===e)return 0;for(var t=r.length,i=e.length,n=0,o=Math.min(t,i);n<o;++n)if(r[n]!==e[n]){t=r[n],i=e[n];break}return t<i?-1:i<t?1:0}function Yu(){return typeof zn!="undefined"?zn:zn=function(){return function(){}.name==="foo"}()}function Wu(r){return Object.prototype.toString.call(r)}function zu(r){return ot(r)||typeof window.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(r):r?!!(r instanceof DataView||r.buffer&&r.buffer instanceof ArrayBuffer):!1}function Z(r,e){r||K(r,!0,e,"==",ci)}function Gu(r){if(!!Qe(r)){if(Yu())return r.name;var e=r.toString(),t=e.match(Pm);return t&&t[1]}}function hi(r){this.name="AssertionError",this.actual=r.actual,this.expected=r.expected,this.operator=r.operator,r.message?(this.message=r.message,this.generatedMessage=!1):(this.message=Rm(this),this.generatedMessage=!0);var e=r.stackStartFunction||K;if(Error.captureStackTrace)Error.captureStackTrace(this,e);else{var t=new Error;if(t.stack){var i=t.stack,n=Gu(e),o=i.indexOf(`
|
|
14
|
+
`+n);if(o>=0){var s=i.indexOf(`
|
|
15
|
+
`,o+1);i=i.substring(s+1)}this.stack=i}}}function Vu(r,e){return typeof r=="string"?r.length<e?r:r.slice(0,e):r}function Qu(r){if(Yu()||!Qe(r))return ue(r);var e=Gu(r),t=e?": "+e:"";return"[Function"+t+"]"}function Rm(r){return Vu(Qu(r.actual),128)+" "+r.operator+" "+Vu(Qu(r.expected),128)}function K(r,e,t,i,n){throw new hi({message:t,actual:r,expected:e,operator:i,stackStartFunction:n})}function ci(r,e){r||K(r,!0,e,"==",ci)}function Gn(r,e,t){r!=e&&K(r,e,t,"==",Gn)}function Vn(r,e,t){r==e&&K(r,e,t,"!=",Vn)}function Qn(r,e,t){It(r,e,!1)||K(r,e,t,"deepEqual",Qn)}function $n(r,e,t){It(r,e,!0)||K(r,e,t,"deepStrictEqual",$n)}function It(r,e,t,i){if(r===e)return!0;if(ot(r)&&ot(e))return Nu(r,e)===0;if(lt(r)&<(e))return r.getTime()===e.getTime();if(Ve(r)&&Ve(e))return r.source===e.source&&r.global===e.global&&r.multiline===e.multiline&&r.lastIndex===e.lastIndex&&r.ignoreCase===e.ignoreCase;if((r===null||typeof r!="object")&&(e===null||typeof e!="object"))return t?r===e:r==e;if(zu(r)&&zu(e)&&Wu(r)===Wu(e)&&!(r instanceof Float32Array||r instanceof Float64Array))return Nu(new Uint8Array(r.buffer),new Uint8Array(e.buffer))===0;if(ot(r)!==ot(e))return!1;i=i||{actual:[],expected:[]};var n=i.actual.indexOf(r);return n!==-1&&n===i.expected.indexOf(e)?!0:(i.actual.push(r),i.expected.push(e),Cm(r,e,t,i))}function $u(r){return Object.prototype.toString.call(r)=="[object Arguments]"}function Cm(r,e,t,i){if(r==null||e===null||e===void 0)return!1;if($t(r)||$t(e))return r===e;if(t&&Object.getPrototypeOf(r)!==Object.getPrototypeOf(e))return!1;var n=$u(r),o=$u(e);if(n&&!o||!n&&o)return!1;if(n)return r=ju.call(r),e=ju.call(e),It(r,e,t);var s=Bu(r),a=Bu(e),u,f;if(s.length!==a.length)return!1;for(s.sort(),a.sort(),f=s.length-1;f>=0;f--)if(s[f]!==a[f])return!1;for(f=s.length-1;f>=0;f--)if(u=s[f],!It(r[u],e[u],t,i))return!1;return!0}function Hn(r,e,t){It(r,e,!1)&&K(r,e,t,"notDeepEqual",Hn)}function Jn(r,e,t){It(r,e,!0)&&K(r,e,t,"notDeepStrictEqual",Jn)}function Kn(r,e,t){r!==e&&K(r,e,t,"===",Kn)}function Zn(r,e,t){r===e&&K(r,e,t,"!==",Zn)}function Hu(r,e){if(!r||!e)return!1;if(Object.prototype.toString.call(e)=="[object RegExp]")return e.test(r);try{if(r instanceof e)return!0}catch(t){}return Error.isPrototypeOf(e)?!1:e.call({},r)===!0}function Dm(r){var e;try{r()}catch(t){e=t}return e}function Ju(r,e,t,i){var n;if(typeof e!="function")throw new TypeError('"block" argument must be a function');typeof t=="string"&&(i=t,t=null),n=Dm(e),i=(t&&t.name?" ("+t.name+").":".")+(i?" "+i:"."),r&&!n&&K(n,t,"Missing expected exception"+i);var o=typeof i=="string",s=!r&&ct(n),a=!r&&n&&!t;if((s&&o&&Hu(n,t)||a)&&K(n,t,"Got unwanted exception"+i),r&&n&&t&&!Hu(n,t)||!r&&n)throw n}function Ku(r,e,t){Ju(!0,r,e,t)}function Zu(r,e,t){Ju(!1,r,e,t)}function Xu(r){if(r)throw r}var km,Bu,ju,zn,Im,Pm,ef=ee(()=>{p();d();bu();Ht();km=Object.prototype.hasOwnProperty,Bu=Object.keys||function(r){var e=[];for(var t in r)km.call(r,t)&&e.push(t);return e},ju=Array.prototype.slice;Im=Z,Pm=/\s*function\s+([^\(\s]*)\s*/;Z.AssertionError=hi;Qt(hi,Error);Z.fail=K;Z.ok=ci;Z.equal=Gn;Z.notEqual=Vn;Z.deepEqual=Qn;Z.deepStrictEqual=$n;Z.notDeepEqual=Hn;Z.notDeepStrictEqual=Jn;Z.strictEqual=Kn;Z.notStrictEqual=Zn;Z.throws=Ku;Z.doesNotThrow=Zu;Z.ifError=Xu});var Xn=S((q1,pi)=>{p();d();var ht=(ef(),Uu);if(ht&&ht.default){pi.exports=ht.default;for(let r in ht)pi.exports[r]=ht[r]}else ht&&(pi.exports=ht)});var es=S((M1,di)=>{p();d();var pt=(Ht(),Cu);if(pt&&pt.default){di.exports=pt.default;for(let r in pt)di.exports[r]=pt[r]}else pt&&(di.exports=pt)});var rs=S($e=>{p();d();$e.setopts=Fm;$e.ownProp=tf;$e.makeAbs=Jt;$e.finish=Lm;$e.mark=qm;$e.isIgnored=rf;$e.childrenIgnored=Mm;function tf(r,e){return Object.prototype.hasOwnProperty.call(r,e)}var Um=jt(),dt=he(),Nm=Jr(),nf=he().isAbsolute,ts=Nm.Minimatch;function Bm(r,e){return r.localeCompare(e,"en")}function Ym(r,e){r.ignore=e.ignore||[],Array.isArray(r.ignore)||(r.ignore=[r.ignore]),r.ignore.length&&(r.ignore=r.ignore.map(jm))}function jm(r){var e=null;if(r.slice(-3)==="/**"){var t=r.replace(/(\/\*\*)+$/,"");e=new ts(t,{dot:!0})}return{matcher:new ts(r,{dot:!0}),gmatcher:e}}function Fm(r,e,t){if(t||(t={}),t.matchBase&&e.indexOf("/")===-1){if(t.noglobstar)throw new Error("base matching requires globstar");e="**/"+e}r.silent=!!t.silent,r.pattern=e,r.strict=t.strict!==!1,r.realpath=!!t.realpath,r.realpathCache=t.realpathCache||Object.create(null),r.follow=!!t.follow,r.dot=!!t.dot,r.mark=!!t.mark,r.nodir=!!t.nodir,r.nodir&&(r.mark=!0),r.sync=!!t.sync,r.nounique=!!t.nounique,r.nonull=!!t.nonull,r.nosort=!!t.nosort,r.nocase=!!t.nocase,r.stat=!!t.stat,r.noprocess=!!t.noprocess,r.absolute=!!t.absolute,r.fs=t.fs||Um,r.maxLength=t.maxLength||Infinity,r.cache=t.cache||Object.create(null),r.statCache=t.statCache||Object.create(null),r.symlinks=t.symlinks||Object.create(null),Ym(r,t),r.changedCwd=!1;var i=y.cwd();tf(t,"cwd")?(r.cwd=dt.resolve(t.cwd),r.changedCwd=r.cwd!==i):r.cwd=dt.resolve(i),r.root=t.root||dt.resolve(r.cwd,"/"),r.root=dt.resolve(r.root),r.cwdAbs=nf(r.cwd)?r.cwd:Jt(r,r.cwd),r.nomount=!!t.nomount,y.platform==="win32"&&(r.root=r.root.replace(/\\/g,"/"),r.cwd=r.cwd.replace(/\\/g,"/"),r.cwdAbs=r.cwdAbs.replace(/\\/g,"/")),t.nonegate=!0,t.nocomment=!0,t.allowWindowsEscape=!0,r.minimatch=new ts(e,t),r.options=r.minimatch.options}function Lm(r){for(var e=r.nounique,t=e?[]:Object.create(null),i=0,n=r.matches.length;i<n;i++){var o=r.matches[i];if(!o||Object.keys(o).length===0){if(r.nonull){var s=r.minimatch.globSet[i];e?t.push(s):t[s]=!0}}else{var a=Object.keys(o);e?t.push.apply(t,a):a.forEach(function(u){t[u]=!0})}}if(e||(t=Object.keys(t)),r.nosort||(t=t.sort(Bm)),r.mark){for(var i=0;i<t.length;i++)t[i]=r._mark(t[i]);r.nodir&&(t=t.filter(function(u){var f=!/\/$/.test(u),l=r.cache[u]||r.cache[Jt(r,u)];return f&&l&&(f=l!=="DIR"&&!Array.isArray(l)),f}))}r.ignore.length&&(t=t.filter(function(u){return!rf(r,u)})),r.found=t}function qm(r,e){var t=Jt(r,e),i=r.cache[t],n=e;if(i){var o=i==="DIR"||Array.isArray(i),s=e.slice(-1)==="/";if(o&&!s?n+="/":!o&&s&&(n=n.slice(0,-1)),n!==e){var a=Jt(r,n);r.statCache[a]=r.statCache[t],r.cache[a]=r.cache[t]}}return n}function Jt(r,e){var t=e;return e.charAt(0)==="/"?t=dt.join(r.root,e):nf(e)||e===""?t=e:r.changedCwd?t=dt.resolve(r.cwd,e):t=dt.resolve(e),y.platform==="win32"&&(t=t.replace(/\\/g,"/")),t}function rf(r,e){return r.ignore.length?r.ignore.some(function(t){return t.matcher.match(e)||!!(t.gmatcher&&t.gmatcher.match(e))}):!1}function Mm(r,e){return r.ignore.length?r.ignore.some(function(t){return!!(t.gmatcher&&t.gmatcher.match(e))}):!1}});var ff=S((Y1,sf)=>{p();d();sf.exports=of;of.GlobSync=Q;var Wm=En(),af=Jr(),N1=af.Minimatch,B1=is().Glob,j1=es(),ns=he(),uf=Xn(),mi=he().isAbsolute,mt=rs(),zm=mt.setopts,ss=mt.ownProp,Gm=mt.childrenIgnored,Vm=mt.isIgnored;function of(r,e){if(typeof e=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
|
|
16
|
+
See: https://github.com/isaacs/node-glob/issues/167`);return new Q(r,e).found}function Q(r,e){if(!r)throw new Error("must provide pattern");if(typeof e=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
|
|
17
|
+
See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof Q))return new Q(r,e);if(zm(this,r,e),this.noprocess)return this;var t=this.minimatch.set.length;this.matches=new Array(t);for(var i=0;i<t;i++)this._process(this.minimatch.set[i],i,!1);this._finish()}Q.prototype._finish=function(){if(uf.ok(this instanceof Q),this.realpath){var r=this;this.matches.forEach(function(e,t){var i=r.matches[t]=Object.create(null);for(var n in e)try{n=r._makeAbs(n);var o=Wm.realpathSync(n,r.realpathCache);i[o]=!0}catch(s){if(s.syscall==="stat")i[r._makeAbs(n)]=!0;else throw s}})}mt.finish(this)};Q.prototype._process=function(r,e,t){uf.ok(this instanceof Q);for(var i=0;typeof r[i]=="string";)i++;var n;switch(i){case r.length:this._processSimple(r.join("/"),e);return;case 0:n=null;break;default:n=r.slice(0,i).join("/");break}var o=r.slice(i),s;n===null?s=".":((mi(n)||mi(r.map(function(f){return typeof f=="string"?f:"[*]"}).join("/")))&&(!n||!mi(n))&&(n="/"+n),s=n);var a=this._makeAbs(s);if(!Gm(this,s)){var u=o[0]===af.GLOBSTAR;u?this._processGlobStar(n,s,a,o,e,t):this._processReaddir(n,s,a,o,e,t)}};Q.prototype._processReaddir=function(r,e,t,i,n,o){var s=this._readdir(t,o);if(!!s){for(var a=i[0],u=!!this.minimatch.negate,f=a._glob,l=this.dot||f.charAt(0)===".",c=[],g=0;g<s.length;g++){var m=s[g];if(m.charAt(0)!=="."||l){var v;u&&!r?v=!m.match(a):v=m.match(a),v&&c.push(m)}}var k=c.length;if(k!==0){if(i.length===1&&!this.mark&&!this.stat){this.matches[n]||(this.matches[n]=Object.create(null));for(var g=0;g<k;g++){var m=c[g];r&&(r.slice(-1)!=="/"?m=r+"/"+m:m=r+m),m.charAt(0)==="/"&&!this.nomount&&(m=ns.join(this.root,m)),this._emitMatch(n,m)}return}i.shift();for(var g=0;g<k;g++){var m=c[g],w;r?w=[r,m]:w=[m],this._process(w.concat(i),n,o)}}}};Q.prototype._emitMatch=function(r,e){if(!Vm(this,e)){var t=this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=t),!this.matches[r][e]){if(this.nodir){var i=this.cache[t];if(i==="DIR"||Array.isArray(i))return}this.matches[r][e]=!0,this.stat&&this._stat(e)}}};Q.prototype._readdirInGlobStar=function(r){if(this.follow)return this._readdir(r,!1);var e,t,i;try{t=this.fs.lstatSync(r)}catch(o){if(o.code==="ENOENT")return null}var n=t&&t.isSymbolicLink();return this.symlinks[r]=n,!n&&t&&!t.isDirectory()?this.cache[r]="FILE":e=this._readdir(r,!1),e};Q.prototype._readdir=function(r,e){var t;if(e&&!ss(this.symlinks,r))return this._readdirInGlobStar(r);if(ss(this.cache,r)){var i=this.cache[r];if(!i||i==="FILE")return null;if(Array.isArray(i))return i}try{return this._readdirEntries(r,this.fs.readdirSync(r))}catch(n){return this._readdirError(r,n),null}};Q.prototype._readdirEntries=function(r,e){if(!this.mark&&!this.stat)for(var t=0;t<e.length;t++){var i=e[t];r==="/"?i=r+i:i=r+"/"+i,this.cache[i]=!0}return this.cache[r]=e,e};Q.prototype._readdirError=function(r,e){switch(e.code){case"ENOTSUP":case"ENOTDIR":var t=this._makeAbs(r);if(this.cache[t]="FILE",t===this.cwdAbs){var i=new Error(e.code+" invalid cwd "+this.cwd);throw i.path=this.cwd,i.code=e.code,i}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(r)]=!1;break;default:if(this.cache[this._makeAbs(r)]=!1,this.strict)throw e;this.silent||console.error("glob error",e);break}};Q.prototype._processGlobStar=function(r,e,t,i,n,o){var s=this._readdir(t,o);if(!!s){var a=i.slice(1),u=r?[r]:[],f=u.concat(a);this._process(f,n,!1);var l=s.length,c=this.symlinks[t];if(!(c&&o))for(var g=0;g<l;g++){var m=s[g];if(!(m.charAt(0)==="."&&!this.dot)){var v=u.concat(s[g],a);this._process(v,n,!0);var k=u.concat(s[g],i);this._process(k,n,!0)}}}};Q.prototype._processSimple=function(r,e){var t=this._stat(r);if(this.matches[e]||(this.matches[e]=Object.create(null)),!!t){if(r&&mi(r)&&!this.nomount){var i=/[\/\\]$/.test(r);r.charAt(0)==="/"?r=ns.join(this.root,r):(r=ns.resolve(this.root,r),i&&(r+="/"))}y.platform==="win32"&&(r=r.replace(/\\/g,"/")),this._emitMatch(e,r)}};Q.prototype._stat=function(r){var e=this._makeAbs(r),t=r.slice(-1)==="/";if(r.length>this.maxLength)return!1;if(!this.stat&&ss(this.cache,e)){var s=this.cache[e];if(Array.isArray(s)&&(s="DIR"),!t||s==="DIR")return s;if(t&&s==="FILE")return!1}var i,n=this.statCache[e];if(!n){var o;try{o=this.fs.lstatSync(e)}catch(a){if(a&&(a.code==="ENOENT"||a.code==="ENOTDIR"))return this.statCache[e]=!1,!1}if(o&&o.isSymbolicLink())try{n=this.fs.statSync(e)}catch(a){n=o}else n=o}this.statCache[e]=n;var s=!0;return n&&(s=n.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||s,t&&s==="FILE"?!1:s};Q.prototype._mark=function(r){return mt.mark(this,r)};Q.prototype._makeAbs=function(r){return mt.makeAbs(this,r)}});var os=S((W1,lf)=>{p();d();lf.exports=cf;function cf(r,e){if(r&&e)return cf(r)(e);if(typeof r!="function")throw new TypeError("need wrapper function");return Object.keys(r).forEach(function(i){t[i]=r[i]}),t;function t(){for(var i=new Array(arguments.length),n=0;n<i.length;n++)i[n]=arguments[n];var o=r.apply(this,i),s=i[i.length-1];return typeof o=="function"&&o!==s&&Object.keys(s).forEach(function(a){o[a]=s[a]}),o}}});var us=S((z1,as)=>{p();d();var hf=os();as.exports=hf(gi);as.exports.strict=hf(pf);gi.proto=gi(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return gi(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return pf(this)},configurable:!0})});function gi(r){var e=function(){return e.called?e.value:(e.called=!0,e.value=r.apply(this,arguments))};return e.called=!1,e}function pf(r){var e=function(){if(e.called)throw new Error(e.onceError);return e.called=!0,e.value=r.apply(this,arguments)},t=r.name||"Function wrapped with `once`";return e.onceError=t+" shouldn't be called more than once",e.called=!1,e}});var mf=S((G1,df)=>{p();d();var Qm=os(),Kt=Object.create(null),$m=us();df.exports=Qm(Hm);function Hm(r,e){return Kt[r]?(Kt[r].push(e),null):(Kt[r]=[e],Jm(r))}function Jm(r){return $m(function e(){var t=Kt[r],i=t.length,n=Km(arguments);try{for(var o=0;o<i;o++)t[o].apply(null,n)}finally{t.length>i?(t.splice(0,i),y.nextTick(function(){e.apply(null,n)})):delete Kt[r]}})}function Km(r){for(var e=r.length,t=[],i=0;i<e;i++)t[i]=r[i];return t}});var is=S(($1,gf)=>{p();d();gf.exports=gt;var Zm=En(),vf=Jr(),V1=vf.Minimatch,Xm=Xa(),e0=ou().EventEmitter,fs=he(),ls=Xn(),Zt=he().isAbsolute,cs=ff(),vt=rs(),t0=vt.setopts,hs=vt.ownProp,ps=mf(),Q1=es(),r0=vt.childrenIgnored,i0=vt.isIgnored,n0=us();function gt(r,e,t){if(typeof e=="function"&&(t=e,e={}),e||(e={}),e.sync){if(t)throw new TypeError("callback provided to sync glob");return cs(r,e)}return new L(r,e,t)}gt.sync=cs;var s0=gt.GlobSync=cs.GlobSync;gt.glob=gt;function o0(r,e){if(e===null||typeof e!="object")return r;for(var t=Object.keys(e),i=t.length;i--;)r[t[i]]=e[t[i]];return r}gt.hasMagic=function(r,e){var t=o0({},e);t.noprocess=!0;var i=new L(r,t),n=i.minimatch.set;if(!r)return!1;if(n.length>1)return!0;for(var o=0;o<n[0].length;o++)if(typeof n[0][o]!="string")return!0;return!1};gt.Glob=L;Xm(L,e0);function L(r,e,t){if(typeof e=="function"&&(t=e,e=null),e&&e.sync){if(t)throw new TypeError("callback provided to sync glob");return new s0(r,e)}if(!(this instanceof L))return new L(r,e,t);t0(this,r,e),this._didRealPath=!1;var i=this.minimatch.set.length;this.matches=new Array(i),typeof t=="function"&&(t=n0(t),this.on("error",t),this.on("end",function(u){t(null,u)}));var n=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(i===0)return a();for(var o=!0,s=0;s<i;s++)this._process(this.minimatch.set[s],s,!1,a);o=!1;function a(){--n._processing,n._processing<=0&&(o?y.nextTick(function(){n._finish()}):n._finish())}}L.prototype._finish=function(){if(ls(this instanceof L),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();vt.finish(this),this.emit("end",this.found)}};L.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=!0;var r=this.matches.length;if(r===0)return this._finish();for(var e=this,t=0;t<this.matches.length;t++)this._realpathSet(t,i);function i(){--r==0&&e._finish()}};L.prototype._realpathSet=function(r,e){var t=this.matches[r];if(!t)return e();var i=Object.keys(t),n=this,o=i.length;if(o===0)return e();var s=this.matches[r]=Object.create(null);i.forEach(function(a,u){a=n._makeAbs(a),Zm.realpath(a,n.realpathCache,function(f,l){f?f.syscall==="stat"?s[a]=!0:n.emit("error",f):s[l]=!0,--o==0&&(n.matches[r]=s,e())})})};L.prototype._mark=function(r){return vt.mark(this,r)};L.prototype._makeAbs=function(r){return vt.makeAbs(this,r)};L.prototype.abort=function(){this.aborted=!0,this.emit("abort")};L.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))};L.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var r=this._emitQueue.slice(0);this._emitQueue.length=0;for(var e=0;e<r.length;e++){var t=r[e];this._emitMatch(t[0],t[1])}}if(this._processQueue.length){var i=this._processQueue.slice(0);this._processQueue.length=0;for(var e=0;e<i.length;e++){var n=i[e];this._processing--,this._process(n[0],n[1],n[2],n[3])}}}};L.prototype._process=function(r,e,t,i){if(ls(this instanceof L),ls(typeof i=="function"),!this.aborted){if(this._processing++,this.paused){this._processQueue.push([r,e,t,i]);return}for(var n=0;typeof r[n]=="string";)n++;var o;switch(n){case r.length:this._processSimple(r.join("/"),e,i);return;case 0:o=null;break;default:o=r.slice(0,n).join("/");break}var s=r.slice(n),a;o===null?a=".":((Zt(o)||Zt(r.map(function(l){return typeof l=="string"?l:"[*]"}).join("/")))&&(!o||!Zt(o))&&(o="/"+o),a=o);var u=this._makeAbs(a);if(r0(this,a))return i();var f=s[0]===vf.GLOBSTAR;f?this._processGlobStar(o,a,u,s,e,t,i):this._processReaddir(o,a,u,s,e,t,i)}};L.prototype._processReaddir=function(r,e,t,i,n,o,s){var a=this;this._readdir(t,o,function(u,f){return a._processReaddir2(r,e,t,i,n,o,f,s)})};L.prototype._processReaddir2=function(r,e,t,i,n,o,s,a){if(!s)return a();for(var u=i[0],f=!!this.minimatch.negate,l=u._glob,c=this.dot||l.charAt(0)===".",g=[],m=0;m<s.length;m++){var v=s[m];if(v.charAt(0)!=="."||c){var k;f&&!r?k=!v.match(u):k=v.match(u),k&&g.push(v)}}var w=g.length;if(w===0)return a();if(i.length===1&&!this.mark&&!this.stat){this.matches[n]||(this.matches[n]=Object.create(null));for(var m=0;m<w;m++){var v=g[m];r&&(r!=="/"?v=r+"/"+v:v=r+v),v.charAt(0)==="/"&&!this.nomount&&(v=fs.join(this.root,v)),this._emitMatch(n,v)}return a()}i.shift();for(var m=0;m<w;m++){var v=g[m],E;r&&(r!=="/"?v=r+"/"+v:v=r+v),this._process([v].concat(i),n,o,a)}a()};L.prototype._emitMatch=function(r,e){if(!this.aborted&&!i0(this,e)){if(this.paused){this._emitQueue.push([r,e]);return}var t=Zt(e)?e:this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=t),!this.matches[r][e]){if(this.nodir){var i=this.cache[t];if(i==="DIR"||Array.isArray(i))return}this.matches[r][e]=!0;var n=this.statCache[t];n&&this.emit("stat",e,n),this.emit("match",e)}}};L.prototype._readdirInGlobStar=function(r,e){if(this.aborted)return;if(this.follow)return this._readdir(r,!1,e);var t="lstat\0"+r,i=this,n=ps(t,o);n&&i.fs.lstat(r,n);function o(s,a){if(s&&s.code==="ENOENT")return e();var u=a&&a.isSymbolicLink();i.symlinks[r]=u,!u&&a&&!a.isDirectory()?(i.cache[r]="FILE",e()):i._readdir(r,!1,e)}};L.prototype._readdir=function(r,e,t){if(!this.aborted&&(t=ps("readdir\0"+r+"\0"+e,t),!!t)){if(e&&!hs(this.symlinks,r))return this._readdirInGlobStar(r,t);if(hs(this.cache,r)){var i=this.cache[r];if(!i||i==="FILE")return t();if(Array.isArray(i))return t(null,i)}var n=this;n.fs.readdir(r,a0(this,r,t))}};function a0(r,e,t){return function(i,n){i?r._readdirError(e,i,t):r._readdirEntries(e,n,t)}}L.prototype._readdirEntries=function(r,e,t){if(!this.aborted){if(!this.mark&&!this.stat)for(var i=0;i<e.length;i++){var n=e[i];r==="/"?n=r+n:n=r+"/"+n,this.cache[n]=!0}return this.cache[r]=e,t(null,e)}};L.prototype._readdirError=function(r,e,t){if(!this.aborted){switch(e.code){case"ENOTSUP":case"ENOTDIR":var i=this._makeAbs(r);if(this.cache[i]="FILE",i===this.cwdAbs){var n=new Error(e.code+" invalid cwd "+this.cwd);n.path=this.cwd,n.code=e.code,this.emit("error",n),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(r)]=!1;break;default:this.cache[this._makeAbs(r)]=!1,this.strict&&(this.emit("error",e),this.abort()),this.silent||console.error("glob error",e);break}return t()}};L.prototype._processGlobStar=function(r,e,t,i,n,o,s){var a=this;this._readdir(t,o,function(u,f){a._processGlobStar2(r,e,t,i,n,o,f,s)})};L.prototype._processGlobStar2=function(r,e,t,i,n,o,s,a){if(!s)return a();var u=i.slice(1),f=r?[r]:[],l=f.concat(u);this._process(l,n,!1,a);var c=this.symlinks[t],g=s.length;if(c&&o)return a();for(var m=0;m<g;m++){var v=s[m];if(!(v.charAt(0)==="."&&!this.dot)){var k=f.concat(s[m],u);this._process(k,n,!0,a);var w=f.concat(s[m],i);this._process(w,n,!0,a)}}a()};L.prototype._processSimple=function(r,e,t){var i=this;this._stat(r,function(n,o){i._processSimple2(r,e,n,o,t)})};L.prototype._processSimple2=function(r,e,t,i,n){if(this.matches[e]||(this.matches[e]=Object.create(null)),!i)return n();if(r&&Zt(r)&&!this.nomount){var o=/[\/\\]$/.test(r);r.charAt(0)==="/"?r=fs.join(this.root,r):(r=fs.resolve(this.root,r),o&&(r+="/"))}y.platform==="win32"&&(r=r.replace(/\\/g,"/")),this._emitMatch(e,r),n()};L.prototype._stat=function(r,e){var t=this._makeAbs(r),i=r.slice(-1)==="/";if(r.length>this.maxLength)return e();if(!this.stat&&hs(this.cache,t)){var n=this.cache[t];if(Array.isArray(n)&&(n="DIR"),!i||n==="DIR")return e(null,n);if(i&&n==="FILE")return e()}var o,s=this.statCache[t];if(s!==void 0){if(s===!1)return e(null,s);var a=s.isDirectory()?"DIR":"FILE";return i&&a==="FILE"?e():e(null,a,s)}var u=this,f=ps("stat\0"+t,l);f&&u.fs.lstat(t,f);function l(c,g){if(g&&g.isSymbolicLink())return u.fs.stat(t,function(m,v){m?u._stat2(r,t,null,g,e):u._stat2(r,t,m,v,e)});u._stat2(r,t,c,g,e)}};L.prototype._stat2=function(r,e,t,i,n){if(t&&(t.code==="ENOENT"||t.code==="ENOTDIR"))return this.statCache[e]=!1,n();var o=r.slice(-1)==="/";if(this.statCache[e]=i,e.slice(-1)==="/"&&i&&!i.isDirectory())return n(null,!1,i);var s=!0;return i&&(s=i.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||s,o&&s==="FILE"?n():n(null,s,i)}});var wf=S((H1,ds)=>{p();d();var j=String,yf=function(){return{isColorSupported:!1,reset:j,bold:j,dim:j,italic:j,underline:j,inverse:j,hidden:j,strikethrough:j,black:j,red:j,green:j,yellow:j,blue:j,magenta:j,cyan:j,white:j,gray:j,bgBlack:j,bgRed:j,bgGreen:j,bgYellow:j,bgBlue:j,bgMagenta:j,bgCyan:j,bgWhite:j}};ds.exports=yf();ds.exports.createColors=yf});var ms=S(()=>{p();d()});var vi=S((Z1,xf)=>{p();d();"use strict";var Ef=wf(),_f=ms(),Pt=class extends Error{constructor(e,t,i,n,o,s){super(e);this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),n&&(this.source=n),s&&(this.plugin=s),typeof t!="undefined"&&typeof i!="undefined"&&(typeof t=="number"?(this.line=t,this.column=i):(this.line=t.line,this.column=t.column,this.endLine=i.line,this.endColumn=i.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,Pt)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line!="undefined"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;e==null&&(e=Ef.isColorSupported),_f&&e&&(t=_f(t));let i=t.split(/\r?\n/),n=Math.max(this.line-3,0),o=Math.min(this.line+2,i.length),s=String(o).length,a,u;if(e){let{bold:f,red:l,gray:c}=Ef.createColors(!0);a=g=>f(l(g)),u=g=>c(g)}else a=u=f=>f;return i.slice(n,o).map((f,l)=>{let c=n+1+l,g=" "+(" "+c).slice(-s)+" | ";if(c===this.line){let m=u(g.replace(/\d/g," "))+f.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+u(g)+f+`
|
|
18
|
+
`+m+a("^")}return" "+u(g)+f}).join(`
|
|
19
|
+
`)}toString(){let e=this.showSourceCode();return e&&(e=`
|
|
20
|
+
|
|
21
|
+
`+e+`
|
|
22
|
+
`),this.name+": "+this.message+e}};xf.exports=Pt;Pt.default=Pt});var yi=S((X1,gs)=>{p();d();"use strict";gs.exports.isClean=Symbol("isClean");gs.exports.my=Symbol("my")});var vs=S((eE,Sf)=>{p();d();"use strict";var bf={colon:": ",indent:" ",beforeDecl:`
|
|
23
|
+
`,beforeRule:`
|
|
24
|
+
`,beforeOpen:" ",beforeClose:`
|
|
25
|
+
`,beforeComment:`
|
|
26
|
+
`,after:`
|
|
27
|
+
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function u0(r){return r[0].toUpperCase()+r.slice(1)}var wi=class{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft"),i=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+i+"*/",e)}decl(e,t){let i=this.raw(e,"between","colon"),n=e.prop+i+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),t&&(n+=";"),this.builder(n,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,t){let i="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!="undefined"?i+=e.raws.afterName:n&&(i+=" "),e.nodes)this.block(e,i+n);else{let o=(e.raws.between||"")+(t?";":"");this.builder(i+n+o,e)}}body(e){let t=e.nodes.length-1;for(;t>0&&e.nodes[t].type==="comment";)t-=1;let i=this.raw(e,"semicolon");for(let n=0;n<e.nodes.length;n++){let o=e.nodes[n],s=this.raw(o,"before");s&&this.builder(s),this.stringify(o,t!==n||i)}}block(e,t){let i=this.raw(e,"between","beforeOpen");this.builder(t+i+"{",e,"start");let n;e.nodes&&e.nodes.length?(this.body(e),n=this.raw(e,"after")):n=this.raw(e,"after","emptyBody"),n&&this.builder(n),this.builder("}",e,"end")}raw(e,t,i){let n;if(i||(i=t),t&&(n=e.raws[t],typeof n!="undefined"))return n;let o=e.parent;if(i==="before"&&(!o||o.type==="root"&&o.first===e||o&&o.type==="document"))return"";if(!o)return bf[i];let s=e.root();if(s.rawCache||(s.rawCache={}),typeof s.rawCache[i]!="undefined")return s.rawCache[i];if(i==="before"||i==="after")return this.beforeAfter(e,i);{let a="raw"+u0(i);this[a]?n=this[a](s,e):s.walk(u=>{if(n=u.raws[t],typeof n!="undefined")return!1})}return typeof n=="undefined"&&(n=bf[i]),s.rawCache[i]=n,n}rawSemicolon(e){let t;return e.walk(i=>{if(i.nodes&&i.nodes.length&&i.last.type==="decl"&&(t=i.raws.semicolon,typeof t!="undefined"))return!1}),t}rawEmptyBody(e){let t;return e.walk(i=>{if(i.nodes&&i.nodes.length===0&&(t=i.raws.after,typeof t!="undefined"))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(i=>{let n=i.parent;if(n&&n!==e&&n.parent&&n.parent===e&&typeof i.raws.before!="undefined"){let o=i.raws.before.split(`
|
|
28
|
+
`);return t=o[o.length-1],t=t.replace(/\S/g,""),!1}}),t}rawBeforeComment(e,t){let i;return e.walkComments(n=>{if(typeof n.raws.before!="undefined")return i=n.raws.before,i.includes(`
|
|
29
|
+
`)&&(i=i.replace(/[^\n]+$/,"")),!1}),typeof i=="undefined"?i=this.raw(t,null,"beforeDecl"):i&&(i=i.replace(/\S/g,"")),i}rawBeforeDecl(e,t){let i;return e.walkDecls(n=>{if(typeof n.raws.before!="undefined")return i=n.raws.before,i.includes(`
|
|
30
|
+
`)&&(i=i.replace(/[^\n]+$/,"")),!1}),typeof i=="undefined"?i=this.raw(t,null,"beforeRule"):i&&(i=i.replace(/\S/g,"")),i}rawBeforeRule(e){let t;return e.walk(i=>{if(i.nodes&&(i.parent!==e||e.first!==i)&&typeof i.raws.before!="undefined")return t=i.raws.before,t.includes(`
|
|
31
|
+
`)&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeClose(e){let t;return e.walk(i=>{if(i.nodes&&i.nodes.length>0&&typeof i.raws.after!="undefined")return t=i.raws.after,t.includes(`
|
|
32
|
+
`)&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeOpen(e){let t;return e.walk(i=>{if(i.type!=="decl"&&(t=i.raws.between,typeof t!="undefined"))return!1}),t}rawColon(e){let t;return e.walkDecls(i=>{if(typeof i.raws.between!="undefined")return t=i.raws.between.replace(/[^\s:]/g,""),!1}),t}beforeAfter(e,t){let i;e.type==="decl"?i=this.raw(e,null,"beforeDecl"):e.type==="comment"?i=this.raw(e,null,"beforeComment"):t==="before"?i=this.raw(e,null,"beforeRule"):i=this.raw(e,null,"beforeClose");let n=e.parent,o=0;for(;n&&n.type!=="root";)o+=1,n=n.parent;if(i.includes(`
|
|
33
|
+
`)){let s=this.raw(e,null,"indent");if(s.length)for(let a=0;a<o;a++)i+=s}return i}rawValue(e,t){let i=e[t],n=e.raws[t];return n&&n.value===i?n.raw:i}};Sf.exports=wi;wi.default=wi});var Xt=S((tE,Af)=>{p();d();"use strict";var f0=vs();function ys(r,e){new f0(e).stringify(r)}Af.exports=ys;ys.default=ys});var er=S((rE,Of)=>{p();d();"use strict";var{isClean:xi,my:l0}=yi(),c0=vi(),h0=vs(),p0=Xt();function ws(r,e){let t=new r.constructor;for(let i in r){if(!Object.prototype.hasOwnProperty.call(r,i)||i==="proxyCache")continue;let n=r[i],o=typeof n;i==="parent"&&o==="object"?e&&(t[i]=e):i==="source"?t[i]=n:Array.isArray(n)?t[i]=n.map(s=>ws(s,t)):(o==="object"&&n!==null&&(n=ws(n)),t[i]=n)}return t}var Ei=class{constructor(e={}){this.raws={},this[xi]=!1,this[l0]=!0;for(let t in e)if(t==="nodes"){this.nodes=[];for(let i of e[t])typeof i.clone=="function"?this.append(i.clone()):this.append(i)}else this[t]=e[t]}error(e,t={}){if(this.source){let{start:i,end:n}=this.rangeBy(t);return this.source.input.error(e,{line:i.line,column:i.column},{line:n.line,column:n.column},t)}return new c0(e)}warn(e,t,i){let n={node:this};for(let o in i)n[o]=i[o];return e.warn(t,n)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=p0){e.stringify&&(e=e.stringify);let t="";return e(this,i=>{t+=i}),t}assign(e={}){for(let t in e)this[t]=e[t];return this}clone(e={}){let t=ws(this);for(let i in e)t[i]=e[i];return t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}replaceWith(...e){if(this.parent){let t=this,i=!1;for(let n of e)n===this?i=!0:i?(this.parent.insertAfter(t,n),t=n):this.parent.insertBefore(t,n);i||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}raw(e,t){return new h0().raw(this,e,t)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,t){let i={},n=t==null;t=t||new Map;let o=0;for(let s in this){if(!Object.prototype.hasOwnProperty.call(this,s)||s==="parent"||s==="proxyCache")continue;let a=this[s];if(Array.isArray(a))i[s]=a.map(u=>typeof u=="object"&&u.toJSON?u.toJSON(null,t):u);else if(typeof a=="object"&&a.toJSON)i[s]=a.toJSON(null,t);else if(s==="source"){let u=t.get(a.input);u==null&&(u=o,t.set(a.input,o),o++),i[s]={inputId:u,start:a.start,end:a.end}}else i[s]=a}return n&&(i.inputs=[...t.keys()].map(s=>s.toJSON())),i}positionInside(e){let t=this.toString(),i=this.source.start.column,n=this.source.start.line;for(let o=0;o<e;o++)t[o]===`
|
|
34
|
+
`?(i=1,n+=1):i+=1;return{line:n,column:i}}positionBy(e){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let i=this.toString().indexOf(e.word);i!==-1&&(t=this.positionInside(i))}return t}rangeBy(e){let t={line:this.source.start.line,column:this.source.start.column},i=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:t.line,column:t.column+1};if(e.word){let n=this.toString().indexOf(e.word);n!==-1&&(t=this.positionInside(n),i=this.positionInside(n+e.word.length))}else e.start?t={line:e.start.line,column:e.start.column}:e.index&&(t=this.positionInside(e.index)),e.end?i={line:e.end.line,column:e.end.column}:e.endIndex?i=this.positionInside(e.endIndex):e.index&&(i=this.positionInside(e.index+1));return(i.line<t.line||i.line===t.line&&i.column<=t.column)&&(i={line:t.line,column:t.column+1}),{start:t,end:i}}getProxyProcessor(){return{set(e,t,i){return e[t]===i||(e[t]=i,(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text")&&e.markDirty()),!0},get(e,t){return t==="proxyOf"?e:t==="root"?()=>e.root().toProxy():e[t]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[xi]){this[xi]=!1;let e=this;for(;e=e.parent;)e[xi]=!1}}get proxyOf(){return this}};Of.exports=Ei;Ei.default=Ei});var tr=S((iE,Tf)=>{p();d();"use strict";var d0=er(),_i=class extends d0{constructor(e){e&&typeof e.value!="undefined"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};Tf.exports=_i;_i.default=_i});var Si=S(()=>{p();d()});function If(r){throw new RangeError(_0[r])}function S0(r,e){for(var t=r.length,i=[];t--;)i[t]=e(r[t]);return i}function b0(r,e){var t=r.split("@"),i="";t.length>1&&(i=t[0]+"@",r=t[1]),r=r.replace(E0,".");var n=r.split("."),o=S0(n,e).join(".");return i+o}function A0(r){for(var e=[],t=0,i=r.length,n,o;t<i;)n=r.charCodeAt(t++),n>=55296&&n<=56319&&t<i?(o=r.charCodeAt(t++),(o&64512)==56320?e.push(((n&1023)<<10)+(o&1023)+65536):(e.push(n),t--)):e.push(n);return e}function Pf(r,e){return r+22+75*(r<26)-((e!=0)<<5)}function O0(r,e,t){var i=0;for(r=t?Rt(r/g0):r>>1,r+=Rt(r/e);r>_s*Es>>1;i+=rr)r=Rt(r/_s);return Rt(i+(_s+1)*r/(r+m0))}function T0(r){var e,t,i,n,o,s,a,u,f,l,c,g=[],m,v,k,w;for(r=A0(r),m=r.length,e=y0,t=0,o=v0,s=0;s<m;++s)c=r[s],c<128&&g.push(Ss(c));for(i=n=g.length,n&&g.push(w0);i<m;){for(a=xs,s=0;s<m;++s)c=r[s],c>=e&&c<a&&(a=c);for(v=i+1,a-e>Rt((xs-t)/v)&&If("overflow"),t+=(a-e)*v,e=a,s=0;s<m;++s)if(c=r[s],c<e&&++t>xs&&If("overflow"),c==e){for(u=t,f=rr;l=f<=o?kf:f>=o+Es?Es:f-o,!(u<l);f+=rr)w=u-l,k=rr-l,g.push(Ss(Pf(l+w%k,0))),u=Rt(w/k);g.push(Ss(Pf(u,0))),o=O0(t,v,i==n),t=0,++i}++t,++e}return g.join("")}function Rf(r){return b0(r,function(e){return x0.test(e)?"xn--"+T0(e):e})}var xs,rr,kf,Es,m0,g0,v0,y0,w0,x0,E0,_0,_s,Rt,Ss,Cf=ee(()=>{p();d();xs=2147483647,rr=36,kf=1,Es=26,m0=38,g0=700,v0=72,y0=128,w0="-",x0=/[^\x20-\x7E]/,E0=/[\x2E\u3002\uFF0E\uFF61]/g,_0={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},_s=rr-kf,Rt=Math.floor,Ss=String.fromCharCode});function k0(r,e){return Object.prototype.hasOwnProperty.call(r,e)}function ir(r){switch(typeof r){case"string":return r;case"boolean":return r?"true":"false";case"number":return isFinite(r)?r:"";default:return""}}function Lf(r,e,t,i){return e=e||"&",t=t||"=",r===null&&(r=void 0),typeof r=="object"?Ff(I0(r),function(n){var o=encodeURIComponent(ir(n))+t;return Df(r[n])?Ff(r[n],function(s){return o+encodeURIComponent(ir(s))}).join(e):o+encodeURIComponent(ir(r[n]))}).join(e):i?encodeURIComponent(ir(i))+t+encodeURIComponent(ir(r)):""}function Ff(r,e){if(r.map)return r.map(e);for(var t=[],i=0;i<r.length;i++)t.push(e(r[i],i));return t}function bs(r,e,t,i){e=e||"&",t=t||"=";var n={};if(typeof r!="string"||r.length===0)return n;var o=/\+/g;r=r.split(e);var s=1e3;i&&typeof i.maxKeys=="number"&&(s=i.maxKeys);var a=r.length;s>0&&a>s&&(a=s);for(var u=0;u<a;++u){var f=r[u].replace(o,"%20"),l=f.indexOf(t),c,g,m,v;l>=0?(c=f.substr(0,l),g=f.substr(l+1)):(c=f,g=""),m=decodeURIComponent(c),v=decodeURIComponent(g),k0(n,m)?Df(n[m])?n[m].push(v):n[m]=[n[m],v]:n[m]=v}return n}var Df,I0,qf=ee(()=>{p();d();Df=Array.isArray||function(r){return Object.prototype.toString.call(r)==="[object Array]"};I0=Object.keys||function(r){var e=[];for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&e.push(t);return e}});var Mf={};Ze(Mf,{Url:()=>de,default:()=>P0,format:()=>Uf,parse:()=>nr,resolve:()=>Nf,resolveObject:()=>Bf});function de(){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 nr(r,e,t){if(r&&_e(r)&&r instanceof de)return r;var i=new de;return i.parse(r,e,t),i}function zf(r,e,t,i){if(!Ce(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var n=e.indexOf("?"),o=n!==-1&&n<e.indexOf("#")?"?":"#",s=e.split(o),a=/\\/g;s[0]=s[0].replace(a,"/"),e=s.join(o);var u=e;if(u=u.trim(),!i&&e.split("#").length===1){var f=D0.exec(u);if(f)return r.path=u,r.href=u,r.pathname=f[1],f[2]?(r.search=f[2],t?r.query=bs(r.search.substr(1)):r.query=r.search.substr(1)):t&&(r.search="",r.query={}),r}var l=R0.exec(u);if(l){l=l[0];var c=l.toLowerCase();r.protocol=c,u=u.substr(l.length)}if(i||l||u.match(/^\/\/[^@\/]+@[^@\/]+/)){var g=u.substr(0,2)==="//";g&&!(l&&Os[l])&&(u=u.substr(2),r.slashes=!0)}var m,v,k,w;if(!Os[l]&&(g||l&&!Ct[l])){var E=-1;for(m=0;m<Yf.length;m++)v=u.indexOf(Yf[m]),v!==-1&&(E===-1||v<E)&&(E=v);var R,A;for(E===-1?A=u.lastIndexOf("@"):A=u.lastIndexOf("@",E),A!==-1&&(R=u.slice(0,A),u=u.slice(A+1),r.auth=decodeURIComponent(R)),E=-1,m=0;m<jf.length;m++)v=u.indexOf(jf[m]),v!==-1&&(E===-1||v<E)&&(E=v);E===-1&&(E=u.length),r.host=u.slice(0,E),u=u.slice(E),Gf(r),r.hostname=r.hostname||"";var P=r.hostname[0]==="["&&r.hostname[r.hostname.length-1]==="]";if(!P){var O=r.hostname.split(/\./);for(m=0,k=O.length;m<k;m++){var C=O[m];if(!!C&&!C.match(Wf)){for(var V="",D=0,W=C.length;D<W;D++)C.charCodeAt(D)>127?V+="x":V+=C[D];if(!V.match(Wf)){var X=O.slice(0,m),Oe=O.slice(m+1),Je=C.match(M0);Je&&(X.push(Je[1]),Oe.unshift(Je[2])),Oe.length&&(u="/"+Oe.join(".")+u),r.hostname=X.join(".");break}}}}r.hostname.length>q0?r.hostname="":r.hostname=r.hostname.toLowerCase(),P||(r.hostname=Rf(r.hostname)),w=r.port?":"+r.port:"";var St=r.hostname||"";r.host=St+w,r.href+=r.host,P&&(r.hostname=r.hostname.substr(1,r.hostname.length-2),u[0]!=="/"&&(u="/"+u))}if(!U0[c])for(m=0,k=As.length;m<k;m++){var Ke=As[m];if(u.indexOf(Ke)!==-1){var sn=encodeURIComponent(Ke);sn===Ke&&(sn=escape(Ke)),u=u.split(Ke).join(sn)}}var on=u.indexOf("#");on!==-1&&(r.hash=u.substr(on),u=u.slice(0,on));var qr=u.indexOf("?");if(qr!==-1?(r.search=u.substr(qr),r.query=u.substr(qr+1),t&&(r.query=bs(r.query)),u=u.slice(0,qr)):t&&(r.search="",r.query={}),u&&(r.pathname=u),Ct[c]&&r.hostname&&!r.pathname&&(r.pathname="/"),r.pathname||r.search){w=r.pathname||"";var bh=r.search||"";r.path=w+bh}return r.href=Ts(r),r}function Uf(r){return Ce(r)&&(r=zf({},r)),Ts(r)}function Ts(r){var e=r.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=r.protocol||"",i=r.pathname||"",n=r.hash||"",o=!1,s="";r.host?o=e+r.host:r.hostname&&(o=e+(r.hostname.indexOf(":")===-1?r.hostname:"["+this.hostname+"]"),r.port&&(o+=":"+r.port)),r.query&&_e(r.query)&&Object.keys(r.query).length&&(s=Lf(r.query));var a=r.search||s&&"?"+s||"";return t&&t.substr(-1)!==":"&&(t+=":"),r.slashes||(!t||Ct[t])&&o!==!1?(o="//"+(o||""),i&&i.charAt(0)!=="/"&&(i="/"+i)):o||(o=""),n&&n.charAt(0)!=="#"&&(n="#"+n),a&&a.charAt(0)!=="?"&&(a="?"+a),i=i.replace(/[?#]/g,function(u){return encodeURIComponent(u)}),a=a.replace("#","%23"),t+o+i+a+n}function Nf(r,e){return nr(r,!1,!0).resolve(e)}function Bf(r,e){return r?nr(r,!1,!0).resolveObject(e):e}function Gf(r){var e=r.host,t=C0.exec(e);t&&(t=t[0],t!==":"&&(r.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(r.hostname=e)}var P0,R0,C0,D0,F0,L0,As,jf,Yf,q0,Wf,M0,U0,Os,Ct,Vf=ee(()=>{p();d();Cf();Ht();qf();P0={parse:nr,resolve:Nf,resolveObject:Bf,format:Uf,Url:de};R0=/^([a-z0-9.+-]+:)/i,C0=/:[0-9]*$/,D0=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,F0=["<",">",'"',"`"," ","\r",`
|
|
35
|
+
`," "],L0=["{","}","|","\\","^","`"].concat(F0),As=["'"].concat(L0),jf=["%","/","?",";","#"].concat(As),Yf=["/","?","#"],q0=255,Wf=/^[+a-z0-9A-Z_-]{0,63}$/,M0=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,U0={javascript:!0,"javascript:":!0},Os={javascript:!0,"javascript:":!0},Ct={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};de.prototype.parse=function(r,e,t){return zf(this,r,e,t)};de.prototype.format=function(){return Ts(this)};de.prototype.resolve=function(r){return this.resolveObject(nr(r,!1,!0)).format()};de.prototype.resolveObject=function(r){if(Ce(r)){var e=new de;e.parse(r,!1,!0),r=e}for(var t=new de,i=Object.keys(this),n=0;n<i.length;n++){var o=i[n];t[o]=this[o]}if(t.hash=r.hash,r.href==="")return t.href=t.format(),t;if(r.slashes&&!r.protocol){for(var s=Object.keys(r),a=0;a<s.length;a++){var u=s[a];u!=="protocol"&&(t[u]=r[u])}return Ct[t.protocol]&&t.hostname&&!t.pathname&&(t.path=t.pathname="/"),t.href=t.format(),t}var f;if(r.protocol&&r.protocol!==t.protocol){if(!Ct[r.protocol]){for(var l=Object.keys(r),c=0;c<l.length;c++){var g=l[c];t[g]=r[g]}return t.href=t.format(),t}if(t.protocol=r.protocol,!r.host&&!Os[r.protocol]){for(f=(r.pathname||"").split("/");f.length&&!(r.host=f.shift()););r.host||(r.host=""),r.hostname||(r.hostname=""),f[0]!==""&&f.unshift(""),f.length<2&&f.unshift(""),t.pathname=f.join("/")}else t.pathname=r.pathname;if(t.search=r.search,t.query=r.query,t.host=r.host||"",t.auth=r.auth,t.hostname=r.hostname||r.host,t.port=r.port,t.pathname||t.search){var m=t.pathname||"",v=t.search||"";t.path=m+v}return t.slashes=t.slashes||r.slashes,t.href=t.format(),t}var k=t.pathname&&t.pathname.charAt(0)==="/",w=r.host||r.pathname&&r.pathname.charAt(0)==="/",E=w||k||t.host&&r.pathname,R=E,A=t.pathname&&t.pathname.split("/")||[],P=t.protocol&&!Ct[t.protocol];f=r.pathname&&r.pathname.split("/")||[],P&&(t.hostname="",t.port=null,t.host&&(A[0]===""?A[0]=t.host:A.unshift(t.host)),t.host="",r.protocol&&(r.hostname=null,r.port=null,r.host&&(f[0]===""?f[0]=r.host:f.unshift(r.host)),r.host=null),E=E&&(f[0]===""||A[0]===""));var O;if(w)t.host=r.host||r.host===""?r.host:t.host,t.hostname=r.hostname||r.hostname===""?r.hostname:t.hostname,t.search=r.search,t.query=r.query,A=f;else if(f.length)A||(A=[]),A.pop(),A=A.concat(f),t.search=r.search,t.query=r.query;else if(!fi(r.search))return P&&(t.hostname=t.host=A.shift(),O=t.host&&t.host.indexOf("@")>0?t.host.split("@"):!1,O&&(t.auth=O.shift(),t.host=t.hostname=O.shift())),t.search=r.search,t.query=r.query,(!Ee(t.pathname)||!Ee(t.search))&&(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.href=t.format(),t;if(!A.length)return t.pathname=null,t.search?t.path="/"+t.search:t.path=null,t.href=t.format(),t;for(var C=A.slice(-1)[0],V=(t.host||r.host||A.length>1)&&(C==="."||C==="..")||C==="",D=0,W=A.length;W>=0;W--)C=A[W],C==="."?A.splice(W,1):C===".."?(A.splice(W,1),D++):D&&(A.splice(W,1),D--);if(!E&&!R)for(;D--;D)A.unshift("..");E&&A[0]!==""&&(!A[0]||A[0].charAt(0)!=="/")&&A.unshift(""),V&&A.join("/").substr(-1)!=="/"&&A.push("");var X=A[0]===""||A[0]&&A[0].charAt(0)==="/";return P&&(t.hostname=t.host=X?"":A.length?A.shift():"",O=t.host&&t.host.indexOf("@")>0?t.host.split("@"):!1,O&&(t.auth=O.shift(),t.host=t.hostname=O.shift())),E=E||t.host&&A.length,E&&!X&&A.unshift(""),A.length?t.pathname=A.join("/"):(t.pathname=null,t.path=null),(!Ee(t.pathname)||!Ee(t.search))&&(t.path=(t.pathname?t.pathname:"")+(t.search?t.search:"")),t.auth=r.auth||t.auth,t.slashes=t.slashes||r.slashes,t.href=t.format(),t};de.prototype.parseHost=function(){return Gf(this)}});var ks=S((cE,bi)=>{p();d();var yt=(Vf(),Mf);if(yt&&yt.default){bi.exports=yt.default;for(let r in yt)bi.exports[r]=yt[r]}else yt&&(bi.exports=yt)});var $f=S((hE,Qf)=>{p();d();var N0="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",B0=(r,e)=>()=>{let t="",i=e;for(;i--;)t+=r[Math.random()*r.length|0];return t},j0=(r=21)=>{let e="",t=r;for(;t--;)e+=N0[Math.random()*64|0];return e};Qf.exports={nanoid:j0,customAlphabet:B0}});var Ps=S((pE,Hf)=>{p();d();"use strict";var{SourceMapConsumer:Jf,SourceMapGenerator:Kf}=Si(),{existsSync:Y0,readFileSync:W0}=jt(),{dirname:Is,join:z0}=he();function G0(r){return h?h.from(r,"base64").toString():window.atob(r)}var Ai=class{constructor(e,t){if(t.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let i=t.map?t.map.prev:void 0,n=this.loadMap(t.from,i);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=Is(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new Jf(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){return e?e.substr(0,t.length)===t:!1}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let i=e.lastIndexOf(t.pop()),n=e.indexOf("*/",i);i>-1&&n>-1&&(this.annotation=this.getAnnotationURL(e.substring(i,n)))}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/,i=/^data:application\/json;base64,/,n=/^data:application\/json;charset=utf-?8,/,o=/^data:application\/json,/;if(n.test(e)||o.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(t.test(e)||i.test(e))return G0(e.substr(RegExp.lastMatch.length));let s=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+s)}loadFile(e){if(this.root=Is(e),Y0(e))return this.mapFile=e,W0(e,"utf-8").toString().trim()}loadMap(e,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let i=t(e);if(i){let n=this.loadFile(i);if(!n)throw new Error("Unable to load previous source map: "+i.toString());return n}}else{if(t instanceof Jf)return Kf.fromSourceMap(t).toString();if(t instanceof Kf)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let i=this.annotation;return e&&(i=z0(Is(e),i)),this.loadFile(i)}}}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}};Hf.exports=Ai;Ai.default=Ai});var or=S((dE,Zf)=>{p();d();"use strict";var{SourceMapConsumer:V0,SourceMapGenerator:Q0}=Si(),{fileURLToPath:Xf,pathToFileURL:Oi}=ks(),{resolve:Rs,isAbsolute:Cs}=he(),{nanoid:$0}=$f(),Ds=ms(),el=vi(),H0=Ps(),Fs=Symbol("fromOffsetCache"),J0=Boolean(V0&&Q0),tl=Boolean(Rs&&Cs),sr=class{constructor(e,t={}){if(e===null||typeof e=="undefined"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!tl||/^\w+:\/\//.test(t.from)||Cs(t.from)?this.file=t.from:this.file=Rs(t.from)),tl&&J0){let i=new H0(this.css,t);if(i.text){this.map=i;let n=i.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+$0(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let t,i;if(this[Fs])i=this[Fs];else{let o=this.css.split(`
|
|
36
|
+
`);i=new Array(o.length);let s=0;for(let a=0,u=o.length;a<u;a++)i[a]=s,s+=o[a].length+1;this[Fs]=i}t=i[i.length-1];let n=0;if(e>=t)n=i.length-1;else{let o=i.length-2,s;for(;n<o;)if(s=n+(o-n>>1),e<i[s])o=s-1;else if(e>=i[s+1])n=s+1;else{n=s;break}}return{line:n+1,col:e-i[n]+1}}error(e,t,i,n={}){let o,s,a;if(t&&typeof t=="object"){let f=t,l=i;if(typeof t.offset=="number"){let c=this.fromOffset(f.offset);t=c.line,i=c.col}else t=f.line,i=f.column;if(typeof l.offset=="number"){let c=this.fromOffset(l.offset);s=c.line,a=c.col}else s=l.line,a=l.column}else if(!i){let f=this.fromOffset(t);t=f.line,i=f.col}let u=this.origin(t,i,s,a);return u?o=new el(e,u.endLine===void 0?u.line:{line:u.line,column:u.column},u.endLine===void 0?u.column:{line:u.endLine,column:u.endColumn},u.source,u.file,n.plugin):o=new el(e,s===void 0?t:{line:t,column:i},s===void 0?i:{line:s,column:a},this.css,this.file,n.plugin),o.input={line:t,column:i,endLine:s,endColumn:a,source:this.css},this.file&&(Oi&&(o.input.url=Oi(this.file).toString()),o.input.file=this.file),o}origin(e,t,i,n){if(!this.map)return!1;let o=this.map.consumer(),s=o.originalPositionFor({line:e,column:t});if(!s.source)return!1;let a;typeof i=="number"&&(a=o.originalPositionFor({line:i,column:n}));let u;Cs(s.source)?u=Oi(s.source):u=new URL(s.source,this.map.consumer().sourceRoot||Oi(this.map.mapFile));let f={url:u.toString(),line:s.line,column:s.column,endLine:a&&a.line,endColumn:a&&a.column};if(u.protocol==="file:")if(Xf)f.file=Xf(u);else throw new Error("file: protocol is not available in this PostCSS build");let l=o.sourceContentFor(s.source);return l&&(f.source=l),f}mapResolve(e){return/^\w+:\/\//.test(e)?e:Rs(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])this[t]!=null&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};Zf.exports=sr;sr.default=sr;Ds&&Ds.registerInput&&Ds.registerInput(sr)});var Ls=S((mE,rl)=>{p();d();"use strict";var{SourceMapConsumer:il,SourceMapGenerator:Ti}=Si(),{dirname:ki,resolve:nl,relative:sl,sep:ol}=he(),{pathToFileURL:al}=ks(),K0=or(),Z0=Boolean(il&&Ti),X0=Boolean(ki&&nl&&sl&&ol),ul=class{constructor(e,t,i,n){this.stringify=e,this.mapOpts=i.map||{},this.root=t,this.opts=i,this.css=n}isMap(){return typeof this.opts.map!="undefined"?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new K0(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline!="undefined")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e!="undefined"&&e!==!0?!1:this.previous().length?this.previous().some(t=>t.inline):!0}isSourcesContent(){return typeof this.mapOpts.sourcesContent!="undefined"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],e.type==="comment"&&e.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(t)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let i=t.source.input.from;i&&!e[i]&&(e[i]=!0,this.map.setSourceContent(this.toUrl(this.path(i)),t.source.input.css))}});else if(this.css){let t=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(t,this.css)}}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file)),i=e.root||ki(e.file),n;this.mapOpts.sourcesContent===!1?(n=new il(e.text),n.sourcesContent&&(n.sourcesContent=n.sourcesContent.map(()=>null))):n=e.consumer(),this.map.applySourceMap(n,t,this.toUrl(this.path(i)))}}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation!="undefined"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}toBase64(e){return h?h.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";let t=`
|
|
37
|
+
`;this.css.includes(`\r
|
|
38
|
+
`)&&(t=`\r
|
|
39
|
+
`),this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=Ti.fromSourceMap(e)}else this.map=new Ti({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});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]}path(e){if(e.indexOf("<")===0||/^\w+:\/\//.test(e)||this.mapOpts.absolute)return e;let t=this.opts.to?ki(this.opts.to):".";return typeof this.mapOpts.annotation=="string"&&(t=ki(nl(t,this.mapOpts.annotation))),e=sl(t,e),e}toUrl(e){return ol==="\\"&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}sourcePath(e){if(this.mapOpts.from)return this.toUrl(this.mapOpts.from);if(this.mapOpts.absolute){if(al)return al(e.source.input.from).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}else return this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new Ti({file:this.outputFile()});let e=1,t=1,i="<no source>",n={source:"",generated:{line:0,column:0},original:{line:0,column:0}},o,s;this.stringify(this.root,(a,u,f)=>{if(this.css+=a,u&&f!=="end"&&(n.generated.line=e,n.generated.column=t-1,u.source&&u.source.start?(n.source=this.sourcePath(u),n.original.line=u.source.start.line,n.original.column=u.source.start.column-1,this.map.addMapping(n)):(n.source=i,n.original.line=1,n.original.column=0,this.map.addMapping(n))),o=a.match(/\n/g),o?(e+=o.length,s=a.lastIndexOf(`
|
|
40
|
+
`),t=a.length-s):t+=a.length,u&&f!=="start"){let l=u.parent||{raws:{}};(u.type!=="decl"||u!==l.last||l.raws.semicolon)&&(u.source&&u.source.end?(n.source=this.sourcePath(u),n.original.line=u.source.end.line,n.original.column=u.source.end.column-1,n.generated.line=e,n.generated.column=t-2,this.map.addMapping(n)):(n.source=i,n.original.line=1,n.original.column=0,n.generated.line=e,n.generated.column=t-1,this.map.addMapping(n)))}})}generate(){if(this.clearAnnotation(),X0&&Z0&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}};rl.exports=ul});var ar=S((gE,fl)=>{p();d();"use strict";var eg=er(),Ii=class extends eg{constructor(e){super(e);this.type="comment"}};fl.exports=Ii;Ii.default=Ii});var He=S((vE,ll)=>{p();d();"use strict";var{isClean:cl,my:hl}=yi(),pl=tr(),dl=ar(),tg=er(),ml,qs,Ms;function gl(r){return r.map(e=>(e.nodes&&(e.nodes=gl(e.nodes)),delete e.source,e))}function vl(r){if(r[cl]=!1,r.proxyOf.nodes)for(let e of r.proxyOf.nodes)vl(e)}var me=class extends tg{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),i,n;for(;this.indexes[t]<this.proxyOf.nodes.length&&(i=this.indexes[t],n=e(this.proxyOf.nodes[i],i),n!==!1);)this.indexes[t]+=1;return delete this.indexes[t],n}walk(e){return this.each((t,i)=>{let n;try{n=e(t,i)}catch(o){throw t.addToError(o)}return n!==!1&&t.walk&&(n=t.walk(e)),n})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((i,n)=>{if(i.type==="decl"&&e.test(i.prop))return t(i,n)}):this.walk((i,n)=>{if(i.type==="decl"&&i.prop===e)return t(i,n)}):(t=e,this.walk((i,n)=>{if(i.type==="decl")return t(i,n)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((i,n)=>{if(i.type==="rule"&&e.test(i.selector))return t(i,n)}):this.walk((i,n)=>{if(i.type==="rule"&&i.selector===e)return t(i,n)}):(t=e,this.walk((i,n)=>{if(i.type==="rule")return t(i,n)}))}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((i,n)=>{if(i.type==="atrule"&&e.test(i.name))return t(i,n)}):this.walk((i,n)=>{if(i.type==="atrule"&&i.name===e)return t(i,n)}):(t=e,this.walk((i,n)=>{if(i.type==="atrule")return t(i,n)}))}walkComments(e){return this.walk((t,i)=>{if(t.type==="comment")return e(t,i)})}append(...e){for(let t of e){let i=this.normalize(t,this.last);for(let n of i)this.proxyOf.nodes.push(n)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let t of e){let i=this.normalize(t,this.first,"prepend").reverse();for(let n of i)this.proxyOf.nodes.unshift(n);for(let n in this.indexes)this.indexes[n]=this.indexes[n]+i.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}insertBefore(e,t){e=this.index(e);let i=e===0?"prepend":!1,n=this.normalize(t,this.proxyOf.nodes[e],i).reverse();for(let s of n)this.proxyOf.nodes.splice(e,0,s);let o;for(let s in this.indexes)o=this.indexes[s],e<=o&&(this.indexes[s]=o+n.length);return this.markDirty(),this}insertAfter(e,t){e=this.index(e);let i=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let o of i)this.proxyOf.nodes.splice(e+1,0,o);let n;for(let o in this.indexes)n=this.indexes[o],e<n&&(this.indexes[o]=n+i.length);return this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let i in this.indexes)t=this.indexes[i],t>=e&&(this.indexes[i]=t-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,t,i){return i||(i=t,t={}),this.walkDecls(n=>{t.props&&!t.props.includes(n.prop)||t.fast&&!n.value.includes(t.fast)||(n.value=n.value.replace(e,i))}),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}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]}normalize(e,t){if(typeof e=="string")e=gl(ml(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let n of e)n.parent&&n.parent.removeChild(n,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let n of e)n.parent&&n.parent.removeChild(n,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value=="undefined")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new pl(e)]}else if(e.selector)e=[new qs(e)];else if(e.name)e=[new Ms(e)];else if(e.text)e=[new dl(e)];else throw new Error("Unknown node type in node creation");return e.map(n=>(n[hl]||me.rebuild(n),n=n.proxyOf,n.parent&&n.parent.removeChild(n),n[cl]&&vl(n),typeof n.raws.before=="undefined"&&t&&typeof t.raws.before!="undefined"&&(n.raws.before=t.raws.before.replace(/\S/g,"")),n.parent=this,n))}getProxyProcessor(){return{set(e,t,i){return e[t]===i||(e[t]=i,(t==="name"||t==="params"||t==="selector")&&e.markDirty()),!0},get(e,t){return t==="proxyOf"?e:e[t]?t==="each"||typeof t=="string"&&t.startsWith("walk")?(...i)=>e[t](...i.map(n=>typeof n=="function"?(o,s)=>n(o.toProxy(),s):n)):t==="every"||t==="some"?i=>e[t]((n,...o)=>i(n.toProxy(),...o)):t==="root"?()=>e.root().toProxy():t==="nodes"?e.nodes.map(i=>i.toProxy()):t==="first"||t==="last"?e[t].toProxy():e[t]:e[t]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}};me.registerParse=r=>{ml=r};me.registerRule=r=>{qs=r};me.registerAtRule=r=>{Ms=r};ll.exports=me;me.default=me;me.rebuild=r=>{r.type==="atrule"?Object.setPrototypeOf(r,Ms.prototype):r.type==="rule"?Object.setPrototypeOf(r,qs.prototype):r.type==="decl"?Object.setPrototypeOf(r,pl.prototype):r.type==="comment"&&Object.setPrototypeOf(r,dl.prototype),r[hl]=!0,r.nodes&&r.nodes.forEach(e=>{me.rebuild(e)})}});var Pi=S((yE,yl)=>{p();d();"use strict";var rg=He(),wl,xl,Dt=class extends rg{constructor(e){super({type:"document",...e});this.nodes||(this.nodes=[])}toResult(e={}){return new wl(new xl,this,e).stringify()}};Dt.registerLazyResult=r=>{wl=r};Dt.registerProcessor=r=>{xl=r};yl.exports=Dt;Dt.default=Dt});var Us=S((wE,El)=>{p();d();"use strict";var _l={};El.exports=function(e){_l[e]||(_l[e]=!0,typeof console!="undefined"&&console.warn&&console.warn(e))}});var Ns=S((xE,Sl)=>{p();d();"use strict";var Ri=class{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let i=t.node.rangeBy(t);this.line=i.start.line,this.column=i.start.column,this.endLine=i.end.line,this.endColumn=i.end.column}for(let i in t)this[i]=t[i]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};Sl.exports=Ri;Ri.default=Ri});var Di=S((EE,bl)=>{p();d();"use strict";var ig=Ns(),Ci=class{constructor(e,t,i){this.processor=e,this.messages=[],this.root=t,this.opts=i,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let i=new ig(e,t);return this.messages.push(i),i}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};bl.exports=Ci;Ci.default=Ci});var Il=S((_E,Al)=>{p();d();"use strict";var Bs="'".charCodeAt(0),Ol='"'.charCodeAt(0),Fi="\\".charCodeAt(0),Tl="/".charCodeAt(0),Li=`
|
|
41
|
+
`.charCodeAt(0),ur=" ".charCodeAt(0),qi="\f".charCodeAt(0),Mi=" ".charCodeAt(0),Ui="\r".charCodeAt(0),ng="[".charCodeAt(0),sg="]".charCodeAt(0),og="(".charCodeAt(0),ag=")".charCodeAt(0),ug="{".charCodeAt(0),fg="}".charCodeAt(0),lg=";".charCodeAt(0),cg="*".charCodeAt(0),hg=":".charCodeAt(0),pg="@".charCodeAt(0),Ni=/[\t\n\f\r "#'()/;[\\\]{}]/g,Bi=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,dg=/.[\n"'(/\\]/,kl=/[\da-f]/i;Al.exports=function(e,t={}){let i=e.css.valueOf(),n=t.ignoreErrors,o,s,a,u,f,l,c,g,m,v,k=i.length,w=0,E=[],R=[];function A(){return w}function P(D){throw e.error("Unclosed "+D,w)}function O(){return R.length===0&&w>=k}function C(D){if(R.length)return R.pop();if(w>=k)return;let W=D?D.ignoreUnclosed:!1;switch(o=i.charCodeAt(w),o){case Li:case ur:case Mi:case Ui:case qi:{s=w;do s+=1,o=i.charCodeAt(s);while(o===ur||o===Li||o===Mi||o===Ui||o===qi);v=["space",i.slice(w,s)],w=s-1;break}case ng:case sg:case ug:case fg:case hg:case lg:case ag:{let X=String.fromCharCode(o);v=[X,X,w];break}case og:{if(g=E.length?E.pop()[1]:"",m=i.charCodeAt(w+1),g==="url"&&m!==Bs&&m!==Ol&&m!==ur&&m!==Li&&m!==Mi&&m!==qi&&m!==Ui){s=w;do{if(l=!1,s=i.indexOf(")",s+1),s===-1)if(n||W){s=w;break}else P("bracket");for(c=s;i.charCodeAt(c-1)===Fi;)c-=1,l=!l}while(l);v=["brackets",i.slice(w,s+1),w,s],w=s}else s=i.indexOf(")",w+1),u=i.slice(w,s+1),s===-1||dg.test(u)?v=["(","(",w]:(v=["brackets",u,w,s],w=s);break}case Bs:case Ol:{a=o===Bs?"'":'"',s=w;do{if(l=!1,s=i.indexOf(a,s+1),s===-1)if(n||W){s=w+1;break}else P("string");for(c=s;i.charCodeAt(c-1)===Fi;)c-=1,l=!l}while(l);v=["string",i.slice(w,s+1),w,s],w=s;break}case pg:{Ni.lastIndex=w+1,Ni.test(i),Ni.lastIndex===0?s=i.length-1:s=Ni.lastIndex-2,v=["at-word",i.slice(w,s+1),w,s],w=s;break}case Fi:{for(s=w,f=!0;i.charCodeAt(s+1)===Fi;)s+=1,f=!f;if(o=i.charCodeAt(s+1),f&&o!==Tl&&o!==ur&&o!==Li&&o!==Mi&&o!==Ui&&o!==qi&&(s+=1,kl.test(i.charAt(s)))){for(;kl.test(i.charAt(s+1));)s+=1;i.charCodeAt(s+1)===ur&&(s+=1)}v=["word",i.slice(w,s+1),w,s],w=s;break}default:{o===Tl&&i.charCodeAt(w+1)===cg?(s=i.indexOf("*/",w+2)+1,s===0&&(n||W?s=i.length:P("comment")),v=["comment",i.slice(w,s+1),w,s],w=s):(Bi.lastIndex=w+1,Bi.test(i),Bi.lastIndex===0?s=i.length-1:s=Bi.lastIndex-2,v=["word",i.slice(w,s+1),w,s],E.push(v),w=s);break}}return w++,v}function V(D){R.push(D)}return{back:V,nextToken:C,endOfFile:O,position:A}}});var ji=S((SE,Pl)=>{p();d();"use strict";var Rl=He(),fr=class extends Rl{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)}};Pl.exports=fr;fr.default=fr;Rl.registerAtRule(fr)});var Lt=S((bE,Cl)=>{p();d();"use strict";var mg=He(),Dl,Fl,Ft=class extends mg{constructor(e){super(e);this.type="root",this.nodes||(this.nodes=[])}removeChild(e,t){let i=this.index(e);return!t&&i===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[i].raws.before),super.removeChild(e)}normalize(e,t,i){let n=super.normalize(e);if(t){if(i==="prepend")this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let o of n)o.raws.before=t.raws.before}return n}toResult(e={}){return new Dl(new Fl,this,e).stringify()}};Ft.registerLazyResult=r=>{Dl=r};Ft.registerProcessor=r=>{Fl=r};Cl.exports=Ft;Ft.default=Ft});var js=S((AE,Ll)=>{p();d();"use strict";var lr={split(r,e,t){let i=[],n="",o=!1,s=0,a=!1,u=!1;for(let f of r)u?u=!1:f==="\\"?u=!0:a?f===a&&(a=!1):f==='"'||f==="'"?a=f:f==="("?s+=1:f===")"?s>0&&(s-=1):s===0&&e.includes(f)&&(o=!0),o?(n!==""&&i.push(n.trim()),n="",o=!1):n+=f;return(t||n!=="")&&i.push(n.trim()),i},space(r){let e=[" ",`
|
|
42
|
+
`," "];return lr.split(r,e)},comma(r){return lr.split(r,[","],!0)}};Ll.exports=lr;lr.default=lr});var Yi=S((OE,ql)=>{p();d();"use strict";var Ml=He(),gg=js(),cr=class extends Ml{constructor(e){super(e);this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return gg.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,i=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(i)}};ql.exports=cr;cr.default=cr;Ml.registerRule(cr)});var jl=S((TE,Ul)=>{p();d();"use strict";var vg=tr(),yg=Il(),wg=ar(),xg=ji(),Eg=Lt(),Nl=Yi(),Bl=class{constructor(e){this.input=e,this.root=new Eg,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=yg(this.input)}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()}comment(e){let t=new wg;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]);let i=e[1].slice(2,-2);if(/^\s*$/.test(i))t.text="",t.raws.left=i,t.raws.right="";else{let n=i.match(/^(\s*)([^]*\S)(\s*)$/);t.text=n[2],t.raws.left=n[1],t.raws.right=n[3]}}emptyRule(e){let t=new Nl;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}other(e){let t=!1,i=null,n=!1,o=null,s=[],a=e[1].startsWith("--"),u=[],f=e;for(;f;){if(i=f[0],u.push(f),i==="("||i==="[")o||(o=f),s.push(i==="("?")":"]");else if(a&&n&&i==="{")o||(o=f),s.push("}");else if(s.length===0)if(i===";")if(n){this.decl(u,a);return}else break;else if(i==="{"){this.rule(u);return}else if(i==="}"){this.tokenizer.back(u.pop()),t=!0;break}else i===":"&&(n=!0);else i===s[s.length-1]&&(s.pop(),s.length===0&&(o=null));f=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),s.length>0&&this.unclosedBracket(o),t&&n){if(!a)for(;u.length&&(f=u[u.length-1][0],!(f!=="space"&&f!=="comment"));)this.tokenizer.back(u.pop());this.decl(u,a)}else this.unknownWord(u)}rule(e){e.pop();let t=new Nl;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}decl(e,t){let i=new vg;this.init(i,e[0][2]);let n=e[e.length-1];for(n[0]===";"&&(this.semicolon=!0,e.pop()),i.source.end=this.getPosition(n[3]||n[2]);e[0][0]!=="word";)e.length===1&&this.unknownWord(e),i.raws.before+=e.shift()[1];for(i.source.start=this.getPosition(e[0][2]),i.prop="";e.length;){let f=e[0][0];if(f===":"||f==="space"||f==="comment")break;i.prop+=e.shift()[1]}i.raws.between="";let o;for(;e.length;)if(o=e.shift(),o[0]===":"){i.raws.between+=o[1];break}else o[0]==="word"&&/\w/.test(o[1])&&this.unknownWord([o]),i.raws.between+=o[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1));let s=[],a;for(;e.length&&(a=e[0][0],!(a!=="space"&&a!=="comment"));)s.push(e.shift());this.precheckMissedSemicolon(e);for(let f=e.length-1;f>=0;f--){if(o=e[f],o[1].toLowerCase()==="!important"){i.important=!0;let l=this.stringFrom(e,f);l=this.spacesFromEnd(e)+l,l!==" !important"&&(i.raws.important=l);break}else if(o[1].toLowerCase()==="important"){let l=e.slice(0),c="";for(let g=f;g>0;g--){let m=l[g][0];if(c.trim().indexOf("!")===0&&m!=="space")break;c=l.pop()[1]+c}c.trim().indexOf("!")===0&&(i.important=!0,i.raws.important=c,e=l)}if(o[0]!=="space"&&o[0]!=="comment")break}e.some(f=>f[0]!=="space"&&f[0]!=="comment")&&(i.raws.between+=s.map(f=>f[1]).join(""),s=[]),this.raw(i,"value",s.concat(e),t),i.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}atrule(e){let t=new xg;t.name=e[1].slice(1),t.name===""&&this.unnamedAtrule(t,e),this.init(t,e[2]);let i,n,o,s=!1,a=!1,u=[],f=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),i=e[0],i==="("||i==="["?f.push(i==="("?")":"]"):i==="{"&&f.length>0?f.push("}"):i===f[f.length-1]&&f.pop(),f.length===0)if(i===";"){t.source.end=this.getPosition(e[2]),this.semicolon=!0;break}else if(i==="{"){a=!0;break}else if(i==="}"){if(u.length>0){for(o=u.length-1,n=u[o];n&&n[0]==="space";)n=u[--o];n&&(t.source.end=this.getPosition(n[3]||n[2]))}this.end(e);break}else u.push(e);else u.push(e);if(this.tokenizer.endOfFile()){s=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(u),u.length?(t.raws.afterName=this.spacesAndCommentsFromStart(u),this.raw(t,"params",u),s&&(e=u[u.length-1],t.source.end=this.getPosition(e[3]||e[2]),this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),a&&(t.nodes=[],this.current=t)}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current=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}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&t.type==="rule"&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e),e.source={start:this.getPosition(t),input:this.input},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}raw(e,t,i,n){let o,s,a=i.length,u="",f=!0,l,c;for(let g=0;g<a;g+=1)o=i[g],s=o[0],s==="space"&&g===a-1&&!n?f=!1:s==="comment"?(c=i[g-1],l=i[g+1],c&&l&&c[0]!=="space"&&l[0]!=="space"?u+=o[1]:f=!1):u+=o[1];if(!f){let g=i.reduce((m,v)=>m+v[1],"");e.raws[t]={value:u,raw:g}}e[t]=u}spacesAndCommentsFromEnd(e){let t,i="";for(;e.length&&(t=e[e.length-1][0],!(t!=="space"&&t!=="comment"));)i=e.pop()[1]+i;return i}spacesAndCommentsFromStart(e){let t,i="";for(;e.length&&(t=e[0][0],!(t!=="space"&&t!=="comment"));)i+=e.shift()[1];return i}spacesFromEnd(e){let t,i="";for(;e.length&&(t=e[e.length-1][0],t==="space");)i=e.pop()[1]+i;return i}stringFrom(e,t){let i="";for(let n=t;n<e.length;n++)i+=e[n][1];return e.splice(t,e.length-t),i}colon(e){let t=0,i,n,o;for(let[s,a]of e.entries()){if(i=a,n=i[0],n==="("&&(t+=1),n===")"&&(t-=1),t===0&&n===":")if(!o)this.doubleColon(i);else{if(o[0]==="word"&&o[1]==="progid")continue;return s}o=i}return!1}unclosedBracket(e){throw this.input.error("Unclosed bracket",{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})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let i=0,n;for(let o=t-1;o>=0&&(n=e[o],!(n[0]!=="space"&&(i+=1,i===2)));o--);throw this.input.error("Missed semicolon",n[0]==="word"?n[3]+1:n[2])}};Ul.exports=Bl});var zi=S((kE,Yl)=>{p();d();"use strict";var _g=He(),Sg=jl(),bg=or();function Wi(r,e){let t=new bg(r,e),i=new Sg(t);try{i.parse()}catch(n){throw y.env.NODE_ENV!=="production"&&n.name==="CssSyntaxError"&&e&&e.from&&(/\.scss$/i.test(e.from)?n.message+=`
|
|
43
|
+
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(e.from)?n.message+=`
|
|
44
|
+
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(e.from)&&(n.message+=`
|
|
45
|
+
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),n}return i.root}Yl.exports=Wi;Wi.default=Wi;_g.registerParse(Wi)});var zs=S((IE,Wl)=>{p();d();"use strict";var{isClean:be,my:Ag}=yi(),Og=Ls(),Tg=Xt(),kg=He(),Ig=Pi(),Pg=Us(),zl=Di(),Rg=zi(),Cg=Lt(),Dg={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},Fg={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},Lg={postcssPlugin:!0,prepare:!0,Once:!0},qt=0;function hr(r){return typeof r=="object"&&typeof r.then=="function"}function Gl(r){let e=!1,t=Dg[r.type];return r.type==="decl"?e=r.prop.toLowerCase():r.type==="atrule"&&(e=r.name.toLowerCase()),e&&r.append?[t,t+"-"+e,qt,t+"Exit",t+"Exit-"+e]:e?[t,t+"-"+e,t+"Exit",t+"Exit-"+e]:r.append?[t,qt,t+"Exit"]:[t,t+"Exit"]}function Vl(r){let e;return r.type==="document"?e=["Document",qt,"DocumentExit"]:r.type==="root"?e=["Root",qt,"RootExit"]:e=Gl(r),{node:r,events:e,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function Ys(r){return r[be]=!1,r.nodes&&r.nodes.forEach(e=>Ys(e)),r}var Ws={},De=class{constructor(e,t,i){this.stringified=!1,this.processed=!1;let n;if(typeof t=="object"&&t!==null&&(t.type==="root"||t.type==="document"))n=Ys(t);else if(t instanceof De||t instanceof zl)n=Ys(t.root),t.map&&(typeof i.map=="undefined"&&(i.map={}),i.map.inline||(i.map.inline=!1),i.map.prev=t.map);else{let o=Rg;i.syntax&&(o=i.syntax.parse),i.parser&&(o=i.parser),o.parse&&(o=o.parse);try{n=o(t,i)}catch(s){this.processed=!0,this.error=s}n&&!n[Ag]&&kg.rebuild(n)}this.result=new zl(e,n,i),this.helpers={...Ws,result:this.result,postcss:Ws},this.plugins=this.processor.plugins.map(o=>typeof o=="object"&&o.prepare?{...o,...o.prepare(this.result)}:o)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){return y.env.NODE_ENV!=="production"&&("from"in this.opts||Pg("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let t=this.runOnRoot(e);if(hr(t))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[be];)e[be]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=Tg;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=new Og(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}walkSync(e){e[be]=!0;let t=Gl(e);for(let i of t)if(i===qt)e.nodes&&e.each(n=>{n[be]||this.walkSync(n)});else{let n=this.listeners[i];if(n&&this.visitSync(n,e.toProxy()))return}}visitSync(e,t){for(let[i,n]of e){this.result.lastPlugin=i;let o;try{o=n(t,this.helpers)}catch(s){throw this.handleError(s,t.proxyOf)}if(t.type!=="root"&&t.type!=="document"&&!t.parent)return!0;if(hr(o))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let t=this.result.root.nodes.map(i=>e.Once(i,this.helpers));return hr(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(t){throw this.handleError(t)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let i=this.result.lastPlugin;try{if(t&&t.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=i.postcssPlugin,e.setMessage();else if(i.postcssVersion&&y.env.NODE_ENV!=="production"){let n=i.postcssPlugin,o=i.postcssVersion,s=this.result.processor.version,a=o.split("."),u=s.split(".");(a[0]!==u[0]||parseInt(a[1])>parseInt(u[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+s+", but "+n+" uses "+o+". Perhaps this is the source of the error below.")}}catch(n){console&&console.error&&console.error(n)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e],i=this.runOnRoot(t);if(hr(i))try{await i}catch(n){throw this.handleError(n)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[be];){e[be]=!0;let t=[Vl(e)];for(;t.length>0;){let i=this.visitTick(t);if(hr(i))try{await i}catch(n){let o=t[t.length-1].node;throw this.handleError(n,o)}}}if(this.listeners.OnceExit)for(let[t,i]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if(e.type==="document"){let n=e.nodes.map(o=>i(o,this.helpers));await Promise.all(n)}else await i(e,this.helpers)}catch(n){throw this.handleError(n)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(t,i,n)=>{this.listeners[i]||(this.listeners[i]=[]),this.listeners[i].push([t,n])};for(let t of this.plugins)if(typeof t=="object")for(let i in t){if(!Fg[i]&&/^[A-Z]/.test(i))throw new Error(`Unknown event ${i} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!Lg[i])if(typeof t[i]=="object")for(let n in t[i])n==="*"?e(t,i,t[i][n]):e(t,i+"-"+n.toLowerCase(),t[i][n]);else typeof t[i]=="function"&&e(t,i,t[i])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1],{node:i,visitors:n}=t;if(i.type!=="root"&&i.type!=="document"&&!i.parent){e.pop();return}if(n.length>0&&t.visitorIndex<n.length){let[s,a]=n[t.visitorIndex];t.visitorIndex+=1,t.visitorIndex===n.length&&(t.visitors=[],t.visitorIndex=0),this.result.lastPlugin=s;try{return a(i.toProxy(),this.helpers)}catch(u){throw this.handleError(u,i)}}if(t.iterator!==0){let s=t.iterator,a;for(;a=i.nodes[i.indexes[s]];)if(i.indexes[s]+=1,!a[be]){a[be]=!0,e.push(Vl(a));return}t.iterator=0,delete i.indexes[s]}let o=t.events;for(;t.eventIndex<o.length;){let s=o[t.eventIndex];if(t.eventIndex+=1,s===qt){i.nodes&&i.nodes.length&&(i[be]=!0,t.iterator=i.getIterator());return}else if(this.listeners[s]){t.visitors=this.listeners[s];return}}e.pop()}};De.registerPostcss=r=>{Ws=r};Wl.exports=De;De.default=De;Cg.registerLazyResult(De);Ig.registerLazyResult(De)});var $l=S((PE,Ql)=>{p();d();"use strict";var qg=Ls(),Mg=Xt(),Ug=Us(),Ng=zi(),Bg=Di(),Gi=class{constructor(e,t,i){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=i,this._map=void 0;let n,o=Mg;this.result=new Bg(this._processor,n,this._opts),this.result.css=t;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let a=new qg(o,n,this._opts,t);if(a.isMap()){let[u,f]=a.generate();u&&(this.result.css=u),f&&(this.result.map=f)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,t=Ng;try{e=t(this._css,this._opts)}catch(i){this.error=i}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,t){return y.env.NODE_ENV!=="production"&&("from"in this._opts||Ug("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}};Ql.exports=Gi;Gi.default=Gi});var Jl=S((RE,Hl)=>{p();d();"use strict";var jg=$l(),Yg=zs(),Wg=Pi(),zg=Lt(),Mt=class{constructor(e=[]){this.version="8.4.6",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,t={}){return this.plugins.length===0&&typeof t.parser=="undefined"&&typeof t.stringifier=="undefined"&&typeof t.syntax=="undefined"?new jg(this,e,t):new Yg(this,e,t)}normalize(e){let t=[];for(let i of e)if(i.postcss===!0?i=i():i.postcss&&(i=i.postcss),typeof i=="object"&&Array.isArray(i.plugins))t=t.concat(i.plugins);else if(typeof i=="object"&&i.postcssPlugin)t.push(i);else if(typeof i=="function")t.push(i);else if(typeof i=="object"&&(i.parse||i.stringify)){if(y.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(i+" is not a PostCSS plugin");return t}};Hl.exports=Mt;Mt.default=Mt;zg.registerProcessor(Mt);Wg.registerProcessor(Mt)});var Zl=S((CE,Kl)=>{p();d();"use strict";var Gg=tr(),Vg=Ps(),Qg=ar(),$g=ji(),Hg=or(),Jg=Lt(),Kg=Yi();function pr(r,e){if(Array.isArray(r))return r.map(n=>pr(n));let{inputs:t,...i}=r;if(t){e=[];for(let n of t){let o={...n,__proto__:Hg.prototype};o.map&&(o.map={...o.map,__proto__:Vg.prototype}),e.push(o)}}if(i.nodes&&(i.nodes=r.nodes.map(n=>pr(n,e))),i.source){let{inputId:n,...o}=i.source;i.source=o,n!=null&&(i.source.input=e[n])}if(i.type==="root")return new Jg(i);if(i.type==="decl")return new Gg(i);if(i.type==="rule")return new Kg(i);if(i.type==="comment")return new Qg(i);if(i.type==="atrule")return new $g(i);throw new Error("Unknown node type: "+r.type)}Kl.exports=pr;pr.default=pr});var oc=S((DE,Xl)=>{p();d();"use strict";var Zg=vi(),ec=tr(),Xg=zs(),ev=He(),Gs=Jl(),tv=Xt(),rv=Zl(),tc=Pi(),iv=Ns(),rc=ar(),ic=ji(),nv=Di(),sv=or(),ov=zi(),av=js(),nc=Yi(),sc=Lt(),uv=er();function q(...r){return r.length===1&&Array.isArray(r[0])&&(r=r[0]),new Gs(r)}q.plugin=function(e,t){console&&console.warn&&(console.warn(e+`: postcss.plugin was deprecated. Migration guide:
|
|
46
|
+
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),y.env.LANG&&y.env.LANG.startsWith("cn")&&console.warn(e+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
|
|
47
|
+
https://www.w3ctech.com/topic/2226`));function i(...o){let s=t(...o);return s.postcssPlugin=e,s.postcssVersion=new Gs().version,s}let n;return Object.defineProperty(i,"postcss",{get(){return n||(n=i()),n}}),i.process=function(o,s,a){return q([i(a)]).process(o,s)},i};q.stringify=tv;q.parse=ov;q.fromJSON=rv;q.list=av;q.comment=r=>new rc(r);q.atRule=r=>new ic(r);q.decl=r=>new ec(r);q.rule=r=>new nc(r);q.root=r=>new sc(r);q.document=r=>new tc(r);q.CssSyntaxError=Zg;q.Declaration=ec;q.Container=ev;q.Processor=Gs;q.Document=tc;q.Comment=rc;q.Warning=iv;q.AtRule=ic;q.Result=nv;q.Input=sv;q.Rule=nc;q.Root=sc;q.Node=uv;Xg.registerPostcss(q);Xl.exports=q;q.default=q});var Vs=S((Vi,fc)=>{p();d();"use strict";Vi.__esModule=!0;Vi.default=fv;function lv(r){for(var e=r.toLowerCase(),t="",i=!1,n=0;n<6&&e[n]!==void 0;n++){var o=e.charCodeAt(n),s=o>=97&&o<=102||o>=48&&o<=57;if(i=o===32,!s)break;t+=e[n]}if(t.length!==0){var a=parseInt(t,16),u=a>=55296&&a<=57343;return u||a===0||a>1114111?["\uFFFD",t.length+(i?1:0)]:[String.fromCodePoint(a),t.length+(i?1:0)]}}var cv=/\\/;function fv(r){var e=cv.test(r);if(!e)return r;for(var t="",i=0;i<r.length;i++){if(r[i]==="\\"){var n=lv(r.slice(i+1,i+7));if(n!==void 0){t+=n[0],i+=n[1];continue}if(r[i+1]==="\\"){t+="\\",i++;continue}r.length===i+1&&(t+=r[i]);continue}t+=r[i]}return t}fc.exports=Vi.default});var cc=S((Qi,lc)=>{p();d();"use strict";Qi.__esModule=!0;Qi.default=hv;function hv(r){for(var e=arguments.length,t=new Array(e>1?e-1:0),i=1;i<e;i++)t[i-1]=arguments[i];for(;t.length>0;){var n=t.shift();if(!r[n])return;r=r[n]}return r}lc.exports=Qi.default});var pc=S(($i,hc)=>{p();d();"use strict";$i.__esModule=!0;$i.default=pv;function pv(r){for(var e=arguments.length,t=new Array(e>1?e-1:0),i=1;i<e;i++)t[i-1]=arguments[i];for(;t.length>0;){var n=t.shift();r[n]||(r[n]={}),r=r[n]}}hc.exports=$i.default});var mc=S((Hi,dc)=>{p();d();"use strict";Hi.__esModule=!0;Hi.default=dv;function dv(r){for(var e="",t=r.indexOf("/*"),i=0;t>=0;){e=e+r.slice(i,t);var n=r.indexOf("*/",t+2);if(n<0)return e;i=n+2,t=r.indexOf("/*",i)}return e=e+r.slice(i),e}dc.exports=Hi.default});var dr=S(Ae=>{p();d();"use strict";Ae.__esModule=!0;Ae.stripComments=Ae.ensureObject=Ae.getProp=Ae.unesc=void 0;var mv=Ji(Vs());Ae.unesc=mv.default;var gv=Ji(cc());Ae.getProp=gv.default;var vv=Ji(pc());Ae.ensureObject=vv.default;var yv=Ji(mc());Ae.stripComments=yv.default;function Ji(r){return r&&r.__esModule?r:{default:r}}});var Fe=S((mr,gc)=>{p();d();"use strict";mr.__esModule=!0;mr.default=void 0;var vc=dr();function yc(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function wv(r,e,t){return e&&yc(r.prototype,e),t&&yc(r,t),r}var xv=function r(e,t){if(typeof e!="object"||e===null)return e;var i=new e.constructor;for(var n in e)if(!!e.hasOwnProperty(n)){var o=e[n],s=typeof o;n==="parent"&&s==="object"?t&&(i[n]=t):o instanceof Array?i[n]=o.map(function(a){return r(a,i)}):i[n]=r(o,i)}return i},Ev=function(){function r(t){t===void 0&&(t={}),Object.assign(this,t),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var e=r.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 i in arguments)this.parent.insertBefore(this,arguments[i]);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(i){i===void 0&&(i={});var n=xv(this);for(var o in i)n[o]=i[o];return n},e.appendToPropertyAndEscape=function(i,n,o){this.raws||(this.raws={});var s=this[i],a=this.raws[i];this[i]=s+n,a||o!==n?this.raws[i]=(a||s)+o:delete this.raws[i]},e.setPropertyAndEscape=function(i,n,o){this.raws||(this.raws={}),this[i]=n,this.raws[i]=o},e.setPropertyWithoutEscape=function(i,n){this[i]=n,this.raws&&delete this.raws[i]},e.isAtPosition=function(i,n){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>i||this.source.end.line<i||this.source.start.line===i&&this.source.start.column>n||this.source.end.line===i&&this.source.end.column<n)},e.stringifyProperty=function(i){return this.raws&&this.raws[i]||this[i]},e.valueToString=function(){return String(this.stringifyProperty("value"))},e.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},wv(r,[{key:"rawSpaceBefore",get:function(){var i=this.raws&&this.raws.spaces&&this.raws.spaces.before;return i===void 0&&(i=this.spaces&&this.spaces.before),i||""},set:function(i){(0,vc.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=i}},{key:"rawSpaceAfter",get:function(){var i=this.raws&&this.raws.spaces&&this.raws.spaces.after;return i===void 0&&(i=this.spaces.after),i||""},set:function(i){(0,vc.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=i}}]),r}();mr.default=Ev;gc.exports=mr.default});var J=S(N=>{p();d();"use strict";N.__esModule=!0;N.UNIVERSAL=N.ATTRIBUTE=N.CLASS=N.COMBINATOR=N.COMMENT=N.ID=N.NESTING=N.PSEUDO=N.ROOT=N.SELECTOR=N.STRING=N.TAG=void 0;var _v="tag";N.TAG=_v;var Sv="string";N.STRING=Sv;var bv="selector";N.SELECTOR=bv;var Av="root";N.ROOT=Av;var Ov="pseudo";N.PSEUDO=Ov;var Tv="nesting";N.NESTING=Tv;var kv="id";N.ID=kv;var Iv="comment";N.COMMENT=Iv;var Pv="combinator";N.COMBINATOR=Pv;var Rv="class";N.CLASS=Rv;var Cv="attribute";N.ATTRIBUTE=Cv;var Dv="universal";N.UNIVERSAL=Dv});var Ki=S((gr,wc)=>{p();d();"use strict";gr.__esModule=!0;gr.default=void 0;var Lv=Fv(Fe()),Le=qv(J());function xc(){if(typeof WeakMap!="function")return null;var r=new WeakMap;return xc=function(){return r},r}function qv(r){if(r&&r.__esModule)return r;if(r===null||typeof r!="object"&&typeof r!="function")return{default:r};var e=xc();if(e&&e.has(r))return e.get(r);var t={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)){var o=i?Object.getOwnPropertyDescriptor(r,n):null;o&&(o.get||o.set)?Object.defineProperty(t,n,o):t[n]=r[n]}return t.default=r,e&&e.set(r,t),t}function Fv(r){return r&&r.__esModule?r:{default:r}}function Uv(r,e){var t;if(typeof Symbol=="undefined"||r[Symbol.iterator]==null){if(Array.isArray(r)||(t=Mv(r))||e&&r&&typeof r.length=="number"){t&&(r=t);var i=0;return function(){return i>=r.length?{done:!0}:{done:!1,value:r[i++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
48
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return t=r[Symbol.iterator](),t.next.bind(t)}function Mv(r,e){if(!!r){if(typeof r=="string")return Ec(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Ec(r,e)}}function Ec(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=r[t];return i}function _c(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function Nv(r,e,t){return e&&_c(r.prototype,e),t&&_c(r,t),r}function Bv(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,Qs(r,e)}function Qs(r,e){return Qs=Object.setPrototypeOf||function(i,n){return i.__proto__=n,i},Qs(r,e)}var jv=function(r){Bv(e,r);function e(i){var n;return n=r.call(this,i)||this,n.nodes||(n.nodes=[]),n}var t=e.prototype;return t.append=function(n){return n.parent=this,this.nodes.push(n),this},t.prepend=function(n){return n.parent=this,this.nodes.unshift(n),this},t.at=function(n){return this.nodes[n]},t.index=function(n){return typeof n=="number"?n:this.nodes.indexOf(n)},t.removeChild=function(n){n=this.index(n),this.at(n).parent=void 0,this.nodes.splice(n,1);var o;for(var s in this.indexes)o=this.indexes[s],o>=n&&(this.indexes[s]=o-1);return this},t.removeAll=function(){for(var n=Uv(this.nodes),o;!(o=n()).done;){var s=o.value;s.parent=void 0}return this.nodes=[],this},t.empty=function(){return this.removeAll()},t.insertAfter=function(n,o){o.parent=this;var s=this.index(n);this.nodes.splice(s+1,0,o),o.parent=this;var a;for(var u in this.indexes)a=this.indexes[u],s<=a&&(this.indexes[u]=a+1);return this},t.insertBefore=function(n,o){o.parent=this;var s=this.index(n);this.nodes.splice(s,0,o),o.parent=this;var a;for(var u in this.indexes)a=this.indexes[u],a<=s&&(this.indexes[u]=a+1);return this},t._findChildAtPosition=function(n,o){var s=void 0;return this.each(function(a){if(a.atPosition){var u=a.atPosition(n,o);if(u)return s=u,!1}else if(a.isAtPosition(n,o))return s=a,!1}),s},t.atPosition=function(n,o){if(this.isAtPosition(n,o))return this._findChildAtPosition(n,o)||this},t._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))},t.each=function(n){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var o=this.lastEach;if(this.indexes[o]=0,!!this.length){for(var s,a;this.indexes[o]<this.length&&(s=this.indexes[o],a=n(this.at(s),s),a!==!1);)this.indexes[o]+=1;if(delete this.indexes[o],a===!1)return!1}},t.walk=function(n){return this.each(function(o,s){var a=n(o,s);if(a!==!1&&o.length&&(a=o.walk(n)),a===!1)return!1})},t.walkAttributes=function(n){var o=this;return this.walk(function(s){if(s.type===Le.ATTRIBUTE)return n.call(o,s)})},t.walkClasses=function(n){var o=this;return this.walk(function(s){if(s.type===Le.CLASS)return n.call(o,s)})},t.walkCombinators=function(n){var o=this;return this.walk(function(s){if(s.type===Le.COMBINATOR)return n.call(o,s)})},t.walkComments=function(n){var o=this;return this.walk(function(s){if(s.type===Le.COMMENT)return n.call(o,s)})},t.walkIds=function(n){var o=this;return this.walk(function(s){if(s.type===Le.ID)return n.call(o,s)})},t.walkNesting=function(n){var o=this;return this.walk(function(s){if(s.type===Le.NESTING)return n.call(o,s)})},t.walkPseudos=function(n){var o=this;return this.walk(function(s){if(s.type===Le.PSEUDO)return n.call(o,s)})},t.walkTags=function(n){var o=this;return this.walk(function(s){if(s.type===Le.TAG)return n.call(o,s)})},t.walkUniversals=function(n){var o=this;return this.walk(function(s){if(s.type===Le.UNIVERSAL)return n.call(o,s)})},t.split=function(n){var o=this,s=[];return this.reduce(function(a,u,f){var l=n.call(o,u);return s.push(u),l?(a.push(s),s=[]):f===o.length-1&&a.push(s),a},[])},t.map=function(n){return this.nodes.map(n)},t.reduce=function(n,o){return this.nodes.reduce(n,o)},t.every=function(n){return this.nodes.every(n)},t.some=function(n){return this.nodes.some(n)},t.filter=function(n){return this.nodes.filter(n)},t.sort=function(n){return this.nodes.sort(n)},t.toString=function(){return this.map(String).join("")},Nv(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}(Lv.default);gr.default=jv;wc.exports=gr.default});var Hs=S((vr,Sc)=>{p();d();"use strict";vr.__esModule=!0;vr.default=void 0;var Wv=Yv(Ki()),zv=J();function Yv(r){return r&&r.__esModule?r:{default:r}}function bc(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function Gv(r,e,t){return e&&bc(r.prototype,e),t&&bc(r,t),r}function Vv(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,$s(r,e)}function $s(r,e){return $s=Object.setPrototypeOf||function(i,n){return i.__proto__=n,i},$s(r,e)}var Qv=function(r){Vv(e,r);function e(i){var n;return n=r.call(this,i)||this,n.type=zv.ROOT,n}var t=e.prototype;return t.toString=function(){var n=this.reduce(function(o,s){return o.push(String(s)),o},[]).join(",");return this.trailingComma?n+",":n},t.error=function(n,o){return this._error?this._error(n,o):new Error(n)},Gv(e,[{key:"errorGenerator",set:function(n){this._error=n}}]),e}(Wv.default);vr.default=Qv;Sc.exports=vr.default});var Ks=S((yr,Ac)=>{p();d();"use strict";yr.__esModule=!0;yr.default=void 0;var Hv=$v(Ki()),Jv=J();function $v(r){return r&&r.__esModule?r:{default:r}}function Kv(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,Js(r,e)}function Js(r,e){return Js=Object.setPrototypeOf||function(i,n){return i.__proto__=n,i},Js(r,e)}var Zv=function(r){Kv(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=Jv.SELECTOR,i}return e}(Hv.default);yr.default=Zv;Ac.exports=yr.default});var Zi=S((s_,Oc)=>{p();d();"use strict";var Xv={},ey=Xv.hasOwnProperty,ty=function(e,t){if(!e)return t;var i={};for(var n in t)i[n]=ey.call(e,n)?e[n]:t[n];return i},ry=/[ -,\.\/:-@\[-\^`\{-~]/,iy=/[ -,\.\/:-@\[\]\^`\{-~]/,ny=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,Zs=function r(e,t){t=ty(t,r.options),t.quotes!="single"&&t.quotes!="double"&&(t.quotes="single");for(var i=t.quotes=="double"?'"':"'",n=t.isIdentifier,o=e.charAt(0),s="",a=0,u=e.length;a<u;){var f=e.charAt(a++),l=f.charCodeAt(),c=void 0;if(l<32||l>126){if(l>=55296&&l<=56319&&a<u){var g=e.charCodeAt(a++);(g&64512)==56320?l=((l&1023)<<10)+(g&1023)+65536:a--}c="\\"+l.toString(16).toUpperCase()+" "}else t.escapeEverything?ry.test(f)?c="\\"+f:c="\\"+l.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(f)?c="\\"+l.toString(16).toUpperCase()+" ":f=="\\"||!n&&(f=='"'&&i==f||f=="'"&&i==f)||n&&iy.test(f)?c="\\"+f:c=f;s+=c}return n&&(/^-[-\d]/.test(s)?s="\\-"+s.slice(1):/\d/.test(o)&&(s="\\3"+o+" "+s.slice(1))),s=s.replace(ny,function(m,v,k){return v&&v.length%2?m:(v||"")+k}),!n&&t.wrap?i+s+i:s};Zs.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};Zs.version="3.0.0";Oc.exports=Zs});var eo=S((wr,Tc)=>{p();d();"use strict";wr.__esModule=!0;wr.default=void 0;var sy=kc(Zi()),oy=dr(),ay=kc(Fe()),uy=J();function kc(r){return r&&r.__esModule?r:{default:r}}function Ic(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function fy(r,e,t){return e&&Ic(r.prototype,e),t&&Ic(r,t),r}function ly(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,Xs(r,e)}function Xs(r,e){return Xs=Object.setPrototypeOf||function(i,n){return i.__proto__=n,i},Xs(r,e)}var cy=function(r){ly(e,r);function e(i){var n;return n=r.call(this,i)||this,n.type=uy.CLASS,n._constructed=!0,n}var t=e.prototype;return t.valueToString=function(){return"."+r.prototype.valueToString.call(this)},fy(e,[{key:"value",get:function(){return this._value},set:function(n){if(this._constructed){var o=(0,sy.default)(n,{isIdentifier:!0});o!==n?((0,oy.ensureObject)(this,"raws"),this.raws.value=o):this.raws&&delete this.raws.value}this._value=n}}]),e}(ay.default);wr.default=cy;Tc.exports=wr.default});var ro=S((xr,Pc)=>{p();d();"use strict";xr.__esModule=!0;xr.default=void 0;var py=hy(Fe()),dy=J();function hy(r){return r&&r.__esModule?r:{default:r}}function my(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,to(r,e)}function to(r,e){return to=Object.setPrototypeOf||function(i,n){return i.__proto__=n,i},to(r,e)}var gy=function(r){my(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=dy.COMMENT,i}return e}(py.default);xr.default=gy;Pc.exports=xr.default});var no=S((Er,Rc)=>{p();d();"use strict";Er.__esModule=!0;Er.default=void 0;var yy=vy(Fe()),wy=J();function vy(r){return r&&r.__esModule?r:{default:r}}function xy(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,io(r,e)}function io(r,e){return io=Object.setPrototypeOf||function(i,n){return i.__proto__=n,i},io(r,e)}var Ey=function(r){xy(e,r);function e(i){var n;return n=r.call(this,i)||this,n.type=wy.ID,n}var t=e.prototype;return t.valueToString=function(){return"#"+r.prototype.valueToString.call(this)},e}(yy.default);Er.default=Ey;Rc.exports=Er.default});var Xi=S((_r,Cc)=>{p();d();"use strict";_r.__esModule=!0;_r.default=void 0;var _y=Dc(Zi()),Sy=dr(),by=Dc(Fe());function Dc(r){return r&&r.__esModule?r:{default:r}}function Fc(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function Ay(r,e,t){return e&&Fc(r.prototype,e),t&&Fc(r,t),r}function Oy(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,so(r,e)}function so(r,e){return so=Object.setPrototypeOf||function(i,n){return i.__proto__=n,i},so(r,e)}var Ty=function(r){Oy(e,r);function e(){return r.apply(this,arguments)||this}var t=e.prototype;return t.qualifiedName=function(n){return this.namespace?this.namespaceString+"|"+n:n},t.valueToString=function(){return this.qualifiedName(r.prototype.valueToString.call(this))},Ay(e,[{key:"namespace",get:function(){return this._namespace},set:function(n){if(n===!0||n==="*"||n==="&"){this._namespace=n,this.raws&&delete this.raws.namespace;return}var o=(0,_y.default)(n,{isIdentifier:!0});this._namespace=n,o!==n?((0,Sy.ensureObject)(this,"raws"),this.raws.namespace=o):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(n){this.namespace=n}},{key:"namespaceString",get:function(){if(this.namespace){var n=this.stringifyProperty("namespace");return n===!0?"":n}else return""}}]),e}(by.default);_r.default=Ty;Cc.exports=_r.default});var ao=S((Sr,Lc)=>{p();d();"use strict";Sr.__esModule=!0;Sr.default=void 0;var Iy=ky(Xi()),Py=J();function ky(r){return r&&r.__esModule?r:{default:r}}function Ry(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,oo(r,e)}function oo(r,e){return oo=Object.setPrototypeOf||function(i,n){return i.__proto__=n,i},oo(r,e)}var Cy=function(r){Ry(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=Py.TAG,i}return e}(Iy.default);Sr.default=Cy;Lc.exports=Sr.default});var fo=S((br,qc)=>{p();d();"use strict";br.__esModule=!0;br.default=void 0;var Fy=Dy(Fe()),Ly=J();function Dy(r){return r&&r.__esModule?r:{default:r}}function qy(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,uo(r,e)}function uo(r,e){return uo=Object.setPrototypeOf||function(i,n){return i.__proto__=n,i},uo(r,e)}var My=function(r){qy(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=Ly.STRING,i}return e}(Fy.default);br.default=My;qc.exports=br.default});var co=S((Ar,Mc)=>{p();d();"use strict";Ar.__esModule=!0;Ar.default=void 0;var Ny=Uy(Ki()),By=J();function Uy(r){return r&&r.__esModule?r:{default:r}}function jy(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,lo(r,e)}function lo(r,e){return lo=Object.setPrototypeOf||function(i,n){return i.__proto__=n,i},lo(r,e)}var Yy=function(r){jy(e,r);function e(i){var n;return n=r.call(this,i)||this,n.type=By.PSEUDO,n}var t=e.prototype;return t.toString=function(){var n=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),n,this.rawSpaceAfter].join("")},e}(Ny.default);Ar.default=Yy;Mc.exports=Ar.default});var Nc=S((o_,Uc)=>{p();d();Uc.exports=Wy;function Wy(r,e){if(ho("noDeprecation"))return r;var t=!1;function i(){if(!t){if(ho("throwDeprecation"))throw new Error(e);ho("traceDeprecation")?console.trace(e):console.warn(e),t=!0}return r.apply(this,arguments)}return i}function ho(r){try{if(!window.localStorage)return!1}catch(t){return!1}var e=window.localStorage[r];return e==null?!1:String(e).toLowerCase()==="true"}});var wo=S(Or=>{p();d();"use strict";Or.__esModule=!0;Or.unescapeValue=po;Or.default=void 0;var Tr=mo(Zi()),zy=mo(Vs()),Gy=mo(Xi()),Vy=J(),go;function mo(r){return r&&r.__esModule?r:{default:r}}function Bc(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function Qy(r,e,t){return e&&Bc(r.prototype,e),t&&Bc(r,t),r}function $y(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,vo(r,e)}function vo(r,e){return vo=Object.setPrototypeOf||function(i,n){return i.__proto__=n,i},vo(r,e)}var kr=Nc(),Hy=/^('|")([^]*)\1$/,Jy=kr(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),Ky=kr(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),Zy=kr(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function po(r){var e=!1,t=null,i=r,n=i.match(Hy);return n&&(t=n[1],i=n[2]),i=(0,zy.default)(i),i!==r&&(e=!0),{deprecatedUsage:e,unescaped:i,quoteMark:t}}function Xy(r){if(r.quoteMark!==void 0||r.value===void 0)return r;Zy();var e=po(r.value),t=e.quoteMark,i=e.unescaped;return r.raws||(r.raws={}),r.raws.value===void 0&&(r.raws.value=r.value),r.value=i,r.quoteMark=t,r}var en=function(r){$y(e,r);function e(i){var n;return i===void 0&&(i={}),n=r.call(this,Xy(i))||this,n.type=Vy.ATTRIBUTE,n.raws=n.raws||{},Object.defineProperty(n.raws,"unquoted",{get:kr(function(){return n.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:kr(function(){return n.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),n._constructed=!0,n}var t=e.prototype;return t.getQuotedValue=function(n){n===void 0&&(n={});var o=this._determineQuoteMark(n),s=yo[o],a=(0,Tr.default)(this._value,s);return a},t._determineQuoteMark=function(n){return n.smart?this.smartQuoteMark(n):this.preferredQuoteMark(n)},t.setValue=function(n,o){o===void 0&&(o={}),this._value=n,this._quoteMark=this._determineQuoteMark(o),this._syncRawValue()},t.smartQuoteMark=function(n){var o=this.value,s=o.replace(/[^']/g,"").length,a=o.replace(/[^"]/g,"").length;if(s+a===0){var u=(0,Tr.default)(o,{isIdentifier:!0});if(u===o)return e.NO_QUOTE;var f=this.preferredQuoteMark(n);if(f===e.NO_QUOTE){var l=this.quoteMark||n.quoteMark||e.DOUBLE_QUOTE,c=yo[l],g=(0,Tr.default)(o,c);if(g.length<u.length)return l}return f}else return a===s?this.preferredQuoteMark(n):a<s?e.DOUBLE_QUOTE:e.SINGLE_QUOTE},t.preferredQuoteMark=function(n){var o=n.preferCurrentQuoteMark?this.quoteMark:n.quoteMark;return o===void 0&&(o=n.preferCurrentQuoteMark?n.quoteMark:this.quoteMark),o===void 0&&(o=e.DOUBLE_QUOTE),o},t._syncRawValue=function(){var n=(0,Tr.default)(this._value,yo[this.quoteMark]);n===this._value?this.raws&&delete this.raws.value:this.raws.value=n},t._handleEscapes=function(n,o){if(this._constructed){var s=(0,Tr.default)(o,{isIdentifier:!0});s!==o?this.raws[n]=s:delete this.raws[n]}},t._spacesFor=function(n){var o={before:"",after:""},s=this.spaces[n]||{},a=this.raws.spaces&&this.raws.spaces[n]||{};return Object.assign(o,s,a)},t._stringFor=function(n,o,s){o===void 0&&(o=n),s===void 0&&(s=jc);var a=this._spacesFor(o);return s(this.stringifyProperty(n),a)},t.offsetOf=function(n){var o=1,s=this._spacesFor("attribute");if(o+=s.before.length,n==="namespace"||n==="ns")return this.namespace?o:-1;if(n==="attributeNS"||(o+=this.namespaceString.length,this.namespace&&(o+=1),n==="attribute"))return o;o+=this.stringifyProperty("attribute").length,o+=s.after.length;var a=this._spacesFor("operator");o+=a.before.length;var u=this.stringifyProperty("operator");if(n==="operator")return u?o:-1;o+=u.length,o+=a.after.length;var f=this._spacesFor("value");o+=f.before.length;var l=this.stringifyProperty("value");if(n==="value")return l?o:-1;o+=l.length,o+=f.after.length;var c=this._spacesFor("insensitive");return o+=c.before.length,n==="insensitive"&&this.insensitive?o:-1},t.toString=function(){var n=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(s,a){return s.length>0&&!n.quoted&&a.before.length===0&&!(n.spaces.value&&n.spaces.value.after)&&(a.before=" "),jc(s,a)}))),o.push("]"),o.push(this.rawSpaceAfter),o.join("")},Qy(e,[{key:"quoted",get:function(){var n=this.quoteMark;return n==="'"||n==='"'},set:function(n){Ky()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(n){if(!this._constructed){this._quoteMark=n;return}this._quoteMark!==n&&(this._quoteMark=n,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(n){if(this._constructed){var o=po(n),s=o.deprecatedUsage,a=o.unescaped,u=o.quoteMark;if(s&&Jy(),a===this._value&&u===this._quoteMark)return;this._value=a,this._quoteMark=u,this._syncRawValue()}else this._value=n}},{key:"attribute",get:function(){return this._attribute},set:function(n){this._handleEscapes("attribute",n),this._attribute=n}}]),e}(Gy.default);Or.default=en;en.NO_QUOTE=null;en.SINGLE_QUOTE="'";en.DOUBLE_QUOTE='"';var yo=(go={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},go[null]={isIdentifier:!0},go);function jc(r,e){return""+e.before+r+e.after}});var Eo=S((Ir,Yc)=>{p();d();"use strict";Ir.__esModule=!0;Ir.default=void 0;var tw=ew(Xi()),rw=J();function ew(r){return r&&r.__esModule?r:{default:r}}function iw(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,xo(r,e)}function xo(r,e){return xo=Object.setPrototypeOf||function(i,n){return i.__proto__=n,i},xo(r,e)}var nw=function(r){iw(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=rw.UNIVERSAL,i.value="*",i}return e}(tw.default);Ir.default=nw;Yc.exports=Ir.default});var So=S((Pr,Wc)=>{p();d();"use strict";Pr.__esModule=!0;Pr.default=void 0;var ow=sw(Fe()),aw=J();function sw(r){return r&&r.__esModule?r:{default:r}}function uw(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,_o(r,e)}function _o(r,e){return _o=Object.setPrototypeOf||function(i,n){return i.__proto__=n,i},_o(r,e)}var fw=function(r){uw(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=aw.COMBINATOR,i}return e}(ow.default);Pr.default=fw;Wc.exports=Pr.default});var Ao=S((Rr,zc)=>{p();d();"use strict";Rr.__esModule=!0;Rr.default=void 0;var cw=lw(Fe()),hw=J();function lw(r){return r&&r.__esModule?r:{default:r}}function pw(r,e){r.prototype=Object.create(e.prototype),r.prototype.constructor=r,bo(r,e)}function bo(r,e){return bo=Object.setPrototypeOf||function(i,n){return i.__proto__=n,i},bo(r,e)}var dw=function(r){pw(e,r);function e(t){var i;return i=r.call(this,t)||this,i.type=hw.NESTING,i.value="&",i}return e}(cw.default);Rr.default=dw;zc.exports=Rr.default});var Vc=S((tn,Gc)=>{p();d();"use strict";tn.__esModule=!0;tn.default=mw;function mw(r){return r.sort(function(e,t){return e-t})}Gc.exports=tn.default});var Oo=S(I=>{p();d();"use strict";I.__esModule=!0;I.combinator=I.word=I.comment=I.str=I.tab=I.newline=I.feed=I.cr=I.backslash=I.bang=I.slash=I.doubleQuote=I.singleQuote=I.space=I.greaterThan=I.pipe=I.equals=I.plus=I.caret=I.tilde=I.dollar=I.closeSquare=I.openSquare=I.closeParenthesis=I.openParenthesis=I.semicolon=I.colon=I.comma=I.at=I.asterisk=I.ampersand=void 0;var gw=38;I.ampersand=gw;var vw=42;I.asterisk=vw;var yw=64;I.at=yw;var ww=44;I.comma=ww;var xw=58;I.colon=xw;var Ew=59;I.semicolon=Ew;var _w=40;I.openParenthesis=_w;var Sw=41;I.closeParenthesis=Sw;var bw=91;I.openSquare=bw;var Aw=93;I.closeSquare=Aw;var Ow=36;I.dollar=Ow;var Tw=126;I.tilde=Tw;var kw=94;I.caret=kw;var Iw=43;I.plus=Iw;var Pw=61;I.equals=Pw;var Rw=124;I.pipe=Rw;var Cw=62;I.greaterThan=Cw;var Dw=32;I.space=Dw;var Qc=39;I.singleQuote=Qc;var Fw=34;I.doubleQuote=Fw;var Lw=47;I.slash=Lw;var qw=33;I.bang=qw;var Mw=92;I.backslash=Mw;var Uw=13;I.cr=Uw;var Nw=12;I.feed=Nw;var Bw=10;I.newline=Bw;var jw=9;I.tab=jw;var Yw=Qc;I.str=Yw;var Ww=-1;I.comment=Ww;var zw=-2;I.word=zw;var Gw=-3;I.combinator=Gw});var Jc=S(Cr=>{p();d();"use strict";Cr.__esModule=!0;Cr.default=Vw;Cr.FIELDS=void 0;var b=Qw(Oo()),Ut,U;function $c(){if(typeof WeakMap!="function")return null;var r=new WeakMap;return $c=function(){return r},r}function Qw(r){if(r&&r.__esModule)return r;if(r===null||typeof r!="object"&&typeof r!="function")return{default:r};var e=$c();if(e&&e.has(r))return e.get(r);var t={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)){var o=i?Object.getOwnPropertyDescriptor(r,n):null;o&&(o.get||o.set)?Object.defineProperty(t,n,o):t[n]=r[n]}return t.default=r,e&&e.set(r,t),t}var $w=(Ut={},Ut[b.tab]=!0,Ut[b.newline]=!0,Ut[b.cr]=!0,Ut[b.feed]=!0,Ut),Hw=(U={},U[b.space]=!0,U[b.tab]=!0,U[b.newline]=!0,U[b.cr]=!0,U[b.feed]=!0,U[b.ampersand]=!0,U[b.asterisk]=!0,U[b.bang]=!0,U[b.comma]=!0,U[b.colon]=!0,U[b.semicolon]=!0,U[b.openParenthesis]=!0,U[b.closeParenthesis]=!0,U[b.openSquare]=!0,U[b.closeSquare]=!0,U[b.singleQuote]=!0,U[b.doubleQuote]=!0,U[b.plus]=!0,U[b.pipe]=!0,U[b.tilde]=!0,U[b.greaterThan]=!0,U[b.equals]=!0,U[b.dollar]=!0,U[b.caret]=!0,U[b.slash]=!0,U),To={},Hc="0123456789abcdefABCDEF";for(var ko=0;ko<Hc.length;ko++)To[Hc.charCodeAt(ko)]=!0;function Kw(r,e){var t=e,i;do{if(i=r.charCodeAt(t),Hw[i])return t-1;i===b.backslash?t=Jw(r,t)+1:t++}while(t<r.length);return t-1}function Jw(r,e){var t=e,i=r.charCodeAt(t+1);if(!$w[i])if(To[i]){var n=0;do t++,n++,i=r.charCodeAt(t+1);while(To[i]&&n<6);n<6&&i===b.space&&t++}else t++;return t}var Zw={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};Cr.FIELDS=Zw;function Vw(r){var e=[],t=r.css.valueOf(),i=t,n=i.length,o=-1,s=1,a=0,u=0,f,l,c,g,m,v,k,w,E,R,A,P,O;function C(V,D){if(r.safe)t+=D,E=t.length-1;else throw r.error("Unclosed "+V,s,a-o,a)}for(;a<n;){switch(f=t.charCodeAt(a),f===b.newline&&(o=a,s+=1),f){case b.space:case b.tab:case b.newline:case b.cr:case b.feed:E=a;do E+=1,f=t.charCodeAt(E),f===b.newline&&(o=E,s+=1);while(f===b.space||f===b.newline||f===b.tab||f===b.cr||f===b.feed);O=b.space,g=s,c=E-o-1,u=E;break;case b.plus:case b.greaterThan:case b.tilde:case b.pipe:E=a;do E+=1,f=t.charCodeAt(E);while(f===b.plus||f===b.greaterThan||f===b.tilde||f===b.pipe);O=b.combinator,g=s,c=a-o,u=E;break;case b.asterisk:case b.ampersand:case b.bang:case b.comma:case b.equals:case b.dollar:case b.caret:case b.openSquare:case b.closeSquare:case b.colon:case b.semicolon:case b.openParenthesis:case b.closeParenthesis:E=a,O=f,g=s,c=a-o,u=E+1;break;case b.singleQuote:case b.doubleQuote:P=f===b.singleQuote?"'":'"',E=a;do for(m=!1,E=t.indexOf(P,E+1),E===-1&&C("quote",P),v=E;t.charCodeAt(v-1)===b.backslash;)v-=1,m=!m;while(m);O=b.str,g=s,c=a-o,u=E+1;break;default:f===b.slash&&t.charCodeAt(a+1)===b.asterisk?(E=t.indexOf("*/",a+2)+1,E===0&&C("comment","*/"),l=t.slice(a,E+1),w=l.split(`
|
|
49
|
+
`),k=w.length-1,k>0?(R=s+k,A=E-w[k].length):(R=s,A=o),O=b.comment,s=R,g=R,c=E-A):f===b.slash?(E=a,O=f,g=s,c=a-o,u=E+1):(E=Kw(t,a),O=b.word,g=s,c=E-o),u=E+1;break}e.push([O,s,a-o,g,c,a,u]),A&&(o=A,A=null),a=u}return e}});var nh=S((Dr,Kc)=>{p();d();"use strict";Dr.__esModule=!0;Dr.default=void 0;var Xw=fe(Hs()),Io=fe(Ks()),ex=fe(eo()),Zc=fe(ro()),tx=fe(no()),rx=fe(ao()),Po=fe(fo()),ix=fe(co()),Xc=rn(wo()),nx=fe(Eo()),Ro=fe(So()),sx=fe(Ao()),ox=fe(Vc()),_=rn(Jc()),T=rn(Oo()),ax=rn(J()),z=dr(),wt,Co;function eh(){if(typeof WeakMap!="function")return null;var r=new WeakMap;return eh=function(){return r},r}function rn(r){if(r&&r.__esModule)return r;if(r===null||typeof r!="object"&&typeof r!="function")return{default:r};var e=eh();if(e&&e.has(r))return e.get(r);var t={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)){var o=i?Object.getOwnPropertyDescriptor(r,n):null;o&&(o.get||o.set)?Object.defineProperty(t,n,o):t[n]=r[n]}return t.default=r,e&&e.set(r,t),t}function fe(r){return r&&r.__esModule?r:{default:r}}function th(r,e){for(var t=0;t<e.length;t++){var i=e[t];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(r,i.key,i)}}function ux(r,e,t){return e&&th(r.prototype,e),t&&th(r,t),r}var Do=(wt={},wt[T.space]=!0,wt[T.cr]=!0,wt[T.feed]=!0,wt[T.newline]=!0,wt[T.tab]=!0,wt),fx=Object.assign({},Do,(Co={},Co[T.comment]=!0,Co));function rh(r){return{line:r[_.FIELDS.START_LINE],column:r[_.FIELDS.START_COL]}}function ih(r){return{line:r[_.FIELDS.END_LINE],column:r[_.FIELDS.END_COL]}}function xt(r,e,t,i){return{start:{line:r,column:e},end:{line:t,column:i}}}function Nt(r){return xt(r[_.FIELDS.START_LINE],r[_.FIELDS.START_COL],r[_.FIELDS.END_LINE],r[_.FIELDS.END_COL])}function Fo(r,e){if(!!r)return xt(r[_.FIELDS.START_LINE],r[_.FIELDS.START_COL],e[_.FIELDS.END_LINE],e[_.FIELDS.END_COL])}function Bt(r,e){var t=r[e];if(typeof t=="string")return t.indexOf("\\")!==-1&&((0,z.ensureObject)(r,"raws"),r[e]=(0,z.unesc)(t),r.raws[e]===void 0&&(r.raws[e]=t)),r}function Lo(r,e){for(var t=-1,i=[];(t=r.indexOf(e,t+1))!==-1;)i.push(t);return i}function lx(){var r=Array.prototype.concat.apply([],arguments);return r.filter(function(e,t){return t===r.indexOf(e)})}var cx=function(){function r(t,i){i===void 0&&(i={}),this.rule=t,this.options=Object.assign({lossy:!1,safe:!1},i),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,_.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var n=Fo(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new Xw.default({source:n}),this.root.errorGenerator=this._errorGenerator();var o=new Io.default({source:{start:{line:1,column:1}}});this.root.append(o),this.current=o,this.loop()}var e=r.prototype;return e._errorGenerator=function(){var i=this;return function(n,o){return typeof i.rule=="string"?new Error(n):i.rule.error(n,o)}},e.attribute=function(){var i=[],n=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[_.FIELDS.TYPE]!==T.closeSquare;)i.push(this.currToken),this.position++;if(this.currToken[_.FIELDS.TYPE]!==T.closeSquare)return this.expected("closing square bracket",this.currToken[_.FIELDS.START_POS]);var o=i.length,s={source:xt(n[1],n[2],this.currToken[3],this.currToken[4]),sourceIndex:n[_.FIELDS.START_POS]};if(o===1&&!~[T.word].indexOf(i[0][_.FIELDS.TYPE]))return this.expected("attribute",i[0][_.FIELDS.START_POS]);for(var a=0,u="",f="",l=null,c=!1;a<o;){var g=i[a],m=this.content(g),v=i[a+1];switch(g[_.FIELDS.TYPE]){case T.space:if(c=!0,this.options.lossy)break;if(l){(0,z.ensureObject)(s,"spaces",l);var k=s.spaces[l].after||"";s.spaces[l].after=k+m;var w=(0,z.getProp)(s,"raws","spaces",l,"after")||null;w&&(s.raws.spaces[l].after=w+m)}else u=u+m,f=f+m;break;case T.asterisk:if(v[_.FIELDS.TYPE]===T.equals)s.operator=m,l="operator";else if((!s.namespace||l==="namespace"&&!c)&&v){u&&((0,z.ensureObject)(s,"spaces","attribute"),s.spaces.attribute.before=u,u=""),f&&((0,z.ensureObject)(s,"raws","spaces","attribute"),s.raws.spaces.attribute.before=u,f=""),s.namespace=(s.namespace||"")+m;var E=(0,z.getProp)(s,"raws","namespace")||null;E&&(s.raws.namespace+=m),l="namespace"}c=!1;break;case T.dollar:if(l==="value"){var R=(0,z.getProp)(s,"raws","value");s.value+="$",R&&(s.raws.value=R+"$");break}case T.caret:v[_.FIELDS.TYPE]===T.equals&&(s.operator=m,l="operator"),c=!1;break;case T.combinator:if(m==="~"&&v[_.FIELDS.TYPE]===T.equals&&(s.operator=m,l="operator"),m!=="|"){c=!1;break}v[_.FIELDS.TYPE]===T.equals?(s.operator=m,l="operator"):!s.namespace&&!s.attribute&&(s.namespace=!0),c=!1;break;case T.word:if(v&&this.content(v)==="|"&&i[a+2]&&i[a+2][_.FIELDS.TYPE]!==T.equals&&!s.operator&&!s.namespace)s.namespace=m,l="namespace";else if(!s.attribute||l==="attribute"&&!c){u&&((0,z.ensureObject)(s,"spaces","attribute"),s.spaces.attribute.before=u,u=""),f&&((0,z.ensureObject)(s,"raws","spaces","attribute"),s.raws.spaces.attribute.before=f,f=""),s.attribute=(s.attribute||"")+m;var A=(0,z.getProp)(s,"raws","attribute")||null;A&&(s.raws.attribute+=m),l="attribute"}else if(!s.value&&s.value!==""||l==="value"&&!c){var P=(0,z.unesc)(m),O=(0,z.getProp)(s,"raws","value")||"",C=s.value||"";s.value=C+P,s.quoteMark=null,(P!==m||O)&&((0,z.ensureObject)(s,"raws"),s.raws.value=(O||C)+m),l="value"}else{var V=m==="i"||m==="I";(s.value||s.value==="")&&(s.quoteMark||c)?(s.insensitive=V,(!V||m==="I")&&((0,z.ensureObject)(s,"raws"),s.raws.insensitiveFlag=m),l="insensitive",u&&((0,z.ensureObject)(s,"spaces","insensitive"),s.spaces.insensitive.before=u,u=""),f&&((0,z.ensureObject)(s,"raws","spaces","insensitive"),s.raws.spaces.insensitive.before=f,f="")):(s.value||s.value==="")&&(l="value",s.value+=m,s.raws.value&&(s.raws.value+=m))}c=!1;break;case T.str:if(!s.attribute||!s.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:g[_.FIELDS.START_POS]});var D=(0,Xc.unescapeValue)(m),W=D.unescaped,X=D.quoteMark;s.value=W,s.quoteMark=X,l="value",(0,z.ensureObject)(s,"raws"),s.raws.value=m,c=!1;break;case T.equals:if(!s.attribute)return this.expected("attribute",g[_.FIELDS.START_POS],m);if(s.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:g[_.FIELDS.START_POS]});s.operator=s.operator?s.operator+m:m,l="operator",c=!1;break;case T.comment:if(l)if(c||v&&v[_.FIELDS.TYPE]===T.space||l==="insensitive"){var Oe=(0,z.getProp)(s,"spaces",l,"after")||"",Je=(0,z.getProp)(s,"raws","spaces",l,"after")||Oe;(0,z.ensureObject)(s,"raws","spaces",l),s.raws.spaces[l].after=Je+m}else{var St=s[l]||"",Ke=(0,z.getProp)(s,"raws",l)||St;(0,z.ensureObject)(s,"raws"),s.raws[l]=Ke+m}else f=f+m;break;default:return this.error('Unexpected "'+m+'" found.',{index:g[_.FIELDS.START_POS]})}a++}Bt(s,"attribute"),Bt(s,"namespace"),this.newNode(new Xc.default(s)),this.position++},e.parseWhitespaceEquivalentTokens=function(i){i<0&&(i=this.tokens.length);var n=this.position,o=[],s="",a=void 0;do if(Do[this.currToken[_.FIELDS.TYPE]])this.options.lossy||(s+=this.content());else if(this.currToken[_.FIELDS.TYPE]===T.comment){var u={};s&&(u.before=s,s=""),a=new Zc.default({value:this.content(),source:Nt(this.currToken),sourceIndex:this.currToken[_.FIELDS.START_POS],spaces:u}),o.push(a)}while(++this.position<i);if(s){if(a)a.spaces.after=s;else if(!this.options.lossy){var f=this.tokens[n],l=this.tokens[this.position-1];o.push(new Po.default({value:"",source:xt(f[_.FIELDS.START_LINE],f[_.FIELDS.START_COL],l[_.FIELDS.END_LINE],l[_.FIELDS.END_COL]),sourceIndex:f[_.FIELDS.START_POS],spaces:{before:s,after:""}}))}}return o},e.convertWhitespaceNodesToSpace=function(i,n){var o=this;n===void 0&&(n=!1);var s="",a="";i.forEach(function(f){var l=o.lossySpace(f.spaces.before,n),c=o.lossySpace(f.rawSpaceBefore,n);s+=l+o.lossySpace(f.spaces.after,n&&l.length===0),a+=l+f.value+o.lossySpace(f.rawSpaceAfter,n&&c.length===0)}),a===s&&(a=void 0);var u={space:s,rawSpace:a};return u},e.isNamedCombinator=function(i){return i===void 0&&(i=this.position),this.tokens[i+0]&&this.tokens[i+0][_.FIELDS.TYPE]===T.slash&&this.tokens[i+1]&&this.tokens[i+1][_.FIELDS.TYPE]===T.word&&this.tokens[i+2]&&this.tokens[i+2][_.FIELDS.TYPE]===T.slash},e.namedCombinator=function(){if(this.isNamedCombinator()){var i=this.content(this.tokens[this.position+1]),n=(0,z.unesc)(i).toLowerCase(),o={};n!==i&&(o.value="/"+i+"/");var s=new Ro.default({value:"/"+n+"/",source:xt(this.currToken[_.FIELDS.START_LINE],this.currToken[_.FIELDS.START_COL],this.tokens[this.position+2][_.FIELDS.END_LINE],this.tokens[this.position+2][_.FIELDS.END_COL]),sourceIndex:this.currToken[_.FIELDS.START_POS],raws:o});return this.position=this.position+3,s}else this.unexpected()},e.combinator=function(){var i=this;if(this.content()==="|")return this.namespace();var n=this.locateNextMeaningfulToken(this.position);if(n<0||this.tokens[n][_.FIELDS.TYPE]===T.comma){var o=this.parseWhitespaceEquivalentTokens(n);if(o.length>0){var s=this.current.last;if(s){var a=this.convertWhitespaceNodesToSpace(o),u=a.space,f=a.rawSpace;f!==void 0&&(s.rawSpaceAfter+=f),s.spaces.after+=u}else o.forEach(function(O){return i.newNode(O)})}return}var l=this.currToken,c=void 0;n>this.position&&(c=this.parseWhitespaceEquivalentTokens(n));var g;if(this.isNamedCombinator()?g=this.namedCombinator():this.currToken[_.FIELDS.TYPE]===T.combinator?(g=new Ro.default({value:this.content(),source:Nt(this.currToken),sourceIndex:this.currToken[_.FIELDS.START_POS]}),this.position++):Do[this.currToken[_.FIELDS.TYPE]]||c||this.unexpected(),g){if(c){var m=this.convertWhitespaceNodesToSpace(c),v=m.space,k=m.rawSpace;g.spaces.before=v,g.rawSpaceBefore=k}}else{var w=this.convertWhitespaceNodesToSpace(c,!0),E=w.space,R=w.rawSpace;R||(R=E);var A={},P={spaces:{}};E.endsWith(" ")&&R.endsWith(" ")?(A.before=E.slice(0,E.length-1),P.spaces.before=R.slice(0,R.length-1)):E.startsWith(" ")&&R.startsWith(" ")?(A.after=E.slice(1),P.spaces.after=R.slice(1)):P.value=R,g=new Ro.default({value:" ",source:Fo(l,this.tokens[this.position-1]),sourceIndex:l[_.FIELDS.START_POS],spaces:A,raws:P})}return this.currToken&&this.currToken[_.FIELDS.TYPE]===T.space&&(g.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(g)},e.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var i=new Io.default({source:{start:rh(this.tokens[this.position+1])}});this.current.parent.append(i),this.current=i,this.position++},e.comment=function(){var i=this.currToken;this.newNode(new Zc.default({value:this.content(),source:Nt(i),sourceIndex:i[_.FIELDS.START_POS]})),this.position++},e.error=function(i,n){throw this.root.error(i,n)},e.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[_.FIELDS.START_POS]})},e.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[_.FIELDS.START_POS])},e.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[_.FIELDS.START_POS])},e.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[_.FIELDS.START_POS])},e.namespace=function(){var i=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[_.FIELDS.TYPE]===T.word)return this.position++,this.word(i);if(this.nextToken[_.FIELDS.TYPE]===T.asterisk)return this.position++,this.universal(i)},e.nesting=function(){if(this.nextToken){var i=this.content(this.nextToken);if(i==="|"){this.position++;return}}var n=this.currToken;this.newNode(new sx.default({value:this.content(),source:Nt(n),sourceIndex:n[_.FIELDS.START_POS]})),this.position++},e.parentheses=function(){var i=this.current.last,n=1;if(this.position++,i&&i.type===ax.PSEUDO){var o=new Io.default({source:{start:rh(this.tokens[this.position-1])}}),s=this.current;for(i.append(o),this.current=o;this.position<this.tokens.length&&n;)this.currToken[_.FIELDS.TYPE]===T.openParenthesis&&n++,this.currToken[_.FIELDS.TYPE]===T.closeParenthesis&&n--,n?this.parse():(this.current.source.end=ih(this.currToken),this.current.parent.source.end=ih(this.currToken),this.position++);this.current=s}else{for(var a=this.currToken,u="(",f;this.position<this.tokens.length&&n;)this.currToken[_.FIELDS.TYPE]===T.openParenthesis&&n++,this.currToken[_.FIELDS.TYPE]===T.closeParenthesis&&n--,f=this.currToken,u+=this.parseParenthesisToken(this.currToken),this.position++;i?i.appendToPropertyAndEscape("value",u,u):this.newNode(new Po.default({value:u,source:xt(a[_.FIELDS.START_LINE],a[_.FIELDS.START_COL],f[_.FIELDS.END_LINE],f[_.FIELDS.END_COL]),sourceIndex:a[_.FIELDS.START_POS]}))}if(n)return this.expected("closing parenthesis",this.currToken[_.FIELDS.START_POS])},e.pseudo=function(){for(var i=this,n="",o=this.currToken;this.currToken&&this.currToken[_.FIELDS.TYPE]===T.colon;)n+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[_.FIELDS.TYPE]===T.word)this.splitWord(!1,function(s,a){n+=s,i.newNode(new ix.default({value:n,source:Fo(o,i.currToken),sourceIndex:o[_.FIELDS.START_POS]})),a>1&&i.nextToken&&i.nextToken[_.FIELDS.TYPE]===T.openParenthesis&&i.error("Misplaced parenthesis.",{index:i.nextToken[_.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[_.FIELDS.START_POS])},e.space=function(){var i=this.content();this.position===0||this.prevToken[_.FIELDS.TYPE]===T.comma||this.prevToken[_.FIELDS.TYPE]===T.openParenthesis||this.current.nodes.every(function(n){return n.type==="comment"})?(this.spaces=this.optionalSpace(i),this.position++):this.position===this.tokens.length-1||this.nextToken[_.FIELDS.TYPE]===T.comma||this.nextToken[_.FIELDS.TYPE]===T.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(i),this.position++):this.combinator()},e.string=function(){var i=this.currToken;this.newNode(new Po.default({value:this.content(),source:Nt(i),sourceIndex:i[_.FIELDS.START_POS]})),this.position++},e.universal=function(i){var n=this.nextToken;if(n&&this.content(n)==="|")return this.position++,this.namespace();var o=this.currToken;this.newNode(new nx.default({value:this.content(),source:Nt(o),sourceIndex:o[_.FIELDS.START_POS]}),i),this.position++},e.splitWord=function(i,n){for(var o=this,s=this.nextToken,a=this.content();s&&~[T.dollar,T.caret,T.equals,T.word].indexOf(s[_.FIELDS.TYPE]);){this.position++;var u=this.content();if(a+=u,u.lastIndexOf("\\")===u.length-1){var f=this.nextToken;f&&f[_.FIELDS.TYPE]===T.space&&(a+=this.requiredSpace(this.content(f)),this.position++)}s=this.nextToken}var l=Lo(a,".").filter(function(v){var k=a[v-1]==="\\",w=/^\d+\.\d+%$/.test(a);return!k&&!w}),c=Lo(a,"#").filter(function(v){return a[v-1]!=="\\"}),g=Lo(a,"#{");g.length&&(c=c.filter(function(v){return!~g.indexOf(v)}));var m=(0,ox.default)(lx([0].concat(l,c)));m.forEach(function(v,k){var w=m[k+1]||a.length,E=a.slice(v,w);if(k===0&&n)return n.call(o,E,m.length);var R,A=o.currToken,P=A[_.FIELDS.START_POS]+m[k],O=xt(A[1],A[2]+v,A[3],A[2]+(w-1));if(~l.indexOf(v)){var C={value:E.slice(1),source:O,sourceIndex:P};R=new ex.default(Bt(C,"value"))}else if(~c.indexOf(v)){var V={value:E.slice(1),source:O,sourceIndex:P};R=new tx.default(Bt(V,"value"))}else{var D={value:E,source:O,sourceIndex:P};Bt(D,"value"),R=new rx.default(D)}o.newNode(R,i),i=null}),this.position++},e.word=function(i){var n=this.nextToken;return n&&this.content(n)==="|"?(this.position++,this.namespace()):this.splitWord(i)},e.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},e.parse=function(i){switch(this.currToken[_.FIELDS.TYPE]){case T.space:this.space();break;case T.comment:this.comment();break;case T.openParenthesis:this.parentheses();break;case T.closeParenthesis:i&&this.missingParenthesis();break;case T.openSquare:this.attribute();break;case T.dollar:case T.caret:case T.equals:case T.word:this.word();break;case T.colon:this.pseudo();break;case T.comma:this.comma();break;case T.asterisk:this.universal();break;case T.ampersand:this.nesting();break;case T.slash:case T.combinator:this.combinator();break;case T.str:this.string();break;case T.closeSquare:this.missingSquareBracket();case T.semicolon:this.missingBackslash();default:this.unexpected()}},e.expected=function(i,n,o){if(Array.isArray(i)){var s=i.pop();i=i.join(", ")+" or "+s}var a=/^[aeiou]/.test(i[0])?"an":"a";return o?this.error("Expected "+a+" "+i+', found "'+o+'" instead.',{index:n}):this.error("Expected "+a+" "+i+".",{index:n})},e.requiredSpace=function(i){return this.options.lossy?" ":i},e.optionalSpace=function(i){return this.options.lossy?"":i},e.lossySpace=function(i,n){return this.options.lossy?n?" ":"":i},e.parseParenthesisToken=function(i){var n=this.content(i);return i[_.FIELDS.TYPE]===T.space?this.requiredSpace(n):n},e.newNode=function(i,n){return n&&(/^ +$/.test(n)&&(this.options.lossy||(this.spaces=(this.spaces||"")+n),n=!0),i.namespace=n,Bt(i,"namespace")),this.spaces&&(i.spaces.before=this.spaces,this.spaces=""),this.current.append(i)},e.content=function(i){return i===void 0&&(i=this.currToken),this.css.slice(i[_.FIELDS.START_POS],i[_.FIELDS.END_POS])},e.locateNextMeaningfulToken=function(i){i===void 0&&(i=this.position+1);for(var n=i;n<this.tokens.length;)if(fx[this.tokens[n][_.FIELDS.TYPE]]){n++;continue}else return n;return-1},ux(r,[{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]}}]),r}();Dr.default=cx;Kc.exports=Dr.default});var oh=S((Fr,sh)=>{p();d();"use strict";Fr.__esModule=!0;Fr.default=void 0;var px=hx(nh());function hx(r){return r&&r.__esModule?r:{default:r}}var dx=function(){function r(t,i){this.func=t||function(){},this.funcRes=null,this.options=i}var e=r.prototype;return e._shouldUpdateSelector=function(i,n){n===void 0&&(n={});var o=Object.assign({},this.options,n);return o.updateSelector===!1?!1:typeof i!="string"},e._isLossy=function(i){i===void 0&&(i={});var n=Object.assign({},this.options,i);return n.lossless===!1},e._root=function(i,n){n===void 0&&(n={});var o=new px.default(i,this._parseOptions(n));return o.root},e._parseOptions=function(i){return{lossy:this._isLossy(i)}},e._run=function(i,n){var o=this;return n===void 0&&(n={}),new Promise(function(s,a){try{var u=o._root(i,n);Promise.resolve(o.func(u)).then(function(f){var l=void 0;return o._shouldUpdateSelector(i,n)&&(l=u.toString(),i.selector=l),{transform:f,root:u,string:l}}).then(s,a)}catch(f){a(f);return}})},e._runSync=function(i,n){n===void 0&&(n={});var o=this._root(i,n),s=this.func(o);if(s&&typeof s.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var a=void 0;return n.updateSelector&&typeof i!="string"&&(a=o.toString(),i.selector=a),{transform:s,root:o,string:a}},e.ast=function(i,n){return this._run(i,n).then(function(o){return o.root})},e.astSync=function(i,n){return this._runSync(i,n).root},e.transform=function(i,n){return this._run(i,n).then(function(o){return o.transform})},e.transformSync=function(i,n){return this._runSync(i,n).transform},e.process=function(i,n){return this._run(i,n).then(function(o){return o.string||o.root.toString()})},e.processSync=function(i,n){var o=this._runSync(i,n);return o.string||o.root.toString()},r}();Fr.default=dx;sh.exports=Fr.default});var ah=S(B=>{p();d();"use strict";B.__esModule=!0;B.universal=B.tag=B.string=B.selector=B.root=B.pseudo=B.nesting=B.id=B.comment=B.combinator=B.className=B.attribute=void 0;var mx=le(wo()),gx=le(eo()),vx=le(So()),yx=le(ro()),wx=le(no()),xx=le(Ao()),Ex=le(co()),_x=le(Hs()),Sx=le(Ks()),bx=le(fo()),Ax=le(ao()),Ox=le(Eo());function le(r){return r&&r.__esModule?r:{default:r}}var Tx=function(e){return new mx.default(e)};B.attribute=Tx;var kx=function(e){return new gx.default(e)};B.className=kx;var Ix=function(e){return new vx.default(e)};B.combinator=Ix;var Px=function(e){return new yx.default(e)};B.comment=Px;var Rx=function(e){return new wx.default(e)};B.id=Rx;var Cx=function(e){return new xx.default(e)};B.nesting=Cx;var Dx=function(e){return new Ex.default(e)};B.pseudo=Dx;var Fx=function(e){return new _x.default(e)};B.root=Fx;var Lx=function(e){return new Sx.default(e)};B.selector=Lx;var qx=function(e){return new bx.default(e)};B.string=qx;var Mx=function(e){return new Ax.default(e)};B.tag=Mx;var Ux=function(e){return new Ox.default(e)};B.universal=Ux});var ch=S(F=>{p();d();"use strict";F.__esModule=!0;F.isNode=qo;F.isPseudoElement=uh;F.isPseudoClass=Nx;F.isContainer=Bx;F.isNamespace=jx;F.isUniversal=F.isTag=F.isString=F.isSelector=F.isRoot=F.isPseudo=F.isNesting=F.isIdentifier=F.isComment=F.isCombinator=F.isClassName=F.isAttribute=void 0;var G=J(),ie,Yx=(ie={},ie[G.ATTRIBUTE]=!0,ie[G.CLASS]=!0,ie[G.COMBINATOR]=!0,ie[G.COMMENT]=!0,ie[G.ID]=!0,ie[G.NESTING]=!0,ie[G.PSEUDO]=!0,ie[G.ROOT]=!0,ie[G.SELECTOR]=!0,ie[G.STRING]=!0,ie[G.TAG]=!0,ie[G.UNIVERSAL]=!0,ie);function qo(r){return typeof r=="object"&&Yx[r.type]}function ce(r,e){return qo(e)&&e.type===r}var fh=ce.bind(null,G.ATTRIBUTE);F.isAttribute=fh;var Wx=ce.bind(null,G.CLASS);F.isClassName=Wx;var zx=ce.bind(null,G.COMBINATOR);F.isCombinator=zx;var Gx=ce.bind(null,G.COMMENT);F.isComment=Gx;var Vx=ce.bind(null,G.ID);F.isIdentifier=Vx;var Qx=ce.bind(null,G.NESTING);F.isNesting=Qx;var Mo=ce.bind(null,G.PSEUDO);F.isPseudo=Mo;var $x=ce.bind(null,G.ROOT);F.isRoot=$x;var Hx=ce.bind(null,G.SELECTOR);F.isSelector=Hx;var Jx=ce.bind(null,G.STRING);F.isString=Jx;var lh=ce.bind(null,G.TAG);F.isTag=lh;var Kx=ce.bind(null,G.UNIVERSAL);F.isUniversal=Kx;function uh(r){return Mo(r)&&r.value&&(r.value.startsWith("::")||r.value.toLowerCase()===":before"||r.value.toLowerCase()===":after"||r.value.toLowerCase()===":first-letter"||r.value.toLowerCase()===":first-line")}function Nx(r){return Mo(r)&&!uh(r)}function Bx(r){return!!(qo(r)&&r.walk)}function jx(r){return fh(r)||lh(r)}});var hh=S(ge=>{p();d();"use strict";ge.__esModule=!0;var Uo=J();Object.keys(Uo).forEach(function(r){r==="default"||r==="__esModule"||r in ge&&ge[r]===Uo[r]||(ge[r]=Uo[r])});var No=ah();Object.keys(No).forEach(function(r){r==="default"||r==="__esModule"||r in ge&&ge[r]===No[r]||(ge[r]=No[r])});var Bo=ch();Object.keys(Bo).forEach(function(r){r==="default"||r==="__esModule"||r in ge&&ge[r]===Bo[r]||(ge[r]=Bo[r])})});var mh=S((Lr,ph)=>{p();d();"use strict";Lr.__esModule=!0;Lr.default=void 0;var Xx=Zx(oh()),t1=e1(hh());function dh(){if(typeof WeakMap!="function")return null;var r=new WeakMap;return dh=function(){return r},r}function e1(r){if(r&&r.__esModule)return r;if(r===null||typeof r!="object"&&typeof r!="function")return{default:r};var e=dh();if(e&&e.has(r))return e.get(r);var t={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)){var o=i?Object.getOwnPropertyDescriptor(r,n):null;o&&(o.get||o.set)?Object.defineProperty(t,n,o):t[n]=r[n]}return t.default=r,e&&e.set(r,t),t}function Zx(r){return r&&r.__esModule?r:{default:r}}var jo=function(e){return new Xx.default(e)};Object.assign(jo,t1);delete jo.__esModule;var r1=jo;Lr.default=r1;ph.exports=Lr.default});var l1={};Ze(l1,{purgecss:()=>$o});p();d();p();d();Gr();p();d();gn();var Yo=an(is());Gr();p();d();var Y=an(oc());var LE=Y.default.stringify,qE=Y.default.fromJSON,ME=Y.default.plugin,ac=Y.default.parse,UE=Y.default.list,NE=Y.default.document,BE=Y.default.comment,jE=Y.default.atRule,YE=Y.default.rule,WE=Y.default.decl,uc=Y.default.root,zE=Y.default.CssSyntaxError,GE=Y.default.Declaration,VE=Y.default.Container,QE=Y.default.Processor,$E=Y.default.Document,HE=Y.default.Comment,JE=Y.default.Warning,KE=Y.default.AtRule,ZE=Y.default.Result,XE=Y.default.Input,e_=Y.default.Rule,t_=Y.default.Root,r_=Y.default.Node;var gh=an(mh());Ht();function se(r,e){e&&e.forEach(r.add,r)}var Et=class{constructor(e){this.undetermined=new Set,this.attrNames=new Set,this.attrValues=new Set,this.classes=new Set,this.ids=new Set,this.tags=new Set,this.merge(e)}merge(e){return Array.isArray(e)?se(this.undetermined,e):e instanceof Et?(se(this.undetermined,e.undetermined),se(this.attrNames,e.attrNames),se(this.attrValues,e.attrValues),se(this.classes,e.classes),se(this.ids,e.ids),se(this.tags,e.tags)):(se(this.undetermined,e.undetermined),e.attributes&&(se(this.attrNames,e.attributes.names),se(this.attrValues,e.attributes.values)),se(this.classes,e.classes),se(this.ids,e.ids),se(this.tags,e.tags)),this}hasAttrName(e){return this.attrNames.has(e)||this.undetermined.has(e)}someAttrValue(e){for(let t of this.attrValues)if(e(t))return!0;for(let t of this.undetermined)if(e(t))return!0;return!1}hasAttrPrefix(e){return this.someAttrValue(t=>t.startsWith(e))}hasAttrSuffix(e){return this.someAttrValue(t=>t.endsWith(e))}hasAttrSubstr(e){return e.trim().split(" ").every(t=>this.someAttrValue(i=>i.includes(t)))}hasAttrValue(e){return this.attrValues.has(e)||this.undetermined.has(e)}hasClass(e){return this.classes.has(e)||this.undetermined.has(e)}hasId(e){return this.ids.has(e)||this.undetermined.has(e)}hasTag(e){return this.tags.has(e)||this.undetermined.has(e)}},vh=["*",":root",":after",":before"],_t={css:[],content:[],defaultExtractor:r=>r.match(/[A-Za-z0-9_-]+/g)||[],extractors:[],fontFace:!1,keyframes:!1,rejected:!1,rejectedCss:!1,sourceMap:!1,stdin:!1,stdout:!1,variables:!1,safelist:{standard:[],deep:[],greedy:[],variables:[],keyframes:[]},blocklist:[],skippedContentGlobs:[],dynamicAttributes:[]};function yh(r,e){let t=[];return r.replace(e,function(){let i=arguments,n=Array.prototype.slice.call(i,0,-2);return n.input=i[i.length-1],n.index=i[i.length-2],t.push(n),r}),t}var Wo=class{constructor(e){this.nodes=[],this.isUsed=!1,this.value=e}},wh=class{constructor(){this.nodes=new Map,this.usedVariables=new Set,this.safelist=[]}addVariable(e){let{prop:t}=e;if(this.nodes.has(t)){let i=new Wo(e),n=this.nodes.get(t)||[];this.nodes.set(t,[...n,i])}else{let i=new Wo(e);this.nodes.set(t,[i])}}addVariableUsage(e,t){let{prop:i}=e,n=this.nodes.get(i);for(let o of t){let s=o[1];if(this.nodes.has(s)){let a=this.nodes.get(s);n==null||n.forEach(u=>{a==null||a.forEach(f=>u.nodes.push(f))})}}}addVariableUsageInProperties(e){for(let t of e){let i=t[1];this.usedVariables.add(i)}}setAsUsed(e){let t=this.nodes.get(e);if(t){let i=[...t];for(;i.length!==0;){let n=i.pop();n&&!n.isUsed&&(n.isUsed=!0,i.push(...n.nodes))}}}removeUnused(){for(let e of this.usedVariables){let t=this.nodes.get(e);if(t)for(let i of t)yh(i.value.value,/var\((.+?)[,)]/g).forEach(n=>{this.usedVariables.has(n[1])||this.usedVariables.add(n[1])})}for(let e of this.usedVariables)this.setAsUsed(e);for(let[e,t]of this.nodes)for(let i of t)i.isUsed||this.isVariablesSafelisted(e)||i.value.remove()}isVariablesSafelisted(e){return this.safelist.some(t=>typeof t=="string"?t===e:t.test(e))}},zo={access:li(void 0),readFile:li(void 0)};function nn(r=[]){return Array.isArray(r)?{..._t.safelist,standard:r}:{..._t.safelist,...r}}async function o1(r="purgecss.config.js"){let e;try{e=await import(Ue(y.cwd(),r))}catch(t){throw t instanceof Error?new Error(`Error loading the config file ${t.message}`):new Error}return{..._t,...e,safelist:nn(e.safelist)}}async function xh(r,e){return new Et(await e(r))}function Go(r,e){switch(e){case"next":return r.text.includes("purgecss ignore");case"start":return r.text.includes("purgecss start ignore");case"end":return r.text.includes("purgecss end ignore")}}function Vo(...r){let e=new Et([]);return r.forEach(e.merge,e),e}function Eh(r){return r.replace(/(^["'])|(["']$)/g,"")}function a1(r,e){if(!e.hasAttrName(r.attribute))return!1;if(r.value===void 0)return!0;switch(r.operator){case"$=":return e.hasAttrSuffix(r.value);case"~=":case"*=":return e.hasAttrSubstr(r.value);case"=":return e.hasAttrValue(r.value);case"|=":case"^=":return e.hasAttrPrefix(r.value);default:return!0}}function u1(r,e){return e.hasId(r.value)}function f1(r,e){return e.hasTag(r.value)}function _h(r){return(r==null?void 0:r.type)==="atrule"}function Sh(r){return(r==null?void 0:r.type)==="rule"}var Qo=class{constructor(){this.ignore=!1,this.atRules={fontFace:[],keyframes:[]},this.usedAnimations=new Set,this.usedFontFaces=new Set,this.selectorsRemoved=new Set,this.removedNodes=[],this.variablesStructure=new wh,this.options=_t}collectDeclarationsData(e){let{prop:t,value:i}=e;if(this.options.variables){let n=yh(i,/var\((.+?)[,)]/g);t.startsWith("--")?(this.variablesStructure.addVariable(e),n.length>0&&this.variablesStructure.addVariableUsage(e,n)):n.length>0&&this.variablesStructure.addVariableUsageInProperties(n)}if(!this.options.keyframes||t!=="animation"&&t!=="animation-name"){if(this.options.fontFace&&t==="font-family")for(let n of i.split(",")){let o=Eh(n.trim());this.usedFontFaces.add(o)}}else for(let n of i.split(/[\s,]+/))this.usedAnimations.add(n)}getFileExtractor(e,t){let i=t.find(n=>n.extensions.find(o=>e.endsWith(o)));return i===void 0?this.options.defaultExtractor:i.extractor}async extractSelectorsFromFiles(e,t){let i=new Et([]);for(let n of e){let o=[];try{await zo.access(n,(void 0).F_OK),o.push(n)}catch(s){o=Yo.sync(n,{nodir:!0,ignore:this.options.skippedContentGlobs})}for(let s of o){let a=await zo.readFile(s,"utf-8"),u=this.getFileExtractor(s,t),f=await xh(a,u);i.merge(f)}}return i}async extractSelectorsFromString(e,t){let i=new Et([]);for(let{raw:n,extension:o}of e){let s=this.getFileExtractor(`.${o}`,t),a=await xh(n,s);i.merge(a)}return i}evaluateAtRule(e){if(this.options.keyframes&&e.name.endsWith("keyframes"))this.atRules.keyframes.push(e);else if(this.options.fontFace&&e.name==="font-face"&&e.nodes)for(let t of e.nodes)t.type==="decl"&&t.prop==="font-family"&&this.atRules.fontFace.push({name:Eh(t.value),node:e})}evaluateRule(e,t){if(this.ignore)return;let i=e.prev();if(function(a){return(a==null?void 0:a.type)==="comment"}(i)&&Go(i,"next"))return void i.remove();if(e.parent&&_h(e.parent)&&e.parent.name.endsWith("keyframes")||!Sh(e)||function(a){let u=!1;return a.walkComments(f=>{f&&f.type==="comment"&&f.text.includes("purgecss ignore current")&&(u=!0,f.remove())}),u}(e))return;let n=!0,o=[];if(e.selector=(0,gh.default)(a=>{a.walk(u=>{u.type==="selector"&&(n=this.shouldKeepSelector(u,t),n||(this.options.rejected&&this.selectorsRemoved.add(u.toString()),this.options.rejectedCss&&o.push(u.toString()),u.remove()))})}).processSync(e.selector),n&&e.nodes!==void 0)for(let a of e.nodes)a.type==="decl"&&this.collectDeclarationsData(a);let s=e.parent;if(e.selector||e.remove(),function(a){return!!(Sh(a)&&!a.selector||(a==null?void 0:a.nodes)&&!a.nodes.length||_h(a)&&(!a.nodes&&!a.params||!a.params&&a.nodes&&!a.nodes.length))}(s)&&(s==null||s.remove()),this.options.rejectedCss&&o.length>0){let a=e.clone(),u=s==null?void 0:s.clone().removeAll().append(a);a.selectors=o;let f=u||a;this.removedNodes.push(f)}}async getPurgedCSS(e,t){var i;let n=[],o=[];for(let s of e)typeof s=="string"?o.push(...Yo.sync(s,{nodir:!0,ignore:this.options.skippedContentGlobs})):o.push(s);for(let s of o){let a=typeof s=="string"?this.options.stdin?s:await zo.readFile(s,"utf-8"):s.raw,u=typeof s=="string"&&!this.options.stdin,f=ac(a,{from:u?s:void 0});this.walkThroughCSS(f,t),this.options.fontFace&&this.removeUnusedFontFaces(),this.options.keyframes&&this.removeUnusedKeyframes(),this.options.variables&&this.removeUnusedCSSVariables();let l=f.toResult({map:this.options.sourceMap,to:typeof this.options.sourceMap=="object"?this.options.sourceMap.to:void 0}),c={css:l.toString(),file:typeof s=="string"?s:s.name};this.options.sourceMap&&(c.sourceMap=(i=l.map)===null||i===void 0?void 0:i.toString()),this.options.rejected&&(c.rejected=Array.from(this.selectorsRemoved),this.selectorsRemoved.clear()),this.options.rejectedCss&&(c.rejectedCss=uc({nodes:this.removedNodes}).toString()),n.push(c)}return n}isKeyframesSafelisted(e){return this.options.safelist.keyframes.some(t=>typeof t=="string"?t===e:t.test(e))}isSelectorBlocklisted(e){return this.options.blocklist.some(t=>typeof t=="string"?t===e:t.test(e))}isSelectorSafelisted(e){let t=this.options.safelist.standard.some(n=>typeof n=="string"?n===e:n.test(e)),i=/^::.*/.test(e);return vh.includes(e)||i||t}isSelectorSafelistedDeep(e){return this.options.safelist.deep.some(t=>t.test(e))}isSelectorSafelistedGreedy(e){return this.options.safelist.greedy.some(t=>t.test(e))}async purge(e){this.options=typeof e!="object"?await o1(e):{..._t,...e,safelist:nn(e.safelist)};let{content:t,css:i,extractors:n,safelist:o}=this.options;this.options.variables&&(this.variablesStructure.safelist=o.variables||[]);let s=t.filter(l=>typeof l=="string"),a=t.filter(l=>typeof l=="object"),u=await this.extractSelectorsFromFiles(s,n),f=await this.extractSelectorsFromString(a,n);return this.getPurgedCSS(i,Vo(u,f))}removeUnusedCSSVariables(){this.variablesStructure.removeUnused()}removeUnusedFontFaces(){for(let{name:e,node:t}of this.atRules.fontFace)this.usedFontFaces.has(e)||t.remove()}removeUnusedKeyframes(){for(let e of this.atRules.keyframes)this.usedAnimations.has(e.params)||this.isKeyframesSafelisted(e.params)||e.remove()}getSelectorValue(e){return e.type==="attribute"&&e.attribute||e.value}shouldKeepSelector(e,t){if(function(o){return o.parent&&o.parent.type==="pseudo"&&o.parent.value.startsWith(":")||!1}(e)||this.options.safelist.greedy.length>0&&e.nodes.map(this.getSelectorValue).some(o=>o&&this.isSelectorSafelistedGreedy(o)))return!0;let i=!1;for(let o of e.nodes){let s=this.getSelectorValue(o);if(s&&this.isSelectorSafelistedDeep(s))return!0;if(s&&(vh.includes(s)||this.isSelectorSafelisted(s)))i=!0;else{if(s&&this.isSelectorBlocklisted(s))return!1;switch(o.type){case"attribute":i=!![...this.options.dynamicAttributes,"value","checked","selected","open"].includes(o.attribute)||a1(o,t);break;case"class":n=o,i=t.hasClass(n.value);break;case"id":i=u1(o,t);break;case"tag":i=f1(o,t);break;default:continue}if(!i)return!1}}var n;return i}walkThroughCSS(e,t){e.walk(i=>i.type==="rule"?this.evaluateRule(i,t):i.type==="atrule"?this.evaluateAtRule(i):void(i.type==="comment"&&(Go(i,"start")?(this.ignore=!0,i.remove()):Go(i,"end")&&(this.ignore=!1,i.remove()))))}};var $o=function(r){if(r===void 0)throw new Error("PurgeCSS plugin does not have the correct options");return{postcssPlugin:"postcss-purgecss",OnceExit:(e,t)=>async function(i,n,{result:o}){let s=new Qo,a;try{a=await import(Ue(y.cwd(),"purgecss.config.js"))}catch{}let u={..._t,...a,...i,safelist:nn((i==null?void 0:i.safelist)||(a==null?void 0:a.safelist))};i&&typeof i.contentFunction=="function"&&(u.content=i.contentFunction(n.source&&n.source.input.file||"")),s.options=u,u.variables&&(s.variablesStructure.safelist=u.safelist.variables||[]);let{content:f,extractors:l}=u,c=f.filter(w=>typeof w=="string"),g=f.filter(w=>typeof w=="object"),m=await s.extractSelectorsFromFiles(c,l),v=await s.extractSelectorsFromString(g,l),k=Vo(m,v);s.walkThroughCSS(n,k),s.options.fontFace&&s.removeUnusedFontFaces(),s.options.keyframes&&s.removeUnusedKeyframes(),s.options.variables&&s.removeUnusedCSSVariables(),s.options.rejected&&s.selectorsRemoved.size>0&&(o.messages.push({type:"purgecss",plugin:"postcss-purgecss",text:`purging ${s.selectorsRemoved.size} selectors:
|
|
50
|
+
${Array.from(s.selectorsRemoved).map(w=>w.trim()).join(`
|
|
51
|
+
`)}`}),s.selectorsRemoved.clear())}(r,e,t)}};$o.postcss=!0;return l1;})();
|
|
52
|
+
/*!
|
|
53
|
+
* The buffer module from node.js, for the browser.
|
|
54
|
+
*
|
|
55
|
+
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
56
|
+
* @license MIT
|
|
57
|
+
*/
|
|
58
|
+
/*! https://mths.be/cssesc v3.0.0 by @mathias */
|
|
59
|
+
/*! https://mths.be/punycode v1.4.1 by @mathias */
|