UNPKG

next

Version:

The React Framework

1 lines 54 kB
module.exports=(()=>{var e={919:(e,t,s)=>{var r=s(1);function shouldSetZeroBasis(e){if(!e){return false}return e==="0"||e.replace(/\s/g,"")==="0px"}function properBasis(e){if(shouldSetZeroBasis(e)){return"0%"}return e}e.exports=function(e){if(e.prop==="flex"){var t=r.list.space(e.value);var s="0";var i="1";var n="0%";if(t[0]){s=t[0]}if(t[1]){if(!isNaN(t[1])){i=t[1]}else{n=t[1]}}if(t[2]){n=t[2]}e.value=s+" "+i+" "+properBasis(n)}}},61:(e,t,s)=>{var r=s(1);e.exports=function(e){if(e.prop==="flex"){var t=r.list.space(e.value);var s=t[0];var i=t[1]||"1";var n=t[2]||"0%";if(n==="0%")n=null;e.value=s+" "+i+(n?" "+n:"")}}},574:(e,t,s)=>{var r=s(1);e.exports=function(e){var t=/(\d{1,}) (\d{1,}) (calc\(.*\))/g;var s=t.exec(e.value);if(e.prop==="flex"&&s){var i=r.decl({prop:"flex-grow",value:s[1],source:e.source});var n=r.decl({prop:"flex-shrink",value:s[2],source:e.source});var o=r.decl({prop:"flex-basis",value:s[3],source:e.source});e.parent.insertBefore(e,i);e.parent.insertBefore(e,n);e.parent.insertBefore(e,o);e.remove()}}},262:(e,t,s)=>{var r=s(919);var i=s(61);var n=s(574);var o=["none","auto","content","inherit","initial","unset"];e.exports=function(e){var t=Object.assign({bug4:true,bug6:true,bug81a:true},e);return{postcssPlugin:"postcss-flexbugs-fixes",Once:function(e,s){e.walkDecls(function(e){if(e.value.indexOf("var(")>-1){return}if(e.value==="none"){return}var l=s.list.space(e.value);if(o.indexOf(e.value)>0&&l.length===1){return}if(t.bug4){r(e)}if(t.bug6){i(e)}if(t.bug81a){n(e)}})}}};e.exports.postcss=true},193:(e,t,s)=>{"use strict";let r=s(632);class AtRule extends r{constructor(e){super(e);this.type="atrule"}append(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.append(...e)}prepend(...e){if(!this.proxyOf.nodes)this.nodes=[];return super.prepend(...e)}}e.exports=AtRule;AtRule.default=AtRule;r.registerAtRule(AtRule)},592:(e,t,s)=>{"use strict";let r=s(557);class Comment extends r{constructor(e){super(e);this.type="comment"}}e.exports=Comment;Comment.default=Comment},632:(e,t,s)=>{"use strict";let r=s(522);let{isClean:i}=s(594);let n=s(592);let o=s(557);let l,f,a;function cleanSource(e){return e.map(e=>{if(e.nodes)e.nodes=cleanSource(e.nodes);delete e.source;return e})}function markDirtyUp(e){e[i]=false;if(e.proxyOf.nodes){for(let t of e.proxyOf.nodes){markDirtyUp(t)}}}function rebuild(e){if(e.type==="atrule"){Object.setPrototypeOf(e,a.prototype)}else if(e.type==="rule"){Object.setPrototypeOf(e,f.prototype)}else if(e.type==="decl"){Object.setPrototypeOf(e,r.prototype)}else if(e.type==="comment"){Object.setPrototypeOf(e,n.prototype)}if(e.nodes){e.nodes.forEach(e=>{rebuild(e)})}}class Container extends o{push(e){e.parent=this;this.proxyOf.nodes.push(e);return this}each(e){if(!this.proxyOf.nodes)return undefined;let t=this.getIterator();let s,r;while(this.indexes[t]<this.proxyOf.nodes.length){s=this.indexes[t];r=e(this.proxyOf.nodes[s],s);if(r===false)break;this.indexes[t]+=1}delete this.indexes[t];return r}walk(e){return this.each((t,s)=>{let r;try{r=e(t,s)}catch(e){throw t.addToError(e)}if(r!==false&&t.walk){r=t.walk(e)}return r})}walkDecls(e,t){if(!t){t=e;return this.walk((e,s)=>{if(e.type==="decl"){return t(e,s)}})}if(e instanceof RegExp){return this.walk((s,r)=>{if(s.type==="decl"&&e.test(s.prop)){return t(s,r)}})}return this.walk((s,r)=>{if(s.type==="decl"&&s.prop===e){return t(s,r)}})}walkRules(e,t){if(!t){t=e;return this.walk((e,s)=>{if(e.type==="rule"){return t(e,s)}})}if(e instanceof RegExp){return this.walk((s,r)=>{if(s.type==="rule"&&e.test(s.selector)){return t(s,r)}})}return this.walk((s,r)=>{if(s.type==="rule"&&s.selector===e){return t(s,r)}})}walkAtRules(e,t){if(!t){t=e;return this.walk((e,s)=>{if(e.type==="atrule"){return t(e,s)}})}if(e instanceof RegExp){return this.walk((s,r)=>{if(s.type==="atrule"&&e.test(s.name)){return t(s,r)}})}return this.walk((s,r)=>{if(s.type==="atrule"&&s.name===e){return t(s,r)}})}walkComments(e){return this.walk((t,s)=>{if(t.type==="comment"){return e(t,s)}})}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}this.markDirty();return this}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes){this.indexes[t]=this.indexes[t]+e.length}}this.markDirty();return this}cleanRaws(e){super.cleanRaws(e);if(this.nodes){for(let t of this.nodes)t.cleanRaws(e)}}insertBefore(e,t){e=this.index(e);let s=e===0?"prepend":false;let r=this.normalize(t,this.proxyOf.nodes[e],s).reverse();for(let t of r)this.proxyOf.nodes.splice(e,0,t);let i;for(let t in this.indexes){i=this.indexes[t];if(e<=i){this.indexes[t]=i+r.length}}this.markDirty();return this}insertAfter(e,t){e=this.index(e);let s=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of s)this.proxyOf.nodes.splice(e+1,0,t);let r;for(let t in this.indexes){r=this.indexes[t];if(e<r){this.indexes[t]=r+s.length}}this.markDirty();return this}removeChild(e){e=this.index(e);this.proxyOf.nodes[e].parent=undefined;this.proxyOf.nodes.splice(e,1);let t;for(let s in this.indexes){t=this.indexes[s];if(t>=e){this.indexes[s]=t-1}}this.markDirty();return this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=undefined;this.proxyOf.nodes=[];this.markDirty();return this}replaceValues(e,t,s){if(!s){s=t;t={}}this.walkDecls(r=>{if(t.props&&!t.props.includes(r.prop))return;if(t.fast&&!r.value.includes(t.fast))return;r.value=r.value.replace(e,s)});this.markDirty();return this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){if(typeof e==="number")return e;if(e.proxyOf)e=e.proxyOf;return this.proxyOf.nodes.indexOf(e)}get first(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[0]}get last(){if(!this.proxyOf.nodes)return undefined;return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,t){if(typeof e==="string"){e=cleanSource(l(e).nodes)}else if(Array.isArray(e)){e=e.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type==="root"){e=e.nodes.slice(0);for(let t of e){if(t.parent)t.parent.removeChild(t,"ignore")}}else if(e.type){e=[e]}else if(e.prop){if(typeof e.value==="undefined"){throw new Error("Value field is missed in node creation")}else if(typeof e.value!=="string"){e.value=String(e.value)}e=[new r(e)]}else if(e.selector){e=[new f(e)]}else if(e.name){e=[new a(e)]}else if(e.text){e=[new n(e)]}else{throw new Error("Unknown node type in node creation")}let s=e.map(e=>{if(typeof e.markDirty!=="function")rebuild(e);e=e.proxyOf;if(e.parent)e.parent.removeChild(e);if(e[i])markDirtyUp(e);if(typeof e.raws.before==="undefined"){if(t&&typeof t.raws.before!=="undefined"){e.raws.before=t.raws.before.replace(/\S/g,"")}}e.parent=this;return e});return s}getProxyProcessor(){return{set(e,t,s){if(e[t]===s)return true;e[t]=s;if(t==="name"||t==="params"||t==="selector"){e.markDirty()}return true},get(e,t){if(t==="proxyOf"){return e}else if(!e[t]){return e[t]}else if(t==="each"||typeof t==="string"&&t.startsWith("walk")){return(...s)=>{return e[t](...s.map(e=>{if(typeof e==="function"){return(t,s)=>e(t.toProxy(),s)}else{return e}}))}}else if(t==="every"||t==="some"){return s=>{return e[t]((e,...t)=>s(e.toProxy(),...t))}}else if(t==="root"){return()=>e.root().toProxy()}else if(t==="nodes"){return e.nodes.map(e=>e.toProxy())}else if(t==="first"||t==="last"){return e[t].toProxy()}else{return e[t]}}}}getIterator(){if(!this.lastEach)this.lastEach=0;if(!this.indexes)this.indexes={};this.lastEach+=1;let e=this.lastEach;this.indexes[e]=0;return e}}Container.registerParse=(e=>{l=e});Container.registerRule=(e=>{f=e});Container.registerAtRule=(e=>{a=e});e.exports=Container;Container.default=Container},279:(e,t,s)=>{"use strict";let{red:r,bold:i,gray:n,options:o}=s(210);let l=s(40);class CssSyntaxError extends Error{constructor(e,t,s,r,i,n){super(e);this.name="CssSyntaxError";this.reason=e;if(i){this.file=i}if(r){this.source=r}if(n){this.plugin=n}if(typeof t!=="undefined"&&typeof s!=="undefined"){this.line=t;this.column=s}this.setMessage();if(Error.captureStackTrace){Error.captureStackTrace(this,CssSyntaxError)}}setMessage(){this.message=this.plugin?this.plugin+": ":"";this.message+=this.file?this.file:"<css input>";if(typeof this.line!=="undefined"){this.message+=":"+this.line+":"+this.column}this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;if(e==null)e=o.enabled;if(l){if(e)t=l(t)}let s=t.split(/\r?\n/);let f=Math.max(this.line-3,0);let a=Math.min(this.line+2,s.length);let h=String(a).length;let u,c;if(e){u=(e=>i(r(e)));c=(e=>n(e))}else{u=c=(e=>e)}return s.slice(f,a).map((e,t)=>{let s=f+1+t;let r=" "+(" "+s).slice(-h)+" | ";if(s===this.line){let t=c(r.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return u(">")+c(r)+e+"\n "+t+u("^")}return" "+c(r)+e}).join("\n")}toString(){let e=this.showSourceCode();if(e){e="\n\n"+e+"\n"}return this.name+": "+this.message+e}}e.exports=CssSyntaxError;CssSyntaxError.default=CssSyntaxError},522:(e,t,s)=>{"use strict";let r=s(557);class Declaration extends r{constructor(e){if(e&&typeof e.value!=="undefined"&&typeof e.value!=="string"){e={...e,value:String(e.value)}}super(e);this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}e.exports=Declaration;Declaration.default=Declaration},543:(e,t,s)=>{"use strict";let r=s(522);let i=s(90);let n=s(592);let o=s(193);let l=s(690);let f=s(630);let a=s(234);function fromJSON(e,t){if(Array.isArray(e))return e.map(e=>fromJSON(e));let{inputs:s,...h}=e;if(s){t=[];for(let e of s){let s={...e,__proto__:l.prototype};if(s.map){s.map={...s.map,__proto__:i.prototype}}t.push(s)}}if(h.nodes){h.nodes=e.nodes.map(e=>fromJSON(e,t))}if(h.source){let{inputId:e,...s}=h.source;h.source=s;if(e!=null){h.source.input=t[e]}}if(h.type==="root"){return new f(h)}else if(h.type==="decl"){return new r(h)}else if(h.type==="rule"){return new a(h)}else if(h.type==="comment"){return new n(h)}else if(h.type==="atrule"){return new o(h)}else{throw new Error("Unknown node type: "+e.type)}}e.exports=fromJSON;fromJSON.default=fromJSON},690:(e,t,s)=>{"use strict";let{fileURLToPath:r,pathToFileURL:i}=s(835);let{resolve:n,isAbsolute:o}=s(622);let{nanoid:l}=s(2);let f=s(40);let a=s(279);let h=s(90);let u=Symbol("fromOffset cache");let c=Boolean(n&&o);class Input{constructor(e,t={}){if(e===null||typeof e==="undefined"||typeof e==="object"&&!e.toString){throw new Error(`PostCSS received ${e} instead of CSS string`)}this.css=e.toString();if(this.css[0]==="\ufeff"||this.css[0]==="￾"){this.hasBOM=true;this.css=this.css.slice(1)}else{this.hasBOM=false}if(t.from){if(!c||/^\w+:\/\//.test(t.from)||o(t.from)){this.file=t.from}else{this.file=n(t.from)}}if(c){let e=new h(this.css,t);if(e.text){this.map=e;let t=e.consumer().file;if(!this.file&&t)this.file=this.mapResolve(t)}}if(!this.file){this.id="<input css "+l(6)+">"}if(this.map)this.map.file=this.from}fromOffset(e){let t,s;if(!this[u]){let e=this.css.split("\n");s=new Array(e.length);let t=0;for(let r=0,i=e.length;r<i;r++){s[r]=t;t+=e[r].length+1}this[u]=s}else{s=this[u]}t=s[s.length-1];let r=0;if(e>=t){r=s.length-1}else{let t=s.length-2;let i;while(r<t){i=r+(t-r>>1);if(e<s[i]){t=i-1}else if(e>=s[i+1]){r=i+1}else{r=i;break}}}return{line:r+1,col:e-s[r]+1}}error(e,t,s,r={}){let n;if(!s){let e=this.fromOffset(t);t=e.line;s=e.col}let o=this.origin(t,s);if(o){n=new a(e,o.line,o.column,o.source,o.file,r.plugin)}else{n=new a(e,t,s,this.css,this.file,r.plugin)}n.input={line:t,column:s,source:this.css};if(this.file){if(i){n.input.url=i(this.file).toString()}n.input.file=this.file}return n}origin(e,t){if(!this.map)return false;let s=this.map.consumer();let n=s.originalPositionFor({line:e,column:t});if(!n.source)return false;let l;if(o(n.source)){l=i(n.source)}else{l=new URL(n.source,this.map.consumer().sourceRoot||i(this.map.mapFile))}let f={url:l.toString(),line:n.line,column:n.column};if(l.protocol==="file:"){if(r){f.file=r(l)}else{throw new Error(`file: protocol is not available in this PostCSS build`)}}let a=s.sourceContentFor(n.source);if(a)f.source=a;return f}mapResolve(e){if(/^\w+:\/\//.test(e)){return e}return n(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let t of["hasBOM","css","file","id"]){if(this[t]!=null){e[t]=this[t]}}if(this.map){e.map={...this.map};if(e.map.consumerCache){e.map.consumerCache=undefined}}return e}}e.exports=Input;Input.default=Input;if(f&&f.registerInput){f.registerInput(Input)}},310:(e,t,s)=>{"use strict";let r=s(91);let{isClean:i}=s(594);let n=s(793);let o=s(600);let l=s(846);let f=s(128);let a=s(630);const h={root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"};const u={postcssPlugin:true,prepare:true,Once:true,Root:true,Declaration:true,Rule:true,AtRule:true,Comment:true,DeclarationExit:true,RuleExit:true,AtRuleExit:true,CommentExit:true,RootExit:true,OnceExit:true};const c={postcssPlugin:true,prepare:true,Once:true};const p=0;function isPromise(e){return typeof e==="object"&&typeof e.then==="function"}function getEvents(e){let t=false;let s=h[e.type];if(e.type==="decl"){t=e.prop.toLowerCase()}else if(e.type==="atrule"){t=e.name.toLowerCase()}if(t&&e.append){return[s,s+"-"+t,p,s+"Exit",s+"Exit-"+t]}else if(t){return[s,s+"-"+t,s+"Exit",s+"Exit-"+t]}else if(e.append){return[s,p,s+"Exit"]}else{return[s,s+"Exit"]}}function toStack(e){let t;if(e.type==="root"){t=["Root",p,"RootExit"]}else{t=getEvents(e)}return{node:e,events:t,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function cleanMarks(e){e[i]=false;if(e.nodes)e.nodes.forEach(e=>cleanMarks(e));return e}let w={};class LazyResult{constructor(e,t,s){this.stringified=false;this.processed=false;let r;if(typeof t==="object"&&t!==null&&t.type==="root"){r=cleanMarks(t)}else if(t instanceof LazyResult||t instanceof l){r=cleanMarks(t.root);if(t.map){if(typeof s.map==="undefined")s.map={};if(!s.map.inline)s.map.inline=false;s.map.prev=t.map}}else{let e=f;if(s.syntax)e=s.syntax.parse;if(s.parser)e=s.parser;if(e.parse)e=e.parse;try{r=e(t,s)}catch(e){this.processed=true;this.error=e}}this.result=new l(e,r,s);this.helpers={...w,result:this.result,postcss:w};this.plugins=this.processor.plugins.map(e=>{if(typeof e==="object"&&e.prepare){return{...e,...e.prepare(this.result)}}else{return e}})}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,t){if(process.env.NODE_ENV!=="production"){if(!("from"in this.opts)){o("Without `from` option PostCSS could generate wrong source map "+"and will not find Browserslist config. Set it to CSS file path "+"or to `undefined` to prevent this warning.")}}return this.async().then(e,t)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){if(this.error)return Promise.reject(this.error);if(this.processed)return Promise.resolve(this.result);if(!this.processing){this.processing=this.runAsync()}return this.processing}sync(){if(this.error)throw this.error;if(this.processed)return this.result;this.processed=true;if(this.processing){throw this.getAsyncError()}for(let e of this.plugins){let t=this.runOnRoot(e);if(isPromise(t)){throw this.getAsyncError()}}this.prepareVisitors();if(this.hasListener){let e=this.result.root;while(!e[i]){e[i]=true;this.walkSync(e)}if(this.listeners.OnceExit){this.visitSync(this.listeners.OnceExit,e)}}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=true;this.sync();let e=this.result.opts;let t=n;if(e.syntax)t=e.syntax.stringify;if(e.stringifier)t=e.stringifier;if(t.stringify)t=t.stringify;let s=new r(t,this.result.root,this.result.opts);let i=s.generate();this.result.css=i[0];this.result.map=i[1];return this.result}walkSync(e){e[i]=true;let t=getEvents(e);for(let s of t){if(s===p){if(e.nodes){e.each(e=>{if(!e[i])this.walkSync(e)})}}else{let t=this.listeners[s];if(t){if(this.visitSync(t,e.toProxy()))return}}}}visitSync(e,t){for(let[s,r]of e){this.result.lastPlugin=s;let e;try{e=r(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if(t.type!=="root"&&!t.parent)return true;if(isPromise(e)){throw this.getAsyncError()}}}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e==="object"&&e.Once){return e.Once(this.result.root,this.helpers)}else if(typeof e==="function"){return e(this.result.root,this.result)}}catch(e){throw this.handleError(e)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let s=this.result.lastPlugin;try{if(t)t.addToError(e);this.error=e;if(e.name==="CssSyntaxError"&&!e.plugin){e.plugin=s.postcssPlugin;e.setMessage()}else if(s.postcssVersion){if(process.env.NODE_ENV!=="production"){let e=s.postcssPlugin;let t=s.postcssVersion;let r=this.result.processor.version;let i=t.split(".");let n=r.split(".");if(i[0]!==n[0]||parseInt(i[1])>parseInt(n[1])){console.error("Unknown error from PostCSS plugin. Your current PostCSS "+"version is "+r+", but "+e+" uses "+t+". Perhaps this is the source of the error below.")}}}}catch(e){if(console&&console.error)console.error(e)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let t=this.plugins[e];let s=this.runOnRoot(t);if(isPromise(s)){try{await s}catch(e){throw this.handleError(e)}}}this.prepareVisitors();if(this.hasListener){let e=this.result.root;while(!e[i]){e[i]=true;let t=[toStack(e)];while(t.length>0){let e=this.visitTick(t);if(isPromise(e)){try{await e}catch(e){let s=t[t.length-1].node;throw this.handleError(e,s)}}}}if(this.listeners.OnceExit){for(let[t,s]of this.listeners.OnceExit){this.result.lastPlugin=t;try{await s(e,this.helpers)}catch(e){throw this.handleError(e)}}}}this.processed=true;return this.stringify()}prepareVisitors(){this.listeners={};let e=(e,t,s)=>{if(!this.listeners[t])this.listeners[t]=[];this.listeners[t].push([e,s])};for(let t of this.plugins){if(typeof t==="object"){for(let s in t){if(!u[s]&&/^[A-Z]/.test(s)){throw new Error(`Unknown event ${s} in ${t.postcssPlugin}. `+`Try to update PostCSS (${this.processor.version} now).`)}if(!c[s]){if(typeof t[s]==="object"){for(let r in t[s]){if(r==="*"){e(t,s,t[s][r])}else{e(t,s+"-"+r.toLowerCase(),t[s][r])}}}else if(typeof t[s]==="function"){e(t,s,t[s])}}}}}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let t=e[e.length-1];let{node:s,visitors:r}=t;if(s.type!=="root"&&!s.parent){e.pop();return}if(r.length>0&&t.visitorIndex<r.length){let[e,i]=r[t.visitorIndex];t.visitorIndex+=1;if(t.visitorIndex===r.length){t.visitors=[];t.visitorIndex=0}this.result.lastPlugin=e;try{return i(s.toProxy(),this.helpers)}catch(e){throw this.handleError(e,s)}}if(t.iterator!==0){let r=t.iterator;let n;while(n=s.nodes[s.indexes[r]]){s.indexes[r]+=1;if(!n[i]){n[i]=true;e.push(toStack(n));return}}t.iterator=0;delete s.indexes[r]}let n=t.events;while(t.eventIndex<n.length){let e=n[t.eventIndex];t.eventIndex+=1;if(e===p){if(s.nodes&&s.nodes.length){s[i]=true;t.iterator=s.getIterator()}return}else if(this.listeners[e]){t.visitors=this.listeners[e];return}}e.pop()}}LazyResult.registerPostcss=(e=>{w=e});e.exports=LazyResult;LazyResult.default=LazyResult;a.registerLazyResult(LazyResult)},608:e=>{"use strict";let t={split(e,t,s){let r=[];let i="";let n=false;let o=0;let l=false;let f=false;for(let s of e){if(f){f=false}else if(s==="\\"){f=true}else if(l){if(s===l){l=false}}else if(s==='"'||s==="'"){l=s}else if(s==="("){o+=1}else if(s===")"){if(o>0)o-=1}else if(o===0){if(t.includes(s))n=true}if(n){if(i!=="")r.push(i.trim());i="";n=false}else{i+=s}}if(s||i!=="")r.push(i.trim());return r},space(e){let s=[" ","\n","\t"];return t.split(e,s)},comma(e){return t.split(e,[","],true)}};e.exports=t;t.default=t},91:(e,t,s)=>{"use strict";let{dirname:r,resolve:i,relative:n,sep:o}=s(622);let{pathToFileURL:l}=s(835);let f=s(241);let a=Boolean(r&&i&&n&&o);class MapGenerator{constructor(e,t,s){this.stringify=e;this.mapOpts=s.map||{};this.root=t;this.opts=s}isMap(){if(typeof this.opts.map!=="undefined"){return!!this.opts.map}return this.previous().length>0}previous(){if(!this.previousMaps){this.previousMaps=[];this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;if(!this.previousMaps.includes(t)){this.previousMaps.push(t)}}})}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline!=="undefined"){return this.mapOpts.inline}let e=this.mapOpts.annotation;if(typeof e!=="undefined"&&e!==true){return false}if(this.previous().length){return this.previous().some(e=>e.inline)}return true}isSourcesContent(){if(typeof this.mapOpts.sourcesContent!=="undefined"){return this.mapOpts.sourcesContent}if(this.previous().length){return this.previous().some(e=>e.withContent())}return true}clearAnnotation(){if(this.mapOpts.annotation===false)return;let e;for(let t=this.root.nodes.length-1;t>=0;t--){e=this.root.nodes[t];if(e.type!=="comment")continue;if(e.text.indexOf("# sourceMappingURL=")===0){this.root.removeChild(t)}}}setSourcesContent(){let e={};this.root.walk(t=>{if(t.source){let s=t.source.input.from;if(s&&!e[s]){e[s]=true;this.map.setSourceContent(this.toUrl(this.path(s)),t.source.input.css)}}})}applyPrevMaps(){for(let e of this.previous()){let t=this.toUrl(this.path(e.file));let s=e.root||r(e.file);let i;if(this.mapOpts.sourcesContent===false){i=new f.SourceMapConsumer(e.text);if(i.sourcesContent){i.sourcesContent=i.sourcesContent.map(()=>null)}}else{i=e.consumer()}this.map.applySourceMap(i,t,this.toUrl(this.path(s)))}}isAnnotation(){if(this.isInline()){return true}if(typeof this.mapOpts.annotation!=="undefined"){return this.mapOpts.annotation}if(this.previous().length){return this.previous().some(e=>e.annotation)}return true}toBase64(e){if(Buffer){return Buffer.from(e).toString("base64")}else{return window.btoa(unescape(encodeURIComponent(e)))}}addAnnotation(){let e;if(this.isInline()){e="data:application/json;base64,"+this.toBase64(this.map.toString())}else if(typeof this.mapOpts.annotation==="string"){e=this.mapOpts.annotation}else if(typeof this.mapOpts.annotation==="function"){e=this.mapOpts.annotation(this.opts.to,this.root)}else{e=this.outputFile()+".map"}let t="\n";if(this.css.includes("\r\n"))t="\r\n";this.css+=t+"/*# sourceMappingURL="+e+" */"}outputFile(){if(this.opts.to){return this.path(this.opts.to)}if(this.opts.from){return this.path(this.opts.from)}return"to.css"}generateMap(){this.generateString();if(this.isSourcesContent())this.setSourcesContent();if(this.previous().length>0)this.applyPrevMaps();if(this.isAnnotation())this.addAnnotation();if(this.isInline()){return[this.css]}return[this.css,this.map]}path(e){if(e.indexOf("<")===0)return e;if(/^\w+:\/\//.test(e))return e;if(this.mapOpts.absolute)return e;let t=this.opts.to?r(this.opts.to):".";if(typeof this.mapOpts.annotation==="string"){t=r(i(t,this.mapOpts.annotation))}e=n(t,e);return e}toUrl(e){if(o==="\\"){e=e.replace(/\\/g,"/")}return encodeURI(e).replace(/[#?]/g,encodeURIComponent)}sourcePath(e){if(this.mapOpts.from){return this.toUrl(this.mapOpts.from)}else if(this.mapOpts.absolute){if(l){return l(e.source.input.from).toString()}else{throw new Error("`map.absolute` option is not available in this PostCSS build")}}else{return this.toUrl(this.path(e.source.input.from))}}generateString(){this.css="";this.map=new f.SourceMapGenerator({file:this.outputFile()});let e=1;let t=1;let s="<no source>";let r={source:"",generated:{line:0,column:0},original:{line:0,column:0}};let i,n;this.stringify(this.root,(o,l,f)=>{this.css+=o;if(l&&f!=="end"){r.generated.line=e;r.generated.column=t-1;if(l.source&&l.source.start){r.source=this.sourcePath(l);r.original.line=l.source.start.line;r.original.column=l.source.start.column-1;this.map.addMapping(r)}else{r.source=s;r.original.line=1;r.original.column=0;this.map.addMapping(r)}}i=o.match(/\n/g);if(i){e+=i.length;n=o.lastIndexOf("\n");t=o.length-n}else{t+=o.length}if(l&&f!=="start"){let i=l.parent||{raws:{}};if(l.type!=="decl"||l!==i.last||i.raws.semicolon){if(l.source&&l.source.end){r.source=this.sourcePath(l);r.original.line=l.source.end.line;r.original.column=l.source.end.column-1;r.generated.line=e;r.generated.column=t-2;this.map.addMapping(r)}else{r.source=s;r.original.line=1;r.original.column=0;r.generated.line=e;r.generated.column=t-1;this.map.addMapping(r)}}}})}generate(){this.clearAnnotation();if(a&&this.isMap()){return this.generateMap()}let e="";this.stringify(this.root,t=>{e+=t});return[e]}}e.exports=MapGenerator},557:(e,t,s)=>{"use strict";let r=s(279);let i=s(414);let{isClean:n}=s(594);let o=s(793);function cloneNode(e,t){let s=new e.constructor;for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)){continue}if(r==="proxyCache")continue;let i=e[r];let n=typeof i;if(r==="parent"&&n==="object"){if(t)s[r]=t}else if(r==="source"){s[r]=i}else if(Array.isArray(i)){s[r]=i.map(e=>cloneNode(e,s))}else{if(n==="object"&&i!==null)i=cloneNode(i);s[r]=i}}return s}class Node{constructor(e={}){this.raws={};this[n]=false;for(let t in e){if(t==="nodes"){this.nodes=[];for(let s of e[t]){if(typeof s.clone==="function"){this.append(s.clone())}else{this.append(s)}}}else{this[t]=e[t]}}}error(e,t={}){if(this.source){let s=this.positionBy(t);return this.source.input.error(e,s.line,s.column,t)}return new r(e)}warn(e,t,s){let r={node:this};for(let e in s)r[e]=s[e];return e.warn(t,r)}remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this}toString(e=o){if(e.stringify)e=e.stringify;let t="";e(this,e=>{t+=e});return t}clone(e={}){let t=cloneNode(this);for(let s in e){t[s]=e[s]}return t}cloneBefore(e={}){let t=this.clone(e);this.parent.insertBefore(this,t);return t}cloneAfter(e={}){let t=this.clone(e);this.parent.insertAfter(this,t);return t}replaceWith(...e){if(this.parent){let t=this;let s=false;for(let r of e){if(r===this){s=true}else if(s){this.parent.insertAfter(t,r);t=r}else{this.parent.insertBefore(t,r)}}if(!s){this.remove()}}return this}next(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return undefined;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){this.parent.insertBefore(this,e);return this}after(e){this.parent.insertAfter(this,e);return this}root(){let e=this;while(e.parent)e=e.parent;return e}raw(e,t){let s=new i;return s.raw(this,e,t)}cleanRaws(e){delete this.raws.before;delete this.raws.after;if(!e)delete this.raws.between}toJSON(e,t){let s={};let r=t==null;t=t||new Map;let i=0;for(let e in this){if(!Object.prototype.hasOwnProperty.call(this,e)){continue}if(e==="parent"||e==="proxyCache")continue;let r=this[e];if(Array.isArray(r)){s[e]=r.map(e=>{if(typeof e==="object"&&e.toJSON){return e.toJSON(null,t)}else{return e}})}else if(typeof r==="object"&&r.toJSON){s[e]=r.toJSON(null,t)}else if(e==="source"){let n=t.get(r.input);if(n==null){n=i;t.set(r.input,i);i++}s[e]={inputId:n,start:r.start,end:r.end}}else{s[e]=r}}if(r){s.inputs=[...t.keys()].map(e=>e.toJSON())}return s}positionInside(e){let t=this.toString();let s=this.source.start.column;let r=this.source.start.line;for(let i=0;i<e;i++){if(t[i]==="\n"){s=1;r+=1}else{s+=1}}return{line:r,column:s}}positionBy(e){let t=this.source.start;if(e.index){t=this.positionInside(e.index)}else if(e.word){let s=this.toString().indexOf(e.word);if(s!==-1)t=this.positionInside(s)}return t}getProxyProcessor(){return{set(e,t,s){if(e[t]===s)return true;e[t]=s;if(t==="prop"||t==="value"||t==="name"||t==="params"||t==="important"||t==="text"){e.markDirty()}return true},get(e,t){if(t==="proxyOf"){return e}else if(t==="root"){return()=>e.root().toProxy()}else{return e[t]}}}}toProxy(){if(!this.proxyCache){this.proxyCache=new Proxy(this,this.getProxyProcessor())}return this.proxyCache}addToError(e){e.postcssNode=this;if(e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let t=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${t.input.from}:${t.start.line}:${t.start.column}$&`)}return e}markDirty(){if(this[n]){this[n]=false;let e=this;while(e=e.parent){e[n]=false}}}get proxyOf(){return this}}e.exports=Node;Node.default=Node},128:(e,t,s)=>{"use strict";let r=s(632);let i=s(613);let n=s(690);function parse(e,t){let s=new n(e,t);let r=new i(s);try{r.parse()}catch(e){if(process.env.NODE_ENV!=="production"){if(e.name==="CssSyntaxError"&&t&&t.from){if(/\.scss$/i.test(t.from)){e.message+="\nYou tried to parse SCSS with "+"the standard CSS parser; "+"try again with the postcss-scss parser"}else if(/\.sass/i.test(t.from)){e.message+="\nYou tried to parse Sass with "+"the standard CSS parser; "+"try again with the postcss-sass parser"}else if(/\.less$/i.test(t.from)){e.message+="\nYou tried to parse Less with "+"the standard CSS parser; "+"try again with the postcss-less parser"}}}throw e}return r.root}e.exports=parse;parse.default=parse;r.registerParse(parse)},613:(e,t,s)=>{"use strict";let r=s(522);let i=s(790);let n=s(592);let o=s(193);let l=s(630);let f=s(234);class Parser{constructor(e){this.input=e;this.root=new l;this.current=this.root;this.spaces="";this.semicolon=false;this.customProperty=false;this.createTokenizer();this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=i(this.input)}parse(){let e;while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();switch(e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}}this.endFile()}comment(e){let t=new n;this.init(t,e[2]);t.source.end=this.getPosition(e[3]||e[2]);let s=e[1].slice(2,-2);if(/^\s*$/.test(s)){t.text="";t.raws.left=s;t.raws.right=""}else{let e=s.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}emptyRule(e){let t=new f;this.init(t,e[2]);t.selector="";t.raws.between="";this.current=t}other(e){let t=false;let s=null;let r=false;let i=null;let n=[];let o=e[1].startsWith("--");let l=[];let f=e;while(f){s=f[0];l.push(f);if(s==="("||s==="["){if(!i)i=f;n.push(s==="("?")":"]")}else if(o&&r&&s==="{"){if(!i)i=f;n.push("}")}else if(n.length===0){if(s===";"){if(r){this.decl(l,o);return}else{break}}else if(s==="{"){this.rule(l);return}else if(s==="}"){this.tokenizer.back(l.pop());t=true;break}else if(s===":"){r=true}}else if(s===n[n.length-1]){n.pop();if(n.length===0)i=null}f=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile())t=true;if(n.length>0)this.unclosedBracket(i);if(t&&r){while(l.length){f=l[l.length-1][0];if(f!=="space"&&f!=="comment")break;this.tokenizer.back(l.pop())}this.decl(l,o)}else{this.unknownWord(l)}}rule(e){e.pop();let t=new f;this.init(t,e[0][2]);t.raws.between=this.spacesAndCommentsFromEnd(e);this.raw(t,"selector",e);this.current=t}decl(e,t){let s=new r;this.init(s,e[0][2]);let i=e[e.length-1];if(i[0]===";"){this.semicolon=true;e.pop()}s.source.end=this.getPosition(i[3]||i[2]);while(e[0][0]!=="word"){if(e.length===1)this.unknownWord(e);s.raws.before+=e.shift()[1]}s.source.start=this.getPosition(e[0][2]);s.prop="";while(e.length){let t=e[0][0];if(t===":"||t==="space"||t==="comment"){break}s.prop+=e.shift()[1]}s.raws.between="";let n;while(e.length){n=e.shift();if(n[0]===":"){s.raws.between+=n[1];break}else{if(n[0]==="word"&&/\w/.test(n[1])){this.unknownWord([n])}s.raws.between+=n[1]}}if(s.prop[0]==="_"||s.prop[0]==="*"){s.raws.before+=s.prop[0];s.prop=s.prop.slice(1)}let o=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let t=e.length-1;t>=0;t--){n=e[t];if(n[1].toLowerCase()==="!important"){s.important=true;let r=this.stringFrom(e,t);r=this.spacesFromEnd(e)+r;if(r!==" !important")s.raws.important=r;break}else if(n[1].toLowerCase()==="important"){let r=e.slice(0);let i="";for(let e=t;e>0;e--){let t=r[e][0];if(i.trim().indexOf("!")===0&&t!=="space"){break}i=r.pop()[1]+i}if(i.trim().indexOf("!")===0){s.important=true;s.raws.important=i;e=r}}if(n[0]!=="space"&&n[0]!=="comment"){break}}let l=e.some(e=>e[0]!=="space"&&e[0]!=="comment");this.raw(s,"value",e);if(l){s.raws.between+=o}else{s.value=o+s.value}if(s.value.includes(":")&&!t){this.checkMissedSemicolon(e)}}atrule(e){let t=new o;t.name=e[1].slice(1);if(t.name===""){this.unnamedAtrule(t,e)}this.init(t,e[2]);let s;let r;let i;let n=false;let l=false;let f=[];let a=[];while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();s=e[0];if(s==="("||s==="["){a.push(s==="("?")":"]")}else if(s==="{"&&a.length>0){a.push("}")}else if(s===a[a.length-1]){a.pop()}if(a.length===0){if(s===";"){t.source.end=this.getPosition(e[2]);this.semicolon=true;break}else if(s==="{"){l=true;break}else if(s==="}"){if(f.length>0){i=f.length-1;r=f[i];while(r&&r[0]==="space"){r=f[--i]}if(r){t.source.end=this.getPosition(r[3]||r[2])}}this.end(e);break}else{f.push(e)}}else{f.push(e)}if(this.tokenizer.endOfFile()){n=true;break}}t.raws.between=this.spacesAndCommentsFromEnd(f);if(f.length){t.raws.afterName=this.spacesAndCommentsFromStart(f);this.raw(t,"params",f);if(n){e=f[f.length-1];t.source.end=this.getPosition(e[3]||e[2]);this.spaces=t.raws.between;t.raws.between=""}}else{t.raws.afterName="";t.params=""}if(l){t.nodes=[];this.current=t}}end(e){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.semicolon=false;this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.spaces="";if(this.current.parent){this.current.source.end=this.getPosition(e[2]);this.current=this.current.parent}else{this.unexpectedClose(e)}}endFile(){if(this.current.parent)this.unclosedBlock();if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){this.spaces+=e[1];if(this.current.nodes){let e=this.current.nodes[this.current.nodes.length-1];if(e&&e.type==="rule"&&!e.raws.ownSemicolon){e.raws.ownSemicolon=this.spaces;this.spaces=""}}}getPosition(e){let t=this.input.fromOffset(e);return{offset:e,line:t.line,column:t.col}}init(e,t){this.current.push(e);e.source={start:this.getPosition(t),input:this.input};e.raws.before=this.spaces;this.spaces="";if(e.type!=="comment")this.semicolon=false}raw(e,t,s){let r,i;let n=s.length;let o="";let l=true;let f,a;let h=/^([#.|])?(\w)+/i;for(let t=0;t<n;t+=1){r=s[t];i=r[0];if(i==="comment"&&e.type==="rule"){a=s[t-1];f=s[t+1];if(a[0]!=="space"&&f[0]!=="space"&&h.test(a[1])&&h.test(f[1])){o+=r[1]}else{l=false}continue}if(i==="comment"||i==="space"&&t===n-1){l=false}else{o+=r[1]}}if(!l){let r=s.reduce((e,t)=>e+t[1],"");e.raws[t]={value:o,raw:r}}e[t]=o}spacesAndCommentsFromEnd(e){let t;let s="";while(e.length){t=e[e.length-1][0];if(t!=="space"&&t!=="comment")break;s=e.pop()[1]+s}return s}spacesAndCommentsFromStart(e){let t;let s="";while(e.length){t=e[0][0];if(t!=="space"&&t!=="comment")break;s+=e.shift()[1]}return s}spacesFromEnd(e){let t;let s="";while(e.length){t=e[e.length-1][0];if(t!=="space")break;s=e.pop()[1]+s}return s}stringFrom(e,t){let s="";for(let r=t;r<e.length;r++){s+=e[r][1]}e.splice(t,e.length-t);return s}colon(e){let t=0;let s,r,i;for(let[n,o]of e.entries()){s=o;r=s[0];if(r==="("){t+=1}if(r===")"){t-=1}if(t===0&&r===":"){if(!i){this.doubleColon(s)}else if(i[0]==="word"&&i[1]==="progid"){continue}else{return n}}i=s}return false}unclosedBracket(e){throw this.input.error("Unclosed bracket",e[2])}unknownWord(e){throw this.input.error("Unknown word",e[0][2])}unexpectedClose(e){throw this.input.error("Unexpected }",e[2])}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",e[2])}unnamedAtrule(e,t){throw this.input.error("At-rule without name",t[2])}precheckMissedSemicolon(){}checkMissedSemicolon(e){let t=this.colon(e);if(t===false)return;let s=0;let r;for(let i=t-1;i>=0;i--){r=e[i];if(r[0]!=="space"){s+=1;if(s===2)break}}throw this.input.error("Missed semicolon",r[2])}}e.exports=Parser},1:(e,t,s)=>{"use strict";let r=s(279);let i=s(522);let n=s(310);let o=s(632);let l=s(189);let f=s(793);let a=s(543);let h=s(143);let u=s(592);let c=s(193);let p=s(846);let w=s(690);let g=s(128);let d=s(608);let m=s(234);let y=s(630);let b=s(557);function postcss(...e){if(e.length===1&&Array.isArray(e[0])){e=e[0]}return new l(e)}postcss.plugin=function plugin(e,t){if(console&&console.warn){console.warn(e+": postcss.plugin was deprecated. Migration guide:\n"+"https://evilmartians.com/chronicles/postcss-8-plugin-migration");if(process.env.LANG&&process.env.LANG.startsWith("cn")){console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\n"+"https://www.w3ctech.com/topic/2226")}}function creator(...s){let r=t(...s);r.postcssPlugin=e;r.postcssVersion=(new l).version;return r}let s;Object.defineProperty(creator,"postcss",{get(){if(!s)s=creator();return s}});creator.process=function(e,t,s){return postcss([creator(s)]).process(e,t)};return creator};postcss.stringify=f;postcss.parse=g;postcss.fromJSON=a;postcss.list=d;postcss.comment=(e=>new u(e));postcss.atRule=(e=>new c(e));postcss.decl=(e=>new i(e));postcss.rule=(e=>new m(e));postcss.root=(e=>new y(e));postcss.CssSyntaxError=r;postcss.Declaration=i;postcss.Container=o;postcss.Comment=u;postcss.Warning=h;postcss.AtRule=c;postcss.Result=p;postcss.Input=w;postcss.Rule=m;postcss.Root=y;postcss.Node=b;n.registerPostcss(postcss);e.exports=postcss;postcss.default=postcss},90:(e,t,s)=>{"use strict";let{existsSync:r,readFileSync:i}=s(747);let{dirname:n,join:o}=s(622);let l=s(241);function fromBase64(e){if(Buffer){return Buffer.from(e,"base64").toString()}else{return window.atob(e)}}class PreviousMap{constructor(e,t){if(t.map===false)return;this.loadAnnotation(e);this.inline=this.startWith(this.annotation,"data:");let s=t.map?t.map.prev:undefined;let r=this.loadMap(t.from,s);if(!this.mapFile&&t.from){this.mapFile=t.from}if(this.mapFile)this.root=n(this.mapFile);if(r)this.text=r}consumer(){if(!this.consumerCache){this.consumerCache=new l.SourceMapConsumer(this.text)}return this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,t){if(!e)return false;return e.substr(0,t.length)===t}getAnnotationURL(e){return e.match(/\/\*\s*# sourceMappingURL=((?:(?!sourceMappingURL=).)*)\*\//)[1].trim()}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=(?:(?!sourceMappingURL=).)*\*\//gm);if(t&&t.length>0){let e=t[t.length-1];if(e){this.annotation=this.getAnnotationURL(e)}}}decodeInline(e){let t=/^data:application\/json;charset=utf-?8;base64,/;let s=/^data:application\/json;base64,/;let r=/^data:application\/json;charset=utf-?8,/;let i=/^data:application\/json,/;if(r.test(e)||i.test(e)){return decodeURIComponent(e.substr(RegExp.lastMatch.length))}if(t.test(e)||s.test(e)){return fromBase64(e.substr(RegExp.lastMatch.length))}let n=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+n)}loadFile(e){this.root=n(e);if(r(e)){this.mapFile=e;return i(e,"utf-8").toString().trim()}}loadMap(e,t){if(t===false)return false;if(t){if(typeof t==="string"){return t}else if(typeof t==="function"){let s=t(e);if(s){let e=this.loadFile(s);if(!e){throw new Error("Unable to load previous source map: "+s.toString())}return e}}else if(t instanceof l.SourceMapConsumer){return l.SourceMapGenerator.fromSourceMap(t).toString()}else if(t instanceof l.SourceMapGenerator){return t.toString()}else if(this.isMap(t)){return JSON.stringify(t)}else{throw new Error("Unsupported previous source map format: "+t.toString())}}else if(this.inline){return this.decodeInline(this.annotation)}else if(this.annotation){let t=this.annotation;if(e)t=o(n(e),t);return this.loadFile(t)}}isMap(e){if(typeof e!=="object")return false;return typeof e.mappings==="string"||typeof e._mappings==="string"||Array.isArray(e.sections)}}e.exports=PreviousMap;PreviousMap.default=PreviousMap},189:(e,t,s)=>{"use strict";let r=s(310);let i=s(630);class Processor{constructor(e=[]){this.version="8.2.13";this.plugins=this.normalize(e)}use(e){this.plugins=this.plugins.concat(this.normalize([e]));return this}process(e,t={}){if(this.plugins.length===0&&t.parser===t.stringifier&&!t.hideNothingWarning){if(process.env.NODE_ENV!=="production"){if(typeof console!=="undefined"&&console.warn){console.warn("You did not set any plugins, parser, or stringifier. "+"Right now, PostCSS does nothing. Pick plugins for your case "+"on https://www.postcss.parts/ and use them in postcss.config.js.")}}}return new r(this,e,t)}normalize(e){let t=[];for(let s of e){if(s.postcss===true){s=s()}else if(s.postcss){s=s.postcss}if(typeof s==="object"&&Array.isArray(s.plugins)){t=t.concat(s.plugins)}else if(typeof s==="object"&&s.postcssPlugin){t.push(s)}else if(typeof s==="function"){t.push(s)}else if(typeof s==="object"&&(s.parse||s.stringify)){if(process.env.NODE_ENV!=="production"){throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use "+"one of the syntax/parser/stringifier options as outlined "+"in your PostCSS runner documentation.")}}else{throw new Error(s+" is not a PostCSS plugin")}}return t}}e.exports=Processor;Processor.default=Processor;i.registerProcessor(Processor)},846:(e,t,s)=>{"use strict";let r=s(143);class Result{constructor(e,t,s){this.processor=e;this.messages=[];this.root=t;this.opts=s;this.css=undefined;this.map=undefined}toString(){return this.css}warn(e,t={}){if(!t.plugin){if(this.lastPlugin&&this.lastPlugin.postcssPlugin){t.plugin=this.lastPlugin.postcssPlugin}}let s=new r(e,t);this.messages.push(s);return s}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}}e.exports=Result;Result.default=Result},630:(e,t,s)=>{"use strict";let r=s(632);let i,n;class Root extends r{constructor(e){super(e);this.type="root";if(!this.nodes)this.nodes=[]}removeChild(e,t){let s=this.index(e);if(!t&&s===0&&this.nodes.length>1){this.nodes[1].raws.before=this.nodes[s].raws.before}return super.removeChild(e)}normalize(e,t,s){let r=super.normalize(e);if(t){if(s==="prepend"){if(this.nodes.length>1){t.raws.before=this.nodes[1].raws.before}else{delete t.raws.before}}else if(this.first!==t){for(let e of r){e.raws.before=t.raws.before}}}return r}toResult(e={}){let t=new i(new n,this,e);return t.stringify()}}Root.registerLazyResult=(e=>{i=e});Root.registerProcessor=(e=>{n=e});e.exports=Root;Root.default=Root},234:(e,t,s)=>{"use strict";let r=s(632);let i=s(608);class Rule extends r{constructor(e){super(e);this.type="rule";if(!this.nodes)this.nodes=[]}get selectors(){return i.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null;let s=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(s)}}e.exports=Rule;Rule.default=Rule;r.registerRule(Rule)},414:e=>{"use strict";const t={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:false};function capitalize(e){return e[0].toUpperCase()+e.slice(1)}class Stringifier{constructor(e){this.builder=e}stringify(e,t){if(!this[e.type]){throw new Error("Unknown AST node type "+e.type+". "+"Maybe you need to change PostCSS stringifier.")}this[e.type](e,t)}root(e){this.body(e);if(e.raws.after)this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft");let s=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+s+"*/",e)}decl(e,t){let s=this.raw(e,"between","colon");let r=e.prop+s+this.rawValue(e,"value");if(e.important){r+=e.raws.important||" !important"}if(t)r+=";";this.builder(r,e)}rule(e){this.block(e,this.rawValue(e,"selector"));if(e.raws.ownSemicolon){this.builder(e.raws.ownSemicolon,e,"end")}}atrule(e,t){let s="@"+e.name;let r=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){s+=e.raws.afterName}else if(r){s+=" "}if(e.nodes){this.block(e,s+r)}else{let i=(e.raws.between||"")+(t?";":"");this.builder(s+r+i,e)}}body(e){let t=e.nodes.length-1;while(t>0){if(e.nodes[t].type!=="comment")break;t-=1}let s=this.raw(e,"semicolon");for(let r=0;r<e.nodes.length;r++){let i=e.nodes[r];let n=this.raw(i,"before");if(n)this.builder(n);this.stringify(i,t!==r||s)}}block(e,t){let s=this.raw(e,"between","beforeOpen");this.builder(t+s+"{",e,"start");let r;if(e.nodes&&e.nodes.length){this.body(e);r=this.raw(e,"after")}else{r=this.raw(e,"after","emptyBody")}if(r)this.builder(r);this.builder("}",e,"end")}raw(e,s,r){let i;if(!r)r=s;if(s){i=e.raws[s];if(typeof i!=="undefined")return i}let n=e.parent;if(r==="before"){if(!n||n.type==="root"&&n.first===e){return""}}if(!n)return t[r];let o=e.root();if(!o.rawCache)o.rawCache={};if(typeof o.rawCache[r]!=="undefined"){return o.rawCache[r]}if(r==="before"||r==="after"){return this.beforeAfter(e,r)}else{let t="raw"+capitalize(r);if(this[t]){i=this[t](o,e)}else{o.walk(e=>{i=e.raws[s];if(typeof i!=="undefined")return false})}}if(typeof i==="undefined")i=t[r];o.rawCache[r]=i;return i}rawSemicolon(e){let t;e.walk(e=>{if(e.nodes&&e.nodes.length&&e.last.type==="decl"){t=e.raws.semicolon;if(typeof t!=="undefined")return false}});return t}rawEmptyBody(e){let t;e.walk(e=>{if(e.nodes&&e.nodes.length===0){t=e.raws.after;if(typeof t!=="undefined")return false}});return t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;e.walk(s=>{let r=s.parent;if(r&&r!==e&&r.parent&&r.parent===e){if(typeof s.raws.before!=="undefined"){let e=s.raws.before.split("\n");t=e[e.length-1];t=t.replace(/\S/g,"");return false}}});return t}rawBeforeComment(e,t){let s;e.walkComments(e=>{if(typeof e.raws.before!=="undefined"){s=e.raws.before;if(s.includes("\n")){s=s.replace(/[^\n]+$/,"")}return false}});if(typeof s==="undefined"){s=this.raw(t,null,"beforeDecl")}else if(s){s=s.replace(/\S/g,"")}return s}rawBeforeDecl(e,t){let s;e.walkDecls(e=>{if(typeof e.raws.before!=="undefined"){s=e.raws.before;if(s.includes("\n")){s=s.replace(/[^\n]+$/,"")}return false}});if(typeof s==="undefined"){s=this.raw(t,null,"beforeRule")}else if(s){s=s.replace(/\S/g,"")}return s}rawBeforeRule(e){let t;e.walk(s=>{if(s.nodes&&(s.parent!==e||e.first!==s)){if(typeof s.raws.before!=="undefined"){t=s.raws.before;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}});if(t)t=t.replace(/\S/g,"");return t}rawBeforeClose(e){let t;e.walk(e=>{if(e.nodes&&e.nodes.length>0){if(typeof e.raws.after!=="undefined"){t=e.raws.after;if(t.includes("\n")){t=t.replace(/[^\n]+$/,"")}return false}}});if(t)t=t.replace(/\S/g,"");return t}rawBeforeOpen(e){let t;e.walk(e=>{if(e.type!=="decl"){t=e.raws.between;if(typeof t!=="undefined")return false}});return t}rawColon(e){let t;e.walkDecls(e=>{if(typeof e.raws.between!=="undefined"){t=e.raws.between.replace(/[^\s:]/g,"");return false}});return t}beforeAfter(e,t){let s;if(e.type==="decl"){s=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){s=this.raw(e,null,"beforeComment")}else if(t==="before"){s=this.raw(e,null,"beforeRule")}else{s=this.raw(e,null,"beforeClose")}let r=e.parent;let i=0;while(r&&r.type!=="root"){i+=1;r=r.parent}if(s.includes("\n")){let t=this.raw(e,null,"indent");if(t.length){for(let e=0;e<i;e++)s+=t}}return s}rawValue(e,t){let s=e[t];let r=e.raws[t];if(r&&r.value===s){return r.raw}return s}}e.exports=Stringifier},793:(e,t,s)=>{"use strict";let r=s(414);function stringify(e,t){let s=new r(t);s.stringify(e)}e.exports=stringify;stringify.default=stringify},594:e=>{"use strict";e.exports.isClean=Symbol("isClean")},40:(e,t,s)=>{"use strict";let{cyan:r,gray:i,green:n,yellow:o,magenta:l}=s(210);let f=s(790);let a;function registerInput(e){a=e}const h={brackets:r,"at-word":r,comment:i,string:n,class:o,hash:l,call:r,"(":r,")":r,"{":o,"}":o,"[":o,"]":o,":":o,";":o};function getTokenType([e,t],s){if(e==="word"){if(t[0]==="."){return"class"}if(t[0]==="#"){return"hash"}}if(!s.endOfFile()){let e=s.nextToken();s.back(e);if(e[0]==="brackets"||e[0]==="(")return"call"}return e}function terminalHighlight(e){let t=f(new a(e),{ignoreErrors:true});let s="";while(!t.endOfFile()){let e=t.nextToken();let r=h[getTokenType(e,t)];if(r){s+=e[1].split(/\r?\n/).map(e=>r(e)).join("\n")}else{s+=e[1]}}return s}terminalHighlight.registerInput=registerInput;e.exports=terminalHighlight},790:e=>{"use strict";const t="'".charCodeAt(0);const s='"'.charCodeAt(0);const r="\\".charCodeAt(0);const i="/".charCodeAt(0);const n="\n".charCodeAt(0);const o=" ".charCodeAt(0);const l="\f".charCodeAt(0);const f="\t".charCodeAt(0);const a="\r".charCodeAt(0);const h="[".charCodeAt(0);const u="]".charCodeAt(0);const c="(".charCodeAt(0);const p=")".charCodeAt(0);const w="{".charCodeAt(0);const g="}".charCodeAt(0);const d=";".charCodeAt(0);const m="*".charCodeAt(0);const y=":".charCodeAt(0);const b="@".charCodeAt(0);const O=/[\t\n\f\r "#'()/;[\\\]{}]/g;const S=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const C=/.[\n"'(/\\]/;const x=/[\da-f]/i;e.exports=function tokenizer(e,A={}){let E=e.css.valueOf();let R=A.ignoreErrors;let M,B,_,j,N;let P,F,k,D,$;let W=E.length;let U=0;let V=[];let I=[];function position(){return U}function unclosed(t){throw e.error("Unclosed "+t,U)}function endOfFile(){return I.length===0&&U>=W}function nextToken(e){if(I.length)return I.pop();if(U>=W)return;let A=e?e.ignoreUnclosed:false;M=E.charCodeAt(U);switch(M){case n:case o:case f:case a:case l:{B=U;do{B+=1;M=E.charCodeAt(B)}while(M===o||M===n||M===f||M===a||M===l);$=["space",E.slice(U,B)];U=B-1;break}case h:case u:case w:case g:case y:case d:case p:{let e=String.fromCharCode(M);$=[e,e,U];break}case c:{k=V.length?V.pop()[1]:"";D=E.charCodeAt(U+1);if(k==="url"&&D!==t&&D!==s&&D!==o&&D!==n&&D!==f&&D!==l&&D!==a){B=U;do{P=false;B=E.indexOf(")",B+1);if(B===-1){if(R||A){B=U;b