1import{v as Ne,u as P}from"./chunk-U2GK2GFR-2d4e7f2d.js";var st=P((g,d)=>{var o=String,p=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}};d.exports=p(),d.exports.createColors=p}),it=P(()=>{}),ze=P((g,d)=>{var o=st(),p=it(),c=class extends Error{constructor(r,s,i,m,l,h){super(r),this.name="CssSyntaxError",this.reason=r,l&&(this.file=l),m&&(this.source=m),h&&(this.plugin=h),typeof s<"u"&&typeof i<"u"&&(typeof s=="number"?(this.line=s,this.column=i):(this.line=s.line,this.column=s.column,this.endLine=i.line,this.endColumn=i.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,c)}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(r){if(!this.source)return"";let s=this.source;r==null&&(r=o.isColorSupported),p&&r&&(s=p(s));let i=s.split(/\r?\n/),m=Math.max(this.line-3,0),l=Math.min(this.line+2,i.length),h=String(l).length,t,f;if(r){let{bold:n,red:e,gray:u}=o.createColors(!0);t=a=>n(e(a)),f=a=>u(a)}else t=f=n=>n;return i.slice(m,l).map((n,e)=>
vendor: 5,067 bytes, lines 1-17
1{let u=m+1+e,a=" "+(" "+u).slice(-h)+" | ";if(u===this.line){let y=f(a.replace(/\d/g," "))+n.slice(0,this.column-1).replace(/[^\t]/g," ");return t(">")+f(a)+n+` 2 `+y+t("^")}return" "+f(a)+n}).join(` 3`)}toString(){let r=this.showSourceCode();return r&&(r=` 4 5`+r+` 6`),this.name+": "+this.message+r}};d.exports=c,c.default=c}),Te=P((g,d)=>{d.exports.isClean=Symbol("isClean"),d.exports.my=Symbol("my")}),nt=P((g,d)=>{var o={colon:": ",indent:" ",beforeDecl:` 7`,beforeRule:` 8`,beforeOpen:" ",beforeClose:` 9`,beforeComment:` 10`,after:` 11`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function p(r){return r[0].toUpperCase()+r.slice(1)}var c=class{constructor(r){this.builder=r}stringify(r,s){if(!this[r.type])throw new Error("Unknown AST node type "+r.type+". Maybe you need to change PostCSS stringifier.");this[r.type](r,s)}document(r){this.body(r)}root(r){this.body(r),r.raws.after&&this.builder(r.raws.after)}comment(r){let s=this.raw(r,"left","commentLeft"),i=this.raw(r,"right","commentRight");this.builder("/*"+s+r.text+i+"*/",r)}decl(r,s){let i=this.raw(r,"between","colon"),m=r.prop+i+this.rawValue(r,"value");r.important&&(m+=r.raws.important||" !important"),s&&(m+=";"),this.builder(m,r)}rule(r){this.block(r,this.rawValue(r,"selector")),r.raws.ownSemicolon&&this.builder(r.raws.ownSemicolon,r,"end")}atrule(r,s){let i="@"+r.name,m=r.params?this.rawValue(r,"params"):"";if(typeof r.raws.afterName<"u"?i+=r.raws.afterName:m&&(i+=" "),r.nodes)this.block(r,i+m);else{let l=(r.raws.between||"")+(s?";":"");this.builder(i+m+l,r)}}body(r){let s=r.nodes.length-1;for(;s>0&&r.nodes[s].type==="comment";)s-=1;let i=this.raw(r,"semicolon");for(let m=0;m<r.nodes.length;m++){let l=r.nodes[m],h=this.raw(l,"before");h&&this.builder(h),this.stringify(l,s!==m||i)}}block(r,s){let i=this.raw(r,"between","beforeOpen");this.builder(s+i+"{",r,"start");let m;r.nodes&&r.nodes.length?(this.body(r),m=this.raw(r,"after")):m=this.raw(r,"after","emptyBody"),m&&this.builder(m),this.builder("}",r,"end")}raw(r,s,i){let m;if(i||(i=s),s&&(m=r.raws[s],typeof m<"u"))return m;let l=r.parent;if(i==="before"&&(!l||l.type==="root"&&l.first===r||l&&l.type==="document"))return"";if(!l)return o[i];let h=r.root();if(h.rawCache||(h.rawCache={}),typeof h.rawCache[i]<"u")return h.rawCache[i];if(i==="before"||i==="after")return this.beforeAfter(r,i);{let t="raw"+p(i);this[t]?m=this[t](h,r):h.walk(f=>{if(m=f.raws[s],typeof m<"u")return!1})}return typeof m>"u"&&(m=o[i]),h.rawCache[i]=m,m}rawSemicolon(r){let s;return r.walk(i=>{if(i.nodes&&i.nodes.length&&i.last.type==="decl"&&(s=i.raws.semicolon,typeof s<"u"))return!1}),s}rawEmptyBody(r){let s;return r.walk(i=>{if(i.nodes&&i.nodes.length===0&&(s=i.raws.after,typeof s<"u"))return!1}),s}rawIndent(r){if(r.raws.indent)return r.raws.indent;let s;return r.walk(i=>{let m=i.parent;if(m&&m!==r&&m.parent&&m.parent===r&&typeof i.raws.before<"u"){let l=i.raws.before.split(` 12`);return s=l[l.length-1],s=s.replace(/\S/g,""),!1}}),s}rawBeforeComment(r,s){let i;return r.walkComments(m=>{if(typeof m.raws.before<"u")return i=m.raws.before,i.includes(` 13`)&&(i=i.replace(/[^\n]+$/,"")),!1}),typeof i>"u"?i=this.raw(s,null,"beforeDecl"):i&&(i=i.replace(/\S/g,"")),i}rawBeforeDecl(r,s){let i;return r.walkDecls(m=>{if(typeof m.raws.before<"u")return i=m.raws.before,i.includes(` 14`)&&(i=i.replace(/[^\n]+$/,"")),!1}),typeof i>"u"?i=this.raw(s,null,"beforeRule"):i&&(i=i.replace(/\S/g,"")),i}rawBeforeRule(r){let s;return r.walk(i=>{if(i.nodes&&(i.parent!==r||r.first!==i)&&typeof i.raws.before<"u")return s=i.raws.before,s.includes(` 15`)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawBeforeClose(r){let s;return r.walk(i=>{if(i.nodes&&i.nodes.length>0&&typeof i.raws.after<"u")return s=i.raws.after,s.includes(` 16`)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawBeforeOpen(r){let s;return r.walk(i=>{if(i.type!=="decl"&&(s=i.raws.between,typeof s<"u"))return!1}),s}rawColon(r){let s;return r.walkDecls(i=>{if(typeof i.raws.between<"u")return s=i.raws.between.replace(/[^\s:]/g,""),!1}),s}beforeAfter(r,s){let i;r.type==="decl"?i=this.raw(r,null,"beforeDecl"):r.type==="comment"?i=this.raw(r,null,"beforeComment"):s==="before"?i=this.raw(r,null,"beforeRule"):i=this.raw(r,null,"beforeClose");let m=r.parent,l=0;for(;m&&m.type!=="root";)l+=1,m=m.parent;if(i.includes(` 17`)){let h=this.raw(r,null,"indent");if(h.length)for(let t=0;t<l;t++)i+=h}return i}rawValue(r,s){let i=r[s],m=r.raws[s];return m&&m.value===i?m.raw:i}};d.exports=c,c.default=c}),me=P((g,d)=>{var o=nt();function p(c,r){new o(r).stringify(c)}d.exports=p,p.default=p}),ye=P((g,d)=>{var{isClean:o,my:p}=Te(),c=ze(),r=nt(),s=me();function i(l,h){let t=new l.constructor;for(let f in l){if(!Object.prototype.hasOwnProperty.call(l,f)||f==="proxyCache")continue;let n=l[f],e=typeof n;f==="parent"&&e==="object"?h&&(t[f]=h):f==="source"?t[f]=n:Array.isArray(n)?t[f]=n.map(u=>i(u,t)):(e==="object"&&n!==null&&(n=i(n)),t[f]=n)}return t}var m=class{constructor(l={}){this.raws={},this[o]=!1,this[p]=!0;for(let h in l)if(h==="nodes"){this.nodes=[];
vendor: 3,512 bytes, lines 17-18
17for(let t of l[h])typeof t.clone=="function"?this.append(t.clone()):this.append(t)}else this[h]=l[h]}error(l,h={}){if(this.source){let{start:t,end:f}=this.rangeBy(h);return this.source.input.error(l,{line:t.line,column:t.column},{line:f.line,column:f.column},h)}return new c(l)}warn(l,h,t){let f={node:this};for(let n in t)f[n]=t[n];return l.warn(h,f)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(l=s){l.stringify&&(l=l.stringify);let h="";return l(this,t=>{h+=t}),h}assign(l={}){for(let h in l)this[h]=l[h];return this}clone(l={}){let h=i(this);for(let t in l)h[t]=l[t];return h}cloneBefore(l={}){let h=this.clone(l);return this.parent.insertBefore(this,h),h}cloneAfter(l={}){let h=this.clone(l);return this.parent.insertAfter(this,h),h}replaceWith(...l){if(this.parent){let h=this,t=!1;for(let f of l)f===this?t=!0:t?(this.parent.insertAfter(h,f),h=f):this.parent.insertBefore(h,f);t||this.remove()}return this}next(){if(!this.parent)return;let l=this.parent.index(this);return this.parent.nodes[l+1]}prev(){if(!this.parent)return;let l=this.parent.index(this);return this.parent.nodes[l-1]}before(l){return this.parent.insertBefore(this,l),this}after(l){return this.parent.insertAfter(this,l),this}root(){let l=this;for(;l.parent&&l.parent.type!=="document";)l=l.parent;return l}raw(l,h){return new r().raw(this,l,h)}cleanRaws(l){delete this.raws.before,delete this.raws.after,l||delete this.raws.between}toJSON(l,h){let t={},f=h==null;h=h||new Map;let n=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e)||e==="parent"||e==="proxyCache")continue;let u=this[e];if(Array.isArray(u))t[e]=u.map(a=>typeof a=="object"&&a.toJSON?a.toJSON(null,h):a);else if(typeof u=="object"&&u.toJSON)t[e]=u.toJSON(null,h);else if(e==="source"){let a=h.get(u.input);a==null&&(a=n,h.set(u.input,n),n++),t[e]={inputId:a,start:u.start,end:u.end}}else t[e]=u}return f&&(t.inputs=[...h.keys()].map(e=>e.toJSON())),t}positionInside(l){let h=this.toString(),t=this.source.start.column,f=this.source.start.line;for(let n=0;n<l;n++)h[n]===` 18`?(t=1,f+=1):t+=1;return{line:f,column:t}}positionBy(l){let h=this.source.start;if(l.index)h=this.positionInside(l.index);else if(l.word){let t=this.toString().indexOf(l.word);t!==-1&&(h=this.positionInside(t))}return h}rangeBy(l){let h={line:this.source.start.line,column:this.source.start.column},t=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:h.line,column:h.column+1};if(l.word){let f=this.toString().indexOf(l.word);f!==-1&&(h=this.positionInside(f),t=this.positionInside(f+l.word.length))}else l.start?h={line:l.start.line,column:l.start.column}:l.index&&(h=this.positionInside(l.index)),l.end?t={line:l.end.line,column:l.end.column}:l.endIndex?t=this.positionInside(l.endIndex):l.index&&(t=this.positionInside(l.index+1));return(t.line<h.line||t.line===h.line&&t.column<=h.column)&&(t={line:h.line,column:h.column+1}),{start:h,end:t}}getProxyProcessor(){return{set(l,h,t){return l[h]===t||(l[h]=t,(h==="prop"||h==="value"||h==="name"||h==="params"||h==="important"||h==="text")&&l.markDirty()),!0},get(l,h){return h==="proxyOf"?l:h==="root"?()=>l.root().toProxy():l[h]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(l){if(l.postcssNode=this,l.stack&&this.source&&/\n\s{4}at /.test(l.stack)){let h=this.source;l.stack=l.stack.replace(/\n\s{4}at /,`$&${h.input.from}:${h.start.line}:${h.start.column}$&`)}return l}
18markDirty(){if(this[o]){this[o]=!1;let l=this;for(;l=l.parent;)l[o]=!1}}get proxyOf(){return this}};d.exports=m,m.default=m}),we=P((g,d)=>{var o=ye(),p=class extends o{constructor(c){c&&typeof c.value<"u"&&typeof c.value!="string"&&(c={...c,value:String(c.value)}),super(c),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};d.exports=p,p.default=p}),oe=P(()=>{}),le=P(()=>{}),Ue=P(()=>{}),ot=P((g,d)=>{var o="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",p=(r,s=21)=>(i=s)=>{let m="",l=i;for(;l--;)m+=r[Math.random()*r.length|0];return m},c=(r=21)=>{let s="",i=r;for(;i--;)s+=o[Math.random()*64|0];return s};d.exports={nanoid:c,customAlphabet:p}}),lt=P(()=>{}),at=P((g,d)=>{var{SourceMapConsumer:o,SourceMapGenerator:p}=oe(),{existsSync:c,readFileSync:r}=lt(),{dirname:s,join:i}=le();function m(h){return Buffer?Buffer.from(h,"base64").toString():window.atob(h)}var l=class{constructor(h,t){if(t.map===!1)return;this.loadAnnotation(h),this.inline=this.startWith(this.annotation,"data:");let f=t.map?t.map.prev:void 0,n=this.loadMap(t.from,f);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=s(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new o(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(h,t){return h?h.substr(0,t.length)===t:!1}getAnnotationURL(h){return h.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(h){let t=h.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let f=h.lastIndexOf(t.pop()),n=h.indexOf("*/",f);f>-1&&n>-1&&(this.annotation=this.getAnnotationURL(h.substring(f,n)))}decodeInline(h){let t=/^data:application\/json;charset=utf-?8;base64,/,f=/^data:application\/json;base64,/,n=/^data:application\/json;charset=utf-?8,/,e=/^data:application\/json,/;if(n.test(h)||e.test(h))return decodeURIComponent(h.substr(RegExp.lastMatch.length));if(t.test(h)||f.test(h))return m(h.substr(RegExp.lastMatch.length));let u=h.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+u)}loadFile(h){if(this.root=s(h),c(h))return this.mapFile=h,r(h,"utf-8").toString().trim()}loadMap(h,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let f=t(h);if(f){let n=this.loadFile(f);if(!n)throw new Error("Unable to load previous source map: "+f.toString());return n}}else{if(t instanceof o)return p.fromSourceMap(t).toString();if(t instanceof p)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let f=this.annotation;return h&&(f=i(s(h),f)),this.loadFile(f)}}}isMap(h){return typeof h!="object"?!1:typeof h.mappings=="string"||typeof h._mappings=="string"||Array.isArray(h.sections)}};d.exports=l,l.default=l}),be=P((g,d)=>{var{SourceMapConsumer:o,SourceMapGenerator:p}=oe(),{fileURLToPath:c,pathToFileURL:r}=Ue(),{resolve:s,isAbsolute:i}=le(),{nanoid:m}
18=ot(),l=it(),h=ze(),t=at(),f=Symbol("fromOffsetCache"),n=!!(o&&p),e=!!(s&&i),u=class{constructor(a,y={}){if(a===null||typeof a>"u"||typeof a=="object"&&!a.toString)throw new Error(`PostCSS received ${a} instead of CSS string`);if(this.css=a.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,y.from&&(!e||/^\w+:\/\//.test(y.from)||i(y.from)?this.file=y.from:this.file=s(y.from)),e&&n){let w=new t(this.css,y);if(w.text){this.map=w;let x=w.consumer().file;!this.file&&x&&(this.file=this.mapResolve(x))}}this.file||(this.id="<input css "+m(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(a){let y,w;if(this[f])w=this[f];else{let k=this.css.split(` 19`);w=new Array(k.length);let b=0;for(let v=0,C=k.length;v<C;v++)w[v]=b,b+=k[v].length+1;this[f]=w}y=w[w.length-1];let x=0;if(a>=y)x=w.length-1;else{let k=w.length-2,b;for(;x<k;)if(b=x+(k-x>>1),a<w[b])k=b-1;else if(a>=w[b+1])x=b+1;else{x=b;break}}return{line:x+1,col:a-w[x]+1}}error(a,y,w,x={}){let k,b,v;if(y&&typeof y=="object"){let A=y,F=w;if(typeof A.offset=="number"){let M=this.fromOffset(A.offset);y=M.line,w=M.col}else y=A.line,w=A.column;if(typeof F.offset=="number"){let M=this.fromOffset(F.offset);b=M.line,v=M.col}else b=F.line,v=F.column}else if(!w){let A=this.fromOffset(y);y=A.line,w=A.col}let C=this.origin(y,w,b,v);return C?k=new h(a,C.endLine===void 0?C.line:{line:C.line,column:C.column},C.endLine===void 0?C.column:{line:C.endLine,column:C.endColumn},C.source,C.file,x.plugin):k=new h(a,b===void 0?y:{line:y,column:w},b===void 0?w:{line:b,column:v},this.css,this.file,x.plugin),k.input={line:y,column:w,endLine:b,endColumn:v,source:this.css},this.file&&(r&&(k.input.url=r(this.file).toString()),k.input.file=this.file),k}origin(a,y,w,x){if(!this.map)return!1;let k=this.map.consumer(),b=k.originalPositionFor({line:a,column:y});if(!b.source)return!1;let v;typeof w=="number"&&(v=k.originalPositionFor({line:w,column:x}));let C;i(b.source)?C=r(b.source):C=new URL(b.source,this.map.consumer().sourceRoot||r(this.map.mapFile));let A={url:C.toString(),line:b.line,column:b.column,endLine:v&&v.line,endColumn:v&&v.column};if(C.protocol==="file:")if(c)A.file=c(C);else throw new Error("file: protocol is not available in this PostCSS build");let F=k.sourceContentFor(b.source);return F&&(A.source=F),A}mapResolve(a){return/^\w+:\/\//.test(a)?a:s(this.map.consumer().sourceRoot||this.map.root||".",a)}get from(){return this.file||this.id}toJSON(){let a={};for(let y of["hasBOM","css","file","id"])this[y]!=null&&(a[y]=this[y]);return this.map&&(a.map={...this.map},a.map.consumerCache&&(a.map.consumerCache=void 0)),a}};d.exports=u,u.default=u,l&&l.registerInput&&l.registerInput(u)}),ut=P((g,d)=>{var{SourceMapConsumer:o,SourceMapGenerator:p}=oe(),{dirname:c,resolve:r,relative:s,sep:i}=le(),{pathToFileURL:m}=Ue(),l=be(),h=!!(o&&p),t=!!(c&&r&&s&&i),f=class{constructor(n,e,u,a){this.stringify=n,this.mapOpts=u.map||{},this.root=e,this.opts=u,this.css=a,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(n=>{if(n.source&&n.source.input.map){let e=n.source.input.map;this.previousMaps.includes(e)||this.previousMaps.push(e)}});else{let n=new l(this.css,this.opts);n.map&&this.previousMaps.push(n.map)}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let n=this.mapOpts.annotation;return typeof n<"u"&&n!==!0?!1:this.previous().length?this.previous().some(e=>e.inline):!0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(n=>n.withContent()):!0}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let n;for(let e=this.root.nodes.length-1;e>=0;e--)n=this.root.nodes[e],n.type==="comment"&&n.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(e)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let n={};if(this.root)this.root.walk(e=>{if(e.source){let u=e.source.input.from;if(u&&!n[u]){n[u]=!0;let a=this.usesFileUrls?this.toFileUrl(u):this.toUrl(this.path(u));this.map.setSourceContent(a,e.source.input.css)}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(e,this.css)}}applyPrevMaps(){for(let n of this.previous()){let e=this.toUrl(this.path(n.file)),u=n.root||c(n.file),a;this.mapOpts.sourcesContent===!1?(a=new o(n.text),a.sourcesContent&&(a.sourcesContent=a.sourcesContent.map(()=>null))):a=n.consumer(),this.map.applySourceMap(a,e,this.toUrl(this.path(u)))}}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(n=>n.annotation):!0}toBase64(n){return Buffer?Buffer.from(n).toString("base64"):window.btoa(unescape(encodeURIComponent(n)))}addAnnotation(){let n;this.isInline()?n="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="str
19ing"?n=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?n=this.mapOpts.annotation(this.opts.to,this.root):n=this.outputFile()+".map";let e=` 20`;this.css.includes(`\r 21`)&&(e=`\r 22`),this.css+=e+"/*# sourceMappingURL="+n+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let n=this.previous()[0].consumer();n.file=this.outputFile(),this.map=p.fromSourceMap(n)}else this.map=new p({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(n){if(n.indexOf("<")===0||/^\w+:\/\//.test(n)||this.mapOpts.absolute)return n;let e=this.opts.to?c(this.opts.to):".";return typeof this.mapOpts.annotation=="string"&&(e=c(r(e,this.mapOpts.annotation))),n=s(e,n),n}toUrl(n){return i==="\\"&&(n=n.replace(/\\/g,"/")),encodeURI(n).replace(/[#?]/g,encodeURIComponent)}toFileUrl(n){if(m)return m(n).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}sourcePath(n){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(n.source.input.from):this.toUrl(this.path(n.source.input.from))}generateString(){this.css="",this.map=new p({file:this.outputFile()});let n=1,e=1,u="<no source>",a={source:"",generated:{line:0,column:0},original:{line:0,column:0}},y,w;this.stringify(this.root,(x,k,b)=>{if(this.css+=x,k&&b!=="end"&&(a.generated.line=n,a.generated.column=e-1,k.source&&k.source.start?(a.source=this.sourcePath(k),a.original.line=k.source.start.line,a.original.column=k.source.start.column-1,this.map.addMapping(a)):(a.source=u,a.original.line=1,a.original.column=0,this.map.addMapping(a))),y=x.match(/\n/g),y?(n+=y.length,w=x.lastIndexOf(` 23`),e=x.length-w):e+=x.length,k&&b!=="start"){let v=k.parent||{raws:{}};(!(k.type==="decl"||k.type==="atrule"&&!k.nodes)||k!==v.last||v.raws.semicolon)&&(k.source&&k.source.end?(a.source=this.sourcePath(k),a.original.line=k.source.end.line,a.original.column=k.source.end.column-1,a.generated.line=n,a.generated.column=e-2,this.map.addMapping(a)):(a.source=u,a.original.line=1,a.original.column=0,a.generated.line=n,a.generated.column=e-1,this.map.addMapping(a)))}})}generate(){if(this.clearAnnotation(),t&&h&&this.isMap())return this.generateMap();{let n="";return this.stringify(this.root,e=>{n+=e}),[n]}}};d.exports=f}),ve=P((g,d)=>{var o=ye(),p=class extends o{constructor(c){super(c),this.type="comment"}};d.exports=p,p.default=p}),ee=P((g,d)=>{var{isClean:o,my:p}=Te(),c=we(),r=ve(),s=ye(),i,m,l,h;function t(e){return e.map(u=>(u.nodes&&(u.nodes=t(u.nodes)),delete u.source,u))}function f(e){if(e[o]=!1,e.proxyOf.nodes)for(let u of e.proxyOf.nodes)f(u)}var n=class extends s{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let u=this.getIterator(),a,y;for(;this.indexes[u]<this.proxyOf.nodes.length&&(a=this.indexes[u],y=e(this.proxyOf.nodes[a],a),y!==!1);)this.indexes[u]+=1;return delete this.indexes[u],y}walk(e){return this.each((u,a)=>{let y;try{y=e(u,a)}catch(w){throw u.addToError(w)}return y!==!1&&u.walk&&(y=u.walk(e)),y})}walkDecls(e,u){return u?e instanceof RegExp?this.walk((a,y)=>{if(a.type==="decl"&&e.test(a.prop))return u(a,y)}):this.walk((a,y)=>{if(a.type==="decl"&&a.prop===e)return u(a,y)}):(u=e,this.walk((a,y)=>{if(a.type==="decl")return u(a,y)}))}walkRules(e,u){return u?e instanceof RegExp?this.walk((a,y)=>{if(a.type==="rule"&&e.test(a.selector))return u(a,y)}):this.walk((a,y)=>{if(a.type==="rule"&&a.selector===e)return u(a,y)}):(u=e,this.walk((a,y)=>{if(a.type==="rule")return u(a,y)}))}walkAtRules(e,u){return u?e instanceof RegExp?this.walk((a,y)=>{if(a.type==="atrule"&&e.test(a.name))return u(a,y)}):this.walk((a,y)=>{if(a.type==="atrule"&&a.name===e)return u(a,y)}):(u=e,this.walk((a,y)=>{if(a.type==="atrule")return u(a,y)}))}walkComments(e){return this.walk((u,a)=>{if(u.type==="comment")return e(u,a)})}append(...e){for(let u of e){let a=this.normalize(u,this.last);for(let y of a)this.proxyOf.nodes.push(y)}return this.markDirty(),this}prepend(...e){e=e.reverse();
vendor: 2,869 bytes, line 23
23for(let u of e){let a=this.normalize(u,this.first,"prepend").reverse();for(let y of a)this.proxyOf.nodes.unshift(y);for(let y in this.indexes)this.indexes[y]=this.indexes[y]+a.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let u of this.nodes)u.cleanRaws(e)}insertBefore(e,u){let a=this.index(e),y=a===0?"prepend":!1,w=this.normalize(u,this.proxyOf.nodes[a],y).reverse();a=this.index(e);for(let k of w)this.proxyOf.nodes.splice(a,0,k);let x;for(let k in this.indexes)x=this.indexes[k],a<=x&&(this.indexes[k]=x+w.length);return this.markDirty(),this}insertAfter(e,u){let a=this.index(e),y=this.normalize(u,this.proxyOf.nodes[a]).reverse();a=this.index(e);for(let x of y)this.proxyOf.nodes.splice(a+1,0,x);let w;for(let x in this.indexes)w=this.indexes[x],a<w&&(this.indexes[x]=w+y.length);return this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let u;for(let a in this.indexes)u=this.indexes[a],u>=e&&(this.indexes[a]=u-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,u,a){return a||(a=u,u={}),this.walkDecls(y=>{u.props&&!u.props.includes(y.prop)||u.fast&&!y.value.includes(u.fast)||(y.value=y.value.replace(e,a))}),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,u){if(typeof e=="string")e=t(i(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let a of e)a.parent&&a.parent.removeChild(a,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let a of e)a.parent&&a.parent.removeChild(a,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new c(e)]}else if(e.selector)e=[new m(e)];else if(e.name)e=[new l(e)];else if(e.text)e=[new r(e)];else throw new Error("Unknown node type in node creation");return e.map(a=>(a[p]||n.rebuild(a),a=a.proxyOf,a.parent&&a.parent.removeChild(a),a[o]&&f(a),typeof a.raws.before>"u"&&u&&typeof u.raws.before<"u"&&(a.raws.before=u.raws.before.replace(/\S/g,"")),a.parent=this.proxyOf,a))}getProxyProcessor(){return{set(e,u,a){return e[u]===a||(e[u]=a,(u==="name"||u==="params"||u==="selector")&&e.markDirty()),!0},get(e,u){return u==="proxyOf"?e:e[u]?u==="each"||typeof u=="string"&&u.startsWith("walk")?(...a)=>e[u](...a.map(y=>typeof y=="function"?(w,x)=>y(w.toProxy(),x):y)):u==="every"||u==="some"?a=>e[u]((y,...w)=>a(y.toProxy(),...w)):u==="root"?()=>
vendor: 23,485 bytes, lines 23-27
23e.root().toProxy():u==="nodes"?e.nodes.map(a=>a.toProxy()):u==="first"||u==="last"?e[u].toProxy():e[u]:e[u]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}};n.registerParse=e=>{i=e},n.registerRule=e=>{m=e},n.registerAtRule=e=>{l=e},n.registerRoot=e=>{h=e},d.exports=n,n.default=n,n.rebuild=e=>{e.type==="atrule"?Object.setPrototypeOf(e,l.prototype):e.type==="rule"?Object.setPrototypeOf(e,m.prototype):e.type==="decl"?Object.setPrototypeOf(e,c.prototype):e.type==="comment"?Object.setPrototypeOf(e,r.prototype):e.type==="root"&&Object.setPrototypeOf(e,h.prototype),e[p]=!0,e.nodes&&e.nodes.forEach(u=>{n.rebuild(u)})}}),$e=P((g,d)=>{var o=ee(),p,c,r=class extends o{constructor(s){super({type:"document",...s}),this.nodes||(this.nodes=[])}toResult(s={}){return new p(new c,this,s).stringify()}};r.registerLazyResult=s=>{p=s},r.registerProcessor=s=>{c=s},d.exports=r,r.default=r}),ht=P((g,d)=>{var o={};d.exports=function(p){o[p]||(o[p]=!0,typeof console<"u"&&console.warn&&console.warn(p))}}),ct=P((g,d)=>{var o=class{constructor(p,c={}){if(this.type="warning",this.text=p,c.node&&c.node.source){let r=c.node.rangeBy(c);this.line=r.start.line,this.column=r.start.column,this.endLine=r.end.line,this.endColumn=r.end.column}for(let r in c)this[r]=c[r]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};d.exports=o,o.default=o}),Be=P((g,d)=>{var o=ct(),p=class{constructor(c,r,s){this.processor=c,this.messages=[],this.root=r,this.opts=s,this.css=void 0,this.map=void 0}toString(){return this.css}warn(c,r={}){r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);let s=new o(c,r);return this.messages.push(s),s}warnings(){return this.messages.filter(c=>c.type==="warning")}get content(){return this.css}};d.exports=p,p.default=p}),jt=P((g,d)=>{var o="'".charCodeAt(0),p='"'.charCodeAt(0),c="\\".charCodeAt(0),r="/".charCodeAt(0),s=` 24`.charCodeAt(0),i=" ".charCodeAt(0),m="\f".charCodeAt(0),l=" ".charCodeAt(0),h="\r".charCodeAt(0),t="[".charCodeAt(0),f="]".charCodeAt(0),n="(".charCodeAt(0),e=")".charCodeAt(0),u="{".charCodeAt(0),a="}".charCodeAt(0),y=";".charCodeAt(0),w="*".charCodeAt(0),x=":".charCodeAt(0),k="@".charCodeAt(0),b=/[\t\n\f\r "#'()/;[\\\]{}]/g,v=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,C=/.[\n"'(/\\]/,A=/[\da-f]/i;d.exports=function(F,M={}){let E=F.css.valueOf(),T=M.ignoreErrors,I,S,G,$,L,B,R,N,j,z,Z=E.length,O=0,Y=[],J=[];function ke(){return O}function Q(V){throw F.error("Unclosed "+V,O)}function Ce(){return J.length===0&&O>=Z}function Se(V){if(J.length)return J.pop();if(O>=Z)return;let X=V?V.ignoreUnclosed:!1;switch(I=E.charCodeAt(O),I){case s:case i:case l:case h:case m:{S=O;do S+=1,I=E.charCodeAt(S);while(I===i||I===s||I===l||I===h||I===m);z=["space",E.slice(O,S)],O=S-1;break}case t:case f:case u:case a:case x:case y:case e:{let re=String.fromCharCode(I);z=[re,re,O];break}case n:{if(N=Y.length?Y.pop()[1]:"",j=E.charCodeAt(O+1),N==="url"&&j!==o&&j!==p&&j!==i&&j!==s&&j!==l&&j!==m&&j!==h){S=O;do{if(B=!1,S=E.indexOf(")",S+1),S===-1)if(T||X){S=O;break}else Q("bracket");for(R=S;E.charCodeAt(R-1)===c;)R-=1,B=!B}while(B);z=["brackets",E.slice(O,S+1),O,S],O=S}else S=E.indexOf(")",O+1),$=E.slice(O,S+1),S===-1||C.test($)?z=["(","(",O]:(z=["brackets",$,O,S],O=S);break}case o:case p:{G=I===o?"'":'"',S=O;do{if(B=!1,S=E.indexOf(G,S+1),S===-1)if(T||X){S=O+1;break}else Q("string");for(R=S;E.charCodeAt(R-1)===c;)R-=1,B=!B}while(B);z=["string",E.slice(O,S+1),O,S],O=S;break}case k:{b.lastIndex=O+1,b.test(E),b.lastIndex===0?S=E.length-1:S=b.lastIndex-2,z=["at-word",E.slice(O,S+1),O,S],O=S;break}case c:{for(S=O,L=!0;E.charCodeAt(S+1)===c;)S+=1,L=!L;if(I=E.charCodeAt(S+1),L&&I!==r&&I!==i&&I!==s&&I!==l&&I!==h&&I!==m&&(S+=1,A.test(E.charAt(S)))){for(;A.test(E.charAt(S+1));)S+=1;E.charCodeAt(S+1)===i&&(S+=1)}z=["word",E.slice(O,S+1),O,S],O=S;break}default:{I===r&&E.charCodeAt(O+1)===w?(S=E.indexOf("*/",O+2)+1,S===0&&(T||X?S=E.length:Q("comment")),z=["comment",E.slice(O,S+1),O,S],O=S):(v.lastIndex=O+1,v.test(E),v.lastIndex===0?S=E.length-1:S=v.lastIndex-2,z=["word",E.slice(O,S+1),O,S],Y.push(z),O=S);break}}return O++,z}function Oe(V){J.push(V)}return{back:Oe,nextToken:Se,endOfFile:Ce,position:ke}}}),Le=P((g,d)=>{var o=ee(),p=class extends o{constructor(c){super(c),this.type="atrule"}append(...c){return this.proxyOf.nodes||(this.nodes=[]),super.append(...c)}prepend(...c){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...c)}};d.exports=p,p.default=p,o.registerAtRule(p)}),ae=P((g,d)=>{var o=ee(),p,c,r=class extends o{constructor(s){super(s),this.type="root",this.nodes||(this.nodes=[])}removeChild(s,i){let m=this.index(s);return!i&&m===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[m].raws.before),super.removeChild(s)}normalize(s,i,m){let l=super.normalize(s);if(i){if(m==="prepend")this.nodes.length>1?i.raws.before=this.nodes[1].raws.before:delete i.raws.before;else if(this.first!==i)for(let h of l)h.raws.before=i.raws.before}return l}toResult(s={}){return new p(new c,this,s).stringify()}};r.registerLazyResult=s=>{p=s},r.registerProcessor=s=>{c=s},d.exports=r,r.default=r,o.registerRoot(r)}),pt=P((g,d)=>{var o={split(p,c,r){let s=[],i="",m=!1,l=0,h=!1,t="",f=!1;for(let n of p)f?f=!1:n==="\\"?f=!0:h?n===t&&(h=!1):n==='"'||n==="'"?(h=!0,t=n):n==="("?l+=1:n===")"?l>0&&(l-=1):l===0&&c.includes(n)&&(m=!0),m?(i!==""&&s.push(i.trim()),i="",m=!1):i+=n;return(r||i!=="")&&s.push(i.trim()),s},space(p){let c=[" ",` 25`," "];return o.split(p,c)},comma(p){return o.split(p,[","],!0)}};d.exports=o,o.default=o}),_e=P((g,d)=>{var o=ee(),p=pt(),c=class extends o{constructor(r){super(r),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return p.comma(this.selector)}set selectors(r){let s=this.selector?this.selector.match(/,\s*/):null,i=s?s[0]:","+this.raw("between","beforeOpen");this.selector=r.join(i)}};d.exports=c,c.default=c,o.registerRule(c)}),Nt=P((g,d)=>{var o=we(),p=jt(),c=ve(),r=Le(),s=ae(),i=_e(),m={empty:!0,space:!0};function l(t){for(let f=t.length-1;f>=0;f--){let n=t[f],e=n[3]||n[2];if(e)return e}}var h=class{constructor(t){this.input=t,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:t,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=p(this.input)}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()}comment(t){let f=new c;this.init(f,t[2]),f.source.end=this.getPosition(t[3]||t[2]);let n=t[1].slice(2,-2);if(/^\s*$/.test(n))f.text="",f.raws.left=n,f.raws.right="";else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);f.text=e[2],f.raws.left=e[1],f.raws.right=e[3]}}emptyRule(t){let f=new i;this.init(f,t[2]),f.selector="",f.raws.between="",this.current=f}other(t){let f=!1,n=null,e=!1,u=null,a=[],y=t[1].startsWith("--"),w=[],x=t;for(;x;){if(n=x[0],w.push(x),n==="("||n==="[")u||(u=x),a.push(n==="("?")":"]");else if(y&&e&&n==="{")u||(u=x),a.push("}");else if(a.length===0)if(n===";")if(e){this.decl(w,y);return}else break;else if(n==="{"){this.rule(w);return}else if(n==="}"){this.tokenizer.back(w.pop()),f=!0;break}else n===":"&&(e=!0);else n===a[a.length-1]&&(a.pop(),a.length===0&&(u=null));x=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(f=!0),a.length>0&&this.unclosedBracket(u),f&&e){if(!y)for(;w.length&&(x=w[w.length-1][0],!(x!=="space"&&x!=="comment"));)this.tokenizer.back(w.pop());this.decl(w,y)}else this.unknownWord(w)}rule(t){t.pop();let f=new i;this.init(f,t[0][2]),f.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(f,"selector",t),this.current=f}decl(t,f){let n=new o;this.init(n,t[0][2]);let e=t[t.length-1];for(e[0]===";"&&(this.semicolon=!0,t.pop()),n.source.end=this.getPosition(e[3]||e[2]||l(t));t[0][0]!=="word";)t.length===1&&this.unknownWord(t),n.raws.before+=t.shift()[1];for(n.source.start=this.getPosition(t[0][2]),n.prop="";t.length;){let w=t[0][0];if(w===":"||w==="space"||w==="comment")break;n.prop+=t.shift()[1]}n.raws.between="";let u;for(;t.length;)if(u=t.shift(),u[0]===":"){n.raws.between+=u[1];break}else u[0]==="word"&&/\w/.test(u[1])&&this.unknownWord([u]),n.raws.between+=u[1];(n.prop[0]==="_"||n.prop[0]==="*")&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let a=[],y;for(;t.length&&(y=t[0][0],!(y!=="space"&&y!=="comment"));)a.push(t.shift());this.precheckMissedSemicolon(t);for(let w=t.length-1;w>=0;w--){if(u=t[w],u[1].toLowerCase()==="!important"){n.important=!0;let x=this.stringFrom(t,w);x=this.spacesFromEnd(t)+x,x!==" !important"&&(n.raws.important=x);break}else if(u[1].toLowerCase()==="important"){let x=t.slice(0),k="";for(let b=w;b>0;b--){let v=x[b][0];if(k.trim().indexOf("!")===0&&v!=="space")break;k=x.pop()[1]+k}k.trim().indexOf("!")===0&&(n.important=!0,n.raws.important=k,t=x)}if(u[0]!=="space"&&u[0]!=="comment")break}t.some(w=>w[0]!=="space"&&w[0]!=="comment")&&(n.raws.between+=a.map(w=>w[1]).join(""),a=[]),this.raw(n,"value",a.concat(t),f),n.value.includes(":")&&!f&&this.checkMissedSemicolon(t)}atrule(t){let f=new r;f.name=t[1].slice(1),f.name===""&&this.unnamedAtrule(f,t),this.init(f,t[2]);let n,e,u,a=!1,y=!1,w=[],x=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),n=t[0],n==="("||n==="["?x.push(n==="("?")":"]"):n==="{"&&x.length>0?x.push("}"):n===x[x.length-1]&&x.pop(),x.length===0)if(n===";"){f.source.end=this.getPosition(t[2]),this.semicolon=!0;break}else if(n==="{"){y=!0;break}else if(n==="}"){if(w.length>0){for(u=w.length-1,e=w[u];e&&e[0]==="space";)e=w[--u];e&&(f.source.end=this.getPosition(e[3]||e[2]))}this.end(t);break}else w.push(t);else w.push(t);if(this.tokenizer.endOfFile()){a=!0;break}}f.raws.between=this.spacesAndCommentsFromEnd(w),w.length?(f.raws.afterName=this.spacesAndCommentsFromStart(w),this.raw(f,"params",w),a&&(t=w[w.length-1],f.source.end=this.getPosition(t[3]||t[2]),this.spaces=f.raws.between,f.raws.between="")):(f.raws.afterName="",f.params=""),y&&(f.nodes=[],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=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}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{offset:t,line:f.line,column:f.col}}init(t,f){this.current.push(t),t.source={start:this.getPosition(f),input:this.input},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}raw(t,f,n,e){let u,a,y=n.length,w="",x=!0,k,b;for(let v=0;v<y;v+=1)u=n[v],a=u[0],a==="space"&&v===y-1&&!e?x=!1:a==="comment"?(b=n[v-1]?n[v-1][0]:"empty",k=n[v+1]?n[v+1][0]:"empty",!m[b]&&!m[k]?w.slice(-1)===","?x=!1:w+=u[1]:x=!1):w+=u[1];if(!x){let v=n.reduce((C,A)=>C+A[1],"");t.raws[f]={value:w,raw:v}}t[f]=w}spacesAndCommentsFromEnd(t){let f,n="";for(;t.length&&(f=t[t.length-1][0],!(f!=="space"&&f!=="comment"));)n=t.pop()[1]+n;return n}spacesAndCommentsFromStart(t){let f,n="";for(;t.length&&(f=t[0][0],!(f!=="space"&&f!=="comment"));)n+=t.shift()[1];return n}spacesFromEnd(t){let f,n="";for(;t.length&&(f=t[t.length-1][0],f==="space");)n=t.pop()[1]+n;return n}stringFrom(t,f){let n="";for(let e=f;e<t.length;e++)n+=t[e][1];return t.splice(f,t.length-f),n}colon(t){let f=0,n,e,u;for(let[a,y]of t.entries()){if(n=y,e=n[0],e==="("&&(f+=1),e===")"&&(f-=1),f===0&&e===":")if(!u)this.doubleColon(n);else{if(u[0]==="word"&&u[1]==="progid")continue;return a}u=n}return!1}unclosedBracket(t){throw this.input.error("Unclosed bracket",{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})}unexpectedClose(t){throw this.input.error("Unexpected }",{offset:t[2]},{offset:t[2]+1})}unclosedBlock(){let t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}unnamedAtrule(t,f){throw this.input.error("At-rule without name",{offset:f[2]},{offset:f[2]+f[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(t){let f=this.colon(t);if(f===!1)return;let n=0,e;for(let u=f-1;u>=0&&(e=t[u],!(e[0]!=="space"&&(n+=1,n===2)));u--);throw this.input.error("Missed semicolon",e[0]==="word"?e[3]+1:e[2])}};d.exports=h}),De=P((g,d)=>{var o=ee(),p=Nt(),c=be();function r(s,i){let m=new c(s,i),l=new p(m);try{l.parse()}catch(h){throw h}return l.root}d.exports=r,r.default=r,o.registerParse(r)}),ft=P((g,d)=>{var{isClean:o,my:p}=Te(),c=ut(),r=me(),s=ee(),i=$e();ht();var m=Be(),l=De(),h=ae(),t={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},f={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},n={postcssPlugin:!0,prepare:!0,Once:!0},e=0;function u(b){return typeof b=="object"&&typeof b.then=="function"}function a(b){let v=!1,C=t[b.type];return b.type==="decl"?v=b.prop.toLowerCase():b.type==="atrule"&&(v=b.name.toLowerCase()),v&&b.append?[C,C+"-"+v,e,C+"Exit",C+"Exit-"+v]:v?[C,C+"-"+v,C+"Exit",C+"Exit-"+v]:b.append?[C,e,C+"Exit"]:[C,C+"Exit"]}function y(b){let v;return b.type==="document"?v=["Document",e,"DocumentExit"]:b.type==="root"?v=["Root",e,"RootExit"]:v=a(b),{node:b,events:v,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function w(b){return b[o]=!1,b.nodes&&b.nodes.forEach(v=>w(v)),b}var x={},k=class{constructor(b,v,C){this.stringified=!1,this.processed=!1;let A;if(typeof v=="object"&&v!==null&&(v.type==="root"||v.type==="document"))A=w(v);else if(v instanceof k||v instanceof m)A=w(v.root),v.map&&(typeof C.map>"u"&&(C.map={}),C.map.inline||(C.map.inline=!1),C.map.prev=v.map);else{let F=l;C.syntax&&(F=C.syntax.parse),C.parser&&(F=C.parser),F.parse&&(F=F.parse);try{A=F(v,C)}catch(M){this.processed=!0,this.error=M}A&&!A[p]&&s.rebuild(A)}this.result=new m(b,A,C),this.helpers={...x,result:this.result,postcss:x},this.plugins=this.processor.plugins.map(F=>typeof F=="object"&&F.prepare?{...F,...F.prepare(this.result)}:F)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(b,v){return this.async().then(b,v)}catch(b){return this.async().catch(b)}finally(b){return this.async().then(b,b)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let b of this.plugins){let v=this.runOnRoot(b);if(u(v))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let b=this.result.root;for(;!b[o];)b[o]=!0,this.walkSync(b);if(this.listeners.OnceExit)if(b.type==="document")for(let v of b.nodes)this.visitSync(this.listeners.OnceExit,v);else this.visitSync(this.listeners.OnceExit,b)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let b=this.result.opts,v=r;b.syntax&&(v=b.syntax.stringify),b.stringifier&&(v=b.stringifier),v.stringify&&(v=v.stringify);let C=new c(v,this.result.root,this.result.opts).generate();return this.result.css=C[0],this.result.map=C[1],this.result}walkSync(b){b[o]=!0;let v=a(b);for(let C of v)if(C===e)b.nodes&&b.each(A=>{A[o]||this.walkSync(A)});else{let A=this.listeners[C];if(A&&this.visitSync(A,b.toProxy()))return}}visitSync(b,v){for(let[C,A]of b){this.result.lastPlugin=C;let F;try{F=A(v,this.helpers)}catch(M){throw this.handleError(M,v.proxyOf)}if(v.type!=="root"&&v.type!=="document"&&!v.parent)return!0;if(u(F))throw this.getAsyncError()}}runOnRoot(b){this.result.lastPlugin=b;try{if(typeof b=="object"&&b.Once){if(this.result.root.type==="document"){let v=this.result.root.nodes.map(C=>b.Once(C,this.helpers));return u(v[0])?Promise.all(v):v}return b.Once(this.result.root,this.helpers)}else if(typeof b=="function")return b(this.result.root,this.result)}catch(v){throw this.handleError(v)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(b,v){let C=this.result.lastPlugin;try{v&&v.addToError(b),this.error=b,b.name==="CssSyntaxError"&&!b.plugin?(b.plugin=C.postcssPlugin,b.setMessage()):C.postcssVersion}catch(A){console&&console.error&&console.error(A)}return b}async runAsync(){this.plugin=0;for(let b=0;b<this.plugins.length;b++){let v=this.plugins[b],C=this.runOnRoot(v);if(u(C))try{await C}catch(A){throw this.handleError(A)}}if(this.prepareVisitors(),this.hasListener){let b=this.result.root;for(;!b[o];){b[o]=!0;let v=[y(b)];for(;v.length>0;){let C=this.visitTick(v);if(u(C))try{await C}catch(A){let F=v[v.length-1].node;throw this.handleError(A,F)}}}if(this.listeners.OnceExit)for(let[v,C]of this.listeners.OnceExit){this.result.lastPlugin=v;try{if(b.type==="document"){let A=b.nodes.map(F=>C(F,this.helpers));await Promise.all(A)}else await C(b,this.helpers)}catch(A){throw this.handleError(A)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let b=(v,C,A)=>{this.listeners[C]||(this.listeners[C]=[]),this.listeners[C].push([v,A])};for(let v of this.plugins)if(typeof v=="object")for(let C in v){if(!f[C]&&/^[A-Z]/.test(C))throw new Error(`Unknown event ${C} in ${v.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!n[C])if(typeof v[C]=="object")for(let A in v[C])A==="*"?b(v,C,v[C][A]):b(v,C+"-"+A.toLowerCase(),v[C][A]);else typeof v[C]=="function"&&b(v,C,v[C])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(b){let v=b[b.length-1],{node:C,visitors:A}=v;if(C.type!=="root"&&C.type!=="document"&&!C.parent){b.pop();return}if(A.length>0&&v.visitorIndex<A.length){let[M,E]=A[v.visitorIndex];v.visitorIndex+=1,v.visitorIndex===A.length&&(v.visitors=[],v.visitorIndex=0),this.result.lastPlugin=M;try{return E(C.toProxy(),this.helpers)}catch(T){throw this.handleError(T,C)}}if(v.iterator!==0){let M=v.iterator,E;for(;E=C.nodes[C.indexes[M]];)if(C.indexes[M]+=1,!E[o]){E[o]=!0,b.push(y(E));return}v.iterator=0,delete C.indexes[M]}let F=v.events;for(;v.eventIndex<F.length;){let M=F[v.eventIndex];if(v.eventIndex+=1,M===e){C.nodes&&C.nodes.length&&(C[o]=!0,v.iterator=C.getIterator());return}else if(this.listeners[M]){v.visitors=this.listeners[M];return}}b.pop()}};k.registerPostcss=b=>{x=b},d.exports=k,k.default=k,h.registerLazyResult(k),i.registerLazyResult(k)}),zt=P((g,d)=>{var o=ut(),p=me();ht();var c=De(),r=Be(),s=class{constructor(i,m,l){m=m.toString(),this.stringified=!1,this._processor=i,this._css=m,this._opts=l,this._map=void 0;let h,t=p;this.result=new r(this._processor,h,this._opts),this.result.css=m;let f=this;Object.defineProperty(this.result,"root",{get(){return f.root}});let n=new o(t,h,this._opts,m);if(n.isMap()){let[e,u]=n.generate();e&&(this.result.css=e),u&&(this.result.map=u)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let i,m=c;try{i=m(this._css,this._opts)}catch(l){this.error=l}if(this.error)throw this.error;return this._root=i,i}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(i,m){return this.async().then(i,m)}catch(i){return this.async().catch(i)}finally(i){return this.async().then(i,i)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}};d.exports=s,s.default=s}),Tt=P((g,d)=>{var o=zt(),p=ft(),c=$e(),r=ae(),s=class{constructor(i=[]){this.version="8.4.24",this.plugins=this.normalize(i)}use(i){return this.plugins=this.plugins.concat(this.normalize([i])),this}process(i,m={}){return this.plugins.length===0&&typeof m.parser>"u"&&typeof m.stringifier>"u"&&typeof m.syntax>"u"?new o(this,i,m):new p(this,i,m)}normalize(i){let m=[];for(let l of i)if(l.postcss===!0?l=l():l.postcss&&(l=l.postcss),typeof l=="object"&&Array.isArray(l.plugins))m=m.concat(l.plugins);else if(typeof l=="object"&&l.postcssPlugin)m.push(l);else if(typeof l=="function")m.push(l);else if(!(typeof l=="object"&&(l.parse||l.stringify)))throw new Error(l+" is not a PostCSS plugin");return m}};d.exports=s,s.default=s,r.registerProcessor(s),c.registerProcessor(s)}),Ut=P((g,d)=>{var o=we(),p=at(),c=ve(),r=Le(),s=be(),i=ae(),m=_e();function l(h,t){if(Array.isArray(h))return h.map(e=>l(e));let{inputs:f,...n}=h;if(f){t=[];for(let e of f){let u={...e,__proto__:s.prototype};u.map&&(u.map={...u.map,__proto__:p.prototype}),t.push(u)}}if(n.nodes&&(n.nodes=h.nodes.map(e=>l(e,t))),n.source){let{inputId:e,...u}=n.source;n.source=u,e!=null&&(n.source.input=t[e])}if(n.type==="root")return new i(n);if(n.type==="decl")return new o(n);if(n.type==="rule")return new m(n);if(n.type==="comment")return new c(n);if(n.type==="atrule")return new r(n);throw new Error("Unknown node type: "+h.type)}d.exports=l,l.default=l}),$t=P((g,d)=>{var o=ze(),p=we(),c=ft(),r=ee(),s=Tt(),i=me(),m=Ut(),l=$e(),h=ct(),t=ve(),f=Le(),n=Be(),e=be(),u=De(),a=pt(),y=_e(),w=ae(),x=ye();function k(...b){return b.length===1&&Array.isArray(b[0])&&(b=b[0]),new s(b)}k.plugin=function(b,v){let C=!1;function A(...M){console&&console.warn&&!C&&(C=!0,console.warn(b+`: postcss.plugin was deprecated. Migration guide: 26https://evilmartians.com/chronicles/postcss-8-plugin-migration`),{}.LANG&&{}.LANG.startsWith("cn")&&console.warn(b+`: éé¢ postcss.plugin 被å¼ç¨. è¿ç§»æå: 27https://www.w3ctech.com/topic/2226`));let E=v(...M);return E.postcssPlugin=b,E.postcssVersion=new s().version,E}let F;return Object.defineProperty(A,"postcss",{get(){return F||(F=A()),F}}),A.process=function(M,E,T){return k([A(T)]).process(M,E)},A},k.stringify=i,k.parse=u,k.fromJSON=m,k.list=a,k.comment=b=>new t(b),k.atRule=b=>new f(b),k.decl=b=>new p(b),k.rule=b=>new y(b),k.root=b=>new w(b),k.document=b=>new l(b),k.CssSyntaxError=o,k.Declaration=p,k.Container=r,k.Processor=s,k.Document=l,k.Comment=t,k.Warning=h,k.AtRule=f,k.Result=n,k.Input=e,k.Rule=y,k.Root=w,k.Node=x,c.registerPostcss(k),d.exports=k,k.default=k}),dt=P(()=>{}),gt=P((g,d)=>
vendor: 9,609 bytes, lines 27-41
27{var o=st(),p=dt(),c=class extends Error{constructor(r,s,i,m,l,h){super(r),this.name="CssSyntaxError",this.reason=r,l&&(this.file=l),m&&(this.source=m),h&&(this.plugin=h),typeof s<"u"&&typeof i<"u"&&(typeof s=="number"?(this.line=s,this.column=i):(this.line=s.line,this.column=s.column,this.endLine=i.line,this.endColumn=i.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,c)}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(r){if(!this.source)return"";let s=this.source;r==null&&(r=o.isColorSupported),p&&r&&(s=p(s));let i=s.split(/\r?\n/),m=Math.max(this.line-3,0),l=Math.min(this.line+2,i.length),h=String(l).length,t,f;if(r){let{bold:n,red:e,gray:u}=o.createColors(!0);t=a=>n(e(a)),f=a=>u(a)}else t=f=n=>n;return i.slice(m,l).map((n,e)=>{let u=m+1+e,a=" "+(" "+u).slice(-h)+" | ";if(u===this.line){let y=f(a.replace(/\d/g," "))+n.slice(0,this.column-1).replace(/[^\t]/g," ");return t(">")+f(a)+n+` 28 `+y+t("^")}return" "+f(a)+n}).join(` 29`)}toString(){let r=this.showSourceCode();return r&&(r=` 30 31`+r+` 32`),this.name+": "+this.message+r}};d.exports=c,c.default=c}),Bt=P((g,d)=>{var{SourceMapConsumer:o,SourceMapGenerator:p}=oe(),{existsSync:c,readFileSync:r}=lt(),{dirname:s,join:i}=le();function m(h){return Buffer?Buffer.from(h,"base64").toString():window.atob(h)}var l=class{constructor(h,t){if(t.map===!1)return;this.loadAnnotation(h),this.inline=this.startWith(this.annotation,"data:");let f=t.map?t.map.prev:void 0,n=this.loadMap(t.from,f);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=s(this.mapFile)),n&&(this.text=n)}consumer(){return this.consumerCache||(this.consumerCache=new o(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(h,t){return h?h.substr(0,t.length)===t:!1}getAnnotationURL(h){return h.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(h){let t=h.match(/\/\*\s*# sourceMappingURL=/gm);if(!t)return;let f=h.lastIndexOf(t.pop()),n=h.indexOf("*/",f);f>-1&&n>-1&&(this.annotation=this.getAnnotationURL(h.substring(f,n)))}decodeInline(h){let t=/^data:application\/json;charset=utf-?8;base64,/,f=/^data:application\/json;base64,/,n=/^data:application\/json;charset=utf-?8,/,e=/^data:application\/json,/;if(n.test(h)||e.test(h))return decodeURIComponent(h.substr(RegExp.lastMatch.length));if(t.test(h)||f.test(h))return m(h.substr(RegExp.lastMatch.length));let u=h.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+u)}loadFile(h){if(this.root=s(h),c(h))return this.mapFile=h,r(h,"utf-8").toString().trim()}loadMap(h,t){if(t===!1)return!1;if(t){if(typeof t=="string")return t;if(typeof t=="function"){let f=t(h);if(f){let n=this.loadFile(f);if(!n)throw new Error("Unable to load previous source map: "+f.toString());return n}}else{if(t instanceof o)return p.fromSourceMap(t).toString();if(t instanceof p)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let f=this.annotation;return h&&(f=i(s(h),f)),this.loadFile(f)}}}isMap(h){return typeof h!="object"?!1:typeof h.mappings=="string"||typeof h._mappings=="string"||Array.isArray(h.sections)}};d.exports=l,l.default=l}),mt=P((g,d)=>{var{SourceMapConsumer:o,SourceMapGenerator:p}=oe(),{fileURLToPath:c,pathToFileURL:r}=Ue(),{resolve:s,isAbsolute:i}=le(),{nanoid:m}=ot(),l=dt(),h=gt(),t=Bt(),f=Symbol("fromOffsetCache"),n=!!(o&&p),e=!!(s&&i),u=class{constructor(a,y={}){if(a===null||typeof a>"u"||typeof a=="object"&&!a.toString)throw new Error(`PostCSS received ${a} instead of CSS string`);if(this.css=a.toString(),this.css[0]==="\uFEFF"||this.css[0]==="￾"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,y.from&&(!e||/^\w+:\/\//.test(y.from)||i(y.from)?this.file=y.from:this.file=s(y.from)),e&&n){let w=new t(this.css,y);if(w.text){this.map=w;let x=w.consumer().file;!this.file&&x&&(this.file=this.mapResolve(x))}}this.file||(this.id="<input css "+m(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(a){let y,w;if(this[f])w=this[f];else{let k=this.css.split(` 33`);w=new Array(k.length);let b=0;for(let v=0,C=k.length;v<C;v++)w[v]=b,b+=k[v].length+1;this[f]=w}y=w[w.length-1];let x=0;if(a>=y)x=w.length-1;else{let k=w.length-2,b;for(;x<k;)if(b=x+(k-x>>1),a<w[b])k=b-1;else if(a>=w[b+1])x=b+1;else{x=b;break}}return{line:x+1,col:a-w[x]+1}}error(a,y,w,x={}){let k,b,v;if(y&&typeof y=="object"){let A=y,F=w;if(typeof A.offset=="number"){let M=this.fromOffset(A.offset);y=M.line,w=M.col}else y=A.line,w=A.column;if(typeof F.offset=="number"){let M=this.fromOffset(F.offset);b=M.line,v=M.col}else b=F.line,v=F.column}else if(!w){let A=this.fromOffset(y);y=A.line,w=A.col}let C=this.origin(y,w,b,v);return C?k=new h(a,C.endLine===void 0?C.line:{line:C.line,column:C.column},C.endLine===void 0?C.column:{line:C.endLine,column:C.endColumn},C.source,C.file,x.plugin):k=new h(a,b===void 0?y:{line:y,column:w},b===void 0?w:{line:b,column:v},this.css,this.file,x.plugin),k.input={line:y,column:w,endLine:b,endColumn:v,source:this.css},this.file&&(r&&(k.input.url=r(this.file).toString()),k.input.file=this.file),k}origin(a,y,w,x){if(!this.map)return!1;let k=this.map.consumer(),b=k.originalPositionFor({line:a,column:y});if(!b.source)return!1;let v;typeof w=="number"&&(v=k.originalPositionFor({line:w,column:x}));let C;i(b.source)?C=r(b.source):C=new URL(b.source,this.map.consumer().sourceRoot||r(this.map.mapFile));let A={url:C.toString(),line:b.line,column:b.column,endLine:v&&v.line,endColumn:v&&v.column};if(C.protocol==="file:")if(c)A.file=c(C);else throw new Error("file: protocol is not available in this PostCSS build");let F=k.sourceContentFor(b.source);return F&&(A.source=F),A}mapResolve(a){return/^\w+:\/\//.test(a)?a:s(this.map.consumer().sourceRoot||this.map.root||".",a)}get from(){return this.file||this.id}toJSON(){let a={};for(let y of["hasBOM","css","file","id"])this[y]!=null&&(a[y]=this[y]);return this.map&&(a.map={...this.map},a.map.consumerCache&&(a.map.consumerCache=void 0)),a}};d.exports=u,u.default=u,l&&l.registerInput&&l.registerInput(u)}),yt=P((g,d)=>{d.exports.isClean=Symbol("isClean"),d.exports.my=Symbol("my")}),We=P((g,d)=>{var o={colon:": ",indent:" ",beforeDecl:` 34`,beforeRule:` 35`,beforeOpen:" ",beforeClose:` 36`,beforeComment:` 37`,after:` 38`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function p(r){return r[0].toUpperCase()+r.slice(1)}var c=class{constructor(r){this.builder=r}stringify(r,s){if(!this[r.type])throw new Error("Unknown AST node type "+r.type+". Maybe you need to change PostCSS stringifier.");this[r.type](r,s)}document(r){this.body(r)}root(r){this.body(r),r.raws.after&&this.builder(r.raws.after)}comment(r){let s=this.raw(r,"left","commentLeft"),i=this.raw(r,"right","commentRight");this.builder("/*"+s+r.text+i+"*/",r)}decl(r,s){let i=this.raw(r,"between","colon"),m=r.prop+i+this.rawValue(r,"value");r.important&&(m+=r.raws.important||" !important"),s&&(m+=";"),this.builder(m,r)}rule(r){this.block(r,this.rawValue(r,"selector")),r.raws.ownSemicolon&&this.builder(r.raws.ownSemicolon,r,"end")}atrule(r,s){let i="@"+r.name,m=r.params?this.rawValue(r,"params"):"";if(typeof r.raws.afterName<"u"?i+=r.raws.afterName:m&&(i+=" "),r.nodes)this.block(r,i+m);else{let l=(r.raws.between||"")+(s?";":"");this.builder(i+m+l,r)}}body(r){let s=r.nodes.length-1;for(;s>0&&r.nodes[s].type==="comment";)s-=1;let i=this.raw(r,"semicolon");for(let m=0;m<r.nodes.length;m++){let l=r.nodes[m],h=this.raw(l,"before");h&&this.builder(h),this.stringify(l,s!==m||i)}}block(r,s){let i=this.raw(r,"between","beforeOpen");this.builder(s+i+"{",r,"start");let m;r.nodes&&r.nodes.length?(this.body(r),m=this.raw(r,"after")):m=this.raw(r,"after","emptyBody"),m&&this.builder(m),this.builder("}",r,"end")}raw(r,s,i){let m;if(i||(i=s),s&&(m=r.raws[s],typeof m<"u"))return m;let l=r.parent;if(i==="before"&&(!l||l.type==="root"&&l.first===r||l&&l.type==="document"))return"";if(!l)return o[i];let h=r.root();if(h.rawCache||(h.rawCache={}),typeof h.rawCache[i]<"u")return h.rawCache[i];if(i==="before"||i==="after")return this.beforeAfter(r,i);{let t="raw"+p(i);this[t]?m=this[t](h,r):h.walk(f=>{if(m=f.raws[s],typeof m<"u")return!1})}return typeof m>"u"&&(m=o[i]),h.rawCache[i]=m,m}rawSemicolon(r){let s;return r.walk(i=>{if(i.nodes&&i.nodes.length&&i.last.type==="decl"&&(s=i.raws.semicolon,typeof s<"u"))return!1}),s}rawEmptyBody(r){let s;return r.walk(i=>{if(i.nodes&&i.nodes.length===0&&(s=i.raws.after,typeof s<"u"))return!1}),s}rawIndent(r){if(r.raws.indent)return r.raws.indent;let s;return r.walk(i=>{let m=i.parent;if(m&&m!==r&&m.parent&&m.parent===r&&typeof i.raws.before<"u"){let l=i.raws.before.split(` 39`);return s=l[l.length-1],s=s.replace(/\S/g,""),!1}}),s}rawBeforeComment(r,s){let i;return r.walkComments(m=>{if(typeof m.raws.before<"u")return i=m.raws.before,i.includes(` 40`)&&(i=i.replace(/[^\n]+$/,"")),!1}),typeof i>"u"?i=this.raw(s,null,"beforeDecl"):i&&(i=i.replace(/\S/g,"")),i}rawBeforeDecl(r,s){let i;return r.walkDecls(m=>{if(typeof m.raws.before<"u")return i=m.raws.before,i.includes(` 41`)&&(i=i.replace(/[^\n]+$/,"")),!1}),typeof i>"u"?i=this.raw(s,null,"beforeRule"):i&&(i=i.replace(/\S/g,"")),i}rawBeforeRule(r){let s;return r.walk(i=>{if(i.nodes&&(i.parent!==r||r.first!==i)&&typeof i.raws.before<"u")return s=i.raws.before,
vendor: 9,556 bytes, lines 41-46
41s.includes(` 42`)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawBeforeClose(r){let s;return r.walk(i=>{if(i.nodes&&i.nodes.length>0&&typeof i.raws.after<"u")return s=i.raws.after,s.includes(` 43`)&&(s=s.replace(/[^\n]+$/,"")),!1}),s&&(s=s.replace(/\S/g,"")),s}rawBeforeOpen(r){let s;return r.walk(i=>{if(i.type!=="decl"&&(s=i.raws.between,typeof s<"u"))return!1}),s}rawColon(r){let s;return r.walkDecls(i=>{if(typeof i.raws.between<"u")return s=i.raws.between.replace(/[^\s:]/g,""),!1}),s}beforeAfter(r,s){let i;r.type==="decl"?i=this.raw(r,null,"beforeDecl"):r.type==="comment"?i=this.raw(r,null,"beforeComment"):s==="before"?i=this.raw(r,null,"beforeRule"):i=this.raw(r,null,"beforeClose");let m=r.parent,l=0;for(;m&&m.type!=="root";)l+=1,m=m.parent;if(i.includes(` 44`)){let h=this.raw(r,null,"indent");if(h.length)for(let t=0;t<l;t++)i+=h}return i}rawValue(r,s){let i=r[s],m=r.raws[s];return m&&m.value===i?m.raw:i}};d.exports=c,c.default=c}),Lt=P((g,d)=>{var o=We();function p(c,r){new o(r).stringify(c)}d.exports=p,p.default=p}),ue=P((g,d)=>{var{isClean:o,my:p}=yt(),c=gt(),r=We(),s=Lt();function i(l,h){let t=new l.constructor;for(let f in l){if(!Object.prototype.hasOwnProperty.call(l,f)||f==="proxyCache")continue;let n=l[f],e=typeof n;f==="parent"&&e==="object"?h&&(t[f]=h):f==="source"?t[f]=n:Array.isArray(n)?t[f]=n.map(u=>i(u,t)):(e==="object"&&n!==null&&(n=i(n)),t[f]=n)}return t}var m=class{constructor(l={}){this.raws={},this[o]=!1,this[p]=!0;for(let h in l)if(h==="nodes"){this.nodes=[];for(let t of l[h])typeof t.clone=="function"?this.append(t.clone()):this.append(t)}else this[h]=l[h]}error(l,h={}){if(this.source){let{start:t,end:f}=this.rangeBy(h);return this.source.input.error(l,{line:t.line,column:t.column},{line:f.line,column:f.column},h)}return new c(l)}warn(l,h,t){let f={node:this};for(let n in t)f[n]=t[n];return l.warn(h,f)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(l=s){l.stringify&&(l=l.stringify);let h="";return l(this,t=>{h+=t}),h}assign(l={}){for(let h in l)this[h]=l[h];return this}clone(l={}){let h=i(this);for(let t in l)h[t]=l[t];return h}cloneBefore(l={}){let h=this.clone(l);return this.parent.insertBefore(this,h),h}cloneAfter(l={}){let h=this.clone(l);return this.parent.insertAfter(this,h),h}replaceWith(...l){if(this.parent){let h=this,t=!1;for(let f of l)f===this?t=!0:t?(this.parent.insertAfter(h,f),h=f):this.parent.insertBefore(h,f);t||this.remove()}return this}next(){if(!this.parent)return;let l=this.parent.index(this);return this.parent.nodes[l+1]}prev(){if(!this.parent)return;let l=this.parent.index(this);return this.parent.nodes[l-1]}before(l){return this.parent.insertBefore(this,l),this}after(l){return this.parent.insertAfter(this,l),this}root(){let l=this;for(;l.parent&&l.parent.type!=="document";)l=l.parent;return l}raw(l,h){return new r().raw(this,l,h)}cleanRaws(l){delete this.raws.before,delete this.raws.after,l||delete this.raws.between}toJSON(l,h){let t={},f=h==null;h=h||new Map;let n=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e)||e==="parent"||e==="proxyCache")continue;let u=this[e];if(Array.isArray(u))t[e]=u.map(a=>typeof a=="object"&&a.toJSON?a.toJSON(null,h):a);else if(typeof u=="object"&&u.toJSON)t[e]=u.toJSON(null,h);else if(e==="source"){let a=h.get(u.input);a==null&&(a=n,h.set(u.input,n),n++),t[e]={inputId:a,start:u.start,end:u.end}}else t[e]=u}return f&&(t.inputs=[...h.keys()].map(e=>e.toJSON())),t}positionInside(l){let h=this.toString(),t=this.source.start.column,f=this.source.start.line;for(let n=0;n<l;n++)h[n]===` 45`?(t=1,f+=1):t+=1;return{line:f,column:t}}positionBy(l){let h=this.source.start;if(l.index)h=this.positionInside(l.index);else if(l.word){let t=this.toString().indexOf(l.word);t!==-1&&(h=this.positionInside(t))}return h}rangeBy(l){let h={line:this.source.start.line,column:this.source.start.column},t=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:h.line,column:h.column+1};if(l.word){let f=this.toString().indexOf(l.word);f!==-1&&(h=this.positionInside(f),t=this.positionInside(f+l.word.length))}else l.start?h={line:l.start.line,column:l.start.column}:l.index&&(h=this.positionInside(l.index)),l.end?t={line:l.end.line,column:l.end.column}:l.endIndex?t=this.positionInside(l.endIndex):l.index&&(t=this.positionInside(l.index+1));return(t.line<h.line||t.line===h.line&&t.column<=h.column)&&(t={line:h.line,column:h.column+1}),{start:h,end:t}}getProxyProcessor(){return{set(l,h,t){return l[h]===t||(l[h]=t,(h==="prop"||h==="value"||h==="name"||h==="params"||h==="important"||h==="text")&&l.markDirty()),!0},get(l,h){return h==="proxyOf"?l:h==="root"?()=>l.root().toProxy():l[h]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(l){if(l.postcssNode=this,l.stack&&this.source&&/\n\s{4}at /.test(l.stack)){let h=this.source;l.stack=l.stack.replace(/\n\s{4}at /,`$&${h.input.from}:${h.start.line}:${h.start.column}$&`)}return l}markDirty(){if(this[o]){this[o]=!1;let l=this;for(;l=l.parent;)l[o]=!1}}get proxyOf(){return this}};d.exports=m,m.default=m}),wt=P((g,d)=>{var o=ue(),p=class extends o{constructor(c){c&&typeof c.value<"u"&&typeof c.value!="string"&&(c={...c,value:String(c.value)}),super(c),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};d.exports=p,p.default=p}),bt=P((g,d)=>{var o="'".charCodeAt(0),p='"'.charCodeAt(0),c="\\".charCodeAt(0),r="/".charCodeAt(0),s=` 46`.charCodeAt(0),i=" ".charCodeAt(0),m="\f".charCodeAt(0),l=" ".charCodeAt(0),h="\r".charCodeAt(0),t="[".charCodeAt(0),f="]".charCodeAt(0),n="(".charCodeAt(0),e=")".charCodeAt(0),u="{".charCodeAt(0),a="}".charCodeAt(0),y=";".charCodeAt(0),w="*".charCodeAt(0),x=":".charCodeAt(0),k="@".charCodeAt(0),b=/[\t\n\f\r "#'()/;[\\\]{}]/g,v=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,C=/.[\n"'(/\\]/,A=/[\da-f]/i;d.exports=function(F,M={}){let E=F.css.valueOf(),T=M.ignoreErrors,I,S,G,$,L,B,R,N,j,z,Z=E.length,O=0,Y=[],J=[];function ke(){return O}function Q(V){throw F.error("Unclosed "+V,O)}function Ce(){return J.length===0&&O>=Z}function Se(V){if(J.length)return J.pop();if(O>=Z)return;let X=V?V.ignoreUnclosed:!1;switch(I=E.charCodeAt(O),I){case s:case i:case l:case h:case m:{S=O;do S+=1,I=E.charCodeAt(S);while(I===i||I===s||I===l||I===h||I===m);z=["space",E.slice(O,S)],O=S-1;break}case t:case f:case u:case a:case x:case y:case e:{let re=String.fromCharCode(I);z=[re,re,O];break}case n:{if(N=Y.length?Y.pop()[1]:"",j=E.charCodeAt(O+1),N==="url"&&j!==o&&j!==p&&j!==i&&j!==s&&j!==l&&j!==m&&j!==h){S=O;do{if(B=!1,S=E.indexOf(")",S+1),S===-1)if(T||X){S=O;break}else Q("bracket");for(R=S;E.charCodeAt(R-1)===c;)R-=1,B=!B}while(B);z=["brackets",E.slice(O,S+1),O,S],O=S}else S=E.indexOf(")",O+1),$=E.slice(O,S+1),S===-1||C.test($)?z=["(","(",O]:(z=["brackets",$,O,S],O=S);break}case o:case p:{G=I===o?"'":'"',S=O;do{if(B=!1,S=E.indexOf(G,S+1),S===-1)if(T||X){S=O+1;break}else Q("string");for(R=S;E.charCodeAt(R-1)===c;)R-=1,B=!B}while(B);z=["string",E.slice(O,S+1),O,S],O=S;break}case k:{b.lastIndex=O+1,b.test(E),b.lastIndex===0?S=E.length-1:S=b.lastIndex-2,z=["at-word",E.slice(O,S+1),O,S],O=S;break}case c:{for(S=O,L=!0;E.charCodeAt(S+1)===c;)S+=1,L=!L;if(I=E.charCodeAt(S+1),L&&I!==r&&I!==i&&I!==s&&I!==l&&I!==h&&I!==m&&(S+=1,A.test(E.charAt(S)))){for(;A.test(E.charAt(S+1));)S+=1;E.charCodeAt(S+1)===i&&(S+=1)}z=["word",E.slice(O,S+1),O,S],O=S;break}default:{I===r&&E.charCodeAt(O+1)===w?(S=E.indexOf("*/",O+2)+1,S===0&&(T||X?S=E.length:Q("comment")),z=["comment",E.slice(O,S+1),O,S],O=S):(v.lastIndex=O+1,v.test(E),v.lastIndex===0?S=E.length-1:S=v.lastIndex-2,z=["word",E.slice(O,S+1),O,S],Y.push(z),O=S);break}}return O++,z}function Oe(V){J.push(V)}return{back:Oe,nextToken:Se,endOfFile:Ce,position:ke}}}),Ve=P((g,d)=>{var o=ue(),p=class extends o{constructor(c){super(c),this.type="comment"}};d.exports=p,p.default=p}),he=P((g,d)=>{var{isClean:o,my:p}=yt(),c=wt(),r=Ve(),s=ue(),i,m,l,h;function t(e){return e.map(u=>(u.nodes&&(u.nodes=t(u.nodes)),delete u.source,u))}function f(e){if(e[o]=!1,e.proxyOf.nodes)for(let u of e.proxyOf.nodes)f(u)}var n=class extends s{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let u=this.getIterator(),a,y;for(;this.indexes[u]<this.proxyOf.nodes.length&&(a=this.indexes[u],y=e(this.proxyOf.nodes[a],a),y!==!1);)this.indexes[u]+=1;return delete this.indexes[u],y}walk(e){return this.each((u,a)=>{let y;try{y=e(u,a)}catch(w){throw u.addToError(w)}return y!==!1&&u.walk&&(y=u.walk(e)),y})}walkDecls(e,u){return u?e instanceof RegExp?this.walk((a,y)=>{if(a.type==="decl"&&e.test(a.prop))return u(a,y)}):this.walk((a,y)=>{if(a.type==="decl"&&a.prop===e)return u(a,y)}):(u=e,this.walk((a,y)=>{if(a.type==="decl")return u(a,y)}))}walkRules(e,u){return u?e instanceof RegExp?this.walk((a,y)=>{if(a.type==="rule"&&e.test(a.selector))return u(a,y)}):this.walk((a,y)=>{if(a.type==="rule"&&a.selector===e)return u(a,y)}):(u=e,this.walk((a,y)=>{if(a.type==="rule")return u(a,y)}))}walkAtRules(e,u){return u?e instanceof RegExp?this.walk((a,y)=>{if(a.type==="atrule"&&e.test(a.name))return u(a,y)}):this.walk((a,y)=>{if(a.type==="atrule"&&a.name===e)return u(a,y)}):(u=e,this.walk((a,y)=>{if(a.type==="atrule")return u(a,y)}))}walkComments(e){return this.walk((u,a)=>{if(u.type==="comment")return e(u,a)})}append(...e){for(let u of e){let a=this.normalize(u,this.last);for(let y of a)this.proxyOf.nodes.push(y)}return this.markDirty(),this}prepend(...e){e=e.reverse();
vendor: 2,869 bytes, line 46
46for(let u of e){let a=this.normalize(u,this.first,"prepend").reverse();for(let y of a)this.proxyOf.nodes.unshift(y);for(let y in this.indexes)this.indexes[y]=this.indexes[y]+a.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let u of this.nodes)u.cleanRaws(e)}insertBefore(e,u){let a=this.index(e),y=a===0?"prepend":!1,w=this.normalize(u,this.proxyOf.nodes[a],y).reverse();a=this.index(e);for(let k of w)this.proxyOf.nodes.splice(a,0,k);let x;for(let k in this.indexes)x=this.indexes[k],a<=x&&(this.indexes[k]=x+w.length);return this.markDirty(),this}insertAfter(e,u){let a=this.index(e),y=this.normalize(u,this.proxyOf.nodes[a]).reverse();a=this.index(e);for(let x of y)this.proxyOf.nodes.splice(a+1,0,x);let w;for(let x in this.indexes)w=this.indexes[x],a<w&&(this.indexes[x]=w+y.length);return this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let u;for(let a in this.indexes)u=this.indexes[a],u>=e&&(this.indexes[a]=u-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,u,a){return a||(a=u,u={}),this.walkDecls(y=>{u.props&&!u.props.includes(y.prop)||u.fast&&!y.value.includes(u.fast)||(y.value=y.value.replace(e,a))}),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,u){if(typeof e=="string")e=t(i(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let a of e)a.parent&&a.parent.removeChild(a,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let a of e)a.parent&&a.parent.removeChild(a,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new c(e)]}else if(e.selector)e=[new m(e)];else if(e.name)e=[new l(e)];else if(e.text)e=[new r(e)];else throw new Error("Unknown node type in node creation");return e.map(a=>(a[p]||n.rebuild(a),a=a.proxyOf,a.parent&&a.parent.removeChild(a),a[o]&&f(a),typeof a.raws.before>"u"&&u&&typeof u.raws.before<"u"&&(a.raws.before=u.raws.before.replace(/\S/g,"")),a.parent=this.proxyOf,a))}getProxyProcessor(){return{set(e,u,a){return e[u]===a||(e[u]=a,(u==="name"||u==="params"||u==="selector")&&e.markDirty()),!0},get(e,u){return u==="proxyOf"?e:e[u]?u==="each"||typeof u=="string"&&u.startsWith("walk")?(...a)=>e[u](...a.map(y=>typeof y=="function"?(w,x)=>y(w.toProxy(),x):y)):u==="every"||u==="some"?a=>e[u]((y,...w)=>a(y.toProxy(),...w)):u==="root"?()=>
vendor: 10,822 bytes, lines 46-47
46e.root().toProxy():u==="nodes"?e.nodes.map(a=>a.toProxy()):u==="first"||u==="last"?e[u].toProxy():e[u]:e[u]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}};n.registerParse=e=>{i=e},n.registerRule=e=>{m=e},n.registerAtRule=e=>{l=e},n.registerRoot=e=>{h=e},d.exports=n,n.default=n,n.rebuild=e=>{e.type==="atrule"?Object.setPrototypeOf(e,l.prototype):e.type==="rule"?Object.setPrototypeOf(e,m.prototype):e.type==="decl"?Object.setPrototypeOf(e,c.prototype):e.type==="comment"?Object.setPrototypeOf(e,r.prototype):e.type==="root"&&Object.setPrototypeOf(e,h.prototype),e[p]=!0,e.nodes&&e.nodes.forEach(u=>{n.rebuild(u)})}}),_t=P((g,d)=>{var o=he(),p=class extends o{constructor(c){super(c),this.type="atrule"}append(...c){return this.proxyOf.nodes||(this.nodes=[]),super.append(...c)}prepend(...c){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...c)}};d.exports=p,p.default=p,o.registerAtRule(p)}),Dt=P((g,d)=>{var o=he(),p,c,r=class extends o{constructor(s){super(s),this.type="root",this.nodes||(this.nodes=[])}removeChild(s,i){let m=this.index(s);return!i&&m===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[m].raws.before),super.removeChild(s)}normalize(s,i,m){let l=super.normalize(s);if(i){if(m==="prepend")this.nodes.length>1?i.raws.before=this.nodes[1].raws.before:delete i.raws.before;else if(this.first!==i)for(let h of l)h.raws.before=i.raws.before}return l}toResult(s={}){return new p(new c,this,s).stringify()}};r.registerLazyResult=s=>{p=s},r.registerProcessor=s=>{c=s},d.exports=r,r.default=r,o.registerRoot(r)}),Wt=P((g,d)=>{var o={split(p,c,r){let s=[],i="",m=!1,l=0,h=!1,t="",f=!1;for(let n of p)f?f=!1:n==="\\"?f=!0:h?n===t&&(h=!1):n==='"'||n==="'"?(h=!0,t=n):n==="("?l+=1:n===")"?l>0&&(l-=1):l===0&&c.includes(n)&&(m=!0),m?(i!==""&&s.push(i.trim()),i="",m=!1):i+=n;return(r||i!=="")&&s.push(i.trim()),s},space(p){let c=[" ",` 47`," "];return o.split(p,c)},comma(p){return o.split(p,[","],!0)}};d.exports=o,o.default=o}),Vt=P((g,d)=>{var o=he(),p=Wt(),c=class extends o{constructor(r){super(r),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return p.comma(this.selector)}set selectors(r){let s=this.selector?this.selector.match(/,\s*/):null,i=s?s[0]:","+this.raw("between","beforeOpen");this.selector=r.join(i)}};d.exports=c,c.default=c,o.registerRule(c)}),qt=P((g,d)=>{var o=wt(),p=bt(),c=Ve(),r=_t(),s=Dt(),i=Vt(),m={empty:!0,space:!0};function l(t){for(let f=t.length-1;f>=0;f--){let n=t[f],e=n[3]||n[2];if(e)return e}}var h=class{constructor(t){this.input=t,this.root=new s,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:t,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=p(this.input)}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()}comment(t){let f=new c;this.init(f,t[2]),f.source.end=this.getPosition(t[3]||t[2]);let n=t[1].slice(2,-2);if(/^\s*$/.test(n))f.text="",f.raws.left=n,f.raws.right="";else{let e=n.match(/^(\s*)([^]*\S)(\s*)$/);f.text=e[2],f.raws.left=e[1],f.raws.right=e[3]}}emptyRule(t){let f=new i;this.init(f,t[2]),f.selector="",f.raws.between="",this.current=f}other(t){let f=!1,n=null,e=!1,u=null,a=[],y=t[1].startsWith("--"),w=[],x=t;for(;x;){if(n=x[0],w.push(x),n==="("||n==="[")u||(u=x),a.push(n==="("?")":"]");else if(y&&e&&n==="{")u||(u=x),a.push("}");else if(a.length===0)if(n===";")if(e){this.decl(w,y);return}else break;else if(n==="{"){this.rule(w);return}else if(n==="}"){this.tokenizer.back(w.pop()),f=!0;break}else n===":"&&(e=!0);else n===a[a.length-1]&&(a.pop(),a.length===0&&(u=null));x=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(f=!0),a.length>0&&this.unclosedBracket(u),f&&e){if(!y)for(;w.length&&(x=w[w.length-1][0],!(x!=="space"&&x!=="comment"));)this.tokenizer.back(w.pop());this.decl(w,y)}else this.unknownWord(w)}rule(t){t.pop();let f=new i;this.init(f,t[0][2]),f.raws.between=this.spacesAndCommentsFromEnd(t),this.raw(f,"selector",t),this.current=f}decl(t,f){let n=new o;this.init(n,t[0][2]);let e=t[t.length-1];for(e[0]===";"&&(this.semicolon=!0,t.pop()),n.source.end=this.getPosition(e[3]||e[2]||l(t));t[0][0]!=="word";)t.length===1&&this.unknownWord(t),n.raws.before+=t.shift()[1];for(n.source.start=this.getPosition(t[0][2]),n.prop="";t.length;){let w=t[0][0];if(w===":"||w==="space"||w==="comment")break;n.prop+=t.shift()[1]}n.raws.between="";let u;for(;t.length;)if(u=t.shift(),u[0]===":"){n.raws.between+=u[1];break}else u[0]==="word"&&/\w/.test(u[1])&&this.unknownWord([u]),n.raws.between+=u[1];(n.prop[0]==="_"||n.prop[0]==="*")&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let a=[],y;for(;t.length&&(y=t[0][0],!(y!=="space"&&y!=="comment"));)a.push(t.shift());this.precheckMissedSemicolon(t);for(let w=t.length-1;w>=0;w--){if(u=t[w],u[1].toLowerCase()==="!important"){n.important=!0;let x=this.stringFrom(t,w);x=this.spacesFromEnd(t)+x,x!==" !important"&&(n.raws.important=x);break}else if(u[1].toLowerCase()==="important"){let x=t.slice(0),k="";for(let b=w;b>0;b--){let v=x[b][0];if(k.trim().indexOf("!")===0&&v!=="space")break;k=x.pop()[1]+k}k.trim().indexOf("!")===0&&(n.important=!0,n.raws.important=k,t=x)}if(u[0]!=="space"&&u[0]!=="comment")break}t.some(w=>w[0]!=="space"&&w[0]!=="comment")&&(n.raws.between+=a.map(w=>w[1]).join(""),a=[]),this.raw(n,"value",a.concat(t),f),n.value.includes(":")&&!f&&this.checkMissedSemicolon(t)}atrule(t){let f=new r;f.name=t[1].slice(1),f.name===""&&this.unnamedAtrule(f,t),this.init(f,t[2]);let n,e,u,a=!1,y=!1,w=[],x=[];for(;!this.tokenizer.endOfFile();){if(t=this.tokenizer.nextToken(),n=t[0],n==="("||n==="["?x.push(n==="("?")":"]"):n==="{"&&x.length>0?x.push("}"):n===x[x.length-1]&&x.pop(),x.length===0)if(n===";"){f.source.end=this.getPosition(t[2]),this.semicolon=!0;break}else if(n==="{"){y=!0;break}else if(n==="}"){if(w.length>0){for(u=w.length-1,e=w[u];e&&e[0]==="space";)e=w[--u];e&&(f.source.end=this.getPosition(e[3]||e[2]))}this.end(t);break}else w.push(t);else w.push(t);if(this.tokenizer.endOfFile()){a=!0;break}}f.raws.between=this.spacesAndCommentsFromEnd(w),w.length?(f.raws.afterName=this.spacesAndCommentsFromStart(w),this.raw(f,"params",w),a&&(t=w[w.length-1],f.source.end=this.getPosition(t[3]||t[2]),this.spaces=f.raws.between,f.raws.between="")):(f.raws.afterName="",f.params=""),y&&(f.nodes=[],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=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}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{offset:t,line:f.line,column:f.col}}init(t,f){this.current.push(t),t.source={start:this.getPosition(f),input:this.input},t.raws.before=this.spaces,this.spaces="",t.type!=="comment"&&(this.semicolon=!1)}raw(t,f,n,e){let u,a,y=n.length,w="",x=!0,k,b;for(let v=0;v<y;v+=1)u=n[v],a=u[0],a==="space"&&v===y-1&&!e?x=!1:a==="comment"?(b=n[v-1]?n[v-1][0]:"empty",k=n[v+1]?n[v+1][0]:"empty",!m[b]&&!m[k]?w.slice(-1)===","?x=!1:w+=u[1]:x=!1):w+=u[1];if(!x){let v=n.reduce((C,A)=>C+A[1],"");t.raws[f]={value:w,raw:v}}t[f]=w}spacesAndCommentsFromEnd(t){let f,n="";for(;t.length&&(f=t[t.length-1][0],!(f!=="space"&&f!=="comment"));)n=t.pop()[1]+n;return n}spacesAndCommentsFromStart(t){let f,n="";for(;t.length&&(f=t[0][0],!(f!=="space"&&f!=="comment"));)n+=t.shift()[1];return n}spacesFromEnd(t){let f,n="";for(;t.length&&(f=t[t.length-1][0],f==="space");)n=t.pop()[1]+n;return n}stringFrom(t,f){let n="";for(let e=f;e<t.length;e++)n+=t[e][1];return t.splice(f,t.length-f),n}colon(t){let f=0,n,e,u;for(let[a,y]of t.entries()){if(n=y,e=n[0],e==="("&&(f+=1),e===")"&&(f-=1),f===0&&e===":")if(!u)this.doubleColon(n);else{if(u[0]==="word"&&u[1]==="progid")continue;return a}u=n}return!1}unclosedBracket(t){throw this.input.error("Unclosed bracket",{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})}unexpectedClose(t){throw this.input.error("Unexpected }",{offset:t[2]},{offset:t[2]+1})}unclosedBlock(){let t=this.current.source.start;throw this.input.error("Unclosed block",t.line,t.column)}doubleColon(t){throw this.input.error("Double colon",{offset:t[2]},{offset:t[2]+t[1].length})}unnamedAtrule(t,f){throw this.input.error("At-rule without name",{offset:f[2]},{offset:f[2]+f[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(t){let f=this.colon(t);if(f===!1)return;let n=0,e;for(let u=f-1;u>=0&&(e=t[u],!(e[0]!=="space"&&(n+=1,n===2)));u--);throw this.input.error("Missed semicolon",e[0]==="word"?e[3]+1:e[2])}};d.exports=h}),K=P((g,d)=>{var o=he(),p=c=>{let r=`walk${c.name}`;r.lastIndexOf("s")!==r.length-1&&(r+="s"),!o.prototype[r]&&(o.prototype[r]=function(s){return this.walkType(c,s)})};o.prototype.walkType=function(c,r){if(!c||!r)throw new Error("Parameters {type} and {callback} are required.");let s=typeof c=="function";return this.walk((i,m)=>{if(s&&i instanceof c||!s&&i.type===c)return r.call(this,i,m)})},d.exports={registerWalker:p}}),ce=P((g,d)=>{var o=We();d.exports=class vt extends o{static stringify(c,r){new vt(r).stringify(c)}basic(c,r){let s=r||c.value,i=c.raws.after&&this.raw(c,"after")||"";this.builder(s,c,"start"),this.builder(i,c,"end")}atword(...c){this.atrule(...c)}comment(c){if(c.inline){let r=this.raw(c,"left","commentLeft"),s=this.raw(c,"right","commentRight");this.builder(`//${r}${c.text}${s}`,c)}else super.comment(c)}func(c){let r=this.raw(c,"after")||"";this.builder(`${c.name}(`,c,"start");for(let s of c.nodes){let i=s.raws.before?this.raw(s,"before"):"";i&&this.builder(i),this.stringify(s)}this.builder(`)${r}`,c,"end")}interpolation(c){this.basic(c,c.prefix+c.params)}numeric(c){let r=c.value+c.unit;this.basic(c,r)}operator(c){this.basic(c)}punctuation(c){this.basic(c)}quoted(c){this.basic(c)}unicodeRange(c){this.basic(c)}word(c){this.basic(c)}}}),Gt=P((g,d)=>{var o=ue(),{registerWalker:p}=K(),{stringify:c}
47=ce(),r=class extends o{toString(s=c){return super.toString(s)}};p(r),d.exports=r}),Jt=P((g,d)=>{var o=Ve(),{stringify:p}=ce(),c=/(\/\/)/,r=class extends o{static testInline(s){return c.test(s[1])}static tokenizeNext(s,i){let[m]=s,l=s.findIndex(u=>/\n/.test(u[1])),h=s,t=[];l>=0&&(h=s.slice(0,l),t=s.slice(l)),h=h.map(u=>u[1]);let f=h.concat("~~").join(""),n=h[h.length-1],e=["comment",f,m[2],m[3],n[2],n[3]];i.back([e,...t])}static tokenizeInline(s,i){let[m,...l]=s,h=m[1].split(/(\/\/.+)/).filter(a=>!!a),t=[],[,,f,,n]=m,[,,,e,,u]=m;for(let a of h){let y=a.slice(0,2)==="//",w=y?"comment":"word";y&&(a+="~~"),a!==h[0]&&(e=u+1),u=e+a.length-1,t.push([w,a,f,e,n,u])}i.back(t.concat(l))}toString(s=p){return super.toString(s)}};d.exports=r}),xt=P((g,d)=>{var o=mt(),p=bt(),c=["*","-","%","+","/"],r=/([*/])/g,s=(t,f)=>{let[,,n,e,u,a]=t,y=t[1].slice(1,t[1].length-1),w=m(y);for(let k of w)if(k[0]!=="space"){let b=k[5]-k[3];k[2]=n,k[3]+=e,k[4]+=u-1,k[5]=k[3]+b}let x=[["(","(",n,e,n,e],...w];x.push([")",")",n,a,u,a]);for(let k of x.reverse())f.back(k)},i=(t,f)=>{let n=t[1].split(/([,])/),e=[],[,,u,,a]=t,[,,,y,,w]=t;for(let x of n){x=x||",";let k=x===","?"comma":"word";x!==n[0]&&(y=w+1),w=y+x.length-1,e.push([k,x,u,y,a,w])}for(let x of e.reverse())f.back(x)},m=t=>{let f=new o(t,{}),n=h(f),e=[];for(;!n.endOfFile();){let u=n.nextToken();e.push(u)}return e},l=(t,f)=>{let[,n,e,,u,a]=t,y=n.split(r),[,,,w]=t,x=y.map(k=>{let b=[c.includes(k)?"operator":"word",k,e,w,u,a];return w+=k.length,b});for(let k of x.reverse())f.back(k)},h=(...t)=>{let f=p(...t),n=f.nextToken;return f.nextToken=(...e)=>{let u=n(...e);if(!u)return u;let[a,y]=u;return a==="brackets"?(s(u,f),u=n(...e)):a==="word"&&(c.includes(y)?u[0]="operator":r.test(y)?(l(u,f),u=n(...e)):y.length>1&&y.includes(",")&&(i(u,f),u=n(...e))),u},f};d.exports={getTokens:m,tokenizer:h}}),kt=P((g,d)=>{var o=he(),{stringify:p}=ce(),c=class extends o{toString(r=p){return super.toString(r)}};d.exports=c}),te=P((g,d)=>{var o=ue(),{stringify:p}=ce(),c=class extends o{toString(r=p){return super.toString(r||{})}};d.exports=c}),Ct=P((g,d)=>{var{getTokens:o}=xt(),{registerWalker:p}=K(),c=te(),r=class extends c{constructor(s){super(s),this.type="punctuation"}static get chars(){return[",",":","(",")","[","]","{","}"]}static fromTokens(s,i){i.fromFirst(s,r)}static tokenizeBrackets(s,i){let[m,...l]=s,h=m[1].split(/([()])/g).filter(a=>!!a),t=[],[,,f,,n]=m,[,,,e,,u]=m;for(let a of h){let y=a==="("?"(":a===")"?")":"word";if(/^\s+$/.test(a)&&(y="space"),a!==h[0]&&(e=u+1),u=e+a.length-1,y==="word"){let w=o(a);for(let x of w)x[3]+=e-1,t.push(x)}else t.push([y,a,f,e,n,u])}i.back(t.concat(l))}static tokenizeCommas(s,i){let[m,...l]=s,h=m[1].split(/([,])/g).filter(a=>!!a),t=[],[,,f,,n]=m,[,,,e,,u]=m;for(let a of h)a!==h[0]&&(e=u+1),u=e+a.length-1,t.push(["word",a,f,e,n,u]);i.back(t.concat(l))}};p(r),d.exports=r}),Ht=P((g,d)=>{var{getTokens:o}=xt(),{registerWalker:p}=K(),c=kt(),r=Ct(),s=["annotation","attr","blur","brightness","calc","character-variant","circle","contrast","cubic-bezier","dir","drop-shadow","element","ellipse","grayscale","hsl","hsla","hue-rotate","image","inset","invert","lang","linear-gradient","matrix","matrix3d","minmax","not","nth-child","nth-last-child","nth-last-of-type","nth-of-type","opacity","ornaments","perspective","polygon","radial-gradient","rect","repeat","repeating-linear-gradient","repeating-radial-gradient","rgb","rgba","rotate","rotatex","rotatey","rotatez","rotate3d","saturate","scale","scalex","scaley","scalez","scale3d","sepia","skew","skewx","skewy","steps","styleset","stylistic","swash","symbols","translate","translatex","translatey","translatez","translate3d","url","var"],i=["-webkit-","-moz-","-ms-","-o-"],m=new RegExp(`^(${i.join("|")})?(${s.join("|")})`,"i"),l=new RegExp(`^(\\${r.chars.join("|\\")})`),h=/^(hsla?|hwb|lab|lch|rgba?)$/i,t=/^var$/i,f=/^--[^\s]+$/,n=class extends c{constructor(e={}){super(e),this.type="func",this.isColor=!1,this.isVar=!1,this.name=e.name||"",this.nodes||(this.nodes=[])}static test(e){return e.length>1&&e[0][0]==="word"&&!l.test(e[0][1])&&(e[1][0]==="brackets"||e[1][0]==="(")}static fromTokens(e,u){let[[,,a,y]]=e,[w,x]=e.splice(0,2),k=new n({name:w[1]}),b=0,v=1,C=x;if(!m.test(k.name)&&!/^[a-zA-Z\-\.]+$/.test(k.name)){let T=o(k.name);e.unshift(...T,x),u.back(e);return}u.init(k,a,y),u.current=k,x[0]==="brackets"&&(v=x[1].match(/[(]/g).length-1);let A=[];for(let T of e)b<v?(T[1]===")"?b+=1:T[1]==="("&&(v+=1),x[1]+=T[1],C=T):A.push(T);b!==v&&u.unclosedBracket(x),[,k.params]=x;let F=x[1].slice(1,-1);if(F.length){let T=u.options;k.name==="url"&&(T=Object.assign({},u.options,{ignoreUnknownWords:!0})),T.parentNode=k;let{parse:I}=qe(),S=I(F,T),{nodes:G}=S;for(let $ of G)k.push($);S.raws.after&&(k.last.raws.after=S.raws.after)}u.end(C),u.back(A);let{lastNode:M}=u,{nodes:E}=k;M.isColor=h.test(M.name),M.isVar=t.test(M.name)&&E.length&&f.test(E[0].value)}};p(n),d.exports=n}),Kt=P((g,d)=>{var{registerWalker:o}=K(),p=kt(),c=class extends p{constructor(r={}){super(r),this.type="interpolation",this.prefix=r.prefix||"",this.nodes||(this.nodes=[])}static test(r,s){let{prefix:i}=s.options.interpolation,[m,l]=r;return r.length>1&&m[0]==="word"&&i===m[1]&&l[0]==="{"}static fromTokens(r,s){let[[,,i,m]]=r,[l]=r.splice(0,2),[,h]=l,t=new c({prefix:h}),f=[],n=!1,e,u="{";s.init(t,i,m),s.current=t;for(let y of r)n?f.push(y):(y[1]==="}"&&(n=!0),u+=y[1],e=y);n||s.unclosedBracket(l),t.params=u;let a=u.slice(1,-1);if(a.length){let{parse:y}=qe(),{nodes:w}=y(a,s.options);for(let x of w)t.push(x)}s.end(e),s.back(f)}};o(c),d.exports=c}),Zt=P((g,d)=>{var{registerWalker:o}=K(),p=te(),c=/^([+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[Ee][+-]?\d+)?)$/,r=/^(-?(?:[-A-Z_a-z]|[^\x00-\x7F]|\\[^\n\f\r])(?:[-\w]|[^\x00-\x7F]|\\[^\n\f\r])*|%)$/,s=new RegExp(`^${c.source.slice(1,-1)+r.source.slice(1,-1)}?$`),i=class extends p{constructor(m={}){super(m),this.type="numeric",this.unit=m.unit||""}static fromTokens(m,l){l.fromFirst(m,i);let[[,h]]=m,[,t,f=""]=h.match(s),{lastNode:n}=l;n.unit=f,n.value=t}static test(m){return s.test(m)}};o(i),d.exports=i}),Yt=P((g,d)=>{var{registerWalker:o}=K(),p=te(),c=["+","-","/","*","%","=","<=",">=","<",">"],r=new RegExp("([/|*}])"),s=/^[*/]\b/,i=class extends p{constructor(m){super(m),this.type="operator"}static get chars(){return c}static fromTokens(m,l){l.fromFirst(m,i)}static get regex(){return r}static test(m,l){let[h]=m,[,t]=h,{lastNode:f}=l;return f&&f.type==="func"&&s.test(t)}static tokenize(m,l){let[h,...t]=m,[,f,n,,e,u]=h,a=f.split(r).filter(x=>!!x),[,,,y]=h,w=a.map(x=>{let k=["word",x,n,y,e,u];return y+=x.length,k});l.back(w.concat(t))}};o(i),d.exports=i}),Qt=P(g=>{var d=g.single=function(p){return"'"+p.replace(/\\|'/g,function(c){return"\\"+c})+"'"},o=g.double=function(p){return'"'+p.replace(/\\|"/g,function(c){return"\\"+c})+'"'};g.quote=function(p){return/'/.test(p)?o(p):d(p)},g.unquote=function(p){var c=p[0],r=c==="'";return p.substring(1,p.length-1).replace(/\\\\/g,"\\").replace(r?/\\'/g:/\\"/g,c)}}),Xt=P((g,d)=>{var{unquote:o}=Qt(),{registerWalker:p}=K(),c=te(),r=class extends c{constructor(s){super(s),this.type="quoted",s&&s.value&&(this.contents=o(s.value),[this.quote]=s.value)}static fromTokens(s,i){i.fromFirst(s,r)}};p(r),d.exports=r}),er=P((g,d)=>{var{registerWalker:o}=K(),p=te(),c=class extends p{constructor(r){super(r),this.type="unicodeRange"}static fromTokens(r,s){s.fromFirst(r,c)}static test(r){return/U\+(\d|\w)+(-\w+)?(\?+)?/.test(r)}};o(c),d.exports=c}),tr=P((g,d)=>{d.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
47ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}),rr=P((g,d)=>{d.exports=o=>{if(typeof o!="string")throw new TypeError("Expected a string");try{return new URL(o),!0}catch{return!1}}}),sr=P((g,d)=>{var o=tr(),p=rr(),{registerWalker:c}=K(),r=te(),s=/^\\(.+)/,i=/^#(.+)/,m=/^#([0-9a-f]{3}|[0-9a-f]{4}|[0-9a-f]{6}|[0-9a-f]{8})$/i,l=Object.keys(o),h=class extends r{constructor(t){super(t),this.type="word",this.isColor=!1,this.isHex=!1,this.isUrl=!1,this.isVariable=!1}static fromTokens(t,f){f.fromFirst(t,h);let{lastNode:n}=f,{value:e}=n;n.isColor=m.test(e)||l.includes(e.toLowerCase()),n.isHex=i.test(e),n.isUrl=e.startsWith("//")?p(`http:${e}`):p(e),n.isVariable=h.testVariable(t[0],f)}static testEscaped(t){let[f,n]=t,[e,u]=f;return e==="word"&&(s.test(u)||u==="\\"&&n&&!/^\s+$/.test(n[1]))}static testHex(t){let[f,n]=t;return f==="word"&&i.test(n)}static testVariable(t,f){let[n,e]=t,{prefixes:u}=f.options.variables,a=new RegExp(`^(${u.join("|")})`);return n==="word"&&a.test(e)}static testWord(t,f){let[n]=t;return h.testEscaped(t)||h.testHex(n)||h.testVariable(n,f)}};c(h),d.exports=h}),ir=P((g,d)=>{var o=qt(),p=Gt(),c=Jt(),r=Ht(),s=Kt(),i=Zt(),m=Yt(),l=Ct(),h=Xt(),t=er(),f=sr(),n={ignoreUnknownWords:!1,interpolation:!1,parentNode:null,variables:{prefixes:["--"]}};d.exports=class extends o{constructor(e,u={}){super(e),this.lastNode=null,this.options=Object.assign({},n,u),this.parentNode=this.options.parentNode}back(e){for(let u of e.reverse())this.tokenizer.back(u)}comment(e){super.comment(e);let u=c.testInline(e),a=this.lastNode;a.inline=u,Object.setPrototypeOf(a,c.prototype)}fromFirst(e,u){let[a]=e,[,y,w,x]=a,k=new u({value:y});this.init(k,w,x),this.current=k,this.end(a),this.back(e.slice(1))}init(e,u,a){super.init(e,u,a),this.lastNode=e}other(e){let u=[],a=[],y=e,w=null,x=null;for(;y;)[w]=y,a.push(y),w==="("||w==="["?(x||(x=y),u.push(w==="("?")":"]")):w===u[u.length-1]&&(u.pop(),u.length===0&&(x=null)),y=this.tokenizer.nextToken();u.length>0&&this.unclosedBracket(x),this.unknownWord(a)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case"comment":this.comment(e);break;case"at-word":this.atrule(e),Object.setPrototypeOf(this.lastNode,p.prototype),this.lastNode.type="atword";break;default:this.other(e);break}this.endFile()}unknownWord(e){let[u]=e,[a,y]=u;if(l.chars.includes(a))l.fromTokens(e,this);else if(a==="word"&&m.test(e,this))m.fromTokens(e,this);else if(r.test(e))r.fromTokens(e,this);else if(this.options.interpolation&&s.test(e,this))s.fromTokens(e,this);else if(a==="brackets")l.tokenizeBrackets(e,this);else if(a==="comma")l.fromTokens(e,this);else if(a==="operator")m.fromTokens(e,this);else if(a==="string")h.fromTokens(e,this);else if(a==="word")if(y===",")l.fromTokens(e,this);else if(y==="//")c.tokenizeNext(e,this);else if(c.testInline(u)){let{parentNode:w}=this;w&&w.type==="func"&&w.name==="url"?f.fromTokens(e,this):c.tokenizeInline(e,this)}else y.includes(",")?l.tokenizeCommas(e,this):f.testWord(e,this)?f.fromTokens(e,this):i.test(y)?i.fromTokens(e,this):t.test(y)?t.fromTokens(e,this):m.chars.includes(y)?m.fromTokens(e,this):/^[\w-]+$/.test(y)?f.fromTokens(e,this):m.regex.test(y)?m.tokenize(e,this):this.options.ignoreUnknownWords?f.fromTokens(e,this):super.unknownWord(e);else super.unknownWord(e)}}}),qe=P((g,d)=>{var o=mt(),p=ir(),{stringify:c}
47=ce();d.exports={parse(r,s){let i=new o(r,s),m=new p(i,s);m.parse();let{root:l}=m,h=l.toString;function t(f){return h.bind(l)(f||d.exports.stringify)}return l.toString=t.bind(l),m.root},stringify:c,nodeToString(r){let s="";return d.exports.stringify(r,i=>{s+=i}),s}}}),nr=P(g=>{var d=d||{};d.stringify=function(){var o={"visit_linear-gradient":function(p){return o.visit_gradient(p)},"visit_repeating-linear-gradient":function(p){return o.visit_gradient(p)},"visit_radial-gradient":function(p){return o.visit_gradient(p)},"visit_repeating-radial-gradient":function(p){return o.visit_gradient(p)},visit_gradient:function(p){var c=o.visit(p.orientation);return c&&(c+=", "),p.type+"("+c+o.visit(p.colorStops)+")"},visit_shape:function(p){var c=p.value,r=o.visit(p.at),s=o.visit(p.style);return s&&(c+=" "+s),r&&(c+=" at "+r),c},"visit_default-radial":function(p){var c="",r=o.visit(p.at);return r&&(c+=r),c},"visit_extent-keyword":function(p){var c=p.value,r=o.visit(p.at);return r&&(c+=" at "+r),c},"visit_position-keyword":function(p){return p.value},visit_position:function(p){return o.visit(p.value.x)+" "+o.visit(p.value.y)},"visit_%":function(p){return p.value+"%"},visit_em:function(p){return p.value+"em"},visit_px:function(p){return p.value+"px"},visit_literal:function(p){return o.visit_color(p.value,p)},visit_hex:function(p){return o.visit_color("#"+p.value,p)},visit_rgb:function(p){return o.visit_color("rgb("+p.value.join(", ")+")",p)},visit_rgba:function(p){return o.visit_color("rgba("+p.value.join(", ")+")",p)},visit_color:function(p,c){var r=p,s=o.visit(c.length);return s&&(r+=" "+s),r},visit_angular:function(p){return p.value+"deg"},visit_directional:function(p){return"to "+p.value},visit_array:function(p){var c="",r=p.length;return p.forEach(function(s,i){c+=o.visit(s),i<r-1&&(c+=", ")}),c},visit:function(p){if(!p)return"";var c="";if(p instanceof Array)return o.visit_array(p,c);if(p.type){var r=o["visit_"+p.type];if(r)return r(p);throw Error("Missing visitor visit_"+p.type)}else throw Error("Invalid node.")}};return function(p){return o.visit(p)}}();var d=d||{};d.parse=function(){var o={linearGradient:/^(\-(webkit|o|ms|moz)\-)?(linear\-gradient)/i,repeatingLinearGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-linear\-gradient)/i,radialGradient:/^(\-(webkit|o|ms|moz)\-)?(radial\-gradient)/i,repeatingRadialGradient:/^(\-(webkit|o|ms|moz)\-)?(repeating\-radial\-gradient)/i,sideOrCorner:/^to (left (top|bottom)|right (top|bottom)|left|right|top|bottom)/i,extentKeywords:/^(closest\-side|closest\-corner|farthest\-side|farthest\-corner|contain|cover)/,positionKeywords:/^(left|center|right|top|bottom)/i,pixelValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))px/,percentageValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))\%/,emValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))em/,angleValue:/^(-?(([0-9]*\.[0-9]+)|([0-9]+\.?)))deg/,startCall:/^\(/,endCall:/^\)/,comma:/^,/,hexColor:/^\#([0-9a-fA-F]+)/,literalColor:/^([a-zA-Z]+)/,rgbColor:/^rgb/i,rgbaColor:/^rgba/i,number:/^(([0-9]*\.[0-9]+)|([0-9]+\.?))/},p="";function c(R){var N=new Error(p+": "+R);throw N.source=p,N}function r(){var R=s();return p.length>0&&c("Invalid input not EOF"),R}function s(){return b(i)}function i(){return m("linear-gradient",o.linearGradient,h)||m("repeating-linear-gradient",o.repeatingLinearGradient,h)||m("radial-gradient",o.radialGradient,n)||m("repeating-radial-gradient",o.repeatingRadialGradient,n)}function m(R,N,j){return l(N,function(z){var Z=j();return Z&&(L(o.comma)||c("Missing comma before color stops")),{type:R,orientation:Z,colorStops:b(v)}})}function l(R,N){var j=L(R);if(j){L(o.startCall)||c("Missing (");var z=N(j);return L(o.endCall)||c("Missing )"),z}}function h(){return t()||f()}function t(){return $("directional",o.sideOrCorner,1)}function f(){return $("angular",o.angleValue,1)}function n(){var R,N=e(),j;return N&&(R=[],R.push(N),j=p,L(o.comma)&&(N=e(),N?R.push(N):p=j)),R}function e(){var R=u()||a();if(R)R.at=w();else{var N=y();if(N){R=N;var j=w();j&&(R.at=j)}else{var z=x();z&&(R={type:"default-radial",at:z})}}return R}function u(){var R=$("shape",/^(circle)/i,0);return R&&(R.style=G()||y()),R}function a(){var R=$("shape",/^(ellipse)/i,0);return R&&(R.style=I()||y()),R}function y(){return $("extent-keyword",o.extentKeywords,1)}function w(){if($("position",/^at/,0)){var R=x();return R||c("Missing positioning value"),R}}function x(){var R=k();if(R.x||R.y)return{type:"position",value:R}}function k(){return{x:I(),y:I()}}function b(R){var N=R(),j=[];if(N)for(j.push(N);L(o.comma);)N=R(),N?j.push(N):c("One extra comma");return j}function v(){var R=C();return R||c("Expected color definition"),R.length=I(),R}function C(){return F()||E()||M()||A()}function A(){return $("literal",o.literalColor,0)}function F(){return $("hex",o.hexColor,1)}function M(){return l(o.rgbColor,function(){return{type:"rgb",value:b(T)}})}function E(){return l(o.rgbaColor,function(){return{type:"rgba",value:b(T)}})}function T(){return L(o.number)[1]}function I(){return $("%",o.percentageValue,1)||S()||G()}function S(){return $("position-keyword",o.positionKeywords,1)}function G(){return $("px",o.pixelValue,1)||$("em",o.emValue,1)}function $(R,N,j){var z=L(N);if(z)return{type:R,value:z[j]}}function L(R){var N,j;return j=/^[\n\r\t\s]+/.exec(p),j&&B(j[0].length),N=R.exec(p),N&&B(N[0].length),N}function B(R){p=p.substr(R)}return function(R){return p=R.toString(),r()}}(),g.parse=d.parse,g.stringify=d.stringify}),U=Ne($t(),1);U.default.stringify;U.default.fromJSON;U.default.plugin;var or=U.default.parse;U.default.list;U.default.document;U.default.comment;U.default.atRule;U.default.rule;U.default.decl;U.default.root;U.default.CssSyntaxError;U.default.Declaration;U.default.Container;U.default.Processor;U.default.Document;U.default.Comment;U.default.Warning;U.default.AtRule;U.default.Result;U.default.Input;U.default.Rule;U.default.Root;U.default.Node;var Ae=function(g,d,o){let p={type:String(g)};
vendor: 4,368 bytes, line 47
47return o==null&&(typeof d=="string"||Array.isArray(d))?o=d:Object.assign(p,d),Array.isArray(o)?p.children=o:o!=null&&(p.value=String(o)),p},lr="root",ar="rule",ur="declaration";function hr(g){let d=Ae(lr,[]);return or(g).walkRules(o=>{let p=Ae(ar,{selectors:[],selector:""},[]);p.selectors=[...o.selectors],p.selector=o.selector,o.walkDecls(c=>{let r=Ae(ur,{important:c.important,property:c.prop,value:c.value});p.children.push(r)}),d.children.push(p)}),d}var cr={grad:.9,turn:360,rad:360/(2*Math.PI)},H=function(g){return typeof g=="string"?g.length>0:typeof g=="number"},_=function(g,d,o){return d===void 0&&(d=0),o===void 0&&(o=Math.pow(10,d)),Math.round(o*g)/o+0},q=function(g,d,o){return d===void 0&&(d=0),o===void 0&&(o=1),g>o?o:g>d?g:d},St=function(g){return(g=isFinite(g)?g%360:0)>0?g:g+360},Je=function(g){return{r:q(g.r,0,255),g:q(g.g,0,255),b:q(g.b,0,255),a:q(g.a)}},Ee=function(g){return{r:_(g.r),g:_(g.g),b:_(g.b),a:_(g.a,3)}},pr=/^#([0-9a-f]{3,8})$/i,pe=function(g){var d=g.toString(16);return d.length<2?"0"+d:d},Ot=function(g){var d=g.r,o=g.g,p=g.b,c=g.a,r=Math.max(d,o,p),s=r-Math.min(d,o,p),i=s?r===d?(o-p)/s:r===o?2+(p-d)/s:4+(d-o)/s:0;return{h:60*(i<0?i+6:i),s:r?s/r*100:0,v:r/255*100,a:c}},At=function(g){var d=g.h,o=g.s,p=g.v,c=g.a;d=d/360*6,o/=100,p/=100;var r=Math.floor(d),s=p*(1-o),i=p*(1-(d-r)*o),m=p*(1-(1-d+r)*o),l=r%6;return{r:255*[p,i,s,s,m,p][l],g:255*[m,p,p,i,s,s][l],b:255*[s,s,m,p,p,i][l],a:c}},He=function(g){return{h:St(g.h),s:q(g.s,0,100),l:q(g.l,0,100),a:q(g.a)}},Ke=function(g){return{h:_(g.h),s:_(g.s),l:_(g.l),a:_(g.a,3)}},Ze=function(g){return At((o=(d=g).s,{h:d.h,s:(o*=((p=d.l)<50?p:100-p)/100)>0?2*o/(p+o)*100:0,v:p+o,a:d.a}));var d,o,p},ie=function(g){return{h:(d=Ot(g)).h,s:(c=(200-(o=d.s))*(p=d.v)/100)>0&&c<200?o*p/100/(c<=100?c:200-c)*100:0,l:c/2,a:d.a};var d,o,p,c},fr=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,dr=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,gr=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,mr=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Ie={string:[[function(g){var d=pr.exec(g);return d?(g=d[1]).length<=4?{r:parseInt(g[0]+g[0],16),g:parseInt(g[1]+g[1],16),b:parseInt(g[2]+g[2],16),a:g.length===4?_(parseInt(g[3]+g[3],16)/255,2):1}:g.length===6||g.length===8?{r:parseInt(g.substr(0,2),16),g:parseInt(g.substr(2,2),16),b:parseInt(g.substr(4,2),16),a:g.length===8?_(parseInt(g.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(g){var d=gr.exec(g)||mr.exec(g);return d?d[2]!==d[4]||d[4]!==d[6]?null:Je({r:Number(d[1])/(d[2]?100/255:1),g:Number(d[3])/(d[4]?100/255:1),b:Number(d[5])/(d[6]?100/255:1),a:d[7]===void 0?1:Number(d[7])/(d[8]?100:1)}):null},"rgb"],[function(g){var d=fr.exec(g)||dr.exec(g);if(!d)return null;var o,p,c=He({h:(o=d[1],p=d[2],p===void 0&&(p="deg"),Number(o)*(cr[p]||1)),s:Number(d[3]),l:Number(d[4]),a:d[5]===void 0?1:Number(d[5])/(d[6]?100:1)});return Ze(c)},"hsl"]],object:[[function(g){var d=g.r,o=g.g,p=g.b,c=g.a,r=c===void 0?1:c;return H(d)&&H(o)&&H(p)?Je({r:Number(d),g:Number(o),b:Number(p),a:Number(r)}):null},"rgb"],[function(g){var d=g.h,o=g.s,p=g.l,c=g.a,r=c===void 0?1:c;if(!H(d)||!H(o)||!H(p))return null;var s=He({h:Number(d),s:Number(o),l:Number(p),a:Number(r)});return Ze(s)},"hsl"],[function(g){var d=g.h,o=g.s,p=g.v,c=g.a,r=c===void 0?1:c;if(!H(d)||!H(o)||!H(p))return null;var s=function(i){return{h:St(i.h),s:q(i.s,0,100),v:q(i.v,0,100),a:q(i.a)}}({h:Number(d),s:Number(o),v:Number(p),a:Number(r)});return At(s)},"hsv"]]},Ye=function(g,d){for(var o=0;o<d.length;o++){var p=d[o][0](g);if(p)return[p,d[o][1]]}return[null,void 0]},yr=function(g){return typeof g=="string"?Ye(g.trim(),Ie.string):typeof g=="object"&&g!==null?Ye(g,Ie.object):[null,void 0]},Pe=function(g,d){var o=ie(g);return{h:o.h,s:q(o.s+100*d,0,100),l:o.l,a:o.a}},Re=function(g){return(299*g.r+587*g.g+114*g.b)/1e3/255},Qe=function(g,d){var o=ie(g);return{h:o.h,s:o.s,l:q(o.l+100*d,0,100),a:o.a}},Me=function(){function g(d){this.parsed=yr(d)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return g.prototype.isValid=function(){return this.parsed!==null}
vendor: 4,599 bytes, line 47
47,g.prototype.brightness=function(){return _(Re(this.rgba),2)},g.prototype.isDark=function(){return Re(this.rgba)<.5},g.prototype.isLight=function(){return Re(this.rgba)>=.5},g.prototype.toHex=function(){return d=Ee(this.rgba),o=d.r,p=d.g,c=d.b,s=(r=d.a)<1?pe(_(255*r)):"","#"+pe(o)+pe(p)+pe(c)+s;var d,o,p,c,r,s},g.prototype.toRgb=function(){return Ee(this.rgba)},g.prototype.toRgbString=function(){return d=Ee(this.rgba),o=d.r,p=d.g,c=d.b,(r=d.a)<1?"rgba("+o+", "+p+", "+c+", "+r+")":"rgb("+o+", "+p+", "+c+")";var d,o,p,c,r},g.prototype.toHsl=function(){return Ke(ie(this.rgba))},g.prototype.toHslString=function(){return d=Ke(ie(this.rgba)),o=d.h,p=d.s,c=d.l,(r=d.a)<1?"hsla("+o+", "+p+"%, "+c+"%, "+r+")":"hsl("+o+", "+p+"%, "+c+"%)";var d,o,p,c,r},g.prototype.toHsv=function(){return d=Ot(this.rgba),{h:_(d.h),s:_(d.s),v:_(d.v),a:_(d.a,3)};var d},g.prototype.invert=function(){return W({r:255-(d=this.rgba).r,g:255-d.g,b:255-d.b,a:d.a});var d},g.prototype.saturate=function(d){return d===void 0&&(d=.1),W(Pe(this.rgba,d))},g.prototype.desaturate=function(d){return d===void 0&&(d=.1),W(Pe(this.rgba,-d))},g.prototype.grayscale=function(){return W(Pe(this.rgba,-1))},g.prototype.lighten=function(d){return d===void 0&&(d=.1),W(Qe(this.rgba,d))},g.prototype.darken=function(d){return d===void 0&&(d=.1),W(Qe(this.rgba,-d))},g.prototype.rotate=function(d){return d===void 0&&(d=15),this.hue(this.hue()+d)},g.prototype.alpha=function(d){return typeof d=="number"?W({r:(o=this.rgba).r,g:o.g,b:o.b,a:d}):_(this.rgba.a,3);var o},g.prototype.hue=function(d){var o=ie(this.rgba);return typeof d=="number"?W({h:d,s:o.s,l:o.l,a:o.a}):_(o.h)},g.prototype.isEqual=function(d){return this.toHex()===W(d).toHex()},g}(),W=function(g){return g instanceof Me?g:new Me(g)},Xe=[],Et=function(g){g.forEach(function(d){Xe.indexOf(d)<0&&(d(Me,Ie),Xe.push(d))})};function Pt(g,d){var o={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",s
47andybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},p={};for(var c in o)p[o[c]]=c;var r={};g.prototype.toName=function(s){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var i,m,l=p[this.toHex()];if(l)return l;if(s!=null&&s.closest){var h=this.toRgb(),t=1/0,f="black";if(!r.length)for(var n in o)r[n]=new g(o[n]).toRgb();for(var e in o){var u=(i=h,m=r[e],Math.pow(i.r-m.r,2)+Math.pow(i.g-m.g,2)+Math.pow(i.b-m.b,2));u<t&&(t=u,f=e)}return f}},d.string.push([function(s){var i=s.toLowerCase(),m=i==="transparent"?"#0000":o[i];return m?new g(m).toRgb():null},"name"])}var de={attribute:/\[\s*(?:(?<namespace>\*|[-\w\P{ASCII}]*)\|)?(?<name>[-\w\P{ASCII}]+)\s*(?:(?<operator>\W?=)\s*(?<value>.+?)\s*(\s(?<caseSensitive>[iIsS]))?\s*)?\]/gu,id:/#(?<name>[-\w\P{ASCII}]+)/gu,class:/\.(?<name>[-\w\P{ASCII}]+)/gu,comma:/\s*,\s*/g,combinator:/\s*[\s>+~]\s*/g,"pseudo-element":/::(?<name>[-\w\P{ASCII}]+)(?:\((?<argument>¶*)\))?/gu,"pseudo-class":/:(?<name>[-\w\P{ASCII}]+)(?:\((?<argument>¶*)\))?/gu,universal:/(?:(?<namespace>\*|[-\w\P{ASCII}]*)\|)?\*/gu,type:/(?:(?<namespace>\*|[-\w\P{ASCII}]*)\|)?(?<name>[-\w\P{ASCII}]+)/gu},wr=new Set(["combinator","comma"]),br=new Set(["not","is","where","has","matches","-moz-any","-webkit-any","nth-child","nth-last-child"]),et=/(?<index>[\dn+-]+)\s+of\s+(?<subtree>.+)/,vr={"nth-child":et,"nth-last-child":et},xr=g=>{switch(g){case"pseudo-element":case"pseudo-class":return new RegExp(de[g].source.replace("(?<argument>¶*)","(?<argument>.*)"),"gu");default:return de[g]}};function kr(g,d){let o=0,p="";for(;d<g.length;d++){let c=g[d];switch(c){case"(":++o;break;case")":--o;break}if(p+=c,o===0)return p}return p}function Cr(g,d=de){if(!g)return[];let o=[g];for(let[c,r]of Object.entries(d))for(let s=0;s<o.length;s++){let i=o[s];if(typeof i!="string")continue;r.lastIndex=0;let m=r.exec(i);if(!m)continue;let l=m.index-1,h=[],t=m[0],f=i.slice(0,l+1);f&&h.push(f),h.push({...m.groups,type:c,content:t});let n=i.slice(l+t.length+1);n&&h.push(n),o.splice(s,1,...h)}let p=0;for(let c of o)switch(typeof c){case"string":throw new Error(`Unexpected sequence ${c} found at index ${p}`);case"object":p+=c.content.length,c.pos=[p-c.content.length,p],wr.has(c.type)&&(c.content=c.content.trim()||" ");break}return o}var Sr=/(['"])([^\\\n]+?)\1/g,Or=/\\./g;function Ar(g,d=de){if(g=g.trim(),g==="")return[];let o=[];g=g.replace(Or,(r,s)=>(o.push({value:r,offset:s}),"î".repeat(r.length))),g=g.replace(Sr,(r,s,i,m)=>(o.push({value:r,offset:m}),`${s}${"î".repeat(i.length)}${s}`));{let r=0,s;for(;(s=g.indexOf("(",r))>-1;){let i=kr(g,s);o.push({value:i,offset:s}),g=`${g.substring(0,s)}(${"¶".repeat(i.length-2)})${g.substring(s+i.length)}`,r=s+i.length}}let p=Cr(g,d),c=new Set;for(let r of o.reverse())for(let s of p){let{offset:i,value:m}=r;if(!(s.pos[0]<=i&&i+m.length<=s.pos[1]))continue;let{content:l}=s,h=i-s.pos[0];s.content=l.slice(0,h)+m+l.slice(h+m.length),s.content!==l&&c.add(s)}for(let r of c){let s=xr(r.type);if(!s)throw new Error(`Unknown token type: ${r.type}`);s.lastIndex=0;let i=s.exec(r.content);if(!i)throw new Error(`Unable to parse content for ${r.type}: ${r.content}`);Object.assign(r,i.groups)}return p}function se(g,{list:d=!0}={}){if(d&&g.find(o=>o.type==="comma")){let o=[],p=[];for(let c=0;c<g.length;c++)if(g[c].type==="comma"){if(p.length===0)throw new Error("Incorrect comma at "+c);o.push(se(p,{list:!1})),p.length=0}else p.push(g[c]);if(p.length===0)throw new Error("Trailing comma");return o.push(se(p,{list:!1})),{type:"list",list:o}}for(let o=g.length-1;o>=0;o--){let p=g[o];if(p.type==="combinator"){let c=g.slice(0,o),r=g.slice(o+1);return{type:"complex",combinator:p.content,left:se(c),right:se(r)}}}switch(g.length){case 0:throw new Error("Could not build AST.");case 1:return g[0];default:return{type:"compound",list:[...g]}}}function*ne(g,d){switch(g.type){case"list":for(let o of g.list)yield*ne(o,g);break;case"complex":yield*ne(g.left,g),yield*ne(g.right,g);break;case"compound":yield*g.list.map(o=>[o,g]);break;default:yield[g,d]}}function Er(g,d,o){if(g)for(let[p,c]of ne(g,o))d(p,c)}function Rt(g,{recursive:d=!0,list:o=!0}={}){let p=Ar(g);if(!p)return;let c=se(p,{list:o});if(!d)return c;for(let[r]of ne(c)){if(r.type!=="pseudo-class"||!r.argument||!br.has(r.name))continue;let s=r.argument,i=vr[r.name];if(i){let m=i.exec(s);if(!m)continue;Object.assign(r,m.groups),s=m.groups.subtree}s&&Object.assign(r,{subtree:Rt(s,{recursive:!0,list:!0})})}return c}var Pr=Ne(qe(),1),Ft=function(g){if(g==null)return Mr;if(typeof g=="string")return Ir(g);if(typeof g=="object")return Array.isArray(g)?Rr(g):Fr(g);if(typeof g=="function")return xe(g);throw new Error("Expected function, string, or object as test")};function Rr(g){let d=[],o=-1;for(;++o<g.length;)d[o]=Ft(g[o]);return xe(p);function p(...c){let r=-1;for(;++r<d.length;)if(d[r].call(this,...c))return!0;return!1}}function Fr(g){return xe(d);function d(o){let p;for(p in g)if(o[p]!==g[p])return!1;return!0}}function Ir(g){return xe(d);function d(o){return o&&o.type===g}}function xe(g){return d;function d(o,...p){return!!(o&&typeof o=="object"&&"type"in o&&g.call(this,o,...p))}}function Mr(){return!0}var je=!0,ge=!1,jr="skip",Nr=function(g,d,o,p){typeof d=="function"&&typeof o!="function"&&(p=o,o=d,d=null);let c=Ft(d),r=p?-1:1;s(g,void 0,[])();function s(i,m,l){let h=i&&typeof i=="object"?i:{};if(typeof h.type=="string"){let f=typeof h.tagName=="string"?h.tagName:typeof h.name=="string"?h.name:void 0;Object.defineProperty(t,"name",{value:"node ("+(i.type+(f?"<"+f+">":""))+")"})}return t;function t(){let f=[],n,e,u;if((!d||c(i,m,l[l.length-1]||null))&&(f=zr(o(i,l)),f[0]===ge))return f;if(i.children&&f[0]!==jr)for(e=(p?i.children.length:-1)+r,u=l.concat(i);e>-1&&e<i.children.length;){if(n=s(i.children[e],e,u)(),n[0]===ge)return n;e=typeof n[1]=="number"?n[1]:e+r}return f}}};function zr(g){return Array.isArray(g)?g:typeof g=="number"?[je,g]:[g]}var D=function(g,d,o,p){typeof d=="function"&&typeof o!="function"&&(p=o,o=d,d=null),Nr(g,d,c,p);function c(r,s){let i=s[s.length-1];return o(r,i?i.children.indexOf(r):null,i)}},Ge=Ne(nr(),1);Et([Pt]);var It=g=>{var d;try{if(!g.startsWith("linear-gradient"))return!1;let o=(0,Ge.parse)(g);return!(o.length===0||((d=o[0])==null?void 0:d.type)!=="linear-gradient")}catch{return!1}},Mt=g=>{var d;try{if(!g.startsWith("radial-gradient"))return!1;let o=(0,Ge.parse)(g);return!(o.length===0||((d=o[0])==null?void 0:d.type)!=="radial-gradient")}catch{return!1}},tt=g=>{let d=[],o=[];
47if(!(It(g)||Mt(g)))return[];let p=(0,Ge.parse)(g)[0];return p==null||p.colorStops.forEach((c,r)=>{var l;let s=[],i=0;if(c.type==="hex"||c.type==="literal"){let h=W(c.value);s.push(parseFloat((h.rgba.r/255).toFixed(2)),parseFloat((h.rgba.g/255).toFixed(2)),parseFloat((h.rgba.b/255).toFixed(2))),i=h.rgba.a}else if(["rgb","rgba"].includes(c.type)){let h=W({r:Number(c.value[0]),g:Number(c.value[1]),b:Number(c.value[2]),a:c.value[3]?Number(c.value[3]):1});s.push(parseFloat((h.rgba.r/255).toFixed(2)),parseFloat((h.rgba.g/255).toFixed(2)),parseFloat((h.rgba.b/255).toFixed(2))),i=h.rgba.a}let m=parseFloat((r/(p.colorStops.length-1||1)).toFixed(2));(l=c.length)!=null&&l.value&&Number(c.length.value)>0&&(m=parseFloat((Number(c.length.value)/100).toFixed(2))),d.push(m,...s),o.push(m,i)}),d.push(...o),d},rt=(g,d,o)=>{if(!["shape-gradient-fill","shape-gradient-stroke"].includes(g.title))return;let p=d.length/6;D(g,"attribute",c=>{c.title==="gradient-type"&&c.children[0]?c.children[0].value=o==="linear"?1:2:c.title==="count"&&c.children[0]&&(c.children[0].value=p)}),D(g,"collection",c=>{if(c.title==="static-values"&&typeof c.key=="object"&&c.key.value==="k"&&c.children[0]){let r=c.children[0];r.children=d.map(s=>({type:"primitive",valueType:"number",value:s}))}})};Et([Pt]);var fe=(g,d,o,p=!1)=>{let c=new Set,r=Array.isArray(g)?g:[g];for(let s of r)D(s,"attribute",(i,m,l)=>{var h;i.title===o&&((h=i.children[0])==null?void 0:h.value)===d&&l&&l.type!=="root"&&(p?l===s&&c.add(l):c.add(l))});return Array.from(c)},Tr=(g,d)=>{let o=[];for(let p of d){let c=[],r=Rt(p);Er(r,(s,i)=>{let m=c.length>0?c:g;if(s.type==="id")c=fe(m,s.name,"layer-xml-id",(i==null?void 0:i.type)==="compound");else if(s.type==="class")c=fe(m,s.name,"css-class",(i==null?void 0:i.type)==="compound");else if(s.type==="type"){let l="",h=null;s.name==="FillShape"?(h="shape-type",l="fl"):s.name==="StrokeShape"?(h="shape-type",l="st"):s.name==="GradientFillShape"?(h="shape-type",l="gf"):s.name==="GradientStrokeShape"?(h="shape-type",l="gs"):s.name==="ShapeLayer"?(h="layer-type",l=4):s.name==="SolidColorLayer"?(h="layer-type",l=1):s.name==="ImageLayer"&&(h="layer-type",l=2),h&&l&&(c=fe(m,l,h))}else if(s.type==="attribute"){let l=null,h=s.value;s.name==="id"?l="layer-xml-id":s.name==="class"?l="css-class":s.name==="name"?l="name":s.name==="shape-type"?l="shape-type":s.name==="layer-type"&&(l="layer-type",h=Number(s.value)),l&&h&&["number","string"].includes(typeof h)&&(c=fe(m,h,l,(i==null?void 0:i.type)==="compound"))}}),o.push(...c)}return Array.from(new Set(o))},Fe=g=>g.includes("-color"),Ur=g=>g==="nonzero"||g==="evenodd",$r=g=>g.endsWith("%")?parseFloat(g):parseFloat(g)*100,Br=g=>g==="nonzero"?1:2,Lr=g=>{try{new URL(g)}catch{return!1}return!0},_r=g=>{let d=(0,Pr.parse)(g).nodes;if(d.length===1){let o=d[0];if(o&&o.type==="func"&&o.name==="url"){let p=o.nodes;if(p.length===1){let c=p[0];if(c&&c.type==="quoted")return c.contents}}}return""},Dr=g=>{let d={};for(let o of g)if(Fe(o.property)&&W(o.value).isValid()){let p=W(o.value).rgba,c=[p.r/255,p.g/255,p.b/255,p.a];switch(o.property){case"fill-color":d["fill-color"]=c;break;case"stroke-color":d["stroke-color"]=c;break}}else if(Fe(o.property)&&It(o.value)){let p=tt(o.value);switch(o.property){case"fill-color":d["linear-gradient-fill-color"]=p;break;case"stroke-color":d["linear-gradient-stroke-color"]=p;break}}else if(Fe(o.property)&&Mt(o.value)){let p=tt(o.value);switch(o.property){case"fill-color":d["radial-gradient-fill-color"]=p;break;case"stroke-color":d["radial-gradient-stroke-color"]=p;break}}else if(o.property==="stroke-width")d["stroke-width"]=Number(o.value);else if(o.property==="fill-rule"&&Ur(o.value))d["fill-rule"]=Br(o.value);else if(o.property==="opacity"){let p=$r(o.value);if(Number.isNaN(p))continue;p<0?d.opacity=0:p>100?d.opacity=100:d.opacity=p}else if(o.property==="visibility")d.hidden=o.value==="hidden";else if(o.property==="src"){let p=_r(o.value);Lr(p)&&(d.src=p)}return d},Wr=(g,d,o)=>{var p;for(let c in d)switch(c){case"fill-color":let r=d[c];g.title==="shape-fill"?Array.isArray(r)&&D(g,"array",s=>s.title==="color-rgba-children"&&s.children.length===4?(s.children=s.children.map((i,m)=>({...i,value:r[m]})),ge):je):g.title==="layer-solid-color"&&D(g,"attribute",s=>{var i;if(s.title==="hex-color"&&((i=s.children[0])!=null&&i.value)&&(r==null?void 0:r.length)===4){let m=W({r:r[0]*255,g:r[1]*255,b:r[2]*255,a:r[3]}).toHex();s.children[0].value=m}});break;case"stroke-color":if(g.title==="shape-stroke"){let s=d[c];Array.isArray(s)&&D(g,"array",i=>i.title==="static-values-children"&&i.children.length===4?(i.children=i.children.map((m,l)=>({...m,value:s[l]})),ge):je)}break;case"stroke-width":(g.title==="shape-stroke"||g.title==="shape-gradient-stroke")&&D(g,"element",s=>{s.title==="stroke-width"&&D(s,"attribute",(i,m,l)=>{var h;i.title==="static-value"&&((h=i.children[0])!=null&&h.value)&&i.children[0].valueType==="number"&&(l==null?void 0:l.title)==="animated-value-static"&&(i.children[0].value=d[c])})});break;case"fill-rule":["shape-fill","shape-gradient-fill"].includes(g.title)&&D(g,"attribute",s=>{var i;s.title==="fill-rule-value"&&((i=s.children[0])!=null&&i.value)&&(s.children[0].value=d[c])});break;case"opacity":["shape-stroke","shape-fill","shape-gradient-fill","shape-gradient-stroke"].includes(g.title)&&D(g,"element",s=>{["stroke-opacity","opacity"].includes(s.title)&&D(s,"attribute",(i,m,l)=>{var h;i.title==="static-value"&&((h=i.children[0])!=null&&h.value)&&i.children[0].valueType==="number"&&(l==null?void 0:l.title)==="animated-value-static"&&(i.children[0].value=d[c])})});break;case"hidden":(g.title.includes("shape")||g.title.includes("layer"))&&D(g,"attribute",s=>{s.title==="hidden"&&s.children[0]&&(s.children[0].value=d[c])});break;case"linear-gradient-fill-color":case"linear-gradient-stroke-color":rt(g,d[c],"linear");break;case"radial-gradient-fill-color":case"radial-gradient-stroke-color":rt(g,d[c],"radial");break;case"src":if(g.title==="layer-image"){let s=g.children.find(i=>i.title==="image-id");if((s==null?void 0:s.type)==="attribute"){let i=(p=s.children[0])==null?void 0:p.value;D(o,"object",m=>{m.title==="asset-image"&&m.children.some(l=>{var h;return l.title==="id"&&((h=l.children[0])==null?void 0:h.type)==="primitive"&&l.children[0].value===i})&&D(m,"attribute",l=>{l.title==="embedded"&&l.children[0]?l.children[0].value=0:l.title==="path"&&l.children[0]?l.children[0].value="":l.title==="filename"&&l.children[0]&&(l.children[0].value=d[c])})})}}break}},Vr=(g={lss:""})=>async d=>{let o=hr(g.lss);D(o,"rule",p=>{let c=Tr(d,p.selectors),r=Dr(p.children);for(let s of c)Wr(s,r,d)})},Gr=Vr;export{Gr as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.