@alignui/cli 0.0.7 → 0.0.8

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 (54) hide show
  1. package/dist/acorn-EYV4PDMH.js +16 -0
  2. package/dist/acorn-EYV4PDMH.js.map +1 -0
  3. package/dist/angular-TC473YFC.js +3 -0
  4. package/dist/angular-TC473YFC.js.map +1 -0
  5. package/dist/babel-LEKTDS7L.js +16 -0
  6. package/dist/babel-LEKTDS7L.js.map +1 -0
  7. package/dist/estree-PSOZDKNG.js +37 -0
  8. package/dist/estree-PSOZDKNG.js.map +1 -0
  9. package/dist/flow-SLL5ZRPZ.js +20 -0
  10. package/dist/flow-SLL5ZRPZ.js.map +1 -0
  11. package/dist/glimmer-N45MS77V.js +30 -0
  12. package/dist/glimmer-N45MS77V.js.map +1 -0
  13. package/dist/{graphql-T4H7YJOH.js → graphql-QTATSPDP.js} +13 -13
  14. package/dist/graphql-QTATSPDP.js.map +1 -0
  15. package/dist/html-KSAWNJSD.js +24 -0
  16. package/dist/html-KSAWNJSD.js.map +1 -0
  17. package/dist/index.js +116 -103
  18. package/dist/index.js.map +1 -1
  19. package/dist/markdown-NMF2LIIF.js +64 -0
  20. package/dist/markdown-NMF2LIIF.js.map +1 -0
  21. package/dist/meriyah-GGIQ265B.js +5 -0
  22. package/dist/meriyah-GGIQ265B.js.map +1 -0
  23. package/dist/postcss-LEYOLHZE.js +55 -0
  24. package/dist/postcss-LEYOLHZE.js.map +1 -0
  25. package/dist/typescript-UFTL2RQ6.js +21 -0
  26. package/dist/typescript-UFTL2RQ6.js.map +1 -0
  27. package/dist/yaml-FHI3PI2W.js +161 -0
  28. package/dist/yaml-FHI3PI2W.js.map +1 -0
  29. package/package.json +1 -1
  30. package/dist/acorn-6WD555LV.js +0 -16
  31. package/dist/acorn-6WD555LV.js.map +0 -1
  32. package/dist/angular-FB6XRNTO.js +0 -2
  33. package/dist/angular-FB6XRNTO.js.map +0 -1
  34. package/dist/babel-TBSVEBBW.js +0 -16
  35. package/dist/babel-TBSVEBBW.js.map +0 -1
  36. package/dist/estree-5SEZL7TU.js +0 -37
  37. package/dist/estree-5SEZL7TU.js.map +0 -1
  38. package/dist/flow-NFXK7JF7.js +0 -20
  39. package/dist/flow-NFXK7JF7.js.map +0 -1
  40. package/dist/glimmer-G2NSKFGE.js +0 -31
  41. package/dist/glimmer-G2NSKFGE.js.map +0 -1
  42. package/dist/graphql-T4H7YJOH.js.map +0 -1
  43. package/dist/html-XLFMJAO7.js +0 -24
  44. package/dist/html-XLFMJAO7.js.map +0 -1
  45. package/dist/markdown-NVP463HS.js +0 -63
  46. package/dist/markdown-NVP463HS.js.map +0 -1
  47. package/dist/meriyah-EU4YCQJJ.js +0 -5
  48. package/dist/meriyah-EU4YCQJJ.js.map +0 -1
  49. package/dist/postcss-FTEKMW3I.js +0 -53
  50. package/dist/postcss-FTEKMW3I.js.map +0 -1
  51. package/dist/typescript-2E2VSDEC.js +0 -21
  52. package/dist/typescript-2E2VSDEC.js.map +0 -1
  53. package/dist/yaml-QCH4GKYQ.js +0 -162
  54. package/dist/yaml-QCH4GKYQ.js.map +0 -1
