prettier 3.0.0-alpha.1 → 3.0.0-alpha.10

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.
Files changed (57) hide show
  1. package/LICENSE +910 -759
  2. package/README.md +3 -3
  3. package/bin/prettier.cjs +0 -0
  4. package/doc.d.ts +240 -0
  5. package/doc.js +351 -479
  6. package/doc.mjs +342 -474
  7. package/index.cjs +400 -230
  8. package/index.d.ts +921 -0
  9. package/index.mjs +17218 -32209
  10. package/internal/cli.mjs +4374 -10823
  11. package/internal/internal.mjs +6437 -0
  12. package/package.json +55 -13
  13. package/plugins/acorn.d.ts +6 -0
  14. package/plugins/acorn.js +13 -0
  15. package/plugins/acorn.mjs +13 -0
  16. package/plugins/angular.d.ts +8 -0
  17. package/plugins/angular.js +2 -2
  18. package/plugins/angular.mjs +2 -2
  19. package/plugins/babel.d.ts +17 -0
  20. package/plugins/babel.js +12 -12
  21. package/plugins/babel.mjs +12 -12
  22. package/plugins/estree.d.ts +0 -0
  23. package/plugins/estree.js +35 -0
  24. package/plugins/estree.mjs +35 -0
  25. package/plugins/flow.d.ts +5 -0
  26. package/plugins/flow.js +20 -20
  27. package/plugins/flow.mjs +20 -20
  28. package/plugins/glimmer.d.ts +5 -0
  29. package/plugins/glimmer.js +22 -17
  30. package/plugins/glimmer.mjs +22 -17
  31. package/plugins/graphql.d.ts +5 -0
  32. package/plugins/graphql.js +16 -7
  33. package/plugins/graphql.mjs +16 -7
  34. package/plugins/html.d.ts +8 -0
  35. package/plugins/html.js +19 -29
  36. package/plugins/html.mjs +19 -29
  37. package/plugins/markdown.d.ts +7 -0
  38. package/plugins/markdown.js +54 -34
  39. package/plugins/markdown.mjs +54 -34
  40. package/plugins/meriyah.d.ts +5 -0
  41. package/plugins/meriyah.js +5 -6
  42. package/plugins/meriyah.mjs +5 -6
  43. package/plugins/postcss.d.ts +7 -0
  44. package/plugins/postcss.js +45 -43
  45. package/plugins/postcss.mjs +45 -43
  46. package/plugins/typescript.d.ts +5 -0
  47. package/plugins/typescript.js +24 -239
  48. package/plugins/typescript.mjs +24 -239
  49. package/plugins/yaml.d.ts +5 -0
  50. package/plugins/yaml.js +148 -135
  51. package/plugins/yaml.mjs +148 -135
  52. package/standalone.d.ts +33 -0
  53. package/standalone.js +35 -105
  54. package/standalone.mjs +35 -105
  55. package/internal/third-party.mjs +0 -9071
  56. package/plugins/acorn-and-espree.js +0 -13
  57. package/plugins/acorn-and-espree.mjs +0 -13
@@ -1,50 +1,52 @@
1
- (function(e){function t(i){var f=i();return f.default}if(typeof exports=="object"&&typeof module=="object")module.exports=t(e);else if(typeof define=="function"&&define.amd)define(function(){return t(e)});else{var n=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};n.prettierPlugins=n.prettierPlugins||{},n.prettierPlugins.postcss=t(e)}})(function(){"use strict";var Ol=Object.create;var at=Object.defineProperty;var Sl=Object.getOwnPropertyDescriptor;var Tl=Object.getOwnPropertyNames;var _l=Object.getPrototypeOf,El=Object.prototype.hasOwnProperty;var Q=(t,e)=>()=>(t&&(e=t(t=0)),e);var v=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),ut=(t,e)=>{for(var r in e)at(t,r,{get:e[r],enumerable:!0})},yi=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Tl(e))!El.call(t,i)&&i!==r&&at(t,i,{get:()=>e[i],enumerable:!(n=Sl(e,i))||n.enumerable});return t};var ee=(t,e,r)=>(r=t!=null?Ol(_l(t)):{},yi(e||!t||!t.__esModule?at(r,"default",{value:t,enumerable:!0}):r,t)),lt=t=>yi(at({},"__esModule",{value:!0}),t);var d,c=Q(()=>{d={env:{},argv:[]}});var Ti=v(te=>{"use strict";c();Object.defineProperty(te,"__esModule",{value:!0});te.extract=zl;te.parse=Ul;te.parseWithComments=Si;te.print=Bl;te.strip=jl;var Il=/\*\/$/,Nl=/^\/\*\*?/,ki=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Ml=/(^|\s+)\/\/([^\r\n]*)/g,vi=/^(\r?\n)+/,Dl=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,xi=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Ll=/(\r?\n|^) *\* ?/g,Oi=[];function zl(t){let e=t.match(ki);return e?e[0].trimLeft():""}function jl(t){let e=t.match(ki);return e&&e[0]?t.substring(e[0].length):t}function Ul(t){return Si(t).pragmas}function Si(t){let e=`
2
- `;t=t.replace(Nl,"").replace(Il,"").replace(Ll,"$1");let r="";for(;r!==t;)r=t,t=t.replace(Dl,`${e}$1 $2${e}`);t=t.replace(vi,"").trimRight();let n=Object.create(null),i=t.replace(xi,"").replace(vi,"").trimRight(),o;for(;o=xi.exec(t);){let s=o[2].replace(Ml,"");typeof n[o[1]]=="string"||Array.isArray(n[o[1]])?n[o[1]]=Oi.concat(n[o[1]],s):n[o[1]]=s}return{comments:i,pragmas:n}}function Bl({comments:t="",pragmas:e={}}){let r=`
3
- `,n="/**",i=" *",o=" */",s=Object.keys(e),u=s.map(l=>bi(l,e[l])).reduce((l,h)=>l.concat(h),[]).map(l=>`${i} ${l}${r}`).join("");if(!t){if(s.length===0)return"";if(s.length===1&&!Array.isArray(e[s[0]])){let l=e[s[0]];return`${n} ${bi(s[0],l)[0]}${o}`}}let a=t.split(r).map(l=>`${i} ${l}`).join(r)+r;return n+r+(t?a:"")+(t&&s.length?i+r:"")+u+o}function bi(t,e){return Oi.concat(e).map(r=>`@${t} ${r}`.trim())}});var z=v((Ww,Bi)=>{"use strict";c();var jr=function(t,e){let r=new t.constructor;for(let n in t){if(!t.hasOwnProperty(n))continue;let i=t[n],o=typeof i;n==="parent"&&o==="object"?e&&(r[n]=e):n==="source"?r[n]=i:i instanceof Array?r[n]=i.map(s=>jr(s,r)):n!=="before"&&n!=="after"&&n!=="between"&&n!=="semicolon"&&(o==="object"&&i!==null&&(i=jr(i)),r[n]=i)}return r};Bi.exports=class{constructor(e){e=e||{},this.raws={before:"",after:""};for(let r in e)this[r]=e[r]}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(){return[this.raws.before,String(this.value),this.raws.after].join("")}clone(e){e=e||{};let r=jr(this);for(let n in e)r[n]=e[n];return r}cloneBefore(e){e=e||{};let r=this.clone(e);return this.parent.insertBefore(this,r),r}cloneAfter(e){e=e||{};let r=this.clone(e);return this.parent.insertAfter(this,r),r}replaceWith(){let e=Array.prototype.slice.call(arguments);if(this.parent){for(let r of e)this.parent.insertBefore(this,r);this.remove()}return this}moveTo(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this}moveBefore(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this}moveAfter(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this}next(){let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){let e=this.parent.index(this);return this.parent.nodes[e-1]}toJSON(){let e={};for(let r in this){if(!this.hasOwnProperty(r)||r==="parent")continue;let n=this[r];n instanceof Array?e[r]=n.map(i=>typeof i=="object"&&i.toJSON?i.toJSON():i):typeof n=="object"&&n.toJSON?e[r]=n.toJSON():e[r]=n}return e}root(){let e=this;for(;e.parent;)e=e.parent;return e}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}positionInside(e){let r=this.toString(),n=this.source.start.column,i=this.source.start.line;for(let o=0;o<e;o++)r[o]===`
4
- `?(n=1,i+=1):n+=1;return{line:i,column:n}}positionBy(e){let r=this.source.start;if(Object(e).index)r=this.positionInside(e.index);else if(Object(e).word){let n=this.toString().indexOf(e.word);n!==-1&&(r=this.positionInside(n))}return r}}});var N=v((Gw,$i)=>{"use strict";c();var Xl=z(),me=class extends Xl{constructor(e){super(e),this.nodes||(this.nodes=[])}push(e){return e.parent=this,this.nodes.push(e),this}each(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let r=this.lastEach,n,i;if(this.indexes[r]=0,!!this.nodes){for(;this.indexes[r]<this.nodes.length&&(n=this.indexes[r],i=e(this.nodes[n],n),i!==!1);)this.indexes[r]+=1;return delete this.indexes[r],i}}walk(e){return this.each((r,n)=>{let i=e(r,n);return i!==!1&&r.walk&&(i=r.walk(e)),i})}walkType(e,r){if(!e||!r)throw new Error("Parameters {type} and {callback} are required.");let n=typeof e=="function";return this.walk((i,o)=>{if(n&&i instanceof e||!n&&i.type===e)return r.call(this,i,o)})}append(e){return e.parent=this,this.nodes.push(e),this}prepend(e){return e.parent=this,this.nodes.unshift(e),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let r of this.nodes)r.cleanRaws(e)}insertAfter(e,r){let n=this.index(e),i;this.nodes.splice(n+1,0,r);for(let o in this.indexes)i=this.indexes[o],n<=i&&(this.indexes[o]=i+this.nodes.length);return this}insertBefore(e,r){let n=this.index(e),i;this.nodes.splice(n,0,r);for(let o in this.indexes)i=this.indexes[o],n<=i&&(this.indexes[o]=i+this.nodes.length);return this}removeChild(e){e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);let r;for(let n in this.indexes)r=this.indexes[n],r>=e&&(this.indexes[n]=r-1);return this}removeAll(){for(let e of this.nodes)e.parent=void 0;return this.nodes=[],this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:this.nodes.indexOf(e)}get first(){if(!!this.nodes)return this.nodes[0]}get last(){if(!!this.nodes)return this.nodes[this.nodes.length-1]}toString(){let e=this.nodes.map(String).join("");return this.value&&(e=this.value+e),this.raws.before&&(e=this.raws.before+e),this.raws.after&&(e+=this.raws.after),e}};me.registerWalker=t=>{let e="walk"+t.name;e.lastIndexOf("s")!==e.length-1&&(e+="s"),!me.prototype[e]&&(me.prototype[e]=function(r){return this.walkType(t,r)})};$i.exports=me});var Wi=v((Qw,Fi)=>{"use strict";c();var ec=N();Fi.exports=class extends ec{constructor(e){super(e),this.type="root"}}});var Gi=v((Zw,Vi)=>{"use strict";c();var tc=N();Vi.exports=class extends tc{constructor(e){super(e),this.type="value",this.unbalanced=0}}});var Qi=v((ev,Ji)=>{"use strict";c();var Hi=N(),pt=class extends Hi{constructor(e){super(e),this.type="atword"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};Hi.registerWalker(pt);Ji.exports=pt});var Yi=v((rv,Ki)=>{"use strict";c();var rc=N(),nc=z(),dt=class extends nc{constructor(e){super(e),this.type="colon"}};rc.registerWalker(dt);Ki.exports=dt});var Xi=v((iv,Zi)=>{"use strict";c();var ic=N(),sc=z(),mt=class extends sc{constructor(e){super(e),this.type="comma"}};ic.registerWalker(mt);Zi.exports=mt});var ts=v((ov,es)=>{"use strict";c();var oc=N(),ac=z(),gt=class extends ac{constructor(e){super(e),this.type="comment",this.inline=Object(e).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};oc.registerWalker(gt);es.exports=gt});var is=v((uv,ns)=>{"use strict";c();var rs=N(),yt=class extends rs{constructor(e){super(e),this.type="func",this.unbalanced=-1}};rs.registerWalker(yt);ns.exports=yt});var os=v((cv,ss)=>{"use strict";c();var uc=N(),lc=z(),wt=class extends lc{constructor(e){super(e),this.type="number",this.unit=Object(e).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};uc.registerWalker(wt);ss.exports=wt});var us=v((hv,as)=>{"use strict";c();var cc=N(),fc=z(),vt=class extends fc{constructor(e){super(e),this.type="operator"}};cc.registerWalker(vt);as.exports=vt});var cs=v((dv,ls)=>{"use strict";c();var hc=N(),pc=z(),xt=class extends pc{constructor(e){super(e),this.type="paren",this.parenType=""}};hc.registerWalker(xt);ls.exports=xt});var hs=v((gv,fs)=>{"use strict";c();var dc=N(),mc=z(),bt=class extends mc{constructor(e){super(e),this.type="string"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,e,this.value+"",e,this.raws.after].join("")}};dc.registerWalker(bt);fs.exports=bt});var ds=v((wv,ps)=>{"use strict";c();var gc=N(),yc=z(),kt=class extends yc{constructor(e){super(e),this.type="word"}};gc.registerWalker(kt);ps.exports=kt});var gs=v((xv,ms)=>{"use strict";c();var wc=N(),vc=z(),Ot=class extends vc{constructor(e){super(e),this.type="unicode-range"}};wc.registerWalker(Ot);ms.exports=Ot});function ys(){throw new Error("setTimeout has not been defined")}function ws(){throw new Error("clearTimeout has not been defined")}function vs(t){if(K===setTimeout)return setTimeout(t,0);if((K===ys||!K)&&setTimeout)return K=setTimeout,setTimeout(t,0);try{return K(t,0)}catch{try{return K.call(null,t,0)}catch{return K.call(this,t,0)}}}function xc(t){if(Y===clearTimeout)return clearTimeout(t);if((Y===ws||!Y)&&clearTimeout)return Y=clearTimeout,clearTimeout(t);try{return Y(t)}catch{try{return Y.call(null,t)}catch{return Y.call(this,t)}}}function bc(){!ye||!re||(ye=!1,re.length?G=re.concat(G):St=-1,G.length&&xs())}function xs(){if(!ye){var t=vs(bc);ye=!0;for(var e=G.length;e;){for(re=G,G=[];++St<e;)re&&re[St].run();St=-1,e=G.length}re=null,ye=!1,xc(t)}}function kc(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)e[r-1]=arguments[r];G.push(new bs(t,e)),G.length===1&&!ye&&vs(xs)}function bs(t,e){this.fun=t,this.array=e}function ne(){}function jc(t){throw new Error("process.binding is not supported")}function Uc(){return"/"}function Bc(t){throw new Error("process.chdir is not supported")}function $c(){return 0}function Wc(t){var e=Fc.call(ge)*.001,r=Math.floor(e),n=Math.floor(e%1*1e9);return t&&(r=r-t[0],n=n-t[1],n<0&&(r--,n+=1e9)),[r,n]}function Gc(){var t=new Date,e=t-Vc;return e/1e3}var K,Y,G,ye,re,St,Oc,Sc,Tc,_c,Ec,Ac,Cc,qc,Rc,Pc,Ic,Nc,Mc,Dc,Lc,zc,ge,Fc,Vc,Hc,Re,ks=Q(()=>{c();K=ys,Y=ws;typeof globalThis.setTimeout=="function"&&(K=setTimeout);typeof globalThis.clearTimeout=="function"&&(Y=clearTimeout);G=[],ye=!1,St=-1;bs.prototype.run=function(){this.fun.apply(null,this.array)};Oc="browser",Sc="browser",Tc=!0,_c={},Ec=[],Ac="",Cc={},qc={},Rc={};Pc=ne,Ic=ne,Nc=ne,Mc=ne,Dc=ne,Lc=ne,zc=ne;ge=globalThis.performance||{},Fc=ge.now||ge.mozNow||ge.msNow||ge.oNow||ge.webkitNow||function(){return new Date().getTime()};Vc=new Date;Hc={nextTick:kc,title:Oc,browser:Tc,env:_c,argv:Ec,version:Ac,versions:Cc,on:Pc,addListener:Ic,once:Nc,off:Mc,removeListener:Dc,removeAllListeners:Lc,emit:zc,binding:jc,cwd:Uc,chdir:Bc,umask:$c,hrtime:Wc,platform:Sc,release:qc,config:Rc,uptime:Gc},Re=Hc});var Ur,Br,Os=Q(()=>{c();typeof Object.create=="function"?Ur=function(e,r){e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:Ur=function(e,r){e.super_=r;var n=function(){};n.prototype=r.prototype,e.prototype=new n,e.prototype.constructor=e};Br=Ur});var qs={};ut(qs,{_extend:()=>Kr,debuglog:()=>Ss,default:()=>nf,deprecate:()=>Gr,format:()=>At,inherits:()=>Br,inspect:()=>B,isArray:()=>Hr,isBoolean:()=>Ct,isBuffer:()=>Es,isDate:()=>Et,isError:()=>Ie,isFunction:()=>Ne,isNull:()=>$,isNullOrUndefined:()=>qt,isNumber:()=>Jr,isObject:()=>F,isPrimitive:()=>_s,isRegExp:()=>Pe,isString:()=>H,isSymbol:()=>Ts,isUndefined:()=>U,log:()=>As});function At(t){if(!H(t)){for(var e=[],r=0;r<arguments.length;r++)e.push(B(arguments[r]));return e.join(" ")}for(var r=1,n=arguments,i=n.length,o=String(t).replace(Jc,function(u){if(u==="%%")return"%";if(r>=i)return u;switch(u){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch{return"[Circular]"}default:return u}}),s=n[r];r<i;s=n[++r])$(s)||!F(s)?o+=" "+s:o+=" "+B(s);return o}function Gr(t,e){if(U(globalThis.process))return function(){return Gr(t,e).apply(this,arguments)};if(Re.noDeprecation===!0)return t;var r=!1;function n(){if(!r){if(Re.throwDeprecation)throw new Error(e);Re.traceDeprecation?console.trace(e):console.error(e),r=!0}return t.apply(this,arguments)}return n}function Ss(t){if(U($r)&&($r=Re.env.NODE_DEBUG||""),t=t.toUpperCase(),!Tt[t])if(new RegExp("\\b"+t+"\\b","i").test($r)){var e=0;Tt[t]=function(){var r=At.apply(null,arguments);console.error("%s %d: %s",t,e,r)}}else Tt[t]=function(){};return Tt[t]}function B(t,e){var r={seen:[],stylize:Kc};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),Ct(e)?r.showHidden=e:e&&Kr(r,e),U(r.showHidden)&&(r.showHidden=!1),U(r.depth)&&(r.depth=2),U(r.colors)&&(r.colors=!1),U(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=Qc),_t(r,t,r.depth)}function Qc(t,e){var r=B.styles[e];return r?"\x1B["+B.colors[r][0]+"m"+t+"\x1B["+B.colors[r][1]+"m":t}function Kc(t,e){return t}function Yc(t){var e={};return t.forEach(function(r,n){e[r]=!0}),e}function _t(t,e,r){if(t.customInspect&&e&&Ne(e.inspect)&&e.inspect!==B&&!(e.constructor&&e.constructor.prototype===e)){var n=e.inspect(r,t);return H(n)||(n=_t(t,n,r)),n}var i=Zc(t,e);if(i)return i;var o=Object.keys(e),s=Yc(o);if(t.showHidden&&(o=Object.getOwnPropertyNames(e)),Ie(e)&&(o.indexOf("message")>=0||o.indexOf("description")>=0))return Fr(e);if(o.length===0){if(Ne(e)){var u=e.name?": "+e.name:"";return t.stylize("[Function"+u+"]","special")}if(Pe(e))return t.stylize(RegExp.prototype.toString.call(e),"regexp");if(Et(e))return t.stylize(Date.prototype.toString.call(e),"date");if(Ie(e))return Fr(e)}var a="",l=!1,h=["{","}"];if(Hr(e)&&(l=!0,h=["[","]"]),Ne(e)){var p=e.name?": "+e.name:"";a=" [Function"+p+"]"}if(Pe(e)&&(a=" "+RegExp.prototype.toString.call(e)),Et(e)&&(a=" "+Date.prototype.toUTCString.call(e)),Ie(e)&&(a=" "+Fr(e)),o.length===0&&(!l||e.length==0))return h[0]+a+h[1];if(r<0)return Pe(e)?t.stylize(RegExp.prototype.toString.call(e),"regexp"):t.stylize("[Object]","special");t.seen.push(e);var f;return l?f=Xc(t,e,r,s,o):f=o.map(function(g){return Vr(t,e,r,s,g,l)}),t.seen.pop(),ef(f,a,h)}function Zc(t,e){if(U(e))return t.stylize("undefined","undefined");if(H(e)){var r="'"+JSON.stringify(e).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return t.stylize(r,"string")}if(Jr(e))return t.stylize(""+e,"number");if(Ct(e))return t.stylize(""+e,"boolean");if($(e))return t.stylize("null","null")}function Fr(t){return"["+Error.prototype.toString.call(t)+"]"}function Xc(t,e,r,n,i){for(var o=[],s=0,u=e.length;s<u;++s)Cs(e,String(s))?o.push(Vr(t,e,r,n,String(s),!0)):o.push("");return i.forEach(function(a){a.match(/^\d+$/)||o.push(Vr(t,e,r,n,a,!0))}),o}function Vr(t,e,r,n,i,o){var s,u,a;if(a=Object.getOwnPropertyDescriptor(e,i)||{value:e[i]},a.get?a.set?u=t.stylize("[Getter/Setter]","special"):u=t.stylize("[Getter]","special"):a.set&&(u=t.stylize("[Setter]","special")),Cs(n,i)||(s="["+i+"]"),u||(t.seen.indexOf(a.value)<0?($(r)?u=_t(t,a.value,null):u=_t(t,a.value,r-1),u.indexOf(`
5
- `)>-1&&(o?u=u.split(`
6
- `).map(function(l){return" "+l}).join(`
7
- `).substr(2):u=`
8
- `+u.split(`
9
- `).map(function(l){return" "+l}).join(`
10
- `))):u=t.stylize("[Circular]","special")),U(s)){if(o&&i.match(/^\d+$/))return u;s=JSON.stringify(""+i),s.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(s=s.substr(1,s.length-2),s=t.stylize(s,"name")):(s=s.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),s=t.stylize(s,"string"))}return s+": "+u}function ef(t,e,r){var n=0,i=t.reduce(function(o,s){return n++,s.indexOf(`
11
- `)>=0&&n++,o+s.replace(/\u001b\[\d\d?m/g,"").length+1},0);return i>60?r[0]+(e===""?"":e+`
12
- `)+" "+t.join(`,
13
- `)+" "+r[1]:r[0]+e+" "+t.join(", ")+" "+r[1]}function Hr(t){return Array.isArray(t)}function Ct(t){return typeof t=="boolean"}function $(t){return t===null}function qt(t){return t==null}function Jr(t){return typeof t=="number"}function H(t){return typeof t=="string"}function Ts(t){return typeof t=="symbol"}function U(t){return t===void 0}function Pe(t){return F(t)&&Qr(t)==="[object RegExp]"}function F(t){return typeof t=="object"&&t!==null}function Et(t){return F(t)&&Qr(t)==="[object Date]"}function Ie(t){return F(t)&&(Qr(t)==="[object Error]"||t instanceof Error)}function Ne(t){return typeof t=="function"}function _s(t){return t===null||typeof t=="boolean"||typeof t=="number"||typeof t=="string"||typeof t=="symbol"||typeof t>"u"}function Es(t){return Buffer.isBuffer(t)}function Qr(t){return Object.prototype.toString.call(t)}function Wr(t){return t<10?"0"+t.toString(10):t.toString(10)}function rf(){var t=new Date,e=[Wr(t.getHours()),Wr(t.getMinutes()),Wr(t.getSeconds())].join(":");return[t.getDate(),tf[t.getMonth()],e].join(" ")}function As(){console.log("%s - %s",rf(),At.apply(null,arguments))}function Kr(t,e){if(!e||!F(e))return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}function Cs(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var Jc,Tt,$r,tf,nf,Yr=Q(()=>{c();ks();Os();Jc=/%[sdj%]/g;Tt={};B.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]};B.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};tf=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];nf={inherits:Br,_extend:Kr,log:As,isBuffer:Es,isPrimitive:_s,isFunction:Ne,isError:Ie,isDate:Et,isObject:F,isRegExp:Pe,isUndefined:U,isSymbol:Ts,isString:H,isNumber:Jr,isNullOrUndefined:qt,isNull:$,isBoolean:Ct,isArray:Hr,inspect:B,deprecate:Gr,format:At,debuglog:Ss}});var Rs=v((Cv,Rt)=>{c();var ie=(Yr(),lt(qs));if(ie&&ie.default){Rt.exports=ie.default;for(let t in ie)Rt.exports[t]=ie[t]}else ie&&(Rt.exports=ie)});var Is=v((Rv,Ps)=>{"use strict";c();var Zr=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};Ps.exports=Zr});var Bs=v((Iv,Us)=>{"use strict";c();var sf="{".charCodeAt(0),of="}".charCodeAt(0),af="(".charCodeAt(0),uf=")".charCodeAt(0),Ns="'".charCodeAt(0),lf='"'.charCodeAt(0),Ms="\\".charCodeAt(0),Pt="/".charCodeAt(0),cf=".".charCodeAt(0),ff=",".charCodeAt(0),hf=":".charCodeAt(0),Xr="*".charCodeAt(0),It="-".charCodeAt(0),en="+".charCodeAt(0),pf="#".charCodeAt(0),Me=`
14
- `.charCodeAt(0),tn=" ".charCodeAt(0),rn="\f".charCodeAt(0),nn=" ".charCodeAt(0),sn="\r".charCodeAt(0),df="@".charCodeAt(0),mf="e".charCodeAt(0),gf="E".charCodeAt(0),Ds="0".charCodeAt(0),Ls="9".charCodeAt(0),yf="u".charCodeAt(0),wf="U".charCodeAt(0),Nt=/[ \n\t\r\{\(\)'"\\;,/]/g,vf=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,we=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,xf=/^[a-z0-9]/i,bf=/^[a-f0-9?\-]/i,zs=Rs(),js=Is();Us.exports=function(e,r){r=r||{};let n=[],i=e.valueOf(),o=i.length,s=-1,u=1,a=0,l=0,h=null,p,f,g,x,m,w,y,E,b,A,S,C;function L(O){let T=zs.format("Unclosed %s at line: %d, column: %d, token: %d",O,u,a-s,a);throw new js(T)}function q(){let O=zs.format("Syntax error at line: %d, column: %d, token: %d",u,a-s,a);throw new js(O)}for(;a<o;){switch(p=i.charCodeAt(a),p===Me&&(s=a,u+=1),p){case Me:case tn:case nn:case sn:case rn:f=a;do f+=1,p=i.charCodeAt(f),p===Me&&(s=f,u+=1);while(p===tn||p===Me||p===nn||p===sn||p===rn);n.push(["space",i.slice(a,f),u,a-s,u,f-s,a]),a=f-1;break;case hf:f=a+1,n.push(["colon",i.slice(a,f),u,a-s,u,f-s,a]),a=f-1;break;case ff:f=a+1,n.push(["comma",i.slice(a,f),u,a-s,u,f-s,a]),a=f-1;break;case sf:n.push(["{","{",u,a-s,u,f-s,a]);break;case of:n.push(["}","}",u,a-s,u,f-s,a]);break;case af:l++,h=!h&&l===1&&n.length>0&&n[n.length-1][0]==="word"&&n[n.length-1][1]==="url",n.push(["(","(",u,a-s,u,f-s,a]);break;case uf:l--,h=h&&l>0,n.push([")",")",u,a-s,u,f-s,a]);break;case Ns:case lf:g=p===Ns?"'":'"',f=a;do for(A=!1,f=i.indexOf(g,f+1),f===-1&&L("quote",g),S=f;i.charCodeAt(S-1)===Ms;)S-=1,A=!A;while(A);n.push(["string",i.slice(a,f+1),u,a-s,u,f-s,a]),a=f;break;case df:Nt.lastIndex=a+1,Nt.test(i),Nt.lastIndex===0?f=i.length-1:f=Nt.lastIndex-2,n.push(["atword",i.slice(a,f+1),u,a-s,u,f-s,a]),a=f;break;case Ms:f=a,p=i.charCodeAt(f+1),y&&p!==Pt&&p!==tn&&p!==Me&&p!==nn&&p!==sn&&p!==rn&&(f+=1),n.push(["word",i.slice(a,f+1),u,a-s,u,f-s,a]),a=f;break;case en:case It:case Xr:f=a+1,C=i.slice(a+1,f+1);let O=i.slice(a-1,a);if(p===It&&C.charCodeAt(0)===It){f++,n.push(["word",i.slice(a,f),u,a-s,u,f-s,a]),a=f-1;break}n.push(["operator",i.slice(a,f),u,a-s,u,f-s,a]),a=f-1;break;default:if(p===Pt&&(i.charCodeAt(a+1)===Xr||r.loose&&!h&&i.charCodeAt(a+1)===Pt)){if(i.charCodeAt(a+1)===Xr)f=i.indexOf("*/",a+2)+1,f===0&&L("comment","*/");else{let R=i.indexOf(`
15
- `,a+2);f=R!==-1?R-1:o}w=i.slice(a,f+1),x=w.split(`
16
- `),m=x.length-1,m>0?(E=u+m,b=f-x[m].length):(E=u,b=s),n.push(["comment",w,u,a-s,E,f-b,a]),s=b,u=E,a=f}else if(p===pf&&!xf.test(i.slice(a+1,a+2)))f=a+1,n.push(["#",i.slice(a,f),u,a-s,u,f-s,a]),a=f-1;else if((p===yf||p===wf)&&i.charCodeAt(a+1)===en){f=a+2;do f+=1,p=i.charCodeAt(f);while(f<o&&bf.test(i.slice(f,f+1)));n.push(["unicoderange",i.slice(a,f),u,a-s,u,f-s,a]),a=f-1}else if(p===Pt)f=a+1,n.push(["operator",i.slice(a,f),u,a-s,u,f-s,a]),a=f-1;else{let T=vf;if(p>=Ds&&p<=Ls&&(T=we),T.lastIndex=a+1,T.test(i),T.lastIndex===0?f=i.length-1:f=T.lastIndex-2,T===we||p===cf){let R=i.charCodeAt(f),pe=i.charCodeAt(f+1),st=i.charCodeAt(f+2);(R===mf||R===gf)&&(pe===It||pe===en)&&st>=Ds&&st<=Ls&&(we.lastIndex=f+2,we.test(i),we.lastIndex===0?f=i.length-1:f=we.lastIndex-2)}n.push(["word",i.slice(a,f+1),u,a-s,u,f-s,a]),a=f}break}a++}return n}});var on=v((Mv,$s)=>{c();$s.exports=function(e,r){if(r=typeof r=="number"?r:1/0,!r)return Array.isArray(e)?e.map(function(i){return i}):e;return n(e,1);function n(i,o){return i.reduce(function(s,u){return Array.isArray(u)&&o<r?s.concat(n(u,o+1)):s.concat(u)},[])}}});var an=v((Lv,Fs)=>{c();Fs.exports=function(t,e){for(var r=-1,n=[];(r=t.indexOf(e,r+1))!==-1;)n.push(r);return n}});var un=v((jv,Ws)=>{"use strict";c();function kf(t,e){for(var r=1,n=t.length,i=t[0],o=t[0],s=1;s<n;++s)if(o=i,i=t[s],e(i,o)){if(s===r){r++;continue}t[r++]=i}return t.length=r,t}function Of(t){for(var e=1,r=t.length,n=t[0],i=t[0],o=1;o<r;++o,i=n)if(i=n,n=t[o],n!==i){if(o===e){e++;continue}t[e++]=n}return t.length=e,t}function Sf(t,e,r){return t.length===0?t:e?(r||t.sort(e),kf(t,e)):(r||t.sort(),Of(t))}Ws.exports=Sf});var Gs=v((Bv,Vs)=>{"use strict";c();var ln=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};Vs.exports=ln});var Ks=v((Wv,Qs)=>{"use strict";c();var Tf=Wi(),_f=Gi(),Ef=Qi(),Af=Yi(),Cf=Xi(),qf=ts(),Rf=is(),Pf=os(),If=us(),Hs=cs(),Nf=hs(),Js=ds(),Mf=gs(),Df=Bs(),Lf=on(),zf=an(),jf=un(),Uf=Gs();function Bf(t){return t.sort((e,r)=>e-r)}Qs.exports=class{constructor(e,r){let n={loose:!1};this.cache=[],this.input=e,this.options=Object.assign({},n,r),this.position=0,this.unbalanced=0,this.root=new Tf;let i=new _f;this.root.append(i),this.current=i,this.tokens=Df(e,this.options)}parse(){return this.loop()}colon(){let e=this.currToken;this.newNode(new Af({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comma(){let e=this.currToken;this.newNode(new Cf({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comment(){let e=!1,r=this.currToken[1].replace(/\/\*|\*\//g,""),n;this.options.loose&&r.startsWith("//")&&(r=r.substring(2),e=!0),n=new qf({value:r,inline:e,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]}),this.newNode(n),this.position++}error(e,r){throw new Uf(e+` at line: ${r[2]}, column ${r[3]}`)}loop(){for(;this.position<this.tokens.length;)this.parseTokens();return!this.current.last&&this.spaces?this.current.raws.before+=this.spaces:this.spaces&&(this.current.last.raws.after+=this.spaces),this.spaces="",this.root}operator(){let e=this.currToken[1],r;if(e==="+"||e==="-"){if(this.options.loose||this.position>0&&(this.current.type==="func"&&this.current.value==="calc"?this.prevToken[0]!=="space"&&this.prevToken[0]!=="("?this.error("Syntax Error",this.currToken):this.nextToken[0]!=="space"&&this.nextToken[0]!=="word"?this.error("Syntax Error",this.currToken):this.nextToken[0]==="word"&&this.current.last.type!=="operator"&&this.current.last.value!=="("&&this.error("Syntax Error",this.currToken):(this.nextToken[0]==="space"||this.nextToken[0]==="operator"||this.prevToken[0]==="operator")&&this.error("Syntax Error",this.currToken)),this.options.loose){if((!this.current.nodes.length||this.current.last&&this.current.last.type==="operator")&&this.nextToken[0]==="word")return this.word()}else if(this.nextToken[0]==="word")return this.word()}return r=new If({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),this.position++,this.newNode(r)}parseTokens(){switch(this.currToken[0]){case"space":this.space();break;case"colon":this.colon();break;case"comma":this.comma();break;case"comment":this.comment();break;case"(":this.parenOpen();break;case")":this.parenClose();break;case"atword":case"word":this.word();break;case"operator":this.operator();break;case"string":this.string();break;case"unicoderange":this.unicodeRange();break;default:this.word();break}}parenOpen(){let e=1,r=this.position+1,n=this.currToken,i;for(;r<this.tokens.length&&e;){let o=this.tokens[r];o[0]==="("&&e++,o[0]===")"&&e--,r++}if(e&&this.error("Expected closing parenthesis",n),i=this.current.last,i&&i.type==="func"&&i.unbalanced<0&&(i.unbalanced=0,this.current=i),this.current.unbalanced++,this.newNode(new Hs({value:n[1],source:{start:{line:n[2],column:n[3]},end:{line:n[4],column:n[5]}},sourceIndex:n[6]})),this.position++,this.current.type==="func"&&this.current.unbalanced&&this.current.value==="url"&&this.currToken[0]!=="string"&&this.currToken[0]!==")"&&!this.options.loose){let o=this.nextToken,s=this.currToken[1],u={line:this.currToken[2],column:this.currToken[3]};for(;o&&o[0]!==")"&&this.current.unbalanced;)this.position++,s+=this.currToken[1],o=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new Js({value:s,source:{start:u,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let e=this.currToken;this.newNode(new Hs({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",e),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let e=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=e[1],this.position++):(this.spaces=e[1],this.position++)}unicodeRange(){let e=this.currToken;this.newNode(new Mf({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}splitWord(){let e=this.nextToken,r=this.currToken[1],n=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,i=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,o,s;if(!i.test(r))for(;e&&e[0]==="word";)this.position++,r+=this.currToken[1],e=this.nextToken;o=zf(r,"@"),s=Bf(jf(Lf([[0],o]))),s.forEach((u,a)=>{let l=s[a+1]||r.length,h=r.slice(u,l),p;if(~o.indexOf(u))p=new Ef({value:h.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+u},end:{line:this.currToken[4],column:this.currToken[3]+(l-1)}},sourceIndex:this.currToken[6]+s[a]});else if(n.test(this.currToken[1])){let f=h.replace(n,"");p=new Pf({value:h.replace(f,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+u},end:{line:this.currToken[4],column:this.currToken[3]+(l-1)}},sourceIndex:this.currToken[6]+s[a],unit:f})}else p=new(e&&e[0]==="("?Rf:Js)({value:h,source:{start:{line:this.currToken[2],column:this.currToken[3]+u},end:{line:this.currToken[4],column:this.currToken[3]+(l-1)}},sourceIndex:this.currToken[6]+s[a]}),p.type==="word"?(p.isHex=/^#(.+)/.test(h),p.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(h)):this.cache.push(this.current);this.newNode(p)}),this.position++}string(){let e=this.currToken,r=this.currToken[1],n=/^(\"|\')/,i=n.test(r),o="",s;i&&(o=r.match(n)[0],r=r.slice(1,r.length-1)),s=new Nf({value:r,source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6],quoted:i}),s.raws.quote=o,this.newNode(s),this.position++}word(){return this.splitWord()}newNode(e){return this.spaces&&(e.raws.before+=this.spaces,this.spaces=""),this.current.append(e)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}});var se=v((Mt,Zs)=>{"use strict";c();Mt.__esModule=!0;var Ys=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function $f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Ff=function t(e,r){if((typeof e>"u"?"undefined":Ys(e))!=="object")return e;var n=new e.constructor;for(var i in e)if(!!e.hasOwnProperty(i)){var o=e[i],s=typeof o>"u"?"undefined":Ys(o);i==="parent"&&s==="object"?r&&(n[i]=r):o instanceof Array?n[i]=o.map(function(u){return t(u,n)}):n[i]=t(o,n)}return n},Wf=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};$f(this,t);for(var r in e)this[r]=e[r];var n=e.spaces;n=n===void 0?{}:n;var i=n.before,o=i===void 0?"":i,s=n.after,u=s===void 0?"":s;this.spaces={before:o,after:u}}return t.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.prototype.replaceWith=function(){if(this.parent){for(var r in arguments)this.parent.insertBefore(this,arguments[r]);this.remove()}return this},t.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.prototype.clone=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=Ff(this);for(var i in r)n[i]=r[i];return n},t.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},t}();Mt.default=Wf;Zs.exports=Mt.default});var I=v(M=>{"use strict";c();M.__esModule=!0;var Hv=M.TAG="tag",Jv=M.STRING="string",Qv=M.SELECTOR="selector",Kv=M.ROOT="root",Yv=M.PSEUDO="pseudo",Zv=M.NESTING="nesting",Xv=M.ID="id",ex=M.COMMENT="comment",tx=M.COMBINATOR="combinator",rx=M.CLASS="class",nx=M.ATTRIBUTE="attribute",ix=M.UNIVERSAL="universal"});var Lt=v((Dt,Xs)=>{"use strict";c();Dt.__esModule=!0;var Vf=function(){function t(e,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),Gf=se(),Hf=Kf(Gf),Jf=I(),J=Qf(Jf);function Qf(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function Kf(t){return t&&t.__esModule?t:{default:t}}function Yf(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zf(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Xf(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var eh=function(t){Xf(e,t);function e(r){Yf(this,e);var n=Zf(this,t.call(this,r));return n.nodes||(n.nodes=[]),n}return e.prototype.append=function(n){return n.parent=this,this.nodes.push(n),this},e.prototype.prepend=function(n){return n.parent=this,this.nodes.unshift(n),this},e.prototype.at=function(n){return this.nodes[n]},e.prototype.index=function(n){return typeof n=="number"?n:this.nodes.indexOf(n)},e.prototype.removeChild=function(n){n=this.index(n),this.at(n).parent=void 0,this.nodes.splice(n,1);var i=void 0;for(var o in this.indexes)i=this.indexes[o],i>=n&&(this.indexes[o]=i-1);return this},e.prototype.removeAll=function(){for(var o=this.nodes,n=Array.isArray(o),i=0,o=n?o:o[Symbol.iterator]();;){var s;if(n){if(i>=o.length)break;s=o[i++]}else{if(i=o.next(),i.done)break;s=i.value}var u=s;u.parent=void 0}return this.nodes=[],this},e.prototype.empty=function(){return this.removeAll()},e.prototype.insertAfter=function(n,i){var o=this.index(n);this.nodes.splice(o+1,0,i);var s=void 0;for(var u in this.indexes)s=this.indexes[u],o<=s&&(this.indexes[u]=s+this.nodes.length);return this},e.prototype.insertBefore=function(n,i){var o=this.index(n);this.nodes.splice(o,0,i);var s=void 0;for(var u in this.indexes)s=this.indexes[u],o<=s&&(this.indexes[u]=s+this.nodes.length);return this},e.prototype.each=function(n){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var i=this.lastEach;if(this.indexes[i]=0,!!this.length){for(var o=void 0,s=void 0;this.indexes[i]<this.length&&(o=this.indexes[i],s=n(this.at(o),o),s!==!1);)this.indexes[i]+=1;if(delete this.indexes[i],s===!1)return!1}},e.prototype.walk=function(n){return this.each(function(i,o){var s=n(i,o);if(s!==!1&&i.length&&(s=i.walk(n)),s===!1)return!1})},e.prototype.walkAttributes=function(n){var i=this;return this.walk(function(o){if(o.type===J.ATTRIBUTE)return n.call(i,o)})},e.prototype.walkClasses=function(n){var i=this;return this.walk(function(o){if(o.type===J.CLASS)return n.call(i,o)})},e.prototype.walkCombinators=function(n){var i=this;return this.walk(function(o){if(o.type===J.COMBINATOR)return n.call(i,o)})},e.prototype.walkComments=function(n){var i=this;return this.walk(function(o){if(o.type===J.COMMENT)return n.call(i,o)})},e.prototype.walkIds=function(n){var i=this;return this.walk(function(o){if(o.type===J.ID)return n.call(i,o)})},e.prototype.walkNesting=function(n){var i=this;return this.walk(function(o){if(o.type===J.NESTING)return n.call(i,o)})},e.prototype.walkPseudos=function(n){var i=this;return this.walk(function(o){if(o.type===J.PSEUDO)return n.call(i,o)})},e.prototype.walkTags=function(n){var i=this;return this.walk(function(o){if(o.type===J.TAG)return n.call(i,o)})},e.prototype.walkUniversals=function(n){var i=this;return this.walk(function(o){if(o.type===J.UNIVERSAL)return n.call(i,o)})},e.prototype.split=function(n){var i=this,o=[];return this.reduce(function(s,u,a){var l=n.call(i,u);return o.push(u),l?(s.push(o),o=[]):a===i.length-1&&s.push(o),s},[])},e.prototype.map=function(n){return this.nodes.map(n)},e.prototype.reduce=function(n,i){return this.nodes.reduce(n,i)},e.prototype.every=function(n){return this.nodes.every(n)},e.prototype.some=function(n){return this.nodes.some(n)},e.prototype.filter=function(n){return this.nodes.filter(n)},e.prototype.sort=function(n){return this.nodes.sort(n)},e.prototype.toString=function(){return this.map(String).join("")},Vf(e,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),e}(Hf.default);Dt.default=eh;Xs.exports=Dt.default});var to=v((zt,eo)=>{"use strict";c();zt.__esModule=!0;var th=Lt(),rh=ih(th),nh=I();function ih(t){return t&&t.__esModule?t:{default:t}}function sh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function ah(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var uh=function(t){ah(e,t);function e(r){sh(this,e);var n=oh(this,t.call(this,r));return n.type=nh.ROOT,n}return e.prototype.toString=function(){var n=this.reduce(function(i,o){var s=String(o);return s?i+s+",":""},"").slice(0,-1);return this.trailingComma?n+",":n},e}(rh.default);zt.default=uh;eo.exports=zt.default});var no=v((jt,ro)=>{"use strict";c();jt.__esModule=!0;var lh=Lt(),ch=hh(lh),fh=I();function hh(t){return t&&t.__esModule?t:{default:t}}function ph(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function mh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var gh=function(t){mh(e,t);function e(r){ph(this,e);var n=dh(this,t.call(this,r));return n.type=fh.SELECTOR,n}return e}(ch.default);jt.default=gh;ro.exports=jt.default});var ve=v((Ut,io)=>{"use strict";c();Ut.__esModule=!0;var yh=function(){function t(e,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),wh=se(),vh=xh(wh);function xh(t){return t&&t.__esModule?t:{default:t}}function bh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Oh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Sh=function(t){Oh(e,t);function e(){return bh(this,e),kh(this,t.apply(this,arguments))}return e.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},yh(e,[{key:"ns",get:function(){var n=this.namespace;return n?(typeof n=="string"?n:"")+"|":""}}]),e}(vh.default);Ut.default=Sh;io.exports=Ut.default});var oo=v((Bt,so)=>{"use strict";c();Bt.__esModule=!0;var Th=ve(),_h=Ah(Th),Eh=I();function Ah(t){return t&&t.__esModule?t:{default:t}}function Ch(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Rh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ph=function(t){Rh(e,t);function e(r){Ch(this,e);var n=qh(this,t.call(this,r));return n.type=Eh.CLASS,n}return e.prototype.toString=function(){return[this.spaces.before,this.ns,String("."+this.value),this.spaces.after].join("")},e}(_h.default);Bt.default=Ph;so.exports=Bt.default});var uo=v(($t,ao)=>{"use strict";c();$t.__esModule=!0;var Ih=se(),Nh=Dh(Ih),Mh=I();function Dh(t){return t&&t.__esModule?t:{default:t}}function Lh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function jh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Uh=function(t){jh(e,t);function e(r){Lh(this,e);var n=zh(this,t.call(this,r));return n.type=Mh.COMMENT,n}return e}(Nh.default);$t.default=Uh;ao.exports=$t.default});var co=v((Ft,lo)=>{"use strict";c();Ft.__esModule=!0;var Bh=ve(),$h=Wh(Bh),Fh=I();function Wh(t){return t&&t.__esModule?t:{default:t}}function Vh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gh(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Hh(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Jh=function(t){Hh(e,t);function e(r){Vh(this,e);var n=Gh(this,t.call(this,r));return n.type=Fh.ID,n}return e.prototype.toString=function(){return[this.spaces.before,this.ns,String("#"+this.value),this.spaces.after].join("")},e}($h.default);Ft.default=Jh;lo.exports=Ft.default});var ho=v((Wt,fo)=>{"use strict";c();Wt.__esModule=!0;var Qh=ve(),Kh=Zh(Qh),Yh=I();function Zh(t){return t&&t.__esModule?t:{default:t}}function Xh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ep(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function tp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var rp=function(t){tp(e,t);function e(r){Xh(this,e);var n=ep(this,t.call(this,r));return n.type=Yh.TAG,n}return e}(Kh.default);Wt.default=rp;fo.exports=Wt.default});var mo=v((Vt,po)=>{"use strict";c();Vt.__esModule=!0;var np=se(),ip=op(np),sp=I();function op(t){return t&&t.__esModule?t:{default:t}}function ap(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function up(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function lp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var cp=function(t){lp(e,t);function e(r){ap(this,e);var n=up(this,t.call(this,r));return n.type=sp.STRING,n}return e}(ip.default);Vt.default=cp;po.exports=Vt.default});var yo=v((Gt,go)=>{"use strict";c();Gt.__esModule=!0;var fp=Lt(),hp=dp(fp),pp=I();function dp(t){return t&&t.__esModule?t:{default:t}}function mp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gp(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function yp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var wp=function(t){yp(e,t);function e(r){mp(this,e);var n=gp(this,t.call(this,r));return n.type=pp.PSEUDO,n}return e.prototype.toString=function(){var n=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),n,this.spaces.after].join("")},e}(hp.default);Gt.default=wp;go.exports=Gt.default});var vo=v((Ht,wo)=>{"use strict";c();Ht.__esModule=!0;var vp=ve(),xp=kp(vp),bp=I();function kp(t){return t&&t.__esModule?t:{default:t}}function Op(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sp(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Tp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var _p=function(t){Tp(e,t);function e(r){Op(this,e);var n=Sp(this,t.call(this,r));return n.type=bp.ATTRIBUTE,n.raws={},n}return e.prototype.toString=function(){var n=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&n.push(this.operator),this.value&&n.push(this.value),this.raws.insensitive?n.push(this.raws.insensitive):this.insensitive&&n.push(" i"),n.push("]"),n.concat(this.spaces.after).join("")},e}(xp.default);Ht.default=_p;wo.exports=Ht.default});var bo=v((Jt,xo)=>{"use strict";c();Jt.__esModule=!0;var Ep=ve(),Ap=qp(Ep),Cp=I();function qp(t){return t&&t.__esModule?t:{default:t}}function Rp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pp(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Ip(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Np=function(t){Ip(e,t);function e(r){Rp(this,e);var n=Pp(this,t.call(this,r));return n.type=Cp.UNIVERSAL,n.value="*",n}return e}(Ap.default);Jt.default=Np;xo.exports=Jt.default});var Oo=v((Qt,ko)=>{"use strict";c();Qt.__esModule=!0;var Mp=se(),Dp=zp(Mp),Lp=I();function zp(t){return t&&t.__esModule?t:{default:t}}function jp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Up(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Bp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var $p=function(t){Bp(e,t);function e(r){jp(this,e);var n=Up(this,t.call(this,r));return n.type=Lp.COMBINATOR,n}return e}(Dp.default);Qt.default=$p;ko.exports=Qt.default});var To=v((Kt,So)=>{"use strict";c();Kt.__esModule=!0;var Fp=se(),Wp=Gp(Fp),Vp=I();function Gp(t){return t&&t.__esModule?t:{default:t}}function Hp(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jp(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Qp(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Kp=function(t){Qp(e,t);function e(r){Hp(this,e);var n=Jp(this,t.call(this,r));return n.type=Vp.NESTING,n.value="&",n}return e}(Wp.default);Kt.default=Kp;So.exports=Kt.default});var Eo=v((Yt,_o)=>{"use strict";c();Yt.__esModule=!0;Yt.default=Yp;function Yp(t){return t.sort(function(e,r){return e-r})}_o.exports=Yt.default});var Do=v((er,Mo)=>{"use strict";c();er.__esModule=!0;er.default=ud;var Ao=39,Zp=34,cn=92,Co=47,De=10,fn=32,hn=12,pn=9,dn=13,qo=43,Ro=62,Po=126,Io=124,Xp=44,ed=40,td=41,rd=91,nd=93,id=59,No=42,sd=58,od=38,ad=64,Zt=/[ \n\t\r\{\(\)'"\\;/]/g,Xt=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function ud(t){for(var e=[],r=t.css.valueOf(),n=void 0,i=void 0,o=void 0,s=void 0,u=void 0,a=void 0,l=void 0,h=void 0,p=void 0,f=void 0,g=void 0,x=r.length,m=-1,w=1,y=0,E=function(A,S){if(t.safe)r+=S,i=r.length-1;else throw t.error("Unclosed "+A,w,y-m,y)};y<x;){switch(n=r.charCodeAt(y),n===De&&(m=y,w+=1),n){case De:case fn:case pn:case dn:case hn:i=y;do i+=1,n=r.charCodeAt(i),n===De&&(m=i,w+=1);while(n===fn||n===De||n===pn||n===dn||n===hn);e.push(["space",r.slice(y,i),w,y-m,y]),y=i-1;break;case qo:case Ro:case Po:case Io:i=y;do i+=1,n=r.charCodeAt(i);while(n===qo||n===Ro||n===Po||n===Io);e.push(["combinator",r.slice(y,i),w,y-m,y]),y=i-1;break;case No:e.push(["*","*",w,y-m,y]);break;case od:e.push(["&","&",w,y-m,y]);break;case Xp:e.push([",",",",w,y-m,y]);break;case rd:e.push(["[","[",w,y-m,y]);break;case nd:e.push(["]","]",w,y-m,y]);break;case sd:e.push([":",":",w,y-m,y]);break;case id:e.push([";",";",w,y-m,y]);break;case ed:e.push(["(","(",w,y-m,y]);break;case td:e.push([")",")",w,y-m,y]);break;case Ao:case Zp:o=n===Ao?"'":'"',i=y;do for(f=!1,i=r.indexOf(o,i+1),i===-1&&E("quote",o),g=i;r.charCodeAt(g-1)===cn;)g-=1,f=!f;while(f);e.push(["string",r.slice(y,i+1),w,y-m,w,i-m,y]),y=i;break;case ad:Zt.lastIndex=y+1,Zt.test(r),Zt.lastIndex===0?i=r.length-1:i=Zt.lastIndex-2,e.push(["at-word",r.slice(y,i+1),w,y-m,w,i-m,y]),y=i;break;case cn:for(i=y,l=!0;r.charCodeAt(i+1)===cn;)i+=1,l=!l;n=r.charCodeAt(i+1),l&&n!==Co&&n!==fn&&n!==De&&n!==pn&&n!==dn&&n!==hn&&(i+=1),e.push(["word",r.slice(y,i+1),w,y-m,w,i-m,y]),y=i;break;default:n===Co&&r.charCodeAt(y+1)===No?(i=r.indexOf("*/",y+2)+1,i===0&&E("comment","*/"),a=r.slice(y,i+1),s=a.split(`
17
- `),u=s.length-1,u>0?(h=w+u,p=i-s[u].length):(h=w,p=m),e.push(["comment",a,w,y-m,h,i-p,y]),m=p,w=h,y=i):(Xt.lastIndex=y+1,Xt.test(r),Xt.lastIndex===0?i=r.length-1:i=Xt.lastIndex-2,e.push(["word",r.slice(y,i+1),w,y-m,w,i-m,y]),y=i);break}y++}return e}Mo.exports=er.default});var jo=v((tr,zo)=>{"use strict";c();tr.__esModule=!0;var ld=function(){function t(e,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),cd=on(),fd=P(cd),hd=an(),mn=P(hd),pd=un(),dd=P(pd),md=to(),gd=P(md),yd=no(),gn=P(yd),wd=oo(),vd=P(wd),xd=uo(),bd=P(xd),kd=co(),Od=P(kd),Sd=ho(),Td=P(Sd),_d=mo(),Ed=P(_d),Ad=yo(),Cd=P(Ad),qd=vo(),Rd=P(qd),Pd=bo(),Id=P(Pd),Nd=Oo(),Md=P(Nd),Dd=To(),Ld=P(Dd),zd=Eo(),jd=P(zd),Ud=Do(),Lo=P(Ud),Bd=I(),$d=Fd(Bd);function Fd(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}function P(t){return t&&t.__esModule?t:{default:t}}function Wd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Vd=function(){function t(e){Wd(this,t),this.input=e,this.lossy=e.options.lossless===!1,this.position=0,this.root=new gd.default;var r=new gn.default;return this.root.append(r),this.current=r,this.lossy?this.tokens=(0,Lo.default)({safe:e.safe,css:e.css.trim()}):this.tokens=(0,Lo.default)(e),this.loop()}return t.prototype.attribute=function(){var r="",n=void 0,i=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)r+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~r.indexOf("]")&&this.error("Expected a closing square bracket.");var o=r.split(/((?:[*~^$|]?=))([^]*)/),s=o[0].split(/(\|)/g),u={operator:o[1],value:o[2],source:{start:{line:i[2],column:i[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:i[4]};if(s.length>1?(s[0]===""&&(s[0]=!0),u.attribute=this.parseValue(s[2]),u.namespace=this.parseNamespace(s[0])):u.attribute=this.parseValue(o[0]),n=new Rd.default(u),o[2]){var a=o[2].split(/(\s+i\s*?)$/),l=a[0].trim();n.value=this.lossy?l:a[0],a[1]&&(n.insensitive=!0,this.lossy||(n.raws.insensitive=a[1])),n.quoted=l[0]==="'"||l[0]==='"',n.raws.unquoted=n.quoted?l.slice(1,-1):l}this.newNode(n),this.position++},t.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var r=new Md.default({value:"",source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]});this.position<this.tokens.length&&this.currToken&&(this.currToken[0]==="space"||this.currToken[0]==="combinator");)this.nextToken&&this.nextToken[0]==="combinator"?(r.spaces.before=this.parseSpace(this.currToken[1]),r.source.start.line=this.nextToken[2],r.source.start.column=this.nextToken[3],r.source.end.column=this.nextToken[3],r.source.end.line=this.nextToken[2],r.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?r.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?r.value=this.currToken[1]:this.currToken[0]==="space"&&(r.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(r)},t.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var r=new gn.default;this.current.parent.append(r),this.current=r,this.position++},t.prototype.comment=function(){var r=new bd.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]});this.newNode(r),this.position++},t.prototype.error=function(r){throw new this.input.error(r)},t.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},t.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},t.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},t.prototype.namespace=function(){var r=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(r);if(this.nextToken[0]==="*")return this.position++,this.universal(r)},t.prototype.nesting=function(){this.newNode(new Ld.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]})),this.position++},t.prototype.parentheses=function(){var r=this.current.last;if(r&&r.type===$d.PSEUDO){var n=new gn.default,i=this.current;r.append(n),this.current=n;var o=1;for(this.position++;this.position<this.tokens.length&&o;)this.currToken[0]==="("&&o++,this.currToken[0]===")"&&o--,o?this.parse():(n.parent.source.end.line=this.currToken[2],n.parent.source.end.column=this.currToken[3],this.position++);o&&this.error("Expected closing parenthesis."),this.current=i}else{var s=1;for(this.position++,r.value+="(";this.position<this.tokens.length&&s;)this.currToken[0]==="("&&s++,this.currToken[0]===")"&&s--,r.value+=this.parseParenthesisToken(this.currToken),this.position++;s&&this.error("Expected closing parenthesis.")}},t.prototype.pseudo=function(){for(var r=this,n="",i=this.currToken;this.currToken&&this.currToken[0]===":";)n+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var o=void 0;this.splitWord(!1,function(s,u){n+=s,o=new Cd.default({value:n,source:{start:{line:i[2],column:i[3]},end:{line:r.currToken[4],column:r.currToken[5]}},sourceIndex:i[4]}),r.newNode(o),u>1&&r.nextToken&&r.nextToken[0]==="("&&r.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},t.prototype.space=function(){var r=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(r[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(r[1]),this.position++):this.combinator()},t.prototype.string=function(){var r=this.currToken;this.newNode(new Ed.default({value:this.currToken[1],source:{start:{line:r[2],column:r[3]},end:{line:r[4],column:r[5]}},sourceIndex:r[6]})),this.position++},t.prototype.universal=function(r){var n=this.nextToken;if(n&&n[1]==="|")return this.position++,this.namespace();this.newNode(new Id.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),r),this.position++},t.prototype.splitWord=function(r,n){for(var i=this,o=this.nextToken,s=this.currToken[1];o&&o[0]==="word";){this.position++;var u=this.currToken[1];if(s+=u,u.lastIndexOf("\\")===u.length-1){var a=this.nextToken;a&&a[0]==="space"&&(s+=this.parseSpace(a[1]," "),this.position++)}o=this.nextToken}var l=(0,mn.default)(s,"."),h=(0,mn.default)(s,"#"),p=(0,mn.default)(s,"#{");p.length&&(h=h.filter(function(g){return!~p.indexOf(g)}));var f=(0,jd.default)((0,dd.default)((0,fd.default)([[0],l,h])));f.forEach(function(g,x){var m=f[x+1]||s.length,w=s.slice(g,m);if(x===0&&n)return n.call(i,w,f.length);var y=void 0;~l.indexOf(g)?y=new vd.default({value:w.slice(1),source:{start:{line:i.currToken[2],column:i.currToken[3]+g},end:{line:i.currToken[4],column:i.currToken[3]+(m-1)}},sourceIndex:i.currToken[6]+f[x]}):~h.indexOf(g)?y=new Od.default({value:w.slice(1),source:{start:{line:i.currToken[2],column:i.currToken[3]+g},end:{line:i.currToken[4],column:i.currToken[3]+(m-1)}},sourceIndex:i.currToken[6]+f[x]}):y=new Td.default({value:w,source:{start:{line:i.currToken[2],column:i.currToken[3]+g},end:{line:i.currToken[4],column:i.currToken[3]+(m-1)}},sourceIndex:i.currToken[6]+f[x]}),i.newNode(y,r)}),this.position++},t.prototype.word=function(r){var n=this.nextToken;return n&&n[1]==="|"?(this.position++,this.namespace()):this.splitWord(r)},t.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},t.prototype.parse=function(r){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":r&&this.missingParenthesis();break;case"[":this.attribute();break;case"]":this.missingSquareBracket();break;case"at-word":case"word":this.word();break;case":":this.pseudo();break;case";":this.missingBackslash();break;case",":this.comma();break;case"*":this.universal();break;case"&":this.nesting();break;case"combinator":this.combinator();break;case"string":this.string();break}},t.prototype.parseNamespace=function(r){if(this.lossy&&typeof r=="string"){var n=r.trim();return n.length?n:!0}return r},t.prototype.parseSpace=function(r,n){return this.lossy?n||"":r},t.prototype.parseValue=function(r){return this.lossy&&r&&typeof r=="string"?r.trim():r},t.prototype.parseParenthesisToken=function(r){return this.lossy?r[0]==="space"?this.parseSpace(r[1]," "):this.parseValue(r[1]):r[1]},t.prototype.newNode=function(r,n){return n&&(r.namespace=this.parseNamespace(n)),this.spaces&&(r.spaces.before=this.spaces,this.spaces=""),this.current.append(r)},ld(t,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),t}();tr.default=Vd;zo.exports=tr.default});var Bo=v((rr,Uo)=>{"use strict";c();rr.__esModule=!0;var Gd=function(){function t(e,r){for(var n=0;n<r.length;n++){var i=r[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,r,n){return r&&t(e.prototype,r),n&&t(e,n),e}}(),Hd=jo(),Jd=Qd(Hd);function Qd(t){return t&&t.__esModule?t:{default:t}}function Kd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Yd=function(){function t(e){return Kd(this,t),this.func=e||function(){},this}return t.prototype.process=function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=new Jd.default({css:r,error:function(s){throw new Error(s)},options:n});return this.res=i,this.func(i),this},Gd(t,[{key:"result",get:function(){return String(this.res)}}]),t}();rr.default=Yd;Uo.exports=rr.default});var wn=v(yn=>{"use strict";c();Object.defineProperty(yn,"__esModule",{value:!0});function Zd(t){this.after=t.after,this.before=t.before,this.type=t.type,this.value=t.value,this.sourceIndex=t.sourceIndex}yn.default=Zd});var xn=v(vn=>{"use strict";c();Object.defineProperty(vn,"__esModule",{value:!0});var Xd=wn(),$o=em(Xd);function em(t){return t&&t.__esModule?t:{default:t}}function Le(t){var e=this;this.constructor(t),this.nodes=t.nodes,this.after===void 0&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:""),this.before===void 0&&(this.before=this.nodes.length>0?this.nodes[0].before:""),this.sourceIndex===void 0&&(this.sourceIndex=this.before.length),this.nodes.forEach(function(r){r.parent=e})}Le.prototype=Object.create($o.default.prototype);Le.constructor=$o.default;Le.prototype.walk=function(e,r){for(var n=typeof e=="string"||e instanceof RegExp,i=n?r:e,o=typeof e=="string"?new RegExp(e):e,s=0;s<this.nodes.length;s++){var u=this.nodes[s],a=n?o.test(u.type):!0;if(a&&i&&i(u,s,this.nodes)===!1||u.nodes&&u.walk(e,r)===!1)return!1}return!0};Le.prototype.each=function(){for(var e=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],r=0;r<this.nodes.length;r++){var n=this.nodes[r];if(e(n,r,this.nodes)===!1)return!1}return!0};vn.default=Le});var Go=v(ze=>{"use strict";c();Object.defineProperty(ze,"__esModule",{value:!0});ze.parseMediaFeature=Vo;ze.parseMediaQuery=kn;ze.parseMediaList=nm;var tm=wn(),Fo=Wo(tm),rm=xn(),bn=Wo(rm);function Wo(t){return t&&t.__esModule?t:{default:t}}function Vo(t){var e=arguments.length<=1||arguments[1]===void 0?0:arguments[1],r=[{mode:"normal",character:null}],n=[],i=0,o="",s=null,u=null,a=e,l=t;t[0]==="("&&t[t.length-1]===")"&&(l=t.substring(1,t.length-1),a++);for(var h=0;h<l.length;h++){var p=l[h];if((p==="'"||p==='"')&&(r[i].isCalculationEnabled===!0?(r.push({mode:"string",isCalculationEnabled:!1,character:p}),i++):r[i].mode==="string"&&r[i].character===p&&l[h-1]!=="\\"&&(r.pop(),i--)),p==="{"?(r.push({mode:"interpolation",isCalculationEnabled:!0}),i++):p==="}"&&(r.pop(),i--),r[i].mode==="normal"&&p===":"){var f=l.substring(h+1);u={type:"value",before:/^(\s*)/.exec(f)[1],after:/(\s*)$/.exec(f)[1],value:f.trim()},u.sourceIndex=u.before.length+h+1+a,s={type:"colon",sourceIndex:h+a,after:u.before,value:":"};break}o+=p}return o={type:"media-feature",before:/^(\s*)/.exec(o)[1],after:/(\s*)$/.exec(o)[1],value:o.trim()},o.sourceIndex=o.before.length+a,n.push(o),s!==null&&(s.before=o.after,n.push(s)),u!==null&&n.push(u),n}function kn(t){var e=arguments.length<=1||arguments[1]===void 0?0:arguments[1],r=[],n=0,i=!1,o=void 0;function s(){return{before:"",after:"",value:""}}o=s();for(var u=0;u<t.length;u++){var a=t[u];i?(o.value+=a,(a==="{"||a==="(")&&n++,(a===")"||a==="}")&&n--):a.search(/\s/)!==-1?o.before+=a:(a==="("&&(o.type="media-feature-expression",n++),o.value=a,o.sourceIndex=e+u,i=!0),i&&n===0&&(a===")"||u===t.length-1||t[u+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(o.value)!==-1&&(o.type="keyword"),o.type==="media-feature-expression"&&(o.nodes=Vo(o.value,o.sourceIndex)),r.push(Array.isArray(o.nodes)?new bn.default(o):new Fo.default(o)),o=s(),i=!1)}for(var l=0;l<r.length;l++)if(o=r[l],l>0&&(r[l-1].after=o.before),o.type===void 0){if(l>0){if(r[l-1].type==="media-feature-expression"){o.type="keyword";continue}if(r[l-1].value==="not"||r[l-1].value==="only"){o.type="media-type";continue}if(r[l-1].value==="and"){o.type="media-feature-expression";continue}r[l-1].type==="media-type"&&(r[l+1]?o.type=r[l+1].type==="media-feature-expression"?"keyword":"media-feature-expression":o.type="media-feature-expression")}if(l===0){if(!r[l+1]){o.type="media-type";continue}if(r[l+1]&&(r[l+1].type==="media-feature-expression"||r[l+1].type==="keyword")){o.type="media-type";continue}if(r[l+2]){if(r[l+2].type==="media-feature-expression"){o.type="media-type",r[l+1].type="keyword";continue}if(r[l+2].type==="keyword"){o.type="keyword",r[l+1].type="media-type";continue}}if(r[l+3]&&r[l+3].type==="media-feature-expression"){o.type="keyword",r[l+1].type="media-type",r[l+2].type="keyword";continue}}}return r}function nm(t){var e=[],r=0,n=0,i=/^(\s*)url\s*\(/.exec(t);if(i!==null){for(var o=i[0].length,s=1;s>0;){var u=t[o];u==="("&&s++,u===")"&&s--,o++}e.unshift(new Fo.default({type:"url",value:t.substring(0,o).trim(),sourceIndex:i[1].length,before:i[1],after:/^(\s*)/.exec(t.substring(o))[1]})),r=o}for(var a=r;a<t.length;a++){var l=t[a];if(l==="("&&n++,l===")"&&n--,n===0&&l===","){var h=t.substring(r,a),p=/^(\s*)/.exec(h)[1];e.push(new bn.default({type:"media-query",value:h.trim(),sourceIndex:r+p.length,nodes:kn(h,r),before:p,after:/(\s*)$/.exec(h)[1]})),r=a+1}}var f=t.substring(r),g=/^(\s*)/.exec(f)[1];return e.push(new bn.default({type:"media-query",value:f.trim(),sourceIndex:r+g.length,nodes:kn(f,r),before:g,after:/(\s*)$/.exec(f)[1]})),e}});var Ho=v(On=>{"use strict";c();Object.defineProperty(On,"__esModule",{value:!0});On.default=um;var im=xn(),sm=am(im),om=Go();function am(t){return t&&t.__esModule?t:{default:t}}function um(t){return new sm.default({nodes:(0,om.parseMediaList)(t),type:"media-query-list",value:t.trim()})}});var nr=v((Ix,Sn)=>{"use strict";c();Sn.exports.isClean=Symbol("isClean");Sn.exports.my=Symbol("my")});var Qo=v((Mx,Tn)=>{c();var _=String,Jo=function(){return{isColorSupported:!1,reset:_,bold:_,dim:_,italic:_,underline:_,inverse:_,hidden:_,strikethrough:_,black:_,red:_,green:_,yellow:_,blue:_,magenta:_,cyan:_,white:_,gray:_,bgBlack:_,bgRed:_,bgGreen:_,bgYellow:_,bgBlue:_,bgMagenta:_,bgCyan:_,bgWhite:_}};Tn.exports=Jo();Tn.exports.createColors=Jo});var _n=v(()=>{c()});var ir=v((Ux,Zo)=>{"use strict";c();var Ko=Qo(),Yo=_n(),oe=class extends Error{constructor(e,r,n,i,o,s){super(e),this.name="CssSyntaxError",this.reason=e,o&&(this.file=o),i&&(this.source=i),s&&(this.plugin=s),typeof r<"u"&&typeof n<"u"&&(typeof r=="number"?(this.line=r,this.column=n):(this.line=r.line,this.column=r.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,oe)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let r=this.source;e==null&&(e=Ko.isColorSupported),Yo&&e&&(r=Yo(r));let n=r.split(/\r?\n/),i=Math.max(this.line-3,0),o=Math.min(this.line+2,n.length),s=String(o).length,u,a;if(e){let{bold:l,red:h,gray:p}=Ko.createColors(!0);u=f=>l(h(f)),a=f=>p(f)}else u=a=l=>l;return n.slice(i,o).map((l,h)=>{let p=i+1+h,f=" "+(" "+p).slice(-s)+" | ";if(p===this.line){let g=a(f.replace(/\d/g," "))+l.slice(0,this.column-1).replace(/[^\t]/g," ");return u(">")+a(f)+l+`
18
- `+g+u("^")}return" "+a(f)+l}).join(`
1
+ (function(f){function e(){var i=f();return i.default||i}if(typeof exports=="object"&&typeof module=="object")module.exports=e();else if(typeof define=="function"&&define.amd)define(e);else{var t=typeof globalThis<"u"?globalThis:typeof global<"u"?global:typeof self<"u"?self:this||{};t.prettierPlugins=t.prettierPlugins||{},t.prettierPlugins.postcss=e()}})(function(){"use strict";var vc=Object.create;var Rt=Object.defineProperty;var xc=Object.getOwnPropertyDescriptor;var bc=Object.getOwnPropertyNames;var kc=Object.getPrototypeOf,_c=Object.prototype.hasOwnProperty;var E=(t,e)=>()=>(t&&(e=t(t=0)),e);var y=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),us=(t,e)=>{for(var s in e)Rt(t,s,{get:e[s],enumerable:!0})},Un=(t,e,s,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of bc(e))!_c.call(t,n)&&n!==s&&Rt(t,n,{get:()=>e[n],enumerable:!(r=xc(e,n))||r.enumerable});return t};var ce=(t,e,s)=>(s=t!=null?vc(kc(t)):{},Un(e||!t||!t.__esModule?Rt(s,"default",{value:t,enumerable:!0}):s,t)),Tc=t=>Un(Rt({},"__esModule",{value:!0}),t);var Sc,S,J=E(()=>{Sc=(t,e,s,r)=>{if(!(t&&e==null))return e.replaceAll?e.replaceAll(s,r):s.global?e.replace(s,r):e.split(s).join(r)},S=Sc});function Nc(t){return Array.isArray(t)&&t.length>0}var se,Ve=E(()=>{se=Nc});var Dc,K,Ce=E(()=>{Dc=(t,e,s)=>{if(!(t&&e==null))return Array.isArray(e)||typeof e=="string"?e[s<0?e.length+s:s]:e.at(s)},K=Dc});var li=y(de=>{"use strict";Object.defineProperty(de,"__esModule",{value:!0});de.extract=Kc;de.parse=Qc;de.parseWithComments=ui;de.print=jc;de.strip=Hc;var Wc=/\*\/$/,zc=/^\/\*\*?/,oi=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Vc=/(^|\s+)\/\/([^\r\n]*)/g,si=/^(\r?\n)+/,Yc=/(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g,ni=/(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g,Gc=/(\r?\n|^) *\* ?/g,ai=[];function Kc(t){let e=t.match(oi);return e?e[0].trimLeft():""}function Hc(t){let e=t.match(oi);return e&&e[0]?t.substring(e[0].length):t}function Qc(t){return ui(t).pragmas}function ui(t){let e=`
2
+ `;t=t.replace(zc,"").replace(Wc,"").replace(Gc,"$1");let s="";for(;s!==t;)s=t,t=t.replace(Yc,`${e}$1 $2${e}`);t=t.replace(si,"").trimRight();let r=Object.create(null),n=t.replace(ni,"").replace(si,"").trimRight(),i;for(;i=ni.exec(t);){let o=i[2].replace(Vc,"");typeof r[i[1]]=="string"||Array.isArray(r[i[1]])?r[i[1]]=ai.concat(r[i[1]],o):r[i[1]]=o}return{comments:n,pragmas:r}}function jc({comments:t="",pragmas:e={}}){let s=`
3
+ `,r="/**",n=" *",i=" */",o=Object.keys(e),a=o.map(c=>ii(c,e[c])).reduce((c,f)=>c.concat(f),[]).map(c=>`${n} ${c}${s}`).join("");if(!t){if(o.length===0)return"";if(o.length===1&&!Array.isArray(e[o[0]])){let c=e[o[0]];return`${r} ${ii(o[0],c)[0]}${i}`}}let u=t.split(s).map(c=>`${n} ${c}`).join(s)+s;return r+s+(t?u:"")+(t&&o.length?n+s:"")+a+i}function ii(t,e){return ai.concat(e).map(s=>`@${t} ${s}`.trim())}});var ci=E(()=>{J()});function Jc(t){if(!t.startsWith("#!"))return"";let e=t.indexOf(`
4
+ `);return e===-1?t:t.slice(0,e)}var fi,pi=E(()=>{fi=Jc});function hi(t){let e=fi(t);e&&(t=t.slice(e.length+1));let s=(0,ie.extract)(t),{pragmas:r,comments:n}=(0,ie.parseWithComments)(s);return{shebang:e,text:t,pragmas:r,comments:n}}function di(t){let{pragmas:e}=hi(t);return Object.prototype.hasOwnProperty.call(e,"prettier")||Object.prototype.hasOwnProperty.call(e,"format")}function mi(t){let{shebang:e,text:s,pragmas:r,comments:n}=hi(t),i=(0,ie.strip)(s),o=(0,ie.print)({pragmas:{format:"",...r},comments:n.trimStart()});return(e?`${e}
5
+ `:"")+o+(i.startsWith(`
6
+ `)?`
7
+ `:`
8
+
9
+ `)+i}var ie,yi=E(()=>{ie=ce(li(),1);ci();pi()});function Zc(t){let e=t.match(Xc);if(!e)return{content:t};let{startDelimiter:s,language:r,value:n="",endDelimiter:i}=e.groups,o=r.trim()||"yaml";if(s==="+++"&&(o="toml"),o!=="yaml"&&s!==i)return{content:t};let[a]=e;return{frontMatter:{type:"front-matter",lang:o,value:n,startDelimiter:s,endDelimiter:i,raw:a.replace(/\n$/,"")},content:S(!1,a,/[^\n]/g," ")+t.slice(a.length)}}var Xc,rt,ps=E(()=>{J();Xc=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");rt=Zc});function gi(t){return di(rt(t).content)}function wi(t){let{frontMatter:e,content:s}=rt(t);return(e?e.raw+`
10
+
11
+ `:"")+mi(s)}var hs=E(()=>{yi();ps()});function Yt(t){return(e,s,r)=>{let n=!!(r!=null&&r.backwards);if(s===!1)return!1;let{length:i}=e,o=s;for(;o>=0&&o<i;){let a=e.charAt(o);if(t instanceof RegExp){if(!t.test(a))return o}else if(!t.includes(a))return o;n?o--:o++}return o===-1||o===i?o:!1}}var Iv,Gt,zi,Kt,ct=E(()=>{Iv=Yt(/\s/),Gt=Yt(" "),zi=Yt(",; "),Kt=Yt(/[^\n\r]/)});function uf(t,e){let s=0;for(let r=0;r<t.line-1;++r)s=e.indexOf(`
12
+ `,s)+1;return s+t.column}var bs,Vi=E(()=>{bs=uf});function Yi(t,e){var s,r,n;if(typeof((r=(s=t.source)==null?void 0:s.start)==null?void 0:r.offset)=="number")return t.source.start.offset;if(typeof t.sourceIndex=="number")return t.sourceIndex;if((n=t.source)!=null&&n.start)return bs(t.source.start,e);throw Object.assign(new Error("Can not locate node."),{node:t})}function ks(t,e){var s,r;if(t.type==="css-comment"&&t.inline)return Kt(e,t.source.startOffset);if(typeof((r=(s=t.source)==null?void 0:s.end)==null?void 0:r.offset)=="number")return t.source.end.offset+1;if(t.source){if(t.source.end)return bs(t.source.end,e);if(se(t.nodes))return ks(K(!1,t.nodes,-1),e)}return null}function _s(t,e){t.source&&(t.source.startOffset=Yi(t,e),t.source.endOffset=ks(t,e));for(let s in t){let r=t[s];s==="source"||!r||typeof r!="object"||(r.type==="value-root"||r.type==="value-unknown"?Gi(r,lf(t),r.text||r.value):_s(r,e))}}function Gi(t,e,s){t.source&&(t.source.startOffset=Yi(t,s)+e,t.source.endOffset=ks(t,s)+e);for(let r in t){let n=t[r];r==="source"||!n||typeof n!="object"||Gi(n,e,s)}}function lf(t){var s;let e=t.source.startOffset;return typeof t.prop=="string"&&(e+=t.prop.length),t.type==="css-atrule"&&typeof t.name=="string"&&(e+=1+t.name.length+t.raws.afterName.match(/^\s*:?\s*/)[0].length),t.type!=="css-atrule"&&typeof((s=t.raws)==null?void 0:s.between)=="string"&&(e+=t.raws.between.length),e}function Ki(t){let e="initial",s="initial",r,n=!1,i=[];for(let o=0;o<t.length;o++){let a=t[o];switch(e){case"initial":if(a==="'"){e="single-quotes";continue}if(a==='"'){e="double-quotes";continue}if((a==="u"||a==="U")&&t.slice(o,o+4).toLowerCase()==="url("){e="url",o+=3;continue}if(a==="*"&&t[o-1]==="/"){e="comment-block";continue}if(a==="/"&&t[o-1]==="/"){e="comment-inline",r=o-1;continue}continue;case"single-quotes":if(a==="'"&&t[o-1]!=="\\"&&(e=s,s="initial"),a===`
13
+ `||a==="\r")return t;continue;case"double-quotes":if(a==='"'&&t[o-1]!=="\\"&&(e=s,s="initial"),a===`
14
+ `||a==="\r")return t;continue;case"url":if(a===")"&&(e="initial"),a===`
15
+ `||a==="\r")return t;if(a==="'"){e="single-quotes",s="url";continue}if(a==='"'){e="double-quotes",s="url";continue}continue;case"comment-block":a==="/"&&t[o-1]==="*"&&(e="initial");continue;case"comment-inline":(a==='"'||a==="'"||a==="*")&&(n=!0),(a===`
16
+ `||a==="\r")&&(n&&i.push([r,o]),e="initial",n=!1);continue}}for(let[o,a]of i)t=t.slice(0,o)+S(!1,t.slice(o,a),/["'*]/g," ")+t.slice(a);return t}function R(t){var e;return(e=t.source)==null?void 0:e.startOffset}function I(t){var e;return(e=t.source)==null?void 0:e.endOffset}var Re=E(()=>{Ce();J();ct();Ve();Vi()});var Jt=y((Qx,As)=>{"use strict";As.exports.isClean=Symbol("isClean");As.exports.my=Symbol("my")});var oo=y((jx,Ns)=>{var T=String,io=function(){return{isColorSupported:!1,reset:T,bold:T,dim:T,italic:T,underline:T,inverse:T,hidden:T,strikethrough:T,black:T,red:T,green:T,yellow:T,blue:T,magenta:T,cyan:T,white:T,gray:T,bgBlack:T,bgRed:T,bgGreen:T,bgYellow:T,bgBlue:T,bgMagenta:T,bgCyan:T,bgWhite:T}};Ns.exports=io();Ns.exports.createColors=io});var Ps=y(()=>{});var Xt=y((Zx,lo)=>{"use strict";var ao=oo(),uo=Ps(),we=class extends Error{constructor(e,s,r,n,i,o){super(e),this.name="CssSyntaxError",this.reason=e,i&&(this.file=i),n&&(this.source=n),o&&(this.plugin=o),typeof s<"u"&&typeof r<"u"&&(typeof s=="number"?(this.line=s,this.column=r):(this.line=s.line,this.column=s.column,this.endLine=r.line,this.endColumn=r.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,we)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let s=this.source;e==null&&(e=ao.isColorSupported),uo&&e&&(s=uo(s));let r=s.split(/\r?\n/),n=Math.max(this.line-3,0),i=Math.min(this.line+2,r.length),o=String(i).length,a,u;if(e){let{bold:c,red:f,gray:p}=ao.createColors(!0);a=l=>c(f(l)),u=l=>p(l)}else a=u=c=>c;return r.slice(n,i).map((c,f)=>{let p=n+1+f,l=" "+(" "+p).slice(-o)+" | ";if(p===this.line){let g=u(l.replace(/\d/g," "))+c.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+u(l)+c+`
17
+ `+g+a("^")}return" "+u(l)+c}).join(`
19
18
  `)}toString(){let e=this.showSourceCode();return e&&(e=`
20
19
 
21
20
  `+e+`
22
- `),this.name+": "+this.message+e}};Zo.exports=oe;oe.default=oe});var sr=v(($x,ea)=>{"use strict";c();var Xo={colon:": ",indent:" ",beforeDecl:`
21
+ `),this.name+": "+this.message+e}};lo.exports=we;we.default=we});var Zt=y((eb,fo)=>{"use strict";var co={colon:": ",indent:" ",beforeDecl:`
23
22
  `,beforeRule:`
24
23
  `,beforeOpen:" ",beforeClose:`
25
24
  `,beforeComment:`
26
25
  `,after:`
27
- `,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function lm(t){return t[0].toUpperCase()+t.slice(1)}var je=class{constructor(e){this.builder=e}stringify(e,r){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,r)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let r=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+r+e.text+n+"*/",e)}decl(e,r){let n=this.raw(e,"between","colon"),i=e.prop+n+this.rawValue(e,"value");e.important&&(i+=e.raws.important||" !important"),r&&(i+=";"),this.builder(i,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,r){let n="@"+e.name,i=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?n+=e.raws.afterName:i&&(n+=" "),e.nodes)this.block(e,n+i);else{let o=(e.raws.between||"")+(r?";":"");this.builder(n+i+o,e)}}body(e){let r=e.nodes.length-1;for(;r>0&&e.nodes[r].type==="comment";)r-=1;let n=this.raw(e,"semicolon");for(let i=0;i<e.nodes.length;i++){let o=e.nodes[i],s=this.raw(o,"before");s&&this.builder(s),this.stringify(o,r!==i||n)}}block(e,r){let n=this.raw(e,"between","beforeOpen");this.builder(r+n+"{",e,"start");let i;e.nodes&&e.nodes.length?(this.body(e),i=this.raw(e,"after")):i=this.raw(e,"after","emptyBody"),i&&this.builder(i),this.builder("}",e,"end")}raw(e,r,n){let i;if(n||(n=r),r&&(i=e.raws[r],typeof i<"u"))return i;let o=e.parent;if(n==="before"&&(!o||o.type==="root"&&o.first===e||o&&o.type==="document"))return"";if(!o)return Xo[n];let s=e.root();if(s.rawCache||(s.rawCache={}),typeof s.rawCache[n]<"u")return s.rawCache[n];if(n==="before"||n==="after")return this.beforeAfter(e,n);{let u="raw"+lm(n);this[u]?i=this[u](s,e):s.walk(a=>{if(i=a.raws[r],typeof i<"u")return!1})}return typeof i>"u"&&(i=Xo[n]),s.rawCache[n]=i,i}rawSemicolon(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length&&n.last.type==="decl"&&(r=n.raws.semicolon,typeof r<"u"))return!1}),r}rawEmptyBody(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length===0&&(r=n.raws.after,typeof r<"u"))return!1}),r}rawIndent(e){if(e.raws.indent)return e.raws.indent;let r;return e.walk(n=>{let i=n.parent;if(i&&i!==e&&i.parent&&i.parent===e&&typeof n.raws.before<"u"){let o=n.raws.before.split(`
28
- `);return r=o[o.length-1],r=r.replace(/\S/g,""),!1}}),r}rawBeforeComment(e,r){let n;return e.walkComments(i=>{if(typeof i.raws.before<"u")return n=i.raws.before,n.includes(`
29
- `)&&(n=n.replace(/[^\n]+$/,"")),!1}),typeof n>"u"?n=this.raw(r,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,r){let n;return e.walkDecls(i=>{if(typeof i.raws.before<"u")return n=i.raws.before,n.includes(`
30
- `)&&(n=n.replace(/[^\n]+$/,"")),!1}),typeof n>"u"?n=this.raw(r,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeRule(e){let r;return e.walk(n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&typeof n.raws.before<"u")return r=n.raws.before,r.includes(`
31
- `)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawBeforeClose(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length>0&&typeof n.raws.after<"u")return r=n.raws.after,r.includes(`
32
- `)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let r;return e.walk(n=>{if(n.type!=="decl"&&(r=n.raws.between,typeof r<"u"))return!1}),r}rawColon(e){let r;return e.walkDecls(n=>{if(typeof n.raws.between<"u")return r=n.raws.between.replace(/[^\s:]/g,""),!1}),r}beforeAfter(e,r){let n;e.type==="decl"?n=this.raw(e,null,"beforeDecl"):e.type==="comment"?n=this.raw(e,null,"beforeComment"):r==="before"?n=this.raw(e,null,"beforeRule"):n=this.raw(e,null,"beforeClose");let i=e.parent,o=0;for(;i&&i.type!=="root";)o+=1,i=i.parent;if(n.includes(`
33
- `)){let s=this.raw(e,null,"indent");if(s.length)for(let u=0;u<o;u++)n+=s}return n}rawValue(e,r){let n=e[r],i=e.raws[r];return i&&i.value===n?i.raw:n}};ea.exports=je;je.default=je});var Ue=v((Wx,ta)=>{"use strict";c();var cm=sr();function En(t,e){new cm(e).stringify(t)}ta.exports=En;En.default=En});var $e=v((Gx,ra)=>{"use strict";c();var{isClean:or,my:fm}=nr(),hm=ir(),pm=sr(),dm=Ue();function An(t,e){let r=new t.constructor;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n)||n==="proxyCache")continue;let i=t[n],o=typeof i;n==="parent"&&o==="object"?e&&(r[n]=e):n==="source"?r[n]=i:Array.isArray(i)?r[n]=i.map(s=>An(s,r)):(o==="object"&&i!==null&&(i=An(i)),r[n]=i)}return r}var Be=class{constructor(e={}){this.raws={},this[or]=!1,this[fm]=!0;for(let r in e)if(r==="nodes"){this.nodes=[];for(let n of e[r])typeof n.clone=="function"?this.append(n.clone()):this.append(n)}else this[r]=e[r]}error(e,r={}){if(this.source){let{start:n,end:i}=this.rangeBy(r);return this.source.input.error(e,{line:n.line,column:n.column},{line:i.line,column:i.column},r)}return new hm(e)}warn(e,r,n){let i={node:this};for(let o in n)i[o]=n[o];return e.warn(r,i)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=dm){e.stringify&&(e=e.stringify);let r="";return e(this,n=>{r+=n}),r}assign(e={}){for(let r in e)this[r]=e[r];return this}clone(e={}){let r=An(this);for(let n in e)r[n]=e[n];return r}cloneBefore(e={}){let r=this.clone(e);return this.parent.insertBefore(this,r),r}cloneAfter(e={}){let r=this.clone(e);return this.parent.insertAfter(this,r),r}replaceWith(...e){if(this.parent){let r=this,n=!1;for(let i of e)i===this?n=!0:n?(this.parent.insertAfter(r,i),r=i):this.parent.insertBefore(r,i);n||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}raw(e,r){return new pm().raw(this,e,r)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,r){let n={},i=r==null;r=r||new Map;let o=0;for(let s in this){if(!Object.prototype.hasOwnProperty.call(this,s)||s==="parent"||s==="proxyCache")continue;let u=this[s];if(Array.isArray(u))n[s]=u.map(a=>typeof a=="object"&&a.toJSON?a.toJSON(null,r):a);else if(typeof u=="object"&&u.toJSON)n[s]=u.toJSON(null,r);else if(s==="source"){let a=r.get(u.input);a==null&&(a=o,r.set(u.input,o),o++),n[s]={inputId:a,start:u.start,end:u.end}}else n[s]=u}return i&&(n.inputs=[...r.keys()].map(s=>s.toJSON())),n}positionInside(e){let r=this.toString(),n=this.source.start.column,i=this.source.start.line;for(let o=0;o<e;o++)r[o]===`
34
- `?(n=1,i+=1):n+=1;return{line:i,column:n}}positionBy(e){let r=this.source.start;if(e.index)r=this.positionInside(e.index);else if(e.word){let n=this.toString().indexOf(e.word);n!==-1&&(r=this.positionInside(n))}return r}rangeBy(e){let r={line:this.source.start.line,column:this.source.start.column},n=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:r.line,column:r.column+1};if(e.word){let i=this.toString().indexOf(e.word);i!==-1&&(r=this.positionInside(i),n=this.positionInside(i+e.word.length))}else e.start?r={line:e.start.line,column:e.start.column}:e.index&&(r=this.positionInside(e.index)),e.end?n={line:e.end.line,column:e.end.column}:e.endIndex?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<r.line||n.line===r.line&&n.column<=r.column)&&(n={line:r.line,column:r.column+1}),{start:r,end:n}}getProxyProcessor(){return{set(e,r,n){return e[r]===n||(e[r]=n,(r==="prop"||r==="value"||r==="name"||r==="params"||r==="important"||r==="text")&&e.markDirty()),!0},get(e,r){return r==="proxyOf"?e:r==="root"?()=>e.root().toProxy():e[r]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let r=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${r.input.from}:${r.start.line}:${r.start.column}$&`)}return e}markDirty(){if(this[or]){this[or]=!1;let e=this;for(;e=e.parent;)e[or]=!1}}get proxyOf(){return this}};ra.exports=Be;Be.default=Be});var We=v((Jx,na)=>{"use strict";c();var mm=$e(),Fe=class extends mm{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]==="$"}};na.exports=Fe;Fe.default=Fe});var xe=v((Kx,ia)=>{"use strict";c();var gm=$e(),Ve=class extends gm{constructor(e){super(e),this.type="comment"}};ia.exports=Ve;Ve.default=Ve});var Z=v((Zx,pa)=>{"use strict";c();var{isClean:sa,my:oa}=nr(),aa=We(),ua=xe(),ym=$e(),la,Cn,qn,ca;function fa(t){return t.map(e=>(e.nodes&&(e.nodes=fa(e.nodes)),delete e.source,e))}function ha(t){if(t[sa]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)ha(e)}var D=class extends ym{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let r=this.getIterator(),n,i;for(;this.indexes[r]<this.proxyOf.nodes.length&&(n=this.indexes[r],i=e(this.proxyOf.nodes[n],n),i!==!1);)this.indexes[r]+=1;return delete this.indexes[r],i}walk(e){return this.each((r,n)=>{let i;try{i=e(r,n)}catch(o){throw r.addToError(o)}return i!==!1&&r.walk&&(i=r.walk(e)),i})}walkDecls(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="decl"&&e.test(n.prop))return r(n,i)}):this.walk((n,i)=>{if(n.type==="decl"&&n.prop===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="decl")return r(n,i)}))}walkRules(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="rule"&&e.test(n.selector))return r(n,i)}):this.walk((n,i)=>{if(n.type==="rule"&&n.selector===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="rule")return r(n,i)}))}walkAtRules(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="atrule"&&e.test(n.name))return r(n,i)}):this.walk((n,i)=>{if(n.type==="atrule"&&n.name===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="atrule")return r(n,i)}))}walkComments(e){return this.walk((r,n)=>{if(r.type==="comment")return e(r,n)})}append(...e){for(let r of e){let n=this.normalize(r,this.last);for(let i of n)this.proxyOf.nodes.push(i)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let r of e){let n=this.normalize(r,this.first,"prepend").reverse();for(let i of n)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+n.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let r of this.nodes)r.cleanRaws(e)}insertBefore(e,r){let n=this.index(e),i=e===0?"prepend":!1,o=this.normalize(r,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(let u of o)this.proxyOf.nodes.splice(n,0,u);let s;for(let u in this.indexes)s=this.indexes[u],n<=s&&(this.indexes[u]=s+o.length);return this.markDirty(),this}insertAfter(e,r){let n=this.index(e),i=this.normalize(r,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let s of i)this.proxyOf.nodes.splice(n+1,0,s);let o;for(let s in this.indexes)o=this.indexes[s],n<o&&(this.indexes[s]=o+i.length);return this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let r;for(let n in this.indexes)r=this.indexes[n],r>=e&&(this.indexes[n]=r-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,r,n){return n||(n=r,r={}),this.walkDecls(i=>{r.props&&!r.props.includes(i.prop)||r.fast&&!i.value.includes(r.fast)||(i.value=i.value.replace(e,n))}),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(!!this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(!!this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,r){if(typeof e=="string")e=fa(la(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"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 aa(e)]}else if(e.selector)e=[new Cn(e)];else if(e.name)e=[new qn(e)];else if(e.text)e=[new ua(e)];else throw new Error("Unknown node type in node creation");return e.map(i=>(i[oa]||D.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[sa]&&ha(i),typeof i.raws.before>"u"&&r&&typeof r.raws.before<"u"&&(i.raws.before=r.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}getProxyProcessor(){return{set(e,r,n){return e[r]===n||(e[r]=n,(r==="name"||r==="params"||r==="selector")&&e.markDirty()),!0},get(e,r){return r==="proxyOf"?e:e[r]?r==="each"||typeof r=="string"&&r.startsWith("walk")?(...n)=>e[r](...n.map(i=>typeof i=="function"?(o,s)=>i(o.toProxy(),s):i)):r==="every"||r==="some"?n=>e[r]((i,...o)=>n(i.toProxy(),...o)):r==="root"?()=>e.root().toProxy():r==="nodes"?e.nodes.map(n=>n.toProxy()):r==="first"||r==="last"?e[r].toProxy():e[r]:e[r]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}};D.registerParse=t=>{la=t};D.registerRule=t=>{Cn=t};D.registerAtRule=t=>{qn=t};D.registerRoot=t=>{ca=t};pa.exports=D;D.default=D;D.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,qn.prototype):t.type==="rule"?Object.setPrototypeOf(t,Cn.prototype):t.type==="decl"?Object.setPrototypeOf(t,aa.prototype):t.type==="comment"?Object.setPrototypeOf(t,ua.prototype):t.type==="root"&&Object.setPrototypeOf(t,ca.prototype),t[oa]=!0,t.nodes&&t.nodes.forEach(e=>{D.rebuild(e)})}});var dr=v((e0,ya)=>{"use strict";c();var Rn="'".charCodeAt(0),da='"'.charCodeAt(0),ar="\\".charCodeAt(0),ma="/".charCodeAt(0),ur=`
35
- `.charCodeAt(0),Ge=" ".charCodeAt(0),lr="\f".charCodeAt(0),cr=" ".charCodeAt(0),fr="\r".charCodeAt(0),wm="[".charCodeAt(0),vm="]".charCodeAt(0),xm="(".charCodeAt(0),bm=")".charCodeAt(0),km="{".charCodeAt(0),Om="}".charCodeAt(0),Sm=";".charCodeAt(0),Tm="*".charCodeAt(0),_m=":".charCodeAt(0),Em="@".charCodeAt(0),hr=/[\t\n\f\r "#'()/;[\\\]{}]/g,pr=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Am=/.[\n"'(/\\]/,ga=/[\da-f]/i;ya.exports=function(e,r={}){let n=e.css.valueOf(),i=r.ignoreErrors,o,s,u,a,l,h,p,f,g,x,m=n.length,w=0,y=[],E=[];function b(){return w}function A(q){throw e.error("Unclosed "+q,w)}function S(){return E.length===0&&w>=m}function C(q){if(E.length)return E.pop();if(w>=m)return;let O=q?q.ignoreUnclosed:!1;switch(o=n.charCodeAt(w),o){case ur:case Ge:case cr:case fr:case lr:{s=w;do s+=1,o=n.charCodeAt(s);while(o===Ge||o===ur||o===cr||o===fr||o===lr);x=["space",n.slice(w,s)],w=s-1;break}case wm:case vm:case km:case Om:case _m:case Sm:case bm:{let T=String.fromCharCode(o);x=[T,T,w];break}case xm:{if(f=y.length?y.pop()[1]:"",g=n.charCodeAt(w+1),f==="url"&&g!==Rn&&g!==da&&g!==Ge&&g!==ur&&g!==cr&&g!==lr&&g!==fr){s=w;do{if(h=!1,s=n.indexOf(")",s+1),s===-1)if(i||O){s=w;break}else A("bracket");for(p=s;n.charCodeAt(p-1)===ar;)p-=1,h=!h}while(h);x=["brackets",n.slice(w,s+1),w,s],w=s}else s=n.indexOf(")",w+1),a=n.slice(w,s+1),s===-1||Am.test(a)?x=["(","(",w]:(x=["brackets",a,w,s],w=s);break}case Rn:case da:{u=o===Rn?"'":'"',s=w;do{if(h=!1,s=n.indexOf(u,s+1),s===-1)if(i||O){s=w+1;break}else A("string");for(p=s;n.charCodeAt(p-1)===ar;)p-=1,h=!h}while(h);x=["string",n.slice(w,s+1),w,s],w=s;break}case Em:{hr.lastIndex=w+1,hr.test(n),hr.lastIndex===0?s=n.length-1:s=hr.lastIndex-2,x=["at-word",n.slice(w,s+1),w,s],w=s;break}case ar:{for(s=w,l=!0;n.charCodeAt(s+1)===ar;)s+=1,l=!l;if(o=n.charCodeAt(s+1),l&&o!==ma&&o!==Ge&&o!==ur&&o!==cr&&o!==fr&&o!==lr&&(s+=1,ga.test(n.charAt(s)))){for(;ga.test(n.charAt(s+1));)s+=1;n.charCodeAt(s+1)===Ge&&(s+=1)}x=["word",n.slice(w,s+1),w,s],w=s;break}default:{o===ma&&n.charCodeAt(w+1)===Tm?(s=n.indexOf("*/",w+2)+1,s===0&&(i||O?s=n.length:A("comment")),x=["comment",n.slice(w,s+1),w,s],w=s):(pr.lastIndex=w+1,pr.test(n),pr.lastIndex===0?s=n.length-1:s=pr.lastIndex-2,x=["word",n.slice(w,s+1),w,s],y.push(x),w=s);break}}return w++,x}function L(q){E.push(q)}return{back:L,nextToken:C,endOfFile:S,position:b}}});var mr=v((r0,va)=>{"use strict";c();var wa=Z(),be=class extends wa{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)}};va.exports=be;be.default=be;wa.registerAtRule(be)});var ke=v((i0,Oa)=>{"use strict";c();var xa=Z(),ba,ka,X=class extends xa{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,r){let n=this.index(e);return!r&&n===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}normalize(e,r,n){let i=super.normalize(e);if(r){if(n==="prepend")this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(let o of i)o.raws.before=r.raws.before}return i}toResult(e={}){return new ba(new ka,this,e).stringify()}};X.registerLazyResult=t=>{ba=t};X.registerProcessor=t=>{ka=t};Oa.exports=X;X.default=X;xa.registerRoot(X)});var Pn=v((o0,Sa)=>{"use strict";c();var He={split(t,e,r){let n=[],i="",o=!1,s=0,u=!1,a="",l=!1;for(let h of t)l?l=!1:h==="\\"?l=!0:u?h===a&&(u=!1):h==='"'||h==="'"?(u=!0,a=h):h==="("?s+=1:h===")"?s>0&&(s-=1):s===0&&e.includes(h)&&(o=!0),o?(i!==""&&n.push(i.trim()),i="",o=!1):i+=h;return(r||i!=="")&&n.push(i.trim()),n},space(t){let e=[" ",`
36
- `," "];return He.split(t,e)},comma(t){return He.split(t,[","],!0)}};Sa.exports=He;He.default=He});var gr=v((u0,_a)=>{"use strict";c();var Ta=Z(),Cm=Pn(),Oe=class extends Ta{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Cm.comma(this.selector)}set selectors(e){let r=this.selector?this.selector.match(/,\s*/):null,n=r?r[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}};_a.exports=Oe;Oe.default=Oe;Ta.registerRule(Oe)});var yr=v((c0,Ca)=>{"use strict";c();var qm=We(),Rm=dr(),Pm=xe(),Im=mr(),Nm=ke(),Ea=gr(),Aa={empty:!0,space:!0};function Mm(t){for(let e=t.length-1;e>=0;e--){let r=t[e],n=r[3]||r[2];if(n)return n}}var In=class{constructor(e){this.input=e,this.root=new Nm,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=Rm(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}comment(e){let r=new Pm;this.init(r,e[2]),r.source.end=this.getPosition(e[3]||e[2]);let n=e[1].slice(2,-2);if(/^\s*$/.test(n))r.text="",r.raws.left=n,r.raws.right="";else{let i=n.match(/^(\s*)([^]*\S)(\s*)$/);r.text=i[2],r.raws.left=i[1],r.raws.right=i[3]}}emptyRule(e){let r=new Ea;this.init(r,e[2]),r.selector="",r.raws.between="",this.current=r}other(e){let r=!1,n=null,i=!1,o=null,s=[],u=e[1].startsWith("--"),a=[],l=e;for(;l;){if(n=l[0],a.push(l),n==="("||n==="[")o||(o=l),s.push(n==="("?")":"]");else if(u&&i&&n==="{")o||(o=l),s.push("}");else if(s.length===0)if(n===";")if(i){this.decl(a,u);return}else break;else if(n==="{"){this.rule(a);return}else if(n==="}"){this.tokenizer.back(a.pop()),r=!0;break}else n===":"&&(i=!0);else n===s[s.length-1]&&(s.pop(),s.length===0&&(o=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(r=!0),s.length>0&&this.unclosedBracket(o),r&&i){if(!u)for(;a.length&&(l=a[a.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(a.pop());this.decl(a,u)}else this.unknownWord(a)}rule(e){e.pop();let r=new Ea;this.init(r,e[0][2]),r.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(r,"selector",e),this.current=r}decl(e,r){let n=new qm;this.init(n,e[0][2]);let i=e[e.length-1];for(i[0]===";"&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(i[3]||i[2]||Mm(e));e[0][0]!=="word";)e.length===1&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let l=e[0][0];if(l===":"||l==="space"||l==="comment")break;n.prop+=e.shift()[1]}n.raws.between="";let o;for(;e.length;)if(o=e.shift(),o[0]===":"){n.raws.between+=o[1];break}else o[0]==="word"&&/\w/.test(o[1])&&this.unknownWord([o]),n.raws.between+=o[1];(n.prop[0]==="_"||n.prop[0]==="*")&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let s=[],u;for(;e.length&&(u=e[0][0],!(u!=="space"&&u!=="comment"));)s.push(e.shift());this.precheckMissedSemicolon(e);for(let l=e.length-1;l>=0;l--){if(o=e[l],o[1].toLowerCase()==="!important"){n.important=!0;let h=this.stringFrom(e,l);h=this.spacesFromEnd(e)+h,h!==" !important"&&(n.raws.important=h);break}else if(o[1].toLowerCase()==="important"){let h=e.slice(0),p="";for(let f=l;f>0;f--){let g=h[f][0];if(p.trim().indexOf("!")===0&&g!=="space")break;p=h.pop()[1]+p}p.trim().indexOf("!")===0&&(n.important=!0,n.raws.important=p,e=h)}if(o[0]!=="space"&&o[0]!=="comment")break}e.some(l=>l[0]!=="space"&&l[0]!=="comment")&&(n.raws.between+=s.map(l=>l[1]).join(""),s=[]),this.raw(n,"value",s.concat(e),r),n.value.includes(":")&&!r&&this.checkMissedSemicolon(e)}atrule(e){let r=new Im;r.name=e[1].slice(1),r.name===""&&this.unnamedAtrule(r,e),this.init(r,e[2]);let n,i,o,s=!1,u=!1,a=[],l=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),n=e[0],n==="("||n==="["?l.push(n==="("?")":"]"):n==="{"&&l.length>0?l.push("}"):n===l[l.length-1]&&l.pop(),l.length===0)if(n===";"){r.source.end=this.getPosition(e[2]),this.semicolon=!0;break}else if(n==="{"){u=!0;break}else if(n==="}"){if(a.length>0){for(o=a.length-1,i=a[o];i&&i[0]==="space";)i=a[--o];i&&(r.source.end=this.getPosition(i[3]||i[2]))}this.end(e);break}else a.push(e);else a.push(e);if(this.tokenizer.endOfFile()){s=!0;break}}r.raws.between=this.spacesAndCommentsFromEnd(a),a.length?(r.raws.afterName=this.spacesAndCommentsFromStart(a),this.raw(r,"params",a),s&&(e=a[a.length-1],r.source.end=this.getPosition(e[3]||e[2]),this.spaces=r.raws.between,r.raws.between="")):(r.raws.afterName="",r.params=""),u&&(r.nodes=[],this.current=r)}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let r=this.current.nodes[this.current.nodes.length-1];r&&r.type==="rule"&&!r.raws.ownSemicolon&&(r.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let r=this.input.fromOffset(e);return{offset:e,line:r.line,column:r.col}}init(e,r){this.current.push(e),e.source={start:this.getPosition(r),input:this.input},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}raw(e,r,n,i){let o,s,u=n.length,a="",l=!0,h,p;for(let f=0;f<u;f+=1)o=n[f],s=o[0],s==="space"&&f===u-1&&!i?l=!1:s==="comment"?(p=n[f-1]?n[f-1][0]:"empty",h=n[f+1]?n[f+1][0]:"empty",!Aa[p]&&!Aa[h]?a.slice(-1)===","?l=!1:a+=o[1]:l=!1):a+=o[1];if(!l){let f=n.reduce((g,x)=>g+x[1],"");e.raws[r]={value:a,raw:f}}e[r]=a}spacesAndCommentsFromEnd(e){let r,n="";for(;e.length&&(r=e[e.length-1][0],!(r!=="space"&&r!=="comment"));)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let r,n="";for(;e.length&&(r=e[0][0],!(r!=="space"&&r!=="comment"));)n+=e.shift()[1];return n}spacesFromEnd(e){let r,n="";for(;e.length&&(r=e[e.length-1][0],r==="space");)n=e.pop()[1]+n;return n}stringFrom(e,r){let n="";for(let i=r;i<e.length;i++)n+=e[i][1];return e.splice(r,e.length-r),n}colon(e){let r=0,n,i,o;for(let[s,u]of e.entries()){if(n=u,i=n[0],i==="("&&(r+=1),i===")"&&(r-=1),r===0&&i===":")if(!o)this.doubleColon(n);else{if(o[0]==="word"&&o[1]==="progid")continue;return s}o=n}return!1}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,r){throw this.input.error("At-rule without name",{offset:r[2]},{offset:r[2]+r[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let r=this.colon(e);if(r===!1)return;let n=0,i;for(let o=r-1;o>=0&&(i=e[o],!(i[0]!=="space"&&(n+=1,n===2)));o--);throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}};Ca.exports=In});var qa=v(()=>{c()});function Ra(t){throw new RangeError(Fm[t])}function Wm(t,e){for(var r=t.length,n=[];r--;)n[r]=e(t[r]);return n}function Vm(t,e){var r=t.split("@"),n="";r.length>1&&(n=r[0]+"@",t=r[1]),t=t.replace($m,".");var i=t.split("."),o=Wm(i,e).join(".");return n+o}function Gm(t){for(var e=[],r=0,n=t.length,i,o;r<n;)i=t.charCodeAt(r++),i>=55296&&i<=56319&&r<n?(o=t.charCodeAt(r++),(o&64512)==56320?e.push(((i&1023)<<10)+(o&1023)+65536):(e.push(i),r--)):e.push(i);return e}function Pa(t,e){return t+22+75*(t<26)-((e!=0)<<5)}function Hm(t,e,r){var n=0;for(t=r?Se(t/Lm):t>>1,t+=Se(t/e);t>Mn*Ln>>1;n+=Je)t=Se(t/Mn);return Se(n+(Mn+1)*t/(t+Dm))}function Jm(t){var e,r,n,i,o,s,u,a,l,h,p,f=[],g,x,m,w;for(t=Gm(t),g=t.length,e=jm,r=0,o=zm,s=0;s<g;++s)p=t[s],p<128&&f.push(Dn(p));for(n=i=f.length,i&&f.push(Um);n<g;){for(u=Nn,s=0;s<g;++s)p=t[s],p>=e&&p<u&&(u=p);for(x=n+1,u-e>Se((Nn-r)/x)&&Ra("overflow"),r+=(u-e)*x,e=u,s=0;s<g;++s)if(p=t[s],p<e&&++r>Nn&&Ra("overflow"),p==e){for(a=r,l=Je;h=l<=o?Ia:l>=o+Ln?Ln:l-o,!(a<h);l+=Je)w=a-h,m=Je-h,f.push(Dn(Pa(h+w%m,0))),a=Se(w/m);f.push(Dn(Pa(a,0))),o=Hm(r,x,n==i),r=0,++n}++r,++e}return f.join("")}function Na(t){return Vm(t,function(e){return Bm.test(e)?"xn--"+Jm(e):e})}var Nn,Je,Ia,Ln,Dm,Lm,zm,jm,Um,Bm,$m,Fm,Mn,Se,Dn,Ma=Q(()=>{c();Nn=2147483647,Je=36,Ia=1,Ln=26,Dm=38,Lm=700,zm=72,jm=128,Um="-",Bm=/[^\x20-\x7E]/,$m=/[\x2E\u3002\uFF0E\uFF61]/g,Fm={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},Mn=Je-Ia,Se=Math.floor,Dn=String.fromCharCode});function Qm(t,e){return Object.prototype.hasOwnProperty.call(t,e)}function Qe(t){switch(typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}}function za(t,e,r,n){return e=e||"&",r=r||"=",t===null&&(t=void 0),typeof t=="object"?Da(Km(t),function(i){var o=encodeURIComponent(Qe(i))+r;return La(t[i])?Da(t[i],function(s){return o+encodeURIComponent(Qe(s))}).join(e):o+encodeURIComponent(Qe(t[i]))}).join(e):n?encodeURIComponent(Qe(n))+r+encodeURIComponent(Qe(t)):""}function Da(t,e){if(t.map)return t.map(e);for(var r=[],n=0;n<t.length;n++)r.push(e(t[n],n));return r}function zn(t,e,r,n){e=e||"&",r=r||"=";var i={};if(typeof t!="string"||t.length===0)return i;var o=/\+/g;t=t.split(e);var s=1e3;n&&typeof n.maxKeys=="number"&&(s=n.maxKeys);var u=t.length;s>0&&u>s&&(u=s);for(var a=0;a<u;++a){var l=t[a].replace(o,"%20"),h=l.indexOf(r),p,f,g,x;h>=0?(p=l.substr(0,h),f=l.substr(h+1)):(p=l,f=""),g=decodeURIComponent(p),x=decodeURIComponent(f),Qm(i,g)?La(i[g])?i[g].push(x):i[g]=[i[g],x]:i[g]=x}return i}var La,Km,ja=Q(()=>{c();La=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"};Km=Object.keys||function(t){var e=[];for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.push(r);return e}});var Ja={};ut(Ja,{Url:()=>j,default:()=>Ym,format:()=>Wa,parse:()=>Ke,resolve:()=>Va,resolveObject:()=>Ga});function j(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function Ke(t,e,r){if(t&&F(t)&&t instanceof j)return t;var n=new j;return n.parse(t,e,r),n}function Fa(t,e,r,n){if(!H(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var i=e.indexOf("?"),o=i!==-1&&i<e.indexOf("#")?"?":"#",s=e.split(o),u=/\\/g;s[0]=s[0].replace(u,"/"),e=s.join(o);var a=e;if(a=a.trim(),!n&&e.split("#").length===1){var l=eg.exec(a);if(l)return t.path=a,t.href=a,t.pathname=l[1],l[2]?(t.search=l[2],r?t.query=zn(t.search.substr(1)):t.query=t.search.substr(1)):r&&(t.search="",t.query={}),t}var h=Zm.exec(a);if(h){h=h[0];var p=h.toLowerCase();t.protocol=p,a=a.substr(h.length)}if(n||h||a.match(/^\/\/[^@\/]+@[^@\/]+/)){var f=a.substr(0,2)==="//";f&&!(h&&Un[h])&&(a=a.substr(2),t.slashes=!0)}var g,x,m,w;if(!Un[h]&&(f||h&&!Te[h])){var y=-1;for(g=0;g<Ba.length;g++)x=a.indexOf(Ba[g]),x!==-1&&(y===-1||x<y)&&(y=x);var E,b;for(y===-1?b=a.lastIndexOf("@"):b=a.lastIndexOf("@",y),b!==-1&&(E=a.slice(0,b),a=a.slice(b+1),t.auth=decodeURIComponent(E)),y=-1,g=0;g<Ua.length;g++)x=a.indexOf(Ua[g]),x!==-1&&(y===-1||x<y)&&(y=x);y===-1&&(y=a.length),t.host=a.slice(0,y),a=a.slice(y),Ha(t),t.hostname=t.hostname||"";var A=t.hostname[0]==="["&&t.hostname[t.hostname.length-1]==="]";if(!A){var S=t.hostname.split(/\./);for(g=0,m=S.length;g<m;g++){var C=S[g];if(!!C&&!C.match($a)){for(var L="",q=0,O=C.length;q<O;q++)C.charCodeAt(q)>127?L+="x":L+=C[q];if(!L.match($a)){var T=S.slice(0,g),R=S.slice(g+1),pe=C.match(ig);pe&&(T.push(pe[1]),R.unshift(pe[2])),R.length&&(a="/"+R.join(".")+a),t.hostname=T.join(".");break}}}}t.hostname.length>ng?t.hostname="":t.hostname=t.hostname.toLowerCase(),A||(t.hostname=Na(t.hostname)),w=t.port?":"+t.port:"";var st=t.hostname||"";t.host=st+w,t.href+=t.host,A&&(t.hostname=t.hostname.substr(1,t.hostname.length-2),a[0]!=="/"&&(a="/"+a))}if(!sg[p])for(g=0,m=jn.length;g<m;g++){var Ce=jn[g];if(a.indexOf(Ce)!==-1){var Ir=encodeURIComponent(Ce);Ir===Ce&&(Ir=escape(Ce)),a=a.split(Ce).join(Ir)}}var Nr=a.indexOf("#");Nr!==-1&&(t.hash=a.substr(Nr),a=a.slice(0,Nr));var ot=a.indexOf("?");if(ot!==-1?(t.search=a.substr(ot),t.query=a.substr(ot+1),r&&(t.query=zn(t.query)),a=a.slice(0,ot)):r&&(t.search="",t.query={}),a&&(t.pathname=a),Te[p]&&t.hostname&&!t.pathname&&(t.pathname="/"),t.pathname||t.search){w=t.pathname||"";var kl=t.search||"";t.path=w+kl}return t.href=Bn(t),t}function Wa(t){return H(t)&&(t=Fa({},t)),Bn(t)}function Bn(t){var e=t.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var r=t.protocol||"",n=t.pathname||"",i=t.hash||"",o=!1,s="";t.host?o=e+t.host:t.hostname&&(o=e+(t.hostname.indexOf(":")===-1?t.hostname:"["+this.hostname+"]"),t.port&&(o+=":"+t.port)),t.query&&F(t.query)&&Object.keys(t.query).length&&(s=za(t.query));var u=t.search||s&&"?"+s||"";return r&&r.substr(-1)!==":"&&(r+=":"),t.slashes||(!r||Te[r])&&o!==!1?(o="//"+(o||""),n&&n.charAt(0)!=="/"&&(n="/"+n)):o||(o=""),i&&i.charAt(0)!=="#"&&(i="#"+i),u&&u.charAt(0)!=="?"&&(u="?"+u),n=n.replace(/[?#]/g,function(a){return encodeURIComponent(a)}),u=u.replace("#","%23"),r+o+n+u+i}function Va(t,e){return Ke(t,!1,!0).resolve(e)}function Ga(t,e){return t?Ke(t,!1,!0).resolveObject(e):e}function Ha(t){var e=t.host,r=Xm.exec(e);r&&(r=r[0],r!==":"&&(t.port=r.substr(1)),e=e.substr(0,e.length-r.length)),e&&(t.hostname=e)}var Ym,Zm,Xm,eg,tg,rg,jn,Ua,Ba,ng,$a,ig,sg,Un,Te,Qa=Q(()=>{c();Ma();Yr();ja();Ym={parse:Ke,resolve:Va,resolveObject:Ga,format:Wa,Url:j};Zm=/^([a-z0-9.+-]+:)/i,Xm=/:[0-9]*$/,eg=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,tg=["<",">",'"',"`"," ","\r",`
37
- `," "],rg=["{","}","|","\\","^","`"].concat(tg),jn=["'"].concat(rg),Ua=["%","/","?",";","#"].concat(jn),Ba=["/","?","#"],ng=255,$a=/^[+a-z0-9A-Z_-]{0,63}$/,ig=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,sg={javascript:!0,"javascript:":!0},Un={javascript:!0,"javascript:":!0},Te={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};j.prototype.parse=function(t,e,r){return Fa(this,t,e,r)};j.prototype.format=function(){return Bn(this)};j.prototype.resolve=function(t){return this.resolveObject(Ke(t,!1,!0)).format()};j.prototype.resolveObject=function(t){if(H(t)){var e=new j;e.parse(t,!1,!0),t=e}for(var r=new j,n=Object.keys(this),i=0;i<n.length;i++){var o=n[i];r[o]=this[o]}if(r.hash=t.hash,t.href==="")return r.href=r.format(),r;if(t.slashes&&!t.protocol){for(var s=Object.keys(t),u=0;u<s.length;u++){var a=s[u];a!=="protocol"&&(r[a]=t[a])}return Te[r.protocol]&&r.hostname&&!r.pathname&&(r.path=r.pathname="/"),r.href=r.format(),r}var l;if(t.protocol&&t.protocol!==r.protocol){if(!Te[t.protocol]){for(var h=Object.keys(t),p=0;p<h.length;p++){var f=h[p];r[f]=t[f]}return r.href=r.format(),r}if(r.protocol=t.protocol,!t.host&&!Un[t.protocol]){for(l=(t.pathname||"").split("/");l.length&&!(t.host=l.shift()););t.host||(t.host=""),t.hostname||(t.hostname=""),l[0]!==""&&l.unshift(""),l.length<2&&l.unshift(""),r.pathname=l.join("/")}else r.pathname=t.pathname;if(r.search=t.search,r.query=t.query,r.host=t.host||"",r.auth=t.auth,r.hostname=t.hostname||t.host,r.port=t.port,r.pathname||r.search){var g=r.pathname||"",x=r.search||"";r.path=g+x}return r.slashes=r.slashes||t.slashes,r.href=r.format(),r}var m=r.pathname&&r.pathname.charAt(0)==="/",w=t.host||t.pathname&&t.pathname.charAt(0)==="/",y=w||m||r.host&&t.pathname,E=y,b=r.pathname&&r.pathname.split("/")||[],A=r.protocol&&!Te[r.protocol];l=t.pathname&&t.pathname.split("/")||[],A&&(r.hostname="",r.port=null,r.host&&(b[0]===""?b[0]=r.host:b.unshift(r.host)),r.host="",t.protocol&&(t.hostname=null,t.port=null,t.host&&(l[0]===""?l[0]=t.host:l.unshift(t.host)),t.host=null),y=y&&(l[0]===""||b[0]===""));var S;if(w)r.host=t.host||t.host===""?t.host:r.host,r.hostname=t.hostname||t.hostname===""?t.hostname:r.hostname,r.search=t.search,r.query=t.query,b=l;else if(l.length)b||(b=[]),b.pop(),b=b.concat(l),r.search=t.search,r.query=t.query;else if(!qt(t.search))return A&&(r.hostname=r.host=b.shift(),S=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1,S&&(r.auth=S.shift(),r.host=r.hostname=S.shift())),r.search=t.search,r.query=t.query,(!$(r.pathname)||!$(r.search))&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.href=r.format(),r;if(!b.length)return r.pathname=null,r.search?r.path="/"+r.search:r.path=null,r.href=r.format(),r;for(var C=b.slice(-1)[0],L=(r.host||t.host||b.length>1)&&(C==="."||C==="..")||C==="",q=0,O=b.length;O>=0;O--)C=b[O],C==="."?b.splice(O,1):C===".."?(b.splice(O,1),q++):q&&(b.splice(O,1),q--);if(!y&&!E)for(;q--;q)b.unshift("..");y&&b[0]!==""&&(!b[0]||b[0].charAt(0)!=="/")&&b.unshift(""),L&&b.join("/").substr(-1)!=="/"&&b.push("");var T=b[0]===""||b[0]&&b[0].charAt(0)==="/";return A&&(r.hostname=r.host=T?"":b.length?b.shift():"",S=r.host&&r.host.indexOf("@")>0?r.host.split("@"):!1,S&&(r.auth=S.shift(),r.host=r.hostname=S.shift())),y=y||r.host&&b.length,y&&!T&&b.unshift(""),b.length?r.pathname=b.join("/"):(r.pathname=null,r.path=null),(!$(r.pathname)||!$(r.search))&&(r.path=(r.pathname?r.pathname:"")+(r.search?r.search:"")),r.auth=t.auth||r.auth,r.slashes=r.slashes||t.slashes,r.href=r.format(),r};j.prototype.parseHost=function(){return Ha(this)}});var Ka=v((O0,wr)=>{c();var ae=(Qa(),lt(Ja));if(ae&&ae.default){wr.exports=ae.default;for(let t in ae)wr.exports[t]=ae[t]}else ae&&(wr.exports=ae)});var su={};ut(su,{basename:()=>nu,default:()=>ag,delimiter:()=>tu,dirname:()=>ru,extname:()=>iu,isAbsolute:()=>Wn,join:()=>Za,normalize:()=>Fn,relative:()=>Xa,resolve:()=>vr,sep:()=>eu});function Ya(t,e){for(var r=0,n=t.length-1;n>=0;n--){var i=t[n];i==="."?t.splice(n,1):i===".."?(t.splice(n,1),r++):r&&(t.splice(n,1),r--)}if(e)for(;r--;r)t.unshift("..");return t}function vr(){for(var t="",e=!1,r=arguments.length-1;r>=-1&&!e;r--){var n=r>=0?arguments[r]:"/";if(typeof n!="string")throw new TypeError("Arguments to path.resolve must be strings");if(!n)continue;t=n+"/"+t,e=n.charAt(0)==="/"}return t=Ya(Vn(t.split("/"),function(i){return!!i}),!e).join("/"),(e?"/":"")+t||"."}function Fn(t){var e=Wn(t),r=ug(t,-1)==="/";return t=Ya(Vn(t.split("/"),function(n){return!!n}),!e).join("/"),!t&&!e&&(t="."),t&&r&&(t+="/"),(e?"/":"")+t}function Wn(t){return t.charAt(0)==="/"}function Za(){var t=Array.prototype.slice.call(arguments,0);return Fn(Vn(t,function(e,r){if(typeof e!="string")throw new TypeError("Arguments to path.join must be strings");return e}).join("/"))}function Xa(t,e){t=vr(t).substr(1),e=vr(e).substr(1);function r(l){for(var h=0;h<l.length&&l[h]==="";h++);for(var p=l.length-1;p>=0&&l[p]==="";p--);return h>p?[]:l.slice(h,p-h+1)}for(var n=r(t.split("/")),i=r(e.split("/")),o=Math.min(n.length,i.length),s=o,u=0;u<o;u++)if(n[u]!==i[u]){s=u;break}for(var a=[],u=s;u<n.length;u++)a.push("..");return a=a.concat(i.slice(s)),a.join("/")}function ru(t){var e=$n(t),r=e[0],n=e[1];return!r&&!n?".":(n&&(n=n.substr(0,n.length-1)),r+n)}function nu(t,e){var r=$n(t)[2];return e&&r.substr(-1*e.length)===e&&(r=r.substr(0,r.length-e.length)),r}function iu(t){return $n(t)[3]}function Vn(t,e){if(t.filter)return t.filter(e);for(var r=[],n=0;n<t.length;n++)e(t[n],n,t)&&r.push(t[n]);return r}var og,$n,eu,tu,ag,ug,ou=Q(()=>{c();og=/^(\/?|)([\s\S]*?)((?:\.{1,2}|[^\/]+?|)(\.[^.\/]*|))(?:[\/]*)$/,$n=function(t){return og.exec(t).slice(1)};eu="/",tu=":";ag={extname:iu,basename:nu,dirname:ru,sep:eu,delimiter:tu,relative:Xa,join:Za,isAbsolute:Wn,normalize:Fn,resolve:vr};ug="ab".substr(-1)==="b"?function(t,e,r){return t.substr(e,r)}:function(t,e,r){return e<0&&(e=t.length+e),t.substr(e,r)}});var au=v((_0,xr)=>{c();var ue=(ou(),lt(su));if(ue&&ue.default){xr.exports=ue.default;for(let t in ue)xr.exports[t]=ue[t]}else ue&&(xr.exports=ue)});var lu=v((A0,uu)=>{c();var lg="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",cg=(t,e=21)=>(r=e)=>{let n="",i=r;for(;i--;)n+=t[Math.random()*t.length|0];return n},fg=(t=21)=>{let e="",r=t;for(;r--;)e+=lg[Math.random()*64|0];return e};uu.exports={nanoid:fg,customAlphabet:cg}});var Gn=v((q0,cu)=>{c();cu.exports=class{}});var Ee=v((I0,du)=>{"use strict";c();var{SourceMapConsumer:hg,SourceMapGenerator:pg}=qa(),{fileURLToPath:fu,pathToFileURL:br}=Ka(),{resolve:Qn,isAbsolute:Kn}=au(),{nanoid:dg}=lu(),Hn=_n(),hu=ir(),mg=Gn(),Jn=Symbol("fromOffsetCache"),gg=Boolean(hg&&pg),pu=Boolean(Qn&&Kn),_e=class{constructor(e,r={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,r.from&&(!pu||/^\w+:\/\//.test(r.from)||Kn(r.from)?this.file=r.from:this.file=Qn(r.from)),pu&&gg){let n=new mg(this.css,r);if(n.text){this.map=n;let i=n.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}}this.file||(this.id="<input css "+dg(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let r,n;if(this[Jn])n=this[Jn];else{let o=this.css.split(`
38
- `);n=new Array(o.length);let s=0;for(let u=0,a=o.length;u<a;u++)n[u]=s,s+=o[u].length+1;this[Jn]=n}r=n[n.length-1];let i=0;if(e>=r)i=n.length-1;else{let o=n.length-2,s;for(;i<o;)if(s=i+(o-i>>1),e<n[s])o=s-1;else if(e>=n[s+1])i=s+1;else{i=s;break}}return{line:i+1,col:e-n[i]+1}}error(e,r,n,i={}){let o,s,u;if(r&&typeof r=="object"){let l=r,h=n;if(typeof r.offset=="number"){let p=this.fromOffset(l.offset);r=p.line,n=p.col}else r=l.line,n=l.column;if(typeof h.offset=="number"){let p=this.fromOffset(h.offset);s=p.line,u=p.col}else s=h.line,u=h.column}else if(!n){let l=this.fromOffset(r);r=l.line,n=l.col}let a=this.origin(r,n,s,u);return a?o=new hu(e,a.endLine===void 0?a.line:{line:a.line,column:a.column},a.endLine===void 0?a.column:{line:a.endLine,column:a.endColumn},a.source,a.file,i.plugin):o=new hu(e,s===void 0?r:{line:r,column:n},s===void 0?n:{line:s,column:u},this.css,this.file,i.plugin),o.input={line:r,column:n,endLine:s,endColumn:u,source:this.css},this.file&&(br&&(o.input.url=br(this.file).toString()),o.input.file=this.file),o}origin(e,r,n,i){if(!this.map)return!1;let o=this.map.consumer(),s=o.originalPositionFor({line:e,column:r});if(!s.source)return!1;let u;typeof n=="number"&&(u=o.originalPositionFor({line:n,column:i}));let a;Kn(s.source)?a=br(s.source):a=new URL(s.source,this.map.consumer().sourceRoot||br(this.map.mapFile));let l={url:a.toString(),line:s.line,column:s.column,endLine:u&&u.line,endColumn:u&&u.column};if(a.protocol==="file:")if(fu)l.file=fu(a);else throw new Error("file: protocol is not available in this PostCSS build");let h=o.sourceContentFor(s.source);return h&&(l.source=h),l}mapResolve(e){return/^\w+:\/\//.test(e)?e:Qn(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let r of["hasBOM","css","file","id"])this[r]!=null&&(e[r]=this[r]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};du.exports=_e;_e.default=_e;Hn&&Hn.registerInput&&Hn.registerInput(_e)});var Ye=v((M0,mu)=>{"use strict";c();var yg=Z(),wg=yr(),vg=Ee();function kr(t,e){let r=new vg(t,e),n=new wg(r);try{n.parse()}catch(i){throw i}return n.root}mu.exports=kr;kr.default=kr;yg.registerParse(kr)});var gu=v((L0,Yn)=>{c();var xg=dr(),bg=Ee();Yn.exports={isInlineComment(t){if(t[0]==="word"&&t[1].slice(0,2)==="//"){let e=t,r=[],n,i;for(;t;){if(/\r?\n/.test(t[1])){if(/['"].*\r?\n/.test(t[1])){r.push(t[1].substring(0,t[1].indexOf(`
39
- `))),i=t[1].substring(t[1].indexOf(`
40
- `));let s=this.input.css.valueOf().substring(this.tokenizer.position());i+=s,n=t[3]+s.length-i.length}else this.tokenizer.back(t);break}r.push(t[1]),n=t[2],t=this.tokenizer.nextToken({ignoreUnclosed:!0})}let o=["comment",r.join(""),e[2],n];return this.inlineComment(o),i&&(this.input=new bg(i),this.tokenizer=xg(this.input)),!0}else if(t[1]==="/"){let e=this.tokenizer.nextToken({ignoreUnclosed:!0});if(e[0]==="comment"&&/^\/\*/.test(e[1]))return e[0]="word",e[1]=e[1].slice(1),t[1]="//",this.tokenizer.back(e),Yn.exports.isInlineComment.bind(this)(t)}return!1}}});var wu=v((j0,yu)=>{c();yu.exports={interpolation(t){let e=[t,this.tokenizer.nextToken()],r=["word","}"];if(e[0][1].length>1||e[1][0]!=="{")return this.tokenizer.back(e[1]),!1;for(t=this.tokenizer.nextToken();t&&r.includes(t[0]);)e.push(t),t=this.tokenizer.nextToken();let n=e.map(u=>u[1]),[i]=e,o=e.pop(),s=["word",n.join(""),i[2],o[2]];return this.tokenizer.back(t),this.tokenizer.back(s),!0}}});var xu=v((B0,vu)=>{c();var kg=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,Og=/\.[0-9]/,Sg=t=>{let[,e]=t,[r]=e;return(r==="."||r==="#")&&kg.test(e)===!1&&Og.test(e)===!1};vu.exports={isMixinToken:Sg}});var ku=v((F0,bu)=>{c();var Tg=dr(),_g=/^url\((.+)\)/;bu.exports=t=>{let{name:e,params:r=""}=t;if(e==="import"&&r.length){t.import=!0;let n=Tg({css:r});for(t.filename=r.replace(_g,"$1");!n.endOfFile();){let[i,o]=n.nextToken();if(i==="word"&&o==="url")return;if(i==="brackets"){t.options=o,t.filename=r.replace(o,"").trim();break}}}}});var _u=v((V0,Tu)=>{c();var Ou=/:$/,Su=/^:(\s+)?/;Tu.exports=t=>{let{name:e,params:r=""}=t;if(t.name.slice(-1)===":"){if(Ou.test(e)){let[n]=e.match(Ou);t.name=e.replace(n,""),t.raws.afterName=n+(t.raws.afterName||""),t.variable=!0,t.value=t.params}if(Su.test(r)){let[n]=r.match(Su);t.value=r.replace(n,""),t.raws.afterName=(t.raws.afterName||"")+n,t.variable=!0}}}});var Cu=v((J0,Au)=>{c();var Eg=xe(),Ag=yr(),{isInlineComment:Cg}=gu(),{interpolation:Eu}=wu(),{isMixinToken:qg}=xu(),Rg=ku(),Pg=_u(),Ig=/(!\s*important)$/i;Au.exports=class extends Ag{constructor(...e){super(...e),this.lastNode=null}atrule(e){Eu.bind(this)(e)||(super.atrule(e),Rg(this.lastNode),Pg(this.lastNode))}decl(...e){super.decl(...e),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(e){e[0][1]=` ${e[0][1]}`;let r=e.findIndex(u=>u[0]==="("),n=e.reverse().find(u=>u[0]===")"),i=e.reverse().indexOf(n),s=e.splice(r,i).map(u=>u[1]).join("");for(let u of e.reverse())this.tokenizer.back(u);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=s}init(e,r,n){super.init(e,r,n),this.lastNode=e}inlineComment(e){let r=new Eg,n=e[1].slice(2);if(this.init(r,e[2]),r.source.end=this.getPosition(e[3]||e[2]),r.inline=!0,r.raws.begin="//",/^\s*$/.test(n))r.text="",r.raws.left=n,r.raws.right="";else{let i=n.match(/^(\s*)([^]*[^\s])(\s*)$/);[,r.raws.left,r.text,r.raws.right]=i}}mixin(e){let[r]=e,n=r[1].slice(0,1),i=e.findIndex(l=>l[0]==="brackets"),o=e.findIndex(l=>l[0]==="("),s="";if((i<0||i>3)&&o>0){let l=e.reduce((b,A,S)=>A[0]===")"?S:b),p=e.slice(o,l+o).map(b=>b[1]).join(""),[f]=e.slice(o),g=[f[2],f[3]],[x]=e.slice(l,l+1),m=[x[2],x[3]],w=["brackets",p].concat(g,m),y=e.slice(0,o),E=e.slice(l+1);e=y,e.push(w),e=e.concat(E)}let u=[];for(let l of e)if((l[1]==="!"||u.length)&&u.push(l),l[1]==="important")break;if(u.length){let[l]=u,h=e.indexOf(l),p=u[u.length-1],f=[l[2],l[3]],g=[p[4],p[5]],x=u.map(w=>w[1]).join(""),m=["word",x].concat(f,g);e.splice(h,u.length,m)}let a=e.findIndex(l=>Ig.test(l[1]));a>0&&([,s]=e[a],e.splice(a,1));for(let l of e.reverse())this.tokenizer.back(l);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=n,s&&(this.lastNode.important=!0,this.lastNode.raws.important=s)}other(e){Cg.bind(this)(e)||super.other(e)}rule(e){let r=e[e.length-1],n=e[e.length-2];if(n[0]==="at-word"&&r[0]==="{"&&(this.tokenizer.back(r),Eu.bind(this)(n))){let o=this.tokenizer.nextToken();e=e.slice(0,e.length-2).concat([o]);for(let s of e.reverse())this.tokenizer.back(s);return}super.rule(e),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(e){let[r]=e;if(e[0][1]==="each"&&e[1][0]==="("){this.each(e);return}if(qg(r)){this.mixin(e);return}super.unknownWord(e)}}});var Ru=v((Y0,qu)=>{c();var Ng=sr();qu.exports=class extends Ng{atrule(e,r){if(!e.mixin&&!e.variable&&!e.function){super.atrule(e,r);return}let i=`${e.function?"":e.raws.identifier||"@"}${e.name}`,o=e.params?this.rawValue(e,"params"):"",s=e.raws.important||"";if(e.variable&&(o=e.value),typeof e.raws.afterName<"u"?i+=e.raws.afterName:o&&(i+=" "),e.nodes)this.block(e,i+o+s);else{let u=(e.raws.between||"")+s+(r?";":"");this.builder(i+o+u,e)}}comment(e){if(e.inline){let r=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder(`//${r}${e.text}${n}`,e)}else super.comment(e)}}});var Pu=v((X0,Zn)=>{c();var Mg=Ee(),Dg=Cu(),Lg=Ru();Zn.exports={parse(t,e){let r=new Mg(t,e),n=new Dg(r);return n.parse(),n.root.walk(i=>{let o=r.css.lastIndexOf(i.source.input.css);if(o===0)return;if(o+i.source.input.css.length!==r.css.length)throw new Error("Invalid state detected in postcss-less");let s=o+i.source.start.offset,u=r.fromOffset(o+i.source.start.offset);if(i.source.start={offset:s,line:u.line,column:u.col},i.source.end){let a=o+i.source.end.offset,l=r.fromOffset(o+i.source.end.offset);i.source.end={offset:a,line:l.line,column:l.col}}}),n.root},stringify(t,e){new Lg(e).stringify(t)},nodeToString(t){let e="";return Zn.exports.stringify(t,r=>{e+=r}),e}}});var Xn=v((tb,Iu)=>{c();Iu.exports=class{generate(){}}});var Or=v((ib,Du)=>{"use strict";c();var zg=Z(),Nu,Mu,le=class extends zg{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new Nu(new Mu,this,e).stringify()}};le.registerLazyResult=t=>{Nu=t};le.registerProcessor=t=>{Mu=t};Du.exports=le;le.default=le});var ei=v((ob,zu)=>{"use strict";c();var Lu={};zu.exports=function(e){Lu[e]||(Lu[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var ti=v((ub,ju)=>{"use strict";c();var Ze=class{constructor(e,r={}){if(this.type="warning",this.text=e,r.node&&r.node.source){let n=r.node.rangeBy(r);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(let n in r)this[n]=r[n]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};ju.exports=Ze;Ze.default=Ze});var Sr=v((cb,Uu)=>{"use strict";c();var jg=ti(),Xe=class{constructor(e,r,n){this.processor=e,this.messages=[],this.root=r,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,r={}){r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);let n=new jg(e,r);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};Uu.exports=Xe;Xe.default=Xe});var ii=v((pb,Wu)=>{"use strict";c();var{isClean:W,my:Ug}=nr(),Bg=Xn(),$g=Ue(),Fg=Z(),Wg=Or(),hb=ei(),Bu=Sr(),Vg=Ye(),Gg=ke(),Hg={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},Jg={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},Qg={postcssPlugin:!0,prepare:!0,Once:!0},Ae=0;function et(t){return typeof t=="object"&&typeof t.then=="function"}function Fu(t){let e=!1,r=Hg[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[r,r+"-"+e,Ae,r+"Exit",r+"Exit-"+e]:e?[r,r+"-"+e,r+"Exit",r+"Exit-"+e]:t.append?[r,Ae,r+"Exit"]:[r,r+"Exit"]}function $u(t){let e;return t.type==="document"?e=["Document",Ae,"DocumentExit"]:t.type==="root"?e=["Root",Ae,"RootExit"]:e=Fu(t),{node:t,events:e,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function ri(t){return t[W]=!1,t.nodes&&t.nodes.forEach(e=>ri(e)),t}var ni={},V=class{constructor(e,r,n){this.stringified=!1,this.processed=!1;let i;if(typeof r=="object"&&r!==null&&(r.type==="root"||r.type==="document"))i=ri(r);else if(r instanceof V||r instanceof Bu)i=ri(r.root),r.map&&(typeof n.map>"u"&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{let o=Vg;n.syntax&&(o=n.syntax.parse),n.parser&&(o=n.parser),o.parse&&(o=o.parse);try{i=o(r,n)}catch(s){this.processed=!0,this.error=s}i&&!i[Ug]&&Fg.rebuild(i)}this.result=new Bu(e,i,n),this.helpers={...ni,result:this.result,postcss:ni},this.plugins=this.processor.plugins.map(o=>typeof o=="object"&&o.prepare?{...o,...o.prepare(this.result)}:o)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,r){return this.async().then(e,r)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let r=this.runOnRoot(e);if(et(r))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[W];)e[W]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let r of e.nodes)this.visitSync(this.listeners.OnceExit,r);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,r=$g;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);let i=new Bg(r,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}walkSync(e){e[W]=!0;let r=Fu(e);for(let n of r)if(n===Ae)e.nodes&&e.each(i=>{i[W]||this.walkSync(i)});else{let i=this.listeners[n];if(i&&this.visitSync(i,e.toProxy()))return}}visitSync(e,r){for(let[n,i]of e){this.result.lastPlugin=n;let o;try{o=i(r,this.helpers)}catch(s){throw this.handleError(s,r.proxyOf)}if(r.type!=="root"&&r.type!=="document"&&!r.parent)return!0;if(et(o))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let r=this.result.root.nodes.map(n=>e.Once(n,this.helpers));return et(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(r){throw this.handleError(r)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,r){let n=this.result.lastPlugin;try{r&&r.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=n.postcssPlugin,e.setMessage()):n.postcssVersion}catch(i){console&&console.error&&console.error(i)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let r=this.plugins[e],n=this.runOnRoot(r);if(et(n))try{await n}catch(i){throw this.handleError(i)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[W];){e[W]=!0;let r=[$u(e)];for(;r.length>0;){let n=this.visitTick(r);if(et(n))try{await n}catch(i){let o=r[r.length-1].node;throw this.handleError(i,o)}}}if(this.listeners.OnceExit)for(let[r,n]of this.listeners.OnceExit){this.result.lastPlugin=r;try{if(e.type==="document"){let i=e.nodes.map(o=>n(o,this.helpers));await Promise.all(i)}else await n(e,this.helpers)}catch(i){throw this.handleError(i)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(r,n,i)=>{this.listeners[n]||(this.listeners[n]=[]),this.listeners[n].push([r,i])};for(let r of this.plugins)if(typeof r=="object")for(let n in r){if(!Jg[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${r.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!Qg[n])if(typeof r[n]=="object")for(let i in r[n])i==="*"?e(r,n,r[n][i]):e(r,n+"-"+i.toLowerCase(),r[n][i]);else typeof r[n]=="function"&&e(r,n,r[n])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let r=e[e.length-1],{node:n,visitors:i}=r;if(n.type!=="root"&&n.type!=="document"&&!n.parent){e.pop();return}if(i.length>0&&r.visitorIndex<i.length){let[s,u]=i[r.visitorIndex];r.visitorIndex+=1,r.visitorIndex===i.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=s;try{return u(n.toProxy(),this.helpers)}catch(a){throw this.handleError(a,n)}}if(r.iterator!==0){let s=r.iterator,u;for(;u=n.nodes[n.indexes[s]];)if(n.indexes[s]+=1,!u[W]){u[W]=!0,e.push($u(u));return}r.iterator=0,delete n.indexes[s]}let o=r.events;for(;r.eventIndex<o.length;){let s=o[r.eventIndex];if(r.eventIndex+=1,s===Ae){n.nodes&&n.nodes.length&&(n[W]=!0,r.iterator=n.getIterator());return}else if(this.listeners[s]){r.visitors=this.listeners[s];return}}e.pop()}};V.registerPostcss=t=>{ni=t};Wu.exports=V;V.default=V;Gg.registerLazyResult(V);Wg.registerLazyResult(V)});var Gu=v((gb,Vu)=>{"use strict";c();var Kg=Xn(),Yg=Ue(),mb=ei(),Zg=Ye(),Xg=Sr(),tt=class{constructor(e,r,n){r=r.toString(),this.stringified=!1,this._processor=e,this._css=r,this._opts=n,this._map=void 0;let i,o=Yg;this.result=new Xg(this._processor,i,this._opts),this.result.css=r;let s=this;Object.defineProperty(this.result,"root",{get(){return s.root}});let u=new Kg(o,i,this._opts,r);if(u.isMap()){let[a,l]=u.generate();a&&(this.result.css=a),l&&(this.result.map=l)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,r=Zg;try{e=r(this._css,this._opts)}catch(n){this.error=n}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,r){return this.async().then(e,r)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}};Vu.exports=tt;tt.default=tt});var Ju=v((wb,Hu)=>{"use strict";c();var ey=Gu(),ty=ii(),ry=Or(),ny=ke(),ce=class{constructor(e=[]){this.version="8.4.17",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,r={}){return this.plugins.length===0&&typeof r.parser>"u"&&typeof r.stringifier>"u"&&typeof r.syntax>"u"?new ey(this,e,r):new ty(this,e,r)}normalize(e){let r=[];for(let n of e)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n=="object"&&Array.isArray(n.plugins))r=r.concat(n.plugins);else if(typeof n=="object"&&n.postcssPlugin)r.push(n);else if(typeof n=="function")r.push(n);else if(!(typeof n=="object"&&(n.parse||n.stringify)))throw new Error(n+" is not a PostCSS plugin");return r}};Hu.exports=ce;ce.default=ce;ny.registerProcessor(ce);ry.registerProcessor(ce)});var Ku=v((xb,Qu)=>{"use strict";c();var iy=We(),sy=Gn(),oy=xe(),ay=mr(),uy=Ee(),ly=ke(),cy=gr();function rt(t,e){if(Array.isArray(t))return t.map(i=>rt(i));let{inputs:r,...n}=t;if(r){e=[];for(let i of r){let o={...i,__proto__:uy.prototype};o.map&&(o.map={...o.map,__proto__:sy.prototype}),e.push(o)}}if(n.nodes&&(n.nodes=t.nodes.map(i=>rt(i,e))),n.source){let{inputId:i,...o}=n.source;n.source=o,i!=null&&(n.source.input=e[i])}if(n.type==="root")return new ly(n);if(n.type==="decl")return new iy(n);if(n.type==="rule")return new cy(n);if(n.type==="comment")return new oy(n);if(n.type==="atrule")return new ay(n);throw new Error("Unknown node type: "+t.type)}Qu.exports=rt;rt.default=rt});var Tr=v((kb,nl)=>{"use strict";c();var fy=ir(),Yu=We(),hy=ii(),py=Z(),si=Ju(),dy=Ue(),my=Ku(),Zu=Or(),gy=ti(),Xu=xe(),el=mr(),yy=Sr(),wy=Ee(),vy=Ye(),xy=Pn(),tl=gr(),rl=ke(),by=$e();function k(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new si(t)}k.plugin=function(e,r){let n=!1;function i(...s){console&&console.warn&&!n&&(n=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
41
- https://evilmartians.com/chronicles/postcss-8-plugin-migration`),d.env.LANG&&d.env.LANG.startsWith("cn")&&console.warn(e+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
42
- https://www.w3ctech.com/topic/2226`));let u=r(...s);return u.postcssPlugin=e,u.postcssVersion=new si().version,u}let o;return Object.defineProperty(i,"postcss",{get(){return o||(o=i()),o}}),i.process=function(s,u,a){return k([i(a)]).process(s,u)},i};k.stringify=dy;k.parse=vy;k.fromJSON=my;k.list=xy;k.comment=t=>new Xu(t);k.atRule=t=>new el(t);k.decl=t=>new Yu(t);k.rule=t=>new tl(t);k.root=t=>new rl(t);k.document=t=>new Zu(t);k.CssSyntaxError=fy;k.Declaration=Yu;k.Container=py;k.Processor=si;k.Document=Zu;k.Comment=Xu;k.Warning=gy;k.AtRule=el;k.Result=yy;k.Input=wy;k.Rule=tl;k.Root=rl;k.Node=by;hy.registerPostcss(k);nl.exports=k;k.default=k});var sl=v((Sb,il)=>{c();var{Container:ky}=Tr(),oi=class extends ky{constructor(e){super(e),this.type="decl",this.isNested=!0,this.nodes||(this.nodes=[])}};il.exports=oi});var fl=v((_b,cl)=>{"use strict";c();var ai="'".charCodeAt(0),ui='"'.charCodeAt(0),nt="\\".charCodeAt(0),_r="/".charCodeAt(0),li=`
43
- `.charCodeAt(0),Er=" ".charCodeAt(0),ci="\f".charCodeAt(0),fi=" ".charCodeAt(0),hi="\r".charCodeAt(0),Oy="[".charCodeAt(0),Sy="]".charCodeAt(0),ol="(".charCodeAt(0),al=")".charCodeAt(0),Ar="{".charCodeAt(0),ul="}".charCodeAt(0),Ty=";".charCodeAt(0),_y="*".charCodeAt(0),Ey=":".charCodeAt(0),Ay="@".charCodeAt(0),Cy=",".charCodeAt(0),pi="#".charCodeAt(0),Cr=/[\t\n\f\r "#'()/;[\\\]{}]/g,qr=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,qy=/.[\n"'(/\\]/,ll=/[\da-f]/i,Rr=/[\n\f\r]/g;cl.exports=function(e,r={}){let n=e.css.valueOf(),i=r.ignoreErrors,o,s,u,a,l,h,p,f,g,x=n.length,m=0,w=[],y=[],E;function b(){return m}function A(O){throw e.error("Unclosed "+O,m)}function S(){return y.length===0&&m>=x}function C(){let O=1,T=!1,R=!1;for(;O>0;)s+=1,n.length<=s&&A("interpolation"),o=n.charCodeAt(s),f=n.charCodeAt(s+1),T?!R&&o===T?(T=!1,R=!1):o===nt?R=!R:R&&(R=!1):o===ai||o===ui?T=o:o===ul?O-=1:o===pi&&f===Ar&&(O+=1)}function L(O){if(y.length)return y.pop();if(m>=x)return;let T=O?O.ignoreUnclosed:!1;switch(o=n.charCodeAt(m),o){case li:case Er:case fi:case hi:case ci:{s=m;do s+=1,o=n.charCodeAt(s);while(o===Er||o===li||o===fi||o===hi||o===ci);g=["space",n.slice(m,s)],m=s-1;break}case Oy:case Sy:case Ar:case ul:case Ey:case Ty:case al:{let R=String.fromCharCode(o);g=[R,R,m];break}case Cy:{g=["word",",",m,m+1];break}case ol:{if(p=w.length?w.pop()[1]:"",f=n.charCodeAt(m+1),p==="url"&&f!==ai&&f!==ui){for(E=1,h=!1,s=m+1;s<=n.length-1;){if(f=n.charCodeAt(s),f===nt)h=!h;else if(f===ol)E+=1;else if(f===al&&(E-=1,E===0))break;s+=1}a=n.slice(m,s+1),g=["brackets",a,m,s],m=s}else s=n.indexOf(")",m+1),a=n.slice(m,s+1),s===-1||qy.test(a)?g=["(","(",m]:(g=["brackets",a,m,s],m=s);break}case ai:case ui:{for(u=o,s=m,h=!1;s<x&&(s++,s===x&&A("string"),o=n.charCodeAt(s),f=n.charCodeAt(s+1),!(!h&&o===u));)o===nt?h=!h:h?h=!1:o===pi&&f===Ar&&C();g=["string",n.slice(m,s+1),m,s],m=s;break}case Ay:{Cr.lastIndex=m+1,Cr.test(n),Cr.lastIndex===0?s=n.length-1:s=Cr.lastIndex-2,g=["at-word",n.slice(m,s+1),m,s],m=s;break}case nt:{for(s=m,l=!0;n.charCodeAt(s+1)===nt;)s+=1,l=!l;if(o=n.charCodeAt(s+1),l&&o!==_r&&o!==Er&&o!==li&&o!==fi&&o!==hi&&o!==ci&&(s+=1,ll.test(n.charAt(s)))){for(;ll.test(n.charAt(s+1));)s+=1;n.charCodeAt(s+1)===Er&&(s+=1)}g=["word",n.slice(m,s+1),m,s],m=s;break}default:f=n.charCodeAt(m+1),o===pi&&f===Ar?(s=m,C(),a=n.slice(m,s+1),g=["word",a,m,s],m=s):o===_r&&f===_y?(s=n.indexOf("*/",m+2)+1,s===0&&(i||T?s=n.length:A("comment")),g=["comment",n.slice(m,s+1),m,s],m=s):o===_r&&f===_r?(Rr.lastIndex=m+1,Rr.test(n),Rr.lastIndex===0?s=n.length-1:s=Rr.lastIndex-2,a=n.slice(m,s+1),g=["comment",a,m,s,"inline"],m=s):(qr.lastIndex=m+1,qr.test(n),qr.lastIndex===0?s=n.length-1:s=qr.lastIndex-2,g=["word",n.slice(m,s+1),m,s],w.push(g),m=s);break}return m++,g}function q(O){y.push(O)}return{back:q,nextToken:L,endOfFile:S,position:b}}});var pl=v((Ab,hl)=>{c();var{Comment:Ry}=Tr(),Py=yr(),Iy=sl(),Ny=fl(),di=class extends Py{createTokenizer(){this.tokenizer=Ny(this.input)}rule(e){let r=!1,n=0,i="";for(let o of e)if(r)o[0]!=="comment"&&o[0]!=="{"&&(i+=o[1]);else{if(o[0]==="space"&&o[1].includes(`
44
- `))break;o[0]==="("?n+=1:o[0]===")"?n-=1:n===0&&o[0]===":"&&(r=!0)}if(!r||i.trim()===""||/^[#:A-Za-z-]/.test(i))super.rule(e);else{e.pop();let o=new Iy;this.init(o,e[0][2]);let s;for(let a=e.length-1;a>=0;a--)if(e[a][0]!=="space"){s=e[a];break}if(s[3]){let a=this.input.fromOffset(s[3]);o.source.end={offset:s[3],line:a.line,column:a.col}}else{let a=this.input.fromOffset(s[2]);o.source.end={offset:s[2],line:a.line,column:a.col}}for(;e[0][0]!=="word";)o.raws.before+=e.shift()[1];if(e[0][2]){let a=this.input.fromOffset(e[0][2]);o.source.start={offset:e[0][2],line:a.line,column:a.col}}for(o.prop="";e.length;){let a=e[0][0];if(a===":"||a==="space"||a==="comment")break;o.prop+=e.shift()[1]}o.raws.between="";let u;for(;e.length;)if(u=e.shift(),u[0]===":"){o.raws.between+=u[1];break}else o.raws.between+=u[1];(o.prop[0]==="_"||o.prop[0]==="*")&&(o.raws.before+=o.prop[0],o.prop=o.prop.slice(1)),o.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(let a=e.length-1;a>0;a--){if(u=e[a],u[1]==="!important"){o.important=!0;let l=this.stringFrom(e,a);l=this.spacesFromEnd(e)+l,l!==" !important"&&(o.raws.important=l);break}else if(u[1]==="important"){let l=e.slice(0),h="";for(let p=a;p>0;p--){let f=l[p][0];if(h.trim().indexOf("!")===0&&f!=="space")break;h=l.pop()[1]+h}h.trim().indexOf("!")===0&&(o.important=!0,o.raws.important=h,e=l)}if(u[0]!=="space"&&u[0]!=="comment")break}this.raw(o,"value",e),o.value.includes(":")&&this.checkMissedSemicolon(e),this.current=o}}comment(e){if(e[4]==="inline"){let r=new Ry;this.init(r,e[2]),r.raws.inline=!0;let n=this.input.fromOffset(e[3]);r.source.end={offset:e[3],line:n.line,column:n.col};let i=e[1].slice(2);if(/^\s*$/.test(i))r.text="",r.raws.left=i,r.raws.right="";else{let o=i.match(/^(\s*)([^]*\S)(\s*)$/),s=o[2].replace(/(\*\/|\/\*)/g,"*//*");r.text=s,r.raws.left=o[1],r.raws.right=o[3],r.raws.text=o[2]}}else super.comment(e)}atrule(e){let r=e[1],n=e;for(;!this.tokenizer.endOfFile();){let i=this.tokenizer.nextToken();if(i[0]==="word"&&i[2]===n[3]+1)r+=i[1],n=i;else{this.tokenizer.back(i);break}}super.atrule(["at-word",r,e[2],n[3]])}raw(e,r,n,i){if(super.raw(e,r,n,i),e.raws[r]){let o=e.raws[r].raw;e.raws[r].raw=n.reduce((s,u)=>{if(u[0]==="comment"&&u[4]==="inline"){let a=u[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return s+"/*"+a+"*/"}else return s+u[1]},""),o!==e.raws[r].raw&&(e.raws[r].scss=o)}}};hl.exports=di});var ml=v((qb,dl)=>{c();var{Input:My}=Tr(),Dy=pl();dl.exports=function(e,r){let n=new My(e,r),i=new Dy(n);return i.parse(),i.root}});var Wy={};ut(Wy,{default:()=>Fy});c();c();var Cl=(t,e,r,...n)=>{if(!(t&&e==null))return e.at?e.at(r,...n):e[r<0?e.length+r:r]},qe=Cl;c();function ql(t,e){let r=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(r,e)}var wi=ql;c();var Rl=new RegExp("^(?<startDelimiter>-{3}|\\+{3})(?<language>[^\\n]*)\\n(?:|(?<value>.*?)\\n)(?<endDelimiter>\\k<startDelimiter>|\\.{3})[^\\S\\n]*(?:\\n|$)","s");function Pl(t){let e=t.match(Rl);if(!e)return{content:t};let{startDelimiter:r,language:n,value:i="",endDelimiter:o}=e.groups,s=n.trim()||"yaml";if(r==="+++"&&(s="toml"),s!=="yaml"&&r!==o)return{content:t};let[u]=e;return{frontMatter:{type:"front-matter",lang:s,value:i,startDelimiter:r,endDelimiter:o,raw:u.replace(/\n$/,"")},content:u.replace(/[^\n]/g," ")+t.slice(u.length)}}var ct=Pl;c();c();var de=ee(Ti(),1);c();c();function $l(t){if(!t.startsWith("#!"))return"";let e=t.indexOf(`
45
- `);return e===-1?t:t.slice(0,e)}var _i=$l;function Fl(t){let e=_i(t);e&&(t=t.slice(e.length+1));let r=(0,de.extract)(t),{pragmas:n,comments:i}=(0,de.parseWithComments)(r);return{shebang:e,text:t,pragmas:n,comments:i}}function Ei(t){let e=Object.keys(Fl(t).pragmas);return e.includes("prettier")||e.includes("format")}function Ai(t){return Ei(ct(t).content)}c();c();function ft(t){return(e,r,n)=>{let i=n&&n.backwards;if(r===!1)return!1;let{length:o}=e,s=r;for(;s>=0&&s<o;){let u=e.charAt(s);if(t instanceof RegExp){if(!t.test(u))return s}else if(!t.includes(u))return s;i?s--:s++}return s===-1||s===o?s:!1}}var mw=ft(/\s/),gw=ft(" "),yw=ft(",; "),Ci=ft(/[^\n\r]/);c();function Wl(t){return Array.isArray(t)&&t.length>0}var ht=Wl;c();function Vl(t,e){let r=0;for(let n=0;n<t.line-1;++n)r=e.indexOf(`
46
- `,r)+1;return r+t.column}var Mr=Vl;function qi(t,e){if(t.source&&t.source.start&&typeof t.source.start.offset=="number")return t.source.start.offset;if(typeof t.sourceIndex=="number")return t.sourceIndex;if(t.source&&t.source.start)return Mr(t.source.start,e);throw console.log(t),new Error("Can not locate node.")}function Dr(t,e){if(t.type==="css-comment"&&t.inline)return Ci(e,t.source.startOffset);if(t.source&&t.source.end&&typeof t.source.end.offset=="number")return t.source.end.offset+1;if(t.source){if(t.source.end)return Mr(t.source.end,e);if(ht(t.nodes))return Dr(qe(!1,t.nodes,-1),e)}return null}function Lr(t,e){t.source&&(t.source.startOffset=qi(t,e),t.source.endOffset=Dr(t,e));for(let r in t){let n=t[r];r==="source"||!n||typeof n!="object"||(n.type==="value-root"||n.type==="value-unknown"?Ri(n,Gl(t),n.text||n.value):Lr(n,e))}}function Ri(t,e,r){t.source&&(t.source.startOffset=qi(t,r)+e,t.source.endOffset=Dr(t,r)+e);for(let n in t){let i=t[n];n==="source"||!i||typeof i!="object"||Ri(i,e,r)}}function Gl(t){let e=t.source.startOffset;return typeof t.prop=="string"&&(e+=t.prop.length),t.type==="css-atrule"&&typeof t.name=="string"&&(e+=1+t.name.length+t.raws.afterName.match(/^\s*:?\s*/)[0].length),t.type!=="css-atrule"&&t.raws&&typeof t.raws.between=="string"&&(e+=t.raws.between.length),e}function Pi(t){let e="initial",r="initial",n,i=!1,o=[];for(let s=0;s<t.length;s++){let u=t[s];switch(e){case"initial":if(u==="'"){e="single-quotes";continue}if(u==='"'){e="double-quotes";continue}if((u==="u"||u==="U")&&t.slice(s,s+4).toLowerCase()==="url("){e="url",s+=3;continue}if(u==="*"&&t[s-1]==="/"){e="comment-block";continue}if(u==="/"&&t[s-1]==="/"){e="comment-inline",n=s-1;continue}continue;case"single-quotes":if(u==="'"&&t[s-1]!=="\\"&&(e=r,r="initial"),u===`
47
- `||u==="\r")return t;continue;case"double-quotes":if(u==='"'&&t[s-1]!=="\\"&&(e=r,r="initial"),u===`
48
- `||u==="\r")return t;continue;case"url":if(u===")"&&(e="initial"),u===`
49
- `||u==="\r")return t;if(u==="'"){e="single-quotes",r="url";continue}if(u==='"'){e="double-quotes",r="url";continue}continue;case"comment-block":u==="/"&&t[s-1]==="*"&&(e="initial");continue;case"comment-inline":(u==='"'||u==="'"||u==="*")&&(i=!0),(u===`
50
- `||u==="\r")&&(i&&o.push([n,s]),e="initial",i=!1);continue}}for(let[s,u]of o)t=t.slice(0,s)+t.slice(s,u).replace(/["'*]/g," ")+t.slice(u);return t}function Ii(t){return t.source.startOffset}function Ni(t){return t.source.endOffset}c();function Hl(t){if(ht(t)){for(let e=t.length-1;e>0;e--)if(t[e].type==="word"&&t[e].value==="{"&&t[e-1].type==="word"&&t[e-1].value.endsWith("#"))return!0}return!1}var Mi=Hl;c();function Jl(t){return t.some(e=>e.type==="string"||e.type==="func")}var Di=Jl;c();function Ql(t,e){return e.parser!=="scss"||!t.selector?!1:t.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":")}var Li=Ql;c();function Kl(t,e){return Boolean(e.parser==="scss"&&(t==null?void 0:t.type)==="word"&&t.value.startsWith("$"))}var zi=Kl;c();function zr(t){var a,l,h,p,f,g;if(t.groups){let x=((a=t.open)==null?void 0:a.value)||"",m=t.groups.map(y=>zr(y)).join(((l=t.groups[0])==null?void 0:l.type)==="comma_group"?",":""),w=((h=t.close)==null?void 0:h.value)||"";return x+m+w}let e=((p=t.raws)==null?void 0:p.before)||"",r=((f=t.raws)==null?void 0:f.quote)||"",n=t.type==="atword"?"@":"",i=t.value||"",o=t.unit||"",s=t.group?zr(t.group):"",u=((g=t.raws)==null?void 0:g.after)||"";return e+r+n+i+r+o+s+u}var ji=zr;c();var Yl=new Set(["import","use","forward"]);function Zl(t){return Yl.has(t)}var Ui=Zl;var Ly=t=>{for(;t.parent;)t=t.parent;return t};async function zy(t,e){let{nodes:r}=t,n={open:null,close:null,groups:[],type:"paren_group"},i=[n],o=n,s={groups:[],type:"comma_group"},u=[s];for(let a=0;a<r.length;++a){let l=r[a];if(e.parser==="scss"&&l.type==="number"&&l.unit===".."&&l.value.endsWith(".")&&(l.value=l.value.slice(0,-1),l.unit="..."),l.type==="func"&&l.value==="selector"&&(l.group.groups=[await he(Ly(t).text.slice(l.group.open.sourceIndex+1,l.group.close.sourceIndex))]),l.type==="func"&&l.value==="url"){let h=l.group&&l.group.groups||[],p=[];for(let f=0;f<h.length;f++){let g=h[f];g.type==="comma_group"?p=[...p,...g.groups]:p.push(g)}if(Mi(p)||!Di(p)&&!zi(p[0],e)){let f=ji({groups:l.group.groups});l.group.groups=[f.trim()]}}if(l.type==="paren"&&l.value==="(")n={open:l,close:null,groups:[],type:"paren_group"},i.push(n),s={groups:[],type:"comma_group"},u.push(s);else if(l.type==="paren"&&l.value===")"){if(s.groups.length>0&&n.groups.push(s),n.close=l,u.length===1)throw new Error("Unbalanced parenthesis");u.pop(),s=qe(!1,u,-1),s.groups.push(n),i.pop(),n=qe(!1,i,-1)}else l.type==="comma"?(n.groups.push(s),s={groups:[],type:"comma_group"},u[u.length-1]=s):s.groups.push(l)}return s.groups.length>0&&n.groups.push(s),o}function Pr(t){return t.type==="paren_group"&&!t.open&&!t.close&&t.groups.length===1||t.type==="comma_group"&&t.groups.length===1?Pr(t.groups[0]):t.type==="paren_group"||t.type==="comma_group"?{...t,groups:t.groups.map(Pr)}:t}function it(t,e,r){if(t&&typeof t=="object"){delete t.parent;for(let n in t)it(t[n],e,r),n==="type"&&typeof t[n]=="string"&&!t[n].startsWith(e)&&(!r||!r.test(t[n]))&&(t[n]=e+t[n])}return t}function gl(t){if(t&&typeof t=="object"){delete t.parent;for(let e in t)gl(t[e]);!Array.isArray(t)&&t.value&&!t.type&&(t.type="unknown")}return t}async function yl(t,e){if(t&&typeof t=="object"){for(let r in t)r!=="parent"&&(await yl(t[r],e),r==="nodes"&&(t.group=Pr(await zy(t,e)),delete t[r]));delete t.parent}return t}async function fe(t,e){let r=await Promise.resolve().then(()=>ee(Ks(),1)).then(s=>s.default),n=(s,u)=>new r(s,u),i=null;try{i=n(t,{loose:!0}).parse()}catch{return{type:"value-unknown",value:t}}i.text=t;let o=await yl(i,e);return it(o,"value-",/^selector-/)}async function he(t){if(/\/\/|\/\*/.test(t))return{type:"selector-unknown",value:t.trim()};let e=await Promise.resolve().then(()=>ee(Bo(),1)).then(i=>i.default),r=i=>new e(i),n=null;try{r(i=>{n=i}).process(t)}catch{return{type:"selector-unknown",value:t}}return it(n,"selector-")}async function jy(t){let e=await Promise.resolve().then(()=>ee(Ho(),1)).then(n=>n.default.default),r=null;try{r=e(t)}catch{return{type:"selector-unknown",value:t}}return it(gl(r),"media-")}var Uy=/(\s*)(!default).*$/,By=/(\s*)(!global).*$/;async function wl(t,e){var r,n,i,o;if(t&&typeof t=="object"){delete t.parent;for(let l in t)await wl(t[l],e);if(!t.type)return t;if((r=t.raws)!=null||(t.raws={}),t.type==="css-decl"&&typeof t.prop=="string"&&t.prop.startsWith("--")&&typeof t.value=="string"&&t.value.startsWith("{")){let l;if(t.value.trimEnd().endsWith("}")){let h=e.originalText.slice(0,t.source.start.offset),p="a".repeat(t.prop.length)+e.originalText.slice(t.source.start.offset+t.prop.length,t.source.end.offset+1),f=h.replace(/[^\n]/g," ")+p,g;e.parser==="scss"?g=bl:e.parser==="less"?g=xl:g=vl;let x;try{x=await g(f,{...e})}catch{}x&&x.nodes&&x.nodes.length===1&&x.nodes[0].type==="css-rule"&&(l=x.nodes[0].nodes)}return l?t.value={type:"css-rule",nodes:l}:t.value={type:"value-unknown",value:t.raws.value.raw},t}let s="";typeof t.selector=="string"&&(s=t.raws.selector?(n=t.raws.selector.scss)!=null?n:t.raws.selector.raw:t.selector,t.raws.between&&t.raws.between.trim().length>0&&(s+=t.raws.between),t.raws.selector=s);let u="";typeof t.value=="string"&&(u=t.raws.value?(i=t.raws.value.scss)!=null?i:t.raws.value.raw:t.value,u=u.trim(),t.raws.value=u);let a="";if(typeof t.params=="string"&&(a=t.raws.params?(o=t.raws.params.scss)!=null?o:t.raws.params.raw:t.params,t.raws.afterName&&t.raws.afterName.trim().length>0&&(a=t.raws.afterName+a),t.raws.between&&t.raws.between.trim().length>0&&(a=a+t.raws.between),a=a.trim(),t.raws.params=a),s.trim().length>0)return s.startsWith("@")&&s.endsWith(":")?t:t.mixin?(t.selector=await fe(s,e),t):(Li(t,e)&&(t.isSCSSNesterProperty=!0),t.selector=await he(s),t);if(u.length>0){let l=u.match(Uy);l&&(u=u.slice(0,l.index),t.scssDefault=!0,l[0].trim()!=="!default"&&(t.raws.scssDefault=l[0]));let h=u.match(By);if(h&&(u=u.slice(0,h.index),t.scssGlobal=!0,h[0].trim()!=="!global"&&(t.raws.scssGlobal=h[0])),u.startsWith("progid:"))return{type:"value-unknown",value:u};t.value=await fe(u,e)}if(e.parser==="less"&&t.type==="css-decl"&&u.startsWith("extend(")&&(t.extend||(t.extend=t.raws.between===":"),t.extend&&!t.selector&&(delete t.value,t.selector=await he(u.slice(7,-1)))),t.type==="css-atrule"){if(e.parser==="less"){if(t.mixin){let l=t.raws.identifier+t.name+t.raws.afterName+t.raws.params;return t.selector=await he(l),delete t.params,t}if(t.function)return t}if(e.parser==="css"&&t.name==="custom-selector"){let l=t.params.match(/:--\S+\s+/)[0].trim();return t.customSelector=l,t.selector=await he(t.params.slice(l.length).trim()),delete t.params,t}if(e.parser==="less"){if(t.name.includes(":")&&!t.params){t.variable=!0;let l=t.name.split(":");t.name=l[0],t.value=await fe(l.slice(1).join(":"),e)}if(!["page","nest","keyframes"].includes(t.name)&&t.params&&t.params[0]===":"&&(t.variable=!0,t.value=await fe(t.params.slice(1),e),t.raws.afterName+=":"),t.variable)return delete t.params,t}}if(t.type==="css-atrule"&&a.length>0){let{name:l}=t,h=t.name.toLowerCase();return l==="warn"||l==="error"?(t.params={type:"media-unknown",value:a},t):l==="extend"||l==="nest"?(t.selector=await he(a),delete t.params,t):l==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(a)?t.params=await fe(a,e):(t.selector=await he(a),delete t.params),t):Ui(h)?(t.import=!0,delete t.filename,t.params=await fe(a,e),t):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(l)?(a=a.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),a=a.replace(/^(?!if)(\S+)(\s+)\(/,"$1($2"),t.value=await fe(a,e),delete t.params,t):["media","custom-media"].includes(h)?a.includes("#{")?{type:"media-unknown",value:a}:(t.params=await jy(a),t):(t.params=a,t)}}return t}async function gi(t,e,r){let n=ct(e),{frontMatter:i}=n;e=n.content;let o;try{o=t(e,{map:!1})}catch(s){let{name:u,reason:a,line:l,column:h}=s;throw typeof l!="number"?s:wi(`${u}: ${a}`,{loc:{start:{line:l,column:h}},cause:s})}return r.originalText=e,o=await wl(it(o,"css-"),r),Lr(o,e),i&&(i.source={startOffset:0,endOffset:i.raw.length},o.frontMatter=i),o}async function vl(t,e={}){let r=await Promise.resolve().then(()=>ee(Ye(),1)).then(n=>n.default);return gi(r,t,e)}async function xl(t,e={}){let r=await Promise.resolve().then(()=>ee(Pu(),1));return gi(n=>r.parse(Pi(n)),t,e)}async function bl(t,e={}){let{default:r}=await Promise.resolve().then(()=>ee(ml(),1));return gi(r,t,e)}var mi={astFormat:"postcss",hasPragma:Ai,locStart:Ii,locEnd:Ni},$y={parsers:{css:{...mi,parse:vl},less:{...mi,parse:xl},scss:{...mi,parse:bl}}},Fy=$y;return lt(Wy);});
26
+ `,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function Cf(t){return t[0].toUpperCase()+t.slice(1)}var ft=class{constructor(e){this.builder=e}stringify(e,s){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,s)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let s=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder("/*"+s+e.text+r+"*/",e)}decl(e,s){let r=this.raw(e,"between","colon"),n=e.prop+r+this.rawValue(e,"value");e.important&&(n+=e.raws.important||" !important"),s&&(n+=";"),this.builder(n,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,s){let r="@"+e.name,n=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?r+=e.raws.afterName:n&&(r+=" "),e.nodes)this.block(e,r+n);else{let i=(e.raws.between||"")+(s?";":"");this.builder(r+n+i,e)}}body(e){let s=e.nodes.length-1;for(;s>0&&e.nodes[s].type==="comment";)s-=1;let r=this.raw(e,"semicolon");for(let n=0;n<e.nodes.length;n++){let i=e.nodes[n],o=this.raw(i,"before");o&&this.builder(o),this.stringify(i,s!==n||r)}}block(e,s){let r=this.raw(e,"between","beforeOpen");this.builder(s+r+"{",e,"start");let n;e.nodes&&e.nodes.length?(this.body(e),n=this.raw(e,"after")):n=this.raw(e,"after","emptyBody"),n&&this.builder(n),this.builder("}",e,"end")}raw(e,s,r){let n;if(r||(r=s),s&&(n=e.raws[s],typeof n<"u"))return n;let i=e.parent;if(r==="before"&&(!i||i.type==="root"&&i.first===e||i&&i.type==="document"))return"";if(!i)return co[r];let o=e.root();if(o.rawCache||(o.rawCache={}),typeof o.rawCache[r]<"u")return o.rawCache[r];if(r==="before"||r==="after")return this.beforeAfter(e,r);{let a="raw"+Cf(r);this[a]?n=this[a](o,e):o.walk(u=>{if(n=u.raws[s],typeof n<"u")return!1})}return typeof n>"u"&&(n=co[r]),o.rawCache[r]=n,n}rawSemicolon(e){let s;return e.walk(r=>{if(r.nodes&&r.nodes.length&&r.last.type==="decl"&&(s=r.raws.semicolon,typeof s<"u"))return!1}),s}rawEmptyBody(e){let s;return e.walk(r=>{if(r.nodes&&r.nodes.length===0&&(s=r.raws.after,typeof s<"u"))return!1}),s}rawIndent(e){if(e.raws.indent)return e.raws.indent;let s;return e.walk(r=>{let n=r.parent;if(n&&n!==e&&n.parent&&n.parent===e&&typeof r.raws.before<"u"){let i=r.raws.before.split(`
27
+ `);return s=i[i.length-1],s=s.replace(/\S/g,""),!1}}),s}rawBeforeComment(e,s){let r;return e.walkComments(n=>{if(typeof n.raws.before<"u")return r=n.raws.before,r.includes(`
28
+ `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(s,null,"beforeDecl"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeDecl(e,s){let r;return e.walkDecls(n=>{if(typeof n.raws.before<"u")return r=n.raws.before,r.includes(`
29
+ `)&&(r=r.replace(/[^\n]+$/,"")),!1}),typeof r>"u"?r=this.raw(s,null,"beforeRule"):r&&(r=r.replace(/\S/g,"")),r}rawBeforeRule(e){let s;return e.walk(r=>{if(r.nodes&&(r.parent!==e||e.first!==r)&&typeof r.raws.before<"u")return s=r.raws.before,s.includes(`
30
+ `)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawBeforeClose(e){let s;return e.walk(r=>{if(r.nodes&&r.nodes.length>0&&typeof r.raws.after<"u")return s=r.raws.after,s.includes(`
31
+ `)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawBeforeOpen(e){let s;return e.walk(r=>{if(r.type!=="decl"&&(s=r.raws.between,typeof s<"u"))return!1}),s}rawColon(e){let s;return e.walkDecls(r=>{if(typeof r.raws.between<"u")return s=r.raws.between.replace(/[^\s:]/g,""),!1}),s}beforeAfter(e,s){let r;e.type==="decl"?r=this.raw(e,null,"beforeDecl"):e.type==="comment"?r=this.raw(e,null,"beforeComment"):s==="before"?r=this.raw(e,null,"beforeRule"):r=this.raw(e,null,"beforeClose");let n=e.parent,i=0;for(;n&&n.type!=="root";)i+=1,n=n.parent;if(r.includes(`
32
+ `)){let o=this.raw(e,null,"indent");if(o.length)for(let a=0;a<i;a++)r+=o}return r}rawValue(e,s){let r=e[s],n=e.raws[s];return n&&n.value===r?n.raw:r}};fo.exports=ft;ft.default=ft});var pt=y((tb,po)=>{"use strict";var Of=Zt();function Rs(t,e){new Of(e).stringify(t)}po.exports=Rs;Rs.default=Rs});var dt=y((rb,ho)=>{"use strict";var{isClean:er,my:Af}=Jt(),Nf=Xt(),Pf=Zt(),Rf=pt();function Is(t,e){let s=new t.constructor;for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r)||r==="proxyCache")continue;let n=t[r],i=typeof n;r==="parent"&&i==="object"?e&&(s[r]=e):r==="source"?s[r]=n:Array.isArray(n)?s[r]=n.map(o=>Is(o,s)):(i==="object"&&n!==null&&(n=Is(n)),s[r]=n)}return s}var ht=class{constructor(e={}){this.raws={},this[er]=!1,this[Af]=!0;for(let s in e)if(s==="nodes"){this.nodes=[];for(let r of e[s])typeof r.clone=="function"?this.append(r.clone()):this.append(r)}else this[s]=e[s]}error(e,s={}){if(this.source){let{start:r,end:n}=this.rangeBy(s);return this.source.input.error(e,{line:r.line,column:r.column},{line:n.line,column:n.column},s)}return new Nf(e)}warn(e,s,r){let n={node:this};for(let i in r)n[i]=r[i];return e.warn(s,n)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=Rf){e.stringify&&(e=e.stringify);let s="";return e(this,r=>{s+=r}),s}assign(e={}){for(let s in e)this[s]=e[s];return this}clone(e={}){let s=Is(this);for(let r in e)s[r]=e[r];return s}cloneBefore(e={}){let s=this.clone(e);return this.parent.insertBefore(this,s),s}cloneAfter(e={}){let s=this.clone(e);return this.parent.insertAfter(this,s),s}replaceWith(...e){if(this.parent){let s=this,r=!1;for(let n of e)n===this?r=!0:r?(this.parent.insertAfter(s,n),s=n):this.parent.insertBefore(s,n);r||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}raw(e,s){return new Pf().raw(this,e,s)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,s){let r={},n=s==null;s=s||new Map;let i=0;for(let o in this){if(!Object.prototype.hasOwnProperty.call(this,o)||o==="parent"||o==="proxyCache")continue;let a=this[o];if(Array.isArray(a))r[o]=a.map(u=>typeof u=="object"&&u.toJSON?u.toJSON(null,s):u);else if(typeof a=="object"&&a.toJSON)r[o]=a.toJSON(null,s);else if(o==="source"){let u=s.get(a.input);u==null&&(u=i,s.set(a.input,i),i++),r[o]={inputId:u,start:a.start,end:a.end}}else r[o]=a}return n&&(r.inputs=[...s.keys()].map(o=>o.toJSON())),r}positionInside(e){let s=this.toString(),r=this.source.start.column,n=this.source.start.line;for(let i=0;i<e;i++)s[i]===`
33
+ `?(r=1,n+=1):r+=1;return{line:n,column:r}}positionBy(e){let s=this.source.start;if(e.index)s=this.positionInside(e.index);else if(e.word){let r=this.toString().indexOf(e.word);r!==-1&&(s=this.positionInside(r))}return s}rangeBy(e){let s={line:this.source.start.line,column:this.source.start.column},r=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:s.line,column:s.column+1};if(e.word){let n=this.toString().indexOf(e.word);n!==-1&&(s=this.positionInside(n),r=this.positionInside(n+e.word.length))}else e.start?s={line:e.start.line,column:e.start.column}:e.index&&(s=this.positionInside(e.index)),e.end?r={line:e.end.line,column:e.end.column}:e.endIndex?r=this.positionInside(e.endIndex):e.index&&(r=this.positionInside(e.index+1));return(r.line<s.line||r.line===s.line&&r.column<=s.column)&&(r={line:s.line,column:s.column+1}),{start:s,end:r}}getProxyProcessor(){return{set(e,s,r){return e[s]===r||(e[s]=r,(s==="prop"||s==="value"||s==="name"||s==="params"||s==="important"||s==="text")&&e.markDirty()),!0},get(e,s){return s==="proxyOf"?e:s==="root"?()=>e.root().toProxy():e[s]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let s=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${s.input.from}:${s.start.line}:${s.start.column}$&`)}return e}markDirty(){if(this[er]){this[er]=!1;let e=this;for(;e=e.parent;)e[er]=!1}}get proxyOf(){return this}};ho.exports=ht;ht.default=ht});var yt=y((sb,mo)=>{"use strict";var If=dt(),mt=class extends If{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]==="$"}};mo.exports=mt;mt.default=mt});var qe=y((nb,yo)=>{"use strict";var qf=dt(),gt=class extends qf{constructor(e){super(e),this.type="comment"}};yo.exports=gt;gt.default=gt});var ae=y((ib,Eo)=>{"use strict";var{isClean:go,my:wo}=Jt(),vo=yt(),xo=qe(),Df=dt(),bo,qs,Ds,ko;function _o(t){return t.map(e=>(e.nodes&&(e.nodes=_o(e.nodes)),delete e.source,e))}function To(t){if(t[go]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)To(e)}var U=class extends Df{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let s=this.getIterator(),r,n;for(;this.indexes[s]<this.proxyOf.nodes.length&&(r=this.indexes[s],n=e(this.proxyOf.nodes[r],r),n!==!1);)this.indexes[s]+=1;return delete this.indexes[s],n}walk(e){return this.each((s,r)=>{let n;try{n=e(s,r)}catch(i){throw s.addToError(i)}return n!==!1&&s.walk&&(n=s.walk(e)),n})}walkDecls(e,s){return s?e instanceof RegExp?this.walk((r,n)=>{if(r.type==="decl"&&e.test(r.prop))return s(r,n)}):this.walk((r,n)=>{if(r.type==="decl"&&r.prop===e)return s(r,n)}):(s=e,this.walk((r,n)=>{if(r.type==="decl")return s(r,n)}))}walkRules(e,s){return s?e instanceof RegExp?this.walk((r,n)=>{if(r.type==="rule"&&e.test(r.selector))return s(r,n)}):this.walk((r,n)=>{if(r.type==="rule"&&r.selector===e)return s(r,n)}):(s=e,this.walk((r,n)=>{if(r.type==="rule")return s(r,n)}))}walkAtRules(e,s){return s?e instanceof RegExp?this.walk((r,n)=>{if(r.type==="atrule"&&e.test(r.name))return s(r,n)}):this.walk((r,n)=>{if(r.type==="atrule"&&r.name===e)return s(r,n)}):(s=e,this.walk((r,n)=>{if(r.type==="atrule")return s(r,n)}))}walkComments(e){return this.walk((s,r)=>{if(s.type==="comment")return e(s,r)})}append(...e){for(let s of e){let r=this.normalize(s,this.last);for(let n of r)this.proxyOf.nodes.push(n)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let s of e){let r=this.normalize(s,this.first,"prepend").reverse();for(let n of r)this.proxyOf.nodes.unshift(n);for(let n in this.indexes)this.indexes[n]=this.indexes[n]+r.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let s of this.nodes)s.cleanRaws(e)}insertBefore(e,s){let r=this.index(e),n=r===0?"prepend":!1,i=this.normalize(s,this.proxyOf.nodes[r],n).reverse();r=this.index(e);for(let a of i)this.proxyOf.nodes.splice(r,0,a);let o;for(let a in this.indexes)o=this.indexes[a],r<=o&&(this.indexes[a]=o+i.length);return this.markDirty(),this}insertAfter(e,s){let r=this.index(e),n=this.normalize(s,this.proxyOf.nodes[r]).reverse();r=this.index(e);for(let o of n)this.proxyOf.nodes.splice(r+1,0,o);let i;for(let o in this.indexes)i=this.indexes[o],r<i&&(this.indexes[o]=i+n.length);return this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let s;for(let r in this.indexes)s=this.indexes[r],s>=e&&(this.indexes[r]=s-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,s,r){return r||(r=s,s={}),this.walkDecls(n=>{s.props&&!s.props.includes(n.prop)||s.fast&&!n.value.includes(s.fast)||(n.value=n.value.replace(e,r))}),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,s){if(typeof e=="string")e=_o(bo(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let n of e)n.parent&&n.parent.removeChild(n,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let n of e)n.parent&&n.parent.removeChild(n,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new vo(e)]}else if(e.selector)e=[new qs(e)];else if(e.name)e=[new Ds(e)];else if(e.text)e=[new xo(e)];else throw new Error("Unknown node type in node creation");return e.map(n=>(n[wo]||U.rebuild(n),n=n.proxyOf,n.parent&&n.parent.removeChild(n),n[go]&&To(n),typeof n.raws.before>"u"&&s&&typeof s.raws.before<"u"&&(n.raws.before=s.raws.before.replace(/\S/g,"")),n.parent=this.proxyOf,n))}getProxyProcessor(){return{set(e,s,r){return e[s]===r||(e[s]=r,(s==="name"||s==="params"||s==="selector")&&e.markDirty()),!0},get(e,s){return s==="proxyOf"?e:e[s]?s==="each"||typeof s=="string"&&s.startsWith("walk")?(...r)=>e[s](...r.map(n=>typeof n=="function"?(i,o)=>n(i.toProxy(),o):n)):s==="every"||s==="some"?r=>e[s]((n,...i)=>r(n.toProxy(),...i)):s==="root"?()=>e.root().toProxy():s==="nodes"?e.nodes.map(r=>r.toProxy()):s==="first"||s==="last"?e[s].toProxy():e[s]:e[s]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}};U.registerParse=t=>{bo=t};U.registerRule=t=>{qs=t};U.registerAtRule=t=>{Ds=t};U.registerRoot=t=>{ko=t};Eo.exports=U;U.default=U;U.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,Ds.prototype):t.type==="rule"?Object.setPrototypeOf(t,qs.prototype):t.type==="decl"?Object.setPrototypeOf(t,vo.prototype):t.type==="comment"?Object.setPrototypeOf(t,xo.prototype):t.type==="root"&&Object.setPrototypeOf(t,ko.prototype),t[wo]=!0,t.nodes&&t.nodes.forEach(e=>{U.rebuild(e)})}});var ur=y((ob,Ao)=>{"use strict";var Ls="'".charCodeAt(0),So='"'.charCodeAt(0),tr="\\".charCodeAt(0),Co="/".charCodeAt(0),rr=`
34
+ `.charCodeAt(0),wt=" ".charCodeAt(0),sr="\f".charCodeAt(0),nr=" ".charCodeAt(0),ir="\r".charCodeAt(0),Lf="[".charCodeAt(0),Mf="]".charCodeAt(0),Bf="(".charCodeAt(0),Ff=")".charCodeAt(0),$f="{".charCodeAt(0),Uf="}".charCodeAt(0),Wf=";".charCodeAt(0),zf="*".charCodeAt(0),Vf=":".charCodeAt(0),Yf="@".charCodeAt(0),or=/[\t\n\f\r "#'()/;[\\\]{}]/g,ar=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,Gf=/.[\n"'(/\\]/,Oo=/[\da-f]/i;Ao.exports=function(e,s={}){let r=e.css.valueOf(),n=s.ignoreErrors,i,o,a,u,c,f,p,l,g,x,h=r.length,d=0,m=[],b=[];function w(){return d}function v(z){throw e.error("Unclosed "+z,d)}function P(){return b.length===0&&d>=h}function W(z){if(b.length)return b.pop();if(d>=h)return;let C=z?z.ignoreUnclosed:!1;switch(i=r.charCodeAt(d),i){case rr:case wt:case nr:case ir:case sr:{o=d;do o+=1,i=r.charCodeAt(o);while(i===wt||i===rr||i===nr||i===ir||i===sr);x=["space",r.slice(d,o)],d=o-1;break}case Lf:case Mf:case $f:case Uf:case Vf:case Wf:case Ff:{let O=String.fromCharCode(i);x=[O,O,d];break}case Bf:{if(l=m.length?m.pop()[1]:"",g=r.charCodeAt(d+1),l==="url"&&g!==Ls&&g!==So&&g!==wt&&g!==rr&&g!==nr&&g!==sr&&g!==ir){o=d;do{if(f=!1,o=r.indexOf(")",o+1),o===-1)if(n||C){o=d;break}else v("bracket");for(p=o;r.charCodeAt(p-1)===tr;)p-=1,f=!f}while(f);x=["brackets",r.slice(d,o+1),d,o],d=o}else o=r.indexOf(")",d+1),u=r.slice(d,o+1),o===-1||Gf.test(u)?x=["(","(",d]:(x=["brackets",u,d,o],d=o);break}case Ls:case So:{a=i===Ls?"'":'"',o=d;do{if(f=!1,o=r.indexOf(a,o+1),o===-1)if(n||C){o=d+1;break}else v("string");for(p=o;r.charCodeAt(p-1)===tr;)p-=1,f=!f}while(f);x=["string",r.slice(d,o+1),d,o],d=o;break}case Yf:{or.lastIndex=d+1,or.test(r),or.lastIndex===0?o=r.length-1:o=or.lastIndex-2,x=["at-word",r.slice(d,o+1),d,o],d=o;break}case tr:{for(o=d,c=!0;r.charCodeAt(o+1)===tr;)o+=1,c=!c;if(i=r.charCodeAt(o+1),c&&i!==Co&&i!==wt&&i!==rr&&i!==nr&&i!==ir&&i!==sr&&(o+=1,Oo.test(r.charAt(o)))){for(;Oo.test(r.charAt(o+1));)o+=1;r.charCodeAt(o+1)===wt&&(o+=1)}x=["word",r.slice(d,o+1),d,o],d=o;break}default:{i===Co&&r.charCodeAt(d+1)===zf?(o=r.indexOf("*/",d+2)+1,o===0&&(n||C?o=r.length:v("comment")),x=["comment",r.slice(d,o+1),d,o],d=o):(ar.lastIndex=d+1,ar.test(r),ar.lastIndex===0?o=r.length-1:o=ar.lastIndex-2,x=["word",r.slice(d,o+1),d,o],m.push(x),d=o);break}}return d++,x}function j(z){b.push(z)}return{back:j,nextToken:W,endOfFile:P,position:w}}});var lr=y((ab,Po)=>{"use strict";var No=ae(),De=class extends No{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)}};Po.exports=De;De.default=De;No.registerAtRule(De)});var Le=y((ub,Do)=>{"use strict";var Ro=ae(),Io,qo,ue=class extends Ro{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,s){let r=this.index(e);return!s&&r===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),super.removeChild(e)}normalize(e,s,r){let n=super.normalize(e);if(s){if(r==="prepend")this.nodes.length>1?s.raws.before=this.nodes[1].raws.before:delete s.raws.before;else if(this.first!==s)for(let i of n)i.raws.before=s.raws.before}return n}toResult(e={}){return new Io(new qo,this,e).stringify()}};ue.registerLazyResult=t=>{Io=t};ue.registerProcessor=t=>{qo=t};Do.exports=ue;ue.default=ue;Ro.registerRoot(ue)});var Ms=y((lb,Lo)=>{"use strict";var vt={split(t,e,s){let r=[],n="",i=!1,o=0,a=!1,u="",c=!1;for(let f of t)c?c=!1:f==="\\"?c=!0:a?f===u&&(a=!1):f==='"'||f==="'"?(a=!0,u=f):f==="("?o+=1:f===")"?o>0&&(o-=1):o===0&&e.includes(f)&&(i=!0),i?(n!==""&&r.push(n.trim()),n="",i=!1):n+=f;return(s||n!=="")&&r.push(n.trim()),r},space(t){let e=[" ",`
35
+ `," "];return vt.split(t,e)},comma(t){return vt.split(t,[","],!0)}};Lo.exports=vt;vt.default=vt});var cr=y((cb,Bo)=>{"use strict";var Mo=ae(),Kf=Ms(),Me=class extends Mo{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Kf.comma(this.selector)}set selectors(e){let s=this.selector?this.selector.match(/,\s*/):null,r=s?s[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}};Bo.exports=Me;Me.default=Me;Mo.registerRule(Me)});var fr=y((fb,Uo)=>{"use strict";var Hf=yt(),Qf=ur(),jf=qe(),Jf=lr(),Xf=Le(),Fo=cr(),$o={empty:!0,space:!0};function Zf(t){for(let e=t.length-1;e>=0;e--){let s=t[e],r=s[3]||s[2];if(r)return r}}var Bs=class{constructor(e){this.input=e,this.root=new Xf,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=Qf(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}comment(e){let s=new jf;this.init(s,e[2]),s.source.end=this.getPosition(e[3]||e[2]);let r=e[1].slice(2,-2);if(/^\s*$/.test(r))s.text="",s.raws.left=r,s.raws.right="";else{let n=r.match(/^(\s*)([^]*\S)(\s*)$/);s.text=n[2],s.raws.left=n[1],s.raws.right=n[3]}}emptyRule(e){let s=new Fo;this.init(s,e[2]),s.selector="",s.raws.between="",this.current=s}other(e){let s=!1,r=null,n=!1,i=null,o=[],a=e[1].startsWith("--"),u=[],c=e;for(;c;){if(r=c[0],u.push(c),r==="("||r==="[")i||(i=c),o.push(r==="("?")":"]");else if(a&&n&&r==="{")i||(i=c),o.push("}");else if(o.length===0)if(r===";")if(n){this.decl(u,a);return}else break;else if(r==="{"){this.rule(u);return}else if(r==="}"){this.tokenizer.back(u.pop()),s=!0;break}else r===":"&&(n=!0);else r===o[o.length-1]&&(o.pop(),o.length===0&&(i=null));c=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(s=!0),o.length>0&&this.unclosedBracket(i),s&&n){if(!a)for(;u.length&&(c=u[u.length-1][0],!(c!=="space"&&c!=="comment"));)this.tokenizer.back(u.pop());this.decl(u,a)}else this.unknownWord(u)}rule(e){e.pop();let s=new Fo;this.init(s,e[0][2]),s.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(s,"selector",e),this.current=s}decl(e,s){let r=new Hf;this.init(r,e[0][2]);let n=e[e.length-1];for(n[0]===";"&&(this.semicolon=!0,e.pop()),r.source.end=this.getPosition(n[3]||n[2]||Zf(e));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 c=e[0][0];if(c===":"||c==="space"||c==="comment")break;r.prop+=e.shift()[1]}r.raws.between="";let i;for(;e.length;)if(i=e.shift(),i[0]===":"){r.raws.between+=i[1];break}else i[0]==="word"&&/\w/.test(i[1])&&this.unknownWord([i]),r.raws.between+=i[1];(r.prop[0]==="_"||r.prop[0]==="*")&&(r.raws.before+=r.prop[0],r.prop=r.prop.slice(1));let o=[],a;for(;e.length&&(a=e[0][0],!(a!=="space"&&a!=="comment"));)o.push(e.shift());this.precheckMissedSemicolon(e);for(let c=e.length-1;c>=0;c--){if(i=e[c],i[1].toLowerCase()==="!important"){r.important=!0;let f=this.stringFrom(e,c);f=this.spacesFromEnd(e)+f,f!==" !important"&&(r.raws.important=f);break}else if(i[1].toLowerCase()==="important"){let f=e.slice(0),p="";for(let l=c;l>0;l--){let g=f[l][0];if(p.trim().indexOf("!")===0&&g!=="space")break;p=f.pop()[1]+p}p.trim().indexOf("!")===0&&(r.important=!0,r.raws.important=p,e=f)}if(i[0]!=="space"&&i[0]!=="comment")break}e.some(c=>c[0]!=="space"&&c[0]!=="comment")&&(r.raws.between+=o.map(c=>c[1]).join(""),o=[]),this.raw(r,"value",o.concat(e),s),r.value.includes(":")&&!s&&this.checkMissedSemicolon(e)}atrule(e){let s=new Jf;s.name=e[1].slice(1),s.name===""&&this.unnamedAtrule(s,e),this.init(s,e[2]);let r,n,i,o=!1,a=!1,u=[],c=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),r=e[0],r==="("||r==="["?c.push(r==="("?")":"]"):r==="{"&&c.length>0?c.push("}"):r===c[c.length-1]&&c.pop(),c.length===0)if(r===";"){s.source.end=this.getPosition(e[2]),this.semicolon=!0;break}else if(r==="{"){a=!0;break}else if(r==="}"){if(u.length>0){for(i=u.length-1,n=u[i];n&&n[0]==="space";)n=u[--i];n&&(s.source.end=this.getPosition(n[3]||n[2]))}this.end(e);break}else u.push(e);else u.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}s.raws.between=this.spacesAndCommentsFromEnd(u),u.length?(s.raws.afterName=this.spacesAndCommentsFromStart(u),this.raw(s,"params",u),o&&(e=u[u.length-1],s.source.end=this.getPosition(e[3]||e[2]),this.spaces=s.raws.between,s.raws.between="")):(s.raws.afterName="",s.params=""),a&&(s.nodes=[],this.current=s)}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let s=this.current.nodes[this.current.nodes.length-1];s&&s.type==="rule"&&!s.raws.ownSemicolon&&(s.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let s=this.input.fromOffset(e);return{offset:e,line:s.line,column:s.col}}init(e,s){this.current.push(e),e.source={start:this.getPosition(s),input:this.input},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}raw(e,s,r,n){let i,o,a=r.length,u="",c=!0,f,p;for(let l=0;l<a;l+=1)i=r[l],o=i[0],o==="space"&&l===a-1&&!n?c=!1:o==="comment"?(p=r[l-1]?r[l-1][0]:"empty",f=r[l+1]?r[l+1][0]:"empty",!$o[p]&&!$o[f]?u.slice(-1)===","?c=!1:u+=i[1]:c=!1):u+=i[1];if(!c){let l=r.reduce((g,x)=>g+x[1],"");e.raws[s]={value:u,raw:l}}e[s]=u}spacesAndCommentsFromEnd(e){let s,r="";for(;e.length&&(s=e[e.length-1][0],!(s!=="space"&&s!=="comment"));)r=e.pop()[1]+r;return r}spacesAndCommentsFromStart(e){let s,r="";for(;e.length&&(s=e[0][0],!(s!=="space"&&s!=="comment"));)r+=e.shift()[1];return r}spacesFromEnd(e){let s,r="";for(;e.length&&(s=e[e.length-1][0],s==="space");)r=e.pop()[1]+r;return r}stringFrom(e,s){let r="";for(let n=s;n<e.length;n++)r+=e[n][1];return e.splice(s,e.length-s),r}colon(e){let s=0,r,n,i;for(let[o,a]of e.entries()){if(r=a,n=r[0],n==="("&&(s+=1),n===")"&&(s-=1),s===0&&n===":")if(!i)this.doubleColon(r);else{if(i[0]==="word"&&i[1]==="progid")continue;return o}i=r}return!1}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,s){throw this.input.error("At-rule without name",{offset:s[2]},{offset:s[2]+s[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let s=this.colon(e);if(s===!1)return;let r=0,n;for(let i=s-1;i>=0&&(n=e[i],!(n[0]!=="space"&&(r+=1,r===2)));i--);throw this.input.error("Missed semicolon",n[0]==="word"?n[3]+1:n[2])}};Uo.exports=Bs});var Wo=y(()=>{});var Vo=y((db,zo)=>{var ep="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",tp=(t,e=21)=>(s=e)=>{let r="",n=s;for(;n--;)r+=t[Math.random()*t.length|0];return r},rp=(t=21)=>{let e="",s=t;for(;s--;)e+=ep[Math.random()*64|0];return e};zo.exports={nanoid:rp,customAlphabet:tp}});var Fs=y((mb,Yo)=>{Yo.exports=class{}});var Fe=y((gb,Qo)=>{"use strict";var{SourceMapConsumer:sp,SourceMapGenerator:np}=Wo(),{fileURLToPath:Go,pathToFileURL:pr}={},{resolve:Ws,isAbsolute:zs}={},{nanoid:ip}=Vo(),$s=Ps(),Ko=Xt(),op=Fs(),Us=Symbol("fromOffsetCache"),ap=!!(sp&&np),Ho=!!(Ws&&zs),Be=class{constructor(e,s={}){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,s.from&&(!Ho||/^\w+:\/\//.test(s.from)||zs(s.from)?this.file=s.from:this.file=Ws(s.from)),Ho&&ap){let r=new op(this.css,s);if(r.text){this.map=r;let n=r.consumer().file;!this.file&&n&&(this.file=this.mapResolve(n))}}this.file||(this.id="<input css "+ip(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let s,r;if(this[Us])r=this[Us];else{let i=this.css.split(`
36
+ `);r=new Array(i.length);let o=0;for(let a=0,u=i.length;a<u;a++)r[a]=o,o+=i[a].length+1;this[Us]=r}s=r[r.length-1];let n=0;if(e>=s)n=r.length-1;else{let i=r.length-2,o;for(;n<i;)if(o=n+(i-n>>1),e<r[o])i=o-1;else if(e>=r[o+1])n=o+1;else{n=o;break}}return{line:n+1,col:e-r[n]+1}}error(e,s,r,n={}){let i,o,a;if(s&&typeof s=="object"){let c=s,f=r;if(typeof c.offset=="number"){let p=this.fromOffset(c.offset);s=p.line,r=p.col}else s=c.line,r=c.column;if(typeof f.offset=="number"){let p=this.fromOffset(f.offset);o=p.line,a=p.col}else o=f.line,a=f.column}else if(!r){let c=this.fromOffset(s);s=c.line,r=c.col}let u=this.origin(s,r,o,a);return u?i=new Ko(e,u.endLine===void 0?u.line:{line:u.line,column:u.column},u.endLine===void 0?u.column:{line:u.endLine,column:u.endColumn},u.source,u.file,n.plugin):i=new Ko(e,o===void 0?s:{line:s,column:r},o===void 0?r:{line:o,column:a},this.css,this.file,n.plugin),i.input={line:s,column:r,endLine:o,endColumn:a,source:this.css},this.file&&(pr&&(i.input.url=pr(this.file).toString()),i.input.file=this.file),i}origin(e,s,r,n){if(!this.map)return!1;let i=this.map.consumer(),o=i.originalPositionFor({line:e,column:s});if(!o.source)return!1;let a;typeof r=="number"&&(a=i.originalPositionFor({line:r,column:n}));let u;zs(o.source)?u=pr(o.source):u=new URL(o.source,this.map.consumer().sourceRoot||pr(this.map.mapFile));let c={url:u.toString(),line:o.line,column:o.column,endLine:a&&a.line,endColumn:a&&a.column};if(u.protocol==="file:")if(Go)c.file=Go(u);else throw new Error("file: protocol is not available in this PostCSS build");let f=i.sourceContentFor(o.source);return f&&(c.source=f),c}mapResolve(e){return/^\w+:\/\//.test(e)?e:Ws(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let s of["hasBOM","css","file","id"])this[s]!=null&&(e[s]=this[s]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};Qo.exports=Be;Be.default=Be;$s&&$s.registerInput&&$s.registerInput(Be)});var xt=y((wb,jo)=>{"use strict";var up=ae(),lp=fr(),cp=Fe();function hr(t,e){let s=new cp(t,e),r=new lp(s);try{r.parse()}catch(n){throw n}return r.root}jo.exports=hr;hr.default=hr;up.registerParse(hr)});var Jo=y((vb,Vs)=>{var fp=ur(),pp=Fe();Vs.exports={isInlineComment(t){if(t[0]==="word"&&t[1].slice(0,2)==="//"){let e=t,s=[],r,n;for(;t;){if(/\r?\n/.test(t[1])){if(/['"].*\r?\n/.test(t[1])){s.push(t[1].substring(0,t[1].indexOf(`
37
+ `))),n=t[1].substring(t[1].indexOf(`
38
+ `));let o=this.input.css.valueOf().substring(this.tokenizer.position());n+=o,r=t[3]+o.length-n.length}else this.tokenizer.back(t);break}s.push(t[1]),r=t[2],t=this.tokenizer.nextToken({ignoreUnclosed:!0})}let i=["comment",s.join(""),e[2],r];return this.inlineComment(i),n&&(this.input=new pp(n),this.tokenizer=fp(this.input)),!0}else if(t[1]==="/"){let e=this.tokenizer.nextToken({ignoreUnclosed:!0});if(e[0]==="comment"&&/^\/\*/.test(e[1]))return e[0]="word",e[1]=e[1].slice(1),t[1]="//",this.tokenizer.back(e),Vs.exports.isInlineComment.bind(this)(t)}return!1}}});var Zo=y((xb,Xo)=>{Xo.exports={interpolation(t){let e=[t,this.tokenizer.nextToken()],s=["word","}"];if(e[0][1].length>1||e[1][0]!=="{")return this.tokenizer.back(e[1]),!1;for(t=this.tokenizer.nextToken();t&&s.includes(t[0]);)e.push(t),t=this.tokenizer.nextToken();let r=e.map(a=>a[1]),[n]=e,i=e.pop(),o=["word",r.join(""),n[2],i[2]];return this.tokenizer.back(t),this.tokenizer.back(o),!0}}});var ta=y((bb,ea)=>{var hp=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,dp=/\.[0-9]/,mp=t=>{let[,e]=t,[s]=e;return(s==="."||s==="#")&&hp.test(e)===!1&&dp.test(e)===!1};ea.exports={isMixinToken:mp}});var sa=y((kb,ra)=>{var yp=ur(),gp=/^url\((.+)\)/;ra.exports=t=>{let{name:e,params:s=""}=t;if(e==="import"&&s.length){t.import=!0;let r=yp({css:s});for(t.filename=s.replace(gp,"$1");!r.endOfFile();){let[n,i]=r.nextToken();if(n==="word"&&i==="url")return;if(n==="brackets"){t.options=i,t.filename=s.replace(i,"").trim();break}}}}});var aa=y((_b,oa)=>{var na=/:$/,ia=/^:(\s+)?/;oa.exports=t=>{let{name:e,params:s=""}=t;if(t.name.slice(-1)===":"){if(na.test(e)){let[r]=e.match(na);t.name=e.replace(r,""),t.raws.afterName=r+(t.raws.afterName||""),t.variable=!0,t.value=t.params}if(ia.test(s)){let[r]=s.match(ia);t.value=s.replace(r,""),t.raws.afterName=(t.raws.afterName||"")+r,t.variable=!0}}}});var ca=y((Eb,la)=>{var wp=qe(),vp=fr(),{isInlineComment:xp}=Jo(),{interpolation:ua}=Zo(),{isMixinToken:bp}=ta(),kp=sa(),_p=aa(),Tp=/(!\s*important)$/i;la.exports=class extends vp{constructor(...e){super(...e),this.lastNode=null}atrule(e){ua.bind(this)(e)||(super.atrule(e),kp(this.lastNode),_p(this.lastNode))}decl(...e){super.decl(...e),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(e){e[0][1]=` ${e[0][1]}`;let s=e.findIndex(a=>a[0]==="("),r=e.reverse().find(a=>a[0]===")"),n=e.reverse().indexOf(r),o=e.splice(s,n).map(a=>a[1]).join("");for(let a of e.reverse())this.tokenizer.back(a);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=o}init(e,s,r){super.init(e,s,r),this.lastNode=e}inlineComment(e){let s=new wp,r=e[1].slice(2);if(this.init(s,e[2]),s.source.end=this.getPosition(e[3]||e[2]),s.inline=!0,s.raws.begin="//",/^\s*$/.test(r))s.text="",s.raws.left=r,s.raws.right="";else{let n=r.match(/^(\s*)([^]*[^\s])(\s*)$/);[,s.raws.left,s.text,s.raws.right]=n}}mixin(e){let[s]=e,r=s[1].slice(0,1),n=e.findIndex(c=>c[0]==="brackets"),i=e.findIndex(c=>c[0]==="("),o="";if((n<0||n>3)&&i>0){let c=e.reduce((w,v,P)=>v[0]===")"?P:w),p=e.slice(i,c+i).map(w=>w[1]).join(""),[l]=e.slice(i),g=[l[2],l[3]],[x]=e.slice(c,c+1),h=[x[2],x[3]],d=["brackets",p].concat(g,h),m=e.slice(0,i),b=e.slice(c+1);e=m,e.push(d),e=e.concat(b)}let a=[];for(let c of e)if((c[1]==="!"||a.length)&&a.push(c),c[1]==="important")break;if(a.length){let[c]=a,f=e.indexOf(c),p=a[a.length-1],l=[c[2],c[3]],g=[p[4],p[5]],h=["word",a.map(d=>d[1]).join("")].concat(l,g);e.splice(f,a.length,h)}let u=e.findIndex(c=>Tp.test(c[1]));u>0&&([,o]=e[u],e.splice(u,1));for(let c of e.reverse())this.tokenizer.back(c);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=r,o&&(this.lastNode.important=!0,this.lastNode.raws.important=o)}other(e){xp.bind(this)(e)||super.other(e)}rule(e){let s=e[e.length-1],r=e[e.length-2];if(r[0]==="at-word"&&s[0]==="{"&&(this.tokenizer.back(s),ua.bind(this)(r))){let i=this.tokenizer.nextToken();e=e.slice(0,e.length-2).concat([i]);for(let o of e.reverse())this.tokenizer.back(o);return}super.rule(e),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(e){let[s]=e;if(e[0][1]==="each"&&e[1][0]==="("){this.each(e);return}if(bp(s)){this.mixin(e);return}super.unknownWord(e)}}});var pa=y((Cb,fa)=>{var Ep=Zt();fa.exports=class extends Ep{atrule(e,s){if(!e.mixin&&!e.variable&&!e.function){super.atrule(e,s);return}let n=`${e.function?"":e.raws.identifier||"@"}${e.name}`,i=e.params?this.rawValue(e,"params"):"",o=e.raws.important||"";if(e.variable&&(i=e.value),typeof e.raws.afterName<"u"?n+=e.raws.afterName:i&&(n+=" "),e.nodes)this.block(e,n+i+o);else{let a=(e.raws.between||"")+o+(s?";":"");this.builder(n+i+a,e)}}comment(e){if(e.inline){let s=this.raw(e,"left","commentLeft"),r=this.raw(e,"right","commentRight");this.builder(`//${s}${e.text}${r}`,e)}else super.comment(e)}}});var ha=y((Ob,Ys)=>{var Sp=Fe(),Cp=ca(),Op=pa();Ys.exports={parse(t,e){let s=new Sp(t,e),r=new Cp(s);return r.parse(),r.root.walk(n=>{let i=s.css.lastIndexOf(n.source.input.css);if(i===0)return;if(i+n.source.input.css.length!==s.css.length)throw new Error("Invalid state detected in postcss-less");let o=i+n.source.start.offset,a=s.fromOffset(i+n.source.start.offset);if(n.source.start={offset:o,line:a.line,column:a.col},n.source.end){let u=i+n.source.end.offset,c=s.fromOffset(i+n.source.end.offset);n.source.end={offset:u,line:c.line,column:c.col}}}),r.root},stringify(t,e){new Op(e).stringify(t)},nodeToString(t){let e="";return Ys.exports.stringify(t,s=>{e+=s}),e}}});var Gs=y((Ab,da)=>{da.exports=class{generate(){}}});var dr=y((Pb,ga)=>{"use strict";var Ap=ae(),ma,ya,ve=class extends Ap{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new ma(new ya,this,e).stringify()}};ve.registerLazyResult=t=>{ma=t};ve.registerProcessor=t=>{ya=t};ga.exports=ve;ve.default=ve});var Ks=y((Rb,va)=>{"use strict";var wa={};va.exports=function(e){wa[e]||(wa[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var Hs=y((Ib,xa)=>{"use strict";var bt=class{constructor(e,s={}){if(this.type="warning",this.text=e,s.node&&s.node.source){let r=s.node.rangeBy(s);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in s)this[r]=s[r]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};xa.exports=bt;bt.default=bt});var mr=y((qb,ba)=>{"use strict";var Np=Hs(),kt=class{constructor(e,s,r){this.processor=e,this.messages=[],this.root=s,this.opts=r,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,s={}){s.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(s.plugin=this.lastPlugin.postcssPlugin);let r=new Np(e,s);return this.messages.push(r),r}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};ba.exports=kt;kt.default=kt});var Js=y((Lb,Ea)=>{"use strict";var{isClean:H,my:Pp}=Jt(),Rp=Gs(),Ip=pt(),qp=ae(),Dp=dr(),Db=Ks(),ka=mr(),Lp=xt(),Mp=Le(),Bp={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},Fp={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},$p={postcssPlugin:!0,prepare:!0,Once:!0},$e=0;function _t(t){return typeof t=="object"&&typeof t.then=="function"}function Ta(t){let e=!1,s=Bp[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[s,s+"-"+e,$e,s+"Exit",s+"Exit-"+e]:e?[s,s+"-"+e,s+"Exit",s+"Exit-"+e]:t.append?[s,$e,s+"Exit"]:[s,s+"Exit"]}function _a(t){let e;return t.type==="document"?e=["Document",$e,"DocumentExit"]:t.type==="root"?e=["Root",$e,"RootExit"]:e=Ta(t),{node:t,events:e,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function Qs(t){return t[H]=!1,t.nodes&&t.nodes.forEach(e=>Qs(e)),t}var js={},Q=class{constructor(e,s,r){this.stringified=!1,this.processed=!1;let n;if(typeof s=="object"&&s!==null&&(s.type==="root"||s.type==="document"))n=Qs(s);else if(s instanceof Q||s instanceof ka)n=Qs(s.root),s.map&&(typeof r.map>"u"&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=s.map);else{let i=Lp;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{n=i(s,r)}catch(o){this.processed=!0,this.error=o}n&&!n[Pp]&&qp.rebuild(n)}this.result=new ka(e,n,r),this.helpers={...js,result:this.result,postcss:js},this.plugins=this.processor.plugins.map(i=>typeof i=="object"&&i.prepare?{...i,...i.prepare(this.result)}:i)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,s){return this.async().then(e,s)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let s=this.runOnRoot(e);if(_t(s))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[H];)e[H]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let s of e.nodes)this.visitSync(this.listeners.OnceExit,s);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,s=Ip;e.syntax&&(s=e.syntax.stringify),e.stringifier&&(s=e.stringifier),s.stringify&&(s=s.stringify);let n=new Rp(s,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result}walkSync(e){e[H]=!0;let s=Ta(e);for(let r of s)if(r===$e)e.nodes&&e.each(n=>{n[H]||this.walkSync(n)});else{let n=this.listeners[r];if(n&&this.visitSync(n,e.toProxy()))return}}visitSync(e,s){for(let[r,n]of e){this.result.lastPlugin=r;let i;try{i=n(s,this.helpers)}catch(o){throw this.handleError(o,s.proxyOf)}if(s.type!=="root"&&s.type!=="document"&&!s.parent)return!0;if(_t(i))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let s=this.result.root.nodes.map(r=>e.Once(r,this.helpers));return _t(s[0])?Promise.all(s):s}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(s){throw this.handleError(s)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,s){let r=this.result.lastPlugin;try{s&&s.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin?(e.plugin=r.postcssPlugin,e.setMessage()):r.postcssVersion}catch(n){console&&console.error&&console.error(n)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let s=this.plugins[e],r=this.runOnRoot(s);if(_t(r))try{await r}catch(n){throw this.handleError(n)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[H];){e[H]=!0;let s=[_a(e)];for(;s.length>0;){let r=this.visitTick(s);if(_t(r))try{await r}catch(n){let i=s[s.length-1].node;throw this.handleError(n,i)}}}if(this.listeners.OnceExit)for(let[s,r]of this.listeners.OnceExit){this.result.lastPlugin=s;try{if(e.type==="document"){let n=e.nodes.map(i=>r(i,this.helpers));await Promise.all(n)}else await r(e,this.helpers)}catch(n){throw this.handleError(n)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(s,r,n)=>{this.listeners[r]||(this.listeners[r]=[]),this.listeners[r].push([s,n])};for(let s of this.plugins)if(typeof s=="object")for(let r in s){if(!Fp[r]&&/^[A-Z]/.test(r))throw new Error(`Unknown event ${r} in ${s.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!$p[r])if(typeof s[r]=="object")for(let n in s[r])n==="*"?e(s,r,s[r][n]):e(s,r+"-"+n.toLowerCase(),s[r][n]);else typeof s[r]=="function"&&e(s,r,s[r])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let s=e[e.length-1],{node:r,visitors:n}=s;if(r.type!=="root"&&r.type!=="document"&&!r.parent){e.pop();return}if(n.length>0&&s.visitorIndex<n.length){let[o,a]=n[s.visitorIndex];s.visitorIndex+=1,s.visitorIndex===n.length&&(s.visitors=[],s.visitorIndex=0),this.result.lastPlugin=o;try{return a(r.toProxy(),this.helpers)}catch(u){throw this.handleError(u,r)}}if(s.iterator!==0){let o=s.iterator,a;for(;a=r.nodes[r.indexes[o]];)if(r.indexes[o]+=1,!a[H]){a[H]=!0,e.push(_a(a));return}s.iterator=0,delete r.indexes[o]}let i=s.events;for(;s.eventIndex<i.length;){let o=i[s.eventIndex];if(s.eventIndex+=1,o===$e){r.nodes&&r.nodes.length&&(r[H]=!0,s.iterator=r.getIterator());return}else if(this.listeners[o]){s.visitors=this.listeners[o];return}}e.pop()}};Q.registerPostcss=t=>{js=t};Ea.exports=Q;Q.default=Q;Mp.registerLazyResult(Q);Dp.registerLazyResult(Q)});var Ca=y((Bb,Sa)=>{"use strict";var Up=Gs(),Wp=pt(),Mb=Ks(),zp=xt(),Vp=mr(),Tt=class{constructor(e,s,r){s=s.toString(),this.stringified=!1,this._processor=e,this._css=s,this._opts=r,this._map=void 0;let n,i=Wp;this.result=new Vp(this._processor,n,this._opts),this.result.css=s;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let a=new Up(i,n,this._opts,s);if(a.isMap()){let[u,c]=a.generate();u&&(this.result.css=u),c&&(this.result.map=c)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,s=zp;try{e=s(this._css,this._opts)}catch(r){this.error=r}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,s){return this.async().then(e,s)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}};Sa.exports=Tt;Tt.default=Tt});var Aa=y((Fb,Oa)=>{"use strict";var Yp=Ca(),Gp=Js(),Kp=dr(),Hp=Le(),xe=class{constructor(e=[]){this.version="8.4.23",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,s={}){return this.plugins.length===0&&typeof s.parser>"u"&&typeof s.stringifier>"u"&&typeof s.syntax>"u"?new Yp(this,e,s):new Gp(this,e,s)}normalize(e){let s=[];for(let r of e)if(r.postcss===!0?r=r():r.postcss&&(r=r.postcss),typeof r=="object"&&Array.isArray(r.plugins))s=s.concat(r.plugins);else if(typeof r=="object"&&r.postcssPlugin)s.push(r);else if(typeof r=="function")s.push(r);else if(!(typeof r=="object"&&(r.parse||r.stringify)))throw new Error(r+" is not a PostCSS plugin");return s}};Oa.exports=xe;xe.default=xe;Hp.registerProcessor(xe);Kp.registerProcessor(xe)});var Pa=y(($b,Na)=>{"use strict";var Qp=yt(),jp=Fs(),Jp=qe(),Xp=lr(),Zp=Fe(),eh=Le(),th=cr();function Et(t,e){if(Array.isArray(t))return t.map(n=>Et(n));let{inputs:s,...r}=t;if(s){e=[];for(let n of s){let i={...n,__proto__:Zp.prototype};i.map&&(i.map={...i.map,__proto__:jp.prototype}),e.push(i)}}if(r.nodes&&(r.nodes=t.nodes.map(n=>Et(n,e))),r.source){let{inputId:n,...i}=r.source;r.source=i,n!=null&&(r.source.input=e[n])}if(r.type==="root")return new eh(r);if(r.type==="decl")return new Qp(r);if(r.type==="rule")return new th(r);if(r.type==="comment")return new Jp(r);if(r.type==="atrule")return new Xp(r);throw new Error("Unknown node type: "+t.type)}Na.exports=Et;Et.default=Et});var yr=y((Ub,Ba)=>{"use strict";var rh=Xt(),Ra=yt(),sh=Js(),nh=ae(),Xs=Aa(),ih=pt(),oh=Pa(),Ia=dr(),ah=Hs(),qa=qe(),Da=lr(),uh=mr(),lh=Fe(),ch=xt(),fh=Ms(),La=cr(),Ma=Le(),ph=dt();function k(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new Xs(t)}k.plugin=function(e,s){let r=!1;function n(...o){console&&console.warn&&!r&&(r=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
39
+ https://evilmartians.com/chronicles/postcss-8-plugin-migration`));let a=s(...o);return a.postcssPlugin=e,a.postcssVersion=new Xs().version,a}let i;return Object.defineProperty(n,"postcss",{get(){return i||(i=n()),i}}),n.process=function(o,a,u){return k([n(u)]).process(o,a)},n};k.stringify=ih;k.parse=ch;k.fromJSON=oh;k.list=fh;k.comment=t=>new qa(t);k.atRule=t=>new Da(t);k.decl=t=>new Ra(t);k.rule=t=>new La(t);k.root=t=>new Ma(t);k.document=t=>new Ia(t);k.CssSyntaxError=rh;k.Declaration=Ra;k.Container=nh;k.Processor=Xs;k.Document=Ia;k.Comment=qa;k.Warning=ah;k.AtRule=Da;k.Result=uh;k.Input=lh;k.Rule=La;k.Root=Ma;k.Node=ph;sh.registerPostcss(k);Ba.exports=k;k.default=k});var $a=y((Wb,Fa)=>{var{Container:hh}=yr(),Zs=class extends hh{constructor(e){super(e),this.type="decl",this.isNested=!0,this.nodes||(this.nodes=[])}};Fa.exports=Zs});var Ga=y((zb,Ya)=>{"use strict";var en="'".charCodeAt(0),tn='"'.charCodeAt(0),St="\\".charCodeAt(0),gr="/".charCodeAt(0),rn=`
40
+ `.charCodeAt(0),wr=" ".charCodeAt(0),sn="\f".charCodeAt(0),nn=" ".charCodeAt(0),on="\r".charCodeAt(0),dh="[".charCodeAt(0),mh="]".charCodeAt(0),Ua="(".charCodeAt(0),Wa=")".charCodeAt(0),vr="{".charCodeAt(0),za="}".charCodeAt(0),yh=";".charCodeAt(0),gh="*".charCodeAt(0),wh=":".charCodeAt(0),vh="@".charCodeAt(0),xh=",".charCodeAt(0),an="#".charCodeAt(0),xr=/[\t\n\f\r "#'()/;[\\\]{}]/g,br=/[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,bh=/.[\n"'(/\\]/,Va=/[\da-f]/i,kr=/[\n\f\r]/g;Ya.exports=function(e,s={}){let r=e.css.valueOf(),n=s.ignoreErrors,i,o,a,u,c,f,p,l,g,x=r.length,h=0,d=[],m=[],b;function w(){return h}function v(C){throw e.error("Unclosed "+C,h)}function P(){return m.length===0&&h>=x}function W(){let C=1,O=!1,A=!1;for(;C>0;)o+=1,r.length<=o&&v("interpolation"),i=r.charCodeAt(o),l=r.charCodeAt(o+1),O?!A&&i===O?(O=!1,A=!1):i===St?A=!A:A&&(A=!1):i===en||i===tn?O=i:i===za?C-=1:i===an&&l===vr&&(C+=1)}function j(C){if(m.length)return m.pop();if(h>=x)return;let O=C?C.ignoreUnclosed:!1;switch(i=r.charCodeAt(h),i){case rn:case wr:case nn:case on:case sn:{o=h;do o+=1,i=r.charCodeAt(o);while(i===wr||i===rn||i===nn||i===on||i===sn);g=["space",r.slice(h,o)],h=o-1;break}case dh:case mh:case vr:case za:case wh:case yh:case Wa:{let A=String.fromCharCode(i);g=[A,A,h];break}case xh:{g=["word",",",h,h+1];break}case Ua:{if(p=d.length?d.pop()[1]:"",l=r.charCodeAt(h+1),p==="url"&&l!==en&&l!==tn){for(b=1,f=!1,o=h+1;o<=r.length-1;){if(l=r.charCodeAt(o),l===St)f=!f;else if(l===Ua)b+=1;else if(l===Wa&&(b-=1,b===0))break;o+=1}u=r.slice(h,o+1),g=["brackets",u,h,o],h=o}else o=r.indexOf(")",h+1),u=r.slice(h,o+1),o===-1||bh.test(u)?g=["(","(",h]:(g=["brackets",u,h,o],h=o);break}case en:case tn:{for(a=i,o=h,f=!1;o<x&&(o++,o===x&&v("string"),i=r.charCodeAt(o),l=r.charCodeAt(o+1),!(!f&&i===a));)i===St?f=!f:f?f=!1:i===an&&l===vr&&W();g=["string",r.slice(h,o+1),h,o],h=o;break}case vh:{xr.lastIndex=h+1,xr.test(r),xr.lastIndex===0?o=r.length-1:o=xr.lastIndex-2,g=["at-word",r.slice(h,o+1),h,o],h=o;break}case St:{for(o=h,c=!0;r.charCodeAt(o+1)===St;)o+=1,c=!c;if(i=r.charCodeAt(o+1),c&&i!==gr&&i!==wr&&i!==rn&&i!==nn&&i!==on&&i!==sn&&(o+=1,Va.test(r.charAt(o)))){for(;Va.test(r.charAt(o+1));)o+=1;r.charCodeAt(o+1)===wr&&(o+=1)}g=["word",r.slice(h,o+1),h,o],h=o;break}default:l=r.charCodeAt(h+1),i===an&&l===vr?(o=h,W(),u=r.slice(h,o+1),g=["word",u,h,o],h=o):i===gr&&l===gh?(o=r.indexOf("*/",h+2)+1,o===0&&(n||O?o=r.length:v("comment")),g=["comment",r.slice(h,o+1),h,o],h=o):i===gr&&l===gr?(kr.lastIndex=h+1,kr.test(r),kr.lastIndex===0?o=r.length-1:o=kr.lastIndex-2,u=r.slice(h,o+1),g=["comment",u,h,o,"inline"],h=o):(br.lastIndex=h+1,br.test(r),br.lastIndex===0?o=r.length-1:o=br.lastIndex-2,g=["word",r.slice(h,o+1),h,o],d.push(g),h=o);break}return h++,g}function z(C){m.push(C)}return{back:z,nextToken:j,endOfFile:P,position:w}}});var Ha=y((Vb,Ka)=>{var{Comment:kh}=yr(),_h=fr(),Th=$a(),Eh=Ga(),un=class extends _h{createTokenizer(){this.tokenizer=Eh(this.input)}rule(e){let s=!1,r=0,n="";for(let i of e)if(s)i[0]!=="comment"&&i[0]!=="{"&&(n+=i[1]);else{if(i[0]==="space"&&i[1].includes(`
41
+ `))break;i[0]==="("?r+=1:i[0]===")"?r-=1:r===0&&i[0]===":"&&(s=!0)}if(!s||n.trim()===""||/^[#:A-Za-z-]/.test(n))super.rule(e);else{e.pop();let i=new Th;this.init(i,e[0][2]);let o;for(let u=e.length-1;u>=0;u--)if(e[u][0]!=="space"){o=e[u];break}if(o[3]){let u=this.input.fromOffset(o[3]);i.source.end={offset:o[3],line:u.line,column:u.col}}else{let u=this.input.fromOffset(o[2]);i.source.end={offset:o[2],line:u.line,column:u.col}}for(;e[0][0]!=="word";)i.raws.before+=e.shift()[1];if(e[0][2]){let u=this.input.fromOffset(e[0][2]);i.source.start={offset:e[0][2],line:u.line,column:u.col}}for(i.prop="";e.length;){let u=e[0][0];if(u===":"||u==="space"||u==="comment")break;i.prop+=e.shift()[1]}i.raws.between="";let a;for(;e.length;)if(a=e.shift(),a[0]===":"){i.raws.between+=a[1];break}else i.raws.between+=a[1];(i.prop[0]==="_"||i.prop[0]==="*")&&(i.raws.before+=i.prop[0],i.prop=i.prop.slice(1)),i.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(let u=e.length-1;u>0;u--){if(a=e[u],a[1]==="!important"){i.important=!0;let c=this.stringFrom(e,u);c=this.spacesFromEnd(e)+c,c!==" !important"&&(i.raws.important=c);break}else if(a[1]==="important"){let c=e.slice(0),f="";for(let p=u;p>0;p--){let l=c[p][0];if(f.trim().indexOf("!")===0&&l!=="space")break;f=c.pop()[1]+f}f.trim().indexOf("!")===0&&(i.important=!0,i.raws.important=f,e=c)}if(a[0]!=="space"&&a[0]!=="comment")break}this.raw(i,"value",e),i.value.includes(":")&&this.checkMissedSemicolon(e),this.current=i}}comment(e){if(e[4]==="inline"){let s=new kh;this.init(s,e[2]),s.raws.inline=!0;let r=this.input.fromOffset(e[3]);s.source.end={offset:e[3],line:r.line,column:r.col};let n=e[1].slice(2);if(/^\s*$/.test(n))s.text="",s.raws.left=n,s.raws.right="";else{let i=n.match(/^(\s*)([^]*\S)(\s*)$/),o=i[2].replace(/(\*\/|\/\*)/g,"*//*");s.text=o,s.raws.left=i[1],s.raws.right=i[3],s.raws.text=i[2]}}else super.comment(e)}atrule(e){let s=e[1],r=e;for(;!this.tokenizer.endOfFile();){let n=this.tokenizer.nextToken();if(n[0]==="word"&&n[2]===r[3]+1)s+=n[1],r=n;else{this.tokenizer.back(n);break}}super.atrule(["at-word",s,e[2],r[3]])}raw(e,s,r,n){if(super.raw(e,s,r,n),e.raws[s]){let i=e.raws[s].raw;e.raws[s].raw=r.reduce((o,a)=>{if(a[0]==="comment"&&a[4]==="inline"){let u=a[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return o+"/*"+u+"*/"}else return o+a[1]},""),i!==e.raws[s].raw&&(e.raws[s].scss=i)}}};Ka.exports=un});var ja=y((Yb,Qa)=>{var{Input:Sh}=yr(),Ch=Ha();Qa.exports=function(e,s){let r=new Sh(e,s),n=new Ch(r);return n.parse(),n.root}});function Oh(t,e){let s=new SyntaxError(t+" ("+e.loc.start.line+":"+e.loc.start.column+")");return Object.assign(s,e)}var Ja,Xa=E(()=>{Ja=Oh});function Ah(t,e){return e.parser!=="scss"||!t.selector?!1:t.selector.replace(/\/\*.*?\*\//,"").replace(/\/\/.*\n/,"").trim().endsWith(":")}var Za,eu=E(()=>{Za=Ah});function Ph(t){return Nh.has(t)}var Nh,tu,ru=E(()=>{Nh=new Set(["import","use","forward"]);tu=Ph});var Y=y((jb,su)=>{"use strict";var ln=function(t,e){let s=new t.constructor;for(let r in t){if(!t.hasOwnProperty(r))continue;let n=t[r],i=typeof n;r==="parent"&&i==="object"?e&&(s[r]=e):r==="source"?s[r]=n:n instanceof Array?s[r]=n.map(o=>ln(o,s)):r!=="before"&&r!=="after"&&r!=="between"&&r!=="semicolon"&&(i==="object"&&n!==null&&(n=ln(n)),s[r]=n)}return s};su.exports=class{constructor(e){e=e||{},this.raws={before:"",after:""};for(let s in e)this[s]=e[s]}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(){return[this.raws.before,String(this.value),this.raws.after].join("")}clone(e){e=e||{};let s=ln(this);for(let r in e)s[r]=e[r];return s}cloneBefore(e){e=e||{};let s=this.clone(e);return this.parent.insertBefore(this,s),s}cloneAfter(e){e=e||{};let s=this.clone(e);return this.parent.insertAfter(this,s),s}replaceWith(){let e=Array.prototype.slice.call(arguments);if(this.parent){for(let s of e)this.parent.insertBefore(this,s);this.remove()}return this}moveTo(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this}moveBefore(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this}moveAfter(e){return this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this}next(){let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){let e=this.parent.index(this);return this.parent.nodes[e-1]}toJSON(){let e={};for(let s in this){if(!this.hasOwnProperty(s)||s==="parent")continue;let r=this[s];r instanceof Array?e[s]=r.map(n=>typeof n=="object"&&n.toJSON?n.toJSON():n):typeof r=="object"&&r.toJSON?e[s]=r.toJSON():e[s]=r}return e}root(){let e=this;for(;e.parent;)e=e.parent;return e}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}positionInside(e){let s=this.toString(),r=this.source.start.column,n=this.source.start.line;for(let i=0;i<e;i++)s[i]===`
42
+ `?(r=1,n+=1):r+=1;return{line:n,column:r}}positionBy(e){let s=this.source.start;if(Object(e).index)s=this.positionInside(e.index);else if(Object(e).word){let r=this.toString().indexOf(e.word);r!==-1&&(s=this.positionInside(r))}return s}}});var F=y((Jb,nu)=>{"use strict";var Rh=Y(),Ue=class extends Rh{constructor(e){super(e),this.nodes||(this.nodes=[])}push(e){return e.parent=this,this.nodes.push(e),this}each(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let s=this.lastEach,r,n;if(this.indexes[s]=0,!!this.nodes){for(;this.indexes[s]<this.nodes.length&&(r=this.indexes[s],n=e(this.nodes[r],r),n!==!1);)this.indexes[s]+=1;return delete this.indexes[s],n}}walk(e){return this.each((s,r)=>{let n=e(s,r);return n!==!1&&s.walk&&(n=s.walk(e)),n})}walkType(e,s){if(!e||!s)throw new Error("Parameters {type} and {callback} are required.");let r=typeof e=="function";return this.walk((n,i)=>{if(r&&n instanceof e||!r&&n.type===e)return s.call(this,n,i)})}append(e){return e.parent=this,this.nodes.push(e),this}prepend(e){return e.parent=this,this.nodes.unshift(e),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let s of this.nodes)s.cleanRaws(e)}insertAfter(e,s){let r=this.index(e),n;this.nodes.splice(r+1,0,s);for(let i in this.indexes)n=this.indexes[i],r<=n&&(this.indexes[i]=n+this.nodes.length);return this}insertBefore(e,s){let r=this.index(e),n;this.nodes.splice(r,0,s);for(let i in this.indexes)n=this.indexes[i],r<=n&&(this.indexes[i]=n+this.nodes.length);return this}removeChild(e){e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);let s;for(let r in this.indexes)s=this.indexes[r],s>=e&&(this.indexes[r]=s-1);return this}removeAll(){for(let e of this.nodes)e.parent=void 0;return this.nodes=[],this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:this.nodes.indexOf(e)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let e=this.nodes.map(String).join("");return this.value&&(e=this.value+e),this.raws.before&&(e=this.raws.before+e),this.raws.after&&(e+=this.raws.after),e}};Ue.registerWalker=t=>{let e="walk"+t.name;e.lastIndexOf("s")!==e.length-1&&(e+="s"),!Ue.prototype[e]&&(Ue.prototype[e]=function(s){return this.walkType(t,s)})};nu.exports=Ue});var ou=y((Zb,iu)=>{"use strict";var Ih=F();iu.exports=class extends Ih{constructor(e){super(e),this.type="root"}}});var uu=y((tk,au)=>{"use strict";var qh=F();au.exports=class extends qh{constructor(e){super(e),this.type="value",this.unbalanced=0}}});var fu=y((rk,cu)=>{"use strict";var lu=F(),_r=class extends lu{constructor(e){super(e),this.type="atword"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};lu.registerWalker(_r);cu.exports=_r});var hu=y((sk,pu)=>{"use strict";var Dh=F(),Lh=Y(),Tr=class extends Lh{constructor(e){super(e),this.type="colon"}};Dh.registerWalker(Tr);pu.exports=Tr});var mu=y((nk,du)=>{"use strict";var Mh=F(),Bh=Y(),Er=class extends Bh{constructor(e){super(e),this.type="comma"}};Mh.registerWalker(Er);du.exports=Er});var gu=y((ik,yu)=>{"use strict";var Fh=F(),$h=Y(),Sr=class extends $h{constructor(e){super(e),this.type="comment",this.inline=Object(e).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};Fh.registerWalker(Sr);yu.exports=Sr});var xu=y((ok,vu)=>{"use strict";var wu=F(),Cr=class extends wu{constructor(e){super(e),this.type="func",this.unbalanced=-1}};wu.registerWalker(Cr);vu.exports=Cr});var ku=y((ak,bu)=>{"use strict";var Uh=F(),Wh=Y(),Or=class extends Wh{constructor(e){super(e),this.type="number",this.unit=Object(e).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};Uh.registerWalker(Or);bu.exports=Or});var Tu=y((uk,_u)=>{"use strict";var zh=F(),Vh=Y(),Ar=class extends Vh{constructor(e){super(e),this.type="operator"}};zh.registerWalker(Ar);_u.exports=Ar});var Su=y((lk,Eu)=>{"use strict";var Yh=F(),Gh=Y(),Nr=class extends Gh{constructor(e){super(e),this.type="paren",this.parenType=""}};Yh.registerWalker(Nr);Eu.exports=Nr});var Ou=y((ck,Cu)=>{"use strict";var Kh=F(),Hh=Y(),Pr=class extends Hh{constructor(e){super(e),this.type="string"}toString(){let e=this.quoted?this.raws.quote:"";return[this.raws.before,e,this.value+"",e,this.raws.after].join("")}};Kh.registerWalker(Pr);Cu.exports=Pr});var Nu=y((fk,Au)=>{"use strict";var Qh=F(),jh=Y(),Rr=class extends jh{constructor(e){super(e),this.type="word"}};Qh.registerWalker(Rr);Au.exports=Rr});var Ru=y((pk,Pu)=>{"use strict";var Jh=F(),Xh=Y(),Ir=class extends Xh{constructor(e){super(e),this.type="unicode-range"}};Jh.registerWalker(Ir);Pu.exports=Ir});var qu=y((hk,Iu)=>{"use strict";var cn=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};Iu.exports=cn});var Uu=y((dk,$u)=>{"use strict";var Zh="{".charCodeAt(0),ed="}".charCodeAt(0),td="(".charCodeAt(0),rd=")".charCodeAt(0),Du="'".charCodeAt(0),sd='"'.charCodeAt(0),Lu="\\".charCodeAt(0),qr="/".charCodeAt(0),nd=".".charCodeAt(0),id=",".charCodeAt(0),od=":".charCodeAt(0),fn="*".charCodeAt(0),Dr="-".charCodeAt(0),pn="+".charCodeAt(0),ad="#".charCodeAt(0),Ct=`
43
+ `.charCodeAt(0),hn=" ".charCodeAt(0),dn="\f".charCodeAt(0),mn=" ".charCodeAt(0),yn="\r".charCodeAt(0),ud="@".charCodeAt(0),ld="e".charCodeAt(0),cd="E".charCodeAt(0),Mu="0".charCodeAt(0),Bu="9".charCodeAt(0),fd="u".charCodeAt(0),pd="U".charCodeAt(0),Lr=/[ \n\t\r\{\(\)'"\\;,/]/g,hd=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,We=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,dd=/^[a-z0-9]/i,md=/^[a-f0-9?\-]/i,Fu=qu();$u.exports=function(e,s){s=s||{};let r=[],n=e.valueOf(),i=n.length,o=-1,a=1,u=0,c=0,f=null,p,l,g,x,h,d,m,b,w,v,P,W;function j(C){let O=`Unclosed ${C} at line: ${a}, column: ${u-o}, token: ${u}`;throw new Fu(O)}function z(){let C=`Syntax error at line: ${a}, column: ${u-o}, token: ${u}`;throw new Fu(C)}for(;u<i;){switch(p=n.charCodeAt(u),p===Ct&&(o=u,a+=1),p){case Ct:case hn:case mn:case yn:case dn:l=u;do l+=1,p=n.charCodeAt(l),p===Ct&&(o=l,a+=1);while(p===hn||p===Ct||p===mn||p===yn||p===dn);r.push(["space",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break;case od:l=u+1,r.push(["colon",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break;case id:l=u+1,r.push(["comma",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break;case Zh:r.push(["{","{",a,u-o,a,l-o,u]);break;case ed:r.push(["}","}",a,u-o,a,l-o,u]);break;case td:c++,f=!f&&c===1&&r.length>0&&r[r.length-1][0]==="word"&&r[r.length-1][1]==="url",r.push(["(","(",a,u-o,a,l-o,u]);break;case rd:c--,f=f&&c>0,r.push([")",")",a,u-o,a,l-o,u]);break;case Du:case sd:g=p===Du?"'":'"',l=u;do for(v=!1,l=n.indexOf(g,l+1),l===-1&&j("quote",g),P=l;n.charCodeAt(P-1)===Lu;)P-=1,v=!v;while(v);r.push(["string",n.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case ud:Lr.lastIndex=u+1,Lr.test(n),Lr.lastIndex===0?l=n.length-1:l=Lr.lastIndex-2,r.push(["atword",n.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case Lu:l=u,p=n.charCodeAt(l+1),m&&p!==qr&&p!==hn&&p!==Ct&&p!==mn&&p!==yn&&p!==dn&&(l+=1),r.push(["word",n.slice(u,l+1),a,u-o,a,l-o,u]),u=l;break;case pn:case Dr:case fn:l=u+1,W=n.slice(u+1,l+1);let C=n.slice(u-1,u);if(p===Dr&&W.charCodeAt(0)===Dr){l++,r.push(["word",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break}r.push(["operator",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;break;default:if(p===qr&&(n.charCodeAt(u+1)===fn||s.loose&&!f&&n.charCodeAt(u+1)===qr)){if(n.charCodeAt(u+1)===fn)l=n.indexOf("*/",u+2)+1,l===0&&j("comment","*/");else{let A=n.indexOf(`
44
+ `,u+2);l=A!==-1?A-1:i}d=n.slice(u,l+1),x=d.split(`
45
+ `),h=x.length-1,h>0?(b=a+h,w=l-x[h].length):(b=a,w=o),r.push(["comment",d,a,u-o,b,l-w,u]),o=w,a=b,u=l}else if(p===ad&&!dd.test(n.slice(u+1,u+2)))l=u+1,r.push(["#",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;else if((p===fd||p===pd)&&n.charCodeAt(u+1)===pn){l=u+2;do l+=1,p=n.charCodeAt(l);while(l<i&&md.test(n.slice(l,l+1)));r.push(["unicoderange",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1}else if(p===qr)l=u+1,r.push(["operator",n.slice(u,l),a,u-o,a,l-o,u]),u=l-1;else{let O=hd;if(p>=Mu&&p<=Bu&&(O=We),O.lastIndex=u+1,O.test(n),O.lastIndex===0?l=n.length-1:l=O.lastIndex-2,O===We||p===nd){let A=n.charCodeAt(l),ke=n.charCodeAt(l+1),$n=n.charCodeAt(l+2);(A===ld||A===cd)&&(ke===Dr||ke===pn)&&$n>=Mu&&$n<=Bu&&(We.lastIndex=l+2,We.test(n),We.lastIndex===0?l=n.length-1:l=We.lastIndex-2)}r.push(["word",n.slice(u,l+1),a,u-o,a,l-o,u]),u=l}break}u++}return r}});var gn=y((mk,Wu)=>{Wu.exports=function(e,s){if(s=typeof s=="number"?s:1/0,!s)return Array.isArray(e)?e.map(function(n){return n}):e;return r(e,1);function r(n,i){return n.reduce(function(o,a){return Array.isArray(a)&&i<s?o.concat(r(a,i+1)):o.concat(a)},[])}}});var wn=y((yk,zu)=>{zu.exports=function(t,e){for(var s=-1,r=[];(s=t.indexOf(e,s+1))!==-1;)r.push(s);return r}});var vn=y((gk,Vu)=>{"use strict";function yd(t,e){for(var s=1,r=t.length,n=t[0],i=t[0],o=1;o<r;++o)if(i=n,n=t[o],e(n,i)){if(o===s){s++;continue}t[s++]=n}return t.length=s,t}function gd(t){for(var e=1,s=t.length,r=t[0],n=t[0],i=1;i<s;++i,n=r)if(n=r,r=t[i],r!==n){if(i===e){e++;continue}t[e++]=r}return t.length=e,t}function wd(t,e,s){return t.length===0?t:e?(s||t.sort(e),yd(t,e)):(s||t.sort(),gd(t))}Vu.exports=wd});var Gu=y((wk,Yu)=>{"use strict";var xn=class extends Error{constructor(e){super(e),this.name=this.constructor.name,this.message=e||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(e).stack}};Yu.exports=xn});var ju=y((xk,Qu)=>{"use strict";var vd=ou(),xd=uu(),bd=fu(),kd=hu(),_d=mu(),Td=gu(),Ed=xu(),Sd=ku(),Cd=Tu(),Ku=Su(),Od=Ou(),Hu=Nu(),Ad=Ru(),Nd=Uu(),Pd=gn(),Rd=wn(),Id=vn(),qd=Gu();function Dd(t){return t.sort((e,s)=>e-s)}Qu.exports=class{constructor(e,s){let r={loose:!1};this.cache=[],this.input=e,this.options=Object.assign({},r,s),this.position=0,this.unbalanced=0,this.root=new vd;let n=new xd;this.root.append(n),this.current=n,this.tokens=Nd(e,this.options)}parse(){return this.loop()}colon(){let e=this.currToken;this.newNode(new kd({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comma(){let e=this.currToken;this.newNode(new _d({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}comment(){let e=!1,s=this.currToken[1].replace(/\/\*|\*\//g,""),r;this.options.loose&&s.startsWith("//")&&(s=s.substring(2),e=!0),r=new Td({value:s,inline:e,source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]}),this.newNode(r),this.position++}error(e,s){throw new qd(e+` at line: ${s[2]}, column ${s[3]}`)}loop(){for(;this.position<this.tokens.length;)this.parseTokens();return!this.current.last&&this.spaces?this.current.raws.before+=this.spaces:this.spaces&&(this.current.last.raws.after+=this.spaces),this.spaces="",this.root}operator(){let e=this.currToken[1],s;if(e==="+"||e==="-"){if(this.options.loose||this.position>0&&(this.current.type==="func"&&this.current.value==="calc"?this.prevToken[0]!=="space"&&this.prevToken[0]!=="("?this.error("Syntax Error",this.currToken):this.nextToken[0]!=="space"&&this.nextToken[0]!=="word"?this.error("Syntax Error",this.currToken):this.nextToken[0]==="word"&&this.current.last.type!=="operator"&&this.current.last.value!=="("&&this.error("Syntax Error",this.currToken):(this.nextToken[0]==="space"||this.nextToken[0]==="operator"||this.prevToken[0]==="operator")&&this.error("Syntax Error",this.currToken)),this.options.loose){if((!this.current.nodes.length||this.current.last&&this.current.last.type==="operator")&&this.nextToken[0]==="word")return this.word()}else if(this.nextToken[0]==="word")return this.word()}return s=new Cd({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),this.position++,this.newNode(s)}parseTokens(){switch(this.currToken[0]){case"space":this.space();break;case"colon":this.colon();break;case"comma":this.comma();break;case"comment":this.comment();break;case"(":this.parenOpen();break;case")":this.parenClose();break;case"atword":case"word":this.word();break;case"operator":this.operator();break;case"string":this.string();break;case"unicoderange":this.unicodeRange();break;default:this.word();break}}parenOpen(){let e=1,s=this.position+1,r=this.currToken,n;for(;s<this.tokens.length&&e;){let i=this.tokens[s];i[0]==="("&&e++,i[0]===")"&&e--,s++}if(e&&this.error("Expected closing parenthesis",r),n=this.current.last,n&&n.type==="func"&&n.unbalanced<0&&(n.unbalanced=0,this.current=n),this.current.unbalanced++,this.newNode(new Ku({value:r[1],source:{start:{line:r[2],column:r[3]},end:{line:r[4],column:r[5]}},sourceIndex:r[6]})),this.position++,this.current.type==="func"&&this.current.unbalanced&&this.current.value==="url"&&this.currToken[0]!=="string"&&this.currToken[0]!==")"&&!this.options.loose){let i=this.nextToken,o=this.currToken[1],a={line:this.currToken[2],column:this.currToken[3]};for(;i&&i[0]!==")"&&this.current.unbalanced;)this.position++,o+=this.currToken[1],i=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new Hu({value:o,source:{start:a,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let e=this.currToken;this.newNode(new Ku({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",e),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let e=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=e[1],this.position++):(this.spaces=e[1],this.position++)}unicodeRange(){let e=this.currToken;this.newNode(new Ad({value:e[1],source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6]})),this.position++}splitWord(){let e=this.nextToken,s=this.currToken[1],r=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,n=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,i,o;if(!n.test(s))for(;e&&e[0]==="word";){this.position++;let a=this.currToken[1];s+=a,e=this.nextToken}i=Rd(s,"@"),o=Dd(Id(Pd([[0],i]))),o.forEach((a,u)=>{let c=o[u+1]||s.length,f=s.slice(a,c),p;if(~i.indexOf(a))p=new bd({value:f.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u]});else if(r.test(this.currToken[1])){let l=f.replace(r,"");p=new Sd({value:f.replace(l,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u],unit:l})}else p=new(e&&e[0]==="("?Ed:Hu)({value:f,source:{start:{line:this.currToken[2],column:this.currToken[3]+a},end:{line:this.currToken[4],column:this.currToken[3]+(c-1)}},sourceIndex:this.currToken[6]+o[u]}),p.type==="word"?(p.isHex=/^#(.+)/.test(f),p.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(f)):this.cache.push(this.current);this.newNode(p)}),this.position++}string(){let e=this.currToken,s=this.currToken[1],r=/^(\"|\')/,n=r.test(s),i="",o;n&&(i=s.match(r)[0],s=s.slice(1,s.length-1)),o=new Od({value:s,source:{start:{line:e[2],column:e[3]},end:{line:e[4],column:e[5]}},sourceIndex:e[6],quoted:n}),o.raws.quote=i,this.newNode(o),this.position++}word(){return this.splitWord()}newNode(e){return this.spaces&&(e.raws.before+=this.spaces,this.spaces=""),this.current.append(e)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}});var Ld,Mr,bn=E(()=>{Ld=t=>{for(;t.parent;)t=t.parent;return t},Mr=Ld});function Md(t){return Mr(t).text.slice(t.group.open.sourceIndex+1,t.group.close.sourceIndex).trim()}var Ju,Xu=E(()=>{bn();Ju=Md});function Bd(t){if(se(t)){for(let e=t.length-1;e>0;e--)if(t[e].type==="word"&&t[e].value==="{"&&t[e-1].type==="word"&&t[e-1].value.endsWith("#"))return!0}return!1}var Zu,el=E(()=>{Ve();Zu=Bd});function Fd(t){return t.some(e=>e.type==="string"||e.type==="func"&&!e.value.endsWith("\\"))}var tl,rl=E(()=>{tl=Fd});function $d(t,e){return!!(e.parser==="scss"&&(t==null?void 0:t.type)==="word"&&t.value.startsWith("$"))}var sl,nl=E(()=>{sl=$d});var be=y((Br,ol)=>{"use strict";Br.__esModule=!0;var il=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function Ud(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Wd=function t(e,s){if((typeof e>"u"?"undefined":il(e))!=="object")return e;var r=new e.constructor;for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],o=typeof i>"u"?"undefined":il(i);n==="parent"&&o==="object"?s&&(r[n]=s):i instanceof Array?r[n]=i.map(function(a){return t(a,r)}):r[n]=t(i,r)}return r},zd=function(){function t(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Ud(this,t);for(var s in e)this[s]=e[s];var r=e.spaces;r=r===void 0?{}:r;var n=r.before,i=n===void 0?"":n,o=r.after,a=o===void 0?"":o;this.spaces={before:i,after:a}}return t.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},t.prototype.replaceWith=function(){if(this.parent){for(var s in arguments)this.parent.insertBefore(this,arguments[s]);this.remove()}return this},t.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},t.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},t.prototype.clone=function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=Wd(this);for(var n in s)r[n]=s[n];return r},t.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},t}();Br.default=zd;ol.exports=Br.default});var M=y($=>{"use strict";$.__esModule=!0;var Ok=$.TAG="tag",Ak=$.STRING="string",Nk=$.SELECTOR="selector",Pk=$.ROOT="root",Rk=$.PSEUDO="pseudo",Ik=$.NESTING="nesting",qk=$.ID="id",Dk=$.COMMENT="comment",Lk=$.COMBINATOR="combinator",Mk=$.CLASS="class",Bk=$.ATTRIBUTE="attribute",Fk=$.UNIVERSAL="universal"});var $r=y((Fr,al)=>{"use strict";Fr.__esModule=!0;var Vd=function(){function t(e,s){for(var r=0;r<s.length;r++){var n=s[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(e,s,r){return s&&t(e.prototype,s),r&&t(e,r),e}}(),Yd=be(),Gd=Qd(Yd),Kd=M(),ee=Hd(Kd);function Hd(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e.default=t,e}function Qd(t){return t&&t.__esModule?t:{default:t}}function jd(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jd(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Xd(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Zd=function(t){Xd(e,t);function e(s){jd(this,e);var r=Jd(this,t.call(this,s));return r.nodes||(r.nodes=[]),r}return e.prototype.append=function(r){return r.parent=this,this.nodes.push(r),this},e.prototype.prepend=function(r){return r.parent=this,this.nodes.unshift(r),this},e.prototype.at=function(r){return this.nodes[r]},e.prototype.index=function(r){return typeof r=="number"?r:this.nodes.indexOf(r)},e.prototype.removeChild=function(r){r=this.index(r),this.at(r).parent=void 0,this.nodes.splice(r,1);var n=void 0;for(var i in this.indexes)n=this.indexes[i],n>=r&&(this.indexes[i]=n-1);return this},e.prototype.removeAll=function(){for(var i=this.nodes,r=Array.isArray(i),n=0,i=r?i:i[Symbol.iterator]();;){var o;if(r){if(n>=i.length)break;o=i[n++]}else{if(n=i.next(),n.done)break;o=n.value}var a=o;a.parent=void 0}return this.nodes=[],this},e.prototype.empty=function(){return this.removeAll()},e.prototype.insertAfter=function(r,n){var i=this.index(r);this.nodes.splice(i+1,0,n);var o=void 0;for(var a in this.indexes)o=this.indexes[a],i<=o&&(this.indexes[a]=o+this.nodes.length);return this},e.prototype.insertBefore=function(r,n){var i=this.index(r);this.nodes.splice(i,0,n);var o=void 0;for(var a in this.indexes)o=this.indexes[a],i<=o&&(this.indexes[a]=o+this.nodes.length);return this},e.prototype.each=function(r){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var n=this.lastEach;if(this.indexes[n]=0,!!this.length){for(var i=void 0,o=void 0;this.indexes[n]<this.length&&(i=this.indexes[n],o=r(this.at(i),i),o!==!1);)this.indexes[n]+=1;if(delete this.indexes[n],o===!1)return!1}},e.prototype.walk=function(r){return this.each(function(n,i){var o=r(n,i);if(o!==!1&&n.length&&(o=n.walk(r)),o===!1)return!1})},e.prototype.walkAttributes=function(r){var n=this;return this.walk(function(i){if(i.type===ee.ATTRIBUTE)return r.call(n,i)})},e.prototype.walkClasses=function(r){var n=this;return this.walk(function(i){if(i.type===ee.CLASS)return r.call(n,i)})},e.prototype.walkCombinators=function(r){var n=this;return this.walk(function(i){if(i.type===ee.COMBINATOR)return r.call(n,i)})},e.prototype.walkComments=function(r){var n=this;return this.walk(function(i){if(i.type===ee.COMMENT)return r.call(n,i)})},e.prototype.walkIds=function(r){var n=this;return this.walk(function(i){if(i.type===ee.ID)return r.call(n,i)})},e.prototype.walkNesting=function(r){var n=this;return this.walk(function(i){if(i.type===ee.NESTING)return r.call(n,i)})},e.prototype.walkPseudos=function(r){var n=this;return this.walk(function(i){if(i.type===ee.PSEUDO)return r.call(n,i)})},e.prototype.walkTags=function(r){var n=this;return this.walk(function(i){if(i.type===ee.TAG)return r.call(n,i)})},e.prototype.walkUniversals=function(r){var n=this;return this.walk(function(i){if(i.type===ee.UNIVERSAL)return r.call(n,i)})},e.prototype.split=function(r){var n=this,i=[];return this.reduce(function(o,a,u){var c=r.call(n,a);return i.push(a),c?(o.push(i),i=[]):u===n.length-1&&o.push(i),o},[])},e.prototype.map=function(r){return this.nodes.map(r)},e.prototype.reduce=function(r,n){return this.nodes.reduce(r,n)},e.prototype.every=function(r){return this.nodes.every(r)},e.prototype.some=function(r){return this.nodes.some(r)},e.prototype.filter=function(r){return this.nodes.filter(r)},e.prototype.sort=function(r){return this.nodes.sort(r)},e.prototype.toString=function(){return this.map(String).join("")},Vd(e,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),e}(Gd.default);Fr.default=Zd;al.exports=Fr.default});var ll=y((Ur,ul)=>{"use strict";Ur.__esModule=!0;var em=$r(),tm=sm(em),rm=M();function sm(t){return t&&t.__esModule?t:{default:t}}function nm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function im(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function om(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var am=function(t){om(e,t);function e(s){nm(this,e);var r=im(this,t.call(this,s));return r.type=rm.ROOT,r}return e.prototype.toString=function(){var r=this.reduce(function(n,i){var o=String(i);return o?n+o+",":""},"").slice(0,-1);return this.trailingComma?r+",":r},e}(tm.default);Ur.default=am;ul.exports=Ur.default});var fl=y((Wr,cl)=>{"use strict";Wr.__esModule=!0;var um=$r(),lm=fm(um),cm=M();function fm(t){return t&&t.__esModule?t:{default:t}}function pm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hm(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function dm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var mm=function(t){dm(e,t);function e(s){pm(this,e);var r=hm(this,t.call(this,s));return r.type=cm.SELECTOR,r}return e}(lm.default);Wr.default=mm;cl.exports=Wr.default});var ze=y((zr,pl)=>{"use strict";zr.__esModule=!0;var ym=function(){function t(e,s){for(var r=0;r<s.length;r++){var n=s[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(e,s,r){return s&&t(e.prototype,s),r&&t(e,r),e}}(),gm=be(),wm=vm(gm);function vm(t){return t&&t.__esModule?t:{default:t}}function xm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bm(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function km(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var _m=function(t){km(e,t);function e(){return xm(this,e),bm(this,t.apply(this,arguments))}return e.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},ym(e,[{key:"ns",get:function(){var r=this.namespace;return r?(typeof r=="string"?r:"")+"|":""}}]),e}(wm.default);zr.default=_m;pl.exports=zr.default});var dl=y((Vr,hl)=>{"use strict";Vr.__esModule=!0;var Tm=ze(),Em=Cm(Tm),Sm=M();function Cm(t){return t&&t.__esModule?t:{default:t}}function Om(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Am(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Nm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Pm=function(t){Nm(e,t);function e(s){Om(this,e);var r=Am(this,t.call(this,s));return r.type=Sm.CLASS,r}return e.prototype.toString=function(){return[this.spaces.before,this.ns,"."+this.value,this.spaces.after].join("")},e}(Em.default);Vr.default=Pm;hl.exports=Vr.default});var yl=y((Yr,ml)=>{"use strict";Yr.__esModule=!0;var Rm=be(),Im=Dm(Rm),qm=M();function Dm(t){return t&&t.__esModule?t:{default:t}}function Lm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mm(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Bm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Fm=function(t){Bm(e,t);function e(s){Lm(this,e);var r=Mm(this,t.call(this,s));return r.type=qm.COMMENT,r}return e}(Im.default);Yr.default=Fm;ml.exports=Yr.default});var wl=y((Gr,gl)=>{"use strict";Gr.__esModule=!0;var $m=ze(),Um=zm($m),Wm=M();function zm(t){return t&&t.__esModule?t:{default:t}}function Vm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ym(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Gm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Km=function(t){Gm(e,t);function e(s){Vm(this,e);var r=Ym(this,t.call(this,s));return r.type=Wm.ID,r}return e.prototype.toString=function(){return[this.spaces.before,this.ns,"#"+this.value,this.spaces.after].join("")},e}(Um.default);Gr.default=Km;gl.exports=Gr.default});var xl=y((Kr,vl)=>{"use strict";Kr.__esModule=!0;var Hm=ze(),Qm=Jm(Hm),jm=M();function Jm(t){return t&&t.__esModule?t:{default:t}}function Xm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zm(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function ey(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var ty=function(t){ey(e,t);function e(s){Xm(this,e);var r=Zm(this,t.call(this,s));return r.type=jm.TAG,r}return e}(Qm.default);Kr.default=ty;vl.exports=Kr.default});var kl=y((Hr,bl)=>{"use strict";Hr.__esModule=!0;var ry=be(),sy=iy(ry),ny=M();function iy(t){return t&&t.__esModule?t:{default:t}}function oy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ay(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function uy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var ly=function(t){uy(e,t);function e(s){oy(this,e);var r=ay(this,t.call(this,s));return r.type=ny.STRING,r}return e}(sy.default);Hr.default=ly;bl.exports=Hr.default});var Tl=y((Qr,_l)=>{"use strict";Qr.__esModule=!0;var cy=$r(),fy=hy(cy),py=M();function hy(t){return t&&t.__esModule?t:{default:t}}function dy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function my(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function yy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var gy=function(t){yy(e,t);function e(s){dy(this,e);var r=my(this,t.call(this,s));return r.type=py.PSEUDO,r}return e.prototype.toString=function(){var r=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),r,this.spaces.after].join("")},e}(fy.default);Qr.default=gy;_l.exports=Qr.default});var Sl=y((jr,El)=>{"use strict";jr.__esModule=!0;var wy=ze(),vy=by(wy),xy=M();function by(t){return t&&t.__esModule?t:{default:t}}function ky(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _y(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Ty(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Ey=function(t){Ty(e,t);function e(s){ky(this,e);var r=_y(this,t.call(this,s));return r.type=xy.ATTRIBUTE,r.raws={},r}return e.prototype.toString=function(){var r=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&r.push(this.operator),this.value&&r.push(this.value),this.raws.insensitive?r.push(this.raws.insensitive):this.insensitive&&r.push(" i"),r.push("]"),r.concat(this.spaces.after).join("")},e}(vy.default);jr.default=Ey;El.exports=jr.default});var Ol=y((Jr,Cl)=>{"use strict";Jr.__esModule=!0;var Sy=ze(),Cy=Ay(Sy),Oy=M();function Ay(t){return t&&t.__esModule?t:{default:t}}function Ny(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Py(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Ry(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Iy=function(t){Ry(e,t);function e(s){Ny(this,e);var r=Py(this,t.call(this,s));return r.type=Oy.UNIVERSAL,r.value="*",r}return e}(Cy.default);Jr.default=Iy;Cl.exports=Jr.default});var Nl=y((Xr,Al)=>{"use strict";Xr.__esModule=!0;var qy=be(),Dy=My(qy),Ly=M();function My(t){return t&&t.__esModule?t:{default:t}}function By(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fy(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function $y(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Uy=function(t){$y(e,t);function e(s){By(this,e);var r=Fy(this,t.call(this,s));return r.type=Ly.COMBINATOR,r}return e}(Dy.default);Xr.default=Uy;Al.exports=Xr.default});var Rl=y((Zr,Pl)=>{"use strict";Zr.__esModule=!0;var Wy=be(),zy=Yy(Wy),Vy=M();function Yy(t){return t&&t.__esModule?t:{default:t}}function Gy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ky(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e&&(typeof e=="object"||typeof e=="function")?e:t}function Hy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var Qy=function(t){Hy(e,t);function e(s){Gy(this,e);var r=Ky(this,t.call(this,s));return r.type=Vy.NESTING,r.value="&",r}return e}(zy.default);Zr.default=Qy;Pl.exports=Zr.default});var ql=y((es,Il)=>{"use strict";es.__esModule=!0;es.default=jy;function jy(t){return t.sort(function(e,s){return e-s})}Il.exports=es.default});var zl=y((ss,Wl)=>{"use strict";ss.__esModule=!0;ss.default=ag;var Dl=39,Jy=34,kn=92,Ll=47,Ot=10,_n=32,Tn=12,En=9,Sn=13,Ml=43,Bl=62,Fl=126,$l=124,Xy=44,Zy=40,eg=41,tg=91,rg=93,sg=59,Ul=42,ng=58,ig=38,og=64,ts=/[ \n\t\r\{\(\)'"\\;/]/g,rs=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function ag(t){for(var e=[],s=t.css.valueOf(),r=void 0,n=void 0,i=void 0,o=void 0,a=void 0,u=void 0,c=void 0,f=void 0,p=void 0,l=void 0,g=void 0,x=s.length,h=-1,d=1,m=0,b=function(v,P){if(t.safe)s+=P,n=s.length-1;else throw t.error("Unclosed "+v,d,m-h,m)};m<x;){switch(r=s.charCodeAt(m),r===Ot&&(h=m,d+=1),r){case Ot:case _n:case En:case Sn:case Tn:n=m;do n+=1,r=s.charCodeAt(n),r===Ot&&(h=n,d+=1);while(r===_n||r===Ot||r===En||r===Sn||r===Tn);e.push(["space",s.slice(m,n),d,m-h,m]),m=n-1;break;case Ml:case Bl:case Fl:case $l:n=m;do n+=1,r=s.charCodeAt(n);while(r===Ml||r===Bl||r===Fl||r===$l);e.push(["combinator",s.slice(m,n),d,m-h,m]),m=n-1;break;case Ul:e.push(["*","*",d,m-h,m]);break;case ig:e.push(["&","&",d,m-h,m]);break;case Xy:e.push([",",",",d,m-h,m]);break;case tg:e.push(["[","[",d,m-h,m]);break;case rg:e.push(["]","]",d,m-h,m]);break;case ng:e.push([":",":",d,m-h,m]);break;case sg:e.push([";",";",d,m-h,m]);break;case Zy:e.push(["(","(",d,m-h,m]);break;case eg:e.push([")",")",d,m-h,m]);break;case Dl:case Jy:i=r===Dl?"'":'"',n=m;do for(l=!1,n=s.indexOf(i,n+1),n===-1&&b("quote",i),g=n;s.charCodeAt(g-1)===kn;)g-=1,l=!l;while(l);e.push(["string",s.slice(m,n+1),d,m-h,d,n-h,m]),m=n;break;case og:ts.lastIndex=m+1,ts.test(s),ts.lastIndex===0?n=s.length-1:n=ts.lastIndex-2,e.push(["at-word",s.slice(m,n+1),d,m-h,d,n-h,m]),m=n;break;case kn:for(n=m,c=!0;s.charCodeAt(n+1)===kn;)n+=1,c=!c;r=s.charCodeAt(n+1),c&&r!==Ll&&r!==_n&&r!==Ot&&r!==En&&r!==Sn&&r!==Tn&&(n+=1),e.push(["word",s.slice(m,n+1),d,m-h,d,n-h,m]),m=n;break;default:r===Ll&&s.charCodeAt(m+1)===Ul?(n=s.indexOf("*/",m+2)+1,n===0&&b("comment","*/"),u=s.slice(m,n+1),o=u.split(`
46
+ `),a=o.length-1,a>0?(f=d+a,p=n-o[a].length):(f=d,p=h),e.push(["comment",u,d,m-h,f,n-p,m]),h=p,d=f,m=n):(rs.lastIndex=m+1,rs.test(s),rs.lastIndex===0?n=s.length-1:n=rs.lastIndex-2,e.push(["word",s.slice(m,n+1),d,m-h,d,n-h,m]),m=n);break}m++}return e}Wl.exports=ss.default});var Gl=y((ns,Yl)=>{"use strict";ns.__esModule=!0;var ug=function(){function t(e,s){for(var r=0;r<s.length;r++){var n=s[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(e,s,r){return s&&t(e.prototype,s),r&&t(e,r),e}}(),lg=gn(),cg=q(lg),fg=wn(),Cn=q(fg),pg=vn(),hg=q(pg),dg=ll(),mg=q(dg),yg=fl(),On=q(yg),gg=dl(),wg=q(gg),vg=yl(),xg=q(vg),bg=wl(),kg=q(bg),_g=xl(),Tg=q(_g),Eg=kl(),Sg=q(Eg),Cg=Tl(),Og=q(Cg),Ag=Sl(),Ng=q(Ag),Pg=Ol(),Rg=q(Pg),Ig=Nl(),qg=q(Ig),Dg=Rl(),Lg=q(Dg),Mg=ql(),Bg=q(Mg),Fg=zl(),Vl=q(Fg),$g=M(),Ug=Wg($g);function Wg(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e.default=t,e}function q(t){return t&&t.__esModule?t:{default:t}}function zg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var Vg=function(){function t(e){zg(this,t),this.input=e,this.lossy=e.options.lossless===!1,this.position=0,this.root=new mg.default;var s=new On.default;return this.root.append(s),this.current=s,this.lossy?this.tokens=(0,Vl.default)({safe:e.safe,css:e.css.trim()}):this.tokens=(0,Vl.default)(e),this.loop()}return t.prototype.attribute=function(){var s="",r=void 0,n=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)s+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~s.indexOf("]")&&this.error("Expected a closing square bracket.");var i=s.split(/((?:[*~^$|]?=))([^]*)/),o=i[0].split(/(\|)/g),a={operator:i[1],value:i[2],source:{start:{line:n[2],column:n[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:n[4]};if(o.length>1?(o[0]===""&&(o[0]=!0),a.attribute=this.parseValue(o[2]),a.namespace=this.parseNamespace(o[0])):a.attribute=this.parseValue(i[0]),r=new Ng.default(a),i[2]){var u=i[2].split(/(\s+i\s*?)$/),c=u[0].trim();r.value=this.lossy?c:u[0],u[1]&&(r.insensitive=!0,this.lossy||(r.raws.insensitive=u[1])),r.quoted=c[0]==="'"||c[0]==='"',r.raws.unquoted=r.quoted?c.slice(1,-1):c}this.newNode(r),this.position++},t.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var s=new qg.default({value:"",source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]});this.position<this.tokens.length&&this.currToken&&(this.currToken[0]==="space"||this.currToken[0]==="combinator");)this.nextToken&&this.nextToken[0]==="combinator"?(s.spaces.before=this.parseSpace(this.currToken[1]),s.source.start.line=this.nextToken[2],s.source.start.column=this.nextToken[3],s.source.end.column=this.nextToken[3],s.source.end.line=this.nextToken[2],s.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?s.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?s.value=this.currToken[1]:this.currToken[0]==="space"&&(s.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(s)},t.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var s=new On.default;this.current.parent.append(s),this.current=s,this.position++},t.prototype.comment=function(){var s=new xg.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]});this.newNode(s),this.position++},t.prototype.error=function(s){throw new this.input.error(s)},t.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},t.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},t.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},t.prototype.namespace=function(){var s=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(s);if(this.nextToken[0]==="*")return this.position++,this.universal(s)},t.prototype.nesting=function(){this.newNode(new Lg.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]})),this.position++},t.prototype.parentheses=function(){var s=this.current.last;if(s&&s.type===Ug.PSEUDO){var r=new On.default,n=this.current;s.append(r),this.current=r;var i=1;for(this.position++;this.position<this.tokens.length&&i;)this.currToken[0]==="("&&i++,this.currToken[0]===")"&&i--,i?this.parse():(r.parent.source.end.line=this.currToken[2],r.parent.source.end.column=this.currToken[3],this.position++);i&&this.error("Expected closing parenthesis."),this.current=n}else{var o=1;for(this.position++,s.value+="(";this.position<this.tokens.length&&o;)this.currToken[0]==="("&&o++,this.currToken[0]===")"&&o--,s.value+=this.parseParenthesisToken(this.currToken),this.position++;o&&this.error("Expected closing parenthesis.")}},t.prototype.pseudo=function(){for(var s=this,r="",n=this.currToken;this.currToken&&this.currToken[0]===":";)r+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var i=void 0;this.splitWord(!1,function(o,a){r+=o,i=new Og.default({value:r,source:{start:{line:n[2],column:n[3]},end:{line:s.currToken[4],column:s.currToken[5]}},sourceIndex:n[4]}),s.newNode(i),a>1&&s.nextToken&&s.nextToken[0]==="("&&s.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},t.prototype.space=function(){var s=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(s[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(s[1]),this.position++):this.combinator()},t.prototype.string=function(){var s=this.currToken;this.newNode(new Sg.default({value:this.currToken[1],source:{start:{line:s[2],column:s[3]},end:{line:s[4],column:s[5]}},sourceIndex:s[6]})),this.position++},t.prototype.universal=function(s){var r=this.nextToken;if(r&&r[1]==="|")return this.position++,this.namespace();this.newNode(new Rg.default({value:this.currToken[1],source:{start:{line:this.currToken[2],column:this.currToken[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:this.currToken[4]}),s),this.position++},t.prototype.splitWord=function(s,r){for(var n=this,i=this.nextToken,o=this.currToken[1];i&&i[0]==="word";){this.position++;var a=this.currToken[1];if(o+=a,a.lastIndexOf("\\")===a.length-1){var u=this.nextToken;u&&u[0]==="space"&&(o+=this.parseSpace(u[1]," "),this.position++)}i=this.nextToken}var c=(0,Cn.default)(o,"."),f=(0,Cn.default)(o,"#"),p=(0,Cn.default)(o,"#{");p.length&&(f=f.filter(function(g){return!~p.indexOf(g)}));var l=(0,Bg.default)((0,hg.default)((0,cg.default)([[0],c,f])));l.forEach(function(g,x){var h=l[x+1]||o.length,d=o.slice(g,h);if(x===0&&r)return r.call(n,d,l.length);var m=void 0;~c.indexOf(g)?m=new wg.default({value:d.slice(1),source:{start:{line:n.currToken[2],column:n.currToken[3]+g},end:{line:n.currToken[4],column:n.currToken[3]+(h-1)}},sourceIndex:n.currToken[6]+l[x]}):~f.indexOf(g)?m=new kg.default({value:d.slice(1),source:{start:{line:n.currToken[2],column:n.currToken[3]+g},end:{line:n.currToken[4],column:n.currToken[3]+(h-1)}},sourceIndex:n.currToken[6]+l[x]}):m=new Tg.default({value:d,source:{start:{line:n.currToken[2],column:n.currToken[3]+g},end:{line:n.currToken[4],column:n.currToken[3]+(h-1)}},sourceIndex:n.currToken[6]+l[x]}),n.newNode(m,s)}),this.position++},t.prototype.word=function(s){var r=this.nextToken;return r&&r[1]==="|"?(this.position++,this.namespace()):this.splitWord(s)},t.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},t.prototype.parse=function(s){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":s&&this.missingParenthesis();break;case"[":this.attribute();break;case"]":this.missingSquareBracket();break;case"at-word":case"word":this.word();break;case":":this.pseudo();break;case";":this.missingBackslash();break;case",":this.comma();break;case"*":this.universal();break;case"&":this.nesting();break;case"combinator":this.combinator();break;case"string":this.string();break}},t.prototype.parseNamespace=function(s){if(this.lossy&&typeof s=="string"){var r=s.trim();return r.length?r:!0}return s},t.prototype.parseSpace=function(s,r){return this.lossy?r||"":s},t.prototype.parseValue=function(s){return this.lossy&&s&&typeof s=="string"?s.trim():s},t.prototype.parseParenthesisToken=function(s){return this.lossy?s[0]==="space"?this.parseSpace(s[1]," "):this.parseValue(s[1]):s[1]},t.prototype.newNode=function(s,r){return r&&(s.namespace=this.parseNamespace(r)),this.spaces&&(s.spaces.before=this.spaces,this.spaces=""),this.current.append(s)},ug(t,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),t}();ns.default=Vg;Yl.exports=ns.default});var Hl=y((is,Kl)=>{"use strict";is.__esModule=!0;var Yg=function(){function t(e,s){for(var r=0;r<s.length;r++){var n=s[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(e,s,r){return s&&t(e.prototype,s),r&&t(e,r),e}}(),Gg=Gl(),Kg=Hg(Gg);function Hg(t){return t&&t.__esModule?t:{default:t}}function Qg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var jg=function(){function t(e){return Qg(this,t),this.func=e||function(){},this}return t.prototype.process=function(s){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Kg.default({css:s,error:function(o){throw new Error(o)},options:r});return this.res=n,this.func(n),this},Yg(t,[{key:"result",get:function(){return String(this.res)}}]),t}();is.default=jg;Kl.exports=is.default});function te(t,e,s){if(t&&typeof t=="object"){delete t.parent;for(let r in t)te(t[r],e,s),r==="type"&&typeof t[r]=="string"&&!t[r].startsWith(e)&&(!s||!s.test(t[r]))&&(t[r]=e+t[r])}return t}function An(t){if(t&&typeof t=="object"){delete t.parent;for(let e in t)An(t[e]);!Array.isArray(t)&&t.value&&!t.type&&(t.type="unknown")}return t}var At=E(()=>{});function Jg(t){if(/\/\/|\/\*/.test(t))return{type:"selector-unknown",value:t.trim()};let e;try{new Ql.default(s=>{e=s}).process(t)}catch{return{type:"selector-unknown",value:t}}return te(e,"selector-")}var Ql,re,Nn=E(()=>{Ql=ce(Hl(),1);At();re=Jg});function Xg(t,e){var u;let{nodes:s}=t,r={open:null,close:null,groups:[],type:"paren_group"},n=[r],i=r,o={groups:[],type:"comma_group"},a=[o];for(let c=0;c<s.length;++c){let f=s[c];if(e.parser==="scss"&&f.type==="number"&&f.unit===".."&&f.value.endsWith(".")&&(f.value=f.value.slice(0,-1),f.unit="..."),f.type==="func"&&f.value==="selector"&&(f.group.groups=[re(Mr(t).text.slice(f.group.open.sourceIndex+1,f.group.close.sourceIndex))]),f.type==="func"&&f.value==="url"){let p=((u=f.group)==null?void 0:u.groups)??[],l=[];for(let g=0;g<p.length;g++){let x=p[g];x.type==="comma_group"?l=[...l,...x.groups]:l.push(x)}(Zu(l)||!tl(l)&&!sl(l[0],e))&&(f.group.groups=[Ju(f)])}if(f.type==="paren"&&f.value==="(")r={open:f,close:null,groups:[],type:"paren_group"},n.push(r),o={groups:[],type:"comma_group"},a.push(o);else if(f.type==="paren"&&f.value===")"){if(o.groups.length>0&&r.groups.push(o),r.close=f,a.length===1)throw new Error("Unbalanced parenthesis");a.pop(),o=K(!1,a,-1),o.groups.push(r),n.pop(),r=K(!1,n,-1)}else f.type==="comma"?(r.groups.push(o),o={groups:[],type:"comma_group"},a[a.length-1]=o):o.groups.push(f)}return o.groups.length>0&&r.groups.push(o),i}function os(t){return t.type==="paren_group"&&!t.open&&!t.close&&t.groups.length===1||t.type==="comma_group"&&t.groups.length===1?os(t.groups[0]):t.type==="paren_group"||t.type==="comma_group"?{...t,groups:t.groups.map(os)}:t}function Jl(t,e){if(t&&typeof t=="object")for(let s in t)s!=="parent"&&(Jl(t[s],e),s==="nodes"&&(t.group=os(Xg(t,e)),delete t[s]));return t}function Zg(t,e){if(e.parser==="less"&&t.startsWith("~`"))return{type:"value-unknown",value:t};let s=null;try{s=new jl.default(t,{loose:!0}).parse()}catch{return{type:"value-unknown",value:t}}s.text=t;let r=Jl(s,e);return te(r,"value-",/^selector-/)}var jl,le,Xl=E(()=>{Ce();jl=ce(ju(),1);Xu();bn();el();rl();nl();Nn();At();le=Zg});var Rn=y(Pn=>{"use strict";Object.defineProperty(Pn,"__esModule",{value:!0});function ew(t){this.after=t.after,this.before=t.before,this.type=t.type,this.value=t.value,this.sourceIndex=t.sourceIndex}Pn.default=ew});var qn=y(In=>{"use strict";Object.defineProperty(In,"__esModule",{value:!0});var tw=Rn(),Zl=rw(tw);function rw(t){return t&&t.__esModule?t:{default:t}}function Nt(t){var e=this;this.constructor(t),this.nodes=t.nodes,this.after===void 0&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:""),this.before===void 0&&(this.before=this.nodes.length>0?this.nodes[0].before:""),this.sourceIndex===void 0&&(this.sourceIndex=this.before.length),this.nodes.forEach(function(s){s.parent=e})}Nt.prototype=Object.create(Zl.default.prototype);Nt.constructor=Zl.default;Nt.prototype.walk=function(e,s){for(var r=typeof e=="string"||e instanceof RegExp,n=r?s:e,i=typeof e=="string"?new RegExp(e):e,o=0;o<this.nodes.length;o++){var a=this.nodes[o],u=r?i.test(a.type):!0;if(u&&n&&n(a,o,this.nodes)===!1||a.nodes&&a.walk(e,s)===!1)return!1}return!0};Nt.prototype.each=function(){for(var e=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],s=0;s<this.nodes.length;s++){var r=this.nodes[s];if(e(r,s,this.nodes)===!1)return!1}return!0};In.default=Nt});var sc=y(Pt=>{"use strict";Object.defineProperty(Pt,"__esModule",{value:!0});Pt.parseMediaFeature=rc;Pt.parseMediaQuery=Ln;Pt.parseMediaList=iw;var sw=Rn(),ec=tc(sw),nw=qn(),Dn=tc(nw);function tc(t){return t&&t.__esModule?t:{default:t}}function rc(t){var e=arguments.length<=1||arguments[1]===void 0?0:arguments[1],s=[{mode:"normal",character:null}],r=[],n=0,i="",o=null,a=null,u=e,c=t;t[0]==="("&&t[t.length-1]===")"&&(c=t.substring(1,t.length-1),u++);for(var f=0;f<c.length;f++){var p=c[f];if((p==="'"||p==='"')&&(s[n].isCalculationEnabled===!0?(s.push({mode:"string",isCalculationEnabled:!1,character:p}),n++):s[n].mode==="string"&&s[n].character===p&&c[f-1]!=="\\"&&(s.pop(),n--)),p==="{"?(s.push({mode:"interpolation",isCalculationEnabled:!0}),n++):p==="}"&&(s.pop(),n--),s[n].mode==="normal"&&p===":"){var l=c.substring(f+1);a={type:"value",before:/^(\s*)/.exec(l)[1],after:/(\s*)$/.exec(l)[1],value:l.trim()},a.sourceIndex=a.before.length+f+1+u,o={type:"colon",sourceIndex:f+u,after:a.before,value:":"};break}i+=p}return i={type:"media-feature",before:/^(\s*)/.exec(i)[1],after:/(\s*)$/.exec(i)[1],value:i.trim()},i.sourceIndex=i.before.length+u,r.push(i),o!==null&&(o.before=i.after,r.push(o)),a!==null&&r.push(a),r}function Ln(t){var e=arguments.length<=1||arguments[1]===void 0?0:arguments[1],s=[],r=0,n=!1,i=void 0;function o(){return{before:"",after:"",value:""}}i=o();for(var a=0;a<t.length;a++){var u=t[a];n?(i.value+=u,(u==="{"||u==="(")&&r++,(u===")"||u==="}")&&r--):u.search(/\s/)!==-1?i.before+=u:(u==="("&&(i.type="media-feature-expression",r++),i.value=u,i.sourceIndex=e+a,n=!0),n&&r===0&&(u===")"||a===t.length-1||t[a+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(i.value)!==-1&&(i.type="keyword"),i.type==="media-feature-expression"&&(i.nodes=rc(i.value,i.sourceIndex)),s.push(Array.isArray(i.nodes)?new Dn.default(i):new ec.default(i)),i=o(),n=!1)}for(var c=0;c<s.length;c++)if(i=s[c],c>0&&(s[c-1].after=i.before),i.type===void 0){if(c>0){if(s[c-1].type==="media-feature-expression"){i.type="keyword";continue}if(s[c-1].value==="not"||s[c-1].value==="only"){i.type="media-type";continue}if(s[c-1].value==="and"){i.type="media-feature-expression";continue}s[c-1].type==="media-type"&&(s[c+1]?i.type=s[c+1].type==="media-feature-expression"?"keyword":"media-feature-expression":i.type="media-feature-expression")}if(c===0){if(!s[c+1]){i.type="media-type";continue}if(s[c+1]&&(s[c+1].type==="media-feature-expression"||s[c+1].type==="keyword")){i.type="media-type";continue}if(s[c+2]){if(s[c+2].type==="media-feature-expression"){i.type="media-type",s[c+1].type="keyword";continue}if(s[c+2].type==="keyword"){i.type="keyword",s[c+1].type="media-type";continue}}if(s[c+3]&&s[c+3].type==="media-feature-expression"){i.type="keyword",s[c+1].type="media-type",s[c+2].type="keyword";continue}}}return s}function iw(t){var e=[],s=0,r=0,n=/^(\s*)url\s*\(/.exec(t);if(n!==null){for(var i=n[0].length,o=1;o>0;){var a=t[i];a==="("&&o++,a===")"&&o--,i++}e.unshift(new ec.default({type:"url",value:t.substring(0,i).trim(),sourceIndex:n[1].length,before:n[1],after:/^(\s*)/.exec(t.substring(i))[1]})),s=i}for(var u=s;u<t.length;u++){var c=t[u];if(c==="("&&r++,c===")"&&r--,r===0&&c===","){var f=t.substring(s,u),p=/^(\s*)/.exec(f)[1];e.push(new Dn.default({type:"media-query",value:f.trim(),sourceIndex:s+p.length,nodes:Ln(f,s),before:p,after:/(\s*)$/.exec(f)[1]})),s=u+1}}var l=t.substring(s),g=/^(\s*)/.exec(l)[1];return e.push(new Dn.default({type:"media-query",value:l.trim(),sourceIndex:s+g.length,nodes:Ln(l,s),before:g,after:/(\s*)$/.exec(l)[1]})),e}});var nc=y(Mn=>{"use strict";Object.defineProperty(Mn,"__esModule",{value:!0});Mn.default=cw;var ow=qn(),aw=lw(ow),uw=sc();function lw(t){return t&&t.__esModule?t:{default:t}}function cw(t){return new aw.default({nodes:(0,uw.parseMediaList)(t),type:"media-query-list",value:t.trim()})}});function pw(t){let e;try{e=fw(t)}catch{return{type:"selector-unknown",value:t}}return te(An(e),"media-")}var ic,fw,oc,ac=E(()=>{ic=ce(nc(),1);At();fw=ic.default.default;oc=pw});var mc={};us(mc,{css:()=>mw,less:()=>yw,scss:()=>gw});function fc(t,e){var s,r;if(t&&typeof t=="object"){delete t.parent;for(let a in t)fc(t[a],e);if(!t.type)return t;if(t.raws??(t.raws={}),t.type==="css-decl"&&typeof t.prop=="string"&&t.prop.startsWith("--")&&typeof t.value=="string"&&t.value.startsWith("{")){let a;if(t.value.trimEnd().endsWith("}")){let u=e.originalText.slice(0,t.source.start.offset),c="a".repeat(t.prop.length)+e.originalText.slice(t.source.start.offset+t.prop.length,t.source.end.offset+1),f=S(!1,u,/[^\n]/g," ")+c,p;e.parser==="scss"?p=dc:e.parser==="less"?p=hc:p=pc;let l;try{l=p(f,{...e})}catch{}((s=l==null?void 0:l.nodes)==null?void 0:s.length)===1&&l.nodes[0].type==="css-rule"&&(a=l.nodes[0].nodes)}return a?t.value={type:"css-rule",nodes:a}:t.value={type:"value-unknown",value:t.raws.value.raw},t}let n="";typeof t.selector=="string"&&(n=t.raws.selector?t.raws.selector.scss??t.raws.selector.raw:t.selector,t.raws.between&&t.raws.between.trim().length>0&&(n+=t.raws.between),t.raws.selector=n);let i="";typeof t.value=="string"&&(i=t.raws.value?t.raws.value.scss??t.raws.value.raw:t.value,i=i.trim(),t.raws.value=i);let o="";if(typeof t.params=="string"&&(o=t.raws.params?t.raws.params.scss??t.raws.params.raw:t.params,t.raws.afterName&&t.raws.afterName.trim().length>0&&(o=t.raws.afterName+o),t.raws.between&&t.raws.between.trim().length>0&&(o=o+t.raws.between),o=o.trim(),t.raws.params=o),n.trim().length>0)return n.startsWith("@")&&n.endsWith(":")?t:t.mixin?(t.selector=le(n,e),t):(Za(t,e)&&(t.isSCSSNesterProperty=!0),t.selector=re(n),t);if(i.length>0){let a=i.match(hw);a&&(i=i.slice(0,a.index),t.scssDefault=!0,a[0].trim()!=="!default"&&(t.raws.scssDefault=a[0]));let u=i.match(dw);if(u&&(i=i.slice(0,u.index),t.scssGlobal=!0,u[0].trim()!=="!global"&&(t.raws.scssGlobal=u[0])),i.startsWith("progid:"))return{type:"value-unknown",value:i};t.value=le(i,e)}if(e.parser==="less"&&t.type==="css-decl"&&i.startsWith("extend(")&&(t.extend||(t.extend=t.raws.between===":"),t.extend&&!t.selector&&(delete t.value,t.selector=re(i.slice(7,-1)))),t.type==="css-atrule"){if(e.parser==="less"){if(t.mixin){let a=t.raws.identifier+t.name+t.raws.afterName+t.raws.params;return t.selector=re(a),delete t.params,t}if(t.function)return t}if(e.parser==="css"&&t.name==="custom-selector"){let a=t.params.match(/:--\S+\s+/)[0].trim();return t.customSelector=a,t.selector=re(t.params.slice(a.length).trim()),delete t.params,t}if(e.parser==="less"){if(t.name.includes(":")&&!t.params){t.variable=!0;let a=t.name.split(":");t.name=a[0],t.value=le(a.slice(1).join(":"),e)}if(!["page","nest","keyframes"].includes(t.name)&&((r=t.params)==null?void 0:r[0])===":"){t.variable=!0;let a=t.params.slice(1);a&&(t.value=le(a,e)),t.raws.afterName+=":"}if(t.variable)return delete t.params,t.value||delete t.value,t}}if(t.type==="css-atrule"&&o.length>0){let{name:a}=t,u=t.name.toLowerCase();return a==="warn"||a==="error"?(t.params={type:"media-unknown",value:o},t):a==="extend"||a==="nest"?(t.selector=re(o),delete t.params,t):a==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/s.test(o)?t.params=le(o,e):(t.selector=re(o),delete t.params),t):tu(u)?(t.import=!0,delete t.filename,t.params=le(o,e),t):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(a)?(o=o.replace(/(\$\S+?)(\s+)?\.{3}/,"$1...$2"),o=o.replace(/^(?!if)(\S+)(\s+)\(/,"$1($2"),t.value=le(o,e),delete t.params,t):["media","custom-media"].includes(u)?o.includes("#{")?{type:"media-unknown",value:o}:(t.params=oc(o),t):(t.params=o,t)}}return t}function Bn(t,e,s){let r=rt(e),{frontMatter:n}=r;e=r.content;let i;try{i=t(e,{map:!1})}catch(o){let{name:a,reason:u,line:c,column:f}=o;throw typeof c!="number"?o:Ja(`${a}: ${u}`,{loc:{start:{line:c,column:f}},cause:o})}return s.originalText=e,i=fc(te(i,"css-"),s),_s(i,e),n&&(n.source={startOffset:0,endOffset:n.raw.length},i.frontMatter=n),i}function pc(t,e={}){return Bn(uc.default.default,t,e)}function hc(t,e={}){return Bn(s=>lc.default.parse(Ki(s)),t,e)}function dc(t,e={}){return Bn(cc.default,t,e)}var uc,lc,cc,hw,dw,Fn,mw,yw,gw,yc=E(()=>{J();uc=ce(xt(),1),lc=ce(ha(),1),cc=ce(ja(),1);Xa();ps();hs();Re();eu();ru();Xl();Nn();ac();At();hw=/(\s*)(!default).*$/,dw=/(\s*)(!global).*$/;Fn={astFormat:"postcss",hasPragma:gi,locStart:R,locEnd:I},mw={...Fn,parse:pc},yw={...Fn,parse:hc},gw={...Fn,parse:dc}});var ww={};us(ww,{default:()=>as,languages:()=>Cs,options:()=>Os,parsers:()=>wc,printers:()=>gc});var as={};us(as,{languages:()=>Cs,options:()=>Os,parsers:()=>wc,printers:()=>gc});function Ec(t){let e=Object.create(null);for(let{importParsers:s,parserNames:r}of t)for(let n of r)e[n]=async()=>Object.assign(e,await s())[n];return e}var Wn=Ec;J();var It="'",zn='"';function Cc(t,e){let s=e===!0||e===It?It:zn,r=s===It?zn:It,n=0,i=0;for(let o of t)o===s?n++:o===r&&i++;return n>i?r:s}var Vn=Cc;J();function Oc(t,e,s){let r=e==='"'?"'":'"',i=S(!1,t,/\\(.)|(["'])/gs,(o,a,u)=>a===r?a:u===e?"\\"+u:u||(s&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/.test(a)?a:"\\"+a));return e+i+e}var Yn=Oc;function Ac(t,e){let s=t.slice(1,-1),r=e.parser==="json"||e.parser==="json5"&&e.quoteProps==="preserve"&&!e.singleQuote?'"':e.__isInHtmlAttribute?"'":Vn(s,e.singleQuote);return Yn(s,r,!(e.parser==="css"||e.parser==="less"||e.parser==="scss"||e.__embeddedInHtml))}var qt=Ac;Ve();var Ye="string",Ge="array",Ke="cursor",_e="indent",Te="align",He="trim",Ee="group",ne="fill",fe="if-break",Qe="indent-if-break",je="line-suffix",Je="line-suffix-boundary",X="line",Xe="label",Se="break-parent",Dt=new Set([Ke,_e,Te,He,Ee,ne,fe,Qe,je,Je,X,Xe,Se]);function Pc(t){if(typeof t=="string")return Ye;if(Array.isArray(t))return Ge;if(!t)return;let{type:e}=t;if(Dt.has(e))return e}var Ze=Pc;var Rc=t=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(t);function Ic(t){let e=t===null?"null":typeof t;if(e!=="string"&&e!=="object")return`Unexpected doc '${e}',
47
+ Expected it to be 'string' or 'object'.`;if(Ze(t))throw new Error("doc is valid.");let s=Object.prototype.toString.call(t);if(s!=="[object Object]")return`Unexpected doc '${s}'.`;let r=Rc([...Dt].map(n=>`'${n}'`));return`Unexpected doc.type '${t.type}'.
48
+ Expected it to be ${r}.`}var ls=class extends Error{name="InvalidDocError";constructor(e){super(Ic(e)),this.doc=e}},cs=ls;var Gn=()=>{},pe=Gn,Lt=Gn;function D(t){return pe(t),{type:_e,contents:t}}function Kn(t,e){return pe(e),{type:Te,contents:e,n:t}}function L(t,e={}){return pe(t),Lt(e.expandedStates,!0),{type:Ee,id:e.id,contents:t,break:!!e.shouldBreak,expandedStates:e.expandedStates}}function Hn(t){return Kn({type:"root"},t)}function he(t){return Kn(-1,t)}function et(t){return Lt(t),{type:ne,parts:t}}function Mt(t,e="",s={}){return pe(t),e!==""&&pe(e),{type:fe,breakContents:t,flatContents:e,groupId:s.groupId}}var tt={type:Se};var qc={type:X,hard:!0};var N={type:X},B={type:X,soft:!0},_=[qc,tt];function G(t,e){pe(t),Lt(e);let s=[];for(let r=0;r<e.length;r++)r!==0&&s.push(t),s.push(e[r]);return s}Ce();var Qn=t=>{if(Array.isArray(t))return t;if(t.type!==ne)throw new Error(`Expect doc to be 'array' or '${ne}'.`);return t.parts};function Lc(t,e){if(typeof t=="string")return e(t);let s=new Map;return r(t);function r(i){if(s.has(i))return s.get(i);let o=n(i);return s.set(i,o),o}function n(i){switch(Ze(i)){case Ge:return e(i.map(r));case ne:return e({...i,parts:i.parts.map(r)});case fe:return e({...i,breakContents:r(i.breakContents),flatContents:r(i.flatContents)});case Ee:{let{expandedStates:o,contents:a}=i;return o?(o=o.map(r),a=o[0]):a=r(a),e({...i,contents:a,expandedStates:o})}case Te:case _e:case Qe:case Xe:case je:return e({...i,contents:r(i.contents)});case Ye:case Ke:case He:case Je:case X:case Se:return e(i);default:throw new cs(i)}}}function Mc(t){return t.type===X&&!t.hard?t.soft?"":" ":t.type===fe?t.flatContents:t}function jn(t){return Lc(t,Mc)}var fs=class extends Error{name="UnexpectedNodeError";constructor(e,s,r="type"){super(`Unexpected ${s} node ${r}: ${JSON.stringify(e[r])}.`),this.node=e}},Jn=fs;Ce();J();function Bc(t){return(t==null?void 0:t.type)==="front-matter"}var Oe=Bc;var Fc=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma","spaces"]);function Xn(t,e,s){if(Oe(t)&&t.lang==="yaml"&&delete e.value,t.type==="css-comment"&&s.type==="css-root"&&s.nodes.length>0&&((s.nodes[0]===t||Oe(s.nodes[0])&&s.nodes[1]===t)&&(delete e.text,/^\*\s*@(?:format|prettier)\s*$/.test(t.text))||s.type==="css-root"&&K(!1,s.nodes,-1)===t))return null;if(t.type==="value-root"&&delete e.text,(t.type==="media-query"||t.type==="media-query-list"||t.type==="media-feature-expression")&&delete e.value,t.type==="css-rule"&&delete e.params,t.type==="selector-combinator"&&(e.value=S(!1,e.value,/\s+/g," ")),t.type==="media-feature"&&(e.value=S(!1,e.value," ","")),(t.type==="value-word"&&(t.isColor&&t.isHex||["initial","inherit","unset","revert"].includes(e.value.toLowerCase()))||t.type==="media-feature"||t.type==="selector-root-invalid"||t.type==="selector-pseudo")&&(e.value=e.value.toLowerCase()),t.type==="css-decl"&&(e.prop=e.prop.toLowerCase()),(t.type==="css-atrule"||t.type==="css-import")&&(e.name=e.name.toLowerCase()),t.type==="value-number"&&(e.unit=e.unit.toLowerCase()),t.type==="value-unknown"&&(e.value=S(!1,e.value,/;$/g,"")),(t.type==="media-feature"||t.type==="media-keyword"||t.type==="media-type"||t.type==="media-unknown"||t.type==="media-url"||t.type==="media-value"||t.type==="selector-attribute"||t.type==="selector-string"||t.type==="selector-class"||t.type==="selector-combinator"||t.type==="value-string")&&e.value&&(e.value=$c(e.value)),t.type==="selector-attribute"&&(e.attribute=e.attribute.trim(),e.namespace&&typeof e.namespace=="string"&&(e.namespace=e.namespace.trim(),e.namespace.length===0&&(e.namespace=!0)),e.value&&(e.value=S(!1,e.value.trim(),/^["']|["']$/g,""),delete e.quoted)),(t.type==="media-value"||t.type==="media-type"||t.type==="value-number"||t.type==="selector-root-invalid"||t.type==="selector-class"||t.type==="selector-combinator"||t.type==="selector-tag")&&e.value&&(e.value=S(!1,e.value,/([\d+.Ee-]+)([A-Za-z]*)/g,(r,n,i)=>{let o=Number(n);return Number.isNaN(o)?r:o+i.toLowerCase()})),t.type==="selector-tag"){let r=t.value.toLowerCase();["from","to"].includes(r)&&(e.value=r)}if(t.type==="css-atrule"&&t.name.toLowerCase()==="supports"&&delete e.value,t.type==="selector-unknown"&&delete e.value,t.type==="value-comma_group"){let r=t.groups.findIndex(n=>n.type==="value-number"&&n.unit==="...");r!==-1&&(e.groups[r].unit="",e.groups.splice(r+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(t.type==="value-comma_group"&&t.groups.some(r=>r.type==="value-atword"&&r.value.endsWith("[")||r.type==="value-word"&&r.value.startsWith("]")))return{type:"value-atword",value:t.groups.map(r=>r.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}Xn.ignoredProperties=Fc;function $c(t){return S(!1,S(!1,t,"'",'"'),/\\([^\dA-Fa-f])/g,"$1")}var Zn=Xn;async function Uc(t,e){if(t.lang==="yaml"){let s=t.value.trim(),r=s?await e(s,{parser:"yaml"}):"";return Hn([t.startDelimiter,_,r,r?_:"",t.endDelimiter])}}var ei=Uc;function ti(t){let{node:e}=t;if(e.type==="front-matter")return async s=>{let r=await ei(e,s);return r?[r,_]:void 0}}ti.getVisitorKeys=t=>t.type==="css-root"?["frontMatter"]:[];var ri=ti;hs();var st=null;function nt(t){if(st!==null&&typeof st.property){let e=st;return st=nt.prototype=null,e}return st=nt.prototype=t??Object.create(null),new nt}var ef=10;for(let t=0;t<=ef;t++)nt();function ds(t){return nt(t)}function tf(t,e="type"){ds(t);function s(r){let n=r[e],i=t[n];if(!Array.isArray(i))throw Object.assign(new Error(`Missing visitor keys for '${n}'.`),{node:r});return i}return s}var vi=tf;var rf={"front-matter":[],"css-root":["frontMatter","nodes"],"css-comment":[],"css-rule":["selector","nodes"],"css-decl":["value","selector","nodes"],"css-atrule":["selector","params","value","nodes"],"media-query-list":["nodes"],"media-query":["nodes"],"media-type":[],"media-feature-expression":["nodes"],"media-feature":[],"media-colon":[],"media-value":[],"media-keyword":[],"media-url":[],"media-unknown":[],"selector-root":["nodes"],"selector-selector":["nodes"],"selector-comment":[],"selector-string":[],"selector-tag":[],"selector-id":[],"selector-class":[],"selector-attribute":[],"selector-combinator":["nodes"],"selector-universal":[],"selector-pseudo":["nodes"],"selector-nesting":[],"selector-unknown":[],"value-value":["group"],"value-root":["group"],"value-comment":[],"value-comma_group":["groups"],"value-paren_group":["open","groups","close"],"value-func":["group"],"value-paren":[],"value-number":[],"value-operator":[],"value-word":[],"value-colon":[],"value-comma":[],"value-string":[],"value-atword":[],"value-unicode-range":[],"value-unknown":[]},xi=rf;var sf=vi(xi),bi=sf;var nf=new Set(["red","green","blue","alpha","a","rgb","hue","h","saturation","s","lightness","l","whiteness","w","blackness","b","tint","shade","blend","blenda","contrast","hsl","hsla","hwb","hwba"]);function ki(t){var e,s;return(s=(e=t.findAncestor(r=>r.type==="css-decl"))==null?void 0:e.prop)==null?void 0:s.toLowerCase()}var of=new Set(["initial","inherit","unset","revert"]);function _i(t){return of.has(t.toLowerCase())}function Ti(t,e){var r;let s=t.findAncestor(n=>n.type==="css-atrule");return((r=s==null?void 0:s.name)==null?void 0:r.toLowerCase().endsWith("keyframes"))&&["from","to"].includes(e.toLowerCase())}function oe(t){return t.includes("$")||t.includes("@")||t.includes("#")||t.startsWith("%")||t.startsWith("--")||t.startsWith(":--")||t.includes("(")&&t.includes(")")?t:t.toLowerCase()}function Ae(t,e){var r;let s=t.findAncestor(n=>n.type==="value-func");return((r=s==null?void 0:s.value)==null?void 0:r.toLowerCase())===e}function Ei(t){var r;let e=t.findAncestor(n=>n.type==="css-rule"),s=(r=e==null?void 0:e.raws)==null?void 0:r.selector;return s&&(s.startsWith(":import")||s.startsWith(":export"))}function Ne(t,e){let s=Array.isArray(e)?e:[e],r=t.findAncestor(n=>n.type==="css-atrule");return r&&s.includes(r.name.toLowerCase())}function Si(t){var s;let{node:e}=t;return e.groups[0].value==="url"&&e.groups.length===2&&((s=t.findAncestor(r=>r.type==="css-atrule"))==null?void 0:s.name)==="import"}function Ci(t){return t.type==="value-func"&&t.value.toLowerCase()==="url"}function Oi(t){return t.type==="value-func"&&t.value.toLowerCase()==="var"}function Bt(t,e){var r;let s=(r=t.parent)==null?void 0:r.nodes;return s&&s.indexOf(e)===s.length-1}function Ai(t){let{selector:e}=t;return e?typeof e=="string"&&/^@.+:.*$/.test(e)||e.value&&/^@.+:.*$/.test(e.value):!1}function Ni(t){return t.type==="value-word"&&["from","through","end"].includes(t.value)}function Pi(t){return t.type==="value-word"&&["and","or","not"].includes(t.value)}function Ri(t){return t.type==="value-word"&&t.value==="in"}function Ft(t){return t.type==="value-operator"&&t.value==="*"}function it(t){return t.type==="value-operator"&&t.value==="/"}function Z(t){return t.type==="value-operator"&&t.value==="+"}function me(t){return t.type==="value-operator"&&t.value==="-"}function af(t){return t.type==="value-operator"&&t.value==="%"}function $t(t){return Ft(t)||it(t)||Z(t)||me(t)||af(t)}function Ii(t){return t.type==="value-word"&&["==","!="].includes(t.value)}function qi(t){return t.type==="value-word"&&["<",">","<=",">="].includes(t.value)}function ot(t,e){return e.parser==="scss"&&t.type==="css-atrule"&&["if","else","for","each","while"].includes(t.name)}function ys(t){var e;return((e=t.raws)==null?void 0:e.params)&&/^\(\s*\)$/.test(t.raws.params)}function gs(t){return t.name.startsWith("prettier-placeholder")}function Di(t){return t.prop.startsWith("@prettier-placeholder")}function Li(t,e){return t.value==="$$"&&t.type==="value-func"&&(e==null?void 0:e.type)==="value-word"&&!e.raws.before}function Mi(t){var e,s;return((e=t.value)==null?void 0:e.type)==="value-root"&&((s=t.value.group)==null?void 0:s.type)==="value-value"&&t.prop.toLowerCase()==="composes"}function Bi(t){var e,s,r;return((r=(s=(e=t.value)==null?void 0:e.group)==null?void 0:s.group)==null?void 0:r.type)==="value-paren_group"&&t.value.group.group.open!==null&&t.value.group.group.close!==null}function ye(t){var e;return((e=t.raws)==null?void 0:e.before)===""}function Ut(t){var e,s;return t.type==="value-comma_group"&&((s=(e=t.groups)==null?void 0:e[1])==null?void 0:s.type)==="value-colon"}function ms(t){var e;return t.type==="value-paren_group"&&((e=t.groups)==null?void 0:e[0])&&Ut(t.groups[0])}function ws(t,e){var i;if(e.parser!=="scss")return!1;let{node:s}=t;if(s.groups.length===0)return!1;let r=t.grandparent;if(!ms(s)&&!(r&&ms(r)))return!1;let n=t.findAncestor(o=>o.type==="css-decl");return!!((i=n==null?void 0:n.prop)!=null&&i.startsWith("$")||ms(r)||r.type==="value-func")}function vs(t){return t.type==="value-comment"&&t.inline}function Wt(t){return t.type==="value-word"&&t.value==="#"}function xs(t){return t.type==="value-word"&&t.value==="{"}function zt(t){return t.type==="value-word"&&t.value==="}"}function at(t){return["value-word","value-atword"].includes(t.type)}function Vt(t){return(t==null?void 0:t.type)==="value-colon"}function Fi(t,e){if(!Ut(e))return!1;let{groups:s}=e,r=s.indexOf(t);return r===-1?!1:Vt(s[r+1])}function $i(t){return t.value&&["not","and","or"].includes(t.value.toLowerCase())}function Ui(t){return t.type!=="value-func"?!1:nf.has(t.value.toLowerCase())}function Pe(t){return/\/\//.test(t.split(/[\n\r]/).pop())}function ut(t){return(t==null?void 0:t.type)==="value-atword"&&t.value.startsWith("prettier-placeholder-")}function Wi(t,e){var s,r;if(((s=t.open)==null?void 0:s.value)!=="("||((r=t.close)==null?void 0:r.value)!==")"||t.groups.some(n=>n.type!=="value-comma_group"))return!1;if(e.type==="value-comma_group"){let n=e.groups.indexOf(t)-1,i=e.groups[n];if((i==null?void 0:i.type)==="value-word"&&i.value==="with")return!0}return!1}function lt(t){var e,s;return t.type==="value-paren_group"&&((e=t.open)==null?void 0:e.value)==="("&&((s=t.close)==null?void 0:s.value)===")"}Re();J();function cf(t){return t.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/,"$1").replace(/^([+-])?\./,"$10.").replace(/(\.\d+?)0+(?=e|$)/,"$1").replace(/\.(?=e|$)/,"")}var Hi=cf;var Ts=new Map([["em","em"],["rem","rem"],["ex","ex"],["rex","rex"],["cap","cap"],["rcap","rcap"],["ch","ch"],["rch","rch"],["ic","ic"],["ric","ric"],["lh","lh"],["rlh","rlh"],["vw","vw"],["svw","svw"],["lvw","lvw"],["dvw","dvw"],["vh","vh"],["svh","svh"],["lvh","lvh"],["dvh","dvh"],["vi","vi"],["svi","svi"],["lvi","lvi"],["dvi","dvi"],["vb","vb"],["svb","svb"],["lvb","lvb"],["dvb","dvb"],["vmin","vmin"],["svmin","svmin"],["lvmin","lvmin"],["dvmin","dvmin"],["vmax","vmax"],["svmax","svmax"],["lvmax","lvmax"],["dvmax","dvmax"],["cm","cm"],["mm","mm"],["q","Q"],["in","in"],["pt","pt"],["pc","pc"],["px","px"],["deg","deg"],["grad","grad"],["rad","rad"],["turn","turn"],["s","s"],["ms","ms"],["hz","Hz"],["khz","kHz"],["dpi","dpi"],["dpcm","dpcm"],["dppx","dppx"],["x","x"],["cqw","cqw"],["cqh","cqh"],["cqi","cqi"],["cqb","cqb"],["cqmin","cqmin"],["cqmax","cqmax"]]);function Qi(t){let e=t.toLowerCase();return Ts.has(e)?Ts.get(e):t}var ji=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gs,ff=/(?:\d*\.\d+|\d+\.?)(?:[Ee][+-]?\d+)?/g,pf=/[A-Za-z]+/g,hf=/[$@]?[A-Z_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/g,df=new RegExp(ji.source+`|(${hf.source})?(${ff.source})(${pf.source})?`,"g");function V(t,e){return S(!1,t,ji,s=>qt(s,e))}function Ji(t,e){let s=e.singleQuote?"'":'"';return t.includes('"')||t.includes("'")?t:s+t+s}function ge(t){return t.replace(df,(e,s,r,n,i)=>!r&&n?Es(n)+oe(i||""):e)}function Es(t){return Hi(t).replace(/\.0(?=$|e)/,"")}function Xi(t){return t.trailingComma==="es5"||t.trailingComma==="all"}Re();function mf(t,e,s){var d;let{node:r}=t,n=t.parent,i=t.grandparent,o=ki(t),a=o&&n.type==="value-value"&&(o==="grid"||o.startsWith("grid-template")),u=t.findAncestor(m=>m.type==="css-atrule"),c=u&&ot(u,e),f=r.groups.some(m=>vs(m)),p=t.map(s,"groups"),l=[],g=Ae(t,"url"),x=!1,h=!1;for(let m=0;m<r.groups.length;++m){l.push(p[m]);let b=r.groups[m-1],w=r.groups[m],v=r.groups[m+1],P=r.groups[m+2];if(g){(v&&Z(v)||Z(w))&&l.push(" ");continue}if(Ne(t,"forward")&&w.type==="value-word"&&w.value&&b!==void 0&&b.type==="value-word"&&b.value==="as"&&v.type==="value-operator"&&v.value==="*"||!v||w.type==="value-word"&&w.value.endsWith("-")&&ut(v))continue;if(w.type==="value-string"&&w.quoted){let A=w.value.lastIndexOf("#{"),ke=w.value.lastIndexOf("}");A!==-1&&ke!==-1?x=A>ke:A!==-1?x=!0:ke!==-1&&(x=!1)}if(x||Vt(w)||Vt(v)||w.type==="value-atword"&&(w.value===""||w.value.endsWith("["))||v.type==="value-word"&&v.value.startsWith("]")||w.value==="~"||w.type!=="value-string"&&w.value&&w.value.includes("\\")&&v&&v.type!=="value-comment"||b!=null&&b.value&&b.value.indexOf("\\")===b.value.length-1&&w.type==="value-operator"&&w.value==="/"||w.value==="\\"||Li(w,v)||Wt(w)||xs(w)||zt(v)||xs(v)&&ye(v)||zt(w)&&ye(v)||w.value==="--"&&Wt(v))continue;let W=$t(w),j=$t(v);if((W&&Wt(v)||j&&zt(w))&&ye(v)||!b&&it(w)||Ae(t,"calc")&&(Z(w)||Z(v)||me(w)||me(v))&&ye(v))continue;let z=(Z(w)||me(w))&&m===0&&(v.type==="value-number"||v.isHex)&&i&&Ui(i)&&!ye(v),C=(P==null?void 0:P.type)==="value-func"||P&&at(P)||w.type==="value-func"||at(w),O=v.type==="value-func"||at(v)||(b==null?void 0:b.type)==="value-func"||b&&at(b);if(!(!(Ft(v)||Ft(w))&&!Ae(t,"calc")&&!z&&(it(v)&&!C||it(w)&&!O||Z(v)&&!C||Z(w)&&!O||me(v)||me(w))&&(ye(v)||W&&(!b||b&&$t(b))))&&!((e.parser==="scss"||e.parser==="less")&&W&&w.value==="-"&&lt(v)&&I(w)===R(v.open)&&v.open.value==="(")){if(vs(w)){if(n.type==="value-paren_group"){l.push(he(_));continue}l.push(_);continue}if(c&&(Ii(v)||qi(v)||Pi(v)||Ri(w)||Ni(w))){l.push(" ");continue}if(u&&u.name.toLowerCase()==="namespace"){l.push(" ");continue}if(a){w.source&&v.source&&w.source.start.line!==v.source.start.line?(l.push(_),h=!0):l.push(" ");continue}if(j){l.push(" ");continue}if((v==null?void 0:v.value)!=="..."&&!(ut(w)&&ut(v)&&I(w)===R(v))){if(ut(w)&&lt(v)&&I(w)===R(v.open)){l.push(B);continue}if(w.value==="with"&&lt(v)){l.push(" ");continue}(d=w.value)!=null&&d.endsWith("#")&&v.value==="{"&&lt(v.group)||l.push(N)}}}return f&&l.push(tt),h&&l.unshift(_),c?L(D(l)):Si(t)?L(et(l)):L(D(et(l)))}var Zi=mf;Ce();function yf(t,e,s){let r=!!(s!=null&&s.backwards);if(e===!1)return!1;let n=t.charAt(e);if(r){if(t.charAt(e-1)==="\r"&&n===`
49
+ `)return e-2;if(n===`
50
+ `||n==="\r"||n==="\u2028"||n==="\u2029")return e-1}else{if(n==="\r"&&t.charAt(e+1)===`
51
+ `)return e+2;if(n===`
52
+ `||n==="\r"||n==="\u2028"||n==="\u2029")return e+1}return e}var Ht=yf;ct();function gf(t,e){if(e===!1)return!1;if(t.charAt(e)==="/"&&t.charAt(e+1)==="*"){for(let s=e+2;s<t.length;++s)if(t.charAt(s)==="*"&&t.charAt(s+1)==="/")return s+2}return e}var eo=gf;ct();function wf(t,e){return e===!1?!1:t.charAt(e)==="/"&&t.charAt(e+1)==="/"?Kt(t,e):e}var to=wf;ct();function vf(t,e,s={}){let r=Gt(t,s.backwards?e-1:e,s),n=Ht(t,r,s);return r!==n}var Qt=vf;function xf(t,e){let s=null,r=e;for(;r!==s;)s=r,r=zi(t,r),r=eo(t,r),r=Gt(t,r);return r=to(t,r),r=Ht(t,r),r!==!1&&Qt(t,r)}var jt=xf;Ve();Re();function bf({node:t,parent:e},s){return!!(t.source&&s.originalText.slice(R(t),R(e.close)).trimEnd().endsWith(","))}function kf(t,e){return Oi(t.grandparent)&&bf(t,e)?",":t.node.type!=="value-comment"&&Xi(e)&&t.callParent(()=>ws(t,e))?Mt(","):""}function ro(t,e,s){let{node:r,parent:n}=t,i=t.map(({node:g})=>typeof g=="string"?g:s(),"groups");if(n&&Ci(n)&&(r.groups.length===1||r.groups.length>0&&r.groups[0].type==="value-comma_group"&&r.groups[0].groups.length>0&&r.groups[0].groups[0].type==="value-word"&&r.groups[0].groups[0].value.startsWith("data:")))return[r.open?s("open"):"",G(",",i),r.close?s("close"):""];if(!r.open){let g=Ss(t),x=G([",",g?_:N],i);return D(g?[_,x]:L(et(x)))}let o=t.map(({node:g,isLast:x,index:h})=>{var b;let d=i[h];if(Ut(g)&&g.type==="value-comma_group"&&g.groups&&g.groups[0].type!=="value-paren_group"&&((b=g.groups[2])==null?void 0:b.type)==="value-paren_group"){let w=Qn(d.contents.contents);w[1]=L(w[1]),d=L(he(d))}let m=[d,x?kf(t,e):","];if(!x&&g.type==="value-comma_group"&&se(g.groups)){let w=K(!1,g.groups,-1);!w.source&&w.close&&(w=w.close),w.source&&jt(e.originalText,I(w))&&m.push(_)}return m},"groups"),a=Fi(r,n),u=Wi(r,n),c=ws(t,e),f=u||c&&!a,p=u||a,l=L([r.open?s("open"):"",D([B,G(N,o)]),B,r.close?s("close"):""],{shouldBreak:f});return p?he(l):l}function Ss(t){return t.match(e=>e.type==="value-paren_group"&&!e.open&&e.groups.some(s=>s.type==="value-comma_group"),(e,s)=>s==="group"&&e.type==="value-value",(e,s)=>s==="group"&&e.type==="value-root",(e,s)=>s==="value"&&(e.type==="css-decl"&&!e.prop.startsWith("--")||e.type==="css-atrule"&&e.variable))}Re();function _f(t,e,s){let r=[];return t.each(()=>{let{node:n,previous:i}=t;if((i==null?void 0:i.type)==="css-comment"&&i.text.trim()==="prettier-ignore"?r.push(e.originalText.slice(R(n),I(n))):r.push(s()),t.isLast)return;let{next:o}=t;o.type==="css-comment"&&!Qt(e.originalText,R(o),{backwards:!0})&&!Oe(n)||o.type==="css-atrule"&&o.name==="else"&&n.type!=="css-comment"?r.push(" "):(r.push(e.__isHTMLStyleAttribute?N:_),jt(e.originalText,I(n))&&!Oe(n)&&r.push(_))},"nodes"),r}var Ie=_f;function Tf(t,e,s){var n,i,o,a,u,c;let{node:r}=t;switch(r.type){case"front-matter":return[r.raw,_];case"css-root":{let f=Ie(t,e,s),p=r.raws.after.trim();return p.startsWith(";")&&(p=p.slice(1).trim()),[r.frontMatter?[s("frontMatter"),_]:"",f,p?` ${p}`:"",r.nodes.length>0?_:""]}case"css-comment":{let f=r.inline||r.raws.inline,p=e.originalText.slice(R(r),I(r));return f?p.trimEnd():p}case"css-rule":return[s("selector"),r.important?" !important":"",r.nodes?[((n=r.selector)==null?void 0:n.type)==="selector-unknown"&&Pe(r.selector.value)?N:r.selector?" ":"","{",r.nodes.length>0?D([_,Ie(t,e,s)]):"",_,"}",Ai(r)?";":""]:";"];case"css-decl":{let f=t.parent,{between:p}=r.raws,l=p.trim(),g=l===":",x=typeof r.value=="string"&&/^ *$/.test(r.value),h=typeof r.value=="string"?r.value:s("value");return h=Mi(r)?jn(h):h,!g&&Pe(l)&&!((o=(i=r.value)==null?void 0:i.group)!=null&&o.group&&t.call(()=>Ss(t),"value","group","group"))&&(h=D([_,he(h)])),[S(!1,r.raws.before,/[\s;]/g,""),f.type==="css-atrule"&&f.variable||Ei(t)?r.prop:oe(r.prop),l.startsWith("//")?" ":"",l,r.extend||x?"":" ",e.parser==="less"&&r.extend&&r.selector?["extend(",s("selector"),")"]:"",h,r.raws.important?r.raws.important.replace(/\s*!\s*important/i," !important"):r.important?" !important":"",r.raws.scssDefault?r.raws.scssDefault.replace(/\s*!default/i," !default"):r.scssDefault?" !default":"",r.raws.scssGlobal?r.raws.scssGlobal.replace(/\s*!global/i," !global"):r.scssGlobal?" !global":"",r.nodes?[" {",D([B,Ie(t,e,s)]),B,"}"]:Di(r)&&!f.raws.semicolon&&e.originalText[I(r)-1]!==";"?"":e.__isHTMLStyleAttribute&&Bt(t,r)?Mt(";"):";"]}case"css-atrule":{let f=t.parent,p=gs(r)&&!f.raws.semicolon&&e.originalText[I(r)-1]!==";";if(e.parser==="less"){if(r.mixin)return[s("selector"),r.important?" !important":"",p?"":";"];if(r.function)return[r.name,typeof r.params=="string"?r.params:s("params"),p?"":";"];if(r.variable)return["@",r.name,": ",r.value?s("value"):"",r.raws.between.trim()?r.raws.between.trim()+" ":"",r.nodes?["{",D([r.nodes.length>0?B:"",Ie(t,e,s)]),B,"}"]:"",p?"":";"]}let l=r.name==="import"&&((a=r.params)==null?void 0:a.type)==="value-unknown"&&r.params.value.endsWith(";");return["@",ys(r)||r.name.endsWith(":")?r.name:oe(r.name),r.params?[ys(r)?"":gs(r)?r.raws.afterName===""?"":r.name.endsWith(":")?" ":/^\s*\n\s*\n/.test(r.raws.afterName)?[_,_]:/^\s*\n/.test(r.raws.afterName)?_:" ":" ",typeof r.params=="string"?r.params:s("params")]:"",r.selector?D([" ",s("selector")]):"",r.value?L([" ",s("value"),ot(r,e)?Bi(r)?" ":N:""]):r.name==="else"?" ":"",r.nodes?[ot(r,e)?"":r.selector&&!r.selector.nodes&&typeof r.selector.value=="string"&&Pe(r.selector.value)||!r.selector&&typeof r.params=="string"&&Pe(r.params)?N:" ","{",D([r.nodes.length>0?B:"",Ie(t,e,s)]),B,"}"]:p||l?"":";"]}case"media-query-list":{let f=[];return t.each(({node:p})=>{p.type==="media-query"&&p.value===""||f.push(s())},"nodes"),L(D(G(N,f)))}case"media-query":return[G(" ",t.map(s,"nodes")),Bt(t,r)?"":","];case"media-type":return ge(V(r.value,e));case"media-feature-expression":return r.nodes?["(",...t.map(s,"nodes"),")"]:r.value;case"media-feature":return oe(V(S(!1,r.value,/ +/g," "),e));case"media-colon":return[r.value," "];case"media-value":return ge(V(r.value,e));case"media-keyword":return V(r.value,e);case"media-url":return V(S(!1,S(!1,r.value,/^url\(\s+/gi,"url("),/\s+\)$/g,")"),e);case"media-unknown":return r.value;case"selector-root":return L([Ne(t,"custom-selector")?[t.findAncestor(f=>f.type==="css-atrule").customSelector,N]:"",G([",",Ne(t,["extend","custom-selector","nest"])?N:_],t.map(s,"nodes"))]);case"selector-selector":return L(D(t.map(s,"nodes")));case"selector-comment":return r.value;case"selector-string":return V(r.value,e);case"selector-tag":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",((u=t.previous)==null?void 0:u.type)==="selector-nesting"?r.value:ge(Ti(t,r.value)?r.value.toLowerCase():r.value)];case"selector-id":return["#",r.value];case"selector-class":return[".",ge(V(r.value,e))];case"selector-attribute":return["[",r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.attribute.trim(),r.operator??"",r.value?Ji(V(r.value.trim(),e),e):"",r.insensitive?" i":"","]"];case"selector-combinator":{if(r.value==="+"||r.value===">"||r.value==="~"||r.value===">>>"){let l=t.parent;return[l.type==="selector-selector"&&l.nodes[0]===r?"":N,r.value,Bt(t,r)?"":" "]}let f=r.value.trim().startsWith("(")?N:"",p=ge(V(r.value.trim(),e))||N;return[f,p]}case"selector-universal":return[r.namespace?[r.namespace===!0?"":r.namespace.trim(),"|"]:"",r.value];case"selector-pseudo":return[oe(r.value),se(r.nodes)?L(["(",D([B,G([",",N],t.map(s,"nodes"))]),B,")"]):""];case"selector-nesting":return r.value;case"selector-unknown":{let f=t.findAncestor(g=>g.type==="css-rule");if(f!=null&&f.isSCSSNesterProperty)return ge(V(oe(r.value),e));let p=t.parent;if((c=p.raws)!=null&&c.selector){let g=R(p),x=g+p.raws.selector.length;return e.originalText.slice(g,x).trim()}let l=t.grandparent;if(p.type==="value-paren_group"&&(l==null?void 0:l.type)==="value-func"&&l.value==="selector"){let g=I(p.open)+1,x=R(p.close),h=e.originalText.slice(g,x).trim();return Pe(h)?[tt,h]:h}return r.value}case"value-value":case"value-root":return s("group");case"value-comment":return e.originalText.slice(R(r),I(r));case"value-comma_group":return Zi(t,e,s);case"value-paren_group":return ro(t,e,s);case"value-func":return[r.value,Ne(t,"supports")&&$i(r)?" ":"",s("group")];case"value-paren":return r.value;case"value-number":return[Es(r.value),Qi(r.unit)];case"value-operator":return r.value;case"value-word":return r.isColor&&r.isHex||_i(r.value)?r.value.toLowerCase():r.value;case"value-colon":{let{previous:f}=t;return[r.value,typeof(f==null?void 0:f.value)=="string"&&f.value.endsWith("\\")||Ae(t,"url")?"":N]}case"value-string":return qt(r.raws.quote+r.value+r.raws.quote,e);case"value-atword":return["@",r.value];case"value-unicode-range":return r.value;case"value-unknown":return r.value;case"value-comma":default:throw new Jn(r,"PostCSS")}}var Ef={print:Tf,embed:ri,insertPragma:wi,massageAstNode:Zn,getVisitorKeys:bi},so=Ef;var Cs=[{linguistLanguageId:50,name:"CSS",type:"markup",tmScope:"source.css",aceMode:"css",codemirrorMode:"css",codemirrorMimeType:"text/css",color:"#563d7c",extensions:[".css",".wxss"],parsers:["css"],vscodeLanguageIds:["css"]},{linguistLanguageId:262764437,name:"PostCSS",type:"markup",color:"#dc3a0c",tmScope:"source.postcss",group:"CSS",extensions:[".pcss",".postcss"],aceMode:"text",parsers:["css"],vscodeLanguageIds:["postcss"]},{linguistLanguageId:198,name:"Less",type:"markup",color:"#1d365d",aliases:["less-css"],extensions:[".less"],tmScope:"source.css.less",aceMode:"less",codemirrorMode:"css",codemirrorMimeType:"text/css",parsers:["less"],vscodeLanguageIds:["less"]},{linguistLanguageId:329,name:"SCSS",type:"markup",color:"#c6538c",tmScope:"source.css.scss",aceMode:"scss",codemirrorMode:"css",codemirrorMimeType:"text/x-scss",extensions:[".scss"],parsers:["scss"],vscodeLanguageIds:["scss"]}];var no={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}};var Sf={singleQuote:no.singleQuote},Os=Sf;var gc={postcss:so},wc=Wn([{importParsers:()=>Promise.resolve().then(()=>(yc(),mc)),parserNames:["css","less","scss"]}]);return Tc(ww);});