forked from dosyago/dn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
1.22120.js
32 lines (32 loc) · 55.4 KB
/
1.22120.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env node
exports.ids=[1],exports.modules={132:function(t,e,r){t.exports=u,u.Minimatch=l;var n={sep:"/"};try{n=r(0)}catch(t){}var i=u.GLOBSTAR=l.GLOBSTAR={},s=r(149),o={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},a="().*{}+?[]^$\\!".split("").reduce((function(t,e){return t[e]=!0,t}),{});var c=/\/+/;function h(t,e){t=t||{},e=e||{};var r={};return Object.keys(e).forEach((function(t){r[t]=e[t]})),Object.keys(t).forEach((function(e){r[e]=t[e]})),r}function u(t,e,r){if("string"!=typeof e)throw new TypeError("glob pattern string required");return r||(r={}),!(!r.nocomment&&"#"===e.charAt(0))&&(""===e.trim()?""===t:new l(e,r).match(t))}function l(t,e){if(!(this instanceof l))return new l(t,e);if("string"!=typeof t)throw new TypeError("glob pattern string required");e||(e={}),t=t.trim(),"/"!==n.sep&&(t=t.split(n.sep).join("/")),this.options=e,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function f(t,e){if(e||(e=this instanceof l?this.options:{}),void 0===(t=void 0===t?this.pattern:t))throw new TypeError("undefined pattern");return e.nobrace||!t.match(/\{.*\}/)?[t]:s(t)}u.filter=function(t,e){return e=e||{},function(r,n,i){return u(r,t,e)}},u.defaults=function(t){if(!t||!Object.keys(t).length)return u;var e=u,r=function(r,n,i){return e.minimatch(r,n,h(t,i))};return r.Minimatch=function(r,n){return new e.Minimatch(r,h(t,n))},r},l.defaults=function(t){return t&&Object.keys(t).length?u.defaults(t).Minimatch:l},l.prototype.debug=function(){},l.prototype.make=function(){if(this._made)return;var t=this.pattern,e=this.options;if(!e.nocomment&&"#"===t.charAt(0))return void(this.comment=!0);if(!t)return void(this.empty=!0);this.parseNegate();var r=this.globSet=this.braceExpand();e.debug&&(this.debug=console.error);this.debug(this.pattern,r),r=this.globParts=r.map((function(t){return t.split(c)})),this.debug(this.pattern,r),r=r.map((function(t,e,r){return t.map(this.parse,this)}),this),this.debug(this.pattern,r),r=r.filter((function(t){return-1===t.indexOf(!1)})),this.debug(this.pattern,r),this.set=r},l.prototype.parseNegate=function(){var t=this.pattern,e=!1,r=this.options,n=0;if(r.nonegate)return;for(var i=0,s=t.length;i<s&&"!"===t.charAt(i);i++)e=!e,n++;n&&(this.pattern=t.substr(n));this.negate=e},u.braceExpand=function(t,e){return f(t,e)},l.prototype.braceExpand=f,l.prototype.parse=function(t,e){if(t.length>65536)throw new TypeError("pattern is too long");var r=this.options;if(!r.noglobstar&&"**"===t)return i;if(""===t)return"";var n,s="",c=!!r.nocase,h=!1,u=[],l=[],f=!1,d=-1,m=-1,g="."===t.charAt(0)?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",v=this;function y(){if(n){switch(n){case"*":s+="[^/]*?",c=!0;break;case"?":s+="[^/]",c=!0;break;default:s+="\\"+n}v.debug("clearStateChar %j %j",n,s),n=!1}}for(var b,w=0,E=t.length;w<E&&(b=t.charAt(w));w++)if(this.debug("%s\t%s %s %j",t,w,s,b),h&&a[b])s+="\\"+b,h=!1;else switch(b){case"/":return!1;case"\\":y(),h=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",t,w,s,b),f){this.debug(" in class"),"!"===b&&w===m+1&&(b="^"),s+=b;continue}v.debug("call clearStateChar %j",n),y(),n=b,r.noext&&y();continue;case"(":if(f){s+="(";continue}if(!n){s+="\\(";continue}u.push({type:n,start:w-1,reStart:s.length,open:o[n].open,close:o[n].close}),s+="!"===n?"(?:(?!(?:":"(?:",this.debug("plType %j %j",n,s),n=!1;continue;case")":if(f||!u.length){s+="\\)";continue}y(),c=!0;var _=u.pop();s+=_.close,"!"===_.type&&l.push(_),_.reEnd=s.length;continue;case"|":if(f||!u.length||h){s+="\\|",h=!1;continue}y(),s+="|";continue;case"[":if(y(),f){s+="\\"+b;continue}f=!0,m=w,d=s.length,s+=b;continue;case"]":if(w===m+1||!f){s+="\\"+b,h=!1;continue}if(f){var S=t.substring(m+1,w);try{RegExp("["+S+"]")}catch(t){var O=this.parse(S,p);s=s.substr(0,d)+"\\["+O[0]+"\\]",c=c||O[1],f=!1;continue}}c=!0,f=!1,s+=b;continue;default:y(),h?h=!1:!a[b]||"^"===b&&f||(s+="\\"),s+=b}f&&(S=t.substr(m+1),O=this.parse(S,p),s=s.substr(0,d)+"\\["+O[0],c=c||O[1]);for(_=u.pop();_;_=u.pop()){var A=s.slice(_.reStart+_.open.length);this.debug("setting tail",s,_),A=A.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(t,e,r){return r||(r="\\"),e+e+r+"|"})),this.debug("tail=%j\n %s",A,A,_,s);var k="*"===_.type?"[^/]*?":"?"===_.type?"[^/]":"\\"+_.type;c=!0,s=s.slice(0,_.reStart)+k+"\\("+A}y(),h&&(s+="\\\\");var T=!1;switch(s.charAt(0)){case".":case"[":case"(":T=!0}for(var x=l.length-1;x>-1;x--){var P=l[x],D=s.slice(0,P.reStart),R=s.slice(P.reStart,P.reEnd-8),C=s.slice(P.reEnd-8,P.reEnd),L=s.slice(P.reEnd);C+=L;var I=D.split("(").length-1,N=L;for(w=0;w<I;w++)N=N.replace(/\)[+*?]?/,"");var M="";""===(L=N)&&e!==p&&(M="$"),s=D+R+L+M+C}""!==s&&c&&(s="(?=.)"+s);T&&(s=g+s);if(e===p)return[s,c];if(!c)return function(t){return t.replace(/\\(.)/g,"$1")}(t);var j=r.nocase?"i":"";try{var F=new RegExp("^"+s+"$",j)}catch(t){return new RegExp("$.")}return F._glob=t,F._src=s,F};var p={};u.makeRe=function(t,e){return new l(t,e||{}).makeRe()},l.prototype.makeRe=function(){if(this.regexp||!1===this.regexp)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var e=this.options,r=e.noglobstar?"[^/]*?":e.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",n=e.nocase?"i":"",s=t.map((function(t){return t.map((function(t){return t===i?r:"string"==typeof t?function(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(t):t._src})).join("\\/")})).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,n)}catch(t){this.regexp=!1}return this.regexp},u.match=function(t,e,r){var n=new l(e,r=r||{});return t=t.filter((function(t){return n.match(t)})),n.options.nonull&&!t.length&&t.push(e),t},l.prototype.match=function(t,e){if(this.debug("match",t,this.pattern),this.comment)return!1;if(this.empty)return""===t;if("/"===t&&e)return!0;var r=this.options;"/"!==n.sep&&(t=t.split(n.sep).join("/"));t=t.split(c),this.debug(this.pattern,"split",t);var i,s,o=this.set;for(this.debug(this.pattern,"set",o),s=t.length-1;s>=0&&!(i=t[s]);s--);for(s=0;s<o.length;s++){var a=o[s],h=t;if(r.matchBase&&1===a.length&&(h=[i]),this.matchOne(h,a,e))return!!r.flipNegate||!this.negate}return!r.flipNegate&&this.negate},l.prototype.matchOne=function(t,e,r){var n=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var s=0,o=0,a=t.length,c=e.length;s<a&&o<c;s++,o++){this.debug("matchOne loop");var h,u=e[o],l=t[s];if(this.debug(e,u,l),!1===u)return!1;if(u===i){this.debug("GLOBSTAR",[e,u,l]);var f=s,p=o+1;if(p===c){for(this.debug("** at the end");s<a;s++)if("."===t[s]||".."===t[s]||!n.dot&&"."===t[s].charAt(0))return!1;return!0}for(;f<a;){var d=t[f];if(this.debug("\nglobstar while",t,f,e,p,d),this.matchOne(t.slice(f),e.slice(p),r))return this.debug("globstar found match!",f,a,d),!0;if("."===d||".."===d||!n.dot&&"."===d.charAt(0)){this.debug("dot detected!",t,f,e,p);break}this.debug("globstar swallow a segment, and continue"),f++}return!(!r||(this.debug("\n>>> no match, partial?",t,f,e,p),f!==a))}if("string"==typeof u?(h=n.nocase?l.toLowerCase()===u.toLowerCase():l===u,this.debug("string match",u,l,h)):(h=l.match(u),this.debug("pattern match",u,l,h)),!h)return!1}if(s===a&&o===c)return!0;if(s===a)return r;if(o===c)return s===a-1&&""===t[s];throw new Error("wtf?")}},133:function(t,e,r){"use strict";function n(t){return"/"===t.charAt(0)}function i(t){var e=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/.exec(t),r=e[1]||"",n=Boolean(r&&":"!==r.charAt(1));return Boolean(e[2]||n)}t.exports="win32"===process.platform?i:n,t.exports.posix=n,t.exports.win32=i},134:function(t,e,r){t.exports=b;var n=r(1),i=r(135),s=r(132),o=(s.Minimatch,r(55)),a=r(32).EventEmitter,c=r(0),h=r(126),u=r(133),l=r(152),f=r(136),p=(f.alphasort,f.alphasorti,f.setopts),d=f.ownProp,m=r(153),g=(r(25),f.childrenIgnored),v=f.isIgnored,y=r(138);function b(t,e,r){if("function"==typeof e&&(r=e,e={}),e||(e={}),e.sync){if(r)throw new TypeError("callback provided to sync glob");return l(t,e)}return new E(t,e,r)}b.sync=l;var w=b.GlobSync=l.GlobSync;function E(t,e,r){if("function"==typeof e&&(r=e,e=null),e&&e.sync){if(r)throw new TypeError("callback provided to sync glob");return new w(t,e)}if(!(this instanceof E))return new E(t,e,r);p(this,t,e),this._didRealPath=!1;var n=this.minimatch.set.length;this.matches=new Array(n),"function"==typeof r&&(r=y(r),this.on("error",r),this.on("end",(function(t){r(null,t)})));var i=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(0===n)return o();for(var s=0;s<n;s++)this._process(this.minimatch.set[s],s,!1,o);function o(){--i._processing,i._processing<=0&&i._finish()}}b.glob=b,b.hasMagic=function(t,e){var r=function(t,e){if(null===e||"object"!=typeof e)return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}({},e);r.noprocess=!0;var n=new E(t,r).minimatch.set;if(!t)return!1;if(n.length>1)return!0;for(var i=0;i<n[0].length;i++)if("string"!=typeof n[0][i])return!0;return!1},b.Glob=E,o(E,a),E.prototype._finish=function(){if(h(this instanceof E),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();f.finish(this),this.emit("end",this.found)}},E.prototype._realpath=function(){if(!this._didRealpath){this._didRealpath=!0;var t=this.matches.length;if(0===t)return this._finish();for(var e=this,r=0;r<this.matches.length;r++)this._realpathSet(r,n)}function n(){0==--t&&e._finish()}},E.prototype._realpathSet=function(t,e){var r=this.matches[t];if(!r)return e();var n=Object.keys(r),s=this,o=n.length;if(0===o)return e();var a=this.matches[t]=Object.create(null);n.forEach((function(r,n){r=s._makeAbs(r),i.realpath(r,s.realpathCache,(function(n,i){n?"stat"===n.syscall?a[r]=!0:s.emit("error",n):a[i]=!0,0==--o&&(s.matches[t]=a,e())}))}))},E.prototype._mark=function(t){return f.mark(this,t)},E.prototype._makeAbs=function(t){return f.makeAbs(this,t)},E.prototype.abort=function(){this.aborted=!0,this.emit("abort")},E.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))},E.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var t=this._emitQueue.slice(0);this._emitQueue.length=0;for(var e=0;e<t.length;e++){var r=t[e];this._emitMatch(r[0],r[1])}}if(this._processQueue.length){var n=this._processQueue.slice(0);this._processQueue.length=0;for(e=0;e<n.length;e++){var i=n[e];this._processing--,this._process(i[0],i[1],i[2],i[3])}}}},E.prototype._process=function(t,e,r,n){if(h(this instanceof E),h("function"==typeof n),!this.aborted)if(this._processing++,this.paused)this._processQueue.push([t,e,r,n]);else{for(var i,o=0;"string"==typeof t[o];)o++;switch(o){case t.length:return void this._processSimple(t.join("/"),e,n);case 0:i=null;break;default:i=t.slice(0,o).join("/")}var a,c=t.slice(o);null===i?a=".":u(i)||u(t.join("/"))?(i&&u(i)||(i="/"+i),a=i):a=i;var l=this._makeAbs(a);if(g(this,a))return n();c[0]===s.GLOBSTAR?this._processGlobStar(i,a,l,c,e,r,n):this._processReaddir(i,a,l,c,e,r,n)}},E.prototype._processReaddir=function(t,e,r,n,i,s,o){var a=this;this._readdir(r,s,(function(c,h){return a._processReaddir2(t,e,r,n,i,s,h,o)}))},E.prototype._processReaddir2=function(t,e,r,n,i,s,o,a){if(!o)return a();for(var h=n[0],u=!!this.minimatch.negate,l=h._glob,f=this.dot||"."===l.charAt(0),p=[],d=0;d<o.length;d++){if("."!==(g=o[d]).charAt(0)||f)(u&&!t?!g.match(h):g.match(h))&&p.push(g)}var m=p.length;if(0===m)return a();if(1===n.length&&!this.mark&&!this.stat){this.matches[i]||(this.matches[i]=Object.create(null));for(d=0;d<m;d++){var g=p[d];t&&(g="/"!==t?t+"/"+g:t+g),"/"!==g.charAt(0)||this.nomount||(g=c.join(this.root,g)),this._emitMatch(i,g)}return a()}n.shift();for(d=0;d<m;d++){g=p[d];t&&(g="/"!==t?t+"/"+g:t+g),this._process([g].concat(n),i,s,a)}a()},E.prototype._emitMatch=function(t,e){if(!this.aborted&&!v(this,e))if(this.paused)this._emitQueue.push([t,e]);else{var r=u(e)?e:this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=r),!this.matches[t][e]){if(this.nodir){var n=this.cache[r];if("DIR"===n||Array.isArray(n))return}this.matches[t][e]=!0;var i=this.statCache[r];i&&this.emit("stat",e,i),this.emit("match",e)}}},E.prototype._readdirInGlobStar=function(t,e){if(!this.aborted){if(this.follow)return this._readdir(t,!1,e);var r=this,i=m("lstat\0"+t,(function(n,i){if(n&&"ENOENT"===n.code)return e();var s=i&&i.isSymbolicLink();r.symlinks[t]=s,s||!i||i.isDirectory()?r._readdir(t,!1,e):(r.cache[t]="FILE",e())}));i&&n.lstat(t,i)}},E.prototype._readdir=function(t,e,r){if(!this.aborted&&(r=m("readdir\0"+t+"\0"+e,r))){if(e&&!d(this.symlinks,t))return this._readdirInGlobStar(t,r);if(d(this.cache,t)){var i=this.cache[t];if(!i||"FILE"===i)return r();if(Array.isArray(i))return r(null,i)}n.readdir(t,function(t,e,r){return function(n,i){n?t._readdirError(e,n,r):t._readdirEntries(e,i,r)}}(this,t,r))}},E.prototype._readdirEntries=function(t,e,r){if(!this.aborted){if(!this.mark&&!this.stat)for(var n=0;n<e.length;n++){var i=e[n];i="/"===t?t+i:t+"/"+i,this.cache[i]=!0}return this.cache[t]=e,r(null,e)}},E.prototype._readdirError=function(t,e,r){if(!this.aborted){switch(e.code){case"ENOTSUP":case"ENOTDIR":var n=this._makeAbs(t);if(this.cache[n]="FILE",n===this.cwdAbs){var i=new Error(e.code+" invalid cwd "+this.cwd);i.path=this.cwd,i.code=e.code,this.emit("error",i),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:this.cache[this._makeAbs(t)]=!1,this.strict&&(this.emit("error",e),this.abort()),this.silent||console.error("glob error",e)}return r()}},E.prototype._processGlobStar=function(t,e,r,n,i,s,o){var a=this;this._readdir(r,s,(function(c,h){a._processGlobStar2(t,e,r,n,i,s,h,o)}))},E.prototype._processGlobStar2=function(t,e,r,n,i,s,o,a){if(!o)return a();var c=n.slice(1),h=t?[t]:[],u=h.concat(c);this._process(u,i,!1,a);var l=this.symlinks[r],f=o.length;if(l&&s)return a();for(var p=0;p<f;p++){if("."!==o[p].charAt(0)||this.dot){var d=h.concat(o[p],c);this._process(d,i,!0,a);var m=h.concat(o[p],n);this._process(m,i,!0,a)}}a()},E.prototype._processSimple=function(t,e,r){var n=this;this._stat(t,(function(i,s){n._processSimple2(t,e,i,s,r)}))},E.prototype._processSimple2=function(t,e,r,n,i){if(this.matches[e]||(this.matches[e]=Object.create(null)),!n)return i();if(t&&u(t)&&!this.nomount){var s=/[\/\\]$/.test(t);"/"===t.charAt(0)?t=c.join(this.root,t):(t=c.resolve(this.root,t),s&&(t+="/"))}"win32"===process.platform&&(t=t.replace(/\\/g,"/")),this._emitMatch(e,t),i()},E.prototype._stat=function(t,e){var r=this._makeAbs(t),i="/"===t.slice(-1);if(t.length>this.maxLength)return e();if(!this.stat&&d(this.cache,r)){var s=this.cache[r];if(Array.isArray(s)&&(s="DIR"),!i||"DIR"===s)return e(null,s);if(i&&"FILE"===s)return e()}var o=this.statCache[r];if(void 0!==o){if(!1===o)return e(null,o);var a=o.isDirectory()?"DIR":"FILE";return i&&"FILE"===a?e():e(null,a,o)}var c=this,h=m("stat\0"+r,(function(i,s){if(s&&s.isSymbolicLink())return n.stat(r,(function(n,i){n?c._stat2(t,r,null,s,e):c._stat2(t,r,n,i,e)}));c._stat2(t,r,i,s,e)}));h&&n.lstat(r,h)},E.prototype._stat2=function(t,e,r,n,i){if(r&&("ENOENT"===r.code||"ENOTDIR"===r.code))return this.statCache[e]=!1,i();var s="/"===t.slice(-1);if(this.statCache[e]=n,"/"===e.slice(-1)&&n&&!n.isDirectory())return i(null,!1,n);var o=!0;return n&&(o=n.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||o,s&&"FILE"===o?i():i(null,o,n)}},135:function(t,e,r){t.exports=u,u.realpath=u,u.sync=l,u.realpathSync=l,u.monkeypatch=function(){n.realpath=u,n.realpathSync=l},u.unmonkeypatch=function(){n.realpath=i,n.realpathSync=s};var n=r(1),i=n.realpath,s=n.realpathSync,o=process.version,a=/^v[0-5]\./.test(o),c=r(148);function h(t){return t&&"realpath"===t.syscall&&("ELOOP"===t.code||"ENOMEM"===t.code||"ENAMETOOLONG"===t.code)}function u(t,e,r){if(a)return i(t,e,r);"function"==typeof e&&(r=e,e=null),i(t,e,(function(n,i){h(n)?c.realpath(t,e,r):r(n,i)}))}function l(t,e){if(a)return s(t,e);try{return s(t,e)}catch(r){if(h(r))return c.realpathSync(t,e);throw r}}},136:function(t,e,r){function n(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.alphasort=h,e.alphasorti=c,e.setopts=function(t,e,r){r||(r={});if(r.matchBase&&-1===e.indexOf("/")){if(r.noglobstar)throw new Error("base matching requires globstar");e="**/"+e}t.silent=!!r.silent,t.pattern=e,t.strict=!1!==r.strict,t.realpath=!!r.realpath,t.realpathCache=r.realpathCache||Object.create(null),t.follow=!!r.follow,t.dot=!!r.dot,t.mark=!!r.mark,t.nodir=!!r.nodir,t.nodir&&(t.mark=!0);t.sync=!!r.sync,t.nounique=!!r.nounique,t.nonull=!!r.nonull,t.nosort=!!r.nosort,t.nocase=!!r.nocase,t.stat=!!r.stat,t.noprocess=!!r.noprocess,t.absolute=!!r.absolute,t.maxLength=r.maxLength||1/0,t.cache=r.cache||Object.create(null),t.statCache=r.statCache||Object.create(null),t.symlinks=r.symlinks||Object.create(null),function(t,e){t.ignore=e.ignore||[],Array.isArray(t.ignore)||(t.ignore=[t.ignore]);t.ignore.length&&(t.ignore=t.ignore.map(u))}(t,r),t.changedCwd=!1;var s=process.cwd();n(r,"cwd")?(t.cwd=i.resolve(r.cwd),t.changedCwd=t.cwd!==s):t.cwd=s;t.root=r.root||i.resolve(t.cwd,"/"),t.root=i.resolve(t.root),"win32"===process.platform&&(t.root=t.root.replace(/\\/g,"/"));t.cwdAbs=o(t.cwd)?t.cwd:l(t,t.cwd),"win32"===process.platform&&(t.cwdAbs=t.cwdAbs.replace(/\\/g,"/"));t.nomount=!!r.nomount,r.nonegate=!0,r.nocomment=!0,t.minimatch=new a(e,r),t.options=t.minimatch.options},e.ownProp=n,e.makeAbs=l,e.finish=function(t){for(var e=t.nounique,r=e?[]:Object.create(null),n=0,i=t.matches.length;n<i;n++){var s=t.matches[n];if(s&&0!==Object.keys(s).length){var o=Object.keys(s);e?r.push.apply(r,o):o.forEach((function(t){r[t]=!0}))}else if(t.nonull){var a=t.minimatch.globSet[n];e?r.push(a):r[a]=!0}}e||(r=Object.keys(r));t.nosort||(r=r.sort(t.nocase?c:h));if(t.mark){for(n=0;n<r.length;n++)r[n]=t._mark(r[n]);t.nodir&&(r=r.filter((function(e){var r=!/\/$/.test(e),n=t.cache[e]||t.cache[l(t,e)];return r&&n&&(r="DIR"!==n&&!Array.isArray(n)),r})))}t.ignore.length&&(r=r.filter((function(e){return!f(t,e)})));t.found=r},e.mark=function(t,e){var r=l(t,e),n=t.cache[r],i=e;if(n){var s="DIR"===n||Array.isArray(n),o="/"===e.slice(-1);if(s&&!o?i+="/":!s&&o&&(i=i.slice(0,-1)),i!==e){var a=l(t,i);t.statCache[a]=t.statCache[r],t.cache[a]=t.cache[r]}}return i},e.isIgnored=f,e.childrenIgnored=function(t,e){return!!t.ignore.length&&t.ignore.some((function(t){return!(!t.gmatcher||!t.gmatcher.match(e))}))};var i=r(0),s=r(132),o=r(133),a=s.Minimatch;function c(t,e){return t.toLowerCase().localeCompare(e.toLowerCase())}function h(t,e){return t.localeCompare(e)}function u(t){var e=null;if("/**"===t.slice(-3)){var r=t.replace(/(\/\*\*)+$/,"");e=new a(r,{dot:!0})}return{matcher:new a(t,{dot:!0}),gmatcher:e}}function l(t,e){var r=e;return r="/"===e.charAt(0)?i.join(t.root,e):o(e)||""===e?e:t.changedCwd?i.resolve(t.cwd,e):i.resolve(e),"win32"===process.platform&&(r=r.replace(/\\/g,"/")),r}function f(t,e){return!!t.ignore.length&&t.ignore.some((function(t){return t.matcher.match(e)||!(!t.gmatcher||!t.gmatcher.match(e))}))}},137:function(t,e){t.exports=function t(e,r){if(e&&r)return t(e)(r);if("function"!=typeof e)throw new TypeError("need wrapper function");return Object.keys(e).forEach((function(t){n[t]=e[t]})),n;function n(){for(var t=new Array(arguments.length),r=0;r<t.length;r++)t[r]=arguments[r];var n=e.apply(this,t),i=t[t.length-1];return"function"==typeof n&&n!==i&&Object.keys(i).forEach((function(t){n[t]=i[t]})),n}}},138:function(t,e,r){var n=r(137);function i(t){var e=function(){return e.called?e.value:(e.called=!0,e.value=t.apply(this,arguments))};return e.called=!1,e}function s(t){var e=function(){if(e.called)throw new Error(e.onceError);return e.called=!0,e.value=t.apply(this,arguments)},r=t.name||"Function wrapped with `once`";return e.onceError=r+" shouldn't be called more than once",e.called=!1,e}t.exports=n(i),t.exports.strict=n(s),i.proto=i((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return i(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return s(this)},configurable:!0})}))},139:function(t,e,r){"use strict";
/**
* @license Copyright 2016 Google Inc. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/const n=r(2),i=r(156),s=r(32).EventEmitter,o="win32"===process.platform,a=process.browser,c={red:a?"crimson":1,yellow:a?"gold":3,cyan:a?"darkturquoise":6,green:a?"forestgreen":2,blue:a?"steelblue":4,magenta:a?"palevioletred":5};n.colors=[c.cyan,c.green,c.blue,c.magenta];const h={};let u;class l{static _logToStdErr(t,e){l.loggerfn(t)(...e)}static loggerfn(t){let e=h[t];return e||(e=n(t),h[t]=e,t.endsWith("error")?e.color=c.red:t.endsWith("warn")&&(e.color=c.yellow)),e}static setLevel(t){switch(u=t,t){case"silent":n.enable("-*");break;case"verbose":n.enable("*");break;case"error":n.enable("-*, *:error");break;default:n.enable("*, -*:verbose")}}static formatProtocol(t,e,r){const n=!process||process.browser?1/0:process.stdout.columns,i=e.method||"?????",s=n-i.length-t.length-25,o=e.params&&"IO.read"!==i?JSON.stringify(e.params).substr(0,s):"";l._logToStdErr(`${t}:${r||""}`,[i,o])}static isVerbose(){return"verbose"===u}static time({msg:t,id:e,args:r=[]},n="log"){i.mark(e),l[n]("status",t,...r)}static timeEnd({msg:t,id:e,args:r=[]},n="verbose"){l[n]("statusEnd",t,...r),i.stop(e)}static log(t,...e){return l.events.issueStatus(t,e),l._logToStdErr(t,e)}static warn(t,...e){return l.events.issueWarning(t,e),l._logToStdErr(t+":warn",e)}static error(t,...e){return l._logToStdErr(t+":error",e)}static verbose(t,...e){return l.events.issueStatus(t,e),l._logToStdErr(t+":verbose",e)}static greenify(t){return`${l.green}${t}${l.reset}`}static redify(t){return`${l.red}${t}${l.reset}`}static get green(){return"[32m"}static get red(){return"[31m"}static get yellow(){return"[33m"}static get purple(){return"[95m"}static get reset(){return"[0m"}static get bold(){return"[1m"}static get dim(){return"[2m"}static get tick(){return o?"√":"✓"}static get cross(){return o?"×":"✘"}static get whiteSmallSquare(){return o?"·":"▫"}static get heavyHorizontal(){return o?"─":"━"}static get heavyVertical(){return o?"│ ":"┃ "}static get heavyUpAndRight(){return o?"└":"┗"}static get heavyVerticalAndRight(){return o?"├":"┣"}static get heavyDownAndHorizontal(){return o?"┬":"┳"}static get doubleLightHorizontal(){return"──"}}l.events=new class extends s{issueStatus(t,e){"status"!==t&&"statusEnd"!==t||this.emit(t,[t,...e])}issueWarning(t,e){this.emit("warning",[t,...e])}},l.takeTimeEntries=()=>{const t=i.getEntries();return i.clear(),t},l.getTimeEntries=()=>i.getEntries(),t.exports=l},140:function(t,e,r){"use strict";
/**
* @license Copyright 2017 Google Inc. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/var n=this&&this.__awaiter||function(t,e,r,n){return new(r||(r=Promise))((function(i,s){function o(t){try{c(n.next(t))}catch(t){s(t)}}function a(t){try{c(n.throw(t))}catch(t){s(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(o,a)}c((n=n.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.getLocalAppDataPath=e.toWinDirFormat=e.makeTmpDir=e.getPlatform=e.ChromeNotInstalledError=e.UnsupportedPlatformError=e.InvalidUserDataDirectoryError=e.ChromePathNotSetError=e.LauncherError=e.delay=e.defaults=void 0;const i=r(0),s=r(125),o=r(157),a=r(158);e.defaults=function(t,e){return void 0===t?e:t},e.delay=function(t){return n(this,void 0,void 0,(function*(){return new Promise(e=>setTimeout(e,t))}))};class c extends Error{constructor(t="Unexpected error",e){return super(),this.message=t,this.code=e,this.stack=(new Error).stack,this}}e.LauncherError=c;e.ChromePathNotSetError=class extends c{constructor(){super(...arguments),this.message="The environment variable CHROME_PATH must be set to executable of a build of Chromium version 54.0 or later.",this.code="ERR_LAUNCHER_PATH_NOT_SET"}};e.InvalidUserDataDirectoryError=class extends c{constructor(){super(...arguments),this.message="userDataDir must be false or a path.",this.code="ERR_LAUNCHER_INVALID_USER_DATA_DIRECTORY"}};class h extends c{constructor(){super(...arguments),this.message=`Platform ${u()} is not supported.`,this.code="ERR_LAUNCHER_UNSUPPORTED_PLATFORM"}}e.UnsupportedPlatformError=h;function u(){return a?"wsl":process.platform}function l(t){const e=/\/mnt\/([a-z])\/Users\/([^\/:]+)\/AppData\//.exec(t)||[];return`/mnt/${e[1]}/Users/${e[2]}/AppData/Local`}e.ChromeNotInstalledError=class extends c{constructor(){super(...arguments),this.message="No Chrome installations found.",this.code="ERR_LAUNCHER_NOT_INSTALLED"}},e.getPlatform=u,e.makeTmpDir=function(){switch(u()){case"darwin":case"linux":return s.execSync("mktemp -d -t lighthouse.XXXXXXX").toString().trim();case"wsl":process.env.TEMP=l(""+process.env.PATH);case"win32":return function(){const t=process.env.TEMP||process.env.TMP||(process.env.SystemRoot||process.env.windir)+"\\temp",e=Math.floor(9e7*Math.random()+1e7),r=i.join(t,"lighthouse."+e);return o.sync(r),r}();default:throw new h}},e.toWinDirFormat=function(t=""){const e=/\/mnt\/([a-z])\//.exec(t);if(!e)return t;const r=e[1];return t.replace(`/mnt/${r}/`,r.toUpperCase()+":\\").replace(/\//g,"\\")},e.getLocalAppDataPath=l},146:function(t,e,r){"use strict";
/**
* @license Copyright 2016 Google Inc. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/var n=this&&this.__awaiter||function(t,e,r,n){return new(r||(r=Promise))((function(i,s){function o(t){try{c(n.next(t))}catch(t){s(t)}}function a(t){try{c(n.throw(t))}catch(t){s(t)}}function c(t){var e;t.done?i(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(o,a)}c((n=n.apply(t,e||[])).next())}))};Object.defineProperty(e,"__esModule",{value:!0}),e.killAll=e.launch=e.Launcher=void 0;const i=r(125),s=r(1),o=r(33),a=r(147),c=r(154),h=r(160),u=r(161),l=r(140),f=r(139),p=i.spawn,d=i.execSync,m="wsl"===l.getPlatform(),g="win32"===l.getPlatform(),v=new Set(["darwin","linux","win32","wsl"]),y=new Set,b=()=>n(void 0,void 0,void 0,(function*(){yield w(),process.exit(130)}));function w(){return n(this,void 0,void 0,(function*(){let t=[];for(const e of y)try{yield e.kill(),y.delete(e)}catch(e){t.push(e)}return t}))}e.launch=function(t={}){return n(this,void 0,void 0,(function*(){t.handleSIGINT=l.defaults(t.handleSIGINT,!0);const e=new E(t);t.handleSIGINT&&0===y.size&&process.on("SIGINT",b),y.add(e),yield e.launch();return{pid:e.pid,port:e.port,kill:()=>n(this,void 0,void 0,(function*(){return y.delete(e),0===y.size&&process.removeListener("SIGINT",b),e.kill()})),process:e.chrome}}))},e.killAll=w;class E{constructor(t={},e={}){if(this.opts=t,this.tmpDirandPidFileReady=!1,this.fs=e.fs||s,this.rimraf=e.rimraf||a,this.spawn=e.spawn||p,f.setLevel(l.defaults(this.opts.logLevel,"silent")),this.startingUrl=l.defaults(this.opts.startingUrl,"about:blank"),this.chromeFlags=l.defaults(this.opts.chromeFlags,[]),this.requestedPort=l.defaults(this.opts.port,0),this.chromePath=this.opts.chromePath,this.ignoreDefaultFlags=l.defaults(this.opts.ignoreDefaultFlags,!1),this.connectionPollInterval=l.defaults(this.opts.connectionPollInterval,500),this.maxConnectionRetries=l.defaults(this.opts.maxConnectionRetries,50),this.envVars=l.defaults(t.envVars,Object.assign({},process.env)),"boolean"==typeof this.opts.userDataDir){if(this.opts.userDataDir)throw new l.InvalidUserDataDirectoryError;this.useDefaultProfile=!0,this.userDataDir=void 0}else this.useDefaultProfile=!1,this.userDataDir=this.opts.userDataDir}get flags(){const t=this.ignoreDefaultFlags?[]:u.DEFAULT_FLAGS.slice();return t.push("--remote-debugging-port="+this.port),this.ignoreDefaultFlags||"linux"!==l.getPlatform()||t.push("--disable-setuid-sandbox"),this.useDefaultProfile||t.push("--user-data-dir="+(m?l.toWinDirFormat(this.userDataDir):this.userDataDir)),t.push(...this.chromeFlags),t.push(this.startingUrl),t}static defaultFlags(){return u.DEFAULT_FLAGS.slice()}static getFirstInstallation(){return"darwin"===l.getPlatform()?c.darwinFast():c[l.getPlatform()]()[0]}static getInstallations(){return c[l.getPlatform()]()}makeTmpDir(){return l.makeTmpDir()}prepare(){const t=l.getPlatform();if(!v.has(t))throw new l.UnsupportedPlatformError;this.userDataDir=this.userDataDir||this.makeTmpDir(),this.outFile=this.fs.openSync(this.userDataDir+"/chrome-out.log","a"),this.errFile=this.fs.openSync(this.userDataDir+"/chrome-err.log","a"),this.pidFile=this.userDataDir+"/chrome.pid",f.verbose("ChromeLauncher","created "+this.userDataDir),this.tmpDirandPidFileReady=!0}launch(){return n(this,void 0,void 0,(function*(){if(0!==this.requestedPort){this.port=this.requestedPort;try{return yield this.isDebuggerReady()}catch(t){f.log("ChromeLauncher",`No debugging port found on port ${this.port}, launching a new Chrome.`)}}if(void 0===this.chromePath){const t=E.getFirstInstallation();if(!t)throw new l.ChromeNotInstalledError;this.chromePath=t}return this.tmpDirandPidFileReady||this.prepare(),this.pid=yield this.spawnProcess(this.chromePath),Promise.resolve()}))}spawnProcess(t){return n(this,void 0,void 0,(function*(){const e=(()=>n(this,void 0,void 0,(function*(){if(this.chrome)return f.log("ChromeLauncher",`Chrome already running with pid ${this.chrome.pid}.`),this.chrome.pid;0===this.requestedPort&&(this.port=yield h.getRandomPort()),f.verbose("ChromeLauncher",`Launching with command:\n"${t}" ${this.flags.join(" ")}`);const e=this.spawn(t,this.flags,{detached:!0,stdio:["ignore",this.outFile,this.errFile],env:this.envVars});return this.chrome=e,this.fs.writeFileSync(this.pidFile,e.pid.toString()),f.verbose("ChromeLauncher",`Chrome running with pid ${e.pid} on port ${this.port}.`),e.pid})))(),r=yield e;return yield this.waitUntilReady(),r}))}cleanup(t){t&&(t.removeAllListeners(),t.end(),t.destroy(),t.unref())}isDebuggerReady(){return new Promise((t,e)=>{const r=o.createConnection(this.port);r.once("error",t=>{this.cleanup(r),e(t)}),r.once("connect",()=>{this.cleanup(r),t()})})}waitUntilReady(){const t=this;return new Promise((e,r)=>{let n=0,i="Waiting for browser.";const s=()=>{0===n&&f.log("ChromeLauncher",i),n++,i+="..",f.log("ChromeLauncher",i),t.isDebuggerReady().then(()=>{f.log("ChromeLauncher",i+""+f.greenify(f.tick)),e()}).catch(e=>{if(n>t.maxConnectionRetries){f.error("ChromeLauncher",e.message);const t=this.fs.readFileSync(this.userDataDir+"/chrome-err.log",{encoding:"utf-8"});return f.error("ChromeLauncher",`Logging contents of ${this.userDataDir}/chrome-err.log`),f.error("ChromeLauncher",t),r(e)}l.delay(t.connectionPollInterval).then(s)})};s()})}kill(){return new Promise((t,e)=>{if(this.chrome){this.chrome.on("close",()=>{delete this.chrome,this.destroyTmp().then(t)}),f.log("ChromeLauncher","Killing Chrome instance "+this.chrome.pid);try{g?d(`taskkill /pid ${this.chrome.pid} /T /F`,{stdio:"pipe"}):process.kill(-this.chrome.pid)}catch(t){const r="Chrome could not be killed "+t.message;f.warn("ChromeLauncher",r),e(new Error(r))}}else t()})}destroyTmp(){return new Promise(t=>{if(void 0===this.userDataDir||void 0!==this.opts.userDataDir)return t();this.outFile&&(this.fs.closeSync(this.outFile),delete this.outFile),this.errFile&&(this.fs.closeSync(this.errFile),delete this.errFile),this.rimraf(this.userDataDir,()=>t())})}}e.Launcher=E,e.default=E},147:function(t,e,r){const n=r(126),i=r(0),s=r(1);let o=void 0;try{o=r(134)}catch(t){}const a={nosort:!0,silent:!0};let c=0;const h="win32"===process.platform,u=t=>{if(["unlink","chmod","stat","lstat","rmdir","readdir"].forEach(e=>{t[e]=t[e]||s[e],t[e+="Sync"]=t[e]||s[e]}),t.maxBusyTries=t.maxBusyTries||3,t.emfileWait=t.emfileWait||1e3,!1===t.glob&&(t.disableGlob=!0),!0!==t.disableGlob&&void 0===o)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");t.disableGlob=t.disableGlob||!1,t.glob=t.glob||a},l=(t,e,r)=>{"function"==typeof e&&(r=e,e={}),n(t,"rimraf: missing path"),n.equal(typeof t,"string","rimraf: path should be a string"),n.equal(typeof r,"function","rimraf: callback function required"),n(e,"rimraf: invalid options argument provided"),n.equal(typeof e,"object","rimraf: options should be object"),u(e);let i=0,s=null,a=0;const h=(t,n)=>t?r(t):(a=n.length,0===a?r():void n.forEach(t=>{const n=o=>{if(o){if(("EBUSY"===o.code||"ENOTEMPTY"===o.code||"EPERM"===o.code)&&i<e.maxBusyTries)return i++,setTimeout(()=>f(t,e,n),100*i);if("EMFILE"===o.code&&c<e.emfileWait)return setTimeout(()=>f(t,e,n),c++);"ENOENT"===o.code&&(o=null)}c=0,(t=>{s=s||t,0==--a&&r(s)})(o)};f(t,e,n)}));if(e.disableGlob||!o.hasMagic(t))return h(null,[t]);e.lstat(t,(r,n)=>{if(!r)return h(null,[t]);o(t,e.glob,h)})},f=(t,e,r)=>{n(t),n(e),n("function"==typeof r),e.lstat(t,(n,i)=>n&&"ENOENT"===n.code?r(null):(n&&"EPERM"===n.code&&h&&p(t,e,n,r),i&&i.isDirectory()?m(t,e,n,r):void e.unlink(t,n=>{if(n){if("ENOENT"===n.code)return r(null);if("EPERM"===n.code)return h?p(t,e,n,r):m(t,e,n,r);if("EISDIR"===n.code)return m(t,e,n,r)}return r(n)})))},p=(t,e,r,i)=>{n(t),n(e),n("function"==typeof i),e.chmod(t,438,n=>{n?i("ENOENT"===n.code?null:r):e.stat(t,(n,s)=>{n?i("ENOENT"===n.code?null:r):s.isDirectory()?m(t,e,r,i):e.unlink(t,i)})})},d=(t,e,r)=>{n(t),n(e);try{e.chmodSync(t,438)}catch(t){if("ENOENT"===t.code)return;throw r}let i;try{i=e.statSync(t)}catch(t){if("ENOENT"===t.code)return;throw r}i.isDirectory()?y(t,e,r):e.unlinkSync(t)},m=(t,e,r,i)=>{n(t),n(e),n("function"==typeof i),e.rmdir(t,n=>{!n||"ENOTEMPTY"!==n.code&&"EEXIST"!==n.code&&"EPERM"!==n.code?n&&"ENOTDIR"===n.code?i(r):i(n):g(t,e,i)})},g=(t,e,r)=>{n(t),n(e),n("function"==typeof r),e.readdir(t,(n,s)=>{if(n)return r(n);let o,a=s.length;if(0===a)return e.rmdir(t,r);s.forEach(n=>{l(i.join(t,n),e,n=>{if(!o)return n?r(o=n):void(0==--a&&e.rmdir(t,r))})})})},v=(t,e)=>{let r;if(u(e=e||{}),n(t,"rimraf: missing path"),n.equal(typeof t,"string","rimraf: path should be a string"),n(e,"rimraf: missing options"),n.equal(typeof e,"object","rimraf: options should be object"),e.disableGlob||!o.hasMagic(t))r=[t];else try{e.lstatSync(t),r=[t]}catch(n){r=o.sync(t,e.glob)}if(r.length)for(let t=0;t<r.length;t++){const n=r[t];let i;try{i=e.lstatSync(n)}catch(t){if("ENOENT"===t.code)return;"EPERM"===t.code&&h&&d(n,e,t)}try{i&&i.isDirectory()?y(n,e,null):e.unlinkSync(n)}catch(t){if("ENOENT"===t.code)return;if("EPERM"===t.code)return h?d(n,e,t):y(n,e,t);if("EISDIR"!==t.code)throw t;y(n,e,t)}}},y=(t,e,r)=>{n(t),n(e);try{e.rmdirSync(t)}catch(n){if("ENOENT"===n.code)return;if("ENOTDIR"===n.code)throw r;"ENOTEMPTY"!==n.code&&"EEXIST"!==n.code&&"EPERM"!==n.code||b(t,e)}},b=(t,e)=>{n(t),n(e),e.readdirSync(t).forEach(r=>v(i.join(t,r),e));const r=h?100:1;let s=0;for(;;){let n=!0;try{const i=e.rmdirSync(t,e);return n=!1,i}finally{if(++s<r&&n)continue}}};t.exports=l,l.sync=v},148:function(t,e,r){var n=r(0),i="win32"===process.platform,s=r(1),o=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function a(t){return"function"==typeof t?t:function(){var t;if(o){var e=new Error;t=function(t){t&&(e.message=t.message,r(t=e))}}else t=r;return t;function r(t){if(t){if(process.throwDeprecation)throw t;if(!process.noDeprecation){var e="fs: missing callback "+(t.stack||t.message);process.traceDeprecation?console.trace(e):console.error(e)}}}}()}n.normalize;if(i)var c=/(.*?)(?:[\/\\]+|$)/g;else c=/(.*?)(?:[\/]+|$)/g;if(i)var h=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/;else h=/^[\/]*/;e.realpathSync=function(t,e){if(t=n.resolve(t),e&&Object.prototype.hasOwnProperty.call(e,t))return e[t];var r,o,a,u,l=t,f={},p={};function d(){var e=h.exec(t);r=e[0].length,o=e[0],a=e[0],u="",i&&!p[a]&&(s.lstatSync(a),p[a]=!0)}for(d();r<t.length;){c.lastIndex=r;var m=c.exec(t);if(u=o,o+=m[0],a=u+m[1],r=c.lastIndex,!(p[a]||e&&e[a]===a)){var g;if(e&&Object.prototype.hasOwnProperty.call(e,a))g=e[a];else{var v=s.lstatSync(a);if(!v.isSymbolicLink()){p[a]=!0,e&&(e[a]=a);continue}var y=null;if(!i){var b=v.dev.toString(32)+":"+v.ino.toString(32);f.hasOwnProperty(b)&&(y=f[b])}null===y&&(s.statSync(a),y=s.readlinkSync(a)),g=n.resolve(u,y),e&&(e[a]=g),i||(f[b]=y)}t=n.resolve(g,t.slice(r)),d()}}return e&&(e[l]=t),t},e.realpath=function(t,e,r){if("function"!=typeof r&&(r=a(e),e=null),t=n.resolve(t),e&&Object.prototype.hasOwnProperty.call(e,t))return process.nextTick(r.bind(null,null,e[t]));var o,u,l,f,p=t,d={},m={};function g(){var e=h.exec(t);o=e[0].length,u=e[0],l=e[0],f="",i&&!m[l]?s.lstat(l,(function(t){if(t)return r(t);m[l]=!0,v()})):process.nextTick(v)}function v(){if(o>=t.length)return e&&(e[p]=t),r(null,t);c.lastIndex=o;var n=c.exec(t);return f=u,u+=n[0],l=f+n[1],o=c.lastIndex,m[l]||e&&e[l]===l?process.nextTick(v):e&&Object.prototype.hasOwnProperty.call(e,l)?w(e[l]):s.lstat(l,y)}function y(t,n){if(t)return r(t);if(!n.isSymbolicLink())return m[l]=!0,e&&(e[l]=l),process.nextTick(v);if(!i){var o=n.dev.toString(32)+":"+n.ino.toString(32);if(d.hasOwnProperty(o))return b(null,d[o],l)}s.stat(l,(function(t){if(t)return r(t);s.readlink(l,(function(t,e){i||(d[o]=e),b(t,e)}))}))}function b(t,i,s){if(t)return r(t);var o=n.resolve(f,i);e&&(e[s]=o),w(o)}function w(e){t=n.resolve(e,t.slice(o)),g()}g()}},149:function(t,e,r){var n=r(150),i=r(151);t.exports=function(t){if(!t)return[];"{}"===t.substr(0,2)&&(t="\\{\\}"+t.substr(2));return function t(e,r){var s=[],o=i("{","}",e);if(!o||/\$$/.test(o.pre))return[e];var c,h=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(o.body),l=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(o.body),g=h||l,v=o.body.indexOf(",")>=0;if(!g&&!v)return o.post.match(/,.*\}/)?(e=o.pre+"{"+o.body+a+o.post,t(e)):[e];if(g)c=o.body.split(/\.\./);else{if(1===(c=function t(e){if(!e)return[""];var r=[],n=i("{","}",e);if(!n)return e.split(",");var s=n.pre,o=n.body,a=n.post,c=s.split(",");c[c.length-1]+="{"+o+"}";var h=t(a);a.length&&(c[c.length-1]+=h.shift(),c.push.apply(c,h));return r.push.apply(r,c),r}(o.body)).length)if(1===(c=t(c[0],!1).map(f)).length)return(w=o.post.length?t(o.post,!1):[""]).map((function(t){return o.pre+c[0]+t}))}var y,b=o.pre,w=o.post.length?t(o.post,!1):[""];if(g){var E=u(c[0]),_=u(c[1]),S=Math.max(c[0].length,c[1].length),O=3==c.length?Math.abs(u(c[2])):1,A=d;_<E&&(O*=-1,A=m);var k=c.some(p);y=[];for(var T=E;A(T,_);T+=O){var x;if(l)"\\"===(x=String.fromCharCode(T))&&(x="");else if(x=String(T),k){var P=S-x.length;if(P>0){var D=new Array(P+1).join("0");x=T<0?"-"+D+x.slice(1):D+x}}y.push(x)}}else y=n(c,(function(e){return t(e,!1)}));for(var R=0;R<y.length;R++)for(var C=0;C<w.length;C++){var L=b+y[R]+w[C];(!r||g||L)&&s.push(L)}return s}(function(t){return t.split("\\\\").join(s).split("\\{").join(o).split("\\}").join(a).split("\\,").join(c).split("\\.").join(h)}(t),!0).map(l)};var s="\0SLASH"+Math.random()+"\0",o="\0OPEN"+Math.random()+"\0",a="\0CLOSE"+Math.random()+"\0",c="\0COMMA"+Math.random()+"\0",h="\0PERIOD"+Math.random()+"\0";function u(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function l(t){return t.split(s).join("\\").split(o).join("{").split(a).join("}").split(c).join(",").split(h).join(".")}function f(t){return"{"+t+"}"}function p(t){return/^-?0\d/.test(t)}function d(t,e){return t<=e}function m(t,e){return t>=e}},150:function(t,e){t.exports=function(t,e){for(var n=[],i=0;i<t.length;i++){var s=e(t[i],i);r(s)?n.push.apply(n,s):n.push(s)}return n};var r=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},151:function(t,e,r){"use strict";function n(t,e,r){t instanceof RegExp&&(t=i(t,r)),e instanceof RegExp&&(e=i(e,r));var n=s(t,e,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+t.length,n[1]),post:r.slice(n[1]+e.length)}}function i(t,e){var r=e.match(t);return r?r[0]:null}function s(t,e,r){var n,i,s,o,a,c=r.indexOf(t),h=r.indexOf(e,c+1),u=c;if(c>=0&&h>0){for(n=[],s=r.length;u>=0&&!a;)u==c?(n.push(u),c=r.indexOf(t,u+1)):1==n.length?a=[n.pop(),h]:((i=n.pop())<s&&(s=i,o=h),h=r.indexOf(e,u+1)),u=c<h&&c>=0?c:h;n.length&&(a=[s,o])}return a}t.exports=n,n.range=s},152:function(t,e,r){t.exports=d,d.GlobSync=m;var n=r(1),i=r(135),s=r(132),o=(s.Minimatch,r(134).Glob,r(25),r(0)),a=r(126),c=r(133),h=r(136),u=(h.alphasort,h.alphasorti,h.setopts),l=h.ownProp,f=h.childrenIgnored,p=h.isIgnored;function d(t,e){if("function"==typeof e||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");return new m(t,e).found}function m(t,e){if(!t)throw new Error("must provide pattern");if("function"==typeof e||3===arguments.length)throw new TypeError("callback provided to sync glob\nSee: https://github.com/isaacs/node-glob/issues/167");if(!(this instanceof m))return new m(t,e);if(u(this,t,e),this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var n=0;n<r;n++)this._process(this.minimatch.set[n],n,!1);this._finish()}m.prototype._finish=function(){if(a(this instanceof m),this.realpath){var t=this;this.matches.forEach((function(e,r){var n=t.matches[r]=Object.create(null);for(var s in e)try{s=t._makeAbs(s),n[i.realpathSync(s,t.realpathCache)]=!0}catch(e){if("stat"!==e.syscall)throw e;n[t._makeAbs(s)]=!0}}))}h.finish(this)},m.prototype._process=function(t,e,r){a(this instanceof m);for(var n,i=0;"string"==typeof t[i];)i++;switch(i){case t.length:return void this._processSimple(t.join("/"),e);case 0:n=null;break;default:n=t.slice(0,i).join("/")}var o,h=t.slice(i);null===n?o=".":c(n)||c(t.join("/"))?(n&&c(n)||(n="/"+n),o=n):o=n;var u=this._makeAbs(o);f(this,o)||(h[0]===s.GLOBSTAR?this._processGlobStar(n,o,u,h,e,r):this._processReaddir(n,o,u,h,e,r))},m.prototype._processReaddir=function(t,e,r,n,i,s){var a=this._readdir(r,s);if(a){for(var c=n[0],h=!!this.minimatch.negate,u=c._glob,l=this.dot||"."===u.charAt(0),f=[],p=0;p<a.length;p++){if("."!==(g=a[p]).charAt(0)||l)(h&&!t?!g.match(c):g.match(c))&&f.push(g)}var d=f.length;if(0!==d)if(1!==n.length||this.mark||this.stat){n.shift();for(p=0;p<d;p++){var m;g=f[p];m=t?[t,g]:[g],this._process(m.concat(n),i,s)}}else{this.matches[i]||(this.matches[i]=Object.create(null));for(var p=0;p<d;p++){var g=f[p];t&&(g="/"!==t.slice(-1)?t+"/"+g:t+g),"/"!==g.charAt(0)||this.nomount||(g=o.join(this.root,g)),this._emitMatch(i,g)}}}},m.prototype._emitMatch=function(t,e){if(!p(this,e)){var r=this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=r),!this.matches[t][e]){if(this.nodir){var n=this.cache[r];if("DIR"===n||Array.isArray(n))return}this.matches[t][e]=!0,this.stat&&this._stat(e)}}},m.prototype._readdirInGlobStar=function(t){if(this.follow)return this._readdir(t,!1);var e,r;try{r=n.lstatSync(t)}catch(t){if("ENOENT"===t.code)return null}var i=r&&r.isSymbolicLink();return this.symlinks[t]=i,i||!r||r.isDirectory()?e=this._readdir(t,!1):this.cache[t]="FILE",e},m.prototype._readdir=function(t,e){if(e&&!l(this.symlinks,t))return this._readdirInGlobStar(t);if(l(this.cache,t)){var r=this.cache[t];if(!r||"FILE"===r)return null;if(Array.isArray(r))return r}try{return this._readdirEntries(t,n.readdirSync(t))}catch(e){return this._readdirError(t,e),null}},m.prototype._readdirEntries=function(t,e){if(!this.mark&&!this.stat)for(var r=0;r<e.length;r++){var n=e[r];n="/"===t?t+n:t+"/"+n,this.cache[n]=!0}return this.cache[t]=e,e},m.prototype._readdirError=function(t,e){switch(e.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(t);if(this.cache[r]="FILE",r===this.cwdAbs){var n=new Error(e.code+" invalid cwd "+this.cwd);throw n.path=this.cwd,n.code=e.code,n}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:if(this.cache[this._makeAbs(t)]=!1,this.strict)throw e;this.silent||console.error("glob error",e)}},m.prototype._processGlobStar=function(t,e,r,n,i,s){var o=this._readdir(r,s);if(o){var a=n.slice(1),c=t?[t]:[],h=c.concat(a);this._process(h,i,!1);var u=o.length;if(!this.symlinks[r]||!s)for(var l=0;l<u;l++){if("."!==o[l].charAt(0)||this.dot){var f=c.concat(o[l],a);this._process(f,i,!0);var p=c.concat(o[l],n);this._process(p,i,!0)}}}},m.prototype._processSimple=function(t,e){var r=this._stat(t);if(this.matches[e]||(this.matches[e]=Object.create(null)),r){if(t&&c(t)&&!this.nomount){var n=/[\/\\]$/.test(t);"/"===t.charAt(0)?t=o.join(this.root,t):(t=o.resolve(this.root,t),n&&(t+="/"))}"win32"===process.platform&&(t=t.replace(/\\/g,"/")),this._emitMatch(e,t)}},m.prototype._stat=function(t){var e=this._makeAbs(t),r="/"===t.slice(-1);if(t.length>this.maxLength)return!1;if(!this.stat&&l(this.cache,e)){var i=this.cache[e];if(Array.isArray(i)&&(i="DIR"),!r||"DIR"===i)return i;if(r&&"FILE"===i)return!1}var s=this.statCache[e];if(!s){var o;try{o=n.lstatSync(e)}catch(t){if(t&&("ENOENT"===t.code||"ENOTDIR"===t.code))return this.statCache[e]=!1,!1}if(o&&o.isSymbolicLink())try{s=n.statSync(e)}catch(t){s=o}else s=o}this.statCache[e]=s;i=!0;return s&&(i=s.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||i,(!r||"FILE"!==i)&&i},m.prototype._mark=function(t){return h.mark(this,t)},m.prototype._makeAbs=function(t){return h.makeAbs(this,t)}},153:function(t,e,r){var n=r(137),i=Object.create(null),s=r(138);function o(t){for(var e=t.length,r=[],n=0;n<e;n++)r[n]=t[n];return r}t.exports=n((function(t,e){return i[t]?(i[t].push(e),null):(i[t]=[e],function(t){return s((function e(){var r=i[t],n=r.length,s=o(arguments);try{for(var a=0;a<n;a++)r[a].apply(null,s)}finally{r.length>n?(r.splice(0,n),process.nextTick((function(){e.apply(null,s)}))):delete i[t]}}))}(t))}))},154:function(t,e,r){"use strict";
/**
* @license Copyright 2016 Google Inc. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/Object.defineProperty(e,"__esModule",{value:!0}),e.win32=e.wsl=e.linux=e.darwin=e.darwinFast=void 0;const n=r(1),i=r(0),{homedir:s}=r(26),{execSync:o,execFileSync:a}=r(125),c=r(155),h=r(139),u=r(140),l=/\r?\n/;function f(){const t=["/Contents/MacOS/Google Chrome Canary","/Contents/MacOS/Google Chrome"],e=[],r=p();r&&e.push(r),o("/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump | grep -i 'google chrome\\( canary\\)\\?\\.app' | awk '{$1=\"\"; print $0}'").toString().split(l).forEach(r=>{t.forEach(t=>{const n=i.join(r.substring(0,r.indexOf(".app")+4).trim(),t);g(n)&&-1===e.indexOf(n)&&e.push(n)})});const n=c(process.env.HOME||s()),a=[{regex:new RegExp(`^${n}/Applications/.*Chrome\\.app`),weight:50},{regex:new RegExp(`^${n}/Applications/.*Chrome Canary\\.app`),weight:51},{regex:/^\/Applications\/.*Chrome.app/,weight:100},{regex:/^\/Applications\/.*Chrome Canary.app/,weight:101},{regex:/^\/Volumes\/.*Chrome.app/,weight:-2},{regex:/^\/Volumes\/.*Chrome Canary.app/,weight:-1}];return process.env.LIGHTHOUSE_CHROMIUM_PATH&&a.unshift({regex:new RegExp(c(process.env.LIGHTHOUSE_CHROMIUM_PATH)),weight:150}),process.env.CHROME_PATH&&a.unshift({regex:new RegExp(c(process.env.CHROME_PATH)),weight:151}),m(e,a)}function p(){return g(process.env.CHROME_PATH)?process.env.CHROME_PATH:g(process.env.LIGHTHOUSE_CHROMIUM_PATH)?(h.warn("ChromeLauncher","LIGHTHOUSE_CHROMIUM_PATH is deprecated, use CHROME_PATH env variable instead."),process.env.LIGHTHOUSE_CHROMIUM_PATH):void 0}function d(){const t=[],e=[`${i.sep}Google${i.sep}Chrome SxS${i.sep}Application${i.sep}chrome.exe`,`${i.sep}Google${i.sep}Chrome${i.sep}Application${i.sep}chrome.exe`],r=[process.env.LOCALAPPDATA,process.env.PROGRAMFILES,process.env["PROGRAMFILES(X86)"]].filter(Boolean),n=p();return n&&t.push(n),r.forEach(r=>e.forEach(e=>{const n=i.join(r,e);g(n)&&t.push(n)})),t}function m(t,e){return t.map(t=>{for(const r of e)if(r.regex.test(t))return{path:t,weight:r.weight};return{path:t,weight:10}}).sort((t,e)=>e.weight-t.weight).map(t=>t.path)}function g(t){if(!t)return!1;try{return n.accessSync(t),!0}catch(t){return!1}}e.darwinFast=function(){const t=[process.env.CHROME_PATH,process.env.LIGHTHOUSE_CHROMIUM_PATH,"/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary","/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"];for(const e of t)if(e&&g(e))return e;return f()[0]},e.darwin=f,e.linux=function(){let t=[];const e=p();if(e&&t.push(e),[i.join(s(),".local/share/applications/"),"/usr/share/applications/"].forEach(e=>{t=t.concat(function(t){const e=/(^[^ ]+).*/;let r=[];if(g(t)){let n;try{n=o(`grep -ER "^Exec=/.*/(google-chrome|chrome|chromium)-.*" ${t} | awk -F '=' '{print $2}'`,{stdio:"pipe"})}catch(e){n=o(`grep -Er "^Exec=/.*/(google-chrome|chrome|chromium)-.*" ${t} | awk -F '=' '{print $2}'`,{stdio:"pipe"})}n=n.toString().split(l).map(t=>t.replace(e,"$1")),n.forEach(t=>g(t)&&r.push(t))}return r}(e))}),["google-chrome-stable","google-chrome","chromium-browser","chromium"].forEach(e=>{try{const r=a("which",[e],{stdio:"pipe"}).toString().split(l)[0];g(r)&&t.push(r)}catch(t){}}),!t.length)throw new u.ChromePathNotSetError;const r=[{regex:/chrome-wrapper$/,weight:51},{regex:/google-chrome-stable$/,weight:50},{regex:/google-chrome$/,weight:49},{regex:/chromium-browser$/,weight:48},{regex:/chromium$/,weight:47}];return process.env.LIGHTHOUSE_CHROMIUM_PATH&&r.unshift({regex:new RegExp(c(process.env.LIGHTHOUSE_CHROMIUM_PATH)),weight:100}),process.env.CHROME_PATH&&r.unshift({regex:new RegExp(c(process.env.CHROME_PATH)),weight:101}),m((n=t.filter(Boolean),Array.from(new Set(n))),r);var n},e.wsl=function(){return process.env.LOCALAPPDATA=u.getLocalAppDataPath(""+process.env.PATH),process.env.PROGRAMFILES="/mnt/c/Program Files",process.env["PROGRAMFILES(X86)"]="/mnt/c/Program Files (x86)",d()},e.win32=d},155:function(t,e,r){"use strict";var n=/[|\\{}()[\]^$+*?.]/g;t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(n,"\\$&")}},156:function(t,e,r){"use strict";r.r(e),r.d(e,"mark",(function(){return n})),r.d(e,"stop",(function(){return i})),r.d(e,"getEntries",(function(){return s})),r.d(e,"clear",(function(){return o}));var n,i,s,o,a="undefined"!=typeof performance&&performance,c=process.hrtime,h=function(){var t=c();return 1e9*t[0]+t[1]},u=h(),l=function(){return(h()-u)/1e6};function f(t){if(!t)throw new Error("name must be non-empty")}if(a&&a.mark)n=function(t){f(t),a.mark("start "+t)},i=function(t){f(t),a.mark("end "+t),a.measure(t,"start "+t,"end "+t);var e=a.getEntriesByName(t);return e[e.length-1]},s=function(){return a.getEntriesByType("measure")},o=function(){a.clearMarks(),a.clearMeasures()};else{var p={},d=[];n=function(t){f(t);var e=l();p["$"+t]=e},i=function(t){f(t);var e=l(),r=p["$"+t];if(!r)throw new Error("no known mark: "+t);var n={startTime:r,name:t,duration:e-r,entryType:"measure"};return function(t,e){for(var r,n=0,i=t.length;n<i;)t[r=n+i>>>1].startTime<e.startTime?n=r+1:i=r;t.splice(n,0,e)}(d,n),n},s=function(){return d},o=function(){p={},d=[]}}},157:function(t,e,r){var n=r(0),i=r(1),s=parseInt("0777",8);function o(t,e,r,a){"function"==typeof e?(r=e,e={}):e&&"object"==typeof e||(e={mode:e});var c=e.mode,h=e.fs||i;void 0===c&&(c=s),a||(a=null);var u=r||function(){};t=n.resolve(t),h.mkdir(t,c,(function(r){if(!r)return u(null,a=a||t);switch(r.code){case"ENOENT":if(n.dirname(t)===t)return u(r);o(n.dirname(t),e,(function(r,n){r?u(r,n):o(t,e,u,n)}));break;default:h.stat(t,(function(t,e){t||!e.isDirectory()?u(r,a):u(null,a)}))}}))}t.exports=o.mkdirp=o.mkdirP=o,o.sync=function t(e,r,o){r&&"object"==typeof r||(r={mode:r});var a=r.mode,c=r.fs||i;void 0===a&&(a=s),o||(o=null),e=n.resolve(e);try{c.mkdirSync(e,a),o=o||e}catch(i){switch(i.code){case"ENOENT":o=t(n.dirname(e),r,o),t(e,r,o);break;default:var h;try{h=c.statSync(e)}catch(t){throw i}if(!h.isDirectory())throw i}}return o}},158:function(t,e,r){"use strict";const n=r(26),i=r(1),s=r(159),o=()=>{if("linux"!==process.platform)return!1;if(n.release().toLowerCase().includes("microsoft"))return!s();try{return!!i.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft")&&!s()}catch(t){return!1}};process.env.__IS_WSL_TEST__?t.exports=o:t.exports=o()},159:function(t,e,r){"use strict";const n=r(1);let i;t.exports=()=>(void 0===i&&(i=function(){try{return n.statSync("/.dockerenv"),!0}catch(t){return!1}}()||function(){try{return n.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch(t){return!1}}()),i)},160:function(t,e,r){"use strict";
/**
* @license Copyright 2016 Google Inc. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/Object.defineProperty(e,"__esModule",{value:!0}),e.getRandomPort=void 0;const n=r(14);e.getRandomPort=function(){return new Promise((t,e)=>{const r=n.createServer();r.listen(0),r.once("listening",()=>{const{port:e}=r.address();r.close(()=>t(e))}),r.once("error",e)})}},161:function(t,e,r){"use strict";
/**
* @license Copyright 2017 Google Inc. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
*/Object.defineProperty(e,"__esModule",{value:!0}),e.DEFAULT_FLAGS=void 0,e.DEFAULT_FLAGS=["--disable-features=TranslateUI","--disable-extensions","--disable-component-extensions-with-background-pages","--disable-background-networking","--disable-sync","--metrics-recording-only","--disable-default-apps","--mute-audio","--no-default-browser-check","--no-first-run","--disable-backgrounding-occluded-windows","--disable-renderer-backgrounding","--disable-background-timer-throttling","--force-fieldtrials=*BackgroundTracing/default/"]},166:function(t,e,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(t,e,r,n){void 0===n&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){void 0===n&&(n=r),t[n]=e[r]}),i=this&&this.__exportStar||function(t,e){for(var r in t)"default"===r||e.hasOwnProperty(r)||n(e,t,r)};Object.defineProperty(e,"__esModule",{value:!0}),i(r(146),e)}};