return!0}for(;a>f;){varh=t[f];if(this.debug("\nglobstar while",t,f,e,l,h),this.matchOne(t.slice(f),e.slice(l),n))returnthis.debug("globstar found match!",f,a,h),!0;if("."===h||".."===h||!r.dot&&"."===h.charAt(0)){this.debug("dot detected!",t,f,e,l);break}this.debug("globstar swallow a segment, and continue"),f++}returnn&&(this.debug("\n>>> no match, partial?",t,f,e,l),f===a)?!0:!1}varp;if("string"==typeofu?(p=r.nocase?c.toLowerCase()===u.toLowerCase():c===u,this.debug("string match",u,c,p)):(p=c.match(u),this.debug("pattern match",u,c,p)),!p)return!1}if(i===a&&o===s)return!0;if(i===a)returnn;if(o===s){vard=i===a-1&&""===t[i];returnd}throwError("wtf?")}},{"brace-expansion":12,path:10}],12:[function(t,e){functionn(t){returnparseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}functionr(t){returnt.split("\\\\").join(d).split("\\{").join(g).split("\\}").join(v).split("\\,").join(m).split("\\.").join(E)}functioni(t){returnt.split(d).join("\\").split(g).join("{").split(v).join("}").split(m).join(",").split(E).join(".")}functiono(t){if(!t)return[""];vare=[],n=p("{","}",t);if(!n)returnt.split(",");varr=n.pre,i=n.body,a=n.post,s=r.split(",");s[s.length-1]+="{"+i+"}";varu=o(a);returna.length&&(s[s.length-1]+=u.shift(),s.push.apply(s,u)),e.push.apply(e,s),e}functiona(t){returnt?l(r(t),!0).map(i):[]}functions(t){return"{"+t+"}"}functionu(t){return/^-?0\d/.test(t)}functionc(t,e){returne>=t}functionf(t,e){returnt>=e}functionl(t,e){varr=[],i=p("{","}",t);if(!i||/\$$/.test(i.pre))return[t];vara=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),d=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),g=a||d,m=/^(.*,)+(.+)?$/.test(i.body);if(!g&&!m)returni.post.match(/,.*}/)?(t=i.pre+"{"+i.body+v+i.post,l(t)):[t];varE;if(g)E=i.body.split(/\.\./);elseif(E=o(i.body),1===E.length&&(E=l(E[0],!1).map(s),1===E.length)){vary=i.post.length?l(i.post,!1):[""];returny.map(function(t){returni.pre+E[0]+t})}varb,w=i.pre,y=i.post.length?l(i.post,!1):[""];if(g){varO=n(E[0]),I=n(E[1]),A=Math.max(E[0].length,E[1].length),T=3==E.length?Math.abs(n(E[2])):1,j=c,R=O>I;R&&(T*=-1,j=f);varS=E.some(u);b=[];for(varx=O;j(x,I);x+=T){varD;if(d)D=String.fromCharCode(x),"\\"===D&&(D="");elseif(D=x+"",S){var_=A-D.length;if(_>0){varN=Array(_+1).join("0");D=0>x?"-"+N+D.slice(1):N+D}}b.push(D)}}elseb=h(E,function(t){returnl(t,!1)});for(varL=0;b.length>L;L++)for(varB=0;y.length>B;B++){varM=w+b[L]+y[B];(!e||g||M)&&r.push(M)}returnr}varh=t("concat-map"),p=t("balanced-match");e.exports=a;vard="\0SLASH"+Math.random()+"\0",g="\0OPEN"+Math.random()+"\0",v="\0CLOSE"+Math.random()+"\0",m="\0COMMA"+Math.random()+"\0",E="\0PERIOD"+Math.random()+"\0"},{"balanced-match":13,"concat-map":14}],13:[function(t,e){functionn(t,e,r){for(vari=0,o={},a=!1,s=0;r.length>s;s++)if(t==r.substr(s,t.length))"start"ino||(o.start=s),i++;elseif(e==r.substr(s,e.length)&&"start"ino&&(a=!0,i--,!i))returno.end=s,o.pre=r.substr(0,o.start),o.body=o.end-o.start>1?r.substring(o.start+t.length,o.end):"",o.post=r.slice(o.end+e.length),o;if(i&&a){varu=o.start+t.length;returno=n(t,e,r.substr(u)),o&&(o.start+=u,o.end+=u,o.pre=r.slice(0,u)+o.pre),o}}e.exports=n},{}],14:[function(t,e){e.exports=function(t,e){for(varr=[],i=0;t.length>i;i++){varo=e(t[i],i);n(o)?r.push.apply(r,o):r.push(o)}returnr};varn=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},{}],15:[function(t,e){(function(t){functionn(e,n,r){returneinstanceofArrayBuffer&&(e=newUint8Array(e)),newt(e,n,r)}n.prototype=Object.create(t.prototype),n.prototype.constructor=n,Object.keys(t).forEach(function(e){t.hasOwnProperty(e)&&(n[e]=t[e])}),e.exports=n}).call(this,t("buffer").Buffer)},{buffer:6}],16:[function(t,e){varn="READ",r="WRITE",i="CREATE",o="EXCLUSIVE",a="TRUNCATE",s="APPEND",u="CREATE",c="REPLACE";e.exports={FILE_SYSTEM_NAME:"local",FILE_STORE_NAME:"files",IDB_RO:"readonly",IDB_RW:"readwrite",WSQL_VERSION:"1",WSQL_SIZE:5242880,WSQL_DESC:"FileSystem Storage",MODE_FILE:"FILE",MODE_DIRECTORY:"DIRECTORY",MODE_SYMBOLIC_LINK:"SYMLINK",MODE_META:"META",SYMLOOP_MAX:10
};e.exports={normalize:o,resolve:i,join:a,relative:s,sep:"/",delimiter:":",dirname:u,basename:c,extname:f,isAbsolute:l,isNull:h,addTrailing:p,removeTrailing:d}},{}],27:[function(t,e){varn=t("./indexeddb.js"),r=t("./websql.js"),i=t("./memory.js");e.exports={IndexedDB:n,WebSQL:r,Memory:i,Default:n,Fallback:function(){functiont(){throw"[Filer Error] Your browser doesn't support IndexedDB or WebSQL."}returnn.isSupported()?n:r.isSupported()?r:(t.isSupported=function(){return!1},t)}()}},{"./indexeddb.js":28,"./memory.js":29,"./websql.js":30}],28:[function(t,e){(function(n,r){functioni(t,e){varn=t.transaction(c,e);this.objectStore=n.objectStore(c)}functiono(t,e,n){try{varr=t.get(e);r.onsuccess=function(t){vare=t.target.result;n(null,e)},r.onerror=function(t){n(t)}}catch(i){n(i)}}functiona(t,e,n,r){try{vari=t.put(n,e);i.onsuccess=function(t){vare=t.target.result;r(null,e)},i.onerror=function(t){r(t)}}catch(o){r(o)}}functions(t){this.name=t||u,this.db=null}varu=t("../constants.js").FILE_SYSTEM_NAME,c=t("../constants.js").FILE_STORE_NAME,f=t("../constants.js").IDB_RW;t("../constants.js").IDB_RO;varl=t("../errors.js"),h=t("../buffer.js"),p=n.indexedDB||n.mozIndexedDB||n.webkitIndexedDB||n.msIndexedDB;i.prototype.clear=function(t){try{vare=this.objectStore.clear();e.onsuccess=function(){t()},e.onerror=function(e){t(e)}}catch(n){t(n)}},i.prototype.getObject=function(t,e){o(this.objectStore,t,e)},i.prototype.getBuffer=function(t,e){o(this.objectStore,t,function(t,n){returnt?e(t):(e(null,newh(n)),void0)})},i.prototype.putObject=function(t,e,n){a(this.objectStore,t,e,n)},i.prototype.putBuffer=function(t,e,n){vari;i=r._useTypedArrays?e.buffer:e.toArrayBuffer(),a(this.objectStore,t,i,n)},i.prototype.delete=function(t,e){try{varn=this.objectStore.delete(t);n.onsuccess=function(t){varn=t.target.result;e(null,n)},n.onerror=function(t){e(t)}}catch(r){e(r)}},s.isSupported=function(){return!!p},s.prototype.open=function(t){vare=this;if(e.db)returnt();varn=p.open(e.name);n.onupgradeneeded=function(t){vare=t.target.result;e.objectStoreNames.contains(c)&&e.deleteObjectStore(c),e.createObjectStore(c)},n.onsuccess=function(n){e.db=n.target.result,t()},n.onerror=function(){t(newl.EINVAL("IndexedDB cannot be accessed. If private browsing is enabled, disable it."))}},s.prototype.getReadOnlyContext=function(){returnnewi(this.db,f)},s.prototype.getReadWriteContext=function(){returnnewi(this.db,f)},e.exports=s}).call(this,"undefined"!=typeofself?self:"undefined"!=typeofwindow?window:{},t("buffer").Buffer)},{"../buffer.js":15,"../constants.js":16,"../errors.js":19,buffer:6}],29:[function(t,e){functionn(t,e){this.readOnly=e,this.objectStore=t}functionr(t){this.name=t||i}vari=t("../constants.js").FILE_SYSTEM_NAME,o=t("../../lib/async.js").setImmediate,a=function(){vart={};returnfunction(e){returnt.hasOwnProperty(e)||(t[e]={}),t[e]}}();n.prototype.clear=function(t){if(this.readOnly)returno(function(){t("[MemoryContext] Error: write operation on read only context")}),void0;vare=this.objectStore;Object.keys(e).forEach(function(t){deletee[t]}),o(t)},n.prototype.getObject=n.prototype.getBuffer=function(t,e){varn=this;o(function(){e(null,n.objectStore[t])})},n.prototype.putObject=n.prototype.putBuffer=function(t,e,n){returnthis.readOnly?(o(function(){n("[MemoryContext] Error: write operation on read only context")}),void0):(this.objectStore[t]=e,o(n),void0)},n.prototype.delete=function(t,e){returnthis.readOnly?(o(function(){e("[MemoryContext] Error: write operation on read only context")}),void0):(deletethis.objectStore[t],o(e),void0)},r.isSupported=function(){return!0},r.prototype.open=function(t){this.db=a(this.name),o(t)},r.prototype.getReadOnlyContext=function(){returnnewn(this.db,!0)},r.prototype.getReadWriteContext=function(){returnnewn(this.db,!1)},e.exports=r},{"../../lib/async.js":1,"../constants.js":16}],30:[function(t,e){(function(n){functionr(t,e){varn=this;this.getTransaction=function(r){returnn.transaction?(r(n.transaction),void0):(t[e?"readTransaction":"transaction"](function(t){n.transactio