You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

9 lines
278 KiB
JavaScript

!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.git=e():t.git=e()}(self,(function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=165)}([function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(24);function i(t,e){if(void 0===e)throw new r.a(t)}},function(t,e,n){"use strict";function r(t){return t.replace(/\/\.\//g,"/").replace(/\/{2,}/g,"/").replace(/^\/\.$/,"/").replace(/^\.\/$/,".").replace(/^\.\//,"").replace(/\/\.$/,"").replace(/(.+)\/$/,"$1").replace(/^$/,".")}function i(...t){return r(t.map(r).join("/"))}n.d(e,"a",(function(){return i}))},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return f}));var r=n(20),i=n.n(r),o=n(32),a=n(25);function s(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){s(o,r,i,a,u,"next",t)}function u(t){s(o,r,i,a,u,"throw",t)}a(void 0)}))}}const c=new WeakMap;class f{constructor(t){if(c.has(t))return c.get(t);if(c.has(t._original_unwrapped_fs))return c.get(t._original_unwrapped_fs);if(void 0!==t._original_unwrapped_fs)return t;const e=Object.getOwnPropertyDescriptor(t,"promises");e&&e.enumerable?(this._readFile=t.promises.readFile.bind(t.promises),this._writeFile=t.promises.writeFile.bind(t.promises),this._mkdir=t.promises.mkdir.bind(t.promises),this._rmdir=t.promises.rmdir.bind(t.promises),this._unlink=t.promises.unlink.bind(t.promises),this._stat=t.promises.stat.bind(t.promises),this._lstat=t.promises.lstat.bind(t.promises),this._readdir=t.promises.readdir.bind(t.promises),this._readlink=t.promises.readlink.bind(t.promises),this._symlink=t.promises.symlink.bind(t.promises)):(this._readFile=i()(t.readFile.bind(t)),this._writeFile=i()(t.writeFile.bind(t)),this._mkdir=i()(t.mkdir.bind(t)),this._rmdir=i()(t.rmdir.bind(t)),this._unlink=i()(t.unlink.bind(t)),this._stat=i()(t.stat.bind(t)),this._lstat=i()(t.lstat.bind(t)),this._readdir=i()(t.readdir.bind(t)),this._readlink=i()(t.readlink.bind(t)),this._symlink=i()(t.symlink.bind(t))),this._original_unwrapped_fs=t,c.set(t,this)}exists(t,e={}){var n=this;return u((function*(){try{return yield n._stat(t),!0}catch(t){if("ENOENT"===t.code||"ENOTDIR"===t.code)return!1;throw console.log('Unhandled error in "FileSystem.exists()" function',t),t}}))()}read(e,n={}){var r=this;return u((function*(){try{let i=yield r._readFile(e,n);return"string"!=typeof i&&(i=t.from(i)),i}catch(t){return null}}))()}write(t,e,n={}){var r=this;return u((function*(){try{return void(yield r._writeFile(t,e,n))}catch(i){yield r.mkdir(Object(a.a)(t)),yield r._writeFile(t,e,n)}}))()}mkdir(t,e=!1){var n=this;return u((function*(){try{return void(yield n._mkdir(t))}catch(r){if(null===r)return;if("EEXIST"===r.code)return;if(e)throw r;if("ENOENT"===r.code){const e=Object(a.a)(t);if("."===e||"/"===e||e===t)throw r;yield n.mkdir(e),yield n.mkdir(t,!0)}}}))()}rm(t){var e=this;return u((function*(){try{yield e._unlink(t)}catch(t){if("ENOENT"!==t.code)throw t}}))()}rmdir(t){var e=this;return u((function*(){try{yield e._rmdir(t)}catch(t){if("ENOENT"!==t.code)throw t}}))()}readdir(t){var e=this;return u((function*(){try{const n=yield e._readdir(t);return n.sort(o.a),n}catch(t){return"ENOTDIR"===t.code?null:[]}}))()}readdirDeep(t){var e=this;return u((function*(){const n=yield e._readdir(t);return(yield Promise.all(n.map(function(){var n=u((function*(n){const r=t+"/"+n;return(yield e._stat(r)).isDirectory()?e.readdirDeep(r):r}));return function(t){return n.apply(this,arguments)}}()))).reduce((t,e)=>t.concat(e),[])}))()}lstat(t){var e=this;return u((function*(){try{return yield e._lstat(t)}catch(t){if("ENOENT"===t.code)return null;throw t}}))()}readlink(t,e={encoding:"buffer"}){var n=this;return u((function*(){try{return n._readlink(t,e)}catch(t){if("ENOENT"===t.code)return null;throw t}}))()}writelink(t,e){var n=this;return u((function*(){return n._symlink(e.toString("utf8"),t)}))()}}}).call(this,n(10).Buffer)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));class r extends Error{constructor(t){super(t),this.caller=""}toJSON(){return{code:this.code,data:this.data,caller:this.caller,message:this.message,stack:this.stack}}fromJSON(t){const e=new r(t.message);return e.code=t.code,e.data=t.data,e.caller=t.caller,e.stack=t.stack,e}get isIsomorphicGitError(){return!0}}},function(t,e,n){"use strict";var r=n(28),i=n(57),o=n(8);class a{constructor(t){if(this.refs=new Map,this.parsedConfig=[],t){let e=null;this.parsedConfig=t.trim().split("\n").map(t=>{if(/^\s*#/.test(t))return{line:t,comment:!0};const n=t.indexOf(" ");if(t.startsWith("^")){const n=t.slice(1);return this.refs.set(e+"^{}",n),{line:t,ref:e,peeled:n}}{const r=t.slice(0,n);return e=t.slice(n+1),this.refs.set(e,r),{line:t,ref:e,oid:r}}})}return this}static from(t){return new a(t)}delete(t){this.parsedConfig=this.parsedConfig.filter(e=>e.ref!==t),this.refs.delete(t)}toString(){return this.parsedConfig.map(({line:t})=>t).join("\n")+"\n"}}var s=n(93);function u(t,e){const n=t.replace(/\^\{\}$/,""),r=e.replace(/\^\{\}$/,""),i=-(n<r)||+(n>r);return 0===i?t.endsWith("^{}")?1:-1:i}var c=n(1),f=n(13);function l(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function d(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){l(o,r,i,a,s,"next",t)}function s(t){l(o,r,i,a,s,"throw",t)}a(void 0)}))}}n.d(e,"a",(function(){return g}));const h=t=>[`${t}`,`refs/${t}`,`refs/tags/${t}`,`refs/heads/${t}`,`refs/remotes/${t}`,`refs/remotes/${t}/HEAD`],p=["config","description","index","shallow","commondir"];class g{static updateRemoteRefs({fs:t,gitdir:e,remote:n,refs:o,symrefs:a,tags:u,refspecs:l,prune:h=!1,pruneTags:p=!1}){return d((function*(){for(const t of o.values())if(!t.match(/[0-9a-f]{40}/))throw new r.a(t);const d=yield f.a.get({fs:t,gitdir:e});if(!l){if(0===(l=yield d.getall(`remote.${n}.fetch`)).length)throw new i.a(n);l.unshift(`+HEAD:refs/remotes/${n}/HEAD`)}const y=s.a.from(l),v=new Map;if(p){const n=yield g.listRefs({fs:t,gitdir:e,filepath:"refs/tags"});yield g.deleteRefs({fs:t,gitdir:e,refs:n.map(t=>`refs/tags/${t}`)})}if(u)for(const n of o.keys())if(n.startsWith("refs/tags")&&!n.endsWith("^{}")&&!(yield g.exists({fs:t,gitdir:e,ref:n}))){const t=o.get(n+"^{}")||o.get(n);v.set(n,t)}const m=y.translate([...o.keys()]);for(const[t,e]of m){const n=o.get(t);v.set(e,n)}const w=y.translate([...a.keys()]);for(const[t,e]of w){const n=a.get(t),r=y.translateOne(n);r&&v.set(e,`ref: ${r}`)}const b=[];if(h){for(const n of y.localNamespaces()){const r=(yield g.listRefs({fs:t,gitdir:e,filepath:n})).map(t=>`${n}/${t}`);for(const t of r)v.has(t)||b.push(t)}b.length>0&&(yield g.deleteRefs({fs:t,gitdir:e,refs:b}))}for(const[n,r]of v)yield t.write(Object(c.a)(e,n),`${r.trim()}\n`,"utf8");return{pruned:b}}))()}static writeRef({fs:t,gitdir:e,ref:n,value:i}){return d((function*(){if(!i.match(/[0-9a-f]{40}/))throw new r.a(i);yield t.write(Object(c.a)(e,n),`${i.trim()}\n`,"utf8")}))()}static writeSymbolicRef({fs:t,gitdir:e,ref:n,value:r}){return d((function*(){yield t.write(Object(c.a)(e,n),"ref: "+`${r.trim()}\n`,"utf8")}))()}static deleteRef({fs:t,gitdir:e,ref:n}){return d((function*(){return g.deleteRefs({fs:t,gitdir:e,refs:[n]})}))()}static deleteRefs({fs:t,gitdir:e,refs:n}){return d((function*(){yield Promise.all(n.map(n=>t.rm(Object(c.a)(e,n))));let r=yield t.read(`${e}/packed-refs`,{encoding:"utf8"});const i=a.from(r),o=i.refs.size;for(const t of n)i.refs.has(t)&&i.delete(t);i.refs.size<o&&(r=i.toString(),yield t.write(`${e}/packed-refs`,r,{encoding:"utf8"}))}))()}static resolve({fs:t,gitdir:e,ref:n,depth:r}){return d((function*(){if(void 0!==r&&-1===--r)return n;let i;if(n.startsWith("ref: "))return n=n.slice("ref: ".length),g.resolve({fs:t,gitdir:e,ref:n,depth:r});if(40===n.length&&/[0-9a-f]{40}/.test(n))return n;const a=yield g.packedRefs({fs:t,gitdir:e}),s=h(n).filter(t=>!p.includes(t));for(const n of s)if(i=(yield t.read(`${e}/${n}`,{encoding:"utf8"}))||a.get(n),i)return g.resolve({fs:t,gitdir:e,ref:i.trim(),depth:r});throw new o.a(n)}))()}static exists({fs:t,gitdir:e,ref:n}){return d((function*(){try{return yield g.expand({fs:t,gitdir:e,ref:n}),!0}catch(t){return!1}}))()}static expand({fs:t,gitdir:e,ref:n}){return d((function*(){if(40===n.length&&/[0-9a-f]{40}/.test(n))return n;const r=yield g.packedRefs({fs:t,gitdir:e}),i=h(n);for(const n of i){if(yield t.exists(`${e}/${n}`))return n;if(r.has(n))return n}throw new o.a(n)}))()}static expandAgainstMap({ref:t,map:e}){return d((function*(){const n=h(t);for(const t of n)if(yield e.has(t))return t;throw new o.a(t)}))()}static resolveAgainstMap({ref:t,fullref:e=t,depth:n,map:r}){if(void 0!==n&&-1===--n)return{fullref:e,oid:t};if(t.startsWith("ref: "))return t=t.slice("ref: ".length),g.resolveAgainstMap({ref:t,fullref:e,depth:n,map:r});if(40===t.length&&/[0-9a-f]{40}/.test(t))return{fullref:e,oid:t};const i=h(t);for(const t of i){const e=r.get(t);if(e)return g.resolveAgainstMap({ref:e.trim(),fullref:t,depth:n,map:r})}throw new o.a(t)}static packedRefs({fs:t,gitdir:e}){return d((function*(){const n=yield t.read(`${e}/packed-refs`,{encoding:"utf8"});return a.from(n).refs}))()}static listRefs({fs:t,gitdir:e,filepath:n}){return d((function*(){const r=g.packedRefs({fs:t,gitdir:e});let i=null;try{i=yield t.readdirDeep(`${e}/${n}`),i=i.map(t=>t.replace(`${e}/${n}/`,""))}catch(t){i=[]}for(let t of(yield r).keys())t.startsWith(n)&&(t=t.replace(n+"/",""),i.includes(t)||i.push(t));return i.sort(u),i}))()}static listBranches({fs:t,gitdir:e,remote:n}){return d((function*(){return n?g.listRefs({fs:t,gitdir:e,filepath:`refs/remotes/${n}`}):g.listRefs({fs:t,gitdir:e,filepath:"refs/heads"})}))()}static listTags({fs:t,gitdir:e}){return d((function*(){return(yield g.listRefs({fs:t,gitdir:e,filepath:"refs/tags"})).filter(t=>!t.endsWith("^{}"))}))()}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t){super(`An internal error caused this command to fail. Please file a bug report at https://github.com/isomorphic-git/isomorphic-git/issues with this error message: ${t}`),this.code=this.name=i.code,this.data={message:t}}}i.code="InternalError"},,function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return d}));var r=n(5),i=n(8),o=n(22),a=n(118),s=n(119),u=n(70),c=n(16);function f(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){f(o,r,i,a,s,"next",t)}function s(t){f(o,r,i,a,s,"throw",t)}a(void 0)}))}}function d(t){return h.apply(this,arguments)}function h(){return(h=l((function*({fs:e,gitdir:n,oid:f,format:l="content"}){const h=t=>d({fs:e,gitdir:n,oid:t});let p;if("4b825dc642cb6eb9a060e54bf8d69288fbee4904"===f&&(p={format:"wrapped",object:t.from("tree 0\0")}),p||(p=yield Object(a.a)({fs:e,gitdir:n,oid:f})),p||(p=yield Object(s.a)({fs:e,gitdir:n,oid:f,getExternalRefDelta:h})),!p)throw new i.a(f);if("deflated"===l)return p;switch(p.format){case"deflated":p.object=t.from(yield Object(u.a)(p.object)),p.format="wrapped";case"wrapped":{if("wrapped"===l&&"wrapped"===p.format)return p;const t=yield Object(c.a)(p.object);if(t!==f)throw new r.a(`SHA check failed! Expected ${f}, computed ${t}`);const{object:e,type:n}=o.a.unwrap(p.object);p.type=n,p.object=e,p.format="content"}case"content":if("content"===l)return p;break;default:throw new r.a(`invalid format "${p.format}"`)}}))).apply(this,arguments)}}).call(this,n(10).Buffer)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t){super(`Could not find ${t}.`),this.code=this.name=i.code,this.data={what:t}}}i.code="NotFoundError"},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return a}));var r=n(69),i=n(38);function o(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}class a{static flush(){return t.from("0000","utf8")}static encode(e){"string"==typeof e&&(e=t.from(e));const n=e.length+4,r=Object(i.a)(4,n);return t.concat([t.from(r,"utf8"),e])}static streamReader(t){const e=new r.a(t);return(function(){var t,n=(t=function*(){try{let t=yield e.read(4);if(null==t)return!0;if(t=parseInt(t.toString("utf8"),16),0===t)return null;const n=yield e.read(t-4);return null==n||n}catch(t){return console.log("error",t),!0}},function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function s(t){o(a,r,i,s,u,"next",t)}function u(t){o(a,r,i,s,u,"throw",t)}s(void 0)}))});return function(){return n.apply(this,arguments)}}())}}}).call(this,n(10).Buffer)},function(t,e,n){"use strict";(function(t){
/*!
* The buffer module from node.js, for the browser.
*
* @author Feross Aboukhadijeh <http://feross.org>
* @license MIT
*/
var r=n(82),i=n(133),o=n(134);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(a()<e)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=u.prototype:(null===t&&(t=new u(e)),t.length=e),t}function u(t,e,n){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return l(this,t)}return c(this,t,e,n)}function c(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r);u.TYPED_ARRAY_SUPPORT?(t=e).__proto__=u.prototype:t=d(t,e);return t}(t,e,n,r):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!u.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(e,n),i=(t=s(t,r)).write(e,n);i!==r&&(t=t.slice(0,i));return t}(t,e,n):function(t,e){if(u.isBuffer(e)){var n=0|h(e.length);return 0===(t=s(t,n)).length?t:(e.copy(t,0,0,n),t)}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length)!=r?s(t,0):d(t,e);if("Buffer"===e.type&&o(e.data))return d(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function f(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function l(t,e){if(f(e),t=s(t,e<0?0:0|h(e)),!u.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function d(t,e){var n=e.length<0?0:0|h(e.length);t=s(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function h(t){if(t>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|t}function p(t,e){if(u.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return M(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return F(t).length;default:if(r)return M(t).length;e=(""+e).toLowerCase(),r=!0}}function g(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return A(this,e,n);case"utf8":case"utf-8":return k(this,e,n);case"ascii":return E(this,e,n);case"latin1":case"binary":return S(this,e,n);case"base64":return P(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function y(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function v(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=u.from(e,r)),u.isBuffer(e))return 0===e.length?-1:m(t,e,n,r,i);if("number"==typeof e)return e&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):m(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function m(t,e,n,r,i){var o,a=1,s=t.length,u=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;a=2,s/=2,u/=2,n/=2}function c(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(i){var f=-1;for(o=n;o<s;o++)if(c(t,o)===c(e,-1===f?0:o-f)){if(-1===f&&(f=o),o-f+1===u)return f*a}else-1!==f&&(o-=o-f),f=-1}else for(n+u>s&&(n=s-u),o=n;o>=0;o--){for(var l=!0,d=0;d<u;d++)if(c(t,o+d)!==c(e,d)){l=!1;break}if(l)return o}return-1}function w(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(e.substr(2*a,2),16);if(isNaN(s))return a;t[n+a]=s}return a}function b(t,e,n,r){return L(M(e,t.length-n),t,n,r)}function _(t,e,n,r){return L(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function O(t,e,n,r){return _(t,e,n,r)}function x(t,e,n,r){return L(F(e),t,n,r)}function j(t,e,n,r){return L(function(t,e){for(var n,r,i,o=[],a=0;a<t.length&&!((e-=2)<0);++a)n=t.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function P(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function k(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,a,s,u,c=t[i],f=null,l=c>239?4:c>223?3:c>191?2:1;if(i+l<=n)switch(l){case 1:c<128&&(f=c);break;case 2:128==(192&(o=t[i+1]))&&(u=(31&c)<<6|63&o)>127&&(f=u);break;case 3:o=t[i+1],a=t[i+2],128==(192&o)&&128==(192&a)&&(u=(15&c)<<12|(63&o)<<6|63&a)>2047&&(u<55296||u>57343)&&(f=u);break;case 4:o=t[i+1],a=t[i+2],s=t[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(f=u)}null===f?(f=65533,l=1):f>65535&&(f-=65536,r.push(f>>>10&1023|55296),f=56320|1023&f),r.push(f),i+=l}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=4096));return n}(r)}e.Buffer=u,e.SlowBuffer=function(t){+t!=t&&(t=0);return u.alloc(+t)},e.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=a(),u.poolSize=8192,u._augment=function(t){return t.__proto__=u.prototype,t},u.from=function(t,e,n){return c(null,t,e,n)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(t,e,n){return function(t,e,n,r){return f(e),e<=0?s(t,e):void 0!==n?"string"==typeof r?s(t,e).fill(n,r):s(t,e).fill(n):s(t,e)}(null,t,e,n)},u.allocUnsafe=function(t){return l(null,t)},u.allocUnsafeSlow=function(t){return l(null,t)},u.isBuffer=function(t){return!(null==t||!t._isBuffer)},u.compare=function(t,e){if(!u.isBuffer(t)||!u.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},u.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return u.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=u.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var a=t[n];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},u.byteLength=p,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)y(this,e,e+1);return this},u.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},u.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},u.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?k(this,0,t):g.apply(this,arguments)},u.prototype.equals=function(t){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===u.compare(this,t)},u.prototype.inspect=function(){var t="",n=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},u.prototype.compare=function(t,e,n,r,i){if(!u.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),a=(n>>>=0)-(e>>>=0),s=Math.min(o,a),c=this.slice(r,i),f=t.slice(e,n),l=0;l<s;++l)if(c[l]!==f[l]){o=c[l],a=f[l];break}return o<a?-1:a<o?1:0},u.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},u.prototype.indexOf=function(t,e,n){return v(this,t,e,n,!0)},u.prototype.lastIndexOf=function(t,e,n){return v(this,t,e,n,!1)},u.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return w(this,t,e,n);case"utf8":case"utf-8":return b(this,t,e,n);case"ascii":return _(this,t,e,n);case"latin1":case"binary":return O(this,t,e,n);case"base64":return x(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function E(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function S(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function A(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=N(t[o]);return i}function $(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function R(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function B(t,e,n,r,i,o){if(!u.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function I(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function U(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function T(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function z(t,e,n,r,o){return o||T(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function C(t,e,n,r,o){return o||T(t,0,n,8),i.write(t,e,n,r,52,8),n+8}u.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),u.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=u.prototype;else{var i=e-t;n=new u(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+t]}return n},u.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},u.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},u.prototype.readUInt8=function(t,e){return e||R(t,1,this.length),this[t]},u.prototype.readUInt16LE=function(t,e){return e||R(t,2,this.length),this[t]|this[t+1]<<8},u.prototype.readUInt16BE=function(t,e){return e||R(t,2,this.length),this[t]<<8|this[t+1]},u.prototype.readUInt32LE=function(t,e){return e||R(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},u.prototype.readUInt32BE=function(t,e){return e||R(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},u.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},u.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||R(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},u.prototype.readInt8=function(t,e){return e||R(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},u.prototype.readInt16LE=function(t,e){e||R(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt16BE=function(t,e){e||R(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},u.prototype.readInt32LE=function(t,e){return e||R(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},u.prototype.readInt32BE=function(t,e){return e||R(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},u.prototype.readFloatLE=function(t,e){return e||R(t,4,this.length),i.read(this,t,!0,23,4)},u.prototype.readFloatBE=function(t,e){return e||R(t,4,this.length),i.read(this,t,!1,23,4)},u.prototype.readDoubleLE=function(t,e){return e||R(t,8,this.length),i.read(this,t,!0,52,8)},u.prototype.readDoubleBE=function(t,e){return e||R(t,8,this.length),i.read(this,t,!1,52,8)},u.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||B(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},u.prototype.writeUIntBE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||B(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},u.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,1,255,0),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},u.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):I(this,t,e,!0),e+2},u.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):I(this,t,e,!1),e+2},u.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):U(this,t,e,!0),e+4},u.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):U(this,t,e,!1),e+4},u.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);B(this,t,e,n,i-1,-i)}var o=0,a=1,s=0;for(this[e]=255&t;++o<n&&(a*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},u.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);B(this,t,e,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[e+o]=255&t;--o>=0&&(a*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/a>>0)-s&255;return e+n},u.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,1,127,-128),u.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},u.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):I(this,t,e,!0),e+2},u.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):I(this,t,e,!1),e+2},u.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):U(this,t,e,!0),e+4},u.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||B(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),u.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):U(this,t,e,!1),e+4},u.prototype.writeFloatLE=function(t,e,n){return z(this,t,e,!0,n)},u.prototype.writeFloatBE=function(t,e,n){return z(this,t,e,!1,n)},u.prototype.writeDoubleLE=function(t,e,n){return C(this,t,e,!0,n)},u.prototype.writeDoubleBE=function(t,e,n){return C(this,t,e,!1,n)},u.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!u.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},u.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!u.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var a=u.isBuffer(t)?t:M(new u(t,r).toString()),s=a.length;for(o=0;o<n-e;++o)this[o+e]=a[o%s]}return this};var D=/[^+\/0-9A-Za-z-_]/g;function N(t){return t<16?"0"+t.toString(16):t.toString(16)}function M(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],a=0;a<r;++a){if((n=t.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function F(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(D,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function L(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}}).call(this,n(132))},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return u}));var r=n(5),i=n(46),o=n(117);function a(t){switch(t){case"040000":return"tree";case"100644":case"100755":case"120000":return"blob";case"160000":return"commit"}throw new r.a(`Unexpected GitTree entry mode: ${t}`)}function s(t){return!t.oid&&t.sha&&(t.oid=t.sha),t.mode=function(t){if("number"==typeof t&&(t=t.toString(8)),t.match(/^0?4.*/))return"040000";if(t.match(/^1006.*/))return"100644";if(t.match(/^1007.*/))return"100755";if(t.match(/^120.*/))return"120000";if(t.match(/^160.*/))return"160000";throw new r.a(`Could not understand file mode: ${t}`)}(t.mode),t.type||(t.type=a(t.mode)),t}class u{constructor(e){if(t.isBuffer(e))this._entries=function(t){const e=[];let n=0;for(;n<t.length;){const i=t.indexOf(32,n);if(-1===i)throw new r.a(`GitTree: Error parsing buffer at byte location ${n}: Could not find the next space character.`);const o=t.indexOf(0,n);if(-1===o)throw new r.a(`GitTree: Error parsing buffer at byte location ${n}: Could not find the next null character.`);let s=t.slice(n,i).toString("utf8");"40000"===s&&(s="040000");const u=a(s),c=t.slice(i+1,o).toString("utf8"),f=t.slice(o+1,o+21).toString("hex");n=o+21,e.push({mode:s,path:c,oid:f,type:u})}return e}(e);else{if(!Array.isArray(e))throw new r.a("invalid type passed to GitTree constructor");this._entries=e.map(s)}this._entries.sort(i.a)}static from(t){return new u(t)}render(){return this._entries.map(t=>`${t.mode} ${t.type} ${t.oid} ${t.path}`).join("\n")}toObject(){const e=[...this._entries];return e.sort(o.a),t.concat(e.map(e=>{const n=t.from(e.mode.replace(/^0/,"")),r=t.from(" "),i=t.from(e.path,"utf8"),o=t.from([0]),a=t.from(e.oid,"hex");return t.concat([n,r,i,o,a])}))}entries(){return this._entries}*[Symbol.iterator](){for(const t of this._entries)yield t}}}).call(this,n(10).Buffer)},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return f}));var r=n(5),i=n(53),o=n(75),a=n(19),s=n(123),u=n(39);function c(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}class f{constructor(e){if("string"==typeof e)this._commit=e;else if(t.isBuffer(e))this._commit=e.toString("utf8");else{if("object"!=typeof e)throw new r.a("invalid type passed to GitCommit constructor");this._commit=f.render(e)}}static fromPayloadSignature({payload:t,signature:e}){const n=f.justHeaders(t),r=f.justMessage(t),i=Object(a.a)(n+"\ngpgsig"+Object(o.a)(e)+"\n"+r);return new f(i)}static from(t){return new f(t)}toObject(){return t.from(this._commit,"utf8")}headers(){return this.parseHeaders()}message(){return f.justMessage(this._commit)}parse(){return Object.assign({message:this.message()},this.headers())}static justMessage(t){return Object(a.a)(t.slice(t.indexOf("\n\n")+2))}static justHeaders(t){return t.slice(0,t.indexOf("\n\n"))}parseHeaders(){const t=f.justHeaders(this._commit).split("\n"),e=[];for(const n of t)" "===n[0]?e[e.length-1]+="\n"+n.slice(1):e.push(n);const n={parent:[]};for(const t of e){const e=t.slice(0,t.indexOf(" ")),r=t.slice(t.indexOf(" ")+1);Array.isArray(n[e])?n[e].push(r):n[e]=r}return n.author&&(n.author=Object(u.a)(n.author)),n.committer&&(n.committer=Object(u.a)(n.committer)),n}static renderHeaders(t){let e="";if(t.tree?e+=`tree ${t.tree}\n`:e+="tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904\n",t.parent){if(void 0===t.parent.length)throw new r.a("commit 'parent' property should be an array");for(const n of t.parent)e+=`parent ${n}\n`}const n=t.author;e+=`author ${Object(i.a)(n)}\n`;const a=t.committer||t.author;return e+=`committer ${Object(i.a)(a)}\n`,t.gpgsig&&(e+="gpgsig"+Object(o.a)(t.gpgsig)),e}static render(t){return f.renderHeaders(t)+"\n"+Object(a.a)(t.message)}render(){return this._commit}withoutSignature(){const t=Object(a.a)(this._commit);if(-1===t.indexOf("\ngpgsig"))return t;const e=t.slice(0,t.indexOf("\ngpgsig")),n=t.slice(t.indexOf("-----END PGP SIGNATURE-----\n")+"-----END PGP SIGNATURE-----\n".length);return Object(a.a)(e+"\n"+n)}isolateSignature(){const t=this._commit.slice(this._commit.indexOf("-----BEGIN PGP SIGNATURE-----"),this._commit.indexOf("-----END PGP SIGNATURE-----")+"-----END PGP SIGNATURE-----".length);return Object(s.a)(t)}static sign(t,e,n){return(r=function*(){const r=t.withoutSignature(),i=f.justMessage(t._commit);let{signature:s}=yield e({payload:r,secretKey:n});s=Object(a.a)(s);const u=f.justHeaders(t._commit)+"\ngpgsig"+Object(o.a)(s)+"\n"+i;return f.from(u)},function(){var t=this,e=arguments;return new Promise((function(n,i){var o=r.apply(t,e);function a(t){c(o,n,i,a,s,"next",t)}function s(t){c(o,n,i,a,s,"throw",t)}a(void 0)}))})();var r}}}).call(this,n(10).Buffer)},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(92);function i(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function s(t){i(a,r,o,s,u,"next",t)}function u(t){i(a,r,o,s,u,"throw",t)}s(void 0)}))}}class a{static get({fs:t,gitdir:e}){return o((function*(){const n=yield t.read(`${e}/config`,{encoding:"utf8"});return r.a.from(n)}))()}static save({fs:t,gitdir:e,config:n}){return o((function*(){yield t.write(`${e}/config`,n.toString(),{encoding:"utf8"})}))()}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t,e,n,r){super(`Object ${t} ${r?`at ${r}`:""}was anticipated to be a ${n} but it is a ${e}.`),this.code=this.name=i.code,this.data={oid:t,actual:e,expected:n,filepath:r}}}i.code="ObjectTypeError"},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return u}));var r=n(5),i=n(53),o=n(19),a=n(39);function s(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}class u{constructor(e){if("string"==typeof e)this._tag=e;else if(t.isBuffer(e))this._tag=e.toString("utf8");else{if("object"!=typeof e)throw new r.a("invalid type passed to GitAnnotatedTag constructor");this._tag=u.render(e)}}static from(t){return new u(t)}static render(t){return`object ${t.object}\ntype ${t.type}\ntag ${t.tag}\ntagger ${Object(i.a)(t.tagger)}\n\n${t.message}\n${t.gpgsig?t.gpgsig:""}`}justHeaders(){return this._tag.slice(0,this._tag.indexOf("\n\n"))}message(){const t=this.withoutSignature();return t.slice(t.indexOf("\n\n")+2)}parse(){return Object.assign(this.headers(),{message:this.message(),gpgsig:this.gpgsig()})}render(){return this._tag}headers(){const t=this.justHeaders().split("\n"),e=[];for(const n of t)" "===n[0]?e[e.length-1]+="\n"+n.slice(1):e.push(n);const n={};for(const t of e){const e=t.slice(0,t.indexOf(" ")),r=t.slice(t.indexOf(" ")+1);Array.isArray(n[e])?n[e].push(r):n[e]=r}return n.tagger&&(n.tagger=Object(a.a)(n.tagger)),n.committer&&(n.committer=Object(a.a)(n.committer)),n}withoutSignature(){const t=Object(o.a)(this._tag);return-1===t.indexOf("\n-----BEGIN PGP SIGNATURE-----")?t:t.slice(0,t.lastIndexOf("\n-----BEGIN PGP SIGNATURE-----"))}gpgsig(){if(-1===this._tag.indexOf("\n-----BEGIN PGP SIGNATURE-----"))return;const t=this._tag.slice(this._tag.indexOf("-----BEGIN PGP SIGNATURE-----"),this._tag.indexOf("-----END PGP SIGNATURE-----")+"-----END PGP SIGNATURE-----".length);return Object(o.a)(t)}payload(){return this.withoutSignature()+"\n"}toObject(){return t.from(this._tag,"utf8")}static sign(t,e,n){return(r=function*(){const r=t.payload();let{signature:i}=yield e({payload:r,secretKey:n});i=Object(o.a)(i);const a=r+i;return u.from(a)},function(){var t=this,e=arguments;return new Promise((function(n,i){var o=r.apply(t,e);function a(t){s(o,n,i,a,u,"next",t)}function u(t){s(o,n,i,a,u,"throw",t)}a(void 0)}))})();var r}}}).call(this,n(10).Buffer)},function(t,e,n){"use strict";var r=n(64),i=n.n(r);function o(t){let e="";for(const n of new Uint8Array(t))n<16&&(e+="0"),e+=n.toString(16);return e}function a(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function s(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function s(t){a(o,r,i,s,u,"next",t)}function u(t){a(o,r,i,s,u,"throw",t)}s(void 0)}))}}n.d(e,"a",(function(){return c}));let u=null;function c(t){return f.apply(this,arguments)}function f(){return(f=s((function*(t){return null===u&&(u=yield p()),u?d(t):l(t)}))).apply(this,arguments)}function l(t){return(new i.a).update(t).digest("hex")}function d(t){return h.apply(this,arguments)}function h(){return(h=s((function*(t){return o(yield crypto.subtle.digest("SHA-1",t))}))).apply(this,arguments)}function p(){return g.apply(this,arguments)}function g(){return(g=s((function*(){try{if("da39a3ee5e6b4b0d3255bfef95601890afd80709"===(yield d(new Uint8Array([]))))return!0}catch(t){}return!1}))).apply(this,arguments)}},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return c}));var r=n(22),i=n(125),o=n(71),a=n(16);function s(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){s(o,r,i,a,u,"next",t)}function u(t){s(o,r,i,a,u,"throw",t)}a(void 0)}))}}function c(t){return f.apply(this,arguments)}function f(){return(f=u((function*({fs:e,gitdir:n,type:s,object:u,format:c="content",oid:f,dryRun:l=!1}){return"deflated"!==c&&("wrapped"!==c&&(u=r.a.wrap({type:s,object:u})),f=yield Object(a.a)(u),u=t.from(yield Object(o.a)(u))),l||(yield Object(i.a)({fs:e,gitdir:n,object:u,format:"deflated",oid:f})),f}))).apply(this,arguments)}}).call(this,n(10).Buffer)},function(t,e,n){"use strict";var r=n(52),i=n.n(r),o=n(90);const a=(t,e)=>{for(const n of t)e.has(n)||e.set(n,new Map),e=e.get(n);return e};class s{constructor(){this._root=new Map}set(t,e){const n=t.pop();a(t,this._root).set(n,e)}get(t){const e=t.pop();return a(t,this._root).get(e)}has(t){const e=t.pop();return a(t,this._root).has(e)}}var u=n(66);function c(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function f(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){c(o,r,i,a,s,"next",t)}function s(t){c(o,r,i,a,s,"throw",t)}a(void 0)}))}}n.d(e,"a",(function(){return y}));const l=new s,d=new s;let h=null;function p(){return(p=f((function*(t,e){const n=yield t.lstat(e),r=yield t.read(e),i=yield o.a.from(r);l.set([t,e],i),d.set([t,e],n)}))).apply(this,arguments)}function g(){return(g=f((function*(t,e){const n=d.get([t,e]);if(void 0===n)return!0;const r=yield t.lstat(e);return null!==n&&(null!==r&&Object(u.a)(n,r))}))).apply(this,arguments)}class y{static acquire({fs:t,gitdir:e},n){return f((function*(){const r=`${e}/index`;let o;return null===h&&(h=new i.a({maxPending:1/0})),yield h.acquire(r,f((function*(){(yield function(t,e){return g.apply(this,arguments)}(t,r))&&(yield function(t,e){return p.apply(this,arguments)}(t,r));const e=l.get([t,r]);if(o=yield n(e),e._dirty){const n=yield e.toObject();yield t.write(r,n),d.set([t,r],yield t.lstat(r)),e._dirty=!1}}))),o}))()}}},function(t,e,n){"use strict";function r(t){return t=(t=(t=t.replace(/\r/g,"")).replace(/^\n+/,"")).replace(/\n+$/,"")+"\n"}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";const r=(t,e)=>function(...n){return new(0,e.promiseModule)((r,i)=>{e.multiArgs?n.push((...t)=>{e.errorFirst?t[0]?i(t):(t.shift(),r(t)):r(t)}):e.errorFirst?n.push((t,e)=>{t?i(t):r(e)}):n.push(r),t.apply(this,n)})};t.exports=(t,e)=>{e=Object.assign({exclude:[/.+(Sync|Stream)$/],errorFirst:!0,promiseModule:Promise},e);const n=typeof t;if(null===t||"object"!==n&&"function"!==n)throw new TypeError(`Expected \`input\` to be a \`Function\` or \`Object\`, got \`${null===t?"null":n}\``);const i=t=>{const n=e=>"string"==typeof e?t===e:e.test(t);return e.include?e.include.some(n):!e.exclude.some(n)};let o;o="function"===n?function(...n){return e.excludeMain?t(...n):r(t,e).apply(this,n)}:Object.create(Object.getPrototypeOf(t));for(const n in t){const a=t[n];o[n]="function"==typeof a&&i(n)?r(a,e):a}return o}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t){super(`No name was provided for ${t} in the argument or in the .git/config file.`),this.code=this.name=i.code,this.data={role:t}}}i.code="MissingNameError"},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return i}));var r=n(5);class i{static wrap({type:e,object:n}){return t.concat([t.from(`${e} ${n.byteLength.toString()}\0`),t.from(n)])}static unwrap(e){const n=e.indexOf(32),i=e.indexOf(0),o=e.slice(0,n).toString("utf8"),a=e.slice(n+1,i).toString("utf8"),s=e.length-(i+1);if(parseInt(a)!==s)throw new r.a(`Length mismatch: expected ${a} bytes but got ${s} instead.`);return{type:o,object:t.from(e.slice(i+1))}}}}).call(this,n(10).Buffer)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));class r{constructor(t){this.buffer=t,this._start=0}eof(){return this._start>=this.buffer.length}tell(){return this._start}seek(t){this._start=t}slice(t){const e=this.buffer.slice(this._start,this._start+t);return this._start+=t,e}toString(t,e){const n=this.buffer.toString(t,this._start,this._start+e);return this._start+=e,n}write(t,e,n){const r=this.buffer.write(t,this._start,e,n);return this._start+=e,r}readUInt8(){const t=this.buffer.readUInt8(this._start);return this._start+=1,t}writeUInt8(t){const e=this.buffer.writeUInt8(t,this._start);return this._start+=1,e}readUInt16BE(){const t=this.buffer.readUInt16BE(this._start);return this._start+=2,t}writeUInt16BE(t){const e=this.buffer.writeUInt16BE(t,this._start);return this._start+=2,e}readUInt32BE(){const t=this.buffer.readUInt32BE(this._start);return this._start+=4,t}writeUInt32BE(t){const e=this.buffer.writeUInt32BE(t,this._start);return this._start+=4,e}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t){super(`The function requires a "${t}" parameter but none was provided.`),this.code=this.name=i.code,this.data={parameter:t}}}i.code="MissingParameterError"},function(t,e,n){"use strict";function r(t){const e=Math.max(t.lastIndexOf("/"),t.lastIndexOf("\\"));return-1===e?".":0===e?"/":t.slice(0,e)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;function i(t,e){return Object.prototype.hasOwnProperty.call(t,e)}e.assign=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var n=e.shift();if(n){if("object"!=typeof n)throw new TypeError(n+"must be non-object");for(var r in n)i(n,r)&&(t[r]=n[r])}}return t},e.shrinkBuf=function(t,e){return t.length===e?t:t.subarray?t.subarray(0,e):(t.length=e,t)};var o={arraySet:function(t,e,n,r,i){if(e.subarray&&t.subarray)t.set(e.subarray(n,n+r),i);else for(var o=0;o<r;o++)t[i+o]=e[n+o]},flattenChunks:function(t){var e,n,r,i,o,a;for(r=0,e=0,n=t.length;e<n;e++)r+=t[e].length;for(a=new Uint8Array(r),i=0,e=0,n=t.length;e<n;e++)o=t[e],a.set(o,i),i+=o.length;return a}},a={arraySet:function(t,e,n,r,i){for(var o=0;o<r;o++)t[i+o]=e[n+o]},flattenChunks:function(t){return[].concat.apply([],t)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,o)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,a))},e.setTyped(r)},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t,e,n=!0){super(`Failed to create ${t} at ${e} because it already exists.${n?` (Hint: use 'force: true' parameter to overwrite existing ${t}.)`:""}`),this.code=this.name=i.code,this.data={noun:t,where:e,canForce:n}}}i.code="AlreadyExistsError"},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t){super(`Expected a 40-char hex object id but saw "${t}".`),this.code=this.name=i.code,this.data={value:t}}}i.code="InvalidOidError"},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(65);function i(t,e,n,r){if(void 0!==t&&void 0!==e)return[t,e];void 0===n&&(n=r.valueOf());const i=Math.floor(n/1e3);return[i,1e6*(n-1e3*i)]}function o(t){const[e,n]=i(t.ctimeSeconds,t.ctimeNanoseconds,t.ctimeMs,t.ctime),[o,a]=i(t.mtimeSeconds,t.mtimeNanoseconds,t.mtimeMs,t.mtime);return{ctimeSeconds:e%2**32,ctimeNanoseconds:n%2**32,mtimeSeconds:o%2**32,mtimeNanoseconds:a%2**32,dev:t.dev%2**32,ino:t.ino%2**32,mode:Object(r.a)(t.mode%2**32),uid:t.uid%2**32,gid:t.gid%2**32,size:t.size>-1?t.size%2**32:0}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t,e){super(`Expected "${t}" but received "${e}".`),this.code=this.name=i.code,this.data={expected:t,actual:e}}}i.code="ParseError"},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=Symbol("GitWalkSymbol")},function(t,e,n){"use strict";function r(t,e){return-(t<e)||+(t>e)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(74);function i(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function s(t){i(a,r,o,s,u,"next",t)}function u(t){i(a,r,o,s,u,"throw",t)}s(void 0)}))}}function a(t,e){return s.apply(this,arguments)}function s(){return(s=o((function*(t,e){const n=Object(r.a)(t);for(;;){const{value:t,done:r}=yield n.next();if(t&&(yield e(t)),r)break}n.return&&n.return()}))).apply(this,arguments)}},function(t,e,n){"use strict";function r(t){const e=Math.max(t.lastIndexOf("/"),t.lastIndexOf("\\"));return e>-1&&(t=t.slice(e+1)),t}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(52),i=n.n(r),o=n(1);function a(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function s(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function s(t){a(o,r,i,s,u,"next",t)}function u(t){a(o,r,i,s,u,"throw",t)}s(void 0)}))}}let u=null;class c{static read({fs:t,gitdir:e}){return s((function*(){null===u&&(u=new i.a);const n=Object(o.a)(e,"shallow"),r=new Set;return yield u.acquire(n,s((function*(){const e=yield t.read(n,{encoding:"utf8"});return null===e?r:""===e.trim()?r:void e.trim().split("\n").map(t=>r.add(t))}))),r}))()}static write({fs:t,gitdir:e,oids:n}){return s((function*(){null===u&&(u=new i.a);const r=Object(o.a)(e,"shallow");if(n.size>0){const e=[...n].join("\n")+"\n";yield u.acquire(r,s((function*(){yield t.write(r,e,{encoding:"utf8"})})))}else yield u.acquire(r,s((function*(){yield t.rm(r)})))}))()}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(){super("Merges with conflicts are not supported yet."),this.code=this.name=i.code,this.data={}}}i.code="MergeNotSupportedError"},function(t,e,n){"use strict";var r={};(0,n(26).assign)(r,n(149),n(152),n(109)),t.exports=r},function(t,e,n){"use strict";function r(t,e){const n=e.toString(16);return"0".repeat(t-n.length)+n}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t){const[,e,n,r,o]=t.match(/^(.*) <(.*)> (.*) (.*)$/);return{name:e,email:n,timestamp:Number(r),timezoneOffset:i(o)}}function i(t){let[,e,n,r]=t.match(/(\+|-)(\d\d)(\d\d)/);return r=("+"===e?1:-1)*(60*Number(n)+Number(r)),0===(i=r)?i:-i;var i}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";var r=n(8),i=n(14),o=n(4),a=n(11),s=n(7),u=n(1),c=n(65),f=n(47);function l(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function d(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){l(o,r,i,a,s,"next",t)}function s(t){l(o,r,i,a,s,"throw",t)}a(void 0)}))}}class h{constructor({fs:t,gitdir:e,ref:n}){this.fs=t,this.gitdir=e,this.mapPromise=d((function*(){const i=new Map;let a;try{a=yield o.a.resolve({fs:t,gitdir:e,ref:n})}catch(t){t instanceof r.a&&(a="4b825dc642cb6eb9a060e54bf8d69288fbee4904")}const s=yield Object(f.a)({fs:t,gitdir:e,oid:a});return s.type="tree",s.mode="40000",i.set(".",s),i}))();const i=this;this.ConstructEntry=class{constructor(t){this._fullpath=t,this._type=!1,this._mode=!1,this._stat=!1,this._content=!1,this._oid=!1}type(){var t=this;return d((function*(){return i.type(t)}))()}mode(){var t=this;return d((function*(){return i.mode(t)}))()}stat(){var t=this;return d((function*(){return i.stat(t)}))()}content(){var t=this;return d((function*(){return i.content(t)}))()}oid(){var t=this;return d((function*(){return i.oid(t)}))()}}}readdir(t){var e=this;return d((function*(){const n=t._fullpath,{fs:r,gitdir:o}=e,c=yield e.mapPromise,f=c.get(n);if(!f)throw new Error(`No obj for ${n}`);const l=f.oid;if(!l)throw new Error(`No oid for obj ${JSON.stringify(f)}`);if("tree"!==f.type)return null;const{type:d,object:h}=yield Object(s.a)({fs:r,gitdir:o,oid:l});if(d!==f.type)throw new i.a(l,d,f.type);const p=a.a.from(h);for(const t of p)c.set(Object(u.a)(n,t.path),t);return p.entries().map(t=>Object(u.a)(n,t.path))}))()}type(t){var e=this;return d((function*(){if(!1===t._type){const n=yield e.mapPromise,{type:r}=n.get(t._fullpath);t._type=r}return t._type}))()}mode(t){var e=this;return d((function*(){if(!1===t._mode){const n=yield e.mapPromise,{mode:r}=n.get(t._fullpath);t._mode=Object(c.a)(parseInt(r,8))}return t._mode}))()}stat(t){return d((function*(){}))()}content(t){var e=this;return d((function*(){if(!1===t._content){const n=yield e.mapPromise,{fs:r,gitdir:i}=e,o=n.get(t._fullpath).oid,{type:a,object:u}=yield Object(s.a)({fs:r,gitdir:i,oid:o});t._content="blob"!==a?void 0:new Uint8Array(u)}return t._content}))()}oid(t){var e=this;return d((function*(){if(!1===t._oid){const n=(yield e.mapPromise).get(t._fullpath);t._oid=n.oid}return t._oid}))()}}var p=n(31);function g({ref:t="HEAD"}){const e=Object.create(null);return Object.defineProperty(e,p.a,{value:function({fs:e,gitdir:n}){return new h({fs:e,gitdir:n,ref:t})}}),Object.freeze(e),e}n.d(e,"a",(function(){return g}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(33);function i(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function s(t){i(a,r,o,s,u,"next",t)}function u(t){i(a,r,o,s,u,"throw",t)}s(void 0)}))}}function a(t){return s.apply(this,arguments)}function s(){return(s=o((function*(t){let e=0;const n=[];yield Object(r.a)(t,t=>{n.push(t),e+=t.byteLength});const i=new Uint8Array(e);let o=0;for(const t of n)i.set(t,o),o+=t.byteLength;return i}))).apply(this,arguments)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(80),i=n(47);function o(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function a(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function s(t){o(a,r,i,s,u,"next",t)}function u(t){o(a,r,i,s,u,"throw",t)}s(void 0)}))}}function s(t){return u.apply(this,arguments)}function u(){return(u=a((function*({fs:t,gitdir:e,oid:n,filepath:o}){void 0!==o&&(n=yield Object(r.a)({fs:t,gitdir:e,oid:n,filepath:o}));const{tree:a,oid:s}=yield Object(i.a)({fs:t,gitdir:e,oid:n});return{oid:s,tree:a.entries()}}))).apply(this,arguments)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(4),i=n(98);function o(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function a(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function s(t){o(a,r,i,s,u,"next",t)}function u(t){o(a,r,i,s,u,"throw",t)}s(void 0)}))}}function s(t){return u.apply(this,arguments)}function u(){return(u=a((function*({fs:t,gitdir:e,fullname:n=!1,test:o=!1}){const a=yield r.a.resolve({fs:t,gitdir:e,ref:"HEAD",depth:2});if(o)try{yield r.a.resolve({fs:t,gitdir:e,ref:a})}catch(t){return}if(a.startsWith("refs/"))return n?a:Object(i.a)(a)}))).apply(this,arguments)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t,e){super(`"${t}" would be an invalid git reference. (Hint: a valid alternative would be "${e}".)`),this.code=this.name=i.code,this.data={ref:t,suggestion:e}}}i.code="InvalidRefNameError"},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t,e){super(`HTTP Error: ${t} ${e}`),this.code=this.name=i.code,this.data={statusCode:t,statusMessage:e}}}i.code="HttpError"},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(32);function i(t,e){return Object(r.a)(t.path,e.path)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(14),i=n(15),o=n(12),a=n(11),s=n(7);function u(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function c(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){u(o,r,i,a,s,"next",t)}function s(t){u(o,r,i,a,s,"throw",t)}a(void 0)}))}}function f(t){return l.apply(this,arguments)}function l(){return(l=c((function*({fs:t,gitdir:e,oid:n}){if("4b825dc642cb6eb9a060e54bf8d69288fbee4904"===n)return{tree:a.a.from([]),oid:n};const{type:u,object:c}=yield Object(s.a)({fs:t,gitdir:e,oid:n});if("tag"===u)return f({fs:t,gitdir:e,oid:n=i.a.from(c).parse().object});if("commit"===u)return f({fs:t,gitdir:e,oid:n=o.a.from(c).parse().tree});if("tree"!==u)throw new r.a(n,u,"tree");return{tree:a.a.from(c),oid:n}}))).apply(this,arguments)}},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return g}));var r=n(120),i=n.n(r),o=n(121),a=n.n(o),s=n(5),u=n(23),c=n(122),f=n(70),l=n(16),d=n(22);function h(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function p(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){h(o,r,i,a,s,"next",t)}function s(t){h(o,r,i,a,s,"throw",t)}a(void 0)}))}}class g{constructor(t){Object.assign(this,t),this.offsetCache={}}static fromIdx({idx:t,getExternalRefDelta:e}){return p((function*(){const n=new u.a(t);if("ff744f63"!==n.slice(4).toString("hex"))return;const r=n.readUInt32BE();if(2!==r)throw new s.a(`Unable to read version ${r} packfile IDX. (Only version 2 supported)`);if(t.byteLength>2147483648)throw new s.a("To keep implementation simple, I haven't implemented the layer 5 feature needed to support packfiles > 2GB in size.");n.seek(n.tell()+1020);const i=n.readUInt32BE(),o=[];for(let t=0;t<i;t++){const e=n.slice(20).toString("hex");o[t]=e}n.seek(n.tell()+4*i);const a=new Map;for(let t=0;t<i;t++)a.set(o[t],n.readUInt32BE());const c=n.slice(20).toString("hex");return new g({hashes:o,crcs:{},offsets:a,packfileSha:c,getExternalRefDelta:e})}))()}static fromPack({pack:t,getExternalRefDelta:e,onProgress:n}){return p((function*(){const r={1:"commit",2:"tree",3:"blob",4:"tag",6:"ofs-delta",7:"ref-delta"},o={},a=t.slice(-20).toString("hex"),s=[],u={},f=new Map;let h=null,y=null;yield Object(c.a)([t],function(){var t=p((function*({data:t,type:e,reference:i,offset:a,num:s}){null===h&&(h=s);const u=Math.floor(100*(h-s)/h);u!==y&&n&&(yield n({phase:"Receiving objects",loaded:h-s,total:h})),y=u,["commit","tree","blob","tag"].includes(e=r[e])?o[a]={type:e,offset:a}:"ofs-delta"===e?o[a]={type:e,offset:a}:"ref-delta"===e&&(o[a]={type:e,offset:a})}));return function(e){return t.apply(this,arguments)}}());const v=Object.keys(o).map(Number);for(const[e,n]of v.entries()){const r=e+1===v.length?t.byteLength-20:v[e+1],a=o[n],s=i.a.buf(t.slice(n,r))>>>0;a.end=r,a.crc=s}const m=new g({pack:Promise.resolve(t),packfileSha:a,crcs:u,hashes:s,offsets:f,getExternalRefDelta:e});y=null;let w=0;const b=[0,0,0,0,0,0,0,0,0,0,0,0];for(let t in o){t=Number(t);const e=Math.floor(100*w++/h);e!==y&&n&&(yield n({phase:"Resolving deltas",loaded:w,total:h})),y=e;const r=o[t];if(!r.oid)try{m.readDepth=0,m.externalReadDepth=0;const{type:e,object:n}=yield m.readSlice({start:t});b[m.readDepth]+=1;const i=yield Object(l.a)(d.a.wrap({type:e,object:n}));r.oid=i,s.push(i),f.set(i,t),u[i]=r.crc}catch(t){continue}}return s.sort(),m}))()}toBuffer(){var e=this;return p((function*(){const n=[],r=(e,r)=>{n.push(t.from(e,r))};r("ff744f63","hex"),r("00000002","hex");const i=new u.a(t.alloc(1024));for(let t=0;t<256;t++){let n=0;for(const r of e.hashes)parseInt(r.slice(0,2),16)<=t&&n++;i.writeUInt32BE(n)}n.push(i.buffer);for(const t of e.hashes)r(t,"hex");const o=new u.a(t.alloc(4*e.hashes.length));for(const t of e.hashes)o.writeUInt32BE(e.crcs[t]);n.push(o.buffer);const a=new u.a(t.alloc(4*e.hashes.length));for(const t of e.hashes)a.writeUInt32BE(e.offsets.get(t));n.push(a.buffer),r(e.packfileSha,"hex");const s=t.concat(n),c=yield Object(l.a)(s),f=t.alloc(20);return f.write(c,"hex"),t.concat([s,f])}))()}load({pack:t}){var e=this;return p((function*(){e.pack=t}))()}unload(){var t=this;return p((function*(){t.pack=null}))()}read({oid:t}){var e=this;return p((function*(){if(!e.offsets.get(t)){if(e.getExternalRefDelta)return e.externalReadDepth++,e.getExternalRefDelta(t);throw new s.a(`Could not read object ${t} from packfile`)}const n=e.offsets.get(t);return e.readSlice({start:n})}))()}readSlice({start:e}){var n=this;return p((function*(){if(n.offsetCache[e])return Object.assign({},n.offsetCache[e]);n.readDepth++;if(!n.pack)throw new s.a("Tried to read from a GitPackIndex with no packfile loaded into memory");const r=(yield n.pack).slice(e),i=new u.a(r),o=i.readUInt8(),c=112&o;let l={16:"commit",32:"tree",48:"blob",64:"tag",96:"ofs_delta",112:"ref_delta"}[c];if(void 0===l)throw new s.a("Unrecognized type: 0b"+c.toString(2));const d=15&o;let h=d;128&o&&(h=function(t,e){let n=e,r=4,i=null;do{i=t.readUInt8(),n|=(127&i)<<r,r+=7}while(128&i);return n}(i,d));let p=null,g=null;if("ofs_delta"===l){const t=function(t){const e=[];let n=0,r=0;do{n=t.readUInt8();const i=127&n;e.push(i),r=128&n}while(r);return e.reduce((t,e)=>t+1<<7|e,-1)}(i),r=e-t;({object:p,type:l}=yield n.readSlice({start:r}))}if("ref_delta"===l){const t=i.slice(20).toString("hex");({object:p,type:l}=yield n.read({oid:t}))}const y=r.slice(i.tell());if(g=t.from(yield Object(f.a)(y)),g.byteLength!==h)throw new s.a(`Packfile told us object would have length ${h} but it had length ${g.byteLength}`);return p&&(g=t.from(a()(g,p))),n.readDepth>3&&(n.offsetCache[e]={type:l,object:g}),{type:l,format:"content",object:g}}))()}}}).call(this,n(10).Buffer)},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r={name:"isomorphic-git",version:"1.0.0-beta.36",agent:"git/isomorphic-git@1.0.0-beta.36"}},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return v}));var r=n(45),i=n(58),o=n(61),a=n(72),s=n(41),u=n(99),c=n(73);function f(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?f(n,!0).forEach((function(e){d(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):f(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function d(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function h(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function p(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){h(o,r,i,a,s,"next",t)}function s(t){h(o,r,i,a,s,"throw",t)}a(void 0)}))}}const g=(t,e)=>t.endsWith("?")?`${t}${e}`:`${t}/${e.replace(/^https?:\/\//,"")}`,y=(t,e)=>{(e.username||e.password)&&(t.Authorization=Object(a.a)(e)),e.headers&&Object.assign(t,e.headers)};class v{static capabilities(){return p((function*(){return["discover","connect"]}))()}static discover({http:e,onProgress:n,onAuth:f,onAuthSuccess:d,onAuthFailure:h,corsProxy:v,service:m,url:w,headers:b}){return p((function*(){let{url:p,auth:_}=Object(u.a)(w);const O=v?g(v,p):p;let x,j;(_.username||_.password)&&(b.Authorization=Object(a.a)(_));let P=!1;do{if(x=yield e.request({onProgress:n,method:"GET",url:`${O}/info/refs?service=${m}`,headers:b}),j=!1,401===x.statusCode||203===x.statusCode){const t=P?h:f;if(t){if(_=yield t(p,l({},_,{headers:l({},b)})),_&&_.cancel)throw new o.a;_&&(y(b,_),P=!0,j=!0)}}else 200===x.statusCode&&P&&d&&(yield d(p,_))}while(j);if(200!==x.statusCode)throw new r.a(x.statusCode,x.statusMessage);if(x.headers["content-type"]===`application/x-${m}-advertisement`){const t=yield Object(c.a)(x.body,{service:m});return t.auth=_,t}{const e=t.from(yield Object(s.a)(x.body)),n=e.toString("utf8"),r=n.length<256?n:n.slice(0,256)+"...";try{const t=yield Object(c.a)([e],{service:m});return t.auth=_,t}catch(t){throw new i.a(r,n)}}}))()}static connect({http:t,onProgress:e,corsProxy:n,service:i,url:o,auth:a,body:s,headers:c}){return p((function*(){const f=Object(u.a)(o);f&&(o=f.url),n&&(o=g(n,o)),c["content-type"]=`application/x-${i}-request`,c.accept=`application/x-${i}-result`,y(c,a);const l=yield t.request({onProgress:e,method:"POST",url:`${o}/${i}`,body:s,headers:c});if(200!==l.statusCode)throw new r.a(l.statusCode,l.statusMessage);return l}))()}}}).call(this,n(10).Buffer)},function(t,e,n){"use strict";function r(t,e){const n=e-t;return Array.from({length:n},(e,n)=>t+n)}var i=n(97),o=n(31);class a{constructor(){this.value=null}consider(t){null!=t&&(null===this.value?this.value=t:t<this.value&&(this.value=t))}reset(){this.value=null}}function*s(t){const e=new a;let n;const r=[],i=t.length;for(let n=0;n<i;n++)r[n]=t[n].next().value,void 0!==r[n]&&e.consider(r[n]);if(null!==e.value)for(;;){const o=[];n=e.value,e.reset();for(let a=0;a<i;a++)void 0!==r[a]&&r[a]===n?(o[a]=r[a],r[a]=t[a].next().value):o[a]=null,void 0!==r[a]&&e.consider(r[a]);if(yield o,null===e.value)return}}function u(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function c(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){u(o,r,i,a,s,"next",t)}function s(t){u(o,r,i,a,s,"throw",t)}a(void 0)}))}}function f(t){return l.apply(this,arguments)}function l(){return(l=c((function*({fs:t,dir:e,gitdir:n,trees:a,map:u=function(){var t=c((function*(t,e){return e}));return function(e,n){return t.apply(this,arguments)}}(),reduce:f=function(){var t=c((function*(t,e){const n=Object(i.a)(e);return void 0!==t&&n.unshift(t),n}));return function(e,n){return t.apply(this,arguments)}}(),iterate:l=((t,e)=>Promise.all([...e].map(t)))}){const d=a.map(r=>r[o.a]({fs:t,dir:e,gitdir:n})),h=new Array(d.length).fill("."),p=r(0,d.length),g=function(){var t=c((function*(t){p.map(e=>{t[e]=t[e]&&new d[e].ConstructEntry(t[e])});const e=(yield Promise.all(p.map(e=>t[e]?d[e].readdir(t[e]):[]))).map(t=>null===t?[]:t).map(t=>t[Symbol.iterator]());return{entries:t,children:s(e)}}));return function(e){return t.apply(this,arguments)}}(),y=function(){var t=c((function*(t){const{entries:e,children:n}=yield g(t),r=e.find(t=>t&&t._fullpath)._fullpath,i=yield u(r,e);if(null!==i){let t=yield l(y,n);return t=t.filter(t=>void 0!==t),f(i,t)}}));return function(e){return t.apply(this,arguments)}}();return y(h)}))).apply(this,arguments)}n.d(e,"a",(function(){return f}))},function(t,e,n){"use strict";t.exports=n(131)},function(t,e,n){"use strict";function r({name:t,email:e,timestamp:n,timezoneOffset:r}){return`${t} <${e}> ${n} ${r=function(t){const e=function(t){return Math.sign(t)||(Object.is(t,-0)?-1:1)}((n=t,0===n?n:-n));var n;t=Math.abs(t);const r=Math.floor(t/60);t-=60*r;let i=String(r),o=String(t);i.length<2&&(i="0"+i);o.length<2&&(o="0"+o);return(-1===e?"-":"+")+i+o}(r)}`}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}n.d(e,"a",(function(){return i}));class i{constructor(){this._queue=[]}write(t){if(this._ended)throw Error("You cannot write to a FIFO that has already been ended!");if(this._waiting){const e=this._waiting;this._waiting=null,e({value:t})}else this._queue.push(t)}end(){if(this._ended=!0,this._waiting){const t=this._waiting;this._waiting=null,t({done:!0})}}destroy(t){this._ended=!0,this.error=t}next(){var t,e=this;return(t=function*(){if(e._queue.length>0)return{value:e._queue.shift()};if(e._ended)return{done:!0};if(e._waiting)throw Error("You cannot call read until the previous call to read has returned!");return new Promise(t=>{e._waiting=t})},function(){var e=this,n=arguments;return new Promise((function(i,o){var a=t.apply(e,n);function s(t){r(a,i,o,s,u,"next",t)}function u(t){r(a,i,o,s,u,"throw",t)}s(void 0)}))})()}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t,e){super(`Remote does not support the "${t}" so the "${e}" parameter cannot be used.`),this.code=this.name=i.code,this.data={capability:t,parameter:e}}}i.code="RemoteCapabilityError"},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(){super("Empty response from git server."),this.code=this.name=i.code,this.data={}}}i.code="EmptyServerResponseError"},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t){super(`Could not find a fetch refspec for remote "${t}". Make sure the config file has an entry like the following:\n[remote "${t}"]\n\tfetch = +refs/heads/*:refs/remotes/origin/*\n`),this.code=this.name=i.code,this.data={remote:t}}}i.code="NoRefspecError"},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t,e){super(`Remote did not reply using the "smart" HTTP protocol. Expected "001e# service=git-upload-pack" but received: ${t}`),this.code=this.name=i.code,this.data={preview:t,response:e}}}i.code="SmartHttpError"},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t,e,n){super(`Git remote "${t}" uses an unrecognized transport protocol: "${e}"`),this.code=this.name=i.code,this.data={url:t,transport:e,suggestion:n}}}i.code="UnknownTransportError"},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t){super(`Cannot parse remote URL: "${t}"`),this.code=this.name=i.code,this.data={url:t}}}i.code="UrlParseError"},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(){super("The operation was canceled."),this.code=this.name=i.code,this.data={}}}i.code="UserCanceledError"},function(t,e,n){"use strict";n.d(e,"a",(function(){return c}));var r=n(124),i=n.n(r),o=n(34),a=n(25),s=n(1);function u(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}class c{static isIgnored({fs:t,dir:e,gitdir:n=Object(s.a)(e,".git"),filepath:r}){return(c=function*(){if(".git"===Object(o.a)(r))return!0;if("."===r)return!1;const n=[{gitignore:Object(s.a)(e,".gitignore"),filepath:r}],u=r.split("/");for(let t=1;t<u.length;t++){const r=u.slice(0,t).join("/"),i=u.slice(t).join("/");n.push({gitignore:Object(s.a)(e,r,".gitignore"),filepath:i})}let c=!1;for(const e of n){let n;try{n=yield t.read(e.gitignore,"utf8")}catch(t){if("NOENT"===t.code)continue}const r=i()().add(n),o=Object(a.a)(e.filepath);if("."!==o&&r.ignores(o))return!0;c=c?!r.test(e.filepath).unignored:r.test(e.filepath).ignored}return c},function(){var t=this,e=arguments;return new Promise((function(n,r){var i=c.apply(t,e);function o(t){u(i,n,r,o,a,"next",t)}function a(t){u(i,n,r,o,a,"throw",t)}o(void 0)}))})();var c}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(54),i=n(9);function o(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}class a{static demux(t){const e=i.a.streamReader(t),n=new r.a,a=new r.a,s=new r.a,u=function(){var t,r=(t=function*(){const t=yield e();if(null===t)return u();if(!0===t)return n.end(),s.end(),void a.end();switch(t[0]){case 1:a.write(t.slice(1));break;case 2:s.write(t.slice(1));break;case 3:{const e=t.slice(1);return s.write(e),void a.destroy(new Error(e.toString("utf8")))}default:n.write(t.slice(0))}u()},function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function s(t){o(a,r,i,s,u,"next",t)}function u(t){o(a,r,i,s,u,"throw",t)}s(void 0)}))});return function(){return r.apply(this,arguments)}}();return u(),{packetlines:n,packfile:a,progress:s}}}},function(t,e,n){var r=n(135),i=n(136),o=n(103).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function u(){this.init(),this._w=s,i.call(this,64,56)}function c(t){return t<<5|t>>>27}function f(t){return t<<30|t>>>2}function l(t,e,n,r){return 0===t?e&n|~e&r:2===t?e&n|e&r|n&r:e^n^r}r(u,i),u.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},u.prototype._update=function(t){for(var e,n=this._w,r=0|this._a,i=0|this._b,o=0|this._c,s=0|this._d,u=0|this._e,d=0;d<16;++d)n[d]=t.readInt32BE(4*d);for(;d<80;++d)n[d]=(e=n[d-3]^n[d-8]^n[d-14]^n[d-16])<<1|e>>>31;for(var h=0;h<80;++h){var p=~~(h/20),g=c(r)+l(p,i,o,s)+u+n[h]+a[p]|0;u=s,s=o,o=f(i),i=r,r=g}this._a=r+this._a|0,this._b=i+this._b|0,this._c=o+this._c|0,this._d=s+this._d|0,this._e=u+this._e|0},u.prototype._hash=function(){var t=o.allocUnsafe(20);return t.writeInt32BE(0|this._a,0),t.writeInt32BE(0|this._b,4),t.writeInt32BE(0|this._c,8),t.writeInt32BE(0|this._d,12),t.writeInt32BE(0|this._e,16),t},t.exports=u},function(t,e,n){"use strict";function r(t){let e=t>0?t>>12:0;4!==e&&8!==e&&10!==e&&14!==e&&(e=8);let n=511&t;return n=73&n?493:420,8!==e&&(n=0),(e<<12)+n}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(29);function i(t,e){const n=Object(r.a)(t),i=Object(r.a)(e);return n.mode!==i.mode||n.mtimeSeconds!==i.mtimeSeconds||n.ctimeSeconds!==i.ctimeSeconds||n.uid!==i.uid||n.gid!==i.gid||n.ino!==i.ino||n.size!==i.size}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(5);class i{constructor({remotePath:t,localPath:e,force:n,matchPrefix:r}){Object.assign(this,{remotePath:t,localPath:e,force:n,matchPrefix:r})}static from(t){const[e,n,o,a,s]=t.match(/^(\+?)(.*?)(\*?):(.*?)(\*?)$/).slice(1),u="+"===e,c="*"===o;if(c!==("*"===s))throw new r.a("Invalid refspec");return new i({remotePath:n,localPath:a,force:u,matchPrefix:c})}translate(t){if(this.matchPrefix){if(t.startsWith(this.remotePath))return this.localPath+t.replace(this.remotePath,"")}else if(t===this.remotePath)return this.localPath;return null}reverseTranslate(t){if(this.matchPrefix){if(t.startsWith(this.localPath))return this.remotePath+t.replace(this.localPath,"")}else if(t===this.localPath)return this.remotePath;return null}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(48);function i(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function s(t){i(a,r,o,s,u,"next",t)}function u(t){i(a,r,o,s,u,"throw",t)}s(void 0)}))}}const a=new Map;function s(){return(s=o((function*({fs:t,filename:e,getExternalRefDelta:n,emitter:i,emitterPrefix:o}){const a=yield t.read(e);return r.a.fromIdx({idx:a,getExternalRefDelta:n})}))).apply(this,arguments)}function u({fs:t,filename:e,getExternalRefDelta:n,emitter:r,emitterPrefix:i}){let o=a.get(e);return o||(o=function(t){return s.apply(this,arguments)}({fs:t,filename:e,getExternalRefDelta:n,emitter:r,emitterPrefix:i}),a.set(e,o)),o}},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return a}));var r=n(74);function i(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function s(t){i(a,r,o,s,u,"next",t)}function u(t){i(a,r,o,s,u,"throw",t)}s(void 0)}))}}class a{constructor(t){this.stream=Object(r.a)(t),this.buffer=null,this.cursor=0,this.undoCursor=0,this.started=!1,this._ended=!1,this._discardedBytes=0}eof(){return this._ended&&this.cursor===this.buffer.length}tell(){return this._discardedBytes+this.cursor}byte(){var t=this;return o((function*(){if(!t.eof()&&(t.started||(yield t._init()),t.cursor!==t.buffer.length||(yield t._loadnext(),!t._ended)))return t._moveCursor(1),t.buffer[t.undoCursor]}))()}chunk(){var t=this;return o((function*(){if(!t.eof()&&(t.started||(yield t._init()),t.cursor!==t.buffer.length||(yield t._loadnext(),!t._ended)))return t._moveCursor(t.buffer.length),t.buffer.slice(t.undoCursor,t.cursor)}))()}read(t){var e=this;return o((function*(){if(!e.eof())return e.started||(yield e._init()),e.cursor+t>e.buffer.length&&(e._trim(),yield e._accumulate(t)),e._moveCursor(t),e.buffer.slice(e.undoCursor,e.cursor)}))()}skip(t){var e=this;return o((function*(){e.eof()||(e.started||(yield e._init()),e.cursor+t>e.buffer.length&&(e._trim(),yield e._accumulate(t)),e._moveCursor(t))}))()}undo(){var t=this;return o((function*(){t.cursor=t.undoCursor}))()}_next(){var e=this;return o((function*(){e.started=!0;let{done:n,value:r}=yield e.stream.next();return n&&(e._ended=!0),r&&(r=t.from(r)),r}))()}_trim(){this.buffer=this.buffer.slice(this.undoCursor),this.cursor-=this.undoCursor,this._discardedBytes+=this.undoCursor,this.undoCursor=0}_moveCursor(t){this.undoCursor=this.cursor,this.cursor+=t,this.cursor>this.buffer.length&&(this.cursor=this.buffer.length)}_accumulate(e){var n=this;return o((function*(){if(n._ended)return;const r=[n.buffer];for(;n.cursor+e>s(r);){const t=yield n._next();if(n._ended)break;r.push(t)}n.buffer=t.concat(r)}))()}_loadnext(){var t=this;return o((function*(){t._discardedBytes+=t.buffer.length,t.undoCursor=0,t.cursor=0,t.buffer=yield t._next()}))()}_init(){var t=this;return o((function*(){t.buffer=yield t._next()}))()}}function s(t){return t.reduce((t,e)=>t+e.length,0)}}).call(this,n(10).Buffer)},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(37),i=n.n(r);function o(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function a(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function s(t){o(a,r,i,s,u,"next",t)}function u(t){o(a,r,i,s,u,"throw",t)}s(void 0)}))}}let s=!1;function u(t){return c.apply(this,arguments)}function c(){return(c=a((function*(t){return null===s&&(s=d()),s?f(t):i.a.inflate(t)}))).apply(this,arguments)}function f(t){return l.apply(this,arguments)}function l(){return(l=a((function*(t){const e=new DecompressionStream("deflate"),n=new Blob([t]).stream().pipeThrough(e);return new Uint8Array(yield new Response(n).arrayBuffer())}))).apply(this,arguments)}function d(){try{if(new DecompressionStream("deflate"))return!0}catch(t){}return!1}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(37),i=n.n(r);function o(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function a(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function s(t){o(a,r,i,s,u,"next",t)}function u(t){o(a,r,i,s,u,"throw",t)}s(void 0)}))}}let s=null;function u(t){return c.apply(this,arguments)}function c(){return(c=a((function*(t){return null===s&&(s=d()),s?f(t):i.a.deflate(t)}))).apply(this,arguments)}function f(t){return l.apply(this,arguments)}function l(){return(l=a((function*(t){const e=new CompressionStream("deflate"),n=new Blob([t]).stream().pipeThrough(e);return new Uint8Array(yield new Response(n).arrayBuffer())}))).apply(this,arguments)}function d(){try{if(new CompressionStream("deflate"))return!0}catch(t){}return!1}},function(t,e,n){"use strict";(function(t){function r({username:e="",password:n=""}){return`Basic ${t.from(`${e}:${n}`).toString("base64")}`}n.d(e,"a",(function(){return r}))}).call(this,n(10).Buffer)},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(56),i=n(30),o=n(9);function a(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function s(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function s(t){a(o,r,i,s,u,"next",t)}function u(t){a(o,r,i,s,u,"throw",t)}s(void 0)}))}}function u(t,e){return c.apply(this,arguments)}function c(){return(c=s((function*(t,{service:e}){const n=new Set,a=new Map,s=new Map,u=o.a.streamReader(t);let c=yield u();for(;null===c;)c=yield u();if(!0===c)throw new r.a;if(c.toString("utf8").replace(/\n$/,"")!==`# service=${e}`)throw new i.a(`# service=${e}\\n`,c.toString("utf8"));let l=yield u();for(;null===l;)l=yield u();if(!0===l)return{capabilities:n,refs:a,symrefs:s};const[d,h]=f(l.toString("utf8"),"\0","\\x00");h.split(" ").map(t=>n.add(t));const[p,g]=f(d," "," ");for(a.set(g,p);;){const t=yield u();if(!0===t)break;if(null!==t){const[e,n]=f(t.toString("utf8")," "," ");a.set(n,e)}}for(const t of n)if(t.startsWith("symref=")){const e=t.match(/symref=([^:]+):(.*)/);3===e.length&&s.set(e[1],e[2])}return{capabilities:n,refs:a,symrefs:s}}))).apply(this,arguments)}function f(t,e,n){const r=t.trim().split(e);if(2!==r.length)throw new i.a(`Two strings separated by '${n}'`,t.toString("utf8"));return r}},function(t,e,n){"use strict";function r(t){return t[Symbol.asyncIterator]?t[Symbol.asyncIterator]():t[Symbol.iterator]?t[Symbol.iterator]():t.next?t:function(t){let e=[t];return{next:()=>Promise.resolve({done:0===e.length,value:e.pop()}),return:()=>(e=[],{}),[Symbol.asyncIterator](){return this}}}(t)}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t){return t.trim().split("\n").map(t=>" "+t).join("\n")+"\n"}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";function r(t,e,n){return e=e instanceof RegExp?e:new RegExp(e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),t.replace(e,n)}var i={clean:function(t){if("string"!=typeof t)throw new Error("Expected a string, received: "+t);return t=r(t,"./","/"),t=r(t,"..","."),t=r(t," ","-"),t=r(t,/^[~^:?*\\\-]/g,""),t=r(t,/[~^:?*\\]/g,"-"),t=r(t,/[~^:?*\\\-]$/g,""),t=r(t,"@{","-"),t=r(t,/\.$/g,""),t=r(t,/\/$/g,""),t=r(t,/\.lock$/g,"")}};t.exports=i},function(t,e,n){"use strict";n.r(e);var r=n(27);n.d(e,"AlreadyExistsError",(function(){return r.a}));var i=n(84);n.d(e,"AmbiguousError",(function(){return i.a}));var o=n(85);n.d(e,"CheckoutConflictError",(function(){return o.a}));var a=n(86);n.d(e,"CommitNotFetchedError",(function(){return a.a}));var s=n(56);n.d(e,"EmptyServerResponseError",(function(){return s.a}));var u=n(87);n.d(e,"FastForwardError",(function(){return u.a}));var c=n(88);n.d(e,"GitPushError",(function(){return c.a}));var f=n(45);n.d(e,"HttpError",(function(){return f.a}));var l=n(5);n.d(e,"InternalError",(function(){return l.a}));var d=n(78);n.d(e,"InvalidFilepathError",(function(){return d.a}));var h=n(28);n.d(e,"InvalidOidError",(function(){return h.a}));var p=n(44);n.d(e,"InvalidRefNameError",(function(){return p.a}));var g=n(89);n.d(e,"MaxDepthError",(function(){return g.a}));var y=n(36);n.d(e,"MergeNotSupportedError",(function(){return y.a}));var v=n(21);n.d(e,"MissingNameError",(function(){return v.a}));var m=n(24);n.d(e,"MissingParameterError",(function(){return m.a}));var w=n(57);n.d(e,"NoRefspecError",(function(){return w.a}));var b=n(8);n.d(e,"NotFoundError",(function(){return b.a}));var _=n(14);n.d(e,"ObjectTypeError",(function(){return _.a}));var O=n(30);n.d(e,"ParseError",(function(){return O.a}));var x=n(79);n.d(e,"PushRejectedError",(function(){return x.a}));var j=n(55);n.d(e,"RemoteCapabilityError",(function(){return j.a}));var P=n(58);n.d(e,"SmartHttpError",(function(){return P.a}));var k=n(59);n.d(e,"UnknownTransportError",(function(){return k.a}));var E=n(60);n.d(e,"UrlParseError",(function(){return E.a}));var S=n(61);n.d(e,"UserCanceledError",(function(){return S.a}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t){let e="invalid filepath";"leading-slash"!==t&&"trailing-slash"!==t||(e='"filepath" parameter should not include leading or trailing directory separators because these can cause problems on some platforms.'),super(e),this.code=this.name=i.code,this.data={reason:t}}}i.code="InvalidFilepathError"},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t){let e="";"not-fast-forward"===t?e=" because it was not a simple fast-forward":"tag-exists"===t&&(e=" because tag already exists"),super(`Push rejected${e}. Use "force: true" to override.`),this.code=this.name=i.code,this.data={reason:t}}}i.code="PushRejectedError"},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(78),i=n(8),o=n(14),a=n(11),s=n(7),u=n(47);function c(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function f(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){c(o,r,i,a,s,"next",t)}function s(t){c(o,r,i,a,s,"throw",t)}a(void 0)}))}}function l(t){return d.apply(this,arguments)}function d(){return(d=f((function*({fs:t,gitdir:e,oid:n,filepath:i}){if(i.startsWith("/"))throw new r.a("leading-slash");if(i.endsWith("/"))throw new r.a("trailing-slash");const o=n,a=yield Object(u.a)({fs:t,gitdir:e,oid:n}),s=a.tree;if(""===i)n=a.oid;else{const r=i.split("/");n=yield h({fs:t,gitdir:e,tree:s,pathArray:r,oid:o,filepath:i})}return n}))).apply(this,arguments)}function h(t){return p.apply(this,arguments)}function p(){return(p=f((function*({fs:t,gitdir:e,tree:n,pathArray:r,oid:u,filepath:c}){const f=r.shift();for(const i of n)if(i.path===f){if(0===r.length)return i.oid;{const{type:f,object:l}=yield Object(s.a)({fs:t,gitdir:e,oid:i.oid});if("tree"!==f)throw new o.a(u,f,"blob",c);return h({fs:t,gitdir:e,tree:n=a.a.from(l),pathArray:r,oid:u,filepath:c})}}throw new i.a(`file or directory found at "${u}:${c}"`)}))).apply(this,arguments)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(18),i=n(4),o=n(12),a=n(11),s=n(17),u=n(91);function c(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function f(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){c(o,r,i,a,s,"next",t)}function s(t){c(o,r,i,a,s,"throw",t)}a(void 0)}))}}function l(t){return d.apply(this,arguments)}function d(){return(d=f((function*({fs:t,onSign:e,gitdir:n,message:a,author:c,committer:l,signingKey:d,dryRun:p=!1,noUpdateBranch:g=!1,ref:y,parent:v,tree:m}){return y||(y=yield i.a.resolve({fs:t,gitdir:n,ref:"HEAD",depth:2})),r.a.acquire({fs:t,gitdir:n},function(){var r=f((function*(r){const f=Object(u.a)(r.entries).get(".");if(m||(m=yield h({fs:t,gitdir:n,inode:f,dryRun:p})),!v)try{v=[yield i.a.resolve({fs:t,gitdir:n,ref:y})]}catch(t){v=[]}let w=o.a.from({tree:m,parent:v,author:c,committer:l,message:a});d&&(w=yield o.a.sign(w,e,d));const b=yield Object(s.a)({fs:t,gitdir:n,type:"commit",object:w.toObject(),dryRun:p});return g||p||(yield i.a.writeRef({fs:t,gitdir:n,ref:y,value:b})),b}));return function(t){return r.apply(this,arguments)}}())}))).apply(this,arguments)}function h(t){return p.apply(this,arguments)}function p(){return(p=f((function*({fs:t,gitdir:e,inode:n,dryRun:r}){const i=n.children;for(const n of i)"tree"===n.type&&(n.metadata.mode="040000",n.metadata.oid=yield h({fs:t,gitdir:e,inode:n,dryRun:r}));const o=i.map(t=>({mode:t.metadata.mode,path:t.basename,oid:t.metadata.oid,type:t.type})),u=a.a.from(o);return yield Object(s.a)({fs:t,gitdir:e,type:"tree",object:u.toObject(),dryRun:r})}))).apply(this,arguments)}},function(t,e){!function(e){"use strict";var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";t.exports.toByteArray=function(t){var e,r,i,o,a,s;if(t.length%4>0)throw"Invalid string. Length must be a multiple of 4";for(s=[],i=(a=(a=t.indexOf("="))>0?t.length-a:0)>0?t.length-4:t.length,e=0,r=0;e<i;e+=4,r+=3)o=n.indexOf(t[e])<<18|n.indexOf(t[e+1])<<12|n.indexOf(t[e+2])<<6|n.indexOf(t[e+3]),s.push((16711680&o)>>16),s.push((65280&o)>>8),s.push(255&o);return 2===a?(o=n.indexOf(t[e])<<2|n.indexOf(t[e+1])>>4,s.push(255&o)):1===a&&(o=n.indexOf(t[e])<<10|n.indexOf(t[e+1])<<4|n.indexOf(t[e+2])>>2,s.push(o>>8&255),s.push(255&o)),s},t.exports.fromByteArray=function(t){var e,r,i,o,a=t.length%3,s="";for(e=0,i=t.length-a;e<i;e+=3)r=(t[e]<<16)+(t[e+1]<<8)+t[e+2],s+=n[(o=r)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o];switch(a){case 1:r=t[t.length-1],s+=n[r>>2],s+=n[r<<4&63],s+="==";break;case 2:r=(t[t.length-2]<<8)+t[t.length-1],s+=n[r>>10],s+=n[r>>4&63],s+=n[r<<2&63],s+="="}return s}}()},function(t,e,n){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t,e,n){super(`Found multiple ${t} matching "${e}" (${n.join(", ")}). Use a longer abbreviation length to disambiguate them.`),this.code=this.name=i.code,this.data={nouns:t,short:e,matches:n}}}i.code="AmbiguousError"},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t){super(`Your local changes to the following files would be overwritten by checkout: ${t.join(", ")}`),this.code=this.name=i.code,this.data={filepaths:t}}}i.code="CheckoutConflictError"},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t,e){super(`Failed to checkout "${t}" because commit ${e} is not available locally. Do a git fetch to make the branch available locally.`),this.code=this.name=i.code,this.data={ref:t,oid:e}}}i.code="CommitNotFetchedError"},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(){super("A simple fast-forward merge was not possible."),this.code=this.name=i.code,this.data={}}}i.code="FastForwardError"},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t,e){super(`One or more branches were not updated: ${t}`),this.code=this.name=i.code,this.data={prettyDetails:t,result:e}}}i.code="GitPushError"},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(3);class i extends r.a{constructor(t){super(`Maximum search depth of ${t} exceeded.`),this.code=this.name=i.code,this.data={depth:t}}}i.code="MaxDepthError"},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return f}));var r=n(5),i=n(23),o=n(46),a=n(29),s=n(16);function u(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function c(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){u(o,r,i,a,s,"next",t)}function s(t){u(o,r,i,a,s,"throw",t)}a(void 0)}))}}class f{constructor(t){this._dirty=!1,this._entries=t||new Map}static from(e){return c((function*(){if(t.isBuffer(e))return f.fromBuffer(e);if(null===e)return new f(null);throw new r.a("invalid type passed to GitIndex.from")}))()}static fromBuffer(t){return c((function*(){const e=yield Object(s.a)(t.slice(0,-20)),n=t.slice(-20).toString("hex");if(n!==e)throw new r.a(`Invalid checksum in GitIndex buffer: expected ${n} but saw ${e}`);const o=new i.a(t),a=new Map,u=o.toString("utf8",4);if("DIRC"!==u)throw new r.a(`Inavlid dircache magic file number: ${u}`);const c=o.readUInt32BE();if(2!==c)throw new r.a(`Unsupported dircache version: ${c}`);const l=o.readUInt32BE();let d=0;for(;!o.eof()&&d<l;){const e={};e.ctimeSeconds=o.readUInt32BE(),e.ctimeNanoseconds=o.readUInt32BE(),e.mtimeSeconds=o.readUInt32BE(),e.mtimeNanoseconds=o.readUInt32BE(),e.dev=o.readUInt32BE(),e.ino=o.readUInt32BE(),e.mode=o.readUInt32BE(),e.uid=o.readUInt32BE(),e.gid=o.readUInt32BE(),e.size=o.readUInt32BE(),e.oid=o.slice(20).toString("hex");const n=o.readUInt16BE();e.flags=(h=n,{assumeValid:Boolean(32768&h),extended:Boolean(16384&h),stage:(12288&h)>>12,nameLength:4095&h});const i=t.indexOf(0,o.tell()+1)-o.tell();if(i<1)throw new r.a(`Got a path length of: ${i}`);e.path=o.toString("utf8",i);let s=8-(o.tell()-12)%8;for(0===s&&(s=8);s--;){const t=o.readUInt8();if(0!==t)throw new r.a(`Expected 1-8 null characters but got '${t}' after ${e.path}`);if(o.eof())throw new r.a("Unexpected end of file")}a.set(e.path,e),d++}var h;return new f(a)}))()}get entries(){return[...this._entries.values()].sort(o.a)}get entriesMap(){return this._entries}*[Symbol.iterator](){for(const t of this.entries)yield t}insert({filepath:e,stats:n,oid:r}){n=Object(a.a)(n);const i=t.from(e),o={ctimeSeconds:n.ctimeSeconds,ctimeNanoseconds:n.ctimeNanoseconds,mtimeSeconds:n.mtimeSeconds,mtimeNanoseconds:n.mtimeNanoseconds,dev:n.dev,ino:n.ino,mode:n.mode||33188,uid:n.uid,gid:n.gid,size:n.size,path:e,oid:r,flags:{assumeValid:!1,extended:!1,stage:0,nameLength:i.length<4095?i.length:4095}};this._entries.set(o.path,o),this._dirty=!0}delete({filepath:t}){if(this._entries.has(t))this._entries.delete(t);else for(const e of this._entries.keys())e.startsWith(t+"/")&&this._entries.delete(e);this._dirty=!0}clear(){this._entries.clear(),this._dirty=!0}render(){return this.entries.map(t=>`${t.mode.toString(8)} ${t.oid} ${t.path}`).join("\n")}toObject(){var e=this;return c((function*(){const n=t.alloc(12),r=new i.a(n);r.write("DIRC",4,"utf8"),r.writeUInt32BE(2),r.writeUInt32BE(e.entries.length);const o=t.concat(e.entries.map(e=>{const n=t.from(e.path),r=8*Math.ceil((62+n.length+1)/8),o=t.alloc(r),s=new i.a(o),u=Object(a.a)(e);return s.writeUInt32BE(u.ctimeSeconds),s.writeUInt32BE(u.ctimeNanoseconds),s.writeUInt32BE(u.mtimeSeconds),s.writeUInt32BE(u.mtimeNanoseconds),s.writeUInt32BE(u.dev),s.writeUInt32BE(u.ino),s.writeUInt32BE(u.mode),s.writeUInt32BE(u.uid),s.writeUInt32BE(u.gid),s.writeUInt32BE(u.size),s.write(e.oid,20,"hex"),s.writeUInt16BE(function(e){const n=e.flags;return n.extended=!1,n.nameLength=Math.min(t.from(e.path).length,4095),(n.assumeValid?32768:0)+(n.extended?16384:0)+((3&n.stage)<<12)+(4095&n.nameLength)}(e)),s.write(e.path,n.length,"utf8"),o})),u=t.concat([n,o]),c=yield Object(s.a)(u);return t.concat([u,t.from(c,"hex")])}))()}}}).call(this,n(10).Buffer)},function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(34),i=n(25);function o(t){const e=new Map,n=function(t){if(!e.has(t)){const o={type:"tree",fullpath:t,basename:Object(r.a)(t),metadata:{},children:[]};e.set(t,o),o.parent=n(Object(i.a)(t)),o.parent&&o.parent!==o&&o.parent.children.push(o)}return e.get(t)},o=function(t,o){if(!e.has(t)){const a={type:"blob",fullpath:t,basename:Object(r.a)(t),metadata:o,parent:n(Object(i.a)(t)),children:[]};a.parent&&a.parent.children.push(a),e.set(t,a)}return e.get(t)};n(".");for(const e of t)o(e.path,e);return e}},function(t,e,n){"use strict";function r(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function i(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var a=t.apply(e,n);function s(t){r(a,i,o,s,u,"next",t)}function u(t){r(a,i,o,s,u,"throw",t)}s(void 0)}))}}n.d(e,"a",(function(){return v}));const o=t=>{if("true"===(t=t.trim().toLowerCase())||"yes"===t||"on"===t)return!0;if("false"===t||"no"===t||"off"===t)return!1;throw Error(`Expected 'true', 'false', 'yes', 'no', 'on', or 'off', but got ${t}`)},a={core:{filemode:o,bare:o,logallrefupdates:o,symlinks:o,ignorecase:o,bigFileThreshold:t=>{t=t.toLowerCase();let e=parseInt(t);return t.endsWith("k")&&(e*=1024),t.endsWith("m")&&(e*=1048576),t.endsWith("g")&&(e*=1073741824),e}}},s=/^\[([A-Za-z0-9-.]+)(?: "(.*)")?\]$/,u=/^[A-Za-z0-9-.]+$/,c=/^([A-Za-z][A-Za-z-]*)(?: *= *(.*))?$/,f=/^[A-Za-z][A-Za-z-]*$/,l=/^(.*?)( *[#;].*)$/,d=t=>{const e=l.exec(t);if(null==e)return t;const[n,r]=e.slice(1);return h(n)&&h(r)?`${n}${r}`:n},h=t=>(t.match(/(?:^|[^\\])"/g)||[]).length%2!=0,p=t=>t.split("").reduce((t,e,n,r)=>{const i='"'===e&&"\\"!==r[n-1],o="\\"===e&&'"'===r[n+1];return i||o?t:t+e},""),g=t=>null!=t?t.toLowerCase():null,y=(t,e,n)=>[g(t),e,g(n)].filter(t=>null!=t).join(".");class v{constructor(t){let e=null,n=null;this.parsedConfig=t.split("\n").map(t=>{let r=null,i=null;const o=t.trim(),a=(t=>{const e=s.exec(t);if(null!=e){const[t,n]=e.slice(1);return[t,n]}return null})(o),u=null!=a;if(u)[e,n]=a;else{const t=(t=>{const e=c.exec(t);if(null!=e){const[t,n="true"]=e.slice(1),r=d(n);return[t,p(r)]}return null})(o);null!=t&&([r,i]=t)}const f=y(e,n,r);return{line:t,isSection:u,section:e,subsection:n,name:r,value:i,path:f}})}static from(t){return new v(t)}get(t,e=!1){var n=this;return i((function*(){const r=n.parsedConfig.filter(e=>e.path===t.toLowerCase()).map(({section:t,name:e,value:n})=>{const r=a[t]&&a[t][e];return r?r(n):n});return e?r:r.pop()}))()}getall(t){var e=this;return i((function*(){return e.get(t,!0)}))()}getSubsections(t){var e=this;return i((function*(){return e.parsedConfig.filter(e=>e.section===t&&e.isSection).map(t=>t.subsection)}))()}deleteSection(t,e){var n=this;return i((function*(){n.parsedConfig=n.parsedConfig.filter(n=>!(n.section===t&&n.subsection===e))}))()}append(t,e){var n=this;return i((function*(){return n.set(t,e,!0)}))()}set(t,e,n=!1){var r=this;return i((function*(){const i=(o=r.parsedConfig,a=e=>e.path===t.toLowerCase(),o.reduce((t,e,n)=>a(e)?n:t,-1));var o,a;if(null==e)-1!==i&&r.parsedConfig.splice(i,1);else if(-1!==i){const t=r.parsedConfig[i],o=Object.assign({},t,{value:e,modified:!0});n?r.parsedConfig.splice(i+1,0,o):r.parsedConfig[i]=o}else{const n=t.split(".").slice(0,-1).join(".").toLowerCase(),i=r.parsedConfig.findIndex(t=>t.path===n),[o,a]=n.split("."),s=t.split(".").pop(),c={section:o,subsection:a,name:s,value:e,modified:!0,path:y(o,a,s)};if(u.test(o)&&f.test(s))if(i>=0)r.parsedConfig.splice(i+1,0,c);else{const t={section:o,subsection:a,modified:!0,path:y(o,a,null)};r.parsedConfig.push(t,c)}}}))()}toString(){return this.parsedConfig.map(({line:t,section:e,subsection:n,name:r,value:i,modified:o=!1})=>o?null!=r&&null!=i?`\t${r} = ${i}`:null!=n?`[${e} "${n}"]`:`[${e}]`:t).join("\n")}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(67);class i{constructor(t=[]){this.rules=t}static from(t){const e=[];for(const n of t)e.push(r.a.from(n));return new i(e)}add(t){const e=r.a.from(t);this.rules.push(e)}translate(t){const e=[];for(const n of this.rules)for(const r of t){const t=n.translate(r);t&&e.push([r,t])}return e}translateOne(t){let e=null;for(const n of this.rules){const r=n.translate(t);r&&(e=r)}return e}localNamespaces(){return this.rules.filter(t=>t.matchPrefix).map(t=>t.localPath.replace(/\/$/,""))}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(126),i=n.n(r);const o=/^.*(\r?\n|$)/gm;function a({ourContent:t,baseContent:e,theirContent:n,ourName:r="ours",baseName:a="base",theirName:s="theirs",format:u="diff",markerSize:c=7}){const f=t.match(o),l=e.match(o),d=n.match(o),h=i()(f,l,d);let p="",g=!0;for(const t of h)t.ok&&(p+=t.ok.join("")),t.conflict&&(g=!1,p+=`${"<".repeat(c)} ${r}\n`,p+=t.conflict.a.join(""),"diff3"===u&&(p+=`${"|".repeat(c)} ${a}\n`,p+=t.conflict.o.join("")),p+=`${"=".repeat(c)}\n`,p+=t.conflict.b.join(""),p+=`${">".repeat(c)} ${s}\n`);return{cleanMerge:g,mergedText:p}}},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return d}));var r=n(64),i=n.n(r),o=n(127),a=n(7),s=n(71),u=n(1),c=n(38);function f(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){f(o,r,i,a,s,"next",t)}function s(t){f(o,r,i,a,s,"throw",t)}a(void 0)}))}}function d(t){return h.apply(this,arguments)}function h(){return(h=l((function*({fs:e,dir:n,gitdir:r=Object(u.a)(n,".git"),oids:f}){const d=new i.a,h=[];function p(e,n){const r=t.from(e,n);h.push(r),d.update(r)}function g(t){return y.apply(this,arguments)}function y(){return(y=l((function*({stype:e,object:n}){const r=o.a[e];let i=n.length,a=i>15?128:0;const u=15&i;i>>>=4;let f=(a|r|u).toString(16);for(p(f,"hex");a;)a=i>127?128:0,f=a|127&i,p(Object(c.a)(2,f),"hex"),i>>>=7;p(t.from(yield Object(s.a)(n)))}))).apply(this,arguments)}p("PACK"),p("00000002","hex"),p(Object(c.a)(8,f.length),"hex");for(const t of f){const{type:n,object:i}=yield Object(a.a)({fs:e,gitdir:r,oid:t});yield g({write:p,object:i,stype:n})}const v=d.digest();return h.push(v),h}))).apply(this,arguments)}}).call(this,n(10).Buffer)},function(t,e,n){"use strict";var r=n(59),i=n(60);var o=n(50);n.d(e,"a",(function(){return a}));class a{static getRemoteHelperFor({url:t}){const e=new Map;e.set("http",o.a),e.set("https",o.a);const n=function({url:t}){if(t.startsWith("git@"))return{transport:"ssh",address:t};const e=t.match(/(\w+)(:\/\/|::)(.*)/);return null!==e?"://"===e[2]?{transport:e[1],address:e[0]}:"::"===e[2]?{transport:e[1],address:e[3]}:void 0:void 0}({url:t});if(!n)throw new i.a(t);if(e.has(n.transport))return e.get(n.transport);throw new r.a(t,n.transport,"ssh"===n.transport?function(t){return t=(t=t.replace(/^git@([^:]+):/,"https://$1/")).replace(/^ssh:\/\//,"https://")}(t):void 0)}}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r=void 0===Array.prototype.flat?t=>t.reduce((t,e)=>t.concat(e),[]):t=>t.flat()},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));const r=new RegExp("^refs/(heads/|tags/|remotes/)?(.*)");function i(t){const e=r.exec(t);return e?"remotes/"===e[1]&&t.endsWith("/HEAD")?e[2].slice(0,-5):e[2]:t}},function(t,e,n){"use strict";function r(t){let e=t.match(/^https?:\/\/([^/]+)@/);if(null==e)return{url:t,auth:{}};e=e[1];const[n,r]=e.split(":");return{url:t=t.replace(`${e}@`,""),auth:{username:n,password:r}}}n.d(e,"a",(function(){return r}))},function(t,e){var n,r,i=t.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function s(t){if(n===setTimeout)return setTimeout(t,0);if((n===o||!n)&&setTimeout)return n=setTimeout,setTimeout(t,0);try{return n(t,0)}catch(e){try{return n.call(null,t,0)}catch(e){return n.call(this,t,0)}}}!function(){try{n="function"==typeof setTimeout?setTimeout:o}catch(t){n=o}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(t){r=a}}();var u,c=[],f=!1,l=-1;function d(){f&&u&&(f=!1,u.length?c=u.concat(c):l=-1,c.length&&h())}function h(){if(!f){var t=s(d);f=!0;for(var e=c.length;e;){for(u=c,c=[];++l<e;)u&&u[l].run();l=-1,e=c.length}u=null,f=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function g(){}i.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new p(t,e)),1!==c.length||f||s(h)},p.prototype.run=function(){this.fun.apply(null,this.array)},i.title="browser",i.browser=!0,i.env={},i.argv=[],i.version="",i.versions={},i.on=g,i.addListener=g,i.once=g,i.off=g,i.removeListener=g,i.removeAllListeners=g,i.emit=g,i.prependListener=g,i.prependOnceListener=g,i.listeners=function(t){return[]},i.binding=function(t){throw new Error("process.binding is not supported")},i.cwd=function(){return"/"},i.chdir=function(t){throw new Error("process.chdir is not supported")},i.umask=function(){return 0}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(11),i=n(17);function o(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function a(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function s(t){o(a,r,i,s,u,"next",t)}function u(t){o(a,r,i,s,u,"throw",t)}s(void 0)}))}}function s(t){return u.apply(this,arguments)}function u(){return(u=a((function*({fs:t,gitdir:e,tree:n}){const o=r.a.from(n).toObject();return yield Object(i.a)({fs:t,gitdir:e,type:"tree",object:o,format:"content"})}))).apply(this,arguments)}},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return k}));var r=n(43),i=n(24),o=n(55),a=n(13),s=n(4),u=n(96),c=n(35),f=n(12),l=n(48),d=n(160),h=n(7),p=n(98),g=n(41),y=n(162),v=n(128),m=n(33),w=n(1),b=n(49),_=n(129),O=n(111),x=n(110);function j(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function P(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){j(o,r,i,a,s,"next",t)}function s(t){j(o,r,i,a,s,"throw",t)}a(void 0)}))}}function k(t){return E.apply(this,arguments)}function E(){return(E=P((function*({fs:e,http:n,onProgress:j,onMessage:k,onAuth:E,onAuthSuccess:S,onAuthFailure:A,gitdir:$,ref:R,remoteRef:B,remote:I,url:U,corsProxy:T,depth:z=null,since:C=null,exclude:D=[],relative:N=!1,tags:M=!1,singleBranch:F=!1,headers:L={},prune:H=!1,pruneTags:Y=!1}){const Z=R||(yield Object(r.a)({fs:e,gitdir:$,test:!0})),G=yield a.a.get({fs:e,gitdir:$}),W=I||Z&&(yield G.get(`branch.${Z}.remote`))||"origin",q=U||(yield G.get(`remote.${W}.url`));if(void 0===q)throw new i.a("remote OR url");const K=B||Z&&(yield G.get(`branch.${Z}.merge`))||R||"HEAD";void 0===T&&(T=yield G.get("http.corsProxy"));const X=u.a.getRemoteHelperFor({url:q}),V=yield X.discover({http:n,onAuth:E,onAuthSuccess:S,onAuthFailure:A,corsProxy:T,service:"git-upload-pack",url:q,headers:L}),J=V.auth,Q=V.refs;if(0===Q.size)return{defaultBranch:null,fetchHead:null,fetchHeadDescription:null};if(null!==z&&!V.capabilities.has("shallow"))throw new o.a("shallow","depth");if(null!==C&&!V.capabilities.has("deepen-since"))throw new o.a("deepen-since","since");if(D.length>0&&!V.capabilities.has("deepen-not"))throw new o.a("deepen-not","exclude");if(!0===N&&!V.capabilities.has("deepen-relative"))throw new o.a("deepen-relative","relative");const{oid:tt,fullref:et}=s.a.resolveAgainstMap({ref:K,map:Q});for(const t of Q.keys())t===et||"HEAD"===t||t.startsWith("refs/heads/")||M&&t.startsWith("refs/tags/")||Q.delete(t);const nt=Object(v.a)([...V.capabilities],["multi_ack_detailed","no-done","side-band-64k","ofs-delta",`agent=${b.a.agent}`]);N&&nt.push("deepen-relative");const rt=F?[tt]:Q.values(),it=F?[Z]:yield s.a.listRefs({fs:e,gitdir:$,filepath:"refs"});let ot=[];for(let t of it)try{t=yield s.a.expand({fs:e,gitdir:$,ref:t});const n=yield s.a.resolve({fs:e,gitdir:$,ref:t});(yield Object(d.a)({fs:e,gitdir:$,oid:n}))&&ot.push(n)}catch(t){}ot=[...new Set(ot)];const at=yield c.a.read({fs:e,gitdir:$}),st=V.capabilities.has("shallow")?[...at]:[],ut=Object(x.a)({capabilities:nt,wants:rt,haves:ot,shallows:st,depth:z,since:C,exclude:D}),ct=t.from(yield Object(g.a)(ut)),ft=yield X.connect({http:n,onProgress:j,corsProxy:T,service:"git-upload-pack",url:q,auth:J,body:[ct],headers:L}),lt=yield Object(O.a)(ft.body);ft.headers&&(lt.headers=ft.headers);for(const t of lt.shallows)if(!at.has(t))try{const{object:n}=yield Object(h.a)({fs:e,gitdir:$,oid:t}),r=new f.a(n),i=yield Promise.all(r.headers().parent.map(t=>Object(d.a)({fs:e,gitdir:$,oid:t})));0===i.length||i.every(t=>t)||at.add(t)}catch(e){at.add(t)}for(const t of lt.unshallows)at.delete(t);if(yield c.a.write({fs:e,gitdir:$,oids:at}),F){const t=new Map([[et,tt]]),n=new Map;let r=10,i=et;for(;r--;){const t=V.symrefs.get(i);if(void 0===t)break;n.set(i,t),i=t}t.set(i,Q.get(i));const{pruned:o}=yield s.a.updateRemoteRefs({fs:e,gitdir:$,remote:W,refs:t,symrefs:n,tags:M,prune:H});H&&(lt.pruned=o)}else{const{pruned:t}=yield s.a.updateRemoteRefs({fs:e,gitdir:$,remote:W,refs:Q,symrefs:V.symrefs,tags:M,prune:H,pruneTags:Y});H&&(lt.pruned=t)}if(lt.HEAD=V.symrefs.get("HEAD"),void 0===lt.HEAD){const{oid:t}=s.a.resolveAgainstMap({ref:"HEAD",map:Q});for(const[e,n]of Q.entries())if("HEAD"!==e&&n===t){lt.HEAD=e;break}}const dt=et.startsWith("refs/tags")?"tag":"branch";if(lt.FETCH_HEAD={oid:tt,description:`${dt} '${Object(p.a)(et)}' of ${q}`},j||k){const t=Object(_.a)(lt.progress);Object(m.a)(t,function(){var t=P((function*(t){if(k&&(yield k(t)),j){const e=t.match(/([^:]*).*\((\d+?)\/(\d+?)\)/);e&&(yield j({phase:e[1].trim(),loaded:parseInt(e[2],10),total:parseInt(e[3],10)}))}}));return function(e){return t.apply(this,arguments)}}())}const ht=t.from(yield Object(g.a)(lt.packfile)),pt=ht.slice(-20).toString("hex"),gt={defaultBranch:lt.HEAD,fetchHead:lt.FETCH_HEAD.oid,fetchHeadDescription:lt.FETCH_HEAD.description};if(lt.headers&&(gt.headers=lt.headers),H&&(gt.pruned=lt.pruned),""!==pt&&!Object(y.a)(ht)){gt.packfile=`objects/pack/pack-${pt}.pack`;const t=Object(w.a)($,gt.packfile);yield e.write(t,ht);const n=t=>Object(h.a)({fs:e,gitdir:$,oid:t}),r=yield l.a.fromPack({pack:ht,getExternalRefDelta:n,onProgress:j});yield e.write(t.replace(/\.pack$/,".idx"),yield r.toBuffer())}return gt}))).apply(this,arguments)}}).call(this,n(10).Buffer)},function(t,e,n){var r=n(10),i=r.Buffer;function o(t,e){for(var n in t)e[n]=t[n]}function a(t,e,n){return i(t,e,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,e),e.Buffer=a),o(i,a),a.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,n)},a.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var r=i(t);return void 0!==e?"string"==typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},a.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},a.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},function(t,e){var n,r;t.exports=n={},r="undefined"==typeof WeakMap?null:new WeakMap,n.get=r?function(t){var e=r.get(t.buffer);e||r.set(t.buffer,e=new DataView(t.buffer,0));return e}:function(t){return new DataView(t.buffer,0)}},function(t,e,n){"use strict";t.exports=function(t,e,n,r){for(var i=65535&t|0,o=t>>>16&65535|0,a=0;0!==n;){n-=a=n>2e3?2e3:n;do{o=o+(i=i+e[r++]|0)|0}while(--a);i%=65521,o%=65521}return i|o<<16|0}},function(t,e,n){"use strict";var r=function(){for(var t,e=[],n=0;n<256;n++){t=n;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;e[n]=t}return e}();t.exports=function(t,e,n,i){var o=r,a=i+n;t^=-1;for(var s=i;s<a;s++)t=t>>>8^o[255&(t^e[s])];return-1^t}},function(t,e,n){"use strict";var r=n(26),i=!0,o=!0;try{String.fromCharCode.apply(null,[0])}catch(t){i=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){o=!1}for(var a=new r.Buf8(256),s=0;s<256;s++)a[s]=s>=252?6:s>=248?5:s>=240?4:s>=224?3:s>=192?2:1;function u(t,e){if(e<65534&&(t.subarray&&o||!t.subarray&&i))return String.fromCharCode.apply(null,r.shrinkBuf(t,e));for(var n="",a=0;a<e;a++)n+=String.fromCharCode(t[a]);return n}a[254]=a[254]=1,e.string2buf=function(t){var e,n,i,o,a,s=t.length,u=0;for(o=0;o<s;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),u+=n<128?1:n<2048?2:n<65536?3:4;for(e=new r.Buf8(u),a=0,o=0;a<u;o++)55296==(64512&(n=t.charCodeAt(o)))&&o+1<s&&56320==(64512&(i=t.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(i-56320),o++),n<128?e[a++]=n:n<2048?(e[a++]=192|n>>>6,e[a++]=128|63&n):n<65536?(e[a++]=224|n>>>12,e[a++]=128|n>>>6&63,e[a++]=128|63&n):(e[a++]=240|n>>>18,e[a++]=128|n>>>12&63,e[a++]=128|n>>>6&63,e[a++]=128|63&n);return e},e.buf2binstring=function(t){return u(t,t.length)},e.binstring2buf=function(t){for(var e=new r.Buf8(t.length),n=0,i=e.length;n<i;n++)e[n]=t.charCodeAt(n);return e},e.buf2string=function(t,e){var n,r,i,o,s=e||t.length,c=new Array(2*s);for(r=0,n=0;n<s;)if((i=t[n++])<128)c[r++]=i;else if((o=a[i])>4)c[r++]=65533,n+=o-1;else{for(i&=2===o?31:3===o?15:7;o>1&&n<s;)i=i<<6|63&t[n++],o--;o>1?c[r++]=65533:i<65536?c[r++]=i:(i-=65536,c[r++]=55296|i>>10&1023,c[r++]=56320|1023&i)}return u(c,r)},e.utf8border=function(t,e){var n;for((e=e||t.length)>t.length&&(e=t.length),n=e-1;n>=0&&128==(192&t[n]);)n--;return n<0?e:0===n?e:n+a[t[n]]>e?n:e}},function(t,e,n){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},function(t,e,n){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(9);function i({capabilities:t=[],wants:e=[],haves:n=[],shallows:i=[],depth:o=null,since:a=null,exclude:s=[]}){const u=[];e=[...new Set(e)];let c=` ${t.join(" ")}`;for(const t of e)u.push(r.a.encode(`want ${t}${c}\n`)),c="";for(const t of i)u.push(r.a.encode(`shallow ${t}\n`));null!==o&&u.push(r.a.encode(`deepen ${o}\n`)),null!==a&&u.push(r.a.encode(`deepen-since ${Math.floor(a.valueOf()/1e3)}\n`));for(const t of s)u.push(r.a.encode(`deepen-not ${t}\n`));u.push(r.a.flush());for(const t of n)u.push(r.a.encode(`have ${t}\n`));return u.push(r.a.encode("done\n")),u}},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(28),i=n(63),o=n(33);function a(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function s(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function s(t){a(o,r,i,s,u,"next",t)}function u(t){a(o,r,i,s,u,"throw",t)}s(void 0)}))}}function u(t){return c.apply(this,arguments)}function c(){return(c=s((function*(t){const{packetlines:e,packfile:n,progress:a}=i.a.demux(t),s=[],u=[],c=[];let f=!1,l=!1;return new Promise((t,i)=>{Object(o.a)(e,e=>{const o=e.toString("utf8").trim();if(o.startsWith("shallow")){const t=o.slice(-41).trim();40!==t.length&&i(new r.a(t)),s.push(t)}else if(o.startsWith("unshallow")){const t=o.slice(-41).trim();40!==t.length&&i(new r.a(t)),u.push(t)}else if(o.startsWith("ACK")){const[,t,e]=o.split(" ");c.push({oid:t,status:e}),e||(l=!0)}else o.startsWith("NAK")&&(f=!0,l=!0);l&&t({shallows:s,unshallows:u,acks:c,nak:f,packfile:n,progress:a})})})}))).apply(this,arguments)}},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return h}));var r=n(40),i=n(51),o=n(36),a=n(11),s=n(17),u=n(34),c=n(1),f=n(94);function l(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function d(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){l(o,r,i,a,s,"next",t)}function s(t){l(o,r,i,a,s,"throw",t)}a(void 0)}))}}function h(t){return p.apply(this,arguments)}function p(){return(p=d((function*({fs:t,dir:e,gitdir:n=Object(c.a)(e,".git"),ourOid:f,baseOid:l,theirOid:h,ourName:p="ours",baseName:y="base",theirName:m="theirs",dryRun:w=!1}){const b=Object(r.a)({ref:f}),_=Object(r.a)({ref:l}),O=Object(r.a)({ref:h});var x,j;return(yield Object(i.a)({fs:t,dir:e,gitdir:n,trees:[b,_,O],map:(j=d((function*(e,[r,i,a]){const s=Object(u.a)(e);switch(`${yield g(r,i)}-${yield g(a,i)}`){case"false-false":return{mode:yield i.mode(),path:s,oid:yield i.oid(),type:yield i.type()};case"false-true":return a?{mode:yield a.mode(),path:s,oid:yield a.oid(),type:yield a.type()}:void 0;case"true-false":return r?{mode:yield r.mode(),path:s,oid:yield r.oid(),type:yield r.type()}:void 0;case"true-true":if(r&&i&&a&&"blob"===(yield r.type())&&"blob"===(yield i.type())&&"blob"===(yield a.type()))return v({fs:t,gitdir:n,path:s,ours:r,base:i,theirs:a,ourName:p,baseName:y,theirName:m});throw new o.a}})),function(t,e){return j.apply(this,arguments)}),reduce:(x=d((function*(e,r){const i=r.filter(Boolean);if(!e||"tree"!==e.type||0!==i.length){if(i.length>0){const r=new a.a(i).toObject(),o=yield Object(s.a)({fs:t,gitdir:n,type:"tree",object:r,dryRun:w});e.oid=o}return e}})),function(t,e){return x.apply(this,arguments)})})).oid}))).apply(this,arguments)}function g(t,e){return y.apply(this,arguments)}function y(){return(y=d((function*(t,e){return!(!t&&!e)&&(!(!t||e)||(!(t||!e)||("tree"!==(yield t.type())||"tree"!==(yield e.type()))&&((yield t.type())!==(yield e.type())||(yield t.mode())!==(yield e.mode())||(yield t.oid())!==(yield e.oid()))))}))).apply(this,arguments)}function v(t){return m.apply(this,arguments)}function m(){return(m=d((function*({fs:e,gitdir:n,path:r,ours:i,base:a,theirs:u,ourName:c,theirName:l,baseName:d,format:h,markerSize:p,dryRun:g}){const y=(yield a.mode())===(yield i.mode())?yield u.mode():yield i.mode();if((yield i.oid())===(yield u.oid()))return{mode:y,path:r,oid:yield i.oid(),type:"blob"};if((yield i.oid())===(yield a.oid()))return{mode:y,path:r,oid:yield u.oid(),type:"blob"};if((yield u.oid())===(yield a.oid()))return{mode:y,path:r,oid:yield i.oid(),type:"blob"};const{mergedText:v,cleanMerge:m}=Object(f.a)({ourContent:t.from(yield i.content()).toString("utf8"),baseContent:t.from(yield a.content()).toString("utf8"),theirContent:t.from(yield u.content()).toString("utf8"),ourName:c,theirName:l,baseName:d,format:h,markerSize:p});if(!m)throw new o.a;return{mode:y,path:r,oid:yield Object(s.a)({fs:e,gitdir:n,type:"blob",object:t.from(v,"utf8"),dryRun:g}),type:"blob"}}))).apply(this,arguments)}}).call(this,n(10).Buffer)},function(t,e,n){"use strict";n.d(e,"a",(function(){return d}));var r=n(14),i=n(4),o=n(35),a=n(15),s=n(12),u=n(7),c=n(1);function f(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){f(o,r,i,a,s,"next",t)}function s(t){f(o,r,i,a,s,"throw",t)}a(void 0)}))}}function d(t){return h.apply(this,arguments)}function h(){return(h=l((function*({fs:t,dir:e,gitdir:n=Object(c.a)(e,".git"),start:f,finish:d}){const h=yield o.a.read({fs:t,gitdir:n}),p=new Set,g=new Set;for(const e of f)p.add(yield i.a.resolve({fs:t,gitdir:n,ref:e}));for(const e of d)try{const r=yield i.a.resolve({fs:t,gitdir:n,ref:e});g.add(r)}catch(t){}const y=new Set;function v(t){return m.apply(this,arguments)}function m(){return(m=l((function*(e){y.add(e);const{type:i,object:o}=yield Object(u.a)({fs:t,gitdir:n,oid:e});if("tag"===i){return v(a.a.from(o).headers().object)}if("commit"!==i)throw new r.a(e,i,"commit");if(!h.has(e)){const t=s.a.from(o).headers().parent;for(e of t)g.has(e)||y.has(e)||(yield v(e))}}))).apply(this,arguments)}for(const t of p)yield v(t);return y}))).apply(this,arguments)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return f}));var r=n(15),i=n(12),o=n(11),a=n(7),s=n(1);function u(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function c(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){u(o,r,i,a,s,"next",t)}function s(t){u(o,r,i,a,s,"throw",t)}a(void 0)}))}}function f(t){return l.apply(this,arguments)}function l(){return(l=c((function*({fs:t,dir:e,gitdir:n=Object(s.a)(e,".git"),oids:u}){const f=new Set;function l(t){return d.apply(this,arguments)}function d(){return(d=c((function*(e){f.add(e);const{type:s,object:u}=yield Object(a.a)({fs:t,gitdir:n,oid:e});if("tag"===s){const t=r.a.from(u).headers().object;yield l(t)}else if("commit"===s){const t=i.a.from(u).headers().tree;yield l(t)}else if("tree"===s){const t=o.a.from(u);for(const e of t)"blob"!==e.type&&"tree"!==e.type||f.add(e.oid),"tree"===e.type&&(yield l(e.oid))}}))).apply(this,arguments)}for(const t of u)yield l(t);return f}))).apply(this,arguments)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(9);function i(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function s(t){i(a,r,o,s,u,"next",t)}function u(t){i(a,r,o,s,u,"throw",t)}s(void 0)}))}}function a(t){return s.apply(this,arguments)}function s(){return(s=o((function*({capabilities:t=[],triplets:e=[]}){const n=[];let i=`\0 ${t.join(" ")}`;for(const t of e)n.push(r.a.encode(`${t.oldoid} ${t.oid} ${t.fullRef}${i}\n`)),i="";return n.push(r.a.flush()),n}))).apply(this,arguments)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(30),i=n(9);function o(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function a(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function s(t){o(a,r,i,s,u,"next",t)}function u(t){o(a,r,i,s,u,"throw",t)}s(void 0)}))}}function s(t){return u.apply(this,arguments)}function u(){return(u=a((function*(t){const e={};let n="";const o=i.a.streamReader(t);let a=yield o();for(;!0!==a;)null!==a&&(n+=a.toString("utf8")+"\n"),a=yield o();const s=n.toString("utf8").split("\n");if(a=s.shift(),!a.startsWith("unpack "))throw new r.a('unpack ok" or "unpack [error message]',a);e.ok="unpack ok"===a,e.ok||(e.error=a.slice("unpack ".length)),e.refs={};for(const t of s){if(""===t.trim())continue;const n=t.slice(0,2),r=t.slice(3);let i=r.indexOf(" ");-1===i&&(i=r.length);const o=r.slice(0,i),a=r.slice(i+1);e.refs[o]={ok:"ok"===n,error:a}}return e}))).apply(this,arguments)}},function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var r=n(32);function i(t,e){return Object(r.a)(o(t),o(e))}function o(t){return"040000"===t.mode?t.path+"/":t.path}},function(t,e,n){"use strict";function r(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function i(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var a=t.apply(e,n);function s(t){r(a,i,o,s,u,"next",t)}function u(t){r(a,i,o,s,u,"throw",t)}s(void 0)}))}}function o(t){return a.apply(this,arguments)}function a(){return(a=i((function*({fs:t,gitdir:e,oid:n}){const r=`objects/${n.slice(0,2)}/${n.slice(2)}`,i=yield t.read(`${e}/${r}`);return i?{object:i,format:"deflated",source:r}:null}))).apply(this,arguments)}n.d(e,"a",(function(){return o}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return u}));var r=n(5),i=n(68),o=n(1);function a(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function s(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function s(t){a(o,r,i,s,u,"next",t)}function u(t){a(o,r,i,s,u,"throw",t)}s(void 0)}))}}function u(t){return c.apply(this,arguments)}function c(){return(c=s((function*({fs:t,gitdir:e,oid:n,format:a="content",getExternalRefDelta:s}){let u=yield t.readdir(Object(o.a)(e,"objects/pack"));u=u.filter(t=>t.endsWith(".idx"));for(const o of u){const a=`${e}/objects/pack/${o}`,u=yield Object(i.a)({fs:t,filename:a,getExternalRefDelta:s});if(u.error)throw new r.a(u.error);if(u.offsets.has(n)){if(!u.pack){const e=a.replace(/idx$/,"pack");u.pack=t.read(e)}const e=yield u.read({oid:n,getExternalRefDelta:s});return e.format="content",e.source=`objects/pack/${o.replace(/idx$/,"pack")}`,e}}return null}))).apply(this,arguments)}},function(t,e,n){var r;r=function(t){t.version="1.2.0";var e=function(){for(var t=0,e=new Array(256),n=0;256!=n;++n)t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=1&(t=n)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1)?-306674912^t>>>1:t>>>1,e[n]=t;return"undefined"!=typeof Int32Array?new Int32Array(e):e}();t.table=e,t.bstr=function(t,n){for(var r=-1^n,i=t.length-1,o=0;o<i;)r=(r=r>>>8^e[255&(r^t.charCodeAt(o++))])>>>8^e[255&(r^t.charCodeAt(o++))];return o===i&&(r=r>>>8^e[255&(r^t.charCodeAt(o))]),-1^r},t.buf=function(t,n){if(t.length>1e4)return function(t,n){for(var r=-1^n,i=t.length-7,o=0;o<i;)r=(r=(r=(r=(r=(r=(r=(r=r>>>8^e[255&(r^t[o++])])>>>8^e[255&(r^t[o++])])>>>8^e[255&(r^t[o++])])>>>8^e[255&(r^t[o++])])>>>8^e[255&(r^t[o++])])>>>8^e[255&(r^t[o++])])>>>8^e[255&(r^t[o++])])>>>8^e[255&(r^t[o++])];for(;o<i+7;)r=r>>>8^e[255&(r^t[o++])];return-1^r}(t,n);for(var r=-1^n,i=t.length-3,o=0;o<i;)r=(r=(r=(r=r>>>8^e[255&(r^t[o++])])>>>8^e[255&(r^t[o++])])>>>8^e[255&(r^t[o++])])>>>8^e[255&(r^t[o++])];for(;o<i+3;)r=r>>>8^e[255&(r^t[o++])];return-1^r},t.str=function(t,n){for(var r,i,o=-1^n,a=0,s=t.length;a<s;)(r=t.charCodeAt(a++))<128?o=o>>>8^e[255&(o^r)]:r<2048?o=(o=o>>>8^e[255&(o^(192|r>>6&31))])>>>8^e[255&(o^(128|63&r))]:r>=55296&&r<57344?(r=64+(1023&r),i=1023&t.charCodeAt(a++),o=(o=(o=(o=o>>>8^e[255&(o^(240|r>>8&7))])>>>8^e[255&(o^(128|r>>2&63))])>>>8^e[255&(o^(128|i>>6&15|(3&r)<<4))])>>>8^e[255&(o^(128|63&i))]):o=(o=(o=o>>>8^e[255&(o^(224|r>>12&15))])>>>8^e[255&(o^(128|r>>6&63))])>>>8^e[255&(o^(128|63&r))];return-1^o}},"undefined"==typeof DO_NOT_EXPORT_CRC?r(e):r({})},function(t,e,n){t.exports=function(t,e){var n,i,u,c,f,l={size:null,buffer:null},d={size:null,buffer:null};s(t,l),s(l.buffer,d),t=d.buffer,f=i=0,n=r.create(d.size),c=t.length;for(;f<c;)128&(u=t[f++])?h():p();return n;function h(){r.writeUInt32LE(o,0,0),r.writeUInt32LE(a,0,0);for(var s,c,l=1,d=0;d<4;++d)u&l&&(o[3-d]=t[f++]),l<<=1;for(d=0;d<3;++d)u&l&&(a[3-d]=t[f++]),l<<=1;a[0]=0,s=r.readUInt32BE(a,0)||65536,c=r.readUInt32BE(o,0),r.copy(e,n,i,c,c+s),i+=s}function p(){r.copy(t,n,i,f,u+f),f+=u,i+=u}};var r=n(137),i=new(n(148)),o=r.create(4),a=r.create(4);function s(t,e){var n=!1,o=0,a=0;i.ondata=function(t){a=t,n=!0};do{i.write(t[o++])}while(!n);e.size=a,e.buffer=r.subarray(t,o)}},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return c}));var r=n(37),i=n.n(r),o=n(5),a=n(69);function s(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function u(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){s(o,r,i,a,u,"next",t)}function u(t){s(o,r,i,a,u,"throw",t)}a(void 0)}))}}function c(t,e){return f.apply(this,arguments)}function f(){return(f=u((function*(t,e){const n=new a.a(t);let r=yield n.read(4);if(r=r.toString("utf8"),"PACK"!==r)throw new o.a(`Invalid PACK header '${r}'`);let s=yield n.read(4);if(s=s.readUInt32BE(0),2!==s)throw new o.a(`Invalid packfile version: ${s}`);let u=yield n.read(4);if(u=u.readUInt32BE(0),!(u<1))for(;!n.eof()&&u--;){const t=n.tell(),{type:r,length:a,ofs:s,reference:c}=yield l(n),f=new i.a.Inflate;for(;!f.result;){const i=yield n.chunk();if(n.ended)break;if(f.push(i,!1),f.err)throw new o.a(`Pako error: ${f.msg}`);if(f.result){if(f.result.length!==a)throw new o.a("Inflated object size is different from that stated in packfile.");yield n.undo(),yield n.read(i.length-f.strm.avail_in);const l=n.tell();yield e({data:f.result,type:r,num:u,offset:t,end:l,reference:c,ofs:s})}}}}))).apply(this,arguments)}function l(t){return d.apply(this,arguments)}function d(){return(d=u((function*(e){let n=yield e.byte();const r=n>>4&7;let i,o,a=15&n;if(128&n){let t=4;do{n=yield e.byte(),a|=(127&n)<<t,t+=7}while(128&n)}if(6===r){let r=0;i=0;const a=[];do{n=yield e.byte(),i|=(127&n)<<r,r+=7,a.push(n)}while(128&n);o=t.from(a)}if(7===r){o=yield e.read(20)}return{type:r,length:a,ofs:i,reference:o}}))).apply(this,arguments)}}).call(this,n(10).Buffer)},function(t,e,n){"use strict";function r(t){return t.split("\n").map(t=>t.replace(/^ /,"")).join("\n")}n.d(e,"a",(function(){return r}))},function(t,e,n){(function(e){function n(t){return Array.isArray(t)?t:[t]}const r=/^\s+$/,i=/^\\!/,o=/^\\#/,a=/\r?\n/g,s=/^\.*\/|^\.+$/,u="undefined"!=typeof Symbol?Symbol.for("node-ignore"):"node-ignore",c=/([0-z])-([0-z])/g,f=[[/\\?\s+$/,t=>0===t.indexOf("\\")?" ":""],[/\\\s/g,()=>" "],[/[\\^$.|*+(){]/g,t=>`\\${t}`],[/\[([^\]/]*)($|\])/g,(t,e,n)=>{return"]"===n?`[${r=e,r.replace(c,(t,e,n)=>e.charCodeAt(0)<=n.charCodeAt(0)?t:"")}]`:`\\${t}`;var r}],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/(?:[^*])$/,t=>/\/$/.test(t)?`${t}$`:`${t}(?=$|\\/$)`],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(t,e,n)=>e+6<n.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)\\\*(?=.+)/g,(t,e)=>`${e}[^\\/]*`],[/(\^|\\\/)?\\\*$/,(t,e)=>`${e?`${e}[^/]+`:"[^/]*"}(?=$|\\/$)`],[/\\\\\\/g,()=>"\\"]],l=Object.create(null),d=t=>"string"==typeof t;class h{constructor(t,e,n,r){this.origin=t,this.pattern=e,this.negative=n,this.regex=r}}const p=(t,e)=>{const n=t;let r=!1;0===t.indexOf("!")&&(r=!0,t=t.substr(1));const a=((t,e,n)=>{const r=l[t];if(r)return r;const i=f.reduce((e,n)=>e.replace(n[0],n[1].bind(t)),t);return l[t]=n?new RegExp(i,"i"):new RegExp(i)})(t=t.replace(i,"!").replace(o,"#"),0,e);return new h(n,t,r,a)},g=(t,e)=>{throw new e(t)},y=(t,e,n)=>{if(!d(t))return n(`path must be a string, but got \`${e}\``,TypeError);if(!t)return n("path must not be empty",TypeError);if(y.isNotRelative(t)){return n(`path should be a ${"`path.relative()`d"} string, but got "${e}"`,RangeError)}return!0},v=t=>s.test(t);y.isNotRelative=v,y.convert=t=>t;class m{constructor({ignorecase:t=!0}={}){var e,n,r;this._rules=[],this._ignorecase=t,e=this,n=u,r=!0,Object.defineProperty(e,n,{value:r}),this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(t){if(t&&t[u])return this._rules=this._rules.concat(t._rules),void(this._added=!0);if((t=>t&&d(t)&&!r.test(t)&&0!==t.indexOf("#"))(t)){const e=p(t,this._ignorecase);this._added=!0,this._rules.push(e)}}add(t){return this._added=!1,n(d(t)?(t=>t.split(a))(t):t).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(t){return this.add(t)}_testOne(t,e){let n=!1,r=!1;return this._rules.forEach(i=>{const{negative:o}=i;r===o&&n!==r||o&&!n&&!r&&!e||i.regex.test(t)&&(n=!o,r=o)}),{ignored:n,unignored:r}}_test(t,e,n,r){const i=t&&y.convert(t);return y(i,t,g),this._t(i,e,n,r)}_t(t,e,n,r){if(t in e)return e[t];if(r||(r=t.split("/")),r.pop(),!r.length)return e[t]=this._testOne(t,n);const i=this._t(r.join("/")+"/",e,n,r);return e[t]=i.ignored?i:this._testOne(t,n)}ignores(t){return this._test(t,this._ignoreCache,!1).ignored}createFilter(){return t=>!this.ignores(t)}filter(t){return n(t).filter(this.createFilter())}test(t){return this._test(t,this._testCache,!0)}}const w=t=>new m(t),b=()=>!1;if(w.isPathValid=t=>y(t&&y.convert(t),t,b),w.default=w,t.exports=w,void 0!==e&&(e.env&&e.env.IGNORE_TEST_WIN32||"win32"===e.platform)){const t=t=>/^\\\\\?\\/.test(t)||/["<>|\u0000-\u001F]+/u.test(t)?t:t.replace(/\\/g,"/");y.convert=t;const e=/^[a-z]:\//i;y.isNotRelative=t=>e.test(t)||v(t)}}).call(this,n(100))},function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));var r=n(5);function i(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(r,o){var a=t.apply(e,n);function s(t){i(a,r,o,s,u,"next",t)}function u(t){i(a,r,o,s,u,"throw",t)}s(void 0)}))}}function a(t){return s.apply(this,arguments)}function s(){return(s=o((function*({fs:t,gitdir:e,object:n,format:i,oid:o}){if("deflated"!==i)throw new r.a("GitObjectStoreLoose expects objects to write to be in deflated format");const a=`${e}/${`objects/${o.slice(0,2)}/${o.slice(2)}`}`;(yield t.exists(a))||(yield t.write(a,n))}))).apply(this,arguments)}},function(t,e,n){var r=n(157);function i(t,e){for(var n=[],i=t.length,o=e.length,a=function(t,e){var n=new r(t,e);n.compose();for(var i,o,a=n.getses(),s=t.length-1,u=e.length-1,c=a.length-1;c>=0;--c)a[c].t===n.SES_COMMON?(o?(o.chain={file1index:s,file2index:u,chain:null},o=o.chain):o=i={file1index:s,file2index:u,chain:null},s--,u--):a[c].t===n.SES_DELETE?s--:a[c].t===n.SES_ADD&&u--;var f={file1index:-1,file2index:-1,chain:null};return o?(o.chain=f,i):f}(t,e);null!==a;a=a.chain){var s=i-a.file1index-1,u=o-a.file2index-1;i=a.file1index,o=a.file2index,(s||u)&&n.push({file1:[i+1,s],file2:[o+1,u]})}return n.reverse(),n}t.exports=function(t,e,n){var r=[],o=[t,e,n],a=function(t,e,n){var r,o=i(e,t),a=i(e,n),s=[];function u(t,e){s.push([t.file1[0],e,t.file1[1],t.file2[0],t.file2[1]])}for(r=0;r<o.length;r++)u(o[r],0);for(r=0;r<a.length;r++)u(a[r],2);s.sort((function(t,e){return t[0]-e[0]}));var c=[],f=0;function l(t){t>f&&(c.push([1,f,t-f]),f=t)}for(var d=0;d<s.length;d++){for(var h=d,p=s[d],g=p[0],y=g+p[2];d<s.length-1;){var v=s[d+1],m=v[0];if(m>y)break;y=Math.max(y,m+v[2]),d++}if(l(g),h==d)p[4]>0&&c.push([p[1],p[3],p[4]]);else{var w={0:[t.length,-1,e.length,-1],2:[n.length,-1,e.length,-1]};for(r=h;r<=d;r++){var b=w[(p=s[r])[1]],_=p[0],O=_+p[2],x=p[3],j=x+p[4];b[0]=Math.min(x,b[0]),b[1]=Math.max(j,b[1]),b[2]=Math.min(_,b[2]),b[3]=Math.max(O,b[3])}var P=w[0][0]+(g-w[0][2]),k=w[0][1]+(y-w[0][3]),E=w[2][0]+(g-w[2][2]),S=w[2][1]+(y-w[2][3]);c.push([-1,P,k-P,g,y-g,E,S-E])}f=y}return l(e.length),c}(t,e,n),s=[];function u(){s.length&&r.push({ok:s}),s=[]}function c(t){for(var e=0;e<t.length;e++)s.push(t[e])}function f(e){if(e[2]!=e[6])return!0;for(var r=e[1],i=e[5],o=0;o<e[2];o++)if(t[o+r]!=n[o+i])return!0;return!1}for(var l=0;l<a.length;l++){var d=a[l],h=d[0];-1==h?f(d)?(u(),r.push({conflict:{a:t.slice(d[1],d[1]+d[2]),aIndex:d[1],o:e.slice(d[3],d[3]+d[4]),oIndex:d[3],b:n.slice(d[5],d[5]+d[6]),bIndex:d[5]}})):c(o[0].slice(d[1],d[1]+d[2])):c(o[h].slice(d[1],d[1]+d[2]))}return u(),r}},function(t,e,n){"use strict";n.d(e,"a",(function(){return r}));const r={commit:16,tree:32,blob:48,tag:64,ofs_delta:96,ref_delta:112}},function(t,e,n){"use strict";function r(t,e){const n=t.map(t=>t.split("=",1)[0]);return e.filter(t=>{const e=t.split("=",1)[0];return n.includes(e)})}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(54),i=n(33);function o(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function a(t){const e=t.indexOf("\r"),n=t.indexOf("\n");return-1===e&&-1===n?-1:-1===e?n+1:-1===n?e+1:n===e+1?n+1:Math.min(e,n)+1}function s(t){const e=new r.a;let n="";var s;return(s=function*(){yield Object(i.a)(t,t=>{for(t=t.toString("utf8"),n+=t;;){const t=a(n);if(-1===t)break;e.write(n.slice(0,t)),n=n.slice(t)}}),n.length>0&&e.write(n),e.end()},function(){var t=this,e=arguments;return new Promise((function(n,r){var i=s.apply(t,e);function a(t){o(i,n,r,a,u,"next",t)}function u(t){o(i,n,r,a,u,"throw",t)}a(void 0)}))})(),e}},,function(t,e,n){"use strict";(function(e){var n=function(t){t=t||{},this.Promise=t.Promise||Promise,this.queues={},this.domains={},this.domainReentrant=t.domainReentrant||!1,this.timeout=t.timeout||n.DEFAULT_TIMEOUT,this.maxPending=t.maxPending||n.DEFAULT_MAX_PENDING};n.DEFAULT_TIMEOUT=0,n.DEFAULT_MAX_PENDING=1e3,n.prototype.acquire=function(t,n,r,i){if(Array.isArray(t))return this._acquireBatch(t,n,r,i);if("function"!=typeof n)throw new Error("You must pass a function to execute");var o=null,a=null,s=null;"function"!=typeof r&&(i=r,r=null,s=new this.Promise((function(t,e){o=t,a=e}))),i=i||{};var u=!1,c=null,f=this,l=function(e,n,i){e&&(0===f.queues[t].length&&delete f.queues[t],delete f.domains[t]),u||(s?n?a(n):o(i):"function"==typeof r&&r(n,i),u=!0),e&&f.queues[t]&&f.queues[t].length>0&&f.queues[t].shift()()},d=function(r){if(u)return l(r);if(c&&(clearTimeout(c),c=null),r&&(f.domains[t]=e.domain),1===n.length){var i=!1;n((function(t,e){i||(i=!0,l(r,t,e))}))}else f._promiseTry((function(){return n()})).then((function(t){l(r,void 0,t)}),(function(t){l(r,t)}))};if(e.domain&&(d=e.domain.bind(d)),f.queues[t])if(f.domainReentrant&&e.domain&&e.domain===f.domains[t])d(!1);else if(f.queues[t].length>=f.maxPending)l(!1,new Error("Too much pending tasks"));else{var h=function(){d(!0)};i.skipQueue?f.queues[t].unshift(h):f.queues[t].push(h);var p=i.timeout||f.timeout;p&&(c=setTimeout((function(){c=null,l(!1,new Error("async-lock timed out"))}),p))}else f.queues[t]=[],d(!0);return s||void 0},n.prototype._acquireBatch=function(t,e,n,r){"function"!=typeof n&&(r=n,n=null);var i=this,o=e;if(t.reverse().forEach((function(t){o=function(t,e){return function(n){i.acquire(t,e,n,r)}}(t,o)})),"function"!=typeof n)return new this.Promise((function(t,e){1===o.length?o((function(n,r){n?e(n):t(r)})):t(o())}));o(n)},n.prototype.isBusy=function(t){return t?!!this.queues[t]:Object.keys(this.queues).length>0},n.prototype._promiseTry=function(t){try{return this.Promise.resolve(t())}catch(t){return this.Promise.reject(t)}},t.exports=n}).call(this,n(100))},function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e){e.read=function(t,e,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,f=-7,l=n?i-1:0,d=n?-1:1,h=t[e+l];for(l+=d,o=h&(1<<-f)-1,h>>=-f,f+=s;f>0;o=256*o+t[e+l],l+=d,f-=8);for(a=o&(1<<-f)-1,o>>=-f,f+=r;f>0;a=256*a+t[e+l],l+=d,f-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,r),o-=c}return(h?-1:1)*a*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var a,s,u,c=8*o-i-1,f=(1<<c)-1,l=f>>1,d=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,h=r?0:o-1,p=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(u=Math.pow(2,-a))<1&&(a--,u*=2),(e+=a+l>=1?d/u:d*Math.pow(2,1-l))*u>=2&&(a++,u/=2),a+l>=f?(s=0,a=f):a+l>=1?(s=(e*u-1)*Math.pow(2,i),a+=l):(s=e*Math.pow(2,l-1)*Math.pow(2,i),a=0));i>=8;t[n+h]=255&s,h+=p,s/=256,i-=8);for(a=a<<i|s,c+=i;c>0;t[n+h]=255&a,h+=p,a/=256,c-=8);t[n+h-p]|=128*g}},function(t,e){var n={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==n.call(t)}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},function(t,e,n){var r=n(103).Buffer;function i(t,e){this._block=r.alloc(t),this._finalSize=e,this._blockSize=t,this._len=0}i.prototype.update=function(t,e){"string"==typeof t&&(e=e||"utf8",t=r.from(t,e));for(var n=this._block,i=this._blockSize,o=t.length,a=this._len,s=0;s<o;){for(var u=a%i,c=Math.min(o-s,i-u),f=0;f<c;f++)n[u+f]=t[s+f];s+=c,(a+=c)%i==0&&this._update(n)}return this._len+=o,this},i.prototype.digest=function(t){var e=this._len%this._blockSize;this._block[e]=128,this._block.fill(0,e+1),e>=this._finalSize&&(this._update(this._block),this._block.fill(0));var n=8*this._len;if(n<=4294967295)this._block.writeUInt32BE(n,this._blockSize-4);else{var r=(4294967295&n)>>>0,i=(n-r)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(r,this._blockSize-4)}this._update(this._block);var o=this._hash();return t?o.toString(t):o},i.prototype._update=function(){throw new Error("_update must be implemented by subclass")},t.exports=i},function(t,e,n){var r={};function i(t,e){for(var n in t)e[n]=t[n]}t.exports=r,r.from=n(138),r.to=n(139),r.is=n(141),r.subarray=n(142),r.join=n(143),r.copy=n(144),r.create=n(145),i(n(146),r),i(n(147),r)},function(t,e,n){t.exports=function(t,e){if(Array.isArray(t))return new Uint8Array(t);return i[e||"utf8"](t)};var r=n(82),i={hex:function(t){for(var e=t.length/2,n=new Uint8Array(e),r="",i=0,o=t.length;i<o;++i)r+=t.charAt(i),i>0&&i%2==1&&(n[i>>>1]=parseInt(r,16),r="");return n},utf8:function(t){for(var e,n,r=[],i=0,o=t.length;i<o;++i)if(128&(n=t.charCodeAt(i))){e=encodeURIComponent(t.charAt(i)).substr(1).split("%");for(var a=0,s=e.length;a<s;++a)r[r.length]=parseInt(e[a],16)}else r[r.length]=n;return new Uint8Array(r)},base64:function(t){return new Uint8Array(r.toByteArray(t))}}},function(t,e,n){t.exports=function(t,e){return o[e||"utf8"](t)};var r=n(82),i=n(140),o={hex:function(t){for(var e,n="",r=0,i=t.length;r<i;++r)e=t[r],n+=((240&e)>>>4).toString(16),n+=(15&e).toString(16);return n},utf8:function(t){return i(t)},base64:function(t){return r.fromByteArray(t)}}},function(t,e){t.exports=function(t,e,o){e=void 0===e?0:e,o=void 0===o?t.length:o;var c,f,l=0,d=0;r.length=n.length=0;for(;l<t.length;)f=t[l],!d&&128&f?(c=s(f),d+=c,c<8&&(r[r.length]=f&a[6-c])):d?(r[r.length]=f&a[6],!--d&&r.length&&(n[n.length]=i(u(r)),r.length=0)):n[n.length]=i(f),++l;r.length&&!d&&(n[n.length]=i(u(r)),r.length=0);return n.join("")};var n=[],r=[],i=String.fromCharCode,o=[64,32,16,8,4,2,1],a=[0,1,3,7,15,31,63,127];function s(t){for(var e=0;e<7&&t&o[e];++e);return e}function u(t){for(var e=0,n=0,r=t.length;n<r;++n)e|=t[n]<<6*(r-n-1);return e}},function(t,e){t.exports=function(t){return t instanceof Uint8Array}},function(t,e){t.exports=function(t,e,n){return t.subarray(e||0,n||t.length)}},function(t,e){t.exports=function(t,e){if(!t.length)return new Uint8Array(0);var n=void 0!==e?e:function(t){for(var e=0,n=0,r=t.length;n<r;++n)e+=t[n].byteLength;return e}(t),r=new Uint8Array(n),i=t[0],o=i.length,a=0,s=0,u=0;for(;u<n;)s!==o?r[u++]=i[s++]:(s=0,++a,i=t[a],o=i&&i.length);return r}},function(t,e){t.exports=function(t,e,n,o,a){if(n=arguments.length<3?0:n,o=arguments.length<4?0:o,(a=arguments.length<5?t.length:a)===o)return;if(0===e.length||0===t.length)return;a>t.length&&(a=t.length);e.length-n<a-o&&(a=e.length-n+o);if(t.buffer!==e.buffer)return r(t,e,n,o,a);return i(t,e,n,o,a)};var n=[].slice;function r(t,e,n,r,i){for(var o=i-r+n,a=n,s=r;a<o;++a,++s)e[a]=t[s]}function i(t,e,r,i,o){for(var a=o+i,s=new Uint8Array(n.call(t,i,a)),u=0;i<a;++i,++u)e[r++]=s[u]}},function(t,e){t.exports=function(t){return new Uint8Array(t)}},function(t,e,n){t.exports={readUInt8:function(t,e){return t[e]},readInt8:function(t,e){var n=t[e];return n<128?n:n-256},readUInt16LE:function(t,e){return r.get(t).getUint16(e+t.byteOffset,!0)},readUInt32LE:function(t,e){return r.get(t).getUint32(e+t.byteOffset,!0)},readInt16LE:function(t,e){return r.get(t).getInt16(e+t.byteOffset,!0)},readInt32LE:function(t,e){return r.get(t).getInt32(e+t.byteOffset,!0)},readFloatLE:function(t,e){return r.get(t).getFloat32(e+t.byteOffset,!0)},readDoubleLE:function(t,e){return r.get(t).getFloat64(e+t.byteOffset,!0)},readUInt16BE:function(t,e){return r.get(t).getUint16(e+t.byteOffset,!1)},readUInt32BE:function(t,e){return r.get(t).getUint32(e+t.byteOffset,!1)},readInt16BE:function(t,e){return r.get(t).getInt16(e+t.byteOffset,!1)},readInt32BE:function(t,e){return r.get(t).getInt32(e+t.byteOffset,!1)},readFloatBE:function(t,e){return r.get(t).getFloat32(e+t.byteOffset,!1)},readDoubleBE:function(t,e){return r.get(t).getFloat64(e+t.byteOffset,!1)}};var r=n(104)},function(t,e,n){t.exports={writeUInt8:function(t,e,n){return t[n]=e},writeInt8:function(t,e,n){return t[n]=e<0?e+256:e},writeUInt16LE:function(t,e,n){return r.get(t).setUint16(n+t.byteOffset,e,!0)},writeUInt32LE:function(t,e,n){return r.get(t).setUint32(n+t.byteOffset,e,!0)},writeInt16LE:function(t,e,n){return r.get(t).setInt16(n+t.byteOffset,e,!0)},writeInt32LE:function(t,e,n){return r.get(t).setInt32(n+t.byteOffset,e,!0)},writeFloatLE:function(t,e,n){return r.get(t).setFloat32(n+t.byteOffset,e,!0)},writeDoubleLE:function(t,e,n){return r.get(t).setFloat64(n+t.byteOffset,e,!0)},writeUInt16BE:function(t,e,n){return r.get(t).setUint16(n+t.byteOffset,e,!1)},writeUInt32BE:function(t,e,n){return r.get(t).setUint32(n+t.byteOffset,e,!1)},writeInt16BE:function(t,e,n){return r.get(t).setInt16(n+t.byteOffset,e,!1)},writeInt32BE:function(t,e,n){return r.get(t).setInt32(n+t.byteOffset,e,!1)},writeFloatBE:function(t,e,n){return r.get(t).setFloat32(n+t.byteOffset,e,!1)},writeDoubleBE:function(t,e,n){return r.get(t).setFloat64(n+t.byteOffset,e,!1)}};var r=n(104)},function(t,e){t.exports=n;function n(){this.accum=[]}n.prototype.write=function(t){var e,n,r=128&t,i=this.accum;if(i[i.length]=127&t,r)return;e=i.length,n=0;for(var o=0;o<e;++o)n|=i[o]<<7*o;return i.length=0,void this.ondata(n)}},function(t,e,n){"use strict";var r=n(150),i=n(26),o=n(107),a=n(83),s=n(108),u=Object.prototype.toString;function c(t){if(!(this instanceof c))return new c(t);this.options=i.assign({level:-1,method:8,chunkSize:16384,windowBits:15,memLevel:8,strategy:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s,this.strm.avail_out=0;var n=r.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(0!==n)throw new Error(a[n]);if(e.header&&r.deflateSetHeader(this.strm,e.header),e.dictionary){var f;if(f="string"==typeof e.dictionary?o.string2buf(e.dictionary):"[object ArrayBuffer]"===u.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,0!==(n=r.deflateSetDictionary(this.strm,f)))throw new Error(a[n]);this._dict_set=!0}}function f(t,e){var n=new c(e);if(n.push(t,!0),n.err)throw n.msg||a[n.err];return n.result}c.prototype.push=function(t,e){var n,a,s=this.strm,c=this.options.chunkSize;if(this.ended)return!1;a=e===~~e?e:!0===e?4:0,"string"==typeof t?s.input=o.string2buf(t):"[object ArrayBuffer]"===u.call(t)?s.input=new Uint8Array(t):s.input=t,s.next_in=0,s.avail_in=s.input.length;do{if(0===s.avail_out&&(s.output=new i.Buf8(c),s.next_out=0,s.avail_out=c),1!==(n=r.deflate(s,a))&&0!==n)return this.onEnd(n),this.ended=!0,!1;0!==s.avail_out&&(0!==s.avail_in||4!==a&&2!==a)||("string"===this.options.to?this.onData(o.buf2binstring(i.shrinkBuf(s.output,s.next_out))):this.onData(i.shrinkBuf(s.output,s.next_out)))}while((s.avail_in>0||0===s.avail_out)&&1!==n);return 4===a?(n=r.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,0===n):2!==a||(this.onEnd(0),s.avail_out=0,!0)},c.prototype.onData=function(t){this.chunks.push(t)},c.prototype.onEnd=function(t){0===t&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Deflate=c,e.deflate=f,e.deflateRaw=function(t,e){return(e=e||{}).raw=!0,f(t,e)},e.gzip=function(t,e){return(e=e||{}).gzip=!0,f(t,e)}},function(t,e,n){"use strict";var r,i=n(26),o=n(151),a=n(105),s=n(106),u=n(83);function c(t,e){return t.msg=u[e],e}function f(t){return(t<<1)-(t>4?9:0)}function l(t){for(var e=t.length;--e>=0;)t[e]=0}function d(t){var e=t.state,n=e.pending;n>t.avail_out&&(n=t.avail_out),0!==n&&(i.arraySet(t.output,e.pending_buf,e.pending_out,n,t.next_out),t.next_out+=n,e.pending_out+=n,t.total_out+=n,t.avail_out-=n,e.pending-=n,0===e.pending&&(e.pending_out=0))}function h(t,e){o._tr_flush_block(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,d(t.strm)}function p(t,e){t.pending_buf[t.pending++]=e}function g(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function y(t,e){var n,r,i=t.max_chain_length,o=t.strstart,a=t.prev_length,s=t.nice_match,u=t.strstart>t.w_size-262?t.strstart-(t.w_size-262):0,c=t.window,f=t.w_mask,l=t.prev,d=t.strstart+258,h=c[o+a-1],p=c[o+a];t.prev_length>=t.good_match&&(i>>=2),s>t.lookahead&&(s=t.lookahead);do{if(c[(n=e)+a]===p&&c[n+a-1]===h&&c[n]===c[o]&&c[++n]===c[o+1]){o+=2,n++;do{}while(c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&c[++o]===c[++n]&&o<d);if(r=258-(d-o),o=d-258,r>a){if(t.match_start=e,a=r,r>=s)break;h=c[o+a-1],p=c[o+a]}}}while((e=l[e&f])>u&&0!=--i);return a<=t.lookahead?a:t.lookahead}function v(t){var e,n,r,o,u,c,f,l,d,h,p=t.w_size;do{if(o=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-262)){i.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=n=t.hash_size;do{r=t.head[--e],t.head[e]=r>=p?r-p:0}while(--n);e=n=p;do{r=t.prev[--e],t.prev[e]=r>=p?r-p:0}while(--n);o+=p}if(0===t.strm.avail_in)break;if(c=t.strm,f=t.window,l=t.strstart+t.lookahead,d=o,h=void 0,(h=c.avail_in)>d&&(h=d),n=0===h?0:(c.avail_in-=h,i.arraySet(f,c.input,c.next_in,h,l),1===c.state.wrap?c.adler=a(c.adler,f,h,l):2===c.state.wrap&&(c.adler=s(c.adler,f,h,l)),c.next_in+=h,c.total_in+=h,h),t.lookahead+=n,t.lookahead+t.insert>=3)for(u=t.strstart-t.insert,t.ins_h=t.window[u],t.ins_h=(t.ins_h<<t.hash_shift^t.window[u+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[u+3-1])&t.hash_mask,t.prev[u&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=u,u++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<262&&0!==t.strm.avail_in)}function m(t,e){for(var n,r;;){if(t.lookahead<262){if(v(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==n&&t.strstart-n<=t.w_size-262&&(t.match_length=y(t,n)),t.match_length>=3)if(r=o._tr_tally(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else r=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(r&&(h(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,4===e?(h(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(h(t,!1),0===t.strm.avail_out)?1:2}function w(t,e){for(var n,r,i;;){if(t.lookahead<262){if(v(t),t.lookahead<262&&0===e)return 1;if(0===t.lookahead)break}if(n=0,t.lookahead>=3&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==n&&t.prev_length<t.max_lazy_match&&t.strstart-n<=t.w_size-262&&(t.match_length=y(t,n),t.match_length<=5&&(1===t.strategy||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-3,r=o._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=i&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+3-1])&t.hash_mask,n=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,r&&(h(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if((r=o._tr_tally(t,0,t.window[t.strstart-1]))&&h(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(r=o._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,4===e?(h(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(h(t,!1),0===t.strm.avail_out)?1:2}function b(t,e,n,r,i){this.good_length=t,this.max_lazy=e,this.nice_length=n,this.max_chain=r,this.func=i}function _(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=8,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new i.Buf16(1146),this.dyn_dtree=new i.Buf16(122),this.bl_tree=new i.Buf16(78),l(this.dyn_ltree),l(this.dyn_dtree),l(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new i.Buf16(16),this.heap=new i.Buf16(573),l(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new i.Buf16(573),l(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function O(t){var e;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=2,(e=t.state).pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=e.wrap?42:113,t.adler=2===e.wrap?0:1,e.last_flush=0,o._tr_init(e),0):c(t,-2)}function x(t){var e,n=O(t);return 0===n&&((e=t.state).window_size=2*e.w_size,l(e.head),e.max_lazy_match=r[e.level].max_lazy,e.good_match=r[e.level].good_length,e.nice_match=r[e.level].nice_length,e.max_chain_length=r[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=2,e.match_available=0,e.ins_h=0),n}function j(t,e,n,r,o,a){if(!t)return-2;var s=1;if(-1===e&&(e=6),r<0?(s=0,r=-r):r>15&&(s=2,r-=16),o<1||o>9||8!==n||r<8||r>15||e<0||e>9||a<0||a>4)return c(t,-2);8===r&&(r=9);var u=new _;return t.state=u,u.strm=t,u.wrap=s,u.gzhead=null,u.w_bits=r,u.w_size=1<<u.w_bits,u.w_mask=u.w_size-1,u.hash_bits=o+7,u.hash_size=1<<u.hash_bits,u.hash_mask=u.hash_size-1,u.hash_shift=~~((u.hash_bits+3-1)/3),u.window=new i.Buf8(2*u.w_size),u.head=new i.Buf16(u.hash_size),u.prev=new i.Buf16(u.w_size),u.lit_bufsize=1<<o+6,u.pending_buf_size=4*u.lit_bufsize,u.pending_buf=new i.Buf8(u.pending_buf_size),u.d_buf=1*u.lit_bufsize,u.l_buf=3*u.lit_bufsize,u.level=e,u.strategy=a,u.method=n,x(t)}r=[new b(0,0,0,0,(function(t,e){var n=65535;for(n>t.pending_buf_size-5&&(n=t.pending_buf_size-5);;){if(t.lookahead<=1){if(v(t),0===t.lookahead&&0===e)return 1;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var r=t.block_start+n;if((0===t.strstart||t.strstart>=r)&&(t.lookahead=t.strstart-r,t.strstart=r,h(t,!1),0===t.strm.avail_out))return 1;if(t.strstart-t.block_start>=t.w_size-262&&(h(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(h(t,!0),0===t.strm.avail_out?3:4):(t.strstart>t.block_start&&(h(t,!1),t.strm.avail_out),1)})),new b(4,4,8,4,m),new b(4,5,16,8,m),new b(4,6,32,32,m),new b(4,4,16,16,w),new b(8,16,32,32,w),new b(8,16,128,128,w),new b(8,32,128,256,w),new b(32,128,258,1024,w),new b(32,258,258,4096,w)],e.deflateInit=function(t,e){return j(t,e,8,15,8,0)},e.deflateInit2=j,e.deflateReset=x,e.deflateResetKeep=O,e.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?-2:(t.state.gzhead=e,0):-2},e.deflate=function(t,e){var n,i,a,u;if(!t||!t.state||e>5||e<0)return t?c(t,-2):-2;if(i=t.state,!t.output||!t.input&&0!==t.avail_in||666===i.status&&4!==e)return c(t,0===t.avail_out?-5:-2);if(i.strm=t,n=i.last_flush,i.last_flush=e,42===i.status)if(2===i.wrap)t.adler=0,p(i,31),p(i,139),p(i,8),i.gzhead?(p(i,(i.gzhead.text?1:0)+(i.gzhead.hcrc?2:0)+(i.gzhead.extra?4:0)+(i.gzhead.name?8:0)+(i.gzhead.comment?16:0)),p(i,255&i.gzhead.time),p(i,i.gzhead.time>>8&255),p(i,i.gzhead.time>>16&255),p(i,i.gzhead.time>>24&255),p(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),p(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(p(i,255&i.gzhead.extra.length),p(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=s(t.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(p(i,0),p(i,0),p(i,0),p(i,0),p(i,0),p(i,9===i.level?2:i.strategy>=2||i.level<2?4:0),p(i,3),i.status=113);else{var y=8+(i.w_bits-8<<4)<<8;y|=(i.strategy>=2||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(y|=32),y+=31-y%31,i.status=113,g(i,y),0!==i.strstart&&(g(i,t.adler>>>16),g(i,65535&t.adler)),t.adler=1}if(69===i.status)if(i.gzhead.extra){for(a=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),d(t),a=i.pending,i.pending!==i.pending_buf_size));)p(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),d(t),a=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex<i.gzhead.name.length?255&i.gzhead.name.charCodeAt(i.gzindex++):0,p(i,u)}while(0!==u);i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),0===u&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){a=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),d(t),a=i.pending,i.pending===i.pending_buf_size)){u=1;break}u=i.gzindex<i.gzhead.comment.length?255&i.gzhead.comment.charCodeAt(i.gzindex++):0,p(i,u)}while(0!==u);i.gzhead.hcrc&&i.pending>a&&(t.adler=s(t.adler,i.pending_buf,i.pending-a,a)),0===u&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&d(t),i.pending+2<=i.pending_buf_size&&(p(i,255&t.adler),p(i,t.adler>>8&255),t.adler=0,i.status=113)):i.status=113),0!==i.pending){if(d(t),0===t.avail_out)return i.last_flush=-1,0}else if(0===t.avail_in&&f(e)<=f(n)&&4!==e)return c(t,-5);if(666===i.status&&0!==t.avail_in)return c(t,-5);if(0!==t.avail_in||0!==i.lookahead||0!==e&&666!==i.status){var m=2===i.strategy?function(t,e){for(var n;;){if(0===t.lookahead&&(v(t),0===t.lookahead)){if(0===e)return 1;break}if(t.match_length=0,n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,n&&(h(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(h(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(h(t,!1),0===t.strm.avail_out)?1:2}(i,e):3===i.strategy?function(t,e){for(var n,r,i,a,s=t.window;;){if(t.lookahead<=258){if(v(t),t.lookahead<=258&&0===e)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(r=s[i=t.strstart-1])===s[++i]&&r===s[++i]&&r===s[++i]){a=t.strstart+258;do{}while(r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&r===s[++i]&&i<a);t.match_length=258-(a-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(n=o._tr_tally(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(n=o._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),n&&(h(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,4===e?(h(t,!0),0===t.strm.avail_out?3:4):t.last_lit&&(h(t,!1),0===t.strm.avail_out)?1:2}(i,e):r[i.level].func(i,e);if(3!==m&&4!==m||(i.status=666),1===m||3===m)return 0===t.avail_out&&(i.last_flush=-1),0;if(2===m&&(1===e?o._tr_align(i):5!==e&&(o._tr_stored_block(i,0,0,!1),3===e&&(l(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),d(t),0===t.avail_out))return i.last_flush=-1,0}return 4!==e?0:i.wrap<=0?1:(2===i.wrap?(p(i,255&t.adler),p(i,t.adler>>8&255),p(i,t.adler>>16&255),p(i,t.adler>>24&255),p(i,255&t.total_in),p(i,t.total_in>>8&255),p(i,t.total_in>>16&255),p(i,t.total_in>>24&255)):(g(i,t.adler>>>16),g(i,65535&t.adler)),d(t),i.wrap>0&&(i.wrap=-i.wrap),0!==i.pending?0:1)},e.deflateEnd=function(t){var e;return t&&t.state?42!==(e=t.state.status)&&69!==e&&73!==e&&91!==e&&103!==e&&113!==e&&666!==e?c(t,-2):(t.state=null,113===e?c(t,-3):0):-2},e.deflateSetDictionary=function(t,e){var n,r,o,s,u,c,f,d,h=e.length;if(!t||!t.state)return-2;if(2===(s=(n=t.state).wrap)||1===s&&42!==n.status||n.lookahead)return-2;for(1===s&&(t.adler=a(t.adler,e,h,0)),n.wrap=0,h>=n.w_size&&(0===s&&(l(n.head),n.strstart=0,n.block_start=0,n.insert=0),d=new i.Buf8(n.w_size),i.arraySet(d,e,h-n.w_size,n.w_size,0),e=d,h=n.w_size),u=t.avail_in,c=t.next_in,f=t.input,t.avail_in=h,t.next_in=0,t.input=e,v(n);n.lookahead>=3;){r=n.strstart,o=n.lookahead-2;do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+3-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++}while(--o);n.strstart=r,n.lookahead=2,v(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=2,n.match_available=0,t.next_in=c,t.input=f,t.avail_in=u,n.wrap=s,0},e.deflateInfo="pako deflate (from Nodeca project)"},function(t,e,n){"use strict";var r=n(26);function i(t){for(var e=t.length;--e>=0;)t[e]=0}var o=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],a=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],u=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],c=new Array(576);i(c);var f=new Array(60);i(f);var l=new Array(512);i(l);var d=new Array(256);i(d);var h=new Array(29);i(h);var p,g,y,v=new Array(30);function m(t,e,n,r,i){this.static_tree=t,this.extra_bits=e,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=t&&t.length}function w(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}function b(t){return t<256?l[t]:l[256+(t>>>7)]}function _(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function O(t,e,n){t.bi_valid>16-n?(t.bi_buf|=e<<t.bi_valid&65535,_(t,t.bi_buf),t.bi_buf=e>>16-t.bi_valid,t.bi_valid+=n-16):(t.bi_buf|=e<<t.bi_valid&65535,t.bi_valid+=n)}function x(t,e,n){O(t,n[2*e],n[2*e+1])}function j(t,e){var n=0;do{n|=1&t,t>>>=1,n<<=1}while(--e>0);return n>>>1}function P(t,e,n){var r,i,o=new Array(16),a=0;for(r=1;r<=15;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=e;i++){var s=t[2*i+1];0!==s&&(t[2*i]=j(o[s]++,s))}}function k(t){var e;for(e=0;e<286;e++)t.dyn_ltree[2*e]=0;for(e=0;e<30;e++)t.dyn_dtree[2*e]=0;for(e=0;e<19;e++)t.bl_tree[2*e]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.last_lit=t.matches=0}function E(t){t.bi_valid>8?_(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0}function S(t,e,n,r){var i=2*e,o=2*n;return t[i]<t[o]||t[i]===t[o]&&r[e]<=r[n]}function A(t,e,n){for(var r=t.heap[n],i=n<<1;i<=t.heap_len&&(i<t.heap_len&&S(e,t.heap[i+1],t.heap[i],t.depth)&&i++,!S(e,r,t.heap[i],t.depth));)t.heap[n]=t.heap[i],n=i,i<<=1;t.heap[n]=r}function $(t,e,n){var r,i,s,u,c=0;if(0!==t.last_lit)do{r=t.pending_buf[t.d_buf+2*c]<<8|t.pending_buf[t.d_buf+2*c+1],i=t.pending_buf[t.l_buf+c],c++,0===r?x(t,i,e):(x(t,(s=d[i])+256+1,e),0!==(u=o[s])&&O(t,i-=h[s],u),x(t,s=b(--r),n),0!==(u=a[s])&&O(t,r-=v[s],u))}while(c<t.last_lit);x(t,256,e)}function R(t,e){var n,r,i,o=e.dyn_tree,a=e.stat_desc.static_tree,s=e.stat_desc.has_stree,u=e.stat_desc.elems,c=-1;for(t.heap_len=0,t.heap_max=573,n=0;n<u;n++)0!==o[2*n]?(t.heap[++t.heap_len]=c=n,t.depth[n]=0):o[2*n+1]=0;for(;t.heap_len<2;)o[2*(i=t.heap[++t.heap_len]=c<2?++c:0)]=1,t.depth[i]=0,t.opt_len--,s&&(t.static_len-=a[2*i+1]);for(e.max_code=c,n=t.heap_len>>1;n>=1;n--)A(t,o,n);i=u;do{n=t.heap[1],t.heap[1]=t.heap[t.heap_len--],A(t,o,1),r=t.heap[1],t.heap[--t.heap_max]=n,t.heap[--t.heap_max]=r,o[2*i]=o[2*n]+o[2*r],t.depth[i]=(t.depth[n]>=t.depth[r]?t.depth[n]:t.depth[r])+1,o[2*n+1]=o[2*r+1]=i,t.heap[1]=i++,A(t,o,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],function(t,e){var n,r,i,o,a,s,u=e.dyn_tree,c=e.max_code,f=e.stat_desc.static_tree,l=e.stat_desc.has_stree,d=e.stat_desc.extra_bits,h=e.stat_desc.extra_base,p=e.stat_desc.max_length,g=0;for(o=0;o<=15;o++)t.bl_count[o]=0;for(u[2*t.heap[t.heap_max]+1]=0,n=t.heap_max+1;n<573;n++)(o=u[2*u[2*(r=t.heap[n])+1]+1]+1)>p&&(o=p,g++),u[2*r+1]=o,r>c||(t.bl_count[o]++,a=0,r>=h&&(a=d[r-h]),s=u[2*r],t.opt_len+=s*(o+a),l&&(t.static_len+=s*(f[2*r+1]+a)));if(0!==g){do{for(o=p-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[p]--,g-=2}while(g>0);for(o=p;0!==o;o--)for(r=t.bl_count[o];0!==r;)(i=t.heap[--n])>c||(u[2*i+1]!==o&&(t.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),r--)}}(t,e),P(o,c,t.bl_count)}function B(t,e,n){var r,i,o=-1,a=e[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),e[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=e[2*(r+1)+1],++s<u&&i===a||(s<c?t.bl_tree[2*i]+=s:0!==i?(i!==o&&t.bl_tree[2*i]++,t.bl_tree[32]++):s<=10?t.bl_tree[34]++:t.bl_tree[36]++,s=0,o=i,0===a?(u=138,c=3):i===a?(u=6,c=3):(u=7,c=4))}function I(t,e,n){var r,i,o=-1,a=e[1],s=0,u=7,c=4;for(0===a&&(u=138,c=3),r=0;r<=n;r++)if(i=a,a=e[2*(r+1)+1],!(++s<u&&i===a)){if(s<c)do{x(t,i,t.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(x(t,i,t.bl_tree),s--),x(t,16,t.bl_tree),O(t,s-3,2)):s<=10?(x(t,17,t.bl_tree),O(t,s-3,3)):(x(t,18,t.bl_tree),O(t,s-11,7));s=0,o=i,0===a?(u=138,c=3):i===a?(u=6,c=3):(u=7,c=4)}}i(v);var U=!1;function T(t,e,n,i){O(t,0+(i?1:0),3),function(t,e,n,i){E(t),i&&(_(t,n),_(t,~n)),r.arraySet(t.pending_buf,t.window,e,n,t.pending),t.pending+=n}(t,e,n,!0)}e._tr_init=function(t){U||(!function(){var t,e,n,r,i,u=new Array(16);for(n=0,r=0;r<28;r++)for(h[r]=n,t=0;t<1<<o[r];t++)d[n++]=r;for(d[n-1]=r,i=0,r=0;r<16;r++)for(v[r]=i,t=0;t<1<<a[r];t++)l[i++]=r;for(i>>=7;r<30;r++)for(v[r]=i<<7,t=0;t<1<<a[r]-7;t++)l[256+i++]=r;for(e=0;e<=15;e++)u[e]=0;for(t=0;t<=143;)c[2*t+1]=8,t++,u[8]++;for(;t<=255;)c[2*t+1]=9,t++,u[9]++;for(;t<=279;)c[2*t+1]=7,t++,u[7]++;for(;t<=287;)c[2*t+1]=8,t++,u[8]++;for(P(c,287,u),t=0;t<30;t++)f[2*t+1]=5,f[2*t]=j(t,5);p=new m(c,o,257,286,15),g=new m(f,a,0,30,15),y=new m(new Array(0),s,0,19,7)}(),U=!0),t.l_desc=new w(t.dyn_ltree,p),t.d_desc=new w(t.dyn_dtree,g),t.bl_desc=new w(t.bl_tree,y),t.bi_buf=0,t.bi_valid=0,k(t)},e._tr_stored_block=T,e._tr_flush_block=function(t,e,n,r){var i,o,a=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=function(t){var e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0}(t)),R(t,t.l_desc),R(t,t.d_desc),a=function(t){var e;for(B(t,t.dyn_ltree,t.l_desc.max_code),B(t,t.dyn_dtree,t.d_desc.max_code),R(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*u[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e}(t),i=t.opt_len+3+7>>>3,(o=t.static_len+3+7>>>3)<=i&&(i=o)):i=o=n+5,n+4<=i&&-1!==e?T(t,e,n,r):4===t.strategy||o===i?(O(t,2+(r?1:0),3),$(t,c,f)):(O(t,4+(r?1:0),3),function(t,e,n,r){var i;for(O(t,e-257,5),O(t,n-1,5),O(t,r-4,4),i=0;i<r;i++)O(t,t.bl_tree[2*u[i]+1],3);I(t,t.dyn_ltree,e-1),I(t,t.dyn_dtree,n-1)}(t,t.l_desc.max_code+1,t.d_desc.max_code+1,a+1),$(t,t.dyn_ltree,t.dyn_dtree)),k(t),r&&E(t)},e._tr_tally=function(t,e,n){return t.pending_buf[t.d_buf+2*t.last_lit]=e>>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&n,t.last_lit++,0===e?t.dyn_ltree[2*n]++:(t.matches++,e--,t.dyn_ltree[2*(d[n]+256+1)]++,t.dyn_dtree[2*b(e)]++),t.last_lit===t.lit_bufsize-1},e._tr_align=function(t){O(t,2,3),x(t,256,c),function(t){16===t.bi_valid?(_(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},function(t,e,n){"use strict";var r=n(153),i=n(26),o=n(107),a=n(109),s=n(83),u=n(108),c=n(156),f=Object.prototype.toString;function l(t){if(!(this instanceof l))return new l(t);this.options=i.assign({chunkSize:16384,windowBits:0,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new u,this.strm.avail_out=0;var n=r.inflateInit2(this.strm,e.windowBits);if(n!==a.Z_OK)throw new Error(s[n]);if(this.header=new c,r.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=o.string2buf(e.dictionary):"[object ArrayBuffer]"===f.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(n=r.inflateSetDictionary(this.strm,e.dictionary))!==a.Z_OK))throw new Error(s[n])}function d(t,e){var n=new l(e);if(n.push(t,!0),n.err)throw n.msg||s[n.err];return n.result}l.prototype.push=function(t,e){var n,s,u,c,l,d=this.strm,h=this.options.chunkSize,p=this.options.dictionary,g=!1;if(this.ended)return!1;s=e===~~e?e:!0===e?a.Z_FINISH:a.Z_NO_FLUSH,"string"==typeof t?d.input=o.binstring2buf(t):"[object ArrayBuffer]"===f.call(t)?d.input=new Uint8Array(t):d.input=t,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new i.Buf8(h),d.next_out=0,d.avail_out=h),(n=r.inflate(d,a.Z_NO_FLUSH))===a.Z_NEED_DICT&&p&&(n=r.inflateSetDictionary(this.strm,p)),n===a.Z_BUF_ERROR&&!0===g&&(n=a.Z_OK,g=!1),n!==a.Z_STREAM_END&&n!==a.Z_OK)return this.onEnd(n),this.ended=!0,!1;d.next_out&&(0!==d.avail_out&&n!==a.Z_STREAM_END&&(0!==d.avail_in||s!==a.Z_FINISH&&s!==a.Z_SYNC_FLUSH)||("string"===this.options.to?(u=o.utf8border(d.output,d.next_out),c=d.next_out-u,l=o.buf2string(d.output,u),d.next_out=c,d.avail_out=h-c,c&&i.arraySet(d.output,d.output,u,c,0),this.onData(l)):this.onData(i.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(g=!0)}while((d.avail_in>0||0===d.avail_out)&&n!==a.Z_STREAM_END);return n===a.Z_STREAM_END&&(s=a.Z_FINISH),s===a.Z_FINISH?(n=r.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===a.Z_OK):s!==a.Z_SYNC_FLUSH||(this.onEnd(a.Z_OK),d.avail_out=0,!0)},l.prototype.onData=function(t){this.chunks.push(t)},l.prototype.onEnd=function(t){t===a.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=i.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg},e.Inflate=l,e.inflate=d,e.inflateRaw=function(t,e){return(e=e||{}).raw=!0,d(t,e)},e.ungzip=d},function(t,e,n){"use strict";var r=n(26),i=n(105),o=n(106),a=n(154),s=n(155);function u(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function c(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new r.Buf16(320),this.work=new r.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function f(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new r.Buf32(852),e.distcode=e.distdyn=new r.Buf32(592),e.sane=1,e.back=-1,0):-2}function l(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,f(t)):-2}function d(t,e){var n,r;return t&&t.state?(r=t.state,e<0?(n=0,e=-e):(n=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?-2:(null!==r.window&&r.wbits!==e&&(r.window=null),r.wrap=n,r.wbits=e,l(t))):-2}function h(t,e){var n,r;return t?(r=new c,t.state=r,r.window=null,0!==(n=d(t,e))&&(t.state=null),n):-2}var p,g,y=!0;function v(t){if(y){var e;for(p=new r.Buf32(512),g=new r.Buf32(32),e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(s(1,t.lens,0,288,p,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;s(2,t.lens,0,32,g,0,t.work,{bits:5}),y=!1}t.lencode=p,t.lenbits=9,t.distcode=g,t.distbits=5}function m(t,e,n,i){var o,a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new r.Buf8(a.wsize)),i>=a.wsize?(r.arraySet(a.window,e,n-a.wsize,a.wsize,0),a.wnext=0,a.whave=a.wsize):((o=a.wsize-a.wnext)>i&&(o=i),r.arraySet(a.window,e,n-i,o,a.wnext),(i-=o)?(r.arraySet(a.window,e,n-i,i,0),a.wnext=i,a.whave=a.wsize):(a.wnext+=o,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=o))),0}e.inflateReset=l,e.inflateReset2=d,e.inflateResetKeep=f,e.inflateInit=function(t){return h(t,15)},e.inflateInit2=h,e.inflate=function(t,e){var n,c,f,l,d,h,p,g,y,w,b,_,O,x,j,P,k,E,S,A,$,R,B,I,U=0,T=new r.Buf8(4),z=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return-2;12===(n=t.state).mode&&(n.mode=13),d=t.next_out,f=t.output,p=t.avail_out,l=t.next_in,c=t.input,h=t.avail_in,g=n.hold,y=n.bits,w=h,b=p,R=0;t:for(;;)switch(n.mode){case 1:if(0===n.wrap){n.mode=13;break}for(;y<16;){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}if(2&n.wrap&&35615===g){n.check=0,T[0]=255&g,T[1]=g>>>8&255,n.check=o(n.check,T,2,0),g=0,y=0,n.mode=2;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&g)<<8)+(g>>8))%31){t.msg="incorrect header check",n.mode=30;break}if(8!=(15&g)){t.msg="unknown compression method",n.mode=30;break}if(y-=4,$=8+(15&(g>>>=4)),0===n.wbits)n.wbits=$;else if($>n.wbits){t.msg="invalid window size",n.mode=30;break}n.dmax=1<<$,t.adler=n.check=1,n.mode=512&g?10:12,g=0,y=0;break;case 2:for(;y<16;){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}if(n.flags=g,8!=(255&n.flags)){t.msg="unknown compression method",n.mode=30;break}if(57344&n.flags){t.msg="unknown header flags set",n.mode=30;break}n.head&&(n.head.text=g>>8&1),512&n.flags&&(T[0]=255&g,T[1]=g>>>8&255,n.check=o(n.check,T,2,0)),g=0,y=0,n.mode=3;case 3:for(;y<32;){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}n.head&&(n.head.time=g),512&n.flags&&(T[0]=255&g,T[1]=g>>>8&255,T[2]=g>>>16&255,T[3]=g>>>24&255,n.check=o(n.check,T,4,0)),g=0,y=0,n.mode=4;case 4:for(;y<16;){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}n.head&&(n.head.xflags=255&g,n.head.os=g>>8),512&n.flags&&(T[0]=255&g,T[1]=g>>>8&255,n.check=o(n.check,T,2,0)),g=0,y=0,n.mode=5;case 5:if(1024&n.flags){for(;y<16;){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}n.length=g,n.head&&(n.head.extra_len=g),512&n.flags&&(T[0]=255&g,T[1]=g>>>8&255,n.check=o(n.check,T,2,0)),g=0,y=0}else n.head&&(n.head.extra=null);n.mode=6;case 6:if(1024&n.flags&&((_=n.length)>h&&(_=h),_&&(n.head&&($=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),r.arraySet(n.head.extra,c,l,_,$)),512&n.flags&&(n.check=o(n.check,c,_,l)),h-=_,l+=_,n.length-=_),n.length))break t;n.length=0,n.mode=7;case 7:if(2048&n.flags){if(0===h)break t;_=0;do{$=c[l+_++],n.head&&$&&n.length<65536&&(n.head.name+=String.fromCharCode($))}while($&&_<h);if(512&n.flags&&(n.check=o(n.check,c,_,l)),h-=_,l+=_,$)break t}else n.head&&(n.head.name=null);n.length=0,n.mode=8;case 8:if(4096&n.flags){if(0===h)break t;_=0;do{$=c[l+_++],n.head&&$&&n.length<65536&&(n.head.comment+=String.fromCharCode($))}while($&&_<h);if(512&n.flags&&(n.check=o(n.check,c,_,l)),h-=_,l+=_,$)break t}else n.head&&(n.head.comment=null);n.mode=9;case 9:if(512&n.flags){for(;y<16;){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}if(g!==(65535&n.check)){t.msg="header crc mismatch",n.mode=30;break}g=0,y=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),t.adler=n.check=0,n.mode=12;break;case 10:for(;y<32;){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}t.adler=n.check=u(g),g=0,y=0,n.mode=11;case 11:if(0===n.havedict)return t.next_out=d,t.avail_out=p,t.next_in=l,t.avail_in=h,n.hold=g,n.bits=y,2;t.adler=n.check=1,n.mode=12;case 12:if(5===e||6===e)break t;case 13:if(n.last){g>>>=7&y,y-=7&y,n.mode=27;break}for(;y<3;){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}switch(n.last=1&g,y-=1,3&(g>>>=1)){case 0:n.mode=14;break;case 1:if(v(n),n.mode=20,6===e){g>>>=2,y-=2;break t}break;case 2:n.mode=17;break;case 3:t.msg="invalid block type",n.mode=30}g>>>=2,y-=2;break;case 14:for(g>>>=7&y,y-=7&y;y<32;){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}if((65535&g)!=(g>>>16^65535)){t.msg="invalid stored block lengths",n.mode=30;break}if(n.length=65535&g,g=0,y=0,n.mode=15,6===e)break t;case 15:n.mode=16;case 16:if(_=n.length){if(_>h&&(_=h),_>p&&(_=p),0===_)break t;r.arraySet(f,c,l,_,d),h-=_,l+=_,p-=_,d+=_,n.length-=_;break}n.mode=12;break;case 17:for(;y<14;){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}if(n.nlen=257+(31&g),g>>>=5,y-=5,n.ndist=1+(31&g),g>>>=5,y-=5,n.ncode=4+(15&g),g>>>=4,y-=4,n.nlen>286||n.ndist>30){t.msg="too many length or distance symbols",n.mode=30;break}n.have=0,n.mode=18;case 18:for(;n.have<n.ncode;){for(;y<3;){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}n.lens[z[n.have++]]=7&g,g>>>=3,y-=3}for(;n.have<19;)n.lens[z[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,B={bits:n.lenbits},R=s(0,n.lens,0,19,n.lencode,0,n.work,B),n.lenbits=B.bits,R){t.msg="invalid code lengths set",n.mode=30;break}n.have=0,n.mode=19;case 19:for(;n.have<n.nlen+n.ndist;){for(;P=(U=n.lencode[g&(1<<n.lenbits)-1])>>>16&255,k=65535&U,!((j=U>>>24)<=y);){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}if(k<16)g>>>=j,y-=j,n.lens[n.have++]=k;else{if(16===k){for(I=j+2;y<I;){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}if(g>>>=j,y-=j,0===n.have){t.msg="invalid bit length repeat",n.mode=30;break}$=n.lens[n.have-1],_=3+(3&g),g>>>=2,y-=2}else if(17===k){for(I=j+3;y<I;){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}y-=j,$=0,_=3+(7&(g>>>=j)),g>>>=3,y-=3}else{for(I=j+7;y<I;){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}y-=j,$=0,_=11+(127&(g>>>=j)),g>>>=7,y-=7}if(n.have+_>n.nlen+n.ndist){t.msg="invalid bit length repeat",n.mode=30;break}for(;_--;)n.lens[n.have++]=$}}if(30===n.mode)break;if(0===n.lens[256]){t.msg="invalid code -- missing end-of-block",n.mode=30;break}if(n.lenbits=9,B={bits:n.lenbits},R=s(1,n.lens,0,n.nlen,n.lencode,0,n.work,B),n.lenbits=B.bits,R){t.msg="invalid literal/lengths set",n.mode=30;break}if(n.distbits=6,n.distcode=n.distdyn,B={bits:n.distbits},R=s(2,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,B),n.distbits=B.bits,R){t.msg="invalid distances set",n.mode=30;break}if(n.mode=20,6===e)break t;case 20:n.mode=21;case 21:if(h>=6&&p>=258){t.next_out=d,t.avail_out=p,t.next_in=l,t.avail_in=h,n.hold=g,n.bits=y,a(t,b),d=t.next_out,f=t.output,p=t.avail_out,l=t.next_in,c=t.input,h=t.avail_in,g=n.hold,y=n.bits,12===n.mode&&(n.back=-1);break}for(n.back=0;P=(U=n.lencode[g&(1<<n.lenbits)-1])>>>16&255,k=65535&U,!((j=U>>>24)<=y);){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}if(P&&0==(240&P)){for(E=j,S=P,A=k;P=(U=n.lencode[A+((g&(1<<E+S)-1)>>E)])>>>16&255,k=65535&U,!(E+(j=U>>>24)<=y);){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}g>>>=E,y-=E,n.back+=E}if(g>>>=j,y-=j,n.back+=j,n.length=k,0===P){n.mode=26;break}if(32&P){n.back=-1,n.mode=12;break}if(64&P){t.msg="invalid literal/length code",n.mode=30;break}n.extra=15&P,n.mode=22;case 22:if(n.extra){for(I=n.extra;y<I;){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}n.length+=g&(1<<n.extra)-1,g>>>=n.extra,y-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=23;case 23:for(;P=(U=n.distcode[g&(1<<n.distbits)-1])>>>16&255,k=65535&U,!((j=U>>>24)<=y);){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}if(0==(240&P)){for(E=j,S=P,A=k;P=(U=n.distcode[A+((g&(1<<E+S)-1)>>E)])>>>16&255,k=65535&U,!(E+(j=U>>>24)<=y);){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}g>>>=E,y-=E,n.back+=E}if(g>>>=j,y-=j,n.back+=j,64&P){t.msg="invalid distance code",n.mode=30;break}n.offset=k,n.extra=15&P,n.mode=24;case 24:if(n.extra){for(I=n.extra;y<I;){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}n.offset+=g&(1<<n.extra)-1,g>>>=n.extra,y-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){t.msg="invalid distance too far back",n.mode=30;break}n.mode=25;case 25:if(0===p)break t;if(_=b-p,n.offset>_){if((_=n.offset-_)>n.whave&&n.sane){t.msg="invalid distance too far back",n.mode=30;break}_>n.wnext?(_-=n.wnext,O=n.wsize-_):O=n.wnext-_,_>n.length&&(_=n.length),x=n.window}else x=f,O=d-n.offset,_=n.length;_>p&&(_=p),p-=_,n.length-=_;do{f[d++]=x[O++]}while(--_);0===n.length&&(n.mode=21);break;case 26:if(0===p)break t;f[d++]=n.length,p--,n.mode=21;break;case 27:if(n.wrap){for(;y<32;){if(0===h)break t;h--,g|=c[l++]<<y,y+=8}if(b-=p,t.total_out+=b,n.total+=b,b&&(t.adler=n.check=n.flags?o(n.check,f,b,d-b):i(n.check,f,b,d-b)),b=p,(n.flags?g:u(g))!==n.check){t.msg="incorrect data check",n.mode=30;break}g=0,y=0}n.mode=28;case 28:if(n.wrap&&n.flags){for(;y<32;){if(0===h)break t;h--,g+=c[l++]<<y,y+=8}if(g!==(4294967295&n.total)){t.msg="incorrect length check",n.mode=30;break}g=0,y=0}n.mode=29;case 29:R=1;break t;case 30:R=-3;break t;case 31:return-4;case 32:default:return-2}return t.next_out=d,t.avail_out=p,t.next_in=l,t.avail_in=h,n.hold=g,n.bits=y,(n.wsize||b!==t.avail_out&&n.mode<30&&(n.mode<27||4!==e))&&m(t,t.output,t.next_out,b-t.avail_out)?(n.mode=31,-4):(w-=t.avail_in,b-=t.avail_out,t.total_in+=w,t.total_out+=b,n.total+=b,n.wrap&&b&&(t.adler=n.check=n.flags?o(n.check,f,b,t.next_out-b):i(n.check,f,b,t.next_out-b)),t.data_type=n.bits+(n.last?64:0)+(12===n.mode?128:0)+(20===n.mode||15===n.mode?256:0),(0===w&&0===b||4===e)&&0===R&&(R=-5),R)},e.inflateEnd=function(t){if(!t||!t.state)return-2;var e=t.state;return e.window&&(e.window=null),t.state=null,0},e.inflateGetHeader=function(t,e){var n;return t&&t.state?0==(2&(n=t.state).wrap)?-2:(n.head=e,e.done=!1,0):-2},e.inflateSetDictionary=function(t,e){var n,r=e.length;return t&&t.state?0!==(n=t.state).wrap&&11!==n.mode?-2:11===n.mode&&i(1,e,r,0)!==n.check?-3:m(t,e,r,r)?(n.mode=31,-4):(n.havedict=1,0):-2},e.inflateInfo="pako inflate (from Nodeca project)"},function(t,e,n){"use strict";t.exports=function(t,e){var n,r,i,o,a,s,u,c,f,l,d,h,p,g,y,v,m,w,b,_,O,x,j,P,k;n=t.state,r=t.next_in,P=t.input,i=r+(t.avail_in-5),o=t.next_out,k=t.output,a=o-(e-t.avail_out),s=o+(t.avail_out-257),u=n.dmax,c=n.wsize,f=n.whave,l=n.wnext,d=n.window,h=n.hold,p=n.bits,g=n.lencode,y=n.distcode,v=(1<<n.lenbits)-1,m=(1<<n.distbits)-1;t:do{p<15&&(h+=P[r++]<<p,p+=8,h+=P[r++]<<p,p+=8),w=g[h&v];e:for(;;){if(h>>>=b=w>>>24,p-=b,0===(b=w>>>16&255))k[o++]=65535&w;else{if(!(16&b)){if(0==(64&b)){w=g[(65535&w)+(h&(1<<b)-1)];continue e}if(32&b){n.mode=12;break t}t.msg="invalid literal/length code",n.mode=30;break t}_=65535&w,(b&=15)&&(p<b&&(h+=P[r++]<<p,p+=8),_+=h&(1<<b)-1,h>>>=b,p-=b),p<15&&(h+=P[r++]<<p,p+=8,h+=P[r++]<<p,p+=8),w=y[h&m];n:for(;;){if(h>>>=b=w>>>24,p-=b,!(16&(b=w>>>16&255))){if(0==(64&b)){w=y[(65535&w)+(h&(1<<b)-1)];continue n}t.msg="invalid distance code",n.mode=30;break t}if(O=65535&w,p<(b&=15)&&(h+=P[r++]<<p,(p+=8)<b&&(h+=P[r++]<<p,p+=8)),(O+=h&(1<<b)-1)>u){t.msg="invalid distance too far back",n.mode=30;break t}if(h>>>=b,p-=b,O>(b=o-a)){if((b=O-b)>f&&n.sane){t.msg="invalid distance too far back",n.mode=30;break t}if(x=0,j=d,0===l){if(x+=c-b,b<_){_-=b;do{k[o++]=d[x++]}while(--b);x=o-O,j=k}}else if(l<b){if(x+=c+l-b,(b-=l)<_){_-=b;do{k[o++]=d[x++]}while(--b);if(x=0,l<_){_-=b=l;do{k[o++]=d[x++]}while(--b);x=o-O,j=k}}}else if(x+=l-b,b<_){_-=b;do{k[o++]=d[x++]}while(--b);x=o-O,j=k}for(;_>2;)k[o++]=j[x++],k[o++]=j[x++],k[o++]=j[x++],_-=3;_&&(k[o++]=j[x++],_>1&&(k[o++]=j[x++]))}else{x=o-O;do{k[o++]=k[x++],k[o++]=k[x++],k[o++]=k[x++],_-=3}while(_>2);_&&(k[o++]=k[x++],_>1&&(k[o++]=k[x++]))}break}}break}}while(r<i&&o<s);r-=_=p>>3,h&=(1<<(p-=_<<3))-1,t.next_in=r,t.next_out=o,t.avail_in=r<i?i-r+5:5-(r-i),t.avail_out=o<s?s-o+257:257-(o-s),n.hold=h,n.bits=p}},function(t,e,n){"use strict";var r=n(26),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(t,e,n,u,c,f,l,d){var h,p,g,y,v,m,w,b,_,O=d.bits,x=0,j=0,P=0,k=0,E=0,S=0,A=0,$=0,R=0,B=0,I=null,U=0,T=new r.Buf16(16),z=new r.Buf16(16),C=null,D=0;for(x=0;x<=15;x++)T[x]=0;for(j=0;j<u;j++)T[e[n+j]]++;for(E=O,k=15;k>=1&&0===T[k];k--);if(E>k&&(E=k),0===k)return c[f++]=20971520,c[f++]=20971520,d.bits=1,0;for(P=1;P<k&&0===T[P];P++);for(E<P&&(E=P),$=1,x=1;x<=15;x++)if($<<=1,($-=T[x])<0)return-1;if($>0&&(0===t||1!==k))return-1;for(z[1]=0,x=1;x<15;x++)z[x+1]=z[x]+T[x];for(j=0;j<u;j++)0!==e[n+j]&&(l[z[e[n+j]]++]=j);if(0===t?(I=C=l,m=19):1===t?(I=i,U-=257,C=o,D-=257,m=256):(I=a,C=s,m=-1),B=0,j=0,x=P,v=f,S=E,A=0,g=-1,y=(R=1<<E)-1,1===t&&R>852||2===t&&R>592)return 1;for(;;){w=x-A,l[j]<m?(b=0,_=l[j]):l[j]>m?(b=C[D+l[j]],_=I[U+l[j]]):(b=96,_=0),h=1<<x-A,P=p=1<<S;do{c[v+(B>>A)+(p-=h)]=w<<24|b<<16|_|0}while(0!==p);for(h=1<<x-1;B&h;)h>>=1;if(0!==h?(B&=h-1,B+=h):B=0,j++,0==--T[x]){if(x===k)break;x=e[n+l[j]]}if(x>E&&(B&y)!==g){for(0===A&&(A=E),v+=P,$=1<<(S=x-A);S+A<k&&!(($-=T[S+A])<=0);)S++,$<<=1;if(R+=1<<S,1===t&&R>852||2===t&&R>592)return 1;c[g=B&y]=E<<24|S<<16|v-f|0}}return 0!==B&&(c[v+B]=x-A<<24|64<<16|0),d.bits=E,0}},function(t,e,n){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},function(t,e){t.exports=function(t,e){var n,r,i=t,o=e,a=i.length,s=o.length,u=!1,c=null,f=a+1,l=[],d=[],h=[],p="",g=function(t,e,n){return{x:t,y:e,k:n}},y=function(t,e){return{elem:t,t:e}},v=function(t,e,n){var r,u,c;for(r=e>n?l[t-1+f]:l[t+1+f],u=(c=Math.max(e,n))-t;u<a&&c<s&&i[u]===o[c];)++u,++c;return l[t+f]=d.length,d[d.length]=new g(u,c,r),c};return a>=s&&(n=i,r=a,i=o,o=n,a=s,s=r,u=!0,f=a+1),{SES_DELETE:-1,SES_COMMON:0,SES_ADD:1,editdistance:function(){return c},getlcs:function(){return p},getses:function(){return h},compose:function(){var t,e,n,r,m,w,b,_;for(t=s-a,e=a+s+3,n={},b=0;b<e;++b)n[b]=-1,l[b]=-1;r=-1;do{for(_=-++r;_<=t-1;++_)n[_+f]=v(_,n[_-1+f]+1,n[_+1+f]);for(_=t+r;_>=t+1;--_)n[_+f]=v(_,n[_-1+f]+1,n[_+1+f]);n[t+f]=v(t,n[t-1+f]+1,n[t+1+f])}while(n[t+f]!==s);for(c=t+2*r,m=l[t+f],w=[];-1!==m;)w[w.length]=new g(d[m].x,d[m].y,null),m=d[m].k;!function(t){var e,n,r;for(1,e=n=0,r=t.length-1;r>=0;--r)for(;e<t[r].x||n<t[r].y;)t[r].y-t[r].x>n-e?(h[h.length]=new y(o[n],u?-1:1),++n):t[r].y-t[r].x<n-e?(h[h.length]=new y(i[e],u?1:-1),++e):(h[h.length]=new y(i[e],0),p+=i[e],++e,++n)}(w)}}}},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return s}));var r=n(163),i=n(0);function o(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function a(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function s(t){o(a,r,i,s,u,"next",t)}function u(t){o(a,r,i,s,u,"throw",t)}s(void 0)}))}}function s(t){return u.apply(this,arguments)}function u(){return(u=a((function*({object:e}){try{Object(i.a)("object",e),e="string"==typeof e?t.from(e,"utf8"):t.from(e);const n="blob",{oid:o,object:a}=yield Object(r.a)({type:"blob",format:"content",object:e});return{oid:o,type:n,object:new Uint8Array(a),format:"wrapped"}}catch(t){throw t.caller="git.hashBlob",t}}))).apply(this,arguments)}}).call(this,n(10).Buffer)},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return d}));var r=n(14),i=n(2),o=n(15),a=n(12),s=n(11),u=n(17),c=n(1);function f(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){f(o,r,i,a,s,"next",t)}function s(t){f(o,r,i,a,s,"throw",t)}a(void 0)}))}}function d(t){return h.apply(this,arguments)}function h(){return(h=l((function*({fs:e,dir:n,gitdir:f=Object(c.a)(n,".git"),type:l,object:d,format:h="parsed",oid:p,encoding:g}){try{const n=new i.a(e);if("parsed"===h){switch(l){case"commit":d=a.a.from(d).toObject();break;case"tree":d=s.a.from(d).toObject();break;case"blob":d=t.from(d,g);break;case"tag":d=o.a.from(d).toObject();break;default:throw new r.a(p||"",l,"blob|commit|tag|tree")}h="content"}return p=yield Object(u.a)({fs:n,gitdir:f,type:l,object:d,oid:p,format:h})}catch(t){throw t.caller="git.writeObject",t}}))).apply(this,arguments)}}).call(this,n(10).Buffer)},function(t,e,n){"use strict";function r(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function i(t){return function(){var e=this,n=arguments;return new Promise((function(i,o){var a=t.apply(e,n);function s(t){r(a,i,o,s,u,"next",t)}function u(t){r(a,i,o,s,u,"throw",t)}s(void 0)}))}}function o(t){return a.apply(this,arguments)}function a(){return(a=i((function*({fs:t,gitdir:e,oid:n}){const r=`objects/${n.slice(0,2)}/${n.slice(2)}`;return t.exists(`${e}/${r}`)}))).apply(this,arguments)}var s=n(5),u=n(68),c=n(1);function f(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){f(o,r,i,a,s,"next",t)}function s(t){f(o,r,i,a,s,"throw",t)}a(void 0)}))}}function d(t){return h.apply(this,arguments)}function h(){return(h=l((function*({fs:t,gitdir:e,oid:n,getExternalRefDelta:r}){let i=yield t.readdir(Object(c.a)(e,"objects/pack"));i=i.filter(t=>t.endsWith(".idx"));for(const o of i){const i=`${e}/objects/pack/${o}`,a=yield Object(u.a)({fs:t,filename:i,getExternalRefDelta:r});if(a.error)throw new s.a(a.error);if(a.offsets.has(n))return!0}return!1}))).apply(this,arguments)}var p=n(7);function g(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function y(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){g(o,r,i,a,s,"next",t)}function s(t){g(o,r,i,a,s,"throw",t)}a(void 0)}))}}function v(t){return m.apply(this,arguments)}function m(){return(m=y((function*({fs:t,gitdir:e,oid:n,format:r="content"}){const i=n=>Object(p.a)({fs:t,gitdir:e,oid:n});let a=yield o({fs:t,gitdir:e,oid:n});return a||(a=yield d({fs:t,gitdir:e,oid:n,getExternalRefDelta:i})),a}))).apply(this,arguments)}n.d(e,"a",(function(){return v}))},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return d}));var r=n(81),i=n(42),o=n(101),a=n(27),s=n(8),u=n(4),c=n(17);function f(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function l(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){f(o,r,i,a,s,"next",t)}function s(t){f(o,r,i,a,s,"throw",t)}a(void 0)}))}}function d(t){return h.apply(this,arguments)}function h(){return(h=l((function*({fs:e,onSign:n,gitdir:f,ref:l,oid:d,note:h,force:p,author:g,committer:y,signingKey:v}){let m;try{m=yield u.a.resolve({gitdir:f,fs:e,ref:l})}catch(t){if(!(t instanceof s.a))throw t}let w=(yield Object(i.a)({fs:e,gitdir:f,oid:m||"4b825dc642cb6eb9a060e54bf8d69288fbee4904"})).tree;if(p)w=w.filter(t=>t.path!==d);else for(const t of w)if(t.path===d)throw new a.a("note",d);"string"==typeof h&&(h=t.from(h,"utf8"));const b=yield Object(c.a)({fs:e,gitdir:f,type:"blob",object:h,format:"content"});w.push({mode:"100644",path:d,oid:b,type:"blob"});const _=yield Object(o.a)({fs:e,gitdir:f,tree:w});return yield Object(r.a)({fs:e,onSign:n,gitdir:f,ref:l,tree:_,parent:m&&[m],message:"Note added by 'isomorphic-git addNote'\n",author:g,committer:y,signingKey:v})}))).apply(this,arguments)}}).call(this,n(10).Buffer)},function(t,e,n){"use strict";function r(t){return"5041434b0000000200000000"===t.slice(0,12).toString("hex")}n.d(e,"a",(function(){return r}))},function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var r=n(22),i=n(16);function o(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function a(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var a=t.apply(e,n);function s(t){o(a,r,i,s,u,"next",t)}function u(t){o(a,r,i,s,u,"throw",t)}s(void 0)}))}}function s(t){return u.apply(this,arguments)}function u(){return(u=a((function*({type:t,object:e,format:n="content",oid:o}){return"deflated"!==n&&("wrapped"!==n&&(e=r.a.wrap({type:t,object:e})),o=yield Object(i.a)(e)),{oid:o,object:e}}))).apply(this,arguments)}},function(t,e,n){"use strict";(function(t){n.d(e,"a",(function(){return u}));var r=n(41),i=n(1),o=n(95);function a(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function s(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function s(t){a(o,r,i,s,u,"next",t)}function u(t){a(o,r,i,s,u,"throw",t)}s(void 0)}))}}function u(t){return c.apply(this,arguments)}function c(){return(c=s((function*({fs:e,gitdir:n,oids:a,write:s}){const u=yield Object(o.a)({fs:e,gitdir:n,oids:a}),c=t.from(yield Object(r.a)(u)),f=`pack-${c.slice(-20).toString("hex")}.pack`;return s?(yield e.write(Object(i.a)(n,`objects/pack/${f}`),c),{filename:f}):{filename:f,packfile:new Uint8Array(c)}}))).apply(this,arguments)}}).call(this,n(10).Buffer)},function(t,e,n){"use strict";n.r(e);var r=n(18),i=n(32),o=n(91),a=n(5);var s=n(29);function u(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function c(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){u(o,r,i,a,s,"next",t)}function s(t){u(o,r,i,a,s,"throw",t)}a(void 0)}))}}class f{constructor({fs:t,gitdir:e}){this.treePromise=r.a.acquire({fs:t,gitdir:e},function(){var t=c((function*(t){return Object(o.a)(t.entries)}));return function(e){return t.apply(this,arguments)}}());const n=this;this.ConstructEntry=class{constructor(t){this._fullpath=t,this._type=!1,this._mode=!1,this._stat=!1,this._oid=!1}type(){var t=this;return c((function*(){return n.type(t)}))()}mode(){var t=this;return c((function*(){return n.mode(t)}))()}stat(){var t=this;return c((function*(){return n.stat(t)}))()}content(){var t=this;return c((function*(){return n.content(t)}))()}oid(){var t=this;return c((function*(){return n.oid(t)}))()}}}readdir(t){var e=this;return c((function*(){const n=t._fullpath,r=(yield e.treePromise).get(n);if(!r)return null;if("blob"===r.type)return null;if("tree"!==r.type)throw new Error(`ENOTDIR: not a directory, scandir '${n}'`);const o=r.children.map(t=>t.fullpath);return o.sort(i.a),o}))()}type(t){return c((function*(){return!1===t._type&&(yield t.stat()),t._type}))()}mode(t){return c((function*(){return!1===t._mode&&(yield t.stat()),t._mode}))()}stat(t){var e=this;return c((function*(){if(!1===t._stat){const n=(yield e.treePromise).get(t._fullpath);if(!n)throw new Error(`ENOENT: no such file or directory, lstat '${t._fullpath}'`);const r="tree"===n.type?{}:Object(s.a)(n.metadata);t._type="tree"===n.type?"tree":function(t){switch(t){case 16384:return"tree";case 33188:case 33261:case 40960:return"blob";case 57344:return"commit"}throw new a.a(`Unexpected GitTree entry mode: ${t.toString(8)}`)}(r.mode),t._mode=r.mode,"tree"===n.type?t._stat=void 0:t._stat=r}return t._stat}))()}content(t){return c((function*(){}))()}oid(t){var e=this;return c((function*(){if(!1===t._oid){const n=(yield e.treePromise).get(t._fullpath);t._oid=n.metadata.oid}return t._oid}))()}}var l=n(31);function d(){const t=Object.create(null);return Object.defineProperty(t,l.a,{value:function({fs:t,gitdir:e}){return new f({fs:t,gitdir:e})}}),Object.freeze(t),t}var h=n(40),p=n(66),g=n(1),y=n(16),v=n(22);function m(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function w(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){m(o,r,i,a,s,"next",t)}function s(t){m(o,r,i,a,s,"throw",t)}a(void 0)}))}}class b{constructor({fs:t,dir:e,gitdir:n}){this.fs=t,this.dir=e,this.gitdir=n;const r=this;this.ConstructEntry=class{constructor(t){this._fullpath=t,this._type=!1,this._mode=!1,this._stat=!1,this._content=!1,this._oid=!1}type(){var t=this;return w((function*(){return r.type(t)}))()}mode(){var t=this;return w((function*(){return r.mode(t)}))()}stat(){var t=this;return w((function*(){return r.stat(t)}))()}content(){var t=this;return w((function*(){return r.content(t)}))()}oid(){var t=this;return w((function*(){return r.oid(t)}))()}}}readdir(t){var e=this;return w((function*(){const n=t._fullpath,{fs:r,dir:i}=e,o=yield r.readdir(Object(g.a)(i,n));return null===o?null:o.map(t=>Object(g.a)(n,t))}))()}type(t){return w((function*(){return!1===t._type&&(yield t.stat()),t._type}))()}mode(t){return w((function*(){return!1===t._mode&&(yield t.stat()),t._mode}))()}stat(t){var e=this;return w((function*(){if(!1===t._stat){const{fs:n,dir:r}=e;let i=yield n.lstat(`${r}/${t._fullpath}`);if(!i)throw new Error(`ENOENT: no such file or directory, lstat '${t._fullpath}'`);let o=i.isDirectory()?"tree":"blob";"blob"!==o||i.isFile()||i.isSymbolicLink()||(o="special"),t._type=o,i=Object(s.a)(i),t._mode=i.mode,-1===i.size&&t._actualSize&&(i.size=t._actualSize),t._stat=i}return t._stat}))()}content(t){var e=this;return w((function*(){if(!1===t._content){const{fs:n,dir:r}=e;if("tree"===(yield t.type()))t._content=void 0;else{const e=yield n.read(`${r}/${t._fullpath}`);t._actualSize=e.length,t._stat&&-1===t._stat.size&&(t._stat.size=t._actualSize),t._content=new Uint8Array(e)}}return t._content}))()}oid(t){var e=this;return w((function*(){if(!1===t._oid){const{fs:n,gitdir:i}=e;let o;yield r.a.acquire({fs:n,gitdir:i},function(){var e=w((function*(e){const n=e.entriesMap.get(t._fullpath),r=yield t.stat();if(!n||Object(p.a)(r,n)){void 0===(yield t.content())?o=void 0:(o=yield Object(y.a)(v.a.wrap({type:"blob",object:yield t.content()})),n&&o===n.oid&&e.insert({filepath:t._fullpath,stats:r,oid:o}))}else o=n.oid}));return function(t){return e.apply(this,arguments)}}()),t._oid=o}return t._oid}))()}}function _(){const t=Object.create(null);return Object.defineProperty(t,l.a,{value:function({fs:t,dir:e,gitdir:n}){return new b({fs:t,dir:e,gitdir:n})}}),Object.freeze(t),t}var O=n(8),x=n(62),j=n(2),P=n(17),k=n(0);function E(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function S(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){E(o,r,i,a,s,"next",t)}function s(t){E(o,r,i,a,s,"throw",t)}a(void 0)}))}}function A(t){return $.apply(this,arguments)}function $(){return($=S((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),filepath:i}){try{Object(k.a)("fs",t),Object(k.a)("dir",e),Object(k.a)("gitdir",n),Object(k.a)("filepath",i);const o=new j.a(t);yield r.a.acquire({fs:o,gitdir:n},function(){var t=S((function*(t){yield R({dir:e,gitdir:n,fs:o,filepath:i,index:t})}));return function(e){return t.apply(this,arguments)}}())}catch(t){throw t.caller="git.add",t}}))).apply(this,arguments)}function R(t){return B.apply(this,arguments)}function B(){return(B=S((function*({dir:t,gitdir:e,fs:n,filepath:r,index:i}){if(yield x.a.isIgnored({fs:n,dir:t,gitdir:e,filepath:r}))return;const o=yield n.lstat(Object(g.a)(t,r));if(!o)throw new O.a(r);if(o.isDirectory()){const o=(yield n.readdir(Object(g.a)(t,r))).map(o=>R({dir:t,gitdir:e,fs:n,filepath:Object(g.a)(r,o),index:i}));yield Promise.all(o)}else{const a=o.isSymbolicLink()?yield n.readlink(Object(g.a)(t,r)):yield n.read(Object(g.a)(t,r));if(null===a)throw new O.a(r);const s=yield Object(P.a)({fs:n,gitdir:e,type:"blob",object:a});i.insert({filepath:r,stats:o,oid:s})}}))).apply(this,arguments)}var I=n(161),U=n(21),T=n(13);function z(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function C(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){z(o,r,i,a,s,"next",t)}function s(t){z(o,r,i,a,s,"throw",t)}a(void 0)}))}}function D(t){return N.apply(this,arguments)}function N(){return(N=C((function*({fs:t,gitdir:e,path:n}){return(yield T.a.get({fs:t,gitdir:e})).get(n)}))).apply(this,arguments)}function M(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function F(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){M(o,r,i,a,s,"next",t)}function s(t){M(o,r,i,a,s,"throw",t)}a(void 0)}))}}function L(t){return H.apply(this,arguments)}function H(){return(H=F((function*({fs:t,gitdir:e,author:n={}}){let{name:r,email:i,timestamp:o,timezoneOffset:a}=n;if(r=r||(yield D({fs:t,gitdir:e,path:"user.name"})),i=i||(yield D({fs:t,gitdir:e,path:"user.email"}))||"",void 0!==r)return o=null!=o?o:Math.floor(Date.now()/1e3),a=null!=a?a:new Date(1e3*o).getTimezoneOffset(),{name:r,email:i,timestamp:o,timezoneOffset:a}}))).apply(this,arguments)}function Y(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Z(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Y(o,r,i,a,s,"next",t)}function s(t){Y(o,r,i,a,s,"throw",t)}a(void 0)}))}}function G(t){return W.apply(this,arguments)}function W(){return(W=Z((function*({fs:t,gitdir:e,author:n,committer:r}){return r=Object.assign({},r||n),n&&(r.timestamp=r.timestamp||n.timestamp,r.timezoneOffset=r.timezoneOffset||n.timezoneOffset),r=yield L({fs:t,gitdir:e,author:r})}))).apply(this,arguments)}function q(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function K(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){q(o,r,i,a,s,"next",t)}function s(t){q(o,r,i,a,s,"throw",t)}a(void 0)}))}}function X(t){return V.apply(this,arguments)}function V(){return(V=K((function*({fs:t,onSign:e,dir:n,gitdir:r=Object(g.a)(n,".git"),ref:i="refs/notes/commits",oid:o,note:a,force:s,author:u,committer:c,signingKey:f}){try{Object(k.a)("fs",t),Object(k.a)("gitdir",r),Object(k.a)("oid",o),Object(k.a)("note",a),f&&Object(k.a)("onSign",e);const n=new j.a(t),l=yield L({fs:n,gitdir:r,author:u});if(!l)throw new U.a("author");const d=yield G({fs:n,gitdir:r,author:l,committer:c});if(!d)throw new U.a("committer");return yield Object(I.a)({fs:new j.a(n),onSign:e,gitdir:r,ref:i,oid:o,note:a,force:s,author:l,committer:d,signingKey:f})}catch(t){throw t.caller="git.addNote",t}}))).apply(this,arguments)}var J=n(76),Q=n.n(J),tt=n(27),et=n(44);function nt(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function rt(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){nt(o,r,i,a,s,"next",t)}function s(t){nt(o,r,i,a,s,"throw",t)}a(void 0)}))}}function it(t){return ot.apply(this,arguments)}function ot(){return(ot=rt((function*({fs:t,gitdir:e,remote:n,url:r,force:i}){if(n!==Q.a.clean(n))throw new et.a(n,Q.a.clean(n));const o=yield T.a.get({fs:t,gitdir:e});if(!i){if((yield o.getSubsections("remote")).includes(n)&&r!==(yield o.get(`remote.${n}.url`)))throw new tt.a("remote",n)}yield o.set(`remote.${n}.url`,r),yield o.set(`remote.${n}.fetch`,`+refs/heads/*:refs/remotes/${n}/*`),yield T.a.save({fs:t,gitdir:e,config:o})}))).apply(this,arguments)}function at(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function st(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){at(o,r,i,a,s,"next",t)}function s(t){at(o,r,i,a,s,"throw",t)}a(void 0)}))}}function ut(t){return ct.apply(this,arguments)}function ct(){return(ct=st((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),remote:r,url:i,force:o=!1}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("remote",r),Object(k.a)("url",i),yield it({fs:new j.a(t),gitdir:n,remote:r,url:i,force:o})}catch(t){throw t.caller="git.addRemote",t}}))).apply(this,arguments)}var ft=n(4),lt=n(15),dt=n(7);function ht(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function pt(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){ht(o,r,i,a,s,"next",t)}function s(t){ht(o,r,i,a,s,"throw",t)}a(void 0)}))}}function gt(t){return yt.apply(this,arguments)}function yt(){return(yt=pt((function*({fs:t,onSign:e,gitdir:n,ref:r,tagger:i,message:o=r,gpgsig:a,object:s,signingKey:u,force:c=!1}){if(r=r.startsWith("refs/tags/")?r:`refs/tags/${r}`,!c&&(yield ft.a.exists({fs:t,gitdir:n,ref:r})))throw new tt.a("tag",r);const f=yield ft.a.resolve({fs:t,gitdir:n,ref:s||"HEAD"}),{type:l}=yield Object(dt.a)({fs:t,gitdir:n,oid:f});let d=lt.a.from({object:f,type:l,tag:r.replace("refs/tags/",""),tagger:i,message:o,gpgsig:a});u&&(d=yield lt.a.sign(d,e,u));const h=yield Object(P.a)({fs:t,gitdir:n,type:"tag",object:d.toObject()});yield ft.a.writeRef({fs:t,gitdir:n,ref:r,value:h})}))).apply(this,arguments)}function vt(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function mt(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){vt(o,r,i,a,s,"next",t)}function s(t){vt(o,r,i,a,s,"throw",t)}a(void 0)}))}}function wt(t){return bt.apply(this,arguments)}function bt(){return(bt=mt((function*({fs:t,onSign:e,dir:n,gitdir:r=Object(g.a)(n,".git"),ref:i,tagger:o,message:a=i,gpgsig:s,object:u,signingKey:c,force:f=!1}){try{Object(k.a)("fs",t),Object(k.a)("gitdir",r),Object(k.a)("ref",i),c&&Object(k.a)("onSign",e);const n=new j.a(t),l=yield L({fs:n,gitdir:r,author:o});if(!l)throw new U.a("tagger");return yield gt({fs:n,onSign:e,gitdir:r,ref:i,tagger:l,message:a,gpgsig:s,object:u,signingKey:c,force:f})}catch(t){throw t.caller="git.annotatedTag",t}}))).apply(this,arguments)}function _t(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Ot(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){_t(o,r,i,a,s,"next",t)}function s(t){_t(o,r,i,a,s,"throw",t)}a(void 0)}))}}function xt(t){return jt.apply(this,arguments)}function jt(){return(jt=Ot((function*({fs:t,gitdir:e,ref:n,checkout:r=!1}){if(n!==Q.a.clean(n))throw new et.a(n,Q.a.clean(n));const i=`refs/heads/${n}`;if(yield ft.a.exists({fs:t,gitdir:e,ref:i}))throw new tt.a("branch",n,!1);let o;try{o=yield ft.a.resolve({fs:t,gitdir:e,ref:"HEAD"})}catch(t){}o&&(yield ft.a.writeRef({fs:t,gitdir:e,ref:i,value:o})),r&&(yield ft.a.writeSymbolicRef({fs:t,gitdir:e,ref:"HEAD",value:i}))}))).apply(this,arguments)}function Pt(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function kt(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Pt(o,r,i,a,s,"next",t)}function s(t){Pt(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Et(t){return St.apply(this,arguments)}function St(){return(St=kt((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),ref:r,checkout:i=!1}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("ref",r),yield xt({fs:new j.a(t),gitdir:n,ref:r,checkout:i})}catch(t){throw t.caller="git.branch",t}}))).apply(this,arguments)}var At=n(51),$t=n(85),Rt=n(86),Bt=n(97);const It=(t,e)=>"."===t||null==e||0===e.length||"."===e||(e.length>=t.length?e.startsWith(t):t.startsWith(e));function Ut(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Tt(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Ut(o,r,i,a,s,"next",t)}function s(t){Ut(o,r,i,a,s,"throw",t)}a(void 0)}))}}function zt(t){return Ct.apply(this,arguments)}function Ct(){return(Ct=Tt((function*({fs:t,onProgress:e,dir:n,gitdir:i,remote:o,ref:s,filepaths:u,noCheckout:c,noUpdateHead:f,dryRun:l,debug:d,force:h}){let p;try{p=yield ft.a.resolve({fs:t,gitdir:i,ref:s})}catch(e){if("HEAD"===s)throw e;const n=`${o}/${s}`;p=yield ft.a.resolve({fs:t,gitdir:i,ref:n});const r=yield T.a.get({fs:t,gitdir:i});yield r.set(`branch.${s}.remote`,o),yield r.set(`branch.${s}.merge`,`refs/heads/${s}`),yield T.a.save({fs:t,gitdir:i,config:r}),yield ft.a.writeRef({fs:t,gitdir:i,ref:`refs/heads/${s}`,value:p})}if(!c){let o;try{o=yield Dt({fs:t,onProgress:e,dir:n,gitdir:i,ref:s,force:h,filepaths:u})}catch(t){throw t instanceof O.a&&t.data.what===p?new Rt.a(s,p):t}const c=o.filter(([t])=>"conflict"===t).map(([t,e])=>e);if(c.length>0)throw new $t.a(c);const f=o.filter(([t])=>"error"===t).map(([t,e])=>e);if(f.length>0)throw new a.a(f.join(", "));if(l)return d?o:void 0;let g=0;const y=o.length;yield r.a.acquire({fs:t,gitdir:i},function(){var r=Tt((function*(r){yield Promise.all(o.filter(([t])=>"delete"===t||"delete-index"===t).map(function(){var i=Tt((function*([i,o]){const a=`${n}/${o}`;"delete"===i&&(yield t.rm(a)),r.delete({filepath:o}),e&&(yield e({phase:"Updating workdir",loaded:++g,total:y}))}));return function(t){return i.apply(this,arguments)}}()))}));return function(t){return r.apply(this,arguments)}}()),yield r.a.acquire({fs:t,gitdir:i},function(){var r=Tt((function*(r){for(const[i,a]of o)if("rmdir"===i||"rmdir-index"===i){const o=`${n}/${a}`;try{"rmdir-index"===i&&r.delete({filepath:a}),yield t.rmdir(o),e&&(yield e({phase:"Updating workdir",loaded:++g,total:y}))}catch(t){if("ENOTEMPTY"!==t.code)throw t;console.log(`Did not delete ${a} because directory is not empty`)}}}));return function(t){return r.apply(this,arguments)}}()),yield Promise.all(o.filter(([t])=>"mkdir"===t||"mkdir-index"===t).map(function(){var r=Tt((function*([r,i]){const o=`${n}/${i}`;yield t.mkdir(o),e&&(yield e({phase:"Updating workdir",loaded:++g,total:y}))}));return function(t){return r.apply(this,arguments)}}())),yield r.a.acquire({fs:t,gitdir:i},function(){var r=Tt((function*(r){yield Promise.all(o.filter(([t])=>"create"===t||"create-index"===t||"update"===t||"mkdir-index"===t).map(function(){var o=Tt((function*([o,s,u,c,f]){const l=`${n}/${s}`;try{if("create-index"!==o&&"mkdir-index"!==o){const{object:e}=yield Object(dt.a)({fs:t,gitdir:i,oid:u});if(f&&(yield t.rm(l)),33188===c)yield t.write(l,e);else if(33261===c)yield t.write(l,e,{mode:511});else{if(40960!==c)throw new a.a(`Invalid mode 0o${c.toString(8)} detected in blob ${u}`);yield t.writelink(l,e)}}const n=yield t.lstat(l);33261===c&&(n.mode=493),"mkdir-index"===o&&(n.mode=57344),r.insert({filepath:s,stats:n,oid:u}),e&&(yield e({phase:"Updating workdir",loaded:++g,total:y}))}catch(t){console.log(t)}}));return function(t){return o.apply(this,arguments)}}()))}));return function(t){return r.apply(this,arguments)}}())}if(!f){const e=yield ft.a.expand({fs:t,gitdir:i,ref:s});e.startsWith("refs/heads")?yield ft.a.writeSymbolicRef({fs:t,gitdir:i,ref:"HEAD",value:e}):yield ft.a.writeRef({fs:t,gitdir:i,ref:"HEAD",value:p})}}))).apply(this,arguments)}function Dt(t){return Nt.apply(this,arguments)}function Nt(){return(Nt=Tt((function*({fs:t,onProgress:e,dir:n,gitdir:r,ref:i,force:o,filepaths:a}){let s=0;return Object(At.a)({fs:t,dir:n,gitdir:r,trees:[Object(h.a)({ref:i}),_(),d()],map:(c=Tt((function*(t,[n,r,i]){if("."!==t){if(a&&!a.some(e=>It(t,e)))return null;switch(e&&(yield e({phase:"Analyzing workdir",loaded:++s})),[!!i,!!n,!!r].map(Number).join("")){case"000":return;case"001":return o&&a&&a.includes(t)?["delete",t]:void 0;case"010":switch(yield n.type()){case"tree":return["mkdir",t];case"blob":return["create",t,yield n.oid(),yield n.mode()];case"commit":return["mkdir-index",t,yield n.oid(),yield n.mode()];default:return["error",`new entry Unhandled type ${yield n.type()}`]}case"011":switch(`${yield n.type()}-${yield r.type()}`){case"tree-tree":return;case"tree-blob":case"blob-tree":return["conflict",t];case"blob-blob":return(yield n.oid())!==(yield r.oid())?o?["update",t,yield n.oid(),yield n.mode(),(yield n.mode())!==(yield r.mode())]:["conflict",t]:(yield n.mode())!==(yield r.mode())?o?["update",t,yield n.oid(),yield n.mode(),!0]:["conflict",t]:["create-index",t,yield n.oid(),yield n.mode()];case"commit-tree":return;case"commit-blob":return["conflict",t];default:return["error",`new entry Unhandled type ${n.type}`]}case"100":return["delete-index",t];case"101":switch(yield i.type()){case"tree":return["rmdir",t];case"blob":return(yield i.oid())!==(yield r.oid())?o?["delete",t]:["conflict",t]:["delete",t];case"commit":return["rmdir-index",t];default:return["error",`delete entry Unhandled type ${yield i.type()}`]}case"110":case"111":switch(`${yield i.type()}-${yield n.type()}`){case"tree-tree":return;case"blob-blob":if((yield i.oid())===(yield n.oid())&&(yield i.mode())===(yield n.mode())&&!o)return;if(r){if((yield r.oid())!==(yield i.oid())&&(yield r.oid())!==(yield n.oid()))return o?["update",t,yield n.oid(),yield n.mode(),(yield n.mode())!==(yield r.mode())]:["conflict",t]}else if(o)return["update",t,yield n.oid(),yield n.mode(),(yield n.mode())!==(yield i.mode())];return(yield n.mode())!==(yield i.mode())?["update",t,yield n.oid(),yield n.mode(),!0]:(yield n.oid())!==(yield i.oid())?["update",t,yield n.oid(),yield n.mode(),!1]:void 0;case"tree-blob":return["update-dir-to-blob",t,yield n.oid()];case"blob-tree":return["update-blob-to-tree",t];case"commit-commit":return["mkdir-index",t,yield n.oid(),yield n.mode()];default:return["error",`update entry Unhandled type ${yield i.type()}-${yield n.type()}`]}}}})),function(t,e){return c.apply(this,arguments)}),reduce:(u=Tt((function*(t,e){return e=Object(Bt.a)(e),t?t&&"rmdir"===t[0]?(e.push(t),e):(e.unshift(t),e):e})),function(t,e){return u.apply(this,arguments)})});var u,c}))).apply(this,arguments)}function Mt(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Ft(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Mt(o,r,i,a,s,"next",t)}function s(t){Mt(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Lt(t){return Ht.apply(this,arguments)}function Ht(){return(Ht=Ft((function*({fs:t,onProgress:e,dir:n,gitdir:r=Object(g.a)(n,".git"),remote:i="origin",ref:o,filepaths:a,noCheckout:s=!1,noUpdateHead:u=void 0===o,dryRun:c=!1,debug:f=!1,force:l=!1}){try{Object(k.a)("fs",t),Object(k.a)("dir",n),Object(k.a)("gitdir",r);const d=o||"HEAD";return yield zt({fs:new j.a(t),onProgress:e,dir:n,gitdir:r,remote:i,ref:d,filepaths:a,noCheckout:s,noUpdateHead:u,dryRun:c,debug:f,force:l})}catch(t){throw t.caller="git.checkout",t}}))).apply(this,arguments)}var Yt=n(102);function Zt(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Gt(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Zt(o,r,i,a,s,"next",t)}function s(t){Zt(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Wt(t){return qt.apply(this,arguments)}function qt(){return(qt=Gt((function*({fs:t,bare:e=!1,dir:n,gitdir:r=(e?n:Object(g.a)(n,".git"))}){if(yield t.exists(r+"/config"))return;let i=["hooks","info","objects/info","objects/pack","refs/heads","refs/tags"];i=i.map(t=>r+"/"+t);for(const e of i)yield t.mkdir(e);yield t.write(r+"/config","[core]\n\trepositoryformatversion = 0\n\tfilemode = false\n"+`\tbare = ${e}\n`+(e?"":"\tlogallrefupdates = true\n")+"\tsymlinks = false\n\tignorecase = true\n"),yield t.write(r+"/HEAD","ref: refs/heads/master\n")}))).apply(this,arguments)}function Kt(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Xt(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Kt(o,r,i,a,s,"next",t)}function s(t){Kt(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Vt(t){return Jt.apply(this,arguments)}function Jt(){return(Jt=Xt((function*({fs:t,http:e,onProgress:n,onMessage:r,onAuth:i,onAuthSuccess:o,onAuthFailure:a,dir:s,gitdir:u,url:c,corsProxy:f,ref:l,remote:d,depth:h,since:p,exclude:g,relative:y,singleBranch:v,noCheckout:m,noTags:w,headers:b}){if(yield Wt({fs:t,gitdir:u}),yield it({fs:t,gitdir:u,remote:d,url:c,force:!1}),f){const e=yield T.a.get({fs:t,gitdir:u});yield e.set("http.corsProxy",f),yield T.a.save({fs:t,gitdir:u,config:e})}const{defaultBranch:_,fetchHead:O}=yield Object(Yt.a)({fs:t,http:e,onProgress:n,onMessage:r,onAuth:i,onAuthSuccess:o,onAuthFailure:a,gitdir:u,ref:l,remote:d,depth:h,since:p,exclude:g,relative:y,singleBranch:v,headers:b,tags:!w});null!==O&&(l=(l=l||_).replace("refs/heads/",""),yield zt({fs:t,onProgress:n,dir:s,gitdir:u,ref:l,remote:d,noCheckout:m}))}))).apply(this,arguments)}function Qt(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function te(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Qt(o,r,i,a,s,"next",t)}function s(t){Qt(o,r,i,a,s,"throw",t)}a(void 0)}))}}function ee(t){return ne.apply(this,arguments)}function ne(){return(ne=te((function*({fs:t,http:e,onProgress:n,onMessage:r,onAuth:i,onAuthSuccess:o,onAuthFailure:a,dir:s,gitdir:u=Object(g.a)(s,".git"),url:c,corsProxy:f,ref:l,remote:d="origin",depth:h,since:p,exclude:y=[],relative:v=!1,singleBranch:m=!1,noCheckout:w=!1,noTags:b=!1,headers:_={}}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",u),w||Object(k.a)("dir",s),Object(k.a)("url",c),yield Vt({fs:new j.a(t),http:e,onProgress:n,onMessage:r,onAuth:i,onAuthSuccess:o,onAuthFailure:a,dir:s,gitdir:u,url:c,corsProxy:f,ref:l,remote:d,depth:h,since:p,exclude:y,relative:v,singleBranch:m,noCheckout:w,noTags:b,headers:_})}catch(t){throw t.caller="git.clone",t}}))).apply(this,arguments)}var re=n(81);function ie(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function oe(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){ie(o,r,i,a,s,"next",t)}function s(t){ie(o,r,i,a,s,"throw",t)}a(void 0)}))}}function ae(t){return se.apply(this,arguments)}function se(){return(se=oe((function*({fs:t,onSign:e,dir:n,gitdir:r=Object(g.a)(n,".git"),message:i,author:o,committer:a,signingKey:s,dryRun:u=!1,noUpdateBranch:c=!1,ref:f,parent:l,tree:d}){try{Object(k.a)("fs",t),Object(k.a)("message",i),s&&Object(k.a)("onSign",e);const n=new j.a(t),h=yield L({fs:n,gitdir:r,author:o});if(!h)throw new U.a("author");const p=yield G({fs:n,gitdir:r,author:h,committer:a});if(!p)throw new U.a("committer");return yield Object(re.a)({fs:n,onSign:e,gitdir:r,message:i,author:h,committer:p,signingKey:s,dryRun:u,noUpdateBranch:c,ref:f,parent:l,tree:d})}catch(t){throw t.caller="git.commit",t}}))).apply(this,arguments)}var ue=n(43);function ce(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function fe(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){ce(o,r,i,a,s,"next",t)}function s(t){ce(o,r,i,a,s,"throw",t)}a(void 0)}))}}function le(t){return de.apply(this,arguments)}function de(){return(de=fe((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),fullname:r=!1,test:i=!1}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),yield Object(ue.a)({fs:new j.a(t),gitdir:n,fullname:r,test:i})}catch(t){throw t.caller="git.currentBranch",t}}))).apply(this,arguments)}function he(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function pe(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){he(o,r,i,a,s,"next",t)}function s(t){he(o,r,i,a,s,"throw",t)}a(void 0)}))}}function ge(t){return ye.apply(this,arguments)}function ye(){return(ye=pe((function*({fs:t,gitdir:e,ref:n}){if(!(yield ft.a.exists({fs:t,gitdir:e,ref:n})))throw new O.a(n);const r=yield ft.a.expand({fs:t,gitdir:e,ref:n});if(r===(yield Object(ue.a)({fs:t,gitdir:e,fullname:!0}))){const n=yield ft.a.resolve({fs:t,gitdir:e,ref:r});yield ft.a.writeRef({fs:t,gitdir:e,ref:"HEAD",value:n})}yield ft.a.deleteRef({fs:t,gitdir:e,ref:r})}))).apply(this,arguments)}function ve(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function me(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){ve(o,r,i,a,s,"next",t)}function s(t){ve(o,r,i,a,s,"throw",t)}a(void 0)}))}}function we(t){return be.apply(this,arguments)}function be(){return(be=me((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),ref:r}){try{return Object(k.a)("fs",t),Object(k.a)("ref",r),yield ge({fs:new j.a(t),gitdir:n,ref:r})}catch(t){throw t.caller="git.deleteBranch",t}}))).apply(this,arguments)}function _e(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Oe(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){_e(o,r,i,a,s,"next",t)}function s(t){_e(o,r,i,a,s,"throw",t)}a(void 0)}))}}function xe(t){return je.apply(this,arguments)}function je(){return(je=Oe((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),ref:r}){try{Object(k.a)("fs",t),Object(k.a)("ref",r),yield ft.a.deleteRef({fs:new j.a(t),gitdir:n,ref:r})}catch(t){throw t.caller="git.deleteRef",t}}))).apply(this,arguments)}function Pe(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function ke(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Pe(o,r,i,a,s,"next",t)}function s(t){Pe(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Ee(t){return Se.apply(this,arguments)}function Se(){return(Se=ke((function*({fs:t,gitdir:e,remote:n}){const r=yield T.a.get({fs:t,gitdir:e});yield r.deleteSection("remote",n),yield T.a.save({fs:t,gitdir:e,config:r})}))).apply(this,arguments)}function Ae(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function $e(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Ae(o,r,i,a,s,"next",t)}function s(t){Ae(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Re(t){return Be.apply(this,arguments)}function Be(){return(Be=$e((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),remote:r}){try{return Object(k.a)("fs",t),Object(k.a)("remote",r),yield Ee({fs:new j.a(t),gitdir:n,remote:r})}catch(t){throw t.caller="git.deleteRemote",t}}))).apply(this,arguments)}function Ie(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Ue(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Ie(o,r,i,a,s,"next",t)}function s(t){Ie(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Te(t){return ze.apply(this,arguments)}function ze(){return(ze=Ue((function*({fs:t,gitdir:e,ref:n}){n=n.startsWith("refs/tags/")?n:`refs/tags/${n}`,yield ft.a.deleteRef({fs:t,gitdir:e,ref:n})}))).apply(this,arguments)}function Ce(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function De(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Ce(o,r,i,a,s,"next",t)}function s(t){Ce(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Ne(t){return Me.apply(this,arguments)}function Me(){return(Me=De((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),ref:r}){try{return Object(k.a)("fs",t),Object(k.a)("ref",r),yield Te({fs:new j.a(t),gitdir:n,ref:r})}catch(t){throw t.caller="git.deleteTag",t}}))).apply(this,arguments)}var Fe=n(84);function Le(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function He(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Le(o,r,i,a,s,"next",t)}function s(t){Le(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Ye(t){return Ze.apply(this,arguments)}function Ze(){return(Ze=He((function*({fs:t,gitdir:e,oid:n}){const r=n.slice(0,2);return(yield t.readdir(`${e}/objects/${r}`)).map(t=>`${r}${t}`).filter(t=>t.startsWith(n))}))).apply(this,arguments)}var Ge=n(68);function We(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function qe(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){We(o,r,i,a,s,"next",t)}function s(t){We(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Ke(t){return Xe.apply(this,arguments)}function Xe(){return(Xe=qe((function*({fs:t,gitdir:e,oid:n,getExternalRefDelta:r}){const i=[];let o=yield t.readdir(Object(g.a)(e,"objects/pack"));o=o.filter(t=>t.endsWith(".idx"));for(const s of o){const o=`${e}/objects/pack/${s}`,u=yield Object(Ge.a)({fs:t,filename:o,getExternalRefDelta:r});if(u.error)throw new a.a(u.error);for(const t of u.offsets.keys())t.startsWith(n)&&i.push(t)}return i}))).apply(this,arguments)}function Ve(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Je(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Ve(o,r,i,a,s,"next",t)}function s(t){Ve(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Qe(t){return tn.apply(this,arguments)}function tn(){return(tn=Je((function*({fs:t,gitdir:e,oid:n}){const r=yield Ye({fs:t,gitdir:e,oid:n}),i=yield Ke({fs:t,gitdir:e,oid:n,getExternalRefDelta:n=>Object(dt.a)({fs:t,gitdir:e,oid:n})}),o=r.concat(i);if(1===o.length)return o[0];if(o.length>1)throw new Fe.a("oids",n,o);throw new O.a(`an object matching "${n}"`)}))).apply(this,arguments)}function en(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function nn(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){en(o,r,i,a,s,"next",t)}function s(t){en(o,r,i,a,s,"throw",t)}a(void 0)}))}}function rn(t){return on.apply(this,arguments)}function on(){return(on=nn((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),oid:r}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("oid",r),yield Qe({fs:new j.a(t),gitdir:n,oid:r})}catch(t){throw t.caller="git.expandOid",t}}))).apply(this,arguments)}function an(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function sn(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){an(o,r,i,a,s,"next",t)}function s(t){an(o,r,i,a,s,"throw",t)}a(void 0)}))}}function un(t){return cn.apply(this,arguments)}function cn(){return(cn=sn((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),ref:r}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("ref",r),yield ft.a.expand({fs:new j.a(t),gitdir:n,ref:r})}catch(t){throw t.caller="git.expandRef",t}}))).apply(this,arguments)}function fn(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function ln(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){fn(o,r,i,a,s,"next",t)}function s(t){fn(o,r,i,a,s,"throw",t)}a(void 0)}))}}function dn(t){return hn.apply(this,arguments)}function hn(){return(hn=ln((function*({fs:t,http:e,onProgress:n,onMessage:r,onAuth:i,onAuthSuccess:o,onAuthFailure:a,dir:s,gitdir:u=Object(g.a)(s,".git"),ref:c,remote:f,remoteRef:l,url:d,corsProxy:h,depth:p=null,since:y=null,exclude:v=[],relative:m=!1,tags:w=!1,singleBranch:b=!1,headers:_={},prune:O=!1,pruneTags:x=!1}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",u),yield Object(Yt.a)({fs:new j.a(t),http:e,onProgress:n,onMessage:r,onAuth:i,onAuthSuccess:o,onAuthFailure:a,gitdir:u,ref:c,remote:f,remoteRef:l,url:d,corsProxy:h,depth:p,since:y,exclude:v,relative:m,tags:w,singleBranch:b,headers:_,prune:O,pruneTags:x})}catch(t){throw t.caller="git.fetch",t}}))).apply(this,arguments)}var pn=n(12);function gn(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function yn(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){gn(o,r,i,a,s,"next",t)}function s(t){gn(o,r,i,a,s,"throw",t)}a(void 0)}))}}function vn(t){return mn.apply(this,arguments)}function mn(){return(mn=yn((function*({fs:t,gitdir:e,oids:n}){const r={},i=n.length;let o=n.map((t,e)=>({index:e,oid:t}));for(;o.length;){const n=new Set;for(const t of o){const{oid:e,index:o}=t;r[e]||(r[e]=new Set),r[e].add(o),r[e].size===i&&n.add(e)}if(n.size>0)return[...n];const a=[];for(const n of o){const{oid:i,index:o}=n;try{const{object:n}=yield Object(dt.a)({fs:t,gitdir:e,oid:i}),s=pn.a.from(n),{parent:u}=s.parseHeaders();for(const t of u)r[t]&&r[t].has(o)||a.push({oid:t,index:o})}catch(t){}}o=a}return[]}))).apply(this,arguments)}function wn(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function bn(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){wn(o,r,i,a,s,"next",t)}function s(t){wn(o,r,i,a,s,"throw",t)}a(void 0)}))}}function _n(t){return On.apply(this,arguments)}function On(){return(On=bn((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),oids:r}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("oids",r),yield vn({fs:new j.a(t),gitdir:n,oids:r})}catch(t){throw t.caller="git.findMergeBase",t}}))).apply(this,arguments)}var xn=n(25);function jn(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Pn(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){jn(o,r,i,a,s,"next",t)}function s(t){jn(o,r,i,a,s,"throw",t)}a(void 0)}))}}function kn(t){return En.apply(this,arguments)}function En(){return(En=Pn((function*({fs:t,filepath:e}){if(yield t.exists(Object(g.a)(e,".git")))return e;{const n=Object(xn.a)(e);if(n===e)throw new O.a(`git root for ${e}`);return kn({fs:t,filepath:n})}}))).apply(this,arguments)}function Sn(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function An(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Sn(o,r,i,a,s,"next",t)}function s(t){Sn(o,r,i,a,s,"throw",t)}a(void 0)}))}}function $n(t){return Rn.apply(this,arguments)}function Rn(){return(Rn=An((function*({fs:t,filepath:e}){try{return Object(k.a)("fs",t),Object(k.a)("filepath",e),yield kn({fs:new j.a(t),filepath:e})}catch(t){throw t.caller="git.findRoot",t}}))).apply(this,arguments)}function Bn(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function In(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Bn(o,r,i,a,s,"next",t)}function s(t){Bn(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Un(t){return Tn.apply(this,arguments)}function Tn(){return(Tn=In((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),path:r}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("path",r),yield D({fs:new j.a(t),gitdir:n,path:r})}catch(t){throw t.caller="git.getConfig",t}}))).apply(this,arguments)}function zn(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Cn(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){zn(o,r,i,a,s,"next",t)}function s(t){zn(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Dn(t){return Nn.apply(this,arguments)}function Nn(){return(Nn=Cn((function*({fs:t,gitdir:e,path:n}){return(yield T.a.get({fs:t,gitdir:e})).getall(n)}))).apply(this,arguments)}function Mn(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Fn(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Mn(o,r,i,a,s,"next",t)}function s(t){Mn(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Ln(t){return Hn.apply(this,arguments)}function Hn(){return(Hn=Fn((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),path:r}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("path",r),yield Dn({fs:new j.a(t),gitdir:n,path:r})}catch(t){throw t.caller="git.getConfigAll",t}}))).apply(this,arguments)}var Yn=n(50);function Zn(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Gn(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Zn(o,r,i,a,s,"next",t)}function s(t){Zn(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Wn(t){return qn.apply(this,arguments)}function qn(){return(qn=Gn((function*({http:t,onAuth:e,onAuthSuccess:n,onAuthFailure:r,corsProxy:i,url:o,headers:a={},forPush:s=!1}){try{Object(k.a)("url",o);const u=yield Yn.a.discover({http:t,onAuth:e,onAuthSuccess:n,onAuthFailure:r,corsProxy:i,service:s?"git-receive-pack":"git-upload-pack",url:o,headers:a}),c={capabilities:[...u.capabilities]};for(const[t,e]of u.refs){const n=t.split("/"),r=n.pop();let i=c;for(const t of n)i[t]=i[t]||{},i=i[t];i[r]=e}for(const[t,e]of u.symrefs){const n=t.split("/"),r=n.pop();let i=c;for(const t of n)i[t]=i[t]||{},i=i[t];i[r]=e}return c}catch(t){throw t.caller="git.getRemoteInfo",t}}))).apply(this,arguments)}var Kn=n(158),Xn=n(48);function Vn(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Jn(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Vn(o,r,i,a,s,"next",t)}function s(t){Vn(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Qn(t){return tr.apply(this,arguments)}function tr(){return(tr=Jn((function*({fs:t,onProgress:e,dir:n,gitdir:r,filepath:i}){try{i=Object(g.a)(n,i);const o=yield t.read(i),a=e=>Object(dt.a)({fs:t,gitdir:r,oid:e}),s=yield Xn.a.fromPack({pack:o,getExternalRefDelta:a,onProgress:e});yield t.write(i.replace(/\.pack$/,".idx"),yield s.toBuffer())}catch(t){throw t.caller="git.indexPack",t}}))).apply(this,arguments)}function er(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function nr(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){er(o,r,i,a,s,"next",t)}function s(t){er(o,r,i,a,s,"throw",t)}a(void 0)}))}}function rr(t){return ir.apply(this,arguments)}function ir(){return(ir=nr((function*({fs:t,onProgress:e,dir:n,gitdir:r=Object(g.a)(n,".git"),filepath:i}){try{return Object(k.a)("fs",t),Object(k.a)("dir",n),Object(k.a)("gitdir",n),Object(k.a)("filepath",i),yield Qn({fs:new j.a(t),onProgress:e,dir:n,gitdir:r,filepath:i})}catch(t){throw t.caller="git.indexPack",t}}))).apply(this,arguments)}function or(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function ar(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){or(o,r,i,a,s,"next",t)}function s(t){or(o,r,i,a,s,"throw",t)}a(void 0)}))}}function sr(t){return ur.apply(this,arguments)}function ur(){return(ur=ar((function*({fs:t,bare:e=!1,dir:n,gitdir:r=(e?n:Object(g.a)(n,".git"))}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",r),e||Object(k.a)("dir",n),yield Wt({fs:new j.a(t),bare:e,dir:n,gitdir:r})}catch(t){throw t.caller="git.init",t}}))).apply(this,arguments)}var cr=n(89),fr=n(24),lr=n(14),dr=n(35);function hr(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function pr(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){hr(o,r,i,a,s,"next",t)}function s(t){hr(o,r,i,a,s,"throw",t)}a(void 0)}))}}function gr(t){return yr.apply(this,arguments)}function yr(){return(yr=pr((function*({fs:t,gitdir:e,oid:n,ancestor:r,depth:i}){const o=yield dr.a.read({fs:t,gitdir:e});if(!n)throw new fr.a("oid");if(!r)throw new fr.a("ancestor");if(n===r)return!1;const a=[n],s=new Set;let u=0;for(;a.length;){if(u++===i)throw new cr.a(i);const n=a.shift(),{type:c,object:f}=yield Object(dt.a)({fs:t,gitdir:e,oid:n});if("commit"!==c)throw new lr.a(n,c,"commit");const l=pn.a.from(f).parse();for(const t of l.parent)if(t===r)return!0;if(!o.has(n))for(const t of l.parent)s.has(t)||(a.push(t),s.add(t))}return!1}))).apply(this,arguments)}function vr(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function mr(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){vr(o,r,i,a,s,"next",t)}function s(t){vr(o,r,i,a,s,"throw",t)}a(void 0)}))}}function wr(t){return br.apply(this,arguments)}function br(){return(br=mr((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),oid:r,ancestor:i,depth:o=-1}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("oid",r),Object(k.a)("ancestor",i),yield gr({fs:new j.a(t),gitdir:n,oid:r,ancestor:i,depth:o})}catch(t){throw t.caller="git.isDescendent",t}}))).apply(this,arguments)}function _r(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Or(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){_r(o,r,i,a,s,"next",t)}function s(t){_r(o,r,i,a,s,"throw",t)}a(void 0)}))}}function xr(t){return jr.apply(this,arguments)}function jr(){return(jr=Or((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),remote:r}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),ft.a.listBranches({fs:new j.a(t),gitdir:n,remote:r})}catch(t){throw t.caller="git.listBranches",t}}))).apply(this,arguments)}var Pr=n(42);function kr(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Er(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){kr(o,r,i,a,s,"next",t)}function s(t){kr(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Sr(t){return Ar.apply(this,arguments)}function Ar(){return(Ar=Er((function*({fs:t,gitdir:e,ref:n}){if(n){const r=yield ft.a.resolve({gitdir:e,fs:t,ref:n}),i=[];return yield $r({fs:t,gitdir:e,oid:r,filenames:i,prefix:""}),i}return r.a.acquire({fs:t,gitdir:e},function(){var t=Er((function*(t){return t.entries.map(t=>t.path)}));return function(e){return t.apply(this,arguments)}}())}))).apply(this,arguments)}function $r(t){return Rr.apply(this,arguments)}function Rr(){return(Rr=Er((function*({fs:t,gitdir:e,oid:n,filenames:r,prefix:i}){const{tree:o}=yield Object(Pr.a)({fs:t,gitdir:e,oid:n});for(const n of o)"tree"===n.type?yield $r({fs:t,gitdir:e,oid:n.oid,filenames:r,prefix:Object(g.a)(i,n.path)}):r.push(Object(g.a)(i,n.path))}))).apply(this,arguments)}function Br(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Ir(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Br(o,r,i,a,s,"next",t)}function s(t){Br(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Ur(t){return Tr.apply(this,arguments)}function Tr(){return(Tr=Ir((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),ref:r}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),yield Sr({fs:new j.a(t),gitdir:n,ref:r})}catch(t){throw t.caller="git.listFiles",t}}))).apply(this,arguments)}function zr(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Cr(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){zr(o,r,i,a,s,"next",t)}function s(t){zr(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Dr(t){return Nr.apply(this,arguments)}function Nr(){return(Nr=Cr((function*({fs:t,gitdir:e,ref:n}){let r;try{r=yield ft.a.resolve({gitdir:e,fs:t,ref:n})}catch(t){if(t instanceof O.a)return[]}return(yield Object(Pr.a)({fs:t,gitdir:e,oid:r})).tree.map(t=>({target:t.path,note:t.oid}))}))).apply(this,arguments)}function Mr(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Fr(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Mr(o,r,i,a,s,"next",t)}function s(t){Mr(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Lr(t){return Hr.apply(this,arguments)}function Hr(){return(Hr=Fr((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),ref:r="refs/notes/commits"}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("ref",r),yield Dr({fs:new j.a(t),gitdir:n,ref:r})}catch(t){throw t.caller="git.listNotes",t}}))).apply(this,arguments)}function Yr(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Zr(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Yr(o,r,i,a,s,"next",t)}function s(t){Yr(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Gr(t){return Wr.apply(this,arguments)}function Wr(){return(Wr=Zr((function*({fs:t,gitdir:e}){const n=yield T.a.get({fs:t,gitdir:e}),r=yield n.getSubsections("remote");return Promise.all(r.map(function(){var t=Zr((function*(t){return{remote:t,url:yield n.get(`remote.${t}.url`)}}));return function(e){return t.apply(this,arguments)}}()))}))).apply(this,arguments)}function qr(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Kr(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){qr(o,r,i,a,s,"next",t)}function s(t){qr(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Xr(t){return Vr.apply(this,arguments)}function Vr(){return(Vr=Kr((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git")}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),yield Gr({fs:new j.a(t),gitdir:n})}catch(t){throw t.caller="git.listRemotes",t}}))).apply(this,arguments)}function Jr(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Qr(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Jr(o,r,i,a,s,"next",t)}function s(t){Jr(o,r,i,a,s,"throw",t)}a(void 0)}))}}function ti(t){return ei.apply(this,arguments)}function ei(){return(ei=Qr((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git")}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),ft.a.listTags({fs:new j.a(t),gitdir:n})}catch(t){throw t.caller="git.listTags",t}}))).apply(this,arguments)}function ni(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function ri(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){ni(o,r,i,a,s,"next",t)}function s(t){ni(o,r,i,a,s,"throw",t)}a(void 0)}))}}function ii(t){return oi.apply(this,arguments)}function oi(){return(oi=ri((function*({fs:t,gitdir:e,oid:n}){const{type:r,object:i}=yield Object(dt.a)({fs:t,gitdir:e,oid:n});if("tag"===r)return ii({fs:t,gitdir:e,oid:n=lt.a.from(i).parse().object});if("commit"!==r)throw new lr.a(n,r,"commit");return{commit:pn.a.from(i),oid:n}}))).apply(this,arguments)}function ai(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function si(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){ai(o,r,i,a,s,"next",t)}function s(t){ai(o,r,i,a,s,"throw",t)}a(void 0)}))}}function ui(t){return ci.apply(this,arguments)}function ci(){return(ci=si((function*({fs:t,gitdir:e,oid:n}){const{commit:r,oid:i}=yield ii({fs:t,gitdir:e,oid:n});return{oid:i,commit:r.parse(),payload:r.withoutSignature()}}))).apply(this,arguments)}function fi(t,e){return t.committer.timestamp-e.committer.timestamp}function li(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function di(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){li(o,r,i,a,s,"next",t)}function s(t){li(o,r,i,a,s,"throw",t)}a(void 0)}))}}function hi(t){return pi.apply(this,arguments)}function pi(){return(pi=di((function*({fs:t,gitdir:e,ref:n,depth:r,since:i}){const o=void 0===i?void 0:Math.floor(i.valueOf()/1e3),a=[],s=yield dr.a.read({fs:t,gitdir:e}),u=yield ft.a.resolve({fs:t,gitdir:e,ref:n}),c=[yield ui({fs:t,gitdir:e,oid:u})];for(;;){const n=c.pop();if(void 0!==o&&n.commit.committer.timestamp<=o)break;if(a.push(n),void 0!==r&&a.length===r)break;if(!s.has(n.oid))for(const r of n.commit.parent){const n=yield ui({fs:t,gitdir:e,oid:r});c.map(t=>t.oid).includes(n.oid)||c.push(n)}if(0===c.length)break;c.sort((t,e)=>fi(t.commit,e.commit))}return a}))).apply(this,arguments)}function gi(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function yi(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){gi(o,r,i,a,s,"next",t)}function s(t){gi(o,r,i,a,s,"throw",t)}a(void 0)}))}}function vi(t){return mi.apply(this,arguments)}function mi(){return(mi=yi((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),ref:r="HEAD",depth:i,since:o}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("ref",r),yield hi({fs:new j.a(t),gitdir:n,ref:r,depth:i,since:o})}catch(t){throw t.caller="git.log",t}}))).apply(this,arguments)}var wi=n(87),bi=n(36),_i=n(98),Oi=n(112);function xi(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function ji(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){xi(o,r,i,a,s,"next",t)}function s(t){xi(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Pi(t){return ki.apply(this,arguments)}function ki(){return(ki=ji((function*({fs:t,gitdir:e,ours:n,theirs:r,fastForwardOnly:i=!1,dryRun:o=!1,noUpdateBranch:a=!1,message:s,author:u,committer:c,signingKey:f}){void 0===n&&(n=yield Object(ue.a)({fs:t,gitdir:e,fullname:!0})),n=yield ft.a.expand({fs:t,gitdir:e,ref:n}),r=yield ft.a.expand({fs:t,gitdir:e,ref:r});const l=yield ft.a.resolve({fs:t,gitdir:e,ref:n}),d=yield ft.a.resolve({fs:t,gitdir:e,ref:r}),h=yield vn({fs:t,gitdir:e,oids:[l,d]});if(1!==h.length)throw new bi.a;const p=h[0];if(p===d)return{oid:l,alreadyMerged:!0};if(p===l)return o||a||(yield ft.a.writeRef({fs:t,gitdir:e,ref:n,value:d})),{oid:d,fastForward:!0};{if(i)throw new wi.a;const h=yield Object(Oi.a)({fs:t,gitdir:e,ourOid:l,theirOid:d,baseOid:p,ourName:n,baseName:"base",theirName:r,dryRun:o});return s||(s=`Merge branch '${Object(_i.a)(r)}' into ${Object(_i.a)(n)}`),{oid:yield Object(re.a)({fs:t,gitdir:e,message:s,ref:n,tree:h,parent:[l,d],author:u,committer:c,signingKey:f,dryRun:o,noUpdateBranch:a}),tree:h,mergeCommit:!0}}}))).apply(this,arguments)}function Ei(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Si(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Ei(o,r,i,a,s,"next",t)}function s(t){Ei(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Ai(t){return $i.apply(this,arguments)}function $i(){return($i=Si((function*({fs:t,onSign:e,dir:n,gitdir:r=Object(g.a)(n,".git"),ours:i,theirs:o,fastForwardOnly:a=!1,dryRun:s=!1,noUpdateBranch:u=!1,message:c,author:f,committer:l,signingKey:d}){try{Object(k.a)("fs",t),d&&Object(k.a)("onSign",e);const n=new j.a(t),h=yield L({fs:n,gitdir:r,author:f});if(!h&&!a)throw new U.a("author");const p=yield G({fs:n,gitdir:r,author:h,committer:l});if(!p&&!a)throw new U.a("committer");return yield Pi({fs:n,gitdir:r,ours:i,theirs:o,fastForwardOnly:a,dryRun:s,noUpdateBranch:u,message:c,author:h,committer:p,signingKey:d})}catch(t){throw t.caller="git.merge",t}}))).apply(this,arguments)}var Ri=n(164);function Bi(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Ii(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Bi(o,r,i,a,s,"next",t)}function s(t){Bi(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Ui(t){return Ti.apply(this,arguments)}function Ti(){return(Ti=Ii((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),oids:r,write:i=!1}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("oids",r),yield Object(Ri.a)({fs:new j.a(t),gitdir:n,oids:r,write:i})}catch(t){throw t.caller="git.packObjects",t}}))).apply(this,arguments)}function zi(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Ci(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){zi(o,r,i,a,s,"next",t)}function s(t){zi(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Di(t){return Ni.apply(this,arguments)}function Ni(){return(Ni=Ci((function*({fs:t,http:e,onProgress:n,onMessage:r,onAuth:i,onAuthSuccess:o,onAuthFailure:a,dir:s,gitdir:u,ref:c,fastForwardOnly:f,corsProxy:l,singleBranch:d,headers:h,author:p,committer:g,signingKey:y}){try{if(!c){const e=yield Object(ue.a)({fs:t,gitdir:u});if(!e)throw new fr.a("ref");c=e}const v=yield D({fs:t,gitdir:u,path:`branch.${c}.remote`}),{fetchHead:m,fetchHeadDescription:w}=yield Object(Yt.a)({fs:t,http:e,onProgress:n,onMessage:r,onAuth:i,onAuthSuccess:o,onAuthFailure:a,gitdir:u,corsProxy:l,ref:c,remote:v,singleBranch:d,headers:h});yield Pi({fs:t,gitdir:u,ours:c,theirs:m,fastForwardOnly:f,message:`Merge ${w}`,author:p,committer:g,signingKey:y,dryRun:!1,noUpdateBranch:!1}),yield zt({fs:t,onProgress:n,dir:s,gitdir:u,ref:c,remote:v,noCheckout:!1})}catch(t){throw t.caller="git.pull",t}}))).apply(this,arguments)}function Mi(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Fi(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Mi(o,r,i,a,s,"next",t)}function s(t){Mi(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Li(t){return Hi.apply(this,arguments)}function Hi(){return(Hi=Fi((function*({fs:t,http:e,onProgress:n,onMessage:r,onAuth:i,onAuthSuccess:o,onAuthFailure:a,dir:s,gitdir:u=Object(g.a)(s,".git"),ref:c,fastForwardOnly:f=!1,corsProxy:l,singleBranch:d,headers:h={},author:p,committer:y,signingKey:v}){try{Object(k.a)("fs",t),Object(k.a)("gitdir",u);const g=new j.a(t),m=yield L({fs:g,gitdir:u,author:p});if(!m)throw new U.a("author");const w=yield G({fs:g,gitdir:u,author:m,committer:y});if(!w)throw new U.a("committer");return yield Di({fs:g,http:e,onProgress:n,onMessage:r,onAuth:i,onAuthSuccess:o,onAuthFailure:a,dir:s,gitdir:u,ref:c,fastForwardOnly:f,corsProxy:l,singleBranch:d,headers:h,author:m,committer:w,signingKey:v})}catch(t){throw t.caller="git.pull",t}}))).apply(this,arguments)}var Yi=n(113),Zi=n(114),Gi=n(95),Wi=n(88),qi=n(79),Ki=n(96),Xi=n(63),Vi=n(128),Ji=n(33),Qi=n(49),to=n(129),eo=n(116),no=n(115);function ro(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function io(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){ro(o,r,i,a,s,"next",t)}function s(t){ro(o,r,i,a,s,"throw",t)}a(void 0)}))}}function oo(t){return ao.apply(this,arguments)}function ao(){return(ao=io((function*({fs:t,http:e,onProgress:n,onMessage:r,onAuth:i,onAuthSuccess:o,onAuthFailure:a,gitdir:s,ref:u,remoteRef:c,remote:f,url:l,force:d=!1,delete:h=!1,corsProxy:p,headers:g={}}){const y=u||(yield Object(ue.a)({fs:t,gitdir:s}));if(void 0===y)throw new fr.a("ref");const v=yield T.a.get({fs:t,gitdir:s});f=f||(yield v.get(`branch.${y}.pushRemote`))||(yield v.get("remote.pushDefault"))||(yield v.get(`branch.${y}.remote`))||"origin";const m=l||(yield v.get(`remote.${f}.pushurl`))||(yield v.get(`remote.${f}.url`));if(void 0===m)throw new fr.a("remote OR url");const w=c||(yield v.get(`branch.${y}.merge`));if(void 0===m)throw new fr.a("remoteRef");void 0===p&&(p=yield v.get("http.corsProxy"));const b=yield ft.a.expand({fs:t,gitdir:s,ref:y}),_=h?"0000000000000000000000000000000000000000":yield ft.a.resolve({fs:t,gitdir:s,ref:b}),x=Ki.a.getRemoteHelperFor({url:m}),j=yield x.discover({http:e,onAuth:i,onAuthSuccess:o,onAuthFailure:a,corsProxy:p,service:"git-receive-pack",url:m,headers:g}),P=j.auth;let k;if(w)try{k=yield ft.a.expandAgainstMap({ref:w,map:j.refs})}catch(t){if(!(t instanceof O.a))throw t;k=w.startsWith("refs/")?w:`refs/heads/${w}`}else k=b;const E=j.refs.get(k)||"0000000000000000000000000000000000000000";let S=[];if(!h){const e=[...j.refs.values()],n=yield vn({fs:t,gitdir:s,oids:[_,E]});for(const t of n)e.push(t);const r=yield Object(Yi.a)({fs:t,gitdir:s,start:[_],finish:e});if(S=yield Object(Zi.a)({fs:t,gitdir:s,oids:r}),!d){if(b.startsWith("refs/tags")&&"0000000000000000000000000000000000000000"!==E)throw new qi.a("tag-exists");if("0000000000000000000000000000000000000000"!==_&&"0000000000000000000000000000000000000000"!==E&&!(yield gr({fs:t,gitdir:s,oid:_,ancestor:E,depth:-1})))throw new qi.a("not-fast-forward")}}const A=Object(Vi.a)([...j.capabilities],["report-status","side-band-64k",`agent=${Qi.a.agent}`]),$=yield Object(no.a)({capabilities:A,triplets:[{oldoid:E,oid:_,fullRef:k}]}),R=h?[]:yield Object(Gi.a)({fs:t,gitdir:s,oids:[...S]}),B=yield x.connect({http:e,onProgress:n,corsProxy:p,service:"git-receive-pack",url:m,auth:P,headers:g,body:[...$,...R]}),{packfile:I,progress:U}=yield Xi.a.demux(B.body);if(r){const t=Object(to.a)(U);Object(Ji.a)(t,function(){var t=io((function*(t){yield r(t)}));return function(e){return t.apply(this,arguments)}}())}const z=yield Object(eo.a)(I);if(B.headers&&(z.headers=B.headers),f&&z.ok&&z.refs[k].ok){const e=`refs/remotes/${f}/${k.replace("refs/heads","")}`;h?yield ft.a.deleteRef({fs:t,gitdir:s,ref:e}):yield ft.a.writeRef({fs:t,gitdir:s,ref:e,value:_})}if(z.ok&&Object.values(z.refs).every(t=>t.ok))return z;{const t=Object.entries(z.refs).filter(([t,e])=>!e.ok).map(([t,e])=>`\n - ${t}: ${e.error}`).join("");throw new Wi.a(t,z)}}))).apply(this,arguments)}function so(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function uo(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){so(o,r,i,a,s,"next",t)}function s(t){so(o,r,i,a,s,"throw",t)}a(void 0)}))}}function co(t){return fo.apply(this,arguments)}function fo(){return(fo=uo((function*({fs:t,http:e,onProgress:n,onMessage:r,onAuth:i,onAuthSuccess:o,onAuthFailure:a,dir:s,gitdir:u=Object(g.a)(s,".git"),ref:c,remoteRef:f,remote:l="origin",url:d,force:h=!1,delete:p=!1,corsProxy:y,headers:v={}}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",u),yield oo({fs:new j.a(t),http:e,onProgress:n,onMessage:r,onAuth:i,onAuthSuccess:o,onAuthFailure:a,gitdir:u,ref:c,remoteRef:f,remote:l,url:d,force:h,delete:p,corsProxy:y,headers:v})}catch(t){throw t.caller="git.push",t}}))).apply(this,arguments)}function lo(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function ho(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){lo(o,r,i,a,s,"next",t)}function s(t){lo(o,r,i,a,s,"throw",t)}a(void 0)}))}}function po(t){return go.apply(this,arguments)}function go(){return(go=ho((function*({fs:t,gitdir:e,oid:n}){const{type:r,object:i}=yield Object(dt.a)({fs:t,gitdir:e,oid:n});if("tag"===r)return po({fs:t,gitdir:e,oid:n=lt.a.from(i).parse().object});if("blob"!==r)throw new lr.a(n,r,"blob");return{oid:n,blob:new Uint8Array(i)}}))).apply(this,arguments)}var yo=n(80);function vo(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function mo(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){vo(o,r,i,a,s,"next",t)}function s(t){vo(o,r,i,a,s,"throw",t)}a(void 0)}))}}function wo(t){return bo.apply(this,arguments)}function bo(){return(bo=mo((function*({fs:t,gitdir:e,oid:n,filepath:r}){return void 0!==r&&(n=yield Object(yo.a)({fs:t,gitdir:e,oid:n,filepath:r})),yield po({fs:t,gitdir:e,oid:n})}))).apply(this,arguments)}function _o(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Oo(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){_o(o,r,i,a,s,"next",t)}function s(t){_o(o,r,i,a,s,"throw",t)}a(void 0)}))}}function xo(t){return jo.apply(this,arguments)}function jo(){return(jo=Oo((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),oid:r,filepath:i}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("oid",r),yield wo({fs:new j.a(t),gitdir:n,oid:r,filepath:i})}catch(t){throw t.caller="git.readBlob",t}}))).apply(this,arguments)}function Po(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function ko(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Po(o,r,i,a,s,"next",t)}function s(t){Po(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Eo(t){return So.apply(this,arguments)}function So(){return(So=ko((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),oid:r}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("oid",r),yield ui({fs:new j.a(t),gitdir:n,oid:r})}catch(t){throw t.caller="git.readCommit",t}}))).apply(this,arguments)}function Ao(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function $o(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Ao(o,r,i,a,s,"next",t)}function s(t){Ao(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Ro(t){return Bo.apply(this,arguments)}function Bo(){return(Bo=$o((function*({fs:t,gitdir:e,ref:n="refs/notes/commits",oid:r}){const i=yield ft.a.resolve({gitdir:e,fs:t,ref:n}),{blob:o}=yield wo({fs:t,gitdir:e,oid:i,filepath:r});return o}))).apply(this,arguments)}function Io(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Uo(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Io(o,r,i,a,s,"next",t)}function s(t){Io(o,r,i,a,s,"throw",t)}a(void 0)}))}}function To(t){return zo.apply(this,arguments)}function zo(){return(zo=Uo((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),ref:r="refs/notes/commits",oid:i}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("ref",r),Object(k.a)("oid",i),yield Ro({fs:new j.a(t),gitdir:n,ref:r,oid:i})}catch(t){throw t.caller="git.readNote",t}}))).apply(this,arguments)}var Co=n(11);function Do(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function No(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Do(o,r,i,a,s,"next",t)}function s(t){Do(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Mo(t){return Fo.apply(this,arguments)}function Fo(){return(Fo=No((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),oid:r,format:i="parsed",filepath:o,encoding:a}){try{Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("oid",r);const e=new j.a(t);void 0!==o&&(r=yield Object(yo.a)({fs:e,gitdir:n,oid:r,filepath:o}));const s="parsed"===i?"content":i,u=yield Object(dt.a)({fs:e,gitdir:n,oid:r,format:s});if(u.oid=r,"parsed"===i)switch(u.format="parsed",u.type){case"commit":u.object=pn.a.from(u.object).parse();break;case"tree":u.object={entries:Co.a.from(u.object).entries()};break;case"blob":a?u.object=u.object.toString(a):(u.object=new Uint8Array(u.object),u.format="content");break;case"tag":u.object=lt.a.from(u.object).parse();break;default:throw new lr.a(u.oid,u.type,"blob|commit|tag|tree")}else"deflated"!==u.format&&"wrapped"!==u.format||(u.type=u.format);return u}catch(t){throw t.caller="git.readObject",t}}))).apply(this,arguments)}function Lo(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Ho(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Lo(o,r,i,a,s,"next",t)}function s(t){Lo(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Yo(t){return Zo.apply(this,arguments)}function Zo(){return(Zo=Ho((function*({fs:t,gitdir:e,oid:n}){const{type:r,object:i}=yield Object(dt.a)({fs:t,gitdir:e,oid:n,format:"content"});if("tag"!==r)throw new lr.a(n,r,"tag");const o=lt.a.from(i);return{oid:n,tag:o.parse(),payload:o.payload()}}))).apply(this,arguments)}function Go(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Wo(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Go(o,r,i,a,s,"next",t)}function s(t){Go(o,r,i,a,s,"throw",t)}a(void 0)}))}}function qo(t){return Ko.apply(this,arguments)}function Ko(){return(Ko=Wo((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),oid:r}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("oid",r),yield Yo({fs:new j.a(t),gitdir:n,oid:r})}catch(t){throw t.caller="git.readTag",t}}))).apply(this,arguments)}function Xo(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Vo(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Xo(o,r,i,a,s,"next",t)}function s(t){Xo(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Jo(t){return Qo.apply(this,arguments)}function Qo(){return(Qo=Vo((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),oid:r,filepath:i}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("oid",r),yield Object(Pr.a)({fs:new j.a(t),gitdir:n,oid:r,filepath:i})}catch(t){throw t.caller="git.readTree",t}}))).apply(this,arguments)}function ta(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function ea(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){ta(o,r,i,a,s,"next",t)}function s(t){ta(o,r,i,a,s,"throw",t)}a(void 0)}))}}function na(t){return ra.apply(this,arguments)}function ra(){return(ra=ea((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),filepath:i}){try{Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("filepath",i),yield r.a.acquire({fs:new j.a(t),gitdir:n},function(){var t=ea((function*(t){t.delete({filepath:i})}));return function(e){return t.apply(this,arguments)}}())}catch(t){throw t.caller="git.remove",t}}))).apply(this,arguments)}var ia=n(101);function oa(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function aa(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){oa(o,r,i,a,s,"next",t)}function s(t){oa(o,r,i,a,s,"throw",t)}a(void 0)}))}}function sa(t){return ua.apply(this,arguments)}function ua(){return(ua=aa((function*({fs:t,onSign:e,gitdir:n,ref:r="refs/notes/commits",oid:i,author:o,committer:a,signingKey:s}){let u;try{u=yield ft.a.resolve({gitdir:n,fs:t,ref:r})}catch(t){if(!(t instanceof O.a))throw t}let c=(yield Object(Pr.a)({fs:t,gitdir:n,oid:u||"4b825dc642cb6eb9a060e54bf8d69288fbee4904"})).tree;c=c.filter(t=>t.path!==i);const f=yield Object(ia.a)({fs:t,gitdir:n,tree:c});return yield Object(re.a)({fs:t,onSign:e,gitdir:n,ref:r,tree:f,parent:u&&[u],message:"Note removed by 'isomorphic-git removeNote'\n",author:o,committer:a,signingKey:s})}))).apply(this,arguments)}function ca(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function fa(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){ca(o,r,i,a,s,"next",t)}function s(t){ca(o,r,i,a,s,"throw",t)}a(void 0)}))}}function la(t){return da.apply(this,arguments)}function da(){return(da=fa((function*({fs:t,onSign:e,dir:n,gitdir:r=Object(g.a)(n,".git"),ref:i="refs/notes/commits",oid:o,author:a,committer:s,signingKey:u}){try{Object(k.a)("fs",t),Object(k.a)("gitdir",r),Object(k.a)("oid",o);const n=new j.a(t),c=yield L({fs:n,gitdir:r,author:a});if(!c)throw new U.a("author");const f=yield G({fs:n,gitdir:r,author:c,committer:s});if(!f)throw new U.a("committer");return yield sa({fs:n,onSign:e,gitdir:r,ref:i,oid:o,author:c,committer:f,signingKey:u})}catch(t){throw t.caller="git.removeNote",t}}))).apply(this,arguments)}function ha(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function pa(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){ha(o,r,i,a,s,"next",t)}function s(t){ha(o,r,i,a,s,"throw",t)}a(void 0)}))}}function ga(t){return ya.apply(this,arguments)}function ya(){return(ya=pa((function*({gitdir:t,type:e,object:n}){return Object(y.a)(v.a.wrap({type:e,object:n}))}))).apply(this,arguments)}function va(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function ma(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){va(o,r,i,a,s,"next",t)}function s(t){va(o,r,i,a,s,"throw",t)}a(void 0)}))}}function wa(t){return ba.apply(this,arguments)}function ba(){return(ba=ma((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),filepath:i,ref:o="HEAD"}){try{Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("filepath",i),Object(k.a)("ref",o);const a=new j.a(t);let s,u=yield ft.a.resolve({fs:a,gitdir:n,ref:o});try{u=yield Object(yo.a)({fs:a,gitdir:n,oid:u,filepath:i})}catch(t){u=null}let c={ctime:new Date(0),mtime:new Date(0),dev:0,ino:0,mode:0,uid:0,gid:0,size:0};const f=e&&(yield a.read(Object(g.a)(e,i)));f&&(s=yield ga({gitdir:n,type:"blob",object:f}),u===s&&(c=yield a.lstat(Object(g.a)(e,i)))),yield r.a.acquire({fs:a,gitdir:n},function(){var t=ma((function*(t){t.delete({filepath:i}),u&&t.insert({filepath:i,stats:c,oid:u})}));return function(e){return t.apply(this,arguments)}}())}catch(t){throw t.caller="git.reset",t}}))).apply(this,arguments)}function _a(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Oa(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){_a(o,r,i,a,s,"next",t)}function s(t){_a(o,r,i,a,s,"throw",t)}a(void 0)}))}}function xa(t){return ja.apply(this,arguments)}function ja(){return(ja=Oa((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),ref:r,depth:i}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("ref",r),yield ft.a.resolve({fs:new j.a(t),gitdir:n,ref:r,depth:i})}catch(t){throw t.caller="git.resolveRef",t}}))).apply(this,arguments)}function Pa(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function ka(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Pa(o,r,i,a,s,"next",t)}function s(t){Pa(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Ea(t){return Sa.apply(this,arguments)}function Sa(){return(Sa=ka((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),path:r,value:i,append:o=!1}){try{Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("path",r);const e=new j.a(t),a=yield T.a.get({fs:e,gitdir:n});o?yield a.append(r,i):yield a.set(r,i),yield T.a.save({fs:e,gitdir:n,config:a})}catch(t){throw t.caller="git.setConfig",t}}))).apply(this,arguments)}function Aa(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function $a(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Aa(o,r,i,a,s,"next",t)}function s(t){Aa(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Ra(t){return Ba.apply(this,arguments)}function Ba(){return(Ba=$a((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),filepath:i}){try{Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("filepath",i);const o=new j.a(t);if(yield x.a.isIgnored({fs:o,gitdir:n,dir:e,filepath:i}))return"ignored";const a=yield Ta({fs:o,gitdir:n}),s=yield Ia({fs:o,gitdir:n,tree:a,path:i}),u=yield r.a.acquire({fs:o,gitdir:n},function(){var t=$a((function*(t){for(const e of t)if(e.path===i)return e;return null}));return function(e){return t.apply(this,arguments)}}()),c=yield o.lstat(Object(g.a)(e,i)),f=null!==s,l=null!==u,d=null!==c,h=function(){var t=$a((function*(){if(l&&!Object(p.a)(u,c))return u.oid;{const t=yield o.read(Object(g.a)(e,i)),a=yield ga({gitdir:n,type:"blob",object:t});return l&&u.oid===a&&-1!==c.size&&r.a.acquire({fs:o,gitdir:n},function(){var t=$a((function*(t){t.insert({filepath:i,stats:c,oid:a})}));return function(e){return t.apply(this,arguments)}}()),a}}));return function(){return t.apply(this,arguments)}}();if(!f&&!d&&!l)return"absent";if(!f&&!d&&l)return"*absent";if(!f&&d&&!l)return"*added";if(!f&&d&&l){return(yield h())===u.oid?"added":"*added"}if(f&&!d&&!l)return"deleted";if(f&&!d&&l)return u.oid,"*deleted";if(f&&d&&!l){return(yield h())===s?"*undeleted":"*undeletemodified"}if(f&&d&&l){const t=yield h();return t===s?t===u.oid?"unmodified":"*unmodified":t===u.oid?"modified":"*modified"}}catch(t){throw t.caller="git.status",t}}))).apply(this,arguments)}function Ia(t){return Ua.apply(this,arguments)}function Ua(){return(Ua=$a((function*({fs:t,gitdir:e,tree:n,path:r}){"string"==typeof r&&(r=r.split("/"));const i=r.shift();for(const o of n)if(o.path===i){if(0===r.length)return o.oid;const{type:n,object:i}=yield Object(dt.a)({fs:t,gitdir:e,oid:o.oid});if("tree"===n){return Ia({fs:t,gitdir:e,tree:Co.a.from(i),path:r})}if("blob"===n)throw new lr.a(o.oid,n,"blob",r.join("/"))}return null}))).apply(this,arguments)}function Ta(t){return za.apply(this,arguments)}function za(){return(za=$a((function*({fs:t,gitdir:e}){let n;try{n=yield ft.a.resolve({fs:t,gitdir:e,ref:"HEAD"})}catch(t){if(t instanceof O.a)return[]}const{tree:r}=yield Object(Pr.a)({fs:t,gitdir:e,oid:n});return r}))).apply(this,arguments)}function Ca(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Da(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Ca(o,r,i,a,s,"next",t)}function s(t){Ca(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Na(t){return Ma.apply(this,arguments)}function Ma(){return(Ma=Da((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),ref:r="HEAD",filepaths:i=["."],filter:o}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("ref",r),yield Object(At.a)({fs:new j.a(t),dir:e,gitdir:n,trees:[Object(h.a)({ref:r}),_(),d()],map:(a=Da((function*(n,[r,a,s]){if(!r&&!s&&a&&(yield x.a.isIgnored({fs:t,dir:e,filepath:n})))return null;if(!i.some(t=>It(n,t)))return null;if(o&&!o(n))return;const u=r&&(yield r.type());if("tree"===u||"special"===u)return;if("commit"===u)return null;const c=a&&(yield a.type());if("tree"===c||"special"===c)return;const f=s&&(yield s.type());if("commit"===f)return null;if("tree"===f||"special"===f)return;const l=r?yield r.oid():void 0,d=s?yield s.oid():void 0;let h;r||!a||s?a&&(h=yield a.oid()):h="42";const p=[void 0,l,h,d],g=p.map(t=>p.indexOf(t));return g.shift(),[n,...g]})),function(t,e){return a.apply(this,arguments)})})}catch(t){throw t.caller="git.statusMatrix",t}var a}))).apply(this,arguments)}function Fa(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function La(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Fa(o,r,i,a,s,"next",t)}function s(t){Fa(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Ha(t){return Ya.apply(this,arguments)}function Ya(){return(Ya=La((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),ref:r,object:i,force:o=!1}){try{Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("ref",r);const e=new j.a(t);if(void 0===r)throw new fr.a("ref");r=r.startsWith("refs/tags/")?r:`refs/tags/${r}`;const a=yield ft.a.resolve({fs:e,gitdir:n,ref:i||"HEAD"});if(!o&&(yield ft.a.exists({fs:e,gitdir:n,ref:r})))throw new tt.a("tag",r);yield ft.a.writeRef({fs:e,gitdir:n,ref:r,value:a})}catch(t){throw t.caller="git.tag",t}}))).apply(this,arguments)}function Za(){try{return Qi.a.version}catch(t){throw t.caller="git.version",t}}function Ga(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Wa(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Ga(o,r,i,a,s,"next",t)}function s(t){Ga(o,r,i,a,s,"throw",t)}a(void 0)}))}}function qa(t){return Ka.apply(this,arguments)}function Ka(){return(Ka=Wa((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),trees:r,map:i,reduce:o,iterate:a}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("trees",r),yield Object(At.a)({fs:new j.a(t),dir:e,gitdir:n,trees:r,map:i,reduce:o,iterate:a})}catch(t){throw t.caller="git.walk",t}}))).apply(this,arguments)}function Xa(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Va(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){Xa(o,r,i,a,s,"next",t)}function s(t){Xa(o,r,i,a,s,"throw",t)}a(void 0)}))}}function Ja(t){return Qa.apply(this,arguments)}function Qa(){return(Qa=Va((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),blob:r}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("blob",r),yield Object(P.a)({fs:new j.a(t),gitdir:n,type:"blob",object:r,format:"content"})}catch(t){throw t.caller="git.writeBlob",t}}))).apply(this,arguments)}function ts(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function es(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){ts(o,r,i,a,s,"next",t)}function s(t){ts(o,r,i,a,s,"throw",t)}a(void 0)}))}}function ns(t){return rs.apply(this,arguments)}function rs(){return(rs=es((function*({fs:t,gitdir:e,commit:n}){const r=pn.a.from(n).toObject();return yield Object(P.a)({fs:t,gitdir:e,type:"commit",object:r,format:"content"})}))).apply(this,arguments)}function is(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function os(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){is(o,r,i,a,s,"next",t)}function s(t){is(o,r,i,a,s,"throw",t)}a(void 0)}))}}function as(t){return ss.apply(this,arguments)}function ss(){return(ss=os((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),commit:r}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("commit",r),yield ns({fs:new j.a(t),gitdir:n,commit:r})}catch(t){throw t.caller="git.writeCommit",t}}))).apply(this,arguments)}var us=n(159);function cs(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function fs(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){cs(o,r,i,a,s,"next",t)}function s(t){cs(o,r,i,a,s,"throw",t)}a(void 0)}))}}function ls(t){return ds.apply(this,arguments)}function ds(){return(ds=fs((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),ref:r,value:i,force:o=!1,symbolic:a=!1}){try{Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("ref",r),Object(k.a)("value",i);const e=new j.a(t);if(r!==Q.a.clean(r))throw new et.a(r,Q.a.clean(r));if(!o&&(yield ft.a.exists({fs:e,gitdir:n,ref:r})))throw new tt.a("ref",r);a?yield ft.a.writeSymbolicRef({fs:e,gitdir:n,ref:r,value:i}):(i=yield ft.a.resolve({fs:e,gitdir:n,ref:i}),yield ft.a.writeRef({fs:e,gitdir:n,ref:r,value:i}))}catch(t){throw t.caller="git.writeRef",t}}))).apply(this,arguments)}function hs(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function ps(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){hs(o,r,i,a,s,"next",t)}function s(t){hs(o,r,i,a,s,"throw",t)}a(void 0)}))}}function gs(t){return ys.apply(this,arguments)}function ys(){return(ys=ps((function*({fs:t,gitdir:e,tag:n}){const r=lt.a.from(n).toObject();return yield Object(P.a)({fs:t,gitdir:e,type:"tag",object:r,format:"content"})}))).apply(this,arguments)}function vs(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function ms(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){vs(o,r,i,a,s,"next",t)}function s(t){vs(o,r,i,a,s,"throw",t)}a(void 0)}))}}function ws(t){return bs.apply(this,arguments)}function bs(){return(bs=ms((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),tag:r}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("tag",r),yield gs({fs:new j.a(t),gitdir:n,tag:r})}catch(t){throw t.caller="git.writeTag",t}}))).apply(this,arguments)}function _s(t,e,n,r,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void n(t)}s.done?e(u):Promise.resolve(u).then(r,i)}function Os(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function a(t){_s(o,r,i,a,s,"next",t)}function s(t){_s(o,r,i,a,s,"throw",t)}a(void 0)}))}}function xs(t){return js.apply(this,arguments)}function js(){return(js=Os((function*({fs:t,dir:e,gitdir:n=Object(g.a)(e,".git"),tree:r}){try{return Object(k.a)("fs",t),Object(k.a)("gitdir",n),Object(k.a)("tree",r),yield Object(ia.a)({fs:new j.a(t),gitdir:n,tree:r})}catch(t){throw t.caller="git.writeTree",t}}))).apply(this,arguments)}var Ps=n(77);n.d(e,"Errors",(function(){return Ps})),n.d(e,"STAGE",(function(){return d})),n.d(e,"TREE",(function(){return h.a})),n.d(e,"WORKDIR",(function(){return _})),n.d(e,"add",(function(){return A})),n.d(e,"addNote",(function(){return X})),n.d(e,"addRemote",(function(){return ut})),n.d(e,"annotatedTag",(function(){return wt})),n.d(e,"branch",(function(){return Et})),n.d(e,"checkout",(function(){return Lt})),n.d(e,"clone",(function(){return ee})),n.d(e,"commit",(function(){return ae})),n.d(e,"getConfig",(function(){return Un})),n.d(e,"getConfigAll",(function(){return Ln})),n.d(e,"setConfig",(function(){return Ea})),n.d(e,"currentBranch",(function(){return le})),n.d(e,"deleteBranch",(function(){return we})),n.d(e,"deleteRef",(function(){return xe})),n.d(e,"deleteRemote",(function(){return Re})),n.d(e,"deleteTag",(function(){return Ne})),n.d(e,"expandOid",(function(){return rn})),n.d(e,"expandRef",(function(){return un})),n.d(e,"fetch",(function(){return dn})),n.d(e,"findMergeBase",(function(){return _n})),n.d(e,"findRoot",(function(){return $n})),n.d(e,"getRemoteInfo",(function(){return Wn})),n.d(e,"hashBlob",(function(){return Kn.a})),n.d(e,"indexPack",(function(){return rr})),n.d(e,"init",(function(){return sr})),n.d(e,"isDescendent",(function(){return wr})),n.d(e,"listBranches",(function(){return xr})),n.d(e,"listFiles",(function(){return Ur})),n.d(e,"listNotes",(function(){return Lr})),n.d(e,"listRemotes",(function(){return Xr})),n.d(e,"listTags",(function(){return ti})),n.d(e,"log",(function(){return vi})),n.d(e,"merge",(function(){return Ai})),n.d(e,"packObjects",(function(){return Ui})),n.d(e,"pull",(function(){return Li})),n.d(e,"push",(function(){return co})),n.d(e,"readBlob",(function(){return xo})),n.d(e,"readCommit",(function(){return Eo})),n.d(e,"readNote",(function(){return To})),n.d(e,"readObject",(function(){return Mo})),n.d(e,"readTag",(function(){return qo})),n.d(e,"readTree",(function(){return Jo})),n.d(e,"remove",(function(){return na})),n.d(e,"removeNote",(function(){return la})),n.d(e,"resetIndex",(function(){return wa})),n.d(e,"resolveRef",(function(){return xa})),n.d(e,"status",(function(){return Ra})),n.d(e,"statusMatrix",(function(){return Na})),n.d(e,"tag",(function(){return Ha})),n.d(e,"version",(function(){return Za})),n.d(e,"walk",(function(){return qa})),n.d(e,"writeBlob",(function(){return Ja})),n.d(e,"writeCommit",(function(){return as})),n.d(e,"writeObject",(function(){return us.a})),n.d(e,"writeRef",(function(){return ls})),n.d(e,"writeTag",(function(){return ws})),n.d(e,"writeTree",(function(){return xs}));e.default={Errors:Ps,STAGE:d,TREE:h.a,WORKDIR:_,add:A,addNote:X,addRemote:ut,annotatedTag:wt,branch:Et,checkout:Lt,clone:ee,commit:ae,getConfig:Un,getConfigAll:Ln,setConfig:Ea,currentBranch:le,deleteBranch:we,deleteRef:xe,deleteRemote:Re,deleteTag:Ne,expandOid:rn,expandRef:un,fetch:dn,findMergeBase:_n,findRoot:$n,getRemoteInfo:Wn,hashBlob:Kn.a,indexPack:rr,init:sr,isDescendent:wr,listBranches:xr,listFiles:Ur,listNotes:Lr,listRemotes:Xr,listTags:ti,log:vi,merge:Ai,packObjects:Ui,pull:Li,push:co,readBlob:xo,readCommit:Eo,readNote:To,readObject:Mo,readTag:qo,readTree:Jo,remove:na,removeNote:la,resetIndex:wa,resolveRef:xa,status:Ra,statusMatrix:Na,tag:Ha,version:Za,walk:qa,writeBlob:Ja,writeCommit:as,writeObject:us.a,writeRef:ls,writeTag:ws,writeTree:xs}}])}));
//# sourceMappingURL=index.umd.min.js.map