437ad9ff6a
Fixes #26902
See 507963a480
1 line
No EOL
53 KiB
JavaScript
1 line
No EOL
53 KiB
JavaScript
module.exports=(()=>{var t={919:(t,e,s)=>{var r=s(1);function shouldSetZeroBasis(t){if(!t){return false}return t==="0"||t.replace(/\s/g,"")==="0px"}function properBasis(t){if(shouldSetZeroBasis(t)){return"0%"}return t}t.exports=function(t){if(t.prop==="flex"){var e=r.list.space(t.value);var s="0";var i="1";var n="0%";if(e[0]){s=e[0]}if(e[1]){if(!isNaN(e[1])){i=e[1]}else{n=e[1]}}if(e[2]){n=e[2]}t.value=s+" "+i+" "+properBasis(n)}}},61:(t,e,s)=>{var r=s(1);t.exports=function(t){if(t.prop==="flex"){var e=r.list.space(t.value);var s=e[0];var i=e[1]||"1";var n=e[2]||"0%";if(n==="0%")n=null;t.value=s+" "+i+(n?" "+n:"")}}},574:(t,e,s)=>{var r=s(1);t.exports=function(t){var e=/(\d{1,}) (\d{1,}) (calc\(.*\))/g;var s=e.exec(t.value);if(t.prop==="flex"&&s){var i=r.decl({prop:"flex-grow",value:s[1],source:t.source});var n=r.decl({prop:"flex-shrink",value:s[2],source:t.source});var o=r.decl({prop:"flex-basis",value:s[3],source:t.source});t.parent.insertBefore(t,i);t.parent.insertBefore(t,n);t.parent.insertBefore(t,o);t.remove()}}},262:(t,e,s)=>{var r=s(919);var i=s(61);var n=s(574);var o=["none","auto","content","inherit","initial","unset"];t.exports=function(t){var e=Object.assign({bug4:true,bug6:true,bug81a:true},t);return{postcssPlugin:"postcss-flexbugs-fixes",Once:function(t,s){t.walkDecls(function(t){if(t.value.indexOf("var(")>-1){return}if(t.value==="none"){return}var l=s.list.space(t.value);if(o.indexOf(t.value)>0&&l.length===1){return}if(e.bug4){r(t)}if(e.bug6){i(t)}if(e.bug81a){n(t)}})}}};t.exports.postcss=true},193:(t,e,s)=>{"use strict";let r=s(632);class AtRule extends r{constructor(t){super(t);this.type="atrule"}append(...t){if(!this.proxyOf.nodes)this.nodes=[];return super.append(...t)}prepend(...t){if(!this.proxyOf.nodes)this.nodes=[];return super.prepend(...t)}}t.exports=AtRule;AtRule.default=AtRule;r.registerAtRule(AtRule)},592:(t,e,s)=>{"use strict";let r=s(557);class Comment extends r{constructor(t){super(t);this.type="comment"}}t.exports=Comment;Comment.default=Comment},632:(t,e,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(t){return t.map(t=>{if(t.nodes)t.nodes=cleanSource(t.nodes);delete t.source;return t})}function markDirtyUp(t){t[i]=false;if(t.proxyOf.nodes){for(let e of t.proxyOf.nodes){markDirtyUp(e)}}}function rebuild(t){if(t.type==="atrule"){Object.setPrototypeOf(t,a.prototype)}else if(t.type==="rule"){Object.setPrototypeOf(t,f.prototype)}else if(t.type==="decl"){Object.setPrototypeOf(t,r.prototype)}else if(t.type==="comment"){Object.setPrototypeOf(t,n.prototype)}if(t.nodes){t.nodes.forEach(t=>{rebuild(t)})}}class Container extends o{push(t){t.parent=this;this.proxyOf.nodes.push(t);return this}each(t){if(!this.proxyOf.nodes)return undefined;let e=this.getIterator();let s,r;while(this.indexes[e]<this.proxyOf.nodes.length){s=this.indexes[e];r=t(this.proxyOf.nodes[s],s);if(r===false)break;this.indexes[e]+=1}delete this.indexes[e];return r}walk(t){return this.each((e,s)=>{let r;try{r=t(e,s)}catch(t){throw e.addToError(t)}if(r!==false&&e.walk){r=e.walk(t)}return r})}walkDecls(t,e){if(!e){e=t;return this.walk((t,s)=>{if(t.type==="decl"){return e(t,s)}})}if(t instanceof RegExp){return this.walk((s,r)=>{if(s.type==="decl"&&t.test(s.prop)){return e(s,r)}})}return this.walk((s,r)=>{if(s.type==="decl"&&s.prop===t){return e(s,r)}})}walkRules(t,e){if(!e){e=t;return this.walk((t,s)=>{if(t.type==="rule"){return e(t,s)}})}if(t instanceof RegExp){return this.walk((s,r)=>{if(s.type==="rule"&&t.test(s.selector)){return e(s,r)}})}return this.walk((s,r)=>{if(s.type==="rule"&&s.selector===t){return e(s,r)}})}walkAtRules(t,e){if(!e){e=t;return this.walk((t,s)=>{if(t.type==="atrule"){return e(t,s)}})}if(t instanceof RegExp){return this.walk((s,r)=>{if(s.type==="atrule"&&t.test(s.name)){return e(s,r)}})}return this.walk((s,r)=>{if(s.type==="atrule"&&s.name===t){return e(s,r)}})}walkComments(t){return this.walk((e,s)=>{if(e.type==="comment"){return t(e,s)}})}append(...t){for(let e of t){let t=this.normalize(e,this.last);for(let e of t)this.proxyOf.nodes.push(e)}this.markDirty();return this}prepend(...t){t=t.reverse();for(let e of t){let t=this.normalize(e,this.first,"prepend").reverse();for(let e of t)this.proxyOf.nodes.unshift(e);for(let e in this.indexes){this.indexes[e]=this.indexes[e]+t.length}}this.markDirty();return this}cleanRaws(t){super.cleanRaws(t);if(this.nodes){for(let e of this.nodes)e.cleanRaws(t)}}insertBefore(t,e){t=this.index(t);let s=t===0?"prepend":false;let r=this.normalize(e,this.proxyOf.nodes[t],s).reverse();for(let e of r)this.proxyOf.nodes.splice(t,0,e);let i;for(let e in this.indexes){i=this.indexes[e];if(t<=i){this.indexes[e]=i+r.length}}this.markDirty();return this}insertAfter(t,e){t=this.index(t);let s=this.normalize(e,this.proxyOf.nodes[t]).reverse();for(let e of s)this.proxyOf.nodes.splice(t+1,0,e);let r;for(let e in this.indexes){r=this.indexes[e];if(t<r){this.indexes[e]=r+s.length}}this.markDirty();return this}removeChild(t){t=this.index(t);this.proxyOf.nodes[t].parent=undefined;this.proxyOf.nodes.splice(t,1);let e;for(let s in this.indexes){e=this.indexes[s];if(e>=t){this.indexes[s]=e-1}}this.markDirty();return this}removeAll(){for(let t of this.proxyOf.nodes)t.parent=undefined;this.proxyOf.nodes=[];this.markDirty();return this}replaceValues(t,e,s){if(!s){s=e;e={}}this.walkDecls(r=>{if(e.props&&!e.props.includes(r.prop))return;if(e.fast&&!r.value.includes(e.fast))return;r.value=r.value.replace(t,s)});this.markDirty();return this}every(t){return this.nodes.every(t)}some(t){return this.nodes.some(t)}index(t){if(typeof t==="number")return t;if(t.proxyOf)t=t.proxyOf;return this.proxyOf.nodes.indexOf(t)}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(t,e){if(typeof t==="string"){t=cleanSource(l(t).nodes)}else if(Array.isArray(t)){t=t.slice(0);for(let e of t){if(e.parent)e.parent.removeChild(e,"ignore")}}else if(t.type==="root"){t=t.nodes.slice(0);for(let e of t){if(e.parent)e.parent.removeChild(e,"ignore")}}else if(t.type){t=[t]}else if(t.prop){if(typeof t.value==="undefined"){throw new Error("Value field is missed in node creation")}else if(typeof t.value!=="string"){t.value=String(t.value)}t=[new r(t)]}else if(t.selector){t=[new f(t)]}else if(t.name){t=[new a(t)]}else if(t.text){t=[new n(t)]}else{throw new Error("Unknown node type in node creation")}let s=t.map(t=>{if(typeof t.markDirty!=="function")rebuild(t);t=t.proxyOf;if(t.parent)t.parent.removeChild(t);if(t[i])markDirtyUp(t);if(typeof t.raws.before==="undefined"){if(e&&typeof e.raws.before!=="undefined"){t.raws.before=e.raws.before.replace(/\S/g,"")}}t.parent=this;return t});return s}getProxyProcessor(){return{set(t,e,s){if(t[e]===s)return true;t[e]=s;if(e==="name"||e==="params"||e==="selector"){t.markDirty()}return true},get(t,e){if(e==="proxyOf"){return t}else if(!t[e]){return t[e]}else if(e==="each"||typeof e==="string"&&e.startsWith("walk")){return(...s)=>{return t[e](...s.map(t=>{if(typeof t==="function"){return(e,s)=>t(e.toProxy(),s)}else{return t}}))}}else if(e==="every"||e==="some"){return s=>{return t[e]((t,...e)=>s(t.toProxy(),...e))}}else if(e==="root"){return()=>t.root().toProxy()}else if(e==="nodes"){return t.nodes.map(t=>t.toProxy())}else if(e==="first"||e==="last"){return t[e].toProxy()}else{return t[e]}}}}getIterator(){if(!this.lastEach)this.lastEach=0;if(!this.indexes)this.indexes={};this.lastEach+=1;let t=this.lastEach;this.indexes[t]=0;return t}}Container.registerParse=(t=>{l=t});Container.registerRule=(t=>{f=t});Container.registerAtRule=(t=>{a=t});t.exports=Container;Container.default=Container},279:(t,e,s)=>{"use strict";let{red:r,bold:i,gray:n,options:o}=s(210);let l=s(40);class CssSyntaxError extends Error{constructor(t,e,s,r,i,n){super(t);this.name="CssSyntaxError";this.reason=t;if(i){this.file=i}if(r){this.source=r}if(n){this.plugin=n}if(typeof e!=="undefined"&&typeof s!=="undefined"){this.line=e;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(t){if(!this.source)return"";let e=this.source;if(t==null)t=o.enabled;if(l){if(t)e=l(e)}let s=e.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(t){u=(t=>i(r(t)));c=(t=>n(t))}else{u=c=(t=>t)}return s.slice(f,a).map((t,e)=>{let s=f+1+e;let r=" "+(" "+s).slice(-h)+" | ";if(s===this.line){let e=c(r.replace(/\d/g," "))+t.slice(0,this.column-1).replace(/[^\t]/g," ");return u(">")+c(r)+t+"\n "+e+u("^")}return" "+c(r)+t}).join("\n")}toString(){let t=this.showSourceCode();if(t){t="\n\n"+t+"\n"}return this.name+": "+this.message+t}}t.exports=CssSyntaxError;CssSyntaxError.default=CssSyntaxError},522:(t,e,s)=>{"use strict";let r=s(557);class Declaration extends r{constructor(t){if(t&&typeof t.value!=="undefined"&&typeof t.value!=="string"){t={...t,value:String(t.value)}}super(t);this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}}t.exports=Declaration;Declaration.default=Declaration},543:(t,e,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(t,e){if(Array.isArray(t))return t.map(t=>fromJSON(t));let{inputs:s,...h}=t;if(s){e=[];for(let t of s){let s={...t,__proto__:l.prototype};if(s.map){s.map={...s.map,__proto__:i.prototype}}e.push(s)}}if(h.nodes){h.nodes=t.nodes.map(t=>fromJSON(t,e))}if(h.source){let{inputId:t,...s}=h.source;h.source=s;if(t!=null){h.source.input=e[t]}}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: "+t.type)}}t.exports=fromJSON;fromJSON.default=fromJSON},690:(t,e,s)=>{"use strict";let{fileURLToPath:r,pathToFileURL:i}=s(835);let{resolve:n,isAbsolute:o}=s(622);let{SourceMapConsumer:l,SourceMapGenerator:f}=s(241);let{nanoid:a}=s(2);let h=s(40);let u=s(279);let c=s(90);let p=Symbol("fromOffset cache");let w=Boolean(l&&f);let g=Boolean(n&&o);class Input{constructor(t,e={}){if(t===null||typeof t==="undefined"||typeof t==="object"&&!t.toString){throw new Error(`PostCSS received ${t} instead of CSS string`)}this.css=t.toString();if(this.css[0]==="\ufeff"||this.css[0]===""){this.hasBOM=true;this.css=this.css.slice(1)}else{this.hasBOM=false}if(e.from){if(!g||/^\w+:\/\//.test(e.from)||o(e.from)){this.file=e.from}else{this.file=n(e.from)}}if(g&&w){let t=new c(this.css,e);if(t.text){this.map=t;let e=t.consumer().file;if(!this.file&&e)this.file=this.mapResolve(e)}}if(!this.file){this.id="<input css "+a(6)+">"}if(this.map)this.map.file=this.from}fromOffset(t){let e,s;if(!this[p]){let t=this.css.split("\n");s=new Array(t.length);let e=0;for(let r=0,i=t.length;r<i;r++){s[r]=e;e+=t[r].length+1}this[p]=s}else{s=this[p]}e=s[s.length-1];let r=0;if(t>=e){r=s.length-1}else{let e=s.length-2;let i;while(r<e){i=r+(e-r>>1);if(t<s[i]){e=i-1}else if(t>=s[i+1]){r=i+1}else{r=i;break}}}return{line:r+1,col:t-s[r]+1}}error(t,e,s,r={}){let n;if(!s){let t=this.fromOffset(e);e=t.line;s=t.col}let o=this.origin(e,s);if(o){n=new u(t,o.line,o.column,o.source,o.file,r.plugin)}else{n=new u(t,e,s,this.css,this.file,r.plugin)}n.input={line:e,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(t,e){if(!this.map)return false;let s=this.map.consumer();let n=s.originalPositionFor({line:t,column:e});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(t){if(/^\w+:\/\//.test(t)){return t}return n(this.map.consumer().sourceRoot||this.map.root||".",t)}get from(){return this.file||this.id}toJSON(){let t={};for(let e of["hasBOM","css","file","id"]){if(this[e]!=null){t[e]=this[e]}}if(this.map){t.map={...this.map};if(t.map.consumerCache){t.map.consumerCache=undefined}}return t}}t.exports=Input;Input.default=Input;if(h&&h.registerInput){h.registerInput(Input)}},310:(t,e,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(t){return typeof t==="object"&&typeof t.then==="function"}function getEvents(t){let e=false;let s=h[t.type];if(t.type==="decl"){e=t.prop.toLowerCase()}else if(t.type==="atrule"){e=t.name.toLowerCase()}if(e&&t.append){return[s,s+"-"+e,p,s+"Exit",s+"Exit-"+e]}else if(e){return[s,s+"-"+e,s+"Exit",s+"Exit-"+e]}else if(t.append){return[s,p,s+"Exit"]}else{return[s,s+"Exit"]}}function toStack(t){let e;if(t.type==="root"){e=["Root",p,"RootExit"]}else{e=getEvents(t)}return{node:t,events:e,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function cleanMarks(t){t[i]=false;if(t.nodes)t.nodes.forEach(t=>cleanMarks(t));return t}let w={};class LazyResult{constructor(t,e,s){this.stringified=false;this.processed=false;let r;if(typeof e==="object"&&e!==null&&e.type==="root"){r=cleanMarks(e)}else if(e instanceof LazyResult||e instanceof l){r=cleanMarks(e.root);if(e.map){if(typeof s.map==="undefined")s.map={};if(!s.map.inline)s.map.inline=false;s.map.prev=e.map}}else{let t=f;if(s.syntax)t=s.syntax.parse;if(s.parser)t=s.parser;if(t.parse)t=t.parse;try{r=t(e,s)}catch(t){this.processed=true;this.error=t}}this.result=new l(t,r,s);this.helpers={...w,result:this.result,postcss:w};this.plugins=this.processor.plugins.map(t=>{if(typeof t==="object"&&t.prepare){return{...t,...t.prepare(this.result)}}else{return t}})}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(t,e){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(t,e)}catch(t){return this.async().catch(t)}finally(t){return this.async().then(t,t)}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 t of this.plugins){let e=this.runOnRoot(t);if(isPromise(e)){throw this.getAsyncError()}}this.prepareVisitors();if(this.hasListener){let t=this.result.root;while(!t[i]){t[i]=true;this.walkSync(t)}if(this.listeners.OnceExit){this.visitSync(this.listeners.OnceExit,t)}}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=true;this.sync();let t=this.result.opts;let e=n;if(t.syntax)e=t.syntax.stringify;if(t.stringifier)e=t.stringifier;if(e.stringify)e=e.stringify;let s=new r(e,this.result.root,this.result.opts);let i=s.generate();this.result.css=i[0];this.result.map=i[1];return this.result}walkSync(t){t[i]=true;let e=getEvents(t);for(let s of e){if(s===p){if(t.nodes){t.each(t=>{if(!t[i])this.walkSync(t)})}}else{let e=this.listeners[s];if(e){if(this.visitSync(e,t.toProxy()))return}}}}visitSync(t,e){for(let[s,r]of t){this.result.lastPlugin=s;let t;try{t=r(e,this.helpers)}catch(t){throw this.handleError(t,e.proxyOf)}if(e.type!=="root"&&!e.parent)return true;if(isPromise(t)){throw this.getAsyncError()}}}runOnRoot(t){this.result.lastPlugin=t;try{if(typeof t==="object"&&t.Once){return t.Once(this.result.root,this.helpers)}else if(typeof t==="function"){return t(this.result.root,this.result)}}catch(t){throw this.handleError(t)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(t,e){let s=this.result.lastPlugin;try{if(e)e.addToError(t);this.error=t;if(t.name==="CssSyntaxError"&&!t.plugin){t.plugin=s.postcssPlugin;t.setMessage()}else if(s.postcssVersion){if(process.env.NODE_ENV!=="production"){let t=s.postcssPlugin;let e=s.postcssVersion;let r=this.result.processor.version;let i=e.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 "+t+" uses "+e+". Perhaps this is the source of the error below.")}}}}catch(t){if(console&&console.error)console.error(t)}return t}async runAsync(){this.plugin=0;for(let t=0;t<this.plugins.length;t++){let e=this.plugins[t];let s=this.runOnRoot(e);if(isPromise(s)){try{await s}catch(t){throw this.handleError(t)}}}this.prepareVisitors();if(this.hasListener){let t=this.result.root;while(!t[i]){t[i]=true;let e=[toStack(t)];while(e.length>0){let t=this.visitTick(e);if(isPromise(t)){try{await t}catch(t){let s=e[e.length-1].node;throw this.handleError(t,s)}}}}if(this.listeners.OnceExit){for(let[e,s]of this.listeners.OnceExit){this.result.lastPlugin=e;try{await s(t,this.helpers)}catch(t){throw this.handleError(t)}}}}this.processed=true;return this.stringify()}prepareVisitors(){this.listeners={};let t=(t,e,s)=>{if(!this.listeners[e])this.listeners[e]=[];this.listeners[e].push([t,s])};for(let e of this.plugins){if(typeof e==="object"){for(let s in e){if(!u[s]&&/^[A-Z]/.test(s)){throw new Error(`Unknown event ${s} in ${e.postcssPlugin}. `+`Try to update PostCSS (${this.processor.version} now).`)}if(!c[s]){if(typeof e[s]==="object"){for(let r in e[s]){if(r==="*"){t(e,s,e[s][r])}else{t(e,s+"-"+r.toLowerCase(),e[s][r])}}}else if(typeof e[s]==="function"){t(e,s,e[s])}}}}}this.hasListener=Object.keys(this.listeners).length>0}visitTick(t){let e=t[t.length-1];let{node:s,visitors:r}=e;if(s.type!=="root"&&!s.parent){t.pop();return}if(r.length>0&&e.visitorIndex<r.length){let[t,i]=r[e.visitorIndex];e.visitorIndex+=1;if(e.visitorIndex===r.length){e.visitors=[];e.visitorIndex=0}this.result.lastPlugin=t;try{return i(s.toProxy(),this.helpers)}catch(t){throw this.handleError(t,s)}}if(e.iterator!==0){let r=e.iterator;let n;while(n=s.nodes[s.indexes[r]]){s.indexes[r]+=1;if(!n[i]){n[i]=true;t.push(toStack(n));return}}e.iterator=0;delete s.indexes[r]}let n=e.events;while(e.eventIndex<n.length){let t=n[e.eventIndex];e.eventIndex+=1;if(t===p){if(s.nodes&&s.nodes.length){s[i]=true;e.iterator=s.getIterator()}return}else if(this.listeners[t]){e.visitors=this.listeners[t];return}}t.pop()}}LazyResult.registerPostcss=(t=>{w=t});t.exports=LazyResult;LazyResult.default=LazyResult;a.registerLazyResult(LazyResult)},608:t=>{"use strict";let e={split(t,e,s){let r=[];let i="";let n=false;let o=0;let l=false;let f=false;for(let s of t){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(e.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(t){let s=[" ","\n","\t"];return e.split(t,s)},comma(t){return e.split(t,[","],true)}};t.exports=e;e.default=e},91:(t,e,s)=>{"use strict";let{dirname:r,resolve:i,relative:n,sep:o}=s(622);let{pathToFileURL:l}=s(835);let{SourceMapConsumer:f,SourceMapGenerator:a}=s(241);let h=Boolean(f&&a);let u=Boolean(r&&i&&n&&o);class MapGenerator{constructor(t,e,s){this.stringify=t;this.mapOpts=s.map||{};this.root=e;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(t=>{if(t.source&&t.source.input.map){let e=t.source.input.map;if(!this.previousMaps.includes(e)){this.previousMaps.push(e)}}})}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline!=="undefined"){return this.mapOpts.inline}let t=this.mapOpts.annotation;if(typeof t!=="undefined"&&t!==true){return false}if(this.previous().length){return this.previous().some(t=>t.inline)}return true}isSourcesContent(){if(typeof this.mapOpts.sourcesContent!=="undefined"){return this.mapOpts.sourcesContent}if(this.previous().length){return this.previous().some(t=>t.withContent())}return true}clearAnnotation(){if(this.mapOpts.annotation===false)return;let t;for(let e=this.root.nodes.length-1;e>=0;e--){t=this.root.nodes[e];if(t.type!=="comment")continue;if(t.text.indexOf("# sourceMappingURL=")===0){this.root.removeChild(e)}}}setSourcesContent(){let t={};this.root.walk(e=>{if(e.source){let s=e.source.input.from;if(s&&!t[s]){t[s]=true;this.map.setSourceContent(this.toUrl(this.path(s)),e.source.input.css)}}})}applyPrevMaps(){for(let t of this.previous()){let e=this.toUrl(this.path(t.file));let s=t.root||r(t.file);let i;if(this.mapOpts.sourcesContent===false){i=new f(t.text);if(i.sourcesContent){i.sourcesContent=i.sourcesContent.map(()=>null)}}else{i=t.consumer()}this.map.applySourceMap(i,e,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(t=>t.annotation)}return true}toBase64(t){if(Buffer){return Buffer.from(t).toString("base64")}else{return window.btoa(unescape(encodeURIComponent(t)))}}addAnnotation(){let t;if(this.isInline()){t="data:application/json;base64,"+this.toBase64(this.map.toString())}else if(typeof this.mapOpts.annotation==="string"){t=this.mapOpts.annotation}else if(typeof this.mapOpts.annotation==="function"){t=this.mapOpts.annotation(this.opts.to,this.root)}else{t=this.outputFile()+".map"}let e="\n";if(this.css.includes("\r\n"))e="\r\n";this.css+=e+"/*# sourceMappingURL="+t+" */"}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(t){if(t.indexOf("<")===0)return t;if(/^\w+:\/\//.test(t))return t;if(this.mapOpts.absolute)return t;let e=this.opts.to?r(this.opts.to):".";if(typeof this.mapOpts.annotation==="string"){e=r(i(e,this.mapOpts.annotation))}t=n(e,t);return t}toUrl(t){if(o==="\\"){t=t.replace(/\\/g,"/")}return encodeURI(t).replace(/[#?]/g,encodeURIComponent)}sourcePath(t){if(this.mapOpts.from){return this.toUrl(this.mapOpts.from)}else if(this.mapOpts.absolute){if(l){return l(t.source.input.from).toString()}else{throw new Error("`map.absolute` option is not available in this PostCSS build")}}else{return this.toUrl(this.path(t.source.input.from))}}generateString(){this.css="";this.map=new a({file:this.outputFile()});let t=1;let e=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=t;r.generated.column=e-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){t+=i.length;n=o.lastIndexOf("\n");e=o.length-n}else{e+=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=t;r.generated.column=e-2;this.map.addMapping(r)}else{r.source=s;r.original.line=1;r.original.column=0;r.generated.line=t;r.generated.column=e-1;this.map.addMapping(r)}}}})}generate(){this.clearAnnotation();if(u&&h&&this.isMap()){return this.generateMap()}let t="";this.stringify(this.root,e=>{t+=e});return[t]}}t.exports=MapGenerator},557:(t,e,s)=>{"use strict";let r=s(279);let i=s(414);let{isClean:n}=s(594);let o=s(793);function cloneNode(t,e){let s=new t.constructor;for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r)){continue}if(r==="proxyCache")continue;let i=t[r];let n=typeof i;if(r==="parent"&&n==="object"){if(e)s[r]=e}else if(r==="source"){s[r]=i}else if(Array.isArray(i)){s[r]=i.map(t=>cloneNode(t,s))}else{if(n==="object"&&i!==null)i=cloneNode(i);s[r]=i}}return s}class Node{constructor(t={}){this.raws={};this[n]=false;for(let e in t){if(e==="nodes"){this.nodes=[];for(let s of t[e]){if(typeof s.clone==="function"){this.append(s.clone())}else{this.append(s)}}}else{this[e]=t[e]}}}error(t,e={}){if(this.source){let s=this.positionBy(e);return this.source.input.error(t,s.line,s.column,e)}return new r(t)}warn(t,e,s){let r={node:this};for(let t in s)r[t]=s[t];return t.warn(e,r)}remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this}toString(t=o){if(t.stringify)t=t.stringify;let e="";t(this,t=>{e+=t});return e}clone(t={}){let e=cloneNode(this);for(let s in t){e[s]=t[s]}return e}cloneBefore(t={}){let e=this.clone(t);this.parent.insertBefore(this,e);return e}cloneAfter(t={}){let e=this.clone(t);this.parent.insertAfter(this,e);return e}replaceWith(...t){if(this.parent){let e=this;let s=false;for(let r of t){if(r===this){s=true}else if(s){this.parent.insertAfter(e,r);e=r}else{this.parent.insertBefore(e,r)}}if(!s){this.remove()}}return this}next(){if(!this.parent)return undefined;let t=this.parent.index(this);return this.parent.nodes[t+1]}prev(){if(!this.parent)return undefined;let t=this.parent.index(this);return this.parent.nodes[t-1]}before(t){this.parent.insertBefore(this,t);return this}after(t){this.parent.insertAfter(this,t);return this}root(){let t=this;while(t.parent)t=t.parent;return t}raw(t,e){let s=new i;return s.raw(this,t,e)}cleanRaws(t){delete this.raws.before;delete this.raws.after;if(!t)delete this.raws.between}toJSON(t,e){let s={};let r=e==null;e=e||new Map;let i=0;for(let t in this){if(!Object.prototype.hasOwnProperty.call(this,t)){continue}if(t==="parent"||t==="proxyCache")continue;let r=this[t];if(Array.isArray(r)){s[t]=r.map(t=>{if(typeof t==="object"&&t.toJSON){return t.toJSON(null,e)}else{return t}})}else if(typeof r==="object"&&r.toJSON){s[t]=r.toJSON(null,e)}else if(t==="source"){let n=e.get(r.input);if(n==null){n=i;e.set(r.input,i);i++}s[t]={inputId:n,start:r.start,end:r.end}}else{s[t]=r}}if(r){s.inputs=[...e.keys()].map(t=>t.toJSON())}return s}positionInside(t){let e=this.toString();let s=this.source.start.column;let r=this.source.start.line;for(let i=0;i<t;i++){if(e[i]==="\n"){s=1;r+=1}else{s+=1}}return{line:r,column:s}}positionBy(t){let e=this.source.start;if(t.index){e=this.positionInside(t.index)}else if(t.word){let s=this.toString().indexOf(t.word);if(s!==-1)e=this.positionInside(s)}return e}getProxyProcessor(){return{set(t,e,s){if(t[e]===s)return true;t[e]=s;if(e==="prop"||e==="value"||e==="name"||e==="params"||e==="important"||e==="text"){t.markDirty()}return true},get(t,e){if(e==="proxyOf"){return t}else if(e==="root"){return()=>t.root().toProxy()}else{return t[e]}}}}toProxy(){if(!this.proxyCache){this.proxyCache=new Proxy(this,this.getProxyProcessor())}return this.proxyCache}addToError(t){t.postcssNode=this;if(t.stack&&this.source&&/\n\s{4}at /.test(t.stack)){let e=this.source;t.stack=t.stack.replace(/\n\s{4}at /,`$&${e.input.from}:${e.start.line}:${e.start.column}$&`)}return t}markDirty(){if(this[n]){this[n]=false;let t=this;while(t=t.parent){t[n]=false}}}get proxyOf(){return this}}t.exports=Node;Node.default=Node},128:(t,e,s)=>{"use strict";let r=s(632);let i=s(613);let n=s(690);function parse(t,e){let s=new n(t,e);let r=new i(s);try{r.parse()}catch(t){if(process.env.NODE_ENV!=="production"){if(t.name==="CssSyntaxError"&&e&&e.from){if(/\.scss$/i.test(e.from)){t.message+="\nYou tried to parse SCSS with "+"the standard CSS parser; "+"try again with the postcss-scss parser"}else if(/\.sass/i.test(e.from)){t.message+="\nYou tried to parse Sass with "+"the standard CSS parser; "+"try again with the postcss-sass parser"}else if(/\.less$/i.test(e.from)){t.message+="\nYou tried to parse Less with "+"the standard CSS parser; "+"try again with the postcss-less parser"}}}throw t}return r.root}t.exports=parse;parse.default=parse;r.registerParse(parse)},613:(t,e,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(t){this.input=t;this.root=new l;this.current=this.root;this.spaces="";this.semicolon=false;this.customProperty=false;this.createTokenizer();this.root.source={input:t,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=i(this.input)}parse(){let t;while(!this.tokenizer.endOfFile()){t=this.tokenizer.nextToken();switch(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 e=new n;this.init(e,t[2]);e.source.end=this.getPosition(t[3]||t[2]);let s=t[1].slice(2,-2);if(/^\s*$/.test(s)){e.text="";e.raws.left=s;e.raws.right=""}else{let t=s.match(/^(\s*)([^]*\S)(\s*)$/);e.text=t[2];e.raws.left=t[1];e.raws.right=t[3]}}emptyRule(t){let e=new f;this.init(e,t[2]);e.selector="";e.raws.between="";this.current=e}other(t){let e=false;let s=null;let r=false;let i=null;let n=[];let o=t[1].startsWith("--");let l=[];let f=t;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());e=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())e=true;if(n.length>0)this.unclosedBracket(i);if(e&&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(t){t.pop();let e=new f;this.init(e,t[0][2]);e.raws.between=this.spacesAndCommentsFromEnd(t);this.raw(e,"selector",t);this.current=e}decl(t,e){let s=new r;this.init(s,t[0][2]);let i=t[t.length-1];if(i[0]===";"){this.semicolon=true;t.pop()}s.source.end=this.getPosition(i[3]||i[2]);while(t[0][0]!=="word"){if(t.length===1)this.unknownWord(t);s.raws.before+=t.shift()[1]}s.source.start=this.getPosition(t[0][2]);s.prop="";while(t.length){let e=t[0][0];if(e===":"||e==="space"||e==="comment"){break}s.prop+=t.shift()[1]}s.raws.between="";let n;while(t.length){n=t.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(t);this.precheckMissedSemicolon(t);for(let e=t.length-1;e>=0;e--){n=t[e];if(n[1].toLowerCase()==="!important"){s.important=true;let r=this.stringFrom(t,e);r=this.spacesFromEnd(t)+r;if(r!==" !important")s.raws.important=r;break}else if(n[1].toLowerCase()==="important"){let r=t.slice(0);let i="";for(let t=e;t>0;t--){let e=r[t][0];if(i.trim().indexOf("!")===0&&e!=="space"){break}i=r.pop()[1]+i}if(i.trim().indexOf("!")===0){s.important=true;s.raws.important=i;t=r}}if(n[0]!=="space"&&n[0]!=="comment"){break}}let l=t.some(t=>t[0]!=="space"&&t[0]!=="comment");this.raw(s,"value",t);if(l){s.raws.between+=o}else{s.value=o+s.value}if(s.value.includes(":")&&!e){this.checkMissedSemicolon(t)}}atrule(t){let e=new o;e.name=t[1].slice(1);if(e.name===""){this.unnamedAtrule(e,t)}this.init(e,t[2]);let s;let r;let i;let n=false;let l=false;let f=[];let a=[];while(!this.tokenizer.endOfFile()){t=this.tokenizer.nextToken();s=t[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===";"){e.source.end=this.getPosition(t[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){e.source.end=this.getPosition(r[3]||r[2])}}this.end(t);break}else{f.push(t)}}else{f.push(t)}if(this.tokenizer.endOfFile()){n=true;break}}e.raws.between=this.spacesAndCommentsFromEnd(f);if(f.length){e.raws.afterName=this.spacesAndCommentsFromStart(f);this.raw(e,"params",f);if(n){t=f[f.length-1];e.source.end=this.getPosition(t[3]||t[2]);this.spaces=e.raws.between;e.raws.between=""}}else{e.raws.afterName="";e.params=""}if(l){e.nodes=[];this.current=e}}end(t){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(t[2]);this.current=this.current.parent}else{this.unexpectedClose(t)}}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(t){this.spaces+=t[1];if(this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];if(t&&t.type==="rule"&&!t.raws.ownSemicolon){t.raws.ownSemicolon=this.spaces;this.spaces=""}}}getPosition(t){let e=this.input.fromOffset(t);return{offset:t,line:e.line,column:e.col}}init(t,e){this.current.push(t);t.source={start:this.getPosition(e),input:this.input};t.raws.before=this.spaces;this.spaces="";if(t.type!=="comment")this.semicolon=false}raw(t,e,s){let r,i;let n=s.length;let o="";let l=true;let f,a;let h=/^([#.|])?(\w)+/i;for(let e=0;e<n;e+=1){r=s[e];i=r[0];if(i==="comment"&&t.type==="rule"){a=s[e-1];f=s[e+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"&&e===n-1){l=false}else{o+=r[1]}}if(!l){let r=s.reduce((t,e)=>t+e[1],"");t.raws[e]={value:o,raw:r}}t[e]=o}spacesAndCommentsFromEnd(t){let e;let s="";while(t.length){e=t[t.length-1][0];if(e!=="space"&&e!=="comment")break;s=t.pop()[1]+s}return s}spacesAndCommentsFromStart(t){let e;let s="";while(t.length){e=t[0][0];if(e!=="space"&&e!=="comment")break;s+=t.shift()[1]}return s}spacesFromEnd(t){let e;let s="";while(t.length){e=t[t.length-1][0];if(e!=="space")break;s=t.pop()[1]+s}return s}stringFrom(t,e){let s="";for(let r=e;r<t.length;r++){s+=t[r][1]}t.splice(e,t.length-e);return s}colon(t){let e=0;let s,r,i;for(let[n,o]of t.entries()){s=o;r=s[0];if(r==="("){e+=1}if(r===")"){e-=1}if(e===0&&r===":"){if(!i){this.doubleColon(s)}else if(i[0]==="word"&&i[1]==="progid"){continue}else{return n}}i=s}return false}unclosedBracket(t){throw this.input.error("Unclosed bracket",t[2])}unknownWord(t){throw this.input.error("Unknown word",t[0][2])}unexpectedClose(t){throw this.input.error("Unexpected }",t[2])}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",t[2])}unnamedAtrule(t,e){throw this.input.error("At-rule without name",e[2])}precheckMissedSemicolon(){}checkMissedSemicolon(t){let e=this.colon(t);if(e===false)return;let s=0;let r;for(let i=e-1;i>=0;i--){r=t[i];if(r[0]!=="space"){s+=1;if(s===2)break}}throw this.input.error("Missed semicolon",r[2])}}t.exports=Parser},1:(t,e,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(...t){if(t.length===1&&Array.isArray(t[0])){t=t[0]}return new l(t)}postcss.plugin=function plugin(t,e){if(console&&console.warn){console.warn(t+": 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(t+": 里面 postcss.plugin 被弃用. 迁移指南:\n"+"https://www.w3ctech.com/topic/2226")}}function creator(...s){let r=e(...s);r.postcssPlugin=t;r.postcssVersion=(new l).version;return r}let s;Object.defineProperty(creator,"postcss",{get(){if(!s)s=creator();return s}});creator.process=function(t,e,s){return postcss([creator(s)]).process(t,e)};return creator};postcss.stringify=f;postcss.parse=g;postcss.fromJSON=a;postcss.list=d;postcss.comment=(t=>new u(t));postcss.atRule=(t=>new c(t));postcss.decl=(t=>new i(t));postcss.rule=(t=>new m(t));postcss.root=(t=>new y(t));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);t.exports=postcss;postcss.default=postcss},90:(t,e,s)=>{"use strict";let{existsSync:r,readFileSync:i}=s(747);let{dirname:n,join:o}=s(622);let{SourceMapConsumer:l,SourceMapGenerator:f}=s(241);function fromBase64(t){if(Buffer){return Buffer.from(t,"base64").toString()}else{return window.atob(t)}}class PreviousMap{constructor(t,e){if(e.map===false)return;this.loadAnnotation(t);this.inline=this.startWith(this.annotation,"data:");let s=e.map?e.map.prev:undefined;let r=this.loadMap(e.from,s);if(!this.mapFile&&e.from){this.mapFile=e.from}if(this.mapFile)this.root=n(this.mapFile);if(r)this.text=r}consumer(){if(!this.consumerCache){this.consumerCache=new l(this.text)}return this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(t,e){if(!t)return false;return t.substr(0,e.length)===e}getAnnotationURL(t){return t.match(/\/\*\s*# sourceMappingURL=((?:(?!sourceMappingURL=).)*)\*\//)[1].trim()}loadAnnotation(t){let e=t.match(/\/\*\s*# sourceMappingURL=(?:(?!sourceMappingURL=).)*\*\//gm);if(e&&e.length>0){let t=e[e.length-1];if(t){this.annotation=this.getAnnotationURL(t)}}}decodeInline(t){let e=/^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(t)||i.test(t)){return decodeURIComponent(t.substr(RegExp.lastMatch.length))}if(e.test(t)||s.test(t)){return fromBase64(t.substr(RegExp.lastMatch.length))}let n=t.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+n)}loadFile(t){this.root=n(t);if(r(t)){this.mapFile=t;return i(t,"utf-8").toString().trim()}}loadMap(t,e){if(e===false)return false;if(e){if(typeof e==="string"){return e}else if(typeof e==="function"){let s=e(t);if(s){let t=this.loadFile(s);if(!t){throw new Error("Unable to load previous source map: "+s.toString())}return t}}else if(e instanceof l){return f.fromSourceMap(e).toString()}else if(e instanceof f){return e.toString()}else if(this.isMap(e)){return JSON.stringify(e)}else{throw new Error("Unsupported previous source map format: "+e.toString())}}else if(this.inline){return this.decodeInline(this.annotation)}else if(this.annotation){let e=this.annotation;if(t)e=o(n(t),e);return this.loadFile(e)}}isMap(t){if(typeof t!=="object")return false;return typeof t.mappings==="string"||typeof t._mappings==="string"||Array.isArray(t.sections)}}t.exports=PreviousMap;PreviousMap.default=PreviousMap},189:(t,e,s)=>{"use strict";let r=s(310);let i=s(630);class Processor{constructor(t=[]){this.version="8.2.15";this.plugins=this.normalize(t)}use(t){this.plugins=this.plugins.concat(this.normalize([t]));return this}process(t,e={}){if(this.plugins.length===0&&e.parser===e.stringifier&&!e.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,t,e)}normalize(t){let e=[];for(let s of t){if(s.postcss===true){s=s()}else if(s.postcss){s=s.postcss}if(typeof s==="object"&&Array.isArray(s.plugins)){e=e.concat(s.plugins)}else if(typeof s==="object"&&s.postcssPlugin){e.push(s)}else if(typeof s==="function"){e.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 e}}t.exports=Processor;Processor.default=Processor;i.registerProcessor(Processor)},846:(t,e,s)=>{"use strict";let r=s(143);class Result{constructor(t,e,s){this.processor=t;this.messages=[];this.root=e;this.opts=s;this.css=undefined;this.map=undefined}toString(){return this.css}warn(t,e={}){if(!e.plugin){if(this.lastPlugin&&this.lastPlugin.postcssPlugin){e.plugin=this.lastPlugin.postcssPlugin}}let s=new r(t,e);this.messages.push(s);return s}warnings(){return this.messages.filter(t=>t.type==="warning")}get content(){return this.css}}t.exports=Result;Result.default=Result},630:(t,e,s)=>{"use strict";let r=s(632);let i,n;class Root extends r{constructor(t){super(t);this.type="root";if(!this.nodes)this.nodes=[]}removeChild(t,e){let s=this.index(t);if(!e&&s===0&&this.nodes.length>1){this.nodes[1].raws.before=this.nodes[s].raws.before}return super.removeChild(t)}normalize(t,e,s){let r=super.normalize(t);if(e){if(s==="prepend"){if(this.nodes.length>1){e.raws.before=this.nodes[1].raws.before}else{delete e.raws.before}}else if(this.first!==e){for(let t of r){t.raws.before=e.raws.before}}}return r}toResult(t={}){let e=new i(new n,this,t);return e.stringify()}}Root.registerLazyResult=(t=>{i=t});Root.registerProcessor=(t=>{n=t});t.exports=Root;Root.default=Root},234:(t,e,s)=>{"use strict";let r=s(632);let i=s(608);class Rule extends r{constructor(t){super(t);this.type="rule";if(!this.nodes)this.nodes=[]}get selectors(){return i.comma(this.selector)}set selectors(t){let e=this.selector?this.selector.match(/,\s*/):null;let s=e?e[0]:","+this.raw("between","beforeOpen");this.selector=t.join(s)}}t.exports=Rule;Rule.default=Rule;r.registerRule(Rule)},414:t=>{"use strict";const e={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:false};function capitalize(t){return t[0].toUpperCase()+t.slice(1)}class Stringifier{constructor(t){this.builder=t}stringify(t,e){if(!this[t.type]){throw new Error("Unknown AST node type "+t.type+". "+"Maybe you need to change PostCSS stringifier.")}this[t.type](t,e)}root(t){this.body(t);if(t.raws.after)this.builder(t.raws.after)}comment(t){let e=this.raw(t,"left","commentLeft");let s=this.raw(t,"right","commentRight");this.builder("/*"+e+t.text+s+"*/",t)}decl(t,e){let s=this.raw(t,"between","colon");let r=t.prop+s+this.rawValue(t,"value");if(t.important){r+=t.raws.important||" !important"}if(e)r+=";";this.builder(r,t)}rule(t){this.block(t,this.rawValue(t,"selector"));if(t.raws.ownSemicolon){this.builder(t.raws.ownSemicolon,t,"end")}}atrule(t,e){let s="@"+t.name;let r=t.params?this.rawValue(t,"params"):"";if(typeof t.raws.afterName!=="undefined"){s+=t.raws.afterName}else if(r){s+=" "}if(t.nodes){this.block(t,s+r)}else{let i=(t.raws.between||"")+(e?";":"");this.builder(s+r+i,t)}}body(t){let e=t.nodes.length-1;while(e>0){if(t.nodes[e].type!=="comment")break;e-=1}let s=this.raw(t,"semicolon");for(let r=0;r<t.nodes.length;r++){let i=t.nodes[r];let n=this.raw(i,"before");if(n)this.builder(n);this.stringify(i,e!==r||s)}}block(t,e){let s=this.raw(t,"between","beforeOpen");this.builder(e+s+"{",t,"start");let r;if(t.nodes&&t.nodes.length){this.body(t);r=this.raw(t,"after")}else{r=this.raw(t,"after","emptyBody")}if(r)this.builder(r);this.builder("}",t,"end")}raw(t,s,r){let i;if(!r)r=s;if(s){i=t.raws[s];if(typeof i!=="undefined")return i}let n=t.parent;if(r==="before"){if(!n||n.type==="root"&&n.first===t){return""}}if(!n)return e[r];let o=t.root();if(!o.rawCache)o.rawCache={};if(typeof o.rawCache[r]!=="undefined"){return o.rawCache[r]}if(r==="before"||r==="after"){return this.beforeAfter(t,r)}else{let e="raw"+capitalize(r);if(this[e]){i=this[e](o,t)}else{o.walk(t=>{i=t.raws[s];if(typeof i!=="undefined")return false})}}if(typeof i==="undefined")i=e[r];o.rawCache[r]=i;return i}rawSemicolon(t){let e;t.walk(t=>{if(t.nodes&&t.nodes.length&&t.last.type==="decl"){e=t.raws.semicolon;if(typeof e!=="undefined")return false}});return e}rawEmptyBody(t){let e;t.walk(t=>{if(t.nodes&&t.nodes.length===0){e=t.raws.after;if(typeof e!=="undefined")return false}});return e}rawIndent(t){if(t.raws.indent)return t.raws.indent;let e;t.walk(s=>{let r=s.parent;if(r&&r!==t&&r.parent&&r.parent===t){if(typeof s.raws.before!=="undefined"){let t=s.raws.before.split("\n");e=t[t.length-1];e=e.replace(/\S/g,"");return false}}});return e}rawBeforeComment(t,e){let s;t.walkComments(t=>{if(typeof t.raws.before!=="undefined"){s=t.raws.before;if(s.includes("\n")){s=s.replace(/[^\n]+$/,"")}return false}});if(typeof s==="undefined"){s=this.raw(e,null,"beforeDecl")}else if(s){s=s.replace(/\S/g,"")}return s}rawBeforeDecl(t,e){let s;t.walkDecls(t=>{if(typeof t.raws.before!=="undefined"){s=t.raws.before;if(s.includes("\n")){s=s.replace(/[^\n]+$/,"")}return false}});if(typeof s==="undefined"){s=this.raw(e,null,"beforeRule")}else if(s){s=s.replace(/\S/g,"")}return s}rawBeforeRule(t){let e;t.walk(s=>{if(s.nodes&&(s.parent!==t||t.first!==s)){if(typeof s.raws.before!=="undefined"){e=s.raws.before;if(e.includes("\n")){e=e.replace(/[^\n]+$/,"")}return false}}});if(e)e=e.replace(/\S/g,"");return e}rawBeforeClose(t){let e;t.walk(t=>{if(t.nodes&&t.nodes.length>0){if(typeof t.raws.after!=="undefined"){e=t.raws.after;if(e.includes("\n")){e=e.replace(/[^\n]+$/,"")}return false}}});if(e)e=e.replace(/\S/g,"");return e}rawBeforeOpen(t){let e;t.walk(t=>{if(t.type!=="decl"){e=t.raws.between;if(typeof e!=="undefined")return false}});return e}rawColon(t){let e;t.walkDecls(t=>{if(typeof t.raws.between!=="undefined"){e=t.raws.between.replace(/[^\s:]/g,"");return false}});return e}beforeAfter(t,e){let s;if(t.type==="decl"){s=this.raw(t,null,"beforeDecl")}else if(t.type==="comment"){s=this.raw(t,null,"beforeComment")}else if(e==="before"){s=this.raw(t,null,"beforeRule")}else{s=this.raw(t,null,"beforeClose")}let r=t.parent;let i=0;while(r&&r.type!=="root"){i+=1;r=r.parent}if(s.includes("\n")){let e=this.raw(t,null,"indent");if(e.length){for(let t=0;t<i;t++)s+=e}}return s}rawValue(t,e){let s=t[e];let r=t.raws[e];if(r&&r.value===s){return r.raw}return s}}t.exports=Stringifier},793:(t,e,s)=>{"use strict";let r=s(414);function stringify(t,e){let s=new r(e);s.stringify(t)}t.exports=stringify;stringify.default=stringify},594:t=>{"use strict";t.exports.isClean=Symbol("isClean")},40:(t,e,s)=>{"use strict";let{cyan:r,gray:i,green:n,yellow:o,magenta:l}=s(210);let f=s(790);let a;function registerInput(t){a=t}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([t,e],s){if(t==="word"){if(e[0]==="."){return"class"}if(e[0]==="#"){return"hash"}}if(!s.endOfFile()){let t=s.nextToken();s.back(t);if(t[0]==="brackets"||t[0]==="(")return"call"}return t}function terminalHighlight(t){let e=f(new a(t),{ignoreErrors:true});let s="";while(!e.endOfFile()){let t=e.nextToken();let r=h[getTokenType(t,e)];if(r){s+=t[1].split(/\r?\n/).map(t=>r(t)).join("\n")}else{s+=t[1]}}return s}terminalHighlight.registerInput=registerInput;t.exports=terminalHighlight},790:t=>{"use strict";const e="'".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 C=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const x=/.[\n"'(/\\]/;const S=/[\da-f]/i;t.exports=function tokenizer(t,A={}){let E=t.css.valueOf();let R=A.ignoreErrors;let B,M,_,j,N;let P,z,F,k,D;let $=E.length;let W=0;let U=[];let V=[];function position(){return W}function unclosed(e){throw t.error("Unclosed "+e,W)}function endOfFile(){return V.length===0&&W>=$}function nextToken(t){if(V.length)return V.pop();if(W>=$)return;let A=t?t.ignoreUnclosed:false;B=E.charCodeAt(W);switch(B){case n:case o:case f:case a:case l:{M=W;do{M+=1;B=E.charCodeAt(M)}while(B===o||B===n||B===f||B===a||B===l);D=["space",E.slice(W,M)];W=M-1;break}case h:case u:case w:case g:case y:case d:case p:{let t=String.fromCharCode(B);D=[t,t,W];break}case c:{F=U.length?U.pop()[1]:"";k=E.charCodeAt(W+1);if(F==="url"&&k!==e&&k!==s&&k!==o&&k!==n&&k!==f&&k!==l&&k!==a){M=W;do{P=false;M=E.indexOf(")",M+1);if(M===-1){if(R||A){M=W;break}else{unclosed("bracket")}}z=M;while(E.charCodeAt(z-1)===r){z-=1;P=!P}}while(P);D=["brackets",E.slice(W,M+1),W,M];W=M}else{M=E.indexOf(")",W+1);j=E.slice(W,M+1);if(M===-1||x.test(j)){D=["(","(",W]}else{D=["brackets",j,W,M];W=M}}break}case e:case s:{_=B===e?"'":'"';M=W;do{P=false;M=E.indexOf(_,M+1);if(M===-1){if(R||A){M=W+1;break}else{unclosed("string")}}z=M;while(E.charCodeAt(z-1)===r){z-=1;P=!P}}while(P);D=["string",E.slice(W,M+1),W,M];W=M;break}case b:{O.lastIndex=W+1;O.test(E);if(O.lastIndex===0){M=E.length-1}else{M=O.lastIndex-2}D=["at-word",E.slice(W,M+1),W,M];W=M;break}case r:{M=W;N=true;while(E.charCodeAt(M+1)===r){M+=1;N=!N}B=E.charCodeAt(M+1);if(N&&B!==i&&B!==o&&B!==n&&B!==f&&B!==a&&B!==l){M+=1;if(S.test(E.charAt(M))){while(S.test(E.charAt(M+1))){M+=1}if(E.charCodeAt(M+1)===o){M+=1}}}D=["word",E.slice(W,M+1),W,M];W=M;break}default:{if(B===i&&E.charCodeAt(W+1)===m){M=E.indexOf("*/",W+2)+1;if(M===0){if(R||A){M=E.length}else{unclosed("comment")}}D=["comment",E.slice(W,M+1),W,M];W=M}else{C.lastIndex=W+1;C.test(E);if(C.lastIndex===0){M=E.length-1}else{M=C.lastIndex-2}D=["word",E.slice(W,M+1),W,M];U.push(D);W=M}break}}W++;return D}function back(t){V.push(t)}return{back:back,nextToken:nextToken,endOfFile:endOfFile,position:position}}},600:t=>{"use strict";let e={};t.exports=function warnOnce(t){if(e[t])return;e[t]=true;if(typeof console!=="undefined"&&console.warn){console.warn(t)}}},143:t=>{"use strict";class Warning{constructor(t,e={}){this.type="warning";this.text=t;if(e.node&&e.node.source){let t=e.node.positionBy(e);this.line=t.line;this.column=t.column}for(let t in e)this[t]=e[t]}toString(){if(this.node){return this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message}if(this.plugin){return this.plugin+": "+this.text}return this.text}}t.exports=Warning;Warning.default=Warning},210:(t,e)=>{let s=!("NO_COLOR"in process.env)&&("FORCE_COLOR"in process.env||process.platform==="win32"||process.stdout!=null&&process.stdout.isTTY&&process.env.TERM&&process.env.TERM!=="dumb");const r=(t,e,r,i)=>n=>s?t+(~(n+="").indexOf(e,4)?n.replace(r,i):n)+e:n;const i=(t,e)=>{return r(`[${t}m`,`[${e}m`,new RegExp(`\\x1b\\[${e}m`,"g"),`[${t}m`)};e.options=Object.defineProperty({},"enabled",{get:()=>s,set:t=>s=t});e.reset=i(0,0);e.bold=r("[1m","[22m",/\x1b\[22m/g,"[22m[1m");e.dim=r("[2m","[22m",/\x1b\[22m/g,"[22m[2m");e.italic=i(3,23);e.underline=i(4,24);e.inverse=i(7,27);e.hidden=i(8,28);e.strikethrough=i(9,29);e.black=i(30,39);e.red=i(31,39);e.green=i(32,39);e.yellow=i(33,39);e.blue=i(34,39);e.magenta=i(35,39);e.cyan=i(36,39);e.white=i(37,39);e.gray=i(90,39);e.bgBlack=i(40,49);e.bgRed=i(41,49);e.bgGreen=i(42,49);e.bgYellow=i(43,49);e.bgBlue=i(44,49);e.bgMagenta=i(45,49);e.bgCyan=i(46,49);e.bgWhite=i(47,49);e.blackBright=i(90,39);e.redBright=i(91,39);e.greenBright=i(92,39);e.yellowBright=i(93,39);e.blueBright=i(94,39);e.magentaBright=i(95,39);e.cyanBright=i(96,39);e.whiteBright=i(97,39);e.bgBlackBright=i(100,49);e.bgRedBright=i(101,49);e.bgGreenBright=i(102,49);e.bgYellowBright=i(103,49);e.bgBlueBright=i(104,49);e.bgMagentaBright=i(105,49);e.bgCyanBright=i(106,49);e.bgWhiteBright=i(107,49)},2:t=>{let e="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW";let s=(t,e)=>{return()=>{let s="";let r=e;while(r--){s+=t[Math.random()*t.length|0]}return s}};let r=(t=21)=>{let s="";let r=t;while(r--){s+=e[Math.random()*64|0]}return s};t.exports={nanoid:r,customAlphabet:s}},747:t=>{"use strict";t.exports=require("fs")},241:t=>{"use strict";t.exports=require("next/dist/compiled/source-map")},622:t=>{"use strict";t.exports=require("path")},835:t=>{"use strict";t.exports=require("url")}};var e={};function __nccwpck_require__(s){if(e[s]){return e[s].exports}var r=e[s]={exports:{}};var i=true;try{t[s](r,r.exports,__nccwpck_require__);i=false}finally{if(i)delete e[s]}return r.exports}__nccwpck_require__.ab=__dirname+"/";return __nccwpck_require__(262)})(); |