monocart-coverage-reports 2.10.4 → 2.10.6

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.
@@ -1,5 +1,5 @@
1
1
  var Co=Object.create;var ct=Object.defineProperty;var Oo=Object.getOwnPropertyDescriptor;var Lo=Object.getOwnPropertyNames;var To=Object.getPrototypeOf,Ao=Object.prototype.hasOwnProperty;var S=(n,e)=>()=>(e||n((e={exports:{}}).exports,e),e.exports),No=(n,e)=>{for(var t in e)ct(n,t,{get:e[t],enumerable:!0})},tn=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of Lo(e))!Ao.call(n,s)&&s!==t&&ct(n,s,{get:()=>e[s],enumerable:!(r=Oo(e,s))||r.enumerable});return n};var U=(n,e,t)=>(t=n!=null?Co(To(n)):{},tn(e||!n||!n.__esModule?ct(t,"default",{value:n,enumerable:!0}):t,n)),Mo=n=>tn(ct({},"__esModule",{value:!0}),n);var nn=S(A=>{"use strict";Object.defineProperty(A,"commentRegex",{get:function(){return/^\s*?\/[\/\*][@#]\s+?sourceMappingURL=data:(((?:application|text)\/json)(?:;charset=([^;,]+?)?)?)?(?:;(base64))?,(.*?)$/mg}});Object.defineProperty(A,"mapFileCommentRegex",{get:function(){return/(?:\/\/[@#][ \t]+?sourceMappingURL=([^\s'"`]+?)[ \t]*?$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^*]+?)[ \t]*?(?:\*\/){1}[ \t]*?$)/mg}});var ht;typeof Buffer<"u"?typeof Buffer.from=="function"?ht=Ro:ht=Po:ht=ko;function Ro(n){return Buffer.from(n,"base64").toString()}function Po(n){if(typeof value=="number")throw new TypeError("The value to decode must not be of type number.");return new Buffer(n,"base64").toString()}function ko(n){return decodeURIComponent(escape(atob(n)))}function Io(n){return n.split(",").pop()}function Bo(n,e){var t=A.mapFileCommentRegex.exec(n),r=t[1]||t[2];try{var n=e(r);return n!=null&&typeof n.catch=="function"?n.catch(s):n}catch(i){s(i)}function s(i){throw new Error("An error occurred while trying to read the map file at "+r+`
2
- `+i.stack)}}function D(n,e){e=e||{},e.hasComment&&(n=Io(n)),e.encoding==="base64"?n=ht(n):e.encoding==="uri"&&(n=decodeURIComponent(n)),(e.isJSON||e.encoding)&&(n=JSON.parse(n)),this.sourcemap=n}D.prototype.toJSON=function(n){return JSON.stringify(this.sourcemap,null,n)};typeof Buffer<"u"?typeof Buffer.from=="function"?D.prototype.toBase64=Fo:D.prototype.toBase64=Uo:D.prototype.toBase64=Do;function Fo(){var n=this.toJSON();return Buffer.from(n,"utf8").toString("base64")}function Uo(){var n=this.toJSON();if(typeof n=="number")throw new TypeError("The json to encode must not be of type number.");return new Buffer(n,"utf8").toString("base64")}function Do(){var n=this.toJSON();return btoa(unescape(encodeURIComponent(n)))}D.prototype.toURI=function(){var n=this.toJSON();return encodeURIComponent(n)};D.prototype.toComment=function(n){var e,t,r;return n!=null&&n.encoding==="uri"?(e="",t=this.toURI()):(e=";base64",t=this.toBase64()),r="sourceMappingURL=data:application/json;charset=utf-8"+e+","+t,n!=null&&n.multiline?"/*# "+r+" */":"//# "+r};D.prototype.toObject=function(){return JSON.parse(this.toJSON())};D.prototype.addProperty=function(n,e){if(this.sourcemap.hasOwnProperty(n))throw new Error('property "'+n+'" already exists on the sourcemap, use set property instead');return this.setProperty(n,e)};D.prototype.setProperty=function(n,e){return this.sourcemap[n]=e,this};D.prototype.getProperty=function(n){return this.sourcemap[n]};A.fromObject=function(n){return new D(n)};A.fromJSON=function(n){return new D(n,{isJSON:!0})};A.fromURI=function(n){return new D(n,{encoding:"uri"})};A.fromBase64=function(n){return new D(n,{encoding:"base64"})};A.fromComment=function(n){var e,t;return n=n.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),e=A.commentRegex.exec(n),t=e&&e[4]||"uri",new D(n,{encoding:t,hasComment:!0})};function rn(n){return new D(n,{isJSON:!0})}A.fromMapFileComment=function(n,e){if(typeof e=="string")throw new Error("String directory paths are no longer supported with `fromMapFileComment`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var t=Bo(n,e);return t!=null&&typeof t.then=="function"?t.then(rn):rn(t)};A.fromSource=function(n){var e=n.match(A.commentRegex);return e?A.fromComment(e.pop()):null};A.fromMapFileSource=function(n,e){if(typeof e=="string")throw new Error("String directory paths are no longer supported with `fromMapFileSource`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var t=n.match(A.mapFileCommentRegex);return t?A.fromMapFileComment(t.pop(),e):null};A.removeComments=function(n){return n.replace(A.commentRegex,"")};A.removeMapFileComments=function(n){return n.replace(A.mapFileCommentRegex,"")};A.generateMapFileComment=function(n,e){var t="sourceMappingURL="+n;return e&&e.multiline?"/*# "+t+" */":"//# "+t}});var qt=S((Ef,$t)=>{var sn=process.argv||[],pt=process.env,Wo=!("NO_COLOR"in pt||sn.includes("--no-color"))&&("FORCE_COLOR"in pt||sn.includes("--color")||process.platform==="win32"||require!=null&&require("tty").isatty(1)&&pt.TERM!=="dumb"||"CI"in pt),jo=(n,e,t=n)=>r=>{let s=""+r,i=s.indexOf(e,n.length);return~i?n+$o(s,e,t,i)+e:n+s+e},$o=(n,e,t,r)=>{let s="",i=0;do s+=n.substring(i,r)+t,i=r+e.length,r=n.indexOf(e,i);while(~r);return s+n.substring(i)},on=(n=Wo)=>{let e=n?jo:()=>String;return{isColorSupported:n,reset:e("\x1B[0m","\x1B[0m"),bold:e("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:e("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:e("\x1B[3m","\x1B[23m"),underline:e("\x1B[4m","\x1B[24m"),inverse:e("\x1B[7m","\x1B[27m"),hidden:e("\x1B[8m","\x1B[28m"),strikethrough:e("\x1B[9m","\x1B[29m"),black:e("\x1B[30m","\x1B[39m"),red:e("\x1B[31m","\x1B[39m"),green:e("\x1B[32m","\x1B[39m"),yellow:e("\x1B[33m","\x1B[39m"),blue:e("\x1B[34m","\x1B[39m"),magenta:e("\x1B[35m","\x1B[39m"),cyan:e("\x1B[36m","\x1B[39m"),white:e("\x1B[37m","\x1B[39m"),gray:e("\x1B[90m","\x1B[39m"),bgBlack:e("\x1B[40m","\x1B[49m"),bgRed:e("\x1B[41m","\x1B[49m"),bgGreen:e("\x1B[42m","\x1B[49m"),bgYellow:e("\x1B[43m","\x1B[49m"),bgBlue:e("\x1B[44m","\x1B[49m"),bgMagenta:e("\x1B[45m","\x1B[49m"),bgCyan:e("\x1B[46m","\x1B[49m"),bgWhite:e("\x1B[47m","\x1B[49m")}};$t.exports=on();$t.exports.createColors=on});var Gt=S((Cf,an)=>{"use strict";var dt=/[\t\n\f\r "#'()/;[\\\]{}]/g,mt=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,qo=/.[\r\n"'(/\\]/,ln=/[\da-f]/i;an.exports=function(e,t={}){let r=e.css.valueOf(),s=t.ignoreErrors,i,o,a,l,u,f,h,c,p,m,d=r.length,g=0,y=[],w=[];function x(){return g}function v(N){throw e.error("Unclosed "+N,g)}function E(){return w.length===0&&g>=d}function b(N){if(w.length)return w.pop();if(g>=d)return;let C=N?N.ignoreUnclosed:!1;switch(i=r.charCodeAt(g),i){case 10:case 32:case 9:case 13:case 12:{l=g;do l+=1,i=r.charCodeAt(l);while(i===32||i===10||i===9||i===13||i===12);f=["space",r.slice(g,l)],g=l-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let P=String.fromCharCode(i);f=[P,P,g];break}case 40:{if(m=y.length?y.pop()[1]:"",p=r.charCodeAt(g+1),m==="url"&&p!==39&&p!==34&&p!==32&&p!==10&&p!==9&&p!==12&&p!==13){l=g;do{if(h=!1,l=r.indexOf(")",l+1),l===-1)if(s||C){l=g;break}else v("bracket");for(c=l;r.charCodeAt(c-1)===92;)c-=1,h=!h}while(h);f=["brackets",r.slice(g,l+1),g,l],g=l}else l=r.indexOf(")",g+1),o=r.slice(g,l+1),l===-1||qo.test(o)?f=["(","(",g]:(f=["brackets",o,g,l],g=l);break}case 39:case 34:{u=i===39?"'":'"',l=g;do{if(h=!1,l=r.indexOf(u,l+1),l===-1)if(s||C){l=g+1;break}else v("string");for(c=l;r.charCodeAt(c-1)===92;)c-=1,h=!h}while(h);f=["string",r.slice(g,l+1),g,l],g=l;break}case 64:{dt.lastIndex=g+1,dt.test(r),dt.lastIndex===0?l=r.length-1:l=dt.lastIndex-2,f=["at-word",r.slice(g,l+1),g,l],g=l;break}case 92:{for(l=g,a=!0;r.charCodeAt(l+1)===92;)l+=1,a=!a;if(i=r.charCodeAt(l+1),a&&i!==47&&i!==32&&i!==10&&i!==9&&i!==13&&i!==12&&(l+=1,ln.test(r.charAt(l)))){for(;ln.test(r.charAt(l+1));)l+=1;r.charCodeAt(l+1)===32&&(l+=1)}f=["word",r.slice(g,l+1),g,l],g=l;break}default:{i===47&&r.charCodeAt(g+1)===42?(l=r.indexOf("*/",g+2)+1,l===0&&(s||C?l=r.length:v("comment")),f=["comment",r.slice(g,l+1),g,l],g=l):(mt.lastIndex=g+1,mt.test(r),mt.lastIndex===0?l=r.length-1:l=mt.lastIndex-2,f=["word",r.slice(g,l+1),g,l],y.push(f),g=l);break}}return g++,f}function R(N){w.push(N)}return{back:R,endOfFile:E,nextToken:b,position:x}}});var zt=S((Of,cn)=>{"use strict";var j=qt(),Go=Gt(),un;function zo(n){un=n}var Vo={";":j.yellow,":":j.yellow,"(":j.cyan,")":j.cyan,"[":j.yellow,"]":j.yellow,"{":j.yellow,"}":j.yellow,"at-word":j.cyan,brackets:j.cyan,call:j.cyan,class:j.yellow,comment:j.gray,hash:j.magenta,string:j.green};function Ho([n,e],t){if(n==="word"){if(e[0]===".")return"class";if(e[0]==="#")return"hash"}if(!t.endOfFile()){let r=t.nextToken();if(t.back(r),r[0]==="brackets"||r[0]==="(")return"call"}return n}function fn(n){let e=Go(new un(n),{ignoreErrors:!0}),t="";for(;!e.endOfFile();){let r=e.nextToken(),s=Vo[Ho(r,e)];s?t+=r[1].split(/\r?\n/).map(i=>s(i)).join(`
2
+ `+i.stack)}}function D(n,e){e=e||{},e.hasComment&&(n=Io(n)),e.encoding==="base64"?n=ht(n):e.encoding==="uri"&&(n=decodeURIComponent(n)),(e.isJSON||e.encoding)&&(n=JSON.parse(n)),this.sourcemap=n}D.prototype.toJSON=function(n){return JSON.stringify(this.sourcemap,null,n)};typeof Buffer<"u"?typeof Buffer.from=="function"?D.prototype.toBase64=Fo:D.prototype.toBase64=Uo:D.prototype.toBase64=Do;function Fo(){var n=this.toJSON();return Buffer.from(n,"utf8").toString("base64")}function Uo(){var n=this.toJSON();if(typeof n=="number")throw new TypeError("The json to encode must not be of type number.");return new Buffer(n,"utf8").toString("base64")}function Do(){var n=this.toJSON();return btoa(unescape(encodeURIComponent(n)))}D.prototype.toURI=function(){var n=this.toJSON();return encodeURIComponent(n)};D.prototype.toComment=function(n){var e,t,r;return n!=null&&n.encoding==="uri"?(e="",t=this.toURI()):(e=";base64",t=this.toBase64()),r="sourceMappingURL=data:application/json;charset=utf-8"+e+","+t,n!=null&&n.multiline?"/*# "+r+" */":"//# "+r};D.prototype.toObject=function(){return JSON.parse(this.toJSON())};D.prototype.addProperty=function(n,e){if(this.sourcemap.hasOwnProperty(n))throw new Error('property "'+n+'" already exists on the sourcemap, use set property instead');return this.setProperty(n,e)};D.prototype.setProperty=function(n,e){return this.sourcemap[n]=e,this};D.prototype.getProperty=function(n){return this.sourcemap[n]};A.fromObject=function(n){return new D(n)};A.fromJSON=function(n){return new D(n,{isJSON:!0})};A.fromURI=function(n){return new D(n,{encoding:"uri"})};A.fromBase64=function(n){return new D(n,{encoding:"base64"})};A.fromComment=function(n){var e,t;return n=n.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),e=A.commentRegex.exec(n),t=e&&e[4]||"uri",new D(n,{encoding:t,hasComment:!0})};function rn(n){return new D(n,{isJSON:!0})}A.fromMapFileComment=function(n,e){if(typeof e=="string")throw new Error("String directory paths are no longer supported with `fromMapFileComment`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var t=Bo(n,e);return t!=null&&typeof t.then=="function"?t.then(rn):rn(t)};A.fromSource=function(n){var e=n.match(A.commentRegex);return e?A.fromComment(e.pop()):null};A.fromMapFileSource=function(n,e){if(typeof e=="string")throw new Error("String directory paths are no longer supported with `fromMapFileSource`\nPlease review the Upgrading documentation at https://github.com/thlorenz/convert-source-map#upgrading");var t=n.match(A.mapFileCommentRegex);return t?A.fromMapFileComment(t.pop(),e):null};A.removeComments=function(n){return n.replace(A.commentRegex,"")};A.removeMapFileComments=function(n){return n.replace(A.mapFileCommentRegex,"")};A.generateMapFileComment=function(n,e){var t="sourceMappingURL="+n;return e&&e.multiline?"/*# "+t+" */":"//# "+t}});var qt=S((Ef,$t)=>{var sn=process.argv||[],pt=process.env,Wo=!("NO_COLOR"in pt||sn.includes("--no-color"))&&("FORCE_COLOR"in pt||sn.includes("--color")||process.platform==="win32"||require!=null&&require("tty").isatty(1)&&pt.TERM!=="dumb"||"CI"in pt),jo=(n,e,t=n)=>r=>{let s=""+r,i=s.indexOf(e,n.length);return~i?n+$o(s,e,t,i)+e:n+s+e},$o=(n,e,t,r)=>{let s="",i=0;do s+=n.substring(i,r)+t,i=r+e.length,r=n.indexOf(e,i);while(~r);return s+n.substring(i)},on=(n=Wo)=>{let e=n?jo:()=>String;return{isColorSupported:n,reset:e("\x1B[0m","\x1B[0m"),bold:e("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"),dim:e("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"),italic:e("\x1B[3m","\x1B[23m"),underline:e("\x1B[4m","\x1B[24m"),inverse:e("\x1B[7m","\x1B[27m"),hidden:e("\x1B[8m","\x1B[28m"),strikethrough:e("\x1B[9m","\x1B[29m"),black:e("\x1B[30m","\x1B[39m"),red:e("\x1B[31m","\x1B[39m"),green:e("\x1B[32m","\x1B[39m"),yellow:e("\x1B[33m","\x1B[39m"),blue:e("\x1B[34m","\x1B[39m"),magenta:e("\x1B[35m","\x1B[39m"),cyan:e("\x1B[36m","\x1B[39m"),white:e("\x1B[37m","\x1B[39m"),gray:e("\x1B[90m","\x1B[39m"),bgBlack:e("\x1B[40m","\x1B[49m"),bgRed:e("\x1B[41m","\x1B[49m"),bgGreen:e("\x1B[42m","\x1B[49m"),bgYellow:e("\x1B[43m","\x1B[49m"),bgBlue:e("\x1B[44m","\x1B[49m"),bgMagenta:e("\x1B[45m","\x1B[49m"),bgCyan:e("\x1B[46m","\x1B[49m"),bgWhite:e("\x1B[47m","\x1B[49m"),blackBright:e("\x1B[90m","\x1B[39m"),redBright:e("\x1B[91m","\x1B[39m"),greenBright:e("\x1B[92m","\x1B[39m"),yellowBright:e("\x1B[93m","\x1B[39m"),blueBright:e("\x1B[94m","\x1B[39m"),magentaBright:e("\x1B[95m","\x1B[39m"),cyanBright:e("\x1B[96m","\x1B[39m"),whiteBright:e("\x1B[97m","\x1B[39m"),bgBlackBright:e("\x1B[100m","\x1B[49m"),bgRedBright:e("\x1B[101m","\x1B[49m"),bgGreenBright:e("\x1B[102m","\x1B[49m"),bgYellowBright:e("\x1B[103m","\x1B[49m"),bgBlueBright:e("\x1B[104m","\x1B[49m"),bgMagentaBright:e("\x1B[105m","\x1B[49m"),bgCyanBright:e("\x1B[106m","\x1B[49m"),bgWhiteBright:e("\x1B[107m","\x1B[49m")}};$t.exports=on();$t.exports.createColors=on});var Gt=S((Cf,an)=>{"use strict";var dt=/[\t\n\f\r "#'()/;[\\\]{}]/g,mt=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,qo=/.[\r\n"'(/\\]/,ln=/[\da-f]/i;an.exports=function(e,t={}){let r=e.css.valueOf(),s=t.ignoreErrors,i,o,a,l,u,f,h,c,p,m,d=r.length,g=0,y=[],w=[];function x(){return g}function v(N){throw e.error("Unclosed "+N,g)}function E(){return w.length===0&&g>=d}function b(N){if(w.length)return w.pop();if(g>=d)return;let C=N?N.ignoreUnclosed:!1;switch(i=r.charCodeAt(g),i){case 10:case 32:case 9:case 13:case 12:{l=g;do l+=1,i=r.charCodeAt(l);while(i===32||i===10||i===9||i===13||i===12);f=["space",r.slice(g,l)],g=l-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let P=String.fromCharCode(i);f=[P,P,g];break}case 40:{if(m=y.length?y.pop()[1]:"",p=r.charCodeAt(g+1),m==="url"&&p!==39&&p!==34&&p!==32&&p!==10&&p!==9&&p!==12&&p!==13){l=g;do{if(h=!1,l=r.indexOf(")",l+1),l===-1)if(s||C){l=g;break}else v("bracket");for(c=l;r.charCodeAt(c-1)===92;)c-=1,h=!h}while(h);f=["brackets",r.slice(g,l+1),g,l],g=l}else l=r.indexOf(")",g+1),o=r.slice(g,l+1),l===-1||qo.test(o)?f=["(","(",g]:(f=["brackets",o,g,l],g=l);break}case 39:case 34:{u=i===39?"'":'"',l=g;do{if(h=!1,l=r.indexOf(u,l+1),l===-1)if(s||C){l=g+1;break}else v("string");for(c=l;r.charCodeAt(c-1)===92;)c-=1,h=!h}while(h);f=["string",r.slice(g,l+1),g,l],g=l;break}case 64:{dt.lastIndex=g+1,dt.test(r),dt.lastIndex===0?l=r.length-1:l=dt.lastIndex-2,f=["at-word",r.slice(g,l+1),g,l],g=l;break}case 92:{for(l=g,a=!0;r.charCodeAt(l+1)===92;)l+=1,a=!a;if(i=r.charCodeAt(l+1),a&&i!==47&&i!==32&&i!==10&&i!==9&&i!==13&&i!==12&&(l+=1,ln.test(r.charAt(l)))){for(;ln.test(r.charAt(l+1));)l+=1;r.charCodeAt(l+1)===32&&(l+=1)}f=["word",r.slice(g,l+1),g,l],g=l;break}default:{i===47&&r.charCodeAt(g+1)===42?(l=r.indexOf("*/",g+2)+1,l===0&&(s||C?l=r.length:v("comment")),f=["comment",r.slice(g,l+1),g,l],g=l):(mt.lastIndex=g+1,mt.test(r),mt.lastIndex===0?l=r.length-1:l=mt.lastIndex-2,f=["word",r.slice(g,l+1),g,l],y.push(f),g=l);break}}return g++,f}function R(N){w.push(N)}return{back:R,endOfFile:E,nextToken:b,position:x}}});var zt=S((Of,cn)=>{"use strict";var j=qt(),Go=Gt(),un;function zo(n){un=n}var Vo={";":j.yellow,":":j.yellow,"(":j.cyan,")":j.cyan,"[":j.yellow,"]":j.yellow,"{":j.yellow,"}":j.yellow,"at-word":j.cyan,brackets:j.cyan,call:j.cyan,class:j.yellow,comment:j.gray,hash:j.magenta,string:j.green};function Ho([n,e],t){if(n==="word"){if(e[0]===".")return"class";if(e[0]==="#")return"hash"}if(!t.endOfFile()){let r=t.nextToken();if(t.back(r),r[0]==="brackets"||r[0]==="(")return"call"}return n}function fn(n){let e=Go(new un(n),{ignoreErrors:!0}),t="";for(;!e.endOfFile();){let r=e.nextToken(),s=Vo[Ho(r,e)];s?t+=r[1].split(/\r?\n/).map(i=>s(i)).join(`
3
3
  `):t+=r[1]}return t}fn.registerInput=zo;cn.exports=fn});var Vt=S((Lf,dn)=>{"use strict";var hn=qt(),pn=zt(),Fe=class n extends Error{constructor(e,t,r,s,i,o){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),s&&(this.source=s),o&&(this.plugin=o),typeof t<"u"&&typeof r<"u"&&(typeof t=="number"?(this.line=t,this.column=r):(this.line=t.line,this.column=t.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,n)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;e==null&&(e=hn.isColorSupported);let r=f=>f,s=f=>f,i=f=>f;if(e){let{bold:f,gray:h,red:c}=hn.createColors(!0);s=p=>f(c(p)),r=p=>h(p),pn&&(i=p=>pn(p))}let o=t.split(/\r?\n/),a=Math.max(this.line-3,0),l=Math.min(this.line+2,o.length),u=String(l).length;return o.slice(a,l).map((f,h)=>{let c=a+1+h,p=" "+(" "+c).slice(-u)+" | ";if(c===this.line){if(f.length>160){let d=20,g=Math.max(0,this.column-d),y=Math.max(this.column+d,this.endColumn+d),w=f.slice(g,y),x=r(p.replace(/\d/g," "))+f.slice(0,Math.min(this.column-1,d-1)).replace(/[^\t]/g," ");return s(">")+r(p)+i(w)+`
4
4
  `+x+s("^")}let m=r(p.replace(/\d/g," "))+f.slice(0,this.column-1).replace(/[^\t]/g," ");return s(">")+r(p)+i(f)+`
5
5
  `+m+s("^")}return" "+r(p)+i(f)}).join(`
@@ -18,7 +18,7 @@ var Co=Object.create;var ct=Object.defineProperty;var Oo=Object.getOwnPropertyDe
18
18
  `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(t,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let t;return e.walk(r=>{if(r.type!=="decl"&&(t=r.raws.between,typeof t<"u"))return!1}),t}rawBeforeRule(e){let t;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&typeof r.raws.before<"u")return t=r.raws.before,t.includes(`
19
19
  `)&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls(r=>{if(typeof r.raws.between<"u")return t=r.raws.between.replace(/[^\s:]/g,""),!1}),t}rawEmptyBody(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length===0&&(t=r.raws.after,typeof t<"u"))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e&&typeof r.raws.before<"u"){let i=r.raws.before.split(`
20
20
  `);return t=i[i.length-1],t=t.replace(/\S/g,""),!1}}),t}rawSemicolon(e){let t;return e.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(t=r.raws.semicolon,typeof t<"u"))return!1}),t}rawValue(e,t){let r=e[t],s=e.raws[t];return s&&s.value===r?s.raw:r}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}};gn.exports=Ue;Ue.default=Ue});var yn=S((Af,_n)=>{"use strict";var Jo=Ht();function Yt(n,e){new Jo(e).stringify(n)}_n.exports=Yt;Yt.default=Yt});var Qt=S((Nf,Jt)=>{"use strict";Jt.exports.isClean=Symbol("isClean");Jt.exports.my=Symbol("my")});var gt=S((Mf,wn)=>{"use strict";var Qo=Vt(),Ko=Ht(),Zo=yn(),{isClean:De,my:Xo}=Qt();function Kt(n,e){let t=new n.constructor;for(let r in n){if(!Object.prototype.hasOwnProperty.call(n,r)||r==="proxyCache")continue;let s=n[r],i=typeof s;r==="parent"&&i==="object"?e&&(t[r]=e):r==="source"?t[r]=s:Array.isArray(s)?t[r]=s.map(o=>Kt(o,t)):(i==="object"&&s!==null&&(s=Kt(s)),t[r]=s)}return t}var We=class{constructor(e={}){this.raws={},this[De]=!1,this[Xo]=!0;for(let t in e)if(t==="nodes"){this.nodes=[];for(let r of e[t])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[t]=e[t]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let t in e)this[t]=e[t];return this}before(e){return this.parent.insertBefore(this,e),this}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}clone(e={}){let t=Kt(this);for(let r in e)t[r]=e[r];return t}cloneAfter(e={}){let t=this.clone(e);return this.parent.insertAfter(this,t),t}cloneBefore(e={}){let t=this.clone(e);return this.parent.insertBefore(this,t),t}error(e,t={}){if(this.source){let{end:r,start:s}=this.rangeBy(t);return this.source.input.error(e,{column:s.column,line:s.line},{column:r.column,line:r.line},t)}return new Qo(e)}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:t==="root"?()=>e.root().toProxy():e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text")&&e.markDirty()),!0}}}markClean(){this[De]=!0}markDirty(){if(this[De]){this[De]=!1;let e=this;for(;e=e.parent;)e[De]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,t){let r=this.source.start;if(e.index)r=this.positionInside(e.index,t);else if(e.word){t=this.toString();let s=t.indexOf(e.word);s!==-1&&(r=this.positionInside(s,t))}return r}positionInside(e,t){let r=t||this.toString(),s=this.source.start.column,i=this.source.start.line;for(let o=0;o<e;o++)r[o]===`
21
- `?(s=1,i+=1):s+=1;return{column:s,line:i}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let s=this.toString(),i=s.indexOf(e.word);i!==-1&&(t=this.positionInside(i,s),r=this.positionInside(i+e.word.length,s))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:typeof e.endIndex=="number"?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}}raw(e,t){return new Ko().raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let s of e)s===this?r=!0:r?(this.parent.insertAfter(t,s),t=s):this.parent.insertBefore(t,s);r||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,t){let r={},s=t==null;t=t||new Map;let i=0;for(let o in this){if(!Object.prototype.hasOwnProperty.call(this,o)||o==="parent"||o==="proxyCache")continue;let a=this[o];if(Array.isArray(a))r[o]=a.map(l=>typeof l=="object"&&l.toJSON?l.toJSON(null,t):l);else if(typeof a=="object"&&a.toJSON)r[o]=a.toJSON(null,t);else if(o==="source"){let l=t.get(a.input);l==null&&(l=i,t.set(a.input,i),i++),r[o]={end:a.end,inputId:l,start:a.start}}else r[o]=a}return s&&(r.inputs=[...t.keys()].map(o=>o.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=Zo){e.stringify&&(e=e.stringify);let t="";return e(this,r=>{t+=r}),t}warn(e,t,r){let s={node:this};for(let i in r)s[i]=r[i];return e.warn(t,s)}get proxyOf(){return this}};wn.exports=We;We.default=We});var Zt=S((Rf,Sn)=>{"use strict";var el=gt(),je=class extends el{constructor(e){super(e),this.type="comment"}};Sn.exports=je;je.default=je});var Xt=S((Pf,vn)=>{"use strict";var tl=gt(),$e=class extends tl{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};vn.exports=$e;$e.default=$e});var qe=S((kf,Nn)=>{"use strict";var xn=Zt(),bn=Xt(),rl=gt(),{isClean:En,my:Cn}=Qt(),er,On,Ln,tr;function Tn(n){return n.map(e=>(e.nodes&&(e.nodes=Tn(e.nodes)),delete e.source,e))}function An(n){if(n[En]=!1,n.proxyOf.nodes)for(let e of n.proxyOf.nodes)An(e)}var K=class n extends rl{append(...e){for(let t of e){let r=this.normalize(t,this.last);for(let s of r)this.proxyOf.nodes.push(s)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),r,s;for(;this.indexes[t]<this.proxyOf.nodes.length&&(r=this.indexes[t],s=e(this.proxyOf.nodes[r],r),s!==!1);)this.indexes[t]+=1;return delete this.indexes[t],s}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:e[t]?t==="each"||typeof t=="string"&&t.startsWith("walk")?(...r)=>e[t](...r.map(s=>typeof s=="function"?(i,o)=>s(i.toProxy(),o):s)):t==="every"||t==="some"?r=>e[t]((s,...i)=>r(s.toProxy(),...i)):t==="root"?()=>e.root().toProxy():t==="nodes"?e.nodes.map(r=>r.toProxy()):t==="first"||t==="last"?e[t].toProxy():e[t]:e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t==="name"||t==="params"||t==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r=this.index(e),s=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let o of s)this.proxyOf.nodes.splice(r+1,0,o);let i;for(let o in this.indexes)i=this.indexes[o],r<i&&(this.indexes[o]=i+s.length);return this.markDirty(),this}insertBefore(e,t){let r=this.index(e),s=r===0?"prepend":!1,i=this.normalize(t,this.proxyOf.nodes[r],s).reverse();r=this.index(e);for(let a of i)this.proxyOf.nodes.splice(r,0,a);let o;for(let a in this.indexes)o=this.indexes[a],r<=o&&(this.indexes[a]=o+i.length);return this.markDirty(),this}normalize(e,t){if(typeof e=="string")e=Tn(On(e).nodes);else if(typeof e>"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let s of e)s.parent&&s.parent.removeChild(s,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let s of e)s.parent&&s.parent.removeChild(s,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new bn(e)]}else if(e.selector||e.selectors)e=[new tr(e)];else if(e.name)e=[new er(e)];else if(e.text)e=[new xn(e)];else throw new Error("Unknown node type in node creation");return e.map(s=>(s[Cn]||n.rebuild(s),s=s.proxyOf,s.parent&&s.parent.removeChild(s),s[En]&&An(s),typeof s.raws.before>"u"&&t&&typeof t.raws.before<"u"&&(s.raws.before=t.raws.before.replace(/\S/g,"")),s.parent=this.proxyOf,s))}prepend(...e){e=e.reverse();for(let t of e){let r=this.normalize(t,this.first,"prepend").reverse();for(let s of r)this.proxyOf.nodes.unshift(s);for(let s in this.indexes)this.indexes[s]=this.indexes[s]+r.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(s=>{t.props&&!t.props.includes(s.prop)||t.fast&&!s.value.includes(t.fast)||(s.value=s.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,r)=>{let s;try{s=e(t,r)}catch(i){throw t.addToError(i)}return s!==!1&&t.walk&&(s=t.walk(e)),s})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="atrule"&&e.test(r.name))return t(r,s)}):this.walk((r,s)=>{if(r.type==="atrule"&&r.name===e)return t(r,s)}):(t=e,this.walk((r,s)=>{if(r.type==="atrule")return t(r,s)}))}walkComments(e){return this.walk((t,r)=>{if(t.type==="comment")return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="decl"&&e.test(r.prop))return t(r,s)}):this.walk((r,s)=>{if(r.type==="decl"&&r.prop===e)return t(r,s)}):(t=e,this.walk((r,s)=>{if(r.type==="decl")return t(r,s)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="rule"&&e.test(r.selector))return t(r,s)}):this.walk((r,s)=>{if(r.type==="rule"&&r.selector===e)return t(r,s)}):(t=e,this.walk((r,s)=>{if(r.type==="rule")return t(r,s)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};K.registerParse=n=>{On=n};K.registerRule=n=>{tr=n};K.registerAtRule=n=>{er=n};K.registerRoot=n=>{Ln=n};Nn.exports=K;K.default=K;K.rebuild=n=>{n.type==="atrule"?Object.setPrototypeOf(n,er.prototype):n.type==="rule"?Object.setPrototypeOf(n,tr.prototype):n.type==="decl"?Object.setPrototypeOf(n,bn.prototype):n.type==="comment"?Object.setPrototypeOf(n,xn.prototype):n.type==="root"&&Object.setPrototypeOf(n,Ln.prototype),n[Cn]=!0,n.nodes&&n.nodes.forEach(e=>{K.rebuild(e)})}});var Rn=S((If,Mn)=>{var nl="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",sl=(n,e=21)=>(t=e)=>{let r="",s=t;for(;s--;)r+=n[Math.random()*n.length|0];return r},il=(n=21)=>{let e="",t=n;for(;t--;)e+=nl[Math.random()*64|0];return e};Mn.exports={nanoid:il,customAlphabet:sl}});var kn=S(rr=>{var Pn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");rr.encode=function(n){if(0<=n&&n<Pn.length)return Pn[n];throw new TypeError("Must be between 0 and 63: "+n)};rr.decode=function(n){var e=65,t=90,r=97,s=122,i=48,o=57,a=43,l=47,u=26,f=52;return e<=n&&n<=t?n-e:r<=n&&n<=s?n-r+u:i<=n&&n<=o?n-i+f:n==a?62:n==l?63:-1}});var ir=S(sr=>{var In=kn(),nr=5,Bn=1<<nr,Fn=Bn-1,Un=Bn;function ol(n){return n<0?(-n<<1)+1:(n<<1)+0}function ll(n){var e=(n&1)===1,t=n>>1;return e?-t:t}sr.encode=function(e){var t="",r,s=ol(e);do r=s&Fn,s>>>=nr,s>0&&(r|=Un),t+=In.encode(r);while(s>0);return t};sr.decode=function(e,t,r){var s=e.length,i=0,o=0,a,l;do{if(t>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(l=In.decode(e.charCodeAt(t++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(t-1));a=!!(l&Un),l&=Fn,i=i+(l<<o),o+=nr}while(a);r.value=ll(i),r.rest=t}});var be=S(k=>{function al(n,e,t){if(e in n)return n[e];if(arguments.length===3)return t;throw new Error('"'+e+'" is a required argument.')}k.getArg=al;var Dn=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,ul=/^data:.+\,.+$/;function Ge(n){var e=n.match(Dn);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}k.urlParse=Ge;function xe(n){var e="";return n.scheme&&(e+=n.scheme+":"),e+="//",n.auth&&(e+=n.auth+"@"),n.host&&(e+=n.host),n.port&&(e+=":"+n.port),n.path&&(e+=n.path),e}k.urlGenerate=xe;var fl=32;function cl(n){var e=[];return function(t){for(var r=0;r<e.length;r++)if(e[r].input===t){var s=e[0];return e[0]=e[r],e[r]=s,e[0].result}var i=n(t);return e.unshift({input:t,result:i}),e.length>fl&&e.pop(),i}}var or=cl(function(e){var t=e,r=Ge(e);if(r){if(!r.path)return e;t=r.path}for(var s=k.isAbsolute(t),i=[],o=0,a=0;;)if(o=a,a=t.indexOf("/",o),a===-1){i.push(t.slice(o));break}else for(i.push(t.slice(o,a));a<t.length&&t[a]==="/";)a++;for(var l,u=0,a=i.length-1;a>=0;a--)l=i[a],l==="."?i.splice(a,1):l===".."?u++:u>0&&(l===""?(i.splice(a+1,u),u=0):(i.splice(a,2),u--));return t=i.join("/"),t===""&&(t=s?"/":"."),r?(r.path=t,xe(r)):t});k.normalize=or;function Wn(n,e){n===""&&(n="."),e===""&&(e=".");var t=Ge(e),r=Ge(n);if(r&&(n=r.path||"/"),t&&!t.scheme)return r&&(t.scheme=r.scheme),xe(t);if(t||e.match(ul))return e;if(r&&!r.host&&!r.path)return r.host=e,xe(r);var s=e.charAt(0)==="/"?e:or(n.replace(/\/+$/,"")+"/"+e);return r?(r.path=s,xe(r)):s}k.join=Wn;k.isAbsolute=function(n){return n.charAt(0)==="/"||Dn.test(n)};function hl(n,e){n===""&&(n="."),n=n.replace(/\/$/,"");for(var t=0;e.indexOf(n+"/")!==0;){var r=n.lastIndexOf("/");if(r<0||(n=n.slice(0,r),n.match(/^([^\/]+:\/)?\/*$/)))return e;++t}return Array(t+1).join("../")+e.substr(n.length+1)}k.relative=hl;var jn=function(){var n=Object.create(null);return!("__proto__"in n)}();function $n(n){return n}function pl(n){return qn(n)?"$"+n:n}k.toSetString=jn?$n:pl;function dl(n){return qn(n)?n.slice(1):n}k.fromSetString=jn?$n:dl;function qn(n){if(!n)return!1;var e=n.length;if(e<9||n.charCodeAt(e-1)!==95||n.charCodeAt(e-2)!==95||n.charCodeAt(e-3)!==111||n.charCodeAt(e-4)!==116||n.charCodeAt(e-5)!==111||n.charCodeAt(e-6)!==114||n.charCodeAt(e-7)!==112||n.charCodeAt(e-8)!==95||n.charCodeAt(e-9)!==95)return!1;for(var t=e-10;t>=0;t--)if(n.charCodeAt(t)!==36)return!1;return!0}function ml(n,e,t){var r=re(n.source,e.source);return r!==0||(r=n.originalLine-e.originalLine,r!==0)||(r=n.originalColumn-e.originalColumn,r!==0||t)||(r=n.generatedColumn-e.generatedColumn,r!==0)||(r=n.generatedLine-e.generatedLine,r!==0)?r:re(n.name,e.name)}k.compareByOriginalPositions=ml;function gl(n,e,t){var r;return r=n.originalLine-e.originalLine,r!==0||(r=n.originalColumn-e.originalColumn,r!==0||t)||(r=n.generatedColumn-e.generatedColumn,r!==0)||(r=n.generatedLine-e.generatedLine,r!==0)?r:re(n.name,e.name)}k.compareByOriginalPositionsNoSource=gl;function _l(n,e,t){var r=n.generatedLine-e.generatedLine;return r!==0||(r=n.generatedColumn-e.generatedColumn,r!==0||t)||(r=re(n.source,e.source),r!==0)||(r=n.originalLine-e.originalLine,r!==0)||(r=n.originalColumn-e.originalColumn,r!==0)?r:re(n.name,e.name)}k.compareByGeneratedPositionsDeflated=_l;function yl(n,e,t){var r=n.generatedColumn-e.generatedColumn;return r!==0||t||(r=re(n.source,e.source),r!==0)||(r=n.originalLine-e.originalLine,r!==0)||(r=n.originalColumn-e.originalColumn,r!==0)?r:re(n.name,e.name)}k.compareByGeneratedPositionsDeflatedNoLine=yl;function re(n,e){return n===e?0:n===null?1:e===null?-1:n>e?1:-1}function wl(n,e){var t=n.generatedLine-e.generatedLine;return t!==0||(t=n.generatedColumn-e.generatedColumn,t!==0)||(t=re(n.source,e.source),t!==0)||(t=n.originalLine-e.originalLine,t!==0)||(t=n.originalColumn-e.originalColumn,t!==0)?t:re(n.name,e.name)}k.compareByGeneratedPositionsInflated=wl;function Sl(n){return JSON.parse(n.replace(/^\)]}'[^\n]*\n/,""))}k.parseSourceMapInput=Sl;function vl(n,e,t){if(e=e||"",n&&(n[n.length-1]!=="/"&&e[0]!=="/"&&(n+="/"),e=n+e),t){var r=Ge(t);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var s=r.path.lastIndexOf("/");s>=0&&(r.path=r.path.substring(0,s+1))}e=Wn(xe(r),e)}return or(e)}k.computeSourceURL=vl});var ur=S(Gn=>{var lr=be(),ar=Object.prototype.hasOwnProperty,de=typeof Map<"u";function ne(){this._array=[],this._set=de?new Map:Object.create(null)}ne.fromArray=function(e,t){for(var r=new ne,s=0,i=e.length;s<i;s++)r.add(e[s],t);return r};ne.prototype.size=function(){return de?this._set.size:Object.getOwnPropertyNames(this._set).length};ne.prototype.add=function(e,t){var r=de?e:lr.toSetString(e),s=de?this.has(e):ar.call(this._set,r),i=this._array.length;(!s||t)&&this._array.push(e),s||(de?this._set.set(e,i):this._set[r]=i)};ne.prototype.has=function(e){if(de)return this._set.has(e);var t=lr.toSetString(e);return ar.call(this._set,t)};ne.prototype.indexOf=function(e){if(de){var t=this._set.get(e);if(t>=0)return t}else{var r=lr.toSetString(e);if(ar.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')};ne.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};ne.prototype.toArray=function(){return this._array.slice()};Gn.ArraySet=ne});var Hn=S(Vn=>{var zn=be();function xl(n,e){var t=n.generatedLine,r=e.generatedLine,s=n.generatedColumn,i=e.generatedColumn;return r>t||r==t&&i>=s||zn.compareByGeneratedPositionsInflated(n,e)<=0}function _t(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}_t.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)};_t.prototype.add=function(e){xl(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};_t.prototype.toArray=function(){return this._sorted||(this._array.sort(zn.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Vn.MappingList=_t});var fr=S(Yn=>{var ze=ir(),M=be(),yt=ur().ArraySet,bl=Hn().MappingList;function z(n){n||(n={}),this._file=M.getArg(n,"file",null),this._sourceRoot=M.getArg(n,"sourceRoot",null),this._skipValidation=M.getArg(n,"skipValidation",!1),this._ignoreInvalidMapping=M.getArg(n,"ignoreInvalidMapping",!1),this._sources=new yt,this._names=new yt,this._mappings=new bl,this._sourcesContents=null}z.prototype._version=3;z.fromSourceMap=function(e,t){var r=e.sourceRoot,s=new z(Object.assign(t||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(i){var o={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(o.source=i.source,r!=null&&(o.source=M.relative(r,o.source)),o.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(o.name=i.name)),s.addMapping(o)}),e.sources.forEach(function(i){var o=i;r!==null&&(o=M.relative(r,i)),s._sources.has(o)||s._sources.add(o);var a=e.sourceContentFor(i);a!=null&&s.setSourceContent(i,a)}),s};z.prototype.addMapping=function(e){var t=M.getArg(e,"generated"),r=M.getArg(e,"original",null),s=M.getArg(e,"source",null),i=M.getArg(e,"name",null);!this._skipValidation&&this._validateMapping(t,r,s,i)===!1||(s!=null&&(s=String(s),this._sources.has(s)||this._sources.add(s)),i!=null&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:s,name:i}))};z.prototype.setSourceContent=function(e,t){var r=e;this._sourceRoot!=null&&(r=M.relative(this._sourceRoot,r)),t!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[M.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[M.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};z.prototype.applySourceMap=function(e,t,r){var s=t;if(t==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);s=e.file}var i=this._sourceRoot;i!=null&&(s=M.relative(i,s));var o=new yt,a=new yt;this._mappings.unsortedForEach(function(l){if(l.source===s&&l.originalLine!=null){var u=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});u.source!=null&&(l.source=u.source,r!=null&&(l.source=M.join(r,l.source)),i!=null&&(l.source=M.relative(i,l.source)),l.originalLine=u.line,l.originalColumn=u.column,u.name!=null&&(l.name=u.name))}var f=l.source;f!=null&&!o.has(f)&&o.add(f);var h=l.name;h!=null&&!a.has(h)&&a.add(h)},this),this._sources=o,this._names=a,e.sources.forEach(function(l){var u=e.sourceContentFor(l);u!=null&&(r!=null&&(l=M.join(r,l)),i!=null&&(l=M.relative(i,l)),this.setSourceContent(l,u))},this)};z.prototype._validateMapping=function(e,t,r,s){if(t&&typeof t.line!="number"&&typeof t.column!="number"){var i="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(i),!1;throw new Error(i)}if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!r&&!s)){if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r)return;var i="Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:s});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(i),!1;throw new Error(i)}};z.prototype._serializeMappings=function(){for(var e=0,t=1,r=0,s=0,i=0,o=0,a="",l,u,f,h,c=this._mappings.toArray(),p=0,m=c.length;p<m;p++){if(u=c[p],l="",u.generatedLine!==t)for(e=0;u.generatedLine!==t;)l+=";",t++;else if(p>0){if(!M.compareByGeneratedPositionsInflated(u,c[p-1]))continue;l+=","}l+=ze.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(h=this._sources.indexOf(u.source),l+=ze.encode(h-o),o=h,l+=ze.encode(u.originalLine-1-s),s=u.originalLine-1,l+=ze.encode(u.originalColumn-r),r=u.originalColumn,u.name!=null&&(f=this._names.indexOf(u.name),l+=ze.encode(f-i),i=f)),a+=l}return a};z.prototype._generateSourcesContent=function(e,t){return e.map(function(r){if(!this._sourcesContents)return null;t!=null&&(r=M.relative(t,r));var s=M.toSetString(r);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)};z.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};z.prototype.toString=function(){return JSON.stringify(this.toJSON())};Yn.SourceMapGenerator=z});var Jn=S(me=>{me.GREATEST_LOWER_BOUND=1;me.LEAST_UPPER_BOUND=2;function cr(n,e,t,r,s,i){var o=Math.floor((e-n)/2)+n,a=s(t,r[o],!0);return a===0?o:a>0?e-o>1?cr(o,e,t,r,s,i):i==me.LEAST_UPPER_BOUND?e<r.length?e:-1:o:o-n>1?cr(n,o,t,r,s,i):i==me.LEAST_UPPER_BOUND?o:n<0?-1:n}me.search=function(e,t,r,s){if(t.length===0)return-1;var i=cr(-1,t.length,e,t,r,s||me.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&r(t[i],t[i-1],!0)===0;)--i;return i}});var Zn=S(Kn=>{function El(n){function e(s,i,o){var a=s[i];s[i]=s[o],s[o]=a}function t(s,i){return Math.round(s+Math.random()*(i-s))}function r(s,i,o,a){if(o<a){var l=t(o,a),u=o-1;e(s,l,a);for(var f=s[a],h=o;h<a;h++)i(s[h],f,!1)<=0&&(u+=1,e(s,u,h));e(s,u+1,h);var c=u+1;r(s,i,o,c-1),r(s,i,c+1,a)}}return r}function Cl(n){let e=El.toString();return new Function(`return ${e}`)()(n)}var Qn=new WeakMap;Kn.quickSort=function(n,e,t=0){let r=Qn.get(e);r===void 0&&(r=Cl(e),Qn.set(e,r)),r(n,e,t,n.length-1)}});var ts=S(wt=>{var _=be(),pr=Jn(),Ee=ur().ArraySet,Ol=ir(),Ve=Zn().quickSort;function O(n,e){var t=n;return typeof n=="string"&&(t=_.parseSourceMapInput(n)),t.sections!=null?new Z(t,e):new B(t,e)}O.fromSourceMap=function(n,e){return B.fromSourceMap(n,e)};O.prototype._version=3;O.prototype.__generatedMappings=null;Object.defineProperty(O.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});O.prototype.__originalMappings=null;Object.defineProperty(O.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});O.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return r===";"||r===","};O.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")};O.GENERATED_ORDER=1;O.ORIGINAL_ORDER=2;O.GREATEST_LOWER_BOUND=1;O.LEAST_UPPER_BOUND=2;O.prototype.eachMapping=function(e,t,r){var s=t||null,i=r||O.GENERATED_ORDER,o;switch(i){case O.GENERATED_ORDER:o=this._generatedMappings;break;case O.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var a=this.sourceRoot,l=e.bind(s),u=this._names,f=this._sources,h=this._sourceMapURL,c=0,p=o.length;c<p;c++){var m=o[c],d=m.source===null?null:f.at(m.source);d=_.computeSourceURL(a,d,h),l({source:d,generatedLine:m.generatedLine,generatedColumn:m.generatedColumn,originalLine:m.originalLine,originalColumn:m.originalColumn,name:m.name===null?null:u.at(m.name)})}};O.prototype.allGeneratedPositionsFor=function(e){var t=_.getArg(e,"line"),r={source:_.getArg(e,"source"),originalLine:t,originalColumn:_.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var s=[],i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",_.compareByOriginalPositions,pr.LEAST_UPPER_BOUND);if(i>=0){var o=this._originalMappings[i];if(e.column===void 0)for(var a=o.originalLine;o&&o.originalLine===a;)s.push({line:_.getArg(o,"generatedLine",null),column:_.getArg(o,"generatedColumn",null),lastColumn:_.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i];else for(var l=o.originalColumn;o&&o.originalLine===t&&o.originalColumn==l;)s.push({line:_.getArg(o,"generatedLine",null),column:_.getArg(o,"generatedColumn",null),lastColumn:_.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i]}return s};wt.SourceMapConsumer=O;function B(n,e){var t=n;typeof n=="string"&&(t=_.parseSourceMapInput(n));var r=_.getArg(t,"version"),s=_.getArg(t,"sources"),i=_.getArg(t,"names",[]),o=_.getArg(t,"sourceRoot",null),a=_.getArg(t,"sourcesContent",null),l=_.getArg(t,"mappings"),u=_.getArg(t,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);o&&(o=_.normalize(o)),s=s.map(String).map(_.normalize).map(function(f){return o&&_.isAbsolute(o)&&_.isAbsolute(f)?_.relative(o,f):f}),this._names=Ee.fromArray(i.map(String),!0),this._sources=Ee.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map(function(f){return _.computeSourceURL(o,f,e)}),this.sourceRoot=o,this.sourcesContent=a,this._mappings=l,this._sourceMapURL=e,this.file=u}B.prototype=Object.create(O.prototype);B.prototype.consumer=O;B.prototype._findSourceIndex=function(n){var e=n;if(this.sourceRoot!=null&&(e=_.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var t;for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==n)return t;return-1};B.fromSourceMap=function(e,t){var r=Object.create(B.prototype),s=r._names=Ee.fromArray(e._names.toArray(),!0),i=r._sources=Ee.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=t,r._absoluteSources=r._sources.toArray().map(function(p){return _.computeSourceURL(r.sourceRoot,p,t)});for(var o=e._mappings.toArray().slice(),a=r.__generatedMappings=[],l=r.__originalMappings=[],u=0,f=o.length;u<f;u++){var h=o[u],c=new es;c.generatedLine=h.generatedLine,c.generatedColumn=h.generatedColumn,h.source&&(c.source=i.indexOf(h.source),c.originalLine=h.originalLine,c.originalColumn=h.originalColumn,h.name&&(c.name=s.indexOf(h.name)),l.push(c)),a.push(c)}return Ve(r.__originalMappings,_.compareByOriginalPositions),r};B.prototype._version=3;Object.defineProperty(B.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function es(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var hr=_.compareByGeneratedPositionsDeflatedNoLine;function Xn(n,e){let t=n.length,r=n.length-e;if(!(r<=1))if(r==2){let s=n[e],i=n[e+1];hr(s,i)>0&&(n[e]=i,n[e+1]=s)}else if(r<20)for(let s=e;s<t;s++)for(let i=s;i>e;i--){let o=n[i-1],a=n[i];if(hr(o,a)<=0)break;n[i-1]=a,n[i]=o}else Ve(n,hr,e)}B.prototype._parseMappings=function(e,t){var r=1,s=0,i=0,o=0,a=0,l=0,u=e.length,f=0,h={},c={},p=[],m=[],d,g,y,w,x;let v=0;for(;f<u;)if(e.charAt(f)===";")r++,f++,s=0,Xn(m,v),v=m.length;else if(e.charAt(f)===",")f++;else{for(d=new es,d.generatedLine=r,w=f;w<u&&!this._charIsMappingSeparator(e,w);w++);for(g=e.slice(f,w),y=[];f<w;)Ol.decode(e,f,c),x=c.value,f=c.rest,y.push(x);if(y.length===2)throw new Error("Found a source, but no line and column");if(y.length===3)throw new Error("Found a source and line, but no column");if(d.generatedColumn=s+y[0],s=d.generatedColumn,y.length>1&&(d.source=a+y[1],a+=y[1],d.originalLine=i+y[2],i=d.originalLine,d.originalLine+=1,d.originalColumn=o+y[3],o=d.originalColumn,y.length>4&&(d.name=l+y[4],l+=y[4])),m.push(d),typeof d.originalLine=="number"){let b=d.source;for(;p.length<=b;)p.push(null);p[b]===null&&(p[b]=[]),p[b].push(d)}}Xn(m,v),this.__generatedMappings=m;for(var E=0;E<p.length;E++)p[E]!=null&&Ve(p[E],_.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...p)};B.prototype._findMapping=function(e,t,r,s,i,o){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[s]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[s]);return pr.search(e,t,i,o)};B.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}};B.prototype.originalPositionFor=function(e){var t={generatedLine:_.getArg(e,"line"),generatedColumn:_.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",_.compareByGeneratedPositionsDeflated,_.getArg(e,"bias",O.GREATEST_LOWER_BOUND));if(r>=0){var s=this._generatedMappings[r];if(s.generatedLine===t.generatedLine){var i=_.getArg(s,"source",null);i!==null&&(i=this._sources.at(i),i=_.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var o=_.getArg(s,"name",null);return o!==null&&(o=this._names.at(o)),{source:i,line:_.getArg(s,"originalLine",null),column:_.getArg(s,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};B.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};B.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var s=e;this.sourceRoot!=null&&(s=_.relative(this.sourceRoot,s));var i;if(this.sourceRoot!=null&&(i=_.urlParse(this.sourceRoot))){var o=s.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!i.path||i.path=="/")&&this._sources.has("/"+s))return this.sourcesContent[this._sources.indexOf("/"+s)]}if(t)return null;throw new Error('"'+s+'" is not in the SourceMap.')};B.prototype.generatedPositionFor=function(e){var t=_.getArg(e,"source");if(t=this._findSourceIndex(t),t<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:_.getArg(e,"line"),originalColumn:_.getArg(e,"column")},s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",_.compareByOriginalPositions,_.getArg(e,"bias",O.GREATEST_LOWER_BOUND));if(s>=0){var i=this._originalMappings[s];if(i.source===r.source)return{line:_.getArg(i,"generatedLine",null),column:_.getArg(i,"generatedColumn",null),lastColumn:_.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};wt.BasicSourceMapConsumer=B;function Z(n,e){var t=n;typeof n=="string"&&(t=_.parseSourceMapInput(n));var r=_.getArg(t,"version"),s=_.getArg(t,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new Ee,this._names=new Ee;var i={line:-1,column:0};this._sections=s.map(function(o){if(o.url)throw new Error("Support for url field in sections not implemented.");var a=_.getArg(o,"offset"),l=_.getArg(a,"line"),u=_.getArg(a,"column");if(l<i.line||l===i.line&&u<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=a,{generatedOffset:{generatedLine:l+1,generatedColumn:u+1},consumer:new O(_.getArg(o,"map"),e)}})}Z.prototype=Object.create(O.prototype);Z.prototype.constructor=O;Z.prototype._version=3;Object.defineProperty(Z.prototype,"sources",{get:function(){for(var n=[],e=0;e<this._sections.length;e++)for(var t=0;t<this._sections[e].consumer.sources.length;t++)n.push(this._sections[e].consumer.sources[t]);return n}});Z.prototype.originalPositionFor=function(e){var t={generatedLine:_.getArg(e,"line"),generatedColumn:_.getArg(e,"column")},r=pr.search(t,this._sections,function(i,o){var a=i.generatedLine-o.generatedOffset.generatedLine;return a||i.generatedColumn-o.generatedOffset.generatedColumn}),s=this._sections[r];return s?s.consumer.originalPositionFor({line:t.generatedLine-(s.generatedOffset.generatedLine-1),column:t.generatedColumn-(s.generatedOffset.generatedLine===t.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};Z.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};Z.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var s=this._sections[r],i=s.consumer.sourceContentFor(e,!0);if(i||i==="")return i}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')};Z.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(r.consumer._findSourceIndex(_.getArg(e,"source"))!==-1){var s=r.consumer.generatedPositionFor(e);if(s){var i={line:s.line+(r.generatedOffset.generatedLine-1),column:s.column+(r.generatedOffset.generatedLine===s.line?r.generatedOffset.generatedColumn-1:0)};return i}}}return{line:null,column:null}};Z.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var s=this._sections[r],i=s.consumer._generatedMappings,o=0;o<i.length;o++){var a=i[o],l=s.consumer._sources.at(a.source);l=_.computeSourceURL(s.consumer.sourceRoot,l,this._sourceMapURL),this._sources.add(l),l=this._sources.indexOf(l);var u=null;a.name&&(u=s.consumer._names.at(a.name),this._names.add(u),u=this._names.indexOf(u));var f={source:l,generatedLine:a.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(s.generatedOffset.generatedLine===a.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:u};this.__generatedMappings.push(f),typeof f.originalLine=="number"&&this.__originalMappings.push(f)}Ve(this.__generatedMappings,_.compareByGeneratedPositionsDeflated),Ve(this.__originalMappings,_.compareByOriginalPositions)};wt.IndexedSourceMapConsumer=Z});var ns=S(rs=>{var Ll=fr().SourceMapGenerator,St=be(),Tl=/(\r?\n)/,Al=10,Ce="$$$isSourceNode$$$";function $(n,e,t,r,s){this.children=[],this.sourceContents={},this.line=n??null,this.column=e??null,this.source=t??null,this.name=s??null,this[Ce]=!0,r!=null&&this.add(r)}$.fromStringWithSourceMap=function(e,t,r){var s=new $,i=e.split(Tl),o=0,a=function(){var c=m(),p=m()||"";return c+p;function m(){return o<i.length?i[o++]:void 0}},l=1,u=0,f=null;return t.eachMapping(function(c){if(f!==null)if(l<c.generatedLine)h(f,a()),l++,u=0;else{var p=i[o]||"",m=p.substr(0,c.generatedColumn-u);i[o]=p.substr(c.generatedColumn-u),u=c.generatedColumn,h(f,m),f=c;return}for(;l<c.generatedLine;)s.add(a()),l++;if(u<c.generatedColumn){var p=i[o]||"";s.add(p.substr(0,c.generatedColumn)),i[o]=p.substr(c.generatedColumn),u=c.generatedColumn}f=c},this),o<i.length&&(f&&h(f,a()),s.add(i.splice(o).join(""))),t.sources.forEach(function(c){var p=t.sourceContentFor(c);p!=null&&(r!=null&&(c=St.join(r,c)),s.setSourceContent(c,p))}),s;function h(c,p){if(c===null||c.source===void 0)s.add(p);else{var m=r?St.join(r,c.source):c.source;s.add(new $(c.originalLine,c.originalColumn,m,p,c.name))}}};$.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(t){this.add(t)},this);else if(e[Ce]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};$.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[Ce]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};$.prototype.walk=function(e){for(var t,r=0,s=this.children.length;r<s;r++)t=this.children[r],t[Ce]?t.walk(e):t!==""&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})};$.prototype.join=function(e){var t,r,s=this.children.length;if(s>0){for(t=[],r=0;r<s-1;r++)t.push(this.children[r]),t.push(e);t.push(this.children[r]),this.children=t}return this};$.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r[Ce]?r.replaceRight(e,t):typeof r=="string"?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this};$.prototype.setSourceContent=function(e,t){this.sourceContents[St.toSetString(e)]=t};$.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][Ce]&&this.children[t].walkSourceContents(e);for(var s=Object.keys(this.sourceContents),t=0,r=s.length;t<r;t++)e(St.fromSetString(s[t]),this.sourceContents[s[t]])};$.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e};$.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},r=new Ll(e),s=!1,i=null,o=null,a=null,l=null;return this.walk(function(u,f){t.code+=u,f.source!==null&&f.line!==null&&f.column!==null?((i!==f.source||o!==f.line||a!==f.column||l!==f.name)&&r.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:t.line,column:t.column},name:f.name}),i=f.source,o=f.line,a=f.column,l=f.name,s=!0):s&&(r.addMapping({generated:{line:t.line,column:t.column}}),i=null,s=!1);for(var h=0,c=u.length;h<c;h++)u.charCodeAt(h)===Al?(t.line++,t.column=0,h+1===c?(i=null,s=!1):s&&r.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:t.line,column:t.column},name:f.name})):t.column++}),this.walkSourceContents(function(u,f){r.setSourceContent(u,f)}),{code:t.code,map:r}};rs.SourceNode=$});var dr=S(vt=>{vt.SourceMapGenerator=fr().SourceMapGenerator;vt.SourceMapConsumer=ts().SourceMapConsumer;vt.SourceNode=ns().SourceNode});var ls=S((Hf,os)=>{"use strict";var{existsSync:Nl,readFileSync:Ml}=require("fs"),{dirname:mr,join:Rl}=require("path"),{SourceMapConsumer:ss,SourceMapGenerator:is}=dr();function Pl(n){return Buffer?Buffer.from(n,"base64").toString():window.atob(n)}var He=class{constructor(e,t){if(t.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,s=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=mr(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new ss(this.text)),this.consumerCache}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,s=/^data:application\/json;charset=utf-?8,/,i=/^data:application\/json,/,o=e.match(s)||e.match(i);if(o)return decodeURIComponent(e.substr(o[0].length));let a=e.match(t)||e.match(r);if(a)return Pl(e.substr(a[0].length));let l=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+l)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let r=e.lastIndexOf(t.pop()),s=e.indexOf("*/",r);r>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,s)))}loadFile(e){if(this.root=mr(e),Nl(e))return this.mapFile=e,Ml(e,"utf-8").toString().trim()}loadMap(e,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let r=t(e);if(r){let s=this.loadFile(r);if(!s)throw new Error("Unable to load previous source map: "+r.toString());return s}}else{if(t instanceof ss)return is.fromSourceMap(t).toString();if(t instanceof is)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return e&&(r=Rl(mr(e),r)),this.loadFile(r)}}}startWith(e,t){return e?e.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};os.exports=He;He.default=He});var hs=S((Yf,cs)=>{"use strict";var{nanoid:kl}=Rn(),{isAbsolute:yr,resolve:wr}=require("path"),{SourceMapConsumer:Il,SourceMapGenerator:Bl}=dr(),{fileURLToPath:as,pathToFileURL:xt}=require("url"),us=Vt(),Fl=ls(),gr=zt(),_r=Symbol("fromOffsetCache"),Ul=!!(Il&&Bl),fs=!!(wr&&yr),Oe=class{constructor(e,t={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!fs||/^\w+:\/\//.test(t.from)||yr(t.from)?this.file=t.from:this.file=wr(t.from)),fs&&Ul){let r=new Fl(this.css,t);if(r.text){this.map=r;let s=r.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s))}}this.file||(this.id="<input css "+kl(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,r,s={}){let i,o,a;if(t&&typeof t=="object"){let u=t,f=r;if(typeof u.offset=="number"){let h=this.fromOffset(u.offset);t=h.line,r=h.col}else t=u.line,r=u.column;if(typeof f.offset=="number"){let h=this.fromOffset(f.offset);o=h.line,i=h.col}else o=f.line,i=f.column}else if(!r){let u=this.fromOffset(t);t=u.line,r=u.col}let l=this.origin(t,r,o,i);return l?a=new us(e,l.endLine===void 0?l.line:{column:l.column,line:l.line},l.endLine===void 0?l.column:{column:l.endColumn,line:l.endLine},l.source,l.file,s.plugin):a=new us(e,o===void 0?t:{column:r,line:t},o===void 0?r:{column:i,line:o},this.css,this.file,s.plugin),a.input={column:r,endColumn:i,endLine:o,line:t,source:this.css},this.file&&(xt&&(a.input.url=xt(this.file).toString()),a.input.file=this.file),a}fromOffset(e){let t,r;if(this[_r])r=this[_r];else{let i=this.css.split(`
21
+ `?(s=1,i+=1):s+=1;return{column:s,line:i}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let t={column:this.source.start.column,line:this.source.start.line},r=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:t.column+1,line:t.line};if(e.word){let s=this.toString(),i=s.indexOf(e.word);i!==-1&&(t=this.positionInside(i,s),r=this.positionInside(i+e.word.length,s))}else e.start?t={column:e.start.column,line:e.start.line}:e.index&&(t=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:typeof e.endIndex=="number"?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<t.line||r.line===t.line&&r.column<=t.column)&&(r={column:t.column+1,line:t.line}),{end:r,start:t}}raw(e,t){return new Ko().raw(this,e,t)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let t=this,r=!1;for(let s of e)s===this?r=!0:r?(this.parent.insertAfter(t,s),t=s):this.parent.insertBefore(t,s);r||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,t){let r={},s=t==null;t=t||new Map;let i=0;for(let o in this){if(!Object.prototype.hasOwnProperty.call(this,o)||o==="parent"||o==="proxyCache")continue;let a=this[o];if(Array.isArray(a))r[o]=a.map(l=>typeof l=="object"&&l.toJSON?l.toJSON(null,t):l);else if(typeof a=="object"&&a.toJSON)r[o]=a.toJSON(null,t);else if(o==="source"){let l=t.get(a.input);l==null&&(l=i,t.set(a.input,i),i++),r[o]={end:a.end,inputId:l,start:a.start}}else r[o]=a}return s&&(r.inputs=[...t.keys()].map(o=>o.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=Zo){e.stringify&&(e=e.stringify);let t="";return e(this,r=>{t+=r}),t}warn(e,t,r){let s={node:this};for(let i in r)s[i]=r[i];return e.warn(t,s)}get proxyOf(){return this}};wn.exports=We;We.default=We});var Zt=S((Rf,Sn)=>{"use strict";var el=gt(),je=class extends el{constructor(e){super(e),this.type="comment"}};Sn.exports=je;je.default=je});var Xt=S((Pf,vn)=>{"use strict";var tl=gt(),$e=class extends tl{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};vn.exports=$e;$e.default=$e});var qe=S((kf,Nn)=>{"use strict";var xn=Zt(),bn=Xt(),rl=gt(),{isClean:En,my:Cn}=Qt(),er,On,Ln,tr;function Tn(n){return n.map(e=>(e.nodes&&(e.nodes=Tn(e.nodes)),delete e.source,e))}function An(n){if(n[En]=!1,n.proxyOf.nodes)for(let e of n.proxyOf.nodes)An(e)}var K=class n extends rl{append(...e){for(let t of e){let r=this.normalize(t,this.last);for(let s of r)this.proxyOf.nodes.push(s)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t=this.getIterator(),r,s;for(;this.indexes[t]<this.proxyOf.nodes.length&&(r=this.indexes[t],s=e(this.proxyOf.nodes[r],r),s!==!1);)this.indexes[t]+=1;return delete this.indexes[t],s}every(e){return this.nodes.every(e)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}getProxyProcessor(){return{get(e,t){return t==="proxyOf"?e:e[t]?t==="each"||typeof t=="string"&&t.startsWith("walk")?(...r)=>e[t](...r.map(s=>typeof s=="function"?(i,o)=>s(i.toProxy(),o):s)):t==="every"||t==="some"?r=>e[t]((s,...i)=>r(s.toProxy(),...i)):t==="root"?()=>e.root().toProxy():t==="nodes"?e.nodes.map(r=>r.toProxy()):t==="first"||t==="last"?e[t].toProxy():e[t]:e[t]},set(e,t,r){return e[t]===r||(e[t]=r,(t==="name"||t==="params"||t==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let r=this.index(e),s=this.normalize(t,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let o of s)this.proxyOf.nodes.splice(r+1,0,o);let i;for(let o in this.indexes)i=this.indexes[o],r<i&&(this.indexes[o]=i+s.length);return this.markDirty(),this}insertBefore(e,t){let r=this.index(e),s=r===0?"prepend":!1,i=this.normalize(t,this.proxyOf.nodes[r],s).reverse();r=this.index(e);for(let a of i)this.proxyOf.nodes.splice(r,0,a);let o;for(let a in this.indexes)o=this.indexes[a],r<=o&&(this.indexes[a]=o+i.length);return this.markDirty(),this}normalize(e,t){if(typeof e=="string")e=Tn(On(e).nodes);else if(typeof e>"u")e=[];else if(Array.isArray(e)){e=e.slice(0);for(let s of e)s.parent&&s.parent.removeChild(s,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let s of e)s.parent&&s.parent.removeChild(s,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new bn(e)]}else if(e.selector||e.selectors)e=[new tr(e)];else if(e.name)e=[new er(e)];else if(e.text)e=[new xn(e)];else throw new Error("Unknown node type in node creation");return e.map(s=>(s[Cn]||n.rebuild(s),s=s.proxyOf,s.parent&&s.parent.removeChild(s),s[En]&&An(s),s.raws||(s.raws={}),typeof s.raws.before>"u"&&t&&typeof t.raws.before<"u"&&(s.raws.before=t.raws.before.replace(/\S/g,"")),s.parent=this.proxyOf,s))}prepend(...e){e=e.reverse();for(let t of e){let r=this.normalize(t,this.first,"prepend").reverse();for(let s of r)this.proxyOf.nodes.unshift(s);for(let s in this.indexes)this.indexes[s]=this.indexes[s]+r.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let t;for(let r in this.indexes)t=this.indexes[r],t>=e&&(this.indexes[r]=t-1);return this.markDirty(),this}replaceValues(e,t,r){return r||(r=t,t={}),this.walkDecls(s=>{t.props&&!t.props.includes(s.prop)||t.fast&&!s.value.includes(t.fast)||(s.value=s.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,r)=>{let s;try{s=e(t,r)}catch(i){throw t.addToError(i)}return s!==!1&&t.walk&&(s=t.walk(e)),s})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="atrule"&&e.test(r.name))return t(r,s)}):this.walk((r,s)=>{if(r.type==="atrule"&&r.name===e)return t(r,s)}):(t=e,this.walk((r,s)=>{if(r.type==="atrule")return t(r,s)}))}walkComments(e){return this.walk((t,r)=>{if(t.type==="comment")return e(t,r)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="decl"&&e.test(r.prop))return t(r,s)}):this.walk((r,s)=>{if(r.type==="decl"&&r.prop===e)return t(r,s)}):(t=e,this.walk((r,s)=>{if(r.type==="decl")return t(r,s)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="rule"&&e.test(r.selector))return t(r,s)}):this.walk((r,s)=>{if(r.type==="rule"&&r.selector===e)return t(r,s)}):(t=e,this.walk((r,s)=>{if(r.type==="rule")return t(r,s)}))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}};K.registerParse=n=>{On=n};K.registerRule=n=>{tr=n};K.registerAtRule=n=>{er=n};K.registerRoot=n=>{Ln=n};Nn.exports=K;K.default=K;K.rebuild=n=>{n.type==="atrule"?Object.setPrototypeOf(n,er.prototype):n.type==="rule"?Object.setPrototypeOf(n,tr.prototype):n.type==="decl"?Object.setPrototypeOf(n,bn.prototype):n.type==="comment"?Object.setPrototypeOf(n,xn.prototype):n.type==="root"&&Object.setPrototypeOf(n,Ln.prototype),n[Cn]=!0,n.nodes&&n.nodes.forEach(e=>{K.rebuild(e)})}});var Rn=S((If,Mn)=>{var nl="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",sl=(n,e=21)=>(t=e)=>{let r="",s=t;for(;s--;)r+=n[Math.random()*n.length|0];return r},il=(n=21)=>{let e="",t=n;for(;t--;)e+=nl[Math.random()*64|0];return e};Mn.exports={nanoid:il,customAlphabet:sl}});var kn=S(rr=>{var Pn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");rr.encode=function(n){if(0<=n&&n<Pn.length)return Pn[n];throw new TypeError("Must be between 0 and 63: "+n)};rr.decode=function(n){var e=65,t=90,r=97,s=122,i=48,o=57,a=43,l=47,u=26,f=52;return e<=n&&n<=t?n-e:r<=n&&n<=s?n-r+u:i<=n&&n<=o?n-i+f:n==a?62:n==l?63:-1}});var ir=S(sr=>{var In=kn(),nr=5,Bn=1<<nr,Fn=Bn-1,Un=Bn;function ol(n){return n<0?(-n<<1)+1:(n<<1)+0}function ll(n){var e=(n&1)===1,t=n>>1;return e?-t:t}sr.encode=function(e){var t="",r,s=ol(e);do r=s&Fn,s>>>=nr,s>0&&(r|=Un),t+=In.encode(r);while(s>0);return t};sr.decode=function(e,t,r){var s=e.length,i=0,o=0,a,l;do{if(t>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(l=In.decode(e.charCodeAt(t++)),l===-1)throw new Error("Invalid base64 digit: "+e.charAt(t-1));a=!!(l&Un),l&=Fn,i=i+(l<<o),o+=nr}while(a);r.value=ll(i),r.rest=t}});var be=S(k=>{function al(n,e,t){if(e in n)return n[e];if(arguments.length===3)return t;throw new Error('"'+e+'" is a required argument.')}k.getArg=al;var Dn=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,ul=/^data:.+\,.+$/;function Ge(n){var e=n.match(Dn);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}k.urlParse=Ge;function xe(n){var e="";return n.scheme&&(e+=n.scheme+":"),e+="//",n.auth&&(e+=n.auth+"@"),n.host&&(e+=n.host),n.port&&(e+=":"+n.port),n.path&&(e+=n.path),e}k.urlGenerate=xe;var fl=32;function cl(n){var e=[];return function(t){for(var r=0;r<e.length;r++)if(e[r].input===t){var s=e[0];return e[0]=e[r],e[r]=s,e[0].result}var i=n(t);return e.unshift({input:t,result:i}),e.length>fl&&e.pop(),i}}var or=cl(function(e){var t=e,r=Ge(e);if(r){if(!r.path)return e;t=r.path}for(var s=k.isAbsolute(t),i=[],o=0,a=0;;)if(o=a,a=t.indexOf("/",o),a===-1){i.push(t.slice(o));break}else for(i.push(t.slice(o,a));a<t.length&&t[a]==="/";)a++;for(var l,u=0,a=i.length-1;a>=0;a--)l=i[a],l==="."?i.splice(a,1):l===".."?u++:u>0&&(l===""?(i.splice(a+1,u),u=0):(i.splice(a,2),u--));return t=i.join("/"),t===""&&(t=s?"/":"."),r?(r.path=t,xe(r)):t});k.normalize=or;function Wn(n,e){n===""&&(n="."),e===""&&(e=".");var t=Ge(e),r=Ge(n);if(r&&(n=r.path||"/"),t&&!t.scheme)return r&&(t.scheme=r.scheme),xe(t);if(t||e.match(ul))return e;if(r&&!r.host&&!r.path)return r.host=e,xe(r);var s=e.charAt(0)==="/"?e:or(n.replace(/\/+$/,"")+"/"+e);return r?(r.path=s,xe(r)):s}k.join=Wn;k.isAbsolute=function(n){return n.charAt(0)==="/"||Dn.test(n)};function hl(n,e){n===""&&(n="."),n=n.replace(/\/$/,"");for(var t=0;e.indexOf(n+"/")!==0;){var r=n.lastIndexOf("/");if(r<0||(n=n.slice(0,r),n.match(/^([^\/]+:\/)?\/*$/)))return e;++t}return Array(t+1).join("../")+e.substr(n.length+1)}k.relative=hl;var jn=function(){var n=Object.create(null);return!("__proto__"in n)}();function $n(n){return n}function pl(n){return qn(n)?"$"+n:n}k.toSetString=jn?$n:pl;function dl(n){return qn(n)?n.slice(1):n}k.fromSetString=jn?$n:dl;function qn(n){if(!n)return!1;var e=n.length;if(e<9||n.charCodeAt(e-1)!==95||n.charCodeAt(e-2)!==95||n.charCodeAt(e-3)!==111||n.charCodeAt(e-4)!==116||n.charCodeAt(e-5)!==111||n.charCodeAt(e-6)!==114||n.charCodeAt(e-7)!==112||n.charCodeAt(e-8)!==95||n.charCodeAt(e-9)!==95)return!1;for(var t=e-10;t>=0;t--)if(n.charCodeAt(t)!==36)return!1;return!0}function ml(n,e,t){var r=re(n.source,e.source);return r!==0||(r=n.originalLine-e.originalLine,r!==0)||(r=n.originalColumn-e.originalColumn,r!==0||t)||(r=n.generatedColumn-e.generatedColumn,r!==0)||(r=n.generatedLine-e.generatedLine,r!==0)?r:re(n.name,e.name)}k.compareByOriginalPositions=ml;function gl(n,e,t){var r;return r=n.originalLine-e.originalLine,r!==0||(r=n.originalColumn-e.originalColumn,r!==0||t)||(r=n.generatedColumn-e.generatedColumn,r!==0)||(r=n.generatedLine-e.generatedLine,r!==0)?r:re(n.name,e.name)}k.compareByOriginalPositionsNoSource=gl;function _l(n,e,t){var r=n.generatedLine-e.generatedLine;return r!==0||(r=n.generatedColumn-e.generatedColumn,r!==0||t)||(r=re(n.source,e.source),r!==0)||(r=n.originalLine-e.originalLine,r!==0)||(r=n.originalColumn-e.originalColumn,r!==0)?r:re(n.name,e.name)}k.compareByGeneratedPositionsDeflated=_l;function yl(n,e,t){var r=n.generatedColumn-e.generatedColumn;return r!==0||t||(r=re(n.source,e.source),r!==0)||(r=n.originalLine-e.originalLine,r!==0)||(r=n.originalColumn-e.originalColumn,r!==0)?r:re(n.name,e.name)}k.compareByGeneratedPositionsDeflatedNoLine=yl;function re(n,e){return n===e?0:n===null?1:e===null?-1:n>e?1:-1}function wl(n,e){var t=n.generatedLine-e.generatedLine;return t!==0||(t=n.generatedColumn-e.generatedColumn,t!==0)||(t=re(n.source,e.source),t!==0)||(t=n.originalLine-e.originalLine,t!==0)||(t=n.originalColumn-e.originalColumn,t!==0)?t:re(n.name,e.name)}k.compareByGeneratedPositionsInflated=wl;function Sl(n){return JSON.parse(n.replace(/^\)]}'[^\n]*\n/,""))}k.parseSourceMapInput=Sl;function vl(n,e,t){if(e=e||"",n&&(n[n.length-1]!=="/"&&e[0]!=="/"&&(n+="/"),e=n+e),t){var r=Ge(t);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var s=r.path.lastIndexOf("/");s>=0&&(r.path=r.path.substring(0,s+1))}e=Wn(xe(r),e)}return or(e)}k.computeSourceURL=vl});var ur=S(Gn=>{var lr=be(),ar=Object.prototype.hasOwnProperty,de=typeof Map<"u";function ne(){this._array=[],this._set=de?new Map:Object.create(null)}ne.fromArray=function(e,t){for(var r=new ne,s=0,i=e.length;s<i;s++)r.add(e[s],t);return r};ne.prototype.size=function(){return de?this._set.size:Object.getOwnPropertyNames(this._set).length};ne.prototype.add=function(e,t){var r=de?e:lr.toSetString(e),s=de?this.has(e):ar.call(this._set,r),i=this._array.length;(!s||t)&&this._array.push(e),s||(de?this._set.set(e,i):this._set[r]=i)};ne.prototype.has=function(e){if(de)return this._set.has(e);var t=lr.toSetString(e);return ar.call(this._set,t)};ne.prototype.indexOf=function(e){if(de){var t=this._set.get(e);if(t>=0)return t}else{var r=lr.toSetString(e);if(ar.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')};ne.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};ne.prototype.toArray=function(){return this._array.slice()};Gn.ArraySet=ne});var Hn=S(Vn=>{var zn=be();function xl(n,e){var t=n.generatedLine,r=e.generatedLine,s=n.generatedColumn,i=e.generatedColumn;return r>t||r==t&&i>=s||zn.compareByGeneratedPositionsInflated(n,e)<=0}function _t(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}_t.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)};_t.prototype.add=function(e){xl(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};_t.prototype.toArray=function(){return this._sorted||(this._array.sort(zn.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};Vn.MappingList=_t});var fr=S(Yn=>{var ze=ir(),M=be(),yt=ur().ArraySet,bl=Hn().MappingList;function z(n){n||(n={}),this._file=M.getArg(n,"file",null),this._sourceRoot=M.getArg(n,"sourceRoot",null),this._skipValidation=M.getArg(n,"skipValidation",!1),this._ignoreInvalidMapping=M.getArg(n,"ignoreInvalidMapping",!1),this._sources=new yt,this._names=new yt,this._mappings=new bl,this._sourcesContents=null}z.prototype._version=3;z.fromSourceMap=function(e,t){var r=e.sourceRoot,s=new z(Object.assign(t||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(i){var o={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(o.source=i.source,r!=null&&(o.source=M.relative(r,o.source)),o.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(o.name=i.name)),s.addMapping(o)}),e.sources.forEach(function(i){var o=i;r!==null&&(o=M.relative(r,i)),s._sources.has(o)||s._sources.add(o);var a=e.sourceContentFor(i);a!=null&&s.setSourceContent(i,a)}),s};z.prototype.addMapping=function(e){var t=M.getArg(e,"generated"),r=M.getArg(e,"original",null),s=M.getArg(e,"source",null),i=M.getArg(e,"name",null);!this._skipValidation&&this._validateMapping(t,r,s,i)===!1||(s!=null&&(s=String(s),this._sources.has(s)||this._sources.add(s)),i!=null&&(i=String(i),this._names.has(i)||this._names.add(i)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:s,name:i}))};z.prototype.setSourceContent=function(e,t){var r=e;this._sourceRoot!=null&&(r=M.relative(this._sourceRoot,r)),t!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[M.toSetString(r)]=t):this._sourcesContents&&(delete this._sourcesContents[M.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};z.prototype.applySourceMap=function(e,t,r){var s=t;if(t==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);s=e.file}var i=this._sourceRoot;i!=null&&(s=M.relative(i,s));var o=new yt,a=new yt;this._mappings.unsortedForEach(function(l){if(l.source===s&&l.originalLine!=null){var u=e.originalPositionFor({line:l.originalLine,column:l.originalColumn});u.source!=null&&(l.source=u.source,r!=null&&(l.source=M.join(r,l.source)),i!=null&&(l.source=M.relative(i,l.source)),l.originalLine=u.line,l.originalColumn=u.column,u.name!=null&&(l.name=u.name))}var f=l.source;f!=null&&!o.has(f)&&o.add(f);var h=l.name;h!=null&&!a.has(h)&&a.add(h)},this),this._sources=o,this._names=a,e.sources.forEach(function(l){var u=e.sourceContentFor(l);u!=null&&(r!=null&&(l=M.join(r,l)),i!=null&&(l=M.relative(i,l)),this.setSourceContent(l,u))},this)};z.prototype._validateMapping=function(e,t,r,s){if(t&&typeof t.line!="number"&&typeof t.column!="number"){var i="original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.";if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(i),!1;throw new Error(i)}if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!t&&!r&&!s)){if(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&r)return;var i="Invalid mapping: "+JSON.stringify({generated:e,source:r,original:t,name:s});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(i),!1;throw new Error(i)}};z.prototype._serializeMappings=function(){for(var e=0,t=1,r=0,s=0,i=0,o=0,a="",l,u,f,h,c=this._mappings.toArray(),p=0,m=c.length;p<m;p++){if(u=c[p],l="",u.generatedLine!==t)for(e=0;u.generatedLine!==t;)l+=";",t++;else if(p>0){if(!M.compareByGeneratedPositionsInflated(u,c[p-1]))continue;l+=","}l+=ze.encode(u.generatedColumn-e),e=u.generatedColumn,u.source!=null&&(h=this._sources.indexOf(u.source),l+=ze.encode(h-o),o=h,l+=ze.encode(u.originalLine-1-s),s=u.originalLine-1,l+=ze.encode(u.originalColumn-r),r=u.originalColumn,u.name!=null&&(f=this._names.indexOf(u.name),l+=ze.encode(f-i),i=f)),a+=l}return a};z.prototype._generateSourcesContent=function(e,t){return e.map(function(r){if(!this._sourcesContents)return null;t!=null&&(r=M.relative(t,r));var s=M.toSetString(r);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)};z.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};z.prototype.toString=function(){return JSON.stringify(this.toJSON())};Yn.SourceMapGenerator=z});var Jn=S(me=>{me.GREATEST_LOWER_BOUND=1;me.LEAST_UPPER_BOUND=2;function cr(n,e,t,r,s,i){var o=Math.floor((e-n)/2)+n,a=s(t,r[o],!0);return a===0?o:a>0?e-o>1?cr(o,e,t,r,s,i):i==me.LEAST_UPPER_BOUND?e<r.length?e:-1:o:o-n>1?cr(n,o,t,r,s,i):i==me.LEAST_UPPER_BOUND?o:n<0?-1:n}me.search=function(e,t,r,s){if(t.length===0)return-1;var i=cr(-1,t.length,e,t,r,s||me.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&r(t[i],t[i-1],!0)===0;)--i;return i}});var Zn=S(Kn=>{function El(n){function e(s,i,o){var a=s[i];s[i]=s[o],s[o]=a}function t(s,i){return Math.round(s+Math.random()*(i-s))}function r(s,i,o,a){if(o<a){var l=t(o,a),u=o-1;e(s,l,a);for(var f=s[a],h=o;h<a;h++)i(s[h],f,!1)<=0&&(u+=1,e(s,u,h));e(s,u+1,h);var c=u+1;r(s,i,o,c-1),r(s,i,c+1,a)}}return r}function Cl(n){let e=El.toString();return new Function(`return ${e}`)()(n)}var Qn=new WeakMap;Kn.quickSort=function(n,e,t=0){let r=Qn.get(e);r===void 0&&(r=Cl(e),Qn.set(e,r)),r(n,e,t,n.length-1)}});var ts=S(wt=>{var _=be(),pr=Jn(),Ee=ur().ArraySet,Ol=ir(),Ve=Zn().quickSort;function O(n,e){var t=n;return typeof n=="string"&&(t=_.parseSourceMapInput(n)),t.sections!=null?new Z(t,e):new B(t,e)}O.fromSourceMap=function(n,e){return B.fromSourceMap(n,e)};O.prototype._version=3;O.prototype.__generatedMappings=null;Object.defineProperty(O.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});O.prototype.__originalMappings=null;Object.defineProperty(O.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});O.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return r===";"||r===","};O.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")};O.GENERATED_ORDER=1;O.ORIGINAL_ORDER=2;O.GREATEST_LOWER_BOUND=1;O.LEAST_UPPER_BOUND=2;O.prototype.eachMapping=function(e,t,r){var s=t||null,i=r||O.GENERATED_ORDER,o;switch(i){case O.GENERATED_ORDER:o=this._generatedMappings;break;case O.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var a=this.sourceRoot,l=e.bind(s),u=this._names,f=this._sources,h=this._sourceMapURL,c=0,p=o.length;c<p;c++){var m=o[c],d=m.source===null?null:f.at(m.source);d!==null&&(d=_.computeSourceURL(a,d,h)),l({source:d,generatedLine:m.generatedLine,generatedColumn:m.generatedColumn,originalLine:m.originalLine,originalColumn:m.originalColumn,name:m.name===null?null:u.at(m.name)})}};O.prototype.allGeneratedPositionsFor=function(e){var t=_.getArg(e,"line"),r={source:_.getArg(e,"source"),originalLine:t,originalColumn:_.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var s=[],i=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",_.compareByOriginalPositions,pr.LEAST_UPPER_BOUND);if(i>=0){var o=this._originalMappings[i];if(e.column===void 0)for(var a=o.originalLine;o&&o.originalLine===a;)s.push({line:_.getArg(o,"generatedLine",null),column:_.getArg(o,"generatedColumn",null),lastColumn:_.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i];else for(var l=o.originalColumn;o&&o.originalLine===t&&o.originalColumn==l;)s.push({line:_.getArg(o,"generatedLine",null),column:_.getArg(o,"generatedColumn",null),lastColumn:_.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++i]}return s};wt.SourceMapConsumer=O;function B(n,e){var t=n;typeof n=="string"&&(t=_.parseSourceMapInput(n));var r=_.getArg(t,"version"),s=_.getArg(t,"sources"),i=_.getArg(t,"names",[]),o=_.getArg(t,"sourceRoot",null),a=_.getArg(t,"sourcesContent",null),l=_.getArg(t,"mappings"),u=_.getArg(t,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);o&&(o=_.normalize(o)),s=s.map(String).map(_.normalize).map(function(f){return o&&_.isAbsolute(o)&&_.isAbsolute(f)?_.relative(o,f):f}),this._names=Ee.fromArray(i.map(String),!0),this._sources=Ee.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map(function(f){return _.computeSourceURL(o,f,e)}),this.sourceRoot=o,this.sourcesContent=a,this._mappings=l,this._sourceMapURL=e,this.file=u}B.prototype=Object.create(O.prototype);B.prototype.consumer=O;B.prototype._findSourceIndex=function(n){var e=n;if(this.sourceRoot!=null&&(e=_.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var t;for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==n)return t;return-1};B.fromSourceMap=function(e,t){var r=Object.create(B.prototype),s=r._names=Ee.fromArray(e._names.toArray(),!0),i=r._sources=Ee.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=t,r._absoluteSources=r._sources.toArray().map(function(p){return _.computeSourceURL(r.sourceRoot,p,t)});for(var o=e._mappings.toArray().slice(),a=r.__generatedMappings=[],l=r.__originalMappings=[],u=0,f=o.length;u<f;u++){var h=o[u],c=new es;c.generatedLine=h.generatedLine,c.generatedColumn=h.generatedColumn,h.source&&(c.source=i.indexOf(h.source),c.originalLine=h.originalLine,c.originalColumn=h.originalColumn,h.name&&(c.name=s.indexOf(h.name)),l.push(c)),a.push(c)}return Ve(r.__originalMappings,_.compareByOriginalPositions),r};B.prototype._version=3;Object.defineProperty(B.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function es(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var hr=_.compareByGeneratedPositionsDeflatedNoLine;function Xn(n,e){let t=n.length,r=n.length-e;if(!(r<=1))if(r==2){let s=n[e],i=n[e+1];hr(s,i)>0&&(n[e]=i,n[e+1]=s)}else if(r<20)for(let s=e;s<t;s++)for(let i=s;i>e;i--){let o=n[i-1],a=n[i];if(hr(o,a)<=0)break;n[i-1]=a,n[i]=o}else Ve(n,hr,e)}B.prototype._parseMappings=function(e,t){var r=1,s=0,i=0,o=0,a=0,l=0,u=e.length,f=0,h={},c={},p=[],m=[],d,g,y,w,x;let v=0;for(;f<u;)if(e.charAt(f)===";")r++,f++,s=0,Xn(m,v),v=m.length;else if(e.charAt(f)===",")f++;else{for(d=new es,d.generatedLine=r,w=f;w<u&&!this._charIsMappingSeparator(e,w);w++);for(g=e.slice(f,w),y=[];f<w;)Ol.decode(e,f,c),x=c.value,f=c.rest,y.push(x);if(y.length===2)throw new Error("Found a source, but no line and column");if(y.length===3)throw new Error("Found a source and line, but no column");if(d.generatedColumn=s+y[0],s=d.generatedColumn,y.length>1&&(d.source=a+y[1],a+=y[1],d.originalLine=i+y[2],i=d.originalLine,d.originalLine+=1,d.originalColumn=o+y[3],o=d.originalColumn,y.length>4&&(d.name=l+y[4],l+=y[4])),m.push(d),typeof d.originalLine=="number"){let b=d.source;for(;p.length<=b;)p.push(null);p[b]===null&&(p[b]=[]),p[b].push(d)}}Xn(m,v),this.__generatedMappings=m;for(var E=0;E<p.length;E++)p[E]!=null&&Ve(p[E],_.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...p)};B.prototype._findMapping=function(e,t,r,s,i,o){if(e[r]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[r]);if(e[s]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[s]);return pr.search(e,t,i,o)};B.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(t.generatedLine===r.generatedLine){t.lastGeneratedColumn=r.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}};B.prototype.originalPositionFor=function(e){var t={generatedLine:_.getArg(e,"line"),generatedColumn:_.getArg(e,"column")},r=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",_.compareByGeneratedPositionsDeflated,_.getArg(e,"bias",O.GREATEST_LOWER_BOUND));if(r>=0){var s=this._generatedMappings[r];if(s.generatedLine===t.generatedLine){var i=_.getArg(s,"source",null);i!==null&&(i=this._sources.at(i),i=_.computeSourceURL(this.sourceRoot,i,this._sourceMapURL));var o=_.getArg(s,"name",null);return o!==null&&(o=this._names.at(o)),{source:i,line:_.getArg(s,"originalLine",null),column:_.getArg(s,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};B.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};B.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var s=e;this.sourceRoot!=null&&(s=_.relative(this.sourceRoot,s));var i;if(this.sourceRoot!=null&&(i=_.urlParse(this.sourceRoot))){var o=s.replace(/^file:\/\//,"");if(i.scheme=="file"&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!i.path||i.path=="/")&&this._sources.has("/"+s))return this.sourcesContent[this._sources.indexOf("/"+s)]}if(t)return null;throw new Error('"'+s+'" is not in the SourceMap.')};B.prototype.generatedPositionFor=function(e){var t=_.getArg(e,"source");if(t=this._findSourceIndex(t),t<0)return{line:null,column:null,lastColumn:null};var r={source:t,originalLine:_.getArg(e,"line"),originalColumn:_.getArg(e,"column")},s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",_.compareByOriginalPositions,_.getArg(e,"bias",O.GREATEST_LOWER_BOUND));if(s>=0){var i=this._originalMappings[s];if(i.source===r.source)return{line:_.getArg(i,"generatedLine",null),column:_.getArg(i,"generatedColumn",null),lastColumn:_.getArg(i,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};wt.BasicSourceMapConsumer=B;function Z(n,e){var t=n;typeof n=="string"&&(t=_.parseSourceMapInput(n));var r=_.getArg(t,"version"),s=_.getArg(t,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new Ee,this._names=new Ee;var i={line:-1,column:0};this._sections=s.map(function(o){if(o.url)throw new Error("Support for url field in sections not implemented.");var a=_.getArg(o,"offset"),l=_.getArg(a,"line"),u=_.getArg(a,"column");if(l<i.line||l===i.line&&u<i.column)throw new Error("Section offsets must be ordered and non-overlapping.");return i=a,{generatedOffset:{generatedLine:l+1,generatedColumn:u+1},consumer:new O(_.getArg(o,"map"),e)}})}Z.prototype=Object.create(O.prototype);Z.prototype.constructor=O;Z.prototype._version=3;Object.defineProperty(Z.prototype,"sources",{get:function(){for(var n=[],e=0;e<this._sections.length;e++)for(var t=0;t<this._sections[e].consumer.sources.length;t++)n.push(this._sections[e].consumer.sources[t]);return n}});Z.prototype.originalPositionFor=function(e){var t={generatedLine:_.getArg(e,"line"),generatedColumn:_.getArg(e,"column")},r=pr.search(t,this._sections,function(i,o){var a=i.generatedLine-o.generatedOffset.generatedLine;return a||i.generatedColumn-o.generatedOffset.generatedColumn}),s=this._sections[r];return s?s.consumer.originalPositionFor({line:t.generatedLine-(s.generatedOffset.generatedLine-1),column:t.generatedColumn-(s.generatedOffset.generatedLine===t.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};Z.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};Z.prototype.sourceContentFor=function(e,t){for(var r=0;r<this._sections.length;r++){var s=this._sections[r],i=s.consumer.sourceContentFor(e,!0);if(i||i==="")return i}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')};Z.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var r=this._sections[t];if(r.consumer._findSourceIndex(_.getArg(e,"source"))!==-1){var s=r.consumer.generatedPositionFor(e);if(s){var i={line:s.line+(r.generatedOffset.generatedLine-1),column:s.column+(r.generatedOffset.generatedLine===s.line?r.generatedOffset.generatedColumn-1:0)};return i}}}return{line:null,column:null}};Z.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var s=this._sections[r],i=s.consumer._generatedMappings,o=0;o<i.length;o++){var a=i[o],l=s.consumer._sources.at(a.source);l!==null&&(l=_.computeSourceURL(s.consumer.sourceRoot,l,this._sourceMapURL)),this._sources.add(l),l=this._sources.indexOf(l);var u=null;a.name&&(u=s.consumer._names.at(a.name),this._names.add(u),u=this._names.indexOf(u));var f={source:l,generatedLine:a.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(s.generatedOffset.generatedLine===a.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:u};this.__generatedMappings.push(f),typeof f.originalLine=="number"&&this.__originalMappings.push(f)}Ve(this.__generatedMappings,_.compareByGeneratedPositionsDeflated),Ve(this.__originalMappings,_.compareByOriginalPositions)};wt.IndexedSourceMapConsumer=Z});var ns=S(rs=>{var Ll=fr().SourceMapGenerator,St=be(),Tl=/(\r?\n)/,Al=10,Ce="$$$isSourceNode$$$";function $(n,e,t,r,s){this.children=[],this.sourceContents={},this.line=n??null,this.column=e??null,this.source=t??null,this.name=s??null,this[Ce]=!0,r!=null&&this.add(r)}$.fromStringWithSourceMap=function(e,t,r){var s=new $,i=e.split(Tl),o=0,a=function(){var c=m(),p=m()||"";return c+p;function m(){return o<i.length?i[o++]:void 0}},l=1,u=0,f=null;return t.eachMapping(function(c){if(f!==null)if(l<c.generatedLine)h(f,a()),l++,u=0;else{var p=i[o]||"",m=p.substr(0,c.generatedColumn-u);i[o]=p.substr(c.generatedColumn-u),u=c.generatedColumn,h(f,m),f=c;return}for(;l<c.generatedLine;)s.add(a()),l++;if(u<c.generatedColumn){var p=i[o]||"";s.add(p.substr(0,c.generatedColumn)),i[o]=p.substr(c.generatedColumn),u=c.generatedColumn}f=c},this),o<i.length&&(f&&h(f,a()),s.add(i.splice(o).join(""))),t.sources.forEach(function(c){var p=t.sourceContentFor(c);p!=null&&(r!=null&&(c=St.join(r,c)),s.setSourceContent(c,p))}),s;function h(c,p){if(c===null||c.source===void 0)s.add(p);else{var m=r?St.join(r,c.source):c.source;s.add(new $(c.originalLine,c.originalColumn,m,p,c.name))}}};$.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(t){this.add(t)},this);else if(e[Ce]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};$.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else if(e[Ce]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};$.prototype.walk=function(e){for(var t,r=0,s=this.children.length;r<s;r++)t=this.children[r],t[Ce]?t.walk(e):t!==""&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})};$.prototype.join=function(e){var t,r,s=this.children.length;if(s>0){for(t=[],r=0;r<s-1;r++)t.push(this.children[r]),t.push(e);t.push(this.children[r]),this.children=t}return this};$.prototype.replaceRight=function(e,t){var r=this.children[this.children.length-1];return r[Ce]?r.replaceRight(e,t):typeof r=="string"?this.children[this.children.length-1]=r.replace(e,t):this.children.push("".replace(e,t)),this};$.prototype.setSourceContent=function(e,t){this.sourceContents[St.toSetString(e)]=t};$.prototype.walkSourceContents=function(e){for(var t=0,r=this.children.length;t<r;t++)this.children[t][Ce]&&this.children[t].walkSourceContents(e);for(var s=Object.keys(this.sourceContents),t=0,r=s.length;t<r;t++)e(St.fromSetString(s[t]),this.sourceContents[s[t]])};$.prototype.toString=function(){var e="";return this.walk(function(t){e+=t}),e};$.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},r=new Ll(e),s=!1,i=null,o=null,a=null,l=null;return this.walk(function(u,f){t.code+=u,f.source!==null&&f.line!==null&&f.column!==null?((i!==f.source||o!==f.line||a!==f.column||l!==f.name)&&r.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:t.line,column:t.column},name:f.name}),i=f.source,o=f.line,a=f.column,l=f.name,s=!0):s&&(r.addMapping({generated:{line:t.line,column:t.column}}),i=null,s=!1);for(var h=0,c=u.length;h<c;h++)u.charCodeAt(h)===Al?(t.line++,t.column=0,h+1===c?(i=null,s=!1):s&&r.addMapping({source:f.source,original:{line:f.line,column:f.column},generated:{line:t.line,column:t.column},name:f.name})):t.column++}),this.walkSourceContents(function(u,f){r.setSourceContent(u,f)}),{code:t.code,map:r}};rs.SourceNode=$});var dr=S(vt=>{vt.SourceMapGenerator=fr().SourceMapGenerator;vt.SourceMapConsumer=ts().SourceMapConsumer;vt.SourceNode=ns().SourceNode});var ls=S((Hf,os)=>{"use strict";var{existsSync:Nl,readFileSync:Ml}=require("fs"),{dirname:mr,join:Rl}=require("path"),{SourceMapConsumer:ss,SourceMapGenerator:is}=dr();function Pl(n){return Buffer?Buffer.from(n,"base64").toString():window.atob(n)}var He=class{constructor(e,t){if(t.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=t.map?t.map.prev:void 0,s=this.loadMap(t.from,r);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=mr(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new ss(this.text)),this.consumerCache}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,s=/^data:application\/json;charset=utf-?8,/,i=/^data:application\/json,/,o=e.match(s)||e.match(i);if(o)return decodeURIComponent(e.substr(o[0].length));let a=e.match(t)||e.match(r);if(a)return Pl(e.substr(a[0].length));let l=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+l)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let r=e.lastIndexOf(t.pop()),s=e.indexOf("*/",r);r>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,s)))}loadFile(e){if(this.root=mr(e),Nl(e))return this.mapFile=e,Ml(e,"utf-8").toString().trim()}loadMap(e,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let r=t(e);if(r){let s=this.loadFile(r);if(!s)throw new Error("Unable to load previous source map: "+r.toString());return s}}else{if(t instanceof ss)return is.fromSourceMap(t).toString();if(t instanceof is)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return e&&(r=Rl(mr(e),r)),this.loadFile(r)}}}startWith(e,t){return e?e.substr(0,t.length)===t:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};os.exports=He;He.default=He});var hs=S((Yf,cs)=>{"use strict";var{nanoid:kl}=Rn(),{isAbsolute:yr,resolve:wr}=require("path"),{SourceMapConsumer:Il,SourceMapGenerator:Bl}=dr(),{fileURLToPath:as,pathToFileURL:xt}=require("url"),us=Vt(),Fl=ls(),gr=zt(),_r=Symbol("fromOffsetCache"),Ul=!!(Il&&Bl),fs=!!(wr&&yr),Oe=class{constructor(e,t={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,t.from&&(!fs||/^\w+:\/\//.test(t.from)||yr(t.from)?this.file=t.from:this.file=wr(t.from)),fs&&Ul){let r=new Fl(this.css,t);if(r.text){this.map=r;let s=r.consumer().file;!this.file&&s&&(this.file=this.mapResolve(s))}}this.file||(this.id="<input css "+kl(6)+">"),this.map&&(this.map.file=this.from)}error(e,t,r,s={}){let i,o,a;if(t&&typeof t=="object"){let u=t,f=r;if(typeof u.offset=="number"){let h=this.fromOffset(u.offset);t=h.line,r=h.col}else t=u.line,r=u.column;if(typeof f.offset=="number"){let h=this.fromOffset(f.offset);o=h.line,i=h.col}else o=f.line,i=f.column}else if(!r){let u=this.fromOffset(t);t=u.line,r=u.col}let l=this.origin(t,r,o,i);return l?a=new us(e,l.endLine===void 0?l.line:{column:l.column,line:l.line},l.endLine===void 0?l.column:{column:l.endColumn,line:l.endLine},l.source,l.file,s.plugin):a=new us(e,o===void 0?t:{column:r,line:t},o===void 0?r:{column:i,line:o},this.css,this.file,s.plugin),a.input={column:r,endColumn:i,endLine:o,line:t,source:this.css},this.file&&(xt&&(a.input.url=xt(this.file).toString()),a.input.file=this.file),a}fromOffset(e){let t,r;if(this[_r])r=this[_r];else{let i=this.css.split(`
22
22
  `);r=new Array(i.length);let o=0;for(let a=0,l=i.length;a<l;a++)r[a]=o,o+=i[a].length+1;this[_r]=r}t=r[r.length-1];let s=0;if(e>=t)s=r.length-1;else{let i=r.length-2,o;for(;s<i;)if(o=s+(i-s>>1),e<r[o])i=o-1;else if(e>=r[o+1])s=o+1;else{s=o;break}}return{col:e-r[s]+1,line:s+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:wr(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,r,s){if(!this.map)return!1;let i=this.map.consumer(),o=i.originalPositionFor({column:t,line:e});if(!o.source)return!1;let a;typeof r=="number"&&(a=i.originalPositionFor({column:s,line:r}));let l;yr(o.source)?l=xt(o.source):l=new URL(o.source,this.map.consumer().sourceRoot||xt(this.map.mapFile));let u={column:o.column,endColumn:a&&a.column,endLine:a&&a.line,line:o.line,url:l.toString()};if(l.protocol==="file:")if(as)u.file=as(l);else throw new Error("file: protocol is not available in this PostCSS build");let f=i.sourceContentFor(o.source);return f&&(u.source=f),u}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])this[t]!=null&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}};cs.exports=Oe;Oe.default=Oe;gr&&gr.registerInput&&gr.registerInput(Oe)});var ms=S((Jf,ds)=>{"use strict";var ps=qe(),Le=class extends ps{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)}};ds.exports=Le;Le.default=Le;ps.registerAtRule(Le)});var Ss=S((Qf,ws)=>{"use strict";var gs=qe(),_s,ys,ue=class extends gs{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,r){let s=super.normalize(e);if(t){if(r==="prepend")this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let i of s)i.raws.before=t.raws.before}return s}removeChild(e,t){let r=this.index(e);return!t&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new _s(new ys,this,e).stringify()}};ue.registerLazyResult=n=>{_s=n};ue.registerProcessor=n=>{ys=n};ws.exports=ue;ue.default=ue;gs.registerRoot(ue)});var xs=S((Kf,vs)=>{"use strict";var Ye={comma(n){return Ye.split(n,[","],!0)},space(n){let e=[" ",`
23
23
  `," "];return Ye.split(n,e)},split(n,e,t){let r=[],s="",i=!1,o=0,a=!1,l="",u=!1;for(let f of n)u?u=!1:f==="\\"?u=!0:a?f===l&&(a=!1):f==='"'||f==="'"?(a=!0,l=f):f==="("?o+=1:f===")"?o>0&&(o-=1):o===0&&e.includes(f)&&(i=!0),i?(s!==""&&r.push(s.trim()),s="",i=!1):s+=f;return(t||s!=="")&&r.push(s.trim()),r}};vs.exports=Ye;Ye.default=Ye});var Cs=S((Zf,Es)=>{"use strict";var bs=qe(),Dl=xs(),Te=class extends bs{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Dl.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};Es.exports=Te;Te.default=Te;bs.registerRule(Te)});var As=S((Xf,Ts)=>{"use strict";var Wl=ms(),jl=Zt(),$l=Xt(),ql=Ss(),Os=Cs(),Gl=Gt(),Ls={empty:!0,space:!0};function zl(n){for(let e=n.length-1;e>=0;e--){let t=n[e],r=t[3]||t[2];if(r)return r}}var Sr=class{constructor(e){this.input=e,this.root=new ql,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:e,start:{column:1,line:1,offset:0}}}atrule(e){let t=new Wl;t.name=e[1].slice(1),t.name===""&&this.unnamedAtrule(t,e),this.init(t,e[2]);let r,s,i,o=!1,a=!1,l=[],u=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r==="("||r==="["?u.push(r==="("?")":"]"):r==="{"&&u.length>0?u.push("}"):r===u[u.length-1]&&u.pop(),u.length===0)if(r===";"){t.source.end=this.getPosition(e[2]),t.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){a=!0;break}else if(r==="}"){if(l.length>0){for(i=l.length-1,s=l[i];s&&s[0]==="space";)s=l[--i];s&&(t.source.end=this.getPosition(s[3]||s[2]),t.source.end.offset++)}this.end(e);break}else l.push(e);else l.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(t.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(t,"params",l),o&&(e=l[l.length-1],t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++,this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),a&&(t.nodes=[],this.current=t)}checkMissedSemicolon(e){let t=this.colon(e);if(t===!1)return;let r=0,s;for(let i=t-1;i>=0&&(s=e[i],!(s[0]!=="space"&&(r+=1,r===2)));i--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}colon(e){let t=0,r,s,i;for(let[o,a]of e.entries()){if(s=a,i=s[0],i==="("&&(t+=1),i===")"&&(t-=1),t===0&&i===":")if(!r)this.doubleColon(s);else{if(r[0]==="word"&&r[1]==="progid")continue;return o}r=s}return!1}comment(e){let t=new jl;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))t.text="",t.raws.left=r,t.raws.right="";else{let s=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=s[2],t.raws.left=s[1],t.raws.right=s[3]}}createTokenizer(){this.tokenizer=Gl(this.input)}decl(e,t){let r=new $l;this.init(r,e[0][2]);let s=e[e.length-1];for(s[0]===";"&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(s[3]||s[2]||zl(e)),r.source.end.offset++;e[0][0]!=="word";)e.length===1&&this.unknownWord(e),r.raws.before+=e.shift()[1];for(r.source.start=this.getPosition(e[0][2]),r.prop="";e.length;){let u=e[0][0];if(u===":"||u==="space"||u==="comment")break;r.prop+=e.shift()[1]}r.raws.between="";let i;for(;e.length;)if(i=e.shift(),i[0]===":"){r.raws.between+=i[1];break}else i[0]==="word"&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o=[],a;for(;e.length&&(a=e[0][0],!(a!=="space"&&a!=="comment"));)o.push(e.shift());this.precheckMissedSemicolon(e);for(let u=e.length-1;u>=0;u--){if(i=e[u],i[1].toLowerCase()==="!important"){r.important=!0;let f=this.stringFrom(e,u);f=this.spacesFromEnd(e)+f,f!==" !important"&&(r.raws.important=f);break}else if(i[1].toLowerCase()==="important"){let f=e.slice(0),h="";for(let c=u;c>0;c--){let p=f[c][0];if(h.trim().startsWith("!")&&p!=="space")break;h=f.pop()[1]+h}h.trim().startsWith("!")&&(r.important=!0,r.raws.important=h,e=f)}if(i[0]!=="space"&&i[0]!=="comment")break}e.some(u=>u[0]!=="space"&&u[0]!=="comment")&&(r.raws.between+=o.map(u=>u[1]).join(""),o=[]),this.raw(r,"value",o.concat(e),t),r.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new Os;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&t.type==="rule"&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let t=!1,r=null,s=!1,i=null,o=[],a=e[1].startsWith("--"),l=[],u=e;for(;u;){if(r=u[0],l.push(u),r==="("||r==="[")i||(i=u),o.push(r==="("?")":"]");else if(a&&s&&r==="{")i||(i=u),o.push("}");else if(o.length===0)if(r===";")if(s){this.decl(l,a);return}else break;else if(r==="{"){this.rule(l);return}else if(r==="}"){this.tokenizer.back(l.pop()),t=!0;break}else r===":"&&(s=!0);else r===o[o.length-1]&&(o.pop(),o.length===0&&(i=null));u=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),o.length>0&&this.unclosedBracket(i),t&&s){if(!a)for(;l.length&&(u=l[l.length-1][0],!(u!=="space"&&u!=="comment"));)this.tokenizer.back(l.pop());this.decl(l,a)}else this.unknownWord(l)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}precheckMissedSemicolon(){}raw(e,t,r,s){let i,o,a=r.length,l="",u=!0,f,h;for(let c=0;c<a;c+=1)i=r[c],o=i[0],o==="space"&&c===a-1&&!s?u=!1:o==="comment"?(h=r[c-1]?r[c-1][0]:"empty",f=r[c+1]?r[c+1][0]:"empty",!Ls[h]&&!Ls[f]?l.slice(-1)===","?u=!1:l+=i[1]:u=!1):l+=i[1];if(!u){let c=r.reduce((p,m)=>p+m[1],"");e.raws[t]={raw:c,value:l}}e[t]=l}rule(e){e.pop();let t=new Os;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],!(t!=="space"&&t!=="comment"));)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let t,r="";for(;e.length&&(t=e[0][0],!(t!=="space"&&t!=="comment"));)r+=e.shift()[1];return r}spacesFromEnd(e){let t,r="";for(;e.length&&(t=e[e.length-1][0],t==="space");)r=e.pop()[1]+r;return r}stringFrom(e,t){let r="";for(let s=t;s<e.length;s++)r+=e[s][1];return e.splice(t,e.length-t),r}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unnamedAtrule(e,t){throw this.input.error("At-rule without name",{offset:t[2]},{offset:t[2]+t[1].length})}};Ts.exports=Sr});var Ms=S((ec,Ns)=>{"use strict";var Vl=qe(),Hl=hs(),Yl=As();function bt(n,e){let t=new Hl(n,e),r=new Yl(t);try{r.parse()}catch(s){throw process.env.NODE_ENV!=="production"&&s.name==="CssSyntaxError"&&e&&e.from&&(/\.scss$/i.test(e.from)?s.message+=`
24
24
  You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(e.from)?s.message+=`
package/lib/utils/util.js CHANGED
@@ -161,6 +161,25 @@ const Util = {
161
161
  };
162
162
  },
163
163
 
164
+ saveSourceCacheFile: async (sourceData, options, fileCache) => {
165
+ const { cacheName, cachePath } = Util.getCacheFileInfo('source', sourceData.id, options.cacheDir);
166
+
167
+ // file cache for add() to generate()
168
+ if (fileCache) {
169
+ fileCache.set(cacheName, sourceData);
170
+ }
171
+
172
+ await Util.writeFile(cachePath, JSON.stringify(sourceData));
173
+
174
+ // save source and sourcemap file for debug
175
+ // https://evanw.github.io/source-map-visualization
176
+ if (options.sourceMap && sourceData.sourceMap) {
177
+ const filePath = cachePath.slice(0, -5);
178
+ await Util.writeFile(`${filePath}.js`, sourceData.source);
179
+ await Util.writeFile(`${filePath}.js.map`, JSON.stringify(sourceData.sourceMap));
180
+ }
181
+ },
182
+
164
183
  findUpConfig: (customConfigFile) => {
165
184
  if (customConfigFile) {
166
185
  if (fs.existsSync(customConfigFile)) {
package/lib/v8/v8.js CHANGED
@@ -70,7 +70,7 @@ const getEntryFilter = (options) => {
70
70
 
71
71
  const initV8ListAndSourcemap = async (mcr, v8list) => {
72
72
 
73
- const { options } = mcr;
73
+ const { options, fileCache } = mcr;
74
74
 
75
75
  // entry filter
76
76
  const entryFilter = getEntryFilter(options);
@@ -102,6 +102,7 @@ const initV8ListAndSourcemap = async (mcr, v8list) => {
102
102
  }
103
103
  return true;
104
104
  }
105
+
105
106
  // 404 css, text will be empty
106
107
  Util.logDebug(EC.red(`Invalid source or coverage data: ${entry.url}`));
107
108
  // console.log(entry);
@@ -186,18 +187,7 @@ const initV8ListAndSourcemap = async (mcr, v8list) => {
186
187
 
187
188
  // save source list
188
189
  for (const sourceData of sourceList) {
189
-
190
- const { cacheName, cachePath } = Util.getCacheFileInfo('source', sourceData.id, options.cacheDir);
191
- mcr.fileCache.set(cacheName, sourceData);
192
- await Util.writeFile(cachePath, JSON.stringify(sourceData));
193
-
194
- // save source and sourcemap file for debug
195
- // https://evanw.github.io/source-map-visualization
196
- if (options.sourceMap && sourceData.sourceMap) {
197
- const filePath = cachePath.slice(0, -5);
198
- await Util.writeFile(`${filePath}.js`, sourceData.source);
199
- await Util.writeFile(`${filePath}.js.map`, JSON.stringify(sourceData.sourceMap));
200
- }
190
+ await Util.saveSourceCacheFile(sourceData, options, fileCache);
201
191
  }
202
192
 
203
193
  return v8list;
@@ -243,9 +233,10 @@ const mergeV8Coverage = async (dataList, sourceCache, options) => {
243
233
 
244
234
  // connect all functions and ranges
245
235
  const itemMap = {};
236
+ const sourcePathMap = {};
246
237
  const mergeMap = {};
247
238
  coverageList.forEach((item) => {
248
- const { id } = item;
239
+ const { id, sourcePath } = item;
249
240
  const prev = itemMap[id];
250
241
  if (prev) {
251
242
  if (mergeMap[id]) {
@@ -255,6 +246,7 @@ const mergeV8Coverage = async (dataList, sourceCache, options) => {
255
246
  }
256
247
  } else {
257
248
  itemMap[id] = item;
249
+ sourcePathMap[sourcePath] = item;
258
250
  }
259
251
  });
260
252
 
@@ -272,16 +264,22 @@ const mergeV8Coverage = async (dataList, sourceCache, options) => {
272
264
 
273
265
  // first time filter for empty, (not for sources)
274
266
  // empty and not in item map
275
- const emptyList = allList.filter((it) => it.empty).filter((it) => !itemMap[it.id]);
267
+ const emptyList = allList.filter((it) => it.empty).filter((it) => {
268
+ if (itemMap[it.id]) {
269
+ return false;
270
+ }
271
+ if (sourcePathMap[it.sourcePath]) {
272
+ return false;
273
+ }
274
+ return true;
275
+ });
276
276
 
277
277
  // empty list + merged list
278
278
  const mergedList = emptyList.concat(Object.values(itemMap));
279
279
 
280
280
  // try to load coverage and source by id
281
281
  for (const item of mergedList) {
282
- const {
283
- id, type, empty
284
- } = item;
282
+ const { id } = item;
285
283
  const json = sourceCache.get(id);
286
284
  if (json) {
287
285
  item.source = json.source;
@@ -290,24 +288,6 @@ const mergeV8Coverage = async (dataList, sourceCache, options) => {
290
288
  Util.logError(`Not found source data: ${Util.relativePath(item.sourcePath)}`);
291
289
  item.source = '';
292
290
  }
293
-
294
- // add empty coverage after merged
295
- if (empty) {
296
- if (type === 'js') {
297
- item.functions = [{
298
- functionName: '',
299
- ranges: [{
300
- startOffset: 0,
301
- endOffset: item.source.length,
302
- count: 0
303
- }]
304
- }];
305
- } else {
306
- // empty css
307
- item.ranges = [];
308
- }
309
- }
310
-
311
291
  }
312
292
 
313
293
  return mergedList;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monocart-coverage-reports",
3
- "version": "2.10.4",
3
+ "version": "2.10.6",
4
4
  "description": "A code coverage tool to generate native V8 reports or Istanbul reports.",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {
@@ -101,12 +101,12 @@
101
101
  "minimatch": "^9.0.5",
102
102
  "monocart-code-viewer": "^1.1.4",
103
103
  "monocart-formatter": "^3.0.0",
104
- "postcss": "^8.4.45",
104
+ "postcss": "^8.4.47",
105
105
  "starfall-cli": "^2.0.20",
106
106
  "stylelint": "^16.9.0",
107
107
  "stylelint-config-plus": "^1.1.3",
108
108
  "supports-color": "^9.4.0",
109
- "tsx": "^4.19.0",
109
+ "tsx": "^4.19.1",
110
110
  "turbogrid": "^3.2.0",
111
111
  "vine-ui": "^3.1.16",
112
112
  "ws": "^8.18.0"