@modern-js/utils 2.69.7 → 3.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. package/dist/cjs/cli/alias.js +76 -70
  2. package/dist/cjs/cli/applyOptionsChain.js +44 -45
  3. package/dist/cjs/cli/babel.js +100 -119
  4. package/dist/cjs/cli/commands.js +61 -59
  5. package/dist/cjs/cli/common.js +45 -37
  6. package/dist/cjs/cli/config.js +36 -30
  7. package/dist/cjs/cli/constants.js +124 -161
  8. package/dist/cjs/cli/ensure.js +52 -45
  9. package/dist/cjs/cli/fs.js +41 -38
  10. package/dist/cjs/cli/get/config.js +43 -38
  11. package/dist/cjs/cli/get/data.js +108 -125
  12. package/dist/cjs/cli/get/index.js +109 -58
  13. package/dist/cjs/cli/index.js +202 -63
  14. package/dist/cjs/cli/is/config.js +75 -71
  15. package/dist/cjs/cli/is/env.js +49 -37
  16. package/dist/cjs/cli/is/index.js +76 -25
  17. package/dist/cjs/cli/is/project.js +139 -135
  18. package/dist/cjs/cli/is/type.js +65 -49
  19. package/dist/cjs/cli/logger.js +36 -27
  20. package/dist/cjs/cli/monorepo.js +100 -96
  21. package/dist/cjs/cli/package.js +85 -82
  22. package/dist/cjs/cli/path.js +101 -82
  23. package/dist/cjs/cli/port.js +71 -74
  24. package/dist/cjs/cli/prettyInstructions.js +106 -116
  25. package/dist/cjs/cli/require.js +116 -136
  26. package/dist/cjs/cli/route.js +67 -77
  27. package/dist/cjs/cli/runtimeExports.js +16 -70
  28. package/dist/cjs/cli/version.js +53 -42
  29. package/dist/cjs/cli/watch.js +79 -72
  30. package/dist/cjs/compiled.js +199 -128
  31. package/dist/cjs/import.js +58 -33
  32. package/dist/cjs/index.js +69 -23
  33. package/dist/cjs/universal/constants.js +77 -67
  34. package/dist/cjs/universal/index.js +33 -25
  35. package/dist/cjs/universal/path.js +33 -27
  36. package/dist/cjs/universal/pluginDagSort.js +69 -68
  37. package/dist/compiled/address/index.js +171 -1
  38. package/dist/compiled/browserslist/index.js +1329 -1
  39. package/dist/compiled/chalk/index.js +2368 -1
  40. package/dist/compiled/chokidar/index.js +4138 -16
  41. package/dist/compiled/chokidar/index.js.LICENSE.txt +41 -0
  42. package/dist/compiled/commander/index.js +1540 -1
  43. package/dist/compiled/debug/index.js +621 -1
  44. package/dist/compiled/dotenv/index.js +101 -1
  45. package/dist/compiled/dotenv-expand/index.js +54 -1
  46. package/dist/compiled/execa/index.js +1738 -1
  47. package/dist/compiled/fast-glob/index.js +4645 -17
  48. package/dist/compiled/fast-glob/index.js.LICENSE.txt +38 -0
  49. package/dist/compiled/filesize/index.js +193 -4
  50. package/dist/compiled/filesize/index.js.LICENSE.txt +7 -0
  51. package/dist/compiled/fs-extra/index.js +2222 -1
  52. package/dist/compiled/glob/index.js +2011 -1
  53. package/dist/compiled/globby/index.js +690 -1
  54. package/dist/compiled/gzip-size/index.js +157 -1
  55. package/dist/compiled/import-lazy/index.js +45 -1
  56. package/dist/compiled/inquirer/index.js +20162 -4
  57. package/dist/compiled/inquirer/index.js.LICENSE.txt +7 -0
  58. package/dist/compiled/js-yaml/index.js +2188 -1
  59. package/dist/compiled/json5/index.js +983 -1
  60. package/dist/compiled/lodash/index.js +0 -4
  61. package/dist/compiled/mime-types/index.js +108 -6
  62. package/dist/compiled/mime-types/index.js.LICENSE.txt +13 -0
  63. package/dist/compiled/minimist/index.js +202 -1
  64. package/dist/compiled/nanoid/index.js +83 -1
  65. package/dist/compiled/ora/index.js +3936 -3
  66. package/dist/compiled/ora/index.js.LICENSE.txt +1 -0
  67. package/dist/compiled/pkg-up/index.js +177 -1
  68. package/dist/compiled/semver/index.js +1779 -1
  69. package/dist/compiled/signale/index.js +1704 -1
  70. package/dist/compiled/slash/index.js +32 -1
  71. package/dist/compiled/strip-ansi/index.js +34 -1
  72. package/dist/compiled/tsconfig-paths/index.js +629 -1
  73. package/dist/compiled/upath/index.js +135 -1
  74. package/dist/compiled/url-join/index.js +61 -1
  75. package/dist/compiled/webpack-chain/index.js +1475 -1
  76. package/dist/esm/cli/alias.mjs +31 -0
  77. package/dist/esm/cli/applyOptionsChain.mjs +16 -0
  78. package/dist/esm/cli/babel.mjs +76 -0
  79. package/dist/esm/cli/commands.mjs +23 -0
  80. package/dist/esm/cli/common.mjs +11 -0
  81. package/dist/esm/cli/config.mjs +5 -0
  82. package/dist/esm/cli/constants.mjs +29 -0
  83. package/dist/esm/cli/ensure.mjs +9 -0
  84. package/dist/esm/cli/fs.mjs +9 -0
  85. package/dist/esm/cli/get/config.mjs +14 -0
  86. package/dist/esm/cli/get/data.mjs +57 -0
  87. package/dist/esm/cli/get/index.mjs +18 -0
  88. package/dist/{esm-node/cli/index.js → esm/cli/index.mjs} +0 -1
  89. package/dist/esm/cli/is/config.mjs +34 -0
  90. package/dist/esm/cli/is/env.mjs +6 -0
  91. package/dist/esm/cli/is/project.mjs +104 -0
  92. package/dist/esm/cli/is/type.mjs +26 -0
  93. package/dist/esm/cli/logger.mjs +2 -0
  94. package/dist/esm/cli/monorepo.mjs +50 -0
  95. package/dist/esm/cli/package.mjs +51 -0
  96. package/dist/esm/cli/path.mjs +35 -0
  97. package/dist/esm/cli/port.mjs +35 -0
  98. package/dist/esm/cli/prettyInstructions.mjs +68 -0
  99. package/dist/esm/cli/require.mjs +79 -0
  100. package/dist/esm/cli/route.mjs +36 -0
  101. package/dist/esm/cli/runtimeExports.mjs +0 -0
  102. package/dist/esm/cli/version.mjs +21 -0
  103. package/dist/esm/cli/watch.mjs +40 -0
  104. package/dist/esm/compiled.mjs +115 -0
  105. package/dist/esm/import.mjs +25 -0
  106. package/dist/esm/universal/constants.mjs +13 -0
  107. package/dist/{esm-node/universal/index.js → esm/universal/index.mjs} +1 -3
  108. package/dist/esm/universal/path.mjs +2 -0
  109. package/dist/esm/universal/pluginDagSort.mjs +41 -0
  110. package/dist/esm-node/cli/alias.mjs +31 -0
  111. package/dist/esm-node/cli/applyOptionsChain.mjs +16 -0
  112. package/dist/esm-node/cli/babel.mjs +76 -0
  113. package/dist/esm-node/cli/commands.mjs +23 -0
  114. package/dist/esm-node/cli/common.mjs +11 -0
  115. package/dist/esm-node/cli/config.mjs +5 -0
  116. package/dist/esm-node/cli/constants.mjs +29 -0
  117. package/dist/esm-node/cli/ensure.mjs +9 -0
  118. package/dist/esm-node/cli/fs.mjs +9 -0
  119. package/dist/esm-node/cli/get/config.mjs +14 -0
  120. package/dist/esm-node/cli/get/data.mjs +57 -0
  121. package/dist/esm-node/cli/get/index.mjs +18 -0
  122. package/dist/esm-node/cli/index.mjs +22 -0
  123. package/dist/esm-node/cli/is/config.mjs +34 -0
  124. package/dist/esm-node/cli/is/env.mjs +6 -0
  125. package/dist/esm-node/cli/is/index.mjs +4 -0
  126. package/dist/esm-node/cli/is/project.mjs +104 -0
  127. package/dist/esm-node/cli/is/type.mjs +26 -0
  128. package/dist/esm-node/cli/logger.mjs +2 -0
  129. package/dist/esm-node/cli/monorepo.mjs +50 -0
  130. package/dist/esm-node/cli/package.mjs +51 -0
  131. package/dist/esm-node/cli/path.mjs +35 -0
  132. package/dist/esm-node/cli/port.mjs +35 -0
  133. package/dist/esm-node/cli/prettyInstructions.mjs +68 -0
  134. package/dist/esm-node/cli/require.mjs +79 -0
  135. package/dist/esm-node/cli/route.mjs +36 -0
  136. package/dist/esm-node/cli/runtimeExports.mjs +0 -0
  137. package/dist/esm-node/cli/version.mjs +21 -0
  138. package/dist/esm-node/cli/watch.mjs +40 -0
  139. package/dist/esm-node/compiled.mjs +115 -0
  140. package/dist/esm-node/import.mjs +25 -0
  141. package/dist/esm-node/index.mjs +3 -0
  142. package/dist/esm-node/universal/constants.mjs +13 -0
  143. package/dist/esm-node/universal/index.mjs +2 -0
  144. package/dist/esm-node/universal/path.mjs +2 -0
  145. package/dist/esm-node/universal/pluginDagSort.mjs +41 -0
  146. package/dist/types/cli/constants.d.ts +2 -26
  147. package/dist/types/cli/get/data.d.ts +0 -1
  148. package/dist/types/cli/index.d.ts +0 -1
  149. package/dist/types/cli/is/config.d.ts +1 -1
  150. package/dist/types/cli/runtimeExports.d.ts +1 -4
  151. package/dist/types/cli/watch.d.ts +1 -1
  152. package/dist/types/compiled.d.ts +0 -5
  153. package/dist/types/universal/constants.d.ts +4 -7
  154. package/package.json +27 -27
  155. package/rslib.config.mts +140 -0
  156. package/dist/cjs/cli/action.js +0 -55
  157. package/dist/cjs/universal/formatWebpack.js +0 -127
  158. package/dist/esm/cli/action.js +0 -68
  159. package/dist/esm/cli/alias.js +0 -43
  160. package/dist/esm/cli/applyOptionsChain.js +0 -29
  161. package/dist/esm/cli/babel.js +0 -122
  162. package/dist/esm/cli/commands.js +0 -39
  163. package/dist/esm/cli/common.js +0 -20
  164. package/dist/esm/cli/config.js +0 -11
  165. package/dist/esm/cli/constants.js +0 -114
  166. package/dist/esm/cli/ensure.js +0 -16
  167. package/dist/esm/cli/fs.js +0 -65
  168. package/dist/esm/cli/get/config.js +0 -19
  169. package/dist/esm/cli/get/data.js +0 -143
  170. package/dist/esm/cli/get/index.js +0 -38
  171. package/dist/esm/cli/index.js +0 -23
  172. package/dist/esm/cli/is/config.js +0 -70
  173. package/dist/esm/cli/is/env.js +0 -22
  174. package/dist/esm/cli/is/index.js +0 -4
  175. package/dist/esm/cli/is/project.js +0 -146
  176. package/dist/esm/cli/is/type.js +0 -39
  177. package/dist/esm/cli/logger.js +0 -5
  178. package/dist/esm/cli/monorepo.js +0 -82
  179. package/dist/esm/cli/package.js +0 -203
  180. package/dist/esm/cli/path.js +0 -66
  181. package/dist/esm/cli/port.js +0 -97
  182. package/dist/esm/cli/prettyInstructions.js +0 -102
  183. package/dist/esm/cli/require.js +0 -235
  184. package/dist/esm/cli/route.js +0 -64
  185. package/dist/esm/cli/runtimeExports.js +0 -44
  186. package/dist/esm/cli/version.js +0 -26
  187. package/dist/esm/cli/watch.js +0 -112
  188. package/dist/esm/compiled.js +0 -66
  189. package/dist/esm/import.js +0 -11
  190. package/dist/esm/index.js +0 -3
  191. package/dist/esm/universal/constants.js +0 -32
  192. package/dist/esm/universal/formatWebpack.js +0 -95
  193. package/dist/esm/universal/index.js +0 -4
  194. package/dist/esm/universal/path.js +0 -6
  195. package/dist/esm/universal/pluginDagSort.js +0 -73
  196. package/dist/esm-node/cli/action.js +0 -30
  197. package/dist/esm-node/cli/alias.js +0 -40
  198. package/dist/esm-node/cli/applyOptionsChain.js +0 -27
  199. package/dist/esm-node/cli/babel.js +0 -107
  200. package/dist/esm-node/cli/commands.js +0 -39
  201. package/dist/esm-node/cli/common.js +0 -15
  202. package/dist/esm-node/cli/config.js +0 -9
  203. package/dist/esm-node/cli/constants.js +0 -114
  204. package/dist/esm-node/cli/ensure.js +0 -14
  205. package/dist/esm-node/cli/fs.js +0 -18
  206. package/dist/esm-node/cli/get/config.js +0 -19
  207. package/dist/esm-node/cli/get/data.js +0 -96
  208. package/dist/esm-node/cli/get/index.js +0 -22
  209. package/dist/esm-node/cli/is/config.js +0 -50
  210. package/dist/esm-node/cli/is/env.js +0 -12
  211. package/dist/esm-node/cli/is/project.js +0 -105
  212. package/dist/esm-node/cli/is/type.js +0 -36
  213. package/dist/esm-node/cli/logger.js +0 -5
  214. package/dist/esm-node/cli/monorepo.js +0 -67
  215. package/dist/esm-node/cli/package.js +0 -66
  216. package/dist/esm-node/cli/path.js +0 -48
  217. package/dist/esm-node/cli/port.js +0 -48
  218. package/dist/esm-node/cli/prettyInstructions.js +0 -90
  219. package/dist/esm-node/cli/require.js +0 -111
  220. package/dist/esm-node/cli/route.js +0 -60
  221. package/dist/esm-node/cli/runtimeExports.js +0 -38
  222. package/dist/esm-node/cli/version.js +0 -26
  223. package/dist/esm-node/cli/watch.js +0 -45
  224. package/dist/esm-node/compiled.js +0 -66
  225. package/dist/esm-node/import.js +0 -11
  226. package/dist/esm-node/universal/constants.js +0 -32
  227. package/dist/esm-node/universal/formatWebpack.js +0 -102
  228. package/dist/esm-node/universal/path.js +0 -6
  229. package/dist/esm-node/universal/pluginDagSort.js +0 -50
  230. package/dist/types/cli/action.d.ts +0 -2
  231. package/dist/types/universal/formatWebpack.d.ts +0 -26
  232. /package/dist/{esm-node/cli/is/index.js → esm/cli/is/index.mjs} +0 -0
  233. /package/dist/{esm-node/index.js → esm/index.mjs} +0 -0
