UNPKG

codebasemd

Version:

CodeBaseMD - CLI tool to merge your codebase into a single markdown file

3 lines 94.9 kB
#!/usr/bin/env node /*! For license information please see index.js.LICENSE.txt */ import*as e from"events";import*as t from"fs";import*as n from"os";import*as r from"path";import*as s from"stream";import*as o from"util";import*as i from"node:fs";import*as a from"node:path";var l={"./node_modules/@nodelib/fs.scandir/out/adapters/fs.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;let r=n("fs");t.FILE_SYSTEM_ADAPTER={lstat:r.lstat,stat:r.stat,lstatSync:r.lstatSync,statSync:r.statSync,readdir:r.readdir,readdirSync:r.readdirSync},t.createFileSystemAdapter=function(e){return void 0===e?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}},"./node_modules/@nodelib/fs.scandir/out/constants.js":function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;let n=process.versions.node.split(".");if(void 0===n[0]||void 0===n[1])throw Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);let r=Number.parseInt(n[0],10),s=Number.parseInt(n[1],10);t.IS_SUPPORT_READDIR_WITH_FILE_TYPES=r>10||10===r&&s>=10},"./node_modules/@nodelib/fs.scandir/out/index.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=t.scandirSync=t.scandir=void 0;let r=n("./node_modules/@nodelib/fs.scandir/out/providers/async.js"),s=n("./node_modules/@nodelib/fs.scandir/out/providers/sync.js"),o=n("./node_modules/@nodelib/fs.scandir/out/settings.js");function i(e={}){return e instanceof o.default?e:new o.default(e)}t.Settings=o.default,t.scandir=function(e,t,n){if("function"==typeof t){r.read(e,i(),t);return}r.read(e,i(t),n)},t.scandirSync=function(e,t){let n=i(t);return s.read(e,n)}},"./node_modules/@nodelib/fs.scandir/out/providers/async.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.readdir=t.readdirWithFileTypes=t.read=void 0;let r=n("./node_modules/@nodelib/fs.stat/out/index.js"),s=n("./node_modules/run-parallel/index.js"),o=n("./node_modules/@nodelib/fs.scandir/out/constants.js"),i=n("./node_modules/@nodelib/fs.scandir/out/utils/index.js"),a=n("./node_modules/@nodelib/fs.scandir/out/providers/common.js");function l(e,t,n){t.fs.readdir(e,{withFileTypes:!0},(r,o)=>{if(null!==r){n(r);return}let l=o.map(n=>({dirent:n,name:n.name,path:a.joinPathSegments(e,n.name,t.pathSegmentSeparator)}));if(!t.followSymbolicLinks){n(null,l);return}s(l.map(e=>{var n,r;return n=e,r=t,e=>{if(!n.dirent.isSymbolicLink()){e(null,n);return}r.fs.stat(n.path,(t,s)=>{if(null!==t){if(r.throwErrorOnBrokenSymbolicLink){e(t);return}e(null,n);return}n.dirent=i.fs.createDirentFromStats(n.name,s),e(null,n)})}}),(e,t)=>{if(null!==e){n(e);return}n(null,t)})})}function u(e,t,n){t.fs.readdir(e,(o,l)=>{if(null!==o){n(o);return}s(l.map(n=>{let s=a.joinPathSegments(e,n,t.pathSegmentSeparator);return e=>{r.stat(s,t.fsStatSettings,(r,o)=>{if(null!==r){e(r);return}let a={name:n,path:s,dirent:i.fs.createDirentFromStats(n,o)};t.stats&&(a.stats=o),e(null,a)})}}),(e,t)=>{if(null!==e){n(e);return}n(null,t)})})}t.read=function(e,t,n){if(!t.stats&&o.IS_SUPPORT_READDIR_WITH_FILE_TYPES){l(e,t,n);return}u(e,t,n)},t.readdirWithFileTypes=l;t.readdir=u},"./node_modules/@nodelib/fs.scandir/out/providers/common.js":function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.joinPathSegments=void 0,t.joinPathSegments=function(e,t,n){return e.endsWith(n)?e+t:e+n+t}},"./node_modules/@nodelib/fs.scandir/out/providers/sync.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.readdir=t.readdirWithFileTypes=t.read=void 0;let r=n("./node_modules/@nodelib/fs.stat/out/index.js"),s=n("./node_modules/@nodelib/fs.scandir/out/constants.js"),o=n("./node_modules/@nodelib/fs.scandir/out/utils/index.js"),i=n("./node_modules/@nodelib/fs.scandir/out/providers/common.js");function a(e,t){return t.fs.readdirSync(e,{withFileTypes:!0}).map(n=>{let r={dirent:n,name:n.name,path:i.joinPathSegments(e,n.name,t.pathSegmentSeparator)};if(r.dirent.isSymbolicLink()&&t.followSymbolicLinks)try{let e=t.fs.statSync(r.path);r.dirent=o.fs.createDirentFromStats(r.name,e)}catch(e){if(t.throwErrorOnBrokenSymbolicLink)throw e}return r})}function l(e,t){return t.fs.readdirSync(e).map(n=>{let s=i.joinPathSegments(e,n,t.pathSegmentSeparator),a=r.statSync(s,t.fsStatSettings),l={name:n,path:s,dirent:o.fs.createDirentFromStats(n,a)};return t.stats&&(l.stats=a),l})}t.read=function(e,t){return!t.stats&&s.IS_SUPPORT_READDIR_WITH_FILE_TYPES?a(e,t):l(e,t)},t.readdirWithFileTypes=a,t.readdir=l},"./node_modules/@nodelib/fs.scandir/out/settings.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("path"),s=n("./node_modules/@nodelib/fs.stat/out/index.js"),o=n("./node_modules/@nodelib/fs.scandir/out/adapters/fs.js");t.default=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=o.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,r.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new s.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,t){return null!=e?e:t}}},"./node_modules/@nodelib/fs.scandir/out/utils/fs.js":function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.createDirentFromStats=void 0;class n{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)}}t.createDirentFromStats=function(e,t){return new n(e,t)}},"./node_modules/@nodelib/fs.scandir/out/utils/index.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.fs=void 0;let r=n("./node_modules/@nodelib/fs.scandir/out/utils/fs.js");t.fs=r},"./node_modules/@nodelib/fs.stat/out/adapters/fs.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.createFileSystemAdapter=t.FILE_SYSTEM_ADAPTER=void 0;let r=n("fs");t.FILE_SYSTEM_ADAPTER={lstat:r.lstat,stat:r.stat,lstatSync:r.lstatSync,statSync:r.statSync},t.createFileSystemAdapter=function(e){return void 0===e?t.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},t.FILE_SYSTEM_ADAPTER),e)}},"./node_modules/@nodelib/fs.stat/out/index.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.statSync=t.stat=t.Settings=void 0;let r=n("./node_modules/@nodelib/fs.stat/out/providers/async.js"),s=n("./node_modules/@nodelib/fs.stat/out/providers/sync.js"),o=n("./node_modules/@nodelib/fs.stat/out/settings.js");function i(e={}){return e instanceof o.default?e:new o.default(e)}t.Settings=o.default,t.stat=function(e,t,n){if("function"==typeof t){r.read(e,i(),t);return}r.read(e,i(t),n)},t.statSync=function(e,t){let n=i(t);return s.read(e,n)}},"./node_modules/@nodelib/fs.stat/out/providers/async.js":function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.read=void 0;t.read=function(e,t,n){t.fs.lstat(e,(r,s)=>{if(null!==r){n(r);return}if(!s.isSymbolicLink()||!t.followSymbolicLink){n(null,s);return}t.fs.stat(e,(e,r)=>{if(null!==e){if(t.throwErrorOnBrokenSymbolicLink){n(e);return}n(null,s);return}t.markSymbolicLink&&(r.isSymbolicLink=()=>!0),n(null,r)})})}},"./node_modules/@nodelib/fs.stat/out/providers/sync.js":function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.read=void 0,t.read=function(e,t){let n=t.fs.lstatSync(e);if(!n.isSymbolicLink()||!t.followSymbolicLink)return n;try{let n=t.fs.statSync(e);return t.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(e){if(!t.throwErrorOnBrokenSymbolicLink)return n;throw e}}},"./node_modules/@nodelib/fs.stat/out/settings.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("./node_modules/@nodelib/fs.stat/out/adapters/fs.js");t.default=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=r.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,t){return null!=e?e:t}}},"./node_modules/@nodelib/fs.walk/out/index.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.Settings=t.walkStream=t.walkSync=t.walk=void 0;let r=n("./node_modules/@nodelib/fs.walk/out/providers/async.js"),s=n("./node_modules/@nodelib/fs.walk/out/providers/stream.js"),o=n("./node_modules/@nodelib/fs.walk/out/providers/sync.js"),i=n("./node_modules/@nodelib/fs.walk/out/settings.js");function a(e={}){return e instanceof i.default?e:new i.default(e)}t.Settings=i.default,t.walk=function(e,t,n){if("function"==typeof t){new r.default(e,a()).read(t);return}new r.default(e,a(t)).read(n)},t.walkSync=function(e,t){let n=a(t);return new o.default(e,n).read()},t.walkStream=function(e,t){let n=a(t);return new s.default(e,n).read()}},"./node_modules/@nodelib/fs.walk/out/providers/async.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("./node_modules/@nodelib/fs.walk/out/readers/async.js");t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new r.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError(t=>{e(t)}),this._reader.onEntry(e=>{this._storage.push(e)}),this._reader.onEnd(()=>{e(null,this._storage)}),this._reader.read()}}},"./node_modules/@nodelib/fs.walk/out/providers/stream.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("stream"),s=n("./node_modules/@nodelib/fs.walk/out/readers/async.js");t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new s.default(this._root,this._settings),this._stream=new r.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return 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(),this._stream}}},"./node_modules/@nodelib/fs.walk/out/providers/sync.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("./node_modules/@nodelib/fs.walk/out/readers/sync.js");t.default=class{constructor(e,t){this._root=e,this._settings=t,this._reader=new r.default(this._root,this._settings)}read(){return this._reader.read()}}},"./node_modules/@nodelib/fs.walk/out/readers/async.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("events"),s=n("./node_modules/@nodelib/fs.scandir/out/index.js"),o=n("./node_modules/fastq/queue.js"),i=n("./node_modules/@nodelib/fs.walk/out/readers/common.js"),a=n("./node_modules/@nodelib/fs.walk/out/readers/reader.js");class l extends a.default{constructor(e,t){super(e,t),this._settings=t,this._scandir=s.scandir,this._emitter=new r.EventEmitter,this._queue=o(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw Error("The reader is already destroyed");this._isDestroyed=!0,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){this._queue.push({directory:e,base:t},e=>{null!==e&&this._handleError(e)})}_worker(e,t){this._scandir(e.directory,this._settings.fsScandirSettings,(n,r)=>{if(null!==n){t(n,void 0);return}for(let t of r)this._handleEntry(t,e.base);t(null,void 0)})}_handleError(e){!this._isDestroyed&&i.isFatalError(this._settings,e)&&(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,t){if(this._isDestroyed||this._isFatalError)return;let n=e.path;void 0!==t&&(e.path=i.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),i.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&i.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}}t.default=l},"./node_modules/@nodelib/fs.walk/out/readers/common.js":function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.joinPathSegments=t.replacePathSegmentSeparator=t.isAppliedFilter=t.isFatalError=void 0,t.isFatalError=function(e,t){return null===e.errorFilter||!e.errorFilter(t)},t.isAppliedFilter=function(e,t){return null===e||e(t)},t.replacePathSegmentSeparator=function(e,t){return e.split(/[/\\]/).join(t)},t.joinPathSegments=function(e,t,n){return""===e?t:e.endsWith(n)?e+t:e+n+t}},"./node_modules/@nodelib/fs.walk/out/readers/reader.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("./node_modules/@nodelib/fs.walk/out/readers/common.js");t.default=class{constructor(e,t){this._root=e,this._settings=t,this._root=r.replacePathSegmentSeparator(e,t.pathSegmentSeparator)}}},"./node_modules/@nodelib/fs.walk/out/readers/sync.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("./node_modules/@nodelib/fs.scandir/out/index.js"),s=n("./node_modules/@nodelib/fs.walk/out/readers/common.js"),o=n("./node_modules/@nodelib/fs.walk/out/readers/reader.js");class i extends o.default{constructor(){super(...arguments),this._scandir=r.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,t){this._queue.add({directory:e,base:t})}_handleQueue(){for(let e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,t){try{for(let n of this._scandir(e,this._settings.fsScandirSettings))this._handleEntry(n,t)}catch(e){this._handleError(e)}}_handleError(e){if(s.isFatalError(this._settings,e))throw e}_handleEntry(e,t){let n=e.path;void 0!==t&&(e.path=s.joinPathSegments(t,e.name,this._settings.pathSegmentSeparator)),s.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&s.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,void 0===t?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}}t.default=i},"./node_modules/@nodelib/fs.walk/out/settings.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("path"),s=n("./node_modules/@nodelib/fs.scandir/out/index.js");t.default=class{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),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,r.sep),this.fsScandirSettings=new s.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 null!=e?e:t}}},"./node_modules/braces/index.js":function(e,t,n){let r=n("./node_modules/braces/lib/stringify.js"),s=n("./node_modules/braces/lib/compile.js"),o=n("./node_modules/braces/lib/expand.js"),i=n("./node_modules/braces/lib/parse.js"),a=(e,t={})=>{let n=[];if(Array.isArray(e))for(let r of e){let e=a.create(r,t);Array.isArray(e)?n.push(...e):n.push(e)}else n=[].concat(a.create(e,t));return t&&!0===t.expand&&!0===t.nodupes&&(n=[...new Set(n)]),n};a.parse=(e,t={})=>i(e,t),a.stringify=(e,t={})=>"string"==typeof e?r(a.parse(e,t),t):r(e,t),a.compile=(e,t={})=>("string"==typeof e&&(e=a.parse(e,t)),s(e,t)),a.expand=(e,t={})=>{"string"==typeof e&&(e=a.parse(e,t));let n=o(e,t);return!0===t.noempty&&(n=n.filter(Boolean)),!0===t.nodupes&&(n=[...new Set(n)]),n},a.create=(e,t={})=>""===e||e.length<3?[e]:!0!==t.expand?a.compile(e,t):a.expand(e,t),e.exports=a},"./node_modules/braces/lib/compile.js":function(e,t,n){let r=n("./node_modules/fill-range/index.js"),s=n("./node_modules/braces/lib/utils.js");e.exports=(e,t={})=>{let n=(e,o={})=>{let i=s.isInvalidBrace(o),a=!0===e.invalid&&!0===t.escapeInvalid,l=!0===i||!0===a,u=!0===t.escapeInvalid?"\\":"",c="";if(!0===e.isOpen)return u+e.value;if(!0===e.isClose)return console.log("node.isClose",u,e.value),u+e.value;if("open"===e.type)return l?u+e.value:"(";if("close"===e.type)return l?u+e.value:")";if("comma"===e.type)return"comma"===e.prev.type?"":l?e.value:"|";if(e.value)return e.value;if(e.nodes&&e.ranges>0){let n=s.reduce(e.nodes),o=r(...n,{...t,wrap:!1,toRegex:!0,strictZeros:!0});if(0!==o.length)return n.length>1&&o.length>1?`(${o})`:o}if(e.nodes)for(let t of e.nodes)c+=n(t,e);return c};return n(e)}},"./node_modules/braces/lib/constants.js":function(e){e.exports={MAX_LENGTH:1e4,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:"\xa0",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:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}},"./node_modules/braces/lib/expand.js":function(e,t,n){let r=n("./node_modules/fill-range/index.js"),s=n("./node_modules/braces/lib/stringify.js"),o=n("./node_modules/braces/lib/utils.js"),i=(e="",t="",n=!1)=>{let r=[];if(e=[].concat(e),!(t=[].concat(t)).length)return e;if(!e.length)return n?o.flatten(t).map(e=>`{${e}}`):t;for(let s of e)if(Array.isArray(s))for(let e of s)r.push(i(e,t,n));else for(let e of t)!0===n&&"string"==typeof e&&(e=`{${e}}`),r.push(Array.isArray(e)?i(s,e,n):s+e);return o.flatten(r)};e.exports=(e,t={})=>{let n=void 0===t.rangeLimit?1e3:t.rangeLimit,a=(e,l={})=>{e.queue=[];let u=l,c=l.queue;for(;"brace"!==u.type&&"root"!==u.type&&u.parent;)c=(u=u.parent).queue;if(e.invalid||e.dollar){c.push(i(c.pop(),s(e,t)));return}if("brace"===e.type&&!0!==e.invalid&&2===e.nodes.length){c.push(i(c.pop(),["{}"]));return}if(e.nodes&&e.ranges>0){let a=o.reduce(e.nodes);if(o.exceedsLimit(...a,t.step,n))throw RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let l=r(...a,t);0===l.length&&(l=s(e,t)),c.push(i(c.pop(),l)),e.nodes=[];return}let d=o.encloseBrace(e),p=e.queue,f=e;for(;"brace"!==f.type&&"root"!==f.type&&f.parent;)p=(f=f.parent).queue;for(let t=0;t<e.nodes.length;t++){let n=e.nodes[t];if("comma"===n.type&&"brace"===e.type){1===t&&p.push(""),p.push("");continue}if("close"===n.type){c.push(i(c.pop(),p,d));continue}if(n.value&&"open"!==n.type){p.push(i(p.pop(),n.value));continue}n.nodes&&a(n,e)}return p};return o.flatten(a(e))}},"./node_modules/braces/lib/parse.js":function(e,t,n){let r=n("./node_modules/braces/lib/stringify.js"),{MAX_LENGTH:s,CHAR_BACKSLASH:o,CHAR_BACKTICK:i,CHAR_COMMA:a,CHAR_DOT:l,CHAR_LEFT_PARENTHESES:u,CHAR_RIGHT_PARENTHESES:c,CHAR_LEFT_CURLY_BRACE:d,CHAR_RIGHT_CURLY_BRACE:p,CHAR_LEFT_SQUARE_BRACKET:f,CHAR_RIGHT_SQUARE_BRACKET:h,CHAR_DOUBLE_QUOTE:_,CHAR_SINGLE_QUOTE:g,CHAR_NO_BREAK_SPACE:m,CHAR_ZERO_WIDTH_NOBREAK_SPACE:y}=n("./node_modules/braces/lib/constants.js");e.exports=(e,t={})=>{let n;if("string"!=typeof e)throw TypeError("Expected a string");let b=t||{},v="number"==typeof b.maxLength?Math.min(s,b.maxLength):s;if(e.length>v)throw SyntaxError(`Input length (${e.length}), exceeds max characters (${v})`);let S={type:"root",input:e,nodes:[]},x=[S],E=S,A=S,j=0,R=e.length,k=0,P=0,w=()=>e[k++],O=e=>{if("text"===e.type&&"dot"===A.type&&(A.type="text"),A&&"text"===A.type&&"text"===e.type){A.value+=e.value;return}return E.nodes.push(e),e.parent=E,e.prev=A,A=e,e};for(O({type:"bos"});k<R;)if(E=x[x.length-1],(n=w())!==y&&n!==m){if(n===o){O({type:"text",value:(t.keepEscaping?n:"")+w()});continue}if(n===h){O({type:"text",value:"\\"+n});continue}if(n===f){let e;for(j++;k<R&&(e=w());){if(n+=e,e===f){j++;continue}if(e===o){n+=w();continue}if(e===h&&0==--j)break}O({type:"text",value:n});continue}if(n===u){E=O({type:"paren",nodes:[]}),x.push(E),O({type:"text",value:n});continue}if(n===c){if("paren"!==E.type){O({type:"text",value:n});continue}E=x.pop(),O({type:"text",value:n}),E=x[x.length-1];continue}if(n===_||n===g||n===i){let e;let r=n;for(!0!==t.keepQuotes&&(n="");k<R&&(e=w());){if(e===o){n+=e+w();continue}if(e===r){!0===t.keepQuotes&&(n+=e);break}n+=e}O({type:"text",value:n});continue}if(n===d){P++,E=O({type:"brace",open:!0,close:!1,dollar:A.value&&"$"===A.value.slice(-1)||!0===E.dollar,depth:P,commas:0,ranges:0,nodes:[]}),x.push(E),O({type:"open",value:n});continue}if(n===p){if("brace"!==E.type){O({type:"text",value:n});continue}(E=x.pop()).close=!0,O({type:"close",value:n}),P--,E=x[x.length-1];continue}if(n===a&&P>0){if(E.ranges>0){E.ranges=0;let e=E.nodes.shift();E.nodes=[e,{type:"text",value:r(E)}]}O({type:"comma",value:n}),E.commas++;continue}if(n===l&&P>0&&0===E.commas){let e=E.nodes;if(0===P||0===e.length){O({type:"text",value:n});continue}if("dot"===A.type){if(E.range=[],A.value+=n,A.type="range",3!==E.nodes.length&&5!==E.nodes.length){E.invalid=!0,E.ranges=0,A.type="text";continue}E.ranges++,E.args=[];continue}if("range"===A.type){e.pop();let t=e[e.length-1];t.value+=A.value+n,A=t,E.ranges--;continue}O({type:"dot",value:n});continue}O({type:"text",value:n})}do if("root"!==(E=x.pop()).type){E.nodes.forEach(e=>{e.nodes||("open"===e.type&&(e.isOpen=!0),"close"===e.type&&(e.isClose=!0),e.nodes||(e.type="text"),e.invalid=!0)});let e=x[x.length-1],t=e.nodes.indexOf(E);e.nodes.splice(t,1,...E.nodes)}while(x.length>0);return O({type:"eos"}),S}},"./node_modules/braces/lib/stringify.js":function(e,t,n){let r=n("./node_modules/braces/lib/utils.js");e.exports=(e,t={})=>{let n=(e,s={})=>{let o=t.escapeInvalid&&r.isInvalidBrace(s),i=!0===e.invalid&&!0===t.escapeInvalid,a="";if(e.value)return(o||i)&&r.isOpenOrClose(e)?"\\"+e.value:e.value;if(e.value)return e.value;if(e.nodes)for(let t of e.nodes)a+=n(t);return a};return n(e)}},"./node_modules/braces/lib/utils.js":function(e,t){t.isInteger=e=>"number"==typeof e?Number.isInteger(e):"string"==typeof e&&""!==e.trim()&&Number.isInteger(Number(e)),t.find=(e,t)=>e.nodes.find(e=>e.type===t),t.exceedsLimit=(e,n,r=1,s)=>!!(!1!==s&&t.isInteger(e)&&t.isInteger(n))&&(Number(n)-Number(e))/Number(r)>=s,t.escapeNode=(e,t=0,n)=>{let r=e.nodes[t];r&&(n&&r.type===n||"open"===r.type||"close"===r.type)&&!0!==r.escaped&&(r.value="\\"+r.value,r.escaped=!0)},t.encloseBrace=e=>"brace"===e.type&&e.commas>>0+e.ranges>>0==0&&(e.invalid=!0,!0),t.isInvalidBrace=e=>"brace"===e.type&&(!0===e.invalid||!!e.dollar||(e.commas>>0+e.ranges>>0==0||!0!==e.open||!0!==e.close)&&(e.invalid=!0,!0)),t.isOpenOrClose=e=>"open"===e.type||"close"===e.type||!0===e.open||!0===e.close,t.reduce=e=>e.reduce((e,t)=>("text"===t.type&&e.push(t.value),"range"===t.type&&(t.type="text"),e),[]),t.flatten=(...e)=>{let t=[],n=e=>{for(let r=0;r<e.length;r++){let s=e[r];if(Array.isArray(s)){n(s);continue}void 0!==s&&t.push(s)}return t};return n(e),t}},"./node_modules/fast-glob/out/index.js":function(e,t,n){let r=n("./node_modules/fast-glob/out/managers/tasks.js"),s=n("./node_modules/fast-glob/out/providers/async.js"),o=n("./node_modules/fast-glob/out/providers/stream.js"),i=n("./node_modules/fast-glob/out/providers/sync.js"),a=n("./node_modules/fast-glob/out/settings.js"),l=n("./node_modules/fast-glob/out/utils/index.js");async function u(e,t){d(e);let n=c(e,s.default,t),r=await Promise.all(n);return l.array.flatten(r)}function c(e,t,n){let s=[].concat(e),o=new a.default(n),i=r.generate(s,o),l=new t(o);return i.map(l.read,l)}function d(e){if(![].concat(e).every(e=>l.string.isString(e)&&!l.string.isEmpty(e)))throw TypeError("Patterns must be a string (non empty) or an array of strings")}!function(e){var t,n;function s(e,t){d(e);let n=c(e,i.default,t);return l.array.flatten(n)}function u(e,t){d(e);let n=c(e,o.default,t);return l.stream.merge(n)}e.glob=e,e.globSync=s,e.globStream=u,e.async=e,e.sync=s,e.stream=u,e.generateTasks=function(e,t){d(e);let n=[].concat(e),s=new a.default(t);return r.generate(n,s)},e.isDynamicPattern=function(e,t){d(e);let n=new a.default(t);return l.pattern.isDynamicPattern(e,n)},e.escapePath=function(e){return d(e),l.path.escape(e)},e.convertPathToPattern=function(e){return d(e),l.path.convertPathToPattern(e)},(t=e.posix||(e.posix={})).escapePath=function(e){return d(e),l.path.escapePosixPath(e)},t.convertPathToPattern=function(e){return d(e),l.path.convertPosixPathToPattern(e)},(n=e.win32||(e.win32={})).escapePath=function(e){return d(e),l.path.escapeWindowsPath(e)},n.convertPathToPattern=function(e){return d(e),l.path.convertWindowsPathToPattern(e)}}(u||(u={})),e.exports=u},"./node_modules/fast-glob/out/managers/tasks.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.convertPatternGroupToTask=t.convertPatternGroupsToTasks=t.groupPatternsByBaseDirectory=t.getNegativePatternsAsPositive=t.getPositivePatterns=t.convertPatternsToTasks=t.generate=void 0;let r=n("./node_modules/fast-glob/out/utils/index.js");function s(e,t){let n=e;return t.braceExpansion&&(n=r.pattern.expandPatternsWithBraceExpansion(n)),t.baseNameMatch&&(n=n.map(e=>e.includes("/")?e:`**/${e}`)),n.map(e=>r.pattern.removeDuplicateSlashes(e))}function o(e,t,n){let s=[],o=r.pattern.getPatternsOutsideCurrentDirectory(e),i=r.pattern.getPatternsInsideCurrentDirectory(e),a=l(o),d=l(i);return s.push(...u(a,t,n)),"."in d?s.push(c(".",i,t,n)):s.push(...u(d,t,n)),s}function i(e){return r.pattern.getPositivePatterns(e)}function a(e,t){return r.pattern.getNegativePatterns(e).concat(t).map(r.pattern.convertToPositivePattern)}function l(e){return e.reduce((e,t)=>{let n=r.pattern.getBaseDirectory(t);return n in e?e[n].push(t):e[n]=[t],e},{})}function u(e,t,n){return Object.keys(e).map(r=>c(r,e[r],t,n))}function c(e,t,n,s){return{dynamic:s,positive:t,negative:n,base:e,patterns:[].concat(t,n.map(r.pattern.convertToNegativePattern))}}t.generate=function(e,t){let n=s(e,t),l=s(t.ignore,t),u=i(n),c=a(n,l),d=u.filter(e=>r.pattern.isStaticPattern(e,t)),p=u.filter(e=>r.pattern.isDynamicPattern(e,t)),f=o(d,c,!1),h=o(p,c,!0);return f.concat(h)},t.convertPatternsToTasks=o,t.getPositivePatterns=i,t.getNegativePatternsAsPositive=a,t.groupPatternsByBaseDirectory=l,t.convertPatternGroupsToTasks=u,t.convertPatternGroupToTask=c},"./node_modules/fast-glob/out/providers/async.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("./node_modules/fast-glob/out/readers/async.js"),s=n("./node_modules/fast-glob/out/providers/provider.js");class o extends s.default{constructor(){super(...arguments),this._reader=new r.default(this._settings)}async read(e){let t=this._getRootDirectory(e),n=this._getReaderOptions(e);return(await this.api(t,e,n)).map(e=>n.transform(e))}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}t.default=o},"./node_modules/fast-glob/out/providers/filters/deep.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("./node_modules/fast-glob/out/utils/index.js"),s=n("./node_modules/fast-glob/out/providers/matchers/partial.js");t.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t}getFilter(e,t,n){let r=this._getMatcher(t),s=this._getNegativePatternsRe(n);return t=>this._filter(e,t,r,s)}_getMatcher(e){return new s.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){let t=e.filter(r.pattern.isAffectDepthOfReadingPattern);return r.pattern.convertPatternsToRe(t,this._micromatchOptions)}_filter(e,t,n,s){if(this._isSkippedByDeep(e,t.path)||this._isSkippedSymbolicLink(t))return!1;let o=r.path.removeLeadingDotSegment(t.path);return!this._isSkippedByPositivePatterns(o,n)&&this._isSkippedByNegativePatterns(o,s)}_isSkippedByDeep(e,t){return this._settings.deep!==1/0&&this._getEntryLevel(e,t)>=this._settings.deep}_getEntryLevel(e,t){let n=t.split("/").length;return""===e?n:n-e.split("/").length}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,t){return!this._settings.baseNameMatch&&!t.match(e)}_isSkippedByNegativePatterns(e,t){return!r.pattern.matchAny(e,t)}}},"./node_modules/fast-glob/out/providers/filters/entry.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("./node_modules/fast-glob/out/utils/index.js");t.default=class{constructor(e,t){this._settings=e,this._micromatchOptions=t,this.index=new Map}getFilter(e,t){let[n,s]=r.pattern.partitionAbsoluteAndRelative(t),o={positive:{all:r.pattern.convertPatternsToRe(e,this._micromatchOptions)},negative:{absolute:r.pattern.convertPatternsToRe(n,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0})),relative:r.pattern.convertPatternsToRe(s,Object.assign(Object.assign({},this._micromatchOptions),{dot:!0}))}};return e=>this._filter(e,o)}_filter(e,t){let n=r.path.removeLeadingDotSegment(e.path);if(this._settings.unique&&this._isDuplicateEntry(n)||this._onlyFileFilter(e)||this._onlyDirectoryFilter(e))return!1;let s=this._isMatchToPatternsSet(n,t,e.dirent.isDirectory());return this._settings.unique&&s&&this._createIndexRecord(n),s}_isDuplicateEntry(e){return this.index.has(e)}_createIndexRecord(e){this.index.set(e,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isMatchToPatternsSet(e,t,n){return!(!this._isMatchToPatterns(e,t.positive.all,n)||this._isMatchToPatterns(e,t.negative.relative,n)||this._isMatchToAbsoluteNegative(e,t.negative.absolute,n))}_isMatchToAbsoluteNegative(e,t,n){if(0===t.length)return!1;let s=r.path.makeAbsolute(this._settings.cwd,e);return this._isMatchToPatterns(s,t,n)}_isMatchToPatterns(e,t,n){if(0===t.length)return!1;let s=r.pattern.matchAny(e,t);return!s&&n?r.pattern.matchAny(e+"/",t):s}}},"./node_modules/fast-glob/out/providers/filters/error.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("./node_modules/fast-glob/out/utils/index.js");t.default=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return r.errno.isEnoentCodeError(e)||this._settings.suppressErrors}}},"./node_modules/fast-glob/out/providers/matchers/matcher.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("./node_modules/fast-glob/out/utils/index.js");t.default=class{constructor(e,t,n){this._patterns=e,this._settings=t,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){for(let e of this._patterns){let t=this._getPatternSegments(e),n=this._splitSegmentsIntoSections(t);this._storage.push({complete:n.length<=1,pattern:e,segments:t,sections:n})}}_getPatternSegments(e){return r.pattern.getPatternParts(e,this._micromatchOptions).map(e=>r.pattern.isDynamicPattern(e,this._settings)?{dynamic:!0,pattern:e,patternRe:r.pattern.makeRe(e,this._micromatchOptions)}:{dynamic:!1,pattern:e})}_splitSegmentsIntoSections(e){return r.array.splitWhen(e,e=>e.dynamic&&r.pattern.hasGlobStar(e.pattern))}}},"./node_modules/fast-glob/out/providers/matchers/partial.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("./node_modules/fast-glob/out/providers/matchers/matcher.js");class s extends r.default{match(e){let t=e.split("/"),n=t.length;for(let e of this._storage.filter(e=>!e.complete||e.segments.length>n)){let r=e.sections[0];if(!e.complete&&n>r.length||t.every((t,n)=>{let r=e.segments[n];return!!(r.dynamic&&r.patternRe.test(t))||!r.dynamic&&r.pattern===t}))return!0}return!1}}t.default=s},"./node_modules/fast-glob/out/providers/provider.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("path"),s=n("./node_modules/fast-glob/out/providers/filters/deep.js"),o=n("./node_modules/fast-glob/out/providers/filters/entry.js"),i=n("./node_modules/fast-glob/out/providers/filters/error.js"),a=n("./node_modules/fast-glob/out/providers/transformers/entry.js");t.default=class{constructor(e){this._settings=e,this.errorFilter=new i.default(this._settings),this.entryFilter=new o.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new s.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new a.default(this._settings)}_getRootDirectory(e){return r.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){let t="."===e.base?"":e.base;return{basePath:t,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(t,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}}},"./node_modules/fast-glob/out/providers/stream.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("stream"),s=n("./node_modules/fast-glob/out/readers/stream.js"),o=n("./node_modules/fast-glob/out/providers/provider.js");class i extends o.default{constructor(){super(...arguments),this._reader=new s.default(this._settings)}read(e){let t=this._getRootDirectory(e),n=this._getReaderOptions(e),s=this.api(t,e,n),o=new r.Readable({objectMode:!0,read:()=>{}});return s.once("error",e=>o.emit("error",e)).on("data",e=>o.emit("data",n.transform(e))).once("end",()=>o.emit("end")),o.once("close",()=>s.destroy()),o}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}t.default=i},"./node_modules/fast-glob/out/providers/sync.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("./node_modules/fast-glob/out/readers/sync.js"),s=n("./node_modules/fast-glob/out/providers/provider.js");class o extends s.default{constructor(){super(...arguments),this._reader=new r.default(this._settings)}read(e){let t=this._getRootDirectory(e),n=this._getReaderOptions(e);return this.api(t,e,n).map(n.transform)}api(e,t,n){return t.dynamic?this._reader.dynamic(e,n):this._reader.static(t.patterns,n)}}t.default=o},"./node_modules/fast-glob/out/providers/transformers/entry.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("./node_modules/fast-glob/out/utils/index.js");t.default=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let t=e.path;return(this._settings.absolute&&(t=r.path.makeAbsolute(this._settings.cwd,t),t=r.path.unixify(t)),this._settings.markDirectories&&e.dirent.isDirectory()&&(t+="/"),this._settings.objectMode)?Object.assign(Object.assign({},e),{path:t}):t}}},"./node_modules/fast-glob/out/readers/async.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("./node_modules/@nodelib/fs.walk/out/index.js"),s=n("./node_modules/fast-glob/out/readers/reader.js"),o=n("./node_modules/fast-glob/out/readers/stream.js");class i extends s.default{constructor(){super(...arguments),this._walkAsync=r.walk,this._readerStream=new o.default(this._settings)}dynamic(e,t){return new Promise((n,r)=>{this._walkAsync(e,t,(e,t)=>{null===e?n(t):r(e)})})}async static(e,t){let n=[],r=this._readerStream.static(e,t);return new Promise((e,t)=>{r.once("error",t),r.on("data",e=>n.push(e)),r.once("end",()=>e(n))})}}t.default=i},"./node_modules/fast-glob/out/readers/reader.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("path"),s=n("./node_modules/@nodelib/fs.stat/out/index.js"),o=n("./node_modules/fast-glob/out/utils/index.js");t.default=class{constructor(e){this._settings=e,this._fsStatSettings=new s.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return r.resolve(this._settings.cwd,e)}_makeEntry(e,t){let n={name:t,path:t,dirent:o.fs.createDirentFromStats(t,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!o.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}}},"./node_modules/fast-glob/out/readers/stream.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("stream"),s=n("./node_modules/@nodelib/fs.stat/out/index.js"),o=n("./node_modules/@nodelib/fs.walk/out/index.js"),i=n("./node_modules/fast-glob/out/readers/reader.js");class a extends i.default{constructor(){super(...arguments),this._walkStream=o.walkStream,this._stat=s.stat}dynamic(e,t){return this._walkStream(e,t)}static(e,t){let n=e.map(this._getFullEntryPath,this),s=new r.PassThrough({objectMode:!0});s._write=(r,o,i)=>this._getEntry(n[r],e[r],t).then(e=>{null!==e&&t.entryFilter(e)&&s.push(e),r===n.length-1&&s.end(),i()}).catch(i);for(let e=0;e<n.length;e++)s.write(e);return s}_getEntry(e,t,n){return this._getStat(e).then(e=>this._makeEntry(e,t)).catch(e=>{if(n.errorFilter(e))return null;throw e})}_getStat(e){return new Promise((t,n)=>{this._stat(e,this._fsStatSettings,(e,r)=>null===e?t(r):n(e))})}}t.default=a},"./node_modules/fast-glob/out/readers/sync.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0});let r=n("./node_modules/@nodelib/fs.stat/out/index.js"),s=n("./node_modules/@nodelib/fs.walk/out/index.js"),o=n("./node_modules/fast-glob/out/readers/reader.js");class i extends o.default{constructor(){super(...arguments),this._walkSync=s.walkSync,this._statSync=r.statSync}dynamic(e,t){return this._walkSync(e,t)}static(e,t){let n=[];for(let r of e){let e=this._getFullEntryPath(r),s=this._getEntry(e,r,t);null!==s&&t.entryFilter(s)&&n.push(s)}return n}_getEntry(e,t,n){try{let n=this._getStat(e);return this._makeEntry(n,t)}catch(e){if(n.errorFilter(e))return null;throw e}}_getStat(e){return this._statSync(e,this._fsStatSettings)}}t.default=i},"./node_modules/fast-glob/out/settings.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;let r=n("fs"),s=Math.max(n("os").cpus().length,1);t.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:r.lstat,lstatSync:r.lstatSync,stat:r.stat,statSync:r.statSync,readdir:r.readdir,readdirSync:r.readdirSync},t.default=class{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,s),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0),this.ignore=[].concat(this.ignore)}_getValue(e,t){return void 0===e?t:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},t.DEFAULT_FILE_SYSTEM_ADAPTER),e)}}},"./node_modules/fast-glob/out/utils/array.js":function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.splitWhen=t.flatten=void 0,t.flatten=function(e){return e.reduce((e,t)=>[].concat(e,t),[])},t.splitWhen=function(e,t){let n=[[]],r=0;for(let s of e)t(s)?n[++r]=[]:n[r].push(s);return n}},"./node_modules/fast-glob/out/utils/errno.js":function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isEnoentCodeError=void 0,t.isEnoentCodeError=function(e){return"ENOENT"===e.code}},"./node_modules/fast-glob/out/utils/fs.js":function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.createDirentFromStats=void 0;class n{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)}}t.createDirentFromStats=function(e,t){return new n(e,t)}},"./node_modules/fast-glob/out/utils/index.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.string=t.stream=t.pattern=t.path=t.fs=t.errno=t.array=void 0;let r=n("./node_modules/fast-glob/out/utils/array.js");t.array=r;let s=n("./node_modules/fast-glob/out/utils/errno.js");t.errno=s;let o=n("./node_modules/fast-glob/out/utils/fs.js");t.fs=o;let i=n("./node_modules/fast-glob/out/utils/path.js");t.path=i;let a=n("./node_modules/fast-glob/out/utils/pattern.js");t.pattern=a;let l=n("./node_modules/fast-glob/out/utils/stream.js");t.stream=l;let u=n("./node_modules/fast-glob/out/utils/string.js");t.string=u},"./node_modules/fast-glob/out/utils/path.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.convertPosixPathToPattern=t.convertWindowsPathToPattern=t.convertPathToPattern=t.escapePosixPath=t.escapeWindowsPath=t.escape=t.removeLeadingDotSegment=t.makeAbsolute=t.unixify=void 0;let r=n("os"),s=n("path"),o="win32"===r.platform(),i=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\()|\\(?![!()*+?@[\]{|}]))/g,a=/(\\?)([()[\]{}]|^!|[!+@](?=\())/g,l=/^\\\\([.?])/,u=/\\(?![!()+@[\]{}])/g;function c(e){return e.replace(a,"\\$2")}function d(e){return e.replace(i,"\\$2")}function p(e){return c(e).replace(l,"//$1").replace(u,"/")}function f(e){return d(e)}t.unixify=function(e){return e.replace(/\\/g,"/")},t.makeAbsolute=function(e,t){return s.resolve(e,t)},t.removeLeadingDotSegment=function(e){if("."===e.charAt(0)){let t=e.charAt(1);if("/"===t||"\\"===t)return e.slice(2)}return e},t.escape=o?c:d,t.escapeWindowsPath=c,t.escapePosixPath=d,t.convertPathToPattern=o?p:f,t.convertWindowsPathToPattern=p,t.convertPosixPathToPattern=f},"./node_modules/fast-glob/out/utils/pattern.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.isAbsolute=t.partitionAbsoluteAndRelative=t.removeDuplicateSlashes=t.matchAny=t.convertPatternsToRe=t.makeRe=t.getPatternParts=t.expandBraceExpansion=t.expandPatternsWithBraceExpansion=t.isAffectDepthOfReadingPattern=t.endsWithSlashGlobStar=t.hasGlobStar=t.getBaseDirectory=t.isPatternRelatedToParentDirectory=t.getPatternsOutsideCurrentDirectory=t.getPatternsInsideCurrentDirectory=t.getPositivePatterns=t.getNegativePatterns=t.isPositivePattern=t.isNegativePattern=t.convertToNegativePattern=t.convertToPositivePattern=t.isDynamicPattern=t.isStaticPattern=void 0;let r=n("path"),s=n("./node_modules/glob-parent/index.js"),o=n("./node_modules/micromatch/index.js"),i=/[*?]|^!/,a=/\[[^[]*]/,l=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,u=/[!*+?@]\([^(]*\)/,c=/,|\.\./,d=/(?!^)\/{2,}/g;function p(e,t={}){return!f(e,t)}function f(e,t={}){return""!==e&&!!(!1===t.caseSensitiveMatch||e.includes("\\")||i.test(e)||a.test(e)||l.test(e)||!1!==t.extglob&&u.test(e)||!1!==t.braceExpansion&&function(e){let t=e.indexOf("{");if(-1===t)return!1;let n=e.indexOf("}",t+1);if(-1===n)return!1;let r=e.slice(t,n);return c.test(r)}(e))}function h(e){return e.startsWith("!")&&"("!==e[1]}function _(e){return!h(e)}function g(e){return e.startsWith("..")||e.startsWith("./..")}function m(e){return e.endsWith("/**")}function y(e){let t=o.braces(e,{expand:!0,nodupes:!0,keepEscaping:!0});return t.sort((e,t)=>e.length-t.length),t.filter(e=>""!==e)}function b(e,t){return o.makeRe(e,t)}function v(e){return r.isAbsolute(e)}t.isStaticPattern=p,t.isDynamicPattern=f,t.convertToPositivePattern=function(e){return h(e)?e.slice(1):e},t.convertToNegativePattern=function(e){return"!"+e},t.isNegativePattern=h,t.isPositivePattern=_,t.getNegativePatterns=function(e){return e.filter(h)},t.getPositivePatterns=function(e){return e.filter(_)},t.getPatternsInsideCurrentDirectory=function(e){return e.filter(e=>!g(e))},t.getPatternsOutsideCurrentDirectory=function(e){return e.filter(g)},t.isPatternRelatedToParentDirectory=g,t.getBaseDirectory=function(e){return s(e,{flipBackslashes:!1})},t.hasGlobStar=function(e){return e.includes("**")},t.endsWithSlashGlobStar=m,t.isAffectDepthOfReadingPattern=function(e){let t=r.basename(e);return m(e)||p(t)},t.expandPatternsWithBraceExpansion=function(e){return e.reduce((e,t)=>e.concat(y(t)),[])},t.expandBraceExpansion=y,t.getPatternParts=function(e,t){let{parts:n}=o.scan(e,Object.assign(Object.assign({},t),{parts:!0}));return 0===n.length&&(n=[e]),n[0].startsWith("/")&&(n[0]=n[0].slice(1),n.unshift("")),n},t.makeRe=b,t.convertPatternsToRe=function(e,t){return e.map(e=>b(e,t))},t.matchAny=function(e,t){return t.some(t=>t.test(e))},t.removeDuplicateSlashes=function(e){return e.replace(d,"/")},t.partitionAbsoluteAndRelative=function(e){let t=[],n=[];for(let r of e)v(r)?t.push(r):n.push(r);return[t,n]},t.isAbsolute=v},"./node_modules/fast-glob/out/utils/stream.js":function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.merge=void 0;let r=n("./node_modules/merge2/index.js");function s(e){e.forEach(e=>e.emit("close"))}t.merge=function(e){let t=r(e);return e.forEach(e=>{e.once("error",e=>t.emit("error",e))}),t.once("close",()=>s(e)),t.once("end",()=>s(e)),t}},"./node_modules/fast-glob/out/utils/string.js":function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isEmpty=t.isString=void 0,t.isString=function(e){return"string"==typeof e},t.isEmpty=function(e){return""===e}},"./node_modules/fastq/queue.js":function(e,t,n){var r=n("./node_modules/reusify/reusify.js");function s(e,t,n){if("function"==typeof e&&(n=t,t=e,e=null),!(n>=1))throw Error("fastqueue concurrency must be equal to or greater than 1");var s=r(i),a=null,l=null,u=0,c=null,d={push:function(r,i){var f=s.get();f.context=e,f.release=p,f.value=r,f.callback=i||o,f.errorHandler=c,u>=n||d.paused?l?(l.next=f,l=f):(a=f,l=f,d.saturated()):(u++,t.call(e,f.value,f.worked))},drain:o,saturated:o,pause:function(){d.paused=!0},paused:!1,get concurrency(){return n},set concurrency(value){if(!(value>=1))throw Error("fastqueue concurrency must be equal to or greater than 1");if(n=value,d.paused)return;for(;a&&u<n;)u++,p()},running:function(){return u},resume:function(){if(d.paused){if(d.paused=!1,null===a){u++,p();return}for(;a&&u<n;)u++,p()}},idle:function(){return 0===u&&0===d.length()},length:function(){for(var e=a,t=0;e;)e=e.next,t++;return t},getQueue:function(){for(var e=a,t=[];e;)t.push(e.value),e=e.next;return t},unshift:function(r,i){var f=s.get();f.context=e,f.release=p,f.value=r,f.callback=i||o,f.errorHandler=c,u>=n||d.paused?a?(f.next=a,a=f):(a=f,l=f,d.saturated()):(u++,t.call(e,f.value,f.worked))},empty:o,kill:function(){a=null,l=null,d.drain=o},killAndDrain:function(){a=null,l=null,d.drain(),d.drain=o},error:function(e){c=e}};return d;function p(r){r&&s.release(r);var o=a;o&&u<=n?d.paused?u--:(l===a&&(l=null),a=o.next,o.next=null,t.call(e,o.value,o.worked),null===l&&d.empty()):0==--u&&d.drain()}}function o(){}function i(){this.value=null,this.callback=o,this.next=null,this.release=o,this.context=null,this.errorHandler=null;var e=this;this.worked=function(t,n){var r=e.callback,s=e.errorHandler,i=e.value;e.value=null,e.callback=o,e.errorHandler&&s(t,i),r.call(e.context,t,n),e.release(e)}}e.exports=s,e.exports.promise=function(e,t,n){"function"==typeof e&&(n=t,t=e,e=null);var r=s(e,function(e,n){t.call(this,e).then(function(e){n(null,e)},n)},n),i=r.push,a=r.unshift;return r.push=function(e){var t=new Promise(function(t,n){i(e,function(e,r){if(e){n(e);return}t(r)})});return t.catch(o),t},r.unshift=function(e){var t=new Promise(function(t,n){a(e,function(e,r){if(e){n(e);return}t(r)})});return t.catch(o),t},r.drained=function(){return new Promise(function(e){process.nextTick(function(){if(r.idle())e();else{var t=r.drain;r.drain=function(){"function"==typeof t&&t(),e(),r.drain=t}}})})},r}},"./node_modules/fill-range/index.js":function(e,t,n){let r=n("util"),s=n("./node_modules/to-regex-range/index.js"),o=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),i=e=>t=>!0===e?Number(t):String(t),a=e=>"number"==typeof e||"string"==typeof e&&""!==e,l=e=>Nu