@@ -1,53 +0,0 @@
1
- import"./chunk-4C666HHU.js";var Kr=Object.create,dt=Object.defineProperty,Yr=Object.getOwnPropertyDescriptor,Zr=Object.getOwnPropertyNames,Xr=Object.getPrototypeOf,es=Object.prototype.hasOwnProperty,E=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),Ht=(e,r)=>{for(var o in r)dt(e,o,{get:r[o],enumerable:!0})},ts=(e,r,o,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let l of Zr(r))!es.call(e,l)&&l!==o&&dt(e,l,{get:()=>r[l],enumerable:!(i=Yr(r,l))||i.enumerable});return e},xe=(e,r,o)=>(o=e!=null?Kr(Xr(e)):{},ts(r||!e||!e.__esModule?dt(o,"default",{value:e,enumerable:!0}):o,e)),mt=E((e,r)=>{"use strict";r.exports.isClean=Symbol("isClean"),r.exports.my=Symbol("my")}),rs=E((e,r)=>{var o=String,i=function(){return{isColorSupported:!1,reset:o,bold:o,dim:o,italic:o,underline:o,inverse:o,hidden:o,strikethrough:o,black:o,red:o,green:o,yellow:o,blue:o,magenta:o,cyan:o,white:o,gray:o,bgBlack:o,bgRed:o,bgGreen:o,bgYellow:o,bgBlue:o,bgMagenta:o,bgCyan:o,bgWhite:o}};r.exports=i(),r.exports.createColors=i}),Jt=E(()=>{}),vt=E((e,r)=>{"use strict";var o=rs(),i=Jt(),l=class Qt extends Error{constructor(c,u,m,n,s,t){super(c),this.name="CssSyntaxError",this.reason=c,s&&(this.file=s),n&&(this.source=n),t&&(this.plugin=t),typeof u<"u"&&typeof m<"u"&&(typeof u=="number"?(this.line=u,this.column=m):(this.line=u.line,this.column=u.column,this.endLine=m.line,this.endColumn=m.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,Qt)}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(c){if(!this.source)return"";let u=this.source;c==null&&(c=o.isColorSupported),i&&c&&(u=i(u));let m=u.split(/\r?\n/),n=Math.max(this.line-3,0),s=Math.min(this.line+2,m.length),t=String(s).length,f,h;if(c){let{bold:d,gray:p,red:g}=o.createColors(!0);f=y=>d(g(y)),h=y=>p(y)}else f=h=d=>d;return m.slice(n,s).map((d,p)=>{let g=n+1+p,y=" "+(" "+g).slice(-t)+" | ";if(g===this.line){let v=h(y.replace(/\d/g," "))+d.slice(0,this.column-1).replace(/[^\t]/g," ");return f(">")+h(y)+d+`
2
- `+v+f("^")}return" "+h(y)+d}).join(`
3
- `)}toString(){let c=this.showSourceCode();return c&&(c=`
4
-
5
- `+c+`
6
- `),this.name+": "+this.message+c}};r.exports=l,l.default=l}),yt=E((e,r)=>{"use strict";var o={after:`
7
- `,beforeClose:`
8
- `,beforeComment:`
9
- `,beforeDecl:`
10
- `,beforeOpen:" ",beforeRule:`
11
- `,colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};function i(a){return a[0].toUpperCase()+a.slice(1)}var l=class{constructor(a){this.builder=a}atrule(a,c){let u="@"+a.name,m=a.params?this.rawValue(a,"params"):"";if(typeof a.raws.afterName<"u"?u+=a.raws.afterName:m&&(u+=" "),a.nodes)this.block(a,u+m);else{let n=(a.raws.between||"")+(c?";":"");this.builder(u+m+n,a)}}beforeAfter(a,c){let u;a.type==="decl"?u=this.raw(a,null,"beforeDecl"):a.type==="comment"?u=this.raw(a,null,"beforeComment"):c==="before"?u=this.raw(a,null,"beforeRule"):u=this.raw(a,null,"beforeClose");let m=a.parent,n=0;for(;m&&m.type!=="root";)n+=1,m=m.parent;if(u.includes(`
12
- `)){let s=this.raw(a,null,"indent");if(s.length)for(let t=0;t<n;t++)u+=s}return u}block(a,c){let u=this.raw(a,"between","beforeOpen");this.builder(c+u+"{",a,"start");let m;a.nodes&&a.nodes.length?(this.body(a),m=this.raw(a,"after")):m=this.raw(a,"after","emptyBody"),m&&this.builder(m),this.builder("}",a,"end")}body(a){let c=a.nodes.length-1;for(;c>0&&a.nodes[c].type==="comment";)c-=1;let u=this.raw(a,"semicolon");for(let m=0;m<a.nodes.length;m++){let n=a.nodes[m],s=this.raw(n,"before");s&&this.builder(s),this.stringify(n,c!==m||u)}}comment(a){let c=this.raw(a,"left","commentLeft"),u=this.raw(a,"right","commentRight");this.builder("/*"+c+a.text+u+"*/",a)}decl(a,c){let u=this.raw(a,"between","colon"),m=a.prop+u+this.rawValue(a,"value");a.important&&(m+=a.raws.important||" !important"),c&&(m+=";"),this.builder(m,a)}document(a){this.body(a)}raw(a,c,u){let m;if(u||(u=c),c&&(m=a.raws[c],typeof m<"u"))return m;let n=a.parent;if(u==="before"&&(!n||n.type==="root"&&n.first===a||n&&n.type==="document"))return"";if(!n)return o[u];let s=a.root();if(s.rawCache||(s.rawCache={}),typeof s.rawCache[u]<"u")return s.rawCache[u];if(u==="before"||u==="after")return this.beforeAfter(a,u);{let t="raw"+i(u);this[t]?m=this[t](s,a):s.walk(f=>{if(m=f.raws[c],typeof m<"u")return!1})}return typeof m>"u"&&(m=o[u]),s.rawCache[u]=m,m}rawBeforeClose(a){let c;return a.walk(u=>{if(u.nodes&&u.nodes.length>0&&typeof u.raws.after<"u")return c=u.raws.after,c.includes(`
13
- `)&&(c=c.replace(/[^\n]+$/,"")),!1}),c&&(c=c.replace(/\S/g,"")),c}rawBeforeComment(a,c){let u;return a.walkComments(m=>{if(typeof m.raws.before<"u")return u=m.raws.before,u.includes(`
14
- `)&&(u=u.replace(/[^\n]+$/,"")),!1}),typeof u>"u"?u=this.raw(c,null,"beforeDecl"):u&&(u=u.replace(/\S/g,"")),u}rawBeforeDecl(a,c){let u;return a.walkDecls(m=>{if(typeof m.raws.before<"u")return u=m.raws.before,u.includes(`
15
- `)&&(u=u.replace(/[^\n]+$/,"")),!1}),typeof u>"u"?u=this.raw(c,null,"beforeRule"):u&&(u=u.replace(/\S/g,"")),u}rawBeforeOpen(a){let c;return a.walk(u=>{if(u.type!=="decl"&&(c=u.raws.between,typeof c<"u"))return!1}),c}rawBeforeRule(a){let c;return a.walk(u=>{if(u.nodes&&(u.parent!==a||a.first!==u)&&typeof u.raws.before<"u")return c=u.raws.before,c.includes(`
16
- `)&&(c=c.replace(/[^\n]+$/,"")),!1}),c&&(c=c.replace(/\S/g,"")),c}rawColon(a){let c;return a.walkDecls(u=>{if(typeof u.raws.between<"u")return c=u.raws.between.replace(/[^\s:]/g,""),!1}),c}rawEmptyBody(a){let c;return a.walk(u=>{if(u.nodes&&u.nodes.length===0&&(c=u.raws.after,typeof c<"u"))return!1}),c}rawIndent(a){if(a.raws.indent)return a.raws.indent;let c;return a.walk(u=>{let m=u.parent;if(m&&m!==a&&m.parent&&m.parent===a&&typeof u.raws.before<"u"){let n=u.raws.before.split(`
17
- `);return c=n[n.length-1],c=c.replace(/\S/g,""),!1}}),c}rawSemicolon(a){let c;return a.walk(u=>{if(u.nodes&&u.nodes.length&&u.last.type==="decl"&&(c=u.raws.semicolon,typeof c<"u"))return!1}),c}rawValue(a,c){let u=a[c],m=a.raws[c];return m&&m.value===u?m.raw:u}root(a){this.body(a),a.raws.after&&this.builder(a.raws.after)}rule(a){this.block(a,this.rawValue(a,"selector")),a.raws.ownSemicolon&&this.builder(a.raws.ownSemicolon,a,"end")}stringify(a,c){if(!this[a.type])throw new Error("Unknown AST node type "+a.type+". Maybe you need to change PostCSS stringifier.");this[a.type](a,c)}};r.exports=l,l.default=l}),Ke=E((e,r)=>{"use strict";var o=yt();function i(l,a){new o(a).stringify(l)}r.exports=i,i.default=i}),Ye=E((e,r)=>{"use strict";var{isClean:o,my:i}=mt(),l=vt(),a=yt(),c=Ke();function u(n,s){let t=new n.constructor;for(let f in n){if(!Object.prototype.hasOwnProperty.call(n,f)||f==="proxyCache")continue;let h=n[f],d=typeof h;f==="parent"&&d==="object"?s&&(t[f]=s):f==="source"?t[f]=h:Array.isArray(h)?t[f]=h.map(p=>u(p,t)):(d==="object"&&h!==null&&(h=u(h)),t[f]=h)}return t}var m=class{constructor(n={}){this.raws={},this[o]=!1,this[i]=!0;for(let s in n)if(s==="nodes"){this.nodes=[];for(let t of n[s])typeof t.clone=="function"?this.append(t.clone()):this.append(t)}else this[s]=n[s]}addToError(n){if(n.postcssNode=this,n.stack&&this.source&&/\n\s{4}at /.test(n.stack)){let s=this.source;n.stack=n.stack.replace(/\n\s{4}at /,`$&${s.input.from}:${s.start.line}:${s.start.column}$&`)}return n}after(n){return this.parent.insertAfter(this,n),this}assign(n={}){for(let s in n)this[s]=n[s];return this}before(n){return this.parent.insertBefore(this,n),this}cleanRaws(n){delete this.raws.before,delete this.raws.after,n||delete this.raws.between}clone(n={}){let s=u(this);for(let t in n)s[t]=n[t];return s}cloneAfter(n={}){let s=this.clone(n);return this.parent.insertAfter(this,s),s}cloneBefore(n={}){let s=this.clone(n);return this.parent.insertBefore(this,s),s}error(n,s={}){if(this.source){let{end:t,start:f}=this.rangeBy(s);return this.source.input.error(n,{column:f.column,line:f.line},{column:t.column,line:t.line},s)}return new l(n)}getProxyProcessor(){return{get(n,s){return s==="proxyOf"?n:s==="root"?()=>n.root().toProxy():n[s]},set(n,s,t){return n[s]===t||(n[s]=t,(s==="prop"||s==="value"||s==="name"||s==="params"||s==="important"||s==="text")&&n.markDirty()),!0}}}markDirty(){if(this[o]){this[o]=!1;let n=this;for(;n=n.parent;)n[o]=!1}}next(){if(!this.parent)return;let n=this.parent.index(this);return this.parent.nodes[n+1]}positionBy(n,s){let t=this.source.start;if(n.index)t=this.positionInside(n.index,s);else if(n.word){s=this.toString();let f=s.indexOf(n.word);f!==-1&&(t=this.positionInside(f,s))}return t}positionInside(n,s){let t=s||this.toString(),f=this.source.start.column,h=this.source.start.line;for(let d=0;d<n;d++)t[d]===`
18
- `?(f=1,h+=1):f+=1;return{column:f,line:h}}prev(){if(!this.parent)return;let n=this.parent.index(this);return this.parent.nodes[n-1]}rangeBy(n){let s={column:this.source.start.column,line:this.source.start.line},t=this.source.end?{column:this.source.end.column+1,line:this.source.end.line}:{column:s.column+1,line:s.line};if(n.word){let f=this.toString(),h=f.indexOf(n.word);h!==-1&&(s=this.positionInside(h,f),t=this.positionInside(h+n.word.length,f))}else n.start?s={column:n.start.column,line:n.start.line}:n.index&&(s=this.positionInside(n.index)),n.end?t={column:n.end.column,line:n.end.line}:typeof n.endIndex=="number"?t=this.positionInside(n.endIndex):n.index&&(t=this.positionInside(n.index+1));return(t.line<s.line||t.line===s.line&&t.column<=s.column)&&(t={column:s.column+1,line:s.line}),{end:t,start:s}}raw(n,s){return new a().raw(this,n,s)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}replaceWith(...n){if(this.parent){let s=this,t=!1;for(let f of n)f===this?t=!0:t?(this.parent.insertAfter(s,f),s=f):this.parent.insertBefore(s,f);t||this.remove()}return this}root(){let n=this;for(;n.parent&&n.parent.type!=="document";)n=n.parent;return n}toJSON(n,s){let t={},f=s==null;s=s||new Map;let h=0;for(let d in this){if(!Object.prototype.hasOwnProperty.call(this,d)||d==="parent"||d==="proxyCache")continue;let p=this[d];if(Array.isArray(p))t[d]=p.map(g=>typeof g=="object"&&g.toJSON?g.toJSON(null,s):g);else if(typeof p=="object"&&p.toJSON)t[d]=p.toJSON(null,s);else if(d==="source"){let g=s.get(p.input);g==null&&(g=h,s.set(p.input,h),h++),t[d]={end:p.end,inputId:g,start:p.start}}else t[d]=p}return f&&(t.inputs=[...s.keys()].map(d=>d.toJSON())),t}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(n=c){n.stringify&&(n=n.stringify);let s="";return n(this,t=>{s+=t}),s}warn(n,s,t){let f={node:this};for(let h in t)f[h]=t[h];return n.warn(s,f)}get proxyOf(){return this}};r.exports=m,m.default=m}),Ze=E((e,r)=>{"use strict";var o=Ye(),i=class extends o{constructor(l){l&&typeof l.value<"u"&&typeof l.value!="string"&&(l={...l,value:String(l.value)}),super(l),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};r.exports=i,i.default=i}),Pe=E((e,r)=>{"use strict";var o=Ye(),i=class extends o{constructor(l){super(l),this.type="comment"}};r.exports=i,i.default=i}),pe=E((e,r)=>{"use strict";var{isClean:o,my:i}=mt(),l=Ze(),a=Pe(),c=Ye(),u,m,n,s;function t(d){return d.map(p=>(p.nodes&&(p.nodes=t(p.nodes)),delete p.source,p))}function f(d){if(d[o]=!1,d.proxyOf.nodes)for(let p of d.proxyOf.nodes)f(p)}var h=class Kt extends c{append(...p){for(let g of p){let y=this.normalize(g,this.last);for(let v of y)this.proxyOf.nodes.push(v)}return this.markDirty(),this}cleanRaws(p){if(super.cleanRaws(p),this.nodes)for(let g of this.nodes)g.cleanRaws(p)}each(p){if(!this.proxyOf.nodes)return;let g=this.getIterator(),y,v;for(;this.indexes[g]<this.proxyOf.nodes.length&&(y=this.indexes[g],v=p(this.proxyOf.nodes[y],y),v!==!1);)this.indexes[g]+=1;return delete this.indexes[g],v}every(p){return this.nodes.every(p)}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let p=this.lastEach;return this.indexes[p]=0,p}getProxyProcessor(){return{get(p,g){return g==="proxyOf"?p:p[g]?g==="each"||typeof g=="string"&&g.startsWith("walk")?(...y)=>p[g](...y.map(v=>typeof v=="function"?(w,x)=>v(w.toProxy(),x):v)):g==="every"||g==="some"?y=>p[g]((v,...w)=>y(v.toProxy(),...w)):g==="root"?()=>p.root().toProxy():g==="nodes"?p.nodes.map(y=>y.toProxy()):g==="first"||g==="last"?p[g].toProxy():p[g]:p[g]},set(p,g,y){return p[g]===y||(p[g]=y,(g==="name"||g==="params"||g==="selector")&&p.markDirty()),!0}}}index(p){return typeof p=="number"?p:(p.proxyOf&&(p=p.proxyOf),this.proxyOf.nodes.indexOf(p))}insertAfter(p,g){let y=this.index(p),v=this.normalize(g,this.proxyOf.nodes[y]).reverse();y=this.index(p);for(let x of v)this.proxyOf.nodes.splice(y+1,0,x);let w;for(let x in this.indexes)w=this.indexes[x],y<w&&(this.indexes[x]=w+v.length);return this.markDirty(),this}insertBefore(p,g){let y=this.index(p),v=y===0?"prepend":!1,w=this.normalize(g,this.proxyOf.nodes[y],v).reverse();y=this.index(p);for(let b of w)this.proxyOf.nodes.splice(y,0,b);let x;for(let b in this.indexes)x=this.indexes[b],y<=x&&(this.indexes[b]=x+w.length);return this.markDirty(),this}normalize(p,g){if(typeof p=="string")p=t(u(p).nodes);else if(typeof p>"u")p=[];else if(Array.isArray(p)){p=p.slice(0);for(let y of p)y.parent&&y.parent.removeChild(y,"ignore")}else if(p.type==="root"&&this.type!=="document"){p=p.nodes.slice(0);for(let y of p)y.parent&&y.parent.removeChild(y,"ignore")}else if(p.type)p=[p];else if(p.prop){if(typeof p.value>"u")throw new Error("Value field is missed in node creation");typeof p.value!="string"&&(p.value=String(p.value)),p=[new l(p)]}else if(p.selector)p=[new m(p)];else if(p.name)p=[new n(p)];else if(p.text)p=[new a(p)];else throw new Error("Unknown node type in node creation");return p.map(y=>(y[i]||Kt.rebuild(y),y=y.proxyOf,y.parent&&y.parent.removeChild(y),y[o]&&f(y),typeof y.raws.before>"u"&&g&&typeof g.raws.before<"u"&&(y.raws.before=g.raws.before.replace(/\S/g,"")),y.parent=this.proxyOf,y))}prepend(...p){p=p.reverse();for(let g of p){let y=this.normalize(g,this.first,"prepend").reverse();for(let v of y)this.proxyOf.nodes.unshift(v);for(let v in this.indexes)this.indexes[v]=this.indexes[v]+y.length}return this.markDirty(),this}push(p){return p.parent=this,this.proxyOf.nodes.push(p),this}removeAll(){for(let p of this.proxyOf.nodes)p.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(p){p=this.index(p),this.proxyOf.nodes[p].parent=void 0,this.proxyOf.nodes.splice(p,1);let g;for(let y in this.indexes)g=this.indexes[y],g>=p&&(this.indexes[y]=g-1);return this.markDirty(),this}replaceValues(p,g,y){return y||(y=g,g={}),this.walkDecls(v=>{g.props&&!g.props.includes(v.prop)||g.fast&&!v.value.includes(g.fast)||(v.value=v.value.replace(p,y))}),this.markDirty(),this}some(p){return this.nodes.some(p)}walk(p){return this.each((g,y)=>{let v;try{v=p(g,y)}catch(w){throw g.addToError(w)}return v!==!1&&g.walk&&(v=g.walk(p)),v})}walkAtRules(p,g){return g?p instanceof RegExp?this.walk((y,v)=>{if(y.type==="atrule"&&p.test(y.name))return g(y,v)}):this.walk((y,v)=>{if(y.type==="atrule"&&y.name===p)return g(y,v)}):(g=p,this.walk((y,v)=>{if(y.type==="atrule")return g(y,v)}))}walkComments(p){return this.walk((g,y)=>{if(g.type==="comment")return p(g,y)})}walkDecls(p,g){return g?p instanceof RegExp?this.walk((y,v)=>{if(y.type==="decl"&&p.test(y.prop))return g(y,v)}):this.walk((y,v)=>{if(y.type==="decl"&&y.prop===p)return g(y,v)}):(g=p,this.walk((y,v)=>{if(y.type==="decl")return g(y,v)}))}walkRules(p,g){return g?p instanceof RegExp?this.walk((y,v)=>{if(y.type==="rule"&&p.test(y.selector))return g(y,v)}):this.walk((y,v)=>{if(y.type==="rule"&&y.selector===p)return g(y,v)}):(g=p,this.walk((y,v)=>{if(y.type==="rule")return g(y,v)}))}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]}};h.registerParse=d=>{u=d},h.registerRule=d=>{m=d},h.registerAtRule=d=>{n=d},h.registerRoot=d=>{s=d},r.exports=h,h.default=h,h.rebuild=d=>{d.type==="atrule"?Object.setPrototypeOf(d,n.prototype):d.type==="rule"?Object.setPrototypeOf(d,m.prototype):d.type==="decl"?Object.setPrototypeOf(d,l.prototype):d.type==="comment"?Object.setPrototypeOf(d,a.prototype):d.type==="root"&&Object.setPrototypeOf(d,s.prototype),d[i]=!0,d.nodes&&d.nodes.forEach(p=>{h.rebuild(p)})}}),gt=E((e,r)=>{"use strict";var o=/[\t\n\f\r "#'()/;[\\\]{}]/g,i=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,l=/.[\r\n"'(/\\]/,a=/[\da-f]/i;r.exports=function(c,u={}){let m=c.css.valueOf(),n=u.ignoreErrors,s,t,f,h,d,p,g,y,v,w,x=m.length,b=0,S=[],k=[];function O(){return b}function C(M){throw c.error("Unclosed "+M,b)}function A(){return k.length===0&&b>=x}function P(M){if(k.length)return k.pop();if(b>=x)return;let R=M?M.ignoreUnclosed:!1;switch(s=m.charCodeAt(b),s){case 10:case 32:case 9:case 13:case 12:{t=b;do t+=1,s=m.charCodeAt(t);while(s===32||s===10||s===9||s===13||s===12);w=["space",m.slice(b,t)],b=t-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let $=String.fromCharCode(s);w=[$,$,b];break}case 40:{if(y=S.length?S.pop()[1]:"",v=m.charCodeAt(b+1),y==="url"&&v!==39&&v!==34&&v!==32&&v!==10&&v!==9&&v!==12&&v!==13){t=b;do{if(p=!1,t=m.indexOf(")",t+1),t===-1)if(n||R){t=b;break}else C("bracket");for(g=t;m.charCodeAt(g-1)===92;)g-=1,p=!p}while(p);w=["brackets",m.slice(b,t+1),b,t],b=t}else t=m.indexOf(")",b+1),h=m.slice(b,t+1),t===-1||l.test(h)?w=["(","(",b]:(w=["brackets",h,b,t],b=t);break}case 39:case 34:{f=s===39?"'":'"',t=b;do{if(p=!1,t=m.indexOf(f,t+1),t===-1)if(n||R){t=b+1;break}else C("string");for(g=t;m.charCodeAt(g-1)===92;)g-=1,p=!p}while(p);w=["string",m.slice(b,t+1),b,t],b=t;break}case 64:{o.lastIndex=b+1,o.test(m),o.lastIndex===0?t=m.length-1:t=o.lastIndex-2,w=["at-word",m.slice(b,t+1),b,t],b=t;break}case 92:{for(t=b,d=!0;m.charCodeAt(t+1)===92;)t+=1,d=!d;if(s=m.charCodeAt(t+1),d&&s!==47&&s!==32&&s!==10&&s!==9&&s!==13&&s!==12&&(t+=1,a.test(m.charAt(t)))){for(;a.test(m.charAt(t+1));)t+=1;m.charCodeAt(t+1)===32&&(t+=1)}w=["word",m.slice(b,t+1),b,t],b=t;break}default:{s===47&&m.charCodeAt(b+1)===42?(t=m.indexOf("*/",b+2)+1,t===0&&(n||R?t=m.length:C("comment")),w=["comment",m.slice(b,t+1),b,t],b=t):(i.lastIndex=b+1,i.test(m),i.lastIndex===0?t=m.length-1:t=i.lastIndex-2,w=["word",m.slice(b,t+1),b,t],S.push(w),b=t);break}}return b++,w}function N(M){k.push(M)}return{back:N,endOfFile:A,nextToken:P,position:O}}}),wt=E((e,r)=>{"use strict";var o=pe(),i=class extends o{constructor(l){super(l),this.type="atrule"}append(...l){return this.proxyOf.nodes||(this.nodes=[]),super.append(...l)}prepend(...l){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...l)}};r.exports=i,i.default=i,o.registerAtRule(i)}),$e=E((e,r)=>{"use strict";var o=pe(),i,l,a=class extends o{constructor(c){super(c),this.type="root",this.nodes||(this.nodes=[])}normalize(c,u,m){let n=super.normalize(c);if(u){if(m==="prepend")this.nodes.length>1?u.raws.before=this.nodes[1].raws.before:delete u.raws.before;else if(this.first!==u)for(let s of n)s.raws.before=u.raws.before}return n}removeChild(c,u){let m=this.index(c);return!u&&m===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[m].raws.before),super.removeChild(c)}toResult(c={}){return new i(new l,this,c).stringify()}};a.registerLazyResult=c=>{i=c},a.registerProcessor=c=>{l=c},r.exports=a,a.default=a,o.registerRoot(a)}),Yt=E((e,r)=>{"use strict";var o={comma(i){return o.split(i,[","],!0)},space(i){let l=[" ",`
19
- `," "];return o.split(i,l)},split(i,l,a){let c=[],u="",m=!1,n=0,s=!1,t="",f=!1;for(let h of i)f?f=!1:h==="\\"?f=!0:s?h===t&&(s=!1):h==='"'||h==="'"?(s=!0,t=h):h==="("?n+=1:h===")"?n>0&&(n-=1):n===0&&l.includes(h)&&(m=!0),m?(u!==""&&c.push(u.trim()),u="",m=!1):u+=h;return(a||u!=="")&&c.push(u.trim()),c}};r.exports=o,o.default=o}),bt=E((e,r)=>{"use strict";var o=pe(),i=Yt(),l=class extends o{constructor(a){super(a),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return i.comma(this.selector)}set selectors(a){let c=this.selector?this.selector.match(/,\s*/):null,u=c?c[0]:","+this.raw("between","beforeOpen");this.selector=a.join(u)}};r.exports=l,l.default=l,o.registerRule(l)}),xt=E((e,r)=>{"use strict";var o=Ze(),i=gt(),l=Pe(),a=wt(),c=$e(),u=bt(),m={empty:!0,space:!0};function n(t){for(let f=t.length-1;f>=0;f--){let h=t[f],d=h[3]||h[2];if(d)return d}}var s=class{constructor(t){this.input=t,this.root=new c,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{column:1,line:1,offset:0}}}atrule(t){let f=new a;f.name=t[1].slice(1),f.name===""&&this.unnamedAtrule(f,t),this.init(f,t[2]);let h,d,p,g=!1,y=!1,v=[],w=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),h=t[0],h==="("||h==="["?w.push(h==="("?")":"]"):h==="{"&&w.length>0?w.push("}"):h===w[w.length-1]&&w.pop(),w.length===0)if(h===";"){f.source.end=this.getPosition(t[2]),f.source.end.offset++,this.semicolon=!0;break}else if(h==="{"){y=!0;break}else if(h==="}"){if(v.length>0){for(p=v.length-1,d=v[p];d&&d[0]==="space";)d=v[--p];d&&(f.source.end=this.getPosition(d[3]||d[2]),f.source.end.offset++)}this.end(t);break}else v.push(t);else v.push(t);if(this.tokenizer.endOfFile()){g=!0;break}}f.raws.between=this.spacesAndCommentsFromEnd(v),v.length?(f.raws.afterName=this.spacesAndCommentsFromStart(v),this.raw(f,"params",v),g&&(t=v[v.length-1],f.source.end=this.getPosition(t[3]||t[2]),f.source.end.offset++,this.spaces=f.raws.between,f.raws.between="")):(f.raws.afterName="",f.params=""),y&&(f.nodes=[],this.current=f)}checkMissedSemicolon(t){let f=this.colon(t);if(f===!1)return;let h=0,d;for(let p=f-1;p>=0&&(d=t[p],!(d[0]!=="space"&&(h+=1,h===2)));p--);throw this.input.error("Missed semicolon",d[0]==="word"?d[3]+1:d[2])}colon(t){let f=0,h,d,p;for(let[g,y]of t.entries()){if(h=y,d=h[0],d==="("&&(f+=1),d===")"&&(f-=1),f===0&&d===":")if(!p)this.doubleColon(h);else{if(p[0]==="word"&&p[1]==="progid")continue;return g}p=h}return!1}comment(t){let f=new l;this.init(f,t[2]),f.source.end=this.getPosition(t[3]||t[2]),f.source.end.offset++;let h=t[1].slice(2,-2);if(/^\s*$/.test(h))f.text="",f.raws.left=h,f.raws.right="";else{let d=h.match(/^(\s*)([^]*\S)(\s*)$/);f.text=d[2],f.raws.left=d[1],f.raws.right=d[3]}}createTokenizer(){this.tokenizer=i(this.input)}decl(t,f){let h=new o;this.init(h,t[0][2]);let d=t[t.length-1];for(d[0]===";"&&(this.semicolon=!0,t.pop()),h.source.end=this.getPosition(d[3]||d[2]||n(t)),h.source.end.offset++;t[0][0]!=="word";)t.length===1&&this.unknownWord(t),h.raws.before+=t.shift()[1];for(h.source.start=this.getPosition(t[0][2]),h.prop="";t.length;){let v=t[0][0];if(v===":"||v==="space"||v==="comment")break;h.prop+=t.shift()[1]}h.raws.between="";let p;for(;t.length;)if(p=t.shift(),p[0]===":"){h.raws.between+=p[1];break}else p[0]==="word"&&/\w/.test(p[1])&&this.unknownWord([p]),h.raws.between+=p[1];(h.prop[0]==="_"||h.prop[0]==="*")&&(h.raws.before+=h.prop[0],h.prop=h.prop.slice(1));let g=[],y;for(;t.length&&(y=t[0][0],!(y!=="space"&&y!=="comment"));)g.push(t.shift());this.precheckMissedSemicolon(t);for(let v=t.length-1;v>=0;v--){if(p=t[v],p[1].toLowerCase()==="!important"){h.important=!0;let w=this.stringFrom(t,v);w=this.spacesFromEnd(t)+w,w!==" !important"&&(h.raws.important=w);break}else if(p[1].toLowerCase()==="important"){let w=t.slice(0),x="";for(let b=v;b>0;b--){let S=w[b][0];if(x.trim().indexOf("!")===0&&S!=="space")break;x=w.pop()[1]+x}x.trim().indexOf("!")===0&&(h.important=!0,h.raws.important=x,t=w)}if(p[0]!=="space"&&p[0]!=="comment")break}t.some(v=>v[0]!=="space"&&v[0]!=="comment")&&(h.raws.between+=g.map(v=>v[1]).join(""),g=[]),this.raw(h,"value",g.concat(t),f),h.value.includes(":")&&!f&&this.checkMissedSemicolon(t)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}emptyRule(t){let f=new u;this.init(f,t[2]),f.selector="",f.raws.between="",this.current=f}end(t){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(t[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(t)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(t){if(this.spaces+=t[1],this.current.nodes){let f=this.current.nodes[this.current.nodes.length-1];f&&f.type==="rule"&&!f.raws.ownSemicolon&&(f.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(t){let f=this.input.fromOffset(t);return{column:f.col,line:f.line,offset:t}}init(t,f){this.current.push(t),t.source={input:this.input,start:this.getPosition(f)},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}other(t){let f=!1,h=null,d=!1,p=null,g=[],y=t[1].startsWith("--"),v=[],w=t;for(;w;){if(h=w[0],v.push(w),h==="("||h==="[")p||(p=w),g.push(h==="("?")":"]");else if(y&&d&&h==="{")p||(p=w),g.push("}");else if(g.length===0)if(h===";")if(d){this.decl(v,y);return}else break;else if(h==="{"){this.rule(v);return}else if(h==="}"){this.tokenizer.back(v.pop()),f=!0;break}else h===":"&&(d=!0);else h===g[g.length-1]&&(g.pop(),g.length===0&&(p=null));w=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(f=!0),g.length>0&&this.unclosedBracket(p),f&&d){if(!y)for(;v.length&&(w=v[v.length-1][0],!(w!=="space"&&w!=="comment"));)this.tokenizer.back(v.pop());this.decl(v,y)}else this.unknownWord(v)}parse(){let t;for(;!this.tokenizer.endOfFile();)switch(t=this.tokenizer.nextToken(),t[0]){case"space":this.spaces+=t[1];break;case";":this.freeSemicolon(t);break;case"}":this.end(t);break;case"comment":this.comment(t);break;case"at-word":this.atrule(t);break;case"{":this.emptyRule(t);break;default:this.other(t);break}this.endFile()}precheckMissedSemicolon(){}raw(t,f,h,d){let p,g,y=h.length,v="",w=!0,x,b;for(let S=0;S<y;S+=1)p=h[S],g=p[0],g==="space"&&S===y-1&&!d?w=!1:g==="comment"?(b=h[S-1]?h[S-1][0]:"empty",x=h[S+1]?h[S+1][0]:"empty",!m[b]&&!m[x]?v.slice(-1)===","?w=!1:v+=p[1]:w=!1):v+=p[1];if(!w){let S=h.reduce((k,O)=>k+O[1],"");t.raws[f]={raw:S,value:v}}t[f]=v}rule(t){t.pop();let f=new u;this.init(f,t[0][2]),f.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(f,"selector",t),this.current=f}spacesAndCommentsFromEnd(t){let f,h="";for(;t.length&&(f=t[t.length-1][0],!(f!=="space"&&f!=="comment"));)h=t.pop()[1]+h;return h}spacesAndCommentsFromStart(t){let f,h="";for(;t.length&&(f=t[0][0],!(f!=="space"&&f!=="comment"));)h+=t.shift()[1];return h}spacesFromEnd(t){let f,h="";for(;t.length&&(f=t[t.length-1][0],f==="space");)h=t.pop()[1]+h;return h}stringFrom(t,f){let h="";for(let d=f;d<t.length;d++)h+=t[d][1];return t.splice(f,t.length-f),h}unclosedBlock(){let t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)}unclosedBracket(t){throw this.input.error("Unclosed bracket",{offset:t[2]},{offset:t[2]+1})}unexpectedClose(t){throw this.input.error("Unexpected }",{offset:t[2]},{offset:t[2]+1})}unknownWord(t){throw this.input.error("Unknown word",{offset:t[0][2]},{offset:t[0][2]+t[0][1].length})}unnamedAtrule(t,f){throw this.input.error("At-rule without name",{offset:f[2]},{offset:f[2]+f[1].length})}};r.exports=s}),ss=E(()=>{}),ns=E((e,r)=>{var o="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",i=(a,c=21)=>(u=c)=>{let m="",n=u;for(;n--;)m+=a[Math.random()*a.length|0];return m},l=(a=21)=>{let c="",u=a;for(;u--;)c+=o[Math.random()*64|0];return c};r.exports={nanoid:l,customAlphabet:i}}),Zt=E((e,r)=>{r.exports=class{}}),Me=E((e,r)=>{"use strict";var{SourceMapConsumer:o,SourceMapGenerator:i}=ss(),{fileURLToPath:l,pathToFileURL:a}={},{isAbsolute:c,resolve:u}={},{nanoid:m}=ns(),n=Jt(),s=vt(),t=Zt(),f=Symbol("fromOffsetCache"),h=!!(o&&i),d=!!(u&&c),p=class{constructor(g,y={}){if(g===null||typeof g>"u"||typeof g=="object"&&!g.toString)throw new Error(`PostCSS received ${g} instead of CSS string`);if(this.css=g.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,y.from&&(!d||/^\w+:\/\//.test(y.from)||c(y.from)?this.file=y.from:this.file=u(y.from)),d&&h){let v=new t(this.css,y);if(v.text){this.map=v;let w=v.consumer().file;!this.file&&w&&(this.file=this.mapResolve(w))}}this.file||(this.id="<input css "+m(6)+">"),this.map&&(this.map.file=this.from)}error(g,y,v,w={}){let x,b,S;if(y&&typeof y=="object"){let O=y,C=v;if(typeof O.offset=="number"){let A=this.fromOffset(O.offset);y=A.line,v=A.col}else y=O.line,v=O.column;if(typeof C.offset=="number"){let A=this.fromOffset(C.offset);b=A.line,S=A.col}else b=C.line,S=C.column}else if(!v){let O=this.fromOffset(y);y=O.line,v=O.col}let k=this.origin(y,v,b,S);return k?x=new s(g,k.endLine===void 0?k.line:{column:k.column,line:k.line},k.endLine===void 0?k.column:{column:k.endColumn,line:k.endLine},k.source,k.file,w.plugin):x=new s(g,b===void 0?y:{column:v,line:y},b===void 0?v:{column:S,line:b},this.css,this.file,w.plugin),x.input={column:v,endColumn:S,endLine:b,line:y,source:this.css},this.file&&(a&&(x.input.url=a(this.file).toString()),x.input.file=this.file),x}fromOffset(g){let y,v;if(this[f])v=this[f];else{let x=this.css.split(`
20
- `);v=new Array(x.length);let b=0;for(let S=0,k=x.length;S<k;S++)v[S]=b,b+=x[S].length+1;this[f]=v}y=v[v.length-1];let w=0;if(g>=y)w=v.length-1;else{let x=v.length-2,b;for(;w<x;)if(b=w+(x-w>>1),g<v[b])x=b-1;else if(g>=v[b+1])w=b+1;else{w=b;break}}return{col:g-v[w]+1,line:w+1}}mapResolve(g){return/^\w+:\/\//.test(g)?g:u(this.map.consumer().sourceRoot||this.map.root||".",g)}origin(g,y,v,w){if(!this.map)return!1;let x=this.map.consumer(),b=x.originalPositionFor({column:y,line:g});if(!b.source)return!1;let S;typeof v=="number"&&(S=x.originalPositionFor({column:w,line:v}));let k;c(b.source)?k=a(b.source):k=new URL(b.source,this.map.consumer().sourceRoot||a(this.map.mapFile));let O={column:b.column,endColumn:S&&S.column,endLine:S&&S.line,line:b.line,url:k.toString()};if(k.protocol==="file:")if(l)O.file=l(k);else throw new Error("file: protocol is not available in this PostCSS build");let C=x.sourceContentFor(b.source);return C&&(O.source=C),O}toJSON(){let g={};for(let y of["hasBOM","css","file","id"])this[y]!=null&&(g[y]=this[y]);return this.map&&(g.map={...this.map},g.map.consumerCache&&(g.map.consumerCache=void 0)),g}get from(){return this.file||this.id}};r.exports=p,p.default=p,n&&n.registerInput&&n.registerInput(p)}),Xe=E((e,r)=>{"use strict";var o=pe(),i=xt(),l=Me();function a(c,u){let m=new l(c,u),n=new i(m);try{n.parse()}catch(s){throw s}return n.root}r.exports=a,a.default=a,o.registerParse(a)}),os=E((e,r)=>{var o=gt(),i=Me();r.exports={isInlineComment(l){if(l[0]==="word"&&l[1].slice(0,2)==="//"){let a=l,c=[],u,m;for(;l;){if(/\r?\n/.test(l[1])){if(/['"].*\r?\n/.test(l[1])){c.push(l[1].substring(0,l[1].indexOf(`
21
- `))),m=l[1].substring(l[1].indexOf(`
22
- `));let s=this.input.css.valueOf().substring(this.tokenizer.position());m+=s,u=l[3]+s.length-m.length}else this.tokenizer.back(l);break}c.push(l[1]),u=l[2],l=this.tokenizer.nextToken({ignoreUnclosed:!0})}let n=["comment",c.join(""),a[2],u];return this.inlineComment(n),m&&(this.input=new i(m),this.tokenizer=o(this.input)),!0}else if(l[1]==="/"){let a=this.tokenizer.nextToken({ignoreUnclosed:!0});if(a[0]==="comment"&&/^\/\*/.test(a[1]))return a[0]="word",a[1]=a[1].slice(1),l[1]="//",this.tokenizer.back(a),r.exports.isInlineComment.bind(this)(l)}return!1}}}),is=E((e,r)=>{r.exports={interpolation(o){let i=[o,this.tokenizer.nextToken()],l=["word","}"];if(i[0][1].length>1||i[1][0]!=="{")return this.tokenizer.back(i[1]),!1;for(o=this.tokenizer.nextToken();o&&l.includes(o[0]);)i.push(o),o=this.tokenizer.nextToken();let a=i.map(n=>n[1]),[c]=i,u=i.pop(),m=["word",a.join(""),c[2],u[2]];return this.tokenizer.back(o),this.tokenizer.back(m),!0}}}),as=E((e,r)=>{var o=/^#[0-9a-fA-F]{6}$|^#[0-9a-fA-F]{3}$/,i=/\.[0-9]/,l=a=>{let[,c]=a,[u]=c;return(u==="."||u==="#")&&o.test(c)===!1&&i.test(c)===!1};r.exports={isMixinToken:l}}),us=E((e,r)=>{var o=gt(),i=/^url\((.+)\)/;r.exports=l=>{let{name:a,params:c=""}=l;if(a==="import"&&c.length){l.import=!0;let u=o({css:c});for(l.filename=c.replace(i,"$1");!u.endOfFile();){let[m,n]=u.nextToken();if(m==="word"&&n==="url")return;if(m==="brackets"){l.options=n,l.filename=c.replace(n,"").trim();break}}}}}),ls=E((e,r)=>{var o=/:$/,i=/^:(\s+)?/;r.exports=l=>{let{name:a,params:c=""}=l;if(l.name.slice(-1)===":"){if(o.test(a)){let[u]=a.match(o);l.name=a.replace(u,""),l.raws.afterName=u+(l.raws.afterName||""),l.variable=!0,l.value=l.params}if(i.test(c)){let[u]=c.match(i);l.value=c.replace(u,""),l.raws.afterName=(l.raws.afterName||"")+u,l.variable=!0}}}}),cs=E((e,r)=>{var o=Pe(),i=xt(),{isInlineComment:l}=os(),{interpolation:a}=is(),{isMixinToken:c}=as(),u=us(),m=ls(),n=/(!\s*important)$/i;r.exports=class extends i{constructor(...s){super(...s),this.lastNode=null}atrule(s){a.bind(this)(s)||(super.atrule(s),u(this.lastNode),m(this.lastNode))}decl(...s){super.decl(...s),/extend\(.+\)/i.test(this.lastNode.value)&&(this.lastNode.extend=!0)}each(s){s[0][1]=` ${s[0][1]}`;let t=s.findIndex(p=>p[0]==="("),f=s.reverse().find(p=>p[0]===")"),h=s.reverse().indexOf(f),d=s.splice(t,h).map(p=>p[1]).join("");for(let p of s.reverse())this.tokenizer.back(p);this.atrule(this.tokenizer.nextToken()),this.lastNode.function=!0,this.lastNode.params=d}init(s,t,f){super.init(s,t,f),this.lastNode=s}inlineComment(s){let t=new o,f=s[1].slice(2);if(this.init(t,s[2]),t.source.end=this.getPosition(s[3]||s[2]),t.inline=!0,t.raws.begin="//",/^\s*$/.test(f))t.text="",t.raws.left=f,t.raws.right="";else{let h=f.match(/^(\s*)([^]*[^\s])(\s*)$/);[,t.raws.left,t.text,t.raws.right]=h}}mixin(s){let[t]=s,f=t[1].slice(0,1),h=s.findIndex(v=>v[0]==="brackets"),d=s.findIndex(v=>v[0]==="("),p="";if((h<0||h>3)&&d>0){let v=s.reduce((P,N,M)=>N[0]===")"?M:P),w=s.slice(d,v+d).map(P=>P[1]).join(""),[x]=s.slice(d),b=[x[2],x[3]],[S]=s.slice(v,v+1),k=[S[2],S[3]],O=["brackets",w].concat(b,k),C=s.slice(0,d),A=s.slice(v+1);s=C,s.push(O),s=s.concat(A)}let g=[];for(let v of s)if((v[1]==="!"||g.length)&&g.push(v),v[1]==="important")break;if(g.length){let[v]=g,w=s.indexOf(v),x=g[g.length-1],b=[v[2],v[3]],S=[x[4],x[5]],k=["word",g.map(O=>O[1]).join("")].concat(b,S);s.splice(w,g.length,k)}let y=s.findIndex(v=>n.test(v[1]));y>0&&([,p]=s[y],s.splice(y,1));for(let v of s.reverse())this.tokenizer.back(v);this.atrule(this.tokenizer.nextToken()),this.lastNode.mixin=!0,this.lastNode.raws.identifier=f,p&&(this.lastNode.important=!0,this.lastNode.raws.important=p)}other(s){l.bind(this)(s)||super.other(s)}rule(s){let t=s[s.length-1],f=s[s.length-2];if(f[0]==="at-word"&&t[0]==="{"&&(this.tokenizer.back(t),a.bind(this)(f))){let h=this.tokenizer.nextToken();s=s.slice(0,s.length-2).concat([h]);for(let d of s.reverse())this.tokenizer.back(d);return}super.rule(s),/:extend\(.+\)/i.test(this.lastNode.selector)&&(this.lastNode.extend=!0)}unknownWord(s){let[t]=s;if(s[0][1]==="each"&&s[1][0]==="("){this.each(s);return}if(c(t)){this.mixin(s);return}super.unknownWord(s)}}}),ps=E((e,r)=>{var o=yt();r.exports=class extends o{atrule(i,l){if(!i.mixin&&!i.variable&&!i.function){super.atrule(i,l);return}let a=`${i.function?"":i.raws.identifier||"@"}${i.name}`,c=i.params?this.rawValue(i,"params"):"",u=i.raws.important||"";if(i.variable&&(c=i.value),typeof i.raws.afterName<"u"?a+=i.raws.afterName:c&&(a+=" "),i.nodes)this.block(i,a+c+u);else{let m=(i.raws.between||"")+u+(l?";":"");this.builder(a+c+m,i)}}comment(i){if(i.inline){let l=this.raw(i,"left","commentLeft"),a=this.raw(i,"right","commentRight");this.builder(`//${l}${i.text}${a}`,i)}else super.comment(i)}}}),hs=E((e,r)=>{var o=Me(),i=cs(),l=ps();r.exports={parse(a,c){let u=new o(a,c),m=new i(u);return m.parse(),m.root.walk(n=>{let s=u.css.lastIndexOf(n.source.input.css);if(s===0)return;if(s+n.source.input.css.length!==u.css.length)throw new Error("Invalid state detected in postcss-less");let t=s+n.source.start.offset,f=u.fromOffset(s+n.source.start.offset);if(n.source.start={offset:t,line:f.line,column:f.col},n.source.end){let h=s+n.source.end.offset,d=u.fromOffset(s+n.source.end.offset);n.source.end={offset:h,line:d.line,column:d.col}}}),m.root},stringify(a,c){new l(c).stringify(a)},nodeToString(a){let c="";return r.exports.stringify(a,u=>{c+=u}),c}}}),Xt=E((e,r)=>{r.exports=class{generate(){}}}),kt=E((e,r)=>{"use strict";var o=pe(),i,l,a=class extends o{constructor(c){super({type:"document",...c}),this.nodes||(this.nodes=[])}toResult(c={}){return new i(new l,this,c).stringify()}};a.registerLazyResult=c=>{i=c},a.registerProcessor=c=>{l=c},r.exports=a,a.default=a}),er=E((e,r)=>{"use strict";var o={};r.exports=function(i){o[i]||(o[i]=!0,typeof console<"u"&&console.warn&&console.warn(i))}}),tr=E((e,r)=>{"use strict";var o=class{constructor(i,l={}){if(this.type="warning",this.text=i,l.node&&l.node.source){let a=l.node.rangeBy(l);this.line=a.start.line,this.column=a.start.column,this.endLine=a.end.line,this.endColumn=a.end.column}for(let a in l)this[a]=l[a]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};r.exports=o,o.default=o}),Ot=E((e,r)=>{"use strict";var o=tr(),i=class{constructor(l,a,c){this.processor=l,this.messages=[],this.root=a,this.opts=c,this.css=void 0,this.map=void 0}toString(){return this.css}warn(l,a={}){a.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(a.plugin=this.lastPlugin.postcssPlugin);let c=new o(l,a);return this.messages.push(c),c}warnings(){return this.messages.filter(l=>l.type==="warning")}get content(){return this.css}};r.exports=i,i.default=i}),rr=E((e,r)=>{"use strict";var{isClean:o,my:i}=mt(),l=Xt(),a=Ke(),c=pe(),u=kt(),m=er(),n=Ot(),s=Xe(),t=$e(),f={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},h={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},d={Once:!0,postcssPlugin:!0,prepare:!0},p=0;function g(S){return typeof S=="object"&&typeof S.then=="function"}function y(S){let k=!1,O=f[S.type];return S.type==="decl"?k=S.prop.toLowerCase():S.type==="atrule"&&(k=S.name.toLowerCase()),k&&S.append?[O,O+"-"+k,p,O+"Exit",O+"Exit-"+k]:k?[O,O+"-"+k,O+"Exit",O+"Exit-"+k]:S.append?[O,p,O+"Exit"]:[O,O+"Exit"]}function v(S){let k;return S.type==="document"?k=["Document",p,"DocumentExit"]:S.type==="root"?k=["Root",p,"RootExit"]:k=y(S),{eventIndex:0,events:k,iterator:0,node:S,visitorIndex:0,visitors:[]}}function w(S){return S[o]=!1,S.nodes&&S.nodes.forEach(k=>w(k)),S}var x={},b=class sr{constructor(k,O,C){this.stringified=!1,this.processed=!1;let A;if(typeof O=="object"&&O!==null&&(O.type==="root"||O.type==="document"))A=w(O);else if(O instanceof sr||O instanceof n)A=w(O.root),O.map&&(typeof C.map>"u"&&(C.map={}),C.map.inline||(C.map.inline=!1),C.map.prev=O.map);else{let P=s;C.syntax&&(P=C.syntax.parse),C.parser&&(P=C.parser),P.parse&&(P=P.parse);try{A=P(O,C)}catch(N){this.processed=!0,this.error=N}A&&!A[i]&&c.rebuild(A)}this.result=new n(k,A,C),this.helpers={...x,postcss:x,result:this.result},this.plugins=this.processor.plugins.map(P=>typeof P=="object"&&P.prepare?{...P,...P.prepare(this.result)}:P)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(k){return this.async().catch(k)}finally(k){return this.async().then(k,k)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(k,O){let C=this.result.lastPlugin;try{O&&O.addToError(k),this.error=k,k.name==="CssSyntaxError"&&!k.plugin?(k.plugin=C.postcssPlugin,k.setMessage()):C.postcssVersion}catch(A){console&&console.error&&console.error(A)}return k}prepareVisitors(){this.listeners={};let k=(O,C,A)=>{this.listeners[C]||(this.listeners[C]=[]),this.listeners[C].push([O,A])};for(let O of this.plugins)if(typeof O=="object")for(let C in O){if(!h[C]&&/^[A-Z]/.test(C))throw new Error(`Unknown event ${C} in ${O.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!d[C])if(typeof O[C]=="object")for(let A in O[C])A==="*"?k(O,C,O[C][A]):k(O,C+"-"+A.toLowerCase(),O[C][A]);else typeof O[C]=="function"&&k(O,C,O[C])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let k=0;k<this.plugins.length;k++){let O=this.plugins[k],C=this.runOnRoot(O);if(g(C))try{await C}catch(A){throw this.handleError(A)}}if(this.prepareVisitors(),this.hasListener){let k=this.result.root;for(;!k[o];){k[o]=!0;let O=[v(k)];for(;O.length>0;){let C=this.visitTick(O);if(g(C))try{await C}catch(A){let P=O[O.length-1].node;throw this.handleError(A,P)}}}if(this.listeners.OnceExit)for(let[O,C]of this.listeners.OnceExit){this.result.lastPlugin=O;try{if(k.type==="document"){let A=k.nodes.map(P=>C(P,this.helpers));await Promise.all(A)}else await C(k,this.helpers)}catch(A){throw this.handleError(A)}}}return this.processed=!0,this.stringify()}runOnRoot(k){this.result.lastPlugin=k;try{if(typeof k=="object"&&k.Once){if(this.result.root.type==="document"){let O=this.result.root.nodes.map(C=>k.Once(C,this.helpers));return g(O[0])?Promise.all(O):O}return k.Once(this.result.root,this.helpers)}else if(typeof k=="function")return k(this.result.root,this.result)}catch(O){throw this.handleError(O)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let k=this.result.opts,O=a;k.syntax&&(O=k.syntax.stringify),k.stringifier&&(O=k.stringifier),O.stringify&&(O=O.stringify);let C=new l(O,this.result.root,this.result.opts).generate();return this.result.css=C[0],this.result.map=C[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let k of this.plugins){let O=this.runOnRoot(k);if(g(O))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let k=this.result.root;for(;!k[o];)k[o]=!0,this.walkSync(k);if(this.listeners.OnceExit)if(k.type==="document")for(let O of k.nodes)this.visitSync(this.listeners.OnceExit,O);else this.visitSync(this.listeners.OnceExit,k)}return this.result}then(k,O){return this.async().then(k,O)}toString(){return this.css}visitSync(k,O){for(let[C,A]of k){this.result.lastPlugin=C;let P;try{P=A(O,this.helpers)}catch(N){throw this.handleError(N,O.proxyOf)}if(O.type!=="root"&&O.type!=="document"&&!O.parent)return!0;if(g(P))throw this.getAsyncError()}}visitTick(k){let O=k[k.length-1],{node:C,visitors:A}=O;if(C.type!=="root"&&C.type!=="document"&&!C.parent){k.pop();return}if(A.length>0&&O.visitorIndex<A.length){let[N,M]=A[O.visitorIndex];O.visitorIndex+=1,O.visitorIndex===A.length&&(O.visitors=[],O.visitorIndex=0),this.result.lastPlugin=N;try{return M(C.toProxy(),this.helpers)}catch(R){throw this.handleError(R,C)}}if(O.iterator!==0){let N=O.iterator,M;for(;M=C.nodes[C.indexes[N]];)if(C.indexes[N]+=1,!M[o]){M[o]=!0,k.push(v(M));return}O.iterator=0,delete C.indexes[N]}let P=O.events;for(;O.eventIndex<P.length;){let N=P[O.eventIndex];if(O.eventIndex+=1,N===p){C.nodes&&C.nodes.length&&(C[o]=!0,O.iterator=C.getIterator());return}else if(this.listeners[N]){O.visitors=this.listeners[N];return}}k.pop()}walkSync(k){k[o]=!0;let O=y(k);for(let C of O)if(C===p)k.nodes&&k.each(A=>{A[o]||this.walkSync(A)});else{let A=this.listeners[C];if(A&&this.visitSync(A,k.toProxy()))return}}warnings(){return this.sync().warnings()}get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}};b.registerPostcss=S=>{x=S},r.exports=b,b.default=b,t.registerLazyResult(b),u.registerLazyResult(b)}),fs=E((e,r)=>{"use strict";var o=Xt(),i=Ke(),l=er(),a=Xe(),c=Ot(),u=class{constructor(m,n,s){n=n.toString(),this.stringified=!1,this._processor=m,this._css=n,this._opts=s,this._map=void 0;let t,f=i;this.result=new c(this._processor,t,this._opts),this.result.css=n;let h=this;Object.defineProperty(this.result,"root",{get(){return h.root}});let d=new o(f,t,this._opts,n);if(d.isMap()){let[p,g]=d.generate();p&&(this.result.css=p),g&&(this.result.map=g)}else d.clearAnnotation(),this.result.css=d.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(m){return this.async().catch(m)}finally(m){return this.async().then(m,m)}sync(){if(this.error)throw this.error;return this.result}then(m,n){return this.async().then(m,n)}toString(){return this._css}warnings(){return[]}get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let m,n=a;try{m=n(this._css,this._opts)}catch(s){this.error=s}if(this.error)throw this.error;return this._root=m,m}get[Symbol.toStringTag](){return"NoWorkResult"}};r.exports=u,u.default=u}),ds=E((e,r)=>{"use strict";var o=fs(),i=rr(),l=kt(),a=$e(),c=class{constructor(u=[]){this.version="8.4.39",this.plugins=this.normalize(u)}normalize(u){let m=[];for(let n of u)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n=="object"&&Array.isArray(n.plugins))m=m.concat(n.plugins);else if(typeof n=="object"&&n.postcssPlugin)m.push(n);else if(typeof n=="function")m.push(n);else if(!(typeof n=="object"&&(n.parse||n.stringify)))throw new Error(n+" is not a PostCSS plugin");return m}process(u,m={}){return!this.plugins.length&&!m.parser&&!m.stringifier&&!m.syntax?new o(this,u,m):new i(this,u,m)}use(u){return this.plugins=this.plugins.concat(this.normalize([u])),this}};r.exports=c,c.default=c,a.registerProcessor(c),l.registerProcessor(c)}),ms=E((e,r)=>{"use strict";var o=Ze(),i=Zt(),l=Pe(),a=wt(),c=Me(),u=$e(),m=bt();function n(s,t){if(Array.isArray(s))return s.map(d=>n(d));let{inputs:f,...h}=s;if(f){t=[];for(let d of f){let p={...d,__proto__:c.prototype};p.map&&(p.map={...p.map,__proto__:i.prototype}),t.push(p)}}if(h.nodes&&(h.nodes=s.nodes.map(d=>n(d,t))),h.source){let{inputId:d,...p}=h.source;h.source=p,d!=null&&(h.source.input=t[d])}if(h.type==="root")return new u(h);if(h.type==="decl")return new o(h);if(h.type==="rule")return new m(h);if(h.type==="comment")return new l(h);if(h.type==="atrule")return new a(h);throw new Error("Unknown node type: "+s.type)}r.exports=n,n.default=n}),Tt=E((e,r)=>{"use strict";var o=vt(),i=Ze(),l=rr(),a=pe(),c=ds(),u=Ke(),m=ms(),n=kt(),s=tr(),t=Pe(),f=wt(),h=Ot(),d=Me(),p=Xe(),g=Yt(),y=bt(),v=$e(),w=Ye();function x(...b){return b.length===1&&Array.isArray(b[0])&&(b=b[0]),new c(b)}x.plugin=function(b,S){let k=!1;function O(...A){console&&console.warn&&!k&&(k=!0,console.warn(b+`: postcss.plugin was deprecated. Migration guide:
23
- https://evilmartians.com/chronicles/postcss-8-plugin-migration`));let P=S(...A);return P.postcssPlugin=b,P.postcssVersion=new c().version,P}let C;return Object.defineProperty(O,"postcss",{get(){return C||(C=O()),C}}),O.process=function(A,P,N){return x([O(N)]).process(A,P)},O},x.stringify=u,x.parse=p,x.fromJSON=m,x.list=g,x.comment=b=>new t(b),x.atRule=b=>new f(b),x.decl=b=>new i(b),x.rule=b=>new y(b),x.root=b=>new v(b),x.document=b=>new n(b),x.CssSyntaxError=o,x.Declaration=i,x.Container=a,x.Processor=c,x.Document=n,x.Comment=t,x.Warning=s,x.AtRule=f,x.Result=h,x.Input=d,x.Rule=y,x.Root=v,x.Node=w,l.registerPostcss(x),r.exports=x,x.default=x}),vs=E((e,r)=>{var{Container:o}=Tt(),i=class extends o{constructor(l){super(l),this.type="decl",this.isNested=!0,this.nodes||(this.nodes=[])}};r.exports=i}),ys=E((e,r)=>{"use strict";var o=/[\t\n\f\r "#'()/;[\\\]{}]/g,i=/[,\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,l=/.[\r\n"'(/\\]/,a=/[\da-f]/i,c=/[\n\f\r]/g;r.exports=function(u,m={}){let n=u.css.valueOf(),s=m.ignoreErrors,t,f,h,d,p,g,y,v,w,x=n.length,b=0,S=[],k=[],O;function C(){return b}function A($){throw u.error("Unclosed "+$,b)}function P(){return k.length===0&&b>=x}function N(){let $=1,I=!1,z=!1;for(;$>0;)f+=1,n.length<=f&&A("interpolation"),t=n.charCodeAt(f),v=n.charCodeAt(f+1),I?!z&&t===I?(I=!1,z=!1):t===92?z=!z:z&&(z=!1):t===39||t===34?I=t:t===125?$-=1:t===35&&v===123&&($+=1)}function M($){if(k.length)return k.pop();if(b>=x)return;let I=$?$.ignoreUnclosed:!1;switch(t=n.charCodeAt(b),t){case 10:case 32:case 9:case 13:case 12:{f=b;do f+=1,t=n.charCodeAt(f);while(t===32||t===10||t===9||t===13||t===12);w=["space",n.slice(b,f)],b=f-1;break}case 91:case 93:case 123:case 125:case 58:case 59:case 41:{let z=String.fromCharCode(t);w=[z,z,b];break}case 44:{w=["word",",",b,b+1];break}case 40:{if(y=S.length?S.pop()[1]:"",v=n.charCodeAt(b+1),y==="url"&&v!==39&&v!==34){for(O=1,g=!1,f=b+1;f<=n.length-1;){if(v=n.charCodeAt(f),v===92)g=!g;else if(v===40)O+=1;else if(v===41&&(O-=1,O===0))break;f+=1}d=n.slice(b,f+1),w=["brackets",d,b,f],b=f}else f=n.indexOf(")",b+1),d=n.slice(b,f+1),f===-1||l.test(d)?w=["(","(",b]:(w=["brackets",d,b,f],b=f);break}case 39:case 34:{for(h=t,f=b,g=!1;f<x&&(f++,f===x&&A("string"),t=n.charCodeAt(f),v=n.charCodeAt(f+1),!(!g&&t===h));)t===92?g=!g:g?g=!1:t===35&&v===123&&N();w=["string",n.slice(b,f+1),b,f],b=f;break}case 64:{o.lastIndex=b+1,o.test(n),o.lastIndex===0?f=n.length-1:f=o.lastIndex-2,w=["at-word",n.slice(b,f+1),b,f],b=f;break}case 92:{for(f=b,p=!0;n.charCodeAt(f+1)===92;)f+=1,p=!p;if(t=n.charCodeAt(f+1),p&&t!==47&&t!==32&&t!==10&&t!==9&&t!==13&&t!==12&&(f+=1,a.test(n.charAt(f)))){for(;a.test(n.charAt(f+1));)f+=1;n.charCodeAt(f+1)===32&&(f+=1)}w=["word",n.slice(b,f+1),b,f],b=f;break}default:v=n.charCodeAt(b+1),t===35&&v===123?(f=b,N(),d=n.slice(b,f+1),w=["word",d,b,f],b=f):t===47&&v===42?(f=n.indexOf("*/",b+2)+1,f===0&&(s||I?f=n.length:A("comment")),w=["comment",n.slice(b,f+1),b,f],b=f):t===47&&v===47?(c.lastIndex=b+1,c.test(n),c.lastIndex===0?f=n.length-1:f=c.lastIndex-2,d=n.slice(b,f+1),w=["comment",d,b,f,"inline"],b=f):(i.lastIndex=b+1,i.test(n),i.lastIndex===0?f=n.length-1:f=i.lastIndex-2,w=["word",n.slice(b,f+1),b,f],S.push(w),b=f);break}return b++,w}function R($){k.push($)}return{back:R,endOfFile:P,nextToken:M,position:C}}}),gs=E((e,r)=>{var{Comment:o}=Tt(),i=xt(),l=vs(),a=ys(),c=class extends i{atrule(u){let m=u[1],n=u;for(;!this.tokenizer.endOfFile();){let s=this.tokenizer.nextToken();if(s[0]==="word"&&s[2]===n[3]+1)m+=s[1],n=s;else{this.tokenizer.back(s);break}}super.atrule(["at-word",m,u[2],n[3]])}comment(u){if(u[4]==="inline"){let m=new o;this.init(m,u[2]),m.raws.inline=!0;let n=this.input.fromOffset(u[3]);m.source.end={column:n.col,line:n.line,offset:u[3]+1};let s=u[1].slice(2);if(/^\s*$/.test(s))m.text="",m.raws.left=s,m.raws.right="";else{let t=s.match(/^(\s*)([^]*\S)(\s*)$/),f=t[2].replace(/(\*\/|\/\*)/g,"*//*");m.text=f,m.raws.left=t[1],m.raws.right=t[3],m.raws.text=t[2]}}else super.comment(u)}createTokenizer(){this.tokenizer=a(this.input)}raw(u,m,n,s){if(super.raw(u,m,n,s),u.raws[m]){let t=u.raws[m].raw;u.raws[m].raw=n.reduce((f,h)=>{if(h[0]==="comment"&&h[4]==="inline"){let d=h[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return f+"/*"+d+"*/"}else return f+h[1]},""),t!==u.raws[m].raw&&(u.raws[m].scss=t)}}rule(u){let m=!1,n=0,s="";for(let t of u)if(m)t[0]!=="comment"&&t[0]!=="{"&&(s+=t[1]);else{if(t[0]==="space"&&t[1].includes(`
24
- `))break;t[0]==="("?n+=1:t[0]===")"?n-=1:n===0&&t[0]===":"&&(m=!0)}if(!m||s.trim()===""||/^[#:A-Za-z-]/.test(s))super.rule(u);else{u.pop();let t=new l;this.init(t,u[0][2]);let f;for(let d=u.length-1;d>=0;d--)if(u[d][0]!=="space"){f=u[d];break}if(f[3]){let d=this.input.fromOffset(f[3]);t.source.end={column:d.col,line:d.line,offset:f[3]+1}}else{let d=this.input.fromOffset(f[2]);t.source.end={column:d.col,line:d.line,offset:f[2]+1}}for(;u[0][0]!=="word";)t.raws.before+=u.shift()[1];if(u[0][2]){let d=this.input.fromOffset(u[0][2]);t.source.start={column:d.col,line:d.line,offset:u[0][2]}}for(t.prop="";u.length;){let d=u[0][0];if(d===":"||d==="space"||d==="comment")break;t.prop+=u.shift()[1]}t.raws.between="";let h;for(;u.length;)if(h=u.shift(),h[0]===":"){t.raws.between+=h[1];break}else t.raws.between+=h[1];(t.prop[0]==="_"||t.prop[0]==="*")&&(t.raws.before+=t.prop[0],t.prop=t.prop.slice(1)),t.raws.between+=this.spacesAndCommentsFromStart(u),this.precheckMissedSemicolon(u);for(let d=u.length-1;d>0;d--){if(h=u[d],h[1]==="!important"){t.important=!0;let p=this.stringFrom(u,d);p=this.spacesFromEnd(u)+p,p!==" !important"&&(t.raws.important=p);break}else if(h[1]==="important"){let p=u.slice(0),g="";for(let y=d;y>0;y--){let v=p[y][0];if(g.trim().indexOf("!")===0&&v!=="space")break;g=p.pop()[1]+g}g.trim().indexOf("!")===0&&(t.important=!0,t.raws.important=g,u=p)}if(h[0]!=="space"&&h[0]!=="comment")break}this.raw(t,"value",u),t.value.includes(":")&&this.checkMissedSemicolon(u),this.current=t}}};r.exports=c}),ws=E((e,r)=>{var{Input:o}=Tt(),i=gs();r.exports=function(l,a){let c=new o(l,a),u=new i(c);return u.parse(),u.root}}),nr=E(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});function r(o){this.after=o.after,this.before=o.before,this.type=o.type,this.value=o.value,this.sourceIndex=o.sourceIndex}e.default=r}),or=E(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0});var r=nr(),o=i(r);function i(a){return a&&a.__esModule?a:{default:a}}function l(a){var c=this;this.constructor(a),this.nodes=a.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(u){u.parent=c})}l.prototype=Object.create(o.default.prototype),l.constructor=o.default,l.prototype.walk=function(a,c){for(var u=typeof a=="string"||a instanceof RegExp,m=u?c:a,n=typeof a=="string"?new RegExp(a):a,s=0;s<this.nodes.length;s++){var t=this.nodes[s],f=u?n.test(t.type):!0;if(f&&m&&m(t,s,this.nodes)===!1||t.nodes&&t.walk(a,c)===!1)return!1}return!0},l.prototype.each=function(){for(var a=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],c=0;c<this.nodes.length;c++){var u=this.nodes[c];if(a(u,c,this.nodes)===!1)return!1}return!0},e.default=l}),bs=E(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parseMediaFeature=c,e.parseMediaQuery=u,e.parseMediaList=m;var r=nr(),o=a(r),i=or(),l=a(i);function a(n){return n&&n.__esModule?n:{default:n}}function c(n){var s=arguments.length<=1||arguments[1]===void 0?0:arguments[1],t=[{mode:"normal",character:null}],f=[],h=0,d="",p=null,g=null,y=s,v=n;n[0]==="("&&n[n.length-1]===")"&&(v=n.substring(1,n.length-1),y++);for(var w=0;w<v.length;w++){var x=v[w];if((x==="'"||x==='"')&&(t[h].isCalculationEnabled===!0?(t.push({mode:"string",isCalculationEnabled:!1,character:x}),h++):t[h].mode==="string"&&t[h].character===x&&v[w-1]!=="\\"&&(t.pop(),h--)),x==="{"?(t.push({mode:"interpolation",isCalculationEnabled:!0}),h++):x==="}"&&(t.pop(),h--),t[h].mode==="normal"&&x===":"){var b=v.substring(w+1);g={type:"value",before:/^(\s*)/.exec(b)[1],after:/(\s*)$/.exec(b)[1],value:b.trim()},g.sourceIndex=g.before.length+w+1+y,p={type:"colon",sourceIndex:w+y,after:g.before,value:":"};break}d+=x}return d={type:"media-feature",before:/^(\s*)/.exec(d)[1],after:/(\s*)$/.exec(d)[1],value:d.trim()},d.sourceIndex=d.before.length+y,f.push(d),p!==null&&(p.before=d.after,f.push(p)),g!==null&&f.push(g),f}function u(n){var s=arguments.length<=1||arguments[1]===void 0?0:arguments[1],t=[],f=0,h=!1,d=void 0;function p(){return{before:"",after:"",value:""}}d=p();for(var g=0;g<n.length;g++){var y=n[g];h?(d.value+=y,(y==="{"||y==="(")&&f++,(y===")"||y==="}")&&f--):y.search(/\s/)!==-1?d.before+=y:(y==="("&&(d.type="media-feature-expression",f++),d.value=y,d.sourceIndex=s+g,h=!0),h&&f===0&&(y===")"||g===n.length-1||n[g+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(d.value)!==-1&&(d.type="keyword"),d.type==="media-feature-expression"&&(d.nodes=c(d.value,d.sourceIndex)),t.push(Array.isArray(d.nodes)?new l.default(d):new o.default(d)),d=p(),h=!1)}for(var v=0;v<t.length;v++)if(d=t[v],v>0&&(t[v-1].after=d.before),d.type===void 0){if(v>0){if(t[v-1].type==="media-feature-expression"){d.type="keyword";continue}if(t[v-1].value==="not"||t[v-1].value==="only"){d.type="media-type";continue}if(t[v-1].value==="and"){d.type="media-feature-expression";continue}t[v-1].type==="media-type"&&(t[v+1]?d.type=t[v+1].type==="media-feature-expression"?"keyword":"media-feature-expression":d.type="media-feature-expression")}if(v===0){if(!t[v+1]){d.type="media-type";continue}if(t[v+1]&&(t[v+1].type==="media-feature-expression"||t[v+1].type==="keyword")){d.type="media-type";continue}if(t[v+2]){if(t[v+2].type==="media-feature-expression"){d.type="media-type",t[v+1].type="keyword";continue}if(t[v+2].type==="keyword"){d.type="keyword",t[v+1].type="media-type";continue}}if(t[v+3]&&t[v+3].type==="media-feature-expression"){d.type="keyword",t[v+1].type="media-type",t[v+2].type="keyword";continue}}}return t}function m(n){var s=[],t=0,f=0,h=/^(\s*)url\s*\(/.exec(n);if(h!==null){for(var d=h[0].length,p=1;p>0;){var g=n[d];g==="("&&p++,g===")"&&p--,d++}s.unshift(new o.default({type:"url",value:n.substring(0,d).trim(),sourceIndex:h[1].length,before:h[1],after:/^(\s*)/.exec(n.substring(d))[1]})),t=d}for(var y=t;y<n.length;y++){var v=n[y];if(v==="("&&f++,v===")"&&f--,f===0&&v===","){var w=n.substring(t,y),x=/^(\s*)/.exec(w)[1];s.push(new l.default({type:"media-query",value:w.trim(),sourceIndex:t+x.length,nodes:u(w,t),before:x,after:/(\s*)$/.exec(w)[1]})),t=y+1}}var b=n.substring(t),S=/^(\s*)/.exec(b)[1];return s.push(new l.default({type:"media-query",value:b.trim(),sourceIndex:t+S.length,nodes:u(b,t),before:S,after:/(\s*)$/.exec(b)[1]})),s}}),xs=E(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var r=or(),o=l(r),i=bs();function l(c){return c&&c.__esModule?c:{default:c}}function a(c){return new o.default({nodes:(0,i.parseMediaList)(c),type:"media-query-list",value:c.trim()})}}),ir=E((e,r)=>{r.exports=function(o,i){if(i=typeof i=="number"?i:1/0,!i)return Array.isArray(o)?o.map(function(a){return a}):o;return l(o,1);function l(a,c){return a.reduce(function(u,m){return Array.isArray(m)&&c<i?u.concat(l(m,c+1)):u.concat(m)},[])}}}),ar=E((e,r)=>{r.exports=function(o,i){for(var l=-1,a=[];(l=o.indexOf(i,l+1))!==-1;)a.push(l);return a}}),ur=E((e,r)=>{"use strict";function o(a,c){for(var u=1,m=a.length,n=a[0],s=a[0],t=1;t<m;++t)if(s=n,n=a[t],c(n,s)){if(t===u){u++;continue}a[u++]=n}return a.length=u,a}function i(a){for(var c=1,u=a.length,m=a[0],n=a[0],s=1;s<u;++s,n=m)if(n=m,m=a[s],m!==n){if(s===c){c++;continue}a[c++]=m}return a.length=c,a}function l(a,c,u){return a.length===0?a:c?(u||a.sort(c),o(a,c)):(u||a.sort(),i(a))}r.exports=l}),ke=E((e,r)=>{"use strict";e.__esModule=!0;var o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(c){return typeof c}:function(c){return c&&typeof Symbol=="function"&&c.constructor===Symbol&&c!==Symbol.prototype?"symbol":typeof c};function i(c,u){if(!(c instanceof u))throw new TypeError("Cannot call a class as a function")}var l=function c(u,m){if((typeof u>"u"?"undefined":o(u))!=="object")return u;var n=new u.constructor;for(var s in u)if(u.hasOwnProperty(s)){var t=u[s],f=typeof t>"u"?"undefined":o(t);s==="parent"&&f==="object"?m&&(n[s]=m):t instanceof Array?n[s]=t.map(function(h){return c(h,n)}):n[s]=c(t,n)}return n},a=function(){function c(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};i(this,c);for(var m in u)this[m]=u[m];var n=u.spaces;n=n===void 0?{}:n;var s=n.before,t=s===void 0?"":s,f=n.after,h=f===void 0?"":f;this.spaces={before:t,after:h}}return c.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},c.prototype.replaceWith=function(){if(this.parent){for(var u in arguments)this.parent.insertBefore(this,arguments[u]);this.remove()}return this},c.prototype.next=function(){return this.parent.at(this.parent.index(this)+1)},c.prototype.prev=function(){return this.parent.at(this.parent.index(this)-1)},c.prototype.clone=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},m=l(this);for(var n in u)m[n]=u[n];return m},c.prototype.toString=function(){return[this.spaces.before,String(this.value),this.spaces.after].join("")},c}();e.default=a,r.exports=e.default}),V=E(e=>{"use strict";e.__esModule=!0;var r=e.TAG="tag",o=e.STRING="string",i=e.SELECTOR="selector",l=e.ROOT="root",a=e.PSEUDO="pseudo",c=e.NESTING="nesting",u=e.ID="id",m=e.COMMENT="comment",n=e.COMBINATOR="combinator",s=e.CLASS="class",t=e.ATTRIBUTE="attribute",f=e.UNIVERSAL="universal"}),St=E((e,r)=>{"use strict";e.__esModule=!0;var o=function(){function h(d,p){for(var g=0;g<p.length;g++){var y=p[g];y.enumerable=y.enumerable||!1,y.configurable=!0,"value"in y&&(y.writable=!0),Object.defineProperty(d,y.key,y)}}return function(d,p,g){return p&&h(d.prototype,p),g&&h(d,g),d}}(),i=ke(),l=m(i),a=V(),c=u(a);function u(h){if(h&&h.__esModule)return h;var d={};if(h!=null)for(var p in h)Object.prototype.hasOwnProperty.call(h,p)&&(d[p]=h[p]);return d.default=h,d}function m(h){return h&&h.__esModule?h:{default:h}}function n(h,d){if(!(h instanceof d))throw new TypeError("Cannot call a class as a function")}function s(h,d){if(!h)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return d&&(typeof d=="object"||typeof d=="function")?d:h}function t(h,d){if(typeof d!="function"&&d!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof d);h.prototype=Object.create(d&&d.prototype,{constructor:{value:h,enumerable:!1,writable:!0,configurable:!0}}),d&&(Object.setPrototypeOf?Object.setPrototypeOf(h,d):h.__proto__=d)}var f=function(h){t(d,h);function d(p){n(this,d);var g=s(this,h.call(this,p));return g.nodes||(g.nodes=[]),g}return d.prototype.append=function(p){return p.parent=this,this.nodes.push(p),this},d.prototype.prepend=function(p){return p.parent=this,this.nodes.unshift(p),this},d.prototype.at=function(p){return this.nodes[p]},d.prototype.index=function(p){return typeof p=="number"?p:this.nodes.indexOf(p)},d.prototype.removeChild=function(p){p=this.index(p),this.at(p).parent=void 0,this.nodes.splice(p,1);var g=void 0;for(var y in this.indexes)g=this.indexes[y],g>=p&&(this.indexes[y]=g-1);return this},d.prototype.removeAll=function(){for(var y=this.nodes,p=Array.isArray(y),g=0,y=p?y:y[Symbol.iterator]();;){var v;if(p){if(g>=y.length)break;v=y[g++]}else{if(g=y.next(),g.done)break;v=g.value}var w=v;w.parent=void 0}return this.nodes=[],this},d.prototype.empty=function(){return this.removeAll()},d.prototype.insertAfter=function(p,g){var y=this.index(p);this.nodes.splice(y+1,0,g);var v=void 0;for(var w in this.indexes)v=this.indexes[w],y<=v&&(this.indexes[w]=v+this.nodes.length);return this},d.prototype.insertBefore=function(p,g){var y=this.index(p);this.nodes.splice(y,0,g);var v=void 0;for(var w in this.indexes)v=this.indexes[w],y<=v&&(this.indexes[w]=v+this.nodes.length);return this},d.prototype.each=function(p){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var g=this.lastEach;if(this.indexes[g]=0,!!this.length){for(var y=void 0,v=void 0;this.indexes[g]<this.length&&(y=this.indexes[g],v=p(this.at(y),y),v!==!1);)this.indexes[g]+=1;if(delete this.indexes[g],v===!1)return!1}},d.prototype.walk=function(p){return this.each(function(g,y){var v=p(g,y);if(v!==!1&&g.length&&(v=g.walk(p)),v===!1)return!1})},d.prototype.walkAttributes=function(p){var g=this;return this.walk(function(y){if(y.type===c.ATTRIBUTE)return p.call(g,y)})},d.prototype.walkClasses=function(p){var g=this;return this.walk(function(y){if(y.type===c.CLASS)return p.call(g,y)})},d.prototype.walkCombinators=function(p){var g=this;return this.walk(function(y){if(y.type===c.COMBINATOR)return p.call(g,y)})},d.prototype.walkComments=function(p){var g=this;return this.walk(function(y){if(y.type===c.COMMENT)return p.call(g,y)})},d.prototype.walkIds=function(p){var g=this;return this.walk(function(y){if(y.type===c.ID)return p.call(g,y)})},d.prototype.walkNesting=function(p){var g=this;return this.walk(function(y){if(y.type===c.NESTING)return p.call(g,y)})},d.prototype.walkPseudos=function(p){var g=this;return this.walk(function(y){if(y.type===c.PSEUDO)return p.call(g,y)})},d.prototype.walkTags=function(p){var g=this;return this.walk(function(y){if(y.type===c.TAG)return p.call(g,y)})},d.prototype.walkUniversals=function(p){var g=this;return this.walk(function(y){if(y.type===c.UNIVERSAL)return p.call(g,y)})},d.prototype.split=function(p){var g=this,y=[];return this.reduce(function(v,w,x){var b=p.call(g,w);return y.push(w),b?(v.push(y),y=[]):x===g.length-1&&v.push(y),v},[])},d.prototype.map=function(p){return this.nodes.map(p)},d.prototype.reduce=function(p,g){return this.nodes.reduce(p,g)},d.prototype.every=function(p){return this.nodes.every(p)},d.prototype.some=function(p){return this.nodes.some(p)},d.prototype.filter=function(p){return this.nodes.filter(p)},d.prototype.sort=function(p){return this.nodes.sort(p)},d.prototype.toString=function(){return this.map(String).join("")},o(d,[{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}}]),d}(l.default);e.default=f,r.exports=e.default}),ks=E((e,r)=>{"use strict";e.__esModule=!0;var o=St(),i=a(o),l=V();function a(s){return s&&s.__esModule?s:{default:s}}function c(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}function u(s,t){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:s}function m(s,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);s.prototype=Object.create(t&&t.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(s,t):s.__proto__=t)}var n=function(s){m(t,s);function t(f){c(this,t);var h=u(this,s.call(this,f));return h.type=l.ROOT,h}return t.prototype.toString=function(){var f=this.reduce(function(h,d){var p=String(d);return p?h+p+",":""},"").slice(0,-1);return this.trailingComma?f+",":f},t}(i.default);e.default=n,r.exports=e.default}),Os=E((e,r)=>{"use strict";e.__esModule=!0;var o=St(),i=a(o),l=V();function a(s){return s&&s.__esModule?s:{default:s}}function c(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}function u(s,t){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:s}function m(s,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);s.prototype=Object.create(t&&t.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(s,t):s.__proto__=t)}var n=function(s){m(t,s);function t(f){c(this,t);var h=u(this,s.call(this,f));return h.type=l.SELECTOR,h}return t}(i.default);e.default=n,r.exports=e.default}),Re=E((e,r)=>{"use strict";e.__esModule=!0;var o=function(){function s(t,f){for(var h=0;h<f.length;h++){var d=f[h];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(t,d.key,d)}}return function(t,f,h){return f&&s(t.prototype,f),h&&s(t,h),t}}(),i=ke(),l=a(i);function a(s){return s&&s.__esModule?s:{default:s}}function c(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}function u(s,t){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:s}function m(s,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);s.prototype=Object.create(t&&t.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(s,t):s.__proto__=t)}var n=function(s){m(t,s);function t(){return c(this,t),u(this,s.apply(this,arguments))}return t.prototype.toString=function(){return[this.spaces.before,this.ns,String(this.value),this.spaces.after].join("")},o(t,[{key:"ns",get:function(){var f=this.namespace;return f?(typeof f=="string"?f:"")+"|":""}}]),t}(l.default);e.default=n,r.exports=e.default}),Ts=E((e,r)=>{"use strict";e.__esModule=!0;var o=Re(),i=a(o),l=V();function a(s){return s&&s.__esModule?s:{default:s}}function c(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}function u(s,t){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:s}function m(s,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);s.prototype=Object.create(t&&t.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(s,t):s.__proto__=t)}var n=function(s){m(t,s);function t(f){c(this,t);var h=u(this,s.call(this,f));return h.type=l.CLASS,h}return t.prototype.toString=function(){return[this.spaces.before,this.ns,"."+this.value,this.spaces.after].join("")},t}(i.default);e.default=n,r.exports=e.default}),Ss=E((e,r)=>{"use strict";e.__esModule=!0;var o=ke(),i=a(o),l=V();function a(s){return s&&s.__esModule?s:{default:s}}function c(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}function u(s,t){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:s}function m(s,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);s.prototype=Object.create(t&&t.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(s,t):s.__proto__=t)}var n=function(s){m(t,s);function t(f){c(this,t);var h=u(this,s.call(this,f));return h.type=l.COMMENT,h}return t}(i.default);e.default=n,r.exports=e.default}),Cs=E((e,r)=>{"use strict";e.__esModule=!0;var o=Re(),i=a(o),l=V();function a(s){return s&&s.__esModule?s:{default:s}}function c(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}function u(s,t){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:s}function m(s,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);s.prototype=Object.create(t&&t.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(s,t):s.__proto__=t)}var n=function(s){m(t,s);function t(f){c(this,t);var h=u(this,s.call(this,f));return h.type=l.ID,h}return t.prototype.toString=function(){return[this.spaces.before,this.ns,"#"+this.value,this.spaces.after].join("")},t}(i.default);e.default=n,r.exports=e.default}),_s=E((e,r)=>{"use strict";e.__esModule=!0;var o=Re(),i=a(o),l=V();function a(s){return s&&s.__esModule?s:{default:s}}function c(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}function u(s,t){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:s}function m(s,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);s.prototype=Object.create(t&&t.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(s,t):s.__proto__=t)}var n=function(s){m(t,s);function t(f){c(this,t);var h=u(this,s.call(this,f));return h.type=l.TAG,h}return t}(i.default);e.default=n,r.exports=e.default}),Es=E((e,r)=>{"use strict";e.__esModule=!0;var o=ke(),i=a(o),l=V();function a(s){return s&&s.__esModule?s:{default:s}}function c(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}function u(s,t){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:s}function m(s,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);s.prototype=Object.create(t&&t.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(s,t):s.__proto__=t)}var n=function(s){m(t,s);function t(f){c(this,t);var h=u(this,s.call(this,f));return h.type=l.STRING,h}return t}(i.default);e.default=n,r.exports=e.default}),As=E((e,r)=>{"use strict";e.__esModule=!0;var o=St(),i=a(o),l=V();function a(s){return s&&s.__esModule?s:{default:s}}function c(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}function u(s,t){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:s}function m(s,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);s.prototype=Object.create(t&&t.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(s,t):s.__proto__=t)}var n=function(s){m(t,s);function t(f){c(this,t);var h=u(this,s.call(this,f));return h.type=l.PSEUDO,h}return t.prototype.toString=function(){var f=this.length?"("+this.map(String).join(",")+")":"";return[this.spaces.before,String(this.value),f,this.spaces.after].join("")},t}(i.default);e.default=n,r.exports=e.default}),js=E((e,r)=>{"use strict";e.__esModule=!0;var o=Re(),i=a(o),l=V();function a(s){return s&&s.__esModule?s:{default:s}}function c(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}function u(s,t){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:s}function m(s,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);s.prototype=Object.create(t&&t.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(s,t):s.__proto__=t)}var n=function(s){m(t,s);function t(f){c(this,t);var h=u(this,s.call(this,f));return h.type=l.ATTRIBUTE,h.raws={},h}return t.prototype.toString=function(){var f=[this.spaces.before,"[",this.ns,this.attribute];return this.operator&&f.push(this.operator),this.value&&f.push(this.value),this.raws.insensitive?f.push(this.raws.insensitive):this.insensitive&&f.push(" i"),f.push("]"),f.concat(this.spaces.after).join("")},t}(i.default);e.default=n,r.exports=e.default}),Is=E((e,r)=>{"use strict";e.__esModule=!0;var o=Re(),i=a(o),l=V();function a(s){return s&&s.__esModule?s:{default:s}}function c(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}function u(s,t){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:s}function m(s,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);s.prototype=Object.create(t&&t.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(s,t):s.__proto__=t)}var n=function(s){m(t,s);function t(f){c(this,t);var h=u(this,s.call(this,f));return h.type=l.UNIVERSAL,h.value="*",h}return t}(i.default);e.default=n,r.exports=e.default}),Ps=E((e,r)=>{"use strict";e.__esModule=!0;var o=ke(),i=a(o),l=V();function a(s){return s&&s.__esModule?s:{default:s}}function c(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}function u(s,t){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:s}function m(s,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);s.prototype=Object.create(t&&t.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(s,t):s.__proto__=t)}var n=function(s){m(t,s);function t(f){c(this,t);var h=u(this,s.call(this,f));return h.type=l.COMBINATOR,h}return t}(i.default);e.default=n,r.exports=e.default}),$s=E((e,r)=>{"use strict";e.__esModule=!0;var o=ke(),i=a(o),l=V();function a(s){return s&&s.__esModule?s:{default:s}}function c(s,t){if(!(s instanceof t))throw new TypeError("Cannot call a class as a function")}function u(s,t){if(!s)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:s}function m(s,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);s.prototype=Object.create(t&&t.prototype,{constructor:{value:s,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(s,t):s.__proto__=t)}var n=function(s){m(t,s);function t(f){c(this,t);var h=u(this,s.call(this,f));return h.type=l.NESTING,h.value="&",h}return t}(i.default);e.default=n,r.exports=e.default}),Ms=E((e,r)=>{"use strict";e.__esModule=!0,e.default=o;function o(i){return i.sort(function(l,a){return l-a})}r.exports=e.default}),Rs=E((e,r)=>{"use strict";e.__esModule=!0,e.default=P;var o=39,i=34,l=92,a=47,c=10,u=32,m=12,n=9,s=13,t=43,f=62,h=126,d=124,p=44,g=40,y=41,v=91,w=93,x=59,b=42,S=58,k=38,O=64,C=/[ \n\t\r\{\(\)'"\\;/]/g,A=/[ \n\t\r\(\)\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g;function P(N){for(var M=[],R=N.css.valueOf(),$=void 0,I=void 0,z=void 0,se=void 0,te=void 0,re=void 0,he=void 0,fe=void 0,de=void 0,q=void 0,Te=void 0,st=R.length,j=-1,T=1,_=0,L=function(W,F){if(N.safe)R+=F,I=R.length-1;else throw N.error("Unclosed "+W,T,_-j,_)};_<st;){switch($=R.charCodeAt(_),$===c&&(j=_,T+=1),$){case c:case u:case n:case s:case m:I=_;do I+=1,$=R.charCodeAt(I),$===c&&(j=I,T+=1);while($===u||$===c||$===n||$===s||$===m);M.push(["space",R.slice(_,I),T,_-j,_]),_=I-1;break;case t:case f:case h:case d:I=_;do I+=1,$=R.charCodeAt(I);while($===t||$===f||$===h||$===d);M.push(["combinator",R.slice(_,I),T,_-j,_]),_=I-1;break;case b:M.push(["*","*",T,_-j,_]);break;case k:M.push(["&","&",T,_-j,_]);break;case p:M.push([",",",",T,_-j,_]);break;case v:M.push(["[","[",T,_-j,_]);break;case w:M.push(["]","]",T,_-j,_]);break;case S:M.push([":",":",T,_-j,_]);break;case x:M.push([";",";",T,_-j,_]);break;case g:M.push(["(","(",T,_-j,_]);break;case y:M.push([")",")",T,_-j,_]);break;case o:case i:z=$===o?"'":'"',I=_;do for(q=!1,I=R.indexOf(z,I+1),I===-1&&L("quote",z),Te=I;R.charCodeAt(Te-1)===l;)Te-=1,q=!q;while(q);M.push(["string",R.slice(_,I+1),T,_-j,T,I-j,_]),_=I;break;case O:C.lastIndex=_+1,C.test(R),C.lastIndex===0?I=R.length-1:I=C.lastIndex-2,M.push(["at-word",R.slice(_,I+1),T,_-j,T,I-j,_]),_=I;break;case l:for(I=_,he=!0;R.charCodeAt(I+1)===l;)I+=1,he=!he;$=R.charCodeAt(I+1),he&&$!==a&&$!==u&&$!==c&&$!==n&&$!==s&&$!==m&&(I+=1),M.push(["word",R.slice(_,I+1),T,_-j,T,I-j,_]),_=I;break;default:$===a&&R.charCodeAt(_+1)===b?(I=R.indexOf("*/",_+2)+1,I===0&&L("comment","*/"),re=R.slice(_,I+1),se=re.split(`
25
- `),te=se.length-1,te>0?(fe=T+te,de=I-se[te].length):(fe=T,de=j),M.push(["comment",re,T,_-j,fe,I-de,_]),j=de,T=fe,_=I):(A.lastIndex=_+1,A.test(R),A.lastIndex===0?I=R.length-1:I=A.lastIndex-2,M.push(["word",R.slice(_,I+1),T,_-j,T,I-j,_]),_=I);break}_++}return M}r.exports=e.default}),Ns=E((e,r)=>{"use strict";e.__esModule=!0;var o=function(){function j(T,_){for(var L=0;L<_.length;L++){var W=_[L];W.enumerable=W.enumerable||!1,W.configurable=!0,"value"in W&&(W.writable=!0),Object.defineProperty(T,W.key,W)}}return function(T,_,L){return _&&j(T.prototype,_),L&&j(T,L),T}}(),i=ir(),l=q(i),a=ar(),c=q(a),u=ur(),m=q(u),n=ks(),s=q(n),t=Os(),f=q(t),h=Ts(),d=q(h),p=Ss(),g=q(p),y=Cs(),v=q(y),w=_s(),x=q(w),b=Es(),S=q(b),k=As(),O=q(k),C=js(),A=q(C),P=Is(),N=q(P),M=Ps(),R=q(M),$=$s(),I=q($),z=Ms(),se=q(z),te=Rs(),re=q(te),he=V(),fe=de(he);function de(j){if(j&&j.__esModule)return j;var T={};if(j!=null)for(var _ in j)Object.prototype.hasOwnProperty.call(j,_)&&(T[_]=j[_]);return T.default=j,T}function q(j){return j&&j.__esModule?j:{default:j}}function Te(j,T){if(!(j instanceof T))throw new TypeError("Cannot call a class as a function")}var st=function(){function j(T){Te(this,j),this.input=T,this.lossy=T.options.lossless===!1,this.position=0,this.root=new s.default;var _=new f.default;return this.root.append(_),this.current=_,this.lossy?this.tokens=(0,re.default)({safe:T.safe,css:T.css.trim()}):this.tokens=(0,re.default)(T),this.loop()}return j.prototype.attribute=function(){var T="",_=void 0,L=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[0]!=="]";)T+=this.tokens[this.position][1],this.position++;this.position===this.tokens.length&&!~T.indexOf("]")&&this.error("Expected a closing square bracket.");var W=T.split(/((?:[*~^$|]?=))([^]*)/),F=W[0].split(/(\|)/g),Z={operator:W[1],value:W[2],source:{start:{line:L[2],column:L[3]},end:{line:this.currToken[2],column:this.currToken[3]}},sourceIndex:L[4]};if(F.length>1?(F[0]===""&&(F[0]=!0),Z.attribute=this.parseValue(F[2]),Z.namespace=this.parseNamespace(F[0])):Z.attribute=this.parseValue(W[0]),_=new A.default(Z),W[2]){var ne=W[2].split(/(\s+i\s*?)$/),oe=ne[0].trim();_.value=this.lossy?oe:ne[0],ne[1]&&(_.insensitive=!0,this.lossy||(_.raws.insensitive=ne[1])),_.quoted=oe[0]==="'"||oe[0]==='"',_.raws.unquoted=_.quoted?oe.slice(1,-1):oe}this.newNode(_),this.position++},j.prototype.combinator=function(){if(this.currToken[1]==="|")return this.namespace();for(var T=new R.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"?(T.spaces.before=this.parseSpace(this.currToken[1]),T.source.start.line=this.nextToken[2],T.source.start.column=this.nextToken[3],T.source.end.column=this.nextToken[3],T.source.end.line=this.nextToken[2],T.sourceIndex=this.nextToken[4]):this.prevToken&&this.prevToken[0]==="combinator"?T.spaces.after=this.parseSpace(this.currToken[1]):this.currToken[0]==="combinator"?T.value=this.currToken[1]:this.currToken[0]==="space"&&(T.value=this.parseSpace(this.currToken[1]," ")),this.position++;return this.newNode(T)},j.prototype.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}var T=new f.default;this.current.parent.append(T),this.current=T,this.position++},j.prototype.comment=function(){var T=new g.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(T),this.position++},j.prototype.error=function(T){throw new this.input.error(T)},j.prototype.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.")},j.prototype.missingParenthesis=function(){return this.error("Expected opening parenthesis.")},j.prototype.missingSquareBracket=function(){return this.error("Expected opening square bracket.")},j.prototype.namespace=function(){var T=this.prevToken&&this.prevToken[1]||!0;if(this.nextToken[0]==="word")return this.position++,this.word(T);if(this.nextToken[0]==="*")return this.position++,this.universal(T)},j.prototype.nesting=function(){this.newNode(new I.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++},j.prototype.parentheses=function(){var T=this.current.last;if(T&&T.type===fe.PSEUDO){var _=new f.default,L=this.current;T.append(_),this.current=_;var W=1;for(this.position++;this.position<this.tokens.length&&W;)this.currToken[0]==="("&&W++,this.currToken[0]===")"&&W--,W?this.parse():(_.parent.source.end.line=this.currToken[2],_.parent.source.end.column=this.currToken[3],this.position++);W&&this.error("Expected closing parenthesis."),this.current=L}else{var F=1;for(this.position++,T.value+="(";this.position<this.tokens.length&&F;)this.currToken[0]==="("&&F++,this.currToken[0]===")"&&F--,T.value+=this.parseParenthesisToken(this.currToken),this.position++;F&&this.error("Expected closing parenthesis.")}},j.prototype.pseudo=function(){for(var T=this,_="",L=this.currToken;this.currToken&&this.currToken[0]===":";)_+=this.currToken[1],this.position++;if(!this.currToken)return this.error("Expected pseudo-class or pseudo-element");if(this.currToken[0]==="word"){var W=void 0;this.splitWord(!1,function(F,Z){_+=F,W=new O.default({value:_,source:{start:{line:L[2],column:L[3]},end:{line:T.currToken[4],column:T.currToken[5]}},sourceIndex:L[4]}),T.newNode(W),Z>1&&T.nextToken&&T.nextToken[0]==="("&&T.error("Misplaced parenthesis.")})}else this.error('Unexpected "'+this.currToken[0]+'" found.')},j.prototype.space=function(){var T=this.currToken;this.position===0||this.prevToken[0]===","||this.prevToken[0]==="("?(this.spaces=this.parseSpace(T[1]),this.position++):this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.spaces.after=this.parseSpace(T[1]),this.position++):this.combinator()},j.prototype.string=function(){var T=this.currToken;this.newNode(new S.default({value:this.currToken[1],source:{start:{line:T[2],column:T[3]},end:{line:T[4],column:T[5]}},sourceIndex:T[6]})),this.position++},j.prototype.universal=function(T){var _=this.nextToken;if(_&&_[1]==="|")return this.position++,this.namespace();this.newNode(new N.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]}),T),this.position++},j.prototype.splitWord=function(T,_){for(var L=this,W=this.nextToken,F=this.currToken[1];W&&W[0]==="word";){this.position++;var Z=this.currToken[1];if(F+=Z,Z.lastIndexOf("\\")===Z.length-1){var ne=this.nextToken;ne&&ne[0]==="space"&&(F+=this.parseSpace(ne[1]," "),this.position++)}W=this.nextToken}var oe=(0,c.default)(F,"."),Le=(0,c.default)(F,"#"),Wt=(0,c.default)(F,"#{");Wt.length&&(Le=Le.filter(function(ie){return!~Wt.indexOf(ie)}));var me=(0,se.default)((0,m.default)((0,l.default)([[0],oe,Le])));me.forEach(function(ie,Se){var We=me[Se+1]||F.length,ze=F.slice(ie,We);if(Se===0&&_)return _.call(L,ze,me.length);var qe=void 0;~oe.indexOf(ie)?qe=new d.default({value:ze.slice(1),source:{start:{line:L.currToken[2],column:L.currToken[3]+ie},end:{line:L.currToken[4],column:L.currToken[3]+(We-1)}},sourceIndex:L.currToken[6]+me[Se]}):~Le.indexOf(ie)?qe=new v.default({value:ze.slice(1),source:{start:{line:L.currToken[2],column:L.currToken[3]+ie},end:{line:L.currToken[4],column:L.currToken[3]+(We-1)}},sourceIndex:L.currToken[6]+me[Se]}):qe=new x.default({value:ze,source:{start:{line:L.currToken[2],column:L.currToken[3]+ie},end:{line:L.currToken[4],column:L.currToken[3]+(We-1)}},sourceIndex:L.currToken[6]+me[Se]}),L.newNode(qe,T)}),this.position++},j.prototype.word=function(T){var _=this.nextToken;return _&&_[1]==="|"?(this.position++,this.namespace()):this.splitWord(T)},j.prototype.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.root},j.prototype.parse=function(T){switch(this.currToken[0]){case"space":this.space();break;case"comment":this.comment();break;case"(":this.parentheses();break;case")":T&&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}},j.prototype.parseNamespace=function(T){if(this.lossy&&typeof T=="string"){var _=T.trim();return _.length?_:!0}return T},j.prototype.parseSpace=function(T,_){return this.lossy?_||"":T},j.prototype.parseValue=function(T){return this.lossy&&T&&typeof T=="string"?T.trim():T},j.prototype.parseParenthesisToken=function(T){return this.lossy?T[0]==="space"?this.parseSpace(T[1]," "):this.parseValue(T[1]):T[1]},j.prototype.newNode=function(T,_){return _&&(T.namespace=this.parseNamespace(_)),this.spaces&&(T.spaces.before=this.spaces,this.spaces=""),this.current.append(T)},o(j,[{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]}}]),j}();e.default=st,r.exports=e.default}),Ls=E((e,r)=>{"use strict";e.__esModule=!0;var o=function(){function m(n,s){for(var t=0;t<s.length;t++){var f=s[t];f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(n,f.key,f)}}return function(n,s,t){return s&&m(n.prototype,s),t&&m(n,t),n}}(),i=Ns(),l=a(i);function a(m){return m&&m.__esModule?m:{default:m}}function c(m,n){if(!(m instanceof n))throw new TypeError("Cannot call a class as a function")}var u=function(){function m(n){return c(this,m),this.func=n||function(){},this}return m.prototype.process=function(n){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=new l.default({css:n,error:function(f){throw new Error(f)},options:s});return this.res=t,this.func(t),this},o(m,[{key:"result",get:function(){return String(this.res)}}]),m}();e.default=u,r.exports=e.default}),ee=E((e,r)=>{"use strict";var o=function(i,l){let a=new i.constructor;for(let c in i){if(!i.hasOwnProperty(c))continue;let u=i[c],m=typeof u;c==="parent"&&m==="object"?l&&(a[c]=l):c==="source"?a[c]=u:u instanceof Array?a[c]=u.map(n=>o(n,a)):c!=="before"&&c!=="after"&&c!=="between"&&c!=="semicolon"&&(m==="object"&&u!==null&&(u=o(u)),a[c]=u)}return a};r.exports=class{constructor(i){i=i||{},this.raws={before:"",after:""};for(let l in i)this[l]=i[l]}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(i){i=i||{};let l=o(this);for(let a in i)l[a]=i[a];return l}cloneBefore(i){i=i||{};let l=this.clone(i);return this.parent.insertBefore(this,l),l}cloneAfter(i){i=i||{};let l=this.clone(i);return this.parent.insertAfter(this,l),l}replaceWith(){let i=Array.prototype.slice.call(arguments);if(this.parent){for(let l of i)this.parent.insertBefore(this,l);this.remove()}return this}moveTo(i){return this.cleanRaws(this.root()===i.root()),this.remove(),i.append(this),this}moveBefore(i){return this.cleanRaws(this.root()===i.root()),this.remove(),i.parent.insertBefore(i,this),this}moveAfter(i){return this.cleanRaws(this.root()===i.root()),this.remove(),i.parent.insertAfter(i,this),this}next(){let i=this.parent.index(this);return this.parent.nodes[i+1]}prev(){let i=this.parent.index(this);return this.parent.nodes[i-1]}toJSON(){let i={};for(let l in this){if(!this.hasOwnProperty(l)||l==="parent")continue;let a=this[l];a instanceof Array?i[l]=a.map(c=>typeof c=="object"&&c.toJSON?c.toJSON():c):typeof a=="object"&&a.toJSON?i[l]=a.toJSON():i[l]=a}return i}root(){let i=this;for(;i.parent;)i=i.parent;return i}cleanRaws(i){delete this.raws.before,delete this.raws.after,i||delete this.raws.between}positionInside(i){let l=this.toString(),a=this.source.start.column,c=this.source.start.line;for(let u=0;u<i;u++)l[u]===`
26
- `?(a=1,c+=1):a+=1;return{line:c,column:a}}positionBy(i){let l=this.source.start;if(Object(i).index)l=this.positionInside(i.index);else if(Object(i).word){let a=this.toString().indexOf(i.word);a!==-1&&(l=this.positionInside(a))}return l}}}),Q=E((e,r)=>{"use strict";var o=ee(),i=class extends o{constructor(l){super(l),this.nodes||(this.nodes=[])}push(l){return l.parent=this,this.nodes.push(l),this}each(l){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let a=this.lastEach,c,u;if(this.indexes[a]=0,!!this.nodes){for(;this.indexes[a]<this.nodes.length&&(c=this.indexes[a],u=l(this.nodes[c],c),u!==!1);)this.indexes[a]+=1;return delete this.indexes[a],u}}walk(l){return this.each((a,c)=>{let u=l(a,c);return u!==!1&&a.walk&&(u=a.walk(l)),u})}walkType(l,a){if(!l||!a)throw new Error("Parameters {type} and {callback} are required.");let c=typeof l=="function";return this.walk((u,m)=>{if(c&&u instanceof l||!c&&u.type===l)return a.call(this,u,m)})}append(l){return l.parent=this,this.nodes.push(l),this}prepend(l){return l.parent=this,this.nodes.unshift(l),this}cleanRaws(l){if(super.cleanRaws(l),this.nodes)for(let a of this.nodes)a.cleanRaws(l)}insertAfter(l,a){let c=this.index(l),u;this.nodes.splice(c+1,0,a);for(let m in this.indexes)u=this.indexes[m],c<=u&&(this.indexes[m]=u+this.nodes.length);return this}insertBefore(l,a){let c=this.index(l),u;this.nodes.splice(c,0,a);for(let m in this.indexes)u=this.indexes[m],c<=u&&(this.indexes[m]=u+this.nodes.length);return this}removeChild(l){l=this.index(l),this.nodes[l].parent=void 0,this.nodes.splice(l,1);let a;for(let c in this.indexes)a=this.indexes[c],a>=l&&(this.indexes[c]=a-1);return this}removeAll(){for(let l of this.nodes)l.parent=void 0;return this.nodes=[],this}every(l){return this.nodes.every(l)}some(l){return this.nodes.some(l)}index(l){return typeof l=="number"?l:this.nodes.indexOf(l)}get first(){if(this.nodes)return this.nodes[0]}get last(){if(this.nodes)return this.nodes[this.nodes.length-1]}toString(){let l=this.nodes.map(String).join("");return this.value&&(l=this.value+l),this.raws.before&&(l=this.raws.before+l),this.raws.after&&(l+=this.raws.after),l}};i.registerWalker=l=>{let a="walk"+l.name;a.lastIndexOf("s")!==a.length-1&&(a+="s"),!i.prototype[a]&&(i.prototype[a]=function(c){return this.walkType(l,c)})},r.exports=i}),Ws=E((e,r)=>{"use strict";var o=Q();r.exports=class extends o{constructor(i){super(i),this.type="root"}}}),zs=E((e,r)=>{"use strict";var o=Q();r.exports=class extends o{constructor(i){super(i),this.type="value",this.unbalanced=0}}}),qs=E((e,r)=>{"use strict";var o=Q(),i=class extends o{constructor(l){super(l),this.type="atword"}toString(){let l=this.quoted?this.raws.quote:"";return[this.raws.before,"@",String.prototype.toString.call(this.value),this.raws.after].join("")}};o.registerWalker(i),r.exports=i}),Fs=E((e,r)=>{"use strict";var o=Q(),i=ee(),l=class extends i{constructor(a){super(a),this.type="colon"}};o.registerWalker(l),r.exports=l}),Ds=E((e,r)=>{"use strict";var o=Q(),i=ee(),l=class extends i{constructor(a){super(a),this.type="comma"}};o.registerWalker(l),r.exports=l}),Us=E((e,r)=>{"use strict";var o=Q(),i=ee(),l=class extends i{constructor(a){super(a),this.type="comment",this.inline=Object(a).inline||!1}toString(){return[this.raws.before,this.inline?"//":"/*",String(this.value),this.inline?"":"*/",this.raws.after].join("")}};o.registerWalker(l),r.exports=l}),Bs=E((e,r)=>{"use strict";var o=Q(),i=class extends o{constructor(l){super(l),this.type="func",this.unbalanced=-1}};o.registerWalker(i),r.exports=i}),Vs=E((e,r)=>{"use strict";var o=Q(),i=ee(),l=class extends i{constructor(a){super(a),this.type="number",this.unit=Object(a).unit||""}toString(){return[this.raws.before,String(this.value),this.unit,this.raws.after].join("")}};o.registerWalker(l),r.exports=l}),Gs=E((e,r)=>{"use strict";var o=Q(),i=ee(),l=class extends i{constructor(a){super(a),this.type="operator"}};o.registerWalker(l),r.exports=l}),Hs=E((e,r)=>{"use strict";var o=Q(),i=ee(),l=class extends i{constructor(a){super(a),this.type="paren",this.parenType=""}};o.registerWalker(l),r.exports=l}),Js=E((e,r)=>{"use strict";var o=Q(),i=ee(),l=class extends i{constructor(a){super(a),this.type="string"}toString(){let a=this.quoted?this.raws.quote:"";return[this.raws.before,a,this.value+"",a,this.raws.after].join("")}};o.registerWalker(l),r.exports=l}),Qs=E((e,r)=>{"use strict";var o=Q(),i=ee(),l=class extends i{constructor(a){super(a),this.type="word"}};o.registerWalker(l),r.exports=l}),Ks=E((e,r)=>{"use strict";var o=Q(),i=ee(),l=class extends i{constructor(a){super(a),this.type="unicode-range"}};o.registerWalker(l),r.exports=l}),Ys=E((e,r)=>{"use strict";var o=class extends Error{constructor(i){super(i),this.name=this.constructor.name,this.message=i||"An error ocurred while tokzenizing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(i).stack}};r.exports=o}),Zs=E((e,r)=>{"use strict";var o=/[ \n\t\r\{\(\)'"\\;,/]/g,i=/[ \n\t\r\(\)\{\}\*:;@!&'"\+\|~>,\[\]\\]|\/(?=\*)/g,l=/[ \n\t\r\(\)\{\}\*:;@!&'"\-\+\|~>,\[\]\\]|\//g,a=/^[a-z0-9]/i,c=/^[a-f0-9?\-]/i,u=Ys();r.exports=function(m,n){n=n||{};let s=[],t=m.valueOf(),f=t.length,h=-1,d=1,p=0,g=0,y=null,v,w,x,b,S,k,O,C,A,P,N,M;function R(I){let z=`Unclosed ${I} at line: ${d}, column: ${p-h}, token: ${p}`;throw new u(z)}function $(){let I=`Syntax error at line: ${d}, column: ${p-h}, token: ${p}`;throw new u(I)}for(;p<f;){switch(v=t.charCodeAt(p),v===10&&(h=p,d+=1),v){case 10:case 32:case 9:case 13:case 12:w=p;do w+=1,v=t.charCodeAt(w),v===10&&(h=w,d+=1);while(v===32||v===10||v===9||v===13||v===12);s.push(["space",t.slice(p,w),d,p-h,d,w-h,p]),p=w-1;break;case 58:w=p+1,s.push(["colon",t.slice(p,w),d,p-h,d,w-h,p]),p=w-1;break;case 44:w=p+1,s.push(["comma",t.slice(p,w),d,p-h,d,w-h,p]),p=w-1;break;case 123:s.push(["{","{",d,p-h,d,w-h,p]);break;case 125:s.push(["}","}",d,p-h,d,w-h,p]);break;case 40:g++,y=!y&&g===1&&s.length>0&&s[s.length-1][0]==="word"&&s[s.length-1][1]==="url",s.push(["(","(",d,p-h,d,w-h,p]);break;case 41:g--,y=y&&g>0,s.push([")",")",d,p-h,d,w-h,p]);break;case 39:case 34:x=v===39?"'":'"',w=p;do for(P=!1,w=t.indexOf(x,w+1),w===-1&&R("quote",x),N=w;t.charCodeAt(N-1)===92;)N-=1,P=!P;while(P);s.push(["string",t.slice(p,w+1),d,p-h,d,w-h,p]),p=w;break;case 64:o.lastIndex=p+1,o.test(t),o.lastIndex===0?w=t.length-1:w=o.lastIndex-2,s.push(["atword",t.slice(p,w+1),d,p-h,d,w-h,p]),p=w;break;case 92:w=p,v=t.charCodeAt(w+1),O&&v!==47&&v!==32&&v!==10&&v!==9&&v!==13&&v!==12&&(w+=1),s.push(["word",t.slice(p,w+1),d,p-h,d,w-h,p]),p=w;break;case 43:case 45:case 42:w=p+1,M=t.slice(p+1,w+1);let I=t.slice(p-1,p);if(v===45&&M.charCodeAt(0)===45){w++,s.push(["word",t.slice(p,w),d,p-h,d,w-h,p]),p=w-1;break}s.push(["operator",t.slice(p,w),d,p-h,d,w-h,p]),p=w-1;break;default:if(v===47&&(t.charCodeAt(p+1)===42||n.loose&&!y&&t.charCodeAt(p+1)===47)){if(t.charCodeAt(p+1)===42)w=t.indexOf("*/",p+2)+1,w===0&&R("comment","*/");else{let z=t.indexOf(`
27
- `,p+2);w=z!==-1?z-1:f}k=t.slice(p,w+1),b=k.split(`
28
- `),S=b.length-1,S>0?(C=d+S,A=w-b[S].length):(C=d,A=h),s.push(["comment",k,d,p-h,C,w-A,p]),h=A,d=C,p=w}else if(v===35&&!a.test(t.slice(p+1,p+2)))w=p+1,s.push(["#",t.slice(p,w),d,p-h,d,w-h,p]),p=w-1;else if((v===117||v===85)&&t.charCodeAt(p+1)===43){w=p+2;do w+=1,v=t.charCodeAt(w);while(w<f&&c.test(t.slice(w,w+1)));s.push(["unicoderange",t.slice(p,w),d,p-h,d,w-h,p]),p=w-1}else if(v===47)w=p+1,s.push(["operator",t.slice(p,w),d,p-h,d,w-h,p]),p=w-1;else{let z=i;if(v>=48&&v<=57&&(z=l),z.lastIndex=p+1,z.test(t),z.lastIndex===0?w=t.length-1:w=z.lastIndex-2,z===l||v===46){let se=t.charCodeAt(w),te=t.charCodeAt(w+1),re=t.charCodeAt(w+2);(se===101||se===69)&&(te===45||te===43)&&re>=48&&re<=57&&(l.lastIndex=w+2,l.test(t),l.lastIndex===0?w=t.length-1:w=l.lastIndex-2)}s.push(["word",t.slice(p,w+1),d,p-h,d,w-h,p]),p=w}break}p++}return s}}),Xs=E((e,r)=>{"use strict";var o=class extends Error{constructor(i){super(i),this.name=this.constructor.name,this.message=i||"An error ocurred while parsing.",typeof Error.captureStackTrace=="function"?Error.captureStackTrace(this,this.constructor):this.stack=new Error(i).stack}};r.exports=o}),en=E((e,r)=>{"use strict";var o=Ws(),i=zs(),l=qs(),a=Fs(),c=Ds(),u=Us(),m=Bs(),n=Vs(),s=Gs(),t=Hs(),f=Js(),h=Qs(),d=Ks(),p=Zs(),g=ir(),y=ar(),v=ur(),w=Xs();function x(b){return b.sort((S,k)=>S-k)}r.exports=class{constructor(b,S){let k={loose:!1};this.cache=[],this.input=b,this.options=Object.assign({},k,S),this.position=0,this.unbalanced=0,this.root=new o;let O=new i;this.root.append(O),this.current=O,this.tokens=p(b,this.options)}parse(){return this.loop()}colon(){let b=this.currToken;this.newNode(new a({value:b[1],source:{start:{line:b[2],column:b[3]},end:{line:b[4],column:b[5]}},sourceIndex:b[6]})),this.position++}comma(){let b=this.currToken;this.newNode(new c({value:b[1],source:{start:{line:b[2],column:b[3]},end:{line:b[4],column:b[5]}},sourceIndex:b[6]})),this.position++}comment(){let b=!1,S=this.currToken[1].replace(/\/\*|\*\//g,""),k;this.options.loose&&S.startsWith("//")&&(S=S.substring(2),b=!0),k=new u({value:S,inline:b,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(k),this.position++}error(b,S){throw new w(b+` 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 b=this.currToken[1],S;if(b==="+"||b==="-"){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 s({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 b=1,S=this.position+1,k=this.currToken,O;for(;S<this.tokens.length&&b;){let C=this.tokens[S];C[0]==="("&&b++,C[0]===")"&&b--,S++}if(b&&this.error("Expected closing parenthesis",k),O=this.current.last,O&&O.type==="func"&&O.unbalanced<0&&(O.unbalanced=0,this.current=O),this.current.unbalanced++,this.newNode(new t({value:k[1],source:{start:{line:k[2],column:k[3]},end:{line:k[4],column:k[5]}},sourceIndex:k[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 C=this.nextToken,A=this.currToken[1],P={line:this.currToken[2],column:this.currToken[3]};for(;C&&C[0]!==")"&&this.current.unbalanced;)this.position++,A+=this.currToken[1],C=this.nextToken;this.position!==this.tokens.length-1&&(this.position++,this.newNode(new h({value:A,source:{start:P,end:{line:this.currToken[4],column:this.currToken[5]}},sourceIndex:this.currToken[6]})))}}parenClose(){let b=this.currToken;this.newNode(new t({value:b[1],source:{start:{line:b[2],column:b[3]},end:{line:b[4],column:b[5]}},sourceIndex:b[6]})),this.position++,!(this.position>=this.tokens.length-1&&!this.current.unbalanced)&&(this.current.unbalanced--,this.current.unbalanced<0&&this.error("Expected opening parenthesis",b),!this.current.unbalanced&&this.cache.length&&(this.current=this.cache.pop()))}space(){let b=this.currToken;this.position===this.tokens.length-1||this.nextToken[0]===","||this.nextToken[0]===")"?(this.current.last.raws.after+=b[1],this.position++):(this.spaces=b[1],this.position++)}unicodeRange(){let b=this.currToken;this.newNode(new d({value:b[1],source:{start:{line:b[2],column:b[3]},end:{line:b[4],column:b[5]}},sourceIndex:b[6]})),this.position++}splitWord(){let b=this.nextToken,S=this.currToken[1],k=/^[\+\-]?((\d+(\.\d*)?)|(\.\d+))([eE][\+\-]?\d+)?/,O=/^(?!\#([a-z0-9]+))[\#\{\}]/gi,C,A;if(!O.test(S))for(;b&&b[0]==="word";){this.position++;let P=this.currToken[1];S+=P,b=this.nextToken}C=y(S,"@"),A=x(v(g([[0],C]))),A.forEach((P,N)=>{let M=A[N+1]||S.length,R=S.slice(P,M),$;if(~C.indexOf(P))$=new l({value:R.slice(1),source:{start:{line:this.currToken[2],column:this.currToken[3]+P},end:{line:this.currToken[4],column:this.currToken[3]+(M-1)}},sourceIndex:this.currToken[6]+A[N]});else if(k.test(this.currToken[1])){let I=R.replace(k,"");$=new n({value:R.replace(I,""),source:{start:{line:this.currToken[2],column:this.currToken[3]+P},end:{line:this.currToken[4],column:this.currToken[3]+(M-1)}},sourceIndex:this.currToken[6]+A[N],unit:I})}else $=new(b&&b[0]==="("?m:h)({value:R,source:{start:{line:this.currToken[2],column:this.currToken[3]+P},end:{line:this.currToken[4],column:this.currToken[3]+(M-1)}},sourceIndex:this.currToken[6]+A[N]}),$.type==="word"?($.isHex=/^#(.+)/.test(R),$.isColor=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i.test(R)):this.cache.push(this.current);this.newNode($)}),this.position++}string(){let b=this.currToken,S=this.currToken[1],k=/^(\"|\')/,O=k.test(S),C="",A;O&&(C=S.match(k)[0],S=S.slice(1,S.length-1)),A=new f({value:S,source:{start:{line:b[2],column:b[3]},end:{line:b[4],column:b[5]}},sourceIndex:b[6],quoted:O}),A.raws.quote=C,this.newNode(A),this.position++}word(){return this.splitWord()}newNode(b){return this.spaces&&(b.raws.before+=this.spaces,this.spaces=""),this.current.append(b)}get currToken(){return this.tokens[this.position]}get nextToken(){return this.tokens[this.position+1]}get prevToken(){return this.tokens[this.position-1]}}}),lr={};Ht(lr,{languages:()=>ei,options:()=>si,parsers:()=>Dr,printers:()=>Li});var tn=(e,r,o,i)=>{if(!(e&&r==null))return r.replaceAll?r.replaceAll(o,i):o.global?r.replace(o,i):r.split(o).join(i)},U=tn,cr="string",pr="array",hr="cursor",Ct="indent",_t="align",fr="trim",Et="group",At="fill",et="if-break",dr="indent-if-break",mr="line-suffix",vr="line-suffix-boundary",Oe="line",yr="label",jt="break-parent",gr=new Set([hr,Ct,_t,fr,Et,At,et,dr,mr,vr,Oe,yr,jt]);function rn(e){if(typeof e=="string")return cr;if(Array.isArray(e))return pr;if(!e)return;let{type:r}=e;if(gr.has(r))return r}var wr=rn,sn=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function nn(e){let r=e===null?"null":typeof e;if(r!=="string"&&r!=="object")return`Unexpected doc '${r}',
29
- Expected it to be 'string' or 'object'.`;if(wr(e))throw new Error("doc is valid.");let o=Object.prototype.toString.call(e);if(o!=="[object Object]")return`Unexpected doc '${o}'.`;let i=sn([...gr].map(l=>`'${l}'`));return`Unexpected doc.type '${e.type}'.
30
- Expected it to be ${i}.`}var on=class extends Error{name="InvalidDocError";constructor(e){super(nn(e)),this.doc=e}},an=on,br=()=>{},be=br,It=br;function G(e){return be(e),{type:Ct,contents:e}}function xr(e,r){return be(r),{type:_t,contents:r,n:e}}function K(e,r={}){return be(e),It(r.expandedStates,!0),{type:Et,id:r.id,contents:e,break:!!r.shouldBreak,expandedStates:r.expandedStates}}function un(e){return xr({type:"root"},e)}function Je(e){return xr(-1,e)}function lt(e){return It(e),{type:At,parts:e}}function kr(e,r="",o={}){return be(e),r!==""&&be(r),{type:et,breakContents:e,flatContents:r,groupId:o.groupId}}var Pt={type:jt},ln={type:Oe,hard:!0},B={type:Oe},Y={type:Oe,soft:!0},D=[ln,Pt];function ce(e,r){be(e),It(r);let o=[];for(let i=0;i<r.length;i++)i!==0&&o.push(e),o.push(r[i]);return o}var cn=(e,r,o)=>{if(!(e&&r==null))return Array.isArray(r)||typeof r=="string"?r[o<0?r.length+o:o]:r.at(o)},Ie=cn;function pn(e,r){if(typeof e=="string")return r(e);let o=new Map;return i(e);function i(a){if(o.has(a))return o.get(a);let c=l(a);return o.set(a,c),c}function l(a){switch(wr(a)){case pr:return r(a.map(i));case At:return r({...a,parts:a.parts.map(i)});case et:return r({...a,breakContents:i(a.breakContents),flatContents:i(a.flatContents)});case Et:{let{expandedStates:c,contents:u}=a;return c?(c=c.map(i),u=c[0]):u=i(u),r({...a,contents:u,expandedStates:c})}case _t:case Ct:case dr:case yr:case mr:return r({...a,contents:i(a.contents)});case cr:case hr:case fr:case vr:case Oe:case jt:return r(a);default:throw new an(a)}}}function hn(e){return e.type===Oe&&!e.hard?e.soft?"":" ":e.type===et?e.flatContents:e}function fn(e){return pn(e,hn)}function dn(e){return Array.isArray(e)&&e.length>0}var tt=dn,Fe="'",zt='"';function mn(e,r){let o=r===!0||r===Fe?Fe:zt,i=o===Fe?zt:Fe,l=0,a=0;for(let c of e)c===o?l++:c===i&&a++;return l>a?i:o}var vn=mn;function yn(e,r,o){let i=r==='"'?"'":'"',l=U(!1,e,/\\(.)|(["'])/gsu,(a,c,u)=>c===i?c:u===r?"\\"+u:u||(o&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(c)?c:"\\"+c));return r+l+r}var gn=yn;function wn(e,r){let o=e.slice(1,-1),i=r.parser==="json"||r.parser==="jsonc"||r.parser==="json5"&&r.quoteProps==="preserve"&&!r.singleQuote?'"':r.__isInHtmlAttribute?"'":vn(o,r.singleQuote);return gn(o,i,!(r.parser==="css"||r.parser==="less"||r.parser==="scss"||r.__embeddedInHtml))}var Or=wn,bn=class extends Error{name="UnexpectedNodeError";constructor(e,r,o="type"){super(`Unexpected ${r} node ${o}: ${JSON.stringify(e[o])}.`),this.node=e}},xn=bn;function kn(e){return e?.type==="front-matter"}var Qe=kn,On=new Set(["raw","raws","sourceIndex","source","before","after","trailingComma","spaces"]);function Tr(e,r,o){if(Qe(e)&&e.language==="yaml"&&delete r.value,e.type==="css-comment"&&o.type==="css-root"&&o.nodes.length>0&&((o.nodes[0]===e||Qe(o.nodes[0])&&o.nodes[1]===e)&&(delete r.text,/^\*\s*@(?:format|prettier)\s*$/u.test(e.text))||o.type==="css-root"&&Ie(!1,o.nodes,-1)===e))return null;if(e.type==="value-root"&&delete r.text,(e.type==="media-query"||e.type==="media-query-list"||e.type==="media-feature-expression")&&delete r.value,e.type==="css-rule"&&delete r.params,(e.type==="media-feature"||e.type==="media-keyword"||e.type==="media-type"||e.type==="media-unknown"||e.type==="media-url"||e.type==="media-value"||e.type==="selector-attribute"||e.type==="selector-string"||e.type==="selector-class"||e.type==="selector-combinator"||e.type==="value-string")&&e.value&&(r.value=Tn(e.value)),e.type==="selector-combinator"&&(r.value=U(!1,r.value,/\s+/gu," ")),e.type==="media-feature"&&(r.value=U(!1,r.value," ","")),(e.type==="value-word"&&(e.isColor&&e.isHex||["initial","inherit","unset","revert"].includes(e.value.toLowerCase()))||e.type==="media-feature"||e.type==="selector-root-invalid"||e.type==="selector-pseudo")&&(r.value=r.value.toLowerCase()),e.type==="css-decl"&&(r.prop=e.prop.toLowerCase()),(e.type==="css-atrule"||e.type==="css-import")&&(r.name=e.name.toLowerCase()),e.type==="value-number"&&(r.unit=e.unit.toLowerCase()),e.type==="value-unknown"&&(r.value=U(!1,r.value,/;$/gu,"")),e.type==="selector-attribute"&&(r.attribute=e.attribute.trim(),e.namespace&&typeof e.namespace=="string"&&(r.namespace=e.namespace.trim()||!0),e.value&&(r.value=U(!1,r.value.trim(),/^["']|["']$/gu,""),delete r.quoted)),(e.type==="media-value"||e.type==="media-type"||e.type==="value-number"||e.type==="selector-root-invalid"||e.type==="selector-class"||e.type==="selector-combinator"||e.type==="selector-tag")&&e.value&&(r.value=U(!1,r.value,/([\d+.e-]+)([a-z]*)/giu,(i,l,a)=>{let c=Number(l);return Number.isNaN(c)?i:c+a.toLowerCase()})),e.type==="selector-tag"){let i=r.value.toLowerCase();["from","to"].includes(i)&&(r.value=i)}if(e.type==="css-atrule"&&e.name.toLowerCase()==="supports"&&delete r.value,e.type==="selector-unknown"&&delete r.value,e.type==="value-comma_group"){let i=e.groups.findIndex(l=>l.type==="value-number"&&l.unit==="...");i!==-1&&(r.groups[i].unit="",r.groups.splice(i+1,0,{type:"value-word",value:"...",isColor:!1,isHex:!1}))}if(e.type==="value-comma_group"&&e.groups.some(i=>i.type==="value-atword"&&i.value.endsWith("[")||i.type==="value-word"&&i.value.startsWith("]")))return{type:"value-atword",value:e.groups.map(i=>i.value).join(""),group:{open:null,close:null,groups:[],type:"value-paren_group"}}}Tr.ignoredProperties=On;function Tn(e){return U(!1,U(!1,e,"'",'"'),/\\([^\da-f])/giu,"$1")}var Sn=Tr;async function Cn(e,r){if(e.language==="yaml"){let o=e.value.trim(),i=o?await r(o,{parser:"yaml"}):"";return un([e.startDelimiter,e.explicitLanguage,D,i,i?D:"",e.endDelimiter])}}var _n=Cn;function Sr(e){let{node:r}=e;if(r.type==="front-matter")return async o=>{let i=await _n(r,o);return i?[i,D]:void 0}}Sr.getVisitorKeys=e=>e.type==="css-root"?["frontMatter"]:[];var En=Sr,Ce=null;function je(e){if(Ce!==null&&typeof Ce.property){let r=Ce;return Ce=je.prototype=null,r}return Ce=je.prototype=e??Object.create(null),new je}var An=10;for(let e=0;e<=An;e++)je();function jn(e){return je(e)}function In(e,r="type"){jn(e);function o(i){let l=i[r],a=e[l];if(!Array.isArray(a))throw Object.assign(new Error(`Missing visitor keys for '${l}'.`),{node:i});return a}return o}var Pn=In,$n={"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":[]},Mn=$n,Rn=Pn(Mn),Nn=Rn;function Ln(e,r){let o=0;for(let i=0;i<e.line-1;++i)o=r.indexOf(`
31
- `,o)+1;return o+e.column}var Cr=Ln;function rt(e){return(r,o,i)=>{let l=!!(i!=null&&i.backwards);if(o===!1)return!1;let{length:a}=r,c=o;for(;c>=0&&c<a;){let u=r.charAt(c);if(e instanceof RegExp){if(!e.test(u))return c}else if(!e.includes(u))return c;l?c--:c++}return c===-1||c===a?c:!1}}var Wi=rt(/\s/u),_r=rt(" "),Wn=rt(",; "),Er=rt(/[^\n\r]/u);function Ar(e,r){var o,i,l;if(typeof((i=(o=e.source)==null?void 0:o.start)==null?void 0:i.offset)=="number")return e.source.start.offset;if(typeof e.sourceIndex=="number")return e.sourceIndex;if((l=e.source)!=null&&l.start)return Cr(e.source.start,r);throw Object.assign(new Error("Can not locate node."),{node:e})}function $t(e,r){var o,i;if(e.type==="css-comment"&&e.inline)return Er(r,e.source.startOffset);if(typeof((i=(o=e.source)==null?void 0:o.end)==null?void 0:i.offset)=="number")return e.source.end.offset;if(e.source){if(e.source.end)return Cr(e.source.end,r);if(tt(e.nodes))return $t(Ie(!1,e.nodes,-1),r)}return null}function jr(e,r){e.source&&(e.source.startOffset=Ar(e,r),e.source.endOffset=$t(e,r));for(let o in e){let i=e[o];o==="source"||!i||typeof i!="object"||(i.type==="value-root"||i.type==="value-unknown"?Ir(i,zn(e),i.text||i.value):jr(i,r))}}function Ir(e,r,o){e.source&&(e.source.startOffset=Ar(e,o)+r,e.source.endOffset=$t(e,o)+r);for(let i in e){let l=e[i];i==="source"||!l||typeof l!="object"||Ir(l,r,o)}}function zn(e){var r;let o=e.source.startOffset;return typeof e.prop=="string"&&(o+=e.prop.length),e.type==="css-atrule"&&typeof e.name=="string"&&(o+=1+e.name.length+e.raws.afterName.match(/^\s*:?\s*/u)[0].length),e.type!=="css-atrule"&&typeof((r=e.raws)==null?void 0:r.between)=="string"&&(o+=e.raws.between.length),o}function qn(e){let r="initial",o="initial",i,l=!1,a=[];for(let c=0;c<e.length;c++){let u=e[c];switch(r){case"initial":if(u==="'"){r="single-quotes";continue}if(u==='"'){r="double-quotes";continue}if((u==="u"||u==="U")&&e.slice(c,c+4).toLowerCase()==="url("){r="url",c+=3;continue}if(u==="*"&&e[c-1]==="/"){r="comment-block";continue}if(u==="/"&&e[c-1]==="/"){r="comment-inline",i=c-1;continue}continue;case"single-quotes":if(u==="'"&&e[c-1]!=="\\"&&(r=o,o="initial"),u===`
32
- `||u==="\r")return e;continue;case"double-quotes":if(u==='"'&&e[c-1]!=="\\"&&(r=o,o="initial"),u===`
33
- `||u==="\r")return e;continue;case"url":if(u===")"&&(r="initial"),u===`
34
- `||u==="\r")return e;if(u==="'"){r="single-quotes",o="url";continue}if(u==='"'){r="double-quotes",o="url";continue}continue;case"comment-block":u==="/"&&e[c-1]==="*"&&(r="initial");continue;case"comment-inline":(u==='"'||u==="'"||u==="*")&&(l=!0),(u===`
35
- `||u==="\r")&&(l&&a.push([i,c]),r="initial",l=!1);continue}}for(let[c,u]of a)e=e.slice(0,c)+U(!1,e.slice(c,u),/["'*]/gu," ")+e.slice(u);return e}function J(e){var r;return(r=e.source)==null?void 0:r.startOffset}function H(e){var r;return(r=e.source)==null?void 0:r.endOffset}var Fn=/\*\/$/,Dn=/^\/\*\*?/,Pr=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,Un=/(^|\s+)\/\/([^\n\r]*)/g,qt=/^(\r?\n)+/,Bn=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,Ft=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,Vn=/(\r?\n|^) *\* ?/g,$r=[];function Gn(e){let r=e.match(Pr);return r?r[0].trimStart():""}function Hn(e){let r=e.match(Pr),o=r?.[0];return o==null?e:e.slice(o.length)}function Jn(e){let r=`
36
- `;e=U(!1,e.replace(Dn,"").replace(Fn,""),Vn,"$1");let o="";for(;o!==e;)o=e,e=U(!1,e,Bn,`${r}$1 $2${r}`);e=e.replace(qt,"").trimEnd();let i=Object.create(null),l=U(!1,e,Ft,"").replace(qt,"").trimEnd(),a;for(;a=Ft.exec(e);){let c=U(!1,a[2],Un,"");if(typeof i[a[1]]=="string"||Array.isArray(i[a[1]])){let u=i[a[1]];i[a[1]]=[...$r,...Array.isArray(u)?u:[u],c]}else i[a[1]]=c}return{comments:l,pragmas:i}}function Qn({comments:e="",pragmas:r={}}){let o=`
37
- `,i="/**",l=" *",a=" */",c=Object.keys(r),u=c.flatMap(n=>Dt(n,r[n])).map(n=>`${l} ${n}${o}`).join("");if(!e){if(c.length===0)return"";if(c.length===1&&!Array.isArray(r[c[0]])){let n=r[c[0]];return`${i} ${Dt(c[0],n)[0]}${a}`}}let m=e.split(o).map(n=>`${l} ${n}`).join(o)+o;return i+o+(e?m:"")+(e&&c.length>0?l+o:"")+u+a}function Dt(e,r){return[...$r,...Array.isArray(r)?r:[r]].map(o=>`@${e} ${o}`.trim())}function Kn(e){if(!e.startsWith("#!"))return"";let r=e.indexOf(`
38
- `);return r===-1?e:e.slice(0,r)}var Yn=Kn;function Mr(e){let r=Yn(e);r&&(e=e.slice(r.length+1));let o=Gn(e),{pragmas:i,comments:l}=Jn(o);return{shebang:r,text:e,pragmas:i,comments:l}}function Zn(e){let{pragmas:r}=Mr(e);return Object.prototype.hasOwnProperty.call(r,"prettier")||Object.prototype.hasOwnProperty.call(r,"format")}function Xn(e){let{shebang:r,text:o,pragmas:i,comments:l}=Mr(e),a=Hn(o),c=Qn({pragmas:{format:"",...i},comments:l.trimStart()});return(r?`${r}
39
- `:"")+c+(a.startsWith(`
40
- `)?`
41
- `:`
42
-
43
- `)+a}var _e=3;function eo(e){let r=e.slice(0,_e);if(r!=="---"&&r!=="+++")return;let o=e.indexOf(`
44
- `,_e);if(o===-1)return;let i=e.slice(_e,o).trim(),l=e.indexOf(`
45
- ${r}`,o),a=i;if(a||(a=r==="+++"?"toml":"yaml"),l===-1&&r==="---"&&a==="yaml"&&(l=e.indexOf(`
46
- ...`,o)),l===-1)return;let c=l+1+_e,u=e.charAt(c+1);if(!/\s?/u.test(u))return;let m=e.slice(0,c);return{type:"front-matter",language:a,explicitLanguage:i,value:e.slice(o+1,l),startDelimiter:r,endDelimiter:m.slice(-_e),raw:m}}function to(e){let r=eo(e);if(!r)return{content:e};let{raw:o}=r;return{frontMatter:r,content:U(!1,o,/[^\n]/gu," ")+e.slice(o.length)}}var Mt=to;function ro(e){return Zn(Mt(e).content)}function so(e){let{frontMatter:r,content:o}=Mt(e);return(r?r.raw+`
47
-
48
- `:"")+Xn(o)}var no=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 oo(e){var r,o;return(o=(r=e.findAncestor(i=>i.type==="css-decl"))==null?void 0:r.prop)==null?void 0:o.toLowerCase()}var io=new Set(["initial","inherit","unset","revert"]);function ao(e){return io.has(e.toLowerCase())}function uo(e,r){var o;let i=e.findAncestor(l=>l.type==="css-atrule");return((o=i?.name)==null?void 0:o.toLowerCase().endsWith("keyframes"))&&["from","to"].includes(r.toLowerCase())}function ge(e){return e.includes("$")||e.includes("@")||e.includes("#")||e.startsWith("%")||e.startsWith("--")||e.startsWith(":--")||e.includes("(")&&e.includes(")")?e:e.toLowerCase()}function Ve(e,r){var o;let i=e.findAncestor(l=>l.type==="value-func");return((o=i?.value)==null?void 0:o.toLowerCase())===r}function lo(e){var r;let o=e.findAncestor(l=>l.type==="css-rule"),i=(r=o?.raws)==null?void 0:r.selector;return i&&(i.startsWith(":import")||i.startsWith(":export"))}function Ge(e,r){let o=Array.isArray(r)?r:[r],i=e.findAncestor(l=>l.type==="css-atrule");return i&&o.includes(i.name.toLowerCase())}function co(e){var r;let{node:o}=e;return o.groups[0].value==="url"&&o.groups.length===2&&((r=e.findAncestor(i=>i.type==="css-atrule"))==null?void 0:r.name)==="import"}function po(e){return e.type==="value-func"&&e.value.toLowerCase()==="url"}function ho(e){return e.type==="value-func"&&e.value.toLowerCase()==="var"}function fo(e){let{selector:r}=e;return r?typeof r=="string"&&/^@.+:.*$/u.test(r)||r.value&&/^@.+:.*$/u.test(r.value):!1}function mo(e){return e.type==="value-word"&&["from","through","end"].includes(e.value)}function vo(e){return e.type==="value-word"&&["and","or","not"].includes(e.value)}function yo(e){return e.type==="value-word"&&e.value==="in"}function ct(e){return e.type==="value-operator"&&e.value==="*"}function He(e){return e.type==="value-operator"&&e.value==="/"}function ae(e){return e.type==="value-operator"&&e.value==="+"}function we(e){return e.type==="value-operator"&&e.value==="-"}function go(e){return e.type==="value-operator"&&e.value==="%"}function nt(e){return ct(e)||He(e)||ae(e)||we(e)||go(e)}function wo(e){return e.type==="value-word"&&["==","!="].includes(e.value)}function bo(e){return e.type==="value-word"&&["<",">","<=",">="].includes(e.value)}function pt(e,r){return r.parser==="scss"&&e.type==="css-atrule"&&["if","else","for","each","while"].includes(e.name)}function Ut(e){var r;return((r=e.raws)==null?void 0:r.params)&&/^\(\s*\)$/u.test(e.raws.params)}function ot(e){return e.name.startsWith("prettier-placeholder")}function xo(e){return e.prop.startsWith("@prettier-placeholder")}function ko(e,r){return e.value==="$$"&&e.type==="value-func"&&r?.type==="value-word"&&!r.raws.before}function Oo(e){var r,o;return((r=e.value)==null?void 0:r.type)==="value-root"&&((o=e.value.group)==null?void 0:o.type)==="value-value"&&e.prop.toLowerCase()==="composes"}function To(e){var r,o,i;return((i=(o=(r=e.value)==null?void 0:r.group)==null?void 0:o.group)==null?void 0:i.type)==="value-paren_group"&&e.value.group.group.open!==null&&e.value.group.group.close!==null}function ve(e){var r;return((r=e.raws)==null?void 0:r.before)===""}function Rt(e){var r,o;return e.type==="value-comma_group"&&((o=(r=e.groups)==null?void 0:r[1])==null?void 0:o.type)==="value-colon"}function it(e){var r;return e.type==="value-paren_group"&&((r=e.groups)==null?void 0:r[0])&&Rt(e.groups[0])}function Rr(e,r){var o;if(r.parser!=="scss")return!1;let{node:i}=e;if(i.groups.length===0)return!1;let l=e.grandparent;if(!it(i)&&!(l&&it(l)))return!1;let a=e.findAncestor(c=>c.type==="css-decl");return!!((o=a?.prop)!=null&&o.startsWith("$")||it(l)||l.type==="value-func")}function Bt(e){return e.type==="value-comment"&&e.inline}function at(e){return e.type==="value-word"&&e.value==="#"}function Vt(e){return e.type==="value-word"&&e.value==="{"}function ut(e){return e.type==="value-word"&&e.value==="}"}function De(e){return["value-word","value-atword"].includes(e.type)}function ht(e){return e?.type==="value-colon"}function So(e,r){if(!Rt(r))return!1;let{groups:o}=r,i=o.indexOf(e);return i===-1?!1:ht(o[i+1])}function Co(e){return e.value&&["not","and","or"].includes(e.value.toLowerCase())}function _o(e){return e.type!=="value-func"?!1:no.has(e.value.toLowerCase())}function Ee(e){return/\/\//u.test(e.split(/[\n\r]/u).pop())}function Ue(e){return e?.type==="value-atword"&&e.value.startsWith("prettier-placeholder-")}function Eo(e,r){var o,i;if(((o=e.open)==null?void 0:o.value)!=="("||((i=e.close)==null?void 0:i.value)!==")"||e.groups.some(l=>l.type!=="value-comma_group"))return!1;if(r.type==="value-comma_group"){let l=r.groups.indexOf(e)-1,a=r.groups[l];if(a?.type==="value-word"&&a.value==="with")return!0}return!1}function Be(e){var r,o;return e.type==="value-paren_group"&&((r=e.open)==null?void 0:r.value)==="("&&((o=e.close)==null?void 0:o.value)===")"}function Ao(e,r,o){var i;let{node:l}=e,a=e.parent,c=e.grandparent,u=oo(e),m=u&&a.type==="value-value"&&(u==="grid"||u.startsWith("grid-template")),n=e.findAncestor(y=>y.type==="css-atrule"),s=n&&pt(n,r),t=l.groups.some(y=>Bt(y)),f=e.map(o,"groups"),h=[],d=Ve(e,"url"),p=!1,g=!1;for(let y=0;y<l.groups.length;++y){h.push(f[y]);let v=l.groups[y-1],w=l.groups[y],x=l.groups[y+1],b=l.groups[y+2];if(d){(x&&ae(x)||ae(w))&&h.push(" ");continue}if(Ge(e,"forward")&&w.type==="value-word"&&w.value&&v!==void 0&&v.type==="value-word"&&v.value==="as"&&x.type==="value-operator"&&x.value==="*"||!x||w.type==="value-word"&&w.value.endsWith("-")&&Ue(x))continue;if(w.type==="value-string"&&w.quoted){let P=w.value.lastIndexOf("#{"),N=w.value.lastIndexOf("}");P!==-1&&N!==-1?p=P>N:P!==-1?p=!0:N!==-1&&(p=!1)}if(p||ht(w)||ht(x)||w.type==="value-atword"&&(w.value===""||w.value.endsWith("["))||x.type==="value-word"&&x.value.startsWith("]")||w.value==="~"||w.type!=="value-string"&&w.value&&w.value.includes("\\")&&x&&x.type!=="value-comment"||v!=null&&v.value&&v.value.indexOf("\\")===v.value.length-1&&w.type==="value-operator"&&w.value==="/"||w.value==="\\"||ko(w,x)||at(w)||Vt(w)||ut(x)||Vt(x)&&ve(x)||ut(w)&&ve(x)||w.value==="--"&&at(x))continue;let S=nt(w),k=nt(x);if((S&&at(x)||k&&ut(w))&&ve(x)||!v&&He(w)||Ve(e,"calc")&&(ae(w)||ae(x)||we(w)||we(x))&&ve(x))continue;let O=(ae(w)||we(w))&&y===0&&(x.type==="value-number"||x.isHex)&&c&&_o(c)&&!ve(x),C=b?.type==="value-func"||b&&De(b)||w.type==="value-func"||De(w),A=x.type==="value-func"||De(x)||v?.type==="value-func"||v&&De(v);if(r.parser==="scss"&&S&&w.value==="-"&&x.type==="value-func"&&H(w)!==J(x)){h.push(" ");continue}if(!(!(ct(x)||ct(w))&&!Ve(e,"calc")&&!O&&(He(x)&&!C||He(w)&&!A||ae(x)&&!C||ae(w)&&!A||we(x)||we(w))&&(ve(x)||S&&(!v||v&&nt(v))))&&!((r.parser==="scss"||r.parser==="less")&&S&&w.value==="-"&&Be(x)&&H(w)===J(x.open)&&x.open.value==="(")){if(Bt(w)){if(a.type==="value-paren_group"){h.push(Je(D));continue}h.push(D);continue}if(s&&(wo(x)||bo(x)||vo(x)||yo(w)||mo(w))){h.push(" ");continue}if(n&&n.name.toLowerCase()==="namespace"){h.push(" ");continue}if(m){w.source&&x.source&&w.source.start.line!==x.source.start.line?(h.push(D),g=!0):h.push(" ");continue}if(k){h.push(" ");continue}if(x?.value!=="..."&&!(Ue(w)&&Ue(x)&&H(w)===J(x))){if(Ue(w)&&Be(x)&&H(w)===J(x.open)){h.push(Y);continue}if(w.value==="with"&&Be(x)){h.push(" ");continue}(i=w.value)!=null&&i.endsWith("#")&&x.value==="{"&&Be(x.group)||h.push(B)}}}return t&&h.push(Pt),g&&h.unshift(D),s?K(G(h)):co(e)?K(lt(h)):K(G(lt(h)))}var jo=Ao;function Io(e){return e.length===1?e:e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/u,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/u,"$1").replace(/^([+-])?\./u,"$10.").replace(/(\.\d+?)0+(?=e|$)/u,"$1").replace(/\.(?=e|$)/u,"")}var Po=Io,Gt=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 $o(e){let r=e.toLowerCase();return Gt.has(r)?Gt.get(r):e}var Nr=/(["'])(?:(?!\1)[^\\]|\\.)*\1/gsu,Mo=/(?:\d*\.\d+|\d+\.?)(?:e[+-]?\d+)?/giu,Ro=/[a-z]+/giu,No=/[$@]?[_a-z\u0080-\uFFFF][\w\u0080-\uFFFF-]*/giu,Lo=new RegExp(Nr.source+`|(${No.source})?(${Mo.source})(${Ro.source})?`,"giu");function X(e,r){return U(!1,e,Nr,o=>Or(o,r))}function Wo(e,r){let o=r.singleQuote?"'":'"';return e.includes('"')||e.includes("'")?e:o+e+o}function ye(e){return U(!1,e,Lo,(r,o,i,l,a)=>!i&&l?Lr(l)+ge(a||""):r)}function Lr(e){return Po(e).replace(/\.0(?=$|e)/u,"")}function zo(e){return e.trailingComma==="es5"||e.trailingComma==="all"}function qo(e,r,o){let i=!!(o!=null&&o.backwards);if(r===!1)return!1;let l=e.charAt(r);if(i){if(e.charAt(r-1)==="\r"&&l===`
49
- `)return r-2;if(l===`
50
- `||l==="\r"||l==="\u2028"||l==="\u2029")return r-1}else{if(l==="\r"&&e.charAt(r+1)===`
51
- `)return r+2;if(l===`
52
- `||l==="\r"||l==="\u2028"||l==="\u2029")return r+1}return r}var Wr=qo;function Fo(e,r,o={}){let i=_r(e,o.backwards?r-1:r,o),l=Wr(e,i,o);return i!==l}var zr=Fo;function Do(e,r){if(r===!1)return!1;if(e.charAt(r)==="/"&&e.charAt(r+1)==="*"){for(let o=r+2;o<e.length;++o)if(e.charAt(o)==="*"&&e.charAt(o+1)==="/")return o+2}return r}var Uo=Do;function Bo(e,r){return r===!1?!1:e.charAt(r)==="/"&&e.charAt(r+1)==="/"?Er(e,r):r}var Vo=Bo;function Go(e,r){let o=null,i=r;for(;i!==o;)o=i,i=Wn(e,i),i=Uo(e,i),i=_r(e,i);return i=Vo(e,i),i=Wr(e,i),i!==!1&&zr(e,i)}var qr=Go;function Ho({node:e,parent:r},o){return!!(e.source&&o.originalText.slice(J(e),J(r.close)).trimEnd().endsWith(","))}function Jo(e,r){return ho(e.grandparent)&&Ho(e,r)?",":e.node.type!=="value-comment"&&!(e.node.type==="value-comma_group"&&e.node.groups.every(o=>o.type==="value-comment"))&&zo(r)&&e.callParent(()=>Rr(e,r))?kr(","):""}function Qo(e,r,o){let{node:i,parent:l}=e,a=e.map(({node:h})=>typeof h=="string"?h:o(),"groups");if(l&&po(l)&&(i.groups.length===1||i.groups.length>0&&i.groups[0].type==="value-comma_group"&&i.groups[0].groups.length>0&&i.groups[0].groups[0].type==="value-word"&&i.groups[0].groups[0].value.startsWith("data:")))return[i.open?o("open"):"",ce(",",a),i.close?o("close"):""];if(!i.open){let h=Fr(e),d=ce([",",h?D:B],a);return G(h?[D,d]:K(lt(d)))}let c=e.map(({node:h,isLast:d,index:p})=>{var g;let y=a[p];if(Rt(h)&&h.type==="value-comma_group"&&h.groups&&h.groups[0].type!=="value-paren_group"&&((g=h.groups[2])==null?void 0:g.type)==="value-paren_group"){let{parts:w}=y.contents.contents;w[1]=K(w[1]),y=K(Je(y))}let v=[y,d?Jo(e,r):","];if(!d&&h.type==="value-comma_group"&&tt(h.groups)){let w=Ie(!1,h.groups,-1);!w.source&&w.close&&(w=w.close),w.source&&qr(r.originalText,H(w))&&v.push(D)}return v},"groups"),u=So(i,l),m=Eo(i,l),n=Rr(e,r),s=m||n&&!u,t=m||u,f=K([i.open?o("open"):"",G([Y,ce(B,c)]),Y,i.close?o("close"):""],{shouldBreak:s});return t?Je(f):f}function Fr(e){return e.match(r=>r.type==="value-paren_group"&&!r.open&&r.groups.some(o=>o.type==="value-comma_group"),(r,o)=>o==="group"&&r.type==="value-value",(r,o)=>o==="group"&&r.type==="value-root",(r,o)=>o==="value"&&(r.type==="css-decl"&&!r.prop.startsWith("--")||r.type==="css-atrule"&&r.variable))}function Ko(e,r,o){let i=[];return e.each(()=>{let{node:l,previous:a}=e;if(a?.type==="css-comment"&&a.text.trim()==="prettier-ignore"?i.push(r.originalText.slice(J(l),H(l))):i.push(o()),e.isLast)return;let{next:c}=e;c.type==="css-comment"&&!zr(r.originalText,J(c),{backwards:!0})&&!Qe(l)||c.type==="css-atrule"&&c.name==="else"&&l.type!=="css-comment"?i.push(" "):(i.push(r.__isHTMLStyleAttribute?B:D),qr(r.originalText,H(l))&&!Qe(l)&&i.push(D))},"nodes"),i}var Ae=Ko;function Yo(e,r,o){var i,l,a,c,u,m;let{node:n}=e;switch(n.type){case"front-matter":return[n.raw,D];case"css-root":{let s=Ae(e,r,o),t=n.raws.after.trim();return t.startsWith(";")&&(t=t.slice(1).trim()),[n.frontMatter?[o("frontMatter"),D]:"",s,t?` ${t}`:"",n.nodes.length>0?D:""]}case"css-comment":{let s=n.inline||n.raws.inline,t=r.originalText.slice(J(n),H(n));return s?t.trimEnd():t}case"css-rule":return[o("selector"),n.important?" !important":"",n.nodes?[((i=n.selector)==null?void 0:i.type)==="selector-unknown"&&Ee(n.selector.value)?B:n.selector?" ":"","{",n.nodes.length>0?G([D,Ae(e,r,o)]):"",D,"}",fo(n)?";":""]:";"];case"css-decl":{let s=e.parent,{between:t}=n.raws,f=t.trim(),h=f===":",d=typeof n.value=="string"&&/^ *$/u.test(n.value),p=typeof n.value=="string"?n.value:o("value");return p=Oo(n)?fn(p):p,!h&&Ee(f)&&!((a=(l=n.value)==null?void 0:l.group)!=null&&a.group&&e.call(()=>Fr(e),"value","group","group"))&&(p=G([D,Je(p)])),[U(!1,n.raws.before,/[\s;]/gu,""),s.type==="css-atrule"&&s.variable||lo(e)?n.prop:ge(n.prop),f.startsWith("//")?" ":"",f,n.extend||d?"":" ",r.parser==="less"&&n.extend&&n.selector?["extend(",o("selector"),")"]:"",p,n.raws.important?n.raws.important.replace(/\s*!\s*important/iu," !important"):n.important?" !important":"",n.raws.scssDefault?n.raws.scssDefault.replace(/\s*!default/iu," !default"):n.scssDefault?" !default":"",n.raws.scssGlobal?n.raws.scssGlobal.replace(/\s*!global/iu," !global"):n.scssGlobal?" !global":"",n.nodes?[" {",G([Y,Ae(e,r,o)]),Y,"}"]:xo(n)&&!s.raws.semicolon&&r.originalText[H(n)-1]!==";"?"":r.__isHTMLStyleAttribute&&e.isLast?kr(";"):";"]}case"css-atrule":{let s=e.parent,t=ot(n)&&!s.raws.semicolon&&r.originalText[H(n)-1]!==";";if(r.parser==="less"){if(n.mixin)return[o("selector"),n.important?" !important":"",t?"":";"];if(n.function)return[n.name,typeof n.params=="string"?n.params:o("params"),t?"":";"];if(n.variable)return["@",n.name,": ",n.value?o("value"):"",n.raws.between.trim()?n.raws.between.trim()+" ":"",n.nodes?["{",G([n.nodes.length>0?Y:"",Ae(e,r,o)]),Y,"}"]:"",t?"":";"]}let f=n.name==="import"&&((c=n.params)==null?void 0:c.type)==="value-unknown"&&n.params.value.endsWith(";");return["@",Ut(n)||n.name.endsWith(":")||ot(n)?n.name:ge(n.name),n.params?[Ut(n)?"":ot(n)?n.raws.afterName===""?"":n.name.endsWith(":")?" ":/^\s*\n\s*\n/u.test(n.raws.afterName)?[D,D]:/^\s*\n/u.test(n.raws.afterName)?D:" ":" ",typeof n.params=="string"?n.params:o("params")]:"",n.selector?G([" ",o("selector")]):"",n.value?K([" ",o("value"),pt(n,r)?To(n)?" ":B:""]):n.name==="else"?" ":"",n.nodes?[pt(n,r)?"":n.selector&&!n.selector.nodes&&typeof n.selector.value=="string"&&Ee(n.selector.value)||!n.selector&&typeof n.params=="string"&&Ee(n.params)?B:" ","{",G([n.nodes.length>0?Y:"",Ae(e,r,o)]),Y,"}"]:t||f?"":";"]}case"media-query-list":{let s=[];return e.each(({node:t})=>{t.type==="media-query"&&t.value===""||s.push(o())},"nodes"),K(G(ce(B,s)))}case"media-query":return[ce(" ",e.map(o,"nodes")),e.isLast?"":","];case"media-type":return ye(X(n.value,r));case"media-feature-expression":return n.nodes?["(",...e.map(o,"nodes"),")"]:n.value;case"media-feature":return ge(X(U(!1,n.value,/ +/gu," "),r));case"media-colon":return[n.value," "];case"media-value":return ye(X(n.value,r));case"media-keyword":return X(n.value,r);case"media-url":return X(U(!1,U(!1,n.value,/^url\(\s+/giu,"url("),/\s+\)$/gu,")"),r);case"media-unknown":return n.value;case"selector-root":return K([Ge(e,"custom-selector")?[e.findAncestor(s=>s.type==="css-atrule").customSelector,B]:"",ce([",",Ge(e,["extend","custom-selector","nest"])?B:D],e.map(o,"nodes"))]);case"selector-selector":return K(G(e.map(o,"nodes")));case"selector-comment":return n.value;case"selector-string":return X(n.value,r);case"selector-tag":return[n.namespace?[n.namespace===!0?"":n.namespace.trim(),"|"]:"",((u=e.previous)==null?void 0:u.type)==="selector-nesting"?n.value:ye(uo(e,n.value)?n.value.toLowerCase():n.value)];case"selector-id":return["#",n.value];case"selector-class":return[".",ye(X(n.value,r))];case"selector-attribute":return["[",n.namespace?[n.namespace===!0?"":n.namespace.trim(),"|"]:"",n.attribute.trim(),n.operator??"",n.value?Wo(X(n.value.trim(),r),r):"",n.insensitive?" i":"","]"];case"selector-combinator":{if(n.value==="+"||n.value===">"||n.value==="~"||n.value===">>>"){let f=e.parent;return[f.type==="selector-selector"&&f.nodes[0]===n?"":B,n.value,e.isLast?"":" "]}let s=n.value.trim().startsWith("(")?B:"",t=ye(X(n.value.trim(),r))||B;return[s,t]}case"selector-universal":return[n.namespace?[n.namespace===!0?"":n.namespace.trim(),"|"]:"",n.value];case"selector-pseudo":return[ge(n.value),tt(n.nodes)?K(["(",G([Y,ce([",",B],e.map(o,"nodes"))]),Y,")"]):""];case"selector-nesting":return n.value;case"selector-unknown":{let s=e.findAncestor(h=>h.type==="css-rule");if(s!=null&&s.isSCSSNesterProperty)return ye(X(ge(n.value),r));let t=e.parent;if((m=t.raws)!=null&&m.selector){let h=J(t),d=h+t.raws.selector.length;return r.originalText.slice(h,d).trim()}let f=e.grandparent;if(t.type==="value-paren_group"&&f?.type==="value-func"&&f.value==="selector"){let h=H(t.open)+1,d=J(t.close),p=r.originalText.slice(h,d).trim();return Ee(p)?[Pt,p]:p}return n.value}case"value-value":case"value-root":return o("group");case"value-comment":return r.originalText.slice(J(n),H(n));case"value-comma_group":return jo(e,r,o);case"value-paren_group":return Qo(e,r,o);case"value-func":return[n.value,Ge(e,"supports")&&Co(n)?" ":"",o("group")];case"value-paren":return n.value;case"value-number":return[Lr(n.value),$o(n.unit)];case"value-operator":return n.value;case"value-word":return n.isColor&&n.isHex||ao(n.value)?n.value.toLowerCase():n.value;case"value-colon":{let{previous:s}=e;return[n.value,typeof s?.value=="string"&&s.value.endsWith("\\")||Ve(e,"url")?"":B]}case"value-string":return Or(n.raws.quote+n.value+n.raws.quote,r);case"value-atword":return["@",n.value];case"value-unicode-range":return n.value;case"value-unknown":return n.value;case"value-comma":default:throw new xn(n,"PostCSS")}}var Zo={print:Yo,embed:En,insertPragma:so,massageAstNode:Sn,getVisitorKeys:Nn},Xo=Zo,ei=[{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"]}],ti={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."}},ri={singleQuote:ti.singleQuote},si=ri,Dr={};Ht(Dr,{css:()=>Mi,less:()=>Ri,scss:()=>Ni});var ni=xe(Xe(),1),oi=xe(hs(),1),ii=xe(ws(),1);function ai(e,r){let o=new SyntaxError(e+" ("+r.loc.start.line+":"+r.loc.start.column+")");return Object.assign(o,r)}var ui=ai,li=xe(xs(),1);function Ne(e,r,o){if(e&&typeof e=="object"){delete e.parent;for(let i in e)Ne(e[i],r,o),i==="type"&&typeof e[i]=="string"&&!e[i].startsWith(r)&&(!o||!o.test(e[i]))&&(e[i]=r+e[i])}return e}function Ur(e){if(e&&typeof e=="object"){delete e.parent;for(let r in e)Ur(e[r]);!Array.isArray(e)&&e.value&&!e.type&&(e.type="unknown")}return e}var ci=li.default.default;function pi(e){let r;try{r=ci(e)}catch{return{type:"selector-unknown",value:e}}return Ne(Ur(r),"media-")}var hi=pi,fi=xe(Ls(),1);function di(e){if(/\/\/|\/\*/u.test(e))return{type:"selector-unknown",value:e.trim()};let r;try{new fi.default(o=>{r=o}).process(e)}catch{return{type:"selector-unknown",value:e}}return Ne(r,"selector-")}var le=di,mi=xe(en(),1),vi=e=>{for(;e.parent;)e=e.parent;return e},Br=vi;function yi(e){return Br(e).text.slice(e.group.open.sourceIndex+1,e.group.close.sourceIndex).trim()}var gi=yi;function wi(e){if(tt(e)){for(let r=e.length-1;r>0;r--)if(e[r].type==="word"&&e[r].value==="{"&&e[r-1].type==="word"&&e[r-1].value.endsWith("#"))return!0}return!1}var bi=wi;function xi(e){return e.some(r=>r.type==="string"||r.type==="func"&&!r.value.endsWith("\\"))}var ki=xi;function Oi(e,r){return!!(r.parser==="scss"&&e?.type==="word"&&e.value.startsWith("$"))}var Ti=Oi;function Si(e,r){var o;let{nodes:i}=e,l={open:null,close:null,groups:[],type:"paren_group"},a=[l],c=l,u={groups:[],type:"comma_group"},m=[u];for(let n=0;n<i.length;++n){let s=i[n];if(r.parser==="scss"&&s.type==="number"&&s.unit===".."&&s.value.endsWith(".")&&(s.value=s.value.slice(0,-1),s.unit="..."),s.type==="func"&&s.value==="selector"&&(s.group.groups=[le(Br(e).text.slice(s.group.open.sourceIndex+1,s.group.close.sourceIndex))]),s.type==="func"&&s.value==="url"){let t=((o=s.group)==null?void 0:o.groups)??[],f=[];for(let h=0;h<t.length;h++){let d=t[h];d.type==="comma_group"?f=[...f,...d.groups]:f.push(d)}(bi(f)||!ki(f)&&!Ti(f[0],r))&&(s.group.groups=[gi(s)])}if(s.type==="paren"&&s.value==="(")l={open:s,close:null,groups:[],type:"paren_group"},a.push(l),u={groups:[],type:"comma_group"},m.push(u);else if(s.type==="paren"&&s.value===")"){if(u.groups.length>0&&l.groups.push(u),l.close=s,m.length===1)throw new Error("Unbalanced parenthesis");m.pop(),u=Ie(!1,m,-1),u.groups.push(l),a.pop(),l=Ie(!1,a,-1)}else s.type==="comma"?(l.groups.push(u),u={groups:[],type:"comma_group"},m[m.length-1]=u):u.groups.push(s)}return u.groups.length>0&&l.groups.push(u),c}function ft(e){return e.type==="paren_group"&&!e.open&&!e.close&&e.groups.length===1||e.type==="comma_group"&&e.groups.length===1?ft(e.groups[0]):e.type==="paren_group"||e.type==="comma_group"?{...e,groups:e.groups.map(ft)}:e}function Vr(e,r){if(e&&typeof e=="object")for(let o in e)o!=="parent"&&(Vr(e[o],r),o==="nodes"&&(e.group=ft(Si(e,r)),delete e[o]));return e}function Ci(e,r){if(r.parser==="less"&&e.startsWith("~`"))return{type:"value-unknown",value:e};let o=null;try{o=new mi.default(e,{loose:!0}).parse()}catch{return{type:"value-unknown",value:e}}o.text=e;let i=Vr(o,r);return Ne(i,"value-",/^selector-/u)}var ue=Ci,_i=new Set(["import","use","forward"]);function Ei(e){return _i.has(e)}var Ai=Ei;function ji(e,r){return r.parser!=="scss"||!e.selector?!1:e.selector.replace(/\/\*.*?\*\//u,"").replace(/\/\/.*\n/u,"").trim().endsWith(":")}var Ii=ji,Pi=/(\s*)(!default).*$/u,$i=/(\s*)(!global).*$/u;function Gr(e,r){var o,i;if(e&&typeof e=="object"){delete e.parent;for(let u in e)Gr(e[u],r);if(!e.type)return e;if(e.raws??(e.raws={}),e.type==="css-decl"&&typeof e.prop=="string"&&e.prop.startsWith("--")&&typeof e.value=="string"&&e.value.startsWith("{")){let u;if(e.value.trimEnd().endsWith("}")){let m=r.originalText.slice(0,e.source.start.offset),n="a".repeat(e.prop.length)+r.originalText.slice(e.source.start.offset+e.prop.length,e.source.end.offset),s=U(!1,m,/[^\n]/gu," ")+n,t;r.parser==="scss"?t=Qr:r.parser==="less"?t=Jr:t=Hr;let f;try{f=t(s,{...r})}catch{}((o=f?.nodes)==null?void 0:o.length)===1&&f.nodes[0].type==="css-rule"&&(u=f.nodes[0].nodes)}return u?e.value={type:"css-rule",nodes:u}:e.value={type:"value-unknown",value:e.raws.value.raw},e}let l="";typeof e.selector=="string"&&(l=e.raws.selector?e.raws.selector.scss??e.raws.selector.raw:e.selector,e.raws.between&&e.raws.between.trim().length>0&&(l+=e.raws.between),e.raws.selector=l);let a="";typeof e.value=="string"&&(a=e.raws.value?e.raws.value.scss??e.raws.value.raw:e.value,a=a.trim(),e.raws.value=a);let c="";if(typeof e.params=="string"&&(c=e.raws.params?e.raws.params.scss??e.raws.params.raw:e.params,e.raws.afterName&&e.raws.afterName.trim().length>0&&(c=e.raws.afterName+c),e.raws.between&&e.raws.between.trim().length>0&&(c=c+e.raws.between),c=c.trim(),e.raws.params=c),l.trim().length>0)return l.startsWith("@")&&l.endsWith(":")?e:e.mixin?(e.selector=ue(l,r),e):(Ii(e,r)&&(e.isSCSSNesterProperty=!0),e.selector=le(l),e);if(a.length>0){let u=a.match(Pi);u&&(a=a.slice(0,u.index),e.scssDefault=!0,u[0].trim()!=="!default"&&(e.raws.scssDefault=u[0]));let m=a.match($i);if(m&&(a=a.slice(0,m.index),e.scssGlobal=!0,m[0].trim()!=="!global"&&(e.raws.scssGlobal=m[0])),a.startsWith("progid:"))return{type:"value-unknown",value:a};e.value=ue(a,r)}if(r.parser==="less"&&e.type==="css-decl"&&a.startsWith("extend(")&&(e.extend||(e.extend=e.raws.between===":"),e.extend&&!e.selector&&(delete e.value,e.selector=le(a.slice(7,-1)))),e.type==="css-atrule"){if(r.parser==="less"){if(e.mixin){let u=e.raws.identifier+e.name+e.raws.afterName+e.raws.params;return e.selector=le(u),delete e.params,e}if(e.function)return e}if(r.parser==="css"&&e.name==="custom-selector"){let u=e.params.match(/:--\S+\s+/u)[0].trim();return e.customSelector=u,e.selector=le(e.params.slice(u.length).trim()),delete e.params,e}if(r.parser==="less"){if(e.name.includes(":")&&!e.params){e.variable=!0;let u=e.name.split(":");e.name=u[0],e.value=ue(u.slice(1).join(":"),r)}if(!["page","nest","keyframes"].includes(e.name)&&((i=e.params)==null?void 0:i[0])===":"){e.variable=!0;let u=e.params.slice(1);u&&(e.value=ue(u,r)),e.raws.afterName+=":"}if(e.variable)return delete e.params,e.value||delete e.value,e}}if(e.type==="css-atrule"&&c.length>0){let{name:u}=e,m=e.name.toLowerCase();return u==="warn"||u==="error"?(e.params={type:"media-unknown",value:c},e):u==="extend"||u==="nest"?(e.selector=le(c),delete e.params,e):u==="at-root"?(/^\(\s*(?:without|with)\s*:.+\)$/su.test(c)?e.params=ue(c,r):(e.selector=le(c),delete e.params),e):Ai(m)?(e.import=!0,delete e.filename,e.params=ue(c,r),e):["namespace","supports","if","else","for","each","while","debug","mixin","include","function","return","define-mixin","add-mixin"].includes(u)?(c=c.replace(/(\$\S+?)(\s+)?\.{3}/u,"$1...$2"),c=c.replace(/^(?!if)(\S+)(\s+)\(/u,"$1($2"),e.value=ue(c,r),delete e.params,e):["media","custom-media"].includes(m)?c.includes("#{")?{type:"media-unknown",value:c}:(e.params=hi(c),e):(e.params=c,e)}}return e}function Nt(e,r,o){let i=Mt(r),{frontMatter:l}=i;r=i.content;let a;try{a=e(r,{map:!1})}catch(c){let{name:u,reason:m,line:n,column:s}=c;throw typeof n!="number"?c:ui(`${u}: ${m}`,{loc:{start:{line:n,column:s}},cause:c})}return o.originalText=r,a=Gr(Ne(a,"css-"),o),jr(a,r),l&&(l.source={startOffset:0,endOffset:l.raw.length},a.frontMatter=l),a}function Hr(e,r={}){return Nt(ni.default.default,e,r)}function Jr(e,r={}){return Nt(o=>oi.default.parse(qn(o)),e,r)}function Qr(e,r={}){return Nt(ii.default,e,r)}var Lt={astFormat:"postcss",hasPragma:ro,locStart:J,locEnd:H},Mi={...Lt,parse:Hr},Ri={...Lt,parse:Jr},Ni={...Lt,parse:Qr},Li={postcss:Xo},zi=lr;export{zi as default,ei as languages,si as options,Dr as parsers,Li as printers};
53
- //# sourceMappingURL=postcss-FTEKMW3I.js.map