UNPKG

@winner-fed/bundler-webpack

Version:

@winner-fed/bundler-webpack

1 lines 366 kB
(function(){var e={9934:function(e){(()=>{"use strict";var t={831:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0});class s extends Error{constructor(e,t,r,n,i){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=i}}t.default=s},711:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}}},607:function(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);i&&!("get"in i?!t.__esModule:i.writable||i.configurable)||(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=t.parse=void 0;var o=r(654);Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return o.default}});var u=r(373);Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return u.default}}),i(r(371),t),i(r(831),t),i(r(711),t)},654:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parse=void 0;const n=r(831),i=r(711),o=r(371),u=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;function c(e){return e?e.trim():""}function a(e,t){const r=e&&"string"==typeof e.type,n=r?e:t;for(const t in e){const r=e[t];Array.isArray(r)?r.forEach((e=>{a(e,n)})):r&&"object"==typeof r&&a(r,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}t.parse=(e,t)=>{t=t||{};let r=1,h=1;function m(){const e={line:r,column:h};return function(n){return n.position=new i.default(e,{line:r,column:h},(null==t?void 0:t.source)||""),g(),n}}const _=[];function p(i){const o=new n.default((null==t?void 0:t.source)||"",i,r,h,e);if(!(null==t?void 0:t.silent))throw o;_.push(o)}function l(){return y(/^{\s*/)}function f(){return y(/^}/)}function d(){let t;const r=[];for(g(),v(r);e.length&&"}"!==e.charAt(0)&&(t=M()||P());)t&&(r.push(t),v(r));return r}function y(t){const n=t.exec(e);if(!n)return;const i=n[0];return function(e){const t=e.match(/\n/g);t&&(r+=t.length);const n=e.lastIndexOf("\n");h=~n?e.length-n:h+e.length}(i),e=e.slice(i.length),n}function g(){y(/^\s*/)}function v(e){let t;for(e=e||[];t=C();)t&&e.push(t);return e}function C(){const t=m();if("/"!==e.charAt(0)||"*"!==e.charAt(1))return;const r=y(/^\/\*[^]*?\*\//);return r?t({type:o.CssTypes.comment,comment:r[0].slice(2,-2)}):p("End of comment missing")}function T(){const e=y(/^([^{]+)/);if(!e)return;const t=c(e[0]).replace(/\/\*[^]*?\*\//gm,"");return-1===t.indexOf(",")?[t]:t.replace(/("|')(?:\\\1|.)*?\1|\(.*?\)/g,(e=>e.replace(/,/g,"‌"))).split(",").map((e=>c(e.replace(/\u200C/g,","))))}function V(){const e=m(),t=y(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!t)return;const r=c(t[0]);if(!y(/^:\s*/))return p("property missing ':'");const n=y(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),i=e({type:o.CssTypes.declaration,property:r.replace(u,""),value:n?c(n[0]).replace(u,""):""});return y(/^[;\s]*/),i}function b(){const e=[];if(!l())return p("missing '{'");let t;for(v(e);t=V();)t&&(e.push(t),v(e));return f()?e:p("missing '}'")}function j(){let e;const t=[],r=m();for(;e=y(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)t.push(e[1]),y(/^,\s*/);if(t.length)return r({type:o.CssTypes.keyframe,values:t,declarations:b()||[]})}const S=w("import"),k=w("charset"),x=w("namespace");function w(e){const t=new RegExp("^@"+e+"\\s*((:?[^;'\"]|\"(?:\\\\\"|[^\"])*?\"|'(?:\\\\'|[^'])*?')+);");return function(){const r=m(),n=y(t);if(!n)return;const i={type:e};return i[e]=n[1].trim(),r(i)}}function M(){if("@"===e[0])return function(){const e=m(),t=y(/^@([-\w]+)?keyframes\s*/);if(!t)return;const r=t[1],n=y(/^([-\w]+)\s*/);if(!n)return p("@keyframes missing name");const i=n[1];if(!l())return p("@keyframes missing '{'");let u,h=v();for(;u=j();)h.push(u),h=h.concat(v());return f()?e({type:o.CssTypes.keyframes,name:i,vendor:r,keyframes:h}):p("@keyframes missing '}'")}()||function(){const e=m(),t=y(/^@media *([^{]+)/);if(!t)return;const r=c(t[1]);if(!l())return p("@media missing '{'");const n=v().concat(d());return f()?e({type:o.CssTypes.media,media:r,rules:n}):p("@media missing '}'")}()||function(){const e=m(),t=y(/^@custom-media\s+(--[^\s]+)\s*([^{;]+);/);if(t)return e({type:o.CssTypes.customMedia,name:c(t[1]),media:c(t[2])})}()||function(){const e=m(),t=y(/^@supports *([^{]+)/);if(!t)return;const r=c(t[1]);if(!l())return p("@supports missing '{'");const n=v().concat(d());return f()?e({type:o.CssTypes.supports,supports:r,rules:n}):p("@supports missing '}'")}()||S()||k()||x()||function(){const e=m(),t=y(/^@([-\w]+)?document *([^{]+)/);if(!t)return;const r=c(t[1]),n=c(t[2]);if(!l())return p("@document missing '{'");const i=v().concat(d());return f()?e({type:o.CssTypes.document,document:n,vendor:r,rules:i}):p("@document missing '}'")}()||function(){const e=m();if(!y(/^@page */))return;const t=T()||[];if(!l())return p("@page missing '{'");let r,n=v();for(;r=V();)n.push(r),n=n.concat(v());return f()?e({type:o.CssTypes.page,selectors:t,declarations:n}):p("@page missing '}'")}()||function(){const e=m();if(!y(/^@host\s*/))return;if(!l())return p("@host missing '{'");const t=v().concat(d());return f()?e({type:o.CssTypes.host,rules:t}):p("@host missing '}'")}()||function(){const e=m();if(!y(/^@font-face\s*/))return;if(!l())return p("@font-face missing '{'");let t,r=v();for(;t=V();)r.push(t),r=r.concat(v());return f()?e({type:o.CssTypes.fontFace,declarations:r}):p("@font-face missing '}'")}()||function(){const e=m(),t=y(/^@container *([^{]+)/);if(!t)return;const r=c(t[1]);if(!l())return p("@container missing '{'");const n=v().concat(d());return f()?e({type:o.CssTypes.container,container:r,rules:n}):p("@container missing '}'")}()||function(){const e=m(),t=y(/^@layer *([^{;@]+)/);if(!t)return;const r=c(t[1]);if(!l())return y(/^[;\s]*/),e({type:o.CssTypes.layer,layer:r});const n=v().concat(d());return f()?e({type:o.CssTypes.layer,layer:r,rules:n}):p("@layer missing '}'")}()}function P(){const e=m(),t=T();return t?(v(),e({type:o.CssTypes.rule,selectors:t,declarations:b()||[]})):p("selector missing")}return a(function(){const e=d();return{type:o.CssTypes.stylesheet,stylesheet:{source:null==t?void 0:t.source,rules:e,parsingErrors:_}}}())},t.default=t.parse},854:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=r(371);t.default=class{constructor(e){this.level=0,this.indentation=" ",this.compress=!1,"string"==typeof(null==e?void 0:e.indent)&&(this.indentation=null==e?void 0:e.indent),(null==e?void 0:e.compress)&&(this.compress=!0)}emit(e,t){return e}indent(e){return this.level=this.level||1,e?(this.level+=e,""):Array(this.level).join(this.indentation)}visit(e){switch(e.type){case n.CssTypes.stylesheet:return this.stylesheet(e);case n.CssTypes.rule:return this.rule(e);case n.CssTypes.declaration:return this.declaration(e);case n.CssTypes.comment:return this.comment(e);case n.CssTypes.container:return this.container(e);case n.CssTypes.charset:return this.charset(e);case n.CssTypes.document:return this.document(e);case n.CssTypes.customMedia:return this.customMedia(e);case n.CssTypes.fontFace:return this.fontFace(e);case n.CssTypes.host:return this.host(e);case n.CssTypes.import:return this.import(e);case n.CssTypes.keyframes:return this.keyframes(e);case n.CssTypes.keyframe:return this.keyframe(e);case n.CssTypes.layer:return this.layer(e);case n.CssTypes.media:return this.media(e);case n.CssTypes.namespace:return this.namespace(e);case n.CssTypes.page:return this.page(e);case n.CssTypes.supports:return this.supports(e)}}mapVisit(e,t){let r="";t=t||"";for(let n=0,i=e.length;n<i;n++)r+=this.visit(e[n]),t&&n<i-1&&(r+=this.emit(t));return r}compile(e){return this.compress?e.stylesheet.rules.map(this.visit,this).join(""):this.stylesheet(e)}stylesheet(e){return this.mapVisit(e.stylesheet.rules,"\n\n")}comment(e){return this.compress?this.emit("",e.position):this.emit(this.indent()+"/*"+e.comment+"*/",e.position)}container(e){return this.compress?this.emit("@container "+e.container,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}"):this.emit(this.indent()+"@container "+e.container,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit("\n"+this.indent(-1)+this.indent()+"}")}layer(e){return this.compress?this.emit("@layer "+e.layer,e.position)+(e.rules?this.emit("{")+this.mapVisit(e.rules)+this.emit("}"):";"):this.emit(this.indent()+"@layer "+e.layer,e.position)+(e.rules?this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit("\n"+this.indent(-1)+this.indent()+"}"):";")}import(e){return this.emit("@import "+e.import+";",e.position)}media(e){return this.compress?this.emit("@media "+e.media,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}"):this.emit(this.indent()+"@media "+e.media,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit("\n"+this.indent(-1)+this.indent()+"}")}document(e){const t="@"+(e.vendor||"")+"document "+e.document;return this.compress?this.emit(t,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}"):this.emit(t,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")}charset(e){return this.emit("@charset "+e.charset+";",e.position)}namespace(e){return this.emit("@namespace "+e.namespace+";",e.position)}supports(e){return this.compress?this.emit("@supports "+e.supports,e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}"):this.emit(this.indent()+"@supports "+e.supports,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit("\n"+this.indent(-1)+this.indent()+"}")}keyframes(e){return this.compress?this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit("{")+this.mapVisit(e.keyframes)+this.emit("}"):this.emit("@"+(e.vendor||"")+"keyframes "+e.name,e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.keyframes,"\n")+this.emit(this.indent(-1)+"}")}keyframe(e){const t=e.declarations;return this.compress?this.emit(e.values.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}"):this.emit(this.indent())+this.emit(e.values.join(", "),e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(t,"\n")+this.emit(this.indent(-1)+"\n"+this.indent()+"}\n")}page(e){if(this.compress){const t=e.selectors.length?e.selectors.join(", "):"";return this.emit("@page "+t,e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}")}const t=e.selectors.length?e.selectors.join(", ")+" ":"";return this.emit("@page "+t,e.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(e.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")}fontFace(e){return this.compress?this.emit("@font-face",e.position)+this.emit("{")+this.mapVisit(e.declarations)+this.emit("}"):this.emit("@font-face ",e.position)+this.emit("{\n")+this.emit(this.indent(1))+this.mapVisit(e.declarations,"\n")+this.emit(this.indent(-1))+this.emit("\n}")}host(e){return this.compress?this.emit("@host",e.position)+this.emit("{")+this.mapVisit(e.rules)+this.emit("}"):this.emit("@host",e.position)+this.emit(" {\n"+this.indent(1))+this.mapVisit(e.rules,"\n\n")+this.emit(this.indent(-1)+"\n}")}customMedia(e){return this.emit("@custom-media "+e.name+" "+e.media+";",e.position)}rule(e){const t=e.declarations;if(!t.length)return"";if(this.compress)return this.emit(e.selectors.join(","),e.position)+this.emit("{")+this.mapVisit(t)+this.emit("}");const r=this.indent();return this.emit(e.selectors.map((e=>r+e)).join(",\n"),e.position)+this.emit(" {\n")+this.emit(this.indent(1))+this.mapVisit(t,"\n")+this.emit(this.indent(-1))+this.emit("\n"+this.indent()+"}")}declaration(e){return this.compress?this.emit(e.property+":"+e.value,e.position)+this.emit(";"):this.emit(this.indent())+this.emit(e.property+": "+e.value,e.position)+this.emit(";")}}},373:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});const n=r(854);t.default=(e,t)=>new n.default(t||{}).compile(e)},371:(e,t)=>{var r;Object.defineProperty(t,"__esModule",{value:!0}),t.CssTypes=void 0,(r=t.CssTypes||(t.CssTypes={})).stylesheet="stylesheet",r.rule="rule",r.declaration="declaration",r.comment="comment",r.container="container",r.charset="charset",r.document="document",r.customMedia="custom-media",r.fontFace="font-face",r.host="host",r.import="import",r.keyframes="keyframes",r.keyframe="keyframe",r.layer="layer",r.media="media",r.namespace="namespace",r.page="page",r.supports="supports"}},r={},n=function s(e){var n=r[e];if(void 0!==n)return n.exports;var i=r[e]={exports:{}};return t[e].call(i.exports,i,i.exports,s),i.exports}(607);e.exports=n})()},6491:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;const n=r(7147);t.FILE_SYSTEM_ADAPTER={lstat:n.lstat,stat:n.stat,lstatSync:n.lstatSync,statSync:n.statSync,readdir:n.readdir,readdirSync:n.readdirSync};function createFileSystemAdapter(e){if(e===undefined){return t.FILE_SYSTEM_ADAPTER}return Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}t.createFileSystemAdapter=createFileSystemAdapter},6325:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;const r=process.versions.node.split(".");if(r[0]===undefined||r[1]===undefined){throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`)}const n=Number.parseInt(r[0],10);const i=Number.parseInt(r[1],10);const o=10;const u=10;const h=n>o;const _=n===o&&i>=u;t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=h||_},1659:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Settings=t.scandirSync=t.scandir=void 0;const n=r(4715);const i=r(8907);const o=r(3486);t.Settings=o.default;function scandir(e,t,r){if(typeof t==="function"){n.read(e,getSettings(),t);return}n.read(e,getSettings(t),r)}t.scandir=scandir;function scandirSync(e,t){const r=getSettings(t);return i.read(e,r)}t.scandirSync=scandirSync;function getSettings(e={}){if(e instanceof o.default){return e}return new o.default(e)}},4715:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.readdir=t.readdirWithFileTypes=t.read=void 0;const n=r(6247);const i=r(5341);const o=r(6325);const u=r(946);const h=r(3253);function read(e,t,r){if(!t.stats&&o.IS_SUPPORT_READDIR_WITH_FILE_TYPES){readdirWithFileTypes(e,t,r);return}readdir(e,t,r)}t.read=read;function readdirWithFileTypes(e,t,r){t.fs.readdir(e,{withFileTypes:true},((n,o)=>{if(n!==null){callFailureCallback(r,n);return}const u=o.map((r=>({dirent:r,name:r.name,path:h.joinPathSegments(e,r.name,t.pathSegmentSeparator)})));if(!t.followSymbolicLinks){callSuccessCallback(r,u);return}const _=u.map((e=>makeRplTaskEntry(e,t)));i(_,((e,t)=>{if(e!==null){callFailureCallback(r,e);return}callSuccessCallback(r,t)}))}))}t.readdirWithFileTypes=readdirWithFileTypes;function makeRplTaskEntry(e,t){return r=>{if(!e.dirent.isSymbolicLink()){r(null,e);return}t.fs.stat(e.path,((n,i)=>{if(n!==null){if(t.throwErrorOnBrokenSymbolicLink){r(n);return}r(null,e);return}e.dirent=u.fs.createDirentFromStats(e.name,i);r(null,e)}))}}function readdir(e,t,r){t.fs.readdir(e,((o,_)=>{if(o!==null){callFailureCallback(r,o);return}const S=_.map((r=>{const i=h.joinPathSegments(e,r,t.pathSegmentSeparator);return e=>{n.stat(i,t.fsStatSettings,((n,o)=>{if(n!==null){e(n);return}const h={name:r,path:i,dirent:u.fs.createDirentFromStats(r,o)};if(t.stats){h.stats=o}e(null,h)}))}}));i(S,((e,t)=>{if(e!==null){callFailureCallback(r,e);return}callSuccessCallback(r,t)}))}))}t.readdir=readdir;function callFailureCallback(e,t){e(t)}function callSuccessCallback(e,t){e(null,t)}},3253:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.joinPathSegments=void 0;function joinPathSegments(e,t,r){if(e.endsWith(r)){return e+t}return e+r+t}t.joinPathSegments=joinPathSegments},8907:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.readdir=t.readdirWithFileTypes=t.read=void 0;const n=r(6247);const i=r(6325);const o=r(946);const u=r(3253);function read(e,t){if(!t.stats&&i.IS_SUPPORT_READDIR_WITH_FILE_TYPES){return readdirWithFileTypes(e,t)}return readdir(e,t)}t.read=read;function readdirWithFileTypes(e,t){const r=t.fs.readdirSync(e,{withFileTypes:true});return r.map((r=>{const n={dirent:r,name:r.name,path:u.joinPathSegments(e,r.name,t.pathSegmentSeparator)};if(n.dirent.isSymbolicLink()&&t.followSymbolicLinks){try{const e=t.fs.statSync(n.path);n.dirent=o.fs.createDirentFromStats(n.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink){throw e}}}return n}))}t.readdirWithFileTypes=readdirWithFileTypes;function readdir(e,t){const r=t.fs.readdirSync(e);return r.map((r=>{const i=u.joinPathSegments(e,r,t.pathSegmentSeparator);const h=n.statSync(i,t.fsStatSettings);const _={name:r,path:i,dirent:o.fs.createDirentFromStats(r,h)};if(t.stats){_.stats=h}return _}))}t.readdir=readdir},3486:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(1017);const i=r(6247);const o=r(6491);class Settings{constructor(e={}){this._options=e;this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,false);this.fs=o.createFileSystemAdapter(this._options.fs);this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,n.sep);this.stats=this._getValue(this._options.stats,false);this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,true);this.fsStatSettings=new i.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return e!==null&&e!==void 0?e:t}}t["default"]=Settings},2926:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createDirentFromStats=void 0;class DirentFromStats{constructor(e,t){this.name=e;this.isBlockDevice=t.isBlockDevice.bind(t);this.isCharacterDevice=t.isCharacterDevice.bind(t);this.isDirectory=t.isDirectory.bind(t);this.isFIFO=t.isFIFO.bind(t);this.isFile=t.isFile.bind(t);this.isSocket=t.isSocket.bind(t);this.isSymbolicLink=t.isSymbolicLink.bind(t)}}function createDirentFromStats(e,t){return new DirentFromStats(e,t)}t.createDirentFromStats=createDirentFromStats},946:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.fs=void 0;const n=r(2926);t.fs=n},2243:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;const n=r(7147);t.FILE_SYSTEM_ADAPTER={lstat:n.lstat,stat:n.stat,lstatSync:n.lstatSync,statSync:n.statSync};function createFileSystemAdapter(e){if(e===undefined){return t.FILE_SYSTEM_ADAPTER}return Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}t.createFileSystemAdapter=createFileSystemAdapter},6247:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.statSync=t.stat=t.Settings=void 0;const n=r(6948);const i=r(6750);const o=r(1917);t.Settings=o.default;function stat(e,t,r){if(typeof t==="function"){n.read(e,getSettings(),t);return}n.read(e,getSettings(t),r)}t.stat=stat;function statSync(e,t){const r=getSettings(t);return i.read(e,r)}t.statSync=statSync;function getSettings(e={}){if(e instanceof o.default){return e}return new o.default(e)}},6948:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.read=void 0;function read(e,t,r){t.fs.lstat(e,((n,i)=>{if(n!==null){callFailureCallback(r,n);return}if(!i.isSymbolicLink()||!t.followSymbolicLink){callSuccessCallback(r,i);return}t.fs.stat(e,((e,n)=>{if(e!==null){if(t.throwErrorOnBrokenSymbolicLink){callFailureCallback(r,e);return}callSuccessCallback(r,i);return}if(t.markSymbolicLink){n.isSymbolicLink=()=>true}callSuccessCallback(r,n)}))}))}t.read=read;function callFailureCallback(e,t){e(t)}function callSuccessCallback(e,t){e(null,t)}},6750:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.read=void 0;function read(e,t){const r=t.fs.lstatSync(e);if(!r.isSymbolicLink()||!t.followSymbolicLink){return r}try{const r=t.fs.statSync(e);if(t.markSymbolicLink){r.isSymbolicLink=()=>true}return r}catch(e){if(!t.throwErrorOnBrokenSymbolicLink){return r}throw e}}t.read=read},1917:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(2243);class Settings{constructor(e={}){this._options=e;this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,true);this.fs=n.createFileSystemAdapter(this._options.fs);this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,false);this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,true)}_getValue(e,t){return e!==null&&e!==void 0?e:t}}t["default"]=Settings},4328:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.Settings=t.walkStream=t.walkSync=t.walk=void 0;const n=r(4306);const i=r(2686);const o=r(8918);const u=r(8831);t.Settings=u.default;function walk(e,t,r){if(typeof t==="function"){new n.default(e,getSettings()).read(t);return}new n.default(e,getSettings(t)).read(r)}t.walk=walk;function walkSync(e,t){const r=getSettings(t);const n=new o.default(e,r);return n.read()}t.walkSync=walkSync;function walkStream(e,t){const r=getSettings(t);const n=new i.default(e,r);return n.read()}t.walkStream=walkStream;function getSettings(e={}){if(e instanceof u.default){return e}return new u.default(e)}},4306:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(1293);class AsyncProvider{constructor(e,t){this._root=e;this._settings=t;this._reader=new n.default(this._root,this._settings);this._storage=[]}read(e){this._reader.onError((t=>{callFailureCallback(e,t)}));this._reader.onEntry((e=>{this._storage.push(e)}));this._reader.onEnd((()=>{callSuccessCallback(e,this._storage)}));this._reader.read()}}t["default"]=AsyncProvider;function callFailureCallback(e,t){e(t)}function callSuccessCallback(e,t){e(null,t)}},2686:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(2781);const i=r(1293);class StreamProvider{constructor(e,t){this._root=e;this._settings=t;this._reader=new i.default(this._root,this._settings);this._stream=new n.Readable({objectMode:true,read:()=>{},destroy:()=>{if(!this._reader.isDestroyed){this._reader.destroy()}}})}read(){this._reader.onError((e=>{this._stream.emit("error",e)}));this._reader.onEntry((e=>{this._stream.push(e)}));this._reader.onEnd((()=>{this._stream.push(null)}));this._reader.read();return this._stream}}t["default"]=StreamProvider},8918:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(9476);class SyncProvider{constructor(e,t){this._root=e;this._settings=t;this._reader=new n.default(this._root,this._settings)}read(){return this._reader.read()}}t["default"]=SyncProvider},1293:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(2361);const i=r(1659);const o=r(5824);const u=r(1652);const h=r(8376);class AsyncReader extends h.default{constructor(e,t){super(e,t);this._settings=t;this._scandir=i.scandir;this._emitter=new n.EventEmitter;this._queue=o(this._worker.bind(this),this._settings.concurrency);this._isFatalError=false;this._isDestroyed=false;this._queue.drain=()=>{if(!this._isFatalError){this._emitter.emit("end")}}}read(){this._isFatalError=false;this._isDestroyed=false;setImmediate((()=>{this._pushToQueue(this._root,this._settings.basePath)}));return this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed){throw new Error("The reader is already destroyed")}this._isDestroyed=true;this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,t){const r={directory:e,base:t};this._queue.push(r,(e=>{if(e!==null){this._handleError(e)}}))}_worker(e,t){this._scandir(e.directory,this._settings.fsScandirSettings,((r,n)=>{if(r!==null){t(r,undefined);return}for(const t of n){this._handleEntry(t,e.base)}t(null,undefined)}))}_handleError(e){if(this._isDestroyed||!u.isFatalError(this._settings,e)){return}this._isFatalError=true;this._isDestroyed=true;this._emitter.emit("error",e)}_handleEntry(e,t){if(this._isDestroyed||this._isFatalError){return}const r=e.path;if(t!==undefined){e.path=u.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)}if(u.isAppliedFilter(this._settings.entryFilter,e)){this._emitEntry(e)}if(e.dirent.isDirectory()&&u.isAppliedFilter(this._settings.deepFilter,e)){this._pushToQueue(r,t===undefined?undefined:e.path)}}_emitEntry(e){this._emitter.emit("entry",e)}}t["default"]=AsyncReader},1652:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.joinPathSegments=t.replacePathSegmentSeparator=t.isAppliedFilter=t.isFatalError=void 0;function isFatalError(e,t){if(e.errorFilter===null){return true}return!e.errorFilter(t)}t.isFatalError=isFatalError;function isAppliedFilter(e,t){return e===null||e(t)}t.isAppliedFilter=isAppliedFilter;function replacePathSegmentSeparator(e,t){return e.split(/[/\\]/).join(t)}t.replacePathSegmentSeparator=replacePathSegmentSeparator;function joinPathSegments(e,t,r){if(e===""){return t}if(e.endsWith(r)){return e+t}return e+r+t}t.joinPathSegments=joinPathSegments},8376:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(1652);class Reader{constructor(e,t){this._root=e;this._settings=t;this._root=n.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}}t["default"]=Reader},9476:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(1659);const i=r(1652);const o=r(8376);class SyncReader extends o.default{constructor(){super(...arguments);this._scandir=n.scandirSync;this._storage=[];this._queue=new Set}read(){this._pushToQueue(this._root,this._settings.basePath);this._handleQueue();return this._storage}_pushToQueue(e,t){this._queue.add({directory:e,base:t})}_handleQueue(){for(const e of this._queue.values()){this._handleDirectory(e.directory,e.base)}}_handleDirectory(e,t){try{const r=this._scandir(e,this._settings.fsScandirSettings);for(const e of r){this._handleEntry(e,t)}}catch(e){this._handleError(e)}}_handleError(e){if(!i.isFatalError(this._settings,e)){return}throw e}_handleEntry(e,t){const r=e.path;if(t!==undefined){e.path=i.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)}if(i.isAppliedFilter(this._settings.entryFilter,e)){this._pushToStorage(e)}if(e.dirent.isDirectory()&&i.isAppliedFilter(this._settings.deepFilter,e)){this._pushToQueue(r,t===undefined?undefined:e.path)}}_pushToStorage(e){this._storage.push(e)}}t["default"]=SyncReader},8831:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});const n=r(1017);const i=r(1659);class Settings{constructor(e={}){this._options=e;this.basePath=this._getValue(this._options.basePath,undefined);this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY);this.deepFilter=this._getValue(this._options.deepFilter,null);this.entryFilter=this._getValue(this._options.entryFilter,null);this.errorFilter=this._getValue(this._options.errorFilter,null);this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,n.sep);this.fsScandirSettings=new i.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return e!==null&&e!==void 0?e:t}}t["default"]=Settings},155:function(e){"use strict";e.exports=balanced;function balanced(e,t,r){if(e instanceof RegExp)e=maybeMatch(e,r);if(t instanceof RegExp)t=maybeMatch(t,r);var n=range(e,t,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+e.length,n[1]),post:r.slice(n[1]+t.length)}}function maybeMatch(e,t){var r=t.match(e);return r?r[0]:null}balanced.range=range;function range(e,t,r){var n,i,o,u,h;var _=r.indexOf(e);var S=r.indexOf(t,_+1);var k=_;if(_>=0&&S>0){if(e===t){return[_,S]}n=[];o=r.length;while(k>=0&&!h){if(k==_){n.push(k);_=r.indexOf(e,k+1)}else if(n.length==1){h=[n.pop(),S]}else{i=n.pop();if(i<o){o=i;u=S}S=r.indexOf(t,k+1)}k=_<S&&_>=0?_:S}if(n.length){h=[o,u]}}return h}},7847:function(e,t,r){var n=r(1062);var i=r(155);e.exports=expandTop;var o="\0SLASH"+Math.random()+"\0";var u="\0OPEN"+Math.random()+"\0";var h="\0CLOSE"+Math.random()+"\0";var _="\0COMMA"+Math.random()+"\0";var S="\0PERIOD"+Math.random()+"\0";function numeric(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function escapeBraces(e){return e.split("\\\\").join(o).split("\\{").join(u).split("\\}").join(h).split("\\,").join(_).split("\\.").join(S)}function unescapeBraces(e){return e.split(o).join("\\").split(u).join("{").split(h).join("}").split(_).join(",").split(S).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[];var r=i("{","}",e);if(!r)return e.split(",");var n=r.pre;var o=r.body;var u=r.post;var h=n.split(",");h[h.length-1]+="{"+o+"}";var _=parseCommaParts(u);if(u.length){h[h.length-1]+=_.shift();h.push.apply(h,_)}t.push.apply(t,h);return t}function expandTop(e){if(!e)return[];if(e.substr(0,2)==="{}"){e="\\{\\}"+e.substr(2)}return expand(escapeBraces(e),true).map(unescapeBraces)}function identity(e){return e}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand(e,t){var r=[];var o=i("{","}",e);if(!o||/\$$/.test(o.pre))return[e];var u=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body);var _=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body);var S=u||_;var k=o.body.indexOf(",")>=0;if(!S&&!k){if(o.post.match(/,.*\}/)){e=o.pre+"{"+o.body+h+o.post;return expand(e)}return[e]}var x;if(S){x=o.body.split(/\.\./)}else{x=parseCommaParts(o.body);if(x.length===1){x=expand(x[0],false).map(embrace);if(x.length===1){var E=o.post.length?expand(o.post,false):[""];return E.map((function(e){return o.pre+x[0]+e}))}}}var A=o.pre;var E=o.post.length?expand(o.post,false):[""];var R;if(S){var O=numeric(x[0]);var N=numeric(x[1]);var L=Math.max(x[0].length,x[1].length);var I=x.length==3?Math.abs(numeric(x[2])):1;var D=lte;var B=N<O;if(B){I*=-1;D=gte}var G=x.some(isPadded);R=[];for(var U=O;D(U,N);U+=I){var $;if(_){$=String.fromCharCode(U);if($==="\\")$=""}else{$=String(U);if(G){var H=L-$.length;if(H>0){var q=new Array(H+1).join("0");if(U<0)$="-"+q+$.slice(1);else $=q+$}}}R.push($)}}else{R=n(x,(function(e){return expand(e,false)}))}for(var W=0;W<R.length;W++){for(var Q=0;Q<E.length;Q++){var z=A+R[W]+E[Q];if(!t||S||z)r.push(z)}}return r}},1570:function(e,t,r){"use strict";const n=r(3625);const i=r(4666);const o=r(6183);const u=r(2467);const braces=(e,t={})=>{let r=[];if(Array.isArray(e)){for(let n of e){let e=braces.create(n,t);if(Array.isArray(e)){r.push(...e)}else{r.push(e)}}}else{r=[].concat(braces.create(e,t))}if(t&&t.expand===true&&t.nodupes===true){r=[...new Set(r)]}return r};braces.parse=(e,t={})=>u(e,t);braces.stringify=(e,t={})=>{if(typeof e==="string"){return n(braces.parse(e,t),t)}return n(e,t)};braces.compile=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}return i(e,t)};braces.expand=(e,t={})=>{if(typeof e==="string"){e=braces.parse(e,t)}let r=o(e,t);if(t.noempty===true){r=r.filter(Boolean)}if(t.nodupes===true){r=[...new Set(r)]}return r};braces.create=(e,t={})=>{if(e===""||e.length<3){return[e]}return t.expand!==true?braces.compile(e,t):braces.expand(e,t)};e.exports=braces},4666:function(e,t,r){"use strict";const n=r(442);const i=r(2456);const compile=(e,t={})=>{let walk=(e,r={})=>{let o=i.isInvalidBrace(r);let u=e.invalid===true&&t.escapeInvalid===true;let h=o===true||u===true;let _=t.escapeInvalid===true?"\\":"";let S="";if(e.isOpen===true){return _+e.value}if(e.isClose===true){return _+e.value}if(e.type==="open"){return h?_+e.value:"("}if(e.type==="close"){return h?_+e.value:")"}if(e.type==="comma"){return e.prev.type==="comma"?"":h?e.value:"|"}if(e.value){return e.value}if(e.nodes&&e.ranges>0){let r=i.reduce(e.nodes);let o=n(...r,{...t,wrap:false,toRegex:true});if(o.length!==0){return r.length>1&&o.length>1?`(${o})`:o}}if(e.nodes){for(let t of e.nodes){S+=walk(t,e)}}return S};return walk(e)};e.exports=compile},487:function(e){"use strict";e.exports={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},6183:function(e,t,r){"use strict";const n=r(442);const i=r(3625);const o=r(2456);const append=(e="",t="",r=false)=>{let n=[];e=[].concat(e);t=[].concat(t);if(!t.length)return e;if(!e.length){return r?o.flatten(t).map((e=>`{${e}}`)):t}for(let i of e){if(Array.isArray(i)){for(let e of i){n.push(append(e,t,r))}}else{for(let e of t){if(r===true&&typeof e==="string")e=`{${e}}`;n.push(Array.isArray(e)?append(i,e,r):i+e)}}}return o.flatten(n)};const expand=(e,t={})=>{let r=t.rangeLimit===void 0?1e3:t.rangeLimit;let walk=(e,u={})=>{e.queue=[];let h=u;let _=u.queue;while(h.type!=="brace"&&h.type!=="root"&&h.parent){h=h.parent;_=h.queue}if(e.invalid||e.dollar){_.push(append(_.pop(),i(e,t)));return}if(e.type==="brace"&&e.invalid!==true&&e.nodes.length===2){_.push(append(_.pop(),["{}"]));return}if(e.nodes&&e.ranges>0){let u=o.reduce(e.nodes);if(o.exceedsLimit(...u,t.step,r)){throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.")}let h=n(...u,t);if(h.length===0){h=i(e,t)}_.push(append(_.pop(),h));e.nodes=[];return}let S=o.encloseBrace(e);let k=e.queue;let x=e;while(x.type!=="brace"&&x.type!=="root"&&x.parent){x=x.parent;k=x.queue}for(let t=0;t<e.nodes.length;t++){let r=e.nodes[t];if(r.type==="comma"&&e.type==="brace"){if(t===1)k.push("");k.push("");continue}if(r.type==="close"){_.push(append(_.pop(),k,S));continue}if(r.value&&r.type!=="open"){k.push(append(k.pop(),r.value));continue}if(r.nodes){walk(r,e)}}return k};return o.flatten(walk(e))};e.exports=expand},2467:function(e,t,r){"use strict";const n=r(3625);const{MAX_LENGTH:i,CHAR_BACKSLASH:o,CHAR_BACKTICK:u,CHAR_COMMA:h,CHAR_DOT:_,CHAR_LEFT_PARENTHESES:S,CHAR_RIGHT_PARENTHESES:k,CHAR_LEFT_CURLY_BRACE:x,CHAR_RIGHT_CURLY_BRACE:E,CHAR_LEFT_SQUARE_BRACKET:A,CHAR_RIGHT_SQUARE_BRACKET:R,CHAR_DOUBLE_QUOTE:O,CHAR_SINGLE_QUOTE:N,CHAR_NO_BREAK_SPACE:L,CHAR_ZERO_WIDTH_NOBREAK_SPACE:I}=r(487);const parse=(e,t={})=>{if(typeof e!=="string"){throw new TypeError("Expected a string")}let r=t||{};let D=typeof r.maxLength==="number"?Math.min(i,r.maxLength):i;if(e.length>D){throw new SyntaxError(`Input length (${e.length}), exceeds max characters (${D})`)}let B={type:"root",input:e,nodes:[]};let G=[B];let U=B;let $=B;let H=0;let q=e.length;let W=0;let Q=0;let z;let X={};const advance=()=>e[W++];const push=e=>{if(e.type==="text"&&$.type==="dot"){$.type="text"}if($&&$.type==="text"&&e.type==="text"){$.value+=e.value;return}U.nodes.push(e);e.parent=U;e.prev=$;$=e;return e};push({type:"bos"});while(W<q){U=G[G.length-1];z=advance();if(z===I||z===L){continue}if(z===o){push({type:"text",value:(t.keepEscaping?z:"")+advance()});continue}if(z===R){push({type:"text",value:"\\"+z});continue}if(z===A){H++;let e=true;let t;while(W<q&&(t=advance())){z+=t;if(t===A){H++;continue}if(t===o){z+=advance();continue}if(t===R){H--;if(H===0){break}}}push({type:"text",value:z});continue}if(z===S){U=push({type:"paren",nodes:[]});G.push(U);push({type:"text",value:z});continue}if(z===k){if(U.type!=="paren"){push({type:"text",value:z});continue}U=G.pop();push({type:"text",value:z});U=G[G.length-1];continue}if(z===O||z===N||z===u){let e=z;let r;if(t.keepQuotes!==true){z=""}while(W<q&&(r=advance())){if(r===o){z+=r+advance();continue}if(r===e){if(t.keepQuotes===true)z+=r;break}z+=r}push({type:"text",value:z});continue}if(z===x){Q++;let e=$.value&&$.value.slice(-1)==="$"||U.dollar===true;let t={type:"brace",open:true,close:false,dollar:e,depth:Q,commas:0,ranges:0,nodes:[]};U=push(t);G.push(U);push({type:"open",value:z});continue}if(z===E){if(U.type!=="brace"){push({type:"text",value:z});continue}let e="close";U=G.pop();U.close=true;push({type:e,value:z});Q--;U=G[G.length-1];continue}if(z===h&&Q>0){if(U.ranges>0){U.ranges=0;let e=U.nodes.shift();U.nodes=[e,{type:"text",value:n(U)}]}push({type:"comma",value:z});U.commas++;continue}if(z===_&&Q>0&&U.commas===0){let e=U.nodes;if(Q===0||e.length===0){push({type:"text",value:z});continue}if($.type==="dot"){U.range=[];$.value+=z;$.type="range";if(U.nodes.length!==3&&U.nodes.length!==5){U.invalid=true;U.ranges=0;$.type="text";continue}U.ranges++;U.args=[];continue}if($.type==="range"){e.pop();let t=e[e.length-1];t.value+=$.value+z;$=t;U.ranges--;continue}push({type:"dot",value:z});continue}push({type:"text",value:z})}do{U=G.pop();if(U.type!=="root"){U.nodes.forEach((e=>{if(!e.nodes){if(e.type==="open")e.isOpen=true;if(e.type==="close")e.isClose=true;if(!e.nodes)e.type="text";e.invalid=true}}));let e=G[G.length-1];let t=e.nodes.indexOf(U);e.nodes.splice(t,1,...U.nodes)}}while(G.length>0);push({type:"eos"});return B};e.exports=parse},3625:function(e,t,r){"use strict";const n=r(2456);e.exports=(e,t={})=>{let stringify=(e,r={})=>{let i=t.escapeInvalid&&n.isInvalidBrace(r);let o=e.invalid===true&&t.escapeInvalid===true;let u="";if(e.value){if((i||o)&&n.isOpenOrClose(e)){return"\\"+e.value}return e.value}if(e.value){return e.value}if(e.nodes){for(let t of e.nodes){u+=stringify(t)}}return u};return stringify(e)}},2456:function(e,t){"use strict";t.isInteger=e=>{if(typeof e==="number"){return Number.isInteger(e)}if(typeof e==="string"&&e.trim()!==""){return Number.isInteger(Number(e))}return false};t.find=(e,t)=>e.nodes.find((e=>e.type===t));t.exceedsLimit=(e,r,n=1,i)=>{if(i===false)return false;if(!t.isInteger(e)||!t.isInteger(r))return false;return(Number(r)-Number(e))/Number(n)>=i};t.escapeNode=(e,t=0,r)=>{let n=e.nodes[t];if(!n)return;if(r&&n.type===r||n.type==="open"||n.type==="close"){if(n.escaped!==true){n.value="\\"+n.value;n.escaped=true}}};t.encloseBrace=e=>{if(e.type!=="brace")return false;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}return false};t.isInvalidBrace=e=>{if(e.type!=="brace")return false;if(e.invalid===true||e.dollar)return true;if(e.commas>>0+e.ranges>>0===0){e.invalid=true;return true}if(e.open!==true||e.close!==true){e.invalid=true;return true}return false};t.isOpenOrClose=e=>{if(e.type==="open"||e.type==="close"){return true}return e.open===true||e.close===true};t.reduce=e=>e.reduce(((e,t)=>{if(t.type==="text")e.push(t.value);if(t.type==="range")t.type="text";return e}),[]);t.flatten=(...e)=>{const t=[];const flat=e=>{for(let r=0;r<e.length;r++){let n=e[r];Array.isArray(n)?flat(n,t):n!==void 0&&t.push(n)}return t};flat(e);return t}},1062:function(e){e.exports=function(e,r){var n=[];for(var i=0;i<e.length;i++){var o=r(e[i],i);if(t(o))n.push.apply(n,o);else n.push(o)}return n};var t=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"}},5020:function(e,t,r){t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.storage=localstorage();t.destroy=(()=>{let e=false;return()=>{if(!e){e=true;console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}}})();t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function useColors(){if(typeof window!=="undefined"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)){return true}if(typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)){return false}return typeof document!=="undefined"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window!=="undefined"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator!=="undefined"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function formatArgs(t){t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff);if(!this.useColors){return}const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0;let i=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{if(e==="%%"){return}n++;if(e==="%c"){i=n}}));t.splice(i,0,r)}t.log=console.debug||console.log||(()=>{});function save(e){try{if(e){t.storage.setItem("debug",e)}else{t.storage.removeItem("debug")}}catch(e){}}function load(){let e;try{e=t.storage.getItem("debug")}catch(e){}if(!e&&typeof process!=="undefined"&&"env"in process){e=process.env.DEBUG}return e}function localstorage(){try{return localStorage}catch(e){}}e.exports=r(1530)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},1530:function(e,t,r){function setup(e){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=r(1367);createDebug.destroy=destroy;Object.keys(e).forEach((t=>{createDebug[t]=e[t]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(e){let t=0;for(let r=0;r<e.length;r++){t=(t<<5)-t+e.charCodeAt(r);t|=0}return createDebug.colors[Math.abs(t)%createDebug.colors.length]}createDebug.selectColor=selectColor;function createDebug(e){let t;let r=null;let n;let i;function debug(...e){if(!debug.enabled){return}const r=debug;const n=Number(new Date);const i=n-(t||n);r.diff=i;r.prev=t;r.curr=n;t=n;e[0]=createDebug.coerce(e[0]);if(typeof e[0]!=="string"){e.unshift("%O")}let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((t,n)=>{if(t==="%%"){return"%"}o++;const i=createDebug.formatters[n];if(typeof i==="function"){const n=e[o];t=i.call(r,n);e.splice(o,1);o--}return t}));createDebug.formatArgs.call(r,e);const u=r.log||createDebug.log;u.apply(r,e)}debug.namespace=e;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(e);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(r!==null){return r}if(n!==createDebug.namespaces){n=createDebug.namespaces;i=createDebug.enabled(e)}return i},set:e=>{r=e}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(e,t){const r=createDebug(this.namespace+(typeof t==="undefined"?":":t)+e);r.log=this.log;return r}function enable(e){createDebug.save(e);createDebug.namespaces=e;createDebug.names=[];createDebug.skips=[];let t;const r=(typeof e==="string"?e:"").split(/[\s,]+/);const n=r.length;for(t=0;t<n;t++){if(!r[t]){continue}e=r[t].replace(/\*/g,".*?");if(e[0]==="-"){createDebug.skips.push(new RegExp("^"+e.slice(1)+"$"))}else{createDebug.names.push(new RegExp("^"+e+"$"))}}}function disable(){const e=[...createDebug.names.map(toNamespace),...createDebug.skips.map(toNamespace).map((e=>"-"+e))].join(",");createDebug.enable("");return e}function enabled(e){if(e[e.length-1]==="*"){return true}let t;let r;for(t=0,r=createDebug.skips.length;t<r;t++){if(createDebug.skips[t].test(e)){return false}}for(t=0,r=createDebug.names.length;t<r;t++){if(createDebug.names[t].test(e)){return true}}return false}function toNamespace(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}function coerce(e){if(e instanceof Error){return e.stack||e.message}return e}function destroy(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}createDebug.enable(createDebug.load());return createDebug}e.exports=setup},2731:function(e,t,r){if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){e.exports=r(5020)}else{e.exports=r(5689)}},5689:function(e,t,r){const n=r(6224);const i=r(3837);t.init=init;t.log=log;t.formatArgs=formatArgs;t.save=save;t.load=load;t.useColors=useColors;t.destroy=i.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");t.colors=[6,2,3,4,5,1];try{const e=r(1270);if(e&&(e.stderr||e).level>=2){t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221]}}catch(e){}t.inspectOpts=Object.keys(process.env).filter((e=>/^debug_/i.test(e))).reduce(((e,t)=>{const r=t.substring(6).toLowerCase().replace(/_([a-z])/g,((e,t)=>t.toUpperCase()));let n=process.env[t];if(/^(yes|on|true|enabled)$/i.test(n)){n=true}else if(/^(no|off|false|disabled)$/i.test(n)){n=false}else if(n==="null"){n=null}else{n=Number(n)}e[r]=n;return e}),{});function useColors(){return"colors"in t.inspectOpts?Boolean(t.inspectOpts.colors):n.isatty(process.stderr.fd)}function formatArgs(t){const{namespace:r,useColors:n}=this;if(n){const n=this.color;const i="[3"+(n<8?n:"8;5;"+n);const o=` ${i};1m${r} `;t[0]=o+t[0].split("\n").join("\n"+o);t.push(i+"m+"+e.exports.humanize(this.diff)+"")}else{t[0]=getDate()+r+" "+t[0]}}function getDate(){if(t.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...e){return process.stderr.write(i.format(...e)+"\n")}function save(e){if(e){process.env.DEBUG=e}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(e){e.inspectOpts={};const r=Object.keys(t.inspectOpts);for(let n=0;n<r.length;n++){e.inspectOpts[r[n]]=t.inspectOpts[r[n]]}}e.exports=r(1530)(t);const{formatters:o}=e.exports;o.o=function(e){this.inspectOpts.colors=this.useColors;return i.inspect(e,this.inspectOpts).split("\n").map((e=>e.trim())).join(" ")};o.O=function(e){this.inspectOpts.colors=this.useColors;return i.inspect(e,this.inspectOpts)}},3215:function(e,t,r){"use strict";const n=r(1832);const i=r(269);const o=r(1444);const u=r(7919);const h=r(2722);const _=r(5221);const S=r(6291);async function FastGlob(e,t){assertPatternsInput(e);const r=getWorks(e,o.default,t);const n=await Promise.all(r);return S.array.flatten(n)}(function(e){function sync(e,t){assertPatternsInput(e);const r=getWorks(e,h.default,t);return S.array.flatten(r)}e.sync=sync;function stream(e,t){assertPatternsInput(e);const r=getWorks(e,u.default,t);return S.stream.merge(r)}e.stream=stream;function generateTasks(e,t){assertPatternsInput(e);const r=i.transform([].concat(e));const o=new _.default(t);return n.generate(r,o)}e.generateTasks=generateTasks;function isDynamicPattern(e,t){assertPatternsInput(e);const r=new _.default(t);return S.pattern.isDynamicPattern(e,r)}e.isDynamicPattern=isDynamicPattern;function escapePath(e){assertPatternsInput(e);return S.path.escape(e)}e.escapePath=escapePath})(FastGlob||(FastGlob={}));function getWorks(e,t,r){const o=i.transform([].concat(e));const u=new _.default(r);const h=n.generate(o,u);const S=new t(u);return h.map(S.read,S)}function assertPatternsInput(e){const t=[].concat(e);const r=t.every((e=>S.string.isString(e)&&!S.string.isEmpty(e)));if(!r){throw new TypeError("Patterns must be a string (non empty) or an array of strings")}}e.exports=FastGlob},269:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.removeDuplicateSlashes=t.transform=void 0;const r=/(?!^)\/{2,}/g;function transform(e){return e.map((e=>removeDuplicateSlashes(e)))}t.transform=transform;function removeDuplicateSlashes(e){return e.replace(r,"/")}t.removeDuplicateSlashes=removeDuplicateSlashes},1832:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:true});t.convertPatternGroupToTask=t.convertPatternGroupsToTasks=t.groupPatternsByBaseDirectory=t.getNegativePatternsAsPositive=t.getPositivePatterns=t.convertPatternsToTasks=t.generate=void 0;const n=r(6291);function gen