monocart-coverage-reports 2.7.4 → 2.7.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.
@@ -20,8 +20,8 @@ var oc=Object.create;var xi=Object.defineProperty;var uc=Object.getOwnPropertyDe
20
20
  `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(i,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let i;return e.walk(r=>{if(r.type!=="decl"&&(i=r.raws.between,typeof i<"u"))return!1}),i}rawBeforeRule(e){let i;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&typeof r.raws.before<"u")return i=r.raws.before,i.includes(`
21
21
  `)&&(i=i.replace(/[^\n]+$/,"")),!1}),i&&(i=i.replace(/\S/g,"")),i}rawColon(e){let i;return e.walkDecls(r=>{if(typeof r.raws.between<"u")return i=r.raws.between.replace(/[^\s:]/g,""),!1}),i}rawEmptyBody(e){let i;return e.walk(r=>{if(r.nodes&&r.nodes.length===0&&(i=r.raws.after,typeof i<"u"))return!1}),i}rawIndent(e){if(e.raws.indent)return e.raws.indent;let i;return e.walk(r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e&&typeof r.raws.before<"u"){let n=r.raws.before.split(`
22
22
  `);return i=n[n.length-1],i=i.replace(/\S/g,""),!1}}),i}rawSemicolon(e){let i;return e.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(i=r.raws.semicolon,typeof i<"u"))return!1}),i}rawValue(e,i){let r=e[i],s=e.raws[i];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,i){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,i)}};Ya.exports=Gt;Gt.default=Gt});var Xa=v((v0,Ja)=>{"use strict";var Hf=Wr();function $r(t,e){new Hf(e).stringify(t)}Ja.exports=$r;$r.default=$r});var Bi=v((_0,Za)=>{"use strict";var{isClean:Vi,my:zf}=Br(),Qf=Gr(),Kf=Wr(),Yf=Xa();function Hr(t,e){let i=new t.constructor;for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r)||r==="proxyCache")continue;let s=t[r],n=typeof s;r==="parent"&&n==="object"?e&&(i[r]=e):r==="source"?i[r]=s:Array.isArray(s)?i[r]=s.map(a=>Hr(a,i)):(n==="object"&&s!==null&&(s=Hr(s)),i[r]=s)}return i}var Wt=class{constructor(e={}){this.raws={},this[Vi]=!1,this[zf]=!0;for(let i in e)if(i==="nodes"){this.nodes=[];for(let r of e[i])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[i]=e[i]}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let i=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${i.input.from}:${i.start.line}:${i.start.column}$&`)}return e}after(e){return this.parent.insertAfter(this,e),this}assign(e={}){for(let i in e)this[i]=e[i];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 i=Hr(this);for(let r in e)i[r]=e[r];return i}cloneAfter(e={}){let i=this.clone(e);return this.parent.insertAfter(this,i),i}cloneBefore(e={}){let i=this.clone(e);return this.parent.insertBefore(this,i),i}error(e,i={}){if(this.source){let{end:r,start:s}=this.rangeBy(i);return this.source.input.error(e,{column:s.column,line:s.line},{column:r.column,line:r.line},i)}return new Qf(e)}getProxyProcessor(){return{get(e,i){return i==="proxyOf"?e:i==="root"?()=>e.root().toProxy():e[i]},set(e,i,r){return e[i]===r||(e[i]=r,(i==="prop"||i==="value"||i==="name"||i==="params"||i==="important"||i==="text")&&e.markDirty()),!0}}}markDirty(){if(this[Vi]){this[Vi]=!1;let e=this;for(;e=e.parent;)e[Vi]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e,i){let r=this.source.start;if(e.index)r=this.positionInside(e.index,i);else if(e.word){i=this.toString();let s=i.indexOf(e.word);s!==-1&&(r=this.positionInside(s,i))}return r}positionInside(e,i){let r=i||this.toString(),s=this.source.start.column,n=this.source.start.line;for(let a=0;a<e;a++)r[a]===`
23
- `?(s=1,n+=1):s+=1;return{column:s,line:n}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let i={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:i.column+1,line:i.line};if(e.word){let s=this.toString(),n=s.indexOf(e.word);n!==-1&&(i=this.positionInside(n,s),r=this.positionInside(n+e.word.length,s))}else e.start?i={column:e.start.column,line:e.start.line}:e.index&&(i=this.positionInside(e.index)),e.end?r={column:e.end.column,line:e.end.line}:e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<i.line||r.line===i.line&&r.column<=i.column)&&(r={column:i.column+1,line:i.line}),{end:r,start:i}}raw(e,i){return new Kf().raw(this,e,i)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let i=this,r=!1;for(let s of e)s===this?r=!0:r?(this.parent.insertAfter(i,s),i=s):this.parent.insertBefore(i,s);r||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,i){let r={},s=i==null;i=i||new Map;let n=0;for(let a in this){if(!Object.prototype.hasOwnProperty.call(this,a)||a==="parent"||a==="proxyCache")continue;let o=this[a];if(Array.isArray(o))r[a]=o.map(u=>typeof u=="object"&&u.toJSON?u.toJSON(null,i):u);else if(typeof o=="object"&&o.toJSON)r[a]=o.toJSON(null,i);else if(a==="source"){let u=i.get(o.input);u==null&&(u=n,i.set(o.input,n),n++),r[a]={end:o.end,inputId:u,start:o.start}}else r[a]=o}return s&&(r.inputs=[...i.keys()].map(a=>a.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=Yf){e.stringify&&(e=e.stringify);let i="";return e(this,r=>{i+=r}),i}warn(e,i,r){let s={node:this};for(let n in r)s[n]=r[n];return e.warn(i,s)}get proxyOf(){return this}};Za.exports=Wt;Wt.default=Wt});var zr=v((b0,eo)=>{"use strict";var Jf=Bi(),$t=class extends Jf{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]==="$"}};eo.exports=$t;$t.default=$t});var Qr=v((S0,to)=>{"use strict";var Xf=Bi(),Ht=class extends Xf{constructor(e){super(e),this.type="comment"}};to.exports=Ht;Ht.default=Ht});var zt=v((w0,lo)=>{"use strict";var{isClean:io,my:ro}=Br(),so=zr(),no=Qr(),Zf=Bi(),ao,Kr,Yr,oo;function uo(t){return t.map(e=>(e.nodes&&(e.nodes=uo(e.nodes)),delete e.source,e))}function ho(t){if(t[io]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)ho(e)}var we=class t extends Zf{append(...e){for(let i of e){let r=this.normalize(i,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 i of this.nodes)i.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let i=this.getIterator(),r,s;for(;this.indexes[i]<this.proxyOf.nodes.length&&(r=this.indexes[i],s=e(this.proxyOf.nodes[r],r),s!==!1);)this.indexes[i]+=1;return delete this.indexes[i],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,i){return i==="proxyOf"?e:e[i]?i==="each"||typeof i=="string"&&i.startsWith("walk")?(...r)=>e[i](...r.map(s=>typeof s=="function"?(n,a)=>s(n.toProxy(),a):s)):i==="every"||i==="some"?r=>e[i]((s,...n)=>r(s.toProxy(),...n)):i==="root"?()=>e.root().toProxy():i==="nodes"?e.nodes.map(r=>r.toProxy()):i==="first"||i==="last"?e[i].toProxy():e[i]:e[i]},set(e,i,r){return e[i]===r||(e[i]=r,(i==="name"||i==="params"||i==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,i){let r=this.index(e),s=this.normalize(i,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let a of s)this.proxyOf.nodes.splice(r+1,0,a);let n;for(let a in this.indexes)n=this.indexes[a],r<n&&(this.indexes[a]=n+s.length);return this.markDirty(),this}insertBefore(e,i){let r=this.index(e),s=r===0?"prepend":!1,n=this.normalize(i,this.proxyOf.nodes[r],s).reverse();r=this.index(e);for(let o of n)this.proxyOf.nodes.splice(r,0,o);let a;for(let o in this.indexes)a=this.indexes[o],r<=a&&(this.indexes[o]=a+n.length);return this.markDirty(),this}normalize(e,i){if(typeof e=="string")e=uo(ao(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 so(e)]}else if(e.selector)e=[new Kr(e)];else if(e.name)e=[new Yr(e)];else if(e.text)e=[new no(e)];else throw new Error("Unknown node type in node creation");return e.map(s=>(s[ro]||t.rebuild(s),s=s.proxyOf,s.parent&&s.parent.removeChild(s),s[io]&&ho(s),typeof s.raws.before>"u"&&i&&typeof i.raws.before<"u"&&(s.raws.before=i.raws.before.replace(/\S/g,"")),s.parent=this.proxyOf,s))}prepend(...e){e=e.reverse();for(let i of e){let r=this.normalize(i,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 i;for(let r in this.indexes)i=this.indexes[r],i>=e&&(this.indexes[r]=i-1);return this.markDirty(),this}replaceValues(e,i,r){return r||(r=i,i={}),this.walkDecls(s=>{i.props&&!i.props.includes(s.prop)||i.fast&&!s.value.includes(i.fast)||(s.value=s.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((i,r)=>{let s;try{s=e(i,r)}catch(n){throw i.addToError(n)}return s!==!1&&i.walk&&(s=i.walk(e)),s})}walkAtRules(e,i){return i?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="atrule"&&e.test(r.name))return i(r,s)}):this.walk((r,s)=>{if(r.type==="atrule"&&r.name===e)return i(r,s)}):(i=e,this.walk((r,s)=>{if(r.type==="atrule")return i(r,s)}))}walkComments(e){return this.walk((i,r)=>{if(i.type==="comment")return e(i,r)})}walkDecls(e,i){return i?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="decl"&&e.test(r.prop))return i(r,s)}):this.walk((r,s)=>{if(r.type==="decl"&&r.prop===e)return i(r,s)}):(i=e,this.walk((r,s)=>{if(r.type==="decl")return i(r,s)}))}walkRules(e,i){return i?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="rule"&&e.test(r.selector))return i(r,s)}):this.walk((r,s)=>{if(r.type==="rule"&&r.selector===e)return i(r,s)}):(i=e,this.walk((r,s)=>{if(r.type==="rule")return i(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]}};we.registerParse=t=>{ao=t};we.registerRule=t=>{Kr=t};we.registerAtRule=t=>{Yr=t};we.registerRoot=t=>{oo=t};lo.exports=we;we.default=we;we.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,Yr.prototype):t.type==="rule"?Object.setPrototypeOf(t,Kr.prototype):t.type==="decl"?Object.setPrototypeOf(t,so.prototype):t.type==="comment"?Object.setPrototypeOf(t,no.prototype):t.type==="root"&&Object.setPrototypeOf(t,oo.prototype),t[ro]=!0,t.nodes&&t.nodes.forEach(e=>{we.rebuild(e)})}});var po=v((C0,fo)=>{"use strict";var co=zt(),yt=class extends co{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};fo.exports=yt;yt.default=yt;co.registerAtRule(yt)});var vo=v((E0,yo)=>{"use strict";var mo=zt(),go,xo,ze=class extends mo{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,i,r){let s=super.normalize(e);if(i){if(r==="prepend")this.nodes.length>1?i.raws.before=this.nodes[1].raws.before:delete i.raws.before;else if(this.first!==i)for(let n of s)n.raws.before=i.raws.before}return s}removeChild(e,i){let r=this.index(e);return!i&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new go(new xo,this,e).stringify()}};ze.registerLazyResult=t=>{go=t};ze.registerProcessor=t=>{xo=t};yo.exports=ze;ze.default=ze;mo.registerRoot(ze)});var bo=v((k0,_o)=>{"use strict";var Qt={comma(t){return Qt.split(t,[","],!0)},space(t){let e=[" ",`
24
- `," "];return Qt.split(t,e)},split(t,e,i){let r=[],s="",n=!1,a=0,o=!1,u="",l=!1;for(let c of t)l?l=!1:c==="\\"?l=!0:o?c===u&&(o=!1):c==='"'||c==="'"?(o=!0,u=c):c==="("?a+=1:c===")"?a>0&&(a-=1):a===0&&e.includes(c)&&(n=!0),n?(s!==""&&r.push(s.trim()),s="",n=!1):s+=c;return(i||s!=="")&&r.push(s.trim()),r}};_o.exports=Qt;Qt.default=Qt});var Co=v((A0,wo)=>{"use strict";var So=zt(),ep=bo(),vt=class extends So{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return ep.comma(this.selector)}set selectors(e){let i=this.selector?this.selector.match(/,\s*/):null,r=i?i[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};wo.exports=vt;vt.default=vt;So.registerRule(vt)});var Oo=v((O0,Ao)=>{"use strict";var tp=zr(),ip=qr(),rp=Qr(),sp=po(),np=vo(),Eo=Co(),ko={empty:!0,space:!0};function ap(t){for(let e=t.length-1;e>=0;e--){let i=t[e],r=i[3]||i[2];if(r)return r}}var Jr=class{constructor(e){this.input=e,this.root=new np,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 i=new sp;i.name=e[1].slice(1),i.name===""&&this.unnamedAtrule(i,e),this.init(i,e[2]);let r,s,n,a=!1,o=!1,u=[],l=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r==="("||r==="["?l.push(r==="("?")":"]"):r==="{"&&l.length>0?l.push("}"):r===l[l.length-1]&&l.pop(),l.length===0)if(r===";"){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){o=!0;break}else if(r==="}"){if(u.length>0){for(n=u.length-1,s=u[n];s&&s[0]==="space";)s=u[--n];s&&(i.source.end=this.getPosition(s[3]||s[2]),i.source.end.offset++)}this.end(e);break}else u.push(e);else u.push(e);if(this.tokenizer.endOfFile()){a=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(u),u.length?(i.raws.afterName=this.spacesAndCommentsFromStart(u),this.raw(i,"params",u),a&&(e=u[u.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),o&&(i.nodes=[],this.current=i)}checkMissedSemicolon(e){let i=this.colon(e);if(i===!1)return;let r=0,s;for(let n=i-1;n>=0&&(s=e[n],!(s[0]!=="space"&&(r+=1,r===2)));n--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}colon(e){let i=0,r,s,n;for(let[a,o]of e.entries()){if(r=o,s=r[0],s==="("&&(i+=1),s===")"&&(i-=1),i===0&&s===":")if(!n)this.doubleColon(r);else{if(n[0]==="word"&&n[1]==="progid")continue;return a}n=r}return!1}comment(e){let i=new rp;this.init(i,e[2]),i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))i.text="",i.raws.left=r,i.raws.right="";else{let s=r.match(/^(\s*)([^]*\S)(\s*)$/);i.text=s[2],i.raws.left=s[1],i.raws.right=s[3]}}createTokenizer(){this.tokenizer=ip(this.input)}decl(e,i){let r=new tp;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]||ap(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 l=e[0][0];if(l===":"||l==="space"||l==="comment")break;r.prop+=e.shift()[1]}r.raws.between="";let n;for(;e.length;)if(n=e.shift(),n[0]===":"){r.raws.between+=n[1];break}else n[0]==="word"&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let a=[],o;for(;e.length&&(o=e[0][0],!(o!=="space"&&o!=="comment"));)a.push(e.shift());this.precheckMissedSemicolon(e);for(let l=e.length-1;l>=0;l--){if(n=e[l],n[1].toLowerCase()==="!important"){r.important=!0;let c=this.stringFrom(e,l);c=this.spacesFromEnd(e)+c,c!==" !important"&&(r.raws.important=c);break}else if(n[1].toLowerCase()==="important"){let c=e.slice(0),f="";for(let p=l;p>0;p--){let d=c[p][0];if(f.trim().indexOf("!")===0&&d!=="space")break;f=c.pop()[1]+f}f.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=f,e=c)}if(n[0]!=="space"&&n[0]!=="comment")break}e.some(l=>l[0]!=="space"&&l[0]!=="comment")&&(r.raws.between+=a.map(l=>l[1]).join(""),a=[]),this.raw(r,"value",a.concat(e),i),r.value.includes(":")&&!i&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let i=new Eo;this.init(i,e[2]),i.selector="",i.raws.between="",this.current=i}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 i=this.current.nodes[this.current.nodes.length-1];i&&i.type==="rule"&&!i.raws.ownSemicolon&&(i.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let i=this.input.fromOffset(e);return{column:i.col,line:i.line,offset:e}}init(e,i){this.current.push(e),e.source={input:this.input,start:this.getPosition(i)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let i=!1,r=null,s=!1,n=null,a=[],o=e[1].startsWith("--"),u=[],l=e;for(;l;){if(r=l[0],u.push(l),r==="("||r==="[")n||(n=l),a.push(r==="("?")":"]");else if(o&&s&&r==="{")n||(n=l),a.push("}");else if(a.length===0)if(r===";")if(s){this.decl(u,o);return}else break;else if(r==="{"){this.rule(u);return}else if(r==="}"){this.tokenizer.back(u.pop()),i=!0;break}else r===":"&&(s=!0);else r===a[a.length-1]&&(a.pop(),a.length===0&&(n=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(i=!0),a.length>0&&this.unclosedBracket(n),i&&s){if(!o)for(;u.length&&(l=u[u.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(u.pop());this.decl(u,o)}else this.unknownWord(u)}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,i,r,s){let n,a,o=r.length,u="",l=!0,c,f;for(let p=0;p<o;p+=1)n=r[p],a=n[0],a==="space"&&p===o-1&&!s?l=!1:a==="comment"?(f=r[p-1]?r[p-1][0]:"empty",c=r[p+1]?r[p+1][0]:"empty",!ko[f]&&!ko[c]?u.slice(-1)===","?l=!1:u+=n[1]:l=!1):u+=n[1];if(!l){let p=r.reduce((d,m)=>d+m[1],"");e.raws[i]={raw:p,value:u}}e[i]=u}rule(e){e.pop();let i=new Eo;this.init(i,e[0][2]),i.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(i,"selector",e),this.current=i}spacesAndCommentsFromEnd(e){let i,r="";for(;e.length&&(i=e[e.length-1][0],!(i!=="space"&&i!=="comment"));)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let i,r="";for(;e.length&&(i=e[0][0],!(i!=="space"&&i!=="comment"));)r+=e.shift()[1];return r}spacesFromEnd(e){let i,r="";for(;e.length&&(i=e[e.length-1][0],i==="space");)r=e.pop()[1]+r;return r}stringFrom(e,i){let r="";for(let s=i;s<e.length;s++)r+=e[s][1];return e.splice(i,e.length-i),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,i){throw this.input.error("At-rule without name",{offset:i[2]},{offset:i[2]+i[1].length})}};Ao.exports=Jr});var Po=v(Xr=>{var No="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Xr.encode=function(t){if(0<=t&&t<No.length)return No[t];throw new TypeError("Must be between 0 and 63: "+t)};Xr.decode=function(t){var e=65,i=90,r=97,s=122,n=48,a=57,o=43,u=47,l=26,c=52;return e<=t&&t<=i?t-e:r<=t&&t<=s?t-r+l:n<=t&&t<=a?t-n+c:t==o?62:t==u?63:-1}});var ts=v(es=>{var Io=Po(),Zr=5,Lo=1<<Zr,To=Lo-1,Ro=Lo;function op(t){return t<0?(-t<<1)+1:(t<<1)+0}function up(t){var e=(t&1)===1,i=t>>1;return e?-i:i}es.encode=function(e){var i="",r,s=op(e);do r=s&To,s>>>=Zr,s>0&&(r|=Ro),i+=Io.encode(r);while(s>0);return i};es.decode=function(e,i,r){var s=e.length,n=0,a=0,o,u;do{if(i>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(u=Io.decode(e.charCodeAt(i++)),u===-1)throw new Error("Invalid base64 digit: "+e.charAt(i-1));o=!!(u&Ro),u&=To,n=n+(u<<a),a+=Zr}while(o);r.value=up(n),r.rest=i}});var bt=v(z=>{function hp(t,e,i){if(e in t)return t[e];if(arguments.length===3)return i;throw new Error('"'+e+'" is a required argument.')}z.getArg=hp;var Mo=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,lp=/^data:.+\,.+$/;function Kt(t){var e=t.match(Mo);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}z.urlParse=Kt;function _t(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}z.urlGenerate=_t;var cp=32;function fp(t){var e=[];return function(i){for(var r=0;r<e.length;r++)if(e[r].input===i){var s=e[0];return e[0]=e[r],e[r]=s,e[0].result}var n=t(i);return e.unshift({input:i,result:n}),e.length>cp&&e.pop(),n}}var is=fp(function(e){var i=e,r=Kt(e);if(r){if(!r.path)return e;i=r.path}for(var s=z.isAbsolute(i),n=[],a=0,o=0;;)if(a=o,o=i.indexOf("/",a),o===-1){n.push(i.slice(a));break}else for(n.push(i.slice(a,o));o<i.length&&i[o]==="/";)o++;for(var u,l=0,o=n.length-1;o>=0;o--)u=n[o],u==="."?n.splice(o,1):u===".."?l++:l>0&&(u===""?(n.splice(o+1,l),l=0):(n.splice(o,2),l--));return i=n.join("/"),i===""&&(i=s?"/":"."),r?(r.path=i,_t(r)):i});z.normalize=is;function Fo(t,e){t===""&&(t="."),e===""&&(e=".");var i=Kt(e),r=Kt(t);if(r&&(t=r.path||"/"),i&&!i.scheme)return r&&(i.scheme=r.scheme),_t(i);if(i||e.match(lp))return e;if(r&&!r.host&&!r.path)return r.host=e,_t(r);var s=e.charAt(0)==="/"?e:is(t.replace(/\/+$/,"")+"/"+e);return r?(r.path=s,_t(r)):s}z.join=Fo;z.isAbsolute=function(t){return t.charAt(0)==="/"||Mo.test(t)};function pp(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var i=0;e.indexOf(t+"/")!==0;){var r=t.lastIndexOf("/");if(r<0||(t=t.slice(0,r),t.match(/^([^\/]+:\/)?\/*$/)))return e;++i}return Array(i+1).join("../")+e.substr(t.length+1)}z.relative=pp;var Vo=function(){var t=Object.create(null);return!("__proto__"in t)}();function Bo(t){return t}function dp(t){return Do(t)?"$"+t:t}z.toSetString=Vo?Bo:dp;function mp(t){return Do(t)?t.slice(1):t}z.fromSetString=Vo?Bo:mp;function Do(t){if(!t)return!1;var e=t.length;if(e<9||t.charCodeAt(e-1)!==95||t.charCodeAt(e-2)!==95||t.charCodeAt(e-3)!==111||t.charCodeAt(e-4)!==116||t.charCodeAt(e-5)!==111||t.charCodeAt(e-6)!==114||t.charCodeAt(e-7)!==112||t.charCodeAt(e-8)!==95||t.charCodeAt(e-9)!==95)return!1;for(var i=e-10;i>=0;i--)if(t.charCodeAt(i)!==36)return!1;return!0}function gp(t,e,i){var r=Me(t.source,e.source);return r!==0||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0||i)||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=t.generatedLine-e.generatedLine,r!==0)?r:Me(t.name,e.name)}z.compareByOriginalPositions=gp;function xp(t,e,i){var r;return r=t.originalLine-e.originalLine,r!==0||(r=t.originalColumn-e.originalColumn,r!==0||i)||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=t.generatedLine-e.generatedLine,r!==0)?r:Me(t.name,e.name)}z.compareByOriginalPositionsNoSource=xp;function yp(t,e,i){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0||i)||(r=Me(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:Me(t.name,e.name)}z.compareByGeneratedPositionsDeflated=yp;function vp(t,e,i){var r=t.generatedColumn-e.generatedColumn;return r!==0||i||(r=Me(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:Me(t.name,e.name)}z.compareByGeneratedPositionsDeflatedNoLine=vp;function Me(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function _p(t,e){var i=t.generatedLine-e.generatedLine;return i!==0||(i=t.generatedColumn-e.generatedColumn,i!==0)||(i=Me(t.source,e.source),i!==0)||(i=t.originalLine-e.originalLine,i!==0)||(i=t.originalColumn-e.originalColumn,i!==0)?i:Me(t.name,e.name)}z.compareByGeneratedPositionsInflated=_p;function bp(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}z.parseSourceMapInput=bp;function Sp(t,e,i){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),i){var r=Kt(i);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=Fo(_t(r),e)}return is(e)}z.computeSourceURL=Sp});var ns=v(Uo=>{var rs=bt(),ss=Object.prototype.hasOwnProperty,rt=typeof Map<"u";function Fe(){this._array=[],this._set=rt?new Map:Object.create(null)}Fe.fromArray=function(e,i){for(var r=new Fe,s=0,n=e.length;s<n;s++)r.add(e[s],i);return r};Fe.prototype.size=function(){return rt?this._set.size:Object.getOwnPropertyNames(this._set).length};Fe.prototype.add=function(e,i){var r=rt?e:rs.toSetString(e),s=rt?this.has(e):ss.call(this._set,r),n=this._array.length;(!s||i)&&this._array.push(e),s||(rt?this._set.set(e,n):this._set[r]=n)};Fe.prototype.has=function(e){if(rt)return this._set.has(e);var i=rs.toSetString(e);return ss.call(this._set,i)};Fe.prototype.indexOf=function(e){if(rt){var i=this._set.get(e);if(i>=0)return i}else{var r=rs.toSetString(e);if(ss.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')};Fe.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};Fe.prototype.toArray=function(){return this._array.slice()};Uo.ArraySet=Fe});var Go=v(jo=>{var qo=bt();function wp(t,e){var i=t.generatedLine,r=e.generatedLine,s=t.generatedColumn,n=e.generatedColumn;return r>i||r==i&&n>=s||qo.compareByGeneratedPositionsInflated(t,e)<=0}function Di(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Di.prototype.unsortedForEach=function(e,i){this._array.forEach(e,i)};Di.prototype.add=function(e){wp(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};Di.prototype.toArray=function(){return this._sorted||(this._array.sort(qo.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};jo.MappingList=Di});var as=v(Wo=>{var Yt=ts(),W=bt(),Ui=ns().ArraySet,Cp=Go().MappingList;function ge(t){t||(t={}),this._file=W.getArg(t,"file",null),this._sourceRoot=W.getArg(t,"sourceRoot",null),this._skipValidation=W.getArg(t,"skipValidation",!1),this._ignoreInvalidMapping=W.getArg(t,"ignoreInvalidMapping",!1),this._sources=new Ui,this._names=new Ui,this._mappings=new Cp,this._sourcesContents=null}ge.prototype._version=3;ge.fromSourceMap=function(e){var i=e.sourceRoot,r=new ge({file:e.file,sourceRoot:i});return e.eachMapping(function(s){var n={generated:{line:s.generatedLine,column:s.generatedColumn}};s.source!=null&&(n.source=s.source,i!=null&&(n.source=W.relative(i,n.source)),n.original={line:s.originalLine,column:s.originalColumn},s.name!=null&&(n.name=s.name)),r.addMapping(n)}),e.sources.forEach(function(s){var n=s;i!==null&&(n=W.relative(i,s)),r._sources.has(n)||r._sources.add(n);var a=e.sourceContentFor(s);a!=null&&r.setSourceContent(s,a)}),r};ge.prototype.addMapping=function(e){var i=W.getArg(e,"generated"),r=W.getArg(e,"original",null),s=W.getArg(e,"source",null),n=W.getArg(e,"name",null);!this._skipValidation&&this._validateMapping(i,r,s,n)===!1||(s!=null&&(s=String(s),this._sources.has(s)||this._sources.add(s)),n!=null&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:i.line,generatedColumn:i.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:s,name:n}))};ge.prototype.setSourceContent=function(e,i){var r=e;this._sourceRoot!=null&&(r=W.relative(this._sourceRoot,r)),i!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[W.toSetString(r)]=i):this._sourcesContents&&(delete this._sourcesContents[W.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};ge.prototype.applySourceMap=function(e,i,r){var s=i;if(i==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 n=this._sourceRoot;n!=null&&(s=W.relative(n,s));var a=new Ui,o=new Ui;this._mappings.unsortedForEach(function(u){if(u.source===s&&u.originalLine!=null){var l=e.originalPositionFor({line:u.originalLine,column:u.originalColumn});l.source!=null&&(u.source=l.source,r!=null&&(u.source=W.join(r,u.source)),n!=null&&(u.source=W.relative(n,u.source)),u.originalLine=l.line,u.originalColumn=l.column,l.name!=null&&(u.name=l.name))}var c=u.source;c!=null&&!a.has(c)&&a.add(c);var f=u.name;f!=null&&!o.has(f)&&o.add(f)},this),this._sources=a,this._names=o,e.sources.forEach(function(u){var l=e.sourceContentFor(u);l!=null&&(r!=null&&(u=W.join(r,u)),n!=null&&(u=W.relative(n,u)),this.setSourceContent(u,l))},this)};ge.prototype._validateMapping=function(e,i,r,s){if(i&&typeof i.line!="number"&&typeof i.column!="number"){var n="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(n),!1;throw new Error(n)}if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!i&&!r&&!s)){if(e&&"line"in e&&"column"in e&&i&&"line"in i&&"column"in i&&e.line>0&&e.column>=0&&i.line>0&&i.column>=0&&r)return;var n="Invalid mapping: "+JSON.stringify({generated:e,source:r,original:i,name:s});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(n),!1;throw new Error(n)}};ge.prototype._serializeMappings=function(){for(var e=0,i=1,r=0,s=0,n=0,a=0,o="",u,l,c,f,p=this._mappings.toArray(),d=0,m=p.length;d<m;d++){if(l=p[d],u="",l.generatedLine!==i)for(e=0;l.generatedLine!==i;)u+=";",i++;else if(d>0){if(!W.compareByGeneratedPositionsInflated(l,p[d-1]))continue;u+=","}u+=Yt.encode(l.generatedColumn-e),e=l.generatedColumn,l.source!=null&&(f=this._sources.indexOf(l.source),u+=Yt.encode(f-a),a=f,u+=Yt.encode(l.originalLine-1-s),s=l.originalLine-1,u+=Yt.encode(l.originalColumn-r),r=l.originalColumn,l.name!=null&&(c=this._names.indexOf(l.name),u+=Yt.encode(c-n),n=c)),o+=u}return o};ge.prototype._generateSourcesContent=function(e,i){return e.map(function(r){if(!this._sourcesContents)return null;i!=null&&(r=W.relative(i,r));var s=W.toSetString(r);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)};ge.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};ge.prototype.toString=function(){return JSON.stringify(this.toJSON())};Wo.SourceMapGenerator=ge});var $o=v(st=>{st.GREATEST_LOWER_BOUND=1;st.LEAST_UPPER_BOUND=2;function os(t,e,i,r,s,n){var a=Math.floor((e-t)/2)+t,o=s(i,r[a],!0);return o===0?a:o>0?e-a>1?os(a,e,i,r,s,n):n==st.LEAST_UPPER_BOUND?e<r.length?e:-1:a:a-t>1?os(t,a,i,r,s,n):n==st.LEAST_UPPER_BOUND?a:t<0?-1:t}st.search=function(e,i,r,s){if(i.length===0)return-1;var n=os(-1,i.length,e,i,r,s||st.GREATEST_LOWER_BOUND);if(n<0)return-1;for(;n-1>=0&&r(i[n],i[n-1],!0)===0;)--n;return n}});var Qo=v(zo=>{function Ep(t){function e(s,n,a){var o=s[n];s[n]=s[a],s[a]=o}function i(s,n){return Math.round(s+Math.random()*(n-s))}function r(s,n,a,o){if(a<o){var u=i(a,o),l=a-1;e(s,u,o);for(var c=s[o],f=a;f<o;f++)n(s[f],c,!1)<=0&&(l+=1,e(s,l,f));e(s,l+1,f);var p=l+1;r(s,n,a,p-1),r(s,n,p+1,o)}}return r}function kp(t){let e=Ep.toString();return new Function(`return ${e}`)()(t)}var Ho=new WeakMap;zo.quickSort=function(t,e,i=0){let r=Ho.get(e);r===void 0&&(r=kp(e),Ho.set(e,r)),r(t,e,i,t.length-1)}});var Jo=v(qi=>{var b=bt(),hs=$o(),St=ns().ArraySet,Ap=ts(),Jt=Qo().quickSort;function V(t,e){var i=t;return typeof t=="string"&&(i=b.parseSourceMapInput(t)),i.sections!=null?new Ce(i,e):new Y(i,e)}V.fromSourceMap=function(t,e){return Y.fromSourceMap(t,e)};V.prototype._version=3;V.prototype.__generatedMappings=null;Object.defineProperty(V.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});V.prototype.__originalMappings=null;Object.defineProperty(V.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});V.prototype._charIsMappingSeparator=function(e,i){var r=e.charAt(i);return r===";"||r===","};V.prototype._parseMappings=function(e,i){throw new Error("Subclasses must implement _parseMappings")};V.GENERATED_ORDER=1;V.ORIGINAL_ORDER=2;V.GREATEST_LOWER_BOUND=1;V.LEAST_UPPER_BOUND=2;V.prototype.eachMapping=function(e,i,r){var s=i||null,n=r||V.GENERATED_ORDER,a;switch(n){case V.GENERATED_ORDER:a=this._generatedMappings;break;case V.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var o=this.sourceRoot,u=e.bind(s),l=this._names,c=this._sources,f=this._sourceMapURL,p=0,d=a.length;p<d;p++){var m=a[p],g=m.source===null?null:c.at(m.source);g=b.computeSourceURL(o,g,f),u({source:g,generatedLine:m.generatedLine,generatedColumn:m.generatedColumn,originalLine:m.originalLine,originalColumn:m.originalColumn,name:m.name===null?null:l.at(m.name)})}};V.prototype.allGeneratedPositionsFor=function(e){var i=b.getArg(e,"line"),r={source:b.getArg(e,"source"),originalLine:i,originalColumn:b.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var s=[],n=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",b.compareByOriginalPositions,hs.LEAST_UPPER_BOUND);if(n>=0){var a=this._originalMappings[n];if(e.column===void 0)for(var o=a.originalLine;a&&a.originalLine===o;)s.push({line:b.getArg(a,"generatedLine",null),column:b.getArg(a,"generatedColumn",null),lastColumn:b.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n];else for(var u=a.originalColumn;a&&a.originalLine===i&&a.originalColumn==u;)s.push({line:b.getArg(a,"generatedLine",null),column:b.getArg(a,"generatedColumn",null),lastColumn:b.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n]}return s};qi.SourceMapConsumer=V;function Y(t,e){var i=t;typeof t=="string"&&(i=b.parseSourceMapInput(t));var r=b.getArg(i,"version"),s=b.getArg(i,"sources"),n=b.getArg(i,"names",[]),a=b.getArg(i,"sourceRoot",null),o=b.getArg(i,"sourcesContent",null),u=b.getArg(i,"mappings"),l=b.getArg(i,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);a&&(a=b.normalize(a)),s=s.map(String).map(b.normalize).map(function(c){return a&&b.isAbsolute(a)&&b.isAbsolute(c)?b.relative(a,c):c}),this._names=St.fromArray(n.map(String),!0),this._sources=St.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map(function(c){return b.computeSourceURL(a,c,e)}),this.sourceRoot=a,this.sourcesContent=o,this._mappings=u,this._sourceMapURL=e,this.file=l}Y.prototype=Object.create(V.prototype);Y.prototype.consumer=V;Y.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=b.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var i;for(i=0;i<this._absoluteSources.length;++i)if(this._absoluteSources[i]==t)return i;return-1};Y.fromSourceMap=function(e,i){var r=Object.create(Y.prototype),s=r._names=St.fromArray(e._names.toArray(),!0),n=r._sources=St.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=i,r._absoluteSources=r._sources.toArray().map(function(d){return b.computeSourceURL(r.sourceRoot,d,i)});for(var a=e._mappings.toArray().slice(),o=r.__generatedMappings=[],u=r.__originalMappings=[],l=0,c=a.length;l<c;l++){var f=a[l],p=new Yo;p.generatedLine=f.generatedLine,p.generatedColumn=f.generatedColumn,f.source&&(p.source=n.indexOf(f.source),p.originalLine=f.originalLine,p.originalColumn=f.originalColumn,f.name&&(p.name=s.indexOf(f.name)),u.push(p)),o.push(p)}return Jt(r.__originalMappings,b.compareByOriginalPositions),r};Y.prototype._version=3;Object.defineProperty(Y.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Yo(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var us=b.compareByGeneratedPositionsDeflatedNoLine;function Ko(t,e){let i=t.length,r=t.length-e;if(!(r<=1))if(r==2){let s=t[e],n=t[e+1];us(s,n)>0&&(t[e]=n,t[e+1]=s)}else if(r<20)for(let s=e;s<i;s++)for(let n=s;n>e;n--){let a=t[n-1],o=t[n];if(us(a,o)<=0)break;t[n-1]=o,t[n]=a}else Jt(t,us,e)}Y.prototype._parseMappings=function(e,i){var r=1,s=0,n=0,a=0,o=0,u=0,l=e.length,c=0,f={},p={},d=[],m=[],g,x,S,C,A;let k=0;for(;c<l;)if(e.charAt(c)===";")r++,c++,s=0,Ko(m,k),k=m.length;else if(e.charAt(c)===",")c++;else{for(g=new Yo,g.generatedLine=r,C=c;C<l&&!this._charIsMappingSeparator(e,C);C++);for(x=e.slice(c,C),S=[];c<C;)Ap.decode(e,c,p),A=p.value,c=p.rest,S.push(A);if(S.length===2)throw new Error("Found a source, but no line and column");if(S.length===3)throw new Error("Found a source and line, but no column");if(g.generatedColumn=s+S[0],s=g.generatedColumn,S.length>1&&(g.source=o+S[1],o+=S[1],g.originalLine=n+S[2],n=g.originalLine,g.originalLine+=1,g.originalColumn=a+S[3],a=g.originalColumn,S.length>4&&(g.name=u+S[4],u+=S[4])),m.push(g),typeof g.originalLine=="number"){let O=g.source;for(;d.length<=O;)d.push(null);d[O]===null&&(d[O]=[]),d[O].push(g)}}Ko(m,k),this.__generatedMappings=m;for(var R=0;R<d.length;R++)d[R]!=null&&Jt(d[R],b.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...d)};Y.prototype._findMapping=function(e,i,r,s,n,a){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 hs.search(e,i,n,a)};Y.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var i=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(i.generatedLine===r.generatedLine){i.lastGeneratedColumn=r.generatedColumn-1;continue}}i.lastGeneratedColumn=1/0}};Y.prototype.originalPositionFor=function(e){var i={generatedLine:b.getArg(e,"line"),generatedColumn:b.getArg(e,"column")},r=this._findMapping(i,this._generatedMappings,"generatedLine","generatedColumn",b.compareByGeneratedPositionsDeflated,b.getArg(e,"bias",V.GREATEST_LOWER_BOUND));if(r>=0){var s=this._generatedMappings[r];if(s.generatedLine===i.generatedLine){var n=b.getArg(s,"source",null);n!==null&&(n=this._sources.at(n),n=b.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var a=b.getArg(s,"name",null);return a!==null&&(a=this._names.at(a)),{source:n,line:b.getArg(s,"originalLine",null),column:b.getArg(s,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};Y.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};Y.prototype.sourceContentFor=function(e,i){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var s=e;this.sourceRoot!=null&&(s=b.relative(this.sourceRoot,s));var n;if(this.sourceRoot!=null&&(n=b.urlParse(this.sourceRoot))){var a=s.replace(/^file:\/\//,"");if(n.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!n.path||n.path=="/")&&this._sources.has("/"+s))return this.sourcesContent[this._sources.indexOf("/"+s)]}if(i)return null;throw new Error('"'+s+'" is not in the SourceMap.')};Y.prototype.generatedPositionFor=function(e){var i=b.getArg(e,"source");if(i=this._findSourceIndex(i),i<0)return{line:null,column:null,lastColumn:null};var r={source:i,originalLine:b.getArg(e,"line"),originalColumn:b.getArg(e,"column")},s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",b.compareByOriginalPositions,b.getArg(e,"bias",V.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===r.source)return{line:b.getArg(n,"generatedLine",null),column:b.getArg(n,"generatedColumn",null),lastColumn:b.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};qi.BasicSourceMapConsumer=Y;function Ce(t,e){var i=t;typeof t=="string"&&(i=b.parseSourceMapInput(t));var r=b.getArg(i,"version"),s=b.getArg(i,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new St,this._names=new St;var n={line:-1,column:0};this._sections=s.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var o=b.getArg(a,"offset"),u=b.getArg(o,"line"),l=b.getArg(o,"column");if(u<n.line||u===n.line&&l<n.column)throw new Error("Section offsets must be ordered and non-overlapping.");return n=o,{generatedOffset:{generatedLine:u+1,generatedColumn:l+1},consumer:new V(b.getArg(a,"map"),e)}})}Ce.prototype=Object.create(V.prototype);Ce.prototype.constructor=V;Ce.prototype._version=3;Object.defineProperty(Ce.prototype,"sources",{get:function(){for(var t=[],e=0;e<this._sections.length;e++)for(var i=0;i<this._sections[e].consumer.sources.length;i++)t.push(this._sections[e].consumer.sources[i]);return t}});Ce.prototype.originalPositionFor=function(e){var i={generatedLine:b.getArg(e,"line"),generatedColumn:b.getArg(e,"column")},r=hs.search(i,this._sections,function(n,a){var o=n.generatedLine-a.generatedOffset.generatedLine;return o||n.generatedColumn-a.generatedOffset.generatedColumn}),s=this._sections[r];return s?s.consumer.originalPositionFor({line:i.generatedLine-(s.generatedOffset.generatedLine-1),column:i.generatedColumn-(s.generatedOffset.generatedLine===i.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};Ce.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};Ce.prototype.sourceContentFor=function(e,i){for(var r=0;r<this._sections.length;r++){var s=this._sections[r],n=s.consumer.sourceContentFor(e,!0);if(n||n==="")return n}if(i)return null;throw new Error('"'+e+'" is not in the SourceMap.')};Ce.prototype.generatedPositionFor=function(e){for(var i=0;i<this._sections.length;i++){var r=this._sections[i];if(r.consumer._findSourceIndex(b.getArg(e,"source"))!==-1){var s=r.consumer.generatedPositionFor(e);if(s){var n={line:s.line+(r.generatedOffset.generatedLine-1),column:s.column+(r.generatedOffset.generatedLine===s.line?r.generatedOffset.generatedColumn-1:0)};return n}}}return{line:null,column:null}};Ce.prototype._parseMappings=function(e,i){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var s=this._sections[r],n=s.consumer._generatedMappings,a=0;a<n.length;a++){var o=n[a],u=s.consumer._sources.at(o.source);u=b.computeSourceURL(s.consumer.sourceRoot,u,this._sourceMapURL),this._sources.add(u),u=this._sources.indexOf(u);var l=null;o.name&&(l=s.consumer._names.at(o.name),this._names.add(l),l=this._names.indexOf(l));var c={source:u,generatedLine:o.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(s.generatedOffset.generatedLine===o.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:l};this.__generatedMappings.push(c),typeof c.originalLine=="number"&&this.__originalMappings.push(c)}Jt(this.__generatedMappings,b.compareByGeneratedPositionsDeflated),Jt(this.__originalMappings,b.compareByOriginalPositions)};qi.IndexedSourceMapConsumer=Ce});var Zo=v(Xo=>{var Op=as().SourceMapGenerator,ji=bt(),Np=/(\r?\n)/,Pp=10,wt="$$$isSourceNode$$$";function oe(t,e,i,r,s){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=i??null,this.name=s??null,this[wt]=!0,r!=null&&this.add(r)}oe.fromStringWithSourceMap=function(e,i,r){var s=new oe,n=e.split(Np),a=0,o=function(){var p=m(),d=m()||"";return p+d;function m(){return a<n.length?n[a++]:void 0}},u=1,l=0,c=null;return i.eachMapping(function(p){if(c!==null)if(u<p.generatedLine)f(c,o()),u++,l=0;else{var d=n[a]||"",m=d.substr(0,p.generatedColumn-l);n[a]=d.substr(p.generatedColumn-l),l=p.generatedColumn,f(c,m),c=p;return}for(;u<p.generatedLine;)s.add(o()),u++;if(l<p.generatedColumn){var d=n[a]||"";s.add(d.substr(0,p.generatedColumn)),n[a]=d.substr(p.generatedColumn),l=p.generatedColumn}c=p},this),a<n.length&&(c&&f(c,o()),s.add(n.splice(a).join(""))),i.sources.forEach(function(p){var d=i.sourceContentFor(p);d!=null&&(r!=null&&(p=ji.join(r,p)),s.setSourceContent(p,d))}),s;function f(p,d){if(p===null||p.source===void 0)s.add(d);else{var m=r?ji.join(r,p.source):p.source;s.add(new oe(p.originalLine,p.originalColumn,m,d,p.name))}}};oe.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(i){this.add(i)},this);else if(e[wt]||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};oe.prototype.prepend=function(e){if(Array.isArray(e))for(var i=e.length-1;i>=0;i--)this.prepend(e[i]);else if(e[wt]||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};oe.prototype.walk=function(e){for(var i,r=0,s=this.children.length;r<s;r++)i=this.children[r],i[wt]?i.walk(e):i!==""&&e(i,{source:this.source,line:this.line,column:this.column,name:this.name})};oe.prototype.join=function(e){var i,r,s=this.children.length;if(s>0){for(i=[],r=0;r<s-1;r++)i.push(this.children[r]),i.push(e);i.push(this.children[r]),this.children=i}return this};oe.prototype.replaceRight=function(e,i){var r=this.children[this.children.length-1];return r[wt]?r.replaceRight(e,i):typeof r=="string"?this.children[this.children.length-1]=r.replace(e,i):this.children.push("".replace(e,i)),this};oe.prototype.setSourceContent=function(e,i){this.sourceContents[ji.toSetString(e)]=i};oe.prototype.walkSourceContents=function(e){for(var i=0,r=this.children.length;i<r;i++)this.children[i][wt]&&this.children[i].walkSourceContents(e);for(var s=Object.keys(this.sourceContents),i=0,r=s.length;i<r;i++)e(ji.fromSetString(s[i]),this.sourceContents[s[i]])};oe.prototype.toString=function(){var e="";return this.walk(function(i){e+=i}),e};oe.prototype.toStringWithSourceMap=function(e){var i={code:"",line:1,column:0},r=new Op(e),s=!1,n=null,a=null,o=null,u=null;return this.walk(function(l,c){i.code+=l,c.source!==null&&c.line!==null&&c.column!==null?((n!==c.source||a!==c.line||o!==c.column||u!==c.name)&&r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:i.line,column:i.column},name:c.name}),n=c.source,a=c.line,o=c.column,u=c.name,s=!0):s&&(r.addMapping({generated:{line:i.line,column:i.column}}),n=null,s=!1);for(var f=0,p=l.length;f<p;f++)l.charCodeAt(f)===Pp?(i.line++,i.column=0,f+1===p?(n=null,s=!1):s&&r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:i.line,column:i.column},name:c.name})):i.column++}),this.walkSourceContents(function(l,c){r.setSourceContent(l,c)}),{code:i.code,map:r}};Xo.SourceNode=oe});var ls=v(Gi=>{Gi.SourceMapGenerator=as().SourceMapGenerator;Gi.SourceMapConsumer=Jo().SourceMapConsumer;Gi.SourceNode=Zo().SourceNode});var tu=v((U0,eu)=>{var Ip="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Lp=(t,e=21)=>(i=e)=>{let r="",s=i;for(;s--;)r+=t[Math.random()*t.length|0];return r},Tp=(t=21)=>{let e="",i=t;for(;i--;)e+=Ip[Math.random()*64|0];return e};eu.exports={nanoid:Tp,customAlphabet:Lp}});var nu=v((q0,su)=>{"use strict";var{SourceMapConsumer:iu,SourceMapGenerator:ru}=ls(),{existsSync:Rp,readFileSync:Mp}=require("fs"),{dirname:cs,join:Fp}=require("path");function Vp(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}var Xt=class{constructor(e,i){if(i.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=i.map?i.map.prev:void 0,s=this.loadMap(i.from,r);!this.mapFile&&i.from&&(this.mapFile=i.from),this.mapFile&&(this.root=cs(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new iu(this.text)),this.consumerCache}decodeInline(e){let i=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,s=/^data:application\/json;charset=utf-?8,/,n=/^data:application\/json,/;if(s.test(e)||n.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(i.test(e)||r.test(e))return Vp(e.substr(RegExp.lastMatch.length));let a=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+a)}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 i=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!i)return;let r=e.lastIndexOf(i.pop()),s=e.indexOf("*/",r);r>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,s)))}loadFile(e){if(this.root=cs(e),Rp(e))return this.mapFile=e,Mp(e,"utf-8").toString().trim()}loadMap(e,i){if(i===!1)return!1;if(i){if(typeof i=="string")return i;if(typeof i=="function"){let r=i(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(i instanceof iu)return ru.fromSourceMap(i).toString();if(i instanceof ru)return i.toString();if(this.isMap(i))return JSON.stringify(i);throw new Error("Unsupported previous source map format: "+i.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return e&&(r=Fp(cs(e),r)),this.loadFile(r)}}}startWith(e,i){return e?e.substr(0,i.length)===i:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};su.exports=Xt;Xt.default=Xt});var lu=v((j0,hu)=>{"use strict";var{SourceMapConsumer:Bp,SourceMapGenerator:Dp}=ls(),{fileURLToPath:au,pathToFileURL:Wi}=require("url"),{isAbsolute:ds,resolve:ms}=require("path"),{nanoid:Up}=tu(),fs=jr(),ou=Gr(),qp=nu(),ps=Symbol("fromOffsetCache"),jp=!!(Bp&&Dp),uu=!!(ms&&ds),Ct=class{constructor(e,i={}){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,i.from&&(!uu||/^\w+:\/\//.test(i.from)||ds(i.from)?this.file=i.from:this.file=ms(i.from)),uu&&jp){let r=new qp(this.css,i);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 "+Up(6)+">"),this.map&&(this.map.file=this.from)}error(e,i,r,s={}){let n,a,o;if(i&&typeof i=="object"){let l=i,c=r;if(typeof l.offset=="number"){let f=this.fromOffset(l.offset);i=f.line,r=f.col}else i=l.line,r=l.column;if(typeof c.offset=="number"){let f=this.fromOffset(c.offset);a=f.line,o=f.col}else a=c.line,o=c.column}else if(!r){let l=this.fromOffset(i);i=l.line,r=l.col}let u=this.origin(i,r,a,o);return u?n=new ou(e,u.endLine===void 0?u.line:{column:u.column,line:u.line},u.endLine===void 0?u.column:{column:u.endColumn,line:u.endLine},u.source,u.file,s.plugin):n=new ou(e,a===void 0?i:{column:r,line:i},a===void 0?r:{column:o,line:a},this.css,this.file,s.plugin),n.input={column:r,endColumn:o,endLine:a,line:i,source:this.css},this.file&&(Wi&&(n.input.url=Wi(this.file).toString()),n.input.file=this.file),n}fromOffset(e){let i,r;if(this[ps])r=this[ps];else{let n=this.css.split(`
23
+ `?(s=1,n+=1):s+=1;return{column:s,line:n}}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}rangeBy(e){let i={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:i.column+1,line:i.line};if(e.word){let s=this.toString(),n=s.indexOf(e.word);n!==-1&&(i=this.positionInside(n,s),r=this.positionInside(n+e.word.length,s))}else e.start?i={column:e.start.column,line:e.start.line}:e.index&&(i=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<i.line||r.line===i.line&&r.column<=i.column)&&(r={column:i.column+1,line:i.line}),{end:r,start:i}}raw(e,i){return new Kf().raw(this,e,i)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...e){if(this.parent){let i=this,r=!1;for(let s of e)s===this?r=!0:r?(this.parent.insertAfter(i,s),i=s):this.parent.insertBefore(i,s);r||this.remove()}return this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}toJSON(e,i){let r={},s=i==null;i=i||new Map;let n=0;for(let a in this){if(!Object.prototype.hasOwnProperty.call(this,a)||a==="parent"||a==="proxyCache")continue;let o=this[a];if(Array.isArray(o))r[a]=o.map(u=>typeof u=="object"&&u.toJSON?u.toJSON(null,i):u);else if(typeof o=="object"&&o.toJSON)r[a]=o.toJSON(null,i);else if(a==="source"){let u=i.get(o.input);u==null&&(u=n,i.set(o.input,n),n++),r[a]={end:o.end,inputId:u,start:o.start}}else r[a]=o}return s&&(r.inputs=[...i.keys()].map(a=>a.toJSON())),r}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=Yf){e.stringify&&(e=e.stringify);let i="";return e(this,r=>{i+=r}),i}warn(e,i,r){let s={node:this};for(let n in r)s[n]=r[n];return e.warn(i,s)}get proxyOf(){return this}};Za.exports=Wt;Wt.default=Wt});var zr=v((b0,eo)=>{"use strict";var Jf=Bi(),$t=class extends Jf{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]==="$"}};eo.exports=$t;$t.default=$t});var Qr=v((S0,to)=>{"use strict";var Xf=Bi(),Ht=class extends Xf{constructor(e){super(e),this.type="comment"}};to.exports=Ht;Ht.default=Ht});var zt=v((w0,lo)=>{"use strict";var{isClean:io,my:ro}=Br(),so=zr(),no=Qr(),Zf=Bi(),ao,Kr,Yr,oo;function uo(t){return t.map(e=>(e.nodes&&(e.nodes=uo(e.nodes)),delete e.source,e))}function ho(t){if(t[io]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)ho(e)}var we=class t extends Zf{append(...e){for(let i of e){let r=this.normalize(i,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 i of this.nodes)i.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let i=this.getIterator(),r,s;for(;this.indexes[i]<this.proxyOf.nodes.length&&(r=this.indexes[i],s=e(this.proxyOf.nodes[r],r),s!==!1);)this.indexes[i]+=1;return delete this.indexes[i],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,i){return i==="proxyOf"?e:e[i]?i==="each"||typeof i=="string"&&i.startsWith("walk")?(...r)=>e[i](...r.map(s=>typeof s=="function"?(n,a)=>s(n.toProxy(),a):s)):i==="every"||i==="some"?r=>e[i]((s,...n)=>r(s.toProxy(),...n)):i==="root"?()=>e.root().toProxy():i==="nodes"?e.nodes.map(r=>r.toProxy()):i==="first"||i==="last"?e[i].toProxy():e[i]:e[i]},set(e,i,r){return e[i]===r||(e[i]=r,(i==="name"||i==="params"||i==="selector")&&e.markDirty()),!0}}}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,i){let r=this.index(e),s=this.normalize(i,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let a of s)this.proxyOf.nodes.splice(r+1,0,a);let n;for(let a in this.indexes)n=this.indexes[a],r<n&&(this.indexes[a]=n+s.length);return this.markDirty(),this}insertBefore(e,i){let r=this.index(e),s=r===0?"prepend":!1,n=this.normalize(i,this.proxyOf.nodes[r],s).reverse();r=this.index(e);for(let o of n)this.proxyOf.nodes.splice(r,0,o);let a;for(let o in this.indexes)a=this.indexes[o],r<=a&&(this.indexes[o]=a+n.length);return this.markDirty(),this}normalize(e,i){if(typeof e=="string")e=uo(ao(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 so(e)]}else if(e.selector)e=[new Kr(e)];else if(e.name)e=[new Yr(e)];else if(e.text)e=[new no(e)];else throw new Error("Unknown node type in node creation");return e.map(s=>(s[ro]||t.rebuild(s),s=s.proxyOf,s.parent&&s.parent.removeChild(s),s[io]&&ho(s),typeof s.raws.before>"u"&&i&&typeof i.raws.before<"u"&&(s.raws.before=i.raws.before.replace(/\S/g,"")),s.parent=this.proxyOf,s))}prepend(...e){e=e.reverse();for(let i of e){let r=this.normalize(i,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 i;for(let r in this.indexes)i=this.indexes[r],i>=e&&(this.indexes[r]=i-1);return this.markDirty(),this}replaceValues(e,i,r){return r||(r=i,i={}),this.walkDecls(s=>{i.props&&!i.props.includes(s.prop)||i.fast&&!s.value.includes(i.fast)||(s.value=s.value.replace(e,r))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((i,r)=>{let s;try{s=e(i,r)}catch(n){throw i.addToError(n)}return s!==!1&&i.walk&&(s=i.walk(e)),s})}walkAtRules(e,i){return i?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="atrule"&&e.test(r.name))return i(r,s)}):this.walk((r,s)=>{if(r.type==="atrule"&&r.name===e)return i(r,s)}):(i=e,this.walk((r,s)=>{if(r.type==="atrule")return i(r,s)}))}walkComments(e){return this.walk((i,r)=>{if(i.type==="comment")return e(i,r)})}walkDecls(e,i){return i?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="decl"&&e.test(r.prop))return i(r,s)}):this.walk((r,s)=>{if(r.type==="decl"&&r.prop===e)return i(r,s)}):(i=e,this.walk((r,s)=>{if(r.type==="decl")return i(r,s)}))}walkRules(e,i){return i?e instanceof RegExp?this.walk((r,s)=>{if(r.type==="rule"&&e.test(r.selector))return i(r,s)}):this.walk((r,s)=>{if(r.type==="rule"&&r.selector===e)return i(r,s)}):(i=e,this.walk((r,s)=>{if(r.type==="rule")return i(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]}};we.registerParse=t=>{ao=t};we.registerRule=t=>{Kr=t};we.registerAtRule=t=>{Yr=t};we.registerRoot=t=>{oo=t};lo.exports=we;we.default=we;we.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,Yr.prototype):t.type==="rule"?Object.setPrototypeOf(t,Kr.prototype):t.type==="decl"?Object.setPrototypeOf(t,so.prototype):t.type==="comment"?Object.setPrototypeOf(t,no.prototype):t.type==="root"&&Object.setPrototypeOf(t,oo.prototype),t[ro]=!0,t.nodes&&t.nodes.forEach(e=>{we.rebuild(e)})}});var po=v((C0,fo)=>{"use strict";var co=zt(),yt=class extends co{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};fo.exports=yt;yt.default=yt;co.registerAtRule(yt)});var vo=v((E0,yo)=>{"use strict";var mo=zt(),go,xo,ze=class extends mo{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,i,r){let s=super.normalize(e);if(i){if(r==="prepend")this.nodes.length>1?i.raws.before=this.nodes[1].raws.before:delete i.raws.before;else if(this.first!==i)for(let n of s)n.raws.before=i.raws.before}return s}removeChild(e,i){let r=this.index(e);return!i&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}toResult(e={}){return new go(new xo,this,e).stringify()}};ze.registerLazyResult=t=>{go=t};ze.registerProcessor=t=>{xo=t};yo.exports=ze;ze.default=ze;mo.registerRoot(ze)});var bo=v((k0,_o)=>{"use strict";var Qt={comma(t){return Qt.split(t,[","],!0)},space(t){let e=[" ",`
24
+ `," "];return Qt.split(t,e)},split(t,e,i){let r=[],s="",n=!1,a=0,o=!1,u="",l=!1;for(let c of t)l?l=!1:c==="\\"?l=!0:o?c===u&&(o=!1):c==='"'||c==="'"?(o=!0,u=c):c==="("?a+=1:c===")"?a>0&&(a-=1):a===0&&e.includes(c)&&(n=!0),n?(s!==""&&r.push(s.trim()),s="",n=!1):s+=c;return(i||s!=="")&&r.push(s.trim()),r}};_o.exports=Qt;Qt.default=Qt});var Co=v((A0,wo)=>{"use strict";var So=zt(),ep=bo(),vt=class extends So{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return ep.comma(this.selector)}set selectors(e){let i=this.selector?this.selector.match(/,\s*/):null,r=i?i[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};wo.exports=vt;vt.default=vt;So.registerRule(vt)});var Oo=v((O0,Ao)=>{"use strict";var tp=zr(),ip=qr(),rp=Qr(),sp=po(),np=vo(),Eo=Co(),ko={empty:!0,space:!0};function ap(t){for(let e=t.length-1;e>=0;e--){let i=t[e],r=i[3]||i[2];if(r)return r}}var Jr=class{constructor(e){this.input=e,this.root=new np,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 i=new sp;i.name=e[1].slice(1),i.name===""&&this.unnamedAtrule(i,e),this.init(i,e[2]);let r,s,n,a=!1,o=!1,u=[],l=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r==="("||r==="["?l.push(r==="("?")":"]"):r==="{"&&l.length>0?l.push("}"):r===l[l.length-1]&&l.pop(),l.length===0)if(r===";"){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}else if(r==="{"){o=!0;break}else if(r==="}"){if(u.length>0){for(n=u.length-1,s=u[n];s&&s[0]==="space";)s=u[--n];s&&(i.source.end=this.getPosition(s[3]||s[2]),i.source.end.offset++)}this.end(e);break}else u.push(e);else u.push(e);if(this.tokenizer.endOfFile()){a=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(u),u.length?(i.raws.afterName=this.spacesAndCommentsFromStart(u),this.raw(i,"params",u),a&&(e=u[u.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),o&&(i.nodes=[],this.current=i)}checkMissedSemicolon(e){let i=this.colon(e);if(i===!1)return;let r=0,s;for(let n=i-1;n>=0&&(s=e[n],!(s[0]!=="space"&&(r+=1,r===2)));n--);throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}colon(e){let i=0,r,s,n;for(let[a,o]of e.entries()){if(r=o,s=r[0],s==="("&&(i+=1),s===")"&&(i-=1),i===0&&s===":")if(!n)this.doubleColon(r);else{if(n[0]==="word"&&n[1]==="progid")continue;return a}n=r}return!1}comment(e){let i=new rp;this.init(i,e[2]),i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++;let r=e[1].slice(2,-2);if(/^\s*$/.test(r))i.text="",i.raws.left=r,i.raws.right="";else{let s=r.match(/^(\s*)([^]*\S)(\s*)$/);i.text=s[2],i.raws.left=s[1],i.raws.right=s[3]}}createTokenizer(){this.tokenizer=ip(this.input)}decl(e,i){let r=new tp;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]||ap(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 l=e[0][0];if(l===":"||l==="space"||l==="comment")break;r.prop+=e.shift()[1]}r.raws.between="";let n;for(;e.length;)if(n=e.shift(),n[0]===":"){r.raws.between+=n[1];break}else n[0]==="word"&&/\w/.test(n[1])&&this.unknownWord([n]),r.raws.between+=n[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let a=[],o;for(;e.length&&(o=e[0][0],!(o!=="space"&&o!=="comment"));)a.push(e.shift());this.precheckMissedSemicolon(e);for(let l=e.length-1;l>=0;l--){if(n=e[l],n[1].toLowerCase()==="!important"){r.important=!0;let c=this.stringFrom(e,l);c=this.spacesFromEnd(e)+c,c!==" !important"&&(r.raws.important=c);break}else if(n[1].toLowerCase()==="important"){let c=e.slice(0),f="";for(let p=l;p>0;p--){let d=c[p][0];if(f.trim().indexOf("!")===0&&d!=="space")break;f=c.pop()[1]+f}f.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=f,e=c)}if(n[0]!=="space"&&n[0]!=="comment")break}e.some(l=>l[0]!=="space"&&l[0]!=="comment")&&(r.raws.between+=a.map(l=>l[1]).join(""),a=[]),this.raw(r,"value",a.concat(e),i),r.value.includes(":")&&!i&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let i=new Eo;this.init(i,e[2]),i.selector="",i.raws.between="",this.current=i}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 i=this.current.nodes[this.current.nodes.length-1];i&&i.type==="rule"&&!i.raws.ownSemicolon&&(i.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let i=this.input.fromOffset(e);return{column:i.col,line:i.line,offset:e}}init(e,i){this.current.push(e),e.source={input:this.input,start:this.getPosition(i)},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}other(e){let i=!1,r=null,s=!1,n=null,a=[],o=e[1].startsWith("--"),u=[],l=e;for(;l;){if(r=l[0],u.push(l),r==="("||r==="[")n||(n=l),a.push(r==="("?")":"]");else if(o&&s&&r==="{")n||(n=l),a.push("}");else if(a.length===0)if(r===";")if(s){this.decl(u,o);return}else break;else if(r==="{"){this.rule(u);return}else if(r==="}"){this.tokenizer.back(u.pop()),i=!0;break}else r===":"&&(s=!0);else r===a[a.length-1]&&(a.pop(),a.length===0&&(n=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(i=!0),a.length>0&&this.unclosedBracket(n),i&&s){if(!o)for(;u.length&&(l=u[u.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(u.pop());this.decl(u,o)}else this.unknownWord(u)}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,i,r,s){let n,a,o=r.length,u="",l=!0,c,f;for(let p=0;p<o;p+=1)n=r[p],a=n[0],a==="space"&&p===o-1&&!s?l=!1:a==="comment"?(f=r[p-1]?r[p-1][0]:"empty",c=r[p+1]?r[p+1][0]:"empty",!ko[f]&&!ko[c]?u.slice(-1)===","?l=!1:u+=n[1]:l=!1):u+=n[1];if(!l){let p=r.reduce((d,m)=>d+m[1],"");e.raws[i]={raw:p,value:u}}e[i]=u}rule(e){e.pop();let i=new Eo;this.init(i,e[0][2]),i.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(i,"selector",e),this.current=i}spacesAndCommentsFromEnd(e){let i,r="";for(;e.length&&(i=e[e.length-1][0],!(i!=="space"&&i!=="comment"));)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let i,r="";for(;e.length&&(i=e[0][0],!(i!=="space"&&i!=="comment"));)r+=e.shift()[1];return r}spacesFromEnd(e){let i,r="";for(;e.length&&(i=e[e.length-1][0],i==="space");)r=e.pop()[1]+r;return r}stringFrom(e,i){let r="";for(let s=i;s<e.length;s++)r+=e[s][1];return e.splice(i,e.length-i),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,i){throw this.input.error("At-rule without name",{offset:i[2]},{offset:i[2]+i[1].length})}};Ao.exports=Jr});var Po=v(Xr=>{var No="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");Xr.encode=function(t){if(0<=t&&t<No.length)return No[t];throw new TypeError("Must be between 0 and 63: "+t)};Xr.decode=function(t){var e=65,i=90,r=97,s=122,n=48,a=57,o=43,u=47,l=26,c=52;return e<=t&&t<=i?t-e:r<=t&&t<=s?t-r+l:n<=t&&t<=a?t-n+c:t==o?62:t==u?63:-1}});var ts=v(es=>{var Io=Po(),Zr=5,Lo=1<<Zr,To=Lo-1,Ro=Lo;function op(t){return t<0?(-t<<1)+1:(t<<1)+0}function up(t){var e=(t&1)===1,i=t>>1;return e?-i:i}es.encode=function(e){var i="",r,s=op(e);do r=s&To,s>>>=Zr,s>0&&(r|=Ro),i+=Io.encode(r);while(s>0);return i};es.decode=function(e,i,r){var s=e.length,n=0,a=0,o,u;do{if(i>=s)throw new Error("Expected more digits in base 64 VLQ value.");if(u=Io.decode(e.charCodeAt(i++)),u===-1)throw new Error("Invalid base64 digit: "+e.charAt(i-1));o=!!(u&Ro),u&=To,n=n+(u<<a),a+=Zr}while(o);r.value=up(n),r.rest=i}});var bt=v(z=>{function hp(t,e,i){if(e in t)return t[e];if(arguments.length===3)return i;throw new Error('"'+e+'" is a required argument.')}z.getArg=hp;var Mo=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,lp=/^data:.+\,.+$/;function Kt(t){var e=t.match(Mo);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}z.urlParse=Kt;function _t(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}z.urlGenerate=_t;var cp=32;function fp(t){var e=[];return function(i){for(var r=0;r<e.length;r++)if(e[r].input===i){var s=e[0];return e[0]=e[r],e[r]=s,e[0].result}var n=t(i);return e.unshift({input:i,result:n}),e.length>cp&&e.pop(),n}}var is=fp(function(e){var i=e,r=Kt(e);if(r){if(!r.path)return e;i=r.path}for(var s=z.isAbsolute(i),n=[],a=0,o=0;;)if(a=o,o=i.indexOf("/",a),o===-1){n.push(i.slice(a));break}else for(n.push(i.slice(a,o));o<i.length&&i[o]==="/";)o++;for(var u,l=0,o=n.length-1;o>=0;o--)u=n[o],u==="."?n.splice(o,1):u===".."?l++:l>0&&(u===""?(n.splice(o+1,l),l=0):(n.splice(o,2),l--));return i=n.join("/"),i===""&&(i=s?"/":"."),r?(r.path=i,_t(r)):i});z.normalize=is;function Fo(t,e){t===""&&(t="."),e===""&&(e=".");var i=Kt(e),r=Kt(t);if(r&&(t=r.path||"/"),i&&!i.scheme)return r&&(i.scheme=r.scheme),_t(i);if(i||e.match(lp))return e;if(r&&!r.host&&!r.path)return r.host=e,_t(r);var s=e.charAt(0)==="/"?e:is(t.replace(/\/+$/,"")+"/"+e);return r?(r.path=s,_t(r)):s}z.join=Fo;z.isAbsolute=function(t){return t.charAt(0)==="/"||Mo.test(t)};function pp(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var i=0;e.indexOf(t+"/")!==0;){var r=t.lastIndexOf("/");if(r<0||(t=t.slice(0,r),t.match(/^([^\/]+:\/)?\/*$/)))return e;++i}return Array(i+1).join("../")+e.substr(t.length+1)}z.relative=pp;var Vo=function(){var t=Object.create(null);return!("__proto__"in t)}();function Bo(t){return t}function dp(t){return Do(t)?"$"+t:t}z.toSetString=Vo?Bo:dp;function mp(t){return Do(t)?t.slice(1):t}z.fromSetString=Vo?Bo:mp;function Do(t){if(!t)return!1;var e=t.length;if(e<9||t.charCodeAt(e-1)!==95||t.charCodeAt(e-2)!==95||t.charCodeAt(e-3)!==111||t.charCodeAt(e-4)!==116||t.charCodeAt(e-5)!==111||t.charCodeAt(e-6)!==114||t.charCodeAt(e-7)!==112||t.charCodeAt(e-8)!==95||t.charCodeAt(e-9)!==95)return!1;for(var i=e-10;i>=0;i--)if(t.charCodeAt(i)!==36)return!1;return!0}function gp(t,e,i){var r=Me(t.source,e.source);return r!==0||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0||i)||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=t.generatedLine-e.generatedLine,r!==0)?r:Me(t.name,e.name)}z.compareByOriginalPositions=gp;function xp(t,e,i){var r;return r=t.originalLine-e.originalLine,r!==0||(r=t.originalColumn-e.originalColumn,r!==0||i)||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=t.generatedLine-e.generatedLine,r!==0)?r:Me(t.name,e.name)}z.compareByOriginalPositionsNoSource=xp;function yp(t,e,i){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0||i)||(r=Me(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:Me(t.name,e.name)}z.compareByGeneratedPositionsDeflated=yp;function vp(t,e,i){var r=t.generatedColumn-e.generatedColumn;return r!==0||i||(r=Me(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:Me(t.name,e.name)}z.compareByGeneratedPositionsDeflatedNoLine=vp;function Me(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function _p(t,e){var i=t.generatedLine-e.generatedLine;return i!==0||(i=t.generatedColumn-e.generatedColumn,i!==0)||(i=Me(t.source,e.source),i!==0)||(i=t.originalLine-e.originalLine,i!==0)||(i=t.originalColumn-e.originalColumn,i!==0)?i:Me(t.name,e.name)}z.compareByGeneratedPositionsInflated=_p;function bp(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}z.parseSourceMapInput=bp;function Sp(t,e,i){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),i){var r=Kt(i);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=Fo(_t(r),e)}return is(e)}z.computeSourceURL=Sp});var ns=v(Uo=>{var rs=bt(),ss=Object.prototype.hasOwnProperty,rt=typeof Map<"u";function Fe(){this._array=[],this._set=rt?new Map:Object.create(null)}Fe.fromArray=function(e,i){for(var r=new Fe,s=0,n=e.length;s<n;s++)r.add(e[s],i);return r};Fe.prototype.size=function(){return rt?this._set.size:Object.getOwnPropertyNames(this._set).length};Fe.prototype.add=function(e,i){var r=rt?e:rs.toSetString(e),s=rt?this.has(e):ss.call(this._set,r),n=this._array.length;(!s||i)&&this._array.push(e),s||(rt?this._set.set(e,n):this._set[r]=n)};Fe.prototype.has=function(e){if(rt)return this._set.has(e);var i=rs.toSetString(e);return ss.call(this._set,i)};Fe.prototype.indexOf=function(e){if(rt){var i=this._set.get(e);if(i>=0)return i}else{var r=rs.toSetString(e);if(ss.call(this._set,r))return this._set[r]}throw new Error('"'+e+'" is not in the set.')};Fe.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};Fe.prototype.toArray=function(){return this._array.slice()};Uo.ArraySet=Fe});var Go=v(jo=>{var qo=bt();function wp(t,e){var i=t.generatedLine,r=e.generatedLine,s=t.generatedColumn,n=e.generatedColumn;return r>i||r==i&&n>=s||qo.compareByGeneratedPositionsInflated(t,e)<=0}function Di(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Di.prototype.unsortedForEach=function(e,i){this._array.forEach(e,i)};Di.prototype.add=function(e){wp(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};Di.prototype.toArray=function(){return this._sorted||(this._array.sort(qo.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};jo.MappingList=Di});var as=v(Wo=>{var Yt=ts(),W=bt(),Ui=ns().ArraySet,Cp=Go().MappingList;function ge(t){t||(t={}),this._file=W.getArg(t,"file",null),this._sourceRoot=W.getArg(t,"sourceRoot",null),this._skipValidation=W.getArg(t,"skipValidation",!1),this._ignoreInvalidMapping=W.getArg(t,"ignoreInvalidMapping",!1),this._sources=new Ui,this._names=new Ui,this._mappings=new Cp,this._sourcesContents=null}ge.prototype._version=3;ge.fromSourceMap=function(e,i){var r=e.sourceRoot,s=new ge(Object.assign(i||{},{file:e.file,sourceRoot:r}));return e.eachMapping(function(n){var a={generated:{line:n.generatedLine,column:n.generatedColumn}};n.source!=null&&(a.source=n.source,r!=null&&(a.source=W.relative(r,a.source)),a.original={line:n.originalLine,column:n.originalColumn},n.name!=null&&(a.name=n.name)),s.addMapping(a)}),e.sources.forEach(function(n){var a=n;r!==null&&(a=W.relative(r,n)),s._sources.has(a)||s._sources.add(a);var o=e.sourceContentFor(n);o!=null&&s.setSourceContent(n,o)}),s};ge.prototype.addMapping=function(e){var i=W.getArg(e,"generated"),r=W.getArg(e,"original",null),s=W.getArg(e,"source",null),n=W.getArg(e,"name",null);!this._skipValidation&&this._validateMapping(i,r,s,n)===!1||(s!=null&&(s=String(s),this._sources.has(s)||this._sources.add(s)),n!=null&&(n=String(n),this._names.has(n)||this._names.add(n)),this._mappings.add({generatedLine:i.line,generatedColumn:i.column,originalLine:r!=null&&r.line,originalColumn:r!=null&&r.column,source:s,name:n}))};ge.prototype.setSourceContent=function(e,i){var r=e;this._sourceRoot!=null&&(r=W.relative(this._sourceRoot,r)),i!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[W.toSetString(r)]=i):this._sourcesContents&&(delete this._sourcesContents[W.toSetString(r)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};ge.prototype.applySourceMap=function(e,i,r){var s=i;if(i==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 n=this._sourceRoot;n!=null&&(s=W.relative(n,s));var a=new Ui,o=new Ui;this._mappings.unsortedForEach(function(u){if(u.source===s&&u.originalLine!=null){var l=e.originalPositionFor({line:u.originalLine,column:u.originalColumn});l.source!=null&&(u.source=l.source,r!=null&&(u.source=W.join(r,u.source)),n!=null&&(u.source=W.relative(n,u.source)),u.originalLine=l.line,u.originalColumn=l.column,l.name!=null&&(u.name=l.name))}var c=u.source;c!=null&&!a.has(c)&&a.add(c);var f=u.name;f!=null&&!o.has(f)&&o.add(f)},this),this._sources=a,this._names=o,e.sources.forEach(function(u){var l=e.sourceContentFor(u);l!=null&&(r!=null&&(u=W.join(r,u)),n!=null&&(u=W.relative(n,u)),this.setSourceContent(u,l))},this)};ge.prototype._validateMapping=function(e,i,r,s){if(i&&typeof i.line!="number"&&typeof i.column!="number"){var n="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(n),!1;throw new Error(n)}if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!i&&!r&&!s)){if(e&&"line"in e&&"column"in e&&i&&"line"in i&&"column"in i&&e.line>0&&e.column>=0&&i.line>0&&i.column>=0&&r)return;var n="Invalid mapping: "+JSON.stringify({generated:e,source:r,original:i,name:s});if(this._ignoreInvalidMapping)return typeof console<"u"&&console.warn&&console.warn(n),!1;throw new Error(n)}};ge.prototype._serializeMappings=function(){for(var e=0,i=1,r=0,s=0,n=0,a=0,o="",u,l,c,f,p=this._mappings.toArray(),d=0,m=p.length;d<m;d++){if(l=p[d],u="",l.generatedLine!==i)for(e=0;l.generatedLine!==i;)u+=";",i++;else if(d>0){if(!W.compareByGeneratedPositionsInflated(l,p[d-1]))continue;u+=","}u+=Yt.encode(l.generatedColumn-e),e=l.generatedColumn,l.source!=null&&(f=this._sources.indexOf(l.source),u+=Yt.encode(f-a),a=f,u+=Yt.encode(l.originalLine-1-s),s=l.originalLine-1,u+=Yt.encode(l.originalColumn-r),r=l.originalColumn,l.name!=null&&(c=this._names.indexOf(l.name),u+=Yt.encode(c-n),n=c)),o+=u}return o};ge.prototype._generateSourcesContent=function(e,i){return e.map(function(r){if(!this._sourcesContents)return null;i!=null&&(r=W.relative(i,r));var s=W.toSetString(r);return Object.prototype.hasOwnProperty.call(this._sourcesContents,s)?this._sourcesContents[s]:null},this)};ge.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};ge.prototype.toString=function(){return JSON.stringify(this.toJSON())};Wo.SourceMapGenerator=ge});var $o=v(st=>{st.GREATEST_LOWER_BOUND=1;st.LEAST_UPPER_BOUND=2;function os(t,e,i,r,s,n){var a=Math.floor((e-t)/2)+t,o=s(i,r[a],!0);return o===0?a:o>0?e-a>1?os(a,e,i,r,s,n):n==st.LEAST_UPPER_BOUND?e<r.length?e:-1:a:a-t>1?os(t,a,i,r,s,n):n==st.LEAST_UPPER_BOUND?a:t<0?-1:t}st.search=function(e,i,r,s){if(i.length===0)return-1;var n=os(-1,i.length,e,i,r,s||st.GREATEST_LOWER_BOUND);if(n<0)return-1;for(;n-1>=0&&r(i[n],i[n-1],!0)===0;)--n;return n}});var Qo=v(zo=>{function Ep(t){function e(s,n,a){var o=s[n];s[n]=s[a],s[a]=o}function i(s,n){return Math.round(s+Math.random()*(n-s))}function r(s,n,a,o){if(a<o){var u=i(a,o),l=a-1;e(s,u,o);for(var c=s[o],f=a;f<o;f++)n(s[f],c,!1)<=0&&(l+=1,e(s,l,f));e(s,l+1,f);var p=l+1;r(s,n,a,p-1),r(s,n,p+1,o)}}return r}function kp(t){let e=Ep.toString();return new Function(`return ${e}`)()(t)}var Ho=new WeakMap;zo.quickSort=function(t,e,i=0){let r=Ho.get(e);r===void 0&&(r=kp(e),Ho.set(e,r)),r(t,e,i,t.length-1)}});var Jo=v(qi=>{var b=bt(),hs=$o(),St=ns().ArraySet,Ap=ts(),Jt=Qo().quickSort;function V(t,e){var i=t;return typeof t=="string"&&(i=b.parseSourceMapInput(t)),i.sections!=null?new Ce(i,e):new Y(i,e)}V.fromSourceMap=function(t,e){return Y.fromSourceMap(t,e)};V.prototype._version=3;V.prototype.__generatedMappings=null;Object.defineProperty(V.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});V.prototype.__originalMappings=null;Object.defineProperty(V.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});V.prototype._charIsMappingSeparator=function(e,i){var r=e.charAt(i);return r===";"||r===","};V.prototype._parseMappings=function(e,i){throw new Error("Subclasses must implement _parseMappings")};V.GENERATED_ORDER=1;V.ORIGINAL_ORDER=2;V.GREATEST_LOWER_BOUND=1;V.LEAST_UPPER_BOUND=2;V.prototype.eachMapping=function(e,i,r){var s=i||null,n=r||V.GENERATED_ORDER,a;switch(n){case V.GENERATED_ORDER:a=this._generatedMappings;break;case V.ORIGINAL_ORDER:a=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var o=this.sourceRoot,u=e.bind(s),l=this._names,c=this._sources,f=this._sourceMapURL,p=0,d=a.length;p<d;p++){var m=a[p],g=m.source===null?null:c.at(m.source);g=b.computeSourceURL(o,g,f),u({source:g,generatedLine:m.generatedLine,generatedColumn:m.generatedColumn,originalLine:m.originalLine,originalColumn:m.originalColumn,name:m.name===null?null:l.at(m.name)})}};V.prototype.allGeneratedPositionsFor=function(e){var i=b.getArg(e,"line"),r={source:b.getArg(e,"source"),originalLine:i,originalColumn:b.getArg(e,"column",0)};if(r.source=this._findSourceIndex(r.source),r.source<0)return[];var s=[],n=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",b.compareByOriginalPositions,hs.LEAST_UPPER_BOUND);if(n>=0){var a=this._originalMappings[n];if(e.column===void 0)for(var o=a.originalLine;a&&a.originalLine===o;)s.push({line:b.getArg(a,"generatedLine",null),column:b.getArg(a,"generatedColumn",null),lastColumn:b.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n];else for(var u=a.originalColumn;a&&a.originalLine===i&&a.originalColumn==u;)s.push({line:b.getArg(a,"generatedLine",null),column:b.getArg(a,"generatedColumn",null),lastColumn:b.getArg(a,"lastGeneratedColumn",null)}),a=this._originalMappings[++n]}return s};qi.SourceMapConsumer=V;function Y(t,e){var i=t;typeof t=="string"&&(i=b.parseSourceMapInput(t));var r=b.getArg(i,"version"),s=b.getArg(i,"sources"),n=b.getArg(i,"names",[]),a=b.getArg(i,"sourceRoot",null),o=b.getArg(i,"sourcesContent",null),u=b.getArg(i,"mappings"),l=b.getArg(i,"file",null);if(r!=this._version)throw new Error("Unsupported version: "+r);a&&(a=b.normalize(a)),s=s.map(String).map(b.normalize).map(function(c){return a&&b.isAbsolute(a)&&b.isAbsolute(c)?b.relative(a,c):c}),this._names=St.fromArray(n.map(String),!0),this._sources=St.fromArray(s,!0),this._absoluteSources=this._sources.toArray().map(function(c){return b.computeSourceURL(a,c,e)}),this.sourceRoot=a,this.sourcesContent=o,this._mappings=u,this._sourceMapURL=e,this.file=l}Y.prototype=Object.create(V.prototype);Y.prototype.consumer=V;Y.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=b.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var i;for(i=0;i<this._absoluteSources.length;++i)if(this._absoluteSources[i]==t)return i;return-1};Y.fromSourceMap=function(e,i){var r=Object.create(Y.prototype),s=r._names=St.fromArray(e._names.toArray(),!0),n=r._sources=St.fromArray(e._sources.toArray(),!0);r.sourceRoot=e._sourceRoot,r.sourcesContent=e._generateSourcesContent(r._sources.toArray(),r.sourceRoot),r.file=e._file,r._sourceMapURL=i,r._absoluteSources=r._sources.toArray().map(function(d){return b.computeSourceURL(r.sourceRoot,d,i)});for(var a=e._mappings.toArray().slice(),o=r.__generatedMappings=[],u=r.__originalMappings=[],l=0,c=a.length;l<c;l++){var f=a[l],p=new Yo;p.generatedLine=f.generatedLine,p.generatedColumn=f.generatedColumn,f.source&&(p.source=n.indexOf(f.source),p.originalLine=f.originalLine,p.originalColumn=f.originalColumn,f.name&&(p.name=s.indexOf(f.name)),u.push(p)),o.push(p)}return Jt(r.__originalMappings,b.compareByOriginalPositions),r};Y.prototype._version=3;Object.defineProperty(Y.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function Yo(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var us=b.compareByGeneratedPositionsDeflatedNoLine;function Ko(t,e){let i=t.length,r=t.length-e;if(!(r<=1))if(r==2){let s=t[e],n=t[e+1];us(s,n)>0&&(t[e]=n,t[e+1]=s)}else if(r<20)for(let s=e;s<i;s++)for(let n=s;n>e;n--){let a=t[n-1],o=t[n];if(us(a,o)<=0)break;t[n-1]=o,t[n]=a}else Jt(t,us,e)}Y.prototype._parseMappings=function(e,i){var r=1,s=0,n=0,a=0,o=0,u=0,l=e.length,c=0,f={},p={},d=[],m=[],g,x,S,C,A;let k=0;for(;c<l;)if(e.charAt(c)===";")r++,c++,s=0,Ko(m,k),k=m.length;else if(e.charAt(c)===",")c++;else{for(g=new Yo,g.generatedLine=r,C=c;C<l&&!this._charIsMappingSeparator(e,C);C++);for(x=e.slice(c,C),S=[];c<C;)Ap.decode(e,c,p),A=p.value,c=p.rest,S.push(A);if(S.length===2)throw new Error("Found a source, but no line and column");if(S.length===3)throw new Error("Found a source and line, but no column");if(g.generatedColumn=s+S[0],s=g.generatedColumn,S.length>1&&(g.source=o+S[1],o+=S[1],g.originalLine=n+S[2],n=g.originalLine,g.originalLine+=1,g.originalColumn=a+S[3],a=g.originalColumn,S.length>4&&(g.name=u+S[4],u+=S[4])),m.push(g),typeof g.originalLine=="number"){let O=g.source;for(;d.length<=O;)d.push(null);d[O]===null&&(d[O]=[]),d[O].push(g)}}Ko(m,k),this.__generatedMappings=m;for(var R=0;R<d.length;R++)d[R]!=null&&Jt(d[R],b.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...d)};Y.prototype._findMapping=function(e,i,r,s,n,a){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 hs.search(e,i,n,a)};Y.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var i=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var r=this._generatedMappings[e+1];if(i.generatedLine===r.generatedLine){i.lastGeneratedColumn=r.generatedColumn-1;continue}}i.lastGeneratedColumn=1/0}};Y.prototype.originalPositionFor=function(e){var i={generatedLine:b.getArg(e,"line"),generatedColumn:b.getArg(e,"column")},r=this._findMapping(i,this._generatedMappings,"generatedLine","generatedColumn",b.compareByGeneratedPositionsDeflated,b.getArg(e,"bias",V.GREATEST_LOWER_BOUND));if(r>=0){var s=this._generatedMappings[r];if(s.generatedLine===i.generatedLine){var n=b.getArg(s,"source",null);n!==null&&(n=this._sources.at(n),n=b.computeSourceURL(this.sourceRoot,n,this._sourceMapURL));var a=b.getArg(s,"name",null);return a!==null&&(a=this._names.at(a)),{source:n,line:b.getArg(s,"originalLine",null),column:b.getArg(s,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}};Y.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};Y.prototype.sourceContentFor=function(e,i){if(!this.sourcesContent)return null;var r=this._findSourceIndex(e);if(r>=0)return this.sourcesContent[r];var s=e;this.sourceRoot!=null&&(s=b.relative(this.sourceRoot,s));var n;if(this.sourceRoot!=null&&(n=b.urlParse(this.sourceRoot))){var a=s.replace(/^file:\/\//,"");if(n.scheme=="file"&&this._sources.has(a))return this.sourcesContent[this._sources.indexOf(a)];if((!n.path||n.path=="/")&&this._sources.has("/"+s))return this.sourcesContent[this._sources.indexOf("/"+s)]}if(i)return null;throw new Error('"'+s+'" is not in the SourceMap.')};Y.prototype.generatedPositionFor=function(e){var i=b.getArg(e,"source");if(i=this._findSourceIndex(i),i<0)return{line:null,column:null,lastColumn:null};var r={source:i,originalLine:b.getArg(e,"line"),originalColumn:b.getArg(e,"column")},s=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",b.compareByOriginalPositions,b.getArg(e,"bias",V.GREATEST_LOWER_BOUND));if(s>=0){var n=this._originalMappings[s];if(n.source===r.source)return{line:b.getArg(n,"generatedLine",null),column:b.getArg(n,"generatedColumn",null),lastColumn:b.getArg(n,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};qi.BasicSourceMapConsumer=Y;function Ce(t,e){var i=t;typeof t=="string"&&(i=b.parseSourceMapInput(t));var r=b.getArg(i,"version"),s=b.getArg(i,"sections");if(r!=this._version)throw new Error("Unsupported version: "+r);this._sources=new St,this._names=new St;var n={line:-1,column:0};this._sections=s.map(function(a){if(a.url)throw new Error("Support for url field in sections not implemented.");var o=b.getArg(a,"offset"),u=b.getArg(o,"line"),l=b.getArg(o,"column");if(u<n.line||u===n.line&&l<n.column)throw new Error("Section offsets must be ordered and non-overlapping.");return n=o,{generatedOffset:{generatedLine:u+1,generatedColumn:l+1},consumer:new V(b.getArg(a,"map"),e)}})}Ce.prototype=Object.create(V.prototype);Ce.prototype.constructor=V;Ce.prototype._version=3;Object.defineProperty(Ce.prototype,"sources",{get:function(){for(var t=[],e=0;e<this._sections.length;e++)for(var i=0;i<this._sections[e].consumer.sources.length;i++)t.push(this._sections[e].consumer.sources[i]);return t}});Ce.prototype.originalPositionFor=function(e){var i={generatedLine:b.getArg(e,"line"),generatedColumn:b.getArg(e,"column")},r=hs.search(i,this._sections,function(n,a){var o=n.generatedLine-a.generatedOffset.generatedLine;return o||n.generatedColumn-a.generatedOffset.generatedColumn}),s=this._sections[r];return s?s.consumer.originalPositionFor({line:i.generatedLine-(s.generatedOffset.generatedLine-1),column:i.generatedColumn-(s.generatedOffset.generatedLine===i.generatedLine?s.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};Ce.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};Ce.prototype.sourceContentFor=function(e,i){for(var r=0;r<this._sections.length;r++){var s=this._sections[r],n=s.consumer.sourceContentFor(e,!0);if(n||n==="")return n}if(i)return null;throw new Error('"'+e+'" is not in the SourceMap.')};Ce.prototype.generatedPositionFor=function(e){for(var i=0;i<this._sections.length;i++){var r=this._sections[i];if(r.consumer._findSourceIndex(b.getArg(e,"source"))!==-1){var s=r.consumer.generatedPositionFor(e);if(s){var n={line:s.line+(r.generatedOffset.generatedLine-1),column:s.column+(r.generatedOffset.generatedLine===s.line?r.generatedOffset.generatedColumn-1:0)};return n}}}return{line:null,column:null}};Ce.prototype._parseMappings=function(e,i){this.__generatedMappings=[],this.__originalMappings=[];for(var r=0;r<this._sections.length;r++)for(var s=this._sections[r],n=s.consumer._generatedMappings,a=0;a<n.length;a++){var o=n[a],u=s.consumer._sources.at(o.source);u=b.computeSourceURL(s.consumer.sourceRoot,u,this._sourceMapURL),this._sources.add(u),u=this._sources.indexOf(u);var l=null;o.name&&(l=s.consumer._names.at(o.name),this._names.add(l),l=this._names.indexOf(l));var c={source:u,generatedLine:o.generatedLine+(s.generatedOffset.generatedLine-1),generatedColumn:o.generatedColumn+(s.generatedOffset.generatedLine===o.generatedLine?s.generatedOffset.generatedColumn-1:0),originalLine:o.originalLine,originalColumn:o.originalColumn,name:l};this.__generatedMappings.push(c),typeof c.originalLine=="number"&&this.__originalMappings.push(c)}Jt(this.__generatedMappings,b.compareByGeneratedPositionsDeflated),Jt(this.__originalMappings,b.compareByOriginalPositions)};qi.IndexedSourceMapConsumer=Ce});var Zo=v(Xo=>{var Op=as().SourceMapGenerator,ji=bt(),Np=/(\r?\n)/,Pp=10,wt="$$$isSourceNode$$$";function oe(t,e,i,r,s){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=i??null,this.name=s??null,this[wt]=!0,r!=null&&this.add(r)}oe.fromStringWithSourceMap=function(e,i,r){var s=new oe,n=e.split(Np),a=0,o=function(){var p=m(),d=m()||"";return p+d;function m(){return a<n.length?n[a++]:void 0}},u=1,l=0,c=null;return i.eachMapping(function(p){if(c!==null)if(u<p.generatedLine)f(c,o()),u++,l=0;else{var d=n[a]||"",m=d.substr(0,p.generatedColumn-l);n[a]=d.substr(p.generatedColumn-l),l=p.generatedColumn,f(c,m),c=p;return}for(;u<p.generatedLine;)s.add(o()),u++;if(l<p.generatedColumn){var d=n[a]||"";s.add(d.substr(0,p.generatedColumn)),n[a]=d.substr(p.generatedColumn),l=p.generatedColumn}c=p},this),a<n.length&&(c&&f(c,o()),s.add(n.splice(a).join(""))),i.sources.forEach(function(p){var d=i.sourceContentFor(p);d!=null&&(r!=null&&(p=ji.join(r,p)),s.setSourceContent(p,d))}),s;function f(p,d){if(p===null||p.source===void 0)s.add(d);else{var m=r?ji.join(r,p.source):p.source;s.add(new oe(p.originalLine,p.originalColumn,m,d,p.name))}}};oe.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(i){this.add(i)},this);else if(e[wt]||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};oe.prototype.prepend=function(e){if(Array.isArray(e))for(var i=e.length-1;i>=0;i--)this.prepend(e[i]);else if(e[wt]||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};oe.prototype.walk=function(e){for(var i,r=0,s=this.children.length;r<s;r++)i=this.children[r],i[wt]?i.walk(e):i!==""&&e(i,{source:this.source,line:this.line,column:this.column,name:this.name})};oe.prototype.join=function(e){var i,r,s=this.children.length;if(s>0){for(i=[],r=0;r<s-1;r++)i.push(this.children[r]),i.push(e);i.push(this.children[r]),this.children=i}return this};oe.prototype.replaceRight=function(e,i){var r=this.children[this.children.length-1];return r[wt]?r.replaceRight(e,i):typeof r=="string"?this.children[this.children.length-1]=r.replace(e,i):this.children.push("".replace(e,i)),this};oe.prototype.setSourceContent=function(e,i){this.sourceContents[ji.toSetString(e)]=i};oe.prototype.walkSourceContents=function(e){for(var i=0,r=this.children.length;i<r;i++)this.children[i][wt]&&this.children[i].walkSourceContents(e);for(var s=Object.keys(this.sourceContents),i=0,r=s.length;i<r;i++)e(ji.fromSetString(s[i]),this.sourceContents[s[i]])};oe.prototype.toString=function(){var e="";return this.walk(function(i){e+=i}),e};oe.prototype.toStringWithSourceMap=function(e){var i={code:"",line:1,column:0},r=new Op(e),s=!1,n=null,a=null,o=null,u=null;return this.walk(function(l,c){i.code+=l,c.source!==null&&c.line!==null&&c.column!==null?((n!==c.source||a!==c.line||o!==c.column||u!==c.name)&&r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:i.line,column:i.column},name:c.name}),n=c.source,a=c.line,o=c.column,u=c.name,s=!0):s&&(r.addMapping({generated:{line:i.line,column:i.column}}),n=null,s=!1);for(var f=0,p=l.length;f<p;f++)l.charCodeAt(f)===Pp?(i.line++,i.column=0,f+1===p?(n=null,s=!1):s&&r.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:i.line,column:i.column},name:c.name})):i.column++}),this.walkSourceContents(function(l,c){r.setSourceContent(l,c)}),{code:i.code,map:r}};Xo.SourceNode=oe});var ls=v(Gi=>{Gi.SourceMapGenerator=as().SourceMapGenerator;Gi.SourceMapConsumer=Jo().SourceMapConsumer;Gi.SourceNode=Zo().SourceNode});var tu=v((U0,eu)=>{var Ip="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",Lp=(t,e=21)=>(i=e)=>{let r="",s=i;for(;s--;)r+=t[Math.random()*t.length|0];return r},Tp=(t=21)=>{let e="",i=t;for(;i--;)e+=Ip[Math.random()*64|0];return e};eu.exports={nanoid:Tp,customAlphabet:Lp}});var nu=v((q0,su)=>{"use strict";var{SourceMapConsumer:iu,SourceMapGenerator:ru}=ls(),{existsSync:Rp,readFileSync:Mp}=require("fs"),{dirname:cs,join:Fp}=require("path");function Vp(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}var Xt=class{constructor(e,i){if(i.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let r=i.map?i.map.prev:void 0,s=this.loadMap(i.from,r);!this.mapFile&&i.from&&(this.mapFile=i.from),this.mapFile&&(this.root=cs(this.mapFile)),s&&(this.text=s)}consumer(){return this.consumerCache||(this.consumerCache=new iu(this.text)),this.consumerCache}decodeInline(e){let i=/^data:application\/json;charset=utf-?8;base64,/,r=/^data:application\/json;base64,/,s=/^data:application\/json;charset=utf-?8,/,n=/^data:application\/json,/;if(s.test(e)||n.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(i.test(e)||r.test(e))return Vp(e.substr(RegExp.lastMatch.length));let a=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+a)}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 i=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!i)return;let r=e.lastIndexOf(i.pop()),s=e.indexOf("*/",r);r>-1&&s>-1&&(this.annotation=this.getAnnotationURL(e.substring(r,s)))}loadFile(e){if(this.root=cs(e),Rp(e))return this.mapFile=e,Mp(e,"utf-8").toString().trim()}loadMap(e,i){if(i===!1)return!1;if(i){if(typeof i=="string")return i;if(typeof i=="function"){let r=i(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(i instanceof iu)return ru.fromSourceMap(i).toString();if(i instanceof ru)return i.toString();if(this.isMap(i))return JSON.stringify(i);throw new Error("Unsupported previous source map format: "+i.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let r=this.annotation;return e&&(r=Fp(cs(e),r)),this.loadFile(r)}}}startWith(e,i){return e?e.substr(0,i.length)===i:!1}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}};su.exports=Xt;Xt.default=Xt});var lu=v((j0,hu)=>{"use strict";var{SourceMapConsumer:Bp,SourceMapGenerator:Dp}=ls(),{fileURLToPath:au,pathToFileURL:Wi}=require("url"),{isAbsolute:ds,resolve:ms}=require("path"),{nanoid:Up}=tu(),fs=jr(),ou=Gr(),qp=nu(),ps=Symbol("fromOffsetCache"),jp=!!(Bp&&Dp),uu=!!(ms&&ds),Ct=class{constructor(e,i={}){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,i.from&&(!uu||/^\w+:\/\//.test(i.from)||ds(i.from)?this.file=i.from:this.file=ms(i.from)),uu&&jp){let r=new qp(this.css,i);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 "+Up(6)+">"),this.map&&(this.map.file=this.from)}error(e,i,r,s={}){let n,a,o;if(i&&typeof i=="object"){let l=i,c=r;if(typeof l.offset=="number"){let f=this.fromOffset(l.offset);i=f.line,r=f.col}else i=l.line,r=l.column;if(typeof c.offset=="number"){let f=this.fromOffset(c.offset);a=f.line,o=f.col}else a=c.line,o=c.column}else if(!r){let l=this.fromOffset(i);i=l.line,r=l.col}let u=this.origin(i,r,a,o);return u?n=new ou(e,u.endLine===void 0?u.line:{column:u.column,line:u.line},u.endLine===void 0?u.column:{column:u.endColumn,line:u.endLine},u.source,u.file,s.plugin):n=new ou(e,a===void 0?i:{column:r,line:i},a===void 0?r:{column:o,line:a},this.css,this.file,s.plugin),n.input={column:r,endColumn:o,endLine:a,line:i,source:this.css},this.file&&(Wi&&(n.input.url=Wi(this.file).toString()),n.input.file=this.file),n}fromOffset(e){let i,r;if(this[ps])r=this[ps];else{let n=this.css.split(`
25
25
  `);r=new Array(n.length);let a=0;for(let o=0,u=n.length;o<u;o++)r[o]=a,a+=n[o].length+1;this[ps]=r}i=r[r.length-1];let s=0;if(e>=i)s=r.length-1;else{let n=r.length-2,a;for(;s<n;)if(a=s+(n-s>>1),e<r[a])n=a-1;else if(e>=r[a+1])s=a+1;else{s=a;break}}return{col:e-r[s]+1,line:s+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:ms(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,i,r,s){if(!this.map)return!1;let n=this.map.consumer(),a=n.originalPositionFor({column:i,line:e});if(!a.source)return!1;let o;typeof r=="number"&&(o=n.originalPositionFor({column:s,line:r}));let u;ds(a.source)?u=Wi(a.source):u=new URL(a.source,this.map.consumer().sourceRoot||Wi(this.map.mapFile));let l={column:a.column,endColumn:o&&o.column,endLine:o&&o.line,line:a.line,url:u.toString()};if(u.protocol==="file:")if(au)l.file=au(u);else throw new Error("file: protocol is not available in this PostCSS build");let c=n.sourceContentFor(a.source);return c&&(l.source=c),l}toJSON(){let e={};for(let i of["hasBOM","css","file","id"])this[i]!=null&&(e[i]=this[i]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}get from(){return this.file||this.id}};hu.exports=Ct;Ct.default=Ct;fs&&fs.registerInput&&fs.registerInput(Ct)});var fu=v((G0,cu)=>{"use strict";var Gp=zt(),Wp=Oo(),$p=lu();function $i(t,e){let i=new $p(t,e),r=new Wp(i);try{r.parse()}catch(s){throw process.env.NODE_ENV!=="production"&&s.name==="CssSyntaxError"&&e&&e.from&&(/\.scss$/i.test(e.from)?s.message+=`
26
26
  You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(e.from)?s.message+=`
27
27
  You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(e.from)&&(s.message+=`
@@ -1,5 +1,9 @@
1
1
  const http = require('http');
2
2
  const https = require('https');
3
+ const dns = require('dns');
4
+
5
+ // fixed ECONNREFUSED on NodeJS 18
6
+ dns.setDefaultResultOrder('ipv4first');
3
7
 
4
8
  // minimal http request for get sourcemap json
5
9
  // https://nodejs.org/docs/latest/api/http.html#httprequesturl-options-callback
package/lib/utils/util.js CHANGED
@@ -508,7 +508,7 @@ const Util = {
508
508
  return;
509
509
  }
510
510
  const duration = Date.now() - time_start;
511
- const durationH = Util.TSF(duration);
511
+ const durationH = Util.TF(duration);
512
512
  const ls = [`[MCR] ${message}`, ' ('];
513
513
  if (duration <= 100) {
514
514
  ls.push(EC.green(durationH));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monocart-coverage-reports",
3
- "version": "2.7.4",
3
+ "version": "2.7.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": {
@@ -24,7 +24,6 @@
24
24
  },
25
25
  "types": "./lib/index.d.ts",
26
26
  "scripts": {
27
- "build-docs": "node ./scripts/build-docs.js",
28
27
  "build-test": "node ./scripts/build-test.js",
29
28
  "build": "sf lint && sf b -p && npm run build-test",
30
29
  "test-node-env": "cross-env NODE_V8_COVERAGE=.temp/v8-coverage-env node ./test/test-node-env.js && node ./test/generate-report.js",
@@ -47,10 +46,12 @@
47
46
  "test-browser": "npm run test-istanbul && npm run test-v8 && npm run test-puppeteer && npm run test-anonymous && npm run test-css && npm run test-minify && npm run test-esbuild && npm run test-rollup && npm run test-v8-and-istanbul",
48
47
  "test-cli": "npx mcr node ./test/specs/node.test.js -c test/mcr.config.cli.js",
49
48
  "test-tsx": "npx mcr tsx ./test/specs/tsx.test.ts -c test/mcr.config.tsx.js",
49
+ "test-demo": "node ./test/test-demo.js",
50
50
  "test-merge": "node ./test/test-merge.js",
51
51
  "test-merge-istanbul": "node ./test/test-merge-istanbul.js",
52
52
  "test-client": "node ./test/test-client.js",
53
- "test-all": "npm run test-node && npm run test-browser && npm run test-cli && npm run test-tsx && npm run test-merge && npm run build-docs",
53
+ "test-all": "npm run test-node && npm run test-browser && npm run test-cli && npm run test-tsx && npm run test-merge && node ./scripts/docs.js",
54
+ "test-node-14": "npm run test-node && npm run test-v8 && npm run test-anonymous && npm run test-css && npm run test-minify && npm run test-esbuild && npm run test-v8-and-istanbul && npm run test-cli",
54
55
  "test": "npx mcr npm run test-all -c test/mcr.config.mcr.js",
55
56
  "test:snap": "cross-env TEST_SNAPSHOT=true npm run test",
56
57
  "dev": "sf d v8",