@grapecity/wijmo.angular2legacy.directivebase 5.20241.7 → 5.20241.9
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.
- package/COMMERCIAL-LICENSE.html +5 -19
- package/es2015-commonjs.js +1 -1
- package/es2015-esm.js +1 -1
- package/es5-esm.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +2 -2
- package/tools/wijmo-esm.js +1 -1
package/COMMERCIAL-LICENSE.html
CHANGED
|
@@ -143,28 +143,14 @@ other than You as a single Developer. By way of example, if a company has five
|
|
|
143
143
|
developers using the Software, the company needs to purchase five licenses,
|
|
144
144
|
irrespective of how the Software is accessed or how many installations are accessed
|
|
145
145
|
<br>
|
|
146
|
-
License to Distribute. You are licensed to distribute the SOFTWARE as an incorporated
|
|
147
|
-
part of your Applications on a royalty-free basis. Additionally, You are licensed to use
|
|
148
|
-
and to modify the source code of the SOFTWARE for use in Applications, and You ow n
|
|
149
|
-
any original work authored by you. MESCIUS retains all copyright and other intellectual
|
|
150
|
-
property rights in and to the SOFTWARE.
|
|
146
|
+
License to Distribute. You are licensed to distribute the SOFTWARE as an incorporated part of your Applications on a royalty-free basis. Additionally, You are licensed to use and to modify the source code of the SOFTWARE for use in Applications, and You own any original work authored by you. MESCIUS retains all copyright and other intellectual property rights in and to the SOFTWARE.
|
|
151
147
|
<br>
|
|
152
|
-
Limitations. You must purchase another separate license to the SOFTWARE for each
|
|
153
|
-
additional Developer. You are not licensed to move, remove, edit, or obscure any
|
|
154
|
-
copyright, trademark, attribution, warning or disclaimer notices in the SOFTWARE. You
|
|
155
|
-
may use the SOFTWARE only to create Applications that are significantly different than
|
|
156
|
-
and do not compete with the SOFTWARE. Users of your Applications are not permitted
|
|
157
|
-
to use the SOFTWARE for development purposes, unless they also purchase a separate
|
|
158
|
-
commercial license from MESCIUS for each of the users.
|
|
148
|
+
Limitations. You must purchase another separate license to the SOFTWARE for each additional Developer. You are not licensed to move, remove, edit, or obscure any copyright, trademark, attribution, warning or disclaimer notices in the SOFTWARE. You may use the SOFTWARE only to create Applications that are significantly different than and do not compete with the SOFTWARE. Users of your Applications are not permitted to use the SOFTWARE for development purposes, unless they also purchase a separate commercial license from MESCIUS for each of the users.
|
|
159
149
|
</li>
|
|
160
150
|
<li>
|
|
161
|
-
<strong>Deployment License.</strong> Subject to the terms and conditions of this EULA, You are granted
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
to be included in an encrypted distribution key. If you are unable or unwilling to specify
|
|
165
|
-
each hostname, You can pay an additional fee to obtain a key that does not require
|
|
166
|
-
hostnames. The license grant does not extend to other Company affiliates or
|
|
167
|
-
subsidiaries.
|
|
151
|
+
<strong>Deployment License.</strong> Subject to the terms and conditions of this EULA and the terms of your purchase, You are granted a Perpetual or Annual license to distribute or deploy the SOFTWARE as part of your Application. You are licensed to deploy the SOFTWARE up to the total number of hostnames, domains or desktop and mobile applications included in your purchase. The license grant does not extend to other Company affiliates or subsidiaries.
|
|
152
|
+
<br>
|
|
153
|
+
A Unique Deployment License Key(s) will be generated for your site(s) or application(s).
|
|
168
154
|
</li>
|
|
169
155
|
<li><strong>Source Code License.</strong> This section applies only to a Source Code License. Subject to the
|
|
170
156
|
terms and conditions of this EULA, if You separately acquire a Source Code License, You
|
package/es2015-commonjs.js
CHANGED
package/es2015-esm.js
CHANGED
package/es5-esm.js
CHANGED
package/index.d.ts
CHANGED
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grapecity/wijmo.angular2legacy.directivebase",
|
|
3
|
-
"version": "5.20241.
|
|
3
|
+
"version": "5.20241.9",
|
|
4
4
|
"description": "UI library for pure JS, Angular, React, Vue and more...",
|
|
5
5
|
"author": "MESCIUS inc",
|
|
6
6
|
"license": "Commercial",
|
|
7
7
|
"main": "./index.js",
|
|
8
8
|
"types": "./index.d.ts",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@grapecity/wijmo": "5.20241.
|
|
10
|
+
"@grapecity/wijmo": "5.20241.9"
|
|
11
11
|
},
|
|
12
12
|
"homepage": "https://developer.mescius.com/wijmo",
|
|
13
13
|
"bugs": {
|
package/tools/wijmo-esm.js
CHANGED
|
@@ -31,4 +31,4 @@ t.exports=function(t){if("string"!=typeof t||""===t)return!1;for(var e;e=/(\\).|
|
|
|
31
31
|
*
|
|
32
32
|
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
33
33
|
* Released under the MIT License.
|
|
34
|
-
*/t.exports=function(t){return"number"==typeof t?t-t==0:"string"==typeof t&&""!==t.trim()&&(Number.isFinite?Number.isFinite(+t):isFinite(+t))}},function(t,e,n){"use strict";const r=n(14),s=n(7),i=n(8),o=(t="",e="",n=!1)=>{let r=[];if(t=[].concat(t),!(e=[].concat(e)).length)return t;if(!t.length)return n?i.flatten(e).map(t=>`{${t}}`):e;for(let s of t)if(Array.isArray(s))for(let t of s)r.push(o(t,e,n));else for(let t of e)!0===n&&"string"==typeof t&&(t=`{${t}}`),r.push(Array.isArray(t)?o(s,t,n):s+t);return i.flatten(r)};t.exports=(t,e={})=>{let n=void 0===e.rangeLimit?1e3:e.rangeLimit,a=(t,u={})=>{t.queue=[];let c=u,l=u.queue;for(;"brace"!==c.type&&"root"!==c.type&&c.parent;)c=c.parent,l=c.queue;if(t.invalid||t.dollar)return void l.push(o(l.pop(),s(t,e)));if("brace"===t.type&&!0!==t.invalid&&2===t.nodes.length)return void l.push(o(l.pop(),["{}"]));if(t.nodes&&t.ranges>0){let a=i.reduce(t.nodes);if(i.exceedsLimit(...a,e.step,n))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let u=r(...a,e);return 0===u.length&&(u=s(t,e)),l.push(o(l.pop(),u)),void(t.nodes=[])}let p=i.encloseBrace(t),h=t.queue,f=t;for(;"brace"!==f.type&&"root"!==f.type&&f.parent;)f=f.parent,h=f.queue;for(let e=0;e<t.nodes.length;e++){let n=t.nodes[e];"comma"!==n.type||"brace"!==t.type?"close"!==n.type?n.value&&"open"!==n.type?h.push(o(h.pop(),n.value)):n.nodes&&a(n,t):l.push(o(l.pop(),h,p)):(1===e&&h.push(""),h.push(""))}return h};return i.flatten(a(t))}},function(t,e,n){"use strict";const r=n(7),{MAX_LENGTH:s,CHAR_BACKSLASH:i,CHAR_BACKTICK:o,CHAR_COMMA:a,CHAR_DOT:u,CHAR_LEFT_PARENTHESES:c,CHAR_RIGHT_PARENTHESES:l,CHAR_LEFT_CURLY_BRACE:p,CHAR_RIGHT_CURLY_BRACE:h,CHAR_LEFT_SQUARE_BRACKET:f,CHAR_RIGHT_SQUARE_BRACKET:d,CHAR_DOUBLE_QUOTE:_,CHAR_SINGLE_QUOTE:g,CHAR_NO_BREAK_SPACE:y,CHAR_ZERO_WIDTH_NOBREAK_SPACE:m}=n(40);t.exports=(t,e={})=>{if("string"!=typeof t)throw new TypeError("Expected a string");let n=e||{},S="number"==typeof n.maxLength?Math.min(s,n.maxLength):s;if(t.length>S)throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${S})`);let b,E={type:"root",input:t,nodes:[]},A=[E],v=E,R=E,x=0,C=t.length,k=0,O=0;const T=()=>t[k++],P=t=>{if("text"===t.type&&"dot"===R.type&&(R.type="text"),!R||"text"!==R.type||"text"!==t.type)return v.nodes.push(t),t.parent=v,t.prev=R,R=t,t;R.value+=t.value};for(P({type:"bos"});k<C;)if(v=A[A.length-1],b=T(),b!==m&&b!==y)if(b!==i)if(b!==d)if(b!==f)if(b!==c)if(b!==l)if(b!==_&&b!==g&&b!==o)if(b!==p)if(b!==h)if(b===a&&O>0){if(v.ranges>0){v.ranges=0;let t=v.nodes.shift();v.nodes=[t,{type:"text",value:r(v)}]}P({type:"comma",value:b}),v.commas++}else if(b===u&&O>0&&0===v.commas){let t=v.nodes;if(0===O||0===t.length){P({type:"text",value:b});continue}if("dot"===R.type){if(v.range=[],R.value+=b,R.type="range",3!==v.nodes.length&&5!==v.nodes.length){v.invalid=!0,v.ranges=0,R.type="text";continue}v.ranges++,v.args=[];continue}if("range"===R.type){t.pop();let e=t[t.length-1];e.value+=R.value+b,R=e,v.ranges--;continue}P({type:"dot",value:b})}else P({type:"text",value:b});else{if("brace"!==v.type){P({type:"text",value:b});continue}let t="close";v=A.pop(),v.close=!0,P({type:t,value:b}),O--,v=A[A.length-1]}else{O++;let t=R.value&&"$"===R.value.slice(-1)||!0===v.dollar;v=P({type:"brace",open:!0,close:!1,dollar:t,depth:O,commas:0,ranges:0,nodes:[]}),A.push(v),P({type:"open",value:b})}else{let t,n=b;for(!0!==e.keepQuotes&&(b="");k<C&&(t=T());)if(t!==i){if(t===n){!0===e.keepQuotes&&(b+=t);break}b+=t}else b+=t+T();P({type:"text",value:b})}else{if("paren"!==v.type){P({type:"text",value:b});continue}v=A.pop(),P({type:"text",value:b}),v=A[A.length-1]}else v=P({type:"paren",nodes:[]}),A.push(v),P({type:"text",value:b});else{x++;let t;for(;k<C&&(t=T());)if(b+=t,t!==f)if(t!==i){if(t===d&&(x--,0===x))break}else b+=T();else x++;P({type:"text",value:b})}else P({type:"text",value:"\\"+b});else P({type:"text",value:(e.keepEscaping?b:"")+T()});do{if(v=A.pop(),"root"!==v.type){v.nodes.forEach(t=>{t.nodes||("open"===t.type&&(t.isOpen=!0),"close"===t.type&&(t.isClose=!0),t.nodes||(t.type="text"),t.invalid=!0)});let t=A[A.length-1],e=t.nodes.indexOf(v);t.nodes.splice(e,1,...v.nodes)}}while(A.length>0);return P({type:"eos"}),E}},function(t,e,n){"use strict";t.exports={MAX_LENGTH:65536,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},function(t,e,n){"use strict";const r=n(0),s=n(42),i=n(43),o=n(4),a=n(5),u=(t,e,n=!1)=>{if(Array.isArray(t)){const r=t.map(t=>u(t,e,n));return t=>{for(const e of r){const n=e(t);if(n)return n}return!1}}const r=(s=t)&&"object"==typeof s&&!Array.isArray(s)&&t.tokens&&t.input;var s;if(""===t||"string"!=typeof t&&!r)throw new TypeError("Expected pattern to be a non-empty string");const i=e||{},a=o.isWindows(e),c=r?u.compileRe(t,e):u.makeRe(t,e,!1,!0),l=c.state;delete c.state;let p=()=>!1;if(i.ignore){const t={...e,ignore:null,onMatch:null,onResult:null};p=u(i.ignore,t,n)}const h=(n,r=!1)=>{const{isMatch:s,match:o,output:h}=u.test(n,c,e,{glob:t,posix:a}),f={glob:t,state:l,regex:c,posix:a,input:n,output:h,match:o,isMatch:s};return"function"==typeof i.onResult&&i.onResult(f),!1===s?(f.isMatch=!1,!!r&&f):p(n)?("function"==typeof i.onIgnore&&i.onIgnore(f),f.isMatch=!1,!!r&&f):("function"==typeof i.onMatch&&i.onMatch(f),!r||f)};return n&&(h.state=l),h};u.test=(t,e,n,{glob:r,posix:s}={})=>{if("string"!=typeof t)throw new TypeError("Expected input to be a string");if(""===t)return{isMatch:!1,output:""};const i=n||{},a=i.format||(s?o.toPosixSlashes:null);let c=t===r,l=c&&a?a(t):t;return!1===c&&(l=a?a(t):t,c=l===r),!1!==c&&!0!==i.capture||(c=!0===i.matchBase||!0===i.basename?u.matchBase(t,e,n,s):e.exec(l)),{isMatch:Boolean(c),match:c,output:l}},u.matchBase=(t,e,n,s=o.isWindows(n))=>(e instanceof RegExp?e:u.makeRe(e,n)).test(r.basename(t)),u.isMatch=(t,e,n)=>u(e,n)(t),u.parse=(t,e)=>Array.isArray(t)?t.map(t=>u.parse(t,e)):i(t,{...e,fastpaths:!1}),u.scan=(t,e)=>s(t,e),u.compileRe=(t,e,n=!1,r=!1)=>{if(!0===n)return t.output;const s=e||{},i=s.contains?"":"^",o=s.contains?"":"$";let a=`${i}(?:${t.output})${o}`;t&&!0===t.negated&&(a=`^(?!${a}).*$`);const c=u.toRegex(a,e);return!0===r&&(c.state=t),c},u.makeRe=(t,e,n=!1,r=!1)=>{if(!t||"string"!=typeof t)throw new TypeError("Expected a non-empty string");const s=e||{};let o,a={negated:!1,fastpaths:!0},c="";return t.startsWith("./")&&(t=t.slice(2),c=a.prefix="./"),!1===s.fastpaths||"."!==t[0]&&"*"!==t[0]||(o=i.fastpaths(t,e)),void 0===o?(a=i(t,e),a.prefix=c+(a.prefix||"")):a.output=o,u.compileRe(a,e,n,r)},u.toRegex=(t,e)=>{try{const n=e||{};return new RegExp(t,n.flags||(n.nocase?"i":""))}catch(t){if(e&&!0===e.debug)throw t;return/$^/}},u.constants=a,t.exports=u},function(t,e,n){"use strict";const r=n(4),{CHAR_ASTERISK:s,CHAR_AT:i,CHAR_BACKWARD_SLASH:o,CHAR_COMMA:a,CHAR_DOT:u,CHAR_EXCLAMATION_MARK:c,CHAR_FORWARD_SLASH:l,CHAR_LEFT_CURLY_BRACE:p,CHAR_LEFT_PARENTHESES:h,CHAR_LEFT_SQUARE_BRACKET:f,CHAR_PLUS:d,CHAR_QUESTION_MARK:_,CHAR_RIGHT_CURLY_BRACE:g,CHAR_RIGHT_PARENTHESES:y,CHAR_RIGHT_SQUARE_BRACKET:m}=n(5),S=t=>t===l||t===o,b=t=>{!0!==t.isPrefix&&(t.depth=t.isGlobstar?1/0:1)};t.exports=(t,e)=>{const n=e||{},E=t.length-1,A=!0===n.parts||!0===n.scanToEnd,v=[],R=[],x=[];let C,k,O=t,T=-1,P=0,w=0,L=!1,H=!1,M=!1,$=!1,F=!1,D=!1,N=!1,I=!1,B=!1,j=0,G={value:"",depth:0,isGlob:!1};const U=()=>T>=E,K=()=>(C=k,O.charCodeAt(++T));for(;T<E;){let t;if(k=K(),k!==o){if(!0===D||k===p){for(j++;!0!==U()&&(k=K());)if(k!==o)if(k!==p){if(!0!==D&&k===u&&(k=K())===u){if(L=G.isBrace=!0,M=G.isGlob=!0,B=!0,!0===A)continue;break}if(!0!==D&&k===a){if(L=G.isBrace=!0,M=G.isGlob=!0,B=!0,!0===A)continue;break}if(k===g&&(j--,0===j)){D=!1,L=G.isBrace=!0,B=!0;break}}else j++;else N=G.backslashes=!0,K();if(!0===A)continue;break}if(k!==l){if(!0!==n.noext){if(!0===(k===d||k===i||k===s||k===_||k===c)&&O.charCodeAt(T+1)===h){if(M=G.isGlob=!0,$=G.isExtglob=!0,B=!0,!0===A){for(;!0!==U()&&(k=K());)if(k!==o){if(k===y){M=G.isGlob=!0,B=!0;break}}else N=G.backslashes=!0,k=K();continue}break}}if(k===s){if(C===s&&(F=G.isGlobstar=!0),M=G.isGlob=!0,B=!0,!0===A)continue;break}if(k===_){if(M=G.isGlob=!0,B=!0,!0===A)continue;break}if(k===f)for(;!0!==U()&&(t=K());)if(t!==o){if(t===m){if(H=G.isBracket=!0,M=G.isGlob=!0,B=!0,!0===A)continue;break}}else N=G.backslashes=!0,K();if(!0===n.nonegate||k!==c||T!==P){if(!0!==n.noparen&&k===h){if(M=G.isGlob=!0,!0===A){for(;!0!==U()&&(k=K());)if(k!==h){if(k===y){B=!0;break}}else N=G.backslashes=!0,k=K();continue}break}if(!0===M){if(B=!0,!0===A)continue;break}}else I=G.negated=!0,P++}else{if(v.push(T),R.push(G),G={value:"",depth:0,isGlob:!1},!0===B)continue;if(C===u&&T===P+1){P+=2;continue}w=T+1}}else N=G.backslashes=!0,k=K(),k===p&&(D=!0)}!0===n.noext&&($=!1,M=!1);let V=O,W="",Q="";P>0&&(W=O.slice(0,P),O=O.slice(P),w-=P),V&&!0===M&&w>0?(V=O.slice(0,w),Q=O.slice(w)):!0===M?(V="",Q=O):V=O,V&&""!==V&&"/"!==V&&V!==O&&S(V.charCodeAt(V.length-1))&&(V=V.slice(0,-1)),!0===n.unescape&&(Q&&(Q=r.removeBackslashes(Q)),V&&!0===N&&(V=r.removeBackslashes(V)));const q={prefix:W,input:t,start:P,base:V,glob:Q,isBrace:L,isBracket:H,isGlob:M,isExtglob:$,isGlobstar:F,negated:I};if(!0===n.tokens&&(q.maxDepth=0,S(k)||R.push(G),q.tokens=R),!0===n.parts||!0===n.tokens){let e;for(let r=0;r<v.length;r++){const s=e?e+1:P,i=v[r],o=t.slice(s,i);n.tokens&&(0===r&&0!==P?(R[r].isPrefix=!0,R[r].value=W):R[r].value=o,b(R[r]),q.maxDepth+=R[r].depth),0===r&&""===o||x.push(o),e=i}if(e&&e+1<t.length){const r=t.slice(e+1);x.push(r),n.tokens&&(R[R.length-1].value=r,b(R[R.length-1]),q.maxDepth+=R[R.length-1].depth)}q.slashes=v,q.parts=x}return q}},function(t,e,n){"use strict";const r=n(5),s=n(4),{MAX_LENGTH:i,POSIX_REGEX_SOURCE:o,REGEX_NON_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_BACKREF:u,REPLACEMENTS:c}=r,l=(t,e)=>{if("function"==typeof e.expandRange)return e.expandRange(...t,e);t.sort();const n=`[${t.join("-")}]`;try{new RegExp(n)}catch(e){return t.map(t=>s.escapeRegex(t)).join("..")}return n},p=(t,e)=>`Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`,h=(t,e)=>{if("string"!=typeof t)throw new TypeError("Expected a string");t=c[t]||t;const n={...e},h="number"==typeof n.maxLength?Math.min(i,n.maxLength):i;let f=t.length;if(f>h)throw new SyntaxError(`Input length: ${f}, exceeds maximum allowed length: ${h}`);const d={type:"bos",value:"",output:n.prepend||""},_=[d],g=n.capture?"":"?:",y=s.isWindows(e),m=r.globChars(y),S=r.extglobChars(m),{DOT_LITERAL:b,PLUS_LITERAL:E,SLASH_LITERAL:A,ONE_CHAR:v,DOTS_SLASH:R,NO_DOT:x,NO_DOT_SLASH:C,NO_DOTS_SLASH:k,QMARK:O,QMARK_NO_DOT:T,STAR:P,START_ANCHOR:w}=m,L=t=>`(${g}(?:(?!${w}${t.dot?R:b}).)*?)`,H=n.dot?"":x,M=n.dot?O:T;let $=!0===n.bash?L(n):P;n.capture&&($=`(${$})`),"boolean"==typeof n.noext&&(n.noextglob=n.noext);const F={input:t,index:-1,start:0,dot:!0===n.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:_};t=s.removePrefix(t,F),f=t.length;const D=[],N=[],I=[];let B,j=d;const G=()=>F.index===f-1,U=F.peek=(e=1)=>t[F.index+e],K=F.advance=()=>t[++F.index],V=()=>t.slice(F.index+1),W=(t="",e=0)=>{F.consumed+=t,F.index+=e},Q=t=>{F.output+=null!=t.output?t.output:t.value,W(t.value)},q=()=>{let t=1;for(;"!"===U()&&("("!==U(2)||"?"===U(3));)K(),F.start++,t++;return t%2!=0&&(F.negated=!0,F.start++,!0)},X=t=>{F[t]++,I.push(t)},Y=t=>{F[t]--,I.pop()},Z=t=>{if("globstar"===j.type){const e=F.braces>0&&("comma"===t.type||"brace"===t.type),n=!0===t.extglob||D.length&&("pipe"===t.type||"paren"===t.type);"slash"===t.type||"paren"===t.type||e||n||(F.output=F.output.slice(0,-j.output.length),j.type="star",j.value="*",j.output=$,F.output+=j.output)}if(D.length&&"paren"!==t.type&&!S[t.value]&&(D[D.length-1].inner+=t.value),(t.value||t.output)&&Q(t),j&&"text"===j.type&&"text"===t.type)return j.value+=t.value,void(j.output=(j.output||"")+t.value);t.prev=j,_.push(t),j=t},J=(t,e)=>{const r={...S[e],conditions:1,inner:""};r.prev=j,r.parens=F.parens,r.output=F.output;const s=(n.capture?"(":"")+r.open;X("parens"),Z({type:t,value:e,output:F.output?"":v}),Z({type:"paren",extglob:!0,value:K(),output:s}),D.push(r)},z=t=>{let e=t.close+(n.capture?")":"");if("negate"===t.type){let r=$;t.inner&&t.inner.length>1&&t.inner.includes("/")&&(r=L(n)),(r!==$||G()||/^\)+$/.test(V()))&&(e=t.close=")$))"+r),"bos"===t.prev.type&&G()&&(F.negatedExtglob=!0)}Z({type:"paren",extglob:!0,value:B,output:e}),Y("parens")};if(!1!==n.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(t)){let r=!1,i=t.replace(u,(t,e,n,s,i,o)=>"\\"===s?(r=!0,t):"?"===s?e?e+s+(i?O.repeat(i.length):""):0===o?M+(i?O.repeat(i.length):""):O.repeat(n.length):"."===s?b.repeat(n.length):"*"===s?e?e+s+(i?$:""):$:e?t:"\\"+t);return!0===r&&(i=!0===n.unescape?i.replace(/\\/g,""):i.replace(/\\+/g,t=>t.length%2==0?"\\\\":t?"\\":"")),i===t&&!0===n.contains?(F.output=t,F):(F.output=s.wrapOutput(i,F,e),F)}for(;!G();){if(B=K(),"\0"===B)continue;if("\\"===B){const t=U();if("/"===t&&!0!==n.bash)continue;if("."===t||";"===t)continue;if(!t){B+="\\",Z({type:"text",value:B});continue}const e=/^\\+/.exec(V());let r=0;if(e&&e[0].length>2&&(r=e[0].length,F.index+=r,r%2!=0&&(B+="\\")),!0===n.unescape?B=K()||"":B+=K()||"",0===F.brackets){Z({type:"text",value:B});continue}}if(F.brackets>0&&("]"!==B||"["===j.value||"[^"===j.value)){if(!1!==n.posix&&":"===B){const t=j.value.slice(1);if(t.includes("[")&&(j.posix=!0,t.includes(":"))){const t=j.value.lastIndexOf("["),e=j.value.slice(0,t),n=j.value.slice(t+2),r=o[n];if(r){j.value=e+r,F.backtrack=!0,K(),d.output||1!==_.indexOf(j)||(d.output=v);continue}}}("["===B&&":"!==U()||"-"===B&&"]"===U())&&(B="\\"+B),"]"!==B||"["!==j.value&&"[^"!==j.value||(B="\\"+B),!0===n.posix&&"!"===B&&"["===j.value&&(B="^"),j.value+=B,Q({value:B});continue}if(1===F.quotes&&'"'!==B){B=s.escapeRegex(B),j.value+=B,Q({value:B});continue}if('"'===B){F.quotes=1===F.quotes?0:1,!0===n.keepQuotes&&Z({type:"text",value:B});continue}if("("===B){X("parens"),Z({type:"paren",value:B});continue}if(")"===B){if(0===F.parens&&!0===n.strictBrackets)throw new SyntaxError(p("opening","("));const t=D[D.length-1];if(t&&F.parens===t.parens+1){z(D.pop());continue}Z({type:"paren",value:B,output:F.parens?")":"\\)"}),Y("parens");continue}if("["===B){if(!0!==n.nobracket&&V().includes("]"))X("brackets");else{if(!0!==n.nobracket&&!0===n.strictBrackets)throw new SyntaxError(p("closing","]"));B="\\"+B}Z({type:"bracket",value:B});continue}if("]"===B){if(!0===n.nobracket||j&&"bracket"===j.type&&1===j.value.length){Z({type:"text",value:B,output:"\\"+B});continue}if(0===F.brackets){if(!0===n.strictBrackets)throw new SyntaxError(p("opening","["));Z({type:"text",value:B,output:"\\"+B});continue}Y("brackets");const t=j.value.slice(1);if(!0===j.posix||"^"!==t[0]||t.includes("/")||(B="/"+B),j.value+=B,Q({value:B}),!1===n.literalBrackets||s.hasRegexChars(t))continue;const e=s.escapeRegex(j.value);if(F.output=F.output.slice(0,-j.value.length),!0===n.literalBrackets){F.output+=e,j.value=e;continue}j.value=`(${g}${e}|${j.value})`,F.output+=j.value;continue}if("{"===B&&!0!==n.nobrace){X("braces");const t={type:"brace",value:B,output:"(",outputIndex:F.output.length,tokensIndex:F.tokens.length};N.push(t),Z(t);continue}if("}"===B){const t=N[N.length-1];if(!0===n.nobrace||!t){Z({type:"text",value:B,output:B});continue}let e=")";if(!0===t.dots){const t=_.slice(),r=[];for(let e=t.length-1;e>=0&&(_.pop(),"brace"!==t[e].type);e--)"dots"!==t[e].type&&r.unshift(t[e].value);e=l(r,n),F.backtrack=!0}if(!0!==t.comma&&!0!==t.dots){const n=F.output.slice(0,t.outputIndex),r=F.tokens.slice(t.tokensIndex);t.value=t.output="\\{",B=e="\\}",F.output=n;for(const t of r)F.output+=t.output||t.value}Z({type:"brace",value:B,output:e}),Y("braces"),N.pop();continue}if("|"===B){D.length>0&&D[D.length-1].conditions++,Z({type:"text",value:B});continue}if(","===B){let t=B;const e=N[N.length-1];e&&"braces"===I[I.length-1]&&(e.comma=!0,t="|"),Z({type:"comma",value:B,output:t});continue}if("/"===B){if("dot"===j.type&&F.index===F.start+1){F.start=F.index+1,F.consumed="",F.output="",_.pop(),j=d;continue}Z({type:"slash",value:B,output:A});continue}if("."===B){if(F.braces>0&&"dot"===j.type){"."===j.value&&(j.output=b);const t=N[N.length-1];j.type="dots",j.output+=B,j.value+=B,t.dots=!0;continue}if(F.braces+F.parens===0&&"bos"!==j.type&&"slash"!==j.type){Z({type:"text",value:B,output:b});continue}Z({type:"dot",value:B,output:b});continue}if("?"===B){if(!(j&&"("===j.value)&&!0!==n.noextglob&&"("===U()&&"?"!==U(2)){J("qmark",B);continue}if(j&&"paren"===j.type){const t=U();let e=B;if("<"===t&&!s.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===j.value&&!/[!=<:]/.test(t)||"<"===t&&!/<([!=]|\w+>)/.test(V()))&&(e="\\"+B),Z({type:"text",value:B,output:e});continue}if(!0!==n.dot&&("slash"===j.type||"bos"===j.type)){Z({type:"qmark",value:B,output:T});continue}Z({type:"qmark",value:B,output:O});continue}if("!"===B){if(!0!==n.noextglob&&"("===U()&&("?"!==U(2)||!/[!=<:]/.test(U(3)))){J("negate",B);continue}if(!0!==n.nonegate&&0===F.index){q();continue}}if("+"===B){if(!0!==n.noextglob&&"("===U()&&"?"!==U(2)){J("plus",B);continue}if(j&&"("===j.value||!1===n.regex){Z({type:"plus",value:B,output:E});continue}if(j&&("bracket"===j.type||"paren"===j.type||"brace"===j.type)||F.parens>0){Z({type:"plus",value:B});continue}Z({type:"plus",value:E});continue}if("@"===B){if(!0!==n.noextglob&&"("===U()&&"?"!==U(2)){Z({type:"at",extglob:!0,value:B,output:""});continue}Z({type:"text",value:B});continue}if("*"!==B){"$"!==B&&"^"!==B||(B="\\"+B);const t=a.exec(V());t&&(B+=t[0],F.index+=t[0].length),Z({type:"text",value:B});continue}if(j&&("globstar"===j.type||!0===j.star)){j.type="star",j.star=!0,j.value+=B,j.output=$,F.backtrack=!0,F.globstar=!0,W(B);continue}let e=V();if(!0!==n.noextglob&&/^\([^?]/.test(e)){J("star",B);continue}if("star"===j.type){if(!0===n.noglobstar){W(B);continue}const r=j.prev,s=r.prev,i="slash"===r.type||"bos"===r.type,o=s&&("star"===s.type||"globstar"===s.type);if(!0===n.bash&&(!i||e[0]&&"/"!==e[0])){Z({type:"star",value:B,output:""});continue}const a=F.braces>0&&("comma"===r.type||"brace"===r.type),u=D.length&&("pipe"===r.type||"paren"===r.type);if(!i&&"paren"!==r.type&&!a&&!u){Z({type:"star",value:B,output:""});continue}for(;"/**"===e.slice(0,3);){const n=t[F.index+4];if(n&&"/"!==n)break;e=e.slice(3),W("/**",3)}if("bos"===r.type&&G()){j.type="globstar",j.value+=B,j.output=L(n),F.output=j.output,F.globstar=!0,W(B);continue}if("slash"===r.type&&"bos"!==r.prev.type&&!o&&G()){F.output=F.output.slice(0,-(r.output+j.output).length),r.output="(?:"+r.output,j.type="globstar",j.output=L(n)+(n.strictSlashes?")":"|$)"),j.value+=B,F.globstar=!0,F.output+=r.output+j.output,W(B);continue}if("slash"===r.type&&"bos"!==r.prev.type&&"/"===e[0]){const t=void 0!==e[1]?"|$":"";F.output=F.output.slice(0,-(r.output+j.output).length),r.output="(?:"+r.output,j.type="globstar",j.output=`${L(n)}${A}|${A}${t})`,j.value+=B,F.output+=r.output+j.output,F.globstar=!0,W(B+K()),Z({type:"slash",value:"/",output:""});continue}if("bos"===r.type&&"/"===e[0]){j.type="globstar",j.value+=B,j.output=`(?:^|${A}|${L(n)}${A})`,F.output=j.output,F.globstar=!0,W(B+K()),Z({type:"slash",value:"/",output:""});continue}F.output=F.output.slice(0,-j.output.length),j.type="globstar",j.output=L(n),j.value+=B,F.output+=j.output,F.globstar=!0,W(B);continue}const r={type:"star",value:B,output:$};!0!==n.bash?!j||"bracket"!==j.type&&"paren"!==j.type||!0!==n.regex?(F.index!==F.start&&"slash"!==j.type&&"dot"!==j.type||("dot"===j.type?(F.output+=C,j.output+=C):!0===n.dot?(F.output+=k,j.output+=k):(F.output+=H,j.output+=H),"*"!==U()&&(F.output+=v,j.output+=v)),Z(r)):(r.output=B,Z(r)):(r.output=".*?","bos"!==j.type&&"slash"!==j.type||(r.output=H+r.output),Z(r))}for(;F.brackets>0;){if(!0===n.strictBrackets)throw new SyntaxError(p("closing","]"));F.output=s.escapeLast(F.output,"["),Y("brackets")}for(;F.parens>0;){if(!0===n.strictBrackets)throw new SyntaxError(p("closing",")"));F.output=s.escapeLast(F.output,"("),Y("parens")}for(;F.braces>0;){if(!0===n.strictBrackets)throw new SyntaxError(p("closing","}"));F.output=s.escapeLast(F.output,"{"),Y("braces")}if(!0===n.strictSlashes||"star"!==j.type&&"bracket"!==j.type||Z({type:"maybe_slash",value:"",output:A+"?"}),!0===F.backtrack){F.output="";for(const t of F.tokens)F.output+=null!=t.output?t.output:t.value,t.suffix&&(F.output+=t.suffix)}return F};h.fastpaths=(t,e)=>{const n={...e},o="number"==typeof n.maxLength?Math.min(i,n.maxLength):i,a=t.length;if(a>o)throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${o}`);t=c[t]||t;const u=s.isWindows(e),{DOT_LITERAL:l,SLASH_LITERAL:p,ONE_CHAR:h,DOTS_SLASH:f,NO_DOT:d,NO_DOTS:_,NO_DOTS_SLASH:g,STAR:y,START_ANCHOR:m}=r.globChars(u),S=n.dot?_:d,b=n.dot?g:d,E=n.capture?"":"?:";let A=!0===n.bash?".*?":y;n.capture&&(A=`(${A})`);const v=t=>!0===t.noglobstar?A:`(${E}(?:(?!${m}${t.dot?f:l}).)*?)`,R=t=>{switch(t){case"*":return`${S}${h}${A}`;case".*":return`${l}${h}${A}`;case"*.*":return`${S}${A}${l}${h}${A}`;case"*/*":return`${S}${A}${p}${h}${b}${A}`;case"**":return S+v(n);case"**/*":return`(?:${S}${v(n)}${p})?${b}${h}${A}`;case"**/*.*":return`(?:${S}${v(n)}${p})?${b}${A}${l}${h}${A}`;case"**/.*":return`(?:${S}${v(n)}${p})?${l}${h}${A}`;default:{const e=/^(.*?)\.(\w+)$/.exec(t);if(!e)return;const n=R(e[1]);if(!n)return;return n+l+e[2]}}},x=s.removePrefix(t,{negated:!1,prefix:""});let C=R(x);return C&&!0!==n.strictSlashes&&(C+=p+"?"),C},t.exports=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.merge=void 0;const r=n(45);function s(t){t.forEach(t=>t.emit("close"))}e.merge=function(t){const e=r(t);return t.forEach(t=>{t.once("error",t=>e.emit("error",t))}),e.once("close",()=>s(t)),e.once("end",()=>s(t)),e}},function(t,e,n){"use strict";const r=n(6).PassThrough,s=Array.prototype.slice;function i(t,e){if(Array.isArray(t))for(let n=0,r=t.length;n<r;n++)t[n]=i(t[n],e);else{if(!t._readableState&&t.pipe&&(t=t.pipe(r(e))),!t._readableState||!t.pause||!t.pipe)throw new Error("Only readable stream can be merged.");t.pause()}return t}t.exports=function(){const t=[],e=s.call(arguments);let n=!1,o=e[e.length-1];o&&!Array.isArray(o)&&null==o.pipe?e.pop():o={};const a=!1!==o.end,u=!0===o.pipeError;null==o.objectMode&&(o.objectMode=!0);null==o.highWaterMark&&(o.highWaterMark=65536);const c=r(o);function l(){for(let e=0,n=arguments.length;e<n;e++)t.push(i(arguments[e],o));return p(),this}function p(){if(n)return;n=!0;let e=t.shift();if(!e)return void process.nextTick(h);Array.isArray(e)||(e=[e]);let r=e.length+1;function s(){--r>0||(n=!1,p())}function i(t){function e(){t.removeListener("merge2UnpipeEnd",e),t.removeListener("end",e),u&&t.removeListener("error",n),s()}function n(t){c.emit("error",t)}if(t._readableState.endEmitted)return s();t.on("merge2UnpipeEnd",e),t.on("end",e),u&&t.on("error",n),t.pipe(c,{end:!1}),t.resume()}for(let t=0;t<e.length;t++)i(e[t]);s()}function h(){n=!1,c.emit("queueDrain"),a&&c.end()}c.setMaxListeners(0),c.add=l,c.on("unpipe",(function(t){t.emit("merge2UnpipeEnd")})),e.length&&l.apply(null,e);return c}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isEmpty=e.isString=void 0,e.isString=function(t){return"string"==typeof t},e.isEmpty=function(t){return""===t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(16),s=n(11);class i extends s.default{constructor(){super(...arguments),this._reader=new r.default(this._settings)}read(t){const e=this._getRootDirectory(t),n=this._getReaderOptions(t),r=[];return new Promise((s,i)=>{const o=this.api(e,t,n);o.once("error",i),o.on("data",t=>r.push(n.transform(t))),o.once("end",()=>s(r))})}api(t,e,n){return e.dynamic?this._reader.dynamic(t,n):this._reader.static(e.patterns,n)}}e.default=i},function(t,e,n){"use strict";function r(t,e){t(e)}function s(t,e){t(null,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.read=function(t,e,n){e.fs.lstat(t,(i,o)=>null!==i?r(n,i):o.isSymbolicLink()&&e.followSymbolicLink?void e.fs.stat(t,(t,i)=>{if(null!==t)return e.throwErrorOnBrokenSymbolicLink?r(n,t):s(n,o);e.markSymbolicLink&&(i.isSymbolicLink=()=>!0),s(n,i)}):s(n,o))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.read=function(t,e){const n=e.fs.lstatSync(t);if(!n.isSymbolicLink()||!e.followSymbolicLink)return n;try{const n=e.fs.statSync(t);return e.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(t){if(!e.throwErrorOnBrokenSymbolicLink)return n;throw t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(51);e.default=class{constructor(t={}){this._options=t,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=r.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(t,e){return void 0===t?e:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(3);e.FILE_SYSTEM_ADAPTER={lstat:r.lstat,stat:r.stat,lstatSync:r.lstatSync,statSync:r.statSync},e.createFileSystemAdapter=function(t){return void 0===t?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(18);e.default=class{constructor(t,e){this._root=t,this._settings=e,this._reader=new r.default(this._root,this._settings),this._storage=new Set}read(t){this._reader.onError(e=>{!function(t,e){t(e)}(t,e)}),this._reader.onEntry(t=>{this._storage.add(t)}),this._reader.onEnd(()=>{!function(t,e){t(null,e)}(t,[...this._storage])}),this._reader.read()}}},function(t,e){t.exports=require("events")},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(2),s=n(55),i=n(19),o=n(20);function a(t,e,n){e.fs.readdir(t,{withFileTypes:!0},(r,i)=>{if(null!==r)return c(n,r);const a=i.map(n=>({dirent:n,name:n.name,path:`${t}${e.pathSegmentSeparator}${n.name}`}));if(!e.followSymbolicLinks)return l(n,a);const u=a.map(t=>function(t,e){return n=>{if(!t.dirent.isSymbolicLink())return n(null,t);e.fs.stat(t.path,(r,s)=>null!==r?e.throwErrorOnBrokenSymbolicLink?n(r):n(null,t):(t.dirent=o.fs.createDirentFromStats(t.name,s),n(null,t)))}}(t,e));s(u,(t,e)=>{if(null!==t)return c(n,t);l(n,e)})})}function u(t,e,n){e.fs.readdir(t,(i,a)=>{if(null!==i)return c(n,i);const u=a.map(n=>`${t}${e.pathSegmentSeparator}${n}`),p=u.map(t=>n=>r.stat(t,e.fsStatSettings,n));s(p,(t,r)=>{if(null!==t)return c(n,t);const s=[];a.forEach((t,n)=>{const i=r[n],a={name:t,path:u[n],dirent:o.fs.createDirentFromStats(t,i)};e.stats&&(a.stats=i),s.push(a)}),l(n,s)})})}function c(t,e){t(e)}function l(t,e){t(null,e)}e.read=function(t,e,n){return!e.stats&&i.IS_SUPPORT_READDIR_WITH_FILE_TYPES?a(t,e,n):u(t,e,n)},e.readdirWithFileTypes=a,e.readdir=u},function(t,e){t.exports=function(t,e){var n,r,s,i=!0;Array.isArray(t)?(n=[],r=t.length):(s=Object.keys(t),n={},r=s.length);function o(t){function r(){e&&e(t,n),e=null}i?process.nextTick(r):r()}function a(t,e,s){n[t]=s,(0==--r||e)&&o(e)}r?s?s.forEach((function(e){t[e]((function(t,n){a(e,t,n)}))})):t.forEach((function(t,e){t((function(t,n){a(e,t,n)}))})):o(null);i=!1}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class r{constructor(t,e){this.name=t,this.isBlockDevice=e.isBlockDevice.bind(e),this.isCharacterDevice=e.isCharacterDevice.bind(e),this.isDirectory=e.isDirectory.bind(e),this.isFIFO=e.isFIFO.bind(e),this.isFile=e.isFile.bind(e),this.isSocket=e.isSocket.bind(e),this.isSymbolicLink=e.isSymbolicLink.bind(e)}}e.createDirentFromStats=function(t,e){return new r(t,e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(2),s=n(19),i=n(20);function o(t,e){return e.fs.readdirSync(t,{withFileTypes:!0}).map(n=>{const r={dirent:n,name:n.name,path:`${t}${e.pathSegmentSeparator}${n.name}`};if(r.dirent.isSymbolicLink()&&e.followSymbolicLinks)try{const t=e.fs.statSync(r.path);r.dirent=i.fs.createDirentFromStats(r.name,t)}catch(t){if(e.throwErrorOnBrokenSymbolicLink)throw t}return r})}function a(t,e){return e.fs.readdirSync(t).map(n=>{const s=`${t}${e.pathSegmentSeparator}${n}`,o=r.statSync(s,e.fsStatSettings),a={name:n,path:s,dirent:i.fs.createDirentFromStats(n,o)};return e.stats&&(a.stats=o),a})}e.read=function(t,e){return!e.stats&&s.IS_SUPPORT_READDIR_WITH_FILE_TYPES?o(t,e):a(t,e)},e.readdirWithFileTypes=o,e.readdir=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(0),s=n(2),i=n(59);e.default=class{constructor(t={}){this._options=t,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=i.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,r.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new s.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(t,e){return void 0===t?e:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(3);e.FILE_SYSTEM_ADAPTER={lstat:r.lstat,stat:r.stat,lstatSync:r.lstatSync,statSync:r.statSync,readdir:r.readdir,readdirSync:r.readdirSync},e.createFileSystemAdapter=function(t){return void 0===t?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),t)}},function(t,e,n){"use strict";var r=n(61);function s(){}function i(){this.value=null,this.callback=s,this.next=null,this.release=s,this.context=null;var t=this;this.worked=function(e,n){var r=t.callback;t.value=null,t.callback=s,r.call(t.context,e,n),t.release(t)}}t.exports=function(t,e,n){"function"==typeof t&&(n=e,e=t,t=null);var o=r(i),a=null,u=null,c=0,l={push:function(n,r){var i=o.get();i.context=t,i.release=p,i.value=n,i.callback=r||s,c===l.concurrency||l.paused?u?(u.next=i,u=i):(a=i,u=i,l.saturated()):(c++,e.call(t,i.value,i.worked))},drain:s,saturated:s,pause:function(){l.paused=!0},paused:!1,concurrency:n,running:function(){return c},resume:function(){if(!l.paused)return;l.paused=!1;for(var t=0;t<l.concurrency;t++)c++,p()},idle:function(){return 0===c&&0===l.length()},length:function(){var t=a,e=0;for(;t;)t=t.next,e++;return e},getQueue:function(){var t=a,e=[];for(;t;)e.push(t.value),t=t.next;return e},unshift:function(n,r){var i=o.get();i.context=t,i.release=p,i.value=n,i.callback=r||s,c===l.concurrency||l.paused?a?(i.next=a,a=i):(a=i,u=i,l.saturated()):(c++,e.call(t,i.value,i.worked))},empty:s,kill:function(){a=null,u=null,l.drain=s},killAndDrain:function(){a=null,u=null,l.drain(),l.drain=s}};return l;function p(n){n&&o.release(n);var r=a;r?l.paused?c--:(u===a&&(u=null),a=r.next,r.next=null,e.call(t,r.value,r.worked),null===u&&l.empty()):0==--c&&l.drain()}}},function(t,e,n){"use strict";t.exports=function(t){var e=new t,n=e;return{get:function(){var r=e;return r.next?e=r.next:(e=new t,n=e),r.next=null,r},release:function(t){n.next=t,n=t}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(6),s=n(18);e.default=class{constructor(t,e){this._root=t,this._settings=e,this._reader=new s.default(this._root,this._settings),this._stream=new r.Readable({objectMode:!0,read:()=>{},destroy:this._reader.destroy.bind(this._reader)})}read(){return this._reader.onError(t=>{this._stream.emit("error",t)}),this._reader.onEntry(t=>{this._stream.push(t)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(64);e.default=class{constructor(t,e){this._root=t,this._settings=e,this._reader=new r.default(this._root,this._settings)}read(){return this._reader.read()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(9),s=n(10),i=n(21);class o extends i.default{constructor(){super(...arguments),this._scandir=r.scandirSync,this._storage=new Set,this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),[...this._storage]}_pushToQueue(t,e){this._queue.add({directory:t,base:e})}_handleQueue(){for(const t of this._queue.values())this._handleDirectory(t.directory,t.base)}_handleDirectory(t,e){try{const n=this._scandir(t,this._settings.fsScandirSettings);for(const t of n)this._handleEntry(t,e)}catch(t){this._handleError(t)}}_handleError(t){if(s.isFatalError(this._settings,t))throw t}_handleEntry(t,e){const n=t.path;void 0!==e&&(t.path=s.joinPathSegments(e,t.name,this._settings.pathSegmentSeparator)),s.isAppliedFilter(this._settings.entryFilter,t)&&this._pushToStorage(t),t.dirent.isDirectory()&&s.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,t.path)}_pushToStorage(t){this._storage.add(t)}}e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(0),s=n(9);e.default=class{constructor(t={}){this._options=t,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,1/0),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,r.sep),this.fsScandirSettings=new s.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(t,e){return void 0===t?e:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(1),s=n(67);e.default=class{constructor(t,e){this._settings=t,this._micromatchOptions=e}getFilter(t,e,n){const r=this._getMatcher(e),s=this._getNegativePatternsRe(n);return e=>this._filter(t,e,r,s)}_getMatcher(t){return new s.default(t,this._settings,this._micromatchOptions)}_getNegativePatternsRe(t){const e=t.filter(r.pattern.isAffectDepthOfReadingPattern);return r.pattern.convertPatternsToRe(e,this._micromatchOptions)}_filter(t,e,n,s){if(this._isSkippedByDeep(t,e.path))return!1;if(this._isSkippedSymbolicLink(e))return!1;const i=r.path.removeLeadingDotSegment(e.path);return!this._isSkippedByPositivePatterns(i,n)&&this._isSkippedByNegativePatterns(i,s)}_isSkippedByDeep(t,e){return this._settings.deep!==1/0&&this._getEntryLevel(t,e)>=this._settings.deep}_getEntryLevel(t,e){const n=e.split("/").length;if(""===t)return n;return n-t.split("/").length}_isSkippedSymbolicLink(t){return!this._settings.followSymbolicLinks&&t.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(t,e){return!this._settings.baseNameMatch&&!e.match(t)}_isSkippedByNegativePatterns(t,e){return!r.pattern.matchAny(t,e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(68);class s extends r.default{match(t){const e=t.split("/"),n=e.length,r=this._storage.filter(t=>!t.complete||t.segments.length>n);for(const t of r){const r=t.sections[0];if(!t.complete&&n>r.length)return!0;if(e.every((e,n)=>{const r=t.segments[n];return!(!r.dynamic||!r.patternRe.test(e))||!r.dynamic&&r.pattern===e}))return!0}return!1}}e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(1);e.default=class{constructor(t,e,n){this._patterns=t,this._settings=e,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){const t=r.pattern.expandPatternsWithBraceExpansion(this._patterns);for(const e of t){const t=this._getPatternSegments(e),n=this._splitSegmentsIntoSections(t);this._storage.push({complete:n.length<=1,pattern:e,segments:t,sections:n})}}_getPatternSegments(t){return r.pattern.getPatternParts(t,this._micromatchOptions).map(t=>r.pattern.isDynamicPattern(t,this._settings)?{dynamic:!0,pattern:t,patternRe:r.pattern.makeRe(t,this._micromatchOptions)}:{dynamic:!1,pattern:t})}_splitSegmentsIntoSections(t){return r.array.splitWhen(t,t=>t.dynamic&&r.pattern.hasGlobStar(t.pattern))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(1);e.default=class{constructor(t,e){this._settings=t,this._micromatchOptions=e,this.index=new Map}getFilter(t,e){const n=r.pattern.convertPatternsToRe(t,this._micromatchOptions),s=r.pattern.convertPatternsToRe(e,this._micromatchOptions);return t=>this._filter(t,n,s)}_filter(t,e,n){if(this._settings.unique&&this._isDuplicateEntry(t))return!1;if(this._onlyFileFilter(t)||this._onlyDirectoryFilter(t))return!1;if(this._isSkippedByAbsoluteNegativePatterns(t.path,n))return!1;const r=this._settings.baseNameMatch?t.name:t.path,s=this._isMatchToPatterns(r,e)&&!this._isMatchToPatterns(t.path,n);return this._settings.unique&&s&&this._createIndexRecord(t),s}_isDuplicateEntry(t){return this.index.has(t.path)}_createIndexRecord(t){this.index.set(t.path,void 0)}_onlyFileFilter(t){return this._settings.onlyFiles&&!t.dirent.isFile()}_onlyDirectoryFilter(t){return this._settings.onlyDirectories&&!t.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(t,e){if(!this._settings.absolute)return!1;const n=r.path.makeAbsolute(this._settings.cwd,t);return r.pattern.matchAny(n,e)}_isMatchToPatterns(t,e){const n=r.path.removeLeadingDotSegment(t);return r.pattern.matchAny(n,e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(1);e.default=class{constructor(t){this._settings=t}getFilter(){return t=>this._isNonFatalError(t)}_isNonFatalError(t){return r.errno.isEnoentCodeError(t)||this._settings.suppressErrors}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(1);e.default=class{constructor(t){this._settings=t}getTransformer(){return t=>this._transform(t)}_transform(t){let e=t.path;return this._settings.absolute&&(e=r.path.makeAbsolute(this._settings.cwd,e),e=r.path.unixify(e)),this._settings.markDirectories&&t.dirent.isDirectory()&&(e+="/"),this._settings.objectMode?Object.assign(Object.assign({},t),{path:e}):e}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(6),s=n(16),i=n(11);class o extends i.default{constructor(){super(...arguments),this._reader=new s.default(this._settings)}read(t){const e=this._getRootDirectory(t),n=this._getReaderOptions(t),s=this.api(e,t,n),i=new r.Readable({objectMode:!0,read:()=>{}});return s.once("error",t=>i.emit("error",t)).on("data",t=>i.emit("data",n.transform(t))).once("end",()=>i.emit("end")),i.once("close",()=>s.destroy()),i}api(t,e,n){return e.dynamic?this._reader.dynamic(t,n):this._reader.static(e.patterns,n)}}e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(74),s=n(11);class i extends s.default{constructor(){super(...arguments),this._reader=new r.default(this._settings)}read(t){const e=this._getRootDirectory(t),n=this._getReaderOptions(t);return this.api(e,t,n).map(n.transform)}api(t,e,n){return e.dynamic?this._reader.dynamic(t,n):this._reader.static(e.patterns,n)}}e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(2),s=n(17),i=n(22);class o extends i.default{constructor(){super(...arguments),this._walkSync=s.walkSync,this._statSync=r.statSync}dynamic(t,e){return this._walkSync(t,e)}static(t,e){const n=[];for(const r of t){const t=this._getFullEntryPath(r),s=this._getEntry(t,r,e);null!==s&&e.entryFilter(s)&&n.push(s)}return n}_getEntry(t,e,n){try{const n=this._getStat(t);return this._makeEntry(n,e)}catch(t){if(n.errorFilter(t))return null;throw t}}_getStat(t){return this._statSync(t,this._fsStatSettings)}}e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const r=n(3),s=n(12).cpus().length;e.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:r.lstat,lstatSync:r.lstatSync,stat:r.stat,statSync:r.statSync,readdir:r.readdir,readdirSync:r.readdirSync};e.default=class{constructor(t={}){this._options=t,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,s),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0)}_getValue(t,e){return void 0===t?e:t}_getFileSystemMethods(t={}){return Object.assign(Object.assign({},e.DEFAULT_FILE_SYSTEM_ADAPTER),t)}}},,,function(t,e,n){t.exports=n(79)},function(t,e,n){"use strict";n.r(e);var r=n(3),s=n(0),i=n(23);class o{static saveJson(t,e){r.writeFileSync(t,this.toJson(e))}static loadJson(t){return JSON.parse(r.readFileSync(t,"utf8"))}static toJson(t){return null!=t?JSON.stringify(t,null,4):"{}"}}function a(t,e){let n=o.loadJson(t),r=!1;e&&!n.module?(n.module="./es5-esm.js",r=!0):!e&&n.module&&(delete n.module,r=!0),r&&o.saveJson(t,n);let s=e?"enabled":"disabled";s=r?"updated, "+s:"untouched, already "+s,console.log(`Processing "${t}" - ${s}`)}!function(){console.log("Wijmo ESM modules disabling/enabling utility");let t=process.argv[2],e=null;if(t)switch(t){case"-enable":case"-e":e=!0;break;case"-disable":case"-d":e=!1;break;case"-help":case"-h":return void console.log("\nDisables or enables ESM versions of @mescius/wijmo.angular2legacy.* modules.\nPossible options:\nno options - automatically detects Angular version installed in the project. \n For Angular 8 or lower, disables ESM modules. \n For Angular 9 and higher, enables ESM modules.\n-enable, -e - enables ESM modules.\n-disable, -d - disables ESM modules.\n-help, -h - shows this help info.\n");default:return console.warn(`Unknown option '${t}'`),1}if(null==e){let t=function(){const t=s.resolve("node_modules/@angular/core/package.json");let e=null;if(r.existsSync(t)){let n=o.loadJson(t).version;if(n){let t=n.match(/^\s*(\d+)\./);t?e=+t[1]:console.warn(`Unrecognizable Angular version '${n}'.`)}else console.warn(`File "${t}" doesn't contain a "version" field.`)}else console.warn(`Can't find Angular, the "${t}" file is missed.`);return e}();if(null==t)return void console.warn("Can't determine Angular version of the project. No action is performed.");e=t>8,console.log(`Detected Angular version ${t}.`)}null!=e&&(console.log((e?"Enabling":"Disabling")+" ESM modules in @mescius/wijmo.angular2legacy.* packages."),function(t){let e=i.sync(["node_modules/@mescius/wijmo.angular2legacy.*/package.json","!**/wijmo.angular2legacy.all/*"]);if(!e.length)return void console.warn("No @mescius/wijmo.angular2legacy.* modules found.");for(let n of e)a(n,t)}(e))}()}]);
|
|
34
|
+
*/t.exports=function(t){return"number"==typeof t?t-t==0:"string"==typeof t&&""!==t.trim()&&(Number.isFinite?Number.isFinite(+t):isFinite(+t))}},function(t,e,n){"use strict";const r=n(14),s=n(7),i=n(8),o=(t="",e="",n=!1)=>{let r=[];if(t=[].concat(t),!(e=[].concat(e)).length)return t;if(!t.length)return n?i.flatten(e).map(t=>`{${t}}`):e;for(let s of t)if(Array.isArray(s))for(let t of s)r.push(o(t,e,n));else for(let t of e)!0===n&&"string"==typeof t&&(t=`{${t}}`),r.push(Array.isArray(t)?o(s,t,n):s+t);return i.flatten(r)};t.exports=(t,e={})=>{let n=void 0===e.rangeLimit?1e3:e.rangeLimit,a=(t,u={})=>{t.queue=[];let c=u,l=u.queue;for(;"brace"!==c.type&&"root"!==c.type&&c.parent;)c=c.parent,l=c.queue;if(t.invalid||t.dollar)return void l.push(o(l.pop(),s(t,e)));if("brace"===t.type&&!0!==t.invalid&&2===t.nodes.length)return void l.push(o(l.pop(),["{}"]));if(t.nodes&&t.ranges>0){let a=i.reduce(t.nodes);if(i.exceedsLimit(...a,e.step,n))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let u=r(...a,e);return 0===u.length&&(u=s(t,e)),l.push(o(l.pop(),u)),void(t.nodes=[])}let p=i.encloseBrace(t),h=t.queue,f=t;for(;"brace"!==f.type&&"root"!==f.type&&f.parent;)f=f.parent,h=f.queue;for(let e=0;e<t.nodes.length;e++){let n=t.nodes[e];"comma"!==n.type||"brace"!==t.type?"close"!==n.type?n.value&&"open"!==n.type?h.push(o(h.pop(),n.value)):n.nodes&&a(n,t):l.push(o(l.pop(),h,p)):(1===e&&h.push(""),h.push(""))}return h};return i.flatten(a(t))}},function(t,e,n){"use strict";const r=n(7),{MAX_LENGTH:s,CHAR_BACKSLASH:i,CHAR_BACKTICK:o,CHAR_COMMA:a,CHAR_DOT:u,CHAR_LEFT_PARENTHESES:c,CHAR_RIGHT_PARENTHESES:l,CHAR_LEFT_CURLY_BRACE:p,CHAR_RIGHT_CURLY_BRACE:h,CHAR_LEFT_SQUARE_BRACKET:f,CHAR_RIGHT_SQUARE_BRACKET:d,CHAR_DOUBLE_QUOTE:_,CHAR_SINGLE_QUOTE:g,CHAR_NO_BREAK_SPACE:y,CHAR_ZERO_WIDTH_NOBREAK_SPACE:m}=n(40);t.exports=(t,e={})=>{if("string"!=typeof t)throw new TypeError("Expected a string");let n=e||{},S="number"==typeof n.maxLength?Math.min(s,n.maxLength):s;if(t.length>S)throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${S})`);let b,E={type:"root",input:t,nodes:[]},A=[E],v=E,R=E,x=0,C=t.length,k=0,O=0;const T=()=>t[k++],P=t=>{if("text"===t.type&&"dot"===R.type&&(R.type="text"),!R||"text"!==R.type||"text"!==t.type)return v.nodes.push(t),t.parent=v,t.prev=R,R=t,t;R.value+=t.value};for(P({type:"bos"});k<C;)if(v=A[A.length-1],b=T(),b!==m&&b!==y)if(b!==i)if(b!==d)if(b!==f)if(b!==c)if(b!==l)if(b!==_&&b!==g&&b!==o)if(b!==p)if(b!==h)if(b===a&&O>0){if(v.ranges>0){v.ranges=0;let t=v.nodes.shift();v.nodes=[t,{type:"text",value:r(v)}]}P({type:"comma",value:b}),v.commas++}else if(b===u&&O>0&&0===v.commas){let t=v.nodes;if(0===O||0===t.length){P({type:"text",value:b});continue}if("dot"===R.type){if(v.range=[],R.value+=b,R.type="range",3!==v.nodes.length&&5!==v.nodes.length){v.invalid=!0,v.ranges=0,R.type="text";continue}v.ranges++,v.args=[];continue}if("range"===R.type){t.pop();let e=t[t.length-1];e.value+=R.value+b,R=e,v.ranges--;continue}P({type:"dot",value:b})}else P({type:"text",value:b});else{if("brace"!==v.type){P({type:"text",value:b});continue}let t="close";v=A.pop(),v.close=!0,P({type:t,value:b}),O--,v=A[A.length-1]}else{O++;let t=R.value&&"$"===R.value.slice(-1)||!0===v.dollar;v=P({type:"brace",open:!0,close:!1,dollar:t,depth:O,commas:0,ranges:0,nodes:[]}),A.push(v),P({type:"open",value:b})}else{let t,n=b;for(!0!==e.keepQuotes&&(b="");k<C&&(t=T());)if(t!==i){if(t===n){!0===e.keepQuotes&&(b+=t);break}b+=t}else b+=t+T();P({type:"text",value:b})}else{if("paren"!==v.type){P({type:"text",value:b});continue}v=A.pop(),P({type:"text",value:b}),v=A[A.length-1]}else v=P({type:"paren",nodes:[]}),A.push(v),P({type:"text",value:b});else{x++;let t;for(;k<C&&(t=T());)if(b+=t,t!==f)if(t!==i){if(t===d&&(x--,0===x))break}else b+=T();else x++;P({type:"text",value:b})}else P({type:"text",value:"\\"+b});else P({type:"text",value:(e.keepEscaping?b:"")+T()});do{if(v=A.pop(),"root"!==v.type){v.nodes.forEach(t=>{t.nodes||("open"===t.type&&(t.isOpen=!0),"close"===t.type&&(t.isClose=!0),t.nodes||(t.type="text"),t.invalid=!0)});let t=A[A.length-1],e=t.nodes.indexOf(v);t.nodes.splice(e,1,...v.nodes)}}while(A.length>0);return P({type:"eos"}),E}},function(t,e,n){"use strict";t.exports={MAX_LENGTH:65536,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:"\n",CHAR_NO_BREAK_SPACE:" ",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:"\t",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\ufeff"}},function(t,e,n){"use strict";const r=n(0),s=n(42),i=n(43),o=n(4),a=n(5),u=(t,e,n=!1)=>{if(Array.isArray(t)){const r=t.map(t=>u(t,e,n));return t=>{for(const e of r){const n=e(t);if(n)return n}return!1}}const r=(s=t)&&"object"==typeof s&&!Array.isArray(s)&&t.tokens&&t.input;var s;if(""===t||"string"!=typeof t&&!r)throw new TypeError("Expected pattern to be a non-empty string");const i=e||{},a=o.isWindows(e),c=r?u.compileRe(t,e):u.makeRe(t,e,!1,!0),l=c.state;delete c.state;let p=()=>!1;if(i.ignore){const t={...e,ignore:null,onMatch:null,onResult:null};p=u(i.ignore,t,n)}const h=(n,r=!1)=>{const{isMatch:s,match:o,output:h}=u.test(n,c,e,{glob:t,posix:a}),f={glob:t,state:l,regex:c,posix:a,input:n,output:h,match:o,isMatch:s};return"function"==typeof i.onResult&&i.onResult(f),!1===s?(f.isMatch=!1,!!r&&f):p(n)?("function"==typeof i.onIgnore&&i.onIgnore(f),f.isMatch=!1,!!r&&f):("function"==typeof i.onMatch&&i.onMatch(f),!r||f)};return n&&(h.state=l),h};u.test=(t,e,n,{glob:r,posix:s}={})=>{if("string"!=typeof t)throw new TypeError("Expected input to be a string");if(""===t)return{isMatch:!1,output:""};const i=n||{},a=i.format||(s?o.toPosixSlashes:null);let c=t===r,l=c&&a?a(t):t;return!1===c&&(l=a?a(t):t,c=l===r),!1!==c&&!0!==i.capture||(c=!0===i.matchBase||!0===i.basename?u.matchBase(t,e,n,s):e.exec(l)),{isMatch:Boolean(c),match:c,output:l}},u.matchBase=(t,e,n,s=o.isWindows(n))=>(e instanceof RegExp?e:u.makeRe(e,n)).test(r.basename(t)),u.isMatch=(t,e,n)=>u(e,n)(t),u.parse=(t,e)=>Array.isArray(t)?t.map(t=>u.parse(t,e)):i(t,{...e,fastpaths:!1}),u.scan=(t,e)=>s(t,e),u.compileRe=(t,e,n=!1,r=!1)=>{if(!0===n)return t.output;const s=e||{},i=s.contains?"":"^",o=s.contains?"":"$";let a=`${i}(?:${t.output})${o}`;t&&!0===t.negated&&(a=`^(?!${a}).*$`);const c=u.toRegex(a,e);return!0===r&&(c.state=t),c},u.makeRe=(t,e,n=!1,r=!1)=>{if(!t||"string"!=typeof t)throw new TypeError("Expected a non-empty string");const s=e||{};let o,a={negated:!1,fastpaths:!0},c="";return t.startsWith("./")&&(t=t.slice(2),c=a.prefix="./"),!1===s.fastpaths||"."!==t[0]&&"*"!==t[0]||(o=i.fastpaths(t,e)),void 0===o?(a=i(t,e),a.prefix=c+(a.prefix||"")):a.output=o,u.compileRe(a,e,n,r)},u.toRegex=(t,e)=>{try{const n=e||{};return new RegExp(t,n.flags||(n.nocase?"i":""))}catch(t){if(e&&!0===e.debug)throw t;return/$^/}},u.constants=a,t.exports=u},function(t,e,n){"use strict";const r=n(4),{CHAR_ASTERISK:s,CHAR_AT:i,CHAR_BACKWARD_SLASH:o,CHAR_COMMA:a,CHAR_DOT:u,CHAR_EXCLAMATION_MARK:c,CHAR_FORWARD_SLASH:l,CHAR_LEFT_CURLY_BRACE:p,CHAR_LEFT_PARENTHESES:h,CHAR_LEFT_SQUARE_BRACKET:f,CHAR_PLUS:d,CHAR_QUESTION_MARK:_,CHAR_RIGHT_CURLY_BRACE:g,CHAR_RIGHT_PARENTHESES:y,CHAR_RIGHT_SQUARE_BRACKET:m}=n(5),S=t=>t===l||t===o,b=t=>{!0!==t.isPrefix&&(t.depth=t.isGlobstar?1/0:1)};t.exports=(t,e)=>{const n=e||{},E=t.length-1,A=!0===n.parts||!0===n.scanToEnd,v=[],R=[],x=[];let C,k,O=t,T=-1,P=0,w=0,L=!1,H=!1,M=!1,$=!1,F=!1,D=!1,N=!1,I=!1,B=!1,j=0,G={value:"",depth:0,isGlob:!1};const U=()=>T>=E,K=()=>(C=k,O.charCodeAt(++T));for(;T<E;){let t;if(k=K(),k!==o){if(!0===D||k===p){for(j++;!0!==U()&&(k=K());)if(k!==o)if(k!==p){if(!0!==D&&k===u&&(k=K())===u){if(L=G.isBrace=!0,M=G.isGlob=!0,B=!0,!0===A)continue;break}if(!0!==D&&k===a){if(L=G.isBrace=!0,M=G.isGlob=!0,B=!0,!0===A)continue;break}if(k===g&&(j--,0===j)){D=!1,L=G.isBrace=!0,B=!0;break}}else j++;else N=G.backslashes=!0,K();if(!0===A)continue;break}if(k!==l){if(!0!==n.noext){if(!0===(k===d||k===i||k===s||k===_||k===c)&&O.charCodeAt(T+1)===h){if(M=G.isGlob=!0,$=G.isExtglob=!0,B=!0,!0===A){for(;!0!==U()&&(k=K());)if(k!==o){if(k===y){M=G.isGlob=!0,B=!0;break}}else N=G.backslashes=!0,k=K();continue}break}}if(k===s){if(C===s&&(F=G.isGlobstar=!0),M=G.isGlob=!0,B=!0,!0===A)continue;break}if(k===_){if(M=G.isGlob=!0,B=!0,!0===A)continue;break}if(k===f)for(;!0!==U()&&(t=K());)if(t!==o){if(t===m){if(H=G.isBracket=!0,M=G.isGlob=!0,B=!0,!0===A)continue;break}}else N=G.backslashes=!0,K();if(!0===n.nonegate||k!==c||T!==P){if(!0!==n.noparen&&k===h){if(M=G.isGlob=!0,!0===A){for(;!0!==U()&&(k=K());)if(k!==h){if(k===y){B=!0;break}}else N=G.backslashes=!0,k=K();continue}break}if(!0===M){if(B=!0,!0===A)continue;break}}else I=G.negated=!0,P++}else{if(v.push(T),R.push(G),G={value:"",depth:0,isGlob:!1},!0===B)continue;if(C===u&&T===P+1){P+=2;continue}w=T+1}}else N=G.backslashes=!0,k=K(),k===p&&(D=!0)}!0===n.noext&&($=!1,M=!1);let V=O,W="",Q="";P>0&&(W=O.slice(0,P),O=O.slice(P),w-=P),V&&!0===M&&w>0?(V=O.slice(0,w),Q=O.slice(w)):!0===M?(V="",Q=O):V=O,V&&""!==V&&"/"!==V&&V!==O&&S(V.charCodeAt(V.length-1))&&(V=V.slice(0,-1)),!0===n.unescape&&(Q&&(Q=r.removeBackslashes(Q)),V&&!0===N&&(V=r.removeBackslashes(V)));const q={prefix:W,input:t,start:P,base:V,glob:Q,isBrace:L,isBracket:H,isGlob:M,isExtglob:$,isGlobstar:F,negated:I};if(!0===n.tokens&&(q.maxDepth=0,S(k)||R.push(G),q.tokens=R),!0===n.parts||!0===n.tokens){let e;for(let r=0;r<v.length;r++){const s=e?e+1:P,i=v[r],o=t.slice(s,i);n.tokens&&(0===r&&0!==P?(R[r].isPrefix=!0,R[r].value=W):R[r].value=o,b(R[r]),q.maxDepth+=R[r].depth),0===r&&""===o||x.push(o),e=i}if(e&&e+1<t.length){const r=t.slice(e+1);x.push(r),n.tokens&&(R[R.length-1].value=r,b(R[R.length-1]),q.maxDepth+=R[R.length-1].depth)}q.slashes=v,q.parts=x}return q}},function(t,e,n){"use strict";const r=n(5),s=n(4),{MAX_LENGTH:i,POSIX_REGEX_SOURCE:o,REGEX_NON_SPECIAL_CHARS:a,REGEX_SPECIAL_CHARS_BACKREF:u,REPLACEMENTS:c}=r,l=(t,e)=>{if("function"==typeof e.expandRange)return e.expandRange(...t,e);t.sort();const n=`[${t.join("-")}]`;try{new RegExp(n)}catch(e){return t.map(t=>s.escapeRegex(t)).join("..")}return n},p=(t,e)=>`Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`,h=(t,e)=>{if("string"!=typeof t)throw new TypeError("Expected a string");t=c[t]||t;const n={...e},h="number"==typeof n.maxLength?Math.min(i,n.maxLength):i;let f=t.length;if(f>h)throw new SyntaxError(`Input length: ${f}, exceeds maximum allowed length: ${h}`);const d={type:"bos",value:"",output:n.prepend||""},_=[d],g=n.capture?"":"?:",y=s.isWindows(e),m=r.globChars(y),S=r.extglobChars(m),{DOT_LITERAL:b,PLUS_LITERAL:E,SLASH_LITERAL:A,ONE_CHAR:v,DOTS_SLASH:R,NO_DOT:x,NO_DOT_SLASH:C,NO_DOTS_SLASH:k,QMARK:O,QMARK_NO_DOT:T,STAR:P,START_ANCHOR:w}=m,L=t=>`(${g}(?:(?!${w}${t.dot?R:b}).)*?)`,H=n.dot?"":x,M=n.dot?O:T;let $=!0===n.bash?L(n):P;n.capture&&($=`(${$})`),"boolean"==typeof n.noext&&(n.noextglob=n.noext);const F={input:t,index:-1,start:0,dot:!0===n.dot,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:_};t=s.removePrefix(t,F),f=t.length;const D=[],N=[],I=[];let B,j=d;const G=()=>F.index===f-1,U=F.peek=(e=1)=>t[F.index+e],K=F.advance=()=>t[++F.index],V=()=>t.slice(F.index+1),W=(t="",e=0)=>{F.consumed+=t,F.index+=e},Q=t=>{F.output+=null!=t.output?t.output:t.value,W(t.value)},q=()=>{let t=1;for(;"!"===U()&&("("!==U(2)||"?"===U(3));)K(),F.start++,t++;return t%2!=0&&(F.negated=!0,F.start++,!0)},X=t=>{F[t]++,I.push(t)},Y=t=>{F[t]--,I.pop()},Z=t=>{if("globstar"===j.type){const e=F.braces>0&&("comma"===t.type||"brace"===t.type),n=!0===t.extglob||D.length&&("pipe"===t.type||"paren"===t.type);"slash"===t.type||"paren"===t.type||e||n||(F.output=F.output.slice(0,-j.output.length),j.type="star",j.value="*",j.output=$,F.output+=j.output)}if(D.length&&"paren"!==t.type&&!S[t.value]&&(D[D.length-1].inner+=t.value),(t.value||t.output)&&Q(t),j&&"text"===j.type&&"text"===t.type)return j.value+=t.value,void(j.output=(j.output||"")+t.value);t.prev=j,_.push(t),j=t},J=(t,e)=>{const r={...S[e],conditions:1,inner:""};r.prev=j,r.parens=F.parens,r.output=F.output;const s=(n.capture?"(":"")+r.open;X("parens"),Z({type:t,value:e,output:F.output?"":v}),Z({type:"paren",extglob:!0,value:K(),output:s}),D.push(r)},z=t=>{let e=t.close+(n.capture?")":"");if("negate"===t.type){let r=$;t.inner&&t.inner.length>1&&t.inner.includes("/")&&(r=L(n)),(r!==$||G()||/^\)+$/.test(V()))&&(e=t.close=")$))"+r),"bos"===t.prev.type&&G()&&(F.negatedExtglob=!0)}Z({type:"paren",extglob:!0,value:B,output:e}),Y("parens")};if(!1!==n.fastpaths&&!/(^[*!]|[/()[\]{}"])/.test(t)){let r=!1,i=t.replace(u,(t,e,n,s,i,o)=>"\\"===s?(r=!0,t):"?"===s?e?e+s+(i?O.repeat(i.length):""):0===o?M+(i?O.repeat(i.length):""):O.repeat(n.length):"."===s?b.repeat(n.length):"*"===s?e?e+s+(i?$:""):$:e?t:"\\"+t);return!0===r&&(i=!0===n.unescape?i.replace(/\\/g,""):i.replace(/\\+/g,t=>t.length%2==0?"\\\\":t?"\\":"")),i===t&&!0===n.contains?(F.output=t,F):(F.output=s.wrapOutput(i,F,e),F)}for(;!G();){if(B=K(),"\0"===B)continue;if("\\"===B){const t=U();if("/"===t&&!0!==n.bash)continue;if("."===t||";"===t)continue;if(!t){B+="\\",Z({type:"text",value:B});continue}const e=/^\\+/.exec(V());let r=0;if(e&&e[0].length>2&&(r=e[0].length,F.index+=r,r%2!=0&&(B+="\\")),!0===n.unescape?B=K()||"":B+=K()||"",0===F.brackets){Z({type:"text",value:B});continue}}if(F.brackets>0&&("]"!==B||"["===j.value||"[^"===j.value)){if(!1!==n.posix&&":"===B){const t=j.value.slice(1);if(t.includes("[")&&(j.posix=!0,t.includes(":"))){const t=j.value.lastIndexOf("["),e=j.value.slice(0,t),n=j.value.slice(t+2),r=o[n];if(r){j.value=e+r,F.backtrack=!0,K(),d.output||1!==_.indexOf(j)||(d.output=v);continue}}}("["===B&&":"!==U()||"-"===B&&"]"===U())&&(B="\\"+B),"]"!==B||"["!==j.value&&"[^"!==j.value||(B="\\"+B),!0===n.posix&&"!"===B&&"["===j.value&&(B="^"),j.value+=B,Q({value:B});continue}if(1===F.quotes&&'"'!==B){B=s.escapeRegex(B),j.value+=B,Q({value:B});continue}if('"'===B){F.quotes=1===F.quotes?0:1,!0===n.keepQuotes&&Z({type:"text",value:B});continue}if("("===B){X("parens"),Z({type:"paren",value:B});continue}if(")"===B){if(0===F.parens&&!0===n.strictBrackets)throw new SyntaxError(p("opening","("));const t=D[D.length-1];if(t&&F.parens===t.parens+1){z(D.pop());continue}Z({type:"paren",value:B,output:F.parens?")":"\\)"}),Y("parens");continue}if("["===B){if(!0!==n.nobracket&&V().includes("]"))X("brackets");else{if(!0!==n.nobracket&&!0===n.strictBrackets)throw new SyntaxError(p("closing","]"));B="\\"+B}Z({type:"bracket",value:B});continue}if("]"===B){if(!0===n.nobracket||j&&"bracket"===j.type&&1===j.value.length){Z({type:"text",value:B,output:"\\"+B});continue}if(0===F.brackets){if(!0===n.strictBrackets)throw new SyntaxError(p("opening","["));Z({type:"text",value:B,output:"\\"+B});continue}Y("brackets");const t=j.value.slice(1);if(!0===j.posix||"^"!==t[0]||t.includes("/")||(B="/"+B),j.value+=B,Q({value:B}),!1===n.literalBrackets||s.hasRegexChars(t))continue;const e=s.escapeRegex(j.value);if(F.output=F.output.slice(0,-j.value.length),!0===n.literalBrackets){F.output+=e,j.value=e;continue}j.value=`(${g}${e}|${j.value})`,F.output+=j.value;continue}if("{"===B&&!0!==n.nobrace){X("braces");const t={type:"brace",value:B,output:"(",outputIndex:F.output.length,tokensIndex:F.tokens.length};N.push(t),Z(t);continue}if("}"===B){const t=N[N.length-1];if(!0===n.nobrace||!t){Z({type:"text",value:B,output:B});continue}let e=")";if(!0===t.dots){const t=_.slice(),r=[];for(let e=t.length-1;e>=0&&(_.pop(),"brace"!==t[e].type);e--)"dots"!==t[e].type&&r.unshift(t[e].value);e=l(r,n),F.backtrack=!0}if(!0!==t.comma&&!0!==t.dots){const n=F.output.slice(0,t.outputIndex),r=F.tokens.slice(t.tokensIndex);t.value=t.output="\\{",B=e="\\}",F.output=n;for(const t of r)F.output+=t.output||t.value}Z({type:"brace",value:B,output:e}),Y("braces"),N.pop();continue}if("|"===B){D.length>0&&D[D.length-1].conditions++,Z({type:"text",value:B});continue}if(","===B){let t=B;const e=N[N.length-1];e&&"braces"===I[I.length-1]&&(e.comma=!0,t="|"),Z({type:"comma",value:B,output:t});continue}if("/"===B){if("dot"===j.type&&F.index===F.start+1){F.start=F.index+1,F.consumed="",F.output="",_.pop(),j=d;continue}Z({type:"slash",value:B,output:A});continue}if("."===B){if(F.braces>0&&"dot"===j.type){"."===j.value&&(j.output=b);const t=N[N.length-1];j.type="dots",j.output+=B,j.value+=B,t.dots=!0;continue}if(F.braces+F.parens===0&&"bos"!==j.type&&"slash"!==j.type){Z({type:"text",value:B,output:b});continue}Z({type:"dot",value:B,output:b});continue}if("?"===B){if(!(j&&"("===j.value)&&!0!==n.noextglob&&"("===U()&&"?"!==U(2)){J("qmark",B);continue}if(j&&"paren"===j.type){const t=U();let e=B;if("<"===t&&!s.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");("("===j.value&&!/[!=<:]/.test(t)||"<"===t&&!/<([!=]|\w+>)/.test(V()))&&(e="\\"+B),Z({type:"text",value:B,output:e});continue}if(!0!==n.dot&&("slash"===j.type||"bos"===j.type)){Z({type:"qmark",value:B,output:T});continue}Z({type:"qmark",value:B,output:O});continue}if("!"===B){if(!0!==n.noextglob&&"("===U()&&("?"!==U(2)||!/[!=<:]/.test(U(3)))){J("negate",B);continue}if(!0!==n.nonegate&&0===F.index){q();continue}}if("+"===B){if(!0!==n.noextglob&&"("===U()&&"?"!==U(2)){J("plus",B);continue}if(j&&"("===j.value||!1===n.regex){Z({type:"plus",value:B,output:E});continue}if(j&&("bracket"===j.type||"paren"===j.type||"brace"===j.type)||F.parens>0){Z({type:"plus",value:B});continue}Z({type:"plus",value:E});continue}if("@"===B){if(!0!==n.noextglob&&"("===U()&&"?"!==U(2)){Z({type:"at",extglob:!0,value:B,output:""});continue}Z({type:"text",value:B});continue}if("*"!==B){"$"!==B&&"^"!==B||(B="\\"+B);const t=a.exec(V());t&&(B+=t[0],F.index+=t[0].length),Z({type:"text",value:B});continue}if(j&&("globstar"===j.type||!0===j.star)){j.type="star",j.star=!0,j.value+=B,j.output=$,F.backtrack=!0,F.globstar=!0,W(B);continue}let e=V();if(!0!==n.noextglob&&/^\([^?]/.test(e)){J("star",B);continue}if("star"===j.type){if(!0===n.noglobstar){W(B);continue}const r=j.prev,s=r.prev,i="slash"===r.type||"bos"===r.type,o=s&&("star"===s.type||"globstar"===s.type);if(!0===n.bash&&(!i||e[0]&&"/"!==e[0])){Z({type:"star",value:B,output:""});continue}const a=F.braces>0&&("comma"===r.type||"brace"===r.type),u=D.length&&("pipe"===r.type||"paren"===r.type);if(!i&&"paren"!==r.type&&!a&&!u){Z({type:"star",value:B,output:""});continue}for(;"/**"===e.slice(0,3);){const n=t[F.index+4];if(n&&"/"!==n)break;e=e.slice(3),W("/**",3)}if("bos"===r.type&&G()){j.type="globstar",j.value+=B,j.output=L(n),F.output=j.output,F.globstar=!0,W(B);continue}if("slash"===r.type&&"bos"!==r.prev.type&&!o&&G()){F.output=F.output.slice(0,-(r.output+j.output).length),r.output="(?:"+r.output,j.type="globstar",j.output=L(n)+(n.strictSlashes?")":"|$)"),j.value+=B,F.globstar=!0,F.output+=r.output+j.output,W(B);continue}if("slash"===r.type&&"bos"!==r.prev.type&&"/"===e[0]){const t=void 0!==e[1]?"|$":"";F.output=F.output.slice(0,-(r.output+j.output).length),r.output="(?:"+r.output,j.type="globstar",j.output=`${L(n)}${A}|${A}${t})`,j.value+=B,F.output+=r.output+j.output,F.globstar=!0,W(B+K()),Z({type:"slash",value:"/",output:""});continue}if("bos"===r.type&&"/"===e[0]){j.type="globstar",j.value+=B,j.output=`(?:^|${A}|${L(n)}${A})`,F.output=j.output,F.globstar=!0,W(B+K()),Z({type:"slash",value:"/",output:""});continue}F.output=F.output.slice(0,-j.output.length),j.type="globstar",j.output=L(n),j.value+=B,F.output+=j.output,F.globstar=!0,W(B);continue}const r={type:"star",value:B,output:$};!0!==n.bash?!j||"bracket"!==j.type&&"paren"!==j.type||!0!==n.regex?(F.index!==F.start&&"slash"!==j.type&&"dot"!==j.type||("dot"===j.type?(F.output+=C,j.output+=C):!0===n.dot?(F.output+=k,j.output+=k):(F.output+=H,j.output+=H),"*"!==U()&&(F.output+=v,j.output+=v)),Z(r)):(r.output=B,Z(r)):(r.output=".*?","bos"!==j.type&&"slash"!==j.type||(r.output=H+r.output),Z(r))}for(;F.brackets>0;){if(!0===n.strictBrackets)throw new SyntaxError(p("closing","]"));F.output=s.escapeLast(F.output,"["),Y("brackets")}for(;F.parens>0;){if(!0===n.strictBrackets)throw new SyntaxError(p("closing",")"));F.output=s.escapeLast(F.output,"("),Y("parens")}for(;F.braces>0;){if(!0===n.strictBrackets)throw new SyntaxError(p("closing","}"));F.output=s.escapeLast(F.output,"{"),Y("braces")}if(!0===n.strictSlashes||"star"!==j.type&&"bracket"!==j.type||Z({type:"maybe_slash",value:"",output:A+"?"}),!0===F.backtrack){F.output="";for(const t of F.tokens)F.output+=null!=t.output?t.output:t.value,t.suffix&&(F.output+=t.suffix)}return F};h.fastpaths=(t,e)=>{const n={...e},o="number"==typeof n.maxLength?Math.min(i,n.maxLength):i,a=t.length;if(a>o)throw new SyntaxError(`Input length: ${a}, exceeds maximum allowed length: ${o}`);t=c[t]||t;const u=s.isWindows(e),{DOT_LITERAL:l,SLASH_LITERAL:p,ONE_CHAR:h,DOTS_SLASH:f,NO_DOT:d,NO_DOTS:_,NO_DOTS_SLASH:g,STAR:y,START_ANCHOR:m}=r.globChars(u),S=n.dot?_:d,b=n.dot?g:d,E=n.capture?"":"?:";let A=!0===n.bash?".*?":y;n.capture&&(A=`(${A})`);const v=t=>!0===t.noglobstar?A:`(${E}(?:(?!${m}${t.dot?f:l}).)*?)`,R=t=>{switch(t){case"*":return`${S}${h}${A}`;case".*":return`${l}${h}${A}`;case"*.*":return`${S}${A}${l}${h}${A}`;case"*/*":return`${S}${A}${p}${h}${b}${A}`;case"**":return S+v(n);case"**/*":return`(?:${S}${v(n)}${p})?${b}${h}${A}`;case"**/*.*":return`(?:${S}${v(n)}${p})?${b}${A}${l}${h}${A}`;case"**/.*":return`(?:${S}${v(n)}${p})?${l}${h}${A}`;default:{const e=/^(.*?)\.(\w+)$/.exec(t);if(!e)return;const n=R(e[1]);if(!n)return;return n+l+e[2]}}},x=s.removePrefix(t,{negated:!1,prefix:""});let C=R(x);return C&&!0!==n.strictSlashes&&(C+=p+"?"),C},t.exports=h},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.merge=void 0;const r=n(45);function s(t){t.forEach(t=>t.emit("close"))}e.merge=function(t){const e=r(t);return t.forEach(t=>{t.once("error",t=>e.emit("error",t))}),e.once("close",()=>s(t)),e.once("end",()=>s(t)),e}},function(t,e,n){"use strict";const r=n(6).PassThrough,s=Array.prototype.slice;function i(t,e){if(Array.isArray(t))for(let n=0,r=t.length;n<r;n++)t[n]=i(t[n],e);else{if(!t._readableState&&t.pipe&&(t=t.pipe(r(e))),!t._readableState||!t.pause||!t.pipe)throw new Error("Only readable stream can be merged.");t.pause()}return t}t.exports=function(){const t=[],e=s.call(arguments);let n=!1,o=e[e.length-1];o&&!Array.isArray(o)&&null==o.pipe?e.pop():o={};const a=!1!==o.end,u=!0===o.pipeError;null==o.objectMode&&(o.objectMode=!0);null==o.highWaterMark&&(o.highWaterMark=65536);const c=r(o);function l(){for(let e=0,n=arguments.length;e<n;e++)t.push(i(arguments[e],o));return p(),this}function p(){if(n)return;n=!0;let e=t.shift();if(!e)return void process.nextTick(h);Array.isArray(e)||(e=[e]);let r=e.length+1;function s(){--r>0||(n=!1,p())}function i(t){function e(){t.removeListener("merge2UnpipeEnd",e),t.removeListener("end",e),u&&t.removeListener("error",n),s()}function n(t){c.emit("error",t)}if(t._readableState.endEmitted)return s();t.on("merge2UnpipeEnd",e),t.on("end",e),u&&t.on("error",n),t.pipe(c,{end:!1}),t.resume()}for(let t=0;t<e.length;t++)i(e[t]);s()}function h(){n=!1,c.emit("queueDrain"),a&&c.end()}c.setMaxListeners(0),c.add=l,c.on("unpipe",(function(t){t.emit("merge2UnpipeEnd")})),e.length&&l.apply(null,e);return c}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isEmpty=e.isString=void 0,e.isString=function(t){return"string"==typeof t},e.isEmpty=function(t){return""===t}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(16),s=n(11);class i extends s.default{constructor(){super(...arguments),this._reader=new r.default(this._settings)}read(t){const e=this._getRootDirectory(t),n=this._getReaderOptions(t),r=[];return new Promise((s,i)=>{const o=this.api(e,t,n);o.once("error",i),o.on("data",t=>r.push(n.transform(t))),o.once("end",()=>s(r))})}api(t,e,n){return e.dynamic?this._reader.dynamic(t,n):this._reader.static(e.patterns,n)}}e.default=i},function(t,e,n){"use strict";function r(t,e){t(e)}function s(t,e){t(null,e)}Object.defineProperty(e,"__esModule",{value:!0}),e.read=function(t,e,n){e.fs.lstat(t,(i,o)=>null!==i?r(n,i):o.isSymbolicLink()&&e.followSymbolicLink?void e.fs.stat(t,(t,i)=>{if(null!==t)return e.throwErrorOnBrokenSymbolicLink?r(n,t):s(n,o);e.markSymbolicLink&&(i.isSymbolicLink=()=>!0),s(n,i)}):s(n,o))}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.read=function(t,e){const n=e.fs.lstatSync(t);if(!n.isSymbolicLink()||!e.followSymbolicLink)return n;try{const n=e.fs.statSync(t);return e.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(t){if(!e.throwErrorOnBrokenSymbolicLink)return n;throw t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(51);e.default=class{constructor(t={}){this._options=t,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=r.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(t,e){return void 0===t?e:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(3);e.FILE_SYSTEM_ADAPTER={lstat:r.lstat,stat:r.stat,lstatSync:r.lstatSync,statSync:r.statSync},e.createFileSystemAdapter=function(t){return void 0===t?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),t)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(18);e.default=class{constructor(t,e){this._root=t,this._settings=e,this._reader=new r.default(this._root,this._settings),this._storage=new Set}read(t){this._reader.onError(e=>{!function(t,e){t(e)}(t,e)}),this._reader.onEntry(t=>{this._storage.add(t)}),this._reader.onEnd(()=>{!function(t,e){t(null,e)}(t,[...this._storage])}),this._reader.read()}}},function(t,e){t.exports=require("events")},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(2),s=n(55),i=n(19),o=n(20);function a(t,e,n){e.fs.readdir(t,{withFileTypes:!0},(r,i)=>{if(null!==r)return c(n,r);const a=i.map(n=>({dirent:n,name:n.name,path:`${t}${e.pathSegmentSeparator}${n.name}`}));if(!e.followSymbolicLinks)return l(n,a);const u=a.map(t=>function(t,e){return n=>{if(!t.dirent.isSymbolicLink())return n(null,t);e.fs.stat(t.path,(r,s)=>null!==r?e.throwErrorOnBrokenSymbolicLink?n(r):n(null,t):(t.dirent=o.fs.createDirentFromStats(t.name,s),n(null,t)))}}(t,e));s(u,(t,e)=>{if(null!==t)return c(n,t);l(n,e)})})}function u(t,e,n){e.fs.readdir(t,(i,a)=>{if(null!==i)return c(n,i);const u=a.map(n=>`${t}${e.pathSegmentSeparator}${n}`),p=u.map(t=>n=>r.stat(t,e.fsStatSettings,n));s(p,(t,r)=>{if(null!==t)return c(n,t);const s=[];a.forEach((t,n)=>{const i=r[n],a={name:t,path:u[n],dirent:o.fs.createDirentFromStats(t,i)};e.stats&&(a.stats=i),s.push(a)}),l(n,s)})})}function c(t,e){t(e)}function l(t,e){t(null,e)}e.read=function(t,e,n){return!e.stats&&i.IS_SUPPORT_READDIR_WITH_FILE_TYPES?a(t,e,n):u(t,e,n)},e.readdirWithFileTypes=a,e.readdir=u},function(t,e){t.exports=function(t,e){var n,r,s,i=!0;Array.isArray(t)?(n=[],r=t.length):(s=Object.keys(t),n={},r=s.length);function o(t){function r(){e&&e(t,n),e=null}i?process.nextTick(r):r()}function a(t,e,s){n[t]=s,(0==--r||e)&&o(e)}r?s?s.forEach((function(e){t[e]((function(t,n){a(e,t,n)}))})):t.forEach((function(t,e){t((function(t,n){a(e,t,n)}))})):o(null);i=!1}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});class r{constructor(t,e){this.name=t,this.isBlockDevice=e.isBlockDevice.bind(e),this.isCharacterDevice=e.isCharacterDevice.bind(e),this.isDirectory=e.isDirectory.bind(e),this.isFIFO=e.isFIFO.bind(e),this.isFile=e.isFile.bind(e),this.isSocket=e.isSocket.bind(e),this.isSymbolicLink=e.isSymbolicLink.bind(e)}}e.createDirentFromStats=function(t,e){return new r(t,e)}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(2),s=n(19),i=n(20);function o(t,e){return e.fs.readdirSync(t,{withFileTypes:!0}).map(n=>{const r={dirent:n,name:n.name,path:`${t}${e.pathSegmentSeparator}${n.name}`};if(r.dirent.isSymbolicLink()&&e.followSymbolicLinks)try{const t=e.fs.statSync(r.path);r.dirent=i.fs.createDirentFromStats(r.name,t)}catch(t){if(e.throwErrorOnBrokenSymbolicLink)throw t}return r})}function a(t,e){return e.fs.readdirSync(t).map(n=>{const s=`${t}${e.pathSegmentSeparator}${n}`,o=r.statSync(s,e.fsStatSettings),a={name:n,path:s,dirent:i.fs.createDirentFromStats(n,o)};return e.stats&&(a.stats=o),a})}e.read=function(t,e){return!e.stats&&s.IS_SUPPORT_READDIR_WITH_FILE_TYPES?o(t,e):a(t,e)},e.readdirWithFileTypes=o,e.readdir=a},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(0),s=n(2),i=n(59);e.default=class{constructor(t={}){this._options=t,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=i.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,r.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new s.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(t,e){return void 0===t?e:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(3);e.FILE_SYSTEM_ADAPTER={lstat:r.lstat,stat:r.stat,lstatSync:r.lstatSync,statSync:r.statSync,readdir:r.readdir,readdirSync:r.readdirSync},e.createFileSystemAdapter=function(t){return void 0===t?e.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},e.FILE_SYSTEM_ADAPTER),t)}},function(t,e,n){"use strict";var r=n(61);function s(){}function i(){this.value=null,this.callback=s,this.next=null,this.release=s,this.context=null;var t=this;this.worked=function(e,n){var r=t.callback;t.value=null,t.callback=s,r.call(t.context,e,n),t.release(t)}}t.exports=function(t,e,n){"function"==typeof t&&(n=e,e=t,t=null);var o=r(i),a=null,u=null,c=0,l={push:function(n,r){var i=o.get();i.context=t,i.release=p,i.value=n,i.callback=r||s,c===l.concurrency||l.paused?u?(u.next=i,u=i):(a=i,u=i,l.saturated()):(c++,e.call(t,i.value,i.worked))},drain:s,saturated:s,pause:function(){l.paused=!0},paused:!1,concurrency:n,running:function(){return c},resume:function(){if(!l.paused)return;l.paused=!1;for(var t=0;t<l.concurrency;t++)c++,p()},idle:function(){return 0===c&&0===l.length()},length:function(){var t=a,e=0;for(;t;)t=t.next,e++;return e},getQueue:function(){var t=a,e=[];for(;t;)e.push(t.value),t=t.next;return e},unshift:function(n,r){var i=o.get();i.context=t,i.release=p,i.value=n,i.callback=r||s,c===l.concurrency||l.paused?a?(i.next=a,a=i):(a=i,u=i,l.saturated()):(c++,e.call(t,i.value,i.worked))},empty:s,kill:function(){a=null,u=null,l.drain=s},killAndDrain:function(){a=null,u=null,l.drain(),l.drain=s}};return l;function p(n){n&&o.release(n);var r=a;r?l.paused?c--:(u===a&&(u=null),a=r.next,r.next=null,e.call(t,r.value,r.worked),null===u&&l.empty()):0==--c&&l.drain()}}},function(t,e,n){"use strict";t.exports=function(t){var e=new t,n=e;return{get:function(){var r=e;return r.next?e=r.next:(e=new t,n=e),r.next=null,r},release:function(t){n.next=t,n=t}}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(6),s=n(18);e.default=class{constructor(t,e){this._root=t,this._settings=e,this._reader=new s.default(this._root,this._settings),this._stream=new r.Readable({objectMode:!0,read:()=>{},destroy:this._reader.destroy.bind(this._reader)})}read(){return this._reader.onError(t=>{this._stream.emit("error",t)}),this._reader.onEntry(t=>{this._stream.push(t)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(64);e.default=class{constructor(t,e){this._root=t,this._settings=e,this._reader=new r.default(this._root,this._settings)}read(){return this._reader.read()}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(9),s=n(10),i=n(21);class o extends i.default{constructor(){super(...arguments),this._scandir=r.scandirSync,this._storage=new Set,this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),[...this._storage]}_pushToQueue(t,e){this._queue.add({directory:t,base:e})}_handleQueue(){for(const t of this._queue.values())this._handleDirectory(t.directory,t.base)}_handleDirectory(t,e){try{const n=this._scandir(t,this._settings.fsScandirSettings);for(const t of n)this._handleEntry(t,e)}catch(t){this._handleError(t)}}_handleError(t){if(s.isFatalError(this._settings,t))throw t}_handleEntry(t,e){const n=t.path;void 0!==e&&(t.path=s.joinPathSegments(e,t.name,this._settings.pathSegmentSeparator)),s.isAppliedFilter(this._settings.entryFilter,t)&&this._pushToStorage(t),t.dirent.isDirectory()&&s.isAppliedFilter(this._settings.deepFilter,t)&&this._pushToQueue(n,t.path)}_pushToStorage(t){this._storage.add(t)}}e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(0),s=n(9);e.default=class{constructor(t={}){this._options=t,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,1/0),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,r.sep),this.fsScandirSettings=new s.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(t,e){return void 0===t?e:t}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(1),s=n(67);e.default=class{constructor(t,e){this._settings=t,this._micromatchOptions=e}getFilter(t,e,n){const r=this._getMatcher(e),s=this._getNegativePatternsRe(n);return e=>this._filter(t,e,r,s)}_getMatcher(t){return new s.default(t,this._settings,this._micromatchOptions)}_getNegativePatternsRe(t){const e=t.filter(r.pattern.isAffectDepthOfReadingPattern);return r.pattern.convertPatternsToRe(e,this._micromatchOptions)}_filter(t,e,n,s){if(this._isSkippedByDeep(t,e.path))return!1;if(this._isSkippedSymbolicLink(e))return!1;const i=r.path.removeLeadingDotSegment(e.path);return!this._isSkippedByPositivePatterns(i,n)&&this._isSkippedByNegativePatterns(i,s)}_isSkippedByDeep(t,e){return this._settings.deep!==1/0&&this._getEntryLevel(t,e)>=this._settings.deep}_getEntryLevel(t,e){const n=e.split("/").length;if(""===t)return n;return n-t.split("/").length}_isSkippedSymbolicLink(t){return!this._settings.followSymbolicLinks&&t.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(t,e){return!this._settings.baseNameMatch&&!e.match(t)}_isSkippedByNegativePatterns(t,e){return!r.pattern.matchAny(t,e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(68);class s extends r.default{match(t){const e=t.split("/"),n=e.length,r=this._storage.filter(t=>!t.complete||t.segments.length>n);for(const t of r){const r=t.sections[0];if(!t.complete&&n>r.length)return!0;if(e.every((e,n)=>{const r=t.segments[n];return!(!r.dynamic||!r.patternRe.test(e))||!r.dynamic&&r.pattern===e}))return!0}return!1}}e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(1);e.default=class{constructor(t,e,n){this._patterns=t,this._settings=e,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){const t=r.pattern.expandPatternsWithBraceExpansion(this._patterns);for(const e of t){const t=this._getPatternSegments(e),n=this._splitSegmentsIntoSections(t);this._storage.push({complete:n.length<=1,pattern:e,segments:t,sections:n})}}_getPatternSegments(t){return r.pattern.getPatternParts(t,this._micromatchOptions).map(t=>r.pattern.isDynamicPattern(t,this._settings)?{dynamic:!0,pattern:t,patternRe:r.pattern.makeRe(t,this._micromatchOptions)}:{dynamic:!1,pattern:t})}_splitSegmentsIntoSections(t){return r.array.splitWhen(t,t=>t.dynamic&&r.pattern.hasGlobStar(t.pattern))}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(1);e.default=class{constructor(t,e){this._settings=t,this._micromatchOptions=e,this.index=new Map}getFilter(t,e){const n=r.pattern.convertPatternsToRe(t,this._micromatchOptions),s=r.pattern.convertPatternsToRe(e,this._micromatchOptions);return t=>this._filter(t,n,s)}_filter(t,e,n){if(this._settings.unique&&this._isDuplicateEntry(t))return!1;if(this._onlyFileFilter(t)||this._onlyDirectoryFilter(t))return!1;if(this._isSkippedByAbsoluteNegativePatterns(t.path,n))return!1;const r=this._settings.baseNameMatch?t.name:t.path,s=this._isMatchToPatterns(r,e)&&!this._isMatchToPatterns(t.path,n);return this._settings.unique&&s&&this._createIndexRecord(t),s}_isDuplicateEntry(t){return this.index.has(t.path)}_createIndexRecord(t){this.index.set(t.path,void 0)}_onlyFileFilter(t){return this._settings.onlyFiles&&!t.dirent.isFile()}_onlyDirectoryFilter(t){return this._settings.onlyDirectories&&!t.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(t,e){if(!this._settings.absolute)return!1;const n=r.path.makeAbsolute(this._settings.cwd,t);return r.pattern.matchAny(n,e)}_isMatchToPatterns(t,e){const n=r.path.removeLeadingDotSegment(t);return r.pattern.matchAny(n,e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(1);e.default=class{constructor(t){this._settings=t}getFilter(){return t=>this._isNonFatalError(t)}_isNonFatalError(t){return r.errno.isEnoentCodeError(t)||this._settings.suppressErrors}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(1);e.default=class{constructor(t){this._settings=t}getTransformer(){return t=>this._transform(t)}_transform(t){let e=t.path;return this._settings.absolute&&(e=r.path.makeAbsolute(this._settings.cwd,e),e=r.path.unixify(e)),this._settings.markDirectories&&t.dirent.isDirectory()&&(e+="/"),this._settings.objectMode?Object.assign(Object.assign({},t),{path:e}):e}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(6),s=n(16),i=n(11);class o extends i.default{constructor(){super(...arguments),this._reader=new s.default(this._settings)}read(t){const e=this._getRootDirectory(t),n=this._getReaderOptions(t),s=this.api(e,t,n),i=new r.Readable({objectMode:!0,read:()=>{}});return s.once("error",t=>i.emit("error",t)).on("data",t=>i.emit("data",n.transform(t))).once("end",()=>i.emit("end")),i.once("close",()=>s.destroy()),i}api(t,e,n){return e.dynamic?this._reader.dynamic(t,n):this._reader.static(e.patterns,n)}}e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(74),s=n(11);class i extends s.default{constructor(){super(...arguments),this._reader=new r.default(this._settings)}read(t){const e=this._getRootDirectory(t),n=this._getReaderOptions(t);return this.api(e,t,n).map(n.transform)}api(t,e,n){return e.dynamic?this._reader.dynamic(t,n):this._reader.static(e.patterns,n)}}e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const r=n(2),s=n(17),i=n(22);class o extends i.default{constructor(){super(...arguments),this._walkSync=s.walkSync,this._statSync=r.statSync}dynamic(t,e){return this._walkSync(t,e)}static(t,e){const n=[];for(const r of t){const t=this._getFullEntryPath(r),s=this._getEntry(t,r,e);null!==s&&e.entryFilter(s)&&n.push(s)}return n}_getEntry(t,e,n){try{const n=this._getStat(t);return this._makeEntry(n,e)}catch(t){if(n.errorFilter(t))return null;throw t}}_getStat(t){return this._statSync(t,this._fsStatSettings)}}e.default=o},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;const r=n(3),s=n(12).cpus().length;e.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:r.lstat,lstatSync:r.lstatSync,stat:r.stat,statSync:r.statSync,readdir:r.readdir,readdirSync:r.readdirSync};e.default=class{constructor(t={}){this._options=t,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,s),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0)}_getValue(t,e){return void 0===t?e:t}_getFileSystemMethods(t={}){return Object.assign(Object.assign({},e.DEFAULT_FILE_SYSTEM_ADAPTER),t)}}},,,function(t,e,n){t.exports=n(79)},function(t,e,n){"use strict";n.r(e);var r=n(3),s=n(0),i=n(23);class o{static saveJson(t,e){r.writeFileSync(t,this.toJson(e))}static loadJson(t){return JSON.parse(r.readFileSync(t,"utf8"))}static toJson(t){return null!=t?JSON.stringify(t,null,4):"{}"}}function a(t,e){let n=o.loadJson(t),r=!1;e&&!n.module?(n.module="./es5-esm.js",r=!0):!e&&n.module&&(delete n.module,r=!0),r&&o.saveJson(t,n);let s=e?"enabled":"disabled";s=r?"updated, "+s:"untouched, already "+s,console.log(`Processing "${t}" - ${s}`)}!function(){console.log("Wijmo ESM modules disabling/enabling utility");let t=process.argv[2],e=null;if(t)switch(t){case"-enable":case"-e":e=!0;break;case"-disable":case"-d":e=!1;break;case"-help":case"-h":return void console.log("\nDisables or enables ESM versions of @grapecity/wijmo.angular2legacy.* modules.\nPossible options:\nno options - automatically detects Angular version installed in the project. \n For Angular 8 or lower, disables ESM modules. \n For Angular 9 and higher, enables ESM modules.\n-enable, -e - enables ESM modules.\n-disable, -d - disables ESM modules.\n-help, -h - shows this help info.\n");default:return console.warn(`Unknown option '${t}'`),1}if(null==e){let t=function(){const t=s.resolve("node_modules/@angular/core/package.json");let e=null;if(r.existsSync(t)){let n=o.loadJson(t).version;if(n){let t=n.match(/^\s*(\d+)\./);t?e=+t[1]:console.warn(`Unrecognizable Angular version '${n}'.`)}else console.warn(`File "${t}" doesn't contain a "version" field.`)}else console.warn(`Can't find Angular, the "${t}" file is missed.`);return e}();if(null==t)return void console.warn("Can't determine Angular version of the project. No action is performed.");e=t>8,console.log(`Detected Angular version ${t}.`)}null!=e&&(console.log((e?"Enabling":"Disabling")+" ESM modules in @grapecity/wijmo.angular2legacy.* packages."),function(t){let e=i.sync(["node_modules/@grapecity/wijmo.angular2legacy.*/package.json","!**/wijmo.angular2legacy.all/*"]);if(!e.length)return void console.warn("No @grapecity/wijmo.angular2legacy.* modules found.");for(let n of e)a(n,t)}(e))}()}]);
|