@@ -1 +1,2011 @@
1
- (()=>{var t={155:t=>{"use strict";t.exports=balanced;function balanced(t,e,r){if(t instanceof RegExp)t=maybeMatch(t,r);if(e instanceof RegExp)e=maybeMatch(e,r);var i=range(t,e,r);return i&&{start:i[0],end:i[1],pre:r.slice(0,i[0]),body:r.slice(i[0]+t.length,i[1]),post:r.slice(i[1]+e.length)}}function maybeMatch(t,e){var r=e.match(t);return r?r[0]:null}balanced.range=range;function range(t,e,r){var i,a,n,s,o;var c=r.indexOf(t);var h=r.indexOf(e,c+1);var l=c;if(c>=0&&h>0){if(t===e){return[c,h]}i=[];n=r.length;while(l>=0&&!o){if(l==c){i.push(l);c=r.indexOf(t,l+1)}else if(i.length==1){o=[i.pop(),h]}else{a=i.pop();if(a<n){n=a;s=h}h=r.indexOf(e,l+1)}l=c<h&&c>=0?c:h}if(i.length){o=[n,s]}}return o}},847:(t,e,r)=>{var i=r(62);var a=r(155);t.exports=expandTop;var n="\0SLASH"+Math.random()+"\0";var s="\0OPEN"+Math.random()+"\0";var o="\0CLOSE"+Math.random()+"\0";var c="\0COMMA"+Math.random()+"\0";var h="\0PERIOD"+Math.random()+"\0";function numeric(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function escapeBraces(t){return t.split("\\\\").join(n).split("\\{").join(s).split("\\}").join(o).split("\\,").join(c).split("\\.").join(h)}function unescapeBraces(t){return t.split(n).join("\\").split(s).join("{").split(o).join("}").split(c).join(",").split(h).join(".")}function parseCommaParts(t){if(!t)return[""];var e=[];var r=a("{","}",t);if(!r)return t.split(",");var i=r.pre;var n=r.body;var s=r.post;var o=i.split(",");o[o.length-1]+="{"+n+"}";var c=parseCommaParts(s);if(s.length){o[o.length-1]+=c.shift();o.push.apply(o,c)}e.push.apply(e,o);return e}function expandTop(t){if(!t)return[];if(t.substr(0,2)==="{}"){t="\\{\\}"+t.substr(2)}return expand(escapeBraces(t),true).map(unescapeBraces)}function identity(t){return t}function embrace(t){return"{"+t+"}"}function isPadded(t){return/^-?0\d/.test(t)}function lte(t,e){return t<=e}function gte(t,e){return t>=e}function expand(t,e){var r=[];var n=a("{","}",t);if(!n||/\$$/.test(n.pre))return[t];var s=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body);var c=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body);var h=s||c;var l=n.body.indexOf(",")>=0;if(!h&&!l){if(n.post.match(/,.*\}/)){t=n.pre+"{"+n.body+o+n.post;return expand(t)}return[t]}var u;if(h){u=n.body.split(/\.\./)}else{u=parseCommaParts(n.body);if(u.length===1){u=expand(u[0],false).map(embrace);if(u.length===1){var p=n.post.length?expand(n.post,false):[""];return p.map((function(t){return n.pre+u[0]+t}))}}}var v=n.pre;var p=n.post.length?expand(n.post,false):[""];var d;if(h){var m=numeric(u[0]);var b=numeric(u[1]);var g=Math.max(u[0].length,u[1].length);var y=u.length==3?Math.abs(numeric(u[2])):1;var _=lte;var w=b<m;if(w){y*=-1;_=gte}var k=u.some(isPadded);d=[];for(var S=m;_(S,b);S+=y){var E;if(c){E=String.fromCharCode(S);if(E==="\\")E=""}else{E=String(S);if(k){var x=g-E.length;if(x>0){var O=new Array(x+1).join("0");if(S<0)E="-"+O+E.slice(1);else E=O+E}}}d.push(E)}}else{d=i(u,(function(t){return expand(t,false)}))}for(var A=0;A<d.length;A++){for(var G=0;G<p.length;G++){var j=v+d[A]+p[G];if(!e||h||j)r.push(j)}}return r}},62:t=>{t.exports=function(t,r){var i=[];for(var a=0;a<t.length;a++){var n=r(t[a],a);if(e(n))i.push.apply(i,n);else i.push(n)}return i};var e=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"}},737:(t,e,r)=>{t.exports=realpath;realpath.realpath=realpath;realpath.sync=realpathSync;realpath.realpathSync=realpathSync;realpath.monkeypatch=monkeypatch;realpath.unmonkeypatch=unmonkeypatch;var i=r(147);var a=i.realpath;var n=i.realpathSync;var s=process.version;var o=/^v[0-5]\./.test(s);var c=r(613);function newError(t){return t&&t.syscall==="realpath"&&(t.code==="ELOOP"||t.code==="ENOMEM"||t.code==="ENAMETOOLONG")}function realpath(t,e,r){if(o){return a(t,e,r)}if(typeof e==="function"){r=e;e=null}a(t,e,(function(i,a){if(newError(i)){c.realpath(t,e,r)}else{r(i,a)}}))}function realpathSync(t,e){if(o){return n(t,e)}try{return n(t,e)}catch(r){if(newError(r)){return c.realpathSync(t,e)}else{throw r}}}function monkeypatch(){i.realpath=realpath;i.realpathSync=realpathSync}function unmonkeypatch(){i.realpath=a;i.realpathSync=n}},613:(t,e,r)=>{var i=r(17);var a=process.platform==="win32";var n=r(147);var s=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function rethrow(){var t;if(s){var e=new Error;t=debugCallback}else t=missingCallback;return t;function debugCallback(t){if(t){e.message=t.message;t=e;missingCallback(t)}}function missingCallback(t){if(t){if(process.throwDeprecation)throw t;else if(!process.noDeprecation){var e="fs: missing callback "+(t.stack||t.message);if(process.traceDeprecation)console.trace(e);else console.error(e)}}}}function maybeCallback(t){return typeof t==="function"?t:rethrow()}var o=i.normalize;if(a){var c=/(.*?)(?:[\/\\]+|$)/g}else{var c=/(.*?)(?:[\/]+|$)/g}if(a){var h=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/}else{var h=/^[\/]*/}e.realpathSync=function realpathSync(t,e){t=i.resolve(t);if(e&&Object.prototype.hasOwnProperty.call(e,t)){return e[t]}var r=t,s={},o={};var l;var u;var p;var v;start();function start(){var e=h.exec(t);l=e[0].length;u=e[0];p=e[0];v="";if(a&&!o[p]){n.lstatSync(p);o[p]=true}}while(l<t.length){c.lastIndex=l;var d=c.exec(t);v=u;u+=d[0];p=v+d[1];l=c.lastIndex;if(o[p]||e&&e[p]===p){continue}var m;if(e&&Object.prototype.hasOwnProperty.call(e,p)){m=e[p]}else{var b=n.lstatSync(p);if(!b.isSymbolicLink()){o[p]=true;if(e)e[p]=p;continue}var g=null;if(!a){var y=b.dev.toString(32)+":"+b.ino.toString(32);if(s.hasOwnProperty(y)){g=s[y]}}if(g===null){n.statSync(p);g=n.readlinkSync(p)}m=i.resolve(v,g);if(e)e[p]=m;if(!a)s[y]=g}t=i.resolve(m,t.slice(l));start()}if(e)e[r]=t;return t};e.realpath=function realpath(t,e,r){if(typeof r!=="function"){r=maybeCallback(e);e=null}t=i.resolve(t);if(e&&Object.prototype.hasOwnProperty.call(e,t)){return process.nextTick(r.bind(null,null,e[t]))}var s=t,o={},l={};var u;var p;var v;var d;start();function start(){var e=h.exec(t);u=e[0].length;p=e[0];v=e[0];d="";if(a&&!l[v]){n.lstat(v,(function(t){if(t)return r(t);l[v]=true;LOOP()}))}else{process.nextTick(LOOP)}}function LOOP(){if(u>=t.length){if(e)e[s]=t;return r(null,t)}c.lastIndex=u;var i=c.exec(t);d=p;p+=i[0];v=d+i[1];u=c.lastIndex;if(l[v]||e&&e[v]===v){return process.nextTick(LOOP)}if(e&&Object.prototype.hasOwnProperty.call(e,v)){return gotResolvedLink(e[v])}return n.lstat(v,gotStat)}function gotStat(t,i){if(t)return r(t);if(!i.isSymbolicLink()){l[v]=true;if(e)e[v]=v;return process.nextTick(LOOP)}if(!a){var s=i.dev.toString(32)+":"+i.ino.toString(32);if(o.hasOwnProperty(s)){return gotTarget(null,o[s],v)}}n.stat(v,(function(t){if(t)return r(t);n.readlink(v,(function(t,e){if(!a)o[s]=e;gotTarget(t,e)}))}))}function gotTarget(t,a,n){if(t)return r(t);var s=i.resolve(d,a);if(e)e[n]=s;gotResolvedLink(s)}function gotResolvedLink(e){t=i.resolve(e,t.slice(u));start()}}},875:(t,e,r)=>{e.setopts=setopts;e.ownProp=ownProp;e.makeAbs=makeAbs;e.finish=finish;e.mark=mark;e.isIgnored=isIgnored;e.childrenIgnored=childrenIgnored;function ownProp(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var i=r(147);var a=r(17);var n=r(235);var s=r(249);var o=n.Minimatch;function alphasort(t,e){return t.localeCompare(e,"en")}function setupIgnores(t,e){t.ignore=e.ignore||[];if(!Array.isArray(t.ignore))t.ignore=[t.ignore];if(t.ignore.length){t.ignore=t.ignore.map(ignoreMap)}}function ignoreMap(t){var e=null;if(t.slice(-3)==="/**"){var r=t.replace(/(\/\*\*)+$/,"");e=new o(r,{dot:true})}return{matcher:new o(t,{dot:true}),gmatcher:e}}function setopts(t,e,r){if(!r)r={};if(r.matchBase&&-1===e.indexOf("/")){if(r.noglobstar){throw new Error("base matching requires globstar")}e="**/"+e}t.silent=!!r.silent;t.pattern=e;t.strict=r.strict!==false;t.realpath=!!r.realpath;t.realpathCache=r.realpathCache||Object.create(null);t.follow=!!r.follow;t.dot=!!r.dot;t.mark=!!r.mark;t.nodir=!!r.nodir;if(t.nodir)t.mark=true;t.sync=!!r.sync;t.nounique=!!r.nounique;t.nonull=!!r.nonull;t.nosort=!!r.nosort;t.nocase=!!r.nocase;t.stat=!!r.stat;t.noprocess=!!r.noprocess;t.absolute=!!r.absolute;t.fs=r.fs||i;t.maxLength=r.maxLength||Infinity;t.cache=r.cache||Object.create(null);t.statCache=r.statCache||Object.create(null);t.symlinks=r.symlinks||Object.create(null);setupIgnores(t,r);t.changedCwd=false;var n=process.cwd();if(!ownProp(r,"cwd"))t.cwd=n;else{t.cwd=a.resolve(r.cwd);t.changedCwd=t.cwd!==n}t.root=r.root||a.resolve(t.cwd,"/");t.root=a.resolve(t.root);if(process.platform==="win32")t.root=t.root.replace(/\\/g,"/");t.cwdAbs=s(t.cwd)?t.cwd:makeAbs(t,t.cwd);if(process.platform==="win32")t.cwdAbs=t.cwdAbs.replace(/\\/g,"/");t.nomount=!!r.nomount;r.nonegate=true;r.nocomment=true;t.minimatch=new o(e,r);t.options=t.minimatch.options}function finish(t){var e=t.nounique;var r=e?[]:Object.create(null);for(var i=0,a=t.matches.length;i<a;i++){var n=t.matches[i];if(!n||Object.keys(n).length===0){if(t.nonull){var s=t.minimatch.globSet[i];if(e)r.push(s);else r[s]=true}}else{var o=Object.keys(n);if(e)r.push.apply(r,o);else o.forEach((function(t){r[t]=true}))}}if(!e)r=Object.keys(r);if(!t.nosort)r=r.sort(alphasort);if(t.mark){for(var i=0;i<r.length;i++){r[i]=t._mark(r[i])}if(t.nodir){r=r.filter((function(e){var r=!/\/$/.test(e);var i=t.cache[e]||t.cache[makeAbs(t,e)];if(r&&i)r=i!=="DIR"&&!Array.isArray(i);return r}))}}if(t.ignore.length)r=r.filter((function(e){return!isIgnored(t,e)}));t.found=r}function mark(t,e){var r=makeAbs(t,e);var i=t.cache[r];var a=e;if(i){var n=i==="DIR"||Array.isArray(i);var s=e.slice(-1)==="/";if(n&&!s)a+="/";else if(!n&&s)a=a.slice(0,-1);if(a!==e){var o=makeAbs(t,a);t.statCache[o]=t.statCache[r];t.cache[o]=t.cache[r]}}return a}function makeAbs(t,e){var r=e;if(e.charAt(0)==="/"){r=a.join(t.root,e)}else if(s(e)||e===""){r=e}else if(t.changedCwd){r=a.resolve(t.cwd,e)}else{r=a.resolve(e)}if(process.platform==="win32")r=r.replace(/\\/g,"/");return r}function isIgnored(t,e){if(!t.ignore.length)return false;return t.ignore.some((function(t){return t.matcher.match(e)||!!(t.gmatcher&&t.gmatcher.match(e))}))}function childrenIgnored(t,e){if(!t.ignore.length)return false;return t.ignore.some((function(t){return!!(t.gmatcher&&t.gmatcher.match(e))}))}},978:(t,e,r)=>{t.exports=glob;var i=r(737);var a=r(235);var n=a.Minimatch;var s=r(315);var o=r(361).EventEmitter;var c=r(17);var h=r(491);var l=r(249);var u=r(19);var p=r(875);var v=p.setopts;var d=p.ownProp;var m=r(900);var b=r(837);var g=p.childrenIgnored;var y=p.isIgnored;var _=r(556);function glob(t,e,r){if(typeof e==="function")r=e,e={};if(!e)e={};if(e.sync){if(r)throw new TypeError("callback provided to sync glob");return u(t,e)}return new Glob(t,e,r)}glob.sync=u;var w=glob.GlobSync=u.GlobSync;glob.glob=glob;function extend(t,e){if(e===null||typeof e!=="object"){return t}var r=Object.keys(e);var i=r.length;while(i--){t[r[i]]=e[r[i]]}return t}glob.hasMagic=function(t,e){var r=extend({},e);r.noprocess=true;var i=new Glob(t,r);var a=i.minimatch.set;if(!t)return false;if(a.length>1)return true;for(var n=0;n<a[0].length;n++){if(typeof a[0][n]!=="string")return true}return false};glob.Glob=Glob;s(Glob,o);function Glob(t,e,r){if(typeof e==="function"){r=e;e=null}if(e&&e.sync){if(r)throw new TypeError("callback provided to sync glob");return new w(t,e)}if(!(this instanceof Glob))return new Glob(t,e,r);v(this,t,e);this._didRealPath=false;var i=this.minimatch.set.length;this.matches=new Array(i);if(typeof r==="function"){r=_(r);this.on("error",r);this.on("end",(function(t){r(null,t)}))}var a=this;this._processing=0;this._emitQueue=[];this._processQueue=[];this.paused=false;if(this.noprocess)return this;if(i===0)return done();var n=true;for(var s=0;s<i;s++){this._process(this.minimatch.set[s],s,false,done)}n=false;function done(){--a._processing;if(a._processing<=0){if(n){process.nextTick((function(){a._finish()}))}else{a._finish()}}}}Glob.prototype._finish=function(){h(this instanceof Glob);if(this.aborted)return;if(this.realpath&&!this._didRealpath)return this._realpath();p.finish(this);this.emit("end",this.found)};Glob.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=true;var t=this.matches.length;if(t===0)return this._finish();var e=this;for(var r=0;r<this.matches.length;r++)this._realpathSet(r,next);function next(){if(--t===0)e._finish()}};Glob.prototype._realpathSet=function(t,e){var r=this.matches[t];if(!r)return e();var a=Object.keys(r);var n=this;var s=a.length;if(s===0)return e();var o=this.matches[t]=Object.create(null);a.forEach((function(r,a){r=n._makeAbs(r);i.realpath(r,n.realpathCache,(function(i,a){if(!i)o[a]=true;else if(i.syscall==="stat")o[r]=true;else n.emit("error",i);if(--s===0){n.matches[t]=o;e()}}))}))};Glob.prototype._mark=function(t){return p.mark(this,t)};Glob.prototype._makeAbs=function(t){return p.makeAbs(this,t)};Glob.prototype.abort=function(){this.aborted=true;this.emit("abort")};Glob.prototype.pause=function(){if(!this.paused){this.paused=true;this.emit("pause")}};Glob.prototype.resume=function(){if(this.paused){this.emit("resume");this.paused=false;if(this._emitQueue.length){var t=this._emitQueue.slice(0);this._emitQueue.length=0;for(var e=0;e<t.length;e++){var r=t[e];this._emitMatch(r[0],r[1])}}if(this._processQueue.length){var i=this._processQueue.slice(0);this._processQueue.length=0;for(var e=0;e<i.length;e++){var a=i[e];this._processing--;this._process(a[0],a[1],a[2],a[3])}}}};Glob.prototype._process=function(t,e,r,i){h(this instanceof Glob);h(typeof i==="function");if(this.aborted)return;this._processing++;if(this.paused){this._processQueue.push([t,e,r,i]);return}var n=0;while(typeof t[n]==="string"){n++}var s;switch(n){case t.length:this._processSimple(t.join("/"),e,i);return;case 0:s=null;break;default:s=t.slice(0,n).join("/");break}var o=t.slice(n);var c;if(s===null)c=".";else if(l(s)||l(t.join("/"))){if(!s||!l(s))s="/"+s;c=s}else c=s;var u=this._makeAbs(c);if(g(this,c))return i();var p=o[0]===a.GLOBSTAR;if(p)this._processGlobStar(s,c,u,o,e,r,i);else this._processReaddir(s,c,u,o,e,r,i)};Glob.prototype._processReaddir=function(t,e,r,i,a,n,s){var o=this;this._readdir(r,n,(function(c,h){return o._processReaddir2(t,e,r,i,a,n,h,s)}))};Glob.prototype._processReaddir2=function(t,e,r,i,a,n,s,o){if(!s)return o();var h=i[0];var l=!!this.minimatch.negate;var u=h._glob;var p=this.dot||u.charAt(0)===".";var v=[];for(var d=0;d<s.length;d++){var m=s[d];if(m.charAt(0)!=="."||p){var b;if(l&&!t){b=!m.match(h)}else{b=m.match(h)}if(b)v.push(m)}}var g=v.length;if(g===0)return o();if(i.length===1&&!this.mark&&!this.stat){if(!this.matches[a])this.matches[a]=Object.create(null);for(var d=0;d<g;d++){var m=v[d];if(t){if(t!=="/")m=t+"/"+m;else m=t+m}if(m.charAt(0)==="/"&&!this.nomount){m=c.join(this.root,m)}this._emitMatch(a,m)}return o()}i.shift();for(var d=0;d<g;d++){var m=v[d];var y;if(t){if(t!=="/")m=t+"/"+m;else m=t+m}this._process([m].concat(i),a,n,o)}o()};Glob.prototype._emitMatch=function(t,e){if(this.aborted)return;if(y(this,e))return;if(this.paused){this._emitQueue.push([t,e]);return}var r=l(e)?e:this._makeAbs(e);if(this.mark)e=this._mark(e);if(this.absolute)e=r;if(this.matches[t][e])return;if(this.nodir){var i=this.cache[r];if(i==="DIR"||Array.isArray(i))return}this.matches[t][e]=true;var a=this.statCache[r];if(a)this.emit("stat",e,a);this.emit("match",e)};Glob.prototype._readdirInGlobStar=function(t,e){if(this.aborted)return;if(this.follow)return this._readdir(t,false,e);var r="lstat\0"+t;var i=this;var a=m(r,lstatcb_);if(a)i.fs.lstat(t,a);function lstatcb_(r,a){if(r&&r.code==="ENOENT")return e();var n=a&&a.isSymbolicLink();i.symlinks[t]=n;if(!n&&a&&!a.isDirectory()){i.cache[t]="FILE";e()}else i._readdir(t,false,e)}};Glob.prototype._readdir=function(t,e,r){if(this.aborted)return;r=m("readdir\0"+t+"\0"+e,r);if(!r)return;if(e&&!d(this.symlinks,t))return this._readdirInGlobStar(t,r);if(d(this.cache,t)){var i=this.cache[t];if(!i||i==="FILE")return r();if(Array.isArray(i))return r(null,i)}var a=this;a.fs.readdir(t,readdirCb(this,t,r))};function readdirCb(t,e,r){return function(i,a){if(i)t._readdirError(e,i,r);else t._readdirEntries(e,a,r)}}Glob.prototype._readdirEntries=function(t,e,r){if(this.aborted)return;if(!this.mark&&!this.stat){for(var i=0;i<e.length;i++){var a=e[i];if(t==="/")a=t+a;else a=t+"/"+a;this.cache[a]=true}}this.cache[t]=e;return r(null,e)};Glob.prototype._readdirError=function(t,e,r){if(this.aborted)return;switch(e.code){case"ENOTSUP":case"ENOTDIR":var i=this._makeAbs(t);this.cache[i]="FILE";if(i===this.cwdAbs){var a=new Error(e.code+" invalid cwd "+this.cwd);a.path=this.cwd;a.code=e.code;this.emit("error",a);this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=false;break;default:this.cache[this._makeAbs(t)]=false;if(this.strict){this.emit("error",e);this.abort()}if(!this.silent)console.error("glob error",e);break}return r()};Glob.prototype._processGlobStar=function(t,e,r,i,a,n,s){var o=this;this._readdir(r,n,(function(c,h){o._processGlobStar2(t,e,r,i,a,n,h,s)}))};Glob.prototype._processGlobStar2=function(t,e,r,i,a,n,s,o){if(!s)return o();var c=i.slice(1);var h=t?[t]:[];var l=h.concat(c);this._process(l,a,false,o);var u=this.symlinks[r];var p=s.length;if(u&&n)return o();for(var v=0;v<p;v++){var d=s[v];if(d.charAt(0)==="."&&!this.dot)continue;var m=h.concat(s[v],c);this._process(m,a,true,o);var b=h.concat(s[v],i);this._process(b,a,true,o)}o()};Glob.prototype._processSimple=function(t,e,r){var i=this;this._stat(t,(function(a,n){i._processSimple2(t,e,a,n,r)}))};Glob.prototype._processSimple2=function(t,e,r,i,a){if(!this.matches[e])this.matches[e]=Object.create(null);if(!i)return a();if(t&&l(t)&&!this.nomount){var n=/[\/\\]$/.test(t);if(t.charAt(0)==="/"){t=c.join(this.root,t)}else{t=c.resolve(this.root,t);if(n)t+="/"}}if(process.platform==="win32")t=t.replace(/\\/g,"/");this._emitMatch(e,t);a()};Glob.prototype._stat=function(t,e){var r=this._makeAbs(t);var i=t.slice(-1)==="/";if(t.length>this.maxLength)return e();if(!this.stat&&d(this.cache,r)){var a=this.cache[r];if(Array.isArray(a))a="DIR";if(!i||a==="DIR")return e(null,a);if(i&&a==="FILE")return e()}var n;var s=this.statCache[r];if(s!==undefined){if(s===false)return e(null,s);else{var o=s.isDirectory()?"DIR":"FILE";if(i&&o==="FILE")return e();else return e(null,o,s)}}var c=this;var h=m("stat\0"+r,lstatcb_);if(h)c.fs.lstat(r,h);function lstatcb_(i,a){if(a&&a.isSymbolicLink()){return c.fs.stat(r,(function(i,n){if(i)c._stat2(t,r,null,a,e);else c._stat2(t,r,i,n,e)}))}else{c._stat2(t,r,i,a,e)}}};Glob.prototype._stat2=function(t,e,r,i,a){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR")){this.statCache[e]=false;return a()}var n=t.slice(-1)==="/";this.statCache[e]=i;if(e.slice(-1)==="/"&&i&&!i.isDirectory())return a(null,false,i);var s=true;if(i)s=i.isDirectory()?"DIR":"FILE";this.cache[e]=this.cache[e]||s;if(n&&s==="FILE")return a();return a(null,s,i)}},19:(t,e,r)=>{t.exports=globSync;globSync.GlobSync=GlobSync;var i=r(737);var a=r(235);var n=a.Minimatch;var s=r(978).Glob;var o=r(837);var c=r(17);var h=r(491);var l=r(249);var u=r(875);var p=u.setopts;var v=u.ownProp;var d=u.childrenIgnored;var m=u.isIgnored;function globSync(t,e){if(typeof e==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");return new GlobSync(t,e).found}function GlobSync(t,e){if(!t)throw new Error("must provide pattern");if(typeof e==="function"||arguments.length===3)throw new TypeError("callback provided to sync glob\n"+"See: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof GlobSync))return new GlobSync(t,e);p(this,t,e);if(this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var i=0;i<r;i++){this._process(this.minimatch.set[i],i,false)}this._finish()}GlobSync.prototype._finish=function(){h(this instanceof GlobSync);if(this.realpath){var t=this;this.matches.forEach((function(e,r){var a=t.matches[r]=Object.create(null);for(var n in e){try{n=t._makeAbs(n);var s=i.realpathSync(n,t.realpathCache);a[s]=true}catch(e){if(e.syscall==="stat")a[t._makeAbs(n)]=true;else throw e}}}))}u.finish(this)};GlobSync.prototype._process=function(t,e,r){h(this instanceof GlobSync);var i=0;while(typeof t[i]==="string"){i++}var n;switch(i){case t.length:this._processSimple(t.join("/"),e);return;case 0:n=null;break;default:n=t.slice(0,i).join("/");break}var s=t.slice(i);var o;if(n===null)o=".";else if(l(n)||l(t.join("/"))){if(!n||!l(n))n="/"+n;o=n}else o=n;var c=this._makeAbs(o);if(d(this,o))return;var u=s[0]===a.GLOBSTAR;if(u)this._processGlobStar(n,o,c,s,e,r);else this._processReaddir(n,o,c,s,e,r)};GlobSync.prototype._processReaddir=function(t,e,r,i,a,n){var s=this._readdir(r,n);if(!s)return;var o=i[0];var h=!!this.minimatch.negate;var l=o._glob;var u=this.dot||l.charAt(0)===".";var p=[];for(var v=0;v<s.length;v++){var d=s[v];if(d.charAt(0)!=="."||u){var m;if(h&&!t){m=!d.match(o)}else{m=d.match(o)}if(m)p.push(d)}}var b=p.length;if(b===0)return;if(i.length===1&&!this.mark&&!this.stat){if(!this.matches[a])this.matches[a]=Object.create(null);for(var v=0;v<b;v++){var d=p[v];if(t){if(t.slice(-1)!=="/")d=t+"/"+d;else d=t+d}if(d.charAt(0)==="/"&&!this.nomount){d=c.join(this.root,d)}this._emitMatch(a,d)}return}i.shift();for(var v=0;v<b;v++){var d=p[v];var g;if(t)g=[t,d];else g=[d];this._process(g.concat(i),a,n)}};GlobSync.prototype._emitMatch=function(t,e){if(m(this,e))return;var r=this._makeAbs(e);if(this.mark)e=this._mark(e);if(this.absolute){e=r}if(this.matches[t][e])return;if(this.nodir){var i=this.cache[r];if(i==="DIR"||Array.isArray(i))return}this.matches[t][e]=true;if(this.stat)this._stat(e)};GlobSync.prototype._readdirInGlobStar=function(t){if(this.follow)return this._readdir(t,false);var e;var r;var i;try{r=this.fs.lstatSync(t)}catch(t){if(t.code==="ENOENT"){return null}}var a=r&&r.isSymbolicLink();this.symlinks[t]=a;if(!a&&r&&!r.isDirectory())this.cache[t]="FILE";else e=this._readdir(t,false);return e};GlobSync.prototype._readdir=function(t,e){var r;if(e&&!v(this.symlinks,t))return this._readdirInGlobStar(t);if(v(this.cache,t)){var i=this.cache[t];if(!i||i==="FILE")return null;if(Array.isArray(i))return i}try{return this._readdirEntries(t,this.fs.readdirSync(t))}catch(e){this._readdirError(t,e);return null}};GlobSync.prototype._readdirEntries=function(t,e){if(!this.mark&&!this.stat){for(var r=0;r<e.length;r++){var i=e[r];if(t==="/")i=t+i;else i=t+"/"+i;this.cache[i]=true}}this.cache[t]=e;return e};GlobSync.prototype._readdirError=function(t,e){switch(e.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(t);this.cache[r]="FILE";if(r===this.cwdAbs){var i=new Error(e.code+" invalid cwd "+this.cwd);i.path=this.cwd;i.code=e.code;throw i}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=false;break;default:this.cache[this._makeAbs(t)]=false;if(this.strict)throw e;if(!this.silent)console.error("glob error",e);break}};GlobSync.prototype._processGlobStar=function(t,e,r,i,a,n){var s=this._readdir(r,n);if(!s)return;var o=i.slice(1);var c=t?[t]:[];var h=c.concat(o);this._process(h,a,false);var l=s.length;var u=this.symlinks[r];if(u&&n)return;for(var p=0;p<l;p++){var v=s[p];if(v.charAt(0)==="."&&!this.dot)continue;var d=c.concat(s[p],o);this._process(d,a,true);var m=c.concat(s[p],i);this._process(m,a,true)}};GlobSync.prototype._processSimple=function(t,e){var r=this._stat(t);if(!this.matches[e])this.matches[e]=Object.create(null);if(!r)return;if(t&&l(t)&&!this.nomount){var i=/[\/\\]$/.test(t);if(t.charAt(0)==="/"){t=c.join(this.root,t)}else{t=c.resolve(this.root,t);if(i)t+="/"}}if(process.platform==="win32")t=t.replace(/\\/g,"/");this._emitMatch(e,t)};GlobSync.prototype._stat=function(t){var e=this._makeAbs(t);var r=t.slice(-1)==="/";if(t.length>this.maxLength)return false;if(!this.stat&&v(this.cache,e)){var i=this.cache[e];if(Array.isArray(i))i="DIR";if(!r||i==="DIR")return i;if(r&&i==="FILE")return false}var a;var n=this.statCache[e];if(!n){var s;try{s=this.fs.lstatSync(e)}catch(t){if(t&&(t.code==="ENOENT"||t.code==="ENOTDIR")){this.statCache[e]=false;return false}}if(s&&s.isSymbolicLink()){try{n=this.fs.statSync(e)}catch(t){n=s}}else{n=s}}this.statCache[e]=n;var i=true;if(n)i=n.isDirectory()?"DIR":"FILE";this.cache[e]=this.cache[e]||i;if(r&&i==="FILE")return false;return i};GlobSync.prototype._mark=function(t){return u.mark(this,t)};GlobSync.prototype._makeAbs=function(t){return u.makeAbs(this,t)}},900:(t,e,r)=>{var i=r(928);var a=Object.create(null);var n=r(556);t.exports=i(inflight);function inflight(t,e){if(a[t]){a[t].push(e);return null}else{a[t]=[e];return makeres(t)}}function makeres(t){return n((function RES(){var e=a[t];var r=e.length;var i=slice(arguments);try{for(var n=0;n<r;n++){e[n].apply(null,i)}}finally{if(e.length>r){e.splice(0,r);process.nextTick((function(){RES.apply(null,i)}))}else{delete a[t]}}}))}function slice(t){var e=t.length;var r=[];for(var i=0;i<e;i++)r[i]=t[i];return r}},315:(t,e,r)=>{try{var i=r(837);if(typeof i.inherits!=="function")throw"";t.exports=i.inherits}catch(e){t.exports=r(959)}},959:t=>{if(typeof Object.create==="function"){t.exports=function inherits(t,e){if(e){t.super_=e;t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:false,writable:true,configurable:true}})}}}else{t.exports=function inherits(t,e){if(e){t.super_=e;var TempCtor=function(){};TempCtor.prototype=e.prototype;t.prototype=new TempCtor;t.prototype.constructor=t}}}},235:(t,e,r)=>{t.exports=minimatch;minimatch.Minimatch=Minimatch;var i=function(){try{return r(17)}catch(t){}}()||{sep:"/"};minimatch.sep=i.sep;var a=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var n=r(847);var s={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var o="[^/]";var c=o+"*?";var h="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var l="(?:(?!(?:\\/|^)\\.).)*?";var u=charSet("().*{}+?[]^$\\!");function charSet(t){return t.split("").reduce((function(t,e){t[e]=true;return t}),{})}var p=/\/+/;minimatch.filter=filter;function filter(t,e){e=e||{};return function(r,i,a){return minimatch(r,t,e)}}function ext(t,e){e=e||{};var r={};Object.keys(t).forEach((function(e){r[e]=t[e]}));Object.keys(e).forEach((function(t){r[t]=e[t]}));return r}minimatch.defaults=function(t){if(!t||typeof t!=="object"||!Object.keys(t).length){return minimatch}var e=minimatch;var r=function minimatch(r,i,a){return e(r,i,ext(t,a))};r.Minimatch=function Minimatch(r,i){return new e.Minimatch(r,ext(t,i))};r.Minimatch.defaults=function defaults(r){return e.defaults(ext(t,r)).Minimatch};r.filter=function filter(r,i){return e.filter(r,ext(t,i))};r.defaults=function defaults(r){return e.defaults(ext(t,r))};r.makeRe=function makeRe(r,i){return e.makeRe(r,ext(t,i))};r.braceExpand=function braceExpand(r,i){return e.braceExpand(r,ext(t,i))};r.match=function(r,i,a){return e.match(r,i,ext(t,a))};return r};Minimatch.defaults=function(t){return minimatch.defaults(t).Minimatch};function minimatch(t,e,r){assertValidPattern(e);if(!r)r={};if(!r.nocomment&&e.charAt(0)==="#"){return false}return new Minimatch(e,r).match(t)}function Minimatch(t,e){if(!(this instanceof Minimatch)){return new Minimatch(t,e)}assertValidPattern(t);if(!e)e={};t=t.trim();if(!e.allowWindowsEscape&&i.sep!=="/"){t=t.split(i.sep).join("/")}this.options=e;this.set=[];this.pattern=t;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!e.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var t=this.pattern;var e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=true;return}if(!t){this.empty=true;return}this.parseNegate();var r=this.globSet=this.braceExpand();if(e.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,r);r=this.globParts=r.map((function(t){return t.split(p)}));this.debug(this.pattern,r);r=r.map((function(t,e,r){return t.map(this.parse,this)}),this);this.debug(this.pattern,r);r=r.filter((function(t){return t.indexOf(false)===-1}));this.debug(this.pattern,r);this.set=r}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var t=this.pattern;var e=false;var r=this.options;var i=0;if(r.nonegate)return;for(var a=0,n=t.length;a<n&&t.charAt(a)==="!";a++){e=!e;i++}if(i)this.pattern=t.substr(i);this.negate=e}minimatch.braceExpand=function(t,e){return braceExpand(t,e)};Minimatch.prototype.braceExpand=braceExpand;function braceExpand(t,e){if(!e){if(this instanceof Minimatch){e=this.options}else{e={}}}t=typeof t==="undefined"?this.pattern:t;assertValidPattern(t);if(e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)){return[t]}return n(t)}var v=1024*64;var assertValidPattern=function(t){if(typeof t!=="string"){throw new TypeError("invalid pattern")}if(t.length>v){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var d={};function parse(t,e){assertValidPattern(t);var r=this.options;if(t==="**"){if(!r.noglobstar)return a;else t="*"}if(t==="")return"";var i="";var n=!!r.nocase;var h=false;var l=[];var p=[];var v;var m=false;var b=-1;var g=-1;var y=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var _=this;function clearStateChar(){if(v){switch(v){case"*":i+=c;n=true;break;case"?":i+=o;n=true;break;default:i+="\\"+v;break}_.debug("clearStateChar %j %j",v,i);v=false}}for(var w=0,k=t.length,S;w<k&&(S=t.charAt(w));w++){this.debug("%s\t%s %s %j",t,w,i,S);if(h&&u[S]){i+="\\"+S;h=false;continue}switch(S){case"/":{return false}case"\\":clearStateChar();h=true;continue;case"?":case"*":case"+":case"@":case"!":this.debug("%s\t%s %s %j <-- stateChar",t,w,i,S);if(m){this.debug(" in class");if(S==="!"&&w===g+1)S="^";i+=S;continue}_.debug("call clearStateChar %j",v);clearStateChar();v=S;if(r.noext)clearStateChar();continue;case"(":if(m){i+="(";continue}if(!v){i+="\\(";continue}l.push({type:v,start:w-1,reStart:i.length,open:s[v].open,close:s[v].close});i+=v==="!"?"(?:(?!(?:":"(?:";this.debug("plType %j %j",v,i);v=false;continue;case")":if(m||!l.length){i+="\\)";continue}clearStateChar();n=true;var E=l.pop();i+=E.close;if(E.type==="!"){p.push(E)}E.reEnd=i.length;continue;case"|":if(m||!l.length||h){i+="\\|";h=false;continue}clearStateChar();i+="|";continue;case"[":clearStateChar();if(m){i+="\\"+S;continue}m=true;g=w;b=i.length;i+=S;continue;case"]":if(w===g+1||!m){i+="\\"+S;h=false;continue}var x=t.substring(g+1,w);try{RegExp("["+x+"]")}catch(t){var O=this.parse(x,d);i=i.substr(0,b)+"\\["+O[0]+"\\]";n=n||O[1];m=false;continue}n=true;m=false;i+=S;continue;default:clearStateChar();if(h){h=false}else if(u[S]&&!(S==="^"&&m)){i+="\\"}i+=S}}if(m){x=t.substr(g+1);O=this.parse(x,d);i=i.substr(0,b)+"\\["+O[0];n=n||O[1]}for(E=l.pop();E;E=l.pop()){var A=i.slice(E.reStart+E.open.length);this.debug("setting tail",i,E);A=A.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(t,e,r){if(!r){r="\\"}return e+e+r+"|"}));this.debug("tail=%j\n %s",A,A,E,i);var G=E.type==="*"?c:E.type==="?"?o:"\\"+E.type;n=true;i=i.slice(0,E.reStart)+G+"\\("+A}clearStateChar();if(h){i+="\\\\"}var j=false;switch(i.charAt(0)){case"[":case".":case"(":j=true}for(var M=p.length-1;M>-1;M--){var I=p[M];var R=i.slice(0,I.reStart);var C=i.slice(I.reStart,I.reEnd-8);var L=i.slice(I.reEnd-8,I.reEnd);var N=i.slice(I.reEnd);L+=N;var T=R.split("(").length-1;var P=N;for(w=0;w<T;w++){P=P.replace(/\)[+*?]?/,"")}N=P;var D="";if(N===""&&e!==d){D="$"}var $=R+C+N+D+L;i=$}if(i!==""&&n){i="(?=.)"+i}if(j){i=y+i}if(e===d){return[i,n]}if(!n){return globUnescape(t)}var F=r.nocase?"i":"";try{var B=new RegExp("^"+i+"$",F)}catch(t){return new RegExp("$.")}B._glob=t;B._src=i;return B}minimatch.makeRe=function(t,e){return new Minimatch(t,e||{}).makeRe()};Minimatch.prototype.makeRe=makeRe;function makeRe(){if(this.regexp||this.regexp===false)return this.regexp;var t=this.set;if(!t.length){this.regexp=false;return this.regexp}var e=this.options;var r=e.noglobstar?c:e.dot?h:l;var i=e.nocase?"i":"";var n=t.map((function(t){return t.map((function(t){return t===a?r:typeof t==="string"?regExpEscape(t):t._src})).join("\\/")})).join("|");n="^(?:"+n+")$";if(this.negate)n="^(?!"+n+").*$";try{this.regexp=new RegExp(n,i)}catch(t){this.regexp=false}return this.regexp}minimatch.match=function(t,e,r){r=r||{};var i=new Minimatch(e,r);t=t.filter((function(t){return i.match(t)}));if(i.options.nonull&&!t.length){t.push(e)}return t};Minimatch.prototype.match=function match(t,e){if(typeof e==="undefined")e=this.partial;this.debug("match",t,this.pattern);if(this.comment)return false;if(this.empty)return t==="";if(t==="/"&&e)return true;var r=this.options;if(i.sep!=="/"){t=t.split(i.sep).join("/")}t=t.split(p);this.debug(this.pattern,"split",t);var a=this.set;this.debug(this.pattern,"set",a);var n;var s;for(s=t.length-1;s>=0;s--){n=t[s];if(n)break}for(s=0;s<a.length;s++){var o=a[s];var c=t;if(r.matchBase&&o.length===1){c=[n]}var h=this.matchOne(c,o,e);if(h){if(r.flipNegate)return true;return!this.negate}}if(r.flipNegate)return false;return this.negate};Minimatch.prototype.matchOne=function(t,e,r){var i=this.options;this.debug("matchOne",{this:this,file:t,pattern:e});this.debug("matchOne",t.length,e.length);for(var n=0,s=0,o=t.length,c=e.length;n<o&&s<c;n++,s++){this.debug("matchOne loop");var h=e[s];var l=t[n];this.debug(e,h,l);if(h===false)return false;if(h===a){this.debug("GLOBSTAR",[e,h,l]);var u=n;var p=s+1;if(p===c){this.debug("** at the end");for(;n<o;n++){if(t[n]==="."||t[n]===".."||!i.dot&&t[n].charAt(0)===".")return false}return true}while(u<o){var v=t[u];this.debug("\nglobstar while",t,u,e,p,v);if(this.matchOne(t.slice(u),e.slice(p),r)){this.debug("globstar found match!",u,o,v);return true}else{if(v==="."||v===".."||!i.dot&&v.charAt(0)==="."){this.debug("dot detected!",t,u,e,p);break}this.debug("globstar swallow a segment, and continue");u++}}if(r){this.debug("\n>>> no match, partial?",t,u,e,p);if(u===o)return true}return false}var d;if(typeof h==="string"){d=l===h;this.debug("string match",h,l,d)}else{d=l.match(h);this.debug("pattern match",h,l,d)}if(!d)return false}if(n===o&&s===c){return true}else if(n===o){return r}else if(s===c){return n===o-1&&t[n]===""}throw new Error("wtf?")};function globUnescape(t){return t.replace(/\\(.)/g,"$1")}function regExpEscape(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},556:(t,e,r)=>{var i=r(928);t.exports=i(once);t.exports.strict=i(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(t){var f=function(){if(f.called)return f.value;f.called=true;return f.value=t.apply(this,arguments)};f.called=false;return f}function onceStrict(t){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=t.apply(this,arguments)};var e=t.name||"Function wrapped with `once`";f.onceError=e+" shouldn't be called more than once";f.called=false;return f}},249:t=>{"use strict";function posix(t){return t.charAt(0)==="/"}function win32(t){var e=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;var r=e.exec(t);var i=r[1]||"";var a=Boolean(i&&i.charAt(1)!==":");return Boolean(r[2]||a)}t.exports=process.platform==="win32"?win32:posix;t.exports.posix=posix;t.exports.win32=win32},928:t=>{t.exports=wrappy;function wrappy(t,e){if(t&&e)return wrappy(t)(e);if(typeof t!=="function")throw new TypeError("need wrapper function");Object.keys(t).forEach((function(e){wrapper[e]=t[e]}));return wrapper;function wrapper(){var e=new Array(arguments.length);for(var r=0;r<e.length;r++){e[r]=arguments[r]}var i=t.apply(this,e);var a=e[e.length-1];if(typeof i==="function"&&i!==a){Object.keys(a).forEach((function(t){i[t]=a[t]}))}return i}}},491:t=>{"use strict";t.exports=require("assert")},361:t=>{"use strict";t.exports=require("events")},147:t=>{"use strict";t.exports=require("fs")},17:t=>{"use strict";t.exports=require("path")},837:t=>{"use strict";t.exports=require("util")}};var e={};function __nccwpck_require__(r){var i=e[r];if(i!==undefined){return i.exports}var a=e[r]={exports:{}};var n=true;try{t[r](a,a.exports,__nccwpck_require__);n=false}finally{if(n)delete e[r]}return a.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var r=__nccwpck_require__(978);module.exports=r})();
1
+ (()=>{
2
+ var t = {
3
+ 155: (t)=>{
4
+ "use strict";
5
+ t.exports = balanced;
6
+ function balanced(t, e, r) {
7
+ if (t instanceof RegExp) t = maybeMatch(t, r);
8
+ if (e instanceof RegExp) e = maybeMatch(e, r);
9
+ var i = range(t, e, r);
10
+ return i && {
11
+ start: i[0],
12
+ end: i[1],
13
+ pre: r.slice(0, i[0]),
14
+ body: r.slice(i[0] + t.length, i[1]),
15
+ post: r.slice(i[1] + e.length)
16
+ };
17
+ }
18
+ function maybeMatch(t, e) {
19
+ var r = e.match(t);
20
+ return r ? r[0] : null;
21
+ }
22
+ balanced.range = range;
23
+ function range(t, e, r) {
24
+ var i, a, n, s, o;
25
+ var c = r.indexOf(t);
26
+ var h = r.indexOf(e, c + 1);
27
+ var l = c;
28
+ if (c >= 0 && h > 0) {
29
+ if (t === e) return [
30
+ c,
31
+ h
32
+ ];
33
+ i = [];
34
+ n = r.length;
35
+ while(l >= 0 && !o){
36
+ if (l == c) {
37
+ i.push(l);
38
+ c = r.indexOf(t, l + 1);
39
+ } else if (1 == i.length) o = [
40
+ i.pop(),
41
+ h
42
+ ];
43
+ else {
44
+ a = i.pop();
45
+ if (a < n) {
46
+ n = a;
47
+ s = h;
48
+ }
49
+ h = r.indexOf(e, l + 1);
50
+ }
51
+ l = c < h && c >= 0 ? c : h;
52
+ }
53
+ if (i.length) o = [
54
+ n,
55
+ s
56
+ ];
57
+ }
58
+ return o;
59
+ }
60
+ },
61
+ 847: (t, e, r)=>{
62
+ var i = r(62);
63
+ var a = r(155);
64
+ t.exports = expandTop;
65
+ var n = "\0SLASH" + Math.random() + "\0";
66
+ var s = "\0OPEN" + Math.random() + "\0";
67
+ var o = "\0CLOSE" + Math.random() + "\0";
68
+ var c = "\0COMMA" + Math.random() + "\0";
69
+ var h = "\0PERIOD" + Math.random() + "\0";
70
+ function numeric(t) {
71
+ return parseInt(t, 10) == t ? parseInt(t, 10) : t.charCodeAt(0);
72
+ }
73
+ function escapeBraces(t) {
74
+ return t.split("\\\\").join(n).split("\\{").join(s).split("\\}").join(o).split("\\,").join(c).split("\\.").join(h);
75
+ }
76
+ function unescapeBraces(t) {
77
+ return t.split(n).join("\\").split(s).join("{").split(o).join("}").split(c).join(",").split(h).join(".");
78
+ }
79
+ function parseCommaParts(t) {
80
+ if (!t) return [
81
+ ""
82
+ ];
83
+ var e = [];
84
+ var r = a("{", "}", t);
85
+ if (!r) return t.split(",");
86
+ var i = r.pre;
87
+ var n = r.body;
88
+ var s = r.post;
89
+ var o = i.split(",");
90
+ o[o.length - 1] += "{" + n + "}";
91
+ var c = parseCommaParts(s);
92
+ if (s.length) {
93
+ o[o.length - 1] += c.shift();
94
+ o.push.apply(o, c);
95
+ }
96
+ e.push.apply(e, o);
97
+ return e;
98
+ }
99
+ function expandTop(t) {
100
+ if (!t) return [];
101
+ if ("{}" === t.substr(0, 2)) t = "\\{\\}" + t.substr(2);
102
+ return expand(escapeBraces(t), true).map(unescapeBraces);
103
+ }
104
+ function embrace(t) {
105
+ return "{" + t + "}";
106
+ }
107
+ function isPadded(t) {
108
+ return /^-?0\d/.test(t);
109
+ }
110
+ function lte(t, e) {
111
+ return t <= e;
112
+ }
113
+ function gte(t, e) {
114
+ return t >= e;
115
+ }
116
+ function expand(t, e) {
117
+ var r = [];
118
+ var n = a("{", "}", t);
119
+ if (!n || /\$$/.test(n.pre)) return [
120
+ t
121
+ ];
122
+ var s = /^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body);
123
+ var c = /^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body);
124
+ var h = s || c;
125
+ var l = n.body.indexOf(",") >= 0;
126
+ if (!h && !l) {
127
+ if (n.post.match(/,.*\}/)) {
128
+ t = n.pre + "{" + n.body + o + n.post;
129
+ return expand(t);
130
+ }
131
+ return [
132
+ t
133
+ ];
134
+ }
135
+ var u;
136
+ if (h) u = n.body.split(/\.\./);
137
+ else {
138
+ u = parseCommaParts(n.body);
139
+ if (1 === u.length) {
140
+ u = expand(u[0], false).map(embrace);
141
+ if (1 === u.length) {
142
+ var p = n.post.length ? expand(n.post, false) : [
143
+ ""
144
+ ];
145
+ return p.map(function(t) {
146
+ return n.pre + u[0] + t;
147
+ });
148
+ }
149
+ }
150
+ }
151
+ var v = n.pre;
152
+ var p = n.post.length ? expand(n.post, false) : [
153
+ ""
154
+ ];
155
+ var d;
156
+ if (h) {
157
+ var m = numeric(u[0]);
158
+ var b = numeric(u[1]);
159
+ var g = Math.max(u[0].length, u[1].length);
160
+ var y = 3 == u.length ? Math.abs(numeric(u[2])) : 1;
161
+ var _ = lte;
162
+ var w = b < m;
163
+ if (w) {
164
+ y *= -1;
165
+ _ = gte;
166
+ }
167
+ var k = u.some(isPadded);
168
+ d = [];
169
+ for(var S = m; _(S, b); S += y){
170
+ var E;
171
+ if (c) {
172
+ E = String.fromCharCode(S);
173
+ if ("\\" === E) E = "";
174
+ } else {
175
+ E = String(S);
176
+ if (k) {
177
+ var x = g - E.length;
178
+ if (x > 0) {
179
+ var O = new Array(x + 1).join("0");
180
+ E = S < 0 ? "-" + O + E.slice(1) : O + E;
181
+ }
182
+ }
183
+ }
184
+ d.push(E);
185
+ }
186
+ } else d = i(u, function(t) {
187
+ return expand(t, false);
188
+ });
189
+ for(var A = 0; A < d.length; A++)for(var G = 0; G < p.length; G++){
190
+ var j = v + d[A] + p[G];
191
+ if (!e || h || j) r.push(j);
192
+ }
193
+ return r;
194
+ }
195
+ },
196
+ 62: (t)=>{
197
+ t.exports = function(t, r) {
198
+ var i = [];
199
+ for(var a = 0; a < t.length; a++){
200
+ var n = r(t[a], a);
201
+ if (e(n)) i.push.apply(i, n);
202
+ else i.push(n);
203
+ }
204
+ return i;
205
+ };
206
+ var e = Array.isArray || function(t) {
207
+ return "[object Array]" === Object.prototype.toString.call(t);
208
+ };
209
+ },
210
+ 737: (t, e, r)=>{
211
+ t.exports = realpath;
212
+ realpath.realpath = realpath;
213
+ realpath.sync = realpathSync;
214
+ realpath.realpathSync = realpathSync;
215
+ realpath.monkeypatch = monkeypatch;
216
+ realpath.unmonkeypatch = unmonkeypatch;
217
+ var i = r(147);
218
+ var a = i.realpath;
219
+ var n = i.realpathSync;
220
+ var s = process.version;
221
+ var o = /^v[0-5]\./.test(s);
222
+ var c = r(613);
223
+ function newError(t) {
224
+ return t && "realpath" === t.syscall && ("ELOOP" === t.code || "ENOMEM" === t.code || "ENAMETOOLONG" === t.code);
225
+ }
226
+ function realpath(t, e, r) {
227
+ if (o) return a(t, e, r);
228
+ if ("function" == typeof e) {
229
+ r = e;
230
+ e = null;
231
+ }
232
+ a(t, e, function(i, a) {
233
+ if (newError(i)) c.realpath(t, e, r);
234
+ else r(i, a);
235
+ });
236
+ }
237
+ function realpathSync(t, e) {
238
+ if (o) return n(t, e);
239
+ try {
240
+ return n(t, e);
241
+ } catch (r) {
242
+ if (newError(r)) return c.realpathSync(t, e);
243
+ throw r;
244
+ }
245
+ }
246
+ function monkeypatch() {
247
+ i.realpath = realpath;
248
+ i.realpathSync = realpathSync;
249
+ }
250
+ function unmonkeypatch() {
251
+ i.realpath = a;
252
+ i.realpathSync = n;
253
+ }
254
+ },
255
+ 613: (t, e, r)=>{
256
+ var i = r(17);
257
+ var a = "win32" === process.platform;
258
+ var n = r(147);
259
+ var s = process.env.NODE_DEBUG && /fs/.test(process.env.NODE_DEBUG);
260
+ function rethrow() {
261
+ var t;
262
+ if (s) {
263
+ var e = new Error;
264
+ t = debugCallback;
265
+ } else t = missingCallback;
266
+ return t;
267
+ function debugCallback(t) {
268
+ if (t) {
269
+ e.message = t.message;
270
+ t = e;
271
+ missingCallback(t);
272
+ }
273
+ }
274
+ function missingCallback(t) {
275
+ if (t) {
276
+ if (process.throwDeprecation) throw t;
277
+ else if (!process.noDeprecation) {
278
+ var e = "fs: missing callback " + (t.stack || t.message);
279
+ if (process.traceDeprecation) console.trace(e);
280
+ else console.error(e);
281
+ }
282
+ }
283
+ }
284
+ }
285
+ function maybeCallback(t) {
286
+ return "function" == typeof t ? t : rethrow();
287
+ }
288
+ i.normalize;
289
+ if (a) var c = /(.*?)(?:[\/\\]+|$)/g;
290
+ else var c = /(.*?)(?:[\/]+|$)/g;
291
+ if (a) var h = /^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;
292
+ else var h = /^[\/]*/;
293
+ e.realpathSync = function(t, e) {
294
+ t = i.resolve(t);
295
+ if (e && Object.prototype.hasOwnProperty.call(e, t)) return e[t];
296
+ var r = t, s = {}, o = {};
297
+ var l;
298
+ var u;
299
+ var p;
300
+ var v;
301
+ start();
302
+ function start() {
303
+ var e = h.exec(t);
304
+ l = e[0].length;
305
+ u = e[0];
306
+ p = e[0];
307
+ v = "";
308
+ if (a && !o[p]) {
309
+ n.lstatSync(p);
310
+ o[p] = true;
311
+ }
312
+ }
313
+ while(l < t.length){
314
+ c.lastIndex = l;
315
+ var d = c.exec(t);
316
+ v = u;
317
+ u += d[0];
318
+ p = v + d[1];
319
+ l = c.lastIndex;
320
+ if (o[p] || e && e[p] === p) continue;
321
+ var m;
322
+ if (e && Object.prototype.hasOwnProperty.call(e, p)) m = e[p];
323
+ else {
324
+ var b = n.lstatSync(p);
325
+ if (!b.isSymbolicLink()) {
326
+ o[p] = true;
327
+ if (e) e[p] = p;
328
+ continue;
329
+ }
330
+ var g = null;
331
+ if (!a) {
332
+ var y = b.dev.toString(32) + ":" + b.ino.toString(32);
333
+ if (s.hasOwnProperty(y)) g = s[y];
334
+ }
335
+ if (null === g) {
336
+ n.statSync(p);
337
+ g = n.readlinkSync(p);
338
+ }
339
+ m = i.resolve(v, g);
340
+ if (e) e[p] = m;
341
+ if (!a) s[y] = g;
342
+ }
343
+ t = i.resolve(m, t.slice(l));
344
+ start();
345
+ }
346
+ if (e) e[r] = t;
347
+ return t;
348
+ };
349
+ e.realpath = function(t, e, r) {
350
+ if ("function" != typeof r) {
351
+ r = maybeCallback(e);
352
+ e = null;
353
+ }
354
+ t = i.resolve(t);
355
+ if (e && Object.prototype.hasOwnProperty.call(e, t)) return process.nextTick(r.bind(null, null, e[t]));
356
+ var s = t, o = {}, l = {};
357
+ var u;
358
+ var p;
359
+ var v;
360
+ var d;
361
+ start();
362
+ function start() {
363
+ var e = h.exec(t);
364
+ u = e[0].length;
365
+ p = e[0];
366
+ v = e[0];
367
+ d = "";
368
+ if (a && !l[v]) n.lstat(v, function(t) {
369
+ if (t) return r(t);
370
+ l[v] = true;
371
+ LOOP();
372
+ });
373
+ else process.nextTick(LOOP);
374
+ }
375
+ function LOOP() {
376
+ if (u >= t.length) {
377
+ if (e) e[s] = t;
378
+ return r(null, t);
379
+ }
380
+ c.lastIndex = u;
381
+ var i = c.exec(t);
382
+ d = p;
383
+ p += i[0];
384
+ v = d + i[1];
385
+ u = c.lastIndex;
386
+ if (l[v] || e && e[v] === v) return process.nextTick(LOOP);
387
+ if (e && Object.prototype.hasOwnProperty.call(e, v)) return gotResolvedLink(e[v]);
388
+ return n.lstat(v, gotStat);
389
+ }
390
+ function gotStat(t, i) {
391
+ if (t) return r(t);
392
+ if (!i.isSymbolicLink()) {
393
+ l[v] = true;
394
+ if (e) e[v] = v;
395
+ return process.nextTick(LOOP);
396
+ }
397
+ if (!a) {
398
+ var s = i.dev.toString(32) + ":" + i.ino.toString(32);
399
+ if (o.hasOwnProperty(s)) return gotTarget(null, o[s], v);
400
+ }
401
+ n.stat(v, function(t) {
402
+ if (t) return r(t);
403
+ n.readlink(v, function(t, e) {
404
+ if (!a) o[s] = e;
405
+ gotTarget(t, e);
406
+ });
407
+ });
408
+ }
409
+ function gotTarget(t, a, n) {
410
+ if (t) return r(t);
411
+ var s = i.resolve(d, a);
412
+ if (e) e[n] = s;
413
+ gotResolvedLink(s);
414
+ }
415
+ function gotResolvedLink(e) {
416
+ t = i.resolve(e, t.slice(u));
417
+ start();
418
+ }
419
+ };
420
+ },
421
+ 875: (t, e, r)=>{
422
+ e.setopts = setopts;
423
+ e.ownProp = ownProp;
424
+ e.makeAbs = makeAbs;
425
+ e.finish = finish;
426
+ e.mark = mark;
427
+ e.isIgnored = isIgnored;
428
+ e.childrenIgnored = childrenIgnored;
429
+ function ownProp(t, e) {
430
+ return Object.prototype.hasOwnProperty.call(t, e);
431
+ }
432
+ var i = r(147);
433
+ var a = r(17);
434
+ var n = r(235);
435
+ var s = r(249);
436
+ var o = n.Minimatch;
437
+ function alphasort(t, e) {
438
+ return t.localeCompare(e, "en");
439
+ }
440
+ function setupIgnores(t, e) {
441
+ t.ignore = e.ignore || [];
442
+ if (!Array.isArray(t.ignore)) t.ignore = [
443
+ t.ignore
444
+ ];
445
+ if (t.ignore.length) t.ignore = t.ignore.map(ignoreMap);
446
+ }
447
+ function ignoreMap(t) {
448
+ var e = null;
449
+ if ("/**" === t.slice(-3)) {
450
+ var r = t.replace(/(\/\*\*)+$/, "");
451
+ e = new o(r, {
452
+ dot: true
453
+ });
454
+ }
455
+ return {
456
+ matcher: new o(t, {
457
+ dot: true
458
+ }),
459
+ gmatcher: e
460
+ };
461
+ }
462
+ function setopts(t, e, r) {
463
+ if (!r) r = {};
464
+ if (r.matchBase && -1 === e.indexOf("/")) {
465
+ if (r.noglobstar) throw new Error("base matching requires globstar");
466
+ e = "**/" + e;
467
+ }
468
+ t.silent = !!r.silent;
469
+ t.pattern = e;
470
+ t.strict = false !== r.strict;
471
+ t.realpath = !!r.realpath;
472
+ t.realpathCache = r.realpathCache || Object.create(null);
473
+ t.follow = !!r.follow;
474
+ t.dot = !!r.dot;
475
+ t.mark = !!r.mark;
476
+ t.nodir = !!r.nodir;
477
+ if (t.nodir) t.mark = true;
478
+ t.sync = !!r.sync;
479
+ t.nounique = !!r.nounique;
480
+ t.nonull = !!r.nonull;
481
+ t.nosort = !!r.nosort;
482
+ t.nocase = !!r.nocase;
483
+ t.stat = !!r.stat;
484
+ t.noprocess = !!r.noprocess;
485
+ t.absolute = !!r.absolute;
486
+ t.fs = r.fs || i;
487
+ t.maxLength = r.maxLength || 1 / 0;
488
+ t.cache = r.cache || Object.create(null);
489
+ t.statCache = r.statCache || Object.create(null);
490
+ t.symlinks = r.symlinks || Object.create(null);
491
+ setupIgnores(t, r);
492
+ t.changedCwd = false;
493
+ var n = process.cwd();
494
+ if (ownProp(r, "cwd")) {
495
+ t.cwd = a.resolve(r.cwd);
496
+ t.changedCwd = t.cwd !== n;
497
+ } else t.cwd = n;
498
+ t.root = r.root || a.resolve(t.cwd, "/");
499
+ t.root = a.resolve(t.root);
500
+ if ("win32" === process.platform) t.root = t.root.replace(/\\/g, "/");
501
+ t.cwdAbs = s(t.cwd) ? t.cwd : makeAbs(t, t.cwd);
502
+ if ("win32" === process.platform) t.cwdAbs = t.cwdAbs.replace(/\\/g, "/");
503
+ t.nomount = !!r.nomount;
504
+ r.nonegate = true;
505
+ r.nocomment = true;
506
+ t.minimatch = new o(e, r);
507
+ t.options = t.minimatch.options;
508
+ }
509
+ function finish(t) {
510
+ var e = t.nounique;
511
+ var r = e ? [] : Object.create(null);
512
+ for(var i = 0, a = t.matches.length; i < a; i++){
513
+ var n = t.matches[i];
514
+ if (n && 0 !== Object.keys(n).length) {
515
+ var o = Object.keys(n);
516
+ if (e) r.push.apply(r, o);
517
+ else o.forEach(function(t) {
518
+ r[t] = true;
519
+ });
520
+ } else if (t.nonull) {
521
+ var s = t.minimatch.globSet[i];
522
+ if (e) r.push(s);
523
+ else r[s] = true;
524
+ }
525
+ }
526
+ if (!e) r = Object.keys(r);
527
+ if (!t.nosort) r = r.sort(alphasort);
528
+ if (t.mark) {
529
+ for(var i = 0; i < r.length; i++)r[i] = t._mark(r[i]);
530
+ if (t.nodir) r = r.filter(function(e) {
531
+ var r = !/\/$/.test(e);
532
+ var i = t.cache[e] || t.cache[makeAbs(t, e)];
533
+ if (r && i) r = "DIR" !== i && !Array.isArray(i);
534
+ return r;
535
+ });
536
+ }
537
+ if (t.ignore.length) r = r.filter(function(e) {
538
+ return !isIgnored(t, e);
539
+ });
540
+ t.found = r;
541
+ }
542
+ function mark(t, e) {
543
+ var r = makeAbs(t, e);
544
+ var i = t.cache[r];
545
+ var a = e;
546
+ if (i) {
547
+ var n = "DIR" === i || Array.isArray(i);
548
+ var s = "/" === e.slice(-1);
549
+ if (n && !s) a += "/";
550
+ else if (!n && s) a = a.slice(0, -1);
551
+ if (a !== e) {
552
+ var o = makeAbs(t, a);
553
+ t.statCache[o] = t.statCache[r];
554
+ t.cache[o] = t.cache[r];
555
+ }
556
+ }
557
+ return a;
558
+ }
559
+ function makeAbs(t, e) {
560
+ var r = e;
561
+ r = "/" === e.charAt(0) ? a.join(t.root, e) : s(e) || "" === e ? e : t.changedCwd ? a.resolve(t.cwd, e) : a.resolve(e);
562
+ if ("win32" === process.platform) r = r.replace(/\\/g, "/");
563
+ return r;
564
+ }
565
+ function isIgnored(t, e) {
566
+ if (!t.ignore.length) return false;
567
+ return t.ignore.some(function(t) {
568
+ return t.matcher.match(e) || !!(t.gmatcher && t.gmatcher.match(e));
569
+ });
570
+ }
571
+ function childrenIgnored(t, e) {
572
+ if (!t.ignore.length) return false;
573
+ return t.ignore.some(function(t) {
574
+ return !!(t.gmatcher && t.gmatcher.match(e));
575
+ });
576
+ }
577
+ },
578
+ 978: (t, e, r)=>{
579
+ t.exports = glob;
580
+ var i = r(737);
581
+ var a = r(235);
582
+ a.Minimatch;
583
+ var s = r(315);
584
+ var o = r(361).EventEmitter;
585
+ var c = r(17);
586
+ var h = r(491);
587
+ var l = r(249);
588
+ var u = r(19);
589
+ var p = r(875);
590
+ var v = p.setopts;
591
+ var d = p.ownProp;
592
+ var m = r(900);
593
+ r(837);
594
+ var g = p.childrenIgnored;
595
+ var y = p.isIgnored;
596
+ var _ = r(556);
597
+ function glob(t, e, r) {
598
+ if ("function" == typeof e) r = e, e = {};
599
+ if (!e) e = {};
600
+ if (e.sync) {
601
+ if (r) throw new TypeError("callback provided to sync glob");
602
+ return u(t, e);
603
+ }
604
+ return new Glob(t, e, r);
605
+ }
606
+ glob.sync = u;
607
+ var w = glob.GlobSync = u.GlobSync;
608
+ glob.glob = glob;
609
+ function extend(t, e) {
610
+ if (null === e || "object" != typeof e) return t;
611
+ var r = Object.keys(e);
612
+ var i = r.length;
613
+ while(i--)t[r[i]] = e[r[i]];
614
+ return t;
615
+ }
616
+ glob.hasMagic = function(t, e) {
617
+ var r = extend({}, e);
618
+ r.noprocess = true;
619
+ var i = new Glob(t, r);
620
+ var a = i.minimatch.set;
621
+ if (!t) return false;
622
+ if (a.length > 1) return true;
623
+ for(var n = 0; n < a[0].length; n++)if ("string" != typeof a[0][n]) return true;
624
+ return false;
625
+ };
626
+ glob.Glob = Glob;
627
+ s(Glob, o);
628
+ function Glob(t, e, r) {
629
+ if ("function" == typeof e) {
630
+ r = e;
631
+ e = null;
632
+ }
633
+ if (e && e.sync) {
634
+ if (r) throw new TypeError("callback provided to sync glob");
635
+ return new w(t, e);
636
+ }
637
+ if (!(this instanceof Glob)) return new Glob(t, e, r);
638
+ v(this, t, e);
639
+ this._didRealPath = false;
640
+ var i = this.minimatch.set.length;
641
+ this.matches = new Array(i);
642
+ if ("function" == typeof r) {
643
+ r = _(r);
644
+ this.on("error", r);
645
+ this.on("end", function(t) {
646
+ r(null, t);
647
+ });
648
+ }
649
+ var a = this;
650
+ this._processing = 0;
651
+ this._emitQueue = [];
652
+ this._processQueue = [];
653
+ this.paused = false;
654
+ if (this.noprocess) return this;
655
+ if (0 === i) return done();
656
+ var n = true;
657
+ for(var s = 0; s < i; s++)this._process(this.minimatch.set[s], s, false, done);
658
+ n = false;
659
+ function done() {
660
+ --a._processing;
661
+ if (a._processing <= 0) if (n) process.nextTick(function() {
662
+ a._finish();
663
+ });
664
+ else a._finish();
665
+ }
666
+ }
667
+ Glob.prototype._finish = function() {
668
+ h(this instanceof Glob);
669
+ if (this.aborted) return;
670
+ if (this.realpath && !this._didRealpath) return this._realpath();
671
+ p.finish(this);
672
+ this.emit("end", this.found);
673
+ };
674
+ Glob.prototype._realpath = function() {
675
+ if (this._didRealpath) return;
676
+ this._didRealpath = true;
677
+ var t = this.matches.length;
678
+ if (0 === t) return this._finish();
679
+ var e = this;
680
+ for(var r = 0; r < this.matches.length; r++)this._realpathSet(r, next);
681
+ function next() {
682
+ if (0 === --t) e._finish();
683
+ }
684
+ };
685
+ Glob.prototype._realpathSet = function(t, e) {
686
+ var r = this.matches[t];
687
+ if (!r) return e();
688
+ var a = Object.keys(r);
689
+ var n = this;
690
+ var s = a.length;
691
+ if (0 === s) return e();
692
+ var o = this.matches[t] = Object.create(null);
693
+ a.forEach(function(r, a) {
694
+ r = n._makeAbs(r);
695
+ i.realpath(r, n.realpathCache, function(i, a) {
696
+ if (i) if ("stat" === i.syscall) o[r] = true;
697
+ else n.emit("error", i);
698
+ else o[a] = true;
699
+ if (0 === --s) {
700
+ n.matches[t] = o;
701
+ e();
702
+ }
703
+ });
704
+ });
705
+ };
706
+ Glob.prototype._mark = function(t) {
707
+ return p.mark(this, t);
708
+ };
709
+ Glob.prototype._makeAbs = function(t) {
710
+ return p.makeAbs(this, t);
711
+ };
712
+ Glob.prototype.abort = function() {
713
+ this.aborted = true;
714
+ this.emit("abort");
715
+ };
716
+ Glob.prototype.pause = function() {
717
+ if (!this.paused) {
718
+ this.paused = true;
719
+ this.emit("pause");
720
+ }
721
+ };
722
+ Glob.prototype.resume = function() {
723
+ if (this.paused) {
724
+ this.emit("resume");
725
+ this.paused = false;
726
+ if (this._emitQueue.length) {
727
+ var t = this._emitQueue.slice(0);
728
+ this._emitQueue.length = 0;
729
+ for(var e = 0; e < t.length; e++){
730
+ var r = t[e];
731
+ this._emitMatch(r[0], r[1]);
732
+ }
733
+ }
734
+ if (this._processQueue.length) {
735
+ var i = this._processQueue.slice(0);
736
+ this._processQueue.length = 0;
737
+ for(var e = 0; e < i.length; e++){
738
+ var a = i[e];
739
+ this._processing--;
740
+ this._process(a[0], a[1], a[2], a[3]);
741
+ }
742
+ }
743
+ }
744
+ };
745
+ Glob.prototype._process = function(t, e, r, i) {
746
+ h(this instanceof Glob);
747
+ h("function" == typeof i);
748
+ if (this.aborted) return;
749
+ this._processing++;
750
+ if (this.paused) return void this._processQueue.push([
751
+ t,
752
+ e,
753
+ r,
754
+ i
755
+ ]);
756
+ var n = 0;
757
+ while("string" == typeof t[n])n++;
758
+ var s;
759
+ switch(n){
760
+ case t.length:
761
+ this._processSimple(t.join("/"), e, i);
762
+ return;
763
+ case 0:
764
+ s = null;
765
+ break;
766
+ default:
767
+ s = t.slice(0, n).join("/");
768
+ break;
769
+ }
770
+ var o = t.slice(n);
771
+ var c;
772
+ if (null === s) c = ".";
773
+ else if (l(s) || l(t.join("/"))) {
774
+ if (!s || !l(s)) s = "/" + s;
775
+ c = s;
776
+ } else c = s;
777
+ var u = this._makeAbs(c);
778
+ if (g(this, c)) return i();
779
+ var p = o[0] === a.GLOBSTAR;
780
+ if (p) this._processGlobStar(s, c, u, o, e, r, i);
781
+ else this._processReaddir(s, c, u, o, e, r, i);
782
+ };
783
+ Glob.prototype._processReaddir = function(t, e, r, i, a, n, s) {
784
+ var o = this;
785
+ this._readdir(r, n, function(c, h) {
786
+ return o._processReaddir2(t, e, r, i, a, n, h, s);
787
+ });
788
+ };
789
+ Glob.prototype._processReaddir2 = function(t, e, r, i, a, n, s, o) {
790
+ if (!s) return o();
791
+ var h = i[0];
792
+ var l = !!this.minimatch.negate;
793
+ var u = h._glob;
794
+ var p = this.dot || "." === u.charAt(0);
795
+ var v = [];
796
+ for(var d = 0; d < s.length; d++){
797
+ var m = s[d];
798
+ if ("." !== m.charAt(0) || p) {
799
+ var b;
800
+ b = l && !t ? !m.match(h) : m.match(h);
801
+ if (b) v.push(m);
802
+ }
803
+ }
804
+ var g = v.length;
805
+ if (0 === g) return o();
806
+ if (1 === i.length && !this.mark && !this.stat) {
807
+ if (!this.matches[a]) this.matches[a] = Object.create(null);
808
+ for(var d = 0; d < g; d++){
809
+ var m = v[d];
810
+ if (t) m = "/" !== t ? t + "/" + m : t + m;
811
+ if ("/" === m.charAt(0) && !this.nomount) m = c.join(this.root, m);
812
+ this._emitMatch(a, m);
813
+ }
814
+ return o();
815
+ }
816
+ i.shift();
817
+ for(var d = 0; d < g; d++){
818
+ var m = v[d];
819
+ if (t) m = "/" !== t ? t + "/" + m : t + m;
820
+ this._process([
821
+ m
822
+ ].concat(i), a, n, o);
823
+ }
824
+ o();
825
+ };
826
+ Glob.prototype._emitMatch = function(t, e) {
827
+ if (this.aborted) return;
828
+ if (y(this, e)) return;
829
+ if (this.paused) return void this._emitQueue.push([
830
+ t,
831
+ e
832
+ ]);
833
+ var r = l(e) ? e : this._makeAbs(e);
834
+ if (this.mark) e = this._mark(e);
835
+ if (this.absolute) e = r;
836
+ if (this.matches[t][e]) return;
837
+ if (this.nodir) {
838
+ var i = this.cache[r];
839
+ if ("DIR" === i || Array.isArray(i)) return;
840
+ }
841
+ this.matches[t][e] = true;
842
+ var a = this.statCache[r];
843
+ if (a) this.emit("stat", e, a);
844
+ this.emit("match", e);
845
+ };
846
+ Glob.prototype._readdirInGlobStar = function(t, e) {
847
+ if (this.aborted) return;
848
+ if (this.follow) return this._readdir(t, false, e);
849
+ var r = "lstat\0" + t;
850
+ var i = this;
851
+ var a = m(r, lstatcb_);
852
+ if (a) i.fs.lstat(t, a);
853
+ function lstatcb_(r, a) {
854
+ if (r && "ENOENT" === r.code) return e();
855
+ var n = a && a.isSymbolicLink();
856
+ i.symlinks[t] = n;
857
+ if (n || !a || a.isDirectory()) i._readdir(t, false, e);
858
+ else {
859
+ i.cache[t] = "FILE";
860
+ e();
861
+ }
862
+ }
863
+ };
864
+ Glob.prototype._readdir = function(t, e, r) {
865
+ if (this.aborted) return;
866
+ r = m("readdir\0" + t + "\0" + e, r);
867
+ if (!r) return;
868
+ if (e && !d(this.symlinks, t)) return this._readdirInGlobStar(t, r);
869
+ if (d(this.cache, t)) {
870
+ var i = this.cache[t];
871
+ if (!i || "FILE" === i) return r();
872
+ if (Array.isArray(i)) return r(null, i);
873
+ }
874
+ var a = this;
875
+ a.fs.readdir(t, readdirCb(this, t, r));
876
+ };
877
+ function readdirCb(t, e, r) {
878
+ return function(i, a) {
879
+ if (i) t._readdirError(e, i, r);
880
+ else t._readdirEntries(e, a, r);
881
+ };
882
+ }
883
+ Glob.prototype._readdirEntries = function(t, e, r) {
884
+ if (this.aborted) return;
885
+ if (!this.mark && !this.stat) for(var i = 0; i < e.length; i++){
886
+ var a = e[i];
887
+ a = "/" === t ? t + a : t + "/" + a;
888
+ this.cache[a] = true;
889
+ }
890
+ this.cache[t] = e;
891
+ return r(null, e);
892
+ };
893
+ Glob.prototype._readdirError = function(t, e, r) {
894
+ if (this.aborted) return;
895
+ switch(e.code){
896
+ case "ENOTSUP":
897
+ case "ENOTDIR":
898
+ var i = this._makeAbs(t);
899
+ this.cache[i] = "FILE";
900
+ if (i === this.cwdAbs) {
901
+ var a = new Error(e.code + " invalid cwd " + this.cwd);
902
+ a.path = this.cwd;
903
+ a.code = e.code;
904
+ this.emit("error", a);
905
+ this.abort();
906
+ }
907
+ break;
908
+ case "ENOENT":
909
+ case "ELOOP":
910
+ case "ENAMETOOLONG":
911
+ case "UNKNOWN":
912
+ this.cache[this._makeAbs(t)] = false;
913
+ break;
914
+ default:
915
+ this.cache[this._makeAbs(t)] = false;
916
+ if (this.strict) {
917
+ this.emit("error", e);
918
+ this.abort();
919
+ }
920
+ if (!this.silent) console.error("glob error", e);
921
+ break;
922
+ }
923
+ return r();
924
+ };
925
+ Glob.prototype._processGlobStar = function(t, e, r, i, a, n, s) {
926
+ var o = this;
927
+ this._readdir(r, n, function(c, h) {
928
+ o._processGlobStar2(t, e, r, i, a, n, h, s);
929
+ });
930
+ };
931
+ Glob.prototype._processGlobStar2 = function(t, e, r, i, a, n, s, o) {
932
+ if (!s) return o();
933
+ var c = i.slice(1);
934
+ var h = t ? [
935
+ t
936
+ ] : [];
937
+ var l = h.concat(c);
938
+ this._process(l, a, false, o);
939
+ var u = this.symlinks[r];
940
+ var p = s.length;
941
+ if (u && n) return o();
942
+ for(var v = 0; v < p; v++){
943
+ var d = s[v];
944
+ if ("." !== d.charAt(0) || this.dot) {
945
+ var m = h.concat(s[v], c);
946
+ this._process(m, a, true, o);
947
+ var b = h.concat(s[v], i);
948
+ this._process(b, a, true, o);
949
+ }
950
+ }
951
+ o();
952
+ };
953
+ Glob.prototype._processSimple = function(t, e, r) {
954
+ var i = this;
955
+ this._stat(t, function(a, n) {
956
+ i._processSimple2(t, e, a, n, r);
957
+ });
958
+ };
959
+ Glob.prototype._processSimple2 = function(t, e, r, i, a) {
960
+ if (!this.matches[e]) this.matches[e] = Object.create(null);
961
+ if (!i) return a();
962
+ if (t && l(t) && !this.nomount) {
963
+ var n = /[\/\\]$/.test(t);
964
+ if ("/" === t.charAt(0)) t = c.join(this.root, t);
965
+ else {
966
+ t = c.resolve(this.root, t);
967
+ if (n) t += "/";
968
+ }
969
+ }
970
+ if ("win32" === process.platform) t = t.replace(/\\/g, "/");
971
+ this._emitMatch(e, t);
972
+ a();
973
+ };
974
+ Glob.prototype._stat = function(t, e) {
975
+ var r = this._makeAbs(t);
976
+ var i = "/" === t.slice(-1);
977
+ if (t.length > this.maxLength) return e();
978
+ if (!this.stat && d(this.cache, r)) {
979
+ var a = this.cache[r];
980
+ if (Array.isArray(a)) a = "DIR";
981
+ if (!i || "DIR" === a) return e(null, a);
982
+ if (i && "FILE" === a) return e();
983
+ }
984
+ var s = this.statCache[r];
985
+ if (void 0 !== s) if (false === s) return e(null, s);
986
+ else {
987
+ var o = s.isDirectory() ? "DIR" : "FILE";
988
+ if (i && "FILE" === o) return e();
989
+ return e(null, o, s);
990
+ }
991
+ var c = this;
992
+ var h = m("stat\0" + r, lstatcb_);
993
+ if (h) c.fs.lstat(r, h);
994
+ function lstatcb_(i, a) {
995
+ if (a && a.isSymbolicLink()) return c.fs.stat(r, function(i, n) {
996
+ if (i) c._stat2(t, r, null, a, e);
997
+ else c._stat2(t, r, i, n, e);
998
+ });
999
+ c._stat2(t, r, i, a, e);
1000
+ }
1001
+ };
1002
+ Glob.prototype._stat2 = function(t, e, r, i, a) {
1003
+ if (r && ("ENOENT" === r.code || "ENOTDIR" === r.code)) {
1004
+ this.statCache[e] = false;
1005
+ return a();
1006
+ }
1007
+ var n = "/" === t.slice(-1);
1008
+ this.statCache[e] = i;
1009
+ if ("/" === e.slice(-1) && i && !i.isDirectory()) return a(null, false, i);
1010
+ var s = true;
1011
+ if (i) s = i.isDirectory() ? "DIR" : "FILE";
1012
+ this.cache[e] = this.cache[e] || s;
1013
+ if (n && "FILE" === s) return a();
1014
+ return a(null, s, i);
1015
+ };
1016
+ },
1017
+ 19: (t, e, r)=>{
1018
+ t.exports = globSync;
1019
+ globSync.GlobSync = GlobSync;
1020
+ var i = r(737);
1021
+ var a = r(235);
1022
+ a.Minimatch;
1023
+ r(978).Glob;
1024
+ r(837);
1025
+ var c = r(17);
1026
+ var h = r(491);
1027
+ var l = r(249);
1028
+ var u = r(875);
1029
+ var p = u.setopts;
1030
+ var v = u.ownProp;
1031
+ var d = u.childrenIgnored;
1032
+ var m = u.isIgnored;
1033
+ function globSync(t, e) {
1034
+ if ("function" == typeof e || 3 === arguments.length) throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");
1035
+ return new GlobSync(t, e).found;
1036
+ }
1037
+ function GlobSync(t, e) {
1038
+ if (!t) throw new Error("must provide pattern");
1039
+ if ("function" == typeof e || 3 === arguments.length) throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");
1040
+ if (!(this instanceof GlobSync)) return new GlobSync(t, e);
1041
+ p(this, t, e);
1042
+ if (this.noprocess) return this;
1043
+ var r = this.minimatch.set.length;
1044
+ this.matches = new Array(r);
1045
+ for(var i = 0; i < r; i++)this._process(this.minimatch.set[i], i, false);
1046
+ this._finish();
1047
+ }
1048
+ GlobSync.prototype._finish = function() {
1049
+ h(this instanceof GlobSync);
1050
+ if (this.realpath) {
1051
+ var t = this;
1052
+ this.matches.forEach(function(e, r) {
1053
+ var a = t.matches[r] = Object.create(null);
1054
+ for(var n in e)try {
1055
+ n = t._makeAbs(n);
1056
+ var s = i.realpathSync(n, t.realpathCache);
1057
+ a[s] = true;
1058
+ } catch (e) {
1059
+ if ("stat" === e.syscall) a[t._makeAbs(n)] = true;
1060
+ else throw e;
1061
+ }
1062
+ });
1063
+ }
1064
+ u.finish(this);
1065
+ };
1066
+ GlobSync.prototype._process = function(t, e, r) {
1067
+ h(this instanceof GlobSync);
1068
+ var i = 0;
1069
+ while("string" == typeof t[i])i++;
1070
+ var n;
1071
+ switch(i){
1072
+ case t.length:
1073
+ this._processSimple(t.join("/"), e);
1074
+ return;
1075
+ case 0:
1076
+ n = null;
1077
+ break;
1078
+ default:
1079
+ n = t.slice(0, i).join("/");
1080
+ break;
1081
+ }
1082
+ var s = t.slice(i);
1083
+ var o;
1084
+ if (null === n) o = ".";
1085
+ else if (l(n) || l(t.join("/"))) {
1086
+ if (!n || !l(n)) n = "/" + n;
1087
+ o = n;
1088
+ } else o = n;
1089
+ var c = this._makeAbs(o);
1090
+ if (d(this, o)) return;
1091
+ var u = s[0] === a.GLOBSTAR;
1092
+ if (u) this._processGlobStar(n, o, c, s, e, r);
1093
+ else this._processReaddir(n, o, c, s, e, r);
1094
+ };
1095
+ GlobSync.prototype._processReaddir = function(t, e, r, i, a, n) {
1096
+ var s = this._readdir(r, n);
1097
+ if (!s) return;
1098
+ var o = i[0];
1099
+ var h = !!this.minimatch.negate;
1100
+ var l = o._glob;
1101
+ var u = this.dot || "." === l.charAt(0);
1102
+ var p = [];
1103
+ for(var v = 0; v < s.length; v++){
1104
+ var d = s[v];
1105
+ if ("." !== d.charAt(0) || u) {
1106
+ var m;
1107
+ m = h && !t ? !d.match(o) : d.match(o);
1108
+ if (m) p.push(d);
1109
+ }
1110
+ }
1111
+ var b = p.length;
1112
+ if (0 === b) return;
1113
+ if (1 === i.length && !this.mark && !this.stat) {
1114
+ if (!this.matches[a]) this.matches[a] = Object.create(null);
1115
+ for(var v = 0; v < b; v++){
1116
+ var d = p[v];
1117
+ if (t) d = "/" !== t.slice(-1) ? t + "/" + d : t + d;
1118
+ if ("/" === d.charAt(0) && !this.nomount) d = c.join(this.root, d);
1119
+ this._emitMatch(a, d);
1120
+ }
1121
+ return;
1122
+ }
1123
+ i.shift();
1124
+ for(var v = 0; v < b; v++){
1125
+ var d = p[v];
1126
+ var g;
1127
+ g = t ? [
1128
+ t,
1129
+ d
1130
+ ] : [
1131
+ d
1132
+ ];
1133
+ this._process(g.concat(i), a, n);
1134
+ }
1135
+ };
1136
+ GlobSync.prototype._emitMatch = function(t, e) {
1137
+ if (m(this, e)) return;
1138
+ var r = this._makeAbs(e);
1139
+ if (this.mark) e = this._mark(e);
1140
+ if (this.absolute) e = r;
1141
+ if (this.matches[t][e]) return;
1142
+ if (this.nodir) {
1143
+ var i = this.cache[r];
1144
+ if ("DIR" === i || Array.isArray(i)) return;
1145
+ }
1146
+ this.matches[t][e] = true;
1147
+ if (this.stat) this._stat(e);
1148
+ };
1149
+ GlobSync.prototype._readdirInGlobStar = function(t) {
1150
+ if (this.follow) return this._readdir(t, false);
1151
+ var e;
1152
+ var r;
1153
+ try {
1154
+ r = this.fs.lstatSync(t);
1155
+ } catch (t) {
1156
+ if ("ENOENT" === t.code) return null;
1157
+ }
1158
+ var a = r && r.isSymbolicLink();
1159
+ this.symlinks[t] = a;
1160
+ if (a || !r || r.isDirectory()) e = this._readdir(t, false);
1161
+ else this.cache[t] = "FILE";
1162
+ return e;
1163
+ };
1164
+ GlobSync.prototype._readdir = function(t, e) {
1165
+ if (e && !v(this.symlinks, t)) return this._readdirInGlobStar(t);
1166
+ if (v(this.cache, t)) {
1167
+ var i = this.cache[t];
1168
+ if (!i || "FILE" === i) return null;
1169
+ if (Array.isArray(i)) return i;
1170
+ }
1171
+ try {
1172
+ return this._readdirEntries(t, this.fs.readdirSync(t));
1173
+ } catch (e) {
1174
+ this._readdirError(t, e);
1175
+ return null;
1176
+ }
1177
+ };
1178
+ GlobSync.prototype._readdirEntries = function(t, e) {
1179
+ if (!this.mark && !this.stat) for(var r = 0; r < e.length; r++){
1180
+ var i = e[r];
1181
+ i = "/" === t ? t + i : t + "/" + i;
1182
+ this.cache[i] = true;
1183
+ }
1184
+ this.cache[t] = e;
1185
+ return e;
1186
+ };
1187
+ GlobSync.prototype._readdirError = function(t, e) {
1188
+ switch(e.code){
1189
+ case "ENOTSUP":
1190
+ case "ENOTDIR":
1191
+ var r = this._makeAbs(t);
1192
+ this.cache[r] = "FILE";
1193
+ if (r === this.cwdAbs) {
1194
+ var i = new Error(e.code + " invalid cwd " + this.cwd);
1195
+ i.path = this.cwd;
1196
+ i.code = e.code;
1197
+ throw i;
1198
+ }
1199
+ break;
1200
+ case "ENOENT":
1201
+ case "ELOOP":
1202
+ case "ENAMETOOLONG":
1203
+ case "UNKNOWN":
1204
+ this.cache[this._makeAbs(t)] = false;
1205
+ break;
1206
+ default:
1207
+ this.cache[this._makeAbs(t)] = false;
1208
+ if (this.strict) throw e;
1209
+ if (!this.silent) console.error("glob error", e);
1210
+ break;
1211
+ }
1212
+ };
1213
+ GlobSync.prototype._processGlobStar = function(t, e, r, i, a, n) {
1214
+ var s = this._readdir(r, n);
1215
+ if (!s) return;
1216
+ var o = i.slice(1);
1217
+ var c = t ? [
1218
+ t
1219
+ ] : [];
1220
+ var h = c.concat(o);
1221
+ this._process(h, a, false);
1222
+ var l = s.length;
1223
+ var u = this.symlinks[r];
1224
+ if (u && n) return;
1225
+ for(var p = 0; p < l; p++){
1226
+ var v = s[p];
1227
+ if ("." !== v.charAt(0) || this.dot) {
1228
+ var d = c.concat(s[p], o);
1229
+ this._process(d, a, true);
1230
+ var m = c.concat(s[p], i);
1231
+ this._process(m, a, true);
1232
+ }
1233
+ }
1234
+ };
1235
+ GlobSync.prototype._processSimple = function(t, e) {
1236
+ var r = this._stat(t);
1237
+ if (!this.matches[e]) this.matches[e] = Object.create(null);
1238
+ if (!r) return;
1239
+ if (t && l(t) && !this.nomount) {
1240
+ var i = /[\/\\]$/.test(t);
1241
+ if ("/" === t.charAt(0)) t = c.join(this.root, t);
1242
+ else {
1243
+ t = c.resolve(this.root, t);
1244
+ if (i) t += "/";
1245
+ }
1246
+ }
1247
+ if ("win32" === process.platform) t = t.replace(/\\/g, "/");
1248
+ this._emitMatch(e, t);
1249
+ };
1250
+ GlobSync.prototype._stat = function(t) {
1251
+ var e = this._makeAbs(t);
1252
+ var r = "/" === t.slice(-1);
1253
+ if (t.length > this.maxLength) return false;
1254
+ if (!this.stat && v(this.cache, e)) {
1255
+ var i = this.cache[e];
1256
+ if (Array.isArray(i)) i = "DIR";
1257
+ if (!r || "DIR" === i) return i;
1258
+ if (r && "FILE" === i) return false;
1259
+ }
1260
+ var n = this.statCache[e];
1261
+ if (!n) {
1262
+ var s;
1263
+ try {
1264
+ s = this.fs.lstatSync(e);
1265
+ } catch (t) {
1266
+ if (t && ("ENOENT" === t.code || "ENOTDIR" === t.code)) {
1267
+ this.statCache[e] = false;
1268
+ return false;
1269
+ }
1270
+ }
1271
+ if (s && s.isSymbolicLink()) try {
1272
+ n = this.fs.statSync(e);
1273
+ } catch (t) {
1274
+ n = s;
1275
+ }
1276
+ else n = s;
1277
+ }
1278
+ this.statCache[e] = n;
1279
+ var i = true;
1280
+ if (n) i = n.isDirectory() ? "DIR" : "FILE";
1281
+ this.cache[e] = this.cache[e] || i;
1282
+ if (r && "FILE" === i) return false;
1283
+ return i;
1284
+ };
1285
+ GlobSync.prototype._mark = function(t) {
1286
+ return u.mark(this, t);
1287
+ };
1288
+ GlobSync.prototype._makeAbs = function(t) {
1289
+ return u.makeAbs(this, t);
1290
+ };
1291
+ },
1292
+ 900: (t, e, r)=>{
1293
+ var i = r(928);
1294
+ var a = Object.create(null);
1295
+ var n = r(556);
1296
+ t.exports = i(inflight);
1297
+ function inflight(t, e) {
1298
+ if (a[t]) {
1299
+ a[t].push(e);
1300
+ return null;
1301
+ }
1302
+ a[t] = [
1303
+ e
1304
+ ];
1305
+ return makeres(t);
1306
+ }
1307
+ function makeres(t) {
1308
+ return n(function RES() {
1309
+ var e = a[t];
1310
+ var r = e.length;
1311
+ var i = slice(arguments);
1312
+ try {
1313
+ for(var n = 0; n < r; n++)e[n].apply(null, i);
1314
+ } finally{
1315
+ if (e.length > r) {
1316
+ e.splice(0, r);
1317
+ process.nextTick(function() {
1318
+ RES.apply(null, i);
1319
+ });
1320
+ } else delete a[t];
1321
+ }
1322
+ });
1323
+ }
1324
+ function slice(t) {
1325
+ var e = t.length;
1326
+ var r = [];
1327
+ for(var i = 0; i < e; i++)r[i] = t[i];
1328
+ return r;
1329
+ }
1330
+ },
1331
+ 315: (t, e, r)=>{
1332
+ try {
1333
+ var i = r(837);
1334
+ if ("function" != typeof i.inherits) throw "";
1335
+ t.exports = i.inherits;
1336
+ } catch (e) {
1337
+ t.exports = r(959);
1338
+ }
1339
+ },
1340
+ 959: (t)=>{
1341
+ if ("function" == typeof Object.create) t.exports = function(t, e) {
1342
+ if (e) {
1343
+ t.super_ = e;
1344
+ t.prototype = Object.create(e.prototype, {
1345
+ constructor: {
1346
+ value: t,
1347
+ enumerable: false,
1348
+ writable: true,
1349
+ configurable: true
1350
+ }
1351
+ });
1352
+ }
1353
+ };
1354
+ else t.exports = function(t, e) {
1355
+ if (e) {
1356
+ t.super_ = e;
1357
+ var TempCtor = function() {};
1358
+ TempCtor.prototype = e.prototype;
1359
+ t.prototype = new TempCtor;
1360
+ t.prototype.constructor = t;
1361
+ }
1362
+ };
1363
+ },
1364
+ 235: (t, e, r)=>{
1365
+ t.exports = minimatch;
1366
+ minimatch.Minimatch = Minimatch;
1367
+ var i = function() {
1368
+ try {
1369
+ return r(17);
1370
+ } catch (t) {}
1371
+ }() || {
1372
+ sep: "/"
1373
+ };
1374
+ minimatch.sep = i.sep;
1375
+ var a = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {};
1376
+ var n = r(847);
1377
+ var s = {
1378
+ "!": {
1379
+ open: "(?:(?!(?:",
1380
+ close: "))[^/]*?)"
1381
+ },
1382
+ "?": {
1383
+ open: "(?:",
1384
+ close: ")?"
1385
+ },
1386
+ "+": {
1387
+ open: "(?:",
1388
+ close: ")+"
1389
+ },
1390
+ "*": {
1391
+ open: "(?:",
1392
+ close: ")*"
1393
+ },
1394
+ "@": {
1395
+ open: "(?:",
1396
+ close: ")"
1397
+ }
1398
+ };
1399
+ var o = "[^/]";
1400
+ var c = o + "*?";
1401
+ var h = "(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";
1402
+ var l = "(?:(?!(?:\\/|^)\\.).)*?";
1403
+ var u = charSet("().*{}+?[]^$\\!");
1404
+ function charSet(t) {
1405
+ return t.split("").reduce(function(t, e) {
1406
+ t[e] = true;
1407
+ return t;
1408
+ }, {});
1409
+ }
1410
+ var p = /\/+/;
1411
+ minimatch.filter = filter;
1412
+ function filter(t, e) {
1413
+ e = e || {};
1414
+ return function(r, i, a) {
1415
+ return minimatch(r, t, e);
1416
+ };
1417
+ }
1418
+ function ext(t, e) {
1419
+ e = e || {};
1420
+ var r = {};
1421
+ Object.keys(t).forEach(function(e) {
1422
+ r[e] = t[e];
1423
+ });
1424
+ Object.keys(e).forEach(function(t) {
1425
+ r[t] = e[t];
1426
+ });
1427
+ return r;
1428
+ }
1429
+ minimatch.defaults = function(t) {
1430
+ if (!t || "object" != typeof t || !Object.keys(t).length) return minimatch;
1431
+ var e = minimatch;
1432
+ var r = function(r, i, a) {
1433
+ return e(r, i, ext(t, a));
1434
+ };
1435
+ r.Minimatch = function(r, i) {
1436
+ return new e.Minimatch(r, ext(t, i));
1437
+ };
1438
+ r.Minimatch.defaults = function(r) {
1439
+ return e.defaults(ext(t, r)).Minimatch;
1440
+ };
1441
+ r.filter = function(r, i) {
1442
+ return e.filter(r, ext(t, i));
1443
+ };
1444
+ r.defaults = function(r) {
1445
+ return e.defaults(ext(t, r));
1446
+ };
1447
+ r.makeRe = function(r, i) {
1448
+ return e.makeRe(r, ext(t, i));
1449
+ };
1450
+ r.braceExpand = function(r, i) {
1451
+ return e.braceExpand(r, ext(t, i));
1452
+ };
1453
+ r.match = function(r, i, a) {
1454
+ return e.match(r, i, ext(t, a));
1455
+ };
1456
+ return r;
1457
+ };
1458
+ Minimatch.defaults = function(t) {
1459
+ return minimatch.defaults(t).Minimatch;
1460
+ };
1461
+ function minimatch(t, e, r) {
1462
+ assertValidPattern(e);
1463
+ if (!r) r = {};
1464
+ if (!r.nocomment && "#" === e.charAt(0)) return false;
1465
+ return new Minimatch(e, r).match(t);
1466
+ }
1467
+ function Minimatch(t, e) {
1468
+ if (!(this instanceof Minimatch)) return new Minimatch(t, e);
1469
+ assertValidPattern(t);
1470
+ if (!e) e = {};
1471
+ t = t.trim();
1472
+ if (!e.allowWindowsEscape && "/" !== i.sep) t = t.split(i.sep).join("/");
1473
+ this.options = e;
1474
+ this.set = [];
1475
+ this.pattern = t;
1476
+ this.regexp = null;
1477
+ this.negate = false;
1478
+ this.comment = false;
1479
+ this.empty = false;
1480
+ this.partial = !!e.partial;
1481
+ this.make();
1482
+ }
1483
+ Minimatch.prototype.debug = function() {};
1484
+ Minimatch.prototype.make = make;
1485
+ function make() {
1486
+ var t = this.pattern;
1487
+ var e = this.options;
1488
+ if (!e.nocomment && "#" === t.charAt(0)) {
1489
+ this.comment = true;
1490
+ return;
1491
+ }
1492
+ if (!t) {
1493
+ this.empty = true;
1494
+ return;
1495
+ }
1496
+ this.parseNegate();
1497
+ var r = this.globSet = this.braceExpand();
1498
+ if (e.debug) this.debug = function() {
1499
+ console.error.apply(console, arguments);
1500
+ };
1501
+ this.debug(this.pattern, r);
1502
+ r = this.globParts = r.map(function(t) {
1503
+ return t.split(p);
1504
+ });
1505
+ this.debug(this.pattern, r);
1506
+ r = r.map(function(t, e, r) {
1507
+ return t.map(this.parse, this);
1508
+ }, this);
1509
+ this.debug(this.pattern, r);
1510
+ r = r.filter(function(t) {
1511
+ return -1 === t.indexOf(false);
1512
+ });
1513
+ this.debug(this.pattern, r);
1514
+ this.set = r;
1515
+ }
1516
+ Minimatch.prototype.parseNegate = parseNegate;
1517
+ function parseNegate() {
1518
+ var t = this.pattern;
1519
+ var e = false;
1520
+ var r = this.options;
1521
+ var i = 0;
1522
+ if (r.nonegate) return;
1523
+ for(var a = 0, n = t.length; a < n && "!" === t.charAt(a); a++){
1524
+ e = !e;
1525
+ i++;
1526
+ }
1527
+ if (i) this.pattern = t.substr(i);
1528
+ this.negate = e;
1529
+ }
1530
+ minimatch.braceExpand = function(t, e) {
1531
+ return braceExpand(t, e);
1532
+ };
1533
+ Minimatch.prototype.braceExpand = braceExpand;
1534
+ function braceExpand(t, e) {
1535
+ if (!e) e = this instanceof Minimatch ? this.options : {};
1536
+ t = void 0 === t ? this.pattern : t;
1537
+ assertValidPattern(t);
1538
+ if (e.nobrace || !/\{(?:(?!\{).)*\}/.test(t)) return [
1539
+ t
1540
+ ];
1541
+ return n(t);
1542
+ }
1543
+ var v = 65536;
1544
+ var assertValidPattern = function(t) {
1545
+ if ("string" != typeof t) throw new TypeError("invalid pattern");
1546
+ if (t.length > v) throw new TypeError("pattern is too long");
1547
+ };
1548
+ Minimatch.prototype.parse = parse;
1549
+ var d = {};
1550
+ function parse(t, e) {
1551
+ assertValidPattern(t);
1552
+ var r = this.options;
1553
+ if ("**" === t) if (!r.noglobstar) return a;
1554
+ else t = "*";
1555
+ if ("" === t) return "";
1556
+ var i = "";
1557
+ var n = !!r.nocase;
1558
+ var h = false;
1559
+ var l = [];
1560
+ var p = [];
1561
+ var v;
1562
+ var m = false;
1563
+ var b = -1;
1564
+ var g = -1;
1565
+ var y = "." === t.charAt(0) ? "" : r.dot ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" : "(?!\\.)";
1566
+ var _ = this;
1567
+ function clearStateChar() {
1568
+ if (v) {
1569
+ switch(v){
1570
+ case "*":
1571
+ i += c;
1572
+ n = true;
1573
+ break;
1574
+ case "?":
1575
+ i += o;
1576
+ n = true;
1577
+ break;
1578
+ default:
1579
+ i += "\\" + v;
1580
+ break;
1581
+ }
1582
+ _.debug("clearStateChar %j %j", v, i);
1583
+ v = false;
1584
+ }
1585
+ }
1586
+ for(var w = 0, k = t.length, S; w < k && (S = t.charAt(w)); w++){
1587
+ this.debug("%s\t%s %s %j", t, w, i, S);
1588
+ if (h && u[S]) {
1589
+ i += "\\" + S;
1590
+ h = false;
1591
+ continue;
1592
+ }
1593
+ switch(S){
1594
+ case "/":
1595
+ return false;
1596
+ case "\\":
1597
+ clearStateChar();
1598
+ h = true;
1599
+ continue;
1600
+ case "?":
1601
+ case "*":
1602
+ case "+":
1603
+ case "@":
1604
+ case "!":
1605
+ this.debug("%s\t%s %s %j <-- stateChar", t, w, i, S);
1606
+ if (m) {
1607
+ this.debug(" in class");
1608
+ if ("!" === S && w === g + 1) S = "^";
1609
+ i += S;
1610
+ continue;
1611
+ }
1612
+ _.debug("call clearStateChar %j", v);
1613
+ clearStateChar();
1614
+ v = S;
1615
+ if (r.noext) clearStateChar();
1616
+ continue;
1617
+ case "(":
1618
+ if (m) {
1619
+ i += "(";
1620
+ continue;
1621
+ }
1622
+ if (!v) {
1623
+ i += "\\(";
1624
+ continue;
1625
+ }
1626
+ l.push({
1627
+ type: v,
1628
+ start: w - 1,
1629
+ reStart: i.length,
1630
+ open: s[v].open,
1631
+ close: s[v].close
1632
+ });
1633
+ i += "!" === v ? "(?:(?!(?:" : "(?:";
1634
+ this.debug("plType %j %j", v, i);
1635
+ v = false;
1636
+ continue;
1637
+ case ")":
1638
+ if (m || !l.length) {
1639
+ i += "\\)";
1640
+ continue;
1641
+ }
1642
+ clearStateChar();
1643
+ n = true;
1644
+ var E = l.pop();
1645
+ i += E.close;
1646
+ if ("!" === E.type) p.push(E);
1647
+ E.reEnd = i.length;
1648
+ continue;
1649
+ case "|":
1650
+ if (m || !l.length || h) {
1651
+ i += "\\|";
1652
+ h = false;
1653
+ continue;
1654
+ }
1655
+ clearStateChar();
1656
+ i += "|";
1657
+ continue;
1658
+ case "[":
1659
+ clearStateChar();
1660
+ if (m) {
1661
+ i += "\\" + S;
1662
+ continue;
1663
+ }
1664
+ m = true;
1665
+ g = w;
1666
+ b = i.length;
1667
+ i += S;
1668
+ continue;
1669
+ case "]":
1670
+ if (w === g + 1 || !m) {
1671
+ i += "\\" + S;
1672
+ h = false;
1673
+ continue;
1674
+ }
1675
+ var x = t.substring(g + 1, w);
1676
+ try {
1677
+ RegExp("[" + x + "]");
1678
+ } catch (t) {
1679
+ var O = this.parse(x, d);
1680
+ i = i.substr(0, b) + "\\[" + O[0] + "\\]";
1681
+ n = n || O[1];
1682
+ m = false;
1683
+ continue;
1684
+ }
1685
+ n = true;
1686
+ m = false;
1687
+ i += S;
1688
+ continue;
1689
+ default:
1690
+ clearStateChar();
1691
+ if (h) h = false;
1692
+ else if (u[S] && !("^" === S && m)) i += "\\";
1693
+ i += S;
1694
+ }
1695
+ }
1696
+ if (m) {
1697
+ x = t.substr(g + 1);
1698
+ O = this.parse(x, d);
1699
+ i = i.substr(0, b) + "\\[" + O[0];
1700
+ n = n || O[1];
1701
+ }
1702
+ for(E = l.pop(); E; E = l.pop()){
1703
+ var A = i.slice(E.reStart + E.open.length);
1704
+ this.debug("setting tail", i, E);
1705
+ A = A.replace(/((?:\\{2}){0,64})(\\?)\|/g, function(t, e, r) {
1706
+ if (!r) r = "\\";
1707
+ return e + e + r + "|";
1708
+ });
1709
+ this.debug("tail=%j\n %s", A, A, E, i);
1710
+ var G = "*" === E.type ? c : "?" === E.type ? o : "\\" + E.type;
1711
+ n = true;
1712
+ i = i.slice(0, E.reStart) + G + "\\(" + A;
1713
+ }
1714
+ clearStateChar();
1715
+ if (h) i += "\\\\";
1716
+ var j = false;
1717
+ switch(i.charAt(0)){
1718
+ case "[":
1719
+ case ".":
1720
+ case "(":
1721
+ j = true;
1722
+ }
1723
+ for(var M = p.length - 1; M > -1; M--){
1724
+ var I = p[M];
1725
+ var R = i.slice(0, I.reStart);
1726
+ var C = i.slice(I.reStart, I.reEnd - 8);
1727
+ var L = i.slice(I.reEnd - 8, I.reEnd);
1728
+ var N = i.slice(I.reEnd);
1729
+ L += N;
1730
+ var T = R.split("(").length - 1;
1731
+ var P = N;
1732
+ for(w = 0; w < T; w++)P = P.replace(/\)[+*?]?/, "");
1733
+ N = P;
1734
+ var D = "";
1735
+ if ("" === N && e !== d) D = "$";
1736
+ var $ = R + C + N + D + L;
1737
+ i = $;
1738
+ }
1739
+ if ("" !== i && n) i = "(?=.)" + i;
1740
+ if (j) i = y + i;
1741
+ if (e === d) return [
1742
+ i,
1743
+ n
1744
+ ];
1745
+ if (!n) return globUnescape(t);
1746
+ var F = r.nocase ? "i" : "";
1747
+ try {
1748
+ var B = new RegExp("^" + i + "$", F);
1749
+ } catch (t) {
1750
+ return new RegExp("$.");
1751
+ }
1752
+ B._glob = t;
1753
+ B._src = i;
1754
+ return B;
1755
+ }
1756
+ minimatch.makeRe = function(t, e) {
1757
+ return new Minimatch(t, e || {}).makeRe();
1758
+ };
1759
+ Minimatch.prototype.makeRe = makeRe;
1760
+ function makeRe() {
1761
+ if (this.regexp || false === this.regexp) return this.regexp;
1762
+ var t = this.set;
1763
+ if (!t.length) {
1764
+ this.regexp = false;
1765
+ return this.regexp;
1766
+ }
1767
+ var e = this.options;
1768
+ var r = e.noglobstar ? c : e.dot ? h : l;
1769
+ var i = e.nocase ? "i" : "";
1770
+ var n = t.map(function(t) {
1771
+ return t.map(function(t) {
1772
+ return t === a ? r : "string" == typeof t ? regExpEscape(t) : t._src;
1773
+ }).join("\\/");
1774
+ }).join("|");
1775
+ n = "^(?:" + n + ")$";
1776
+ if (this.negate) n = "^(?!" + n + ").*$";
1777
+ try {
1778
+ this.regexp = new RegExp(n, i);
1779
+ } catch (t) {
1780
+ this.regexp = false;
1781
+ }
1782
+ return this.regexp;
1783
+ }
1784
+ minimatch.match = function(t, e, r) {
1785
+ r = r || {};
1786
+ var i = new Minimatch(e, r);
1787
+ t = t.filter(function(t) {
1788
+ return i.match(t);
1789
+ });
1790
+ if (i.options.nonull && !t.length) t.push(e);
1791
+ return t;
1792
+ };
1793
+ Minimatch.prototype.match = function(t, e) {
1794
+ if (void 0 === e) e = this.partial;
1795
+ this.debug("match", t, this.pattern);
1796
+ if (this.comment) return false;
1797
+ if (this.empty) return "" === t;
1798
+ if ("/" === t && e) return true;
1799
+ var r = this.options;
1800
+ if ("/" !== i.sep) t = t.split(i.sep).join("/");
1801
+ t = t.split(p);
1802
+ this.debug(this.pattern, "split", t);
1803
+ var a = this.set;
1804
+ this.debug(this.pattern, "set", a);
1805
+ var n;
1806
+ var s;
1807
+ for(s = t.length - 1; s >= 0; s--){
1808
+ n = t[s];
1809
+ if (n) break;
1810
+ }
1811
+ for(s = 0; s < a.length; s++){
1812
+ var o = a[s];
1813
+ var c = t;
1814
+ if (r.matchBase && 1 === o.length) c = [
1815
+ n
1816
+ ];
1817
+ var h = this.matchOne(c, o, e);
1818
+ if (h) {
1819
+ if (r.flipNegate) return true;
1820
+ return !this.negate;
1821
+ }
1822
+ }
1823
+ if (r.flipNegate) return false;
1824
+ return this.negate;
1825
+ };
1826
+ Minimatch.prototype.matchOne = function(t, e, r) {
1827
+ var i = this.options;
1828
+ this.debug("matchOne", {
1829
+ this: this,
1830
+ file: t,
1831
+ pattern: e
1832
+ });
1833
+ this.debug("matchOne", t.length, e.length);
1834
+ for(var n = 0, s = 0, o = t.length, c = e.length; n < o && s < c; n++, s++){
1835
+ this.debug("matchOne loop");
1836
+ var h = e[s];
1837
+ var l = t[n];
1838
+ this.debug(e, h, l);
1839
+ if (false === h) return false;
1840
+ if (h === a) {
1841
+ this.debug("GLOBSTAR", [
1842
+ e,
1843
+ h,
1844
+ l
1845
+ ]);
1846
+ var u = n;
1847
+ var p = s + 1;
1848
+ if (p === c) {
1849
+ this.debug("** at the end");
1850
+ for(; n < o; n++)if ("." === t[n] || ".." === t[n] || !i.dot && "." === t[n].charAt(0)) return false;
1851
+ return true;
1852
+ }
1853
+ while(u < o){
1854
+ var v = t[u];
1855
+ this.debug("\nglobstar while", t, u, e, p, v);
1856
+ if (this.matchOne(t.slice(u), e.slice(p), r)) {
1857
+ this.debug("globstar found match!", u, o, v);
1858
+ return true;
1859
+ }
1860
+ if ("." === v || ".." === v || !i.dot && "." === v.charAt(0)) {
1861
+ this.debug("dot detected!", t, u, e, p);
1862
+ break;
1863
+ }
1864
+ this.debug("globstar swallow a segment, and continue");
1865
+ u++;
1866
+ }
1867
+ if (r) {
1868
+ this.debug("\n>>> no match, partial?", t, u, e, p);
1869
+ if (u === o) return true;
1870
+ }
1871
+ return false;
1872
+ }
1873
+ var d;
1874
+ if ("string" == typeof h) {
1875
+ d = l === h;
1876
+ this.debug("string match", h, l, d);
1877
+ } else {
1878
+ d = l.match(h);
1879
+ this.debug("pattern match", h, l, d);
1880
+ }
1881
+ if (!d) return false;
1882
+ }
1883
+ if (n === o && s === c) return true;
1884
+ if (n === o) return r;
1885
+ if (s === c) return n === o - 1 && "" === t[n];
1886
+ throw new Error("wtf?");
1887
+ };
1888
+ function globUnescape(t) {
1889
+ return t.replace(/\\(.)/g, "$1");
1890
+ }
1891
+ function regExpEscape(t) {
1892
+ return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
1893
+ }
1894
+ },
1895
+ 556: (t, e, r)=>{
1896
+ var i = r(928);
1897
+ t.exports = i(once);
1898
+ t.exports.strict = i(onceStrict);
1899
+ once.proto = once(function() {
1900
+ Object.defineProperty(Function.prototype, "once", {
1901
+ value: function() {
1902
+ return once(this);
1903
+ },
1904
+ configurable: true
1905
+ });
1906
+ Object.defineProperty(Function.prototype, "onceStrict", {
1907
+ value: function() {
1908
+ return onceStrict(this);
1909
+ },
1910
+ configurable: true
1911
+ });
1912
+ });
1913
+ function once(t) {
1914
+ var f = function() {
1915
+ if (f.called) return f.value;
1916
+ f.called = true;
1917
+ return f.value = t.apply(this, arguments);
1918
+ };
1919
+ f.called = false;
1920
+ return f;
1921
+ }
1922
+ function onceStrict(t) {
1923
+ var f = function() {
1924
+ if (f.called) throw new Error(f.onceError);
1925
+ f.called = true;
1926
+ return f.value = t.apply(this, arguments);
1927
+ };
1928
+ var e = t.name || "Function wrapped with `once`";
1929
+ f.onceError = e + " shouldn't be called more than once";
1930
+ f.called = false;
1931
+ return f;
1932
+ }
1933
+ },
1934
+ 249: (t)=>{
1935
+ "use strict";
1936
+ function posix(t) {
1937
+ return "/" === t.charAt(0);
1938
+ }
1939
+ function win32(t) {
1940
+ var e = /^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/;
1941
+ var r = e.exec(t);
1942
+ var i = r[1] || "";
1943
+ var a = Boolean(i && ":" !== i.charAt(1));
1944
+ return Boolean(r[2] || a);
1945
+ }
1946
+ t.exports = "win32" === process.platform ? win32 : posix;
1947
+ t.exports.posix = posix;
1948
+ t.exports.win32 = win32;
1949
+ },
1950
+ 928: (t)=>{
1951
+ t.exports = wrappy;
1952
+ function wrappy(t, e) {
1953
+ if (t && e) return wrappy(t)(e);
1954
+ if ("function" != typeof t) throw new TypeError("need wrapper function");
1955
+ Object.keys(t).forEach(function(e) {
1956
+ wrapper[e] = t[e];
1957
+ });
1958
+ return wrapper;
1959
+ function wrapper() {
1960
+ var e = new Array(arguments.length);
1961
+ for(var r = 0; r < e.length; r++)e[r] = arguments[r];
1962
+ var i = t.apply(this, e);
1963
+ var a = e[e.length - 1];
1964
+ if ("function" == typeof i && i !== a) Object.keys(a).forEach(function(t) {
1965
+ i[t] = a[t];
1966
+ });
1967
+ return i;
1968
+ }
1969
+ }
1970
+ },
1971
+ 491: (t)=>{
1972
+ "use strict";
1973
+ t.exports = require("assert");
1974
+ },
1975
+ 361: (t)=>{
1976
+ "use strict";
1977
+ t.exports = require("events");
1978
+ },
1979
+ 147: (t)=>{
1980
+ "use strict";
1981
+ t.exports = require("fs");
1982
+ },
1983
+ 17: (t)=>{
1984
+ "use strict";
1985
+ t.exports = require("path");
1986
+ },
1987
+ 837: (t)=>{
1988
+ "use strict";
1989
+ t.exports = require("util");
1990
+ }
1991
+ };
1992
+ var e = {};
1993
+ function __nccwpck_require__(r) {
1994
+ var i = e[r];
1995
+ if (void 0 !== i) return i.exports;
1996
+ var a = e[r] = {
1997
+ exports: {}
1998
+ };
1999
+ var n = true;
2000
+ try {
2001
+ t[r](a, a.exports, __nccwpck_require__);
2002
+ n = false;
2003
+ } finally{
2004
+ if (n) delete e[r];
2005
+ }
2006
+ return a.exports;
2007
+ }
2008
+ if (void 0 !== __nccwpck_require__) __nccwpck_require__.ab = __dirname + "/";
2009
+ var r = __nccwpck_require__(978);
2010
+ module.exports = r;
2011
+ })();