From fcf6f6969a301498785b0c6e97df0ebf1c0f16ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Mon, 10 Jan 2022 13:27:52 +0100 Subject: [PATCH 1/2] chore(deps): upgrade `postcss` --- packages/next/package.json | 4 +-- yarn.lock | 60 ++++++++++---------------------------- 2 files changed, 18 insertions(+), 46 deletions(-) diff --git a/packages/next/package.json b/packages/next/package.json index 43c00aca6a3e351..0218d8cbadac2c9 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -76,7 +76,7 @@ "caniuse-lite": "^1.0.30001283", "jest-worker": "27.0.0-next.5", "node-fetch": "2.6.1", - "postcss": "8.2.15", + "postcss": "8.4.5", "react-is": "17.0.2", "react-refresh": "0.8.3", "stream-browserify": "3.0.0", @@ -218,7 +218,7 @@ "lru-cache": "5.1.1", "micromatch": "4.0.4", "mini-css-extract-plugin": "2.4.3", - "nanoid": "3.1.20", + "nanoid": "3.1.30", "native-url": "0.3.4", "neo-async": "2.6.1", "node-html-parser": "1.4.9", diff --git a/yarn.lock b/yarn.lock index e11c7c225f34bdb..4c6def07cf09dc7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7342,11 +7342,6 @@ colorette@^1.2.1: resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.1.tgz#4d0b921325c14faf92633086a536db6e89564b1b" integrity sha512-puCDz0CzydiSYOrnXpz/PKd69zRrribezjtE9yd4zvytoRc8+RY/KJPvtPFKZS3E3wP6neGyMe0vOTlHO5L3Pw== -colorette@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.2.tgz#cbcc79d5e99caea2dbf10eb3a26fd8b3e6acfa94" - integrity sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w== - colors@1.2.5: version "1.2.5" resolved "https://registry.yarnpkg.com/colors/-/colors-1.2.5.tgz#89c7ad9a374bc030df8013241f68136ed8835afc" @@ -14289,20 +14284,10 @@ nan@^2.12.1, nan@^2.13.2: version "2.14.0" resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.0.tgz#7818f722027b2459a86f0295d434d1fc2336c52c" -nanoid@3.1.20, nanoid@^3.1.20: - version "3.1.20" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.20.tgz#badc263c6b1dcf14b71efaa85f6ab4c1d6cfc788" - integrity sha512-a1cQNyczgKbLX9jwbS/+d7W8fX/RfgYR7lVWwWOGIPNgK2m0MWvrGF6/m4kk6U3QcFMnZf3RIhL0v2Jgh/0Uxw== - -nanoid@^3.1.22: - version "3.1.22" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.22.tgz#b35f8fb7d151990a8aebd5aa5015c03cf726f844" - integrity sha512-/2ZUaJX2ANuLtTvqTlgqBQNJoQO398KyJgZloL0PZkC0dpysjncRUPsFe3DUPzz/y3h+u7C46np8RMuvF3jsSQ== - -nanoid@^3.1.23: - version "3.1.23" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.23.tgz#f744086ce7c2bc47ee0a8472574d5c78e4183a81" - integrity sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw== +nanoid@3.1.30, nanoid@^3.1.30: + version "3.1.30" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.30.tgz#63f93cc548d2a113dc5dfbc63bfa09e2b9b64362" + integrity sha512-zJpuPDwOv8D2zq2WRoMe1HsfZthVewpel9CAvTfc/2mBD1uUT/agc5f7GHGWXlYkFvi1mVxe4IjvP2HNrop7nQ== nanomatch@^1.2.9: version "1.2.13" @@ -16459,14 +16444,14 @@ postcss@7.0.32, postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.11, postcss@^7.0.14 source-map "^0.6.1" supports-color "^6.1.0" -postcss@8.2.15: - version "8.2.15" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.2.15.tgz#9e66ccf07292817d226fc315cbbf9bc148fbca65" - integrity sha512-2zO3b26eJD/8rb106Qu2o7Qgg52ND5HPjcyQiK2B98O388h43A448LCslC0dI2P97wCAQRJsFvwTRcXxTKds+Q== +postcss@8.4.5, postcss@^8.2.1, postcss@^8.2.7: + version "8.4.5" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.5.tgz#bae665764dfd4c6fcc24dc0fdf7e7aa00cc77f95" + integrity sha512-jBDboWM8qpaqwkMwItqTQTiFikhs/67OYVvblFFTM7MrZjt6yMKd6r2kgXizEbTTljacm4NldIlZnhbjr84QYg== dependencies: - colorette "^1.2.2" - nanoid "^3.1.23" - source-map "^0.6.1" + nanoid "^3.1.30" + picocolors "^1.0.0" + source-map-js "^1.0.1" postcss@^5.0.10: version "5.2.18" @@ -16485,24 +16470,6 @@ postcss@^6.0.0, postcss@^6.0.9: source-map "^0.6.1" supports-color "^5.4.0" -postcss@^8.2.1: - version "8.2.1" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.2.1.tgz#eabc5557c4558059b9d9e5b15bce7ffa9089c2a8" - integrity sha512-RhsqOOAQzTgh1UB/IZdca7F9WDb7SUCR2Vnv1x7DbvuuggQIpoDwjK+q0rzoPffhYvWNKX5JSwS4so4K3UC6vA== - dependencies: - colorette "^1.2.1" - nanoid "^3.1.20" - source-map "^0.6.1" - -postcss@^8.2.7: - version "8.2.10" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.2.10.tgz#ca7a042aa8aff494b334d0ff3e9e77079f6f702b" - integrity sha512-b/h7CPV7QEdrqIxtAf2j31U5ef05uBDuvoXv6L51Q4rcS1jdlXAVKJv+atCFdUXYl9dyTHGyoMzIepwowRJjFw== - dependencies: - colorette "^1.2.2" - nanoid "^3.1.22" - source-map "^0.6.1" - pre-commit@1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/pre-commit/-/pre-commit-1.2.2.tgz#dbcee0ee9de7235e57f79c56d7ce94641a69eec6" @@ -18364,6 +18331,11 @@ source-list-map@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.1.tgz#3993bd873bfc48479cca9ea3a547835c7c154b34" +source-map-js@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/source-map-js/-/source-map-js-1.0.1.tgz#a1741c131e3c77d048252adfa24e23b908670caf" + integrity sha512-4+TN2b3tqOCd/kaGRJ/sTYA0tR0mdXx26ipdolxcwtJVqEnqNYvlCAt1q3ypy4QMlYus+Zh34RNtYLoq2oQ4IA== + source-map-resolve@^0.5.0: version "0.5.3" resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.3.tgz#190866bece7553e1f8f267a2ee82c606b5509a1a" From 7c54bdd87312fec2da1516de0a8b9eec8692ec53 Mon Sep 17 00:00:00 2001 From: balazsorban44 Date: Mon, 10 Jan 2022 12:36:09 +0000 Subject: [PATCH 2/2] =?UTF-8?q?=E2=9A=99=20Update=20compiled=20files?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/next/compiled/nanoid/index.cjs | 2 +- packages/next/compiled/postcss-safe-parser/safe-parse.js | 2 +- packages/next/compiled/postcss-scss/scss-syntax.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/next/compiled/nanoid/index.cjs b/packages/next/compiled/nanoid/index.cjs index 0585602685d05c6..07b31b46d74ba3c 100644 --- a/packages/next/compiled/nanoid/index.cjs +++ b/packages/next/compiled/nanoid/index.cjs @@ -1 +1 @@ -(()=>{var e={113:e=>{"use strict";e.exports=require("crypto")},240:(e,r,t)=>{let l=t(113);let{urlAlphabet:a}=t(294);const n=32;let _,u;let random=e=>{if(!_||_.length_.length){l.randomFillSync(_);u=0}let r=_.subarray(u,u+e);u+=e;return r};let customRandom=(e,r,t)=>{let l=(2<<31-Math.clz32(e.length-1|1))-1;let a=Math.ceil(1.6*l*r/e.length);return()=>{let n="";while(true){let _=t(a);let u=a;while(u--){n+=e[_[u]&l]||"";if(n.length===r)return n}}}};let customAlphabet=(e,r)=>customRandom(e,r,random);let nanoid=(e=21)=>{let r=random(e);let t="";while(e--){t+=a[r[e]&63]}return t};e.exports={nanoid:nanoid,customAlphabet:customAlphabet,customRandom:customRandom,urlAlphabet:a,random:random}},294:e=>{let r="ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW";e.exports={urlAlphabet:r}}};var r={};function __nccwpck_require__(t){var l=r[t];if(l!==undefined){return l.exports}var a=r[t]={exports:{}};var n=true;try{e[t](a,a.exports,__nccwpck_require__);n=false}finally{if(n)delete r[t]}return a.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(240);module.exports=t})(); \ No newline at end of file +(()=>{var e={113:e=>{"use strict";e.exports=require("crypto")},240:(e,r,t)=>{let l=t(113);let{urlAlphabet:a}=t(294);const n=128;let _,u;let fillPool=e=>{if(!_||_.length_.length){l.randomFillSync(_);u=0}u+=e};let random=e=>{fillPool(e);return _.subarray(u-e,u)};let customRandom=(e,r,t)=>{let l=(2<<31-Math.clz32(e.length-1|1))-1;let a=Math.ceil(1.6*l*r/e.length);return()=>{let n="";while(true){let _=t(a);let u=a;while(u--){n+=e[_[u]&l]||"";if(n.length===r)return n}}}};let customAlphabet=(e,r)=>customRandom(e,r,random);let nanoid=(e=21)=>{fillPool(e);let r="";for(let t=u-e;t{let r="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";e.exports={urlAlphabet:r}}};var r={};function __nccwpck_require__(t){var l=r[t];if(l!==undefined){return l.exports}var a=r[t]={exports:{}};var n=true;try{e[t](a,a.exports,__nccwpck_require__);n=false}finally{if(n)delete r[t]}return a.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var t=__nccwpck_require__(240);module.exports=t})(); \ No newline at end of file diff --git a/packages/next/compiled/postcss-safe-parser/safe-parse.js b/packages/next/compiled/postcss-safe-parser/safe-parse.js index 42be6d9668b9661..67db3fd7688b59a 100644 --- a/packages/next/compiled/postcss-safe-parser/safe-parse.js +++ b/packages/next/compiled/postcss-safe-parser/safe-parse.js @@ -1 +1 @@ -(()=>{var e={376:(e,t,r)=>{let{Input:s}=r(977);let i=r(311);e.exports=function safeParse(e,t){let r=new s(e,t);let n=new i(r);n.parse();return n.root}},311:(e,t,r)=>{let s=r(956);let i=r(472);let n=r(589);class SafeParser extends n{createTokenizer(){this.tokenizer=s(this.input,{ignoreErrors:true})}comment(e){let t=new i;this.init(t,e[2]);let r=this.input.fromOffset(e[3])||this.input.fromOffset(this.input.css.length-1);t.source.end={offset:e[3],line:r.line,column:r.col};let s=e[1].slice(2);if(s.slice(-2)==="*/")s=s.slice(0,-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]}}decl(e){if(e.length>1&&e.some((e=>e[0]==="word"))){super.decl(e)}}unclosedBracket(){}unknownWord(e){this.spaces+=e.map((e=>e[1])).join("")}unexpectedClose(){this.current.raws.after+="}"}doubleColon(){}unnamedAtrule(e){e.name=""}precheckMissedSemicolon(e){let t=this.colon(e);if(t===false)return;let r,s;for(r=t-1;r>=0;r--){if(e[r][0]==="word")break}if(r===0)return;for(s=r-1;s>=0;s--){if(e[s][0]!=="space"){s+=1;break}}let i=e.slice(r);let n=e.slice(s,r);e.splice(s,e.length-s);this.spaces=n.map((e=>e[1])).join("");this.decl(i)}checkMissedSemicolon(){}endFile(){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces;while(this.current.parent){this.current=this.current.parent;this.current.raws.after=""}}}e.exports=SafeParser},942:(e,t,r)=>{"use strict";let s=r(190);class AtRule extends s{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;s.registerAtRule(AtRule)},472:(e,t,r)=>{"use strict";let s=r(759);class Comment extends s{constructor(e){super(e);this.type="comment"}}e.exports=Comment;Comment.default=Comment},190:(e,t,r)=>{"use strict";let s=r(892);let{isClean:i}=r(932);let n=r(472);let o=r(759);let l,a,f;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,f.prototype)}else if(e.type==="rule"){Object.setPrototypeOf(e,a.prototype)}else if(e.type==="decl"){Object.setPrototypeOf(e,s.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 r,s;while(this.indexes[t]{let s;try{s=e(t,r)}catch(e){throw t.addToError(e)}if(s!==false&&t.walk){s=t.walk(e)}return s}))}walkDecls(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="decl"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,s)=>{if(r.type==="decl"&&e.test(r.prop)){return t(r,s)}}))}return this.walk(((r,s)=>{if(r.type==="decl"&&r.prop===e){return t(r,s)}}))}walkRules(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="rule"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,s)=>{if(r.type==="rule"&&e.test(r.selector)){return t(r,s)}}))}return this.walk(((r,s)=>{if(r.type==="rule"&&r.selector===e){return t(r,s)}}))}walkAtRules(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="atrule"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,s)=>{if(r.type==="atrule"&&e.test(r.name)){return t(r,s)}}))}return this.walk(((r,s)=>{if(r.type==="atrule"&&r.name===e){return t(r,s)}}))}walkComments(e){return this.walk(((t,r)=>{if(t.type==="comment"){return e(t,r)}}))}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 r=e===0?"prepend":false;let s=this.normalize(t,this.proxyOf.nodes[e],r).reverse();for(let t of s)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+s.length}}this.markDirty();return this}insertAfter(e,t){e=this.index(e);let r=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of r)this.proxyOf.nodes.splice(e+1,0,t);let s;for(let t in this.indexes){s=this.indexes[t];if(e=e){this.indexes[r]=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,r){if(!r){r=t;t={}}this.walkDecls((s=>{if(t.props&&!t.props.includes(s.prop))return;if(t.fast&&!s.value.includes(t.fast))return;s.value=s.value.replace(e,r)}));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 s(e)]}else if(e.selector){e=[new a(e)]}else if(e.name){e=[new f(e)]}else if(e.text){e=[new n(e)]}else{throw new Error("Unknown node type in node creation")}let r=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 r}getProxyProcessor(){return{set(e,t,r){if(e[t]===r)return true;e[t]=r;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(...r)=>e[t](...r.map((e=>{if(typeof e==="function"){return(t,r)=>e(t.toProxy(),r)}else{return e}})))}else if(t==="every"||t==="some"){return r=>e[t](((e,...t)=>r(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=>{a=e};Container.registerAtRule=e=>{f=e};e.exports=Container;Container.default=Container},540:(e,t,r)=>{"use strict";let{red:s,bold:i,gray:n,options:o}=r(373);let l=r(536);class CssSyntaxError extends Error{constructor(e,t,r,s,i,n){super(e);this.name="CssSyntaxError";this.reason=e;if(i){this.file=i}if(s){this.source=s}if(n){this.plugin=n}if(typeof t!=="undefined"&&typeof r!=="undefined"){this.line=t;this.column=r}this.setMessage();if(Error.captureStackTrace){Error.captureStackTrace(this,CssSyntaxError)}}setMessage(){this.message=this.plugin?this.plugin+": ":"";this.message+=this.file?this.file:"";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 r=t.split(/\r?\n/);let a=Math.max(this.line-3,0);let f=Math.min(this.line+2,r.length);let h=String(f).length;let c,u;if(e){c=e=>i(s(e));u=e=>n(e)}else{c=u=e=>e}return r.slice(a,f).map(((e,t)=>{let r=a+1+t;let s=" "+(" "+r).slice(-h)+" | ";if(r===this.line){let t=u(s.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return c(">")+u(s)+e+"\n "+t+c("^")}return" "+u(s)+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},892:(e,t,r)=>{"use strict";let s=r(759);class Declaration extends s{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},457:e=>{"use strict";let t={split(e,t,r){let s=[];let i="";let n=false;let o=0;let l=false;let a=false;for(let r of e){if(a){a=false}else if(r==="\\"){a=true}else if(l){if(r===l){l=false}}else if(r==='"'||r==="'"){l=r}else if(r==="("){o+=1}else if(r===")"){if(o>0)o-=1}else if(o===0){if(t.includes(r))n=true}if(n){if(i!=="")s.push(i.trim());i="";n=false}else{i+=r}}if(r||i!=="")s.push(i.trim());return s},space(e){let r=[" ","\n","\t"];return t.split(e,r)},comma(e){return t.split(e,[","],true)}};e.exports=t;t.default=t},759:(e,t,r)=>{"use strict";let s=r(540);let i=r(552);let{isClean:n}=r(932);let o=r(411);function cloneNode(e,t){let r=new e.constructor;for(let s in e){if(!Object.prototype.hasOwnProperty.call(e,s)){continue}if(s==="proxyCache")continue;let i=e[s];let n=typeof i;if(s==="parent"&&n==="object"){if(t)r[s]=t}else if(s==="source"){r[s]=i}else if(Array.isArray(i)){r[s]=i.map((e=>cloneNode(e,r)))}else{if(n==="object"&&i!==null)i=cloneNode(i);r[s]=i}}return r}class Node{constructor(e={}){this.raws={};this[n]=false;for(let t in e){if(t==="nodes"){this.nodes=[];for(let r of e[t]){if(typeof r.clone==="function"){this.append(r.clone())}else{this.append(r)}}}else{this[t]=e[t]}}}error(e,t={}){if(this.source){let r=this.positionBy(t);return this.source.input.error(e,r.line,r.column,t)}return new s(e)}warn(e,t,r){let s={node:this};for(let e in r)s[e]=r[e];return e.warn(t,s)}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 r in e){t[r]=e[r]}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 r=false;for(let s of e){if(s===this){r=true}else if(r){this.parent.insertAfter(t,s);t=s}else{this.parent.insertBefore(t,s)}}if(!r){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 r=new i;return r.raw(this,e,t)}cleanRaws(e){delete this.raws.before;delete this.raws.after;if(!e)delete this.raws.between}toJSON(e,t){let r={};let s=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 s=this[e];if(Array.isArray(s)){r[e]=s.map((e=>{if(typeof e==="object"&&e.toJSON){return e.toJSON(null,t)}else{return e}}))}else if(typeof s==="object"&&s.toJSON){r[e]=s.toJSON(null,t)}else if(e==="source"){let n=t.get(s.input);if(n==null){n=i;t.set(s.input,i);i++}r[e]={inputId:n,start:s.start,end:s.end}}else{r[e]=s}}if(s){r.inputs=[...t.keys()].map((e=>e.toJSON()))}return r}positionInside(e){let t=this.toString();let r=this.source.start.column;let s=this.source.start.line;for(let i=0;ie.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},589:(e,t,r)=>{"use strict";let s=r(892);let i=r(956);let n=r(472);let o=r(942);let l=r(15);let a=r(545);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 r=e[1].slice(2,-2);if(/^\s*$/.test(r)){t.text="";t.raws.left=r;t.raws.right=""}else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}emptyRule(e){let t=new a;this.init(t,e[2]);t.selector="";t.raws.between="";this.current=t}other(e){let t=false;let r=null;let s=false;let i=null;let n=[];let o=e[1].startsWith("--");let l=[];let a=e;while(a){r=a[0];l.push(a);if(r==="("||r==="["){if(!i)i=a;n.push(r==="("?")":"]")}else if(o&&s&&r==="{"){if(!i)i=a;n.push("}")}else if(n.length===0){if(r===";"){if(s){this.decl(l,o);return}else{break}}else if(r==="{"){this.rule(l);return}else if(r==="}"){this.tokenizer.back(l.pop());t=true;break}else if(r===":"){s=true}}else if(r===n[n.length-1]){n.pop();if(n.length===0)i=null}a=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile())t=true;if(n.length>0)this.unclosedBracket(i);if(t&&s){while(l.length){a=l[l.length-1][0];if(a!=="space"&&a!=="comment")break;this.tokenizer.back(l.pop())}this.decl(l,o)}else{this.unknownWord(l)}}rule(e){e.pop();let t=new a;this.init(t,e[0][2]);t.raws.between=this.spacesAndCommentsFromEnd(e);this.raw(t,"selector",e);this.current=t}decl(e,t){let r=new s;this.init(r,e[0][2]);let i=e[e.length-1];if(i[0]===";"){this.semicolon=true;e.pop()}r.source.end=this.getPosition(i[3]||i[2]);while(e[0][0]!=="word"){if(e.length===1)this.unknownWord(e);r.raws.before+=e.shift()[1]}r.source.start=this.getPosition(e[0][2]);r.prop="";while(e.length){let t=e[0][0];if(t===":"||t==="space"||t==="comment"){break}r.prop+=e.shift()[1]}r.raws.between="";let n;while(e.length){n=e.shift();if(n[0]===":"){r.raws.between+=n[1];break}else{if(n[0]==="word"&&/\w/.test(n[1])){this.unknownWord([n])}r.raws.between+=n[1]}}if(r.prop[0]==="_"||r.prop[0]==="*"){r.raws.before+=r.prop[0];r.prop=r.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"){r.important=true;let s=this.stringFrom(e,t);s=this.spacesFromEnd(e)+s;if(s!==" !important")r.raws.important=s;break}else if(n[1].toLowerCase()==="important"){let s=e.slice(0);let i="";for(let e=t;e>0;e--){let t=s[e][0];if(i.trim().indexOf("!")===0&&t!=="space"){break}i=s.pop()[1]+i}if(i.trim().indexOf("!")===0){r.important=true;r.raws.important=i;e=s}}if(n[0]!=="space"&&n[0]!=="comment"){break}}let l=e.some((e=>e[0]!=="space"&&e[0]!=="comment"));this.raw(r,"value",e);if(l){r.raws.between+=o}else{r.value=o+r.value}if(r.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 r;let s;let i;let n=false;let l=false;let a=[];let f=[];while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();r=e[0];if(r==="("||r==="["){f.push(r==="("?")":"]")}else if(r==="{"&&f.length>0){f.push("}")}else if(r===f[f.length-1]){f.pop()}if(f.length===0){if(r===";"){t.source.end=this.getPosition(e[2]);this.semicolon=true;break}else if(r==="{"){l=true;break}else if(r==="}"){if(a.length>0){i=a.length-1;s=a[i];while(s&&s[0]==="space"){s=a[--i]}if(s){t.source.end=this.getPosition(s[3]||s[2])}}this.end(e);break}else{a.push(e)}}else{a.push(e)}if(this.tokenizer.endOfFile()){n=true;break}}t.raws.between=this.spacesAndCommentsFromEnd(a);if(a.length){t.raws.afterName=this.spacesAndCommentsFromStart(a);this.raw(t,"params",a);if(n){e=a[a.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,r){let s,i;let n=r.length;let o="";let l=true;let a,f;let h=/^([#.|])?(\w)+/i;for(let t=0;te+t[1]),"");e.raws[t]={value:o,raw:s}}e[t]=o}spacesAndCommentsFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space"&&t!=="comment")break;r=e.pop()[1]+r}return r}spacesAndCommentsFromStart(e){let t;let r="";while(e.length){t=e[0][0];if(t!=="space"&&t!=="comment")break;r+=e.shift()[1]}return r}spacesFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space")break;r=e.pop()[1]+r}return r}stringFrom(e,t){let r="";for(let s=t;s=0;i--){s=e[i];if(s[0]!=="space"){r+=1;if(r===2)break}}throw this.input.error("Missed semicolon",s[2])}}e.exports=Parser},15:(e,t,r)=>{"use strict";let s=r(190);let i,n;class Root extends s{constructor(e){super(e);this.type="root";if(!this.nodes)this.nodes=[]}removeChild(e,t){let r=this.index(e);if(!t&&r===0&&this.nodes.length>1){this.nodes[1].raws.before=this.nodes[r].raws.before}return super.removeChild(e)}normalize(e,t,r){let s=super.normalize(e);if(t){if(r==="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 s){e.raws.before=t.raws.before}}}return s}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},545:(e,t,r)=>{"use strict";let s=r(190);let i=r(457);class Rule extends s{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 r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}e.exports=Rule;Rule.default=Rule;s.registerRule(Rule)},552: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 r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon");let s=e.prop+r+this.rawValue(e,"value");if(e.important){s+=e.raws.important||" !important"}if(t)s+=";";this.builder(s,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 r="@"+e.name;let s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){r+=e.raws.afterName}else if(s){r+=" "}if(e.nodes){this.block(e,r+s)}else{let i=(e.raws.between||"")+(t?";":"");this.builder(r+s+i,e)}}body(e){let t=e.nodes.length-1;while(t>0){if(e.nodes[t].type!=="comment")break;t-=1}let r=this.raw(e,"semicolon");for(let s=0;s{i=e.raws[r];if(typeof i!=="undefined")return false}))}}if(typeof i==="undefined")i=t[s];o.rawCache[s]=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((r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e){if(typeof r.raws.before!=="undefined"){let e=r.raws.before.split("\n");t=e[e.length-1];t=t.replace(/\S/g,"");return false}}}));return t}rawBeforeComment(e,t){let r;e.walkComments((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeDecl")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeDecl(e,t){let r;e.walkDecls((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeRule")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeRule(e){let t;e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)){if(typeof r.raws.before!=="undefined"){t=r.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 r;if(e.type==="decl"){r=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){r=this.raw(e,null,"beforeComment")}else if(t==="before"){r=this.raw(e,null,"beforeRule")}else{r=this.raw(e,null,"beforeClose")}let s=e.parent;let i=0;while(s&&s.type!=="root"){i+=1;s=s.parent}if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length){for(let e=0;e{"use strict";let s=r(552);function stringify(e,t){let r=new s(t);r.stringify(e)}e.exports=stringify;stringify.default=stringify},932:e=>{"use strict";e.exports.isClean=Symbol("isClean")},536:(e,t,r)=>{"use strict";let{cyan:s,gray:i,green:n,yellow:o,magenta:l}=r(373);let a=r(956);let f;function registerInput(e){f=e}const h={brackets:s,"at-word":s,comment:i,string:n,class:o,hash:l,call:s,"(":s,")":s,"{":o,"}":o,"[":o,"]":o,":":o,";":o};function getTokenType([e,t],r){if(e==="word"){if(t[0]==="."){return"class"}if(t[0]==="#"){return"hash"}}if(!r.endOfFile()){let e=r.nextToken();r.back(e);if(e[0]==="brackets"||e[0]==="(")return"call"}return e}function terminalHighlight(e){let t=a(new f(e),{ignoreErrors:true});let r="";while(!t.endOfFile()){let e=t.nextToken();let s=h[getTokenType(e,t)];if(s){r+=e[1].split(/\r?\n/).map((e=>s(e))).join("\n")}else{r+=e[1]}}return r}terminalHighlight.registerInput=registerInput;e.exports=terminalHighlight},956:e=>{"use strict";const t="'".charCodeAt(0);const r='"'.charCodeAt(0);const s="\\".charCodeAt(0);const i="/".charCodeAt(0);const n="\n".charCodeAt(0);const o=" ".charCodeAt(0);const l="\f".charCodeAt(0);const a="\t".charCodeAt(0);const f="\r".charCodeAt(0);const h="[".charCodeAt(0);const c="]".charCodeAt(0);const u="(".charCodeAt(0);const p=")".charCodeAt(0);const d="{".charCodeAt(0);const w="}".charCodeAt(0);const m=";".charCodeAt(0);const g="*".charCodeAt(0);const y=":".charCodeAt(0);const b="@".charCodeAt(0);const k=/[\t\n\f\r "#'()/;[\\\]{}]/g;const x=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const C=/.[\n"'(/\\]/;const O=/[\da-f]/i;e.exports=function tokenizer(e,A={}){let S=e.css.valueOf();let v=A.ignoreErrors;let R,B,P,E,_;let D,z,T,F,N;let $=S.length;let I=0;let M=[];let j=[];function position(){return I}function unclosed(t){throw e.error("Unclosed "+t,I)}function endOfFile(){return j.length===0&&I>=$}function nextToken(e){if(j.length)return j.pop();if(I>=$)return;let A=e?e.ignoreUnclosed:false;R=S.charCodeAt(I);switch(R){case n:case o:case a:case f:case l:{B=I;do{B+=1;R=S.charCodeAt(B)}while(R===o||R===n||R===a||R===f||R===l);N=["space",S.slice(I,B)];I=B-1;break}case h:case c:case d:case w:case y:case m:case p:{let e=String.fromCharCode(R);N=[e,e,I];break}case u:{T=M.length?M.pop()[1]:"";F=S.charCodeAt(I+1);if(T==="url"&&F!==t&&F!==r&&F!==o&&F!==n&&F!==a&&F!==l&&F!==f){B=I;do{D=false;B=S.indexOf(")",B+1);if(B===-1){if(v||A){B=I;break}else{unclosed("bracket")}}z=B;while(S.charCodeAt(z-1)===s){z-=1;D=!D}}while(D);N=["brackets",S.slice(I,B+1),I,B];I=B}else{B=S.indexOf(")",I+1);E=S.slice(I,B+1);if(B===-1||C.test(E)){N=["(","(",I]}else{N=["brackets",E,I,B];I=B}}break}case t:case r:{P=R===t?"'":'"';B=I;do{D=false;B=S.indexOf(P,B+1);if(B===-1){if(v||A){B=I+1;break}else{unclosed("string")}}z=B;while(S.charCodeAt(z-1)===s){z-=1;D=!D}}while(D);N=["string",S.slice(I,B+1),I,B];I=B;break}case b:{k.lastIndex=I+1;k.test(S);if(k.lastIndex===0){B=S.length-1}else{B=k.lastIndex-2}N=["at-word",S.slice(I,B+1),I,B];I=B;break}case s:{B=I;_=true;while(S.charCodeAt(B+1)===s){B+=1;_=!_}R=S.charCodeAt(B+1);if(_&&R!==i&&R!==o&&R!==n&&R!==a&&R!==f&&R!==l){B+=1;if(O.test(S.charAt(B))){while(O.test(S.charAt(B+1))){B+=1}if(S.charCodeAt(B+1)===o){B+=1}}}N=["word",S.slice(I,B+1),I,B];I=B;break}default:{if(R===i&&S.charCodeAt(I+1)===g){B=S.indexOf("*/",I+2)+1;if(B===0){if(v||A){B=S.length}else{unclosed("comment")}}N=["comment",S.slice(I,B+1),I,B];I=B}else{x.lastIndex=I+1;x.test(S);if(x.lastIndex===0){B=S.length-1}else{B=x.lastIndex-2}N=["word",S.slice(I,B+1),I,B];M.push(N);I=B}break}}I++;return N}function back(e){j.push(e)}return{back:back,nextToken:nextToken,endOfFile:endOfFile,position:position}}},977:e=>{"use strict";e.exports=require("postcss")},373:(e,t)=>{let r=!("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 raw=(e,t,s,i)=>n=>r?e+(~(n+="").indexOf(t,4)?n.replace(s,i):n)+t:n;const init=(e,t)=>raw(`[${e}m`,`[${t}m`,new RegExp(`\\x1b\\[${t}m`,"g"),`[${e}m`);t.options=Object.defineProperty({},"enabled",{get:()=>r,set:e=>r=e});t.reset=init(0,0);t.bold=raw("","",/\x1b\[22m/g,"");t.dim=raw("","",/\x1b\[22m/g,"");t.italic=init(3,23);t.underline=init(4,24);t.inverse=init(7,27);t.hidden=init(8,28);t.strikethrough=init(9,29);t.black=init(30,39);t.red=init(31,39);t.green=init(32,39);t.yellow=init(33,39);t.blue=init(34,39);t.magenta=init(35,39);t.cyan=init(36,39);t.white=init(37,39);t.gray=init(90,39);t.bgBlack=init(40,49);t.bgRed=init(41,49);t.bgGreen=init(42,49);t.bgYellow=init(43,49);t.bgBlue=init(44,49);t.bgMagenta=init(45,49);t.bgCyan=init(46,49);t.bgWhite=init(47,49);t.blackBright=init(90,39);t.redBright=init(91,39);t.greenBright=init(92,39);t.yellowBright=init(93,39);t.blueBright=init(94,39);t.magentaBright=init(95,39);t.cyanBright=init(96,39);t.whiteBright=init(97,39);t.bgBlackBright=init(100,49);t.bgRedBright=init(101,49);t.bgGreenBright=init(102,49);t.bgYellowBright=init(103,49);t.bgBlueBright=init(104,49);t.bgMagentaBright=init(105,49);t.bgCyanBright=init(106,49);t.bgWhiteBright=init(107,49)}};var t={};function __nccwpck_require__(r){var s=t[r];if(s!==undefined){return s.exports}var i=t[r]={exports:{}};var n=true;try{e[r](i,i.exports,__nccwpck_require__);n=false}finally{if(n)delete t[r]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(376);module.exports=r})(); \ No newline at end of file +(()=>{var e={397:(e,t,r)=>{let s=r(224);let i=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||s.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env);let formatter=(e,t,r=e)=>s=>{let i=""+s;let n=i.indexOf(t,e.length);return~n?e+replaceClose(i,t,r,n)+t:e+i+t};let replaceClose=(e,t,r,s)=>{let i=e.substring(0,s)+r;let n=e.substring(s+t.length);let o=n.indexOf(t);return~o?i+replaceClose(n,t,r,o):i+n};let createColors=(e=i)=>({isColorSupported:e,reset:e?e=>`${e}`:String,bold:e?formatter("","",""):String,dim:e?formatter("","",""):String,italic:e?formatter("",""):String,underline:e?formatter("",""):String,inverse:e?formatter("",""):String,hidden:e?formatter("",""):String,strikethrough:e?formatter("",""):String,black:e?formatter("",""):String,red:e?formatter("",""):String,green:e?formatter("",""):String,yellow:e?formatter("",""):String,blue:e?formatter("",""):String,magenta:e?formatter("",""):String,cyan:e?formatter("",""):String,white:e?formatter("",""):String,gray:e?formatter("",""):String,bgBlack:e?formatter("",""):String,bgRed:e?formatter("",""):String,bgGreen:e?formatter("",""):String,bgYellow:e?formatter("",""):String,bgBlue:e?formatter("",""):String,bgMagenta:e?formatter("",""):String,bgCyan:e?formatter("",""):String,bgWhite:e?formatter("",""):String});e.exports=createColors();e.exports.createColors=createColors},376:(e,t,r)=>{let{Input:s}=r(977);let i=r(311);e.exports=function safeParse(e,t){let r=new s(e,t);let n=new i(r);n.parse();return n.root}},311:(e,t,r)=>{let s=r(956);let i=r(472);let n=r(589);class SafeParser extends n{createTokenizer(){this.tokenizer=s(this.input,{ignoreErrors:true})}comment(e){let t=new i;this.init(t,e[2]);let r=this.input.fromOffset(e[3])||this.input.fromOffset(this.input.css.length-1);t.source.end={offset:e[3],line:r.line,column:r.col};let s=e[1].slice(2);if(s.slice(-2)==="*/")s=s.slice(0,-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]}}decl(e){if(e.length>1&&e.some((e=>e[0]==="word"))){super.decl(e)}}unclosedBracket(){}unknownWord(e){this.spaces+=e.map((e=>e[1])).join("")}unexpectedClose(){this.current.raws.after+="}"}doubleColon(){}unnamedAtrule(e){e.name=""}precheckMissedSemicolon(e){let t=this.colon(e);if(t===false)return;let r,s;for(r=t-1;r>=0;r--){if(e[r][0]==="word")break}if(r===0)return;for(s=r-1;s>=0;s--){if(e[s][0]!=="space"){s+=1;break}}let i=e.slice(r);let n=e.slice(s,r);e.splice(s,e.length-s);this.spaces=n.map((e=>e[1])).join("");this.decl(i)}checkMissedSemicolon(){}endFile(){if(this.current.nodes&&this.current.nodes.length){this.current.raws.semicolon=this.semicolon}this.current.raws.after=(this.current.raws.after||"")+this.spaces;while(this.current.parent){this.current=this.current.parent;this.current.raws.after=""}}}e.exports=SafeParser},942:(e,t,r)=>{"use strict";let s=r(190);class AtRule extends s{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;s.registerAtRule(AtRule)},472:(e,t,r)=>{"use strict";let s=r(759);class Comment extends s{constructor(e){super(e);this.type="comment"}}e.exports=Comment;Comment.default=Comment},190:(e,t,r)=>{"use strict";let{isClean:s,my:i}=r(932);let n=r(892);let o=r(472);let l=r(759);let a,f,h;function cleanSource(e){return e.map((e=>{if(e.nodes)e.nodes=cleanSource(e.nodes);delete e.source;return e}))}function markDirtyUp(e){e[s]=false;if(e.proxyOf.nodes){for(let t of e.proxyOf.nodes){markDirtyUp(t)}}}class Container extends l{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 r,s;while(this.indexes[t]{let s;try{s=e(t,r)}catch(e){throw t.addToError(e)}if(s!==false&&t.walk){s=t.walk(e)}return s}))}walkDecls(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="decl"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,s)=>{if(r.type==="decl"&&e.test(r.prop)){return t(r,s)}}))}return this.walk(((r,s)=>{if(r.type==="decl"&&r.prop===e){return t(r,s)}}))}walkRules(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="rule"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,s)=>{if(r.type==="rule"&&e.test(r.selector)){return t(r,s)}}))}return this.walk(((r,s)=>{if(r.type==="rule"&&r.selector===e){return t(r,s)}}))}walkAtRules(e,t){if(!t){t=e;return this.walk(((e,r)=>{if(e.type==="atrule"){return t(e,r)}}))}if(e instanceof RegExp){return this.walk(((r,s)=>{if(r.type==="atrule"&&e.test(r.name)){return t(r,s)}}))}return this.walk(((r,s)=>{if(r.type==="atrule"&&r.name===e){return t(r,s)}}))}walkComments(e){return this.walk(((t,r)=>{if(t.type==="comment"){return e(t,r)}}))}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 r=e===0?"prepend":false;let s=this.normalize(t,this.proxyOf.nodes[e],r).reverse();for(let t of s)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+s.length}}this.markDirty();return this}insertAfter(e,t){e=this.index(e);let r=this.normalize(t,this.proxyOf.nodes[e]).reverse();for(let t of r)this.proxyOf.nodes.splice(e+1,0,t);let s;for(let t in this.indexes){s=this.indexes[t];if(e=e){this.indexes[r]=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,r){if(!r){r=t;t={}}this.walkDecls((s=>{if(t.props&&!t.props.includes(s.prop))return;if(t.fast&&!s.value.includes(t.fast))return;s.value=s.value.replace(e,r)}));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(a(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"&&this.type!=="document"){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 n(e)]}else if(e.selector){e=[new f(e)]}else if(e.name){e=[new h(e)]}else if(e.text){e=[new o(e)]}else{throw new Error("Unknown node type in node creation")}let r=e.map((e=>{if(!e[i])Container.rebuild(e);e=e.proxyOf;if(e.parent)e.parent.removeChild(e);if(e[s])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 r}getProxyProcessor(){return{set(e,t,r){if(e[t]===r)return true;e[t]=r;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(...r)=>e[t](...r.map((e=>{if(typeof e==="function"){return(t,r)=>e(t.toProxy(),r)}else{return e}})))}else if(t==="every"||t==="some"){return r=>e[t](((e,...t)=>r(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=>{a=e};Container.registerRule=e=>{f=e};Container.registerAtRule=e=>{h=e};e.exports=Container;Container.default=Container;Container.rebuild=e=>{if(e.type==="atrule"){Object.setPrototypeOf(e,h.prototype)}else if(e.type==="rule"){Object.setPrototypeOf(e,f.prototype)}else if(e.type==="decl"){Object.setPrototypeOf(e,n.prototype)}else if(e.type==="comment"){Object.setPrototypeOf(e,o.prototype)}e[i]=true;if(e.nodes){e.nodes.forEach((e=>{Container.rebuild(e)}))}}},540:(e,t,r)=>{"use strict";let s=r(397);let i=r(536);class CssSyntaxError extends Error{constructor(e,t,r,s,i,n){super(e);this.name="CssSyntaxError";this.reason=e;if(i){this.file=i}if(s){this.source=s}if(n){this.plugin=n}if(typeof t!=="undefined"&&typeof r!=="undefined"){if(typeof t==="number"){this.line=t;this.column=r}else{this.line=t.line;this.column=t.column;this.endLine=r.line;this.endColumn=r.column}}this.setMessage();if(Error.captureStackTrace){Error.captureStackTrace(this,CssSyntaxError)}}setMessage(){this.message=this.plugin?this.plugin+": ":"";this.message+=this.file?this.file:"";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=s.isColorSupported;if(i){if(e)t=i(t)}let r=t.split(/\r?\n/);let n=Math.max(this.line-3,0);let o=Math.min(this.line+2,r.length);let l=String(o).length;let a,f;if(e){let{bold:e,red:t,gray:r}=s.createColors(true);a=r=>e(t(r));f=e=>r(e)}else{a=f=e=>e}return r.slice(n,o).map(((e,t)=>{let r=n+1+t;let s=" "+(" "+r).slice(-l)+" | ";if(r===this.line){let t=f(s.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+f(s)+e+"\n "+t+a("^")}return" "+f(s)+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},892:(e,t,r)=>{"use strict";let s=r(759);class Declaration extends s{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},457:e=>{"use strict";let t={split(e,t,r){let s=[];let i="";let n=false;let o=0;let l=false;let a=false;for(let r of e){if(a){a=false}else if(r==="\\"){a=true}else if(l){if(r===l){l=false}}else if(r==='"'||r==="'"){l=r}else if(r==="("){o+=1}else if(r===")"){if(o>0)o-=1}else if(o===0){if(t.includes(r))n=true}if(n){if(i!=="")s.push(i.trim());i="";n=false}else{i+=r}}if(r||i!=="")s.push(i.trim());return s},space(e){let r=[" ","\n","\t"];return t.split(e,r)},comma(e){return t.split(e,[","],true)}};e.exports=t;t.default=t},759:(e,t,r)=>{"use strict";let{isClean:s,my:i}=r(932);let n=r(540);let o=r(552);let l=r(411);function cloneNode(e,t){let r=new e.constructor;for(let s in e){if(!Object.prototype.hasOwnProperty.call(e,s)){continue}if(s==="proxyCache")continue;let i=e[s];let n=typeof i;if(s==="parent"&&n==="object"){if(t)r[s]=t}else if(s==="source"){r[s]=i}else if(Array.isArray(i)){r[s]=i.map((e=>cloneNode(e,r)))}else{if(n==="object"&&i!==null)i=cloneNode(i);r[s]=i}}return r}class Node{constructor(e={}){this.raws={};this[s]=false;this[i]=true;for(let t in e){if(t==="nodes"){this.nodes=[];for(let r of e[t]){if(typeof r.clone==="function"){this.append(r.clone())}else{this.append(r)}}}else{this[t]=e[t]}}}error(e,t={}){if(this.source){let{start:r,end:s}=this.rangeBy(t);return this.source.input.error(e,{line:r.line,column:r.column},{line:s.line,column:s.column},t)}return new n(e)}warn(e,t,r){let s={node:this};for(let e in r)s[e]=r[e];return e.warn(t,s)}remove(){if(this.parent){this.parent.removeChild(this)}this.parent=undefined;return this}toString(e=l){if(e.stringify)e=e.stringify;let t="";e(this,(e=>{t+=e}));return t}assign(e={}){for(let t in e){this[t]=e[t]}return this}clone(e={}){let t=cloneNode(this);for(let r in e){t[r]=e[r]}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 r=false;for(let s of e){if(s===this){r=true}else if(r){this.parent.insertAfter(t,s);t=s}else{this.parent.insertBefore(t,s)}}if(!r){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.parent.type!=="document"){e=e.parent}return e}raw(e,t){let r=new o;return r.raw(this,e,t)}cleanRaws(e){delete this.raws.before;delete this.raws.after;if(!e)delete this.raws.between}toJSON(e,t){let r={};let s=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 s=this[e];if(Array.isArray(s)){r[e]=s.map((e=>{if(typeof e==="object"&&e.toJSON){return e.toJSON(null,t)}else{return e}}))}else if(typeof s==="object"&&s.toJSON){r[e]=s.toJSON(null,t)}else if(e==="source"){let n=t.get(s.input);if(n==null){n=i;t.set(s.input,i);i++}r[e]={inputId:n,start:s.start,end:s.end}}else{r[e]=s}}if(s){r.inputs=[...t.keys()].map((e=>e.toJSON()))}return r}positionInside(e){let t=this.toString();let r=this.source.start.column;let s=this.source.start.line;for(let i=0;ie.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[s]){this[s]=false;let e=this;while(e=e.parent){e[s]=false}}}get proxyOf(){return this}}e.exports=Node;Node.default=Node},589:(e,t,r)=>{"use strict";let s=r(892);let i=r(956);let n=r(472);let o=r(942);let l=r(15);let a=r(545);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 r=e[1].slice(2,-2);if(/^\s*$/.test(r)){t.text="";t.raws.left=r;t.raws.right=""}else{let e=r.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2];t.raws.left=e[1];t.raws.right=e[3]}}emptyRule(e){let t=new a;this.init(t,e[2]);t.selector="";t.raws.between="";this.current=t}other(e){let t=false;let r=null;let s=false;let i=null;let n=[];let o=e[1].startsWith("--");let l=[];let a=e;while(a){r=a[0];l.push(a);if(r==="("||r==="["){if(!i)i=a;n.push(r==="("?")":"]")}else if(o&&s&&r==="{"){if(!i)i=a;n.push("}")}else if(n.length===0){if(r===";"){if(s){this.decl(l,o);return}else{break}}else if(r==="{"){this.rule(l);return}else if(r==="}"){this.tokenizer.back(l.pop());t=true;break}else if(r===":"){s=true}}else if(r===n[n.length-1]){n.pop();if(n.length===0)i=null}a=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile())t=true;if(n.length>0)this.unclosedBracket(i);if(t&&s){while(l.length){a=l[l.length-1][0];if(a!=="space"&&a!=="comment")break;this.tokenizer.back(l.pop())}this.decl(l,o)}else{this.unknownWord(l)}}rule(e){e.pop();let t=new a;this.init(t,e[0][2]);t.raws.between=this.spacesAndCommentsFromEnd(e);this.raw(t,"selector",e);this.current=t}decl(e,t){let r=new s;this.init(r,e[0][2]);let i=e[e.length-1];if(i[0]===";"){this.semicolon=true;e.pop()}r.source.end=this.getPosition(i[3]||i[2]);while(e[0][0]!=="word"){if(e.length===1)this.unknownWord(e);r.raws.before+=e.shift()[1]}r.source.start=this.getPosition(e[0][2]);r.prop="";while(e.length){let t=e[0][0];if(t===":"||t==="space"||t==="comment"){break}r.prop+=e.shift()[1]}r.raws.between="";let n;while(e.length){n=e.shift();if(n[0]===":"){r.raws.between+=n[1];break}else{if(n[0]==="word"&&/\w/.test(n[1])){this.unknownWord([n])}r.raws.between+=n[1]}}if(r.prop[0]==="_"||r.prop[0]==="*"){r.raws.before+=r.prop[0];r.prop=r.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"){r.important=true;let s=this.stringFrom(e,t);s=this.spacesFromEnd(e)+s;if(s!==" !important")r.raws.important=s;break}else if(n[1].toLowerCase()==="important"){let s=e.slice(0);let i="";for(let e=t;e>0;e--){let t=s[e][0];if(i.trim().indexOf("!")===0&&t!=="space"){break}i=s.pop()[1]+i}if(i.trim().indexOf("!")===0){r.important=true;r.raws.important=i;e=s}}if(n[0]!=="space"&&n[0]!=="comment"){break}}let l=e.some((e=>e[0]!=="space"&&e[0]!=="comment"));this.raw(r,"value",e);if(l){r.raws.between+=o}else{r.value=o+r.value}if(r.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 r;let s;let i;let n=false;let l=false;let a=[];let f=[];while(!this.tokenizer.endOfFile()){e=this.tokenizer.nextToken();r=e[0];if(r==="("||r==="["){f.push(r==="("?")":"]")}else if(r==="{"&&f.length>0){f.push("}")}else if(r===f[f.length-1]){f.pop()}if(f.length===0){if(r===";"){t.source.end=this.getPosition(e[2]);this.semicolon=true;break}else if(r==="{"){l=true;break}else if(r==="}"){if(a.length>0){i=a.length-1;s=a[i];while(s&&s[0]==="space"){s=a[--i]}if(s){t.source.end=this.getPosition(s[3]||s[2])}}this.end(e);break}else{a.push(e)}}else{a.push(e)}if(this.tokenizer.endOfFile()){n=true;break}}t.raws.between=this.spacesAndCommentsFromEnd(a);if(a.length){t.raws.afterName=this.spacesAndCommentsFromStart(a);this.raw(t,"params",a);if(n){e=a[a.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,r){let s,i;let n=r.length;let o="";let l=true;let a,f;let h=/^([#.|])?(\w)+/i;for(let t=0;te+t[1]),"");e.raws[t]={value:o,raw:s}}e[t]=o}spacesAndCommentsFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space"&&t!=="comment")break;r=e.pop()[1]+r}return r}spacesAndCommentsFromStart(e){let t;let r="";while(e.length){t=e[0][0];if(t!=="space"&&t!=="comment")break;r+=e.shift()[1]}return r}spacesFromEnd(e){let t;let r="";while(e.length){t=e[e.length-1][0];if(t!=="space")break;r=e.pop()[1]+r}return r}stringFrom(e,t){let r="";for(let s=t;s=0;i--){s=e[i];if(s[0]!=="space"){r+=1;if(r===2)break}}throw this.input.error("Missed semicolon",s[0]==="word"?s[3]+1:s[2])}}e.exports=Parser},15:(e,t,r)=>{"use strict";let s=r(190);let i,n;class Root extends s{constructor(e){super(e);this.type="root";if(!this.nodes)this.nodes=[]}removeChild(e,t){let r=this.index(e);if(!t&&r===0&&this.nodes.length>1){this.nodes[1].raws.before=this.nodes[r].raws.before}return super.removeChild(e)}normalize(e,t,r){let s=super.normalize(e);if(t){if(r==="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 s){e.raws.before=t.raws.before}}}return s}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},545:(e,t,r)=>{"use strict";let s=r(190);let i=r(457);class Rule extends s{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 r=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(r)}}e.exports=Rule;Rule.default=Rule;s.registerRule(Rule)},552: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)}document(e){this.body(e)}root(e){this.body(e);if(e.raws.after)this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft");let r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon");let s=e.prop+r+this.rawValue(e,"value");if(e.important){s+=e.raws.important||" !important"}if(t)s+=";";this.builder(s,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 r="@"+e.name;let s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){r+=e.raws.afterName}else if(s){r+=" "}if(e.nodes){this.block(e,r+s)}else{let i=(e.raws.between||"")+(t?";":"");this.builder(r+s+i,e)}}body(e){let t=e.nodes.length-1;while(t>0){if(e.nodes[t].type!=="comment")break;t-=1}let r=this.raw(e,"semicolon");for(let s=0;s{i=e.raws[r];if(typeof i!=="undefined")return false}))}}if(typeof i==="undefined")i=t[s];o.rawCache[s]=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((r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e){if(typeof r.raws.before!=="undefined"){let e=r.raws.before.split("\n");t=e[e.length-1];t=t.replace(/\S/g,"");return false}}}));return t}rawBeforeComment(e,t){let r;e.walkComments((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeDecl")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeDecl(e,t){let r;e.walkDecls((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeRule")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeRule(e){let t;e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)){if(typeof r.raws.before!=="undefined"){t=r.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 r;if(e.type==="decl"){r=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){r=this.raw(e,null,"beforeComment")}else if(t==="before"){r=this.raw(e,null,"beforeRule")}else{r=this.raw(e,null,"beforeClose")}let s=e.parent;let i=0;while(s&&s.type!=="root"){i+=1;s=s.parent}if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length){for(let e=0;e{"use strict";let s=r(552);function stringify(e,t){let r=new s(t);r.stringify(e)}e.exports=stringify;stringify.default=stringify},932:e=>{"use strict";e.exports.isClean=Symbol("isClean");e.exports.my=Symbol("my")},536:(e,t,r)=>{"use strict";let s=r(397);let i=r(956);let n;function registerInput(e){n=e}const o={brackets:s.cyan,"at-word":s.cyan,comment:s.gray,string:s.green,class:s.yellow,hash:s.magenta,call:s.cyan,"(":s.cyan,")":s.cyan,"{":s.yellow,"}":s.yellow,"[":s.yellow,"]":s.yellow,":":s.yellow,";":s.yellow};function getTokenType([e,t],r){if(e==="word"){if(t[0]==="."){return"class"}if(t[0]==="#"){return"hash"}}if(!r.endOfFile()){let e=r.nextToken();r.back(e);if(e[0]==="brackets"||e[0]==="(")return"call"}return e}function terminalHighlight(e){let t=i(new n(e),{ignoreErrors:true});let r="";while(!t.endOfFile()){let e=t.nextToken();let s=o[getTokenType(e,t)];if(s){r+=e[1].split(/\r?\n/).map((e=>s(e))).join("\n")}else{r+=e[1]}}return r}terminalHighlight.registerInput=registerInput;e.exports=terminalHighlight},956:e=>{"use strict";const t="'".charCodeAt(0);const r='"'.charCodeAt(0);const s="\\".charCodeAt(0);const i="/".charCodeAt(0);const n="\n".charCodeAt(0);const o=" ".charCodeAt(0);const l="\f".charCodeAt(0);const a="\t".charCodeAt(0);const f="\r".charCodeAt(0);const h="[".charCodeAt(0);const c="]".charCodeAt(0);const u="(".charCodeAt(0);const p=")".charCodeAt(0);const d="{".charCodeAt(0);const m="}".charCodeAt(0);const w=";".charCodeAt(0);const g="*".charCodeAt(0);const y=":".charCodeAt(0);const b="@".charCodeAt(0);const x=/[\t\n\f\r "#'()/;[\\\]{}]/g;const k=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const C=/.[\n"'(/\\]/;const S=/[\da-f]/i;e.exports=function tokenizer(e,O={}){let A=e.css.valueOf();let v=O.ignoreErrors;let R,P,E,_,D;let z,I,B,F,T;let N=A.length;let j=0;let M=[];let $=[];function position(){return j}function unclosed(t){throw e.error("Unclosed "+t,j)}function endOfFile(){return $.length===0&&j>=N}function nextToken(e){if($.length)return $.pop();if(j>=N)return;let O=e?e.ignoreUnclosed:false;R=A.charCodeAt(j);switch(R){case n:case o:case a:case f:case l:{P=j;do{P+=1;R=A.charCodeAt(P)}while(R===o||R===n||R===a||R===f||R===l);T=["space",A.slice(j,P)];j=P-1;break}case h:case c:case d:case m:case y:case w:case p:{let e=String.fromCharCode(R);T=[e,e,j];break}case u:{B=M.length?M.pop()[1]:"";F=A.charCodeAt(j+1);if(B==="url"&&F!==t&&F!==r&&F!==o&&F!==n&&F!==a&&F!==l&&F!==f){P=j;do{z=false;P=A.indexOf(")",P+1);if(P===-1){if(v||O){P=j;break}else{unclosed("bracket")}}I=P;while(A.charCodeAt(I-1)===s){I-=1;z=!z}}while(z);T=["brackets",A.slice(j,P+1),j,P];j=P}else{P=A.indexOf(")",j+1);_=A.slice(j,P+1);if(P===-1||C.test(_)){T=["(","(",j]}else{T=["brackets",_,j,P];j=P}}break}case t:case r:{E=R===t?"'":'"';P=j;do{z=false;P=A.indexOf(E,P+1);if(P===-1){if(v||O){P=j+1;break}else{unclosed("string")}}I=P;while(A.charCodeAt(I-1)===s){I-=1;z=!z}}while(z);T=["string",A.slice(j,P+1),j,P];j=P;break}case b:{x.lastIndex=j+1;x.test(A);if(x.lastIndex===0){P=A.length-1}else{P=x.lastIndex-2}T=["at-word",A.slice(j,P+1),j,P];j=P;break}case s:{P=j;D=true;while(A.charCodeAt(P+1)===s){P+=1;D=!D}R=A.charCodeAt(P+1);if(D&&R!==i&&R!==o&&R!==n&&R!==a&&R!==f&&R!==l){P+=1;if(S.test(A.charAt(P))){while(S.test(A.charAt(P+1))){P+=1}if(A.charCodeAt(P+1)===o){P+=1}}}T=["word",A.slice(j,P+1),j,P];j=P;break}default:{if(R===i&&A.charCodeAt(j+1)===g){P=A.indexOf("*/",j+2)+1;if(P===0){if(v||O){P=A.length}else{unclosed("comment")}}T=["comment",A.slice(j,P+1),j,P];j=P}else{k.lastIndex=j+1;k.test(A);if(k.lastIndex===0){P=A.length-1}else{P=k.lastIndex-2}T=["word",A.slice(j,P+1),j,P];M.push(T);j=P}break}}j++;return T}function back(e){$.push(e)}return{back:back,nextToken:nextToken,endOfFile:endOfFile,position:position}}},977:e=>{"use strict";e.exports=require("postcss")},224:e=>{"use strict";e.exports=require("tty")}};var t={};function __nccwpck_require__(r){var s=t[r];if(s!==undefined){return s.exports}var i=t[r]={exports:{}};var n=true;try{e[r](i,i.exports,__nccwpck_require__);n=false}finally{if(n)delete t[r]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(376);module.exports=r})(); \ No newline at end of file diff --git a/packages/next/compiled/postcss-scss/scss-syntax.js b/packages/next/compiled/postcss-scss/scss-syntax.js index fd2ca6c39869d5f..3b1c985e023a0a4 100644 --- a/packages/next/compiled/postcss-scss/scss-syntax.js +++ b/packages/next/compiled/postcss-scss/scss-syntax.js @@ -1 +1 @@ -(()=>{var e={852:(e,t,r)=>{const{Container:s}=r(977);class NestedDeclaration extends s{constructor(e){super(e);this.type="decl";this.isNested=true;if(!this.nodes)this.nodes=[]}}e.exports=NestedDeclaration},290:(e,t,r)=>{let{Input:s}=r(977);let i=r(560);e.exports=function scssParse(e,t){let r=new s(e,t);let n=new i(r);n.parse();return n.root}},560:(e,t,r)=>{let{Comment:s}=r(977);let i=r(46);let n=r(852);let l=r(584);class ScssParser extends i{createTokenizer(){this.tokenizer=l(this.input)}rule(e){let t=false;let r=0;let s="";for(let i of e){if(t){if(i[0]!=="comment"&&i[0]!=="{"){s+=i[1]}}else if(i[0]==="space"&&i[1].includes("\n")){break}else if(i[0]==="("){r+=1}else if(i[0]===")"){r-=1}else if(r===0&&i[0]===":"){t=true}}if(!t||s.trim()===""||/^[#:A-Za-z-]/.test(s)){super.rule(e)}else{e.pop();let t=new n;this.init(t,e[0][2]);let r;for(let t=e.length-1;t>=0;t--){if(e[t][0]!=="space"){r=e[t];break}}if(r[3]){let e=this.input.fromOffset(r[3]);t.source.end={offset:r[3],line:e.line,column:e.col}}else{let e=this.input.fromOffset(r[2]);t.source.end={offset:r[2],line:e.line,column:e.col}}while(e[0][0]!=="word"){t.raws.before+=e.shift()[1]}t.source.start={line:e[0][2],column:e[0][3]};t.prop="";while(e.length){let r=e[0][0];if(r===":"||r==="space"||r==="comment"){break}t.prop+=e.shift()[1]}t.raws.between="";let s;while(e.length){s=e.shift();if(s[0]===":"){t.raws.between+=s[1];break}else{t.raws.between+=s[1]}}if(t.prop[0]==="_"||t.prop[0]==="*"){t.raws.before+=t.prop[0];t.prop=t.prop.slice(1)}t.raws.between+=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let r=e.length-1;r>0;r--){s=e[r];if(s[1]==="!important"){t.important=true;let s=this.stringFrom(e,r);s=this.spacesFromEnd(e)+s;if(s!==" !important"){t.raws.important=s}break}else if(s[1]==="important"){let s=e.slice(0);let i="";for(let e=r;e>0;e--){let t=s[e][0];if(i.trim().indexOf("!")===0&&t!=="space"){break}i=s.pop()[1]+i}if(i.trim().indexOf("!")===0){t.important=true;t.raws.important=i;e=s}}if(s[0]!=="space"&&s[0]!=="comment"){break}}this.raw(t,"value",e);if(t.value.includes(":")){this.checkMissedSemicolon(e)}this.current=t}}comment(e){if(e[4]==="inline"){let t=new s;this.init(t,e[2]);t.raws.inline=true;let r=this.input.fromOffset(e[3]);t.source.end={offset:e[3],line:r.line,column:r.col};let i=e[1].slice(2);if(/^\s*$/.test(i)){t.text="";t.raws.left=i;t.raws.right=""}else{let e=i.match(/^(\s*)([^]*\S)(\s*)$/);let r=e[2].replace(/(\*\/|\/\*)/g,"*//*");t.text=r;t.raws.left=e[1];t.raws.right=e[3];t.raws.text=e[2]}}else{super.comment(e)}}raw(e,t,r){super.raw(e,t,r);if(e.raws[t]){let s=e.raws[t].raw;e.raws[t].raw=r.reduce(((e,t)=>{if(t[0]==="comment"&&t[4]==="inline"){let r=t[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return e+"/*"+r+"*/"}else{return e+t[1]}}),"");if(s!==e.raws[t].raw){e.raws[t].scss=s}}}}e.exports=ScssParser},787:(e,t,r)=>{let s=r(217);class ScssStringifier extends s{comment(e){let t=this.raw(e,"left","commentLeft");let r=this.raw(e,"right","commentRight");if(e.raws.inline){let s=e.raws.text||e.text;this.builder("//"+t+s+r,e)}else{this.builder("/*"+t+e.text+r+"*/",e)}}decl(e,t){if(!e.isNested){super.decl(e,t)}else{let t=this.raw(e,"between","colon");let r=e.prop+t+this.rawValue(e,"value");if(e.important){r+=e.raws.important||" !important"}this.builder(r+"{",e,"start");let s;if(e.nodes&&e.nodes.length){this.body(e);s=this.raw(e,"after")}else{s=this.raw(e,"after","emptyBody")}if(s)this.builder(s);this.builder("}",e,"end")}}rawValue(e,t){let r=e[t];let s=e.raws[t];if(s&&s.value===r){return s.scss?s.scss:s.raw}else{return r}}}e.exports=ScssStringifier},457:(e,t,r)=>{let s=r(787);e.exports=function scssStringify(e,t){let r=new s(t);r.stringify(e)}},632:(e,t,r)=>{let s=r(457);let i=r(290);e.exports={parse:i,stringify:s}},584:e=>{"use strict";const t="'".charCodeAt(0);const r='"'.charCodeAt(0);const s="\\".charCodeAt(0);const i="/".charCodeAt(0);const n="\n".charCodeAt(0);const l=" ".charCodeAt(0);const a="\f".charCodeAt(0);const o="\t".charCodeAt(0);const f="\r".charCodeAt(0);const c="[".charCodeAt(0);const d="]".charCodeAt(0);const u="(".charCodeAt(0);const h=")".charCodeAt(0);const w="{".charCodeAt(0);const p="}".charCodeAt(0);const m=";".charCodeAt(0);const b="*".charCodeAt(0);const g=":".charCodeAt(0);const C="@".charCodeAt(0);const k=",".charCodeAt(0);const y="#".charCodeAt(0);const x=/[\t\n\f\r "#'()/;[\\\]{}]/g;const A=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const _=/.[\n"'(/\\]/;const S=/[\da-f]/i;const O=/[\n\f\r]/g;e.exports=function scssTokenize(e,v={}){let I=e.css.valueOf();let B=v.ignoreErrors;let D,q,R,z,F;let N,T,V,$;let E=I.length;let P=0;let U=[];let L=[];let M;function position(){return P}function unclosed(t){throw e.error("Unclosed "+t,P)}function endOfFile(){return L.length===0&&P>=E}function interpolation(){let e=1;let i=false;let n=false;while(e>0){q+=1;if(I.length<=q)unclosed("interpolation");D=I.charCodeAt(q);V=I.charCodeAt(q+1);if(i){if(!n&&D===i){i=false;n=false}else if(D===s){n=!n}else if(n){n=false}}else if(D===t||D===r){i=D}else if(D===p){e-=1}else if(D===y&&V===w){e+=1}}}function nextToken(e){if(L.length)return L.pop();if(P>=E)return;let v=e?e.ignoreUnclosed:false;D=I.charCodeAt(P);switch(D){case n:case l:case o:case f:case a:{q=P;do{q+=1;D=I.charCodeAt(q)}while(D===l||D===n||D===o||D===f||D===a);$=["space",I.slice(P,q)];P=q-1;break}case c:case d:case w:case p:case g:case m:case h:{let e=String.fromCharCode(D);$=[e,e,P];break}case k:{$=["word",",",P,P+1];break}case u:{T=U.length?U.pop()[1]:"";V=I.charCodeAt(P+1);if(T==="url"&&V!==t&&V!==r){M=1;N=false;q=P+1;while(q<=I.length-1){V=I.charCodeAt(q);if(V===s){N=!N}else if(V===u){M+=1}else if(V===h){M-=1;if(M===0)break}q+=1}z=I.slice(P,q+1);$=["brackets",z,P,q];P=q}else{q=I.indexOf(")",P+1);z=I.slice(P,q+1);if(q===-1||_.test(z)){$=["(","(",P]}else{$=["brackets",z,P,q];P=q}}break}case t:case r:{R=D;q=P;N=false;while(q{"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 r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon");let s=e.prop+r+this.rawValue(e,"value");if(e.important){s+=e.raws.important||" !important"}if(t)s+=";";this.builder(s,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 r="@"+e.name;let s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){r+=e.raws.afterName}else if(s){r+=" "}if(e.nodes){this.block(e,r+s)}else{let i=(e.raws.between||"")+(t?";":"");this.builder(r+s+i,e)}}body(e){let t=e.nodes.length-1;while(t>0){if(e.nodes[t].type!=="comment")break;t-=1}let r=this.raw(e,"semicolon");for(let s=0;s{i=e.raws[r];if(typeof i!=="undefined")return false}))}}if(typeof i==="undefined")i=t[s];l.rawCache[s]=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((r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e){if(typeof r.raws.before!=="undefined"){let e=r.raws.before.split("\n");t=e[e.length-1];t=t.replace(/\S/g,"");return false}}}));return t}rawBeforeComment(e,t){let r;e.walkComments((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeDecl")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeDecl(e,t){let r;e.walkDecls((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeRule")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeRule(e){let t;e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)){if(typeof r.raws.before!=="undefined"){t=r.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 r;if(e.type==="decl"){r=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){r=this.raw(e,null,"beforeComment")}else if(t==="before"){r=this.raw(e,null,"beforeRule")}else{r=this.raw(e,null,"beforeClose")}let s=e.parent;let i=0;while(s&&s.type!=="root"){i+=1;s=s.parent}if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length){for(let e=0;e{"use strict";e.exports=require("postcss")},46:e=>{"use strict";e.exports=require("postcss/lib/parser")}};var t={};function __nccwpck_require__(r){var s=t[r];if(s!==undefined){return s.exports}var i=t[r]={exports:{}};var n=true;try{e[r](i,i.exports,__nccwpck_require__);n=false}finally{if(n)delete t[r]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(632);module.exports=r})(); \ No newline at end of file +(()=>{var e={852:(e,t,r)=>{const{Container:s}=r(977);class NestedDeclaration extends s{constructor(e){super(e);this.type="decl";this.isNested=true;if(!this.nodes)this.nodes=[]}}e.exports=NestedDeclaration},290:(e,t,r)=>{let{Input:s}=r(977);let i=r(560);e.exports=function scssParse(e,t){let r=new s(e,t);let n=new i(r);n.parse();return n.root}},560:(e,t,r)=>{let{Comment:s}=r(977);let i=r(46);let n=r(852);let l=r(584);class ScssParser extends i{createTokenizer(){this.tokenizer=l(this.input)}rule(e){let t=false;let r=0;let s="";for(let i of e){if(t){if(i[0]!=="comment"&&i[0]!=="{"){s+=i[1]}}else if(i[0]==="space"&&i[1].includes("\n")){break}else if(i[0]==="("){r+=1}else if(i[0]===")"){r-=1}else if(r===0&&i[0]===":"){t=true}}if(!t||s.trim()===""||/^[#:A-Za-z-]/.test(s)){super.rule(e)}else{e.pop();let t=new n;this.init(t,e[0][2]);let r;for(let t=e.length-1;t>=0;t--){if(e[t][0]!=="space"){r=e[t];break}}if(r[3]){let e=this.input.fromOffset(r[3]);t.source.end={offset:r[3],line:e.line,column:e.col}}else{let e=this.input.fromOffset(r[2]);t.source.end={offset:r[2],line:e.line,column:e.col}}while(e[0][0]!=="word"){t.raws.before+=e.shift()[1]}t.source.start={line:e[0][2],column:e[0][3]};t.prop="";while(e.length){let r=e[0][0];if(r===":"||r==="space"||r==="comment"){break}t.prop+=e.shift()[1]}t.raws.between="";let s;while(e.length){s=e.shift();if(s[0]===":"){t.raws.between+=s[1];break}else{t.raws.between+=s[1]}}if(t.prop[0]==="_"||t.prop[0]==="*"){t.raws.before+=t.prop[0];t.prop=t.prop.slice(1)}t.raws.between+=this.spacesAndCommentsFromStart(e);this.precheckMissedSemicolon(e);for(let r=e.length-1;r>0;r--){s=e[r];if(s[1]==="!important"){t.important=true;let s=this.stringFrom(e,r);s=this.spacesFromEnd(e)+s;if(s!==" !important"){t.raws.important=s}break}else if(s[1]==="important"){let s=e.slice(0);let i="";for(let e=r;e>0;e--){let t=s[e][0];if(i.trim().indexOf("!")===0&&t!=="space"){break}i=s.pop()[1]+i}if(i.trim().indexOf("!")===0){t.important=true;t.raws.important=i;e=s}}if(s[0]!=="space"&&s[0]!=="comment"){break}}this.raw(t,"value",e);if(t.value.includes(":")){this.checkMissedSemicolon(e)}this.current=t}}comment(e){if(e[4]==="inline"){let t=new s;this.init(t,e[2]);t.raws.inline=true;let r=this.input.fromOffset(e[3]);t.source.end={offset:e[3],line:r.line,column:r.col};let i=e[1].slice(2);if(/^\s*$/.test(i)){t.text="";t.raws.left=i;t.raws.right=""}else{let e=i.match(/^(\s*)([^]*\S)(\s*)$/);let r=e[2].replace(/(\*\/|\/\*)/g,"*//*");t.text=r;t.raws.left=e[1];t.raws.right=e[3];t.raws.text=e[2]}}else{super.comment(e)}}raw(e,t,r){super.raw(e,t,r);if(e.raws[t]){let s=e.raws[t].raw;e.raws[t].raw=r.reduce(((e,t)=>{if(t[0]==="comment"&&t[4]==="inline"){let r=t[1].slice(2).replace(/(\*\/|\/\*)/g,"*//*");return e+"/*"+r+"*/"}else{return e+t[1]}}),"");if(s!==e.raws[t].raw){e.raws[t].scss=s}}}}e.exports=ScssParser},787:(e,t,r)=>{let s=r(217);class ScssStringifier extends s{comment(e){let t=this.raw(e,"left","commentLeft");let r=this.raw(e,"right","commentRight");if(e.raws.inline){let s=e.raws.text||e.text;this.builder("//"+t+s+r,e)}else{this.builder("/*"+t+e.text+r+"*/",e)}}decl(e,t){if(!e.isNested){super.decl(e,t)}else{let t=this.raw(e,"between","colon");let r=e.prop+t+this.rawValue(e,"value");if(e.important){r+=e.raws.important||" !important"}this.builder(r+"{",e,"start");let s;if(e.nodes&&e.nodes.length){this.body(e);s=this.raw(e,"after")}else{s=this.raw(e,"after","emptyBody")}if(s)this.builder(s);this.builder("}",e,"end")}}rawValue(e,t){let r=e[t];let s=e.raws[t];if(s&&s.value===r){return s.scss?s.scss:s.raw}else{return r}}}e.exports=ScssStringifier},457:(e,t,r)=>{let s=r(787);e.exports=function scssStringify(e,t){let r=new s(t);r.stringify(e)}},632:(e,t,r)=>{let s=r(457);let i=r(290);e.exports={parse:i,stringify:s}},584:e=>{"use strict";const t="'".charCodeAt(0);const r='"'.charCodeAt(0);const s="\\".charCodeAt(0);const i="/".charCodeAt(0);const n="\n".charCodeAt(0);const l=" ".charCodeAt(0);const a="\f".charCodeAt(0);const o="\t".charCodeAt(0);const f="\r".charCodeAt(0);const c="[".charCodeAt(0);const d="]".charCodeAt(0);const u="(".charCodeAt(0);const h=")".charCodeAt(0);const w="{".charCodeAt(0);const p="}".charCodeAt(0);const m=";".charCodeAt(0);const b="*".charCodeAt(0);const g=":".charCodeAt(0);const C="@".charCodeAt(0);const y=",".charCodeAt(0);const k="#".charCodeAt(0);const x=/[\t\n\f\r "#'()/;[\\\]{}]/g;const A=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g;const _=/.[\n"'(/\\]/;const S=/[\da-f]/i;const O=/[\n\f\r]/g;e.exports=function scssTokenize(e,v={}){let I=e.css.valueOf();let B=v.ignoreErrors;let D,q,R,z,F;let N,T,V,$;let E=I.length;let P=0;let U=[];let L=[];let M;function position(){return P}function unclosed(t){throw e.error("Unclosed "+t,P)}function endOfFile(){return L.length===0&&P>=E}function interpolation(){let e=1;let i=false;let n=false;while(e>0){q+=1;if(I.length<=q)unclosed("interpolation");D=I.charCodeAt(q);V=I.charCodeAt(q+1);if(i){if(!n&&D===i){i=false;n=false}else if(D===s){n=!n}else if(n){n=false}}else if(D===t||D===r){i=D}else if(D===p){e-=1}else if(D===k&&V===w){e+=1}}}function nextToken(e){if(L.length)return L.pop();if(P>=E)return;let v=e?e.ignoreUnclosed:false;D=I.charCodeAt(P);switch(D){case n:case l:case o:case f:case a:{q=P;do{q+=1;D=I.charCodeAt(q)}while(D===l||D===n||D===o||D===f||D===a);$=["space",I.slice(P,q)];P=q-1;break}case c:case d:case w:case p:case g:case m:case h:{let e=String.fromCharCode(D);$=[e,e,P];break}case y:{$=["word",",",P,P+1];break}case u:{T=U.length?U.pop()[1]:"";V=I.charCodeAt(P+1);if(T==="url"&&V!==t&&V!==r){M=1;N=false;q=P+1;while(q<=I.length-1){V=I.charCodeAt(q);if(V===s){N=!N}else if(V===u){M+=1}else if(V===h){M-=1;if(M===0)break}q+=1}z=I.slice(P,q+1);$=["brackets",z,P,q];P=q}else{q=I.indexOf(")",P+1);z=I.slice(P,q+1);if(q===-1||_.test(z)){$=["(","(",P]}else{$=["brackets",z,P,q];P=q}}break}case t:case r:{R=D;q=P;N=false;while(q{"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)}document(e){this.body(e)}root(e){this.body(e);if(e.raws.after)this.builder(e.raws.after)}comment(e){let t=this.raw(e,"left","commentLeft");let r=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+r+"*/",e)}decl(e,t){let r=this.raw(e,"between","colon");let s=e.prop+r+this.rawValue(e,"value");if(e.important){s+=e.raws.important||" !important"}if(t)s+=";";this.builder(s,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 r="@"+e.name;let s=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName!=="undefined"){r+=e.raws.afterName}else if(s){r+=" "}if(e.nodes){this.block(e,r+s)}else{let i=(e.raws.between||"")+(t?";":"");this.builder(r+s+i,e)}}body(e){let t=e.nodes.length-1;while(t>0){if(e.nodes[t].type!=="comment")break;t-=1}let r=this.raw(e,"semicolon");for(let s=0;s{i=e.raws[r];if(typeof i!=="undefined")return false}))}}if(typeof i==="undefined")i=t[s];l.rawCache[s]=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((r=>{let s=r.parent;if(s&&s!==e&&s.parent&&s.parent===e){if(typeof r.raws.before!=="undefined"){let e=r.raws.before.split("\n");t=e[e.length-1];t=t.replace(/\S/g,"");return false}}}));return t}rawBeforeComment(e,t){let r;e.walkComments((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeDecl")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeDecl(e,t){let r;e.walkDecls((e=>{if(typeof e.raws.before!=="undefined"){r=e.raws.before;if(r.includes("\n")){r=r.replace(/[^\n]+$/,"")}return false}}));if(typeof r==="undefined"){r=this.raw(t,null,"beforeRule")}else if(r){r=r.replace(/\S/g,"")}return r}rawBeforeRule(e){let t;e.walk((r=>{if(r.nodes&&(r.parent!==e||e.first!==r)){if(typeof r.raws.before!=="undefined"){t=r.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 r;if(e.type==="decl"){r=this.raw(e,null,"beforeDecl")}else if(e.type==="comment"){r=this.raw(e,null,"beforeComment")}else if(t==="before"){r=this.raw(e,null,"beforeRule")}else{r=this.raw(e,null,"beforeClose")}let s=e.parent;let i=0;while(s&&s.type!=="root"){i+=1;s=s.parent}if(r.includes("\n")){let t=this.raw(e,null,"indent");if(t.length){for(let e=0;e{"use strict";e.exports=require("postcss")},46:e=>{"use strict";e.exports=require("postcss/lib/parser")}};var t={};function __nccwpck_require__(r){var s=t[r];if(s!==undefined){return s.exports}var i=t[r]={exports:{}};var n=true;try{e[r](i,i.exports,__nccwpck_require__);n=false}finally{if(n)delete t[r]}return i.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(632);module.exports=r})(); \ No newline at end of file